1141a22e1377d4833c022a06bda469e33f8b3e32f9a449368a1a102de66f593a

Source Code:

__d(function(g,r,i,a,m,e,d){"use strict";Object.defineProperty(e,'__esModule',{value:!0}),r(d[0]);var t=r(d[1])(433),n=r(d[1])(694),c=function(){return a(d[2]).createElement("div",{className:"YMU_p"},a(d[2]).createElement("p",{className:"GF0Y8"},r(d[1])(2182)))},o=(function(o){function l(){for(var c,l=arguments.length,s=new Array(l),u=0;u<l;u++)s[u]=arguments[u];return c=o.call.apply(o,[this].concat(s))||this,c.$LoginAndSignupPage1=function(){return c.props.authType===r(d[4]).AUTH.signup?n:t},c}i(d[3])(l,o);var s=l.prototype;return s.renderMobile=function(t){var n=this.props,o=n.isCaptchaEnabled,l=n.isDeactivated,s=n.recaptchaKey,u=n.usernameHint;return a(d[2]).createElement(i(d[5]),{pageIdentifier:t,title:this.$LoginAndSignupPage1(),topBanner:l&&a(d[2]).createElement(c,null)},a(d[2]).createElement("article",{className:"tbpKJ"},a(d[2]).createElement(i(d[6]),{isCaptchaEnabled:o,pageIdentifier:t,recaptchaKey:s,usernameHint:u})),this.props.showAccountRecoveryModal&&a(d[2]).createElement(i(d[7]),null))},s.render=function(){var t=this.props,n=t.authType,o=t.isCaptchaEnabled,l=t.isDeactivated,s=t.recaptchaKey,u=t.usernameHint,p=n===r(d[4]).AUTH.signup?i(d[8]).signupPage:i(d[8]).loginPage;if(r(d[9]).isMobile())return this.renderMobile(p);var h=r(d[10]).maybeGetDeepLinks();return a(d[2]).createElement(i(d[11]),{androidAppLink:h.android,hideNavigation:!0,iOSAppLink:h.ios,maxWidth:r(d[12]).SITE_WIDTHS.wide,pageIdentifier:p},a(d[2]).createElement(i(d[13]),{id:p,title:this.$LoginAndSignupPage1()}),a(d[2]).createElement("div",{className:"tbpKJ"},l&&a(d[2]).createElement(c,null),a(d[2]).createElement("article",{className:"agXmL"},a(d[2]).createElement(i(d[6]),{isCaptchaEnabled:o,pageIdentifier:p,recaptchaKey:s,usernameHint:u})),this.props.showAccountRecoveryModal&&a(d[2]).createElement(i(d[7]),null)))},l})(a(d[2]).Component),l=r(d[14]).connect(function(t){var n,c,o=t.auth;return{authType:o.authType,isDeactivated:!(!o.login||'deactivate'!==o.login.source),showAccountRecoveryModal:Boolean(null===t||void 0===t?void 0:null===(n=t.auth)||void 0===n?void 0:null===(c=n.accountRecovery)||void 0===c?void 0:c.showAccountRecoveryModal)}})(o);e.default=l},14614528,[14614529,9699332,3,9699333,13303828,14286850,9699347,14286851,9699344,9895956,14286852,10158082,10027364,9699343,5]);
__d(function() {},14614529,[]);
__d(function(g,r,i,a,m,e,d){"use strict";Object.defineProperty(e,'__esModule',{value:!0}),r(d[0]);var t=(function(t){function n(){return t.apply(this,arguments)||this}i(d[1])(n,t);return n.prototype.render=function(){var t=r(d[2]).maybeGetDeepLinks();return a(d[3]).createElement(i(d[4]),{androidAppLink:t.android,footerVariant:this.props.footerVariant||i(d[5]).VARIANTS.none,hideNavigation:!0,iOSAppLink:t.ios,maxWidth:r(d[6]).SITE_WIDTHS.wide,pageIdentifier:this.props.pageIdentifier},a(d[3]).createElement(i(d[7]),{id:this.props.pageIdentifier,title:this.props.title}),this.props.topBanner,!this.props.hideTopNav&&a(d[3]).createElement(i(d[8]),null),this.props.children,!this.props.hideFooter&&!r(d[9]).hasForceAuthenticationParam()&&a(d[3]).createElement(r(d[10]).Box,{alignItems:"center",bottom:!0,color:"ig-secondary-background",dangerouslySetClassName:{__className:"PdTAI"},direction:"row",height:60,justifyContent:"center",position:"fixed",width:"100%"},r(d[11]).isMobile()?a(d[3]).createElement(i(d[12]),null):a(d[3]).createElement(i(d[13]),{className:"WquS1"})))},n})(a(d[3]).Component);t.defaultProps={hideTopNav:!1,hideFooter:!1},e.default=t},14286850,[14286854,9699333,14286852,3,10158082,10158083,10027364,9699343,13303823,10158081,9895945,9895956,14286855,14286856]);
__d(function() {},14286854,[]);
__d(function(g,r,i,a,m,e,d){"use strict";Object.defineProperty(e,'__esModule',{value:!0}),r(d[0]),r(d[1]);var n=(function(n){function t(){return n.apply(this,arguments)||this}i(d[2])(t,n);return t.prototype.render=function(){return a(d[3]).createElement("nav",{className:"q8NLd"},a(d[3]).createElement(i(d[4]),{className:"_9rw6G",useCurrentLanguageLabel:!0}),a(d[3]).createElement("div",{className:"coreSpriteOptionsEllipsis KjWFV",onClick:this.props.onOpenMenu,role:"menuitem",tabIndex:"0"}),this.props.isMenuOpen&&a(d[3]).createElement(i(d[5]),{handleCloseClick:this.props.onCloseMenu,menuSection:this.props.menuSection,viewer:null}))},t})(a(d[3]).Component),t=r(d[7]).connect(function(n){return{isMenuOpen:n.navigation.isMobileNavMenuOpen,menuSection:n.navigation.mobileNavMenuSection}},function(n){return{onCloseMenu:function(){n(r(d[6]).closeMobileNavMenu())},onOpenMenu:function(){n(r(d[6]).openMobileNavMenu())}}})(n);e.default=t},13303823,[9699330,13303842,9699333,3,10813442,13303843,10027224,5]);
__d(function() {},13303842,[]);
__d(function(g,r,i,a,m,e,d){"use strict";Object.defineProperty(e,'__esModule',{value:!0});var t=function(){return a(d[0]).createElement(r(d[1]).Icon,{alt:r(d[2])(1566),icon:r(d[1]).ICONS.FB_BRAND_CENTER_GREY})};e.default=t},14286855,[3,9895945,9699332]);
__d(function(g,r,i,a,m,e,d){"use strict";Object.defineProperty(e,'__esModule',{value:!0});var o=(function(o){function n(){for(var n,t=arguments.length,c=new Array(t),u=0;u<t;u++)c[u]=arguments[u];return n=o.call.apply(o,[this].concat(c))||this,n.$AccountRecoveryModal2=function(){r(d[1]).logLoginEvent({event_name:'recovery_facebook'}),!0!==n.props.isFBLoggedIn?r(d[2]).redirectToFBOAuth('/','loginPage'):n.props.onUseFBC()},n.$AccountRecoveryModal3=function(){n.props.onSendEmail(),r(d[1]).logLoginEvent({event_name:'recovery_email'})},n.$AccountRecoveryModal4=function(){n.props.onSendPhone(),r(d[1]).logLoginEvent({event_name:'recovery_sms'})},n}i(d[0])(n,o);var t=n.prototype;return t.$AccountRecoveryModal1=function(o){switch(o){case r(d[3]).Option.TRY_AGAIN:return this.props.onTryAgain;case r(d[3]).Option.USE_FBC:return this.$AccountRecoveryModal2;case r(d[3]).Option.SEND_EMAIL:return this.$AccountRecoveryModal3;case r(d[3]).Option.SEND_PHONE:return this.$AccountRecoveryModal4;default:i(d[4])("AccountRecoveryModal: missing handler for "+o+" option")}return i(d[5])},t.render=function(){var o=this,n=this.props.options,t=n.optionsList,c=n.title,u=n.description;return a(d[6]).createElement(r(d[7]).Dialog,{body:u,onModalClose:this.props.onTryAgain,title:c},t.map(function(n){return a(d[6]).createElement(r(d[7]).DialogItem,{color:n===r(d[3]).Option.TRY_AGAIN&&1!==t.length?'ig-secondary-button':'ig-primary-button',key:n,onClick:o.$AccountRecoveryModal1(n)},r(d[3]).ACCOUNT_RECOVERY_OPTIONS[n].text)}))},n})(a(d[6]).Component),n=r(d[11]).connect(function(o){var n=o.auth,t=n.login,c=n.accountRecovery,u=null===c||void 0===c?void 0:c.options,s=null===c||void 0===c?void 0:c.query,l=t?t.submissionCount:0,v=r(d[3]).getOptions(u,l,s);return{submissionCount:l,showAccountRecoveryModal:!!(null===c||void 0===c?void 0:c.showAccountRecoveryModal),options:v}},function(o){return{onTryAgain:function(){o(r(d[8]).closeAccountRecoveryModal()),r(d[1]).logLoginEvent({event_name:'try_again_click'})},onUseFBC:function(){o(r(d[9]).setFBLoginOverride()),o(r(d[9]).switchAuthType(r(d[10]).AUTH.fbLogin))},onSendEmail:function(){o(r(d[8]).sendAccontRecoveryEmail())},onSendPhone:function(){o(r(d[8]).sendAccountRecoverySms())}}})(o);e.default=n},14286851,[9699333,11599874,10158309,14286857,9895942,10027076,3,9895945,14286858,13303827,13303828,5]);
__d(function(g,r,i,a,m,e,d){"use strict";function t(t,E){var _=Object.keys(t);if(Object.getOwnPropertySymbols){var A=Object.getOwnPropertySymbols(t);E&&(A=A.filter(function(E){return Object.getOwnPropertyDescriptor(t,E).enumerable})),_.push.apply(_,A)}return _}function E(E){for(var _=1;_<arguments.length;_++){var A=null!=arguments[_]?arguments[_]:{};_%2?t(A,!0).forEach(function(t){i(d[0])(E,t,A[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(E,Object.getOwnPropertyDescriptors(A)):t(A).forEach(function(t){Object.defineProperty(E,t,Object.getOwnPropertyDescriptor(A,t))})}return E}function _(t){switch(t){case O.TRY_AGAIN_ONLY:return[N.TRY_AGAIN];case O.FBC:return[N.USE_FBC,N.TRY_AGAIN];case O.EMAIL:return[N.SEND_EMAIL,N.TRY_AGAIN];case O.PHONE:return[N.SEND_PHONE,N.TRY_AGAIN];case O.EMAIL_PHONE:return[N.SEND_EMAIL,N.SEND_PHONE,N.TRY_AGAIN];case O.PHONE_EMAIL:return[N.SEND_PHONE,N.SEND_EMAIL,N.TRY_AGAIN];case O.FB_PHONE:return[N.USE_FBC,N.SEND_PHONE,N.TRY_AGAIN];case O.FB_EMAIL:return[N.USE_FBC,N.SEND_EMAIL,N.TRY_AGAIN];default:return c}}function A(t,E,_){var A=null!=E&&''!==E?'username'===_?r(d[1])(1687,{username:E}):r(d[1])(1952):r(d[1])(2462),n=r(d[1])(1225);switch(t){case O.FBC:return{title:A,description:r(d[1])(3330)};case O.EMAIL:return{title:A,description:r(d[1])(2929)};case O.PHONE:return{title:A,description:r(d[1])(701)};case O.EMAIL_PHONE:case O.PHONE_EMAIL:return{title:A,description:r(d[1])(2051)};case O.NOT_AVAILABLE:return{title:r(d[1])(1658),description:r(d[1])(50)};default:return{title:A,description:n}}}var n;Object.defineProperty(e,'__esModule',{value:!0});var N={TRY_AGAIN:"TRY_AGAIN",USE_FBC:"USE_FBC",SEND_EMAIL:"SEND_EMAIL",SEND_PHONE:"SEND_PHONE"},O={TRY_AGAIN_ONLY:"TRY_AGAIN_ONLY",FBC:"FBC",EMAIL:"EMAIL",PHONE:"PHONE",EMAIL_PHONE:"EMAIL_PHONE",PHONE_EMAIL:"PHONE_EMAIL",FB_EMAIL:"FB_EMAIL",FB_PHONE:"FB_PHONE",NOT_AVAILABLE:"NOT_AVAILABLE"},c=[N.TRY_AGAIN],I=r(d[1])(1163),s=r(d[1])(2668),o=r(d[1])(2983),L=r(d[1])(25),u=(n={},n[N.TRY_AGAIN]={text:I},n[N.USE_FBC]={text:s},n[N.SEND_EMAIL]={text:o},n[N.SEND_PHONE]={text:L},n);e.Option=N,e.OptionSuite=O,e.DEFAULT_OPTION_SUITE=c,e.ACCOUNT_RECOVERY_OPTIONS=u,e.getOptionsList=_,e.getHelpContent=A,e.getOptions=function(t,n,N){var c=O.TRY_AGAIN_ONLY;if(!t)return E({},A(c),{optionsList:_(c)});var I=t.can_use_facebook,s=t.can_send_email,o=t.can_send_phone,L=t.query_type;return I?(c=!0===s&&!0===o?'email'===L?O.FB_EMAIL:O.FB_PHONE:!0===s?O.FB_EMAIL:!0===o?O.FB_PHONE:O.FBC,E({},A(c,N,L),{optionsList:_(c)})):('username'!==L&&'email'!==L||(c=!0===s?!0===o?O.EMAIL_PHONE:O.EMAIL:!0===o?O.PHONE:O.NOT_AVAILABLE),'phone'===L&&(c=!0===o?!0===s?O.PHONE_EMAIL:O.PHONE:!0===s?O.EMAIL:O.NOT_AVAILABLE),E({},A(c,N,L),{optionsList:_(c)}))}},14286857,[9764866,9699332]);
__d(function(g,r,i,a,m,e,d){"use strict";function t(t){return t instanceof r(d[0]).AjaxError&&t.message?t.message:r(d[1]).SEND_ACCOUNT_RECOVERY_LINK_FAILED_TEXT}Object.defineProperty(e,'__esModule',{value:!0}),e.closeAccountRecoveryModal=function(){return function(t,n){t({type:r(d[2]).ACCOUNT_RECOVERY_MODAL_DISMISSED})}},e.sendAccontRecoveryEmail=function(){return function(n,o){n({type:r(d[2]).ACCOUNT_RECOVERY_MODAL_DISMISSED});var c=o().auth.accountRecovery,s=null===c||void 0===c?void 0:c.query;i(d[3])(r(d[4]).sendAccountRecoveryEmail(i(d[5])(s)).then(function(t){n(r(d[6]).showToast({text:t.toast_message,persistOnNavigate:!0}))}).catch(function(o){n(r(d[6]).showToast({text:t(o),persistOnNavigate:!0}))}))}},e.sendAccountRecoverySms=function(){return function(n,o){n({type:r(d[2]).ACCOUNT_RECOVERY_MODAL_DISMISSED});var c=o().auth.accountRecovery,s=null===c||void 0===c?void 0:c.query;i(d[3])(r(d[4]).sendAccountRecoverySms(i(d[5])(s)).then(function(t){n(r(d[6]).showToast({text:t.toast_message,persistOnNavigate:!0}))}).catch(function(o){n(r(d[6]).showToast({text:t(o),persistOnNavigate:!0}))}))}}},14286858,[9961490,11403268,14286859,9961483,10027214,9699336,10027211]);