dappros/ethora

View on GitHub
client-web/build/static/js/173.29aa513d.chunk.js

Summary

Maintainability
A
0 mins
Test Coverage
(self.webpackChunkweb_app=self.webpackChunkweb_app||[]).push([[173],{92148:function(e,t,n){"use strict";var r=n(64836);t.Z=void 0;var o=r(n(45649)),i=n(80184),a=(0,o.default)((0,i.jsx)("path",{d:"M12.16 3h-.32L9.21 8.25h5.58zm4.3 5.25h5.16L19 3h-5.16zm4.92 1.5h-8.63V20.1zM11.25 20.1V9.75H2.62zM7.54 8.25 10.16 3H5L2.38 8.25z"}),"Diamond");t.Z=a},42093:function(e,t,n){"use strict";var r=n(64836);t.Z=void 0;!function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!==typeof e&&"function"!==typeof e)return{default:e};var n=a(t);if(n&&n.has(e))return n.get(e);var r={},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&Object.prototype.hasOwnProperty.call(e,i)){var c=o?Object.getOwnPropertyDescriptor(e,i):null;c&&(c.get||c.set)?Object.defineProperty(r,i,c):r[i]=e[i]}r.default=e,n&&n.set(e,r)}(n(72791));var o=r(n(45649)),i=n(80184);function a(e){if("function"!==typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(a=function(e){return e?n:t})(e)}var c=(0,o.default)((0,i.jsx)("path",{d:"M5 3h14a2 2 0 0 1 2 2v14a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2m13 2h-2.5A3.5 3.5 0 0 0 12 8.5V11h-2v3h2v7h3v-7h3v-3h-3V9a1 1 0 0 1 1-1h2V5z"}),"Facebook");t.Z=c},38365:function(e,t,n){"use strict";var r=n(64836);t.Z=void 0;!function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!==typeof e&&"function"!==typeof e)return{default:e};var n=a(t);if(n&&n.has(e))return n.get(e);var r={},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&Object.prototype.hasOwnProperty.call(e,i)){var c=o?Object.getOwnPropertyDescriptor(e,i):null;c&&(c.get||c.set)?Object.defineProperty(r,i,c):r[i]=e[i]}r.default=e,n&&n.set(e,r)}(n(72791));var o=r(n(45649)),i=n(80184);function a(e){if("function"!==typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(a=function(e){return e?n:t})(e)}var c=(0,o.default)((0,i.jsx)("path",{d:"M12.545,10.239v3.821h5.445c-0.712,2.315-2.647,3.972-5.445,3.972c-3.332,0-6.033-2.701-6.033-6.032s2.701-6.032,6.033-6.032c1.498,0,2.866,0.549,3.921,1.453l2.814-2.814C17.503,2.988,15.139,2,12.545,2C7.021,2,2.543,6.477,2.543,12s4.478,10,10.002,10c8.396,0,10.249-7.85,9.426-11.748L12.545,10.239z"}),"Google");t.Z=c},58992:function(e,t,n){"use strict";n.d(t,{_k:function(){return y}});var r=n(47465),o=n(12591);var i=function(e){var t,n;function r(t){var n,r=(void 0===t?{}:t).supportedChainIds;return(n=e.call(this)||this).supportedChainIds=r,n}n=e,(t=r).prototype=Object.create(n.prototype),t.prototype.constructor=t,t.__proto__=n;var i=r.prototype;return i.emitUpdate=function(e){this.emit(o._.Update,e)},i.emitError=function(e){this.emit(o._.Error,e)},i.emitDeactivate=function(){this.emit(o._.Deactivate)},r}(r.EventEmitter);function a(){return a=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},a.apply(this,arguments)}function c(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,e.__proto__=t}function s(e){return s=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},s(e)}function u(e,t){return u=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},u(e,t)}function l(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}function f(e,t,n){return f=l()?Reflect.construct:function(e,t,n){var r=[null];r.push.apply(r,t);var o=new(Function.bind.apply(e,r));return n&&u(o,n.prototype),o},f.apply(null,arguments)}function d(e){var t="function"===typeof Map?new Map:void 0;return d=function(e){if(null===e||(n=e,-1===Function.toString.call(n).indexOf("[native code]")))return e;var n;if("function"!==typeof e)throw new TypeError("Super expression must either be null or a function");if("undefined"!==typeof t){if(t.has(e))return t.get(e);t.set(e,r)}function r(){return f(e,arguments,s(this).constructor)}return r.prototype=Object.create(e.prototype,{constructor:{value:r,enumerable:!1,writable:!0,configurable:!0}}),u(r,e)},d(e)}function p(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}"undefined"!==typeof Symbol&&(Symbol.iterator||(Symbol.iterator=Symbol("Symbol.iterator"))),"undefined"!==typeof Symbol&&(Symbol.asyncIterator||(Symbol.asyncIterator=Symbol("Symbol.asyncIterator")));function h(e,t){try{var n=e()}catch(r){return t(r)}return n&&n.then?n.then(void 0,t):n}function g(e){return e.hasOwnProperty("result")?e.result:e}var b=function(e){function t(){var t;return(t=e.call(this)||this).name=t.constructor.name,t.message="No Ethereum provider was found on window.ethereum.",t}return c(t,e),t}(d(Error)),m=function(e){function t(){var t;return(t=e.call(this)||this).name=t.constructor.name,t.message="The user rejected the request.",t}return c(t,e),t}(d(Error)),y=function(e){function t(t){var n;return(n=e.call(this,t)||this).handleNetworkChanged=n.handleNetworkChanged.bind(p(n)),n.handleChainChanged=n.handleChainChanged.bind(p(n)),n.handleAccountsChanged=n.handleAccountsChanged.bind(p(n)),n.handleClose=n.handleClose.bind(p(n)),n}c(t,e);var n=t.prototype;return n.handleChainChanged=function(e){this.emitUpdate({chainId:e,provider:window.ethereum})},n.handleAccountsChanged=function(e){0===e.length?this.emitDeactivate():this.emitUpdate({account:e[0]})},n.handleClose=function(e,t){this.emitDeactivate()},n.handleNetworkChanged=function(e){this.emitUpdate({chainId:e,provider:window.ethereum})},n.activate=function(){try{var e,t=function(t){if(n)return t;function r(){return a({provider:window.ethereum},e?{account:e}:{})}var o=function(){if(!e)return Promise.resolve(window.ethereum.enable().then((function(e){return e&&g(e)[0]}))).then((function(t){e=t}))}();return o&&o.then?o.then(r):r()},n=!1,r=this;if(!window.ethereum)throw new b;window.ethereum.on&&(window.ethereum.on("chainChanged",r.handleChainChanged),window.ethereum.on("accountsChanged",r.handleAccountsChanged),window.ethereum.on("close",r.handleClose),window.ethereum.on("networkChanged",r.handleNetworkChanged)),window.ethereum.isMetaMask&&(window.ethereum.autoRefreshOnNetworkChange=!1);var o=h((function(){return Promise.resolve(window.ethereum.send("eth_requestAccounts").then((function(e){return g(e)[0]}))).then((function(t){e=t}))}),(function(e){if(4001===e.code)throw new m}));return Promise.resolve(o&&o.then?o.then(t):t(o))}catch(i){return Promise.reject(i)}},n.getProvider=function(){try{return Promise.resolve(window.ethereum)}catch(e){return Promise.reject(e)}},n.getChainId=function(){try{var e,t=function(){function t(){if(!e)try{e=g(window.ethereum.send({method:"net_version"}))}catch(t){}return e||(e=window.ethereum.isDapper?g(window.ethereum.cachedResults.net_version):window.ethereum.chainId||window.ethereum.netVersion||window.ethereum.networkVersion||window.ethereum._chainId),e}var n=function(){if(!e){var t=h((function(){return Promise.resolve(window.ethereum.send("net_version").then(g)).then((function(t){e=t}))}),(function(){}));if(t&&t.then)return t.then((function(){}))}}();return n&&n.then?n.then(t):t()};if(!window.ethereum)throw new b;var n=h((function(){return Promise.resolve(window.ethereum.send("eth_chainId").then(g)).then((function(t){e=t}))}),(function(){}));return Promise.resolve(n&&n.then?n.then(t):t())}catch(r){return Promise.reject(r)}},n.getAccount=function(){try{var e,t=function(){function t(){return e||(e=g(window.ethereum.send({method:"eth_accounts"}))[0]),e}var n=function(){if(!e){var t=h((function(){return Promise.resolve(window.ethereum.enable().then((function(e){return g(e)[0]}))).then((function(t){e=t}))}),(function(){}));if(t&&t.then)return t.then((function(){}))}}();return n&&n.then?n.then(t):t()};if(!window.ethereum)throw new b;var n=h((function(){return Promise.resolve(window.ethereum.send("eth_accounts").then((function(e){return g(e)[0]}))).then((function(t){e=t}))}),(function(){}));return Promise.resolve(n&&n.then?n.then(t):t())}catch(r){return Promise.reject(r)}},n.deactivate=function(){window.ethereum&&window.ethereum.removeListener&&(window.ethereum.removeListener("chainChanged",this.handleChainChanged),window.ethereum.removeListener("accountsChanged",this.handleAccountsChanged),window.ethereum.removeListener("close",this.handleClose),window.ethereum.removeListener("networkChanged",this.handleNetworkChanged))},n.isAuthorized=function(){try{return window.ethereum?Promise.resolve(h((function(){return Promise.resolve(window.ethereum.send("eth_accounts").then((function(e){return g(e).length>0})))}),(function(){return!1}))):Promise.resolve(!1)}catch(e){return Promise.reject(e)}},t}(i)},2647:function(__unused_webpack_module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__.d(__webpack_exports__,{M:function(){return gapi}});var gapi=window.gapi=window.gapi||{};gapi._bs=(new Date).getTime(),function(){var aa="function"==typeof Object.defineProperties?Object.defineProperty:function(e,t,n){return e==Array.prototype||e==Object.prototype||(e[t]=n.value),e},da=function(e){e=["object"==typeof globalThis&&globalThis,e,"object"==typeof window&&window,"object"==typeof self&&self,"object"==typeof __webpack_require__.g&&__webpack_require__.g];for(var t=0;t<e.length;++t){var n=e[t];if(n&&n.Math==Math)return n}throw Error("Cannot find global object")},ea=da(this),fa=function(e,t){if(t)e:{var n=ea;e=e.split(".");for(var r=0;r<e.length-1;r++){var o=e[r];if(!(o in n))break e;n=n[o]}(t=t(r=n[e=e[e.length-1]]))!=r&&null!=t&&aa(n,e,{configurable:!0,writable:!0,value:t})}},ha=function(e){var t=0;return function(){return t<e.length?{done:!1,value:e[t++]}:{done:!0}}};fa("Symbol",(function(e){if(e)return e;var t=function(e,t){this.ba=e,aa(this,"description",{configurable:!0,writable:!0,value:t})};t.prototype.toString=function(){return this.ba};var n=0;return function e(r){if(this instanceof e)throw new TypeError("Symbol is not a constructor");return new t("jscomp_symbol_"+(r||"")+"_"+n++,r)}})),fa("Symbol.iterator",(function(e){if(e)return e;e=Symbol("Symbol.iterator");for(var t="Array Int8Array Uint8Array Uint8ClampedArray Int16Array Uint16Array Int32Array Uint32Array Float32Array Float64Array".split(" "),n=0;n<t.length;n++){var r=ea[t[n]];"function"===typeof r&&"function"!=typeof r.prototype[e]&&aa(r.prototype,e,{configurable:!0,writable:!0,value:function(){return ia(ha(this))}})}return e}));var ia=function(e){return(e={next:e})[Symbol.iterator]=function(){return this},e},ja=function(e,t){e instanceof String&&(e+="");var n=0,r=!1,o={next:function(){if(!r&&n<e.length){var o=n++;return{value:t(o,e[o]),done:!1}}return r=!0,{done:!0,value:void 0}}};return o[Symbol.iterator]=function(){return o},o};fa("Array.prototype.keys",(function(e){return e||function(){return ja(this,(function(e){return e}))}}));var m=this||self,ka=function(e){var t=typeof e;return"object"!=t?t:e?Array.isArray(e)?"array":t:"null"},la=function(e,t,n){return e.call.apply(e.bind,arguments)},ma=function(e,t,n){if(!e)throw Error();if(2<arguments.length){var r=Array.prototype.slice.call(arguments,2);return function(){var n=Array.prototype.slice.call(arguments);return Array.prototype.unshift.apply(n,r),e.apply(t,n)}}return function(){return e.apply(t,arguments)}},_na=function(e,t,n){return(_na=Function.prototype.bind&&-1!=Function.prototype.bind.toString().indexOf("native code")?la:ma).apply(null,arguments)},oa=function(e,t){function n(){}n.prototype=t.prototype,e.ma=t.prototype,e.prototype=new n,e.prototype.constructor=e,e.A=function(e,n,r){for(var o=Array(arguments.length-2),i=2;i<arguments.length;i++)o[i-2]=arguments[i];return t.prototype[n].apply(e,o)}},pa=function(e){return e},qa=function(e){var t=null,n=m.trustedTypes;if(!n||!n.createPolicy)return t;try{t=n.createPolicy(e,{createHTML:pa,createScript:pa,createScriptURL:pa})}catch(r){m.console&&m.console.error(r.message)}return t};function q(e){if(Error.captureStackTrace)Error.captureStackTrace(this,q);else{var t=Error().stack;t&&(this.stack=t)}e&&(this.message=String(e))}oa(q,Error),q.prototype.name="CustomError";var ra=function(e,t){for(var n="",r=(e=e.split("%s")).length-1,o=0;o<r;o++)n+=e[o]+(o<t.length?t[o]:"%s");q.call(this,n+e[r])};oa(ra,q),ra.prototype.name="AssertionError";var sa=function(e,t,n,r){var o="Assertion failed";if(n){o+=": "+n;var i=r}else e&&(o+=": "+e,i=t);throw new ra(""+o,i||[])},ta=function(e,t,n){return e||sa("",null,t,Array.prototype.slice.call(arguments,2)),e},ua=function(e,t){throw new ra("Failure"+(e?": "+e:""),Array.prototype.slice.call(arguments,1))},va=function(e,t,n){"string"!==typeof e&&sa("Expected string but got %s: %s.",[ka(e),e],t,Array.prototype.slice.call(arguments,2))},xa=function(e,t){e:{try{var n=e&&e.ownerDocument,r=n&&(n.defaultView||n.parentWindow);if((r=r||m).Element&&r.Location){var o=r;break e}}catch(a){}o=null}if(o&&"undefined"!=typeof o[t]&&(!e||!(e instanceof o[t])&&(e instanceof o.Location||e instanceof o.Element))){if("object"==(o=typeof e)&&null!=e||"function"==o)try{var i=e.constructor.displayName||e.constructor.name||Object.prototype.toString.call(e)}catch(a){i="<object could not be stringified>"}else i=void 0===e?"undefined":null===e?"null":typeof e;ua("Argument is not a %s (or a non-Element, non-Location mock); got: %s",t,i)}return e},ya,t=function(e,t){this.P=e===za&&t||"",this.ca=Aa};t.prototype.J=!0,t.prototype.H=function(){return this.P},t.prototype.toString=function(){return"Const{"+this.P+"}"};var Ba=function(e){return e instanceof t&&e.constructor===t&&e.ca===Aa?e.P:(ua("expected object of type Const, got '"+e+"'"),"type_error:Const")},Aa={},za={},v=function(e,t){this.N=t===Ca?e:""};v.prototype.J=!0,v.prototype.H=function(){return this.N.toString()},v.prototype.toString=function(){return"SafeUrl{"+this.N+"}"};var Da=function(e){return e instanceof v&&e.constructor===v?e.N:(ua("expected object of type SafeUrl, got '"+e+"' of type "+ka(e)),"type_error:SafeUrl")},Ea=/^(?:(?:https?|mailto|ftp):|[^:/?#]*(?:[/?#]|$))/i,Fa=function(e){return e instanceof v?e:(e="object"==typeof e&&e.J?e.H():String(e),ta(Ea.test(e),"%s does not match the safe URL pattern",e)||(e="about:invalid#zClosurez"),new v(e,Ca))},Ca={},w=function(e,t,n){this.M=n===Ga?e:""};w.prototype.J=!0,w.prototype.H=function(){return this.M.toString()},w.prototype.toString=function(){return"SafeHtml{"+this.M+"}"};var Ha=function(e){return e instanceof w&&e.constructor===w?e.M:(ua("expected object of type SafeHtml, got '"+e+"' of type "+ka(e)),"type_error:SafeHtml")},Ga={},Ia=new w(m.trustedTypes&&m.trustedTypes.emptyHTML||"",0,Ga),Ja={MATH:!0,SCRIPT:!0,STYLE:!0,SVG:!0,TEMPLATE:!0},Ka=function(e){var t,n=!1;return function(){return n||(t=function(){if("undefined"===typeof document)return!1;var e=document.createElement("div"),t=document.createElement("div");return t.appendChild(document.createElement("div")),e.appendChild(t),!!e.firstChild&&(t=e.firstChild.firstChild,e.innerHTML=Ha(Ia),!t.parentElement)}(),n=!0),t}}(),x=window,z=document,La=x.location,Ma=function(){},Na=/\[native code\]/,A=function(e,t,n){return e[t]=e[t]||n},Oa=function(e){for(var t=0;t<this.length;t++)if(this[t]===e)return t;return-1},Pa=function(e){e=e.sort();for(var t=[],n=void 0,r=0;r<e.length;r++){var o=e[r];o!=n&&t.push(o),n=o}return t},Qa=/&/g,Ra=/</g,Sa=/>/g,Ua=/"/g,Va=/'/g,Wa=function(e){return String(e).replace(Qa,"&amp;").replace(Ra,"&lt;").replace(Sa,"&gt;").replace(Ua,"&quot;").replace(Va,"&#39;")},B=function(){var e;if((e=Object.create)&&Na.test(e))e=e(null);else for(var t in e={})e[t]=void 0;return e},C=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},Xa=function(e){if(Na.test(Object.keys))return Object.keys(e);var t,n=[];for(t in e)C(e,t)&&n.push(t);return n},D=function(e,t){for(var n in e=e||{})C(e,n)&&(t[n]=e[n])},Ya=function(e){return function(){x.setTimeout(e,0)}},E=function(e,t){if(!e)throw Error(t||"")},F=A(x,"gapi",{}),H=function(e,t,n){var r=new RegExp("([#].*&|[#])"+t+"=([^&#]*)","g");if(t=new RegExp("([?#].*&|[?#])"+t+"=([^&#]*)","g"),e=e&&(r.exec(e)||t.exec(e)))try{n=decodeURIComponent(e[2])}catch(o){}return n},Za=new RegExp(/^/.source+/([a-zA-Z][-+.a-zA-Z0-9]*:)?/.source+/(\/\/[^\/?#]*)?/.source+/([^?#]*)?/.source+/(\?([^#]*))?/.source+/(#((#|[^#])*))?/.source+/$/.source),$a=/[\ud800-\udbff][\udc00-\udfff]|[^!-~]/g,ab=new RegExp(/(%([^0-9a-fA-F%]|[0-9a-fA-F]([^0-9a-fA-F%])?)?)*/.source+/%($|[^0-9a-fA-F]|[0-9a-fA-F]($|[^0-9a-fA-F]))/.source,"g"),bb=/%([a-f]|[0-9a-fA-F][a-f])/g,cb=/^(https?|ftp|file|chrome-extension):$/i,I=function(e){e=(e=(e=String(e)).replace($a,(function(e){try{return encodeURIComponent(e)}catch(t){return encodeURIComponent(e.replace(/^[^%]+$/g,"\ufffd"))}})).replace(ab,(function(e){return e.replace(/%/g,"%25")})).replace(bb,(function(e){return e.toUpperCase()}))).match(Za)||[];var t=B(),n=function(e){return e.replace(/\\/g,"%5C").replace(/\^/g,"%5E").replace(/`/g,"%60").replace(/\{/g,"%7B").replace(/\|/g,"%7C").replace(/\}/g,"%7D")},r=!!(e[1]||"").match(cb);return t.A=n((e[1]||"")+(e[2]||"")+(e[3]||(e[2]&&r?"/":""))),r=function(e){return n(e.replace(/\?/g,"%3F").replace(/#/g,"%23"))},t.query=e[5]?[r(e[5])]:[],t.g=e[7]?[r(e[7])]:[],t},db=function(e){return e.A+(0<e.query.length?"?"+e.query.join("&"):"")+(0<e.g.length?"#"+e.g.join("&"):"")},eb=function(e,t){var n=[];if(e)for(var r in e)if(C(e,r)&&null!=e[r]){var o=t?t(e[r]):e[r];n.push(encodeURIComponent(r)+"="+encodeURIComponent(o))}return n},fb=function(e,t,n,r){return(e=I(e)).query.push.apply(e.query,eb(t,r)),e.g.push.apply(e.g,eb(n,r)),db(e)},gb=new RegExp(/\/?\??#?/.source+"("+/[\/?#]/i.source+"|"+/[\uD800-\uDBFF]/i.source+"|"+/%[c-f][0-9a-f](%[89ab][0-9a-f]){0,2}(%[89ab]?)?/i.source+"|"+/%[0-9a-f]?/i.source+")$","i"),hb=function(e,n){var r=I(n);n=r.A,r.query.length&&(n+="?"+r.query.join("")),r.g.length&&(n+="#"+r.g.join(""));var o="";2e3<n.length&&(o=n,n=(n=n.substr(0,2e3)).replace(gb,""),o=o.substr(n.length));var i=e.createElement("div");if(e=e.createElement("a"),n=(r=I(n)).A,r.query.length&&(n+="?"+r.query.join("")),r.g.length&&(n+="#"+r.g.join("")),n=new v(n,Ca),xa(e,"HTMLAnchorElement"),n=n instanceof v?n:Fa(n),e.href=Da(n),i.appendChild(e),n=i.innerHTML,r=new t(za,"Assignment to self."),va(Ba(r),"must provide justification"),ta(!/^[\s\xa0]*$/.test(Ba(r)),"must provide non-empty justification"),void 0===ya&&(ya=qa("gapi#html")),n=(r=ya)?r.createHTML(n):n,n=new w(n,null,Ga),i.tagName&&Ja[i.tagName.toUpperCase()])throw Error("goog.dom.safe.setInnerHtml cannot be used to set content of "+i.tagName+".");if(Ka())for(;i.lastChild;)i.removeChild(i.lastChild);return i.innerHTML=Ha(n),n=String(i.firstChild.href),i.parentNode&&i.parentNode.removeChild(i),o=(r=I(n+o)).A,r.query.length&&(o+="?"+r.query.join("")),r.g.length&&(o+="#"+r.g.join("")),o},ib=/^https?:\/\/[^\/%\\?#\s]+\/[^\s]*$/i,jb=function(e,t,n,r){x[n+"EventListener"]?x[n+"EventListener"](e,t,!1):x[r+"tachEvent"]&&x[r+"tachEvent"]("on"+e,t)},kb=function(){var e=z.readyState;return"complete"===e||"interactive"===e&&-1==navigator.userAgent.indexOf("MSIE")},nb=function(e){var t=lb;if(!kb())try{t()}catch(n){}mb(e)},mb=function(e){if(kb())e();else{var t=!1,n=function(){if(!t)return t=!0,e.apply(this,arguments)};x.addEventListener?(x.addEventListener("load",n,!1),x.addEventListener("DOMContentLoaded",n,!1)):x.attachEvent&&(x.attachEvent("onreadystatechange",(function(){kb()&&n.apply(this,arguments)})),x.attachEvent("onload",n))}},ob=function(e){for(;e.firstChild;)e.removeChild(e.firstChild)},pb={button:!0,div:!0,span:!0},K;K=A(x,"___jsl",B()),A(K,"I",0),A(K,"hel",10);var qb=function(e){return K.dpo?K.h:H(e,"jsh",K.h)},rb=function(e){var t=A(K,"sws",[]);t.push.apply(t,e)},sb=function(e){return A(K,"watt",B())[e]},tb=function(e){var t=A(K,"PQ",[]);K.PQ=[];var n=t.length;if(0===n)e();else for(var r=0,o=function(){++r===n&&e()},i=0;i<n;i++)t[i](o)},ub=function(e){return A(A(K,"H",B()),e,B())},vb=A(K,"perf",B()),wb=A(vb,"g",B()),xb=A(vb,"i",B());A(vb,"r",[]),B(),B();var yb=function(e,t,n){var r=vb.r;"function"===typeof r?r(e,t,n):r.push([e,t,n])},L=function(e,t,n){wb[e]=!t&&wb[e]||n||(new Date).getTime(),yb(e)},Ab=function(e,t,n){t&&0<t.length&&(t=zb(t),n&&0<n.length&&(t+="___"+zb(n)),28<t.length&&(t=t.substr(0,28)+(t.length-28)),n=t,t=A(xb,"_p",B()),A(t,n,B())[e]=(new Date).getTime(),yb(e,"_p",n))},zb=function(e){return e.join("__").replace(/\./g,"_").replace(/\-/g,"_").replace(/,/g,"_")},Bb=B(),N=[],O=function(e){throw Error("Bad hint"+(e?": "+e:""))};N.push(["jsl",function(e){for(var t in e)if(C(e,t)){var n=e[t];"object"==typeof n?K[t]=A(K,t,[]).concat(n):A(K,t,n)}(t=e.u)&&((e=A(K,"us",[])).push(t),(t=/^https:(.*)$/.exec(t))&&e.push("http:"+t[1]))}]);var Cb=/^(\/[a-zA-Z0-9_\-]+)+$/,Db=[/\/amp\//,/\/amp$/,/^\/amp$/],Eb=/^[a-zA-Z0-9\-_\.,!]+$/,Fb=/^gapi\.loaded_[0-9]+$/,Gb=/^[a-zA-Z0-9,._-]+$/,Kb=function(e,t,n,r){var o=e.split(";"),i=o.shift(),a=Bb[i],c=null;return a?c=a(o,t,n,r):O("no hint processor for: "+i),c||O("failed to generate load url"),n=(t=c).match(Hb),(r=t.match(Ib))&&1===r.length&&Jb.test(t)&&n&&1===n.length||O("failed sanity: "+e),c},Nb=function(e,t,n,r){e=Lb(e),Fb.test(n)||O("invalid_callback"),t=Mb(t),r=r&&r.length?Mb(r):null;var o=function(e){return encodeURIComponent(e).replace(/%2C/g,",")};return[encodeURIComponent(e.pathPrefix).replace(/%2C/g,",").replace(/%2F/g,"/"),"/k=",o(e.version),"/m=",o(t),r?"/exm="+o(r):"","/rt=j/sv=1/d=1/ed=1",e.S?"/am="+o(e.S):"",e.Z?"/rs="+o(e.Z):"",e.aa?"/t="+o(e.aa):"","/cb=",o(n)].join("")},Lb=function(e){"/"!==e.charAt(0)&&O("relative path");for(var t=e.substring(1).split("/"),n=[];t.length;){if((e=t.shift()).length&&0!=e.indexOf(".")){if(0<e.indexOf("=")){t.unshift(e);break}}else O("empty/relative directory");n.push(e)}e={};for(var r=0,o=t.length;r<o;++r){var i=t[r].split("="),a=decodeURIComponent(i[0]),c=decodeURIComponent(i[1]);2==i.length&&a&&c&&(e[a]=e[a]||c)}for(t="/"+n.join("/"),Cb.test(t)||O("invalid_prefix"),n=0,r=Db.length;n<r;++n)Db[n].test(t)&&O("invalid_prefix");return{pathPrefix:t,version:n=Ob(e,"k",!0),S:r=Ob(e,"am"),Z:o=Ob(e,"rs"),aa:e=Ob(e,"t")}},Mb=function(e){for(var t=[],n=0,r=e.length;n<r;++n){var o=e[n].replace(/\./g,"_").replace(/-/g,"_");Gb.test(o)&&t.push(o)}return t.join(",")},Ob=function(e,t,n){if(!(e=e[t])&&n&&O("missing: "+t),e){if(Eb.test(e))return e;O("invalid: "+t)}return null},Jb=/^https?:\/\/[a-z0-9_.-]+\.google(rs)?\.com(:\d+)?\/[a-zA-Z0-9_.,!=\-\/]+$/,Ib=/\/cb=/g,Hb=/\/\//g,Pb=function(){var e=qb(La.href);if(!e)throw Error("Bad hint");return e};Bb.m=function(e,t,n,r){return(e=e[0])||O("missing_hint"),"https://apis.google.com"+Nb(e,t,n,r)};var Qb=decodeURI("%73cript"),Rb=/^[-+_0-9\/A-Za-z]+={0,2}$/,Sb=function(e,t){for(var n=[],r=0;r<e.length;++r){var o=e[r];o&&0>Oa.call(t,o)&&n.push(o)}return n},Tb=function(){var e=K.nonce;return void 0!==e?e&&e===String(e)&&e.match(Rb)?e:K.nonce=null:z.querySelector&&(e=z.querySelector("script[nonce]"))?(e=e.nonce||e.getAttribute("nonce")||"")&&e===String(e)&&e.match(Rb)?K.nonce=e:K.nonce=null:null},Wb=function(e){if("loading"!=z.readyState)Ub(e);else{var t=Tb(),n="";null!==t&&(n=' nonce="'+t+'"'),e="<"+Qb+' src="'+encodeURI(e)+'"'+n+"></"+Qb+">",z.write(Vb?Vb.createHTML(e):e)}},Ub=function(e){var t=z.createElement(Qb);t.setAttribute("src",Vb?Vb.createScriptURL(e):e),null!==(e=Tb())&&t.setAttribute("nonce",e),t.async="true",(e=z.getElementsByTagName(Qb)[0])?e.parentNode.insertBefore(t,e):(z.head||z.body||z.documentElement).appendChild(t)},Xb=function(e,t){var n=t&&t._c;if(n)for(var r=0;r<N.length;r++){var o=N[r][0],i=N[r][1];i&&C(n,o)&&i(n[o],e,t)}},Zb=function(e,t,n){Yb((function(){var n=t===qb(La.href)?A(F,"_",B()):B();n=A(ub(t),"_",n),e(n)}),n)},ac=function(e,t){var n=t||{};"function"==typeof t&&((n={}).callback=t),Xb(e,n),t=e?e.split(":"):[];var r=n.h||Pb(),o=A(K,"ah",B());if(o["::"]&&t.length){e=[];for(var i=null;i=t.shift();){var a=i.split(".");a=o[i]||o[a[1]&&"ns:"+a[0]||""]||r;var c=e.length&&e[e.length-1]||null,s=c;c&&c.hint==a||(s={hint:a,V:[]},e.push(s)),s.V.push(i)}var u=e.length;if(1<u){var l=n.callback;l&&(n.callback=function(){0==--u&&l()})}for(;t=e.shift();)$b(t.V,n,t.hint)}else $b(t||[],n,r)},$b=function(e,t,n){e=Pa(e)||[];var r=t.callback,o=t.config,i=t.timeout,a=t.ontimeout,c=t.onerror,s=void 0;"function"==typeof c&&(s=c);var u=null,l=!1;if(i&&!a||!i&&a)throw"Timeout requires both the timeout parameter and ontimeout parameter to be set";c=A(ub(n),"r",[]).sort();var f=A(ub(n),"L",[]).sort(),d=[].concat(c),p=function(e,t){if(l)return 0;x.clearTimeout(u),f.push.apply(f,h);var r=((F||{}).config||{}).update;if(r?r(o):o&&A(K,"cu",[]).push(o),t){Ab("me0",e,d);try{Zb(t,n,s)}finally{Ab("me1",e,d)}}return 1};0<i&&(u=x.setTimeout((function(){l=!0,a()}),i));var h=Sb(e,f);if(h.length){h=Sb(e,c);var g=A(K,"CP",[]),b=g.length;if(g[b]=function(e){if(!e)return 0;Ab("ml1",h,d);var t=function(t){g[b]=null,p(h,e)&&tb((function(){r&&r(),t()}))},n=function(){var e=g[b+1];e&&e()};0<b&&g[b-1]?g[b]=function(){t(n)}:t(n)},h.length){var m="loaded_"+K.I++;F[m]=function(e){g[b](e),F[m]=null},e=Kb(n,h,"gapi."+m,c),c.push.apply(c,h),Ab("ml0",h,d),t.sync||x.___gapisync?Wb(e):Ub(e)}else g[b](Ma)}else p(h)&&r&&r()},Vb=qa("gapi#gapi"),Yb=function(e,t){if(K.hee&&0<K.hel)try{return e()}catch(n){t&&t(n),K.hel--,ac("debug_error",(function(){try{window.___jsl.hefn(n)}catch(e){throw n}}))}else try{return e()}catch(n){throw t&&t(n),n}};F.load=function(e,t){return Yb((function(){return ac(e,t)}))};var bc=function(e){var t=window.___jsl=window.___jsl||{};return t[e]=t[e]||[],t[e]},cc=function(e){var t=window.___jsl=window.___jsl||{};return t.cfg=!e&&t.cfg||{},t.cfg},dc=function(e){return"object"===typeof e&&/\[native code\]/.test(e.push)},P=function e(t,n,r){if(n&&"object"===typeof n)for(var o in n)!Object.prototype.hasOwnProperty.call(n,o)||r&&"___goc"===o&&"undefined"===typeof n[o]||(t[o]&&n[o]&&"object"===typeof t[o]&&"object"===typeof n[o]&&!dc(t[o])&&!dc(n[o])?e(t[o],n[o]):n[o]&&"object"===typeof n[o]?(t[o]=dc(n[o])?[]:{},e(t[o],n[o])):t[o]=n[o])},ec=function(e){if(e&&!/^\s+$/.test(e)){for(;0==e.charCodeAt(e.length-1);)e=e.substring(0,e.length-1);try{var t=window.JSON.parse(e)}catch(n){}if("object"===typeof t)return t;try{t=new Function("return ("+e+"\n)")()}catch(n){}if("object"===typeof t)return t;try{t=new Function("return ({"+e+"\n})")()}catch(n){}return"object"===typeof t?t:{}}},fc=function(e,t){var n={___goc:void 0};e.length&&e[e.length-1]&&Object.hasOwnProperty.call(e[e.length-1],"___goc")&&"undefined"===typeof e[e.length-1].___goc&&(n=e.pop()),P(n,t),e.push(n)},gc=function(e){cc(!0);var t=window.___gcfg,n=bc("cu"),r=window.___gu;t&&t!==r&&(fc(n,t),window.___gu=t),t=bc("cu");var o=document.scripts||document.getElementsByTagName("script")||[];r=[];var i=[];i.push.apply(i,bc("us"));for(var a=0;a<o.length;++a)for(var c=o[a],s=0;s<i.length;++s)c.src&&0==c.src.indexOf(i[s])&&r.push(c);for(0==r.length&&0<o.length&&o[o.length-1].src&&r.push(o[o.length-1]),o=0;o<r.length;++o)r[o].getAttribute("gapi_processed")||(r[o].setAttribute("gapi_processed",!0),(i=r[o])?i=3==(a=i.nodeType)||4==a?i.nodeValue:i.textContent||i.innerText||i.innerHTML||"":i=void 0,(i=ec(i))&&t.push(i));for(e&&fc(n,e),e=0,t=(r=bc("cd")).length;e<t;++e)P(cc(),r[e],!0);for(e=0,t=(r=bc("ci")).length;e<t;++e)P(cc(),r[e],!0);for(e=0,t=n.length;e<t;++e)P(cc(),n[e],!0)},Q=function(e){var t=cc();if(!e)return t;for(var n=0,r=(e=e.split("/")).length;t&&"object"===typeof t&&n<r;++n)t=t[e[n]];return n===e.length&&void 0!==t?t:void 0},hc=function(e,t){var n;if("string"===typeof e){for(var r=n={},o=0,i=(e=e.split("/")).length;o<i-1;++o){r=r[e[o]]={}}r[e[o]]=t}else n=e;gc(n)},ic=function(){var e=window.__GOOGLEAPIS;e&&(e.googleapis&&!e["googleapis.config"]&&(e["googleapis.config"]=e.googleapis),A(K,"ci",[]).push(e),window.__GOOGLEAPIS=void 0)},jc={callback:1,clientid:1,cookiepolicy:1,openidrealm:-1,includegrantedscopes:-1,requestvisibleactions:1,scope:1},kc=!1,lc=B(),mc=function(){if(!kc){for(var e=document.getElementsByTagName("meta"),t=0;t<e.length;++t){var n=e[t].name.toLowerCase();if(0==n.lastIndexOf("google-signin-",0)){n=n.substring(14);var r=e[t].content;jc[n]&&r&&(lc[n]=r)}}if(window.self!==window.top)for(var o in e=document.location.toString(),jc)0<jc[o]&&(t=H(e,o,""))&&(lc[o]=t);kc=!0}return o=B(),D(lc,o),o},nc=function(e){return!!(e.clientid&&e.scope&&e.callback)},oc=window.console,pc=function(e){oc&&oc.log&&oc.log(e)},qc=function(){return!!K.oa},rc=function(){},R=A(K,"rw",B()),sc=function(e){for(var t in R)e(R[t])},tc=function(e,t){(e=R[e])&&e.state<t&&(e.state=t)},uc,vc=/^https?:\/\/(?:\w|[\-\.])+\.google\.(?:\w|[\-:\.])+(?:\/[^\?#]*)?\/u\/(\d)\//,wc=/^https?:\/\/(?:\w|[\-\.])+\.google\.(?:\w|[\-:\.])+(?:\/[^\?#]*)?\/b\/(\d{10,21})\//,xc=function(e){var t=Q("googleapis.config/sessionIndex");if("string"===typeof t&&254<t.length&&(t=null),null==t&&(t=window.__X_GOOG_AUTHUSER),"string"===typeof t&&254<t.length&&(t=null),null==t){var n=window.google;n&&(t=n.authuser)}return"string"===typeof t&&254<t.length&&(t=null),null==t&&(e=e||window.location.href,null==(t=H(e,"authuser")||null)&&(t=(t=e.match(vc))?t[1]:null)),null==t?null:(254<(t=String(t)).length&&(t=null),t)},yc=function(e){var t=Q("googleapis.config/sessionDelegate");return"string"===typeof t&&21<t.length&&(t=null),null==t&&(t=(e=(e||window.location.href).match(wc))?e[1]:null),null==t?null:(21<(t=String(t)).length&&(t=null),t)},zc,S,T=void 0,U=function(e){try{return m.JSON.parse.call(m.JSON,e)}catch(t){return!1}},V=function(e){return Object.prototype.toString.call(e)},Ac=V(0),Bc=V(new Date(0)),Cc=V(!0),Dc=V(""),Ec=V({}),Fc=V([]),W=function e(t,n){if(n)for(var r=0,o=n.length;r<o;++r)if(t===n[r])throw new TypeError("Converting circular structure to JSON");if("undefined"!==(o=typeof t)){(r=Array.prototype.slice.call(n||[],0))[r.length]=t,n=[];var i=V(t);if(null!=t&&"function"===typeof t.toJSON&&(Object.prototype.hasOwnProperty.call(t,"toJSON")||(i!==Fc||t.constructor!==Array&&t.constructor!==Object)&&(i!==Ec||t.constructor!==Array&&t.constructor!==Object)&&i!==Dc&&i!==Ac&&i!==Cc&&i!==Bc))return e(t.toJSON.call(t),r);if(null==t)n[n.length]="null";else if(i===Ac)t=Number(t),isNaN(t)||isNaN(t-t)?t="null":-0===t&&0>1/t&&(t="-0"),n[n.length]=String(t);else if(i===Cc)n[n.length]=String(!!Number(t));else{if(i===Bc)return e(t.toISOString.call(t),r);if(i===Fc&&V(t.length)===Ac){n[n.length]="[";var a=0;for(o=Number(t.length)>>0;a<o;++a)a&&(n[n.length]=","),n[n.length]=e(t[a],r)||"null";n[n.length]="]"}else if(i==Dc&&V(t.length)===Ac){for(n[n.length]='"',a=0,r=Number(t.length)>>0;a<r;++a)o=String.prototype.charAt.call(t,a),i=String.prototype.charCodeAt.call(t,a),n[n.length]="\b"===o?"\\b":"\f"===o?"\\f":"\n"===o?"\\n":"\r"===o?"\\r":"\t"===o?"\\t":"\\"===o||'"'===o?"\\"+o:31>=i?"\\u"+(i+65536).toString(16).substr(1):32<=i&&65535>=i?o:"\ufffd";n[n.length]='"'}else{if("object"!==o)return;for(a in n[n.length]="{",o=0,t)Object.prototype.hasOwnProperty.call(t,a)&&(void 0!==(i=e(t[a],r))&&(o++&&(n[n.length]=","),n[n.length]=e(a),n[n.length]=":",n[n.length]=i));n[n.length]="}"}}return n.join("")}},Gc=/[\0-\x07\x0b\x0e-\x1f]/,Hc=/^([^"]*"([^\\"]|\\.)*")*[^"]*"([^"\\]|\\.)*[\0-\x1f]/,Ic=/^([^"]*"([^\\"]|\\.)*")*[^"]*"([^"\\]|\\.)*\\[^\\\/"bfnrtu]/,Jc=/^([^"]*"([^\\"]|\\.)*")*[^"]*"([^"\\]|\\.)*\\u([0-9a-fA-F]{0,3}[^0-9a-fA-F])/,Kc=/"([^\0-\x1f\\"]|\\[\\\/"bfnrt]|\\u[0-9a-fA-F]{4})*"/g,Lc=/-?(0|[1-9][0-9]*)(\.[0-9]+)?([eE][-+]?[0-9]+)?/g,Mc=/[ \t\n\r]+/g,Nc=/[^"]:/,Oc=/""/g,Pc=/true|false|null/g,Qc=/00/,Rc=/[\{]([^0\}]|0[^:])/,Sc=/(^|\[)[,:]|[,:](\]|\}|[,:]|$)/,Tc=/[^\[,:][\[\{]/,Uc=/^(\{|\}|\[|\]|,|:|0)+/,Vc=/\u2028/g,Wc=/\u2029/g,Xc=function Xc(a){if(a=String(a),Gc.test(a)||Hc.test(a)||Ic.test(a)||Jc.test(a))return!1;var b=a.replace(Kc,'""');if(b=b.replace(Lc,"0"),b=b.replace(Mc,""),Nc.test(b))return!1;if(b=b.replace(Oc,"0"),b=b.replace(Pc,"0"),Qc.test(b)||Rc.test(b)||Sc.test(b)||Tc.test(b)||!b||(b=b.replace(Uc,"")))return!1;a=a.replace(Vc,"\\u2028").replace(Wc,"\\u2029"),b=void 0;try{b=T?[U(a)]:eval("(function (var_args) {\n  return Array.prototype.slice.call(arguments, 0);\n})(\n"+a+"\n)")}catch(c){return!1}return!(!b||1!==b.length)&&b[0]},Yc=function(){var e=((m.document||{}).scripts||[]).length;if((void 0===zc||void 0===T||S!==e)&&-1!==S){zc=T=!1,S=-1;try{try{T=!!m.JSON&&'{"a":[3,true,"1970-01-01T00:00:00.000Z"]}'===m.JSON.stringify.call(m.JSON,{a:[3,!0,new Date(0)],c:function(){}})&&!0===U("true")&&3===U('[{"a":3}]')[0].a}catch(t){}zc=T&&!U("[00]")&&!U('"\x07"')&&!U('"\\0"')&&!U('"\\v"')}finally{S=e}}},Zc=function(e){return-1!==S&&(Yc(),(zc?U:Xc)(e))},$c=function(e){if(-1!==S)return Yc(),T?m.JSON.stringify.call(m.JSON,e):W(e)},ad=!Date.prototype.toISOString||"function"!==typeof Date.prototype.toISOString||"1970-01-01T00:00:00.000Z"!==new Date(0).toISOString(),bd=function(){var e=Date.prototype.getUTCFullYear.call(this);return[0>e?"-"+String(1e6-e).substr(1):9999>=e?String(1e4+e).substr(1):"+"+String(1e6+e).substr(1),"-",String(101+Date.prototype.getUTCMonth.call(this)).substr(1),"-",String(100+Date.prototype.getUTCDate.call(this)).substr(1),"T",String(100+Date.prototype.getUTCHours.call(this)).substr(1),":",String(100+Date.prototype.getUTCMinutes.call(this)).substr(1),":",String(100+Date.prototype.getUTCSeconds.call(this)).substr(1),".",String(1e3+Date.prototype.getUTCMilliseconds.call(this)).substr(1),"Z"].join("")};Date.prototype.toISOString=ad?bd:Date.prototype.toISOString;var cd=function(){this.j=-1},dd=function(){this.j=64,this.b=[],this.G=[],this.da=[],this.C=[],this.C[0]=128;for(var e=1;e<this.j;++e)this.C[e]=0;this.D=this.o=0,this.reset()};oa(dd,cd),dd.prototype.reset=function(){this.b[0]=1732584193,this.b[1]=4023233417,this.b[2]=2562383102,this.b[3]=271733878,this.b[4]=3285377520,this.D=this.o=0};var ed=function(e,t,n){n||(n=0);var r=e.da;if("string"===typeof t)for(var o=0;16>o;o++)r[o]=t.charCodeAt(n)<<24|t.charCodeAt(n+1)<<16|t.charCodeAt(n+2)<<8|t.charCodeAt(n+3),n+=4;else for(o=0;16>o;o++)r[o]=t[n]<<24|t[n+1]<<16|t[n+2]<<8|t[n+3],n+=4;for(o=16;80>o;o++){var i=r[o-3]^r[o-8]^r[o-14]^r[o-16];r[o]=4294967295&(i<<1|i>>>31)}t=e.b[0],n=e.b[1];var a=e.b[2],c=e.b[3],s=e.b[4];for(o=0;80>o;o++){if(40>o)if(20>o){i=c^n&(a^c);var u=1518500249}else i=n^a^c,u=1859775393;else 60>o?(i=n&a|c&(n|a),u=2400959708):(i=n^a^c,u=3395469782);i=(t<<5|t>>>27)+i+s+u+r[o]&4294967295,s=c,c=a,a=4294967295&(n<<30|n>>>2),n=t,t=i}e.b[0]=e.b[0]+t&4294967295,e.b[1]=e.b[1]+n&4294967295,e.b[2]=e.b[2]+a&4294967295,e.b[3]=e.b[3]+c&4294967295,e.b[4]=e.b[4]+s&4294967295};dd.prototype.update=function(e,t){if(null!=e){void 0===t&&(t=e.length);for(var n=t-this.j,r=0,o=this.G,i=this.o;r<t;){if(0==i)for(;r<=n;)ed(this,e,r),r+=this.j;if("string"===typeof e){for(;r<t;)if(o[i]=e.charCodeAt(r),++r,++i==this.j){ed(this,o),i=0;break}}else for(;r<t;)if(o[i]=e[r],++r,++i==this.j){ed(this,o),i=0;break}}this.o=i,this.D+=t}},dd.prototype.digest=function(){var e=[],t=8*this.D;56>this.o?this.update(this.C,56-this.o):this.update(this.C,this.j-(this.o-56));for(var n=this.j-1;56<=n;n--)this.G[n]=255&t,t/=256;for(ed(this,this.G),n=t=0;5>n;n++)for(var r=24;0<=r;r-=8)e[t]=this.b[n]>>r&255,++t;return e};var fd=function(){this.O=new dd};fd.prototype.reset=function(){this.O.reset()};var gd=x.crypto,hd=!1,id=0,jd=0,kd=1,ld=0,md="",nd=function e(t){var n=(t=t||x.event).screenX+t.clientX<<16;n+=t.screenY+t.clientY,n*=(new Date).getTime()%1e6,kd=kd*n%ld,0<id&&++jd==id&&jb("mousemove",e,"remove","de")},od=function(e){for(var t=new fd,n=[],r=0,o=(e=unescape(encodeURIComponent(e))).length;r<o;++r)n.push(e.charCodeAt(r));for(t.O.update(n),t=t.O.digest(),e="",n=0;n<t.length;n++)e+="0123456789ABCDEF".charAt(Math.floor(t[n]/16))+"0123456789ABCDEF".charAt(t[n]%16);return e};hd=!!gd&&"function"==typeof gd.getRandomValues,hd||(ld=1e6*(screen.width*screen.width+screen.height),md=od(z.cookie+"|"+z.location+"|"+(new Date).getTime()+"|"+Math.random()),id=Q("random/maxObserveMousemove")||0,0!=id&&jb("mousemove",nd,"add","at"));var pd=function(){var e=kd;return e+=parseInt(md.substr(0,20),16),md=od(md),e/(ld+Math.pow(16,20))},qd=function(){var e=new x.Uint32Array(1);return gd.getRandomValues(e),Number("0."+e[0])},rd=function(){var e=K.onl;if(!e){e=B(),K.onl=e;var t=B();e.e=function(e){var n=t[e];n&&(delete t[e],n())},e.a=function(e,n){t[e]=n},e.r=function(e){delete t[e]}}return e},sd=function(e,t){return"function"===typeof(t=t.onload)?(rd().a(e,t),t):null},td=function(e){return E(/^\w+$/.test(e),"Unsupported id - "+e),rd(),'onload="window.___jsl.onl.e(&#34;'+e+'&#34;)"'},ud=function(e){rd().r(e)},vd={allowtransparency:"true",frameborder:"0",hspace:"0",marginheight:"0",marginwidth:"0",scrolling:"no",style:"",tabindex:"0",vspace:"0",width:"100%"},wd={allowtransparency:!0,onload:!0},xd=0,yd=function(e){E(!e||ib.test(e),"Illegal url for new iframe - "+e)},zd=function(e,t,n,r,o){yd(n.src);var i,a=sd(r,n),c=a?td(r):"";try{document.all&&(i=e.createElement('<iframe frameborder="'+Wa(String(n.frameborder))+'" scrolling="'+Wa(String(n.scrolling))+'" '+c+' name="'+Wa(String(n.name))+'"/>'))}catch(u){}finally{i||(i=e.createElement("iframe"),a&&(i.onload=function(){i.onload=null,a.call(this)},ud(r)))}for(var s in i.setAttribute("ng-non-bindable",""),n)e=n[s],"style"===s&&"object"===typeof e?D(e,i.style):wd[s]||i.setAttribute(s,String(e));return(s=o&&o.beforeNode||null)||o&&o.dontclear||ob(t),t.insertBefore(i,s),i=s?s.previousSibling:t.lastChild,n.allowtransparency&&(i.allowTransparency=!0),i},Ad=/^:[\w]+$/,Bd=/:([a-zA-Z_]+):/g,Cd=function(){var e=xc()||"0",t=yc(),n=xc(void 0)||e,r=yc(void 0),o="";n&&(o+="u/"+encodeURIComponent(String(n))+"/"),r&&(o+="b/"+encodeURIComponent(String(r))+"/"),n=o||null,(o=(r=!1===Q("isLoggedIn"))?"_/im/":"")&&(n="");var i=Q("iframes/:socialhost:"),a=Q("iframes/:im_socialhost:");return uc={socialhost:i,ctx_socialhost:r?a:i,session_index:e,session_delegate:t,session_prefix:n,im_prefix:o}},Dd=function(e,t){return Cd()[t]||""},Ed=function(e){return function(t,n){return e?Cd()[n]||e[n]||"":Cd()[n]||""}},Fd=function(e){var t;return e.match(/^https?%3A/i)&&(t=decodeURIComponent(e)),hb(document,t||e)},Gd=function(e){e=e||"canonical";for(var t=document.getElementsByTagName("link"),n=0,r=t.length;n<r;n++){var o=t[n],i=o.getAttribute("rel");if(i&&i.toLowerCase()==e&&(o=o.getAttribute("href"))&&(o=Fd(o))&&null!=o.match(/^https?:\/\/[\w\-_\.]+/i))return o}return window.location.href},Hd={se:"0"},Id={post:!0},Jd={style:"position:absolute;top:-10000px;width:450px;margin:0px;border-style:none"},Kd="onPlusOne _ready _close _open _resizeMe _renderstart oncircled drefresh erefresh".split(" "),Ld=A(K,"WI",B()),Md=function(e,t,n){var r,o={},i=r=e;for(var a in"plus"==e&&t.action&&(r=e+"_"+t.action,i=e+"/"+t.action),(r=Q("iframes/"+r+"/url"))||(r=":im_socialhost:/:session_prefix::im_prefix:_/widget/render/"+i+"?usegapi=1"),Hd)o[a]=a+"/"+(t[a]||Hd[a])+"/";if(o=hb(z,r.replace(Bd,Ed(o))),a="iframes/"+e+"/params/",D(t,i={}),(r=Q("lang")||Q("gwidget/lang"))&&(i.hl=r),Id[e]||(i.origin=window.location.origin||window.location.protocol+"//"+window.location.host),i.exp=Q(a+"exp"),a=Q(a+"location"))for(r=0;r<a.length;r++){var c=a[r];i[c]=x.location[c]}switch(e){case"plus":case"follow":a=i.href,r=t.action?void 0:"publisher",a=(a="string"==typeof a?a:void 0)?Fd(a):Gd(r),i.url=a,delete i.href;break;case"plusone":a=(a=t.href)?Fd(a):Gd(),i.url=a,a=t.db,r=Q(),null==a&&r&&(null==(a=r.db)&&(a=r.gwidget&&r.gwidget.db)),i.db=a||void 0,a=t.ecp,r=Q(),null==a&&r&&(null==(a=r.ecp)&&(a=r.gwidget&&r.gwidget.ecp)),i.ecp=a||void 0,delete i.href;break;case"signin":i.url=Gd()}for(var s in K.ILI&&(i.iloader="1"),delete i["data-onload"],delete i.rd,Hd)i[s]&&delete i[s];for(var u in i.gsrc=Q("iframes/:source:"),"undefined"!==typeof(s=Q("inline/css"))&&0<n&&s>=n&&(i.ic="1"),s=/^#|^fr-/,n={},i)C(i,u)&&s.test(u)&&(n[u.replace(s,"")]=i[u],delete i[u]);for(var l in u="q"==Q("iframes/"+e+"/params/si")?i:n,s=mc())!C(s,l)||C(i,l)||C(n,l)||(u[l]=s[l]);for(var f in l=[].concat(Kd),(u=Q("iframes/"+e+"/methods"))&&"object"===typeof u&&Na.test(u.push)&&(l=l.concat(u)),t)C(t,f)&&/^on/.test(f)&&("plus"!=e||"onconnect"!=f)&&(l.push(f),delete i[f]);return delete i.callback,n._methods=l.join(","),fb(o,i,n)},Nd=["style","data-gapiscan"],Pd=function(e){for(var t=B(),n=0!=e.nodeName.toLowerCase().indexOf("g:"),r=0,o=e.attributes.length;r<o;r++){var i=e.attributes[r],a=i.name,c=i.value;0<=Oa.call(Nd,a)||n&&0!=a.indexOf("data-")||"null"===c||"specified"in i&&!i.specified||(n&&(a=a.substr(5)),t[a.toLowerCase()]=c)}return e=e.style,(n=Od(e&&e.height))&&(t.height=String(n)),(e=Od(e&&e.width))&&(t.width=String(e)),t},Od=function(e){var t=void 0;return"number"===typeof e?t=e:"string"===typeof e&&(t=parseInt(e,10)),t},Rd=function(){var e=K.drw;sc((function(t){if(e!==t.id&&4!=t.state&&"share"!=t.type){var n=t.id,r=t.type,o=t.url;t=t.userParams;var i=z.getElementById(n);if(i){var a=Md(r,t,0);a?(i=i.parentNode,o.replace(/#.*/,"").replace(/(\?|&)ic=1/,"")!==a.replace(/#.*/,"").replace(/(\?|&)ic=1/,"")&&(t.dontclear=!0,t.rd=!0,t.ri=!0,t.type=r,Qd(i,t),(r=R[i.lastChild.id])&&(r.oid=n),tc(n,4))):delete R[n]}else delete R[n]}}))},Sd,Td,X,Ud,Vd,Wd=/(?:^|\s)g-((\S)*)(?:$|\s)/,Xd={plusone:!0,autocomplete:!0,profile:!0,signin:!0,signin2:!0};Sd=A(K,"SW",B()),Td=A(K,"SA",B()),X=A(K,"SM",B()),Ud=A(K,"FW",[]),Vd=null;var Zd=function(e,t){Yd(void 0,!1,e,t)},Yd=function(e,t,n,r){L("ps0",!0),n=("string"===typeof n?document.getElementById(n):n)||z;var o=z.documentMode;if(n.querySelectorAll&&(!o||8<o)){o=r?[r]:Xa(Sd).concat(Xa(Td)).concat(Xa(X));for(var i=[],a=0;a<o.length;a++){var c=o[a];i.push(".g-"+c,"g\\:"+c)}o=n.querySelectorAll(i.join(","))}else o=n.getElementsByTagName("*");for(n=B(),i=0;i<o.length;i++){var s=a=o[i];c=r;var u=s.nodeName.toLowerCase(),l=void 0;if(s.getAttribute("data-gapiscan"))c=null;else{var f=u.indexOf("g:");0==f?l=u.substr(2):(f=(f=String(s.className||s.getAttribute("class")))&&Wd.exec(f))&&(l=f[1]),c=!l||!(Sd[l]||Td[l]||X[l])||c&&l!==c?null:l}c&&(Xd[c]||0==a.nodeName.toLowerCase().indexOf("g:")||0!=Xa(Pd(a)).length)&&(a.setAttribute("data-gapiscan",!0),A(n,c,[]).push(a))}if(t)for(var d in n)for(t=n[d],r=0;r<t.length;r++)t[r].setAttribute("data-onload",!0);for(var p in n)Ud.push(p);if(L("ps1",!0),(d=Ud.join(":"))||e)try{F.load(d,e)}catch(g){return void pc(g)}if($d(Vd||{}))for(var h in n){for(p=0,t=(e=n[h]).length;p<t;p++)e[p].removeAttribute("data-gapiscan");ae(h)}else{for(h in r=[],n)for(p=0,t=(e=n[h]).length;p<t;p++)o=e[p],be(h,o,Pd(o),r,t);ce(d,r)}},de=function(e){var t=A(F,e,{});t.go||(t.go=function(t){return Zd(t,e)},t.render=function(t,n){return(n=n||{}).type=e,Qd(t,n)})},ee=function(e){Sd[e]=!0},fe=function(e){Td[e]=!0},ge=function(e){X[e]=!0},ae=function(e,t){var n=sb(e);t&&n?(n(t),(n=t.iframeNode)&&n.setAttribute("data-gapiattached",!0)):F.load(e,(function(){var n=sb(e),r=t&&t.iframeNode,o=t&&t.userParams;r&&n?(n(t),r.setAttribute("data-gapiattached",!0)):(n=F[e].go)("signin2"==e?r:r&&r.parentNode,o)}))},$d=function(){return!1},ce=function(){},be=function(e,t,n,r,o,i,a){switch(he(t,e,i)){case 0:e=X[e]?e+"_annotation":e,(r={}).iframeNode=t,r.userParams=n,ae(e,r);break;case 1:if(t.parentNode){for(var c in n)if((i=C(n,c))&&(i=!!(i=n[c])&&"object"===typeof i&&(!i.toString||i.toString===Object.prototype.toString||i.toString===Array.prototype.toString)),i)try{n[c]=$c(n[c])}catch(h){delete n[c]}if(i=!0,n.dontclear&&(i=!1),delete n.dontclear,rc(),c=Md(e,n,o),(o=a||{}).allowPost=1,o.attributes=Jd,o.dontclear=!i,(a={}).userParams=n,a.url=c,a.type=e,n.rd)var s=t;else s=document.createElement("div"),t.setAttribute("data-gapistub",!0),s.style.cssText="position:absolute;width:450px;left:-10000px;",t.parentNode.insertBefore(s,t);a.siteElement=s,s.id||(t=s,A(Ld,e,0),i="___"+e+"_"+Ld[e]++,t.id=i),(t=B())[">type"]=e,D(n,t),i=c,n=s,t=(c=o||{}).attributes||{},E(!(c.allowPost||c.forcePost)||!t.onload,"onload is not supported by post iframe (allowPost or forcePost)"),o=t=i,Ad.test(t)&&(o=Q("iframes/"+o.substring(1)+"/url"),E(!!o,"Unknown iframe url config for - "+t)),i=hb(z,o.replace(Bd,Dd)),t=n.ownerDocument||z,s=0;do{o=c.id||["I",xd++,"_",(new Date).getTime()].join("")}while(t.getElementById(o)&&5>++s);E(5>s,"Error creating iframe id"),s={};var u={};t.documentMode&&9>t.documentMode&&(s.hostiemode=t.documentMode),D(c.queryParams||{},s),D(c.fragmentParams||{},u);var l=c.pfname,f=B();Q("iframes/dropLegacyIdParam")||(f.id=o),f._gfid=o,f.parent=t.location.protocol+"//"+t.location.host;var d=H(t.location.href,"parent");if(!(l=l||"")&&d&&(d=H(t.location.href,"_gfid","")||H(t.location.href,"id",""),l=H(t.location.href,"pfname",""),l=d?l+"/"+d:""),l||(d=Zc(H(t.location.href,"jcp","")))&&"object"==typeof d&&(l=(l=d.id)?d.pfname+"/"+l:""),f.pfname=l,c.connectWithJsonParam&&((d={}).jcp=$c(f),f=d),(d=H(i,"rpctoken")||s.rpctoken||u.rpctoken)||(d=c.rpctoken||String(Math.round(1e8*(hd?qd():pd()))),f.rpctoken=d),c.rpctoken=d,D(f,c.connectWithQueryParams?s:u),d=t.location.href,f=B(),(l=H(d,"_bsh",K.bsh))&&(f._bsh=l),(d=qb(d))&&(f.jsh=d),c.hintInFragment?D(f,u):D(f,s),i=fb(i,s,u,c.paramsSerializer),u=B(),D(vd,u),D(c.attributes,u),u.name=u.id=o,u.src=i,c.eurl=i,f=!!(s=c||{}).allowPost,s.forcePost||f&&2e3<i.length){if(s=I(i),u.src="",c.dropDataPostorigin||(u["data-postorigin"]=i),i=zd(t,n,u,o),-1!=navigator.userAgent.indexOf("WebKit")){var p=i.contentWindow.document;p.open(),u=p.createElement("div"),(f={}).name=d=o+"_inner",f.src="",f.style="display:none",zd(t,u,f,d,c)}for(u=(c=s.query[0])?c.split("&"):[],c=[],f=0;f<u.length;f++)d=u[f].split("=",2),c.push([decodeURIComponent(d[0]),decodeURIComponent(d[1])]);for(s.query=[],u=db(s),E(ib.test(u),"Invalid URL: "+u),(s=t.createElement("form")).method="POST",s.target=o,s.style.display="none",o=u instanceof v?u:Fa(u),xa(s,"HTMLFormElement").action=Da(o),o=0;o<c.length;o++)(u=t.createElement("input")).type="hidden",u.name=c[o][0],u.value=c[o][1],s.appendChild(u);n.appendChild(s),s.submit(),s.parentNode.removeChild(s),p&&p.close(),p=i}else p=zd(t,n,u,o,c);a.iframeNode=p,a.id=p.getAttribute("id"),p=a.id,(n=B()).id=p,n.userParams=a.userParams,n.url=a.url,n.type=a.type,n.state=1,R[p]=n,p=a}else p=null;p&&((a=p.id)&&r.push(a),ae(e,p))}},he=function(e,t,n){if(e&&1===e.nodeType&&t){if(n)return 1;if(X[t]){if(pb[e.nodeName.toLowerCase()])return(e=e.innerHTML)&&e.replace(/^[\s\xa0]+|[\s\xa0]+$/g,"")?0:1}else{if(Td[t])return 0;if(Sd[t])return 1}}return null},Qd=function(e,t){var n=t.type;delete t.type;var r=("string"===typeof e?document.getElementById(e):e)||void 0;if(r){for(var o in e={},t)C(t,o)&&(e[o.toLowerCase()]=t[o]);e.rd=1,(t=!!e.ri)&&delete e.ri,be(n,r,e,o=[],0,t,void 0),ce(n,o)}else pc("string"==="gapi."+n+".render: missing element "+typeof e?e:"")};A(F,"platform",{}).go=Zd,$d=function(e){for(var t=["_c","jsl","h"],n=0;n<t.length&&e;n++)e=e[t[n]];return t=qb(La.href),!e||0!=e.indexOf("n;")&&0!=t.indexOf("n;")&&e!==t},ce=function(e,t){ie(e,t)};var lb=function(e){Yd(e,!0)},je=function(e,t){t=t||[];for(var n=0;n<t.length;++n)e(t[n]);for(e=0;e<t.length;e++)de(t[e])};N.push(["platform",function(e,t,n){if(Vd=n,t&&Ud.push(t),je(ee,e),je(fe,n._c.annotation),je(ge,n._c.bimodal),ic(),gc(),"explicit"!=Q("parsetags")){if(rb(e),nc(mc())&&!Q("disableRealtimeCallback")&&rc(),n&&(e=n.callback)){var r=Ya(e);delete n.callback}nb((function(){lb(r)}))}}]),F._pl=!0;var ke=function e(t){if(t=(t=R[t])?t.oid:void 0){var n=z.getElementById(t);n&&n.parentNode.removeChild(n),delete R[t],e(t)}},le=/^\{h:'/,me=/^!_/,ne="",ie=function(e,t){function n(){jb("message",r,"remove","de")}function r(r){var i=r.data,a=r.origin;if(oe(i,t)){var c=o;o=!1,c&&L("rqe"),pe(e,(function(){c&&L("rqd"),n();for(var e=A(K,"RPMQ",[]),t=0;t<e.length;t++)e[t]({data:i,origin:a})}))}}if(0!==t.length){ne=H(La.href,"pfname","");var o=!0;jb("message",r,"add","at"),ac(e,n)}},oe=function(e,t){if(e=String(e),le.test(e))return!0;var n=!1;if(me.test(e)&&(n=!0,e=e.substr(2)),!/^\{/.test(e))return!1;var r=Zc(e);if(!r)return!1;if(e=r.f,r.s&&e&&-1!=Oa.call(t,e)){if(("_renderstart"===r.s||r.s===ne+"/"+e+"::_renderstart")&&(r=r.a&&r.a[n?0:1],t=z.getElementById(e),tc(e,2),r&&t&&r.width&&r.height)){e:{if(n=t.parentNode,e=r||{},qc()){var o=t.id;if(o){if(1===(r=(r=R[o])?r.state:void 0)||4===r)break e;ke(o)}}(r=n.nextSibling)&&r.getAttribute&&r.getAttribute("data-gapistub")&&(n.parentNode.removeChild(r),n.style.cssText=""),r=e.width;var i=e.height,a=n.style;a.textIndent="0",a.margin="0",a.padding="0",a.background="transparent",a.borderStyle="none",a.cssFloat="none",a.styleFloat="none",a.lineHeight="normal",a.fontSize="1px",a.verticalAlign="baseline",(n=n.style).display="inline-block",(a=t.style).position="static",a.left="0",a.top="0",a.visibility="visible",r&&(n.width=a.width=r+"px"),i&&(n.height=a.height=i+"px"),e.verticalAlign&&(n.verticalAlign=e.verticalAlign),o&&tc(o,3)}t["data-csi-wdt"]=(new Date).getTime()}return!0}return!1},pe=function(e,t){ac(e,t)},qe=function(e,t){this.L=e,e=t||{},this.fa=Number(e.maxAge)||0,this.U=e.domain,this.X=e.path,this.ga=!!e.secure};qe.prototype.read=function(){for(var e=this.L+"=",t=document.cookie.split(/;\s*/),n=0;n<t.length;++n){var r=t[n];if(0==r.indexOf(e))return r.substr(e.length)}},qe.prototype.write=function(e,t){if(!re.test(this.L))throw"Invalid cookie name";if(!se.test(e))throw"Invalid cookie value";if(e=this.L+"="+e,this.U&&(e+=";domain="+this.U),this.X&&(e+=";path="+this.X),0<=(t="number"===typeof t?t:this.fa)){var n=new Date;n.setSeconds(n.getSeconds()+t),e+=";expires="+n.toUTCString()}return this.ga&&(e+=";secure"),document.cookie=e,!0},qe.prototype.clear=function(){this.write("",0)};var se=/^[-+/_=.:|%&a-zA-Z0-9@]*$/,re=/^[A-Z_][A-Z0-9_]{0,63}$/;qe.iterate=function(e){for(var t=document.cookie.split(/;\s*/),n=0;n<t.length;++n){var r=t[n].split("=");e(r.shift(),r.join("="))}};var te=function(e){this.B=e};te.prototype.read=function(){if(Y.hasOwnProperty(this.B))return Y[this.B]},te.prototype.write=function(e){return Y[this.B]=e,!0},te.prototype.clear=function(){delete Y[this.B]};var Y={};te.iterate=function(e){for(var t in Y)Y.hasOwnProperty(t)&&e(t,Y[t])};var ue="https:"===window.location.protocol,ve=ue||"http:"===window.location.protocol?qe:te,we=function(e){var t=e.substr(1),n="",r=window.location.hostname;if(""!==t){if(n=parseInt(t,10),isNaN(n))return null;if((t=r.split(".")).length<n-1)return null;t.length==n-1&&(r="."+r)}else r="";return{i:"S"==e.charAt(0),domain:r,l:n}},xe=function(){var e,t=null;return ve.iterate((function(n,r){0===n.indexOf("G_AUTHUSER_")&&(n=we(n.substring(11)),!e||n.i&&!e.i||n.i==e.i&&n.l>e.l)&&(e=n,t=r)})),{ea:e,F:t}},ye=function(e){if(0!==e.indexOf("GCSC"))return null;var t={W:!1};if(!(e=e.substr(4)))return t;var n=e.charAt(0),r=(e=e.substr(1)).lastIndexOf("_");if(-1==r)return t;var o=we(e.substr(r+1));return null==o||"_"!==(e=e.substring(0,r)).charAt(0)||!(r="E"===n&&o.i)&&("U"!==n||o.i)||r&&!ue?t:{W:!0,i:r,ja:e.substr(1),domain:o.domain,l:o.l}},ze=function(e){return e&&(e=e.split("="))[1]?e[1].split("|"):[]},Ae=function(e){return{clientId:(e=e.split(":"))[0].split("=")[1],ia:ze(e[1]),la:ze(e[2]),ka:ze(e[3])}},Be=function(){var e,t=xe(),n=t.ea;if(null!==(t=t.F)&&(ve.iterate((function(t,r){(t=ye(t))&&t.W&&t.i==n.i&&t.l==n.l&&(e=r)})),e)){var r=Ae(e),o=r&&r.ia[Number(t)];if(r=r&&r.clientId,o)return{F:t,ha:o,clientId:r}}return null},Z=function(){this.T=Ce};Z.prototype.$=function(){this.K||(this.v=0,this.K=!0,this.Y())},Z.prototype.Y=function(){this.K&&(this.T()?this.v=this.R:this.v=Math.min(2*(this.v||this.R),120),window.setTimeout(_na(this.Y,this),1e3*this.v))},Z.prototype.v=0,Z.prototype.R=2,Z.prototype.T=null,Z.prototype.K=!1;for(var De=0;64>De;++De);var Ee=null;qc=function(){return K.oa=!0},rc=function(){K.oa=!0;var e=Be();(e=e&&e.F)&&hc("googleapis.config/sessionIndex",e),Ee||(Ee=A(K,"ss",new Z)),(e=Ee).$&&e.$()};var Ce=function(){var e=Be(),t=e&&e.ha||null,n=e&&e.clientId;return ac("auth",{callback:function(){var e=x.gapi.auth,r={client_id:n,session_state:t};e.checkSessionState(r,(function(t){var n=r.session_state,o=Q("isLoggedIn");(o=o!=(t=!Q("debug/forceIm")&&(n&&t||!n&&!t)))&&(hc("isLoggedIn",t),rc(),Rd(),t||((t=e.signOut)?t():(t=e.setToken)&&t(null))),t=mc();var i=Q("savedUserState");i=i!=(n=e._guss(t.cookiepolicy))&&"undefined"!=typeof i,hc("savedUserState",n),(o||i)&&nc(t)&&!Q("disableRealtimeCallback")&&e._pimf(t,!0)}))}}),!0};L("bs0",!0,window.gapi._bs),L("bs1",!0),delete window.gapi._bs}.call(void 0);var gapiComplete=gapi.load("",{callback:window.gapi_onload,_c:{jsl:{ci:{deviceType:"desktop","oauth-flow":{authUrl:"https://accounts.google.com/o/oauth2/auth",proxyUrl:"https://accounts.google.com/o/oauth2/postmessageRelay",disableOpt:!0,idpIframeUrl:"https://accounts.google.com/o/oauth2/iframe",usegapi:!1},debug:{reportExceptionRate:.05,forceIm:!1,rethrowException:!1,host:"https://apis.google.com"},enableMultilogin:!0,"googleapis.config":{auth:{useFirstPartyAuthV2:!0}},isPlusUser:!1,inline:{css:1},disableRealtimeCallback:!1,drive_share:{skipInitCommand:!0},csi:{rate:.01},client:{cors:!1},isLoggedIn:!0,signInDeprecation:{rate:0},include_granted_scopes:!0,llang:"pt",iframes:{youtube:{params:{location:["search","hash"]},url:":socialhost:/:session_prefix:_/widget/render/youtube?usegapi=1",methods:["scroll","openwindow"]},ytsubscribe:{url:"https://www.youtube.com/subscribe_embed?usegapi=1"},plus_circle:{params:{url:""},url:":socialhost:/:session_prefix::se:_/widget/plus/circle?usegapi=1"},plus_share:{params:{url:""},url:":socialhost:/:session_prefix::se:_/+1/sharebutton?plusShare=true&usegapi=1"},rbr_s:{params:{url:""},url:":socialhost:/:session_prefix::se:_/widget/render/recobarsimplescroller"},":source:":"3p",playemm:{url:"https://play.google.com/work/embedded/search?usegapi=1&usegapi=1"},savetoandroidpay:{url:"https://pay.google.com/gp/v/widget/save"},blogger:{params:{location:["search","hash"]},url:":socialhost:/:session_prefix:_/widget/render/blogger?usegapi=1",methods:["scroll","openwindow"]},evwidget:{params:{url:""},url:":socialhost:/:session_prefix:_/events/widget?usegapi=1"},partnersbadge:{url:"https://www.gstatic.com/partners/badge/templates/badge.html?usegapi=1"},dataconnector:{url:"https://dataconnector.corp.google.com/:session_prefix:ui/widgetview?usegapi=1"},surveyoptin:{url:"https://www.google.com/shopping/customerreviews/optin?usegapi=1"},":socialhost:":"https://apis.google.com",shortlists:{url:""},hangout:{url:"https://talkgadget.google.com/:session_prefix:talkgadget/_/widget"},plus_followers:{params:{url:""},url:":socialhost:/_/im/_/widget/render/plus/followers?usegapi=1"},post:{params:{url:""},url:":socialhost:/:session_prefix::im_prefix:_/widget/render/post?usegapi=1"},":gplus_url:":"https://plus.google.com",signin:{params:{url:""},url:":socialhost:/:session_prefix:_/widget/render/signin?usegapi=1",methods:["onauth"]},rbr_i:{params:{url:""},url:":socialhost:/:session_prefix::se:_/widget/render/recobarinvitation"},share:{url:":socialhost:/:session_prefix::im_prefix:_/widget/render/share?usegapi=1"},plusone:{params:{count:"",size:"",url:""},url:":socialhost:/:session_prefix::se:_/+1/fastbutton?usegapi=1"},comments:{params:{location:["search","hash"]},url:":socialhost:/:session_prefix:_/widget/render/comments?usegapi=1",methods:["scroll","openwindow"]},":im_socialhost:":"https://plus.googleapis.com",backdrop:{url:"https://clients3.google.com/cast/chromecast/home/widget/backdrop?usegapi=1"},visibility:{params:{url:""},url:":socialhost:/:session_prefix:_/widget/render/visibility?usegapi=1"},autocomplete:{params:{url:""},url:":socialhost:/:session_prefix:_/widget/render/autocomplete"},additnow:{url:"https://apis.google.com/marketplace/button?usegapi=1",methods:["launchurl"]},":signuphost:":"https://plus.google.com",ratingbadge:{url:"https://www.google.com/shopping/customerreviews/badge?usegapi=1"},appcirclepicker:{url:":socialhost:/:session_prefix:_/widget/render/appcirclepicker"},follow:{url:":socialhost:/:session_prefix:_/widget/render/follow?usegapi=1"},community:{url:":ctx_socialhost:/:session_prefix::im_prefix:_/widget/render/community?usegapi=1"},sharetoclassroom:{url:"https://classroom.google.com/sharewidget?usegapi=1"},ytshare:{params:{url:""},url:":socialhost:/:session_prefix:_/widget/render/ytshare?usegapi=1"},plus:{url:":socialhost:/:session_prefix:_/widget/render/badge?usegapi=1"},family_creation:{params:{url:""},url:"https://families.google.com/webcreation?usegapi=1&usegapi=1"},commentcount:{url:":socialhost:/:session_prefix:_/widget/render/commentcount?usegapi=1"},configurator:{url:":socialhost:/:session_prefix:_/plusbuttonconfigurator?usegapi=1"},zoomableimage:{url:"https://ssl.gstatic.com/microscope/embed/"},appfinder:{url:"https://workspace.google.com/:session_prefix:marketplace/appfinder?usegapi=1"},savetowallet:{url:"https://pay.google.com/gp/v/widget/save"},person:{url:":socialhost:/:session_prefix:_/widget/render/person?usegapi=1"},savetodrive:{url:"https://drive.google.com/savetodrivebutton?usegapi=1",methods:["save"]},page:{url:":socialhost:/:session_prefix:_/widget/render/page?usegapi=1"},card:{url:":socialhost:/:session_prefix:_/hovercard/card"}}},h:"m;/_/scs/apps-static/_/js/k=oz.gapi.pt_BR.l4Bv_WkVC6g.O/am=wQE/d=1/ct=zgms/rs=AGLTcCOuH5S2uqmF6E8zOW7n3yiqiwhzNQ/m=__features__",u:"https://apis.google.com/js/platform.js",hee:!0,fp:"821a251b140e4add32f87f4a7a08f044a59aa0e9",dpo:!1},platform:["additnow","backdrop","blogger","comments","commentcount","community","donation","family_creation","follow","hangout","health","page","partnersbadge","person","playemm","playreview","plus","plusone","post","ratingbadge","savetoandroidpay","savetodrive","savetowallet","sharetoclassroom","shortlists","signin2","surveyoptin","visibility","youtube","ytsubscribe","zoomableimage"],fp:"821a251b140e4add32f87f4a7a08f044a59aa0e9",annotation:["interactivepost","recobar","signin2","autocomplete","profile"],bimodal:["signin","share"]}})},92827:function(e,t,n){"use strict";n.d(t,{MN:function(){return r.M}});var r=n(2647)},87210:function(e,t,n){var r;e.exports=(r=n(72791),function(e){function t(r){if(n[r])return n[r].exports;var o=n[r]={exports:{},id:r,loaded:!1};return e[r].call(o.exports,o,o.exports,t),o.loaded=!0,o.exports}var n={};return t.m=e,t.c=n,t.p="",t(0)}([function(e,t,n){e.exports=n(8)},function(e,t,n){e.exports=n(6)()},function(e,t){e.exports=r},function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){return decodeURIComponent(e.replace(new RegExp("^(?:.*[&\\?]"+encodeURIComponent(t).replace(/[\.\+\*]/g,"\\$&")+"(?:\\=([^&]*))?)?.*$","i"),"$1"))}},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function a(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}Object.defineProperty(t,"__esModule",{value:!0});var c=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},s=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),u=r(n(2)),l=r(n(1)),f=r(n(5)),d=r(n(3)),p=function(){var e=!1;try{e=!!(window.navigator&&window.navigator.standalone||navigator.userAgent.match("CriOS")||navigator.userAgent.match(/mobile/i))}catch(t){}return e},h=function(e){function t(){var e,n,r;o(this,t);for(var a=arguments.length,s=Array(a),u=0;u<a;u++)s[u]=arguments[u];return n=r=i(this,(e=t.__proto__||Object.getPrototypeOf(t)).call.apply(e,[this].concat(s))),r.state={isSdkLoaded:!1,isProcessing:!1},r.responseApi=function(e){window.FB.api("/me",{locale:r.props.language,fields:r.props.fields},(function(t){c(t,e),r.props.callback(t)}))},r.checkLoginState=function(e){r.setStateIfMounted({isProcessing:!1}),e.authResponse?r.responseApi(e.authResponse):r.props.onFailure?r.props.onFailure({status:e.status}):r.props.callback({status:e.status})},r.checkLoginAfterRefresh=function(e){"connected"===e.status?r.checkLoginState(e):window.FB.login((function(e){return r.checkLoginState(e)}),!0)},r.click=function(e){if(r.state.isSdkLoaded&&!r.state.isProcessing&&!r.props.isDisabled){r.setState({isProcessing:!0});var t=r.props,n=t.scope,o=t.appId,i=t.onClick,a=t.returnScopes,c=t.responseType,s=t.redirectUri,u=t.disableMobileRedirect,l=t.authType,d=t.state;if("function"!=typeof i||(i(e),!e.defaultPrevented)){var p={client_id:o,redirect_uri:s,state:d,return_scopes:a,scope:n,response_type:c,auth_type:l};if(r.props.isMobile&&!u)window.location.href="https://www.facebook.com/dialog/oauth"+(0,f.default)(p);else{if(!window.FB)return void(r.props.onFailure&&r.props.onFailure({status:"facebookNotLoaded"}));window.FB.login(r.checkLoginState,{scope:n,return_scopes:a,auth_type:p.auth_type})}}}},i(r,n)}return a(t,e),s(t,[{key:"componentDidMount",value:function(){if(this._isMounted=!0,document.getElementById("facebook-jssdk"))this.sdkLoaded();else{this.setFbAsyncInit(),this.loadSdkAsynchronously();var e=document.getElementById("fb-root");e||((e=document.createElement("div")).id="fb-root",document.body.appendChild(e))}}},{key:"componentWillReceiveProps",value:function(e){this.state.isSdkLoaded&&e.autoLoad&&!this.props.autoLoad&&window.FB.getLoginStatus(this.checkLoginAfterRefresh)}},{key:"componentWillUnmount",value:function(){this._isMounted=!1}},{key:"setStateIfMounted",value:function(e){this._isMounted&&this.setState(e)}},{key:"setFbAsyncInit",value:function(){var e=this,t=this.props,n=t.appId,r=t.xfbml,o=t.cookie,i=t.version,a=t.autoLoad;window.fbAsyncInit=function(){window.FB.init({version:"v"+i,appId:n,xfbml:r,cookie:o}),e.setStateIfMounted({isSdkLoaded:!0}),(a||e.isRedirectedFromFb())&&window.FB.getLoginStatus(e.checkLoginAfterRefresh)}}},{key:"isRedirectedFromFb",value:function(){var e=window.location.search;return(0,d.default)(e,"code")||(0,d.default)(e,"granted_scopes")}},{key:"sdkLoaded",value:function(){this.setState({isSdkLoaded:!0})}},{key:"loadSdkAsynchronously",value:function(){var e=this.props.language;!function(t,n,r){var o=t.getElementsByTagName(n)[0],i=o,a=o;t.getElementById(r)||((a=t.createElement(n)).id=r,a.src="https://connect.facebook.net/"+e+"/sdk.js",i.parentNode.insertBefore(a,i))}(document,"script","facebook-jssdk")}},{key:"render",value:function(){var e=this.props.render;if(!e)throw new Error("ReactFacebookLogin requires a render prop to render");var t={onClick:this.click,isDisabled:!!this.props.isDisabled,isProcessing:this.state.isProcessing,isSdkLoaded:this.state.isSdkLoaded};return this.props.render(t)}}]),t}(u.default.Component);h.propTypes={isDisabled:l.default.bool,callback:l.default.func.isRequired,appId:l.default.string.isRequired,xfbml:l.default.bool,cookie:l.default.bool,authType:l.default.string,scope:l.default.string,state:l.default.string,responseType:l.default.string,returnScopes:l.default.bool,redirectUri:l.default.string,autoLoad:l.default.bool,disableMobileRedirect:l.default.bool,isMobile:l.default.bool,fields:l.default.string,version:l.default.string,language:l.default.string,onClick:l.default.func,onFailure:l.default.func,render:l.default.func.isRequired},h.defaultProps={redirectUri:"undefined"!=typeof window?window.location.href:"/",scope:"public_profile,email",returnScopes:!1,xfbml:!1,cookie:!1,authType:"",fields:"name",version:"2.3",language:"en_US",disableMobileRedirect:!1,isMobile:p(),onFailure:null,state:"facebookdirect",responseType:"code"},t.default=h},function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return"?"+Object.keys(e).map((function(t){return t+"="+encodeURIComponent(e[t])})).join("&")}},function(e,t,n){"use strict";function r(){}var o=n(7);e.exports=function(){function e(e,t,n,r,i,a){if(a!==o){var c=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw c.name="Invariant Violation",c}}function t(){return e}e.isRequired=e;var n={array:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t};return n.checkPropTypes=r,n.PropTypes=n,n}},function(e,t){"use strict";var n="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED";e.exports=n},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function a(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}Object.defineProperty(t,"__esModule",{value:!0});var c=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},s=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),u=r(n(2)),l=r(n(1)),f=r(n(9)),d=r(n(4)),p=function(e){return["button","input","select","textarea","optgroup","option","fieldset"].indexOf((e+"").toLowerCase())>=0},h=function(e){function t(){return o(this,t),i(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return a(t,e),s(t,[{key:"style",value:function(){var e=this.constructor.defaultProps.cssClass;return this.props.cssClass===e&&u.default.createElement("style",{dangerouslySetInnerHTML:{__html:f.default}})}},{key:"containerStyle",value:function(e){var t=e.isProcessing,n=e.isSdkLoaded,r=e.isDisabled,o={transition:"opacity 0.5s"};return(t||!n||r)&&(o.opacity=.6),c(o,this.props.containerStyle)}},{key:"renderOwnButton",value:function(e){var t=this.props,n=t.cssClass,r=t.size,o=t.icon,i=t.textButton,a=t.typeButton,s=t.buttonStyle,l=e.onClick,f="string"==typeof o,d={};return e.isDisabled&&p(this.props.tag)&&(d.disabled=!0),u.default.createElement("span",{style:this.containerStyle(e)},f&&u.default.createElement("link",{rel:"stylesheet",href:"https://maxcdn.bootstrapcdn.com/font-awesome/4.5.0/css/font-awesome.min.css"}),u.default.createElement(this.props.tag,c({type:a,className:n+" "+r,style:s,onClick:l},d),o&&f&&u.default.createElement("i",{className:"fa "+o}),o&&!f&&o,i),this.style())}},{key:"render",value:function(){var e=this;return u.default.createElement(d.default,c({},this.props,{render:function(t){return e.renderOwnButton(t)}}))}}]),t}(u.default.Component);h.propTypes={textButton:l.default.string,typeButton:l.default.string,size:l.default.string,cssClass:l.default.string,icon:l.default.any,containerStyle:l.default.object,buttonStyle:l.default.object,tag:l.default.oneOfType([l.default.node,l.default.func])},h.defaultProps={textButton:"Login with Facebook",typeButton:"button",size:"metro",fields:"name",cssClass:"kep-login-facebook",tag:"button"},t.default=h},function(e,t,n){(t=e.exports=n(10)()).push([e.id,".kep-login-facebook{font-family:Helvetica,sans-serif;font-weight:700;-webkit-font-smoothing:antialiased;color:#fff;cursor:pointer;display:inline-block;font-size:calc(.27548vw + 12.71074px);text-decoration:none;text-transform:uppercase;transition:background-color .3s,border-color .3s;background-color:#4c69ba;border:calc(.06887vw + .67769px) solid #4c69ba;padding:calc(.34435vw + 13.38843px) calc(.34435vw + 18.38843px)}.kep-login-facebook.small{padding:calc(.34435vw + 3.38843px) calc(.34435vw + 8.38843px)}.kep-login-facebook.medium{padding:calc(.34435vw + 8.38843px) calc(.34435vw + 13.38843px)}.kep-login-facebook.metro{border-radius:0}.kep-login-facebook .fa{margin-right:calc(.34435vw + 3.38843px)}",""]),t.locals={"kep-login-facebook":"kep-login-facebook",small:"small",medium:"medium",metro:"metro",fa:"fa"}},function(e,t){e.exports=function(){var e=[];return e.toString=function(){for(var e=[],t=0;t<this.length;t++){var n=this[t];n[2]?e.push("@media "+n[2]+"{"+n[1]+"}"):e.push(n[1])}return e.join("")},e.i=function(t,n){"string"==typeof t&&(t=[[null,t,""]]);for(var r={},o=0;o<this.length;o++){var i=this[o][0];"number"==typeof i&&(r[i]=!0)}for(o=0;o<t.length;o++){var a=t[o];"number"==typeof a[0]&&r[a[0]]||(n&&!a[2]?a[2]=n:n&&(a[2]="("+a[2]+") and ("+n+")"),e.push(a))}},e}}]))},20929:function(e,t,n){"undefined"!=typeof self&&self,e.exports=function(e){return r={},t.m=n=[function(t){t.exports=e},function(e,t,n){e.exports=n(2)()},function(e,t,n){"use strict";function r(){}function o(){}var i=n(3);o.resetWarningCache=r,e.exports=function(){function e(e,t,n,r,o,a){if(a!==i){var c=Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw c.name="Invariant Violation",c}}function t(){return e}var n={array:e.isRequired=e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:o,resetWarningCache:r};return n.PropTypes=n}},function(e){"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},function(e,t,n){"use strict";function r(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(e)){var n=[],r=!0,o=!1,i=void 0;try{for(var a,c=e[Symbol.iterator]();!(r=(a=c.next()).done)&&(n.push(a.value),!t||n.length!==t);r=!0);}catch(e){o=!0,i=e}finally{try{r||null==c.return||c.return()}finally{if(o)throw i}}return n}}(e,t)||function(e,t){if(e){if("string"==typeof e)return o(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(n):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?o(e,t):void 0}}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function o(e,t){null!=t&&t<=e.length||(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}function i(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(e)){var n=[],r=!0,o=!1,i=void 0;try{for(var a,c=e[Symbol.iterator]();!(r=(a=c.next()).done)&&(n.push(a.value),!t||n.length!==t);r=!0);}catch(e){o=!0,i=e}finally{try{r||null==c.return||c.return()}finally{if(o)throw i}}return n}}(e,t)||function(e,t){if(e){if("string"==typeof e)return a(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(n):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?a(e,t):void 0}}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function a(e,t){null!=t&&t<=e.length||(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}function c(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(e)){var n=[],r=!0,o=!1,i=void 0;try{for(var a,c=e[Symbol.iterator]();!(r=(a=c.next()).done)&&(n.push(a.value),!t||n.length!==t);r=!0);}catch(e){o=!0,i=e}finally{try{r||null==c.return||c.return()}finally{if(o)throw i}}return n}}(e,t)||function(e,t){if(e){if("string"==typeof e)return s(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(n):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?s(e,t):void 0}}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function s(e,t){null!=t&&t<=e.length||(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}function u(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(e)){var n=[],r=!0,o=!1,i=void 0;try{for(var a,c=e[Symbol.iterator]();!(r=(a=c.next()).done)&&(n.push(a.value),!t||n.length!==t);r=!0);}catch(e){o=!0,i=e}finally{try{r||null==c.return||c.return()}finally{if(o)throw i}}return n}}(e,t)||function(e,t){if(e){if("string"==typeof e)return l(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(n):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?l(e,t):void 0}}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function l(e,t){null!=t&&t<=e.length||(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}function f(e,t,n,r,o,i){var a=e.getElementsByTagName(t)[0],c=a,s=a;(s=e.createElement(t)).id=n,s.src=r,c&&c.parentNode?c.parentNode.insertBefore(s,c):e.head.appendChild(s),s.onerror=i,s.onload=o}function d(e,t){var n=e.getElementById(t);n&&n.parentNode.removeChild(n)}function p(e){return m.a.createElement("span",{style:{paddingRight:10,fontWeight:500,paddingLeft:e.icon?0:10,paddingTop:10,paddingBottom:10}},e.children)}function h(e){return m.a.createElement("div",{style:{marginRight:10,background:e.active?"#eee":"#fff",padding:10,borderRadius:2}},m.a.createElement("svg",{width:"18",height:"18",xmlns:"http://www.w3.org/2000/svg"},m.a.createElement("g",{fill:"#000",fillRule:"evenodd"},m.a.createElement("path",{d:"M9 3.48c1.69 0 2.83.73 3.48 1.34l2.54-2.48C13.46.89 11.43 0 9 0 5.48 0 2.44 2.02.96 4.96l2.91 2.26C4.6 5.05 6.62 3.48 9 3.48z",fill:"#EA4335"}),m.a.createElement("path",{d:"M17.64 9.2c0-.74-.06-1.28-.19-1.84H9v3.34h4.96c-.1.83-.64 2.08-1.84 2.92l2.84 2.2c1.7-1.57 2.68-3.88 2.68-6.62z",fill:"#4285F4"}),m.a.createElement("path",{d:"M3.88 10.78A5.54 5.54 0 0 1 3.58 9c0-.62.11-1.22.29-1.78L.96 4.96A9.008 9.008 0 0 0 0 9c0 1.45.35 2.82.96 4.04l2.92-2.26z",fill:"#FBBC05"}),m.a.createElement("path",{d:"M9 18c2.43 0 4.47-.8 5.96-2.18l-2.84-2.2c-.76.53-1.78.9-3.12.9-2.38 0-4.4-1.57-5.12-3.74L.97 13.04C2.45 15.98 5.48 18 9 18z",fill:"#34A853"}),m.a.createElement("path",{fill:"none",d:"M0 0h18v18H0z"}))))}function g(e){var t=i(Object(b.useState)(!1),2),n=t[0],r=t[1],o=i(Object(b.useState)(!1),2),a=o[0],c=o[1],s=e.tag,u=e.type,l=e.className,f=e.disabledStyle,d=e.buttonText,g=e.children,v=e.render,w=e.theme,_=e.icon,S=e.disabled,k=y({onSuccess:e.onSuccess,onAutoLoadFinished:e.onAutoLoadFinished,onRequest:e.onRequest,onFailure:e.onFailure,onScriptLoadFailure:e.onScriptLoadFailure,clientId:e.clientId,cookiePolicy:e.cookiePolicy,loginHint:e.loginHint,hostedDomain:e.hostedDomain,autoLoad:e.autoLoad,isSignedIn:e.isSignedIn,fetchBasicProfile:e.fetchBasicProfile,redirectUri:e.redirectUri,discoveryDocs:e.discoveryDocs,uxMode:e.uxMode,scope:e.scope,accessType:e.accessType,responseType:e.responseType,jsSrc:e.jsSrc,prompt:e.prompt}),x=k.signIn,A=S||!k.loaded;if(v)return v({onClick:x,disabled:A});var O={backgroundColor:"dark"===w?"rgb(66, 133, 244)":"#fff",display:"inline-flex",alignItems:"center",color:"dark"===w?"#fff":"rgba(0, 0, 0, .54)",boxShadow:"0 2px 2px 0 rgba(0, 0, 0, .24), 0 0 1px 0 rgba(0, 0, 0, .24)",padding:0,borderRadius:2,border:"1px solid transparent",fontSize:14,fontWeight:"500",fontFamily:"Roboto, sans-serif"},j={cursor:"pointer",backgroundColor:"dark"===w?"#3367D6":"#eee",color:"dark"===w?"#fff":"rgba(0, 0, 0, .54)",opacity:1},C=A?Object.assign({},O,f):a?Object.assign({},O,j):n?Object.assign({},O,{cursor:"pointer",opacity:.9}):O;return m.a.createElement(s,{onMouseEnter:function(){return r(!0)},onMouseLeave:function(){r(!1),c(!1)},onMouseDown:function(){return c(!0)},onMouseUp:function(){return c(!1)},onClick:x,style:C,type:u,disabled:A,className:l},[_&&m.a.createElement(h,{key:1,active:a}),m.a.createElement(p,{icon:_,key:2},g||d)])}n.r(t),n.d(t,"default",(function(){return w})),n.d(t,"GoogleLogin",(function(){return w})),n.d(t,"GoogleLogout",(function(){return S})),n.d(t,"useGoogleLogin",(function(){return y})),n.d(t,"useGoogleLogout",(function(){return _}));var b=n(0),m=n.n(b),y=(n(1),function(e){function t(e){var t=e.getBasicProfile(),n=e.getAuthResponse(!0);e.googleId=t.getId(),e.tokenObj=n,e.tokenId=n.id_token,e.accessToken=n.access_token,e.profileObj={googleId:t.getId(),imageUrl:t.getImageUrl(),email:t.getEmail(),name:t.getName(),givenName:t.getGivenName(),familyName:t.getFamilyName()},i(e)}function n(e){if(e&&e.preventDefault(),L){var n=window.gapi.auth2.getAuthInstance(),r={prompt:P};p(),"code"===C?n.grantOfflineAccess(r).then((function(e){return i(e)}),(function(e){return u(e)})):n.signIn(r).then((function(e){return t(e)}),(function(e){return u(e)}))}}var o=e.onSuccess,i=void 0===o?function(){}:o,a=e.onAutoLoadFinished,c=void 0===a?function(){}:a,s=e.onFailure,u=void 0===s?function(){}:s,l=e.onRequest,p=void 0===l?function(){}:l,h=e.onScriptLoadFailure,g=e.clientId,m=e.cookiePolicy,y=e.loginHint,v=e.hostedDomain,w=e.autoLoad,_=e.isSignedIn,S=e.fetchBasicProfile,k=e.redirectUri,x=e.discoveryDocs,A=e.uxMode,O=e.scope,j=e.accessType,C=e.responseType,E=e.jsSrc,I=void 0===E?"https://apis.google.com/js/api.js":E,P=e.prompt,T=r(Object(b.useState)(!1),2),L=T[0],M=T[1];return Object(b.useEffect)((function(){var e=!1,n=h||u;return f(document,"script","google-login",I,(function(){var r={client_id:g,cookie_policy:m,login_hint:y,hosted_domain:v,fetch_basic_profile:S,discoveryDocs:x,ux_mode:A,redirect_uri:k,scope:O,access_type:j};"code"===C&&(r.access_type="offline"),window.gapi.load("auth2",(function(){var o=window.gapi.auth2.getAuthInstance();o?o.then((function(){e||(_&&o.isSignedIn.get()?(M(!0),c(!0),t(o.currentUser.get())):(M(!0),c(!1)))}),(function(e){u(e)})):window.gapi.auth2.init(r).then((function(n){if(!e){M(!0);var r=_&&n.isSignedIn.get();c(r),r&&t(n.currentUser.get())}}),(function(e){M(!0),c(!1),n(e)}))}))}),(function(e){n(e)})),function(){e=!0,d(document,"google-login")}}),[]),Object(b.useEffect)((function(){w&&n()}),[L]),{signIn:n,loaded:L}});function v(e){var t=u(Object(b.useState)(!1),2),n=t[0],r=t[1],o=u(Object(b.useState)(!1),2),i=o[0],a=o[1],c=e.tag,s=e.type,l=e.className,f=e.disabledStyle,d=e.buttonText,g=e.children,y=e.render,v=e.theme,w=e.icon,S=e.disabled,k=_({jsSrc:e.jsSrc,onFailure:e.onFailure,onScriptLoadFailure:e.onScriptLoadFailure,clientId:e.clientId,cookiePolicy:e.cookiePolicy,loginHint:e.loginHint,hostedDomain:e.hostedDomain,fetchBasicProfile:e.fetchBasicProfile,discoveryDocs:e.discoveryDocs,uxMode:e.uxMode,redirectUri:e.redirectUri,scope:e.scope,accessType:e.accessType,onLogoutSuccess:e.onLogoutSuccess}),x=k.signOut,A=S||!k.loaded;if(y)return y({onClick:x,disabled:A});var O={backgroundColor:"dark"===v?"rgb(66, 133, 244)":"#fff",display:"inline-flex",alignItems:"center",color:"dark"===v?"#fff":"rgba(0, 0, 0, .54)",boxShadow:"0 2px 2px 0 rgba(0, 0, 0, .24), 0 0 1px 0 rgba(0, 0, 0, .24)",padding:0,borderRadius:2,border:"1px solid transparent",fontSize:14,fontWeight:"500",fontFamily:"Roboto, sans-serif"},j={cursor:"pointer",backgroundColor:"dark"===v?"#3367D6":"#eee",color:"dark"===v?"#fff":"rgba(0, 0, 0, .54)",opacity:1},C=A?Object.assign({},O,f):i?Object.assign({},O,j):n?Object.assign({},O,{cursor:"pointer",opacity:.9}):O;return m.a.createElement(c,{onMouseEnter:function(){return r(!0)},onMouseLeave:function(){r(!1),a(!1)},onMouseDown:function(){return a(!0)},onMouseUp:function(){return a(!1)},onClick:x,style:C,type:s,disabled:A,className:l},[w&&m.a.createElement(h,{key:1,active:i}),m.a.createElement(p,{icon:w,key:2},g||d)])}g.defaultProps={type:"button",tag:"button",buttonText:"Sign in with Google",scope:"profile email",accessType:"online",prompt:"",cookiePolicy:"single_host_origin",fetchBasicProfile:!0,isSignedIn:!1,uxMode:"popup",disabledStyle:{opacity:.6},icon:!0,theme:"light",onRequest:function(){}};var w=g,_=function(e){var t=e.jsSrc,n=void 0===t?"https://apis.google.com/js/api.js":t,r=e.onFailure,o=e.onScriptLoadFailure,i=e.clientId,a=e.cookiePolicy,s=e.loginHint,u=e.hostedDomain,l=e.fetchBasicProfile,p=e.discoveryDocs,h=e.uxMode,g=e.redirectUri,m=e.scope,y=e.accessType,v=e.onLogoutSuccess,w=c(Object(b.useState)(!1),2),_=w[0],S=w[1],k=Object(b.useCallback)((function(){if(window.gapi){var e=window.gapi.auth2.getAuthInstance();null!=e&&e.then((function(){e.signOut().then((function(){e.disconnect(),v()}))}),(function(e){return r(e)}))}}),[v]);return Object(b.useEffect)((function(){var e=o||r;return f(document,"script","google-login",n,(function(){var t={client_id:i,cookie_policy:a,login_hint:s,hosted_domain:u,fetch_basic_profile:l,discoveryDocs:p,ux_mode:h,redirect_uri:g,scope:m,access_type:y};window.gapi.load("auth2",(function(){window.gapi.auth2.getAuthInstance()?S(!0):window.gapi.auth2.init(t).then((function(){return S(!0)}),(function(t){return e(t)}))}))}),(function(t){e(t)})),function(){d(document,"google-login")}}),[]),{signOut:k,loaded:_}};v.defaultProps={type:"button",tag:"button",buttonText:"Logout of Google",disabledStyle:{opacity:.6},icon:!0,theme:"light",jsSrc:"https://apis.google.com/js/api.js"};var S=v}],t.c=r,t.d=function(e,n,r){t.o(e,n)||Object.defineProperty(e,n,{enumerable:!0,get:r})},t.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},t.t=function(e,n){if(1&n&&(e=t(e)),8&n)return e;if(4&n&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(t.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&n&&"string"!=typeof e)for(var o in e)t.d(r,o,function(t){return e[t]}.bind(null,o));return r},t.n=function(e){var n=e&&e.__esModule?function(){return e.default}:function(){return e};return t.d(n,"a",n),n},t.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},t.p="",t(t.s=4);function t(e){if(r[e])return r[e].exports;var o=r[e]={i:e,l:!1,exports:{}};return n[e].call(o.exports,o,o.exports,t),o.l=!0,o.exports}var n,r}(n(72791))}}]);
//# sourceMappingURL=173.29aa513d.chunk.js.map