1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[2297],{82297:function(e,t,n){n.r(t),n.d(t,{InternationalOverlay:function(){return ei},default:function(){return ea}});var r,o,c,i,a,s,l,u=n(20406),d=n(8529),p=n(7328),f=n(82841),b=n.n(f),g=n(2784),h=n(60418),y=n(52034),x=n(80131),w=n(36937),j=n(11006),v=n(87330),O=n(48840),m=n(95235),k=n(51339),P=function(){var e=new Date;e.setTime(e.getTime()+432e5),document.cookie="debug=true; expires=".concat(e.toUTCString(),"index-7.html")},C=function(){var e="; ".concat(document.cookie).split("; debug=");if(e&&2===e.length){var t=e.pop();return t&&"true"===t.split(";").shift()&&!0}return!1},S=function(){var e=new Date;e.setTime(e.getTime()+-864e5),document.cookie="debug=true; expires=".concat(e.toUTCString(),"index-7.html")},D=function(e){var t=new URLSearchParams(e.location.search);return"true"!==t.get("debug")?"false"===t.get("debug")&&S():P(),!!C()},Z=function(e,t){D(window)&&console.info("%c ".concat(e&&e.nativeEvent.type," %cEvent on ").concat(t," "),"background: ".concat(T[t],"; color: white; padding: 2px 0px;font-style: italic"),"background: ".concat(T[t],"; color: white; padding: 2px 0px"),e)},_=function(e,t){D(window)&&console.info("%c ".concat(t," %cis ").concat(e?"in view ":"out of view "),"background: ".concat(T[t],"; color: white; padding: 2px 0px;font-style: italic"),"background: ".concat(T[t],"; color: white; padding: 2px 0px"))},T={Button:"#B1391A",SocialButton:"#E4A834",Input:"#832C76",InputClear:"#832C76",RadioGroup:"#3385A3"},E=n(52322);function I(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 z(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?I(Object(n),!0).forEach(function(t){(0,m.Z)(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):I(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function W(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 R(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?W(Object(n),!0).forEach(function(t){(0,m.Z)(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):W(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}var B=(0,O.zo)(k.zx)(r||(r=(0,p.Z)([""]))),L=g.forwardRef(function(e,t){return _(e.isVisible,"Button"),(0,E.jsx)(B,R(R({},e),{},{onClick:function(t){Z(t,"Button"),e.onClick&&e.onClick(t)},onMouseOver:function(e){Z(e,"Button"),e.stopPropagation()},onFocus:function(e){Z(e,"Button")},ref:t}))}),A=g.forwardRef(function(e,t){var n=g.forwardRef(function(e,t){return"undefined"!=typeof Window?(0,E.jsx)("div",{children:(0,E.jsx)(L,z({},e))}):(0,E.jsx)("div",{children:(0,E.jsx)(L,z(z({},e),{},{ref:t}))})});return(0,E.jsx)(n,R(R({},e),{},{ref:t}))}),G=n(95732);function U(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}(0,O.zo)(G.I)(o||(o=(0,p.Z)([""])));var V=n(25237),F=n.n(V),M=O.zo.button(c||(c=(0,p.Z)(["\n transition: 0.2s ease-in-out;\n box-sizing: content-box;\n font-family: Arial, Helvetica, sans-serif;\n font-weight: bold;\n font-size: 14px;\n line-height: 24px;\n letter-spacing: 0.18px;\n text-decoration: none;\n width: 100%;\n height: ",";\n box-sizing: border-box;\n border-style: solid;\n border-width: 1px;\n border-radius: 0px;\n color: ",";\n border-color: ",";\n background-color: ",";\n display: inline-flex;\n justify-content: center;\n align-items: center;\n\n svg,\n img {\n margin-right: ",";\n max-height: ",";\n }\n\n &:hover {\n border-width: 1px;\n color: ",";\n border-color: ",";\n background-color: ",";\n }\n\n &:focus-visible {\n outline: none;\n border-width: 2px;\n border-color: ",";\n background-color: ",";\n color: ",";\n }\n\n &:active {\n border-width: 1px;\n color: ",";\n border-color: ",";\n background-color: ",";\n }\n\n &:disabled {\n border-width: 1px;\n color: ",";\n border-color: ",";\n background-color: ",";\n }\n"])),(0,O.W0)(6),function(e){return e.theme.colors.palette.greys.dark},function(e){return e.theme.colors.palette.greys.grey},function(e){return e.theme.colors.palette.greys.white},(0,O.W0)(1),(0,O.W0)(3),function(e){return e.theme.colors.palette.greys.dark},function(e){return e.theme.colors.palette.greys.lighter},function(e){return e.theme.colors.palette.greys.lighter},function(e){return e.theme.button.low.regular.focus.borderColor},function(e){return e.theme.colors.palette.greys.lighter},function(e){return e.theme.colors.palette.greys.dark},function(e){return e.theme.colors.palette.greys.dark},function(e){return e.theme.colors.palette.greys.light},function(e){return e.theme.colors.palette.greys.light},function(e){return e.theme.colors.palette.greys.white},function(e){return e.theme.colors.palette.greys.light},function(e){return e.theme.colors.palette.greys.light});function N(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 Y(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};
1t%2?N(Object(n),!0).forEach(function(t){(0,m.Z)(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):N(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}var H=F()(function(){return Promise.resolve().then(n.bind(n,40208))},{ssr:!0,fallback:(0,E.jsx)("div",{style:{width:24,height:24}}),loadableGenerated:{webpack:function(){return[40208]}}}),Q=F()(function(){return Promise.resolve().then(n.bind(n,81349))},{ssr:!0,fallback:(0,E.jsx)("div",{style:{width:24,height:24}}),loadableGenerated:{webpack:function(){return[81349]}}}),q=F()(function(){return Promise.resolve().then(n.bind(n,90904))},{ssr:!0,fallback:(0,E.jsx)("div",{style:{width:24,height:24}}),loadableGenerated:{webpack:function(){return[90904]}}}),J=F()(function(){return Promise.resolve().then(n.bind(n,85789))},{ssr:!0,fallback:(0,E.jsx)("div",{style:{width:24,height:24}}),loadableGenerated:{webpack:function(){return[85789]}}}),K=F()(function(){return Promise.resolve().then(n.bind(n,30891))},{ssr:!0,fallback:(0,E.jsx)("div",{style:{width:24,height:24}}),loadableGenerated:{webpack:function(){return[30891]}}});(0,O.zo)(function(e){var t=e.displayName,n=e.url,r=e.iconUrl,o=e.socialtype,c=e.i18nText;return(0,E.jsxs)(M,Y(Y({as:"a",href:n,type:"button"},e),{},{children:[function(e,n){switch(e&&e.toLowerCase()){case"facebook":return(0,E.jsx)(H,{"data-testid":"social-button-icon"});case"twitter":return(0,E.jsx)(q,{"data-testid":"social-button-icon"});case"google":return(0,E.jsx)(Q,{"data-testid":"social-button-icon"});case"wechat":return(0,E.jsx)(J,{"data-testid":"social-button-icon"});case"weibo":return(0,E.jsx)(K,{"data-testid":"social-button-icon"})}return(0,E.jsx)("img",{src:n,alt:"Login with ".concat(t),"data-testid":"social-button-icon"})}(o,r),c||t]}))})(i||(i=(0,p.Z)([""])));var X=n(93479);(0,O.zo)(X.Ee)(a||(a=(0,p.Z)([""])));var $=n(41857),ee=n(28885),et=n(73716),en=n(58406),er=function(e){var t=(0,$.ZR)().assetPrefix;return(0,E.jsx)("img",{alt:"".concat(e.flagIcon," flag"),style:{width:"24px",borderRadius:"50%",border:"1px solid white",marginRight:"8px"},src:"".concat(t,"index-8.html").concat(e.flagIcon.toLowerCase(),".svg")})},eo=j.zo.h1(s||(s=(0,p.Z)(["\n ",";\n padding-top: ",";\n"])),(0,v.xv)("large1","alternate"),(0,O.W0)(3)),ec=j.zo.div(l||(l=(0,p.Z)(["\n ",";\n padding-top: ",";\n"])),(0,v.xv)("bodyText","default"),(0,O.W0)(3)),ei=function(){var e=(0,$.Dx)(),t=e.subsite,n=e.domain,r=(0,ee.QT)(),o=(0,en.to)(),c=g.useState(),i=(0,d.Z)(c,2),a=i[0],s=i[1],l=g.useState(!1),p=(0,d.Z)(l,2),f=p[0],j=p[1];g.useEffect(function(){y.get("".concat(t,"_chosenSubsite_V6"))!==t&&"Y"!==(0,et.Oj)(window,"countrySelected")&&h.Z.get("/e2/operation/international-overlay",{validateStatus:function(){return!0},timeout:1e3}).then(function(e){200===e.status&&e.data&&(s(e.data),j(y.get("".concat(t,"_chosenSubsite_V6"))!==t&&"Y"!==(0,et.Oj)(window,"countrySelected")))}).catch(function(){})},[]);var v=function(e){a&&(y.set("".concat(t,"_chosenSubsite_V6"),t,{expires:3,secure:location.protocol.includes("https"),path:"/"}),j(!1),e())},m=function(e){a&&(y.set("".concat(t,"_chosenSubsite_V6"),a.subsiteIdentifier,{expires:3,secure:location.protocol.includes("https")}),j(!1),e(),window.location.href="https://".concat(a.redirectDomain,"?country_selected=Y"))};return f&&a?(0,E.jsx)(w.ModalRenderer,{removeFocusTrap:!0,"data-testid":"international-overlay",gridColSpan:[12,8,6,4],headerOffset:o,closeI18nText:{closeAriaLabel:r("general.modal.close.button.arialabel"),closeLabel:r("general.modal.close.button.label")},onClose:(0,u.Z)(b().mark(function e(){return b().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return v(function(){}),e.abrupt("return",!0);case 2:case"end":return e.stop()}},e)})),renderContent:function(e){return(0,E.jsxs)(g.Fragment,{children:[(0,E.jsx)(eo,{children:r("internationalredirect.heading.".concat(a.languageCode,".text"))}),(0,E.jsx)(ec,{dangerouslySetInnerHTML:{__html:(0,x.vsprintf)("%s %s%s%s %s %s %s",[r("internationalredirect.precountryexplanation.".concat(a.languageCode,".text")),r("header.country.".concat(a.countryCode,".text")),r("internationalredirect.postcountryexplanation.".concat(a.languageCode,".text")),r("header.country.identifier.".concat(a.countryCode,".text")),r("internationalredirect.precurrencyexplanation.".concat(a.languageCode,".text")),a.currencyWithIcon,r("internationalredirect.postcurrencyexplanation.".concat(a.languageCode,".text"))])}}),(0,E.jsxs)(A,{style:{width:"100%",marginTop:(0,O.W0)(3)},onClick:function(){return m(e)},children:[(0,E.jsx)(er,{flagIcon:a.flagIcon}),r("internationalredirect.gobuttontext.".concat(a.languageCode,".text"))," ",a.redirectDomain.toUpperCase()]}),(0,E.jsx)(A,{style:{height:(0,O.W0)(6),marginTop:(0,O.W0)(2),textAlign:"left"},emphasis:"low",onClick:function(){return v(e)},children:"".concat(r("general.internationaloverlay.staybutton.text")," ").concat(n.toUpperCase())})]})}}):null},ea=ei}}]); 2//# sourceMappingURL=2297.97952417e287d502.js.map
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.