text: const mockingPaymentData = {
      apiVersion: 2,
      apiVersionMinor: 0,
      email: 'checkout@bigcommerce.com',
      paymentMethodData: {
          description: 'Mastercard •••• 0304',
          info: {
              billingAddress: {
                  address1: '1000, 5th Avenue',
                  address2: '',
                  address3: '',
                  administrativeArea: 'New York',
                  companyName: 'BIGC',
                  countryCode: 'US',
                  locality: 'US',
                  name: 'Google Pay Test Robot',
                  postalCode: '10028',
                  sortingCode: 'not sure',
                  phoneNumber: '+1 650-555-5555',
              },
              cardDetails: '0304',
              cardNetwork: 'MASTERCARD',
          },
          tokenizationData: {
              token: `{"androidPayCards": [{"nonce": "nonce", "type": "AndroidPayCard", "description": "", "details": {"cardType": "type", "lastFour": "", "lastTwo": ""}}]}`,
              type: 'PAYMENT_GATEWAY',
          },
          type: 'CARD',
      },
      shippingAddress: null,
  };
  
  
  
  window['denylistedDomainsHashedValueListForGpayButtonWithCardInfo'] = [-718583466,-651407173,1501053020,1270931793];window['whitelistedDomainsHashedValueListForGpayButtonWithCardInfo'] = [1432838318];window['denylistedMerchentIdsHashedValueListForGpayButtonWithCardInfo'] = [1260893,211376492];/*
  
   Copyright The Closure Library Authors.
   SPDX-License-Identifier: Apache-2.0
  */
  var a=this||self;var b=["google","payments","api","ReadyToPayAdditionalBrowsers"],c=window||a;b[0]in c||"undefined"==typeof c.execScript||c.execScript("var "+b[0]);for(var d;b.length&&(d=b.shift());)b.length?c=c[d]&&c[d]!==Object.prototype[d]?c[d]:c[d]={}:c[d]=!0;
  /*
  
   Copyright The Closure Library Authors.
   SPDX-License-Identifier: Apache-2.0
  */
  var a=this||self;var b=["google","payments","api","EnablePopupForChromeAndroid"],c=window||a;b[0]in c||"undefined"==typeof c.execScript||c.execScript("var "+b[0]);for(var d;b.length&&(d=b.shift());)b.length?c=c[d]&&c[d]!==Object.prototype[d]?c[d]:c[d]={}:c[d]=!0;
  /*
  
   Copyright The Closure Library Authors.
   SPDX-License-Identifier: Apache-2.0
  */
  var a=this||self;var b=["google","payments","api","EnableDynamicGpayButton"],c=window||a;b[0]in c||"undefined"==typeof c.execScript||c.execScript("var "+b[0]);for(var d;b.length&&(d=b.shift());)b.length?c=c[d]&&c[d]!==Object.prototype[d]?c[d]:c[d]={}:c[d]=!0;
  /*
  
   Copyright The Closure Library Authors.
   SPDX-License-Identifier: Apache-2.0
  */
  var a=this||self;var b=["google","payments","api","EnableDynamicUpdateForClank"],c=window||a;b[0]in c||"undefined"==typeof c.execScript||c.execScript("var "+b[0]);for(var d;b.length&&(d=b.shift());)b.length?c=c[d]&&c[d]!==Object.prototype[d]?c[d]:c[d]={}:c[d]=!0;
  /*
  
   Copyright The Closure Library Authors.
   SPDX-License-Identifier: Apache-2.0
  */
  var a=this||self;var b=["google","payments","api","DisableNativeReadyToPayCheckForPaymentHandler"],c=window||a;b[0]in c||"undefined"==typeof c.execScript||c.execScript("var "+b[0]);for(var d;b.length&&(d=b.shift());)b.length?c=c[d]&&c[d]!==Object.prototype[d]?c[d]:c[d]={}:c[d]=!0;
  /*
  
   Copyright The Closure Library Authors.
   SPDX-License-Identifier: Apache-2.0
  */
  var a=this||self;var b=["google","payments","api","DisablePaymentRequest"],c=window||a;b[0]in c||"undefined"==typeof c.execScript||c.execScript("var "+b[0]);for(var d;b.length&&(d=b.shift());)b.length?c=c[d]&&c[d]!==Object.prototype[d]?c[d]:c[d]={}:c[d]=!0;
  /*
  
   Copyright The Closure Library Authors.
   SPDX-License-Identifier: Apache-2.0
  */
  var a=this||self;var b=["google","payments","api","EnablePaymentRequest"],c=window||a;b[0]in c||"undefined"==typeof c.execScript||c.execScript("var "+b[0]);for(var d;b.length&&(d=b.shift());)b.length?c=c[d]&&c[d]!==Object.prototype[d]?c[d]:c[d]={}:c[d]=!0;
  /*
  
   Copyright The Closure Library Authors.
   SPDX-License-Identifier: Apache-2.0
  */
  var a=this||self;var b=["google","payments","api","EnableLoadPaymentDataTimeout"],c=window||a;b[0]in c||"undefined"==typeof c.execScript||c.execScript("var "+b[0]);for(var d;b.length&&(d=b.shift());)b.length?c=c[d]&&c[d]!==Object.prototype[d]?c[d]:c[d]={}:c[d]=!0;
  /*
  
   Copyright The Closure Library Authors.
   SPDX-License-Identifier: Apache-2.0
  */
  var a=this||self;var b=["google","payments","api","EnableOfferCallback"],c=window||a;b[0]in c||"undefined"==typeof c.execScript||c.execScript("var "+b[0]);for(var d;b.length&&(d=b.shift());)b.length?c=c[d]&&c[d]!==Object.prototype[d]?c[d]:c[d]={}:c[d]=!0;
  /*
  
   Copyright The Closure Library Authors.
   SPDX-License-Identifier: Apache-2.0
  */
  var a=this||self;var b=["google","payments","api","EnablePaymentMethodCallback"],c=window||a;b[0]in c||"undefined"==typeof c.execScript||c.execScript("var "+b[0]);for(var d;b.length&&(d=b.shift());)b.length?c=c[d]&&c[d]!==Object.prototype[d]?c[d]:c[d]={}:c[d]=!0;
  /*
  
   Copyright The Closure Library Authors.
   SPDX-License-Identifier: Apache-2.0
  */
  var a=this||self;var b=["google","payments","api","UseCanMakePaymentResultFromPayjs"],c=window||a;b[0]in c||"undefined"==typeof c.execScript||c.execScript("var "+b[0]);for(var d;b.length&&(d=b.shift());)b.length?c=c[d]&&c[d]!==Object.prototype[d]?c[d]:c[d]={}:c[d]=!0;
  /*
  
   Copyright The Closure Library Authors.
   SPDX-License-Identifier: Apache-2.0
  */
  var a=this||self;var b=["google","payments","api","UseCanMakePaymentForFallbackOnMobile"],c=window||a;b[0]in c||"undefined"==typeof c.execScript||c.execScript("var "+b[0]);for(var d;b.length&&(d=b.shift());)b.length?c=c[d]&&c[d]!==Object.prototype[d]?c[d]:c[d]={}:c[d]=!0;
  (function(){/*
  
   Copyright The Closure Library Authors.
   SPDX-License-Identifier: Apache-2.0
  */
      var m,n,aa=function(a){var b=0;return function(){return b<a.length?{done:!1,value:a[b++]}:{done:!0}}},ba="function"==typeof Object.defineProperties?Object.defineProperty:function(a,b,c){if(a==Array.prototype||a==Object.prototype)return a;a[b]=c.value;return a},ca=function(a){a=["object"==typeof globalThis&&globalThis,a,"object"==typeof window&&window,"object"==typeof self&&self,"object"==typeof global&&global];for(var b=0;b<a.length;++b){var c=a[b];if(c&&c.Math==Math)return c}throw Error("Cannot find global object");
      },p=ca(this),da="function"===typeof Symbol&&"symbol"===typeof Symbol("x"),r={},ea={},t=function(a,b){var c=ea[b];if(null==c)return a[b];c=a[c];return void 0!==c?c:a[b]},u=function(a,b,c){if(b)a:{var d=a.split(".");a=1===d.length;var e=d[0];e=!a&&e in r?r:p;for(var g=0;g<d.length-1;g++){var f=d[g];if(!(f in e))break a;e=e[f]}d=d[d.length-1];c=da&&"es6"===c?e[d]:null;b=b(c);null!=b&&(a?ba(r,d,{configurable:!0,writable:!0,value:b}):b!==c&&(void 0===ea[d]&&(a=1E9*Math.random()>>>0,ea[d]=da?p.Symbol(d):
          "$jscp$"+a+"$"+d),ba(e,ea[d],{configurable:!0,writable:!0,value:b})))}};u("Symbol",function(a){if(a)return a;var b=function(g,f){this.bc=g;ba(this,"description",{configurable:!0,writable:!0,value:f})};b.prototype.toString=function(){return this.bc};var c="jscomp_symbol_"+(1E9*Math.random()>>>0)+"_",d=0,e=function(g){if(this instanceof e)throw new TypeError("Symbol is not a constructor");return new b(c+(g||"")+"_"+d++,g)};return e},"es6");
      u("Symbol.iterator",function(a){if(a)return a;a=(0,r.Symbol)("Symbol.iterator");for(var b="Array Int8Array Uint8Array Uint8ClampedArray Int16Array Uint16Array Int32Array Uint32Array Float32Array Float64Array".split(" "),c=0;c<b.length;c++){var d=p[b[c]];"function"===typeof d&&"function"!=typeof d.prototype[a]&&ba(d.prototype,a,{configurable:!0,writable:!0,value:function(){return fa(aa(this))}})}return a},"es6");
      var fa=function(a){a={next:a};a[t(r.Symbol,"iterator")]=function(){return this};return a},ha=function(a){var b="undefined"!=typeof r.Symbol&&t(r.Symbol,"iterator")&&a[t(r.Symbol,"iterator")];return b?b.call(a):{next:aa(a)}},ja=function(a){if(!(a instanceof Array)){a=ha(a);for(var b,c=[];!(b=a.next()).done;)c.push(b.value);a=c}return a};
      u("Promise",function(a){function b(){this.W=null}function c(f){return f instanceof e?f:new e(function(h){h(f)})}if(a)return a;b.prototype.Gb=function(f){if(null==this.W){this.W=[];var h=this;this.Hb(function(){h.nc()})}this.W.push(f)};var d=p.setTimeout;b.prototype.Hb=function(f){d(f,0)};b.prototype.nc=function(){for(;this.W&&this.W.length;){var f=this.W;this.W=[];for(var h=0;h<f.length;++h){var k=f[h];f[h]=null;try{k()}catch(l){this.jc(l)}}}this.W=null};b.prototype.jc=function(f){this.Hb(function(){throw f;
      })};var e=function(f){this.ta=0;this.aa=void 0;this.sa=[];this.Pb=!1;var h=this.ib();try{f(h.resolve,h.reject)}catch(k){h.reject(k)}};e.prototype.ib=function(){function f(l){return function(q){k||(k=!0,l.call(h,q))}}var h=this,k=!1;return{resolve:f(this.Ac),reject:f(this.wb)}};e.prototype.Ac=function(f){if(f===this)this.wb(new TypeError("A Promise cannot resolve to itself"));else if(f instanceof e)this.Dc(f);else{a:switch(typeof f){case "object":var h=null!=f;break a;case "function":h=!0;break a;
          default:h=!1}h?this.zc(f):this.Nb(f)}};e.prototype.zc=function(f){var h=void 0;try{h=f.then}catch(k){this.wb(k);return}"function"==typeof h?this.Ec(h,f):this.Nb(f)};e.prototype.wb=function(f){this.ac(2,f)};e.prototype.Nb=function(f){this.ac(1,f)};e.prototype.ac=function(f,h){if(0!=this.ta)throw Error("Cannot settle("+f+", "+h+"): Promise already settled in state"+this.ta);this.ta=f;this.aa=h;2===this.ta&&this.Bc();this.oc()};e.prototype.Bc=function(){var f=this;d(function(){if(f.sc()){var h=p.console;
          "undefined"!==typeof h&&h.error(f.aa)}},1)};e.prototype.sc=function(){if(this.Pb)return!1;var f=p.CustomEvent,h=p.Event,k=p.dispatchEvent;if("undefined"===typeof k)return!0;"function"===typeof f?f=new f("unhandledrejection",{cancelable:!0}):"function"===typeof h?f=new h("unhandledrejection",{cancelable:!0}):(f=p.document.createEvent("CustomEvent"),f.initCustomEvent("unhandledrejection",!1,!0,f));f.promise=this;f.reason=this.aa;return k(f)};e.prototype.oc=function(){if(null!=this.sa){for(var f=0;f<
      this.sa.length;++f)g.Gb(this.sa[f]);this.sa=null}};var g=new b;e.prototype.Dc=function(f){var h=this.ib();f.Ta(h.resolve,h.reject)};e.prototype.Ec=function(f,h){var k=this.ib();try{f.call(h,k.resolve,k.reject)}catch(l){k.reject(l)}};e.prototype.then=function(f,h){function k(y,G){return"function"==typeof y?function(ia){try{l(y(ia))}catch(S){q(S)}}:G}var l,q,x=new e(function(y,G){l=y;q=G});this.Ta(k(f,l),k(h,q));return x};e.prototype.catch=function(f){return this.then(void 0,f)};e.prototype.Ta=function(f,
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                h){function k(){switch(l.ta){case 1:f(l.aa);break;case 2:h(l.aa);break;default:throw Error("Unexpected state: "+l.ta);}}var l=this;null==this.sa?g.Gb(k):this.sa.push(k);this.Pb=!0};e.resolve=c;e.reject=function(f){return new e(function(h,k){k(f)})};e.race=function(f){return new e(function(h,k){for(var l=ha(f),q=l.next();!q.done;q=l.next())c(q.value).Ta(h,k)})};e.all=function(f){var h=ha(f),k=h.next();return k.done?c([]):new e(function(l,q){function x(ia){return function(S){y[ia]=S;G--;0==G&&l(y)}}
          var y=[],G=0;do y.push(void 0),G++,c(k.value).Ta(x(y.length-1),q),k=h.next();while(!k.done)})};return e},"es6");var v=function(a,b){return Object.prototype.hasOwnProperty.call(a,b)};
      u("WeakMap",function(a){function b(){}function c(f){var h=typeof f;return"object"===h&&null!==f||"function"===h}if(function(){if(!a||!Object.seal)return!1;try{var f=Object.seal({}),h=Object.seal({}),k=new a([[f,2],[h,3]]);if(2!=k.get(f)||3!=k.get(h))return!1;k.delete(f);k.set(h,4);return!k.has(f)&&4==k.get(h)}catch(l){return!1}}())return a;var d="$jscomp_hidden_"+Math.random(),e=0,g=function(f){this.Ba=(e+=Math.random()+1).toString();if(f){f=ha(f);for(var h;!(h=f.next()).done;)h=h.value,this.set(h[0],
          h[1])}};g.prototype.set=function(f,h){if(!c(f))throw Error("Invalid WeakMap key");if(!v(f,d)){var k=new b;ba(f,d,{value:k})}if(!v(f,d))throw Error("WeakMap key fail: "+f);f[d][this.Ba]=h;return this};g.prototype.get=function(f){return c(f)&&v(f,d)?f[d][this.Ba]:void 0};g.prototype.has=function(f){return c(f)&&v(f,d)&&v(f[d],this.Ba)};g.prototype.delete=function(f){return c(f)&&v(f,d)&&v(f[d],this.Ba)?delete f[d][this.Ba]:!1};return g},"es6");
      u("Map",function(a){if(function(){if(!a||"function"!=typeof a||!a.prototype.entries||"function"!=typeof Object.seal)return!1;try{var h=Object.seal({x:4}),k=new a(ha([[h,"s"]]));if("s"!=k.get(h)||1!=k.size||k.get({x:4})||k.set({x:4},"t")!=k||2!=k.size)return!1;var l=k.entries(),q=l.next();if(q.done||q.value[0]!=h||"s"!=q.value[1])return!1;q=l.next();return q.done||4!=q.value[0].x||"t"!=q.value[1]||!l.next().done?!1:!0}catch(x){return!1}}())return a;var b=new r.WeakMap,c=function(h){this.ia={};this.S=
          g();this.size=0;if(h){h=ha(h);for(var k;!(k=h.next()).done;)k=k.value,this.set(k[0],k[1])}};c.prototype.set=function(h,k){h=0===h?0:h;var l=d(this,h);l.list||(l.list=this.ia[l.id]=[]);l.u?l.u.value=k:(l.u={next:this.S,V:this.S.V,head:this.S,key:h,value:k},l.list.push(l.u),this.S.V.next=l.u,this.S.V=l.u,this.size++);return this};c.prototype.delete=function(h){h=d(this,h);return h.u&&h.list?(h.list.splice(h.index,1),h.list.length||delete this.ia[h.id],h.u.V.next=h.u.next,h.u.next.V=h.u.V,h.u.head=null,
          this.size--,!0):!1};c.prototype.clear=function(){this.ia={};this.S=this.S.V=g();this.size=0};c.prototype.has=function(h){return!!d(this,h).u};c.prototype.get=function(h){return(h=d(this,h).u)&&h.value};c.prototype.entries=function(){return e(this,function(h){return[h.key,h.value]})};c.prototype.keys=function(){return e(this,function(h){return h.key})};c.prototype.values=function(){return e(this,function(h){return h.value})};c.prototype.forEach=function(h,k){for(var l=this.entries(),q;!(q=l.next()).done;)q=
          q.value,h.call(k,q[1],q[0],this)};c.prototype[t(r.Symbol,"iterator")]=c.prototype.entries;var d=function(h,k){var l=k&&typeof k;"object"==l||"function"==l?b.has(k)?l=b.get(k):(l=""+ ++f,b.set(k,l)):l="p_"+k;var q=h.ia[l];if(q&&v(h.ia,l))for(h=0;h<q.length;h++){var x=q[h];if(k!==k&&x.key!==x.key||k===x.key)return{id:l,list:q,index:h,u:x}}return{id:l,list:q,index:-1,u:void 0}},e=function(h,k){var l=h.S;return fa(function(){if(l){for(;l.head!=h.S;)l=l.V;for(;l.next!=l.head;)return l=l.next,{done:!1,
          value:k(l)};l=null}return{done:!0,value:void 0}})},g=function(){var h={};return h.V=h.next=h.head=h},f=0;return c},"es6");var ka=function(a,b){a instanceof String&&(a+="");var c=0,d=!1,e={next:function(){if(!d&&c<a.length){var g=c++;return{value:b(g,a[g]),done:!1}}d=!0;return{done:!0,value:void 0}}};e[t(r.Symbol,"iterator")]=function(){return e};return e};u("Array.prototype.values",function(a){return a?a:function(){return ka(this,function(b,c){return c})}},"es8");
      u("Array.prototype.keys",function(a){return a?a:function(){return ka(this,function(b){return b})}},"es6");u("Array.from",function(a){return a?a:function(b,c,d){c=null!=c?c:function(h){return h};var e=[],g="undefined"!=typeof r.Symbol&&t(r.Symbol,"iterator")&&b[t(r.Symbol,"iterator")];if("function"==typeof g){b=g.call(b);for(var f=0;!(g=b.next()).done;)e.push(c.call(d,g.value,f++))}else for(g=b.length,f=0;f<g;f++)e.push(c.call(d,b[f],f));return e}},"es6");
      u("Object.values",function(a){return a?a:function(b){var c=[],d;for(d in b)v(b,d)&&c.push(b[d]);return c}},"es8");u("Object.is",function(a){return a?a:function(b,c){return b===c?0!==b||1/b===1/c:b!==b&&c!==c}},"es6");u("Array.prototype.includes",function(a){return a?a:function(b,c){var d=this;d instanceof String&&(d=String(d));var e=d.length;c=c||0;for(0>c&&(c=Math.max(c+e,0));c<e;c++){var g=d[c];if(g===b||t(Object,"is").call(Object,g,b))return!0}return!1}},"es7");
      u("String.prototype.includes",function(a){return a?a:function(b,c){if(null==this)throw new TypeError("The 'this' value for String.prototype.includes must not be null or undefined");if(b instanceof RegExp)throw new TypeError("First argument to String.prototype.includes must not be a regular expression");return-1!==(this+"").indexOf(b,c||0)}},"es6");
      var la=da&&"function"==typeof t(Object,"assign")?t(Object,"assign"):function(a,b){for(var c=1;c<arguments.length;c++){var d=arguments[c];if(d)for(var e in d)v(d,e)&&(a[e]=d[e])}return a};u("Object.assign",function(a){return a||la},"es6");
      var w=this||self,ma=function(a,b){a=a.split(".");var c=window||w;a[0]in c||"undefined"==typeof c.execScript||c.execScript("var "+a[0]);for(var d;a.length&&(d=a.shift());)a.length||void 0===b?c=c[d]&&c[d]!==Object.prototype[d]?c[d]:c[d]={}:c[d]=b},z=function(a){var b=typeof a;return"object"!=b?b:a?Array.isArray(a)?"array":b:"null"},na=function(a){var b=z(a);return"array"==b||"object"==b&&"number"==typeof a.length},oa=function(a){var b=typeof a;return"object"==b&&null!=a||"function"==b},pa=function(a,
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            b,c){return a.call.apply(a.bind,arguments)},qa=function(a,b,c){if(!a)throw Error();if(2<arguments.length){var d=Array.prototype.slice.call(arguments,2);return function(){var e=Array.prototype.slice.call(arguments);Array.prototype.unshift.apply(e,d);return a.apply(b,e)}}return function(){return a.apply(b,arguments)}},ra=function(a,b,c){ra=Function.prototype.bind&&-1!=Function.prototype.bind.toString().indexOf("native code")?pa:qa;return ra.apply(null,arguments)},sa=function(a,b){function c(){}c.prototype=
          b.prototype;a.La=b.prototype;a.prototype=new c;a.prototype.constructor=a;a.rd=function(d,e,g){for(var f=Array(arguments.length-2),h=2;h<arguments.length;h++)f[h-2]=arguments[h];return b.prototype[e].apply(d,f)}},ta=function(a){return a};function ua(a){if(Error.captureStackTrace)Error.captureStackTrace(this,ua);else{var b=Error().stack;b&&(this.stack=b)}a&&(this.message=String(a))}sa(ua,Error);ua.prototype.name="CustomError";function va(a,b){a=a.split("%s");for(var c="",d=a.length-1,e=0;e<d;e++)c+=a[e]+(e<b.length?b[e]:"%s");ua.call(this,c+a[d])}sa(va,ua);va.prototype.name="AssertionError";function wa(a,b,c,d){var e="Assertion failed";if(c){e+=": "+c;var g=d}else a&&(e+=": "+a,g=b);throw new va(""+e,g||[]);}
      var A=function(a,b,c){a||wa("",null,b,Array.prototype.slice.call(arguments,2));return a},xa=function(a,b){throw new va("Failure"+(a?": "+a:""),Array.prototype.slice.call(arguments,1));},ya=function(a,b,c){"number"!==typeof a&&wa("Expected number but got %s: %s.",[z(a),a],b,Array.prototype.slice.call(arguments,2));return a},za=function(a,b,c){"string"!==typeof a&&wa("Expected string but got %s: %s.",[z(a),a],b,Array.prototype.slice.call(arguments,2))},Aa=function(a,b,c){oa(a)||wa("Expected object but got %s: %s.",
          [z(a),a],b,Array.prototype.slice.call(arguments,2))};var B=function(a,b){this.Bb=a===Ba&&b||"";this.fc=Ca};B.prototype.Da=!0;B.prototype.Aa=function(){return this.Bb};B.prototype.toString=function(){return"Const{"+this.Bb+"}"};var C=function(a){if(a instanceof B&&a.constructor===B&&a.fc===Ca)return a.Bb;xa("expected object of type Const, got '"+a+"'");return"type_error:Const"},D=function(a){return new B(Ba,a)},Ca={},Ba={};var Da={cc:"PAYMENT_AUTHORIZATION",dc:"SHIPPING_ADDRESS",ec:"SHIPPING_OPTION",md:"UNKNOWN_INTENT"},Ea={Lc:"CANARY",Vc:"LOCAL",dd:"PREPROD",ed:"PRODUCTION",fd:"SANDBOX",jd:"TEST",kd:"TIN"},Fa={Mc:"CARD",ld:"TOKENIZED_CARD",od:"UPI"},Ga={Oc:"CRYPTOGRAM_3DS",ad:"PAN_ONLY"},Ha={Rc:"ESTIMATED",Tc:"FINAL",Xc:"NOT_CURRENTLY_KNOWN"},Ia={SHORT:"short",Wc:"long",cd:"plain",Kc:"buy",Qc:"donate",Jc:"book",Nc:"checkout",Zc:"order",bd:"pay",hd:"subscribe"},Ja={Pc:"default",Ic:"black",pd:"white"},Ka={gd:"static",
              Sc:"fill"},La={buy:{en:152,ar:189,bg:163,ca:182,cs:192,da:154,de:183,el:178,es:183,et:147,fi:148,fr:183,hr:157,id:186,it:182,ja:148,ko:137,ms:186,nl:167,no:158,pl:182,pt:193,ru:206,sk:157,sl:211,sr:146,sv:154,th:146,tr:161,uk:207,zh:156},book:{ar:205,bg:233,ca:187,cs:213,da:162,de:176,el:180,en:161,es:188,et:186,fi:152,fr:197,hr:198,id:195,it:178,ja:150,ko:150,ms:211,nl:178,no:195,pl:221,pt:208,ru:265,sk:206,sl:266,sr:196,sv:161,th:150,tr:238,uk:248,zh:158},checkout:{ar:245,bg:200,ca:268,cs:175,da:162,
                  de:188,el:286,en:201,es:188,et:171,fi:158,fr:170,hr:166,id:226,it:256,ja:150,ko:150,ms:291,nl:178,no:230,pl:187,pt:271,ru:283,sk:176,sl:313,sr:153,sv:172,th:168,tr:195,uk:216,zh:158},donate:{ar:205,bg:205,ca:162,cs:212,da:171,de:186,el:163,en:180,es:165,et:150,fi:171,fr:225,hr:182,id:237,it:157,ja:167,ko:150,ms:201,nl:187,no:171,pl:252,pt:175,ru:342,sk:178,sl:242,sr:171,sv:181,th:158,tr:181,uk:256,zh:158},order:{ar:198,bg:195,ca:247,cs:198,da:166,de:190,el:208,en:170,es:157,et:150,fi:150,fr:226,hr:201,
                  id:195,it:171,ja:150,ko:150,ms:195,nl:192,no:171,pl:190,pt:177,ru:207,sk:190,sl:240,sr:165,sv:176,th:151,tr:188,uk:216,zh:158},pay:{ar:202,bg:200,ca:160,cs:183,da:162,de:188,el:185,en:150,es:162,et:150,fi:158,fr:170,hr:172,id:192,it:155,ja:150,ko:150,ms:192,nl:178,no:162,pl:187,pt:182,ru:213,sk:176,sl:225,sr:153,sv:172,th:168,tr:150,uk:216,zh:158},subscribe:{ar:221,bg:217,ca:226,cs:201,da:192,de:208,el:180,en:202,es:206,et:150,fi:150,fr:206,hr:178,id:260,it:190,ja:150,ko:150,ms:216,nl:208,no:192,
                  pl:221,pt:196,ru:243,sk:193,sl:333,sr:217,sv:228,th:213,tr:173,uk:305,zh:158}},Ma=D('<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" direction="ltr" height="36px" width="130px"><style>@import url(//fonts.googleapis.com/css?family=Google+Sans:500)</style><line x1="2" y1="10.5" x2="2" y2="29.5" style="stroke: #d9d9d9; stroke-width:2"></line><image x="11" y="6" width="37.5" height="29" preserveAspectRatio="none" xlink:href="https://www.gstatic.com/images/icons/material/system/1x/payment_grey600_36dp.png"></image><text x="52" y="25.5" class="small" style="font: 15px \'Google Sans\', sans-serif; fill: #5F6368">\u2022\u2022\u2022\u2022\u2022\u2022</text></svg>'),
          Na=D('<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" direction="ltr" height="36px" width="130px"><style>@import url(//fonts.googleapis.com/css?family=Google+Sans:500)</style><line x1="2" y1="10.5" x2="2" y2="29.5" style="stroke: #5F6368; stroke-width:2"></line><image x="11" y="6" width="37.5" height="29" preserveAspectRatio="none" xlink:href="https://www.gstatic.com/images/icons/material/system/1x/payment_white_36dp.png"></image><text x="52" y="25.5" class="small" style="font: 15px \'Google Sans\', sans-serif; fill: #FFFFFF">\u2022\u2022\u2022\u2022\u2022\u2022</text></svg>'),
          Oa=D('<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" direction="ltr" viewBox="0 0 130 36"><style>@import url(//fonts.googleapis.com/css?family=Google+Sans:500)</style><line x1="8" y1="7" x2="8" y2="26" style="stroke: #d9d9d9; stroke-width:2"></line><image x="16" y="2.5" width="37.5" height="29" preserveAspectRatio="none" xlink:href="https://www.gstatic.com/images/icons/material/system/1x/payment_grey600_36dp.png"></image><text x="57" y="22" class="small" style="font: 15px \'Google Sans\', sans-serif; fill: #5f6368">\u2022\u2022\u2022\u2022\u2022\u2022</text></svg>'),
          Pa=D('<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" direction="ltr" viewBox="0 0 130 36"><style>@import url(//fonts.googleapis.com/css?family=Google+Sans:500)</style><line x1="8" y1="7" x2="8" y2="26" style="stroke: #5f6368; stroke-width:2"></line><image x="16" y="2.5" width="37.5" height="29" preserveAspectRatio="none" xlink:href="https://www.gstatic.com/images/icons/material/system/1x/payment_white_36dp.png"></image><text x="57" y="22" class="small" style="font: 15px \'Google Sans\', sans-serif; fill: #fff">\u2022\u2022\u2022\u2022\u2022\u2022</text></svg>');function Qa(a,b){b=void 0===b?document:b;var c=document.createElement("style");c.type="text/css";c.textContent=a;if(b instanceof HTMLDocument)document.head.appendChild(c);else if(b instanceof ShadowRoot)b.appendChild(c);else throw Error("Parameter 'buttonRootNode' should be either document or a shadowroot.");};/*
  
  Math.uuid.js (v1.4)
  http://www.broofa.com
  mailto:robert@broofa.com
  Copyright (c) 2010 Robert Kieffer
  Dual licensed under the MIT and GPL licenses.
  */
      var Ra="0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz".split("");function Sa(a){for(var b=Array(36),c=0,d,e=0;36>e;e++)8==e||13==e||18==e||23==e?b[e]="-":14==e?b[e]="4":(2>=c&&(c=33554432+16777216*Math.random()|0),d=c&15,c>>=4,b[e]=Ra[19==e?d&3|8:d]);return b.join("")+"."+a}function Ta(a){for(var b=1;b<arguments.length;b++)a=Ua(a,arguments[b]);return a}
      function Ua(a,b){if("object"!==typeof b||null===b)return a;for(var c in b)b.hasOwnProperty(c)&&void 0!==b[c]&&(null==b[c]?a[c]=null:null==a[c]||"object"!==typeof a[c]||"object"!==typeof b[c]||Array.isArray(b[c])||Array.isArray(a[c])?a[c]=b[c]:Ua(a[c],b[c]));return a}function Va(a){var b=0,c;if(0==a.length)return b;for(c=0;c<a.length;c++){var d=a.charCodeAt(c);b=(b<<5)-b+d;b&=b}return b}function E(a){console.error("DEVELOPER_ERROR in "+a.ga+": "+a.errorMessage)};var Wa=Array.prototype.indexOf?function(a,b){A(null!=a.length);return Array.prototype.indexOf.call(a,b,void 0)}:function(a,b){if("string"===typeof a)return"string"!==typeof b||1!=b.length?-1:a.indexOf(b,0);for(var c=0;c<a.length;c++)if(c in a&&a[c]===b)return c;return-1};var Xa=/&/g,Ya=/</g,Za=/>/g,$a=/"/g,ab=/'/g,bb=/\x00/g,cb=/[\x00&<>"']/;function db(){var a=w.navigator;return a&&(a=a.userAgent)?a:""}function F(a){return-1!=db().indexOf(a)};var eb=function(a){eb[" "](a);return a};eb[" "]=function(){};var fb=F("Trident")||F("MSIE"),gb=F("Gecko")&&!(-1!=db().toLowerCase().indexOf("webkit")&&!F("Edge"))&&!(F("Trident")||F("MSIE"))&&!F("Edge"),hb=-1!=db().toLowerCase().indexOf("webkit")&&!F("Edge");function ib(a,b){for(var c in a)if(b.call(void 0,a[c],c,a))return!0;return!1}var jb="constructor hasOwnProperty isPrototypeOf propertyIsEnumerable toLocaleString toString valueOf".split(" ");function kb(a,b){for(var c,d,e=1;e<arguments.length;e++){d=arguments[e];for(c in d)a[c]=d[c];for(var g=0;g<jb.length;g++)c=jb[g],Object.prototype.hasOwnProperty.call(d,c)&&(a[c]=d[c])}};var lb,mb=function(){if(void 0===lb){var a=null,b=w.trustedTypes;if(b&&b.createPolicy)try{a=b.createPolicy("goog#html",{createHTML:ta,createScript:ta,createScriptURL:ta})}catch(c){w.console&&w.console.error(c.message)}lb=a}return lb};var ob=function(a,b){this.ub=b===nb?a:""};m=ob.prototype;m.toString=function(){return this.ub+""};m.Da=!0;m.Aa=function(){return this.ub.toString()};m.mb=!0;m.za=function(){return 1};
      var pb=function(a){if(a instanceof ob&&a.constructor===ob)return a.ub;xa("expected object of type TrustedResourceUrl, got '"+a+"' of type "+z(a));return"type_error:TrustedResourceUrl"},tb=function(a,b){var c=C(a);if(!qb.test(c))throw Error("Invalid TrustedResourceUrl format: "+c);a=c.replace(rb,function(d,e){if(!Object.prototype.hasOwnProperty.call(b,e))throw Error('Found marker, "'+e+'", in format string, "'+c+'", but no valid label mapping found in args: '+JSON.stringify(b));d=b[e];return d instanceof
      B?C(d):encodeURIComponent(String(d))});return sb(a)},rb=/%{(\w+)}/g,qb=RegExp("^((https:)?//[0-9a-z.:[\\]-]+/|/[^/\\\\]|[^:/\\\\%]+/|[^:/\\\\%]*[?#]|about:blank#)","i"),nb={},sb=function(a){var b=mb();a=b?b.createScriptURL(a):a;return new ob(a,nb)};var vb=function(a,b){this.tb=b===ub?a:""};m=vb.prototype;m.toString=function(){return this.tb.toString()};m.Da=!0;m.Aa=function(){return this.tb.toString()};m.mb=!0;m.za=function(){return 1};var wb=function(a){if(a instanceof vb&&a.constructor===vb)return a.tb;xa("expected object of type SafeUrl, got '"+a+"' of type "+z(a));return"type_error:SafeUrl"},xb=/^(?:(?:https?|mailto|ftp):|[^:/?#]*(?:[/?#]|$))/i,ub={};var yb={},H=function(a,b,c){this.sb=c===yb?a:"";this.mc=b;this.Da=this.mb=!0};H.prototype.za=function(){return this.mc};H.prototype.Aa=function(){return this.sb.toString()};H.prototype.toString=function(){return this.sb.toString()};
      var zb=function(a){if(a instanceof H&&a.constructor===H)return a.sb;xa("expected object of type SafeHtml, got '"+a+"' of type "+z(a));return"type_error:SafeHtml"},Bb=function(a){if(a instanceof H)return a;var b="object"==typeof a,c=null;b&&a.mb&&(c=a.za());a=b&&a.Da?a.Aa():String(a);cb.test(a)&&(-1!=a.indexOf("&")&&(a=a.replace(Xa,"&amp;")),-1!=a.indexOf("<")&&(a=a.replace(Ya,"&lt;")),-1!=a.indexOf(">")&&(a=a.replace(Za,"&gt;")),-1!=a.indexOf('"')&&(a=a.replace($a,"&quot;")),-1!=a.indexOf("'")&&(a=
          a.replace(ab,"&#39;")),-1!=a.indexOf("\x00")&&(a=a.replace(bb,"&#0;")));return Ab(a,c)},Db=function(a){var b=Bb(Cb),c=b.za(),d=[],e=function(g){Array.isArray(g)?g.forEach(e):(g=Bb(g),d.push(zb(g).toString()),g=g.za(),0==c?c=g:0!=g&&c!=g&&(c=null))};a.forEach(e);return Ab(d.join(zb(b).toString()),c)},Eb=function(a){return Db(Array.prototype.slice.call(arguments))},Ab=function(a,b){var c=mb();a=c?c.createHTML(a):a;return new H(a,b,yb)},Cb=new H(w.trustedTypes&&w.trustedTypes.emptyHTML||"",0,yb),Fb=
          Ab("<br>",0);var Gb={MATH:!0,SCRIPT:!0,STYLE:!0,SVG:!0,TEMPLATE:!0},Hb=function(a){var b=!1,c;return function(){b||(c=a(),b=!0);return c}}(function(){if("undefined"===typeof document)return!1;var a=document.createElement("div"),b=document.createElement("div");b.appendChild(document.createElement("div"));a.appendChild(b);if(!a.firstChild)return!1;b=a.firstChild.firstChild;a.innerHTML=zb(Cb);return!b.parentElement}),Ib=function(a,b){if(a.tagName&&Gb[a.tagName.toUpperCase()])throw Error("goog.dom.safe.setInnerHtml cannot be used to set content of "+
          a.tagName+".");if(Hb())for(;a.lastChild;)a.removeChild(a.lastChild);a.innerHTML=zb(b)},Jb=function(a,b,c,d){a instanceof vb||a instanceof vb||(a="object"==typeof a&&a.Da?a.Aa():String(a),A(xb.test(a),"%s does not match the safe URL pattern",a)||(a="about:invalid#zClosurez"),a=new vb(a,ub));b=b||w;c=c instanceof B?C(c):c||"";return void 0!==d?b.open(wb(a),c,d):b.open(wb(a),c)};var Kb=function(){return"transition".replace(/\-([a-z])/g,function(a,b){return b.toUpperCase()})},Lb=function(a){return a.replace(RegExp("(^|[\\s]+)([a-z])","g"),function(b,c,d){return c+d.toUpperCase()})};var Mb=function(a){var b=Array.prototype.map.call(arguments,C).join(""),c=D("Constant HTML string, that gets turned into a Node later, so it will be automatically balanced.");za(C(c),"must provide justification");A(!/^[\s\xa0]*$/.test(C(c)),"must provide non-empty justification");b=Ab(b,null);c=document;var d="DIV";"application/xhtml+xml"===c.contentType&&(d=d.toLowerCase());d=c.createElement(d);fb?(Ib(d,Eb(Fb,b)),d.removeChild(A(d.firstChild))):Ib(d,b);if(1==d.childNodes.length)b=d.removeChild(A(d.firstChild));
      else for(b=c.createDocumentFragment();d.firstChild;)b.appendChild(d.firstChild);return b};var Nb=function(a){if(a.ka&&"function"==typeof a.ka)return a.ka();if("undefined"!==typeof r.Map&&a instanceof r.Map||"undefined"!==typeof Set&&a instanceof Set)return t(Array,"from").call(Array,t(a,"values").call(a));if("string"===typeof a)return a.split("");if(na(a)){for(var b=[],c=a.length,d=0;d<c;d++)b.push(a[d]);return b}b=[];c=0;for(d in a)b[c++]=a[d];return b},Ob=function(a){if(a.jb&&"function"==typeof a.jb)return a.jb();if(!a.ka||"function"!=typeof a.ka){if("undefined"!==typeof r.Map&&a instanceof
          r.Map)return t(Array,"from").call(Array,t(a,"keys").call(a));if(!("undefined"!==typeof Set&&a instanceof Set)){if(na(a)||"string"===typeof a){var b=[];a=a.length;for(var c=0;c<a;c++)b.push(c);return b}b=[];c=0;for(var d in a)b[c++]=d;return b}}},Pb=function(a,b,c){if(a.forEach&&"function"==typeof a.forEach)a.forEach(b,c);else if(na(a)||"string"===typeof a)Array.prototype.forEach.call(a,b,c);else for(var d=Ob(a),e=Nb(a),g=e.length,f=0;f<g;f++)b.call(c,e[f],d&&d[f],a)};var Qb=RegExp("^(?:([^:/?#.]+):)?(?://(?:([^\\\\/?#]*)@)?([^\\\\/?#]*?)(?::([0-9]+))?(?=[\\\\/?#]|$))?([^?#]+)?(?:\\?([^#]*))?(?:#([\\s\\S]*))?$"),Rb=function(a){var b=a.match(Qb);a=b[1];var c=b[3];b=b[4];var d="";a&&(d+=a+":");c&&(d=d+"//"+c,b&&(d+=":"+b));return d},Sb=function(a,b){if(a){a=a.split("&");for(var c=0;c<a.length;c++){var d=a[c].indexOf("="),e=null;if(0<=d){var g=a[c].substring(0,d);e=a[c].substring(d+1)}else g=a[c];b(g,e?decodeURIComponent(e.replace(/\+/g," ")):"")}}};var I=function(a){this.P=this.na=this.ba="";this.j=null;this.M=this.N="";this.G=this.qc=!1;if(a instanceof I){this.G=a.G;Tb(this,a.ba);var b=a.na;J(this);this.na=b;b=a.P;J(this);this.P=b;Ub(this,a.j);b=a.N;J(this);this.N=b;Vb(this,a.I.clone());a=a.M;J(this);this.M=a}else a&&(b=String(a).match(Qb))?(this.G=!1,Tb(this,b[1]||"",!0),a=b[2]||"",J(this),this.na=Wb(a),a=b[3]||"",J(this),this.P=Wb(a,!0),Ub(this,b[4]),a=b[5]||"",J(this),this.N=Wb(a,!0),Vb(this,b[6]||"",!0),a=b[7]||"",J(this),this.M=Wb(a)):
          (this.G=!1,this.I=new K(null,this.G))};I.prototype.toString=function(){var a=[],b=this.ba;b&&a.push(Xb(b,Yb,!0),":");var c=this.P;if(c||"file"==b)a.push("//"),(b=this.na)&&a.push(Xb(b,Yb,!0),"@"),a.push(encodeURIComponent(String(c)).replace(/%25([0-9a-fA-F]{2})/g,"%$1")),c=this.j,null!=c&&a.push(":",String(c));if(c=this.N)this.P&&"/"!=c.charAt(0)&&a.push("/"),a.push(Xb(c,"/"==c.charAt(0)?Zb:$b,!0));(c=this.I.toString())&&a.push("?",c);(c=this.M)&&a.push("#",Xb(c,ac));return a.join("")};
      I.prototype.resolve=function(a){var b=this.clone(),c=!!a.ba;c?Tb(b,a.ba):c=!!a.na;if(c){var d=a.na;J(b);b.na=d}else c=!!a.P;c?(d=a.P,J(b),b.P=d):c=null!=a.j;d=a.N;if(c)Ub(b,a.j);else if(c=!!a.N){if("/"!=d.charAt(0))if(this.P&&!this.N)d="/"+d;else{var e=b.N.lastIndexOf("/");-1!=e&&(d=b.N.slice(0,e+1)+d)}e=d;if(".."==e||"."==e)d="";else if(-1!=e.indexOf("./")||-1!=e.indexOf("/.")){d=0==e.lastIndexOf("/",0);e=e.split("/");for(var g=[],f=0;f<e.length;){var h=e[f++];"."==h?d&&f==e.length&&g.push(""):".."==
      h?((1<g.length||1==g.length&&""!=g[0])&&g.pop(),d&&f==e.length&&g.push("")):(g.push(h),d=!0)}d=g.join("/")}else d=e}c?(J(b),b.N=d):c=""!==a.I.toString();c?Vb(b,a.I.clone()):c=!!a.M;c&&(a=a.M,J(b),b.M=a);return b};I.prototype.clone=function(){return new I(this)};
      var Tb=function(a,b,c){J(a);a.ba=c?Wb(b,!0):b;a.ba&&(a.ba=a.ba.replace(/:$/,""))},Ub=function(a,b){J(a);if(b){b=Number(b);if(isNaN(b)||0>b)throw Error("Bad port number "+b);a.j=b}else a.j=null},Vb=function(a,b,c){J(a);b instanceof K?(a.I=b,a.I.zb(a.G)):(c||(b=Xb(b,bc)),a.I=new K(b,a.G))};I.prototype.getQuery=function(){return this.I.toString()};var cc=function(a,b,c){J(a);a.I.set(b,c)};I.prototype.removeParameter=function(a){J(this);this.I.remove(a);return this};
      var J=function(a){if(a.qc)throw Error("Tried to modify a read-only Uri");};I.prototype.zb=function(a){this.G=a;this.I&&this.I.zb(a)};
      var Wb=function(a,b){return a?b?decodeURI(a.replace(/%25/g,"%2525")):decodeURIComponent(a):""},Xb=function(a,b,c){return"string"===typeof a?(a=encodeURI(a).replace(b,dc),c&&(a=a.replace(/%25([0-9a-fA-F]{2})/g,"%$1")),a):null},dc=function(a){a=a.charCodeAt(0);return"%"+(a>>4&15).toString(16)+(a&15).toString(16)},Yb=/[#\/\?@]/g,$b=/[#\?:]/g,Zb=/[#\?]/g,bc=/[#\?@]/g,ac=/#/g,K=function(a,b){this.A=this.h=null;this.D=a||null;this.G=!!b},L=function(a){a.h||(a.h=new r.Map,a.A=0,a.D&&Sb(a.D,function(b,c){a.add(decodeURIComponent(b.replace(/\+/g,
          " ")),c)}))};K.prototype.add=function(a,b){L(this);this.D=null;a=ec(this,a);var c=this.h.get(a);c||this.h.set(a,c=[]);c.push(b);this.A=ya(this.A)+1;return this};K.prototype.remove=function(a){L(this);a=ec(this,a);return this.h.has(a)?(this.D=null,this.A=ya(this.A)-this.h.get(a).length,this.h.delete(a)):!1};K.prototype.clear=function(){this.h=this.D=null;this.A=0};var fc=function(a,b){L(a);b=ec(a,b);return a.h.has(b)};m=K.prototype;
      m.forEach=function(a,b){L(this);this.h.forEach(function(c,d){c.forEach(function(e){a.call(b,e,d,this)},this)},this)};m.jb=function(){L(this);for(var a=t(Array,"from").call(Array,t(this.h,"values").call(this.h)),b=t(Array,"from").call(Array,t(this.h,"keys").call(this.h)),c=[],d=0;d<b.length;d++)for(var e=a[d],g=0;g<e.length;g++)c.push(b[d]);return c};
      m.ka=function(a){L(this);var b=[];if("string"===typeof a)fc(this,a)&&(b=b.concat(this.h.get(ec(this,a))));else{a=t(Array,"from").call(Array,t(this.h,"values").call(this.h));for(var c=0;c<a.length;c++)b=b.concat(a[c])}return b};m.set=function(a,b){L(this);this.D=null;a=ec(this,a);fc(this,a)&&(this.A=ya(this.A)-this.h.get(a).length);this.h.set(a,[b]);this.A=ya(this.A)+1;return this};m.get=function(a,b){if(!a)return b;a=this.ka(a);return 0<a.length?String(a[0]):b};
      m.toString=function(){if(this.D)return this.D;if(!this.h)return"";for(var a=[],b=t(Array,"from").call(Array,t(this.h,"keys").call(this.h)),c=0;c<b.length;c++){var d=b[c],e=encodeURIComponent(String(d));d=this.ka(d);for(var g=0;g<d.length;g++){var f=e;""!==d[g]&&(f+="="+encodeURIComponent(String(d[g])));a.push(f)}}return this.D=a.join("&")};m.clone=function(){var a=new K;a.D=this.D;this.h&&(a.h=new r.Map(this.h),a.A=this.A);return a};var ec=function(a,b){b=String(b);a.G&&(b=b.toLowerCase());return b};
      K.prototype.zb=function(a){a&&!this.G&&(L(this),this.D=null,this.h.forEach(function(b,c){var d=c.toLowerCase();if(c!=d&&(this.remove(c),this.remove(d),0<b.length)){this.D=null;c=this.h;var e=c.set;d=ec(this,d);var g=b.length;if(0<g){for(var f=Array(g),h=0;h<g;h++)f[h]=b[h];g=f}else g=[];e.call(c,d,g);this.A=ya(this.A)+b.length}},this));this.G=a};K.prototype.extend=function(a){for(var b=0;b<arguments.length;b++)Pb(arguments[b],function(c,d){this.add(d,c)},this)};var gc=[],hc=[],ic=[],jc=window.location.hostname,kc=window.whitelistedDomainsHashedValueListForGpayButtonWithCardInfo||[],lc=window.denylistedDomainsHashedValueListForGpayButtonWithCardInfo||[],mc=window.denylistedMerchentIdsHashedValueListForGpayButtonWithCardInfo||[];
      function nc(a){t(ic,"includes").call(ic,a.buttonRootNode||document)||(Qa("\n  .gpay-card-info-container {\n    padding: 0;\n    position: relative;\n    min-width: 240px;\n    height: 40px;\n    min-height: 40px;\n    border-radius: 4px;\n    box-shadow: rgba(60, 64, 67, 0.3) 0px 1px 1px 0px, rgba(60, 64, 67, 0.15) 0px 1px 3px 1px;\n    cursor: pointer;\n    border: 0px;\n  }\n\n  .gpay-card-info-container.black,\n  .gpay-card-info-animation-container.black {\n    background-color: #000;\n    box-shadow: none;\n  }\n\n  .gpay-card-info-container.white,\n  .gpay-card-info-animation-container.white {\n    background-color: #fff;\n  }\n\n  .gpay-card-info-container.black.active {\n    background-color: #5f6368;\n  }\n\n  .gpay-card-info-container.black.hover,\n  .gpay-card-info-animation-container.black.hover {\n    background-color: #3c4043;\n  }\n\n  .gpay-card-info-container.white.active {\n    background-color: #fff;\n  }\n\n  .gpay-card-info-container.white.focus {\n    box-shadow: #e8e8e8 0 1px 1px 0, #e8e8e8 0 1px 3px;\n  }\n\n  .gpay-card-info-container.white.hover,\n  .gpay-card-info-animation-container.white.hover {\n    background-color: #f8f8f8;\n  }\n\n  .gpay-card-info-iframe {\n    border: 0;\n    display: block;\n    height: 40px;\n    margin: auto;\n    max-width: 100%;\n    width: 240px;\n  }\n\n  .gpay-card-info-container-fill .gpay-card-info-iframe{\n    position: absolute;\n    top: 0;\n    height: 100%;\n    width: 100%;\n  }\n\n  .gpay-card-info-container-fill,\n    .gpay-card-info-container-fill > .gpay-card-info-container{\n    width: 100%;\n    height: inherit;\n  }\n\n  .gpay-card-info-container-fill .gpay-card-info-placeholder-container{\n    align-items: center;\n    justify-content: center;\n    width: 100%;\n    padding-top: 3px;\n    box-sizing: border-box;\n    overflow: hidden;\n  }\n\n  .gpay-card-info-container-fill .gpay-card-info-placeholder-svg-container{\n    position: relative;\n    width: 60%;\n    height: inherit;\n    max-height: 80%;\n    margin-right: -20%;\n  }\n\n  .gpay-card-info-container-fill .gpay-card-info-placeholder-svg-container > svg {\n    position: absolute;\n    left: 0;\n    height: 100%;\n    max-width: 100%;\n  }\n",a.buttonRootNode),
          Qa('\n  .gpay-card-info-animation-container {\n    display: flex;\n    width:100%;\n    position: absolute;\n    z-index: 100;\n    height: 40px;\n    border-radius: 4px;\n  }\n\n  .gpay-card-info-placeholder-container {\n    display: flex;\n    width: 240px;\n    height: 100%;\n    margin: auto;\n  }\n\n  .gpay-card-info-animated-progress-bar-container {\n    display: flex;\n    box-sizing: border-box;\n    position: absolute;\n    width: 100%;\n  }\n\n  .gpay-card-info-animated-progress-bar {\n    border-radius: 4px 4px 0px 0px;\n    animation-duration: 0.5s;\n    animation-fill-mode: forwards;\n    animation-iteration-count: 1;\n    animation-name: gpayProgressFill;\n    animation-timing-function: cubic-bezier(0.97, 0.33, 1, 1);\n    background: #caccce;\n    width: 100%;\n    height: 3px;\n    max-height: 3px;\n  }\n\n  .gpay-card-info-animated-progress-bar-indicator {\n    border-radius: 4px 4px 0px 0px;\n    max-width: 20px;\n    min-width: 20px;\n    height: 3px;\n    max-height: 3px;\n    background: linear-gradient(to right, #caccce 30%, #acaeaf 60%);\n    animation-delay: 0.5s;\n    animation-duration: 1.7s;\n    animation-fill-mode: forwards;\n    animation-iteration-count: infinite;\n    animation-name: gpayPlaceHolderShimmer;\n  }\n\n  .gpay-card-info-iframe-fade-in {\n    animation-fill-mode: forwards;\n    animation-duration: 0.6s;\n    animation-name: gpayIframeFadeIn;\n  }\n\n  .gpay-card-info-animation-container-fade-out {\n    animation-fill-mode: forwards;\n    animation-duration: 0.6s;\n    animation-name: gpayPlaceHolderFadeOut;\n  }\n\n  .gpay-card-info-animation-gpay-logo {\n    margin: 13px 7px 0px  39px;\n    background-origin: content-box;\n    background-position: center center;\n    background-repeat: no-repeat;\n    background-size: contain;\n    height: 17px;\n    max-height: 17px;\n    max-width: 41px;\n    min-width: 41px;\n  }\n\n  .gpay-card-info-animation-gpay-logo.black {\n    background-image: url("https://www.gstatic.com/instantbuy/svg/dark_gpay.svg");\n  }\n\n  .gpay-card-info-animation-gpay-logo.white {\n    background-image: url("https://www.gstatic.com/instantbuy/svg/light_gpay.svg");\n  }\n\n  @keyframes gpayPlaceHolderShimmer{\n    0% {\n      margin-left: 0px;\n    }\n    100% {\n      margin-left: calc(100% - 20px);\n    }\n  }\n\n  @keyframes gpayIframeFadeIn {\n    from {\n        opacity: 0;\n    }\n    to {\n        opacity: 1;\n    }\n  }\n\n  @keyframes gpayPlaceHolderFadeOut {\n    from {\n        opacity: 1;\n    }\n\n    to {\n        opacity: 0;\n    }\n  }\n\n  @keyframes gpayProgressFill {\n    from {\n      width: 0;\n    }\n    to {\n      width: 100%;\n    }\n  }\n\n  .gpay-card-info-container-fill .gpay-card-info-animation-container{\n    top: 0;\n    width: 100%;\n    height: 100%;\n  }\n\n  .gpay-card-info-container-fill .gpay-card-info-animation-gpay-logo{\n    background-position: right;\n    margin: 0 0 0 0;\n    max-width: none;\n    width: 25%;\n    height:inherit;\n    max-height: 50%;\n  }\n',
              a.buttonRootNode),ic.push(a.buttonRootNode||document));var b=oc(a),c="white"==a.buttonColor?"white":"black",d=document.createElement("button");pc(d);d.setAttribute("class",(-1658203989===Va(jc)?"gpay-button":"")+" gpay-card-info-container "+b);var e=document.createElement("div");e.setAttribute("class","gpay-card-info-animation-container "+c);b=document.createElement("div");b.setAttribute("class","gpay-card-info-placeholder-container");var g=document.createElement("div");g.setAttribute("class","gpay-card-info-animation-gpay-logo "+
          c);var f=Mb("white"==a.buttonColor?Ma:Na);c=document.createElement("div");c.setAttribute("class","gpay-card-info-animated-progress-bar-container");var h=document.createElement("div");h.setAttribute("class","gpay-card-info-animated-progress-bar");var k=document.createElement("div");k.setAttribute("class","gpay-card-info-animated-progress-bar-indicator");h.appendChild(k);b.appendChild(g);"fill"!==a.buttonSizeMode?b.appendChild(f):(g=Mb("white"==a.buttonColor?Oa:Pa),f=document.createElement("div"),f.appendChild(g),
          f.setAttribute("class","gpay-card-info-placeholder-svg-container"),b.appendChild(f));c.appendChild(h);e.appendChild(b);e.appendChild(c);qc(e);d.appendChild(e);var l=document.createElement("iframe");l.setAttribute("class","gpay-card-info-iframe");l.setAttribute("scrolling","no");b=new I("https://pay.google.com/gp/p/generate_gpay_btn_img");cc(b,"buttonColor",a.buttonColor);cc(b,"browserLocale",rc(a.buttonLocale));cc(b,"buttonSizeMode",a.buttonSizeMode);void 0!==a.allowedPaymentMethods&&cc(b,"allowedPaymentMethods",
          JSON.stringify(a.allowedPaymentMethods));l.src=b.toString();l.onload=function(){l.classList.add("gpay-card-info-iframe-fade-in");e.classList.add("gpay-card-info-animation-container-fade-out")};a.onClick&&d.addEventListener("click",a.onClick);qc(d);d.appendChild(l);b=document.createElement("div");"fill"===a.buttonSizeMode&&b.setAttribute("class","gpay-card-info-container-fill");b.appendChild(d);return b}
      function qc(a){["mouseover","mouseout"].map(function(b){a.addEventListener(b,function(c){a.classList.toggle("hover","mouseover"==c.type);var d=document.querySelector(".gpay-card-info-animation-container");null!==d&&d.classList.toggle("hover","mouseover"==c.type)})});["mousedown","mouseup","mouseout"].map(function(b){a.addEventListener(b,function(c){a.classList.toggle("active","mousedown"==c.type)})});["focus","blur"].map(function(b){a.addEventListener(b,function(c){a.classList.toggle("focus","focus"==
          c.type)})})}function pc(a){a.setAttribute("type","button");a.setAttribute("aria-label","Google Pay")}function oc(a){var b="white";"white"!==a.buttonColor&&(b="black");var c=a.buttonType||"buy";"buy"===a.buttonType?c="buy long":"plain"===a.buttonType&&(c="plain short");return b+" "+c+" "+rc(a.buttonLocale)}
      function rc(a,b){var c=(navigator.language||navigator.vd||"en").substring(0,2),d=(a||c).substring(0,2);if(d in La.buy)return d;d!==c&&(void 0===b?0:b)&&E({ga:"createButton",errorMessage:'Button locale "'+a+'" is not supported, falling back to browser locale.'});return c in La.buy?c:"en"};var sc=function(){this.Hc=M.contentWindow};sc.prototype.postMessage=function(a,b){this.Hc.postMessage(a,b)};/*
  
   SPDX-License-Identifier: Apache-2.0
  */
      function tc(a,b){a.src=pb(b).toString()};var uc={nd:0,Uc:1,cc:2,dc:3,ec:4,Yc:5},M=null,vc=null,N=null,wc=null,xc=Date.now(),O=null,yc=!1,zc=[],Bc=function(){Ac({},11,["canMakePaymentForPaymentHandlerResponse"],function(){})},Ac=function(a,b,c,d){function e(g){var f;a:{for(f=0;f<c.length;f++)if(g.data[c[f]]){f=!0;break a}f=!1}f&&(d(g),window.removeEventListener("message",e))}window.addEventListener("message",e);a=t(Object,"assign").call(Object,{eventType:b},a);P(a)},P=function(a){if(yc&&vc){a=t(Object,"assign").call(Object,{buyFlowActivityMode:O,
          googleTransactionId:wc,originTimeMs:xc},a);if("CANARY"==N)var b="https://ibfe-canary.corp.google.com";else b="https://pay","SANDBOX"==N?b+=".sandbox":"PREPROD"==N&&(b+="-preprod.sandbox"),b+=".google.com";vc.postMessage(a,b)}else zc.push(a)},Cc=function(){yc=!0;zc.forEach(function(a){P(a)});zc.length=0};
      (function(){if(!M){var a=window.gpayInitParams||{};N=a.environment||"PRODUCTION";M=document.createElement("iframe");tc(M,tb(D(("CANARY"==N?"https://ibfe-canary.corp":"https://pay")+("PREPROD"==N?"-preprod.sandbox":"SANDBOX"==N?".sandbox":"")+".google.com/gp/p/ui/payframe?origin=%{windowOrigin}&mid=%{merchantId}"),{windowOrigin:window.location.origin,merchantId:a.merchantInfo&&a.merchantInfo.merchantId||""}));P({eventType:15,clientLatencyStartMs:Date.now()});Bc();M.height="0";M.width="0";M.style.display=
          "none";M.style.visibility="hidden";M.setAttribute("allowpaymentrequest",!0);M.onload=function(){vc=new sc;P({eventType:17,clientLatencyStartMs:Date.now()});P({eventType:16,clientLatencyStartMs:Date.now()});Cc()};document.body?document.body.appendChild(M):document.addEventListener("DOMContentLoaded",function(){document.body.appendChild(M)})}})();var Dc=function(){},Ec=function(a,b){return new r.Promise(function(c,d){setTimeout(function(){d({reason:"OTHER_ERROR",intent:a,message:"REQUEST_TIMEOUT"})},b)})},Fc=function(a,b){return{error:{reason:a.reason||"OTHER_ERROR",intent:a.intent||b,message:a.message}}},Gc=function(a,b,c){E({ga:"loadPaymentData",errorMessage:"An error occurred in call back, please try to avoid this by setting structured error in callback response"});a&&P({eventType:b,merchantCallbackInfo:{callbackTrigger:c||0}})};
      Dc.prototype.Sb=function(a,b){null===b.error&&(console.warn("Please remove null fields in callback returns."),delete b.error);return{modifiers:[{supportedMethods:["https://google.com/pay"],data:b}]}};Dc.prototype.Xa=function(a,b){return{type:a,data:b}};
      var Hc=function(a,b,c,d){return r.Promise.resolve(r.Promise.race([Ec("PAYMENT_AUTHORIZATION",c),b.onPaymentAuthorized(a)])).then(function(e){return d("paymentAuthorizationResponse",e)},function(e){Gc("REQUEST_TIMEOUT"===e.message,27,2);return d("paymentAuthorizationResponse",Fc(e,"PAYMENT_AUTHORIZATION"))})},Ic=function(a,b,c,d){return r.Promise.resolve(r.Promise.race([Ec(a.callbackTrigger in Da?Da[a.callbackTrigger]:"UNKNOWN_INTENT",c),b.onPaymentDataChanged(a)])).then(function(e){return d("paymentDataCallbackResponse",
          e)},function(e){Gc("REQUEST_TIMEOUT"===e.message,26,uc[a.callbackTrigger]);return d("paymentDataCallbackResponse",Fc(e,a.callbackTrigger||"UNKNOWN_INTENT"))})};var Kc=function(){var a=window.document,b=this;this.Mb=a;this.R=a.createElement("gpay-graypane");Jc(this.R,{"z-index":2147483647,display:"none",position:"fixed",top:0,right:0,bottom:0,left:0,"background-color":"rgba(32, 33, 36, .6)"});this.ab=null;this.R.addEventListener("click",function(){if(b.ab)try{b.ab.focus()}catch(c){}})};Kc.prototype.show=function(a){this.ab=a||null;this.Mb.body.appendChild(this.R);Jc(this.R,{display:"block",opacity:0});return Lc(this.R,{opacity:1})};
      var Mc=function(a){a.ab=null;a.R.parentElement&&Lc(a.R,{opacity:0}).then(function(){Jc(a.R,{display:"none"});a.Mb.body.removeChild(a.R)})};function Jc(a,b){for(var c in b)a.style.setProperty(c,b[c].toString(),"important")}
      function Lc(a,b){var c=a.ownerDocument.defaultView,d=a.style.transition||"";return(new r.Promise(function(e){c.setTimeout(function(){c.setTimeout(e,300);Jc(a,t(Object,"assign").call(Object,{transition:"transform 300ms ease-out, opacity 300ms ease-out"},b))})})).then(function(){Jc(a,t(Object,"assign").call(Object,{transition:d},b))})};var Nc=function(a){this.s=a;this.qb=this.rb=this.B=this.ha=null;this.ma=3E4};m=Nc.prototype;m.vb=function(a){this.B=a};m.Fa=function(a){this.ha=a};
      m.F=function(a){var b=Oc(a);return new r.Promise(function(c){(void 0!=b.hasEnrolledInstrument?b.hasEnrolledInstrument():b.canMakePayment()).then(function(d){window.sessionStorage.setItem("google.payments.api.storage.isreadytopay.result",d.toString());var e={result:d};2<=a.apiVersion&&a.existingPaymentMethodRequired&&(e.paymentMethodPresent=d);c(e)}).catch(function(){window.sessionStorage.getItem("google.payments.api.storage.isreadytopay.result")?c({result:"true"==window.sessionStorage.getItem("google.payments.api.storage.isreadytopay.result")}):
          c({result:!1})})})};m.O=function(a){Oc(a,this.s,a.transactionInfo.currencyCode,a.transactionInfo.totalPrice)};m.U=function(a){Pc(this,a)};
      var Oc=function(a,b,c,d){var e={};a&&(e=JSON.parse(JSON.stringify(a)));e.apiVersion||(e.apiVersion=1);e.swg&&(e.allowedPaymentMethods=["CARD"]);b&&"TEST"==b&&(e.environment=b);return new PaymentRequest([{supportedMethods:["https://google.com/pay"],data:e}],{total:{label:"Estimated Total Price",amount:{currency:c||"USD",value:d||"0"}}})},Pc=function(a,b){b=Oc(b,a.s,b.transactionInfo&&b.transactionInfo.currencyCode||void 0,b.transactionInfo&&b.transactionInfo.totalPrice||void 0);b.onpaymentmethodchange=
          function(c){var d=new Dc;d=c.methodDetails.callbackTrigger?Ic(c.methodDetails,a.B,a.ma,d.Sb):Hc(c.methodDetails,a.B,a.ma,d.Sb);c.updateWith(d)};a.ha(b.show().then(function(c){google.payments.api.LogInternally&&console.log("payment response",c);c.complete("success");return c.details.statusCode?(google.payments.api.LogInternally&&console.log("status code",c.details.statusCode),{error:c.details}):c.details}).catch(function(c){google.payments.api.LogInternally&&console.log("payment response with err",
          c);c.statusCode="CANCELED";throw c;}))};var Qc=["SHIPPING_ADDRESS","SHIPPING_OPTION"];function Rc(a){if(2<=a.apiVersion){var b=Sc(a);if(b&&1==b.length&&"CRYPTOGRAM_3DS"==b[0])return!0}return 1==a.allowedPaymentMethods.length&&"TOKENIZED_CARD"==a.allowedPaymentMethods[0]}function Tc(a,b){return 2<=a.apiVersion&&(a=Sc(a))&&t(a,"includes").call(a,b)?!0:!1}
      function Uc(){var a=window.location.hostname,b=a.length-11;return 0<=b&&a.indexOf(".google.com",b)==b||void 0===window.isSecureContext?null:window.isSecureContext?null:"Google Pay APIs should be called in secure context!"}function Vc(a){if(a.environment&&!(n=t(Object,"values").call(Object,Ea),t(n,"includes")).call(n,a.environment))throw Error("Parameter environment in PaymentsClientOptions can optionally be set to PRODUCTION, otherwise it defaults to TEST.");}
      function Wc(a){if(!a)return"isReadyToPayRequest must be set!";if(Xc(a))return"UPI not supported";if(2<=a.apiVersion){if(!("apiVersionMinor"in a))return"apiVersionMinor must be set!";if(!a.allowedPaymentMethods||!Array.isArray(a.allowedPaymentMethods)||0==a.allowedPaymentMethods.length)return"for v2 allowedPaymentMethods must be set to an array containing a list of accepted payment methods";for(var b=0;b<a.allowedPaymentMethods.length;b++){var c=a.allowedPaymentMethods[b];if("CARD"==c.type){if(!c.parameters)return"Field parameters must be setup in each allowedPaymentMethod";
          var d=c.parameters.allowedCardNetworks;if(!d||!Array.isArray(d)||0==d.length)return"allowedCardNetworks must be setup in parameters for type CARD";c=c.parameters.allowedAuthMethods;if(!c||!Array.isArray(c)||0==c.length||!c.every(Yc))return"allowedAuthMethods must be setup in parameters for type 'CARD'  and must contain 'CRYPTOGRAM_3DS' and/or 'PAN_ONLY'"}}}else if(!a.allowedPaymentMethods||!Array.isArray(a.allowedPaymentMethods)||0==a.allowedPaymentMethods.length||!a.allowedPaymentMethods.every(Zc))return"allowedPaymentMethods must be set to an array containing 'CARD' and/or 'TOKENIZED_CARD'!";
          return null}function Zc(a){return(n=t(Object,"values").call(Object,Fa),t(n,"includes")).call(n,a)}function Yc(a){return(n=t(Object,"values").call(Object,Ga),t(n,"includes")).call(n,a)}
      function $c(a){if(!a)return"paymentDataRequest must be set!";if(Xc(a))return"UPI not supported";if(a.swg)return(a=a.swg)?a.skuId&&a.publicationId?null:"Both skuId and publicationId must be provided":"Swg parameters must be provided";if(a.transactionInfo)if(a.transactionInfo.currencyCode){if(!a.transactionInfo.totalPriceStatus||!(n=t(Object,"values").call(Object,Ha),t(n,"includes")).call(n,a.transactionInfo.totalPriceStatus))return"totalPriceStatus in transactionInfo must be set to one of NOT_CURRENTLY_KNOWN, ESTIMATED or FINAL!";
          if("NOT_CURRENTLY_KNOWN"!==a.transactionInfo.totalPriceStatus&&!a.transactionInfo.totalPrice)return"totalPrice in transactionInfo must be set when totalPriceStatus is ESTIMATED or FINAL!"}else return"currencyCode in transactionInfo must be set!";else return"transactionInfo must be set!";var b=Xc(a);if(b){if(!b.parameters)return"parameters must be set in allowedPaymentMethod!";b=b.parameters;if(b.payeeVpa)if(b.payeeName)if(b.referenceUrl){if(!b.mcc)return"mcc in allowedPaymentMethod parameters must be set!";
          if(!b.transactionReferenceId)return"transactionReferenceId in allowedPaymentMethod parameters must be set!"}else return"referenceUrl in allowedPaymentMethod parameters must be set!";else return"payeeName in allowedPaymentMethod parameters must be set!";else return"payeeVpa in allowedPaymentMethod parameters must be set!";if("INR"!==a.transactionInfo.currencyCode)return"currencyCode in transactionInfo must be set to INR!";if("FINAL"!==a.transactionInfo.totalPriceStatus)return"totalPriceStatus in transactionInfo must be set to FINAL!";
          if(!a.transactionInfo.transactionNote)return"transactionNote in transactionInfo must be set!"}return null}function Xc(a){return 2>a.apiVersion||!a.allowedPaymentMethods?null:ad(a,"UPI")}
      function bd(a,b){if(a.callbackIntents&&!b)return"paymentDataCallbacks must be set";if(t(a.callbackIntents,"includes").call(a.callbackIntents,"PAYMENT_AUTHORIZATION")!==!!b.onPaymentAuthorized)return"Both PAYMENT_AUTHORIZATION intent and onPaymentAuthorized must be set";var c=Qc.slice();google.payments.api.EnableOfferCallback&&c.push("OFFER");google.payments.api.EnablePaymentMethodCallback&&c.push("PAYMENT_METHOD");return!!c.filter(function(d){return t(a.callbackIntents,"includes").call(a.callbackIntents,
          d)}).length!==!!b.onPaymentDataChanged?"onPaymentDataChanged callback must be set if any of "+(c+" callback intent is set."):null}function Sc(a){return a.allowedPaymentMethods&&(a=ad(a,"CARD"))&&a.parameters?a.parameters.allowedAuthMethods:null}function ad(a,b){for(var c=0;c<a.allowedPaymentMethods.length;c++){var d=a.allowedPaymentMethods[c];if(d.type==b)return d}return null};var dd=function(a,b){var c=cd.transition;if(!c){var d=Kb();c=d;void 0===a.style[d]&&(d=(hb?"Webkit":gb?"Moz":fb?"ms":null)+Lb(d),void 0!==a.style[d]&&(c=d));cd.transition=c}c&&(a.style[c]=b)},cd={};var ed=function(a,b){Array.isArray(b)||(b=[b]);A(0<b.length,"At least one Css3Property should be specified.");b=b.map(function(c){if("string"===typeof c)return c;Aa(c,"Expected css3 property to be an object.");var d=c.wc+" "+c.duration+"s "+c.timing+" "+c.delay+"s";A(c.wc&&"number"===typeof c.duration&&c.timing&&"number"===typeof c.delay,"Unexpected css3 property value: %s",d);return d});dd(a,b.join(","))};var fd=function(){this.Ua=this.Ua;this.Za=this.Za};fd.prototype.Ua=!1;fd.prototype.dispose=function(){this.Ua||(this.Ua=!0,this.xa())};fd.prototype.xa=function(){if(this.Za)for(;this.Za.length;)this.Za.shift()()};var Q=function(a,b){this.type=a;this.currentTarget=this.target=b;this.defaultPrevented=this.Ia=!1};Q.prototype.stopPropagation=function(){this.Ia=!0};Q.prototype.preventDefault=function(){this.defaultPrevented=!0};var gd=Object.freeze||function(a){return a};var hd=function(){if(!w.addEventListener||!Object.defineProperty)return!1;var a=!1,b=Object.defineProperty({},"passive",{get:function(){a=!0}});try{w.addEventListener("test",function(){},b),w.removeEventListener("test",function(){},b)}catch(c){}return a}();var R=function(a,b){Q.call(this,a?a.type:"");this.relatedTarget=this.currentTarget=this.target=null;this.button=this.screenY=this.screenX=this.clientY=this.clientX=this.offsetY=this.offsetX=0;this.key="";this.charCode=this.keyCode=0;this.metaKey=this.shiftKey=this.altKey=this.ctrlKey=!1;this.state=null;this.pointerId=0;this.pointerType="";this.ya=null;if(a){var c=this.type=a.type,d=a.changedTouches&&a.changedTouches.length?a.changedTouches[0]:null;this.target=a.target||a.srcElement;this.currentTarget=
          b;if(b=a.relatedTarget){if(gb){a:{try{eb(b.nodeName);var e=!0;break a}catch(g){}e=!1}e||(b=null)}}else"mouseover"==c?b=a.fromElement:"mouseout"==c&&(b=a.toElement);this.relatedTarget=b;d?(this.clientX=void 0!==d.clientX?d.clientX:d.pageX,this.clientY=void 0!==d.clientY?d.clientY:d.pageY,this.screenX=d.screenX||0,this.screenY=d.screenY||0):(this.offsetX=hb||void 0!==a.offsetX?a.offsetX:a.layerX,this.offsetY=hb||void 0!==a.offsetY?a.offsetY:a.layerY,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.keyCode=a.keyCode||0;this.key=a.key||"";this.charCode=a.charCode||("keypress"==c?a.keyCode:0);this.ctrlKey=a.ctrlKey;this.altKey=a.altKey;this.shiftKey=a.shiftKey;this.metaKey=a.metaKey;this.pointerId=a.pointerId||0;this.pointerType="string"===typeof a.pointerType?a.pointerType:id[a.pointerType]||"";this.state=a.state;this.ya=a;a.defaultPrevented&&R.La.preventDefault.call(this)}};
      sa(R,Q);var id=gd({2:"touch",3:"pen",4:"mouse"});R.prototype.stopPropagation=function(){R.La.stopPropagation.call(this);this.ya.stopPropagation?this.ya.stopPropagation():this.ya.cancelBubble=!0};R.prototype.preventDefault=function(){R.La.preventDefault.call(this);var a=this.ya;a.preventDefault?a.preventDefault():a.returnValue=!1};var jd="closure_listenable_"+(1E6*Math.random()|0);var kd=0;var ld=function(a,b,c,d,e){this.listener=a;this.proxy=null;this.src=b;this.type=c;this.capture=!!d;this.Va=e;this.key=++kd;this.Ja=this.Sa=!1},md=function(a){a.Ja=!0;a.listener=null;a.proxy=null;a.src=null;a.Va=null};var T=function(a){this.src=a;this.v={};this.Oa=0};T.prototype.add=function(a,b,c,d,e){var g=a.toString();a=this.v[g];a||(a=this.v[g]=[],this.Oa++);var f=nd(a,b,d,e);-1<f?(b=a[f],c||(b.Sa=!1)):(b=new ld(b,this.src,g,!!d,e),b.Sa=c,a.push(b));return b};T.prototype.remove=function(a,b,c,d){a=a.toString();if(!(a in this.v))return!1;var e=this.v[a];b=nd(e,b,c,d);return-1<b?(md(e[b]),A(null!=e.length),Array.prototype.splice.call(e,b,1),0==e.length&&(delete this.v[a],this.Oa--),!0):!1};
      var od=function(a,b){var c=b.type;if(c in a.v){var d=a.v[c],e=Wa(d,b),g;if(g=0<=e)A(null!=d.length),Array.prototype.splice.call(d,e,1);g&&(md(b),0==a.v[c].length&&(delete a.v[c],a.Oa--))}};T.prototype.kb=function(a,b,c,d){a=this.v[a.toString()];var e=-1;a&&(e=nd(a,b,c,d));return-1<e?a[e]:null};T.prototype.hasListener=function(a,b){var c=void 0!==a,d=c?a.toString():"",e=void 0!==b;return ib(this.v,function(g){for(var f=0;f<g.length;++f)if(!(c&&g[f].type!=d||e&&g[f].capture!=b))return!0;return!1})};
      var nd=function(a,b,c,d){for(var e=0;e<a.length;++e){var g=a[e];if(!g.Ja&&g.listener==b&&g.capture==!!c&&g.Va==d)return e}return-1};var pd="closure_lm_"+(1E6*Math.random()|0),qd={},rd=0,td=function(a,b,c,d,e){if(d&&d.once)sd(a,b,c,d,e);else if(Array.isArray(b))for(var g=0;g<b.length;g++)td(a,b[g],c,d,e);else c=ud(c),a&&a[jd]?(d=oa(d)?!!d.capture:!!d,vd(a),a.K.add(String(b),c,!1,d,e)):wd(a,b,c,!1,d,e)},wd=function(a,b,c,d,e,g){if(!b)throw Error("Invalid event type");var f=oa(e)?!!e.capture:!!e,h=xd(a);h||(a[pd]=h=new T(a));c=h.add(b,c,d,f,g);if(!c.proxy){d=yd();c.proxy=d;d.src=a;d.listener=c;if(a.addEventListener)hd||(e=f),void 0===
      e&&(e=!1),a.addEventListener(b.toString(),d,e);else if(a.attachEvent)a.attachEvent(zd(b.toString()),d);else if(a.addListener&&a.removeListener)A("change"===b,"MediaQueryList only has a change event"),a.addListener(d);else throw Error("addEventListener and attachEvent are unavailable.");rd++}},yd=function(){var a=Ad,b=function(c){return a.call(b.src,b.listener,c)};return b},sd=function(a,b,c,d,e){if(Array.isArray(b))for(var g=0;g<b.length;g++)sd(a,b[g],c,d,e);else c=ud(c),a&&a[jd]?a.K.add(String(b),
          c,!0,oa(d)?!!d.capture:!!d,e):wd(a,b,c,!0,d,e)},Bd=function(a,b,c,d,e){if(Array.isArray(b))for(var g=0;g<b.length;g++)Bd(a,b[g],c,d,e);else d=oa(d)?!!d.capture:!!d,c=ud(c),a&&a[jd]?a.K.remove(String(b),c,d,e):a&&(a=xd(a))&&(b=a.kb(b,c,d,e))&&Cd(b)},Cd=function(a){if("number"!==typeof a&&a&&!a.Ja){var b=a.src;if(b&&b[jd])od(b.K,a);else{var c=a.type,d=a.proxy;b.removeEventListener?b.removeEventListener(c,d,a.capture):b.detachEvent?b.detachEvent(zd(c),d):b.addListener&&b.removeListener&&b.removeListener(d);
          rd--;(c=xd(b))?(od(c,a),0==c.Oa&&(c.src=null,b[pd]=null)):md(a)}}},zd=function(a){return a in qd?qd[a]:qd[a]="on"+a},Ad=function(a,b){if(a.Ja)a=!0;else{b=new R(b,this);var c=a.listener,d=a.Va||a.src;a.Sa&&Cd(a);a=c.call(d,b)}return a},xd=function(a){a=a[pd];return a instanceof T?a:null},Dd="__closure_events_fn_"+(1E9*Math.random()>>>0),ud=function(a){A(a,"Listener can not be null.");if("function"===typeof a)return a;A(a.handleEvent,"An object listener must have handleEvent method.");a[Dd]||(a[Dd]=
          function(b){return a.handleEvent(b)});return a[Dd]};var U=function(){fd.call(this);this.K=new T(this);this.hc=this;this.pb=null};sa(U,fd);U.prototype[jd]=!0;U.prototype.addEventListener=function(a,b,c,d){td(this,a,b,c,d)};U.prototype.removeEventListener=function(a,b,c,d){Bd(this,a,b,c,d)};
      U.prototype.dispatchEvent=function(a){vd(this);var b=this.pb;if(b){var c=[];for(var d=1;b;b=b.pb)c.push(b),A(1E3>++d,"infinite loop")}b=this.hc;d=a.type||a;if("string"===typeof a)a=new Q(a,b);else if(a instanceof Q)a.target=a.target||b;else{var e=a;a=new Q(d,b);kb(a,e)}e=!0;if(c)for(var g=c.length-1;!a.Ia&&0<=g;g--){var f=a.currentTarget=c[g];e=Ed(f,d,!0,a)&&e}a.Ia||(f=a.currentTarget=b,e=Ed(f,d,!0,a)&&e,a.Ia||(e=Ed(f,d,!1,a)&&e));if(c)for(g=0;!a.Ia&&g<c.length;g++)f=a.currentTarget=c[g],e=Ed(f,d,
          !1,a)&&e;return e};U.prototype.xa=function(){U.La.xa.call(this);if(this.K){var a=this.K,b=0,c;for(c in a.v){for(var d=a.v[c],e=0;e<d.length;e++)++b,md(d[e]);delete a.v[c];a.Oa--}}this.pb=null};var Ed=function(a,b,c,d){b=a.K.v[String(b)];if(!b)return!0;b=b.concat();for(var e=!0,g=0;g<b.length;++g){var f=b[g];if(f&&!f.Ja&&f.capture==c){var h=f.listener,k=f.Va||f.src;f.Sa&&od(a.K,f);e=!1!==h.call(k,d)&&e}}return e&&!d.defaultPrevented};
      U.prototype.kb=function(a,b,c,d){return this.K.kb(String(a),b,c,d)};U.prototype.hasListener=function(a,b){return this.K.hasListener(void 0!==a?String(a):void 0,b)};var vd=function(a){A(a.K,"Event target is not initialized. Did you call the superclass (goog.events.EventTarget) constructor?")};var Fd=function(a,b){U.call(this);this.Wa=a||1;this.Na=b||w;this.Jb=ra(this.Gc,this);this.Qb=Date.now()};sa(Fd,U);m=Fd.prototype;m.enabled=!1;m.L=null;m.setInterval=function(a){this.Wa=a;this.L&&this.enabled?(this.stop(),this.start()):this.L&&this.stop()};m.Gc=function(){if(this.enabled){var a=Date.now()-this.Qb;0<a&&a<.8*this.Wa?this.L=this.Na.setTimeout(this.Jb,this.Wa-a):(this.L&&(this.Na.clearTimeout(this.L),this.L=null),this.dispatchEvent("tick"),this.enabled&&(this.stop(),this.start()))}};
      m.start=function(){this.enabled=!0;this.L||(this.L=this.Na.setTimeout(this.Jb,this.Wa),this.Qb=Date.now())};m.stop=function(){this.enabled=!1;this.L&&(this.Na.clearTimeout(this.L),this.L=null)};m.xa=function(){Fd.La.xa.call(this);this.stop();delete this.Na};/*
  
   Copyright 2017 The Web Activities Authors. All Rights Reserved.
  
   Licensed under the Apache License, Version 2.0 (the "License");
   you may not use this file except in compliance with the License.
   You may obtain a copy of the License at
  
        http://www.apache.org/licenses/LICENSE-2.0
  
   Unless required by applicable law or agreed to in writing, software
   distributed under the License is distributed on an "AS-IS" BASIS,
   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
   See the License for the specific language governing permissions and
   limitations under the License.
  */
      var Gd=function(a,b,c,d,e,g){this.code=a;this.data="ok"==a?b:null;this.mode=c;this.origin=d;this.ob=e;this.Cc=g;this.ok="ok"==a;this.error="failed"==a?Error(String(b)||""):null};function Hd(a){var b=a.indexOf("#");return-1==b?a:a.substring(0,b)}function Id(a){return a?(/^[?#]/.test(a)?a.slice(1):a).split("&").reduce(function(b,c){var d=c.split("=");c=decodeURIComponent(d[0]||"");d=decodeURIComponent(d[1]||"");c&&(b[c]=d);return b},{}):{}}
      function Jd(a){var b={requestId:a.requestId,returnUrl:a.Zb,args:a.ic};void 0!==a.origin&&(b.origin=a.origin);void 0!==a.ob&&(b.originVerified=a.ob);return JSON.stringify(b)}function Kd(a,b,c){if(b.ok)c(b);else{var d;if(!(d=b.error)){d=null;if("function"==typeof a.DOMException){a=a.DOMException;try{d=new a("AbortError","AbortError")}catch(e){}}d||(d=Error("AbortError"),d.name="AbortError",d.code=20)}a=d;a.qd=b;c(r.Promise.reject(a))}}
      function Ld(a){a=a.navigator;return/Trident|MSIE|IEMobile/i.test(a&&a.userAgent)}function Md(a){setTimeout(function(){throw a;})}var V=function(a,b,c){this.g=a;this.Cb=b;this.C=c;this.yc=!0;this.Db=null;this.Eb=!1;this.Y=this.Ya=this.Z=this.j=null;this.Ib=this.pc.bind(this)};V.prototype.connect=function(a){if(this.Z)throw Error("already connected");this.Z=a;this.g.addEventListener("message",this.Ib)};
      V.prototype.disconnect=function(){if(this.Z&&(this.Z=null,this.j&&(Nd(this.j),this.j=null),this.g.removeEventListener("message",this.Ib),this.Y)){for(var a in this.Y){var b=this.Y[a];b.port1&&Nd(b.port1);b.port2&&Nd(b.port2)}this.Y=null}};V.prototype.isConnected=function(){return null!=this.C};
      var Od=function(a){a.Z&&!a.Db&&(a.Db="function"==typeof a.Cb?a.Cb():a.Cb);return a.Db},Pd=function(a){if(null==a.C)throw Error("not connected");return a.C},Sd=function(a,b){var c=null;a.Eb&&"function"==typeof a.g.MessageChannel&&(c=new a.g.MessageChannel);c?(Qd(a,"start",b,[c.port2]),Rd(a,c.port1)):Qd(a,"start",b)},Qd=function(a,b,c,d){c={sentinel:"__ACTIVITIES__",cmd:b,payload:c||null};if(a.j)a.j.postMessage(c,d||void 0);else{var e=Od(a);if(!e)throw Error("not connected");a="connect"==b?null!=a.C?
          a.C:"*":Pd(a);e.postMessage(c,a,d||void 0)}};V.prototype.customMessage=function(a){Qd(this,"msg",a)};var Td=function(a,b){a.Y||(a.Y={});var c=a.Y[b];if(!c){var d;c=new r.Promise(function(e){d=e});c={port1:null,port2:null,Yb:d,promise:c};a.Y[b]=c}return c},Rd=function(a,b){a.j&&Nd(a.j);a.j=b;a.j.onmessage=function(c){var d=c.data,e=d&&d.cmd;d=d&&d.payload||null;e&&a.ra(e,d,c)}};
      V.prototype.pc=function(a){if(!this.yc||Od(this)==a.source){var b=a.data;if(b&&"__ACTIVITIES__"==b.sentinel){var c=b.cmd;if(!this.j||"connect"==c||"start"==c){var d=a.origin;b=b.payload||null;null==this.C&&"start"==c&&(this.C=d);null==this.C&&a.source&&Od(this)==a.source&&(this.C=d);d==this.C&&this.ra(c,b,a)}}}};
      V.prototype.ra=function(a,b,c){"connect"==a?(this.j&&(Nd(this.j),this.j=null),this.Eb=b&&b.acceptsChannel||!1,this.Z(a,b)):"start"==a?((c=c.ports&&c.ports[0])&&Rd(this,c),this.Z(a,b)):"msg"==a?null!=this.Ya&&null!=b&&this.Ya(b):"cnget"==a?(b=b.name||"",a=Td(this,b),a.port1||(c=new this.g.MessageChannel,a.port1=c.port1,a.port2=c.port2,a.Yb(a.port1)),a.port2&&(Qd(this,"cnset",{name:b},[a.port2]),a.port2=null)):"cnset"==a?(a=c.ports[0],b=Td(this,b.name),b.port1=a,b.Yb(a)):this.Z(a,b)};
      function Nd(a){try{a.close()}catch(b){}}var Ud=function(a,b,c){var d=this;this.Ca=a;this.eb=b;this.Qa=c||null;this.g=this.Ca.ownerDocument.defaultView;this.C=Rb(pb(b).toString());this.wa=null;this.hb=new r.Promise(function(e){d.wa=e});this.bb=null;new r.Promise(function(e){d.bb=e});this.J=null;this.cb=new r.Promise(function(e){d.J=e});this.Xb=this.Tb=null;this.m=new V(this.g,function(){return d.Ca.contentWindow},this.C)};m=Ud.prototype;
      m.connect=function(){var a=this.Ca;if("isConnected"in a)a=a.isConnected;else{var b=a.ownerDocument&&a.ownerDocument.documentElement;a=b&&b.contains(a)||!1}if(!a)throw Error("iframe must be in DOM");this.m.connect(this.ra.bind(this));a=this.Ca;b=this.eb;a:{try{var c=a&&a.ownerDocument,d=c&&(c.defaultView||c.parentWindow);d=d||w;if(d.Element&&d.Location){var e=d;break a}}catch(f){}e=null}if(e&&"undefined"!=typeof e.HTMLIFrameElement&&(!a||!(a instanceof e.HTMLIFrameElement)&&(a instanceof e.Location||
          a instanceof e.Element))){if(oa(a))try{var g=a.constructor.displayName||a.constructor.name||Object.prototype.toString.call(a)}catch(f){g="<object could not be stringified>"}else g=void 0===a?"undefined":null===a?"null":typeof a;xa("Argument is not a %s (or a non-Element, non-Location mock); got: %s","HTMLIFrameElement",g)}a.src=pb(b).toString();return this.hb};m.disconnect=function(){this.m.disconnect()};m.Pa=function(){return this.cb};m.lb=function(){return this.Ca.contentWindow||null};
      m.message=function(a){this.m.customMessage(a)};m.onMessage=function(a){this.m.Ya=a};m.ra=function(a,b){"connect"==a?(Sd(this.m,this.Qa),this.wa()):"result"==a?this.J&&(a=b.code,b=new Gd(a,"failed"==a?Error(b.data||""):b.data,"iframe",Pd(this.m),!0,!0),Kd(this.g,b,this.J),this.J=null,Qd(this.m,"close"),this.disconnect()):"ready"==a?this.bb&&(this.bb(),this.bb=null):"resize"==a&&(this.Xb=b.height,this.Tb&&this.Tb(this.Xb))};
      var Vd=function(a,b,c,d,e,g){var f=this,h=d&&C(d);if(!h||"_blank"!=h&&"_top"!=h&&"_"==h[0])throw Error('The only allowed targets are "_blank", "_top" and name targets');this.g=a;this.xc=b;this.eb=c;this.uc=d;this.Qa=e||null;this.la=g||{};this.wa=null;this.hb=new r.Promise(function(k){f.wa=k});this.J=null;this.cb=new r.Promise(function(k){f.J=k});this.m=this.T=this.ea=null};m=Vd.prototype;m.open=function(){return Wd(this)};
      m.disconnect=function(){this.T&&(this.T.stop(),this.T=null);this.m&&(this.m.disconnect(),this.m=null);if(this.ea){try{this.ea.close()}catch(a){}this.ea=null}this.J=null};m.lb=function(){return this.ea};m.Pa=function(){return this.cb};m.message=function(a){this.m.customMessage(a)};m.onMessage=function(a){this.m.Ya=a};
      var Wd=function(a){var b=Xd(a),c=a.eb;if(!a.la.td){var d=Jd({requestId:a.xc,Zb:a.la.Zb||Hd(a.g.location.href),ic:a.Qa});c=c+(-1==c.indexOf("#")?"#":"&")+encodeURIComponent("__WA__")+"="+encodeURIComponent(d)}d=a.uc;"_top"!=C(d)&&Ld(a.g)&&(d=D("_top"));try{var e=Jb(c,a.g,d,b)}catch(g){}if(!e&&"_top"!=C(d)&&!a.la.sd){d=D("_top");try{e=Jb(c,a.g,d)}catch(g){}}e?(a.ea=e,"_top"!=C(d)&&Yd(a)):Zd(a,Error("failed to open window"));return a.cb.catch(function(){})},Xd=function(a){var b=a.g.screen,c=b.availWidth||
          b.width,d=b.availHeight||b.height,e=a.g==a.g.top;var g=a.g.navigator;g=/Edge/i.test(g&&g.userAgent);c=Math.max(c-(e&&a.g.outerWidth>a.g.innerWidth?Math.min(100,a.g.outerWidth-a.g.innerWidth):g?100:0),.5*c);var f=Math.max(d-(e&&a.g.outerHeight>a.g.innerHeight?Math.min(100,a.g.outerHeight-a.g.innerHeight):g?100:0),.5*d);d=Math.floor(Math.min(600,.9*c));e=Math.floor(Math.min(600,.9*f));a.la.width&&(d=Math.min(a.la.width,c));a.la.height&&(e=Math.min(a.la.height,f));a=Math.floor((b.width-d)/2);b=Math.floor((b.height-
          e)/2);c={height:e,width:d,resizable:"yes",scrollbars:"yes"};g||(c.left=a,c.top=b);g="";for(var h in c)g&&(g+=","),g+=h+"="+c[h];return g},Yd=function(a){a.T=new Fd(500);a.T.addEventListener("tick",function(){$d(a,!0)});a.T.start();a.m=new V(a.g,a.ea,null);a.m.connect(a.ra.bind(a))},$d=function(a,b){if(!a.ea||a.ea.closed)a.T&&(a.T.stop(),a.T=null),a.g.setTimeout(function(){try{a.aa("canceled",null)}catch(c){Zd(a,c)}},b?3E3:0)},Zd=function(a,b){a.J&&a.J(r.Promise.reject(b));a.disconnect()};
      Vd.prototype.aa=function(a,b){if(this.J){var c=this.m.isConnected();a=new Gd(a,b,"popup",c?Pd(this.m):Rb(this.eb),c,c);Kd(this.g,a,this.J);this.J=null}this.m&&Qd(this.m,"close");this.disconnect()};Vd.prototype.ra=function(a,b){var c=this;"connect"==a?(Sd(this.m,this.Qa),this.wa()):"result"==a?(a=b.code,this.aa(a,"failed"==a?Error(b.data||""):b.data)):"check"==a&&this.g.setTimeout(function(){return $d(c)},200)};var ae=function(a,b,c,d,e){this.g=a;this.lc=b;this.ia=c;this.C=d;this.Fc=e};
      ae.prototype.Pa=function(){var a=this,b=new Gd(this.lc,this.ia,"redirect",this.C,this.Fc,!1);return new r.Promise(function(c){Kd(a.g,b,c)})};var be=function(){var a=window,b=this;this.version="1.23";this.g=a;this.M=a.location.hash;this.xb={};this.yb={};this.Vb=null;new r.Promise(function(c){b.Vb=c})},ce=function(a,b,c){var d=new Ud(a,b,c);return d.connect().then(function(){return d})};be.prototype.open=function(a,b,c,d,e){return{ud:de(this,a,b,c,d,e).lb()}};
      var ee=function(a,b,c,d,e){var g=de(a,"GPAY",b,c,d,e);return g.hb.then(function(){return g})};
      be.prototype.Fa=function(a,b){var c=this.xb[a];c||(c=[],this.xb[a]=c);c.push(b);c=this.yb[a];if(!c&&this.M){try{var d=this.g,e=Id(this.M).__WA_RES__;if(e){var g=JSON.parse(e);if(g&&g.requestId==a){var f=d.location.hash;if(f){var h=encodeURIComponent("__WA_RES__")+"=";e=-1;do if(e=f.indexOf(h,e),-1!=e){var k=0<e?f.substring(e-1,e):"";if(""==k||"?"==k||"#"==k||"&"==k){var l=f.indexOf("&",e+1);-1==l&&(l=f.length);f=f.substring(0,e)+f.substring(l+1)}else e++}while(-1!=e&&e<f.length)}var q=f;q=q||"";if(q!=
          d.location.hash&&d.history&&d.history.replaceState)try{d.history.replaceState(d.history.state,"",q)}catch(S){}var x=g.code,y=g.data,G=g.origin,ia=d.document.referrer&&Rb(d.document.referrer);c=new ae(d,x,y,G,G==ia)}else c=null}else c=null}catch(S){Md(S),this.Vb(S)}c&&(this.yb[a]=c)}(a=c)&&fe(a,b)};
      var de=function(a,b,c,d,e,g){var f=new Vd(a.g,b,c,d,e,g);f.open().then(function(){ge(a,b,f)});return f},fe=function(a,b){r.Promise.resolve().then(function(){b(a)})},ge=function(a,b,c){var d=a.xb[b];d&&d.forEach(function(e){fe(c,e)});a.yb[b]=c};var W=function(a,b,c,d){this.s=a;this.fb=b||!1;this.Fb=c||new be;this.Ob=new Kc;this.Ha=this.ha=null;this.Ab=!1;this.Lb=this.j=null;this.Wb=d||null;this.qb=this.rb=this.B=this.Ka=null;this.ma=3E4;this.fb&&(Qa("\n.google-payments-dialog {\n    animation: none 0s ease 0s 1 normal none running;\n    background: none 0 0 / auto repeat scroll padding-box border-box #fff;\n    background-blend-mode: normal;\n    border: 0 none #333;\n    border-radius: 8px 8px 0 0;\n    border-collapse: separate;\n    bottom: 0;\n    box-shadow: #808080 0 3px 0 0, #808080 0 0 22px;\n    box-sizing: border-box;\n    letter-spacing: normal;\n    max-height: 100%;\n    overflow: visible;\n    position: fixed;\n    width: 100%;\n    z-index: 2147483647;\n    -webkit-appearance: none;\n    left: 0;\n}\n@media (min-width: 480px) {\n  .google-payments-dialog {\n    width: 480px !important;\n    left: -240px !important;\n    margin-left: calc(100vw - 100vw / 2) !important;\n  }\n}\n.google-payments-dialogContainer {\n  background-color: rgba(0,0,0,0.26);\n  bottom: 0;\n  height: 100%;\n  left: 0;\n  position: absolute;\n  right: 0;\n}\n.iframeContainer {\n  -webkit-overflow-scrolling: touch;\n}\n"),
          Qa("\n.google-payments-dialogCenter {\n  animation: none 0s ease 0s 1 normal none running;\n  background-blend-mode: normal;\n  background: none 0 0 / auto repeat scroll padding-box border-box #fff;\n  border-collapse: separate;\n  border-radius: 8px;\n  border: 0px none #333;\n  bottom: auto;\n  box-shadow: #808080 0 0 22px;\n  box-sizing: border-box;\n  left: -240px;\n  letter-spacing: normal;\n  margin-left: calc(100vw - 100vw / 2) !important;\n  max-height: 90%;\n  overflow: visible;\n  position: absolute;\n  top: 100%;\n  transform: scale(0.8);\n  width: 480px;\n  z-index: 2147483647;\n  -webkit-appearance: none;\n}\n@media (min-height: 667px) {\n  .google-payments-dialogCenter {\n    max-height: 600px;\n  }\n}\n.google-payments-activeContainer {\n  top: 50%;\n  transform: scale(1.0) translateY(-50%);\n}\n"))};
      W.prototype.Fa=function(a){this.ha||(this.ha=a,this.Fb.Fa("GPAY",this.tc.bind(this)))};
      W.prototype.tc=function(a){var b=this;Mc(this.Ob);this.ha(a.Pa().then(function(c){if("TIN"!=b.s&&c.origin!=he(b))throw Error("channel mismatch");var d=c.data;if(d.redirectEncryptedCallbackData)return O=3,ie(b,d.redirectEncryptedCallbackData).then(function(e){var g=t(Object,"assign").call(Object,{},d);delete g.redirectEncryptedCallbackData;return t(Object,"assign").call(Object,g,e)});if(!c.ob||!c.Cc)throw Error("channel mismatch");return d},function(c){var d=c.message;c=c.message;try{c=JSON.parse(d.substring(7))}catch(e){}c.statusCode&&
      -1==["DEVELOPER_ERROR","MERCHANT_ACCOUNT_ERROR"].indexOf(c.statusCode)&&(c={statusCode:"CANCELED"});"AbortError"==c&&(c={statusCode:"CANCELED"});return r.Promise.reject(c)}))};
      var ie=function(a,b){return new r.Promise(function(c,d){var e=je(a),g=new XMLHttpRequest;g.open("POST",e,!0);"withCredentials"in g&&(g.withCredentials=!0);g.onreadystatechange=function(){if(!(2>g.readyState))if(100>g.status||599<g.status)g.onreadystatechange=null,d(Error("Unknown HTTP status "+g.status));else if(4==g.readyState)try{c(JSON.parse(g.responseText))}catch(f){d(f)}};g.onerror=function(){d(Error("Network failure"))};g.onabort=function(){d(Error("Request aborted"))};g.send(b)})};
      W.prototype.F=function(a){var b=this;return new r.Promise(function(c,d){if(Rc(a))c({result:!1});else{var e=window.navigator.userAgent,g=0<e.indexOf("OPA/")&&0<e.indexOf("AppleWebKit"),f=0<e.indexOf("FxiOS"),h=0<e.indexOf("Instagram"),k=0<e.indexOf("FB_IAB"),l=0<e.indexOf("AndroidMapsWebView");if((0<e.indexOf("GSA/")&&0<e.indexOf("Safari")||g||f||h||k||l)&&!b.fb)c({result:!1});else{f=!1;if(google.payments.api.ReadyToPayAdditionalBrowsers){if(0<e.indexOf("UCMini")){c({result:!1});return}f=0<e.indexOf("OPT")||
          0<e.indexOf("UCBrowser")}var q=0<e.indexOf("Chrome")||0<e.indexOf("Firefox")||0<e.indexOf("Safari")||f||g;q&&2<=a.apiVersion&&a.existingPaymentMethodRequired?(a.environment=b.s,Ac(a,6,["isReadyToPayResponse","isReadyToPayError"],function(x){var y={result:q};a.existingPaymentMethodRequired&&(x.data.isReadyToPayError?d({statusCode:"DEVELOPER_ERROR",statusMessage:"Ready to pay error. Cause : "+x.data.isReadyToPayError}):y.paymentMethodPresent="READY_TO_PAY"==x.data.isReadyToPayResponse);c(y)})):c({result:q})}}})};
      W.prototype.O=function(a){if(this.fb){this.va(a);var b=ke(this,a),c=le(this,b.container,b.iframe,a);this.Ha={container:b.container,iframe:b.iframe,request:a,dataPromise:c}}};
      W.prototype.U=function(a){var b=this;a.swg||a.apiVersion||(a.apiVersion=1);if(a.forceRedirect&&this.B)throw Error("Callback is not supported in redirect mode");a.environment=this.s;this.va(a);if(this.fb){O=1;if(this.Ha){var c=this.Ha;var d=this.Ha.dataPromise;this.Ha=null}else c=ke(this,a),d=le(this,c.container,c.iframe,a);me(this,c.container,c.iframe,a);history.pushState({},"",window.location.href);var e=function(g){g.preventDefault();g=c;g.container.parentNode&&(b.Lb(r.Promise.reject({errorCode:"CANCELED"})),
          ne(g.container,g.iframe),b.j&&b.j.disconnect());window.removeEventListener("popstate",e)};window.addEventListener("popstate",e);a=new r.Promise(function(g){b.Lb=g});this.ha(r.Promise.race([d,a]))}else return O=a.forceRedirect?3:2,ee(this.Fb,"TIN"==this.s?"/ui/pay":he(this)+"/gp/p/ui/pay",a.forceRedirect?D("_top"):D("gp-js-popup"),a,oe(a)).then(function(g){var f=new Dc;b.Ob.show(g&&g.lb());g.onMessage(function(h){"partialPaymentDataCallback"==h.type?b.rb=Ic(h.data,b.B,b.ma,f.Xa).then(function(k){return g.message(k)}):
          "fullPaymentDataCallback"==h.type&&(b.qb=Hc(h.data,b.B,b.ma,f.Xa).then(function(k){g.message(k)}))})})};var oe=function(a){var b={width:600,height:600};a.forceRedirect||a.swg||(b.disableRedirectFallback=!0);return b};W.prototype.vb=function(a){this.B=a};
      var he=function(a){return"LOCAL"==a.s?"":"https://"+("PREPROD"==a.s?"pay-preprod.sandbox":"SANDBOX"==a.s?"pay.sandbox":"CANARY"==a.s?"ibfe-canary.corp":"pay")+".google.com"},je=function(a){var b=he(a)+"/gp/p/apis/buyflow/process";a.Wb&&(b+="?rk="+encodeURIComponent(a.Wb));return b},pe=function(a,b){var c=window.location.origin,d=D("https://pay.google.com/gp/p/ui/pay?origin=%{origin}&coordination_token=%{coordinationToken}");if("CANARY"==a)d=D("https://ibfe-canary.corp.google.com/gp/p/ui/pay?origin=%{origin}&coordination_token=%{coordinationToken}");
      else if("SANDBOX"==a||"PREPROD"==a)d=D("https://pay"+("PREPROD"==a?"-preprod":"")+".sandbox.google.com/gp/p/ui/pay?origin=%{origin}&coordination_token=%{coordinationToken}");return tb(d,{coordinationToken:void 0===b?"":b,origin:c})},ne=function(a,b){qe(b,"all 250ms ease 0s");b.height="0px";setTimeout(function(){a.parentNode&&a.parentNode.removeChild(a)},250)},ke=function(a,b){b=b.i&&b.i.renderContainerCenter?"google-payments-dialogCenter":"google-payments-dialog";var c=document.createElement("div");
          c.classList.add("google-payments-dialogContainer");var d=document.createElement("div");d.classList.add("iframeContainer");var e=document.createElement("iframe");e.classList.add(b);e.setAttribute("frameborder","0");e.setAttribute("scrolling","no");d.appendChild(e);c.appendChild(d);document.body.appendChild(c);b={container:c,iframe:e};c=b.iframe;d=b.container;d.addEventListener("click",ra(a.kc,a,b));d.style.display="none";c.style.display="none";c.height="0px";qe(c,"all 250ms ease 0s");a.Ab=!1;return b};
      W.prototype.kc=function(a){a.container.parentNode&&history.back()};
      var me=function(a,b,c,d){b.style.display="block";c.style.display="block";setTimeout(function(){c.height="280px";d.i&&d.i.renderContainerCenter&&c.classList.add("google-payments-activeContainer");setTimeout(function(){a.Ab=!0;a.Ka&&(qe(c,a.Ka.transition),c.height=a.Ka.height,a.Ka=null)},250)},1)},qe=function(a,b){ed(a,b);a.style.setProperty("-webkit-transition",b)},le=function(a,b,c,d){d.swg||d.apiVersion||(d.apiVersion=1);var e="";d.i&&d.i.coordinationToken&&(e=d.i.coordinationToken);d.environment=
          a.s;var g;e=pe(a.s,e);return ce(c,e,d).then(function(f){a.j=f;var h=new Dc;f.onMessage(function(k){"partialPaymentDataCallback"==k.type?a.rb=Ic(k.data,a.B,a.ma,h.Xa).then(function(l){return f.message(l)}):"fullPaymentDataCallback"==k.type?a.qb=Hc(k.data,a.B,a.ma,h.Xa).then(function(l){return f.message(l)}):"resize"==k.type&&(a.Ab?(g||(g=Date.now()),Date.now()<g+250?qe(c,k.transition+", height 250ms"):qe(c,k.transition),c.height=k.height):a.Ka={height:k.height,transition:k.transition})});return f.Pa()}).then(function(f){ne(b,
          c);history.back();return f.data},function(f){ne(b,c);history.back();return r.Promise.reject(f)})};W.prototype.va=function(a){var b={startTimeMs:Date.now()};a.i=a.i?t(Object,"assign").call(Object,b,a.i):b};var re="actions.google.com amp-actions.sandbox.google.com amp-actions-staging.sandbox.google.com amp-actions-autopush.sandbox.google.com payments.developers.google.com payments.google.com".split(" "),Y=function(a,b,c,d){this.nb=b;Vc(a);this.Rb=null;this.s=a.environment||"TEST";se||(se=-1!=re.indexOf(window.location.hostname)&&a.i&&a.i.googleTransactionId?a.i.googleTransactionId:Sa(this.s));this.H=a;this.Kb=a.merchantInfo&&a.merchantInfo.merchantId?a.merchantInfo.merchantId:"";a.paymentDataCallback&&
      (a.paymentDataCallbacks={onPaymentDataChanged:a.paymentDataCallback});this.B=null;this.l=new te(a,c);this.fa=new W(this.s,c,d,a.i&&a.i.redirectKey);this.oa=5;this.X=null;b=this.l.mode;this.qa=5===b||4===b?new Nc(this.s):this.fa;a.paymentDataCallbacks&&(this.B=a.paymentDataCallbacks,this.qa.vb(a.paymentDataCallbacks),this.fa.vb(a.paymentDataCallbacks));this.fa.Fa(this.Ub.bind(this));this.qa.Fa(this.Ub.bind(this));O=b;wc=se;P({eventType:9,clientLatencyStartMs:Date.now(),buyFlowActivityReason:this.l.o,
          softwareInfo:X(this)});window.addEventListener("message",function(e){-1!=re.indexOf(window.location.hostname)&&"logPaymentData"===e.data.name&&P(e.data.data)})},se,X=function(a){return a.H.merchantInfo&&a.H.merchantInfo.softwareInfo?a.H.merchantInfo.softwareInfo:null};
      Y.prototype.F=function(a){var b=this;if(a){var c={};this.H.environment&&(c.environment=this.H.environment);this.H.merchantInfo&&(c.merchantInfo=this.H.merchantInfo);this.H.i&&(c.i=this.H.i);a=t(Object,"assign").call(Object,{},c,a);this.Kb=a.merchantInfo&&a.merchantInfo.merchantId?a.merchantInfo.merchantId:""}var d=Date.now(),e=[].concat(ja(this.l.o));P({eventType:12,clientLatencyStartMs:d,buyFlowActivityReason:e,softwareInfo:X(this)});var g=Uc()||Wc(a);if(g)return new r.Promise(function(l,q){E({ga:"isReadyToPay",
          errorMessage:g});P({eventType:0,buyFlowActivityReason:e,error:2,softwareInfo:X(b)});q({statusCode:"DEVELOPER_ERROR",statusMessage:g})});var f=[].concat(ja(this.l.o)),h=ue(this,a,f);if(a.activityModeRequired){var k=null;return ve.then(function(l){k=l;return h},function(){k=!1;return h}).then(function(l){k||(f.push(40),5===b.l.mode&&(b.l.mode=2));l.activityMode=b.l.mode;we(b,d,l,f,a);return l}).catch(function(l){xe(b,l,f,a);throw l;})}return h.then(function(l){we(b,d,l,f,a);return l}).catch(function(l){xe(b,
          l,f,a);throw l;})};
      var we=function(a,b,c,d,e){P({eventType:0,clientLatencyStartMs:b,isReadyToPayApiResponse:c,buyFlowActivityReason:d,softwareInfo:X(a),isReadyToPayRequest:e})},xe=function(a,b,c,d){b.statusCode?(b=b.statusCode,b="INTERNAL_ERROR"==b?1:"DEVELOPER_ERROR"==b?2:"MERCHANT_ACCOUNT_ERROR"==b?4:"UNSUPPORTED_API_VERSION"==b?5:"BUYER_CANCEL"==b?6:0):b=1;P({eventType:0,buyFlowActivityReason:c,error:b,softwareInfo:X(a),isReadyToPayRequest:d})},ue=function(a,b,c){if(google.payments.api.DisableNativeReadyToPayCheckForPaymentHandler?4===
          a.l.mode&&!ye(b):a.l.Ma&&!ye(b)){if(2<=b.apiVersion)return ze(a,b,c);var d=a.fa.F(b),e=a.qa.F(b);if(Rc(b)&&!a.l.ua)return c.push(6),e;c.push(7);return e.then(function(){return d})}return a.fa.F(b)},ze=function(a,b,c){var d=r.Promise.resolve({result:!1});b.existingPaymentMethodRequired&&(d=r.Promise.resolve({result:!1,paymentMethodPresent:!1}));var e=d;if(Tc(b,"CRYPTOGRAM_3DS")){e=JSON.parse(JSON.stringify(b));for(var g=0;g<e.allowedPaymentMethods.length;g++)"CARD"==e.allowedPaymentMethods[g].type&&
      (e.allowedPaymentMethods[g].parameters.allowedAuthMethods=["CRYPTOGRAM_3DS"]);c.push(8);e=a.qa.F(e)}var f=d;Tc(b,"PAN_ONLY")&&(c.push(9),f=a.fa.F(b));return a.l.ua?(c.push(99),e.then(function(){return f})):e.then(function(h){return 1==(h&&h.result)?h:f})};m=Y.prototype;m.O=function(a){var b=Uc()||$c(a);b?E({ga:"prefetchPaymentData",errorMessage:b}):(this.va(a),this.l.Ma&&!ye(a)?this.qa.O(a):this.fa.O(a))};m.Ea=function(){};
      m.U=function(a){ return mockingPaymentData; var b=this,c=[].concat(ja(this.l.o)),d=function(){return P({eventType:5,buyFlowActivityReason:c.length?c:[99],softwareInfo:X(b),buttonInfo:b.X})},e=Uc()||$c(a);this.oa=a&&a.swg?6:5;O=this.l.mode;if(e)this.nb(new r.Promise(function(k,l){P({eventType:1,error:2,buyFlowMode:b.oa,softwareInfo:X(b),buttonInfo:b.X});E({ga:"loadPaymentData",errorMessage:e});l({statusCode:"DEVELOPER_ERROR",statusMessage:e})})),d();else{if(this.B||a.callbackIntents){var g=bd(a,this.B);if(g){this.nb(new r.Promise(function(k,
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          l){P({eventType:1,error:2,buyFlowMode:b.oa,softwareInfo:X(b),buttonInfo:b.X});E({ga:"loadPaymentData",errorMessage:g});l({statusCode:"DEVELOPER_ERROR",statusMessage:g})}));d();return}}this.Rb=Date.now();var f=Ae(this.l,a,c),h=5===f||4===f?this.qa:this.fa;f!==this.l.mode&&(O=f);this.va(a);d();h.U(a)}};
      m.pa=function(a){a=void 0===a?{}:a;var b=0,c=0;switch(a.buttonType){case "short":b=1;break;case "long":b=2;break;case "plain":b=3;break;case "buy":b=4;break;case "donate":b=5;break;case "book":b=6;break;case "checkout":b=7;break;case "order":b=8;break;case "pay":b=9;break;case "subscribe":b=10}switch(a.buttonSizeMode){case "static":c=1;break;case "fill":c=2}var d=void 0===a.buttonRootNode?0:3;a.buttonRootNode instanceof ShadowRoot?d=1:a.buttonRootNode instanceof HTMLDocument&&(d=2);this.X={buttonType:b,
          buttonSizeMode:c,buttonRootNode:d};c=this.Kb;a=void 0===a?{}:a;(n=t(Object,"values").call(Object,Ia),t(n,"includes")).call(n,a.buttonType)||(a.buttonType="long");(n=t(Object,"values").call(Object,Ka),t(n,"includes")).call(n,a.buttonSizeMode)||(a.buttonSizeMode="static");b=a;c=c&&t(mc,"includes").call(mc,Va(c));d=t(kc,"includes").call(kc,Va(jc));var e=t(lc,"includes").call(lc,Va(jc));if(!(google.payments.api.EnableDynamicGpayButtonForTesting||google.payments.api.EnableDynamicGpayButton||d)||c||e||
          "long"!==b.buttonType&&"buy"!==b.buttonType){var g=a;b=rc(g.buttonLocale,!0);c=g.buttonRootNode||document;t(gc,"includes").call(gc,c)||(Qa("\n.gpay-button {\n  background-origin: content-box;\n  background-position: center center;\n  background-repeat: no-repeat;\n  background-size: contain;\n  border: 0px;\n  border-radius: 4px;\n  box-shadow: rgba(60, 64, 67, 0.3) 0px 1px 1px 0px, rgba(60, 64, 67, 0.15) 0px 1px 3px 1px;\n  cursor: pointer;\n  height: 40px;\n  min-height: 40px;\n  padding: 12px 24px 10px;\n  width: 240px;\n}\n\n.gpay-button.black {\n  background-color: #000;\n  box-shadow: none;\n}\n\n.gpay-button.white {\n  background-color: #fff;\n}\n\n.gpay-button.short, .gpay-button.plain {\n  min-width: 90px;\n  width: 160px;\n}\n\n.gpay-button.black.short, .gpay-button.black.plain {\n  background-image: url(https://www.gstatic.com/instantbuy/svg/dark_gpay.svg);\n}\n\n.gpay-button.white.short, .gpay-button.white.plain {\n  background-image: url(https://www.gstatic.com/instantbuy/svg/light_gpay.svg);\n}\n\n.gpay-button.black.active {\n  background-color: #5f6368;\n}\n\n.gpay-button.black.hover {\n  background-color: #3c4043;\n}\n\n.gpay-button.white.active {\n  background-color: #fff;\n}\n\n.gpay-button.white.focus {\n  box-shadow: #e8e8e8 0 1px 1px 0, #e8e8e8 0 1px 3px;\n}\n\n.gpay-button.white.hover {\n  background-color: #f8f8f8;\n}\n\n.gpay-button-fill, .gpay-button-fill > .gpay-button.white, .gpay-button-fill > .gpay-button.black {\n  width: 100%;\n  height: inherit;\n}\n\n.gpay-button-fill > .gpay-button.white,\n  .gpay-button-fill > .gpay-button.black {\n    padding: 12px 15% 10px;\n}\n\n.gpay-button.donate, .gpay-button.book,\n.gpay-button.checkout,\n.gpay-button.subscribe, .gpay-button.pay,\n.gpay-button.order {\n    padding: 9px 24px;\n}\n\n.gpay-button-fill > .gpay-button.donate,\n.gpay-button-fill > .gpay-button.book,\n.gpay-button-fill > .gpay-button.checkout,\n.gpay-button-fill > .gpay-button.order,\n.gpay-button-fill > .gpay-button.pay,\n.gpay-button-fill > .gpay-button.subscribe {\n    padding: 9px 15%;\n}\n\n",
          c),gc.push(c),hc.push([]));d=gc.indexOf(c);e=b+"_"+g.buttonType;t(hc[d],"includes").call(hc[d],e)||(g=g.buttonType,Qa(g&&"short"!=g&&"plain"!=g?"long"==g||"buy"==g?"\n    .gpay-button.long."+b+", .gpay-button.buy."+b+" {\n      min-width: "+La.buy[b]+"px;\n    }\n\n    .gpay-button.white.long."+b+", .gpay-button.white.buy."+b+" {\n      background-image: url(https://www.gstatic.com/instantbuy/svg/light/"+b+".svg);\n    }\n\n    .gpay-button.black.long."+b+", .gpay-button.black.buy."+b+" {\n      background-image: url(https://www.gstatic.com/instantbuy/svg/dark/"+
          b+".svg);\n    }":"\n    .gpay-button.white."+g+"."+b+" {\n      background-image: url(https://www.gstatic.com/instantbuy/svg/light/"+g+"/"+b+".svg);\n    }\n\n    .gpay-button.black."+g+"."+b+" {\n      background-image: url(https://www.gstatic.com/instantbuy/svg/dark/"+g+"/"+b+".svg);\n    }\n\n    .gpay-button."+g+"."+b+" {\n      min-width: "+La[g][b]+"px;\n    }\n  ":"",c),hc[d].push(e));b=document.createElement("button");pc(b);(n=t(Object,"values").call(Object,Ja),t(n,"includes")).call(n,a.buttonColor)||
      (a.buttonColor="default");"default"==a.buttonColor&&(a.buttonColor="black");c=oc(a);b.setAttribute("class","gpay-button "+c);qc(b);if(a.onClick)b.addEventListener("click",a.onClick);else throw Error("Parameter 'onClick' must be set.");c=document.createElement("div");"fill"===a.buttonSizeMode&&c.setAttribute("class","gpay-button-fill");c.appendChild(b);a=c}else a=nc(a);P({eventType:2,clientLatencyStartMs:Date.now(),buyFlowActivityReason:this.l.o,softwareInfo:X(this),buttonInfo:this.X});return a};
      m.Ub=function(a){var b=this;a=a.then(function(c){google.payments.api.LogInternally&&console.log("payment data",c);if(c.error){var d=Error();d.statusCode=c.error.statusCode;d.statusMessage=c.error.statusMessage;E({ga:"loadPaymentData",errorMessage:d.statusMessage});throw d;}return c});a.then(function(c){google.payments.api.LogInternally&&console.log("payment data resolve to ",c);P({eventType:1,clientLatencyStartMs:b.Rb,buyFlowMode:b.oa,buyFlowActivityReason:b.l.o,softwareInfo:X(b),buttonInfo:b.X})}).catch(function(c){google.payments.api.LogInternally&&
      console.log("payment data has error",c);c.errorCode?P({eventType:1,error:c.errorCode,buyFlowMode:b.oa,buyFlowActivityReason:b.l.o,softwareInfo:X(b),buttonInfo:b.X}):P({eventType:1,error:6,buyFlowMode:b.oa,buyFlowActivityReason:b.l.o,softwareInfo:X(b),buttonInfo:b.X})});this.nb(a)};
      m.va=function(a){var b={googleTransactionId:se,usingPayJs:!0};a.i=a.i?t(Object,"assign").call(Object,b,a.i):b;a.i.firstPartyMerchantIdentifier&&delete a.i.firstPartyMerchantIdentifier;this.H.i&&this.H.i.firstPartyMerchantIdentifier&&(a.i.firstPartyMerchantIdentifier=this.H.i.firstPartyMerchantIdentifier)};Y.prototype.createButton=Y.prototype.pa;Y.prototype.loadPaymentData=Y.prototype.U;Y.prototype.notifyAvailableOffers=Y.prototype.Ea;Y.prototype.prefetchPaymentData=Y.prototype.O;
      Y.prototype.isReadyToPay=Y.prototype.F;
      var ve=null,Be=null,te=function(a,b){b=void 0===b?!1:b;this.gb=a;this.o=[];null!=window.navigator.userAgent.match(/Android|iPhone|iPad|iPod|BlackBerry|IEMobile/i)?(this.o.push(37),a=!1):(a=window.navigator.userAgent.match(/Chrome\/([0-9]+)\./i),"PaymentRequest"in window&&null!=a&&70<=Number(a[1])&&"Google Inc."==window.navigator.vendor?(this.o.push(98),this.gb.paymentDataCallbacks&&this.o.push(97),a=!0):(this.o.push(36),a=!1));this.ua=a;this.Ma=Ce(this);this.mode=2;b?(this.o=[38],this.mode=1):this.Ma&&
      this.ua?this.mode=5:this.Ma&&(this.mode=4);this.gb.paymentDataCallbacks&&this.o.push(1)},ye=function(a){return!0===(a.i&&a.i.disableNative)},Ae=function(a,b,c){return 2===a.mode||1===a.mode?a.mode:ye(b)?(c.push(3),2):!Be&&(a.ua||google.payments.api.UseCanMakePaymentForFallbackOnMobile&&a.Ma)?(c.push(40),2):a.ua&&b.swg?(c.push(5),2):a.mode},Ce=function(a){if(!window.PaymentRequest)return a.o.push(41),!1;var b=-1!==window.navigator.userAgent.indexOf("OPT/"),c=-1!==window.navigator.userAgent.indexOf("SamsungBrowser/");
          if(-1!==window.navigator.userAgent.indexOf("OPR/")||b||c)return a.o.push(35),!1;if(a.ua)return!0;if(google.payments.api.DisablePaymentRequest&&!google.payments.api.EnablePaymentRequest)return a.o.push(3),!1;b=window.navigator.userAgent.match(/Android/i);c=window.navigator.userAgent.match(/Chrome\/([0-9]+)\./i);if(!(null!=b&&"PaymentRequest"in window&&"Google Inc."==window.navigator.vendor&&null!=c&&59<=Number(c[1])))return a.o.push(34),!1;if(!a.gb.paymentDataCallbacks)return!0;if(92>Number(c[1]))return!1;
          a.o.push(96);return google.payments.api.EnableDynamicUpdateForClank?!0:(a.o.push(42),!1)};ma("google.payments.api.PaymentsAsyncClient",Y);Y.prototype.isReadyToPay=Y.prototype.F;Y.prototype.prefetchPaymentData=Y.prototype.O;Y.prototype.loadPaymentData=Y.prototype.U;Y.prototype.createButton=Y.prototype.pa;Y.prototype.notifyAvailableOffers=Y.prototype.Ea;var Z=function(a,b){a=void 0===a?{}:a;this.rc=Ta({},window.gpayMerchantIdFromUrl?{merchantInfo:{merchantId:window.gpayMerchantIdFromUrl}}:{},window.gpayInitParams,a);this.Ra=new Y(this.rc,this.vc.bind(this),b);this.Ga=null};m=Z.prototype;m.vc=function(a){this.Ga(a)};m.F=function(a){return this.Ra.F(a)};m.O=function(a){this.Ra.O(a)};m.Ea=function(){};
      m.U=function(a){ return mockingPaymentData; var b=this;google.payments.api.EnablePwgTestExperiment&&console.log("ZOMBIEMONKEYATEMYBRAIN");return(new r.Promise(function(c){if(b.Ga)throw Error("This method can only be called one at a time.");b.Ga=c;b.Ra.U(a)})).then(function(c){b.Ga=null;return c},function(c){b.Ga=null;throw c;})};m.pa=function(a){a=void 0===a?{}:a;return this.Ra.pa(a)};Z.prototype.createButton=Z.prototype.pa;Z.prototype.loadPaymentData=Z.prototype.U;Z.prototype.notifyAvailableOffers=Z.prototype.Ea;
      Z.prototype.prefetchPaymentData=Z.prototype.O;Z.prototype.isReadyToPay=Z.prototype.F;ma("google.payments.api.PaymentsClient",Z);Z.prototype.isReadyToPay=Z.prototype.F;Z.prototype.prefetchPaymentData=Z.prototype.O;Z.prototype.loadPaymentData=Z.prototype.U;Z.prototype.createButton=Z.prototype.pa;Z.prototype.notifyAvailableOffers=Z.prototype.Ea;google.payments.api.UseCanMakePaymentResultFromPayjs&&(ve=(new PaymentRequest([{supportedMethods:["https://google.com/pay"],data:{apiVersion:2,apiVersionMinor:0,allowedPaymentMethods:[{type:"CARD",parameters:{allowedAuthMethods:["PAN_ONLY","CRYPTOGRAM_3DS"],allowedCardNetworks:["VISA","MASTERCARD"]}}]}}],{total:{label:"Estimated Total Price",amount:{currency:"USD",value:"10"}}})).canMakePayment(),ve.then(function(a){return Be=a}).catch(function(){return Be=!1}));}).call(this);
  