PageSourceSearch

https://www.pof.com/dist/3.18.0-b10700/en/scenes/MyAccount.9f4ba802468e4a4245bf.bundle.js

js pof.com collected 2026-10-01 10:43:34 UTC 85,632 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunkp2webapp=self.webpackChunkp2webapp||[]).push([[6346],{26421:function(e,t,n){var o=n(24994),a=n(73738);Object.defineProperty(t,"__esModule",{value:!0}),t["default"]=void 0;var r,i=o(n(85715)),l=o(n(20166)),u=o(n(73152)),d=o(n(53714)),s=o(n(66292)),c=n(614),f=function(e,t){if("function"==typeof WeakMap)var n=new WeakMap,o=new WeakMap;return function(e,t){if(!t&&e&&e.__esModule)return e;var r,i,l={__proto__:null,"default":e};if(null===e||"object"!=a(e)&&"function"!=typeof e)return l;if(r=t?o:n){if(r.has(e))return r.get(e);r.set(e,l)}for(var u in e)"default"!==u&&{}.hasOwnProperty.call(e,u)&&((i=(r=Object.defineProperty)&&Object.getOwnPropertyDescriptor(e,u))&&(i.get||i.set)?r(l,u,i):l[u]=e[u]);return l}(e,t)}(n(2753));var p=(0,c.styled)("div",{shouldForwardProp:function(e){return"isMobile"!==e&&"themeName"!==e}})(r||(r=(0,l["default"])(["\n\tdisplay: ",";\n\talign-items: ",";\n\tcursor: pointer;\n"])),function(e){return e.isMobile?"block":"flex"},function(e){return e.isMobile?undefined:"center"});t["default"]=function(e){var t=e.id,n=e.activateButtonCopy,o=e.isButtonFullWidth,a=e.isButtonHidden,r=e.describedById,l=e.isLightningIconVariant,m=void 0!==l&&l,g=e.disabled,P=void 0!==g&&g,y=e.isHighlightActive,T=e.themeName,h=void 0===T?c.ColorTheme.light:T,C=e.iconColor,v=e.iconSize,E=e.buttonSize,b=void 0===E?"large":E,_=e.buttonVariant,I=void 0===_?"filled":_,S=e.getConsumableLinkCta,k=e.getConsumableLinkFid,M=e.isWithoutConfirmation,A=e.redirectPath,x=e.defaultConsumptionCount,O=e.onClick,D=e.onBoostActivated,N=e.onBoostError,w=(0,f.useState)(!1),L=(0,i["default"])(w,2),B=L[0],U=L[1],F=(0,s["default"])(function(e){return{isMobile:e.device.isMobile}}).isMobile,R=(0,d["default"])({disabled:P||B,getConsumableLinkCta:S,getConsumableLinkFid:k,isWithoutConfirmation:M,redirectPath:A,defaultConsumptionCount:x,onClick:O,setIsDuringBoostActivation:U,onBoostActivated:D,onBoostError:N}),G=R.handleBoostActivation,j=R.onBoostConfirmClick;return f["default"].createElement(f["default"].Fragment,null,!a&&(m?f["default"].createElement(p,{themeName:h,id:t,onClick:function(){return G()},isMobile:F,role:"button","aria-label":"Boost",tabIndex:0},f["default"].createElement(c.LightningIcon,{isFilled:y,fillToken:c.ColorToken.topPrimary320,themeName:h,colorToken:C,size:v,alt:"Boost","aria-hidden":!0}),F?null:f["default"].createElement(c.Text,{themeName:h,colorToken:C,textStyle:c.FontToken.bodyMediumBold,tag:"span"},y?"Boosting...":n)):f["default"].createElement(c.Button,{id:t,onClick:function(){return G()},themeName:h,fullWidth:o,describedById:r,isLoading:B,size:b,variant:I},n)),f["default"].createElement(u["default"],{onConfirmButtonClick:j}))}},30176:function(e,t,n){var o=n(24994);Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"BoostButton",{enumerable:!0,get:function(){return a["default"]}});var a=o(n(26421))},31669:function(e,t,n){var o=n(24994);Object.defineProperty(t,"__esModule",{value:!0}),t["default"]=void 0;var a=n(60850),r=n(87372),i=n(614),l=o(n(2753)),u=n(28895),d=n(19770);t["default"]=function(e){var t=e.onConfirmButtonClick,n=e.onDismiss,o=(0,a.useShallowEqualSelector)(function(e){return{isBoostConfirmDialogDisplayed:e.highlight.isBoostConfirmDialogDisplayed}}).isBoostConfirmDialogDisplayed,s=(0,a.useAppDispatch)(),c=(0,u.bindActionCreators)({setBoostConfirmDialogDisplayed:r.actionCreators.setBoostConfirmDialogDisplayed},s).setBoostConfirmDialogDisplayed,f=function(){c(!1)},p={uniqueDialogName:"boost-confirm",id:"confirm-boost-dialog",open:o,closeDialog:f},m=(0,a.useGetThemeVariant)().appTheme;return l["default"].createElement(i.Dialog,Object.assign({},p,{themeName:m,height:"75vh",width:"90%",header:l["default"].createElement(d.StyledContainer,null,l["default"].createElement(d.ScaledIcon,{themeName:m,id:"boost-dialog-icon"})),title:l["default"].createElement(d.StyledContainer,null,"Boost now?"),body:l["default"].createElement(d.StyledContainer,null,"Show that pretty face of yours and get up to 10x more views."),closeButton:!1,buttons:l["default"].createElement(l["default"].Fragment,null,l["default"].createElement(d.StyledContainer,{center:!0},l["default"].createElement(i.Button,{fullWidth:!0,themeName:m,variant:"filled",key:"confirm-boost-button-1",onClick:function(){t(),f()},id:"activate-boost-button",size:"large"},"Activate")),l["default"].createElement(d.StyledContainer,{center:!0},l["default"].createElement(i.Button,{fullWidth:!0,themeName:m,key:"confirm-boost-button-2",variant:"text",onClick:function(){n&&n(),f()},id:"cancel-boost-button",size:"large"},"Cancel")))}))}},73152:function(e,t,n){var o=n(24994);
1Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return a["default"]}});var a=o(n(31669))},51477:function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.getStatus=t.getCounterString=t.getBoostVariantByMemberLevel=t.getBoostVariantByColorTheme=t.convertSecondsToCountdown=void 0;var o=n(16192),a=n(614),r=n(91738),i=t.getCounterString=function(e){var t=e.minute,n=e.second;return"%m:%s".replace("%m",t.toString().padStart(2,"0")).replace("%s",n.toString().padStart(2,"0"))};t.convertSecondsToCountdown=function(e){var t=(0,o.convertSecondsToTime)(e,!1),n=t.minute,a=t.second;return i({minute:n,second:a})},t.getStatus=function(e,t,n){return e?a.PopularityStatus.Active:t?a.PopularityStatus.Finished:n},t.getBoostVariantByColorTheme=function(e){switch(e){case a.ColorTheme.light:return"basic";case a.ColorTheme.lightPremium:return"premium";case a.ColorTheme.lightPrestige:return"prestige";default:return"classic"}},t.getBoostVariantByMemberLevel=function(e){switch(e){case r.PackageType.PlatinumfishMembership:return"prestige";case r.PackageType.Goldfish:return"premium";default:return"basic"}}},9051:function(e,t,n){var o=n(24994),a=n(73738);Object.defineProperty(t,"__esModule",{value:!0}),t["default"]=void 0;var r=o(n(83724)),i=n(614),l=n(91738),u=function(e,t){if("function"==typeof WeakMap)var n=new WeakMap,o=new WeakMap;return function(e,t){if(!t&&e&&e.__esModule)return e;var r,i,l={__proto__:null,"default":e};if(null===e||"object"!=a(e)&&"function"!=typeof e)return l;if(r=t?o:n){if(r.has(e))return r.get(e);r.set(e,l)}for(var u in e)"default"!==u&&{}.hasOwnProperty.call(e,u)&&((i=(r=Object.defineProperty)&&Object.getOwnPropertyDescriptor(e,u))&&(i.get||i.set)?r(l,u,i):l[u]=e[u]);return l}(e,t)}(n(2753));var d=(0,u.forwardRef)(function(e,t){var n=e.id,o=e.className,a=e.themeName,d=void 0===a?i.ColorTheme.light:a,s=e.children,c=e.params,f=e.size,p=void 0===f?"large":f,m=e.variant,g=void 0===m?"filled":m,P=e.fullWidth,y=void 0===P||P,T=e.onClick,h=(0,r["default"])().showPaymentOverlayPanel,C=null==c?void 0:c.cta,v=(null==c?void 0:c.fid)||(null==c?void 0:c.f)||(null==c?void 0:c.from);return u["default"].createElement(i.Button,{id:n,ref:t,className:o,themeName:d,size:p,variant:g,fullWidth:y,onClick:function(){h(l.PackageType.Subs,C,v),T&&T()}},s)});t["default"]=d},86405:function(e,t,n){var o=n(24994);Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return a["default"]}});var a=o(n(9051))},69293:function(e,t,n){var o=n(24994);Object.defineProperty(t,"__esModule",{value:!0}),t["default"]=void 0;var a=o(n(47600)),r=n(16192),i=n(614),l=o(n(2753)),u=n(81760);t["default"]=function(e){var t=e.isLoading,n=e.credits,o=e.heading,d=e.icon,s=e.onClick,c=e.themeName,f=void 0===c?i.ColorTheme.light:c,p=e.backgroundColorToken,m=void 0===p?i.ColorToken.secondaryLow:p,g=e.colorToken,P=void 0===g?i.ColorToken.topPrimary320:g;return l["default"].createElement(u.ConsumableCTAMenuItemContainer,{role:"button",tabIndex:0,onClick:s,onKeyDown:(0,r.handleAccessibleKeyDown)(s),themeName:f,backgroundColorToken:m},t?l["default"].createElement(u.ProgressContainer,null,l["default"].createElement(i.CircularProgress,{size:"30px"})):l["default"].createElement(a["default"],{themeName:f,heading:o,headingTextStyle:i.FontToken.detailLarge,icon:d,colorToken:P,menuItem:l["default"].createElement(i.MenuItem,{subtitle:0===n?"Get more":"%credits% left".replace("%credits%",n.toString()),textStyle:i.FontToken.detailLargeBold,caratIconColor:P,themeName:f,colorToken:P})}))}},39804:function(e,t,n){var o=n(24994);Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return a["default"]}});var a=o(n(69293))},81760:function(e,t,n){var o=n(24994);Object.defineProperty(t,"__esModule",{value:!0}),t.ProgressContainer=t.ConsumableCTAMenuItemContainer=void 0;var a,r,i=o(n(20166)),l=n(614);t.ConsumableCTAMenuItemContainer=(0,l.styled)("div",{shouldForwardProp:function(e){return!["themeName","backgroundColorToken"].includes(e)}})(a||(a=(0,i["default"])(["\n\twidth: 100%;\n\tbackground-color: ",";\n\tborder-radius: 20px;\n\tpadding: 20px 15px;\n\tcursor: pointer;\n"])),function(e){var t=e.themeName,n=e.backgroundColorToken;return(0,l.getColor)(t,n)}),t.ProgressContainer=(0,l.styled)("div")(r||(r=(0,i["default"])(["\n\twidth: 30px;\n\theight: 30px;\n\tmargin: auto;\n"])))},90385:function(e,t,n){var o=n(24994),a=n(73738);
1Object.defineProperty(t,"__esModule",{value:!0}),t["default"]=void 0;var r=o(n(85715)),i=n(86144),l=n(60850),u=o(n(76857)),d=n(84532),s=n(69796),c=n(88938),f=n(31119),p=n(614),m=n(91738),g=function(e,t){if("function"==typeof WeakMap)var n=new WeakMap,o=new WeakMap;return function(e,t){if(!t&&e&&e.__esModule)return e;var r,i,l={__proto__:null,"default":e};if(null===e||"object"!=a(e)&&"function"!=typeof e)return l;if(r=t?o:n){if(r.has(e))return r.get(e);r.set(e,l)}for(var u in e)"default"!==u&&{}.hasOwnProperty.call(e,u)&&((i=(r=Object.defineProperty)&&Object.getOwnPropertyDescriptor(e,u))&&(i.get||i.set)?r(l,u,i):l[u]=e[u]);return l}(e,t)}(n(2753)),P=n(28895),y=n(61782),T=n(80546),h=n(68917);t["default"]=function(e){var t=e.isCarousel,n=void 0===t||t,o=e.shouldFetchConsumablesBalance,a=void 0===o||o,C=e.isGetUserDetailsLoading,v=e.cta,E=e.themeName,b=void 0===E?p.ColorTheme.light:E,_=e.pillBackgroundColorToken,I=void 0===_?p.ColorToken.secondaryLow:_,S=e.colorToken,k=void 0===S?p.ColorToken.topPrimary320:S,M=e.iconColorToken,A=void 0===M?p.ColorToken.outline40:M,x=(0,g.useRef)(null),O=(0,g.useState)(0),D=(0,r["default"])(O,2),N=D[0],w=D[1],L=(0,g.useState)(!0),B=(0,r["default"])(L,2),U=B[0],F=B[1],R=(0,l.useShallowEqualSelector)(function(e){return{isMobile:e.device.screen===d.ScreenType.Mobile,superLikeCredits:e.user.superLikeCredits,boostCredits:e.user.boostCredits,firstContactCredits:e.user.firstContactCredits,pathname:e.router.location.pathname,isUpgraded:e.user.upgraded,memberLevel:e.user.memberLevel,hasTokens:e.user.tokens>0}}),G=R.isMobile,j=R.superLikeCredits,V=R.boostCredits,W=R.firstContactCredits,z=R.pathname,Y=R.isUpgraded,H=R.memberLevel,K=R.hasTokens,X=(0,l.useAppDispatch)(),q=(0,P.bindActionCreators)({getConsumablesBalance:f.actionCreators.getConsumablesBalance,showPaymentOverlayPanel:c.actionCreators.showPaymentOverlayPanel,sendALCTopUpPillClicked:s.analyticsActionCreators.sendALCTopUpPillClicked},X),Q=q.getConsumablesBalance,$=q.showPaymentOverlayPanel,Z=q.sendALCTopUpPillClicked;(0,g.useEffect)(function(){a?Q(undefined,function(){F(!1)}):F(!1)},[a]);var J=(0,T.getPills)(G,Y,H,function(e){var t=e===m.PackageType.FirstContact,n=(0,y.getConsumablesUpgradeSubPackageTypes)(e,H);$(e,v||(t?G?i.MY_ACCOUNT_FIRST_CONTACT_BALANCE_CTA:i.MY_PROFILE_FIRST_CONTACT_BALANCE_CTA:i.MY_ACCOUNT_CONSUMABLE_PILL_CTA),undefined,{restrictedToMemberships:n,upgradeCta:t?i.FIRST_CONTACTS_LIMIT_CTA:undefined});var o=(0,u["default"])(e,{superLikeCredits:j,boostCredits:V,firstContactCredits:W})||0;Z(o,e,v)},V,W,j,U,C,K||!n,"/mypowerups"===z,b,I,k,A),ee=Array.from(J.values());return K?g["default"].createElement(h.ConsumablesContainer,null,J.get(m.PackageType.FirstContact)):G&&n?g["default"].createElement(h.ConsumablesCarouselContainer,null,g["default"].createElement(h.ConsumablesContainer,null,g["default"].createElement(p.Carousel,{ref:x,activeDotColorTheme:p.ColorTheme.light,activeDotColorToken:p.ColorToken.primary,config:{dots:!1,infinite:!1,slidesToShow:2.1,slidesToScroll:1,beforeChange:function(e,t){w(Math.round(t))}}},ee)),g["default"].createElement(h.DotPagingContainer,null,g["default"].createElement(p.DotPaging,{numPages:3,selectedPage:N}))):G&&!n?g["default"].createElement(g["default"].Fragment,null,g["default"].createElement(h.PillRow,null,J.get(m.PackageType.Boost),J.get(m.PackageType.SuperLike)),g["default"].createElement(h.PillRow,null,J.get(m.PackageType.FirstContact))):g["default"].createElement(h.ConsumablesContainer,null,ee)}},80546:function(e,t,n){var o=n(24994);Object.defineProperty(t,"__esModule",{value:!0}),t.getPills=void 0;var a=o(n(39804)),r=o(n(47600)),i=n(614),l=n(91738),u=o(n(2753)),d=n(68917);t.getPills=function(e,t,n,o,s,c,f,p,m,g,P){var y=arguments.length>11&&arguments[11]!==undefined?arguments[11]:i.ColorTheme.light,T=arguments.length>12&&arguments[12]!==undefined?arguments[12]:i.ColorToken.secondaryLow,h=arguments.length>13&&arguments[13]!==undefined?arguments[13]:i.ColorToken.topPrimary320,C=arguments.length>14&&arguments[14]!==undefined?arguments[14]:i.ColorToken.outline40,v=new Map([[l.PackageType.Boost,u["default"].createElement(d.PillContainer,{key:"boost-pill",isFullWidth:g},u["default"].createElement(d.ConsumableCtaMenuItemContainerDat9844,{isFullWidth:g},u["default"].createElement(a["default"],{isLoading:p||m,heading:"Boost",icon:u["default"].createElement(i.LightningIcon,{size:28,themeName:y,colorToken:C}),credits:s,themeName:y,backgroundColorToken:T,colorToken:h,onClick:function(){return o(l.PackageType.Boost)}})))],[l.PackageType.FirstContact,u["default"].createElement(d.PillContainer,{key:"first-contact-pill",isFullWidth:g},u["default"].createElement(d.ConsumableCtaMenuItemContainerDat9844,{isFullWidth:g},u["default"].createElement(a["default"],{isLoading:p||m,heading:"First Contact",icon:u["default"].createElement(d.EnvelopePillIconContainer,null,u["default"].createElement(i.EnvelopeIcon,{fill:"transparent",size:28,themeName:y,colorToken:C})),credits:c,themeName:y,backgroundColorToken:T,colorToken:h,onClick:function(){return o(l.PackageType.FirstContact)}})))],[l.PackageType.SuperLike,u["default"].createElement(d.PillContainer,{key:"super-like-pill",isFullWidth:g},u["default"].createElement(d.ConsumableCtaMenuItemContainerDat9844,{isFullWidth:g},u["default"].createElement(a["default"],{isLoading:p||m,heading:"Super Like",icon:u["default"].createElement(d.MeetMeSuperYesPillIconContainer,null,u["default"].createElement(i.MeetMeSuperYesIcon,{size:28,themeName:y,colorToken:C})),credits:f,themeName:y,backgroundColorToken:T,colorToken:h,onClick:function(){return o(l.PackageType.SuperLike)}})))]]);n===l.PackageType.PlatinumfishMembership&&v["delete"](l.PackageType.FirstContact);var E=u["default"].createElement(d.PillContainer,{key:"my-power-ups-pill",isFullWidth:g},u["default"].createElement(d.ConsumableCtaMenuItemContainerDat9844,{isFullWidth:g},u["default"].createElement(d.MyPowerUpsCtaMenuItemContainer,{to:"/mypowerups",themeName:y},u["default"].createElement(r["default"],{themeName:y,heading:"My Power-ups",headingTextStyle:i.FontToken.detailLarge,colorToken:i.ColorToken.topPrimary300,menuItem:u["default"].createElement(i.MenuItem,{themeName:y,subtitle:"Learn more",textStyle:i.FontToken.detailLargeBold,caratIconColor:i.ColorToken.topPrimary300,colorToken:i.ColorToken.topPrimary300})}))));if(e&&t&&n===l.PackageType.Goldfish){var b=new Map([[l.PackageType.Boost,v.get(l.PackageType.Boost)],[l.PackageType.SuperLike,v.get(l.PackageType.SuperLike)],[l.PackageType.FirstContact,v.get(l.PackageType.FirstContact)]]);return P||b.set("mypowerups",E),b}return P||v.set("mypowerups",E),v}},73335:function(e,t,n){var o=n(24994);
1Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"EnvelopePillIconContainer",{enumerable:!0,get:function(){return r.EnvelopePillIconContainer}}),Object.defineProperty(t,"MeetMeSuperYesPillIconContainer",{enumerable:!0,get:function(){return r.MeetMeSuperYesPillIconContainer}}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return a["default"]}});var a=o(n(90385)),r=n(68917)},68917:function(e,t,n){var o=n(24994);Object.defineProperty(t,"__esModule",{value:!0}),t.PillRow=t.PillContainer=t.MyPowerUpsCtaMenuItemContainer=t.MeetMeSuperYesPillIconContainer=t.EnvelopePillIconContainer=t.DotPagingContainer=t.ConsumablesContainer=t.ConsumablesCarouselContainer=t.ConsumableCtaMenuItemContainerDat9844=void 0;var a,r,i,l,u,d,s,c,f=o(n(20166)),p=n(614),m=o(n(6480)),g=o(n(36133)),P=function(e){return!["isFullWidth"].includes(e)};t.ConsumablesContainer=(0,p.styled)("div")(a||(a=(0,f["default"])(["\n\tdisplay: flex;\n\tjustify-content: space-between;\n\tmargin: 10px;\n\n\t"," {\n\t\tflex-direction: column;\n\t\tjustify-content: unset;\n\t\tmargin: 0;\n\t}\n"])),m["default"].tabletAndDesktop),t.ConsumablesCarouselContainer=p.ElementWithMarginBottomSmall,t.PillContainer=(0,p.styled)("div",{shouldForwardProp:P})(r||(r=(0,f["default"])(["\n\twidth: ",";\n"])),function(e){return e.isFullWidth?"100%":undefined}),t.ConsumableCtaMenuItemContainerDat9844=(0,p.styled)("div",{shouldForwardProp:P})(i||(i=(0,f["default"])(["\n\twidth: ",";\n\n\t"," {\n\t\twidth: unset;\n\t\tmargin-bottom: 20px;\n\t}\n"])),function(e){return e.isFullWidth?"100%":"calc(100% - 12px)"},m["default"].tabletAndDesktop),t.MyPowerUpsCtaMenuItemContainer=(0,p.styled)(g["default"])(l||(l=(0,f["default"])(["\n\tdisplay: block;\n\twidth: 100%;\n\tbackground-color: ",";\n\tborder-radius: 20px;\n\tpadding: 20px 15px;\n"])),function(e){var t=e.themeName;return(0,p.getColor)(t,p.ColorToken.baseTertiary80)}),t.DotPagingContainer=(0,p.styled)("div")(u||(u=(0,f["default"])(["\n\tdisplay: flex;\n\tjustify-content: center;
1\n"]))),t.EnvelopePillIconContainer=(0,p.styled)("div")(d||(d=(0,f["default"])(["\n\ttransform: scale(0.9);\n\tmargin-left: 10%;\n"]))),t.MeetMeSuperYesPillIconContainer=(0,p.styled)("div")(s||(s=(0,f["default"])(["\n\ttransform: scale(1.5);\n\tmargin-left: 10%;\n"]))),t.PillRow=(0,p.styled)("div")(c||(c=(0,f["default"])(["\n\tdisplay: flex;\n\tjustify-content: space-between;\n\tgap: 12px;\n\tpadding-bottom: 12px;\n"])))},64711:function(e,t,n){var o=n(73738);Object.defineProperty(t,"__esModule",{value:!0}),t["default"]=t.LOADING_DIALOG_TOTAL_DURATION=t.LOADING_DIALOG_PRIMARY_TRANSITION_ENTER_TIMEOUT=t.LOADING_DIALOG_PRIMARY_TRANSITION_ENTER_DELAY=t.LOADING_DIALOG_EXIT_TRANSITION_TIMEOUT=t.LOADING_DIALOG_ARTIFICIAL_LOADING_TIMEOUT=void 0;var a=n(614),r=function(e,t){if("function"==typeof WeakMap)var n=new WeakMap,a=new WeakMap;return function(e,t){if(!t&&e&&e.__esModule)return e;var r,i,l={__proto__:null,"default":e};if(null===e||"object"!=o(e)&&"function"!=typeof e)return l;if(r=t?a:n){if(r.has(e))return r.get(e);r.set(e,l)}for(var u in e)"default"!==u&&{}.hasOwnProperty.call(e,u)&&((i=(r=Object.defineProperty)&&Object.getOwnPropertyDescriptor(e,u))&&(i.get||i.set)?r(l,u,i):l[u]=e[u]);return l}(e,t)}(n(2753));var i=t.LOADING_DIALOG_ARTIFICIAL_LOADING_TIMEOUT=3500,l=t.LOADING_DIALOG_PRIMARY_TRANSITION_ENTER_DELAY=100,u=t.LOADING_DIALOG_PRIMARY_TRANSITION_ENTER_TIMEOUT=500,d=t.LOADING_DIALOG_EXIT_TRANSITION_TIMEOUT=500,s=(t.LOADING_DIALOG_TOTAL_DURATION=i+l+u+d,(0,r.forwardRef)(function(e,t){return r["default"].createElement(a.Slide,Object.assign({ref:t,direction:e["in"]?"left":"right",timeout:e["in"]?300:d,easing:e["in"]?"ease-out":"ease-in"},e),e.children)}));t["default"]=s},56954:function(e,t,n){var o=n(73738);Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"LOADING_DIALOG_ARTIFICIAL_LOADING_TIMEOUT",{enumerable:!0,get:function(){return a.LOADING_DIALOG_ARTIFICIAL_LOADING_TIMEOUT}}),Object.defineProperty(t,"LOADING_DIALOG_EXIT_TRANSITION_TIMEOUT",{enumerable:!0,get:function(){return a.LOADING_DIALOG_EXIT_TRANSITION_TIMEOUT}}),Object.defineProperty(t,"LOADING_DIALOG_PRIMARY_TRANSITION_ENTER_DELAY",{enumerable:!0,get:function(){return a.LOADING_DIALOG_PRIMARY_TRANSITION_ENTER_DELAY}}),Object.defineProperty(t,"LOADING_DIALOG_PRIMARY_TRANSITION_ENTER_TIMEOUT",{enumerable:!0,get:function(){return a.LOADING_DIALOG_PRIMARY_TRANSITION_ENTER_TIMEOUT}}),Object.defineProperty(t,"LOADING_DIALOG_TOTAL_DURATION",{enumerable:!0,get:function(){return a.LOADING_DIALOG_TOTAL_DURATION}}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return a["default"]}});var a=function(e,t){if("function"==typeof WeakMap)var n=new WeakMap,a=new WeakMap;return function(e,t){if(!t&&e&&e.__esModule)return e;var r,i,l={__proto__:null,"default":e};if(null===e||"object"!=o(e)&&"function"!=typeof e)return l;if(r=t?a:n){if(r.has(e))return r.get(e);r.set(e,l)}for(var u in e)"default"!==u&&{}.hasOwnProperty.call(e,u)&&((i=(r=Object.defineProperty)&&Object.getOwnPropertyDescriptor(e,u))&&(i.get||i.set)?r(l,u,i):l[u]=e[u]);return l}(e,t)}(n(64711))},86529:function(e,t,n){var o=n(24994),a=n(73738);Object.defineProperty(t,"__esModule",{value:!0}),t.getCopyrightText=t["default"]=void 0;var r=o(n(41132)),i=o(n(8237)),l=n(60850),u=o(n(74670)),d=n(59158),s=n(84532),c=n(614),f=function(e,t){if("function"==typeof WeakMap)var n=new WeakMap,o=new WeakMap;return function(e,t){if(!t&&e&&e.__esModule)return e;var r,i,l={__proto__:null,"default":e};if(null===e||"object"!=a(e)&&"function"!=typeof e)return l;if(r=t?o:n){if(r.has(e))return r.get(e);r.set(e,l)}for(var u in e)"default"!==u&&{}.hasOwnProperty.call(e,u)&&((i=(r=Object.defineProperty)&&Object.getOwnPropertyDescriptor(e,u))&&(i.get||i.set)?r(l,u,i):l[u]=e[u]);return l}(e,t)}(n(2753)),p=n(42985);var m=t.getCopyrightText=function(e){return 17===e?"Copyright 2001-{{CurrentYear}} Plentyoffish Media ULC, Vancouver Canada.".replace("{{CurrentYear}}",(new Date).getFullYear().toString()):"Copyright 2001-{{CurrentYear}} Plentyoffish Media ULC".replace("{{CurrentYear}}",(new Date).getFullYear().toString())};t["default"]=function(e){var t=e.themeName,n=void 0===t?c.ColorTheme.light:t,o=(0,l.useShallowEqualSelector)(function(e){return{countryId:e.user&&e.user.profile&&e.user.profile.country||1,screen:e.device.screen,locale:e.locale}}),a=o.countryId,g=o.screen,P=o.locale,y=(0,u["default"])(),T={items:[{title:"Socials",id:"socials",links:[{id:"footer-instagram",href:"https://www.instagram.com/plentyoffish/",name:"Plenty of Fish Instagram"},{id:"footer-facebook",href:"https://www.facebook.com/PlentyofFishDating/",name:"Plenty of Fish Facebook Page"},{id:"footer-twitter",href:"https://twitter.com/PlentyOfFish",name:"Plenty of Fish Twitter"}]},{title:"Community",id:"community",links:[{id:"guidelines",href:i["default"].urls.communityGuidelinesPolicy,name:"Guidelines",openInNewTab:!0},{id:"successstories",href:"/success",name:"Success Stories"}]},{title:"Help",id:"help",links:[{id:"helpfaq",href:i["default"].urls.zendeskHome,name:"Help Center",openInNewTab:!0},{id:"helpconversationtips",href:i["default"].urls.conversationTipsPolicy,name:"Conversation Tips",openInNewTab:!0},{id:"safety",href:i["default"].urls.safety,name:"Safety Center",openInNewTab:!0},{id:"security",href:i["default"].urls.security,name:"Security",openInNewTab:!0}]},{title:"Company",id:"company",links:[{id:"press",href:"https://press.pof.com",name:"Press"},{id:"careers",href:"/careers",name:"Careers"},{id:"blog",href:"https://blog.pof.com",name:"The Latest Catch ".concat("blog")}]},{title:"Legal",id:"legal",links:[{id:"terms",href:i["default"].urls.terms,name:"Terms of Use",openInNewTab:!0},{id:"privacypolicy",href:i["default"].urls.privacyPolicy,name:"Privacy Policy",openInNewTab:!0},{id:"consumerhealthdataprivacy",href:i["default"].urls.consumerHealthDataPrivacy,name:"Consumer Health Data Policy",openInNewTab:!0},{id:"accessibility-statement",href:i["default"].urls.accessibilityStatement,name:"Acce
1ssibility Statement",openInNewTab:!0},{id:"cookiepolicy",href:i["default"].urls.cookiePolicy,name:"Cookie Policy",openInNewTab:!0},{id:"ip",href:i["default"].urls.intellectualProperty,name:"Intellectual property",openInNewTab:!0},{id:"impressum",href:i["default"].urls.impressum,name:"Impressum",openInNewTab:!0}].concat((0,r["default"])(y?[{id:"australia-safety-policy",href:i["default"].urls.australiaSafetyPolicy,name:"Australia Safety Policy",openInNewTab:!0}]:[]))},{title:"Languages",id:"countries",links:[{id:"en",name:"English",lang:"en",href:"/"},{id:"fr",name:"French",lang:"fr",href:"/fr"},{id:"es",name:"Spanish",lang:"es",href:"/es"},{id:"da",name:"Danish",lang:"da",href:"/da"},{id:"de",name:"German",lang:"de",href:"/de"},{id:"it",name:"Italian",lang:"it",href:"/it"},{id:"nl",name:"Dutch",lang:"nl",href:"/nl"},{id:"pt",name:"Portuguese",lang:"pt",href:"/pt"},{id:"sv",name:"Swedish",lang:"sv",href:"/sv"}]}],copyright:{copyRight:m(a),copyright:m(a),trademark:"POF, PLENTYOFFISH, PLENTY OF FISH and PLENTY OF are registered trademarks of Plentyoffish Media ULC"}};return f.createElement(c.Footer,{items:T.items,copyright:T.copyright,isMobile:g===s.ScreenType.Mobile,language:(0,d.getLanguage)(P),shareAcrossMatchGroupUrl:i["default"].urls.whyWeShareAcrossMatchGroup,onLanguageChange:function(e){return(0,d.handleLanguageChange)(e)},themeName:n,isStatic:!1,ccpaOptOutButtonProps:(0,p.getCCPAOptOutButtonProps)(n)})}},42985:function(e,t,n){var o=n(73738);Object.defineProperty(t,"__esModule",{value:!0}),t.getCCPAOptOutButtonProps=void 0;var a=n(614),r=function(e,t){if("function"==typeof WeakMap)var n=new WeakMap,a=new WeakMap;return function(e,t){if(!t&&e&&e.__esModule)return e;var r,i,l={__proto__:null,"default":e};if(null===e||"object"!=o(e)&&"function"!=typeof e)return l;if(r=t?a:n){if(r.has(e))return r.get(e);r.set(e,l)}for(var u in e)"default"!==u&&{}.hasOwnProperty.call(e,u)&&((i=(r=Object.defineProperty)&&Object.getOwnPropertyDescriptor(e,u))&&(i.get||i.set)?r(l,u,i):l[u]=e[u]);return l}(e,t)}(n(2753));t.getCCPAOptOutButtonProps=function(e){return{buttonName:"Your Privacy Choices",buttonIcon:r.createElement(a.CcpaOptOutIcon,{size:28,themeName:e}),onClick:function(){var e;return null===(e=window.OneTrust)||void 0===e?void 0:e.ToggleInfoDisplay()},errorDialogTitle:"Oops!",errorDialogBodyText:"We're experiencing an issue on our end. Please refresh the page and try again.",errorDialogButtonText:"Ok"}}},75248:function(e,t,n){var o=n(24994);Object.defineProperty(t,"__esModule",{value:!0}),t.StyledPremiumLinkInner=t.StyledPremiumLink=t.StyledList=t.StyledIconLabel=t.ProfileMenuItemButton=t.ProfileMenuItem=t.PremiumContainer=t.NewPill=t.NewFeatureTooltipStyled=t.InboxButton=t.HeaderContainer=t.ButtonGroup=t.BlockLink=void 0;var a,r,i,l,u,d,s,c,f,p,m,g,P,y=o(n(20166)),T=o(n(36133)),h=o(n(88728)),C=o(n(6480)),v=n(614);t.HeaderContainer=(0,v.styled)("div")(a||(a=(0,y["default"])(["\n\tdisplay: flex;\n\tflex-direction: row;\n\tposition: relative;\n\twidth: 100%;\n\tjustify-content: space-between;\n\talign-items: center;\n\tpadding: 5px 0;\n\theight: 60px;\n\n\t&.unauthenticated {\n\t\tjustify-content: center;\n\t}\n"]))),t.InboxButton=(0,v.styled)(v.IconButton)(r||(r=(0,y["default"])(["\n\tdisplay: flex;\n\talign-items: center;
1\n"]))),t.StyledIconLabel=(0,v.styled)(v.Text)(i||(i=(0,y["default"])(["\n\tpadding-left: 12px;\n\twhite-space: nowrap;\n"]))),t.ProfileMenuItem=(0,v.styled)(T["default"])(l||(l=(0,y["default"])(["\n\talign-self: stretch;\n\tdisplay: flex;\n\talign-items: center;\n\tjustify-content: center;\n\twidth: 100%;\n\twhite-space: break-spaces;\n\tcolor: unset;\n\ttext-decoration: none;\n\n\t&:hover,\n\t&:focus {\n\t\ttext-decoration: none;\n\n\t\tdiv[class*='POFPill'] {\n\t\t\tbox-shadow: 0 0 1px 1px ",";\n\t\t}\n\t}\n"])),(0,v.getColor)(v.ColorTheme.light,v.ColorToken.topPrimary300)),t.ProfileMenuItemButton=(0,v.styled)(v.Button)(u||(u=(0,y["default"])(["\n\talign-self: stretch;\n\tdisplay: flex;\n\talign-items: center;\n\tjustify-content: center;\n\twidth: 100%;\n\twhite-space: break-spaces;\n\n\t&:hover,\n\t&:focus {\n\t\ttext-decoration: none;\n\t}\n"]))),t.PremiumContainer=(0,v.styled)("div")(d||(d=(0,y["default"])(["\n\theight: 30px;\n\tdisplay: flex;\n\talign-items: center;\n"]))),t.StyledPremiumLink=(0,v.styled)(T["default"])(s||(s=(0,y["default"])(["\n\t&:hover,\n\t&:focus {\n\t\ttext-decoration: none;\n\t}\n\n\t&:focus {\n\t\tbox-shadow: none;\n\t}\n"]))),t.StyledPremiumLinkInner=(0,v.styled)("span")(c||(c=(0,y["default"])(["\n\tdisplay: flex;\n\talign-items: center;
1\n"]))),t.StyledList=(0,v.styled)("ul")(f||(f=(0,y["default"])(["\n\tdisplay: inline-flex;\n\tflex-grow: 1;\n\tgap: 12px;\n\tjustify-content: flex-end;\n\talign-items: center;\n\n\t& > li {\n\t\tmargin-right: 20px;\n\t}\n\n\t"," {\n\t\t& > li {\n\t\t\tmargin-right: 5px;\n\t\t}\n\t}\n\n\t& > li:last-of-type {\n\t\tmargin-right: 0;\n\t}\n"])),C["default"].tablet),t.ButtonGroup=(0,v.styled)("nav")(p||(p=(0,y["default"])(["\n\tdisplay: flex;\n\tflex-grow: 1;\n\tjustify-content: flex-end;\n\talign-items: center;\n\tposition: relative;\n\tz-index: ",";\n\tmax-width: 70%;\n"])),function(e){return e.theme.zIndexBase.above}),t.BlockLink=(0,v.styled)(T["default"])(m||(m=(0,y["default"])(["\n\tdisplay: block;\n\tz-index: ",";\n"])),function(e){return e.theme.zIndexBase.base}),t.NewPill=(0,v.styled)(v.Pill)(g||(g=(0,y["default"])(["\n\tmargin-left: 10px;\n"]))),t.NewFeatureTooltipStyled=(0,v.styled)(h["default"])(P||(P=(0,y["default"])(["\n\t& > li {\n\t\tmargin-right: 20px;\n\t}\n\n\t"," {\n\t\t& > li {\n\t\t\tmargin-right: 5px;\n\t\t}\n\t}\n"])),C["default"].tablet)},73093:function(e,t,n){var o=n(24994);Object.defineProperty(t,"__esModule",{value:!0}),t["default"]=void 0;var a=n(614),r=o(n(2753)),i=n(97464);t["default"]=function(e){var t=e.id,n=void 0===t?"selfie-verified-badge":t,o=e.position,l=void 0===o?"absolute":o,u=e.themeName,d=void 0===u?a.ColorTheme.light:u;return r["default"].createElement(i.PillContainer,{position:l},r["default"].createElement(a.Pill,{id:n,themeName:d,icon:r["default"].createElement(a.SelfieVerifiedBadgeIcon,{size:10,alt:"Selfie Verified icon"}),text:"Selfie-verified",backgroundColorToken:a.ColorToken.basePrimary00,textColorToken:a.ColorToken.topPrimary310,borderColorToken:a.ColorToken.topPrimary320,ariaLabel:"Selfie Verified badge"}))}},28820:function(e,t,n){var o=n(24994);Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return a["default"]}});var a=o(n(73093))},97464:function(e,t,n){var o=n(24994);Object.defineProperty(t,"__esModule",{value:!0}),t.PillContainer=void 0;var a,r=o(n(20166)),i=n(614);t.PillContainer=(0,i.styled)("div",{shouldForwardProp:function(e){return!["position"].includes(e)}})(a||(a=(0,r["default"])(["\n\tposition: ",";\n\ttop: ",";\n\tleft: ",";\n\tz-index: ",";\n"])),function(e){return e.position},function(e){return"absolute"===e.position?"20px":"0"},function(e){return"absolute"===e.position?"20px":"0"},function(e){return e.theme.zIndexBase.above})},91021:function(e,t,n){var o=n(24994),a=n(73738);Object.defineProperty(t,"__esModule",{value:!0}),t["default"]=void 0;var r=o(n(85715)),i=n(56954),l=n(60850),u=n(66249),d=n(84301),s=n(614),c=function(e,t){if("function"==typeof WeakMap)var n=new WeakMap,o=new WeakMap;return function(e,t){if(!t&&e&&e.__esModule)return e;var r,i,l={__proto__:null,"default":e};if(null===e||"object"!=a(e)&&"function"!=typeof e)return l;if(r=t?o:n){if(r.has(e))return r.get(e);r.set(e,l)}for(var u in e)"default"!==u&&{}.hasOwnProperty.call(e,u)&&((i=(r=Object.defineProperty)&&Object.getOwnPropertyDescriptor(e,u))&&(i.get||i.set)?r(l,u,i):l[u]=e[u]);return l}(e,t)}(n(2753)),f=n(64004),p=n(76945);var m={title:"Tell us who you're interested in",description:"Set preferences to help us suggest people for you."},g={title:"Happy Fishing!",description:"We optimized your filters to show more results."};t["default"]=function(e){var t=e.className,n=void 0===t?"":t,o=e.children,a=e.open,P=void 0===a||a,y=e.placement,T=(0,c.useRef)(!1),h=(0,u.useDatingPreferencesUI)(),C=h.hasSeenDatingPreferencesIntroTooltip,v=h.hasSeenDatingPreferencesUpdateTooltip,E=h.isAutoExpanded,b=h.voteCount,_=h.setSeenDatingPreferencesIntroTooltip,I=h.setSeenDatingPreferencesUpdateTooltip,S=h.resetProfileUiDatingPreferencesVoteCount,k=h.tooltipType,M=(0,c.useState)(!1),A=(0,r["default"])(M,2),x=A[0],O=A[1],D=(0,l.useShallowEqualSelector)(function(e){return{isMobile:e.device.isMobile,locationPathname:e.router.location.pathname,isPaymentOverlayOpen:!!x&&e.ui.paymentOverlayPanelProps.isDisplayed,isBoostOverlayOpen:!!x&&e.highlight.isBoostLoading}}),N=D.isMobile,w=D.locationPathname,L=D.isPaymentOverlayOpen,B=D.isBoostOverlayOpen,U=(0,l.useStickyTrue)(B,i.LOADING_DIALOG_TOTAL_DURATION+500),F=(0,c.useMemo)(function(){return L||U},[L,U]),R=(0,c.useMemo)(function(){return function(e){switch(e){case p.TooltipType.ExpansionCompleted:return g;case p.TooltipType.Intro:default:return m}}(k)},[k]),G=(0,c.useMemo)(function(){return!E&&C||E&&v},[E,C,v]),j=function(e){return(0,d.absorbClickGeneric)(e),k===p.TooltipType.Intro?_(!0):k===p.TooltipType.ExpansionCompleted&&I(!0),O(!1),!1},V=(0,c.useMemo)(function(){return w.startsWith("/meetme")},[w]);(0,c.useEffect)(function(){T.current=V},[V]),(0,c.useEffect)(function(){!V&&x&&(O(!1),k===p.TooltipType.Intro&&S())},[V,x,k,S]),(0,c.useEffect)(function(){T.current&&G&&O(!1)},[G]),(0,c.useEffect)(function(){V&&G?O(!1):(P&&V&&!C&&b>=10||P&&V&&E&&!v)&&O(P)},[P,V,G,C,v,E,b]);return c["default"].createElement(f.TooltipStyled,{id:"show-new-feature-tooltip",ariaLabel:R.title,open:x&&!F,"data-testid":"new-feature-tooltip",onClose:j,className:"NewFeatureTooltip ".concat(n),disableFocusListener:!0,disableHoverListener:!0,disableTouchListener:!0,arrow:!0,placement:null!=y?y:N?"top":"bottom",title:c["default"].createElement(f.TooltipRow,{onClick:function(e){(0,d.absorbClickGeneric)(e)}},c["default"].createElement(f.TooltipTextColumn,null,c["default"].createElement(s.Text,{tag:"h2",alignment:"left",textStyle:s.FontToken.detailLargeBold},R.title),c["default"].createElement(s.Text,{tag:"p",alignment:"left",textStyle:s.FontToken.detailLarge},R.description)),c["default"].createElement(f.IconButtonStyled,{size:"small",icon:c["default"].createElement(s.CloseIcon,{size:15}),onClick:j}))},c["default"].createElement("div",{className:"TooltipContent"},o))}},88728:function(e,t,n){var o=n(24994);
1Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return a["default"]}});var a=o(n(91021))},64004:function(e,t,n){var o=n(24994);Object.defineProperty(t,"__esModule",{value:!0}),t.TooltipTextColumn=t.TooltipStyled=t.TooltipRow=t.IconButtonStyled=void 0;var a,r,i,l,u=o(n(20166)),d=o(n(6480)),s=n(614);t.TooltipStyled=(0,s.styled)(s.Tooltip)(a||(a=(0,u["default"])(["\n\tposition: relative;\n\tmax-width: 300px;\n\tuser-select: none;\n\tpointer-events: none;\n\ttouch-action: none;\n\t"," {\n\t\tpointer-events: auto;\n\t\ttouch-action: auto;\n\t}\n\n\t> div {\n\t\tposition: relative;\n\t}\n"])),d["default"].tabletAndDesktop),t.TooltipRow=(0,s.styled)("div")(r||(r=(0,u["default"])(["\n\tdisplay: flex;\n\tflex-direction: row;\n\talign-items: flex-start;\n\tz-index: 1;\n\tpointer-events: all;\n\ttouch-action: all;\n\t&::before {\n\t\tcontent: '';\n\t\tposition: absolute;\n\t\ttop: 0;\n\t\tleft: 0;\n\t\twidth: 100%;\n\t\theight: 100%;\n\t\tbackground-color: transparent;\n\t\tz-index: 0;\n\t\tborder-radius: 20px;\n\t}\n"]))),t.TooltipTextColumn=(0,s.styled)("div")(i||(i=(0,u["default"])(["\n\tdisplay: flex;\n\tflex-direction: column;\n\tgap: 4px;\n\tz-index: 1;\n"]))),t.IconButtonStyled=(0,s.styled)(s.IconButton)(l||(l=(0,u["default"])(["\n\tpointer-events: auto;\n\ttouch-action: auto;\n\tz-index: 1;\n"])))},76945:function(e,t){var n;Object.defineProperty(t,"__esModule",{value:!0}),t.TooltipType=void 0,function(e){e[e.None=0]="None",e[e.Intro=1]="Intro",e[e.ExpansionCompleted=2]="ExpansionCompleted"}(n||(t.TooltipType=n={}))},68249:function(e,t,n){var o=n(24994),a=n(73738);Object.defineProperty(t,"__esModule",{value:!0}),t["default"]=void 0;var r=o(n(86405)),i=o(n(19260)),l=n(86144),u=n(50445),d=n(60850),s=n(98717),c=o(n(66292)),f=n(80560),p=o(n(35552)),m=n(80011),g=n(614),P=n(91738),y=function(e,t){if("function"==typeof WeakMap)var n=new WeakMap,o=new WeakMap;return function(e,t){if(!t&&e&&e.__esModule)return e;var r,i,l={__proto__:null,"default":e};if(null===e||"object"!=a(e)&&"function"!=typeof e)return l;if(r=t?o:n){if(r.has(e))return r.get(e);r.set(e,l)}for(var u in e)"default"!==u&&{}.hasOwnProperty.call(e,u)&&((i=(r=Object.defineProperty)&&Object.getOwnPropertyDescriptor(e,u))&&(i.get||i.set)?r(l,u,i):l[u]=e[u]);return l}(e,t)}(n(2753)),T=n(28895),h=n(53793);t["default"]=function(e){var t=e.offerVariantThemeName,n=void 0===t?g.ColorTheme.lightPremium:t,o=(0,c["default"])(function(e){return{isMobile:e.device.isMobile,seekingGender:e.user.profile.seekingGender,offerDiscountValue:e.payments.offerData.discountValue,offerCurrencySymbol:e.payments.offerData.currencySymbol,offerRenewalBaseAmount:e.payments.offerData.renewalBaseAmount,offerBaseAmount:e.payments.offerData.baseAmount,offerPackageType:e.payments.offerData.packageType}}),a=o.isMobile,C=o.seekingGender,v=o.offerPackageType,E=o.offerCurrencySymbol,b=o.offerRenewalBaseAmount,_=o.offerBaseAmount,I=o.offerDiscountValue,S=(0,d.useAppDispatch)(),k=(0,T.bindActionCreators)({sendUpgradeWithSocialProofViewed:m.actionCreators.sendUpgradeWithSocialProofViewed},S).sendUpgradeWithSocialProofViewed;(0,y.useEffect)(function(){k(v)},[]);var M=(0,f.getTierIcon)({memberLevel:v,iconSize:128,themeName:n});return y["default"].createElement(h.OfferUpgradePanelContainer,{themeName:n},y["default"].createElement(h.MainContainer,{themeName:n},y["default"].createElement(h.ContentContainer,null,a?null:M,y["default"].createElement(g.Text,{tag:"h2",textStyle:g.FontToken.subheadingMedium,themeName:n,colorToken:g.ColorToken.topGraphic150},"{{discount}}% off {{tierName}}!".replace("{{discount}}",I.toString()).replace("{{tierName}}",(0,s.getPackageTypeName)(v))),y["default"].createElement(g.Text,{tag:"p",textStyle:g.FontToken.detailLargeLight,themeName:n,colorToken:g.ColorToken.topGraphic150},v===P.PackageType.PlatinumfishMembership?"Send unlimited messages and see who likes you.":"See who likes you and get noticed sooner."),y["default"].createElement(r["default"],{themeName:n,size:a?"xsmall":"large",fullWidth:a,params:{cta:l.MY_PROFILE_ACCOUNT_PROOF_CARD_UPGRADE_CTA}},y["default"].createElement(g.Text,{themeName:n,colorToken:g.ColorToken.topSecondary10,textStyle:g.FontToken.bodyMediumBold,tag:"span"},y["default"].createElement(g.ReplaceString,{text:"Get for <s>{{currencySymbol}}{{renewalBaseAmount}}</s> {{currencySymbol}}{{baseAmount}}".replaceAll("{{currencySymbol}}",E).replace("{{renewalBaseAmount}}",(0,p["default"])(b)).replace("{{baseAmount}}",(0,p["default"])(_)),search:u.STRIKE_TEXT_REGEX,textProps:{tag:"span",textStyle:g.FontToken.bodyMediumBold,themeName:n,colorToken:g.ColorToken.topAccent80,decorationLine:"line-through"}})))),a?y["default"].createElement("div",null,M):null),y["default"].createElement(i["default"],{seekingGender:C,text:"Lots of people are loving the perks of their POF subscriptions.",themeName:n,colorToken:a?g.ColorToken.topPrimary230:g.ColorToken.topGra
1phic150}))}},66827:function(e,t,n){var o=n(24994);Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return a["default"]}});var a=o(n(68249))},53793:function(e,t,n){var o=n(24994);Object.defineProperty(t,"__esModule",{value:!0}),t.OfferUpgradePanelContainer=t.MainContainer=t.ContentContainer=void 0;var a,r,i,l=o(n(20166)),u=o(n(6480)),d=n(614),s=function(e){return!["themeName"].includes(e)};t.OfferUpgradePanelContainer=(0,d.styled)("div",{shouldForwardProp:s})(a||(a=(0,l["default"])(["\n\tdisplay: flex;\n\tflex-direction: column;\n\tgap: 20px;\n\twidth: 300px;\n\n\t"," {\n\t\tgap: unset;\n\t\twidth: unset;\n\t\tborder: 1px solid ",";\n\t\tborder-radius: 12px;\n\t}\n"])),u["default"].upToAndIncludingMobile,function(e){var t=e.themeName;return(0,d.getColor)(t,d.ColorToken.basePrimary40)}),t.MainContainer=(0,d.styled)("div",{shouldForwardProp:s})(r||(r=(0,l["default"])(["\n\tdisplay: flex;\n\tpadding: 20px;\n\tgap: 10px;\n\tbackground: ",";\n\tborder-radius: 12px;\n\n\t"," {\n\t\tflex-direction: column;\n\t\tpadding: 0;\n\t}\n"])),function(e){var t=e.themeName;return(0,d.getColor)(t,d.ColorToken.basePrimary100)},u["default"].tabletAndDesktop),t.ContentContainer=(0,d.styled)("div")(i||(i=(0,l["default"])(["\n\tdisplay: flex;\n\tflex-direction: column;\n\tgap: 8px;\n\n\t"," {\n\t\tgap: 20px;\n\t\talign-items: center;\n\t}\n"])),u["default"].tabletAndDesktop)},55381:function(e,t,n){var o=n(24994);Object.defineProperty(t,"__esModule",{value:!0}),t["default"]=void 0;var a,r=o(n(20166)),i=n(60850),l=n(614),u=o(n(2753)),d=(0,l.styled)("div",{shouldForwardProp:function(e){return!["isPlaceholder","isCircular"].includes(e)}})(a||(a=(0,r["default"])(["\n\tposition: absolute;\n\ttop: 0;\n\tleft: 0;\n\tdisplay: flex;\n\talign-items: center;\n\tjustify-content: center;\n\twidth: ",";\n\theight: 100%;\n\tbackground: ",";\n\tborder-radius: ",";\n"])),function(e){return e.isPlaceholder?"".concat(l.IMAGE_SIZES.ImageBar.size,"px"):"100%"},(0,l.getColor)(l.ColorTheme.light,l.ColorToken.primary60),function(e){return e.isCircular?"50%":"12px"});t["default"]=function(e){var t=e.showIcon,n=void 0===t||t,o=e.isPlaceholder,a=e.isCircular,r=e.isLoading,s=(0,i.useExperiments)().inIncognitoModeExperiment,c=(0,i.useShallowEqualSelector)(function(e){return{isProfileHidden:e.user.hidden,isIncognitoModeEnabled:e.incognitoMode.isIncognitoModeEnabled}}),f=c.isProfileHidden,p=c.isIncognitoModeEnabled;return f||s&&p||r?u["default"].createElement(d,{isPlaceholder:o,isCircular:a},n?u["default"].createElement(l.EyeColorCrossedOutIcon,{size:28,colorToken:l.ColorToken.background,alt:"Profile hidden"}):null):null}},42442:function(e,t,n){var o=n(24994);Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return a["default"]}});var a=o(n(55381))},24325:function(e,t,n){var o=n(24994);Object.defineProperty(t,"__esModule",{value:!0}),t["default"]=void 0;var a,r=o(n(20166)),i=o(n(8237)),l=n(31119),u=n(614),d=o(n(2753)),s=(0,u.styled)("div")(a||(a=(0,r["default"])(["\n\tdisplay: flex;\n\tpadding: 5px;\n\tgap: 15px;\n\talign-items: center;
1\n"])));t["default"]=function(e){var t=e.seekingGender,n=e.text,o=e.themeName,a=void 0===o?u.ColorTheme.light:o,r=e.colorToken,c=e.variant,f=void 0===c?"small":c;return d["default"].createElement(s,null,d["default"].createElement("img",{src:"".concat(i["default"].imageUrl,"/socialProof/").concat("large"===f?"socialProofLarge":t===l.SeekingGenderType.Men?"socialProofMenSmall":"socialProofWomenSmall",".png"),alt:"Social proof"}),n?d["default"].createElement(u.Text,{textStyle:u.FontToken.detailMedium,tag:"p",themeName:a,colorToken:r},n):null)}},19260:function(e,t,n){var o=n(24994);Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return a["default"]}});var a=o(n(24325))},65227:function(e,t,n){var o=n(24994);Object.defineProperty(t,"__esModule",{value:!0}),t["default"]=void 0;var a=n(15215),r=o(n(86405)),i=o(n(86479)),l=n(614),u=o(n(2753)),d=n(73555);t["default"]=function(e){var t=e.titleTextStyle,n=void 0===t?l.FontToken.detailMedium:t,o=e.headingTextStyle,s=void 0===o?l.FontToken.bodyMedium:o,c=e.colorToken,f=void 0===c?l.ColorToken.topPrimary320:c,p=e.subtitleColorToken,m=void 0===p?l.ColorToken.topPrimary320:p,g=(0,a.__rest)(e,["titleTextStyle","headingTextStyle","colorToken","subtitleColorToken"]);return u["default"].createElement(d.MenuItemContainer,null,u["default"].createElement(d.CTAIconContainer,null,g.icon),u["default"].createElement(d.MenuItemBody,null,u["default"].createElement(d.MenuItemTextContainer,null,u["default"].createElement(l.Text,{themeName:g.themeName,colorToken:f,tag:"p",textStyle:n},g.title),u["default"].createElement(l.Text,{themeName:g.themeName,colorToken:f,tag:"p",textStyle:s},g.heading),u["default"].createElement(l.Text,{themeName:g.themeName,colorToken:m,tag:"p",textStyle:l.FontToken.detailLarge},g.subtitle),g.menuItem?g.linkTo?u["default"].createElement(i["default"],{to:g.linkTo,qsp:g.qsp},g.menuItem):g.menuItem:null),g.button?u["default"].createElement(d.CTAButtonContainer,null,g.button):g.linkTo?u["default"].createElement(d.CTAButtonContainer,null,u["default"].createElement(i["default"],{to:g.linkTo,qsp:g.qsp},u["default"].createElement(l.Button,null,u["default"].createElement(l.Text,{themeName:g.themeName,colorToken:l.ColorToken.onPrimary,tag:"p",textStyle:l.FontToken.bodyMediumBold},g.buttonText)))):g.withUpgradeButton?u["default"].createElement(d.CTAButtonContainer,null,u["default"].createElement(r["default"],{params:g.qsp},u["default"].createElement(l.Text,{themeName:g.themeName,colorToken:l.ColorToken.onPrimary,tag:"p",textStyle:l.FontToken.bodyMediumBold},g.buttonText))):null))}},47600:function(e,t,n){var o=n(24994);Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return a["default"]}});var a=o(n(65227))},73555:function(e,t,n){var o=n(24994);Object.defineProperty(t,"__esModule",{value:!0}),t.MenuItemTextContainer=t.MenuItemContainer=t.MenuItemBody=t.CTAIconContainer=t.CTAButtonContainer=void 0;var a,r,i,l,u,d=o(n(20166)),s=n(614);t.MenuItemBody=(0,s.styled)("div")(a||(a=(0,d["default"])(["\n\tdisplay: flex;\n\tflex-direction: row;\n\tflex-grow: 1;\n\talign-items: center;\n\ttext-align: left;\n\tgap: 12px;\n"]))),t.MenuItemContainer=(0,s.styled)("div")(r||(r=(0,d["default"])(["\n\tdisplay: flex;\n\talign-items: center;\n\tjustify-content: space-between;\n\twidth: 100%;\n\tmargin: -6px 0;\n"]))),t.MenuItemTextContainer=(0,s.styled)("div")(i||(i=(0,d["default"])(["\n\tdisplay: flex;\n\tflex-grow: 1;\n\tflex-direction: column;\n\tvertical-align: middle;\n\tpadding: 3px 0;\n"]))),t.CTAButtonContainer=(0,s.styled)("div")(l||(l=(0,d["default"])(["\n\twidth: 100px;\n\tvertical-align: middle;\n\tpadding: 3px 0px;\n"]))),t.CTAIconContainer=(0,s.styled)("div")(u||(u=(0,d["default"])(["\n\tmargin: 2px 9px 0px -5px;\n"])))},50445:function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.STRIKE_TEXT_REGEX=t.BOLD_TEXT_REGEX=void 0;t.BOLD_TEXT_REGEX=/<b>(.*)<\/b>/g,t.STRIKE_TEXT_REGEX=/<s>(.*)<\/s>/g},12234:function(e,t,n){var o=n(24994);
1Object.defineProperty(t,"__esModule",{value:!0}),t.StyledLogOutIcon=t.SectionHeader=t.MenuItemIconContainer=t.MenuItemButton=t.MenuItemBox=t.ManageAccountContainer=t.IncognitoModeIconContainer=t.CTAMenuItemIconContainer=void 0;var a,r,i,l,u,d,s,c,f=o(n(20166)),p=n(614);t.ManageAccountContainer=(0,p.styled)("div")(a||(a=(0,f["default"])(["\n\tmargin-top: -10px;\n"]))),t.MenuItemBox=(0,p.styled)("div")(r||(r=(0,f["default"])(["\n\tpadding: 5px 15px;\n\tmin-height: 58px;\n"]))),t.SectionHeader=(0,p.styled)("div")(i||(i=(0,f["default"])(["\n\tpadding: 30px 15px 11px;\n"]))),t.CTAMenuItemIconContainer=(0,p.styled)("div")(l||(l=(0,f["default"])(["\n\tmargin: 2px 13px 0 0;\n"]))),t.MenuItemIconContainer=(0,p.styled)("div")(u||(u=(0,f["default"])(["\n\tmargin: 2px 0 0 -5px;\n"]))),t.StyledLogOutIcon=(0,p.styled)(p.LogoutIcon)(d||(d=(0,f["default"])(["\n\tmargin-right: 7px;\n"]))),t.MenuItemButton=(0,p.styled)(p.Button)(s||(s=(0,f["default"])(["\n\ttext-align: left;\n"]))),t.IncognitoModeIconContainer=(0,p.styled)("div")(c||(c=(0,f["default"])(["\n\tdisplay: flex;\n\talign-items: center;\n\tjustify-content: center;\n\tbackground: ",";\n\tborder-radius: 50%;\n\twidth: 32px;\n\theight: 32px;\n"])),function(e){var t=e.$themeName;return(0,p.getColor)(t,p.ColorToken.topPrimary200)})},49772:function(e,t,n){var o=n(24994),a=n(73738);Object.defineProperty(t,"__esModule",{value:!0}),t["default"]=void 0;var r=o(n(85715)),i=n(30176),l=n(51477),u=o(n(86405)),d=o(n(73335)),s=n(86529),c=n(75248),f=o(n(28820)),p=o(n(4250)),m=o(n(66827)),g=o(n(42442)),P=o(n(47600)),y=o(n(86479)),T=n(86144),h=n(11245),C=n(60850),v=n(80560),E=n(59611),b=n(87372),_=n(10866),I=n(88938),S=n(31119),k=n(614),M=n(91738),A=function(e,t){if("function"==typeof WeakMap)var n=new WeakMap,o=new WeakMap;return function(e,t){if(!t&&e&&e.__esModule)return e;var r,i,l={__proto__:null,"default":e};if(null===e||"object"!=a(e)&&"function"!=typeof e)return l;if(r=t?o:n){if(r.has(e))return r.get(e);r.set(e,l)}for(var u in e)"default"!==u&&{}.hasOwnProperty.call(e,u)&&((i=(r=Object.defineProperty)&&Object.getOwnPropertyDescriptor(e,u))&&(i.get||i.set)?r(l,u,i):l[u]=e[u]);return l}(e,t)}(n(2753)),x=n(28895),O=n(12234),D=n(40044),N=n(49355);t["default"]=function(){var e=(0,A.useState)(!0),t=(0,r["default"])(e,2),n=t[0],o=t[1],a=(0,C.useAppDispatch)(),w=(0,x.bindActionCreators)({setIsFooterDisplayed:I.actionCreators.setIsFooterDisplayed,getPopularityRank:b.actionCreators.getPopularityRank,getPopularityScore:b.actionCreators.getPopularityScore,sendMyAccountViewed:S.analyticActionCreators.sendMyAccountViewed,requestMessageRestrictionSettings:_.actionCreators.requestMessageRestrictionSettings,getConsumablesBalance:S.actionCreators.getConsumablesBalance},a),L=w.setIsFooterDisplayed,B=w.getPopularityRank,U=w.getPopularityScore,F=w.sendMyAccountViewed,R=w.requestMessageRestrictionSettings,G=w.getConsumablesBalance,j=(0,C.useUIActionCreators)().showPaymentOverlayPanel,V=(0,C.useAnalytics)().sendMyProfileHomeIncognitoViewed,W=(0,C.useShallowEqualSelector)(function(e){var t,n,o;return{isUpgraded:e.user.upgraded,memberLevel:e.user.memberLevel,countryId:e.user&&e.user.profile&&e.user.profile.country||1,firstname:e.user.firstname,user:e.user,profileId:e.user.profileId,startTimestamp:e.highlight.startTimestamp,totalTime:e.highlight.totalTime,isMailSettingsLoading:e.mailSettings.isLoading,isProfileHidden:e.user.hidden,isSelfieVerified:null!==(o=null===(n=null===(t=e.user.badges)||void 0===t?void 0:t["selfie-verified"])||void 0===n?void 0:n.isEnabled)&&void 0!==o&&o,isMobile:e.device.isMobile,hasSeenDatingPreferencesNewFeatureBadge:e.profile.datingPreferences.hasSeenDatingPreferencesNewFeatureBadge,isIncognitoModeEnabled:e.incognitoMode.isIncognitoModeEnabled}}),z=W.isUpgraded,Y=W.memberLevel,H=W.countryId,K=W.firstname,X=W.user,q=W.profileId,Q=W.startTimestamp,$=W.totalTime,Z=W.isMailSettingsLoading,J=W.isProfileHidden,ee=W.isSelfieVerified,te=W.isMobile,ne=W.hasSeenDatingPreferencesNewFeatureBadge,oe=W.isIncognitoModeEnabled;(0,A.useEffect)(function(){var e=function(){o(!1)};G(e,e),L(!1),B(),U(),F(),R()},[]),(0,A.useEffect)(function(){oe&&V()},[oe]);var ae=(0,C.useBoostActivity)(Q,$,q).isBoostActive,re=(0,C.useExperiments)().inIncognitoModeExperiment,ie=(0,C.useOfferUpgradePanel)(),le=ie.showOfferUpgradePanel,ue=ie.offerVariantThemeName,de=(0,C.useGetShowIncognitoModeUpgradeBanner)(),se=de.showIncognitoModeUpgradeBanner,ce=de.showWhoMessagesYouCopyBanner;
1(0,C.useSetBackground)((0,k.getColor)(k.ColorTheme.light,k.ColorToken.basePrimary00));var fe=(0,E.getProfileImageFromProfile)(X),pe=(0,C.useGetThemeVariant)().appTheme,me=k.ColorToken.basePrimary50,ge=k.ColorToken.topPrimary320,Pe=A["default"].createElement(A["default"].Fragment,null,A["default"].createElement(d["default"],{themeName:pe,shouldFetchConsumablesBalance:!1,isGetUserDetailsLoading:n,pillBackgroundColorToken:me,colorToken:k.ColorToken.topPrimary300,iconColorToken:k.ColorToken.outline50}),z&&Y===M.PackageType.Goldfish&&!ae&&A["default"].createElement(N.CtaContainer,{backgroundColorToken:me},A["default"].createElement(P["default"],{title:"Boost your profile",heading:"Get up to 10x more views",titleTextStyle:k.FontToken.detailLarge,headingTextStyle:k.FontToken.detailMedium,icon:A["default"].createElement(k.LightningIcon,{size:30,themeName:pe}),button:A["default"].createElement(i.BoostButton,{id:"cta-boost-button",isButtonHidden:ae,activateButtonCopy:"Boost",isButtonFullWidth:!0,describedById:"boost-title boost-tagline",themeName:pe,buttonSize:"medium",getConsumableLinkCta:T.PROFILE_BOOST_CTA,getConsumableLinkFid:h.FEATURE_PROFILE_BOOST_ID_VALUE}),themeName:pe,buttonColorToken:k.ColorToken.topSecondary10})),!z&&!le&&!se&&A["default"].createElement(N.CtaContainer,{backgroundColorToken:me},A["default"].createElement(P["default"],{heading:"Unlock more features",subtitle:"Show up first in Meet Me!",button:A["default"].createElement(u["default"],{themeName:pe,size:"large",params:{cta:T.MY_PROFILE_UPGRADE_CTA,from:window.location.pathname.replace("/","")}},"Upgrade"),icon:A["default"].createElement(k.UpgradeIcon,null),themeName:pe,colorToken:k.ColorToken.topPrimary300})),!le&&se?A["default"].createElement(N.CtaContainer,{backgroundColorToken:me},A["default"].createElement(P["default"],{heading:ce?"Control who messages you with Incognito":"Choose who sees your profile with Incognito",headingTextStyle:k.FontToken.detailLarge,button:A["default"].createElement(u["default"],{themeName:pe,size:"large",params:{cta:ce?T.MY_ACCOUNT_MESSAGES_YOU_INCOGNITO_UPGRADE_CTA:T.MY_ACCOUNT_SEES_YOUR_PROFILE_INCOGNITO_UPGRADE_CTA}},"Upgrade"),icon:A["default"].createElement(O.IncognitoModeIconContainer,{$themeName:pe},A["default"].createElement(k.EyeColorCrossedOutIcon,{themeName:pe,colorToken:k.ColorToken.topSecondary00,size:18})),themeName:pe,colorToken:k.ColorToken.topPrimary300})):null,!z&&le?A["default"].createElement(N.OfferUpgradePanelContainer,null,A["default"].createElement(m["default"],{offerVariantThemeName:ue})):null,z&&A["default"].createElement(N.CtaContainer,{backgroundColorToken:me,withMarginTop:!0},A["default"].createElement(P["default"],{heading:"My POF Membership",subtitle:"Learn more about your benefits",button:A["default"].createElement(k.Button,{themeName:pe,size:"large",onClick:function(){j(M.PackageType.PlatinumfishMembership,T.MY_PROFILE_UPGRADE_CTA,window.location.pathname.replace("/",""))}},"Explore"),icon:A["default"].createElement(k.UpgradeIcon,null),themeName:pe,colorToken:k.ColorToken.topPrimary300,subtitleColorToken:k.ColorToken.topPrimary300})));return A["default"].createElement(N.MyAccountScene,{themeName:pe},A["default"].createElement(N.ProfileContainer,null,A["default"].createElement(N.TierIconContainer,null,(0,v.getTierNameIcon)(pe,Y,te?72:116,te?105:116,116)),A["default"].createElement(y["default"],{to:"/viewprofile?profile_id=".concat(q)},A["default"].createElement(N.ProfileImageOuterWrapper,{$themeName:pe,$isBoostActive:ae},A["default"].createElement(k.ProfileImage,Object.assign({imageType:k.IMAGE_TYPE.MWOwnProfileThumbnail},fe,{isSelfieVerified:!1,isOwnProfile:!0,isCircularImage:!0,themeName:pe})),A["default"].createElement(g["default"],{isCircular:!0})),ae&&A["default"].createElement(N.BoostRingContainer,{"data-testid":"boost-ring-container"},A["default"].createElement(k.BoostRing,{status:k.PopularityStatus.Active,themeName:pe,variant:(0,l.getBoostVariantByMemberLevel)(Y)}))),A["default"].createElement(k.Text,{id:"my-account-profile-name",tag:"h2",textStyle:k.FontToken.titleMediumSemiBold,themeName:pe,colorToken:ge},K),ee&&A["default"].createElement(N.ProfileSelfieVerifiedContainer,null,A["default"].createElement(f["default"],null)),J?A["default"].createElement(N.TakingABreakText,{tag:"span",themeName:pe,textStyle:k.FontToken.detailLarge,colorToken:k.ColorToken.topPrimary320},"Taking a break"," 🌴"):null,re&&oe?A["default"].createElement(N.IncognitoModeText,{tag:"span",themeName:pe,textStyle:k.FontToken.detailLargeBold,colorToken:k.ColorToken.topPrimary320},"Incognito Mode"):null),(0,D.getMyAccountAboveHeaderItems)(pe),A["default"].createElement(N.MyAccountBottomFrame,null,A["default"].createElement(N.MyAccountHeader,null,A["default"].createElement(k.Text,{colorToken:k.ColorToken.topPrimary310,tag:"div",textStyle:k.FontToken.titleMediumSemiBold},"My Account")),Pe,A["default"].createElement(y["default"],{to:"/manageaccount"},A["default"].createElement(N.MenuItemBox,null,A["default"].createElement(k.MenuItem,{subtitle:"Manage Account",icon:A["default"].createElement(k.ProfileIcon,{size:30})}))),A["default"].createElement(y["default"],{to:"/mydatingpreferences"},A["default"].createElement(N.MenuItemBox,null,A["default"].createElement(k.MenuItem,{subtitle:"Preferences",icon:A["default"].createElement(k.SlidersIcon,{size:30})}),!ne&&A["default"].createElement(N.NewFeatureBadgeIcon,{themeName:pe,"aria-label":"New preferences available",size:"tiny",icon:A["default"].createElement(c.NewPill,{text:"New",themeName:pe,backgroundColorToken:k.ColorToken.baseTertiary80,textColorToken:k.ColorToken.topPrimary310}
1)}))),Z&&A["default"].createElement(N.MenuItemBox,null,A["default"].createElement(D.SkeletonLoaderMenuItem,null)),D.myAccountBelowHeaderItems,A["default"].createElement(p["default"],null),A["default"].createElement(N.FooterTextContainer,null,A["default"].createElement(k.Text,{tag:"p",textStyle:k.FontToken.tinyMedium,colorToken:k.ColorToken.topPrimary230},"".concat((0,s.getCopyrightText)(H)," ").concat("POF, PLENTYOFFISH, PLENTY OF FISH and PLENTY OF are registered trademarks of Plentyoffish Media ULC")))))}},40044:function(e,t,n){var o=n(24994);Object.defineProperty(t,"__esModule",{value:!0}),t.myAccountBelowHeaderItems=t.isFcRestrictionSet=t.iconSize=t.getMyAccountAboveHeaderItems=t.SkeletonLoaderMenuItem=void 0;var a=n(91509),r=o(n(86479)),i=o(n(8237)),l=n(614),u=o(n(2753)),d=n(49355),s=t.iconSize=30,c=[{heading:"My Likes",icon:u["default"].createElement(l.InterestedInMeIcon,{size:s}),linkDest:"/meetmeyes"},{heading:"Safety Center",icon:u["default"].createElement(l.ShieldIcon,{size:s}),linkDest:i["default"].urls.zendeskHome,includeDomain:!1},{heading:"Help",icon:u["default"].createElement(l.HelpIcon,{size:s}),linkDest:"/help"}],f=function(e){return u["default"].createElement(r["default"],{to:e.linkDest,includeDomain:e.includeDomain},u["default"].createElement(d.MenuItemBox,null,u["default"].createElement(l.MenuItem,{subtitle:e.heading,icon:e.icon,themeName:e.themeName,caratIconColor:l.ColorToken.outline40})))},p=function(e,t){return e.map(function(e){return u["default"].createElement(f,{themeName:t,key:e.linkDest,heading:e.heading,icon:e.icon,linkDest:e.linkDest,includeDomain:e.includeDomain})})};t.getMyAccountAboveHeaderItems=function(e){return p(function(){var e=arguments.length>0&&arguments[0]!==undefined?arguments[0]:l.ColorTheme.light;return[{heading:"Edit Profile",icon:u["default"].createElement(l.EditIcon,{size:s,themeName:e,colorToken:l.ColorToken.outline40}),linkDest:"/editprofile"},{heading:"Add Photos",icon:u["default"].createElement(l.PhotoIcon,{size:s,themeName:e,colorToken:l.ColorToken.outline40}),linkDest:"/images"}]}(e),e)},t.myAccountBelowHeaderItems=p(c),t.SkeletonLoaderMenuItem=function(){return u["default"].createElement(d.MenuItemContainer,null,u["default"].createElement(d.MenuItemTextContainer,null,u["default"].createElement(l.Skeleton,{type:"text",width:"90%",height:"13px"})),u["default"].createElement(l.CaratIcon,null))},t.isFcRestrictionSet=function(e){var t=["MimumumCharacters","UpgradedUsersOnly","UsersWithImagesOnly"];return 0!==e.filter(function(e){return t.includes(e.type)}).length||0!==e.filter(function(e){return"AgeRange"===e.type&&e.value>a.MIN_AGE&&!!e.upperValue&&e.upperValue<a.MAX_AGE}).length}},2253:function(e,t,n){var o=n(24994);Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return a["default"]}});var a=o(n(49772))},49355:function(e,t,n){var o=n(24994);Object.defineProperty(t,"__esModule",{value:!0}),t.TierIconContainer=t.TakingABreakText=t.ProfileSelfieVerifiedContainer=t.ProfileImageOuterWrapper=t.ProfileContainer=t.PrefsIconContainer=t.OfferUpgradePanelContainer=t.NewFeatureBadgeIcon=t.MyAccountScene=t.MyAccountHeader=t.MyAccountBottomFrame=t.MenuItemTextContainer=t.MenuItemContainer=t.MenuItemBox=t.MenuBadge=t.IncognitoModeText=t.FooterTextContainer=t.CtaContainer=t.BoostRingContainer=void 0;var a,r,i,l,u,d,s,c,f,p,m,g,P,y,T,h,C,v,E,b=o(n(20166)),_=n(614),I=function(e){return!["themeName","withMarginTop","backgroundColorToken"].includes(e)};t.MyAccountScene=(0,_.styled)("div",{shouldForwardProp:I})(a||(a=(0,b["default"])(["\n\tbackground-color: ",";\n"])),function(e){var t=e.themeName;return(0,_.getColor)(t,_.ColorToken.basePrimary100)}),t.TakingABreakText=(0,_.styled)(_.Text)(r||(r=(0,b["default"])(["\n\tmargin-top: 35px;\n"]))),t.IncognitoModeText=(0,_.styled)(_.Text)(i||(i=(0,b["default"])(["\n\tmargin-top: 28px;\n"]))),t.MenuItemBox=(0,_.styled)("div")(l||(l=(0,b["default"])(["\n\tpadding: 12px 15px;\n\tposition: relative;\n\tcontain: content;\n\t> div {\n\t\tmax-height: 30px;\n\t\t> div {\n\t\t\tmax-height: inherit;\n\t\t}\n\t}
1\n"]))),t.MenuItemContainer=(0,_.styled)("div")(u||(u=(0,b["default"])(["\n\tdisplay: flex;\n\talign-items: center;\n\tjustify-content: space-between;\n\twidth: 100%;\n"]))),t.MenuItemTextContainer=(0,_.styled)("div")(d||(d=(0,b["default"])(["\n\tdisplay: flex;\n\tflex-grow: 1;\n\tflex-direction: column;\n\tmin-width: 160px;\n\tvertical-align: middle;\n\tmargin-top: 2px;\n"]))),t.BoostRingContainer=(0,_.styled)("div")(s||(s=(0,b["default"])(["\n\tposition: relative;\n\tmargin-left: -5px;\n\tmargin-top: -102px;\n"]))),t.MenuBadge=(0,_.styled)("div")(c||(c=(0,b["default"])(["\n\twidth: 22px;\n\theight: 22px;\n\ttext-align: center;\n\tborder-radius: 50%;\n\tpadding-top: 2px;\n\tmargin-right: 12px;\n\tmargin-top: 1px;\n\tbackground-color: ",";\n\tcolor: ",";\n"])),(0,_.getColor)(_.ColorTheme.light,_.ColorToken.secondary),(0,_.getColor)(_.ColorTheme.light,_.ColorToken.onSecondary)),t.PrefsIconContainer=(0,_.styled)("div")(f||(f=(0,b["default"])(["\n\twidth: 30px;\n\theight: 30px;\n\tmargin-right: 15px;\n"]))),t.MyAccountHeader=(0,_.styled)("div")(p||(p=(0,b["default"])(["\n\tpadding: 16px 15px 13px;\n"]))),t.ProfileImageOuterWrapper=(0,_.styled)("div")(m||(m=(0,b["default"])(["\n\tdisplay: inline-block;\n\tposition: relative;\n\twidth: 82px;\n\theight: 82px;\n\ttop: 2px;\n\tborder-radius: 50%;\n\tmargin-left: -4px;\n\toverflow: hidden;\n\t","\n"])),function(e){var t=e.$isBoostActive,n=e.$themeName;return!t&&"\n\t\t\tbox-shadow: 0 0 0 2px ".concat((0,_.getColor)(n,_.ColorToken.baseTertiary70),";\n\t\t")}),t.ProfileContainer=(0,_.styled)("div")(g||(g=(0,b["default"])(["\n\tmax-width: 121px;\n\tmargin-left: calc(50vw - 60.5px);\n\ttext-align: center;\n\tpadding-bottom: 18px;\n\tpadding-top: 36px;\n\tdisplay: flex;\n\tflex-direction: column;\n\talign-items: center;\n\tposition: relative;\n"]))),t.ProfileSelfieVerifiedContainer=(0,_.styled)("div")(P||(P=(0,b["default"])(["\n\tdisplay: flex;\n\tjustify-content: flex-start;\n\talign-items: center;\n\tposition: relative;\n\tleft: -72px;\n\tpadding-bottom: 25px;\n"]))),t.FooterTextContainer=(0,_.styled)("div")(y||(y=(0,b["default"])(["\n\tpadding: 11px 55px 40px 10px;\n"]))),t.MyAccountBottomFrame=(0,_.styled)("div")(T||(T=(0,b["default"])(["\n\tborder-radius: 20px 20px 0px 0px;\n\tmargin-top: 20px;\n\tbackground-color: ",";\n"])),(0,_.getColor)(_.ColorTheme.light,_.ColorToken.background)),t.CtaContainer=(0,_.styled)("div",{shouldForwardProp:I})(h||(h=(0,b["default"])(["\n\tbackground-color: ",";\n\tborder-radius: 20px;\n\tpadding: 20px;\n\tmargin: 0 10px;\n\tmargin-top: ",";\n"])),function(e){var t=e.backgroundColorToken;return(0,_.getColor)(_.ColorTheme.light,t)},function(e){return e.withMarginTop?"12px":undefined}),t.TierIconContainer=(0,_.styled)("div")(C||(C=(0,b["default"])(["\n\tmargin-bottom: 15px;\n"]))),t.OfferUpgradePanelContainer=(0,_.styled)("div")(v||(v=(0,b["default"])(["\n\tmargin: 0 10px;\n"]))),t.NewFeatureBadgeIcon=(0,_.styled)(_.BadgeIcon)(E||(E=(0,b["default"])(["\n\tposition: absolute;\n\ttop: 50%;\n\ttransform: translateY(-50%);\n\tright: 60px;\n"])))},66249:function(e,t,n){var o=n(24994);Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"useDatingPreferencesManager",{enumerable:!0,get:function(){return a["default"]}}),Object.defineProperty(t,"useDatingPreferencesUI",{enumerable:!0,get:function(){return r["default"]}}),Object.defineProperty(t,"useUpdateProfileManager",{enumerable:!0,get:function(){return i["default"]}});var a=o(n(10908)),r=o(n(97995)),i=o(n(89969))},11388:function(e,t){var n;Object.defineProperty(t,"__esModule",{value:!0}),t.UserAccountProfileState=void 0,function(e){e[e.NotLoaded=0]="NotLoaded",e[e.Loading=1]="Loading",e[e.Loaded=2]="Loaded",e[e.ErrorLoading=3]="ErrorLoading",e[e.Updating=4]="Updating",e[e.Updated=5]="Updated",e[e.ErrorUpdating=6]="ErrorUpdating"}(n||(t.UserAccountProfileState=n={}))},10908:function(e,t,n){var o=n(24994);Object.defineProperty(t,"__esModule",{value:!0}),t["default"]=void 0;var a=o(n(85715)),r=n(60568),i=n(60850),l=n(66249),u=n(7677),d=n(31093),s=n(51215),c=n(14337),f=n(10477),p=n(12830),m=n(31119),g=n(2753),P=n(28895);t["default"]=function(){var e=(0,i.useAppDispatch)(),t=(0,P.bindActionCreators)({updateDatingPreferences:p.actionCreators.updateProfilePreferences,loadMyDatingPreferences:p.actionCreators.requestProfilePreferences,updateProfileUiDatingPreferences:p.actionCreators.updateProfileUiDatingPreferences,sendDatingPreferencesAdjusted:p.analyticsActionCreators.sendDatingPreferencesAdjusted,sendDatingPreferencesActioned:p.analyticsActionCreators.sendDatingPreferencesActioned,sendMeetMePreferencesManaged:p.analyticsActionCreators.sendMeetMePreferencesManaged,sendMeetMePreferencesExpanded:p.analyticsActionCreators.sendMeetMePreferencesExpanded,sendMeetMePreferencesAutoExpandViewed:p.analyticsActionCreators.sendMeetMePreferencesAutoExpandViewed,sendDatingPreferencesV3Vie
1wed:p.analyticsActionCreators.sendDatingPreferencesV3Viewed,clearLastViewedCard:f.meetMeBoardActionCreators.clearLastViewedCard,clearStack:f.meetMeBoardActionCreators.clearStack,updateProfileSeekingGender:m.actionCreators.updateProfileSeekingGenderType},e),n=t.updateDatingPreferences,o=t.loadMyDatingPreferences,y=t.updateProfileUiDatingPreferences,T=t.sendDatingPreferencesAdjusted,h=t.sendDatingPreferencesActioned,C=t.sendMeetMePreferencesManaged,v=t.sendMeetMePreferencesExpanded,E=t.sendMeetMePreferencesAutoExpandViewed,b=t.sendDatingPreferencesV3Viewed,_=t.clearLastViewedCard,I=t.clearStack,S=t.updateProfileSeekingGender,k=(0,l.useDatingPreferencesUI)().setSeenDatingPreferencesNewFeatureBadge,M=(0,i.useUIActionCreators)(),A=M.setSnackBar,x=M.setRedirect,O=(0,l.useUpdateProfileManager)(),D=O.updateUserAccountProfile,N=O.userAccountProfile,w=O.isLoading,L=(0,g.useState)(!1),B=(0,a["default"])(L,2),U=B[0],F=B[1],R=(0,g.useRef)(undefined);if(R.current===undefined){var G=(0,c.getSessionValue)(c.PENDING_PREFERENCES_UPDATE_KEY);G&&(0,c.clearSessionValue)(c.PENDING_PREFERENCES_UPDATE_KEY),R.current=G}var j=(0,i.useShallowEqualSelector)(function(e){return{datingPreferences:e.profile.datingPreferences,seekingGender:e.user.profile.seekingGender,lastLocation:e.history.lastLocation,userProfile:e.user.profile}}),V=j.datingPreferences,W=j.seekingGender,z=j.lastLocation,Y=j.userProfile,H=(0,g.useState)(""),K=(0,a["default"])(H,2),X=K[0],q=K[1],Q=(0,g.useState)(""),$=(0,a["default"])(Q,2),Z=$[0],J=$[1],ee=(0,g.useState)(""),te=(0,a["default"])(ee,2),ne=te[0],oe=te[1],ae=(0,g.useState)({minValue:u.MIN_AGE,maxValue:u.MAX_AGE,minRange:u.MIN_AGE_RANGE}),re=(0,a["default"])(ae,2),ie=re[0],le=re[1],ue=(0,g.useState)({minValue:u.MIN_DISTANCE,maxValue:u.MAX_DISTANCE,distanceUnit:u.DISTANCE_UNIT_KILOMETERS}),de=(0,a["default"])(ue,2),se=de[0],ce=de[1],fe=(0,g.useState)(W),pe=(0,a["default"])(fe,2),me=pe[0],ge=pe[1],Pe=(0,g.useState)({minValue:u.MIN_AGE,maxValue:u.MAX_AGE}),ye=(0,a["default"])(Pe,2),Te=ye[0],he=ye[1],Ce=(0,g.useState)(u.MIN_DISTANCE),ve=(0,a["default"])(Ce,2),Ee=ve[0],be=ve[1],_e=(0,g.useState)({minValue:u.MIN_AGE,maxValue:u.MAX_AGE}),Ie=(0,a["default"])(_e,2),Se=Ie[0],ke=Ie[1],Me=(0,g.useState)(u.MIN_DISTANCE),Ae=(0,a["default"])(Me,2),xe=Ae[0],Oe=Ae[1],De=(0,g.useState)({minValue:u.MIN_AGE,maxValue:u.MAX_AGE}),Ne=(0,a["default"])(De,2),we=Ne[0],Le=Ne[1],Be=(0,g.useState)(W),Ue=(0,a["default"])(Be,2),Fe=Ue[0],Re=Ue[1],Ge=(0,g.useState)(u.MIN_DISTANCE),je=(0,a["default"])(Ge,2),Ve=je[0],We=je[1],ze=(0,g.useMemo)(function(){return!!z&&z.startsWith("/meetme")},[z]),Ye=(0,g.useState)(null==Y?void 0:Y.country),He=(0,a["default"])(Ye,2),Ke=He[0],Xe=He[1],qe=(0,g.useState)(null==Y?void 0:Y.stateId),Qe=(0,a["default"])(qe,2),$e=Qe[0],Ze=Qe[1],Je=(0,g.useState)((null==Y?void 0:Y.city)||""),et=(0,a["default"])(Je,2),tt=et[0],nt=et[1],ot=(0,g.useState)(undefined),at=(0,a["default"])(ot,2),rt=at[0],it=at[1],lt=(0,g.useState)((null==Y?void 0:Y.zipCode)||""),ut=(0,a["default"])(lt,2),dt=ut[0],st=ut[1],ct=(0,g.useState)(null==Y?void 0:Y.country),ft=(0,a["default"])(ct,2),pt=ft[0],mt=ft[1],gt=(0,g.useState)(null==Y?void 0:Y.stateId),Pt=(0,a["default"])(gt,2),yt=Pt[0],Tt=Pt[1],ht=(0,g.useState)((null==Y?void 0:Y.city)||""),Ct=(0,a["default"])(ht,2),vt=Ct[0],Et=Ct[1],bt=(0,g.useState)(undefined),_t=(0,a["default"])(bt,2),It=_t[0],St=_t[1],kt=(0,g.useState)((null==Y?void 0:Y.zipCode)||""),Mt=(0,a["default"])(kt,2),At=Mt[0],xt=Mt[1],Ot=(0,g.useMemo)(function(){return Se.minValue!==we.minValue||Se.maxValue!==we.maxValue},[Se,we]),Dt=(0,g.useMemo)(function(){return xe!==Ve},[xe,Ve]),Nt=(0,g.useMemo)(function(){return Ot||Dt},[Ot,Dt]),wt=(0,g.useMemo)(function(){return me!==Fe},[me,Fe]),Lt=(0,g.useMemo)(function(){return Ke!==pt||$e!==yt||tt!==vt||rt!==It||dt!==At},[Ke,pt,$e,yt,tt,vt,rt,It,dt,At]),Bt=(0,g.useMemo)(function(){return Nt||wt||Lt},[Nt,wt,Lt]),Ut=function(e,t,n){var o=(0,s.getDistanceUnitLocalizedLabel)(e,t,n);oe(o)};(0,g.useEffect)(function(){var e=null===Ee?se.maxValue:Ee;Ut(e,se.maxValue,se.distanceUnit)},[Ee,se]),(0,g.useEffect)(function(){var e,t,n,o,a,r;if(V){var i=V.selected,l=V.ageOptions;if(l){le({minValue:l.minValue,maxValue:l.maxValue,minRange:l.minRange});var d=null===i.maxAge?u.MAX_AGE:i.maxAge,s={minValue:i.minAge,maxValue:d},c=null!==(t=null===(e=R.current)||void 0===e?void 0:e.age)&&void 0!==t?t:s;ke(s),he(c),Le(c),a=c.minValue,r=c.maxValue,J("".concat(a," - ").concat(r))}var f=V.distanceOptions;if(f){ce({minValue:f.minValue,maxValue:f.maxValue,distanceUnit:f.distanceUnit});var p=null!==(o=null===(n=R.current)||void 0===n?void 0:n.distance)&&void 0!==o?o:i.maxDistance;Oe(i.maxDistance),be(p),We(p),Ut(p,f.maxValue,f.distanceUnit)}}},[V]),(0,g.useEffect)(function(){void 0!==W&&(ge(W),Re(W),function(e){if(void 0!==e){var t=(0,d.getSeekingStringFromSeekingGender)(e);q(t.charAt(0).toUpperCase()+t.slice(1))}}(W))},[W]),(0,g.useEffect)(function(){if(N){Xe(N.country),Ze(N.state),nt(N.city),it(N.cityCode),st(N.zipCode);var e=(0,c.getSessionValue)(c.PENDING_LOCATION_UPDATE_KEY);e?((0,c.clearSessionValue)(c.PENDING_LOCATION_UPDATE_KEY),mt(e.countryId),Tt(e.stateId),Et(e.city||""),St(e.cityCode),xt(e.postalCode||"")):(mt(N.country),Tt(N.state),Et(N.city),St(N.cityCode),xt(N.zipCode))}},[N]);var Ft=(0,g.useMemo)(function(){return vt||""},[vt]),Rt=(0,g.useCallback)(function(){if(Bt){F(!0);var e={preferences:{minAge:we.minValue,maxAge:we.maxValue,isMetric:se.distanceUnit===u.DISTANCE_UNIT_KILOMETERS,maxDistance:Ve}};T(e.preferences,Fe,pt,It);var t=function(){R.current=null,A(r.SnackBarContent.DATING_PREFERENCES_UPDATED),k(!0),F(!1),_(),I(),ze&&(y({includeUpdatedDatingPreferencesQSP:!0}),x("/meetme"))},o=function(){A(r.SnackBarContent.AN_ERROR_OCCURRED),F(!1)},a=wt||Lt,i=function(e){if(N){var t=Object.assign(Object.assign(Object.assign({},N),wt&&{seekingGender:Fe}),Lt&&{country:pt,state:yt,city:vt,cityCode:It,zipCode:At});D(t,function(t){t&&wt&&S(Fe),null==e||e(t)})}else null==e||e(!1)};Nt&&a?(i(),n(e,ie.maxValue,se.maxValue,t,o)):Nt?n(e,ie.maxValue,se.maxValue,t,o):a&&i(function(e){e?t():o()})}},[Bt,we,Ve,se,Nt,wt,Lt,Fe,pt,yt,vt,It,At,N,D,S,n,A,F]),Gt=(0,g.useCallback)(function(){(0,c.setSessionValue)(c.PENDING_PREFERENCES_UPDATE_KEY,{age:we,distance:Ve})},[we,Ve]),jt=(0,g.useCallback)(function(){(0,c.setSessionValue)(c.PENDING_LOCATION_UPDATE_KEY,{countryId:pt,stateId:yt,city:vt,cityCode:It,postalCode:At})},[pt,yt,vt,It,At]);
1return{seekingGenderString:X,ageRangeString:Z,distanceString:ne,locationString:Ft,agePreferenceOptions:ie,distanceDatingPrefOptions:se,selectedSeekingGender:me,selectedAge:Te,selectedDistance:Ee,isDirty:Bt,isLoading:w,isUpdating:U,isLocationUpdated:Lt,setUpdatedAge:Le,setUpdatedDistance:We,setUpdatedSeekingGender:Re,locationProps:{onValueUpdated:function(){return undefined},countryId:{value:pt,setValue:mt},stateId:{value:yt,setValue:Tt},city:{value:vt,setValue:Et},cityCode:{value:It,setValue:St},postalCode:{value:At,setValue:xt}},loadMyDatingPreferences:o,saveUpdatedDatingPreferences:Rt,savePendingPreferences:Gt,savePendingLocation:jt,sendDatingPreferencesAdjusted:T,sendDatingPreferencesActioned:h,sendMeetMePreferencesManaged:C,sendMeetMePreferencesExpanded:v,sendMeetMePreferencesAutoExpandViewed:E,sendDatingPreferencesV3Viewed:b}}},97995:function(e,t,n){var o=n(24994);Object.defineProperty(t,"__esModule",{value:!0}),t["default"]=void 0;var a=o(n(85715)),r=n(76945),i=n(60850),l=n(28478),u=n(49460),d=n(52679),s=n(16192),c=n(2753),f=n(28895),p=1728e5;t["default"]=function(){var e=(0,i.useAppDispatch)(),t=(0,l.getInstallId)(),n=(0,c.useState)(r.TooltipType.Intro),o=(0,a["default"])(n,2),m=o[0],g=o[1],P=(0,f.bindActionCreators)({updateProfileUiDatingPreferences:d.actionCreators.updateProfileUiDatingPreferences,updateProfileUiSeenDatingPreferences:d.actionCreators.updateProfileUiSeenDatingPreferences,resetProfileUiDatingPreferencesVoteCount:d.actionCreators.resetProfileUiDatingPreferencesVoteCount},e),y=P.updateProfileUiDatingPreferences,T=P.updateProfileUiSeenDatingPreferences,h=P.resetProfileUiDatingPreferencesVoteCount,C=(0,i.useShallowEqualSelector)(function(e){var t,n;return{selectedDatingPreferences:e.profile.datingPreferences.selected,autoExpandedCount:e.profile.datingPreferences.count,isAutoExpanded:e.profile.datingPreferences.expanded,shouldAutoExpand:e.profile.datingPreferences.shouldAutoExpand,includeUpdatedDatingPreferencesQSP:e.profile.datingPreferences.includeUpdatedDatingPreferencesQSP,hasSeenDatingPreferencesNewFeatureBadge:e.profile.datingPreferences.hasSeenDatingPreferencesNewFeatureBadge,voteCount:e.profile.datingPreferences.voteCount,hasSeenDatingPreferencesIntroMeetMeDialog:e.profile.datingPreferences.hasSeenDatingPreferencesIntroMeetMeDialog,hasSeenDatingPreferencesExpandMeetMeDialog:e.profile.datingPreferences.hasSeenDatingPreferencesExpandMeetMeDialog,hasSeenDatingPreferencesIntroTooltip:e.profile.datingPreferences.hasSeenDatingPreferencesIntroTooltip,hasSeenDatingPreferencesUpdateTooltip:e.profile.datingPreferences.hasSeenDatingPreferencesUpdateTooltip,hasSeenNonEmptyStackAfterExpand:e.profile.datingPreferences.hasSeenNonEmptyStackAfterExpand,hasSeenDatingPreferencesLastNDSTimestamp:e.profile.datingPreferences.hasSeenDatingPreferencesLastNDSTimestamp,meetMeStackSize:null!==(n=null===(t=e.stacks.meetMeStack)||void 0===t?void 0:t.length)&&void 0!==n?n:0}}),v=C.selectedDatingPreferences,E=C.autoExpandedCount,b=C.isAutoExpanded,_=C.shouldAutoExpand,I=C.includeUpdatedDatingPreferencesQSP,S=C.hasSeenDatingPreferencesNewFeatureBadge,k=C.voteCount,M=C.hasSeenDatingPreferencesIntroMeetMeDialog,A=C.hasSeenDatingPreferencesExpandMeetMeDialog,x=C.hasSeenDatingPreferencesIntroTooltip,O=C.hasSeenDatingPreferencesUpdateTooltip,D=C.hasSeenNonEmptyStackAfterExpand,N=C.hasSeenDatingPreferencesLastNDSTimestamp,w=C.meetMeStackSize,L=function(e){return!!(0,u.getLocalValue)(e,t)},B=function(e){y(e)};(0,c.useEffect)(function(){g(x?O?r.TooltipType.None:r.TooltipType.ExpansionCompleted:r.TooltipType.Intro)},[x,O]);var U=function(e,t){T(e,t)};(0,c.useEffect)(function(){var e,n=!!L(u.HAS_SEEN_DATING_PREFERENCES_V3_INTRO_TOOLTIP_STORAGE_KEY),o=!!L(u.HAS_SEEN_DATING_PREFERENCES_V3_UPDATED_TOOLTIP_STORAGE_KEY),a=!!L(u.HAS_SEEN_DATING_PREFERENCES_V3_INTRO_DIALOG_KEY),i=!!L(u.HAS_SEEN_DATING_PREFERENCES_V3_EXPAND_DIALOG_KEY),l=L(u.HAS_SEEN_DATING_PREFERENCES_V3_NEW_FEATURE_BADGE_KEY),d=(e=u.HAS_SEEN_DATING_PREFERENCES_V3_LAST_NDS_TIMESTAMP_KEY,(0,u.getLocalValue)(e,t)),c=d&&(0,s.isTimeSinceGreaterThan)(p,d);B({hasSeenDatingPreferencesIntroMeetMeDialog:a,hasSeenDatingPreferencesExpandMeetMeDialog:!c&&i,hasSeenDatingPreferencesIntroTooltip:n,hasSeenDatingPreferencesUpdateTooltip:o,hasSeenDatingPreferencesNewFeatureBadge:l,hasSeenDatingPreferencesLastNDSTimestamp:null!=d?d:0}),g(n?o?r.TooltipType.None:r.TooltipType.ExpansionCompleted:r.TooltipType.Intro)},[]);var F=function(){U({hasSeenDatingPreferencesLastNDSTimestamp:Date.now()},u.HAS_SEEN_DATING_PREFERENCES_V3_LAST_NDS_TIMESTAMP_KEY)},R=(0,c.useMemo)(function(){return!A&&!w},[A,w]);return{updateDatingPreferencesUI:B,autoExpandDatingPreferences:function(e){B({shouldAutoExpand:e})},includeUpdatedDatingPreferences:function(e){B({includeUpdatedDatingPreferencesQSP:e})},selectedDatingPreferences:v,autoExpandedCount:E,isAutoExpanded:b,shouldAutoExpand:_,voteCount:k,includeUpdatedDatingPreferencesQSP:I,hasSeenDatingPreferencesNewFeatureBadge:S,hasSeenDatingPreferencesIntroMeetMeDialog:M,hasSeenDatingPreferencesExpandMeetMeDialog:A,hasSeenDatingPreferencesIntroTooltip:x,hasSeenDatingPreferencesUpdateTooltip:O,hasSeenDatingPreferencesLastNDSTimestamp:N,hasSeenNonEmptyStackAfterExpand:D,setSeenDatingPreferencesIntroMeetMeDialog:function(e){U({hasSeenDatingPreferencesIntroMeetMeDialog:e},u.HAS_SEEN_DATING_PREFERENCES_V3_INTRO_DIALOG_KEY)},setSeenDatingPreferencesExpandMeetMeDialog:function(e){U({hasSeenDatingPreferencesExpandMeetMeDialog:e},u.HAS_SEEN_DATING_PREFERENCES_V3_EXPAND_DIALOG_KEY),e&&F()},setSeenDatingPreferencesIntroTooltip:function(e){U({hasSeenDatingPreferencesIntroTooltip:e},u.HAS_SEEN_DATING_PREFERENCES_V3_INTRO_TOOLTIP_STORAGE_KEY)},setSeenDatingPreferencesUpdateTooltip:function(e){U({hasSeenDatingPreferencesUpdateTooltip:e},u.HAS_SEEN_DATING_PREFERENCES_V3_UPDATED_TOOLTIP_STORAGE_KEY)},setSeenDatingPreferencesNewFeatureBadge:function(e){U({hasSeenDatingPreferencesNewFeatureBadge:e},u.HAS_SEEN_DATING_PREFERENCES_V3_NEW_FEATURE_BADGE_KEY)},setSeenDatingPreferencesLastNDSTimestamp:F,hasEnoughTimePassedSinceLastNDS:function(){return(0,s.isTimeSinceGreaterThan)(p,N)},shouldOpenDatingPreferencesAutoExpandDialog:R,resetProfileUiDatingPreferencesVoteCount:h,tooltipType:m}}},89969:function(e,t,n){var o=n(24994);
1Object.defineProperty(t,"__esModule",{value:!0}),t["default"]=void 0;var a=o(n(85715)),r=n(60850),i=n(12830),l=n(31119),u=n(2753),d=n(28895),s=n(11388);t["default"]=function(){var e=(0,u.useRef)(!1),t=(0,r.useAppDispatch)(),n=(0,d.bindActionCreators)({updateEditProfile:i.actionCreators.updateEditProfile,loadEditProfileAPI:i.actionCreators.requestEditProfileAPI,updateProfileSeekingGender:l.actionCreators.updateProfileSeekingGenderType},t),o=n.updateEditProfile,c=n.loadEditProfileAPI,f=n.updateProfileSeekingGender,p=(0,u.useState)(null),m=(0,a["default"])(p,2),g=m[0],P=m[1],y=(0,u.useState)(s.UserAccountProfileState.NotLoaded),T=(0,a["default"])(y,2),h=T[0],C=T[1],v=(0,u.useState)(!1),E=(0,a["default"])(v,2),b=E[0],_=E[1],I=function(){C(s.UserAccountProfileState.Loading),_(!0),c(function(e){P(e),C(s.UserAccountProfileState.Loaded)},function(){_(!1)},function(){C(s.UserAccountProfileState.ErrorLoading)})},S=function(e,t){C(s.UserAccountProfileState.Updating),_(!0),o(e,function(){P(e),C(s.UserAccountProfileState.Updated),t(!0)},function(){C(s.UserAccountProfileState.ErrorUpdating),t(!1)},function(){_(!1)},undefined,e.seekingGender!==(null==g?void 0:g.seekingGender))};(0,u.useEffect)(function(){e.current||(I(),e.current=!0)},[]);return{loadUserAccountProfile:I,updateSeekingGenderType:function(e,t){h!==s.UserAccountProfileState.Loaded&&h!==s.UserAccountProfileState.Updated||S(Object.assign(Object.assign({},g),{seekingGender:e}),function(n){n&&f(e),null==t||t(n)})},updateUserAccountProfile:S,userAccountProfile:g,userAccountProfileState:h,isLoading:b}}},21700:function(e,t,n){var o=n(24994);Object.defineProperty(t,"__esModule",{value:!0}),t.PHOTO_STATES=void 0;var a=o(n(99840));t.PHOTO_STATES=(0,a["default"])(["public","private","main"])},84301:function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.createAbsorbClickHandler=t.conditionalAbsorbClick=t.absorbClickGeneric=t.absorbClick=void 0;var n=t.absorbClick=function(e){(null==e?void 0:e.preventDefault)&&"function"==typeof e.preventDefault&&e.preventDefault(),(null==e?void 0:e.stopPropagation)&&"function"==typeof e.stopPropagation&&e.stopPropagation()};t.absorbClickGeneric=function(e){try{(null==e?void 0:e.preventDefault)&&"function"==typeof e.preventDefault&&e.preventDefault(),(null==e?void 0:e.stopPropagation)&&"function"==typeof e.stopPropagation&&e.stopPropagation()}catch(t){}},t.createAbsorbClickHandler=function(e){return function(t){n(t),null==e||e()}},t.conditionalAbsorbClick=function(e,t){return!!t&&(n(e),!0)}},76857:function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t["default"]=void 0;var o=n(91738);t["default"]=function(e,t){switch(e){case o.PackageType.Micros:return t.tokens;case o.PackageType.SuperLike:return t.superLikeCredits;case o.PackageType.Boost:return t.boostCredits;case o.PackageType.FirstContact:return t.firstContactCredits}}},74670:function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t["default"]=void 0;var o=n(91583),a=n(16192);t["default"]=function(){return"AU"===(0,a.getCookie)(o.CF_COUNTRY_CODE_COOKIE_NAME)}},59158:function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.handleLanguageChange=t.getLanguage=void 0;var o=n(31590),a=n(16192),r=n(91583);t.getLanguage=function(e){return e.split("-")[0]||"en"},t.handleLanguageChange=function(e){(0,r.setCookie)(Object.assign({name:r.LANGUAGE_COOKIE_NAME,value:e,expires:(0,a.addYearsToDate)(1).toUTCString(),path:"/"},(0,o.handleCookieDomain)())),setTimeout(function(){window.location.reload()},200)}},80560:function(e,t,n){var o=n(24994);Object.defineProperty(t,"__esModule",{value:!0}),t.getTierNameIcon=t.getTierIcon=void 0;var a=n(614),r=n(91738),i=o(n(2753)),l={memberLevel:undefined,iconSize:undefined,themeName:undefined,colorToken:undefined},u=(t.getTierIcon=function(e){var t=e||l,n=t.memberLevel,o=t.iconSize,a=t.themeName,r=t.colorToken;return u(n,a,r,o)},function(){var e=arguments.length>0&&arguments[0]!==undefined?arguments[0]:r.PackageType.Unknown,t=arguments.length>1&&arguments[1]!==undefined?arguments[1]:a.ColorTheme.light,n=arguments.length>
12&&arguments[2]!==undefined?arguments[2]:a.ColorToken.topGraphic100,o=arguments.length>3&&arguments[3]!==undefined?arguments[3]:144;switch(e){case r.PackageType.PlatinumfishMembership:return i["default"].createElement(a.DiamondWithStarsIcon,{themeName:t,size:o,colorToken:n});case r.PackageType.Goldfish:return i["default"].createElement(a.CrownWithSparklesIcon,{themeName:t,size:o,colorToken:n});case r.PackageType.Silverfish:default:return i["default"].createElement(a.TrophyIcon,{themeName:t,size:o,colorToken:n})}});t.getTierNameIcon=function(){var e=arguments.length>0&&arguments[0]!==undefined?arguments[0]:a.ColorTheme.light,t=arguments.length>1?arguments[1]:undefined,n=arguments.length>2&&arguments[2]!==undefined?arguments[2]:75,o=arguments.length>3&&arguments[3]!==undefined?arguments[3]:112,l=arguments.length>4&&arguments[4]!==undefined?arguments[4]:108;switch(t){case r.PackageType.Silverfish:return i["default"].createElement(a.PlusIcon,{themeName:e,size:n,alt:"POF Plus"});case r.PackageType.Goldfish:return i["default"].createElement(a.PremiumIcon,{themeName:e,size:o,alt:"POF Premium"});case r.PackageType.PlatinumfishMembership:return i["default"].createElement(a.PrestigeIcon,{themeName:e,size:l,alt:"POF Prestige"})}}},93350:function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t["default"]=function(e){return null==e?void 0:e.replace("size220","size480")}},38245:function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t["default"]=void 0;t["default"]=function(e){return e&&e.images&&0!==e.images.length&&(e.images[0].highResThumbnailUrl||e.images[0].thumbnailUrl||e.images[0].imageUrl)||""}},62589:function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t["default"]=void 0;var o=n(21700);t["default"]=function(e){if(e)return e.toLowerCase().includes("ismain=true")?o.PHOTO_STATES.main:e.toLowerCase().includes("ispublic=true")?o.PHOTO_STATES["public"]:o.PHOTO_STATES["private"]}},88955:function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t["default"]=void 0;var n=function(e){return e.hasOwnProperty("highResThumbnailUrl")?e.highResThumbnailUrl:e.imageUrl};t["default"]=function(e){var t,o,a;return{profileId:e.profileId,imageUrl:e.thumbnailUrl||n(e)||"",isUpgraded:!1,isOnline:!1,hasImage:""!==e.imageUrl,isSelfieVerified:e.isSelfieVerified||null!==(a=null===(o=null===(t=e.badges)||void 0===t?void 0:t["selfie-verified"])||void 0===o?void 0:o.isEnabled)&&void 0!==a&&a}}},47017:function(e,t,n){var o=n(24994);Object.defineProperty(t,"__esModule",{value:!0}),t["default"]=void 0;var a=o(n(8237));t["default"]=function(e){return e.images&&0!==e.images.length?e.images[0].thumbnailUrl:"".concat(a["default"].imageUrl,"/profileImages/placeholder-220.png")}},59611:function(e,t,n){var o=n(24994);Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getImageUrlFromV3Profile",{enumerable:!0,get:function(){return a["default"]}}),Object.defineProperty(t,"getPhotoStateFromUrl",{enumerable:!0,get:function(){return r["default"]}}),Object.defineProperty(t,"getProfileImageFromProfile",{enumerable:!0,get:function(){return i["default"]}}),Object.defineProperty(t,"getThumbnailUrlFromProfile",{enumerable:!0,get:function(){return l["default"]}});var a=o(n(38245)),r=o(n(62589)),i=o(n(88955)),l=o(n(47017))}}]);

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.