text: 
  /* Bloombox JS v2.0.0b1 - Copyright (c) 2019, Momentum Ideas, Co. All rights reserved. Distributed under the Apache License, Version 2.0 */
  !function(e){if("object"==typeof exports&&"undefined"!=typeof module)module.exports=e();else if("function"==typeof define&&define.amd)define([],e);else{var t;t="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:this,t.StackTrace=e()}}(function(){var e;return function t(e,n,r){function o(a,s){if(!n[a]){if(!e[a]){var u="function"==typeof require&&require;if(!s&&u)return u(a,!0);if(i)return i(a,!0);var c=new Error("Cannot find module '"+a+"'");throw c.code="MODULE_NOT_FOUND",c}var l=n[a]={exports:{}};e[a][0].call(l.exports,function(t){var n=e[a][1][t];return o(n?n:t)},l,l.exports,t,e,n,r)}return n[a].exports}for(var i="function"==typeof require&&require,a=0;a<r.length;a++)o(r[a]);return o}({1:[function(t,n,r){!function(o,i){"use strict";"function"==typeof e&&e.amd?e("error-stack-parser",["stackframe"],i):"object"==typeof r?n.exports=i(t("stackframe")):o.ErrorStackParser=i(o.StackFrame)}(this,function(e){"use strict";var t=/(^|@)\S+\:\d+/,n=/^\s*at .*(\S+\:\d+|\(native\))/m,r=/^(eval@)?(\[native code\])?$/;return{parse:function(e){if("undefined"!=typeof e.stacktrace||"undefined"!=typeof e["opera#sourceloc"])return this.parseOpera(e);if(e.stack&&e.stack.match(n))return this.parseV8OrIE(e);if(e.stack)return this.parseFFOrSafari(e);throw new Error("Cannot parse given Error object")},extractLocation:function(e){if(e.indexOf(":")===-1)return[e];var t=/(.+?)(?:\:(\d+))?(?:\:(\d+))?$/,n=t.exec(e.replace(/[\(\)]/g,""));return[n[1],n[2]||void 0,n[3]||void 0]},parseV8OrIE:function(t){var r=t.stack.split("\n").filter(function(e){return!!e.match(n)},this);return r.map(function(t){t.indexOf("(eval ")>-1&&(t=t.replace(/eval code/g,"eval").replace(/(\(eval at [^\()]*)|(\)\,.*$)/g,""));var n=t.replace(/^\s+/,"").replace(/\(eval code/g,"(").split(/\s+/).slice(1),r=this.extractLocation(n.pop()),o=n.join(" ")||void 0,i=["eval","<anonymous>"].indexOf(r[0])>-1?void 0:r[0];return new e({functionName:o,fileName:i,lineNumber:r[1],columnNumber:r[2],source:t})},this)},parseFFOrSafari:function(t){var n=t.stack.split("\n").filter(function(e){return!e.match(r)},this);return n.map(function(t){if(t.indexOf(" > eval")>-1&&(t=t.replace(/ line (\d+)(?: > eval line \d+)* > eval\:\d+\:\d+/g,":$1")),t.indexOf("@")===-1&&t.indexOf(":")===-1)return new e({functionName:t});var n=t.split("@"),r=this.extractLocation(n.pop()),o=n.join("@")||void 0;return new e({functionName:o,fileName:r[0],lineNumber:r[1],columnNumber:r[2],source:t})},this)},parseOpera:function(e){return!e.stacktrace||e.message.indexOf("\n")>-1&&e.message.split("\n").length>e.stacktrace.split("\n").length?this.parseOpera9(e):e.stack?this.parseOpera11(e):this.parseOpera10(e)},parseOpera9:function(t){for(var n=/Line (\d+).*script (?:in )?(\S+)/i,r=t.message.split("\n"),o=[],i=2,a=r.length;i<a;i+=2){var s=n.exec(r[i]);s&&o.push(new e({fileName:s[2],lineNumber:s[1],source:r[i]}))}return o},parseOpera10:function(t){for(var n=/Line (\d+).*script (?:in )?(\S+)(?:: In function (\S+))?$/i,r=t.stacktrace.split("\n"),o=[],i=0,a=r.length;i<a;i+=2){var s=n.exec(r[i]);s&&o.push(new e({functionName:s[3]||void 0,fileName:s[2],lineNumber:s[1],source:r[i]}))}return o},parseOpera11:function(n){var r=n.stack.split("\n").filter(function(e){return!!e.match(t)&&!e.match(/^Error created at/)},this);return r.map(function(t){var n,r=t.split("@"),o=this.extractLocation(r.pop()),i=r.shift()||"",a=i.replace(/<anonymous function(: (\w+))?>/,"$2").replace(/\([^\)]*\)/g,"")||void 0;i.match(/\(([^\)]*)\)/)&&(n=i.replace(/^[^\(]+\(([^\)]*)\)$/,"$1"));var s=void 0===n||"[arguments not available]"===n?void 0:n.split(",");return new e({functionName:a,args:s,fileName:o[0],lineNumber:o[1],columnNumber:o[2],source:t})},this)}}})},{stackframe:13}],2:[function(t,n,r){(function(o,i){!function(t,o){"object"==typeof r&&"undefined"!=typeof n?n.exports=o():"function"==typeof e&&e.amd?e(o):t.ES6Promise=o()}(this,function(){"use strict";function e(e){return"function"==typeof e||"object"==typeof e&&null!==e}function n(e){return"function"==typeof e}function r(e){W=e}function a(e){K=e}function s(){return function(){return o.nextTick(p)}}function u(){return function(){Y(p)}}function c(){var e=0,t=new Q(p),n=document.createTextNode("");return t.observe(n,{characterData:!0}),function(){n.data=e=++e%2}}function l(){var e=new MessageChannel;return e.port1.onmessage=p,function(){return e.port2.postMessage(0)}}function f(){var e=setTimeout;return function(){return e(p,1)}}function p(){for(var e=0;e<H;e+=2){var t=ne[e],n=ne[e+1];t(n),ne[e]=void 0,ne[e+1]=void 0}H=0}function h(){try{var e=t,n=e("vertx");return Y=n.runOnLoop||n.runOnContext,u()}catch(r){return f()}}function g(e,t){var n=arguments,r=this,o=new this.constructor(m);void 0===o[oe]&&R(o);var i=r._state;return i?!function(){var e=n[i-1];K(function(){return M(i,o,e,r._result)})}():T(r,o,e,t),o}function d(e){var t=this;if(e&&"object"==typeof e&&e.constructor===t)return e;var n=new t(m);return O(n,e),n}function m(){}function v(){return new TypeError("You cannot resolve a promise with itself")}function y(){return new TypeError("A promises callback cannot return that same promise.")}function _(e){try{return e.then}catch(t){return ue.error=t,ue}}function w(e,t,n,r){try{e.call(t,n,r)}catch(o){return o}}function b(e,t,n){K(function(e){var r=!1,o=w(n,t,function(n){r||(r=!0,t!==n?O(e,n):E(e,n))},function(t){r||(r=!0,N(e,t))},"Settle: "+(e._label||" unknown promise"));!r&&o&&(r=!0,N(e,o))},e)}function C(e,t){t._state===ae?E(e,t._result):t._state===se?N(e,t._result):T(t,void 0,function(t){return O(e,t)},function(t){return N(e,t)})}function A(e,t,r){t.constructor===e.constructor&&r===g&&t.constructor.resolve===d?C(e,t):r===ue?N(e,ue.error):void 0===r?E(e,t):n(r)?b(e,t,r):E(e,t)}function O(t,n){t===n?N(t,v()):e(n)?A(t,n,_(n)):E(t,n)}function S(e){e._onerror&&e._onerror(e._result),j(e)}function E(e,t){e._state===ie&&(e._result=t,e._state=ae,0!==e._subscribers.length&&K(j,e))}function N(e,t){e._state===ie&&(e._state=se,e._result=t,K(S,e))}function T(e,t,n,r){var o=e._subscribers,i=o.length;e._onerror=null,o[i]=t,o[i+ae]=n,o[i+se]=r,0===i&&e._state&&K(j,e)}function j(e){var t=e._subscribers,n=e._state;if(0!==t.length){for(var r=void 0,o=void 0,i=e._result,a=0;a<t.length;a+=3)r=t[a],o=t[a+n],r?M(n,r,o,i):o(i);e._subscribers.length=0}}function L(){this.error=null}function k(e,t){try{return e(t)}catch(n){return ce.error=n,ce}}function M(e,t,r,o){var i=n(r),a=void 0,s=void 0,u=void 0,c=void 0;if(i){if(a=k(r,o),a===ce?(c=!0,s=a.error,a=null):u=!0,t===a)return void N(t,y())}else a=o,u=!0;t._state!==ie||(i&&u?O(t,a):c?N(t,s):e===ae?E(t,a):e===se&&N(t,a))}function x(e,t){try{t(function(t){O(e,t)},function(t){N(e,t)})}catch(n){N(e,n)}}function P(){return le++}function R(e){e[oe]=le++,e._state=void 0,e._result=void 0,e._subscribers=[]}function U(e,t){this._instanceConstructor=e,this.promise=new e(m),this.promise[oe]||R(this.promise),Z(t)?(this._input=t,this.length=t.length,this._remaining=t.length,this._result=new Array(this.length),0===this.length?E(this.promise,this._result):(this.length=this.length||0,this._enumerate(),0===this._remaining&&E(this.promise,this._result))):N(this.promise,F())}function F(){return new Error("Array Methods must be provided an Array")}function $(e){return new U(this,e).promise}function G(e){var t=this;return new t(Z(e)?function(n,r){for(var o=e.length,i=0;i<o;i++)t.resolve(e[i]).then(n,r)}:function(e,t){return t(new TypeError("You must pass an array to race."))})}function D(e){var t=this,n=new t(m);return N(n,e),n}function B(){throw new TypeError("You must pass a resolver function as the first argument to the promise constructor")}function I(){throw new TypeError("Failed to construct 'Promise': Please use the 'new' operator, this object constructor cannot be called as a function.")}function J(e){this[oe]=P(),this._result=this._state=void 0,this._subscribers=[],m!==e&&("function"!=typeof e&&B(),this instanceof J?x(this,e):I())}function q(){var e=void 0;if("undefined"!=typeof i)e=i;else if("undefined"!=typeof self)e=self;else try{e=Function("return this")()}catch(t){throw new Error("polyfill failed because global object is unavailable in this environment")}var n=e.Promise;if(n){var r=null;try{r=Object.prototype.toString.call(n.resolve())}catch(t){}if("[object Promise]"===r&&!n.cast)return}e.Promise=J}var z=void 0;z=Array.isArray?Array.isArray:function(e){return"[object Array]"===Object.prototype.toString.call(e)};var Z=z,H=0,Y=void 0,W=void 0,K=function(e,t){ne[H]=e,ne[H+1]=t,H+=2,2===H&&(W?W(p):re())},V="undefined"!=typeof window?window:void 0,X=V||{},Q=X.MutationObserver||X.WebKitMutationObserver,ee="undefined"==typeof self&&"undefined"!=typeof o&&"[object process]"==={}.toString.call(o),te="undefined"!=typeof Uint8ClampedArray&&"undefined"!=typeof importScripts&&"undefined"!=typeof MessageChannel,ne=new Array(1e3),re=void 0;re=ee?s():Q?c():te?l():void 0===V&&"function"==typeof t?h():f();var oe=Math.random().toString(36).substring(16),ie=void 0,ae=1,se=2,ue=new L,ce=new L,le=0;return U.prototype._enumerate=function(){for(var e=this.length,t=this._input,n=0;this._state===ie&&n<e;n++)this._eachEntry(t[n],n)},U.prototype._eachEntry=function(e,t){var n=this._instanceConstructor,r=n.resolve;if(r===d){var o=_(e);if(o===g&&e._state!==ie)this._settledAt(e._state,t,e._result);else if("function"!=typeof o)this._remaining--,this._result[t]=e;else if(n===J){var i=new n(m);A(i,e,o),this._willSettleAt(i,t)}else this._willSettleAt(new n(function(t){return t(e)}),t)}else this._willSettleAt(r(e),t)},U.prototype._settledAt=function(e,t,n){var r=this.promise;r._state===ie&&(this._remaining--,e===se?N(r,n):this._result[t]=n),0===this._remaining&&E(r,this._result)},U.prototype._willSettleAt=function(e,t){var n=this;T(e,void 0,function(e){return n._settledAt(ae,t,e)},function(e){return n._settledAt(se,t,e)})},J.all=$,J.race=G,J.resolve=d,J.reject=D,J._setScheduler=r,J._setAsap=a,J._asap=K,J.prototype={constructor:J,then:g,"catch":function(e){return this.then(null,e)}},q(),J.polyfill=q,J.Promise=J,J})}).call(this,t("_process"),"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{_process:4}],3:[function(t,n,r){(function(t){(function(){function o(e,t){function n(e){if(n[e]!==m)return n[e];var o;if("bug-string-char-index"==e)o="a"!="a"[0];else if("json"==e)o=n("json-stringify")&&n("json-parse");else{var a,s='{"a":[1,true,false,null,"\\u0000\\b\\n\\f\\r\\t"]}';if("json-stringify"==e){var u=t.stringify,l="function"==typeof u&&_;if(l){(a=function(){return 1}).toJSON=a;try{l="0"===u(0)&&"0"===u(new r)&&'""'==u(new i)&&u(y)===m&&u(m)===m&&u()===m&&"1"===u(a)&&"[1]"==u([a])&&"[null]"==u([m])&&"null"==u(null)&&"[null,null,null]"==u([m,y,null])&&u({a:[a,!0,!1,null,"\0\b\n\f\r\t"]})==s&&"1"===u(null,a)&&"[\n 1,\n 2\n]"==u([1,2],null,1)&&'"-271821-04-20T00:00:00.000Z"'==u(new c((-864e13)))&&'"+275760-09-13T00:00:00.000Z"'==u(new c(864e13))&&'"-000001-01-01T00:00:00.000Z"'==u(new c((-621987552e5)))&&'"1969-12-31T23:59:59.999Z"'==u(new c((-1)))}catch(f){l=!1}}o=l}if("json-parse"==e){var p=t.parse;if("function"==typeof p)try{if(0===p("0")&&!p(!1)){a=p(s);var h=5==a.a.length&&1===a.a[0];if(h){try{h=!p('"\t"')}catch(f){}if(h)try{h=1!==p("01")}catch(f){}if(h)try{h=1!==p("1.")}catch(f){}}}}catch(f){h=!1}o=h}}return n[e]=!!o}e||(e=u.Object()),t||(t=u.Object());var r=e.Number||u.Number,i=e.String||u.String,s=e.Object||u.Object,c=e.Date||u.Date,l=e.SyntaxError||u.SyntaxError,f=e.TypeError||u.TypeError,p=e.Math||u.Math,h=e.JSON||u.JSON;"object"==typeof h&&h&&(t.stringify=h.stringify,t.parse=h.parse);var g,d,m,v=s.prototype,y=v.toString,_=new c((-0xc782b5b800cec));try{_=_.getUTCFullYear()==-109252&&0===_.getUTCMonth()&&1===_.getUTCDate()&&10==_.getUTCHours()&&37==_.getUTCMinutes()&&6==_.getUTCSeconds()&&708==_.getUTCMilliseconds()}catch(w){}if(!n("json")){var b="[object Function]",C="[object Date]",A="[object Number]",O="[object String]",S="[object Array]",E="[object Boolean]",N=n("bug-string-char-index");if(!_)var T=p.floor,j=[0,31,59,90,120,151,181,212,243,273,304,334],L=function(e,t){return j[t]+365*(e-1970)+T((e-1969+(t=+(t>1)))/4)-T((e-1901+t)/100)+T((e-1601+t)/400)};if((g=v.hasOwnProperty)||(g=function(e){var t,n={};return(n.__proto__=null,n.__proto__={toString:1},n).toString!=y?g=function(e){var t=this.__proto__,n=e in(this.__proto__=null,this);return this.__proto__=t,n}:(t=n.constructor,g=function(e){var n=(this.constructor||t).prototype;return e in this&&!(e in n&&this[e]===n[e])}),n=null,g.call(this,e)}),d=function(e,t){var n,r,o,i=0;(n=function(){this.valueOf=0}).prototype.valueOf=0,r=new n;for(o in r)g.call(r,o)&&i++;return n=r=null,i?d=2==i?function(e,t){var n,r={},o=y.call(e)==b;for(n in e)o&&"prototype"==n||g.call(r,n)||!(r[n]=1)||!g.call(e,n)||t(n)}:function(e,t){var n,r,o=y.call(e)==b;for(n in e)o&&"prototype"==n||!g.call(e,n)||(r="constructor"===n)||t(n);(r||g.call(e,n="constructor"))&&t(n)}:(r=["valueOf","toString","toLocaleString","propertyIsEnumerable","isPrototypeOf","hasOwnProperty","constructor"],d=function(e,t){var n,o,i=y.call(e)==b,s=!i&&"function"!=typeof e.constructor&&a[typeof e.hasOwnProperty]&&e.hasOwnProperty||g;for(n in e)i&&"prototype"==n||!s.call(e,n)||t(n);for(o=r.length;n=r[--o];s.call(e,n)&&t(n));}),d(e,t)},!n("json-stringify")){var k={92:"\\\\",34:'\\"',8:"\\b",12:"\\f",10:"\\n",13:"\\r",9:"\\t"},M="000000",x=function(e,t){return(M+(t||0)).slice(-e)},P="\\u00",R=function(e){for(var t='"',n=0,r=e.length,o=!N||r>10,i=o&&(N?e.split(""):e);n<r;n++){var a=e.charCodeAt(n);switch(a){case 8:case 9:case 10:case 12:case 13:case 34:case 92:t+=k[a];break;default:if(a<32){t+=P+x(2,a.toString(16));break}t+=o?i[n]:e.charAt(n)}}return t+'"'},U=function(e,t,n,r,o,i,a){var s,u,c,l,p,h,v,_,w,b,N,j,k,M,P,F;try{s=t[e]}catch($){}if("object"==typeof s&&s)if(u=y.call(s),u!=C||g.call(s,"toJSON"))"function"==typeof s.toJSON&&(u!=A&&u!=O&&u!=S||g.call(s,"toJSON"))&&(s=s.toJSON(e));else if(s>-1/0&&s<1/0){if(L){for(p=T(s/864e5),c=T(p/365.2425)+1970-1;L(c+1,0)<=p;c++);for(l=T((p-L(c,0))/30.42);L(c,l+1)<=p;l++);p=1+p-L(c,l),h=(s%864e5+864e5)%864e5,v=T(h/36e5)%24,_=T(h/6e4)%60,w=T(h/1e3)%60,b=h%1e3}else c=s.getUTCFullYear(),l=s.getUTCMonth(),p=s.getUTCDate(),v=s.getUTCHours(),_=s.getUTCMinutes(),w=s.getUTCSeconds(),b=s.getUTCMilliseconds();s=(c<=0||c>=1e4?(c<0?"-":"+")+x(6,c<0?-c:c):x(4,c))+"-"+x(2,l+1)+"-"+x(2,p)+"T"+x(2,v)+":"+x(2,_)+":"+x(2,w)+"."+x(3,b)+"Z"}else s=null;if(n&&(s=n.call(t,e,s)),null===s)return"null";if(u=y.call(s),u==E)return""+s;if(u==A)return s>-1/0&&s<1/0?""+s:"null";if(u==O)return R(""+s);if("object"==typeof s){for(M=a.length;M--;)if(a[M]===s)throw f();if(a.push(s),N=[],P=i,i+=o,u==S){for(k=0,M=s.length;k<M;k++)j=U(k,s,n,r,o,i,a),N.push(j===m?"null":j);F=N.length?o?"[\n"+i+N.join(",\n"+i)+"\n"+P+"]":"["+N.join(",")+"]":"[]"}else d(r||s,function(e){var t=U(e,s,n,r,o,i,a);t!==m&&N.push(R(e)+":"+(o?" ":"")+t)}),F=N.length?o?"{\n"+i+N.join(",\n"+i)+"\n"+P+"}":"{"+N.join(",")+"}":"{}";return a.pop(),F}};t.stringify=function(e,t,n){var r,o,i,s;if(a[typeof t]&&t)if((s=y.call(t))==b)o=t;else if(s==S){i={};for(var u,c=0,l=t.length;c<l;u=t[c++],s=y.call(u),(s==O||s==A)&&(i[u]=1));}if(n)if((s=y.call(n))==A){if((n-=n%1)>0)for(r="",n>10&&(n=10);r.length<n;r+=" ");}else s==O&&(r=n.length<=10?n:n.slice(0,10));return U("",(u={},u[""]=e,u),o,i,r,"",[])}}if(!n("json-parse")){var F,$,G=i.fromCharCode,D={92:"\\",34:'"',47:"/",98:"\b",116:"\t",110:"\n",102:"\f",114:"\r"},B=function(){throw F=$=null,l()},I=function(){for(var e,t,n,r,o,i=$,a=i.length;F<a;)switch(o=i.charCodeAt(F)){case 9:case 10:case 13:case 32:F++;break;case 123:case 125:case 91:case 93:case 58:case 44:return e=N?i.charAt(F):i[F],F++,e;case 34:for(e="@",F++;F<a;)if(o=i.charCodeAt(F),o<32)B();else if(92==o)switch(o=i.charCodeAt(++F)){case 92:case 34:case 47:case 98:case 116:case 110:case 102:case 114:e+=D[o],F++;break;case 117:for(t=++F,n=F+4;F<n;F++)o=i.charCodeAt(F),o>=48&&o<=57||o>=97&&o<=102||o>=65&&o<=70||B();e+=G("0x"+i.slice(t,F));break;default:B()}else{if(34==o)break;for(o=i.charCodeAt(F),t=F;o>=32&&92!=o&&34!=o;)o=i.charCodeAt(++F);e+=i.slice(t,F)}if(34==i.charCodeAt(F))return F++,e;B();default:if(t=F,45==o&&(r=!0,o=i.charCodeAt(++F)),o>=48&&o<=57){for(48==o&&(o=i.charCodeAt(F+1),o>=48&&o<=57)&&B(),r=!1;F<a&&(o=i.charCodeAt(F),o>=48&&o<=57);F++);if(46==i.charCodeAt(F)){for(n=++F;n<a&&(o=i.charCodeAt(n),o>=48&&o<=57);n++);n==F&&B(),F=n}if(o=i.charCodeAt(F),101==o||69==o){for(o=i.charCodeAt(++F),43!=o&&45!=o||F++,n=F;n<a&&(o=i.charCodeAt(n),o>=48&&o<=57);n++);n==F&&B(),F=n}return+i.slice(t,F)}if(r&&B(),"true"==i.slice(F,F+4))return F+=4,!0;if("false"==i.slice(F,F+5))return F+=5,!1;if("null"==i.slice(F,F+4))return F+=4,null;B()}return"$"},J=function(e){var t,n;if("$"==e&&B(),"string"==typeof e){if("@"==(N?e.charAt(0):e[0]))return e.slice(1);if("["==e){for(t=[];e=I(),"]"!=e;n||(n=!0))n&&(","==e?(e=I(),"]"==e&&B()):B()),","==e&&B(),t.push(J(e));return t}if("{"==e){for(t={};e=I(),"}"!=e;n||(n=!0))n&&(","==e?(e=I(),"}"==e&&B()):B()),","!=e&&"string"==typeof e&&"@"==(N?e.charAt(0):e[0])&&":"==I()||B(),t[e.slice(1)]=J(I());return t}B()}return e},q=function(e,t,n){var r=z(e,t,n);r===m?delete e[t]:e[t]=r},z=function(e,t,n){var r,o=e[t];if("object"==typeof o&&o)if(y.call(o)==S)for(r=o.length;r--;)q(o,r,n);else d(o,function(e){q(o,e,n)});return n.call(e,t,o)};t.parse=function(e,t){var n,r;return F=0,$=""+e,n=J(I()),"$"!=I()&&B(),F=$=null,t&&y.call(t)==b?z((r={},r[""]=n,r),"",t):n}}}return t.runInContext=o,t}var i="function"==typeof e&&e.amd,a={"function":!0,object:!0},s=a[typeof r]&&r&&!r.nodeType&&r,u=a[typeof window]&&window||this,c=s&&a[typeof n]&&n&&!n.nodeType&&"object"==typeof t&&t;if(!c||c.global!==c&&c.window!==c&&c.self!==c||(u=c),s&&!i)o(u,s);else{var l=u.JSON,f=u.JSON3,p=!1,h=o(u,u.JSON3={noConflict:function(){return p||(p=!0,u.JSON=l,u.JSON3=f,l=f=null),h}});u.JSON={parse:h.parse,stringify:h.stringify}}i&&e(function(){return h})}).call(this)}).call(this,"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{}],4:[function(e,t,n){function r(){throw new Error("setTimeout has not been defined")}function o(){throw new Error("clearTimeout has not been defined")}function i(e){if(f===setTimeout)return setTimeout(e,0);if((f===r||!f)&&setTimeout)return f=setTimeout,setTimeout(e,0);try{return f(e,0)}catch(t){try{return f.call(null,e,0)}catch(t){return f.call(this,e,0)}}}function a(e){if(p===clearTimeout)return clearTimeout(e);if((p===o||!p)&&clearTimeout)return p=clearTimeout,clearTimeout(e);try{return p(e)}catch(t){try{return p.call(null,e)}catch(t){return p.call(this,e)}}}function s(){m&&g&&(m=!1,g.length?d=g.concat(d):v=-1,d.length&&u())}function u(){if(!m){var e=i(s);m=!0;for(var t=d.length;t;){for(g=d,d=[];++v<t;)g&&g[v].run();v=-1,t=d.length}g=null,m=!1,a(e)}}function c(e,t){this.fun=e,this.array=t}function l(){}var f,p,h=t.exports={};!function(){try{f="function"==typeof setTimeout?setTimeout:r}catch(e){f=r}try{p="function"==typeof clearTimeout?clearTimeout:o}catch(e){p=o}}();var g,d=[],m=!1,v=-1;h.nextTick=function(e){var t=new Array(arguments.length-1);if(arguments.length>1)for(var n=1;n<arguments.length;n++)t[n-1]=arguments[n];d.push(new c(e,t)),1!==d.length||m||i(u)},c.prototype.run=function(){this.fun.apply(null,this.array)},h.title="browser",h.browser=!0,h.env={},h.argv=[],h.version="",h.versions={},h.on=l,h.addListener=l,h.once=l,h.off=l,h.removeListener=l,h.removeAllListeners=l,h.emit=l,h.binding=function(e){throw new Error("process.binding is not supported")},h.cwd=function(){return"/"},h.chdir=function(e){throw new Error("process.chdir is not supported")},h.umask=function(){return 0}},{}],5:[function(e,t,n){function r(){this._array=[],this._set=Object.create(null)}var o=e("./util"),i=Object.prototype.hasOwnProperty;r.fromArray=function(e,t){for(var n=new r,o=0,i=e.length;o<i;o++)n.add(e[o],t);return n},r.prototype.size=function(){return Object.getOwnPropertyNames(this._set).length},r.prototype.add=function(e,t){var n=o.toSetString(e),r=i.call(this._set,n),a=this._array.length;r&&!t||this._array.push(e),r||(this._set[n]=a)},r.prototype.has=function(e){var t=o.toSetString(e);return i.call(this._set,t)},r.prototype.indexOf=function(e){var t=o.toSetString(e);if(i.call(this._set,t))return this._set[t];throw new Error('"'+e+'" is not in the set.')},r.prototype.at=function(e){if(e>=0&&e<this._array.length)return this._array[e];throw new Error("No element indexed by "+e)},r.prototype.toArray=function(){return this._array.slice()},n.ArraySet=r},{"./util":11}],6:[function(e,t,n){function r(e){return e<0?(-e<<1)+1:(e<<1)+0}function o(e){var t=1===(1&e),n=e>>1;return t?-n:n}var i=e("./base64"),a=5,s=1<<a,u=s-1,c=s;n.encode=function(e){var t,n="",o=r(e);do t=o&u,o>>>=a,o>0&&(t|=c),n+=i.encode(t);while(o>0);return n},n.decode=function(e,t,n){var r,s,l=e.length,f=0,p=0;do{if(t>=l)throw new Error("Expected more digits in base 64 VLQ value.");if(s=i.decode(e.charCodeAt(t++)),s===-1)throw new Error("Invalid base64 digit: "+e.charAt(t-1));r=!!(s&c),s&=u,f+=s<<p,p+=a}while(r);n.value=o(f),n.rest=t}},{"./base64":7}],7:[function(e,t,n){var r="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".split("");n.encode=function(e){if(0<=e&&e<r.length)return r[e];throw new TypeError("Must be between 0 and 63: "+e)},n.decode=function(e){var t=65,n=90,r=97,o=122,i=48,a=57,s=43,u=47,c=26,l=52;return t<=e&&e<=n?e-t:r<=e&&e<=o?e-r+c:i<=e&&e<=a?e-i+l:e==s?62:e==u?63:-1}},{}],8:[function(e,t,n){function r(e,t,o,i,a,s){var u=Math.floor((t-e)/2)+e,c=a(o,i[u],!0);return 0===c?u:c>0?t-u>1?r(u,t,o,i,a,s):s==n.LEAST_UPPER_BOUND?t<i.length?t:-1:u:u-e>1?r(e,u,o,i,a,s):s==n.LEAST_UPPER_BOUND?u:e<0?-1:e}n.GREATEST_LOWER_BOUND=1,n.LEAST_UPPER_BOUND=2,n.search=function(e,t,o,i){if(0===t.length)return-1;var a=r(-1,t.length,e,t,o,i||n.GREATEST_LOWER_BOUND);if(a<0)return-1;for(;a-1>=0&&0===o(t[a],t[a-1],!0);)--a;return a}},{}],9:[function(e,t,n){function r(e,t,n){var r=e[t];e[t]=e[n],e[n]=r}function o(e,t){return Math.round(e+Math.random()*(t-e))}function i(e,t,n,a){if(n<a){var s=o(n,a),u=n-1;r(e,s,a);for(var c=e[a],l=n;l<a;l++)t(e[l],c)<=0&&(u+=1,r(e,u,l));r(e,u+1,l);var f=u+1;i(e,t,n,f-1),i(e,t,f+1,a)}}n.quickSort=function(e,t){i(e,t,0,e.length-1)}},{}],10:[function(e,t,n){function r(e){var t=e;return"string"==typeof e&&(t=JSON.parse(e.replace(/^\)\]\}'/,""))),null!=t.sections?new a(t):new o(t)}function o(e){var t=e;"string"==typeof e&&(t=JSON.parse(e.replace(/^\)\]\}'/,"")));var n=s.getArg(t,"version"),r=s.getArg(t,"sources"),o=s.getArg(t,"names",[]),i=s.getArg(t,"sourceRoot",null),a=s.getArg(t,"sourcesContent",null),u=s.getArg(t,"mappings"),l=s.getArg(t,"file",null);if(n!=this._version)throw new Error("Unsupported version: "+n);r=r.map(String).map(s.normalize).map(function(e){return i&&s.isAbsolute(i)&&s.isAbsolute(e)?s.relative(i,e):e}),this._names=c.fromArray(o.map(String),!0),this._sources=c.fromArray(r,!0),this.sourceRoot=i,this.sourcesContent=a,this._mappings=u,this.file=l}function i(){this.generatedLine=0,this.generatedColumn=0,this.source=null,this.originalLine=null,this.originalColumn=null,this.name=null}function a(e){var t=e;"string"==typeof e&&(t=JSON.parse(e.replace(/^\)\]\}'/,"")));var n=s.getArg(t,"version"),o=s.getArg(t,"sections");if(n!=this._version)throw new Error("Unsupported version: "+n);this._sources=new c,this._names=new c;var i={line:-1,column:0};this._sections=o.map(function(e){if(e.url)throw new Error("Support for url field in sections not implemented.");var t=s.getArg(e,"offset"),n=s.getArg(t,"line"),o=s.getArg(t,"column");if(n<i.line||n===i.line&&o<i.column)throw new Error("Section offsets must be ordered and non-overlapping.");return i=t,{generatedOffset:{generatedLine:n+1,generatedColumn:o+1},consumer:new r(s.getArg(e,"map"))}})}var s=e("./util"),u=e("./binary-search"),c=e("./array-set").ArraySet,l=e("./base64-vlq"),f=e("./quick-sort").quickSort;r.fromSourceMap=function(e){return o.fromSourceMap(e)},r.prototype._version=3,r.prototype.__generatedMappings=null,Object.defineProperty(r.prototype,"_generatedMappings",{get:function(){return this.__generatedMappings||this._parseMappings(this._mappings,this.sourceRoot),this.__generatedMappings}}),r.prototype.__originalMappings=null,Object.defineProperty(r.prototype,"_originalMappings",{get:function(){return this.__originalMappings||this._parseMappings(this._mappings,this.sourceRoot),this.__originalMappings}}),r.prototype._charIsMappingSeparator=function(e,t){var n=e.charAt(t);return";"===n||","===n},r.prototype._parseMappings=function(e,t){throw new Error("Subclasses must implement _parseMappings")},r.GENERATED_ORDER=1,r.ORIGINAL_ORDER=2,r.GREATEST_LOWER_BOUND=1,r.LEAST_UPPER_BOUND=2,r.prototype.eachMapping=function(e,t,n){var o,i=t||null,a=n||r.GENERATED_ORDER;switch(a){case r.GENERATED_ORDER:o=this._generatedMappings;break;case r.ORIGINAL_ORDER:o=this._originalMappings;break;default:throw new Error("Unknown order of iteration.")}var u=this.sourceRoot;o.map(function(e){var t=null===e.source?null:this._sources.at(e.source);return null!=t&&null!=u&&(t=s.join(u,t)),{source:t,generatedLine:e.generatedLine,generatedColumn:e.generatedColumn,originalLine:e.originalLine,originalColumn:e.originalColumn,name:null===e.name?null:this._names.at(e.name)}},this).forEach(e,i)},r.prototype.allGeneratedPositionsFor=function(e){var t=s.getArg(e,"line"),n={source:s.getArg(e,"source"),originalLine:t,originalColumn:s.getArg(e,"column",0)};if(null!=this.sourceRoot&&(n.source=s.relative(this.sourceRoot,n.source)),!this._sources.has(n.source))return[];n.source=this._sources.indexOf(n.source);var r=[],o=this._findMapping(n,this._originalMappings,"originalLine","originalColumn",s.compareByOriginalPositions,u.LEAST_UPPER_BOUND);if(o>=0){var i=this._originalMappings[o];if(void 0===e.column)for(var a=i.originalLine;i&&i.originalLine===a;)r.push({line:s.getArg(i,"generatedLine",null),column:s.getArg(i,"generatedColumn",null),lastColumn:s.getArg(i,"lastGeneratedColumn",null)}),i=this._originalMappings[++o];else for(var c=i.originalColumn;i&&i.originalLine===t&&i.originalColumn==c;)r.push({line:s.getArg(i,"generatedLine",null),column:s.getArg(i,"generatedColumn",null),lastColumn:s.getArg(i,"lastGeneratedColumn",null)}),i=this._originalMappings[++o]}return r},n.SourceMapConsumer=r,o.prototype=Object.create(r.prototype),o.prototype.consumer=r,o.fromSourceMap=function(e){var t=Object.create(o.prototype),n=t._names=c.fromArray(e._names.toArray(),!0),r=t._sources=c.fromArray(e._sources.toArray(),!0);t.sourceRoot=e._sourceRoot,t.sourcesContent=e._generateSourcesContent(t._sources.toArray(),t.sourceRoot),t.file=e._file;for(var a=e._mappings.toArray().slice(),u=t.__generatedMappings=[],l=t.__originalMappings=[],p=0,h=a.length;p<h;p++){var g=a[p],d=new i;d.generatedLine=g.generatedLine,d.generatedColumn=g.generatedColumn,g.source&&(d.source=r.indexOf(g.source),d.originalLine=g.originalLine,d.originalColumn=g.originalColumn,g.name&&(d.name=n.indexOf(g.name)),l.push(d)),u.push(d)}return f(t.__originalMappings,s.compareByOriginalPositions),t},o.prototype._version=3,Object.defineProperty(o.prototype,"sources",{get:function(){return this._sources.toArray().map(function(e){return null!=this.sourceRoot?s.join(this.sourceRoot,e):e},this)}}),o.prototype._parseMappings=function(e,t){for(var n,r,o,a,u,c=1,p=0,h=0,g=0,d=0,m=0,v=e.length,y=0,_={},w={},b=[],C=[];y<v;)if(";"===e.charAt(y))c++,y++,p=0;else if(","===e.charAt(y))y++;else{for(n=new i,n.generatedLine=c,a=y;a<v&&!this._charIsMappingSeparator(e,a);a++);if(r=e.slice(y,a),o=_[r])y+=r.length;else{for(o=[];y<a;)l.decode(e,y,w),u=w.value,y=w.rest,o.push(u);if(2===o.length)throw new Error("Found a source, but no line and column");if(3===o.length)throw new Error("Found a source and line, but no column");_[r]=o}n.generatedColumn=p+o[0],p=n.generatedColumn,o.length>1&&(n.source=d+o[1],d+=o[1],n.originalLine=h+o[2],h=n.originalLine,n.originalLine+=1,n.originalColumn=g+o[3],g=n.originalColumn,o.length>4&&(n.name=m+o[4],m+=o[4])),C.push(n),"number"==typeof n.originalLine&&b.push(n)}f(C,s.compareByGeneratedPositionsDeflated),this.__generatedMappings=C,f(b,s.compareByOriginalPositions),this.__originalMappings=b},o.prototype._findMapping=function(e,t,n,r,o,i){if(e[n]<=0)throw new TypeError("Line must be greater than or equal to 1, got "+e[n]);if(e[r]<0)throw new TypeError("Column must be greater than or equal to 0, got "+e[r]);return u.search(e,t,o,i)},o.prototype.computeColumnSpans=function(){for(var e=0;e<this._generatedMappings.length;++e){var t=this._generatedMappings[e];if(e+1<this._generatedMappings.length){var n=this._generatedMappings[e+1];if(t.generatedLine===n.generatedLine){t.lastGeneratedColumn=n.generatedColumn-1;continue}}t.lastGeneratedColumn=1/0}},o.prototype.originalPositionFor=function(e){var t={generatedLine:s.getArg(e,"line"),generatedColumn:s.getArg(e,"column")},n=this._findMapping(t,this._generatedMappings,"generatedLine","generatedColumn",s.compareByGeneratedPositionsDeflated,s.getArg(e,"bias",r.GREATEST_LOWER_BOUND));if(n>=0){var o=this._generatedMappings[n];if(o.generatedLine===t.generatedLine){var i=s.getArg(o,"source",null);null!==i&&(i=this._sources.at(i),null!=this.sourceRoot&&(i=s.join(this.sourceRoot,i)));var a=s.getArg(o,"name",null);return null!==a&&(a=this._names.at(a)),{source:i,line:s.getArg(o,"originalLine",null),column:s.getArg(o,"originalColumn",null),name:a}}}return{source:null,line:null,column:null,name:null}},o.prototype.hasContentsOfAllSources=function(){return!!this.sourcesContent&&(this.sourcesContent.length>=this._sources.size()&&!this.sourcesContent.some(function(e){return null==e}))},o.prototype.sourceContentFor=function(e,t){if(!this.sourcesContent)return null;if(null!=this.sourceRoot&&(e=s.relative(this.sourceRoot,e)),this._sources.has(e))return this.sourcesContent[this._sources.indexOf(e)];var n;if(null!=this.sourceRoot&&(n=s.urlParse(this.sourceRoot))){var r=e.replace(/^file:\/\//,"");if("file"==n.scheme&&this._sources.has(r))return this.sourcesContent[this._sources.indexOf(r)];if((!n.path||"/"==n.path)&&this._sources.has("/"+e))return this.sourcesContent[this._sources.indexOf("/"+e)]}if(t)return null;throw new Error('"'+e+'" is not in the SourceMap.')},o.prototype.generatedPositionFor=function(e){var t=s.getArg(e,"source");if(null!=this.sourceRoot&&(t=s.relative(this.sourceRoot,t)),!this._sources.has(t))return{line:null,column:null,lastColumn:null};t=this._sources.indexOf(t);var n={source:t,originalLine:s.getArg(e,"line"),originalColumn:s.getArg(e,"column")},o=this._findMapping(n,this._originalMappings,"originalLine","originalColumn",s.compareByOriginalPositions,s.getArg(e,"bias",r.GREATEST_LOWER_BOUND));if(o>=0){var i=this._originalMappings[o];if(i.source===n.source)return{line:s.getArg(i,"generatedLine",null),column:s.getArg(i,"generatedColumn",null),lastColumn:s.getArg(i,"lastGeneratedColumn",null)}}return{line:null,column:null,lastColumn:null}},n.BasicSourceMapConsumer=o,a.prototype=Object.create(r.prototype),a.prototype.constructor=r,a.prototype._version=3,Object.defineProperty(a.prototype,"sources",{get:function(){for(var e=[],t=0;t<this._sections.length;t++)for(var n=0;n<this._sections[t].consumer.sources.length;n++)e.push(this._sections[t].consumer.sources[n]);return e}}),a.prototype.originalPositionFor=function(e){var t={generatedLine:s.getArg(e,"line"),generatedColumn:s.getArg(e,"column")},n=u.search(t,this._sections,function(e,t){var n=e.generatedLine-t.generatedOffset.generatedLine;return n?n:e.generatedColumn-t.generatedOffset.generatedColumn}),r=this._sections[n];return r?r.consumer.originalPositionFor({line:t.generatedLine-(r.generatedOffset.generatedLine-1),column:t.generatedColumn-(r.generatedOffset.generatedLine===t.generatedLine?r.generatedOffset.generatedColumn-1:0),bias:e.bias}):{source:null,line:null,column:null,name:null}},a.prototype.hasContentsOfAllSources=function(){return this._sections.every(function(e){return e.consumer.hasContentsOfAllSources()})},a.prototype.sourceContentFor=function(e,t){
      for(var n=0;n<this._sections.length;n++){var r=this._sections[n],o=r.consumer.sourceContentFor(e,!0);if(o)return o}if(t)return null;throw new Error('"'+e+'" is not in the SourceMap.')},a.prototype.generatedPositionFor=function(e){for(var t=0;t<this._sections.length;t++){var n=this._sections[t];if(n.consumer.sources.indexOf(s.getArg(e,"source"))!==-1){var r=n.consumer.generatedPositionFor(e);if(r){var o={line:r.line+(n.generatedOffset.generatedLine-1),column:r.column+(n.generatedOffset.generatedLine===r.line?n.generatedOffset.generatedColumn-1:0)};return o}}}return{line:null,column:null}},a.prototype._parseMappings=function(e,t){this.__generatedMappings=[],this.__originalMappings=[];for(var n=0;n<this._sections.length;n++)for(var r=this._sections[n],o=r.consumer._generatedMappings,i=0;i<o.length;i++){var a=o[i],u=r.consumer._sources.at(a.source);null!==r.consumer.sourceRoot&&(u=s.join(r.consumer.sourceRoot,u)),this._sources.add(u),u=this._sources.indexOf(u);var c=r.consumer._names.at(a.name);this._names.add(c),c=this._names.indexOf(c);var l={source:u,generatedLine:a.generatedLine+(r.generatedOffset.generatedLine-1),generatedColumn:a.generatedColumn+(r.generatedOffset.generatedLine===a.generatedLine?r.generatedOffset.generatedColumn-1:0),originalLine:a.originalLine,originalColumn:a.originalColumn,name:c};this.__generatedMappings.push(l),"number"==typeof l.originalLine&&this.__originalMappings.push(l)}f(this.__generatedMappings,s.compareByGeneratedPositionsDeflated),f(this.__originalMappings,s.compareByOriginalPositions)},n.IndexedSourceMapConsumer=a},{"./array-set":5,"./base64-vlq":6,"./binary-search":8,"./quick-sort":9,"./util":11}],11:[function(e,t,n){function r(e,t,n){if(t in e)return e[t];if(3===arguments.length)return n;throw new Error('"'+t+'" is a required argument.')}function o(e){var t=e.match(v);return t?{scheme:t[1],auth:t[2],host:t[3],port:t[4],path:t[5]}:null}function i(e){var t="";return e.scheme&&(t+=e.scheme+":"),t+="//",e.auth&&(t+=e.auth+"@"),e.host&&(t+=e.host),e.port&&(t+=":"+e.port),e.path&&(t+=e.path),t}function a(e){var t=e,r=o(e);if(r){if(!r.path)return e;t=r.path}for(var a,s=n.isAbsolute(t),u=t.split(/\/+/),c=0,l=u.length-1;l>=0;l--)a=u[l],"."===a?u.splice(l,1):".."===a?c++:c>0&&(""===a?(u.splice(l+1,c),c=0):(u.splice(l,2),c--));return t=u.join("/"),""===t&&(t=s?"/":"."),r?(r.path=t,i(r)):t}function s(e,t){""===e&&(e="."),""===t&&(t=".");var n=o(t),r=o(e);if(r&&(e=r.path||"/"),n&&!n.scheme)return r&&(n.scheme=r.scheme),i(n);if(n||t.match(y))return t;if(r&&!r.host&&!r.path)return r.host=t,i(r);var s="/"===t.charAt(0)?t:a(e.replace(/\/+$/,"")+"/"+t);return r?(r.path=s,i(r)):s}function u(e,t){""===e&&(e="."),e=e.replace(/\/$/,"");for(var n=0;0!==t.indexOf(e+"/");){var r=e.lastIndexOf("/");if(r<0)return t;if(e=e.slice(0,r),e.match(/^([^\/]+:\/)?\/*$/))return t;++n}return Array(n+1).join("../")+t.substr(e.length+1)}function c(e){return e}function l(e){return p(e)?"$"+e:e}function f(e){return p(e)?e.slice(1):e}function p(e){if(!e)return!1;var t=e.length;if(t<9)return!1;if(95!==e.charCodeAt(t-1)||95!==e.charCodeAt(t-2)||111!==e.charCodeAt(t-3)||116!==e.charCodeAt(t-4)||111!==e.charCodeAt(t-5)||114!==e.charCodeAt(t-6)||112!==e.charCodeAt(t-7)||95!==e.charCodeAt(t-8)||95!==e.charCodeAt(t-9))return!1;for(var n=t-10;n>=0;n--)if(36!==e.charCodeAt(n))return!1;return!0}function h(e,t,n){var r=e.source-t.source;return 0!==r?r:(r=e.originalLine-t.originalLine,0!==r?r:(r=e.originalColumn-t.originalColumn,0!==r||n?r:(r=e.generatedColumn-t.generatedColumn,0!==r?r:(r=e.generatedLine-t.generatedLine,0!==r?r:e.name-t.name))))}function g(e,t,n){var r=e.generatedLine-t.generatedLine;return 0!==r?r:(r=e.generatedColumn-t.generatedColumn,0!==r||n?r:(r=e.source-t.source,0!==r?r:(r=e.originalLine-t.originalLine,0!==r?r:(r=e.originalColumn-t.originalColumn,0!==r?r:e.name-t.name))))}function d(e,t){return e===t?0:e>t?1:-1}function m(e,t){var n=e.generatedLine-t.generatedLine;return 0!==n?n:(n=e.generatedColumn-t.generatedColumn,0!==n?n:(n=d(e.source,t.source),0!==n?n:(n=e.originalLine-t.originalLine,0!==n?n:(n=e.originalColumn-t.originalColumn,0!==n?n:d(e.name,t.name)))))}n.getArg=r;var v=/^(?:([\w+\-.]+):)?\/\/(?:(\w+:\w+)@)?([\w.]*)(?::(\d+))?(\S*)$/,y=/^data:.+\,.+$/;n.urlParse=o,n.urlGenerate=i,n.normalize=a,n.join=s,n.isAbsolute=function(e){return"/"===e.charAt(0)||!!e.match(v)},n.relative=u;var _=function(){var e=Object.create(null);return!("__proto__"in e)}();n.toSetString=_?c:l,n.fromSetString=_?c:f,n.compareByOriginalPositions=h,n.compareByGeneratedPositionsDeflated=g,n.compareByGeneratedPositionsInflated=m},{}],12:[function(t,n,r){!function(o,i){"use strict";"function"==typeof e&&e.amd?e("stack-generator",["stackframe"],i):"object"==typeof r?n.exports=i(t("stackframe")):o.StackGenerator=i(o.StackFrame)}(this,function(e){return{backtrace:function(t){var n=[],r=10;"object"==typeof t&&"number"==typeof t.maxStackSize&&(r=t.maxStackSize);for(var o=arguments.callee;o&&n.length<r;){for(var i=new Array(o.arguments.length),a=0;a<i.length;++a)i[a]=o.arguments[a];/function(?:\s+([\w$]+))+\s*\(/.test(o.toString())?n.push(new e({functionName:RegExp.$1||void 0,args:i})):n.push(new e({args:i}));try{o=o.caller}catch(s){break}}return n}}})},{stackframe:13}],13:[function(t,n,r){!function(t,o){"use strict";"function"==typeof e&&e.amd?e("stackframe",[],o):"object"==typeof r?n.exports=o():t.StackFrame=o()}(this,function(){"use strict";function e(e){return!isNaN(parseFloat(e))&&isFinite(e)}function t(e){return e[0].toUpperCase()+e.substring(1)}function n(e){return function(){return this[e]}}function r(e){if(e instanceof Object)for(var n=o.concat(i.concat(a.concat(s))),r=0;r<n.length;r++)e.hasOwnProperty(n[r])&&void 0!==e[n[r]]&&this["set"+t(n[r])](e[n[r]])}var o=["isConstructor","isEval","isNative","isToplevel"],i=["columnNumber","lineNumber"],a=["fileName","functionName","source"],s=["args"];r.prototype={getArgs:function(){return this.args},setArgs:function(e){if("[object Array]"!==Object.prototype.toString.call(e))throw new TypeError("Args must be an Array");this.args=e},getEvalOrigin:function(){return this.evalOrigin},setEvalOrigin:function(e){if(e instanceof r)this.evalOrigin=e;else{if(!(e instanceof Object))throw new TypeError("Eval Origin must be an Object or StackFrame");this.evalOrigin=new r(e)}},toString:function(){var t=this.getFunctionName()||"{anonymous}",n="("+(this.getArgs()||[]).join(",")+")",r=this.getFileName()?"@"+this.getFileName():"",o=e(this.getLineNumber())?":"+this.getLineNumber():"",i=e(this.getColumnNumber())?":"+this.getColumnNumber():"";return t+n+r+o+i}};for(var u=0;u<o.length;u++)r.prototype["get"+t(o[u])]=n(o[u]),r.prototype["set"+t(o[u])]=function(e){return function(t){this[e]=Boolean(t)}}(o[u]);for(var c=0;c<i.length;c++)r.prototype["get"+t(i[c])]=n(i[c]),r.prototype["set"+t(i[c])]=function(t){return function(n){if(!e(n))throw new TypeError(t+" must be a Number");this[t]=Number(n)}}(i[c]);for(var l=0;l<a.length;l++)r.prototype["get"+t(a[l])]=n(a[l]),r.prototype["set"+t(a[l])]=function(e){return function(t){this[e]=String(t)}}(a[l]);return r})},{}],14:[function(t,n,r){!function(o,i){"use strict";"function"==typeof e&&e.amd?e("stacktrace-gps",["source-map","stackframe"],i):"object"==typeof r?n.exports=i(t("source-map/lib/source-map-consumer"),t("stackframe")):o.StackTraceGPS=i(o.SourceMap||o.sourceMap,o.StackFrame)}(this,function(e,t){"use strict";function n(e){return new Promise(function(t,n){var r=new XMLHttpRequest;r.open("get",e),r.onerror=n,r.onreadystatechange=function(){4===r.readyState&&(r.status>=200&&r.status<300||"file://"===e.substr(0,7)&&r.responseText?t(r.responseText):n(new Error("HTTP status: "+r.status+" retrieving "+e)))},r.send()})}function r(e){if("undefined"!=typeof window&&window.atob)return window.atob(e);throw new Error("You must supply a polyfill for window.atob in this environment")}function o(e){if("undefined"!=typeof JSON&&JSON.parse)return JSON.parse(e);throw new Error("You must supply a polyfill for JSON.parse in this environment")}function i(e,t){for(var n=[/['"]?([$_A-Za-z][$_A-Za-z0-9]*)['"]?\s*[:=]\s*function\b/,/function\s+([^('"`]*?)\s*\(([^)]*)\)/,/['"]?([$_A-Za-z][$_A-Za-z0-9]*)['"]?\s*[:=]\s*(?:eval|new Function)\b/,/\b(?!(?:if|for|switch|while|with|catch)\b)(?:(?:static)\s+)?(\S+)\s*\(.*?\)\s*\{/,/['"]?([$_A-Za-z][$_A-Za-z0-9]*)['"]?\s*[:=]\s*\(.*?\)\s*=>/],r=e.split("\n"),o="",i=Math.min(t,20),a=0;a<i;++a){var s=r[t-a-1],u=s.indexOf("//");if(u>=0&&(s=s.substr(0,u)),s){o=s+o;for(var c=n.length,l=0;l<c;l++){var f=n[l].exec(o);if(f&&f[1])return f[1]}}}}function a(){if("function"!=typeof Object.defineProperty||"function"!=typeof Object.create)throw new Error("Unable to consume source maps in older browsers")}function s(e){if("object"!=typeof e)throw new TypeError("Given StackFrame is not an object");if("string"!=typeof e.fileName)throw new TypeError("Given file name is not a String");if("number"!=typeof e.lineNumber||e.lineNumber%1!==0||e.lineNumber<1)throw new TypeError("Given line number must be a positive integer");if("number"!=typeof e.columnNumber||e.columnNumber%1!==0||e.columnNumber<0)throw new TypeError("Given column number must be a non-negative integer");return!0}function u(e){var t=/\/\/[#@] ?sourceMappingURL=([^\s'"]+)\s*$/m.exec(e);if(t&&t[1])return t[1];throw new Error("sourceMappingURL not found")}function c(e,n,r){return new Promise(function(o,i){var a=n.originalPositionFor({line:e.lineNumber,column:e.columnNumber});if(a.source){var s=n.sourceContentFor(a.source);s&&(r[a.source]=s),o(new t({functionName:a.name||e.functionName,args:e.args,fileName:a.source,lineNumber:a.line,columnNumber:a.column}))}else i(new Error("Could not get original source for given stackframe and source map"))})}return function l(f){return this instanceof l?(f=f||{},this.sourceCache=f.sourceCache||{},this.sourceMapConsumerCache=f.sourceMapConsumerCache||{},this.ajax=f.ajax||n,this._atob=f.atob||r,this._get=function(e){return new Promise(function(t,n){var r="data:"===e.substr(0,5);if(this.sourceCache[e])t(this.sourceCache[e]);else if(f.offline&&!r)n(new Error("Cannot make network requests in offline mode"));else if(r){var o=/^data:application\/json;([\w=:"-]+;)*base64,/,i=e.match(o);if(i){var a=i[0].length,s=e.substr(a),u=this._atob(s);this.sourceCache[e]=u,t(u)}else n(new Error("The encoding of the inline sourcemap is not supported"))}else{var c=this.ajax(e,{method:"get"});this.sourceCache[e]=c,c.then(t,n)}}.bind(this))},this._getSourceMapConsumer=function(t,n){return new Promise(function(r,i){if(this.sourceMapConsumerCache[t])r(this.sourceMapConsumerCache[t]);else{var a=new Promise(function(r,i){return this._get(t).then(function(t){"string"==typeof t&&(t=o(t.replace(/^\)\]\}'/,""))),"undefined"==typeof t.sourceRoot&&(t.sourceRoot=n),r(new e.SourceMapConsumer(t))},i)}.bind(this));this.sourceMapConsumerCache[t]=a,r(a)}}.bind(this))},this.pinpoint=function(e){return new Promise(function(t,n){this.getMappedLocation(e).then(function(e){function n(){t(e)}this.findFunctionName(e).then(t,n)["catch"](n)}.bind(this),n)}.bind(this))},this.findFunctionName=function(e){return new Promise(function(n,r){s(e),this._get(e.fileName).then(function(r){var o=e.lineNumber,a=e.columnNumber,s=i(r,o,a);n(s?new t({functionName:s,args:e.args,fileName:e.fileName,lineNumber:o,columnNumber:a}):e)},r)["catch"](r)}.bind(this))},void(this.getMappedLocation=function(e){return new Promise(function(t,n){a(),s(e);var r=this.sourceCache,o=e.fileName;this._get(o).then(function(n){var i=u(n),a="data:"===i.substr(0,5),s=o.substring(0,o.lastIndexOf("/")+1);return"/"===i[0]||a||/^https?:\/\/|^\/\//i.test(i)||(i=s+i),this._getSourceMapConsumer(i,s).then(function(n){return c(e,n,r).then(t)["catch"](function(){t(e)})})}.bind(this),n)["catch"](n)}.bind(this))})):new l(f)}})},{"source-map/lib/source-map-consumer":10,stackframe:13}],15:[function(e,t,n){Array.isArray||(Array.isArray=function(e){return"[object Array]"===Object.prototype.toString.call(e)}),"undefined"==typeof Promise&&ES6Promise.polyfill(),Function.prototype.bind||(Function.prototype.bind=function(e){if("function"!=typeof this)throw new TypeError("Function.prototype.bind - what is trying to be bound is not callable");var t=Array.prototype.slice.call(arguments,1),n=this,r=function(){},o=function(){return n.apply(this instanceof r&&e?this:e,t.concat(Array.prototype.slice.call(arguments)))};return r.prototype=this.prototype,o.prototype=new r,o}),Array.prototype.map||(Array.prototype.map=function(e,t){if(void 0===this||null===this)throw new TypeError("this is null or not defined");var n,r=Object(this),o=r.length>>>0;if("function"!=typeof e)throw new TypeError(e+" is not a function");arguments.length>1&&(n=t);for(var i=new Array(o),a=0;a<o;){var s,u;a in r&&(s=r[a],u=e.call(n,s,a,r),i[a]=u),a++}return i}),Array.prototype.filter||(Array.prototype.filter=function(e){if(void 0===this||null===this)throw new TypeError("this is null or not defined");var t=Object(this),n=t.length>>>0;if("function"!=typeof e)throw new TypeError(e+" is not a function");for(var r=[],o=arguments.length>=2?arguments[1]:void 0,i=0;i<n;i++)if(i in t){var a=t[i];e.call(o,a,i,t)&&r.push(a)}return r}),Array.prototype.forEach||(Array.prototype.forEach=function(e,t){var n,r;if(null===this||void 0===this)throw new TypeError(" this is null or not defined");var o=Object(this),i=o.length>>>0;if("function"!=typeof e)throw new TypeError(e+" is not a function");for(arguments.length>1&&(n=t),r=0;r<i;){var a;r in o&&(a=o[r],e.call(n,a,r,o)),r++}})},{}],16:[function(t,n,r){!function(o,i){"use strict";"function"==typeof e&&e.amd?e("stacktrace",["error-stack-parser","stack-generator","stacktrace-gps"],i):"object"==typeof r?n.exports=i(t("error-stack-parser"),t("stack-generator"),t("stacktrace-gps")):o.StackTrace=i(o.ErrorStackParser,o.StackGenerator,o.StackTraceGPS)}(this,function(e,t,n){function r(e,t){var n={};return[e,t].forEach(function(e){for(var t in e)e.hasOwnProperty(t)&&(n[t]=e[t]);return n}),n}function o(e){return e.stack||e["opera#sourceloc"]}function i(e,t){return"function"==typeof t?e.filter(t):e}var a={filter:function(e){return(e.functionName||"").indexOf("StackTrace$$")===-1&&(e.functionName||"").indexOf("ErrorStackParser$$")===-1&&(e.functionName||"").indexOf("StackTraceGPS$$")===-1&&(e.functionName||"").indexOf("StackGenerator$$")===-1},sourceCache:{}},s=function(){try{throw new Error}catch(e){return e}};return{get:function(e){var t=s();return o(t)?this.fromError(t,e):this.generateArtificially(e)},getSync:function(n){n=r(a,n);var u=s(),c=o(u)?e.parse(u):t.backtrace(n);return i(c,n.filter)},fromError:function(t,o){o=r(a,o);var s=new n(o);return new Promise(function(n){var r=i(e.parse(t),o.filter);n(Promise.all(r.map(function(e){return new Promise(function(t){function n(){t(e)}s.pinpoint(e).then(t,n)["catch"](n)})})))}.bind(this))},generateArtificially:function(e){e=r(a,e);var n=t.backtrace(e);return"function"==typeof e.filter&&(n=n.filter(e.filter)),Promise.resolve(n)},instrument:function(e,t,n,r){if("function"!=typeof e)throw new Error("Cannot instrument non-function object");if("function"==typeof e.__stacktraceOriginalFn)return e;var i=function(){try{return this.get().then(t,n)["catch"](n),e.apply(r||this,arguments)}catch(i){throw o(i)&&this.fromError(i).then(t,n)["catch"](n),i}}.bind(this);return i.__stacktraceOriginalFn=e,i},deinstrument:function(e){if("function"!=typeof e)throw new Error("Cannot de-instrument non-function object");return"function"==typeof e.__stacktraceOriginalFn?e.__stacktraceOriginalFn:e},report:function(e,t,n,r){return new Promise(function(o,i){var a=new XMLHttpRequest;if(a.onerror=i,a.onreadystatechange=function(){4===a.readyState&&(a.status>=200&&a.status<400?o(a.responseText):i(new Error("POST to "+t+" failed with status: "+a.status)))},a.open("post",t),a.setRequestHeader("Content-Type","application/json"),r&&"object"==typeof r.headers){var s=r.headers;for(var u in s)s.hasOwnProperty(u)&&a.setRequestHeader(u,s[u])}var c={stack:e};void 0!==n&&null!==n&&(c.message=n),a.send(JSON.stringify(c))})}}})},{"error-stack-parser":1,"stack-generator":12,"stacktrace-gps":14}]},{},[2,3,15,16])(16)}),function(e){"use strict";var t="https://clouderrorreporting.googleapis.com/v1beta1/projects/",n=function(){};e.StackdriverErrorReporter=n,n.prototype.start=function(e){if(!e.key&&!e.targetUrl)throw new Error("Cannot initialize: No API key or target url provided.");if(!e.projectId&&!e.targetUrl)throw new Error("Cannot initialize: No project ID or target url provided.");if("undefined"==typeof StackTrace)throw new Error("make sure you loaded “dist/stackdriver-errors-concat.js” or “dist/stackdriver-errors-concat.min.js”, or that you imported the “stacktrace-js” module");this.apiKey=e.key,this.projectId=e.projectId,this.targetUrl=e.targetUrl,this.context=e.context||{},this.serviceContext={service:e.service||"web"},e.version&&(this.serviceContext.version=e.version),this.reportUncaughtExceptions=e.reportUncaughtExceptions!==!1,this.disabled=e.disabled||!1;var t=this;if(this.reportUncaughtExceptions){var n=window.onerror||function(){};window.onerror=function(e,r,o,i,a){return a&&t.report(a),n(e,r,o,i,a),!0}}},n.prototype.report=function(e,t){if(this.disabled)return"function"==typeof t&&t();if(!e)return"function"==typeof t&&t("no error to report");var n={};n.serviceContext=this.serviceContext,n.context=this.context,n.context.httpRequest={userAgent:window.navigator.userAgent,url:window.location.href};var r=0;if("string"==typeof e||e instanceof String){try{throw new Error(e)}catch(o){e=o}r=1}var i=this;StackTrace.fromError(e).then(function(o){n.message=e.toString();for(var a=r;a<o.length;a++)n.message+="\n",n.message+=["    at ",o[a].getFunctionName()||"<anonymous>"," (",o[a].getFileName(),":",o[a].getLineNumber(),":",o[a].getColumnNumber(),")"].join("");i.sendErrorPayload(n,t)},function(r){n.message=["Error extracting stack trace: ",r,"\n",e.toString(),"\n","    (",e.file,":",e.line,":",e.column,")"].join(""),i.sendErrorPayload(n,t)})},n.prototype.sendErrorPayload=function(e,n){var r=t+this.projectId+"/events:report?key="+this.apiKey,o=this.targetUrl||r,i=new XMLHttpRequest;i.open("POST",o,!0),i.setRequestHeader("Content-Type","application/json; charset=UTF-8"),i.onloadend=function(){return"function"==typeof n&&n()},i.onerror=function(e){return"function"==typeof n&&n(e)},i.send(JSON.stringify(e))},n.prototype.setUser=function(e){this.context.user=e}}(this);(function(){'use strict';var d,aa=aa||{},h=this;function k(a){return void 0!==a}function m(a){return"string"==typeof a}function ba(a,b){a=a.split(".");b=b||h;for(var c=0;c<a.length;c++)if(b=b[a[c]],null==b)return null;return b}function ca(){}
  function da(a){var b=typeof a;if("object"==b)if(a){if(a instanceof Array)return"array";if(a instanceof Object)return b;var c=Object.prototype.toString.call(a);if("[object Window]"==c)return"object";if("[object Array]"==c||"number"==typeof a.length&&"undefined"!=typeof a.splice&&"undefined"!=typeof a.propertyIsEnumerable&&!a.propertyIsEnumerable("splice"))return"array";if("[object Function]"==c||"undefined"!=typeof a.call&&"undefined"!=typeof a.propertyIsEnumerable&&!a.propertyIsEnumerable("call"))return"function"}else return"null";
  else if("function"==b&&"undefined"==typeof a.call)return"object";return b}function ea(a){return"array"==da(a)}function fa(a){var b=da(a);return"array"==b||"object"==b&&"number"==typeof a.length}function ha(a){var b=typeof a;return"object"==b&&null!=a||"function"==b}var ia="closure_uid_"+(1E9*Math.random()>>>0),ja=0;function ka(a,b,c){return a.call.apply(a.bind,arguments)}
  function la(a,b,c){if(!a)throw Error();if(2<arguments.length){var e=Array.prototype.slice.call(arguments,2);return function(){var c=Array.prototype.slice.call(arguments);Array.prototype.unshift.apply(c,e);return a.apply(b,c)}}return function(){return a.apply(b,arguments)}}function n(a,b,c){Function.prototype.bind&&-1!=Function.prototype.bind.toString().indexOf("native code")?n=ka:n=la;return n.apply(null,arguments)}var ma=Date.now||function(){return+new Date};
  function p(a,b){a=a.split(".");var c=h;a[0]in c||"undefined"==typeof c.execScript||c.execScript("var "+a[0]);for(var e;a.length&&(e=a.shift());)!a.length&&k(b)?c[e]=b:c[e]&&c[e]!==Object.prototype[e]?c=c[e]:c=c[e]={}}function q(a,b){function c(){}c.prototype=b.prototype;a.R=b.prototype;a.prototype=new c;a.prototype.constructor=a;a.ej=function(a,c,g){for(var e=Array(arguments.length-2),f=2;f<arguments.length;f++)e[f-2]=arguments[f];return b.prototype[c].apply(a,e)}};p("bloombox.DEBUG",!1);p("bloombox.VERSION","v2.0.0b1");p("bloombox.INTERNAL",!1);p("bloombox.API_ENDPOINT","https://rpc.bloombox.cloud");function na(a){console.warn.apply(console,["[Bloombox]"].concat(Array.from(arguments)))}function t(a){console.error.apply(console,["[Bloombox]"].concat(Array.from(arguments)))};function oa(){return{key:null,ea:null,location:null,channel:null,beta:!1,Lb:{Rc:null,mj:null},gj:{google:{dj:{enabled:!1,nj:null}},jj:{Xi:null},hj:{ij:null,Xi:null}}}}function pa(a){a=Object.assign({},oa(),a);Object.isFrozen&&Object.freeze(a);u=a}p("bloombox.config.active",function(){return u});var u=oa();p("bloombox.menu.VERSION","v1beta1");function qa(a){if(Error.captureStackTrace)Error.captureStackTrace(this,qa);else{var b=Error().stack;b&&(this.stack=b)}a&&(this.message=String(a))}q(qa,Error);qa.prototype.name="CustomError";function ra(a,b){a=a.split("%s");for(var c="",e=a.length-1,f=0;f<e;f++)c+=a[f]+(f<b.length?b[f]:"%s");qa.call(this,c+a[e])}q(ra,qa);ra.prototype.name="AssertionError";function v(a,b){throw new ra("Failure"+(a?": "+a:""),Array.prototype.slice.call(arguments,1));};var sa=Array.prototype.indexOf?function(a,b){return Array.prototype.indexOf.call(a,b,void 0)}:function(a,b){if(m(a))return m(b)&&1==b.length?a.indexOf(b,0):-1;for(var c=0;c<a.length;c++)if(c in a&&a[c]===b)return c;return-1},ta=Array.prototype.forEach?function(a,b,c){Array.prototype.forEach.call(a,b,c)}:function(a,b,c){for(var e=a.length,f=m(a)?a.split(""):a,g=0;g<e;g++)g in f&&b.call(c,f[g],g,a)};
  function ua(a){a:{var b=va;for(var c=a.length,e=m(a)?a.split(""):a,f=0;f<c;f++)if(f in e&&b.call(void 0,e[f],f,a)){b=f;break a}b=-1}return 0>b?null:m(a)?a.charAt(b):a[b]}function wa(a){if(!ea(a))for(var b=a.length-1;0<=b;b--)delete a[b];a.length=0}function xa(a,b,c){return 2>=arguments.length?Array.prototype.slice.call(a,b):Array.prototype.slice.call(a,b,c)};var ya=String.prototype.trim?function(a){return a.trim()}:function(a){return/^[\s\xa0]*([\s\S]*?)[\s\xa0]*$/.exec(a)[1]};function za(a,b){return a<b?-1:a>b?1:0};var Aa;a:{var Ba=h.navigator;if(Ba){var Ca=Ba.userAgent;if(Ca){Aa=Ca;break a}}Aa=""}function w(a){return-1!=Aa.indexOf(a)};function Da(a,b,c){for(var e in a)b.call(c,a[e],e,a)}function Ea(a,b){var c={},e;for(e in a)c[e]=b.call(void 0,a[e],e,a);return c}function Fa(a){var b=[],c=0,e;for(e in a)b[c++]=a[e];return b}function Ga(a){var b=[],c=0,e;for(e in a)b[c++]=e;return b}var Ha="constructor hasOwnProperty isPrototypeOf propertyIsEnumerable toLocaleString toString valueOf".split(" ");
  function Ia(a,b){for(var c,e,f=1;f<arguments.length;f++){e=arguments[f];for(c in e)a[c]=e[c];for(var g=0;g<Ha.length;g++)c=Ha[g],Object.prototype.hasOwnProperty.call(e,c)&&(a[c]=e[c])}};function Ja(){return w("Firefox")||w("FxiOS")}function Ka(){return(w("Chrome")||w("CriOS"))&&!w("Edge")};function La(a){var b=1;a=a.split(":");for(var c=[];0<b&&a.length;)c.push(a.shift()),b--;a.length&&c.push(a.join(":"));return c};function Ma(){return w("iPhone")&&!w("iPod")&&!w("iPad")};function Na(a){Na[" "](a);return a}Na[" "]=ca;function Oa(a,b){var c=Pa;return Object.prototype.hasOwnProperty.call(c,a)?c[a]:c[a]=b(a)};var Qa=w("Opera"),Ra=w("Trident")||w("MSIE"),Sa=w("Edge"),Ta=Sa||Ra,Ua=w("Gecko")&&!(-1!=Aa.toLowerCase().indexOf("webkit")&&!w("Edge"))&&!(w("Trident")||w("MSIE"))&&!w("Edge"),Va=-1!=Aa.toLowerCase().indexOf("webkit")&&!w("Edge"),Wa=Va&&w("Mobile"),Xa=w("Macintosh"),Ya=w("Windows"),Za=w("Linux")||w("CrOS"),$a=w("Android"),ab=Ma(),bb=w("iPad"),cb=w("iPod"),db=Ma()||w("iPad")||w("iPod");function eb(){var a=h.document;return a?a.documentMode:void 0}var fb;
  a:{var gb="",hb=function(){var a=Aa;if(Ua)return/rv:([^\);]+)(\)|;)/.exec(a);if(Sa)return/Edge\/([\d\.]+)/.exec(a);if(Ra)return/\b(?:MSIE|rv)[: ]([^\);]+)(\)|;)/.exec(a);if(Va)return/WebKit\/(\S+)/.exec(a);if(Qa)return/(?:Version)[ \/]?(\S+)/.exec(a)}();hb&&(gb=hb?hb[1]:"");if(Ra){var ib=eb();if(null!=ib&&ib>parseFloat(gb)){fb=String(ib);break a}}fb=gb}var Pa={};
  function jb(a){return Oa(a,function(){for(var b=0,c=ya(String(fb)).split("."),e=ya(String(a)).split("."),f=Math.max(c.length,e.length),g=0;0==b&&g<f;g++){var l=c[g]||"",r=e[g]||"";do{l=/(\d*)(\D*)(.*)/.exec(l)||["","","",""];r=/(\d*)(\D*)(.*)/.exec(r)||["","","",""];if(0==l[0].length&&0==r[0].length)break;b=za(0==l[1].length?0:parseInt(l[1],10),0==r[1].length?0:parseInt(r[1],10))||za(0==l[2].length,0==r[2].length)||za(l[2],r[2]);l=l[3];r=r[3]}while(0==b)}return 0<=b})}var kb;var lb=h.document;
  kb=lb&&Ra?eb()||("CSS1Compat"==lb.compatMode?parseInt(fb,10):5):void 0;var mb=Object.freeze||function(a){return a};var nb;(nb=!Ra)||(nb=9<=Number(kb));var ob=nb,pb=Ra&&!jb("9"),qb=function(){if(!h.addEventListener||!Object.defineProperty)return!1;var a=!1,b=Object.defineProperty({},"passive",{get:function(){a=!0}});try{h.addEventListener("test",ca,b),h.removeEventListener("test",ca,b)}catch(c){}return a}();function rb(){0!=sb&&(tb[this[ia]||(this[ia]=++ja)]=this);this.i=this.i;this.Z=this.Z}var sb=0,tb={};rb.prototype.i=!1;rb.prototype.ua=function(){if(!this.i&&(this.i=!0,this.J(),0!=sb)){var a=this[ia]||(this[ia]=++ja);if(0!=sb&&this.Z&&0<this.Z.length)throw Error(this+" did not empty its onDisposeCallbacks queue. This probably means it overrode dispose() or disposeInternal() without calling the superclass' method.");delete tb[a]}};rb.prototype.J=function(){if(this.Z)for(;this.Z.length;)this.Z.shift()()};function ub(a,b){this.type=a;this.a=this.target=b;this.b=!1;this.Lc=!0}ub.prototype.h=function(){this.Lc=!1};function vb(a,b){ub.call(this,a?a.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.state=null;this.pointerId=0;this.pointerType="";this.m=null;a&&this.init(a,b)}q(vb,ub);var wb=mb({2:"touch",3:"pen",4:"mouse"});
  vb.prototype.init=function(a,b){var c=this.type=a.type,e=a.changedTouches&&a.changedTouches.length?a.changedTouches[0]:null;this.target=a.target||a.srcElement;this.a=b;if(b=a.relatedTarget){if(Ua){a:{try{Na(b.nodeName);var f=!0;break a}catch(g){}f=!1}f||(b=null)}}else"mouseover"==c?b=a.fromElement:"mouseout"==c&&(b=a.toElement);this.relatedTarget=b;e?(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.clientX=void 0!==a.clientX?a.clientX:a.pageX,this.clientY=void 0!==a.clientY?a.clientY:a.pageY,this.screenX=a.screenX||0,this.screenY=a.screenY||0);this.button=a.button;this.key=a.key||"";this.ctrlKey=a.ctrlKey;this.altKey=a.altKey;this.shiftKey=a.shiftKey;this.metaKey=a.metaKey;this.pointerId=a.pointerId||0;this.pointerType=m(a.pointerType)?a.pointerType:wb[a.pointerType]||"";this.state=a.state;this.m=a;a.defaultPrevented&&this.h()};
  vb.prototype.h=function(){vb.R.h.call(this);var a=this.m;if(a.preventDefault)a.preventDefault();else if(a.returnValue=!1,pb)try{if(a.ctrlKey||112<=a.keyCode&&123>=a.keyCode)a.keyCode=-1}catch(b){}};var xb="closure_listenable_"+(1E6*Math.random()|0);function yb(a){return!(!a||!a[xb])}var zb=0;function Ab(a,b,c,e,f){this.listener=a;this.proxy=null;this.src=b;this.type=c;this.capture=!!e;this.Fa=f;this.key=++zb;this.fa=this.qa=!1}Ab.prototype.a=function(){this.fa=!0;this.Fa=this.src=this.proxy=this.listener=null};function Bb(a){this.src=a;this.a={};this.b=0}d=Bb.prototype;d.add=function(a,b,c,e,f){var g=a.toString();a=this.a[g];a||(a=this.a[g]=[],this.b++);var l=Cb(a,b,e,f);-1<l?(b=a[l],c||(b.qa=!1)):(b=new Ab(b,this.src,g,!!e,f),b.qa=c,a.push(b));return b};d.Wd=function(a,b,c,e){a=a.toString();if(a in this.a){var f=this.a[a];b=Cb(f,b,c,e);-1<b&&(f[b].a(),Array.prototype.splice.call(f,b,1),0==f.length&&(delete this.a[a],this.b--))}};
  d.Hc=function(a){var b=a.type;if(b in this.a){var c=this.a[b],e=sa(c,a),f;(f=0<=e)&&Array.prototype.splice.call(c,e,1);f&&(a.a(),0==this.a[b].length&&(delete this.a[b],this.b--))}};d.Xd=function(){var a=0,b;for(b in this.a){for(var c=this.a[b],e=0;e<c.length;e++)++a,c[e].a();delete this.a[b];this.b--}};d.lb=function(a,b,c,e){a=this.a[a.toString()];var f=-1;a&&(f=Cb(a,b,c,e));return-1<f?a[f]:null};
  function Cb(a,b,c,e){for(var f=0;f<a.length;++f){var g=a[f];if(!g.fa&&g.listener==b&&g.capture==!!c&&g.Fa==e)return f}return-1};var Db="closure_lm_"+(1E6*Math.random()|0),Eb={},Fb=0;function Gb(a,b,c,e,f){if(e&&e.once)return Hb(a,b,c,e,f);if(ea(b)){for(var g=0;g<b.length;g++)Gb(a,b[g],c,e,f);return null}c=Ib(c);return yb(a)?a.Td(b,c,ha(e)?!!e.capture:!!e,f):Jb(a,b,c,!1,e,f)}
  function Jb(a,b,c,e,f,g){if(!b)throw Error("Invalid event type");var l=ha(f)?!!f.capture:!!f,r=Kb(a);r||(a[Db]=r=new Bb(a));c=r.add(b,c,e,l,g);if(c.proxy)return c;e=Lb();c.proxy=e;e.src=a;e.listener=c;if(a.addEventListener)qb||(f=l),void 0===f&&(f=!1),a.addEventListener(b.toString(),e,f);else if(a.attachEvent)a.attachEvent(Mb(b.toString()),e);else if(a.addListener&&a.removeListener)a.addListener(e);else throw Error("addEventListener and attachEvent are unavailable.");Fb++;return c}
  function Lb(){var a=Nb,b=ob?function(c){return a.call(b.src,b.listener,c)}:function(c){c=a.call(b.src,b.listener,c);if(!c)return c};return b}function Hb(a,b,c,e,f){if(ea(b)){for(var g=0;g<b.length;g++)Hb(a,b[g],c,e,f);return null}c=Ib(c);return yb(a)?a.Ud(b,c,ha(e)?!!e.capture:!!e,f):Jb(a,b,c,!0,e,f)}function Ob(a,b,c,e,f){if(ea(b))for(var g=0;g<b.length;g++)Ob(a,b[g],c,e,f);else e=ha(e)?!!e.capture:!!e,c=Ib(c),yb(a)?a.Vd(b,c,e,f):a&&(a=Kb(a))&&(b=a.lb(b,c,e,f))&&Pb(b)}
  function Pb(a){if("number"!=typeof a&&a&&!a.fa){var b=a.src;if(yb(b))b.Tc(a);else{var c=a.type,e=a.proxy;b.removeEventListener?b.removeEventListener(c,e,a.capture):b.detachEvent?b.detachEvent(Mb(c),e):b.addListener&&b.removeListener&&b.removeListener(e);Fb--;(c=Kb(b))?(c.Hc(a),0==c.b&&(c.src=null,b[Db]=null)):a.a()}}}function Mb(a){return a in Eb?Eb[a]:Eb[a]="on"+a}
  function Qb(a,b,c,e){var f=!0;if(a=Kb(a))if(b=a.a[b.toString()])for(b=b.concat(),a=0;a<b.length;a++){var g=b[a];g&&g.capture==c&&!g.fa&&(g=Rb(g,e),f=f&&!1!==g)}return f}function Rb(a,b){var c=a.listener,e=a.Fa||a.src;a.qa&&Pb(a);return c.call(e,b)}
  function Nb(a,b){if(a.fa)return!0;if(!ob){var c=b||ba("window.event");b=new vb(c,this);var e=!0;if(!(0>c.keyCode||void 0!=c.returnValue)){a:{var f=!1;if(0==c.keyCode)try{c.keyCode=-1;break a}catch(l){f=!0}if(f||void 0==c.returnValue)c.returnValue=!0}c=[];for(f=b.a;f;f=f.parentNode)c.push(f);a=a.type;for(f=c.length-1;!b.b&&0<=f;f--){b.a=c[f];var g=Qb(c[f],a,!0,b);e=e&&g}for(f=0;!b.b&&f<c.length;f++)b.a=c[f],g=Qb(c[f],a,!1,b),e=e&&g}return e}return Rb(a,new vb(b,this))}
  function Kb(a){a=a[Db];return a instanceof Bb?a:null}var Sb="__closure_events_fn_"+(1E9*Math.random()>>>0);function Ib(a){if("function"==da(a))return a;a[Sb]||(a[Sb]=function(b){return a.handleEvent(b)});return a[Sb]};function Tb(){rb.call(this);this.s=new Bb(this);this.Vc=this;this.Sa=null}q(Tb,rb);Tb.prototype[xb]=!0;d=Tb.prototype;d.removeEventListener=function(a,b,c,e){Ob(this,a,b,c,e)};
  d.D=function(a){var b,c=this.Sa;if(c)for(b=[];c;c=c.Sa)b.push(c);c=this.Vc;var e=a.type||a;if(m(a))a=new ub(a,c);else if(a instanceof ub)a.target=a.target||c;else{var f=a;a=new ub(e,c);Ia(a,f)}f=!0;if(b)for(var g=b.length-1;!a.b&&0<=g;g--){var l=a.a=b[g];f=l.va(e,!0,a)&&f}a.b||(l=a.a=c,f=l.va(e,!0,a)&&f,a.b||(f=l.va(e,!1,a)&&f));if(b)for(g=0;!a.b&&g<b.length;g++)l=a.a=b[g],f=l.va(e,!1,a)&&f};d.J=function(){Tb.R.J.call(this);this.hh();this.Sa=null};
  d.Td=function(a,b,c,e){return this.s.add(String(a),b,!1,c,e)};d.Ud=function(a,b,c,e){return this.s.add(String(a),b,!0,c,e)};d.Vd=function(a,b,c,e){this.s.Wd(String(a),b,c,e)};d.Tc=function(a){this.s.Hc(a)};d.hh=function(){this.s&&this.s.Xd()};d.va=function(a,b,c){a=this.s.a[String(a)];if(!a)return!0;a=a.concat();for(var e=!0,f=0;f<a.length;++f){var g=a[f];if(g&&!g.fa&&g.capture==b){var l=g.listener,r=g.Fa||g.src;g.qa&&this.Tc(g);e=!1!==l.call(r,c)&&e}}return e&&0!=c.Lc};
  d.Sd=function(a,b,c,e){return this.s.lb(String(a),b,c,e)};function Ub(a,b,c){if("function"==da(a))c&&(a=n(a,c));else if(a&&"function"==typeof a.handleEvent)a=n(a.handleEvent,a);else throw Error("Invalid listener argument");return 2147483647<Number(b)?-1:h.setTimeout(a,b||0)};function Vb(a){return/^\s*$/.test(a)?!1:/^[\],:{}\s\u2028\u2029]*$/.test(a.replace(/\\["\\\/bfnrtu]/g,"@").replace(/(?:"[^"\\\n\r\u2028\u2029\x00-\x08\x0a-\x1f]*"|true|false|null|-?\d+(?:\.\d*)?(?:[eE][+\-]?\d+)?)[\s\u2028\u2029]*(?=:|,|]|}|$)/g,"]").replace(/(?:^|:|,)(?:[\s\u2028\u2029]*\[)+/g,""))}function Wb(a){a=String(a);if(Vb(a))try{return eval("("+a+")")}catch(b){}throw Error("Invalid JSON string: "+a);};function Xb(a,b,c){this.reset(a,b,c,void 0,void 0)}Xb.prototype.a=null;var Yb=0;Xb.prototype.reset=function(a,b,c,e,f){"number"==typeof f||Yb++;e||ma();delete this.a};Xb.prototype.b=function(a){this.a=a};function Zb(a){this.s=a;this.m=this.b=this.h=this.a=null}function $b(a,b){this.name=a;this.value=b}$b.prototype.toString=function(){return this.name};var ac=new $b("SEVERE",1E3),bc=new $b("CONFIG",700),cc=new $b("FINE",500);d=Zb.prototype;d.getName=function(){return this.s};d.sd=function(){this.b||(this.b={});return this.b};d.Pd=function(){this.h=bc};d.Sb=function(){if(this.h)return this.h;if(this.a)return this.a.Sb();v("Root logger has no level set.");return null};
  d.xe=function(a){return a.value>=this.Sb().value};d.log=function(a,b,c){this.xe(a)&&("function"==da(b)&&(b=b()),this.ld(this.Cd(a,b,c)))};d.Cd=function(a,b,c){a=new Xb(a,String(b),this.s);c&&a.b(c);return a};d.Qc=function(a){this.log(ac,a,void 0)};d.nd=function(a){this.log(cc,a,void 0)};d.ld=function(a){for(var b=this;b;)b.gd(a),b=b.a};d.gd=function(a){if(this.m)for(var b=0,c;c=this.m[b];b++)c(a)};d.ki=function(a){this.a=a};d.Yc=function(a,b){this.sd()[a]=b};var dc={},ec=null;
  function fc(a){ec||(ec=new Zb(""),dc[""]=ec,ec.Pd());var b;if(!(b=dc[a])){b=new Zb(a);var c=a.lastIndexOf("."),e=a.substr(c+1);c=fc(a.substr(0,c));c.Yc(e,b);b.ki(c);dc[a]=b}return b};function y(a,b){a&&a.nd(b)};function gc(a){switch(a){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"}};function hc(){}hc.prototype.a=null;hc.prototype.h=function(){return this.a||(this.a=this.c())};var ic;function jc(){}q(jc,hc);jc.prototype.b=function(){var a=this.m();return a?new ActiveXObject(a):new XMLHttpRequest};jc.prototype.c=function(){var a={};this.m()&&(a[0]=!0,a[1]=!0);return a};
  jc.prototype.m=function(){if(!this.s&&"undefined"==typeof XMLHttpRequest&&"undefined"!=typeof ActiveXObject){for(var a=["MSXML2.XMLHTTP.6.0","MSXML2.XMLHTTP.3.0","MSXML2.XMLHTTP","Microsoft.XMLHTTP"],b=0;b<a.length;b++){var c=a[b];try{return new ActiveXObject(c),this.s=c}catch(e){}}throw Error("Could not create ActiveXObject. ActiveX might be disabled, or MSXML might not be installed");}return this.s};ic=new jc;function kc(a){if(a.P&&"function"==typeof a.P)return a.P();if(m(a))return a.split("");if(fa(a)){for(var b=[],c=a.length,e=0;e<c;e++)b.push(a[e]);return b}return Fa(a)}
  function lc(a,b){if(a.forEach&&"function"==typeof a.forEach)a.forEach(b,void 0);else if(fa(a)||m(a))ta(a,b,void 0);else{if(a.U&&"function"==typeof a.U)var c=a.U();else if(a.P&&"function"==typeof a.P)c=void 0;else if(fa(a)||m(a)){c=[];for(var e=a.length,f=0;f<e;f++)c.push(f)}else c=Ga(a);e=kc(a);f=e.length;for(var g=0;g<f;g++)b.call(void 0,e[g],c&&c[g],a)}};function mc(a,b){this.b={};this.a=[];this.h=0;var c=arguments.length;if(1<c){if(c%2)throw Error("Uneven number of arguments");for(var e=0;e<c;e+=2)this.set(arguments[e],arguments[e+1])}else a&&this.mb(a)}d=mc.prototype;d.P=function(){this.sa();for(var a=[],b=0;b<this.a.length;b++)a.push(this.b[this.a[b]]);return a};d.U=function(){this.sa();return this.a.concat()};d.fe=function(){return nc(this.b,"deadline")};d.nb=function(){this.b={};this.h=this.a.length=0};
  d.Ca=function(a){return nc(this.b,a)?(delete this.b[a],this.h--,this.a.length>2*this.h&&this.sa(),!0):!1};d.sa=function(){if(this.h!=this.a.length){for(var a=0,b=0;a<this.a.length;){var c=this.a[a];nc(this.b,c)&&(this.a[b++]=c);a++}this.a.length=b}if(this.h!=this.a.length){var e={};for(b=a=0;a<this.a.length;)c=this.a[a],nc(e,c)||(this.a[b++]=c,e[c]=1),a++;this.a.length=b}};d.get=function(a,b){return nc(this.b,a)?this.b[a]:b};d.set=function(a,b){nc(this.b,a)||(this.h++,this.a.push(a));this.b[a]=b};
  d.mb=function(a){if(a instanceof mc)for(var b=a.U(),c=0;c<b.length;c++)this.set(b[c],a.get(b[c]));else for(b in a)this.set(b,a[b])};d.forEach=function(a,b){for(var c=this.U(),e=0;e<c.length;e++){var f=c[e],g=this.get(f);a.call(b,g,f,this)}};d.ee=function(){return new mc(this)};d.kc=function(){this.sa();for(var a={},b=0;b<this.a.length;b++){var c=this.a[b];a[c]=this.b[c]}return a};function nc(a,b){return Object.prototype.hasOwnProperty.call(a,b)};var oc=/^(?:([^:/?#.]+):)?(?:\/\/(?:([^/?#]*)@)?([^/#?]*?)(?::([0-9]+))?(?=[/#?]|$))?([^?#]+)?(?:\?([^#]*))?(?:#([\s\S]*))?$/;function pc(a){Tb.call(this);this.headers=new mc;this.na=a||null;this.m=!1;this.ma=this.a=null;this.Eb=this.Ma="";this.h=0;this.c="";this.f=this.Ra=this.Ka=this.Qa=!1;this.F=0;this.Na=null;this.u=qc;this.la=this.Wc=this.aa=!1}q(pc,Tb);var qc="",rc=pc.prototype,sc=fc("goog.net.XhrIo");rc.b=sc;var tc=/^https?$/i,uc=["POST","PUT"];d=pc.prototype;d.Zd=function(a){this.F=Math.max(0,a)};d.Ab=function(a){this.u=a};d.cc=function(){return this.u};d.Pc=function(a){this.aa=a};d.hc=function(){return this.aa};
  d.Ba=function(a,b,c,e){if(this.a)throw Error("[goog.net.XhrIo] Object is active with another request="+this.Ma+"; newUri="+a);b=b?b.toUpperCase():"GET";this.Ma=a;this.c="";this.h=0;this.Eb=b;this.Qa=!1;this.m=!0;this.a=this.jd();this.ma=this.na?this.na.h():ic.h();this.a.onreadystatechange=n(this.xc,this);this.Wc&&"onprogress"in this.a&&(this.a.onprogress=n(function(a){this.vc(a,!0)},this),this.a.upload&&(this.a.upload.onprogress=n(this.vc,this)));try{y(this.b,this.S("Opening Xhr")),this.Ra=!0,this.a.open(b,
  String(a),!0),this.Ra=!1}catch(g){y(this.b,this.S("Error opening Xhr: "+g.message));this.jc(g);return}a=c||"";var f=this.headers.ee();e&&lc(e,function(a,b){f.set(b,a)});e=ua(f.U());c=h.FormData&&a instanceof h.FormData;!(0<=sa(uc,b))||e||c||f.set("Content-Type","application/x-www-form-urlencoded;charset=utf-8");f.forEach(function(a,b){this.a.setRequestHeader(b,a)},this);this.u&&(this.a.responseType=this.u);"withCredentials"in this.a&&this.a.withCredentials!==this.aa&&(this.a.withCredentials=this.aa);
  try{this.Hb(),0<this.F&&(this.la=vc(this.a),y(this.b,this.S("Will abort after "+this.F+"ms if incomplete, xhr2 "+this.la)),this.la?(this.a.timeout=this.F,this.a.ontimeout=n(this.Sc,this)):this.Na=Ub(this.Sc,this.F,this)),y(this.b,this.S("Sending request")),this.Ka=!0,this.a.send(a),this.Ka=!1}catch(g){y(this.b,this.S("Send error: "+g.message)),this.jc(g)}};function vc(a){return Ra&&jb(9)&&"number"==typeof a.timeout&&k(a.ontimeout)}function va(a){return"content-type"==a.toLowerCase()}
  d.jd=function(){return this.na?this.na.b():ic.b()};d.Sc=function(){"undefined"!=typeof aa&&this.a&&(this.c="Timed out after "+this.F+"ms, aborting",this.h=8,y(this.b,this.S(this.c)),this.D("timeout"),this.abort(8))};d.jc=function(a){this.m=!1;this.a&&(this.f=!0,this.a.abort(),this.f=!1);this.c=a;this.h=5;this.Kb();this.ra()};d.Kb=function(){this.Qa||(this.Qa=!0,this.D("complete"),this.D("error"))};
  d.abort=function(a){this.a&&this.m&&(y(this.b,this.S("Aborting")),this.m=!1,this.f=!0,this.a.abort(),this.f=!1,this.h=a||7,this.D("complete"),this.D("abort"),this.ra())};d.J=function(){this.a&&(this.m&&(this.m=!1,this.f=!0,this.a.abort(),this.f=!1),this.ra(!0));pc.R.J.call(this)};d.xc=function(){this.i||(this.Ra||this.Ka||this.f?this.wc():this.Re())};d.Re=function(){this.wc()};
  d.wc=function(){if(this.m&&"undefined"!=typeof aa)if(this.ma[1]&&4==this.ca()&&2==this.O())y(this.b,this.S("Local request error detected and ignored"));else if(this.Ka&&4==this.ca())Ub(this.xc,0,this);else if(this.D("readystatechange"),this.qb()){y(this.b,this.S("Request complete"));this.m=!1;try{this.oc()?(this.D("complete"),this.D("success")):(this.h=6,this.c=this.Md()+" ["+this.O()+"]",this.Kb())}finally{this.ra()}}};
  d.vc=function(a,b){this.D(wc(a,"progress"));this.D(wc(a,b?"downloadprogress":"uploadprogress"))};function wc(a,b){return{type:b,lengthComputable:a.lengthComputable,loaded:a.loaded,total:a.total}}d.ra=function(a){if(this.a){this.Hb();var b=this.a,c=this.ma[0]?ca:null;this.ma=this.a=null;a||this.D("ready");try{b.onreadystatechange=c}catch(e){(a=this.b)&&a.Qc("Problem encountered resetting onreadystatechange: "+e.message)}}};
  d.Hb=function(){this.a&&this.la&&(this.a.ontimeout=null);this.Na&&(h.clearTimeout(this.Na),this.Na=null)};d.ue=function(){return!!this.a};d.qb=function(){return 4==this.ca()};d.oc=function(){var a=this.O();a:switch(a){case 200:case 201:case 202:case 204:case 206:case 304:case 1223:var b=!0;break a;default:b=!1}return b||0===a&&!this.we()};
  d.we=function(){var a=String(this.Ma).match(oc)[1]||null;!a&&h.self&&h.self.location&&(a=h.self.location.protocol,a=a.substr(0,a.length-1));return tc.test(a?a.toLowerCase():"")};d.ca=function(){return this.a?this.a.readyState:0};d.O=function(){try{return 2<this.ca()?this.a.status:-1}catch(a){return-1}};d.Md=function(){try{return 2<this.ca()?this.a.statusText:""}catch(a){return y(this.b,"Can not get status: "+a.message),""}};
  d.bc=function(){try{return this.a?this.a.responseText:""}catch(a){return y(this.b,"Can not get responseText: "+a.message),""}};d.ac=function(){if(this.a){a:{var a=this.a.responseText;if(h.JSON)try{var b=h.JSON.parse(a);break a}catch(c){}b=Wb(a)}return b}};
  d.Jd=function(){try{if(!this.a)return null;if("response"in this.a)return this.a.response;switch(this.u){case qc:case "text":return this.a.responseText;case "arraybuffer":if("mozResponseArrayBuffer"in this.a)return this.a.mozResponseArrayBuffer}var a=this.b;a&&a.Qc("Response type "+this.u+" is not supported on this browser");return null}catch(b){return y(this.b,"Can not get response: "+b.message),null}};
  d.getResponseHeader=function(a){if(this.a&&this.qb())return a=this.a.getResponseHeader(a),null===a?void 0:a};d.Yd=function(){return this.a&&this.qb()?this.a.getAllResponseHeaders()||"":""};d.Kd=function(){for(var a={},b=this.Yd().split("\r\n"),c=0;c<b.length;c++)if(!/^[\s\xa0]*$/.test(b[c])){var e=La(b[c]),f=e[0];e=e[1];if(m(e)){e=e.trim();var g=a[f]||[];a[f]=g;g.push(e)}}return Ea(a,function(a){return a.join(", ")})};d.ib=function(a){return this.a?this.a.getResponseHeader(a):null};
  d.Wb=function(){return m(this.c)?this.c:String(this.c)};d.S=function(a){return a+" ["+this.Eb+" "+this.Ma+" "+this.O()+"]"};function xc(a){t("Unable to report error: not initialized.",a)}p("stackdriver.protect",function(a){return function(){try{return a.bind(arguments[0]).apply(Array.from(arguments).slice(1))}catch(b){xc(b),t(b)}}});p("bloombox.rpc.FALLBACK",!0);function yc(a){this.message=a}p("bloombox.rpc.RPCException",yc);function zc(a){let b={"x-api-agent":"Bloombox RPC Client v2 (JS SDK)"};a&&a.key&&(b["X-API-Key"]=a.key);return Object.assign({},b,void 0)}var Ac=class{constructor(a){this.scope=a||null}};
  function Bc(a){if(a&&a.scope){var b=a.scope.split("/");if(4!==b.length)throw new yc("Invalid scope override.");a=b[1];b=b[3]}else b=u,a=b.ea,b=b.location;if(!a||!b)throw new yc("Failed to resolve scope. Please run bloombox.setup before calling methods.");return{ea:a,location:b}}yc.prototype.toString=function(){return"RPCException: "+this.message};
  function Cc(a){let b=u.key;if(!b)throw new yc("Must call bloombox.setup before sending an RPC.");this.m="GET";this.s=null;this.b=a;this.a=null;this.done=!1;this.C=new pc;this.h=b;this.i=!1;this.headers={Accept:"application/json,*/*"};!0===window.__debug__&&(this.headers["X-Bloom-Debug"]="debug")}
  Cc.prototype.c=function(a,b){return function(c){if(c&&!1===this.done){this.done=!0;c=this.C.getResponseHeader("Content-Type");var e=this.C.getResponseHeader("Content-Length");try{var f=this.C.ac();let g=this.C.O();if(200===g||201===g||202===g||204===g)f||e&&0!==parseInt(e,10)?"application/json"===c||c.startsWith("application/json")?a(f):(t("Server indicated unrecognized content type:",c),b(null,f,g,f?f.message:null)):(na("Response returned for RPC was empty or invalid.",this),a(null));else{f=null;
  try{f=this.C.ac()}catch(r){t("Unable to parse error state JSON, with  status "+g+". Encountered: "+r.toString(),{xhr:this.C,status:g,response:f,error:r}),f=null}e=c=null;null!==f?(c=f.code,e=f.message,t("Failed to resolve RPC: unrecognized  status "+g,{xhr:this.C,status:g,response:f,code:c,message:e})):t("Failed to resolve RPC: unrecognized  status "+g+". Additionally, failed to parse response JSON.",{xhr:this.C,status:g,response:f});let a=Error('RPC Error: "'+this.m+" "+this.b+'"\nStatus: '+g.toString()+
  "\nError code: "+c+"\nError reason: "+e+"\nXHR Failure code: "+this.C.h+"\nXHR Failure reason: "+this.C.Wb()+"\nKey: "+this.h);a.code=g||this.C.h||-1;xc(a);b(g,a,c,e)}this.i||(this.C=null)}catch(g){g instanceof Error&&-1!==g.message.toLowerCase().indexOf("invalid json")&&(g.code=this.C.h||-1,g.message="RPC failed with error '"+(g.name||"UNKNOWN")+"'.\nEndpoint: "+this.b+"\nFailure code: "+this.C.h+"\nFailure reason: "+this.C.Wb()+'\nResponse: "'+this.C.bc()+'".',t("Failed to resolve RPC.",{xhr:this.C,
  error:g}),xc(g),b(null,g))}}}.bind(this)};Cc.prototype.f=function(a,b){Gb(this.C,"complete",this.c(a.bind(this),b.bind(this)));a=[this.b,["key",this.h].join("=")].join("?");b=null!==this.a?JSON.stringify(this.a):null;var c={};this.s&&(c["X-Bloom-Trace"]=this.s);!0===window.__debug__&&(this.headers["X-Bloom-Debug"]="debug");c=Object.assign({},this.headers,c);this.C.Ba(a,this.m,b,c)};var Dc=Ja(),Ec=w("Android")&&!(Ka()||Ja()||w("Opera")||w("Silk")),Fc=Ka(),Gc=w("Safari")&&!(Ka()||w("Coast")||w("Opera")||w("Edge")||Ja()||w("Silk")||w("Android"))&&!(Ma()||w("iPad")||w("iPod"));var Hc=null,Ic=null,Jc=null,Kc=Ua||Va&&!Gc||Qa||"function"==typeof h.btoa;function Lc(a,b){Mc();b=b?Jc:Hc;for(var c=[],e=0;e<a.length;e+=3){var f=a[e],g=e+1<a.length,l=g?a[e+1]:0,r=e+2<a.length,A=r?a[e+2]:0,x=f>>2;f=(f&3)<<4|l>>4;l=(l&15)<<2|A>>6;A&=63;r||(A=64,g||(l=64));c.push(b[x],b[f],b[l],b[A])}return c.join("")}function Nc(a){var b=a.length,c=0;"="===a[b-2]?c=2:"="===a[b-1]&&(c=1);var e=new Uint8Array(Math.ceil(3*b/4)-c),f=0;Oc(a,function(a){e[f++]=a});return e.subarray(0,f)}
  function Oc(a,b){function c(b){for(;e<a.length;){var c=a.charAt(e++),f=Ic[c];if(null!=f)return f;if(!/^[\s\xa0]*$/.test(c))throw Error("Unknown base64 encoding at char: "+c);}return b}Mc();for(var e=0;;){var f=c(-1),g=c(0),l=c(64),r=c(64);if(64===r&&-1===f)break;b(f<<2|g>>4);64!=l&&(b(g<<4&240|l>>2),64!=r&&b(l<<6&192|r))}}
  function Mc(){if(!Hc){Hc={};Ic={};Jc={};for(var a=0;65>a;a++)Hc[a]="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=".charAt(a),Ic[Hc[a]]=a,Jc[a]="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-_.".charAt(a),62<=a&&(Ic["ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-_.".charAt(a)]=a)}};var Pc=0,Qc=0;function Rc(a){if(a.constructor===Uint8Array)return a;if(a.constructor===ArrayBuffer)return new Uint8Array(a);if("undefined"!=typeof Buffer&&a.constructor===Buffer)return new Uint8Array(a);if(a.constructor===Array)return new Uint8Array(a);if(a.constructor===String)return Nc(a);v("Type not convertible to Uint8Array.");return new Uint8Array(0)};function Sc(a){this.b=null;this.m=this.s=this.a=this.h=this.c=0;this.f=!1;a&&this.pc(a)}var Tc=[];d=Sc.prototype;d.pc=function(a){this.b=Rc(a);this.c=k(void 0)?void 0:0;this.h=k(void 0)?this.c+NaN:this.b.length;this.a=this.c};d.qc=function(a){this.h=a};d.reset=function(){this.a=this.c};d.Gh=function(a){this.a=a};d.rb=function(a){this.a+=a};d.fd=function(){return this.a==this.h};d.ye=function(){return this.f||0>this.a||this.a>this.h};
  d.Gc=function(){for(var a,b=0,c,e=0;4>e;e++)if(a=this.b[this.a++],b|=(a&127)<<7*e,128>a){this.s=b>>>0;this.m=0;return}a=this.b[this.a++];b|=(a&127)<<28;c=0|(a&127)>>4;if(128>a)this.s=b>>>0,this.m=c>>>0;else{for(e=0;5>e;e++)if(a=this.b[this.a++],c|=(a&127)<<7*e+3,128>a){this.s=b>>>0;this.m=c>>>0;return}v("Failed to read varint, encoding is invalid.");this.f=!0}};d.Ui=function(){for(;this.b[this.a]&128;)this.a++;this.a++};
  d.T=function(){var a=this.b;var b=a[this.a];var c=b&127;if(128>b)return this.a+=1,c;b=a[this.a+1];c|=(b&127)<<7;if(128>b)return this.a+=2,c;b=a[this.a+2];c|=(b&127)<<14;if(128>b)return this.a+=3,c;b=a[this.a+3];c|=(b&127)<<21;if(128>b)return this.a+=4,c;b=a[this.a+4];c|=(b&15)<<28;if(128>b)return this.a+=5,c>>>0;this.a+=5;128<=a[this.a++]&&128<=a[this.a++]&&128<=a[this.a++]&&128<=a[this.a++]&&this.a++;return c};d.Fc=Sc.prototype.T;d.gh=function(){this.Gc();return 4294967296*this.m+this.s};
  d.fh=function(){this.Gc();var a=this.s,b=this.m,c=b&2147483648;c&&(a=~a+1>>>0,b=~b>>>0,0==a&&(b=b+1>>>0));a=4294967296*b+a;return c?-a:a};d.sb=function(){var a=this.b[this.a],b=this.b[this.a+1],c=this.b[this.a+2],e=this.b[this.a+3];this.a+=4;return(a<<0|b<<8|c<<16|e<<24)>>>0};d.Ce=function(){var a=this.sb(),b=2*(a>>31)+1,c=a>>>23&255;a&=8388607;return 255==c?a?NaN:Infinity*b:0==c?b*Math.pow(2,-149)*a:b*Math.pow(2,c-150)*(a+Math.pow(2,23))};
  d.Ae=function(){var a=this.sb(),b=this.sb(),c=2*(b>>31)+1,e=b>>>20&2047;a=4294967296*(b&1048575)+a;return 2047==e?a?NaN:Infinity*c:0==e?c*Math.pow(2,-1074)*a:c*Math.pow(2,e-1075)*(a+4503599627370496)};d.Be=function(){return this.Fc()};
  d.De=function(a){var b=this.b,c=this.a,e=c+a,f=[];for(a="";c<e;){var g=b[c++];if(128>g)f.push(g);else if(192>g)continue;else if(224>g){var l=b[c++];f.push((g&31)<<6|l&63)}else if(240>g){l=b[c++];var r=b[c++];f.push((g&15)<<12|(l&63)<<6|r&63)}else if(248>g){l=b[c++];r=b[c++];var A=b[c++];g=(g&7)<<18|(l&63)<<12|(r&63)<<6|A&63;g-=65536;f.push((g>>10&1023)+55296,(g&1023)+56320)}8192<=f.length&&(a+=String.fromCharCode.apply(null,f),f.length=0)}if(8192>=f.length)f=String.fromCharCode.apply(null,f);else{b=
  "";for(e=0;e<f.length;e+=8192)b+=String.fromCharCode.apply(null,xa(f,e,e+8192));f=b}this.a=c;return a+f};d.ze=function(a){if(0>a||this.a+a>this.b.length)return this.f=!0,v("Invalid byte length!"),new Uint8Array(0);var b=this.b.subarray(this.a,this.a+a);this.a+=a;return b};function Uc(a){if(Tc.length){var b=Tc.pop();a&&b.pc(a);a=b}else a=new Sc(a);this.b=a;this.s=this.b.a;this.h=this.a=-1;this.m=!1}d=Uc.prototype;d.o=function(){return 4==this.h};d.He=function(){return this.m||this.b.ye()};d.reset=function(){this.b.reset();this.h=this.a=-1};
  d.l=function(){if(this.b.fd())return!1;if(this.He())return v("Decoder hit an error"),!1;this.s=this.b.a;var a=this.b.T(),b=a>>>3;a&=7;if(0!=a&&5!=a&&1!=a&&2!=a&&3!=a&&4!=a)return v("Invalid wire type: %s (at position %s)",a,this.s),this.m=!0,!1;this.a=b;this.h=a;return!0};d.Vi=function(){0!=this.h?(v("Invalid wire type for skipVarintField"),this.j()):this.b.Ui()};d.Qi=function(){if(2!=this.h)v("Invalid wire type for skipDelimitedField"),this.j();else{var a=this.b.T();this.b.rb(a)}};
  d.Ri=function(){5!=this.h?(v("Invalid wire type for skipFixed32Field"),this.j()):this.b.rb(4)};d.Si=function(){1!=this.h?(v("Invalid wire type for skipFixed64Field"),this.j()):this.b.rb(8)};d.Ti=function(){var a=this.a;do{if(!this.l()){v("Unmatched start-group tag: stream EOF");this.m=!0;break}if(4==this.h){this.a!=a&&(v("Unmatched end-group tag"),this.m=!0);break}this.j()}while(1)};
  d.j=function(){switch(this.h){case 0:this.Vi();break;case 1:this.Si();break;case 2:this.Qi();break;case 5:this.Ri();break;case 3:this.Ti();break;default:v("Invalid wire encoding for field.")}};d.g=function(a,b){var c=this.b.h,e=this.b.T();e=this.b.a+e;this.b.qc(e);b(a,this);this.b.Gh(e);this.b.qc(c)};d.uc=function(){return this.b.Fc()};d.ja=function(){return this.b.T()};d.K=function(){return this.b.gh()};d.tc=function(){return this.b.Ce()};d.Ga=function(){return this.b.Ae()};d.H=function(){return!!this.b.T()};
  d.v=function(){return this.b.fh()};d.A=function(){var a=this.b.T();return this.b.De(a)};d.sc=function(){var a=this.b.T();return this.b.ze(a)};d.eh=function(a){var b=this.b.T();b=this.b.a+b;for(var c=[];this.b.a<b;)c.push(a.call(this.b));return c};d.I=function(){return this.eh(this.b.Be)};function Vc(){this.a=[]}d=Vc.prototype;d.length=function(){return this.a.length};d.end=function(){var a=this.a;this.a=[];return a};d.$i=function(){for(var a=Pc,b=Qc;0<b||127<a;)this.a.push(a&127|128),a=(a>>>7|b<<25)>>>0,b>>>=7;this.a.push(a)};d.Cb=function(a){for(;127<a;)this.a.push(a&127|128),a>>>=7;this.a.push(a)};d.Zi=function(a){if(0<=a)this.Cb(a);else{for(var b=0;9>b;b++)this.a.push(a&127|128),a>>=7;this.a.push(1)}};
  d.bj=function(a){var b=a;a=0>b;b=Math.abs(b);var c=b>>>0;b=Math.floor((b-c)/4294967296);b>>>=0;a&&(b=~b>>>0,c=(~c>>>0)+1,4294967295<c&&(c=0,b++,4294967295<b&&(b=0)));Pc=c;Qc=b;this.$i()};d.rc=function(a){this.a.push(a>>>0&255);this.a.push(a>>>8&255);this.a.push(a>>>16&255);this.a.push(a>>>24&255)};
  d.Fe=function(a){var b=a;b=(a=0>b?1:0)?-b:b;if(0===b)Qc=0<1/b?0:2147483648,Pc=0;else if(isNaN(b))Qc=2147483647,Pc=4294967295;else if(1.7976931348623157E308<b)Qc=(a<<31|2146435072)>>>0,Pc=0;else if(2.2250738585072014E-308>b)b/=Math.pow(2,-1074),Qc=(a<<31|b/4294967296)>>>0,Pc=b>>>0;else{var c=Math.floor(Math.log(b)/Math.LN2);1024==c&&(c=1023);b*=Math.pow(2,-c);Qc=(a<<31|c+1023<<20|1048576*b&1048575)>>>0;Pc=4503599627370496*b>>>0}this.rc(Pc);this.rc(Qc)};d.Ee=function(a){this.a.push(a?1:0)};
  d.Ge=function(a){for(var b=0;b<a.length;b++){var c=a.charCodeAt(b);if(128>c)this.a.push(c);else if(2048>c)this.a.push(c>>6|192),this.a.push(c&63|128);else if(65536>c)if(55296<=c&&56319>=c&&b+1<a.length){var e=a.charCodeAt(b+1);56320<=e&&57343>=e&&(c=1024*(c-55296)+e-56320+65536,this.a.push(c>>18|240),this.a.push(c>>12&63|128),this.a.push(c>>6&63|128),this.a.push(c&63|128),b++)}else this.a.push(c>>12|224),this.a.push(c>>6&63|128),this.a.push(c&63|128)}};function Wc(){this.h=[];this.b=0;this.a=new Vc}d=Wc.prototype;d.Ua=function(a){this.ia(a,2);a=this.a.end();this.h.push(a);this.b+=a.length;a.push(this.b);return a};d.Xa=function(a){var b=a.pop();for(b=this.b+this.a.length()-b;127<b;)a.push(b&127|128),b>>>=7,this.b++;a.push(b);this.b++};d.reset=function(){this.h=[];this.a.end();this.b=0};
  d.dc=function(){for(var a=new Uint8Array(this.b+this.a.length()),b=this.h,c=b.length,e=0,f=0;f<c;f++){var g=b[f];a.set(g,e);e+=g.length}b=this.a.end();a.set(b,e);this.h=[a];return a};d.ia=function(a,b){this.a.Cb(8*a+b)};d.aj=function(a,b){null!=b&&(this.ia(a,0),this.a.Cb(b))};d.cj=function(a){null!=a&&(this.ia(2,0),this.a.bj(a))};d.V=function(a,b){null!=b&&this.aj(a,b)};d.Ie=function(a){null!=a&&this.cj(a)};d.tb=function(a,b){null!=b&&(this.ia(a,1),this.a.Fe(b))};
  d.da=function(a,b){null!=b&&(this.ia(a,0),this.a.Ee(b))};d.N=function(a,b){null!=b&&(this.ia(a,0),this.a.Zi(b))};d.w=function(a,b){null!=b&&(a=this.Ua(a),this.a.Ge(b),this.Xa(a))};d.B=function(a,b,c){null!=b&&(a=this.Ua(a),c(b,this),this.Xa(a))};d.Yi=function(a){var b=Xc;if(null!=a)for(var c=0;c<a.length;c++){var e=this.Ua(7);b(a[c],this);this.Xa(e)}};function Yc(a,b){this.b=a;this.h=b;this.a={};this.m=!0;0<this.b.length&&this.s()}Yc.prototype.s=function(){for(var a=0;a<this.b.length;a++){var b=this.b[a],c=b[0];this.a[c.toString()]=new Zc(c,b[1])}this.m=!0};Yc.prototype.M=function(){if(this.m){if(this.h){var a=this.a,b;for(b in a)if(Object.prototype.hasOwnProperty.call(a,b)){var c=a[b].a;c&&c.M()}}}else{this.b.length=0;a=this.ka();a.sort();for(b=0;b<a.length;b++){var e=this.a[a[b]];(c=e.a)&&c.M();this.b.push([e.key,e.value])}this.m=!0}return this.b};
  function $c(a){this.a=0;this.b=a}$c.prototype.next=function(){return this.a<this.b.length?{done:!1,value:this.b[this.a++]}:{done:!0,value:void 0}};"undefined"!=typeof Symbol&&($c.prototype[Symbol.iterator]=function(){return this});d=Yc.prototype;d.entries=function(){var a=[],b=this.ka();b.sort();for(var c=0;c<b.length;c++){var e=this.a[b[c]];a.push([e.key,this.Oa(e)])}return new $c(a)};d.keys=function(){var a=[],b=this.ka();b.sort();for(var c=0;c<b.length;c++)a.push(this.a[b[c]].key);return new $c(a)};
  d.values=function(){var a=[],b=this.ka();b.sort();for(var c=0;c<b.length;c++)a.push(this.Oa(this.a[b[c]]));return new $c(a)};d.forEach=function(a,b){var c=this.ka();c.sort();for(var e=0;e<c.length;e++){var f=this.a[c[e]];a.call(b,this.Oa(f),f.key,this)}};d.set=function(a,b){var c=new Zc(a);this.h?(c.a=b,c.value=b.M()):c.value=b;this.a[a.toString()]=c;this.m=!1;return this};d.Oa=function(a){return this.h?(a.a||(a.a=new this.h(a.value)),a.a):a.value};d.get=function(a){if(a=this.a[a.toString()])return this.Oa(a)};
  d.has=function(a){return a.toString()in this.a};function z(a,b,c){for(var e=Uc.prototype.A,f=Uc.prototype.g,g="",l=void 0;b.l()&&!b.o();){var r=b.a;1==r?g=e.call(b):2==r&&(a.h?(l=new a.h,f.call(b,l,c)):l=f.call(b))}a.set(g,l)}d.ka=function(){var a=this.a,b=[],c;for(c in a)Object.prototype.hasOwnProperty.call(a,c)&&b.push(c);return b};function Zc(a,b){this.key=a;this.value=b;this.a=void 0};function B(){}var ad="function"==typeof Uint8Array;function C(a,b,c,e){a.a=null;b||(b=[]);a.aa=void 0;a.m=-1;a.b=b;a:{if(b=a.b.length){--b;var f=a.b[b];if(!(null===f||"object"!=typeof f||ea(f)||ad&&f instanceof Uint8Array)){a.s=b-a.m;a.h=f;break a}}a.s=Number.MAX_VALUE}a.Z={};if(c)for(b=0;b<c.length;b++)f=c[b],f<a.s?(f+=a.m,a.b[f]=a.b[f]||bd):(cd(a),a.h[f]=a.h[f]||bd);if(e&&e.length)for(b=0;b<e.length;b++)dd(a,e[b])}var bd=Object.freeze?Object.freeze([]):[];
  function cd(a){var b=a.s+a.m;a.b[b]||(a.h=a.b[b]={})}function D(a,b){if(b<a.s){b+=a.m;var c=a.b[b];return c===bd?a.b[b]=[]:c}if(a.h)return c=a.h[b],c===bd?a.h[b]=[]:c}function ed(a,b){if(b<a.s){b+=a.m;var c=a.b[b];return c===bd?a.b[b]=[]:c}c=a.h[b];return c===bd?a.h[b]=[]:c}function E(a,b,c){a=D(a,b);return null==a?c:a}function F(a,b,c){a.a||(a.a={});if(b in a.a)return a.a[b];var e=D(a,b);e||(e=[],G(a,b,e));return a.a[b]=new Yc(e,c)}function G(a,b,c){b<a.s?a.b[b+a.m]=c:(cd(a),a.h[b]=c)}
  function H(a,b,c){I(a,b,c,0)}function J(a,b,c){I(a,b,c,"")}function K(a,b,c){I(a,b,c,0)}function I(a,b,c,e){c!==e?G(a,b,c):a.b[b+a.m]=null}function L(a,b,c,e){(c=dd(a,c))&&c!==b&&void 0!==e&&(a.a&&c in a.a&&(a.a[c]=void 0),G(a,c,void 0));G(a,b,e)}function dd(a,b){for(var c,e,f=0;f<b.length;f++){var g=b[f],l=D(a,g);null!=l&&(c=g,e=l,G(a,g,void 0))}return c?(G(a,c,e),c):0}function M(a,b,c){a.a||(a.a={});if(!a.a[c]){var e=D(a,c);e&&(a.a[c]=new b(e))}return a.a[c]}
  function fd(a,b,c){a.a||(a.a={});if(!a.a[c]){for(var e=ed(a,c),f=[],g=0;g<e.length;g++)f[g]=new b(e[g]);a.a[c]=f}}function N(a,b,c){a.a||(a.a={});var e=c?c.M():c;a.a[b]=c;G(a,b,e)}function O(a,b,c,e){a.a||(a.a={});var f=e?e.M():e;a.a[b]=e;L(a,b,c,f)}function P(a,b,c,e){fd(a,e,b);var f=a.a[b];f||(f=a.a[b]=[]);c=c?c:new e;a=ed(a,b);f.push(c);a.push(c.M())}B.prototype.F=function(){if(this.a)for(var a in this.a){var b=this.a[a];if(ea(b))for(var c=0;c<b.length;c++)b[c]&&b[c].M();else b&&b.M()}};
  B.prototype.M=function(){this.F();return this.b};B.prototype.toString=function(){this.F();return this.b.toString()};function gd(a){if(ea(a)){for(var b=Array(a.length),c=0;c<a.length;c++){var e=a[c];null!=e&&(b[c]="object"==typeof e?gd(e):e)}return b}if(ad&&a instanceof Uint8Array)return new Uint8Array(a);b={};for(c in a)e=a[c],null!=e&&(b[c]="object"==typeof e?gd(e):e);return b};function hd(a){C(this,a,null,null)}q(hd,B);function id(a){C(this,a,null,jd)}q(id,B);function kd(a){C(this,a,ld,null)}q(kd,B);hd.prototype.c=function(){return F(this,1,id)};var jd=[[1,2,3,4,5,6]];d=id.prototype;d.fi=function(){L(this,1,jd[0],0)};d.gi=function(a){L(this,2,jd[0],a)};d.xf=function(a){L(this,3,jd[0],a)};d.rh=function(a){L(this,4,jd[0],a)};d.Ci=function(a){O(this,5,jd[0],a)};d.ai=function(a){O(this,6,jd[0],a)};var ld=[1];kd.prototype.c=function(a){P(this,1,a,id)};
  function md(a){var b=new id;switch(da(a)){case "string":b.xf(a);break;case "number":b.gi(a);break;case "boolean":b.rh(a);break;case "null":b.fi();break;case "array":b.ai(nd(a));break;case "object":b.Ci(od(a));break;default:throw Error("Unexpected struct type.");}return b}function nd(a){for(var b=new kd,c=0;c<a.length;c++)b.c(md(a[c]));return b}function od(a){var b=new hd,c=b.c(),e;for(e in a)c.set(e,md(a[e]));return b};function pd(a){C(this,a,null,null)}q(pd,B);function qd(a,b){for(;b.l()&&!b.o();)switch(b.a){case 1:var c=b.K();a.u(c);break;case 2:c=b.K();a.i(c);break;case 3:c=b.K();a.c(c);break;case 4:c=b.K();a.f(c);break;default:b.j()}return a}pd.prototype.u=function(a){H(this,1,a)};pd.prototype.i=function(a){H(this,2,a)};pd.prototype.c=function(a){H(this,3,a)};pd.prototype.f=function(a){H(this,4,a)};function rd(a){C(this,a,null,null)}q(rd,B);
  function sd(a,b){for(;b.l()&&!b.o();)switch(b.a){case 1:var c=b.K();a.f(c);break;case 2:c=b.K();a.i(c);break;case 3:c=b.K();a.c(c);break;default:b.j()}return a}rd.prototype.f=function(a){H(this,1,a)};rd.prototype.i=function(a){H(this,2,a)};rd.prototype.c=function(a){H(this,3,a)};function td(a){C(this,a,null,null)}q(td,B);
  function ud(a,b){for(;b.l()&&!b.o();)switch(b.a){case 1:var c=b.K();a.c(c);break;case 2:c=b.K();a.i(c);break;case 3:c=b.K();a.u(c);break;case 4:c=b.K();a.f(c);break;default:b.j()}return a}td.prototype.c=function(a){H(this,1,a)};td.prototype.i=function(a){H(this,2,a)};td.prototype.u=function(a){H(this,3,a)};td.prototype.f=function(a){H(this,4,a)};function vd(a){C(this,a,null,wd)}q(vd,B);var wd=[[1,2,3,4,5]];
  function xd(a,b){for(;b.l()&&!b.o();)switch(b.a){case 1:var c=b.v();a.Cf(c);break;case 2:c=b.A();a.Bf(c);break;case 3:c=new pd;b.g(c,qd);a.vi(c);break;case 4:c=new rd;b.g(c,sd);a.Wh(c);break;case 5:c=new td;b.g(c,ud);a.yh(c);break;default:b.j()}return a}d=vd.prototype;d.Cf=function(a){L(this,1,wd[0],a)};d.Bf=function(a){L(this,2,wd[0],a)};d.vi=function(a){O(this,3,wd[0],a)};d.Wh=function(a){O(this,4,wd[0],a)};d.yh=function(a){O(this,5,wd[0],a)};function yd(a){C(this,a,zd,null)}q(yd,B);var zd=[4];
  function Ad(a,b){for(;b.l()&&!b.o();)switch(b.a){case 1:var c=new vd;b.g(c,xd);a.f(c);break;case 2:c=new vd;b.g(c,xd);a.u(c);break;case 3:c=new vd;b.g(c,xd);a.i(c);break;case 4:c=new vd;b.g(c,xd);a.c(c);break;default:b.j()}return a}yd.prototype.f=function(a){N(this,1,a)};yd.prototype.u=function(a){N(this,2,a)};yd.prototype.i=function(a){N(this,3,a)};yd.prototype.c=function(a){P(this,4,a,vd)};function Q(a){C(this,a,null,Bd)}q(Q,B);var Bd=[[1,2]];
  function R(a,b){for(;b.l()&&!b.o();)switch(b.a){case 1:var c=b.A();a.f(c);break;case 2:c=b.K();a.c(c);break;default:b.j()}return a}function Cd(a,b){var c=D(a,1);null!=c&&b.w(1,c);c=D(a,2);null!=c&&b.Ie(c)}Q.prototype.f=function(a){L(this,1,Bd[0],a)};Q.prototype.c=function(a){L(this,2,Bd[0],a)};function Dd(a){C(this,a,null,null)}q(Dd,B);function Ed(a,b){var c=a.c();0<c.length&&b.w(1,c);c=a.f();0<c.length&&b.w(2,c)}Dd.prototype.c=function(){return E(this,1,"")};Dd.prototype.i=function(a){J(this,1,a)};
  Dd.prototype.f=function(){return E(this,2,"")};function Fd(a){C(this,a,null,null)}q(Fd,B);Fd.prototype.c=function(){return E(this,1,"")};Fd.prototype.f=function(a){J(this,1,a)};function Gd(a){C(this,a,null,null)}q(Gd,B);Gd.prototype.f=function(){return M(this,Fd,1)};Gd.prototype.u=function(a){N(this,1,a)};Gd.prototype.c=function(){return E(this,2,"")};Gd.prototype.i=function(a){J(this,2,a)};function Hd(a){C(this,a,null,null)}q(Hd,B);Hd.prototype.f=function(a){N(this,1,a)};
  Hd.prototype.c=function(){return E(this,2,"")};Hd.prototype.i=function(a){J(this,2,a)};function Id(a){C(this,a,null,Jd)}q(Id,B);var Jd=[[2,3,4]];function Kd(a,b){for(;b.l()&&!b.o();)switch(b.a){case 1:var c=b.v();a.i(c);break;case 2:c=b.sc();a.f(c);break;case 3:c=b.A();a.c(c);break;case 4:c=b.A();a.u(c);break;default:b.j()}return a}Id.prototype.i=function(a){K(this,1,a)};Id.prototype.f=function(a){L(this,2,Jd[0],a)};Id.prototype.c=function(a){L(this,3,Jd[0],a)};
  Id.prototype.u=function(a){L(this,4,Jd[0],a)};function Ld(a){C(this,a,null,null)}q(Ld,B);function Md(a,b){var c;(c=a.c())&&b.da(1,c);c=a.f();null!=c&&b.B(2,c,Nd)}Ld.prototype.c=function(){return E(this,1,!1)};Ld.prototype.f=function(){return M(this,Od,2)};function Od(a){C(this,a,null,null)}q(Od,B);function Nd(a,b){var c=a.c();0!==c&&b.N(1,c);c=a.f();0!==c&&b.tb(3,c)}Od.prototype.c=function(){return E(this,1,0)};Od.prototype.f=function(){return+E(this,3,0)};function Pd(a){C(this,a,null,null)}
  q(Pd,B);function Qd(a,b){var c;(c=a.f())&&b.da(1,c);c=a.c();null!=c&&b.B(2,c,Md);c=a.i();0!==c&&b.N(3,c)}Pd.prototype.f=function(){return E(this,1,!1)};Pd.prototype.c=function(){return M(this,Ld,2)};Pd.prototype.i=function(){return E(this,3,0)};function Rd(a){C(this,a,null,null)}q(Rd,B);function Sd(a,b){var c=a.f();0!==c&&b.tb(1,c);c=a.i();0!==c&&b.tb(2,c);c=a.c();null!=c&&b.B(3,c,Qd);c=a.u();null!=c&&b.B(4,c,Qd)}Rd.prototype.f=function(){return+E(this,1,0)};
  Rd.prototype.i=function(){return+E(this,2,0)};Rd.prototype.c=function(){return M(this,Pd,3)};Rd.prototype.u=function(){return M(this,Pd,4)};function Td(a){C(this,a,null,null)}q(Td,B);function Ud(a,b){var c=a.bb();0<c.length&&b.w(1,c);c=a.hb();0<c.length&&b.w(2,c);c=a.$a();0<c.length&&b.w(3,c);c=a.getState();0<c.length&&b.w(4,c);c=a.kb();0<c.length&&b.w(5,c);c=a.Kf();0<c.length&&b.w(6,c)}d=Td.prototype;d.bb=function(){return E(this,1,"")};d.Ph=function(a){J(this,1,a)};
  d.hb=function(){return E(this,2,"")};d.yi=function(a){J(this,2,a)};d.$a=function(){return E(this,3,"")};d.wh=function(a){J(this,3,a)};d.getState=function(){return E(this,4,"")};d.Mf=function(a){J(this,4,a)};d.kb=function(){return E(this,5,"")};d.Pi=function(a){J(this,5,a)};d.Kf=function(){return E(this,6,"")};d.Lf=function(a){J(this,6,a)};function S(a){C(this,a,null,null)}q(S,B);
  function Vd(a,b){for(;b.l()&&!b.o();)switch(b.a){case 1:var c=b.A();a.u(c);break;case 2:c=b.A();a.i(c);break;default:b.j()}return a}function Wd(a,b){var c=a.f();0<c.length&&b.w(1,c);c=a.c();0<c.length&&b.w(2,c)}S.prototype.f=function(){return E(this,1,"")};S.prototype.u=function(a){J(this,1,a)};S.prototype.c=function(){return E(this,2,"")};S.prototype.i=function(a){J(this,2,a)};function Xd(a){C(this,a,null,null)}q(Xd,B);
  function Yd(a,b){var c=a.getName();null!=c&&b.B(1,c,Wd);c=a.Of();null!=c&&b.B(2,c,Ud);c=a.Hd();null!=c&&b.B(3,c,Sd);c=a.Nf();null!=c&&b.B(4,c,Md)}d=Xd.prototype;d.getName=function(){return M(this,S,1)};d.Of=function(){return M(this,Td,2)};d.Pf=function(a){N(this,2,a)};d.Hd=function(){return M(this,Rd,3)};d.Nf=function(){return M(this,Ld,4)};function Zd(a){C(this,a,null,null)}q(Zd,B);
  function Xc(a,b){var c=a.Tg();0<c.length&&b.w(1,c);c=a.Rg();0!==c&&b.V(2,c);c=a.Ed();0!==c&&b.V(3,c);c=a.Sg();null!=c&&b.B(4,c,Cd);c=a.Qg();null!=c&&b.B(5,c,Yd);c=a.Pg();null!=c&&b.B(6,c,Md)}d=Zd.prototype;d.Tg=function(){return E(this,1,"")};d.Rg=function(){return E(this,2,0)};d.Ed=function(){return E(this,3,0)};d.Sg=function(){return M(this,Q,4)};d.Qg=function(){return M(this,Xd,5)};d.Pg=function(){return M(this,Ld,6)};function $d(a){C(this,a,null,ae)}q($d,B);var ae=[[10,100]];
  function be(a,b){for(;b.l()&&!b.o();)switch(b.a){case 1:var c=b.tc();a.i(c);break;case 2:c=b.v();a.f(c);break;case 10:c=b.v();a.u(c);break;case 100:c=b.A();a.c(c);break;default:b.j()}return a}$d.prototype.i=function(a){I(this,1,a,0)};$d.prototype.f=function(a){K(this,2,a)};$d.prototype.u=function(a){L(this,10,ae[0],a)};$d.prototype.c=function(a){L(this,100,ae[0],a)};function ce(a){C(this,a,null,null)}q(ce,B);
  function de(a,b){for(;b.l()&&!b.o();)switch(b.a){case 1:var c=new S;b.g(c,Vd);a.f(c);break;case 2:c=new T;b.g(c,U);a.c(c);break;default:b.j()}return a}ce.prototype.getName=function(){return M(this,S,1)};ce.prototype.f=function(a){N(this,1,a)};ce.prototype.c=function(a){N(this,2,a)};function T(a){C(this,a,null,null)}q(T,B);function U(a,b){for(;b.l()&&!b.o();)switch(b.a){case 1:var c=b.A();a.c(c);break;case 2:c=b.v();a.f(c);break;default:b.j()}return a}T.prototype.c=function(a){J(this,1,a)};
  T.prototype.f=function(a){K(this,2,a)};function ee(a){C(this,a,null,null)}q(ee,B);function fe(a,b){for(;b.l()&&!b.o();)switch(b.a){case 1:var c=new ce;b.g(c,de);a.f(c);break;case 2:c=new ce;b.g(c,de);a.c(c);break;default:b.j()}return a}ee.prototype.f=function(a){N(this,1,a)};ee.prototype.c=function(a){N(this,2,a)};function ge(a){C(this,a,null,null)}q(ge,B);
  function he(a,b){for(;b.l()&&!b.o();)switch(b.a){case 1:var c=b.H();a.c(c);break;case 2:c=b.v();a.i(c);break;case 3:c=b.v();a.f(c);break;case 4:c=b.H();a.u(c);break;default:b.j()}return a}ge.prototype.c=function(a){I(this,1,a,!1)};ge.prototype.i=function(a){K(this,2,a)};ge.prototype.f=function(a){K(this,3,a)};ge.prototype.u=function(a){I(this,4,a,!1)};function ie(a){C(this,a,je,null)}q(ie,B);var je=[5];
  function ke(a,b){for(;b.l()&&!b.o();)switch(b.a){case 1:var c=b.v();a.Bi(c);break;case 2:c=new ee;b.g(c,fe);a.Sh(c);break;case 3:c=b.v();a.Uh(c);break;case 4:c=b.v();a.Ai(c);break;case 5:c=new ge;b.g(c,he);a.Xc(c);break;default:b.j()}return a}d=ie.prototype;d.Bi=function(a){K(this,1,a)};d.Sh=function(a){N(this,2,a)};d.Uh=function(a){K(this,3,a)};d.Ai=function(a){K(this,4,a)};d.Xc=function(a){P(this,5,a,ge)};function le(a){C(this,a,null,null)}q(le,B);
  function me(a,b){for(;b.l()&&!b.o();)switch(b.a){case 1:var c=b.H();a.c(c);break;case 2:c=b.v();a.f(c);break;default:b.j()}return a}le.prototype.c=function(a){I(this,1,a,!1)};le.prototype.f=function(a){K(this,2,a)};function ne(a){C(this,a,null,oe)}q(ne,B);var oe=[[10,20]];
  function pe(a,b){for(;b.l()&&!b.o();)switch(b.a){case 1:var c=b.v();a.Ff(c);break;case 2:c=b.v();a.Nh(c);break;case 3:c=b.v();a.Df(c);break;case 4:c=new le;b.g(c,me);a.Ch(c);break;case 10:c=b.A();a.Eh(c);break;case 20:c=b.sc();a.Ef(c);break;default:b.j()}return a}d=ne.prototype;d.Ff=function(a){K(this,1,a)};d.Nh=function(a){K(this,2,a)};d.Df=function(a){K(this,3,a)};d.Ch=function(a){N(this,4,a)};d.Pb=function(){return E(this,10,"")};d.Eh=function(a){L(this,10,oe[0],a)};
  d.Ef=function(a){L(this,20,oe[0],a)};function qe(a){C(this,a,null,re)}q(qe,B);var re=[[101,201,301]];function se(a,b){for(;b.l()&&!b.o();)switch(b.a){case 1:var c=b.v();a.i(c);break;case 101:c=b.v();a.f(c);break;case 201:c=b.v();a.c(c);break;case 301:c=b.v();a.u(c);break;default:b.j()}return a}qe.prototype.i=function(a){K(this,1,a)};qe.prototype.f=function(a){L(this,101,re[0],a)};qe.prototype.c=function(a){L(this,201,re[0],a)};qe.prototype.u=function(a){L(this,301,re[0],a)};
  function te(a){C(this,a,null,null)}q(te,B);function ue(a,b){for(;b.l()&&!b.o();)switch(b.a){case 1:var c=b.A();a.c(c);break;default:b.j()}return a}te.prototype.c=function(a){J(this,1,a)};function ve(a){C(this,a,null,null)}q(ve,B);function we(a,b){for(;b.l()&&!b.o();)switch(b.a){case 1:var c=new te;b.g(c,ue);a.c(c);break;case 2:c=b.A();a.i(c);break;case 3:c=new qe;b.g(c,se);a.f(c);break;default:b.j()}return a}ve.prototype.c=function(a){N(this,1,a)};ve.prototype.i=function(a){J(this,2,a)};
  ve.prototype.f=function(a){N(this,3,a)};function xe(a){C(this,a,null,null)}q(xe,B);function ye(a,b){for(;b.l()&&!b.o();)switch(b.a){case 1:var c=new ve;b.g(c,we);a.c(c);break;case 2:c=new ve;b.g(c,we);a.f(c);break;default:b.j()}return a}xe.prototype.c=function(a){N(this,1,a)};xe.prototype.f=function(a){N(this,2,a)};function ze(a){C(this,a,null,null)}q(ze,B);
  function Ae(a,b){for(;b.l()&&!b.o();)switch(b.a){case 1:var c=new xe;b.g(c,ye);a.c(c);break;case 2:c=new ve;b.g(c,we);a.f(c);break;default:b.j()}return a}ze.prototype.c=function(a){N(this,1,a)};ze.prototype.f=function(a){N(this,2,a)};function Be(a){C(this,a,Ce,null)}q(Be,B);var Ce=[20];
  function De(a,b){for(;b.l()&&!b.o();)switch(b.a){case 1:var c=new S;b.g(c,Vd);a.zf(c);break;case 2:c=new Be;b.g(c,De);a.ji(c);break;case 3:c=new ne;b.g(c,pe);a.Af(c);break;case 20:c=new ze;b.g(c,Ae);a.yf(c);break;case 21:c=new yd;b.g(c,Ad);a.Hi(c);break;default:b.j()}return a}d=Be.prototype;d.getName=function(){return M(this,S,1)};d.zf=function(a){N(this,1,a)};d.ji=function(a){N(this,2,a)};d.Af=function(a){N(this,3,a)};d.yf=function(a){P(this,20,a,ze)};d.Hi=function(a){N(this,21,a)};
  function Ee(a){C(this,a,null,null)}q(Ee,B);
  function Fe(a,b){for(;b.l()&&!b.o();)switch(b.a){case 1:var c=new te;b.g(c,ue);a.Rf(c);break;case 2:c=b.v();a.Wf(c);break;case 3:c=new qe;b.g(c,se);a.Xf(c);break;case 4:c=b.A();a.Tf(c);break;case 5:c=b.A();a.Yf(c);break;case 6:c=b.A();a.zi(c);break;case 7:c=b.v();a.pi(c);break;case 8:c=new Q;b.g(c,R);a.Qf(c);break;case 9:c=new Q;b.g(c,R);a.Sf(c);break;case 10:c=new Q;b.g(c,R);a.Uf(c);break;case 11:c=b.A();a.Vf(c);break;case 12:c=b.A();a.Ji(c);break;default:b.j()}return a}d=Ee.prototype;
  d.Rf=function(a){N(this,1,a)};d.O=function(){return E(this,2,0)};d.Wf=function(a){K(this,2,a)};d.Xf=function(a){N(this,3,a)};d.getName=function(){return E(this,4,"")};d.Tf=function(a){J(this,4,a)};d.Yf=function(a){J(this,5,a)};d.zi=function(a){J(this,6,a)};d.pi=function(a){K(this,7,a)};d.Qf=function(a){N(this,8,a)};d.Sf=function(a){N(this,9,a)};d.Uf=function(a){N(this,10,a)};d.Vf=function(a){J(this,11,a)};d.Ji=function(a){J(this,12,a)};function V(a){C(this,a,null,Ge)}q(V,B);var Ge=[[10,20]];
  function He(a,b){for(;b.l()&&!b.o();)switch(b.a){case 1:var c=b.v();a.i(c);break;case 2:c=new Ie;b.g(c,Je);a.c(c);break;case 10:c=b.Ga();a.f(c);break;case 20:c=b.H();a.u(c);break;default:b.j()}return a}function Ie(a){C(this,a,null,null)}q(Ie,B);function Je(a,b){for(;b.l()&&!b.o();)switch(b.a){case 1:var c=b.v();a.c(c);break;case 2:c=b.Ga();a.f(c);break;default:b.j()}return a}Ie.prototype.c=function(a){K(this,1,a)};Ie.prototype.f=function(a){I(this,2,a,0)};V.prototype.i=function(a){K(this,1,a)};
  V.prototype.c=function(a){N(this,2,a)};V.prototype.f=function(a){L(this,10,Ge[0],a)};V.prototype.u=function(a){L(this,20,Ge[0],a)};function Ke(a){C(this,a,null,null)}q(Ke,B);function Le(a,b){for(;b.l()&&!b.o();)switch(b.a){case 1:var c=b.v();a.c(c);break;case 2:c=new Ee;b.g(c,Fe);a.f(c);break;default:b.j()}return a}Ke.prototype.c=function(a){K(this,1,a)};Ke.prototype.f=function(a){N(this,2,a)};function Me(a){C(this,a,null,null)}q(Me,B);
  function Ne(a,b){for(;b.l()&&!b.o();)switch(b.a){case 1:var c=new Oe;b.g(c,Pe);a.u(c);break;case 2:c=new Qe;b.g(c,Re);a.c(c);break;case 3:c=new Se;b.g(c,Te);a.f(c);break;case 4:c=new Ue;b.g(c,Ve);a.i(c);break;default:b.j()}return a}Me.prototype.u=function(a){N(this,1,a)};Me.prototype.c=function(a){N(this,2,a)};Me.prototype.f=function(a){N(this,3,a)};Me.prototype.i=function(a){N(this,4,a)};function We(a){C(this,a,Xe,null)}q(We,B);var Xe=[2,35,36];
  function Ye(a,b){for(;b.l()&&!b.o();)switch(b.a){case 1:var c=b.H();a.bh(c);break;case 2:c=new Ke;b.g(c,Le);a.$g(c);break;case 3:c=new Q;b.g(c,R);a.Xh(c);break;case 4:c=new Q;b.g(c,R);a.xi(c);break;case 5:c=new Ze;b.g(c,$e);a.Fh(c);break;case 30:c=new af;b.g(c,bf);a.vh(c);break;case 31:c=new cf;b.g(c,df);a.Fi(c);break;case 32:c=new Me;b.g(c,Ne);a.Dh(c);break;case 33:c=new ef;b.g(c,ff);a.di(c);break;case 34:c=new gf;b.g(c,hf);a.Di(c);break;case 35:c=b.I();a.ah(c);break;case 36:c=new We;b.g(c,Ye);a.Zc(c);
  break;default:b.j()}return a}d=We.prototype;d.bh=function(a){I(this,1,a,!1)};d.$g=function(a){P(this,2,a,Ke)};d.Xh=function(a){N(this,3,a)};d.xi=function(a){N(this,4,a)};d.Fh=function(a){N(this,5,a)};d.vh=function(a){N(this,30,a)};d.Fi=function(a){N(this,31,a)};d.Dh=function(a){N(this,32,a)};d.di=function(a){N(this,33,a)};d.Di=function(a){N(this,34,a)};d.ah=function(a){G(this,35,a||[])};d.Zc=function(a){P(this,36,a,We)};function Ze(a){C(this,a,null,null)}q(Ze,B);
  function $e(a,b){for(;b.l()&&!b.o();)switch(b.a){case 1:var c=b.A();a.u(c);break;case 2:c=b.A();a.f(c);break;case 3:c=b.A();a.c(c);break;case 4:c=b.A();a.i(c);break;default:b.j()}return a}Ze.prototype.u=function(a){J(this,1,a)};Ze.prototype.f=function(a){J(this,2,a)};Ze.prototype.c=function(a){J(this,3,a)};Ze.prototype.i=function(a){J(this,4,a)};function af(a){C(this,a,jf,null)}q(af,B);var jf=[3];
  function bf(a,b){for(;b.l()&&!b.o();)switch(b.a){case 1:var c=new V;b.g(c,He);a.Wg(c);break;case 2:c=new V;b.g(c,He);a.Ug(c);break;case 3:c=new kf;b.g(c,lf);a.cd(c);break;case 4:c=b.v();a.si(c);break;case 5:c=b.v();a.Vg(c);break;default:b.j()}return a}function kf(a){C(this,a,null,null)}q(kf,B);function lf(a,b){for(;b.l()&&!b.o();)switch(b.a){case 1:var c=b.v();a.f(c);break;case 3:c=new V;b.g(c,He);a.c(c);break;default:b.j()}return a}kf.prototype.f=function(a){K(this,1,a)};
  kf.prototype.c=function(a){N(this,3,a)};d=af.prototype;d.Wg=function(a){N(this,1,a)};d.Ug=function(a){N(this,2,a)};d.cd=function(a){P(this,3,a,kf)};d.si=function(a){K(this,4,a)};d.Vg=function(a){K(this,5,a)};function gf(a){C(this,a,mf,null)}q(gf,B);var mf=[4,5];
  function hf(a,b){for(;b.l()&&!b.o();)switch(b.a){case 1:var c=new ne;b.g(c,pe);a.Jh(c);break;case 2:c=new ne;b.g(c,pe);a.Ei(c);break;case 3:c=b.v();a.Zg(c);break;case 4:c=b.I();a.Yg(c);break;case 5:c=b.I();a.Xg(c);break;default:b.j()}return a}d=gf.prototype;d.Jh=function(a){N(this,1,a)};d.Ei=function(a){N(this,2,a)};d.Zg=function(a){K(this,3,a)};d.Yg=function(a){G(this,4,a||[])};d.Xg=function(a){G(this,5,a||[])};function Oe(a){C(this,a,null,null)}q(Oe,B);
  function Pe(a,b){for(;b.l()&&!b.o();)switch(b.a){case 1:var c=b.H();a.f(c);break;case 2:c=a.c();b.g(c,function(a,b){z(a,b,He)});break;default:b.j()}return a}Oe.prototype.f=function(a){I(this,1,a,!1)};Oe.prototype.c=function(){return F(this,2,V)};function Qe(a){C(this,a,null,null)}q(Qe,B);function Re(a,b){for(;b.l()&&!b.o();)switch(b.a){case 1:var c=b.H();a.f(c);break;case 2:c=a.c();b.g(c,function(a,b){z(a,b,He)});break;default:b.j()}return a}Qe.prototype.f=function(a){I(this,1,a,!1)};
  Qe.prototype.c=function(){return F(this,2,V)};function Se(a){C(this,a,null,null)}q(Se,B);function Te(a,b){for(;b.l()&&!b.o();)switch(b.a){case 1:var c=b.H();a.f(c);break;case 2:c=a.c();b.g(c,function(a,b){z(a,b,He)});break;default:b.j()}return a}Se.prototype.f=function(a){I(this,1,a,!1)};Se.prototype.c=function(){return F(this,2,V)};function Ue(a){C(this,a,null,null)}q(Ue,B);
  function Ve(a,b){for(;b.l()&&!b.o();)switch(b.a){case 1:var c=a.c();b.g(c,function(a,b){z(a,b,He)});break;default:b.j()}return a}Ue.prototype.c=function(){return F(this,1,V)};function ef(a){C(this,a,null,null)}q(ef,B);function ff(a,b){for(;b.l()&&!b.o();)switch(b.a){case 1:var c=new V;b.g(c,He);a.c(c);break;default:b.j()}return a}ef.prototype.c=function(a){N(this,1,a)};function cf(a){C(this,a,nf,null)}q(cf,B);var nf=[10,2,3];
  function df(a,b){for(;b.l()&&!b.o();)switch(b.a){case 1:var c=b.H();a.i(c);break;case 10:c=new of;b.g(c,pf);a.c(c);break;case 2:c=b.I();a.u(c);break;case 3:c=b.I();a.f(c);break;default:b.j()}return a}function of(a){C(this,a,null,null)}q(of,B);function pf(a,b){for(;b.l()&&!b.o();)switch(b.a){case 1:var c=b.v();a.f(c);break;case 2:c=new V;b.g(c,He);a.c(c);break;default:b.j()}return a}of.prototype.f=function(a){K(this,1,a)};of.prototype.c=function(a){N(this,2,a)};
  cf.prototype.i=function(a){I(this,1,a,!1)};cf.prototype.c=function(a){P(this,10,a,of)};cf.prototype.u=function(a){G(this,2,a||[])};cf.prototype.f=function(a){G(this,3,a||[])};function qf(a){C(this,a,null,null)}q(qf,B);function rf(a,b){for(;b.l()&&!b.o();)switch(b.a){case 20:var c=b.ja();a.c(c);break;default:b.j()}return a}qf.prototype.c=function(a){H(this,20,a)};function sf(a){C(this,a,null,null)}q(sf,B);
  function tf(a,b){for(;b.l()&&!b.o();)switch(b.a){case 21:var c=b.ja();a.f(c);break;case 22:c=b.ja();a.c(c);break;default:b.j()}return a}sf.prototype.f=function(a){H(this,21,a)};sf.prototype.c=function(a){H(this,22,a)};function uf(a){C(this,a,null,null)}q(uf,B);function vf(a,b){for(;b.l()&&!b.o();)switch(b.a){case 23:var c=b.ja();a.f(c);break;case 24:c=b.ja();a.c(c);break;default:b.j()}return a}uf.prototype.f=function(a){H(this,23,a)};uf.prototype.c=function(a){H(this,24,a)};
  function wf(a){C(this,a,null,xf)}q(wf,B);var xf=[[4,5,6]];function yf(a,b){for(;b.l()&&!b.o();)switch(b.a){case 1:var c=b.v();a.dh(c);break;case 2:c=new Q;b.g(c,R);a.Mh(c);break;case 3:c=new Q;b.g(c,R);a.Oh(c);break;case 4:c=new qf;b.g(c,rf);a.li(c);break;case 5:c=new sf;b.g(c,tf);a.qh(c);break;case 6:c=new uf;b.g(c,vf);a.bi(c);break;default:b.j()}return a}d=wf.prototype;d.dh=function(a){K(this,1,a)};d.Mh=function(a){N(this,2,a)};d.Oh=function(a){N(this,3,a)};d.li=function(a){O(this,4,xf[0],a)};
  d.qh=function(a){O(this,5,xf[0],a)};d.bi=function(a){O(this,6,xf[0],a)};function zf(a){C(this,a,null,null)}q(zf,B);function Af(a,b){for(;b.l()&&!b.o();)switch(b.a){case 1:var c=b.H();a.f(c);break;case 2:c=b.H();a.c(c);break;default:b.j()}return a}zf.prototype.f=function(a){I(this,1,a,!1)};zf.prototype.c=function(a){I(this,2,a,!1)};function Bf(a){C(this,a,Cf,null)}q(Bf,B);var Cf=[3];
  function Df(a,b){for(;b.l()&&!b.o();)switch(b.a){case 1:var c=new $d;b.g(c,be);a.f(c);break;case 2:c=new zf;b.g(c,Af);a.i(c);break;case 3:c=new wf;b.g(c,yf);a.c(c);break;default:b.j()}return a}Bf.prototype.f=function(a){N(this,1,a)};Bf.prototype.O=function(){return M(this,zf,2)};Bf.prototype.i=function(a){N(this,2,a)};Bf.prototype.c=function(a){P(this,3,a,wf)};function Ef(a){C(this,a,null,null)}q(Ef,B);
  function Ff(a,b){for(;b.l()&&!b.o();)switch(b.a){case 1:var c=b.v();a.c(c);break;case 2:c=new Bf;b.g(c,Df);a.f(c);break;case 3:c=b.tc();a.i(c);break;default:b.j()}return a}Ef.prototype.c=function(a){K(this,1,a)};Ef.prototype.f=function(a){N(this,2,a)};Ef.prototype.i=function(a){I(this,3,a,0)};function Gf(a){C(this,a,null,Hf)}q(Gf,B);var Hf=[[20,21]];
  function If(a,b){for(;b.l()&&!b.o();)switch(b.a){case 1:var c=b.v();a.c(c);break;case 20:c=new Bf;b.g(c,Df);a.f(c);break;case 21:c=new Ef;b.g(c,Ff);a.i(c);break;default:b.j()}return a}Gf.prototype.c=function(a){K(this,1,a)};Gf.prototype.f=function(a){O(this,20,Hf[0],a)};Gf.prototype.i=function(a){O(this,21,Hf[0],a)};function Jf(a){C(this,a,Kf,null)}q(Jf,B);var Kf=[1,2];
  function Lf(a,b){for(;b.l()&&!b.o();)switch(b.a){case 1:var c=new wf;b.g(c,yf);a.f(c);break;case 2:c=new Gf;b.g(c,If);a.c(c);break;default:b.j()}return a}Jf.prototype.f=function(a){P(this,1,a,wf)};Jf.prototype.c=function(a){P(this,2,a,Gf)};function Mf(a){C(this,a,null,null)}q(Mf,B);function Nf(a,b){for(;b.l()&&!b.o();)switch(b.a){case 1:var c=new Q;b.g(c,R);a.c(c);break;case 2:c=new Q;b.g(c,R);a.f(c);break;case 3:c=new Q;b.g(c,R);a.i(c);break;default:b.j()}return a}
  Mf.prototype.c=function(a){N(this,1,a)};Mf.prototype.f=function(a){N(this,2,a)};Mf.prototype.i=function(a){N(this,3,a)};function Of(a){C(this,a,Pf,null)}q(Of,B);var Pf=[6,9];
  function Qf(a,b){for(;b.l()&&!b.o();)switch(b.a){case 1:var c=new S;b.g(c,Vd);a.If(c);break;case 2:c=new Be;b.g(c,De);a.sh(c);break;case 3:c=new ne;b.g(c,pe);a.Jf(c);break;case 4:c=new ne;b.g(c,pe);a.Mi(c);break;case 5:c=new ne;b.g(c,pe);a.Lh(c);break;case 6:c=new ve;b.g(c,we);a.Gf(c);break;case 7:c=new Jf;b.g(c,Lf);a.oi(c);break;case 8:c=new We;b.g(c,Ye);a.Gi(c);break;case 9:c=b.I();a.Hf(c);break;case 10:c=new Mf;b.g(c,Nf);a.Li(c);break;default:b.j()}return a}d=Of.prototype;
  d.getName=function(){return M(this,S,1)};d.If=function(a){N(this,1,a)};d.sh=function(a){N(this,2,a)};d.Jf=function(a){N(this,3,a)};d.Mi=function(a){N(this,4,a)};d.Lh=function(a){N(this,5,a)};d.Gf=function(a){P(this,6,a,ve)};d.oi=function(a){N(this,7,a)};d.Gi=function(a){N(this,8,a)};d.Hf=function(a){G(this,9,a||[])};d.Li=function(a){N(this,10,a)};function Rf(a){C(this,a,null,null)}q(Rf,B);
  function Sf(a,b){for(;b.l()&&!b.o();)switch(b.a){case 1:var c=new T;b.g(c,U);a.c(c);break;case 2:c=b.v();a.u(c);break;case 3:c=new Of;b.g(c,Qf);a.i(c);break;case 4:c=new ie;b.g(c,ke);a.f(c);break;default:b.j()}return a}Rf.prototype.c=function(a){N(this,1,a)};Rf.prototype.u=function(a){K(this,2,a)};Rf.prototype.i=function(a){N(this,3,a)};Rf.prototype.f=function(a){N(this,4,a)};function Tf(a){C(this,a,null,null)}q(Tf,B);
  function Uf(a,b){for(;b.l()&&!b.o();)switch(b.a){case 1:var c=new T;b.g(c,U);a.c(c);break;case 2:c=b.v();a.u(c);break;case 3:c=new Of;b.g(c,Qf);a.i(c);break;case 4:c=new ie;b.g(c,ke);a.f(c);break;default:b.j()}return a}Tf.prototype.c=function(a){N(this,1,a)};Tf.prototype.u=function(a){K(this,2,a)};Tf.prototype.i=function(a){N(this,3,a)};Tf.prototype.f=function(a){N(this,4,a)};function Vf(a){C(this,a,null,null)}q(Vf,B);
  function Wf(a,b){for(;b.l()&&!b.o();)switch(b.a){case 1:var c=b.A();a.f(c);break;case 2:c=b.A();a.c(c);break;default:b.j()}return a}Vf.prototype.f=function(a){J(this,1,a)};Vf.prototype.c=function(a){J(this,2,a)};function Xf(a){C(this,a,Yf,null)}q(Xf,B);var Yf=[3,6];
  function Zf(a,b){for(;b.l()&&!b.o();)switch(b.a){case 1:var c=new T;b.g(c,U);a.$f(c);break;case 2:c=b.v();a.cg(c);break;case 3:c=b.I();a.Zf(c);break;case 4:c=new Of;b.g(c,Qf);a.bg(c);break;case 5:c=new ie;b.g(c,ke);a.ag(c);break;case 6:c=new Vf;b.g(c,Wf);a.$c(c);break;default:b.j()}return a}d=Xf.prototype;d.$f=function(a){N(this,1,a)};d.cg=function(a){K(this,2,a)};d.Zf=function(a){G(this,3,a||[])};d.bg=function(a){N(this,4,a)};d.ag=function(a){N(this,5,a)};d.$c=function(a){P(this,6,a,Vf)};
  function $f(a){C(this,a,ag,null)}q($f,B);var ag=[3];function bg(a,b){for(;b.l()&&!b.o();)switch(b.a){case 1:var c=new T;b.g(c,U);a.eg(c);break;case 2:c=b.v();a.hg(c);break;case 3:c=b.I();a.Qh(c);break;case 4:c=new ce;b.g(c,de);a.dg(c);break;case 5:c=new Of;b.g(c,Qf);a.gg(c);break;case 6:c=new ie;b.g(c,ke);a.fg(c);break;default:b.j()}return a}d=$f.prototype;d.eg=function(a){N(this,1,a)};d.hg=function(a){K(this,2,a)};d.Qh=function(a){G(this,3,a||[])};d.dg=function(a){N(this,4,a)};
  d.gg=function(a){N(this,5,a)};d.fg=function(a){N(this,6,a)};function cg(a){C(this,a,dg,null)}q(cg,B);var dg=[3];function eg(a,b){for(;b.l()&&!b.o();)switch(b.a){case 1:var c=new T;b.g(c,U);a.ig(c);break;case 2:c=b.v();a.lg(c);break;case 3:c=new ce;b.g(c,de);a.ad(c);break;case 4:c=new Of;b.g(c,Qf);a.kg(c);break;case 5:c=new ie;b.g(c,ke);a.jg(c);break;default:b.j()}return a}d=cg.prototype;d.ig=function(a){N(this,1,a)};d.lg=function(a){K(this,2,a)};d.ad=function(a){P(this,3,a,ce)};
  d.kg=function(a){N(this,4,a)};d.jg=function(a){N(this,5,a)};function fg(a){C(this,a,null,gg)}q(fg,B);var gg=[[1]];fg.prototype.c=function(){return E(this,1,"")};fg.prototype.f=function(a){L(this,1,gg[0],a)};function hg(a){C(this,a,null,null)}q(hg,B);hg.prototype.c=function(a){J(this,1,a)};function ig(a){C(this,a,null,null)}q(ig,B);ig.prototype.c=function(a){J(this,1,a)};ig.prototype.getName=function(){return E(this,3,"")};function jg(a){C(this,a,null,null)}q(jg,B);
  jg.prototype.c=function(a){N(this,1,a)};jg.prototype.i=function(a){N(this,2,a)};jg.prototype.f=function(a){N(this,3,a)};function kg(a){C(this,a,null,null)}q(kg,B);kg.prototype.wa=function(){return E(this,2,"")};kg.prototype.c=function(a){J(this,2,a)};kg.prototype.ya=function(){return E(this,3,"")};kg.prototype.f=function(a){J(this,3,a)};function lg(a){C(this,a,null,null)}q(lg,B);lg.prototype.getName=function(){return M(this,kg,1)};lg.prototype.Qb=function(){return M(this,fg,5)};
  function mg(a){C(this,a,null,null)}q(mg,B);function ng(a,b){for(;b.l()&&!b.o();)switch(b.a){case 1:var c=b.A();a.c(c);break;case 2:c=b.v();a.f(c);break;default:b.j()}return a}mg.prototype.c=function(a){J(this,1,a)};mg.prototype.f=function(a){K(this,2,a)};function og(a){C(this,a,null,null)}q(og,B);function pg(a,b){for(;b.l()&&!b.o();)switch(b.a){case 2:var c=new Ee;b.g(c,Fe);a.c(c);break;default:b.j()}return a}og.prototype.c=function(a){N(this,2,a)};function qg(a){C(this,a,null,null)}q(qg,B);
  function rg(a,b){for(;b.l()&&!b.o();)switch(b.a){case 1:var c=new S;b.g(c,Vd);a.c(c);break;case 2:c=new og;b.g(c,pg);a.f(c);break;default:b.j()}return a}qg.prototype.getName=function(){return M(this,S,1)};qg.prototype.c=function(a){N(this,1,a)};qg.prototype.f=function(a){N(this,2,a)};function sg(a){C(this,a,tg,ug)}q(sg,B);var tg=[5],ug=[[1,2,3]];
  function vg(a,b){for(;b.l()&&!b.o();)switch(b.a){case 1:var c=b.v();a.Ng(c);break;case 2:c=new mg;b.g(c,ng);a.Hh(c);break;case 3:c=b.A();a.Mg(c);break;case 4:c=new qg;b.g(c,rg);a.Og(c);break;case 5:c=b.I();a.Lg(c);break;default:b.j()}return a}d=sg.prototype;d.Ng=function(a){L(this,1,ug[0],a)};d.Hh=function(a){O(this,2,ug[0],a)};d.getName=function(){return E(this,3,"")};d.Mg=function(a){L(this,3,ug[0],a)};d.Og=function(a){N(this,4,a)};d.Lg=function(a){G(this,5,a||[])};
  function wg(a){C(this,a,null,null)}q(wg,B);wg.prototype.$b=function(){return M(this,lg,1)};wg.prototype.Tb=function(){return E(this,2,"")};wg.prototype.c=function(a){J(this,2,a)};wg.prototype.Y=function(){return E(this,3,"")};function xg(a){C(this,a,null,null)}q(xg,B);xg.prototype.c=function(a){J(this,1,a)};function yg(a){C(this,a,null,null)}q(yg,B);
  function zg(a,b){for(;b.l()&&!b.o();)switch(b.a){case 1:var c=new T;b.g(c,U);a.c(c);break;case 2:c=new Of;b.g(c,Qf);a.i(c);break;case 3:c=new ie;b.g(c,ke);a.f(c);break;default:b.j()}return a}yg.prototype.c=function(a){N(this,1,a)};yg.prototype.i=function(a){N(this,2,a)};yg.prototype.f=function(a){N(this,3,a)};function Ag(a){C(this,a,Bg,null)}q(Ag,B);var Bg=[3];
  function Cg(a,b){for(;b.l()&&!b.o();)switch(b.a){case 1:var c=new T;b.g(c,U);a.f(c);break;case 2:c=b.v();a.u(c);break;case 3:c=b.I();a.c(c);break;case 4:c=new Of;b.g(c,Qf);a.i(c);break;default:b.j()}return a}Ag.prototype.f=function(a){N(this,1,a)};Ag.prototype.u=function(a){K(this,2,a)};Ag.prototype.c=function(a){G(this,3,a||[])};Ag.prototype.i=function(a){N(this,4,a)};function Dg(a){C(this,a,Eg,null)}q(Dg,B);var Eg=[5];
  function Fg(a,b){for(;b.l()&&!b.o();)switch(b.a){case 1:var c=new T;b.g(c,U);a.og(c);break;case 2:c=new ce;b.g(c,de);a.ng(c);break;case 3:c=b.Ga();a.Yh(c);break;case 4:c=b.Ga();a.Ii(c);break;case 5:c=b.I();a.mg(c);break;case 6:c=new Of;b.g(c,Qf);a.qg(c);break;case 7:c=new ie;b.g(c,ke);a.pg(c);break;default:b.j()}return a}d=Dg.prototype;d.og=function(a){N(this,1,a)};d.ng=function(a){N(this,2,a)};d.Yh=function(a){I(this,3,a,0)};d.Ii=function(a){I(this,4,a,0)};d.mg=function(a){G(this,5,a||[])};
  d.qg=function(a){N(this,6,a)};d.pg=function(a){N(this,7,a)};function Gg(a){C(this,a,Hg,null)}q(Gg,B);var Hg=[5,6];function Ig(a,b){for(;b.l()&&!b.o();)switch(b.a){case 1:var c=b.H();a.Bg(c);break;case 2:c=b.H();a.Cg(c);break;case 3:c=new Id;b.g(c,Kd);a.Eg(c);break;case 4:c=new Id;b.g(c,Kd);a.Ag(c);break;case 5:c=b.I();a.Dg(c);break;case 6:c=b.I();a.ph(c);break;default:b.j()}return a}d=Gg.prototype;d.Bg=function(a){I(this,1,a,!1)};d.Cg=function(a){I(this,2,a,!1)};d.Eg=function(a){N(this,3,a)};
  d.Ag=function(a){N(this,4,a)};d.Dg=function(a){G(this,5,a||[])};d.ph=function(a){G(this,6,a||[])};function Jg(a){C(this,a,Kg,null)}q(Jg,B);var Kg=[4];function Lg(a,b){for(;b.l()&&!b.o();)switch(b.a){case 1:var c=b.A();a.Hg(c);break;case 2:c=b.K();a.Kg(c);break;case 3:c=b.v();a.Jg(c);break;case 4:c=b.I();a.Fg(c);break;case 5:c=new Q;b.g(c,R);a.Gg(c);break;case 6:c=new Gg;b.g(c,Ig);a.Ig(c);break;default:b.j()}return a}d=Jg.prototype;d.Hg=function(a){J(this,1,a)};d.Kg=function(a){H(this,2,a)};
  d.O=function(){return E(this,3,0)};d.Jg=function(a){K(this,3,a)};d.Fg=function(a){G(this,4,a||[])};d.Gg=function(a){N(this,5,a)};d.Ig=function(a){N(this,6,a)};function Mg(a){C(this,a,null,null)}q(Mg,B);function Ng(a,b){for(;b.l()&&!b.o();)switch(b.a){case 1:var c=b.A();a.i(c);break;case 2:c=b.A();a.f(c);break;case 3:c=b.A();a.c(c);break;default:b.j()}return a}Mg.prototype.i=function(a){J(this,1,a)};Mg.prototype.f=function(a){J(this,2,a)};Mg.prototype.c=function(a){J(this,3,a)};
  function Og(a){C(this,a,null,null)}q(Og,B);function Pg(a,b){for(;b.l()&&!b.o();)switch(b.a){case 1:var c=b.A();a.rg(c);break;case 2:c=b.A();a.Kh(c);break;case 3:c=b.A();a.$h(c);break;case 4:c=new Q;b.g(c,R);a.oh(c);break;case 5:c=new Q;b.g(c,R);a.sg(c);break;default:b.j()}return a}d=Og.prototype;d.rg=function(a){J(this,1,a)};d.Kh=function(a){J(this,2,a)};d.$h=function(a){J(this,3,a)};d.oh=function(a){N(this,4,a)};d.sg=function(a){N(this,5,a)};function Qg(a){C(this,a,Rg,Sg)}q(Qg,B);
  var Rg=[2,3],Sg=[[10,11,12,13,14,15,16,17]];
  function Tg(a,b){for(;b.l()&&!b.o();)switch(b.a){case 1:var c=new T;b.g(c,U);a.yg(c);break;case 2:c=new Mg;b.g(c,Ng);a.dd(c);break;case 3:c=new Og;b.g(c,Pg);a.bd(c);break;case 10:c=new Rf;b.g(c,Sf);a.tg(c);break;case 11:c=new Tf;b.g(c,Uf);a.ug(c);break;case 12:c=new Xf;b.g(c,Zf);a.vg(c);break;case 13:c=new $f;b.g(c,bg);a.wg(c);break;case 14:c=new yg;b.g(c,zg);a.xg(c);break;case 15:c=new Ag;b.g(c,Cg);a.ci(c);break;case 16:c=new cg;b.g(c,eg);a.zg(c);break;case 17:c=new Dg;b.g(c,Fg);a.ni(c);break;default:b.j()}return a}
  d=Qg.prototype;d.yg=function(a){N(this,1,a)};d.dd=function(a){P(this,2,a,Mg)};d.bd=function(a){P(this,3,a,Og)};d.tg=function(a){O(this,10,Sg[0],a)};d.ug=function(a){O(this,11,Sg[0],a)};d.vg=function(a){O(this,12,Sg[0],a)};d.wg=function(a){O(this,13,Sg[0],a)};d.xg=function(a){O(this,14,Sg[0],a)};d.ci=function(a){O(this,15,Sg[0],a)};d.zg=function(a){O(this,16,Sg[0],a)};d.ni=function(a){O(this,17,Sg[0],a)};function Ug(a){C(this,a,Vg,null)}q(Ug,B);var Vg=[3];
  function Wg(a,b){for(;b.l()&&!b.o();)switch(b.a){case 1:var c=b.uc();a.f(c);break;case 2:c=new sg;b.g(c,vg);a.i(c);break;case 3:c=new Qg;b.g(c,Tg);a.c(c);break;default:b.j()}return a}Ug.prototype.f=function(a){H(this,1,a)};Ug.prototype.i=function(a){N(this,2,a)};Ug.prototype.c=function(a){P(this,3,a,Qg)};function Xg(a){C(this,a,Yg,null)}q(Xg,B);var Yg=[2];
  function Zg(a,b){for(;b.l()&&!b.o();)switch(b.a){case 1:var c=b.uc();a.f(c);break;case 2:c=new Ug;b.g(c,Wg);a.c(c);break;default:b.j()}return a}Xg.prototype.f=function(a){H(this,1,a)};Xg.prototype.c=function(a){P(this,2,a,Ug)};function $g(a){C(this,a,null,null)}q($g,B);
  function ah(a,b){for(;b.l()&&!b.o();)switch(b.a){case 1:var c=a.pd();b.g(c,function(a,b){z(a,b,Sf)});break;case 2:c=a.rd();b.g(c,function(a,b){z(a,b,Uf)});break;case 3:c=a.vd();b.g(c,function(a,b){z(a,b,Zf)});break;case 4:c=a.wd();b.g(c,function(a,b){z(a,b,bg)});break;case 5:c=a.xd();b.g(c,function(a,b){z(a,b,zg)});break;case 6:c=a.Dd();b.g(c,function(a,b){z(a,b,Cg)});break;case 7:c=a.Gd();b.g(c,function(a,b){z(a,b,eg)});break;case 8:c=a.Id();b.g(c,function(a,b){z(a,b,Fg)});break;default:b.j()}return a}
  d=$g.prototype;d.pd=function(){return F(this,1,Rf)};d.rd=function(){return F(this,2,Tf)};d.vd=function(){return F(this,3,Xf)};d.wd=function(){return F(this,4,$f)};d.xd=function(){return F(this,5,yg)};d.Dd=function(){return F(this,6,Ag)};d.Gd=function(){return F(this,7,cg)};d.Id=function(){return F(this,8,Dg)};function bh(a){C(this,a,null,ch)}q(bh,B);var ch=[[3,4]];
  function dh(a,b){for(;b.l()&&!b.o();)switch(b.a){case 1:var c=new Jg;b.g(c,Lg);a.f(c);break;case 3:c=new Xg;b.g(c,Zg);a.i(c);break;case 4:c=new $g;b.g(c,ah);a.c(c);break;default:b.j()}return a}bh.prototype.f=function(a){N(this,1,a)};bh.prototype.i=function(a){O(this,3,ch[0],a)};bh.prototype.c=function(a){O(this,4,ch[0],a)};function eh(a){C(this,a,null,fh)}q(eh,B);var fh=[[1]];function gh(a,b){a=D(a,1);null!=a&&b.w(1,a)}eh.prototype.getName=function(){return E(this,1,"")};
  eh.prototype.c=function(a){L(this,1,fh[0],a)};function hh(a){C(this,a,null,null)}q(hh,B);function ih(a,b){var c=a.Zb();0<c.length&&b.w(1,c);c=a.xb();0<c.length&&b.w(2,c);c=a.Za();0<c.length&&b.w(3,c);c=a.yb();0<c.length&&b.w(4,c);c=a.gb();0<c.length&&b.w(5,c);c=a.fb();0<c.length&&b.w(6,c)}d=hh.prototype;d.Zb=function(){return E(this,1,"")};d.hi=function(a){J(this,1,a)};d.xb=function(){return E(this,2,"")};d.hf=function(a){J(this,2,a)};d.Za=function(){return E(this,3,"")};
  d.nh=function(a){J(this,3,a)};d.yb=function(){return E(this,4,"")};d.jf=function(a){J(this,4,a)};d.gb=function(){return E(this,5,"")};d.ti=function(a){J(this,5,a)};d.fb=function(){return E(this,6,"")};d.ri=function(a){J(this,6,a)};function jh(a){C(this,a,null,kh)}q(jh,B);var kh=[[10,20,30]];function lh(a,b){var c=a.Ac();0!==c&&b.N(1,c);c=a.$e();null!=c&&b.B(2,c,gh);c=a.L();null!=c&&b.B(10,c,ih);c=D(a,20);null!=c&&b.w(20,c);c=D(a,30);null!=c&&b.w(30,c)}d=jh.prototype;
  d.Ac=function(){return E(this,1,0)};d.af=function(){K(this,1,1)};d.$e=function(){return M(this,eh,2)};d.L=function(){return M(this,hh,10)};d.Oc=function(a){O(this,10,kh[0],a)};d.re=function(){return null!=D(this,10)};function mh(a){C(this,a,null,null)}q(mh,B);function nh(a,b){var c=a.c();0<c.length&&b.w(1,c);c=a.f();0<c.length&&b.w(2,c);c=a.i();0<c.length&&b.w(3,c)}mh.prototype.c=function(){return E(this,1,"")};mh.prototype.u=function(a){J(this,1,a)};mh.prototype.f=function(){return E(this,2,"")};
  mh.prototype.i=function(){return E(this,3,"")};function oh(a){C(this,a,null,null)}q(oh,B);function ph(a,b){var c=a.Nb();0!==c&&b.N(1,c);c=a.zc();null!=c&&b.B(2,c,gh);c=a.yc();0<c.length&&b.w(3,c);c=a.gc();0<c.length&&b.w(4,c);c=a.fc();0!==c&&b.V(5,c);c=a.Vb();0!==c&&b.V(6,c);c=a.Ob();0!==c&&b.V(7,c)}d=oh.prototype;d.Nb=function(){return E(this,1,0)};d.uh=function(a){K(this,1,a)};d.zc=function(){return M(this,eh,2)};d.Ze=function(a){N(this,2,a)};d.yc=function(){return E(this,3,"")};
  d.Ye=function(){J(this,3,navigator.language)};d.gc=function(){return E(this,4,"")};d.Ni=function(a){J(this,4,a)};d.fc=function(){return E(this,5,0)};d.Ki=function(){H(this,5,navigator.maxTouchPoints)};d.Vb=function(){return E(this,6,0)};d.Vh=function(){H(this,6,navigator.hardwareConcurrency)};d.Ob=function(){return E(this,7,0)};d.Ah=function(){H(this,7,window.screen.colorDepth)};function qh(a){C(this,a,null,null)}q(qh,B);
  function rh(a,b){var c=a.vb();0<c.length&&b.w(1,c);c=a.Bc();null!=c&&b.B(2,c,gh);c=a.td();0!==c&&b.N(3,c)}d=qh.prototype;d.vb=function(){return E(this,1,"")};d.bf=function(){J(this,1,"full")};d.Bc=function(){return M(this,eh,2)};d.cf=function(a){N(this,2,a)};d.td=function(){return E(this,3,0)};d.xh=function(){K(this,3,1)};function th(a){C(this,a,null,null)}q(th,B);function uh(a,b){var c=a.getName();0<c.length&&b.w(1,c);(c=a.c())&&b.da(2,c);c=a.f();0!==c&&b.N(3,c)}
  th.prototype.getName=function(){return E(this,1,"")};th.prototype.i=function(a){J(this,1,a)};th.prototype.c=function(){return E(this,2,!1)};th.prototype.f=function(){return E(this,3,0)};function vh(a){C(this,a,null,null)}q(vh,B);function wh(a,b){var c=a.c();0!==c&&b.N(1,c);c=a.f();null!=c&&b.B(2,c,gh)}vh.prototype.c=function(){return E(this,1,0)};vh.prototype.i=function(a){K(this,1,a)};vh.prototype.f=function(){return M(this,eh,2)};vh.prototype.u=function(a){N(this,2,a)};
  function xh(a){C(this,a,null,null)}q(xh,B);function yh(a,b){var c=a.f();0!==c&&b.V(1,c);c=a.c();0!==c&&b.V(2,c)}xh.prototype.f=function(){return E(this,1,0)};xh.prototype.u=function(a){H(this,1,a)};xh.prototype.c=function(){return E(this,2,0)};xh.prototype.i=function(a){H(this,2,a)};function zh(a){C(this,a,null,null)}q(zh,B);function Ah(a,b){var c=a.wb();null!=c&&b.B(1,c,yh);c=a.jb();null!=c&&b.B(2,c,yh);c=a.Rb();0!==c&&b.V(3,c);c=a.Yb();0!==c&&b.N(4,c)}d=zh.prototype;
  d.wb=function(){return M(this,xh,1)};d.ef=function(a){N(this,1,a)};d.jb=function(){return M(this,xh,2)};d.Oi=function(a){N(this,2,a)};d.Rb=function(){return E(this,3,0)};d.Ih=function(a){H(this,3,a)};d.Yb=function(){return E(this,4,0)};d.df=function(){K(this,4,window.innerHeight>window.innerWidth?2:1)};function Bh(a){C(this,a,Ch,null)}q(Bh,B);var Ch=[7];
  function Dh(a,b){var c=a.Cc();0!==c&&b.N(1,c);c=a.ec();0!==c&&b.N(2,c);c=a.cb();null!=c&&b.B(3,c,wh);c=a.qd();null!=c&&b.B(6,c,Xc);c=a.Od();0<c.length&&b.Yi(c);c=a.$();null!=c&&b.B(4,c,Ah)}d=Bh.prototype;d.Cc=function(){return E(this,1,0)};d.gf=function(a){K(this,1,a)};d.ec=function(){return E(this,2,0)};d.wi=function(){K(this,2,0)};d.cb=function(){return M(this,vh,3)};d.ii=function(a){N(this,3,a)};d.qd=function(){return M(this,Zd,6)};
  d.Od=function(){fd(this,Zd,7);var a=this.a[7];a==bd&&(a=this.a[7]=[]);return a};d.$=function(){return M(this,zh,4)};d.ff=function(a){N(this,4,a)};function Eh(a){C(this,a,null,null)}q(Eh,B);d=Eh.prototype;
  d.Ue=function(){var a=new Wc;var b=this.ba();null!=b&&a.B(1,b,uh);b=this.Y();null!=b&&a.B(2,b,Ed);b=this.Ia();0<b.length&&a.w(3,b);b=this.xa();0<b.length&&a.w(4,b);b=this.zd();0<b.length&&a.w(5,b);b=this.Ad();0<b.length&&a.w(6,b);b=this.W();null!=b&&a.B(7,b,nh);b=this.G();null!=b&&a.B(8,b,lh);b=this.za();null!=b&&a.B(9,b,rh);b=this.Xb();null!=b&&a.B(10,b,Dh);b=this.Mb();null!=b&&a.B(11,b,ph);b=this.Te();null!=b&&a.B(12,b,Yd);return a.dc()};d.ba=function(){return M(this,th,1)};
  d.zh=function(a){N(this,1,a)};d.Y=function(){return M(this,Dd,2)};d.Xe=function(a){N(this,2,a)};d.Ia=function(){return E(this,3,"")};d.Ve=function(a){J(this,3,a)};d.xa=function(){return E(this,4,"")};d.Th=function(a){J(this,4,a)};d.zd=function(){return E(this,5,"")};d.Ad=function(){return E(this,6,"")};d.W=function(){return M(this,mh,7)};d.We=function(a){N(this,7,a)};d.qe=function(){return null!=D(this,7)};d.G=function(){return M(this,jh,8)};d.Nc=function(a){N(this,8,a)};
  d.ne=function(){return null!=D(this,8)};d.za=function(){return M(this,qh,9)};d.Zh=function(a){N(this,9,a)};d.Xb=function(){return M(this,Bh,10)};d.ei=function(a){N(this,10,a)};d.pe=function(){return null!=D(this,10)};d.Mb=function(){return M(this,oh,11)};d.th=function(a){N(this,11,a)};d.oe=function(){return null!=D(this,11)};d.Te=function(){return M(this,Xd,12)};function Fh(a){C(this,a,null,null)}q(Fh,B);Fh.prototype.c=function(a){N(this,1,a)};Fh.prototype.f=function(a){N(this,2,a)};
  function Gh(a){C(this,a,null,null)}q(Gh,B);d=Gh.prototype;d.Dc=function(){var a=new Wc;var b=this.nf();0<b.length&&a.w(1,b);(b=this.lf())&&a.da(2,b);(b=this.mf())&&a.da(3,b);b=this.qf();0<b.length&&a.w(4,b);b=this.kf();0<b.length&&a.w(5,b);b=this.pf();0!==b&&a.N(6,b);(b=this.yd())&&a.da(7,b);return a.dc()};d.nf=function(){return E(this,1,"")};d.uf=function(a){J(this,1,a)};d.lf=function(){return E(this,2,!1)};d.sf=function(){I(this,2,!0,!1)};d.mf=function(){return E(this,3,!1)};
  d.tf=function(){I(this,3,!0,!1)};d.qf=function(){return E(this,4,"")};d.wf=function(a){J(this,4,a)};d.kf=function(){return E(this,5,"")};d.rf=function(a){J(this,5,a)};d.pf=function(){return E(this,6,0)};d.vf=function(a){K(this,6,a)};d.yd=function(){return E(this,7,!1)};d.Rh=function(){I(this,7,!0,!1)};function Hh(a){C(this,a,null,null)}q(Hh,B);
  function Ih(a){a=new Uc(a);for(var b=new Hh;a.l()&&!a.o();)switch(a.a){case 1:var c=new bh;a.g(c,dh);b.u(c);break;case 2:c=a.H();b.i(c);break;default:a.j()}return b}Hh.prototype.c=function(){return M(this,bh,1)};Hh.prototype.u=function(a){N(this,1,a)};Hh.prototype.f=function(){return E(this,2,!1)};Hh.prototype.i=function(a){I(this,2,a,!1)};function Jh(a){C(this,a,null,null)}q(Jh,B);Jh.prototype.c=function(a){N(this,1,a)};p("bloombox.menu.RetrieveException",function(a,b){this.message=a;this.err=b||-1});var Kh=class extends Ac{constructor(a,b,c,e,f,g,l){super(l);this.s=a;this.c=b;this.h=c;this.a=e;this.b=f;this.m=g}static ta(){return new Kh(!1,!1,null,null,0,!1,null)}static Ya(a){return new Kh(a.full||!1,a.keysOnly||!1,a.snapshot||null,a.fingerprint||null,a.section||0,a.fresh||!1,a.scope||null)}};p("bloombox.menu.RetrieveOptions",Kh);Kh.fromObject=Kh.Ya;Kh.defaults=Kh.ta;function Lh(a,b){this.a=a;this.b=b};function Mh(){this.i=null;this.f=[];this.F=0;this.b=Nh;this.m=this.a=this.c=0;this.h=null;this.s=0}var Nh=0;Mh.prototype.u=function(a,b,c){this.b=3;this.i="The stream is broken @"+this.F+"/"+b+". Error: "+c+". With input:\n"+a;throw Error(this.i);};
  Mh.prototype.parse=function(a){function b(a){0==a?g.c=a:128==a?g.c=a:g.u(l,r,"invalid frame byte");g.b=1;g.a=0;g.m=0}function c(a){g.m++;g.a=(g.a<<8)+a;4==g.m&&(g.b=2,g.s=0,"undefined"!==typeof Uint8Array?g.h=new Uint8Array(g.a):g.h=Array(g.a),0==g.a&&f())}function e(a){g.h[g.s++]=a;g.s==g.a&&f()}function f(){var a={};a[g.c]=g.h;g.f.push(a);g.b=Nh}for(var g=this,l=a instanceof Array?a:new Uint8Array(a),r=0;r<l.length;){switch(g.b){case 3:g.u(l,r,"stream already broken");break;case Nh:b(l[r]);break;
  case 1:c(l[r]);break;case 2:e(l[r]);break;default:throw Error("unexpected parser state: "+g.b);}g.F++;r++}a=g.f;g.f=[];return 0<a.length?a:null};function Oh(a){this.a=a.C;this.m=this.h=this.b=this.c=this.f=null;this.s=0;this.F=new Mh;var b=this;Gb(this.a,"readystatechange",function(){var a=b.a.ib("Content-Type");if(a){a=a.toLowerCase();var e=b.a.ib("grpc-status"),f=b.a.ib("grpc-message");e&&b.b&&b.b({code:Number(e),details:f||"",metadata:void 0});if(0==a.lastIndexOf("application/grpc-web-text",0)){var g=b.a.bc();a=g.length-g.length%4;g=g.substr(b.s,a-b.s);if(0==g.length)return;b.s=a;a=Nc(g)}else if(0==a.lastIndexOf("application/grpc",0))a=
  new Uint8Array(b.a.Jd());else return;if(a=b.F.parse([].slice.call(a)))for(g=0;g<a.length;g++)if(0 in a[g]&&(e=a[g][0])&&(e=b.f(e))&&b.c(e),128 in a[g]&&0<a[g][128].length){e="";for(f=0;f<a[g][128].length;f++)e+=String.fromCharCode(a[g][128][f]);var l=b.u(e);e=0;f="";"grpc-status"in l&&(e=l["grpc-status"]);"grpc-message"in l&&(f=l["grpc-message"]);b.b&&b.b({code:Number(e),details:f,metadata:l})}4==b.a.ca()&&b.m&&b.m()}});Gb(this.a,"complete",function(){if(b.h){var a=b.a.h;0!=a?b.h({code:14,message:gc(a)}):
  "grpc-status"in b.a.Kd()&&0!=Number(b.a.getResponseHeader("grpc-status"))&&b.h({code:Number(b.a.getResponseHeader("grpc-status")),message:b.a.getResponseHeader("grpc-message")})}})}Oh.prototype.Ha=function(a,b){"data"==a?this.c=b:"status"==a?this.b=b:"end"==a?this.m=b:"error"==a&&(this.h=b);return this};Oh.prototype.on=Oh.prototype.Ha;Oh.prototype.i=function(a){this.f=a};Oh.prototype.cancel=function(){this.a.abort()};Oh.prototype.cancel=Oh.prototype.cancel;
  Oh.prototype.u=function(a){a=a.trim().split("\r\n");for(var b={},c=0;c<a.length;c++){var e=a[c].indexOf(":");b[a[c].substring(0,e).trim()]=a[c].substring(e+1).trim()}return b};function Ph(a){var b="";Da(a,function(a,e){b+=e;b+=":";b+=a;b+="\r\n"});return b}function Qh(a,b){a:{for(c in b){var c=!1;break a}c=!0}if(c)return a;c=Ph(b);if(m(a)){b=encodeURIComponent("$httpHeaders");c=null!=c?"="+encodeURIComponent(String(c)):"";if(b+=c){c=a.indexOf("#");0>c&&(c=a.length);var e=a.indexOf("?");if(0>e||e>c){e=c;var f=""}else f=a.substring(e+1,c);a=[a.substr(0,e),f,a.substr(c)];c=a[1];a[1]=b?c?c+"&"+b:b:c;a=a[0]+(a[1]?"?"+a[1]:"")+a[2]}return a}a.a("$httpHeaders",c);return a};function W(){var a={format:"binary"};this.a=ba("format",a)||"text";this.s=ba("suppressCorsPreflight",a)||!1}
  W.prototype.Mc=function(a,b,c,e,f){var g=this.h(),l=new Oh({C:g});l.i(e.b);l.Ha("data",function(a){f(null,a)});l.Ha("status",function(a){0!=a.code&&f({code:a.code,message:a.details},null)});l.Ha("error",function(a){0!=a.code&&f({code:a.code,message:a.message},null)});g.headers.mb(c);this.m(g);this.s&&(c=g.headers.kc(),g.headers.nb(),a=Qh(a,c));b=e.a(b);b=this.b(b);"text"==this.a?b=Lc(b):"binary"==this.a&&g.Ab("arraybuffer");g.Ba(a,"POST",b);return l};W.prototype.rpcCall=W.prototype.Mc;
  W.prototype.La=function(a,b,c,e){return new Promise((f,g)=>{this.Mc(a,b,c,e,(a,b)=>{a?g(a):f(b)})})};W.prototype.unaryCall=W.prototype.La;W.prototype.lh=function(a,b,c,e){var f=this.h(),g=new Oh({C:f});g.i(e.b);f.headers.mb(c);this.m(f);this.s&&(c=f.headers.kc(),f.headers.nb(),a=Qh(a,c));b=e.a(b);b=this.b(b);"text"==this.a?b=Lc(b):"binary"==this.a&&f.Ab("arraybuffer");f.Ba(a,"POST",b);return g};W.prototype.serverStreaming=W.prototype.lh;W.prototype.h=function(){return new pc};
  W.prototype.b=function(a){for(var b=a.length,c=[0,0,0,0],e=new Uint8Array(5+b),f=3;0<=f;f--)c[f]=b%256,b>>>=8;e.set(new Uint8Array(c),1);e.set(a,5);return e};
  W.prototype.m=function(a){"text"==this.a?(a.headers.set("Content-Type","application/grpc-web-text"),a.headers.set("Accept","application/grpc-web-text")):a.headers.set("Content-Type","application/grpc-web+proto");a.headers.set("X-User-Agent","grpc-web-javascript/0.1");a.headers.set("X-Grpc-Web","1");if(a.headers.fe()){var b=a.headers.get("deadline");b=Math.round(b-(new Date).getTime());a.headers.Ca("deadline");0<b&&a.headers.set("grpc-timeout",b+"m")}};function Rh(){this.a=new W;this.h="https://rpc.bloombox.cloud"}var Sh=new Lh(function(a){return a.Dc()},Ih);Rh.prototype.Ja=function(a,b){return this.a.La(this.h+"/bloombox.services.menu.v1beta1.Menu/Retrieve",a,b||{},Sh)};var Th=new Lh(function(a){return a.Dc()},Ih);Rh.prototype.b=function(a,b){return this.a.La(this.h+"/bloombox.services.menu.v1beta1.Menu/Section",a,b||{},Th)};
  var Uh=new Lh(function(a){return a.c()},function(a){a=new Uc(a);for(var b=new Jh;a.l()&&!a.o();)switch(a.a){case 1:var c=new T;a.g(c,U);b.c(c);break;default:a.j()}return b});Rh.prototype.create=function(a,b){return this.a.La(this.h+"/bloombox.services.menu.v1beta1.Menu/Create",a,b||{},Uh)};var Vh=class{constructor(a){this.a=a;this.client=new Rh}Ja(a,b){const c=b||Kh.ta();var e=new Gh;!0===c.s&&e.sf();!0===c.m&&e.Rh();!0===c.c&&e.tf();c.h&&e.wf(b.h);c.a&&e.rf(c.a);0!==c.b&&e.vf(c.b);b=Bc(c);e.uf(`partner/${b.ea}/location/${b.location}`);e=this.client.Ja(e,zc(this.a));e.catch((b)=>{a&&a(null,b)});e.then((b)=>{a&&a(b,null)});return e}};Vh.prototype.retrieve=Vh.prototype.Ja;p("proto.bloombox.services.menu.v1beta1.GetMenu.Response",Hh);
  p("proto.bloombox.services.menu.v1beta1.GetMenu.Response.prototype.getCached",Hh.prototype.f);p("proto.bloombox.services.menu.v1beta1.GetMenu.Response.prototype.getCatalog",Hh.prototype.c);function Wh(a){a=["https://rpc.bloombox.cloud/menu/v1beta1",a.startsWith("/")?a.slice(1):a].join("/");this.ha="RETRIEVE";this.a=new Cc(a)}Wh.prototype.b=function(a,b){this.a.f(function(b){a(b)}.bind(this),function(a){t("Failed to resolve Menu API RPC for method '"+this.ha+"': status "+a);b(a)}.bind(this))};
  function Xh(a,b){a=Bc(a);const c=a.ea,e=a.location;return new Promise(function(a,g){let f=!1;(new Wh(["partners",c,"locations",e,"global:retrieve"].join("/"))).b(function(c){f||null===c||(f=!0,"object"===typeof c?(b&&b(c,null),a(c)):(t("Received unrecognized response for menu data RPC.",c),b&&b(null,null),g(c)))},function(a){t("An error occurred while querying menu data. Status code: '"+a+"'.");b&&b(null,a||null);g(a)})})}
  var Yh=class{constructor(){}Ja(a,b){return Xh(b,(b,e)=>{b?a(b,null):a&&a(null,e||-1)})}};function Zh(a,b,c,e){a&&b?(a=Object.assign({},u),pa(a),e()):t("Partner or location code is not defined.")}p("bloombox.menu.setup",Zh);p("bloombox.menu.api",function(a){let b=u;return!0===b.beta||a&&!0===a.beta?new Vh(b):new Yh(b)});p("bloombox.shop.VERSION","v1r2");var $h=class extends Ac{constructor(a){super(a||null)}static ta(){return new $h(null)}static Ya(a){return new $h(a.scope||null)}};p("bloombox.shop.ShopOptions",$h);$h.fromObject=$h.Ya;$h.defaults=$h.ta;function ai(){};var bi=class{constructor(){this.client=new ai}};function ci(a){this.message=a}function X(a,b,c,e,f,g){if(!a||"string"!==typeof a)throw new ci("Invalid first address line: '"+a+"'.");if(!c||"string"!==typeof c)throw new ci("Invalid address city: '"+c+"'.");if(!f||"string"!==typeof f)throw new ci("Invalid address zip: '"+f+"'.");if(!e||"string"!==typeof e)throw new ci("Invalid address state: '"+e+"'.");this.b=a;this.a=b||null;this.city=c;this.state=e;this.h=f;this.country=g||"USA"}p("bloombox.identity.StreetAddress",X);X.prototype.bb=function(){return this.b};
  X.prototype.getFirstLine=X.prototype.bb;X.prototype.hb=function(){return this.a||null};X.prototype.getSecondLine=X.prototype.hb;X.prototype.$a=function(){return this.city};X.prototype.getCity=X.prototype.$a;X.prototype.getState=function(){return this.state};X.prototype.getState=X.prototype.getState;X.prototype.kb=function(){return this.h};X.prototype.getZipcode=X.prototype.kb;
  function di(a,b,c){if(!a||"string"!==typeof a)throw new ci("Invalid email address: '"+a+"'.");this.emailAddress=a;this.phoneNumber=b||null;this.streetAddress=c||null}p("bloombox.identity.ContactInfo",di);di.prototype.ab=function(){return this.emailAddress};di.prototype.getEmailAddress=di.prototype.ab;di.prototype.eb=function(){return this.phoneNumber};di.prototype.getPhoneNumber=di.prototype.eb;di.prototype.Nd=function(){return this.streetAddress};di.prototype.getStreetAddress=di.prototype.Nd;
  function Y(a,b,c,e){if(!a||"string"!==typeof a)throw new ci("Invalid first name: '"+a+"'.");if(!b||"string"!==typeof b)throw new ci("Invalid last name: '"+b+"'.");if(!c)throw new ci("Invalid contact info: '"+b+"'.");if(null!==e&&(!e||"string"!==typeof e))throw new ci("Invalid date of birth (must be in YYYY-MM-DD format): '"+e+"'.");let f=new kg;f.c(a);f.f(b);a=new fg;null!==e&&a.f(e);this.name=f;this.a=c;this.b=null!==e?a:null}p("bloombox.identity.Person",Y);Y.prototype.wa=function(){return this.name.wa()};
  Y.prototype.getFirstName=Y.prototype.wa;Y.prototype.ya=function(){return this.name.ya()};Y.prototype.getLastName=Y.prototype.ya;Y.prototype.ud=function(){return this.a};Y.prototype.getContactInfo=Y.prototype.ud;Y.prototype.Qb=function(){return null!==this.b?this.b.c():null};Y.prototype.getDateOfBirth=Y.prototype.Qb;function ei(a){this.message=a}p("bloombox.shop.CustomerException",ei);function Z(a,b){if(!("string"===typeof b&&0<b.length))throw new ei("Invalid customer foreign ID. Must be a valid string over length 1.");this.a=a;this.b=b;this.h=null}p("bloombox.shop.Customer",Z);Z.prototype.$b=function(){return this.a};Z.prototype.getPerson=Z.prototype.$b;Z.prototype.Tb=function(){return this.b};Z.prototype.getForeignId=Z.prototype.Tb;Z.prototype.Y=function(){return this.h};Z.prototype.getUserKey=Z.prototype.Y;
  Z.prototype.mi=function(a){if(null!==a&&("+"!==a[0]||5>a.length||16<a.length))throw new ei("Invalid phone number: "+a);this.a.a.phoneNumber=null===a?null:a;return this};Z.prototype.setPhoneNumber=Z.prototype.mi;Z.prototype.eb=function(){return this.a.a.phoneNumber||null};Z.prototype.getPhoneNumber=Z.prototype.eb;Z.prototype.ab=function(){return this.a.a.emailAddress||null};Z.prototype.getEmailAddress=Z.prototype.ab;
  Z.prototype.X=function(){let a=new wg;var b=new kg;b.c(this.a.name.wa());b.f(this.a.name.ya());b=new jg;var c=new Xd;let e=new Td;null!==this.a.a.streetAddress&&(e.Ph(this.a.a.streetAddress.b),null!==this.a.a.streetAddress.a&&e.yi(this.a.a.streetAddress.a),e.wh(this.a.a.streetAddress.city),e.Mf(this.a.a.streetAddress.state),e.Pi(this.a.a.streetAddress.h),e.Lf(this.a.a.streetAddress.country),c.Pf(e),b.c(c));c=new ig;if("string"!==typeof this.a.a.emailAddress||3>this.a.a.emailAddress.length||2!==this.a.a.emailAddress.split("@").length)throw new ei("Must provide a valid email address.");
  c.c(this.a.a.emailAddress);b.f(c);if(null===this.a.a.phoneNumber)throw new ei("Must provide a valid phone number.");c=new hg;c.c(this.a.a.phoneNumber);b.i(c);a.c(this.b);return a};function fi(a){if(Kc)a=h.btoa(a);else{for(var b=[],c=0,e=0;e<a.length;e++){var f=a.charCodeAt(e);255<f&&(b[c++]=f&255,f>>=8);b[c++]=f}a=Lc(b,!1)}this.name=a}function gi(a){return new fi(a)}p("bloombox.telemetry.Collection.named",gi);fi.prototype.X=function(){let a=new th;a.i(this.name);return a};function hi(){return!ii()&&(w("iPod")||w("iPhone")||w("Android")||w("IEMobile"))}function ii(){return w("iPad")||w("Android")&&!w("Mobile")||w("Silk")}function ji(){return!hi()&&!ii()};var ki=function(){if(Ya){var a=/Windows NT ([0-9.]+)/;return(a=a.exec(Aa))?a[1]:"0"}return Xa?(a=/10[_.][0-9_.]+/,(a=a.exec(Aa))?a[0].replace(/_/g,"."):"10"):$a?(a=/Android\s+([^\);]+)(\)|;)/,(a=a.exec(Aa))?a[1]:""):ab||bb||cb?(a=/(?:iPhone|CPU)\s+OS\s+(\S+)/,(a=a.exec(Aa))?a[1].replace(/_/g,"."):""):""}();function li(){let a=window.location.origin,b=window.location.href,c=window.location.hash,e=window.location.protocol,f=document.title,g=document.referrer,l=new hh;l.hi(a);l.hf(b);l.jf(f);l.ri(e);l.ti(g);c&&l.nh(c);return l};function mi(a){this.message=a}
  function ni(a,b,c,e,f,g,l,r,A,x,sh,jj,kj){this.m=a||null;this.a=e||null;this.h=sh||null;this.i=f||null;b?(a=new Fd,a.f(b)):a=null;if(b&&c)b=new Gd,b.i(c),b.u(a);else{if(b&&c)throw new mi("Cannot provide location context without partner context.");b=null}this.location=b;l&&"string"===typeof l?(c=new Hd,c.i(l),c.f(b)):c=null;this.c=c;g?(l=new Dd,l.i(g),g=l):g=null;this.u=g;x?(g=new xg,g.c(x),x=g):x=null;this.b=r||null;this.item=A?A.X():null;this.order=x;this.s=jj||null;this.f=kj||null}
  function oi(a){return a&&a.getName()?{name:a.getName()}:{}}ni.prototype.X=function(){let a=new Eh;this.a&&a.Ve(this.a);this.i&&a.Th(this.i);this.m&&a.zh(this.m.X());this.u&&a.Xe(this.u);var b=new mh;if(this.location){var c="partner/"+this.location.f().c()+"/location/"+this.location.c();this.c?b.u(c+"/device/"+this.c.c()):b.u(c);a.We(b)}this.h?a.Nc(this.h):(b=new jh,c=li(),b.Oc(c),a.Nc(b));b=new qh;c=new eh;c.c("v2.0.0b1");b.cf(c);b.bf();b.xh();a.Zh(b);this.s&&a.th(this.s);this.f&&a.ei(this.f);return a};p("bloombox.telemetry.VERSION","v1beta4r2");p("bloombox.telemetry.BATCH_SIZE",5);p("bloombox.telemetry.XHR_DEBOUNCE",2500);p("bloombox.telemetry.XHR_RETRIES",3);p("bloombox.telemetry.XHR_TIMEOUT",15E3);function pi(a,b,c,e,f,g){a=u.key;if(null!==f&&void 0!==f&&"object"!==typeof f)throw new yc("Cannot provide non-object type as payload: "+f);if(!a||"string"!==typeof a)throw new yc("API key could not be resolved. Please call `setup` before any RPC methods.");{let a=qi[b];if(!a)throw new yc('Cannot render RPC of type "'+b+'".');g=a(g)}g=[["https://rpc.bloombox.cloud/telemetry/v1beta4",g.startsWith("/")?g.slice(1):g].join("/"),["key",a].join("=")].join("?");this.ha=b;this.s=ri[b];this.h=g;this.headers=
  {};f&&Object.isFrozen&&!Object.isFrozen(f)&&Object.freeze(f);this.a=void 0===f?null:f;this.b=c;this.m=e};var si={};function ti(){let a={Ec:ui,kj:vi,fj:wi,lj:xi,Je:yi,Ke:zi};Object.isFrozen&&!Object.isFrozen(a)&&Object.freeze(a);return a}si.oa=!0;si.Uc=!0;var yi=null,zi=null,ui=0,vi=0,wi=0,xi=0;function Ai(){let a="",b,c;for(b=0;32>b;b++){c=16*Math.random()|0;if(8===b||12===b||16===b||20===b)a+="-";a+=(12===b?4:16===b?c&3|8:c).toString(16)}return a.toUpperCase()};function Bi(a,b){this.a=a;this.b=b};function Ci(a){this.a=[];a&&this.te(a)}d=Ci.prototype;d.nc=function(a,b){var c=this.a;c.push(new Bi(a,b));this.Pe(c.length-1)};d.te=function(a){if(a instanceof Ci){var b=a.U();a=a.P();if(0>=this.a.length){for(var c=this.a,e=0;e<b.length;e++)c.push(new Bi(b[e],a[e]));return}}else b=Ga(a),a=Fa(a);for(e=0;e<b.length;e++)this.nc(b[e],a[e])};d.de=function(){var a=this.a,b=a.length,c=a[0];if(!(0>=b))return 1==b?wa(a):(a[0]=a.pop(),this.Oe()),c.b};
  d.Oe=function(){for(var a=0,b=this.a,c=b.length,e=b[a];a<c>>1;){var f=this.Bd(a),g=this.Ld(a);f=g<c&&b[g].a<b[f].a?g:f;if(b[f].a>e.a)break;b[a]=b[f];a=f}b[a]=e};d.Pe=function(a){for(var b=this.a,c=b[a];0<a;){var e=this.Fd(a);if(b[e].a>c.a)b[a]=b[e],a=e;else break}b[a]=c};d.Bd=function(a){return 2*a+1};d.Ld=function(a){return 2*a+2};d.Fd=function(a){return a-1>>1};d.P=function(){for(var a=this.a,b=[],c=a.length,e=0;e<c;e++)b.push(a[e].b);return b};
  d.U=function(){for(var a=this.a,b=[],c=a.length,e=0;e<c;e++)b.push(a[e].a);return b};d.ce=function(){wa(this.a)};function Di(){Ci.call(this)}q(Di,Ci);Di.prototype.h=function(a,b){this.nc(a,b)};Di.prototype.b=function(){return this.de()};function Ei(a,b,c){this.a=b;this.c=a;this.priority=c}function Fi(){this.a=new Di;this.count=0}Fi.prototype.h=function(a,b){this.a.h(a,b);this.count++;ui=this.count};Fi.prototype.b=function(a){let b=0;for(;5>b;){let c=this.a.b();if(c)this.count--,ui=this.count,a(c),b++;else break}return b};var Gi=new mc({Accept:"application/json,*/*"}),ri={PING:"GET",EVENT:"POST",EXCEPTION:"POST",SECTION_IMPRESSION:"GET",SECTION_VIEW:"GET",SECTION_ACTION:"GET",PRODUCT_IMPRESSION:"GET",PRODUCT_VIEW:"GET",PRODUCT_ACTION:"GET",USER_ACTION:"GET",ORDER_ACTION:"GET"},qi={PING:()=>"ping",EVENT:(a)=>`${a.ba().getName()}:event`,BATCH:()=>"events:batch",EXCEPTION:(a)=>`${a.ba().getName()}:error`};function Hi(a){rb.call(this);this.b=a;this.a={}}q(Hi,rb);var Ii=[];d=Hi.prototype;d.Qd=function(a,b){this.Le(a,b)};d.Le=function(a,b){var c=Ji;ea(c)||(c&&(Ii[0]=c.toString()),c=Ii);for(var e=0;e<c.length;e++){var f=Gb(a,c[e],b||this.handleEvent,!1,this.b||this);if(!f)break;this.a[f.key]=f}};
  d.ic=function(a,b,c,e,f){if(ea(b))for(var g=0;g<b.length;g++)this.ic(a,b[g],c,e,f);else c=c||this.handleEvent,e=ha(e)?!!e.capture:!!e,f=f||this.b||this,c=Ib(c),e=!!e,b=yb(a)?a.Sd(b,c,e,f):a?(a=Kb(a))?a.lb(b,c,e,f):null:null,b&&(Pb(b),delete this.a[b.key])};d.Rd=function(){Da(this.a,function(a,b){this.a.hasOwnProperty(b)&&Pb(a)},this);this.a={}};d.J=function(){Hi.R.J.call(this);this.Rd()};d.handleEvent=function(){throw Error("EventHandler.handleEvent not implemented");};function Ki(){this.a=[];this.b=[]}d=Ki.prototype;d.Me=function(){0==this.a.length&&(this.a=this.b,this.a.reverse(),this.b=[])};d.lc=function(a){this.b.push(a)};d.ob=function(){this.Me();return this.a.pop()};d.mc=function(){return this.a.length+this.b.length};d.ge=function(){return 0==this.a.length&&0==this.b.length};d.P=function(){for(var a=[],b=this.a.length-1;0<=b;--b)a.push(this.a[b]);var c=this.b.length;for(b=0;b<c;++b)a.push(this.b[b]);return a};function Li(){this.a=new mc}function Mi(a){var b=typeof a;return"object"==b&&a||"function"==b?"o"+(a[ia]||(a[ia]=++ja)):b.charAt(0)+a}Li.prototype.add=function(a){this.a.set(Mi(a),a)};Li.prototype.b=function(a){return this.a.Ca(Mi(a))};Li.prototype.P=function(){return this.a.P()};function Ni(a,b){rb.call(this);this.u=a||0;this.h=b||10;if(this.u>this.h)throw Error(Oi);this.a=new Ki;this.b=new Li;this.s=0;this.c=null;this.pa()}q(Ni,rb);var Oi="[goog.structs.Pool] Min can not be greater than max";d=Ni.prototype;d.Aa=function(){var a=ma();if(!(null!=this.c&&a-this.c<this.s)){var b=this.ih();b&&(this.c=a,this.b.add(b));return b}};d.zb=function(a){this.b.b(a)&&this.Ta(a)};
  d.ih=function(){for(var a;0<this.Ub()&&(a=this.a.ob(),!this.ub(a));)this.pa();!a&&this.Da()<this.h&&(a=this.Va());return a};d.Ta=function(a){this.b.b(a);this.ub(a)&&this.Da()<this.h?this.a.lc(a):this.Wa(a)};d.pa=function(){for(var a=this.a;this.Da()<this.u;)a.lc(this.Va());for(;this.Da()>this.h&&0<this.Ub();)this.Wa(a.ob())};d.Va=function(){return{}};d.Wa=function(a){if("function"==typeof a.ua)a.ua();else for(var b in a)a[b]=null};d.ub=function(a){return"function"==typeof a.hd?a.hd():!0};
  d.Da=function(){return this.a.mc()+this.b.a.h};d.Ub=function(){return this.a.mc()};d.J=function(){Ni.R.J.call(this);if(0<this.b.a.h)throw Error("[goog.structs.Pool] Objects not released");delete this.b;for(var a=this.a;!a.ge();)this.Wa(a.ob());delete this.a};function Pi(a,b){this.f=void 0;this.m=new Di;Ni.call(this,a,b)}q(Pi,Ni);d=Pi.prototype;d.Aa=function(a,b){if(!a)return(a=Pi.R.Aa.call(this))&&this.s&&(this.f=h.setTimeout(n(this.Ea,this),this.s)),a;this.m.h(k(b)?b:100,a);this.Ea()};d.Ea=function(){for(var a=this.m;0<a.a.length;){var b=this.Aa();if(b)a.b().apply(this,[b]);else break}};d.Ta=function(a){Pi.R.Ta.call(this,a);this.Ea()};d.pa=function(){Pi.R.pa.call(this);this.Ea()};
  d.J=function(){Pi.R.J.call(this);h.clearTimeout(this.f);this.m.ce();this.m=null};function Qi(a,b,c,e){this.F=a;this.aa=!!e;Pi.call(this,b,c)}q(Qi,Pi);Qi.prototype.Va=function(){var a=new pc,b=this.F;b&&b.forEach(function(b,e){a.headers.set(e,b)});this.aa&&a.Pc(!0);return a};Qi.prototype.ub=function(a){return!a.i&&!a.ue()};function Ri(a,b,c,e,f,g){Tb.call(this);this.c=k(a)?a:1;this.m=k(f)?Math.max(0,f):0;this.f=!!g;this.b=new Qi(b,c,e,g);this.a=new mc;this.h=new Hi(this)}q(Ri,Tb);var Ji="ready complete success error abort timeout".split(" ");d=Ri.prototype;d.be=function(){this.m=15E3};d.ae=function(a,b,c,e,f,g,l){if(this.a.get(a))throw Error("[goog.net.XhrManager] ID in use");b=new Si(b,n(this.le,this,a),c,e,f,l,k(3)?3:this.c,k(!1)?!1:this.f);this.a.set(a,b);a=n(this.ie,this,a);this.b.Aa(a,g)};
  d.abort=function(a,b){var c=this.a.get(a);if(c){var e=c.Pa;c.mh();b&&(e&&(this.Ic(e,c.Db),Hb(e,"ready",function(){this.b.zb(e)},!1,this)),this.a.Ca(a));e&&e.abort()}};d.ie=function(a,b){var c=this.a.get(a);c&&!c.Pa?(this.ed(b,c.Db),b.Zd(this.m),b.Ab(c.cc()),b.Pc(c.hc()),c.Pa=b,this.D(new Ti("ready",this,a,b)),this.Kc(a,b),c.Fb&&b.abort()):this.b.zb(b)};
  d.le=function(a,b){var c=b.target;switch(b.type){case "ready":this.Kc(a,c);break;case "complete":return this.je(a,c,b);case "success":this.me(a,c);break;case "timeout":case "error":this.ke(a,c);break;case "abort":this.he(a,c)}return null};d.Kc=function(a,b){var c=this.a.get(a);!c||c.Jb||c.pb()?(c&&(this.Ic(b,c.Db),this.a.Ca(a)),this.b.zb(b)):(c.se(),b.Ba(c.Wi,c.Ne,c.Pb(),c.$d))};
  d.je=function(a,b,c){var e=this.a.get(a);if(7==b.h||b.oc()||e.pb())if(this.D(new Ti("complete",this,a,b)),e&&(e.Bh(),e.Ib))return e.Ib.call(b,c);return null};d.he=function(a,b){this.D(new Ti("abort",this,a,b))};d.me=function(a,b){this.D(new Ti("success",this,a,b))};d.ke=function(a,b){this.a.get(a).pb()&&this.D(new Ti("error",this,a,b))};d.Ic=function(a,b){this.h.ic(a,Ji,b)};d.ed=function(a,b){this.h.Qd(a,b)};
  d.J=function(){Ri.R.J.call(this);this.b.ua();this.b=null;this.h.ua();this.h=null;this.a.nb();this.a=null};function Ti(a,b,c,e){ub.call(this,a,b);this.id=c;this.Pa=e}q(Ti,ub);function Si(a,b,c,e,f,g,l,r){this.Wi=a;this.Ne=c||"GET";this.b=e;this.$d=f||null;this.h=k(l)?l:1;this.a=0;this.Fb=this.Jb=!1;this.Db=b;this.Ib=g;this.m="text";this.s=!!r;this.Pa=null}d=Si.prototype;d.Pb=function(){return this.b};d.hc=function(){return this.s};d.se=function(){this.a++};d.pb=function(){return this.a>this.h};
  d.Bh=function(){this.Jb=!0};d.mh=function(){this.Fb=!0};d.cc=function(){return this.m};var Ui={PING:5,EVENT:100,EXCEPTION:50,SECTION_IMPRESSION:999,SECTION_VIEW:100,SECTION_ACTION:50,PRODUCT_IMPRESSION:999,PRODUCT_VIEW:100,PRODUCT_ACTION:50,ORDER_ACTION:50},Vi=new Ri(3,Gi,1,5,15E3,!1);Vi.be();var Wi=new Fi;function Xi(){let a=ti(),b=Wi.b(function(a){{let b=a.a,c=Yi(a),g=b.a?JSON.stringify(b.a):void 0;"PING"===b.ha&&(yi=+new Date);Vi.ae(a.c,b.h,b.s,g,b.headers,a.priority,c)}vi++});0<a.Ec-b&&Zi()}
  function Yi(a){return function(b){if("complete"===b.type){var c=b.target;b=c.getResponseHeader("Content-Type");var e=c.getResponseHeader("Content-Length");c=c.O();if(200===c||201===c||202===c||204===c)if(!e||0===parseInt(e,10))a.a.b(0);else if("application/json"===b||b.startsWith("application/json"))xi++,a.a.b(0)}else"error"===b.type&&(e=b.target.O(),t("An error occurred while fulfilling a telemetry service RPC.",{queuedEvent:a,event:b,xhr:b.target}),wi++,a.a.m(1,0,e))}}
  var Zi=function(a,b,c){let e;return function(){let f=this,g=arguments,l=c&&!e;clearTimeout(e);e=setTimeout(function(){e=null;c&&b.apply(f,g)},a);l&&b.apply(f,g)}}(2500,function(){si.oa?si.oa&&si.Uc?0<ti().Ec&&(5<=Vi.a.h?Zi():Xi()):Zi():na("Tick skipped: telemetry is not enabled.")},!0);function $i(a){let b=Ui[a.ha];{let c=Ai();a=new Ei(c,a,b)}Wi.h(b,a);Zi()};var aj=null,bj=null,cj=null,dj=null;function ej(a){this.message=a}ej.prototype.toString=function(){return this.message};function fj(a){let b=null;switch(a){case "bb:v1:t.df":b=0;break;case "bb:v1:t.sid":b=1;break;case "bb:v1:t.oid":b=0;break;case "bb:v1:t.uid":b=1}if(null===b)throw new ej("Failed to resolve global state of type: '"+b+"'.");return b}
  function gj(a){var b=fj(a);if(null===b)throw new ej("Failed to resolve global state of type: '"+b+"'.");var c=null;switch(b){case 0:c=window.localStorage.getItem(a);break;case 1:c=window.sessionStorage.getItem(a)}b=c&&"string"===typeof c?c:null;if(null===b){b=Ai();{c=b;let e=fj(a),f=null;"string"===typeof c&&c?f=c:null!==c&&(f=JSON.stringify(c));switch(e){case 0:null!==f?window.localStorage.setItem(a,f):window.localStorage.removeItem(a);break;case 1:null!==f?window.sessionStorage.setItem(a,f):window.sessionStorage.removeItem(a)}}}return b}
  ;function hj(a,b,c,e,f){this.c=f||Ai();this.f=a;c&&Object.isFrozen&&!Object.isFrozen(c)&&Object.freeze(c);this.a=c||null;this.s=e||+new Date;this.b=this.h=null}d=hj.prototype;d.Se=function(a,b){this.h&&"function"===typeof this.h&&"_BASE_EVENT_ON_SUCCESS_"!==b&&this.h(a,"_BASE_EVENT_ON_SUCCESS_");this.h=null};d.Qe=function(a,b,c,e){this.b&&"function"===typeof this.b&&"_BASE_EVENT_ON_FAILURE_"!==e&&this.b(a,b,c,"_BASE_EVENT_ON_FAILURE_");this.b=null};
  d.md=function(a){let b=[];for(let c=0;c<a.length;c+=32768)b.push(String.fromCharCode.apply(null,a.subarray(c,c+32768)))};
  d.od=function(){if(null===aj){var a=u,b=a.ea||null,c=a.location||null;null===bj&&(bj=gj("bb:v1:t.df"));a=bj;null===cj&&(cj=gj("bb:v1:t.sid"));var e=cj;null===dj&&(dj=gj("bb:v1:t.oid"));var f=dj;var g=new Bh;var l=0;ji?l=1:ii?l=3:hi&&(l=2);g.gf(l);g.wi();if(window.screen){var r=window.screen.availHeight;let a=window.screen.availWidth;var A=window.screen.height;let b=window.screen.width;l=window.devicePixelRatio;var x=new xh;x.i(r);x.u(a);r=new xh;r.i(A);r.u(b);A=new zh;A.Oi(x);A.ef(r);A.Ih(l);A.df();
  g.ff(A)}l=0;bb||ab||cb||db?l=100:(Ya||Ta)&&Wa?l=5:Ya||Ta?l=4:Ec?l=200:Xa?l=101:Za&&(l=6);x=new vh;A=new eh;A.c(ki);x.i(l);x.u(A);g.ii(x);l=new oh;x=navigator.userAgent;l.Ye();l.Ni(x);"number"===typeof navigator.maxTouchPoints&&l.Ki();"number"===typeof navigator.hardwareConcurrency&&l.Vh();window.screen&&"number"===typeof window.screen.colorDepth&&l.Ah();x=0;Fc?x=1:Gc?x=2:Dc?x=3:Qa?x=4:Ta&&(x=5);l.uh(x);x=new eh;x.c(fb);l.Ze(x);x=li();A=new jh;A.Oc(x);A.af();aj=new ni(null,b,c,a,e,null,window.__BLOOMBOX_DEVICE__||
  null,null,null,f,A,l,g)}b=aj.X();b=this.jh(b);a=this.ha();e=this.Jc();f={};b.ba()&&b.ba().getName()&&(f.collection={name:b.ba().getName()});b.Ia()&&(f.fingerprint=b.Ia());b.xa()&&(f.group=b.xa());b.Y()&&b.Y().c()&&(f.userKey={uid:b.Y().c()});b.qe()&&(c={},b.W().c()&&(c.partner=b.W().c()),b.W().f()&&(c.commercial=b.W().f()),b.W().i()&&(c.order=b.W().i()),f.scope=c);b.ne()&&(f.app={type:b.G().Ac()},b.G().re()&&(c={origin:b.G().L().Zb()},b.G().L().xb()&&(c.location=b.G().L().xb()),b.G().L().Za()&&(c.anchor=
  b.G().L().Za()),b.G().L().yb()&&(c.title=b.G().L().yb()),b.G().L().gb()&&(c.referrer=b.G().L().gb()),b.G().L().fb()&&(c.protocol=b.G().L().fb()),f.app.web=c));b.za().vb()&&(f.library={variant:b.za().vb(),version:oi(b.za().Bc())});b.oe()&&(c=b.Mb(),c={browserType:c.Nb(),version:oi(c.zc()),language:c.yc(),userAgent:c.gc(),touchpoints:c.fc(),hardwareConcurrency:c.Vb(),colorDepth:c.Ob()},f.browser=c);b.pe()&&(c=b.Xb(),c={type:c.Cc(),role:c.ec(),os:{type:c.cb().c(),version:oi(c.cb().f())},screen:{screen:{width:c.$().wb().f(),
  height:c.$().wb().c()},viewport:{width:c.$().jb().f(),height:c.$().jb().c()},density:c.$().Rb(),orientation:c.$().Yb()}},f["native"]=c);e=Object.assign({},null===e?{}:e,{context:f});f=b.Ue();this.md(f);JSON.stringify(e);JSON.stringify(Object.assign({},{payload:e.payload}));return new pi(0,a,this.Se,this.Qe,e,b)};d.kd=function(){this.b=this.h=null;let a=this.od();$i(a)};d.abort=function(){Vi.abort(this.c)};d.Gb=function(){this.kd()};
  d.jh=function(a){var b=this.f.X().M();if(0===b.length)b=a;else{a=new a.constructor(gd(a.M()));var c=a.M(),e;for(e=0;e<b.length;e++){var f=b[e];void 0!==f&&(c[e]=f)}b=a}this.Bb(b);return b};d.Bb=function(a){if(!a.Ia())throw new mi("Missing device fingerprint ID.");if(!a.xa())throw new mi("Missing device session ID.");};d.kh=function(){var a=+new Date;return this.s||a};function ij(a,b,c,e){this.m=a;this.s=e||+new Date;a=new ni(this.m);hj.apply(this,[a,"EVENT",b,this.s])}q(ij,hj);d=ij.prototype;d.ha=function(){return"EVENT"};d.ve=function(){return this.m.name.startsWith("_bloom_")};d.Bb=function(a){hj.prototype.Bb.apply(this,[a]);if(!this.ve&&(a=a.W().c(),-1===a.indexOf("partner/")||-1===a.indexOf("location/")))throw new mi("Must specify a location code before sending analytics events.");};
  d.X=function(){let a=new Fh,b=new Q,c=this.Jc();b.c(this.kh());c&&"object"===typeof c&&a.c(od(c));a.f(b);return a};d.Jc=function(){return{event:{payload:this.a}}};function lj(a,b,c,e){a="string"!==typeof a?a:gi(a);return new ij(a,b,null,e)}p("bloombox.telemetry.event",lj);var mj=class{constructor(){}};function nj(a,b,c,e,f){a&&b?(a=u,f=Object.assign({},a,{endpoints:Object.assign({},a.Lb||{},{Rc:f||"https://rpc.bloombox.cloud"})}),pa(f),e()):t("Partner or location code is not defined.")}p("bloombox.shop.setup",nj);p("bloombox.shop.api",function(a){let b=u;return!0===b.beta||a&&!0===a.beta?new bi(b):new mj(b)});function oj(){return"true"===window.sessionStorage.getItem("bb:1:t:opt_out")&&!si.oa}p("bloombox.telemetry.optout",function(){na("Opted-out of telemetry transmission.");si.oa=!1;window.sessionStorage.setItem("bb:1:t:opt_out","false")});function pj(a){a=new pi(Ai(),"PING",qj(a),rj);$i(a)}p("bloombox.telemetry.ping",pj);function rj(){na("Telemetry ping failed.")}function qj(a){return function(){zi=+new Date;let b=ti();a(b.Ke-b.Je)}};function sj(a,b,c,e,f){a&&b?(a=u,f=Object.assign({},a,{endpoints:Object.assign({},a.Lb||{},{Rc:f||"https://rpc.bloombox.cloud"})}),pa(f),e(),tj()):t("Partner or location code is not defined.")}p("bloombox.telemetry.setup",sj);var uj=window.location.href;function vj(){window.location.href!==uj&&(uj=window.location.href,lj("_bloom_:v1beta4:pageview").Gb())}function wj(){window.location.href!==uj&&vj();setTimeout(wj,1500)}
  function tj(){oj()?na("User opted-out of telemetry, skipping initial ping."):pj(function(){oj()?na("User opted-out of telemetry, skipping initial events."):lj("_bloom_:v1beta4:library",{distribution:"js-client"}).Gb();window.addEventListener("hashchange",vj);wj()})};p("bloombox.VARIANT","full");p("bloombox.INTERNAL_API_KEY","AIzaSyAEOsmEqQP5vX8aPvrlZH0f3AN7eGubL60");p("bloombox.JS_PROJECT_ID","bloom-js");p("bloombox.ERROR_REPORTING",!1);p("bloombox.ERROR_REPORTER",null);p("bloombox.setup",function(a,b,c,e,f){a&&b?(f=Object.assign({},u,f||{},{key:c,ea:a,location:b}),pa(f),sj(a,b,c,function(){Zh(a,b,c,function(){nj(a,b,c,function(){e()})})})):t("Partner or location code is not defined.")});}).call(this);
  