OCGDPRInterstitial.react",["ConsentFlowMultistepQPUtils","FrlMigrationQPUtils","OCDSDialog.react","OCDSDialogBody.react","OCDSDialogFooter.react","OCDSDialogHeader.react","OCDSText.react","OCDevUIModal.react","OCGDPRInterstitialButton.react","OCGDPRInterstitialMutation","OnVisible.react","Promise","ReactDOM_DEPRECATED","ServerHTML.react","goURI","isTruthy","react","translatedServerString"],(function(a,b,c,d,e,f,g){"use strict";var h,i,j=i||(i=d("react"));e=i;var k=e.useCallback,l=e.useEffect,m=e.useState;function a(a){var e=m(!0),f=e[0],g=e[1];e=m(!1);var i=e[0],n=e[1],o=a.environment,p=a.nuxID,q=a.promotionData,r=a.promotionID,s=a.triggerName,t=k(function(a,b){d("OCGDPRInterstitialMutation").commit(o,{promotion_id:r,logging_data:q.loggingData,trigger_name:s,nux_id:p,event:{name:a,action:b}})},[o,r,q.loggingData,s,p]);function u(e,f){t("ACTION",e);g(!1);if(f!=null)if(d("ConsentFlowMultistepQPUtils").isValidQPConsentFlowMultistepAction(f)){e=d("ConsentFlowMultistepQPUtils").getQPConsentFlowMultistepTrigger(f);e!=null&&a.signalTrigger(e)}else if(d("FrlMigrationQPUtils").isValidOcAccountDeprecatedAction(f)){e=d("FrlMigrationQPUtils").getOculusAccountDeprecatedUri();e!=null&&c("goURI")(e)}return(h||(h=b("Promise"))).resolve()}l(function(){t("VIEW",null)},[t]);e=q.contentText;var v=q.primaryAction,w=q.secondaryAction,x=q.titleText;return!v?null:j.jsxs(c("OCDSDialog.react"),{footer:j.jsx(c("OCDSDialogFooter.react"),{primaryButton:v&&v.titleText!=null&&j.jsx(c("OCGDPRInterstitialButton.react"),{buttonText:v.titleText.toLocaleUpperCase(),isDisabled:!i,isSecondary:!1,shouldDismiss:v.dismiss,url:v.url,onClick:u}),secondaryButton:w&&w.titleText!=null&&j.jsx(c("OCGDPRInterstitialButton.react"),{buttonText:w.titleText.toLocaleUpperCase(),isDisabled:!i,isSecondary:!0,shouldDismiss:w.dismiss,url:w.url,onClick:u})}),header:x!=null&&j.jsx(c("OCDSDialogHeader.react"),{title:c("translatedServerString")(x)}),isShown:f,children:[j.jsx(c("OCDSDialogBody.react"),{children:j.jsxs(c("OCDSText.react"),{color:"value",display:"block",type:"body2",children:[j.jsx(c("ServerHTML.react"),{blob:{__html:c("isTruthy")(e)?e:""},ref:function(a){if(a){a=d("ReactDOM_DEPRECATED").findDOMNode_DEPRECATED(a);if(a==null||a instanceof Text)return;Array.from(a.getElementsByTagName("a")).forEach(function(a){a.target="_blank"})}}}),j.jsx(c("OnVisible.react"),{onVisible:function(){return n(!0)},children:j.jsx("div",{})})]})}),j.jsx(c("OCDevUIModal.react"),{})]})}a.displayName=a.name+" [from "+f.id+"]";g["default"]=a}),98);
-----
ConsentFlowMultistepQPUtils",[],(function(a,b,c,d,e,f){"use strict";var g=Object.freeze({consent_flow_multistep_goto_step_1:"consent_flow_multistep_step_1",consent_flow_multistep_goto_step_2:"consent_flow_multistep_step_2",consent_flow_multistep_goto_step_3:"consent_flow_multistep_step_3",consent_flow_multistep_goto_step_4:"consent_flow_multistep_step_4",consent_flow_multistep_goto_step_5:"consent_flow_multistep_step_5",consent_flow_multistep_goto_step_6:"consent_flow_multistep_step_6",consent_flow_multistep_goto_step_7:"consent_flow_multistep_step_7",consent_flow_multistep_goto_step_8:"consent_flow_multistep_step_8",consent_flow_multistep_goto_step_9:"consent_flow_multistep_step_9",consent_flow_multistep_goto_step_10:"consent_flow_multistep_step_10",consent_flow_multistep_goto_step_11:"consent_flow_multistep_step_11",consent_flow_multistep_goto_step_12:"consent_flow_multistep_step_12",consent_flow_multistep_goto_step_13:"consent_flow_multistep_step_13",consent_flow_multistep_goto_step_14:"consent_flow_multistep_step_14",consent_flow_multistep_goto_step_15:"consent_flow_multistep_step_15"});function a(a){return g[a]!=null}function b(a){return g[a]}f.isValidQPConsentFlowMultistepAction=a;f.getQPConsentFlowMultistepTrigger=b}),66);
-----
OCFRLMigrateInterstitial.react",["ConsentFlowMultistepQPUtils","FrlMigrationQPUtils","OCDSDialog.react","OCDSDialogBody.react","OCDSDialogFooter.react","OCDSHeading.react","OCDSImage.react","OCDSText.react","OCDevUIModal.react","OCGDPRInterstitialButton.react","OCGDPRInterstitialMutation","OnVisible.react","asyncToGeneratorRuntime","goURI","react","translatedServerString"],(function(a,b,c,d,e,f,g){"use strict";var h,i=h||(h=d("react"));e=h;var j=e.useCallback,k=e.useEffect,l=e.useState,m={img:{borderTopStartRadius:"x1lq5wgf",borderTopEndRadius:"xgqcy7u",borderBottomEndRadius:"x30kzoy",borderBottomStartRadius:"x9jhf4c",$$css:!0},padTop16:{paddingTop:"xyamay9",$$css:!0}};function a(a){var e=l(!0),f=e[0],g=e[1];e=l(!1);var h=e[0],n=e[1],o=a.environment,p=a.nuxID,q=a.promotionData,r=a.promotionID,s=a.redirectUri,t=a.triggerName,u=j(function(a,b){d("OCGDPRInterstitialMutation").commit(o,{promotion_id:r,logging_data:q.loggingData,trigger_name:t,nux_id:p,event:{name:a,action:b}})},[o,r,q.loggingData,t,p]);function v(a,b){return w.apply(this,arguments)}function w(){w=b("asyncToGeneratorRuntime").asyncToGenerator(function*(b,e){u("ACTION",b);g(!1);if(e!=null)if(d("ConsentFlowMultistepQPUtils").isValidQPConsentFlowMultistepAction(e)){b=d("ConsentFlowMultistepQPUtils").getQPConsentFlowMultistepTrigger(e);b!=null&&a.signalTrigger(b)}else if(d("FrlMigrationQPUtils").isValidQPFrlMigrationAction(e)){b=s;e=null;var f=null,h=null;if(s!=null){var i=new URL(s);b=i.origin+i.pathname;e=i.searchParams.get("native_app_id");f=i.searchParams.get("source_app_id");h=i.searchParams.get("native_sso_etoken")}i=(yield d("FrlMigrationQPUtils").OCAccountFrlMigrationNonceRequest({redirect_uri:b,native_app_id:e,source_app_id:f,native_sso_etoken:h}));c("goURI")(i.redirect_uri.toString())}});return w.apply(this,arguments)}k(function(){u("VIEW",null)},[u]);e=q.contentText;var x=q.imageURI,y=q.primaryAction,z=q.secondaryAction,A=q.titleText;return!y?null:i.jsxs(c("OCDSDialog.react"),{footer:i.jsx(c("OCDSDialogFooter.react"),{primaryButton:y&&y.titleText!=null&&i.jsx(c("OCGDPRInterstitialButton.react"),{buttonText:y.titleText.toLocaleUpperCase(),dataTestId:"mux-interstitial-primary-button",isDisabled:!h,isSecondary:!1,shouldDismiss:y.dismiss,url:y.url,onClick:v}),secondaryButton:z&&z.titleText!=null&&i.jsx(c("OCGDPRInterstitialButton.react"),{buttonText:z.titleText.toLocaleUpperCase(),dataTestId:"mux-interstitial-secondary-button",isDisabled:!h,isSecondary:!0,shouldDismiss:z.dismiss,url:z.url,onClick:v})}),isShown:f,children:[i.jsxs(c("OCDSDialogBody.react"),{children:[x!=null&&i.jsx(c("OCDSImage.react"),{alt:"Migrate your account",maxWidth:{desktop:"100%",mobile:"100%"},src:{mobile:x},xstyle:m.img}),i.jsx(c("OCDSHeading.react"),{type:"heading4",xstyle:m.padTop16,children:c("translatedServerString")(A||"")}),i.jsxs(c("OCDSText.react"),{color:"value","data-testid":void 0,display:"block",type:"body2",xstyle:m.padTop16,children:[e,i.jsx(c("OnVisible.react"),{onVisible:function(){return n(!0)},children:i.jsx("div",{})})]})]}),i.jsx(c("OCDevUIModal.react"),{})]})}a.displayName=a.name+" [from "+f.id+"]";g["default"]=a}),98);
-----
OCGDPRInterstitialButton.react",["fbt","ConsentFlowMultistepQPUtils","FrlMigrationQPUtils","OCAuth","OCDSButton.react","OCErrorDialog.react","OCErrorUtil","OCGraphRequestHelper","URI","react"],(function(a,b,c,d,e,f,g,h){"use strict";var i,j,k=j||d("react");function a(a){var b=a.buttonText,e=a.dataTestId;e=a.isDisabled;var f=a.isSecondary,g=a.onClick,j=a.shouldDismiss,l=a.url;function m(a){a.preventDefault();if(l!=null&&!d("ConsentFlowMultistepQPUtils").isValidQPConsentFlowMultistepAction(l)&&!d("FrlMigrationQPUtils").isValidQPFrlMigrationAction(l)&&!d("FrlMigrationQPUtils").isValidOcAccountDeprecatedAction(l)){a=new(i||(i=c("URI")))(l);new(c("OCGraphRequestHelper"))().setEndpoint(a.getPath()).setMethod("POST").setData(a.addQueryData("access_token",c("OCAuth").getAccessToken()).getQueryData()).send()["catch"](function(a){d("OCErrorDialog.react").showError(h._("u51fau9519u4e86"),d("OCErrorUtil").parseError(a,!0))})}g&&j===!0&&g(f?"SECONDARY":"PRIMARY",l)}return k.jsx(c("OCDSButton.react"),{"data-testid":void 0,display:"block",isDisabled:e,label:b,type:f?"secondary":"primary",variant:f?"outline":void 0,onClick:m})}a.displayName=a.name+" [from "+f.id+"]";g["default"]=a}),226);
-----
OCGDPRInterstitial.react",["ConsentFlowMultistepQPUtils","FrlMigrationQPUtils","OCDSDialog.react","OCDSDialogBody.react","OCDSDialogFooter.react","OCDSDialogHeader.react","OCDSText.react","OCDevUIModal.react","OCGDPRInterstitialButton.react","OCGDPRInterstitialMutation","OnVisible.react","Promise","ReactDOMLegacy_DEPRECATED","ServerHTML.react","goURI","isTruthy","react","translatedServerString"],(function(a,b,c,d,e,f,g){"use strict";var h=d("react");e=d("react");var i=e.useCallback,j=e.useEffect,k=e.useState;function a(a){var e=k(!0),f=e[0],g=e[1];e=k(!1);var l=e[0],m=e[1],n=a.environment,o=a.nuxID,p=a.promotionData,q=a.promotionID,r=a.triggerName,s=i(function(a,b){d("OCGDPRInterstitialMutation").commit(n,{promotion_id:q,logging_data:p.loggingData,trigger_name:r,nux_id:o,event:{name:a,action:b}})},[n,q,p.loggingData,r,o]);function t(e,f){s("ACTION",e);g(!1);if(f!=null)if(d("ConsentFlowMultistepQPUtils").isValidQPConsentFlowMultistepAction(f)){e=d("ConsentFlowMultistepQPUtils").getQPConsentFlowMultistepTrigger(f);e!=null&&a.signalTrigger(e)}else if(d("FrlMigrationQPUtils").isValidOcAccountDeprecatedAction(f)){e=d("FrlMigrationQPUtils").getOculusAccountDeprecatedUri();e!=null&&c("goURI")(e)}return b("Promise").resolve()}j(function(){s("VIEW",null)},[s]);e=p.contentText;var u=p.primaryAction,v=p.secondaryAction,w=p.titleText;return!u?null:h.jsxs(c("OCDSDialog.react"),{footer:h.jsx(c("OCDSDialogFooter.react"),{primaryButton:u&&u.titleText!=null&&h.jsx(c("OCGDPRInterstitialButton.react"),{buttonText:u.titleText.toLocaleUpperCase(),isDisabled:!l,isSecondary:!1,shouldDismiss:u.dismiss,url:u.url,onClick:t}),secondaryButton:v&&v.titleText!=null&&h.jsx(c("OCGDPRInterstitialButton.react"),{buttonText:v.titleText.toLocaleUpperCase(),isDisabled:!l,isSecondary:!0,shouldDismiss:v.dismiss,url:v.url,onClick:t})}),header:w!=null&&h.jsx(c("OCDSDialogHeader.react"),{title:c("translatedServerString")(w)}),isShown:f,children:[h.jsx(c("OCDSDialogBody.react"),{children:h.jsxs(c("OCDSText.react"),{color:"value",display:"block",type:"body2",children:[h.jsx(c("ServerHTML.react"),{blob:{__html:c("isTruthy")(e)?e:""},ref:function(a){if(a){a=d("ReactDOMLegacy_DEPRECATED").findDOMNode(a);if(a==null||a instanceof Text)return;Array.from(a.getElementsByTagName("a")).forEach(function(a){a.target="_blank"})}}}),h.jsx(c("OnVisible.react"),{onVisible:function(){return m(!0)},children:h.jsx("div",{})})]})}),h.jsx(c("OCDevUIModal.react"),{})]})}a.displayName=a.name+" [from "+f.id+"]";g["default"]=a}),98);
-----
ConsentFlowMultistepQPUtils",[],(function(a,b,c,d,e,f){"use strict";var g=Object.freeze({consent_flow_multistep_goto_step_1:"consent_flow_multistep_step_1",consent_flow_multistep_goto_step_2:"consent_flow_multistep_step_2",consent_flow_multistep_goto_step_3:"consent_flow_multistep_step_3",consent_flow_multistep_goto_step_4:"consent_flow_multistep_step_4",consent_flow_multistep_goto_step_5:"consent_flow_multistep_step_5",consent_flow_multistep_goto_step_6:"consent_flow_multistep_step_6",consent_flow_multistep_goto_step_7:"consent_flow_multistep_step_7",consent_flow_multistep_goto_step_8:"consent_flow_multistep_step_8",consent_flow_multistep_goto_step_9:"consent_flow_multistep_step_9",consent_flow_multistep_goto_step_10:"consent_flow_multistep_step_10",consent_flow_multistep_goto_step_11:"consent_flow_multistep_step_11",consent_flow_multistep_goto_step_12:"consent_flow_multistep_step_12",consent_flow_multistep_goto_step_13:"consent_flow_multistep_step_13",consent_flow_multistep_goto_step_14:"consent_flow_multistep_step_14",consent_flow_multistep_goto_step_15:"consent_flow_multistep_step_15"});function a(a){return g[a]!=null}function b(a){return g[a]}f.isValidQPConsentFlowMultistepAction=a;f.getQPConsentFlowMultistepTrigger=b}),66);
-----
OCFRLMigrateInterstitial.react",["ConsentFlowMultistepQPUtils","FrlMigrationQPUtils","OCDSDialog.react","OCDSDialogBody.react","OCDSDialogFooter.react","OCDSHeading.react","OCDSImage.react","OCDSText.react","OCDevUIModal.react","OCGDPRInterstitialButton.react","OCGDPRInterstitialMutation","OnVisible.react","goURI","react","regeneratorRuntime","translatedServerString"],(function(a,b,c,d,e,f,g){"use strict";var h=d("react");e=d("react");var i=e.useCallback,j=e.useEffect,k=e.useState,l={img:{borderTopStartRadius:"x1lq5wgf",borderTopEndRadius:"xgqcy7u",borderBottomEndRadius:"x30kzoy",borderBottomStartRadius:"x9jhf4c",$$css:!0},padTop16:{paddingTop:"xyamay9",$$css:!0}};function a(a){var e=k(!0),f=e[0],g=e[1];e=k(!1);var m=e[0],n=e[1],o=a.environment,p=a.nuxID,q=a.promotionData,r=a.promotionID,s=a.redirectUri,t=a.triggerName,u=i(function(a,b){d("OCGDPRInterstitialMutation").commit(o,{promotion_id:r,logging_data:q.loggingData,trigger_name:t,nux_id:p,event:{name:a,action:b}})},[o,r,q.loggingData,t,p]);function v(e,f){var h,i,j,k,l,m;return b("regeneratorRuntime").async(function(n){while(1)switch(n.prev=n.next){case 0:u("ACTION",e);g(!1);if(!(f!=null)){n.next=17;break}if(!d("ConsentFlowMultistepQPUtils").isValidQPConsentFlowMultistepAction(f)){n.next=8;break}h=d("ConsentFlowMultistepQPUtils").getQPConsentFlowMultistepTrigger(f);h!=null&&a.signalTrigger(h);n.next=17;break;case 8:if(!d("FrlMigrationQPUtils").isValidQPFrlMigrationAction(f)){n.next=17;break}i=s;j=null;k=null;s!=null&&(l=new URL(s),i=l.origin+l.pathname,j=l.searchParams.get("native_app_id"),k=l.searchParams.get("native_sso_etoken"));n.next=15;return b("regeneratorRuntime").awrap(d("FrlMigrationQPUtils").OCAccountFrlMigrationNonceRequest({redirect_uri:i,native_app_id:j,native_sso_etoken:k}));case 15:m=n.sent,c("goURI")(m.redirect_uri.toString());case 17:case"end":return n.stop()}},null,this)}j(function(){u("VIEW",null)},[u]);e=q.contentText;var w=q.imageURI,x=q.primaryAction,y=q.secondaryAction,z=q.titleText;return!x?null:h.jsxs(c("OCDSDialog.react"),{footer:h.jsx(c("OCDSDialogFooter.react"),{primaryButton:x&&x.titleText!=null&&h.jsx(c("OCGDPRInterstitialButton.react"),{buttonText:x.titleText.toLocaleUpperCase(),dataTestId:"mux-interstitial-primary-button",isDisabled:!m,isSecondary:!1,shouldDismiss:x.dismiss,url:x.url,onClick:v}),secondaryButton:y&&y.titleText!=null&&h.jsx(c("OCGDPRInterstitialButton.react"),{buttonText:y.titleText.toLocaleUpperCase(),dataTestId:"mux-interstitial-secondary-button",isDisabled:!m,isSecondary:!0,shouldDismiss:y.dismiss,url:y.url,onClick:v})}),isShown:f,children:[h.jsxs(c("OCDSDialogBody.react"),{children:[w!=null&&h.jsx(c("OCDSImage.react"),{alt:"Migrate your account",maxWidth:{desktop:"100%",mobile:"100%"},src:{mobile:w},xstyle:l.img}),h.jsx(c("OCDSHeading.react"),{type:"heading4",xstyle:l.padTop16,children:c("translatedServerString")(z||"")}),h.jsxs(c("OCDSText.react"),{color:"value","data-testid":void 0,display:"block",type:"body2",xstyle:l.padTop16,children:[e,h.jsx(c("OnVisible.react"),{onVisible:function(){return n(!0)},children:h.jsx("div",{})})]})]}),h.jsx(c("OCDevUIModal.react"),{})]})}a.displayName=a.name+" [from "+f.id+"]";g["default"]=a}),98);
-----
OCGDPRInterstitialButton.react",["fbt","ConsentFlowMultistepQPUtils","FrlMigrationQPUtils","OCAuth","OCDSButton.react","OCErrorDialog.react","OCErrorUtil","OCGraphRequestHelper","URI","react"],(function(a,b,c,d,e,f,g,h){"use strict";var i=d("react");function a(a){var b=a.buttonText,e=a.dataTestId;e=a.isDisabled;var f=a.isSecondary,g=a.onClick,j=a.shouldDismiss,k=a.url;function l(a){a.preventDefault();if(k!=null&&!d("ConsentFlowMultistepQPUtils").isValidQPConsentFlowMultistepAction(k)&&!d("FrlMigrationQPUtils").isValidQPFrlMigrationAction(k)&&!d("FrlMigrationQPUtils").isValidOcAccountDeprecatedAction(k)){a=new(c("URI"))(k);new(c("OCGraphRequestHelper"))().setEndpoint(a.getPath()).setMethod("POST").setData(a.addQueryData("access_token",c("OCAuth").getAccessToken()).getQueryData()).send()["catch"](function(a){d("OCErrorDialog.react").showError(h._("u51fau9519u4e86"),d("OCErrorUtil").parseError(a,!0))})}g&&j===!0&&g(f?"SECONDARY":"PRIMARY",k)}return i.jsx(c("OCDSButton.react"),{"data-testid":void 0,display:"block",isDisabled:e,label:b,type:f?"secondary":"primary",variant:f?"outline":void 0,onClick:l})}a.displayName=a.name+" [from "+f.id+"]";g["default"]=a}),98);
-----
-----
ConsentFlowMultistepQPUtils",[],(function(a,b,c,d,e,f){"use strict";var g=Object.freeze({consent_flow_multistep_goto_step_1:"consent_flow_multistep_step_1",consent_flow_multistep_goto_step_2:"consent_flow_multistep_step_2",consent_flow_multistep_goto_step_3:"consent_flow_multistep_step_3",consent_flow_multistep_goto_step_4:"consent_flow_multistep_step_4",consent_flow_multistep_goto_step_5:"consent_flow_multistep_step_5",consent_flow_multistep_goto_step_6:"consent_flow_multistep_step_6",consent_flow_multistep_goto_step_7:"consent_flow_multistep_step_7",consent_flow_multistep_goto_step_8:"consent_flow_multistep_step_8",consent_flow_multistep_goto_step_9:"consent_flow_multistep_step_9",consent_flow_multistep_goto_step_10:"consent_flow_multistep_step_10",consent_flow_multistep_goto_step_11:"consent_flow_multistep_step_11",consent_flow_multistep_goto_step_12:"consent_flow_multistep_step_12",consent_flow_multistep_goto_step_13:"consent_flow_multistep_step_13",consent_flow_multistep_goto_step_14:"consent_flow_multistep_step_14",consent_flow_multistep_goto_step_15:"consent_flow_multistep_step_15"});function a(a){return g[a]!=null}function b(a){return g[a]}f.isValidQPConsentFlowMultistepAction=a;f.getQPConsentFlowMultistepTrigger=b}),66);
-----
OCFRLMigrateInterstitial.react",["ConsentFlowMultistepQPUtils","FrlMigrationQPUtils","OCDSDialog.react","OCDSDialogBody.react","OCDSDialogFooter.react","OCDSHeading.react","OCDSImage.react","OCDSText.react","OCDevUIModal.react","OCGDPRInterstitialButton.react","OCGDPRInterstitialMutation","OnVisible.react","asyncToGeneratorRuntime","goURI","react","translatedServerString"],(function(a,b,c,d,e,f,g){"use strict";var h,i=h||(h=d("react"));e=h;var j=e.useCallback,k=e.useEffect,l=e.useState,m={img:{borderTopStartRadius:"x1lq5wgf",borderTopEndRadius:"xgqcy7u",borderBottomEndRadius:"x30kzoy",borderBottomStartRadius:"x9jhf4c",$$css:!0},padTop16:{paddingTop:"xyamay9",$$css:!0}};function a(a){var e=l(!0),f=e[0],g=e[1];e=l(!1);var h=e[0],n=e[1],o=a.environment,p=a.nuxID,q=a.promotionData,r=a.promotionID,s=a.redirectUri,t=a.triggerName,u=j(function(a,b){d("OCGDPRInterstitialMutation").commit(o,{promotion_id:r,logging_data:q.loggingData,trigger_name:t,nux_id:p,event:{name:a,action:b}})},[o,r,q.loggingData,t,p]);function v(a,b){return w.apply(this,arguments)}function w(){w=b("asyncToGeneratorRuntime").asyncToGenerator(function*(b,e){u("ACTION",b);g(!1);if(e!=null)if(d("ConsentFlowMultistepQPUtils").isValidQPConsentFlowMultistepAction(e)){b=d("ConsentFlowMultistepQPUtils").getQPConsentFlowMultistepTrigger(e);b!=null&&a.signalTrigger(b)}else if(d("FrlMigrationQPUtils").isValidQPFrlMigrationAction(e)){b=s;e=null;var f=null,h=null;if(s!=null){var i=new URL(s);b=i.origin+i.pathname;e=i.searchParams.get("native_app_id");f=i.searchParams.get("source_app_id");h=i.searchParams.get("native_sso_etoken")}i=(yield d("FrlMigrationQPUtils").OCAccountFrlMigrationNonceRequest({redirect_uri:b,native_app_id:e,source_app_id:f,native_sso_etoken:h}));c("goURI")(i.redirect_uri.toString())}});return w.apply(this,arguments)}k(function(){u("VIEW",null)},[u]);e=q.contentText;var x=q.imageURI,y=q.primaryAction,z=q.secondaryAction,A=q.titleText;return!y?null:i.jsxs(c("OCDSDialog.react"),{footer:i.jsx(c("OCDSDialogFooter.react"),{primaryButton:y&&y.titleText!=null&&i.jsx(c("OCGDPRInterstitialButton.react"),{buttonText:y.titleText.toLocaleUpperCase(),dataTestId:"mux-interstitial-primary-button",isDisabled:!h,isSecondary:!1,shouldDismiss:y.dismiss,url:y.url,onClick:v}),secondaryButton:z&&z.titleText!=null&&i.jsx(c("OCGDPRInterstitialButton.react"),{buttonText:z.titleText.toLocaleUpperCase(),dataTestId:"mux-interstitial-secondary-button",isDisabled:!h,isSecondary:!0,shouldDismiss:z.dismiss,url:z.url,onClick:v})}),isShown:f,children:[i.jsxs(c("OCDSDialogBody.react"),{children:[x!=null&&i.jsx(c("OCDSImage.react"),{alt:"Migrate your account",maxWidth:{desktop:"100%",mobile:"100%"},src:{mobile:x},xstyle:m.img}),i.jsx(c("OCDSHeading.react"),{type:"heading4",xstyle:m.padTop16,children:c("translatedServerString")(A||"")}),i.jsxs(c("OCDSText.react"),{color:"value","data-testid":void 0,display:"block",type:"body2",xstyle:m.padTop16,children:[e,i.jsx(c("OnVisible.react"),{onVisible:function(){return n(!0)},children:i.jsx("div",{})})]})]}),i.jsx(c("OCDevUIModal.react"),{})]})}a.displayName=a.name+" [from "+f.id+"]";g["default"]=a}),98);
-----
OCGDPRInterstitialButton.react",["fbt","ConsentFlowMultistepQPUtils","FrlMigrationQPUtils","OCAuth","OCDSButton.react","OCErrorDialog.react","OCErrorUtil","OCGraphRequestHelper","URI","react"],(function(a,b,c,d,e,f,g,h){"use strict";var i,j,k=j||d("react");function a(a){var b=a.buttonText,e=a.dataTestId;e=a.isDisabled;var f=a.isSecondary,g=a.onClick,j=a.shouldDismiss,l=a.url;function m(a){a.preventDefault();if(l!=null&&!d("ConsentFlowMultistepQPUtils").isValidQPConsentFlowMultistepAction(l)&&!d("FrlMigrationQPUtils").isValidQPFrlMigrationAction(l)&&!d("FrlMigrationQPUtils").isValidOcAccountDeprecatedAction(l)){a=new(i||(i=c("URI")))(l);new(c("OCGraphRequestHelper"))().setEndpoint(a.getPath()).setMethod("POST").setData(a.addQueryData("access_token",c("OCAuth").getAccessToken()).getQueryData()).send()["catch"](function(a){d("OCErrorDialog.react").showError(h._("u51fau9519u4e86"),d("OCErrorUtil").parseError(a,!0))})}g&&j===!0&&g(f?"SECONDARY":"PRIMARY",l)}return k.jsx(c("OCDSButton.react"),{"data-testid":void 0,display:"block",isDisabled:e,label:b,type:f?"secondary":"primary",variant:f?"outline":void 0,onClick:m})}a.displayName=a.name+" [from "+f.id+"]";g["default"]=a}),226);
-----
OCGDPRInterstitial.react",["ConsentFlowMultistepQPUtils","FrlMigrationQPUtils","OCDSDialog.react","OCDSDialogBody.react","OCDSDialogFooter.react","OCDSDialogHeader.react","OCDSText.react","OCDevUIModal.react","OCGDPRInterstitialButton.react","OCGDPRInterstitialMutation","OnVisible.react","Promise","ReactDOMLegacy_DEPRECATED","ServerHTML.react","goURI","isTruthy","react","translatedServerString"],(function(a,b,c,d,e,f,g){"use strict";var h=d("react");e=d("react");var i=e.useCallback,j=e.useEffect,k=e.useState;function a(a){var e=k(!0),f=e[0],g=e[1];e=k(!1);var l=e[0],m=e[1],n=a.environment,o=a.nuxID,p=a.promotionData,q=a.promotionID,r=a.triggerName,s=i(function(a,b){d("OCGDPRInterstitialMutation").commit(n,{promotion_id:q,logging_data:p.loggingData,trigger_name:r,nux_id:o,event:{name:a,action:b}})},[n,q,p.loggingData,r,o]);function t(e,f){s("ACTION",e);g(!1);if(f!=null)if(d("ConsentFlowMultistepQPUtils").isValidQPConsentFlowMultistepAction(f)){e=d("ConsentFlowMultistepQPUtils").getQPConsentFlowMultistepTrigger(f);e!=null&&a.signalTrigger(e)}else if(d("FrlMigrationQPUtils").isValidOcAccountDeprecatedAction(f)){e=d("FrlMigrationQPUtils").getOculusAccountDeprecatedUri();e!=null&&c("goURI")(e)}return b("Promise").resolve()}j(function(){s("VIEW",null)},[s]);e=p.contentText;var u=p.primaryAction,v=p.secondaryAction,w=p.titleText;return!u?null:h.jsxs(c("OCDSDialog.react"),{footer:h.jsx(c("OCDSDialogFooter.react"),{primaryButton:u&&u.titleText!=null&&h.jsx(c("OCGDPRInterstitialButton.react"),{buttonText:u.titleText.toLocaleUpperCase(),isDisabled:!l,isSecondary:!1,shouldDismiss:u.dismiss,url:u.url,onClick:t}),secondaryButton:v&&v.titleText!=null&&h.jsx(c("OCGDPRInterstitialButton.react"),{buttonText:v.titleText.toLocaleUpperCase(),isDisabled:!l,isSecondary:!0,shouldDismiss:v.dismiss,url:v.url,onClick:t})}),header:w!=null&&h.jsx(c("OCDSDialogHeader.react"),{title:c("translatedServerString")(w)}),isShown:f,children:[h.jsx(c("OCDSDialogBody.react"),{children:h.jsxs(c("OCDSText.react"),{color:"value",display:"block",type:"body2",children:[h.jsx(c("ServerHTML.react"),{blob:{__html:c("isTruthy")(e)?e:""},ref:function(a){if(a){a=d("ReactDOMLegacy_DEPRECATED").findDOMNode(a);if(a==null||a instanceof Text)return;Array.from(a.getElementsByTagName("a")).forEach(function(a){a.target="_blank"})}}}),h.jsx(c("OnVisible.react"),{onVisible:function(){return m(!0)},children:h.jsx("div",{})})]})}),h.jsx(c("OCDevUIModal.react"),{})]})}a.displayName=a.name+" [from "+f.id+"]";g["default"]=a}),98);
-----
ConsentFlowMultistepQPUtils",[],(function(a,b,c,d,e,f){"use strict";var g=Object.freeze({consent_flow_multistep_goto_step_1:"consent_flow_multistep_step_1",consent_flow_multistep_goto_step_2:"consent_flow_multistep_step_2",consent_flow_multistep_goto_step_3:"consent_flow_multistep_step_3",consent_flow_multistep_goto_step_4:"consent_flow_multistep_step_4",consent_flow_multistep_goto_step_5:"consent_flow_multistep_step_5",consent_flow_multistep_goto_step_6:"consent_flow_multistep_step_6",consent_flow_multistep_goto_step_7:"consent_flow_multistep_step_7",consent_flow_multistep_goto_step_8:"consent_flow_multistep_step_8",consent_flow_multistep_goto_step_9:"consent_flow_multistep_step_9",consent_flow_multistep_goto_step_10:"consent_flow_multistep_step_10",consent_flow_multistep_goto_step_11:"consent_flow_multistep_step_11",consent_flow_multistep_goto_step_12:"consent_flow_multistep_step_12",consent_flow_multistep_goto_step_13:"consent_flow_multistep_step_13",consent_flow_multistep_goto_step_14:"consent_flow_multistep_step_14",consent_flow_multistep_goto_step_15:"consent_flow_multistep_step_15"});function a(a){return g[a]!=null}function b(a){return g[a]}f.isValidQPConsentFlowMultistepAction=a;f.getQPConsentFlowMultistepTrigger=b}),66);
-----
OCFRLMigrateInterstitial.react",["ConsentFlowMultistepQPUtils","FrlMigrationQPUtils","OCDSDialog.react","OCDSDialogBody.react","OCDSDialogFooter.react","OCDSHeading.react","OCDSImage.react","OCDSText.react","OCDevUIModal.react","OCGDPRInterstitialButton.react","OCGDPRInterstitialMutation","OnVisible.react","goURI","react","regeneratorRuntime","translatedServerString"],(function(a,b,c,d,e,f,g){"use strict";var h=d("react");e=d("react");var i=e.useCallback,j=e.useEffect,k=e.useState,l={img:{borderTopStartRadius:"x1lq5wgf",borderTopEndRadius:"xgqcy7u",borderBottomEndRadius:"x30kzoy",borderBottomStartRadius:"x9jhf4c",$$css:!0},padTop16:{paddingTop:"xyamay9",$$css:!0}};function a(a){var e=k(!0),f=e[0],g=e[1];e=k(!1);var m=e[0],n=e[1],o=a.environment,p=a.nuxID,q=a.promotionData,r=a.promotionID,s=a.redirectUri,t=a.triggerName,u=i(function(a,b){d("OCGDPRInterstitialMutation").commit(o,{promotion_id:r,logging_data:q.loggingData,trigger_name:t,nux_id:p,event:{name:a,action:b}})},[o,r,q.loggingData,t,p]);function v(e,f){var h,i,j,k,l,m;return b("regeneratorRuntime").async(function(n){while(1)switch(n.prev=n.next){case 0:u("ACTION",e);g(!1);if(!(f!=null)){n.next=17;break}if(!d("ConsentFlowMultistepQPUtils").isValidQPConsentFlowMultistepAction(f)){n.next=8;break}h=d("ConsentFlowMultistepQPUtils").getQPConsentFlowMultistepTrigger(f);h!=null&&a.signalTrigger(h);n.next=17;break;case 8:if(!d("FrlMigrationQPUtils").isValidQPFrlMigrationAction(f)){n.next=17;break}i=s;j=null;k=null;s!=null&&(l=new URL(s),i=l.origin+l.pathname,j=l.searchParams.get("native_app_id"),k=l.searchParams.get("native_sso_etoken"));n.next=15;return b("regeneratorRuntime").awrap(d("FrlMigrationQPUtils").OCAccountFrlMigrationNonceRequest({redirect_uri:i,native_app_id:j,native_sso_etoken:k}));case 15:m=n.sent,c("goURI")(m.redirect_uri.toString());case 17:case"end":return n.stop()}},null,this)}j(function(){u("VIEW",null)},[u]);e=q.contentText;var w=q.imageURI,x=q.primaryAction,y=q.secondaryAction,z=q.titleText;return!x?null:h.jsxs(c("OCDSDialog.react"),{footer:h.jsx(c("OCDSDialogFooter.react"),{primaryButton:x&&x.titleText!=null&&h.jsx(c("OCGDPRInterstitialButton.react"),{buttonText:x.titleText.toLocaleUpperCase(),dataTestId:"mux-interstitial-primary-button",isDisabled:!m,isSecondary:!1,shouldDismiss:x.dismiss,url:x.url,onClick:v}),secondaryButton:y&&y.titleText!=null&&h.jsx(c("OCGDPRInterstitialButton.react"),{buttonText:y.titleText.toLocaleUpperCase(),dataTestId:"mux-interstitial-secondary-button",isDisabled:!m,isSecondary:!0,shouldDismiss:y.dismiss,url:y.url,onClick:v})}),isShown:f,children:[h.jsxs(c("OCDSDialogBody.react"),{children:[w!=null&&h.jsx(c("OCDSImage.react"),{alt:"Migrate your account",maxWidth:{desktop:"100%",mobile:"100%"},src:{mobile:w},xstyle:l.img}),h.jsx(c("OCDSHeading.react"),{type:"heading4",xstyle:l.padTop16,children:c("translatedServerString")(z||"")}),h.jsxs(c("OCDSText.react"),{color:"value","data-testid":void 0,display:"block",type:"body2",xstyle:l.padTop16,children:[e,h.jsx(c("OnVisible.react"),{onVisible:function(){return n(!0)},children:h.jsx("div",{})})]})]}),h.jsx(c("OCDevUIModal.react"),{})]})}a.displayName=a.name+" [from "+f.id+"]";g["default"]=a}),98);
-----
OCGDPRInterstitialButton.react",["fbt","ConsentFlowMultistepQPUtils","FrlMigrationQPUtils","OCAuth","OCDSButton.react","OCErrorDialog.react","OCErrorUtil","OCGraphRequestHelper","URI","react"],(function(a,b,c,d,e,f,g,h){"use strict";var i=d("react");function a(a){var b=a.buttonText,e=a.dataTestId;e=a.isDisabled;var f=a.isSecondary,g=a.onClick,j=a.shouldDismiss,k=a.url;function l(a){a.preventDefault();if(k!=null&&!d("ConsentFlowMultistepQPUtils").isValidQPConsentFlowMultistepAction(k)&&!d("FrlMigrationQPUtils").isValidQPFrlMigrationAction(k)&&!d("FrlMigrationQPUtils").isValidOcAccountDeprecatedAction(k)){a=new(c("URI"))(k);new(c("OCGraphRequestHelper"))().setEndpoint(a.getPath()).setMethod("POST").setData(a.addQueryData("access_token",c("OCAuth").getAccessToken()).getQueryData()).send()["catch"](function(a){d("OCErrorDialog.react").showError(h._("u51fau9519u4e86"),d("OCErrorUtil").parseError(a,!0))})}g&&j===!0&&g(f?"SECONDARY":"PRIMARY",k)}return i.jsx(c("OCDSButton.react"),{"data-testid":void 0,display:"block",isDisabled:e,label:b,type:f?"secondary":"primary",variant:f?"outline":void 0,onClick:l})}a.displayName=a.name+" [from "+f.id+"]";g["default"]=a}),98);
-----