(self["b-index-lp-web-mfe"]=self["b-index-lp-web-mfe"]||[]).push([[541],{59006:function(e,t,n){"use strict";n.d(t,{V:function(){return a}});var r=n(51878),i=n(82497),o=n(14222),a=function(){function e(e,t){this.isMounted=!1,this.previousOptions={},this.context={},this.options={},this.options=e||{},this.context=t||{}}return e.prototype.getOptions=function(){return this.options},e.prototype.setOptions=function(e,t){void 0===t&&(t=!1),t&&!(0,i.D)(this.options,e)&&(this.previousOptions=this.options),this.options=e},e.prototype.unmount=function(){this.isMounted=!1},e.prototype.refreshClient=function(){var e=this.options&&this.options.client||this.context&&this.context.client;__DEV__?(0,r.kG)(!!e,'Could not find "client" in the context or passed in as an option. Wrap the root component in an <ApolloProvider>, or pass an ApolloClient instance in via options.'):(0,r.kG)(!!e,29);var t=!1;return e!==this.client&&(t=!0,this.client=e,this.cleanup()),{client:this.client,isNew:t}},e.prototype.verifyDocumentType=function(e,t){var n=(0,o.E2)(e),i=(0,o.mw)(t),a=(0,o.mw)(n.type);__DEV__?(0,r.kG)(n.type===t,"Running a "+i+" requires a graphql "+i+", but a "+a+" was used instead."):(0,r.kG)(n.type===t,30)},e}()},13260:function(e,t,n){"use strict";n.d(t,{a:function(){return i}});var r=n(51099);function i(e,t){return(0,r.r)(e,t,!1)}},51099:function(e,t,n){"use strict";n.d(t,{r:function(){return p}});var r=n(31191),i=(n(51878),n(32735)),o=n(82497),a=n(24605),s=n(6637),u=n(14222),c=function(e){function t(t){var n=t.options,r=t.context,i=t.onNewData,o=e.call(this,n,r)||this;return o.runLazy=!1,o.previous=Object.create(null),o.runLazyQuery=function(e){o.cleanup(),o.runLazy=!0,o.lazyOptions=e,o.onNewData()},o.obsRefetch=function(e){var t;return null===(t=o.currentObservable)||void 0===t?void 0:t.refetch(e)},o.obsFetchMore=function(e){var t;return null===(t=o.currentObservable)||void 0===t?void 0:t.fetchMore(e)},o.obsUpdateQuery=function(e){var t;return null===(t=o.currentObservable)||void 0===t?void 0:t.updateQuery(e)},o.obsStartPolling=function(e){var t;null===(t=o.currentObservable)||void 0===t||t.startPolling(e)},o.obsStopPolling=function(){var e;null===(e=o.currentObservable)||void 0===e||e.stopPolling()},o.obsSubscribeToMore=function(e){var t;return null===(t=o.currentObservable)||void 0===t?void 0:t.subscribeToMore(e)},o.onNewData=i,o}return(0,r.ZT)(t,e),t.prototype.execute=function(){this.refreshClient();var e=this.getOptions(),t=e.skip,n=e.query;return(t||n!==this.previous.query)&&(this.removeQuerySubscription(),this.removeObservable(!t),this.previous.query=n),this.updateObservableQuery(),this.getExecuteSsrResult()||this.getExecuteResult()},t.prototype.executeLazy=function(){return this.runLazy?[this.runLazyQuery,this.execute()]:[this.runLazyQuery,{loading:!1,networkStatus:s.I.ready,called:!1,data:void 0}]},t.prototype.fetchData=function(){var e=this,t=this.getOptions();return!t.skip&&!1!==t.ssr&&new Promise((function(t){return e.startQuerySubscription(t)}))},t.prototype.afterExecute=function(e){var t=(void 0===e?{}:e).lazy,n=void 0!==t&&t;this.isMounted=!0;var r=this.getOptions();return this.currentObservable&&!this.ssrInitiated()&&this.startQuerySubscription(),n&&!this.runLazy||this.handleErrorOrCompleted(),this.previousOptions=r,this.unmount.bind(this)},t.prototype.cleanup=function(){this.removeQuerySubscription(),this.removeObservable(!0),delete this.previous.result},t.prototype.getOptions=function(){var t=e.prototype.getOptions.call(this);return this.lazyOptions&&(t.variables=(0,r.pi)((0,r.pi)({},t.variables),this.lazyOptions.variables),t.context=(0,r.pi)((0,r.pi)({},t.context),this.lazyOptions.context)),this.runLazy&&delete t.skip,t},t.prototype.ssrInitiated=function(){return this.context&&this.context.renderPromises},t.prototype.getExecuteSsrResult=function(){var e=this.getOptions(),t=e.ssr,n=e.skip,i=!1===t,o=this.refreshClient().client.disableNetworkFetches,a=(0,r.pi)({loading:!0,networkStatus:s.I.loading,called:!0,data:void 0,stale:!1,client:this.client},this.observableQueryFields());if(i&&(this.ssrInitiated()||o))return this.previous.result=a,a;if(this.ssrInitiated()){var u=this.getExecuteResult()||a;return u.loading&&!n&&this.context.renderPromises.addQueryPromise(this,(function(){return null})),u}},t.prototype.prepareObservableQueryOptions=function(){var e=this.getOptions();this.verifyDocumentType(e.query,u.n_.Query);var t=e.displayName||"Query";return!this.ssrInitiated()||"network-only"!==e.fetchPolicy&&"cache-and-network"!==e.fetchPolicy||(e.fetchPolicy="cache-first"),(0,r.pi)((0,r.pi)({},e),{displayName:t,context:e.context})},t.prototype.initializeObservableQuery=function(){if(this.ssrInitiated()&&(this.currentObservable=this.context.renderPromises.getSSRObservable(this.getOptions())),!this.currentObservable){var e=this.prepareObservableQueryOptions();this.previous.observableQueryOptions=(0,r.pi)((0,r.pi)({},e),{children:void 0}),this.currentObservable=this.refreshClient().client.watchQuery((0,r.pi)({},e)),this.ssrInitiated()&&this.context.renderPromises.registerSSRObservable(this.currentObservable,e)}},t.prototype.updateObservableQuery=function(){if(this.currentObservable){var e=(0,r.pi)((0,r.pi)({},this.prepareObservableQueryOptions()),{children:void 0});this.getOptions().skip?this.previous.observableQueryOptions=e:(0,o.D)(e,this.previous.observableQueryOptions)||(this.previous.observableQueryOptions=e,this.currentObservable.setOptions(e).catch((function(){})))}else this.initializeObservableQuery()},t.prototype.startQuerySubscription=function(e){var t=this;void 0===e&&(e=this.onNewData),this.currentSubscription||this.getOptions().skip||(this.currentSubscription=this.currentObservable.subscribe({next:function(n){var r=n.loading,i=n.networkStatus,a=n.data,s=t.previous.result;s&&s.loading===r&&s.networkStatus===i&&(0,o.D)(s.data,a)||e()},error:function(n){if(t.resubscribeToQuery(),!n.hasOwnProperty("graphQLErrors"))throw n;var r=t.previous.result;(r&&r.loading||!(0,o.D)(n,t.previous.error))&&(t.previous.error=n,e())}}))},t.prototype.resubscribeToQuery=function(){this.removeQuerySubscription();var e=this.currentObservable;if(e){var t=e.last;try{e.resetLastResults(),this.startQuerySubscription()}finally{e.last=t}}},t.prototype.getExecuteResult=function(){var e=this.observableQueryFields(),t=this.getOptions();if(t.skip)e=(0,r.pi)((0,r.pi)({},e),{data:void 0,error:void 0,loading:!1,networkStatus:s.I.ready,called:!0});else if(this.currentObservable){var n=this.currentObservable.getCurrentResult(),i=n.data,o=n.loading,u=n.partial,c=n.networkStatus,l=n.errors,p=n.error;if(l&&l.length>0&&(p=new a.c({graphQLErrors:l})),e=(0,r.pi)((0,r.pi)({},e),{data:i,loading:o,networkStatus:c,error:p,called:!0}),o);else if(p)Object.assign(e,{data:(this.currentObservable.getLastResult()||{}).data});else{var d=this.currentObservable.options.fetchPolicy;if(t.partialRefetch&&u&&(!i||0===Object.keys(i).length)&&"cache-only"!==d)return Object.assign(e,{loading:!0,networkStatus:s.I.loading}),e.refetch(),e}}e.client=this.client,this.setOptions(t,!0);var f=this.previous.result;return this.previous.loading=f&&f.loading||!1,e.previousData=f&&(f.data||f.previousData),this.previous.result=e,this.currentObservable&&this.currentObservable.resetQueryStoreErrors(),e},t.prototype.handleErrorOrCompleted=function(){if(this.currentObservable&&this.previous.result){var e=this.previous.result,t=e.data,n=e.loading,r=e.error;if(!n){var i=this.getOptions(),a=i.query,s=i.variables,u=i.onCompleted,c=i.onError,l=i.skip;if(this.previousOptions&&!this.previous.loading&&(0,o.D)(this.previousOptions.query,a)&&(0,o.D)(this.previousOptions.variables,s))return;!u||r||l?c&&r&&c(r):u(t)}}},t.prototype.removeQuerySubscription=function(){this.currentSubscription&&(this.currentSubscription.unsubscribe(),delete this.currentSubscription)},t.prototype.removeObservable=function(e){this.currentObservable&&(this.currentObservable.tearDownQuery(),e&&delete this.currentObservable)},t.prototype.observableQueryFields=function(){var e;return{variables:null===(e=this.currentObservable)||void 0===e?void 0:e.variables,refetch:this.obsRefetch,fetchMore:this.obsFetchMore,updateQuery:this.obsUpdateQuery,startPolling:this.obsStartPolling,stopPolling:this.obsStopPolling,subscribeToMore:this.obsSubscribeToMore}},t}(n(59006).V);var l=n(55261);function p(e,t,n){void 0===n&&(n=!1);var a=(0,i.useContext)((0,l.K)()),s=(0,i.useReducer)((function(e){return e+1}),0),u=s[0],p=s[1],d=t?(0,r.pi)((0,r.pi)({},t),{query:e}):{query:e},f=(0,i.useRef)(),h=f.current||(f.current=new c({options:d,context:a,onNewData:function(){h.ssrInitiated()?p():Promise.resolve().then((function(){return f.current&&f.current.isMounted&&p()}))}}));h.setOptions(d),h.context=a;var v=function(e,t){var n=(0,i.useRef)();return n.current&&(0,o.D)(t,n.current.key)||(n.current={key:t,value:e()}),n.current.value}((function(){return n?h.executeLazy():h.execute()}),{options:(0,r.pi)((0,r.pi)({},d),{onError:void 0,onCompleted:void 0}),context:a,tick:u}),y=n?v[1]:v;return __DEV__&&function(e){if(__DEV__){var t=(0,i.useRef)(!1);(0,i.useEffect)((function(){return function(){t.current=!0}}),[]),(0,i.useEffect)((function(){!0===t.current&&(t.current=!1,e())}),[])}}(p),(0,i.useEffect)((function(){return function(){h.cleanup(),f.current=void 0}}),[]),(0,i.useEffect)((function(){return h.afterExecute({lazy:n})}),[y.loading,y.networkStatus,y.error,y.data,h.currentObservable]),v}},14222:function(e,t,n){"use strict";n.d(t,{E2:function(){return s},mw:function(){return a},n_:function(){return r}});var r,i=n(51878);!function(e){e[e.Query=0]="Query",e[e.Mutation=1]="Mutation",e[e.Subscription=2]="Subscription"}(r||(r={}));var o=new Map;function a(e){var t;switch(e){case r.Query:t="Query";break;case r.Mutation:t="Mutation";break;case r.Subscription:t="Subscription"}return t}function s(e){var t,n,a=o.get(e);if(a)return a;__DEV__?(0,i.kG)(!!e&&!!e.kind,"Argument of "+e+" passed to parser was not a valid GraphQL DocumentNode. You may need to use 'graphql-tag' or another method to convert your operation into a document"):(0,i.kG)(!!e&&!!e.kind,34);var s=e.definitions.filter((function(e){return"FragmentDefinition"===e.kind})),u=e.definitions.filter((function(e){return"OperationDefinition"===e.kind&&"query"===e.operation})),c=e.definitions.filter((function(e){return"OperationDefinition"===e.kind&&"mutation"===e.operation})),l=e.definitions.filter((function(e){return"OperationDefinition"===e.kind&&"subscription"===e.operation}));__DEV__?(0,i.kG)(!s.length||u.length||c.length||l.length,"Passing only a fragment to 'graphql' is not yet supported. You must include a query, subscription or mutation as well"):(0,i.kG)(!s.length||u.length||c.length||l.length,35),__DEV__?(0,i.kG)(u.length+c.length+l.length<=1,"react-apollo only supports a query, subscription, or a mutation per HOC. "+e+" had "+u.length+" queries, "+l.length+" subscriptions and "+c.length+" mutations. You can use 'compose' to join multiple operation types to a component"):(0,i.kG)(u.length+c.length+l.length<=1,36),n=u.length?r.Query:r.Mutation,u.length||c.length||(n=r.Subscription);var p=u.length?u:c.length?c:l;__DEV__?(0,i.kG)(1===p.length,"react-apollo only supports one definition per HOC. "+e+" had "+p.length+" definitions. You can use 'compose' to join multiple operation types to a component"):(0,i.kG)(1===p.length,37);var d=p[0];t=d.variableDefinitions||[];var f={name:d.name&&"Name"===d.name.kind?d.name.value:"data",type:n,variables:t};return o.set(e,f),f}},77213:function(e,t,n){"use strict";n.r(t),n.d(t,{default:function(){return Ce}});var r=n(32735),i=n.n(r),o=n(92577),a=n(47169),s=n(60216),u=n.n(s),c=n(25824),l=n.n(c),p=n(8266),d=n.n(p),f=n(54516),h=n.n(f),v="bodyAttributes",y="htmlAttributes",b="titleAttributes",g={BASE:"base",BODY:"body",HEAD:"head",HTML:"html",LINK:"link",META:"meta",NOSCRIPT:"noscript",SCRIPT:"script",STYLE:"style",TITLE:"title"},m=(Object.keys(g).map((function(e){return g[e]})),"charset"),O="cssText",T="href",w="http-equiv",k="innerHTML",S="itemprop",E="name",A="property",C="rel",_="src",I="target",P={accesskey:"accessKey",charset:"charSet",class:"className",contenteditable:"contentEditable",contextmenu:"contextMenu","http-equiv":"httpEquiv",itemprop:"itemProp",tabindex:"tabIndex"},N="defaultTitle",D="defer",x="encodeSpecialCharacters",j="onChangeClientState",L="titleTemplate",R=Object.keys(P).reduce((function(e,t){return e[P[t]]=t,e}),{}),Q=[g.NOSCRIPT,g.SCRIPT,g.STYLE],M="data-react-helmet",q="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"===typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},F=function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")},z=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}}(),H=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},U=function(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n},V=function(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},G=function(e){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];return!1===t?String(e):String(e).replace(/&/g,"&amp;").replace(/</g,"&lt;").replace(/>/g,"&gt;").replace(/"/g,"&quot;").replace(/'/g,"&#x27;")},Y=function(e){var t=$(e,g.TITLE),n=$(e,L);if(n&&t)return n.replace(/%s/g,(function(){return Array.isArray(t)?t.join(""):t}));var r=$(e,N);return t||r||void 0},W=function(e){return $(e,j)||function(){}},B=function(e,t){return t.filter((function(t){return"undefined"!==typeof t[e]})).map((function(t){return t[e]})).reduce((function(e,t){return H({},e,t)}),{})},Z=function(e,t){return t.filter((function(e){return"undefined"!==typeof e[g.BASE]})).map((function(e){return e[g.BASE]})).reverse().reduce((function(t,n){if(!t.length)for(var r=Object.keys(n),i=0;i<r.length;i++){var o=r[i].toLowerCase();if(-1!==e.indexOf(o)&&n[o])return t.concat(n)}return t}),[])},K=function(e,t,n){var r={};return n.filter((function(t){return!!Array.isArray(t[e])||("undefined"!==typeof t[e]&&ne("Helmet: "+e+' should be of type "Array". Instead found type "'+q(t[e])+'"'),!1)})).map((function(t){return t[e]})).reverse().reduce((function(e,n){var i={};n.filter((function(e){for(var n=void 0,o=Object.keys(e),a=0;a<o.length;a++){var s=o[a],u=s.toLowerCase();-1===t.indexOf(u)||n===C&&"canonical"===e[n].toLowerCase()||u===C&&"stylesheet"===e[u].toLowerCase()||(n=u),-1===t.indexOf(s)||s!==k&&s!==O&&s!==S||(n=s)}if(!n||!e[n])return!1;var c=e[n].toLowerCase();return r[n]||(r[n]={}),i[n]||(i[n]={}),!r[n][c]&&(i[n][c]=!0,!0)})).reverse().forEach((function(t){return e.push(t)}));for(var o=Object.keys(i),a=0;a<o.length;a++){var s=o[a],u=h()({},r[s],i[s]);r[s]=u}return e}),[]).reverse()},$=function(e,t){for(var n=e.length-1;n>=0;n--){var r=e[n];if(r.hasOwnProperty(t))return r[t]}return null},X=function(){var e=Date.now();return function(t){var n=Date.now();n-e>16?(e=n,t(n)):setTimeout((function(){X(t)}),0)}}(),J=function(e){return clearTimeout(e)},ee="undefined"!==typeof window?window.requestAnimationFrame&&window.requestAnimationFrame.bind(window)||window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame||X:n.g.requestAnimationFrame||X,te="undefined"!==typeof window?window.cancelAnimationFrame||window.webkitCancelAnimationFrame||window.mozCancelAnimationFrame||J:n.g.cancelAnimationFrame||J,ne=function(e){return console&&"function"===typeof console.warn&&console.warn(e)},re=null,ie=function(e,t){var n=e.baseTag,r=e.bodyAttributes,i=e.htmlAttributes,o=e.linkTags,a=e.metaTags,s=e.noscriptTags,u=e.onChangeClientState,c=e.scriptTags,l=e.styleTags,p=e.title,d=e.titleAttributes;se(g.BODY,r),se(g.HTML,i),ae(p,d);var f={baseTag:ue(g.BASE,n),linkTags:ue(g.LINK,o),metaTags:ue(g.META,a),noscriptTags:ue(g.NOSCRIPT,s),scriptTags:ue(g.SCRIPT,c),styleTags:ue(g.STYLE,l)},h={},v={};Object.keys(f).forEach((function(e){var t=f[e],n=t.newTags,r=t.oldTags;n.length&&(h[e]=n),r.length&&(v[e]=f[e].oldTags)})),t&&t(),u(e,h,v)},oe=function(e){return Array.isArray(e)?e.join(""):e},ae=function(e,t){"undefined"!==typeof e&&document.title!==e&&(document.title=oe(e)),se(g.TITLE,t)},se=function(e,t){var n=document.getElementsByTagName(e)[0];if(n){for(var r=n.getAttribute(M),i=r?r.split(","):[],o=[].concat(i),a=Object.keys(t),s=0;s<a.length;s++){var u=a[s],c=t[u]||"";n.getAttribute(u)!==c&&n.setAttribute(u,c),-1===i.indexOf(u)&&i.push(u);var l=o.indexOf(u);-1!==l&&o.splice(l,1)}for(var p=o.length-1;p>=0;p--)n.removeAttribute(o[p]);i.length===o.length?n.removeAttribute(M):n.getAttribute(M)!==a.join(",")&&n.setAttribute(M,a.join(","))}},ue=function(e,t){var n=document.head||document.querySelector(g.HEAD),r=n.querySelectorAll(e+"["+"data-react-helmet]"),i=Array.prototype.slice.call(r),o=[],a=void 0;return t&&t.length&&t.forEach((function(t){var n=document.createElement(e);for(var r in t)if(t.hasOwnProperty(r))if(r===k)n.innerHTML=t.innerHTML;else if(r===O)n.styleSheet?n.styleSheet.cssText=t.cssText:n.appendChild(document.createTextNode(t.cssText));else{var s="undefined"===typeof t[r]?"":t[r];n.setAttribute(r,s)}n.setAttribute(M,"true"),i.some((function(e,t){return a=t,n.isEqualNode(e)}))?i.splice(a,1):o.push(n)})),i.forEach((function(e){return e.parentNode.removeChild(e)})),o.forEach((function(e){return n.appendChild(e)})),{oldTags:i,newTags:o}},ce=function(e){return Object.keys(e).reduce((function(t,n){var r="undefined"!==typeof e[n]?n+'="'+e[n]+'"':""+n;return t?t+" "+r:r}),"")},le=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return Object.keys(e).reduce((function(t,n){return t[P[n]||n]=e[n],t}),t)},pe=function(e,t,n){switch(e){case g.TITLE:return{toComponent:function(){return function(e,t,n){var r,o=((r={key:t})[M]=!0,r),a=le(n,o);return[i().createElement(g.TITLE,a,t)]}(0,t.title,t.titleAttributes)},toString:function(){return function(e,t,n,r){var i=ce(n),o=oe(t);return i?"<"+e+' data-react-helmet="true" '+i+">"+G(o,r)+"</"+e+">":"<"+e+' data-react-helmet="true">'+G(o,r)+"</"+e+">"}(e,t.title,t.titleAttributes,n)}};case v:case y:return{toComponent:function(){return le(t)},toString:function(){return ce(t)}};default:return{toComponent:function(){return function(e,t){return t.map((function(t,n){var r,o=((r={key:n})[M]=!0,r);return Object.keys(t).forEach((function(e){var n=P[e]||e;if(n===k||n===O){var r=t.innerHTML||t.cssText;o.dangerouslySetInnerHTML={__html:r}}else o[n]=t[e]})),i().createElement(e,o)}))}(e,t)},toString:function(){return function(e,t,n){return t.reduce((function(t,r){var i=Object.keys(r).filter((function(e){return!(e===k||e===O)})).reduce((function(e,t){var i="undefined"===typeof r[t]?t:t+'="'+G(r[t],n)+'"';return e?e+" "+i:i}),""),o=r.innerHTML||r.cssText||"",a=-1===Q.indexOf(e);return t+"<"+e+' data-react-helmet="true" '+i+(a?"/>":">"+o+"</"+e+">")}),"")}(e,t,n)}}}},de=function(e){var t=e.baseTag,n=e.bodyAttributes,r=e.encode,i=e.htmlAttributes,o=e.linkTags,a=e.metaTags,s=e.noscriptTags,u=e.scriptTags,c=e.styleTags,l=e.title,p=void 0===l?"":l,d=e.titleAttributes;return{base:pe(g.BASE,t,r),bodyAttributes:pe(v,n,r),htmlAttributes:pe(y,i,r),link:pe(g.LINK,o,r),meta:pe(g.META,a,r),noscript:pe(g.NOSCRIPT,s,r),script:pe(g.SCRIPT,u,r),style:pe(g.STYLE,c,r),title:pe(g.TITLE,{title:p,titleAttributes:d},r)}},fe=function(e){var t,n;return n=t=function(t){function n(){return F(this,n),V(this,t.apply(this,arguments))}return function(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)}(n,t),n.prototype.shouldComponentUpdate=function(e){return!d()(this.props,e)},n.prototype.mapNestedChildrenToProps=function(e,t){if(!t)return null;switch(e.type){case g.SCRIPT:case g.NOSCRIPT:return{innerHTML:t};case g.STYLE:return{cssText:t}}throw new Error("<"+e.type+" /> elements are self-closing and can not contain children. Refer to our API for more information.")},n.prototype.flattenArrayTypeChildren=function(e){var t,n=e.child,r=e.arrayTypeChildren,i=e.newChildProps,o=e.nestedChildren;return H({},r,((t={})[n.type]=[].concat(r[n.type]||[],[H({},i,this.mapNestedChildrenToProps(n,o))]),t))},n.prototype.mapObjectTypeChildren=function(e){var t,n,r=e.child,i=e.newProps,o=e.newChildProps,a=e.nestedChildren;switch(r.type){case g.TITLE:return H({},i,((t={})[r.type]=a,t.titleAttributes=H({},o),t));case g.BODY:return H({},i,{bodyAttributes:H({},o)});case g.HTML:return H({},i,{htmlAttributes:H({},o)})}return H({},i,((n={})[r.type]=H({},o),n))},n.prototype.mapArrayTypeChildrenToProps=function(e,t){var n=H({},t);return Object.keys(e).forEach((function(t){var r;n=H({},n,((r={})[t]=e[t],r))})),n},n.prototype.warnOnInvalidChildren=function(e,t){return!0},n.prototype.mapChildrenToProps=function(e,t){var n=this,r={};return i().Children.forEach(e,(function(e){if(e&&e.props){var i=e.props,o=i.children,a=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return Object.keys(e).reduce((function(t,n){return t[R[n]||n]=e[n],t}),t)}(U(i,["children"]));switch(n.warnOnInvalidChildren(e,o),e.type){case g.LINK:case g.META:case g.NOSCRIPT:case g.SCRIPT:case g.STYLE:r=n.flattenArrayTypeChildren({child:e,arrayTypeChildren:r,newChildProps:a,nestedChildren:o});break;default:t=n.mapObjectTypeChildren({child:e,newProps:t,newChildProps:a,nestedChildren:o})}}})),t=this.mapArrayTypeChildrenToProps(r,t)},n.prototype.render=function(){var t=this.props,n=t.children,r=U(t,["children"]),o=H({},r);return n&&(o=this.mapChildrenToProps(n,o)),i().createElement(e,o)},z(n,null,[{key:"canUseDOM",set:function(t){e.canUseDOM=t}}]),n}(i().Component),t.propTypes={base:u().object,bodyAttributes:u().object,children:u().oneOfType([u().arrayOf(u().node),u().node]),defaultTitle:u().string,defer:u().bool,encodeSpecialCharacters:u().bool,htmlAttributes:u().object,link:u().arrayOf(u().object),meta:u().arrayOf(u().object),noscript:u().arrayOf(u().object),onChangeClientState:u().func,script:u().arrayOf(u().object),style:u().arrayOf(u().object),title:u().string,titleAttributes:u().object,titleTemplate:u().string},t.defaultProps={defer:!0,encodeSpecialCharacters:!0},t.peek=e.peek,t.rewind=function(){var t=e.rewind();return t||(t=de({baseTag:[],bodyAttributes:{},encodeSpecialCharacters:!0,htmlAttributes:{},linkTags:[],metaTags:[],noscriptTags:[],scriptTags:[],styleTags:[],title:"",titleAttributes:{}})),t},n}(l()((function(e){return{baseTag:Z([T,I],e),bodyAttributes:B(v,e),defer:$(e,D),encode:$(e,x),htmlAttributes:B(y,e),linkTags:K(g.LINK,[C,T],e),metaTags:K(g.META,[E,m,w,A,S],e),noscriptTags:K(g.NOSCRIPT,[k],e),onChangeClientState:W(e),scriptTags:K(g.SCRIPT,[_,k],e),styleTags:K(g.STYLE,[O],e),title:Y(e),titleAttributes:B(b,e)}}),(function(e){re&&te(re),e.defer?re=ee((function(){ie(e,(function(){re=null}))})):(ie(e),re=null)}),de)((function(){return null})));fe.renderStatic=fe.rewind;var he=n(39476),ve=n(24094);function ye(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function be(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?ye(Object(n),!0).forEach((function(t){(0,a.Z)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):ye(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var ge,me=["fluid"],Oe=function(e){var t=e.adUnitPath,n=e.adSize,a=void 0===n?me:n,s=e.adId,u=e.adTargeting,c=void 0===u?{}:u,l=e.eventHandlers,p=e.middlewareClickUrl;(0,r.useEffect)((function(){window.googletag=window.googletag||{cmd:[]}}),[]);var d=(0,he.QT)();return(0,r.useEffect)((function(){googletag.cmd.push((function(){var e=googletag.pubads();null===l||void 0===l||l.forEach((function(t){e.addEventListener(t.eventType,t.eventHandler)}))}))}),[]),(0,r.useEffect)((function(){googletag.cmd.push((function(){var e,n;ge&&googletag.destroySlots([ge]),ge=null===(e=googletag.defineSlot(t,a,s))||void 0===e||null===(n=e.setClickUrl(p))||void 0===n?void 0:n.addService(googletag.pubads()),Object.entries(be(be({},c),{},{cal:d.trans((0,ve.t)("usm_native_display_ad_badge_copy"))})).forEach((function(e){var t,n=(0,o.Z)(e,2),r=n[0],i=n[1];null===(t=ge)||void 0===t||t.setTargeting(r,i)})),googletag.enableServices(),googletag.display(s)}))}),[t,a,s,c,p,d]),i().createElement(i().Fragment,null,i().createElement(fe,{script:[{src:"https://securepubads.g.doubleclick.net/tag/js/gpt.js",type:"text/javascript",async:!0}]}),i().createElement("div",{id:s}))},Te=n(13260),we=n(98178),ke=n(79399),Se=n(42015),Ee={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"getNDisplayAdInfo"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"input"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"NDisplayAdInfoRequestInput"}}},directives:[]}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"getNDisplayAdInfo"},arguments:[{kind:"Argument",name:{kind:"Name",value:"input"},value:{kind:"Variable",name:{kind:"Name",value:"input"}}}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"InlineFragment",typeCondition:{kind:"NamedType",name:{kind:"Name",value:"NativeDisplayAdInfoOutput"}},directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"ad_unit_path"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"ad_position_tag"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"ad_dimensions"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"targeting_params"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"key"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"value"},arguments:[],directives:[]}]}},{kind:"Field",name:{kind:"Name",value:"calling_page_params"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"key"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"value"},arguments:[],directives:[]}]}},{kind:"Field",name:{kind:"Name",value:"middleware_click_url"},arguments:[],directives:[]}]}}]}}]}}],loc:{start:0,end:408,source:{body:"\n  query getNDisplayAdInfo($input: NDisplayAdInfoRequestInput!) {\n    getNDisplayAdInfo(input: $input) {\n      ... on NativeDisplayAdInfoOutput {\n        id\n        ad_unit_path\n        ad_position_tag\n        ad_dimensions\n        targeting_params {\n          key\n          value\n        }\n        calling_page_params {\n          key\n          value\n        }\n        middleware_click_url\n      }\n    }\n  }\n",name:"GraphQL request",locationOffset:{line:1,column:1}}}},Ae=function(){var e,t,n,r,i,a=(0,ke.T)(),s=!a.isRobotRequest()&&!(null===(e=a.getAffiliate())||void 0===e||!e.isBookingOwned)&&"us"===a.getVisitorCountry()&&"md"!==a.getVisitorCountryRegion()&&("en-us"===(0,ke.T)().getLanguage()||"en-gb"===(0,ke.T)().getLanguage())&&(a.getSiteType()===we.N.MDOT||a.getSiteType()===we.N.WWW),u="SPANISH_MEXICO";"en-us"===a.getLanguage()?u="AMERICAN_ENGLISH":"en-gb"===a.getLanguage()&&(u="ENGLISH");var c=(0,Te.a)(Ee,{variables:{input:{vertical:"ACCOMMODATIONS",site_type:(null===(t=a.getSiteType())||void 0===t?void 0:t.toString())||"WWW",page_name:"INDEX",pageview_id:a.getPageviewId()||"",user_id:(null===(n=a.getUserIdentity())||void 0===n||null===(r=n.userId)||void 0===r?void 0:r.toString())||"",visitor_cc:a.getVisitorCountry()||"",visitor_ufi:a.getVisitorUfi()||0,affiliate_id:(null===(i=a.getAffiliate())||void 0===i?void 0:i.id)||0,language:u}},skip:!s}),l=c.loading,p=c.data,d=c.error;return l||p||d||!s||(0,Se.c1)("No result for NDisplay Ad info for the given input"),d&&(0,Se.eK)(d),function(e){var t,n,r,i,a,s,u=e.error,c=e.loading,l=e.data,p={};null===l||void 0===l||null===(t=l.getNDisplayAdInfo)||void 0===t||null===(n=t.targeting_params)||void 0===n||n.forEach((function(e){var t=e.key,n=e.value;t&&n&&(p[t]=n)}));var d,f=[];return null!==l&&void 0!==l&&null!==(r=l.getNDisplayAdInfo)&&void 0!==r&&r.ad_dimensions&&(null===l||void 0===l||null===(d=l.getNDisplayAdInfo)||void 0===d||d.ad_dimensions.forEach((function(e){if("fluid"===e)f.push(["fluid"]);else{var t=e.split("x"),n=(0,o.Z)(t,2),r=n[0],i=n[1];f.push([+r,+i])}}))),{error:!!u,loading:!!c,adInfo:l&&!u?{adId:(null===l||void 0===l||null===(i=l.getNDisplayAdInfo)||void 0===i?void 0:i.id)||"",adTargeting:p,adUnitPath:(null===l||void 0===l||null===(a=l.getNDisplayAdInfo)||void 0===a?void 0:a.ad_unit_path)||"",middlewareClickUrl:(null===l||void 0===l||null===(s=l.getNDisplayAdInfo)||void 0===s?void 0:s.middleware_click_url)||"",adSize:f}:null}}({data:p,loading:l,error:!!d})},Ce=function(){var e=Ae();return!e.adInfo||e.loading||e.error?null:i().createElement(Oe,e.adInfo)}},459:function(e,t,n){"use strict";var r=n(15704);function i(){}function o(){}o.resetWarningCache=i,e.exports=function(){function e(e,t,n,i,o,a){if(a!==r){var s=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 s.name="Invariant Violation",s}}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,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:o,resetWarningCache:i};return n.PropTypes=n,n}},60216:function(e,t,n){e.exports=n(459)()},15704:function(e){"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},8266:function(e){"use strict";var t=Array.isArray,n=Object.keys,r=Object.prototype.hasOwnProperty,i="undefined"!==typeof Element;function o(e,a){if(e===a)return!0;if(e&&a&&"object"==typeof e&&"object"==typeof a){var s,u,c,l=t(e),p=t(a);if(l&&p){if((u=e.length)!=a.length)return!1;for(s=u;0!==s--;)if(!o(e[s],a[s]))return!1;return!0}if(l!=p)return!1;var d=e instanceof Date,f=a instanceof Date;if(d!=f)return!1;if(d&&f)return e.getTime()==a.getTime();var h=e instanceof RegExp,v=a instanceof RegExp;if(h!=v)return!1;if(h&&v)return e.toString()==a.toString();var y=n(e);if((u=y.length)!==n(a).length)return!1;for(s=u;0!==s--;)if(!r.call(a,y[s]))return!1;if(i&&e instanceof Element&&a instanceof Element)return e===a;for(s=u;0!==s--;)if(("_owner"!==(c=y[s])||!e.$$typeof)&&!o(e[c],a[c]))return!1;return!0}return e!==e&&a!==a}e.exports=function(e,t){try{return o(e,t)}catch(n){if(n.message&&n.message.match(/stack|recursion/i)||-2146828260===n.number)return console.warn("Warning: react-fast-compare does not handle circular references.",n.name,n.message),!1;throw n}}},25824:function(e,t,n){"use strict";var r,i=n(32735),o=(r=i)&&"object"===typeof r&&"default"in r?r.default:r;function a(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var s=!("undefined"===typeof window||!window.document||!window.document.createElement);e.exports=function(e,t,n){if("function"!==typeof e)throw new Error("Expected reducePropsToState to be a function.");if("function"!==typeof t)throw new Error("Expected handleStateChangeOnClient to be a function.");if("undefined"!==typeof n&&"function"!==typeof n)throw new Error("Expected mapStateOnServer to either be undefined or a function.");return function(r){if("function"!==typeof r)throw new Error("Expected WrappedComponent to be a React component.");var u,c=[];function l(){u=e(c.map((function(e){return e.props}))),p.canUseDOM?t(u):n&&(u=n(u))}var p=function(e){var t,n;function i(){return e.apply(this,arguments)||this}n=e,(t=i).prototype=Object.create(n.prototype),t.prototype.constructor=t,t.__proto__=n,i.peek=function(){return u},i.rewind=function(){if(i.canUseDOM)throw new Error("You may only call rewind() on the server. Call peek() to read the current state.");var e=u;return u=void 0,c=[],e};var a=i.prototype;return a.UNSAFE_componentWillMount=function(){c.push(this),l()},a.componentDidUpdate=function(){l()},a.componentWillUnmount=function(){var e=c.indexOf(this);c.splice(e,1),l()},a.render=function(){return o.createElement(r,this.props)},i}(i.PureComponent);return a(p,"displayName","SideEffect("+function(e){return e.displayName||e.name||"Component"}(r)+")"),a(p,"canUseDOM",s),p}}},37017:function(e,t,n){"use strict";function r(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}n.d(t,{Z:function(){return r}})},47169:function(e,t,n){"use strict";function r(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}n.d(t,{Z:function(){return r}})},92577:function(e,t,n){"use strict";n.d(t,{Z:function(){return i}});var r=n(49139);function i(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!==typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,i,o=[],a=!0,s=!1;try{for(n=n.call(e);!(a=(r=n.next()).done)&&(o.push(r.value),!t||o.length!==t);a=!0);}catch(u){s=!0,i=u}finally{try{a||null==n.return||n.return()}finally{if(s)throw i}}return o}}(e,t)||(0,r.Z)(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.")}()}},49139:function(e,t,n){"use strict";n.d(t,{Z:function(){return i}});var r=n(37017);function i(e,t){if(e){if("string"===typeof e)return(0,r.Z)(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(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?(0,r.Z)(e,t):void 0}}}}]);
//# sourceMappingURL=https://s3-main-01.booking.com/internal-static/capla/static/js/541.d9d6b634.chunk.js.map