profinansy-ui-lib 3.7.14 → 3.7.15
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.js
CHANGED
|
@@ -6073,4 +6073,4 @@
|
|
|
6073
6073
|
}
|
|
6074
6074
|
-ms-overflow-style: none; /* IE and Edge */
|
|
6075
6075
|
scrollbar-width: none; /* Firefox */
|
|
6076
|
-
`,t.getStyleScroll=e=>({"&::-webkit-scrollbar":{width:"4px",height:"4px"},"&::-webkit-scrollbar-track":{background:e.background.secondary,borderRadius:"12px"},"&::-webkit-scrollbar-thumb":{background:e.stroke.secondary,borderRadius:"12px"}})},91197:function(e,t,n){"use strict";var r=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n);var a=Object.getOwnPropertyDescriptor(t,n);a&&!("get"in a?!t.__esModule:a.writable||a.configurable)||(a={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,a)}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),a=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),i=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)"default"!==n&&Object.prototype.hasOwnProperty.call(e,n)&&r(t,e,n);return a(t,e),t};Object.defineProperty(t,"__esModule",{value:!0}),t.ThemeProvider=t.useMode=t.unAvailablePagesTheme=void 0;const o=i(n(8156)),u=n(71603);t.unAvailablePagesTheme=["/login","/idv","/method"];const s=(0,o.createContext)({mode:"light",selectedMode:"light",toggleTheme:null,setShowTheme:null,unAvailablePagesTheme:t.unAvailablePagesTheme});t.useMode=()=>(0,o.useContext)(s);const l="selected_theme";t.ThemeProvider=({children:e,selectedTheme:n})=>{const[r,a]=(0,o.useState)(null!=n?n:"light"),[i,c]=(0,o.useState)(null!=n?n:"light");return(0,o.useEffect)((()=>{let e=!0;const n=null===window||void 0===window?void 0:window.location.pathname;t.unAvailablePagesTheme.forEach((t=>{n.includes(t)&&(e=!1)})),c(e?r:"light")}),[r]),(0,o.useEffect)((()=>{const e=(0,u.getCookie)(l);"light"!==e&&"dark"!==e||a(e)}),[]),o.default.createElement(s.Provider,{value:{mode:i,selectedMode:r,toggleTheme:e=>{a(e),(0,u.setCookie)(l,e)},setShowTheme:e=>{c(e)},unAvailablePagesTheme:t.unAvailablePagesTheme}},e)}},41899:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.palette=void 0,t.palette={light:{background:{primary:"#F4F4F9",content:"#FFFFFF",secondary:"#F7F7F9",secondaryAlpha:"#EAE9F1",field:"#FFFFFF",fieldSecondary:"#F5F4F8",accent:"#6553F5",accentSecondaryTint:"#E8E5FE",positiveTint:"#DCF6DA",warningTint:"#FFF0DB",negativeTint:"#FFF1EC",info:"#DBDCFF",bottomActions:"rgba(255, 255, 255, 0.5)"},text:{primary:"#242424",secondary:"#6A6A71",tertiary:"#A1A0AC",fourth:"#606076",contrast:"#FFFFFF",contrastThemed:"#FFFFFF",accent:"#6553F5",accentSecondary:"#9B8EFF",positive:"#34C759",warning:"#FFA000",negative:"#FF3B30",info:"#3038F5",link:"#4285F4"},icons:{primary:"#242424",secondary:"#AAAABA",tertiary:"#CCCBD3",fourth:"#606076",contrast:"#FFFFFF",contrastThemed:"#FFFFFF",contrastThemRev:"#FFFFFF",accent:"#6553F5",accentSecondary:"#9B8EFF",positive:"#34C759",warring:"#FFA000",negative:"#FF3B30",info:"#3038F5",link:"#4285F4"},stroke:{primary:"#DDDDE3",secondary:"#D6D6DE",tertiary:"#E7E7EB",contrast:"#7D7D95",accent:"#6553F5",positive:"#34C759",warning:"#FFA000",negative:"#FF3B30",info:"#3038F5"},interactiveButtons:{brandBackground:"#6553F5",brandBackgroundHover:"#4A35F3",brandText:"#FFFFFF",secondaryBrandBackground:"#E0DDFD",secondaryBrandBackgroundHover:"#B4ADFA",secondaryBrandText:"#4A35F3",outlineBrandBackground:"#FFFFFF",outlineBrandBackgroundHover:"#FFFFFF",outlineBrandText:"#6553F5",outlineBrandBorder:"#6553F5",outlineBrandBorderHover:"#3821F2",systemBackground:"#EAE9F1",systemBackgroundHover:"#CCCADD",systemText:"#464167",successBackground:"#E1F7E6",successBackgroundHover:"#BBEDC6",successText:"#299E47",warningBackground:"#FFF1D9",warningBackgroundHover:"#FFDFA8",warningText:"#E59000",criticalBackground:"#FFE2E0",criticalBackgroundHover:"#FFC6C2",criticalText:"#FF3B30",neutralBackground:"rgba(36, 36, 36, 0.50)",neutralBackgroundHover:"rgba(36, 36, 36, 0.70)",neutralText:"#FFFFFF"},interactiveControls:{accent:"#F0EFF3",secondary:"#FFFFFF",supportive:"#E8E8ED",brand:"#6553F5",brandAlpha:"#4A35F3",accentDark:"#19181B"},other:{orange:"#FFAD30",green:"#A0DD1E",olive:"#DBDE43",violet:"#6E59EF",red:"#EB343F",red2:"#FF4747",pink:"#F969FC",turquoise:"#2ED0C7",blue:"#72E3E3",mediumBlue:"#58C9E2",darkBlue:"#28C6E9",lightBlue:"#4285F4",navyBlue:"#11408E",lightBlueTint:"rgba(66, 133, 244, 0.10)",gray:"rgba(36, 36, 36, 0.50)",orangeTint:"#FFF9EF",greenTint:"#F8FDED",oliveTint:"#FCFDF0",violetTint:"#F4F2FE",redTint:"#FEEFF0",pinkTint:"#FFF3FF",turquoiseTint:"#EFFCFB",darkBlueTint:"#EEF8FB",black:"#111011"},shadow:{basicDefault:"0px 14px 20px -4px rgba(87, 87, 87, 0.10)",basicHover:"0px 12px 28px -3px rgba(87, 87, 87, 0.20)",basicDrag:"0px 12px 32px -3px rgba(87, 87, 87, 0.32)",overlay:"0px 16px 40px -3px rgba(58, 57, 60, 0.28)"},statesBackground:{tabsHover:"#F6F6F6",tabsActive:"#383838",tabsActiveHover:"#242424",accentHover:"#7665FF",accentActive:"#5D48F5",field:"rgba(0, 0, 0, 0.06)",secondaryAlphaActive:"#DCDCDC",secondaryAlphaHover:"#E7E7E7",listHover:"#F6F6F6",notificationHover:"#F6F6F6",notificationHoverError:"#F6F6F6",sideBarActive:"#111011"},gradient:{gradient_1:"linear-gradient(90deg, #f4f4f9 0%, rgba(244, 244, 249, 0) 100%)",gradient_2:"linear-gradient(90deg, #FFF 0%, rgba(255, 255, 255, 0.00) 100%)",gradient_3:"linear-gradient(90deg, rgba(244, 244, 249, 0) 0%, #f4f4f9 100%)",gradient_4:"linear-gradient(90deg, rgba(255, 255, 255, 0.00) 0%, #FFF 100%)",top:"linear-gradient(180deg, #FFF 0%, rgba(255, 255, 255, 0.95) 52.08%, rgba(255, 255, 255, 0.00) 100%)",bottom:"linear-gradient(180deg, rgba(255, 255, 255, 0.00) 0%, rgba(255, 255, 255, 0.95) 53.12%, #FFF 100%)"},club:{primary:"#3C3993",primaryHover:"#5853E3",secondary:"#4833F4",secondaryHover:"#200DB8",buttonBackground:"#E7E7F2",buttonBackgroundHover:"#CAC9E1",green:"#29B279",primaryGradient:"linear-gradient(54.06deg, #162331 10.84%, #3C3993 98.2%)",secondaryGradient:"linear-gradient(90.24deg, #B92A78 0%, #6699FB 99.58%)"}},dark:{background:{primary:"#181818",content:"#202020",secondary:"#2B2B2B",secondaryAlpha:"#333333",field:"#2B2B2B",fieldSecondary:"#323232",accent:"#9B8EFF",accentSecondaryTint:"#2B293A",positiveTint:"#384436",warningTint:"#453B2B",negativeTint:"#362D2A",info:"#20213B",bottomActions:"rgba(24, 24, 24, 0.85)"},text:{primary:"#FFFFFF",secondary:"#BABAC6",tertiary:"#73738C",fourth:"#E0E0E6",contrast:"#242424",contrastThemed:"#FFFFFF",accent:"#9B8EFF",accentSecondary:"#756CBB",positive:"#30D158",warning:"#F49B06",negative:"#FF452A",info:"#3B42EA",link:"#4285F4"},icons:{primary:"#D9D9D9",secondary:"#BABAC6",tertiary:"#3E3E4C",fourth:"#E0E0E6",contrast:"#242424",contrastThemed:"#FFFFFF",contrastThemRev:"#454545",accent:"#9B8EFF",accentSecondary:"#756CBB",positive:"#30D158",warring:"#F49B06",negative:"#FF452A",info:"#3B42EA",link:"#4285F4"},stroke:{primary:"#3E3E4C",secondary:"#7D7D95",tertiary:"#454554",contrast:"#535365",accent:"#9B8EFF",positive:"#30D158",warning:"#F49B06",negative:"#FF453A",info:"#3B42EA"},interactiveButtons:{brandBackground:"#7B61FF",brandBackgroundHover:"#6142FF",brandText:"#FFFFFF",secondaryBrandBackground:"#E5DFFF",secondaryBrandBackgroundHover:"#BDADFF",secondaryBrandText:"#6142FF",outlineBrandBackground:"#202020",outlineBrandBackgroundHover:"#202020",outlineBrandText:"#9B8EFF",outlineBrandBorder:"#9B8EFF",outlineBrandBorderHover:"#9B8EFF",systemBackground:"#2E2E38",systemBackgroundHover:"#454554",systemText:"#CCCADD",successBackground:"#223B28",successBackgroundHover:"#2B4A32",successText:"#2CAA4C",warningBackground:"#40321C",warningBackgroundHover:"#634E2B",warningText:"#F99E06",criticalBackground:"#412621",criticalBackgroundHover:"#623932",criticalText:"#FF5A42",neutralBackground:"rgba(255, 255, 255, 0.50)",neutralBackgroundHover:"rgba(255, 255, 255, 0.70)",neutralText:"#FFFFFF"},interactiveControls:{accent:"#39383C",secondary:"#242424",supportive:"#2F2F37",brand:"#7B61FF",brandAlpha:"#6142FF",accentDark:"#FFFFFF"},other:{orange:"#E79D2D",green:"#91C81C",olive:"#C1C339",violet:"#6E59EF",red:"#E8343F",red2:"#F02D3A",pink:"#E05DE2",turquoise:"#229E97",blue:"#61C5C5",mediumBlue:"#51BBD2",darkBlue:"#21AFCE",lightBlue:"#317AF2",navyBlue:"#C9DEFF",lightBlueTint:"rgba(49, 122, 242, 0.04)",gray:"rgba(48, 48, 48, 0.50)",orangeTint:"rgba(255, 173, 48, 0.04)",greenTint:"rgba(160, 221, 30, 0.04)",oliveTint:"rgba(219, 222, 67, 0.04)",violetTint:"rgba(110, 89, 239, 0.04)",redTint:"rgba(235, 52, 63, 0.04)",pinkTint:"rgba(249, 105, 252, 0.04)",turquoiseTint:"rgba(46, 208, 199, 0.04)",darkBlueTint:"rgba(33, 175, 206, 0.04)",black:"#242325"},shadow:{basicDefault:null,basicHover:null,basicDrag:null,overlay:null},statesBackground:{tabsHover:"#383838",tabsActive:"#FFFFFF",tabsActiveHover:"#F6F6F6",accentHover:"#614DF5",accentActive:"#9284FF",field:"rgba(255, 255, 255, 0.06)",secondaryAlphaActive:"#505050",secondaryAlphaHover:"#404040",listHover:"#303030",notificationHover:"#303030",notificationHoverError:"#303030",sideBarActive:"#333036"},gradient:{gradient_1:"linear-gradient(90deg, #181818 0%, rgba(24, 24, 24, 0.00) 100%)",gradient_2:"linear-gradient(90deg, #2B2B2B 0%, rgba(43, 43, 43, 0.00) 100%)",gradient_3:"linear-gradient(90deg, rgba(24, 24, 24, 0.00) 0%, #181818 100%)",gradient_4:"linear-gradient(90deg, rgba(43, 43, 43, 0.00) 0%, #2B2B2B 100%)",top:"linear-gradient(180deg, #2B2B2B 0%, rgba(43, 43, 43, 0.95) 53.65%, rgba(43, 43, 43, 0.00) 100%)",bottom:" linear-gradient(180deg, rgba(43, 43, 43, 0.00) 0%, rgba(43, 43, 43, 0.95) 52.08%, #2B2B2B 100%)"},club:{primary:"#5854C6",primaryHover:"#7672F6",secondary:"#8C7CFF",secondaryHover:"#614FED",buttonBackground:"#282837",buttonBackgroundHover:"#2E2C60",green:"#2FCA89",primaryGradient:"linear-gradient(54.11deg, #2C2562 6.32%, #4641BF 116.13%)",secondaryGradient:"linear-gradient(90.24deg, #CE2680 0%, #4080FD 99.58%)"}}}},90259:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.useGetHostnames=t.getProfinansyHost=t.getLMSHost=t.getFeedHost=t.ABOUT_LINK=void 0;const a=r(n(11595));t.ABOUT_LINK="https://sites.profinansy.ru/about_profinansyru",t.getFeedHost=(e,t)=>{if("lenta"===e)return"";const n=i();return n||(o()?"https://lenta.qa.profinansy.dev":t?"https://lenta.test.profinansy.ru":"https://lenta.profinansy.ru")},t.getLMSHost=(e,t)=>{if("lms"===e)return"";const n=i();return n||(o()?"https://frontend.qa.profinansy.dev":t?"https://test.profinansy.study":"https://profinansy.ru")},t.getProfinansyHost=(e,t)=>{if("profinansy"===e)return"";const n=i();return n||(o()?"https://frontend.qa.profinansy.dev":t?"https://frontend.test.profinansy.ru":"https://profinansy.ru")};const i=()=>a.default&&window.location.origin.includes("localhost")?window.location.origin:null,o=()=>!(!a.default||!window.location.origin.includes(".qa."));t.useGetHostnames=(e,n)=>{const r=(0,t.getProfinansyHost)(n,e),a=(0,t.getFeedHost)(n,e);return{hostnameLMS:(0,t.getLMSHost)(n,e),hostname:r,hostnameLenta:a}}},63584:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.getCalculatorLinks=void 0;const a=r(n(88439)),i=r(n(18260)),o=r(n(87174)),u=r(n(97890)),s=r(n(99586)),l=r(n(52184)),c=r(n(42964)),d=r(n(43961)),f=r(n(81294)),m=r(n(17210)),p=r(n(52209)),h=r(n(73944));t.getCalculatorLinks=e=>({name:"calculators",Icon:a.default,href:e+"/calculators/compound-interest",subPages:[{name:"calculator_compound_interest",Icon:i.default,href:e+"/calculators/compound-interest"},{name:"calculator_mortgage",Icon:o.default,href:e+"/calculators/mortgage"},{name:"calculator_credit",Icon:u.default,href:e+"/calculators/credit"},{name:"calculator_goals",Icon:s.default,href:e+"/calculators/goals"},{name:"calculator_refinance",Icon:l.default,href:e+"/calculators/refinance"},{name:"calculator_bonds",Icon:c.default,href:e+"/calculators/bonds"},{name:"calculator_currency_converter",Icon:d.default,href:e+"/calculators/currency-converter"},{name:"calculator_savings",Icon:f.default,href:e+"/calculators/savings"},{name:"calculator_vacation",Icon:h.default,href:e+"/calculators/vacation"},{name:"calculator_deposit",Icon:m.default,href:e+"/calculators/deposit"},{name:"calculator_inflation",Icon:p.default,href:e+"/calculators/inflation"}]})},84929:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.getClubLinks=void 0;const a=r(n(4624));t.getClubLinks=e=>({name:"club",Icon:a.default,href:e+"/club",hiddenFromChildren:!0,subPages:[{name:"club_main",href:e+"/club"},{name:"club_about",href:e+"/club/about"},{name:"club_schedule",href:e+"/club/schedule"},{name:"club_ideas",href:e+"/club/investidea"},{name:"club_choice",href:e+"/club/profinansy-choice"},{name:"club_public_account",href:e+"/club/public-account"},{name:"club_portfolios",href:e+"/club/club-portfolios"},{name:"club_selections",href:e+"/club/club-selections"},{name:"club_weekly_review",href:e+"/club/updates/weekly_review"},{name:"club_market_ru",href:e+"/club/updates/market_ru"},{name:"club_bonds",href:e+"/club/updates/bonds_club"},{name:"club_roller_coaster",href:e+"/club/updates/roller-coaster"},{name:"club_review_companies",href:e+"/club/updates/analytical-previ"},{name:"club_crypto",href:e+"/club/updates/crypto"},{name:"club_portfolios_analytic",href:e+"/club/updates/portfolios-analy"},{name:"club_invited_speakers",href:e+"/club/updates/invited-speakers"},{name:"club_roller_cink",href:e+"/club/education/cink"},{name:"club_faq",href:e+"/club/updates/faq_club"},{name:"club_client_history",href:e+"/club/updates/client_history"},{name:"club_offline_meetings",href:e+"/club/updates/offline-meetings"},{name:"club_kink",href:e+"/club/education/kink"},{name:"club_rkink",href:e+"/club/education/rkink"},{name:"club_help",href:e+"/club/help"}]})},85336:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.getEducationLinks=void 0;const a=r(n(2098)),i=r(n(61581)),o=r(n(30523)),u=r(n(11564)),s=r(n(24754)),l=r(n(32533)),c=r(n(89597)),d=r(n(6295)),f=r(n(4234)),m=r(n(27839)),p=r(n(90063)),h=r(n(27841)),g=n(90259);t.getEducationLinks=(e,t,n,r,v,b)=>{const y=b?`/courses/course/${b}`:"/courses";return{name:"courses",Icon:a.default,href:v?g.ABOUT_LINK:n+y,subPages:[{name:"courses_main",Icon:a.default,href:v?g.ABOUT_LINK:n+y,locked:v},{name:"courses_shop",Icon:i.default,isNew:!0,href:n+"/course-store",innerPages:[`${n}/course-store`],hiddenFromChildren:!0,subPages:[{name:"courses_list",href:n+"/course-store"},{name:"courses_basket",href:v?g.ABOUT_LINK:n+"/course-store/cart",locked:v},{name:"courses_orders",href:v?g.ABOUT_LINK:n+"/course-store/my-orders",locked:v}]},{name:"courses_how_use",Icon:o.default,href:e+"/training-section/training/use_wallet",hiddenFromChildren:!0,subPages:[{name:"courses_budget",href:e+"/training-section/training/use_wallet",innerPages:[`${e}/training-section/training/use_wallet`]},{name:"courses_portfolio",href:e+"/training-section/training/use_portfolios",innerPages:[`${e}/training-section/training/use_portfolios`]},{name:"courses_investing",href:e+"/training-section/training/use_investment",innerPages:[`${e}/training-section/training/use_investment`]},{name:"courses_direct_line",href:e+"/training-section/training/use_broadcast",innerPages:[`${e}/training-section/training/use_investment`]}]},{name:"courses_leaders_table",Icon:u.default,href:v?g.ABOUT_LINK:e+"/cabinet-ratings/leaderboard",locked:v,innerPages:[`${e}/cabinet-ratings/tasks`],hiddenFromChildren:!0},{name:"courses_graduate",Icon:s.default,isNotVisible:!r,href:e+"/cabinet-ratings/office",innerPages:[`${e}/webinar`],hiddenFromChildren:!0},{name:"courses_child",Icon:l.default,href:t+"/children-and-parents?side_menu_type=education",hiddenFromChildren:!0},{name:"courses_blog",Icon:c.default,href:t+"/blog?side_menu_type=education",hiddenFromChildren:!0},{name:"courses_investology",Icon:d.default,href:t+"/investology?side_menu_type=education",hiddenFromChildren:!0},{name:"courses_library",Icon:f.default,href:t+"/library?side_menu_type=education",hiddenFromChildren:!0},{name:"courses_podcasts",Icon:m.default,href:t+"/podcasts?side_menu_type=education",hiddenFromChildren:!0},{name:"courses_youtube",Icon:p.default,href:t+"/youtube?side_menu_type=education",hiddenFromChildren:!0},{name:"courses_kfp",Icon:h.default,href:"https://kfp-v2.profinansy.ru/",hiddenFromChildren:!0}]}}},43016:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.getFeedLinks=void 0;const a=r(n(88439));t.getFeedLinks=e=>({name:"feed",Icon:a.default,href:e,subPages:[{name:"feed_community",href:e+"/community"},{name:"feed_blog",href:e+"/blog"},{name:"feed_news",href:e+"/news"},{name:"feed_selections",href:e+"/selections"},{name:"feed_investology",href:e+"/investology"},{name:"feed_podcasts",href:e+"/podcasts"},{name:"feed_analytic",href:e+"/analytical-reviews"},{name:"feed_strategy",href:e+"/strategies"},{name:"feed_youtube",href:e+"/youtube"},{name:"feed_new_features",href:e+"/features"},{name:"feed_library",href:e+"/library"}]})},48822:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.getIdvLinks=void 0;const a=r(n(16577)),i=r(n(2104)),o=r(n(75606)),u=r(n(50522)),s=r(n(45217)),l=r(n(4624)),c=r(n(26926));t.getIdvLinks=e=>({name:"idv",href:e+"/idv",isWithoutSubpage:!0,hiddenFromChildren:!0,Icon:c.default,subPages:[{name:"idv_main",Icon:a.default,href:e+"/idv"},{name:"idv_lessons",Icon:i.default,href:e+"/idv/lessons",innerPages:[`${e}/idv/lessons`]},{name:"idv_tournament",Icon:l.default,href:e+"/idv/tournament",innerPages:[`${e}/idv/tournament`]},{name:"idv_invest_simulator",Icon:o.default,href:e+"/idv/invest-simulator/structure",subPages:[{name:"idv_compound",href:e+"/idv/invest-simulator/structure"},{name:"idv_transactions",href:e+"/idv/invest-simulator/deals"},{name:"idv_review",href:e+"/idv/invest-simulator/review"},{name:"idv_analytics",href:e+"/idv/invest-simulator/analytics"}]},{name:"idv_search",Icon:u.default,href:e+"/idv/search-investments/stocks",subPages:[{name:"idv_search_stocks",href:e+"/idv/search-investments/stocks"},{name:"idv_search_bonds",href:e+"/idv/search-investments/bonds"},{name:"idv_search_etf",href:e+"/idv/search-investments/etfs"}]},{name:"idv_schedule",Icon:s.default,href:e+"/idv/schedule"},{name:"idv_achievements",Icon:c.default,href:e+"/idv/achievements"}]})},25305:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getIdvLinks=t.getMyMoney=t.getInvestmentsLinks=t.getEducationLinks=t.getCalculatorLinks=t.getClubLinks=void 0;var r=n(84929);Object.defineProperty(t,"getClubLinks",{enumerable:!0,get:function(){return r.getClubLinks}});var a=n(63584);Object.defineProperty(t,"getCalculatorLinks",{enumerable:!0,get:function(){return a.getCalculatorLinks}});var i=n(85336);Object.defineProperty(t,"getEducationLinks",{enumerable:!0,get:function(){return i.getEducationLinks}});var o=n(96127);Object.defineProperty(t,"getInvestmentsLinks",{enumerable:!0,get:function(){return o.getInvestmentsLinks}});var u=n(73741);Object.defineProperty(t,"getMyMoney",{enumerable:!0,get:function(){return u.getMyMoney}});var s=n(48822);Object.defineProperty(t,"getIdvLinks",{enumerable:!0,get:function(){return s.getIdvLinks}})},96127:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.getInvestmentsLinks=void 0;const a=r(n(16577)),i=r(n(36284)),o=r(n(75606)),u=r(n(45217)),s=r(n(59928)),l=r(n(74924)),c=r(n(52209)),d=r(n(23735)),f=r(n(43944)),m=r(n(76870)),p=r(n(31994)),h=r(n(87664)),g=r(n(20573)),v=r(n(60208)),b=r(n(5746));t.getInvestmentsLinks=(e,t,n,r)=>({name:"investments",Icon:m.default,isWithoutSubpage:!0,href:n?e+"/login":e+"/market/dashboard",subPages:[{name:"review",Icon:a.default,isForeignAccess:!0,href:n?e+"/login":e+"/market/dashboard",locked:n,subPages:[{name:"all_review",href:n?e+"/login":e+"/market/dashboard",locked:n},{name:"dashboard_stocks",href:n?e+"/login":e+"/market/dashboard/rus-stocks",locked:n,innerPages:["/market/dashboard/usa-stocks"]},{name:"dashboard_bonds",href:n?e+"/login":e+"/market/dashboard/rus-bonds",locked:n,innerPages:["/market/dashboard/usa-bonds"]},{name:"dashboard_etf",href:n?e+"/login":e+"/market/dashboard/rus-etf",locked:n,innerPages:["/market/dashboard/usa-etf"]}]},{name:"portfolios",Icon:o.default,href:r?e+"/market/portfolios":"https://profinansy.ru/payment",locked:n,unavailable:!r,innerPages:[`${e}/market/portfolios`],description:"Управляйте своими инвестициями в одном месте. Автозагрузка сделок с брокерских счетов сэкономит ваше время. Создавайте портфели для разных стратегий, отслеживайте их динамику и анализируйте эффективность. Доступ к аналитике и прогнозам, а также рекомендации по управлению портфелем."},{name:"portfolios_list",Icon:i.default,href:t+"/portfolios?side_menu_type=investment"},{name:"selections",Icon:h.default,href:t+"/selections?side_menu_type=investment"},{name:"calendars",href:n?e+"/login":e+"/market/calendars/dividends",Icon:u.default,locked:n,subPages:[{name:"dividend_calendar",href:n?e+"/login":e+"/market/calendars/dividends",locked:n,innerPages:["/market/calendars/retroDividends"]},{name:"economic_calendar",href:n?e+"/login":e+"/market/calendars/economic",locked:n},{name:"bonds_calendar",href:n?e+"/login":e+"/market/calendars/bonds",locked:n},{name:"coupon_calendar",href:n?e+"/login":e+"/market/calendars/coupons",locked:n},{name:"report_calendar",href:n?e+"/login":e+"/market/calendars/reports",locked:n}]},{name:"ipo_calendar",href:r?e+"/market/calendars/IPO":"https://profinansy.ru/payment",Icon:v.default,locked:n,unavailable:!r,description:"Готовая аналитика компаний, которые выходят на IPO. Уникальная методика pro.finansy определяет, стоит ли участвовать в IPO каждой компании. Методика проверена более чем на 2 000 компаний. С сервисом IPO вы будете участвовать только в прибыльных размещениях акций!"},{name:"screener",Icon:s.default,href:r?e+"/market/screener/stocks":"https://profinansy.ru/payment",locked:n,unavailable:!r,isHit:!0,description:"170 000 акций, облигаций и фондов всего мира. Ищите инструменты более чем по 100 фильтрам. Нет времени на поиски? Предлагаем готовые фильтры от pro.finansy – самые доходные инструменты под разные стратегии. По каждому активу подробная аналитика: отчетности, готовый фундаментальный и технический анализ, дивиденды и купоны.",innerPages:["/market/screener"],subPages:[{name:"stocks_screener",href:n?"https://profinansy.ru/payment":e+"/market/screener/stocks",locked:n,unavailable:!r},{name:"bonds_screener",href:n?"https://profinansy.ru/payment":e+"/market/screener/bonds",locked:n,unavailable:!r},{name:"etf_screener",href:n?"https://profinansy.ru/payment":e+"/market/screener/etfs",locked:n,unavailable:!r}]},{name:"asset_comparison",Icon:l.default,href:r?e+"/market/asset-comparison/stocks":"https://profinansy.ru/payment",locked:n,unavailable:!r,description:"Выбирайте самые прибыльные акции, облигации и фонды. Умный сервис подскажет, какая бумага выигрывает по всем параметрам в сравнении с другими инструментами.",innerPages:["/market/asset-comparison"],subPages:[{name:"asset_comparison_stocks",href:n?"https://profinansy.ru/payment":e+"/market/asset-comparison/stocks",locked:n,unavailable:!r},{name:"asset_comparison_bonds",href:n?"https://profinansy.ru/payment":e+"/market/asset-comparison/bonds",locked:n,unavailable:!r},{name:"asset_comparison_etf",href:n?"https://profinansy.ru/payment":e+"/market/asset-comparison/etfs",locked:n,unavailable:!r}]},{name:"passive_income",Icon:f.default,href:r?e+"/market/passive-income/bonds":"https://profinansy.ru/payment",locked:n,unavailable:!r,isHit:!0,description:"Планируйте пассивный доход на год вперед! Получите готовый ежемесячный график купонных выплат по вашим облигациям. Сервис рассчитает средний ежемесячный доход и среднегодовую ставку купона в вашем облигационном портфеле.",innerPages:["/market/passive-income/common"],subPages:[{name:"passive_income_stocks",href:n?"https://profinansy.ru/payment":e+"/market/passive-income/stocks",locked:n,isHit:!0,unavailable:!r},{name:"passive_income_bonds",href:n?"https://profinansy.ru/payment":e+"/market/passive-income/bonds",locked:n,unavailable:!r}]},{name:"economic_cycles",Icon:c.default,href:r?e+"/market/economic-cycle":"https://profinansy.ru/payment",locked:n,unavailable:!r,description:"Анализируем состояние экономики 30 стран за вас! Готовый разбор 11 секторов экономики: в какие секторы вкладываться в каждой фазе экономического цикла. Подборка акций, которые принесут прибыль в период роста, пика, спада и рецессии."},{name:"heat_map",Icon:p.default,href:n?e+"/login":e+"/market/heatmap",locked:n},{name:"rrg",href:r?e+"/market/trend-indicator":"https://profinansy.ru/payment",Icon:b.default,locked:n,unavailable:!r,isNew:!0,description:"Находите лучшие моменты для сделок! Индикатор тренда подскажет, какие активы сейчас укрепляются и готовы к росту, а какие ослабевают. Используйте данные индикатора, чтобы вовремя принимать решения о покупке или продаже актива."},{name:"brokers",Icon:d.default,href:e+"/market/brokers-list"},{name:"news",Icon:g.default,href:t+"/news?side_menu_type=investment"}]})},64781:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.getMethodLinks=void 0;const a=r(n(16577)),i=r(n(50522)),o=r(n(15242)),u=r(n(75606)),s=r(n(88439)),l=r(n(18260)),c=r(n(87174)),d=r(n(97890)),f=r(n(99586)),m=r(n(52184)),p=r(n(4624)),h=r(n(42964)),g=r(n(43961)),v=r(n(81294)),b=r(n(17210)),y=r(n(2104)),w=r(n(72444)),M=r(n(53771)),_=r(n(24754)),k=r(n(21205));t.getMethodLinks=(e,t)=>({name:"method",href:e+"/method",isWithoutSubpage:!0,Icon:o.default,hiddenFromChildren:!0,subPages:[{name:"method_main",Icon:a.default,href:e+"/method"},{name:"method_lessons",Icon:y.default,href:e+"/method/lessons",innerPages:[`${e}/method/lessons`]},{name:"method_tasks",Icon:w.default,href:e+"/method/tasks"},{name:"method_materials",Icon:M.default,href:e+"/method/materials"},{name:"method_tournament",Icon:p.default,href:e+"/method/tournament",unavailable:!t,isOpenUnavailable:!0,isDeleteCommonNavigation:!0},{name:"method_kfp",Icon:_.default,href:"https://kfp-v2.profinansy.ru/",isTarget:"_blank"},{name:"method_budget",Icon:k.default,href:"https://profinansy.ru/wallet/accounts",isTarget:"_blank"},{name:"method_screener",Icon:i.default,href:e+"/method/screener/stocks",unavailable:!t,isOpenUnavailable:!0,innerPages:["/method/screener"]},{name:"method_portfolios",Icon:u.default,href:e+"/method/portfolios",innerPages:["method/portfolios/structure","method/portfolios/deals","method/portfolios/analytics"],unavailable:!t,isOpenUnavailable:!0},{name:"calculators",Icon:s.default,href:e+"/method/calculators/compound-interest",isDeleteCommonNavigation:!0,subPages:[{name:"calculator_compound_interest",Icon:l.default,href:e+"/method/calculators/compound-interest"},{name:"calculator_mortgage",Icon:c.default,href:e+"/method/calculators/mortgage"},{name:"calculator_credit",Icon:d.default,href:e+"/method/calculators/credit"},{name:"calculator_goals",Icon:f.default,href:e+"/method/calculators/goals"},{name:"calculator_refinance",Icon:m.default,href:e+"/method/calculators/refinance"},{name:"calculator_bonds",Icon:h.default,href:e+"/method/calculators/bonds"},{name:"calculator_currency_converter",Icon:g.default,href:e+"/method/calculators/currency-converter"},{name:"calculator_savings",Icon:v.default,href:e+"/method/calculators/savings"},{name:"calculator_deposit",Icon:b.default,href:e+"/method/calculators/deposit"}]}]})},73741:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.getMyMoney=void 0;const a=r(n(18949)),i=r(n(21205)),o=r(n(17342)),u=r(n(87168)),s=r(n(91634));t.getMyMoney=(e,t)=>({name:"myMoney",Icon:i.default,href:t?e+"/login":e+"/wallet",subPages:[{name:"myMoney_budget",Icon:a.default,href:t?e+"/login":e+"/wallet/accounts",locked:t,subPages:[{name:"myMoney_accounts",href:t?e+"/login":e+"/wallet/accounts"},{name:"myMoney_accumulations",href:t?e+"/login":e+"/wallet/accumulations"},{name:"myMoney_credits",href:t?e+"/login":e+"/wallet/credits"}]},{name:"myMoney_goals",Icon:u.default,href:t?e+"/login":e+"/my-money/goals/active",locked:t,subPages:[{name:"myMoney_goals_active",href:t?e+"/login":e+"/my-money/goals/active"},{name:"myMoney_goals_accomplished",href:t?e+"/login":e+"/my-money/goals/accomplished"}]},{name:"myMoney_desires",Icon:o.default,href:t?e+"/login":e+"/my-money/desires/active",locked:t,subPages:[{name:"myMoney_desires_active",href:t?e+"/login":e+"/my-money/desires/active"},{name:"myMoney_desires_accomplished",href:t?e+"/login":e+"/my-money/desires/accomplished"}]},{name:"myMoney_checklists",Icon:s.default,href:t?e+"/login":e+"/my-money/checklists/all",locked:t,subPages:[{name:"myMoney_checklists_all",href:t?e+"/login":e+"/my-money/checklists/all"},{name:"myMoney_checklists_active",href:t?e+"/login":e+"/my-money/checklists/active"},{name:"myMoney_checklists_accomplished",href:t?e+"/login":e+"/my-money/checklists/completed"}]}]})},28700:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getOther=void 0;const r=n(43016),a=n(63584),i=n(89483);t.getOther=(e,t,n)=>({name:"more",subPages:[(0,a.getCalculatorLinks)(e),(0,r.getFeedLinks)(t),(0,i.getProfileLinks)(e),{name:"partner",href:n?e+"/login":e+"/ref-account",locked:n},{name:"vacancies",href:"https://sites.profinansy.ru/vacancies"},{name:"scammers",href:"https://profinansy.net/counteringfraud#schemes"},{name:"about_company",href:"https://sites.profinansy.ru/about_company"},{name:"client_support",href:"https://t.me/profinansy_help_bot?start=hz585hb"}]})},89483:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.getProfileLinks=void 0;const a=r(n(16768)),i=r(n(61786)),o=r(n(89597)),u=r(n(41607)),s=r(n(24395)),l=r(n(50458));t.getProfileLinks=e=>({name:"profile",href:e+"/account/profile",subPages:[{name:"profile_profile",Icon:a.default,href:e+"/account/profile"},{name:"profile_publications",Icon:i.default,href:e+"/account/publications",hiddenFromChildren:!0},{name:"profile_groups",Icon:o.default,href:e+"/account/chats"},{name:"profile_children_cabinet",href:e+"/account/children"},{name:"profile_channels",Icon:u.default,href:e+"/account/channels",hiddenFromChildren:!0},{name:"profile_favourite",Icon:s.default,href:e+"/account/favorite/instruments"},{name:"profile_bank",isNew:!0,href:e+"/account/bank-ideas",hiddenFromChildren:!0},{name:"profile_notifications",Icon:l.default,href:e+"/account/notifications"},{name:"profile_reviews",isNew:!0,href:e+"/account/reviews/all",innerPages:[`${e}/account/reviews/my-reviews`],hiddenFromChildren:!0}]})},71603:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.deleteCookie=t.setCookie=t.getCookie=void 0;const a=r(n(11595));t.getCookie=e=>{if(a.default){const t=document.cookie.match(new RegExp("(?:^|; )"+e.replace(/([.$?*|{}()[\]\\/+^])/g,"\\$1")+"=([^;]*)"));return t?decodeURIComponent(t[1]):void 0}},t.setCookie=(e,t,n={})=>{const r=Object.assign({path:"/","max-age":31104e3},n),a=window.location.origin;a.includes("localhost")?r.domain="localhost":a.includes("profinansy.ae")?r.domain=".profinansy.ae":r.domain=".profinansy.ru",n.expires instanceof Date&&(r.expires=n.expires.toUTCString());let i=encodeURIComponent(e)+"="+encodeURIComponent(t);for(const e in r){i+="; "+e;const t=r[e];!0!==t&&(i+="="+t)}document.cookie=i},t.deleteCookie=e=>{(0,t.setCookie)(e,"",{"max-age":-1})}},41230:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.debounce=void 0,t.debounce=(e,t)=>{let n;return(...r)=>{clearTimeout(n),n=setTimeout((()=>{e(...r)}),t)}}},94884:(e,t)=>{"use strict";var n;Object.defineProperty(t,"__esModule",{value:!0}),t.BusEvent=void 0,(n=t.BusEvent||(t.BusEvent={})).SearchOpen="search/open",n.SideMenuOpen="sideMenu/open",n.SearchText="search/text",n.SearchInputValue="search/input-value",n.refreshFavourite="favourites/refresh",n.BasketShopRemove="basket/shop-remove",n.BasketHeaderRemove="basket/header-remove",n.BasketAddItems="basket/add-items"},3173:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default={events:{},subscribe:function(e,t){return this.events[e]||(this.events[e]=[]),this.events[e].push(t),()=>{this.unsubscribe(e,t)}},publish:function(e,t){this.events[e]&&this.events[e].forEach((e=>{e(t)}))},unsubscribe:function(e,t){this.events[e]&&(this.events[e]=this.events[e].filter((e=>e!==t)))}}},87777:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.formatDateDistanceToNow=void 0;const r=n(53541),a=n(51991);t.formatDateDistanceToNow=(e,t)=>{if(e)return(0,r.formatDistanceToNowStrict)(new Date(e),{addSuffix:!0,locale:"ru"===t?a.ru:a.enUS,roundingMethod:"round"})}},80492:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getCurrencySymbol=void 0,t.getCurrencySymbol=e=>{switch(e){case"USD":return"$";case"JPY":case"CNY":return"¥";case"EUR":return"€";case"RUB":return"₽";case"CHF":return"₣";case"GBP":return"£";case"GBX":return"P£";case"HKD":return"HK$";case"TRY":return"₺";case"PCT":return"%";case"шт":return"шт.";default:return""}}},9550:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.getImageFormat=void 0;const a=r(n(11595));let i=null;t.getImageFormat=(e,t)=>{if(!e||!t)return"";null===i&&function(){if(!a.default)return!0;const e=document.createElement("canvas");i=!(!e.getContext||!e.getContext("2d"))&&0==e.toDataURL("image/webp").indexOf("data:image/webp")}();const[,n,r,o]=/(.+)\/(.+)\.(.+)/.exec(e);return i?`${n}/${r}-${t}W.webp`:`${n}/${r}-${t}.${o}`}},83333:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getLocalStringNumber=t.roundNumber=void 0,t.roundNumber=(e,t=2)=>0!==e&&e?Number(e.toFixed(t)):0,t.getLocalStringNumber=(e,n=!1,r=2)=>{if(isNaN(e)||Math.abs(e)===1/0||null===e)return"-";if(Math.abs(e)<1e-6)return"0";const a=n?(0,t.roundNumber)(e,r):e,i=String(a).split(".");let o=Number(i[0]).toLocaleString("ru-RU");return i[1]&&(o+=","+i[1]),o}},1283:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getParams=void 0,t.getParams=e=>new URLSearchParams(window.location.search).get(e)},77940:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getUserRules=void 0,t.getUserRules=e=>({isGuest:"guest"===e,isAuth:"guest"!==e,isPaid:"paid"===e})},11595:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default="undefined"!=typeof window},53310:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getToken=t.parseJwt=void 0;const r=n(71603);t.parseJwt=e=>{const t=e.split(".")[1].replace(/-/g,"+").replace(/_/g,"/"),n=decodeURIComponent(window.atob(t).split("").map((function(e){return"%"+("00"+e.charCodeAt(0).toString(16)).slice(-2)})).join(""));return JSON.parse(n)},t.getToken=()=>{const e=window.location.hostname.includes("test")?"dev_web_tk":"web_tk";return(0,r.getCookie)(e)}},8156:t=>{"use strict";t.exports=e},11608:e=>{"use strict";e.exports=t},92378:(e,t,n)=>{"use strict";n.d(t,{Ct:()=>i,Fp:()=>u,Go:()=>w,I4:()=>h,JB:()=>x,KX:()=>M,Qq:()=>g,Rn:()=>p,VV:()=>o,Wh:()=>v,gy:()=>y,hp:()=>m,i8:()=>b,k3:()=>f,ku:()=>d,mA:()=>r,pw:()=>_,uZ:()=>c,yd:()=>k});const r=["top","right","bottom","left"],a=["start","end"],i=r.reduce(((e,t)=>e.concat(t,t+"-"+a[0],t+"-"+a[1])),[]),o=Math.min,u=Math.max,s=(Math.round,Math.floor,{left:"right",right:"left",bottom:"top",top:"bottom"}),l={start:"end",end:"start"};function c(e,t,n){return u(e,o(t,n))}function d(e,t){return"function"==typeof e?e(t):e}function f(e){return e.split("-")[0]}function m(e){return e.split("-")[1]}function p(e){return"x"===e?"y":"x"}function h(e){return"y"===e?"height":"width"}function g(e){return["top","bottom"].includes(f(e))?"y":"x"}function v(e){return p(g(e))}function b(e,t,n){void 0===n&&(n=!1);const r=m(e),a=v(e),i=h(a);let o="x"===a?r===(n?"end":"start")?"right":"left":"start"===r?"bottom":"top";return t.reference[i]>t.floating[i]&&(o=_(o)),[o,_(o)]}function y(e){const t=_(e);return[w(e),t,w(t)]}function w(e){return e.replace(/start|end/g,(e=>l[e]))}function M(e,t,n,r){const a=m(e);let i=function(e,t,n){const r=["left","right"],a=["right","left"],i=["top","bottom"],o=["bottom","top"];switch(e){case"top":case"bottom":return n?t?a:r:t?r:a;case"left":case"right":return t?i:o;default:return[]}}(f(e),"start"===n,r);return a&&(i=i.map((e=>e+"-"+a)),t&&(i=i.concat(i.map(w)))),i}function _(e){return e.replace(/left|right|bottom|top/g,(e=>s[e]))}function k(e){return"number"!=typeof e?function(e){return{top:0,right:0,bottom:0,left:0,...e}}(e):{top:e,right:e,bottom:e,left:e}}function x(e){const{x:t,y:n,width:r,height:a}=e;return{width:r,height:a,top:n,left:t,right:t+r,bottom:n+a,x:t,y:n}}},86:(e,t,n)=>{"use strict";function r(e){return r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},r(e)}n.d(t,{Z:()=>r})},4424:(e,t,n)=>{"use strict";let r,a;n.r(t),n.d(t,{deleteDB:()=>h,openDB:()=>p,unwrap:()=>m,wrap:()=>f});const i=new WeakMap,o=new WeakMap,u=new WeakMap,s=new WeakMap,l=new WeakMap;let c={get(e,t,n){if(e instanceof IDBTransaction){if("done"===t)return o.get(e);if("objectStoreNames"===t)return e.objectStoreNames||u.get(e);if("store"===t)return n.objectStoreNames[1]?void 0:n.objectStore(n.objectStoreNames[0])}return f(e[t])},set:(e,t,n)=>(e[t]=n,!0),has:(e,t)=>e instanceof IDBTransaction&&("done"===t||"store"===t)||t in e};function d(e){return"function"==typeof e?(t=e)!==IDBDatabase.prototype.transaction||"objectStoreNames"in IDBTransaction.prototype?(a||(a=[IDBCursor.prototype.advance,IDBCursor.prototype.continue,IDBCursor.prototype.continuePrimaryKey])).includes(t)?function(...e){return t.apply(m(this),e),f(i.get(this))}:function(...e){return f(t.apply(m(this),e))}:function(e,...n){const r=t.call(m(this),e,...n);return u.set(r,e.sort?e.sort():[e]),f(r)}:(e instanceof IDBTransaction&&function(e){if(o.has(e))return;const t=new Promise(((t,n)=>{const r=()=>{e.removeEventListener("complete",a),e.removeEventListener("error",i),e.removeEventListener("abort",i)},a=()=>{t(),r()},i=()=>{n(e.error||new DOMException("AbortError","AbortError")),r()};e.addEventListener("complete",a),e.addEventListener("error",i),e.addEventListener("abort",i)}));o.set(e,t)}(e),n=e,(r||(r=[IDBDatabase,IDBObjectStore,IDBIndex,IDBCursor,IDBTransaction])).some((e=>n instanceof e))?new Proxy(e,c):e);var t,n}function f(e){if(e instanceof IDBRequest)return function(e){const t=new Promise(((t,n)=>{const r=()=>{e.removeEventListener("success",a),e.removeEventListener("error",i)},a=()=>{t(f(e.result)),r()},i=()=>{n(e.error),r()};e.addEventListener("success",a),e.addEventListener("error",i)}));return t.then((t=>{t instanceof IDBCursor&&i.set(t,e)})).catch((()=>{})),l.set(t,e),t}(e);if(s.has(e))return s.get(e);const t=d(e);return t!==e&&(s.set(e,t),l.set(t,e)),t}const m=e=>l.get(e);function p(e,t,{blocked:n,upgrade:r,blocking:a,terminated:i}={}){const o=indexedDB.open(e,t),u=f(o);return r&&o.addEventListener("upgradeneeded",(e=>{r(f(o.result),e.oldVersion,e.newVersion,f(o.transaction),e)})),n&&o.addEventListener("blocked",(e=>n(e.oldVersion,e.newVersion,e))),u.then((e=>{i&&e.addEventListener("close",(()=>i())),a&&e.addEventListener("versionchange",(e=>a(e.oldVersion,e.newVersion,e)))})).catch((()=>{})),u}function h(e,{blocked:t}={}){const n=indexedDB.deleteDatabase(e);return t&&n.addEventListener("blocked",(e=>t(e.oldVersion,e))),f(n).then((()=>{}))}const g=["get","getKey","getAll","getAllKeys","count"],v=["put","add","delete","clear"],b=new Map;function y(e,t){if(!(e instanceof IDBDatabase)||t in e||"string"!=typeof t)return;if(b.get(t))return b.get(t);const n=t.replace(/FromIndex$/,""),r=t!==n,a=v.includes(n);if(!(n in(r?IDBIndex:IDBObjectStore).prototype)||!a&&!g.includes(n))return;const i=async function(e,...t){const i=this.transaction(e,a?"readwrite":"readonly");let o=i.store;return r&&(o=o.index(t.shift())),(await Promise.all([o[n](...t),a&&i.done]))[0]};return b.set(t,i),i}var w;w=c,c={...w,get:(e,t,n)=>y(e,t)||w.get(e,t,n),has:(e,t)=>!!y(e,t)||w.has(e,t)}},97582:(e,t,n)=>{"use strict";n.r(t),n.d(t,{__addDisposableResource:()=>I,__assign:()=>i,__asyncDelegator:()=>P,__asyncGenerator:()=>x,__asyncValues:()=>O,__await:()=>k,__awaiter:()=>p,__classPrivateFieldGet:()=>D,__classPrivateFieldIn:()=>W,__classPrivateFieldSet:()=>T,__createBinding:()=>g,__decorate:()=>u,__disposeResources:()=>L,__esDecorate:()=>l,__exportStar:()=>v,__extends:()=>a,__generator:()=>h,__importDefault:()=>C,__importStar:()=>S,__makeTemplateObject:()=>E,__metadata:()=>m,__param:()=>s,__propKey:()=>d,__read:()=>y,__rest:()=>o,__runInitializers:()=>c,__setFunctionName:()=>f,__spread:()=>w,__spreadArray:()=>_,__spreadArrays:()=>M,__values:()=>b,default:()=>H});var r=function(e,t){return r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},r(e,t)};function a(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}var i=function(){return i=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var a in t=arguments[n])Object.prototype.hasOwnProperty.call(t,a)&&(e[a]=t[a]);return e},i.apply(this,arguments)};function o(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var a=0;for(r=Object.getOwnPropertySymbols(e);a<r.length;a++)t.indexOf(r[a])<0&&Object.prototype.propertyIsEnumerable.call(e,r[a])&&(n[r[a]]=e[r[a]])}return n}function u(e,t,n,r){var a,i=arguments.length,o=i<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)o=Reflect.decorate(e,t,n,r);else for(var u=e.length-1;u>=0;u--)(a=e[u])&&(o=(i<3?a(o):i>3?a(t,n,o):a(t,n))||o);return i>3&&o&&Object.defineProperty(t,n,o),o}function s(e,t){return function(n,r){t(n,r,e)}}function l(e,t,n,r,a,i){function o(e){if(void 0!==e&&"function"!=typeof e)throw new TypeError("Function expected");return e}for(var u,s=r.kind,l="getter"===s?"get":"setter"===s?"set":"value",c=!t&&e?r.static?e:e.prototype:null,d=t||(c?Object.getOwnPropertyDescriptor(c,r.name):{}),f=!1,m=n.length-1;m>=0;m--){var p={};for(var h in r)p[h]="access"===h?{}:r[h];for(var h in r.access)p.access[h]=r.access[h];p.addInitializer=function(e){if(f)throw new TypeError("Cannot add initializers after decoration has completed");i.push(o(e||null))};var g=(0,n[m])("accessor"===s?{get:d.get,set:d.set}:d[l],p);if("accessor"===s){if(void 0===g)continue;if(null===g||"object"!=typeof g)throw new TypeError("Object expected");(u=o(g.get))&&(d.get=u),(u=o(g.set))&&(d.set=u),(u=o(g.init))&&a.unshift(u)}else(u=o(g))&&("field"===s?a.unshift(u):d[l]=u)}c&&Object.defineProperty(c,r.name,d),f=!0}function c(e,t,n){for(var r=arguments.length>2,a=0;a<t.length;a++)n=r?t[a].call(e,n):t[a].call(e);return r?n:void 0}function d(e){return"symbol"==typeof e?e:"".concat(e)}function f(e,t,n){return"symbol"==typeof t&&(t=t.description?"[".concat(t.description,"]"):""),Object.defineProperty(e,"name",{configurable:!0,value:n?"".concat(n," ",t):t})}function m(e,t){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)}function p(e,t,n,r){return new(n||(n=Promise))((function(a,i){function o(e){try{s(r.next(e))}catch(e){i(e)}}function u(e){try{s(r.throw(e))}catch(e){i(e)}}function s(e){var t;e.done?a(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(o,u)}s((r=r.apply(e,t||[])).next())}))}function h(e,t){var n,r,a,i,o={label:0,sent:function(){if(1&a[0])throw a[1];return a[1]},trys:[],ops:[]};return i={next:u(0),throw:u(1),return:u(2)},"function"==typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function u(u){return function(s){return function(u){if(n)throw new TypeError("Generator is already executing.");for(;i&&(i=0,u[0]&&(o=0)),o;)try{if(n=1,r&&(a=2&u[0]?r.return:u[0]?r.throw||((a=r.return)&&a.call(r),0):r.next)&&!(a=a.call(r,u[1])).done)return a;switch(r=0,a&&(u=[2&u[0],a.value]),u[0]){case 0:case 1:a=u;break;case 4:return o.label++,{value:u[1],done:!1};case 5:o.label++,r=u[1],u=[0];continue;case 7:u=o.ops.pop(),o.trys.pop();continue;default:if(!((a=(a=o.trys).length>0&&a[a.length-1])||6!==u[0]&&2!==u[0])){o=0;continue}if(3===u[0]&&(!a||u[1]>a[0]&&u[1]<a[3])){o.label=u[1];break}if(6===u[0]&&o.label<a[1]){o.label=a[1],a=u;break}if(a&&o.label<a[2]){o.label=a[2],o.ops.push(u);break}a[2]&&o.ops.pop(),o.trys.pop();continue}u=t.call(e,o)}catch(e){u=[6,e],r=0}finally{n=a=0}if(5&u[0])throw u[1];return{value:u[0]?u[1]:void 0,done:!0}}([u,s])}}}var g=Object.create?function(e,t,n,r){void 0===r&&(r=n);var a=Object.getOwnPropertyDescriptor(t,n);a&&!("get"in a?!t.__esModule:a.writable||a.configurable)||(a={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,a)}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]};function v(e,t){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(t,n)||g(t,e,n)}function b(e){var t="function"==typeof Symbol&&Symbol.iterator,n=t&&e[t],r=0;if(n)return n.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&r>=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")}function y(e,t){var n="function"==typeof Symbol&&e[Symbol.iterator];if(!n)return e;var r,a,i=n.call(e),o=[];try{for(;(void 0===t||t-- >0)&&!(r=i.next()).done;)o.push(r.value)}catch(e){a={error:e}}finally{try{r&&!r.done&&(n=i.return)&&n.call(i)}finally{if(a)throw a.error}}return o}function w(){for(var e=[],t=0;t<arguments.length;t++)e=e.concat(y(arguments[t]));return e}function M(){for(var e=0,t=0,n=arguments.length;t<n;t++)e+=arguments[t].length;var r=Array(e),a=0;for(t=0;t<n;t++)for(var i=arguments[t],o=0,u=i.length;o<u;o++,a++)r[a]=i[o];return r}function _(e,t,n){if(n||2===arguments.length)for(var r,a=0,i=t.length;a<i;a++)!r&&a in t||(r||(r=Array.prototype.slice.call(t,0,a)),r[a]=t[a]);return e.concat(r||Array.prototype.slice.call(t))}function k(e){return this instanceof k?(this.v=e,this):new k(e)}function x(e,t,n){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var r,a=n.apply(e,t||[]),i=[];return r={},o("next"),o("throw"),o("return"),r[Symbol.asyncIterator]=function(){return this},r;function o(e){a[e]&&(r[e]=function(t){return new Promise((function(n,r){i.push([e,t,n,r])>1||u(e,t)}))})}function u(e,t){try{(n=a[e](t)).value instanceof k?Promise.resolve(n.value.v).then(s,l):c(i[0][2],n)}catch(e){c(i[0][3],e)}var n}function s(e){u("next",e)}function l(e){u("throw",e)}function c(e,t){e(t),i.shift(),i.length&&u(i[0][0],i[0][1])}}function P(e){var t,n;return t={},r("next"),r("throw",(function(e){throw e})),r("return"),t[Symbol.iterator]=function(){return this},t;function r(r,a){t[r]=e[r]?function(t){return(n=!n)?{value:k(e[r](t)),done:!1}:a?a(t):t}:a}}function O(e){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var t,n=e[Symbol.asyncIterator];return n?n.call(e):(e=b(e),t={},r("next"),r("throw"),r("return"),t[Symbol.asyncIterator]=function(){return this},t);function r(n){t[n]=e[n]&&function(t){return new Promise((function(r,a){!function(e,t,n,r){Promise.resolve(r).then((function(t){e({value:t,done:n})}),t)}(r,a,(t=e[n](t)).done,t.value)}))}}}function E(e,t){return Object.defineProperty?Object.defineProperty(e,"raw",{value:t}):e.raw=t,e}var j=Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t};function S(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)"default"!==n&&Object.prototype.hasOwnProperty.call(e,n)&&g(t,e,n);return j(t,e),t}function C(e){return e&&e.__esModule?e:{default:e}}function D(e,t,n,r){if("a"===n&&!r)throw new TypeError("Private accessor was defined without a getter");if("function"==typeof t?e!==t||!r:!t.has(e))throw new TypeError("Cannot read private member from an object whose class did not declare it");return"m"===n?r:"a"===n?r.call(e):r?r.value:t.get(e)}function T(e,t,n,r,a){if("m"===r)throw new TypeError("Private method is not writable");if("a"===r&&!a)throw new TypeError("Private accessor was defined without a setter");if("function"==typeof t?e!==t||!a:!t.has(e))throw new TypeError("Cannot write private member to an object whose class did not declare it");return"a"===r?a.call(e,n):a?a.value=n:t.set(e,n),n}function W(e,t){if(null===t||"object"!=typeof t&&"function"!=typeof t)throw new TypeError("Cannot use 'in' operator on non-object");return"function"==typeof e?t===e:e.has(t)}function I(e,t,n){if(null!=t){if("object"!=typeof t&&"function"!=typeof t)throw new TypeError("Object expected.");var r;if(n){if(!Symbol.asyncDispose)throw new TypeError("Symbol.asyncDispose is not defined.");r=t[Symbol.asyncDispose]}if(void 0===r){if(!Symbol.dispose)throw new TypeError("Symbol.dispose is not defined.");r=t[Symbol.dispose]}if("function"!=typeof r)throw new TypeError("Object not disposable.");e.stack.push({value:t,dispose:r,async:n})}else n&&e.stack.push({async:!0});return t}var Z="function"==typeof SuppressedError?SuppressedError:function(e,t,n){var r=new Error(n);return r.name="SuppressedError",r.error=e,r.suppressed=t,r};function L(e){function t(t){e.error=e.hasError?new Z(t,e.error,"An error was suppressed during disposal."):t,e.hasError=!0}return function n(){for(;e.stack.length;){var r=e.stack.pop();try{var a=r.dispose&&r.dispose.call(r.value);if(r.async)return Promise.resolve(a).then(n,(function(e){return t(e),n()}))}catch(e){t(e)}}if(e.hasError)throw e.error}()}const H={__extends:a,__assign:i,__rest:o,__decorate:u,__param:s,__metadata:m,__awaiter:p,__generator:h,__createBinding:g,__exportStar:v,__values:b,__read:y,__spread:w,__spreadArrays:M,__spreadArray:_,__await:k,__asyncGenerator:x,__asyncDelegator:P,__asyncValues:O,__makeTemplateObject:E,__importStar:S,__importDefault:C,__classPrivateFieldGet:D,__classPrivateFieldSet:T,__classPrivateFieldIn:W,__addDisposableResource:I,__disposeResources:L}}},r={};function a(e){var t=r[e];if(void 0!==t)return t.exports;var i=r[e]={exports:{}};return n[e].call(i.exports,i,i.exports,a),i.exports}return a.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return a.d(t,{a:t}),t},a.d=(e,t)=>{for(var n in t)a.o(t,n)&&!a.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},a.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),a.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),a.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},a(63607)})()));
|
|
6076
|
+
`,t.getStyleScroll=e=>({"&::-webkit-scrollbar":{width:"4px",height:"4px"},"&::-webkit-scrollbar-track":{background:e.background.secondary,borderRadius:"12px"},"&::-webkit-scrollbar-thumb":{background:e.stroke.secondary,borderRadius:"12px"}})},91197:function(e,t,n){"use strict";var r=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n);var a=Object.getOwnPropertyDescriptor(t,n);a&&!("get"in a?!t.__esModule:a.writable||a.configurable)||(a={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,a)}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),a=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),i=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)"default"!==n&&Object.prototype.hasOwnProperty.call(e,n)&&r(t,e,n);return a(t,e),t};Object.defineProperty(t,"__esModule",{value:!0}),t.ThemeProvider=t.useMode=t.unAvailablePagesTheme=void 0;const o=i(n(8156)),u=n(71603);t.unAvailablePagesTheme=["/login","/idv","/method"];const s=(0,o.createContext)({mode:"light",selectedMode:"light",toggleTheme:null,setShowTheme:null,unAvailablePagesTheme:t.unAvailablePagesTheme});t.useMode=()=>(0,o.useContext)(s);const l="selected_theme";t.ThemeProvider=({children:e,selectedTheme:n})=>{const[r,a]=(0,o.useState)(null!=n?n:"light"),[i,c]=(0,o.useState)(null!=n?n:"light");return(0,o.useEffect)((()=>{let e=!0;const n=null===window||void 0===window?void 0:window.location.pathname;t.unAvailablePagesTheme.forEach((t=>{n.includes(t)&&(e=!1)})),c(e?r:"light")}),[r]),(0,o.useEffect)((()=>{const e=(0,u.getCookie)(l);"light"!==e&&"dark"!==e||a(e)}),[]),o.default.createElement(s.Provider,{value:{mode:i,selectedMode:r,toggleTheme:e=>{a(e),(0,u.setCookie)(l,e)},setShowTheme:e=>{c(e)},unAvailablePagesTheme:t.unAvailablePagesTheme}},e)}},41899:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.palette=void 0,t.palette={light:{background:{primary:"#F4F4F9",content:"#FFFFFF",secondary:"#F7F7F9",secondaryAlpha:"#EAE9F1",field:"#FFFFFF",fieldSecondary:"#F5F4F8",accent:"#6553F5",accentSecondaryTint:"#E8E5FE",positiveTint:"#DCF6DA",warningTint:"#FFF0DB",negativeTint:"#FFF1EC",info:"#DBDCFF",bottomActions:"rgba(255, 255, 255, 0.5)"},text:{primary:"#242424",secondary:"#6A6A71",tertiary:"#A1A0AC",fourth:"#606076",contrast:"#FFFFFF",contrastThemed:"#FFFFFF",accent:"#6553F5",accentSecondary:"#9B8EFF",positive:"#34C759",warning:"#FFA000",negative:"#FF3B30",info:"#3038F5",link:"#4285F4"},icons:{primary:"#242424",secondary:"#AAAABA",tertiary:"#CCCBD3",fourth:"#606076",contrast:"#FFFFFF",contrastThemed:"#FFFFFF",contrastThemRev:"#FFFFFF",accent:"#6553F5",accentSecondary:"#9B8EFF",positive:"#34C759",warring:"#FFA000",negative:"#FF3B30",info:"#3038F5",link:"#4285F4"},stroke:{primary:"#DDDDE3",secondary:"#D6D6DE",tertiary:"#E7E7EB",contrast:"#7D7D95",accent:"#6553F5",positive:"#34C759",warning:"#FFA000",negative:"#FF3B30",info:"#3038F5"},interactiveButtons:{brandBackground:"#6553F5",brandBackgroundHover:"#4A35F3",brandText:"#FFFFFF",secondaryBrandBackground:"#E0DDFD",secondaryBrandBackgroundHover:"#B4ADFA",secondaryBrandText:"#4A35F3",outlineBrandBackground:"#FFFFFF",outlineBrandBackgroundHover:"#FFFFFF",outlineBrandText:"#6553F5",outlineBrandBorder:"#6553F5",outlineBrandBorderHover:"#3821F2",systemBackground:"#EAE9F1",systemBackgroundHover:"#CCCADD",systemText:"#464167",successBackground:"#E1F7E6",successBackgroundHover:"#BBEDC6",successText:"#299E47",warningBackground:"#FFF1D9",warningBackgroundHover:"#FFDFA8",warningText:"#E59000",criticalBackground:"#FFE2E0",criticalBackgroundHover:"#FFC6C2",criticalText:"#FF3B30",neutralBackground:"rgba(36, 36, 36, 0.50)",neutralBackgroundHover:"rgba(36, 36, 36, 0.70)",neutralText:"#FFFFFF"},interactiveControls:{accent:"#F0EFF3",secondary:"#FFFFFF",supportive:"#E8E8ED",brand:"#6553F5",brandAlpha:"#4A35F3",accentDark:"#19181B"},other:{orange:"#FFAD30",green:"#A0DD1E",olive:"#DBDE43",violet:"#6E59EF",red:"#EB343F",red2:"#FF4747",pink:"#F969FC",turquoise:"#2ED0C7",blue:"#72E3E3",mediumBlue:"#58C9E2",darkBlue:"#28C6E9",lightBlue:"#4285F4",navyBlue:"#11408E",lightBlueTint:"rgba(66, 133, 244, 0.10)",gray:"rgba(36, 36, 36, 0.50)",orangeTint:"#FFF9EF",greenTint:"#F8FDED",oliveTint:"#FCFDF0",violetTint:"#F4F2FE",redTint:"#FEEFF0",pinkTint:"#FFF3FF",turquoiseTint:"#EFFCFB",darkBlueTint:"#EEF8FB",black:"#111011"},shadow:{basicDefault:"0px 14px 20px -4px rgba(87, 87, 87, 0.10)",basicHover:"0px 12px 28px -3px rgba(87, 87, 87, 0.20)",basicDrag:"0px 12px 32px -3px rgba(87, 87, 87, 0.32)",overlay:"0px 16px 40px -3px rgba(58, 57, 60, 0.28)"},statesBackground:{tabsHover:"#F6F6F6",tabsActive:"#383838",tabsActiveHover:"#242424",accentHover:"#7665FF",accentActive:"#5D48F5",field:"rgba(0, 0, 0, 0.06)",secondaryAlphaActive:"#DCDCDC",secondaryAlphaHover:"#E7E7E7",listHover:"#F6F6F6",notificationHover:"#F6F6F6",notificationHoverError:"#F6F6F6",sideBarActive:"#111011"},gradient:{gradient_1:"linear-gradient(90deg, #f4f4f9 0%, rgba(244, 244, 249, 0) 100%)",gradient_2:"linear-gradient(90deg, #FFF 0%, rgba(255, 255, 255, 0.00) 100%)",gradient_3:"linear-gradient(90deg, rgba(244, 244, 249, 0) 0%, #f4f4f9 100%)",gradient_4:"linear-gradient(90deg, rgba(255, 255, 255, 0.00) 0%, #FFF 100%)",top:"linear-gradient(180deg, #FFF 0%, rgba(255, 255, 255, 0.95) 52.08%, rgba(255, 255, 255, 0.00) 100%)",bottom:"linear-gradient(180deg, rgba(255, 255, 255, 0.00) 0%, rgba(255, 255, 255, 0.95) 53.12%, #FFF 100%)"},club:{primary:"#3C3993",primaryHover:"#5853E3",secondary:"#4833F4",secondaryHover:"#200DB8",buttonBackground:"#E7E7F2",buttonBackgroundHover:"#CAC9E1",green:"#29B279",primaryGradient:"linear-gradient(54.06deg, #162331 10.84%, #3C3993 98.2%)",secondaryGradient:"linear-gradient(90.24deg, #B92A78 0%, #6699FB 99.58%)"}},dark:{background:{primary:"#181818",content:"#202020",secondary:"#2B2B2B",secondaryAlpha:"#333333",field:"#2B2B2B",fieldSecondary:"#323232",accent:"#9B8EFF",accentSecondaryTint:"#2B293A",positiveTint:"#384436",warningTint:"#453B2B",negativeTint:"#362D2A",info:"#20213B",bottomActions:"rgba(24, 24, 24, 0.85)"},text:{primary:"#FFFFFF",secondary:"#BABAC6",tertiary:"#73738C",fourth:"#E0E0E6",contrast:"#242424",contrastThemed:"#FFFFFF",accent:"#9B8EFF",accentSecondary:"#756CBB",positive:"#30D158",warning:"#F49B06",negative:"#FF452A",info:"#3B42EA",link:"#4285F4"},icons:{primary:"#D9D9D9",secondary:"#BABAC6",tertiary:"#3E3E4C",fourth:"#E0E0E6",contrast:"#242424",contrastThemed:"#FFFFFF",contrastThemRev:"#454545",accent:"#9B8EFF",accentSecondary:"#756CBB",positive:"#30D158",warring:"#F49B06",negative:"#FF452A",info:"#3B42EA",link:"#4285F4"},stroke:{primary:"#3E3E4C",secondary:"#7D7D95",tertiary:"#454554",contrast:"#535365",accent:"#9B8EFF",positive:"#30D158",warning:"#F49B06",negative:"#FF453A",info:"#3B42EA"},interactiveButtons:{brandBackground:"#7B61FF",brandBackgroundHover:"#6142FF",brandText:"#FFFFFF",secondaryBrandBackground:"#E5DFFF",secondaryBrandBackgroundHover:"#BDADFF",secondaryBrandText:"#6142FF",outlineBrandBackground:"#202020",outlineBrandBackgroundHover:"#202020",outlineBrandText:"#9B8EFF",outlineBrandBorder:"#9B8EFF",outlineBrandBorderHover:"#9B8EFF",systemBackground:"#2E2E38",systemBackgroundHover:"#454554",systemText:"#CCCADD",successBackground:"#223B28",successBackgroundHover:"#2B4A32",successText:"#2CAA4C",warningBackground:"#40321C",warningBackgroundHover:"#634E2B",warningText:"#F99E06",criticalBackground:"#412621",criticalBackgroundHover:"#623932",criticalText:"#FF5A42",neutralBackground:"rgba(255, 255, 255, 0.50)",neutralBackgroundHover:"rgba(255, 255, 255, 0.70)",neutralText:"#FFFFFF"},interactiveControls:{accent:"#39383C",secondary:"#242424",supportive:"#2F2F37",brand:"#7B61FF",brandAlpha:"#6142FF",accentDark:"#FFFFFF"},other:{orange:"#E79D2D",green:"#91C81C",olive:"#C1C339",violet:"#6E59EF",red:"#E8343F",red2:"#F02D3A",pink:"#E05DE2",turquoise:"#229E97",blue:"#61C5C5",mediumBlue:"#51BBD2",darkBlue:"#21AFCE",lightBlue:"#317AF2",navyBlue:"#C9DEFF",lightBlueTint:"rgba(49, 122, 242, 0.04)",gray:"rgba(48, 48, 48, 0.50)",orangeTint:"rgba(255, 173, 48, 0.04)",greenTint:"rgba(160, 221, 30, 0.04)",oliveTint:"rgba(219, 222, 67, 0.04)",violetTint:"rgba(110, 89, 239, 0.04)",redTint:"rgba(235, 52, 63, 0.04)",pinkTint:"rgba(249, 105, 252, 0.04)",turquoiseTint:"rgba(46, 208, 199, 0.04)",darkBlueTint:"rgba(33, 175, 206, 0.04)",black:"#242325"},shadow:{basicDefault:null,basicHover:null,basicDrag:null,overlay:null},statesBackground:{tabsHover:"#383838",tabsActive:"#FFFFFF",tabsActiveHover:"#F6F6F6",accentHover:"#614DF5",accentActive:"#9284FF",field:"rgba(255, 255, 255, 0.06)",secondaryAlphaActive:"#505050",secondaryAlphaHover:"#404040",listHover:"#303030",notificationHover:"#303030",notificationHoverError:"#303030",sideBarActive:"#333036"},gradient:{gradient_1:"linear-gradient(90deg, #181818 0%, rgba(24, 24, 24, 0.00) 100%)",gradient_2:"linear-gradient(90deg, #2B2B2B 0%, rgba(43, 43, 43, 0.00) 100%)",gradient_3:"linear-gradient(90deg, rgba(24, 24, 24, 0.00) 0%, #181818 100%)",gradient_4:"linear-gradient(90deg, rgba(43, 43, 43, 0.00) 0%, #2B2B2B 100%)",top:"linear-gradient(180deg, #2B2B2B 0%, rgba(43, 43, 43, 0.95) 53.65%, rgba(43, 43, 43, 0.00) 100%)",bottom:" linear-gradient(180deg, rgba(43, 43, 43, 0.00) 0%, rgba(43, 43, 43, 0.95) 52.08%, #2B2B2B 100%)"},club:{primary:"#5854C6",primaryHover:"#7672F6",secondary:"#8C7CFF",secondaryHover:"#614FED",buttonBackground:"#282837",buttonBackgroundHover:"#2E2C60",green:"#2FCA89",primaryGradient:"linear-gradient(54.11deg, #2C2562 6.32%, #4641BF 116.13%)",secondaryGradient:"linear-gradient(90.24deg, #CE2680 0%, #4080FD 99.58%)"}}}},90259:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.useGetHostnames=t.getProfinansyHost=t.getLMSHost=t.getFeedHost=t.ABOUT_LINK=void 0;const a=r(n(11595));t.ABOUT_LINK="https://sites.profinansy.ru/about_profinansyru",t.getFeedHost=(e,t)=>{if("lenta"===e)return"";const n=i();return n||(o()?"https://lenta.qa.profinansy.dev":t?"https://lenta.test.profinansy.ru":"https://lenta.profinansy.ru")},t.getLMSHost=(e,t)=>{if("lms"===e)return"";const n=i();return n||(o()?"https://frontend.qa.profinansy.dev":t?"https://test.profinansy.study":"https://profinansy.ru")},t.getProfinansyHost=(e,t)=>{if("profinansy"===e)return"";const n=i();return n||(o()?"https://frontend.qa.profinansy.dev":t?"https://frontend.test.profinansy.ru":"https://profinansy.ru")};const i=()=>a.default&&window.location.origin.includes("localhost")?window.location.origin:null,o=()=>!(!a.default||!window.location.origin.includes(".qa."));t.useGetHostnames=(e,n)=>{const r=(0,t.getProfinansyHost)(n,e),a=(0,t.getFeedHost)(n,e);return{hostnameLMS:(0,t.getLMSHost)(n,e),hostname:r,hostnameLenta:a}}},63584:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.getCalculatorLinks=void 0;const a=r(n(88439)),i=r(n(18260)),o=r(n(87174)),u=r(n(97890)),s=r(n(99586)),l=r(n(52184)),c=r(n(42964)),d=r(n(43961)),f=r(n(81294)),m=r(n(17210)),p=r(n(52209)),h=r(n(73944));t.getCalculatorLinks=e=>({name:"calculators",Icon:a.default,href:e+"/calculators/compound-interest",subPages:[{name:"calculator_compound_interest",Icon:i.default,href:e+"/calculators/compound-interest"},{name:"calculator_mortgage",Icon:o.default,href:e+"/calculators/mortgage"},{name:"calculator_credit",Icon:u.default,href:e+"/calculators/credit"},{name:"calculator_goals",Icon:s.default,href:e+"/calculators/goals"},{name:"calculator_refinance",Icon:l.default,href:e+"/calculators/refinance"},{name:"calculator_bonds",Icon:c.default,href:e+"/calculators/bonds"},{name:"calculator_currency_converter",Icon:d.default,href:e+"/calculators/currency-converter"},{name:"calculator_savings",Icon:f.default,href:e+"/calculators/savings"},{name:"calculator_vacation",Icon:h.default,href:e+"/calculators/vacation"},{name:"calculator_deposit",Icon:m.default,href:e+"/calculators/deposit"},{name:"calculator_inflation",Icon:p.default,href:e+"/calculators/inflation"}]})},84929:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.getClubLinks=void 0;const a=r(n(4624));t.getClubLinks=e=>({name:"club",Icon:a.default,href:e+"/club",hiddenFromChildren:!0,subPages:[{name:"club_main",href:e+"/club"},{name:"club_about",href:e+"/club/about"},{name:"club_schedule",href:e+"/club/schedule"},{name:"club_ideas",href:e+"/club/investidea"},{name:"club_choice",href:e+"/club/profinansy-choice"},{name:"club_public_account",href:e+"/club/public-account"},{name:"club_portfolios",href:e+"/club/club-portfolios"},{name:"club_selections",href:e+"/club/club-selections"},{name:"club_weekly_review",href:e+"/club/updates/weekly_review"},{name:"club_market_ru",href:e+"/club/updates/market_ru"},{name:"club_bonds",href:e+"/club/updates/bonds_club"},{name:"club_roller_coaster",href:e+"/club/updates/roller-coaster"},{name:"club_review_companies",href:e+"/club/updates/analytical-previ"},{name:"club_crypto",href:e+"/club/updates/crypto"},{name:"club_portfolios_analytic",href:e+"/club/updates/portfolios-analy"},{name:"club_invited_speakers",href:e+"/club/updates/invited-speakers"},{name:"club_roller_cink",href:e+"/club/education/cink"},{name:"club_faq",href:e+"/club/updates/faq_club"},{name:"club_client_history",href:e+"/club/updates/client_history"},{name:"club_offline_meetings",href:e+"/club/updates/offline-meetings"},{name:"club_kink",href:e+"/club/education/kink"},{name:"club_rkink",href:e+"/club/education/rkink"},{name:"club_help",href:e+"/club/help"}]})},85336:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.getEducationLinks=void 0;const a=r(n(2098)),i=r(n(61581)),o=r(n(30523)),u=r(n(11564)),s=r(n(24754)),l=r(n(32533)),c=r(n(89597)),d=r(n(6295)),f=r(n(4234)),m=r(n(27839)),p=r(n(90063)),h=r(n(27841)),g=n(90259);t.getEducationLinks=(e,t,n,r,v,b)=>{const y=b?`/courses/course/${b}`:"/courses";return{name:"courses",Icon:a.default,href:v?g.ABOUT_LINK:n+y,subPages:[{name:"courses_main",Icon:a.default,href:v?g.ABOUT_LINK:n+y,locked:v},{name:"courses_shop",Icon:i.default,isNew:!0,href:n+"/course-store",innerPages:[`${n}/course-store`],hiddenFromChildren:!0,subPages:[{name:"courses_list",href:n+"/course-store"},{name:"courses_basket",href:v?g.ABOUT_LINK:n+"/course-store/cart",locked:v},{name:"courses_orders",href:v?g.ABOUT_LINK:n+"/course-store/my-orders",locked:v}]},{name:"courses_how_use",Icon:o.default,href:e+"/training-section/training/use_wallet",hiddenFromChildren:!0,subPages:[{name:"courses_budget",href:e+"/training-section/training/use_wallet",innerPages:[`${e}/training-section/training/use_wallet`]},{name:"courses_portfolio",href:e+"/training-section/training/use_portfolios",innerPages:[`${e}/training-section/training/use_portfolios`]},{name:"courses_investing",href:e+"/training-section/training/use_investment",innerPages:[`${e}/training-section/training/use_investment`]},{name:"courses_direct_line",href:e+"/training-section/training/use_broadcast",innerPages:[`${e}/training-section/training/use_investment`]}]},{name:"courses_leaders_table",Icon:u.default,href:v?g.ABOUT_LINK:e+"/cabinet-ratings/leaderboard",locked:v,innerPages:[`${e}/cabinet-ratings/tasks`],hiddenFromChildren:!0},{name:"courses_graduate",Icon:s.default,isNotVisible:!r,href:e+"/cabinet-ratings/office",innerPages:[`${e}/webinar`],hiddenFromChildren:!0},{name:"courses_child",Icon:l.default,href:t+"/children-and-parents?side_menu_type=education",hiddenFromChildren:!0},{name:"courses_blog",Icon:c.default,href:t+"/blog?side_menu_type=education",hiddenFromChildren:!0},{name:"courses_investology",Icon:d.default,href:t+"/investology?side_menu_type=education",hiddenFromChildren:!0},{name:"courses_library",Icon:f.default,href:t+"/library?side_menu_type=education",hiddenFromChildren:!0},{name:"courses_podcasts",Icon:m.default,href:t+"/podcasts?side_menu_type=education",hiddenFromChildren:!0},{name:"courses_youtube",Icon:p.default,href:t+"/youtube?side_menu_type=education",hiddenFromChildren:!0},{name:"courses_kfp",Icon:h.default,href:"https://kfp-v2.profinansy.ru/",hiddenFromChildren:!0}]}}},43016:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.getFeedLinks=void 0;const a=r(n(88439));t.getFeedLinks=e=>({name:"feed",Icon:a.default,href:e,subPages:[{name:"feed_community",href:e+"/community"},{name:"feed_blog",href:e+"/blog"},{name:"feed_news",href:e+"/news"},{name:"feed_selections",href:e+"/selections"},{name:"feed_investology",href:e+"/investology"},{name:"feed_podcasts",href:e+"/podcasts"},{name:"feed_analytic",href:e+"/analytical-reviews"},{name:"feed_strategy",href:e+"/strategies"},{name:"feed_youtube",href:e+"/youtube"},{name:"feed_new_features",href:e+"/features"},{name:"feed_library",href:e+"/library"}]})},48822:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.getIdvLinks=void 0;const a=r(n(16577)),i=r(n(2104)),o=r(n(75606)),u=r(n(50522)),s=r(n(45217)),l=r(n(4624)),c=r(n(26926));t.getIdvLinks=e=>({name:"idv",href:e+"/idv",isWithoutSubpage:!0,hiddenFromChildren:!0,Icon:c.default,subPages:[{name:"idv_main",Icon:a.default,href:e+"/idv"},{name:"idv_lessons",Icon:i.default,href:e+"/idv/lessons",innerPages:[`${e}/idv/lessons`]},{name:"idv_tournament",Icon:l.default,href:e+"/idv/tournament",innerPages:[`${e}/idv/tournament`]},{name:"idv_invest_simulator",Icon:o.default,href:e+"/idv/invest-simulator/structure",subPages:[{name:"idv_compound",href:e+"/idv/invest-simulator/structure"},{name:"idv_transactions",href:e+"/idv/invest-simulator/deals"},{name:"idv_review",href:e+"/idv/invest-simulator/review"},{name:"idv_analytics",href:e+"/idv/invest-simulator/analytics"}]},{name:"idv_search",Icon:u.default,href:e+"/idv/search-investments/stocks",subPages:[{name:"idv_search_stocks",href:e+"/idv/search-investments/stocks"},{name:"idv_search_bonds",href:e+"/idv/search-investments/bonds"},{name:"idv_search_etf",href:e+"/idv/search-investments/etfs"}]},{name:"idv_schedule",Icon:s.default,href:e+"/idv/schedule"},{name:"idv_achievements",Icon:c.default,href:e+"/idv/achievements"}]})},25305:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getIdvLinks=t.getMyMoney=t.getInvestmentsLinks=t.getEducationLinks=t.getCalculatorLinks=t.getClubLinks=void 0;var r=n(84929);Object.defineProperty(t,"getClubLinks",{enumerable:!0,get:function(){return r.getClubLinks}});var a=n(63584);Object.defineProperty(t,"getCalculatorLinks",{enumerable:!0,get:function(){return a.getCalculatorLinks}});var i=n(85336);Object.defineProperty(t,"getEducationLinks",{enumerable:!0,get:function(){return i.getEducationLinks}});var o=n(96127);Object.defineProperty(t,"getInvestmentsLinks",{enumerable:!0,get:function(){return o.getInvestmentsLinks}});var u=n(73741);Object.defineProperty(t,"getMyMoney",{enumerable:!0,get:function(){return u.getMyMoney}});var s=n(48822);Object.defineProperty(t,"getIdvLinks",{enumerable:!0,get:function(){return s.getIdvLinks}})},96127:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.getInvestmentsLinks=void 0;const a=r(n(16577)),i=r(n(36284)),o=r(n(75606)),u=r(n(45217)),s=r(n(59928)),l=r(n(74924)),c=r(n(52209)),d=r(n(23735)),f=r(n(43944)),m=r(n(76870)),p=r(n(31994)),h=r(n(87664)),g=r(n(20573)),v=r(n(60208)),b=r(n(5746));t.getInvestmentsLinks=(e,t,n,r)=>({name:"investments",Icon:m.default,isWithoutSubpage:!0,href:n?e+"/login":e+"/market/dashboard",subPages:[{name:"review",Icon:a.default,isForeignAccess:!0,href:n?e+"/login":e+"/market/dashboard",locked:n,subPages:[{name:"all_review",href:n?e+"/login":e+"/market/dashboard",locked:n},{name:"dashboard_stocks",href:n?e+"/login":e+"/market/dashboard/rus-stocks",locked:n,innerPages:["/market/dashboard/usa-stocks"]},{name:"dashboard_bonds",href:n?e+"/login":e+"/market/dashboard/rus-bonds",locked:n,innerPages:["/market/dashboard/usa-bonds"]},{name:"dashboard_etf",href:n?e+"/login":e+"/market/dashboard/rus-etf",locked:n,innerPages:["/market/dashboard/usa-etf"]}]},{name:"portfolios",Icon:o.default,href:r?e+"/market/portfolios":"https://profinansy.ru/payment",locked:n,unavailable:!r,innerPages:[`${e}/market/portfolios`],description:"Управляйте своими инвестициями в одном месте. Автозагрузка сделок с брокерских счетов сэкономит ваше время. Создавайте портфели для разных стратегий, отслеживайте их динамику и анализируйте эффективность. Доступ к аналитике и прогнозам, а также рекомендации по управлению портфелем."},{name:"portfolios_list",Icon:i.default,href:t+"/portfolios?side_menu_type=investment"},{name:"selections",Icon:h.default,href:t+"/selections?side_menu_type=investment"},{name:"calendars",href:n?e+"/login":e+"/market/calendars/dividends",Icon:u.default,locked:n,subPages:[{name:"dividend_calendar",href:n?e+"/login":e+"/market/calendars/dividends",locked:n,innerPages:["/market/calendars/retroDividends"]},{name:"economic_calendar",href:n?e+"/login":e+"/market/calendars/economic",locked:n},{name:"bonds_calendar",href:n?e+"/login":e+"/market/calendars/bonds",locked:n},{name:"coupon_calendar",href:n?e+"/login":e+"/market/calendars/coupons",locked:n},{name:"report_calendar",href:n?e+"/login":e+"/market/calendars/reports",locked:n}]},{name:"ipo_calendar",href:r?e+"/market/calendars/IPO":"https://profinansy.ru/payment",Icon:v.default,locked:n,unavailable:!r,description:"Готовая аналитика компаний, которые выходят на IPO. Уникальная методика pro.finansy определяет, стоит ли участвовать в IPO каждой компании. Методика проверена более чем на 2 000 компаний. С сервисом IPO вы будете участвовать только в прибыльных размещениях акций!"},{name:"screener",Icon:s.default,href:r?e+"/market/screener/stocks":"https://profinansy.ru/payment",locked:n,unavailable:!r,isHit:!0,description:"170 000 акций, облигаций и фондов всего мира. Ищите инструменты более чем по 100 фильтрам. Нет времени на поиски? Предлагаем готовые фильтры от pro.finansy – самые доходные инструменты под разные стратегии. По каждому активу подробная аналитика: отчетности, готовый фундаментальный и технический анализ, дивиденды и купоны.",innerPages:["/market/screener"],subPages:[{name:"stocks_screener",href:n?"https://profinansy.ru/payment":e+"/market/screener/stocks",locked:n,unavailable:!r},{name:"bonds_screener",href:n?"https://profinansy.ru/payment":e+"/market/screener/bonds",locked:n,unavailable:!r},{name:"etf_screener",href:n?"https://profinansy.ru/payment":e+"/market/screener/etfs",locked:n,unavailable:!r}]},{name:"asset_comparison",Icon:l.default,href:r?e+"/market/asset-comparison/stocks":"https://profinansy.ru/payment",locked:n,unavailable:!r,description:"Выбирайте самые прибыльные акции, облигации и фонды. Умный сервис подскажет, какая бумага выигрывает по всем параметрам в сравнении с другими инструментами.",innerPages:["/market/asset-comparison"],subPages:[{name:"asset_comparison_stocks",href:n?"https://profinansy.ru/payment":e+"/market/asset-comparison/stocks",locked:n,unavailable:!r},{name:"asset_comparison_bonds",href:n?"https://profinansy.ru/payment":e+"/market/asset-comparison/bonds",locked:n,unavailable:!r},{name:"asset_comparison_etf",href:n?"https://profinansy.ru/payment":e+"/market/asset-comparison/etfs",locked:n,unavailable:!r}]},{name:"passive_income",Icon:f.default,href:r?e+"/market/passive-income/bonds":"https://profinansy.ru/payment",locked:n,unavailable:!r,isHit:!0,description:"Планируйте пассивный доход на год вперед! Получите готовый ежемесячный график купонных выплат по вашим облигациям. Сервис рассчитает средний ежемесячный доход и среднегодовую ставку купона в вашем облигационном портфеле.",innerPages:["/market/passive-income/common"],subPages:[{name:"passive_income_stocks",href:n?"https://profinansy.ru/payment":e+"/market/passive-income/stocks",locked:n,isHit:!0,unavailable:!r},{name:"passive_income_bonds",href:n?"https://profinansy.ru/payment":e+"/market/passive-income/bonds",locked:n,unavailable:!r}]},{name:"economic_cycles",Icon:c.default,href:r?e+"/market/economic-cycle":"https://profinansy.ru/payment",locked:n,unavailable:!r,description:"Анализируем состояние экономики 30 стран за вас! Готовый разбор 11 секторов экономики: в какие секторы вкладываться в каждой фазе экономического цикла. Подборка акций, которые принесут прибыль в период роста, пика, спада и рецессии."},{name:"heat_map",Icon:p.default,href:n?e+"/login":e+"/market/heatmap",locked:n},{name:"rrg",href:r?e+"/market/trend-indicator":"https://profinansy.ru/payment",Icon:b.default,locked:n,unavailable:!r,isNew:!0,description:"Находите лучшие моменты для сделок! Индикатор тренда подскажет, какие активы сейчас укрепляются и готовы к росту, а какие ослабевают. Используйте данные индикатора, чтобы вовремя принимать решения о покупке или продаже актива."},{name:"brokers",Icon:d.default,href:e+"/market/brokers-list"},{name:"news",Icon:g.default,href:t+"/news?side_menu_type=investment"}]})},64781:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.getMethodLinks=void 0;const a=r(n(16577)),i=r(n(50522)),o=r(n(15242)),u=r(n(75606)),s=r(n(88439)),l=r(n(18260)),c=r(n(87174)),d=r(n(97890)),f=r(n(99586)),m=r(n(52184)),p=r(n(4624)),h=r(n(42964)),g=r(n(43961)),v=r(n(81294)),b=r(n(17210)),y=r(n(2104)),w=r(n(72444)),M=r(n(53771)),_=r(n(24754)),k=r(n(21205));t.getMethodLinks=(e,t)=>({name:"method",href:e+"/method",isWithoutSubpage:!0,Icon:o.default,hiddenFromChildren:!0,subPages:[{name:"method_main",Icon:a.default,href:e+"/method"},{name:"method_lessons",Icon:y.default,href:e+"/method/lessons",innerPages:[`${e}/method/lessons`]},{name:"method_tasks",Icon:w.default,href:e+"/method/tasks"},{name:"method_materials",Icon:M.default,href:e+"/method/materials"},{name:"method_tournament",Icon:p.default,href:e+"/method/tournament",unavailable:!t,isOpenUnavailable:!0,isDeleteCommonNavigation:!0},{name:"method_kfp",Icon:_.default,href:"https://kfp-v2.profinansy.ru/",isTarget:"_blank"},{name:"method_budget",Icon:k.default,href:"https://profinansy.ru/wallet/accounts",isTarget:"_blank"},{name:"method_screener",Icon:i.default,href:e+"/method/screener/stocks",unavailable:!t,isOpenUnavailable:!0,innerPages:["/method/screener"]},{name:"method_portfolios",Icon:u.default,href:e+"/method/portfolios",innerPages:["method/portfolios/structure","method/portfolios/deals","method/portfolios/analytics"],unavailable:!t,isOpenUnavailable:!0},{name:"calculators",Icon:s.default,href:e+"/method/calculators/compound-interest",isDeleteCommonNavigation:!0,subPages:[{name:"calculator_compound_interest",Icon:l.default,href:e+"/method/calculators/compound-interest"},{name:"calculator_mortgage",Icon:c.default,href:e+"/method/calculators/mortgage"},{name:"calculator_credit",Icon:d.default,href:e+"/method/calculators/credit"},{name:"calculator_goals",Icon:f.default,href:e+"/method/calculators/goals"},{name:"calculator_refinance",Icon:m.default,href:e+"/method/calculators/refinance"},{name:"calculator_bonds",Icon:h.default,href:e+"/method/calculators/bonds"},{name:"calculator_currency_converter",Icon:g.default,href:e+"/method/calculators/currency-converter"},{name:"calculator_savings",Icon:v.default,href:e+"/method/calculators/savings"},{name:"calculator_deposit",Icon:b.default,href:e+"/method/calculators/deposit"}]}]})},73741:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.getMyMoney=void 0;const a=r(n(18949)),i=r(n(21205)),o=r(n(17342)),u=r(n(87168)),s=r(n(91634));t.getMyMoney=(e,t)=>({name:"myMoney",Icon:i.default,href:t?e+"/login":e+"/wallet",subPages:[{name:"myMoney_budget",Icon:a.default,href:t?e+"/login":e+"/wallet/accounts",locked:t,subPages:[{name:"myMoney_accounts",href:t?e+"/login":e+"/wallet/accounts"},{name:"myMoney_accumulations",href:t?e+"/login":e+"/wallet/accumulations"},{name:"myMoney_credits",href:t?e+"/login":e+"/wallet/credits"}]},{name:"myMoney_goals",Icon:u.default,href:t?e+"/login":e+"/my-money/goals/active",locked:t,subPages:[{name:"myMoney_goals_active",href:t?e+"/login":e+"/my-money/goals/active"},{name:"myMoney_goals_accomplished",href:t?e+"/login":e+"/my-money/goals/accomplished"}]},{name:"myMoney_desires",Icon:o.default,href:t?e+"/login":e+"/my-money/desires/active",locked:t,subPages:[{name:"myMoney_desires_active",href:t?e+"/login":e+"/my-money/desires/active"},{name:"myMoney_desires_accomplished",href:t?e+"/login":e+"/my-money/desires/accomplished"}]},{name:"myMoney_checklists",Icon:s.default,href:t?e+"/login":e+"/my-money/checklists/all",locked:t,subPages:[{name:"myMoney_checklists_all",href:t?e+"/login":e+"/my-money/checklists/all"},{name:"myMoney_checklists_active",href:t?e+"/login":e+"/my-money/checklists/active"},{name:"myMoney_checklists_accomplished",href:t?e+"/login":e+"/my-money/checklists/completed"}]}]})},28700:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getOther=void 0;const r=n(43016),a=n(63584),i=n(89483);t.getOther=(e,t,n)=>({name:"more",subPages:[(0,a.getCalculatorLinks)(e),(0,r.getFeedLinks)(t),(0,i.getProfileLinks)(e),{name:"partner",href:n?e+"/login":e+"/ref-account",locked:n},{name:"vacancies",href:"https://sites.profinansy.ru/vacancies"},{name:"scammers",href:"https://profinansy.net/counteringfraud#schemes"},{name:"about_company",href:"https://sites.profinansy.ru/about_company"},{name:"client_support",href:"https://t.me/profinansy_help_bot?start=hz585hb"}]})},89483:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.getProfileLinks=void 0;const a=r(n(16768)),i=r(n(61786)),o=r(n(89597)),u=r(n(41607)),s=r(n(24395)),l=r(n(50458));t.getProfileLinks=e=>({name:"profile",href:e+"/account/profile",subPages:[{name:"profile_profile",Icon:a.default,href:e+"/account/profile"},{name:"profile_publications",Icon:i.default,href:e+"/account/publications",hiddenFromChildren:!0},{name:"profile_groups",Icon:o.default,href:e+"/account/chats"},{name:"profile_children_cabinet",href:e+"/account/children",isNew:!0},{name:"profile_channels",Icon:u.default,href:e+"/account/channels",hiddenFromChildren:!0},{name:"profile_favourite",Icon:s.default,href:e+"/account/favorite/instruments"},{name:"profile_bank",isNew:!0,href:e+"/account/bank-ideas",hiddenFromChildren:!0},{name:"profile_notifications",Icon:l.default,href:e+"/account/notifications"},{name:"profile_reviews",isNew:!0,href:e+"/account/reviews/all",innerPages:[`${e}/account/reviews/my-reviews`],hiddenFromChildren:!0}]})},71603:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.deleteCookie=t.setCookie=t.getCookie=void 0;const a=r(n(11595));t.getCookie=e=>{if(a.default){const t=document.cookie.match(new RegExp("(?:^|; )"+e.replace(/([.$?*|{}()[\]\\/+^])/g,"\\$1")+"=([^;]*)"));return t?decodeURIComponent(t[1]):void 0}},t.setCookie=(e,t,n={})=>{const r=Object.assign({path:"/","max-age":31104e3},n),a=window.location.origin;a.includes("localhost")?r.domain="localhost":a.includes("profinansy.ae")?r.domain=".profinansy.ae":r.domain=".profinansy.ru",n.expires instanceof Date&&(r.expires=n.expires.toUTCString());let i=encodeURIComponent(e)+"="+encodeURIComponent(t);for(const e in r){i+="; "+e;const t=r[e];!0!==t&&(i+="="+t)}document.cookie=i},t.deleteCookie=e=>{(0,t.setCookie)(e,"",{"max-age":-1})}},41230:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.debounce=void 0,t.debounce=(e,t)=>{let n;return(...r)=>{clearTimeout(n),n=setTimeout((()=>{e(...r)}),t)}}},94884:(e,t)=>{"use strict";var n;Object.defineProperty(t,"__esModule",{value:!0}),t.BusEvent=void 0,(n=t.BusEvent||(t.BusEvent={})).SearchOpen="search/open",n.SideMenuOpen="sideMenu/open",n.SearchText="search/text",n.SearchInputValue="search/input-value",n.refreshFavourite="favourites/refresh",n.BasketShopRemove="basket/shop-remove",n.BasketHeaderRemove="basket/header-remove",n.BasketAddItems="basket/add-items"},3173:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default={events:{},subscribe:function(e,t){return this.events[e]||(this.events[e]=[]),this.events[e].push(t),()=>{this.unsubscribe(e,t)}},publish:function(e,t){this.events[e]&&this.events[e].forEach((e=>{e(t)}))},unsubscribe:function(e,t){this.events[e]&&(this.events[e]=this.events[e].filter((e=>e!==t)))}}},87777:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.formatDateDistanceToNow=void 0;const r=n(53541),a=n(51991);t.formatDateDistanceToNow=(e,t)=>{if(e)return(0,r.formatDistanceToNowStrict)(new Date(e),{addSuffix:!0,locale:"ru"===t?a.ru:a.enUS,roundingMethod:"round"})}},80492:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getCurrencySymbol=void 0,t.getCurrencySymbol=e=>{switch(e){case"USD":return"$";case"JPY":case"CNY":return"¥";case"EUR":return"€";case"RUB":return"₽";case"CHF":return"₣";case"GBP":return"£";case"GBX":return"P£";case"HKD":return"HK$";case"TRY":return"₺";case"PCT":return"%";case"шт":return"шт.";default:return""}}},9550:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.getImageFormat=void 0;const a=r(n(11595));let i=null;t.getImageFormat=(e,t)=>{if(!e||!t)return"";null===i&&function(){if(!a.default)return!0;const e=document.createElement("canvas");i=!(!e.getContext||!e.getContext("2d"))&&0==e.toDataURL("image/webp").indexOf("data:image/webp")}();const[,n,r,o]=/(.+)\/(.+)\.(.+)/.exec(e);return i?`${n}/${r}-${t}W.webp`:`${n}/${r}-${t}.${o}`}},83333:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getLocalStringNumber=t.roundNumber=void 0,t.roundNumber=(e,t=2)=>0!==e&&e?Number(e.toFixed(t)):0,t.getLocalStringNumber=(e,n=!1,r=2)=>{if(isNaN(e)||Math.abs(e)===1/0||null===e)return"-";if(Math.abs(e)<1e-6)return"0";const a=n?(0,t.roundNumber)(e,r):e,i=String(a).split(".");let o=Number(i[0]).toLocaleString("ru-RU");return i[1]&&(o+=","+i[1]),o}},1283:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getParams=void 0,t.getParams=e=>new URLSearchParams(window.location.search).get(e)},77940:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getUserRules=void 0,t.getUserRules=e=>({isGuest:"guest"===e,isAuth:"guest"!==e,isPaid:"paid"===e})},11595:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default="undefined"!=typeof window},53310:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getToken=t.parseJwt=void 0;const r=n(71603);t.parseJwt=e=>{const t=e.split(".")[1].replace(/-/g,"+").replace(/_/g,"/"),n=decodeURIComponent(window.atob(t).split("").map((function(e){return"%"+("00"+e.charCodeAt(0).toString(16)).slice(-2)})).join(""));return JSON.parse(n)},t.getToken=()=>{const e=window.location.hostname.includes("test")?"dev_web_tk":"web_tk";return(0,r.getCookie)(e)}},8156:t=>{"use strict";t.exports=e},11608:e=>{"use strict";e.exports=t},92378:(e,t,n)=>{"use strict";n.d(t,{Ct:()=>i,Fp:()=>u,Go:()=>w,I4:()=>h,JB:()=>x,KX:()=>M,Qq:()=>g,Rn:()=>p,VV:()=>o,Wh:()=>v,gy:()=>y,hp:()=>m,i8:()=>b,k3:()=>f,ku:()=>d,mA:()=>r,pw:()=>_,uZ:()=>c,yd:()=>k});const r=["top","right","bottom","left"],a=["start","end"],i=r.reduce(((e,t)=>e.concat(t,t+"-"+a[0],t+"-"+a[1])),[]),o=Math.min,u=Math.max,s=(Math.round,Math.floor,{left:"right",right:"left",bottom:"top",top:"bottom"}),l={start:"end",end:"start"};function c(e,t,n){return u(e,o(t,n))}function d(e,t){return"function"==typeof e?e(t):e}function f(e){return e.split("-")[0]}function m(e){return e.split("-")[1]}function p(e){return"x"===e?"y":"x"}function h(e){return"y"===e?"height":"width"}function g(e){return["top","bottom"].includes(f(e))?"y":"x"}function v(e){return p(g(e))}function b(e,t,n){void 0===n&&(n=!1);const r=m(e),a=v(e),i=h(a);let o="x"===a?r===(n?"end":"start")?"right":"left":"start"===r?"bottom":"top";return t.reference[i]>t.floating[i]&&(o=_(o)),[o,_(o)]}function y(e){const t=_(e);return[w(e),t,w(t)]}function w(e){return e.replace(/start|end/g,(e=>l[e]))}function M(e,t,n,r){const a=m(e);let i=function(e,t,n){const r=["left","right"],a=["right","left"],i=["top","bottom"],o=["bottom","top"];switch(e){case"top":case"bottom":return n?t?a:r:t?r:a;case"left":case"right":return t?i:o;default:return[]}}(f(e),"start"===n,r);return a&&(i=i.map((e=>e+"-"+a)),t&&(i=i.concat(i.map(w)))),i}function _(e){return e.replace(/left|right|bottom|top/g,(e=>s[e]))}function k(e){return"number"!=typeof e?function(e){return{top:0,right:0,bottom:0,left:0,...e}}(e):{top:e,right:e,bottom:e,left:e}}function x(e){const{x:t,y:n,width:r,height:a}=e;return{width:r,height:a,top:n,left:t,right:t+r,bottom:n+a,x:t,y:n}}},86:(e,t,n)=>{"use strict";function r(e){return r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},r(e)}n.d(t,{Z:()=>r})},4424:(e,t,n)=>{"use strict";let r,a;n.r(t),n.d(t,{deleteDB:()=>h,openDB:()=>p,unwrap:()=>m,wrap:()=>f});const i=new WeakMap,o=new WeakMap,u=new WeakMap,s=new WeakMap,l=new WeakMap;let c={get(e,t,n){if(e instanceof IDBTransaction){if("done"===t)return o.get(e);if("objectStoreNames"===t)return e.objectStoreNames||u.get(e);if("store"===t)return n.objectStoreNames[1]?void 0:n.objectStore(n.objectStoreNames[0])}return f(e[t])},set:(e,t,n)=>(e[t]=n,!0),has:(e,t)=>e instanceof IDBTransaction&&("done"===t||"store"===t)||t in e};function d(e){return"function"==typeof e?(t=e)!==IDBDatabase.prototype.transaction||"objectStoreNames"in IDBTransaction.prototype?(a||(a=[IDBCursor.prototype.advance,IDBCursor.prototype.continue,IDBCursor.prototype.continuePrimaryKey])).includes(t)?function(...e){return t.apply(m(this),e),f(i.get(this))}:function(...e){return f(t.apply(m(this),e))}:function(e,...n){const r=t.call(m(this),e,...n);return u.set(r,e.sort?e.sort():[e]),f(r)}:(e instanceof IDBTransaction&&function(e){if(o.has(e))return;const t=new Promise(((t,n)=>{const r=()=>{e.removeEventListener("complete",a),e.removeEventListener("error",i),e.removeEventListener("abort",i)},a=()=>{t(),r()},i=()=>{n(e.error||new DOMException("AbortError","AbortError")),r()};e.addEventListener("complete",a),e.addEventListener("error",i),e.addEventListener("abort",i)}));o.set(e,t)}(e),n=e,(r||(r=[IDBDatabase,IDBObjectStore,IDBIndex,IDBCursor,IDBTransaction])).some((e=>n instanceof e))?new Proxy(e,c):e);var t,n}function f(e){if(e instanceof IDBRequest)return function(e){const t=new Promise(((t,n)=>{const r=()=>{e.removeEventListener("success",a),e.removeEventListener("error",i)},a=()=>{t(f(e.result)),r()},i=()=>{n(e.error),r()};e.addEventListener("success",a),e.addEventListener("error",i)}));return t.then((t=>{t instanceof IDBCursor&&i.set(t,e)})).catch((()=>{})),l.set(t,e),t}(e);if(s.has(e))return s.get(e);const t=d(e);return t!==e&&(s.set(e,t),l.set(t,e)),t}const m=e=>l.get(e);function p(e,t,{blocked:n,upgrade:r,blocking:a,terminated:i}={}){const o=indexedDB.open(e,t),u=f(o);return r&&o.addEventListener("upgradeneeded",(e=>{r(f(o.result),e.oldVersion,e.newVersion,f(o.transaction),e)})),n&&o.addEventListener("blocked",(e=>n(e.oldVersion,e.newVersion,e))),u.then((e=>{i&&e.addEventListener("close",(()=>i())),a&&e.addEventListener("versionchange",(e=>a(e.oldVersion,e.newVersion,e)))})).catch((()=>{})),u}function h(e,{blocked:t}={}){const n=indexedDB.deleteDatabase(e);return t&&n.addEventListener("blocked",(e=>t(e.oldVersion,e))),f(n).then((()=>{}))}const g=["get","getKey","getAll","getAllKeys","count"],v=["put","add","delete","clear"],b=new Map;function y(e,t){if(!(e instanceof IDBDatabase)||t in e||"string"!=typeof t)return;if(b.get(t))return b.get(t);const n=t.replace(/FromIndex$/,""),r=t!==n,a=v.includes(n);if(!(n in(r?IDBIndex:IDBObjectStore).prototype)||!a&&!g.includes(n))return;const i=async function(e,...t){const i=this.transaction(e,a?"readwrite":"readonly");let o=i.store;return r&&(o=o.index(t.shift())),(await Promise.all([o[n](...t),a&&i.done]))[0]};return b.set(t,i),i}var w;w=c,c={...w,get:(e,t,n)=>y(e,t)||w.get(e,t,n),has:(e,t)=>!!y(e,t)||w.has(e,t)}},97582:(e,t,n)=>{"use strict";n.r(t),n.d(t,{__addDisposableResource:()=>I,__assign:()=>i,__asyncDelegator:()=>P,__asyncGenerator:()=>x,__asyncValues:()=>O,__await:()=>k,__awaiter:()=>p,__classPrivateFieldGet:()=>D,__classPrivateFieldIn:()=>W,__classPrivateFieldSet:()=>T,__createBinding:()=>g,__decorate:()=>u,__disposeResources:()=>L,__esDecorate:()=>l,__exportStar:()=>v,__extends:()=>a,__generator:()=>h,__importDefault:()=>C,__importStar:()=>S,__makeTemplateObject:()=>E,__metadata:()=>m,__param:()=>s,__propKey:()=>d,__read:()=>y,__rest:()=>o,__runInitializers:()=>c,__setFunctionName:()=>f,__spread:()=>w,__spreadArray:()=>_,__spreadArrays:()=>M,__values:()=>b,default:()=>H});var r=function(e,t){return r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},r(e,t)};function a(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}var i=function(){return i=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var a in t=arguments[n])Object.prototype.hasOwnProperty.call(t,a)&&(e[a]=t[a]);return e},i.apply(this,arguments)};function o(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var a=0;for(r=Object.getOwnPropertySymbols(e);a<r.length;a++)t.indexOf(r[a])<0&&Object.prototype.propertyIsEnumerable.call(e,r[a])&&(n[r[a]]=e[r[a]])}return n}function u(e,t,n,r){var a,i=arguments.length,o=i<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)o=Reflect.decorate(e,t,n,r);else for(var u=e.length-1;u>=0;u--)(a=e[u])&&(o=(i<3?a(o):i>3?a(t,n,o):a(t,n))||o);return i>3&&o&&Object.defineProperty(t,n,o),o}function s(e,t){return function(n,r){t(n,r,e)}}function l(e,t,n,r,a,i){function o(e){if(void 0!==e&&"function"!=typeof e)throw new TypeError("Function expected");return e}for(var u,s=r.kind,l="getter"===s?"get":"setter"===s?"set":"value",c=!t&&e?r.static?e:e.prototype:null,d=t||(c?Object.getOwnPropertyDescriptor(c,r.name):{}),f=!1,m=n.length-1;m>=0;m--){var p={};for(var h in r)p[h]="access"===h?{}:r[h];for(var h in r.access)p.access[h]=r.access[h];p.addInitializer=function(e){if(f)throw new TypeError("Cannot add initializers after decoration has completed");i.push(o(e||null))};var g=(0,n[m])("accessor"===s?{get:d.get,set:d.set}:d[l],p);if("accessor"===s){if(void 0===g)continue;if(null===g||"object"!=typeof g)throw new TypeError("Object expected");(u=o(g.get))&&(d.get=u),(u=o(g.set))&&(d.set=u),(u=o(g.init))&&a.unshift(u)}else(u=o(g))&&("field"===s?a.unshift(u):d[l]=u)}c&&Object.defineProperty(c,r.name,d),f=!0}function c(e,t,n){for(var r=arguments.length>2,a=0;a<t.length;a++)n=r?t[a].call(e,n):t[a].call(e);return r?n:void 0}function d(e){return"symbol"==typeof e?e:"".concat(e)}function f(e,t,n){return"symbol"==typeof t&&(t=t.description?"[".concat(t.description,"]"):""),Object.defineProperty(e,"name",{configurable:!0,value:n?"".concat(n," ",t):t})}function m(e,t){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)}function p(e,t,n,r){return new(n||(n=Promise))((function(a,i){function o(e){try{s(r.next(e))}catch(e){i(e)}}function u(e){try{s(r.throw(e))}catch(e){i(e)}}function s(e){var t;e.done?a(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(o,u)}s((r=r.apply(e,t||[])).next())}))}function h(e,t){var n,r,a,i,o={label:0,sent:function(){if(1&a[0])throw a[1];return a[1]},trys:[],ops:[]};return i={next:u(0),throw:u(1),return:u(2)},"function"==typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function u(u){return function(s){return function(u){if(n)throw new TypeError("Generator is already executing.");for(;i&&(i=0,u[0]&&(o=0)),o;)try{if(n=1,r&&(a=2&u[0]?r.return:u[0]?r.throw||((a=r.return)&&a.call(r),0):r.next)&&!(a=a.call(r,u[1])).done)return a;switch(r=0,a&&(u=[2&u[0],a.value]),u[0]){case 0:case 1:a=u;break;case 4:return o.label++,{value:u[1],done:!1};case 5:o.label++,r=u[1],u=[0];continue;case 7:u=o.ops.pop(),o.trys.pop();continue;default:if(!((a=(a=o.trys).length>0&&a[a.length-1])||6!==u[0]&&2!==u[0])){o=0;continue}if(3===u[0]&&(!a||u[1]>a[0]&&u[1]<a[3])){o.label=u[1];break}if(6===u[0]&&o.label<a[1]){o.label=a[1],a=u;break}if(a&&o.label<a[2]){o.label=a[2],o.ops.push(u);break}a[2]&&o.ops.pop(),o.trys.pop();continue}u=t.call(e,o)}catch(e){u=[6,e],r=0}finally{n=a=0}if(5&u[0])throw u[1];return{value:u[0]?u[1]:void 0,done:!0}}([u,s])}}}var g=Object.create?function(e,t,n,r){void 0===r&&(r=n);var a=Object.getOwnPropertyDescriptor(t,n);a&&!("get"in a?!t.__esModule:a.writable||a.configurable)||(a={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,a)}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]};function v(e,t){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(t,n)||g(t,e,n)}function b(e){var t="function"==typeof Symbol&&Symbol.iterator,n=t&&e[t],r=0;if(n)return n.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&r>=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")}function y(e,t){var n="function"==typeof Symbol&&e[Symbol.iterator];if(!n)return e;var r,a,i=n.call(e),o=[];try{for(;(void 0===t||t-- >0)&&!(r=i.next()).done;)o.push(r.value)}catch(e){a={error:e}}finally{try{r&&!r.done&&(n=i.return)&&n.call(i)}finally{if(a)throw a.error}}return o}function w(){for(var e=[],t=0;t<arguments.length;t++)e=e.concat(y(arguments[t]));return e}function M(){for(var e=0,t=0,n=arguments.length;t<n;t++)e+=arguments[t].length;var r=Array(e),a=0;for(t=0;t<n;t++)for(var i=arguments[t],o=0,u=i.length;o<u;o++,a++)r[a]=i[o];return r}function _(e,t,n){if(n||2===arguments.length)for(var r,a=0,i=t.length;a<i;a++)!r&&a in t||(r||(r=Array.prototype.slice.call(t,0,a)),r[a]=t[a]);return e.concat(r||Array.prototype.slice.call(t))}function k(e){return this instanceof k?(this.v=e,this):new k(e)}function x(e,t,n){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var r,a=n.apply(e,t||[]),i=[];return r={},o("next"),o("throw"),o("return"),r[Symbol.asyncIterator]=function(){return this},r;function o(e){a[e]&&(r[e]=function(t){return new Promise((function(n,r){i.push([e,t,n,r])>1||u(e,t)}))})}function u(e,t){try{(n=a[e](t)).value instanceof k?Promise.resolve(n.value.v).then(s,l):c(i[0][2],n)}catch(e){c(i[0][3],e)}var n}function s(e){u("next",e)}function l(e){u("throw",e)}function c(e,t){e(t),i.shift(),i.length&&u(i[0][0],i[0][1])}}function P(e){var t,n;return t={},r("next"),r("throw",(function(e){throw e})),r("return"),t[Symbol.iterator]=function(){return this},t;function r(r,a){t[r]=e[r]?function(t){return(n=!n)?{value:k(e[r](t)),done:!1}:a?a(t):t}:a}}function O(e){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var t,n=e[Symbol.asyncIterator];return n?n.call(e):(e=b(e),t={},r("next"),r("throw"),r("return"),t[Symbol.asyncIterator]=function(){return this},t);function r(n){t[n]=e[n]&&function(t){return new Promise((function(r,a){!function(e,t,n,r){Promise.resolve(r).then((function(t){e({value:t,done:n})}),t)}(r,a,(t=e[n](t)).done,t.value)}))}}}function E(e,t){return Object.defineProperty?Object.defineProperty(e,"raw",{value:t}):e.raw=t,e}var j=Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t};function S(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)"default"!==n&&Object.prototype.hasOwnProperty.call(e,n)&&g(t,e,n);return j(t,e),t}function C(e){return e&&e.__esModule?e:{default:e}}function D(e,t,n,r){if("a"===n&&!r)throw new TypeError("Private accessor was defined without a getter");if("function"==typeof t?e!==t||!r:!t.has(e))throw new TypeError("Cannot read private member from an object whose class did not declare it");return"m"===n?r:"a"===n?r.call(e):r?r.value:t.get(e)}function T(e,t,n,r,a){if("m"===r)throw new TypeError("Private method is not writable");if("a"===r&&!a)throw new TypeError("Private accessor was defined without a setter");if("function"==typeof t?e!==t||!a:!t.has(e))throw new TypeError("Cannot write private member to an object whose class did not declare it");return"a"===r?a.call(e,n):a?a.value=n:t.set(e,n),n}function W(e,t){if(null===t||"object"!=typeof t&&"function"!=typeof t)throw new TypeError("Cannot use 'in' operator on non-object");return"function"==typeof e?t===e:e.has(t)}function I(e,t,n){if(null!=t){if("object"!=typeof t&&"function"!=typeof t)throw new TypeError("Object expected.");var r;if(n){if(!Symbol.asyncDispose)throw new TypeError("Symbol.asyncDispose is not defined.");r=t[Symbol.asyncDispose]}if(void 0===r){if(!Symbol.dispose)throw new TypeError("Symbol.dispose is not defined.");r=t[Symbol.dispose]}if("function"!=typeof r)throw new TypeError("Object not disposable.");e.stack.push({value:t,dispose:r,async:n})}else n&&e.stack.push({async:!0});return t}var Z="function"==typeof SuppressedError?SuppressedError:function(e,t,n){var r=new Error(n);return r.name="SuppressedError",r.error=e,r.suppressed=t,r};function L(e){function t(t){e.error=e.hasError?new Z(t,e.error,"An error was suppressed during disposal."):t,e.hasError=!0}return function n(){for(;e.stack.length;){var r=e.stack.pop();try{var a=r.dispose&&r.dispose.call(r.value);if(r.async)return Promise.resolve(a).then(n,(function(e){return t(e),n()}))}catch(e){t(e)}}if(e.hasError)throw e.error}()}const H={__extends:a,__assign:i,__rest:o,__decorate:u,__param:s,__metadata:m,__awaiter:p,__generator:h,__createBinding:g,__exportStar:v,__values:b,__read:y,__spread:w,__spreadArrays:M,__spreadArray:_,__await:k,__asyncGenerator:x,__asyncDelegator:P,__asyncValues:O,__makeTemplateObject:E,__importStar:S,__importDefault:C,__classPrivateFieldGet:D,__classPrivateFieldSet:T,__classPrivateFieldIn:W,__addDisposableResource:I,__disposeResources:L}}},r={};function a(e){var t=r[e];if(void 0!==t)return t.exports;var i=r[e]={exports:{}};return n[e].call(i.exports,i,i.exports,a),i.exports}return a.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return a.d(t,{a:t}),t},a.d=(e,t)=>{for(var n in t)a.o(t,n)&&!a.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},a.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),a.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),a.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},a(63607)})()));
|
|
@@ -20,9 +20,9 @@ export declare const getOther: (hostname: string, hostnameLenta: string, isGuest
|
|
|
20
20
|
} | {
|
|
21
21
|
name: string;
|
|
22
22
|
href: string;
|
|
23
|
+
isNew: boolean;
|
|
23
24
|
Icon?: undefined;
|
|
24
25
|
hiddenFromChildren?: undefined;
|
|
25
|
-
isNew?: undefined;
|
|
26
26
|
innerPages?: undefined;
|
|
27
27
|
} | {
|
|
28
28
|
name: string;
|
|
@@ -18,9 +18,9 @@ export declare const getProfileLinks: (hostname: string) => {
|
|
|
18
18
|
} | {
|
|
19
19
|
name: string;
|
|
20
20
|
href: string;
|
|
21
|
+
isNew: boolean;
|
|
21
22
|
Icon?: undefined;
|
|
22
23
|
hiddenFromChildren?: undefined;
|
|
23
|
-
isNew?: undefined;
|
|
24
24
|
innerPages?: undefined;
|
|
25
25
|
} | {
|
|
26
26
|
name: string;
|