@pushwoosh/session-store 2.2.16 → 2.2.18
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +2 -2
- package/dist/entities/account.d.ts +45 -231
- package/dist/entities/account.d.ts.map +1 -1
- package/dist/entities/counters.d.ts +19 -90
- package/dist/entities/counters.d.ts.map +1 -1
- package/dist/entities/permissions.d.ts +24 -66
- package/dist/entities/permissions.d.ts.map +1 -1
- package/dist/entities/platforms.d.ts +2 -2
- package/dist/entities/platforms.d.ts.map +1 -1
- package/dist/entities/restrictions.d.ts +97 -352
- package/dist/entities/restrictions.d.ts.map +1 -1
- package/dist/entities/user.d.ts +17 -59
- package/dist/entities/user.d.ts.map +1 -1
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/dist/session-store.d.ts +7 -7
- package/dist/session-store.d.ts.map +1 -1
- package/dist/session-store.helpers.d.ts +4 -0
- package/dist/session-store.helpers.d.ts.map +1 -0
- package/dist/session-store.types.d.ts +4 -5
- package/dist/session-store.types.d.ts.map +1 -1
- package/package.json +4 -2
- package/dist/rpc.types.d.ts +0 -222
- package/dist/rpc.types.d.ts.map +0 -1
- package/dist/session-store.enviroment.d.ts +0 -2
- package/dist/session-store.enviroment.d.ts.map +0 -1
package/dist/index.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
!function(t,e){"object"==typeof exports&&"object"==typeof module?module.exports=e(require("tslib"),require("rxjs"),require("@pushwoosh/http-client")):"function"==typeof define&&define.amd?define(["tslib","rxjs","@pushwoosh/http-client"],e):"object"==typeof exports?exports["@pushwoosh/session-store"]=e(require("tslib"),require("rxjs"),require("@pushwoosh/http-client")):t["@pushwoosh/session-store"]=e(t.tslib,t.rxjs,t["@pushwoosh/http-client"])}(self,(function(t,e,s){return(()=>{var i={1238:(t,e,s)=>{t.exports=s(6877)},7579:(t,e,s)=>{s(9718);var i=s(4058);t.exports=i.parseFloat},4883:(t,e,s)=>{var i=s(1899),o=s(7475),r=s(9826),n=i.TypeError;t.exports=function(t){if(o(t))return t;throw n(r(t)+" is not a function")}},6059:(t,e,s)=>{var i=s(1899),o=s(941),r=i.String,n=i.TypeError;t.exports=function(t){if(o(t))return t;throw n(r(t)+" is not an object")}},2532:(t,e,s)=>{var i=s(5329),o=i({}.toString),r=i("".slice);t.exports=function(t){return r(o(t),8,-1)}},9697:(t,e,s)=>{var i=s(1899),o=s(2885),r=s(7475),n=s(2532),a=s(9813)("toStringTag"),l=i.Object,u="Arguments"==n(function(){return arguments}());t.exports=o?n:function(t){var e,s,i;return void 0===t?"Undefined":null===t?"Null":"string"==typeof(s=function(t,e){try{return t[e]}catch(t){}}(e=l(t),a))?s:u?n(e):"Object"==(i=n(e))&&r(e.callee)?"Arguments":i}},2029:(t,e,s)=>{var i=s(5746),o=s(5988),r=s(1887);t.exports=i?function(t,e,s){return o.f(t,e,r(1,s))}:function(t,e,s){return t[e]=s,t}},1887:t=>{t.exports=function(t,e){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:e}}},5746:(t,e,s)=>{var i=s(5981);t.exports=!i((function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]}))},1333:(t,e,s)=>{var i=s(1899),o=s(941),r=i.document,n=o(r)&&o(r.createElement);t.exports=function(t){return n?r.createElement(t):{}}},2861:(t,e,s)=>{var i=s(626);t.exports=i("navigator","userAgent")||""},3385:(t,e,s)=>{var i,o,r=s(1899),n=s(2861),a=r.process,l=r.Deno,u=a&&a.versions||l&&l.version,c=u&&u.v8;c&&(o=(i=c.split("."))[0]>0&&i[0]<4?1:+(i[0]+i[1])),!o&&n&&(!(i=n.match(/Edge\/(\d+)/))||i[1]>=74)&&(i=n.match(/Chrome\/(\d+)/))&&(o=+i[1]),t.exports=o},6887:(t,e,s)=>{"use strict";var i=s(1899),o=s(9730),r=s(5329),n=s(7475),a=s(9677).f,l=s(7252),u=s(4058),c=s(6843),p=s(2029),h=s(953),m=function(t){var e=function(s,i,r){if(this instanceof e){switch(arguments.length){case 0:return new t;case 1:return new t(s);case 2:return new t(s,i)}return new t(s,i,r)}return o(t,this,arguments)};return e.prototype=t.prototype,e};t.exports=function(t,e){var s,o,d,f,g,b,w,v,y=t.target,A=t.global,S=t.stat,x=t.proto,C=A?i:S?i[y]:(i[y]||{}).prototype,E=A?u:u[y]||p(u,y,{})[y],M=E.prototype;for(d in e)s=!l(A?d:y+(S?".":"#")+d,t.forced)&&C&&h(C,d),g=E[d],s&&(b=t.noTargetGet?(v=a(C,d))&&v.value:C[d]),f=s&&b?b:e[d],s&&typeof g==typeof f||(w=t.bind&&s?c(f,i):t.wrap&&s?m(f):x&&n(f)?r(f):f,(t.sham||f&&f.sham||g&&g.sham)&&p(w,"sham",!0),p(E,d,w),x&&(h(u,o=y+"Prototype")||p(u,o,{}),p(u[o],d,f),t.real&&M&&!M[d]&&p(M,d,f)))}},5981:t=>{t.exports=function(t){try{return!!t()}catch(t){return!0}}},9730:(t,e,s)=>{var i=s(8285),o=Function.prototype,r=o.apply,n=o.call;t.exports="object"==typeof Reflect&&Reflect.apply||(i?n.bind(r):function(){return n.apply(r,arguments)})},6843:(t,e,s)=>{var i=s(5329),o=s(4883),r=s(8285),n=i(i.bind);t.exports=function(t,e){return o(t),void 0===e?t:r?n(t,e):function(){return t.apply(e,arguments)}}},8285:(t,e,s)=>{var i=s(5981);t.exports=!i((function(){var t=function(){}.bind();return"function"!=typeof t||t.hasOwnProperty("prototype")}))},8834:(t,e,s)=>{var i=s(8285),o=Function.prototype.call;t.exports=i?o.bind(o):function(){return o.apply(o,arguments)}},5329:(t,e,s)=>{var i=s(8285),o=Function.prototype,r=o.bind,n=o.call,a=i&&r.bind(n,n);t.exports=i?function(t){return t&&a(t)}:function(t){return t&&function(){return n.apply(t,arguments)}}},626:(t,e,s)=>{var i=s(4058),o=s(1899),r=s(7475),n=function(t){return r(t)?t:void 0};t.exports=function(t,e){return arguments.length<2?n(i[t])||n(o[t]):i[t]&&i[t][e]||o[t]&&o[t][e]}},4229:(t,e,s)=>{var i=s(4883);t.exports=function(t,e){var s=t[e];return null==s?void 0:i(s)}},1899:(t,e,s)=>{var i=function(t){return t&&t.Math==Math&&t};t.exports=i("object"==typeof globalThis&&globalThis)||i("object"==typeof window&&window)||i("object"==typeof self&&self)||i("object"==typeof s.g&&s.g)||function(){return this}()||Function("return this")()},953:(t,e,s)=>{var i=s(5329),o=s(9678),r=i({}.hasOwnProperty);t.exports=Object.hasOwn||function(t,e){return r(o(t),e)}},2840:(t,e,s)=>{var i=s(5746),o=s(5981),r=s(1333);t.exports=!i&&!o((function(){return 7!=Object.defineProperty(r("div"),"a",{get:function(){return 7}}).a}))},7026:(t,e,s)=>{var i=s(1899),o=s(5329),r=s(5981),n=s(2532),a=i.Object,l=o("".split);t.exports=r((function(){return!a("z").propertyIsEnumerable(0)}))?function(t){return"String"==n(t)?l(t,""):a(t)}:a},7475:t=>{t.exports=function(t){return"function"==typeof t}},7252:(t,e,s)=>{var i=s(5981),o=s(7475),r=/#|\.prototype\./,n=function(t,e){var s=l[a(t)];return s==c||s!=u&&(o(e)?i(e):!!e)},a=n.normalize=function(t){return String(t).replace(r,".").toLowerCase()},l=n.data={},u=n.NATIVE="N",c=n.POLYFILL="P";t.exports=n},941:(t,e,s)=>{var i=s(7475);t.exports=function(t){return"object"==typeof t?null!==t:i(t)}},2529:t=>{t.exports=!0},6664:(t,e,s)=>{var i=s(1899),o=s(626),r=s(7475),n=s(7046),a=s(2302),l=i.Object;t.exports=a?function(t){return"symbol"==typeof t}:function(t){var e=o("Symbol");return r(e)&&n(e.prototype,l(t))}},2497:(t,e,s)=>{var i=s(3385),o=s(5981);t.exports=!!Object.getOwnPropertySymbols&&!o((function(){var t=Symbol();return!String(t)||!(Object(t)instanceof Symbol)||!Symbol.sham&&i&&i<41}))},1942:(t,e,s)=>{var i=s(1899),o=s(5981),r=s(5329),n=s(5803),a=s(4853).trim,l=s(3483),u=r("".charAt),c=i.parseFloat,p=i.Symbol,h=p&&p.iterator,m=1/c(l+"-0")!=-1/0||h&&!o((function(){c(Object(h))}));t.exports=m?function(t){var e=a(n(t)),s=c(e);return 0===s&&"-"==u(e,0)?-0:s}:c},5988:(t,e,s)=>{var i=s(1899),o=s(5746),r=s(2840),n=s(3937),a=s(6059),l=s(3894),u=i.TypeError,c=Object.defineProperty,p=Object.getOwnPropertyDescriptor,h="enumerable",m="configurable",d="writable";e.f=o?n?function(t,e,s){if(a(t),e=l(e),a(s),"function"==typeof t&&"prototype"===e&&"value"in s&&d in s&&!s.writable){var i=p(t,e);i&&i.writable&&(t[e]=s.value,s={configurable:m in s?s.configurable:i.configurable,enumerable:h in s?s.enumerable:i.enumerable,writable:!1})}return c(t,e,s)}:c:function(t,e,s){if(a(t),e=l(e),a(s),r)try{return c(t,e,s)}catch(t){}if("get"in s||"set"in s)throw u("Accessors not supported");return"value"in s&&(t[e]=s.value),t}},9677:(t,e,s)=>{var i=s(5746),o=s(8834),r=s(6760),n=s(1887),a=s(4529),l=s(3894),u=s(953),c=s(2840),p=Object.getOwnPropertyDescriptor;e.f=i?p:function(t,e){if(t=a(t),e=l(e),c)try{return p(t,e)}catch(t){}if(u(t,e))return n(!o(r.f,t,e),t[e])}},7046:(t,e,s)=>{var i=s(5329);t.exports=i({}.isPrototypeOf)},6760:(t,e)=>{"use strict";var s={}.propertyIsEnumerable,i=Object.getOwnPropertyDescriptor,o=i&&!s.call({1:2},1);e.f=o?function(t){var e=i(this,t);return!!e&&e.enumerable}:s},9811:(t,e,s)=>{var i=s(1899),o=s(8834),r=s(7475),n=s(941),a=i.TypeError;t.exports=function(t,e){var s,i;if("string"===e&&r(s=t.toString)&&!n(i=o(s,t)))return i;if(r(s=t.valueOf)&&!n(i=o(s,t)))return i;if("string"!==e&&r(s=t.toString)&&!n(i=o(s,t)))return i;throw a("Can't convert object to primitive value")}},4058:t=>{t.exports={}},8219:(t,e,s)=>{var i=s(1899).TypeError;t.exports=function(t){if(null==t)throw i("Can't call method on "+t);return t}},4911:(t,e,s)=>{var i=s(1899),o=Object.defineProperty;t.exports=function(t,e){try{o(i,t,{value:e,configurable:!0,writable:!0})}catch(s){i[t]=e}return e}},3030:(t,e,s)=>{var i=s(1899),o=s(4911),r="__core-js_shared__",n=i[r]||o(r,{});t.exports=n},8726:(t,e,s)=>{var i=s(2529),o=s(3030);(t.exports=function(t,e){return o[t]||(o[t]=void 0!==e?e:{})})("versions",[]).push({version:"3.21.1",mode:i?"pure":"global",copyright:"© 2014-2022 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.21.1/LICENSE",source:"https://github.com/zloirock/core-js"})},4853:(t,e,s)=>{var i=s(5329),o=s(8219),r=s(5803),n=s(3483),a=i("".replace),l="["+n+"]",u=RegExp("^"+l+l+"*"),c=RegExp(l+l+"*$"),p=function(t){return function(e){var s=r(o(e));return 1&t&&(s=a(s,u,"")),2&t&&(s=a(s,c,"")),s}};t.exports={start:p(1),end:p(2),trim:p(3)}},4529:(t,e,s)=>{var i=s(7026),o=s(8219);t.exports=function(t){return i(o(t))}},9678:(t,e,s)=>{var i=s(1899),o=s(8219),r=i.Object;t.exports=function(t){return r(o(t))}},6935:(t,e,s)=>{var i=s(1899),o=s(8834),r=s(941),n=s(6664),a=s(4229),l=s(9811),u=s(9813),c=i.TypeError,p=u("toPrimitive");t.exports=function(t,e){if(!r(t)||n(t))return t;var s,i=a(t,p);if(i){if(void 0===e&&(e="default"),s=o(i,t,e),!r(s)||n(s))return s;throw c("Can't convert object to primitive value")}return void 0===e&&(e="number"),l(t,e)}},3894:(t,e,s)=>{var i=s(6935),o=s(6664);t.exports=function(t){var e=i(t,"string");return o(e)?e:e+""}},2885:(t,e,s)=>{var i={};i[s(9813)("toStringTag")]="z",t.exports="[object z]"===String(i)},5803:(t,e,s)=>{var i=s(1899),o=s(9697),r=i.String;t.exports=function(t){if("Symbol"===o(t))throw TypeError("Cannot convert a Symbol value to a string");return r(t)}},9826:(t,e,s)=>{var i=s(1899).String;t.exports=function(t){try{return i(t)}catch(t){return"Object"}}},9418:(t,e,s)=>{var i=s(5329),o=0,r=Math.random(),n=i(1..toString);t.exports=function(t){return"Symbol("+(void 0===t?"":t)+")_"+n(++o+r,36)}},2302:(t,e,s)=>{var i=s(2497);t.exports=i&&!Symbol.sham&&"symbol"==typeof Symbol.iterator},3937:(t,e,s)=>{var i=s(5746),o=s(5981);t.exports=i&&o((function(){return 42!=Object.defineProperty((function(){}),"prototype",{value:42,writable:!1}).prototype}))},9813:(t,e,s)=>{var i=s(1899),o=s(8726),r=s(953),n=s(9418),a=s(2497),l=s(2302),u=o("wks"),c=i.Symbol,p=c&&c.for,h=l?c:c&&c.withoutSetter||n;t.exports=function(t){if(!r(u,t)||!a&&"string"!=typeof u[t]){var e="Symbol."+t;a&&r(c,t)?u[t]=c[t]:u[t]=l&&p?p(e):h(e)}return u[t]}},3483:t=>{t.exports="\t\n\v\f\r \u2028\u2029\ufeff"},9718:(t,e,s)=>{var i=s(6887),o=s(1942);i({global:!0,forced:parseFloat!=o},{parseFloat:o})},6877:(t,e,s)=>{var i=s(7579);t.exports=i},4904:t=>{"use strict";t.exports=s},3832:t=>{"use strict";t.exports=e},6748:e=>{"use strict";e.exports=t}},o={};function r(t){var e=o[t];if(void 0!==e)return e.exports;var s=o[t]={exports:{}};return i[t](s,s.exports,r),s.exports}r.n=t=>{var e=t&&t.__esModule?()=>t.default:()=>t;return r.d(e,{a:e}),e},r.d=(t,e)=>{for(var s in e)r.o(e,s)&&!r.o(t,s)&&Object.defineProperty(t,s,{enumerable:!0,get:e[s]})},r.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(t){if("object"==typeof window)return window}}(),r.o=(t,e)=>Object.prototype.hasOwnProperty.call(t,e),r.r=t=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})};var n={};return(()=>{"use strict";var t;r.r(n),r.d(n,{Account:()=>i,Counters:()=>u,Permissions:()=>o,Platform:()=>e,PlatformName:()=>s,Platforms:()=>a,ProductType:()=>t,Restrictions:()=>l,SessionStore:()=>g,User:()=>h}),function(t){t.FREE="Free",t.DEVELOPER="Developer",t.MARKETING="Marketing",t.ENTERPRISE="Enterprise"}(t||(t={}));var e,s,i=function(t){this.id=t.ssoAccessToken.account_id,this.name=t.name,this.domain=t.domain,this.registrationDate=t.registrationDate,this.hasActiveOrder=t.hasActiveOrder,this.currentOrder=t.currentOrder,this.billing={companyName:t.billingAddress.company_name,accountCompanyName:t.billingAddress.account_company_name,companyCountry:t.billingAddress.country,companyCountryCode:t.billingAddress.country_code,companyState:t.billingAddress.state,companyStateCode:t.billingAddress.state_code,companyCity:t.billingAddress.city,companyStreet:t.billingAddress.street,companyZip:t.billingAddress.zip,companyPhone:t.billingAddress.phone,companyVAT:t.billingAddress.vat_number,companyNumber:t.billingAddress.company_number,primaryPersonFirstName:t.billingAddress.first_name,primaryPersonLastName:t.billingAddress.last_name,primaryPersonEmail:t.billingAddress.paymentEmail,secondaryPersonFirstName:t.billingAddress.secondary_person_first_name,secondaryPersonLastName:t.billingAddress.secondary_person_last_name,secondaryPersonEmail:t.billingAddress.secondary_person_email,industry:t.billingAddress.industry,department:t.billingAddress.department,additionalEmails:t.billingAddress.additionalEmails},this.productType=t.productType,this.productName=t.restriction,this.isEnterprise=t.isEnterprise,this.expiryDate=t.expireDate,this.isFrozen=t.frozen,this.isDeviceLimitReached=t.isDeviceLimitReached,this.isEnabledBackup=t.allowBackup,this.statistics={currentMonthActiveUsers:t.MAU,lastMonthActiveUsers:t.lastMAU,calendarMonthActiveUsers:t.calendarMAU,currentMonthActiveDevicesCount:t.MAD,lastMonthActiveDevicesCount:t.lastMAD,calendarMonthActiveDevicesCount:t.calendarMAD,totalSubscribers:t.totalSubscribers,pushAvailableSubscribers:t.pushAvailableSubscribers,pushNotAvailableSubscribers:t.pushNotAvailableSubscribers,currentDaySentEmailsCount:t.dailyEmailStat,currentMontSentEmailsCount:t.monthlyEmailStat,calendarMonthSentEmailsCount:t.lastEmailStat,freeEmailsLimit:t.freeEmailLimit,freeEmailsQuota:t.freeEmailQuota,freeEmailsQuotaUpdateDate:t.freeEmailLimitUpdateDate,paidEmailsQuota:t.paidEmailQuota,paidEmailsQuotaExpiryDate:t.paidEmailExpireDate},Object.freeze(this.currentOrder),Object.freeze(this.billing),Object.freeze(this.statistics),Object.freeze(this)},o=function(t){this.hasSuperRights=t.ACESuperRight,this.canManageSubscription=t.ACEManageSubscription,this.canManageAccessTokens=t.ACESeeAPIAccess,this.canManageDomainsAndEmails=t.ACEDomainAndEmailVerification,this.canManageSubUsers=t.ACEManageUsers,this.canSeeApplications=t.ACESeeApplications,this.canModifyApplications=t.ACEModifyApplications,this.canSeeApplicationGroups=t.ACESeeAppGroups,this.canModifyApplicationGroups=t.ACEModifyAppGroups,this.canSeeMessages=t.ACESeeMessages,this.canModifyMessages=t.ACEModifyMessages&&this.canSeeMessages,this.canSendMessages=t.ACESendMessages&&this.canSeeMessages,this.canSeeTags=t.ACESeeTags,this.canModifyTags=t.ACEModifyTags,this.canSeeSegments=t.ACESeeFilters&&this.canSeeTags,this.canModifySegments=t.ACEModifyFilters&&this.canSeeTags,this.canSeeRichMedia=t.ACESeeRichMedia&&this.canSeeTags&&this.canSeeSegments,this.canModifyRichMedia=t.ACEModifyRichMedia&&this.canSeeTags&&this.canSeeSegments,this.canSeeInApps=this.canSeeTags&&this.canSeeSegments&&this.canSeeRichMedia,this.canSeeEmailTemplates=t.ACESeeEmailTemplates&&this.canSeeTags,this.canModifyEmailTemplates=t.ACEModifyEmailTemplates&&this.canSeeTags,Object.freeze(this)};!function(t){t[t.IOS=1]="IOS",t[t.ANDROID=3]="ANDROID",t[t.MAC_OS=7]="MAC_OS",t[t.WINDOWS=8]="WINDOWS",t[t.AMAZON=9]="AMAZON",t[t.SAFARI=10]="SAFARI",t[t.CHROME=11]="CHROME",t[t.FIREFOX=12]="FIREFOX",t[t.IE=13]="IE",t[t.EMAIL=14]="EMAIL",t[t.BAIDU=16]="BAIDU",t[t.HUAWEI=17]="HUAWEI",t[t.XIAOMI=19]="XIAOMI"}(e||(e={})),function(t){t.IOS="iOS",t.ANDROID="Android",t.MAC_OS="Mac OS",t.WINDOWS="Windows",t.AMAZON="Amazon",t.SAFARI="Safari",t.CHROME="Chrome",t.FIREFOX="Firefox",t.IE="Internet Explorer",t.EMAIL="Email",t.BAIDU="Baidu",t.HUAWEI="Huawei",t.XIAOMI="Xiaomi"}(s||(s={}));var a=function(){function t(e){var s=this;this.checkIsAvailablePlatform=function(t){return s.available.includes(t)},this.available=t.filterAllowPlatforms(e.allowPlatforms),Object.freeze(this)}return t.filterAllowPlatforms=function(t){var s=Object.values(e);return t.filter((function(t){return s.includes(t)}))},t.getPlatformName=function(t){var i=Object.keys(s).find((function(s){return e[s]===t}));return i?s[i]:"Unknown platform!"},t}(),l=function(t){this.allowUseSubUsers=t.allowSubUsers,this.maxUsersCount=t.maxUsers,this.allowUseBaiduAndroid=t.isConfiguredForBaiduAndroid,this.maxDevicesCount=t.maxDevices,this.maxApplicationsCount=t.maxApplications,this.allowUseApplicationGroups=t.allowAppGroups,this.maxApplicationGroupsCount=t.maxAppGroups,this.allowUseCampaigns=t.allowCampaigns,this.maxCampaignsCount=t.maxCampaigns,this.allowUseTags=t.allowTags,this.allowUseUserSpecificTags=t.allowUseUserSpecificTags,this.maxTagsCount=t.maxTags,this.allowUseFilters=t.allowFilters,this.allowUseFiltersCompiling=t.allowFilterCompiling,this.allowUseFiltersWithTagNotSet=t.allowTagNotSetFilter,this.maxFiltersCount=t.maxFilters,this.maxFastFiltersCount=t.maxPreparedFilters,this.allowUseEvents=t.allowEvents,this.maxEventsCount=t.maxEvents,this.allowUseRichMedia=t.allowRichMedia,this.maxRichMediaCount=t.maxRichMedia,this.allowUseInApps=t.allowInApps,this.maxInAppsCount=t.maxInApps,this.maxDomainsCount=t.maxAccountDomains,this.maxMailsCount=t.maxEmailMails,this.maxEmailTemplatesCount=t.maxEmailTemplates,this.allowUsePresets=t.allowPresets,this.maxPresetsCount=t.maxPresets,this.allowUseAutoPushes=t.allowAutoPushes,this.maxAutoPushesCount=t.maxAutoPushes,this.allowUseAutoEmails=t.allowAutoEmails,this.maxAutoEmailsCount=t.maxAutoEmails,this.allowUseGeozones=t.allowGeozones,this.allowUseSendToGeozones=t.allowSendToGeoZone,this.maxGeozonesCount=t.maxGeoZones,this.maxGeozoneRange=t.maxGeozoneRange,this.minGeozoneRange=t.minGeozoneRange,this.allowUseDeepLinks=t.allowDeeplinks,this.maxDeepLinksCount=t.maxDeeplinks,this.allowUseBeacons=t.allowBeacons,this.maxBeaconsCount=t.maxBeacons,this.allowUseTwitterFeeds=t.allowTwitterFeeds,this.maxTwitterFeedsCount=t.maxTwitterFeeds,this.allowUseRssFeeds=t.allowRSSFeeds,this.allowUseRssFeedsCustomPollingInterval=t.allowCustomRssPollingInterval,this.maxRssFeedsCount=t.maxRssFeeds,this.allowUseTestDevices=t.allowTestDevices,this.maxTestDevicesCount=t.maxTestDevices,this.allowUseTriggeredMessages=t.allowPushOnEvent,this.maxTriggeredMessagesCount=t.maxTriggeredMessagePresets,this.maxTriggeredMessagesDelayInDays=t.maxPushOnEventDelayInDays,this.allowUseAccessTokens=t.allowAPI,this.allowUseDataKeys=t.allowCustomData,this.allowUseStatistics=t.allowStatsAccess,this.allowUseScheduling=t.allowScheduling,this.allowUseIOSAutoConfig=t.allowAutoConfig,this.allowUseTwoFactorAuth=t.allowTwoFactorAuth,this.allowUseSendMessageByCsv=t.allowCSVMessage,this.allowUseAbTests=t.allowAbTests,this.allowUseHtmlPages=t.allowHtmlPages,this.allowUseRemotePage=t.allowUseRemotePage,this.allowUseIOSCategories=t.allowIOSCategories,this.allowUseGoalTracking=t.allowGoalTracking,this.allowUseGetMessageLog=t.allowApiGetMessageLog,this.allowUseIEPlatform=t.allowUseIEPlatform,this.allowUseDebugMode=t.allowDebugMode,this.allowUseUninstallTracking=t.allowTrackingUninstall,this.allowUseFrequencyCapping=t.allowFrequencyCapping,this.allowUseInbox=t.allowInbox,this.maxInboxTtlDays=t.maxInboxTtlDays,this.allowUseSendExternalAndroidStatistics=t.allowSendExternalStats,this.allowUseGDPR=t.allowGDPR,this.allowUseEmailPlatform=t.allowUseEmailPlatform,this.sendRateMin=t.sendRateMin,this.sendRateMax=t.sendRateMax,this.messageHistoryStoriedPeriodInDays=t.messageHistoryStorePeriod,this.allowShowDeliveryStatistics=t.allowShowDeliveryStatistics,this.allowBestTimeToSend=t.allowBestTimeToSend,this.allowSegmentsGroups=t.allowSegmentsGroups,this.allowEventSegmentation=t.allowEventSegmentation,this.allowCustomerJourney=t.allowCustomerJourney,Object.freeze(this)},u=function(t){this.totalApplicationsCount=t.applicationsCount,this.totalApplicationGroupsCount=t.appGroupsCount,this.totalCampaignsCount=t.campaignsCount,this.totalTagsCount=t.tagsCount,this.totalFiltersCount=t.filtersCount,this.totalEventsCount=t.eventsCount,this.totalRichMediaCount=t.richMediaCount,this.totalInAppsCount=t.inAppsCount,this.totalDomainsCount=t.accountDomainsCount,this.totalMailsCount=t.accountMailsCount,this.totalEmailTemplatesCount=t.emailTemplatesCount,this.totalPresetsCount=t.presetsCount,this.totalAutoPushesCount=t.autoPushesCount,this.totalAutoEmailsCount=t.autoEmailsCount,this.totalGeozonesCount=t.geoZonesCount,this.totalDeepLinksCount=t.deeplinksCount,this.totalBeaconsCount=t.beaconsCount,this.totalTwitterFeedsCount=t.twitterFeedsCount,this.totalRssFeedsCount=t.rssFeedsCount,this.totalTestDevicesCount=t.testDevicesCount,this.totalTriggeredMessagesCount=t.triggeredMessagesCount},c=r(1238),p=r.n(c),h=function(t,e){this.name=e.username,this.email=e.email,this.isActive=e.isActive,this.isOwner=t.admin,this.isUnderSU=t.isUnderSu,this.timezone=e.timezone,this.timezoneOffset=60*p()(e.timezoneOffset),this.accountCount=e.accountsCount,this.isSubscribedForNewsletters=e.allowNewsletters,this.isSubscribedForDailyStatsGlobal=e.allowDailyStatsGlobal,this.isSubscribedForNotificationSubscribersLimitReached=e.allowNotificationSubscribers,this.isSubscribedForNotificationExpiredIOSCertificate=e.allowNotificationIosLicense,this.isSubscribedForNotificationUserInactivity=e.allowNotificationUserInactivity,this.isSubscribedForNotificationDisablePlatform=e.allowNotificationDisablePlatform,Object.freeze(this)},m=r(6748),d=r(3832),f=r(4904);var g=function(t){var e=this;this.updateSubject=function(t,s){e.subject.next({account:new i(t),permissions:new o(t),platforms:new a(t),restrictions:new l(t),counters:new u(t),user:new h(t,s),_data:{account:t,user:s}})},this.load=function(){return(0,m.__awaiter)(e,void 0,void 0,(function(){return(0,m.__generator)(this,(function(t){return[2,this.httpClient.post("".concat(window.location.origin.replace("app.","go."),"/cp/_rpc/"),{body:{calls:[{name:"account.getAuthInfo"}]},withAuthorization:!0,responseMiddleware:function(t){var e=(0,f.defaultResponseMiddleware)(t).responses[0],s=(0,f.defaultResponseMiddleware)({result:e.result,status:e.error||200,message:e.message,details:t.details});return[s.account,s.user]}})]}))}))},this.update=function(){return(0,m.__awaiter)(e,void 0,void 0,(function(){var t,e,s;return(0,m.__generator)(this,(function(i){switch(i.label){case 0:return[4,this.load()];case 1:return t=i.sent(),e=t[0],s=t[1],this.updateSubject(e,s),[2]}}))}))},this.subscribe=function(t){return e.subject.subscribe(t)},this.httpClient=t,this.subject=new d.ReplaySubject(1)}})(),n})()}));
|
|
1
|
+
!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t(require("tslib"),require("rxjs")):"function"==typeof define&&define.amd?define(["tslib","rxjs"],t):"object"==typeof exports?exports["@pushwoosh/session-store"]=t(require("tslib"),require("rxjs")):e["@pushwoosh/session-store"]=t(e.tslib,e.rxjs)}(self,(function(__WEBPACK_EXTERNAL_MODULE__6748__,__WEBPACK_EXTERNAL_MODULE__3832__){return(()=>{var __webpack_modules__={1238:(e,t,o)=>{e.exports=o(6877)},7850:(e,t,o)=>{var r=o(3019),s=r,i=function(){return this?this:"undefined"!=typeof window?window:void 0!==i?i:"undefined"!=typeof self?self:Function("return this")()}.call(null),n=o(6267);s.object.extend(proto,n);var a=o(9392);s.object.extend(proto,a),s.exportSymbol("proto.google.api.http",null,i),proto.google.api.http=new r.ExtensionFieldInfo(72295728,{http:0},n.HttpRule,n.HttpRule.toObject,0),a.MethodOptions.extensionsBinary[72295728]=new r.ExtensionFieldBinaryInfo(proto.google.api.http,r.BinaryReader.prototype.readMessage,r.BinaryWriter.prototype.writeMessage,n.HttpRule.serializeBinaryToWriter,n.HttpRule.deserializeBinaryFromReader,!1),a.MethodOptions.extensions[72295728]=proto.google.api.http,s.object.extend(t,proto.google.api)},6267:(e,t,o)=>{var r=o(3019),s=r,i=function(){return this?this:"undefined"!=typeof window?window:void 0!==i?i:"undefined"!=typeof self?self:Function("return this")()}.call(null);s.exportSymbol("proto.google.api.CustomHttpPattern",null,i),s.exportSymbol("proto.google.api.Http",null,i),s.exportSymbol("proto.google.api.HttpRule",null,i),s.exportSymbol("proto.google.api.HttpRule.PatternCase",null,i),proto.google.api.Http=function(e){r.Message.initialize(this,e,0,-1,proto.google.api.Http.repeatedFields_,null)},s.inherits(proto.google.api.Http,r.Message),s.DEBUG&&!COMPILED&&(proto.google.api.Http.displayName="proto.google.api.Http"),proto.google.api.HttpRule=function(e){r.Message.initialize(this,e,0,-1,proto.google.api.HttpRule.repeatedFields_,proto.google.api.HttpRule.oneofGroups_)},s.inherits(proto.google.api.HttpRule,r.Message),s.DEBUG&&!COMPILED&&(proto.google.api.HttpRule.displayName="proto.google.api.HttpRule"),proto.google.api.CustomHttpPattern=function(e){r.Message.initialize(this,e,0,-1,null,null)},s.inherits(proto.google.api.CustomHttpPattern,r.Message),s.DEBUG&&!COMPILED&&(proto.google.api.CustomHttpPattern.displayName="proto.google.api.CustomHttpPattern"),proto.google.api.Http.repeatedFields_=[1],r.Message.GENERATE_TO_OBJECT&&(proto.google.api.Http.prototype.toObject=function(e){return proto.google.api.Http.toObject(e,this)},proto.google.api.Http.toObject=function(e,t){var o={rulesList:r.Message.toObjectList(t.getRulesList(),proto.google.api.HttpRule.toObject,e),fullyDecodeReservedExpansion:r.Message.getBooleanFieldWithDefault(t,2,!1)};return e&&(o.$jspbMessageInstance=t),o}),proto.google.api.Http.deserializeBinary=function(e){var t=new r.BinaryReader(e),o=new proto.google.api.Http;return proto.google.api.Http.deserializeBinaryFromReader(o,t)},proto.google.api.Http.deserializeBinaryFromReader=function(e,t){for(;t.nextField()&&!t.isEndGroup();){switch(t.getFieldNumber()){case 1:var o=new proto.google.api.HttpRule;t.readMessage(o,proto.google.api.HttpRule.deserializeBinaryFromReader),e.addRules(o);break;case 2:o=t.readBool();e.setFullyDecodeReservedExpansion(o);break;default:t.skipField()}}return e},proto.google.api.Http.prototype.serializeBinary=function(){var e=new r.BinaryWriter;return proto.google.api.Http.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.google.api.Http.serializeBinaryToWriter=function(e,t){var o=void 0;(o=e.getRulesList()).length>0&&t.writeRepeatedMessage(1,o,proto.google.api.HttpRule.serializeBinaryToWriter),(o=e.getFullyDecodeReservedExpansion())&&t.writeBool(2,o)},proto.google.api.Http.prototype.getRulesList=function(){return r.Message.getRepeatedWrapperField(this,proto.google.api.HttpRule,1)},proto.google.api.Http.prototype.setRulesList=function(e){return r.Message.setRepeatedWrapperField(this,1,e)},proto.google.api.Http.prototype.addRules=function(e,t){return r.Message.addToRepeatedWrapperField(this,1,e,proto.google.api.HttpRule,t)},proto.google.api.Http.prototype.clearRulesList=function(){return this.setRulesList([])},proto.google.api.Http.prototype.getFullyDecodeReservedExpansion=function(){return r.Message.getBooleanFieldWithDefault(this,2,!1)},proto.google.api.Http.prototype.setFullyDecodeReservedExpansion=function(e){return r.Message.setProto3BooleanField(this,2,e)},proto.google.api.HttpRule.repeatedFields_=[11],proto.google.api.HttpRule.oneofGroups_=[[2,3,4,5,6,8]],proto.google.api.HttpRule.PatternCase={PATTERN_NOT_SET:0,GET:2,PUT:3,POST:4,DELETE:5,PATCH:6,CUSTOM:8},proto.google.api.HttpRule.prototype.getPatternCase=function(){return r.Message.computeOneofCase(this,proto.google.api.HttpRule.oneofGroups_[0])},r.Message.GENERATE_TO_OBJECT&&(proto.google.api.HttpRule.prototype.toObject=function(e){return proto.google.api.HttpRule.toObject(e,this)},proto.google.api.HttpRule.toObject=function(e,t){var o,s={selector:r.Message.getFieldWithDefault(t,1,""),get:r.Message.getFieldWithDefault(t,2,""),put:r.Message.getFieldWithDefault(t,3,""),post:r.Message.getFieldWithDefault(t,4,""),pb_delete:r.Message.getFieldWithDefault(t,5,""),patch:r.Message.getFieldWithDefault(t,6,""),custom:(o=t.getCustom())&&proto.google.api.CustomHttpPattern.toObject(e,o),body:r.Message.getFieldWithDefault(t,7,""),responseBody:r.Message.getFieldWithDefault(t,12,""),additionalBindingsList:r.Message.toObjectList(t.getAdditionalBindingsList(),proto.google.api.HttpRule.toObject,e)};return e&&(s.$jspbMessageInstance=t),s}),proto.google.api.HttpRule.deserializeBinary=function(e){var t=new r.BinaryReader(e),o=new proto.google.api.HttpRule;return proto.google.api.HttpRule.deserializeBinaryFromReader(o,t)},proto.google.api.HttpRule.deserializeBinaryFromReader=function(e,t){for(;t.nextField()&&!t.isEndGroup();){switch(t.getFieldNumber()){case 1:var o=t.readString();e.setSelector(o);break;case 2:o=t.readString();e.setGet(o);break;case 3:o=t.readString();e.setPut(o);break;case 4:o=t.readString();e.setPost(o);break;case 5:o=t.readString();e.setDelete(o);break;case 6:o=t.readString();e.setPatch(o);break;case 8:o=new proto.google.api.CustomHttpPattern;t.readMessage(o,proto.google.api.CustomHttpPattern.deserializeBinaryFromReader),e.setCustom(o);break;case 7:o=t.readString();e.setBody(o);break;case 12:o=t.readString();e.setResponseBody(o);break;case 11:o=new proto.google.api.HttpRule;t.readMessage(o,proto.google.api.HttpRule.deserializeBinaryFromReader),e.addAdditionalBindings(o);break;default:t.skipField()}}return e},proto.google.api.HttpRule.prototype.serializeBinary=function(){var e=new r.BinaryWriter;return proto.google.api.HttpRule.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.google.api.HttpRule.serializeBinaryToWriter=function(e,t){var o=void 0;(o=e.getSelector()).length>0&&t.writeString(1,o),null!=(o=r.Message.getField(e,2))&&t.writeString(2,o),null!=(o=r.Message.getField(e,3))&&t.writeString(3,o),null!=(o=r.Message.getField(e,4))&&t.writeString(4,o),null!=(o=r.Message.getField(e,5))&&t.writeString(5,o),null!=(o=r.Message.getField(e,6))&&t.writeString(6,o),null!=(o=e.getCustom())&&t.writeMessage(8,o,proto.google.api.CustomHttpPattern.serializeBinaryToWriter),(o=e.getBody()).length>0&&t.writeString(7,o),(o=e.getResponseBody()).length>0&&t.writeString(12,o),(o=e.getAdditionalBindingsList()).length>0&&t.writeRepeatedMessage(11,o,proto.google.api.HttpRule.serializeBinaryToWriter)},proto.google.api.HttpRule.prototype.getSelector=function(){return r.Message.getFieldWithDefault(this,1,"")},proto.google.api.HttpRule.prototype.setSelector=function(e){return r.Message.setProto3StringField(this,1,e)},proto.google.api.HttpRule.prototype.getGet=function(){return r.Message.getFieldWithDefault(this,2,"")},proto.google.api.HttpRule.prototype.setGet=function(e){return r.Message.setOneofField(this,2,proto.google.api.HttpRule.oneofGroups_[0],e)},proto.google.api.HttpRule.prototype.clearGet=function(){return r.Message.setOneofField(this,2,proto.google.api.HttpRule.oneofGroups_[0],void 0)},proto.google.api.HttpRule.prototype.hasGet=function(){return null!=r.Message.getField(this,2)},proto.google.api.HttpRule.prototype.getPut=function(){return r.Message.getFieldWithDefault(this,3,"")},proto.google.api.HttpRule.prototype.setPut=function(e){return r.Message.setOneofField(this,3,proto.google.api.HttpRule.oneofGroups_[0],e)},proto.google.api.HttpRule.prototype.clearPut=function(){return r.Message.setOneofField(this,3,proto.google.api.HttpRule.oneofGroups_[0],void 0)},proto.google.api.HttpRule.prototype.hasPut=function(){return null!=r.Message.getField(this,3)},proto.google.api.HttpRule.prototype.getPost=function(){return r.Message.getFieldWithDefault(this,4,"")},proto.google.api.HttpRule.prototype.setPost=function(e){return r.Message.setOneofField(this,4,proto.google.api.HttpRule.oneofGroups_[0],e)},proto.google.api.HttpRule.prototype.clearPost=function(){return r.Message.setOneofField(this,4,proto.google.api.HttpRule.oneofGroups_[0],void 0)},proto.google.api.HttpRule.prototype.hasPost=function(){return null!=r.Message.getField(this,4)},proto.google.api.HttpRule.prototype.getDelete=function(){return r.Message.getFieldWithDefault(this,5,"")},proto.google.api.HttpRule.prototype.setDelete=function(e){return r.Message.setOneofField(this,5,proto.google.api.HttpRule.oneofGroups_[0],e)},proto.google.api.HttpRule.prototype.clearDelete=function(){return r.Message.setOneofField(this,5,proto.google.api.HttpRule.oneofGroups_[0],void 0)},proto.google.api.HttpRule.prototype.hasDelete=function(){return null!=r.Message.getField(this,5)},proto.google.api.HttpRule.prototype.getPatch=function(){return r.Message.getFieldWithDefault(this,6,"")},proto.google.api.HttpRule.prototype.setPatch=function(e){return r.Message.setOneofField(this,6,proto.google.api.HttpRule.oneofGroups_[0],e)},proto.google.api.HttpRule.prototype.clearPatch=function(){return r.Message.setOneofField(this,6,proto.google.api.HttpRule.oneofGroups_[0],void 0)},proto.google.api.HttpRule.prototype.hasPatch=function(){return null!=r.Message.getField(this,6)},proto.google.api.HttpRule.prototype.getCustom=function(){return r.Message.getWrapperField(this,proto.google.api.CustomHttpPattern,8)},proto.google.api.HttpRule.prototype.setCustom=function(e){return r.Message.setOneofWrapperField(this,8,proto.google.api.HttpRule.oneofGroups_[0],e)},proto.google.api.HttpRule.prototype.clearCustom=function(){return this.setCustom(void 0)},proto.google.api.HttpRule.prototype.hasCustom=function(){return null!=r.Message.getField(this,8)},proto.google.api.HttpRule.prototype.getBody=function(){return r.Message.getFieldWithDefault(this,7,"")},proto.google.api.HttpRule.prototype.setBody=function(e){return r.Message.setProto3StringField(this,7,e)},proto.google.api.HttpRule.prototype.getResponseBody=function(){return r.Message.getFieldWithDefault(this,12,"")},proto.google.api.HttpRule.prototype.setResponseBody=function(e){return r.Message.setProto3StringField(this,12,e)},proto.google.api.HttpRule.prototype.getAdditionalBindingsList=function(){return r.Message.getRepeatedWrapperField(this,proto.google.api.HttpRule,11)},proto.google.api.HttpRule.prototype.setAdditionalBindingsList=function(e){return r.Message.setRepeatedWrapperField(this,11,e)},proto.google.api.HttpRule.prototype.addAdditionalBindings=function(e,t){return r.Message.addToRepeatedWrapperField(this,11,e,proto.google.api.HttpRule,t)},proto.google.api.HttpRule.prototype.clearAdditionalBindingsList=function(){return this.setAdditionalBindingsList([])},r.Message.GENERATE_TO_OBJECT&&(proto.google.api.CustomHttpPattern.prototype.toObject=function(e){return proto.google.api.CustomHttpPattern.toObject(e,this)},proto.google.api.CustomHttpPattern.toObject=function(e,t){var o={kind:r.Message.getFieldWithDefault(t,1,""),path:r.Message.getFieldWithDefault(t,2,"")};return e&&(o.$jspbMessageInstance=t),o}),proto.google.api.CustomHttpPattern.deserializeBinary=function(e){var t=new r.BinaryReader(e),o=new proto.google.api.CustomHttpPattern;return proto.google.api.CustomHttpPattern.deserializeBinaryFromReader(o,t)},proto.google.api.CustomHttpPattern.deserializeBinaryFromReader=function(e,t){for(;t.nextField()&&!t.isEndGroup();){switch(t.getFieldNumber()){case 1:var o=t.readString();e.setKind(o);break;case 2:o=t.readString();e.setPath(o);break;default:t.skipField()}}return e},proto.google.api.CustomHttpPattern.prototype.serializeBinary=function(){var e=new r.BinaryWriter;return proto.google.api.CustomHttpPattern.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.google.api.CustomHttpPattern.serializeBinaryToWriter=function(e,t){var o=void 0;(o=e.getKind()).length>0&&t.writeString(1,o),(o=e.getPath()).length>0&&t.writeString(2,o)},proto.google.api.CustomHttpPattern.prototype.getKind=function(){return r.Message.getFieldWithDefault(this,1,"")},proto.google.api.CustomHttpPattern.prototype.setKind=function(e){return r.Message.setProto3StringField(this,1,e)},proto.google.api.CustomHttpPattern.prototype.getPath=function(){return r.Message.getFieldWithDefault(this,2,"")},proto.google.api.CustomHttpPattern.prototype.setPath=function(e){return r.Message.setProto3StringField(this,2,e)},s.object.extend(t,proto.google.api)},9316:function(e,t,o){"use strict";var r=this&&this.__createBinding||(Object.create?function(e,t,o,r){void 0===r&&(r=o);var s=Object.getOwnPropertyDescriptor(t,o);s&&!("get"in s?!t.__esModule:s.writable||s.configurable)||(s={enumerable:!0,get:function(){return t[o]}}),Object.defineProperty(e,r,s)}:function(e,t,o,r){void 0===r&&(r=o),e[r]=t[o]}),s=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),i=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var o in e)"default"!==o&&Object.prototype.hasOwnProperty.call(e,o)&&r(t,e,o);return s(t,e),t};Object.defineProperty(t,"__esModule",{value:!0}),t.GetAuthInfoServiceClient=void 0;const n=i(o(3040)),a=i(o(1120));t.GetAuthInfoServiceClient=class{constructor(e,t,o){this.methodDescriptorGetAuthInfo=new n.MethodDescriptor("/pushwoosh.rpc_v2.accounts_get_auth_info.GetAuthInfoService/GetAuthInfo",n.MethodType.UNARY,a.GetAuthInfoRequest,a.GetAuthInfoResponse,(e=>e.serializeBinary()),a.GetAuthInfoResponse.deserializeBinary),o||(o={}),t||(t={}),o.format="text",this.client_=new n.GrpcWebClientBase(o),this.hostname_=e.replace(/\/+$/,""),this.credentials_=t,this.options_=o}getAuthInfo(e,t,o){return void 0!==o?this.client_.rpcCall(this.hostname_+"/pushwoosh.rpc_v2.accounts_get_auth_info.GetAuthInfoService/GetAuthInfo",e,t||{},this.methodDescriptorGetAuthInfo,o):this.client_.unaryCall(this.hostname_+"/pushwoosh.rpc_v2.accounts_get_auth_info.GetAuthInfoService/GetAuthInfo",e,t||{},this.methodDescriptorGetAuthInfo)}}},9623:(e,t,o)=>{var r=o(3019),s=r,i=function(){return this?this:"undefined"!=typeof window?window:void 0!==i?i:"undefined"!=typeof self?self:Function("return this")()}.call(null),n=o(7850);s.object.extend(proto,n);var a=o(1134);s.object.extend(proto,a),s.exportSymbol("proto.pushwoosh.rpc_v2.accounts.BillingAddress",null,i),s.exportSymbol("proto.pushwoosh.rpc_v2.accounts.GetActiveDevicesCountRequest",null,i),s.exportSymbol("proto.pushwoosh.rpc_v2.accounts.GetActiveDevicesCountResponse",null,i),s.exportSymbol("proto.pushwoosh.rpc_v2.accounts.GetActiveUsersCountRequest",null,i),s.exportSymbol("proto.pushwoosh.rpc_v2.accounts.GetActiveUsersCountResponse",null,i),s.exportSymbol("proto.pushwoosh.rpc_v2.accounts.GetBillingAddressRequest",null,i),s.exportSymbol("proto.pushwoosh.rpc_v2.accounts.GetBillingAddressResponse",null,i),s.exportSymbol("proto.pushwoosh.rpc_v2.accounts.GetEmailStatisticCountRequest",null,i),s.exportSymbol("proto.pushwoosh.rpc_v2.accounts.GetEmailStatisticCountResponse",null,i),s.exportSymbol("proto.pushwoosh.rpc_v2.accounts.GetOnboardingInfoRequest",null,i),s.exportSymbol("proto.pushwoosh.rpc_v2.accounts.GetOnboardingInfoResponse",null,i),s.exportSymbol("proto.pushwoosh.rpc_v2.accounts.GetSubscribersCountRequest",null,i),s.exportSymbol("proto.pushwoosh.rpc_v2.accounts.GetSubscribersCountResponse",null,i),s.exportSymbol("proto.pushwoosh.rpc_v2.accounts.GetTotalEmailSubscribersCountRequest",null,i),s.exportSymbol("proto.pushwoosh.rpc_v2.accounts.GetTotalEmailSubscribersCountResponse",null,i),s.exportSymbol("proto.pushwoosh.rpc_v2.accounts.SetDebugModeRequest",null,i),s.exportSymbol("proto.pushwoosh.rpc_v2.accounts.SetDebugModeResponse",null,i),s.exportSymbol("proto.pushwoosh.rpc_v2.accounts.UpdateBillingAddressRequest",null,i),s.exportSymbol("proto.pushwoosh.rpc_v2.accounts.UpdateBillingAddressResponse",null,i),s.exportSymbol("proto.pushwoosh.rpc_v2.accounts.UpdateOnboardingInfoRequest",null,i),s.exportSymbol("proto.pushwoosh.rpc_v2.accounts.UpdateOnboardingInfoResponse",null,i),proto.pushwoosh.rpc_v2.accounts.GetEmailStatisticCountRequest=function(e){r.Message.initialize(this,e,0,-1,null,null)},s.inherits(proto.pushwoosh.rpc_v2.accounts.GetEmailStatisticCountRequest,r.Message),s.DEBUG&&!COMPILED&&(proto.pushwoosh.rpc_v2.accounts.GetEmailStatisticCountRequest.displayName="proto.pushwoosh.rpc_v2.accounts.GetEmailStatisticCountRequest"),proto.pushwoosh.rpc_v2.accounts.GetEmailStatisticCountResponse=function(e){r.Message.initialize(this,e,0,-1,null,null)},s.inherits(proto.pushwoosh.rpc_v2.accounts.GetEmailStatisticCountResponse,r.Message),s.DEBUG&&!COMPILED&&(proto.pushwoosh.rpc_v2.accounts.GetEmailStatisticCountResponse.displayName="proto.pushwoosh.rpc_v2.accounts.GetEmailStatisticCountResponse"),proto.pushwoosh.rpc_v2.accounts.GetActiveDevicesCountRequest=function(e){r.Message.initialize(this,e,0,-1,null,null)},s.inherits(proto.pushwoosh.rpc_v2.accounts.GetActiveDevicesCountRequest,r.Message),s.DEBUG&&!COMPILED&&(proto.pushwoosh.rpc_v2.accounts.GetActiveDevicesCountRequest.displayName="proto.pushwoosh.rpc_v2.accounts.GetActiveDevicesCountRequest"),proto.pushwoosh.rpc_v2.accounts.GetActiveDevicesCountResponse=function(e){r.Message.initialize(this,e,0,-1,null,null)},s.inherits(proto.pushwoosh.rpc_v2.accounts.GetActiveDevicesCountResponse,r.Message),s.DEBUG&&!COMPILED&&(proto.pushwoosh.rpc_v2.accounts.GetActiveDevicesCountResponse.displayName="proto.pushwoosh.rpc_v2.accounts.GetActiveDevicesCountResponse"),proto.pushwoosh.rpc_v2.accounts.GetSubscribersCountRequest=function(e){r.Message.initialize(this,e,0,-1,proto.pushwoosh.rpc_v2.accounts.GetSubscribersCountRequest.repeatedFields_,null)},s.inherits(proto.pushwoosh.rpc_v2.accounts.GetSubscribersCountRequest,r.Message),s.DEBUG&&!COMPILED&&(proto.pushwoosh.rpc_v2.accounts.GetSubscribersCountRequest.displayName="proto.pushwoosh.rpc_v2.accounts.GetSubscribersCountRequest"),proto.pushwoosh.rpc_v2.accounts.GetSubscribersCountResponse=function(e){r.Message.initialize(this,e,0,-1,null,null)},s.inherits(proto.pushwoosh.rpc_v2.accounts.GetSubscribersCountResponse,r.Message),s.DEBUG&&!COMPILED&&(proto.pushwoosh.rpc_v2.accounts.GetSubscribersCountResponse.displayName="proto.pushwoosh.rpc_v2.accounts.GetSubscribersCountResponse"),proto.pushwoosh.rpc_v2.accounts.GetActiveUsersCountRequest=function(e){r.Message.initialize(this,e,0,-1,null,null)},s.inherits(proto.pushwoosh.rpc_v2.accounts.GetActiveUsersCountRequest,r.Message),s.DEBUG&&!COMPILED&&(proto.pushwoosh.rpc_v2.accounts.GetActiveUsersCountRequest.displayName="proto.pushwoosh.rpc_v2.accounts.GetActiveUsersCountRequest"),proto.pushwoosh.rpc_v2.accounts.GetActiveUsersCountResponse=function(e){r.Message.initialize(this,e,0,-1,null,null)},s.inherits(proto.pushwoosh.rpc_v2.accounts.GetActiveUsersCountResponse,r.Message),s.DEBUG&&!COMPILED&&(proto.pushwoosh.rpc_v2.accounts.GetActiveUsersCountResponse.displayName="proto.pushwoosh.rpc_v2.accounts.GetActiveUsersCountResponse"),proto.pushwoosh.rpc_v2.accounts.SetDebugModeRequest=function(e){r.Message.initialize(this,e,0,-1,null,null)},s.inherits(proto.pushwoosh.rpc_v2.accounts.SetDebugModeRequest,r.Message),s.DEBUG&&!COMPILED&&(proto.pushwoosh.rpc_v2.accounts.SetDebugModeRequest.displayName="proto.pushwoosh.rpc_v2.accounts.SetDebugModeRequest"),proto.pushwoosh.rpc_v2.accounts.SetDebugModeResponse=function(e){r.Message.initialize(this,e,0,-1,null,null)},s.inherits(proto.pushwoosh.rpc_v2.accounts.SetDebugModeResponse,r.Message),s.DEBUG&&!COMPILED&&(proto.pushwoosh.rpc_v2.accounts.SetDebugModeResponse.displayName="proto.pushwoosh.rpc_v2.accounts.SetDebugModeResponse"),proto.pushwoosh.rpc_v2.accounts.GetOnboardingInfoRequest=function(e){r.Message.initialize(this,e,0,-1,null,null)},s.inherits(proto.pushwoosh.rpc_v2.accounts.GetOnboardingInfoRequest,r.Message),s.DEBUG&&!COMPILED&&(proto.pushwoosh.rpc_v2.accounts.GetOnboardingInfoRequest.displayName="proto.pushwoosh.rpc_v2.accounts.GetOnboardingInfoRequest"),proto.pushwoosh.rpc_v2.accounts.GetOnboardingInfoResponse=function(e){r.Message.initialize(this,e,0,-1,null,null)},s.inherits(proto.pushwoosh.rpc_v2.accounts.GetOnboardingInfoResponse,r.Message),s.DEBUG&&!COMPILED&&(proto.pushwoosh.rpc_v2.accounts.GetOnboardingInfoResponse.displayName="proto.pushwoosh.rpc_v2.accounts.GetOnboardingInfoResponse"),proto.pushwoosh.rpc_v2.accounts.UpdateOnboardingInfoRequest=function(e){r.Message.initialize(this,e,0,-1,null,null)},s.inherits(proto.pushwoosh.rpc_v2.accounts.UpdateOnboardingInfoRequest,r.Message),s.DEBUG&&!COMPILED&&(proto.pushwoosh.rpc_v2.accounts.UpdateOnboardingInfoRequest.displayName="proto.pushwoosh.rpc_v2.accounts.UpdateOnboardingInfoRequest"),proto.pushwoosh.rpc_v2.accounts.UpdateOnboardingInfoResponse=function(e){r.Message.initialize(this,e,0,-1,null,null)},s.inherits(proto.pushwoosh.rpc_v2.accounts.UpdateOnboardingInfoResponse,r.Message),s.DEBUG&&!COMPILED&&(proto.pushwoosh.rpc_v2.accounts.UpdateOnboardingInfoResponse.displayName="proto.pushwoosh.rpc_v2.accounts.UpdateOnboardingInfoResponse"),proto.pushwoosh.rpc_v2.accounts.GetTotalEmailSubscribersCountRequest=function(e){r.Message.initialize(this,e,0,-1,null,null)},s.inherits(proto.pushwoosh.rpc_v2.accounts.GetTotalEmailSubscribersCountRequest,r.Message),s.DEBUG&&!COMPILED&&(proto.pushwoosh.rpc_v2.accounts.GetTotalEmailSubscribersCountRequest.displayName="proto.pushwoosh.rpc_v2.accounts.GetTotalEmailSubscribersCountRequest"),proto.pushwoosh.rpc_v2.accounts.GetTotalEmailSubscribersCountResponse=function(e){r.Message.initialize(this,e,0,-1,null,null)},s.inherits(proto.pushwoosh.rpc_v2.accounts.GetTotalEmailSubscribersCountResponse,r.Message),s.DEBUG&&!COMPILED&&(proto.pushwoosh.rpc_v2.accounts.GetTotalEmailSubscribersCountResponse.displayName="proto.pushwoosh.rpc_v2.accounts.GetTotalEmailSubscribersCountResponse"),proto.pushwoosh.rpc_v2.accounts.GetBillingAddressRequest=function(e){r.Message.initialize(this,e,0,-1,null,null)},s.inherits(proto.pushwoosh.rpc_v2.accounts.GetBillingAddressRequest,r.Message),s.DEBUG&&!COMPILED&&(proto.pushwoosh.rpc_v2.accounts.GetBillingAddressRequest.displayName="proto.pushwoosh.rpc_v2.accounts.GetBillingAddressRequest"),proto.pushwoosh.rpc_v2.accounts.BillingAddress=function(e){r.Message.initialize(this,e,0,-1,proto.pushwoosh.rpc_v2.accounts.BillingAddress.repeatedFields_,null)},s.inherits(proto.pushwoosh.rpc_v2.accounts.BillingAddress,r.Message),s.DEBUG&&!COMPILED&&(proto.pushwoosh.rpc_v2.accounts.BillingAddress.displayName="proto.pushwoosh.rpc_v2.accounts.BillingAddress"),proto.pushwoosh.rpc_v2.accounts.GetBillingAddressResponse=function(e){r.Message.initialize(this,e,0,-1,null,null)},s.inherits(proto.pushwoosh.rpc_v2.accounts.GetBillingAddressResponse,r.Message),s.DEBUG&&!COMPILED&&(proto.pushwoosh.rpc_v2.accounts.GetBillingAddressResponse.displayName="proto.pushwoosh.rpc_v2.accounts.GetBillingAddressResponse"),proto.pushwoosh.rpc_v2.accounts.UpdateBillingAddressRequest=function(e){r.Message.initialize(this,e,0,-1,null,null)},s.inherits(proto.pushwoosh.rpc_v2.accounts.UpdateBillingAddressRequest,r.Message),s.DEBUG&&!COMPILED&&(proto.pushwoosh.rpc_v2.accounts.UpdateBillingAddressRequest.displayName="proto.pushwoosh.rpc_v2.accounts.UpdateBillingAddressRequest"),proto.pushwoosh.rpc_v2.accounts.UpdateBillingAddressResponse=function(e){r.Message.initialize(this,e,0,-1,null,null)},s.inherits(proto.pushwoosh.rpc_v2.accounts.UpdateBillingAddressResponse,r.Message),s.DEBUG&&!COMPILED&&(proto.pushwoosh.rpc_v2.accounts.UpdateBillingAddressResponse.displayName="proto.pushwoosh.rpc_v2.accounts.UpdateBillingAddressResponse"),r.Message.GENERATE_TO_OBJECT&&(proto.pushwoosh.rpc_v2.accounts.GetEmailStatisticCountRequest.prototype.toObject=function(e){return proto.pushwoosh.rpc_v2.accounts.GetEmailStatisticCountRequest.toObject(e,this)},proto.pushwoosh.rpc_v2.accounts.GetEmailStatisticCountRequest.toObject=function(e,t){var o,r={dateFrom:(o=t.getDateFrom())&&a.Timestamp.toObject(e,o),dateTo:(o=t.getDateTo())&&a.Timestamp.toObject(e,o)};return e&&(r.$jspbMessageInstance=t),r}),proto.pushwoosh.rpc_v2.accounts.GetEmailStatisticCountRequest.deserializeBinary=function(e){var t=new r.BinaryReader(e),o=new proto.pushwoosh.rpc_v2.accounts.GetEmailStatisticCountRequest;return proto.pushwoosh.rpc_v2.accounts.GetEmailStatisticCountRequest.deserializeBinaryFromReader(o,t)},proto.pushwoosh.rpc_v2.accounts.GetEmailStatisticCountRequest.deserializeBinaryFromReader=function(e,t){for(;t.nextField()&&!t.isEndGroup();){switch(t.getFieldNumber()){case 1:var o=new a.Timestamp;t.readMessage(o,a.Timestamp.deserializeBinaryFromReader),e.setDateFrom(o);break;case 2:o=new a.Timestamp;t.readMessage(o,a.Timestamp.deserializeBinaryFromReader),e.setDateTo(o);break;default:t.skipField()}}return e},proto.pushwoosh.rpc_v2.accounts.GetEmailStatisticCountRequest.prototype.serializeBinary=function(){var e=new r.BinaryWriter;return proto.pushwoosh.rpc_v2.accounts.GetEmailStatisticCountRequest.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.pushwoosh.rpc_v2.accounts.GetEmailStatisticCountRequest.serializeBinaryToWriter=function(e,t){var o=void 0;null!=(o=e.getDateFrom())&&t.writeMessage(1,o,a.Timestamp.serializeBinaryToWriter),null!=(o=e.getDateTo())&&t.writeMessage(2,o,a.Timestamp.serializeBinaryToWriter)},proto.pushwoosh.rpc_v2.accounts.GetEmailStatisticCountRequest.prototype.getDateFrom=function(){return r.Message.getWrapperField(this,a.Timestamp,1)},proto.pushwoosh.rpc_v2.accounts.GetEmailStatisticCountRequest.prototype.setDateFrom=function(e){return r.Message.setWrapperField(this,1,e)},proto.pushwoosh.rpc_v2.accounts.GetEmailStatisticCountRequest.prototype.clearDateFrom=function(){return this.setDateFrom(void 0)},proto.pushwoosh.rpc_v2.accounts.GetEmailStatisticCountRequest.prototype.hasDateFrom=function(){return null!=r.Message.getField(this,1)},proto.pushwoosh.rpc_v2.accounts.GetEmailStatisticCountRequest.prototype.getDateTo=function(){return r.Message.getWrapperField(this,a.Timestamp,2)},proto.pushwoosh.rpc_v2.accounts.GetEmailStatisticCountRequest.prototype.setDateTo=function(e){return r.Message.setWrapperField(this,2,e)},proto.pushwoosh.rpc_v2.accounts.GetEmailStatisticCountRequest.prototype.clearDateTo=function(){return this.setDateTo(void 0)},proto.pushwoosh.rpc_v2.accounts.GetEmailStatisticCountRequest.prototype.hasDateTo=function(){return null!=r.Message.getField(this,2)},r.Message.GENERATE_TO_OBJECT&&(proto.pushwoosh.rpc_v2.accounts.GetEmailStatisticCountResponse.prototype.toObject=function(e){return proto.pushwoosh.rpc_v2.accounts.GetEmailStatisticCountResponse.toObject(e,this)},proto.pushwoosh.rpc_v2.accounts.GetEmailStatisticCountResponse.toObject=function(e,t){var o={dailyEmailStat:r.Message.getFieldWithDefault(t,1,0),monthlyEmailStat:r.Message.getFieldWithDefault(t,2,0),lastEmailStat:r.Message.getFieldWithDefault(t,3,0),paidEmailQuota:r.Message.getFieldWithDefault(t,4,0),freeEmailQuota:r.Message.getFieldWithDefault(t,5,0),freeEmailLimit:r.Message.getFieldWithDefault(t,6,0),billingMonthEmailSendsStat:r.Message.getFieldWithDefault(t,7,0),requestDateEmailStat:r.Message.getFieldWithDefault(t,8,0)};return e&&(o.$jspbMessageInstance=t),o}),proto.pushwoosh.rpc_v2.accounts.GetEmailStatisticCountResponse.deserializeBinary=function(e){var t=new r.BinaryReader(e),o=new proto.pushwoosh.rpc_v2.accounts.GetEmailStatisticCountResponse;return proto.pushwoosh.rpc_v2.accounts.GetEmailStatisticCountResponse.deserializeBinaryFromReader(o,t)},proto.pushwoosh.rpc_v2.accounts.GetEmailStatisticCountResponse.deserializeBinaryFromReader=function(e,t){for(;t.nextField()&&!t.isEndGroup();){switch(t.getFieldNumber()){case 1:var o=t.readUint64();e.setDailyEmailStat(o);break;case 2:o=t.readUint64();e.setMonthlyEmailStat(o);break;case 3:o=t.readUint64();e.setLastEmailStat(o);break;case 4:o=t.readUint64();e.setPaidEmailQuota(o);break;case 5:o=t.readUint64();e.setFreeEmailQuota(o);break;case 6:o=t.readUint64();e.setFreeEmailLimit(o);break;case 7:o=t.readUint64();e.setBillingMonthEmailSendsStat(o);break;case 8:o=t.readUint64();e.setRequestDateEmailStat(o);break;default:t.skipField()}}return e},proto.pushwoosh.rpc_v2.accounts.GetEmailStatisticCountResponse.prototype.serializeBinary=function(){var e=new r.BinaryWriter;return proto.pushwoosh.rpc_v2.accounts.GetEmailStatisticCountResponse.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.pushwoosh.rpc_v2.accounts.GetEmailStatisticCountResponse.serializeBinaryToWriter=function(e,t){var o=void 0;0!==(o=e.getDailyEmailStat())&&t.writeUint64(1,o),0!==(o=e.getMonthlyEmailStat())&&t.writeUint64(2,o),0!==(o=e.getLastEmailStat())&&t.writeUint64(3,o),0!==(o=e.getPaidEmailQuota())&&t.writeUint64(4,o),0!==(o=e.getFreeEmailQuota())&&t.writeUint64(5,o),0!==(o=e.getFreeEmailLimit())&&t.writeUint64(6,o),0!==(o=e.getBillingMonthEmailSendsStat())&&t.writeUint64(7,o),0!==(o=e.getRequestDateEmailStat())&&t.writeUint64(8,o)},proto.pushwoosh.rpc_v2.accounts.GetEmailStatisticCountResponse.prototype.getDailyEmailStat=function(){return r.Message.getFieldWithDefault(this,1,0)},proto.pushwoosh.rpc_v2.accounts.GetEmailStatisticCountResponse.prototype.setDailyEmailStat=function(e){return r.Message.setProto3IntField(this,1,e)},proto.pushwoosh.rpc_v2.accounts.GetEmailStatisticCountResponse.prototype.getMonthlyEmailStat=function(){return r.Message.getFieldWithDefault(this,2,0)},proto.pushwoosh.rpc_v2.accounts.GetEmailStatisticCountResponse.prototype.setMonthlyEmailStat=function(e){return r.Message.setProto3IntField(this,2,e)},proto.pushwoosh.rpc_v2.accounts.GetEmailStatisticCountResponse.prototype.getLastEmailStat=function(){return r.Message.getFieldWithDefault(this,3,0)},proto.pushwoosh.rpc_v2.accounts.GetEmailStatisticCountResponse.prototype.setLastEmailStat=function(e){return r.Message.setProto3IntField(this,3,e)},proto.pushwoosh.rpc_v2.accounts.GetEmailStatisticCountResponse.prototype.getPaidEmailQuota=function(){return r.Message.getFieldWithDefault(this,4,0)},proto.pushwoosh.rpc_v2.accounts.GetEmailStatisticCountResponse.prototype.setPaidEmailQuota=function(e){return r.Message.setProto3IntField(this,4,e)},proto.pushwoosh.rpc_v2.accounts.GetEmailStatisticCountResponse.prototype.getFreeEmailQuota=function(){return r.Message.getFieldWithDefault(this,5,0)},proto.pushwoosh.rpc_v2.accounts.GetEmailStatisticCountResponse.prototype.setFreeEmailQuota=function(e){return r.Message.setProto3IntField(this,5,e)},proto.pushwoosh.rpc_v2.accounts.GetEmailStatisticCountResponse.prototype.getFreeEmailLimit=function(){return r.Message.getFieldWithDefault(this,6,0)},proto.pushwoosh.rpc_v2.accounts.GetEmailStatisticCountResponse.prototype.setFreeEmailLimit=function(e){return r.Message.setProto3IntField(this,6,e)},proto.pushwoosh.rpc_v2.accounts.GetEmailStatisticCountResponse.prototype.getBillingMonthEmailSendsStat=function(){return r.Message.getFieldWithDefault(this,7,0)},proto.pushwoosh.rpc_v2.accounts.GetEmailStatisticCountResponse.prototype.setBillingMonthEmailSendsStat=function(e){return r.Message.setProto3IntField(this,7,e)},proto.pushwoosh.rpc_v2.accounts.GetEmailStatisticCountResponse.prototype.getRequestDateEmailStat=function(){return r.Message.getFieldWithDefault(this,8,0)},proto.pushwoosh.rpc_v2.accounts.GetEmailStatisticCountResponse.prototype.setRequestDateEmailStat=function(e){return r.Message.setProto3IntField(this,8,e)},r.Message.GENERATE_TO_OBJECT&&(proto.pushwoosh.rpc_v2.accounts.GetActiveDevicesCountRequest.prototype.toObject=function(e){return proto.pushwoosh.rpc_v2.accounts.GetActiveDevicesCountRequest.toObject(e,this)},proto.pushwoosh.rpc_v2.accounts.GetActiveDevicesCountRequest.toObject=function(e,t){var o,r={dateFrom:(o=t.getDateFrom())&&a.Timestamp.toObject(e,o),dateTo:(o=t.getDateTo())&&a.Timestamp.toObject(e,o)};return e&&(r.$jspbMessageInstance=t),r}),proto.pushwoosh.rpc_v2.accounts.GetActiveDevicesCountRequest.deserializeBinary=function(e){var t=new r.BinaryReader(e),o=new proto.pushwoosh.rpc_v2.accounts.GetActiveDevicesCountRequest;return proto.pushwoosh.rpc_v2.accounts.GetActiveDevicesCountRequest.deserializeBinaryFromReader(o,t)},proto.pushwoosh.rpc_v2.accounts.GetActiveDevicesCountRequest.deserializeBinaryFromReader=function(e,t){for(;t.nextField()&&!t.isEndGroup();){switch(t.getFieldNumber()){case 1:var o=new a.Timestamp;t.readMessage(o,a.Timestamp.deserializeBinaryFromReader),e.setDateFrom(o);break;case 2:o=new a.Timestamp;t.readMessage(o,a.Timestamp.deserializeBinaryFromReader),e.setDateTo(o);break;default:t.skipField()}}return e},proto.pushwoosh.rpc_v2.accounts.GetActiveDevicesCountRequest.prototype.serializeBinary=function(){var e=new r.BinaryWriter;return proto.pushwoosh.rpc_v2.accounts.GetActiveDevicesCountRequest.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.pushwoosh.rpc_v2.accounts.GetActiveDevicesCountRequest.serializeBinaryToWriter=function(e,t){var o=void 0;null!=(o=e.getDateFrom())&&t.writeMessage(1,o,a.Timestamp.serializeBinaryToWriter),null!=(o=e.getDateTo())&&t.writeMessage(2,o,a.Timestamp.serializeBinaryToWriter)},proto.pushwoosh.rpc_v2.accounts.GetActiveDevicesCountRequest.prototype.getDateFrom=function(){return r.Message.getWrapperField(this,a.Timestamp,1)},proto.pushwoosh.rpc_v2.accounts.GetActiveDevicesCountRequest.prototype.setDateFrom=function(e){return r.Message.setWrapperField(this,1,e)},proto.pushwoosh.rpc_v2.accounts.GetActiveDevicesCountRequest.prototype.clearDateFrom=function(){return this.setDateFrom(void 0)},proto.pushwoosh.rpc_v2.accounts.GetActiveDevicesCountRequest.prototype.hasDateFrom=function(){return null!=r.Message.getField(this,1)},proto.pushwoosh.rpc_v2.accounts.GetActiveDevicesCountRequest.prototype.getDateTo=function(){return r.Message.getWrapperField(this,a.Timestamp,2)},proto.pushwoosh.rpc_v2.accounts.GetActiveDevicesCountRequest.prototype.setDateTo=function(e){return r.Message.setWrapperField(this,2,e)},proto.pushwoosh.rpc_v2.accounts.GetActiveDevicesCountRequest.prototype.clearDateTo=function(){return this.setDateTo(void 0)},proto.pushwoosh.rpc_v2.accounts.GetActiveDevicesCountRequest.prototype.hasDateTo=function(){return null!=r.Message.getField(this,2)},r.Message.GENERATE_TO_OBJECT&&(proto.pushwoosh.rpc_v2.accounts.GetActiveDevicesCountResponse.prototype.toObject=function(e){return proto.pushwoosh.rpc_v2.accounts.GetActiveDevicesCountResponse.toObject(e,this)},proto.pushwoosh.rpc_v2.accounts.GetActiveDevicesCountResponse.toObject=function(e,t){var o={monthlyActiveDevices:r.Message.getFieldWithDefault(t,1,0),calendarMonthlyActiveDevices:r.Message.getFieldWithDefault(t,2,0),previousMonthActiveDevices:r.Message.getFieldWithDefault(t,3,0),requestDateActiveDevices:r.Message.getFieldWithDefault(t,4,0)};return e&&(o.$jspbMessageInstance=t),o}),proto.pushwoosh.rpc_v2.accounts.GetActiveDevicesCountResponse.deserializeBinary=function(e){var t=new r.BinaryReader(e),o=new proto.pushwoosh.rpc_v2.accounts.GetActiveDevicesCountResponse;return proto.pushwoosh.rpc_v2.accounts.GetActiveDevicesCountResponse.deserializeBinaryFromReader(o,t)},proto.pushwoosh.rpc_v2.accounts.GetActiveDevicesCountResponse.deserializeBinaryFromReader=function(e,t){for(;t.nextField()&&!t.isEndGroup();){switch(t.getFieldNumber()){case 1:var o=t.readUint64();e.setMonthlyActiveDevices(o);break;case 2:o=t.readUint64();e.setCalendarMonthlyActiveDevices(o);break;case 3:o=t.readUint64();e.setPreviousMonthActiveDevices(o);break;case 4:o=t.readUint64();e.setRequestDateActiveDevices(o);break;default:t.skipField()}}return e},proto.pushwoosh.rpc_v2.accounts.GetActiveDevicesCountResponse.prototype.serializeBinary=function(){var e=new r.BinaryWriter;return proto.pushwoosh.rpc_v2.accounts.GetActiveDevicesCountResponse.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.pushwoosh.rpc_v2.accounts.GetActiveDevicesCountResponse.serializeBinaryToWriter=function(e,t){var o=void 0;0!==(o=e.getMonthlyActiveDevices())&&t.writeUint64(1,o),0!==(o=e.getCalendarMonthlyActiveDevices())&&t.writeUint64(2,o),0!==(o=e.getPreviousMonthActiveDevices())&&t.writeUint64(3,o),0!==(o=e.getRequestDateActiveDevices())&&t.writeUint64(4,o)},proto.pushwoosh.rpc_v2.accounts.GetActiveDevicesCountResponse.prototype.getMonthlyActiveDevices=function(){return r.Message.getFieldWithDefault(this,1,0)},proto.pushwoosh.rpc_v2.accounts.GetActiveDevicesCountResponse.prototype.setMonthlyActiveDevices=function(e){return r.Message.setProto3IntField(this,1,e)},proto.pushwoosh.rpc_v2.accounts.GetActiveDevicesCountResponse.prototype.getCalendarMonthlyActiveDevices=function(){return r.Message.getFieldWithDefault(this,2,0)},proto.pushwoosh.rpc_v2.accounts.GetActiveDevicesCountResponse.prototype.setCalendarMonthlyActiveDevices=function(e){return r.Message.setProto3IntField(this,2,e)},proto.pushwoosh.rpc_v2.accounts.GetActiveDevicesCountResponse.prototype.getPreviousMonthActiveDevices=function(){return r.Message.getFieldWithDefault(this,3,0)},proto.pushwoosh.rpc_v2.accounts.GetActiveDevicesCountResponse.prototype.setPreviousMonthActiveDevices=function(e){return r.Message.setProto3IntField(this,3,e)},proto.pushwoosh.rpc_v2.accounts.GetActiveDevicesCountResponse.prototype.getRequestDateActiveDevices=function(){return r.Message.getFieldWithDefault(this,4,0)},proto.pushwoosh.rpc_v2.accounts.GetActiveDevicesCountResponse.prototype.setRequestDateActiveDevices=function(e){return r.Message.setProto3IntField(this,4,e)},proto.pushwoosh.rpc_v2.accounts.GetSubscribersCountRequest.repeatedFields_=[1],r.Message.GENERATE_TO_OBJECT&&(proto.pushwoosh.rpc_v2.accounts.GetSubscribersCountRequest.prototype.toObject=function(e){return proto.pushwoosh.rpc_v2.accounts.GetSubscribersCountRequest.toObject(e,this)},proto.pushwoosh.rpc_v2.accounts.GetSubscribersCountRequest.toObject=function(e,t){var o,s={platformsList:null==(o=r.Message.getRepeatedField(t,1))?void 0:o};return e&&(s.$jspbMessageInstance=t),s}),proto.pushwoosh.rpc_v2.accounts.GetSubscribersCountRequest.deserializeBinary=function(e){var t=new r.BinaryReader(e),o=new proto.pushwoosh.rpc_v2.accounts.GetSubscribersCountRequest;return proto.pushwoosh.rpc_v2.accounts.GetSubscribersCountRequest.deserializeBinaryFromReader(o,t)},proto.pushwoosh.rpc_v2.accounts.GetSubscribersCountRequest.deserializeBinaryFromReader=function(e,t){for(;t.nextField()&&!t.isEndGroup();){if(1===t.getFieldNumber())for(var o=t.isDelimited()?t.readPackedUint32():[t.readUint32()],r=0;r<o.length;r++)e.addPlatforms(o[r]);else t.skipField()}return e},proto.pushwoosh.rpc_v2.accounts.GetSubscribersCountRequest.prototype.serializeBinary=function(){var e=new r.BinaryWriter;return proto.pushwoosh.rpc_v2.accounts.GetSubscribersCountRequest.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.pushwoosh.rpc_v2.accounts.GetSubscribersCountRequest.serializeBinaryToWriter=function(e,t){var o;(o=e.getPlatformsList()).length>0&&t.writePackedUint32(1,o)},proto.pushwoosh.rpc_v2.accounts.GetSubscribersCountRequest.prototype.getPlatformsList=function(){return r.Message.getRepeatedField(this,1)},proto.pushwoosh.rpc_v2.accounts.GetSubscribersCountRequest.prototype.setPlatformsList=function(e){return r.Message.setField(this,1,e||[])},proto.pushwoosh.rpc_v2.accounts.GetSubscribersCountRequest.prototype.addPlatforms=function(e,t){return r.Message.addToRepeatedField(this,1,e,t)},proto.pushwoosh.rpc_v2.accounts.GetSubscribersCountRequest.prototype.clearPlatformsList=function(){return this.setPlatformsList([])},r.Message.GENERATE_TO_OBJECT&&(proto.pushwoosh.rpc_v2.accounts.GetSubscribersCountResponse.prototype.toObject=function(e){return proto.pushwoosh.rpc_v2.accounts.GetSubscribersCountResponse.toObject(e,this)},proto.pushwoosh.rpc_v2.accounts.GetSubscribersCountResponse.toObject=function(e,t){var o={pushEnabled:r.Message.getFieldWithDefault(t,1,0),pushDisabled:r.Message.getFieldWithDefault(t,2,0)};return e&&(o.$jspbMessageInstance=t),o}),proto.pushwoosh.rpc_v2.accounts.GetSubscribersCountResponse.deserializeBinary=function(e){var t=new r.BinaryReader(e),o=new proto.pushwoosh.rpc_v2.accounts.GetSubscribersCountResponse;return proto.pushwoosh.rpc_v2.accounts.GetSubscribersCountResponse.deserializeBinaryFromReader(o,t)},proto.pushwoosh.rpc_v2.accounts.GetSubscribersCountResponse.deserializeBinaryFromReader=function(e,t){for(;t.nextField()&&!t.isEndGroup();){switch(t.getFieldNumber()){case 1:var o=t.readUint64();e.setPushEnabled(o);break;case 2:o=t.readUint64();e.setPushDisabled(o);break;default:t.skipField()}}return e},proto.pushwoosh.rpc_v2.accounts.GetSubscribersCountResponse.prototype.serializeBinary=function(){var e=new r.BinaryWriter;return proto.pushwoosh.rpc_v2.accounts.GetSubscribersCountResponse.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.pushwoosh.rpc_v2.accounts.GetSubscribersCountResponse.serializeBinaryToWriter=function(e,t){var o=void 0;0!==(o=e.getPushEnabled())&&t.writeUint64(1,o),0!==(o=e.getPushDisabled())&&t.writeUint64(2,o)},proto.pushwoosh.rpc_v2.accounts.GetSubscribersCountResponse.prototype.getPushEnabled=function(){return r.Message.getFieldWithDefault(this,1,0)},proto.pushwoosh.rpc_v2.accounts.GetSubscribersCountResponse.prototype.setPushEnabled=function(e){return r.Message.setProto3IntField(this,1,e)},proto.pushwoosh.rpc_v2.accounts.GetSubscribersCountResponse.prototype.getPushDisabled=function(){return r.Message.getFieldWithDefault(this,2,0)},proto.pushwoosh.rpc_v2.accounts.GetSubscribersCountResponse.prototype.setPushDisabled=function(e){return r.Message.setProto3IntField(this,2,e)},r.Message.GENERATE_TO_OBJECT&&(proto.pushwoosh.rpc_v2.accounts.GetActiveUsersCountRequest.prototype.toObject=function(e){return proto.pushwoosh.rpc_v2.accounts.GetActiveUsersCountRequest.toObject(e,this)},proto.pushwoosh.rpc_v2.accounts.GetActiveUsersCountRequest.toObject=function(e,t){var o,r={dateFrom:(o=t.getDateFrom())&&a.Timestamp.toObject(e,o),dateTo:(o=t.getDateTo())&&a.Timestamp.toObject(e,o)};return e&&(r.$jspbMessageInstance=t),r}),proto.pushwoosh.rpc_v2.accounts.GetActiveUsersCountRequest.deserializeBinary=function(e){var t=new r.BinaryReader(e),o=new proto.pushwoosh.rpc_v2.accounts.GetActiveUsersCountRequest;return proto.pushwoosh.rpc_v2.accounts.GetActiveUsersCountRequest.deserializeBinaryFromReader(o,t)},proto.pushwoosh.rpc_v2.accounts.GetActiveUsersCountRequest.deserializeBinaryFromReader=function(e,t){for(;t.nextField()&&!t.isEndGroup();){switch(t.getFieldNumber()){case 1:var o=new a.Timestamp;t.readMessage(o,a.Timestamp.deserializeBinaryFromReader),e.setDateFrom(o);break;case 2:o=new a.Timestamp;t.readMessage(o,a.Timestamp.deserializeBinaryFromReader),e.setDateTo(o);break;default:t.skipField()}}return e},proto.pushwoosh.rpc_v2.accounts.GetActiveUsersCountRequest.prototype.serializeBinary=function(){var e=new r.BinaryWriter;return proto.pushwoosh.rpc_v2.accounts.GetActiveUsersCountRequest.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.pushwoosh.rpc_v2.accounts.GetActiveUsersCountRequest.serializeBinaryToWriter=function(e,t){var o=void 0;null!=(o=e.getDateFrom())&&t.writeMessage(1,o,a.Timestamp.serializeBinaryToWriter),null!=(o=e.getDateTo())&&t.writeMessage(2,o,a.Timestamp.serializeBinaryToWriter)},proto.pushwoosh.rpc_v2.accounts.GetActiveUsersCountRequest.prototype.getDateFrom=function(){return r.Message.getWrapperField(this,a.Timestamp,1)},proto.pushwoosh.rpc_v2.accounts.GetActiveUsersCountRequest.prototype.setDateFrom=function(e){return r.Message.setWrapperField(this,1,e)},proto.pushwoosh.rpc_v2.accounts.GetActiveUsersCountRequest.prototype.clearDateFrom=function(){return this.setDateFrom(void 0)},proto.pushwoosh.rpc_v2.accounts.GetActiveUsersCountRequest.prototype.hasDateFrom=function(){return null!=r.Message.getField(this,1)},proto.pushwoosh.rpc_v2.accounts.GetActiveUsersCountRequest.prototype.getDateTo=function(){return r.Message.getWrapperField(this,a.Timestamp,2)},proto.pushwoosh.rpc_v2.accounts.GetActiveUsersCountRequest.prototype.setDateTo=function(e){return r.Message.setWrapperField(this,2,e)},proto.pushwoosh.rpc_v2.accounts.GetActiveUsersCountRequest.prototype.clearDateTo=function(){return this.setDateTo(void 0)},proto.pushwoosh.rpc_v2.accounts.GetActiveUsersCountRequest.prototype.hasDateTo=function(){return null!=r.Message.getField(this,2)},r.Message.GENERATE_TO_OBJECT&&(proto.pushwoosh.rpc_v2.accounts.GetActiveUsersCountResponse.prototype.toObject=function(e){return proto.pushwoosh.rpc_v2.accounts.GetActiveUsersCountResponse.toObject(e,this)},proto.pushwoosh.rpc_v2.accounts.GetActiveUsersCountResponse.toObject=function(e,t){var o={monthlyActiveUsers:r.Message.getFieldWithDefault(t,1,0),calendarMonthlyActiveUsers:r.Message.getFieldWithDefault(t,2,0),previousMonthActiveUsers:r.Message.getFieldWithDefault(t,3,0),requestDateActiveUsers:r.Message.getFieldWithDefault(t,4,0)};return e&&(o.$jspbMessageInstance=t),o}),proto.pushwoosh.rpc_v2.accounts.GetActiveUsersCountResponse.deserializeBinary=function(e){var t=new r.BinaryReader(e),o=new proto.pushwoosh.rpc_v2.accounts.GetActiveUsersCountResponse;return proto.pushwoosh.rpc_v2.accounts.GetActiveUsersCountResponse.deserializeBinaryFromReader(o,t)},proto.pushwoosh.rpc_v2.accounts.GetActiveUsersCountResponse.deserializeBinaryFromReader=function(e,t){for(;t.nextField()&&!t.isEndGroup();){switch(t.getFieldNumber()){case 1:var o=t.readUint64();e.setMonthlyActiveUsers(o);break;case 2:o=t.readUint64();e.setCalendarMonthlyActiveUsers(o);break;case 3:o=t.readUint64();e.setPreviousMonthActiveUsers(o);break;case 4:o=t.readUint64();e.setRequestDateActiveUsers(o);break;default:t.skipField()}}return e},proto.pushwoosh.rpc_v2.accounts.GetActiveUsersCountResponse.prototype.serializeBinary=function(){var e=new r.BinaryWriter;return proto.pushwoosh.rpc_v2.accounts.GetActiveUsersCountResponse.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.pushwoosh.rpc_v2.accounts.GetActiveUsersCountResponse.serializeBinaryToWriter=function(e,t){var o=void 0;0!==(o=e.getMonthlyActiveUsers())&&t.writeUint64(1,o),0!==(o=e.getCalendarMonthlyActiveUsers())&&t.writeUint64(2,o),0!==(o=e.getPreviousMonthActiveUsers())&&t.writeUint64(3,o),0!==(o=e.getRequestDateActiveUsers())&&t.writeUint64(4,o)},proto.pushwoosh.rpc_v2.accounts.GetActiveUsersCountResponse.prototype.getMonthlyActiveUsers=function(){return r.Message.getFieldWithDefault(this,1,0)},proto.pushwoosh.rpc_v2.accounts.GetActiveUsersCountResponse.prototype.setMonthlyActiveUsers=function(e){return r.Message.setProto3IntField(this,1,e)},proto.pushwoosh.rpc_v2.accounts.GetActiveUsersCountResponse.prototype.getCalendarMonthlyActiveUsers=function(){return r.Message.getFieldWithDefault(this,2,0)},proto.pushwoosh.rpc_v2.accounts.GetActiveUsersCountResponse.prototype.setCalendarMonthlyActiveUsers=function(e){return r.Message.setProto3IntField(this,2,e)},proto.pushwoosh.rpc_v2.accounts.GetActiveUsersCountResponse.prototype.getPreviousMonthActiveUsers=function(){return r.Message.getFieldWithDefault(this,3,0)},proto.pushwoosh.rpc_v2.accounts.GetActiveUsersCountResponse.prototype.setPreviousMonthActiveUsers=function(e){return r.Message.setProto3IntField(this,3,e)},proto.pushwoosh.rpc_v2.accounts.GetActiveUsersCountResponse.prototype.getRequestDateActiveUsers=function(){return r.Message.getFieldWithDefault(this,4,0)},proto.pushwoosh.rpc_v2.accounts.GetActiveUsersCountResponse.prototype.setRequestDateActiveUsers=function(e){return r.Message.setProto3IntField(this,4,e)},r.Message.GENERATE_TO_OBJECT&&(proto.pushwoosh.rpc_v2.accounts.SetDebugModeRequest.prototype.toObject=function(e){return proto.pushwoosh.rpc_v2.accounts.SetDebugModeRequest.toObject(e,this)},proto.pushwoosh.rpc_v2.accounts.SetDebugModeRequest.toObject=function(e,t){var o={enabled:r.Message.getBooleanFieldWithDefault(t,1,!1)};return e&&(o.$jspbMessageInstance=t),o}),proto.pushwoosh.rpc_v2.accounts.SetDebugModeRequest.deserializeBinary=function(e){var t=new r.BinaryReader(e),o=new proto.pushwoosh.rpc_v2.accounts.SetDebugModeRequest;return proto.pushwoosh.rpc_v2.accounts.SetDebugModeRequest.deserializeBinaryFromReader(o,t)},proto.pushwoosh.rpc_v2.accounts.SetDebugModeRequest.deserializeBinaryFromReader=function(e,t){for(;t.nextField()&&!t.isEndGroup();){if(1===t.getFieldNumber()){var o=t.readBool();e.setEnabled(o)}else t.skipField()}return e},proto.pushwoosh.rpc_v2.accounts.SetDebugModeRequest.prototype.serializeBinary=function(){var e=new r.BinaryWriter;return proto.pushwoosh.rpc_v2.accounts.SetDebugModeRequest.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.pushwoosh.rpc_v2.accounts.SetDebugModeRequest.serializeBinaryToWriter=function(e,t){var o;(o=e.getEnabled())&&t.writeBool(1,o)},proto.pushwoosh.rpc_v2.accounts.SetDebugModeRequest.prototype.getEnabled=function(){return r.Message.getBooleanFieldWithDefault(this,1,!1)},proto.pushwoosh.rpc_v2.accounts.SetDebugModeRequest.prototype.setEnabled=function(e){return r.Message.setProto3BooleanField(this,1,e)},r.Message.GENERATE_TO_OBJECT&&(proto.pushwoosh.rpc_v2.accounts.SetDebugModeResponse.prototype.toObject=function(e){return proto.pushwoosh.rpc_v2.accounts.SetDebugModeResponse.toObject(e,this)},proto.pushwoosh.rpc_v2.accounts.SetDebugModeResponse.toObject=function(e,t){var o,s={enabled:r.Message.getBooleanFieldWithDefault(t,1,!1),expireAt:(o=t.getExpireAt())&&a.Timestamp.toObject(e,o)};return e&&(s.$jspbMessageInstance=t),s}),proto.pushwoosh.rpc_v2.accounts.SetDebugModeResponse.deserializeBinary=function(e){var t=new r.BinaryReader(e),o=new proto.pushwoosh.rpc_v2.accounts.SetDebugModeResponse;return proto.pushwoosh.rpc_v2.accounts.SetDebugModeResponse.deserializeBinaryFromReader(o,t)},proto.pushwoosh.rpc_v2.accounts.SetDebugModeResponse.deserializeBinaryFromReader=function(e,t){for(;t.nextField()&&!t.isEndGroup();){switch(t.getFieldNumber()){case 1:var o=t.readBool();e.setEnabled(o);break;case 2:o=new a.Timestamp;t.readMessage(o,a.Timestamp.deserializeBinaryFromReader),e.setExpireAt(o);break;default:t.skipField()}}return e},proto.pushwoosh.rpc_v2.accounts.SetDebugModeResponse.prototype.serializeBinary=function(){var e=new r.BinaryWriter;return proto.pushwoosh.rpc_v2.accounts.SetDebugModeResponse.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.pushwoosh.rpc_v2.accounts.SetDebugModeResponse.serializeBinaryToWriter=function(e,t){var o=void 0;(o=e.getEnabled())&&t.writeBool(1,o),null!=(o=e.getExpireAt())&&t.writeMessage(2,o,a.Timestamp.serializeBinaryToWriter)},proto.pushwoosh.rpc_v2.accounts.SetDebugModeResponse.prototype.getEnabled=function(){return r.Message.getBooleanFieldWithDefault(this,1,!1)},proto.pushwoosh.rpc_v2.accounts.SetDebugModeResponse.prototype.setEnabled=function(e){return r.Message.setProto3BooleanField(this,1,e)},proto.pushwoosh.rpc_v2.accounts.SetDebugModeResponse.prototype.getExpireAt=function(){return r.Message.getWrapperField(this,a.Timestamp,2)},proto.pushwoosh.rpc_v2.accounts.SetDebugModeResponse.prototype.setExpireAt=function(e){return r.Message.setWrapperField(this,2,e)},proto.pushwoosh.rpc_v2.accounts.SetDebugModeResponse.prototype.clearExpireAt=function(){return this.setExpireAt(void 0)},proto.pushwoosh.rpc_v2.accounts.SetDebugModeResponse.prototype.hasExpireAt=function(){return null!=r.Message.getField(this,2)},r.Message.GENERATE_TO_OBJECT&&(proto.pushwoosh.rpc_v2.accounts.GetOnboardingInfoRequest.prototype.toObject=function(e){return proto.pushwoosh.rpc_v2.accounts.GetOnboardingInfoRequest.toObject(e,this)},proto.pushwoosh.rpc_v2.accounts.GetOnboardingInfoRequest.toObject=function(e,t){var o={};return e&&(o.$jspbMessageInstance=t),o}),proto.pushwoosh.rpc_v2.accounts.GetOnboardingInfoRequest.deserializeBinary=function(e){var t=new r.BinaryReader(e),o=new proto.pushwoosh.rpc_v2.accounts.GetOnboardingInfoRequest;return proto.pushwoosh.rpc_v2.accounts.GetOnboardingInfoRequest.deserializeBinaryFromReader(o,t)},proto.pushwoosh.rpc_v2.accounts.GetOnboardingInfoRequest.deserializeBinaryFromReader=function(e,t){for(;t.nextField()&&!t.isEndGroup();){t.getFieldNumber();t.skipField()}return e},proto.pushwoosh.rpc_v2.accounts.GetOnboardingInfoRequest.prototype.serializeBinary=function(){var e=new r.BinaryWriter;return proto.pushwoosh.rpc_v2.accounts.GetOnboardingInfoRequest.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.pushwoosh.rpc_v2.accounts.GetOnboardingInfoRequest.serializeBinaryToWriter=function(e,t){},r.Message.GENERATE_TO_OBJECT&&(proto.pushwoosh.rpc_v2.accounts.GetOnboardingInfoResponse.prototype.toObject=function(e){return proto.pushwoosh.rpc_v2.accounts.GetOnboardingInfoResponse.toObject(e,this)},proto.pushwoosh.rpc_v2.accounts.GetOnboardingInfoResponse.toObject=function(e,t){var o={isActive:r.Message.getBooleanFieldWithDefault(t,1,!1),paywallPlan:r.Message.getBooleanFieldWithDefault(t,2,!1),welcomeScreen:r.Message.getBooleanFieldWithDefault(t,3,!1),getStarted:r.Message.getBooleanFieldWithDefault(t,4,!1)};return e&&(o.$jspbMessageInstance=t),o}),proto.pushwoosh.rpc_v2.accounts.GetOnboardingInfoResponse.deserializeBinary=function(e){var t=new r.BinaryReader(e),o=new proto.pushwoosh.rpc_v2.accounts.GetOnboardingInfoResponse;return proto.pushwoosh.rpc_v2.accounts.GetOnboardingInfoResponse.deserializeBinaryFromReader(o,t)},proto.pushwoosh.rpc_v2.accounts.GetOnboardingInfoResponse.deserializeBinaryFromReader=function(e,t){for(;t.nextField()&&!t.isEndGroup();){switch(t.getFieldNumber()){case 1:var o=t.readBool();e.setIsActive(o);break;case 2:o=t.readBool();e.setPaywallPlan(o);break;case 3:o=t.readBool();e.setWelcomeScreen(o);break;case 4:o=t.readBool();e.setGetStarted(o);break;default:t.skipField()}}return e},proto.pushwoosh.rpc_v2.accounts.GetOnboardingInfoResponse.prototype.serializeBinary=function(){var e=new r.BinaryWriter;return proto.pushwoosh.rpc_v2.accounts.GetOnboardingInfoResponse.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.pushwoosh.rpc_v2.accounts.GetOnboardingInfoResponse.serializeBinaryToWriter=function(e,t){var o=void 0;(o=e.getIsActive())&&t.writeBool(1,o),(o=e.getPaywallPlan())&&t.writeBool(2,o),(o=e.getWelcomeScreen())&&t.writeBool(3,o),(o=e.getGetStarted())&&t.writeBool(4,o)},proto.pushwoosh.rpc_v2.accounts.GetOnboardingInfoResponse.prototype.getIsActive=function(){return r.Message.getBooleanFieldWithDefault(this,1,!1)},proto.pushwoosh.rpc_v2.accounts.GetOnboardingInfoResponse.prototype.setIsActive=function(e){return r.Message.setProto3BooleanField(this,1,e)},proto.pushwoosh.rpc_v2.accounts.GetOnboardingInfoResponse.prototype.getPaywallPlan=function(){return r.Message.getBooleanFieldWithDefault(this,2,!1)},proto.pushwoosh.rpc_v2.accounts.GetOnboardingInfoResponse.prototype.setPaywallPlan=function(e){return r.Message.setProto3BooleanField(this,2,e)},proto.pushwoosh.rpc_v2.accounts.GetOnboardingInfoResponse.prototype.getWelcomeScreen=function(){return r.Message.getBooleanFieldWithDefault(this,3,!1)},proto.pushwoosh.rpc_v2.accounts.GetOnboardingInfoResponse.prototype.setWelcomeScreen=function(e){return r.Message.setProto3BooleanField(this,3,e)},proto.pushwoosh.rpc_v2.accounts.GetOnboardingInfoResponse.prototype.getGetStarted=function(){return r.Message.getBooleanFieldWithDefault(this,4,!1)},proto.pushwoosh.rpc_v2.accounts.GetOnboardingInfoResponse.prototype.setGetStarted=function(e){return r.Message.setProto3BooleanField(this,4,e)},r.Message.GENERATE_TO_OBJECT&&(proto.pushwoosh.rpc_v2.accounts.UpdateOnboardingInfoRequest.prototype.toObject=function(e){return proto.pushwoosh.rpc_v2.accounts.UpdateOnboardingInfoRequest.toObject(e,this)},proto.pushwoosh.rpc_v2.accounts.UpdateOnboardingInfoRequest.toObject=function(e,t){var o={plan:r.Message.getFieldWithDefault(t,1,""),step:r.Message.getFieldWithDefault(t,2,"")};return e&&(o.$jspbMessageInstance=t),o}),proto.pushwoosh.rpc_v2.accounts.UpdateOnboardingInfoRequest.deserializeBinary=function(e){var t=new r.BinaryReader(e),o=new proto.pushwoosh.rpc_v2.accounts.UpdateOnboardingInfoRequest;return proto.pushwoosh.rpc_v2.accounts.UpdateOnboardingInfoRequest.deserializeBinaryFromReader(o,t)},proto.pushwoosh.rpc_v2.accounts.UpdateOnboardingInfoRequest.deserializeBinaryFromReader=function(e,t){for(;t.nextField()&&!t.isEndGroup();){switch(t.getFieldNumber()){case 1:var o=t.readString();e.setPlan(o);break;case 2:o=t.readString();e.setStep(o);break;default:t.skipField()}}return e},proto.pushwoosh.rpc_v2.accounts.UpdateOnboardingInfoRequest.prototype.serializeBinary=function(){var e=new r.BinaryWriter;return proto.pushwoosh.rpc_v2.accounts.UpdateOnboardingInfoRequest.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.pushwoosh.rpc_v2.accounts.UpdateOnboardingInfoRequest.serializeBinaryToWriter=function(e,t){var o=void 0;(o=e.getPlan()).length>0&&t.writeString(1,o),(o=e.getStep()).length>0&&t.writeString(2,o)},proto.pushwoosh.rpc_v2.accounts.UpdateOnboardingInfoRequest.prototype.getPlan=function(){return r.Message.getFieldWithDefault(this,1,"")},proto.pushwoosh.rpc_v2.accounts.UpdateOnboardingInfoRequest.prototype.setPlan=function(e){return r.Message.setProto3StringField(this,1,e)},proto.pushwoosh.rpc_v2.accounts.UpdateOnboardingInfoRequest.prototype.getStep=function(){return r.Message.getFieldWithDefault(this,2,"")},proto.pushwoosh.rpc_v2.accounts.UpdateOnboardingInfoRequest.prototype.setStep=function(e){return r.Message.setProto3StringField(this,2,e)},r.Message.GENERATE_TO_OBJECT&&(proto.pushwoosh.rpc_v2.accounts.UpdateOnboardingInfoResponse.prototype.toObject=function(e){return proto.pushwoosh.rpc_v2.accounts.UpdateOnboardingInfoResponse.toObject(e,this)},proto.pushwoosh.rpc_v2.accounts.UpdateOnboardingInfoResponse.toObject=function(e,t){var o={};return e&&(o.$jspbMessageInstance=t),o}),proto.pushwoosh.rpc_v2.accounts.UpdateOnboardingInfoResponse.deserializeBinary=function(e){var t=new r.BinaryReader(e),o=new proto.pushwoosh.rpc_v2.accounts.UpdateOnboardingInfoResponse;return proto.pushwoosh.rpc_v2.accounts.UpdateOnboardingInfoResponse.deserializeBinaryFromReader(o,t)},proto.pushwoosh.rpc_v2.accounts.UpdateOnboardingInfoResponse.deserializeBinaryFromReader=function(e,t){for(;t.nextField()&&!t.isEndGroup();){t.getFieldNumber();t.skipField()}return e},proto.pushwoosh.rpc_v2.accounts.UpdateOnboardingInfoResponse.prototype.serializeBinary=function(){var e=new r.BinaryWriter;return proto.pushwoosh.rpc_v2.accounts.UpdateOnboardingInfoResponse.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.pushwoosh.rpc_v2.accounts.UpdateOnboardingInfoResponse.serializeBinaryToWriter=function(e,t){},r.Message.GENERATE_TO_OBJECT&&(proto.pushwoosh.rpc_v2.accounts.GetTotalEmailSubscribersCountRequest.prototype.toObject=function(e){return proto.pushwoosh.rpc_v2.accounts.GetTotalEmailSubscribersCountRequest.toObject(e,this)},proto.pushwoosh.rpc_v2.accounts.GetTotalEmailSubscribersCountRequest.toObject=function(e,t){var o={};return e&&(o.$jspbMessageInstance=t),o}),proto.pushwoosh.rpc_v2.accounts.GetTotalEmailSubscribersCountRequest.deserializeBinary=function(e){var t=new r.BinaryReader(e),o=new proto.pushwoosh.rpc_v2.accounts.GetTotalEmailSubscribersCountRequest;return proto.pushwoosh.rpc_v2.accounts.GetTotalEmailSubscribersCountRequest.deserializeBinaryFromReader(o,t)},proto.pushwoosh.rpc_v2.accounts.GetTotalEmailSubscribersCountRequest.deserializeBinaryFromReader=function(e,t){for(;t.nextField()&&!t.isEndGroup();){t.getFieldNumber();t.skipField()}return e},proto.pushwoosh.rpc_v2.accounts.GetTotalEmailSubscribersCountRequest.prototype.serializeBinary=function(){var e=new r.BinaryWriter;return proto.pushwoosh.rpc_v2.accounts.GetTotalEmailSubscribersCountRequest.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.pushwoosh.rpc_v2.accounts.GetTotalEmailSubscribersCountRequest.serializeBinaryToWriter=function(e,t){},r.Message.GENERATE_TO_OBJECT&&(proto.pushwoosh.rpc_v2.accounts.GetTotalEmailSubscribersCountResponse.prototype.toObject=function(e){return proto.pushwoosh.rpc_v2.accounts.GetTotalEmailSubscribersCountResponse.toObject(e,this)},proto.pushwoosh.rpc_v2.accounts.GetTotalEmailSubscribersCountResponse.toObject=function(e,t){var o={totalEmailSubscribers:r.Message.getFieldWithDefault(t,1,0)};return e&&(o.$jspbMessageInstance=t),o}),proto.pushwoosh.rpc_v2.accounts.GetTotalEmailSubscribersCountResponse.deserializeBinary=function(e){var t=new r.BinaryReader(e),o=new proto.pushwoosh.rpc_v2.accounts.GetTotalEmailSubscribersCountResponse;return proto.pushwoosh.rpc_v2.accounts.GetTotalEmailSubscribersCountResponse.deserializeBinaryFromReader(o,t)},proto.pushwoosh.rpc_v2.accounts.GetTotalEmailSubscribersCountResponse.deserializeBinaryFromReader=function(e,t){for(;t.nextField()&&!t.isEndGroup();){if(1===t.getFieldNumber()){var o=t.readUint64();e.setTotalEmailSubscribers(o)}else t.skipField()}return e},proto.pushwoosh.rpc_v2.accounts.GetTotalEmailSubscribersCountResponse.prototype.serializeBinary=function(){var e=new r.BinaryWriter;return proto.pushwoosh.rpc_v2.accounts.GetTotalEmailSubscribersCountResponse.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.pushwoosh.rpc_v2.accounts.GetTotalEmailSubscribersCountResponse.serializeBinaryToWriter=function(e,t){var o;0!==(o=e.getTotalEmailSubscribers())&&t.writeUint64(1,o)},proto.pushwoosh.rpc_v2.accounts.GetTotalEmailSubscribersCountResponse.prototype.getTotalEmailSubscribers=function(){return r.Message.getFieldWithDefault(this,1,0)},proto.pushwoosh.rpc_v2.accounts.GetTotalEmailSubscribersCountResponse.prototype.setTotalEmailSubscribers=function(e){return r.Message.setProto3IntField(this,1,e)},r.Message.GENERATE_TO_OBJECT&&(proto.pushwoosh.rpc_v2.accounts.GetBillingAddressRequest.prototype.toObject=function(e){return proto.pushwoosh.rpc_v2.accounts.GetBillingAddressRequest.toObject(e,this)},proto.pushwoosh.rpc_v2.accounts.GetBillingAddressRequest.toObject=function(e,t){var o={};return e&&(o.$jspbMessageInstance=t),o}),proto.pushwoosh.rpc_v2.accounts.GetBillingAddressRequest.deserializeBinary=function(e){var t=new r.BinaryReader(e),o=new proto.pushwoosh.rpc_v2.accounts.GetBillingAddressRequest;return proto.pushwoosh.rpc_v2.accounts.GetBillingAddressRequest.deserializeBinaryFromReader(o,t)},proto.pushwoosh.rpc_v2.accounts.GetBillingAddressRequest.deserializeBinaryFromReader=function(e,t){for(;t.nextField()&&!t.isEndGroup();){t.getFieldNumber();t.skipField()}return e},proto.pushwoosh.rpc_v2.accounts.GetBillingAddressRequest.prototype.serializeBinary=function(){var e=new r.BinaryWriter;return proto.pushwoosh.rpc_v2.accounts.GetBillingAddressRequest.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.pushwoosh.rpc_v2.accounts.GetBillingAddressRequest.serializeBinaryToWriter=function(e,t){},proto.pushwoosh.rpc_v2.accounts.BillingAddress.repeatedFields_=[19],r.Message.GENERATE_TO_OBJECT&&(proto.pushwoosh.rpc_v2.accounts.BillingAddress.prototype.toObject=function(e){return proto.pushwoosh.rpc_v2.accounts.BillingAddress.toObject(e,this)},proto.pushwoosh.rpc_v2.accounts.BillingAddress.toObject=function(e,t){var o,s={firstName:r.Message.getFieldWithDefault(t,1,""),lastName:r.Message.getFieldWithDefault(t,2,""),phone:r.Message.getFieldWithDefault(t,3,""),companyName:r.Message.getFieldWithDefault(t,4,""),companyNumber:r.Message.getFieldWithDefault(t,5,""),industry:r.Message.getFieldWithDefault(t,6,""),department:r.Message.getFieldWithDefault(t,7,""),country:r.Message.getFieldWithDefault(t,8,""),street:r.Message.getFieldWithDefault(t,9,""),zipCode:r.Message.getFieldWithDefault(t,10,""),paymentEmail:r.Message.getFieldWithDefault(t,11,""),vatNumber:r.Message.getFieldWithDefault(t,12,""),countryCode:r.Message.getFieldWithDefault(t,13,""),state:r.Message.getFieldWithDefault(t,14,""),stateCode:r.Message.getFieldWithDefault(t,15,""),secondaryPersonFirstName:r.Message.getFieldWithDefault(t,16,""),secondaryPersonLastName:r.Message.getFieldWithDefault(t,17,""),secondaryPersonEmail:r.Message.getFieldWithDefault(t,18,""),additionalEmailsList:null==(o=r.Message.getRepeatedField(t,19))?void 0:o,city:r.Message.getFieldWithDefault(t,20,""),accountCompanyName:r.Message.getFieldWithDefault(t,21,"")};return e&&(s.$jspbMessageInstance=t),s}),proto.pushwoosh.rpc_v2.accounts.BillingAddress.deserializeBinary=function(e){var t=new r.BinaryReader(e),o=new proto.pushwoosh.rpc_v2.accounts.BillingAddress;return proto.pushwoosh.rpc_v2.accounts.BillingAddress.deserializeBinaryFromReader(o,t)},proto.pushwoosh.rpc_v2.accounts.BillingAddress.deserializeBinaryFromReader=function(e,t){for(;t.nextField()&&!t.isEndGroup();){switch(t.getFieldNumber()){case 1:var o=t.readString();e.setFirstName(o);break;case 2:o=t.readString();e.setLastName(o);break;case 3:o=t.readString();e.setPhone(o);break;case 4:o=t.readString();e.setCompanyName(o);break;case 5:o=t.readString();e.setCompanyNumber(o);break;case 6:o=t.readString();e.setIndustry(o);break;case 7:o=t.readString();e.setDepartment(o);break;case 8:o=t.readString();e.setCountry(o);break;case 9:o=t.readString();e.setStreet(o);break;case 10:o=t.readString();e.setZipCode(o);break;case 11:o=t.readString();e.setPaymentEmail(o);break;case 12:o=t.readString();e.setVatNumber(o);break;case 13:o=t.readString();e.setCountryCode(o);break;case 14:o=t.readString();e.setState(o);break;case 15:o=t.readString();e.setStateCode(o);break;case 16:o=t.readString();e.setSecondaryPersonFirstName(o);break;case 17:o=t.readString();e.setSecondaryPersonLastName(o);break;case 18:o=t.readString();e.setSecondaryPersonEmail(o);break;case 19:o=t.readString();e.addAdditionalEmails(o);break;case 20:o=t.readString();e.setCity(o);break;case 21:o=t.readString();e.setAccountCompanyName(o);break;default:t.skipField()}}return e},proto.pushwoosh.rpc_v2.accounts.BillingAddress.prototype.serializeBinary=function(){var e=new r.BinaryWriter;return proto.pushwoosh.rpc_v2.accounts.BillingAddress.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.pushwoosh.rpc_v2.accounts.BillingAddress.serializeBinaryToWriter=function(e,t){var o=void 0;(o=e.getFirstName()).length>0&&t.writeString(1,o),(o=e.getLastName()).length>0&&t.writeString(2,o),(o=e.getPhone()).length>0&&t.writeString(3,o),(o=e.getCompanyName()).length>0&&t.writeString(4,o),(o=e.getCompanyNumber()).length>0&&t.writeString(5,o),(o=e.getIndustry()).length>0&&t.writeString(6,o),(o=e.getDepartment()).length>0&&t.writeString(7,o),(o=e.getCountry()).length>0&&t.writeString(8,o),(o=e.getStreet()).length>0&&t.writeString(9,o),(o=e.getZipCode()).length>0&&t.writeString(10,o),(o=e.getPaymentEmail()).length>0&&t.writeString(11,o),(o=e.getVatNumber()).length>0&&t.writeString(12,o),(o=e.getCountryCode()).length>0&&t.writeString(13,o),(o=e.getState()).length>0&&t.writeString(14,o),(o=e.getStateCode()).length>0&&t.writeString(15,o),(o=e.getSecondaryPersonFirstName()).length>0&&t.writeString(16,o),(o=e.getSecondaryPersonLastName()).length>0&&t.writeString(17,o),(o=e.getSecondaryPersonEmail()).length>0&&t.writeString(18,o),(o=e.getAdditionalEmailsList()).length>0&&t.writeRepeatedString(19,o),(o=e.getCity()).length>0&&t.writeString(20,o),(o=e.getAccountCompanyName()).length>0&&t.writeString(21,o)},proto.pushwoosh.rpc_v2.accounts.BillingAddress.prototype.getFirstName=function(){return r.Message.getFieldWithDefault(this,1,"")},proto.pushwoosh.rpc_v2.accounts.BillingAddress.prototype.setFirstName=function(e){return r.Message.setProto3StringField(this,1,e)},proto.pushwoosh.rpc_v2.accounts.BillingAddress.prototype.getLastName=function(){return r.Message.getFieldWithDefault(this,2,"")},proto.pushwoosh.rpc_v2.accounts.BillingAddress.prototype.setLastName=function(e){return r.Message.setProto3StringField(this,2,e)},proto.pushwoosh.rpc_v2.accounts.BillingAddress.prototype.getPhone=function(){return r.Message.getFieldWithDefault(this,3,"")},proto.pushwoosh.rpc_v2.accounts.BillingAddress.prototype.setPhone=function(e){return r.Message.setProto3StringField(this,3,e)},proto.pushwoosh.rpc_v2.accounts.BillingAddress.prototype.getCompanyName=function(){return r.Message.getFieldWithDefault(this,4,"")},proto.pushwoosh.rpc_v2.accounts.BillingAddress.prototype.setCompanyName=function(e){return r.Message.setProto3StringField(this,4,e)},proto.pushwoosh.rpc_v2.accounts.BillingAddress.prototype.getCompanyNumber=function(){return r.Message.getFieldWithDefault(this,5,"")},proto.pushwoosh.rpc_v2.accounts.BillingAddress.prototype.setCompanyNumber=function(e){return r.Message.setProto3StringField(this,5,e)},proto.pushwoosh.rpc_v2.accounts.BillingAddress.prototype.getIndustry=function(){return r.Message.getFieldWithDefault(this,6,"")},proto.pushwoosh.rpc_v2.accounts.BillingAddress.prototype.setIndustry=function(e){return r.Message.setProto3StringField(this,6,e)},proto.pushwoosh.rpc_v2.accounts.BillingAddress.prototype.getDepartment=function(){return r.Message.getFieldWithDefault(this,7,"")},proto.pushwoosh.rpc_v2.accounts.BillingAddress.prototype.setDepartment=function(e){return r.Message.setProto3StringField(this,7,e)},proto.pushwoosh.rpc_v2.accounts.BillingAddress.prototype.getCountry=function(){return r.Message.getFieldWithDefault(this,8,"")},proto.pushwoosh.rpc_v2.accounts.BillingAddress.prototype.setCountry=function(e){return r.Message.setProto3StringField(this,8,e)},proto.pushwoosh.rpc_v2.accounts.BillingAddress.prototype.getStreet=function(){return r.Message.getFieldWithDefault(this,9,"")},proto.pushwoosh.rpc_v2.accounts.BillingAddress.prototype.setStreet=function(e){return r.Message.setProto3StringField(this,9,e)},proto.pushwoosh.rpc_v2.accounts.BillingAddress.prototype.getZipCode=function(){return r.Message.getFieldWithDefault(this,10,"")},proto.pushwoosh.rpc_v2.accounts.BillingAddress.prototype.setZipCode=function(e){return r.Message.setProto3StringField(this,10,e)},proto.pushwoosh.rpc_v2.accounts.BillingAddress.prototype.getPaymentEmail=function(){return r.Message.getFieldWithDefault(this,11,"")},proto.pushwoosh.rpc_v2.accounts.BillingAddress.prototype.setPaymentEmail=function(e){return r.Message.setProto3StringField(this,11,e)},proto.pushwoosh.rpc_v2.accounts.BillingAddress.prototype.getVatNumber=function(){return r.Message.getFieldWithDefault(this,12,"")},proto.pushwoosh.rpc_v2.accounts.BillingAddress.prototype.setVatNumber=function(e){return r.Message.setProto3StringField(this,12,e)},proto.pushwoosh.rpc_v2.accounts.BillingAddress.prototype.getCountryCode=function(){return r.Message.getFieldWithDefault(this,13,"")},proto.pushwoosh.rpc_v2.accounts.BillingAddress.prototype.setCountryCode=function(e){return r.Message.setProto3StringField(this,13,e)},proto.pushwoosh.rpc_v2.accounts.BillingAddress.prototype.getState=function(){return r.Message.getFieldWithDefault(this,14,"")},proto.pushwoosh.rpc_v2.accounts.BillingAddress.prototype.setState=function(e){return r.Message.setProto3StringField(this,14,e)},proto.pushwoosh.rpc_v2.accounts.BillingAddress.prototype.getStateCode=function(){return r.Message.getFieldWithDefault(this,15,"")},proto.pushwoosh.rpc_v2.accounts.BillingAddress.prototype.setStateCode=function(e){return r.Message.setProto3StringField(this,15,e)},proto.pushwoosh.rpc_v2.accounts.BillingAddress.prototype.getSecondaryPersonFirstName=function(){return r.Message.getFieldWithDefault(this,16,"")},proto.pushwoosh.rpc_v2.accounts.BillingAddress.prototype.setSecondaryPersonFirstName=function(e){return r.Message.setProto3StringField(this,16,e)},proto.pushwoosh.rpc_v2.accounts.BillingAddress.prototype.getSecondaryPersonLastName=function(){return r.Message.getFieldWithDefault(this,17,"")},proto.pushwoosh.rpc_v2.accounts.BillingAddress.prototype.setSecondaryPersonLastName=function(e){return r.Message.setProto3StringField(this,17,e)},proto.pushwoosh.rpc_v2.accounts.BillingAddress.prototype.getSecondaryPersonEmail=function(){return r.Message.getFieldWithDefault(this,18,"")},proto.pushwoosh.rpc_v2.accounts.BillingAddress.prototype.setSecondaryPersonEmail=function(e){return r.Message.setProto3StringField(this,18,e)},proto.pushwoosh.rpc_v2.accounts.BillingAddress.prototype.getAdditionalEmailsList=function(){return r.Message.getRepeatedField(this,19)},proto.pushwoosh.rpc_v2.accounts.BillingAddress.prototype.setAdditionalEmailsList=function(e){return r.Message.setField(this,19,e||[])},proto.pushwoosh.rpc_v2.accounts.BillingAddress.prototype.addAdditionalEmails=function(e,t){return r.Message.addToRepeatedField(this,19,e,t)},proto.pushwoosh.rpc_v2.accounts.BillingAddress.prototype.clearAdditionalEmailsList=function(){return this.setAdditionalEmailsList([])},proto.pushwoosh.rpc_v2.accounts.BillingAddress.prototype.getCity=function(){return r.Message.getFieldWithDefault(this,20,"")},proto.pushwoosh.rpc_v2.accounts.BillingAddress.prototype.setCity=function(e){return r.Message.setProto3StringField(this,20,e)},proto.pushwoosh.rpc_v2.accounts.BillingAddress.prototype.getAccountCompanyName=function(){return r.Message.getFieldWithDefault(this,21,"")},proto.pushwoosh.rpc_v2.accounts.BillingAddress.prototype.setAccountCompanyName=function(e){return r.Message.setProto3StringField(this,21,e)},r.Message.GENERATE_TO_OBJECT&&(proto.pushwoosh.rpc_v2.accounts.GetBillingAddressResponse.prototype.toObject=function(e){return proto.pushwoosh.rpc_v2.accounts.GetBillingAddressResponse.toObject(e,this)},proto.pushwoosh.rpc_v2.accounts.GetBillingAddressResponse.toObject=function(e,t){var o,r={accountBillingAddress:(o=t.getAccountBillingAddress())&&proto.pushwoosh.rpc_v2.accounts.BillingAddress.toObject(e,o)};return e&&(r.$jspbMessageInstance=t),r}),proto.pushwoosh.rpc_v2.accounts.GetBillingAddressResponse.deserializeBinary=function(e){var t=new r.BinaryReader(e),o=new proto.pushwoosh.rpc_v2.accounts.GetBillingAddressResponse;return proto.pushwoosh.rpc_v2.accounts.GetBillingAddressResponse.deserializeBinaryFromReader(o,t)},proto.pushwoosh.rpc_v2.accounts.GetBillingAddressResponse.deserializeBinaryFromReader=function(e,t){for(;t.nextField()&&!t.isEndGroup();){if(1===t.getFieldNumber()){var o=new proto.pushwoosh.rpc_v2.accounts.BillingAddress;t.readMessage(o,proto.pushwoosh.rpc_v2.accounts.BillingAddress.deserializeBinaryFromReader),e.setAccountBillingAddress(o)}else t.skipField()}return e},proto.pushwoosh.rpc_v2.accounts.GetBillingAddressResponse.prototype.serializeBinary=function(){var e=new r.BinaryWriter;return proto.pushwoosh.rpc_v2.accounts.GetBillingAddressResponse.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.pushwoosh.rpc_v2.accounts.GetBillingAddressResponse.serializeBinaryToWriter=function(e,t){var o;null!=(o=e.getAccountBillingAddress())&&t.writeMessage(1,o,proto.pushwoosh.rpc_v2.accounts.BillingAddress.serializeBinaryToWriter)},proto.pushwoosh.rpc_v2.accounts.GetBillingAddressResponse.prototype.getAccountBillingAddress=function(){return r.Message.getWrapperField(this,proto.pushwoosh.rpc_v2.accounts.BillingAddress,1)},proto.pushwoosh.rpc_v2.accounts.GetBillingAddressResponse.prototype.setAccountBillingAddress=function(e){return r.Message.setWrapperField(this,1,e)},proto.pushwoosh.rpc_v2.accounts.GetBillingAddressResponse.prototype.clearAccountBillingAddress=function(){return this.setAccountBillingAddress(void 0)},proto.pushwoosh.rpc_v2.accounts.GetBillingAddressResponse.prototype.hasAccountBillingAddress=function(){return null!=r.Message.getField(this,1)},r.Message.GENERATE_TO_OBJECT&&(proto.pushwoosh.rpc_v2.accounts.UpdateBillingAddressRequest.prototype.toObject=function(e){return proto.pushwoosh.rpc_v2.accounts.UpdateBillingAddressRequest.toObject(e,this)},proto.pushwoosh.rpc_v2.accounts.UpdateBillingAddressRequest.toObject=function(e,t){var o,r={accountBillingAddress:(o=t.getAccountBillingAddress())&&proto.pushwoosh.rpc_v2.accounts.BillingAddress.toObject(e,o)};return e&&(r.$jspbMessageInstance=t),r}),proto.pushwoosh.rpc_v2.accounts.UpdateBillingAddressRequest.deserializeBinary=function(e){var t=new r.BinaryReader(e),o=new proto.pushwoosh.rpc_v2.accounts.UpdateBillingAddressRequest;return proto.pushwoosh.rpc_v2.accounts.UpdateBillingAddressRequest.deserializeBinaryFromReader(o,t)},proto.pushwoosh.rpc_v2.accounts.UpdateBillingAddressRequest.deserializeBinaryFromReader=function(e,t){for(;t.nextField()&&!t.isEndGroup();){if(1===t.getFieldNumber()){var o=new proto.pushwoosh.rpc_v2.accounts.BillingAddress;t.readMessage(o,proto.pushwoosh.rpc_v2.accounts.BillingAddress.deserializeBinaryFromReader),e.setAccountBillingAddress(o)}else t.skipField()}return e},proto.pushwoosh.rpc_v2.accounts.UpdateBillingAddressRequest.prototype.serializeBinary=function(){var e=new r.BinaryWriter;return proto.pushwoosh.rpc_v2.accounts.UpdateBillingAddressRequest.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.pushwoosh.rpc_v2.accounts.UpdateBillingAddressRequest.serializeBinaryToWriter=function(e,t){var o;null!=(o=e.getAccountBillingAddress())&&t.writeMessage(1,o,proto.pushwoosh.rpc_v2.accounts.BillingAddress.serializeBinaryToWriter)},proto.pushwoosh.rpc_v2.accounts.UpdateBillingAddressRequest.prototype.getAccountBillingAddress=function(){return r.Message.getWrapperField(this,proto.pushwoosh.rpc_v2.accounts.BillingAddress,1)},proto.pushwoosh.rpc_v2.accounts.UpdateBillingAddressRequest.prototype.setAccountBillingAddress=function(e){return r.Message.setWrapperField(this,1,e)},proto.pushwoosh.rpc_v2.accounts.UpdateBillingAddressRequest.prototype.clearAccountBillingAddress=function(){return this.setAccountBillingAddress(void 0)},proto.pushwoosh.rpc_v2.accounts.UpdateBillingAddressRequest.prototype.hasAccountBillingAddress=function(){return null!=r.Message.getField(this,1)},r.Message.GENERATE_TO_OBJECT&&(proto.pushwoosh.rpc_v2.accounts.UpdateBillingAddressResponse.prototype.toObject=function(e){return proto.pushwoosh.rpc_v2.accounts.UpdateBillingAddressResponse.toObject(e,this)},proto.pushwoosh.rpc_v2.accounts.UpdateBillingAddressResponse.toObject=function(e,t){var o={};return e&&(o.$jspbMessageInstance=t),o}),proto.pushwoosh.rpc_v2.accounts.UpdateBillingAddressResponse.deserializeBinary=function(e){var t=new r.BinaryReader(e),o=new proto.pushwoosh.rpc_v2.accounts.UpdateBillingAddressResponse;return proto.pushwoosh.rpc_v2.accounts.UpdateBillingAddressResponse.deserializeBinaryFromReader(o,t)},proto.pushwoosh.rpc_v2.accounts.UpdateBillingAddressResponse.deserializeBinaryFromReader=function(e,t){for(;t.nextField()&&!t.isEndGroup();){t.getFieldNumber();t.skipField()}return e},proto.pushwoosh.rpc_v2.accounts.UpdateBillingAddressResponse.prototype.serializeBinary=function(){var e=new r.BinaryWriter;return proto.pushwoosh.rpc_v2.accounts.UpdateBillingAddressResponse.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.pushwoosh.rpc_v2.accounts.UpdateBillingAddressResponse.serializeBinaryToWriter=function(e,t){},s.object.extend(t,proto.pushwoosh.rpc_v2.accounts)},1120:(e,t,o)=>{var r=o(3019),s=r,i=function(){return this?this:"undefined"!=typeof window?window:void 0!==i?i:"undefined"!=typeof self?self:Function("return this")()}.call(null),n=o(7850);s.object.extend(proto,n);var a=o(1134);s.object.extend(proto,a);var p=o(3839);s.object.extend(proto,p);var g=o(9623);s.object.extend(proto,g),s.exportSymbol("proto.pushwoosh.rpc_v2.accounts_get_auth_info.Account",null,i),s.exportSymbol("proto.pushwoosh.rpc_v2.accounts_get_auth_info.Account.Order",null,i),s.exportSymbol("proto.pushwoosh.rpc_v2.accounts_get_auth_info.GetAuthInfoRequest",null,i),s.exportSymbol("proto.pushwoosh.rpc_v2.accounts_get_auth_info.GetAuthInfoResponse",null,i),s.exportSymbol("proto.pushwoosh.rpc_v2.accounts_get_auth_info.User",null,i),proto.pushwoosh.rpc_v2.accounts_get_auth_info.GetAuthInfoRequest=function(e){r.Message.initialize(this,e,0,-1,null,null)},s.inherits(proto.pushwoosh.rpc_v2.accounts_get_auth_info.GetAuthInfoRequest,r.Message),s.DEBUG&&!COMPILED&&(proto.pushwoosh.rpc_v2.accounts_get_auth_info.GetAuthInfoRequest.displayName="proto.pushwoosh.rpc_v2.accounts_get_auth_info.GetAuthInfoRequest"),proto.pushwoosh.rpc_v2.accounts_get_auth_info.GetAuthInfoResponse=function(e){r.Message.initialize(this,e,0,-1,null,null)},s.inherits(proto.pushwoosh.rpc_v2.accounts_get_auth_info.GetAuthInfoResponse,r.Message),s.DEBUG&&!COMPILED&&(proto.pushwoosh.rpc_v2.accounts_get_auth_info.GetAuthInfoResponse.displayName="proto.pushwoosh.rpc_v2.accounts_get_auth_info.GetAuthInfoResponse"),proto.pushwoosh.rpc_v2.accounts_get_auth_info.User=function(e){r.Message.initialize(this,e,0,-1,null,null)},s.inherits(proto.pushwoosh.rpc_v2.accounts_get_auth_info.User,r.Message),s.DEBUG&&!COMPILED&&(proto.pushwoosh.rpc_v2.accounts_get_auth_info.User.displayName="proto.pushwoosh.rpc_v2.accounts_get_auth_info.User"),proto.pushwoosh.rpc_v2.accounts_get_auth_info.Account=function(e){r.Message.initialize(this,e,0,-1,proto.pushwoosh.rpc_v2.accounts_get_auth_info.Account.repeatedFields_,null)},s.inherits(proto.pushwoosh.rpc_v2.accounts_get_auth_info.Account,r.Message),s.DEBUG&&!COMPILED&&(proto.pushwoosh.rpc_v2.accounts_get_auth_info.Account.displayName="proto.pushwoosh.rpc_v2.accounts_get_auth_info.Account"),proto.pushwoosh.rpc_v2.accounts_get_auth_info.Account.Order=function(e){r.Message.initialize(this,e,0,-1,null,null)},s.inherits(proto.pushwoosh.rpc_v2.accounts_get_auth_info.Account.Order,r.Message),s.DEBUG&&!COMPILED&&(proto.pushwoosh.rpc_v2.accounts_get_auth_info.Account.Order.displayName="proto.pushwoosh.rpc_v2.accounts_get_auth_info.Account.Order"),r.Message.GENERATE_TO_OBJECT&&(proto.pushwoosh.rpc_v2.accounts_get_auth_info.GetAuthInfoRequest.prototype.toObject=function(e){return proto.pushwoosh.rpc_v2.accounts_get_auth_info.GetAuthInfoRequest.toObject(e,this)},proto.pushwoosh.rpc_v2.accounts_get_auth_info.GetAuthInfoRequest.toObject=function(e,t){var o={};return e&&(o.$jspbMessageInstance=t),o}),proto.pushwoosh.rpc_v2.accounts_get_auth_info.GetAuthInfoRequest.deserializeBinary=function(e){var t=new r.BinaryReader(e),o=new proto.pushwoosh.rpc_v2.accounts_get_auth_info.GetAuthInfoRequest;return proto.pushwoosh.rpc_v2.accounts_get_auth_info.GetAuthInfoRequest.deserializeBinaryFromReader(o,t)},proto.pushwoosh.rpc_v2.accounts_get_auth_info.GetAuthInfoRequest.deserializeBinaryFromReader=function(e,t){for(;t.nextField()&&!t.isEndGroup();){t.getFieldNumber();t.skipField()}return e},proto.pushwoosh.rpc_v2.accounts_get_auth_info.GetAuthInfoRequest.prototype.serializeBinary=function(){var e=new r.BinaryWriter;return proto.pushwoosh.rpc_v2.accounts_get_auth_info.GetAuthInfoRequest.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.pushwoosh.rpc_v2.accounts_get_auth_info.GetAuthInfoRequest.serializeBinaryToWriter=function(e,t){},r.Message.GENERATE_TO_OBJECT&&(proto.pushwoosh.rpc_v2.accounts_get_auth_info.GetAuthInfoResponse.prototype.toObject=function(e){return proto.pushwoosh.rpc_v2.accounts_get_auth_info.GetAuthInfoResponse.toObject(e,this)},proto.pushwoosh.rpc_v2.accounts_get_auth_info.GetAuthInfoResponse.toObject=function(e,t){var o,r={user:(o=t.getUser())&&proto.pushwoosh.rpc_v2.accounts_get_auth_info.User.toObject(e,o),account:(o=t.getAccount())&&proto.pushwoosh.rpc_v2.accounts_get_auth_info.Account.toObject(e,o)};return e&&(r.$jspbMessageInstance=t),r}),proto.pushwoosh.rpc_v2.accounts_get_auth_info.GetAuthInfoResponse.deserializeBinary=function(e){var t=new r.BinaryReader(e),o=new proto.pushwoosh.rpc_v2.accounts_get_auth_info.GetAuthInfoResponse;return proto.pushwoosh.rpc_v2.accounts_get_auth_info.GetAuthInfoResponse.deserializeBinaryFromReader(o,t)},proto.pushwoosh.rpc_v2.accounts_get_auth_info.GetAuthInfoResponse.deserializeBinaryFromReader=function(e,t){for(;t.nextField()&&!t.isEndGroup();){switch(t.getFieldNumber()){case 2:var o=new proto.pushwoosh.rpc_v2.accounts_get_auth_info.User;t.readMessage(o,proto.pushwoosh.rpc_v2.accounts_get_auth_info.User.deserializeBinaryFromReader),e.setUser(o);break;case 3:o=new proto.pushwoosh.rpc_v2.accounts_get_auth_info.Account;t.readMessage(o,proto.pushwoosh.rpc_v2.accounts_get_auth_info.Account.deserializeBinaryFromReader),e.setAccount(o);break;default:t.skipField()}}return e},proto.pushwoosh.rpc_v2.accounts_get_auth_info.GetAuthInfoResponse.prototype.serializeBinary=function(){var e=new r.BinaryWriter;return proto.pushwoosh.rpc_v2.accounts_get_auth_info.GetAuthInfoResponse.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.pushwoosh.rpc_v2.accounts_get_auth_info.GetAuthInfoResponse.serializeBinaryToWriter=function(e,t){var o=void 0;null!=(o=e.getUser())&&t.writeMessage(2,o,proto.pushwoosh.rpc_v2.accounts_get_auth_info.User.serializeBinaryToWriter),null!=(o=e.getAccount())&&t.writeMessage(3,o,proto.pushwoosh.rpc_v2.accounts_get_auth_info.Account.serializeBinaryToWriter)},proto.pushwoosh.rpc_v2.accounts_get_auth_info.GetAuthInfoResponse.prototype.getUser=function(){return r.Message.getWrapperField(this,proto.pushwoosh.rpc_v2.accounts_get_auth_info.User,2)},proto.pushwoosh.rpc_v2.accounts_get_auth_info.GetAuthInfoResponse.prototype.setUser=function(e){return r.Message.setWrapperField(this,2,e)},proto.pushwoosh.rpc_v2.accounts_get_auth_info.GetAuthInfoResponse.prototype.clearUser=function(){return this.setUser(void 0)},proto.pushwoosh.rpc_v2.accounts_get_auth_info.GetAuthInfoResponse.prototype.hasUser=function(){return null!=r.Message.getField(this,2)},proto.pushwoosh.rpc_v2.accounts_get_auth_info.GetAuthInfoResponse.prototype.getAccount=function(){return r.Message.getWrapperField(this,proto.pushwoosh.rpc_v2.accounts_get_auth_info.Account,3)},proto.pushwoosh.rpc_v2.accounts_get_auth_info.GetAuthInfoResponse.prototype.setAccount=function(e){return r.Message.setWrapperField(this,3,e)},proto.pushwoosh.rpc_v2.accounts_get_auth_info.GetAuthInfoResponse.prototype.clearAccount=function(){return this.setAccount(void 0)},proto.pushwoosh.rpc_v2.accounts_get_auth_info.GetAuthInfoResponse.prototype.hasAccount=function(){return null!=r.Message.getField(this,3)},r.Message.GENERATE_TO_OBJECT&&(proto.pushwoosh.rpc_v2.accounts_get_auth_info.User.prototype.toObject=function(e){return proto.pushwoosh.rpc_v2.accounts_get_auth_info.User.toObject(e,this)},proto.pushwoosh.rpc_v2.accounts_get_auth_info.User.toObject=function(e,t){var o={username:r.Message.getFieldWithDefault(t,1,""),email:r.Message.getFieldWithDefault(t,2,""),isActive:r.Message.getBooleanFieldWithDefault(t,3,!1),timezone:r.Message.getFieldWithDefault(t,4,""),timezoneOffset:r.Message.getFieldWithDefault(t,5,""),accountsCount:r.Message.getFieldWithDefault(t,6,0),allowNewsletters:r.Message.getBooleanFieldWithDefault(t,7,!1),allowDailyStatsGlobal:r.Message.getBooleanFieldWithDefault(t,8,!1),allowNotificationSubscribers:r.Message.getBooleanFieldWithDefault(t,9,!1),allowNotificationIosLicense:r.Message.getBooleanFieldWithDefault(t,10,!1),allowNotificationUserInactivity:r.Message.getBooleanFieldWithDefault(t,11,!1),allowNotificationDisablePlatform:r.Message.getBooleanFieldWithDefault(t,12,!1)};return e&&(o.$jspbMessageInstance=t),o}),proto.pushwoosh.rpc_v2.accounts_get_auth_info.User.deserializeBinary=function(e){var t=new r.BinaryReader(e),o=new proto.pushwoosh.rpc_v2.accounts_get_auth_info.User;return proto.pushwoosh.rpc_v2.accounts_get_auth_info.User.deserializeBinaryFromReader(o,t)},proto.pushwoosh.rpc_v2.accounts_get_auth_info.User.deserializeBinaryFromReader=function(e,t){for(;t.nextField()&&!t.isEndGroup();){switch(t.getFieldNumber()){case 1:var o=t.readString();e.setUsername(o);break;case 2:o=t.readString();e.setEmail(o);break;case 3:o=t.readBool();e.setIsActive(o);break;case 4:o=t.readString();e.setTimezone(o);break;case 5:o=t.readString();e.setTimezoneOffset(o);break;case 6:o=t.readInt32();e.setAccountsCount(o);break;case 7:o=t.readBool();e.setAllowNewsletters(o);break;case 8:o=t.readBool();e.setAllowDailyStatsGlobal(o);break;case 9:o=t.readBool();e.setAllowNotificationSubscribers(o);break;case 10:o=t.readBool();e.setAllowNotificationIosLicense(o);break;case 11:o=t.readBool();e.setAllowNotificationUserInactivity(o);break;case 12:o=t.readBool();e.setAllowNotificationDisablePlatform(o);break;default:t.skipField()}}return e},proto.pushwoosh.rpc_v2.accounts_get_auth_info.User.prototype.serializeBinary=function(){var e=new r.BinaryWriter;return proto.pushwoosh.rpc_v2.accounts_get_auth_info.User.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.pushwoosh.rpc_v2.accounts_get_auth_info.User.serializeBinaryToWriter=function(e,t){var o=void 0;(o=e.getUsername()).length>0&&t.writeString(1,o),(o=e.getEmail()).length>0&&t.writeString(2,o),(o=e.getIsActive())&&t.writeBool(3,o),(o=e.getTimezone()).length>0&&t.writeString(4,o),(o=e.getTimezoneOffset()).length>0&&t.writeString(5,o),0!==(o=e.getAccountsCount())&&t.writeInt32(6,o),(o=e.getAllowNewsletters())&&t.writeBool(7,o),(o=e.getAllowDailyStatsGlobal())&&t.writeBool(8,o),(o=e.getAllowNotificationSubscribers())&&t.writeBool(9,o),(o=e.getAllowNotificationIosLicense())&&t.writeBool(10,o),(o=e.getAllowNotificationUserInactivity())&&t.writeBool(11,o),(o=e.getAllowNotificationDisablePlatform())&&t.writeBool(12,o)},proto.pushwoosh.rpc_v2.accounts_get_auth_info.User.prototype.getUsername=function(){return r.Message.getFieldWithDefault(this,1,"")},proto.pushwoosh.rpc_v2.accounts_get_auth_info.User.prototype.setUsername=function(e){return r.Message.setProto3StringField(this,1,e)},proto.pushwoosh.rpc_v2.accounts_get_auth_info.User.prototype.getEmail=function(){return r.Message.getFieldWithDefault(this,2,"")},proto.pushwoosh.rpc_v2.accounts_get_auth_info.User.prototype.setEmail=function(e){return r.Message.setProto3StringField(this,2,e)},proto.pushwoosh.rpc_v2.accounts_get_auth_info.User.prototype.getIsActive=function(){return r.Message.getBooleanFieldWithDefault(this,3,!1)},proto.pushwoosh.rpc_v2.accounts_get_auth_info.User.prototype.setIsActive=function(e){return r.Message.setProto3BooleanField(this,3,e)},proto.pushwoosh.rpc_v2.accounts_get_auth_info.User.prototype.getTimezone=function(){return r.Message.getFieldWithDefault(this,4,"")},proto.pushwoosh.rpc_v2.accounts_get_auth_info.User.prototype.setTimezone=function(e){return r.Message.setProto3StringField(this,4,e)},proto.pushwoosh.rpc_v2.accounts_get_auth_info.User.prototype.getTimezoneOffset=function(){return r.Message.getFieldWithDefault(this,5,"")},proto.pushwoosh.rpc_v2.accounts_get_auth_info.User.prototype.setTimezoneOffset=function(e){return r.Message.setProto3StringField(this,5,e)},proto.pushwoosh.rpc_v2.accounts_get_auth_info.User.prototype.getAccountsCount=function(){return r.Message.getFieldWithDefault(this,6,0)},proto.pushwoosh.rpc_v2.accounts_get_auth_info.User.prototype.setAccountsCount=function(e){return r.Message.setProto3IntField(this,6,e)},proto.pushwoosh.rpc_v2.accounts_get_auth_info.User.prototype.getAllowNewsletters=function(){return r.Message.getBooleanFieldWithDefault(this,7,!1)},proto.pushwoosh.rpc_v2.accounts_get_auth_info.User.prototype.setAllowNewsletters=function(e){return r.Message.setProto3BooleanField(this,7,e)},proto.pushwoosh.rpc_v2.accounts_get_auth_info.User.prototype.getAllowDailyStatsGlobal=function(){return r.Message.getBooleanFieldWithDefault(this,8,!1)},proto.pushwoosh.rpc_v2.accounts_get_auth_info.User.prototype.setAllowDailyStatsGlobal=function(e){return r.Message.setProto3BooleanField(this,8,e)},proto.pushwoosh.rpc_v2.accounts_get_auth_info.User.prototype.getAllowNotificationSubscribers=function(){return r.Message.getBooleanFieldWithDefault(this,9,!1)},proto.pushwoosh.rpc_v2.accounts_get_auth_info.User.prototype.setAllowNotificationSubscribers=function(e){return r.Message.setProto3BooleanField(this,9,e)},proto.pushwoosh.rpc_v2.accounts_get_auth_info.User.prototype.getAllowNotificationIosLicense=function(){return r.Message.getBooleanFieldWithDefault(this,10,!1)},proto.pushwoosh.rpc_v2.accounts_get_auth_info.User.prototype.setAllowNotificationIosLicense=function(e){return r.Message.setProto3BooleanField(this,10,e)},proto.pushwoosh.rpc_v2.accounts_get_auth_info.User.prototype.getAllowNotificationUserInactivity=function(){return r.Message.getBooleanFieldWithDefault(this,11,!1)},proto.pushwoosh.rpc_v2.accounts_get_auth_info.User.prototype.setAllowNotificationUserInactivity=function(e){return r.Message.setProto3BooleanField(this,11,e)},proto.pushwoosh.rpc_v2.accounts_get_auth_info.User.prototype.getAllowNotificationDisablePlatform=function(){return r.Message.getBooleanFieldWithDefault(this,12,!1)},proto.pushwoosh.rpc_v2.accounts_get_auth_info.User.prototype.setAllowNotificationDisablePlatform=function(e){return r.Message.setProto3BooleanField(this,12,e)},proto.pushwoosh.rpc_v2.accounts_get_auth_info.Account.repeatedFields_=[82],r.Message.GENERATE_TO_OBJECT&&(proto.pushwoosh.rpc_v2.accounts_get_auth_info.Account.prototype.toObject=function(e){return proto.pushwoosh.rpc_v2.accounts_get_auth_info.Account.toObject(e,this)},proto.pushwoosh.rpc_v2.accounts_get_auth_info.Account.toObject=function(e,t){var o,s={id:r.Message.getFieldWithDefault(t,1,0),name:r.Message.getFieldWithDefault(t,2,""),isEnterprise:r.Message.getBooleanFieldWithDefault(t,3,!1),expireDate:r.Message.getFieldWithDefault(t,4,""),frozen:r.Message.getBooleanFieldWithDefault(t,5,!1),productType:r.Message.getFieldWithDefault(t,6,""),domain:r.Message.getFieldWithDefault(t,7,""),admin:r.Message.getBooleanFieldWithDefault(t,8,!1),restriction:r.Message.getFieldWithDefault(t,9,""),canUsePacks:r.Message.getBooleanFieldWithDefault(t,10,!1),hasPersonalizationPack:r.Message.getBooleanFieldWithDefault(t,11,!1),hasMarketingPack:r.Message.getBooleanFieldWithDefault(t,12,!1),isUnderSu:r.Message.getBooleanFieldWithDefault(t,13,!1),isAccountLocked:r.Message.getBooleanFieldWithDefault(t,14,!1),isTwoFactorAuthEnabled:r.Message.getBooleanFieldWithDefault(t,15,!1),hasActiveOrder:r.Message.getBooleanFieldWithDefault(t,16,!1),registrationDate:(o=t.getRegistrationDate())&&a.Timestamp.toObject(e,o),appGroupsCount:r.Message.getFieldWithDefault(t,18,0),applicationsCount:r.Message.getFieldWithDefault(t,19,0),filtersCount:r.Message.getFieldWithDefault(t,20,0),tagsCount:r.Message.getFieldWithDefault(t,21,0),geoZonesCount:r.Message.getFieldWithDefault(t,22,0),campaignsCount:r.Message.getFieldWithDefault(t,23,0),presetsCount:r.Message.getFieldWithDefault(t,24,0),testDevicesCount:r.Message.getFieldWithDefault(t,25,0),autoPushesCount:r.Message.getFieldWithDefault(t,26,0),rssFeedsCount:r.Message.getFieldWithDefault(t,27,0),inAppsCount:r.Message.getFieldWithDefault(t,28,0),eventsCount:r.Message.getFieldWithDefault(t,32,0),deeplinksCount:r.Message.getFieldWithDefault(t,33,0),richMediaCount:r.Message.getFieldWithDefault(t,34,0),emailTemplatesCount:r.Message.getFieldWithDefault(t,35,0),accountMailsCount:r.Message.getFieldWithDefault(t,36,0),accountDomainsCount:r.Message.getFieldWithDefault(t,37,0),pushAvailableSubscribers:r.Message.getFieldWithDefault(t,45,0),pushNotAvailableSubscribers:r.Message.getFieldWithDefault(t,46,0),isDeviceLimitReached:r.Message.getBooleanFieldWithDefault(t,47,!1),aceSeeApplications:r.Message.getBooleanFieldWithDefault(t,60,!1),aceModifyApplications:r.Message.getBooleanFieldWithDefault(t,61,!1),aceSeeAppGroups:r.Message.getBooleanFieldWithDefault(t,62,!1),aceModifyAppGroups:r.Message.getBooleanFieldWithDefault(t,63,!1),aceSeeMessages:r.Message.getBooleanFieldWithDefault(t,64,!1),aceModifyMessages:r.Message.getBooleanFieldWithDefault(t,65,!1),aceSendMessages:r.Message.getBooleanFieldWithDefault(t,66,!1),aceSeeFilters:r.Message.getBooleanFieldWithDefault(t,67,!1),aceModifyFilters:r.Message.getBooleanFieldWithDefault(t,68,!1),aceSeeTags:r.Message.getBooleanFieldWithDefault(t,69,!1),aceModifyTags:r.Message.getBooleanFieldWithDefault(t,70,!1),aceSeeRichMedia:r.Message.getBooleanFieldWithDefault(t,71,!1),aceModifyRichMedia:r.Message.getBooleanFieldWithDefault(t,72,!1),aceSeeEmailTemplates:r.Message.getBooleanFieldWithDefault(t,73,!1),aceModifyEmailTemplates:r.Message.getBooleanFieldWithDefault(t,74,!1),aceSuperRight:r.Message.getBooleanFieldWithDefault(t,75,!1),aceManageUsers:r.Message.getBooleanFieldWithDefault(t,76,!1),aceManageSubscription:r.Message.getBooleanFieldWithDefault(t,77,!1),aceSeeApiAccess:r.Message.getBooleanFieldWithDefault(t,78,!1),aceDomainAndEmailVerification:r.Message.getBooleanFieldWithDefault(t,79,!1),freeEmailLimitUpdateDate:r.Message.getFieldWithDefault(t,80,""),paidEmailExpireDate:r.Message.getFieldWithDefault(t,81,""),allowedPlatformsList:null==(o=r.Message.getRepeatedField(t,82))?void 0:o,billingAddress:(o=t.getBillingAddress())&&g.BillingAddress.toObject(e,o),currentOrder:(o=t.getCurrentOrder())&&proto.pushwoosh.rpc_v2.accounts_get_auth_info.Account.Order.toObject(e,o),restrictions:(o=t.getRestrictions())&&p.RestrictionValue.toObject(e,o)};return e&&(s.$jspbMessageInstance=t),s}),proto.pushwoosh.rpc_v2.accounts_get_auth_info.Account.deserializeBinary=function(e){var t=new r.BinaryReader(e),o=new proto.pushwoosh.rpc_v2.accounts_get_auth_info.Account;return proto.pushwoosh.rpc_v2.accounts_get_auth_info.Account.deserializeBinaryFromReader(o,t)},proto.pushwoosh.rpc_v2.accounts_get_auth_info.Account.deserializeBinaryFromReader=function(e,t){for(;t.nextField()&&!t.isEndGroup();){switch(t.getFieldNumber()){case 1:var o=t.readUint64();e.setId(o);break;case 2:o=t.readString();e.setName(o);break;case 3:o=t.readBool();e.setIsEnterprise(o);break;case 4:o=t.readString();e.setExpireDate(o);break;case 5:o=t.readBool();e.setFrozen(o);break;case 6:o=t.readString();e.setProductType(o);break;case 7:o=t.readString();e.setDomain(o);break;case 8:o=t.readBool();e.setAdmin(o);break;case 9:o=t.readString();e.setRestriction(o);break;case 10:o=t.readBool();e.setCanUsePacks(o);break;case 11:o=t.readBool();e.setHasPersonalizationPack(o);break;case 12:o=t.readBool();e.setHasMarketingPack(o);break;case 13:o=t.readBool();e.setIsUnderSu(o);break;case 14:o=t.readBool();e.setIsAccountLocked(o);break;case 15:o=t.readBool();e.setIsTwoFactorAuthEnabled(o);break;case 16:o=t.readBool();e.setHasActiveOrder(o);break;case 17:o=new a.Timestamp;t.readMessage(o,a.Timestamp.deserializeBinaryFromReader),e.setRegistrationDate(o);break;case 18:o=t.readInt64();e.setAppGroupsCount(o);break;case 19:o=t.readInt64();e.setApplicationsCount(o);break;case 20:o=t.readInt64();e.setFiltersCount(o);break;case 21:o=t.readInt64();e.setTagsCount(o);break;case 22:o=t.readInt64();e.setGeoZonesCount(o);break;case 23:o=t.readInt64();e.setCampaignsCount(o);break;case 24:o=t.readInt64();e.setPresetsCount(o);break;case 25:o=t.readInt64();e.setTestDevicesCount(o);break;case 26:o=t.readInt64();e.setAutoPushesCount(o);break;case 27:o=t.readInt64();e.setRssFeedsCount(o);break;case 28:o=t.readInt64();e.setInAppsCount(o);break;case 32:o=t.readInt64();e.setEventsCount(o);break;case 33:o=t.readInt64();e.setDeeplinksCount(o);break;case 34:o=t.readInt64();e.setRichMediaCount(o);break;case 35:o=t.readInt64();e.setEmailTemplatesCount(o);break;case 36:o=t.readInt64();e.setAccountMailsCount(o);break;case 37:o=t.readInt64();e.setAccountDomainsCount(o);break;case 45:o=t.readInt64();e.setPushAvailableSubscribers(o);break;case 46:o=t.readInt64();e.setPushNotAvailableSubscribers(o);break;case 47:o=t.readBool();e.setIsDeviceLimitReached(o);break;case 60:o=t.readBool();e.setAceSeeApplications(o);break;case 61:o=t.readBool();e.setAceModifyApplications(o);break;case 62:o=t.readBool();e.setAceSeeAppGroups(o);break;case 63:o=t.readBool();e.setAceModifyAppGroups(o);break;case 64:o=t.readBool();e.setAceSeeMessages(o);break;case 65:o=t.readBool();e.setAceModifyMessages(o);break;case 66:o=t.readBool();e.setAceSendMessages(o);break;case 67:o=t.readBool();e.setAceSeeFilters(o);break;case 68:o=t.readBool();e.setAceModifyFilters(o);break;case 69:o=t.readBool();e.setAceSeeTags(o);break;case 70:o=t.readBool();e.setAceModifyTags(o);break;case 71:o=t.readBool();e.setAceSeeRichMedia(o);break;case 72:o=t.readBool();e.setAceModifyRichMedia(o);break;case 73:o=t.readBool();e.setAceSeeEmailTemplates(o);break;case 74:o=t.readBool();e.setAceModifyEmailTemplates(o);break;case 75:o=t.readBool();e.setAceSuperRight(o);break;case 76:o=t.readBool();e.setAceManageUsers(o);break;case 77:o=t.readBool();e.setAceManageSubscription(o);break;case 78:o=t.readBool();e.setAceSeeApiAccess(o);break;case 79:o=t.readBool();e.setAceDomainAndEmailVerification(o);break;case 80:o=t.readString();e.setFreeEmailLimitUpdateDate(o);break;case 81:o=t.readString();e.setPaidEmailExpireDate(o);break;case 82:for(var r=t.isDelimited()?t.readPackedUint32():[t.readUint32()],s=0;s<r.length;s++)e.addAllowedPlatforms(r[s]);break;case 100:o=new g.BillingAddress;t.readMessage(o,g.BillingAddress.deserializeBinaryFromReader),e.setBillingAddress(o);break;case 101:o=new proto.pushwoosh.rpc_v2.accounts_get_auth_info.Account.Order;t.readMessage(o,proto.pushwoosh.rpc_v2.accounts_get_auth_info.Account.Order.deserializeBinaryFromReader),e.setCurrentOrder(o);break;case 102:o=new p.RestrictionValue;t.readMessage(o,p.RestrictionValue.deserializeBinaryFromReader),e.setRestrictions(o);break;default:t.skipField()}}return e},proto.pushwoosh.rpc_v2.accounts_get_auth_info.Account.prototype.serializeBinary=function(){var e=new r.BinaryWriter;return proto.pushwoosh.rpc_v2.accounts_get_auth_info.Account.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.pushwoosh.rpc_v2.accounts_get_auth_info.Account.serializeBinaryToWriter=function(e,t){var o=void 0;0!==(o=e.getId())&&t.writeUint64(1,o),(o=e.getName()).length>0&&t.writeString(2,o),(o=e.getIsEnterprise())&&t.writeBool(3,o),(o=e.getExpireDate()).length>0&&t.writeString(4,o),(o=e.getFrozen())&&t.writeBool(5,o),(o=e.getProductType()).length>0&&t.writeString(6,o),(o=e.getDomain()).length>0&&t.writeString(7,o),(o=e.getAdmin())&&t.writeBool(8,o),(o=e.getRestriction()).length>0&&t.writeString(9,o),(o=e.getCanUsePacks())&&t.writeBool(10,o),(o=e.getHasPersonalizationPack())&&t.writeBool(11,o),(o=e.getHasMarketingPack())&&t.writeBool(12,o),(o=e.getIsUnderSu())&&t.writeBool(13,o),(o=e.getIsAccountLocked())&&t.writeBool(14,o),(o=e.getIsTwoFactorAuthEnabled())&&t.writeBool(15,o),(o=e.getHasActiveOrder())&&t.writeBool(16,o),null!=(o=e.getRegistrationDate())&&t.writeMessage(17,o,a.Timestamp.serializeBinaryToWriter),0!==(o=e.getAppGroupsCount())&&t.writeInt64(18,o),0!==(o=e.getApplicationsCount())&&t.writeInt64(19,o),0!==(o=e.getFiltersCount())&&t.writeInt64(20,o),0!==(o=e.getTagsCount())&&t.writeInt64(21,o),0!==(o=e.getGeoZonesCount())&&t.writeInt64(22,o),0!==(o=e.getCampaignsCount())&&t.writeInt64(23,o),0!==(o=e.getPresetsCount())&&t.writeInt64(24,o),0!==(o=e.getTestDevicesCount())&&t.writeInt64(25,o),0!==(o=e.getAutoPushesCount())&&t.writeInt64(26,o),0!==(o=e.getRssFeedsCount())&&t.writeInt64(27,o),0!==(o=e.getInAppsCount())&&t.writeInt64(28,o),0!==(o=e.getEventsCount())&&t.writeInt64(32,o),0!==(o=e.getDeeplinksCount())&&t.writeInt64(33,o),0!==(o=e.getRichMediaCount())&&t.writeInt64(34,o),0!==(o=e.getEmailTemplatesCount())&&t.writeInt64(35,o),0!==(o=e.getAccountMailsCount())&&t.writeInt64(36,o),0!==(o=e.getAccountDomainsCount())&&t.writeInt64(37,o),0!==(o=e.getPushAvailableSubscribers())&&t.writeInt64(45,o),0!==(o=e.getPushNotAvailableSubscribers())&&t.writeInt64(46,o),(o=e.getIsDeviceLimitReached())&&t.writeBool(47,o),(o=e.getAceSeeApplications())&&t.writeBool(60,o),(o=e.getAceModifyApplications())&&t.writeBool(61,o),(o=e.getAceSeeAppGroups())&&t.writeBool(62,o),(o=e.getAceModifyAppGroups())&&t.writeBool(63,o),(o=e.getAceSeeMessages())&&t.writeBool(64,o),(o=e.getAceModifyMessages())&&t.writeBool(65,o),(o=e.getAceSendMessages())&&t.writeBool(66,o),(o=e.getAceSeeFilters())&&t.writeBool(67,o),(o=e.getAceModifyFilters())&&t.writeBool(68,o),(o=e.getAceSeeTags())&&t.writeBool(69,o),(o=e.getAceModifyTags())&&t.writeBool(70,o),(o=e.getAceSeeRichMedia())&&t.writeBool(71,o),(o=e.getAceModifyRichMedia())&&t.writeBool(72,o),(o=e.getAceSeeEmailTemplates())&&t.writeBool(73,o),(o=e.getAceModifyEmailTemplates())&&t.writeBool(74,o),(o=e.getAceSuperRight())&&t.writeBool(75,o),(o=e.getAceManageUsers())&&t.writeBool(76,o),(o=e.getAceManageSubscription())&&t.writeBool(77,o),(o=e.getAceSeeApiAccess())&&t.writeBool(78,o),(o=e.getAceDomainAndEmailVerification())&&t.writeBool(79,o),(o=e.getFreeEmailLimitUpdateDate()).length>0&&t.writeString(80,o),(o=e.getPaidEmailExpireDate()).length>0&&t.writeString(81,o),(o=e.getAllowedPlatformsList()).length>0&&t.writePackedUint32(82,o),null!=(o=e.getBillingAddress())&&t.writeMessage(100,o,g.BillingAddress.serializeBinaryToWriter),null!=(o=e.getCurrentOrder())&&t.writeMessage(101,o,proto.pushwoosh.rpc_v2.accounts_get_auth_info.Account.Order.serializeBinaryToWriter),null!=(o=e.getRestrictions())&&t.writeMessage(102,o,p.RestrictionValue.serializeBinaryToWriter)},r.Message.GENERATE_TO_OBJECT&&(proto.pushwoosh.rpc_v2.accounts_get_auth_info.Account.Order.prototype.toObject=function(e){return proto.pushwoosh.rpc_v2.accounts_get_auth_info.Account.Order.toObject(e,this)},proto.pushwoosh.rpc_v2.accounts_get_auth_info.Account.Order.toObject=function(e,t){var o={};return e&&(o.$jspbMessageInstance=t),o}),proto.pushwoosh.rpc_v2.accounts_get_auth_info.Account.Order.deserializeBinary=function(e){var t=new r.BinaryReader(e),o=new proto.pushwoosh.rpc_v2.accounts_get_auth_info.Account.Order;return proto.pushwoosh.rpc_v2.accounts_get_auth_info.Account.Order.deserializeBinaryFromReader(o,t)},proto.pushwoosh.rpc_v2.accounts_get_auth_info.Account.Order.deserializeBinaryFromReader=function(e,t){for(;t.nextField()&&!t.isEndGroup();){t.getFieldNumber();t.skipField()}return e},proto.pushwoosh.rpc_v2.accounts_get_auth_info.Account.Order.prototype.serializeBinary=function(){var e=new r.BinaryWriter;return proto.pushwoosh.rpc_v2.accounts_get_auth_info.Account.Order.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.pushwoosh.rpc_v2.accounts_get_auth_info.Account.Order.serializeBinaryToWriter=function(e,t){},proto.pushwoosh.rpc_v2.accounts_get_auth_info.Account.prototype.getId=function(){return r.Message.getFieldWithDefault(this,1,0)},proto.pushwoosh.rpc_v2.accounts_get_auth_info.Account.prototype.setId=function(e){return r.Message.setProto3IntField(this,1,e)},proto.pushwoosh.rpc_v2.accounts_get_auth_info.Account.prototype.getName=function(){return r.Message.getFieldWithDefault(this,2,"")},proto.pushwoosh.rpc_v2.accounts_get_auth_info.Account.prototype.setName=function(e){return r.Message.setProto3StringField(this,2,e)},proto.pushwoosh.rpc_v2.accounts_get_auth_info.Account.prototype.getIsEnterprise=function(){return r.Message.getBooleanFieldWithDefault(this,3,!1)},proto.pushwoosh.rpc_v2.accounts_get_auth_info.Account.prototype.setIsEnterprise=function(e){return r.Message.setProto3BooleanField(this,3,e)},proto.pushwoosh.rpc_v2.accounts_get_auth_info.Account.prototype.getExpireDate=function(){return r.Message.getFieldWithDefault(this,4,"")},proto.pushwoosh.rpc_v2.accounts_get_auth_info.Account.prototype.setExpireDate=function(e){return r.Message.setProto3StringField(this,4,e)},proto.pushwoosh.rpc_v2.accounts_get_auth_info.Account.prototype.getFrozen=function(){return r.Message.getBooleanFieldWithDefault(this,5,!1)},proto.pushwoosh.rpc_v2.accounts_get_auth_info.Account.prototype.setFrozen=function(e){return r.Message.setProto3BooleanField(this,5,e)},proto.pushwoosh.rpc_v2.accounts_get_auth_info.Account.prototype.getProductType=function(){return r.Message.getFieldWithDefault(this,6,"")},proto.pushwoosh.rpc_v2.accounts_get_auth_info.Account.prototype.setProductType=function(e){return r.Message.setProto3StringField(this,6,e)},proto.pushwoosh.rpc_v2.accounts_get_auth_info.Account.prototype.getDomain=function(){return r.Message.getFieldWithDefault(this,7,"")},proto.pushwoosh.rpc_v2.accounts_get_auth_info.Account.prototype.setDomain=function(e){return r.Message.setProto3StringField(this,7,e)},proto.pushwoosh.rpc_v2.accounts_get_auth_info.Account.prototype.getAdmin=function(){return r.Message.getBooleanFieldWithDefault(this,8,!1)},proto.pushwoosh.rpc_v2.accounts_get_auth_info.Account.prototype.setAdmin=function(e){return r.Message.setProto3BooleanField(this,8,e)},proto.pushwoosh.rpc_v2.accounts_get_auth_info.Account.prototype.getRestriction=function(){return r.Message.getFieldWithDefault(this,9,"")},proto.pushwoosh.rpc_v2.accounts_get_auth_info.Account.prototype.setRestriction=function(e){return r.Message.setProto3StringField(this,9,e)},proto.pushwoosh.rpc_v2.accounts_get_auth_info.Account.prototype.getCanUsePacks=function(){return r.Message.getBooleanFieldWithDefault(this,10,!1)},proto.pushwoosh.rpc_v2.accounts_get_auth_info.Account.prototype.setCanUsePacks=function(e){return r.Message.setProto3BooleanField(this,10,e)},proto.pushwoosh.rpc_v2.accounts_get_auth_info.Account.prototype.getHasPersonalizationPack=function(){return r.Message.getBooleanFieldWithDefault(this,11,!1)},proto.pushwoosh.rpc_v2.accounts_get_auth_info.Account.prototype.setHasPersonalizationPack=function(e){return r.Message.setProto3BooleanField(this,11,e)},proto.pushwoosh.rpc_v2.accounts_get_auth_info.Account.prototype.getHasMarketingPack=function(){return r.Message.getBooleanFieldWithDefault(this,12,!1)},proto.pushwoosh.rpc_v2.accounts_get_auth_info.Account.prototype.setHasMarketingPack=function(e){return r.Message.setProto3BooleanField(this,12,e)},proto.pushwoosh.rpc_v2.accounts_get_auth_info.Account.prototype.getIsUnderSu=function(){return r.Message.getBooleanFieldWithDefault(this,13,!1)},proto.pushwoosh.rpc_v2.accounts_get_auth_info.Account.prototype.setIsUnderSu=function(e){return r.Message.setProto3BooleanField(this,13,e)},proto.pushwoosh.rpc_v2.accounts_get_auth_info.Account.prototype.getIsAccountLocked=function(){return r.Message.getBooleanFieldWithDefault(this,14,!1)},proto.pushwoosh.rpc_v2.accounts_get_auth_info.Account.prototype.setIsAccountLocked=function(e){return r.Message.setProto3BooleanField(this,14,e)},proto.pushwoosh.rpc_v2.accounts_get_auth_info.Account.prototype.getIsTwoFactorAuthEnabled=function(){return r.Message.getBooleanFieldWithDefault(this,15,!1)},proto.pushwoosh.rpc_v2.accounts_get_auth_info.Account.prototype.setIsTwoFactorAuthEnabled=function(e){return r.Message.setProto3BooleanField(this,15,e)},proto.pushwoosh.rpc_v2.accounts_get_auth_info.Account.prototype.getHasActiveOrder=function(){return r.Message.getBooleanFieldWithDefault(this,16,!1)},proto.pushwoosh.rpc_v2.accounts_get_auth_info.Account.prototype.setHasActiveOrder=function(e){return r.Message.setProto3BooleanField(this,16,e)},proto.pushwoosh.rpc_v2.accounts_get_auth_info.Account.prototype.getRegistrationDate=function(){return r.Message.getWrapperField(this,a.Timestamp,17)},proto.pushwoosh.rpc_v2.accounts_get_auth_info.Account.prototype.setRegistrationDate=function(e){return r.Message.setWrapperField(this,17,e)},proto.pushwoosh.rpc_v2.accounts_get_auth_info.Account.prototype.clearRegistrationDate=function(){return this.setRegistrationDate(void 0)},proto.pushwoosh.rpc_v2.accounts_get_auth_info.Account.prototype.hasRegistrationDate=function(){return null!=r.Message.getField(this,17)},proto.pushwoosh.rpc_v2.accounts_get_auth_info.Account.prototype.getAppGroupsCount=function(){return r.Message.getFieldWithDefault(this,18,0)},proto.pushwoosh.rpc_v2.accounts_get_auth_info.Account.prototype.setAppGroupsCount=function(e){return r.Message.setProto3IntField(this,18,e)},proto.pushwoosh.rpc_v2.accounts_get_auth_info.Account.prototype.getApplicationsCount=function(){return r.Message.getFieldWithDefault(this,19,0)},proto.pushwoosh.rpc_v2.accounts_get_auth_info.Account.prototype.setApplicationsCount=function(e){return r.Message.setProto3IntField(this,19,e)},proto.pushwoosh.rpc_v2.accounts_get_auth_info.Account.prototype.getFiltersCount=function(){return r.Message.getFieldWithDefault(this,20,0)},proto.pushwoosh.rpc_v2.accounts_get_auth_info.Account.prototype.setFiltersCount=function(e){return r.Message.setProto3IntField(this,20,e)},proto.pushwoosh.rpc_v2.accounts_get_auth_info.Account.prototype.getTagsCount=function(){return r.Message.getFieldWithDefault(this,21,0)},proto.pushwoosh.rpc_v2.accounts_get_auth_info.Account.prototype.setTagsCount=function(e){return r.Message.setProto3IntField(this,21,e)},proto.pushwoosh.rpc_v2.accounts_get_auth_info.Account.prototype.getGeoZonesCount=function(){return r.Message.getFieldWithDefault(this,22,0)},proto.pushwoosh.rpc_v2.accounts_get_auth_info.Account.prototype.setGeoZonesCount=function(e){return r.Message.setProto3IntField(this,22,e)},proto.pushwoosh.rpc_v2.accounts_get_auth_info.Account.prototype.getCampaignsCount=function(){return r.Message.getFieldWithDefault(this,23,0)},proto.pushwoosh.rpc_v2.accounts_get_auth_info.Account.prototype.setCampaignsCount=function(e){return r.Message.setProto3IntField(this,23,e)},proto.pushwoosh.rpc_v2.accounts_get_auth_info.Account.prototype.getPresetsCount=function(){return r.Message.getFieldWithDefault(this,24,0)},proto.pushwoosh.rpc_v2.accounts_get_auth_info.Account.prototype.setPresetsCount=function(e){return r.Message.setProto3IntField(this,24,e)},proto.pushwoosh.rpc_v2.accounts_get_auth_info.Account.prototype.getTestDevicesCount=function(){return r.Message.getFieldWithDefault(this,25,0)},proto.pushwoosh.rpc_v2.accounts_get_auth_info.Account.prototype.setTestDevicesCount=function(e){return r.Message.setProto3IntField(this,25,e)},proto.pushwoosh.rpc_v2.accounts_get_auth_info.Account.prototype.getAutoPushesCount=function(){return r.Message.getFieldWithDefault(this,26,0)},proto.pushwoosh.rpc_v2.accounts_get_auth_info.Account.prototype.setAutoPushesCount=function(e){return r.Message.setProto3IntField(this,26,e)},proto.pushwoosh.rpc_v2.accounts_get_auth_info.Account.prototype.getRssFeedsCount=function(){return r.Message.getFieldWithDefault(this,27,0)},proto.pushwoosh.rpc_v2.accounts_get_auth_info.Account.prototype.setRssFeedsCount=function(e){return r.Message.setProto3IntField(this,27,e)},proto.pushwoosh.rpc_v2.accounts_get_auth_info.Account.prototype.getInAppsCount=function(){return r.Message.getFieldWithDefault(this,28,0)},proto.pushwoosh.rpc_v2.accounts_get_auth_info.Account.prototype.setInAppsCount=function(e){return r.Message.setProto3IntField(this,28,e)},proto.pushwoosh.rpc_v2.accounts_get_auth_info.Account.prototype.getEventsCount=function(){return r.Message.getFieldWithDefault(this,32,0)},proto.pushwoosh.rpc_v2.accounts_get_auth_info.Account.prototype.setEventsCount=function(e){return r.Message.setProto3IntField(this,32,e)},proto.pushwoosh.rpc_v2.accounts_get_auth_info.Account.prototype.getDeeplinksCount=function(){return r.Message.getFieldWithDefault(this,33,0)},proto.pushwoosh.rpc_v2.accounts_get_auth_info.Account.prototype.setDeeplinksCount=function(e){return r.Message.setProto3IntField(this,33,e)},proto.pushwoosh.rpc_v2.accounts_get_auth_info.Account.prototype.getRichMediaCount=function(){return r.Message.getFieldWithDefault(this,34,0)},proto.pushwoosh.rpc_v2.accounts_get_auth_info.Account.prototype.setRichMediaCount=function(e){return r.Message.setProto3IntField(this,34,e)},proto.pushwoosh.rpc_v2.accounts_get_auth_info.Account.prototype.getEmailTemplatesCount=function(){return r.Message.getFieldWithDefault(this,35,0)},proto.pushwoosh.rpc_v2.accounts_get_auth_info.Account.prototype.setEmailTemplatesCount=function(e){return r.Message.setProto3IntField(this,35,e)},proto.pushwoosh.rpc_v2.accounts_get_auth_info.Account.prototype.getAccountMailsCount=function(){return r.Message.getFieldWithDefault(this,36,0)},proto.pushwoosh.rpc_v2.accounts_get_auth_info.Account.prototype.setAccountMailsCount=function(e){return r.Message.setProto3IntField(this,36,e)},proto.pushwoosh.rpc_v2.accounts_get_auth_info.Account.prototype.getAccountDomainsCount=function(){return r.Message.getFieldWithDefault(this,37,0)},proto.pushwoosh.rpc_v2.accounts_get_auth_info.Account.prototype.setAccountDomainsCount=function(e){return r.Message.setProto3IntField(this,37,e)},proto.pushwoosh.rpc_v2.accounts_get_auth_info.Account.prototype.getPushAvailableSubscribers=function(){return r.Message.getFieldWithDefault(this,45,0)},proto.pushwoosh.rpc_v2.accounts_get_auth_info.Account.prototype.setPushAvailableSubscribers=function(e){return r.Message.setProto3IntField(this,45,e)},proto.pushwoosh.rpc_v2.accounts_get_auth_info.Account.prototype.getPushNotAvailableSubscribers=function(){return r.Message.getFieldWithDefault(this,46,0)},proto.pushwoosh.rpc_v2.accounts_get_auth_info.Account.prototype.setPushNotAvailableSubscribers=function(e){return r.Message.setProto3IntField(this,46,e)},proto.pushwoosh.rpc_v2.accounts_get_auth_info.Account.prototype.getIsDeviceLimitReached=function(){return r.Message.getBooleanFieldWithDefault(this,47,!1)},proto.pushwoosh.rpc_v2.accounts_get_auth_info.Account.prototype.setIsDeviceLimitReached=function(e){return r.Message.setProto3BooleanField(this,47,e)},proto.pushwoosh.rpc_v2.accounts_get_auth_info.Account.prototype.getAceSeeApplications=function(){return r.Message.getBooleanFieldWithDefault(this,60,!1)},proto.pushwoosh.rpc_v2.accounts_get_auth_info.Account.prototype.setAceSeeApplications=function(e){return r.Message.setProto3BooleanField(this,60,e)},proto.pushwoosh.rpc_v2.accounts_get_auth_info.Account.prototype.getAceModifyApplications=function(){return r.Message.getBooleanFieldWithDefault(this,61,!1)},proto.pushwoosh.rpc_v2.accounts_get_auth_info.Account.prototype.setAceModifyApplications=function(e){return r.Message.setProto3BooleanField(this,61,e)},proto.pushwoosh.rpc_v2.accounts_get_auth_info.Account.prototype.getAceSeeAppGroups=function(){return r.Message.getBooleanFieldWithDefault(this,62,!1)},proto.pushwoosh.rpc_v2.accounts_get_auth_info.Account.prototype.setAceSeeAppGroups=function(e){return r.Message.setProto3BooleanField(this,62,e)},proto.pushwoosh.rpc_v2.accounts_get_auth_info.Account.prototype.getAceModifyAppGroups=function(){return r.Message.getBooleanFieldWithDefault(this,63,!1)},proto.pushwoosh.rpc_v2.accounts_get_auth_info.Account.prototype.setAceModifyAppGroups=function(e){return r.Message.setProto3BooleanField(this,63,e)},proto.pushwoosh.rpc_v2.accounts_get_auth_info.Account.prototype.getAceSeeMessages=function(){return r.Message.getBooleanFieldWithDefault(this,64,!1)},proto.pushwoosh.rpc_v2.accounts_get_auth_info.Account.prototype.setAceSeeMessages=function(e){return r.Message.setProto3BooleanField(this,64,e)},proto.pushwoosh.rpc_v2.accounts_get_auth_info.Account.prototype.getAceModifyMessages=function(){return r.Message.getBooleanFieldWithDefault(this,65,!1)},proto.pushwoosh.rpc_v2.accounts_get_auth_info.Account.prototype.setAceModifyMessages=function(e){return r.Message.setProto3BooleanField(this,65,e)},proto.pushwoosh.rpc_v2.accounts_get_auth_info.Account.prototype.getAceSendMessages=function(){return r.Message.getBooleanFieldWithDefault(this,66,!1)},proto.pushwoosh.rpc_v2.accounts_get_auth_info.Account.prototype.setAceSendMessages=function(e){return r.Message.setProto3BooleanField(this,66,e)},proto.pushwoosh.rpc_v2.accounts_get_auth_info.Account.prototype.getAceSeeFilters=function(){return r.Message.getBooleanFieldWithDefault(this,67,!1)},proto.pushwoosh.rpc_v2.accounts_get_auth_info.Account.prototype.setAceSeeFilters=function(e){return r.Message.setProto3BooleanField(this,67,e)},proto.pushwoosh.rpc_v2.accounts_get_auth_info.Account.prototype.getAceModifyFilters=function(){return r.Message.getBooleanFieldWithDefault(this,68,!1)},proto.pushwoosh.rpc_v2.accounts_get_auth_info.Account.prototype.setAceModifyFilters=function(e){return r.Message.setProto3BooleanField(this,68,e)},proto.pushwoosh.rpc_v2.accounts_get_auth_info.Account.prototype.getAceSeeTags=function(){return r.Message.getBooleanFieldWithDefault(this,69,!1)},proto.pushwoosh.rpc_v2.accounts_get_auth_info.Account.prototype.setAceSeeTags=function(e){return r.Message.setProto3BooleanField(this,69,e)},proto.pushwoosh.rpc_v2.accounts_get_auth_info.Account.prototype.getAceModifyTags=function(){return r.Message.getBooleanFieldWithDefault(this,70,!1)},proto.pushwoosh.rpc_v2.accounts_get_auth_info.Account.prototype.setAceModifyTags=function(e){return r.Message.setProto3BooleanField(this,70,e)},proto.pushwoosh.rpc_v2.accounts_get_auth_info.Account.prototype.getAceSeeRichMedia=function(){return r.Message.getBooleanFieldWithDefault(this,71,!1)},proto.pushwoosh.rpc_v2.accounts_get_auth_info.Account.prototype.setAceSeeRichMedia=function(e){return r.Message.setProto3BooleanField(this,71,e)},proto.pushwoosh.rpc_v2.accounts_get_auth_info.Account.prototype.getAceModifyRichMedia=function(){return r.Message.getBooleanFieldWithDefault(this,72,!1)},proto.pushwoosh.rpc_v2.accounts_get_auth_info.Account.prototype.setAceModifyRichMedia=function(e){return r.Message.setProto3BooleanField(this,72,e)},proto.pushwoosh.rpc_v2.accounts_get_auth_info.Account.prototype.getAceSeeEmailTemplates=function(){return r.Message.getBooleanFieldWithDefault(this,73,!1)},proto.pushwoosh.rpc_v2.accounts_get_auth_info.Account.prototype.setAceSeeEmailTemplates=function(e){return r.Message.setProto3BooleanField(this,73,e)},proto.pushwoosh.rpc_v2.accounts_get_auth_info.Account.prototype.getAceModifyEmailTemplates=function(){return r.Message.getBooleanFieldWithDefault(this,74,!1)},proto.pushwoosh.rpc_v2.accounts_get_auth_info.Account.prototype.setAceModifyEmailTemplates=function(e){return r.Message.setProto3BooleanField(this,74,e)},proto.pushwoosh.rpc_v2.accounts_get_auth_info.Account.prototype.getAceSuperRight=function(){return r.Message.getBooleanFieldWithDefault(this,75,!1)},proto.pushwoosh.rpc_v2.accounts_get_auth_info.Account.prototype.setAceSuperRight=function(e){return r.Message.setProto3BooleanField(this,75,e)},proto.pushwoosh.rpc_v2.accounts_get_auth_info.Account.prototype.getAceManageUsers=function(){return r.Message.getBooleanFieldWithDefault(this,76,!1)},proto.pushwoosh.rpc_v2.accounts_get_auth_info.Account.prototype.setAceManageUsers=function(e){return r.Message.setProto3BooleanField(this,76,e)},proto.pushwoosh.rpc_v2.accounts_get_auth_info.Account.prototype.getAceManageSubscription=function(){return r.Message.getBooleanFieldWithDefault(this,77,!1)},proto.pushwoosh.rpc_v2.accounts_get_auth_info.Account.prototype.setAceManageSubscription=function(e){return r.Message.setProto3BooleanField(this,77,e)},proto.pushwoosh.rpc_v2.accounts_get_auth_info.Account.prototype.getAceSeeApiAccess=function(){return r.Message.getBooleanFieldWithDefault(this,78,!1)},proto.pushwoosh.rpc_v2.accounts_get_auth_info.Account.prototype.setAceSeeApiAccess=function(e){return r.Message.setProto3BooleanField(this,78,e)},proto.pushwoosh.rpc_v2.accounts_get_auth_info.Account.prototype.getAceDomainAndEmailVerification=function(){return r.Message.getBooleanFieldWithDefault(this,79,!1)},proto.pushwoosh.rpc_v2.accounts_get_auth_info.Account.prototype.setAceDomainAndEmailVerification=function(e){return r.Message.setProto3BooleanField(this,79,e)},proto.pushwoosh.rpc_v2.accounts_get_auth_info.Account.prototype.getFreeEmailLimitUpdateDate=function(){return r.Message.getFieldWithDefault(this,80,"")},proto.pushwoosh.rpc_v2.accounts_get_auth_info.Account.prototype.setFreeEmailLimitUpdateDate=function(e){return r.Message.setProto3StringField(this,80,e)},proto.pushwoosh.rpc_v2.accounts_get_auth_info.Account.prototype.getPaidEmailExpireDate=function(){return r.Message.getFieldWithDefault(this,81,"")},proto.pushwoosh.rpc_v2.accounts_get_auth_info.Account.prototype.setPaidEmailExpireDate=function(e){return r.Message.setProto3StringField(this,81,e)},proto.pushwoosh.rpc_v2.accounts_get_auth_info.Account.prototype.getAllowedPlatformsList=function(){return r.Message.getRepeatedField(this,82)},proto.pushwoosh.rpc_v2.accounts_get_auth_info.Account.prototype.setAllowedPlatformsList=function(e){return r.Message.setField(this,82,e||[])},proto.pushwoosh.rpc_v2.accounts_get_auth_info.Account.prototype.addAllowedPlatforms=function(e,t){return r.Message.addToRepeatedField(this,82,e,t)},proto.pushwoosh.rpc_v2.accounts_get_auth_info.Account.prototype.clearAllowedPlatformsList=function(){return this.setAllowedPlatformsList([])},proto.pushwoosh.rpc_v2.accounts_get_auth_info.Account.prototype.getBillingAddress=function(){return r.Message.getWrapperField(this,g.BillingAddress,100)},proto.pushwoosh.rpc_v2.accounts_get_auth_info.Account.prototype.setBillingAddress=function(e){return r.Message.setWrapperField(this,100,e)},proto.pushwoosh.rpc_v2.accounts_get_auth_info.Account.prototype.clearBillingAddress=function(){return this.setBillingAddress(void 0)},proto.pushwoosh.rpc_v2.accounts_get_auth_info.Account.prototype.hasBillingAddress=function(){return null!=r.Message.getField(this,100)},proto.pushwoosh.rpc_v2.accounts_get_auth_info.Account.prototype.getCurrentOrder=function(){return r.Message.getWrapperField(this,proto.pushwoosh.rpc_v2.accounts_get_auth_info.Account.Order,101)},proto.pushwoosh.rpc_v2.accounts_get_auth_info.Account.prototype.setCurrentOrder=function(e){return r.Message.setWrapperField(this,101,e)},proto.pushwoosh.rpc_v2.accounts_get_auth_info.Account.prototype.clearCurrentOrder=function(){return this.setCurrentOrder(void 0)},proto.pushwoosh.rpc_v2.accounts_get_auth_info.Account.prototype.hasCurrentOrder=function(){return null!=r.Message.getField(this,101)},proto.pushwoosh.rpc_v2.accounts_get_auth_info.Account.prototype.getRestrictions=function(){return r.Message.getWrapperField(this,p.RestrictionValue,102)},proto.pushwoosh.rpc_v2.accounts_get_auth_info.Account.prototype.setRestrictions=function(e){return r.Message.setWrapperField(this,102,e)},proto.pushwoosh.rpc_v2.accounts_get_auth_info.Account.prototype.clearRestrictions=function(){return this.setRestrictions(void 0)},proto.pushwoosh.rpc_v2.accounts_get_auth_info.Account.prototype.hasRestrictions=function(){return null!=r.Message.getField(this,102)},s.object.extend(t,proto.pushwoosh.rpc_v2.accounts_get_auth_info)},3839:(e,t,o)=>{var r=o(3019),s=r,i=function(){return this?this:"undefined"!=typeof window?window:void 0!==i?i:"undefined"!=typeof self?self:Function("return this")()}.call(null),n=o(1134);s.object.extend(proto,n);var a=o(9469);s.object.extend(proto,a),s.exportSymbol("proto.pushwoosh.objects.restrictionValues.v1.RestrictionValue",null,i),s.exportSymbol("proto.pushwoosh.objects.restrictionValues.v1.__restrictionValue_model_internal",null,i),proto.pushwoosh.objects.restrictionValues.v1.__restrictionValue_model_internal=function(e){r.Message.initialize(this,e,0,-1,null,null)},s.inherits(proto.pushwoosh.objects.restrictionValues.v1.__restrictionValue_model_internal,r.Message),s.DEBUG&&!COMPILED&&(proto.pushwoosh.objects.restrictionValues.v1.__restrictionValue_model_internal.displayName="proto.pushwoosh.objects.restrictionValues.v1.__restrictionValue_model_internal"),proto.pushwoosh.objects.restrictionValues.v1.RestrictionValue=function(e){r.Message.initialize(this,e,0,-1,null,null)},s.inherits(proto.pushwoosh.objects.restrictionValues.v1.RestrictionValue,r.Message),s.DEBUG&&!COMPILED&&(proto.pushwoosh.objects.restrictionValues.v1.RestrictionValue.displayName="proto.pushwoosh.objects.restrictionValues.v1.RestrictionValue"),r.Message.GENERATE_TO_OBJECT&&(proto.pushwoosh.objects.restrictionValues.v1.__restrictionValue_model_internal.prototype.toObject=function(e){return proto.pushwoosh.objects.restrictionValues.v1.__restrictionValue_model_internal.toObject(e,this)},proto.pushwoosh.objects.restrictionValues.v1.__restrictionValue_model_internal.toObject=function(e,t){var o,r={f1:(o=t.getF1())&&a.StringValue.toObject(e,o),f2:(o=t.getF2())&&n.Timestamp.toObject(e,o)};return e&&(r.$jspbMessageInstance=t),r}),proto.pushwoosh.objects.restrictionValues.v1.__restrictionValue_model_internal.deserializeBinary=function(e){var t=new r.BinaryReader(e),o=new proto.pushwoosh.objects.restrictionValues.v1.__restrictionValue_model_internal;return proto.pushwoosh.objects.restrictionValues.v1.__restrictionValue_model_internal.deserializeBinaryFromReader(o,t)},proto.pushwoosh.objects.restrictionValues.v1.__restrictionValue_model_internal.deserializeBinaryFromReader=function(e,t){for(;t.nextField()&&!t.isEndGroup();){switch(t.getFieldNumber()){case 1:var o=new a.StringValue;t.readMessage(o,a.StringValue.deserializeBinaryFromReader),e.setF1(o);break;case 2:o=new n.Timestamp;t.readMessage(o,n.Timestamp.deserializeBinaryFromReader),e.setF2(o);break;default:t.skipField()}}return e},proto.pushwoosh.objects.restrictionValues.v1.__restrictionValue_model_internal.prototype.serializeBinary=function(){var e=new r.BinaryWriter;return proto.pushwoosh.objects.restrictionValues.v1.__restrictionValue_model_internal.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.pushwoosh.objects.restrictionValues.v1.__restrictionValue_model_internal.serializeBinaryToWriter=function(e,t){var o=void 0;null!=(o=e.getF1())&&t.writeMessage(1,o,a.StringValue.serializeBinaryToWriter),null!=(o=e.getF2())&&t.writeMessage(2,o,n.Timestamp.serializeBinaryToWriter)},proto.pushwoosh.objects.restrictionValues.v1.__restrictionValue_model_internal.prototype.getF1=function(){return r.Message.getWrapperField(this,a.StringValue,1)},proto.pushwoosh.objects.restrictionValues.v1.__restrictionValue_model_internal.prototype.setF1=function(e){return r.Message.setWrapperField(this,1,e)},proto.pushwoosh.objects.restrictionValues.v1.__restrictionValue_model_internal.prototype.clearF1=function(){return this.setF1(void 0)},proto.pushwoosh.objects.restrictionValues.v1.__restrictionValue_model_internal.prototype.hasF1=function(){return null!=r.Message.getField(this,1)},proto.pushwoosh.objects.restrictionValues.v1.__restrictionValue_model_internal.prototype.getF2=function(){return r.Message.getWrapperField(this,n.Timestamp,2)},proto.pushwoosh.objects.restrictionValues.v1.__restrictionValue_model_internal.prototype.setF2=function(e){return r.Message.setWrapperField(this,2,e)},proto.pushwoosh.objects.restrictionValues.v1.__restrictionValue_model_internal.prototype.clearF2=function(){return this.setF2(void 0)},proto.pushwoosh.objects.restrictionValues.v1.__restrictionValue_model_internal.prototype.hasF2=function(){return null!=r.Message.getField(this,2)},r.Message.GENERATE_TO_OBJECT&&(proto.pushwoosh.objects.restrictionValues.v1.RestrictionValue.prototype.toObject=function(e){return proto.pushwoosh.objects.restrictionValues.v1.RestrictionValue.toObject(e,this)},proto.pushwoosh.objects.restrictionValues.v1.RestrictionValue.toObject=function(e,t){var o={id:r.Message.getFieldWithDefault(t,1,0),islocked:r.Message.getBooleanFieldWithDefault(t,2,!1),maxcampaigns:r.Message.getFieldWithDefault(t,3,0),maxdeeplinks:r.Message.getFieldWithDefault(t,4,0),maxapplicationgroups:r.Message.getFieldWithDefault(t,5,0),maxapps:r.Message.getFieldWithDefault(t,6,0),maxtags:r.Message.getFieldWithDefault(t,7,0),maxgeozones:r.Message.getFieldWithDefault(t,8,0),maxdevices:r.Message.getFieldWithDefault(t,9,0),maxusers:r.Message.getFieldWithDefault(t,10,0),maxapitokens:r.Message.getFieldWithDefault(t,11,0),maxpresets:r.Message.getFieldWithDefault(t,12,0),maxtestdevices:r.Message.getFieldWithDefault(t,13,0),maxgeozonerange:r.Message.getFieldWithDefault(t,14,0),maxrssfeeds:r.Message.getFieldWithDefault(t,16,0),maxautopushes:r.Message.getFieldWithDefault(t,17,0),maxioscategories:r.Message.getFieldWithDefault(t,18,0),maxtwitterfeeds:r.Message.getFieldWithDefault(t,19,0),maxinapps:r.Message.getFieldWithDefault(t,20,0),maxevents:r.Message.getFieldWithDefault(t,21,0),maxcreatemessage:r.Message.getFieldWithDefault(t,22,0),maxrichmedia:r.Message.getFieldWithDefault(t,23,0),maxpreparedfilters:r.Message.getFieldWithDefault(t,24,0),maxfilters:r.Message.getFieldWithDefault(t,25,0),devicesinactivitylimit:r.Message.getFieldWithDefault(t,26,0),allowapi:r.Message.getBooleanFieldWithDefault(t,27,!1),allowstatsaccess:r.Message.getBooleanFieldWithDefault(t,28,!1),allowapistatsaccess:r.Message.getBooleanFieldWithDefault(t,29,!1),allowgeozoneapi:r.Message.getBooleanFieldWithDefault(t,30,!1),allowabtests:r.Message.getBooleanFieldWithDefault(t,32,!1),allowbackup:r.Message.getBooleanFieldWithDefault(t,34,!1),allowapplicationapi:r.Message.getBooleanFieldWithDefault(t,36,!1),allowremotepage:r.Message.getBooleanFieldWithDefault(t,37,!1),allowscheduling:r.Message.getBooleanFieldWithDefault(t,39,!1),allowcustomdata:r.Message.getBooleanFieldWithDefault(t,40,!1),allowmultilanguage:r.Message.getBooleanFieldWithDefault(t,41,!1),allowautoconfig:r.Message.getBooleanFieldWithDefault(t,42,!1),allowcsvmessage:r.Message.getBooleanFieldWithDefault(t,43,!1),allowcampaignapi:r.Message.getBooleanFieldWithDefault(t,44,!1),allowpushhistoryapi:r.Message.getBooleanFieldWithDefault(t,45,!1),allowtagsapi:r.Message.getBooleanFieldWithDefault(t,46,!1),allowpushbyuser:r.Message.getBooleanFieldWithDefault(t,47,!1),allowfilterapi:r.Message.getBooleanFieldWithDefault(t,48,!1),allowtwofactorauth:r.Message.getBooleanFieldWithDefault(t,49,!1),allowbroadcastmessagesegmentation:r.Message.getBooleanFieldWithDefault(t,51,!1),allowpushonevent:r.Message.getBooleanFieldWithDefault(t,52,!1),allowcompilefilter:r.Message.getBooleanFieldWithDefault(t,53,!1),minsendrate:r.Message.getFieldWithDefault(t,54,0),maxsendrate:r.Message.getFieldWithDefault(t,55,0),allowsendtogeozone:r.Message.getBooleanFieldWithDefault(t,56,!1),allowuseiosnewsstand:r.Message.getBooleanFieldWithDefault(t,57,!1),allowgetusersdetails:r.Message.getBooleanFieldWithDefault(t,58,!1),allowgoaltracking:r.Message.getBooleanFieldWithDefault(t,59,!1),allowieplatformusage:r.Message.getBooleanFieldWithDefault(t,60,!1),allowinbox:r.Message.getBooleanFieldWithDefault(t,65,!1),maxemailtemplates:r.Message.getFieldWithDefault(t,66,0),maxuserspecifictags:r.Message.getFieldWithDefault(t,67,0),allowgdpr:r.Message.getBooleanFieldWithDefault(t,68,!1),maxverifyingemails:r.Message.getFieldWithDefault(t,69,0),maxverifyingdomains:r.Message.getFieldWithDefault(t,70,0),allowsendexternalstats:r.Message.getBooleanFieldWithDefault(t,71,!1),allowcustomrsspollinginterval:r.Message.getBooleanFieldWithDefault(t,72,!1),allowmetadata:r.Message.getBooleanFieldWithDefault(t,73,!1),maxpushoneventdelayindays:r.Message.getFieldWithDefault(t,75,0),alloweventstatisticsapi:r.Message.getBooleanFieldWithDefault(t,76,!1),allowtagnotsetfilter:r.Message.getBooleanFieldWithDefault(t,77,!1),allowdebugmode:r.Message.getBooleanFieldWithDefault(t,79,!1),allowfbmessenger:r.Message.getBooleanFieldWithDefault(t,80,!1),allowtrackuninstalls:r.Message.getBooleanFieldWithDefault(t,82,!1),emailratecounteraggregateperiod:r.Message.getFieldWithDefault(t,84,0),emailbounceratelimit:r.Message.getFieldWithDefault(t,85,0),emailcomplaintratelimit:r.Message.getFieldWithDefault(t,86,0),allowfrequencycapping:r.Message.getBooleanFieldWithDefault(t,87,!1),maxusersperdevice:r.Message.getFieldWithDefault(t,88,0),emailsfreelimit:r.Message.getFieldWithDefault(t,89,0),emailslimited:r.Message.getBooleanFieldWithDefault(t,90,!1),allowcontenttemplates:r.Message.getBooleanFieldWithDefault(t,94,!1),allowbaiduandroidplatformusage:r.Message.getBooleanFieldWithDefault(t,95,!1),maxinboxttldays:r.Message.getFieldWithDefault(t,97,0),messagehistorystoreperiod:r.Message.getFieldWithDefault(t,105,0),allowapigetmessagelog:r.Message.getBooleanFieldWithDefault(t,106,!1),detailactionhistorystoreperiod:r.Message.getFieldWithDefault(t,107,0),allowcjwebhook:r.Message.getBooleanFieldWithDefault(t,108,!1),allowcjinapp:r.Message.getBooleanFieldWithDefault(t,109,!1),allowcjscheduledsegment:r.Message.getBooleanFieldWithDefault(t,110,!1),allowcjcontentpersonalization:r.Message.getBooleanFieldWithDefault(t,111,!1),allowcjsettags:r.Message.getBooleanFieldWithDefault(t,112,!1),allowcjdynamicdelay:r.Message.getBooleanFieldWithDefault(t,113,!1),allowcjsilenthours:r.Message.getBooleanFieldWithDefault(t,114,!1),allowcjfrequencycapping:r.Message.getBooleanFieldWithDefault(t,115,!1),allowshowdeliverystatistics:r.Message.getBooleanFieldWithDefault(t,116,!1),allowrfmsegments:r.Message.getBooleanFieldWithDefault(t,117,!1),allowbesttimetosend:r.Message.getBooleanFieldWithDefault(t,118,!1),alloweventsegmentation:r.Message.getBooleanFieldWithDefault(t,119,!1),allowsegmentsgroups:r.Message.getBooleanFieldWithDefault(t,120,!1),allowcustomerjourney:r.Message.getBooleanFieldWithDefault(t,121,!1),allowcjsms:r.Message.getBooleanFieldWithDefault(t,122,!1),allowcjapientry:r.Message.getBooleanFieldWithDefault(t,123,!1),allowcjdynamicsettagsinupdateprofile:r.Message.getBooleanFieldWithDefault(t,124,!1),allowcjaddbranchesinwaitfortrigger:r.Message.getBooleanFieldWithDefault(t,125,!1),alloweventsfunnel:r.Message.getBooleanFieldWithDefault(t,126,!1)};return e&&(o.$jspbMessageInstance=t),o}),proto.pushwoosh.objects.restrictionValues.v1.RestrictionValue.deserializeBinary=function(e){var t=new r.BinaryReader(e),o=new proto.pushwoosh.objects.restrictionValues.v1.RestrictionValue;return proto.pushwoosh.objects.restrictionValues.v1.RestrictionValue.deserializeBinaryFromReader(o,t)},proto.pushwoosh.objects.restrictionValues.v1.RestrictionValue.deserializeBinaryFromReader=function(e,t){for(;t.nextField()&&!t.isEndGroup();){switch(t.getFieldNumber()){case 1:var o=t.readUint64();e.setId(o);break;case 2:o=t.readBool();e.setIslocked(o);break;case 3:o=t.readInt64();e.setMaxcampaigns(o);break;case 4:o=t.readInt64();e.setMaxdeeplinks(o);break;case 5:o=t.readInt64();e.setMaxapplicationgroups(o);break;case 6:o=t.readInt64();e.setMaxapps(o);break;case 7:o=t.readInt64();e.setMaxtags(o);break;case 8:o=t.readInt64();e.setMaxgeozones(o);break;case 9:o=t.readInt64();e.setMaxdevices(o);break;case 10:o=t.readInt64();e.setMaxusers(o);break;case 11:o=t.readInt32();e.setMaxapitokens(o);break;case 12:o=t.readInt64();e.setMaxpresets(o);break;case 13:o=t.readInt64();e.setMaxtestdevices(o);break;case 14:o=t.readInt64();e.setMaxgeozonerange(o);break;case 16:o=t.readInt64();e.setMaxrssfeeds(o);break;case 17:o=t.readInt64();e.setMaxautopushes(o);break;case 18:o=t.readInt64();e.setMaxioscategories(o);break;case 19:o=t.readInt64();e.setMaxtwitterfeeds(o);break;case 20:o=t.readInt64();e.setMaxinapps(o);break;case 21:o=t.readInt64();e.setMaxevents(o);break;case 22:o=t.readInt64();e.setMaxcreatemessage(o);break;case 23:o=t.readInt64();e.setMaxrichmedia(o);break;case 24:o=t.readInt64();e.setMaxpreparedfilters(o);break;case 25:o=t.readInt64();e.setMaxfilters(o);break;case 26:o=t.readInt64();e.setDevicesinactivitylimit(o);break;case 27:o=t.readBool();e.setAllowapi(o);break;case 28:o=t.readBool();e.setAllowstatsaccess(o);break;case 29:o=t.readBool();e.setAllowapistatsaccess(o);break;case 30:o=t.readBool();e.setAllowgeozoneapi(o);break;case 32:o=t.readBool();e.setAllowabtests(o);break;case 34:o=t.readBool();e.setAllowbackup(o);break;case 36:o=t.readBool();e.setAllowapplicationapi(o);break;case 37:o=t.readBool();e.setAllowremotepage(o);break;case 39:o=t.readBool();e.setAllowscheduling(o);break;case 40:o=t.readBool();e.setAllowcustomdata(o);break;case 41:o=t.readBool();e.setAllowmultilanguage(o);break;case 42:o=t.readBool();e.setAllowautoconfig(o);break;case 43:o=t.readBool();e.setAllowcsvmessage(o);break;case 44:o=t.readBool();e.setAllowcampaignapi(o);break;case 45:o=t.readBool();e.setAllowpushhistoryapi(o);break;case 46:o=t.readBool();e.setAllowtagsapi(o);break;case 47:o=t.readBool();e.setAllowpushbyuser(o);break;case 48:o=t.readBool();e.setAllowfilterapi(o);break;case 49:o=t.readBool();e.setAllowtwofactorauth(o);break;case 51:o=t.readBool();e.setAllowbroadcastmessagesegmentation(o);break;case 52:o=t.readBool();e.setAllowpushonevent(o);break;case 53:o=t.readBool();e.setAllowcompilefilter(o);break;case 54:o=t.readInt64();e.setMinsendrate(o);break;case 55:o=t.readInt64();e.setMaxsendrate(o);break;case 56:o=t.readBool();e.setAllowsendtogeozone(o);break;case 57:o=t.readBool();e.setAllowuseiosnewsstand(o);break;case 58:o=t.readBool();e.setAllowgetusersdetails(o);break;case 59:o=t.readBool();e.setAllowgoaltracking(o);break;case 60:o=t.readBool();e.setAllowieplatformusage(o);break;case 65:o=t.readBool();e.setAllowinbox(o);break;case 66:o=t.readInt64();e.setMaxemailtemplates(o);break;case 67:o=t.readInt64();e.setMaxuserspecifictags(o);break;case 68:o=t.readBool();e.setAllowgdpr(o);break;case 69:o=t.readInt64();e.setMaxverifyingemails(o);break;case 70:o=t.readInt64();e.setMaxverifyingdomains(o);break;case 71:o=t.readBool();e.setAllowsendexternalstats(o);break;case 72:o=t.readBool();e.setAllowcustomrsspollinginterval(o);break;case 73:o=t.readBool();e.setAllowmetadata(o);break;case 75:o=t.readInt64();e.setMaxpushoneventdelayindays(o);break;case 76:o=t.readBool();e.setAlloweventstatisticsapi(o);break;case 77:o=t.readBool();e.setAllowtagnotsetfilter(o);break;case 79:o=t.readBool();e.setAllowdebugmode(o);break;case 80:o=t.readBool();e.setAllowfbmessenger(o);break;case 82:o=t.readBool();e.setAllowtrackuninstalls(o);break;case 84:o=t.readInt64();e.setEmailratecounteraggregateperiod(o);break;case 85:o=t.readInt64();e.setEmailbounceratelimit(o);break;case 86:o=t.readInt64();e.setEmailcomplaintratelimit(o);break;case 87:o=t.readBool();e.setAllowfrequencycapping(o);break;case 88:o=t.readInt64();e.setMaxusersperdevice(o);break;case 89:o=t.readInt64();e.setEmailsfreelimit(o);break;case 90:o=t.readBool();e.setEmailslimited(o);break;case 94:o=t.readBool();e.setAllowcontenttemplates(o);break;case 95:o=t.readBool();e.setAllowbaiduandroidplatformusage(o);break;case 97:o=t.readInt64();e.setMaxinboxttldays(o);break;case 105:o=t.readInt64();e.setMessagehistorystoreperiod(o);break;case 106:o=t.readBool();e.setAllowapigetmessagelog(o);break;case 107:o=t.readInt64();e.setDetailactionhistorystoreperiod(o);break;case 108:o=t.readBool();e.setAllowcjwebhook(o);break;case 109:o=t.readBool();e.setAllowcjinapp(o);break;case 110:o=t.readBool();e.setAllowcjscheduledsegment(o);break;case 111:o=t.readBool();e.setAllowcjcontentpersonalization(o);break;case 112:o=t.readBool();e.setAllowcjsettags(o);break;case 113:o=t.readBool();e.setAllowcjdynamicdelay(o);break;case 114:o=t.readBool();e.setAllowcjsilenthours(o);break;case 115:o=t.readBool();e.setAllowcjfrequencycapping(o);break;case 116:o=t.readBool();e.setAllowshowdeliverystatistics(o);break;case 117:o=t.readBool();e.setAllowrfmsegments(o);break;case 118:o=t.readBool();e.setAllowbesttimetosend(o);break;case 119:o=t.readBool();e.setAlloweventsegmentation(o);break;case 120:o=t.readBool();e.setAllowsegmentsgroups(o);break;case 121:o=t.readBool();e.setAllowcustomerjourney(o);break;case 122:o=t.readBool();e.setAllowcjsms(o);break;case 123:o=t.readBool();e.setAllowcjapientry(o);break;case 124:o=t.readBool();e.setAllowcjdynamicsettagsinupdateprofile(o);break;case 125:o=t.readBool();e.setAllowcjaddbranchesinwaitfortrigger(o);break;case 126:o=t.readBool();e.setAlloweventsfunnel(o);break;default:t.skipField()}}return e},proto.pushwoosh.objects.restrictionValues.v1.RestrictionValue.prototype.serializeBinary=function(){var e=new r.BinaryWriter;return proto.pushwoosh.objects.restrictionValues.v1.RestrictionValue.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.pushwoosh.objects.restrictionValues.v1.RestrictionValue.serializeBinaryToWriter=function(e,t){var o=void 0;0!==(o=e.getId())&&t.writeUint64(1,o),(o=e.getIslocked())&&t.writeBool(2,o),0!==(o=e.getMaxcampaigns())&&t.writeInt64(3,o),0!==(o=e.getMaxdeeplinks())&&t.writeInt64(4,o),0!==(o=e.getMaxapplicationgroups())&&t.writeInt64(5,o),0!==(o=e.getMaxapps())&&t.writeInt64(6,o),0!==(o=e.getMaxtags())&&t.writeInt64(7,o),0!==(o=e.getMaxgeozones())&&t.writeInt64(8,o),0!==(o=e.getMaxdevices())&&t.writeInt64(9,o),0!==(o=e.getMaxusers())&&t.writeInt64(10,o),0!==(o=e.getMaxapitokens())&&t.writeInt32(11,o),0!==(o=e.getMaxpresets())&&t.writeInt64(12,o),0!==(o=e.getMaxtestdevices())&&t.writeInt64(13,o),0!==(o=e.getMaxgeozonerange())&&t.writeInt64(14,o),0!==(o=e.getMaxrssfeeds())&&t.writeInt64(16,o),0!==(o=e.getMaxautopushes())&&t.writeInt64(17,o),0!==(o=e.getMaxioscategories())&&t.writeInt64(18,o),0!==(o=e.getMaxtwitterfeeds())&&t.writeInt64(19,o),0!==(o=e.getMaxinapps())&&t.writeInt64(20,o),0!==(o=e.getMaxevents())&&t.writeInt64(21,o),0!==(o=e.getMaxcreatemessage())&&t.writeInt64(22,o),0!==(o=e.getMaxrichmedia())&&t.writeInt64(23,o),0!==(o=e.getMaxpreparedfilters())&&t.writeInt64(24,o),0!==(o=e.getMaxfilters())&&t.writeInt64(25,o),0!==(o=e.getDevicesinactivitylimit())&&t.writeInt64(26,o),(o=e.getAllowapi())&&t.writeBool(27,o),(o=e.getAllowstatsaccess())&&t.writeBool(28,o),(o=e.getAllowapistatsaccess())&&t.writeBool(29,o),(o=e.getAllowgeozoneapi())&&t.writeBool(30,o),(o=e.getAllowabtests())&&t.writeBool(32,o),(o=e.getAllowbackup())&&t.writeBool(34,o),(o=e.getAllowapplicationapi())&&t.writeBool(36,o),(o=e.getAllowremotepage())&&t.writeBool(37,o),(o=e.getAllowscheduling())&&t.writeBool(39,o),(o=e.getAllowcustomdata())&&t.writeBool(40,o),(o=e.getAllowmultilanguage())&&t.writeBool(41,o),(o=e.getAllowautoconfig())&&t.writeBool(42,o),(o=e.getAllowcsvmessage())&&t.writeBool(43,o),(o=e.getAllowcampaignapi())&&t.writeBool(44,o),(o=e.getAllowpushhistoryapi())&&t.writeBool(45,o),(o=e.getAllowtagsapi())&&t.writeBool(46,o),(o=e.getAllowpushbyuser())&&t.writeBool(47,o),(o=e.getAllowfilterapi())&&t.writeBool(48,o),(o=e.getAllowtwofactorauth())&&t.writeBool(49,o),(o=e.getAllowbroadcastmessagesegmentation())&&t.writeBool(51,o),(o=e.getAllowpushonevent())&&t.writeBool(52,o),(o=e.getAllowcompilefilter())&&t.writeBool(53,o),0!==(o=e.getMinsendrate())&&t.writeInt64(54,o),0!==(o=e.getMaxsendrate())&&t.writeInt64(55,o),(o=e.getAllowsendtogeozone())&&t.writeBool(56,o),(o=e.getAllowuseiosnewsstand())&&t.writeBool(57,o),(o=e.getAllowgetusersdetails())&&t.writeBool(58,o),(o=e.getAllowgoaltracking())&&t.writeBool(59,o),(o=e.getAllowieplatformusage())&&t.writeBool(60,o),(o=e.getAllowinbox())&&t.writeBool(65,o),0!==(o=e.getMaxemailtemplates())&&t.writeInt64(66,o),0!==(o=e.getMaxuserspecifictags())&&t.writeInt64(67,o),(o=e.getAllowgdpr())&&t.writeBool(68,o),0!==(o=e.getMaxverifyingemails())&&t.writeInt64(69,o),0!==(o=e.getMaxverifyingdomains())&&t.writeInt64(70,o),(o=e.getAllowsendexternalstats())&&t.writeBool(71,o),(o=e.getAllowcustomrsspollinginterval())&&t.writeBool(72,o),(o=e.getAllowmetadata())&&t.writeBool(73,o),0!==(o=e.getMaxpushoneventdelayindays())&&t.writeInt64(75,o),(o=e.getAlloweventstatisticsapi())&&t.writeBool(76,o),(o=e.getAllowtagnotsetfilter())&&t.writeBool(77,o),(o=e.getAllowdebugmode())&&t.writeBool(79,o),(o=e.getAllowfbmessenger())&&t.writeBool(80,o),(o=e.getAllowtrackuninstalls())&&t.writeBool(82,o),0!==(o=e.getEmailratecounteraggregateperiod())&&t.writeInt64(84,o),0!==(o=e.getEmailbounceratelimit())&&t.writeInt64(85,o),0!==(o=e.getEmailcomplaintratelimit())&&t.writeInt64(86,o),(o=e.getAllowfrequencycapping())&&t.writeBool(87,o),0!==(o=e.getMaxusersperdevice())&&t.writeInt64(88,o),0!==(o=e.getEmailsfreelimit())&&t.writeInt64(89,o),(o=e.getEmailslimited())&&t.writeBool(90,o),(o=e.getAllowcontenttemplates())&&t.writeBool(94,o),(o=e.getAllowbaiduandroidplatformusage())&&t.writeBool(95,o),0!==(o=e.getMaxinboxttldays())&&t.writeInt64(97,o),0!==(o=e.getMessagehistorystoreperiod())&&t.writeInt64(105,o),(o=e.getAllowapigetmessagelog())&&t.writeBool(106,o),0!==(o=e.getDetailactionhistorystoreperiod())&&t.writeInt64(107,o),(o=e.getAllowcjwebhook())&&t.writeBool(108,o),(o=e.getAllowcjinapp())&&t.writeBool(109,o),(o=e.getAllowcjscheduledsegment())&&t.writeBool(110,o),(o=e.getAllowcjcontentpersonalization())&&t.writeBool(111,o),(o=e.getAllowcjsettags())&&t.writeBool(112,o),(o=e.getAllowcjdynamicdelay())&&t.writeBool(113,o),(o=e.getAllowcjsilenthours())&&t.writeBool(114,o),(o=e.getAllowcjfrequencycapping())&&t.writeBool(115,o),(o=e.getAllowshowdeliverystatistics())&&t.writeBool(116,o),(o=e.getAllowrfmsegments())&&t.writeBool(117,o),(o=e.getAllowbesttimetosend())&&t.writeBool(118,o),(o=e.getAlloweventsegmentation())&&t.writeBool(119,o),(o=e.getAllowsegmentsgroups())&&t.writeBool(120,o),(o=e.getAllowcustomerjourney())&&t.writeBool(121,o),(o=e.getAllowcjsms())&&t.writeBool(122,o),(o=e.getAllowcjapientry())&&t.writeBool(123,o),(o=e.getAllowcjdynamicsettagsinupdateprofile())&&t.writeBool(124,o),(o=e.getAllowcjaddbranchesinwaitfortrigger())&&t.writeBool(125,o),(o=e.getAlloweventsfunnel())&&t.writeBool(126,o)},proto.pushwoosh.objects.restrictionValues.v1.RestrictionValue.prototype.getId=function(){return r.Message.getFieldWithDefault(this,1,0)},proto.pushwoosh.objects.restrictionValues.v1.RestrictionValue.prototype.setId=function(e){return r.Message.setProto3IntField(this,1,e)},proto.pushwoosh.objects.restrictionValues.v1.RestrictionValue.prototype.getIslocked=function(){return r.Message.getBooleanFieldWithDefault(this,2,!1)},proto.pushwoosh.objects.restrictionValues.v1.RestrictionValue.prototype.setIslocked=function(e){return r.Message.setProto3BooleanField(this,2,e)},proto.pushwoosh.objects.restrictionValues.v1.RestrictionValue.prototype.getMaxcampaigns=function(){return r.Message.getFieldWithDefault(this,3,0)},proto.pushwoosh.objects.restrictionValues.v1.RestrictionValue.prototype.setMaxcampaigns=function(e){return r.Message.setProto3IntField(this,3,e)},proto.pushwoosh.objects.restrictionValues.v1.RestrictionValue.prototype.getMaxdeeplinks=function(){return r.Message.getFieldWithDefault(this,4,0)},proto.pushwoosh.objects.restrictionValues.v1.RestrictionValue.prototype.setMaxdeeplinks=function(e){return r.Message.setProto3IntField(this,4,e)},proto.pushwoosh.objects.restrictionValues.v1.RestrictionValue.prototype.getMaxapplicationgroups=function(){return r.Message.getFieldWithDefault(this,5,0)},proto.pushwoosh.objects.restrictionValues.v1.RestrictionValue.prototype.setMaxapplicationgroups=function(e){return r.Message.setProto3IntField(this,5,e)},proto.pushwoosh.objects.restrictionValues.v1.RestrictionValue.prototype.getMaxapps=function(){return r.Message.getFieldWithDefault(this,6,0)},proto.pushwoosh.objects.restrictionValues.v1.RestrictionValue.prototype.setMaxapps=function(e){return r.Message.setProto3IntField(this,6,e)},proto.pushwoosh.objects.restrictionValues.v1.RestrictionValue.prototype.getMaxtags=function(){return r.Message.getFieldWithDefault(this,7,0)},proto.pushwoosh.objects.restrictionValues.v1.RestrictionValue.prototype.setMaxtags=function(e){return r.Message.setProto3IntField(this,7,e)},proto.pushwoosh.objects.restrictionValues.v1.RestrictionValue.prototype.getMaxgeozones=function(){return r.Message.getFieldWithDefault(this,8,0)},proto.pushwoosh.objects.restrictionValues.v1.RestrictionValue.prototype.setMaxgeozones=function(e){return r.Message.setProto3IntField(this,8,e)},proto.pushwoosh.objects.restrictionValues.v1.RestrictionValue.prototype.getMaxdevices=function(){return r.Message.getFieldWithDefault(this,9,0)},proto.pushwoosh.objects.restrictionValues.v1.RestrictionValue.prototype.setMaxdevices=function(e){return r.Message.setProto3IntField(this,9,e)},proto.pushwoosh.objects.restrictionValues.v1.RestrictionValue.prototype.getMaxusers=function(){return r.Message.getFieldWithDefault(this,10,0)},proto.pushwoosh.objects.restrictionValues.v1.RestrictionValue.prototype.setMaxusers=function(e){return r.Message.setProto3IntField(this,10,e)},proto.pushwoosh.objects.restrictionValues.v1.RestrictionValue.prototype.getMaxapitokens=function(){return r.Message.getFieldWithDefault(this,11,0)},proto.pushwoosh.objects.restrictionValues.v1.RestrictionValue.prototype.setMaxapitokens=function(e){return r.Message.setProto3IntField(this,11,e)},proto.pushwoosh.objects.restrictionValues.v1.RestrictionValue.prototype.getMaxpresets=function(){return r.Message.getFieldWithDefault(this,12,0)},proto.pushwoosh.objects.restrictionValues.v1.RestrictionValue.prototype.setMaxpresets=function(e){return r.Message.setProto3IntField(this,12,e)},proto.pushwoosh.objects.restrictionValues.v1.RestrictionValue.prototype.getMaxtestdevices=function(){return r.Message.getFieldWithDefault(this,13,0)},proto.pushwoosh.objects.restrictionValues.v1.RestrictionValue.prototype.setMaxtestdevices=function(e){return r.Message.setProto3IntField(this,13,e)},proto.pushwoosh.objects.restrictionValues.v1.RestrictionValue.prototype.getMaxgeozonerange=function(){return r.Message.getFieldWithDefault(this,14,0)},proto.pushwoosh.objects.restrictionValues.v1.RestrictionValue.prototype.setMaxgeozonerange=function(e){return r.Message.setProto3IntField(this,14,e)},proto.pushwoosh.objects.restrictionValues.v1.RestrictionValue.prototype.getMaxrssfeeds=function(){return r.Message.getFieldWithDefault(this,16,0)},proto.pushwoosh.objects.restrictionValues.v1.RestrictionValue.prototype.setMaxrssfeeds=function(e){return r.Message.setProto3IntField(this,16,e)},proto.pushwoosh.objects.restrictionValues.v1.RestrictionValue.prototype.getMaxautopushes=function(){return r.Message.getFieldWithDefault(this,17,0)},proto.pushwoosh.objects.restrictionValues.v1.RestrictionValue.prototype.setMaxautopushes=function(e){return r.Message.setProto3IntField(this,17,e)},proto.pushwoosh.objects.restrictionValues.v1.RestrictionValue.prototype.getMaxioscategories=function(){return r.Message.getFieldWithDefault(this,18,0)},proto.pushwoosh.objects.restrictionValues.v1.RestrictionValue.prototype.setMaxioscategories=function(e){return r.Message.setProto3IntField(this,18,e)},proto.pushwoosh.objects.restrictionValues.v1.RestrictionValue.prototype.getMaxtwitterfeeds=function(){return r.Message.getFieldWithDefault(this,19,0)},proto.pushwoosh.objects.restrictionValues.v1.RestrictionValue.prototype.setMaxtwitterfeeds=function(e){return r.Message.setProto3IntField(this,19,e)},proto.pushwoosh.objects.restrictionValues.v1.RestrictionValue.prototype.getMaxinapps=function(){return r.Message.getFieldWithDefault(this,20,0)},proto.pushwoosh.objects.restrictionValues.v1.RestrictionValue.prototype.setMaxinapps=function(e){return r.Message.setProto3IntField(this,20,e)},proto.pushwoosh.objects.restrictionValues.v1.RestrictionValue.prototype.getMaxevents=function(){return r.Message.getFieldWithDefault(this,21,0)},proto.pushwoosh.objects.restrictionValues.v1.RestrictionValue.prototype.setMaxevents=function(e){return r.Message.setProto3IntField(this,21,e)},proto.pushwoosh.objects.restrictionValues.v1.RestrictionValue.prototype.getMaxcreatemessage=function(){return r.Message.getFieldWithDefault(this,22,0)},proto.pushwoosh.objects.restrictionValues.v1.RestrictionValue.prototype.setMaxcreatemessage=function(e){return r.Message.setProto3IntField(this,22,e)},proto.pushwoosh.objects.restrictionValues.v1.RestrictionValue.prototype.getMaxrichmedia=function(){return r.Message.getFieldWithDefault(this,23,0)},proto.pushwoosh.objects.restrictionValues.v1.RestrictionValue.prototype.setMaxrichmedia=function(e){return r.Message.setProto3IntField(this,23,e)},proto.pushwoosh.objects.restrictionValues.v1.RestrictionValue.prototype.getMaxpreparedfilters=function(){return r.Message.getFieldWithDefault(this,24,0)},proto.pushwoosh.objects.restrictionValues.v1.RestrictionValue.prototype.setMaxpreparedfilters=function(e){return r.Message.setProto3IntField(this,24,e)},proto.pushwoosh.objects.restrictionValues.v1.RestrictionValue.prototype.getMaxfilters=function(){return r.Message.getFieldWithDefault(this,25,0)},proto.pushwoosh.objects.restrictionValues.v1.RestrictionValue.prototype.setMaxfilters=function(e){return r.Message.setProto3IntField(this,25,e)},proto.pushwoosh.objects.restrictionValues.v1.RestrictionValue.prototype.getDevicesinactivitylimit=function(){return r.Message.getFieldWithDefault(this,26,0)},proto.pushwoosh.objects.restrictionValues.v1.RestrictionValue.prototype.setDevicesinactivitylimit=function(e){return r.Message.setProto3IntField(this,26,e)},proto.pushwoosh.objects.restrictionValues.v1.RestrictionValue.prototype.getAllowapi=function(){return r.Message.getBooleanFieldWithDefault(this,27,!1)},proto.pushwoosh.objects.restrictionValues.v1.RestrictionValue.prototype.setAllowapi=function(e){return r.Message.setProto3BooleanField(this,27,e)},proto.pushwoosh.objects.restrictionValues.v1.RestrictionValue.prototype.getAllowstatsaccess=function(){return r.Message.getBooleanFieldWithDefault(this,28,!1)},proto.pushwoosh.objects.restrictionValues.v1.RestrictionValue.prototype.setAllowstatsaccess=function(e){return r.Message.setProto3BooleanField(this,28,e)},proto.pushwoosh.objects.restrictionValues.v1.RestrictionValue.prototype.getAllowapistatsaccess=function(){return r.Message.getBooleanFieldWithDefault(this,29,!1)},proto.pushwoosh.objects.restrictionValues.v1.RestrictionValue.prototype.setAllowapistatsaccess=function(e){return r.Message.setProto3BooleanField(this,29,e)},proto.pushwoosh.objects.restrictionValues.v1.RestrictionValue.prototype.getAllowgeozoneapi=function(){return r.Message.getBooleanFieldWithDefault(this,30,!1)},proto.pushwoosh.objects.restrictionValues.v1.RestrictionValue.prototype.setAllowgeozoneapi=function(e){return r.Message.setProto3BooleanField(this,30,e)},proto.pushwoosh.objects.restrictionValues.v1.RestrictionValue.prototype.getAllowabtests=function(){return r.Message.getBooleanFieldWithDefault(this,32,!1)},proto.pushwoosh.objects.restrictionValues.v1.RestrictionValue.prototype.setAllowabtests=function(e){return r.Message.setProto3BooleanField(this,32,e)},proto.pushwoosh.objects.restrictionValues.v1.RestrictionValue.prototype.getAllowbackup=function(){return r.Message.getBooleanFieldWithDefault(this,34,!1)},proto.pushwoosh.objects.restrictionValues.v1.RestrictionValue.prototype.setAllowbackup=function(e){return r.Message.setProto3BooleanField(this,34,e)},proto.pushwoosh.objects.restrictionValues.v1.RestrictionValue.prototype.getAllowapplicationapi=function(){return r.Message.getBooleanFieldWithDefault(this,36,!1)},proto.pushwoosh.objects.restrictionValues.v1.RestrictionValue.prototype.setAllowapplicationapi=function(e){return r.Message.setProto3BooleanField(this,36,e)},proto.pushwoosh.objects.restrictionValues.v1.RestrictionValue.prototype.getAllowremotepage=function(){return r.Message.getBooleanFieldWithDefault(this,37,!1)},proto.pushwoosh.objects.restrictionValues.v1.RestrictionValue.prototype.setAllowremotepage=function(e){return r.Message.setProto3BooleanField(this,37,e)},proto.pushwoosh.objects.restrictionValues.v1.RestrictionValue.prototype.getAllowscheduling=function(){return r.Message.getBooleanFieldWithDefault(this,39,!1)},proto.pushwoosh.objects.restrictionValues.v1.RestrictionValue.prototype.setAllowscheduling=function(e){return r.Message.setProto3BooleanField(this,39,e)},proto.pushwoosh.objects.restrictionValues.v1.RestrictionValue.prototype.getAllowcustomdata=function(){return r.Message.getBooleanFieldWithDefault(this,40,!1)},proto.pushwoosh.objects.restrictionValues.v1.RestrictionValue.prototype.setAllowcustomdata=function(e){return r.Message.setProto3BooleanField(this,40,e)},proto.pushwoosh.objects.restrictionValues.v1.RestrictionValue.prototype.getAllowmultilanguage=function(){return r.Message.getBooleanFieldWithDefault(this,41,!1)},proto.pushwoosh.objects.restrictionValues.v1.RestrictionValue.prototype.setAllowmultilanguage=function(e){return r.Message.setProto3BooleanField(this,41,e)},proto.pushwoosh.objects.restrictionValues.v1.RestrictionValue.prototype.getAllowautoconfig=function(){return r.Message.getBooleanFieldWithDefault(this,42,!1)},proto.pushwoosh.objects.restrictionValues.v1.RestrictionValue.prototype.setAllowautoconfig=function(e){return r.Message.setProto3BooleanField(this,42,e)},proto.pushwoosh.objects.restrictionValues.v1.RestrictionValue.prototype.getAllowcsvmessage=function(){return r.Message.getBooleanFieldWithDefault(this,43,!1)},proto.pushwoosh.objects.restrictionValues.v1.RestrictionValue.prototype.setAllowcsvmessage=function(e){return r.Message.setProto3BooleanField(this,43,e)},proto.pushwoosh.objects.restrictionValues.v1.RestrictionValue.prototype.getAllowcampaignapi=function(){return r.Message.getBooleanFieldWithDefault(this,44,!1)},proto.pushwoosh.objects.restrictionValues.v1.RestrictionValue.prototype.setAllowcampaignapi=function(e){return r.Message.setProto3BooleanField(this,44,e)},proto.pushwoosh.objects.restrictionValues.v1.RestrictionValue.prototype.getAllowpushhistoryapi=function(){return r.Message.getBooleanFieldWithDefault(this,45,!1)},proto.pushwoosh.objects.restrictionValues.v1.RestrictionValue.prototype.setAllowpushhistoryapi=function(e){return r.Message.setProto3BooleanField(this,45,e)},proto.pushwoosh.objects.restrictionValues.v1.RestrictionValue.prototype.getAllowtagsapi=function(){return r.Message.getBooleanFieldWithDefault(this,46,!1)},proto.pushwoosh.objects.restrictionValues.v1.RestrictionValue.prototype.setAllowtagsapi=function(e){return r.Message.setProto3BooleanField(this,46,e)},proto.pushwoosh.objects.restrictionValues.v1.RestrictionValue.prototype.getAllowpushbyuser=function(){return r.Message.getBooleanFieldWithDefault(this,47,!1)},proto.pushwoosh.objects.restrictionValues.v1.RestrictionValue.prototype.setAllowpushbyuser=function(e){return r.Message.setProto3BooleanField(this,47,e)},proto.pushwoosh.objects.restrictionValues.v1.RestrictionValue.prototype.getAllowfilterapi=function(){return r.Message.getBooleanFieldWithDefault(this,48,!1)},proto.pushwoosh.objects.restrictionValues.v1.RestrictionValue.prototype.setAllowfilterapi=function(e){return r.Message.setProto3BooleanField(this,48,e)},proto.pushwoosh.objects.restrictionValues.v1.RestrictionValue.prototype.getAllowtwofactorauth=function(){return r.Message.getBooleanFieldWithDefault(this,49,!1)},proto.pushwoosh.objects.restrictionValues.v1.RestrictionValue.prototype.setAllowtwofactorauth=function(e){return r.Message.setProto3BooleanField(this,49,e)},proto.pushwoosh.objects.restrictionValues.v1.RestrictionValue.prototype.getAllowbroadcastmessagesegmentation=function(){return r.Message.getBooleanFieldWithDefault(this,51,!1)},proto.pushwoosh.objects.restrictionValues.v1.RestrictionValue.prototype.setAllowbroadcastmessagesegmentation=function(e){return r.Message.setProto3BooleanField(this,51,e)},proto.pushwoosh.objects.restrictionValues.v1.RestrictionValue.prototype.getAllowpushonevent=function(){return r.Message.getBooleanFieldWithDefault(this,52,!1)},proto.pushwoosh.objects.restrictionValues.v1.RestrictionValue.prototype.setAllowpushonevent=function(e){return r.Message.setProto3BooleanField(this,52,e)},proto.pushwoosh.objects.restrictionValues.v1.RestrictionValue.prototype.getAllowcompilefilter=function(){return r.Message.getBooleanFieldWithDefault(this,53,!1)},proto.pushwoosh.objects.restrictionValues.v1.RestrictionValue.prototype.setAllowcompilefilter=function(e){return r.Message.setProto3BooleanField(this,53,e)},proto.pushwoosh.objects.restrictionValues.v1.RestrictionValue.prototype.getMinsendrate=function(){return r.Message.getFieldWithDefault(this,54,0)},proto.pushwoosh.objects.restrictionValues.v1.RestrictionValue.prototype.setMinsendrate=function(e){return r.Message.setProto3IntField(this,54,e)},proto.pushwoosh.objects.restrictionValues.v1.RestrictionValue.prototype.getMaxsendrate=function(){return r.Message.getFieldWithDefault(this,55,0)},proto.pushwoosh.objects.restrictionValues.v1.RestrictionValue.prototype.setMaxsendrate=function(e){return r.Message.setProto3IntField(this,55,e)},proto.pushwoosh.objects.restrictionValues.v1.RestrictionValue.prototype.getAllowsendtogeozone=function(){return r.Message.getBooleanFieldWithDefault(this,56,!1)},proto.pushwoosh.objects.restrictionValues.v1.RestrictionValue.prototype.setAllowsendtogeozone=function(e){return r.Message.setProto3BooleanField(this,56,e)},proto.pushwoosh.objects.restrictionValues.v1.RestrictionValue.prototype.getAllowuseiosnewsstand=function(){return r.Message.getBooleanFieldWithDefault(this,57,!1)},proto.pushwoosh.objects.restrictionValues.v1.RestrictionValue.prototype.setAllowuseiosnewsstand=function(e){return r.Message.setProto3BooleanField(this,57,e)},proto.pushwoosh.objects.restrictionValues.v1.RestrictionValue.prototype.getAllowgetusersdetails=function(){return r.Message.getBooleanFieldWithDefault(this,58,!1)},proto.pushwoosh.objects.restrictionValues.v1.RestrictionValue.prototype.setAllowgetusersdetails=function(e){return r.Message.setProto3BooleanField(this,58,e)},proto.pushwoosh.objects.restrictionValues.v1.RestrictionValue.prototype.getAllowgoaltracking=function(){return r.Message.getBooleanFieldWithDefault(this,59,!1)},proto.pushwoosh.objects.restrictionValues.v1.RestrictionValue.prototype.setAllowgoaltracking=function(e){return r.Message.setProto3BooleanField(this,59,e)},proto.pushwoosh.objects.restrictionValues.v1.RestrictionValue.prototype.getAllowieplatformusage=function(){return r.Message.getBooleanFieldWithDefault(this,60,!1)},proto.pushwoosh.objects.restrictionValues.v1.RestrictionValue.prototype.setAllowieplatformusage=function(e){return r.Message.setProto3BooleanField(this,60,e)},proto.pushwoosh.objects.restrictionValues.v1.RestrictionValue.prototype.getAllowinbox=function(){return r.Message.getBooleanFieldWithDefault(this,65,!1)},proto.pushwoosh.objects.restrictionValues.v1.RestrictionValue.prototype.setAllowinbox=function(e){return r.Message.setProto3BooleanField(this,65,e)},proto.pushwoosh.objects.restrictionValues.v1.RestrictionValue.prototype.getMaxemailtemplates=function(){return r.Message.getFieldWithDefault(this,66,0)},proto.pushwoosh.objects.restrictionValues.v1.RestrictionValue.prototype.setMaxemailtemplates=function(e){return r.Message.setProto3IntField(this,66,e)},proto.pushwoosh.objects.restrictionValues.v1.RestrictionValue.prototype.getMaxuserspecifictags=function(){return r.Message.getFieldWithDefault(this,67,0)},proto.pushwoosh.objects.restrictionValues.v1.RestrictionValue.prototype.setMaxuserspecifictags=function(e){return r.Message.setProto3IntField(this,67,e)},proto.pushwoosh.objects.restrictionValues.v1.RestrictionValue.prototype.getAllowgdpr=function(){return r.Message.getBooleanFieldWithDefault(this,68,!1)},proto.pushwoosh.objects.restrictionValues.v1.RestrictionValue.prototype.setAllowgdpr=function(e){return r.Message.setProto3BooleanField(this,68,e)},proto.pushwoosh.objects.restrictionValues.v1.RestrictionValue.prototype.getMaxverifyingemails=function(){return r.Message.getFieldWithDefault(this,69,0)},proto.pushwoosh.objects.restrictionValues.v1.RestrictionValue.prototype.setMaxverifyingemails=function(e){return r.Message.setProto3IntField(this,69,e)},proto.pushwoosh.objects.restrictionValues.v1.RestrictionValue.prototype.getMaxverifyingdomains=function(){return r.Message.getFieldWithDefault(this,70,0)},proto.pushwoosh.objects.restrictionValues.v1.RestrictionValue.prototype.setMaxverifyingdomains=function(e){return r.Message.setProto3IntField(this,70,e)},proto.pushwoosh.objects.restrictionValues.v1.RestrictionValue.prototype.getAllowsendexternalstats=function(){return r.Message.getBooleanFieldWithDefault(this,71,!1)},proto.pushwoosh.objects.restrictionValues.v1.RestrictionValue.prototype.setAllowsendexternalstats=function(e){return r.Message.setProto3BooleanField(this,71,e)},proto.pushwoosh.objects.restrictionValues.v1.RestrictionValue.prototype.getAllowcustomrsspollinginterval=function(){return r.Message.getBooleanFieldWithDefault(this,72,!1)},proto.pushwoosh.objects.restrictionValues.v1.RestrictionValue.prototype.setAllowcustomrsspollinginterval=function(e){return r.Message.setProto3BooleanField(this,72,e)},proto.pushwoosh.objects.restrictionValues.v1.RestrictionValue.prototype.getAllowmetadata=function(){return r.Message.getBooleanFieldWithDefault(this,73,!1)},proto.pushwoosh.objects.restrictionValues.v1.RestrictionValue.prototype.setAllowmetadata=function(e){return r.Message.setProto3BooleanField(this,73,e)},proto.pushwoosh.objects.restrictionValues.v1.RestrictionValue.prototype.getMaxpushoneventdelayindays=function(){return r.Message.getFieldWithDefault(this,75,0)},proto.pushwoosh.objects.restrictionValues.v1.RestrictionValue.prototype.setMaxpushoneventdelayindays=function(e){return r.Message.setProto3IntField(this,75,e)},proto.pushwoosh.objects.restrictionValues.v1.RestrictionValue.prototype.getAlloweventstatisticsapi=function(){return r.Message.getBooleanFieldWithDefault(this,76,!1)},proto.pushwoosh.objects.restrictionValues.v1.RestrictionValue.prototype.setAlloweventstatisticsapi=function(e){return r.Message.setProto3BooleanField(this,76,e)},proto.pushwoosh.objects.restrictionValues.v1.RestrictionValue.prototype.getAllowtagnotsetfilter=function(){return r.Message.getBooleanFieldWithDefault(this,77,!1)},proto.pushwoosh.objects.restrictionValues.v1.RestrictionValue.prototype.setAllowtagnotsetfilter=function(e){return r.Message.setProto3BooleanField(this,77,e)},proto.pushwoosh.objects.restrictionValues.v1.RestrictionValue.prototype.getAllowdebugmode=function(){return r.Message.getBooleanFieldWithDefault(this,79,!1)},proto.pushwoosh.objects.restrictionValues.v1.RestrictionValue.prototype.setAllowdebugmode=function(e){return r.Message.setProto3BooleanField(this,79,e)},proto.pushwoosh.objects.restrictionValues.v1.RestrictionValue.prototype.getAllowfbmessenger=function(){return r.Message.getBooleanFieldWithDefault(this,80,!1)},proto.pushwoosh.objects.restrictionValues.v1.RestrictionValue.prototype.setAllowfbmessenger=function(e){return r.Message.setProto3BooleanField(this,80,e)},proto.pushwoosh.objects.restrictionValues.v1.RestrictionValue.prototype.getAllowtrackuninstalls=function(){return r.Message.getBooleanFieldWithDefault(this,82,!1)},proto.pushwoosh.objects.restrictionValues.v1.RestrictionValue.prototype.setAllowtrackuninstalls=function(e){return r.Message.setProto3BooleanField(this,82,e)},proto.pushwoosh.objects.restrictionValues.v1.RestrictionValue.prototype.getEmailratecounteraggregateperiod=function(){return r.Message.getFieldWithDefault(this,84,0)},proto.pushwoosh.objects.restrictionValues.v1.RestrictionValue.prototype.setEmailratecounteraggregateperiod=function(e){return r.Message.setProto3IntField(this,84,e)},proto.pushwoosh.objects.restrictionValues.v1.RestrictionValue.prototype.getEmailbounceratelimit=function(){return r.Message.getFieldWithDefault(this,85,0)},proto.pushwoosh.objects.restrictionValues.v1.RestrictionValue.prototype.setEmailbounceratelimit=function(e){return r.Message.setProto3IntField(this,85,e)},proto.pushwoosh.objects.restrictionValues.v1.RestrictionValue.prototype.getEmailcomplaintratelimit=function(){return r.Message.getFieldWithDefault(this,86,0)},proto.pushwoosh.objects.restrictionValues.v1.RestrictionValue.prototype.setEmailcomplaintratelimit=function(e){return r.Message.setProto3IntField(this,86,e)},proto.pushwoosh.objects.restrictionValues.v1.RestrictionValue.prototype.getAllowfrequencycapping=function(){return r.Message.getBooleanFieldWithDefault(this,87,!1)},proto.pushwoosh.objects.restrictionValues.v1.RestrictionValue.prototype.setAllowfrequencycapping=function(e){return r.Message.setProto3BooleanField(this,87,e)},proto.pushwoosh.objects.restrictionValues.v1.RestrictionValue.prototype.getMaxusersperdevice=function(){return r.Message.getFieldWithDefault(this,88,0)},proto.pushwoosh.objects.restrictionValues.v1.RestrictionValue.prototype.setMaxusersperdevice=function(e){return r.Message.setProto3IntField(this,88,e)},proto.pushwoosh.objects.restrictionValues.v1.RestrictionValue.prototype.getEmailsfreelimit=function(){return r.Message.getFieldWithDefault(this,89,0)},proto.pushwoosh.objects.restrictionValues.v1.RestrictionValue.prototype.setEmailsfreelimit=function(e){return r.Message.setProto3IntField(this,89,e)},proto.pushwoosh.objects.restrictionValues.v1.RestrictionValue.prototype.getEmailslimited=function(){return r.Message.getBooleanFieldWithDefault(this,90,!1)},proto.pushwoosh.objects.restrictionValues.v1.RestrictionValue.prototype.setEmailslimited=function(e){return r.Message.setProto3BooleanField(this,90,e)},proto.pushwoosh.objects.restrictionValues.v1.RestrictionValue.prototype.getAllowcontenttemplates=function(){return r.Message.getBooleanFieldWithDefault(this,94,!1)},proto.pushwoosh.objects.restrictionValues.v1.RestrictionValue.prototype.setAllowcontenttemplates=function(e){return r.Message.setProto3BooleanField(this,94,e)},proto.pushwoosh.objects.restrictionValues.v1.RestrictionValue.prototype.getAllowbaiduandroidplatformusage=function(){return r.Message.getBooleanFieldWithDefault(this,95,!1)},proto.pushwoosh.objects.restrictionValues.v1.RestrictionValue.prototype.setAllowbaiduandroidplatformusage=function(e){return r.Message.setProto3BooleanField(this,95,e)},proto.pushwoosh.objects.restrictionValues.v1.RestrictionValue.prototype.getMaxinboxttldays=function(){return r.Message.getFieldWithDefault(this,97,0)},proto.pushwoosh.objects.restrictionValues.v1.RestrictionValue.prototype.setMaxinboxttldays=function(e){return r.Message.setProto3IntField(this,97,e)},proto.pushwoosh.objects.restrictionValues.v1.RestrictionValue.prototype.getMessagehistorystoreperiod=function(){return r.Message.getFieldWithDefault(this,105,0)},proto.pushwoosh.objects.restrictionValues.v1.RestrictionValue.prototype.setMessagehistorystoreperiod=function(e){return r.Message.setProto3IntField(this,105,e)},proto.pushwoosh.objects.restrictionValues.v1.RestrictionValue.prototype.getAllowapigetmessagelog=function(){return r.Message.getBooleanFieldWithDefault(this,106,!1)},proto.pushwoosh.objects.restrictionValues.v1.RestrictionValue.prototype.setAllowapigetmessagelog=function(e){return r.Message.setProto3BooleanField(this,106,e)},proto.pushwoosh.objects.restrictionValues.v1.RestrictionValue.prototype.getDetailactionhistorystoreperiod=function(){return r.Message.getFieldWithDefault(this,107,0)},proto.pushwoosh.objects.restrictionValues.v1.RestrictionValue.prototype.setDetailactionhistorystoreperiod=function(e){return r.Message.setProto3IntField(this,107,e)},proto.pushwoosh.objects.restrictionValues.v1.RestrictionValue.prototype.getAllowcjwebhook=function(){return r.Message.getBooleanFieldWithDefault(this,108,!1)},proto.pushwoosh.objects.restrictionValues.v1.RestrictionValue.prototype.setAllowcjwebhook=function(e){return r.Message.setProto3BooleanField(this,108,e)},proto.pushwoosh.objects.restrictionValues.v1.RestrictionValue.prototype.getAllowcjinapp=function(){return r.Message.getBooleanFieldWithDefault(this,109,!1)},proto.pushwoosh.objects.restrictionValues.v1.RestrictionValue.prototype.setAllowcjinapp=function(e){return r.Message.setProto3BooleanField(this,109,e)},proto.pushwoosh.objects.restrictionValues.v1.RestrictionValue.prototype.getAllowcjscheduledsegment=function(){return r.Message.getBooleanFieldWithDefault(this,110,!1)},proto.pushwoosh.objects.restrictionValues.v1.RestrictionValue.prototype.setAllowcjscheduledsegment=function(e){return r.Message.setProto3BooleanField(this,110,e)},proto.pushwoosh.objects.restrictionValues.v1.RestrictionValue.prototype.getAllowcjcontentpersonalization=function(){return r.Message.getBooleanFieldWithDefault(this,111,!1)},proto.pushwoosh.objects.restrictionValues.v1.RestrictionValue.prototype.setAllowcjcontentpersonalization=function(e){return r.Message.setProto3BooleanField(this,111,e)},proto.pushwoosh.objects.restrictionValues.v1.RestrictionValue.prototype.getAllowcjsettags=function(){return r.Message.getBooleanFieldWithDefault(this,112,!1)},proto.pushwoosh.objects.restrictionValues.v1.RestrictionValue.prototype.setAllowcjsettags=function(e){return r.Message.setProto3BooleanField(this,112,e)},proto.pushwoosh.objects.restrictionValues.v1.RestrictionValue.prototype.getAllowcjdynamicdelay=function(){return r.Message.getBooleanFieldWithDefault(this,113,!1)},proto.pushwoosh.objects.restrictionValues.v1.RestrictionValue.prototype.setAllowcjdynamicdelay=function(e){return r.Message.setProto3BooleanField(this,113,e)},proto.pushwoosh.objects.restrictionValues.v1.RestrictionValue.prototype.getAllowcjsilenthours=function(){return r.Message.getBooleanFieldWithDefault(this,114,!1)},proto.pushwoosh.objects.restrictionValues.v1.RestrictionValue.prototype.setAllowcjsilenthours=function(e){return r.Message.setProto3BooleanField(this,114,e)},proto.pushwoosh.objects.restrictionValues.v1.RestrictionValue.prototype.getAllowcjfrequencycapping=function(){return r.Message.getBooleanFieldWithDefault(this,115,!1)},proto.pushwoosh.objects.restrictionValues.v1.RestrictionValue.prototype.setAllowcjfrequencycapping=function(e){return r.Message.setProto3BooleanField(this,115,e)},proto.pushwoosh.objects.restrictionValues.v1.RestrictionValue.prototype.getAllowshowdeliverystatistics=function(){return r.Message.getBooleanFieldWithDefault(this,116,!1)},proto.pushwoosh.objects.restrictionValues.v1.RestrictionValue.prototype.setAllowshowdeliverystatistics=function(e){return r.Message.setProto3BooleanField(this,116,e)},proto.pushwoosh.objects.restrictionValues.v1.RestrictionValue.prototype.getAllowrfmsegments=function(){return r.Message.getBooleanFieldWithDefault(this,117,!1)},proto.pushwoosh.objects.restrictionValues.v1.RestrictionValue.prototype.setAllowrfmsegments=function(e){return r.Message.setProto3BooleanField(this,117,e)},proto.pushwoosh.objects.restrictionValues.v1.RestrictionValue.prototype.getAllowbesttimetosend=function(){return r.Message.getBooleanFieldWithDefault(this,118,!1)},proto.pushwoosh.objects.restrictionValues.v1.RestrictionValue.prototype.setAllowbesttimetosend=function(e){return r.Message.setProto3BooleanField(this,118,e)},proto.pushwoosh.objects.restrictionValues.v1.RestrictionValue.prototype.getAlloweventsegmentation=function(){return r.Message.getBooleanFieldWithDefault(this,119,!1)},proto.pushwoosh.objects.restrictionValues.v1.RestrictionValue.prototype.setAlloweventsegmentation=function(e){return r.Message.setProto3BooleanField(this,119,e)},proto.pushwoosh.objects.restrictionValues.v1.RestrictionValue.prototype.getAllowsegmentsgroups=function(){return r.Message.getBooleanFieldWithDefault(this,120,!1)},proto.pushwoosh.objects.restrictionValues.v1.RestrictionValue.prototype.setAllowsegmentsgroups=function(e){return r.Message.setProto3BooleanField(this,120,e)},proto.pushwoosh.objects.restrictionValues.v1.RestrictionValue.prototype.getAllowcustomerjourney=function(){return r.Message.getBooleanFieldWithDefault(this,121,!1)},proto.pushwoosh.objects.restrictionValues.v1.RestrictionValue.prototype.setAllowcustomerjourney=function(e){return r.Message.setProto3BooleanField(this,121,e)},proto.pushwoosh.objects.restrictionValues.v1.RestrictionValue.prototype.getAllowcjsms=function(){return r.Message.getBooleanFieldWithDefault(this,122,!1)},proto.pushwoosh.objects.restrictionValues.v1.RestrictionValue.prototype.setAllowcjsms=function(e){return r.Message.setProto3BooleanField(this,122,e)},proto.pushwoosh.objects.restrictionValues.v1.RestrictionValue.prototype.getAllowcjapientry=function(){return r.Message.getBooleanFieldWithDefault(this,123,!1)},proto.pushwoosh.objects.restrictionValues.v1.RestrictionValue.prototype.setAllowcjapientry=function(e){return r.Message.setProto3BooleanField(this,123,e)},proto.pushwoosh.objects.restrictionValues.v1.RestrictionValue.prototype.getAllowcjdynamicsettagsinupdateprofile=function(){return r.Message.getBooleanFieldWithDefault(this,124,!1)},proto.pushwoosh.objects.restrictionValues.v1.RestrictionValue.prototype.setAllowcjdynamicsettagsinupdateprofile=function(e){return r.Message.setProto3BooleanField(this,124,e)},proto.pushwoosh.objects.restrictionValues.v1.RestrictionValue.prototype.getAllowcjaddbranchesinwaitfortrigger=function(){return r.Message.getBooleanFieldWithDefault(this,125,!1)},proto.pushwoosh.objects.restrictionValues.v1.RestrictionValue.prototype.setAllowcjaddbranchesinwaitfortrigger=function(e){return r.Message.setProto3BooleanField(this,125,e)},proto.pushwoosh.objects.restrictionValues.v1.RestrictionValue.prototype.getAlloweventsfunnel=function(){return r.Message.getBooleanFieldWithDefault(this,126,!1)},proto.pushwoosh.objects.restrictionValues.v1.RestrictionValue.prototype.setAlloweventsfunnel=function(e){return r.Message.setProto3BooleanField(this,126,e)},s.object.extend(t,proto.pushwoosh.objects.restrictionValues.v1)},7579:(e,t,o)=>{o(9718);var r=o(4058);e.exports=r.parseFloat},4883:(e,t,o)=>{var r=o(1899),s=o(7475),i=o(9826),n=r.TypeError;e.exports=function(e){if(s(e))return e;throw n(i(e)+" is not a function")}},6059:(e,t,o)=>{var r=o(1899),s=o(941),i=r.String,n=r.TypeError;e.exports=function(e){if(s(e))return e;throw n(i(e)+" is not an object")}},2532:(e,t,o)=>{var r=o(5329),s=r({}.toString),i=r("".slice);e.exports=function(e){return i(s(e),8,-1)}},9697:(e,t,o)=>{var r=o(1899),s=o(2885),i=o(7475),n=o(2532),a=o(9813)("toStringTag"),p=r.Object,g="Arguments"==n(function(){return arguments}());e.exports=s?n:function(e){var t,o,r;return void 0===e?"Undefined":null===e?"Null":"string"==typeof(o=function(e,t){try{return e[t]}catch(e){}}(t=p(e),a))?o:g?n(t):"Object"==(r=n(t))&&i(t.callee)?"Arguments":r}},2029:(e,t,o)=>{var r=o(5746),s=o(5988),i=o(1887);e.exports=r?function(e,t,o){return s.f(e,t,i(1,o))}:function(e,t,o){return e[t]=o,e}},1887:e=>{e.exports=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}}},5746:(e,t,o)=>{var r=o(5981);e.exports=!r((function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]}))},1333:(e,t,o)=>{var r=o(1899),s=o(941),i=r.document,n=s(i)&&s(i.createElement);e.exports=function(e){return n?i.createElement(e):{}}},2861:(e,t,o)=>{var r=o(626);e.exports=r("navigator","userAgent")||""},3385:(e,t,o)=>{var r,s,i=o(1899),n=o(2861),a=i.process,p=i.Deno,g=a&&a.versions||p&&p.version,u=g&&g.v8;u&&(s=(r=u.split("."))[0]>0&&r[0]<4?1:+(r[0]+r[1])),!s&&n&&(!(r=n.match(/Edge\/(\d+)/))||r[1]>=74)&&(r=n.match(/Chrome\/(\d+)/))&&(s=+r[1]),e.exports=s},6887:(e,t,o)=>{"use strict";var r=o(1899),s=o(9730),i=o(5329),n=o(7475),a=o(9677).f,p=o(7252),g=o(4058),u=o(6843),l=o(2029),c=o(953),d=function(e){var t=function(o,r,i){if(this instanceof t){switch(arguments.length){case 0:return new e;case 1:return new e(o);case 2:return new e(o,r)}return new e(o,r,i)}return s(e,this,arguments)};return t.prototype=e.prototype,t};e.exports=function(e,t){var o,s,f,h,b,y,_,m,v=e.target,M=e.global,w=e.stat,S=e.proto,E=M?r:w?r[v]:(r[v]||{}).prototype,F=M?g:g[v]||l(g,v,{})[v],A=F.prototype;for(f in t)o=!p(M?f:v+(w?".":"#")+f,e.forced)&&E&&c(E,f),b=F[f],o&&(y=e.noTargetGet?(m=a(E,f))&&m.value:E[f]),h=o&&y?y:t[f],o&&typeof b==typeof h||(_=e.bind&&o?u(h,r):e.wrap&&o?d(h):S&&n(h)?i(h):h,(e.sham||h&&h.sham||b&&b.sham)&&l(_,"sham",!0),l(F,f,_),S&&(c(g,s=v+"Prototype")||l(g,s,{}),l(g[s],f,h),e.real&&A&&!A[f]&&l(A,f,h)))}},5981:e=>{e.exports=function(e){try{return!!e()}catch(e){return!0}}},9730:(e,t,o)=>{var r=o(8285),s=Function.prototype,i=s.apply,n=s.call;e.exports="object"==typeof Reflect&&Reflect.apply||(r?n.bind(i):function(){return n.apply(i,arguments)})},6843:(e,t,o)=>{var r=o(5329),s=o(4883),i=o(8285),n=r(r.bind);e.exports=function(e,t){return s(e),void 0===t?e:i?n(e,t):function(){return e.apply(t,arguments)}}},8285:(e,t,o)=>{var r=o(5981);e.exports=!r((function(){var e=function(){}.bind();return"function"!=typeof e||e.hasOwnProperty("prototype")}))},8834:(e,t,o)=>{var r=o(8285),s=Function.prototype.call;e.exports=r?s.bind(s):function(){return s.apply(s,arguments)}},5329:(e,t,o)=>{var r=o(8285),s=Function.prototype,i=s.bind,n=s.call,a=r&&i.bind(n,n);e.exports=r?function(e){return e&&a(e)}:function(e){return e&&function(){return n.apply(e,arguments)}}},626:(e,t,o)=>{var r=o(4058),s=o(1899),i=o(7475),n=function(e){return i(e)?e:void 0};e.exports=function(e,t){return arguments.length<2?n(r[e])||n(s[e]):r[e]&&r[e][t]||s[e]&&s[e][t]}},4229:(e,t,o)=>{var r=o(4883);e.exports=function(e,t){var o=e[t];return null==o?void 0:r(o)}},1899:(e,t,o)=>{var r=function(e){return e&&e.Math==Math&&e};e.exports=r("object"==typeof globalThis&&globalThis)||r("object"==typeof window&&window)||r("object"==typeof self&&self)||r("object"==typeof o.g&&o.g)||function(){return this}()||Function("return this")()},953:(e,t,o)=>{var r=o(5329),s=o(9678),i=r({}.hasOwnProperty);e.exports=Object.hasOwn||function(e,t){return i(s(e),t)}},2840:(e,t,o)=>{var r=o(5746),s=o(5981),i=o(1333);e.exports=!r&&!s((function(){return 7!=Object.defineProperty(i("div"),"a",{get:function(){return 7}}).a}))},7026:(e,t,o)=>{var r=o(1899),s=o(5329),i=o(5981),n=o(2532),a=r.Object,p=s("".split);e.exports=i((function(){return!a("z").propertyIsEnumerable(0)}))?function(e){return"String"==n(e)?p(e,""):a(e)}:a},7475:e=>{e.exports=function(e){return"function"==typeof e}},7252:(e,t,o)=>{var r=o(5981),s=o(7475),i=/#|\.prototype\./,n=function(e,t){var o=p[a(e)];return o==u||o!=g&&(s(t)?r(t):!!t)},a=n.normalize=function(e){return String(e).replace(i,".").toLowerCase()},p=n.data={},g=n.NATIVE="N",u=n.POLYFILL="P";e.exports=n},941:(e,t,o)=>{var r=o(7475);e.exports=function(e){return"object"==typeof e?null!==e:r(e)}},2529:e=>{e.exports=!0},6664:(e,t,o)=>{var r=o(1899),s=o(626),i=o(7475),n=o(7046),a=o(2302),p=r.Object;e.exports=a?function(e){return"symbol"==typeof e}:function(e){var t=s("Symbol");return i(t)&&n(t.prototype,p(e))}},2497:(e,t,o)=>{var r=o(3385),s=o(5981);e.exports=!!Object.getOwnPropertySymbols&&!s((function(){var e=Symbol();return!String(e)||!(Object(e)instanceof Symbol)||!Symbol.sham&&r&&r<41}))},1942:(e,t,o)=>{var r=o(1899),s=o(5981),i=o(5329),n=o(5803),a=o(4853).trim,p=o(3483),g=i("".charAt),u=r.parseFloat,l=r.Symbol,c=l&&l.iterator,d=1/u(p+"-0")!=-1/0||c&&!s((function(){u(Object(c))}));e.exports=d?function(e){var t=a(n(e)),o=u(t);return 0===o&&"-"==g(t,0)?-0:o}:u},5988:(e,t,o)=>{var r=o(1899),s=o(5746),i=o(2840),n=o(3937),a=o(6059),p=o(3894),g=r.TypeError,u=Object.defineProperty,l=Object.getOwnPropertyDescriptor,c="enumerable",d="configurable",f="writable";t.f=s?n?function(e,t,o){if(a(e),t=p(t),a(o),"function"==typeof e&&"prototype"===t&&"value"in o&&f in o&&!o.writable){var r=l(e,t);r&&r.writable&&(e[t]=o.value,o={configurable:d in o?o.configurable:r.configurable,enumerable:c in o?o.enumerable:r.enumerable,writable:!1})}return u(e,t,o)}:u:function(e,t,o){if(a(e),t=p(t),a(o),i)try{return u(e,t,o)}catch(e){}if("get"in o||"set"in o)throw g("Accessors not supported");return"value"in o&&(e[t]=o.value),e}},9677:(e,t,o)=>{var r=o(5746),s=o(8834),i=o(6760),n=o(1887),a=o(4529),p=o(3894),g=o(953),u=o(2840),l=Object.getOwnPropertyDescriptor;t.f=r?l:function(e,t){if(e=a(e),t=p(t),u)try{return l(e,t)}catch(e){}if(g(e,t))return n(!s(i.f,e,t),e[t])}},7046:(e,t,o)=>{var r=o(5329);e.exports=r({}.isPrototypeOf)},6760:(e,t)=>{"use strict";var o={}.propertyIsEnumerable,r=Object.getOwnPropertyDescriptor,s=r&&!o.call({1:2},1);t.f=s?function(e){var t=r(this,e);return!!t&&t.enumerable}:o},9811:(e,t,o)=>{var r=o(1899),s=o(8834),i=o(7475),n=o(941),a=r.TypeError;e.exports=function(e,t){var o,r;if("string"===t&&i(o=e.toString)&&!n(r=s(o,e)))return r;if(i(o=e.valueOf)&&!n(r=s(o,e)))return r;if("string"!==t&&i(o=e.toString)&&!n(r=s(o,e)))return r;throw a("Can't convert object to primitive value")}},4058:e=>{e.exports={}},8219:(e,t,o)=>{var r=o(1899).TypeError;e.exports=function(e){if(null==e)throw r("Can't call method on "+e);return e}},4911:(e,t,o)=>{var r=o(1899),s=Object.defineProperty;e.exports=function(e,t){try{s(r,e,{value:t,configurable:!0,writable:!0})}catch(o){r[e]=t}return t}},3030:(e,t,o)=>{var r=o(1899),s=o(4911),i="__core-js_shared__",n=r[i]||s(i,{});e.exports=n},8726:(e,t,o)=>{var r=o(2529),s=o(3030);(e.exports=function(e,t){return s[e]||(s[e]=void 0!==t?t:{})})("versions",[]).push({version:"3.21.1",mode:r?"pure":"global",copyright:"© 2014-2022 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.21.1/LICENSE",source:"https://github.com/zloirock/core-js"})},4853:(e,t,o)=>{var r=o(5329),s=o(8219),i=o(5803),n=o(3483),a=r("".replace),p="["+n+"]",g=RegExp("^"+p+p+"*"),u=RegExp(p+p+"*$"),l=function(e){return function(t){var o=i(s(t));return 1&e&&(o=a(o,g,"")),2&e&&(o=a(o,u,"")),o}};e.exports={start:l(1),end:l(2),trim:l(3)}},4529:(e,t,o)=>{var r=o(7026),s=o(8219);e.exports=function(e){return r(s(e))}},9678:(e,t,o)=>{var r=o(1899),s=o(8219),i=r.Object;e.exports=function(e){return i(s(e))}},6935:(e,t,o)=>{var r=o(1899),s=o(8834),i=o(941),n=o(6664),a=o(4229),p=o(9811),g=o(9813),u=r.TypeError,l=g("toPrimitive");e.exports=function(e,t){if(!i(e)||n(e))return e;var o,r=a(e,l);if(r){if(void 0===t&&(t="default"),o=s(r,e,t),!i(o)||n(o))return o;throw u("Can't convert object to primitive value")}return void 0===t&&(t="number"),p(e,t)}},3894:(e,t,o)=>{var r=o(6935),s=o(6664);e.exports=function(e){var t=r(e,"string");return s(t)?t:t+""}},2885:(e,t,o)=>{var r={};r[o(9813)("toStringTag")]="z",e.exports="[object z]"===String(r)},5803:(e,t,o)=>{var r=o(1899),s=o(9697),i=r.String;e.exports=function(e){if("Symbol"===s(e))throw TypeError("Cannot convert a Symbol value to a string");return i(e)}},9826:(e,t,o)=>{var r=o(1899).String;e.exports=function(e){try{return r(e)}catch(e){return"Object"}}},9418:(e,t,o)=>{var r=o(5329),s=0,i=Math.random(),n=r(1..toString);e.exports=function(e){return"Symbol("+(void 0===e?"":e)+")_"+n(++s+i,36)}},2302:(e,t,o)=>{var r=o(2497);e.exports=r&&!Symbol.sham&&"symbol"==typeof Symbol.iterator},3937:(e,t,o)=>{var r=o(5746),s=o(5981);e.exports=r&&s((function(){return 42!=Object.defineProperty((function(){}),"prototype",{value:42,writable:!1}).prototype}))},9813:(e,t,o)=>{var r=o(1899),s=o(8726),i=o(953),n=o(9418),a=o(2497),p=o(2302),g=s("wks"),u=r.Symbol,l=u&&u.for,c=p?u:u&&u.withoutSetter||n;e.exports=function(e){if(!i(g,e)||!a&&"string"!=typeof g[e]){var t="Symbol."+e;a&&i(u,e)?g[e]=u[e]:g[e]=p&&l?l(t):c(t)}return g[e]}},3483:e=>{e.exports="\t\n\v\f\r \u2028\u2029\ufeff"},9718:(e,t,o)=>{var r=o(6887),s=o(1942);r({global:!0,forced:parseFloat!=s},{parseFloat:s})},6877:(e,t,o)=>{var r=o(7579);e.exports=r},3019:function(__unused_webpack_module,exports,__webpack_require__){var $jscomp=$jscomp||{};$jscomp.scope={},$jscomp.findInternal=function(e,t,o){e instanceof String&&(e=String(e));for(var r=e.length,s=0;s<r;s++){var i=e[s];if(t.call(o,i,s,e))return{i:s,v:i}}return{i:-1,v:void 0}},$jscomp.ASSUME_ES5=!1,$jscomp.ASSUME_NO_NATIVE_MAP=!1,$jscomp.ASSUME_NO_NATIVE_SET=!1,$jscomp.SIMPLE_FROUND_POLYFILL=!1,$jscomp.defineProperty=$jscomp.ASSUME_ES5||"function"==typeof Object.defineProperties?Object.defineProperty:function(e,t,o){e!=Array.prototype&&e!=Object.prototype&&(e[t]=o.value)},$jscomp.getGlobal=function(e){return"undefined"!=typeof window&&window===e?e:void 0!==__webpack_require__.g&&null!=__webpack_require__.g?__webpack_require__.g:e},$jscomp.global=$jscomp.getGlobal(this),$jscomp.polyfill=function(e,t,o,r){if(t){for(o=$jscomp.global,e=e.split("."),r=0;r<e.length-1;r++){var s=e[r];s in o||(o[s]={}),o=o[s]}(t=t(r=o[e=e[e.length-1]]))!=r&&null!=t&&$jscomp.defineProperty(o,e,{configurable:!0,writable:!0,value:t})}},$jscomp.polyfill("Array.prototype.findIndex",(function(e){return e||function(e,t){return $jscomp.findInternal(this,e,t).i}}),"es6","es3"),$jscomp.checkStringArgs=function(e,t,o){if(null==e)throw new TypeError("The 'this' value for String.prototype."+o+" must not be null or undefined");if(t instanceof RegExp)throw new TypeError("First argument to String.prototype."+o+" must not be a regular expression");return e+""},$jscomp.polyfill("String.prototype.endsWith",(function(e){return e||function(e,t){var o=$jscomp.checkStringArgs(this,e,"endsWith");e+="",void 0===t&&(t=o.length),t=Math.max(0,Math.min(0|t,o.length));for(var r=e.length;0<r&&0<t;)if(o[--t]!=e[--r])return!1;return 0>=r}}),"es6","es3"),$jscomp.polyfill("Array.prototype.find",(function(e){return e||function(e,t){return $jscomp.findInternal(this,e,t).v}}),"es6","es3"),$jscomp.polyfill("String.prototype.startsWith",(function(e){return e||function(e,t){var o=$jscomp.checkStringArgs(this,e,"startsWith");e+="";var r=o.length,s=e.length;t=Math.max(0,Math.min(0|t,o.length));for(var i=0;i<s&&t<r;)if(o[t++]!=e[i++])return!1;return i>=s}}),"es6","es3"),$jscomp.polyfill("String.prototype.repeat",(function(e){return e||function(e){var t=$jscomp.checkStringArgs(this,null,"repeat");if(0>e||1342177279<e)throw new RangeError("Invalid count value");e|=0;for(var o="";e;)1&e&&(o+=t),(e>>>=1)&&(t+=t);return o}}),"es6","es3");var COMPILED=!0,goog=goog||{};goog.global=this||self,goog.exportPath_=function(e,t,o){e=e.split("."),o=o||goog.global,e[0]in o||void 0===o.execScript||o.execScript("var "+e[0]);for(var r;e.length&&(r=e.shift());)e.length||void 0===t?o=o[r]&&o[r]!==Object.prototype[r]?o[r]:o[r]={}:o[r]=t},goog.define=function(e,t){if(!COMPILED){var o=goog.global.CLOSURE_UNCOMPILED_DEFINES,r=goog.global.CLOSURE_DEFINES;o&&void 0===o.nodeType&&Object.prototype.hasOwnProperty.call(o,e)?t=o[e]:r&&void 0===r.nodeType&&Object.prototype.hasOwnProperty.call(r,e)&&(t=r[e])}return t},goog.FEATURESET_YEAR=2012,goog.DEBUG=!0,goog.LOCALE="en",goog.TRUSTED_SITE=!0,goog.STRICT_MODE_COMPATIBLE=!1,goog.DISALLOW_TEST_ONLY_CODE=COMPILED&&!goog.DEBUG,goog.ENABLE_CHROME_APP_SAFE_SCRIPT_LOADING=!1,goog.provide=function(e){if(goog.isInModuleLoader_())throw Error("goog.provide cannot be used within a module.");if(!COMPILED&&goog.isProvided_(e))throw Error('Namespace "'+e+'" already declared.');goog.constructNamespace_(e)},goog.constructNamespace_=function(e,t){if(!COMPILED){delete goog.implicitNamespaces_[e];for(var o=e;(o=o.substring(0,o.lastIndexOf(".")))&&!goog.getObjectByName(o);)goog.implicitNamespaces_[o]=!0}goog.exportPath_(e,t)},goog.getScriptNonce=function(e){return e&&e!=goog.global?goog.getScriptNonce_(e.document):(null===goog.cspNonce_&&(goog.cspNonce_=goog.getScriptNonce_(goog.global.document)),goog.cspNonce_)},goog.NONCE_PATTERN_=/^[\w+/_-]+[=]{0,2}$/,goog.cspNonce_=null,goog.getScriptNonce_=function(e){return(e=e.querySelector&&e.querySelector("script[nonce]"))&&(e=e.nonce||e.getAttribute("nonce"))&&goog.NONCE_PATTERN_.test(e)?e:""},goog.VALID_MODULE_RE_=/^[a-zA-Z_$][a-zA-Z0-9._$]*$/,goog.module=function(e){if("string"!=typeof e||!e||-1==e.search(goog.VALID_MODULE_RE_))throw Error("Invalid module identifier");if(!goog.isInGoogModuleLoader_())throw Error("Module "+e+" has been loaded incorrectly. Note, modules cannot be loaded as normal scripts. They require some kind of pre-processing step. You're likely trying to load a module via a script tag or as a part of a concatenated bundle without rewriting the module. For more info see: https://github.com/google/closure-library/wiki/goog.module:-an-ES6-module-like-alternative-to-goog.provide.");if(goog.moduleLoaderState_.moduleName)throw Error("goog.module may only be called once per module.");if(goog.moduleLoaderState_.moduleName=e,!COMPILED){if(goog.isProvided_(e))throw Error('Namespace "'+e+'" already declared.');delete goog.implicitNamespaces_[e]}},goog.module.get=function(e){return goog.module.getInternal_(e)},goog.module.getInternal_=function(e){if(!COMPILED){if(e in goog.loadedModules_)return goog.loadedModules_[e].exports;if(!goog.implicitNamespaces_[e])return null!=(e=goog.getObjectByName(e))?e:null}return null},goog.ModuleType={ES6:"es6",GOOG:"goog"},goog.moduleLoaderState_=null,goog.isInModuleLoader_=function(){return goog.isInGoogModuleLoader_()||goog.isInEs6ModuleLoader_()},goog.isInGoogModuleLoader_=function(){return!!goog.moduleLoaderState_&&goog.moduleLoaderState_.type==goog.ModuleType.GOOG},goog.isInEs6ModuleLoader_=function(){if(goog.moduleLoaderState_&&goog.moduleLoaderState_.type==goog.ModuleType.ES6)return!0;var e=goog.global.$jscomp;return!!e&&("function"==typeof e.getCurrentModulePath&&!!e.getCurrentModulePath())},goog.module.declareLegacyNamespace=function(){if(!COMPILED&&!goog.isInGoogModuleLoader_())throw Error("goog.module.declareLegacyNamespace must be called from within a goog.module");if(!COMPILED&&!goog.moduleLoaderState_.moduleName)throw Error("goog.module must be called prior to goog.module.declareLegacyNamespace.");goog.moduleLoaderState_.declareLegacyNamespace=!0},goog.declareModuleId=function(e){if(!COMPILED){if(!goog.isInEs6ModuleLoader_())throw Error("goog.declareModuleId may only be called from within an ES6 module");if(goog.moduleLoaderState_&&goog.moduleLoaderState_.moduleName)throw Error("goog.declareModuleId may only be called once per module.");if(e in goog.loadedModules_)throw Error('Module with namespace "'+e+'" already exists.')}if(goog.moduleLoaderState_)goog.moduleLoaderState_.moduleName=e;else{var t=goog.global.$jscomp;if(!t||"function"!=typeof t.getCurrentModulePath)throw Error('Module with namespace "'+e+'" has been loaded incorrectly.');t=t.require(t.getCurrentModulePath()),goog.loadedModules_[e]={exports:t,type:goog.ModuleType.ES6,moduleId:e}}},goog.setTestOnly=function(e){if(goog.DISALLOW_TEST_ONLY_CODE)throw e=e||"",Error("Importing test-only code into non-debug environment"+(e?": "+e:"."))},goog.forwardDeclare=function(e){},COMPILED||(goog.isProvided_=function(e){return e in goog.loadedModules_||!goog.implicitNamespaces_[e]&&null!=goog.getObjectByName(e)},goog.implicitNamespaces_={"goog.module":!0}),goog.getObjectByName=function(e,t){e=e.split("."),t=t||goog.global;for(var o=0;o<e.length;o++)if(null==(t=t[e[o]]))return null;return t},goog.globalize=function(e,t){for(var o in t=t||goog.global,e)t[o]=e[o]},goog.addDependency=function(e,t,o,r){!COMPILED&&goog.DEPENDENCIES_ENABLED&&goog.debugLoader_.addDependency(e,t,o,r)},goog.ENABLE_DEBUG_LOADER=!0,goog.logToConsole_=function(e){goog.global.console&&goog.global.console.error(e)},goog.require=function(e){if(!COMPILED){if(goog.ENABLE_DEBUG_LOADER&&goog.debugLoader_.requested(e),goog.isProvided_(e)){if(goog.isInModuleLoader_())return goog.module.getInternal_(e)}else if(goog.ENABLE_DEBUG_LOADER){var t=goog.moduleLoaderState_;goog.moduleLoaderState_=null;try{goog.debugLoader_.load_(e)}finally{goog.moduleLoaderState_=t}}return null}},goog.requireType=function(e){return{}},goog.basePath="",goog.nullFunction=function(){},goog.abstractMethod=function(){throw Error("unimplemented abstract method")},goog.addSingletonGetter=function(e){e.instance_=void 0,e.getInstance=function(){return e.instance_?e.instance_:(goog.DEBUG&&(goog.instantiatedSingletons_[goog.instantiatedSingletons_.length]=e),e.instance_=new e)}},goog.instantiatedSingletons_=[],goog.LOAD_MODULE_USING_EVAL=!0,goog.SEAL_MODULE_EXPORTS=goog.DEBUG,goog.loadedModules_={},goog.DEPENDENCIES_ENABLED=!COMPILED&&goog.ENABLE_DEBUG_LOADER,goog.TRANSPILE="detect",goog.ASSUME_ES_MODULES_TRANSPILED=!1,goog.TRANSPILE_TO_LANGUAGE="",goog.TRANSPILER="transpile.js",goog.hasBadLetScoping=null,goog.useSafari10Workaround=function(){if(null==goog.hasBadLetScoping){try{var a=!eval('"use strict";let x = 1; function f() { return typeof x; };f() == "number";')}catch(e){a=!1}goog.hasBadLetScoping=a}return goog.hasBadLetScoping},goog.workaroundSafari10EvalBug=function(e){return"(function(){"+e+"\n;})();\n"},goog.loadModule=function(e){var t=goog.moduleLoaderState_;try{if(goog.moduleLoaderState_={moduleName:"",declareLegacyNamespace:!1,type:goog.ModuleType.GOOG},goog.isFunction(e))var o=e.call(void 0,{});else{if("string"!=typeof e)throw Error("Invalid module definition");goog.useSafari10Workaround()&&(e=goog.workaroundSafari10EvalBug(e)),o=goog.loadModuleFromSource_.call(void 0,e)}var r=goog.moduleLoaderState_.moduleName;if("string"!=typeof r||!r)throw Error('Invalid module name "'+r+'"');goog.moduleLoaderState_.declareLegacyNamespace?goog.constructNamespace_(r,o):goog.SEAL_MODULE_EXPORTS&&Object.seal&&"object"==typeof o&&null!=o&&Object.seal(o),goog.loadedModules_[r]={exports:o,type:goog.ModuleType.GOOG,moduleId:goog.moduleLoaderState_.moduleName}}finally{goog.moduleLoaderState_=t}},goog.loadModuleFromSource_=function(a){return eval(a),{}},goog.normalizePath_=function(e){e=e.split("/");for(var t=0;t<e.length;)"."==e[t]?e.splice(t,1):t&&".."==e[t]&&e[t-1]&&".."!=e[t-1]?e.splice(--t,2):t++;return e.join("/")},goog.loadFileSync_=function(e){if(goog.global.CLOSURE_LOAD_FILE_SYNC)return goog.global.CLOSURE_LOAD_FILE_SYNC(e);try{var t=new goog.global.XMLHttpRequest;return t.open("get",e,!1),t.send(),0==t.status||200==t.status?t.responseText:null}catch(e){return null}},goog.transpile_=function(e,t,o){var r=goog.global.$jscomp;r||(goog.global.$jscomp=r={});var s=r.transpile;if(!s){var i=goog.basePath+goog.TRANSPILER,n=goog.loadFileSync_(i);if(n){if(function(){(0,eval)(n+"\n//# sourceURL="+i)}.call(goog.global),goog.global.$gwtExport&&goog.global.$gwtExport.$jscomp&&!goog.global.$gwtExport.$jscomp.transpile)throw Error('The transpiler did not properly export the "transpile" method. $gwtExport: '+JSON.stringify(goog.global.$gwtExport));goog.global.$jscomp.transpile=goog.global.$gwtExport.$jscomp.transpile,s=(r=goog.global.$jscomp).transpile}}return s||(s=r.transpile=function(e,t){return goog.logToConsole_(t+" requires transpilation but no transpiler was found."),e}),s(e,t,o)},goog.typeOf=function(e){var t=typeof e;if("object"==t){if(!e)return"null";if(e instanceof Array)return"array";if(e instanceof Object)return t;var o=Object.prototype.toString.call(e);if("[object Window]"==o)return"object";if("[object Array]"==o||"number"==typeof e.length&&void 0!==e.splice&&void 0!==e.propertyIsEnumerable&&!e.propertyIsEnumerable("splice"))return"array";if("[object Function]"==o||void 0!==e.call&&void 0!==e.propertyIsEnumerable&&!e.propertyIsEnumerable("call"))return"function"}else if("function"==t&&void 0===e.call)return"object";return t},goog.isArray=function(e){return"array"==goog.typeOf(e)},goog.isArrayLike=function(e){var t=goog.typeOf(e);return"array"==t||"object"==t&&"number"==typeof e.length},goog.isDateLike=function(e){return goog.isObject(e)&&"function"==typeof e.getFullYear},goog.isFunction=function(e){return"function"==goog.typeOf(e)},goog.isObject=function(e){var t=typeof e;return"object"==t&&null!=e||"function"==t},goog.getUid=function(e){return Object.prototype.hasOwnProperty.call(e,goog.UID_PROPERTY_)&&e[goog.UID_PROPERTY_]||(e[goog.UID_PROPERTY_]=++goog.uidCounter_)},goog.hasUid=function(e){return!!e[goog.UID_PROPERTY_]},goog.removeUid=function(e){null!==e&&"removeAttribute"in e&&e.removeAttribute(goog.UID_PROPERTY_);try{delete e[goog.UID_PROPERTY_]}catch(e){}},goog.UID_PROPERTY_="closure_uid_"+(1e9*Math.random()>>>0),goog.uidCounter_=0,goog.getHashCode=goog.getUid,goog.removeHashCode=goog.removeUid,goog.cloneObject=function(e){var t=goog.typeOf(e);if("object"==t||"array"==t){if("function"==typeof e.clone)return e.clone();for(var o in t="array"==t?[]:{},e)t[o]=goog.cloneObject(e[o]);return t}return e},goog.bindNative_=function(e,t,o){return e.call.apply(e.bind,arguments)},goog.bindJs_=function(e,t,o){if(!e)throw Error();if(2<arguments.length){var r=Array.prototype.slice.call(arguments,2);return function(){var o=Array.prototype.slice.call(arguments);return Array.prototype.unshift.apply(o,r),e.apply(t,o)}}return function(){return e.apply(t,arguments)}},goog.bind=function(e,t,o){return Function.prototype.bind&&-1!=Function.prototype.bind.toString().indexOf("native code")?goog.bind=goog.bindNative_:goog.bind=goog.bindJs_,goog.bind.apply(null,arguments)},goog.partial=function(e,t){var o=Array.prototype.slice.call(arguments,1);return function(){var t=o.slice();return t.push.apply(t,arguments),e.apply(this,t)}},goog.mixin=function(e,t){for(var o in t)e[o]=t[o]},goog.now=goog.TRUSTED_SITE&&Date.now||function(){return+new Date},goog.globalEval=function(e){if(goog.global.execScript)goog.global.execScript(e,"JavaScript");else{if(!goog.global.eval)throw Error("goog.globalEval not available");if(null==goog.evalWorksForGlobals_){try{goog.global.eval("var _evalTest_ = 1;")}catch(e){}if(void 0!==goog.global._evalTest_){try{delete goog.global._evalTest_}catch(e){}goog.evalWorksForGlobals_=!0}else goog.evalWorksForGlobals_=!1}if(goog.evalWorksForGlobals_)goog.global.eval(e);else{var t=goog.global.document,o=t.createElement("script");o.type="text/javascript",o.defer=!1,o.appendChild(t.createTextNode(e)),t.head.appendChild(o),t.head.removeChild(o)}}},goog.evalWorksForGlobals_=null,goog.getCssName=function(e,t){if("."==String(e).charAt(0))throw Error('className passed in goog.getCssName must not start with ".". You passed: '+e);var o=function(e){return goog.cssNameMapping_[e]||e},r=function(e){e=e.split("-");for(var t=[],r=0;r<e.length;r++)t.push(o(e[r]));return t.join("-")};return r=goog.cssNameMapping_?"BY_WHOLE"==goog.cssNameMappingStyle_?o:r:function(e){return e},e=t?e+"-"+r(t):r(e),goog.global.CLOSURE_CSS_NAME_MAP_FN?goog.global.CLOSURE_CSS_NAME_MAP_FN(e):e},goog.setCssNameMapping=function(e,t){goog.cssNameMapping_=e,goog.cssNameMappingStyle_=t},!COMPILED&&goog.global.CLOSURE_CSS_NAME_MAPPING&&(goog.cssNameMapping_=goog.global.CLOSURE_CSS_NAME_MAPPING),goog.getMsg=function(e,t,o){return o&&o.html&&(e=e.replace(/</g,"<")),t&&(e=e.replace(/\{\$([^}]+)}/g,(function(e,o){return null!=t&&o in t?t[o]:e}))),e},goog.getMsgWithFallback=function(e,t){return e},goog.exportSymbol=function(e,t,o){goog.exportPath_(e,t,o)},goog.exportProperty=function(e,t,o){e[t]=o},goog.inherits=function(e,t){function o(){}o.prototype=t.prototype,e.superClass_=t.prototype,e.prototype=new o,e.prototype.constructor=e,e.base=function(e,o,r){for(var s=Array(arguments.length-2),i=2;i<arguments.length;i++)s[i-2]=arguments[i];return t.prototype[o].apply(e,s)}},goog.scope=function(e){if(goog.isInModuleLoader_())throw Error("goog.scope is not supported within a module.");e.call(goog.global)},COMPILED||(goog.global.COMPILED=COMPILED),goog.defineClass=function(e,t){var o=t.constructor,r=t.statics;return o&&o!=Object.prototype.constructor||(o=function(){throw Error("cannot instantiate an interface (no constructor defined).")}),o=goog.defineClass.createSealingConstructor_(o,e),e&&goog.inherits(o,e),delete t.constructor,delete t.statics,goog.defineClass.applyProperties_(o.prototype,t),null!=r&&(r instanceof Function?r(o):goog.defineClass.applyProperties_(o,r)),o},goog.defineClass.SEAL_CLASS_INSTANCES=goog.DEBUG,goog.defineClass.createSealingConstructor_=function(e,t){if(!goog.defineClass.SEAL_CLASS_INSTANCES)return e;var o=!goog.defineClass.isUnsealable_(t),r=function(){var t=e.apply(this,arguments)||this;return t[goog.UID_PROPERTY_]=t[goog.UID_PROPERTY_],this.constructor===r&&o&&Object.seal instanceof Function&&Object.seal(t),t};return r},goog.defineClass.isUnsealable_=function(e){return e&&e.prototype&&e.prototype[goog.UNSEALABLE_CONSTRUCTOR_PROPERTY_]},goog.defineClass.OBJECT_PROTOTYPE_FIELDS_="constructor hasOwnProperty isPrototypeOf propertyIsEnumerable toLocaleString toString valueOf".split(" "),goog.defineClass.applyProperties_=function(e,t){for(var o in t)Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);for(var r=0;r<goog.defineClass.OBJECT_PROTOTYPE_FIELDS_.length;r++)o=goog.defineClass.OBJECT_PROTOTYPE_FIELDS_[r],Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o])},goog.tagUnsealableClass=function(e){!COMPILED&&goog.defineClass.SEAL_CLASS_INSTANCES&&(e.prototype[goog.UNSEALABLE_CONSTRUCTOR_PROPERTY_]=!0)},goog.UNSEALABLE_CONSTRUCTOR_PROPERTY_="goog_defineClass_legacy_unsealable",!COMPILED&&goog.DEPENDENCIES_ENABLED&&(goog.inHtmlDocument_=function(){var e=goog.global.document;return null!=e&&"write"in e},goog.isDocumentLoading_=function(){var e=goog.global.document;return e.attachEvent?"complete"!=e.readyState:"loading"==e.readyState},goog.findBasePath_=function(){if(null!=goog.global.CLOSURE_BASE_PATH&&"string"==typeof goog.global.CLOSURE_BASE_PATH)goog.basePath=goog.global.CLOSURE_BASE_PATH;else if(goog.inHtmlDocument_()){var e=goog.global.document,t=e.currentScript;for(t=(e=t?[t]:e.getElementsByTagName("SCRIPT")).length-1;0<=t;--t){var o=e[t].src,r=o.lastIndexOf("?");if(r=-1==r?o.length:r,"base.js"==o.substr(r-7,7)){goog.basePath=o.substr(0,r-7);break}}}},goog.findBasePath_(),goog.Transpiler=function(){this.requiresTranspilation_=null,this.transpilationTarget_=goog.TRANSPILE_TO_LANGUAGE},goog.Transpiler.prototype.createRequiresTranspilation_=function(){function a(t,o){e?d[t]=!0:o()?(c=t,d[t]=!1):e=d[t]=!0}function b(a){try{return!!eval(a)}catch(e){return!1}}var c="es3",d={es3:!1},e=!1,f=goog.global.navigator&&goog.global.navigator.userAgent?goog.global.navigator.userAgent:"";return a("es5",(function(){return b("[1,].length==1")})),a("es6",(function(){return!f.match(/Edge\/(\d+)(\.\d)*/i)&&b('(()=>{"use strict";class X{constructor(){if(new.target!=String)throw 1;this.x=42}}let q=Reflect.construct(X,[],String);if(q.x!=42||!(q instanceof String))throw 1;for(const a of[2,3]){if(a==2)continue;function f(z={a}){let a=0;return z.a}{function f(){return 0;}}return f()==3}})()')})),a("es7",(function(){return b("2 ** 2 == 4")})),a("es8",(function(){return b("async () => 1, true")})),a("es9",(function(){return b("({...rest} = {}), true")})),a("es_next",(function(){return!1})),{target:c,map:d}},goog.Transpiler.prototype.needsTranspile=function(e,t){if("always"==goog.TRANSPILE)return!0;if("never"==goog.TRANSPILE)return!1;if(!this.requiresTranspilation_){var o=this.createRequiresTranspilation_();this.requiresTranspilation_=o.map,this.transpilationTarget_=this.transpilationTarget_||o.target}if(e in this.requiresTranspilation_)return!!this.requiresTranspilation_[e]||!(!goog.inHtmlDocument_()||"es6"!=t||"noModule"in goog.global.document.createElement("script"));throw Error("Unknown language mode: "+e)},goog.Transpiler.prototype.transpile=function(e,t){return goog.transpile_(e,t,this.transpilationTarget_)},goog.transpiler_=new goog.Transpiler,goog.protectScriptTag_=function(e){return e.replace(/<\/(SCRIPT)/gi,"\\x3c/$1")},goog.DebugLoader_=function(){this.dependencies_={},this.idToPath_={},this.written_={},this.loadingDeps_=[],this.depsToLoad_=[],this.paused_=!1,this.factory_=new goog.DependencyFactory(goog.transpiler_),this.deferredCallbacks_={},this.deferredQueue_=[]},goog.DebugLoader_.prototype.bootstrap=function(e,t){function o(){r&&(goog.global.setTimeout(r,0),r=null)}var r=t;if(e.length){t=[];for(var s=0;s<e.length;s++){var i=this.getPathFromDeps_(e[s]);if(!i)throw Error("Unregonized namespace: "+e[s]);t.push(this.dependencies_[i])}i=goog.require;var n=0;for(s=0;s<e.length;s++)i(e[s]),t[s].onLoad((function(){++n==e.length&&o()}))}else o()},goog.DebugLoader_.prototype.loadClosureDeps=function(){this.depsToLoad_.push(this.factory_.createDependency(goog.normalizePath_(goog.basePath+"deps.js"),"deps.js",[],[],{},!1)),this.loadDeps_()},goog.DebugLoader_.prototype.requested=function(e,t){(e=this.getPathFromDeps_(e))&&(t||this.areDepsLoaded_(this.dependencies_[e].requires))&&(t=this.deferredCallbacks_[e])&&(delete this.deferredCallbacks_[e],t())},goog.DebugLoader_.prototype.setDependencyFactory=function(e){this.factory_=e},goog.DebugLoader_.prototype.load_=function(e){if(!this.getPathFromDeps_(e))throw e="goog.require could not find: "+e,goog.logToConsole_(e),Error(e);var t=this,o=[],r=function(e){var s=t.getPathFromDeps_(e);if(!s)throw Error("Bad dependency path or symbol: "+e);if(!t.written_[s]){for(t.written_[s]=!0,e=t.dependencies_[s],s=0;s<e.requires.length;s++)goog.isProvided_(e.requires[s])||r(e.requires[s]);o.push(e)}};r(e),e=!!this.depsToLoad_.length,this.depsToLoad_=this.depsToLoad_.concat(o),this.paused_||e||this.loadDeps_()},goog.DebugLoader_.prototype.loadDeps_=function(){for(var e=this,t=this.paused_;this.depsToLoad_.length&&!t;)!function(){var o=!1,r=e.depsToLoad_.shift(),s=!1;e.loading_(r);var i={pause:function(){if(o)throw Error("Cannot call pause after the call to load.");t=!0},resume:function(){o?e.resume_():t=!1},loaded:function(){if(s)throw Error("Double call to loaded.");s=!0,e.loaded_(r)},pending:function(){for(var t=[],o=0;o<e.loadingDeps_.length;o++)t.push(e.loadingDeps_[o]);return t},setModuleState:function(e){goog.moduleLoaderState_={type:e,moduleName:"",declareLegacyNamespace:!1}},registerEs6ModuleExports:function(e,t,o){o&&(goog.loadedModules_[o]={exports:t,type:goog.ModuleType.ES6,moduleId:o||""})},registerGoogModuleExports:function(e,t){goog.loadedModules_[e]={exports:t,type:goog.ModuleType.GOOG,moduleId:e}},clearModuleState:function(){goog.moduleLoaderState_=null},defer:function(t){if(o)throw Error("Cannot register with defer after the call to load.");e.defer_(r,t)},areDepsLoaded:function(){return e.areDepsLoaded_(r.requires)}};try{r.load(i)}finally{o=!0}}();t&&this.pause_()},goog.DebugLoader_.prototype.pause_=function(){this.paused_=!0},goog.DebugLoader_.prototype.resume_=function(){this.paused_&&(this.paused_=!1,this.loadDeps_())},goog.DebugLoader_.prototype.loading_=function(e){this.loadingDeps_.push(e)},goog.DebugLoader_.prototype.loaded_=function(e){for(var t=0;t<this.loadingDeps_.length;t++)if(this.loadingDeps_[t]==e){this.loadingDeps_.splice(t,1);break}for(t=0;t<this.deferredQueue_.length;t++)if(this.deferredQueue_[t]==e.path){this.deferredQueue_.splice(t,1);break}if(this.loadingDeps_.length==this.deferredQueue_.length&&!this.depsToLoad_.length)for(;this.deferredQueue_.length;)this.requested(this.deferredQueue_.shift(),!0);e.loaded()},goog.DebugLoader_.prototype.areDepsLoaded_=function(e){for(var t=0;t<e.length;t++){var o=this.getPathFromDeps_(e[t]);if(!o||!(o in this.deferredCallbacks_)&&!goog.isProvided_(e[t]))return!1}return!0},goog.DebugLoader_.prototype.getPathFromDeps_=function(e){return e in this.idToPath_?this.idToPath_[e]:e in this.dependencies_?e:null},goog.DebugLoader_.prototype.defer_=function(e,t){this.deferredCallbacks_[e.path]=t,this.deferredQueue_.push(e.path)},goog.LoadController=function(){},goog.LoadController.prototype.pause=function(){},goog.LoadController.prototype.resume=function(){},goog.LoadController.prototype.loaded=function(){},goog.LoadController.prototype.pending=function(){},goog.LoadController.prototype.registerEs6ModuleExports=function(e,t,o){},goog.LoadController.prototype.setModuleState=function(e){},goog.LoadController.prototype.clearModuleState=function(){},goog.LoadController.prototype.defer=function(e){},goog.LoadController.prototype.areDepsLoaded=function(){},goog.Dependency=function(e,t,o,r,s){this.path=e,this.relativePath=t,this.provides=o,this.requires=r,this.loadFlags=s,this.loaded_=!1,this.loadCallbacks_=[]},goog.Dependency.prototype.getPathName=function(){var e=this.path,t=e.indexOf("://");return 0<=t&&(0<=(t=(e=e.substring(t+3)).indexOf("/"))&&(e=e.substring(t+1))),e},goog.Dependency.prototype.onLoad=function(e){this.loaded_?e():this.loadCallbacks_.push(e)},goog.Dependency.prototype.loaded=function(){this.loaded_=!0;var e=this.loadCallbacks_;this.loadCallbacks_=[];for(var t=0;t<e.length;t++)e[t]()},goog.Dependency.defer_=!1,goog.Dependency.callbackMap_={},goog.Dependency.registerCallback_=function(e){var t=Math.random().toString(32);return goog.Dependency.callbackMap_[t]=e,t},goog.Dependency.unregisterCallback_=function(e){delete goog.Dependency.callbackMap_[e]},goog.Dependency.callback_=function(e,t){if(!(e in goog.Dependency.callbackMap_))throw Error("Callback key "+e+" does not exist (was base.js loaded more than once?).");for(var o=goog.Dependency.callbackMap_[e],r=[],s=1;s<arguments.length;s++)r.push(arguments[s]);o.apply(void 0,r)},goog.Dependency.prototype.load=function(e){if(goog.global.CLOSURE_IMPORT_SCRIPT)goog.global.CLOSURE_IMPORT_SCRIPT(this.path)?e.loaded():e.pause();else if(goog.inHtmlDocument_()){var t=goog.global.document;if("complete"==t.readyState&&!goog.ENABLE_CHROME_APP_SAFE_SCRIPT_LOADING){if(/\bdeps.js$/.test(this.path))return void e.loaded();throw Error('Cannot write "'+this.path+'" after document load')}if(!goog.ENABLE_CHROME_APP_SAFE_SCRIPT_LOADING&&goog.isDocumentLoading_()){var o=goog.Dependency.registerCallback_((function(t){goog.DebugLoader_.IS_OLD_IE_&&"complete"!=t.readyState||(goog.Dependency.unregisterCallback_(o),e.loaded())})),r=!goog.DebugLoader_.IS_OLD_IE_&&goog.getScriptNonce()?' nonce="'+goog.getScriptNonce()+'"':"";r='<script src="'+this.path+'" '+(goog.DebugLoader_.IS_OLD_IE_?"onreadystatechange":"onload")+"=\"goog.Dependency.callback_('"+o+'\', this)" type="text/javascript" '+(goog.Dependency.defer_?"defer":"")+r+"><\/script>",t.write(goog.TRUSTED_TYPES_POLICY_?goog.TRUSTED_TYPES_POLICY_.createHTML(r):r)}else{var s=t.createElement("script");s.defer=goog.Dependency.defer_,s.async=!1,s.type="text/javascript",(r=goog.getScriptNonce())&&s.setAttribute("nonce",r),goog.DebugLoader_.IS_OLD_IE_?(e.pause(),s.onreadystatechange=function(){"loaded"!=s.readyState&&"complete"!=s.readyState||(e.loaded(),e.resume())}):s.onload=function(){s.onload=null,e.loaded()},s.src=goog.TRUSTED_TYPES_POLICY_?goog.TRUSTED_TYPES_POLICY_.createScriptURL(this.path):this.path,t.head.appendChild(s)}}else goog.logToConsole_("Cannot use default debug loader outside of HTML documents."),"deps.js"==this.relativePath?(goog.logToConsole_("Consider setting CLOSURE_IMPORT_SCRIPT before loading base.js, or setting CLOSURE_NO_DEPS to true."),e.loaded()):e.pause()},goog.Es6ModuleDependency=function(e,t,o,r,s){goog.Dependency.call(this,e,t,o,r,s)},goog.inherits(goog.Es6ModuleDependency,goog.Dependency),goog.Es6ModuleDependency.prototype.load=function(e){if(goog.global.CLOSURE_IMPORT_SCRIPT)goog.global.CLOSURE_IMPORT_SCRIPT(this.path)?e.loaded():e.pause();else if(goog.inHtmlDocument_()){var t=goog.global.document,o=this;if(goog.isDocumentLoading_()){var r=function(e,o){e=o?'<script type="module" crossorigin>'+o+"<\/script>":'<script type="module" crossorigin src="'+e+'"><\/script>',t.write(goog.TRUSTED_TYPES_POLICY_?goog.TRUSTED_TYPES_POLICY_.createHTML(e):e)};goog.Dependency.defer_=!0}else r=function(e,o){var r=t.createElement("script");r.defer=!0,r.async=!1,r.type="module",r.setAttribute("crossorigin",!0);var s=goog.getScriptNonce();s&&r.setAttribute("nonce",s),o?r.textContent=goog.TRUSTED_TYPES_POLICY_?goog.TRUSTED_TYPES_POLICY_.createScript(o):o:r.src=goog.TRUSTED_TYPES_POLICY_?goog.TRUSTED_TYPES_POLICY_.createScriptURL(e):e,t.head.appendChild(r)};var s=goog.Dependency.registerCallback_((function(){goog.Dependency.unregisterCallback_(s),e.setModuleState(goog.ModuleType.ES6)}));r(void 0,'goog.Dependency.callback_("'+s+'")'),r(this.path,void 0);var i=goog.Dependency.registerCallback_((function(t){goog.Dependency.unregisterCallback_(i),e.registerEs6ModuleExports(o.path,t,goog.moduleLoaderState_.moduleName)}));r(void 0,'import * as m from "'+this.path+'"; goog.Dependency.callback_("'+i+'", m)');var n=goog.Dependency.registerCallback_((function(){goog.Dependency.unregisterCallback_(n),e.clearModuleState(),e.loaded()}));r(void 0,'goog.Dependency.callback_("'+n+'")')}else goog.logToConsole_("Cannot use default debug loader outside of HTML documents."),e.pause()},goog.TransformedDependency=function(e,t,o,r,s){goog.Dependency.call(this,e,t,o,r,s),this.contents_=null,this.lazyFetch_=!goog.inHtmlDocument_()||!("noModule"in goog.global.document.createElement("script"))},goog.inherits(goog.TransformedDependency,goog.Dependency),goog.TransformedDependency.prototype.load=function(e){function t(){r.contents_=goog.loadFileSync_(r.path),r.contents_&&(r.contents_=r.transform(r.contents_),r.contents_&&(r.contents_+="\n//# sourceURL="+r.path))}function o(){if(r.lazyFetch_&&t(),r.contents_){s&&e.setModuleState(goog.ModuleType.ES6);try{var o=r.contents_;if(r.contents_=null,goog.globalEval(o),s)var i=goog.moduleLoaderState_.moduleName}finally{s&&e.clearModuleState()}s&&goog.global.$jscomp.require.ensure([r.getPathName()],(function(){e.registerEs6ModuleExports(r.path,goog.global.$jscomp.require(r.getPathName()),i)})),e.loaded()}}var r=this;if(goog.global.CLOSURE_IMPORT_SCRIPT)t(),this.contents_&&goog.global.CLOSURE_IMPORT_SCRIPT("",this.contents_)?(this.contents_=null,e.loaded()):e.pause();else{var s=this.loadFlags.module==goog.ModuleType.ES6;this.lazyFetch_||t();var i=1<e.pending().length,n=i&&goog.DebugLoader_.IS_OLD_IE_;if(i=goog.Dependency.defer_&&(i||goog.isDocumentLoading_()),n||i)e.defer((function(){o()}));else{var a=goog.global.document;if(n=goog.inHtmlDocument_()&&"ActiveXObject"in goog.global,s&&goog.inHtmlDocument_()&&goog.isDocumentLoading_()&&!n){goog.Dependency.defer_=!0,e.pause();var p=a.onreadystatechange;a.onreadystatechange=function(){"interactive"==a.readyState&&(a.onreadystatechange=p,o(),e.resume()),goog.isFunction(p)&&p.apply(void 0,arguments)}}else!goog.DebugLoader_.IS_OLD_IE_&&goog.inHtmlDocument_()&&goog.isDocumentLoading_()?function(){var e=goog.global.document,t=goog.Dependency.registerCallback_((function(){goog.Dependency.unregisterCallback_(t),o()})),r='<script type="text/javascript">'+goog.protectScriptTag_('goog.Dependency.callback_("'+t+'");')+"<\/script>";e.write(goog.TRUSTED_TYPES_POLICY_?goog.TRUSTED_TYPES_POLICY_.createHTML(r):r)}():o()}}},goog.TransformedDependency.prototype.transform=function(e){},goog.TranspiledDependency=function(e,t,o,r,s,i){goog.TransformedDependency.call(this,e,t,o,r,s),this.transpiler=i},goog.inherits(goog.TranspiledDependency,goog.TransformedDependency),goog.TranspiledDependency.prototype.transform=function(e){return this.transpiler.transpile(e,this.getPathName())},goog.PreTranspiledEs6ModuleDependency=function(e,t,o,r,s){goog.TransformedDependency.call(this,e,t,o,r,s)},goog.inherits(goog.PreTranspiledEs6ModuleDependency,goog.TransformedDependency),goog.PreTranspiledEs6ModuleDependency.prototype.transform=function(e){return e},goog.GoogModuleDependency=function(e,t,o,r,s,i,n){goog.TransformedDependency.call(this,e,t,o,r,s),this.needsTranspile_=i,this.transpiler_=n},goog.inherits(goog.GoogModuleDependency,goog.TransformedDependency),goog.GoogModuleDependency.prototype.transform=function(e){return this.needsTranspile_&&(e=this.transpiler_.transpile(e,this.getPathName())),goog.LOAD_MODULE_USING_EVAL&&void 0!==goog.global.JSON?"goog.loadModule("+goog.global.JSON.stringify(e+"\n//# sourceURL="+this.path+"\n")+");":'goog.loadModule(function(exports) {"use strict";'+e+"\n;return exports});\n//# sourceURL="+this.path+"\n"},goog.DebugLoader_.IS_OLD_IE_=!(goog.global.atob||!goog.global.document||!goog.global.document.all),goog.DebugLoader_.prototype.addDependency=function(e,t,o,r){t=t||[],e=e.replace(/\\/g,"/");var s=goog.normalizePath_(goog.basePath+e);for(r&&"boolean"!=typeof r||(r=r?{module:goog.ModuleType.GOOG}:{}),o=this.factory_.createDependency(s,e,t,o,r,goog.transpiler_.needsTranspile(r.lang||"es3",r.module)),this.dependencies_[s]=o,o=0;o<t.length;o++)this.idToPath_[t[o]]=s;this.idToPath_[e]=s},goog.DependencyFactory=function(e){this.transpiler=e},goog.DependencyFactory.prototype.createDependency=function(e,t,o,r,s,i){return s.module==goog.ModuleType.GOOG?new goog.GoogModuleDependency(e,t,o,r,s,i,this.transpiler):i?new goog.TranspiledDependency(e,t,o,r,s,this.transpiler):s.module==goog.ModuleType.ES6?"never"==goog.TRANSPILE&&goog.ASSUME_ES_MODULES_TRANSPILED?new goog.PreTranspiledEs6ModuleDependency(e,t,o,r,s):new goog.Es6ModuleDependency(e,t,o,r,s):new goog.Dependency(e,t,o,r,s)},goog.debugLoader_=new goog.DebugLoader_,goog.loadClosureDeps=function(){goog.debugLoader_.loadClosureDeps()},goog.setDependencyFactory=function(e){goog.debugLoader_.setDependencyFactory(e)},goog.global.CLOSURE_NO_DEPS||goog.debugLoader_.loadClosureDeps(),goog.bootstrap=function(e,t){goog.debugLoader_.bootstrap(e,t)}),goog.TRUSTED_TYPES_POLICY_NAME="",goog.identity_=function(e){return e},goog.createTrustedTypesPolicy=function(e){var t=null,o=goog.global.trustedTypes||goog.global.TrustedTypes;if(!o||!o.createPolicy)return t;try{t=o.createPolicy(e,{createHTML:goog.identity_,createScript:goog.identity_,createScriptURL:goog.identity_,createURL:goog.identity_})}catch(e){goog.logToConsole_(e.message)}return t},goog.TRUSTED_TYPES_POLICY_=goog.TRUSTED_TYPES_POLICY_NAME?goog.createTrustedTypesPolicy(goog.TRUSTED_TYPES_POLICY_NAME+"#base"):null,goog.object={},goog.object.is=function(e,t){return e===t?0!==e||1/e==1/t:e!=e&&t!=t},goog.object.forEach=function(e,t,o){for(var r in e)t.call(o,e[r],r,e)},goog.object.filter=function(e,t,o){var r,s={};for(r in e)t.call(o,e[r],r,e)&&(s[r]=e[r]);return s},goog.object.map=function(e,t,o){var r,s={};for(r in e)s[r]=t.call(o,e[r],r,e);return s},goog.object.some=function(e,t,o){for(var r in e)if(t.call(o,e[r],r,e))return!0;return!1},goog.object.every=function(e,t,o){for(var r in e)if(!t.call(o,e[r],r,e))return!1;return!0},goog.object.getCount=function(e){var t,o=0;for(t in e)o++;return o},goog.object.getAnyKey=function(e){for(var t in e)return t},goog.object.getAnyValue=function(e){for(var t in e)return e[t]},goog.object.contains=function(e,t){return goog.object.containsValue(e,t)},goog.object.getValues=function(e){var t,o=[],r=0;for(t in e)o[r++]=e[t];return o},goog.object.getKeys=function(e){var t,o=[],r=0;for(t in e)o[r++]=t;return o},goog.object.getValueByKeys=function(e,t){var o=goog.isArrayLike(t),r=o?t:arguments;for(o=o?0:1;o<r.length;o++){if(null==e)return;e=e[r[o]]}return e},goog.object.containsKey=function(e,t){return null!==e&&t in e},goog.object.containsValue=function(e,t){for(var o in e)if(e[o]==t)return!0;return!1},goog.object.findKey=function(e,t,o){for(var r in e)if(t.call(o,e[r],r,e))return r},goog.object.findValue=function(e,t,o){return(t=goog.object.findKey(e,t,o))&&e[t]},goog.object.isEmpty=function(e){for(var t in e)return!1;return!0},goog.object.clear=function(e){for(var t in e)delete e[t]},goog.object.remove=function(e,t){var o;return(o=t in e)&&delete e[t],o},goog.object.add=function(e,t,o){if(null!==e&&t in e)throw Error('The object already contains the key "'+t+'"');goog.object.set(e,t,o)},goog.object.get=function(e,t,o){return null!==e&&t in e?e[t]:o},goog.object.set=function(e,t,o){e[t]=o},goog.object.setIfUndefined=function(e,t,o){return t in e?e[t]:e[t]=o},goog.object.setWithReturnValueIfNotSet=function(e,t,o){return t in e?e[t]:(o=o(),e[t]=o)},goog.object.equals=function(e,t){for(var o in e)if(!(o in t)||e[o]!==t[o])return!1;for(var r in t)if(!(r in e))return!1;return!0},goog.object.clone=function(e){var t,o={};for(t in e)o[t]=e[t];return o},goog.object.unsafeClone=function(e){var t=goog.typeOf(e);if("object"==t||"array"==t){if(goog.isFunction(e.clone))return e.clone();for(var o in t="array"==t?[]:{},e)t[o]=goog.object.unsafeClone(e[o]);return t}return e},goog.object.transpose=function(e){var t,o={};for(t in e)o[e[t]]=t;return o},goog.object.PROTOTYPE_FIELDS_="constructor hasOwnProperty isPrototypeOf propertyIsEnumerable toLocaleString toString valueOf".split(" "),goog.object.extend=function(e,t){for(var o,r,s=1;s<arguments.length;s++){for(o in r=arguments[s])e[o]=r[o];for(var i=0;i<goog.object.PROTOTYPE_FIELDS_.length;i++)o=goog.object.PROTOTYPE_FIELDS_[i],Object.prototype.hasOwnProperty.call(r,o)&&(e[o]=r[o])}},goog.object.create=function(e){var t=arguments.length;if(1==t&&Array.isArray(arguments[0]))return goog.object.create.apply(null,arguments[0]);if(t%2)throw Error("Uneven number of arguments");for(var o={},r=0;r<t;r+=2)o[arguments[r]]=arguments[r+1];return o},goog.object.createSet=function(e){var t=arguments.length;if(1==t&&Array.isArray(arguments[0]))return goog.object.createSet.apply(null,arguments[0]);for(var o={},r=0;r<t;r++)o[arguments[r]]=!0;return o},goog.object.createImmutableView=function(e){var t=e;return Object.isFrozen&&!Object.isFrozen(e)&&(t=Object.create(e),Object.freeze(t)),t},goog.object.isImmutableView=function(e){return!!Object.isFrozen&&Object.isFrozen(e)},goog.object.getAllPropertyNames=function(e,t,o){if(!e)return[];if(!Object.getOwnPropertyNames||!Object.getPrototypeOf)return goog.object.getKeys(e);for(var r={};e&&(e!==Object.prototype||t)&&(e!==Function.prototype||o);){for(var s=Object.getOwnPropertyNames(e),i=0;i<s.length;i++)r[s[i]]=!0;e=Object.getPrototypeOf(e)}return goog.object.getKeys(r)},goog.object.getSuperClass=function(e){return(e=Object.getPrototypeOf(e.prototype))&&e.constructor};var jspb={asserts:{}};jspb.asserts.doAssertFailure=function(e,t,o,r){var s="Assertion failed";if(o){s+=": "+o;var i=r}else e&&(s+=": "+e,i=t);throw Error(""+s,i||[])},jspb.asserts.assert=function(e,t,o){for(var r=[],s=2;s<arguments.length;++s)r[s-2]=arguments[s];return e||jspb.asserts.doAssertFailure("",null,t,r),e},jspb.asserts.assertString=function(e,t,o){for(var r=[],s=2;s<arguments.length;++s)r[s-2]=arguments[s];return"string"!=typeof e&&jspb.asserts.doAssertFailure("Expected string but got %s: %s.",[goog.typeOf(e),e],t,r),e},jspb.asserts.assertArray=function(e,t,o){for(var r=[],s=2;s<arguments.length;++s)r[s-2]=arguments[s];return Array.isArray(e)||jspb.asserts.doAssertFailure("Expected array but got %s: %s.",[goog.typeOf(e),e],t,r),e},jspb.asserts.fail=function(e,t){for(var o=[],r=1;r<arguments.length;++r)o[r-1]=arguments[r];throw Error("Failure"+(e?": "+e:""),o)},jspb.asserts.assertInstanceof=function(e,t,o,r){for(var s=[],i=3;i<arguments.length;++i)s[i-3]=arguments[i];return e instanceof t||jspb.asserts.doAssertFailure("Expected instanceof %s but got %s.",[jspb.asserts.getType(t),jspb.asserts.getType(e)],o,s),e},jspb.asserts.getType=function(e){return e instanceof Function?e.displayName||e.name||"unknown type name":e instanceof Object?e.constructor.displayName||e.constructor.name||Object.prototype.toString.call(e):null===e?"null":typeof e},jspb.BinaryConstants={},jspb.ConstBinaryMessage=function(){},jspb.BinaryMessage=function(){},jspb.BinaryConstants.FieldType={INVALID:-1,DOUBLE:1,FLOAT:2,INT64:3,UINT64:4,INT32:5,FIXED64:6,FIXED32:7,BOOL:8,STRING:9,GROUP:10,MESSAGE:11,BYTES:12,UINT32:13,ENUM:14,SFIXED32:15,SFIXED64:16,SINT32:17,SINT64:18,FHASH64:30,VHASH64:31},jspb.BinaryConstants.WireType={INVALID:-1,VARINT:0,FIXED64:1,DELIMITED:2,START_GROUP:3,END_GROUP:4,FIXED32:5},jspb.BinaryConstants.FieldTypeToWireType=function(e){var t=jspb.BinaryConstants.FieldType,o=jspb.BinaryConstants.WireType;switch(e){case t.INT32:case t.INT64:case t.UINT32:case t.UINT64:case t.SINT32:case t.SINT64:case t.BOOL:case t.ENUM:case t.VHASH64:return o.VARINT;case t.DOUBLE:case t.FIXED64:case t.SFIXED64:case t.FHASH64:return o.FIXED64;case t.STRING:case t.MESSAGE:case t.BYTES:return o.DELIMITED;case t.FLOAT:case t.FIXED32:case t.SFIXED32:return o.FIXED32;default:return o.INVALID}},jspb.BinaryConstants.INVALID_FIELD_NUMBER=-1,jspb.BinaryConstants.FLOAT32_EPS=1401298464324817e-60,jspb.BinaryConstants.FLOAT32_MIN=11754943508222875e-54,jspb.BinaryConstants.FLOAT32_MAX=34028234663852886e22,jspb.BinaryConstants.FLOAT64_EPS=5e-324,jspb.BinaryConstants.FLOAT64_MIN=22250738585072014e-324,jspb.BinaryConstants.FLOAT64_MAX=17976931348623157e292,jspb.BinaryConstants.TWO_TO_20=1048576,jspb.BinaryConstants.TWO_TO_23=8388608,jspb.BinaryConstants.TWO_TO_31=2147483648,jspb.BinaryConstants.TWO_TO_32=4294967296,jspb.BinaryConstants.TWO_TO_52=4503599627370496,jspb.BinaryConstants.TWO_TO_63=0x8000000000000000,jspb.BinaryConstants.TWO_TO_64=0x10000000000000000,jspb.BinaryConstants.ZERO_HASH="\0\0\0\0\0\0\0\0",goog.debug={},goog.debug.Error=function(e){if(Error.captureStackTrace)Error.captureStackTrace(this,goog.debug.Error);else{var t=Error().stack;t&&(this.stack=t)}e&&(this.message=String(e)),this.reportErrorToServer=!0},goog.inherits(goog.debug.Error,Error),goog.debug.Error.prototype.name="CustomError",goog.dom={},goog.dom.NodeType={ELEMENT:1,ATTRIBUTE:2,TEXT:3,CDATA_SECTION:4,ENTITY_REFERENCE:5,ENTITY:6,PROCESSING_INSTRUCTION:7,COMMENT:8,DOCUMENT:9,DOCUMENT_TYPE:10,DOCUMENT_FRAGMENT:11,NOTATION:12},goog.asserts={},goog.asserts.ENABLE_ASSERTS=goog.DEBUG,goog.asserts.AssertionError=function(e,t){goog.debug.Error.call(this,goog.asserts.subs_(e,t)),this.messagePattern=e},goog.inherits(goog.asserts.AssertionError,goog.debug.Error),goog.asserts.AssertionError.prototype.name="AssertionError",goog.asserts.DEFAULT_ERROR_HANDLER=function(e){throw e},goog.asserts.errorHandler_=goog.asserts.DEFAULT_ERROR_HANDLER,goog.asserts.subs_=function(e,t){for(var o="",r=(e=e.split("%s")).length-1,s=0;s<r;s++)o+=e[s]+(s<t.length?t[s]:"%s");return o+e[r]},goog.asserts.doAssertFailure_=function(e,t,o,r){var s="Assertion failed";if(o){s+=": "+o;var i=r}else e&&(s+=": "+e,i=t);e=new goog.asserts.AssertionError(""+s,i||[]),goog.asserts.errorHandler_(e)},goog.asserts.setErrorHandler=function(e){goog.asserts.ENABLE_ASSERTS&&(goog.asserts.errorHandler_=e)},goog.asserts.assert=function(e,t,o){return goog.asserts.ENABLE_ASSERTS&&!e&&goog.asserts.doAssertFailure_("",null,t,Array.prototype.slice.call(arguments,2)),e},goog.asserts.assertExists=function(e,t,o){return goog.asserts.ENABLE_ASSERTS&&null==e&&goog.asserts.doAssertFailure_("Expected to exist: %s.",[e],t,Array.prototype.slice.call(arguments,2)),e},goog.asserts.fail=function(e,t){goog.asserts.ENABLE_ASSERTS&&goog.asserts.errorHandler_(new goog.asserts.AssertionError("Failure"+(e?": "+e:""),Array.prototype.slice.call(arguments,1)))},goog.asserts.assertNumber=function(e,t,o){return goog.asserts.ENABLE_ASSERTS&&"number"!=typeof e&&goog.asserts.doAssertFailure_("Expected number but got %s: %s.",[goog.typeOf(e),e],t,Array.prototype.slice.call(arguments,2)),e},goog.asserts.assertString=function(e,t,o){return goog.asserts.ENABLE_ASSERTS&&"string"!=typeof e&&goog.asserts.doAssertFailure_("Expected string but got %s: %s.",[goog.typeOf(e),e],t,Array.prototype.slice.call(arguments,2)),e},goog.asserts.assertFunction=function(e,t,o){return goog.asserts.ENABLE_ASSERTS&&!goog.isFunction(e)&&goog.asserts.doAssertFailure_("Expected function but got %s: %s.",[goog.typeOf(e),e],t,Array.prototype.slice.call(arguments,2)),e},goog.asserts.assertObject=function(e,t,o){return goog.asserts.ENABLE_ASSERTS&&!goog.isObject(e)&&goog.asserts.doAssertFailure_("Expected object but got %s: %s.",[goog.typeOf(e),e],t,Array.prototype.slice.call(arguments,2)),e},goog.asserts.assertArray=function(e,t,o){return goog.asserts.ENABLE_ASSERTS&&!Array.isArray(e)&&goog.asserts.doAssertFailure_("Expected array but got %s: %s.",[goog.typeOf(e),e],t,Array.prototype.slice.call(arguments,2)),e},goog.asserts.assertBoolean=function(e,t,o){return goog.asserts.ENABLE_ASSERTS&&"boolean"!=typeof e&&goog.asserts.doAssertFailure_("Expected boolean but got %s: %s.",[goog.typeOf(e),e],t,Array.prototype.slice.call(arguments,2)),e},goog.asserts.assertElement=function(e,t,o){return!goog.asserts.ENABLE_ASSERTS||goog.isObject(e)&&e.nodeType==goog.dom.NodeType.ELEMENT||goog.asserts.doAssertFailure_("Expected Element but got %s: %s.",[goog.typeOf(e),e],t,Array.prototype.slice.call(arguments,2)),e},goog.asserts.assertInstanceof=function(e,t,o,r){return!goog.asserts.ENABLE_ASSERTS||e instanceof t||goog.asserts.doAssertFailure_("Expected instanceof %s but got %s.",[goog.asserts.getType_(t),goog.asserts.getType_(e)],o,Array.prototype.slice.call(arguments,3)),e},goog.asserts.assertFinite=function(e,t,o){return!goog.asserts.ENABLE_ASSERTS||"number"==typeof e&&isFinite(e)||goog.asserts.doAssertFailure_("Expected %s to be a finite number but it is not.",[e],t,Array.prototype.slice.call(arguments,2)),e},goog.asserts.assertObjectPrototypeIsIntact=function(){for(var e in Object.prototype)goog.asserts.fail(e+" should not be enumerable in Object.prototype.")},goog.asserts.getType_=function(e){return e instanceof Function?e.displayName||e.name||"unknown type name":e instanceof Object?e.constructor.displayName||e.constructor.name||Object.prototype.toString.call(e):null===e?"null":typeof e},goog.array={},goog.NATIVE_ARRAY_PROTOTYPES=goog.TRUSTED_SITE,goog.array.ASSUME_NATIVE_FUNCTIONS=2012<goog.FEATURESET_YEAR,goog.array.peek=function(e){return e[e.length-1]},goog.array.last=goog.array.peek,goog.array.indexOf=goog.NATIVE_ARRAY_PROTOTYPES&&(goog.array.ASSUME_NATIVE_FUNCTIONS||Array.prototype.indexOf)?function(e,t,o){return goog.asserts.assert(null!=e.length),Array.prototype.indexOf.call(e,t,o)}:function(e,t,o){if(o=null==o?0:0>o?Math.max(0,e.length+o):o,"string"==typeof e)return"string"!=typeof t||1!=t.length?-1:e.indexOf(t,o);for(;o<e.length;o++)if(o in e&&e[o]===t)return o;return-1},goog.array.lastIndexOf=goog.NATIVE_ARRAY_PROTOTYPES&&(goog.array.ASSUME_NATIVE_FUNCTIONS||Array.prototype.lastIndexOf)?function(e,t,o){return goog.asserts.assert(null!=e.length),Array.prototype.lastIndexOf.call(e,t,null==o?e.length-1:o)}:function(e,t,o){if(0>(o=null==o?e.length-1:o)&&(o=Math.max(0,e.length+o)),"string"==typeof e)return"string"!=typeof t||1!=t.length?-1:e.lastIndexOf(t,o);for(;0<=o;o--)if(o in e&&e[o]===t)return o;return-1},goog.array.forEach=goog.NATIVE_ARRAY_PROTOTYPES&&(goog.array.ASSUME_NATIVE_FUNCTIONS||Array.prototype.forEach)?function(e,t,o){goog.asserts.assert(null!=e.length),Array.prototype.forEach.call(e,t,o)}:function(e,t,o){for(var r=e.length,s="string"==typeof e?e.split(""):e,i=0;i<r;i++)i in s&&t.call(o,s[i],i,e)},goog.array.forEachRight=function(e,t,o){var r=e.length,s="string"==typeof e?e.split(""):e;for(--r;0<=r;--r)r in s&&t.call(o,s[r],r,e)},goog.array.filter=goog.NATIVE_ARRAY_PROTOTYPES&&(goog.array.ASSUME_NATIVE_FUNCTIONS||Array.prototype.filter)?function(e,t,o){return goog.asserts.assert(null!=e.length),Array.prototype.filter.call(e,t,o)}:function(e,t,o){for(var r=e.length,s=[],i=0,n="string"==typeof e?e.split(""):e,a=0;a<r;a++)if(a in n){var p=n[a];t.call(o,p,a,e)&&(s[i++]=p)}return s},goog.array.map=goog.NATIVE_ARRAY_PROTOTYPES&&(goog.array.ASSUME_NATIVE_FUNCTIONS||Array.prototype.map)?function(e,t,o){return goog.asserts.assert(null!=e.length),Array.prototype.map.call(e,t,o)}:function(e,t,o){for(var r=e.length,s=Array(r),i="string"==typeof e?e.split(""):e,n=0;n<r;n++)n in i&&(s[n]=t.call(o,i[n],n,e));return s},goog.array.reduce=goog.NATIVE_ARRAY_PROTOTYPES&&(goog.array.ASSUME_NATIVE_FUNCTIONS||Array.prototype.reduce)?function(e,t,o,r){return goog.asserts.assert(null!=e.length),r&&(t=goog.bind(t,r)),Array.prototype.reduce.call(e,t,o)}:function(e,t,o,r){var s=o;return goog.array.forEach(e,(function(o,i){s=t.call(r,s,o,i,e)})),s},goog.array.reduceRight=goog.NATIVE_ARRAY_PROTOTYPES&&(goog.array.ASSUME_NATIVE_FUNCTIONS||Array.prototype.reduceRight)?function(e,t,o,r){return goog.asserts.assert(null!=e.length),goog.asserts.assert(null!=t),r&&(t=goog.bind(t,r)),Array.prototype.reduceRight.call(e,t,o)}:function(e,t,o,r){var s=o;return goog.array.forEachRight(e,(function(o,i){s=t.call(r,s,o,i,e)})),s},goog.array.some=goog.NATIVE_ARRAY_PROTOTYPES&&(goog.array.ASSUME_NATIVE_FUNCTIONS||Array.prototype.some)?function(e,t,o){return goog.asserts.assert(null!=e.length),Array.prototype.some.call(e,t,o)}:function(e,t,o){for(var r=e.length,s="string"==typeof e?e.split(""):e,i=0;i<r;i++)if(i in s&&t.call(o,s[i],i,e))return!0;return!1},goog.array.every=goog.NATIVE_ARRAY_PROTOTYPES&&(goog.array.ASSUME_NATIVE_FUNCTIONS||Array.prototype.every)?function(e,t,o){return goog.asserts.assert(null!=e.length),Array.prototype.every.call(e,t,o)}:function(e,t,o){for(var r=e.length,s="string"==typeof e?e.split(""):e,i=0;i<r;i++)if(i in s&&!t.call(o,s[i],i,e))return!1;return!0},goog.array.count=function(e,t,o){var r=0;return goog.array.forEach(e,(function(e,s,i){t.call(o,e,s,i)&&++r}),o),r},goog.array.find=function(e,t,o){return 0>(t=goog.array.findIndex(e,t,o))?null:"string"==typeof e?e.charAt(t):e[t]},goog.array.findIndex=function(e,t,o){for(var r=e.length,s="string"==typeof e?e.split(""):e,i=0;i<r;i++)if(i in s&&t.call(o,s[i],i,e))return i;return-1},goog.array.findRight=function(e,t,o){return 0>(t=goog.array.findIndexRight(e,t,o))?null:"string"==typeof e?e.charAt(t):e[t]},goog.array.findIndexRight=function(e,t,o){var r=e.length,s="string"==typeof e?e.split(""):e;for(--r;0<=r;r--)if(r in s&&t.call(o,s[r],r,e))return r;return-1},goog.array.contains=function(e,t){return 0<=goog.array.indexOf(e,t)},goog.array.isEmpty=function(e){return 0==e.length},goog.array.clear=function(e){if(!Array.isArray(e))for(var t=e.length-1;0<=t;t--)delete e[t];e.length=0},goog.array.insert=function(e,t){goog.array.contains(e,t)||e.push(t)},goog.array.insertAt=function(e,t,o){goog.array.splice(e,o,0,t)},goog.array.insertArrayAt=function(e,t,o){goog.partial(goog.array.splice,e,o,0).apply(null,t)},goog.array.insertBefore=function(e,t,o){var r;2==arguments.length||0>(r=goog.array.indexOf(e,o))?e.push(t):goog.array.insertAt(e,t,r)},goog.array.remove=function(e,t){var o;return(o=0<=(t=goog.array.indexOf(e,t)))&&goog.array.removeAt(e,t),o},goog.array.removeLast=function(e,t){return 0<=(t=goog.array.lastIndexOf(e,t))&&(goog.array.removeAt(e,t),!0)},goog.array.removeAt=function(e,t){return goog.asserts.assert(null!=e.length),1==Array.prototype.splice.call(e,t,1).length},goog.array.removeIf=function(e,t,o){return 0<=(t=goog.array.findIndex(e,t,o))&&(goog.array.removeAt(e,t),!0)},goog.array.removeAllIf=function(e,t,o){var r=0;return goog.array.forEachRight(e,(function(s,i){t.call(o,s,i,e)&&goog.array.removeAt(e,i)&&r++})),r},goog.array.concat=function(e){return Array.prototype.concat.apply([],arguments)},goog.array.join=function(e){return Array.prototype.concat.apply([],arguments)},goog.array.toArray=function(e){var t=e.length;if(0<t){for(var o=Array(t),r=0;r<t;r++)o[r]=e[r];return o}return[]},goog.array.clone=goog.array.toArray,goog.array.extend=function(e,t){for(var o=1;o<arguments.length;o++){var r=arguments[o];if(goog.isArrayLike(r)){var s=e.length||0,i=r.length||0;e.length=s+i;for(var n=0;n<i;n++)e[s+n]=r[n]}else e.push(r)}},goog.array.splice=function(e,t,o,r){return goog.asserts.assert(null!=e.length),Array.prototype.splice.apply(e,goog.array.slice(arguments,1))},goog.array.slice=function(e,t,o){return goog.asserts.assert(null!=e.length),2>=arguments.length?Array.prototype.slice.call(e,t):Array.prototype.slice.call(e,t,o)},goog.array.removeDuplicates=function(e,t,o){t=t||e;var r=function(e){return goog.isObject(e)?"o"+goog.getUid(e):(typeof e).charAt(0)+e};o=o||r,r={};for(var s=0,i=0;i<e.length;){var n=e[i++],a=o(n);Object.prototype.hasOwnProperty.call(r,a)||(r[a]=!0,t[s++]=n)}t.length=s},goog.array.binarySearch=function(e,t,o){return goog.array.binarySearch_(e,o||goog.array.defaultCompare,!1,t)},goog.array.binarySelect=function(e,t,o){return goog.array.binarySearch_(e,t,!0,void 0,o)},goog.array.binarySearch_=function(e,t,o,r,s){for(var i,n=0,a=e.length;n<a;){var p=n+(a-n>>>1),g=o?t.call(s,e[p],p,e):t(r,e[p]);0<g?n=p+1:(a=p,i=!g)}return i?n:-n-1},goog.array.sort=function(e,t){e.sort(t||goog.array.defaultCompare)},goog.array.stableSort=function(e,t){for(var o=Array(e.length),r=0;r<e.length;r++)o[r]={index:r,value:e[r]};var s=t||goog.array.defaultCompare;for(goog.array.sort(o,(function(e,t){return s(e.value,t.value)||e.index-t.index})),r=0;r<e.length;r++)e[r]=o[r].value},goog.array.sortByKey=function(e,t,o){var r=o||goog.array.defaultCompare;goog.array.sort(e,(function(e,o){return r(t(e),t(o))}))},goog.array.sortObjectsByKey=function(e,t,o){goog.array.sortByKey(e,(function(e){return e[t]}),o)},goog.array.isSorted=function(e,t,o){t=t||goog.array.defaultCompare;for(var r=1;r<e.length;r++){var s=t(e[r-1],e[r]);if(0<s||0==s&&o)return!1}return!0},goog.array.equals=function(e,t,o){if(!goog.isArrayLike(e)||!goog.isArrayLike(t)||e.length!=t.length)return!1;var r=e.length;o=o||goog.array.defaultCompareEquality;for(var s=0;s<r;s++)if(!o(e[s],t[s]))return!1;return!0},goog.array.compare3=function(e,t,o){o=o||goog.array.defaultCompare;for(var r=Math.min(e.length,t.length),s=0;s<r;s++){var i=o(e[s],t[s]);if(0!=i)return i}return goog.array.defaultCompare(e.length,t.length)},goog.array.defaultCompare=function(e,t){return e>t?1:e<t?-1:0},goog.array.inverseDefaultCompare=function(e,t){return-goog.array.defaultCompare(e,t)},goog.array.defaultCompareEquality=function(e,t){return e===t},goog.array.binaryInsert=function(e,t,o){return 0>(o=goog.array.binarySearch(e,t,o))&&(goog.array.insertAt(e,t,-(o+1)),!0)},goog.array.binaryRemove=function(e,t,o){return 0<=(t=goog.array.binarySearch(e,t,o))&&goog.array.removeAt(e,t)},goog.array.bucket=function(e,t,o){for(var r={},s=0;s<e.length;s++){var i=e[s],n=t.call(o,i,s,e);void 0!==n&&(r[n]||(r[n]=[])).push(i)}return r},goog.array.toObject=function(e,t,o){var r={};return goog.array.forEach(e,(function(s,i){r[t.call(o,s,i,e)]=s})),r},goog.array.range=function(e,t,o){var r=[],s=0,i=e;if(void 0!==t&&(s=e,i=t),0>(o=o||1)*(i-s))return[];if(0<o)for(e=s;e<i;e+=o)r.push(e);else for(e=s;e>i;e+=o)r.push(e);return r},goog.array.repeat=function(e,t){for(var o=[],r=0;r<t;r++)o[r]=e;return o},goog.array.flatten=function(e){for(var t=[],o=0;o<arguments.length;o++){var r=arguments[o];if(Array.isArray(r))for(var s=0;s<r.length;s+=8192){var i=goog.array.slice(r,s,s+8192);i=goog.array.flatten.apply(null,i);for(var n=0;n<i.length;n++)t.push(i[n])}else t.push(r)}return t},goog.array.rotate=function(e,t){return goog.asserts.assert(null!=e.length),e.length&&(0<(t%=e.length)?Array.prototype.unshift.apply(e,e.splice(-t,t)):0>t&&Array.prototype.push.apply(e,e.splice(0,-t))),e},goog.array.moveItem=function(e,t,o){goog.asserts.assert(0<=t&&t<e.length),goog.asserts.assert(0<=o&&o<e.length),t=Array.prototype.splice.call(e,t,1),Array.prototype.splice.call(e,o,0,t[0])},goog.array.zip=function(e){if(!arguments.length)return[];for(var t=[],o=arguments[0].length,r=1;r<arguments.length;r++)arguments[r].length<o&&(o=arguments[r].length);for(r=0;r<o;r++){for(var s=[],i=0;i<arguments.length;i++)s.push(arguments[i][r]);t.push(s)}return t},goog.array.shuffle=function(e,t){t=t||Math.random;for(var o=e.length-1;0<o;o--){var r=Math.floor(t()*(o+1)),s=e[o];e[o]=e[r],e[r]=s}},goog.array.copyByIndex=function(e,t){var o=[];return goog.array.forEach(t,(function(t){o.push(e[t])})),o},goog.array.concatMap=function(e,t,o){return goog.array.concat.apply([],goog.array.map(e,t,o))},goog.crypt={},goog.crypt.stringToByteArray=function(e){for(var t=[],o=0,r=0;r<e.length;r++){var s=e.charCodeAt(r);255<s&&(t[o++]=255&s,s>>=8),t[o++]=s}return t},goog.crypt.byteArrayToString=function(e){if(8192>=e.length)return String.fromCharCode.apply(null,e);for(var t="",o=0;o<e.length;o+=8192){var r=goog.array.slice(e,o,o+8192);t+=String.fromCharCode.apply(null,r)}return t},goog.crypt.byteArrayToHex=function(e,t){return goog.array.map(e,(function(e){return 1<(e=e.toString(16)).length?e:"0"+e})).join(t||"")},goog.crypt.hexToByteArray=function(e){goog.asserts.assert(0==e.length%2,"Key string length must be multiple of 2");for(var t=[],o=0;o<e.length;o+=2)t.push(parseInt(e.substring(o,o+2),16));return t},goog.crypt.stringToUtf8ByteArray=function(e){for(var t=[],o=0,r=0;r<e.length;r++){var s=e.charCodeAt(r);128>s?t[o++]=s:(2048>s?t[o++]=s>>6|192:(55296==(64512&s)&&r+1<e.length&&56320==(64512&e.charCodeAt(r+1))?(s=65536+((1023&s)<<10)+(1023&e.charCodeAt(++r)),t[o++]=s>>18|240,t[o++]=s>>12&63|128):t[o++]=s>>12|224,t[o++]=s>>6&63|128),t[o++]=63&s|128)}return t},goog.crypt.utf8ByteArrayToString=function(e){for(var t=[],o=0,r=0;o<e.length;){var s=e[o++];if(128>s)t[r++]=String.fromCharCode(s);else if(191<s&&224>s){var i=e[o++];t[r++]=String.fromCharCode((31&s)<<6|63&i)}else if(239<s&&365>s){i=e[o++];var n=e[o++];s=((7&s)<<18|(63&i)<<12|(63&n)<<6|63&e[o++])-65536,t[r++]=String.fromCharCode(55296+(s>>10)),t[r++]=String.fromCharCode(56320+(1023&s))}else i=e[o++],n=e[o++],t[r++]=String.fromCharCode((15&s)<<12|(63&i)<<6|63&n)}return t.join("")},goog.crypt.xorByteArray=function(e,t){goog.asserts.assert(e.length==t.length,"XOR array lengths must match");for(var o=[],r=0;r<e.length;r++)o.push(e[r]^t[r]);return o},goog.dom.asserts={},goog.dom.asserts.assertIsLocation=function(e){if(goog.asserts.ENABLE_ASSERTS){var t=goog.dom.asserts.getWindow_(e);t&&(!e||!(e instanceof t.Location)&&e instanceof t.Element)&&goog.asserts.fail("Argument is not a Location (or a non-Element mock); got: %s",goog.dom.asserts.debugStringForType_(e))}return e},goog.dom.asserts.assertIsElementType_=function(e,t){if(goog.asserts.ENABLE_ASSERTS){var o=goog.dom.asserts.getWindow_(e);o&&void 0!==o[t]&&(e&&(e instanceof o[t]||!(e instanceof o.Location||e instanceof o.Element))||goog.asserts.fail("Argument is not a %s (or a non-Element, non-Location mock); got: %s",t,goog.dom.asserts.debugStringForType_(e)))}return e},goog.dom.asserts.assertIsHTMLAnchorElement=function(e){return goog.dom.asserts.assertIsElementType_(e,"HTMLAnchorElement")},goog.dom.asserts.assertIsHTMLButtonElement=function(e){return goog.dom.asserts.assertIsElementType_(e,"HTMLButtonElement")},goog.dom.asserts.assertIsHTMLLinkElement=function(e){return goog.dom.asserts.assertIsElementType_(e,"HTMLLinkElement")},goog.dom.asserts.assertIsHTMLImageElement=function(e){return goog.dom.asserts.assertIsElementType_(e,"HTMLImageElement")},goog.dom.asserts.assertIsHTMLAudioElement=function(e){return goog.dom.asserts.assertIsElementType_(e,"HTMLAudioElement")},goog.dom.asserts.assertIsHTMLVideoElement=function(e){return goog.dom.asserts.assertIsElementType_(e,"HTMLVideoElement")},goog.dom.asserts.assertIsHTMLInputElement=function(e){return goog.dom.asserts.assertIsElementType_(e,"HTMLInputElement")},goog.dom.asserts.assertIsHTMLTextAreaElement=function(e){return goog.dom.asserts.assertIsElementType_(e,"HTMLTextAreaElement")},goog.dom.asserts.assertIsHTMLCanvasElement=function(e){return goog.dom.asserts.assertIsElementType_(e,"HTMLCanvasElement")},goog.dom.asserts.assertIsHTMLEmbedElement=function(e){return goog.dom.asserts.assertIsElementType_(e,"HTMLEmbedElement")},goog.dom.asserts.assertIsHTMLFormElement=function(e){return goog.dom.asserts.assertIsElementType_(e,"HTMLFormElement")},goog.dom.asserts.assertIsHTMLFrameElement=function(e){return goog.dom.asserts.assertIsElementType_(e,"HTMLFrameElement")},goog.dom.asserts.assertIsHTMLIFrameElement=function(e){return goog.dom.asserts.assertIsElementType_(e,"HTMLIFrameElement")},goog.dom.asserts.assertIsHTMLObjectElement=function(e){return goog.dom.asserts.assertIsElementType_(e,"HTMLObjectElement")},goog.dom.asserts.assertIsHTMLScriptElement=function(e){return goog.dom.asserts.assertIsElementType_(e,"HTMLScriptElement")},goog.dom.asserts.debugStringForType_=function(e){if(!goog.isObject(e))return void 0===e?"undefined":null===e?"null":typeof e;try{return e.constructor.displayName||e.constructor.name||Object.prototype.toString.call(e)}catch(e){return"<object could not be stringified>"}},goog.dom.asserts.getWindow_=function(e){try{var t=e&&e.ownerDocument,o=t&&(t.defaultView||t.parentWindow);if((o=o||goog.global).Element&&o.Location)return o}catch(e){}return null},goog.functions={},goog.functions.constant=function(e){return function(){return e}},goog.functions.FALSE=function(){return!1},goog.functions.TRUE=function(){return!0},goog.functions.NULL=function(){return null},goog.functions.identity=function(e,t){return e},goog.functions.error=function(e){return function(){throw Error(e)}},goog.functions.fail=function(e){return function(){throw e}},goog.functions.lock=function(e,t){return t=t||0,function(){return e.apply(this,Array.prototype.slice.call(arguments,0,t))}},goog.functions.nth=function(e){return function(){return arguments[e]}},goog.functions.partialRight=function(e,t){var o=Array.prototype.slice.call(arguments,1);return function(){var t=Array.prototype.slice.call(arguments);return t.push.apply(t,o),e.apply(this,t)}},goog.functions.withReturnValue=function(e,t){return goog.functions.sequence(e,goog.functions.constant(t))},goog.functions.equalTo=function(e,t){return function(o){return t?e==o:e===o}},goog.functions.compose=function(e,t){var o=arguments,r=o.length;return function(){var e;r&&(e=o[r-1].apply(this,arguments));for(var t=r-2;0<=t;t--)e=o[t].call(this,e);return e}},goog.functions.sequence=function(e){var t=arguments,o=t.length;return function(){for(var e,r=0;r<o;r++)e=t[r].apply(this,arguments);return e}},goog.functions.and=function(e){var t=arguments,o=t.length;return function(){for(var e=0;e<o;e++)if(!t[e].apply(this,arguments))return!1;return!0}},goog.functions.or=function(e){var t=arguments,o=t.length;return function(){for(var e=0;e<o;e++)if(t[e].apply(this,arguments))return!0;return!1}},goog.functions.not=function(e){return function(){return!e.apply(this,arguments)}},goog.functions.create=function(e,t){var o=function(){};return o.prototype=e.prototype,o=new o,e.apply(o,Array.prototype.slice.call(arguments,1)),o},goog.functions.CACHE_RETURN_VALUE=!0,goog.functions.cacheReturnValue=function(e){var t,o=!1;return function(){return goog.functions.CACHE_RETURN_VALUE?(o||(t=e(),o=!0),t):e()}},goog.functions.once=function(e){var t=e;return function(){if(t){var e=t;t=null,e()}}},goog.functions.debounce=function(e,t,o){var r=0;return function(s){goog.global.clearTimeout(r);var i=arguments;r=goog.global.setTimeout((function(){e.apply(o,i)}),t)}},goog.functions.throttle=function(e,t,o){var r=0,s=!1,i=[],n=function(){r=0,s&&(s=!1,a())},a=function(){r=goog.global.setTimeout(n,t),e.apply(o,i)};return function(e){i=arguments,r?s=!0:a()}},goog.functions.rateLimit=function(e,t,o){var r=0,s=function(){r=0};return function(i){r||(r=goog.global.setTimeout(s,t),e.apply(o,arguments))}},goog.dom.HtmlElement=function(){},goog.dom.TagName=function(e){this.tagName_=e},goog.dom.TagName.prototype.toString=function(){return this.tagName_},goog.dom.TagName.A=new goog.dom.TagName("A"),goog.dom.TagName.ABBR=new goog.dom.TagName("ABBR"),goog.dom.TagName.ACRONYM=new goog.dom.TagName("ACRONYM"),goog.dom.TagName.ADDRESS=new goog.dom.TagName("ADDRESS"),goog.dom.TagName.APPLET=new goog.dom.TagName("APPLET"),goog.dom.TagName.AREA=new goog.dom.TagName("AREA"),goog.dom.TagName.ARTICLE=new goog.dom.TagName("ARTICLE"),goog.dom.TagName.ASIDE=new goog.dom.TagName("ASIDE"),goog.dom.TagName.AUDIO=new goog.dom.TagName("AUDIO"),goog.dom.TagName.B=new goog.dom.TagName("B"),goog.dom.TagName.BASE=new goog.dom.TagName("BASE"),goog.dom.TagName.BASEFONT=new goog.dom.TagName("BASEFONT"),goog.dom.TagName.BDI=new goog.dom.TagName("BDI"),goog.dom.TagName.BDO=new goog.dom.TagName("BDO"),goog.dom.TagName.BIG=new goog.dom.TagName("BIG"),goog.dom.TagName.BLOCKQUOTE=new goog.dom.TagName("BLOCKQUOTE"),goog.dom.TagName.BODY=new goog.dom.TagName("BODY"),goog.dom.TagName.BR=new goog.dom.TagName("BR"),goog.dom.TagName.BUTTON=new goog.dom.TagName("BUTTON"),goog.dom.TagName.CANVAS=new goog.dom.TagName("CANVAS"),goog.dom.TagName.CAPTION=new goog.dom.TagName("CAPTION"),goog.dom.TagName.CENTER=new goog.dom.TagName("CENTER"),goog.dom.TagName.CITE=new goog.dom.TagName("CITE"),goog.dom.TagName.CODE=new goog.dom.TagName("CODE"),goog.dom.TagName.COL=new goog.dom.TagName("COL"),goog.dom.TagName.COLGROUP=new goog.dom.TagName("COLGROUP"),goog.dom.TagName.COMMAND=new goog.dom.TagName("COMMAND"),goog.dom.TagName.DATA=new goog.dom.TagName("DATA"),goog.dom.TagName.DATALIST=new goog.dom.TagName("DATALIST"),goog.dom.TagName.DD=new goog.dom.TagName("DD"),goog.dom.TagName.DEL=new goog.dom.TagName("DEL"),goog.dom.TagName.DETAILS=new goog.dom.TagName("DETAILS"),goog.dom.TagName.DFN=new goog.dom.TagName("DFN"),goog.dom.TagName.DIALOG=new goog.dom.TagName("DIALOG"),goog.dom.TagName.DIR=new goog.dom.TagName("DIR"),goog.dom.TagName.DIV=new goog.dom.TagName("DIV"),goog.dom.TagName.DL=new goog.dom.TagName("DL"),goog.dom.TagName.DT=new goog.dom.TagName("DT"),goog.dom.TagName.EM=new goog.dom.TagName("EM"),goog.dom.TagName.EMBED=new goog.dom.TagName("EMBED"),goog.dom.TagName.FIELDSET=new goog.dom.TagName("FIELDSET"),goog.dom.TagName.FIGCAPTION=new goog.dom.TagName("FIGCAPTION"),goog.dom.TagName.FIGURE=new goog.dom.TagName("FIGURE"),goog.dom.TagName.FONT=new goog.dom.TagName("FONT"),goog.dom.TagName.FOOTER=new goog.dom.TagName("FOOTER"),goog.dom.TagName.FORM=new goog.dom.TagName("FORM"),goog.dom.TagName.FRAME=new goog.dom.TagName("FRAME"),goog.dom.TagName.FRAMESET=new goog.dom.TagName("FRAMESET"),goog.dom.TagName.H1=new goog.dom.TagName("H1"),goog.dom.TagName.H2=new goog.dom.TagName("H2"),goog.dom.TagName.H3=new goog.dom.TagName("H3"),goog.dom.TagName.H4=new goog.dom.TagName("H4"),goog.dom.TagName.H5=new goog.dom.TagName("H5"),goog.dom.TagName.H6=new goog.dom.TagName("H6"),goog.dom.TagName.HEAD=new goog.dom.TagName("HEAD"),goog.dom.TagName.HEADER=new goog.dom.TagName("HEADER"),goog.dom.TagName.HGROUP=new goog.dom.TagName("HGROUP"),goog.dom.TagName.HR=new goog.dom.TagName("HR"),goog.dom.TagName.HTML=new goog.dom.TagName("HTML"),goog.dom.TagName.I=new goog.dom.TagName("I"),goog.dom.TagName.IFRAME=new goog.dom.TagName("IFRAME"),goog.dom.TagName.IMG=new goog.dom.TagName("IMG"),goog.dom.TagName.INPUT=new goog.dom.TagName("INPUT"),goog.dom.TagName.INS=new goog.dom.TagName("INS"),goog.dom.TagName.ISINDEX=new goog.dom.TagName("ISINDEX"),goog.dom.TagName.KBD=new goog.dom.TagName("KBD"),goog.dom.TagName.KEYGEN=new goog.dom.TagName("KEYGEN"),goog.dom.TagName.LABEL=new goog.dom.TagName("LABEL"),goog.dom.TagName.LEGEND=new goog.dom.TagName("LEGEND"),goog.dom.TagName.LI=new goog.dom.TagName("LI"),goog.dom.TagName.LINK=new goog.dom.TagName("LINK"),goog.dom.TagName.MAIN=new goog.dom.TagName("MAIN"),goog.dom.TagName.MAP=new goog.dom.TagName("MAP"),goog.dom.TagName.MARK=new goog.dom.TagName("MARK"),goog.dom.TagName.MATH=new goog.dom.TagName("MATH"),goog.dom.TagName.MENU=new goog.dom.TagName("MENU"),goog.dom.TagName.MENUITEM=new goog.dom.TagName("MENUITEM"),goog.dom.TagName.META=new goog.dom.TagName("META"),goog.dom.TagName.METER=new goog.dom.TagName("METER"),goog.dom.TagName.NAV=new goog.dom.TagName("NAV"),goog.dom.TagName.NOFRAMES=new goog.dom.TagName("NOFRAMES"),goog.dom.TagName.NOSCRIPT=new goog.dom.TagName("NOSCRIPT"),goog.dom.TagName.OBJECT=new goog.dom.TagName("OBJECT"),goog.dom.TagName.OL=new goog.dom.TagName("OL"),goog.dom.TagName.OPTGROUP=new goog.dom.TagName("OPTGROUP"),goog.dom.TagName.OPTION=new goog.dom.TagName("OPTION"),goog.dom.TagName.OUTPUT=new goog.dom.TagName("OUTPUT"),goog.dom.TagName.P=new goog.dom.TagName("P"),goog.dom.TagName.PARAM=new goog.dom.TagName("PARAM"),goog.dom.TagName.PICTURE=new goog.dom.TagName("PICTURE"),goog.dom.TagName.PRE=new goog.dom.TagName("PRE"),goog.dom.TagName.PROGRESS=new goog.dom.TagName("PROGRESS"),goog.dom.TagName.Q=new goog.dom.TagName("Q"),goog.dom.TagName.RP=new goog.dom.TagName("RP"),goog.dom.TagName.RT=new goog.dom.TagName("RT"),goog.dom.TagName.RTC=new goog.dom.TagName("RTC"),goog.dom.TagName.RUBY=new goog.dom.TagName("RUBY"),goog.dom.TagName.S=new goog.dom.TagName("S"),goog.dom.TagName.SAMP=new goog.dom.TagName("SAMP"),goog.dom.TagName.SCRIPT=new goog.dom.TagName("SCRIPT"),goog.dom.TagName.SECTION=new goog.dom.TagName("SECTION"),goog.dom.TagName.SELECT=new goog.dom.TagName("SELECT"),goog.dom.TagName.SMALL=new goog.dom.TagName("SMALL"),goog.dom.TagName.SOURCE=new goog.dom.TagName("SOURCE"),goog.dom.TagName.SPAN=new goog.dom.TagName("SPAN"),goog.dom.TagName.STRIKE=new goog.dom.TagName("STRIKE"),goog.dom.TagName.STRONG=new goog.dom.TagName("STRONG"),goog.dom.TagName.STYLE=new goog.dom.TagName("STYLE"),goog.dom.TagName.SUB=new goog.dom.TagName("SUB"),goog.dom.TagName.SUMMARY=new goog.dom.TagName("SUMMARY"),goog.dom.TagName.SUP=new goog.dom.TagName("SUP"),goog.dom.TagName.SVG=new goog.dom.TagName("SVG"),goog.dom.TagName.TABLE=new goog.dom.TagName("TABLE"),goog.dom.TagName.TBODY=new goog.dom.TagName("TBODY"),goog.dom.TagName.TD=new goog.dom.TagName("TD"),goog.dom.TagName.TEMPLATE=new goog.dom.TagName("TEMPLATE"),goog.dom.TagName.TEXTAREA=new goog.dom.TagName("TEXTAREA"),goog.dom.TagName.TFOOT=new goog.dom.TagName("TFOOT"),goog.dom.TagName.TH=new goog.dom.TagName("TH"),goog.dom.TagName.THEAD=new goog.dom.TagName("THEAD"),goog.dom.TagName.TIME=new goog.dom.TagName("TIME"),goog.dom.TagName.TITLE=new goog.dom.TagName("TITLE"),goog.dom.TagName.TR=new goog.dom.TagName("TR"),goog.dom.TagName.TRACK=new goog.dom.TagName("TRACK"),goog.dom.TagName.TT=new goog.dom.TagName("TT"),goog.dom.TagName.U=new goog.dom.TagName("U"),goog.dom.TagName.UL=new goog.dom.TagName("UL"),goog.dom.TagName.VAR=new goog.dom.TagName("VAR"),goog.dom.TagName.VIDEO=new goog.dom.TagName("VIDEO"),goog.dom.TagName.WBR=new goog.dom.TagName("WBR"),goog.dom.tags={},goog.dom.tags.VOID_TAGS_={area:!0,base:!0,br:!0,col:!0,command:!0,embed:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0},goog.dom.tags.isVoidTag=function(e){return!0===goog.dom.tags.VOID_TAGS_[e]},goog.html={},goog.html.trustedtypes={},goog.html.trustedtypes.PRIVATE_DO_NOT_ACCESS_OR_ELSE_POLICY=goog.TRUSTED_TYPES_POLICY_NAME?goog.createTrustedTypesPolicy(goog.TRUSTED_TYPES_POLICY_NAME+"#html"):null,goog.string={},goog.string.TypedString=function(){},goog.string.Const=function(e,t){this.stringConstValueWithSecurityContract__googStringSecurityPrivate_=e===goog.string.Const.GOOG_STRING_CONSTRUCTOR_TOKEN_PRIVATE_&&t||"",this.STRING_CONST_TYPE_MARKER__GOOG_STRING_SECURITY_PRIVATE_=goog.string.Const.TYPE_MARKER_},goog.string.Const.prototype.implementsGoogStringTypedString=!0,goog.string.Const.prototype.getTypedStringValue=function(){return this.stringConstValueWithSecurityContract__googStringSecurityPrivate_},goog.DEBUG&&(goog.string.Const.prototype.toString=function(){return"Const{"+this.stringConstValueWithSecurityContract__googStringSecurityPrivate_+"}"}),goog.string.Const.unwrap=function(e){return e instanceof goog.string.Const&&e.constructor===goog.string.Const&&e.STRING_CONST_TYPE_MARKER__GOOG_STRING_SECURITY_PRIVATE_===goog.string.Const.TYPE_MARKER_?e.stringConstValueWithSecurityContract__googStringSecurityPrivate_:(goog.asserts.fail("expected object of type Const, got '"+e+"'"),"type_error:Const")},goog.string.Const.from=function(e){return new goog.string.Const(goog.string.Const.GOOG_STRING_CONSTRUCTOR_TOKEN_PRIVATE_,e)},goog.string.Const.TYPE_MARKER_={},goog.string.Const.GOOG_STRING_CONSTRUCTOR_TOKEN_PRIVATE_={},goog.string.Const.EMPTY=goog.string.Const.from(""),goog.html.SafeScript=function(){this.privateDoNotAccessOrElseSafeScriptWrappedValue_="",this.SAFE_SCRIPT_TYPE_MARKER_GOOG_HTML_SECURITY_PRIVATE_=goog.html.SafeScript.TYPE_MARKER_GOOG_HTML_SECURITY_PRIVATE_},goog.html.SafeScript.prototype.implementsGoogStringTypedString=!0,goog.html.SafeScript.TYPE_MARKER_GOOG_HTML_SECURITY_PRIVATE_={},goog.html.SafeScript.fromConstant=function(e){return 0===(e=goog.string.Const.unwrap(e)).length?goog.html.SafeScript.EMPTY:goog.html.SafeScript.createSafeScriptSecurityPrivateDoNotAccessOrElse(e)},goog.html.SafeScript.fromConstantAndArgs=function(e,t){for(var o=[],r=1;r<arguments.length;r++)o.push(goog.html.SafeScript.stringify_(arguments[r]));return goog.html.SafeScript.createSafeScriptSecurityPrivateDoNotAccessOrElse("("+goog.string.Const.unwrap(e)+")("+o.join(", ")+");")},goog.html.SafeScript.fromJson=function(e){return goog.html.SafeScript.createSafeScriptSecurityPrivateDoNotAccessOrElse(goog.html.SafeScript.stringify_(e))},goog.html.SafeScript.prototype.getTypedStringValue=function(){return this.privateDoNotAccessOrElseSafeScriptWrappedValue_.toString()},goog.DEBUG&&(goog.html.SafeScript.prototype.toString=function(){return"SafeScript{"+this.privateDoNotAccessOrElseSafeScriptWrappedValue_+"}"}),goog.html.SafeScript.unwrap=function(e){return goog.html.SafeScript.unwrapTrustedScript(e).toString()},goog.html.SafeScript.unwrapTrustedScript=function(e){return e instanceof goog.html.SafeScript&&e.constructor===goog.html.SafeScript&&e.SAFE_SCRIPT_TYPE_MARKER_GOOG_HTML_SECURITY_PRIVATE_===goog.html.SafeScript.TYPE_MARKER_GOOG_HTML_SECURITY_PRIVATE_?e.privateDoNotAccessOrElseSafeScriptWrappedValue_:(goog.asserts.fail("expected object of type SafeScript, got '"+e+"' of type "+goog.typeOf(e)),"type_error:SafeScript")},goog.html.SafeScript.stringify_=function(e){return JSON.stringify(e).replace(/</g,"\\x3c")},goog.html.SafeScript.createSafeScriptSecurityPrivateDoNotAccessOrElse=function(e){return(new goog.html.SafeScript).initSecurityPrivateDoNotAccessOrElse_(e)},goog.html.SafeScript.prototype.initSecurityPrivateDoNotAccessOrElse_=function(e){return this.privateDoNotAccessOrElseSafeScriptWrappedValue_=goog.html.trustedtypes.PRIVATE_DO_NOT_ACCESS_OR_ELSE_POLICY?goog.html.trustedtypes.PRIVATE_DO_NOT_ACCESS_OR_ELSE_POLICY.createScript(e):e,this},goog.html.SafeScript.EMPTY=goog.html.SafeScript.createSafeScriptSecurityPrivateDoNotAccessOrElse(""),goog.fs={},goog.fs.url={},goog.fs.url.createObjectUrl=function(e){return goog.fs.url.getUrlObject_().createObjectURL(e)},goog.fs.url.revokeObjectUrl=function(e){goog.fs.url.getUrlObject_().revokeObjectURL(e)},goog.fs.url.UrlObject_=function(){},goog.fs.url.UrlObject_.prototype.createObjectURL=function(e){},goog.fs.url.UrlObject_.prototype.revokeObjectURL=function(e){},goog.fs.url.getUrlObject_=function(){var e=goog.fs.url.findUrlObject_();if(null!=e)return e;throw Error("This browser doesn't seem to support blob URLs")},goog.fs.url.findUrlObject_=function(){return void 0!==goog.global.URL&&void 0!==goog.global.URL.createObjectURL?goog.global.URL:void 0!==goog.global.webkitURL&&void 0!==goog.global.webkitURL.createObjectURL?goog.global.webkitURL:void 0!==goog.global.createObjectURL?goog.global:null},goog.fs.url.browserSupportsObjectUrls=function(){return null!=goog.fs.url.findUrlObject_()},goog.fs.blob={},goog.fs.blob.getBlob=function(e){var t=goog.global.BlobBuilder||goog.global.WebKitBlobBuilder;if(void 0!==t){t=new t;for(var o=0;o<arguments.length;o++)t.append(arguments[o]);return t.getBlob()}return goog.fs.blob.getBlobWithProperties(goog.array.toArray(arguments))},goog.fs.blob.getBlobWithProperties=function(e,t,o){var r=goog.global.BlobBuilder||goog.global.WebKitBlobBuilder;if(void 0!==r){r=new r;for(var s=0;s<e.length;s++)r.append(e[s],o);return r.getBlob(t)}if(void 0!==goog.global.Blob)return r={},t&&(r.type=t),o&&(r.endings=o),new Blob(e,r);throw Error("This browser doesn't seem to support creating Blobs")},goog.i18n={},goog.i18n.bidi={},goog.i18n.bidi.FORCE_RTL=!1,goog.i18n.bidi.IS_RTL=goog.i18n.bidi.FORCE_RTL||("ar"==goog.LOCALE.substring(0,2).toLowerCase()||"fa"==goog.LOCALE.substring(0,2).toLowerCase()||"he"==goog.LOCALE.substring(0,2).toLowerCase()||"iw"==goog.LOCALE.substring(0,2).toLowerCase()||"ps"==goog.LOCALE.substring(0,2).toLowerCase()||"sd"==goog.LOCALE.substring(0,2).toLowerCase()||"ug"==goog.LOCALE.substring(0,2).toLowerCase()||"ur"==goog.LOCALE.substring(0,2).toLowerCase()||"yi"==goog.LOCALE.substring(0,2).toLowerCase())&&(2==goog.LOCALE.length||"-"==goog.LOCALE.substring(2,3)||"_"==goog.LOCALE.substring(2,3))||3<=goog.LOCALE.length&&"ckb"==goog.LOCALE.substring(0,3).toLowerCase()&&(3==goog.LOCALE.length||"-"==goog.LOCALE.substring(3,4)||"_"==goog.LOCALE.substring(3,4))||7<=goog.LOCALE.length&&("-"==goog.LOCALE.substring(2,3)||"_"==goog.LOCALE.substring(2,3))&&("adlm"==goog.LOCALE.substring(3,7).toLowerCase()||"arab"==goog.LOCALE.substring(3,7).toLowerCase()||"hebr"==goog.LOCALE.substring(3,7).toLowerCase()||"nkoo"==goog.LOCALE.substring(3,7).toLowerCase()||"rohg"==goog.LOCALE.substring(3,7).toLowerCase()||"thaa"==goog.LOCALE.substring(3,7).toLowerCase())||8<=goog.LOCALE.length&&("-"==goog.LOCALE.substring(3,4)||"_"==goog.LOCALE.substring(3,4))&&("adlm"==goog.LOCALE.substring(4,8).toLowerCase()||"arab"==goog.LOCALE.substring(4,8).toLowerCase()||"hebr"==goog.LOCALE.substring(4,8).toLowerCase()||"nkoo"==goog.LOCALE.substring(4,8).toLowerCase()||"rohg"==goog.LOCALE.substring(4,8).toLowerCase()||"thaa"==goog.LOCALE.substring(4,8).toLowerCase()),goog.i18n.bidi.Format={LRE:"",RLE:"",PDF:"",LRM:"",RLM:""},goog.i18n.bidi.Dir={LTR:1,RTL:-1,NEUTRAL:0},goog.i18n.bidi.RIGHT="right",goog.i18n.bidi.LEFT="left",goog.i18n.bidi.I18N_RIGHT=goog.i18n.bidi.IS_RTL?goog.i18n.bidi.LEFT:goog.i18n.bidi.RIGHT,goog.i18n.bidi.I18N_LEFT=goog.i18n.bidi.IS_RTL?goog.i18n.bidi.RIGHT:goog.i18n.bidi.LEFT,goog.i18n.bidi.toDir=function(e,t){return"number"==typeof e?0<e?goog.i18n.bidi.Dir.LTR:0>e?goog.i18n.bidi.Dir.RTL:t?null:goog.i18n.bidi.Dir.NEUTRAL:null==e?null:e?goog.i18n.bidi.Dir.RTL:goog.i18n.bidi.Dir.LTR},goog.i18n.bidi.ltrChars_="A-Za-zÀ-ÖØ-öø-ʸ̀-ऀ-Ⰰ-\ud801\ud804-\ud839\ud83c-\udbff豈-︀--",goog.i18n.bidi.rtlChars_="֑-ۯۺ-ࣿ\ud802-\ud803\ud83a-\ud83bיִ-﷿ﹰ-ﻼ",goog.i18n.bidi.htmlSkipReg_=/<[^>]*>|&[^;]+;/g,goog.i18n.bidi.stripHtmlIfNeeded_=function(e,t){return t?e.replace(goog.i18n.bidi.htmlSkipReg_,""):e},goog.i18n.bidi.rtlCharReg_=new RegExp("["+goog.i18n.bidi.rtlChars_+"]"),goog.i18n.bidi.ltrCharReg_=new RegExp("["+goog.i18n.bidi.ltrChars_+"]"),goog.i18n.bidi.hasAnyRtl=function(e,t){return goog.i18n.bidi.rtlCharReg_.test(goog.i18n.bidi.stripHtmlIfNeeded_(e,t))},goog.i18n.bidi.hasRtlChar=goog.i18n.bidi.hasAnyRtl,goog.i18n.bidi.hasAnyLtr=function(e,t){return goog.i18n.bidi.ltrCharReg_.test(goog.i18n.bidi.stripHtmlIfNeeded_(e,t))},goog.i18n.bidi.ltrRe_=new RegExp("^["+goog.i18n.bidi.ltrChars_+"]"),goog.i18n.bidi.rtlRe_=new RegExp("^["+goog.i18n.bidi.rtlChars_+"]"),goog.i18n.bidi.isRtlChar=function(e){return goog.i18n.bidi.rtlRe_.test(e)},goog.i18n.bidi.isLtrChar=function(e){return goog.i18n.bidi.ltrRe_.test(e)},goog.i18n.bidi.isNeutralChar=function(e){return!goog.i18n.bidi.isLtrChar(e)&&!goog.i18n.bidi.isRtlChar(e)},goog.i18n.bidi.ltrDirCheckRe_=new RegExp("^[^"+goog.i18n.bidi.rtlChars_+"]*["+goog.i18n.bidi.ltrChars_+"]"),goog.i18n.bidi.rtlDirCheckRe_=new RegExp("^[^"+goog.i18n.bidi.ltrChars_+"]*["+goog.i18n.bidi.rtlChars_+"]"),goog.i18n.bidi.startsWithRtl=function(e,t){return goog.i18n.bidi.rtlDirCheckRe_.test(goog.i18n.bidi.stripHtmlIfNeeded_(e,t))},goog.i18n.bidi.isRtlText=goog.i18n.bidi.startsWithRtl,goog.i18n.bidi.startsWithLtr=function(e,t){return goog.i18n.bidi.ltrDirCheckRe_.test(goog.i18n.bidi.stripHtmlIfNeeded_(e,t))},goog.i18n.bidi.isLtrText=goog.i18n.bidi.startsWithLtr,goog.i18n.bidi.isRequiredLtrRe_=/^http:\/\/.*/,goog.i18n.bidi.isNeutralText=function(e,t){return e=goog.i18n.bidi.stripHtmlIfNeeded_(e,t),goog.i18n.bidi.isRequiredLtrRe_.test(e)||!goog.i18n.bidi.hasAnyLtr(e)&&!goog.i18n.bidi.hasAnyRtl(e)},goog.i18n.bidi.ltrExitDirCheckRe_=new RegExp("["+goog.i18n.bidi.ltrChars_+"][^"+goog.i18n.bidi.rtlChars_+"]*$"),goog.i18n.bidi.rtlExitDirCheckRe_=new RegExp("["+goog.i18n.bidi.rtlChars_+"][^"+goog.i18n.bidi.ltrChars_+"]*$"),goog.i18n.bidi.endsWithLtr=function(e,t){return goog.i18n.bidi.ltrExitDirCheckRe_.test(goog.i18n.bidi.stripHtmlIfNeeded_(e,t))},goog.i18n.bidi.isLtrExitText=goog.i18n.bidi.endsWithLtr,goog.i18n.bidi.endsWithRtl=function(e,t){return goog.i18n.bidi.rtlExitDirCheckRe_.test(goog.i18n.bidi.stripHtmlIfNeeded_(e,t))},goog.i18n.bidi.isRtlExitText=goog.i18n.bidi.endsWithRtl,goog.i18n.bidi.rtlLocalesRe_=/^(ar|ckb|dv|he|iw|fa|nqo|ps|sd|ug|ur|yi|.*[-_](Adlm|Arab|Hebr|Nkoo|Rohg|Thaa))(?!.*[-_](Latn|Cyrl)($|-|_))($|-|_)/i,goog.i18n.bidi.isRtlLanguage=function(e){return goog.i18n.bidi.rtlLocalesRe_.test(e)},goog.i18n.bidi.bracketGuardTextRe_=/(\(.*?\)+)|(\[.*?\]+)|(\{.*?\}+)|(<.*?>+)/g,goog.i18n.bidi.guardBracketInText=function(e,t){return t=(void 0===t?goog.i18n.bidi.hasAnyRtl(e):t)?goog.i18n.bidi.Format.RLM:goog.i18n.bidi.Format.LRM,e.replace(goog.i18n.bidi.bracketGuardTextRe_,t+"$&"+t)},goog.i18n.bidi.enforceRtlInHtml=function(e){return"<"==e.charAt(0)?e.replace(/<\w+/,"$& dir=rtl"):"\n<span dir=rtl>"+e+"</span>"},goog.i18n.bidi.enforceRtlInText=function(e){return goog.i18n.bidi.Format.RLE+e+goog.i18n.bidi.Format.PDF},goog.i18n.bidi.enforceLtrInHtml=function(e){return"<"==e.charAt(0)?e.replace(/<\w+/,"$& dir=ltr"):"\n<span dir=ltr>"+e+"</span>"},goog.i18n.bidi.enforceLtrInText=function(e){return goog.i18n.bidi.Format.LRE+e+goog.i18n.bidi.Format.PDF},goog.i18n.bidi.dimensionsRe_=/:\s*([.\d][.\w]*)\s+([.\d][.\w]*)\s+([.\d][.\w]*)\s+([.\d][.\w]*)/g,goog.i18n.bidi.leftRe_=/left/gi,goog.i18n.bidi.rightRe_=/right/gi,goog.i18n.bidi.tempRe_=/%%%%/g,goog.i18n.bidi.mirrorCSS=function(e){return e.replace(goog.i18n.bidi.dimensionsRe_,":$1 $4 $3 $2").replace(goog.i18n.bidi.leftRe_,"%%%%").replace(goog.i18n.bidi.rightRe_,goog.i18n.bidi.LEFT).replace(goog.i18n.bidi.tempRe_,goog.i18n.bidi.RIGHT)},goog.i18n.bidi.doubleQuoteSubstituteRe_=/([\u0591-\u05f2])"/g,goog.i18n.bidi.singleQuoteSubstituteRe_=/([\u0591-\u05f2])'/g,goog.i18n.bidi.normalizeHebrewQuote=function(e){return e.replace(goog.i18n.bidi.doubleQuoteSubstituteRe_,"$1״").replace(goog.i18n.bidi.singleQuoteSubstituteRe_,"$1׳")},goog.i18n.bidi.wordSeparatorRe_=/\s+/,goog.i18n.bidi.hasNumeralsRe_=/[\d\u06f0-\u06f9]/,goog.i18n.bidi.rtlDetectionThreshold_=.4,goog.i18n.bidi.estimateDirection=function(e,t){var o=0,r=0,s=!1;for(e=goog.i18n.bidi.stripHtmlIfNeeded_(e,t).split(goog.i18n.bidi.wordSeparatorRe_),t=0;t<e.length;t++){var i=e[t];goog.i18n.bidi.startsWithRtl(i)?(o++,r++):goog.i18n.bidi.isRequiredLtrRe_.test(i)?s=!0:goog.i18n.bidi.hasAnyLtr(i)?r++:goog.i18n.bidi.hasNumeralsRe_.test(i)&&(s=!0)}return 0==r?s?goog.i18n.bidi.Dir.LTR:goog.i18n.bidi.Dir.NEUTRAL:o/r>goog.i18n.bidi.rtlDetectionThreshold_?goog.i18n.bidi.Dir.RTL:goog.i18n.bidi.Dir.LTR},goog.i18n.bidi.detectRtlDirectionality=function(e,t){return goog.i18n.bidi.estimateDirection(e,t)==goog.i18n.bidi.Dir.RTL},goog.i18n.bidi.setElementDirAndAlign=function(e,t){e&&(t=goog.i18n.bidi.toDir(t))&&(e.style.textAlign=t==goog.i18n.bidi.Dir.RTL?goog.i18n.bidi.RIGHT:goog.i18n.bidi.LEFT,e.dir=t==goog.i18n.bidi.Dir.RTL?"rtl":"ltr")},goog.i18n.bidi.setElementDirByTextDirectionality=function(e,t){switch(goog.i18n.bidi.estimateDirection(t)){case goog.i18n.bidi.Dir.LTR:e.dir="ltr";break;case goog.i18n.bidi.Dir.RTL:e.dir="rtl";break;default:e.removeAttribute("dir")}},goog.i18n.bidi.DirectionalString=function(){},goog.html.TrustedResourceUrl=function(e,t){this.privateDoNotAccessOrElseTrustedResourceUrlWrappedValue_=e===goog.html.TrustedResourceUrl.CONSTRUCTOR_TOKEN_PRIVATE_&&t||"",this.TRUSTED_RESOURCE_URL_TYPE_MARKER_GOOG_HTML_SECURITY_PRIVATE_=goog.html.TrustedResourceUrl.TYPE_MARKER_GOOG_HTML_SECURITY_PRIVATE_},goog.html.TrustedResourceUrl.prototype.implementsGoogStringTypedString=!0,goog.html.TrustedResourceUrl.prototype.getTypedStringValue=function(){return this.privateDoNotAccessOrElseTrustedResourceUrlWrappedValue_.toString()},goog.html.TrustedResourceUrl.prototype.implementsGoogI18nBidiDirectionalString=!0,goog.html.TrustedResourceUrl.prototype.getDirection=function(){return goog.i18n.bidi.Dir.LTR},goog.html.TrustedResourceUrl.prototype.cloneWithParams=function(e,t){var o=goog.html.TrustedResourceUrl.unwrap(this),r=(o=goog.html.TrustedResourceUrl.URL_PARAM_PARSER_.exec(o))[3]||"";return goog.html.TrustedResourceUrl.createTrustedResourceUrlSecurityPrivateDoNotAccessOrElse(o[1]+goog.html.TrustedResourceUrl.stringifyParams_("?",o[2]||"",e)+goog.html.TrustedResourceUrl.stringifyParams_("#",r,t))},goog.DEBUG&&(goog.html.TrustedResourceUrl.prototype.toString=function(){return"TrustedResourceUrl{"+this.privateDoNotAccessOrElseTrustedResourceUrlWrappedValue_+"}"}),goog.html.TrustedResourceUrl.unwrap=function(e){return goog.html.TrustedResourceUrl.unwrapTrustedScriptURL(e).toString()},goog.html.TrustedResourceUrl.unwrapTrustedScriptURL=function(e){return e instanceof goog.html.TrustedResourceUrl&&e.constructor===goog.html.TrustedResourceUrl&&e.TRUSTED_RESOURCE_URL_TYPE_MARKER_GOOG_HTML_SECURITY_PRIVATE_===goog.html.TrustedResourceUrl.TYPE_MARKER_GOOG_HTML_SECURITY_PRIVATE_?e.privateDoNotAccessOrElseTrustedResourceUrlWrappedValue_:(goog.asserts.fail("expected object of type TrustedResourceUrl, got '"+e+"' of type "+goog.typeOf(e)),"type_error:TrustedResourceUrl")},goog.html.TrustedResourceUrl.format=function(e,t){var o=goog.string.Const.unwrap(e);if(!goog.html.TrustedResourceUrl.BASE_URL_.test(o))throw Error("Invalid TrustedResourceUrl format: "+o);return e=o.replace(goog.html.TrustedResourceUrl.FORMAT_MARKER_,(function(e,r){if(!Object.prototype.hasOwnProperty.call(t,r))throw Error('Found marker, "'+r+'", in format string, "'+o+'", but no valid label mapping found in args: '+JSON.stringify(t));return(e=t[r])instanceof goog.string.Const?goog.string.Const.unwrap(e):encodeURIComponent(String(e))})),goog.html.TrustedResourceUrl.createTrustedResourceUrlSecurityPrivateDoNotAccessOrElse(e)},goog.html.TrustedResourceUrl.FORMAT_MARKER_=/%{(\w+)}/g,goog.html.TrustedResourceUrl.BASE_URL_=/^((https:)?\/\/[0-9a-z.:[\]-]+\/|\/[^/\\]|[^:/\\%]+\/|[^:/\\%]*[?#]|about:blank#)/i,goog.html.TrustedResourceUrl.URL_PARAM_PARSER_=/^([^?#]*)(\?[^#]*)?(#[\s\S]*)?/,goog.html.TrustedResourceUrl.formatWithParams=function(e,t,o,r){return goog.html.TrustedResourceUrl.format(e,t).cloneWithParams(o,r)},goog.html.TrustedResourceUrl.fromConstant=function(e){return goog.html.TrustedResourceUrl.createTrustedResourceUrlSecurityPrivateDoNotAccessOrElse(goog.string.Const.unwrap(e))},goog.html.TrustedResourceUrl.fromConstants=function(e){for(var t="",o=0;o<e.length;o++)t+=goog.string.Const.unwrap(e[o]);return goog.html.TrustedResourceUrl.createTrustedResourceUrlSecurityPrivateDoNotAccessOrElse(t)},goog.html.TrustedResourceUrl.fromSafeScript=function(e){return e=goog.fs.blob.getBlobWithProperties([goog.html.SafeScript.unwrap(e)],"text/javascript"),e=goog.fs.url.createObjectUrl(e),goog.html.TrustedResourceUrl.createTrustedResourceUrlSecurityPrivateDoNotAccessOrElse(e)},goog.html.TrustedResourceUrl.TYPE_MARKER_GOOG_HTML_SECURITY_PRIVATE_={},goog.html.TrustedResourceUrl.createTrustedResourceUrlSecurityPrivateDoNotAccessOrElse=function(e){return e=goog.html.trustedtypes.PRIVATE_DO_NOT_ACCESS_OR_ELSE_POLICY?goog.html.trustedtypes.PRIVATE_DO_NOT_ACCESS_OR_ELSE_POLICY.createScriptURL(e):e,new goog.html.TrustedResourceUrl(goog.html.TrustedResourceUrl.CONSTRUCTOR_TOKEN_PRIVATE_,e)},goog.html.TrustedResourceUrl.stringifyParams_=function(e,t,o){if(null==o)return t;if("string"==typeof o)return o?e+encodeURIComponent(o):"";for(var r in o){var s=o[r];s=Array.isArray(s)?s:[s];for(var i=0;i<s.length;i++){var n=s[i];null!=n&&(t||(t=e),t+=(t.length>e.length?"&":"")+encodeURIComponent(r)+"="+encodeURIComponent(String(n)))}}return t},goog.html.TrustedResourceUrl.CONSTRUCTOR_TOKEN_PRIVATE_={},goog.string.internal={},goog.string.internal.startsWith=function(e,t){return 0==e.lastIndexOf(t,0)},goog.string.internal.endsWith=function(e,t){var o=e.length-t.length;return 0<=o&&e.indexOf(t,o)==o},goog.string.internal.caseInsensitiveStartsWith=function(e,t){return 0==goog.string.internal.caseInsensitiveCompare(t,e.substr(0,t.length))},goog.string.internal.caseInsensitiveEndsWith=function(e,t){return 0==goog.string.internal.caseInsensitiveCompare(t,e.substr(e.length-t.length,t.length))},goog.string.internal.caseInsensitiveEquals=function(e,t){return e.toLowerCase()==t.toLowerCase()},goog.string.internal.isEmptyOrWhitespace=function(e){return/^[\s\xa0]*$/.test(e)},goog.string.internal.trim=goog.TRUSTED_SITE&&String.prototype.trim?function(e){return e.trim()}:function(e){return/^[\s\xa0]*([\s\S]*?)[\s\xa0]*$/.exec(e)[1]},goog.string.internal.caseInsensitiveCompare=function(e,t){return(e=String(e).toLowerCase())<(t=String(t).toLowerCase())?-1:e==t?0:1},goog.string.internal.newLineToBr=function(e,t){return e.replace(/(\r\n|\r|\n)/g,t?"<br />":"<br>")},goog.string.internal.htmlEscape=function(e,t){if(t)e=e.replace(goog.string.internal.AMP_RE_,"&").replace(goog.string.internal.LT_RE_,"<").replace(goog.string.internal.GT_RE_,">").replace(goog.string.internal.QUOT_RE_,""").replace(goog.string.internal.SINGLE_QUOTE_RE_,"'").replace(goog.string.internal.NULL_RE_,"�");else{if(!goog.string.internal.ALL_RE_.test(e))return e;-1!=e.indexOf("&")&&(e=e.replace(goog.string.internal.AMP_RE_,"&")),-1!=e.indexOf("<")&&(e=e.replace(goog.string.internal.LT_RE_,"<")),-1!=e.indexOf(">")&&(e=e.replace(goog.string.internal.GT_RE_,">")),-1!=e.indexOf('"')&&(e=e.replace(goog.string.internal.QUOT_RE_,""")),-1!=e.indexOf("'")&&(e=e.replace(goog.string.internal.SINGLE_QUOTE_RE_,"'")),-1!=e.indexOf("\0")&&(e=e.replace(goog.string.internal.NULL_RE_,"�"))}return e},goog.string.internal.AMP_RE_=/&/g,goog.string.internal.LT_RE_=/</g,goog.string.internal.GT_RE_=/>/g,goog.string.internal.QUOT_RE_=/"/g,goog.string.internal.SINGLE_QUOTE_RE_=/'/g,goog.string.internal.NULL_RE_=/\x00/g,goog.string.internal.ALL_RE_=/[\x00&<>"']/,goog.string.internal.whitespaceEscape=function(e,t){return goog.string.internal.newLineToBr(e.replace(/ /g,"  "),t)},goog.string.internal.contains=function(e,t){return-1!=e.indexOf(t)},goog.string.internal.caseInsensitiveContains=function(e,t){return goog.string.internal.contains(e.toLowerCase(),t.toLowerCase())},goog.string.internal.compareVersions=function(e,t){var o=0;e=goog.string.internal.trim(String(e)).split("."),t=goog.string.internal.trim(String(t)).split(".");for(var r=Math.max(e.length,t.length),s=0;0==o&&s<r;s++){var i=e[s]||"",n=t[s]||"";do{if(i=/(\d*)(\D*)(.*)/.exec(i)||["","","",""],n=/(\d*)(\D*)(.*)/.exec(n)||["","","",""],0==i[0].length&&0==n[0].length)break;o=0==i[1].length?0:parseInt(i[1],10);var a=0==n[1].length?0:parseInt(n[1],10);o=goog.string.internal.compareElements_(o,a)||goog.string.internal.compareElements_(0==i[2].length,0==n[2].length)||goog.string.internal.compareElements_(i[2],n[2]),i=i[3],n=n[3]}while(0==o)}return o},goog.string.internal.compareElements_=function(e,t){return e<t?-1:e>t?1:0},goog.html.SafeUrl=function(e,t){this.privateDoNotAccessOrElseSafeUrlWrappedValue_=e===goog.html.SafeUrl.CONSTRUCTOR_TOKEN_PRIVATE_&&t||"",this.SAFE_URL_TYPE_MARKER_GOOG_HTML_SECURITY_PRIVATE_=goog.html.SafeUrl.TYPE_MARKER_GOOG_HTML_SECURITY_PRIVATE_},goog.html.SafeUrl.INNOCUOUS_STRING="about:invalid#zClosurez",goog.html.SafeUrl.prototype.implementsGoogStringTypedString=!0,goog.html.SafeUrl.prototype.getTypedStringValue=function(){return this.privateDoNotAccessOrElseSafeUrlWrappedValue_.toString()},goog.html.SafeUrl.prototype.implementsGoogI18nBidiDirectionalString=!0,goog.html.SafeUrl.prototype.getDirection=function(){return goog.i18n.bidi.Dir.LTR},goog.DEBUG&&(goog.html.SafeUrl.prototype.toString=function(){return"SafeUrl{"+this.privateDoNotAccessOrElseSafeUrlWrappedValue_+"}"}),goog.html.SafeUrl.unwrap=function(e){return e instanceof goog.html.SafeUrl&&e.constructor===goog.html.SafeUrl&&e.SAFE_URL_TYPE_MARKER_GOOG_HTML_SECURITY_PRIVATE_===goog.html.SafeUrl.TYPE_MARKER_GOOG_HTML_SECURITY_PRIVATE_?e.privateDoNotAccessOrElseSafeUrlWrappedValue_:(goog.asserts.fail("expected object of type SafeUrl, got '"+e+"' of type "+goog.typeOf(e)),"type_error:SafeUrl")},goog.html.SafeUrl.fromConstant=function(e){return goog.html.SafeUrl.createSafeUrlSecurityPrivateDoNotAccessOrElse(goog.string.Const.unwrap(e))},goog.html.SAFE_MIME_TYPE_PATTERN_=/^(?:audio\/(?:3gpp2|3gpp|aac|L16|midi|mp3|mp4|mpeg|oga|ogg|opus|x-m4a|x-matroska|x-wav|wav|webm)|image\/(?:bmp|gif|jpeg|jpg|png|tiff|webp|x-icon)|text\/csv|video\/(?:mpeg|mp4|ogg|webm|quicktime|x-matroska))(?:;\w+=(?:\w+|"[\w;,= ]+"))*$/i,goog.html.SafeUrl.isSafeMimeType=function(e){return goog.html.SAFE_MIME_TYPE_PATTERN_.test(e)},goog.html.SafeUrl.fromBlob=function(e){return e=goog.html.SafeUrl.isSafeMimeType(e.type)?goog.fs.url.createObjectUrl(e):goog.html.SafeUrl.INNOCUOUS_STRING,goog.html.SafeUrl.createSafeUrlSecurityPrivateDoNotAccessOrElse(e)},goog.html.SafeUrl.fromMediaSource=function(e){return goog.asserts.assert("MediaSource"in goog.global,"No support for MediaSource"),e=e instanceof MediaSource?goog.fs.url.createObjectUrl(e):goog.html.SafeUrl.INNOCUOUS_STRING,goog.html.SafeUrl.createSafeUrlSecurityPrivateDoNotAccessOrElse(e)},goog.html.DATA_URL_PATTERN_=/^data:(.*);base64,[a-z0-9+\/]+=*$/i,goog.html.SafeUrl.fromDataUrl=function(e){var t=(e=e.replace(/(%0A|%0D)/g,"")).match(goog.html.DATA_URL_PATTERN_);return t=t&&goog.html.SafeUrl.isSafeMimeType(t[1]),goog.html.SafeUrl.createSafeUrlSecurityPrivateDoNotAccessOrElse(t?e:goog.html.SafeUrl.INNOCUOUS_STRING)},goog.html.SafeUrl.fromTelUrl=function(e){return goog.string.internal.caseInsensitiveStartsWith(e,"tel:")||(e=goog.html.SafeUrl.INNOCUOUS_STRING),goog.html.SafeUrl.createSafeUrlSecurityPrivateDoNotAccessOrElse(e)},goog.html.SIP_URL_PATTERN_=/^sip[s]?:[+a-z0-9_.!$%&'*\/=^`{|}~-]+@([a-z0-9-]+\.)+[a-z0-9]{2,63}$/i,goog.html.SafeUrl.fromSipUrl=function(e){return goog.html.SIP_URL_PATTERN_.test(decodeURIComponent(e))||(e=goog.html.SafeUrl.INNOCUOUS_STRING),goog.html.SafeUrl.createSafeUrlSecurityPrivateDoNotAccessOrElse(e)},goog.html.SafeUrl.fromFacebookMessengerUrl=function(e){return goog.string.internal.caseInsensitiveStartsWith(e,"fb-messenger://share")||(e=goog.html.SafeUrl.INNOCUOUS_STRING),goog.html.SafeUrl.createSafeUrlSecurityPrivateDoNotAccessOrElse(e)},goog.html.SafeUrl.fromWhatsAppUrl=function(e){return goog.string.internal.caseInsensitiveStartsWith(e,"whatsapp://send")||(e=goog.html.SafeUrl.INNOCUOUS_STRING),goog.html.SafeUrl.createSafeUrlSecurityPrivateDoNotAccessOrElse(e)},goog.html.SafeUrl.fromSmsUrl=function(e){return goog.string.internal.caseInsensitiveStartsWith(e,"sms:")&&goog.html.SafeUrl.isSmsUrlBodyValid_(e)||(e=goog.html.SafeUrl.INNOCUOUS_STRING),goog.html.SafeUrl.createSafeUrlSecurityPrivateDoNotAccessOrElse(e)},goog.html.SafeUrl.isSmsUrlBodyValid_=function(e){var t=e.indexOf("#");if(0<t&&(e=e.substring(0,t)),!(t=e.match(/[?&]body=/gi)))return!0;if(1<t.length)return!1;if(!(e=e.match(/[?&]body=([^&]*)/)[1]))return!0;try{decodeURIComponent(e)}catch(e){return!1}return/^(?:[a-z0-9\-_.~]|%[0-9a-f]{2})+$/i.test(e)},goog.html.SafeUrl.fromSshUrl=function(e){return goog.string.internal.caseInsensitiveStartsWith(e,"ssh://")||(e=goog.html.SafeUrl.INNOCUOUS_STRING),goog.html.SafeUrl.createSafeUrlSecurityPrivateDoNotAccessOrElse(e)},goog.html.SafeUrl.sanitizeChromeExtensionUrl=function(e,t){return goog.html.SafeUrl.sanitizeExtensionUrl_(/^chrome-extension:\/\/([^\/]+)\//,e,t)},goog.html.SafeUrl.sanitizeFirefoxExtensionUrl=function(e,t){return goog.html.SafeUrl.sanitizeExtensionUrl_(/^moz-extension:\/\/([^\/]+)\//,e,t)},goog.html.SafeUrl.sanitizeEdgeExtensionUrl=function(e,t){return goog.html.SafeUrl.sanitizeExtensionUrl_(/^ms-browser-extension:\/\/([^\/]+)\//,e,t)},goog.html.SafeUrl.sanitizeExtensionUrl_=function(e,t,o){return(e=e.exec(t))?(e=e[1],-1==(o instanceof goog.string.Const?[goog.string.Const.unwrap(o)]:o.map((function(e){return goog.string.Const.unwrap(e)}))).indexOf(e)&&(t=goog.html.SafeUrl.INNOCUOUS_STRING)):t=goog.html.SafeUrl.INNOCUOUS_STRING,goog.html.SafeUrl.createSafeUrlSecurityPrivateDoNotAccessOrElse(t)},goog.html.SafeUrl.fromTrustedResourceUrl=function(e){return goog.html.SafeUrl.createSafeUrlSecurityPrivateDoNotAccessOrElse(goog.html.TrustedResourceUrl.unwrap(e))},goog.html.SAFE_URL_PATTERN_=/^(?:(?:https?|mailto|ftp):|[^:/?#]*(?:[/?#]|$))/i,goog.html.SafeUrl.SAFE_URL_PATTERN=goog.html.SAFE_URL_PATTERN_,goog.html.SafeUrl.sanitize=function(e){return e instanceof goog.html.SafeUrl?e:(e="object"==typeof e&&e.implementsGoogStringTypedString?e.getTypedStringValue():String(e),goog.html.SAFE_URL_PATTERN_.test(e)||(e=goog.html.SafeUrl.INNOCUOUS_STRING),goog.html.SafeUrl.createSafeUrlSecurityPrivateDoNotAccessOrElse(e))},goog.html.SafeUrl.sanitizeAssertUnchanged=function(e,t){return e instanceof goog.html.SafeUrl?e:(e="object"==typeof e&&e.implementsGoogStringTypedString?e.getTypedStringValue():String(e),t&&/^data:/i.test(e)&&(t=goog.html.SafeUrl.fromDataUrl(e)).getTypedStringValue()==e?t:(goog.asserts.assert(goog.html.SAFE_URL_PATTERN_.test(e),"%s does not match the safe URL pattern",e)||(e=goog.html.SafeUrl.INNOCUOUS_STRING),goog.html.SafeUrl.createSafeUrlSecurityPrivateDoNotAccessOrElse(e)))},goog.html.SafeUrl.TYPE_MARKER_GOOG_HTML_SECURITY_PRIVATE_={},goog.html.SafeUrl.createSafeUrlSecurityPrivateDoNotAccessOrElse=function(e){return new goog.html.SafeUrl(goog.html.SafeUrl.CONSTRUCTOR_TOKEN_PRIVATE_,e)},goog.html.SafeUrl.ABOUT_BLANK=goog.html.SafeUrl.createSafeUrlSecurityPrivateDoNotAccessOrElse("about:blank"),goog.html.SafeUrl.CONSTRUCTOR_TOKEN_PRIVATE_={},goog.html.SafeStyle=function(){this.privateDoNotAccessOrElseSafeStyleWrappedValue_="",this.SAFE_STYLE_TYPE_MARKER_GOOG_HTML_SECURITY_PRIVATE_=goog.html.SafeStyle.TYPE_MARKER_GOOG_HTML_SECURITY_PRIVATE_},goog.html.SafeStyle.prototype.implementsGoogStringTypedString=!0,goog.html.SafeStyle.TYPE_MARKER_GOOG_HTML_SECURITY_PRIVATE_={},goog.html.SafeStyle.fromConstant=function(e){return 0===(e=goog.string.Const.unwrap(e)).length?goog.html.SafeStyle.EMPTY:(goog.asserts.assert(goog.string.internal.endsWith(e,";"),"Last character of style string is not ';': "+e),goog.asserts.assert(goog.string.internal.contains(e,":"),"Style string must contain at least one ':', to specify a \"name: value\" pair: "+e),goog.html.SafeStyle.createSafeStyleSecurityPrivateDoNotAccessOrElse(e))},goog.html.SafeStyle.prototype.getTypedStringValue=function(){return this.privateDoNotAccessOrElseSafeStyleWrappedValue_},goog.DEBUG&&(goog.html.SafeStyle.prototype.toString=function(){return"SafeStyle{"+this.privateDoNotAccessOrElseSafeStyleWrappedValue_+"}"}),goog.html.SafeStyle.unwrap=function(e){return e instanceof goog.html.SafeStyle&&e.constructor===goog.html.SafeStyle&&e.SAFE_STYLE_TYPE_MARKER_GOOG_HTML_SECURITY_PRIVATE_===goog.html.SafeStyle.TYPE_MARKER_GOOG_HTML_SECURITY_PRIVATE_?e.privateDoNotAccessOrElseSafeStyleWrappedValue_:(goog.asserts.fail("expected object of type SafeStyle, got '"+e+"' of type "+goog.typeOf(e)),"type_error:SafeStyle")},goog.html.SafeStyle.createSafeStyleSecurityPrivateDoNotAccessOrElse=function(e){return(new goog.html.SafeStyle).initSecurityPrivateDoNotAccessOrElse_(e)},goog.html.SafeStyle.prototype.initSecurityPrivateDoNotAccessOrElse_=function(e){return this.privateDoNotAccessOrElseSafeStyleWrappedValue_=e,this},goog.html.SafeStyle.EMPTY=goog.html.SafeStyle.createSafeStyleSecurityPrivateDoNotAccessOrElse(""),goog.html.SafeStyle.INNOCUOUS_STRING="zClosurez",goog.html.SafeStyle.create=function(e){var t,o="";for(t in e){if(!/^[-_a-zA-Z0-9]+$/.test(t))throw Error("Name allows only [-_a-zA-Z0-9], got: "+t);var r=e[t];null!=r&&(o+=t+":"+(r=Array.isArray(r)?goog.array.map(r,goog.html.SafeStyle.sanitizePropertyValue_).join(" "):goog.html.SafeStyle.sanitizePropertyValue_(r))+";")}return o?goog.html.SafeStyle.createSafeStyleSecurityPrivateDoNotAccessOrElse(o):goog.html.SafeStyle.EMPTY},goog.html.SafeStyle.sanitizePropertyValue_=function(e){if(e instanceof goog.html.SafeUrl)return'url("'+goog.html.SafeUrl.unwrap(e).replace(/</g,"%3c").replace(/[\\"]/g,"\\$&")+'")';if(e=e instanceof goog.string.Const?goog.string.Const.unwrap(e):goog.html.SafeStyle.sanitizePropertyValueString_(String(e)),/[{;}]/.test(e))throw new goog.asserts.AssertionError("Value does not allow [{;}], got: %s.",[e]);return e},goog.html.SafeStyle.sanitizePropertyValueString_=function(e){var t=e.replace(goog.html.SafeStyle.FUNCTIONS_RE_,"$1").replace(goog.html.SafeStyle.FUNCTIONS_RE_,"$1").replace(goog.html.SafeStyle.URL_RE_,"url");return goog.html.SafeStyle.VALUE_RE_.test(t)?goog.html.SafeStyle.COMMENT_RE_.test(e)?(goog.asserts.fail("String value disallows comments, got: "+e),goog.html.SafeStyle.INNOCUOUS_STRING):goog.html.SafeStyle.hasBalancedQuotes_(e)?goog.html.SafeStyle.hasBalancedSquareBrackets_(e)?goog.html.SafeStyle.sanitizeUrl_(e):(goog.asserts.fail("String value requires balanced square brackets and one identifier per pair of brackets, got: "+e),goog.html.SafeStyle.INNOCUOUS_STRING):(goog.asserts.fail("String value requires balanced quotes, got: "+e),goog.html.SafeStyle.INNOCUOUS_STRING):(goog.asserts.fail("String value allows only "+goog.html.SafeStyle.VALUE_ALLOWED_CHARS_+" and simple functions, got: "+e),goog.html.SafeStyle.INNOCUOUS_STRING)},goog.html.SafeStyle.hasBalancedQuotes_=function(e){for(var t=!0,o=!0,r=0;r<e.length;r++){var s=e.charAt(r);"'"==s&&o?t=!t:'"'==s&&t&&(o=!o)}return t&&o},goog.html.SafeStyle.hasBalancedSquareBrackets_=function(e){for(var t=!0,o=/^[-_a-zA-Z0-9]$/,r=0;r<e.length;r++){var s=e.charAt(r);if("]"==s){if(t)return!1;t=!0}else if("["==s){if(!t)return!1;t=!1}else if(!t&&!o.test(s))return!1}return t},goog.html.SafeStyle.VALUE_ALLOWED_CHARS_="[-,.\"'%_!# a-zA-Z0-9\\[\\]]",goog.html.SafeStyle.VALUE_RE_=new RegExp("^"+goog.html.SafeStyle.VALUE_ALLOWED_CHARS_+"+$"),goog.html.SafeStyle.URL_RE_=/\b(url\([ \t\n]*)('[ -&(-\[\]-~]*'|"[ !#-\[\]-~]*"|[!#-&*-\[\]-~]*)([ \t\n]*\))/g,goog.html.SafeStyle.ALLOWED_FUNCTIONS_="calc cubic-bezier fit-content hsl hsla linear-gradient matrix minmax repeat rgb rgba (rotate|scale|translate)(X|Y|Z|3d)?".split(" "),goog.html.SafeStyle.FUNCTIONS_RE_=new RegExp("\\b("+goog.html.SafeStyle.ALLOWED_FUNCTIONS_.join("|")+")\\([-+*/0-9a-z.%\\[\\], ]+\\)","g"),goog.html.SafeStyle.COMMENT_RE_=/\/\*/,goog.html.SafeStyle.sanitizeUrl_=function(e){return e.replace(goog.html.SafeStyle.URL_RE_,(function(e,t,o,r){var s="";return o=o.replace(/^(['"])(.*)\1$/,(function(e,t,o){return s=t,o})),e=goog.html.SafeUrl.sanitize(o).getTypedStringValue(),t+s+e+s+r}))},goog.html.SafeStyle.concat=function(e){var t="",o=function(e){Array.isArray(e)?goog.array.forEach(e,o):t+=goog.html.SafeStyle.unwrap(e)};return goog.array.forEach(arguments,o),t?goog.html.SafeStyle.createSafeStyleSecurityPrivateDoNotAccessOrElse(t):goog.html.SafeStyle.EMPTY},goog.html.SafeStyleSheet=function(){this.privateDoNotAccessOrElseSafeStyleSheetWrappedValue_="",this.SAFE_STYLE_SHEET_TYPE_MARKER_GOOG_HTML_SECURITY_PRIVATE_=goog.html.SafeStyleSheet.TYPE_MARKER_GOOG_HTML_SECURITY_PRIVATE_},goog.html.SafeStyleSheet.prototype.implementsGoogStringTypedString=!0,goog.html.SafeStyleSheet.TYPE_MARKER_GOOG_HTML_SECURITY_PRIVATE_={},goog.html.SafeStyleSheet.createRule=function(e,t){if(goog.string.internal.contains(e,"<"))throw Error("Selector does not allow '<', got: "+e);var o=e.replace(/('|")((?!\1)[^\r\n\f\\]|\\[\s\S])*\1/g,"");if(!/^[-_a-zA-Z0-9#.:* ,>+~[\]()=^$|]+$/.test(o))throw Error("Selector allows only [-_a-zA-Z0-9#.:* ,>+~[\\]()=^$|] and strings, got: "+e);if(!goog.html.SafeStyleSheet.hasBalancedBrackets_(o))throw Error("() and [] in selector must be balanced, got: "+e);return t instanceof goog.html.SafeStyle||(t=goog.html.SafeStyle.create(t)),e=e+"{"+goog.html.SafeStyle.unwrap(t).replace(/</g,"\\3C ")+"}",goog.html.SafeStyleSheet.createSafeStyleSheetSecurityPrivateDoNotAccessOrElse(e)},goog.html.SafeStyleSheet.hasBalancedBrackets_=function(e){for(var t={"(":")","[":"]"},o=[],r=0;r<e.length;r++){var s=e[r];if(t[s])o.push(t[s]);else if(goog.object.contains(t,s)&&o.pop()!=s)return!1}return 0==o.length},goog.html.SafeStyleSheet.concat=function(e){var t="",o=function(e){Array.isArray(e)?goog.array.forEach(e,o):t+=goog.html.SafeStyleSheet.unwrap(e)};return goog.array.forEach(arguments,o),goog.html.SafeStyleSheet.createSafeStyleSheetSecurityPrivateDoNotAccessOrElse(t)},goog.html.SafeStyleSheet.fromConstant=function(e){return 0===(e=goog.string.Const.unwrap(e)).length?goog.html.SafeStyleSheet.EMPTY:(goog.asserts.assert(!goog.string.internal.contains(e,"<"),"Forbidden '<' character in style sheet string: "+e),goog.html.SafeStyleSheet.createSafeStyleSheetSecurityPrivateDoNotAccessOrElse(e))},goog.html.SafeStyleSheet.prototype.getTypedStringValue=function(){return this.privateDoNotAccessOrElseSafeStyleSheetWrappedValue_},goog.DEBUG&&(goog.html.SafeStyleSheet.prototype.toString=function(){return"SafeStyleSheet{"+this.privateDoNotAccessOrElseSafeStyleSheetWrappedValue_+"}"}),goog.html.SafeStyleSheet.unwrap=function(e){return e instanceof goog.html.SafeStyleSheet&&e.constructor===goog.html.SafeStyleSheet&&e.SAFE_STYLE_SHEET_TYPE_MARKER_GOOG_HTML_SECURITY_PRIVATE_===goog.html.SafeStyleSheet.TYPE_MARKER_GOOG_HTML_SECURITY_PRIVATE_?e.privateDoNotAccessOrElseSafeStyleSheetWrappedValue_:(goog.asserts.fail("expected object of type SafeStyleSheet, got '"+e+"' of type "+goog.typeOf(e)),"type_error:SafeStyleSheet")},goog.html.SafeStyleSheet.createSafeStyleSheetSecurityPrivateDoNotAccessOrElse=function(e){return(new goog.html.SafeStyleSheet).initSecurityPrivateDoNotAccessOrElse_(e)},goog.html.SafeStyleSheet.prototype.initSecurityPrivateDoNotAccessOrElse_=function(e){return this.privateDoNotAccessOrElseSafeStyleSheetWrappedValue_=e,this},goog.html.SafeStyleSheet.EMPTY=goog.html.SafeStyleSheet.createSafeStyleSheetSecurityPrivateDoNotAccessOrElse(""),goog.labs={},goog.labs.userAgent={},goog.labs.userAgent.util={},goog.labs.userAgent.util.getNativeUserAgentString_=function(){var e=goog.labs.userAgent.util.getNavigator_();return e&&(e=e.userAgent)?e:""},goog.labs.userAgent.util.getNavigator_=function(){return goog.global.navigator},goog.labs.userAgent.util.userAgent_=goog.labs.userAgent.util.getNativeUserAgentString_(),goog.labs.userAgent.util.setUserAgent=function(e){goog.labs.userAgent.util.userAgent_=e||goog.labs.userAgent.util.getNativeUserAgentString_()},goog.labs.userAgent.util.getUserAgent=function(){return goog.labs.userAgent.util.userAgent_},goog.labs.userAgent.util.matchUserAgent=function(e){var t=goog.labs.userAgent.util.getUserAgent();return goog.string.internal.contains(t,e)},goog.labs.userAgent.util.matchUserAgentIgnoreCase=function(e){var t=goog.labs.userAgent.util.getUserAgent();return goog.string.internal.caseInsensitiveContains(t,e)},goog.labs.userAgent.util.extractVersionTuples=function(e){for(var t,o=/(\w[\w ]+)\/([^\s]+)\s*(?:\((.*?)\))?/g,r=[];t=o.exec(e);)r.push([t[1],t[2],t[3]||void 0]);return r},goog.labs.userAgent.browser={},goog.labs.userAgent.browser.matchOpera_=function(){return goog.labs.userAgent.util.matchUserAgent("Opera")},goog.labs.userAgent.browser.matchIE_=function(){return goog.labs.userAgent.util.matchUserAgent("Trident")||goog.labs.userAgent.util.matchUserAgent("MSIE")},goog.labs.userAgent.browser.matchEdgeHtml_=function(){return goog.labs.userAgent.util.matchUserAgent("Edge")},goog.labs.userAgent.browser.matchEdgeChromium_=function(){return goog.labs.userAgent.util.matchUserAgent("Edg/")},goog.labs.userAgent.browser.matchOperaChromium_=function(){return goog.labs.userAgent.util.matchUserAgent("OPR")},goog.labs.userAgent.browser.matchFirefox_=function(){return goog.labs.userAgent.util.matchUserAgent("Firefox")||goog.labs.userAgent.util.matchUserAgent("FxiOS")},goog.labs.userAgent.browser.matchSafari_=function(){return goog.labs.userAgent.util.matchUserAgent("Safari")&&!(goog.labs.userAgent.browser.matchChrome_()||goog.labs.userAgent.browser.matchCoast_()||goog.labs.userAgent.browser.matchOpera_()||goog.labs.userAgent.browser.matchEdgeHtml_()||goog.labs.userAgent.browser.matchEdgeChromium_()||goog.labs.userAgent.browser.matchOperaChromium_()||goog.labs.userAgent.browser.matchFirefox_()||goog.labs.userAgent.browser.isSilk()||goog.labs.userAgent.util.matchUserAgent("Android"))},goog.labs.userAgent.browser.matchCoast_=function(){return goog.labs.userAgent.util.matchUserAgent("Coast")},goog.labs.userAgent.browser.matchIosWebview_=function(){return(goog.labs.userAgent.util.matchUserAgent("iPad")||goog.labs.userAgent.util.matchUserAgent("iPhone"))&&!goog.labs.userAgent.browser.matchSafari_()&&!goog.labs.userAgent.browser.matchChrome_()&&!goog.labs.userAgent.browser.matchCoast_()&&!goog.labs.userAgent.browser.matchFirefox_()&&goog.labs.userAgent.util.matchUserAgent("AppleWebKit")},goog.labs.userAgent.browser.matchChrome_=function(){return(goog.labs.userAgent.util.matchUserAgent("Chrome")||goog.labs.userAgent.util.matchUserAgent("CriOS"))&&!goog.labs.userAgent.browser.matchEdgeHtml_()},goog.labs.userAgent.browser.matchAndroidBrowser_=function(){return goog.labs.userAgent.util.matchUserAgent("Android")&&!(goog.labs.userAgent.browser.isChrome()||goog.labs.userAgent.browser.isFirefox()||goog.labs.userAgent.browser.isOpera()||goog.labs.userAgent.browser.isSilk())},goog.labs.userAgent.browser.isOpera=goog.labs.userAgent.browser.matchOpera_,goog.labs.userAgent.browser.isIE=goog.labs.userAgent.browser.matchIE_,goog.labs.userAgent.browser.isEdge=goog.labs.userAgent.browser.matchEdgeHtml_,goog.labs.userAgent.browser.isEdgeChromium=goog.labs.userAgent.browser.matchEdgeChromium_,goog.labs.userAgent.browser.isOperaChromium=goog.labs.userAgent.browser.matchOperaChromium_,goog.labs.userAgent.browser.isFirefox=goog.labs.userAgent.browser.matchFirefox_,goog.labs.userAgent.browser.isSafari=goog.labs.userAgent.browser.matchSafari_,goog.labs.userAgent.browser.isCoast=goog.labs.userAgent.browser.matchCoast_,goog.labs.userAgent.browser.isIosWebview=goog.labs.userAgent.browser.matchIosWebview_,goog.labs.userAgent.browser.isChrome=goog.labs.userAgent.browser.matchChrome_,goog.labs.userAgent.browser.isAndroidBrowser=goog.labs.userAgent.browser.matchAndroidBrowser_,goog.labs.userAgent.browser.isSilk=function(){return goog.labs.userAgent.util.matchUserAgent("Silk")},goog.labs.userAgent.browser.getVersion=function(){function e(e){return e=goog.array.find(e,r),o[e]||""}var t=goog.labs.userAgent.util.getUserAgent();if(goog.labs.userAgent.browser.isIE())return goog.labs.userAgent.browser.getIEVersion_(t);t=goog.labs.userAgent.util.extractVersionTuples(t);var o={};goog.array.forEach(t,(function(e){o[e[0]]=e[1]}));var r=goog.partial(goog.object.containsKey,o);return goog.labs.userAgent.browser.isOpera()?e(["Version","Opera"]):goog.labs.userAgent.browser.isEdge()?e(["Edge"]):goog.labs.userAgent.browser.isEdgeChromium()?e(["Edg"]):goog.labs.userAgent.browser.isChrome()?e(["Chrome","CriOS","HeadlessChrome"]):(t=t[2])&&t[1]||""},goog.labs.userAgent.browser.isVersionOrHigher=function(e){return 0<=goog.string.internal.compareVersions(goog.labs.userAgent.browser.getVersion(),e)},goog.labs.userAgent.browser.getIEVersion_=function(e){var t=/rv: *([\d\.]*)/.exec(e);if(t&&t[1])return t[1];t="";var o=/MSIE +([\d\.]+)/.exec(e);if(o&&o[1])if(e=/Trident\/(\d.\d)/.exec(e),"7.0"==o[1])if(e&&e[1])switch(e[1]){case"4.0":t="8.0";break;case"5.0":t="9.0";break;case"6.0":t="10.0";break;case"7.0":t="11.0"}else t="7.0";else t=o[1];return t},goog.html.SafeHtml=function(){this.privateDoNotAccessOrElseSafeHtmlWrappedValue_="",this.SAFE_HTML_TYPE_MARKER_GOOG_HTML_SECURITY_PRIVATE_=goog.html.SafeHtml.TYPE_MARKER_GOOG_HTML_SECURITY_PRIVATE_,this.dir_=null},goog.html.SafeHtml.ENABLE_ERROR_MESSAGES=goog.DEBUG,goog.html.SafeHtml.SUPPORT_STYLE_ATTRIBUTE=!0,goog.html.SafeHtml.prototype.implementsGoogI18nBidiDirectionalString=!0,goog.html.SafeHtml.prototype.getDirection=function(){return this.dir_},goog.html.SafeHtml.prototype.implementsGoogStringTypedString=!0,goog.html.SafeHtml.prototype.getTypedStringValue=function(){return this.privateDoNotAccessOrElseSafeHtmlWrappedValue_.toString()},goog.DEBUG&&(goog.html.SafeHtml.prototype.toString=function(){return"SafeHtml{"+this.privateDoNotAccessOrElseSafeHtmlWrappedValue_+"}"}),goog.html.SafeHtml.unwrap=function(e){return goog.html.SafeHtml.unwrapTrustedHTML(e).toString()},goog.html.SafeHtml.unwrapTrustedHTML=function(e){return e instanceof goog.html.SafeHtml&&e.constructor===goog.html.SafeHtml&&e.SAFE_HTML_TYPE_MARKER_GOOG_HTML_SECURITY_PRIVATE_===goog.html.SafeHtml.TYPE_MARKER_GOOG_HTML_SECURITY_PRIVATE_?e.privateDoNotAccessOrElseSafeHtmlWrappedValue_:(goog.asserts.fail("expected object of type SafeHtml, got '"+e+"' of type "+goog.typeOf(e)),"type_error:SafeHtml")},goog.html.SafeHtml.htmlEscape=function(e){if(e instanceof goog.html.SafeHtml)return e;var t="object"==typeof e,o=null;return t&&e.implementsGoogI18nBidiDirectionalString&&(o=e.getDirection()),e=t&&e.implementsGoogStringTypedString?e.getTypedStringValue():String(e),goog.html.SafeHtml.createSafeHtmlSecurityPrivateDoNotAccessOrElse(goog.string.internal.htmlEscape(e),o)},goog.html.SafeHtml.htmlEscapePreservingNewlines=function(e){return e instanceof goog.html.SafeHtml?e:(e=goog.html.SafeHtml.htmlEscape(e),goog.html.SafeHtml.createSafeHtmlSecurityPrivateDoNotAccessOrElse(goog.string.internal.newLineToBr(goog.html.SafeHtml.unwrap(e)),e.getDirection()))},goog.html.SafeHtml.htmlEscapePreservingNewlinesAndSpaces=function(e){return e instanceof goog.html.SafeHtml?e:(e=goog.html.SafeHtml.htmlEscape(e),goog.html.SafeHtml.createSafeHtmlSecurityPrivateDoNotAccessOrElse(goog.string.internal.whitespaceEscape(goog.html.SafeHtml.unwrap(e)),e.getDirection()))},goog.html.SafeHtml.from=goog.html.SafeHtml.htmlEscape,goog.html.SafeHtml.comment=function(e){return goog.html.SafeHtml.createSafeHtmlSecurityPrivateDoNotAccessOrElse("\x3c!--"+goog.string.internal.htmlEscape(e)+"--\x3e",null)},goog.html.SafeHtml.VALID_NAMES_IN_TAG_=/^[a-zA-Z0-9-]+$/,goog.html.SafeHtml.URL_ATTRIBUTES_={action:!0,cite:!0,data:!0,formaction:!0,href:!0,manifest:!0,poster:!0,src:!0},goog.html.SafeHtml.NOT_ALLOWED_TAG_NAMES_={APPLET:!0,BASE:!0,EMBED:!0,IFRAME:!0,LINK:!0,MATH:!0,META:!0,OBJECT:!0,SCRIPT:!0,STYLE:!0,SVG:!0,TEMPLATE:!0},goog.html.SafeHtml.create=function(e,t,o){return goog.html.SafeHtml.verifyTagName(String(e)),goog.html.SafeHtml.createSafeHtmlTagSecurityPrivateDoNotAccessOrElse(String(e),t,o)},goog.html.SafeHtml.verifyTagName=function(e){if(!goog.html.SafeHtml.VALID_NAMES_IN_TAG_.test(e))throw Error(goog.html.SafeHtml.ENABLE_ERROR_MESSAGES?"Invalid tag name <"+e+">.":"");if(e.toUpperCase()in goog.html.SafeHtml.NOT_ALLOWED_TAG_NAMES_)throw Error(goog.html.SafeHtml.ENABLE_ERROR_MESSAGES?"Tag name <"+e+"> is not allowed for SafeHtml.":"")},goog.html.SafeHtml.createIframe=function(e,t,o,r){e&&goog.html.TrustedResourceUrl.unwrap(e);var s={};return s.src=e||null,s.srcdoc=t&&goog.html.SafeHtml.unwrap(t),e=goog.html.SafeHtml.combineAttributes(s,{sandbox:""},o),goog.html.SafeHtml.createSafeHtmlTagSecurityPrivateDoNotAccessOrElse("iframe",e,r)},goog.html.SafeHtml.createSandboxIframe=function(e,t,o,r){if(!goog.html.SafeHtml.canUseSandboxIframe())throw Error(goog.html.SafeHtml.ENABLE_ERROR_MESSAGES?"The browser does not support sandboxed iframes.":"");var s={};return s.src=e?goog.html.SafeUrl.unwrap(goog.html.SafeUrl.sanitize(e)):null,s.srcdoc=t||null,s.sandbox="",e=goog.html.SafeHtml.combineAttributes(s,{},o),goog.html.SafeHtml.createSafeHtmlTagSecurityPrivateDoNotAccessOrElse("iframe",e,r)},goog.html.SafeHtml.canUseSandboxIframe=function(){return goog.global.HTMLIFrameElement&&"sandbox"in goog.global.HTMLIFrameElement.prototype},goog.html.SafeHtml.createScriptSrc=function(e,t){return goog.html.TrustedResourceUrl.unwrap(e),e=goog.html.SafeHtml.combineAttributes({src:e},{},t),goog.html.SafeHtml.createSafeHtmlTagSecurityPrivateDoNotAccessOrElse("script",e)},goog.html.SafeHtml.createScript=function(e,t){for(var o in t){var r=o.toLowerCase();if("language"==r||"src"==r||"text"==r||"type"==r)throw Error(goog.html.SafeHtml.ENABLE_ERROR_MESSAGES?'Cannot set "'+r+'" attribute':"")}for(o="",e=goog.array.concat(e),r=0;r<e.length;r++)o+=goog.html.SafeScript.unwrap(e[r]);return e=goog.html.SafeHtml.createSafeHtmlSecurityPrivateDoNotAccessOrElse(o,goog.i18n.bidi.Dir.NEUTRAL),goog.html.SafeHtml.createSafeHtmlTagSecurityPrivateDoNotAccessOrElse("script",t,e)},goog.html.SafeHtml.createStyle=function(e,t){t=goog.html.SafeHtml.combineAttributes({type:"text/css"},{},t);var o="";e=goog.array.concat(e);for(var r=0;r<e.length;r++)o+=goog.html.SafeStyleSheet.unwrap(e[r]);return e=goog.html.SafeHtml.createSafeHtmlSecurityPrivateDoNotAccessOrElse(o,goog.i18n.bidi.Dir.NEUTRAL),goog.html.SafeHtml.createSafeHtmlTagSecurityPrivateDoNotAccessOrElse("style",t,e)},goog.html.SafeHtml.createMetaRefresh=function(e,t){return e=goog.html.SafeUrl.unwrap(goog.html.SafeUrl.sanitize(e)),(goog.labs.userAgent.browser.isIE()||goog.labs.userAgent.browser.isEdge())&&goog.string.internal.contains(e,";")&&(e="'"+e.replace(/'/g,"%27")+"'"),goog.html.SafeHtml.createSafeHtmlTagSecurityPrivateDoNotAccessOrElse("meta",{"http-equiv":"refresh",content:(t||0)+"; url="+e})},goog.html.SafeHtml.getAttrNameAndValue_=function(e,t,o){if(o instanceof goog.string.Const)o=goog.string.Const.unwrap(o);else if("style"==t.toLowerCase()){if(!goog.html.SafeHtml.SUPPORT_STYLE_ATTRIBUTE)throw Error(goog.html.SafeHtml.ENABLE_ERROR_MESSAGES?'Attribute "style" not supported.':"");o=goog.html.SafeHtml.getStyleValue_(o)}else{if(/^on/i.test(t))throw Error(goog.html.SafeHtml.ENABLE_ERROR_MESSAGES?'Attribute "'+t+'" requires goog.string.Const value, "'+o+'" given.':"");if(t.toLowerCase()in goog.html.SafeHtml.URL_ATTRIBUTES_)if(o instanceof goog.html.TrustedResourceUrl)o=goog.html.TrustedResourceUrl.unwrap(o);else if(o instanceof goog.html.SafeUrl)o=goog.html.SafeUrl.unwrap(o);else{if("string"!=typeof o)throw Error(goog.html.SafeHtml.ENABLE_ERROR_MESSAGES?'Attribute "'+t+'" on tag "'+e+'" requires goog.html.SafeUrl, goog.string.Const, or string, value "'+o+'" given.':"");o=goog.html.SafeUrl.sanitize(o).getTypedStringValue()}}return o.implementsGoogStringTypedString&&(o=o.getTypedStringValue()),goog.asserts.assert("string"==typeof o||"number"==typeof o,"String or number value expected, got "+typeof o+" with value: "+o),t+'="'+goog.string.internal.htmlEscape(String(o))+'"'},goog.html.SafeHtml.getStyleValue_=function(e){if(!goog.isObject(e))throw Error(goog.html.SafeHtml.ENABLE_ERROR_MESSAGES?'The "style" attribute requires goog.html.SafeStyle or map of style properties, '+typeof e+" given: "+e:"");return e instanceof goog.html.SafeStyle||(e=goog.html.SafeStyle.create(e)),goog.html.SafeStyle.unwrap(e)},goog.html.SafeHtml.createWithDir=function(e,t,o,r){return(t=goog.html.SafeHtml.create(t,o,r)).dir_=e,t},goog.html.SafeHtml.join=function(e,t){var o=(e=goog.html.SafeHtml.htmlEscape(e)).getDirection(),r=[],s=function(e){Array.isArray(e)?goog.array.forEach(e,s):(e=goog.html.SafeHtml.htmlEscape(e),r.push(goog.html.SafeHtml.unwrap(e)),e=e.getDirection(),o==goog.i18n.bidi.Dir.NEUTRAL?o=e:e!=goog.i18n.bidi.Dir.NEUTRAL&&o!=e&&(o=null))};return goog.array.forEach(t,s),goog.html.SafeHtml.createSafeHtmlSecurityPrivateDoNotAccessOrElse(r.join(goog.html.SafeHtml.unwrap(e)),o)},goog.html.SafeHtml.concat=function(e){return goog.html.SafeHtml.join(goog.html.SafeHtml.EMPTY,Array.prototype.slice.call(arguments))},goog.html.SafeHtml.concatWithDir=function(e,t){var o=goog.html.SafeHtml.concat(goog.array.slice(arguments,1));return o.dir_=e,o},goog.html.SafeHtml.TYPE_MARKER_GOOG_HTML_SECURITY_PRIVATE_={},goog.html.SafeHtml.createSafeHtmlSecurityPrivateDoNotAccessOrElse=function(e,t){return(new goog.html.SafeHtml).initSecurityPrivateDoNotAccessOrElse_(e,t)},goog.html.SafeHtml.prototype.initSecurityPrivateDoNotAccessOrElse_=function(e,t){return this.privateDoNotAccessOrElseSafeHtmlWrappedValue_=goog.html.trustedtypes.PRIVATE_DO_NOT_ACCESS_OR_ELSE_POLICY?goog.html.trustedtypes.PRIVATE_DO_NOT_ACCESS_OR_ELSE_POLICY.createHTML(e):e,this.dir_=t,this},goog.html.SafeHtml.createSafeHtmlTagSecurityPrivateDoNotAccessOrElse=function(e,t,o){var r=null,s="<"+e+goog.html.SafeHtml.stringifyAttributes(e,t);return null==o?o=[]:Array.isArray(o)||(o=[o]),goog.dom.tags.isVoidTag(e.toLowerCase())?(goog.asserts.assert(!o.length,"Void tag <"+e+"> does not allow content."),s+=">"):(r=goog.html.SafeHtml.concat(o),s+=">"+goog.html.SafeHtml.unwrap(r)+"</"+e+">",r=r.getDirection()),(e=t&&t.dir)&&(r=/^(ltr|rtl|auto)$/i.test(e)?goog.i18n.bidi.Dir.NEUTRAL:null),goog.html.SafeHtml.createSafeHtmlSecurityPrivateDoNotAccessOrElse(s,r)},goog.html.SafeHtml.stringifyAttributes=function(e,t){var o="";if(t)for(var r in t){if(!goog.html.SafeHtml.VALID_NAMES_IN_TAG_.test(r))throw Error(goog.html.SafeHtml.ENABLE_ERROR_MESSAGES?'Invalid attribute name "'+r+'".':"");var s=t[r];null!=s&&(o+=" "+goog.html.SafeHtml.getAttrNameAndValue_(e,r,s))}return o},goog.html.SafeHtml.combineAttributes=function(e,t,o){var r,s={};for(r in e)goog.asserts.assert(r.toLowerCase()==r,"Must be lower case"),s[r]=e[r];for(r in t)goog.asserts.assert(r.toLowerCase()==r,"Must be lower case"),s[r]=t[r];if(o)for(r in o){var i=r.toLowerCase();if(i in e)throw Error(goog.html.SafeHtml.ENABLE_ERROR_MESSAGES?'Cannot override "'+i+'" attribute, got "'+r+'" with value "'+o[r]+'"':"");i in t&&delete s[i],s[r]=o[r]}return s},goog.html.SafeHtml.DOCTYPE_HTML=goog.html.SafeHtml.createSafeHtmlSecurityPrivateDoNotAccessOrElse("<!DOCTYPE html>",goog.i18n.bidi.Dir.NEUTRAL),goog.html.SafeHtml.EMPTY=goog.html.SafeHtml.createSafeHtmlSecurityPrivateDoNotAccessOrElse("",goog.i18n.bidi.Dir.NEUTRAL),goog.html.SafeHtml.BR=goog.html.SafeHtml.createSafeHtmlSecurityPrivateDoNotAccessOrElse("<br>",goog.i18n.bidi.Dir.NEUTRAL),goog.html.uncheckedconversions={},goog.html.uncheckedconversions.safeHtmlFromStringKnownToSatisfyTypeContract=function(e,t,o){return goog.asserts.assertString(goog.string.Const.unwrap(e),"must provide justification"),goog.asserts.assert(!goog.string.internal.isEmptyOrWhitespace(goog.string.Const.unwrap(e)),"must provide non-empty justification"),goog.html.SafeHtml.createSafeHtmlSecurityPrivateDoNotAccessOrElse(t,o||null)},goog.html.uncheckedconversions.safeScriptFromStringKnownToSatisfyTypeContract=function(e,t){return goog.asserts.assertString(goog.string.Const.unwrap(e),"must provide justification"),goog.asserts.assert(!goog.string.internal.isEmptyOrWhitespace(goog.string.Const.unwrap(e)),"must provide non-empty justification"),goog.html.SafeScript.createSafeScriptSecurityPrivateDoNotAccessOrElse(t)},goog.html.uncheckedconversions.safeStyleFromStringKnownToSatisfyTypeContract=function(e,t){return goog.asserts.assertString(goog.string.Const.unwrap(e),"must provide justification"),goog.asserts.assert(!goog.string.internal.isEmptyOrWhitespace(goog.string.Const.unwrap(e)),"must provide non-empty justification"),goog.html.SafeStyle.createSafeStyleSecurityPrivateDoNotAccessOrElse(t)},goog.html.uncheckedconversions.safeStyleSheetFromStringKnownToSatisfyTypeContract=function(e,t){return goog.asserts.assertString(goog.string.Const.unwrap(e),"must provide justification"),goog.asserts.assert(!goog.string.internal.isEmptyOrWhitespace(goog.string.Const.unwrap(e)),"must provide non-empty justification"),goog.html.SafeStyleSheet.createSafeStyleSheetSecurityPrivateDoNotAccessOrElse(t)},goog.html.uncheckedconversions.safeUrlFromStringKnownToSatisfyTypeContract=function(e,t){return goog.asserts.assertString(goog.string.Const.unwrap(e),"must provide justification"),goog.asserts.assert(!goog.string.internal.isEmptyOrWhitespace(goog.string.Const.unwrap(e)),"must provide non-empty justification"),goog.html.SafeUrl.createSafeUrlSecurityPrivateDoNotAccessOrElse(t)},goog.html.uncheckedconversions.trustedResourceUrlFromStringKnownToSatisfyTypeContract=function(e,t){return goog.asserts.assertString(goog.string.Const.unwrap(e),"must provide justification"),goog.asserts.assert(!goog.string.internal.isEmptyOrWhitespace(goog.string.Const.unwrap(e)),"must provide non-empty justification"),goog.html.TrustedResourceUrl.createTrustedResourceUrlSecurityPrivateDoNotAccessOrElse(t)},goog.dom.safe={},goog.dom.safe.InsertAdjacentHtmlPosition={AFTERBEGIN:"afterbegin",AFTEREND:"afterend",BEFOREBEGIN:"beforebegin",BEFOREEND:"beforeend"},goog.dom.safe.insertAdjacentHtml=function(e,t,o){e.insertAdjacentHTML(t,goog.html.SafeHtml.unwrapTrustedHTML(o))},goog.dom.safe.SET_INNER_HTML_DISALLOWED_TAGS_={MATH:!0,SCRIPT:!0,STYLE:!0,SVG:!0,TEMPLATE:!0},goog.dom.safe.isInnerHtmlCleanupRecursive_=goog.functions.cacheReturnValue((function(){if(goog.DEBUG&&"undefined"==typeof document)return!1;var e=document.createElement("div"),t=document.createElement("div");return t.appendChild(document.createElement("div")),e.appendChild(t),!(goog.DEBUG&&!e.firstChild)&&(t=e.firstChild.firstChild,e.innerHTML=goog.html.SafeHtml.unwrapTrustedHTML(goog.html.SafeHtml.EMPTY),!t.parentElement)})),goog.dom.safe.unsafeSetInnerHtmlDoNotUseOrElse=function(e,t){if(goog.dom.safe.isInnerHtmlCleanupRecursive_())for(;e.lastChild;)e.removeChild(e.lastChild);e.innerHTML=goog.html.SafeHtml.unwrapTrustedHTML(t)},goog.dom.safe.setInnerHtml=function(e,t){if(goog.asserts.ENABLE_ASSERTS){var o=e.tagName.toUpperCase();if(goog.dom.safe.SET_INNER_HTML_DISALLOWED_TAGS_[o])throw Error("goog.dom.safe.setInnerHtml cannot be used to set content of "+e.tagName+".")}goog.dom.safe.unsafeSetInnerHtmlDoNotUseOrElse(e,t)},goog.dom.safe.setOuterHtml=function(e,t){e.outerHTML=goog.html.SafeHtml.unwrapTrustedHTML(t)},goog.dom.safe.setFormElementAction=function(e,t){t=t instanceof goog.html.SafeUrl?t:goog.html.SafeUrl.sanitizeAssertUnchanged(t),goog.dom.asserts.assertIsHTMLFormElement(e).action=goog.html.SafeUrl.unwrap(t)},goog.dom.safe.setButtonFormAction=function(e,t){t=t instanceof goog.html.SafeUrl?t:goog.html.SafeUrl.sanitizeAssertUnchanged(t),goog.dom.asserts.assertIsHTMLButtonElement(e).formAction=goog.html.SafeUrl.unwrap(t)},goog.dom.safe.setInputFormAction=function(e,t){t=t instanceof goog.html.SafeUrl?t:goog.html.SafeUrl.sanitizeAssertUnchanged(t),goog.dom.asserts.assertIsHTMLInputElement(e).formAction=goog.html.SafeUrl.unwrap(t)},goog.dom.safe.setStyle=function(e,t){e.style.cssText=goog.html.SafeStyle.unwrap(t)},goog.dom.safe.documentWrite=function(e,t){e.write(goog.html.SafeHtml.unwrapTrustedHTML(t))},goog.dom.safe.setAnchorHref=function(e,t){goog.dom.asserts.assertIsHTMLAnchorElement(e),t=t instanceof goog.html.SafeUrl?t:goog.html.SafeUrl.sanitizeAssertUnchanged(t),e.href=goog.html.SafeUrl.unwrap(t)},goog.dom.safe.setImageSrc=function(e,t){if(goog.dom.asserts.assertIsHTMLImageElement(e),!(t instanceof goog.html.SafeUrl)){var o=/^data:image\//i.test(t);t=goog.html.SafeUrl.sanitizeAssertUnchanged(t,o)}e.src=goog.html.SafeUrl.unwrap(t)},goog.dom.safe.setAudioSrc=function(e,t){if(goog.dom.asserts.assertIsHTMLAudioElement(e),!(t instanceof goog.html.SafeUrl)){var o=/^data:audio\//i.test(t);t=goog.html.SafeUrl.sanitizeAssertUnchanged(t,o)}e.src=goog.html.SafeUrl.unwrap(t)},goog.dom.safe.setVideoSrc=function(e,t){if(goog.dom.asserts.assertIsHTMLVideoElement(e),!(t instanceof goog.html.SafeUrl)){var o=/^data:video\//i.test(t);t=goog.html.SafeUrl.sanitizeAssertUnchanged(t,o)}e.src=goog.html.SafeUrl.unwrap(t)},goog.dom.safe.setEmbedSrc=function(e,t){goog.dom.asserts.assertIsHTMLEmbedElement(e),e.src=goog.html.TrustedResourceUrl.unwrapTrustedScriptURL(t)},goog.dom.safe.setFrameSrc=function(e,t){goog.dom.asserts.assertIsHTMLFrameElement(e),e.src=goog.html.TrustedResourceUrl.unwrap(t)},goog.dom.safe.setIframeSrc=function(e,t){goog.dom.asserts.assertIsHTMLIFrameElement(e),e.src=goog.html.TrustedResourceUrl.unwrap(t)},goog.dom.safe.setIframeSrcdoc=function(e,t){goog.dom.asserts.assertIsHTMLIFrameElement(e),e.srcdoc=goog.html.SafeHtml.unwrapTrustedHTML(t)},goog.dom.safe.setLinkHrefAndRel=function(e,t,o){goog.dom.asserts.assertIsHTMLLinkElement(e),e.rel=o,goog.string.internal.caseInsensitiveContains(o,"stylesheet")?(goog.asserts.assert(t instanceof goog.html.TrustedResourceUrl,'URL must be TrustedResourceUrl because "rel" contains "stylesheet"'),e.href=goog.html.TrustedResourceUrl.unwrap(t)):e.href=t instanceof goog.html.TrustedResourceUrl?goog.html.TrustedResourceUrl.unwrap(t):t instanceof goog.html.SafeUrl?goog.html.SafeUrl.unwrap(t):goog.html.SafeUrl.unwrap(goog.html.SafeUrl.sanitizeAssertUnchanged(t))},goog.dom.safe.setObjectData=function(e,t){goog.dom.asserts.assertIsHTMLObjectElement(e),e.data=goog.html.TrustedResourceUrl.unwrapTrustedScriptURL(t)},goog.dom.safe.setScriptSrc=function(e,t){goog.dom.asserts.assertIsHTMLScriptElement(e),e.src=goog.html.TrustedResourceUrl.unwrapTrustedScriptURL(t),(t=goog.getScriptNonce())&&e.setAttribute("nonce",t)},goog.dom.safe.setScriptContent=function(e,t){goog.dom.asserts.assertIsHTMLScriptElement(e),e.text=goog.html.SafeScript.unwrapTrustedScript(t),(t=goog.getScriptNonce())&&e.setAttribute("nonce",t)},goog.dom.safe.setLocationHref=function(e,t){goog.dom.asserts.assertIsLocation(e),t=t instanceof goog.html.SafeUrl?t:goog.html.SafeUrl.sanitizeAssertUnchanged(t),e.href=goog.html.SafeUrl.unwrap(t)},goog.dom.safe.assignLocation=function(e,t){goog.dom.asserts.assertIsLocation(e),t=t instanceof goog.html.SafeUrl?t:goog.html.SafeUrl.sanitizeAssertUnchanged(t),e.assign(goog.html.SafeUrl.unwrap(t))},goog.dom.safe.replaceLocation=function(e,t){t=t instanceof goog.html.SafeUrl?t:goog.html.SafeUrl.sanitizeAssertUnchanged(t),e.replace(goog.html.SafeUrl.unwrap(t))},goog.dom.safe.openInWindow=function(e,t,o,r,s){return e=e instanceof goog.html.SafeUrl?e:goog.html.SafeUrl.sanitizeAssertUnchanged(e),t=t||goog.global,o=o instanceof goog.string.Const?goog.string.Const.unwrap(o):o||"",t.open(goog.html.SafeUrl.unwrap(e),o,r,s)},goog.dom.safe.parseFromStringHtml=function(e,t){return goog.dom.safe.parseFromString(e,t,"text/html")},goog.dom.safe.parseFromString=function(e,t,o){return e.parseFromString(goog.html.SafeHtml.unwrapTrustedHTML(t),o)},goog.dom.safe.createImageFromBlob=function(e){if(!/^image\/.*/g.test(e.type))throw Error("goog.dom.safe.createImageFromBlob only accepts MIME type image/.*.");var t=goog.global.URL.createObjectURL(e);return(e=new goog.global.Image).onload=function(){goog.global.URL.revokeObjectURL(t)},goog.dom.safe.setImageSrc(e,goog.html.uncheckedconversions.safeUrlFromStringKnownToSatisfyTypeContract(goog.string.Const.from("Image blob URL."),t)),e},goog.string.DETECT_DOUBLE_ESCAPING=!1,goog.string.FORCE_NON_DOM_HTML_UNESCAPING=!1,goog.string.Unicode={NBSP:" "},goog.string.startsWith=goog.string.internal.startsWith,goog.string.endsWith=goog.string.internal.endsWith,goog.string.caseInsensitiveStartsWith=goog.string.internal.caseInsensitiveStartsWith,goog.string.caseInsensitiveEndsWith=goog.string.internal.caseInsensitiveEndsWith,goog.string.caseInsensitiveEquals=goog.string.internal.caseInsensitiveEquals,goog.string.subs=function(e,t){for(var o=e.split("%s"),r="",s=Array.prototype.slice.call(arguments,1);s.length&&1<o.length;)r+=o.shift()+s.shift();return r+o.join("%s")},goog.string.collapseWhitespace=function(e){return e.replace(/[\s\xa0]+/g," ").replace(/^\s+|\s+$/g,"")},goog.string.isEmptyOrWhitespace=goog.string.internal.isEmptyOrWhitespace,goog.string.isEmptyString=function(e){return 0==e.length},goog.string.isEmpty=goog.string.isEmptyOrWhitespace,goog.string.isEmptyOrWhitespaceSafe=function(e){return goog.string.isEmptyOrWhitespace(goog.string.makeSafe(e))},goog.string.isEmptySafe=goog.string.isEmptyOrWhitespaceSafe,goog.string.isBreakingWhitespace=function(e){return!/[^\t\n\r ]/.test(e)},goog.string.isAlpha=function(e){return!/[^a-zA-Z]/.test(e)},goog.string.isNumeric=function(e){return!/[^0-9]/.test(e)},goog.string.isAlphaNumeric=function(e){return!/[^a-zA-Z0-9]/.test(e)},goog.string.isSpace=function(e){return" "==e},goog.string.isUnicodeChar=function(e){return 1==e.length&&" "<=e&&"~">=e||""<=e&&"�">=e},goog.string.stripNewlines=function(e){return e.replace(/(\r\n|\r|\n)+/g," ")},goog.string.canonicalizeNewlines=function(e){return e.replace(/(\r\n|\r|\n)/g,"\n")},goog.string.normalizeWhitespace=function(e){return e.replace(/\xa0|\s/g," ")},goog.string.normalizeSpaces=function(e){return e.replace(/\xa0|[ \t]+/g," ")},goog.string.collapseBreakingSpaces=function(e){return e.replace(/[\t\r\n ]+/g," ").replace(/^[\t\r\n ]+|[\t\r\n ]+$/g,"")},goog.string.trim=goog.string.internal.trim,goog.string.trimLeft=function(e){return e.replace(/^[\s\xa0]+/,"")},goog.string.trimRight=function(e){return e.replace(/[\s\xa0]+$/,"")},goog.string.caseInsensitiveCompare=goog.string.internal.caseInsensitiveCompare,goog.string.numberAwareCompare_=function(e,t,o){if(e==t)return 0;if(!e)return-1;if(!t)return 1;for(var r=e.toLowerCase().match(o),s=t.toLowerCase().match(o),i=Math.min(r.length,s.length),n=0;n<i;n++){o=r[n];var a=s[n];if(o!=a)return e=parseInt(o,10),!isNaN(e)&&(t=parseInt(a,10),!isNaN(t)&&e-t)?e-t:o<a?-1:1}return r.length!=s.length?r.length-s.length:e<t?-1:1},goog.string.intAwareCompare=function(e,t){return goog.string.numberAwareCompare_(e,t,/\d+|\D+/g)},goog.string.floatAwareCompare=function(e,t){return goog.string.numberAwareCompare_(e,t,/\d+|\.\d+|\D+/g)},goog.string.numerateCompare=goog.string.floatAwareCompare,goog.string.urlEncode=function(e){return encodeURIComponent(String(e))},goog.string.urlDecode=function(e){return decodeURIComponent(e.replace(/\+/g," "))},goog.string.newLineToBr=goog.string.internal.newLineToBr,goog.string.htmlEscape=function(e,t){return e=goog.string.internal.htmlEscape(e,t),goog.string.DETECT_DOUBLE_ESCAPING&&(e=e.replace(goog.string.E_RE_,"e")),e},goog.string.E_RE_=/e/g,goog.string.unescapeEntities=function(e){return goog.string.contains(e,"&")?!goog.string.FORCE_NON_DOM_HTML_UNESCAPING&&"document"in goog.global?goog.string.unescapeEntitiesUsingDom_(e):goog.string.unescapePureXmlEntities_(e):e},goog.string.unescapeEntitiesWithDocument=function(e,t){return goog.string.contains(e,"&")?goog.string.unescapeEntitiesUsingDom_(e,t):e},goog.string.unescapeEntitiesUsingDom_=function(e,t){var o={"&":"&","<":"<",">":">",""":'"'},r=t?t.createElement("div"):goog.global.document.createElement("div");return e.replace(goog.string.HTML_ENTITY_PATTERN_,(function(e,t){var s=o[e];return s||("#"==t.charAt(0)&&(t=Number("0"+t.substr(1)),isNaN(t)||(s=String.fromCharCode(t))),s||(goog.dom.safe.setInnerHtml(r,goog.html.uncheckedconversions.safeHtmlFromStringKnownToSatisfyTypeContract(goog.string.Const.from("Single HTML entity."),e+" ")),s=r.firstChild.nodeValue.slice(0,-1)),o[e]=s)}))},goog.string.unescapePureXmlEntities_=function(e){return e.replace(/&([^;]+);/g,(function(e,t){switch(t){case"amp":return"&";case"lt":return"<";case"gt":return">";case"quot":return'"';default:return"#"!=t.charAt(0)||(t=Number("0"+t.substr(1)),isNaN(t))?e:String.fromCharCode(t)}}))},goog.string.HTML_ENTITY_PATTERN_=/&([^;\s<&]+);?/g,goog.string.whitespaceEscape=function(e,t){return goog.string.newLineToBr(e.replace(/ /g,"  "),t)},goog.string.preserveSpaces=function(e){return e.replace(/(^|[\n ]) /g,"$1"+goog.string.Unicode.NBSP)},goog.string.stripQuotes=function(e,t){for(var o=t.length,r=0;r<o;r++){var s=1==o?t:t.charAt(r);if(e.charAt(0)==s&&e.charAt(e.length-1)==s)return e.substring(1,e.length-1)}return e},goog.string.truncate=function(e,t,o){return o&&(e=goog.string.unescapeEntities(e)),e.length>t&&(e=e.substring(0,t-3)+"..."),o&&(e=goog.string.htmlEscape(e)),e},goog.string.truncateMiddle=function(e,t,o,r){if(o&&(e=goog.string.unescapeEntities(e)),r&&e.length>t){r>t&&(r=t);var s=e.length-r;e=e.substring(0,t-r)+"..."+e.substring(s)}else e.length>t&&(r=Math.floor(t/2),s=e.length-r,e=e.substring(0,r+t%2)+"..."+e.substring(s));return o&&(e=goog.string.htmlEscape(e)),e},goog.string.specialEscapeChars_={"\0":"\\0","\b":"\\b","\f":"\\f","\n":"\\n","\r":"\\r","\t":"\\t","\v":"\\x0B",'"':'\\"',"\\":"\\\\","<":"\\u003C"},goog.string.jsEscapeCache_={"'":"\\'"},goog.string.quote=function(e){e=String(e);for(var t=['"'],o=0;o<e.length;o++){var r=e.charAt(o),s=r.charCodeAt(0);t[o+1]=goog.string.specialEscapeChars_[r]||(31<s&&127>s?r:goog.string.escapeChar(r))}return t.push('"'),t.join("")},goog.string.escapeString=function(e){for(var t=[],o=0;o<e.length;o++)t[o]=goog.string.escapeChar(e.charAt(o));return t.join("")},goog.string.escapeChar=function(e){if(e in goog.string.jsEscapeCache_)return goog.string.jsEscapeCache_[e];if(e in goog.string.specialEscapeChars_)return goog.string.jsEscapeCache_[e]=goog.string.specialEscapeChars_[e];var t=e.charCodeAt(0);if(31<t&&127>t)var o=e;else 256>t?(o="\\x",(16>t||256<t)&&(o+="0")):(o="\\u",4096>t&&(o+="0")),o+=t.toString(16).toUpperCase();return goog.string.jsEscapeCache_[e]=o},goog.string.contains=goog.string.internal.contains,goog.string.caseInsensitiveContains=goog.string.internal.caseInsensitiveContains,goog.string.countOf=function(e,t){return e&&t?e.split(t).length-1:0},goog.string.removeAt=function(e,t,o){var r=e;return 0<=t&&t<e.length&&0<o&&(r=e.substr(0,t)+e.substr(t+o,e.length-t-o)),r},goog.string.remove=function(e,t){return e.replace(t,"")},goog.string.removeAll=function(e,t){return t=new RegExp(goog.string.regExpEscape(t),"g"),e.replace(t,"")},goog.string.replaceAll=function(e,t,o){return t=new RegExp(goog.string.regExpEscape(t),"g"),e.replace(t,o.replace(/\$/g,"$$$$"))},goog.string.regExpEscape=function(e){return String(e).replace(/([-()\[\]{}+?*.$\^|,:#<!\\])/g,"\\$1").replace(/\x08/g,"\\x08")},goog.string.repeat=String.prototype.repeat?function(e,t){return e.repeat(t)}:function(e,t){return Array(t+1).join(e)},goog.string.padNumber=function(e,t,o){return-1==(o=(e=void 0!==o?e.toFixed(o):String(e)).indexOf("."))&&(o=e.length),goog.string.repeat("0",Math.max(0,t-o))+e},goog.string.makeSafe=function(e){return null==e?"":String(e)},goog.string.buildString=function(e){return Array.prototype.join.call(arguments,"")},goog.string.getRandomString=function(){return Math.floor(2147483648*Math.random()).toString(36)+Math.abs(Math.floor(2147483648*Math.random())^goog.now()).toString(36)},goog.string.compareVersions=goog.string.internal.compareVersions,goog.string.hashCode=function(e){for(var t=0,o=0;o<e.length;++o)t=31*t+e.charCodeAt(o)>>>0;return t},goog.string.uniqueStringCounter_=2147483648*Math.random()|0,goog.string.createUniqueString=function(){return"goog_"+goog.string.uniqueStringCounter_++},goog.string.toNumber=function(e){var t=Number(e);return 0==t&&goog.string.isEmptyOrWhitespace(e)?NaN:t},goog.string.isLowerCamelCase=function(e){return/^[a-z]+([A-Z][a-z]*)*$/.test(e)},goog.string.isUpperCamelCase=function(e){return/^([A-Z][a-z]*)+$/.test(e)},goog.string.toCamelCase=function(e){return String(e).replace(/\-([a-z])/g,(function(e,t){return t.toUpperCase()}))},goog.string.toSelectorCase=function(e){return String(e).replace(/([A-Z])/g,"-$1").toLowerCase()},goog.string.toTitleCase=function(e,t){return t="string"==typeof t?goog.string.regExpEscape(t):"\\s",e.replace(new RegExp("(^"+(t?"|["+t+"]+":"")+")([a-z])","g"),(function(e,t,o){return t+o.toUpperCase()}))},goog.string.capitalize=function(e){return String(e.charAt(0)).toUpperCase()+String(e.substr(1)).toLowerCase()},goog.string.parseInt=function(e){return isFinite(e)&&(e=String(e)),"string"==typeof e?/^\s*-?0x/i.test(e)?parseInt(e,16):parseInt(e,10):NaN},goog.string.splitLimit=function(e,t,o){e=e.split(t);for(var r=[];0<o&&e.length;)r.push(e.shift()),o--;return e.length&&r.push(e.join(t)),r},goog.string.lastComponent=function(e,t){if(!t)return e;"string"==typeof t&&(t=[t]);for(var o=-1,r=0;r<t.length;r++)if(""!=t[r]){var s=e.lastIndexOf(t[r]);s>o&&(o=s)}return-1==o?e:e.slice(o+1)},goog.string.editDistance=function(e,t){var o=[],r=[];if(e==t)return 0;if(!e.length||!t.length)return Math.max(e.length,t.length);for(var s=0;s<t.length+1;s++)o[s]=s;for(s=0;s<e.length;s++){r[0]=s+1;for(var i=0;i<t.length;i++)r[i+1]=Math.min(r[i]+1,o[i+1]+1,o[i]+Number(e[s]!=t[i]));for(i=0;i<o.length;i++)o[i]=r[i]}return r[t.length]},goog.labs.userAgent.engine={},goog.labs.userAgent.engine.isPresto=function(){return goog.labs.userAgent.util.matchUserAgent("Presto")},goog.labs.userAgent.engine.isTrident=function(){return goog.labs.userAgent.util.matchUserAgent("Trident")||goog.labs.userAgent.util.matchUserAgent("MSIE")},goog.labs.userAgent.engine.isEdge=function(){return goog.labs.userAgent.util.matchUserAgent("Edge")},goog.labs.userAgent.engine.isWebKit=function(){return goog.labs.userAgent.util.matchUserAgentIgnoreCase("WebKit")&&!goog.labs.userAgent.engine.isEdge()},goog.labs.userAgent.engine.isGecko=function(){return goog.labs.userAgent.util.matchUserAgent("Gecko")&&!goog.labs.userAgent.engine.isWebKit()&&!goog.labs.userAgent.engine.isTrident()&&!goog.labs.userAgent.engine.isEdge()},goog.labs.userAgent.engine.getVersion=function(){var e=goog.labs.userAgent.util.getUserAgent();if(e){e=goog.labs.userAgent.util.extractVersionTuples(e);var t,o=goog.labs.userAgent.engine.getEngineTuple_(e);if(o)return"Gecko"==o[0]?goog.labs.userAgent.engine.getVersionForKey_(e,"Firefox"):o[1];if((e=e[0])&&(t=e[2])&&(t=/Trident\/([^\s;]+)/.exec(t)))return t[1]}return""},goog.labs.userAgent.engine.getEngineTuple_=function(e){if(!goog.labs.userAgent.engine.isEdge())return e[1];for(var t=0;t<e.length;t++){var o=e[t];if("Edge"==o[0])return o}},goog.labs.userAgent.engine.isVersionOrHigher=function(e){return 0<=goog.string.compareVersions(goog.labs.userAgent.engine.getVersion(),e)},goog.labs.userAgent.engine.getVersionForKey_=function(e,t){return(e=goog.array.find(e,(function(e){return t==e[0]})))&&e[1]||""},goog.labs.userAgent.platform={},goog.labs.userAgent.platform.isAndroid=function(){return goog.labs.userAgent.util.matchUserAgent("Android")},goog.labs.userAgent.platform.isIpod=function(){return goog.labs.userAgent.util.matchUserAgent("iPod")},goog.labs.userAgent.platform.isIphone=function(){return goog.labs.userAgent.util.matchUserAgent("iPhone")&&!goog.labs.userAgent.util.matchUserAgent("iPod")&&!goog.labs.userAgent.util.matchUserAgent("iPad")},goog.labs.userAgent.platform.isIpad=function(){return goog.labs.userAgent.util.matchUserAgent("iPad")},goog.labs.userAgent.platform.isIos=function(){return goog.labs.userAgent.platform.isIphone()||goog.labs.userAgent.platform.isIpad()||goog.labs.userAgent.platform.isIpod()},goog.labs.userAgent.platform.isMacintosh=function(){return goog.labs.userAgent.util.matchUserAgent("Macintosh")},goog.labs.userAgent.platform.isLinux=function(){return goog.labs.userAgent.util.matchUserAgent("Linux")},goog.labs.userAgent.platform.isWindows=function(){return goog.labs.userAgent.util.matchUserAgent("Windows")},goog.labs.userAgent.platform.isChromeOS=function(){return goog.labs.userAgent.util.matchUserAgent("CrOS")},goog.labs.userAgent.platform.isChromecast=function(){return goog.labs.userAgent.util.matchUserAgent("CrKey")},goog.labs.userAgent.platform.isKaiOS=function(){return goog.labs.userAgent.util.matchUserAgentIgnoreCase("KaiOS")},goog.labs.userAgent.platform.getVersion=function(){var e=goog.labs.userAgent.util.getUserAgent(),t="";return goog.labs.userAgent.platform.isWindows()?t=(e=(t=/Windows (?:NT|Phone) ([0-9.]+)/).exec(e))?e[1]:"0.0":goog.labs.userAgent.platform.isIos()?t=(e=(t=/(?:iPhone|iPod|iPad|CPU)\s+OS\s+(\S+)/).exec(e))&&e[1].replace(/_/g,"."):goog.labs.userAgent.platform.isMacintosh()?t=(e=(t=/Mac OS X ([0-9_.]+)/).exec(e))?e[1].replace(/_/g,"."):"10":goog.labs.userAgent.platform.isKaiOS()?t=(e=(t=/(?:KaiOS)\/(\S+)/i).exec(e))&&e[1]:goog.labs.userAgent.platform.isAndroid()?t=(e=(t=/Android\s+([^\);]+)(\)|;)/).exec(e))&&e[1]:goog.labs.userAgent.platform.isChromeOS()&&(t=(e=(t=/(?:CrOS\s+(?:i686|x86_64)\s+([0-9.]+))/).exec(e))&&e[1]),t||""},goog.labs.userAgent.platform.isVersionOrHigher=function(e){return 0<=goog.string.compareVersions(goog.labs.userAgent.platform.getVersion(),e)},goog.reflect={},goog.reflect.object=function(e,t){return t},goog.reflect.objectProperty=function(e,t){return e},goog.reflect.sinkValue=function(e){return goog.reflect.sinkValue[" "](e),e},goog.reflect.sinkValue[" "]=goog.nullFunction,goog.reflect.canAccessProperty=function(e,t){try{return goog.reflect.sinkValue(e[t]),!0}catch(e){}return!1},goog.reflect.cache=function(e,t,o,r){return r=r?r(t):t,Object.prototype.hasOwnProperty.call(e,r)?e[r]:e[r]=o(t)},goog.userAgent={},goog.userAgent.ASSUME_IE=!1,goog.userAgent.ASSUME_EDGE=!1,goog.userAgent.ASSUME_GECKO=!1,goog.userAgent.ASSUME_WEBKIT=!1,goog.userAgent.ASSUME_MOBILE_WEBKIT=!1,goog.userAgent.ASSUME_OPERA=!1,goog.userAgent.ASSUME_ANY_VERSION=!1,goog.userAgent.BROWSER_KNOWN_=goog.userAgent.ASSUME_IE||goog.userAgent.ASSUME_EDGE||goog.userAgent.ASSUME_GECKO||goog.userAgent.ASSUME_MOBILE_WEBKIT||goog.userAgent.ASSUME_WEBKIT||goog.userAgent.ASSUME_OPERA,goog.userAgent.getUserAgentString=function(){return goog.labs.userAgent.util.getUserAgent()},goog.userAgent.getNavigatorTyped=function(){return goog.global.navigator||null},goog.userAgent.getNavigator=function(){return goog.userAgent.getNavigatorTyped()},goog.userAgent.OPERA=goog.userAgent.BROWSER_KNOWN_?goog.userAgent.ASSUME_OPERA:goog.labs.userAgent.browser.isOpera(),goog.userAgent.IE=goog.userAgent.BROWSER_KNOWN_?goog.userAgent.ASSUME_IE:goog.labs.userAgent.browser.isIE(),goog.userAgent.EDGE=goog.userAgent.BROWSER_KNOWN_?goog.userAgent.ASSUME_EDGE:goog.labs.userAgent.engine.isEdge(),goog.userAgent.EDGE_OR_IE=goog.userAgent.EDGE||goog.userAgent.IE,goog.userAgent.GECKO=goog.userAgent.BROWSER_KNOWN_?goog.userAgent.ASSUME_GECKO:goog.labs.userAgent.engine.isGecko(),goog.userAgent.WEBKIT=goog.userAgent.BROWSER_KNOWN_?goog.userAgent.ASSUME_WEBKIT||goog.userAgent.ASSUME_MOBILE_WEBKIT:goog.labs.userAgent.engine.isWebKit(),goog.userAgent.isMobile_=function(){return goog.userAgent.WEBKIT&&goog.labs.userAgent.util.matchUserAgent("Mobile")},goog.userAgent.MOBILE=goog.userAgent.ASSUME_MOBILE_WEBKIT||goog.userAgent.isMobile_(),goog.userAgent.SAFARI=goog.userAgent.WEBKIT,goog.userAgent.determinePlatform_=function(){var e=goog.userAgent.getNavigatorTyped();return e&&e.platform||""},goog.userAgent.PLATFORM=goog.userAgent.determinePlatform_(),goog.userAgent.ASSUME_MAC=!1,goog.userAgent.ASSUME_WINDOWS=!1,goog.userAgent.ASSUME_LINUX=!1,goog.userAgent.ASSUME_X11=!1,goog.userAgent.ASSUME_ANDROID=!1,goog.userAgent.ASSUME_IPHONE=!1,goog.userAgent.ASSUME_IPAD=!1,goog.userAgent.ASSUME_IPOD=!1,goog.userAgent.ASSUME_KAIOS=!1,goog.userAgent.PLATFORM_KNOWN_=goog.userAgent.ASSUME_MAC||goog.userAgent.ASSUME_WINDOWS||goog.userAgent.ASSUME_LINUX||goog.userAgent.ASSUME_X11||goog.userAgent.ASSUME_ANDROID||goog.userAgent.ASSUME_IPHONE||goog.userAgent.ASSUME_IPAD||goog.userAgent.ASSUME_IPOD,goog.userAgent.MAC=goog.userAgent.PLATFORM_KNOWN_?goog.userAgent.ASSUME_MAC:goog.labs.userAgent.platform.isMacintosh();goog.userAgent.WINDOWS=goog.userAgent.PLATFORM_KNOWN_?goog.userAgent.ASSUME_WINDOWS:goog.labs.userAgent.platform.isWindows(),goog.userAgent.isLegacyLinux_=function(){return goog.labs.userAgent.platform.isLinux()||goog.labs.userAgent.platform.isChromeOS()},goog.userAgent.LINUX=goog.userAgent.PLATFORM_KNOWN_?goog.userAgent.ASSUME_LINUX:goog.userAgent.isLegacyLinux_(),goog.userAgent.isX11_=function(){var e=goog.userAgent.getNavigatorTyped();return!!e&&goog.string.contains(e.appVersion||"","X11")},goog.userAgent.X11=goog.userAgent.PLATFORM_KNOWN_?goog.userAgent.ASSUME_X11:goog.userAgent.isX11_(),goog.userAgent.ANDROID=goog.userAgent.PLATFORM_KNOWN_?goog.userAgent.ASSUME_ANDROID:goog.labs.userAgent.platform.isAndroid(),goog.userAgent.IPHONE=goog.userAgent.PLATFORM_KNOWN_?goog.userAgent.ASSUME_IPHONE:goog.labs.userAgent.platform.isIphone(),goog.userAgent.IPAD=goog.userAgent.PLATFORM_KNOWN_?goog.userAgent.ASSUME_IPAD:goog.labs.userAgent.platform.isIpad(),goog.userAgent.IPOD=goog.userAgent.PLATFORM_KNOWN_?goog.userAgent.ASSUME_IPOD:goog.labs.userAgent.platform.isIpod(),goog.userAgent.IOS=goog.userAgent.PLATFORM_KNOWN_?goog.userAgent.ASSUME_IPHONE||goog.userAgent.ASSUME_IPAD||goog.userAgent.ASSUME_IPOD:goog.labs.userAgent.platform.isIos(),goog.userAgent.KAIOS=goog.userAgent.PLATFORM_KNOWN_?goog.userAgent.ASSUME_KAIOS:goog.labs.userAgent.platform.isKaiOS(),goog.userAgent.determineVersion_=function(){var e="",t=goog.userAgent.getVersionRegexResult_();return t&&(e=t?t[1]:""),goog.userAgent.IE&&(null!=(t=goog.userAgent.getDocumentMode_())&&t>parseFloat(e))?String(t):e},goog.userAgent.getVersionRegexResult_=function(){var e=goog.userAgent.getUserAgentString();return goog.userAgent.GECKO?/rv:([^\);]+)(\)|;)/.exec(e):goog.userAgent.EDGE?/Edge\/([\d\.]+)/.exec(e):goog.userAgent.IE?/\b(?:MSIE|rv)[: ]([^\);]+)(\)|;)/.exec(e):goog.userAgent.WEBKIT?/WebKit\/(\S+)/.exec(e):goog.userAgent.OPERA?/(?:Version)[ \/]?(\S+)/.exec(e):void 0},goog.userAgent.getDocumentMode_=function(){var e=goog.global.document;return e?e.documentMode:void 0},goog.userAgent.VERSION=goog.userAgent.determineVersion_(),goog.userAgent.compare=function(e,t){return goog.string.compareVersions(e,t)},goog.userAgent.isVersionOrHigherCache_={},goog.userAgent.isVersionOrHigher=function(e){return goog.userAgent.ASSUME_ANY_VERSION||goog.reflect.cache(goog.userAgent.isVersionOrHigherCache_,e,(function(){return 0<=goog.string.compareVersions(goog.userAgent.VERSION,e)}))},goog.userAgent.isVersion=goog.userAgent.isVersionOrHigher,goog.userAgent.isDocumentModeOrHigher=function(e){return Number(goog.userAgent.DOCUMENT_MODE)>=e},goog.userAgent.isDocumentMode=goog.userAgent.isDocumentModeOrHigher,goog.userAgent.DOCUMENT_MODE=function(){if(goog.global.document&&goog.userAgent.IE){var e=goog.userAgent.getDocumentMode_();return e||(parseInt(goog.userAgent.VERSION,10)||void 0)}}(),goog.userAgent.product={},goog.userAgent.product.ASSUME_FIREFOX=!1,goog.userAgent.product.ASSUME_IPHONE=!1,goog.userAgent.product.ASSUME_IPAD=!1,goog.userAgent.product.ASSUME_ANDROID=!1,goog.userAgent.product.ASSUME_CHROME=!1,goog.userAgent.product.ASSUME_SAFARI=!1,goog.userAgent.product.PRODUCT_KNOWN_=goog.userAgent.ASSUME_IE||goog.userAgent.ASSUME_EDGE||goog.userAgent.ASSUME_OPERA||goog.userAgent.product.ASSUME_FIREFOX||goog.userAgent.product.ASSUME_IPHONE||goog.userAgent.product.ASSUME_IPAD||goog.userAgent.product.ASSUME_ANDROID||goog.userAgent.product.ASSUME_CHROME||goog.userAgent.product.ASSUME_SAFARI,goog.userAgent.product.OPERA=goog.userAgent.OPERA,goog.userAgent.product.IE=goog.userAgent.IE,goog.userAgent.product.EDGE=goog.userAgent.EDGE,goog.userAgent.product.FIREFOX=goog.userAgent.product.PRODUCT_KNOWN_?goog.userAgent.product.ASSUME_FIREFOX:goog.labs.userAgent.browser.isFirefox(),goog.userAgent.product.isIphoneOrIpod_=function(){return goog.labs.userAgent.platform.isIphone()||goog.labs.userAgent.platform.isIpod()},goog.userAgent.product.IPHONE=goog.userAgent.product.PRODUCT_KNOWN_?goog.userAgent.product.ASSUME_IPHONE:goog.userAgent.product.isIphoneOrIpod_(),goog.userAgent.product.IPAD=goog.userAgent.product.PRODUCT_KNOWN_?goog.userAgent.product.ASSUME_IPAD:goog.labs.userAgent.platform.isIpad(),goog.userAgent.product.ANDROID=goog.userAgent.product.PRODUCT_KNOWN_?goog.userAgent.product.ASSUME_ANDROID:goog.labs.userAgent.browser.isAndroidBrowser(),goog.userAgent.product.CHROME=goog.userAgent.product.PRODUCT_KNOWN_?goog.userAgent.product.ASSUME_CHROME:goog.labs.userAgent.browser.isChrome(),goog.userAgent.product.isSafariDesktop_=function(){return goog.labs.userAgent.browser.isSafari()&&!goog.labs.userAgent.platform.isIos()},goog.userAgent.product.SAFARI=goog.userAgent.product.PRODUCT_KNOWN_?goog.userAgent.product.ASSUME_SAFARI:goog.userAgent.product.isSafariDesktop_(),goog.crypt.base64={},goog.crypt.base64.DEFAULT_ALPHABET_COMMON_="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789",goog.crypt.base64.ENCODED_VALS=goog.crypt.base64.DEFAULT_ALPHABET_COMMON_+"+/=",goog.crypt.base64.ENCODED_VALS_WEBSAFE=goog.crypt.base64.DEFAULT_ALPHABET_COMMON_+"-_.",goog.crypt.base64.Alphabet={DEFAULT:0,NO_PADDING:1,WEBSAFE:2,WEBSAFE_DOT_PADDING:3,WEBSAFE_NO_PADDING:4},goog.crypt.base64.paddingChars_="=.",goog.crypt.base64.isPadding_=function(e){return goog.string.contains(goog.crypt.base64.paddingChars_,e)},goog.crypt.base64.byteToCharMaps_={},goog.crypt.base64.charToByteMap_=null,goog.crypt.base64.ASSUME_NATIVE_SUPPORT_=goog.userAgent.GECKO||goog.userAgent.WEBKIT&&!goog.userAgent.product.SAFARI||goog.userAgent.OPERA,goog.crypt.base64.HAS_NATIVE_ENCODE_=goog.crypt.base64.ASSUME_NATIVE_SUPPORT_||"function"==typeof goog.global.btoa,goog.crypt.base64.HAS_NATIVE_DECODE_=goog.crypt.base64.ASSUME_NATIVE_SUPPORT_||!goog.userAgent.product.SAFARI&&!goog.userAgent.IE&&"function"==typeof goog.global.atob,goog.crypt.base64.encodeByteArray=function(e,t){goog.asserts.assert(goog.isArrayLike(e),"encodeByteArray takes an array as a parameter"),void 0===t&&(t=goog.crypt.base64.Alphabet.DEFAULT),goog.crypt.base64.init_(),t=goog.crypt.base64.byteToCharMaps_[t];for(var o=[],r=0;r<e.length;r+=3){var s=e[r],i=r+1<e.length,n=i?e[r+1]:0,a=r+2<e.length,p=a?e[r+2]:0,g=s>>2;s=(3&s)<<4|n>>4,n=(15&n)<<2|p>>6,p&=63,a||(p=64,i||(n=64)),o.push(t[g],t[s],t[n]||"",t[p]||"")}return o.join("")},goog.crypt.base64.encodeString=function(e,t){return goog.crypt.base64.HAS_NATIVE_ENCODE_&&!t?goog.global.btoa(e):goog.crypt.base64.encodeByteArray(goog.crypt.stringToByteArray(e),t)},goog.crypt.base64.decodeString=function(e,t){if(goog.crypt.base64.HAS_NATIVE_DECODE_&&!t)return goog.global.atob(e);var o="";return goog.crypt.base64.decodeStringInternal_(e,(function(e){o+=String.fromCharCode(e)})),o},goog.crypt.base64.decodeStringToByteArray=function(e,t){var o=[];return goog.crypt.base64.decodeStringInternal_(e,(function(e){o.push(e)})),o},goog.crypt.base64.decodeStringToUint8Array=function(e){goog.asserts.assert(!goog.userAgent.IE||goog.userAgent.isVersionOrHigher("10"),"Browser does not support typed arrays");var t=e.length,o=3*t/4;o%3?o=Math.floor(o):goog.crypt.base64.isPadding_(e[t-1])&&(o=goog.crypt.base64.isPadding_(e[t-2])?o-2:o-1);var r=new Uint8Array(o),s=0;return goog.crypt.base64.decodeStringInternal_(e,(function(e){r[s++]=e})),r.subarray(0,s)},goog.crypt.base64.decodeStringInternal_=function(e,t){function o(t){for(;r<e.length;){var o=e.charAt(r++),s=goog.crypt.base64.charToByteMap_[o];if(null!=s)return s;if(!goog.string.isEmptyOrWhitespace(o))throw Error("Unknown base64 encoding at char: "+o)}return t}goog.crypt.base64.init_();for(var r=0;;){var s=o(-1),i=o(0),n=o(64),a=o(64);if(64===a&&-1===s)break;t(s<<2|i>>4),64!=n&&(t(i<<4&240|n>>2),64!=a&&t(n<<6&192|a))}},goog.crypt.base64.init_=function(){if(!goog.crypt.base64.charToByteMap_){goog.crypt.base64.charToByteMap_={};for(var e=goog.crypt.base64.DEFAULT_ALPHABET_COMMON_.split(""),t=["+/=","+/","-_=","-_.","-_"],o=0;5>o;o++){var r=e.concat(t[o].split(""));goog.crypt.base64.byteToCharMaps_[o]=r;for(var s=0;s<r.length;s++){var i=r[s],n=goog.crypt.base64.charToByteMap_[i];void 0===n?goog.crypt.base64.charToByteMap_[i]=s:goog.asserts.assert(n===s)}}}},jspb.utils={},jspb.utils.split64Low=0,jspb.utils.split64High=0,jspb.utils.splitUint64=function(e){var t=e>>>0;e=Math.floor((e-t)/jspb.BinaryConstants.TWO_TO_32)>>>0,jspb.utils.split64Low=t,jspb.utils.split64High=e},jspb.utils.splitInt64=function(e){var t=0>e,o=(e=Math.abs(e))>>>0;e=Math.floor((e-o)/jspb.BinaryConstants.TWO_TO_32),e>>>=0,t&&(e=~e>>>0,4294967295<(o=1+(~o>>>0))&&(o=0,4294967295<++e&&(e=0))),jspb.utils.split64Low=o,jspb.utils.split64High=e},jspb.utils.splitZigzag64=function(e){var t=0>e;e=2*Math.abs(e),jspb.utils.splitUint64(e),e=jspb.utils.split64Low;var o=jspb.utils.split64High;t&&(0==e?0==o?o=e=4294967295:(o--,e=4294967295):e--),jspb.utils.split64Low=e,jspb.utils.split64High=o},jspb.utils.splitFloat32=function(e){var t=0>e?1:0;if(0===(e=t?-e:e))0<1/e?(jspb.utils.split64High=0,jspb.utils.split64Low=0):(jspb.utils.split64High=0,jspb.utils.split64Low=2147483648);else if(isNaN(e))jspb.utils.split64High=0,jspb.utils.split64Low=2147483647;else if(e>jspb.BinaryConstants.FLOAT32_MAX)jspb.utils.split64High=0,jspb.utils.split64Low=(t<<31|2139095040)>>>0;else if(e<jspb.BinaryConstants.FLOAT32_MIN)e=Math.round(e/Math.pow(2,-149)),jspb.utils.split64High=0,jspb.utils.split64Low=(t<<31|e)>>>0;else{var o=Math.floor(Math.log(e)/Math.LN2);e*=Math.pow(2,-o),16777216<=(e=Math.round(e*jspb.BinaryConstants.TWO_TO_23))&&++o,jspb.utils.split64High=0,jspb.utils.split64Low=(t<<31|o+127<<23|8388607&e)>>>0}},jspb.utils.splitFloat64=function(e){var t=0>e?1:0;if(0===(e=t?-e:e))jspb.utils.split64High=0<1/e?0:2147483648,jspb.utils.split64Low=0;else if(isNaN(e))jspb.utils.split64High=2147483647,jspb.utils.split64Low=4294967295;else if(e>jspb.BinaryConstants.FLOAT64_MAX)jspb.utils.split64High=(t<<31|2146435072)>>>0,jspb.utils.split64Low=0;else if(e<jspb.BinaryConstants.FLOAT64_MIN){var o=e/Math.pow(2,-1074);e=o/jspb.BinaryConstants.TWO_TO_32,jspb.utils.split64High=(t<<31|e)>>>0,jspb.utils.split64Low=o>>>0}else{var r=0;if(2<=(o=e))for(;2<=o&&1023>r;)r++,o/=2;else for(;1>o&&-1022<r;)o*=2,r--;e=(o=e*Math.pow(2,-r))*jspb.BinaryConstants.TWO_TO_20&1048575,o=o*jspb.BinaryConstants.TWO_TO_52>>>0,jspb.utils.split64High=(t<<31|r+1023<<20|e)>>>0,jspb.utils.split64Low=o}},jspb.utils.splitHash64=function(e){var t=e.charCodeAt(0),o=e.charCodeAt(1),r=e.charCodeAt(2),s=e.charCodeAt(3),i=e.charCodeAt(4),n=e.charCodeAt(5),a=e.charCodeAt(6);e=e.charCodeAt(7),jspb.utils.split64Low=t+(o<<8)+(r<<16)+(s<<24)>>>0,jspb.utils.split64High=i+(n<<8)+(a<<16)+(e<<24)>>>0},jspb.utils.joinUint64=function(e,t){return t*jspb.BinaryConstants.TWO_TO_32+(e>>>0)},jspb.utils.joinInt64=function(e,t){var o=2147483648&t;return o&&(t=~t>>>0,0==(e=1+~e>>>0)&&(t=t+1>>>0)),e=jspb.utils.joinUint64(e,t),o?-e:e},jspb.utils.toZigzag64=function(e,t,o){var r=t>>31;return o(e<<1^r,(t<<1|e>>>31)^r)},jspb.utils.joinZigzag64=function(e,t){return jspb.utils.fromZigzag64(e,t,jspb.utils.joinInt64)},jspb.utils.fromZigzag64=function(e,t,o){var r=-(1&e);return o((e>>>1|t<<31)^r,t>>>1^r)},jspb.utils.joinFloat32=function(e,t){t=2*(e>>31)+1;var o=e>>>23&255;return e&=8388607,255==o?e?NaN:1/0*t:0==o?t*Math.pow(2,-149)*e:t*Math.pow(2,o-150)*(e+Math.pow(2,23))},jspb.utils.joinFloat64=function(e,t){var o=2*(t>>31)+1,r=t>>>20&2047;return e=jspb.BinaryConstants.TWO_TO_32*(1048575&t)+e,2047==r?e?NaN:1/0*o:0==r?o*Math.pow(2,-1074)*e:o*Math.pow(2,r-1075)*(e+jspb.BinaryConstants.TWO_TO_52)},jspb.utils.joinHash64=function(e,t){return String.fromCharCode(e>>>0&255,e>>>8&255,e>>>16&255,e>>>24&255,t>>>0&255,t>>>8&255,t>>>16&255,t>>>24&255)},jspb.utils.DIGITS="0123456789abcdef".split(""),jspb.utils.ZERO_CHAR_CODE_=48,jspb.utils.A_CHAR_CODE_=97,jspb.utils.joinUnsignedDecimalString=function(e,t){function o(e,t){return e=e?String(e):"",t?"0000000".slice(e.length)+e:e}if(2097151>=t)return""+jspb.utils.joinUint64(e,t);var r=(e>>>24|t<<8)>>>0&16777215;return e=(16777215&e)+6777216*r+6710656*(t=t>>16&65535),r+=8147497*t,t*=2,1e7<=e&&(r+=Math.floor(e/1e7),e%=1e7),1e7<=r&&(t+=Math.floor(r/1e7),r%=1e7),o(t,0)+o(r,t)+o(e,1)},jspb.utils.joinSignedDecimalString=function(e,t){var o=2147483648&t;return o&&(t=~t+(0==(e=1+~e>>>0)?1:0)>>>0),e=jspb.utils.joinUnsignedDecimalString(e,t),o?"-"+e:e},jspb.utils.hash64ToDecimalString=function(e,t){jspb.utils.splitHash64(e),e=jspb.utils.split64Low;var o=jspb.utils.split64High;return t?jspb.utils.joinSignedDecimalString(e,o):jspb.utils.joinUnsignedDecimalString(e,o)},jspb.utils.hash64ArrayToDecimalStrings=function(e,t){for(var o=Array(e.length),r=0;r<e.length;r++)o[r]=jspb.utils.hash64ToDecimalString(e[r],t);return o},jspb.utils.decimalStringToHash64=function(e){function t(e,t){for(var o=0;8>o&&(1!==e||0<t);o++)t=e*r[o]+t,r[o]=255&t,t>>>=8}jspb.asserts.assert(0<e.length);var o=!1;"-"===e[0]&&(o=!0,e=e.slice(1));for(var r=[0,0,0,0,0,0,0,0],s=0;s<e.length;s++)t(10,e.charCodeAt(s)-jspb.utils.ZERO_CHAR_CODE_);return o&&(function(){for(var e=0;8>e;e++)r[e]=255&~r[e]}(),t(1,1)),goog.crypt.byteArrayToString(r)},jspb.utils.splitDecimalString=function(e){jspb.utils.splitHash64(jspb.utils.decimalStringToHash64(e))},jspb.utils.toHexDigit_=function(e){return String.fromCharCode(10>e?jspb.utils.ZERO_CHAR_CODE_+e:jspb.utils.A_CHAR_CODE_-10+e)},jspb.utils.fromHexCharCode_=function(e){return e>=jspb.utils.A_CHAR_CODE_?e-jspb.utils.A_CHAR_CODE_+10:e-jspb.utils.ZERO_CHAR_CODE_},jspb.utils.hash64ToHexString=function(e){var t=Array(18);t[0]="0",t[1]="x";for(var o=0;8>o;o++){var r=e.charCodeAt(7-o);t[2*o+2]=jspb.utils.toHexDigit_(r>>4),t[2*o+3]=jspb.utils.toHexDigit_(15&r)}return t.join("")},jspb.utils.hexStringToHash64=function(e){e=e.toLowerCase(),jspb.asserts.assert(18==e.length),jspb.asserts.assert("0"==e[0]),jspb.asserts.assert("x"==e[1]);for(var t="",o=0;8>o;o++){var r=jspb.utils.fromHexCharCode_(e.charCodeAt(2*o+2)),s=jspb.utils.fromHexCharCode_(e.charCodeAt(2*o+3));t=String.fromCharCode(16*r+s)+t}return t},jspb.utils.hash64ToNumber=function(e,t){jspb.utils.splitHash64(e),e=jspb.utils.split64Low;var o=jspb.utils.split64High;return t?jspb.utils.joinInt64(e,o):jspb.utils.joinUint64(e,o)},jspb.utils.numberToHash64=function(e){return jspb.utils.splitInt64(e),jspb.utils.joinHash64(jspb.utils.split64Low,jspb.utils.split64High)},jspb.utils.countVarints=function(e,t,o){for(var r=0,s=t;s<o;s++)r+=e[s]>>7;return o-t-r},jspb.utils.countVarintFields=function(e,t,o,r){var s=0;if(128>(r=8*r+jspb.BinaryConstants.WireType.VARINT))for(;t<o&&e[t++]==r;)for(s++;;){var i=e[t++];if(0==(128&i))break}else for(;t<o;){for(i=r;128<i;){if(e[t]!=(127&i|128))return s;t++,i>>=7}if(e[t++]!=i)break;for(s++;0!=(128&(i=e[t++])););}return s},jspb.utils.countFixedFields_=function(e,t,o,r,s){var i=0;if(128>r)for(;t<o&&e[t++]==r;)i++,t+=s;else for(;t<o;){for(var n=r;128<n;){if(e[t++]!=(127&n|128))return i;n>>=7}if(e[t++]!=n)break;i++,t+=s}return i},jspb.utils.countFixed32Fields=function(e,t,o,r){return jspb.utils.countFixedFields_(e,t,o,8*r+jspb.BinaryConstants.WireType.FIXED32,4)},jspb.utils.countFixed64Fields=function(e,t,o,r){return jspb.utils.countFixedFields_(e,t,o,8*r+jspb.BinaryConstants.WireType.FIXED64,8)},jspb.utils.countDelimitedFields=function(e,t,o,r){var s=0;for(r=8*r+jspb.BinaryConstants.WireType.DELIMITED;t<o;){for(var i=r;128<i;){if(e[t++]!=(127&i|128))return s;i>>=7}if(e[t++]!=i)break;s++;for(var n=0,a=1;n+=(127&(i=e[t++]))*a,a*=128,0!=(128&i););t+=n}return s},jspb.utils.debugBytesToTextFormat=function(e){var t='"';if(e){e=jspb.utils.byteSourceToUint8Array(e);for(var o=0;o<e.length;o++)t+="\\x",16>e[o]&&(t+="0"),t+=e[o].toString(16)}return t+'"'},jspb.utils.debugScalarToTextFormat=function(e){return"string"==typeof e?goog.string.quote(e):e.toString()},jspb.utils.stringToByteArray=function(e){for(var t=new Uint8Array(e.length),o=0;o<e.length;o++){var r=e.charCodeAt(o);if(255<r)throw Error("Conversion error: string contains codepoint outside of byte range");t[o]=r}return t},jspb.utils.byteSourceToUint8Array=function(e){return e.constructor===Uint8Array?e:e.constructor===ArrayBuffer||e.constructor===Array?new Uint8Array(e):e.constructor===String?goog.crypt.base64.decodeStringToUint8Array(e):e instanceof Uint8Array?new Uint8Array(e.buffer,e.byteOffset,e.byteLength):(jspb.asserts.fail("Type not convertible to Uint8Array."),new Uint8Array(0))},jspb.BinaryDecoder=function(e,t,o){this.bytes_=null,this.cursor_=this.end_=this.start_=0,this.error_=!1,e&&this.setBlock(e,t,o)},jspb.BinaryDecoder.instanceCache_=[],jspb.BinaryDecoder.alloc=function(e,t,o){if(jspb.BinaryDecoder.instanceCache_.length){var r=jspb.BinaryDecoder.instanceCache_.pop();return e&&r.setBlock(e,t,o),r}return new jspb.BinaryDecoder(e,t,o)},jspb.BinaryDecoder.prototype.free=function(){this.clear(),100>jspb.BinaryDecoder.instanceCache_.length&&jspb.BinaryDecoder.instanceCache_.push(this)},jspb.BinaryDecoder.prototype.clone=function(){return jspb.BinaryDecoder.alloc(this.bytes_,this.start_,this.end_-this.start_)},jspb.BinaryDecoder.prototype.clear=function(){this.bytes_=null,this.cursor_=this.end_=this.start_=0,this.error_=!1},jspb.BinaryDecoder.prototype.getBuffer=function(){return this.bytes_},jspb.BinaryDecoder.prototype.setBlock=function(e,t,o){this.bytes_=jspb.utils.byteSourceToUint8Array(e),this.start_=void 0!==t?t:0,this.end_=void 0!==o?this.start_+o:this.bytes_.length,this.cursor_=this.start_},jspb.BinaryDecoder.prototype.getEnd=function(){return this.end_},jspb.BinaryDecoder.prototype.setEnd=function(e){this.end_=e},jspb.BinaryDecoder.prototype.reset=function(){this.cursor_=this.start_},jspb.BinaryDecoder.prototype.getCursor=function(){return this.cursor_},jspb.BinaryDecoder.prototype.setCursor=function(e){this.cursor_=e},jspb.BinaryDecoder.prototype.advance=function(e){this.cursor_+=e,jspb.asserts.assert(this.cursor_<=this.end_)},jspb.BinaryDecoder.prototype.atEnd=function(){return this.cursor_==this.end_},jspb.BinaryDecoder.prototype.pastEnd=function(){return this.cursor_>this.end_},jspb.BinaryDecoder.prototype.getError=function(){return this.error_||0>this.cursor_||this.cursor_>this.end_},jspb.BinaryDecoder.prototype.readSplitVarint64=function(e){for(var t=128,o=0,r=0,s=0;4>s&&128<=t;s++)o|=(127&(t=this.bytes_[this.cursor_++]))<<7*s;if(128<=t&&(o|=(127&(t=this.bytes_[this.cursor_++]))<<28,r|=(127&t)>>4),128<=t)for(s=0;5>s&&128<=t;s++)r|=(127&(t=this.bytes_[this.cursor_++]))<<7*s+3;if(128>t)return e(o>>>0,r>>>0);jspb.asserts.fail("Failed to read varint, encoding is invalid."),this.error_=!0},jspb.BinaryDecoder.prototype.readSplitZigzagVarint64=function(e){return this.readSplitVarint64((function(t,o){return jspb.utils.fromZigzag64(t,o,e)}))},jspb.BinaryDecoder.prototype.readSplitFixed64=function(e){var t=this.bytes_,o=this.cursor_;this.cursor_+=8;for(var r=0,s=0,i=o+7;i>=o;i--)r=r<<8|t[i],s=s<<8|t[i+4];return e(r,s)},jspb.BinaryDecoder.prototype.skipVarint=function(){for(;128&this.bytes_[this.cursor_];)this.cursor_++;this.cursor_++},jspb.BinaryDecoder.prototype.unskipVarint=function(e){for(;128<e;)this.cursor_--,e>>>=7;this.cursor_--},jspb.BinaryDecoder.prototype.readUnsignedVarint32=function(){var e=this.bytes_,t=e[this.cursor_+0],o=127&t;return 128>t?(this.cursor_+=1,jspb.asserts.assert(this.cursor_<=this.end_),o):(o|=(127&(t=e[this.cursor_+1]))<<7,128>t?(this.cursor_+=2,jspb.asserts.assert(this.cursor_<=this.end_),o):(o|=(127&(t=e[this.cursor_+2]))<<14,128>t?(this.cursor_+=3,jspb.asserts.assert(this.cursor_<=this.end_),o):(o|=(127&(t=e[this.cursor_+3]))<<21,128>t?(this.cursor_+=4,jspb.asserts.assert(this.cursor_<=this.end_),o):(o|=(15&(t=e[this.cursor_+4]))<<28,128>t?(this.cursor_+=5,jspb.asserts.assert(this.cursor_<=this.end_),o>>>0):(this.cursor_+=5,128<=e[this.cursor_++]&&128<=e[this.cursor_++]&&128<=e[this.cursor_++]&&128<=e[this.cursor_++]&&128<=e[this.cursor_++]&&jspb.asserts.assert(!1),jspb.asserts.assert(this.cursor_<=this.end_),o)))))},jspb.BinaryDecoder.prototype.readSignedVarint32=function(){return~~this.readUnsignedVarint32()},jspb.BinaryDecoder.prototype.readUnsignedVarint32String=function(){return this.readUnsignedVarint32().toString()},jspb.BinaryDecoder.prototype.readSignedVarint32String=function(){return this.readSignedVarint32().toString()},jspb.BinaryDecoder.prototype.readZigzagVarint32=function(){var e=this.readUnsignedVarint32();return e>>>1^-(1&e)},jspb.BinaryDecoder.prototype.readUnsignedVarint64=function(){return this.readSplitVarint64(jspb.utils.joinUint64)},jspb.BinaryDecoder.prototype.readUnsignedVarint64String=function(){return this.readSplitVarint64(jspb.utils.joinUnsignedDecimalString)},jspb.BinaryDecoder.prototype.readSignedVarint64=function(){return this.readSplitVarint64(jspb.utils.joinInt64)},jspb.BinaryDecoder.prototype.readSignedVarint64String=function(){return this.readSplitVarint64(jspb.utils.joinSignedDecimalString)},jspb.BinaryDecoder.prototype.readZigzagVarint64=function(){return this.readSplitVarint64(jspb.utils.joinZigzag64)},jspb.BinaryDecoder.prototype.readZigzagVarintHash64=function(){return this.readSplitZigzagVarint64(jspb.utils.joinHash64)},jspb.BinaryDecoder.prototype.readZigzagVarint64String=function(){return this.readSplitZigzagVarint64(jspb.utils.joinSignedDecimalString)},jspb.BinaryDecoder.prototype.readUint8=function(){var e=this.bytes_[this.cursor_+0];return this.cursor_+=1,jspb.asserts.assert(this.cursor_<=this.end_),e},jspb.BinaryDecoder.prototype.readUint16=function(){var e=this.bytes_[this.cursor_+0],t=this.bytes_[this.cursor_+1];return this.cursor_+=2,jspb.asserts.assert(this.cursor_<=this.end_),e<<0|t<<8},jspb.BinaryDecoder.prototype.readUint32=function(){var e=this.bytes_[this.cursor_+0],t=this.bytes_[this.cursor_+1],o=this.bytes_[this.cursor_+2],r=this.bytes_[this.cursor_+3];return this.cursor_+=4,jspb.asserts.assert(this.cursor_<=this.end_),(e<<0|t<<8|o<<16|r<<24)>>>0},jspb.BinaryDecoder.prototype.readUint64=function(){var e=this.readUint32(),t=this.readUint32();return jspb.utils.joinUint64(e,t)},jspb.BinaryDecoder.prototype.readUint64String=function(){var e=this.readUint32(),t=this.readUint32();return jspb.utils.joinUnsignedDecimalString(e,t)},jspb.BinaryDecoder.prototype.readInt8=function(){var e=this.bytes_[this.cursor_+0];return this.cursor_+=1,jspb.asserts.assert(this.cursor_<=this.end_),e<<24>>24},jspb.BinaryDecoder.prototype.readInt16=function(){var e=this.bytes_[this.cursor_+0],t=this.bytes_[this.cursor_+1];return this.cursor_+=2,jspb.asserts.assert(this.cursor_<=this.end_),(e<<0|t<<8)<<16>>16},jspb.BinaryDecoder.prototype.readInt32=function(){var e=this.bytes_[this.cursor_+0],t=this.bytes_[this.cursor_+1],o=this.bytes_[this.cursor_+2],r=this.bytes_[this.cursor_+3];return this.cursor_+=4,jspb.asserts.assert(this.cursor_<=this.end_),e<<0|t<<8|o<<16|r<<24},jspb.BinaryDecoder.prototype.readInt64=function(){var e=this.readUint32(),t=this.readUint32();return jspb.utils.joinInt64(e,t)},jspb.BinaryDecoder.prototype.readInt64String=function(){var e=this.readUint32(),t=this.readUint32();return jspb.utils.joinSignedDecimalString(e,t)},jspb.BinaryDecoder.prototype.readFloat=function(){var e=this.readUint32();return jspb.utils.joinFloat32(e,0)},jspb.BinaryDecoder.prototype.readDouble=function(){var e=this.readUint32(),t=this.readUint32();return jspb.utils.joinFloat64(e,t)},jspb.BinaryDecoder.prototype.readBool=function(){return!!this.bytes_[this.cursor_++]},jspb.BinaryDecoder.prototype.readEnum=function(){return this.readSignedVarint32()},jspb.BinaryDecoder.prototype.readString=function(e){var t=this.bytes_,o=this.cursor_;e=o+e;for(var r=[],s="";o<e;){var i=t[o++];if(128>i)r.push(i);else{if(192>i)continue;if(224>i){var n=t[o++];r.push((31&i)<<6|63&n)}else if(240>i){n=t[o++];var a=t[o++];r.push((15&i)<<12|(63&n)<<6|63&a)}else if(248>i){i=(7&i)<<18|(63&(n=t[o++]))<<12|(63&(a=t[o++]))<<6|63&t[o++],i-=65536,r.push(55296+(i>>10&1023),56320+(1023&i))}}8192<=r.length&&(s+=String.fromCharCode.apply(null,r),r.length=0)}return s+=goog.crypt.byteArrayToString(r),this.cursor_=o,s},jspb.BinaryDecoder.prototype.readStringWithLength=function(){var e=this.readUnsignedVarint32();return this.readString(e)},jspb.BinaryDecoder.prototype.readBytes=function(e){if(0>e||this.cursor_+e>this.bytes_.length)return this.error_=!0,jspb.asserts.fail("Invalid byte length!"),new Uint8Array(0);var t=this.bytes_.subarray(this.cursor_,this.cursor_+e);return this.cursor_+=e,jspb.asserts.assert(this.cursor_<=this.end_),t},jspb.BinaryDecoder.prototype.readVarintHash64=function(){return this.readSplitVarint64(jspb.utils.joinHash64)},jspb.BinaryDecoder.prototype.readFixedHash64=function(){var e=this.bytes_,t=this.cursor_,o=e[t+0],r=e[t+1],s=e[t+2],i=e[t+3],n=e[t+4],a=e[t+5],p=e[t+6];return e=e[t+7],this.cursor_+=8,String.fromCharCode(o,r,s,i,n,a,p,e)},jspb.BinaryReader=function(e,t,o){this.decoder_=jspb.BinaryDecoder.alloc(e,t,o),this.fieldCursor_=this.decoder_.getCursor(),this.nextField_=jspb.BinaryConstants.INVALID_FIELD_NUMBER,this.nextWireType_=jspb.BinaryConstants.WireType.INVALID,this.error_=!1,this.readCallbacks_=null},jspb.BinaryReader.instanceCache_=[],jspb.BinaryReader.alloc=function(e,t,o){if(jspb.BinaryReader.instanceCache_.length){var r=jspb.BinaryReader.instanceCache_.pop();return e&&r.decoder_.setBlock(e,t,o),r}return new jspb.BinaryReader(e,t,o)},jspb.BinaryReader.prototype.alloc=jspb.BinaryReader.alloc,jspb.BinaryReader.prototype.free=function(){this.decoder_.clear(),this.nextField_=jspb.BinaryConstants.INVALID_FIELD_NUMBER,this.nextWireType_=jspb.BinaryConstants.WireType.INVALID,this.error_=!1,this.readCallbacks_=null,100>jspb.BinaryReader.instanceCache_.length&&jspb.BinaryReader.instanceCache_.push(this)},jspb.BinaryReader.prototype.getFieldCursor=function(){return this.fieldCursor_},jspb.BinaryReader.prototype.getCursor=function(){return this.decoder_.getCursor()},jspb.BinaryReader.prototype.getBuffer=function(){return this.decoder_.getBuffer()},jspb.BinaryReader.prototype.getFieldNumber=function(){return this.nextField_},goog.exportProperty(jspb.BinaryReader.prototype,"getFieldNumber",jspb.BinaryReader.prototype.getFieldNumber),jspb.BinaryReader.prototype.getWireType=function(){return this.nextWireType_},jspb.BinaryReader.prototype.isDelimited=function(){return this.nextWireType_==jspb.BinaryConstants.WireType.DELIMITED},goog.exportProperty(jspb.BinaryReader.prototype,"isDelimited",jspb.BinaryReader.prototype.isDelimited),jspb.BinaryReader.prototype.isEndGroup=function(){return this.nextWireType_==jspb.BinaryConstants.WireType.END_GROUP},goog.exportProperty(jspb.BinaryReader.prototype,"isEndGroup",jspb.BinaryReader.prototype.isEndGroup),jspb.BinaryReader.prototype.getError=function(){return this.error_||this.decoder_.getError()},jspb.BinaryReader.prototype.setBlock=function(e,t,o){this.decoder_.setBlock(e,t,o),this.nextField_=jspb.BinaryConstants.INVALID_FIELD_NUMBER,this.nextWireType_=jspb.BinaryConstants.WireType.INVALID},jspb.BinaryReader.prototype.reset=function(){this.decoder_.reset(),this.nextField_=jspb.BinaryConstants.INVALID_FIELD_NUMBER,this.nextWireType_=jspb.BinaryConstants.WireType.INVALID},jspb.BinaryReader.prototype.advance=function(e){this.decoder_.advance(e)},jspb.BinaryReader.prototype.nextField=function(){if(this.decoder_.atEnd())return!1;if(this.getError())return jspb.asserts.fail("Decoder hit an error"),!1;this.fieldCursor_=this.decoder_.getCursor();var e=this.decoder_.readUnsignedVarint32(),t=e>>>3;return(e&=7)!=jspb.BinaryConstants.WireType.VARINT&&e!=jspb.BinaryConstants.WireType.FIXED32&&e!=jspb.BinaryConstants.WireType.FIXED64&&e!=jspb.BinaryConstants.WireType.DELIMITED&&e!=jspb.BinaryConstants.WireType.START_GROUP&&e!=jspb.BinaryConstants.WireType.END_GROUP?(jspb.asserts.fail("Invalid wire type: %s (at position %s)",e,this.fieldCursor_),this.error_=!0,!1):(this.nextField_=t,this.nextWireType_=e,!0)},goog.exportProperty(jspb.BinaryReader.prototype,"nextField",jspb.BinaryReader.prototype.nextField),jspb.BinaryReader.prototype.unskipHeader=function(){this.decoder_.unskipVarint(this.nextField_<<3|this.nextWireType_)},jspb.BinaryReader.prototype.skipMatchingFields=function(){var e=this.nextField_;for(this.unskipHeader();this.nextField()&&this.getFieldNumber()==e;)this.skipField();this.decoder_.atEnd()||this.unskipHeader()},jspb.BinaryReader.prototype.skipVarintField=function(){this.nextWireType_!=jspb.BinaryConstants.WireType.VARINT?(jspb.asserts.fail("Invalid wire type for skipVarintField"),this.skipField()):this.decoder_.skipVarint()},jspb.BinaryReader.prototype.skipDelimitedField=function(){if(this.nextWireType_!=jspb.BinaryConstants.WireType.DELIMITED)jspb.asserts.fail("Invalid wire type for skipDelimitedField"),this.skipField();else{var e=this.decoder_.readUnsignedVarint32();this.decoder_.advance(e)}},jspb.BinaryReader.prototype.skipFixed32Field=function(){this.nextWireType_!=jspb.BinaryConstants.WireType.FIXED32?(jspb.asserts.fail("Invalid wire type for skipFixed32Field"),this.skipField()):this.decoder_.advance(4)},jspb.BinaryReader.prototype.skipFixed64Field=function(){this.nextWireType_!=jspb.BinaryConstants.WireType.FIXED64?(jspb.asserts.fail("Invalid wire type for skipFixed64Field"),this.skipField()):this.decoder_.advance(8)},jspb.BinaryReader.prototype.skipGroup=function(){for(var e=this.nextField_;;){if(!this.nextField()){jspb.asserts.fail("Unmatched start-group tag: stream EOF"),this.error_=!0;break}if(this.nextWireType_==jspb.BinaryConstants.WireType.END_GROUP){this.nextField_!=e&&(jspb.asserts.fail("Unmatched end-group tag"),this.error_=!0);break}this.skipField()}},jspb.BinaryReader.prototype.skipField=function(){switch(this.nextWireType_){case jspb.BinaryConstants.WireType.VARINT:this.skipVarintField();break;case jspb.BinaryConstants.WireType.FIXED64:this.skipFixed64Field();break;case jspb.BinaryConstants.WireType.DELIMITED:this.skipDelimitedField();break;case jspb.BinaryConstants.WireType.FIXED32:this.skipFixed32Field();break;case jspb.BinaryConstants.WireType.START_GROUP:this.skipGroup();break;default:jspb.asserts.fail("Invalid wire encoding for field.")}},jspb.BinaryReader.prototype.registerReadCallback=function(e,t){null===this.readCallbacks_&&(this.readCallbacks_={}),jspb.asserts.assert(!this.readCallbacks_[e]),this.readCallbacks_[e]=t},jspb.BinaryReader.prototype.runReadCallback=function(e){return jspb.asserts.assert(null!==this.readCallbacks_),e=this.readCallbacks_[e],jspb.asserts.assert(e),e(this)},jspb.BinaryReader.prototype.readAny=function(e){this.nextWireType_=jspb.BinaryConstants.FieldTypeToWireType(e);var t=jspb.BinaryConstants.FieldType;switch(e){case t.DOUBLE:return this.readDouble();case t.FLOAT:return this.readFloat();case t.INT64:return this.readInt64();case t.UINT64:return this.readUint64();case t.INT32:return this.readInt32();case t.FIXED64:return this.readFixed64();case t.FIXED32:return this.readFixed32();case t.BOOL:return this.readBool();case t.STRING:return this.readString();case t.GROUP:jspb.asserts.fail("Group field type not supported in readAny()");case t.MESSAGE:jspb.asserts.fail("Message field type not supported in readAny()");case t.BYTES:return this.readBytes();case t.UINT32:return this.readUint32();case t.ENUM:return this.readEnum();case t.SFIXED32:return this.readSfixed32();case t.SFIXED64:return this.readSfixed64();case t.SINT32:return this.readSint32();case t.SINT64:return this.readSint64();case t.FHASH64:return this.readFixedHash64();case t.VHASH64:return this.readVarintHash64();default:jspb.asserts.fail("Invalid field type in readAny()")}return 0},jspb.BinaryReader.prototype.readMessage=function(e,t){jspb.asserts.assert(this.nextWireType_==jspb.BinaryConstants.WireType.DELIMITED);var o=this.decoder_.getEnd(),r=this.decoder_.readUnsignedVarint32();r=this.decoder_.getCursor()+r,this.decoder_.setEnd(r),t(e,this),this.decoder_.setCursor(r),this.decoder_.setEnd(o)},goog.exportProperty(jspb.BinaryReader.prototype,"readMessage",jspb.BinaryReader.prototype.readMessage),jspb.BinaryReader.prototype.readGroup=function(e,t,o){jspb.asserts.assert(this.nextWireType_==jspb.BinaryConstants.WireType.START_GROUP),jspb.asserts.assert(this.nextField_==e),o(t,this),this.error_||this.nextWireType_==jspb.BinaryConstants.WireType.END_GROUP||(jspb.asserts.fail("Group submessage did not end with an END_GROUP tag"),this.error_=!0)},goog.exportProperty(jspb.BinaryReader.prototype,"readGroup",jspb.BinaryReader.prototype.readGroup),jspb.BinaryReader.prototype.getFieldDecoder=function(){jspb.asserts.assert(this.nextWireType_==jspb.BinaryConstants.WireType.DELIMITED);var e=this.decoder_.readUnsignedVarint32(),t=this.decoder_.getCursor(),o=t+e;return e=jspb.BinaryDecoder.alloc(this.decoder_.getBuffer(),t,e),this.decoder_.setCursor(o),e},jspb.BinaryReader.prototype.readInt32=function(){return jspb.asserts.assert(this.nextWireType_==jspb.BinaryConstants.WireType.VARINT),this.decoder_.readSignedVarint32()},goog.exportProperty(jspb.BinaryReader.prototype,"readInt32",jspb.BinaryReader.prototype.readInt32),jspb.BinaryReader.prototype.readInt32String=function(){return jspb.asserts.assert(this.nextWireType_==jspb.BinaryConstants.WireType.VARINT),this.decoder_.readSignedVarint32String()},jspb.BinaryReader.prototype.readInt64=function(){return jspb.asserts.assert(this.nextWireType_==jspb.BinaryConstants.WireType.VARINT),this.decoder_.readSignedVarint64()},goog.exportProperty(jspb.BinaryReader.prototype,"readInt64",jspb.BinaryReader.prototype.readInt64),jspb.BinaryReader.prototype.readInt64String=function(){return jspb.asserts.assert(this.nextWireType_==jspb.BinaryConstants.WireType.VARINT),this.decoder_.readSignedVarint64String()},jspb.BinaryReader.prototype.readUint32=function(){return jspb.asserts.assert(this.nextWireType_==jspb.BinaryConstants.WireType.VARINT),this.decoder_.readUnsignedVarint32()},goog.exportProperty(jspb.BinaryReader.prototype,"readUint32",jspb.BinaryReader.prototype.readUint32),jspb.BinaryReader.prototype.readUint32String=function(){return jspb.asserts.assert(this.nextWireType_==jspb.BinaryConstants.WireType.VARINT),this.decoder_.readUnsignedVarint32String()},jspb.BinaryReader.prototype.readUint64=function(){return jspb.asserts.assert(this.nextWireType_==jspb.BinaryConstants.WireType.VARINT),this.decoder_.readUnsignedVarint64()},goog.exportProperty(jspb.BinaryReader.prototype,"readUint64",jspb.BinaryReader.prototype.readUint64),jspb.BinaryReader.prototype.readUint64String=function(){return jspb.asserts.assert(this.nextWireType_==jspb.BinaryConstants.WireType.VARINT),this.decoder_.readUnsignedVarint64String()},jspb.BinaryReader.prototype.readSint32=function(){return jspb.asserts.assert(this.nextWireType_==jspb.BinaryConstants.WireType.VARINT),this.decoder_.readZigzagVarint32()},goog.exportProperty(jspb.BinaryReader.prototype,"readSint32",jspb.BinaryReader.prototype.readSint32),jspb.BinaryReader.prototype.readSint64=function(){return jspb.asserts.assert(this.nextWireType_==jspb.BinaryConstants.WireType.VARINT),this.decoder_.readZigzagVarint64()},goog.exportProperty(jspb.BinaryReader.prototype,"readSint64",jspb.BinaryReader.prototype.readSint64),jspb.BinaryReader.prototype.readSint64String=function(){return jspb.asserts.assert(this.nextWireType_==jspb.BinaryConstants.WireType.VARINT),this.decoder_.readZigzagVarint64String()},jspb.BinaryReader.prototype.readFixed32=function(){return jspb.asserts.assert(this.nextWireType_==jspb.BinaryConstants.WireType.FIXED32),this.decoder_.readUint32()},goog.exportProperty(jspb.BinaryReader.prototype,"readFixed32",jspb.BinaryReader.prototype.readFixed32),jspb.BinaryReader.prototype.readFixed64=function(){return jspb.asserts.assert(this.nextWireType_==jspb.BinaryConstants.WireType.FIXED64),this.decoder_.readUint64()},goog.exportProperty(jspb.BinaryReader.prototype,"readFixed64",jspb.BinaryReader.prototype.readFixed64),jspb.BinaryReader.prototype.readFixed64String=function(){return jspb.asserts.assert(this.nextWireType_==jspb.BinaryConstants.WireType.FIXED64),this.decoder_.readUint64String()},jspb.BinaryReader.prototype.readSfixed32=function(){return jspb.asserts.assert(this.nextWireType_==jspb.BinaryConstants.WireType.FIXED32),this.decoder_.readInt32()},goog.exportProperty(jspb.BinaryReader.prototype,"readSfixed32",jspb.BinaryReader.prototype.readSfixed32),jspb.BinaryReader.prototype.readSfixed32String=function(){return jspb.asserts.assert(this.nextWireType_==jspb.BinaryConstants.WireType.FIXED32),this.decoder_.readInt32().toString()},jspb.BinaryReader.prototype.readSfixed64=function(){return jspb.asserts.assert(this.nextWireType_==jspb.BinaryConstants.WireType.FIXED64),this.decoder_.readInt64()},goog.exportProperty(jspb.BinaryReader.prototype,"readSfixed64",jspb.BinaryReader.prototype.readSfixed64),jspb.BinaryReader.prototype.readSfixed64String=function(){return jspb.asserts.assert(this.nextWireType_==jspb.BinaryConstants.WireType.FIXED64),this.decoder_.readInt64String()},jspb.BinaryReader.prototype.readFloat=function(){return jspb.asserts.assert(this.nextWireType_==jspb.BinaryConstants.WireType.FIXED32),this.decoder_.readFloat()},goog.exportProperty(jspb.BinaryReader.prototype,"readFloat",jspb.BinaryReader.prototype.readFloat),jspb.BinaryReader.prototype.readDouble=function(){return jspb.asserts.assert(this.nextWireType_==jspb.BinaryConstants.WireType.FIXED64),this.decoder_.readDouble()},goog.exportProperty(jspb.BinaryReader.prototype,"readDouble",jspb.BinaryReader.prototype.readDouble),jspb.BinaryReader.prototype.readBool=function(){return jspb.asserts.assert(this.nextWireType_==jspb.BinaryConstants.WireType.VARINT),!!this.decoder_.readUnsignedVarint32()},goog.exportProperty(jspb.BinaryReader.prototype,"readBool",jspb.BinaryReader.prototype.readBool),jspb.BinaryReader.prototype.readEnum=function(){return jspb.asserts.assert(this.nextWireType_==jspb.BinaryConstants.WireType.VARINT),this.decoder_.readSignedVarint64()},goog.exportProperty(jspb.BinaryReader.prototype,"readEnum",jspb.BinaryReader.prototype.readEnum),jspb.BinaryReader.prototype.readString=function(){jspb.asserts.assert(this.nextWireType_==jspb.BinaryConstants.WireType.DELIMITED);var e=this.decoder_.readUnsignedVarint32();return this.decoder_.readString(e)},goog.exportProperty(jspb.BinaryReader.prototype,"readString",jspb.BinaryReader.prototype.readString),jspb.BinaryReader.prototype.readBytes=function(){jspb.asserts.assert(this.nextWireType_==jspb.BinaryConstants.WireType.DELIMITED);var e=this.decoder_.readUnsignedVarint32();return this.decoder_.readBytes(e)},goog.exportProperty(jspb.BinaryReader.prototype,"readBytes",jspb.BinaryReader.prototype.readBytes),jspb.BinaryReader.prototype.readVarintHash64=function(){return jspb.asserts.assert(this.nextWireType_==jspb.BinaryConstants.WireType.VARINT),this.decoder_.readVarintHash64()},jspb.BinaryReader.prototype.readSintHash64=function(){return jspb.asserts.assert(this.nextWireType_==jspb.BinaryConstants.WireType.VARINT),this.decoder_.readZigzagVarintHash64()},jspb.BinaryReader.prototype.readSplitVarint64=function(e){return jspb.asserts.assert(this.nextWireType_==jspb.BinaryConstants.WireType.VARINT),this.decoder_.readSplitVarint64(e)},jspb.BinaryReader.prototype.readSplitZigzagVarint64=function(e){return jspb.asserts.assert(this.nextWireType_==jspb.BinaryConstants.WireType.VARINT),this.decoder_.readSplitVarint64((function(t,o){return jspb.utils.fromZigzag64(t,o,e)}))},jspb.BinaryReader.prototype.readFixedHash64=function(){return jspb.asserts.assert(this.nextWireType_==jspb.BinaryConstants.WireType.FIXED64),this.decoder_.readFixedHash64()},jspb.BinaryReader.prototype.readSplitFixed64=function(e){return jspb.asserts.assert(this.nextWireType_==jspb.BinaryConstants.WireType.FIXED64),this.decoder_.readSplitFixed64(e)},jspb.BinaryReader.prototype.readPackedField_=function(e){jspb.asserts.assert(this.nextWireType_==jspb.BinaryConstants.WireType.DELIMITED);var t=this.decoder_.readUnsignedVarint32();t=this.decoder_.getCursor()+t;for(var o=[];this.decoder_.getCursor()<t;)o.push(e.call(this.decoder_));return o},jspb.BinaryReader.prototype.readPackedInt32=function(){return this.readPackedField_(this.decoder_.readSignedVarint32)},goog.exportProperty(jspb.BinaryReader.prototype,"readPackedInt32",jspb.BinaryReader.prototype.readPackedInt32),jspb.BinaryReader.prototype.readPackedInt32String=function(){return this.readPackedField_(this.decoder_.readSignedVarint32String)},jspb.BinaryReader.prototype.readPackedInt64=function(){return this.readPackedField_(this.decoder_.readSignedVarint64)},goog.exportProperty(jspb.BinaryReader.prototype,"readPackedInt64",jspb.BinaryReader.prototype.readPackedInt64),jspb.BinaryReader.prototype.readPackedInt64String=function(){return this.readPackedField_(this.decoder_.readSignedVarint64String)},jspb.BinaryReader.prototype.readPackedUint32=function(){return this.readPackedField_(this.decoder_.readUnsignedVarint32)},goog.exportProperty(jspb.BinaryReader.prototype,"readPackedUint32",jspb.BinaryReader.prototype.readPackedUint32),jspb.BinaryReader.prototype.readPackedUint32String=function(){return this.readPackedField_(this.decoder_.readUnsignedVarint32String)},jspb.BinaryReader.prototype.readPackedUint64=function(){return this.readPackedField_(this.decoder_.readUnsignedVarint64)},goog.exportProperty(jspb.BinaryReader.prototype,"readPackedUint64",jspb.BinaryReader.prototype.readPackedUint64),jspb.BinaryReader.prototype.readPackedUint64String=function(){return this.readPackedField_(this.decoder_.readUnsignedVarint64String)},jspb.BinaryReader.prototype.readPackedSint32=function(){return this.readPackedField_(this.decoder_.readZigzagVarint32)},goog.exportProperty(jspb.BinaryReader.prototype,"readPackedSint32",jspb.BinaryReader.prototype.readPackedSint32),jspb.BinaryReader.prototype.readPackedSint64=function(){return this.readPackedField_(this.decoder_.readZigzagVarint64)},goog.exportProperty(jspb.BinaryReader.prototype,"readPackedSint64",jspb.BinaryReader.prototype.readPackedSint64),jspb.BinaryReader.prototype.readPackedSint64String=function(){return this.readPackedField_(this.decoder_.readZigzagVarint64String)},jspb.BinaryReader.prototype.readPackedFixed32=function(){return this.readPackedField_(this.decoder_.readUint32)},goog.exportProperty(jspb.BinaryReader.prototype,"readPackedFixed32",jspb.BinaryReader.prototype.readPackedFixed32),jspb.BinaryReader.prototype.readPackedFixed64=function(){return this.readPackedField_(this.decoder_.readUint64)},goog.exportProperty(jspb.BinaryReader.prototype,"readPackedFixed64",jspb.BinaryReader.prototype.readPackedFixed64),jspb.BinaryReader.prototype.readPackedFixed64String=function(){return this.readPackedField_(this.decoder_.readUint64String)},jspb.BinaryReader.prototype.readPackedSfixed32=function(){return this.readPackedField_(this.decoder_.readInt32)},goog.exportProperty(jspb.BinaryReader.prototype,"readPackedSfixed32",jspb.BinaryReader.prototype.readPackedSfixed32),jspb.BinaryReader.prototype.readPackedSfixed64=function(){return this.readPackedField_(this.decoder_.readInt64)},goog.exportProperty(jspb.BinaryReader.prototype,"readPackedSfixed64",jspb.BinaryReader.prototype.readPackedSfixed64),jspb.BinaryReader.prototype.readPackedSfixed64String=function(){return this.readPackedField_(this.decoder_.readInt64String)},jspb.BinaryReader.prototype.readPackedFloat=function(){return this.readPackedField_(this.decoder_.readFloat)},goog.exportProperty(jspb.BinaryReader.prototype,"readPackedFloat",jspb.BinaryReader.prototype.readPackedFloat),jspb.BinaryReader.prototype.readPackedDouble=function(){return this.readPackedField_(this.decoder_.readDouble)},goog.exportProperty(jspb.BinaryReader.prototype,"readPackedDouble",jspb.BinaryReader.prototype.readPackedDouble),jspb.BinaryReader.prototype.readPackedBool=function(){return this.readPackedField_(this.decoder_.readBool)},goog.exportProperty(jspb.BinaryReader.prototype,"readPackedBool",jspb.BinaryReader.prototype.readPackedBool),jspb.BinaryReader.prototype.readPackedEnum=function(){return this.readPackedField_(this.decoder_.readEnum)},goog.exportProperty(jspb.BinaryReader.prototype,"readPackedEnum",jspb.BinaryReader.prototype.readPackedEnum),jspb.BinaryReader.prototype.readPackedVarintHash64=function(){return this.readPackedField_(this.decoder_.readVarintHash64)},jspb.BinaryReader.prototype.readPackedFixedHash64=function(){return this.readPackedField_(this.decoder_.readFixedHash64)},jspb.BinaryEncoder=function(){this.buffer_=[]},jspb.BinaryEncoder.prototype.length=function(){return this.buffer_.length},jspb.BinaryEncoder.prototype.end=function(){var e=this.buffer_;return this.buffer_=[],e},jspb.BinaryEncoder.prototype.writeSplitVarint64=function(e,t){for(jspb.asserts.assert(e==Math.floor(e)),jspb.asserts.assert(t==Math.floor(t)),jspb.asserts.assert(0<=e&&e<jspb.BinaryConstants.TWO_TO_32),jspb.asserts.assert(0<=t&&t<jspb.BinaryConstants.TWO_TO_32);0<t||127<e;)this.buffer_.push(127&e|128),e=(e>>>7|t<<25)>>>0,t>>>=7;this.buffer_.push(e)},jspb.BinaryEncoder.prototype.writeSplitFixed64=function(e,t){jspb.asserts.assert(e==Math.floor(e)),jspb.asserts.assert(t==Math.floor(t)),jspb.asserts.assert(0<=e&&e<jspb.BinaryConstants.TWO_TO_32),jspb.asserts.assert(0<=t&&t<jspb.BinaryConstants.TWO_TO_32),this.writeUint32(e),this.writeUint32(t)},jspb.BinaryEncoder.prototype.writeUnsignedVarint32=function(e){for(jspb.asserts.assert(e==Math.floor(e)),jspb.asserts.assert(0<=e&&e<jspb.BinaryConstants.TWO_TO_32);127<e;)this.buffer_.push(127&e|128),e>>>=7;this.buffer_.push(e)},jspb.BinaryEncoder.prototype.writeSignedVarint32=function(e){if(jspb.asserts.assert(e==Math.floor(e)),jspb.asserts.assert(e>=-jspb.BinaryConstants.TWO_TO_31&&e<jspb.BinaryConstants.TWO_TO_31),0<=e)this.writeUnsignedVarint32(e);else{for(var t=0;9>t;t++)this.buffer_.push(127&e|128),e>>=7;this.buffer_.push(1)}},jspb.BinaryEncoder.prototype.writeUnsignedVarint64=function(e){jspb.asserts.assert(e==Math.floor(e)),jspb.asserts.assert(0<=e&&e<jspb.BinaryConstants.TWO_TO_64),jspb.utils.splitInt64(e),this.writeSplitVarint64(jspb.utils.split64Low,jspb.utils.split64High)},jspb.BinaryEncoder.prototype.writeSignedVarint64=function(e){jspb.asserts.assert(e==Math.floor(e)),jspb.asserts.assert(e>=-jspb.BinaryConstants.TWO_TO_63&&e<jspb.BinaryConstants.TWO_TO_63),jspb.utils.splitInt64(e),this.writeSplitVarint64(jspb.utils.split64Low,jspb.utils.split64High)},jspb.BinaryEncoder.prototype.writeZigzagVarint32=function(e){jspb.asserts.assert(e==Math.floor(e)),jspb.asserts.assert(e>=-jspb.BinaryConstants.TWO_TO_31&&e<jspb.BinaryConstants.TWO_TO_31),this.writeUnsignedVarint32((e<<1^e>>31)>>>0)},jspb.BinaryEncoder.prototype.writeZigzagVarint64=function(e){jspb.asserts.assert(e==Math.floor(e)),jspb.asserts.assert(e>=-jspb.BinaryConstants.TWO_TO_63&&e<jspb.BinaryConstants.TWO_TO_63),jspb.utils.splitZigzag64(e),this.writeSplitVarint64(jspb.utils.split64Low,jspb.utils.split64High)},jspb.BinaryEncoder.prototype.writeZigzagVarint64String=function(e){this.writeZigzagVarintHash64(jspb.utils.decimalStringToHash64(e))},jspb.BinaryEncoder.prototype.writeZigzagVarintHash64=function(e){var t=this;jspb.utils.splitHash64(e),jspb.utils.toZigzag64(jspb.utils.split64Low,jspb.utils.split64High,(function(e,o){t.writeSplitVarint64(e>>>0,o>>>0)}))},jspb.BinaryEncoder.prototype.writeUint8=function(e){jspb.asserts.assert(e==Math.floor(e)),jspb.asserts.assert(0<=e&&256>e),this.buffer_.push(e>>>0&255)},jspb.BinaryEncoder.prototype.writeUint16=function(e){jspb.asserts.assert(e==Math.floor(e)),jspb.asserts.assert(0<=e&&65536>e),this.buffer_.push(e>>>0&255),this.buffer_.push(e>>>8&255)},jspb.BinaryEncoder.prototype.writeUint32=function(e){jspb.asserts.assert(e==Math.floor(e)),jspb.asserts.assert(0<=e&&e<jspb.BinaryConstants.TWO_TO_32),this.buffer_.push(e>>>0&255),this.buffer_.push(e>>>8&255),this.buffer_.push(e>>>16&255),this.buffer_.push(e>>>24&255)},jspb.BinaryEncoder.prototype.writeUint64=function(e){jspb.asserts.assert(e==Math.floor(e)),jspb.asserts.assert(0<=e&&e<jspb.BinaryConstants.TWO_TO_64),jspb.utils.splitUint64(e),this.writeUint32(jspb.utils.split64Low),this.writeUint32(jspb.utils.split64High)},jspb.BinaryEncoder.prototype.writeInt8=function(e){jspb.asserts.assert(e==Math.floor(e)),jspb.asserts.assert(-128<=e&&128>e),this.buffer_.push(e>>>0&255)},jspb.BinaryEncoder.prototype.writeInt16=function(e){jspb.asserts.assert(e==Math.floor(e)),jspb.asserts.assert(-32768<=e&&32768>e),this.buffer_.push(e>>>0&255),this.buffer_.push(e>>>8&255)},jspb.BinaryEncoder.prototype.writeInt32=function(e){jspb.asserts.assert(e==Math.floor(e)),jspb.asserts.assert(e>=-jspb.BinaryConstants.TWO_TO_31&&e<jspb.BinaryConstants.TWO_TO_31),this.buffer_.push(e>>>0&255),this.buffer_.push(e>>>8&255),this.buffer_.push(e>>>16&255),this.buffer_.push(e>>>24&255)},jspb.BinaryEncoder.prototype.writeInt64=function(e){jspb.asserts.assert(e==Math.floor(e)),jspb.asserts.assert(e>=-jspb.BinaryConstants.TWO_TO_63&&e<jspb.BinaryConstants.TWO_TO_63),jspb.utils.splitInt64(e),this.writeSplitFixed64(jspb.utils.split64Low,jspb.utils.split64High)},jspb.BinaryEncoder.prototype.writeInt64String=function(e){jspb.asserts.assert(e==Math.floor(e)),jspb.asserts.assert(+e>=-jspb.BinaryConstants.TWO_TO_63&&+e<jspb.BinaryConstants.TWO_TO_63),jspb.utils.splitHash64(jspb.utils.decimalStringToHash64(e)),this.writeSplitFixed64(jspb.utils.split64Low,jspb.utils.split64High)},jspb.BinaryEncoder.prototype.writeFloat=function(e){jspb.asserts.assert(1/0===e||-1/0===e||isNaN(e)||e>=-jspb.BinaryConstants.FLOAT32_MAX&&e<=jspb.BinaryConstants.FLOAT32_MAX),jspb.utils.splitFloat32(e),this.writeUint32(jspb.utils.split64Low)},jspb.BinaryEncoder.prototype.writeDouble=function(e){jspb.asserts.assert(1/0===e||-1/0===e||isNaN(e)||e>=-jspb.BinaryConstants.FLOAT64_MAX&&e<=jspb.BinaryConstants.FLOAT64_MAX),jspb.utils.splitFloat64(e),this.writeUint32(jspb.utils.split64Low),this.writeUint32(jspb.utils.split64High)},jspb.BinaryEncoder.prototype.writeBool=function(e){jspb.asserts.assert("boolean"==typeof e||"number"==typeof e),this.buffer_.push(e?1:0)},jspb.BinaryEncoder.prototype.writeEnum=function(e){jspb.asserts.assert(e==Math.floor(e)),jspb.asserts.assert(e>=-jspb.BinaryConstants.TWO_TO_31&&e<jspb.BinaryConstants.TWO_TO_31),this.writeSignedVarint32(e)},jspb.BinaryEncoder.prototype.writeBytes=function(e){this.buffer_.push.apply(this.buffer_,e)},jspb.BinaryEncoder.prototype.writeVarintHash64=function(e){jspb.utils.splitHash64(e),this.writeSplitVarint64(jspb.utils.split64Low,jspb.utils.split64High)},jspb.BinaryEncoder.prototype.writeFixedHash64=function(e){jspb.utils.splitHash64(e),this.writeUint32(jspb.utils.split64Low),this.writeUint32(jspb.utils.split64High)},jspb.BinaryEncoder.prototype.writeString=function(e){var t=this.buffer_.length;jspb.asserts.assertString(e);for(var o=0;o<e.length;o++){var r=e.charCodeAt(o);if(128>r)this.buffer_.push(r);else if(2048>r)this.buffer_.push(r>>6|192),this.buffer_.push(63&r|128);else if(65536>r)if(55296<=r&&56319>=r&&o+1<e.length){var s=e.charCodeAt(o+1);56320<=s&&57343>=s&&(r=1024*(r-55296)+s-56320+65536,this.buffer_.push(r>>18|240),this.buffer_.push(r>>12&63|128),this.buffer_.push(r>>6&63|128),this.buffer_.push(63&r|128),o++)}else this.buffer_.push(r>>12|224),this.buffer_.push(r>>6&63|128),this.buffer_.push(63&r|128)}return this.buffer_.length-t},jspb.arith={},jspb.arith.UInt64=function(e,t){this.lo=e,this.hi=t},jspb.arith.UInt64.prototype.cmp=function(e){return this.hi<e.hi||this.hi==e.hi&&this.lo<e.lo?-1:this.hi==e.hi&&this.lo==e.lo?0:1},jspb.arith.UInt64.prototype.rightShift=function(){return new jspb.arith.UInt64((this.lo>>>1|(1&this.hi)<<31)>>>0,this.hi>>>1>>>0)},jspb.arith.UInt64.prototype.leftShift=function(){return new jspb.arith.UInt64(this.lo<<1>>>0,(this.hi<<1|this.lo>>>31)>>>0)},jspb.arith.UInt64.prototype.msb=function(){return!!(2147483648&this.hi)},jspb.arith.UInt64.prototype.lsb=function(){return!!(1&this.lo)},jspb.arith.UInt64.prototype.zero=function(){return 0==this.lo&&0==this.hi},jspb.arith.UInt64.prototype.add=function(e){return new jspb.arith.UInt64((this.lo+e.lo&4294967295)>>>0>>>0,((this.hi+e.hi&4294967295)>>>0)+(4294967296<=this.lo+e.lo?1:0)>>>0)},jspb.arith.UInt64.prototype.sub=function(e){return new jspb.arith.UInt64((this.lo-e.lo&4294967295)>>>0>>>0,((this.hi-e.hi&4294967295)>>>0)-(0>this.lo-e.lo?1:0)>>>0)},jspb.arith.UInt64.mul32x32=function(e,t){var o=65535&e,r=65535&t,s=t>>>16;for(t=o*r+65536*(o*s&65535)+65536*((e>>>=16)*r&65535),o=e*s+(o*s>>>16)+(e*r>>>16);4294967296<=t;)t-=4294967296,o+=1;return new jspb.arith.UInt64(t>>>0,o>>>0)},jspb.arith.UInt64.prototype.mul=function(e){var t=jspb.arith.UInt64.mul32x32(this.lo,e);return(e=jspb.arith.UInt64.mul32x32(this.hi,e)).hi=e.lo,e.lo=0,t.add(e)},jspb.arith.UInt64.prototype.div=function(e){if(0==e)return[];var t=new jspb.arith.UInt64(0,0),o=new jspb.arith.UInt64(this.lo,this.hi);e=new jspb.arith.UInt64(e,0);for(var r=new jspb.arith.UInt64(1,0);!e.msb();)e=e.leftShift(),r=r.leftShift();for(;!r.zero();)0>=e.cmp(o)&&(t=t.add(r),o=o.sub(e)),e=e.rightShift(),r=r.rightShift();return[t,o]},jspb.arith.UInt64.prototype.toString=function(){for(var e="",t=this;!t.zero();){var o=(t=t.div(10))[0];e=t[1].lo+e,t=o}return""==e&&(e="0"),e},jspb.arith.UInt64.fromString=function(e){for(var t=new jspb.arith.UInt64(0,0),o=new jspb.arith.UInt64(0,0),r=0;r<e.length;r++){if("0">e[r]||"9"<e[r])return null;var s=parseInt(e[r],10);o.lo=s,t=t.mul(10).add(o)}return t},jspb.arith.UInt64.prototype.clone=function(){return new jspb.arith.UInt64(this.lo,this.hi)},jspb.arith.Int64=function(e,t){this.lo=e,this.hi=t},jspb.arith.Int64.prototype.add=function(e){return new jspb.arith.Int64((this.lo+e.lo&4294967295)>>>0>>>0,((this.hi+e.hi&4294967295)>>>0)+(4294967296<=this.lo+e.lo?1:0)>>>0)},jspb.arith.Int64.prototype.sub=function(e){return new jspb.arith.Int64((this.lo-e.lo&4294967295)>>>0>>>0,((this.hi-e.hi&4294967295)>>>0)-(0>this.lo-e.lo?1:0)>>>0)},jspb.arith.Int64.prototype.clone=function(){return new jspb.arith.Int64(this.lo,this.hi)},jspb.arith.Int64.prototype.toString=function(){var e=0!=(2147483648&this.hi),t=new jspb.arith.UInt64(this.lo,this.hi);return e&&(t=new jspb.arith.UInt64(0,0).sub(t)),(e?"-":"")+t.toString()},jspb.arith.Int64.fromString=function(e){var t=0<e.length&&"-"==e[0];return t&&(e=e.substring(1)),null===(e=jspb.arith.UInt64.fromString(e))?null:(t&&(e=new jspb.arith.UInt64(0,0).sub(e)),new jspb.arith.Int64(e.lo,e.hi))},jspb.BinaryWriter=function(){this.blocks_=[],this.totalLength_=0,this.encoder_=new jspb.BinaryEncoder,this.bookmarks_=[]},jspb.BinaryWriter.prototype.appendUint8Array_=function(e){var t=this.encoder_.end();this.blocks_.push(t),this.blocks_.push(e),this.totalLength_+=t.length+e.length},jspb.BinaryWriter.prototype.beginDelimited_=function(e){return this.writeFieldHeader_(e,jspb.BinaryConstants.WireType.DELIMITED),e=this.encoder_.end(),this.blocks_.push(e),this.totalLength_+=e.length,e.push(this.totalLength_),e},jspb.BinaryWriter.prototype.endDelimited_=function(e){var t=e.pop();for(t=this.totalLength_+this.encoder_.length()-t,jspb.asserts.assert(0<=t);127<t;)e.push(127&t|128),t>>>=7,this.totalLength_++;e.push(t),this.totalLength_++},jspb.BinaryWriter.prototype.writeSerializedMessage=function(e,t,o){this.appendUint8Array_(e.subarray(t,o))},jspb.BinaryWriter.prototype.maybeWriteSerializedMessage=function(e,t,o){null!=e&&null!=t&&null!=o&&this.writeSerializedMessage(e,t,o)},jspb.BinaryWriter.prototype.reset=function(){this.blocks_=[],this.encoder_.end(),this.totalLength_=0,this.bookmarks_=[]},jspb.BinaryWriter.prototype.getResultBuffer=function(){jspb.asserts.assert(0==this.bookmarks_.length);for(var e=new Uint8Array(this.totalLength_+this.encoder_.length()),t=this.blocks_,o=t.length,r=0,s=0;s<o;s++){var i=t[s];e.set(i,r),r+=i.length}return t=this.encoder_.end(),e.set(t,r),r+=t.length,jspb.asserts.assert(r==e.length),this.blocks_=[e],e},goog.exportProperty(jspb.BinaryWriter.prototype,"getResultBuffer",jspb.BinaryWriter.prototype.getResultBuffer),jspb.BinaryWriter.prototype.getResultBase64String=function(e){return goog.crypt.base64.encodeByteArray(this.getResultBuffer(),e)},jspb.BinaryWriter.prototype.beginSubMessage=function(e){this.bookmarks_.push(this.beginDelimited_(e))},jspb.BinaryWriter.prototype.endSubMessage=function(){jspb.asserts.assert(0<=this.bookmarks_.length),this.endDelimited_(this.bookmarks_.pop())},jspb.BinaryWriter.prototype.writeFieldHeader_=function(e,t){jspb.asserts.assert(1<=e&&e==Math.floor(e)),this.encoder_.writeUnsignedVarint32(8*e+t)},jspb.BinaryWriter.prototype.writeAny=function(e,t,o){var r=jspb.BinaryConstants.FieldType;switch(e){case r.DOUBLE:this.writeDouble(t,o);break;case r.FLOAT:this.writeFloat(t,o);break;case r.INT64:this.writeInt64(t,o);break;case r.UINT64:this.writeUint64(t,o);break;case r.INT32:this.writeInt32(t,o);break;case r.FIXED64:this.writeFixed64(t,o);break;case r.FIXED32:this.writeFixed32(t,o);break;case r.BOOL:this.writeBool(t,o);break;case r.STRING:this.writeString(t,o);break;case r.GROUP:jspb.asserts.fail("Group field type not supported in writeAny()");break;case r.MESSAGE:jspb.asserts.fail("Message field type not supported in writeAny()");break;case r.BYTES:this.writeBytes(t,o);break;case r.UINT32:this.writeUint32(t,o);break;case r.ENUM:this.writeEnum(t,o);break;case r.SFIXED32:this.writeSfixed32(t,o);break;case r.SFIXED64:this.writeSfixed64(t,o);break;case r.SINT32:this.writeSint32(t,o);break;case r.SINT64:this.writeSint64(t,o);break;case r.FHASH64:this.writeFixedHash64(t,o);break;case r.VHASH64:this.writeVarintHash64(t,o);break;default:jspb.asserts.fail("Invalid field type in writeAny()")}},jspb.BinaryWriter.prototype.writeUnsignedVarint32_=function(e,t){null!=t&&(this.writeFieldHeader_(e,jspb.BinaryConstants.WireType.VARINT),this.encoder_.writeUnsignedVarint32(t))},jspb.BinaryWriter.prototype.writeSignedVarint32_=function(e,t){null!=t&&(this.writeFieldHeader_(e,jspb.BinaryConstants.WireType.VARINT),this.encoder_.writeSignedVarint32(t))},jspb.BinaryWriter.prototype.writeUnsignedVarint64_=function(e,t){null!=t&&(this.writeFieldHeader_(e,jspb.BinaryConstants.WireType.VARINT),this.encoder_.writeUnsignedVarint64(t))},jspb.BinaryWriter.prototype.writeSignedVarint64_=function(e,t){null!=t&&(this.writeFieldHeader_(e,jspb.BinaryConstants.WireType.VARINT),this.encoder_.writeSignedVarint64(t))},jspb.BinaryWriter.prototype.writeZigzagVarint32_=function(e,t){null!=t&&(this.writeFieldHeader_(e,jspb.BinaryConstants.WireType.VARINT),this.encoder_.writeZigzagVarint32(t))},jspb.BinaryWriter.prototype.writeZigzagVarint64_=function(e,t){null!=t&&(this.writeFieldHeader_(e,jspb.BinaryConstants.WireType.VARINT),this.encoder_.writeZigzagVarint64(t))},jspb.BinaryWriter.prototype.writeZigzagVarint64String_=function(e,t){null!=t&&(this.writeFieldHeader_(e,jspb.BinaryConstants.WireType.VARINT),this.encoder_.writeZigzagVarint64String(t))},jspb.BinaryWriter.prototype.writeZigzagVarintHash64_=function(e,t){null!=t&&(this.writeFieldHeader_(e,jspb.BinaryConstants.WireType.VARINT),this.encoder_.writeZigzagVarintHash64(t))},jspb.BinaryWriter.prototype.writeInt32=function(e,t){null!=t&&(jspb.asserts.assert(t>=-jspb.BinaryConstants.TWO_TO_31&&t<jspb.BinaryConstants.TWO_TO_31),this.writeSignedVarint32_(e,t))},goog.exportProperty(jspb.BinaryWriter.prototype,"writeInt32",jspb.BinaryWriter.prototype.writeInt32),jspb.BinaryWriter.prototype.writeInt32String=function(e,t){null!=t&&(t=parseInt(t,10),jspb.asserts.assert(t>=-jspb.BinaryConstants.TWO_TO_31&&t<jspb.BinaryConstants.TWO_TO_31),this.writeSignedVarint32_(e,t))},jspb.BinaryWriter.prototype.writeInt64=function(e,t){null!=t&&(jspb.asserts.assert(t>=-jspb.BinaryConstants.TWO_TO_63&&t<jspb.BinaryConstants.TWO_TO_63),this.writeSignedVarint64_(e,t))},goog.exportProperty(jspb.BinaryWriter.prototype,"writeInt64",jspb.BinaryWriter.prototype.writeInt64),jspb.BinaryWriter.prototype.writeInt64String=function(e,t){null!=t&&(t=jspb.arith.Int64.fromString(t),this.writeFieldHeader_(e,jspb.BinaryConstants.WireType.VARINT),this.encoder_.writeSplitVarint64(t.lo,t.hi))},jspb.BinaryWriter.prototype.writeUint32=function(e,t){null!=t&&(jspb.asserts.assert(0<=t&&t<jspb.BinaryConstants.TWO_TO_32),this.writeUnsignedVarint32_(e,t))},goog.exportProperty(jspb.BinaryWriter.prototype,"writeUint32",jspb.BinaryWriter.prototype.writeUint32),jspb.BinaryWriter.prototype.writeUint32String=function(e,t){null!=t&&(t=parseInt(t,10),jspb.asserts.assert(0<=t&&t<jspb.BinaryConstants.TWO_TO_32),this.writeUnsignedVarint32_(e,t))},jspb.BinaryWriter.prototype.writeUint64=function(e,t){null!=t&&(jspb.asserts.assert(0<=t&&t<jspb.BinaryConstants.TWO_TO_64),this.writeUnsignedVarint64_(e,t))},goog.exportProperty(jspb.BinaryWriter.prototype,"writeUint64",jspb.BinaryWriter.prototype.writeUint64),jspb.BinaryWriter.prototype.writeUint64String=function(e,t){null!=t&&(t=jspb.arith.UInt64.fromString(t),this.writeFieldHeader_(e,jspb.BinaryConstants.WireType.VARINT),this.encoder_.writeSplitVarint64(t.lo,t.hi))},jspb.BinaryWriter.prototype.writeSint32=function(e,t){null!=t&&(jspb.asserts.assert(t>=-jspb.BinaryConstants.TWO_TO_31&&t<jspb.BinaryConstants.TWO_TO_31),this.writeZigzagVarint32_(e,t))},goog.exportProperty(jspb.BinaryWriter.prototype,"writeSint32",jspb.BinaryWriter.prototype.writeSint32),jspb.BinaryWriter.prototype.writeSint64=function(e,t){null!=t&&(jspb.asserts.assert(t>=-jspb.BinaryConstants.TWO_TO_63&&t<jspb.BinaryConstants.TWO_TO_63),this.writeZigzagVarint64_(e,t))},goog.exportProperty(jspb.BinaryWriter.prototype,"writeSint64",jspb.BinaryWriter.prototype.writeSint64),jspb.BinaryWriter.prototype.writeSintHash64=function(e,t){null!=t&&this.writeZigzagVarintHash64_(e,t)},jspb.BinaryWriter.prototype.writeSint64String=function(e,t){null!=t&&this.writeZigzagVarint64String_(e,t)},jspb.BinaryWriter.prototype.writeFixed32=function(e,t){null!=t&&(jspb.asserts.assert(0<=t&&t<jspb.BinaryConstants.TWO_TO_32),this.writeFieldHeader_(e,jspb.BinaryConstants.WireType.FIXED32),this.encoder_.writeUint32(t))},goog.exportProperty(jspb.BinaryWriter.prototype,"writeFixed32",jspb.BinaryWriter.prototype.writeFixed32),jspb.BinaryWriter.prototype.writeFixed64=function(e,t){null!=t&&(jspb.asserts.assert(0<=t&&t<jspb.BinaryConstants.TWO_TO_64),this.writeFieldHeader_(e,jspb.BinaryConstants.WireType.FIXED64),this.encoder_.writeUint64(t))},goog.exportProperty(jspb.BinaryWriter.prototype,"writeFixed64",jspb.BinaryWriter.prototype.writeFixed64),jspb.BinaryWriter.prototype.writeFixed64String=function(e,t){null!=t&&(t=jspb.arith.UInt64.fromString(t),this.writeFieldHeader_(e,jspb.BinaryConstants.WireType.FIXED64),this.encoder_.writeSplitFixed64(t.lo,t.hi))},jspb.BinaryWriter.prototype.writeSfixed32=function(e,t){null!=t&&(jspb.asserts.assert(t>=-jspb.BinaryConstants.TWO_TO_31&&t<jspb.BinaryConstants.TWO_TO_31),this.writeFieldHeader_(e,jspb.BinaryConstants.WireType.FIXED32),this.encoder_.writeInt32(t))},goog.exportProperty(jspb.BinaryWriter.prototype,"writeSfixed32",jspb.BinaryWriter.prototype.writeSfixed32),jspb.BinaryWriter.prototype.writeSfixed64=function(e,t){null!=t&&(jspb.asserts.assert(t>=-jspb.BinaryConstants.TWO_TO_63&&t<jspb.BinaryConstants.TWO_TO_63),this.writeFieldHeader_(e,jspb.BinaryConstants.WireType.FIXED64),this.encoder_.writeInt64(t))},goog.exportProperty(jspb.BinaryWriter.prototype,"writeSfixed64",jspb.BinaryWriter.prototype.writeSfixed64),jspb.BinaryWriter.prototype.writeSfixed64String=function(e,t){null!=t&&(t=jspb.arith.Int64.fromString(t),this.writeFieldHeader_(e,jspb.BinaryConstants.WireType.FIXED64),this.encoder_.writeSplitFixed64(t.lo,t.hi))},jspb.BinaryWriter.prototype.writeFloat=function(e,t){null!=t&&(this.writeFieldHeader_(e,jspb.BinaryConstants.WireType.FIXED32),this.encoder_.writeFloat(t))},goog.exportProperty(jspb.BinaryWriter.prototype,"writeFloat",jspb.BinaryWriter.prototype.writeFloat),jspb.BinaryWriter.prototype.writeDouble=function(e,t){null!=t&&(this.writeFieldHeader_(e,jspb.BinaryConstants.WireType.FIXED64),this.encoder_.writeDouble(t))},goog.exportProperty(jspb.BinaryWriter.prototype,"writeDouble",jspb.BinaryWriter.prototype.writeDouble),jspb.BinaryWriter.prototype.writeBool=function(e,t){null!=t&&(jspb.asserts.assert("boolean"==typeof t||"number"==typeof t),this.writeFieldHeader_(e,jspb.BinaryConstants.WireType.VARINT),this.encoder_.writeBool(t))},goog.exportProperty(jspb.BinaryWriter.prototype,"writeBool",jspb.BinaryWriter.prototype.writeBool),jspb.BinaryWriter.prototype.writeEnum=function(e,t){null!=t&&(jspb.asserts.assert(t>=-jspb.BinaryConstants.TWO_TO_31&&t<jspb.BinaryConstants.TWO_TO_31),this.writeFieldHeader_(e,jspb.BinaryConstants.WireType.VARINT),this.encoder_.writeSignedVarint32(t))},goog.exportProperty(jspb.BinaryWriter.prototype,"writeEnum",jspb.BinaryWriter.prototype.writeEnum),jspb.BinaryWriter.prototype.writeString=function(e,t){null!=t&&(e=this.beginDelimited_(e),this.encoder_.writeString(t),this.endDelimited_(e))},goog.exportProperty(jspb.BinaryWriter.prototype,"writeString",jspb.BinaryWriter.prototype.writeString),jspb.BinaryWriter.prototype.writeBytes=function(e,t){null!=t&&(t=jspb.utils.byteSourceToUint8Array(t),this.writeFieldHeader_(e,jspb.BinaryConstants.WireType.DELIMITED),this.encoder_.writeUnsignedVarint32(t.length),this.appendUint8Array_(t))},goog.exportProperty(jspb.BinaryWriter.prototype,"writeBytes",jspb.BinaryWriter.prototype.writeBytes),jspb.BinaryWriter.prototype.writeMessage=function(e,t,o){null!=t&&(e=this.beginDelimited_(e),o(t,this),this.endDelimited_(e))},goog.exportProperty(jspb.BinaryWriter.prototype,"writeMessage",jspb.BinaryWriter.prototype.writeMessage),jspb.BinaryWriter.prototype.writeMessageSet=function(e,t,o){null!=t&&(this.writeFieldHeader_(1,jspb.BinaryConstants.WireType.START_GROUP),this.writeFieldHeader_(2,jspb.BinaryConstants.WireType.VARINT),this.encoder_.writeSignedVarint32(e),e=this.beginDelimited_(3),o(t,this),this.endDelimited_(e),this.writeFieldHeader_(1,jspb.BinaryConstants.WireType.END_GROUP))},jspb.BinaryWriter.prototype.writeGroup=function(e,t,o){null!=t&&(this.writeFieldHeader_(e,jspb.BinaryConstants.WireType.START_GROUP),o(t,this),this.writeFieldHeader_(e,jspb.BinaryConstants.WireType.END_GROUP))},goog.exportProperty(jspb.BinaryWriter.prototype,"writeGroup",jspb.BinaryWriter.prototype.writeGroup),jspb.BinaryWriter.prototype.writeFixedHash64=function(e,t){null!=t&&(jspb.asserts.assert(8==t.length),this.writeFieldHeader_(e,jspb.BinaryConstants.WireType.FIXED64),this.encoder_.writeFixedHash64(t))},jspb.BinaryWriter.prototype.writeVarintHash64=function(e,t){null!=t&&(jspb.asserts.assert(8==t.length),this.writeFieldHeader_(e,jspb.BinaryConstants.WireType.VARINT),this.encoder_.writeVarintHash64(t))},jspb.BinaryWriter.prototype.writeSplitFixed64=function(e,t,o){this.writeFieldHeader_(e,jspb.BinaryConstants.WireType.FIXED64),this.encoder_.writeSplitFixed64(t,o)},jspb.BinaryWriter.prototype.writeSplitVarint64=function(e,t,o){this.writeFieldHeader_(e,jspb.BinaryConstants.WireType.VARINT),this.encoder_.writeSplitVarint64(t,o)},jspb.BinaryWriter.prototype.writeSplitZigzagVarint64=function(e,t,o){this.writeFieldHeader_(e,jspb.BinaryConstants.WireType.VARINT);var r=this.encoder_;jspb.utils.toZigzag64(t,o,(function(e,t){r.writeSplitVarint64(e>>>0,t>>>0)}))},jspb.BinaryWriter.prototype.writeRepeatedInt32=function(e,t){if(null!=t)for(var o=0;o<t.length;o++)this.writeSignedVarint32_(e,t[o])},goog.exportProperty(jspb.BinaryWriter.prototype,"writeRepeatedInt32",jspb.BinaryWriter.prototype.writeRepeatedInt32),jspb.BinaryWriter.prototype.writeRepeatedInt32String=function(e,t){if(null!=t)for(var o=0;o<t.length;o++)this.writeInt32String(e,t[o])},jspb.BinaryWriter.prototype.writeRepeatedInt64=function(e,t){if(null!=t)for(var o=0;o<t.length;o++)this.writeSignedVarint64_(e,t[o])},goog.exportProperty(jspb.BinaryWriter.prototype,"writeRepeatedInt64",jspb.BinaryWriter.prototype.writeRepeatedInt64),jspb.BinaryWriter.prototype.writeRepeatedSplitFixed64=function(e,t,o,r){if(null!=t)for(var s=0;s<t.length;s++)this.writeSplitFixed64(e,o(t[s]),r(t[s]))},jspb.BinaryWriter.prototype.writeRepeatedSplitVarint64=function(e,t,o,r){if(null!=t)for(var s=0;s<t.length;s++)this.writeSplitVarint64(e,o(t[s]),r(t[s]))},jspb.BinaryWriter.prototype.writeRepeatedSplitZigzagVarint64=function(e,t,o,r){if(null!=t)for(var s=0;s<t.length;s++)this.writeSplitZigzagVarint64(e,o(t[s]),r(t[s]))},jspb.BinaryWriter.prototype.writeRepeatedInt64String=function(e,t){if(null!=t)for(var o=0;o<t.length;o++)this.writeInt64String(e,t[o])},jspb.BinaryWriter.prototype.writeRepeatedUint32=function(e,t){if(null!=t)for(var o=0;o<t.length;o++)this.writeUnsignedVarint32_(e,t[o])},goog.exportProperty(jspb.BinaryWriter.prototype,"writeRepeatedUint32",jspb.BinaryWriter.prototype.writeRepeatedUint32),jspb.BinaryWriter.prototype.writeRepeatedUint32String=function(e,t){if(null!=t)for(var o=0;o<t.length;o++)this.writeUint32String(e,t[o])},jspb.BinaryWriter.prototype.writeRepeatedUint64=function(e,t){if(null!=t)for(var o=0;o<t.length;o++)this.writeUnsignedVarint64_(e,t[o])},goog.exportProperty(jspb.BinaryWriter.prototype,"writeRepeatedUint64",jspb.BinaryWriter.prototype.writeRepeatedUint64),jspb.BinaryWriter.prototype.writeRepeatedUint64String=function(e,t){if(null!=t)for(var o=0;o<t.length;o++)this.writeUint64String(e,t[o])},jspb.BinaryWriter.prototype.writeRepeatedSint32=function(e,t){if(null!=t)for(var o=0;o<t.length;o++)this.writeZigzagVarint32_(e,t[o])},goog.exportProperty(jspb.BinaryWriter.prototype,"writeRepeatedSint32",jspb.BinaryWriter.prototype.writeRepeatedSint32),jspb.BinaryWriter.prototype.writeRepeatedSint64=function(e,t){if(null!=t)for(var o=0;o<t.length;o++)this.writeZigzagVarint64_(e,t[o])},goog.exportProperty(jspb.BinaryWriter.prototype,"writeRepeatedSint64",jspb.BinaryWriter.prototype.writeRepeatedSint64),jspb.BinaryWriter.prototype.writeRepeatedSint64String=function(e,t){if(null!=t)for(var o=0;o<t.length;o++)this.writeZigzagVarint64String_(e,t[o])},jspb.BinaryWriter.prototype.writeRepeatedSintHash64=function(e,t){if(null!=t)for(var o=0;o<t.length;o++)this.writeZigzagVarintHash64_(e,t[o])},jspb.BinaryWriter.prototype.writeRepeatedFixed32=function(e,t){if(null!=t)for(var o=0;o<t.length;o++)this.writeFixed32(e,t[o])},goog.exportProperty(jspb.BinaryWriter.prototype,"writeRepeatedFixed32",jspb.BinaryWriter.prototype.writeRepeatedFixed32),jspb.BinaryWriter.prototype.writeRepeatedFixed64=function(e,t){if(null!=t)for(var o=0;o<t.length;o++)this.writeFixed64(e,t[o])},goog.exportProperty(jspb.BinaryWriter.prototype,"writeRepeatedFixed64",jspb.BinaryWriter.prototype.writeRepeatedFixed64),jspb.BinaryWriter.prototype.writeRepeatedFixed64String=function(e,t){if(null!=t)for(var o=0;o<t.length;o++)this.writeFixed64String(e,t[o])},goog.exportProperty(jspb.BinaryWriter.prototype,"writeRepeatedFixed64String",jspb.BinaryWriter.prototype.writeRepeatedFixed64String),jspb.BinaryWriter.prototype.writeRepeatedSfixed32=function(e,t){if(null!=t)for(var o=0;o<t.length;o++)this.writeSfixed32(e,t[o])},goog.exportProperty(jspb.BinaryWriter.prototype,"writeRepeatedSfixed32",jspb.BinaryWriter.prototype.writeRepeatedSfixed32),jspb.BinaryWriter.prototype.writeRepeatedSfixed64=function(e,t){if(null!=t)for(var o=0;o<t.length;o++)this.writeSfixed64(e,t[o])},goog.exportProperty(jspb.BinaryWriter.prototype,"writeRepeatedSfixed64",jspb.BinaryWriter.prototype.writeRepeatedSfixed64),jspb.BinaryWriter.prototype.writeRepeatedSfixed64String=function(e,t){if(null!=t)for(var o=0;o<t.length;o++)this.writeSfixed64String(e,t[o])},jspb.BinaryWriter.prototype.writeRepeatedFloat=function(e,t){if(null!=t)for(var o=0;o<t.length;o++)this.writeFloat(e,t[o])},goog.exportProperty(jspb.BinaryWriter.prototype,"writeRepeatedFloat",jspb.BinaryWriter.prototype.writeRepeatedFloat),jspb.BinaryWriter.prototype.writeRepeatedDouble=function(e,t){if(null!=t)for(var o=0;o<t.length;o++)this.writeDouble(e,t[o])},goog.exportProperty(jspb.BinaryWriter.prototype,"writeRepeatedDouble",jspb.BinaryWriter.prototype.writeRepeatedDouble),jspb.BinaryWriter.prototype.writeRepeatedBool=function(e,t){if(null!=t)for(var o=0;o<t.length;o++)this.writeBool(e,t[o])},goog.exportProperty(jspb.BinaryWriter.prototype,"writeRepeatedBool",jspb.BinaryWriter.prototype.writeRepeatedBool),jspb.BinaryWriter.prototype.writeRepeatedEnum=function(e,t){if(null!=t)for(var o=0;o<t.length;o++)this.writeEnum(e,t[o])},goog.exportProperty(jspb.BinaryWriter.prototype,"writeRepeatedEnum",jspb.BinaryWriter.prototype.writeRepeatedEnum),jspb.BinaryWriter.prototype.writeRepeatedString=function(e,t){if(null!=t)for(var o=0;o<t.length;o++)this.writeString(e,t[o])},goog.exportProperty(jspb.BinaryWriter.prototype,"writeRepeatedString",jspb.BinaryWriter.prototype.writeRepeatedString),jspb.BinaryWriter.prototype.writeRepeatedBytes=function(e,t){if(null!=t)for(var o=0;o<t.length;o++)this.writeBytes(e,t[o])},goog.exportProperty(jspb.BinaryWriter.prototype,"writeRepeatedBytes",jspb.BinaryWriter.prototype.writeRepeatedBytes),jspb.BinaryWriter.prototype.writeRepeatedMessage=function(e,t,o){if(null!=t)for(var r=0;r<t.length;r++){var s=this.beginDelimited_(e);o(t[r],this),this.endDelimited_(s)}},goog.exportProperty(jspb.BinaryWriter.prototype,"writeRepeatedMessage",jspb.BinaryWriter.prototype.writeRepeatedMessage),jspb.BinaryWriter.prototype.writeRepeatedGroup=function(e,t,o){if(null!=t)for(var r=0;r<t.length;r++)this.writeFieldHeader_(e,jspb.BinaryConstants.WireType.START_GROUP),o(t[r],this),this.writeFieldHeader_(e,jspb.BinaryConstants.WireType.END_GROUP)},goog.exportProperty(jspb.BinaryWriter.prototype,"writeRepeatedGroup",jspb.BinaryWriter.prototype.writeRepeatedGroup),jspb.BinaryWriter.prototype.writeRepeatedFixedHash64=function(e,t){if(null!=t)for(var o=0;o<t.length;o++)this.writeFixedHash64(e,t[o])},jspb.BinaryWriter.prototype.writeRepeatedVarintHash64=function(e,t){if(null!=t)for(var o=0;o<t.length;o++)this.writeVarintHash64(e,t[o])},jspb.BinaryWriter.prototype.writePackedInt32=function(e,t){if(null!=t&&t.length){e=this.beginDelimited_(e);for(var o=0;o<t.length;o++)this.encoder_.writeSignedVarint32(t[o]);this.endDelimited_(e)}},goog.exportProperty(jspb.BinaryWriter.prototype,"writePackedInt32",jspb.BinaryWriter.prototype.writePackedInt32),jspb.BinaryWriter.prototype.writePackedInt32String=function(e,t){if(null!=t&&t.length){e=this.beginDelimited_(e);for(var o=0;o<t.length;o++)this.encoder_.writeSignedVarint32(parseInt(t[o],10));this.endDelimited_(e)}},jspb.BinaryWriter.prototype.writePackedInt64=function(e,t){if(null!=t&&t.length){e=this.beginDelimited_(e);for(var o=0;o<t.length;o++)this.encoder_.writeSignedVarint64(t[o]);this.endDelimited_(e)}},goog.exportProperty(jspb.BinaryWriter.prototype,"writePackedInt64",jspb.BinaryWriter.prototype.writePackedInt64),jspb.BinaryWriter.prototype.writePackedSplitFixed64=function(e,t,o,r){if(null!=t){e=this.beginDelimited_(e);for(var s=0;s<t.length;s++)this.encoder_.writeSplitFixed64(o(t[s]),r(t[s]));this.endDelimited_(e)}},jspb.BinaryWriter.prototype.writePackedSplitVarint64=function(e,t,o,r){if(null!=t){e=this.beginDelimited_(e);for(var s=0;s<t.length;s++)this.encoder_.writeSplitVarint64(o(t[s]),r(t[s]));this.endDelimited_(e)}},jspb.BinaryWriter.prototype.writePackedSplitZigzagVarint64=function(e,t,o,r){if(null!=t){e=this.beginDelimited_(e);for(var s=this.encoder_,i=0;i<t.length;i++)jspb.utils.toZigzag64(o(t[i]),r(t[i]),(function(e,t){s.writeSplitVarint64(e>>>0,t>>>0)}));this.endDelimited_(e)}},jspb.BinaryWriter.prototype.writePackedInt64String=function(e,t){if(null!=t&&t.length){e=this.beginDelimited_(e);for(var o=0;o<t.length;o++){var r=jspb.arith.Int64.fromString(t[o]);this.encoder_.writeSplitVarint64(r.lo,r.hi)}this.endDelimited_(e)}},jspb.BinaryWriter.prototype.writePackedUint32=function(e,t){if(null!=t&&t.length){e=this.beginDelimited_(e);for(var o=0;o<t.length;o++)this.encoder_.writeUnsignedVarint32(t[o]);this.endDelimited_(e)}},goog.exportProperty(jspb.BinaryWriter.prototype,"writePackedUint32",jspb.BinaryWriter.prototype.writePackedUint32),jspb.BinaryWriter.prototype.writePackedUint32String=function(e,t){if(null!=t&&t.length){e=this.beginDelimited_(e);for(var o=0;o<t.length;o++)this.encoder_.writeUnsignedVarint32(parseInt(t[o],10));this.endDelimited_(e)}},jspb.BinaryWriter.prototype.writePackedUint64=function(e,t){if(null!=t&&t.length){e=this.beginDelimited_(e);for(var o=0;o<t.length;o++)this.encoder_.writeUnsignedVarint64(t[o]);this.endDelimited_(e)}},goog.exportProperty(jspb.BinaryWriter.prototype,"writePackedUint64",jspb.BinaryWriter.prototype.writePackedUint64),jspb.BinaryWriter.prototype.writePackedUint64String=function(e,t){if(null!=t&&t.length){e=this.beginDelimited_(e);for(var o=0;o<t.length;o++){var r=jspb.arith.UInt64.fromString(t[o]);this.encoder_.writeSplitVarint64(r.lo,r.hi)}this.endDelimited_(e)}},jspb.BinaryWriter.prototype.writePackedSint32=function(e,t){if(null!=t&&t.length){e=this.beginDelimited_(e);for(var o=0;o<t.length;o++)this.encoder_.writeZigzagVarint32(t[o]);this.endDelimited_(e)}},goog.exportProperty(jspb.BinaryWriter.prototype,"writePackedSint32",jspb.BinaryWriter.prototype.writePackedSint32),jspb.BinaryWriter.prototype.writePackedSint64=function(e,t){if(null!=t&&t.length){e=this.beginDelimited_(e);for(var o=0;o<t.length;o++)this.encoder_.writeZigzagVarint64(t[o]);this.endDelimited_(e)}},goog.exportProperty(jspb.BinaryWriter.prototype,"writePackedSint64",jspb.BinaryWriter.prototype.writePackedSint64),jspb.BinaryWriter.prototype.writePackedSint64String=function(e,t){if(null!=t&&t.length){e=this.beginDelimited_(e);for(var o=0;o<t.length;o++)this.encoder_.writeZigzagVarintHash64(jspb.utils.decimalStringToHash64(t[o]));this.endDelimited_(e)}},jspb.BinaryWriter.prototype.writePackedSintHash64=function(e,t){if(null!=t&&t.length){e=this.beginDelimited_(e);for(var o=0;o<t.length;o++)this.encoder_.writeZigzagVarintHash64(t[o]);this.endDelimited_(e)}},jspb.BinaryWriter.prototype.writePackedFixed32=function(e,t){if(null!=t&&t.length)for(this.writeFieldHeader_(e,jspb.BinaryConstants.WireType.DELIMITED),this.encoder_.writeUnsignedVarint32(4*t.length),e=0;e<t.length;e++)this.encoder_.writeUint32(t[e])},goog.exportProperty(jspb.BinaryWriter.prototype,"writePackedFixed32",jspb.BinaryWriter.prototype.writePackedFixed32),jspb.BinaryWriter.prototype.writePackedFixed64=function(e,t){if(null!=t&&t.length)for(this.writeFieldHeader_(e,jspb.BinaryConstants.WireType.DELIMITED),this.encoder_.writeUnsignedVarint32(8*t.length),e=0;e<t.length;e++)this.encoder_.writeUint64(t[e])},goog.exportProperty(jspb.BinaryWriter.prototype,"writePackedFixed64",jspb.BinaryWriter.prototype.writePackedFixed64),jspb.BinaryWriter.prototype.writePackedFixed64String=function(e,t){if(null!=t&&t.length)for(this.writeFieldHeader_(e,jspb.BinaryConstants.WireType.DELIMITED),this.encoder_.writeUnsignedVarint32(8*t.length),e=0;e<t.length;e++){var o=jspb.arith.UInt64.fromString(t[e]);this.encoder_.writeSplitFixed64(o.lo,o.hi)}},jspb.BinaryWriter.prototype.writePackedSfixed32=function(e,t){if(null!=t&&t.length)for(this.writeFieldHeader_(e,jspb.BinaryConstants.WireType.DELIMITED),this.encoder_.writeUnsignedVarint32(4*t.length),e=0;e<t.length;e++)this.encoder_.writeInt32(t[e])},goog.exportProperty(jspb.BinaryWriter.prototype,"writePackedSfixed32",jspb.BinaryWriter.prototype.writePackedSfixed32),jspb.BinaryWriter.prototype.writePackedSfixed64=function(e,t){if(null!=t&&t.length)for(this.writeFieldHeader_(e,jspb.BinaryConstants.WireType.DELIMITED),this.encoder_.writeUnsignedVarint32(8*t.length),e=0;e<t.length;e++)this.encoder_.writeInt64(t[e])},goog.exportProperty(jspb.BinaryWriter.prototype,"writePackedSfixed64",jspb.BinaryWriter.prototype.writePackedSfixed64),jspb.BinaryWriter.prototype.writePackedSfixed64String=function(e,t){if(null!=t&&t.length)for(this.writeFieldHeader_(e,jspb.BinaryConstants.WireType.DELIMITED),this.encoder_.writeUnsignedVarint32(8*t.length),e=0;e<t.length;e++)this.encoder_.writeInt64String(t[e])},jspb.BinaryWriter.prototype.writePackedFloat=function(e,t){if(null!=t&&t.length)for(this.writeFieldHeader_(e,jspb.BinaryConstants.WireType.DELIMITED),this.encoder_.writeUnsignedVarint32(4*t.length),e=0;e<t.length;e++)this.encoder_.writeFloat(t[e])},goog.exportProperty(jspb.BinaryWriter.prototype,"writePackedFloat",jspb.BinaryWriter.prototype.writePackedFloat),jspb.BinaryWriter.prototype.writePackedDouble=function(e,t){if(null!=t&&t.length)for(this.writeFieldHeader_(e,jspb.BinaryConstants.WireType.DELIMITED),this.encoder_.writeUnsignedVarint32(8*t.length),e=0;e<t.length;e++)this.encoder_.writeDouble(t[e])},goog.exportProperty(jspb.BinaryWriter.prototype,"writePackedDouble",jspb.BinaryWriter.prototype.writePackedDouble),jspb.BinaryWriter.prototype.writePackedBool=function(e,t){if(null!=t&&t.length)for(this.writeFieldHeader_(e,jspb.BinaryConstants.WireType.DELIMITED),this.encoder_.writeUnsignedVarint32(t.length),e=0;e<t.length;e++)this.encoder_.writeBool(t[e])},goog.exportProperty(jspb.BinaryWriter.prototype,"writePackedBool",jspb.BinaryWriter.prototype.writePackedBool),jspb.BinaryWriter.prototype.writePackedEnum=function(e,t){if(null!=t&&t.length){e=this.beginDelimited_(e);for(var o=0;o<t.length;o++)this.encoder_.writeEnum(t[o]);this.endDelimited_(e)}},goog.exportProperty(jspb.BinaryWriter.prototype,"writePackedEnum",jspb.BinaryWriter.prototype.writePackedEnum),jspb.BinaryWriter.prototype.writePackedFixedHash64=function(e,t){if(null!=t&&t.length)for(this.writeFieldHeader_(e,jspb.BinaryConstants.WireType.DELIMITED),this.encoder_.writeUnsignedVarint32(8*t.length),e=0;e<t.length;e++)this.encoder_.writeFixedHash64(t[e])},jspb.BinaryWriter.prototype.writePackedVarintHash64=function(e,t){if(null!=t&&t.length){e=this.beginDelimited_(e);for(var o=0;o<t.length;o++)this.encoder_.writeVarintHash64(t[o]);this.endDelimited_(e)}},jspb.Map=function(e,t){this.arr_=e,this.valueCtor_=t,this.map_={},this.arrClean=!0,0<this.arr_.length&&this.loadFromArray_()},goog.exportSymbol("jspb.Map",jspb.Map),jspb.Map.prototype.loadFromArray_=function(){for(var e=0;e<this.arr_.length;e++){var t=this.arr_[e],o=t[0];this.map_[o.toString()]=new jspb.Map.Entry_(o,t[1])}this.arrClean=!0},jspb.Map.prototype.toArray=function(){if(this.arrClean){if(this.valueCtor_){var e,t=this.map_;for(e in t)if(Object.prototype.hasOwnProperty.call(t,e)){var o=t[e].valueWrapper;o&&o.toArray()}}}else{for(this.arr_.length=0,(t=this.stringKeys_()).sort(),e=0;e<t.length;e++){var r=this.map_[t[e]];(o=r.valueWrapper)&&o.toArray(),this.arr_.push([r.key,r.value])}this.arrClean=!0}return this.arr_},goog.exportProperty(jspb.Map.prototype,"toArray",jspb.Map.prototype.toArray),jspb.Map.prototype.toObject=function(e,t){for(var o=this.toArray(),r=[],s=0;s<o.length;s++){var i=this.map_[o[s][0].toString()];this.wrapEntry_(i);var n=i.valueWrapper;n?(jspb.asserts.assert(t),r.push([i.key,t(e,n)])):r.push([i.key,i.value])}return r},goog.exportProperty(jspb.Map.prototype,"toObject",jspb.Map.prototype.toObject),jspb.Map.fromObject=function(e,t,o){t=new jspb.Map([],t);for(var r=0;r<e.length;r++){var s=e[r][0],i=o(e[r][1]);t.set(s,i)}return t},goog.exportProperty(jspb.Map,"fromObject",jspb.Map.fromObject),jspb.Map.ArrayIteratorIterable_=function(e){this.idx_=0,this.arr_=e},jspb.Map.ArrayIteratorIterable_.prototype.next=function(){return this.idx_<this.arr_.length?{done:!1,value:this.arr_[this.idx_++]}:{done:!0,value:void 0}},"undefined"!=typeof Symbol&&(jspb.Map.ArrayIteratorIterable_.prototype[Symbol.iterator]=function(){return this}),jspb.Map.prototype.getLength=function(){return this.stringKeys_().length},goog.exportProperty(jspb.Map.prototype,"getLength",jspb.Map.prototype.getLength),jspb.Map.prototype.clear=function(){this.map_={},this.arrClean=!1},goog.exportProperty(jspb.Map.prototype,"clear",jspb.Map.prototype.clear),jspb.Map.prototype.del=function(e){e=e.toString();var t=this.map_.hasOwnProperty(e);return delete this.map_[e],this.arrClean=!1,t},goog.exportProperty(jspb.Map.prototype,"del",jspb.Map.prototype.del),jspb.Map.prototype.getEntryList=function(){var e=[],t=this.stringKeys_();t.sort();for(var o=0;o<t.length;o++){var r=this.map_[t[o]];e.push([r.key,r.value])}return e},goog.exportProperty(jspb.Map.prototype,"getEntryList",jspb.Map.prototype.getEntryList),jspb.Map.prototype.entries=function(){var e=[],t=this.stringKeys_();t.sort();for(var o=0;o<t.length;o++){var r=this.map_[t[o]];e.push([r.key,this.wrapEntry_(r)])}return new jspb.Map.ArrayIteratorIterable_(e)},goog.exportProperty(jspb.Map.prototype,"entries",jspb.Map.prototype.entries),jspb.Map.prototype.keys=function(){var e=[],t=this.stringKeys_();t.sort();for(var o=0;o<t.length;o++)e.push(this.map_[t[o]].key);return new jspb.Map.ArrayIteratorIterable_(e)},goog.exportProperty(jspb.Map.prototype,"keys",jspb.Map.prototype.keys),jspb.Map.prototype.values=function(){var e=[],t=this.stringKeys_();t.sort();for(var o=0;o<t.length;o++)e.push(this.wrapEntry_(this.map_[t[o]]));return new jspb.Map.ArrayIteratorIterable_(e)},goog.exportProperty(jspb.Map.prototype,"values",jspb.Map.prototype.values),jspb.Map.prototype.forEach=function(e,t){var o=this.stringKeys_();o.sort();for(var r=0;r<o.length;r++){var s=this.map_[o[r]];e.call(t,this.wrapEntry_(s),s.key,this)}},goog.exportProperty(jspb.Map.prototype,"forEach",jspb.Map.prototype.forEach),jspb.Map.prototype.set=function(e,t){var o=new jspb.Map.Entry_(e);return this.valueCtor_?(o.valueWrapper=t,o.value=t.toArray()):o.value=t,this.map_[e.toString()]=o,this.arrClean=!1,this},goog.exportProperty(jspb.Map.prototype,"set",jspb.Map.prototype.set),jspb.Map.prototype.wrapEntry_=function(e){return this.valueCtor_?(e.valueWrapper||(e.valueWrapper=new this.valueCtor_(e.value)),e.valueWrapper):e.value},jspb.Map.prototype.get=function(e){if(e=this.map_[e.toString()])return this.wrapEntry_(e)},goog.exportProperty(jspb.Map.prototype,"get",jspb.Map.prototype.get),jspb.Map.prototype.has=function(e){return e.toString()in this.map_},goog.exportProperty(jspb.Map.prototype,"has",jspb.Map.prototype.has),jspb.Map.prototype.serializeBinary=function(e,t,o,r,s){var i=this.stringKeys_();i.sort();for(var n=0;n<i.length;n++){var a=this.map_[i[n]];t.beginSubMessage(e),o.call(t,1,a.key),this.valueCtor_?r.call(t,2,this.wrapEntry_(a),s):r.call(t,2,a.value),t.endSubMessage()}},goog.exportProperty(jspb.Map.prototype,"serializeBinary",jspb.Map.prototype.serializeBinary),jspb.Map.deserializeBinary=function(e,t,o,r,s,i,n){for(;t.nextField()&&!t.isEndGroup();){var a=t.getFieldNumber();1==a?i=o.call(t):2==a&&(e.valueCtor_?(jspb.asserts.assert(s),n||(n=new e.valueCtor_),r.call(t,n,s)):n=r.call(t))}jspb.asserts.assert(null!=i),jspb.asserts.assert(null!=n),e.set(i,n)},goog.exportProperty(jspb.Map,"deserializeBinary",jspb.Map.deserializeBinary),jspb.Map.prototype.stringKeys_=function(){var e,t=this.map_,o=[];for(e in t)Object.prototype.hasOwnProperty.call(t,e)&&o.push(e);return o},jspb.Map.Entry_=function(e,t){this.key=e,this.value=t,this.valueWrapper=void 0},jspb.ExtensionFieldInfo=function(e,t,o,r,s){this.fieldIndex=e,this.fieldName=t,this.ctor=o,this.toObjectFn=r,this.isRepeated=s},goog.exportSymbol("jspb.ExtensionFieldInfo",jspb.ExtensionFieldInfo),jspb.ExtensionFieldBinaryInfo=function(e,t,o,r,s,i){this.fieldInfo=e,this.binaryReaderFn=t,this.binaryWriterFn=o,this.binaryMessageSerializeFn=r,this.binaryMessageDeserializeFn=s,this.isPacked=i},goog.exportSymbol("jspb.ExtensionFieldBinaryInfo",jspb.ExtensionFieldBinaryInfo),jspb.ExtensionFieldInfo.prototype.isMessageType=function(){return!!this.ctor},goog.exportProperty(jspb.ExtensionFieldInfo.prototype,"isMessageType",jspb.ExtensionFieldInfo.prototype.isMessageType),jspb.Message=function(){},goog.exportSymbol("jspb.Message",jspb.Message),jspb.Message.GENERATE_TO_OBJECT=!0,goog.exportProperty(jspb.Message,"GENERATE_TO_OBJECT",jspb.Message.GENERATE_TO_OBJECT),jspb.Message.GENERATE_FROM_OBJECT=!goog.DISALLOW_TEST_ONLY_CODE,goog.exportProperty(jspb.Message,"GENERATE_FROM_OBJECT",jspb.Message.GENERATE_FROM_OBJECT),jspb.Message.GENERATE_TO_STRING=!0,jspb.Message.ASSUME_LOCAL_ARRAYS=!1,jspb.Message.SERIALIZE_EMPTY_TRAILING_FIELDS=!0,jspb.Message.SUPPORTS_UINT8ARRAY_="function"==typeof Uint8Array,jspb.Message.prototype.getJsPbMessageId=function(){return this.messageId_},goog.exportProperty(jspb.Message.prototype,"getJsPbMessageId",jspb.Message.prototype.getJsPbMessageId),jspb.Message.getIndex_=function(e,t){return t+e.arrayIndexOffset_},jspb.Message.hiddenES6Property_=function(){},jspb.Message.getFieldNumber_=function(e,t){return t-e.arrayIndexOffset_},jspb.Message.initialize=function(e,t,o,r,s,i){if(e.wrappers_=null,t||(t=o?[o]:[]),e.messageId_=o?String(o):void 0,e.arrayIndexOffset_=0===o?-1:0,e.array=t,jspb.Message.initPivotAndExtensionObject_(e,r),e.convertedPrimitiveFields_={},jspb.Message.SERIALIZE_EMPTY_TRAILING_FIELDS||(e.repeatedFields=s),s)for(t=0;t<s.length;t++)(o=s[t])<e.pivot_?(o=jspb.Message.getIndex_(e,o),e.array[o]=e.array[o]||jspb.Message.EMPTY_LIST_SENTINEL_):(jspb.Message.maybeInitEmptyExtensionObject_(e),e.extensionObject_[o]=e.extensionObject_[o]||jspb.Message.EMPTY_LIST_SENTINEL_);if(i&&i.length)for(t=0;t<i.length;t++)jspb.Message.computeOneofCase(e,i[t])},goog.exportProperty(jspb.Message,"initialize",jspb.Message.initialize),jspb.Message.EMPTY_LIST_SENTINEL_=goog.DEBUG&&Object.freeze?Object.freeze([]):[],jspb.Message.isArray_=function(e){return jspb.Message.ASSUME_LOCAL_ARRAYS?e instanceof Array:Array.isArray(e)},jspb.Message.isExtensionObject_=function(e){return!(null===e||"object"!=typeof e||jspb.Message.isArray_(e)||jspb.Message.SUPPORTS_UINT8ARRAY_&&e instanceof Uint8Array)},jspb.Message.initPivotAndExtensionObject_=function(e,t){var o=e.array.length,r=-1;if(o&&(r=o-1,o=e.array[r],jspb.Message.isExtensionObject_(o)))return e.pivot_=jspb.Message.getFieldNumber_(e,r),void(e.extensionObject_=o);-1<t?(e.pivot_=Math.max(t,jspb.Message.getFieldNumber_(e,r+1)),e.extensionObject_=null):e.pivot_=Number.MAX_VALUE},jspb.Message.maybeInitEmptyExtensionObject_=function(e){var t=jspb.Message.getIndex_(e,e.pivot_);e.array[t]||(e.extensionObject_=e.array[t]={})},jspb.Message.toObjectList=function(e,t,o){for(var r=[],s=0;s<e.length;s++)r[s]=t.call(e[s],o,e[s]);return r},goog.exportProperty(jspb.Message,"toObjectList",jspb.Message.toObjectList),jspb.Message.toObjectExtension=function(e,t,o,r,s){for(var i in o){var n=o[i],a=r.call(e,n);if(null!=a){for(var p in n.fieldName)if(n.fieldName.hasOwnProperty(p))break;t[p]=n.toObjectFn?n.isRepeated?jspb.Message.toObjectList(a,n.toObjectFn,s):n.toObjectFn(s,a):a}}},goog.exportProperty(jspb.Message,"toObjectExtension",jspb.Message.toObjectExtension),jspb.Message.serializeBinaryExtensions=function(e,t,o,r){for(var s in o){var i=o[s],n=i.fieldInfo;if(!i.binaryWriterFn)throw Error("Message extension present that was generated without binary serialization support");var a=r.call(e,n);if(null!=a)if(n.isMessageType()){if(!i.binaryMessageSerializeFn)throw Error("Message extension present holding submessage without binary support enabled, and message is being serialized to binary format");i.binaryWriterFn.call(t,n.fieldIndex,a,i.binaryMessageSerializeFn)}else i.binaryWriterFn.call(t,n.fieldIndex,a)}},goog.exportProperty(jspb.Message,"serializeBinaryExtensions",jspb.Message.serializeBinaryExtensions),jspb.Message.readBinaryExtension=function(e,t,o,r,s){var i=o[t.getFieldNumber()];if(i){if(o=i.fieldInfo,!i.binaryReaderFn)throw Error("Deserializing extension whose generated code does not support binary format");if(o.isMessageType()){var n=new o.ctor;i.binaryReaderFn.call(t,n,i.binaryMessageDeserializeFn)}else n=i.binaryReaderFn.call(t);o.isRepeated&&!i.isPacked?(t=r.call(e,o))?t.push(n):s.call(e,o,[n]):s.call(e,o,n)}else t.skipField()},goog.exportProperty(jspb.Message,"readBinaryExtension",jspb.Message.readBinaryExtension),jspb.Message.getField=function(e,t){if(t<e.pivot_){t=jspb.Message.getIndex_(e,t);var o=e.array[t];return o===jspb.Message.EMPTY_LIST_SENTINEL_?e.array[t]=[]:o}if(e.extensionObject_)return(o=e.extensionObject_[t])===jspb.Message.EMPTY_LIST_SENTINEL_?e.extensionObject_[t]=[]:o},goog.exportProperty(jspb.Message,"getField",jspb.Message.getField),jspb.Message.getRepeatedField=function(e,t){return jspb.Message.getField(e,t)},goog.exportProperty(jspb.Message,"getRepeatedField",jspb.Message.getRepeatedField),jspb.Message.getOptionalFloatingPointField=function(e,t){return null==(e=jspb.Message.getField(e,t))?e:+e},goog.exportProperty(jspb.Message,"getOptionalFloatingPointField",jspb.Message.getOptionalFloatingPointField),jspb.Message.getBooleanField=function(e,t){return null==(e=jspb.Message.getField(e,t))?e:!!e},goog.exportProperty(jspb.Message,"getBooleanField",jspb.Message.getBooleanField),jspb.Message.getRepeatedFloatingPointField=function(e,t){var o=jspb.Message.getRepeatedField(e,t);if(e.convertedPrimitiveFields_||(e.convertedPrimitiveFields_={}),!e.convertedPrimitiveFields_[t]){for(var r=0;r<o.length;r++)o[r]=+o[r];e.convertedPrimitiveFields_[t]=!0}return o},goog.exportProperty(jspb.Message,"getRepeatedFloatingPointField",jspb.Message.getRepeatedFloatingPointField),jspb.Message.getRepeatedBooleanField=function(e,t){var o=jspb.Message.getRepeatedField(e,t);if(e.convertedPrimitiveFields_||(e.convertedPrimitiveFields_={}),!e.convertedPrimitiveFields_[t]){for(var r=0;r<o.length;r++)o[r]=!!o[r];e.convertedPrimitiveFields_[t]=!0}return o},goog.exportProperty(jspb.Message,"getRepeatedBooleanField",jspb.Message.getRepeatedBooleanField),jspb.Message.bytesAsB64=function(e){return null==e||"string"==typeof e?e:jspb.Message.SUPPORTS_UINT8ARRAY_&&e instanceof Uint8Array?goog.crypt.base64.encodeByteArray(e):(jspb.asserts.fail("Cannot coerce to b64 string: "+goog.typeOf(e)),null)},goog.exportProperty(jspb.Message,"bytesAsB64",jspb.Message.bytesAsB64),jspb.Message.bytesAsU8=function(e){return null==e||e instanceof Uint8Array?e:"string"==typeof e?goog.crypt.base64.decodeStringToUint8Array(e):(jspb.asserts.fail("Cannot coerce to Uint8Array: "+goog.typeOf(e)),null)},goog.exportProperty(jspb.Message,"bytesAsU8",jspb.Message.bytesAsU8),jspb.Message.bytesListAsB64=function(e){return jspb.Message.assertConsistentTypes_(e),e.length&&"string"!=typeof e[0]?goog.array.map(e,jspb.Message.bytesAsB64):e},goog.exportProperty(jspb.Message,"bytesListAsB64",jspb.Message.bytesListAsB64),jspb.Message.bytesListAsU8=function(e){return jspb.Message.assertConsistentTypes_(e),!e.length||e[0]instanceof Uint8Array?e:goog.array.map(e,jspb.Message.bytesAsU8)},goog.exportProperty(jspb.Message,"bytesListAsU8",jspb.Message.bytesListAsU8),jspb.Message.assertConsistentTypes_=function(e){if(goog.DEBUG&&e&&1<e.length){var t=goog.typeOf(e[0]);goog.array.forEach(e,(function(e){goog.typeOf(e)!=t&&jspb.asserts.fail("Inconsistent type in JSPB repeated field array. Got "+goog.typeOf(e)+" expected "+t)}))}},jspb.Message.getFieldWithDefault=function(e,t,o){return null==(e=jspb.Message.getField(e,t))?o:e},goog.exportProperty(jspb.Message,"getFieldWithDefault",jspb.Message.getFieldWithDefault),jspb.Message.getBooleanFieldWithDefault=function(e,t,o){return null==(e=jspb.Message.getBooleanField(e,t))?o:e},goog.exportProperty(jspb.Message,"getBooleanFieldWithDefault",jspb.Message.getBooleanFieldWithDefault),jspb.Message.getFloatingPointFieldWithDefault=function(e,t,o){return null==(e=jspb.Message.getOptionalFloatingPointField(e,t))?o:e},goog.exportProperty(jspb.Message,"getFloatingPointFieldWithDefault",jspb.Message.getFloatingPointFieldWithDefault),jspb.Message.getFieldProto3=jspb.Message.getFieldWithDefault,goog.exportProperty(jspb.Message,"getFieldProto3",jspb.Message.getFieldProto3),jspb.Message.getMapField=function(e,t,o,r){if(e.wrappers_||(e.wrappers_={}),t in e.wrappers_)return e.wrappers_[t];var s=jspb.Message.getField(e,t);if(!s){if(o)return;s=[],jspb.Message.setField(e,t,s)}return e.wrappers_[t]=new jspb.Map(s,r)},goog.exportProperty(jspb.Message,"getMapField",jspb.Message.getMapField),jspb.Message.setField=function(e,t,o){return jspb.asserts.assertInstanceof(e,jspb.Message),t<e.pivot_?e.array[jspb.Message.getIndex_(e,t)]=o:(jspb.Message.maybeInitEmptyExtensionObject_(e),e.extensionObject_[t]=o),e},goog.exportProperty(jspb.Message,"setField",jspb.Message.setField),jspb.Message.setProto3IntField=function(e,t,o){return jspb.Message.setFieldIgnoringDefault_(e,t,o,0)},goog.exportProperty(jspb.Message,"setProto3IntField",jspb.Message.setProto3IntField),jspb.Message.setProto3FloatField=function(e,t,o){return jspb.Message.setFieldIgnoringDefault_(e,t,o,0)},goog.exportProperty(jspb.Message,"setProto3FloatField",jspb.Message.setProto3FloatField),jspb.Message.setProto3BooleanField=function(e,t,o){return jspb.Message.setFieldIgnoringDefault_(e,t,o,!1)},goog.exportProperty(jspb.Message,"setProto3BooleanField",jspb.Message.setProto3BooleanField),jspb.Message.setProto3StringField=function(e,t,o){return jspb.Message.setFieldIgnoringDefault_(e,t,o,"")},goog.exportProperty(jspb.Message,"setProto3StringField",jspb.Message.setProto3StringField),jspb.Message.setProto3BytesField=function(e,t,o){return jspb.Message.setFieldIgnoringDefault_(e,t,o,"")},goog.exportProperty(jspb.Message,"setProto3BytesField",jspb.Message.setProto3BytesField),jspb.Message.setProto3EnumField=function(e,t,o){return jspb.Message.setFieldIgnoringDefault_(e,t,o,0)},goog.exportProperty(jspb.Message,"setProto3EnumField",jspb.Message.setProto3EnumField),jspb.Message.setProto3StringIntField=function(e,t,o){return jspb.Message.setFieldIgnoringDefault_(e,t,o,"0")},goog.exportProperty(jspb.Message,"setProto3StringIntField",jspb.Message.setProto3StringIntField),jspb.Message.setFieldIgnoringDefault_=function(e,t,o,r){return jspb.asserts.assertInstanceof(e,jspb.Message),o!==r?jspb.Message.setField(e,t,o):t<e.pivot_?e.array[jspb.Message.getIndex_(e,t)]=null:(jspb.Message.maybeInitEmptyExtensionObject_(e),delete e.extensionObject_[t]),e},jspb.Message.addToRepeatedField=function(e,t,o,r){return jspb.asserts.assertInstanceof(e,jspb.Message),t=jspb.Message.getRepeatedField(e,t),null!=r?t.splice(r,0,o):t.push(o),e},goog.exportProperty(jspb.Message,"addToRepeatedField",jspb.Message.addToRepeatedField),jspb.Message.setOneofField=function(e,t,o,r){return jspb.asserts.assertInstanceof(e,jspb.Message),(o=jspb.Message.computeOneofCase(e,o))&&o!==t&&void 0!==r&&(e.wrappers_&&o in e.wrappers_&&(e.wrappers_[o]=void 0),jspb.Message.setField(e,o,void 0)),jspb.Message.setField(e,t,r)},goog.exportProperty(jspb.Message,"setOneofField",jspb.Message.setOneofField),jspb.Message.computeOneofCase=function(e,t){for(var o,r,s=0;s<t.length;s++){var i=t[s],n=jspb.Message.getField(e,i);null!=n&&(o=i,r=n,jspb.Message.setField(e,i,void 0))}return o?(jspb.Message.setField(e,o,r),o):0},goog.exportProperty(jspb.Message,"computeOneofCase",jspb.Message.computeOneofCase),jspb.Message.getWrapperField=function(e,t,o,r){if(e.wrappers_||(e.wrappers_={}),!e.wrappers_[o]){var s=jspb.Message.getField(e,o);(r||s)&&(e.wrappers_[o]=new t(s))}return e.wrappers_[o]},goog.exportProperty(jspb.Message,"getWrapperField",jspb.Message.getWrapperField),jspb.Message.getRepeatedWrapperField=function(e,t,o){return jspb.Message.wrapRepeatedField_(e,t,o),(t=e.wrappers_[o])==jspb.Message.EMPTY_LIST_SENTINEL_&&(t=e.wrappers_[o]=[]),t},goog.exportProperty(jspb.Message,"getRepeatedWrapperField",jspb.Message.getRepeatedWrapperField),jspb.Message.wrapRepeatedField_=function(e,t,o){if(e.wrappers_||(e.wrappers_={}),!e.wrappers_[o]){for(var r=jspb.Message.getRepeatedField(e,o),s=[],i=0;i<r.length;i++)s[i]=new t(r[i]);e.wrappers_[o]=s}},jspb.Message.setWrapperField=function(e,t,o){jspb.asserts.assertInstanceof(e,jspb.Message),e.wrappers_||(e.wrappers_={});var r=o?o.toArray():o;return e.wrappers_[t]=o,jspb.Message.setField(e,t,r)},goog.exportProperty(jspb.Message,"setWrapperField",jspb.Message.setWrapperField),jspb.Message.setOneofWrapperField=function(e,t,o,r){jspb.asserts.assertInstanceof(e,jspb.Message),e.wrappers_||(e.wrappers_={});var s=r?r.toArray():r;return e.wrappers_[t]=r,jspb.Message.setOneofField(e,t,o,s)},goog.exportProperty(jspb.Message,"setOneofWrapperField",jspb.Message.setOneofWrapperField),jspb.Message.setRepeatedWrapperField=function(e,t,o){jspb.asserts.assertInstanceof(e,jspb.Message),e.wrappers_||(e.wrappers_={}),o=o||[];for(var r=[],s=0;s<o.length;s++)r[s]=o[s].toArray();return e.wrappers_[t]=o,jspb.Message.setField(e,t,r)},goog.exportProperty(jspb.Message,"setRepeatedWrapperField",jspb.Message.setRepeatedWrapperField),jspb.Message.addToRepeatedWrapperField=function(e,t,o,r,s){jspb.Message.wrapRepeatedField_(e,r,t);var i=e.wrappers_[t];return i||(i=e.wrappers_[t]=[]),o=o||new r,e=jspb.Message.getRepeatedField(e,t),null!=s?(i.splice(s,0,o),e.splice(s,0,o.toArray())):(i.push(o),e.push(o.toArray())),o},goog.exportProperty(jspb.Message,"addToRepeatedWrapperField",jspb.Message.addToRepeatedWrapperField),jspb.Message.toMap=function(e,t,o,r){for(var s={},i=0;i<e.length;i++)s[t.call(e[i])]=o?o.call(e[i],r,e[i]):e[i];return s},goog.exportProperty(jspb.Message,"toMap",jspb.Message.toMap),jspb.Message.prototype.syncMapFields_=function(){if(this.wrappers_)for(var e in this.wrappers_){var t=this.wrappers_[e];if(Array.isArray(t))for(var o=0;o<t.length;o++)t[o]&&t[o].toArray();else t&&t.toArray()}},jspb.Message.prototype.toArray=function(){return this.syncMapFields_(),this.array},goog.exportProperty(jspb.Message.prototype,"toArray",jspb.Message.prototype.toArray),jspb.Message.GENERATE_TO_STRING&&(jspb.Message.prototype.toString=function(){return this.syncMapFields_(),this.array.toString()}),jspb.Message.prototype.getExtension=function(e){if(this.extensionObject_){this.wrappers_||(this.wrappers_={});var t=e.fieldIndex;if(e.isRepeated){if(e.isMessageType())return this.wrappers_[t]||(this.wrappers_[t]=goog.array.map(this.extensionObject_[t]||[],(function(t){return new e.ctor(t)}))),this.wrappers_[t]}else if(e.isMessageType())return!this.wrappers_[t]&&this.extensionObject_[t]&&(this.wrappers_[t]=new e.ctor(this.extensionObject_[t])),this.wrappers_[t];return this.extensionObject_[t]}},goog.exportProperty(jspb.Message.prototype,"getExtension",jspb.Message.prototype.getExtension),jspb.Message.prototype.setExtension=function(e,t){this.wrappers_||(this.wrappers_={}),jspb.Message.maybeInitEmptyExtensionObject_(this);var o=e.fieldIndex;return e.isRepeated?(t=t||[],e.isMessageType()?(this.wrappers_[o]=t,this.extensionObject_[o]=goog.array.map(t,(function(e){return e.toArray()}))):this.extensionObject_[o]=t):e.isMessageType()?(this.wrappers_[o]=t,this.extensionObject_[o]=t?t.toArray():t):this.extensionObject_[o]=t,this},goog.exportProperty(jspb.Message.prototype,"setExtension",jspb.Message.prototype.setExtension),jspb.Message.difference=function(e,t){if(!(e instanceof t.constructor))throw Error("Messages have different types.");var o=e.toArray();t=t.toArray();var r=[],s=0,i=o.length>t.length?o.length:t.length;for(e.getJsPbMessageId()&&(r[0]=e.getJsPbMessageId(),s=1);s<i;s++)jspb.Message.compareFields(o[s],t[s])||(r[s]=t[s]);return new e.constructor(r)},goog.exportProperty(jspb.Message,"difference",jspb.Message.difference),jspb.Message.equals=function(e,t){return e==t||!(!e||!t)&&e instanceof t.constructor&&jspb.Message.compareFields(e.toArray(),t.toArray())},goog.exportProperty(jspb.Message,"equals",jspb.Message.equals),jspb.Message.compareExtensions=function(e,t){e=e||{},t=t||{};var o,r={};for(o in e)r[o]=0;for(o in t)r[o]=0;for(o in r)if(!jspb.Message.compareFields(e[o],t[o]))return!1;return!0},goog.exportProperty(jspb.Message,"compareExtensions",jspb.Message.compareExtensions),jspb.Message.compareFields=function(e,t){if(e==t)return!0;if(!goog.isObject(e)||!goog.isObject(t))return!!("number"==typeof e&&isNaN(e)||"number"==typeof t&&isNaN(t))&&String(e)==String(t);if(e.constructor!=t.constructor)return!1;if(jspb.Message.SUPPORTS_UINT8ARRAY_&&e.constructor===Uint8Array){if(e.length!=t.length)return!1;for(var o=0;o<e.length;o++)if(e[o]!=t[o])return!1;return!0}if(e.constructor===Array){var r=void 0,s=void 0,i=Math.max(e.length,t.length);for(o=0;o<i;o++){var n=e[o],a=t[o];if(n&&n.constructor==Object&&(jspb.asserts.assert(void 0===r),jspb.asserts.assert(o===e.length-1),r=n,n=void 0),a&&a.constructor==Object&&(jspb.asserts.assert(void 0===s),jspb.asserts.assert(o===t.length-1),s=a,a=void 0),!jspb.Message.compareFields(n,a))return!1}return!r&&!s||(r=r||{},s=s||{},jspb.Message.compareExtensions(r,s))}if(e.constructor===Object)return jspb.Message.compareExtensions(e,t);throw Error("Invalid type in JSPB array")},goog.exportProperty(jspb.Message,"compareFields",jspb.Message.compareFields),jspb.Message.prototype.cloneMessage=function(){return jspb.Message.cloneMessage(this)},goog.exportProperty(jspb.Message.prototype,"cloneMessage",jspb.Message.prototype.cloneMessage),jspb.Message.prototype.clone=function(){return jspb.Message.cloneMessage(this)},goog.exportProperty(jspb.Message.prototype,"clone",jspb.Message.prototype.clone),jspb.Message.clone=function(e){return jspb.Message.cloneMessage(e)},goog.exportProperty(jspb.Message,"clone",jspb.Message.clone),jspb.Message.cloneMessage=function(e){return new e.constructor(jspb.Message.clone_(e.toArray()))},jspb.Message.copyInto=function(e,t){jspb.asserts.assertInstanceof(e,jspb.Message),jspb.asserts.assertInstanceof(t,jspb.Message),jspb.asserts.assert(e.constructor==t.constructor,"Copy source and target message should have the same type."),e=jspb.Message.clone(e);for(var o=t.toArray(),r=e.toArray(),s=o.length=0;s<r.length;s++)o[s]=r[s];t.wrappers_=e.wrappers_,t.extensionObject_=e.extensionObject_},goog.exportProperty(jspb.Message,"copyInto",jspb.Message.copyInto),jspb.Message.clone_=function(e){if(Array.isArray(e)){for(var t=Array(e.length),o=0;o<e.length;o++){var r=e[o];null!=r&&(t[o]="object"==typeof r?jspb.Message.clone_(jspb.asserts.assert(r)):r)}return t}if(jspb.Message.SUPPORTS_UINT8ARRAY_&&e instanceof Uint8Array)return new Uint8Array(e);for(o in t={},e)null!=(r=e[o])&&(t[o]="object"==typeof r?jspb.Message.clone_(jspb.asserts.assert(r)):r);return t},jspb.Message.registerMessageType=function(e,t){t.messageId=e},goog.exportProperty(jspb.Message,"registerMessageType",jspb.Message.registerMessageType),jspb.Message.messageSetExtensions={},jspb.Message.messageSetExtensionsBinary={},jspb.Export={},exports.Map=jspb.Map,exports.Message=jspb.Message,exports.BinaryReader=jspb.BinaryReader,exports.BinaryWriter=jspb.BinaryWriter,exports.ExtensionFieldInfo=jspb.ExtensionFieldInfo,exports.ExtensionFieldBinaryInfo=jspb.ExtensionFieldBinaryInfo,exports.exportSymbol=goog.exportSymbol,exports.inherits=goog.inherits,exports.object={extend:goog.object.extend},exports.typeOf=goog.typeOf},9392:(e,t,o)=>{var r=o(3019),s=r,i="undefined"!=typeof globalThis&&globalThis||"undefined"!=typeof window&&window||void 0!==i&&i||"undefined"!=typeof self&&self||function(){return this}.call(null)||Function("return this")();s.exportSymbol("proto.google.protobuf.DescriptorProto",null,i),s.exportSymbol("proto.google.protobuf.DescriptorProto.ExtensionRange",null,i),s.exportSymbol("proto.google.protobuf.DescriptorProto.ReservedRange",null,i),s.exportSymbol("proto.google.protobuf.EnumDescriptorProto",null,i),s.exportSymbol("proto.google.protobuf.EnumDescriptorProto.EnumReservedRange",null,i),s.exportSymbol("proto.google.protobuf.EnumOptions",null,i),s.exportSymbol("proto.google.protobuf.EnumValueDescriptorProto",null,i),s.exportSymbol("proto.google.protobuf.EnumValueOptions",null,i),s.exportSymbol("proto.google.protobuf.ExtensionRangeOptions",null,i),s.exportSymbol("proto.google.protobuf.FieldDescriptorProto",null,i),s.exportSymbol("proto.google.protobuf.FieldDescriptorProto.Label",null,i),s.exportSymbol("proto.google.protobuf.FieldDescriptorProto.Type",null,i),s.exportSymbol("proto.google.protobuf.FieldOptions",null,i),s.exportSymbol("proto.google.protobuf.FieldOptions.CType",null,i),s.exportSymbol("proto.google.protobuf.FieldOptions.JSType",null,i),s.exportSymbol("proto.google.protobuf.FileDescriptorProto",null,i),s.exportSymbol("proto.google.protobuf.FileDescriptorSet",null,i),s.exportSymbol("proto.google.protobuf.FileOptions",null,i),s.exportSymbol("proto.google.protobuf.FileOptions.OptimizeMode",null,i),s.exportSymbol("proto.google.protobuf.GeneratedCodeInfo",null,i),s.exportSymbol("proto.google.protobuf.GeneratedCodeInfo.Annotation",null,i),s.exportSymbol("proto.google.protobuf.MessageOptions",null,i),s.exportSymbol("proto.google.protobuf.MethodDescriptorProto",null,i),s.exportSymbol("proto.google.protobuf.MethodOptions",null,i),s.exportSymbol("proto.google.protobuf.MethodOptions.IdempotencyLevel",null,i),s.exportSymbol("proto.google.protobuf.OneofDescriptorProto",null,i),s.exportSymbol("proto.google.protobuf.OneofOptions",null,i),s.exportSymbol("proto.google.protobuf.ServiceDescriptorProto",null,i),s.exportSymbol("proto.google.protobuf.ServiceOptions",null,i),s.exportSymbol("proto.google.protobuf.SourceCodeInfo",null,i),s.exportSymbol("proto.google.protobuf.SourceCodeInfo.Location",null,i),s.exportSymbol("proto.google.protobuf.UninterpretedOption",null,i),s.exportSymbol("proto.google.protobuf.UninterpretedOption.NamePart",null,i),proto.google.protobuf.FileDescriptorSet=function(e){r.Message.initialize(this,e,0,-1,proto.google.protobuf.FileDescriptorSet.repeatedFields_,null)},s.inherits(proto.google.protobuf.FileDescriptorSet,r.Message),s.DEBUG&&!COMPILED&&(proto.google.protobuf.FileDescriptorSet.displayName="proto.google.protobuf.FileDescriptorSet"),proto.google.protobuf.FileDescriptorProto=function(e){r.Message.initialize(this,e,0,-1,proto.google.protobuf.FileDescriptorProto.repeatedFields_,null)},s.inherits(proto.google.protobuf.FileDescriptorProto,r.Message),s.DEBUG&&!COMPILED&&(proto.google.protobuf.FileDescriptorProto.displayName="proto.google.protobuf.FileDescriptorProto"),proto.google.protobuf.DescriptorProto=function(e){r.Message.initialize(this,e,0,-1,proto.google.protobuf.DescriptorProto.repeatedFields_,null)},s.inherits(proto.google.protobuf.DescriptorProto,r.Message),s.DEBUG&&!COMPILED&&(proto.google.protobuf.DescriptorProto.displayName="proto.google.protobuf.DescriptorProto"),proto.google.protobuf.DescriptorProto.ExtensionRange=function(e){r.Message.initialize(this,e,0,-1,null,null)},s.inherits(proto.google.protobuf.DescriptorProto.ExtensionRange,r.Message),s.DEBUG&&!COMPILED&&(proto.google.protobuf.DescriptorProto.ExtensionRange.displayName="proto.google.protobuf.DescriptorProto.ExtensionRange"),proto.google.protobuf.DescriptorProto.ReservedRange=function(e){r.Message.initialize(this,e,0,-1,null,null)},s.inherits(proto.google.protobuf.DescriptorProto.ReservedRange,r.Message),s.DEBUG&&!COMPILED&&(proto.google.protobuf.DescriptorProto.ReservedRange.displayName="proto.google.protobuf.DescriptorProto.ReservedRange"),proto.google.protobuf.ExtensionRangeOptions=function(e){r.Message.initialize(this,e,0,500,proto.google.protobuf.ExtensionRangeOptions.repeatedFields_,null)},s.inherits(proto.google.protobuf.ExtensionRangeOptions,r.Message),s.DEBUG&&!COMPILED&&(proto.google.protobuf.ExtensionRangeOptions.displayName="proto.google.protobuf.ExtensionRangeOptions"),proto.google.protobuf.ExtensionRangeOptions.extensions={},proto.google.protobuf.ExtensionRangeOptions.extensionsBinary={},proto.google.protobuf.FieldDescriptorProto=function(e){r.Message.initialize(this,e,0,-1,null,null)},s.inherits(proto.google.protobuf.FieldDescriptorProto,r.Message),s.DEBUG&&!COMPILED&&(proto.google.protobuf.FieldDescriptorProto.displayName="proto.google.protobuf.FieldDescriptorProto"),proto.google.protobuf.OneofDescriptorProto=function(e){r.Message.initialize(this,e,0,-1,null,null)},s.inherits(proto.google.protobuf.OneofDescriptorProto,r.Message),s.DEBUG&&!COMPILED&&(proto.google.protobuf.OneofDescriptorProto.displayName="proto.google.protobuf.OneofDescriptorProto"),proto.google.protobuf.EnumDescriptorProto=function(e){r.Message.initialize(this,e,0,-1,proto.google.protobuf.EnumDescriptorProto.repeatedFields_,null)},s.inherits(proto.google.protobuf.EnumDescriptorProto,r.Message),s.DEBUG&&!COMPILED&&(proto.google.protobuf.EnumDescriptorProto.displayName="proto.google.protobuf.EnumDescriptorProto"),proto.google.protobuf.EnumDescriptorProto.EnumReservedRange=function(e){r.Message.initialize(this,e,0,-1,null,null)},s.inherits(proto.google.protobuf.EnumDescriptorProto.EnumReservedRange,r.Message),s.DEBUG&&!COMPILED&&(proto.google.protobuf.EnumDescriptorProto.EnumReservedRange.displayName="proto.google.protobuf.EnumDescriptorProto.EnumReservedRange"),proto.google.protobuf.EnumValueDescriptorProto=function(e){r.Message.initialize(this,e,0,-1,null,null)},s.inherits(proto.google.protobuf.EnumValueDescriptorProto,r.Message),s.DEBUG&&!COMPILED&&(proto.google.protobuf.EnumValueDescriptorProto.displayName="proto.google.protobuf.EnumValueDescriptorProto"),proto.google.protobuf.ServiceDescriptorProto=function(e){r.Message.initialize(this,e,0,-1,proto.google.protobuf.ServiceDescriptorProto.repeatedFields_,null)},s.inherits(proto.google.protobuf.ServiceDescriptorProto,r.Message),s.DEBUG&&!COMPILED&&(proto.google.protobuf.ServiceDescriptorProto.displayName="proto.google.protobuf.ServiceDescriptorProto"),proto.google.protobuf.MethodDescriptorProto=function(e){r.Message.initialize(this,e,0,-1,null,null)},s.inherits(proto.google.protobuf.MethodDescriptorProto,r.Message),s.DEBUG&&!COMPILED&&(proto.google.protobuf.MethodDescriptorProto.displayName="proto.google.protobuf.MethodDescriptorProto"),proto.google.protobuf.FileOptions=function(e){r.Message.initialize(this,e,0,500,proto.google.protobuf.FileOptions.repeatedFields_,null)},s.inherits(proto.google.protobuf.FileOptions,r.Message),s.DEBUG&&!COMPILED&&(proto.google.protobuf.FileOptions.displayName="proto.google.protobuf.FileOptions"),proto.google.protobuf.FileOptions.extensions={},proto.google.protobuf.FileOptions.extensionsBinary={},proto.google.protobuf.MessageOptions=function(e){r.Message.initialize(this,e,0,500,proto.google.protobuf.MessageOptions.repeatedFields_,null)},s.inherits(proto.google.protobuf.MessageOptions,r.Message),s.DEBUG&&!COMPILED&&(proto.google.protobuf.MessageOptions.displayName="proto.google.protobuf.MessageOptions"),proto.google.protobuf.MessageOptions.extensions={},proto.google.protobuf.MessageOptions.extensionsBinary={},proto.google.protobuf.FieldOptions=function(e){r.Message.initialize(this,e,0,500,proto.google.protobuf.FieldOptions.repeatedFields_,null)},s.inherits(proto.google.protobuf.FieldOptions,r.Message),s.DEBUG&&!COMPILED&&(proto.google.protobuf.FieldOptions.displayName="proto.google.protobuf.FieldOptions"),proto.google.protobuf.FieldOptions.extensions={},proto.google.protobuf.FieldOptions.extensionsBinary={},proto.google.protobuf.OneofOptions=function(e){r.Message.initialize(this,e,0,500,proto.google.protobuf.OneofOptions.repeatedFields_,null)},s.inherits(proto.google.protobuf.OneofOptions,r.Message),s.DEBUG&&!COMPILED&&(proto.google.protobuf.OneofOptions.displayName="proto.google.protobuf.OneofOptions"),proto.google.protobuf.OneofOptions.extensions={},proto.google.protobuf.OneofOptions.extensionsBinary={},proto.google.protobuf.EnumOptions=function(e){r.Message.initialize(this,e,0,500,proto.google.protobuf.EnumOptions.repeatedFields_,null)},s.inherits(proto.google.protobuf.EnumOptions,r.Message),s.DEBUG&&!COMPILED&&(proto.google.protobuf.EnumOptions.displayName="proto.google.protobuf.EnumOptions"),proto.google.protobuf.EnumOptions.extensions={},proto.google.protobuf.EnumOptions.extensionsBinary={},proto.google.protobuf.EnumValueOptions=function(e){r.Message.initialize(this,e,0,500,proto.google.protobuf.EnumValueOptions.repeatedFields_,null)},s.inherits(proto.google.protobuf.EnumValueOptions,r.Message),s.DEBUG&&!COMPILED&&(proto.google.protobuf.EnumValueOptions.displayName="proto.google.protobuf.EnumValueOptions"),proto.google.protobuf.EnumValueOptions.extensions={},proto.google.protobuf.EnumValueOptions.extensionsBinary={},proto.google.protobuf.ServiceOptions=function(e){r.Message.initialize(this,e,0,500,proto.google.protobuf.ServiceOptions.repeatedFields_,null)},s.inherits(proto.google.protobuf.ServiceOptions,r.Message),s.DEBUG&&!COMPILED&&(proto.google.protobuf.ServiceOptions.displayName="proto.google.protobuf.ServiceOptions"),proto.google.protobuf.ServiceOptions.extensions={},proto.google.protobuf.ServiceOptions.extensionsBinary={},proto.google.protobuf.MethodOptions=function(e){r.Message.initialize(this,e,0,500,proto.google.protobuf.MethodOptions.repeatedFields_,null)},s.inherits(proto.google.protobuf.MethodOptions,r.Message),s.DEBUG&&!COMPILED&&(proto.google.protobuf.MethodOptions.displayName="proto.google.protobuf.MethodOptions"),proto.google.protobuf.MethodOptions.extensions={},proto.google.protobuf.MethodOptions.extensionsBinary={},proto.google.protobuf.UninterpretedOption=function(e){r.Message.initialize(this,e,0,-1,proto.google.protobuf.UninterpretedOption.repeatedFields_,null)},s.inherits(proto.google.protobuf.UninterpretedOption,r.Message),s.DEBUG&&!COMPILED&&(proto.google.protobuf.UninterpretedOption.displayName="proto.google.protobuf.UninterpretedOption"),proto.google.protobuf.UninterpretedOption.NamePart=function(e){r.Message.initialize(this,e,0,-1,null,null)},s.inherits(proto.google.protobuf.UninterpretedOption.NamePart,r.Message),s.DEBUG&&!COMPILED&&(proto.google.protobuf.UninterpretedOption.NamePart.displayName="proto.google.protobuf.UninterpretedOption.NamePart"),proto.google.protobuf.SourceCodeInfo=function(e){r.Message.initialize(this,e,0,-1,proto.google.protobuf.SourceCodeInfo.repeatedFields_,null)},s.inherits(proto.google.protobuf.SourceCodeInfo,r.Message),s.DEBUG&&!COMPILED&&(proto.google.protobuf.SourceCodeInfo.displayName="proto.google.protobuf.SourceCodeInfo"),proto.google.protobuf.SourceCodeInfo.Location=function(e){r.Message.initialize(this,e,0,-1,proto.google.protobuf.SourceCodeInfo.Location.repeatedFields_,null)},s.inherits(proto.google.protobuf.SourceCodeInfo.Location,r.Message),s.DEBUG&&!COMPILED&&(proto.google.protobuf.SourceCodeInfo.Location.displayName="proto.google.protobuf.SourceCodeInfo.Location"),proto.google.protobuf.GeneratedCodeInfo=function(e){r.Message.initialize(this,e,0,-1,proto.google.protobuf.GeneratedCodeInfo.repeatedFields_,null)},s.inherits(proto.google.protobuf.GeneratedCodeInfo,r.Message),s.DEBUG&&!COMPILED&&(proto.google.protobuf.GeneratedCodeInfo.displayName="proto.google.protobuf.GeneratedCodeInfo"),proto.google.protobuf.GeneratedCodeInfo.Annotation=function(e){r.Message.initialize(this,e,0,-1,proto.google.protobuf.GeneratedCodeInfo.Annotation.repeatedFields_,null)},s.inherits(proto.google.protobuf.GeneratedCodeInfo.Annotation,r.Message),s.DEBUG&&!COMPILED&&(proto.google.protobuf.GeneratedCodeInfo.Annotation.displayName="proto.google.protobuf.GeneratedCodeInfo.Annotation"),proto.google.protobuf.FileDescriptorSet.repeatedFields_=[1],r.Message.GENERATE_TO_OBJECT&&(proto.google.protobuf.FileDescriptorSet.prototype.toObject=function(e){return proto.google.protobuf.FileDescriptorSet.toObject(e,this)},proto.google.protobuf.FileDescriptorSet.toObject=function(e,t){var o={fileList:r.Message.toObjectList(t.getFileList(),proto.google.protobuf.FileDescriptorProto.toObject,e)};return e&&(o.$jspbMessageInstance=t),o}),proto.google.protobuf.FileDescriptorSet.deserializeBinary=function(e){var t=new r.BinaryReader(e),o=new proto.google.protobuf.FileDescriptorSet;return proto.google.protobuf.FileDescriptorSet.deserializeBinaryFromReader(o,t)},proto.google.protobuf.FileDescriptorSet.deserializeBinaryFromReader=function(e,t){for(;t.nextField()&&!t.isEndGroup();){if(1===t.getFieldNumber()){var o=new proto.google.protobuf.FileDescriptorProto;t.readMessage(o,proto.google.protobuf.FileDescriptorProto.deserializeBinaryFromReader),e.addFile(o)}else t.skipField()}return e},proto.google.protobuf.FileDescriptorSet.prototype.serializeBinary=function(){var e=new r.BinaryWriter;return proto.google.protobuf.FileDescriptorSet.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.google.protobuf.FileDescriptorSet.serializeBinaryToWriter=function(e,t){var o;(o=e.getFileList()).length>0&&t.writeRepeatedMessage(1,o,proto.google.protobuf.FileDescriptorProto.serializeBinaryToWriter)},proto.google.protobuf.FileDescriptorSet.prototype.getFileList=function(){return r.Message.getRepeatedWrapperField(this,proto.google.protobuf.FileDescriptorProto,1)},proto.google.protobuf.FileDescriptorSet.prototype.setFileList=function(e){return r.Message.setRepeatedWrapperField(this,1,e)},proto.google.protobuf.FileDescriptorSet.prototype.addFile=function(e,t){return r.Message.addToRepeatedWrapperField(this,1,e,proto.google.protobuf.FileDescriptorProto,t)},proto.google.protobuf.FileDescriptorSet.prototype.clearFileList=function(){return this.setFileList([])},proto.google.protobuf.FileDescriptorProto.repeatedFields_=[3,10,11,4,5,6,7],r.Message.GENERATE_TO_OBJECT&&(proto.google.protobuf.FileDescriptorProto.prototype.toObject=function(e){return proto.google.protobuf.FileDescriptorProto.toObject(e,this)},proto.google.protobuf.FileDescriptorProto.toObject=function(e,t){var o,s={name:null==(o=r.Message.getField(t,1))?void 0:o,pb_package:null==(o=r.Message.getField(t,2))?void 0:o,dependencyList:null==(o=r.Message.getRepeatedField(t,3))?void 0:o,publicDependencyList:null==(o=r.Message.getRepeatedField(t,10))?void 0:o,weakDependencyList:null==(o=r.Message.getRepeatedField(t,11))?void 0:o,messageTypeList:r.Message.toObjectList(t.getMessageTypeList(),proto.google.protobuf.DescriptorProto.toObject,e),enumTypeList:r.Message.toObjectList(t.getEnumTypeList(),proto.google.protobuf.EnumDescriptorProto.toObject,e),serviceList:r.Message.toObjectList(t.getServiceList(),proto.google.protobuf.ServiceDescriptorProto.toObject,e),extensionList:r.Message.toObjectList(t.getExtensionList(),proto.google.protobuf.FieldDescriptorProto.toObject,e),options:(o=t.getOptions())&&proto.google.protobuf.FileOptions.toObject(e,o),sourceCodeInfo:(o=t.getSourceCodeInfo())&&proto.google.protobuf.SourceCodeInfo.toObject(e,o),syntax:null==(o=r.Message.getField(t,12))?void 0:o};return e&&(s.$jspbMessageInstance=t),s}),proto.google.protobuf.FileDescriptorProto.deserializeBinary=function(e){var t=new r.BinaryReader(e),o=new proto.google.protobuf.FileDescriptorProto;return proto.google.protobuf.FileDescriptorProto.deserializeBinaryFromReader(o,t)},proto.google.protobuf.FileDescriptorProto.deserializeBinaryFromReader=function(e,t){for(;t.nextField()&&!t.isEndGroup();){switch(t.getFieldNumber()){case 1:var o=t.readString();e.setName(o);break;case 2:o=t.readString();e.setPackage(o);break;case 3:o=t.readString();e.addDependency(o);break;case 10:for(var r=t.isDelimited()?t.readPackedInt32():[t.readInt32()],s=0;s<r.length;s++)e.addPublicDependency(r[s]);break;case 11:for(r=t.isDelimited()?t.readPackedInt32():[t.readInt32()],s=0;s<r.length;s++)e.addWeakDependency(r[s]);break;case 4:o=new proto.google.protobuf.DescriptorProto;t.readMessage(o,proto.google.protobuf.DescriptorProto.deserializeBinaryFromReader),e.addMessageType(o);break;case 5:o=new proto.google.protobuf.EnumDescriptorProto;t.readMessage(o,proto.google.protobuf.EnumDescriptorProto.deserializeBinaryFromReader),e.addEnumType(o);break;case 6:o=new proto.google.protobuf.ServiceDescriptorProto;t.readMessage(o,proto.google.protobuf.ServiceDescriptorProto.deserializeBinaryFromReader),e.addService(o);break;case 7:o=new proto.google.protobuf.FieldDescriptorProto;t.readMessage(o,proto.google.protobuf.FieldDescriptorProto.deserializeBinaryFromReader),e.addExtension$(o);break;case 8:o=new proto.google.protobuf.FileOptions;t.readMessage(o,proto.google.protobuf.FileOptions.deserializeBinaryFromReader),e.setOptions(o);break;case 9:o=new proto.google.protobuf.SourceCodeInfo;t.readMessage(o,proto.google.protobuf.SourceCodeInfo.deserializeBinaryFromReader),e.setSourceCodeInfo(o);break;case 12:o=t.readString();e.setSyntax(o);break;default:t.skipField()}}return e},proto.google.protobuf.FileDescriptorProto.prototype.serializeBinary=function(){var e=new r.BinaryWriter;return proto.google.protobuf.FileDescriptorProto.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.google.protobuf.FileDescriptorProto.serializeBinaryToWriter=function(e,t){var o=void 0;null!=(o=r.Message.getField(e,1))&&t.writeString(1,o),null!=(o=r.Message.getField(e,2))&&t.writeString(2,o),(o=e.getDependencyList()).length>0&&t.writeRepeatedString(3,o),(o=e.getPublicDependencyList()).length>0&&t.writeRepeatedInt32(10,o),(o=e.getWeakDependencyList()).length>0&&t.writeRepeatedInt32(11,o),(o=e.getMessageTypeList()).length>0&&t.writeRepeatedMessage(4,o,proto.google.protobuf.DescriptorProto.serializeBinaryToWriter),(o=e.getEnumTypeList()).length>0&&t.writeRepeatedMessage(5,o,proto.google.protobuf.EnumDescriptorProto.serializeBinaryToWriter),(o=e.getServiceList()).length>0&&t.writeRepeatedMessage(6,o,proto.google.protobuf.ServiceDescriptorProto.serializeBinaryToWriter),(o=e.getExtensionList()).length>0&&t.writeRepeatedMessage(7,o,proto.google.protobuf.FieldDescriptorProto.serializeBinaryToWriter),null!=(o=e.getOptions())&&t.writeMessage(8,o,proto.google.protobuf.FileOptions.serializeBinaryToWriter),null!=(o=e.getSourceCodeInfo())&&t.writeMessage(9,o,proto.google.protobuf.SourceCodeInfo.serializeBinaryToWriter),null!=(o=r.Message.getField(e,12))&&t.writeString(12,o)},proto.google.protobuf.FileDescriptorProto.prototype.getName=function(){return r.Message.getFieldWithDefault(this,1,"")},proto.google.protobuf.FileDescriptorProto.prototype.setName=function(e){return r.Message.setField(this,1,e)},proto.google.protobuf.FileDescriptorProto.prototype.clearName=function(){return r.Message.setField(this,1,void 0)},proto.google.protobuf.FileDescriptorProto.prototype.hasName=function(){return null!=r.Message.getField(this,1)},proto.google.protobuf.FileDescriptorProto.prototype.getPackage=function(){return r.Message.getFieldWithDefault(this,2,"")},proto.google.protobuf.FileDescriptorProto.prototype.setPackage=function(e){return r.Message.setField(this,2,e)},proto.google.protobuf.FileDescriptorProto.prototype.clearPackage=function(){return r.Message.setField(this,2,void 0)},proto.google.protobuf.FileDescriptorProto.prototype.hasPackage=function(){return null!=r.Message.getField(this,2)},proto.google.protobuf.FileDescriptorProto.prototype.getDependencyList=function(){return r.Message.getRepeatedField(this,3)},proto.google.protobuf.FileDescriptorProto.prototype.setDependencyList=function(e){return r.Message.setField(this,3,e||[])},proto.google.protobuf.FileDescriptorProto.prototype.addDependency=function(e,t){return r.Message.addToRepeatedField(this,3,e,t)},proto.google.protobuf.FileDescriptorProto.prototype.clearDependencyList=function(){return this.setDependencyList([])},proto.google.protobuf.FileDescriptorProto.prototype.getPublicDependencyList=function(){return r.Message.getRepeatedField(this,10)},proto.google.protobuf.FileDescriptorProto.prototype.setPublicDependencyList=function(e){return r.Message.setField(this,10,e||[])},proto.google.protobuf.FileDescriptorProto.prototype.addPublicDependency=function(e,t){return r.Message.addToRepeatedField(this,10,e,t)},proto.google.protobuf.FileDescriptorProto.prototype.clearPublicDependencyList=function(){return this.setPublicDependencyList([])},proto.google.protobuf.FileDescriptorProto.prototype.getWeakDependencyList=function(){return r.Message.getRepeatedField(this,11)},proto.google.protobuf.FileDescriptorProto.prototype.setWeakDependencyList=function(e){return r.Message.setField(this,11,e||[])},proto.google.protobuf.FileDescriptorProto.prototype.addWeakDependency=function(e,t){return r.Message.addToRepeatedField(this,11,e,t)},proto.google.protobuf.FileDescriptorProto.prototype.clearWeakDependencyList=function(){return this.setWeakDependencyList([])},proto.google.protobuf.FileDescriptorProto.prototype.getMessageTypeList=function(){return r.Message.getRepeatedWrapperField(this,proto.google.protobuf.DescriptorProto,4)},proto.google.protobuf.FileDescriptorProto.prototype.setMessageTypeList=function(e){return r.Message.setRepeatedWrapperField(this,4,e)},proto.google.protobuf.FileDescriptorProto.prototype.addMessageType=function(e,t){return r.Message.addToRepeatedWrapperField(this,4,e,proto.google.protobuf.DescriptorProto,t)},proto.google.protobuf.FileDescriptorProto.prototype.clearMessageTypeList=function(){return this.setMessageTypeList([])},proto.google.protobuf.FileDescriptorProto.prototype.getEnumTypeList=function(){return r.Message.getRepeatedWrapperField(this,proto.google.protobuf.EnumDescriptorProto,5)},proto.google.protobuf.FileDescriptorProto.prototype.setEnumTypeList=function(e){return r.Message.setRepeatedWrapperField(this,5,e)},proto.google.protobuf.FileDescriptorProto.prototype.addEnumType=function(e,t){return r.Message.addToRepeatedWrapperField(this,5,e,proto.google.protobuf.EnumDescriptorProto,t)},proto.google.protobuf.FileDescriptorProto.prototype.clearEnumTypeList=function(){return this.setEnumTypeList([])},proto.google.protobuf.FileDescriptorProto.prototype.getServiceList=function(){return r.Message.getRepeatedWrapperField(this,proto.google.protobuf.ServiceDescriptorProto,6)},proto.google.protobuf.FileDescriptorProto.prototype.setServiceList=function(e){return r.Message.setRepeatedWrapperField(this,6,e)},proto.google.protobuf.FileDescriptorProto.prototype.addService=function(e,t){return r.Message.addToRepeatedWrapperField(this,6,e,proto.google.protobuf.ServiceDescriptorProto,t)},proto.google.protobuf.FileDescriptorProto.prototype.clearServiceList=function(){return this.setServiceList([])},proto.google.protobuf.FileDescriptorProto.prototype.getExtensionList=function(){return r.Message.getRepeatedWrapperField(this,proto.google.protobuf.FieldDescriptorProto,7)},proto.google.protobuf.FileDescriptorProto.prototype.setExtensionList=function(e){return r.Message.setRepeatedWrapperField(this,7,e)},proto.google.protobuf.FileDescriptorProto.prototype.addExtension$=function(e,t){return r.Message.addToRepeatedWrapperField(this,7,e,proto.google.protobuf.FieldDescriptorProto,t)},proto.google.protobuf.FileDescriptorProto.prototype.clearExtensionList=function(){return this.setExtensionList([])},proto.google.protobuf.FileDescriptorProto.prototype.getOptions=function(){return r.Message.getWrapperField(this,proto.google.protobuf.FileOptions,8)},proto.google.protobuf.FileDescriptorProto.prototype.setOptions=function(e){return r.Message.setWrapperField(this,8,e)},proto.google.protobuf.FileDescriptorProto.prototype.clearOptions=function(){return this.setOptions(void 0)},proto.google.protobuf.FileDescriptorProto.prototype.hasOptions=function(){return null!=r.Message.getField(this,8)},proto.google.protobuf.FileDescriptorProto.prototype.getSourceCodeInfo=function(){return r.Message.getWrapperField(this,proto.google.protobuf.SourceCodeInfo,9)},proto.google.protobuf.FileDescriptorProto.prototype.setSourceCodeInfo=function(e){return r.Message.setWrapperField(this,9,e)},proto.google.protobuf.FileDescriptorProto.prototype.clearSourceCodeInfo=function(){return this.setSourceCodeInfo(void 0)},proto.google.protobuf.FileDescriptorProto.prototype.hasSourceCodeInfo=function(){return null!=r.Message.getField(this,9)},proto.google.protobuf.FileDescriptorProto.prototype.getSyntax=function(){return r.Message.getFieldWithDefault(this,12,"")},proto.google.protobuf.FileDescriptorProto.prototype.setSyntax=function(e){return r.Message.setField(this,12,e)},proto.google.protobuf.FileDescriptorProto.prototype.clearSyntax=function(){return r.Message.setField(this,12,void 0)},proto.google.protobuf.FileDescriptorProto.prototype.hasSyntax=function(){return null!=r.Message.getField(this,12)},proto.google.protobuf.DescriptorProto.repeatedFields_=[2,6,3,4,5,8,9,10],r.Message.GENERATE_TO_OBJECT&&(proto.google.protobuf.DescriptorProto.prototype.toObject=function(e){return proto.google.protobuf.DescriptorProto.toObject(e,this)},proto.google.protobuf.DescriptorProto.toObject=function(e,t){var o,s={name:null==(o=r.Message.getField(t,1))?void 0:o,fieldList:r.Message.toObjectList(t.getFieldList(),proto.google.protobuf.FieldDescriptorProto.toObject,e),extensionList:r.Message.toObjectList(t.getExtensionList(),proto.google.protobuf.FieldDescriptorProto.toObject,e),nestedTypeList:r.Message.toObjectList(t.getNestedTypeList(),proto.google.protobuf.DescriptorProto.toObject,e),enumTypeList:r.Message.toObjectList(t.getEnumTypeList(),proto.google.protobuf.EnumDescriptorProto.toObject,e),extensionRangeList:r.Message.toObjectList(t.getExtensionRangeList(),proto.google.protobuf.DescriptorProto.ExtensionRange.toObject,e),oneofDeclList:r.Message.toObjectList(t.getOneofDeclList(),proto.google.protobuf.OneofDescriptorProto.toObject,e),options:(o=t.getOptions())&&proto.google.protobuf.MessageOptions.toObject(e,o),reservedRangeList:r.Message.toObjectList(t.getReservedRangeList(),proto.google.protobuf.DescriptorProto.ReservedRange.toObject,e),reservedNameList:null==(o=r.Message.getRepeatedField(t,10))?void 0:o};return e&&(s.$jspbMessageInstance=t),s}),proto.google.protobuf.DescriptorProto.deserializeBinary=function(e){var t=new r.BinaryReader(e),o=new proto.google.protobuf.DescriptorProto;return proto.google.protobuf.DescriptorProto.deserializeBinaryFromReader(o,t)},proto.google.protobuf.DescriptorProto.deserializeBinaryFromReader=function(e,t){for(;t.nextField()&&!t.isEndGroup();){switch(t.getFieldNumber()){case 1:var o=t.readString();e.setName(o);break;case 2:o=new proto.google.protobuf.FieldDescriptorProto;t.readMessage(o,proto.google.protobuf.FieldDescriptorProto.deserializeBinaryFromReader),e.addField(o);break;case 6:o=new proto.google.protobuf.FieldDescriptorProto;t.readMessage(o,proto.google.protobuf.FieldDescriptorProto.deserializeBinaryFromReader),e.addExtension$(o);break;case 3:o=new proto.google.protobuf.DescriptorProto;t.readMessage(o,proto.google.protobuf.DescriptorProto.deserializeBinaryFromReader),e.addNestedType(o);break;case 4:o=new proto.google.protobuf.EnumDescriptorProto;t.readMessage(o,proto.google.protobuf.EnumDescriptorProto.deserializeBinaryFromReader),e.addEnumType(o);break;case 5:o=new proto.google.protobuf.DescriptorProto.ExtensionRange;t.readMessage(o,proto.google.protobuf.DescriptorProto.ExtensionRange.deserializeBinaryFromReader),e.addExtensionRange(o);break;case 8:o=new proto.google.protobuf.OneofDescriptorProto;t.readMessage(o,proto.google.protobuf.OneofDescriptorProto.deserializeBinaryFromReader),e.addOneofDecl(o);break;case 7:o=new proto.google.protobuf.MessageOptions;t.readMessage(o,proto.google.protobuf.MessageOptions.deserializeBinaryFromReader),e.setOptions(o);break;case 9:o=new proto.google.protobuf.DescriptorProto.ReservedRange;t.readMessage(o,proto.google.protobuf.DescriptorProto.ReservedRange.deserializeBinaryFromReader),e.addReservedRange(o);break;case 10:o=t.readString();e.addReservedName(o);break;default:t.skipField()}}return e},proto.google.protobuf.DescriptorProto.prototype.serializeBinary=function(){var e=new r.BinaryWriter;return proto.google.protobuf.DescriptorProto.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.google.protobuf.DescriptorProto.serializeBinaryToWriter=function(e,t){var o=void 0;null!=(o=r.Message.getField(e,1))&&t.writeString(1,o),(o=e.getFieldList()).length>0&&t.writeRepeatedMessage(2,o,proto.google.protobuf.FieldDescriptorProto.serializeBinaryToWriter),(o=e.getExtensionList()).length>0&&t.writeRepeatedMessage(6,o,proto.google.protobuf.FieldDescriptorProto.serializeBinaryToWriter),(o=e.getNestedTypeList()).length>0&&t.writeRepeatedMessage(3,o,proto.google.protobuf.DescriptorProto.serializeBinaryToWriter),(o=e.getEnumTypeList()).length>0&&t.writeRepeatedMessage(4,o,proto.google.protobuf.EnumDescriptorProto.serializeBinaryToWriter),(o=e.getExtensionRangeList()).length>0&&t.writeRepeatedMessage(5,o,proto.google.protobuf.DescriptorProto.ExtensionRange.serializeBinaryToWriter),(o=e.getOneofDeclList()).length>0&&t.writeRepeatedMessage(8,o,proto.google.protobuf.OneofDescriptorProto.serializeBinaryToWriter),null!=(o=e.getOptions())&&t.writeMessage(7,o,proto.google.protobuf.MessageOptions.serializeBinaryToWriter),(o=e.getReservedRangeList()).length>0&&t.writeRepeatedMessage(9,o,proto.google.protobuf.DescriptorProto.ReservedRange.serializeBinaryToWriter),(o=e.getReservedNameList()).length>0&&t.writeRepeatedString(10,o)},r.Message.GENERATE_TO_OBJECT&&(proto.google.protobuf.DescriptorProto.ExtensionRange.prototype.toObject=function(e){return proto.google.protobuf.DescriptorProto.ExtensionRange.toObject(e,this)},proto.google.protobuf.DescriptorProto.ExtensionRange.toObject=function(e,t){var o,s={start:null==(o=r.Message.getField(t,1))?void 0:o,end:null==(o=r.Message.getField(t,2))?void 0:o,options:(o=t.getOptions())&&proto.google.protobuf.ExtensionRangeOptions.toObject(e,o)};return e&&(s.$jspbMessageInstance=t),s}),proto.google.protobuf.DescriptorProto.ExtensionRange.deserializeBinary=function(e){var t=new r.BinaryReader(e),o=new proto.google.protobuf.DescriptorProto.ExtensionRange;return proto.google.protobuf.DescriptorProto.ExtensionRange.deserializeBinaryFromReader(o,t)},proto.google.protobuf.DescriptorProto.ExtensionRange.deserializeBinaryFromReader=function(e,t){for(;t.nextField()&&!t.isEndGroup();){switch(t.getFieldNumber()){case 1:var o=t.readInt32();e.setStart(o);break;case 2:o=t.readInt32();e.setEnd(o);break;case 3:o=new proto.google.protobuf.ExtensionRangeOptions;t.readMessage(o,proto.google.protobuf.ExtensionRangeOptions.deserializeBinaryFromReader),e.setOptions(o);break;default:t.skipField()}}return e},proto.google.protobuf.DescriptorProto.ExtensionRange.prototype.serializeBinary=function(){var e=new r.BinaryWriter;return proto.google.protobuf.DescriptorProto.ExtensionRange.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.google.protobuf.DescriptorProto.ExtensionRange.serializeBinaryToWriter=function(e,t){var o=void 0;null!=(o=r.Message.getField(e,1))&&t.writeInt32(1,o),null!=(o=r.Message.getField(e,2))&&t.writeInt32(2,o),null!=(o=e.getOptions())&&t.writeMessage(3,o,proto.google.protobuf.ExtensionRangeOptions.serializeBinaryToWriter)},proto.google.protobuf.DescriptorProto.ExtensionRange.prototype.getStart=function(){return r.Message.getFieldWithDefault(this,1,0)},proto.google.protobuf.DescriptorProto.ExtensionRange.prototype.setStart=function(e){return r.Message.setField(this,1,e)},proto.google.protobuf.DescriptorProto.ExtensionRange.prototype.clearStart=function(){return r.Message.setField(this,1,void 0)},proto.google.protobuf.DescriptorProto.ExtensionRange.prototype.hasStart=function(){return null!=r.Message.getField(this,1)},proto.google.protobuf.DescriptorProto.ExtensionRange.prototype.getEnd=function(){return r.Message.getFieldWithDefault(this,2,0)},proto.google.protobuf.DescriptorProto.ExtensionRange.prototype.setEnd=function(e){return r.Message.setField(this,2,e)},proto.google.protobuf.DescriptorProto.ExtensionRange.prototype.clearEnd=function(){return r.Message.setField(this,2,void 0)},proto.google.protobuf.DescriptorProto.ExtensionRange.prototype.hasEnd=function(){return null!=r.Message.getField(this,2)},proto.google.protobuf.DescriptorProto.ExtensionRange.prototype.getOptions=function(){return r.Message.getWrapperField(this,proto.google.protobuf.ExtensionRangeOptions,3)},proto.google.protobuf.DescriptorProto.ExtensionRange.prototype.setOptions=function(e){return r.Message.setWrapperField(this,3,e)},proto.google.protobuf.DescriptorProto.ExtensionRange.prototype.clearOptions=function(){return this.setOptions(void 0)},proto.google.protobuf.DescriptorProto.ExtensionRange.prototype.hasOptions=function(){return null!=r.Message.getField(this,3)},r.Message.GENERATE_TO_OBJECT&&(proto.google.protobuf.DescriptorProto.ReservedRange.prototype.toObject=function(e){return proto.google.protobuf.DescriptorProto.ReservedRange.toObject(e,this)},proto.google.protobuf.DescriptorProto.ReservedRange.toObject=function(e,t){var o,s={start:null==(o=r.Message.getField(t,1))?void 0:o,end:null==(o=r.Message.getField(t,2))?void 0:o};return e&&(s.$jspbMessageInstance=t),s}),proto.google.protobuf.DescriptorProto.ReservedRange.deserializeBinary=function(e){var t=new r.BinaryReader(e),o=new proto.google.protobuf.DescriptorProto.ReservedRange;return proto.google.protobuf.DescriptorProto.ReservedRange.deserializeBinaryFromReader(o,t)},proto.google.protobuf.DescriptorProto.ReservedRange.deserializeBinaryFromReader=function(e,t){for(;t.nextField()&&!t.isEndGroup();){switch(t.getFieldNumber()){case 1:var o=t.readInt32();e.setStart(o);break;case 2:o=t.readInt32();e.setEnd(o);break;default:t.skipField()}}return e},proto.google.protobuf.DescriptorProto.ReservedRange.prototype.serializeBinary=function(){var e=new r.BinaryWriter;return proto.google.protobuf.DescriptorProto.ReservedRange.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.google.protobuf.DescriptorProto.ReservedRange.serializeBinaryToWriter=function(e,t){var o=void 0;null!=(o=r.Message.getField(e,1))&&t.writeInt32(1,o),null!=(o=r.Message.getField(e,2))&&t.writeInt32(2,o)},proto.google.protobuf.DescriptorProto.ReservedRange.prototype.getStart=function(){return r.Message.getFieldWithDefault(this,1,0)},proto.google.protobuf.DescriptorProto.ReservedRange.prototype.setStart=function(e){return r.Message.setField(this,1,e)},proto.google.protobuf.DescriptorProto.ReservedRange.prototype.clearStart=function(){return r.Message.setField(this,1,void 0)},proto.google.protobuf.DescriptorProto.ReservedRange.prototype.hasStart=function(){return null!=r.Message.getField(this,1)},proto.google.protobuf.DescriptorProto.ReservedRange.prototype.getEnd=function(){return r.Message.getFieldWithDefault(this,2,0)},proto.google.protobuf.DescriptorProto.ReservedRange.prototype.setEnd=function(e){return r.Message.setField(this,2,e)},proto.google.protobuf.DescriptorProto.ReservedRange.prototype.clearEnd=function(){return r.Message.setField(this,2,void 0)},proto.google.protobuf.DescriptorProto.ReservedRange.prototype.hasEnd=function(){return null!=r.Message.getField(this,2)},proto.google.protobuf.DescriptorProto.prototype.getName=function(){return r.Message.getFieldWithDefault(this,1,"")},proto.google.protobuf.DescriptorProto.prototype.setName=function(e){return r.Message.setField(this,1,e)},proto.google.protobuf.DescriptorProto.prototype.clearName=function(){return r.Message.setField(this,1,void 0)},proto.google.protobuf.DescriptorProto.prototype.hasName=function(){return null!=r.Message.getField(this,1)},proto.google.protobuf.DescriptorProto.prototype.getFieldList=function(){return r.Message.getRepeatedWrapperField(this,proto.google.protobuf.FieldDescriptorProto,2)},proto.google.protobuf.DescriptorProto.prototype.setFieldList=function(e){return r.Message.setRepeatedWrapperField(this,2,e)},proto.google.protobuf.DescriptorProto.prototype.addField=function(e,t){return r.Message.addToRepeatedWrapperField(this,2,e,proto.google.protobuf.FieldDescriptorProto,t)},proto.google.protobuf.DescriptorProto.prototype.clearFieldList=function(){return this.setFieldList([])},proto.google.protobuf.DescriptorProto.prototype.getExtensionList=function(){return r.Message.getRepeatedWrapperField(this,proto.google.protobuf.FieldDescriptorProto,6)},proto.google.protobuf.DescriptorProto.prototype.setExtensionList=function(e){return r.Message.setRepeatedWrapperField(this,6,e)},proto.google.protobuf.DescriptorProto.prototype.addExtension$=function(e,t){return r.Message.addToRepeatedWrapperField(this,6,e,proto.google.protobuf.FieldDescriptorProto,t)},proto.google.protobuf.DescriptorProto.prototype.clearExtensionList=function(){return this.setExtensionList([])},proto.google.protobuf.DescriptorProto.prototype.getNestedTypeList=function(){return r.Message.getRepeatedWrapperField(this,proto.google.protobuf.DescriptorProto,3)},proto.google.protobuf.DescriptorProto.prototype.setNestedTypeList=function(e){return r.Message.setRepeatedWrapperField(this,3,e)},proto.google.protobuf.DescriptorProto.prototype.addNestedType=function(e,t){return r.Message.addToRepeatedWrapperField(this,3,e,proto.google.protobuf.DescriptorProto,t)},proto.google.protobuf.DescriptorProto.prototype.clearNestedTypeList=function(){return this.setNestedTypeList([])},proto.google.protobuf.DescriptorProto.prototype.getEnumTypeList=function(){return r.Message.getRepeatedWrapperField(this,proto.google.protobuf.EnumDescriptorProto,4)},proto.google.protobuf.DescriptorProto.prototype.setEnumTypeList=function(e){return r.Message.setRepeatedWrapperField(this,4,e)},proto.google.protobuf.DescriptorProto.prototype.addEnumType=function(e,t){return r.Message.addToRepeatedWrapperField(this,4,e,proto.google.protobuf.EnumDescriptorProto,t)},proto.google.protobuf.DescriptorProto.prototype.clearEnumTypeList=function(){return this.setEnumTypeList([])},proto.google.protobuf.DescriptorProto.prototype.getExtensionRangeList=function(){return r.Message.getRepeatedWrapperField(this,proto.google.protobuf.DescriptorProto.ExtensionRange,5)},proto.google.protobuf.DescriptorProto.prototype.setExtensionRangeList=function(e){return r.Message.setRepeatedWrapperField(this,5,e)},proto.google.protobuf.DescriptorProto.prototype.addExtensionRange=function(e,t){return r.Message.addToRepeatedWrapperField(this,5,e,proto.google.protobuf.DescriptorProto.ExtensionRange,t)},proto.google.protobuf.DescriptorProto.prototype.clearExtensionRangeList=function(){return this.setExtensionRangeList([])},proto.google.protobuf.DescriptorProto.prototype.getOneofDeclList=function(){return r.Message.getRepeatedWrapperField(this,proto.google.protobuf.OneofDescriptorProto,8)},proto.google.protobuf.DescriptorProto.prototype.setOneofDeclList=function(e){return r.Message.setRepeatedWrapperField(this,8,e)},proto.google.protobuf.DescriptorProto.prototype.addOneofDecl=function(e,t){return r.Message.addToRepeatedWrapperField(this,8,e,proto.google.protobuf.OneofDescriptorProto,t)},proto.google.protobuf.DescriptorProto.prototype.clearOneofDeclList=function(){return this.setOneofDeclList([])},proto.google.protobuf.DescriptorProto.prototype.getOptions=function(){return r.Message.getWrapperField(this,proto.google.protobuf.MessageOptions,7)},proto.google.protobuf.DescriptorProto.prototype.setOptions=function(e){return r.Message.setWrapperField(this,7,e)},proto.google.protobuf.DescriptorProto.prototype.clearOptions=function(){return this.setOptions(void 0)},proto.google.protobuf.DescriptorProto.prototype.hasOptions=function(){return null!=r.Message.getField(this,7)},proto.google.protobuf.DescriptorProto.prototype.getReservedRangeList=function(){return r.Message.getRepeatedWrapperField(this,proto.google.protobuf.DescriptorProto.ReservedRange,9)},proto.google.protobuf.DescriptorProto.prototype.setReservedRangeList=function(e){return r.Message.setRepeatedWrapperField(this,9,e)},proto.google.protobuf.DescriptorProto.prototype.addReservedRange=function(e,t){return r.Message.addToRepeatedWrapperField(this,9,e,proto.google.protobuf.DescriptorProto.ReservedRange,t)},proto.google.protobuf.DescriptorProto.prototype.clearReservedRangeList=function(){return this.setReservedRangeList([])},proto.google.protobuf.DescriptorProto.prototype.getReservedNameList=function(){return r.Message.getRepeatedField(this,10)},proto.google.protobuf.DescriptorProto.prototype.setReservedNameList=function(e){return r.Message.setField(this,10,e||[])},proto.google.protobuf.DescriptorProto.prototype.addReservedName=function(e,t){return r.Message.addToRepeatedField(this,10,e,t)},proto.google.protobuf.DescriptorProto.prototype.clearReservedNameList=function(){return this.setReservedNameList([])},proto.google.protobuf.ExtensionRangeOptions.repeatedFields_=[999],r.Message.GENERATE_TO_OBJECT&&(proto.google.protobuf.ExtensionRangeOptions.prototype.toObject=function(e){return proto.google.protobuf.ExtensionRangeOptions.toObject(e,this)},proto.google.protobuf.ExtensionRangeOptions.toObject=function(e,t){var o={uninterpretedOptionList:r.Message.toObjectList(t.getUninterpretedOptionList(),proto.google.protobuf.UninterpretedOption.toObject,e)};return r.Message.toObjectExtension(t,o,proto.google.protobuf.ExtensionRangeOptions.extensions,proto.google.protobuf.ExtensionRangeOptions.prototype.getExtension,e),e&&(o.$jspbMessageInstance=t),o}),proto.google.protobuf.ExtensionRangeOptions.deserializeBinary=function(e){var t=new r.BinaryReader(e),o=new proto.google.protobuf.ExtensionRangeOptions;return proto.google.protobuf.ExtensionRangeOptions.deserializeBinaryFromReader(o,t)},proto.google.protobuf.ExtensionRangeOptions.deserializeBinaryFromReader=function(e,t){for(;t.nextField()&&!t.isEndGroup();){if(999===t.getFieldNumber()){var o=new proto.google.protobuf.UninterpretedOption;t.readMessage(o,proto.google.protobuf.UninterpretedOption.deserializeBinaryFromReader),e.addUninterpretedOption(o)}else r.Message.readBinaryExtension(e,t,proto.google.protobuf.ExtensionRangeOptions.extensionsBinary,proto.google.protobuf.ExtensionRangeOptions.prototype.getExtension,proto.google.protobuf.ExtensionRangeOptions.prototype.setExtension)}return e},proto.google.protobuf.ExtensionRangeOptions.prototype.serializeBinary=function(){var e=new r.BinaryWriter;return proto.google.protobuf.ExtensionRangeOptions.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.google.protobuf.ExtensionRangeOptions.serializeBinaryToWriter=function(e,t){var o;(o=e.getUninterpretedOptionList()).length>0&&t.writeRepeatedMessage(999,o,proto.google.protobuf.UninterpretedOption.serializeBinaryToWriter),r.Message.serializeBinaryExtensions(e,t,proto.google.protobuf.ExtensionRangeOptions.extensionsBinary,proto.google.protobuf.ExtensionRangeOptions.prototype.getExtension)},proto.google.protobuf.ExtensionRangeOptions.prototype.getUninterpretedOptionList=function(){return r.Message.getRepeatedWrapperField(this,proto.google.protobuf.UninterpretedOption,999)},proto.google.protobuf.ExtensionRangeOptions.prototype.setUninterpretedOptionList=function(e){return r.Message.setRepeatedWrapperField(this,999,e)},proto.google.protobuf.ExtensionRangeOptions.prototype.addUninterpretedOption=function(e,t){return r.Message.addToRepeatedWrapperField(this,999,e,proto.google.protobuf.UninterpretedOption,t)},proto.google.protobuf.ExtensionRangeOptions.prototype.clearUninterpretedOptionList=function(){return this.setUninterpretedOptionList([])},r.Message.GENERATE_TO_OBJECT&&(proto.google.protobuf.FieldDescriptorProto.prototype.toObject=function(e){return proto.google.protobuf.FieldDescriptorProto.toObject(e,this)},proto.google.protobuf.FieldDescriptorProto.toObject=function(e,t){var o,s={name:null==(o=r.Message.getField(t,1))?void 0:o,number:null==(o=r.Message.getField(t,3))?void 0:o,label:null==(o=r.Message.getField(t,4))?void 0:o,type:null==(o=r.Message.getField(t,5))?void 0:o,typeName:null==(o=r.Message.getField(t,6))?void 0:o,extendee:null==(o=r.Message.getField(t,2))?void 0:o,defaultValue:null==(o=r.Message.getField(t,7))?void 0:o,oneofIndex:null==(o=r.Message.getField(t,9))?void 0:o,jsonName:null==(o=r.Message.getField(t,10))?void 0:o,options:(o=t.getOptions())&&proto.google.protobuf.FieldOptions.toObject(e,o),proto3Optional:null==(o=r.Message.getBooleanField(t,17))?void 0:o};return e&&(s.$jspbMessageInstance=t),s}),proto.google.protobuf.FieldDescriptorProto.deserializeBinary=function(e){var t=new r.BinaryReader(e),o=new proto.google.protobuf.FieldDescriptorProto;return proto.google.protobuf.FieldDescriptorProto.deserializeBinaryFromReader(o,t)},proto.google.protobuf.FieldDescriptorProto.deserializeBinaryFromReader=function(e,t){for(;t.nextField()&&!t.isEndGroup();){switch(t.getFieldNumber()){case 1:var o=t.readString();e.setName(o);break;case 3:o=t.readInt32();e.setNumber(o);break;case 4:o=t.readEnum();e.setLabel(o);break;case 5:o=t.readEnum();e.setType(o);break;case 6:o=t.readString();e.setTypeName(o);break;case 2:o=t.readString();e.setExtendee(o);break;case 7:o=t.readString();e.setDefaultValue(o);break;case 9:o=t.readInt32();e.setOneofIndex(o);break;case 10:o=t.readString();e.setJsonName(o);break;case 8:o=new proto.google.protobuf.FieldOptions;t.readMessage(o,proto.google.protobuf.FieldOptions.deserializeBinaryFromReader),e.setOptions(o);break;case 17:o=t.readBool();e.setProto3Optional(o);break;default:t.skipField()}}return e},proto.google.protobuf.FieldDescriptorProto.prototype.serializeBinary=function(){var e=new r.BinaryWriter;return proto.google.protobuf.FieldDescriptorProto.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.google.protobuf.FieldDescriptorProto.serializeBinaryToWriter=function(e,t){var o=void 0;null!=(o=r.Message.getField(e,1))&&t.writeString(1,o),null!=(o=r.Message.getField(e,3))&&t.writeInt32(3,o),null!=(o=r.Message.getField(e,4))&&t.writeEnum(4,o),null!=(o=r.Message.getField(e,5))&&t.writeEnum(5,o),null!=(o=r.Message.getField(e,6))&&t.writeString(6,o),null!=(o=r.Message.getField(e,2))&&t.writeString(2,o),null!=(o=r.Message.getField(e,7))&&t.writeString(7,o),null!=(o=r.Message.getField(e,9))&&t.writeInt32(9,o),null!=(o=r.Message.getField(e,10))&&t.writeString(10,o),null!=(o=e.getOptions())&&t.writeMessage(8,o,proto.google.protobuf.FieldOptions.serializeBinaryToWriter),null!=(o=r.Message.getField(e,17))&&t.writeBool(17,o)},proto.google.protobuf.FieldDescriptorProto.Type={TYPE_DOUBLE:1,TYPE_FLOAT:2,TYPE_INT64:3,TYPE_UINT64:4,TYPE_INT32:5,TYPE_FIXED64:6,TYPE_FIXED32:7,TYPE_BOOL:8,TYPE_STRING:9,TYPE_GROUP:10,TYPE_MESSAGE:11,TYPE_BYTES:12,TYPE_UINT32:13,TYPE_ENUM:14,TYPE_SFIXED32:15,TYPE_SFIXED64:16,TYPE_SINT32:17,TYPE_SINT64:18},proto.google.protobuf.FieldDescriptorProto.Label={LABEL_OPTIONAL:1,LABEL_REQUIRED:2,LABEL_REPEATED:3},proto.google.protobuf.FieldDescriptorProto.prototype.getName=function(){return r.Message.getFieldWithDefault(this,1,"")},proto.google.protobuf.FieldDescriptorProto.prototype.setName=function(e){return r.Message.setField(this,1,e)},proto.google.protobuf.FieldDescriptorProto.prototype.clearName=function(){return r.Message.setField(this,1,void 0)},proto.google.protobuf.FieldDescriptorProto.prototype.hasName=function(){return null!=r.Message.getField(this,1)},proto.google.protobuf.FieldDescriptorProto.prototype.getNumber=function(){return r.Message.getFieldWithDefault(this,3,0)},proto.google.protobuf.FieldDescriptorProto.prototype.setNumber=function(e){return r.Message.setField(this,3,e)},proto.google.protobuf.FieldDescriptorProto.prototype.clearNumber=function(){return r.Message.setField(this,3,void 0)},proto.google.protobuf.FieldDescriptorProto.prototype.hasNumber=function(){return null!=r.Message.getField(this,3)},proto.google.protobuf.FieldDescriptorProto.prototype.getLabel=function(){return r.Message.getFieldWithDefault(this,4,1)},proto.google.protobuf.FieldDescriptorProto.prototype.setLabel=function(e){return r.Message.setField(this,4,e)},proto.google.protobuf.FieldDescriptorProto.prototype.clearLabel=function(){return r.Message.setField(this,4,void 0)},proto.google.protobuf.FieldDescriptorProto.prototype.hasLabel=function(){return null!=r.Message.getField(this,4)},proto.google.protobuf.FieldDescriptorProto.prototype.getType=function(){return r.Message.getFieldWithDefault(this,5,1)},proto.google.protobuf.FieldDescriptorProto.prototype.setType=function(e){return r.Message.setField(this,5,e)},proto.google.protobuf.FieldDescriptorProto.prototype.clearType=function(){return r.Message.setField(this,5,void 0)},proto.google.protobuf.FieldDescriptorProto.prototype.hasType=function(){return null!=r.Message.getField(this,5)},proto.google.protobuf.FieldDescriptorProto.prototype.getTypeName=function(){return r.Message.getFieldWithDefault(this,6,"")},proto.google.protobuf.FieldDescriptorProto.prototype.setTypeName=function(e){return r.Message.setField(this,6,e)},proto.google.protobuf.FieldDescriptorProto.prototype.clearTypeName=function(){return r.Message.setField(this,6,void 0)},proto.google.protobuf.FieldDescriptorProto.prototype.hasTypeName=function(){return null!=r.Message.getField(this,6)},proto.google.protobuf.FieldDescriptorProto.prototype.getExtendee=function(){return r.Message.getFieldWithDefault(this,2,"")},proto.google.protobuf.FieldDescriptorProto.prototype.setExtendee=function(e){return r.Message.setField(this,2,e)},proto.google.protobuf.FieldDescriptorProto.prototype.clearExtendee=function(){return r.Message.setField(this,2,void 0)},proto.google.protobuf.FieldDescriptorProto.prototype.hasExtendee=function(){return null!=r.Message.getField(this,2)},proto.google.protobuf.FieldDescriptorProto.prototype.getDefaultValue=function(){return r.Message.getFieldWithDefault(this,7,"")},proto.google.protobuf.FieldDescriptorProto.prototype.setDefaultValue=function(e){return r.Message.setField(this,7,e)},proto.google.protobuf.FieldDescriptorProto.prototype.clearDefaultValue=function(){return r.Message.setField(this,7,void 0)},proto.google.protobuf.FieldDescriptorProto.prototype.hasDefaultValue=function(){return null!=r.Message.getField(this,7)},proto.google.protobuf.FieldDescriptorProto.prototype.getOneofIndex=function(){return r.Message.getFieldWithDefault(this,9,0)},proto.google.protobuf.FieldDescriptorProto.prototype.setOneofIndex=function(e){return r.Message.setField(this,9,e)},proto.google.protobuf.FieldDescriptorProto.prototype.clearOneofIndex=function(){return r.Message.setField(this,9,void 0)},proto.google.protobuf.FieldDescriptorProto.prototype.hasOneofIndex=function(){return null!=r.Message.getField(this,9)},proto.google.protobuf.FieldDescriptorProto.prototype.getJsonName=function(){return r.Message.getFieldWithDefault(this,10,"")},proto.google.protobuf.FieldDescriptorProto.prototype.setJsonName=function(e){return r.Message.setField(this,10,e)},proto.google.protobuf.FieldDescriptorProto.prototype.clearJsonName=function(){return r.Message.setField(this,10,void 0)},proto.google.protobuf.FieldDescriptorProto.prototype.hasJsonName=function(){return null!=r.Message.getField(this,10)},proto.google.protobuf.FieldDescriptorProto.prototype.getOptions=function(){return r.Message.getWrapperField(this,proto.google.protobuf.FieldOptions,8)},proto.google.protobuf.FieldDescriptorProto.prototype.setOptions=function(e){return r.Message.setWrapperField(this,8,e)},proto.google.protobuf.FieldDescriptorProto.prototype.clearOptions=function(){return this.setOptions(void 0)},proto.google.protobuf.FieldDescriptorProto.prototype.hasOptions=function(){return null!=r.Message.getField(this,8)},proto.google.protobuf.FieldDescriptorProto.prototype.getProto3Optional=function(){return r.Message.getBooleanFieldWithDefault(this,17,!1)},proto.google.protobuf.FieldDescriptorProto.prototype.setProto3Optional=function(e){return r.Message.setField(this,17,e)},proto.google.protobuf.FieldDescriptorProto.prototype.clearProto3Optional=function(){return r.Message.setField(this,17,void 0)},proto.google.protobuf.FieldDescriptorProto.prototype.hasProto3Optional=function(){return null!=r.Message.getField(this,17)},r.Message.GENERATE_TO_OBJECT&&(proto.google.protobuf.OneofDescriptorProto.prototype.toObject=function(e){return proto.google.protobuf.OneofDescriptorProto.toObject(e,this)},proto.google.protobuf.OneofDescriptorProto.toObject=function(e,t){var o,s={name:null==(o=r.Message.getField(t,1))?void 0:o,options:(o=t.getOptions())&&proto.google.protobuf.OneofOptions.toObject(e,o)};return e&&(s.$jspbMessageInstance=t),s}),proto.google.protobuf.OneofDescriptorProto.deserializeBinary=function(e){var t=new r.BinaryReader(e),o=new proto.google.protobuf.OneofDescriptorProto;return proto.google.protobuf.OneofDescriptorProto.deserializeBinaryFromReader(o,t)},proto.google.protobuf.OneofDescriptorProto.deserializeBinaryFromReader=function(e,t){for(;t.nextField()&&!t.isEndGroup();){switch(t.getFieldNumber()){case 1:var o=t.readString();e.setName(o);break;case 2:o=new proto.google.protobuf.OneofOptions;t.readMessage(o,proto.google.protobuf.OneofOptions.deserializeBinaryFromReader),e.setOptions(o);break;default:t.skipField()}}return e},proto.google.protobuf.OneofDescriptorProto.prototype.serializeBinary=function(){var e=new r.BinaryWriter;return proto.google.protobuf.OneofDescriptorProto.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.google.protobuf.OneofDescriptorProto.serializeBinaryToWriter=function(e,t){var o=void 0;null!=(o=r.Message.getField(e,1))&&t.writeString(1,o),null!=(o=e.getOptions())&&t.writeMessage(2,o,proto.google.protobuf.OneofOptions.serializeBinaryToWriter)},proto.google.protobuf.OneofDescriptorProto.prototype.getName=function(){return r.Message.getFieldWithDefault(this,1,"")},proto.google.protobuf.OneofDescriptorProto.prototype.setName=function(e){return r.Message.setField(this,1,e)},proto.google.protobuf.OneofDescriptorProto.prototype.clearName=function(){return r.Message.setField(this,1,void 0)},proto.google.protobuf.OneofDescriptorProto.prototype.hasName=function(){return null!=r.Message.getField(this,1)},proto.google.protobuf.OneofDescriptorProto.prototype.getOptions=function(){return r.Message.getWrapperField(this,proto.google.protobuf.OneofOptions,2)},proto.google.protobuf.OneofDescriptorProto.prototype.setOptions=function(e){return r.Message.setWrapperField(this,2,e)},proto.google.protobuf.OneofDescriptorProto.prototype.clearOptions=function(){return this.setOptions(void 0)},proto.google.protobuf.OneofDescriptorProto.prototype.hasOptions=function(){return null!=r.Message.getField(this,2)},proto.google.protobuf.EnumDescriptorProto.repeatedFields_=[2,4,5],r.Message.GENERATE_TO_OBJECT&&(proto.google.protobuf.EnumDescriptorProto.prototype.toObject=function(e){return proto.google.protobuf.EnumDescriptorProto.toObject(e,this)},proto.google.protobuf.EnumDescriptorProto.toObject=function(e,t){var o,s={name:null==(o=r.Message.getField(t,1))?void 0:o,valueList:r.Message.toObjectList(t.getValueList(),proto.google.protobuf.EnumValueDescriptorProto.toObject,e),options:(o=t.getOptions())&&proto.google.protobuf.EnumOptions.toObject(e,o),reservedRangeList:r.Message.toObjectList(t.getReservedRangeList(),proto.google.protobuf.EnumDescriptorProto.EnumReservedRange.toObject,e),reservedNameList:null==(o=r.Message.getRepeatedField(t,5))?void 0:o};return e&&(s.$jspbMessageInstance=t),s}),proto.google.protobuf.EnumDescriptorProto.deserializeBinary=function(e){var t=new r.BinaryReader(e),o=new proto.google.protobuf.EnumDescriptorProto;return proto.google.protobuf.EnumDescriptorProto.deserializeBinaryFromReader(o,t)},proto.google.protobuf.EnumDescriptorProto.deserializeBinaryFromReader=function(e,t){for(;t.nextField()&&!t.isEndGroup();){switch(t.getFieldNumber()){case 1:var o=t.readString();e.setName(o);break;case 2:o=new proto.google.protobuf.EnumValueDescriptorProto;t.readMessage(o,proto.google.protobuf.EnumValueDescriptorProto.deserializeBinaryFromReader),e.addValue(o);break;case 3:o=new proto.google.protobuf.EnumOptions;t.readMessage(o,proto.google.protobuf.EnumOptions.deserializeBinaryFromReader),e.setOptions(o);break;case 4:o=new proto.google.protobuf.EnumDescriptorProto.EnumReservedRange;t.readMessage(o,proto.google.protobuf.EnumDescriptorProto.EnumReservedRange.deserializeBinaryFromReader),e.addReservedRange(o);break;case 5:o=t.readString();e.addReservedName(o);break;default:t.skipField()}}return e},proto.google.protobuf.EnumDescriptorProto.prototype.serializeBinary=function(){var e=new r.BinaryWriter;return proto.google.protobuf.EnumDescriptorProto.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.google.protobuf.EnumDescriptorProto.serializeBinaryToWriter=function(e,t){var o=void 0;null!=(o=r.Message.getField(e,1))&&t.writeString(1,o),(o=e.getValueList()).length>0&&t.writeRepeatedMessage(2,o,proto.google.protobuf.EnumValueDescriptorProto.serializeBinaryToWriter),null!=(o=e.getOptions())&&t.writeMessage(3,o,proto.google.protobuf.EnumOptions.serializeBinaryToWriter),(o=e.getReservedRangeList()).length>0&&t.writeRepeatedMessage(4,o,proto.google.protobuf.EnumDescriptorProto.EnumReservedRange.serializeBinaryToWriter),(o=e.getReservedNameList()).length>0&&t.writeRepeatedString(5,o)},r.Message.GENERATE_TO_OBJECT&&(proto.google.protobuf.EnumDescriptorProto.EnumReservedRange.prototype.toObject=function(e){return proto.google.protobuf.EnumDescriptorProto.EnumReservedRange.toObject(e,this)},proto.google.protobuf.EnumDescriptorProto.EnumReservedRange.toObject=function(e,t){var o,s={start:null==(o=r.Message.getField(t,1))?void 0:o,end:null==(o=r.Message.getField(t,2))?void 0:o};return e&&(s.$jspbMessageInstance=t),s}),proto.google.protobuf.EnumDescriptorProto.EnumReservedRange.deserializeBinary=function(e){var t=new r.BinaryReader(e),o=new proto.google.protobuf.EnumDescriptorProto.EnumReservedRange;return proto.google.protobuf.EnumDescriptorProto.EnumReservedRange.deserializeBinaryFromReader(o,t)},proto.google.protobuf.EnumDescriptorProto.EnumReservedRange.deserializeBinaryFromReader=function(e,t){for(;t.nextField()&&!t.isEndGroup();){switch(t.getFieldNumber()){case 1:var o=t.readInt32();e.setStart(o);break;case 2:o=t.readInt32();e.setEnd(o);break;default:t.skipField()}}return e},proto.google.protobuf.EnumDescriptorProto.EnumReservedRange.prototype.serializeBinary=function(){var e=new r.BinaryWriter;return proto.google.protobuf.EnumDescriptorProto.EnumReservedRange.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.google.protobuf.EnumDescriptorProto.EnumReservedRange.serializeBinaryToWriter=function(e,t){var o=void 0;null!=(o=r.Message.getField(e,1))&&t.writeInt32(1,o),null!=(o=r.Message.getField(e,2))&&t.writeInt32(2,o)},proto.google.protobuf.EnumDescriptorProto.EnumReservedRange.prototype.getStart=function(){return r.Message.getFieldWithDefault(this,1,0)},proto.google.protobuf.EnumDescriptorProto.EnumReservedRange.prototype.setStart=function(e){return r.Message.setField(this,1,e)},proto.google.protobuf.EnumDescriptorProto.EnumReservedRange.prototype.clearStart=function(){return r.Message.setField(this,1,void 0)},proto.google.protobuf.EnumDescriptorProto.EnumReservedRange.prototype.hasStart=function(){return null!=r.Message.getField(this,1)},proto.google.protobuf.EnumDescriptorProto.EnumReservedRange.prototype.getEnd=function(){return r.Message.getFieldWithDefault(this,2,0)},proto.google.protobuf.EnumDescriptorProto.EnumReservedRange.prototype.setEnd=function(e){return r.Message.setField(this,2,e)},proto.google.protobuf.EnumDescriptorProto.EnumReservedRange.prototype.clearEnd=function(){return r.Message.setField(this,2,void 0)},proto.google.protobuf.EnumDescriptorProto.EnumReservedRange.prototype.hasEnd=function(){return null!=r.Message.getField(this,2)},proto.google.protobuf.EnumDescriptorProto.prototype.getName=function(){return r.Message.getFieldWithDefault(this,1,"")},proto.google.protobuf.EnumDescriptorProto.prototype.setName=function(e){return r.Message.setField(this,1,e)},proto.google.protobuf.EnumDescriptorProto.prototype.clearName=function(){return r.Message.setField(this,1,void 0)},proto.google.protobuf.EnumDescriptorProto.prototype.hasName=function(){return null!=r.Message.getField(this,1)},proto.google.protobuf.EnumDescriptorProto.prototype.getValueList=function(){return r.Message.getRepeatedWrapperField(this,proto.google.protobuf.EnumValueDescriptorProto,2)},proto.google.protobuf.EnumDescriptorProto.prototype.setValueList=function(e){return r.Message.setRepeatedWrapperField(this,2,e)},proto.google.protobuf.EnumDescriptorProto.prototype.addValue=function(e,t){return r.Message.addToRepeatedWrapperField(this,2,e,proto.google.protobuf.EnumValueDescriptorProto,t)},proto.google.protobuf.EnumDescriptorProto.prototype.clearValueList=function(){return this.setValueList([])},proto.google.protobuf.EnumDescriptorProto.prototype.getOptions=function(){return r.Message.getWrapperField(this,proto.google.protobuf.EnumOptions,3)},proto.google.protobuf.EnumDescriptorProto.prototype.setOptions=function(e){return r.Message.setWrapperField(this,3,e)},proto.google.protobuf.EnumDescriptorProto.prototype.clearOptions=function(){return this.setOptions(void 0)},proto.google.protobuf.EnumDescriptorProto.prototype.hasOptions=function(){return null!=r.Message.getField(this,3)},proto.google.protobuf.EnumDescriptorProto.prototype.getReservedRangeList=function(){return r.Message.getRepeatedWrapperField(this,proto.google.protobuf.EnumDescriptorProto.EnumReservedRange,4)},proto.google.protobuf.EnumDescriptorProto.prototype.setReservedRangeList=function(e){return r.Message.setRepeatedWrapperField(this,4,e)},proto.google.protobuf.EnumDescriptorProto.prototype.addReservedRange=function(e,t){return r.Message.addToRepeatedWrapperField(this,4,e,proto.google.protobuf.EnumDescriptorProto.EnumReservedRange,t)},proto.google.protobuf.EnumDescriptorProto.prototype.clearReservedRangeList=function(){return this.setReservedRangeList([])},proto.google.protobuf.EnumDescriptorProto.prototype.getReservedNameList=function(){return r.Message.getRepeatedField(this,5)},proto.google.protobuf.EnumDescriptorProto.prototype.setReservedNameList=function(e){return r.Message.setField(this,5,e||[])},proto.google.protobuf.EnumDescriptorProto.prototype.addReservedName=function(e,t){return r.Message.addToRepeatedField(this,5,e,t)},proto.google.protobuf.EnumDescriptorProto.prototype.clearReservedNameList=function(){return this.setReservedNameList([])},r.Message.GENERATE_TO_OBJECT&&(proto.google.protobuf.EnumValueDescriptorProto.prototype.toObject=function(e){return proto.google.protobuf.EnumValueDescriptorProto.toObject(e,this)},proto.google.protobuf.EnumValueDescriptorProto.toObject=function(e,t){var o,s={name:null==(o=r.Message.getField(t,1))?void 0:o,number:null==(o=r.Message.getField(t,2))?void 0:o,options:(o=t.getOptions())&&proto.google.protobuf.EnumValueOptions.toObject(e,o)};return e&&(s.$jspbMessageInstance=t),s}),proto.google.protobuf.EnumValueDescriptorProto.deserializeBinary=function(e){var t=new r.BinaryReader(e),o=new proto.google.protobuf.EnumValueDescriptorProto;return proto.google.protobuf.EnumValueDescriptorProto.deserializeBinaryFromReader(o,t)},proto.google.protobuf.EnumValueDescriptorProto.deserializeBinaryFromReader=function(e,t){for(;t.nextField()&&!t.isEndGroup();){switch(t.getFieldNumber()){case 1:var o=t.readString();e.setName(o);break;case 2:o=t.readInt32();e.setNumber(o);break;case 3:o=new proto.google.protobuf.EnumValueOptions;t.readMessage(o,proto.google.protobuf.EnumValueOptions.deserializeBinaryFromReader),e.setOptions(o);break;default:t.skipField()}}return e},proto.google.protobuf.EnumValueDescriptorProto.prototype.serializeBinary=function(){var e=new r.BinaryWriter;return proto.google.protobuf.EnumValueDescriptorProto.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.google.protobuf.EnumValueDescriptorProto.serializeBinaryToWriter=function(e,t){var o=void 0;null!=(o=r.Message.getField(e,1))&&t.writeString(1,o),null!=(o=r.Message.getField(e,2))&&t.writeInt32(2,o),null!=(o=e.getOptions())&&t.writeMessage(3,o,proto.google.protobuf.EnumValueOptions.serializeBinaryToWriter)},proto.google.protobuf.EnumValueDescriptorProto.prototype.getName=function(){return r.Message.getFieldWithDefault(this,1,"")},proto.google.protobuf.EnumValueDescriptorProto.prototype.setName=function(e){return r.Message.setField(this,1,e)},proto.google.protobuf.EnumValueDescriptorProto.prototype.clearName=function(){return r.Message.setField(this,1,void 0)},proto.google.protobuf.EnumValueDescriptorProto.prototype.hasName=function(){return null!=r.Message.getField(this,1)},proto.google.protobuf.EnumValueDescriptorProto.prototype.getNumber=function(){return r.Message.getFieldWithDefault(this,2,0)},proto.google.protobuf.EnumValueDescriptorProto.prototype.setNumber=function(e){return r.Message.setField(this,2,e)},proto.google.protobuf.EnumValueDescriptorProto.prototype.clearNumber=function(){return r.Message.setField(this,2,void 0)},proto.google.protobuf.EnumValueDescriptorProto.prototype.hasNumber=function(){return null!=r.Message.getField(this,2)},proto.google.protobuf.EnumValueDescriptorProto.prototype.getOptions=function(){return r.Message.getWrapperField(this,proto.google.protobuf.EnumValueOptions,3)},proto.google.protobuf.EnumValueDescriptorProto.prototype.setOptions=function(e){return r.Message.setWrapperField(this,3,e)},proto.google.protobuf.EnumValueDescriptorProto.prototype.clearOptions=function(){return this.setOptions(void 0)},proto.google.protobuf.EnumValueDescriptorProto.prototype.hasOptions=function(){return null!=r.Message.getField(this,3)},proto.google.protobuf.ServiceDescriptorProto.repeatedFields_=[2],r.Message.GENERATE_TO_OBJECT&&(proto.google.protobuf.ServiceDescriptorProto.prototype.toObject=function(e){return proto.google.protobuf.ServiceDescriptorProto.toObject(e,this)},proto.google.protobuf.ServiceDescriptorProto.toObject=function(e,t){var o,s={name:null==(o=r.Message.getField(t,1))?void 0:o,methodList:r.Message.toObjectList(t.getMethodList(),proto.google.protobuf.MethodDescriptorProto.toObject,e),options:(o=t.getOptions())&&proto.google.protobuf.ServiceOptions.toObject(e,o)};return e&&(s.$jspbMessageInstance=t),s}),proto.google.protobuf.ServiceDescriptorProto.deserializeBinary=function(e){var t=new r.BinaryReader(e),o=new proto.google.protobuf.ServiceDescriptorProto;return proto.google.protobuf.ServiceDescriptorProto.deserializeBinaryFromReader(o,t)},proto.google.protobuf.ServiceDescriptorProto.deserializeBinaryFromReader=function(e,t){for(;t.nextField()&&!t.isEndGroup();){switch(t.getFieldNumber()){case 1:var o=t.readString();e.setName(o);break;case 2:o=new proto.google.protobuf.MethodDescriptorProto;t.readMessage(o,proto.google.protobuf.MethodDescriptorProto.deserializeBinaryFromReader),e.addMethod(o);break;case 3:o=new proto.google.protobuf.ServiceOptions;t.readMessage(o,proto.google.protobuf.ServiceOptions.deserializeBinaryFromReader),e.setOptions(o);break;default:t.skipField()}}return e},proto.google.protobuf.ServiceDescriptorProto.prototype.serializeBinary=function(){var e=new r.BinaryWriter;return proto.google.protobuf.ServiceDescriptorProto.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.google.protobuf.ServiceDescriptorProto.serializeBinaryToWriter=function(e,t){var o=void 0;null!=(o=r.Message.getField(e,1))&&t.writeString(1,o),(o=e.getMethodList()).length>0&&t.writeRepeatedMessage(2,o,proto.google.protobuf.MethodDescriptorProto.serializeBinaryToWriter),null!=(o=e.getOptions())&&t.writeMessage(3,o,proto.google.protobuf.ServiceOptions.serializeBinaryToWriter)},proto.google.protobuf.ServiceDescriptorProto.prototype.getName=function(){return r.Message.getFieldWithDefault(this,1,"")},proto.google.protobuf.ServiceDescriptorProto.prototype.setName=function(e){return r.Message.setField(this,1,e)},proto.google.protobuf.ServiceDescriptorProto.prototype.clearName=function(){return r.Message.setField(this,1,void 0)},proto.google.protobuf.ServiceDescriptorProto.prototype.hasName=function(){return null!=r.Message.getField(this,1)},proto.google.protobuf.ServiceDescriptorProto.prototype.getMethodList=function(){return r.Message.getRepeatedWrapperField(this,proto.google.protobuf.MethodDescriptorProto,2)},proto.google.protobuf.ServiceDescriptorProto.prototype.setMethodList=function(e){return r.Message.setRepeatedWrapperField(this,2,e)},proto.google.protobuf.ServiceDescriptorProto.prototype.addMethod=function(e,t){return r.Message.addToRepeatedWrapperField(this,2,e,proto.google.protobuf.MethodDescriptorProto,t)},proto.google.protobuf.ServiceDescriptorProto.prototype.clearMethodList=function(){return this.setMethodList([])},proto.google.protobuf.ServiceDescriptorProto.prototype.getOptions=function(){return r.Message.getWrapperField(this,proto.google.protobuf.ServiceOptions,3)},proto.google.protobuf.ServiceDescriptorProto.prototype.setOptions=function(e){return r.Message.setWrapperField(this,3,e)},proto.google.protobuf.ServiceDescriptorProto.prototype.clearOptions=function(){return this.setOptions(void 0)},proto.google.protobuf.ServiceDescriptorProto.prototype.hasOptions=function(){return null!=r.Message.getField(this,3)},r.Message.GENERATE_TO_OBJECT&&(proto.google.protobuf.MethodDescriptorProto.prototype.toObject=function(e){return proto.google.protobuf.MethodDescriptorProto.toObject(e,this)},proto.google.protobuf.MethodDescriptorProto.toObject=function(e,t){var o,s={name:null==(o=r.Message.getField(t,1))?void 0:o,inputType:null==(o=r.Message.getField(t,2))?void 0:o,outputType:null==(o=r.Message.getField(t,3))?void 0:o,options:(o=t.getOptions())&&proto.google.protobuf.MethodOptions.toObject(e,o),clientStreaming:r.Message.getBooleanFieldWithDefault(t,5,!1),serverStreaming:r.Message.getBooleanFieldWithDefault(t,6,!1)};return e&&(s.$jspbMessageInstance=t),s}),proto.google.protobuf.MethodDescriptorProto.deserializeBinary=function(e){var t=new r.BinaryReader(e),o=new proto.google.protobuf.MethodDescriptorProto;return proto.google.protobuf.MethodDescriptorProto.deserializeBinaryFromReader(o,t)},proto.google.protobuf.MethodDescriptorProto.deserializeBinaryFromReader=function(e,t){for(;t.nextField()&&!t.isEndGroup();){switch(t.getFieldNumber()){case 1:var o=t.readString();e.setName(o);break;case 2:o=t.readString();e.setInputType(o);break;case 3:o=t.readString();e.setOutputType(o);break;case 4:o=new proto.google.protobuf.MethodOptions;t.readMessage(o,proto.google.protobuf.MethodOptions.deserializeBinaryFromReader),e.setOptions(o);break;case 5:o=t.readBool();e.setClientStreaming(o);break;case 6:o=t.readBool();e.setServerStreaming(o);break;default:t.skipField()}}return e},proto.google.protobuf.MethodDescriptorProto.prototype.serializeBinary=function(){var e=new r.BinaryWriter;return proto.google.protobuf.MethodDescriptorProto.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.google.protobuf.MethodDescriptorProto.serializeBinaryToWriter=function(e,t){var o=void 0;null!=(o=r.Message.getField(e,1))&&t.writeString(1,o),null!=(o=r.Message.getField(e,2))&&t.writeString(2,o),null!=(o=r.Message.getField(e,3))&&t.writeString(3,o),null!=(o=e.getOptions())&&t.writeMessage(4,o,proto.google.protobuf.MethodOptions.serializeBinaryToWriter),null!=(o=r.Message.getField(e,5))&&t.writeBool(5,o),null!=(o=r.Message.getField(e,6))&&t.writeBool(6,o)},proto.google.protobuf.MethodDescriptorProto.prototype.getName=function(){return r.Message.getFieldWithDefault(this,1,"")},proto.google.protobuf.MethodDescriptorProto.prototype.setName=function(e){return r.Message.setField(this,1,e)},proto.google.protobuf.MethodDescriptorProto.prototype.clearName=function(){return r.Message.setField(this,1,void 0)},proto.google.protobuf.MethodDescriptorProto.prototype.hasName=function(){return null!=r.Message.getField(this,1)},proto.google.protobuf.MethodDescriptorProto.prototype.getInputType=function(){return r.Message.getFieldWithDefault(this,2,"")},proto.google.protobuf.MethodDescriptorProto.prototype.setInputType=function(e){return r.Message.setField(this,2,e)},proto.google.protobuf.MethodDescriptorProto.prototype.clearInputType=function(){return r.Message.setField(this,2,void 0)},proto.google.protobuf.MethodDescriptorProto.prototype.hasInputType=function(){return null!=r.Message.getField(this,2)},proto.google.protobuf.MethodDescriptorProto.prototype.getOutputType=function(){return r.Message.getFieldWithDefault(this,3,"")},proto.google.protobuf.MethodDescriptorProto.prototype.setOutputType=function(e){return r.Message.setField(this,3,e)},proto.google.protobuf.MethodDescriptorProto.prototype.clearOutputType=function(){return r.Message.setField(this,3,void 0)},proto.google.protobuf.MethodDescriptorProto.prototype.hasOutputType=function(){return null!=r.Message.getField(this,3)},proto.google.protobuf.MethodDescriptorProto.prototype.getOptions=function(){return r.Message.getWrapperField(this,proto.google.protobuf.MethodOptions,4)},proto.google.protobuf.MethodDescriptorProto.prototype.setOptions=function(e){return r.Message.setWrapperField(this,4,e)},proto.google.protobuf.MethodDescriptorProto.prototype.clearOptions=function(){return this.setOptions(void 0)},proto.google.protobuf.MethodDescriptorProto.prototype.hasOptions=function(){return null!=r.Message.getField(this,4)},proto.google.protobuf.MethodDescriptorProto.prototype.getClientStreaming=function(){return r.Message.getBooleanFieldWithDefault(this,5,!1)},proto.google.protobuf.MethodDescriptorProto.prototype.setClientStreaming=function(e){return r.Message.setField(this,5,e)},proto.google.protobuf.MethodDescriptorProto.prototype.clearClientStreaming=function(){return r.Message.setField(this,5,void 0)},proto.google.protobuf.MethodDescriptorProto.prototype.hasClientStreaming=function(){return null!=r.Message.getField(this,5)},proto.google.protobuf.MethodDescriptorProto.prototype.getServerStreaming=function(){return r.Message.getBooleanFieldWithDefault(this,6,!1)},proto.google.protobuf.MethodDescriptorProto.prototype.setServerStreaming=function(e){return r.Message.setField(this,6,e)},proto.google.protobuf.MethodDescriptorProto.prototype.clearServerStreaming=function(){return r.Message.setField(this,6,void 0)},proto.google.protobuf.MethodDescriptorProto.prototype.hasServerStreaming=function(){return null!=r.Message.getField(this,6)},proto.google.protobuf.FileOptions.repeatedFields_=[999],r.Message.GENERATE_TO_OBJECT&&(proto.google.protobuf.FileOptions.prototype.toObject=function(e){return proto.google.protobuf.FileOptions.toObject(e,this)},proto.google.protobuf.FileOptions.toObject=function(e,t){var o,s={javaPackage:null==(o=r.Message.getField(t,1))?void 0:o,javaOuterClassname:null==(o=r.Message.getField(t,8))?void 0:o,javaMultipleFiles:r.Message.getBooleanFieldWithDefault(t,10,!1),javaGenerateEqualsAndHash:null==(o=r.Message.getBooleanField(t,20))?void 0:o,javaStringCheckUtf8:r.Message.getBooleanFieldWithDefault(t,27,!1),optimizeFor:r.Message.getFieldWithDefault(t,9,1),goPackage:null==(o=r.Message.getField(t,11))?void 0:o,ccGenericServices:r.Message.getBooleanFieldWithDefault(t,16,!1),javaGenericServices:r.Message.getBooleanFieldWithDefault(t,17,!1),pyGenericServices:r.Message.getBooleanFieldWithDefault(t,18,!1),phpGenericServices:r.Message.getBooleanFieldWithDefault(t,42,!1),deprecated:r.Message.getBooleanFieldWithDefault(t,23,!1),ccEnableArenas:r.Message.getBooleanFieldWithDefault(t,31,!0),objcClassPrefix:null==(o=r.Message.getField(t,36))?void 0:o,csharpNamespace:null==(o=r.Message.getField(t,37))?void 0:o,swiftPrefix:null==(o=r.Message.getField(t,39))?void 0:o,phpClassPrefix:null==(o=r.Message.getField(t,40))?void 0:o,phpNamespace:null==(o=r.Message.getField(t,41))?void 0:o,phpMetadataNamespace:null==(o=r.Message.getField(t,44))?void 0:o,rubyPackage:null==(o=r.Message.getField(t,45))?void 0:o,uninterpretedOptionList:r.Message.toObjectList(t.getUninterpretedOptionList(),proto.google.protobuf.UninterpretedOption.toObject,e)};return r.Message.toObjectExtension(t,s,proto.google.protobuf.FileOptions.extensions,proto.google.protobuf.FileOptions.prototype.getExtension,e),e&&(s.$jspbMessageInstance=t),s}),proto.google.protobuf.FileOptions.deserializeBinary=function(e){var t=new r.BinaryReader(e),o=new proto.google.protobuf.FileOptions;return proto.google.protobuf.FileOptions.deserializeBinaryFromReader(o,t)},proto.google.protobuf.FileOptions.deserializeBinaryFromReader=function(e,t){for(;t.nextField()&&!t.isEndGroup();){switch(t.getFieldNumber()){case 1:var o=t.readString();e.setJavaPackage(o);break;case 8:o=t.readString();e.setJavaOuterClassname(o);break;case 10:o=t.readBool();e.setJavaMultipleFiles(o);break;case 20:o=t.readBool();e.setJavaGenerateEqualsAndHash(o);break;case 27:o=t.readBool();e.setJavaStringCheckUtf8(o);break;case 9:o=t.readEnum();e.setOptimizeFor(o);break;case 11:o=t.readString();e.setGoPackage(o);break;case 16:o=t.readBool();e.setCcGenericServices(o);break;case 17:o=t.readBool();e.setJavaGenericServices(o);break;case 18:o=t.readBool();e.setPyGenericServices(o);break;case 42:o=t.readBool();e.setPhpGenericServices(o);break;case 23:o=t.readBool();e.setDeprecated(o);break;case 31:o=t.readBool();e.setCcEnableArenas(o);break;case 36:o=t.readString();e.setObjcClassPrefix(o);break;case 37:o=t.readString();e.setCsharpNamespace(o);break;case 39:o=t.readString();e.setSwiftPrefix(o);break;case 40:o=t.readString();e.setPhpClassPrefix(o);break;case 41:o=t.readString();e.setPhpNamespace(o);break;case 44:o=t.readString();e.setPhpMetadataNamespace(o);break;case 45:o=t.readString();e.setRubyPackage(o);break;case 999:o=new proto.google.protobuf.UninterpretedOption;t.readMessage(o,proto.google.protobuf.UninterpretedOption.deserializeBinaryFromReader),e.addUninterpretedOption(o);break;default:r.Message.readBinaryExtension(e,t,proto.google.protobuf.FileOptions.extensionsBinary,proto.google.protobuf.FileOptions.prototype.getExtension,proto.google.protobuf.FileOptions.prototype.setExtension)}}return e},proto.google.protobuf.FileOptions.prototype.serializeBinary=function(){var e=new r.BinaryWriter;return proto.google.protobuf.FileOptions.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.google.protobuf.FileOptions.serializeBinaryToWriter=function(e,t){var o=void 0;null!=(o=r.Message.getField(e,1))&&t.writeString(1,o),null!=(o=r.Message.getField(e,8))&&t.writeString(8,o),null!=(o=r.Message.getField(e,10))&&t.writeBool(10,o),null!=(o=r.Message.getField(e,20))&&t.writeBool(20,o),null!=(o=r.Message.getField(e,27))&&t.writeBool(27,o),null!=(o=r.Message.getField(e,9))&&t.writeEnum(9,o),null!=(o=r.Message.getField(e,11))&&t.writeString(11,o),null!=(o=r.Message.getField(e,16))&&t.writeBool(16,o),null!=(o=r.Message.getField(e,17))&&t.writeBool(17,o),null!=(o=r.Message.getField(e,18))&&t.writeBool(18,o),null!=(o=r.Message.getField(e,42))&&t.writeBool(42,o),null!=(o=r.Message.getField(e,23))&&t.writeBool(23,o),null!=(o=r.Message.getField(e,31))&&t.writeBool(31,o),null!=(o=r.Message.getField(e,36))&&t.writeString(36,o),null!=(o=r.Message.getField(e,37))&&t.writeString(37,o),null!=(o=r.Message.getField(e,39))&&t.writeString(39,o),null!=(o=r.Message.getField(e,40))&&t.writeString(40,o),null!=(o=r.Message.getField(e,41))&&t.writeString(41,o),null!=(o=r.Message.getField(e,44))&&t.writeString(44,o),null!=(o=r.Message.getField(e,45))&&t.writeString(45,o),(o=e.getUninterpretedOptionList()).length>0&&t.writeRepeatedMessage(999,o,proto.google.protobuf.UninterpretedOption.serializeBinaryToWriter),r.Message.serializeBinaryExtensions(e,t,proto.google.protobuf.FileOptions.extensionsBinary,proto.google.protobuf.FileOptions.prototype.getExtension)},proto.google.protobuf.FileOptions.OptimizeMode={SPEED:1,CODE_SIZE:2,LITE_RUNTIME:3},proto.google.protobuf.FileOptions.prototype.getJavaPackage=function(){return r.Message.getFieldWithDefault(this,1,"")},proto.google.protobuf.FileOptions.prototype.setJavaPackage=function(e){return r.Message.setField(this,1,e)},proto.google.protobuf.FileOptions.prototype.clearJavaPackage=function(){return r.Message.setField(this,1,void 0)},proto.google.protobuf.FileOptions.prototype.hasJavaPackage=function(){return null!=r.Message.getField(this,1)},proto.google.protobuf.FileOptions.prototype.getJavaOuterClassname=function(){return r.Message.getFieldWithDefault(this,8,"")},proto.google.protobuf.FileOptions.prototype.setJavaOuterClassname=function(e){return r.Message.setField(this,8,e)},proto.google.protobuf.FileOptions.prototype.clearJavaOuterClassname=function(){return r.Message.setField(this,8,void 0)},proto.google.protobuf.FileOptions.prototype.hasJavaOuterClassname=function(){return null!=r.Message.getField(this,8)},proto.google.protobuf.FileOptions.prototype.getJavaMultipleFiles=function(){return r.Message.getBooleanFieldWithDefault(this,10,!1)},proto.google.protobuf.FileOptions.prototype.setJavaMultipleFiles=function(e){return r.Message.setField(this,10,e)},proto.google.protobuf.FileOptions.prototype.clearJavaMultipleFiles=function(){return r.Message.setField(this,10,void 0)},proto.google.protobuf.FileOptions.prototype.hasJavaMultipleFiles=function(){return null!=r.Message.getField(this,10)},proto.google.protobuf.FileOptions.prototype.getJavaGenerateEqualsAndHash=function(){return r.Message.getBooleanFieldWithDefault(this,20,!1)},proto.google.protobuf.FileOptions.prototype.setJavaGenerateEqualsAndHash=function(e){return r.Message.setField(this,20,e)},proto.google.protobuf.FileOptions.prototype.clearJavaGenerateEqualsAndHash=function(){return r.Message.setField(this,20,void 0)},proto.google.protobuf.FileOptions.prototype.hasJavaGenerateEqualsAndHash=function(){return null!=r.Message.getField(this,20)},proto.google.protobuf.FileOptions.prototype.getJavaStringCheckUtf8=function(){return r.Message.getBooleanFieldWithDefault(this,27,!1)},proto.google.protobuf.FileOptions.prototype.setJavaStringCheckUtf8=function(e){return r.Message.setField(this,27,e)},proto.google.protobuf.FileOptions.prototype.clearJavaStringCheckUtf8=function(){return r.Message.setField(this,27,void 0)},proto.google.protobuf.FileOptions.prototype.hasJavaStringCheckUtf8=function(){return null!=r.Message.getField(this,27)},proto.google.protobuf.FileOptions.prototype.getOptimizeFor=function(){return r.Message.getFieldWithDefault(this,9,1)},proto.google.protobuf.FileOptions.prototype.setOptimizeFor=function(e){return r.Message.setField(this,9,e)},proto.google.protobuf.FileOptions.prototype.clearOptimizeFor=function(){return r.Message.setField(this,9,void 0)},proto.google.protobuf.FileOptions.prototype.hasOptimizeFor=function(){return null!=r.Message.getField(this,9)},proto.google.protobuf.FileOptions.prototype.getGoPackage=function(){return r.Message.getFieldWithDefault(this,11,"")},proto.google.protobuf.FileOptions.prototype.setGoPackage=function(e){return r.Message.setField(this,11,e)},proto.google.protobuf.FileOptions.prototype.clearGoPackage=function(){return r.Message.setField(this,11,void 0)},proto.google.protobuf.FileOptions.prototype.hasGoPackage=function(){return null!=r.Message.getField(this,11)},proto.google.protobuf.FileOptions.prototype.getCcGenericServices=function(){return r.Message.getBooleanFieldWithDefault(this,16,!1)},proto.google.protobuf.FileOptions.prototype.setCcGenericServices=function(e){return r.Message.setField(this,16,e)},proto.google.protobuf.FileOptions.prototype.clearCcGenericServices=function(){return r.Message.setField(this,16,void 0)},proto.google.protobuf.FileOptions.prototype.hasCcGenericServices=function(){return null!=r.Message.getField(this,16)},proto.google.protobuf.FileOptions.prototype.getJavaGenericServices=function(){return r.Message.getBooleanFieldWithDefault(this,17,!1)},proto.google.protobuf.FileOptions.prototype.setJavaGenericServices=function(e){return r.Message.setField(this,17,e)},proto.google.protobuf.FileOptions.prototype.clearJavaGenericServices=function(){return r.Message.setField(this,17,void 0)},proto.google.protobuf.FileOptions.prototype.hasJavaGenericServices=function(){return null!=r.Message.getField(this,17)},proto.google.protobuf.FileOptions.prototype.getPyGenericServices=function(){return r.Message.getBooleanFieldWithDefault(this,18,!1)},proto.google.protobuf.FileOptions.prototype.setPyGenericServices=function(e){return r.Message.setField(this,18,e)},proto.google.protobuf.FileOptions.prototype.clearPyGenericServices=function(){return r.Message.setField(this,18,void 0)},proto.google.protobuf.FileOptions.prototype.hasPyGenericServices=function(){return null!=r.Message.getField(this,18)},proto.google.protobuf.FileOptions.prototype.getPhpGenericServices=function(){return r.Message.getBooleanFieldWithDefault(this,42,!1)},proto.google.protobuf.FileOptions.prototype.setPhpGenericServices=function(e){return r.Message.setField(this,42,e)},proto.google.protobuf.FileOptions.prototype.clearPhpGenericServices=function(){return r.Message.setField(this,42,void 0)},proto.google.protobuf.FileOptions.prototype.hasPhpGenericServices=function(){return null!=r.Message.getField(this,42)},proto.google.protobuf.FileOptions.prototype.getDeprecated=function(){return r.Message.getBooleanFieldWithDefault(this,23,!1)},proto.google.protobuf.FileOptions.prototype.setDeprecated=function(e){return r.Message.setField(this,23,e)},proto.google.protobuf.FileOptions.prototype.clearDeprecated=function(){return r.Message.setField(this,23,void 0)},proto.google.protobuf.FileOptions.prototype.hasDeprecated=function(){return null!=r.Message.getField(this,23)},proto.google.protobuf.FileOptions.prototype.getCcEnableArenas=function(){return r.Message.getBooleanFieldWithDefault(this,31,!0)},proto.google.protobuf.FileOptions.prototype.setCcEnableArenas=function(e){return r.Message.setField(this,31,e)},proto.google.protobuf.FileOptions.prototype.clearCcEnableArenas=function(){return r.Message.setField(this,31,void 0)},proto.google.protobuf.FileOptions.prototype.hasCcEnableArenas=function(){return null!=r.Message.getField(this,31)},proto.google.protobuf.FileOptions.prototype.getObjcClassPrefix=function(){return r.Message.getFieldWithDefault(this,36,"")},proto.google.protobuf.FileOptions.prototype.setObjcClassPrefix=function(e){return r.Message.setField(this,36,e)},proto.google.protobuf.FileOptions.prototype.clearObjcClassPrefix=function(){return r.Message.setField(this,36,void 0)},proto.google.protobuf.FileOptions.prototype.hasObjcClassPrefix=function(){return null!=r.Message.getField(this,36)},proto.google.protobuf.FileOptions.prototype.getCsharpNamespace=function(){return r.Message.getFieldWithDefault(this,37,"")},proto.google.protobuf.FileOptions.prototype.setCsharpNamespace=function(e){return r.Message.setField(this,37,e)},proto.google.protobuf.FileOptions.prototype.clearCsharpNamespace=function(){return r.Message.setField(this,37,void 0)},proto.google.protobuf.FileOptions.prototype.hasCsharpNamespace=function(){return null!=r.Message.getField(this,37)},proto.google.protobuf.FileOptions.prototype.getSwiftPrefix=function(){return r.Message.getFieldWithDefault(this,39,"")},proto.google.protobuf.FileOptions.prototype.setSwiftPrefix=function(e){return r.Message.setField(this,39,e)},proto.google.protobuf.FileOptions.prototype.clearSwiftPrefix=function(){return r.Message.setField(this,39,void 0)},proto.google.protobuf.FileOptions.prototype.hasSwiftPrefix=function(){return null!=r.Message.getField(this,39)},proto.google.protobuf.FileOptions.prototype.getPhpClassPrefix=function(){return r.Message.getFieldWithDefault(this,40,"")},proto.google.protobuf.FileOptions.prototype.setPhpClassPrefix=function(e){return r.Message.setField(this,40,e)},proto.google.protobuf.FileOptions.prototype.clearPhpClassPrefix=function(){return r.Message.setField(this,40,void 0)},proto.google.protobuf.FileOptions.prototype.hasPhpClassPrefix=function(){return null!=r.Message.getField(this,40)},proto.google.protobuf.FileOptions.prototype.getPhpNamespace=function(){return r.Message.getFieldWithDefault(this,41,"")},proto.google.protobuf.FileOptions.prototype.setPhpNamespace=function(e){return r.Message.setField(this,41,e)},proto.google.protobuf.FileOptions.prototype.clearPhpNamespace=function(){return r.Message.setField(this,41,void 0)},proto.google.protobuf.FileOptions.prototype.hasPhpNamespace=function(){return null!=r.Message.getField(this,41)},proto.google.protobuf.FileOptions.prototype.getPhpMetadataNamespace=function(){return r.Message.getFieldWithDefault(this,44,"")},proto.google.protobuf.FileOptions.prototype.setPhpMetadataNamespace=function(e){return r.Message.setField(this,44,e)},proto.google.protobuf.FileOptions.prototype.clearPhpMetadataNamespace=function(){return r.Message.setField(this,44,void 0)},proto.google.protobuf.FileOptions.prototype.hasPhpMetadataNamespace=function(){return null!=r.Message.getField(this,44)},proto.google.protobuf.FileOptions.prototype.getRubyPackage=function(){return r.Message.getFieldWithDefault(this,45,"")},proto.google.protobuf.FileOptions.prototype.setRubyPackage=function(e){return r.Message.setField(this,45,e)},proto.google.protobuf.FileOptions.prototype.clearRubyPackage=function(){return r.Message.setField(this,45,void 0)},proto.google.protobuf.FileOptions.prototype.hasRubyPackage=function(){return null!=r.Message.getField(this,45)},proto.google.protobuf.FileOptions.prototype.getUninterpretedOptionList=function(){return r.Message.getRepeatedWrapperField(this,proto.google.protobuf.UninterpretedOption,999)},proto.google.protobuf.FileOptions.prototype.setUninterpretedOptionList=function(e){return r.Message.setRepeatedWrapperField(this,999,e)},proto.google.protobuf.FileOptions.prototype.addUninterpretedOption=function(e,t){return r.Message.addToRepeatedWrapperField(this,999,e,proto.google.protobuf.UninterpretedOption,t)},proto.google.protobuf.FileOptions.prototype.clearUninterpretedOptionList=function(){return this.setUninterpretedOptionList([])},proto.google.protobuf.MessageOptions.repeatedFields_=[999],r.Message.GENERATE_TO_OBJECT&&(proto.google.protobuf.MessageOptions.prototype.toObject=function(e){return proto.google.protobuf.MessageOptions.toObject(e,this)},proto.google.protobuf.MessageOptions.toObject=function(e,t){var o,s={messageSetWireFormat:r.Message.getBooleanFieldWithDefault(t,1,!1),noStandardDescriptorAccessor:r.Message.getBooleanFieldWithDefault(t,2,!1),deprecated:r.Message.getBooleanFieldWithDefault(t,3,!1),mapEntry:null==(o=r.Message.getBooleanField(t,7))?void 0:o,uninterpretedOptionList:r.Message.toObjectList(t.getUninterpretedOptionList(),proto.google.protobuf.UninterpretedOption.toObject,e)};return r.Message.toObjectExtension(t,s,proto.google.protobuf.MessageOptions.extensions,proto.google.protobuf.MessageOptions.prototype.getExtension,e),e&&(s.$jspbMessageInstance=t),s}),proto.google.protobuf.MessageOptions.deserializeBinary=function(e){var t=new r.BinaryReader(e),o=new proto.google.protobuf.MessageOptions;return proto.google.protobuf.MessageOptions.deserializeBinaryFromReader(o,t)},proto.google.protobuf.MessageOptions.deserializeBinaryFromReader=function(e,t){for(;t.nextField()&&!t.isEndGroup();){switch(t.getFieldNumber()){case 1:var o=t.readBool();e.setMessageSetWireFormat(o);break;case 2:o=t.readBool();e.setNoStandardDescriptorAccessor(o);break;case 3:o=t.readBool();e.setDeprecated(o);break;case 7:o=t.readBool();e.setMapEntry(o);break;case 999:o=new proto.google.protobuf.UninterpretedOption;t.readMessage(o,proto.google.protobuf.UninterpretedOption.deserializeBinaryFromReader),e.addUninterpretedOption(o);break;default:r.Message.readBinaryExtension(e,t,proto.google.protobuf.MessageOptions.extensionsBinary,proto.google.protobuf.MessageOptions.prototype.getExtension,proto.google.protobuf.MessageOptions.prototype.setExtension)}}return e},proto.google.protobuf.MessageOptions.prototype.serializeBinary=function(){var e=new r.BinaryWriter;return proto.google.protobuf.MessageOptions.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.google.protobuf.MessageOptions.serializeBinaryToWriter=function(e,t){var o=void 0;null!=(o=r.Message.getField(e,1))&&t.writeBool(1,o),null!=(o=r.Message.getField(e,2))&&t.writeBool(2,o),null!=(o=r.Message.getField(e,3))&&t.writeBool(3,o),null!=(o=r.Message.getField(e,7))&&t.writeBool(7,o),(o=e.getUninterpretedOptionList()).length>0&&t.writeRepeatedMessage(999,o,proto.google.protobuf.UninterpretedOption.serializeBinaryToWriter),r.Message.serializeBinaryExtensions(e,t,proto.google.protobuf.MessageOptions.extensionsBinary,proto.google.protobuf.MessageOptions.prototype.getExtension)},proto.google.protobuf.MessageOptions.prototype.getMessageSetWireFormat=function(){return r.Message.getBooleanFieldWithDefault(this,1,!1)},proto.google.protobuf.MessageOptions.prototype.setMessageSetWireFormat=function(e){return r.Message.setField(this,1,e)},proto.google.protobuf.MessageOptions.prototype.clearMessageSetWireFormat=function(){return r.Message.setField(this,1,void 0)},proto.google.protobuf.MessageOptions.prototype.hasMessageSetWireFormat=function(){return null!=r.Message.getField(this,1)},proto.google.protobuf.MessageOptions.prototype.getNoStandardDescriptorAccessor=function(){return r.Message.getBooleanFieldWithDefault(this,2,!1)},proto.google.protobuf.MessageOptions.prototype.setNoStandardDescriptorAccessor=function(e){return r.Message.setField(this,2,e)},proto.google.protobuf.MessageOptions.prototype.clearNoStandardDescriptorAccessor=function(){return r.Message.setField(this,2,void 0)},proto.google.protobuf.MessageOptions.prototype.hasNoStandardDescriptorAccessor=function(){return null!=r.Message.getField(this,2)},proto.google.protobuf.MessageOptions.prototype.getDeprecated=function(){return r.Message.getBooleanFieldWithDefault(this,3,!1)},proto.google.protobuf.MessageOptions.prototype.setDeprecated=function(e){return r.Message.setField(this,3,e)},proto.google.protobuf.MessageOptions.prototype.clearDeprecated=function(){return r.Message.setField(this,3,void 0)},proto.google.protobuf.MessageOptions.prototype.hasDeprecated=function(){return null!=r.Message.getField(this,3)},proto.google.protobuf.MessageOptions.prototype.getMapEntry=function(){return r.Message.getBooleanFieldWithDefault(this,7,!1)},proto.google.protobuf.MessageOptions.prototype.setMapEntry=function(e){return r.Message.setField(this,7,e)},proto.google.protobuf.MessageOptions.prototype.clearMapEntry=function(){return r.Message.setField(this,7,void 0)},proto.google.protobuf.MessageOptions.prototype.hasMapEntry=function(){return null!=r.Message.getField(this,7)},proto.google.protobuf.MessageOptions.prototype.getUninterpretedOptionList=function(){return r.Message.getRepeatedWrapperField(this,proto.google.protobuf.UninterpretedOption,999)},proto.google.protobuf.MessageOptions.prototype.setUninterpretedOptionList=function(e){return r.Message.setRepeatedWrapperField(this,999,e)},proto.google.protobuf.MessageOptions.prototype.addUninterpretedOption=function(e,t){return r.Message.addToRepeatedWrapperField(this,999,e,proto.google.protobuf.UninterpretedOption,t)},proto.google.protobuf.MessageOptions.prototype.clearUninterpretedOptionList=function(){return this.setUninterpretedOptionList([])},proto.google.protobuf.FieldOptions.repeatedFields_=[999],r.Message.GENERATE_TO_OBJECT&&(proto.google.protobuf.FieldOptions.prototype.toObject=function(e){return proto.google.protobuf.FieldOptions.toObject(e,this)},proto.google.protobuf.FieldOptions.toObject=function(e,t){var o,s={ctype:r.Message.getFieldWithDefault(t,1,0),packed:null==(o=r.Message.getBooleanField(t,2))?void 0:o,jstype:r.Message.getFieldWithDefault(t,6,0),lazy:r.Message.getBooleanFieldWithDefault(t,5,!1),unverifiedLazy:r.Message.getBooleanFieldWithDefault(t,15,!1),deprecated:r.Message.getBooleanFieldWithDefault(t,3,!1),weak:r.Message.getBooleanFieldWithDefault(t,10,!1),uninterpretedOptionList:r.Message.toObjectList(t.getUninterpretedOptionList(),proto.google.protobuf.UninterpretedOption.toObject,e)};return r.Message.toObjectExtension(t,s,proto.google.protobuf.FieldOptions.extensions,proto.google.protobuf.FieldOptions.prototype.getExtension,e),e&&(s.$jspbMessageInstance=t),s}),proto.google.protobuf.FieldOptions.deserializeBinary=function(e){var t=new r.BinaryReader(e),o=new proto.google.protobuf.FieldOptions;return proto.google.protobuf.FieldOptions.deserializeBinaryFromReader(o,t)},proto.google.protobuf.FieldOptions.deserializeBinaryFromReader=function(e,t){for(;t.nextField()&&!t.isEndGroup();){switch(t.getFieldNumber()){case 1:var o=t.readEnum();e.setCtype(o);break;case 2:o=t.readBool();e.setPacked(o);break;case 6:o=t.readEnum();e.setJstype(o);break;case 5:o=t.readBool();e.setLazy(o);break;case 15:o=t.readBool();e.setUnverifiedLazy(o);break;case 3:o=t.readBool();e.setDeprecated(o);break;case 10:o=t.readBool();e.setWeak(o);break;case 999:o=new proto.google.protobuf.UninterpretedOption;t.readMessage(o,proto.google.protobuf.UninterpretedOption.deserializeBinaryFromReader),e.addUninterpretedOption(o);break;default:r.Message.readBinaryExtension(e,t,proto.google.protobuf.FieldOptions.extensionsBinary,proto.google.protobuf.FieldOptions.prototype.getExtension,proto.google.protobuf.FieldOptions.prototype.setExtension)}}return e},proto.google.protobuf.FieldOptions.prototype.serializeBinary=function(){var e=new r.BinaryWriter;return proto.google.protobuf.FieldOptions.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.google.protobuf.FieldOptions.serializeBinaryToWriter=function(e,t){var o=void 0;null!=(o=r.Message.getField(e,1))&&t.writeEnum(1,o),null!=(o=r.Message.getField(e,2))&&t.writeBool(2,o),null!=(o=r.Message.getField(e,6))&&t.writeEnum(6,o),null!=(o=r.Message.getField(e,5))&&t.writeBool(5,o),null!=(o=r.Message.getField(e,15))&&t.writeBool(15,o),null!=(o=r.Message.getField(e,3))&&t.writeBool(3,o),null!=(o=r.Message.getField(e,10))&&t.writeBool(10,o),(o=e.getUninterpretedOptionList()).length>0&&t.writeRepeatedMessage(999,o,proto.google.protobuf.UninterpretedOption.serializeBinaryToWriter),r.Message.serializeBinaryExtensions(e,t,proto.google.protobuf.FieldOptions.extensionsBinary,proto.google.protobuf.FieldOptions.prototype.getExtension)},proto.google.protobuf.FieldOptions.CType={STRING:0,CORD:1,STRING_PIECE:2},proto.google.protobuf.FieldOptions.JSType={JS_NORMAL:0,JS_STRING:1,JS_NUMBER:2},proto.google.protobuf.FieldOptions.prototype.getCtype=function(){return r.Message.getFieldWithDefault(this,1,0)},proto.google.protobuf.FieldOptions.prototype.setCtype=function(e){return r.Message.setField(this,1,e)},proto.google.protobuf.FieldOptions.prototype.clearCtype=function(){return r.Message.setField(this,1,void 0)},proto.google.protobuf.FieldOptions.prototype.hasCtype=function(){return null!=r.Message.getField(this,1)},proto.google.protobuf.FieldOptions.prototype.getPacked=function(){return r.Message.getBooleanFieldWithDefault(this,2,!1)},proto.google.protobuf.FieldOptions.prototype.setPacked=function(e){return r.Message.setField(this,2,e)},proto.google.protobuf.FieldOptions.prototype.clearPacked=function(){return r.Message.setField(this,2,void 0)},proto.google.protobuf.FieldOptions.prototype.hasPacked=function(){return null!=r.Message.getField(this,2)},proto.google.protobuf.FieldOptions.prototype.getJstype=function(){return r.Message.getFieldWithDefault(this,6,0)},proto.google.protobuf.FieldOptions.prototype.setJstype=function(e){return r.Message.setField(this,6,e)},proto.google.protobuf.FieldOptions.prototype.clearJstype=function(){return r.Message.setField(this,6,void 0)},proto.google.protobuf.FieldOptions.prototype.hasJstype=function(){return null!=r.Message.getField(this,6)},proto.google.protobuf.FieldOptions.prototype.getLazy=function(){return r.Message.getBooleanFieldWithDefault(this,5,!1)},proto.google.protobuf.FieldOptions.prototype.setLazy=function(e){return r.Message.setField(this,5,e)},proto.google.protobuf.FieldOptions.prototype.clearLazy=function(){return r.Message.setField(this,5,void 0)},proto.google.protobuf.FieldOptions.prototype.hasLazy=function(){return null!=r.Message.getField(this,5)},proto.google.protobuf.FieldOptions.prototype.getUnverifiedLazy=function(){return r.Message.getBooleanFieldWithDefault(this,15,!1)},proto.google.protobuf.FieldOptions.prototype.setUnverifiedLazy=function(e){return r.Message.setField(this,15,e)},proto.google.protobuf.FieldOptions.prototype.clearUnverifiedLazy=function(){return r.Message.setField(this,15,void 0)},proto.google.protobuf.FieldOptions.prototype.hasUnverifiedLazy=function(){return null!=r.Message.getField(this,15)},proto.google.protobuf.FieldOptions.prototype.getDeprecated=function(){return r.Message.getBooleanFieldWithDefault(this,3,!1)},proto.google.protobuf.FieldOptions.prototype.setDeprecated=function(e){return r.Message.setField(this,3,e)},proto.google.protobuf.FieldOptions.prototype.clearDeprecated=function(){return r.Message.setField(this,3,void 0)},proto.google.protobuf.FieldOptions.prototype.hasDeprecated=function(){return null!=r.Message.getField(this,3)},proto.google.protobuf.FieldOptions.prototype.getWeak=function(){return r.Message.getBooleanFieldWithDefault(this,10,!1)},proto.google.protobuf.FieldOptions.prototype.setWeak=function(e){return r.Message.setField(this,10,e)},proto.google.protobuf.FieldOptions.prototype.clearWeak=function(){return r.Message.setField(this,10,void 0)},proto.google.protobuf.FieldOptions.prototype.hasWeak=function(){return null!=r.Message.getField(this,10)},proto.google.protobuf.FieldOptions.prototype.getUninterpretedOptionList=function(){return r.Message.getRepeatedWrapperField(this,proto.google.protobuf.UninterpretedOption,999)},proto.google.protobuf.FieldOptions.prototype.setUninterpretedOptionList=function(e){return r.Message.setRepeatedWrapperField(this,999,e)},proto.google.protobuf.FieldOptions.prototype.addUninterpretedOption=function(e,t){return r.Message.addToRepeatedWrapperField(this,999,e,proto.google.protobuf.UninterpretedOption,t)},proto.google.protobuf.FieldOptions.prototype.clearUninterpretedOptionList=function(){return this.setUninterpretedOptionList([])},proto.google.protobuf.OneofOptions.repeatedFields_=[999],r.Message.GENERATE_TO_OBJECT&&(proto.google.protobuf.OneofOptions.prototype.toObject=function(e){return proto.google.protobuf.OneofOptions.toObject(e,this)},proto.google.protobuf.OneofOptions.toObject=function(e,t){var o={uninterpretedOptionList:r.Message.toObjectList(t.getUninterpretedOptionList(),proto.google.protobuf.UninterpretedOption.toObject,e)};return r.Message.toObjectExtension(t,o,proto.google.protobuf.OneofOptions.extensions,proto.google.protobuf.OneofOptions.prototype.getExtension,e),e&&(o.$jspbMessageInstance=t),o}),proto.google.protobuf.OneofOptions.deserializeBinary=function(e){var t=new r.BinaryReader(e),o=new proto.google.protobuf.OneofOptions;return proto.google.protobuf.OneofOptions.deserializeBinaryFromReader(o,t)},proto.google.protobuf.OneofOptions.deserializeBinaryFromReader=function(e,t){for(;t.nextField()&&!t.isEndGroup();){if(999===t.getFieldNumber()){var o=new proto.google.protobuf.UninterpretedOption;t.readMessage(o,proto.google.protobuf.UninterpretedOption.deserializeBinaryFromReader),e.addUninterpretedOption(o)}else r.Message.readBinaryExtension(e,t,proto.google.protobuf.OneofOptions.extensionsBinary,proto.google.protobuf.OneofOptions.prototype.getExtension,proto.google.protobuf.OneofOptions.prototype.setExtension)}return e},proto.google.protobuf.OneofOptions.prototype.serializeBinary=function(){var e=new r.BinaryWriter;return proto.google.protobuf.OneofOptions.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.google.protobuf.OneofOptions.serializeBinaryToWriter=function(e,t){var o;(o=e.getUninterpretedOptionList()).length>0&&t.writeRepeatedMessage(999,o,proto.google.protobuf.UninterpretedOption.serializeBinaryToWriter),r.Message.serializeBinaryExtensions(e,t,proto.google.protobuf.OneofOptions.extensionsBinary,proto.google.protobuf.OneofOptions.prototype.getExtension)},proto.google.protobuf.OneofOptions.prototype.getUninterpretedOptionList=function(){return r.Message.getRepeatedWrapperField(this,proto.google.protobuf.UninterpretedOption,999)},proto.google.protobuf.OneofOptions.prototype.setUninterpretedOptionList=function(e){return r.Message.setRepeatedWrapperField(this,999,e)},proto.google.protobuf.OneofOptions.prototype.addUninterpretedOption=function(e,t){return r.Message.addToRepeatedWrapperField(this,999,e,proto.google.protobuf.UninterpretedOption,t)},proto.google.protobuf.OneofOptions.prototype.clearUninterpretedOptionList=function(){return this.setUninterpretedOptionList([])},proto.google.protobuf.EnumOptions.repeatedFields_=[999],r.Message.GENERATE_TO_OBJECT&&(proto.google.protobuf.EnumOptions.prototype.toObject=function(e){return proto.google.protobuf.EnumOptions.toObject(e,this)},proto.google.protobuf.EnumOptions.toObject=function(e,t){var o,s={allowAlias:null==(o=r.Message.getBooleanField(t,2))?void 0:o,deprecated:r.Message.getBooleanFieldWithDefault(t,3,!1),uninterpretedOptionList:r.Message.toObjectList(t.getUninterpretedOptionList(),proto.google.protobuf.UninterpretedOption.toObject,e)};return r.Message.toObjectExtension(t,s,proto.google.protobuf.EnumOptions.extensions,proto.google.protobuf.EnumOptions.prototype.getExtension,e),e&&(s.$jspbMessageInstance=t),s}),proto.google.protobuf.EnumOptions.deserializeBinary=function(e){var t=new r.BinaryReader(e),o=new proto.google.protobuf.EnumOptions;return proto.google.protobuf.EnumOptions.deserializeBinaryFromReader(o,t)},proto.google.protobuf.EnumOptions.deserializeBinaryFromReader=function(e,t){for(;t.nextField()&&!t.isEndGroup();){switch(t.getFieldNumber()){case 2:var o=t.readBool();e.setAllowAlias(o);break;case 3:o=t.readBool();e.setDeprecated(o);break;case 999:o=new proto.google.protobuf.UninterpretedOption;t.readMessage(o,proto.google.protobuf.UninterpretedOption.deserializeBinaryFromReader),e.addUninterpretedOption(o);break;default:r.Message.readBinaryExtension(e,t,proto.google.protobuf.EnumOptions.extensionsBinary,proto.google.protobuf.EnumOptions.prototype.getExtension,proto.google.protobuf.EnumOptions.prototype.setExtension)}}return e},proto.google.protobuf.EnumOptions.prototype.serializeBinary=function(){var e=new r.BinaryWriter;return proto.google.protobuf.EnumOptions.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.google.protobuf.EnumOptions.serializeBinaryToWriter=function(e,t){var o=void 0;null!=(o=r.Message.getField(e,2))&&t.writeBool(2,o),null!=(o=r.Message.getField(e,3))&&t.writeBool(3,o),(o=e.getUninterpretedOptionList()).length>0&&t.writeRepeatedMessage(999,o,proto.google.protobuf.UninterpretedOption.serializeBinaryToWriter),r.Message.serializeBinaryExtensions(e,t,proto.google.protobuf.EnumOptions.extensionsBinary,proto.google.protobuf.EnumOptions.prototype.getExtension)},proto.google.protobuf.EnumOptions.prototype.getAllowAlias=function(){return r.Message.getBooleanFieldWithDefault(this,2,!1)},proto.google.protobuf.EnumOptions.prototype.setAllowAlias=function(e){return r.Message.setField(this,2,e)},proto.google.protobuf.EnumOptions.prototype.clearAllowAlias=function(){return r.Message.setField(this,2,void 0)},proto.google.protobuf.EnumOptions.prototype.hasAllowAlias=function(){return null!=r.Message.getField(this,2)},proto.google.protobuf.EnumOptions.prototype.getDeprecated=function(){return r.Message.getBooleanFieldWithDefault(this,3,!1)},proto.google.protobuf.EnumOptions.prototype.setDeprecated=function(e){return r.Message.setField(this,3,e)},proto.google.protobuf.EnumOptions.prototype.clearDeprecated=function(){return r.Message.setField(this,3,void 0)},proto.google.protobuf.EnumOptions.prototype.hasDeprecated=function(){return null!=r.Message.getField(this,3)},proto.google.protobuf.EnumOptions.prototype.getUninterpretedOptionList=function(){return r.Message.getRepeatedWrapperField(this,proto.google.protobuf.UninterpretedOption,999)},proto.google.protobuf.EnumOptions.prototype.setUninterpretedOptionList=function(e){return r.Message.setRepeatedWrapperField(this,999,e)},proto.google.protobuf.EnumOptions.prototype.addUninterpretedOption=function(e,t){return r.Message.addToRepeatedWrapperField(this,999,e,proto.google.protobuf.UninterpretedOption,t)},proto.google.protobuf.EnumOptions.prototype.clearUninterpretedOptionList=function(){return this.setUninterpretedOptionList([])},proto.google.protobuf.EnumValueOptions.repeatedFields_=[999],r.Message.GENERATE_TO_OBJECT&&(proto.google.protobuf.EnumValueOptions.prototype.toObject=function(e){return proto.google.protobuf.EnumValueOptions.toObject(e,this)},proto.google.protobuf.EnumValueOptions.toObject=function(e,t){var o={deprecated:r.Message.getBooleanFieldWithDefault(t,1,!1),uninterpretedOptionList:r.Message.toObjectList(t.getUninterpretedOptionList(),proto.google.protobuf.UninterpretedOption.toObject,e)};return r.Message.toObjectExtension(t,o,proto.google.protobuf.EnumValueOptions.extensions,proto.google.protobuf.EnumValueOptions.prototype.getExtension,e),e&&(o.$jspbMessageInstance=t),o}),proto.google.protobuf.EnumValueOptions.deserializeBinary=function(e){var t=new r.BinaryReader(e),o=new proto.google.protobuf.EnumValueOptions;return proto.google.protobuf.EnumValueOptions.deserializeBinaryFromReader(o,t)},proto.google.protobuf.EnumValueOptions.deserializeBinaryFromReader=function(e,t){for(;t.nextField()&&!t.isEndGroup();){switch(t.getFieldNumber()){case 1:var o=t.readBool();e.setDeprecated(o);break;case 999:o=new proto.google.protobuf.UninterpretedOption;t.readMessage(o,proto.google.protobuf.UninterpretedOption.deserializeBinaryFromReader),e.addUninterpretedOption(o);break;default:r.Message.readBinaryExtension(e,t,proto.google.protobuf.EnumValueOptions.extensionsBinary,proto.google.protobuf.EnumValueOptions.prototype.getExtension,proto.google.protobuf.EnumValueOptions.prototype.setExtension)}}return e},proto.google.protobuf.EnumValueOptions.prototype.serializeBinary=function(){var e=new r.BinaryWriter;return proto.google.protobuf.EnumValueOptions.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.google.protobuf.EnumValueOptions.serializeBinaryToWriter=function(e,t){var o=void 0;null!=(o=r.Message.getField(e,1))&&t.writeBool(1,o),(o=e.getUninterpretedOptionList()).length>0&&t.writeRepeatedMessage(999,o,proto.google.protobuf.UninterpretedOption.serializeBinaryToWriter),r.Message.serializeBinaryExtensions(e,t,proto.google.protobuf.EnumValueOptions.extensionsBinary,proto.google.protobuf.EnumValueOptions.prototype.getExtension)},proto.google.protobuf.EnumValueOptions.prototype.getDeprecated=function(){return r.Message.getBooleanFieldWithDefault(this,1,!1)},proto.google.protobuf.EnumValueOptions.prototype.setDeprecated=function(e){return r.Message.setField(this,1,e)},proto.google.protobuf.EnumValueOptions.prototype.clearDeprecated=function(){return r.Message.setField(this,1,void 0)},proto.google.protobuf.EnumValueOptions.prototype.hasDeprecated=function(){return null!=r.Message.getField(this,1)},proto.google.protobuf.EnumValueOptions.prototype.getUninterpretedOptionList=function(){return r.Message.getRepeatedWrapperField(this,proto.google.protobuf.UninterpretedOption,999)},proto.google.protobuf.EnumValueOptions.prototype.setUninterpretedOptionList=function(e){return r.Message.setRepeatedWrapperField(this,999,e)},proto.google.protobuf.EnumValueOptions.prototype.addUninterpretedOption=function(e,t){return r.Message.addToRepeatedWrapperField(this,999,e,proto.google.protobuf.UninterpretedOption,t)},proto.google.protobuf.EnumValueOptions.prototype.clearUninterpretedOptionList=function(){return this.setUninterpretedOptionList([])},proto.google.protobuf.ServiceOptions.repeatedFields_=[999],r.Message.GENERATE_TO_OBJECT&&(proto.google.protobuf.ServiceOptions.prototype.toObject=function(e){return proto.google.protobuf.ServiceOptions.toObject(e,this)},proto.google.protobuf.ServiceOptions.toObject=function(e,t){var o={deprecated:r.Message.getBooleanFieldWithDefault(t,33,!1),uninterpretedOptionList:r.Message.toObjectList(t.getUninterpretedOptionList(),proto.google.protobuf.UninterpretedOption.toObject,e)};return r.Message.toObjectExtension(t,o,proto.google.protobuf.ServiceOptions.extensions,proto.google.protobuf.ServiceOptions.prototype.getExtension,e),e&&(o.$jspbMessageInstance=t),o}),proto.google.protobuf.ServiceOptions.deserializeBinary=function(e){var t=new r.BinaryReader(e),o=new proto.google.protobuf.ServiceOptions;return proto.google.protobuf.ServiceOptions.deserializeBinaryFromReader(o,t)},proto.google.protobuf.ServiceOptions.deserializeBinaryFromReader=function(e,t){for(;t.nextField()&&!t.isEndGroup();){switch(t.getFieldNumber()){case 33:var o=t.readBool();e.setDeprecated(o);break;case 999:o=new proto.google.protobuf.UninterpretedOption;t.readMessage(o,proto.google.protobuf.UninterpretedOption.deserializeBinaryFromReader),e.addUninterpretedOption(o);break;default:r.Message.readBinaryExtension(e,t,proto.google.protobuf.ServiceOptions.extensionsBinary,proto.google.protobuf.ServiceOptions.prototype.getExtension,proto.google.protobuf.ServiceOptions.prototype.setExtension)}}return e},proto.google.protobuf.ServiceOptions.prototype.serializeBinary=function(){var e=new r.BinaryWriter;return proto.google.protobuf.ServiceOptions.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.google.protobuf.ServiceOptions.serializeBinaryToWriter=function(e,t){var o=void 0;null!=(o=r.Message.getField(e,33))&&t.writeBool(33,o),(o=e.getUninterpretedOptionList()).length>0&&t.writeRepeatedMessage(999,o,proto.google.protobuf.UninterpretedOption.serializeBinaryToWriter),r.Message.serializeBinaryExtensions(e,t,proto.google.protobuf.ServiceOptions.extensionsBinary,proto.google.protobuf.ServiceOptions.prototype.getExtension)},proto.google.protobuf.ServiceOptions.prototype.getDeprecated=function(){return r.Message.getBooleanFieldWithDefault(this,33,!1)},proto.google.protobuf.ServiceOptions.prototype.setDeprecated=function(e){return r.Message.setField(this,33,e)},proto.google.protobuf.ServiceOptions.prototype.clearDeprecated=function(){return r.Message.setField(this,33,void 0)},proto.google.protobuf.ServiceOptions.prototype.hasDeprecated=function(){return null!=r.Message.getField(this,33)},proto.google.protobuf.ServiceOptions.prototype.getUninterpretedOptionList=function(){return r.Message.getRepeatedWrapperField(this,proto.google.protobuf.UninterpretedOption,999)},proto.google.protobuf.ServiceOptions.prototype.setUninterpretedOptionList=function(e){return r.Message.setRepeatedWrapperField(this,999,e)},proto.google.protobuf.ServiceOptions.prototype.addUninterpretedOption=function(e,t){return r.Message.addToRepeatedWrapperField(this,999,e,proto.google.protobuf.UninterpretedOption,t)},proto.google.protobuf.ServiceOptions.prototype.clearUninterpretedOptionList=function(){return this.setUninterpretedOptionList([])},proto.google.protobuf.MethodOptions.repeatedFields_=[999],r.Message.GENERATE_TO_OBJECT&&(proto.google.protobuf.MethodOptions.prototype.toObject=function(e){return proto.google.protobuf.MethodOptions.toObject(e,this)},proto.google.protobuf.MethodOptions.toObject=function(e,t){var o={deprecated:r.Message.getBooleanFieldWithDefault(t,33,!1),idempotencyLevel:r.Message.getFieldWithDefault(t,34,0),uninterpretedOptionList:r.Message.toObjectList(t.getUninterpretedOptionList(),proto.google.protobuf.UninterpretedOption.toObject,e)};return r.Message.toObjectExtension(t,o,proto.google.protobuf.MethodOptions.extensions,proto.google.protobuf.MethodOptions.prototype.getExtension,e),e&&(o.$jspbMessageInstance=t),o}),proto.google.protobuf.MethodOptions.deserializeBinary=function(e){var t=new r.BinaryReader(e),o=new proto.google.protobuf.MethodOptions;return proto.google.protobuf.MethodOptions.deserializeBinaryFromReader(o,t)},proto.google.protobuf.MethodOptions.deserializeBinaryFromReader=function(e,t){for(;t.nextField()&&!t.isEndGroup();){switch(t.getFieldNumber()){case 33:var o=t.readBool();e.setDeprecated(o);break;case 34:o=t.readEnum();e.setIdempotencyLevel(o);break;case 999:o=new proto.google.protobuf.UninterpretedOption;t.readMessage(o,proto.google.protobuf.UninterpretedOption.deserializeBinaryFromReader),e.addUninterpretedOption(o);break;default:r.Message.readBinaryExtension(e,t,proto.google.protobuf.MethodOptions.extensionsBinary,proto.google.protobuf.MethodOptions.prototype.getExtension,proto.google.protobuf.MethodOptions.prototype.setExtension)}}return e},proto.google.protobuf.MethodOptions.prototype.serializeBinary=function(){var e=new r.BinaryWriter;return proto.google.protobuf.MethodOptions.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.google.protobuf.MethodOptions.serializeBinaryToWriter=function(e,t){var o=void 0;null!=(o=r.Message.getField(e,33))&&t.writeBool(33,o),null!=(o=r.Message.getField(e,34))&&t.writeEnum(34,o),(o=e.getUninterpretedOptionList()).length>0&&t.writeRepeatedMessage(999,o,proto.google.protobuf.UninterpretedOption.serializeBinaryToWriter),r.Message.serializeBinaryExtensions(e,t,proto.google.protobuf.MethodOptions.extensionsBinary,proto.google.protobuf.MethodOptions.prototype.getExtension)},proto.google.protobuf.MethodOptions.IdempotencyLevel={IDEMPOTENCY_UNKNOWN:0,NO_SIDE_EFFECTS:1,IDEMPOTENT:2},proto.google.protobuf.MethodOptions.prototype.getDeprecated=function(){return r.Message.getBooleanFieldWithDefault(this,33,!1)},proto.google.protobuf.MethodOptions.prototype.setDeprecated=function(e){return r.Message.setField(this,33,e)},proto.google.protobuf.MethodOptions.prototype.clearDeprecated=function(){return r.Message.setField(this,33,void 0)},proto.google.protobuf.MethodOptions.prototype.hasDeprecated=function(){return null!=r.Message.getField(this,33)},proto.google.protobuf.MethodOptions.prototype.getIdempotencyLevel=function(){return r.Message.getFieldWithDefault(this,34,0)},proto.google.protobuf.MethodOptions.prototype.setIdempotencyLevel=function(e){return r.Message.setField(this,34,e)},proto.google.protobuf.MethodOptions.prototype.clearIdempotencyLevel=function(){return r.Message.setField(this,34,void 0)},proto.google.protobuf.MethodOptions.prototype.hasIdempotencyLevel=function(){return null!=r.Message.getField(this,34)},proto.google.protobuf.MethodOptions.prototype.getUninterpretedOptionList=function(){return r.Message.getRepeatedWrapperField(this,proto.google.protobuf.UninterpretedOption,999)},proto.google.protobuf.MethodOptions.prototype.setUninterpretedOptionList=function(e){return r.Message.setRepeatedWrapperField(this,999,e)},proto.google.protobuf.MethodOptions.prototype.addUninterpretedOption=function(e,t){return r.Message.addToRepeatedWrapperField(this,999,e,proto.google.protobuf.UninterpretedOption,t)},proto.google.protobuf.MethodOptions.prototype.clearUninterpretedOptionList=function(){return this.setUninterpretedOptionList([])},proto.google.protobuf.UninterpretedOption.repeatedFields_=[2],r.Message.GENERATE_TO_OBJECT&&(proto.google.protobuf.UninterpretedOption.prototype.toObject=function(e){return proto.google.protobuf.UninterpretedOption.toObject(e,this)},proto.google.protobuf.UninterpretedOption.toObject=function(e,t){var o,s={nameList:r.Message.toObjectList(t.getNameList(),proto.google.protobuf.UninterpretedOption.NamePart.toObject,e),identifierValue:null==(o=r.Message.getField(t,3))?void 0:o,positiveIntValue:null==(o=r.Message.getField(t,4))?void 0:o,negativeIntValue:null==(o=r.Message.getField(t,5))?void 0:o,doubleValue:null==(o=r.Message.getOptionalFloatingPointField(t,6))?void 0:o,stringValue:t.getStringValue_asB64(),aggregateValue:null==(o=r.Message.getField(t,8))?void 0:o};return e&&(s.$jspbMessageInstance=t),s}),proto.google.protobuf.UninterpretedOption.deserializeBinary=function(e){var t=new r.BinaryReader(e),o=new proto.google.protobuf.UninterpretedOption;return proto.google.protobuf.UninterpretedOption.deserializeBinaryFromReader(o,t)},proto.google.protobuf.UninterpretedOption.deserializeBinaryFromReader=function(e,t){for(;t.nextField()&&!t.isEndGroup();){switch(t.getFieldNumber()){case 2:var o=new proto.google.protobuf.UninterpretedOption.NamePart;t.readMessage(o,proto.google.protobuf.UninterpretedOption.NamePart.deserializeBinaryFromReader),e.addName(o);break;case 3:o=t.readString();e.setIdentifierValue(o);break;case 4:o=t.readUint64();e.setPositiveIntValue(o);break;case 5:o=t.readInt64();e.setNegativeIntValue(o);break;case 6:o=t.readDouble();e.setDoubleValue(o);break;case 7:o=t.readBytes();e.setStringValue(o);break;case 8:o=t.readString();e.setAggregateValue(o);break;default:t.skipField()}}return e},proto.google.protobuf.UninterpretedOption.prototype.serializeBinary=function(){var e=new r.BinaryWriter;return proto.google.protobuf.UninterpretedOption.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.google.protobuf.UninterpretedOption.serializeBinaryToWriter=function(e,t){var o=void 0;(o=e.getNameList()).length>0&&t.writeRepeatedMessage(2,o,proto.google.protobuf.UninterpretedOption.NamePart.serializeBinaryToWriter),null!=(o=r.Message.getField(e,3))&&t.writeString(3,o),null!=(o=r.Message.getField(e,4))&&t.writeUint64(4,o),null!=(o=r.Message.getField(e,5))&&t.writeInt64(5,o),null!=(o=r.Message.getField(e,6))&&t.writeDouble(6,o),null!=(o=r.Message.getField(e,7))&&t.writeBytes(7,o),null!=(o=r.Message.getField(e,8))&&t.writeString(8,o)},r.Message.GENERATE_TO_OBJECT&&(proto.google.protobuf.UninterpretedOption.NamePart.prototype.toObject=function(e){return proto.google.protobuf.UninterpretedOption.NamePart.toObject(e,this)},proto.google.protobuf.UninterpretedOption.NamePart.toObject=function(e,t){var o,s={namePart:null==(o=r.Message.getField(t,1))?void 0:o,isExtension:null==(o=r.Message.getBooleanField(t,2))?void 0:o};return e&&(s.$jspbMessageInstance=t),s}),proto.google.protobuf.UninterpretedOption.NamePart.deserializeBinary=function(e){var t=new r.BinaryReader(e),o=new proto.google.protobuf.UninterpretedOption.NamePart;return proto.google.protobuf.UninterpretedOption.NamePart.deserializeBinaryFromReader(o,t)},proto.google.protobuf.UninterpretedOption.NamePart.deserializeBinaryFromReader=function(e,t){for(;t.nextField()&&!t.isEndGroup();){switch(t.getFieldNumber()){case 1:var o=t.readString();e.setNamePart(o);break;case 2:o=t.readBool();e.setIsExtension(o);break;default:t.skipField()}}return e},proto.google.protobuf.UninterpretedOption.NamePart.prototype.serializeBinary=function(){var e=new r.BinaryWriter;return proto.google.protobuf.UninterpretedOption.NamePart.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.google.protobuf.UninterpretedOption.NamePart.serializeBinaryToWriter=function(e,t){var o=void 0;null!=(o=r.Message.getField(e,1))&&t.writeString(1,o),null!=(o=r.Message.getField(e,2))&&t.writeBool(2,o)},proto.google.protobuf.UninterpretedOption.NamePart.prototype.getNamePart=function(){return r.Message.getFieldWithDefault(this,1,"")},proto.google.protobuf.UninterpretedOption.NamePart.prototype.setNamePart=function(e){return r.Message.setField(this,1,e)},proto.google.protobuf.UninterpretedOption.NamePart.prototype.clearNamePart=function(){return r.Message.setField(this,1,void 0)},proto.google.protobuf.UninterpretedOption.NamePart.prototype.hasNamePart=function(){return null!=r.Message.getField(this,1)},proto.google.protobuf.UninterpretedOption.NamePart.prototype.getIsExtension=function(){return r.Message.getBooleanFieldWithDefault(this,2,!1)},proto.google.protobuf.UninterpretedOption.NamePart.prototype.setIsExtension=function(e){return r.Message.setField(this,2,e)},proto.google.protobuf.UninterpretedOption.NamePart.prototype.clearIsExtension=function(){return r.Message.setField(this,2,void 0)},proto.google.protobuf.UninterpretedOption.NamePart.prototype.hasIsExtension=function(){return null!=r.Message.getField(this,2)},proto.google.protobuf.UninterpretedOption.prototype.getNameList=function(){return r.Message.getRepeatedWrapperField(this,proto.google.protobuf.UninterpretedOption.NamePart,2)},proto.google.protobuf.UninterpretedOption.prototype.setNameList=function(e){return r.Message.setRepeatedWrapperField(this,2,e)},proto.google.protobuf.UninterpretedOption.prototype.addName=function(e,t){return r.Message.addToRepeatedWrapperField(this,2,e,proto.google.protobuf.UninterpretedOption.NamePart,t)},proto.google.protobuf.UninterpretedOption.prototype.clearNameList=function(){return this.setNameList([])},proto.google.protobuf.UninterpretedOption.prototype.getIdentifierValue=function(){return r.Message.getFieldWithDefault(this,3,"")},proto.google.protobuf.UninterpretedOption.prototype.setIdentifierValue=function(e){return r.Message.setField(this,3,e)},proto.google.protobuf.UninterpretedOption.prototype.clearIdentifierValue=function(){return r.Message.setField(this,3,void 0)},proto.google.protobuf.UninterpretedOption.prototype.hasIdentifierValue=function(){return null!=r.Message.getField(this,3)},proto.google.protobuf.UninterpretedOption.prototype.getPositiveIntValue=function(){return r.Message.getFieldWithDefault(this,4,0)},proto.google.protobuf.UninterpretedOption.prototype.setPositiveIntValue=function(e){return r.Message.setField(this,4,e)},proto.google.protobuf.UninterpretedOption.prototype.clearPositiveIntValue=function(){return r.Message.setField(this,4,void 0)},proto.google.protobuf.UninterpretedOption.prototype.hasPositiveIntValue=function(){return null!=r.Message.getField(this,4)},proto.google.protobuf.UninterpretedOption.prototype.getNegativeIntValue=function(){return r.Message.getFieldWithDefault(this,5,0)},proto.google.protobuf.UninterpretedOption.prototype.setNegativeIntValue=function(e){return r.Message.setField(this,5,e)},proto.google.protobuf.UninterpretedOption.prototype.clearNegativeIntValue=function(){return r.Message.setField(this,5,void 0)},proto.google.protobuf.UninterpretedOption.prototype.hasNegativeIntValue=function(){return null!=r.Message.getField(this,5)},proto.google.protobuf.UninterpretedOption.prototype.getDoubleValue=function(){return r.Message.getFloatingPointFieldWithDefault(this,6,0)},proto.google.protobuf.UninterpretedOption.prototype.setDoubleValue=function(e){return r.Message.setField(this,6,e)},proto.google.protobuf.UninterpretedOption.prototype.clearDoubleValue=function(){return r.Message.setField(this,6,void 0)},proto.google.protobuf.UninterpretedOption.prototype.hasDoubleValue=function(){return null!=r.Message.getField(this,6)},proto.google.protobuf.UninterpretedOption.prototype.getStringValue=function(){return r.Message.getFieldWithDefault(this,7,"")},proto.google.protobuf.UninterpretedOption.prototype.getStringValue_asB64=function(){return r.Message.bytesAsB64(this.getStringValue())},proto.google.protobuf.UninterpretedOption.prototype.getStringValue_asU8=function(){return r.Message.bytesAsU8(this.getStringValue())},proto.google.protobuf.UninterpretedOption.prototype.setStringValue=function(e){return r.Message.setField(this,7,e)},proto.google.protobuf.UninterpretedOption.prototype.clearStringValue=function(){return r.Message.setField(this,7,void 0)},proto.google.protobuf.UninterpretedOption.prototype.hasStringValue=function(){return null!=r.Message.getField(this,7)},proto.google.protobuf.UninterpretedOption.prototype.getAggregateValue=function(){return r.Message.getFieldWithDefault(this,8,"")},proto.google.protobuf.UninterpretedOption.prototype.setAggregateValue=function(e){return r.Message.setField(this,8,e)},proto.google.protobuf.UninterpretedOption.prototype.clearAggregateValue=function(){return r.Message.setField(this,8,void 0)},proto.google.protobuf.UninterpretedOption.prototype.hasAggregateValue=function(){return null!=r.Message.getField(this,8)},proto.google.protobuf.SourceCodeInfo.repeatedFields_=[1],r.Message.GENERATE_TO_OBJECT&&(proto.google.protobuf.SourceCodeInfo.prototype.toObject=function(e){return proto.google.protobuf.SourceCodeInfo.toObject(e,this)},proto.google.protobuf.SourceCodeInfo.toObject=function(e,t){var o={locationList:r.Message.toObjectList(t.getLocationList(),proto.google.protobuf.SourceCodeInfo.Location.toObject,e)};return e&&(o.$jspbMessageInstance=t),o}),proto.google.protobuf.SourceCodeInfo.deserializeBinary=function(e){var t=new r.BinaryReader(e),o=new proto.google.protobuf.SourceCodeInfo;return proto.google.protobuf.SourceCodeInfo.deserializeBinaryFromReader(o,t)},proto.google.protobuf.SourceCodeInfo.deserializeBinaryFromReader=function(e,t){for(;t.nextField()&&!t.isEndGroup();){if(1===t.getFieldNumber()){var o=new proto.google.protobuf.SourceCodeInfo.Location;t.readMessage(o,proto.google.protobuf.SourceCodeInfo.Location.deserializeBinaryFromReader),e.addLocation(o)}else t.skipField()}return e},proto.google.protobuf.SourceCodeInfo.prototype.serializeBinary=function(){var e=new r.BinaryWriter;return proto.google.protobuf.SourceCodeInfo.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.google.protobuf.SourceCodeInfo.serializeBinaryToWriter=function(e,t){var o;(o=e.getLocationList()).length>0&&t.writeRepeatedMessage(1,o,proto.google.protobuf.SourceCodeInfo.Location.serializeBinaryToWriter)},proto.google.protobuf.SourceCodeInfo.Location.repeatedFields_=[1,2,6],r.Message.GENERATE_TO_OBJECT&&(proto.google.protobuf.SourceCodeInfo.Location.prototype.toObject=function(e){return proto.google.protobuf.SourceCodeInfo.Location.toObject(e,this)},proto.google.protobuf.SourceCodeInfo.Location.toObject=function(e,t){var o,s={pathList:null==(o=r.Message.getRepeatedField(t,1))?void 0:o,spanList:null==(o=r.Message.getRepeatedField(t,2))?void 0:o,leadingComments:null==(o=r.Message.getField(t,3))?void 0:o,trailingComments:null==(o=r.Message.getField(t,4))?void 0:o,leadingDetachedCommentsList:null==(o=r.Message.getRepeatedField(t,6))?void 0:o};return e&&(s.$jspbMessageInstance=t),s}),proto.google.protobuf.SourceCodeInfo.Location.deserializeBinary=function(e){var t=new r.BinaryReader(e),o=new proto.google.protobuf.SourceCodeInfo.Location;return proto.google.protobuf.SourceCodeInfo.Location.deserializeBinaryFromReader(o,t)},proto.google.protobuf.SourceCodeInfo.Location.deserializeBinaryFromReader=function(e,t){for(;t.nextField()&&!t.isEndGroup();){switch(t.getFieldNumber()){case 1:for(var o=t.isDelimited()?t.readPackedInt32():[t.readInt32()],r=0;r<o.length;r++)e.addPath(o[r]);break;case 2:for(o=t.isDelimited()?t.readPackedInt32():[t.readInt32()],r=0;r<o.length;r++)e.addSpan(o[r]);break;case 3:var s=t.readString();e.setLeadingComments(s);break;case 4:s=t.readString();e.setTrailingComments(s);break;case 6:s=t.readString();e.addLeadingDetachedComments(s);break;default:t.skipField()}}return e},proto.google.protobuf.SourceCodeInfo.Location.prototype.serializeBinary=function(){var e=new r.BinaryWriter;return proto.google.protobuf.SourceCodeInfo.Location.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.google.protobuf.SourceCodeInfo.Location.serializeBinaryToWriter=function(e,t){var o=void 0;(o=e.getPathList()).length>0&&t.writePackedInt32(1,o),(o=e.getSpanList()).length>0&&t.writePackedInt32(2,o),null!=(o=r.Message.getField(e,3))&&t.writeString(3,o),null!=(o=r.Message.getField(e,4))&&t.writeString(4,o),(o=e.getLeadingDetachedCommentsList()).length>0&&t.writeRepeatedString(6,o)},proto.google.protobuf.SourceCodeInfo.Location.prototype.getPathList=function(){return r.Message.getRepeatedField(this,1)},proto.google.protobuf.SourceCodeInfo.Location.prototype.setPathList=function(e){return r.Message.setField(this,1,e||[])},proto.google.protobuf.SourceCodeInfo.Location.prototype.addPath=function(e,t){return r.Message.addToRepeatedField(this,1,e,t)},proto.google.protobuf.SourceCodeInfo.Location.prototype.clearPathList=function(){return this.setPathList([])},proto.google.protobuf.SourceCodeInfo.Location.prototype.getSpanList=function(){return r.Message.getRepeatedField(this,2)},proto.google.protobuf.SourceCodeInfo.Location.prototype.setSpanList=function(e){return r.Message.setField(this,2,e||[])},proto.google.protobuf.SourceCodeInfo.Location.prototype.addSpan=function(e,t){return r.Message.addToRepeatedField(this,2,e,t)},proto.google.protobuf.SourceCodeInfo.Location.prototype.clearSpanList=function(){return this.setSpanList([])},proto.google.protobuf.SourceCodeInfo.Location.prototype.getLeadingComments=function(){return r.Message.getFieldWithDefault(this,3,"")},proto.google.protobuf.SourceCodeInfo.Location.prototype.setLeadingComments=function(e){return r.Message.setField(this,3,e)},proto.google.protobuf.SourceCodeInfo.Location.prototype.clearLeadingComments=function(){return r.Message.setField(this,3,void 0)},proto.google.protobuf.SourceCodeInfo.Location.prototype.hasLeadingComments=function(){return null!=r.Message.getField(this,3)},proto.google.protobuf.SourceCodeInfo.Location.prototype.getTrailingComments=function(){return r.Message.getFieldWithDefault(this,4,"")},proto.google.protobuf.SourceCodeInfo.Location.prototype.setTrailingComments=function(e){return r.Message.setField(this,4,e)},proto.google.protobuf.SourceCodeInfo.Location.prototype.clearTrailingComments=function(){return r.Message.setField(this,4,void 0)},proto.google.protobuf.SourceCodeInfo.Location.prototype.hasTrailingComments=function(){return null!=r.Message.getField(this,4)},proto.google.protobuf.SourceCodeInfo.Location.prototype.getLeadingDetachedCommentsList=function(){return r.Message.getRepeatedField(this,6)},proto.google.protobuf.SourceCodeInfo.Location.prototype.setLeadingDetachedCommentsList=function(e){return r.Message.setField(this,6,e||[])},proto.google.protobuf.SourceCodeInfo.Location.prototype.addLeadingDetachedComments=function(e,t){return r.Message.addToRepeatedField(this,6,e,t)},proto.google.protobuf.SourceCodeInfo.Location.prototype.clearLeadingDetachedCommentsList=function(){return this.setLeadingDetachedCommentsList([])},proto.google.protobuf.SourceCodeInfo.prototype.getLocationList=function(){return r.Message.getRepeatedWrapperField(this,proto.google.protobuf.SourceCodeInfo.Location,1)},proto.google.protobuf.SourceCodeInfo.prototype.setLocationList=function(e){return r.Message.setRepeatedWrapperField(this,1,e)},proto.google.protobuf.SourceCodeInfo.prototype.addLocation=function(e,t){return r.Message.addToRepeatedWrapperField(this,1,e,proto.google.protobuf.SourceCodeInfo.Location,t)},proto.google.protobuf.SourceCodeInfo.prototype.clearLocationList=function(){return this.setLocationList([])},proto.google.protobuf.GeneratedCodeInfo.repeatedFields_=[1],r.Message.GENERATE_TO_OBJECT&&(proto.google.protobuf.GeneratedCodeInfo.prototype.toObject=function(e){return proto.google.protobuf.GeneratedCodeInfo.toObject(e,this)},proto.google.protobuf.GeneratedCodeInfo.toObject=function(e,t){var o={annotationList:r.Message.toObjectList(t.getAnnotationList(),proto.google.protobuf.GeneratedCodeInfo.Annotation.toObject,e)};return e&&(o.$jspbMessageInstance=t),o}),proto.google.protobuf.GeneratedCodeInfo.deserializeBinary=function(e){var t=new r.BinaryReader(e),o=new proto.google.protobuf.GeneratedCodeInfo;return proto.google.protobuf.GeneratedCodeInfo.deserializeBinaryFromReader(o,t)},proto.google.protobuf.GeneratedCodeInfo.deserializeBinaryFromReader=function(e,t){for(;t.nextField()&&!t.isEndGroup();){if(1===t.getFieldNumber()){var o=new proto.google.protobuf.GeneratedCodeInfo.Annotation;t.readMessage(o,proto.google.protobuf.GeneratedCodeInfo.Annotation.deserializeBinaryFromReader),e.addAnnotation(o)}else t.skipField()}return e},proto.google.protobuf.GeneratedCodeInfo.prototype.serializeBinary=function(){var e=new r.BinaryWriter;return proto.google.protobuf.GeneratedCodeInfo.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.google.protobuf.GeneratedCodeInfo.serializeBinaryToWriter=function(e,t){var o;(o=e.getAnnotationList()).length>0&&t.writeRepeatedMessage(1,o,proto.google.protobuf.GeneratedCodeInfo.Annotation.serializeBinaryToWriter)},proto.google.protobuf.GeneratedCodeInfo.Annotation.repeatedFields_=[1],r.Message.GENERATE_TO_OBJECT&&(proto.google.protobuf.GeneratedCodeInfo.Annotation.prototype.toObject=function(e){return proto.google.protobuf.GeneratedCodeInfo.Annotation.toObject(e,this)},proto.google.protobuf.GeneratedCodeInfo.Annotation.toObject=function(e,t){var o,s={pathList:null==(o=r.Message.getRepeatedField(t,1))?void 0:o,sourceFile:null==(o=r.Message.getField(t,2))?void 0:o,begin:null==(o=r.Message.getField(t,3))?void 0:o,end:null==(o=r.Message.getField(t,4))?void 0:o};return e&&(s.$jspbMessageInstance=t),s}),proto.google.protobuf.GeneratedCodeInfo.Annotation.deserializeBinary=function(e){var t=new r.BinaryReader(e),o=new proto.google.protobuf.GeneratedCodeInfo.Annotation;return proto.google.protobuf.GeneratedCodeInfo.Annotation.deserializeBinaryFromReader(o,t)},proto.google.protobuf.GeneratedCodeInfo.Annotation.deserializeBinaryFromReader=function(e,t){for(;t.nextField()&&!t.isEndGroup();){switch(t.getFieldNumber()){case 1:for(var o=t.isDelimited()?t.readPackedInt32():[t.readInt32()],r=0;r<o.length;r++)e.addPath(o[r]);break;case 2:var s=t.readString();e.setSourceFile(s);break;case 3:s=t.readInt32();e.setBegin(s);break;case 4:s=t.readInt32();e.setEnd(s);break;default:t.skipField()}}return e},proto.google.protobuf.GeneratedCodeInfo.Annotation.prototype.serializeBinary=function(){var e=new r.BinaryWriter;return proto.google.protobuf.GeneratedCodeInfo.Annotation.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.google.protobuf.GeneratedCodeInfo.Annotation.serializeBinaryToWriter=function(e,t){var o=void 0;(o=e.getPathList()).length>0&&t.writePackedInt32(1,o),null!=(o=r.Message.getField(e,2))&&t.writeString(2,o),null!=(o=r.Message.getField(e,3))&&t.writeInt32(3,o),null!=(o=r.Message.getField(e,4))&&t.writeInt32(4,o)},proto.google.protobuf.GeneratedCodeInfo.Annotation.prototype.getPathList=function(){return r.Message.getRepeatedField(this,1)},proto.google.protobuf.GeneratedCodeInfo.Annotation.prototype.setPathList=function(e){return r.Message.setField(this,1,e||[])},proto.google.protobuf.GeneratedCodeInfo.Annotation.prototype.addPath=function(e,t){return r.Message.addToRepeatedField(this,1,e,t)},proto.google.protobuf.GeneratedCodeInfo.Annotation.prototype.clearPathList=function(){return this.setPathList([])},proto.google.protobuf.GeneratedCodeInfo.Annotation.prototype.getSourceFile=function(){return r.Message.getFieldWithDefault(this,2,"")},proto.google.protobuf.GeneratedCodeInfo.Annotation.prototype.setSourceFile=function(e){return r.Message.setField(this,2,e)},proto.google.protobuf.GeneratedCodeInfo.Annotation.prototype.clearSourceFile=function(){return r.Message.setField(this,2,void 0)},proto.google.protobuf.GeneratedCodeInfo.Annotation.prototype.hasSourceFile=function(){return null!=r.Message.getField(this,2)},proto.google.protobuf.GeneratedCodeInfo.Annotation.prototype.getBegin=function(){return r.Message.getFieldWithDefault(this,3,0)},proto.google.protobuf.GeneratedCodeInfo.Annotation.prototype.setBegin=function(e){return r.Message.setField(this,3,e)},proto.google.protobuf.GeneratedCodeInfo.Annotation.prototype.clearBegin=function(){return r.Message.setField(this,3,void 0)},proto.google.protobuf.GeneratedCodeInfo.Annotation.prototype.hasBegin=function(){return null!=r.Message.getField(this,3)},proto.google.protobuf.GeneratedCodeInfo.Annotation.prototype.getEnd=function(){return r.Message.getFieldWithDefault(this,4,0)},proto.google.protobuf.GeneratedCodeInfo.Annotation.prototype.setEnd=function(e){return r.Message.setField(this,4,e)},proto.google.protobuf.GeneratedCodeInfo.Annotation.prototype.clearEnd=function(){return r.Message.setField(this,4,void 0)},proto.google.protobuf.GeneratedCodeInfo.Annotation.prototype.hasEnd=function(){return null!=r.Message.getField(this,4)},proto.google.protobuf.GeneratedCodeInfo.prototype.getAnnotationList=function(){return r.Message.getRepeatedWrapperField(this,proto.google.protobuf.GeneratedCodeInfo.Annotation,1)},proto.google.protobuf.GeneratedCodeInfo.prototype.setAnnotationList=function(e){return r.Message.setRepeatedWrapperField(this,1,e)},proto.google.protobuf.GeneratedCodeInfo.prototype.addAnnotation=function(e,t){return r.Message.addToRepeatedWrapperField(this,1,e,proto.google.protobuf.GeneratedCodeInfo.Annotation,t)},proto.google.protobuf.GeneratedCodeInfo.prototype.clearAnnotationList=function(){return this.setAnnotationList([])},s.object.extend(t,proto.google.protobuf)},1134:(e,t,o)=>{var r=o(3019),s=r,i="undefined"!=typeof globalThis&&globalThis||"undefined"!=typeof window&&window||void 0!==i&&i||"undefined"!=typeof self&&self||function(){return this}.call(null)||Function("return this")();s.exportSymbol("proto.google.protobuf.Timestamp",null,i),proto.google.protobuf.Timestamp=function(e){r.Message.initialize(this,e,0,-1,null,null)},s.inherits(proto.google.protobuf.Timestamp,r.Message),s.DEBUG&&!COMPILED&&(proto.google.protobuf.Timestamp.displayName="proto.google.protobuf.Timestamp"),r.Message.GENERATE_TO_OBJECT&&(proto.google.protobuf.Timestamp.prototype.toObject=function(e){return proto.google.protobuf.Timestamp.toObject(e,this)},proto.google.protobuf.Timestamp.toObject=function(e,t){var o={seconds:r.Message.getFieldWithDefault(t,1,0),nanos:r.Message.getFieldWithDefault(t,2,0)};return e&&(o.$jspbMessageInstance=t),o}),proto.google.protobuf.Timestamp.deserializeBinary=function(e){var t=new r.BinaryReader(e),o=new proto.google.protobuf.Timestamp;return proto.google.protobuf.Timestamp.deserializeBinaryFromReader(o,t)},proto.google.protobuf.Timestamp.deserializeBinaryFromReader=function(e,t){for(;t.nextField()&&!t.isEndGroup();){switch(t.getFieldNumber()){case 1:var o=t.readInt64();e.setSeconds(o);break;case 2:o=t.readInt32();e.setNanos(o);break;default:t.skipField()}}return e},proto.google.protobuf.Timestamp.prototype.serializeBinary=function(){var e=new r.BinaryWriter;return proto.google.protobuf.Timestamp.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.google.protobuf.Timestamp.serializeBinaryToWriter=function(e,t){var o=void 0;0!==(o=e.getSeconds())&&t.writeInt64(1,o),0!==(o=e.getNanos())&&t.writeInt32(2,o)},proto.google.protobuf.Timestamp.prototype.getSeconds=function(){return r.Message.getFieldWithDefault(this,1,0)},proto.google.protobuf.Timestamp.prototype.setSeconds=function(e){return r.Message.setProto3IntField(this,1,e)},proto.google.protobuf.Timestamp.prototype.getNanos=function(){return r.Message.getFieldWithDefault(this,2,0)},proto.google.protobuf.Timestamp.prototype.setNanos=function(e){return r.Message.setProto3IntField(this,2,e)},s.object.extend(t,proto.google.protobuf),proto.google.protobuf.Timestamp.prototype.toDate=function(){var e=this.getSeconds(),t=this.getNanos();return new Date(1e3*e+t/1e6)},proto.google.protobuf.Timestamp.prototype.fromDate=function(e){this.setSeconds(Math.floor(e.getTime()/1e3)),this.setNanos(1e6*e.getMilliseconds())},proto.google.protobuf.Timestamp.fromDate=function(e){var t=new proto.google.protobuf.Timestamp;return t.fromDate(e),t}},9469:(e,t,o)=>{var r=o(3019),s=r,i="undefined"!=typeof globalThis&&globalThis||"undefined"!=typeof window&&window||void 0!==i&&i||"undefined"!=typeof self&&self||function(){return this}.call(null)||Function("return this")();s.exportSymbol("proto.google.protobuf.BoolValue",null,i),s.exportSymbol("proto.google.protobuf.BytesValue",null,i),s.exportSymbol("proto.google.protobuf.DoubleValue",null,i),s.exportSymbol("proto.google.protobuf.FloatValue",null,i),s.exportSymbol("proto.google.protobuf.Int32Value",null,i),s.exportSymbol("proto.google.protobuf.Int64Value",null,i),s.exportSymbol("proto.google.protobuf.StringValue",null,i),s.exportSymbol("proto.google.protobuf.UInt32Value",null,i),s.exportSymbol("proto.google.protobuf.UInt64Value",null,i),proto.google.protobuf.DoubleValue=function(e){r.Message.initialize(this,e,0,-1,null,null)},s.inherits(proto.google.protobuf.DoubleValue,r.Message),s.DEBUG&&!COMPILED&&(proto.google.protobuf.DoubleValue.displayName="proto.google.protobuf.DoubleValue"),proto.google.protobuf.FloatValue=function(e){r.Message.initialize(this,e,0,-1,null,null)},s.inherits(proto.google.protobuf.FloatValue,r.Message),s.DEBUG&&!COMPILED&&(proto.google.protobuf.FloatValue.displayName="proto.google.protobuf.FloatValue"),proto.google.protobuf.Int64Value=function(e){r.Message.initialize(this,e,0,-1,null,null)},s.inherits(proto.google.protobuf.Int64Value,r.Message),s.DEBUG&&!COMPILED&&(proto.google.protobuf.Int64Value.displayName="proto.google.protobuf.Int64Value"),proto.google.protobuf.UInt64Value=function(e){r.Message.initialize(this,e,0,-1,null,null)},s.inherits(proto.google.protobuf.UInt64Value,r.Message),s.DEBUG&&!COMPILED&&(proto.google.protobuf.UInt64Value.displayName="proto.google.protobuf.UInt64Value"),proto.google.protobuf.Int32Value=function(e){r.Message.initialize(this,e,0,-1,null,null)},s.inherits(proto.google.protobuf.Int32Value,r.Message),s.DEBUG&&!COMPILED&&(proto.google.protobuf.Int32Value.displayName="proto.google.protobuf.Int32Value"),proto.google.protobuf.UInt32Value=function(e){r.Message.initialize(this,e,0,-1,null,null)},s.inherits(proto.google.protobuf.UInt32Value,r.Message),s.DEBUG&&!COMPILED&&(proto.google.protobuf.UInt32Value.displayName="proto.google.protobuf.UInt32Value"),proto.google.protobuf.BoolValue=function(e){r.Message.initialize(this,e,0,-1,null,null)},s.inherits(proto.google.protobuf.BoolValue,r.Message),s.DEBUG&&!COMPILED&&(proto.google.protobuf.BoolValue.displayName="proto.google.protobuf.BoolValue"),proto.google.protobuf.StringValue=function(e){r.Message.initialize(this,e,0,-1,null,null)},s.inherits(proto.google.protobuf.StringValue,r.Message),s.DEBUG&&!COMPILED&&(proto.google.protobuf.StringValue.displayName="proto.google.protobuf.StringValue"),proto.google.protobuf.BytesValue=function(e){r.Message.initialize(this,e,0,-1,null,null)},s.inherits(proto.google.protobuf.BytesValue,r.Message),s.DEBUG&&!COMPILED&&(proto.google.protobuf.BytesValue.displayName="proto.google.protobuf.BytesValue"),r.Message.GENERATE_TO_OBJECT&&(proto.google.protobuf.DoubleValue.prototype.toObject=function(e){return proto.google.protobuf.DoubleValue.toObject(e,this)},proto.google.protobuf.DoubleValue.toObject=function(e,t){var o={value:r.Message.getFloatingPointFieldWithDefault(t,1,0)};return e&&(o.$jspbMessageInstance=t),o}),proto.google.protobuf.DoubleValue.deserializeBinary=function(e){var t=new r.BinaryReader(e),o=new proto.google.protobuf.DoubleValue;return proto.google.protobuf.DoubleValue.deserializeBinaryFromReader(o,t)},proto.google.protobuf.DoubleValue.deserializeBinaryFromReader=function(e,t){for(;t.nextField()&&!t.isEndGroup();){if(1===t.getFieldNumber()){var o=t.readDouble();e.setValue(o)}else t.skipField()}return e},proto.google.protobuf.DoubleValue.prototype.serializeBinary=function(){var e=new r.BinaryWriter;return proto.google.protobuf.DoubleValue.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.google.protobuf.DoubleValue.serializeBinaryToWriter=function(e,t){var o;0!==(o=e.getValue())&&t.writeDouble(1,o)},proto.google.protobuf.DoubleValue.prototype.getValue=function(){return r.Message.getFloatingPointFieldWithDefault(this,1,0)},proto.google.protobuf.DoubleValue.prototype.setValue=function(e){return r.Message.setProto3FloatField(this,1,e)},r.Message.GENERATE_TO_OBJECT&&(proto.google.protobuf.FloatValue.prototype.toObject=function(e){return proto.google.protobuf.FloatValue.toObject(e,this)},proto.google.protobuf.FloatValue.toObject=function(e,t){var o={value:r.Message.getFloatingPointFieldWithDefault(t,1,0)};return e&&(o.$jspbMessageInstance=t),o}),proto.google.protobuf.FloatValue.deserializeBinary=function(e){var t=new r.BinaryReader(e),o=new proto.google.protobuf.FloatValue;return proto.google.protobuf.FloatValue.deserializeBinaryFromReader(o,t)},proto.google.protobuf.FloatValue.deserializeBinaryFromReader=function(e,t){for(;t.nextField()&&!t.isEndGroup();){if(1===t.getFieldNumber()){var o=t.readFloat();e.setValue(o)}else t.skipField()}return e},proto.google.protobuf.FloatValue.prototype.serializeBinary=function(){var e=new r.BinaryWriter;return proto.google.protobuf.FloatValue.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.google.protobuf.FloatValue.serializeBinaryToWriter=function(e,t){var o;0!==(o=e.getValue())&&t.writeFloat(1,o)},proto.google.protobuf.FloatValue.prototype.getValue=function(){return r.Message.getFloatingPointFieldWithDefault(this,1,0)},proto.google.protobuf.FloatValue.prototype.setValue=function(e){return r.Message.setProto3FloatField(this,1,e)},r.Message.GENERATE_TO_OBJECT&&(proto.google.protobuf.Int64Value.prototype.toObject=function(e){return proto.google.protobuf.Int64Value.toObject(e,this)},proto.google.protobuf.Int64Value.toObject=function(e,t){var o={value:r.Message.getFieldWithDefault(t,1,0)};return e&&(o.$jspbMessageInstance=t),o}),proto.google.protobuf.Int64Value.deserializeBinary=function(e){var t=new r.BinaryReader(e),o=new proto.google.protobuf.Int64Value;return proto.google.protobuf.Int64Value.deserializeBinaryFromReader(o,t)},proto.google.protobuf.Int64Value.deserializeBinaryFromReader=function(e,t){for(;t.nextField()&&!t.isEndGroup();){if(1===t.getFieldNumber()){var o=t.readInt64();e.setValue(o)}else t.skipField()}return e},proto.google.protobuf.Int64Value.prototype.serializeBinary=function(){var e=new r.BinaryWriter;return proto.google.protobuf.Int64Value.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.google.protobuf.Int64Value.serializeBinaryToWriter=function(e,t){var o;0!==(o=e.getValue())&&t.writeInt64(1,o)},proto.google.protobuf.Int64Value.prototype.getValue=function(){return r.Message.getFieldWithDefault(this,1,0)},proto.google.protobuf.Int64Value.prototype.setValue=function(e){return r.Message.setProto3IntField(this,1,e)},r.Message.GENERATE_TO_OBJECT&&(proto.google.protobuf.UInt64Value.prototype.toObject=function(e){return proto.google.protobuf.UInt64Value.toObject(e,this)},proto.google.protobuf.UInt64Value.toObject=function(e,t){var o={value:r.Message.getFieldWithDefault(t,1,0)};return e&&(o.$jspbMessageInstance=t),o}),proto.google.protobuf.UInt64Value.deserializeBinary=function(e){var t=new r.BinaryReader(e),o=new proto.google.protobuf.UInt64Value;return proto.google.protobuf.UInt64Value.deserializeBinaryFromReader(o,t)},proto.google.protobuf.UInt64Value.deserializeBinaryFromReader=function(e,t){for(;t.nextField()&&!t.isEndGroup();){if(1===t.getFieldNumber()){var o=t.readUint64();e.setValue(o)}else t.skipField()}return e},proto.google.protobuf.UInt64Value.prototype.serializeBinary=function(){var e=new r.BinaryWriter;return proto.google.protobuf.UInt64Value.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.google.protobuf.UInt64Value.serializeBinaryToWriter=function(e,t){var o;0!==(o=e.getValue())&&t.writeUint64(1,o)},proto.google.protobuf.UInt64Value.prototype.getValue=function(){return r.Message.getFieldWithDefault(this,1,0)},proto.google.protobuf.UInt64Value.prototype.setValue=function(e){return r.Message.setProto3IntField(this,1,e)},r.Message.GENERATE_TO_OBJECT&&(proto.google.protobuf.Int32Value.prototype.toObject=function(e){return proto.google.protobuf.Int32Value.toObject(e,this)},proto.google.protobuf.Int32Value.toObject=function(e,t){var o={value:r.Message.getFieldWithDefault(t,1,0)};return e&&(o.$jspbMessageInstance=t),o}),proto.google.protobuf.Int32Value.deserializeBinary=function(e){var t=new r.BinaryReader(e),o=new proto.google.protobuf.Int32Value;return proto.google.protobuf.Int32Value.deserializeBinaryFromReader(o,t)},proto.google.protobuf.Int32Value.deserializeBinaryFromReader=function(e,t){for(;t.nextField()&&!t.isEndGroup();){if(1===t.getFieldNumber()){var o=t.readInt32();e.setValue(o)}else t.skipField()}return e},proto.google.protobuf.Int32Value.prototype.serializeBinary=function(){var e=new r.BinaryWriter;return proto.google.protobuf.Int32Value.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.google.protobuf.Int32Value.serializeBinaryToWriter=function(e,t){var o;0!==(o=e.getValue())&&t.writeInt32(1,o)},proto.google.protobuf.Int32Value.prototype.getValue=function(){return r.Message.getFieldWithDefault(this,1,0)},proto.google.protobuf.Int32Value.prototype.setValue=function(e){return r.Message.setProto3IntField(this,1,e)},r.Message.GENERATE_TO_OBJECT&&(proto.google.protobuf.UInt32Value.prototype.toObject=function(e){return proto.google.protobuf.UInt32Value.toObject(e,this)},proto.google.protobuf.UInt32Value.toObject=function(e,t){var o={value:r.Message.getFieldWithDefault(t,1,0)};return e&&(o.$jspbMessageInstance=t),o}),proto.google.protobuf.UInt32Value.deserializeBinary=function(e){var t=new r.BinaryReader(e),o=new proto.google.protobuf.UInt32Value;return proto.google.protobuf.UInt32Value.deserializeBinaryFromReader(o,t)},proto.google.protobuf.UInt32Value.deserializeBinaryFromReader=function(e,t){for(;t.nextField()&&!t.isEndGroup();){if(1===t.getFieldNumber()){var o=t.readUint32();e.setValue(o)}else t.skipField()}return e},proto.google.protobuf.UInt32Value.prototype.serializeBinary=function(){var e=new r.BinaryWriter;return proto.google.protobuf.UInt32Value.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.google.protobuf.UInt32Value.serializeBinaryToWriter=function(e,t){var o;0!==(o=e.getValue())&&t.writeUint32(1,o)},proto.google.protobuf.UInt32Value.prototype.getValue=function(){return r.Message.getFieldWithDefault(this,1,0)},proto.google.protobuf.UInt32Value.prototype.setValue=function(e){return r.Message.setProto3IntField(this,1,e)},r.Message.GENERATE_TO_OBJECT&&(proto.google.protobuf.BoolValue.prototype.toObject=function(e){return proto.google.protobuf.BoolValue.toObject(e,this)},proto.google.protobuf.BoolValue.toObject=function(e,t){var o={value:r.Message.getBooleanFieldWithDefault(t,1,!1)};return e&&(o.$jspbMessageInstance=t),o}),proto.google.protobuf.BoolValue.deserializeBinary=function(e){var t=new r.BinaryReader(e),o=new proto.google.protobuf.BoolValue;return proto.google.protobuf.BoolValue.deserializeBinaryFromReader(o,t)},proto.google.protobuf.BoolValue.deserializeBinaryFromReader=function(e,t){for(;t.nextField()&&!t.isEndGroup();){if(1===t.getFieldNumber()){var o=t.readBool();e.setValue(o)}else t.skipField()}return e},proto.google.protobuf.BoolValue.prototype.serializeBinary=function(){var e=new r.BinaryWriter;return proto.google.protobuf.BoolValue.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.google.protobuf.BoolValue.serializeBinaryToWriter=function(e,t){var o;(o=e.getValue())&&t.writeBool(1,o)},proto.google.protobuf.BoolValue.prototype.getValue=function(){return r.Message.getBooleanFieldWithDefault(this,1,!1)},proto.google.protobuf.BoolValue.prototype.setValue=function(e){return r.Message.setProto3BooleanField(this,1,e)},r.Message.GENERATE_TO_OBJECT&&(proto.google.protobuf.StringValue.prototype.toObject=function(e){return proto.google.protobuf.StringValue.toObject(e,this)},proto.google.protobuf.StringValue.toObject=function(e,t){var o={value:r.Message.getFieldWithDefault(t,1,"")};return e&&(o.$jspbMessageInstance=t),o}),proto.google.protobuf.StringValue.deserializeBinary=function(e){var t=new r.BinaryReader(e),o=new proto.google.protobuf.StringValue;return proto.google.protobuf.StringValue.deserializeBinaryFromReader(o,t)},proto.google.protobuf.StringValue.deserializeBinaryFromReader=function(e,t){for(;t.nextField()&&!t.isEndGroup();){if(1===t.getFieldNumber()){var o=t.readString();e.setValue(o)}else t.skipField()}return e},proto.google.protobuf.StringValue.prototype.serializeBinary=function(){var e=new r.BinaryWriter;return proto.google.protobuf.StringValue.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.google.protobuf.StringValue.serializeBinaryToWriter=function(e,t){var o;(o=e.getValue()).length>0&&t.writeString(1,o)},proto.google.protobuf.StringValue.prototype.getValue=function(){return r.Message.getFieldWithDefault(this,1,"")},proto.google.protobuf.StringValue.prototype.setValue=function(e){return r.Message.setProto3StringField(this,1,e)},r.Message.GENERATE_TO_OBJECT&&(proto.google.protobuf.BytesValue.prototype.toObject=function(e){return proto.google.protobuf.BytesValue.toObject(e,this)},proto.google.protobuf.BytesValue.toObject=function(e,t){var o={value:t.getValue_asB64()};return e&&(o.$jspbMessageInstance=t),o}),proto.google.protobuf.BytesValue.deserializeBinary=function(e){var t=new r.BinaryReader(e),o=new proto.google.protobuf.BytesValue;return proto.google.protobuf.BytesValue.deserializeBinaryFromReader(o,t)},proto.google.protobuf.BytesValue.deserializeBinaryFromReader=function(e,t){for(;t.nextField()&&!t.isEndGroup();){if(1===t.getFieldNumber()){var o=t.readBytes();e.setValue(o)}else t.skipField()}return e},proto.google.protobuf.BytesValue.prototype.serializeBinary=function(){var e=new r.BinaryWriter;return proto.google.protobuf.BytesValue.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.google.protobuf.BytesValue.serializeBinaryToWriter=function(e,t){var o;(o=e.getValue_asU8()).length>0&&t.writeBytes(1,o)},proto.google.protobuf.BytesValue.prototype.getValue=function(){return r.Message.getFieldWithDefault(this,1,"")},proto.google.protobuf.BytesValue.prototype.getValue_asB64=function(){return r.Message.bytesAsB64(this.getValue())},proto.google.protobuf.BytesValue.prototype.getValue_asU8=function(){return r.Message.bytesAsU8(this.getValue())},proto.google.protobuf.BytesValue.prototype.setValue=function(e){return r.Message.setProto3BytesField(this,1,e)},s.object.extend(t,proto.google.protobuf)},3040:function(e,t,o){var r;function s(e){var t=0;return function(){return t<e.length?{done:!1,value:e[t++]}:{done:!0}}}var i="function"==typeof Object.defineProperties?Object.defineProperty:function(e,t,o){e!=Array.prototype&&e!=Object.prototype&&(e[t]=o.value)};var n=function(e){e=["object"==typeof window&&window,"object"==typeof self&&self,"object"==typeof o.g&&o.g,e];for(var t=0;t<e.length;++t){var r=e[t];if(r&&r.Math==Math)return r}throw Error("Cannot find global object")}(this);function a(){a=function(){},n.Symbol||(n.Symbol=u)}function p(e,t){this.a=e,i(this,"description",{configurable:!0,writable:!0,value:t})}p.prototype.toString=function(){return this.a};var g,u=(g=0,function e(t){if(this instanceof e)throw new TypeError("Symbol is not a constructor");return new p("jscomp_symbol_"+(t||"")+"_"+g++,t)});function l(){a();var e=n.Symbol.iterator;e||(e=n.Symbol.iterator=n.Symbol("Symbol.iterator")),"function"!=typeof Array.prototype[e]&&i(Array.prototype,e,{configurable:!0,writable:!0,value:function(){return function(e){return l(),(e={next:e})[n.Symbol.iterator]=function(){return this},e}(s(this))}}),l=function(){}}function c(e){var t="undefined"!=typeof Symbol&&Symbol.iterator&&e[Symbol.iterator];return t?t.call(e):{next:s(e)}}var d,f="function"==typeof Object.create?Object.create:function(e){function t(){}return t.prototype=e,new t};if("function"==typeof Object.setPrototypeOf)d=Object.setPrototypeOf;else{var h;e:{var b={};try{b.__proto__={V:!0},h=b.V;break e}catch(ie){}h=!1}d=h?function(e,t){if(e.__proto__=t,e.__proto__!==t)throw new TypeError(e+" is not extensible");return e}:null}var y=d;function _(e,t){if(e.prototype=f(t.prototype),e.prototype.constructor=e,y)y(e,t);else for(var o in t)if("prototype"!=o)if(Object.defineProperties){var r=Object.getOwnPropertyDescriptor(t,o);r&&Object.defineProperty(e,o,r)}else e[o]=t[o];e.O=t.prototype}function m(e,t){if(t){var o=n;e=e.split(".");for(var r=0;r<e.length-1;r++){var s=e[r];s in o||(o[s]={}),o=o[s]}(t=t(r=o[e=e[e.length-1]]))!=r&&null!=t&&i(o,e,{configurable:!0,writable:!0,value:t})}}m("Array.prototype.keys",(function(e){return e||function(){return function(e,t){l(),e instanceof String&&(e+="");var o=0,r={next:function(){if(o<e.length){var s=o++;return{value:t(s,e[s]),done:!1}}return r.next=function(){return{done:!0,value:void 0}},r.next()}};return r[Symbol.iterator]=function(){return r},r}(this,(function(e){return e}))}})),m("Array.prototype.find",(function(e){return e||function(e,t){e:{var o=this;o instanceof String&&(o=String(o));for(var r=o.length,s=0;s<r;s++){var i=o[s];if(e.call(t,i,s,o)){e=i;break e}}e=void 0}return e}})),m("Object.is",(function(e){return e||function(e,t){return e===t?0!==e||1/e==1/t:e!=e&&t!=t}})),m("Array.prototype.includes",(function(e){return e||function(e,t){var o=this;o instanceof String&&(o=String(o));var r=o.length;for(0>(t=t||0)&&(t=Math.max(t+r,0));t<r;t++){var s=o[t];if(s===e||Object.is(s,e))return!0}return!1}})),m("Promise",(function(e){function t(e){this.b=0,this.c=void 0,this.a=[];var t=this.f();try{e(t.resolve,t.reject)}catch(e){t.reject(e)}}function o(){this.a=null}function r(e){return e instanceof t?e:new t((function(t){t(e)}))}if(e)return e;o.prototype.b=function(e){if(null==this.a){this.a=[];var t=this;this.c((function(){t.g()}))}this.a.push(e)};var s=n.setTimeout;o.prototype.c=function(e){s(e,0)},o.prototype.g=function(){for(;this.a&&this.a.length;){var e=this.a;this.a=[];for(var t=0;t<e.length;++t){var o=e[t];e[t]=null;try{o()}catch(e){this.f(e)}}}this.a=null},o.prototype.f=function(e){this.c((function(){throw e}))},t.prototype.f=function(){function e(e){return function(r){o||(o=!0,e.call(t,r))}}var t=this,o=!1;return{resolve:e(this.s),reject:e(this.g)}},t.prototype.s=function(e){if(e===this)this.g(new TypeError("A Promise cannot resolve to itself"));else if(e instanceof t)this.v(e);else{e:switch(typeof e){case"object":var o=null!=e;break e;case"function":o=!0;break e;default:o=!1}o?this.m(e):this.h(e)}},t.prototype.m=function(e){var t=void 0;try{t=e.then}catch(e){return void this.g(e)}"function"==typeof t?this.w(t,e):this.h(e)},t.prototype.g=function(e){this.i(2,e)},t.prototype.h=function(e){this.i(1,e)},t.prototype.i=function(e,t){if(0!=this.b)throw Error("Cannot settle("+e+", "+t+"): Promise already settled in state"+this.b);this.b=e,this.c=t,this.l()},t.prototype.l=function(){if(null!=this.a){for(var e=0;e<this.a.length;++e)i.b(this.a[e]);this.a=null}};var i=new o;return t.prototype.v=function(e){var t=this.f();e.F(t.resolve,t.reject)},t.prototype.w=function(e,t){var o=this.f();try{e.call(t,o.resolve,o.reject)}catch(e){o.reject(e)}},t.prototype.then=function(e,o){function r(e,t){return"function"==typeof e?function(t){try{s(e(t))}catch(e){i(e)}}:t}var s,i,n=new t((function(e,t){s=e,i=t}));return this.F(r(e,s),r(o,i)),n},t.prototype.catch=function(e){return this.then(void 0,e)},t.prototype.F=function(e,t){function o(){switch(r.b){case 1:e(r.c);break;case 2:t(r.c);break;default:throw Error("Unexpected state: "+r.b)}}var r=this;null==this.a?i.b(o):this.a.push(o)},t.resolve=r,t.reject=function(e){return new t((function(t,o){o(e)}))},t.race=function(e){return new t((function(t,o){for(var s=c(e),i=s.next();!i.done;i=s.next())r(i.value).F(t,o)}))},t.all=function(e){var o=c(e),s=o.next();return s.done?r([]):new t((function(e,t){function i(t){return function(o){n[t]=o,0==--a&&e(n)}}var n=[],a=0;do{n.push(void 0),a++,r(s.value).F(i(n.length-1),t),s=o.next()}while(!s.done)}))},t}));var v=v||{},M=this||self;function w(e,t){e=e.split("."),t=t||M;for(var o=0;o<e.length;o++)if(null==(t=t[e[o]]))return null;return t}function S(){}function E(e){var t=typeof e;return"object"==t&&null!=e||"function"==t}var F="closure_uid_"+(1e9*Math.random()>>>0),A=0;function R(e,t,o){return e.call.apply(e.bind,arguments)}function O(e,t,o){if(!e)throw Error();if(2<arguments.length){var r=Array.prototype.slice.call(arguments,2);return function(){var o=Array.prototype.slice.call(arguments);return Array.prototype.unshift.apply(o,r),e.apply(t,o)}}return function(){return e.apply(t,arguments)}}function T(e,t,o){return(T=Function.prototype.bind&&-1!=Function.prototype.bind.toString().indexOf("native code")?R:O).apply(null,arguments)}function B(e,t){function o(){}o.prototype=t.prototype,e.O=t.prototype,e.prototype=new o,e.prototype.constructor=e}function D(e){this.a=e||{}}function j(e,t,o,r){this.f=e,this.c=t,this.b=o,this.a=r}function P(e,t,o,r){o=void 0===o?{}:o,this.c=e,this.a=o,this.b=t,this.f=void 0===r?null:r}function I(e,t,o,r,s,i){this.name=e,this.a=s,this.b=i}function C(e,t,o){o=void 0===o?{}:o;var r=void 0===r?new D:r;return new j(t,e,o,r)}function U(e,t,o){o=void 0===o?{}:o,t=Error.call(this,t),this.message=t.message,"stack"in t&&(this.stack=t.stack),this.code=e,this.metadata=o}function N(e){this.a=e}function W(e){if(Error.captureStackTrace)Error.captureStackTrace(this,W);else{var t=Error().stack;t&&(this.stack=t)}e&&(this.message=String(e))}function L(e,t){for(var o="",r=(e=e.split("%s")).length-1,s=0;s<r;s++)o+=e[s]+(s<t.length?t[s]:"%s");W.call(this,o+e[r])}function x(){this.l=null,this.i=[],this.m=0,this.b=V,this.f=this.a=this.h=0,this.c=null,this.g=0}D.prototype.get=function(e){return this.a[e]},D.prototype.G=function(){return Object.keys(this.a)},j.prototype.getRequestMessage=function(){return this.f},j.prototype.getMethodDescriptor=function(){return this.c},j.prototype.getMetadata=function(){return this.b},j.prototype.getCallOptions=function(){return this.a},P.prototype.getResponseMessage=function(){return this.c},P.prototype.getMetadata=function(){return this.a},P.prototype.getMethodDescriptor=function(){return this.b},P.prototype.getStatus=function(){return this.f},I.prototype.getName=function(){return this.name},I.prototype.getName=I.prototype.getName,_(U,Error),U.prototype.toString=function(){var e="RpcError("+(function(e){switch(e){case 0:return"OK";case 1:return"CANCELLED";case 2:return"UNKNOWN";case 3:return"INVALID_ARGUMENT";case 4:return"DEADLINE_EXCEEDED";case 5:return"NOT_FOUND";case 6:return"ALREADY_EXISTS";case 7:return"PERMISSION_DENIED";case 16:return"UNAUTHENTICATED";case 8:return"RESOURCE_EXHAUSTED";case 9:return"FAILED_PRECONDITION";case 10:return"ABORTED";case 11:return"OUT_OF_RANGE";case 12:return"UNIMPLEMENTED";case 13:return"INTERNAL";case 14:return"UNAVAILABLE";case 15:return"DATA_LOSS";default:return""}}(this.code)||String(this.code))+")";return this.message&&(e+=": "+this.message),e},U.prototype.name="RpcError",N.prototype.on=function(e,t){return"data"==e||"error"==e?this:this.a.on(e,t)},N.prototype.removeListener=function(e,t){return this.a.removeListener(e,t)},N.prototype.cancel=function(){this.a.cancel()},B(W,Error),W.prototype.name="CustomError",B(L,W),L.prototype.name="AssertionError";var V=0,G=1,k=2,z=3,H=0,q=128;function Y(e,t,o,r){throw e.b=z,e.l="The stream is broken @"+e.m+"/"+o+". Error: "+r+". With input:\n"+t,Error(e.l)}var K,$=Array.prototype.indexOf?function(e,t){return Array.prototype.indexOf.call(e,t,void 0)}:function(e,t){if("string"==typeof e)return"string"!=typeof t||1!=t.length?-1:e.indexOf(t,0);for(var o=0;o<e.length;o++)if(o in e&&e[o]===t)return o;return-1},J=String.prototype.trim?function(e){return e.trim()}:function(e){return/^[\s\xa0]*([\s\S]*?)[\s\xa0]*$/.exec(e)[1]};function X(e,t){return-1!=e.indexOf(t)}function Z(e,t){return e<t?-1:e>t?1:0}e:{var Q=M.navigator;if(Q){var ee=Q.userAgent;if(ee){K=ee;break e}}K=""}var te="constructor hasOwnProperty isPrototypeOf propertyIsEnumerable toLocaleString toString valueOf".split(" ");function oe(e){var t=1;e=e.split(":");for(var o=[];0<t&&e.length;)o.push(e.shift()),t--;return e.length&&o.push(e.join(":")),o}function re(e){return re[" "](e),e}re[" "]=S;var se,ie,ne=X(K,"Opera"),ae=X(K,"Trident")||X(K,"MSIE"),pe=X(K,"Edge"),ge=X(K,"Gecko")&&!(X(K.toLowerCase(),"webkit")&&!X(K,"Edge"))&&!(X(K,"Trident")||X(K,"MSIE"))&&!X(K,"Edge"),ue=X(K.toLowerCase(),"webkit")&&!X(K,"Edge");e:{var le="",ce=(ie=K,ge?/rv:([^\);]+)(\)|;)/.exec(ie):pe?/Edge\/([\d\.]+)/.exec(ie):ae?/\b(?:MSIE|rv)[: ]([^\);]+)(\)|;)/.exec(ie):ue?/WebKit\/(\S+)/.exec(ie):ne?/(?:Version)[ \/]?(\S+)/.exec(ie):void 0);if(ce&&(le=ce?ce[1]:""),ae){var de,fe=M.document;if(null!=(de=fe?fe.documentMode:void 0)&&de>parseFloat(le)){se=String(de);break e}}se=le}var he={};function be(){return function(e){var t=he;return Object.prototype.hasOwnProperty.call(t,9)?t[9]:t[9]=e(9)}((function(){for(var e=0,t=J(String(se)).split("."),o=J("9").split("."),r=Math.max(t.length,o.length),s=0;0==e&&s<r;s++){var i=t[s]||"",n=o[s]||"";do{if(i=/(\d*)(\D*)(.*)/.exec(i)||["","","",""],n=/(\d*)(\D*)(.*)/.exec(n)||["","","",""],0==i[0].length&&0==n[0].length)break;e=Z(0==i[1].length?0:parseInt(i[1],10),0==n[1].length?0:parseInt(n[1],10))||Z(0==i[2].length,0==n[2].length)||Z(i[2],n[2]),i=i[3],n=n[3]}while(0==e)}return 0<=e}))}function ye(){0!=_e&&(Object.prototype.hasOwnProperty.call(this,F)&&this[F]||(this[F]=++A)),this.K=this.K}var _e=0;ye.prototype.K=!1;var me=Object.freeze||function(e){return e};function ve(e,t){this.type=e,this.a=this.target=t,this.defaultPrevented=!1}ve.prototype.b=function(){this.defaultPrevented=!0};var Me=function(){if(!M.addEventListener||!Object.defineProperty)return!1;var e=!1,t=Object.defineProperty({},"passive",{get:function(){e=!0}});try{M.addEventListener("test",S,t),M.removeEventListener("test",S,t)}catch(e){}return e}();function we(e,t){if(ve.call(this,e?e.type:""),this.relatedTarget=this.a=this.target=null,this.button=this.screenY=this.screenX=this.clientY=this.clientX=0,this.key="",this.metaKey=this.shiftKey=this.altKey=this.ctrlKey=!1,this.pointerId=0,this.pointerType="",this.c=null,e){var o=this.type=e.type,r=e.changedTouches&&e.changedTouches.length?e.changedTouches[0]:null;if(this.target=e.target||e.srcElement,this.a=t,t=e.relatedTarget){if(ge){e:{try{re(t.nodeName);var s=!0;break e}catch(e){}s=!1}s||(t=null)}}else"mouseover"==o?t=e.fromElement:"mouseout"==o&&(t=e.toElement);this.relatedTarget=t,r?(this.clientX=void 0!==r.clientX?r.clientX:r.pageX,this.clientY=void 0!==r.clientY?r.clientY:r.pageY,this.screenX=r.screenX||0,this.screenY=r.screenY||0):(this.clientX=void 0!==e.clientX?e.clientX:e.pageX,this.clientY=void 0!==e.clientY?e.clientY:e.pageY,this.screenX=e.screenX||0,this.screenY=e.screenY||0),this.button=e.button,this.key=e.key||"",this.ctrlKey=e.ctrlKey,this.altKey=e.altKey,this.shiftKey=e.shiftKey,this.metaKey=e.metaKey,this.pointerId=e.pointerId||0,this.pointerType="string"==typeof e.pointerType?e.pointerType:Se[e.pointerType]||"",this.c=e,e.defaultPrevented&&we.O.b.call(this)}}B(we,ve);var Se=me({2:"touch",3:"pen",4:"mouse"});we.prototype.b=function(){we.O.b.call(this);var e=this.c;e.preventDefault?e.preventDefault():e.returnValue=!1};var Ee="closure_listenable_"+(1e6*Math.random()|0),Fe=0;function Ae(e,t,o,r,s){this.listener=e,this.proxy=null,this.src=t,this.type=o,this.capture=!!r,this.H=s,this.key=++Fe,this.A=this.D=!1}function Re(e){e.A=!0,e.listener=null,e.proxy=null,e.src=null,e.H=null}function Oe(e){this.src=e,this.a={},this.b=0}function Te(e,t){var o=t.type;if(o in e.a){var r,s=e.a[o],i=$(s,t);(r=0<=i)&&Array.prototype.splice.call(s,i,1),r&&(Re(t),0==e.a[o].length&&(delete e.a[o],e.b--))}}function Be(e,t,o,r){for(var s=0;s<e.length;++s){var i=e[s];if(!i.A&&i.listener==t&&i.capture==!!o&&i.H==r)return s}return-1}Oe.prototype.add=function(e,t,o,r,s){var i=e.toString();(e=this.a[i])||(e=this.a[i]=[],this.b++);var n=Be(e,t,r,s);return-1<n?(t=e[n],o||(t.D=!1)):((t=new Ae(t,this.src,i,!!r,s)).D=o,e.push(t)),t},Oe.prototype.remove=function(e,t,o,r){if(!((e=e.toString())in this.a))return!1;var s=this.a[e];return-1<(t=Be(s,t,o,r))&&(Re(s[t]),Array.prototype.splice.call(s,t,1),0==s.length&&(delete this.a[e],this.b--),!0)};var De="closure_lm_"+(1e6*Math.random()|0),je={};function Pe(e,t,o,r,s){if(r&&r.once)Ce(e,t,o,r,s);else if(Array.isArray(t))for(var i=0;i<t.length;i++)Pe(e,t[i],o,r,s);else o=Ge(o),e&&e[Ee]?e.f.add(String(t),o,!1,E(r)?!!r.capture:!!r,s):Ie(e,t,o,!1,r,s)}function Ie(e,t,o,r,s,i){if(!t)throw Error("Invalid event type");var n=E(s)?!!s.capture:!!s,a=xe(e);if(a||(e[De]=a=new Oe(e)),!(o=a.add(t,o,r,n,i)).proxy){if(r=function(){function e(o){return t.call(e.src,e.listener,o)}var t=Le;return e}(),o.proxy=r,r.src=e,r.listener=o,e.addEventListener)Me||(s=n),void 0===s&&(s=!1),e.addEventListener(t.toString(),r,s);else if(e.attachEvent)e.attachEvent(We(t.toString()),r);else{if(!e.addListener||!e.removeListener)throw Error("addEventListener and attachEvent are unavailable.");e.addListener(r)}0}}function Ce(e,t,o,r,s){if(Array.isArray(t))for(var i=0;i<t.length;i++)Ce(e,t[i],o,r,s);else o=Ge(o),e&&e[Ee]?e.f.add(String(t),o,!0,E(r)?!!r.capture:!!r,s):Ie(e,t,o,!0,r,s)}function Ue(e,t,o,r,s){if(Array.isArray(t))for(var i=0;i<t.length;i++)Ue(e,t[i],o,r,s);else r=E(r)?!!r.capture:!!r,o=Ge(o),e&&e[Ee]?e.f.remove(String(t),o,r,s):e&&(e=xe(e))&&(t=e.a[t.toString()],e=-1,t&&(e=Be(t,o,r,s)),(o=-1<e?t[e]:null)&&Ne(o))}function Ne(e){if("number"!=typeof e&&e&&!e.A){var t=e.src;if(t&&t[Ee])Te(t.f,e);else{var o=e.type,r=e.proxy;t.removeEventListener?t.removeEventListener(o,r,e.capture):t.detachEvent?t.detachEvent(We(o),r):t.addListener&&t.removeListener&&t.removeListener(r),(o=xe(t))?(Te(o,e),0==o.b&&(o.src=null,t[De]=null)):Re(e)}}}function We(e){return e in je?je[e]:je[e]="on"+e}function Le(e,t){if(e.A)e=!0;else{t=new we(t,this);var o=e.listener,r=e.H||e.src;e.D&&Ne(e),e=o.call(r,t)}return e}function xe(e){return(e=e[De])instanceof Oe?e:null}var Ve="__closure_events_fn_"+(1e9*Math.random()>>>0);function Ge(e){return"function"==typeof e?e:(e[Ve]||(e[Ve]=function(t){return e.handleEvent(t)}),e[Ve])}function ke(){ye.call(this),this.f=new Oe(this),this.U=this}function ze(e,t){e=e.U;var o=t.type||t;if("string"==typeof t)t=new ve(t,e);else if(t instanceof ve)t.target=t.target||e;else{var r=t;(function(e,t){for(var o,r,s=1;s<arguments.length;s++){for(o in r=arguments[s])e[o]=r[o];for(var i=0;i<te.length;i++)o=te[i],Object.prototype.hasOwnProperty.call(r,o)&&(e[o]=r[o])}})(t=new ve(o,e),r)}He(e=t.a=e,o,!0,t),He(e,o,!1,t)}function He(e,t,o,r){if(t=e.f.a[String(t)]){t=t.concat();for(var s=!0,i=0;i<t.length;++i){var n=t[i];if(n&&!n.A&&n.capture==o){var a=n.listener,p=n.H||n.src;n.D&&Te(e.f,n),s=!1!==a.call(p,r)&&s}}}}B(ke,ye),ke.prototype[Ee]=!0,ke.prototype.addEventListener=function(e,t,o,r){Pe(this,e,t,o,r)},ke.prototype.removeEventListener=function(e,t,o,r){Ue(this,e,t,o,r)};var qe=M;function Ye(e,t,o){if("function"==typeof e)o&&(e=T(e,o));else{if(!e||"function"!=typeof e.handleEvent)throw Error("Invalid listener argument");e=T(e.handleEvent,e)}return 2147483647<Number(t)?-1:qe.setTimeout(e,t||0)}function Ke(e,t){this.name=e,this.value=t}Ke.prototype.toString=function(){return this.name};var $e,Je,Xe,Ze=new Ke("OFF",1/0),Qe=new Ke("SEVERE",1e3),et=new Ke("CONFIG",700),tt=new Ke("FINE",500);function ot(){this.clear()}function rt(e,t,o){this.reset(e||Ze,t,o,void 0,void 0)}function st(e,t){this.a=null,this.f=[],this.b=(void 0===t?null:t)||null,this.c=[],this.g={getName:function(){return e}}}function it(e){return e.a?e.a:e.b?it(e.b):(function(e,t){throw new L("Failure"+(e?": "+e:""),Array.prototype.slice.call(arguments,1))}("Root logger has no level set."),Ze)}function nt(){this.entries={};var e=new st("");e.a=et,this.entries[""]=e}function at(e,t,o){var r=e.entries[t];if(r)return void 0!==o&&(r.a=o),r;r=at(e,t.substr(0,t.lastIndexOf(".")));var s=new st(t,r);return e.entries[t]=s,r.c.push(s),void 0!==o&&(s.a=o),s}function pt(){return Je||(Je=new nt),Je}function gt(e,t,o){var r;(r=e)&&(r=e&&t)&&(r=(r=t.value)>=(e?it(at(pt(),e.getName())):Ze).value);r&&(t=t||Ze,r=at(pt(),e.getName()),"function"==typeof o&&(o=o()),$e||($e=new ot),function(e,t){for(;e;)e.f.forEach((function(e){e(t)})),e=e.b}(r,e=new rt(t,o,e=e.getName())))}function ut(e,t){e&>(e,tt,t)}function lt(){}function ct(e){var t;return(t=e.a)||(t={},ht(e)&&(t[0]=!0,t[1]=!0),t=e.a=t),t}function dt(){}function ft(e){return(e=ht(e))?new ActiveXObject(e):new XMLHttpRequest}function ht(e){if(!e.b&&"undefined"==typeof XMLHttpRequest&&"undefined"!=typeof ActiveXObject){for(var t=["MSXML2.XMLHTTP.6.0","MSXML2.XMLHTTP.3.0","MSXML2.XMLHTTP","Microsoft.XMLHTTP"],o=0;o<t.length;o++){var r=t[o];try{return new ActiveXObject(r),e.b=r}catch(e){}}throw Error("Could not create ActiveXObject. ActiveX might be disabled, or MSXML might not be installed")}return e.b}function bt(e,t){this.b=e[M.Symbol.iterator](),this.c=t,this.f=0}ot.prototype.clear=function(){},rt.prototype.reset=function(){},lt.prototype.a=null,B(dt,lt),Xe=new dt,a(),l(),bt.prototype[Symbol.iterator]=function(){return this},bt.prototype.next=function(){var e=this.b.next();return{value:e.done?void 0:this.c.call(void 0,e.value,this.f++),done:e.done}},a(),l(),a(),l();var yt="StopIteration"in M?M.StopIteration:{message:"StopIteration",stack:""};function _t(){}function mt(e){if(e instanceof Mt||e instanceof wt||e instanceof St)return e;if("function"==typeof e.next)return new Mt((function(){return vt(e)}));if(a(),l(),"function"==typeof e[Symbol.iterator])return a(),l(),new Mt((function(){return e[Symbol.iterator]()}));if("function"==typeof e.u)return new Mt((function(){return vt(e.u())}));throw Error("Not an iterator or iterable.")}function vt(e){if(!(e instanceof _t))return e;var t=!1;return{next:function(){for(var o;!t;)try{o=e.a();break}catch(e){if(e!==yt)throw e;t=!0}return{value:o,done:t}}}}function Mt(e){this.b=e}function wt(e){this.b=e}function St(e){Mt.call(this,(function(){return e})),this.f=e}function Et(e,t){this.o={},this.j=[],this.B=this.size=0;var o=arguments.length;if(1<o){if(o%2)throw Error("Uneven number of arguments");for(var r=0;r<o;r+=2)this.set(arguments[r],arguments[r+1])}else e&&this.addAll(e)}function Ft(e){if(e.size!=e.j.length){for(var t=0,o=0;t<e.j.length;){var r=e.j[t];At(e.o,r)&&(e.j[o++]=r),t++}e.j.length=o}if(e.size!=e.j.length){var s={};for(o=t=0;t<e.j.length;)At(s,r=e.j[t])||(e.j[o++]=r,s[r]=1),t++;e.j.length=o}}function At(e,t){return Object.prototype.hasOwnProperty.call(e,t)}_t.prototype.next=function(){return _t.prototype.a.call(this)},_t.prototype.a=function(){throw yt},_t.prototype.u=function(){return this},a(),l(),Mt.prototype.u=function(){return new wt(this.b())},Mt.prototype[Symbol.iterator]=function(){return new St(this.b())},Mt.prototype.c=function(){return new St(this.b())},a(),l(),_(wt,_t),wt.prototype.a=function(){var e=this.b.next();if(e.done)throw yt;return e.value},wt.prototype.next=function(){return wt.prototype.a.call(this)},wt.prototype[Symbol.iterator]=function(){return new St(this.b)},wt.prototype.c=function(){return new St(this.b)},_(St,Mt),St.prototype.next=function(){return this.f.next()},(r=Et.prototype).G=function(){return Ft(this),this.j.concat()},r.has=function(e){return At(this.o,e)},r.clear=function(){this.o={},this.B=this.size=this.j.length=0},r.remove=function(e){return this.delete(e)},r.delete=function(e){return!!At(this.o,e)&&(delete this.o[e],--this.size,this.B++,this.j.length>2*this.size&&Ft(this),!0)},r.get=function(e,t){return At(this.o,e)?this.o[e]:t},r.set=function(e,t){At(this.o,e)||(this.size+=1,this.j.push(e),this.B++),this.o[e]=t},r.addAll=function(e){if(e instanceof Et)for(var t=e.G(),o=0;o<t.length;o++)this.set(t[o],e.get(t[o]));else for(t in e)this.set(t,e[t])},r.forEach=function(e,t){for(var o=this.G(),r=0;r<o.length;r++){var s=o[r],i=this.get(s);e.call(t,i,s,this)}},r.clone=function(){return new Et(this)},r.keys=function(){return mt(this.u(!0)).c()},r.values=function(){return mt(this.u(!1)).c()},r.entries=function(){var e=this;return function(e,t){return new bt(e,t)}(this.keys(),(function(t){return[t,e.get(t)]}))},r.u=function(e){Ft(this);var t=0,o=this.B,r=this,s=new _t;return s.a=function(){if(o!=r.B)throw Error("The map has changed since the iterator was created");if(t>=r.j.length)throw yt;var s=r.j[t++];return e?s:r.o[s]},s.next=s.a.bind(s),s};var Rt=/^(?:([^:/?#.]+):)?(?:\/\/(?:([^\\/?#]*)@)?([^\\/?#]*?)(?::([0-9]+))?(?=[\\/?#]|$))?([^?#]+)?(?:\?([^#]*))?(?:#([\s\S]*))?$/;function Ot(e){ke.call(this),this.headers=new Et,this.C=e||null,this.c=!1,this.J=this.a=null,this.P=this.v="",this.g=0,this.l="",this.i=this.N=this.s=this.L=!1,this.h=0,this.w=null,this.m=Tt,this.I=this.M=!1}B(Ot,ke);var Tt="";Ot.prototype.b=at(pt(),"goog.net.XhrIo",void 0).g;var Bt=/^https?$/i,Dt=["POST","PUT"];function jt(e,t,o){if(e.a)throw Error("[goog.net.XhrIo] Object is active with another request="+e.v+"; newUri="+t);e.v=t,e.l="",e.g=0,e.P="POST",e.L=!1,e.c=!0,e.a=e.C?ft(e.C):ft(Xe),e.J=e.C?ct(e.C):ct(Xe),e.a.onreadystatechange=T(e.R,e);try{ut(e.b,Lt(e,"Opening Xhr")),e.N=!0,e.a.open("POST",String(t),!0),e.N=!1}catch(t){return ut(e.b,Lt(e,"Error opening Xhr: "+t.message)),void Pt(e,t)}t=o||"";var r=(o=e.headers.clone()).G().find((function(e){return"content-type"==e.toLowerCase()})),s=M.FormData&&t instanceof M.FormData;!(0<=$(Dt,"POST"))||r||s||o.set("Content-Type","application/x-www-form-urlencoded;charset=utf-8"),o.forEach((function(e,t){this.a.setRequestHeader(t,e)}),e),e.m&&(e.a.responseType=e.m),"withCredentials"in e.a&&e.a.withCredentials!==e.M&&(e.a.withCredentials=e.M);try{Nt(e),0<e.h&&(e.I=function(e){return ae&&be()&&"number"==typeof e.timeout&&void 0!==e.ontimeout}(e.a),ut(e.b,Lt(e,"Will abort after "+e.h+"ms if incomplete, xhr2 "+e.I)),e.I?(e.a.timeout=e.h,e.a.ontimeout=T(e.T,e)):e.w=Ye(e.T,e.h,e)),ut(e.b,Lt(e,"Sending request")),e.s=!0,e.a.send(t),e.s=!1}catch(t){ut(e.b,Lt(e,"Send error: "+t.message)),Pt(e,t)}}function Pt(e,t){e.c=!1,e.a&&(e.i=!0,e.a.abort(),e.i=!1),e.l=t,e.g=5,It(e),Ut(e)}function It(e){e.L||(e.L=!0,ze(e,"complete"),ze(e,"error"))}function Ct(e){if(e.c&&void 0!==v)if(e.J[1]&&4==Wt(e)&&2==e.getStatus())ut(e.b,Lt(e,"Local request error detected and ignored"));else if(e.s&&4==Wt(e))Ye(e.R,0,e);else if(ze(e,"readystatechange"),4==Wt(e)){ut(e.b,Lt(e,"Request complete")),e.c=!1;try{var t,o=e.getStatus();e:switch(o){case 200:case 201:case 202:case 204:case 206:case 304:case 1223:var r=!0;break e;default:r=!1}if(!(t=r)){var s;if(s=0===o){var i=String(e.v).match(Rt)[1]||null;if(!i&&M.self&&M.self.location){var n=M.self.location.protocol;i=n.substr(0,n.length-1)}s=!Bt.test(i?i.toLowerCase():"")}t=s}if(t)ze(e,"complete"),ze(e,"success");else{e.g=6;try{var a=2<Wt(e)?e.a.statusText:""}catch(t){ut(e.b,"Can not get status: "+t.message),a=""}e.l=a+" ["+e.getStatus()+"]",It(e)}}finally{Ut(e)}}}function Ut(e){if(e.a){Nt(e);var t=e.a,o=e.J[0]?S:null;e.a=null,e.J=null,ze(e,"ready");try{t.onreadystatechange=o}catch(t){(e=e.b)&>(e,Qe,"Problem encountered resetting onreadystatechange: "+t.message)}}}function Nt(e){e.a&&e.I&&(e.a.ontimeout=null),e.w&&(qe.clearTimeout(e.w),e.w=null)}function Wt(e){return e.a?e.a.readyState:0}function Lt(e,t){return t+" ["+e.P+" "+e.v+" "+e.getStatus()+"]"}(r=Ot.prototype).T=function(){void 0!==v&&this.a&&(this.l="Timed out after "+this.h+"ms, aborting",this.g=8,ut(this.b,Lt(this,this.l)),ze(this,"timeout"),this.abort(8))},r.abort=function(e){this.a&&this.c&&(ut(this.b,Lt(this,"Aborting")),this.c=!1,this.i=!0,this.a.abort(),this.i=!1,this.g=e||7,ze(this,"complete"),ze(this,"abort"),Ut(this))},r.R=function(){this.K||(this.N||this.s||this.i?Ct(this):this.W())},r.W=function(){Ct(this)},r.getStatus=function(){try{return 2<Wt(this)?this.a.status:-1}catch(e){return-1}};var xt={},Vt=null;function Gt(e){var t=e.length,o=3*t/4;o%3?o=Math.floor(o):X("=.",e[t-1])&&(o=X("=.",e[t-2])?o-2:o-1);var r=new Uint8Array(o),s=0;return function(e,t){function o(t){for(;r<e.length;){var o=e.charAt(r++),s=Vt[o];if(null!=s)return s;if(!/^[\s\xa0]*$/.test(o))throw Error("Unknown base64 encoding at char: "+o)}return t}kt();for(var r=0;;){var s=o(-1),i=o(0),n=o(64),a=o(64);if(64===a&&-1===s)break;t(s<<2|i>>4),64!=n&&(t(i<<4&240|n>>2),64!=a&&t(n<<6&192|a))}}(e,(function(e){r[s++]=e})),r.subarray(0,s)}function kt(){if(!Vt){Vt={};for(var e="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789".split(""),t=["+/=","+/","-_=","-_.","-_"],o=0;5>o;o++){var r=e.concat(t[o].split(""));xt[o]=r;for(var s=0;s<r.length;s++){var i=r[s];void 0===Vt[i]&&(Vt[i]=s)}}}}var zt=["content-type","grpc-status","grpc-message"];function Ht(e){this.a=e.Z,this.m=null,this.b=[],this.h=[],this.g=[],this.f=[],this.c=[],this.l=!1,this.i=0,this.s=new x;var t=this;Pe(this.a,"readystatechange",(function(){var e=t.a;if(e=e.a?e.a.getResponseHeader("Content-Type"):null){if(0==(e=e.toLowerCase()).lastIndexOf("application/grpc-web-text",0)){e=t.a;try{var o=e.a?e.a.responseText:""}catch(t){ut(e.b,"Can not get responseText: "+t.message),o=""}if(o=(e=o||"").length-e.length%4,0==(e=e.substr(t.i,o-t.i)).length)return;t.i=o,e=Gt(e)}else{if(0!=e.lastIndexOf("application/grpc",0))return void Yt(t,new U(2,"Unknown Content-type received."));e=new Uint8Array(function(e){try{if(!e.a)return null;if("response"in e.a)return e.a.response;switch(e.m){case Tt:case"text":return e.a.responseText;case"arraybuffer":if("mozResponseArrayBuffer"in e.a)return e.a.mozResponseArrayBuffer}var t=e.b;return t&>(t,Qe,"Response type "+e.m+" is not supported on this browser"),null}catch(t){return ut(e.b,"Can not get response: "+t.message),null}}(t.a))}o=null;try{o=function(e,t){function o(e){a.f++,a.a=(a.a<<8)+e,4==a.f&&(a.b=k,a.g=0,"undefined"!=typeof Uint8Array?a.c=new Uint8Array(a.a):a.c=Array(a.a),0==a.a&&s())}function r(e){a.c[a.g++]=e,a.g==a.a&&s()}function s(){var e={};e[a.h]=a.c,a.i.push(e),a.b=V}var i,n,a=e,p=0;for(i=t instanceof Uint8Array||t instanceof Array?t:new Uint8Array(t);p<i.length;){switch(a.b){case z:Y(a,i,p,"stream already broken");break;case V:(n=i[p])==H||n==q?a.h=n:Y(a,i,p,"invalid frame byte"),a.b=G,a.a=0,a.f=0;break;case G:o(i[p]);break;case k:r(i[p]);break;default:throw Error("unexpected parser state: "+a.b)}a.m++,p++}return e=a.i,a.i=[],0<e.length?e:null}(t.s,e)}catch(e){Yt(t,new U(2,"Error in parsing response body"))}if(o)for(e=0;e<o.length;e++){if(H in o[e]){var r=o[e][H];if(r){var s=!1,i=void 0;try{i=t.m(r),s=!0}catch(e){Yt(t,new U(13,"Error when deserializing response data; error: "+e+", response: "+i))}if(s)for(r=i,s=0;s<t.b.length;s++)t.b[s](r)}}if(q in o[e]&&0<o[e][q].length){for(r="",s=0;s<o[e][q].length;s++)r+=String.fromCharCode(o[e][q][s]);for(r=r.trim().split("\r\n"),s={},i=0;i<r.length;i++){var n=r[i].indexOf(":");s[r[i].substring(0,n).trim()]=r[i].substring(n+1).trim()}r=s,s=0,i="","grpc-status"in r&&(s=Number(r["grpc-status"]),delete r["grpc-status"]),"grpc-message"in r&&(i=r["grpc-message"],delete r["grpc-message"]),Yt(t,new U(s,i,r))}}}})),Pe(this.a,"complete",(function(){var e=t.a.g,o=2,r="",s={};o=function(e){var t={};e=(e.a&&4==Wt(e)&&e.a.getAllResponseHeaders()||"").split("\r\n");for(var o=0;o<e.length;o++)if(!/^[\s\xa0]*$/.test(e[o])){var r=oe(e[o]),s=r[0];if("string"==typeof(r=r[1])){r=r.trim();var i=t[s]||[];t[s]=i,i.push(r)}}return function(e,t){var o,r={};for(o in e)r[o]=t.call(void 0,e[o],o,e);return r}(t,(function(e){return e.join(", ")}))}(t.a);var i={};for(n in o)o.hasOwnProperty(n)&&(i[n.toLowerCase()]=o[n]);Object.keys(i).forEach((function(e){zt.includes(e)||(s[e]=i[e])})),function(e,t){for(var o=0;o<e.g.length;o++)e.g[o](t)}(t,s);var n=-1;if(0!=e){switch(e){case 7:o=10;break;case 8:o=4;break;case 6:o=function(e){switch(e){case 200:return 0;case 400:return 3;case 401:return 16;case 403:return 7;case 404:return 5;case 409:return 10;case 412:return 9;case 429:return 8;case 499:return 1;case 500:default:return 2;case 501:return 12;case 503:return 14;case 504:return 4}}(n=t.a.getStatus());break;default:o=14}10==o&&t.l||(r=function(e){switch(e){case 0:return"No Error";case 1:return"Access denied to content document";case 2:return"File not found";case 3:return"Firefox silently errored";case 4:return"Application custom error";case 5:return"An exception occurred";case 6:return"Http response at 400 or 500 level";case 7:return"Request was aborted";case 8:return"Request timed out";case 9:return"The resource is not available offline";default:return"Unrecognized error code"}}(e),-1!=n&&(r+=", http status code: "+n),Yt(t,new U(o,r)))}else e=!1,"grpc-status"in i&&(o=Number(i["grpc-status"]),"grpc-message"in i&&(r=i["grpc-message"]),0!=o&&(Yt(t,new U(o,r||"",i)),e=!0)),e||function(e){for(var t=0;t<e.c.length;t++)e.c[t]()}(t)}))}function qt(e,t){-1<(t=e.indexOf(t))&&e.splice(t,1)}function Yt(e,t){if(0!=t.code)for(var o=new U(t.code,decodeURIComponent(t.message||""),t.metadata),r=0;r<e.f.length;r++)e.f[r](o);for(t={code:t.code,details:decodeURIComponent(t.message||""),metadata:t.metadata},o=0;o<e.h.length;o++)e.h[o](t)}function Kt(e,t){e=void 0===e?{}:e,this.a=e.format||w("format",e)||"text",this.g=e.aa||w("suppressCorsPreflight",e)||!1,this.f=e.withCredentials||w("withCredentials",e)||!1,this.b=e.$||w("streamInterceptors",e)||[],this.h=e.ba||w("unaryInterceptors",e)||[],this.c=t||null}function $t(e,t,o){var r=t.getMethodDescriptor(),s=o+r.getName();(o=e.c?e.c:new Ot).M=e.f;var i=new Ht({Z:o});i.m=r.b;var n=t.getMetadata();for(a in n)o.headers.set(a,n[a]);if("text"==e.a?(o.headers.set("Content-Type","application/grpc-web-text"),o.headers.set("Accept","application/grpc-web-text")):o.headers.set("Content-Type","application/grpc-web+proto"),o.headers.set("X-User-Agent","grpc-web-javascript/0.1"),o.headers.set("X-Grpc-Web","1"),o.headers.has("deadline")){var a=Number(o.headers.get("deadline"));a=Math.ceil(a-(new Date).getTime()),o.headers.delete("deadline"),1/0===a&&(a=0),0<a&&(o.headers.set("grpc-timeout",a+"m"),o.h=Math.max(0,Math.max(1e3,Math.ceil(1.1*a))))}if(e.g){a={};for(var p=c((n=o.headers).keys()),g=p.next();!g.done;g=p.next())a[g=g.value]=n.get(g);o.headers.clear();e:{for(u in a){var u=!1;break e}u=!0}u||(a=function(e){var t="";return function(e,t){for(var o in e)t.call(void 0,e[o],o,e)}(e,(function(e,o){t+=o,t+=":",t+=e,t+="\r\n"})),t}(a),"string"==typeof s?(u=encodeURIComponent("$httpHeaders"),(u+=a=null!=a?"="+encodeURIComponent(String(a)):"")&&(0>(a=s.indexOf("#"))&&(a=s.length),0>(n=s.indexOf("?"))||n>a?(n=a,p=""):p=s.substring(n+1,a),a=(s=[s.substr(0,n),p,s.substr(a)])[1],s[1]=u?a?a+"&"+u:u:a,s=s[0]+(s[1]?"?"+s[1]:"")+s[2])):s.a("$httpHeaders",a))}for(r=(t=(0,r.a)(t.getRequestMessage())).length,u=[0,0,0,0],a=new Uint8Array(5+r),n=3;0<=n;n--)u[n]=r%256,r>>>=8;if(a.set(new Uint8Array(u),1),a.set(t,5),t=a,"text"==e.a){var l;for(e=t,void 0===l&&(l=0),kt(),l=xt[l],t=Array(Math.floor(e.length/3)),r=l[64]||"",u=a=0;a<e.length-2;a+=3){g=e[a];var d=e[a+1];p=e[a+2],n=l[g>>2],g=l[(3&g)<<4|d>>4],d=l[(15&d)<<2|p>>6],p=l[63&p],t[u++]=n+g+d+p}switch(n=0,p=r,e.length-a){case 2:p=l[(15&(n=e[a+1]))<<2]||r;case 1:e=e[a],t[u]=l[e>>2]+l[(3&e)<<4|n>>4]+p+r}t=t.join("")}else"binary"==e.a&&(o.m="arraybuffer");return jt(o,s,t),i}function Jt(e,t,o){var r=!1,s=null,i=!1;e.on("data",(function(e){r=!0,s=e})),e.on("error",(function(e){0==e.code||i||(i=!0,t(e,null))})),e.on("status",(function(e){0==e.code||i?o&&t(null,null,e):(i=!0,t({code:e.code,message:e.details,metadata:e.metadata},null))})),o&&e.on("metadata",(function(e){t(null,null,null,e)})),e.on("end",(function(){i||(r?o?t(null,s,null,null,!0):t(null,s):t({code:2,message:"Incomplete response"})),o&&t(null,null)}))}function Xt(e,t){var o=e;return t.forEach((function(e){var t=o;o=function(o){return e.intercept(o,t)}})),o}Ht.prototype.on=function(e,t){return"data"==e?this.b.push(t):"status"==e?this.h.push(t):"metadata"==e?this.g.push(t):"end"==e?this.c.push(t):"error"==e&&this.f.push(t),this},Ht.prototype.removeListener=function(e,t){return"data"==e?qt(this.b,t):"status"==e?qt(this.h,t):"metadata"==e?qt(this.g,t):"end"==e?qt(this.c,t):"error"==e&&qt(this.f,t),this},Ht.prototype.cancel=function(){this.l=!0,this.a.abort()},Ht.prototype.cancel=Ht.prototype.cancel,Ht.prototype.removeListener=Ht.prototype.removeListener,Ht.prototype.on=Ht.prototype.on,Kt.prototype.X=function(e,t,o,r,s){var i=this,n=e.substr(0,e.length-r.name.length);return Jt(e=Xt((function(e){return $t(i,e,n)}),this.b).call(this,C(r,t,o)),s,!1),new N(e)},Kt.prototype.S=function(e,t,o,r){var s=this,i=e.substr(0,e.length-r.name.length);return Xt((function(e){return new Promise((function(t,o){var r,n,a;Jt($t(s,e,i),(function(s,i,p,g,u){s?o(s):u?a=i:p?n=p:g?r=g:(s=e.getMethodDescriptor(),t(new P(a,s,i=void 0===(i=r)?{}:i,void 0===n?null:n)))}),!0)}))}),this.h).call(this,C(r,t,o)).then((function(e){return e.getResponseMessage()}))},Kt.prototype.unaryCall=function(e,t,o,r){return this.S(e,t,o,r)},Kt.prototype.Y=function(e,t,o,r){var s=this,i=e.substr(0,e.length-r.name.length);return Xt((function(e){return $t(s,e,i)}),this.b).call(this,C(r,t,o))},Kt.prototype.serverStreaming=Kt.prototype.Y,Kt.prototype.unaryCall=Kt.prototype.unaryCall,Kt.prototype.thenableCall=Kt.prototype.S,Kt.prototype.rpcCall=Kt.prototype.X,e.exports.CallOptions=D,e.exports.MethodDescriptor=I,e.exports.GrpcWebClientBase=Kt,e.exports.RpcError=U,e.exports.StatusCode={OK:0,CANCELLED:1,UNKNOWN:2,INVALID_ARGUMENT:3,DEADLINE_EXCEEDED:4,NOT_FOUND:5,ALREADY_EXISTS:6,PERMISSION_DENIED:7,UNAUTHENTICATED:16,RESOURCE_EXHAUSTED:8,FAILED_PRECONDITION:9,ABORTED:10,OUT_OF_RANGE:11,UNIMPLEMENTED:12,INTERNAL:13,UNAVAILABLE:14,DATA_LOSS:15},e.exports.MethodType={UNARY:"unary",SERVER_STREAMING:"server_streaming",BIDI_STREAMING:"bidi_streaming"},qe="undefined"!=typeof globalThis&&globalThis||self},3832:e=>{"use strict";e.exports=__WEBPACK_EXTERNAL_MODULE__3832__},6748:e=>{"use strict";e.exports=__WEBPACK_EXTERNAL_MODULE__6748__}},__webpack_module_cache__={};function __webpack_require__(e){var t=__webpack_module_cache__[e];if(void 0!==t)return t.exports;var o=__webpack_module_cache__[e]={exports:{}};return __webpack_modules__[e].call(o.exports,o,o.exports,__webpack_require__),o.exports}__webpack_require__.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return __webpack_require__.d(t,{a:t}),t},__webpack_require__.d=(e,t)=>{for(var o in t)__webpack_require__.o(t,o)&&!__webpack_require__.o(e,o)&&Object.defineProperty(e,o,{enumerable:!0,get:t[o]})},__webpack_require__.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),__webpack_require__.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),__webpack_require__.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var __webpack_exports__={};return(()=>{"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{Account:()=>r,Counters:()=>a,Permissions:()=>s,Platform:()=>t,PlatformName:()=>o,Platforms:()=>i,ProductType:()=>e,Restrictions:()=>n,SessionStore:()=>h,User:()=>u});var e;!function(e){e.FREE="Free",e.DEVELOPER="Developer",e.MARKETING="Marketing",e.ENTERPRISE="Enterprise"}(e||(e={}));var t,o,r=function(e){var t,o,r,s,i,n,a,p,g,u,l,c,d,f,h,b,y,_,m,v,M,w,S,E,F;this.id=e.id,this.name=e.name,this.domain=e.domain,this.registrationDate=(w=e.registrationDate,S=(null==w?void 0:w.seconds)||0,E=(null==w?void 0:w.nanos)||0,new Date(1e3*S+E/1e6).toISOString()),this.hasActiveOrder=e.hasActiveOrder,this.currentOrder=e.currentOrder,this.billing={companyName:null===(t=e.billingAddress)||void 0===t?void 0:t.companyName,accountCompanyName:null===(o=e.billingAddress)||void 0===o?void 0:o.accountCompanyName,companyCountry:null===(r=e.billingAddress)||void 0===r?void 0:r.country,companyCountryCode:null===(s=e.billingAddress)||void 0===s?void 0:s.countryCode,companyState:null===(i=e.billingAddress)||void 0===i?void 0:i.state,companyStateCode:null===(n=e.billingAddress)||void 0===n?void 0:n.stateCode,companyCity:null===(a=e.billingAddress)||void 0===a?void 0:a.city,companyStreet:null===(p=e.billingAddress)||void 0===p?void 0:p.street,companyZip:null===(g=e.billingAddress)||void 0===g?void 0:g.zipCode,companyPhone:null===(u=e.billingAddress)||void 0===u?void 0:u.phone,companyVAT:null===(l=e.billingAddress)||void 0===l?void 0:l.vatNumber,companyNumber:null===(c=e.billingAddress)||void 0===c?void 0:c.companyNumber,primaryPersonFirstName:null===(d=e.billingAddress)||void 0===d?void 0:d.firstName,primaryPersonLastName:null===(f=e.billingAddress)||void 0===f?void 0:f.lastName,primaryPersonEmail:null===(h=e.billingAddress)||void 0===h?void 0:h.paymentEmail,secondaryPersonFirstName:null===(b=e.billingAddress)||void 0===b?void 0:b.secondaryPersonFirstName,secondaryPersonLastName:null===(y=e.billingAddress)||void 0===y?void 0:y.secondaryPersonLastName,secondaryPersonEmail:null===(_=e.billingAddress)||void 0===_?void 0:_.secondaryPersonEmail,industry:null===(m=e.billingAddress)||void 0===m?void 0:m.industry,department:null===(v=e.billingAddress)||void 0===v?void 0:v.department,additionalEmails:(F=null===(M=e.billingAddress)||void 0===M?void 0:M.additionalEmailsList,F?F.join(", "):"")},this.productType=e.productType,this.productName=e.restriction,this.isEnterprise=e.isEnterprise,this.expiryDate=e.expireDate,this.isFrozen=e.frozen,this.isDeviceLimitReached=e.isDeviceLimitReached,this.statistics={totalSubscribers:e.pushNotAvailableSubscribers+e.pushAvailableSubscribers,pushAvailableSubscribers:e.pushAvailableSubscribers,pushNotAvailableSubscribers:e.pushNotAvailableSubscribers,freeEmailsQuotaUpdateDate:e.freeEmailLimitUpdateDate,paidEmailsQuotaExpiryDate:e.paidEmailExpireDate},Object.freeze(this.currentOrder),Object.freeze(this.billing),Object.freeze(this.statistics),Object.freeze(this)},s=function(e){this.hasSuperRights=e.aceSuperRight,this.canManageSubscription=e.aceManageSubscription,this.canManageAccessTokens=e.aceSeeApiAccess,this.canManageDomainsAndEmails=e.aceDomainAndEmailVerification,this.canManageSubUsers=e.aceManageUsers,this.canSeeApplications=e.aceSeeApplications,this.canModifyApplications=e.aceModifyApplications,this.canSeeApplicationGroups=e.aceSeeAppGroups,this.canModifyApplicationGroups=e.aceModifyAppGroups,this.canSeeMessages=e.aceSeeMessages,this.canModifyMessages=e.aceModifyMessages&&this.canSeeMessages,this.canSendMessages=e.aceSendMessages&&this.canSeeMessages,this.canSeeTags=e.aceSeeTags,this.canModifyTags=e.aceModifyTags,this.canSeeSegments=e.aceSeeFilters&&this.canSeeTags,this.canModifySegments=e.aceModifyFilters&&this.canSeeTags,this.canSeeRichMedia=e.aceSeeRichMedia&&this.canSeeTags&&this.canSeeSegments,this.canModifyRichMedia=e.aceModifyRichMedia&&this.canSeeTags&&this.canSeeSegments,this.canSeeInApps=this.canSeeTags&&this.canSeeSegments&&this.canSeeRichMedia,this.canSeeEmailTemplates=e.aceSeeEmailTemplates&&this.canSeeTags,this.canModifyEmailTemplates=e.aceModifyEmailTemplates&&this.canSeeTags,Object.freeze(this)};!function(e){e[e.IOS=1]="IOS",e[e.ANDROID=3]="ANDROID",e[e.MAC_OS=7]="MAC_OS",e[e.WINDOWS=8]="WINDOWS",e[e.AMAZON=9]="AMAZON",e[e.SAFARI=10]="SAFARI",e[e.CHROME=11]="CHROME",e[e.FIREFOX=12]="FIREFOX",e[e.IE=13]="IE",e[e.EMAIL=14]="EMAIL",e[e.BAIDU=16]="BAIDU",e[e.HUAWEI=17]="HUAWEI",e[e.XIAOMI=19]="XIAOMI"}(t||(t={})),function(e){e.IOS="iOS",e.ANDROID="Android",e.MAC_OS="Mac OS",e.WINDOWS="Windows",e.AMAZON="Amazon",e.SAFARI="Safari",e.CHROME="Chrome",e.FIREFOX="Firefox",e.IE="Internet Explorer",e.EMAIL="Email",e.BAIDU="Baidu",e.HUAWEI="Huawei",e.XIAOMI="Xiaomi"}(o||(o={}));var i=function(){function e(t){var o=this;this.checkIsAvailablePlatform=function(e){return o.available.includes(e)},this.available=e.filterAllowPlatforms(t.allowedPlatformsList),Object.freeze(this)}return e.filterAllowPlatforms=function(e){var o=Object.values(t);return e.filter((function(e){return o.includes(e)}))},e.getPlatformName=function(e){var r=Object.keys(o).find((function(o){return t[o]===e}));return r?o[r]:"Unknown platform!"},e}(),n=function(e){var t=e.restrictions;this.maxUsersCount=t.maxusers,this.allowUseBaiduAndroid=t.allowbaiduandroidplatformusage,this.maxDevicesCount=t.maxdevices,this.maxApplicationsCount=t.maxapps,this.maxApplicationGroupsCount=t.maxapplicationgroups,this.allowUseApplicationGroups=this.maxApplicationGroupsCount>1,this.maxCampaignsCount=t.maxcampaigns,this.allowUseCampaigns=this.maxCampaignsCount>1,this.maxTagsCount=t.maxtags,this.allowUseTags=this.maxTagsCount>0,this.allowUseUserSpecificTags=t.maxuserspecifictags>0,this.maxFiltersCount=t.maxfilters,this.maxFastFiltersCount=t.maxpreparedfilters,this.allowUseFilters=this.maxFiltersCount>0,this.allowUseFiltersCompiling=t.allowcompilefilter,this.allowUseFiltersWithTagNotSet=t.allowtagnotsetfilter,this.maxEventsCount=t.maxevents,this.allowUseEvents=this.maxEventsCount>0,this.maxRichMediaCount=t.maxrichmedia,this.allowUseRichMedia=this.maxRichMediaCount>0,this.maxInAppsCount=t.maxinapps,this.allowUseInApps=this.maxInAppsCount>0,this.maxMailsCount=t.maxverifyingemails,this.maxDomainsCount=t.maxverifyingdomains,this.maxEmailTemplatesCount=t.maxemailtemplates,this.allowUseEmailPlatform=this.maxEmailTemplatesCount>0,this.maxPresetsCount=t.maxpresets,this.allowUsePresets=this.maxPresetsCount>0,this.maxAutoPushesCount=t.maxautopushes,this.allowUseAutoPushes=this.maxAutoPushesCount>0,this.allowUseGeozones=t.allowgeozoneapi,this.allowUseSendToGeozones=t.allowsendtogeozone,this.maxGeozonesCount=t.maxgeozones,this.maxGeozoneRange=t.maxgeozonerange,this.minGeozoneRange=50,this.maxDeepLinksCount=t.maxdeeplinks,this.allowUseDeepLinks=this.maxDeepLinksCount>0,this.maxTwitterFeedsCount=t.maxtwitterfeeds,this.allowUseTwitterFeeds=this.maxTwitterFeedsCount>0,this.maxRssFeedsCount=t.maxrssfeeds,this.allowUseRssFeeds=this.maxRssFeedsCount>0,this.allowUseRssFeedsCustomPollingInterval=t.allowcustomrsspollinginterval,this.maxTestDevicesCount=t.maxtestdevices,this.allowUseTestDevices=this.maxTestDevicesCount>0,this.allowUseAccessTokens=t.allowapi,this.allowUseDataKeys=t.allowcustomdata,this.allowUseStatistics=t.allowstatsaccess,this.allowUseScheduling=t.allowscheduling,this.allowUseIOSAutoConfig=t.allowautoconfig,this.allowUseTwoFactorAuth=t.allowtwofactorauth,this.allowUseSendMessageByCsv=t.allowcsvmessage,this.allowUseAbTests=t.allowabtests,this.allowUseHtmlPages=!1,this.allowUseRemotePage=t.allowremotepage,this.allowUseIOSCategories=t.maxioscategories>0,this.allowUseGoalTracking=t.allowgoaltracking,this.allowUseGetMessageLog=t.allowapigetmessagelog,this.allowUseIEPlatform=t.allowieplatformusage,this.allowUseDebugMode=t.allowdebugmode,this.allowUseUninstallTracking=t.allowtrackuninstalls,this.allowUseFrequencyCapping=t.allowfrequencycapping,this.allowUseInbox=t.allowinbox,this.maxInboxTtlDays=t.maxinboxttldays,this.allowUseSendExternalAndroidStatistics=t.allowsendexternalstats,this.allowUseGDPR=t.allowgdpr,this.sendRateMin=t.minsendrate,this.sendRateMax=t.maxsendrate,this.messageHistoryStoriedPeriodInDays=t.messagehistorystoreperiod,this.allowShowDeliveryStatistics=t.allowshowdeliverystatistics,this.allowBestTimeToSend=t.allowbesttimetosend,this.allowSegmentsGroups=t.allowsegmentsgroups,this.allowEventSegmentation=t.alloweventsegmentation,this.allowCustomerJourney=t.allowcustomerjourney,this.allowEventsFunnel=t.alloweventsfunnel,this.isEnabledBackup=t.allowbackup,Object.freeze(this)},a=function(e){this.totalApplicationsCount=e.applicationsCount,this.totalApplicationGroupsCount=e.appGroupsCount,this.totalCampaignsCount=e.campaignsCount,this.totalTagsCount=e.tagsCount,this.totalFiltersCount=e.filtersCount,this.totalEventsCount=e.eventsCount,this.totalRichMediaCount=e.richMediaCount,this.totalInAppsCount=e.inAppsCount,this.totalDomainsCount=e.accountDomainsCount,this.totalMailsCount=e.accountMailsCount,this.totalEmailTemplatesCount=e.emailTemplatesCount,this.totalPresetsCount=e.presetsCount,this.totalAutoPushesCount=e.autoPushesCount,this.totalGeozonesCount=e.geoZonesCount,this.totalDeepLinksCount=e.deeplinksCount,this.totalRssFeedsCount=e.rssFeedsCount,this.totalTestDevicesCount=e.testDevicesCount},p=__webpack_require__(1238),g=__webpack_require__.n(p),u=function(e,t){this.name=t.username,this.email=t.email,this.isActive=t.isActive,this.isOwner=e.admin,this.isUnderSU=e.isUnderSu,this.timezone=t.timezone,this.timezoneOffset=60*g()(t.timezoneOffset),this.accountCount=t.accountsCount,this.isSubscribedForNewsletters=t.allowNewsletters,this.isSubscribedForDailyStatsGlobal=t.allowDailyStatsGlobal,this.isSubscribedForNotificationSubscribersLimitReached=t.allowNotificationSubscribers,this.isSubscribedForNotificationExpiredIOSCertificate=t.allowNotificationIosLicense,this.isSubscribedForNotificationUserInactivity=t.allowNotificationUserInactivity,this.isSubscribedForNotificationDisablePlatform=t.allowNotificationDisablePlatform,Object.freeze(this)},l=__webpack_require__(6748),c=__webpack_require__(3832),d=__webpack_require__(9316),f=__webpack_require__(1120),h=function(e){var t=this;this.updateSubject=function(e,o){t.subject.next({account:new r(e),counters:new a(e),platforms:new i(e),permissions:new s(e),restrictions:new n(e),user:new u(e,o)})},this.load=function(){return(0,l.__awaiter)(t,void 0,void 0,(function(){var e,t,o,r,s,i;return(0,l.__generator)(this,(function(n){switch(n.label){case 0:return e=this.grpcClient.createServiceClient(d.GetAuthInfoServiceClient),t=new f.GetAuthInfoRequest,[4,e.getAuthInfo(t,{})];case 1:return o=n.sent(),r=o.toObject(),s=r.account,i=r.user,[2,[s,i]]}}))}))},this.update=function(){return(0,l.__awaiter)(t,void 0,void 0,(function(){var e,t,o;return(0,l.__generator)(this,(function(r){switch(r.label){case 0:return[4,this.load()];case 1:return e=r.sent(),t=e[0],o=e[1],this.updateSubject(t,o),[2]}}))}))},this.subscribe=function(e){return t.subject.subscribe(e)},this.grpcClient=e,this.subject=new c.ReplaySubject(1)}})(),__webpack_exports__})()}));
|
|
2
2
|
//# sourceMappingURL=index.js.map
|