PageSourceSearch

https://www.firstrade.com/_next/static/chunks/pages/_app-f4b0b31989e9c08d.js

js firstrade.com collected 2026-09-24 09:39:31 UTC 402,338 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[2888],{30242:function(e,t,n){var r={"./en-US/about":[8680,8680],"./en-US/about-tab-nav":[76120,6120],"./en-US/about-tab-nav.json":[76120,6120],"./en-US/about.json":[8680,8680],"./en-US/accolades":[42118,2118],"./en-US/accolades-page":[65462,5462],"./en-US/accolades-page.json":[65462,5462],"./en-US/accolades.json":[42118,2118],"./en-US/branding1":[79954,9954],"./en-US/branding1.json":[79954,9954],"./en-US/branding2":[51061,1061],"./en-US/branding2.json":[51061,1061],"./en-US/broker":[13018,3018],"./en-US/broker.json":[13018,3018],"./en-US/brokerage":[43762,3762],"./en-US/brokerage.json":[43762,3762],"./en-US/businessplanning":[45308,5308],"./en-US/businessplanning.json":[45308,5308],"./en-US/careers":[28986,8986],"./en-US/careers.json":[28986,8986],"./en-US/cma":[17895,7895],"./en-US/cma-landing":[53960,3960],"./en-US/cma-landing.json":[53960,3960],"./en-US/cma.json":[17895,7895],"./en-US/commission-table":[40003,3],"./en-US/commission-table.json":[40003,3],"./en-US/common":[36326,6326],"./en-US/common.json":[36326,6326],"./en-US/contact":[62180,2180],"./en-US/contact.json":[62180,2180],"./en-US/corporate-responsibility":[54785,4785],"./en-US/corporate-responsibility.json":[54785,4785],"./en-US/dividend-reinvestment":[49968,9968],"./en-US/dividend-reinvestment.json":[49968,9968],"./en-US/edu-etfs-slug":[48646,8646],"./en-US/edu-etfs-slug.json":[48646,8646],"./en-US/edu-fixed-income-slug":[72210,2210],"./en-US/edu-fixed-income-slug.json":[72210,2210],"./en-US/edu-margin-loans":[8732,8732],"./en-US/edu-margin-loans.json":[8732,8732],"./en-US/edu-margin-slug":[3499,3499],"./en-US/edu-margin-slug.json":[3499,3499],"./en-US/edu-mutual-funds-slug":[19783,9783],"./en-US/edu-mutual-funds-slug.json":[19783,9783],"./en-US/edu-options-slug":[26871,6871],"./en-US/edu-options-slug.json":[26871,6871],"./en-US/edu-stocks-slug":[31862,1862],"./en-US/edu-stocks-slug.json":[31862,1862],"./en-US/education":[72735,2735],"./en-US/education.json":[72735,2735],"./en-US/educationplanning":[85107,5107],"./en-US/educationplanning.json":[85107,5107],"./en-US/email":[93288,3288],"./en-US/email.json":[93288,3288],"./en-US/error":[7289,7289],"./en-US/error.json":[7289,7289],"./en-US/etfs":[9943,9943],"./en-US/etfs.json":[9943,9943],"./en-US/events":[88720,5928],"./en-US/events.json":[88720,5928],"./en-US/extended-hours":[29092,9092],"./en-US/extended-hours.json":[29092,9092],"./en-US/firstradegpt":[77577,7577],"./en-US/firstradegpt.json":[77577,7577],"./en-US/fixed-income":[21985,1985],"./en-US/fixed-income.json":[21985,1985],"./en-US/formcenter":[89526,9526],"./en-US/formcenter.json":[89526,9526],"./en-US/fractional-shares":[9149,9149],"./en-US/fractional-shares.json":[9149,9149],"./en-US/freeacat":[70536,536],"./en-US/freeacat.json":[70536,536],"./en-US/funding":[28150,7122],"./en-US/funding.json":[28150,7122],"./en-US/glossaryslug":[35736,5736],"./en-US/glossaryslug.json":[35736,5736],"./en-US/history":[88349,8349],"./en-US/history.json":[88349,8349],"./en-US/home":[10402,402],"./en-US/home.json":[10402,402],"./en-US/international":[72804,2804],"./en-US/international.json":[72804,2804],"./en-US/ira":[4907,4907],"./en-US/ira-landing":[13368,3368],"./en-US/ira-landing.json":[13368,3368],"./en-US/ira.json":[4907,4907],"./en-US/landing":[68303,8303],"./en-US/landing.json":[68303,8303],"./en-US/margin-loans":[32484,2484],"./en-US/margin-loans.json":[32484,2484],"./en-US/margin-rates-table":[67487,7487],"./en-US/margin-rates-table.json":[67487,7487],"./en-US/margin_rates":[28062,8062],"./en-US/margin_rates.json":[28062,8062],"./en-US/mobile":[12866,2866],"./en-US/mobile-download":[92279,2279],"./en-US/mobile-download.json":[92279,2279],"./en-US/mobile-login":[87416,7416],"./en-US/mobile-login.json":[87416,7416],"./en-US/mobile.json":[12866,2866],"./en-US/mutual-funds":[55608,5608],"./en-US/mutual-funds.json":[55608,5608],"./en-US/options":[70862,862],"./en-US/options-wizard":[24827,4827],"./en-US/options-wizard.json":[24827,4827],"./en-US/options.json":[70862,862],"./en-US/overnight-trading":[19229,9229],"./en-US/overnight-trading.json":[19229,9229],"./en-US/press":[39654,9654],"./en-US/press.json":[39654,9654],"./en-US/pricing":[40748,748],"./en-US/pricing-tabs":[41631,1631],"./en-US/pricing-tabs.json":[41631,1631],"./en-US/pricing.json":[40748,748],"./en-US/promocashbonus":[27073,7073],"./en-US/promocashbonus.json":[27073,7073],"./en-US/promos":[12289,2289],"./en-US/promos.json":[12289,2289],"./en-US/referral":[62173,2173],"./en-US/referral.json":[62173,2173],"./en-US/research-tools":[50089,89],"./en-US/research-tools.json":[50089,89],"./en-US/retirement":[68133,8133],"./en-US/retirement-calculator":[94366,4366],"./en-US/retirement-calculator.json":[94366,4366],"./en-US/retirement.json":[68133,8133],"./en-US/rollover401k":[34848,4848],"./en-US/rollover401k.json":[34848,4848],"./en-US/rolloverira":[72146,2146],"./en-US/rolloverira.json":[72146,2146],"./en-US/rothira":[58699,8699],"./en-US/rothira.json":[58699,8699],"./en-US/securities-lending":[94624,4624],"./en-US/securities-lending.json":[94624,4624],"./en-US/security-center-slug":[3036,3036],"./en-US/security-center-slug.json":[3036,3036],"./en-US/security-you-can-trust":[72308,2308],"./en-US/security-you-can-trust.json":[72308,2308],"./en-US/sidebars":[19888,9888],"./en-US/sidebars.json":[19888,9888],"./en-US/special_services":[11611,1611],"./en-US/special_services.json":[11611,1611],"./en-US/stocks":[29955,9955],"./en-US/stocks.json":[29955,9955],"./en-US/tax":[98449,8449],"./en-US/tax-center":[79805,5692],"./en-US/tax-center-menu":[2130,2130],"./en-US/tax-center-menu.json":[2130,2130],"./en-US/tax-center-slug":[699,699],"./en-US/tax-center-slug.json":[699,699],"./en-US/tax-center.json":[79805,5692],"./en-US/tax.json":[98449,8449],"./en-US/trading":[93176,3176],"./en-US/trading.json":[93176,3176],"./en-US/traditional-vs-roth-ira":[48373,8373],"./en-US/traditional-vs-roth-ira.json":[48373,8373],"./en-US/transfer":[15534,5534],"./en-US/transfer.json":[15534,5534],"./en-US/upcoming-ipo":[53766,3766],"./en-US/upcoming-ipo.json":[53766,3766],"./en-US/video":[72621,2621],"./en-US/video.json":[72621,2621],"./en-US/w8ben":[73120,3120],"./en-US/w8ben.json":[73120,3120],"./en-US/wirefeerebate":[3999,3999],"./en-US/wirefeerebate.json":[3999,3999],"./zh-CN/about":[37182,7182],"./zh-CN/about-tab-nav":[57081,7081],"./zh-CN/about-tab-nav.json":[57081,7081],"./zh-CN/about.json":[37182,7182],"./zh-CN/accolades":[16255,6255],"./zh-CN/accolades-page":[7878,7878],"./zh-CN/accolades-page.json":[7878,7878],"./zh-CN/accolades.json":[16255,6255],"./zh-CN/branding1":[34240,4240],"./zh-CN/branding1.json":[34240,4240],"./zh-CN/branding2":[95390,5390],"./zh-CN/branding2.json":[95390,5390],"./zh-CN/broker":[99632,9632],"./zh-CN/broker.json":[99632,9632],"./zh-CN/brokerage":[43255,3255],"./zh-CN/brokerage.json":[43255,3255],"./zh-CN/businessplanning":[41009,1009],"./zh-CN/businessplanning.json":[41009,1009],"./zh-CN/careers":[10305,305],"./zh-CN/careers.json":[10305,305],"./zh-CN/cma":[30851,851],"./zh-CN/cma-landing":[4645,4645],"./zh-CN/cma-landing.json":[4645,4645],"./zh-CN/cma.json":[30851,851],"./zh-CN/commission-table":[77836,7836],"./zh-CN/commission-table.json":[77836,7836],"./zh-CN/common":[45807,5807],"./zh-CN/common.json":[45807,5807],"./zh-CN/contact":[15881,5881],"./zh-CN/contact.json":[15881,5881],"./zh-CN/corporate-responsibility":[13434,3434],"./zh-CN/corporate-responsibility.json":[13434,3434],"./zh-CN/crypto-market":[72573,2573],"./zh-CN/crypto-market.json":[72573,2573],"./zh-CN/dividend-reinvestment":[92637,2637],"./zh-CN/dividend-reinvestment.json":[92637,2637],"./zh-CN/edu-etfs-slug":[76340,6340],"./zh-CN/edu-etfs-slug.json":[76340,6340],"./zh-CN/edu-fixed-income-slug":[48594,8594],"./zh-CN/edu-fixed-income-slug.json":[48594,8594],"./zh-CN/edu-margin-loans":[7410,7410],"./zh-CN/edu-margin-loans.json":[7410,7410],"./zh-CN/edu-margin-slug":[82326,2326],"./zh-CN/edu-margin-slug.json":[82326,2326],"./zh-CN/edu-mutual-funds-slug":[38233,8233],"./zh-CN/edu-mutual-funds-slug.json":[38233,8233],"./zh-CN/edu-options-slug":[29416,9416],"./zh-CN/edu-options-slug.json":[29416,9416],"./zh-CN/edu-stocks-slug":[86198,6198],"./zh-CN/edu-stocks-slug.json":[86198,6198],"./zh-CN/education":[39081,9081],"./zh-CN/education.json":[39081,9081],"./zh-CN/educationplanning":[76797,6797],"./zh-CN/educationplanning.json":[76797,6797],"./zh-CN/email":[28833,8833],"./zh-CN/email.json":[28833,8833],"./zh-CN/error":[15426,5426],"./zh-CN/error.json":[15426,5426],"./zh-CN/etfs":[87648,7648],"./zh-CN/etfs.json":[87648,7648],"./zh-CN/events":[61989,1989],"./zh-CN/events.json":[61989,1989],"./zh-CN/extended-hours":[52592,2592],"./zh-CN/extended-hours.json":[52592,2592],"./zh-CN/firstradegpt":[52816,2816],"./zh-CN/firstradegpt.json":[52816,2816],"./zh-CN/fixed-income":[5850,5850],"./zh-CN/fixed-income.json":[5850,5850],"./zh-CN/formcenter"
1:[34970,4970],"./zh-CN/formcenter.json":[34970,4970],"./zh-CN/fractional-shares":[82638,2638],"./zh-CN/fractional-shares.json":[82638,2638],"./zh-CN/freeacat":[5029,5029],"./zh-CN/freeacat.json":[5029,5029],"./zh-CN/funding":[81730,1730],"./zh-CN/funding.json":[81730,1730],"./zh-CN/glossaryslug":[48975,8975],"./zh-CN/glossaryslug.json":[48975,8975],"./zh-CN/history":[303,303],"./zh-CN/history.json":[303,303],"./zh-CN/home":[5520,5520],"./zh-CN/home.json":[5520,5520],"./zh-CN/international":[81653,1653],"./zh-CN/international.json":[81653,1653],"./zh-CN/ira":[82299,2299],"./zh-CN/ira-landing":[52985,2985],"./zh-CN/ira-landing.json":[52985,2985],"./zh-CN/ira.json":[82299,2299],"./zh-CN/landing":[46105,6105],"./zh-CN/landing.json":[46105,6105],"./zh-CN/margin-loans":[27168,7168],"./zh-CN/margin-loans.json":[27168,7168],"./zh-CN/margin-rates-table":[50510,510],"./zh-CN/margin-rates-table.json":[50510,510],"./zh-CN/margin_rates":[64134,4134],"./zh-CN/margin_rates.json":[64134,4134],"./zh-CN/mobile":[92324,2324],"./zh-CN/mobile-download":[46607,6607],"./zh-CN/mobile-download.json":[46607,6607],"./zh-CN/mobile-login":[20854,854],"./zh-CN/mobile-login.json":[20854,854],"./zh-CN/mobile.json":[92324,2324],"./zh-CN/mutual-funds":[27971,7971],"./zh-CN/mutual-funds.json":[27971,7971],"./zh-CN/options":[49886,9886],"./zh-CN/options-wizard":[42682,2682],"./zh-CN/options-wizard.json":[42682,2682],"./zh-CN/options.json":[49886,9886],"./zh-CN/overnight-trading":[51874,1874],"./zh-CN/overnight-trading.json":[51874,1874],"./zh-CN/press":[33279,3279],"./zh-CN/press.json":[33279,3279],"./zh-CN/pricing":[29251,9251],"./zh-CN/pricing-tabs":[25612,5612],"./zh-CN/pricing-tabs.json":[25612,5612],"./zh-CN/pricing.json":[29251,9251],"./zh-CN/promocashbonus":[16145,6145],"./zh-CN/promocashbonus.json":[16145,6145],"./zh-CN/promos":[78203,8203],"./zh-CN/promos.json":[78203,8203],"./zh-CN/referral":[84390,4390],"./zh-CN/referral.json":[84390,4390],"./zh-CN/research-tools":[81091,1091],"./zh-CN/research-tools.json":[81091,1091],"./zh-CN/retirement":[40020,20],"./zh-CN/retirement-calculator":[6379,6379],"./zh-CN/retirement-calculator.json":[6379,6379],"./zh-CN/retirement.json":[40020,20],"./zh-CN/rollover401k":[91095,1095],"./zh-CN/rollover401k.json":[91095,1095],"./zh-CN/rolloverira":[26240,6240],"./zh-CN/rolloverira.json":[26240,6240],"./zh-CN/rothira":[25407,5407],"./zh-CN/rothira.json":[25407,5407],"./zh-CN/securities-lending":[61734,1734],"./zh-CN/securities-lending.json":[61734,1734],"./zh-CN/security-center-slug":[56095,6095],"./zh-CN/security-center-slug.json":[56095,6095],"./zh-CN/security-you-can-trust":[97875,7875],"./zh-CN/security-you-can-trust.json":[97875,7875],"./zh-CN/sidebars":[30042,42],"./zh-CN/sidebars.json":[30042,42],"./zh-CN/special_services":[81821,1821],"./zh-CN/special_services.json":[81821,1821],"./zh-CN/stocks":[20391,391],"./zh-CN/stocks.json":[20391,391],"./zh-CN/tax":[61383,1383],"./zh-CN/tax-center":[32481,2481],"./zh-CN/tax-center-menu":[95290,5290],"./zh-CN/tax-center-menu.json":[95290,5290],"./zh-CN/tax-center-slug":[8104,8104],"./zh-CN/tax-center-slug.json":[8104,8104],"./zh-CN/tax-center.json":[32481,2481],"./zh-CN/tax.json":[61383,1383],"./zh-CN/trading":[79777,9777],"./zh-CN/trading.json":[79777,9777],"./zh-CN/traditional-vs-roth-ira":[70686,686],"./zh-CN/traditional-vs-roth-ira.json":[70686,686],"./zh-CN/transfer":[2122,2122],"./zh-CN/transfer.json":[2122,2122],"./zh-CN/upcoming-ipo":[47885,7885],"./zh-CN/upcoming-ipo.json":[47885,7885],"./zh-CN/video":[66515,6515],"./zh-CN/video.json":[66515,6515],"./zh-CN/w8ben":[64166,4166],"./zh-CN/w8ben.json":[64166,4166],"./zh-CN/wirefeerebate":[61964,1964],"./zh-CN/wirefeerebate.json":[61964,1964],"./zh-TW/about":[27031,7031],"./zh-TW/about-tab-nav":[17071,7071],"./zh-TW/about-tab-nav.json":[17071,7071],"./zh-TW/about.json":[27031,7031],"./zh-TW/accolades":[68677,8677],"./zh-TW/accolades-page":[1499,1499],"./zh-TW/accolades-page.json":[1499,1499],"./zh-TW/accolades.json":[68677,8677],"./zh-TW/branding1":[78957,8957],"./zh-TW/branding1.json":[78957,8957],"./zh-TW/branding2":[36232,6232],"./zh-TW/branding2.json":[36232,6232],"./zh-TW/broker":[34105,4105],"./zh-TW/broker.json":[34105,4105],"./zh-TW/brokerage":[63838,3838],"./zh-TW/brokerage.json":[63838,3838],"./zh-TW/businessplanning":[13363,3363],"./zh-TW/businessplanning.json":[13363,3363],"./zh-TW/careers":[19241,9241],"./zh-TW/careers.json":[19241,9241],"./zh-TW/cma":[23052,3052],"./zh-TW/cma-landing":[71867,1867],"./zh-TW/cma-landing.json":[71867,1867],"./zh-TW/cma.json":[23052,3052],"./zh-TW/commission-table":[9810,9810],"./zh-TW/commission-table.json":[9810,9810],"./zh-TW/common":[47715,7715],"./zh-TW/common.json":[47715,7715],"./zh-TW/contact":[77075,7075],"./zh-TW/contact.json":[77075,7075],"./zh-TW/corporate-responsibility":[14735,4735],"./zh-TW/corporate-responsibility.json":[14735,4735],"./zh-TW/crypto-market":[69422,9422],"./zh-TW/crypto-market.json":[69422,9422],"./zh-TW/dividend-reinvestment":[10522,522],"./zh-TW/dividend-reinvestment.json":[10522,522],"./zh-TW/edu-etfs-slug":[27965,7965],"./zh-TW/edu-etfs-slug.json":[27965,7965],"./zh-TW/edu-fixed-income-slug":[31856,1856],"./zh-TW/edu-fixed-income-slug.json":[31856,1856],"./zh-TW/edu-margin-loans":[43160,3160],"./zh-TW/edu-margin-loans.json":[43160,3160],"./zh-TW/edu-margin-slug":[48517,8517],"./zh-TW/edu-margin-slug.json":[48517,8517],"./zh-TW/edu-mutual-funds-slug":[69458,9458],"./zh-TW/edu-mutual-funds-slug.json":[69458,9458],"./zh-TW/edu-options-slug":[70743,743],"./zh-TW/edu-options-slug.json":[70743,743],"./zh-TW/edu-stocks-slug":[61771,1771],"./zh-TW/edu-stocks-slug.json":[61771,1771],"./zh-TW/education":[99965,9965],"./zh-TW/education.json":[99965,9965],"./zh-TW/educationplanning":[20215,215],"./zh-TW/educationplanning.json":[20215,215],"./zh-TW/email":[47357,7357],"./zh-TW/email.json":[47357,7357],"./zh-TW/error":[41244,1244],"./zh-TW/error.json":[41244,1244],"./zh-TW/etfs":[70373,373],"./zh-TW/etfs.json":[70373,373],"./zh-TW/events":[92366,2366],"./zh-TW/events.json":[92366,2366],"./zh-TW/extended-hours":[80366,366],"./zh-TW/extended-hours.json":[80366,366],"./zh-TW/firstradegpt":[70
157,7057],"./zh-TW/firstradegpt.json":[7057,7057],"./zh-TW/fixed-income":[49178,9178],"./zh-TW/fixed-income.json":[49178,9178],"./zh-TW/formcenter":[45738,5738],"./zh-TW/formcenter.json":[45738,5738],"./zh-TW/fractional-shares":[79716,9716],"./zh-TW/fractional-shares.json":[79716,9716],"./zh-TW/freeacat":[95455,5455],"./zh-TW/freeacat.json":[95455,5455],"./zh-TW/funding":[24499,4499],"./zh-TW/funding.json":[24499,4499],"./zh-TW/glossaryslug":[80462,462],"./zh-TW/glossaryslug.json":[80462,462],"./zh-TW/history":[89828,9828],"./zh-TW/history.json":[89828,9828],"./zh-TW/home":[54044,4044],"./zh-TW/home.json":[54044,4044],"./zh-TW/international":[22096,2096],"./zh-TW/international.json":[22096,2096],"./zh-TW/ira":[79021,9021],"./zh-TW/ira-landing":[30495,495],"./zh-TW/ira-landing.json":[30495,495],"./zh-TW/ira.json":[79021,9021],"./zh-TW/landing":[98738,8738],"./zh-TW/landing.json":[98738,8738],"./zh-TW/margin-loans":[22786,2786],"./zh-TW/margin-loans.json":[22786,2786],"./zh-TW/margin-rates-table":[50132,132],"./zh-TW/margin-rates-table.json":[50132,132],"./zh-TW/margin_rates":[43207,3207],"./zh-TW/margin_rates.json":[43207,3207],"./zh-TW/mobile":[8720,8720],"./zh-TW/mobile-download":[583,583],"./zh-TW/mobile-download.json":[583,583],"./zh-TW/mobile-login":[78194,8194],"./zh-TW/mobile-login.json":[78194,8194],"./zh-TW/mobile.json":[8720,8720],"./zh-TW/mutual-funds":[99760,9760],"./zh-TW/mutual-funds.json":[99760,9760],"./zh-TW/options":[4302,4302],"./zh-TW/options-wizard":[18595,8595],"./zh-TW/options-wizard.json":[18595,8595],"./zh-TW/options.json":[4302,4302],"./zh-TW/overnight-trading":[95217,5217],"./zh-TW/overnight-trading.json":[95217,5217],"./zh-TW/press":[85571,5571],"./zh-TW/press.json":[85571,5571],"./zh-TW/pricing":[77956,7956],"./zh-TW/pricing-tabs":[68541,8541],"./zh-TW/pricing-tabs.json":[68541,8541],"./zh-TW/pricing.json":[77956,7956],"./zh-TW/promocashbonus":[16956,6956],"./zh-TW/promocashbonus.json":[16956,6956],"./zh-TW/promos":[11536,1536],"./zh-TW/promos.json":[11536,1536],"./zh-TW/referral":[48720,1470],"./zh-TW/referral.json":[48720,1470],"./zh-TW/research-tools":[1473,1473],"./zh-TW/research-tools.json":[1473,1473],"./zh-TW/retirement":[62136,2136],"./zh-TW/retirement-calculator":[57912,7912],"./zh-TW/retirement-calculator.json":[57912,7912],"./zh-TW/retirement.json":[62136,2136],"./zh-TW/rollover401k":[73615,3615],"./zh-TW/rollover401k.json":[73615,3615],"./zh-TW/rolloverira":[23262,3262],"./zh-TW/rolloverira.json":[23262,3262],"./zh-TW/rothira":[70556,556],"./zh-TW/rothira.json":[70556,556],"./zh-TW/securities-lending":[60585,585],"./zh-TW/securities-lending.json":[60585,585],"./zh-TW/security-center-slug":[10219,219],"./zh-TW/security-center-slug.json":[10219,219],"./zh-TW/security-you-can-trust":[30724,724],"./zh-TW/security-you-can-trust.json":[30724,724],"./zh-TW/sidebars":[96374,6374],"./zh-TW/sidebars.json":[96374,6374],"./zh-TW/special_services":[98499,8499],"./zh-TW/special_services.json":[98499,8499],"./zh-TW/stocks":[89654,7642],"./zh-TW/stocks.json":[89654,7642],"./zh-TW/tax":[26021,6021],"./zh-TW/tax-center":[88657,8657],"./zh-TW/tax-center-menu":[34260,4260],"./zh-TW/tax-center-menu.json":[34260,4260],"./zh-TW/tax-center-slug":[27060,7060],"./zh-TW/tax-center-slug.json":[27060,7060],"./zh-TW/tax-center.json":[88657,8657],"./zh-TW/tax.json":[26021,6021],"./zh-TW/trading":[86786,6786],"./zh-TW/trading.json":[86786,6786],"./zh-TW/traditional-vs-roth-ira":[83069,3069],"./zh-TW/traditional-vs-roth-ira.json":[83069,3069],"./zh-TW/transfer":[96802,6802],"./zh-TW/transfer.json":[96802,6802],"./zh-TW/upcoming-ipo":[83229,3229],"./zh-TW/upcoming-ipo.json":[83229,3229],"./zh-TW/video":[68775,8775],"./zh-TW/video.json":[68775,8775],"./zh-TW/w8ben":[93082,3082],"./zh-TW/w8ben.json":[93082,3082],"./zh-TW/wirefeerebate":[76784,6784],"./zh-TW/wirefeerebate.json":[76784,6784]};function o(e){if(!n.o(r,e))return Promise.resolve().then((function(){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}));var t=r[e],o=t[0];return n.e(t[1]).then((function(){return n.t(o,19)}))}o.keys=function(){return Object.keys(r)},o.id=30242,e.exports=o},9429:function(e,t,n){const r=n(56168);const o=r.forwardRef((function({title:e,titleId:t,...n},o){return r.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor","aria-hidden":"true",ref:o,"aria-labelledby":t},n),e?r.createElement("title",{id:t},e):null,r.createElement("path",{fillRule:"evenodd",d:"M5.23 7.21a.75.75 0 011.06.02L10 11.168l3.71-3.938a.75.75 0 111.08 1.04l-4.25 4.5a.75.75 0 01-1.08 0l-4.25-4.5a.75.75 0 01.02-1.06z",clipRule:"evenodd"}))}));e.exports=o},99228:function(e,t,n){const r=n(56168);const o=r.forwardRef((function({title:e,titleId:t,...n},o){return r.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true",ref:o,"aria-labelledby":t},n),e?r.createElement("title",{id:t},e):null,r.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M3.75 6.75h16.5M3.75 12h16.5m-16.5 5.25h16.5"}))}));e.exports=o},27620:function(e,t,n){const r=n(56168);const o=r.forwardRef((function({title:e,titleId:t,...n},o){return r.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true",ref:o,"aria-labelledby":t},n),e?r.createElement("title",{id:t},e):null,r.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M12 21a9.004 9.004 0 008.716-6.747M12 21a9.004 9.004 0 01-8.716-6.747M12 21c2.485 0 4.5-4.03 4.5-9S14.485 3 12 3m0 18c-2.485 0-4.5-4.03-4.5-9S9.515 3 12 3m0 0a8.997 8.997 0 017.843 4.582M12 3a8.997 8.997 0 00-7.843 4.582m15.686 0A11.953 11.953 0 0112 10.5c-2.998 0-5.74-1.1-7.843-2.918m15.686 0A8.959 8.959 0 0121 12c0 .778-.099 1.533-.284 2.253m0 0A17.919 17.919 0 0112 16.5c-3.162 0-6.133-.815-8.716-2.247m0 0A9.015 9.015 0 013 12c0-1.605.42-3.113 1.157-4.418"}))}));e.exports=o},3572:function(e,t,n){const r=n(56168);const o=r.forwardRef((function({title:e,titleId:t,...n},o){return r.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"
1currentColor","aria-hidden":"true",ref:o,"aria-labelledby":t},n),e?r.createElement("title",{id:t},e):null,r.createElement("path",{fillRule:"evenodd",d:"M5.47 5.47a.75.75 0 011.06 0L12 10.94l5.47-5.47a.75.75 0 111.06 1.06L13.06 12l5.47 5.47a.75.75 0 11-1.06 1.06L12 13.06l-5.47 5.47a.75.75 0 01-1.06-1.06L10.94 12 5.47 6.53a.75.75 0 010-1.06z",clipRule:"evenodd"}))}));e.exports=o},42881:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.regionAPIs=void 0,t.regionAPIs=new Map([["us","https://api-iam.intercom.io"],["eu","https://api-iam.eu.intercom.io"],["ap","https://api-iam.au.intercom.io"]])},4433:function(e,t,n){"use strict";var r=this&&this.__rest||function(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 o=0;for(r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]])}return n};Object.defineProperty(t,"__esModule",{value:!0}),t.onUserEmailSupplied=t.showConversation=t.showTicket=t.startChecklist=t.startSurvey=t.showNews=t.showArticle=t.startTour=t.getVisitorId=t.trackEvent=t.onUnreadCountChange=t.onShow=t.onHide=t.showNewMessage=t.showMessages=t.showSpace=t.show=t.hide=t.update=t.shutdown=t.boot=t.Intercom=void 0;const o=n(42881),i=n(16010),a=(e,...t)=>{void 0!==typeof window&&window.Intercom?window.Intercom(e,...t):console.warn("Please ensure Intercom is setup and running on client-side!")};t.Intercom=e=>{if("object"!==typeof e)return void console.warn("Intercom initialiser called with invalid parameters.");const{region:t="us"}=e,n=r(e,["region"]);"undefined"===typeof window||i.ref||(window.intercomSettings=Object.assign(Object.assign({},n),{api_base:o.regionAPIs.get(t)}),(0,i.init)())},t.default=t.Intercom;t.boot=e=>a("boot",e);t.shutdown=()=>a("shutdown");t.update=e=>a("update",e);t.hide=()=>a("hide");t.show=()=>a("show");t.showSpace=e=>a("showSpace",e);t.showMessages=()=>a("showMessages");t.showNewMessage=e=>a("showNewMessage",e);t.onHide=e=>a("onHide",e);t.onShow=e=>a("onShow",e);t.onUnreadCountChange=e=>a("onUnreadCountChange",e);t.trackEvent=(...e)=>a("trackEvent",...e);t.getVisitorId=()=>a("getVisitorId");t.startTour=e=>a("startTour",e);t.showArticle=e=>a("showArticle",e);t.showNews=e=>a("showNews",e);t.startSurvey=e=>a("startSurvey",e);t.startChecklist=e=>a("startChecklist",e);t.showTicket=e=>a("showTicket",e);t.showConversation=e=>a("showConversation",e);t.onUserEmailSupplied=e=>a("onUserEmailSupplied",e)},16010:function(e,t){"use strict";var n=this&&this.__awaiter||function(e,t,n,r){return new(n||(n=Promise))((function(o,i){function a(e){try{u(r.next(e))}catch(t){i(t)}}function s(e){try{u(r.throw(e))}catch(t){i(t)}}function u(e){var t;e.done?o(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(a,s)}u((r=r.apply(e,t||[])).next())}))};Object.defineProperty(t,"__esModule",{value:!0}),t.ref=t.init=void 0;const r="_intercom_npm_loader",o=function(){o.loaderQueue(arguments)};o.q=[],o.loaderQueue=function(e){o.q.push(e)};const i=function(){var e,t,n=document;if(!n.getElementById(r)){var o=n.createElement("script");o.type="text/javascript",o.async=!0,o.id=r,o.src="https://widget.intercom.io/widget/"+(null===(e=window.intercomSettings)||void 0===e?void 0:e.app_id);var i=n.getElementsByTagName("script")[0];null===(t=i.parentNode)||void 0===t||t.insertBefore(o,i)}},a=()=>"complete"===document.readyState||"interactive"===document.readyState;t.init=()=>n(void 0,void 0,void 0,(function*(){var e=window,t=e.Intercom;e.intercomSettings&&(e.intercomSettings.installation_type="npm-package"),"function"===typeof t?(t("reattach_activator"),t("update",e.intercomSettings)):(e.Intercom=o,a()?i():(document.addEventListener("readystatechange",(function(){a()&&i()})),e.attachEvent?e.attachEvent("onload",i):e.addEventListener("load",i,!1)))})),t.ref=void 0},29792:function(e,t,n){"use strict";n.d(t,{Q:function(){return r}});var r=function(){function e(){this.callbacks={}}return e.prototype.on=function(e,t){return this.callbacks[e]?this.callbacks[e].push(t):this.callbacks[e]=[t],this},e.prototype.once=function(e,t){var n=this,r=function(){for(var o=[],i=0;i<arguments.length;i++)o[i]=arguments[i];n.off(e,r),t.apply(n,o)};return this.on(e,r),this},e.prototype.off=function(e,t){var n,r=(null!==(n=this.callbacks[e])&&void 0!==n?n:[]).filter((function(e){return e!==t}));return this.callbacks[e]=r,this},e.prototype.emit=function(e){for(var t,n=this,r=[],o=1;o<arguments.length;o++)r[o-1]=arguments[o];var i=null!==(t=this.callbacks[e])&&void 0!==t?t:[];
1return i.forEach((function(e){e.apply(n,r)})),this},e}()},37211:function(e,t,n){"use strict";n.d(t,{F:function(){return o},U:function(){return i}});var r=n(91174);function o(e,t){return new Promise((function(n,r){var o=setTimeout((function(){r(Error("Promise timed out"))}),t);e.then((function(e){return clearTimeout(o),n(e)})).catch(r)}))}function i(e,t,n,i){var a;return(a=n,new Promise((function(e){return setTimeout(e,a)}))).then((function(){return o(function(){try{return(0,r.O)(t(e))}catch(n){return Promise.reject(n)}}(),null!==i&&void 0!==i?i:1e3)})).catch((function(t){null===e||void 0===e||e.log("warn","Callback Error",{error:t}),null===e||void 0===e||e.stats.increment("callback_error")})).then((function(){return e}))}},88323:function(e,t,n){"use strict";n.d(t,{G:function(){return o},s:function(){return i}});var r=n(31799);function o(){return!(0,r.j)()||window.navigator.onLine}function i(){return!o()}},8997:function(e,t,n){"use strict";n.d(t,{_:function(){return g},Y:function(){return v}});var r=n(5163),o=n(2052),i=n(61557),a=function(){function e(){var e=this;this._logs=[],this.log=function(t,n,r){var o=new Date;e._logs.push({level:t,message:n,time:o,extras:r})}}return Object.defineProperty(e.prototype,"logs",{get:function(){return this._logs},enumerable:!1,configurable:!0}),e.prototype.flush=function(){if(this.logs.length>1){var e=this._logs.reduce((function(e,t){var n,r,o,a=(0,i.__assign)((0,i.__assign)({},t),{json:JSON.stringify(t.extras,null," "),extras:t.extras});delete a.time;var s=null!==(o=null===(r=t.time)||void 0===r?void 0:r.toISOString())&&void 0!==o?o:"";return e[s]&&(s="".concat(s,"-").concat(Math.random())),(0,i.__assign)((0,i.__assign)({},e),((n={})[s]=a,n))}),{});console.table?console.table(e):console.log(e)}else this.logs.forEach((function(e){var t=e.level,n=e.message,r=e.extras;"info"===t||"debug"===t?console.log(n,null!==r&&void 0!==r?r:""):console[t](n,null!==r&&void 0!==r?r:"")}));this._logs=[]},e}(),s=function(){function e(e){this.metrics=[],this.remoteMetrics=e}return e.prototype.increment=function(e,t,n){var r;void 0===t&&(t=1),this.metrics.push({metric:e,value:t,tags:null!==n&&void 0!==n?n:[],type:"counter",timestamp:Date.now()}),null===(r=this.remoteMetrics)||void 0===r||r.increment(e,null!==n&&void 0!==n?n:[])},e.prototype.gauge=function(e,t,n){this.metrics.push({metric:e,value:t,tags:null!==n&&void 0!==n?n:[],type:"gauge",timestamp:Date.now()})},e.prototype.flush=function(){var e=this.metrics.map((function(e){return(0,i.__assign)((0,i.__assign)({},e),{tags:e.tags.join(",")})}));console.table?console.table(e):console.log(e),this.metrics=[]},e.prototype.serialize=function(){return this.metrics.map((function(e){return{m:e.metric,v:e.value,t:e.tags,k:(t=e.type,{gauge:"g",counter:"c"}[t]),e:e.timestamp};var t}))},e}(),u=s,l=n(83244),c=n.n(l),f=n(51571),d=n(38173);function p(e){console.error("Error sending segment performance metrics",e)}var h,m=function(){function e(e){var t,n,r,o,i=this;if(this.host=null!==(t=null===e||void 0===e?void 0:e.host)&&void 0!==t?t:"api.segment.io/v1",this.sampleRate=null!==(n=null===e||void 0===e?void 0:e.sampleRate)&&void 0!==n?n:1,this.flushTimer=null!==(r=null===e||void 0===e?void 0:e.flushTimer)&&void 0!==r?r:3e4,this.maxQueueSize=null!==(o=null===e||void 0===e?void 0:e.maxQueueSize)&&void 0!==o?o:20,this.queue=[],this.sampleRate>0){var a=!1,s=function(){a||(a=!0,i.flush().catch(p),a=!1,setTimeout(s,i.flushTimer))};s()}}return e.prototype.increment=function(e,t){if(e.includes("analytics_js.")&&0!==t.length&&!(Math.random()>this.sampleRate)&&!(this.queue.length>=this.maxQueueSize)){var n=t.reduce((function(e,t){var n=t.split(":"),r=n[0],o=n[1];return e[r]=o,e}),{});n.library="analytics.js";var r=(0,d.Bz)();n.library_version="web"===r?"next-".concat(f.i):"npm:next-".concat(f.i),this.queue.push({type:"Counter",metric:e,value:1,tags:n}),e.includes("error")&&this.flush().catch(p)}},e.prototype.flush=function(){return(0,i.__awaiter)(this,void 0,void 0,(function(){var e=this;return(0,i.__generator)(this,(function(t){switch(t.label){case 0:return this.queue.length<=0?[2]:[4,this.send().catch((function(t){p(t),e.sampleRate=0}))];case 1:return t.sent(),[2]}}))}))},e.prototype.send=function(){return(0,i.__awaiter)(this,void 0,void 0,(function(){var e,t,n;return(0,i.__generator)(this,(function(r){return e={series:this.queue},this.queue=[],t={"Content-Type":"text/plain"},n="https://".concat(this.host,"/m"),[2,c()(n,{headers:t,body:JSON.stringify(e),method:"POST"})]}))}))},e}(),v=function(e){var t,n,r;this.retry=null===(t=e.retry)||void 0===t||t,this.type=null!==(n=e.type)&&void 0!==n?n:"plugin 
1Error",this.reason=null!==(r=e.reason)&&void 0!==r?r:""},g=function(){function e(e,t){this.logger=new a,this.cancel=function(e){if(e)throw e;throw new v({reason:"Context Cancel"})},this._attempts=0,this._event=e,this._id=null!==t&&void 0!==t?t:(0,r.v4)(),this.stats=new u(h)}return e.initMetrics=function(e){h=new m(e)},e.system=function(){return new e({type:"track",event:"system"})},e.prototype.isSame=function(e){return e._id===this._id},e.prototype.log=function(e,t,n){this.logger.log(e,t,n)},Object.defineProperty(e.prototype,"id",{get:function(){return this._id},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"event",{get:function(){return this._event},set:function(e){this._event=e},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"attempts",{get:function(){return this._attempts},set:function(e){this._attempts=e},enumerable:!1,configurable:!0}),e.prototype.updateEvent=function(e,t){var n;if("integrations"===e.split(".")[0]){var r=e.split(".")[1];if(!1===(null===(n=this._event.integrations)||void 0===n?void 0:n[r]))return this._event}return(0,o.N)(this._event,e,t),this._event},e.prototype.failedDelivery=function(){return this._failedDelivery},e.prototype.setFailedDelivery=function(e){this._failedDelivery=e},e.prototype.logs=function(){return this.logger.logs},e.prototype.flush=function(){this.logger.flush(),this.stats.flush()},e.prototype.toJSON=function(){return{id:this._id,event:this._event,logs:this.logger.logs,metrics:this.stats.metrics}},e}()},31799:function(e,t,n){"use strict";function r(){return"undefined"!==typeof window}function o(){return!r()}n.d(t,{j:function(){return r},s:function(){return o}})},71212:function(e,t,n){"use strict";function r(e){try{return decodeURIComponent(e.replace(/\+/g," "))}catch(t){return e}}n.d(t,{a:function(){return r}})},91190:function(e,t,n){"use strict";n.d(t,{a:function(){return i},z:function(){return a}});var r=n(61557),o=n(8997);function i(e,t){var n="action"in t?t.action.name:t.name;e.log("debug","plugin",{plugin:n});var i=(new Date).getTime(),a=t[e.event.type];return void 0===a?Promise.resolve(e):function(e){return(0,r.__awaiter)(this,void 0,void 0,(function(){var t;return(0,r.__generator)(this,(function(n){switch(n.label){case 0:return n.trys.push([0,2,,3]),[4,e()];case 1:return[2,n.sent()];case 2:return t=n.sent(),[2,Promise.reject(t)];case 3:return[2]}}
vendor: 10,387 bytes, line 1
1))}))}((function(){return a.apply(t,[e])})).then((function(e){var t=(new Date).getTime()-i;return e.stats.gauge("plugin_time",t,["plugin:".concat(n)]),e})).catch((function(t){if(t instanceof o.Y&&"middleware_cancellation"===t.type)throw t;return t instanceof o.Y?(e.log("warn",t.type,{plugin:n,error:t}),t):(e.log("error","plugin Error",{plugin:n,error:t}),e.stats.increment("plugin_error",1,["plugin:".concat(n)]),t)}))}function a(e,t){return i(e,t).then((function(t){if(t instanceof o._)return t;e.log("debug","Context canceled"),e.stats.increment("context_canceled"),e.cancel(t)}))}},74819:function(e,t,n){"use strict";n.d(t,{P:function(){return o}});var r=n(92108);function o(e){var t=function(e){try{return new URL(e)}catch(t){return}}(e);if(t)for(var n=function(e){var t=e.hostname.split("."),n=t[t.length-1],r=[];if(4===t.length&&parseInt(n,10)>0)return r;if(t.length<=1)return r;for(var o=t.length-2;o>=0;--o)r.push(t.slice(o).join("."));return r}(t),o=0;o<n.length;++o){var i="__tld__",a=n[o],s={domain:"."+a};try{if(r.Z.set(i,"1",s),r.Z.get(i))return r.Z.remove(i,s),a}catch(u){return}}}},51571:function(e,t,n){"use strict";n.d(t,{i:function(){return r}});var r="1.45.0"},91174:function(e,t,n){"use strict";function r(e){return Promise.resolve(e)}n.d(t,{O:function(){return r}})},36906:function(e,t,n){"use strict";function r(e){return Array.prototype.slice.call(window.document.querySelectorAll("script")).find((function(t){return t.src===e}))}function o(e,t){var n=r(e);if(void 0!==n){var o=null===n||void 0===n?void 0:n.getAttribute("status");if("loaded"===o)return Promise.resolve(n);if("loading"===o)return new Promise((function(e,t){n.addEventListener("load",(function(){return e(n)})),n.addEventListener("error",(function(e){return t(e)}))}))}return new Promise((function(n,r){var o,i=window.document.createElement("script");i.type="text/javascript",i.src=e,i.async=!0,i.setAttribute("status","loading");for(var a=0,s=Object.entries(null!==t&&void 0!==t?t:{});a<s.length;a++){var u=s[a],l=u[0],c=u[1];i.setAttribute(l,c)}i.onload=function(){i.onerror=i.onload=null,i.setAttribute("status","loaded"),n(i)},i.onerror=function(){i.onerror=i.onload=null,i.setAttribute("status","error"),r(new Error("Failed to load ".concat(e)))};var f=window.document.getElementsByTagName("script")[0];null===(o=f.parentElement)||void 0===o||o.insertBefore(i,f)}))}function i(e){var t=r(e);return void 0!==t&&t.remove(),Promise.resolve()}n.d(t,{t:function(){return i},v:function(){return o}})},16843:function(e,t,n){"use strict";n.d(t,{o:function(){return o}});var r=n(61557);function o(e,t){var n,o=Object.entries(null!==(n=t.integrations)&&void 0!==n?n:{}).reduce((function(e,t){var n,o,i=t[0],a=t[1];return"object"===typeof a?(0,r.__assign)((0,r.__assign)({},e),((n={})[i]=a,n)):(0,r.__assign)((0,r.__assign)({},e),((o={})[i]={},o))}),{});return Object.entries(e.integrations).reduce((function(e,t){var n,i=t[0],a=t[1];return(0,r.__assign)((0,r.__assign)({},e),((n={})[i]=(0,r.__assign)((0,r.__assign)({},a),o[i]),n))}),{})}},7034:function(e,t,n){"use strict";n.d(t,{x:function(){return o}});var r=n(61557),o=function(e,t){return(0,r.__awaiter)(void 0,void 0,void 0,(function(){var n;return(0,r.__generator)(this,(function(o){return n=function(o){return(0,r.__awaiter)(void 0,void 0,void 0,(function(){var i;return(0,r.__generator)(this,(function(r){switch(r.label){case 0:return e(o)?(i=n,[4,t()]):[3,2];case 1:return[2,i.apply(void 0,[r.sent()])];case 2:return[2]}}))}))},[2,n(void 0)]}))}))}},96178:function(e,t,n){"use strict";n.d(t,{Kg:function(){return s},UH:function(){return i},Vl:function(){return a}});var r,o=/(https:\/\/.*)\/analytics\.js\/v1\/(?:.*?)\/(?:platform|analytics.*)?/,i=function(e){window.analytics&&(window.analytics._cdn=e),r=e},a=function(){var e=function(){var e;return null!==r&&void 0!==r?r:null===(e=window.analytics)||void 0===e?void 0:e._cdn}();if(e)return e;var t=function(){var e;return Array.prototype.slice.call(document.querySelectorAll("script")).forEach((function(t){var n,r=null!==(n=t.getAttribute("src"))&&void 0!==n?n:"",i=o.exec(r);i&&i[1]&&(e=i[1])})),e}();return t||"https://cdn.segment.com"},s=function(){var e=a();return"".concat(e,"/next-integrations")}},85148:function(e,t,n){"use strict";n.d(t,{M:function(){return i},Z:function(){return a}});var r=n(61557),o=n(29792);var i="onRemoveFromFuture",a=function(e){function t(t,n,r){var o=e.call(this)||this;return o.future=[],o.maxAttempts=t,o.queue=n,o.seen=null!==r&&void 0!==r?r:{},o}return(0,r.__extends)(t,e),t.prototype.push=function(){for(var e=this,t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];var r=t.map((function(t){return!(e.updateAttempts(t)>e.maxAttempts||e.includes(t))&&(e.queue.push(t),!0)}));return this.queue=this.queue.sort((function(t,n){return e.getAttempts(t)-e.getAttempts(n)})),r},t.prototype.pushWithBackoff=function(e){var t=this;if(0===this.getAttempts(e))return this.push(e)[0];var n=this.updateAttempts(e);if(n>this.maxAttempts||this.includes(e))return!1;var r=function(e){var t=Math.random()+1,n=e.minTimeout,r=void 0===n?500:n,o=e.factor,i=void 0===o?2:o,a=e.attempt,s=e.maxTimeout,u=void 0===s?1/0:s;return Math.min(t*r*Math.pow(i,a),u)}({attempt:n-1});return setTimeout((function(){t.queue.push(e),t.future=t.future.filter((function(t){return t.id!==e.id})),t.emit(i)}),r),this.future.push(e),!0},t.prototype.getAttempts=function(e){var t;return null!==(t=this.seen[e.id])&&void 0!==t?t:0},t.prototype.updateAttempts=function(e){return this.seen[e.id]=this.getAttempts(e)+1,this.getAttempts(e)},t.prototype.includes=function(e){return this.queue.includes(e)||this.future.includes(e)||Boolean(this.queue.find((function(t){return t.id===e.id})))||Boolean(this.future.find((function(t){return t.id===e.id})))},t.prototype.pop=function(){return this.queue.shift()},Object.defineProperty(t.prototype,"length",{get:function(){return this.queue.length},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"todo",{get:function(){return this.queue.length+this.future.length},enumerable:!1,configurable:!0}),t}(o.Q)},85702:function(e,t,n){"use strict";n.d(t,{$:function(){return d}});var r=n(61557),o=n(85148),i=n(8997),a=n(31799),s={getItem:function(){},setItem:function(){},removeItem:function(){}};try{s=(0,a.j)()&&window.localStorage?window.localStorage:s}catch(p){console.warn("Unable to access localStorage",p)}function u(e){var t=s.getItem(e);return(t?JSON.parse(t):[]).map((function(e){return new i._(e.event,e.id)}))}function l(e){var t=s.getItem(e);return t?JSON.parse(t):{}}function c(e){s.removeItem(e)}function f(e,t,n){void 0===n&&(n=0);var r="persisted-queue:v1:".concat(e,":lock"),o=s.getItem(r),i=o?JSON.parse(o):null,a=null===i||function(e){return(new Date).getTime()>e}(i);if(a)return s.setItem(r,JSON.stringify((new Date).getTime()+50)),t(),void s.removeItem(r);!a&&n<3?setTimeout((function(){f(e,t,n+1)}),50):console.error("Unable to retrieve lock")}var d=function(e){function t(t,n){var o=e.call(this,t,[])||this,i="persisted-queue:v1:".concat(n,":items"),a="persisted-queue:v1:".concat(n,":seen"),d=[],h={};return f(n,(function(){try{d=u(i),h=l(a),c(i),c(a),o.queue=(0,r.__spreadArray)((0,r.__spreadArray)([],d,!0),o.queue,!0),o.seen=(0,r.__assign)((0,r.__assign)({},h),o.seen)}catch(p){console.error(p)}})),document.addEventListener("pagehide",(function(){if(o.todo>0){var e=(0,r.__spreadArray)((0,r.__spreadArray)([],o.queue,!0),o.future,!0);try{f(n,(function(){!function(e,t){var n=u(e),o=(0,r.__spreadArray)((0,r.__spreadArray)([],t,!0),n,!0).reduce((function(e,t){var n;return(0,r.__assign)((0,r.__assign)({},e),((n={})[t.id]=t,n))}),{});s.setItem(e,JSON.stringify(Object.values(o)))}(i,e),function(e,t){var n=l(e);s.setItem(e,JSON.stringify((0,r.__assign)((0,r.__assign)({},n),t)))}(a,o.seen)}))}catch(p){console.error(p)}}})),o}return(0,r.__extends)(t,e),t}(o.Z)},57469:function(e,t,n){"use strict";n.d(t,{D:function(){return o}});var r=n(30783);function o(e,t){var n=new r.Facade(e,t);return"track"===e.type&&(n=new r.Track(e,t)),"identify"===e.type&&(n=new r.Identify(e,t)),"page"===e.type&&(n=new r.Page(e,t)),"alias"===e.type&&(n=new r.Alias(e,t)),"group"===e.type&&(n=new r.Group(e,t)),"screen"===e.type&&(n=new r.Screen(e,t)),Object.defineProperty(n,"obj",{value:e,writable:!0}),n}},27628:function(e,t,n){"use strict";n.r(t),n.d(t,{applyDestinationMiddleware:function(){return s},sourceMiddlewarePlugin:function(){return u}});var r=n(61557),o=n(8997),i=n(91174),a=n(57469);function s(e,t,n){return(0,r.__awaiter)(this,void 0,void 0,(function(){function o(t,n){return(0,r.__awaiter)(this,void 0,void 0,(function(){var o,s,u;return(0,r.__generator)(this,(function(l){switch(l.label){case 0:return o=!1,s=null,[4,(0,i.O)(n({payload:(0,a.D)(t,{clone:!0,traverse:!1}),integration:e,next:function(e){o=!0,null===e&&(s=null),e&&(s=e.obj)}}))];case 1:return l.sent(),o||null===s||(s.integrations=(0,r.__assign)((0,r.__assign)({},t.integrations),((u={})[e]=!1,u))),[2,s]}}))}))}var s,u,l,c,f;return(0,r.__generator)(this,(function(e){switch(e.label){case 0:s=function(e){return JSON.parse(JSON.stringify(e))}(t),u=0,l=n,e.label=1;case 1:return u<l.length?(c=l[u],[4,o(s,c)]):[3,4];case 2:if(null===(f=e.sent()))return[2,null];s=f,e.label=3;case 3:return u++,[3,1];case 4:return[2,s]}}))}))}function u(e,t){function n(n){return(0,r.__awaiter)(this,void 0,void 0,(function(){var s;return(0,r.__generator)(this,(function(r){switch(r.label){case 0:return s=!1,[4,(0,i.O)(e({payload:(0,a.D)(n.event,{clone:!0,traverse:!1}),integrations:null!==t&&void 0!==t?t:{},next:function(e){s=!0,e&&(n.event=e.obj)}}))];case 1:if(r.sent(),!s)throw new o.Y({retry:!1,type:"middleware_cancellation",reason:"Middleware `next` function skipped"});return[2,n]}}))}))}return{name:"Source Middleware ".concat(e.name),type:"before",version:"0.1.0",isLoaded:function(){return!0},load:function(e){return Promise.resolve(e)},track:n,page:n,identify:n,alias:n,group:n}}},38173:function(e,t,n){"use strict";n.d(t,{Bz:function(){return c},Fv:function(){return d}});var r,o=n(61557),i=n(92108),a=n(71212),s=n(74819),u=n(51571);var l="npm";function c(){return l}function f(e,t,n){var a=i.Z.get("s:context.referrer"),u=function(e){var t={btid:"dataxu",urid:"millennial-media"};e.startsWith("?")&&(e=e.substring(1));for(var n=0,r=(e=e.replace(/\?/g,"&")).split("&");n<r.length;n++){var o=r[n].split("="),i=o[0],a=o[1];if(t[i])return{id:a,type:t[i]}}}(e);
1a=a?JSON.parse(a):void 0,(u=null!==u&&void 0!==u?u:a)&&(t&&(t.referrer=(0,o.__assign)((0,o.__assign)({},t.referrer),u)),n||i.Z.set("s:context.referrer",JSON.stringify(u),function(){if(r)return r;var e=(0,s.P)(window.location.href);return r={expires:31536e6,secure:!1,path:"/"},e&&(r.domain=e),r}()))}function d(e,t,n,r){var s,l,d,p,h=e.user(),m=window.location.search;t.context=null!==(l=null!==(s=t.context)&&void 0!==s?s:t.options)&&void 0!==l?l:{};var v=t.context,g=t.anonymousId;delete t.options,t.writeKey=null===n||void 0===n?void 0:n.apiKey,v.userAgent=window.navigator.userAgent;var y=navigator.userLanguage||navigator.language;if("undefined"===typeof v.locale&&"undefined"!==typeof y&&(v.locale=y),!v.library){var b=c();v.library="web"===b?{name:"analytics.js",version:"next-".concat(u.i)}:{name:"analytics.js",version:"npm:next-".concat(u.i)}}m&&!v.campaign&&(v.campaign=function(e){return e.startsWith("?")&&(e=e.substring(1)),(e=e.replace(/\?/g,"&")).split("&").reduce((function(e,t){var n=t.split("="),r=n[0],o=n[1],i=void 0===o?"":o;if(r.includes("utm_")&&r.length>4){var s=r.substr(4);"campaign"===s&&(s="name"),e[s]=(0,a.a)(i)}return e}),{})}(m)),f(m,v,null!==(d=e.options.disableClientPersistence)&&void 0!==d&&d),t.userId=t.userId||h.id(),t.anonymousId=h.anonymousId(g),t.sentAt=new Date;var w=e.queue.failedInitializations||[];w.length>0&&(t._metadata={failedInitializations:w});var x=[],_=[];for(var j in r){var S=r[j];"Segment.io"===j&&x.push(j),"bundled"===S.bundlingStatus&&x.push(j),"unbundled"===S.bundlingStatus&&_.push(j)}for(var E=0,O=(null===n||void 0===n?void 0:n.unbundledIntegrations)||[];E<O.length;E++){var T=O[E];_.includes(T)||_.push(T)}var N=null!==(p=null===n||void 0===n?void 0:n.maybeBundledConfigIds)&&void 0!==p?p:{},C=[];x.sort().forEach((function(e){var t;(null!==(t=N[e])&&void 0!==t?t:[]).forEach((function(e){C.push(e)}))})),!1!==(null===n||void 0===n?void 0:n.addBundledMetadata)&&(t._metadata=(0,o.__assign)((0,o.__assign)({},t._metadata),{bundled:x.sort(),unbundled:_.sort(),bundledIds:C}));var k=function(){var e=i.Z.get("_ga");if(e&&e.startsWith("amp"))return e}();return k&&(v.amp={id:k}),t}},90868: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});var o=r(n(20247));function i(e,t){return function(){var n=this.traits(),r=this.properties?this.properties():{};return o.default(n,"address."+e)||o.default(n,e)||(t?o.default(n,"address."+t):null)||(t?o.default(n,t):null)||o.default(r,"address."+e)||o.default(r,e)||(t?o.default(r,"address."+t):null)||(t?o.default(r,t):null)}}t.default=function(e){e.zip=i("postalCode","zip"),e.country=i("country"),e.street=i("street"),e.state=i("state"),e.city=i("city"),e.region=i("region")}},72463: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.Alias=void 0;var o=r(n(77082)),i=n(24712);function a(e,t){i.Facade.call(this,e,t)}t.Alias=a,o.default(a,i.Facade),a.prototype.action=function(){return"alias"},a.prototype.type=a.prototype.action,a.prototype.previousId=function(){return this.field("previousId")||this.field("from")},a.prototype.from=a.prototype.previousId,a.prototype.userId=function(){return this.field("userId")||this.field("to")},a.prototype.to=a.prototype.userId},11178:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.clone=void 0,t.clone=function e(t){if("[object Object]"===Object.prototype.toString.call(t)){var n={};for(var r in t)n[r]=e(t[r]);return n}return Array.isArray(t)?t.map(e):t}},73707: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.Delete=void 0;var o=r(n(77082)),i=n(24712);function a(e,t){i.Facade.call(this,e,t)}t.Delete=a,o.default(a,i.Facade),a.prototype.type=function(){return"delete"}},24712:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};
vendor: 4,304 bytes, line 1
1Object.defineProperty(t,"__esModule",{value:!0}),t.Facade=void 0;var o=r(n(90868)),i=n(11178),a=r(n(8099)),s=r(n(36101)),u=r(n(20247)),l=r(n(13575));function c(e,t){t=t||{},this.raw=i.clone(e),"clone"in t||(t.clone=!0),t.clone&&(e=i.clone(e)),"traverse"in t||(t.traverse=!0),e.timestamp="timestamp"in e?s.default(e.timestamp):new Date,t.traverse&&l.default(e),this.opts=t,this.obj=e}t.Facade=c;var f=c.prototype;function d(e){return i.clone(e)}f.proxy=function(e){var t=e.split("."),n=this[e=t.shift()]||this.field(e);return n?("function"===typeof n&&(n=n.call(this)||{}),0===t.length||(n=u.default(n,t.join("."))),this.opts.clone?d(n):n):n},f.field=function(e){var t=this.obj[e];return this.opts.clone?d(t):t},c.proxy=function(e){return function(){return this.proxy(e)}},c.field=function(e){return function(){return this.field(e)}},c.multi=function(e){return function(){var t=this.proxy(e+"s");if(Array.isArray(t))return t;var n=this.proxy(e);return n&&(n=[this.opts.clone?i.clone(n):n]),n||[]}},c.one=function(e){return function(){var t=this.proxy(e);if(t)return t;var n=this.proxy(e+"s");return Array.isArray(n)?n[0]:void 0}},f.json=function(){var e=this.opts.clone?i.clone(this.obj):this.obj;return this.type&&(e.type=this.type()),e},f.rawEvent=function(){return this.raw},f.options=function(e){var t=this.obj.options||this.obj.context||{},n=this.opts.clone?i.clone(t):t;if(!e)return n;if(this.enabled(e)){var r=this.integrations(),o=r[e]||u.default(r,e);return"object"!==typeof o&&(o=u.default(this.options(),e)),"object"===typeof o?o:{}}},f.context=f.options,f.enabled=function(e){var t=this.proxy("options.providers.all");"boolean"!==typeof t&&(t=this.proxy("options.all")),"boolean"!==typeof t&&(t=this.proxy("integrations.all")),"boolean"!==typeof t&&(t=!0);var n=t&&a.default(e),r=this.integrations();if(r.providers&&r.providers.hasOwnProperty(e)&&(n=r.providers[e]),r.hasOwnProperty(e)){var o=r[e];n="boolean"!==typeof o||o}return!!n},f.integrations=function(){return this.obj.integrations||this.proxy("options.providers")||this.options()},f.active=function(){var e=this.proxy("options.active");return null!==e&&void 0!==e||(e=!0),e},f.anonymousId=function(){return this.field("anonymousId")||this.field("sessionId")},f.sessionId=f.anonymousId,f.groupId=c.proxy("options.groupId"),f.traits=function(e){var t=this.proxy("options.traits")||{},n=this.userId();for(var r in e=e||{},n&&(t.id=n),e){var o=null==this[r]?this.proxy("options.traits."+r):this[r]();null!=o&&(t[e[r]]=o,delete t[r])}return t},f.library=function(){var e=this.proxy("options.library");return e?"string"===typeof e?{name:e,version:null}:e:{name:"unknown",version:null}},f.device=function(){var e=this.proxy("context.device");"object"===typeof e&&null!==e||(e={});var t=this.library().name;return e.type||(t.indexOf("ios")>-1&&(e.type="ios"),t.indexOf("android")>-1&&(e.type="android")),e},f.userAgent=c.proxy("context.userAgent"),f.timezone=c.proxy("context.timezone"),f.timestamp=c.field("timestamp"),f.channel=c.field("channel"),f.ip=c.proxy("context.ip"),f.userId=c.field("userId"),o.default(f)},37413: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.Group=void 0;var o=r(n(77082)),i=r(n(39909)),a=r(n(36101)),s=n(24712);function u(e,t){s.Facade.call(this,e,t)}t.Group=u,o.default(u,s.Facade);var l=u.prototype;l.action=function(){return"group"},l.type=l.action,l.groupId=s.Facade.field("groupId"),l.created=function(){var e=this.proxy("traits.createdAt")||this.proxy("traits.created")||this.proxy("properties.createdAt")||this.proxy("properties.created");if(e)return a.default(e)},l.email=function(){var e=this.proxy("traits.email");if(e)return e;var t=this.groupId();return i.default(t)?t:void 0},l.traits=function(e){var t=this.properties(),n=this.groupId();for(var r in e=e||{},n&&(t.id=n),e){var o=null==this[r]?this.proxy("traits."+r):this[r]();null!=o&&(t[e[r]]=o,delete t[r])}return t},l.name=s.Facade.proxy("traits.name"),l.industry=s.Facade.proxy("traits.industry"),l.employees=s.Facade.proxy("traits.employees"),l.properties=function(){return this.field("traits")||this.field("properties")||{}}},62014:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esMo
vendor: 4,109 bytes, line 1
1dule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.Identify=void 0;var o=n(24712),i=r(n(20247)),a=r(n(77082)),s=r(n(39909)),u=r(n(36101)),l=function(e){return e.trim()};function c(e,t){o.Facade.call(this,e,t)}t.Identify=c,a.default(c,o.Facade);var f=c.prototype;f.action=function(){return"identify"},f.type=f.action,f.traits=function(e){var t=this.field("traits")||{},n=this.userId();for(var r in e=e||{},n&&(t.id=n),e){var o=null==this[r]?this.proxy("traits."+r):this[r]();null!=o&&(t[e[r]]=o,r!==e[r]&&delete t[r])}return t},f.email=function(){var e=this.proxy("traits.email");if(e)return e;var t=this.userId();return s.default(t)?t:void 0},f.created=function(){var e=this.proxy("traits.created")||this.proxy("traits.createdAt");if(e)return u.default(e)},f.companyCreated=function(){var e=this.proxy("traits.company.created")||this.proxy("traits.company.createdAt");if(e)return u.default(e)},f.companyName=function(){return this.proxy("traits.company.name")},f.name=function(){var e=this.proxy("traits.name");if("string"===typeof e)return l(e);var t=this.firstName(),n=this.lastName();return t&&n?l(t+" "+n):void 0},f.firstName=function(){var e=this.proxy("traits.firstName");if("string"===typeof e)return l(e);var t=this.proxy("traits.name");return"string"===typeof t?l(t).split(" ")[0]:void 0},f.lastName=function(){var e=this.proxy("traits.lastName");if("string"===typeof e)return l(e);var t=this.proxy("traits.name");if("string"===typeof t){var n=l(t).indexOf(" ");if(-1!==n)return l(t.substr(n+1))}},f.uid=function(){return this.userId()||this.username()||this.email()},f.description=function(){return this.proxy("traits.description")||this.proxy("traits.background")},f.age=function(){var e=this.birthday(),t=i.default(this.traits(),"age");return null!=t?t:e instanceof Date?(new Date).getFullYear()-e.getFullYear():void 0},f.avatar=function(){var e=this.traits();return i.default(e,"avatar")||i.default(e,"photoUrl")||i.default(e,"avatarUrl")},f.position=function(){var e=this.traits();return i.default(e,"position")||i.default(e,"jobTitle")},f.username=o.Facade.proxy("traits.username"),f.website=o.Facade.one("traits.website"),f.websites=o.Facade.multi("traits.website"),f.phone=o.Facade.one("traits.phone"),f.phones=o.Facade.multi("traits.phone"),f.address=o.Facade.proxy("traits.address"),f.gender=o.Facade.proxy("traits.gender"),f.birthday=o.Facade.proxy("traits.birthday")},30783:function(e,t,n){"use strict";var r=this&&this.__assign||function(){return r=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},r.apply(this,arguments)};Object.defineProperty(t,"__esModule",{value:!0}),t.Delete=t.Screen=t.Page=t.Track=t.Identify=t.Group=t.Alias=t.Facade=void 0;var o=n(24712);Object.defineProperty(t,"Facade",{enumerable:!0,get:function(){return o.Facade}});var i=n(72463);Object.defineProperty(t,"Alias",{enumerable:!0,get:function(){return i.Alias}});var a=n(37413);Object.defineProperty(t,"Group",{enumerable:!0,get:function(){return a.Group}});var s=n(62014);Object.defineProperty(t,"Identify",{enumerable:!0,get:function(){return s.Identify}});var u=n(53711);Object.defineProperty(t,"Track",{enumerable:!0,get:function(){return u.Track}});var l=n(37969);Object.defineProperty(t,"Page",{enumerable:!0,get:function(){return l.Page}});var c=n(35949);Object.defineProperty(t,"Screen",{enumerable:!0,get:function(){return c.Screen}});var f=n(73707);Object.defineProperty(t,"Delete",{enumerable:!0,get:function(){return f.Delete}}),t.default=r(r({},o.Facade),{Alias:i.Alias,Group:a.Group,Identify:s.Identify,Track:u.Track,Page:l.Page,Screen:c.Screen,Delete:f.Delete})},39909:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=/.+\@.+\..+/;t.default=function(e){return n.test(e)}},8099:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n={Salesforce:!0};t.default=function(e){return!n[e]}},37969:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};
1Object.defineProperty(t,"__esModule",{value:!0}),t.Page=void 0;var o=r(n(77082)),i=n(24712),a=n(53711),s=r(n(39909));function u(e,t){i.Facade.call(this,e,t)}t.Page=u,o.default(u,i.Facade);var l=u.prototype;l.action=function(){return"page"},l.type=l.action,l.category=i.Facade.field("category"),l.name=i.Facade.field("name"),l.title=i.Facade.proxy("properties.title"),l.path=i.Facade.proxy("properties.path"),l.url=i.Facade.proxy("properties.url"),l.referrer=function(){return this.proxy("context.referrer.url")||this.proxy("context.page.referrer")||this.proxy("properties.referrer")},l.properties=function(e){var t=this.field("properties")||{},n=this.category(),r=this.name();for(var o in e=e||{},n&&(t.category=n),r&&(t.name=r),e){var i=null==this[o]?this.proxy("properties."+o):this[o]();null!=i&&(t[e[o]]=i,o!==e[o]&&delete t[o])}return t},l.email=function(){var e=this.proxy("context.traits.email")||this.proxy("properties.email");if(e)return e;var t=this.userId();return s.default(t)?t:void 0},l.fullName=function(){var e=this.category(),t=this.name();return t&&e?e+" "+t:t},l.event=function(e){return e?"Viewed "+e+" Page":"Loaded a Page"},l.track=function(e){var t=this.json();return t.event=this.event(e),t.timestamp=this.timestamp(),t.properties=this.properties(),new a.Track(t,this.opts)}},35949: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.Screen=void 0;var o=r(n(77082)),i=n(37969),a=n(53711);function s(e,t){i.Page.call(this,e,t)}t.Screen=s,o.default(s,i.Page),s.prototype.action=function(){return"screen"},s.prototype.type=s.prototype.action,s.prototype.event=function(e){return e?"Viewed "+e+" Screen":"Loaded a Screen"},s.prototype.track=function(e){var t=this.json();return t.event=this.event(e),t.timestamp=this.timestamp(),t.properties=this.properties(),new a.Track(t,this.opts)}},53711: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.Track=void 0;var o=r(n(77082)),i=n(24712),a=n(62014),s=r(n(39909)),u=r(n(20247));function l(e,t){i.Facade.call(this,e,t)}t.Track=l,o.default(l,i.Facade);var c=l.prototype;c.action=function(){return"track"},c.type=c.action,c.event=i.Facade.field("event"),c.value=i.Facade.proxy("properties.value"),c.category=i.Facade.proxy("properties.category"),c.id=i.Facade.proxy("properties.id"),c.productId=function(){return this.proxy("properties.product_id")||this.proxy("properties.productId")},c.promotionId=function(){return this.proxy("properties.promotion_id")||this.proxy("properties.promotionId")},c.cartId=function(){return this.proxy("properties.cart_id")||this.proxy("properties.cartId")},c.checkoutId=function(){return this.proxy("properties.checkout_id")||this.proxy("properties.checkoutId")},c.paymentId=function(){return this.proxy("properties.payment_id")||this.proxy("properties.paymentId")},c.couponId=function(){return this.proxy("properties.coupon_id")||this.proxy("properties.couponId")},c.wishlistId=function(){return this.proxy("properties.wishlist_id")||this.proxy("properties.wishlistId")},c.reviewId=function(){return this.proxy("properties.review_id")||this.proxy("properties.reviewId")},c.orderId=function(){return this.proxy("properties.id")||this.proxy("properties.order_id")||this.proxy("properties.orderId")},c.sku=i.Facade.proxy("properties.sku"),c.tax=i.Facade.proxy("properties.tax"),c.name=i.Facade.proxy("properties.name"),c.price=i.Facade.proxy("properties.price"),c.total=i.Facade.proxy("properties.total"),c.repeat=i.Facade.proxy("properties.repeat"),c.coupon=i.Facade.proxy("properties.coupon"),c.shipping=i.Facade.proxy("properties.shipping"),c.discount=i.Facade.proxy("properties.discount"),c.shippingMethod=function(){return this.proxy("properties.shipping_method")||this.proxy("properties.shippingMethod")},c.paymentMethod=function(){return this.proxy("properties.payment_method")||this.proxy("properties.paymentMethod")},c.description=i.Facade.proxy("properties.description"),c.plan=i.Facade.proxy("properties.plan"),c.subtotal=function(){var e=u.default(this.properties(),"subtotal"),t=this.total()||this.revenue();if(e)return e;if(!t)return 0;if(this.total()){var n=this.tax();n&&(t-=n),(n=this.shipping())&&(t-=n),(n=this.discount())&&(t+=n)}return t},c.products=function(){var e=this.properties(),t=u.default(e,"products");return Array.isArray(t)?t.filter((function(e){return null!==e})):[]},c.quantity=function(){return(this.obj.properties||{}).quantity||1},c.currency=function(){return(this.obj.properties||{}).currency||"USD"},c.referrer=function(){return this.proxy("context.referrer.url")||this.proxy("context.page.referrer")||this.proxy("properties.referrer")},c.query=i.Facade.proxy("options.query"),c.properties=function(e){var t=this.field("properties")||{};for(var n in e=e||{}){var r=null==this[n]?this.proxy("properties."+n):this[n]();null!=r&&(t[e[n]]=r,delete t[n])}return t},c.username=function(){return this.proxy("traits.username")||this.proxy("properties.username")||this.userId()||this.sessionId()},c.email=function(){var e=this.proxy("traits.email")||this.proxy("properties.email")||this.proxy("options.traits.email");if(e)return e;var t=this.userId();return s.default(t)?t:void 0},c.revenue=function(){var e=this.proxy("properties.revenue"),t=this.event();return!e&&t&&t.match(/^[ _]?completed[ _]?order[ _]?|^[ _]?order[ _]?completed[ _]?$/i)&&(e=this.proxy("properties.total")),function(e){if(!e)return;if("number"===typeof e)return e;if("string"!==typeof e)return;if(e=e.replace(/\$/g,""),e=parseFloat(e),!isNaN(e))return e}(e)},c.cents=function(){var e=this.revenue();return"number"!==typeof e?this.value()||0:100*e},c.identify=function(){var e=this.json();return e.traits=this.traits(),new a.Identify(e,this.opts)}},13575:function(e,t,n){"use strict";var r=n(30333);function o(e,t){return void 0===t&&(t=!0),e&&"object"===typeof e?function(e,t){return Object.keys(e).forEach((function(n){e[n]=o(e[n],t)})),e}(e,t):Array.isArray(e)?function(e,t){return e.forEach((function(n,r){e[r]=o(n,t)})),e}(e,t):r.is(e,t)?r.parse(e):e}e.exports=o},30333:function(e,t){"use strict";var n=/^(\d{4})(?:-?(\d{2})(?:-?(\d{2}))?)?(?:([ T])(\d{2}):?(\d{2})(?::?(\d{2})(?:[,\.](\d{1,}))?)?(?:(Z)|([+\-])(\d{2})(?::?(\d{2}))?)?)?$/;t.parse=function(e){var t=[1,5,6,7,11,12],r=n.exec(e),o=0;if(!r)return new Date(e);for(var i,a=0;i=t[a];a++)r[i]=parseInt(r[i],10)||0;r[2]=parseInt(r[2],10)||1,r[3]=parseInt(r[3],10)||1,r[2]--,r[8]=r[8]?(r[8]+"00").substring(0,3):0," "===r[4]?o=(new Date).getTimezoneOffset():"Z"!==r[9]&&r[10]&&(o=60*r[11]+r[12],"+"===r[10]&&(o=0-o));var s=Date.UTC(r[1],r[2],r[3],r[5],r[6]+o,r[7],r[8]);return new Date(s)},t.is=function(e,t){return"string"===typeof e&&((!t||!1!==/^\d{4}-\d{2}-\d{2}/.test(e))&&n.test(e))}},67205:function(e,t){"use strict";t.Z=function(e,t,n){t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n;return e}},67503:function(e,t){"use strict";t.byteLength=function(e){var t=u(e),n=t[0],r=t[1];return 3*(n+r)/4-r},t.toByteArray=function(e){var t,n,i=u(e),a=i[0],s=i[1],l=new o(function(e,t,n){return 3*(t+n)/4-n}(0,a,s)),c=0,f=s>0?a-4:a;for(n=0;n<f;n+=4)t=r[e.charCodeAt(n)]<<18|r[e.charCodeAt(n+1)]<<12|r[e.charCodeAt(n+2)]<<6|r[e.charCodeAt(n+3)],l[c++]=t>>16&255,l[c++]=t>>8&255,l[c++]=255&t;2===s&&(t=r[e.charCodeAt(n)]<<2|r[e.charCodeAt(n+1)]>>4,l[c++]=255&t);1===s&&(t=r[e.charCodeAt(n)]<<10|r[e.charCodeAt(n+1)]<<4|r[e.charCodeAt(n+2)]>>2,l[c++]=t>>8&255,l[c++]=255&t);return l},t.fromByteArray=function(e){for(var t,r=e.length,o=r%3,i=[],a=16383,s=0,u=r-o;s<u;s+=a)i.push(l(e,s,s+a>u?u:s+a));1===o?(t=e[r-1],i.push(n[t>>2]+n[t<<4&63]+"==")):2===o&&(t=(e[r-2]<<8)+e[r-1],i.push(n[t>>10]+n[t>>4&63]+n[t<<2&63]+"="));return i.join("")};for(var n=[],r=[],o="undefined"!==typeof Uint8Array?Uint8Array:Array,i="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789
vendor: 10,131 bytes, line 1
1+/",a=0,s=i.length;a<s;++a)n[a]=i[a],r[i.charCodeAt(a)]=a;function u(e){var t=e.length;if(t%4>0)throw new Error("Invalid string. Length must be a multiple of 4");var n=e.indexOf("=");return-1===n&&(n=t),[n,n===t?0:4-n%4]}function l(e,t,r){for(var o,i,a=[],s=t;s<r;s+=3)o=(e[s]<<16&16711680)+(e[s+1]<<8&65280)+(255&e[s+2]),a.push(n[(i=o)>>18&63]+n[i>>12&63]+n[i>>6&63]+n[63&i]);return a.join("")}r["-".charCodeAt(0)]=62,r["_".charCodeAt(0)]=63},45613:function(e,t,n){"use strict";const r=n(67503),o=n(79976),i="function"===typeof Symbol&&"function"===typeof Symbol.for?Symbol.for("nodejs.util.inspect.custom"):null;t.lW=u,t.h2=50;const a=2147483647;function s(e){if(e>a)throw new RangeError('The value "'+e+'" is invalid for option "size"');const t=new Uint8Array(e);return Object.setPrototypeOf(t,u.prototype),t}function u(e,t,n){if("number"===typeof e){if("string"===typeof t)throw new TypeError('The "string" argument must be of type string. Received type number');return f(e)}return l(e,t,n)}function l(e,t,n){if("string"===typeof e)return function(e,t){"string"===typeof t&&""!==t||(t="utf8");if(!u.isEncoding(t))throw new TypeError("Unknown encoding: "+t);const n=0|m(e,t);let r=s(n);const o=r.write(e,t);o!==n&&(r=r.slice(0,o));return r}(e,t);if(ArrayBuffer.isView(e))return function(e){if(J(e,Uint8Array)){const t=new Uint8Array(e);return p(t.buffer,t.byteOffset,t.byteLength)}return d(e)}(e);if(null==e)throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof e);if(J(e,ArrayBuffer)||e&&J(e.buffer,ArrayBuffer))return p(e,t,n);if("undefined"!==typeof SharedArrayBuffer&&(J(e,SharedArrayBuffer)||e&&J(e.buffer,SharedArrayBuffer)))return p(e,t,n);if("number"===typeof e)throw new TypeError('The "value" argument must not be of type number. Received type number');const r=e.valueOf&&e.valueOf();if(null!=r&&r!==e)return u.from(r,t,n);const o=function(e){if(u.isBuffer(e)){const t=0|h(e.length),n=s(t);return 0===n.length||e.copy(n,0,0,t),n}if(void 0!==e.length)return"number"!==typeof e.length||G(e.length)?s(0):d(e);if("Buffer"===e.type&&Array.isArray(e.data))return d(e.data)}(e);if(o)return o;if("undefined"!==typeof Symbol&&null!=Symbol.toPrimitive&&"function"===typeof e[Symbol.toPrimitive])return u.from(e[Symbol.toPrimitive]("string"),t,n);throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof e)}function c(e){if("number"!==typeof e)throw new TypeError('"size" argument must be of type number');if(e<0)throw new RangeError('The value "'+e+'" is invalid for option "size"')}function f(e){return c(e),s(e<0?0:0|h(e))}function d(e){const t=e.length<0?0:0|h(e.length),n=s(t);for(let r=0;r<t;r+=1)n[r]=255&e[r];return n}function p(e,t,n){if(t<0||e.byteLength<t)throw new RangeError('"offset" is outside of buffer bounds');if(e.byteLength<t+(n||0))throw new RangeError('"length" is outside of buffer bounds');let r;return r=void 0===t&&void 0===n?new Uint8Array(e):void 0===n?new Uint8Array(e,t):new Uint8Array(e,t,n),Object.setPrototypeOf(r,u.prototype),r}function h(e){if(e>=a)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+a.toString(16)+" bytes");return 0|e}function m(e,t){if(u.isBuffer(e))return e.length;if(ArrayBuffer.isView(e)||J(e,ArrayBuffer))return e.byteLength;if("string"!==typeof e)throw new TypeError('The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type '+typeof e);const n=e.length,r=arguments.length>2&&!0===arguments[2];if(!r&&0===n)return 0;let o=!1;for(;;)switch(t){case"ascii":case"latin1":case"binary":return n;case"utf8":case"utf-8":return Y(e).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*n;case"hex":return n>>>1;case"base64":return V(e).length;default:if(o)return r?-1:Y(e).length;t=(""+t).toLowerCase(),o=!0}}function v(e,t,n){let r=!1;if((void 0===t||t<0)&&(t=0),t>this.length)return"";if((void 0===n||n>this.length)&&(n=this.length),n<=0)return"";if((n>>>=0)<=(t>>>=0))return"";for(e||(e="utf8");;)switch(e){case"hex":return k(this,t,n);case"utf8":case"utf-8":return O(this,t,n);case"ascii":return N(this,t,n);case"latin1":case"binary":return C(this,t,n);case"base64":return E(this,t,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return A(this,t,n);default:if(r)throw new TypeError("Unknown encoding: "+e);e=(e+"").toLowerCase(),r=!0}}function g(e,t,n){const r=e[t];e[t]=e[n],e[n]=r}function y(e,t,n,r,o){if(0===e.length)return-1;if("string"===typeof n?(r=n,n=0):n>2147483647?n=2147483647:n<-2147483648&&(n=-2147483648),G(n=+n)&&(n=o?0:e.length-1),n<0&&(n=e.length+n),n>=e.length){if(o)return-1;n=e.length-1}else if(n<0){if(!o)return-1;n=0}if("string"===typeof t&&(t=u.from(t,r)),u.isBuffer(t))return 0===t.length?-1:b(e,t,n,r,o);if("number"===typeof t)return t&=255,"function"===typeof Uint8Array.prototype.indexOf?o?Uint8Array.prototype.indexOf.call(e,t,n):Uint8Array.prototype.lastIndexOf.call(e,t,n):b(e,[t],n,r,o);throw new TypeError("val must be string, number or Buffer")}function b(e,t,n,r,o){let i,a=1,s=e.length,u=t.length;if(void 0!==r&&("ucs2"===(r=String(r).toLowerCase())||"ucs-2"===r||"utf16le"===r||"utf-16le"===r)){if(e.length<2||t.length<2)return-1;a=2,s/=2,u/=2,n/=2}function l(e,t){return 1===a?e[t]:e.readUInt16BE(t*a)}if(o){let r=-1;for(i=n;i<s;i++)if(l(e,i)===l(t,-1===r?0:i-r)){if(-1===r&&(r=i),i-r+1===u)return r*a}else-1!==r&&(i-=i-r),r=-1}else for(n+u>s&&(n=s-u),i=n;i>=0;i--){let n=!0;for(let r=0;r<u;r++)if(l(e,i+r)!==l(t,r)){n=!1;break}if(n)return i}return-1}function w(e,t,n,r){n=Number(n)||0;const o=e.length-n;r?(r=Number(r))>o&&(r=o):r=o;const i=t.length;let a;for(r>i/2&&(r=i/2),a=0;a<r;++a){const r=parseInt(t.substr(2*a,2),16);if(G(r))return a;e[n+a]=r}return a}function x(e,t,n,r){return $(Y(t,e.length-n),e,n,r)}function _(e,t,n,r){return $(function(e){const t=[];for(let n=0;n<e.length;++n)t.push(255&e.charCodeAt(n));return t}(t),e,n,r)}function j(e,t,n,r){return $(V(t),e,n,r)}function S(e,t,n,r){return $(function(e,t){let n,r,o;const i=[];for(let a=0;a<e.length&&!((t-=2)<0);++a)n=e.charCodeAt(a),r=n>>8,o=n%256,i.push(o),i.push(r);return i}(t,e.length-n),e,n,r)}function E(e,t,n){return 0===t&&n===e.length?r.fromByteArray(e):r.fromByteArray(e.slice(t,n))}function O(e,t,n){n=Math.min(e.length,n);const r=[];let o=t;for(;o<n;){const t=e[o];let i=null,a=t>239?4:t>223?3:t>191?2:1;if(o+a<=n){let n,r,s,u;switch(a){case 1:t<128&&(i=t);break;case 2:n=e[o+1],128===(192&n)&&(u=(31&t)<<6|63&n,u>127&&(i=u));break;case 3:n=e[o+1],r=e[o+2],128===(192&n)&&128===(192&r)&&(u=(15&t)<<12|(63&n)<<6|63&r,u>2047&&(u<55296||u>57343)&&(i=u));break;case 4:n=e[o+1],r=e[o+2],s=e[o+3],128===(192&n)&&128===(192&r)&&128===(192&s)&&(u=(15&t)<<18|(63&n)<<12|(63&r)<<6|63&s,u>65535&&u<1114112&&(i=u))}}null===i?(i=65533,a=1):i>65535&&(i-=65536,r.push(i>>>10&1023|55296),i=56320|1023&i),r.push(i),o+=a}return function(e){const t=e.length;if(t<=T)return String.fromCharCode.apply(String,e);let n="",r=0;for(;r<t;)n+=String.fromCharCode.apply(String,e.slice(r,r+=T));return n}(r)}u.TYPED_ARRAY_SUPPORT=function(){try{const e=new Uint8Array(1),t={foo:function(){return 42}};return Object.setPrototypeOf(t,Uint8Array.prototype),Object.setPrototypeOf(e,t),42===e.foo()}catch(e){return!1}}(),u.TYPED_ARRAY_SUPPORT||"undefined"===typeof console||"function"!==typeof console.error||console.error("This browser lacks typed array (Uint8Array) support which is required by `buffer` v5.x. Use `buffer` v4.x if you require old browser support."),Object.defineProperty(u.prototype,"parent",{enumerable:!0,get:function(){if(u.isBuffer(this))return this.buffer}}),Object.defineProperty(u.prototype,"offset",{enumerable:!0,get:function(){if(u.isBuffer(this))return this.byteOffset}}),u.poolSize=8192,u.from=function(e,t,n){return l(e,t,n)},Object.setPrototypeOf(u.prototype,Uint8Array.prototype),Object.setPrototypeOf(u,Uint8Array),u.alloc=function(e,t,n){return function(e,t,n){return c(e),e<=0?s(e):void 0!==t?"string"===typeof n?s(e).fill(t,n):s(e).fill(t):s(e)}(e,t,n)},u.allocUnsafe=function(e){return f(e)},u.allocUnsafeSlow=function(e){return f(e)},u.isBuffer=function(e){return null!=e&&!0===e._isBuffer&&e!==u.prototype},u.compare=function(e,t){if(J(e,Uint8Array)&&(e=u.from(e,e.offset,e.byteLength)),J(t,Uint8Array)&&(t=u.from(t,t.offset,t.byteLength)),!u.isBuffer(e)||!u.isBuffer(t))throw new TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array');if(e===t)return 0;let n=e.length,r=t.length;for(let o=0,i=Math.min(n,r);o<i;++o)if(e[o]!==t[o]){n=e[o],r=t[o];break}return n<r?-1:r<n?1:0},u.isEncoding=function(e){switch(String(e).toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"latin1":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return!0;default:return!1}},u.concat=function(e,t){if(!Array.isArray(e))throw new TypeError('"list" argument must be an Array of Buffers');if(0===e.length)return u.alloc(0);let n;if(void 0===t)for(t=0,n=0;n<e.length;++n)t+=e[n].length;const r=u.allocUnsafe(t);let o=0;for(n=0;n<e.length;++n){let t=e[n];if(J(t,Uint8Array))o+t.length>r.length?(u.isBuffer(t)||(t=u.from(t)),t.copy(r,o)):Uint8Array.prototype.set.call(r,t,o);else{if(!u.isBuffer(t))throw new TypeError('"list" argument must be an Array of Buffers');t.copy(r,o)}o+=t.length}return r},u.byteLength=m,u.prototype._isBuffer=!0,u.prototype.swap16=function(){const e=this.length;if(e%2!==0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(let t=0;t<e;t+=2)g(this,t,t+1);return this},u.prototype.swap32=function(){const e=this.length;if(e%4!==0)throw new RangeError("Buffer size must be a multiple of 32-bits");for(let t=0;t<e;t+=4)g(this,t,t+3),g(this,t+1,t+2);return this},u.prototype.swap64=function(){const e=this.length;if(e%8!==0)throw new RangeError("Buffer size must be a multiple of 64-bits");for(let t=0;t<e;t+=8)g(this,t,t+7),g(this,t+1,t+6),g(this,t+2,t+5),g(this,t+3,t+4);return this},u.prototype.toString=function(){const e=this.length;return 0===e?"":0===arguments.length?O(this,0,e):v.apply(this,arguments)}
vendor: 12,025 bytes, line 1
1,u.prototype.toLocaleString=u.prototype.toString,u.prototype.equals=function(e){if(!u.isBuffer(e))throw new TypeError("Argument must be a Buffer");return this===e||0===u.compare(this,e)},u.prototype.inspect=function(){let e="";const n=t.h2;return e=this.toString("hex",0,n).replace(/(.{2})/g,"$1 ").trim(),this.length>n&&(e+=" ... "),"<Buffer "+e+">"},i&&(u.prototype[i]=u.prototype.inspect),u.prototype.compare=function(e,t,n,r,o){if(J(e,Uint8Array)&&(e=u.from(e,e.offset,e.byteLength)),!u.isBuffer(e))throw new TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+typeof e);if(void 0===t&&(t=0),void 0===n&&(n=e?e.length:0),void 0===r&&(r=0),void 0===o&&(o=this.length),t<0||n>e.length||r<0||o>this.length)throw new RangeError("out of range index");if(r>=o&&t>=n)return 0;if(r>=o)return-1;if(t>=n)return 1;if(this===e)return 0;let i=(o>>>=0)-(r>>>=0),a=(n>>>=0)-(t>>>=0);const s=Math.min(i,a),l=this.slice(r,o),c=e.slice(t,n);for(let u=0;u<s;++u)if(l[u]!==c[u]){i=l[u],a=c[u];break}return i<a?-1:a<i?1:0},u.prototype.includes=function(e,t,n){return-1!==this.indexOf(e,t,n)},u.prototype.indexOf=function(e,t,n){return y(this,e,t,n,!0)},u.prototype.lastIndexOf=function(e,t,n){return y(this,e,t,n,!1)},u.prototype.write=function(e,t,n,r){if(void 0===t)r="utf8",n=this.length,t=0;else if(void 0===n&&"string"===typeof t)r=t,n=this.length,t=0;else{if(!isFinite(t))throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");t>>>=0,isFinite(n)?(n>>>=0,void 0===r&&(r="utf8")):(r=n,n=void 0)}const o=this.length-t;if((void 0===n||n>o)&&(n=o),e.length>0&&(n<0||t<0)||t>this.length)throw new RangeError("Attempt to write outside buffer bounds");r||(r="utf8");let i=!1;for(;;)switch(r){case"hex":return w(this,e,t,n);case"utf8":case"utf-8":return x(this,e,t,n);case"ascii":case"latin1":case"binary":return _(this,e,t,n);case"base64":return j(this,e,t,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return S(this,e,t,n);default:if(i)throw new TypeError("Unknown encoding: "+r);r=(""+r).toLowerCase(),i=!0}},u.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};const T=4096;function N(e,t,n){let r="";n=Math.min(e.length,n);for(let o=t;o<n;++o)r+=String.fromCharCode(127&e[o]);return r}function C(e,t,n){let r="";n=Math.min(e.length,n);for(let o=t;o<n;++o)r+=String.fromCharCode(e[o]);return r}function k(e,t,n){const r=e.length;(!t||t<0)&&(t=0),(!n||n<0||n>r)&&(n=r);let o="";for(let i=t;i<n;++i)o+=K[e[i]];return o}function A(e,t,n){const r=e.slice(t,n);let o="";for(let i=0;i<r.length-1;i+=2)o+=String.fromCharCode(r[i]+256*r[i+1]);return o}function P(e,t,n){if(e%1!==0||e<0)throw new RangeError("offset is not uint");if(e+t>n)throw new RangeError("Trying to access beyond buffer length")}function z(e,t,n,r,o,i){if(!u.isBuffer(e))throw new TypeError('"buffer" argument must be a Buffer instance');if(t>o||t<i)throw new RangeError('"value" argument is out of bounds');if(n+r>e.length)throw new RangeError("Index out of range")}function M(e,t,n,r,o){W(t,r,o,e,n,7);let i=Number(t&BigInt(4294967295));e[n++]=i,i>>=8,e[n++]=i,i>>=8,e[n++]=i,i>>=8,e[n++]=i;let a=Number(t>>BigInt(32)&BigInt(4294967295));return e[n++]=a,a>>=8,e[n++]=a,a>>=8,e[n++]=a,a>>=8,e[n++]=a,n}function U(e,t,n,r,o){W(t,r,o,e,n,7);let i=Number(t&BigInt(4294967295));e[n+7]=i,i>>=8,e[n+6]=i,i>>=8,e[n+5]=i,i>>=8,e[n+4]=i;let a=Number(t>>BigInt(32)&BigInt(4294967295));return e[n+3]=a,a>>=8,e[n+2]=a,a>>=8,e[n+1]=a,a>>=8,e[n]=a,n+8}function I(e,t,n,r,o,i){if(n+r>e.length)throw new RangeError("Index out of range");if(n<0)throw new RangeError("Index out of range")}function D(e,t,n,r,i){return t=+t,n>>>=0,i||I(e,0,n,4),o.write(e,t,n,r,23,4),n+4}function R(e,t,n,r,i){return t=+t,n>>>=0,i||I(e,0,n,8),o.write(e,t,n,r,52,8),n+8}u.prototype.slice=function(e,t){const n=this.length;(e=~~e)<0?(e+=n)<0&&(e=0):e>n&&(e=n),(t=void 0===t?n:~~t)<0?(t+=n)<0&&(t=0):t>n&&(t=n),t<e&&(t=e);const r=this.subarray(e,t);return Object.setPrototypeOf(r,u.prototype),r},u.prototype.readUintLE=u.prototype.readUIntLE=function(e,t,n){e>>>=0,t>>>=0,n||P(e,t,this.length);let r=this[e],o=1,i=0;for(;++i<t&&(o*=256);)r+=this[e+i]*o;return r},u.prototype.readUintBE=u.prototype.readUIntBE=function(e,t,n){e>>>=0,t>>>=0,n||P(e,t,this.length);let r=this[e+--t],o=1;for(;t>0&&(o*=256);)r+=this[e+--t]*o;return r},u.prototype.readUint8=u.prototype.readUInt8=function(e,t){return e>>>=0,t||P(e,1,this.length),this[e]},u.prototype.readUint16LE=u.prototype.readUInt16LE=function(e,t){return e>>>=0,t||P(e,2,this.length),this[e]|this[e+1]<<8},u.prototype.readUint16BE=u.prototype.readUInt16BE=function(e,t){return e>>>=0,t||P(e,2,this.length),this[e]<<8|this[e+1]},u.prototype.readUint32LE=u.prototype.readUInt32LE=function(e,t){return e>>>=0,t||P(e,4,this.length),(this[e]|this[e+1]<<8|this[e+2]<<16)+16777216*this[e+3]},u.prototype.readUint32BE=u.prototype.readUInt32BE=function(e,t){return e>>>=0,t||P(e,4,this.length),16777216*this[e]+(this[e+1]<<16|this[e+2]<<8|this[e+3])},u.prototype.readBigUInt64LE=Q((function(e){q(e>>>=0,"offset");const t=this[e],n=this[e+7];void 0!==t&&void 0!==n||Z(e,this.length-8);const r=t+256*this[++e]+65536*this[++e]+this[++e]*2**24,o=this[++e]+256*this[++e]+65536*this[++e]+n*2**24;return BigInt(r)+(BigInt(o)<<BigInt(32))})),u.prototype.readBigUInt64BE=Q((function(e){q(e>>>=0,"offset");const t=this[e],n=this[e+7];void 0!==t&&void 0!==n||Z(e,this.length-8);const r=t*2**24+65536*this[++e]+256*this[++e]+this[++e],o=this[++e]*2**24+65536*this[++e]+256*this[++e]+n;return(BigInt(r)<<BigInt(32))+BigInt(o)})),u.prototype.readIntLE=function(e,t,n){e>>>=0,t>>>=0,n||P(e,t,this.length);let r=this[e],o=1,i=0;for(;++i<t&&(o*=256);)r+=this[e+i]*o;return o*=128,r>=o&&(r-=Math.pow(2,8*t)),r},u.prototype.readIntBE=function(e,t,n){e>>>=0,t>>>=0,n||P(e,t,this.length);let r=t,o=1,i=this[e+--r];for(;r>0&&(o*=256);)i+=this[e+--r]*o;return o*=128,i>=o&&(i-=Math.pow(2,8*t)),i},u.prototype.readInt8=function(e,t){return e>>>=0,t||P(e,1,this.length),128&this[e]?-1*(255-this[e]+1):this[e]},u.prototype.readInt16LE=function(e,t){e>>>=0,t||P(e,2,this.length);const n=this[e]|this[e+1]<<8;return 32768&n?4294901760|n:n},u.prototype.readInt16BE=function(e,t){e>>>=0,t||P(e,2,this.length);const n=this[e+1]|this[e]<<8;return 32768&n?4294901760|n:n},u.prototype.readInt32LE=function(e,t){return e>>>=0,t||P(e,4,this.length),this[e]|this[e+1]<<8|this[e+2]<<16|this[e+3]<<24},u.prototype.readInt32BE=function(e,t){return e>>>=0,t||P(e,4,this.length),this[e]<<24|this[e+1]<<16|this[e+2]<<8|this[e+3]},u.prototype.readBigInt64LE=Q((function(e){q(e>>>=0,"offset");const t=this[e],n=this[e+7];void 0!==t&&void 0!==n||Z(e,this.length-8);const r=this[e+4]+256*this[e+5]+65536*this[e+6]+(n<<24);return(BigInt(r)<<BigInt(32))+BigInt(t+256*this[++e]+65536*this[++e]+this[++e]*2**24)})),u.prototype.readBigInt64BE=Q((function(e){q(e>>>=0,"offset");const t=this[e],n=this[e+7];void 0!==t&&void 0!==n||Z(e,this.length-8);const r=(t<<24)+65536*this[++e]+256*this[++e]+this[++e];return(BigInt(r)<<BigInt(32))+BigInt(this[++e]*2**24+65536*this[++e]+256*this[++e]+n)})),u.prototype.readFloatLE=function(e,t){return e>>>=0,t||P(e,4,this.length),o.read(this,e,!0,23,4)},u.prototype.readFloatBE=function(e,t){return e>>>=0,t||P(e,4,this.length),o.read(this,e,!1,23,4)},u.prototype.readDoubleLE=function(e,t){return e>>>=0,t||P(e,8,this.length),o.read(this,e,!0,52,8)},u.prototype.readDoubleBE=function(e,t){return e>>>=0,t||P(e,8,this.length),o.read(this,e,!1,52,8)},u.prototype.writeUintLE=u.prototype.writeUIntLE=function(e,t,n,r){if(e=+e,t>>>=0,n>>>=0,!r){z(this,e,t,n,Math.pow(2,8*n)-1,0)}let o=1,i=0;for(this[t]=255&e;++i<n&&(o*=256);)this[t+i]=e/o&255;return t+n},u.prototype.writeUintBE=u.prototype.writeUIntBE=function(e,t,n,r){if(e=+e,t>>>=0,n>>>=0,!r){z(this,e,t,n,Math.pow(2,8*n)-1,0)}let o=n-1,i=1;for(this[t+o]=255&e;--o>=0&&(i*=256);)this[t+o]=e/i&255;return t+n},u.prototype.writeUint8=u.prototype.writeUInt8=function(e,t,n){return e=+e,t>>>=0,n||z(this,e,t,1,255,0),this[t]=255&e,t+1},u.prototype.writeUint16LE=u.prototype.writeUInt16LE=function(e,t,n){return e=+e,t>>>=0,n||z(this,e,t,2,65535,0),this[t]=255&e,this[t+1]=e>>>8,t+2},u.prototype.writeUint16BE=u.prototype.writeUInt16BE=function(e,t,n){return e=+e,t>>>=0,n||z(this,e,t,2,65535,0),this[t]=e>>>8,this[t+1]=255&e,t+2},u.prototype.writeUint32LE=u.prototype.writeUInt32LE=function(e,t,n){return e=+e,t>>>=0,n||z(this,e,t,4,4294967295,0),this[t+3]=e>>>24,this[t+2]=e>>>16,this[t+1]=e>>>8,this[t]=255&e,t+4},u.prototype.writeUint32BE=u.prototype.writeUInt32BE=function(e,t,n){return e=+e,t>>>=0,n||z(this,e,t,4,4294967295,0),this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e,t+4},u.prototype.writeBigUInt64LE=Q((function(e,t=0){return M(this,e,t,BigInt(0),BigInt("0xffffffffffffffff"))})),u.prototype.writeBigUInt64BE=Q((function(e,t=0){return U(this,e,t,BigInt(0),BigInt("0xffffffffffffffff"))})),u.prototype.writeIntLE=function(e,t,n,r){if(e=+e,t>>>=0,!r){const r=Math.pow(2,8*n-1);z(this,e,t,n,r-1,-r)}let o=0,i=1,a=0;for(this[t]=255&e;++o<n&&(i*=256);)e<0&&0===a&&0!==this[t+o-1]&&(a=1),this[t+o]=(e/i>>0)-a&255;return t+n},u.prototype.writeIntBE=function(e,t,n,r){if(e=+e,t>>>=0,!r){const r=Math.pow(2,8*n-1);z(this,e,t,n,r-1,-r)}let o=n-1,i=1,a=0;for(this[t+o]=255&e;--o>=0&&(i*=256);)e<0&&0===a&&0!==this[t+o+1]&&(a=1),this[t+o]=(e/i>>0)-a&255;return t+n},u.prototype.writeInt8=function(e,t,n){return e=+e,t>>>=0,n||z(this,e,t,1,127,-128),e<0&&(e=255+e+1),this[t]=255&e,t+1},u.prototype.writeInt16LE=function(e,t,n){return e=+e,t>>>=0,n||z(this,e,t,2,32767,-32768),this[t]=255&e,this[t+1]=e>>>8,t+2},u.prototype.writeInt16BE=function(e,t,n){return e=+e,t>>>=0,n||z(this,e,t,2,32767,-32768),this[t]=e>>>8,this[t+1]=255&e,t+2},u.prototype.writeInt32LE=function(e,t,n){return e=+e,t>>>=0,n||z(this,e,t,4,2147483647,-2147483648),this[t]=255&e,this[t+1]=e>>>8,this[t+2]=e>>>16,this[t+3]=e>>>24,t+4},u.prototype.writeInt32BE=function(e,t,n){return e=+e,t>>>=0,n||z(this,e,t,4,2147483647,-2147483648),e<0&&(e=4294967295+e+1),this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e,t+4},u.prototype.writeBigInt64LE=Q((function(e,t=0){return M(this,e,t,-BigInt("0x8000000000000000"),BigInt("0x7fffffffffffffff"))})),u.prototype.writeBigInt64BE=Q((function(e,t=0){return U(this,e,t,-BigInt("0x8000000000000000"),BigInt("0x7fffffffffffffff"))})),u.prototype.writeFloatLE=function(e,t,n){return D(this,e,t,!0,n)},u.prototype.writeFloatBE=function(e,t,n){return D(this,e,t,!1,n)},u.prototype.writeDoubleLE=function(e,t,n){return R(this,e,t,!0,n)},u.prototype.writeDoubleBE=function(e,t,n){return R(this,e,t,!1,n)},u.prototype.copy=function(e,t,n,r){if(!u.isBuffer(e))throw new TypeError("argument should be a Buffer");if(n||(n=0),r||0===r||(r=this.length),t>=e.length&&(t=e.length),t||(t=0),r>0&&r<n&&(r=n),r===n)return 0;if(0===e.length||0===this.length)return 0;if(t<0)throw new RangeError("targetStart out of bounds");if(n<0||n>=this.length)throw new RangeError("Index out of range");if(r<0)throw new RangeError("sourceEnd out of bounds");r>this.length&&(r=this.length),e.length-t<r-n&&(r=e.length-t+n);const o=r-n;return this===e&&"function"===typeof Uint8Array.prototype.copyWithin?this.copyWithin(t,n,r):Uint8Array.prototype.set.call(e,this.subarray(n,r),t),o},u.prototype.fill=function(e,t,n,r){if("string"===typeof e){if("string"===typeof t?(r=t,t=0,n=this.length):"string"===typeof n&&(r=n,n=this.length),void 0!==r&&"string"!==typeof r)throw new TypeError("encoding must be a string");if("string"===typeof r&&!u.isEncoding(r))throw new TypeError("Unknown encoding: "+r);if(1===e.length){const t=e.charCodeAt(0);("utf8"===r&&t<128||"latin1"===r)&&(e=t)}}else"number"===typeof e?e&=255:"boolean"===typeof e&&(e=Number(e));if(t<0||this.length<t||this.length<n)throw new RangeError("Out of range index");if(n<=t)return this;let o;if(t>>>=0,n=void 0===n?this.length:n>>>0,e||(e=0),"number"===typeof e)for(o=t;o<n;++o)this[o]=e;else{const i=u.isBuffer(e)?e:u.from(e,r),a=i.length;
1if(0===a)throw new TypeError('The value "'+e+'" is invalid for argument "value"');for(o=0;o<n-t;++o)this[o+t]=i[o%a]}return this};const L={};function F(e,t,n){L[e]=class extends n{constructor(){super(),Object.defineProperty(this,"message",{value:t.apply(this,arguments),writable:!0,configurable:!0}),this.name=`${this.name} [${e}]`,this.stack,delete this.name}get code(){return e}set code(e){Object.defineProperty(this,"code",{configurable:!0,enumerable:!0,value:e,writable:!0})}toString(){return`${this.name} [${e}]: ${this.message}`}}}function B(e){let t="",n=e.length;const r="-"===e[0]?1:0;for(;n>=r+4;n-=3)t=`_${e.slice(n-3,n)}${t}`;return`${e.slice(0,n)}${t}`}function W(e,t,n,r,o,i){if(e>n||e<t){const r="bigint"===typeof t?"n":"";let o;throw o=i>3?0===t||t===BigInt(0)?`>= 0${r} and < 2${r} ** ${8*(i+1)}${r}`:`>= -(2${r} ** ${8*(i+1)-1}${r}) and < 2 ** ${8*(i+1)-1}${r}`:`>= ${t}${r} and <= ${n}${r}`,new L.ERR_OUT_OF_RANGE("value",o,e)}!function(e,t,n){q(t,"offset"),void 0!==e[t]&&void 0!==e[t+n]||Z(t,e.length-(n+1))}(r,o,i)}function q(e,t){if("number"!==typeof e)throw new L.ERR_INVALID_ARG_TYPE(t,"number",e)}function Z(e,t,n){if(Math.floor(e)!==e)throw q(e,n),new L.ERR_OUT_OF_RANGE(n||"offset","an integer",e);if(t<0)throw new L.ERR_BUFFER_OUT_OF_BOUNDS;throw new L.ERR_OUT_OF_RANGE(n||"offset",`>= ${n?1:0} and <= ${t}`,e)}F("ERR_BUFFER_OUT_OF_BOUNDS",(function(e){return e?`${e} is outside of buffer bounds`:"Attempt to access memory outside buffer bounds"}),RangeError),F("ERR_INVALID_ARG_TYPE",(function(e,t){return`The "${e}" argument must be of type number. Received type ${typeof t}`}),TypeError),F("ERR_OUT_OF_RANGE",(function(e,t,n){let r=`The value of "${e}" is out of range.`,o=n;return Number.isInteger(n)&&Math.abs(n)>2**32?o=B(String(n)):"bigint"===typeof n&&(o=String(n),(n>BigInt(2)**BigInt(32)||n<-(BigInt(2)**BigInt(32)))&&(o=B(o)),o+="n"),r+=` It must be ${t}. Received ${o}`,r}),RangeError);const H=/[^+/0-9A-Za-z-_]/g;function Y(e,t){let n;t=t||1/0;const r=e.length;let o=null;const i=[];for(let a=0;a<r;++a){if(n=e.charCodeAt(a),n>55295&&n<57344){if(!o){if(n>56319){(t-=3)>-1&&i.push(239,191,189);continue}if(a+1===r){(t-=3)>-1&&i.push(239,191,189);continue}o=n;continue}if(n<56320){(t-=3)>-1&&i.push(239,191,189),o=n;continue}n=65536+(o-55296<<10|n-56320)}else o&&(t-=3)>-1&&i.push(239,191,189);if(o=null,n<128){if((t-=1)<0)break;i.push(n)}else if(n<2048){if((t-=2)<0)break;i.push(n>>6|192,63&n|128)}else if(n<65536){if((t-=3)<0)break;i.push(n>>12|224,n>>6&63|128,63&n|128)}else{if(!(n<1114112))throw new Error("Invalid code point");if((t-=4)<0)break;i.push(n>>18|240,n>>12&63|128,n>>6&63|128,63&n|128)}}return i}function V(e){return r.toByteArray(function(e){if((e=(e=e.split("=")[0]).trim().replace(H,"")).length<2)return"";for(;e.length%4!==0;)e+="=";return e}(e))}function $(e,t,n,r){let o;for(o=0;o<r&&!(o+n>=t.length||o>=e.length);++o)t[o+n]=e[o];return o}function J(e,t){return e instanceof t||null!=e&&null!=e.constructor&&null!=e.constructor.name&&e.constructor.name===t.name}function G(e){return e!==e}const K=function(){const e="0123456789abcdef",t=new Array(256);for(let n=0;n<16;++n){const r=16*n;for(let o=0;o<16;++o)t[r+o]=e[n]+e[o]}return t}();function Q(e){return"undefined"===typeof BigInt?X:e}function X(){throw new Error("BigInt not supported")}},50744:function(e,t){var n;!function(){"use strict";var r={}.hasOwnProperty;function o(){for(var e=[],t=0;t<arguments.length;t++){var n=arguments[t];if(n){var i=typeof n;if("string"===i||"number"===i)e.push(n);else if(Array.isArray(n)){if(n.length){var a=o.apply(null,n);a&&e.push(a)}}else if("object"===i){if(n.toString!==Object.prototype.toString&&!n.toString.toString().includes("[native code]")){e.push(n.toString());continue}for(var s in n)r.call(n,s)&&n[s]&&e.push(s)}}}return e.join(" ")}e.exports?(o.default=o,e.exports=o):void 0===(n=function(){return o}.apply(t,[]))||(e.exports=n)}()},68295:function(e,t){"use strict";t.parse=function(e,t){if("string"!==typeof e)throw new TypeError("argument str must be a string");for(var r={},o=t||{},a=e.split(";"),s=o.decode||n,u=0;u<a.length;u++){var l=a[u],c=l.indexOf("=");if(!(c<0)){var f=l.substring(0,c).trim();if(void 0==r[f]){var d=l.substring(c+1,l.length).trim();'"'===d[0]&&(d=d.slice(1,-1)),r[f]=i(d,s)}}}return r},t.serialize=function(e,t,n){var i=n||{},a=i.encode||r;if("function"!==typeof a)throw new TypeError("option encode is invali
1d");if(!o.test(e))throw new TypeError("argument name is invalid");var s=a(t);if(s&&!o.test(s))throw new TypeError("argument val is invalid");var u=e+"="+s;if(null!=i.maxAge){var l=i.maxAge-0;if(isNaN(l)||!isFinite(l))throw new TypeError("option maxAge is invalid");u+="; Max-Age="+Math.floor(l)}if(i.domain){if(!o.test(i.domain))throw new TypeError("option domain is invalid");u+="; Domain="+i.domain}if(i.path){if(!o.test(i.path))throw new TypeError("option path is invalid");u+="; Path="+i.path}if(i.expires){if("function"!==typeof i.expires.toUTCString)throw new TypeError("option expires is invalid");u+="; Expires="+i.expires.toUTCString()}i.httpOnly&&(u+="; HttpOnly");i.secure&&(u+="; Secure");if(i.sameSite){switch("string"===typeof i.sameSite?i.sameSite.toLowerCase():i.sameSite){case!0:u+="; SameSite=Strict";break;case"lax":u+="; SameSite=Lax";break;case"strict":u+="; SameSite=Strict";break;case"none":u+="; SameSite=None";break;default:throw new TypeError("option sameSite is invalid")}}return u};var n=decodeURIComponent,r=encodeURIComponent,o=/^[\u0009\u0020-\u007e\u0080-\u00ff]+$/;function i(e,t){try{return t(e)}catch(n){return e}}},56826:function(e,t,n){"use strict";var r=this&&this.__assign||function(){return r=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},r.apply(this,arguments)},o=this&&this.__rest||function(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 o=0;for(r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]])}return n};Object.defineProperty(t,"__esModule",{value:!0}),t.checkCookies=t.hasCookie=t.removeCookies=t.deleteCookie=t.setCookies=t.setCookie=t.getCookie=t.getCookies=void 0;var i=n(68295),a=function(){return"undefined"!==typeof window},s=function(e){void 0===e&&(e="");try{var t=JSON.stringify(e);return/^[\{\[]/.test(t)?t:e}catch(n){return e}};t.getCookies=function(e){var t;if(e&&(t=e.req),!a())return t&&t.cookies?t.cookies:t&&t.headers&&t.headers.cookie?(0,i.parse)(t.headers.cookie):{};for(var n={},r=document.cookie?document.cookie.split("; "):[],o=0,s=r.length;o<s;o++){var u=r[o].split("="),l=u.slice(1).join("=");n[u[0]]=l}return n};t.getCookie=function(e,n){var r,o=(0,t.getCookies)(n)[e];if(void 0!==o)return function(e){return"true"===e||"false"!==e&&("undefined"!==e?"null"===e?null:e:void 0)}((r=o)?r.replace(/(%[0-9A-Z]{2}
1)+/g,decodeURIComponent):r)};t.setCookie=function(e,t,n){var u,l,c;n&&(l=n.req,c=n.res,u=o(n,["req","res"]));var f=(0,i.serialize)(e,s(t),r({path:"/"},u));if(a())document.cookie=f;else if(c&&l){var d=c.getHeader("Set-Cookie");if(Array.isArray(d)||(d=d?[String(d)]:[]),c.setHeader("Set-Cookie",d.concat(f)),l&&l.cookies){var p=l.cookies;""===t?delete p[e]:p[e]=s(t)}if(l&&l.headers&&l.headers.cookie){p=(0,i.parse)(l.headers.cookie);""===t?delete p[e]:p[e]=s(t),l.headers.cookie=Object.entries(p).reduce((function(e,t){return e.concat("".concat(t[0],"=").concat(t[1],";"))}),"")}}};t.setCookies=function(e,n,r){return console.warn("[WARN]: setCookies was deprecated. It will be deleted in the new version. Use setCookie instead."),(0,t.setCookie)(e,n,r)};t.deleteCookie=function(e,n){return(0,t.setCookie)(e,"",r(r({},n),{maxAge:-1}))};t.removeCookies=function(e,n){return console.warn("[WARN]: removeCookies was deprecated. It will be deleted in the new version. Use deleteCookie instead."),(0,t.deleteCookie)(e,n)};t.hasCookie=function(e,n){return!!e&&(0,t.getCookies)(n).hasOwnProperty(e)};t.checkCookies=function(e,n){return console.warn("[WARN]: checkCookies was deprecated. It will be deleted in the new version. Use hasCookie instead."),(0,t.hasCookie)(e,n)}},49924:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){var n=e<0?"-":"",r=Math.abs(e).toString();for(;r.length<t;)r="0"+r;return n+r},e.exports=t.default},51927:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){if(null==e)throw new TypeError("assign requires that input parameter not be null or undefined");for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n]);return e},e.exports=t.default},52752:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return(0,o.default)({},e)};var r,o=(r=n(51927))&&r.__esModule?r:{default:r};e.exports=t.default},98661:function(e,t,n){"use strict";var r;Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=((r=n(7076))&&r.__esModule?r:{default:r}).default;t.default=o,e.exports=t.default},41574:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getDefaultOptions=function(){return n},t.setDefaultOptions=function(e){n=e};var n={}},49020:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=c(n(49414)),o=c(n(17232)),i=c(n(71192)),a=c(n(64638)),s=c(n(70773)),u=c(n(49924)),l=c(n(67608));function c(e){return e&&e.__esModule?e:{default:e}}var f="midnight",d="noon",p="morning",h="afternoon",m="evening",v="night";function g(e,t){var n=e>0?"-":"+",r=Math.abs(e),o=Math.floor(r/60),i=r%60;if(0===i)return n+String(o);var a=t||"";return n+String(o)+a+(0,u.default)(i,2)}function y(e,t){return e%60===0?(e>0?"-":"+")+(0,u.default)(Math.abs(e)/60,2):b(e,t)}function b(e,t){var n=t||"",r=e>0?"-":"+",o=Math.abs(e);return r+(0,u.default)(Math.floor(o/60),2)+n+(0,u.default)(o%60,2)}var w={G:function(e,t,n){var r=e.getUTCFullYear()>0?1:0;switch(t){case"G":case"GG":case"GGG":return n.era(r,{width:"abbreviated"});case"GGGGG":return n.era(r,{width:"narrow"});default:return n.era(r,{width:"wide"})}},y:function(e,t,n){if("yo"===t){var r=e.getUTCFullYear(),o=r>0?r:1-r;return n.ordinalNumber(o,{unit:"year"})}return l.default.y(e,t)},Y:function(e,t,n,r){var o=(0,s.default)(e,r),i=o>0?o:1-o;if("YY"===t){var a=i%100;return(0,u.default)(a,2)}return"Yo"===t?n.ordinalNumber(i,{unit:"year"}):(0,u.default)(i,t.length)},R:function(e,t){var n=(0,i.default)(e);return(0,u.default)(n,t.length)},u:function(e,t){var n=e.getUTCFullYear();return(0,u.default)(n,t.length)},Q:function(e,t,n){var r=Math.ceil((e.getUTCMonth()+1)/3);switch(t){case"Q":return String(r);case"QQ":return(0,u.default)(r,2);case"Qo":return n.ordinalNumber(r,{unit:"quarter"});case"QQQ":return n.quarter(r,{width:"abbreviated",context:"formatting"});case"QQQQQ":return n.quarter(r,{width:"narrow",context:"formatting"});default:return n.quarter(r,{width:"wide",context:"formatting"})}},q:function(e,t,n){var r=Math.ceil((e.getUTCMonth()+1)/3);switch(t){case"q":return String(r);case"qq":return(0,u.default)(r,2);case"qo":return n.ordinalNumber(r,{unit:"quarter"});case"qqq":return n.quarter(r,{width:"abbreviated",context:"standalone"});case"qqqqq":return n.quarter(r,{width:"narrow",context:"standalone"});default:return n.quarter(r,{width:"wide",context:"standalone"})}},M:function(e,t,n){var r=e.getUTCMonth();switch(t){case"M":case"MM":return l.default.M(e,t);case"Mo":return n.ordinalNumber(r+1,{unit:"month"});case"MMM":return n.month(r,{width:"abbreviated",context:"formatting"});case"MMMMM":return n.month(r,{width:"narrow",context:"formatting"});default:return n.month(r,{width:"wide",context:"formatting"})}},L:function(e,t,n){var r=e.getUTCMonth();switch(t){case"L":return String(r+1);case"LL":return(0,u.default)(r+1,2);case"Lo":return n.ordinalNumber(r+1,{unit:"month"});case"LLL":return n.month(r,{width:"abbreviated",context:"standalone"});case"LLLLL":return n.month(r,{width:"narrow",context:"standalone"});default:return n.month(r,{width:"wide",context:"standalone"})}},w:function(e,t,n,r){var o=(0,a.default)(e,r);return"wo"===t?n.ordinalNumber(o,{unit:"week"}):(0,u.default)(o,t.length)},I:function(e,t,n){var r=(0,o.default)(e);return"Io"===t?n.ordinalNumber(r,{unit:"week"}):(0,u.default)(r,t.length)},d:function(e,t,n){return"do"===t?n.ordinalNumber(e.getUTCDate(),{unit:"date"}):l.default.d(e,t)},D:function(e,t,n){var o=(0,r.default)(e);return"Do"===t?n.ordinalNumber(o,{unit:"dayOfYear"}):(0,u.default)(o,t.length)},E:function(e,t,n){var r=e.getUTCDay();switch(t){case"E":case"EE":case"EEE":return n.day(r,{width:"abbreviated",context:"formatting"});case"EEEEE":return n.day(r,{width:"narrow",context:"formatting"});case"EEEEEE":return n.day(r,{width:"short",context:"formatting"});default:return n.day(r,{width:"wide",context:"formatting"})}},e:function(e,t,n,r){var o=e.getUTCDay(),i=(o-r.weekStartsOn+8)%7||7;switch(t){case"e":return String(i);case"ee":return(0,u.default)(i,2);case"eo":return n.ordinalNumber(i,{unit:"day"});case"eee":return n.day(o,{width:"abbreviated",context:"formatting"});case"eeeee":return n.day(o,{width:"narrow",context:"formatting"});case"eeeeee":return n.day(o,{width:"short",context:"formatting"});default:return n.day(o,{width:"wide",context:"formatting"})}},c:function(e,t,n,r){var o=e.getUTCDay(),i=(o-r.weekStartsOn+8)%7||7;switch(t){case"c":return String(i);case"cc":return(0,u.default)(i,t.length);case"co":return n.ordinalNumber(i,{unit:"day"});case"ccc":return n.day(o,{width:"abbreviated",context:"standalone"});case"ccccc":return n.day(o,{width:"narrow",context:"standalone"});case"cccccc":return n.day(o,{width:"short",context:"standalone"});default:return n.day(o,{width:"wide",context:"standalone"})}},i:function(e,t,n){var r=e.getUTCDay(),o=0===r?7:r;switch(t){case"i":return String(o);case"ii":return(0,u.default)(o,t.length);case"io":return n.ordinalNumber(o,{unit:"day"});case"iii":return n.day(r,{width:"abbreviated",context:"formatting"});case"iiiii":return n.day(r,{width:"narrow",context:"formatting"});case"iiiiii":return n.day(r,{width:"short",context:"formatting"});default:return n.day(r,{width:"wide",context:"formatting"})}},a:function(e,t,n){var r=e.getUTCHours()/12>=1?"pm":"am";switch(t){case"a":case"aa":return n.dayPeriod(r,{width:"abbreviated",context:"formatting"});case"aaa":return n.dayPeriod(r,{width:"abbreviated",context:"formatting"}).toLowerCase();case"aaaaa":return n.dayPeriod(r,{width:"narrow",context:"formatting"});default:return n.dayPeriod(r,{width:"wide",context:"formatting"})}},b:function(e,t,n){var r,o=e.getUTCHours();switch(r=12===o?d:0===o?f:o/12>
1=1?"pm":"am",t){case"b":case"bb":return n.dayPeriod(r,{width:"abbreviated",context:"formatting"});case"bbb":return n.dayPeriod(r,{width:"abbreviated",context:"formatting"}).toLowerCase();case"bbbbb":return n.dayPeriod(r,{width:"narrow",context:"formatting"});default:return n.dayPeriod(r,{width:"wide",context:"formatting"})}},B:function(e,t,n){var r,o=e.getUTCHours();switch(r=o>=17?m:o>=12?h:o>=4?p:v,t){case"B":case"BB":case"BBB":return n.dayPeriod(r,{width:"abbreviated",context:"formatting"});case"BBBBB":return n.dayPeriod(r,{width:"narrow",context:"formatting"});default:return n.dayPeriod(r,{width:"wide",context:"formatting"})}},h:function(e,t,n){if("ho"===t){var r=e.getUTCHours()%12;return 0===r&&(r=12),n.ordinalNumber(r,{unit:"hour"})}return l.default.h(e,t)},H:function(e,t,n){return"Ho"===t?n.ordinalNumber(e.getUTCHours(),{unit:"hour"}):l.default.H(e,t)},K:function(e,t,n){var r=e.getUTCHours()%12;return"Ko"===t?n.ordinalNumber(r,{unit:"hour"}):(0,u.default)(r,t.length)},k:function(e,t,n){var r=e.getUTCHours();return 0===r&&(r=24),"ko"===t?n.ordinalNumber(r,{unit:"hour"}):(0,u.default)(r,t.length)},m:function(e,t,n){return"mo"===t?n.ordinalNumber(e.getUTCMinutes(),{unit:"minute"}):l.default.m(e,t)},s:function(e,t,n){return"so"===t?n.ordinalNumber(e.getUTCSeconds(),{unit:"second"}):l.default.s(e,t)},S:function(e,t){return l.default.S(e,t)},X:function(e,t,n,r){var o=(r._originalDate||e).getTimezoneOffset();if(0===o)return"Z";switch(t){case"X":return y(o);case"XXXX":case"XX":return b(o);default:return b(o,":")}},x:function(e,t,n,r){var o=(r._originalDate||e).getTimezoneOffset();switch(t){case"x":return y(o);case"xxxx":case"xx":return b(o);default:return b(o,":")}},O:function(e,t,n,r){var o=(r._originalDate||e).getTimezoneOffset();switch(t){case"O":case"OO":case"OOO":return"GMT"+g(o,":");default:return"GMT"+b(o,":")}},z:function(e,t,n,r){var o=(r._originalDate||e).getTimezoneOffset();switch(t){case"z":case"zz":case"zzz":return"GMT"+g(o,":");default:return"GMT"+b(o,":")}},t:function(e,t,n,r){var o=r._originalDate||e,i=Math.floor(o.getTime()/1e3);return(0,u.default)(i,t.length)},T:function(e,t,n,r){var o=(r._originalDate||e).getTime();return(0,u.default)(o,t.length)}};t.default=w,e.exports=t.default},67608:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,o=(r=n(49924))&&r.__esModule?r:{default:r};var i={y:function(e,t){var n=e.getUTCFullYear(),r=n>0?n:1-n;return(0,o.default)("yy"===t?r%100:r,t.length)},M:function(e,t){var n=e.getUTCMonth();return"M"===t?String(n+1):(0,o.default)(n+1,2)},d:function(e,t){return(0,o.default)(e.getUTCDate(),t.length)},a:function(e,t){var n=e.getUTCHours()/12>=1?"pm":"am";switch(t){case"a":case"aa":return n.toUpperCase();case"aaa":return n;case"aaaaa":return n[0];default:return"am"===n?"a.m.":"p.m."}},h:function(e,t){return(0,o.default)(e.getUTCHours()%12||12,t.length)},H:function(e,t){return(0,o.default)(e.getUTCHours(),t.length)},m:function(e,t){return(0,o.default)(e.getUTCMinutes(),t.length)},s:function(e,t){return(0,o.default)(e.getUTCSeconds(),t.length)},S:function(e,t){var n=t.length,r=e.getUTCMilliseconds(),i=Math.floor(r*Math.pow(10,n-3));return(0,o.default)(i,t.length)}};t.default=i,e.exports=t.default},67004:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n=function(e,t){switch(e){case"P":return t.date({width:"short"});case"PP":return t.date({width:"medium"});case"PPP":return t.date({width:"long"});default:return t.date({width:"full"})}},r=function(e,t){switch(e){case"p":return t.time({width:"short"});case"pp":return t.time({width:"medium"});case"ppp":return t.time({width:"long"});default:return t.time({width:"full"})}},o={p:r,P:function(e,t){var o,i=e.match(/(P+)(p+)?/)||[],a=i[1],s=i[2];if(!s)return n(e,t);switch(a){case"P":o=t.dateTime({width:"short"});break;case"PP":o=t.dateTime({width:"medium"});break;case"PPP":o=t.dateTime({width:"long"});break;default:o=t.dateTime({width:"full"})}return o.replace("{{date}}",n(a,t)).replace("{{time}}",r(s,t))}};t.default=o,e.exports=t.default},51599:function(e,t){"use strict";
1Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){var t=new Date(Date.UTC(e.getFullYear(),e.getMonth(),e.getDate(),e.getHours(),e.getMinutes(),e.getSeconds(),e.getMilliseconds()));return t.setUTCFullYear(e.getFullYear()),e.getTime()-t.getTime()},e.exports=t.default},49414:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){(0,o.default)(1,arguments);var t=(0,r.default)(e),n=t.getTime();t.setUTCMonth(0,1),t.setUTCHours(0,0,0,0);var i=t.getTime(),s=n-i;return Math.floor(s/a)+1};var r=i(n(76926)),o=i(n(92579));function i(e){return e&&e.__esModule?e:{default:e}}var a=864e5;e.exports=t.default},17232:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){(0,a.default)(1,arguments);var t=(0,r.default)(e),n=(0,o.default)(t).getTime()-(0,i.default)(t).getTime();return Math.round(n/u)+1};var r=s(n(76926)),o=s(n(85448)),i=s(n(13987)),a=s(n(92579));function s(e){return e&&e.__esModule?e:{default:e}}var u=6048e5;e.exports=t.default},71192:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){(0,o.default)(1,arguments);var t=(0,r.default)(e),n=t.getUTCFullYear(),a=new Date(0);a.setUTCFullYear(n+1,0,4),a.setUTCHours(0,0,0,0);var s=(0,i.default)(a),u=new Date(0);u.setUTCFullYear(n,0,4),u.setUTCHours(0,0,0,0);var l=(0,i.default)(u);return t.getTime()>=s.getTime()?n+1:t.getTime()>=l.getTime()?n:n-1};var r=a(n(76926)),o=a(n(92579)),i=a(n(85448));function a(e){return e&&e.__esModule?e:{default:e}}e.exports=t.default},64638:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){(0,a.default)(1,arguments);var n=(0,r.default)(e),s=(0,o.default)(n,t).getTime()-(0,i.default)(n,t).getTime();return Math.round(s/u)+1};var r=s(n(76926)),o=s(n(25575)),i=s(n(93606)),a=s(n(92579));function s(e){return e&&e.__esModule?e:{default:e}}var u=6048e5;e.exports=t.default},70773:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){var n,u,l,c,f,d,p,h;(0,o.default)(1,arguments);var m=(0,r.default)(e),v=m.getUTCFullYear(),g=(0,s.getDefaultOptions)(),y=(0,a.default)(null!==(n=null!==(u=null!==(l=null!==(c=null===t||void 0===t?void 0:t.firstWeekContainsDate)&&void 0!==c?c:null===t||void 0===t||null===(f=t.locale)||void 0===f||null===(d=f.options)||void 0===d?void 0:d.firstWeekContainsDate)&&void 0!==l?l:g.firstWeekContainsDate)&&void 0!==u?u:null===(p=g.locale)||void 0===p||null===(h=p.options)||void 0===h?void 0:h.firstWeekContainsDate)&&void 0!==n?n:1);if(!(y>=1&&y<=7))throw new RangeError("firstWeekContainsDate must be between 1 and 7 inclusively");var b=new Date(0);b.setUTCFullYear(v+1,0,y),b.setUTCHours(0,0,0,0);var w=(0,i.default)(b,t),x=new Date(0);x.setUTCFullYear(v,0,y),x.setUTCHours(0,0,0,0);var _=(0,i.default)(x,t);return m.getTime()>=w.getTime()?v+1:m.getTime()>=_.getTime()?v:v-1};var r=u(n(76926)),o=u(n(92579)),i=u(n(25575)),a=u(n(18818)),s=n(41574);function u(e){return e&&e.__esModule?e:{default:e}}e.exports=t.default},55598:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isProtectedDayOfYearToken=function(e){return-1!==n.indexOf(e)},t.isProtectedWeekYearToken=function(e){return-1!==r.indexOf(e)},t.throwProtectedError=function(e,t,n){if("YYYY"===e)throw new RangeError("Use `yyyy` instead of `YYYY` (in `".concat(t,"`) for formatting years to the input `").
1concat(n,"`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md"));if("YY"===e)throw new RangeError("Use `yy` instead of `YY` (in `".concat(t,"`) for formatting years to the input `").concat(n,"`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md"));if("D"===e)throw new RangeError("Use `d` instead of `D` (in `".concat(t,"`) for formatting days of the month to the input `").concat(n,"`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md"));if("DD"===e)throw new RangeError("Use `dd` instead of `DD` (in `".concat(t,"`) for formatting days of the month to the input `").concat(n,"`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md"))};var n=["D","DD"],r=["YY","YYYY"]},92579:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){if(t.length<e)throw new TypeError(e+" argument"+(e>1?"s":"")+" required, but only "+t.length+" present")},e.exports=t.default},85448:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){(0,o.default)(1,arguments);var t=1,n=(0,r.default)(e),i=n.getUTCDay(),a=(i<t?7:0)+i-t;return n.setUTCDate(n.getUTCDate()-a),n.setUTCHours(0,0,0,0),n};var r=i(n(76926)),o=i(n(92579));function i(e){return e&&e.__esModule?e:{default:e}}e.exports=t.default},13987:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){(0,i.default)(1,arguments);var t=(0,r.default)(e),n=new Date(0);n.setUTCFullYear(t,0,4),n.setUTCHours(0,0,0,0);var a=(0,o.default)(n);return a};var r=a(n(71192)),o=a(n(85448)),i=a(n(92579));function a(e){return e&&e.__esModule?e:{default:e}}e.exports=t.default},25575:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){var n,s,u,l,c,f,d,p;(0,o.default)(1,arguments);var h=(0,a.getDefaultOptions)(),m=(0,i.default)(null!==(n=null!==(s=null!==(u=null!==(l=null===t||void 0===t?void 0:t.weekStartsOn)&&void 0!==l?l:null===t||void 0===t||null===(c=t.locale)||void 0===c||null===(f=c.options)||void 0===f?void 0:f.weekStartsOn)&&void 0!==u?u:h.weekStartsOn)&&void 0!==s?s:null===(d=h.locale)||void 0===d||null===(p=d.options)||void 0===p?void 0:p.weekStartsOn)&&void 0!==n?n:0);if(!(m>=0&&m<=6))throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");var v=(0,r.default)(e),g=v.getUTCDay(),y=(g<m?7:0)+g-m;return v.setUTCDate(v.getUTCDate()-y),v.setUTCHours(0,0,0,0),v};var r=s(n(76926)),o=s(n(92579)),i=s(n(18818)),a=n(41574);function s(e){return e&&e.__esModule?e:{default:e}}e.exports=t.default},93606:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){var n,u,l,c,f,d,p,h;(0,o.default)(1,arguments);var m=(0,s.getDefaultOptions)(),v=(0,a.default)(null!==(n=null!==(u=null!==(l=null!==(c=null===t||void 0===t?void 0:t.firstWeekContainsDate)&&void 0!==c?c:null===t||void 0===t||null===(f=t.locale)||void 0===f||null===(d=f.options)||void 0===d?void 0:d.firstWeekContainsDate)&&void 0!==l?l:m.firstWeekContainsDate)&&void 0!==u?u:null===(p=m.locale)||void 0===p||null===(h=p.options)||void 0===h?void 0:h.firstWeekContainsDate)&&void 0!==n?n:1),g=(0,r.default)(e,t),y=new Date(0);y.setUTCFullYear(g,0,v),y.setUTCHours(0,0,0,0);var b=(0,i.default)(y,t);return b};var r=u(n(70773)),o=u(n(92579)),i=u(n(25575)),a=u(n(18818)),s=n(41574);function u(e){return e&&e.__esModule?e:{default:e}}e.exports=t.default},18818:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){if(null===e||!0===e||!1===e)return NaN;var t=Number(e);if(isNaN(t))return t;return t<0?Math.ceil(t):Math.floor(t)},e.exports=t.default},79016:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){(0,i.default)(2,arguments);var n=(0,o.default)(e).getTime(),a=(0,r.default)(t);return new Date(n+a)};var r=a(n(18818)),o=a(n(76926)),i=a(n(92579));function a(e){return e&&e.__esModule?e:{default:e}}e.exports=t.default},61470:function(e,t,n){"use strict";
1Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t,n){var h,g,y,x,_,j,S,E,O,T,N,C,k,A,P,z,M,U;(0,f.default)(2,arguments);var I=String(t),D=(0,d.getDefaultOptions)(),R=null!==(h=null!==(g=null===n||void 0===n?void 0:n.locale)&&void 0!==g?g:D.locale)&&void 0!==h?h:p.default,L=(0,c.default)(null!==(y=null!==(x=null!==(_=null!==(j=null===n||void 0===n?void 0:n.firstWeekContainsDate)&&void 0!==j?j:null===n||void 0===n||null===(S=n.locale)||void 0===S||null===(E=S.options)||void 0===E?void 0:E.firstWeekContainsDate)&&void 0!==_?_:D.firstWeekContainsDate)&&void 0!==x?x:null===(O=D.locale)||void 0===O||null===(T=O.options)||void 0===T?void 0:T.firstWeekContainsDate)&&void 0!==y?y:1);if(!(L>=1&&L<=7))throw new RangeError("firstWeekContainsDate must be between 1 and 7 inclusively");var F=(0,c.default)(null!==(N=null!==(C=null!==(k=null!==(A=null===n||void 0===n?void 0:n.weekStartsOn)&&void 0!==A?A:null===n||void 0===n||null===(P=n.locale)||void 0===P||null===(z=P.options)||void 0===z?void 0:z.weekStartsOn)&&void 0!==k?k:D.weekStartsOn)&&void 0!==C?C:null===(M=D.locale)||void 0===M||null===(U=M.options)||void 0===U?void 0:U.weekStartsOn)&&void 0!==N?N:0);if(!(F>=0&&F<=6))throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");if(!R.localize)throw new RangeError("locale must contain localize property");if(!R.formatLong)throw new RangeError("locale must contain formatLong property");var B=(0,i.default)(e);if(!(0,r.default)(B))throw new RangeError("Invalid time value");var W=(0,u.default)(B),q=(0,o.default)(B,W),Z={firstWeekContainsDate:L,weekStartsOn:F,locale:R,_originalDate:B},H=I.match(v).map((function(e){var t=e[0];return"p"===t||"P"===t?(0,s.default[t])(e,R.formatLong):e})).join("").match(m).map((function(r){if("''"===r)return"'";var o=r[0];if("'"===o)return w(r);var i=a.default[o];if(i)return null!==n&&void 0!==n&&n.useAdditionalWeekYearTokens||!(0,l.isProtectedWeekYearToken)(r)||(0,l.throwProtectedError)(r,t,String(e)),null!==n&&void 0!==n&&n.useAdditionalDayOfYearTokens||!(0,l.isProtectedDayOfYearToken)(r)||(0,l.throwProtectedError)(r,t,String(e)),i(q,r,R.localize,Z);if(o.match(b))throw new RangeError("Format string contains an unescaped latin alphabet character `"+o+"`");return r})).join("");return H};var r=h(n(88587)),o=h(n(20957)),i=h(n(76926)),a=h(n(49020)),s=h(n(67004)),u=h(n(51599)),l=n(55598),c=h(n(18818)),f=h(n(92579)),d=n(41574),p=h(n(98661));function h(e){return e&&e.__esModule?e:{default:e}}var m=/[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g,v=/P+p+|P+|p+|''|'(''|[^'])+('|$)|./g,g=/^'([^]*?)'?$/,y=/''/g,b=/[a-zA-Z]/;function w(e){var t=e.match(g);return t?t[1].replace(y,"'"):e}e.exports=t.default},9016:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return(0,o.default)(1,arguments),e instanceof Date||"object"===i(e)&&"[object Date]"===Object.prototype.toString.call(e)};var r,o=(r=n(92579))&&r.__esModule?r:{default:r};function i(e){return i="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},i(e)}e.exports=t.default},88587:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){if((0,i.default)(1,arguments),!(0,r.default)(e)&&"number"!==typeof e)return!1;var t=(0,o.default)(e);return!isNaN(Number(t))};var r=a(n(9016)),o=a(n(76926)),i=a(n(92579));function a(e){return e&&e.__esModule?e:{default:e}}e.exports=t.default},8866:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=t.width?String(t.width):e.defaultWidth,r=e.formats[n]||e.formats[e.defaultWidth];return r}},e.exports=t.default},89524:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return function(t,n){var r;if("formatting"===(null!==n&&void 0!==n&&n.context?String(n.context):"standalone")&&e.formattingValues){var o=e.defaultFormattingWidth||e.defaultWidth,i=null!==n&&void 0!==n&&n.width?String(n.width):o;r=e.formattingValues[i]||e.formattingValues[o]}else{var a=e.defaultWidth,s=null!==n&&void 0!==n&&n.width?String(n.width):e.defaultWidth;r=e.values[s]||e.values[a]}return r[e.argumentCallback?e.argumentCallback(t):t]}},e.exports=t.default},41354:function(e,t){"use strict";function n(e,t){for(var n in e)if(e.hasOwnProperty(n)&&t(e[n]))return n}function r(e,t){for(var n=0;n<e.length;n++)if(t(e[n]))return n}
1Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return function(t){var o=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},i=o.width,a=i&&e.matchPatterns[i]||e.matchPatterns[e.defaultMatchWidth],s=t.match(a);if(!s)return null;var u,l=s[0],c=i&&e.parsePatterns[i]||e.parsePatterns[e.defaultParseWidth],f=Array.isArray(c)?r(c,(function(e){return e.test(l)})):n(c,(function(e){return e.test(l)}));u=e.valueCallback?e.valueCallback(f):f,u=o.valueCallback?o.valueCallback(u):u;var d=t.slice(l.length);return{value:u,rest:d}}},e.exports=t.default},98932:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return function(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=t.match(e.matchPattern);if(!r)return null;var o=r[0],i=t.match(e.parsePattern);if(!i)return null;var a=e.valueCallback?e.valueCallback(i[0]):i[0];a=n.valueCallback?n.valueCallback(a):a;var s=t.slice(o.length);return{value:a,rest:s}}},e.exports=t.default},63858:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n={lessThanXSeconds:{one:"less than a second",other:"less than {{count}} seconds"},xSeconds:{one:"1 second",other:"{{count}} seconds"},halfAMinute:"half a minute",lessThanXMinutes:{one:"less than a minute",other:"less than {{count}} minutes"},xMinutes:{one:"1 minute",other:"{{count}} minutes"},aboutXHours:{one:"about 1 hour",other:"about {{count}} hours"},xHours:{one:"1 hour",other:"{{count}} hours"},xDays:{one:"1 day",other:"{{count}} days"},aboutXWeeks:{one:"about 1 week",other:"about {{count}} weeks"},xWeeks:{one:"1 week",other:"{{count}} weeks"},aboutXMonths:{one:"about 1 month",other:"about {{count}} months"},xMonths:{one:"1 month",other:"{{count}} months"},aboutXYears:{one:"about 1 year",other:"about {{count}} years"},xYears:{one:"1 year",other:"{{count}} years"},overXYears:{one:"over 1 year",other:"over {{count}} years"},almostXYears:{one:"almost 1 year",other:"almost {{count}} years"}},r=function(e,t,r){var o,i=n[e];return o="string"===typeof i?i:1===t?i.one:i.other.replace("{{count}}",t.toString()),null!==r&&void 0!==r&&r.addSuffix?r.comparison&&r.comparison>0?"in "+o:o+" ago":o};t.default=r,e.exports=t.default},33413:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,o=(r=n(8866))&&r.__esModule?r:{default:r};var i={date:(0,o.default)({formats:{full:"EEEE, MMMM do, y",long:"MMMM do, y",medium:"MMM d, y",short:"MM/dd/yyyy"},defaultWidth:"full"}),time:(0,o.default)({formats:{full:"h:mm:ss a zzzz",long:"h:mm:ss a z",medium:"h:mm:ss a",short:"h:mm a"},defaultWidth:"full"}),dateTime:(0,o.default)({formats:{full:"{{date}} 'at' {{time}}",long:"{{date}} 'at' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},defaultWidth:"full"})};t.default=i,e.exports=t.default},63511:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n={lastWeek:"'last' eeee 'at' p",yesterday:"'yesterday at' p",today:"'today at' p",tomorrow:"'tomorrow at' p",nextWeek:"eeee 'at' p",other:"P"},r=function(e,t,r,o){return n[e]};t.default=r,e.exports=t.default},16436:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,o=(r=n(89524))&&r.__esModule?r:{default:r};var i={ordinalNumber:function(e,t){var n=Number(e),r=n%100;if(r>20||r<10)switch(r%10){case 1:return n+"st";case 2:return n+"nd";case 3:return n+"rd"}return n+"th"},era:(0,o.default)({values:{narrow:["B","A"],abbreviated:["BC","AD"],wide:["Before Christ","Anno Domini"]},defaultWidth:"wide"}),quarter:(0,o.default)({values:{narrow:["1","2","3","4"],abbreviated:["Q1","Q2","Q3","Q4"],wide:["1st quarter","2nd quarter","3rd quarter","4th quarter"]},defaultWidth:"wide",argumentCallback:function(e){return e-1}}),month:(0,o.default)({values:{narrow:["J","F","M","A","M","J","J","A","S","O","N","D"],abbreviated:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],wide:["January","February","March","April","May","June","July","August","September","October","November","December"]},defaultWidth:"wide"}),day:(0,o.default)({values:{narrow:["S","M","T","W","T","F","S"],short:["Su","Mo","Tu","We","Th","Fr","Sa"],abbreviated:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],wide:["Sunday","Monday","Tuesday","Wednesday","Thursday","Frid
1ay","Saturday"]},defaultWidth:"wide"}),dayPeriod:(0,o.default)({values:{narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"}},defaultWidth:"wide",formattingValues:{narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"}},defaultFormattingWidth:"wide"})};t.default=i,e.exports=t.default},29657:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=o(n(41354));function o(e){return e&&e.__esModule?e:{default:e}}var i={ordinalNumber:(0,o(n(98932)).default)({matchPattern:/^(\d+)(th|st|nd|rd)?/i,parsePattern:/\d+/i,valueCallback:function(e){return parseInt(e,10)}}),era:(0,r.default)({matchPatterns:{narrow:/^(b|a)/i,abbreviated:/^(b\.?\s?c\.?|b\.?\s?c\.?\s?e\.?|a\.?\s?d\.?|c\.?\s?e\.?)/i,wide:/^(before christ|before common era|anno domini|common era)/i},defaultMatchWidth:"wide",parsePatterns:{any:[/^b/i,/^(a|c)/i]},defaultParseWidth:"any"}),quarter:(0,r.default)({matchPatterns:{narrow:/^[1234]/i,abbreviated:/^q[1234]/i,wide:/^[1234](th|st|nd|rd)? quarter/i},defaultMatchWidth:"wide",parsePatterns:{any:[/1/i,/2/i,/3/i,/4/i]},defaultParseWidth:"any",valueCallback:function(e){return e+1}}),month:(0,r.default)({matchPatterns:{narrow:/^[jfmasond]/i,abbreviated:/^(jan|feb|mar|apr|may|jun|jul|aug|sep|oct|nov|dec)/i,wide:/^(january|february|march|april|may|june|july|august|september|october|november|december)/i},defaultMatchWidth:"wide",parsePatterns:{narrow:[/^j/i,/^f/i,/^m/i,/^a/i,/^m/i,/^j/i,/^j/i,/^a/i,/^s/i,/^o/i,/^n/i,/^d/i],any:[/^ja/i,/^f/i,/^mar/i,/^ap/i,/^may/i,/^jun/i,/^jul/i,/^au/i,/^s/i,/^o/i,/^n/i,/^d/i]},defaultParseWidth:"any"}),day:(0,r.default)({matchPatterns:{narrow:/^[smtwf]/i,short:/^(su|mo|tu|we|th|fr|sa)/i,abbreviated:/^(sun|mon|tue|wed|thu|fri|sat)/i,wide:/^(sunday|monday|tuesday|wednesday|thursday|friday|saturday)/i},defaultMatchWidth:"wide",parsePatterns:{narrow:[/^s/i,/^m/i,/^t/i,/^w/i,/^t/i,/^f/i,/^s/i],any:[/^su/i,/^m/i,/^tu/i,/^w/i,/^th/i,/^f/i,/^sa/i]},defaultParseWidth:"any"}),dayPeriod:(0,r.default)({matchPatterns:{narrow:/^(a|p|mi|n|(in the|at) (morning|afternoon|evening|night))/i,any:/^([ap]\.?\s?m\.?|midnight|noon|(in the|at) (morning|afternoon|evening|night))/i},defaultMatchWidth:"any",parsePatterns:{any:{am:/^a/i,pm:/^p/i,midnight:/^mi/i,noon:/^no/i,morning:/morning/i,afternoon:/afternoon/i,evening:/evening/i,night:/night/i}},defaultParseWidth:"any"})};t.default=i,e.exports=t.default},7076:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=u(n(63858)),o=u(n(33413)),i=u(n(63511)),a=u(n(16436)),s=u(n(29657));function u(e){return e&&e.__esModule?e:{default:e}}var l={code:"en-US",formatDistance:r.default,formatLong:o.default,formatRelative:i.default,localize:a.default,match:s.default,options:{weekStartsOn:0,firstWeekContainsDate:1}};t.default=l,e.exports=t.default},20957:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){(0,o.default)(2,arguments);var n=(0,i.default)(t);return(0,r.default)(e,-n)};var r=a(n(79016)),o=a(n(92579)),i=a(n(18818));function a(e){return e&&e.__esModule?e:{default:e}}e.exports=t.default},76926:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){(0,o.default)(1,arguments);var t=Object.prototype.toString.call(e);return e instanceof Date||"object"===i(e)&&"[object Date]"===t?new Date(e.getTime()):"number"===typeof e||"[object Number]"===t?new Date(e):("string"!==typeof e&&"[object String]"!==t||"undefined"===typeof console||(console.warn("Starting with v2.0.0-beta.
11 date-fns doesn't accept strings as date arguments. Please use `parseISO` to parse strings. See: https://github.com/date-fns/date-fns/blob/master/docs/upgradeGuide.md#string-arguments"),console.warn((new Error).stack)),new Date(NaN))};var r,o=(r=n(92579))&&r.__esModule?r:{default:r};function i(e){return i="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},i(e)}e.exports=t.default},22442:function(e){e.exports="object"==typeof self?self.FormData:window.FormData},79976:function(e,t){t.read=function(e,t,n,r,o){var i,a,s=8*o-r-1,u=(1<<s)-1,l=u>>1,c=-7,f=n?o-1:0,d=n?-1:1,p=e[t+f];for(f+=d,i=p&(1<<-c)-1,p>>=-c,c+=s;c>0;i=256*i+e[t+f],f+=d,c-=8);for(a=i&(1<<-c)-1,i>>=-c,c+=r;c>0;a=256*a+e[t+f],f+=d,c-=8);if(0===i)i=1-l;else{if(i===u)return a?NaN:1/0*(p?-1:1);a+=Math.pow(2,r),i-=l}return(p?-1:1)*a*Math.pow(2,i-r)},t.write=function(e,t,n,r,o,i){var a,s,u,l=8*i-o-1,c=(1<<l)-1,f=c>>1,d=23===o?Math.pow(2,-24)-Math.pow(2,-77):0,p=r?0:i-1,h=r?1:-1,m=t<0||0===t&&1/t<0?1:0;for(t=Math.abs(t),isNaN(t)||t===1/0?(s=isNaN(t)?1:0,a=c):(a=Math.floor(Math.log(t)/Math.LN2),t*(u=Math.pow(2,-a))<1&&(a--,u*=2),(t+=a+f>=1?d/u:d*Math.pow(2,1-f))*u>=2&&(a++,u/=2),a+f>=c?(s=0,a=c):a+f>=1?(s=(t*u-1)*Math.pow(2,o),a+=f):(s=t*Math.pow(2,f-1)*Math.pow(2,o),a=0));o>=8;e[n+p]=255&s,p+=h,s/=256,o-=8);for(a=a<<o|s,l+=o;l>0;e[n+p]=255&a,p+=h,a/=256,l-=8);e[n+p-h]|=128*m}},77082:function(e){"function"===typeof Object.create?e.exports=function(e,t){t&&(e.super_=t,e.prototype=Object.create(t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}))}:e.exports=function(e,t){if(t){e.super_=t;var n=function(){};n.prototype=t.prototype,e.prototype=new n,e.prototype.constructor=e}}},36101:function(e,t,n){"use strict";var r=n(30333),o=n(71102),i=n(60501),a=Object.prototype.toString;e.exports=function(e){return t=e,"[object Date]"===a.call(t)?e:function(e){return"[object Number]"===a.call(e)}(e)?new Date((n=e)<315576e5?1e3*n:n):r.is(e)?r.parse(e):o.is(e)?o.parse(e):i.is(e)?i.parse(e):new Date(e);var t,n}},71102:function(e,t){"use strict";var n=/\d{13}/;t.is=function(e){return n.test(e)},t.parse=function(e){return e=parseInt(e,10),new Date(e)}},60501:function(e,t){"use strict";var n=/\d{10}/;t.is=function(e){return n.test(e)},t.parse=function(e){var t=1e3*parseInt(e,10);return new Date(t)}},46834:function(e,t,n){"use strict";n.d(t,{Z:function(){return l}});var r=n(56168),o=n(62044),i=/<(\w+)>(.*?)<\/\1>|<(\w+)\/>/,a=/(?:\r\n|\r|\n)/g;function s(e){if(!e.length)return[];var t=e.slice(0,4),n=t[0],r=t[1],o=t[2];return[[n||o,r||"",t[3]]].concat(s(e.slice(4,e.length)))}function u(e,t){void 0===t&&(t=[]);var n=e.replace(a,"").split(i);if(1===n.length)return e;var o=[],l=n.shift();return l&&o.push(l),s(n).forEach((function(e,n){var i=e[0],a=e[1],s=e[2],l=t[i]||r.createElement(r.Fragment,null);o.push((0,r.cloneElement)(l,{key:n},a?u(a,t):l.props.children)),s&&o.push(s)})),o}function l(e){var t=e.i18nKey,n=e.values,i=e.components,a=e.fallback,s=e.defaultTrans,l=e.ns,c=(0,o.Z)(l),f=c.t,d=c.lang;return(0,r.useMemo)((function(){var e=f(t,n,{fallback:a,default:s});return i&&0!==i.length?u(e,i):e}),[t,n,i,d])}},86632:function(e,t,n){"use strict";var r=n(56168);t.Z=(0,r.createContext)({t:function(e){return Array.isArray(e)?e[0]:e},lang:""})},26553:function(e,t,n){"use strict";n.d(t,{Z:function(){return s}});var r=n(75332),o=n.n(r),i=function(e,t,n,r){return new(n||(n=Promise))((function(o,i){function a(e){try{u(r.next(e))}catch(t){i(t)}}function s(e){try{u(r.throw(e))}catch(t){i(t)}}function u(e){var t;e.done?o(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(a,s)}u((r=r.apply(e,t||[])).next())}))},a=function(e,t){var n,r,o,i,a={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return i={next:s(0),throw:s(1),return:s(2)},"function"===typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function s(i){return function(s){return function(i){if(n)throw new TypeError("Generator is already executing.");for(;a;)try{if(n=1,r&&(o=2&i[0]?r.return:i[0]?r.throw||((o=r.return)&&o.call(r),0):r.next)&&!(o=o.call(r,i[1])).done)return o;switch(r=0,o&&(i=[2&i[0],o.value]),i[0]){case 0:case 1:o=i;break;case 4:return a.label++,{value:i[1],done:!1};case 5:a.label++,r=i[1],i=[0];continue;case 7:i=a.ops.pop(),a.trys.pop();continue;default:if(!(o=(o=a.trys).length>0&&o[o.length-1])&&(6===i[0]||2===i[0])){a=0;continue}if(3===i[0]&&(!o||i[1]>o[0]&&i[1]<o[3])){a.label=i[1];break}if(6===i[0]&&a.label<o[1]){a.label=o[1],o=i;break}if(o&&a.label<o[2]){a.label=o[2],a.ops.push(i);break}o[2]&&a.ops.pop(),a.trys.pop();continue}i=t.call(e,a)}catch(s){i=[6,s],r=0}finally{n=o=0}if(5&i[0])throw i[1];return{value:i[0]?i[1]:void 0,done:!0}}([i,s])}}};function s(e,t){return void 0===t&&(t=!0),i(this,void 0,void 0,(function(){return a(this,(function(n){switch(n.label){case 0:return[4,o().push({pathname:o().pathname,query:o().query},o().asPath,{locale:e,scroll:t})];case 1:return[2,n.sent()]}}))}))}},62044:function(e,t,n){"use strict";n.d(t,{Z:function(){return u}});var r=n(56168),o=function(){return o=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},o.apply(this,arguments)};function i(e,t){if("string"!==typeof t)return e;return function(n,r,i){return e(n,r,o({ns:t},i))}}var a=n(86632),s=function(){return s=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},s.apply(this,arguments)};function u(e){var t=(0,r.useContext)(a.Z);return(0,r.useMemo)((function(){return s(s({},t),{t:i(t.t,e)})}),[t,e])}},83244:function(e){"use strict";var t=self.fetch.bind(self);e.exports=t,e.exports.default=e.exports},1984:function(e,t,n){e.exports=n(78590)},80241:function(e,t,n){e.exports=n(39224)},75657:function(e,t,n){e.exports=n(31895)},75332:function(e,t,n){e.exports=n(25948)},78703:function(e,t,n){e.exports=n(40846)},20247:function(e){function t(e){return function(t,n,r,i){var a,s=i&&function(e){return"function"===typeof e}
1(i.normalizer)?i.normalizer:o;n=s(n);for(var u=!1;!u;)l();function l(){for(a in t){var e=s(a);if(0===n.indexOf(e)){var r=n.substr(e.length);if("."===r.charAt(0)||0===r.length){n=r.substr(1);var o=t[a];return null==o?void(u=!0):n.length?void(t=o):void(u=!0)}}}a=void 0,u=!0}if(a)return null==t?t:e(t,a,r)}}function n(e,t){return e.hasOwnProperty(t)&&delete e[t],e}function r(e,t,n){return e.hasOwnProperty(t)&&(e[t]=n),e}function o(e){return e.replace(/[^a-zA-Z0-9\.]+/g,"").toLowerCase()}e.exports=t((function(e,t){if(e.hasOwnProperty(t))return e[t]})),e.exports.find=e.exports,e.exports.replace=function(e,n,o,i){return t(r).call(this,e,n,o,i),e},e.exports.del=function(e,r,o){return t(n).call(this,e,r,null,o),e}},4444:function(e){var t,n,r=e.exports={};function o(){throw new Error("setTimeout has not been defined")}function i(){throw new Error("clearTimeout has not been defined")}function a(e){if(t===setTimeout)return setTimeout(e,0);if((t===o||!t)&&setTimeout)return t=setTimeout,setTimeout(e,0);try{return t(e,0)}catch(n){try{return t.call(null,e,0)}catch(n){return t.call(this,e,0)}}}!function(){try{t="function"===typeof setTimeout?setTimeout:o}catch(e){t=o}try{n="function"===typeof clearTimeout?clearTimeout:i}catch(e){n=i}}();var s,u=[],l=!1,c=-1;function f(){l&&s&&(l=!1,s.length?u=s.concat(u):c=-1,u.length&&d())}function d(){if(!l){var e=a(f);l=!0;for(var t=u.length;t;){for(s=u,u=[];++c<t;)s&&s[c].run();c=-1,t=u.length}s=null,l=!1,function(e){if(n===clearTimeout)return clearTimeout(e);if((n===i||!n)&&clearTimeout)return n=clearTimeout,clearTimeout(e);try{n(e)}catch(t){try{return n.call(null,e)}catch(t){return n.call(this,e)}}}(e)}}function p(e,t){this.fun=e,this.array=t}function h(){}r.nextTick=function(e){var t=new Array(arguments.length-1);if(arguments.length>1)for(var n=1;n<arguments.length;n++)t[n-1]=arguments[n];u.push(new p(e,t)),1!==u.length||l||a(d)},p.prototype.run=function(){this.fun.apply(null,this.array)},r.title="browser",r.browser=!0,r.env={},r.argv=[],r.version="",r.versions={},r.on=h,r.addListener=h,r.once=h,r.off=h,r.removeListener=h,r.removeAllListeners=h,r.emit=h,r.prependListener=h,r.prependOnceListener=h,r.listeners=function(e){return[]},r.binding=function(e){throw new Error("process.binding is not supported")},r.cwd=function(){return"/"},r.chdir=function(e){throw new Error("process.chdir is not supported")},r.umask=function(){return 0}},63171:function(e,t,n){"use strict";var r=n(56454);function o(){}function i(){}i.resetWarningCache=o,e.exports=function(){function e(e,t,n,o,i,a){if(a!==r){var s=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw s.name="Invariant Violation",s}}function t(){return e}e.isRequired=e;var n={array:e,bigint:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:i,resetWarningCache:o};return n.PropTypes=n,n}},50862:function(e,t,n){e.exports=n(63171)()},56454:function(e){"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},72131:function(e){"use strict";function t(e){try{return JSON.stringify(e)}catch(t){return'"[Circular]"'}}e.exports=function(e,n,r){var o=r&&r.stringify||t;if("object"===typeof e&&null!==e){var i=n.length+1;if(1===i)return e;var a=new Array(i);a[0]=o(e);for(var s=1;s<i;s++)a[s]=o(n[s]);return a.join(" ")}if("string"!==typeof e)return e;var u=n.length;if(0===u)return e;for(var l="",c=0,f=-1,d=e&&e.length||0,p=0;p<d;){if(37===e.charCodeAt(p)&&p+1<d){switch(f=f>-1?f:0,e.charCodeAt(p+1)){case 100:case 102:if(c>=u)break;if(null==n[c])break;f<p&&(l+=e.slice(f,p)),l+=Number(n[c]),f=p+2,p++;break;case 105:if(c>=u)break;if(null==n[c])break;f<p&&(l+=e.slice(f,p)),l+=Math.floor(Number(n[c])),f=p+2,p++;break;case 79:case 111:case 106:if(c>=u)break;if(void 0===n[c])break;f<p&&(l+=e.slice(f,p));var h=typeof n[c];if("string"===h){l+="'"+n[c]+"'",f=p+2,p++;break}if("function"===h){l+=n[c].name||"<anonymous>",f=p+2,p++;break}l+=o(n[c]),f=p+2,p++;break;case 115:if(c>=u)break;f<p&&(l+=e.slice(f,p)),l+=String(n[c]),f=p+2,p++;break;case 37:f<p&&(l+=e.slice(f,p)),l+="%",f=p+2,p++,c--}++c}++p}if(-1===f)return e;f<d&&(l+=e.slice(f));return l}},34688:function(e){var t="undefined"!==typeof Element,n="function"===typeof Map,r="function"===typeof Set,o="function"===typeof ArrayBuffer&&!!ArrayBuffer.isView;function i(e,a){if(e===a)return!0;
1if(e&&a&&"object"==typeof e&&"object"==typeof a){if(e.constructor!==a.constructor)return!1;var s,u,l,c;if(Array.isArray(e)){if((s=e.length)!=a.length)return!1;for(u=s;0!==u--;)if(!i(e[u],a[u]))return!1;return!0}if(n&&e instanceof Map&&a instanceof Map){if(e.size!==a.size)return!1;for(c=e.entries();!(u=c.next()).done;)if(!a.has(u.value[0]))return!1;for(c=e.entries();!(u=c.next()).done;)if(!i(u.value[1],a.get(u.value[0])))return!1;return!0}if(r&&e instanceof Set&&a instanceof Set){if(e.size!==a.size)return!1;for(c=e.entries();!(u=c.next()).done;)if(!a.has(u.value[0]))return!1;return!0}if(o&&ArrayBuffer.isView(e)&&ArrayBuffer.isView(a)){if((s=e.length)!=a.length)return!1;for(u=s;0!==u--;)if(e[u]!==a[u])return!1;return!0}if(e.constructor===RegExp)return e.source===a.source&&e.flags===a.flags;if(e.valueOf!==Object.prototype.valueOf)return e.valueOf()===a.valueOf();if(e.toString!==Object.prototype.toString)return e.toString()===a.toString();if((s=(l=Object.keys(e)).length)!==Object.keys(a).length)return!1;for(u=s;0!==u--;)if(!Object.prototype.hasOwnProperty.call(a,l[u]))return!1;if(t&&e instanceof Element)return!1;for(u=s;0!==u--;)if(("_owner"!==l[u]&&"__v"!==l[u]&&"__o"!==l[u]||!e.$$typeof)&&!i(e[l[u]],a[l[u]]))return!1;return!0}return e!==e&&a!==a}e.exports=function(e,t){try{return i(e,t)}catch(n){if((n.message||"").match(/stack|recursion/i))return console.warn("react-fast-compare cannot handle circular refs"),!1;throw n}}},6329:function(e){e.exports=function(e){"use strict";var t=["0","1","2","3","4","5","6","7","8","9","a","b","c","d","e","f"];function n(e,t){var n=e[0],r=e[1],o=e[2],i=e[3];r=((r+=((o=((o+=((i=((i+=((n=((n+=(r&o|~r&i)+t[0]-680876936|0)<<7|n>>>25)+r|0)&r|~n&o)+t[1]-389564586|0)<<12|i>>>20)+n|0)&n|~i&r)+t[2]+606105819|0)<<17|o>>>15)+i|0)&i|~o&n)+t[3]-1044525330|0)<<22|r>>>10)+o|0,r=((r+=((o=((o+=((i=((i+=((n=((n+=(r&o|~r&i)+t[4]-176418897|0)<<7|n>>>25)+r|0)&r|~n&o)+t[5]+1200080426|0)<<12|i>>>20)+n|0)&n|~i&r)+t[6]-1473231341|0)<<17|o>>>15)+i|0)&i|~o&n)+t[7]-45705983|0)<<22|r>>>10)+o|0,r=((r+=((o=((o+=((i=((i+=((n=((n+=(r&o|~r&i)+t[8]+1770035416|0)<<7|n>>>25)+r|0)&r|~n&o)+t[9]-1958414417|0)<<12|i>>>20)+n|0)&n|~i&r)+t[10]-42063|0)<<17|o>>>15)+i|0)&i|~o&n)+t[11]-1990404162|0)<<22|r>>>10)+o|0,r=((r+=((o=((o+=((i=((i+=((n=((n+=(r&o|~r&i)+t[12]+1804603682|0)<<7|n>>>25)+r|0)&r|~n&o)+t[13]-40341101|0)<<12|i>>>20)+n|0)&n|~i&r)+t[14]-1502002290|0)<<17|o>>>15)+i|0)&i|~o&n)+t[15]+1236535329|0)<<22|r>>>10)+o|0,r=((r+=((o=((o+=((i=((i+=((n=((n+=(r&i|o&~i)+t[1]-165796510|0)<<5|n>>>27)+r|0)&o|r&~o)+t[6]-1069501632|0)<<9|i>>>23)+n|0)&r|n&~r)+t[11]+643717713|0)<<14|o>>>18)+i|0)&n|i&~n)+t[0]-373897302|0)<<20|r>>>12)+o|0,r=((r+=((o=((o+=((i=((i+=((n=((n+=(r&i|o&~i)+t[5]-701558691|0)<<5|n>>>27)+r|0)&o|r&~o)+t[10]+38016083|0)<<9|i>>>23)+n|0)&r|n&~r)+t[15]-660478335|0)<<14|o>>>18)+i|0)&n|i&~n)+t[4]-405537848|0)<<20|r>>>12)+o|0,r=((r+=((o=((o+=((i=((i+=((n=((n+=(r&i|o&~i)+t[9]+568446438|0)<<5|n>>>27)+r|0)&o|r&~o)+t[14]-1019803690|0)<<9|i>>>23)+n|0)&r|n&~r)+t[3]-187363961|0)<<14|o>>>18)+i|0)&n|i&~n)+t[8]+1163531501|0)<<20|r>>>12)+o|0,r=((r+=((o=((o+=((i=((i+=((n=((n+=(r&i|o&~i)+t[13]-1444681467|0)<<5|n>>>27)+r|0)&o|r&~o)+t[2]-51403784|0)<<9|i>>>23)+n|0)&r|n&~r)+t[7]+1735328473|0)<<14|o>>>18)+i|0)&n|i&~n)+t[12]-1926607734|0)<<20|r>>>12)+o|0,r=((r+=((o=((o+=((i=((i+=((n=((n+=(r^o^i)+t[5]-378558|0)<<4|n>>>28)+r|0)^r^o)+t[8]-2022574463|0)<<11|i>>>21)+n|0)^n^r)+t[11]+1839030562|0)<<16|o>>>16)+i|0)^i^n)+t[14]-35309556|0)<<23|r>>>9)+o|0,r=((r+=((o=((o+=((i=((i+=((n=((n+=(r^o^i)+t[1]-1530992060|0)<<4|n>>>28)+r|0)^r^o)+t[4]+1272893353|0)<<11|i>>>21)+n|0)^n^r)+t[7]-155497632|0)<<16|o>>>16)+i|0)^i^n)+t[10]-1094730640|0)<<23|r>>>9)+o|0,r=((r+=((o=((o+=((i=((i+=((n=((n+=(r^o^i)+t[13]+681279174|0)<<4|n>>>28)+r|0)^r^o)+t[0]-358537222|0)<<11|i>>>21)+n|0)^n^r)+t[3]-722521979|0)<<16|o>>>16)+i|0)^i^n)+t[6]+76029189|0)<<23|r>>>9)+o|0,r=((r+=((o=((o+=((i=((i+=((n=((n+=(r^o^i)+t[9]-640364487|0)<<4|n>>>28)+r|0)^r^o)+t[12]-421815835|0)<<11|i>>>21)+n|0)^n^r)+t[15]+530742520|0)<<16|o>>>16)+i|0)^i^n)+t[2]-995338651|0)<<23|r>>>9)+o|0,r=((r+=((i=((i+=(r^((n=((n+=(o^(r|~i))+t[0]-198630844|0)<<6|n>>>26)+r|0)|~o))+t[7]+1126891415|0)<<10|i>>>22)+n|0)^((o=((o+=(n^(i|~r))+t[14]-1416354905|0)<<15|o>>>17)+i|0)|~n))+t[5]-57434055|0)<<21|r>>>11)+o|0,r=((r+=((i=((i+=(r^((n=((n+=(o^(r|~i))+t[12]+1700485571|0)<<6|n>>>26)+r|0)|~o))+t[3]-1894986606|0)<<10|i>>>22)+n|0)^((o=((o+=(n^(i|~r))+t[10]-1051523|0)<<15|o>>>17)+i|0)|~n))+t[1]-2054922799|0)<<21|r>>>11)+o|0,r=((r+=((i=((i+=(r^((n=((n+=(o^(r|~i))+t[8]+1873313359|0)<<6|n>>>26)+r|0)|~o))+t[15]-30611744|0)<<10|i>>>22)+n|0)^((o=((o+=(n^(i|~r))+t[6]-1560198380|0)<<15|o>>>17)+i|0)|~n))+t[13]+1309151649|0)<<21|r>>>11)+o|0,r=((r+=((i=((i+=(r^((n=((n+=(o^(r|~i))+t[4]-145523070|0)<<6|n>>>26)+r|0)|~o))+t[11]-1120210379|0)<<10|i>>>22)+n|0)^((o=((o+=(n^(i|~r))+t[2]+718787259|0)<<15|o>>>17)+i|0)|~n))+t[9]-343485551|0)<<21|r>>>11)+o|0,e[0]=n+e[0]|0,e[1]=r+e[1]|0,e[2]=o+e[2]|0,e[3]=i+e[3]|0}function r(e){var t,n=[];for(t=0;t<64;t+=4)n[t>>2]=e.charCodeAt(t)+(e.charCodeAt(t+1)<<8)+(e.charCodeAt(t+2)<<16)+(e.charCodeAt(t+3)<<24);return n}function o(e){var t,n=[];for(t=0;t<64;t+=4)n[t>>2]=e[t]+(e[t+1]<<8)+(e[t+2]<<16)+(e[t+3]<<24);return n}function i(e){var t,o,i,a,s,u,l=e.length,c=[1732584193,-271733879,-1732584194,271733878];for(t=64;t<=l;t+=64)n(c,r(e.substring(t-64,t)));for(o=(e=e.substring(t-64)).length,i=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],t=0;t<o;t+=1)i[t>>2]|=e.charCodeAt(t)<<(t%4<<3);if(i[t>>2]|=128<<(t%4<<3),t>55)for(n(c,i),t=0;t<16;t+=1)i[t]=0;return a=(a=8*l).toString(16).match(/(.*?)(.{0,8})$/),s=parseInt(a[2],16),u=parseInt(a[1],16)||0,i[14]=s,i[15]=u,n(c,i),c}function a(e){var t,r,i,a,s,u,l=e.length,c=[1732584193,-271733879,-1732584194,271733878];for(t=64;t<=l;t+=64)n(c,o(e.subarray(t-64,t)));for(r=(e=t-64<l?e.subarray(t-64):new Uint8Array(0)).length,i=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],t=0;t<r;t+=1)i[t>>2]|=e[t]<<(t%4<<3);if(i[t>>2]|=128<<(t%4<<3),t>55)for(n(c,i),t=0;t<16;t+=1)i[t]=0;return a=(a=8*l).toString(16).match(/(.*?)(.{0,8})$/),s=parseInt(a[2],16),u=parseInt(a[1],16)||0,i[14]=s,i[15]=u,n(c,i),c}function s(e){var n,r="";for(n=0;n<4;n+=1)r+=t[e>>8*n+4&15]+t[e>>8*n&15];return r}function u(e){var t;for(t=0;t<e.length;t+=1)e[t]=s(e[t]);return e.join("")}function l(e){return/[\u0080-\uFFFF]/.test(e)&&(e=unescape(encodeURIComponent(e))),e}function c(e,t){var n,r=e.length,o=new ArrayBuffer(r),i=new Uint8Array(o);for(n=0;n<r;n+=1)i[n]=e.charCodeAt(n);return t?i:o}function f(e){return String.fromCharCode.apply(null,new Uint8Array(e))}
1function d(e,t,n){var r=new Uint8Array(e.byteLength+t.byteLength);return r.set(new Uint8Array(e)),r.set(new Uint8Array(t),e.byteLength),n?r:r.buffer}function p(e){var t,n=[],r=e.length;for(t=0;t<r-1;t+=2)n.push(parseInt(e.substr(t,2),16));return String.fromCharCode.apply(String,n)}function h(){this.reset()}return u(i("hello")),"undefined"===typeof ArrayBuffer||ArrayBuffer.prototype.slice||function(){function t(e,t){return(e=0|e||0)<0?Math.max(e+t,0):Math.min(e,t)}ArrayBuffer.prototype.slice=function(n,r){var o,i,a,s,u=this.byteLength,l=t(n,u),c=u;return r!==e&&(c=t(r,u)),l>c?new ArrayBuffer(0):(o=c-l,i=new ArrayBuffer(o),a=new Uint8Array(i),s=new Uint8Array(this,l,o),a.set(s),i)}}(),h.prototype.append=function(e){return this.appendBinary(l(e)),this},h.prototype.appendBinary=function(e){this._buff+=e,this._length+=e.length;var t,o=this._buff.length;for(t=64;t<=o;t+=64)n(this._hash,r(this._buff.substring(t-64,t)));return this._buff=this._buff.substring(t-64),this},h.prototype.end=function(e){var t,n,r=this._buff,o=r.length,i=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0];for(t=0;t<o;t+=1)i[t>>2]|=r.charCodeAt(t)<<(t%4<<3);return this._finish(i,o),n=u(this._hash),e&&(n=p(n)),this.reset(),n},h.prototype.reset=function(){return this._buff="",this._length=0,this._hash=[1732584193,-271733879,-1732584194,271733878],this},h.prototype.getState=function(){return{buff:this._buff,length:this._length,hash:this._hash.slice()}},h.prototype.setState=function(e){return this._buff=e.buff,this._length=e.length,this._hash=e.hash,this},h.prototype.destroy=function(){delete this._hash,delete this._buff,delete this._length},h.prototype._finish=function(e,t){var r,o,i,a=t;if(e[a>>2]|=128<<(a%4<<3),a>55)for(n(this._hash,e),a=0;a<16;a+=1)e[a]=0;r=(r=8*this._length).toString(16).match(/(.*?)(.{0,8})$/),o=parseInt(r[2],16),i=parseInt(r[1],16)||0,e[14]=o,e[15]=i,n(this._hash,e)},h.hash=function(e,t){return h.hashBinary(l(e),t)},h.hashBinary=function(e,t){var n=u(i(e));return t?p(n):n},h.ArrayBuffer=function(){this.reset()},h.ArrayBuffer.prototype.append=function(e){var t,r=d(this._buff.buffer,e,!0),i=r.length;for(this._length+=e.byteLength,t=64;t<=i;t+=64)n(this._hash,o(r.subarray(t-64,t)));return this._buff=t-64<i?new Uint8Array(r.buffer.slice(t-64)):new Uint8Array(0),this},h.ArrayBuffer.prototype.end=function(e){var t,n,r=this._buff,o=r.length,i=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0];for(t=0;t<o;t+=1)i[t>>2]|=r[t]<<(t%4<<3);return this._finish(i,o),n=u(this._hash),e&&(n=p(n)),this.reset(),n},h.ArrayBuffer.prototype.reset=function(){return this._buff=new Uint8Array(0),this._length=0,this._hash=[1732584193,-271733879,-1732584194,271733878],this},h.ArrayBuffer.prototype.getState=function(){var e=h.prototype.getState.call(this);return e.buff=f(e.buff),e},h.ArrayBuffer.prototype.setState=function(e){return e.buff=c(e.buff,!0),h.prototype.setState.call(this,e)},h.ArrayBuffer.prototype.destroy=h.prototype.destroy,h.ArrayBuffer.prototype._finish=h.prototype._finish,h.ArrayBuffer.hash=function(e,t){var n=u(a(new Uint8Array(e)));return t?p(n):n},h}()},26362:function(e,t,n){"use strict";var r=n(56168);var o="function"===typeof Object.is?Object.is:function(e,t){return e===t&&(0!==e||1/e===1/t)||e!==e&&t!==t},i=r.useState,a=r.useEffect,s=r.useLayoutEffect,u=r.useDebugValue;function l(e){var t=e.getSnapshot;e=e.value;try{var n=t();return!o(e,n)}catch(r){return!0}}var c="undefined"===typeof window||"undefined"===typeof window.document||"undefined"===typeof window.document.createElement?function(e,t){return t()}:function(e,t){var n=t(),r=i({inst:{value:n,getSnapshot:t}}),o=r[0].inst,c=r[1];return s((function(){o.value=n,o.getSnapshot=t,l(o)&&c({inst:o})}),[e,n,t]),a((function(){return l(o)&&c({inst:o}),e((function(){l(o)&&c({inst:o})}))}),[e]),u(n),n};t.useSyncExternalStore=void 0!==r.useSyncExternalStore?r.useSyncExternalStore:c},82101:function(e,t,n){"use strict";e.exports=n(26362)},91118:function(e,t,n){(window.__NEXT_P=window.__NEXT_P||[]).push(["/_app",function(){return n(15708)}])},55486:function(e,t,n){"use strict";n.d(t,{Z:function(){return oe}});var r=n(8014),o=n(80241),i=n.n(o),a=n(75332),s=n(56168),u=n(82101);const l=new WeakMap,c={},f={},d=()=>{},p=d(),h=Object,m=e=>e===p,v=e=>"function"==typeof e,g=(e,t)=>({...e,...t}),y="undefined",b=typeof window!=y,w=typeof document!=y,x=(e,t)=>{const n=l.get(e);return[()=>e.get(t)||c,r=>{if(!m(t)){const o=e.get(t);t in f||(f[t]=o),n[5](t,g(o,r),o||c)}},n[6],()=>!m(t)&&t in f?f[t]:e.get(t)||c]},_=new WeakMap;let j=0;const S=e=>{const t=typeof e,n=e&&e.constructor,r=n==Date;let o,i;if(h(e)!==e||r||n==RegExp)o=r?e.toJSON():"symbol"==t?e.toString():"string"==t?JSON.stringify(e):""+e;else{if(o=_.get(e),o)return o;if(o=++j+"~",_.set(e,o),n==Array){for(o="@",i=0;i<e.length;i++)o+=S(e[i])+",";_.set(e,o)}if(n==h){o="#";const t=h.keys(e).sort();for(;!m(i=t.pop());
1)m(e[i])||(o+=i+":"+S(e[i])+",");_.set(e,o)}}return o};let E=!0;const[O,T]=b&&window.addEventListener?[window.addEventListener.bind(window),window.removeEventListener.bind(window)]:[d,d],N={isOnline:()=>E,isVisible:()=>{const e=w&&document.visibilityState;return m(e)||"hidden"!==e}},C={initFocus:e=>(w&&document.addEventListener("visibilitychange",e),O("focus",e),()=>{w&&document.removeEventListener("visibilitychange",e),T("focus",e)}),initReconnect:e=>{const t=()=>{E=!0,e()},n=()=>{E=!1};return O("online",t),O("offline",n),()=>{T("online",t),T("offline",n)}}},k=!s.useId,A=!b||"Deno"in window,P=e=>b&&typeof window.requestAnimationFrame!=y?window.requestAnimationFrame(e):setTimeout(e,1),z=A?s.useEffect:s.useLayoutEffect,M="undefined"!==typeof navigator&&navigator.connection,U=!A&&M&&(["slow-2g","2g"].includes(M.effectiveType)||M.saveData),I=e=>{if(v(e))try{e=e()}catch(n){e=""}const t=e;return[e="string"==typeof e?e:(Array.isArray(e)?e.length:e)?S(e):"",t]};let D=0;const R=()=>++D;var L=0,F=1,B=2;async function W(...e){const[t,n,r,o]=e,i=g({populateCache:!0,throwOnError:!0},"boolean"===typeof o?{revalidate:o}:o||{});let a=i.populateCache;const s=i.rollbackOnError;let u=i.optimisticData;const c=!1!==i.revalidate,f=i.throwOnError;if(v(n)){const e=n,r=[],o=t.keys();for(let n=o.next();!n.done;n=o.next()){const o=n.value;!o.startsWith("$inf$")&&e(t.get(o)._k)&&r.push(o)}return Promise.all(r.map(d))}return d(n);async function d(n){const[o]=I(n);if(!o)return;const[i,d]=x(t,o),[h,g,y]=l.get(t),b=h[o],w=()=>c&&(delete y[o],b&&b[0])?b[0](2).then((()=>i().data)):i().data;if(e.length<3)return w();let _,j=r;const S=R();g[o]=[S,0];const E=!m(u),O=i(),T=O.data,N=O._c,C=m(N)?T:N;if(E&&(u=v(u)?u(C):u,d({data:u,_c:C})),v(j))try{j=j(C)}catch(A){_=A}if(j&&v(j.then)){if(j=await j.catch((e=>{_=e})),S!==g[o][0]){if(_)throw _;return j}_&&E&&(e=>"function"===typeof s?s(e):!1!==s)(_)&&(a=!0,j=C,d({data:j,_c:p}))}a&&(_||(v(a)&&(j=a(j,C)),d({data:j,_c:p}))),g[o][1]=R();const k=await w();if(d({_c:p}),!_)return a?k:j;if(f)throw _}}const q=(e,t)=>{for(const n in e)e[n][0]&&e[n][0](t)},Z=(e,t)=>{if(!l.has(e)){const n=g(C,t),r={},o=W.bind(p,e);let i=d;const a={},s=(e,t)=>{const n=a[e]||[];return a[e]=n,n.push(t),()=>n.splice(n.indexOf(t),1)},u=(t,n,r)=>{e.set(t,n);const o=a[t];if(o)for(let e=o.length;e--;)o[e](n,r)},c=()=>{if(!l.has(e)&&(l.set(e,[r,{},{},{},o,u,s]),!A)){const t=n.initFocus(setTimeout.bind(p,q.bind(p,r,0))),o=n.initReconnect(setTimeout.bind(p,q.bind(p,r,1)));i=()=>{t&&t(),o&&o(),l.delete(e)}}};return c(),[e,o,c,i]}return[e,l.get(e)[4]]},[H,Y]=Z(new Map),V=g({onLoadingSlow:d,onSuccess:d,onError:d,onErrorRetry:(e,t,n,r,o)=>{const i=n.errorRetryCount,a=o.retryCount,s=~~((Math.random()+.5)*(1<<(a<8?a:8)))*n.errorRetryInterval;!m(i)&&a>i||setTimeout(r,s,o)},onDiscarded:d,revalidateOnFocus:!0,revalidateOnReconnect:!0,revalidateIfStale:!0,shouldRetryOnError:!0,errorRetryInterval:U?1e4:5e3,focusThrottleInterval:5e3,dedupingInterval:2e3,loadingTimeout:U?5e3:3e3,compare:(e,t)=>S(e)==S(t),isPaused:()=>!1,cache:H,mutate:Y,fallback:{}},N),$=(e,t)=>{const n=g(e,t);if(t){const{use:r,fallback:o}=e,{use:i,fallback:a}=t;r&&i&&(n.use=r.concat(i)),o&&a&&(n.fallback=g(o,a))}return n},J=(0,s.createContext)({}),G=b&&window.__SWR_DEVTOOLS_USE__,K=G?window.__SWR_DEVTOOLS_USE__:[],Q=e=>v(e[1])?[e[0],e[1],e[2]||{}]:[e[0],null,(null===e[1]?e[2]:e[1])||{}],X=K.concat((e=>(t,n,r)=>e(t,n&&((...e)=>{const r=I(t)[0],[,,,o]=l.get(H),i=o[r];return i?(delete o[r],i):n(...e)}),r)));G&&(window.__SWR_DEVTOOLS_REACT__=s);const ee={dedupe:!0};h.defineProperty((e=>{const{value:t}=e,n=(0,s.useContext)(J),r=v(t),o=(0,s.useMemo)((()=>r?t(n):t),[r,n,t]),i=(0,s.useMemo)((()=>r?o:$(n,o)),[r,n,o]),a=o&&o.provider,[u]=(0,s.useState)((()=>a?Z(a(i.cache||H),o):p));return u&&(i.cache=u[0],i.mutate=u[1]),z((()=>{if(u)return u[2]&&u[2](),u[3]}),[]),(0,s.createElement)(J.Provider,g(e,{value:i}))}),"defaultValue",{value:V});var te,ne=(te=(e,t,n)=>{const{cache:r,compare:o,suspense:i,fallbackData:a,revalidateOnMount:c,revalidateIfStale:f,refreshInterval:d,refreshWhenHidden:h,refreshWhenOffline:y,keepPreviousData:b}=n,[w,_,j]=l.get(r),[S,E]=I(e),O=(0,s.useRef)(!1),T=(0,s.useRef)(!1),N=(0,s.useRef)(S),C=(0,s.useRef)(t),M=(0,s.useRef)(n),U=()=>M.current,D=()=>U().isVisible()&&U().isOnline(),[q,Z,H,Y]=x(r,S),V=(0,s.useRef)({}).current,$=m(a)?n.fallback[S]:a,J=(e,t)=>
1{let n=!0;for(const r in V){const i=r;"data"===i?o(t[i],e[i])||m(e[i])&&o(t[i],ie)||(n=!1):t[i]!==e[i]&&(n=!1)}return n},G=(0,s.useMemo)((()=>{const e=!!S&&!!t&&(m(c)?!U().isPaused()&&!i&&(!!m(f)||f):c),n=t=>{const n=g(t);return delete n._k,e?{isValidating:!0,isLoading:!0,...n}:n};let r=n(q());const o=n(Y());return[()=>{const e=n(q());return J(e,r)?r:r=e},()=>o]}),[r,S]),K=(0,u.useSyncExternalStore)((0,s.useCallback)((e=>H(S,((t,n)=>{J(n,t)||e()}))),[r,S]),G[0],G[1]),Q=!O.current,X=w[S]&&w[S].length>0,te=K.data,ne=m(te)?$:te,re=K.error,oe=(0,s.useRef)(ne),ie=b?m(te)?oe.current:te:ne,ae=!(X&&!m(re))&&(Q&&!m(c)?c:!U().isPaused()&&(i?!m(ne)&&f:m(ne)||f)),se=!!(S&&t&&Q&&ae),ue=m(K.isValidating)?se:K.isValidating,le=m(K.isLoading)?se:K.isLoading,ce=(0,s.useCallback)((async e=>{const t=C.current;if(!S||!t||T.current||U().isPaused())return!1;let r,i,a=!0;const s=e||{},u=!j[S]||!s.dedupe,l=()=>k?!T.current&&S===N.current&&O.current:S===N.current,c={isValidating:!1,isLoading:!1},f=()=>{Z(c)},d=()=>{const e=j[S];e&&e[1]===i&&delete j[S]},h={isValidating:!0};m(q().data)&&(h.isLoading=!0);try{if(u&&(Z(h),n.loadingTimeout&&m(q().data)&&setTimeout((()=>{a&&l()&&U().onLoadingSlow(S,n)}),n.loadingTimeout),j[S]=[t(E),R()]),[r,i]=j[S],r=await r,u&&setTimeout(d,n.dedupingInterval),!j[S]||j[S][1]!==i)return u&&l()&&U().onDiscarded(S),!1;c.error=p;const e=_[S];if(!m(e)&&(i<=e[0]||i<=e[1]||0===e[1]))return f(),u&&l()&&U().onDiscarded(S),!1;const s=q().data;c.data=o(s,r)?s:r,u&&l()&&U().onSuccess(r,S,n)}catch(g){d();const e=U(),{shouldRetryOnError:t}=e;e.isPaused()||(c.error=g,u&&l()&&(e.onError(g,S,e),(!0===t||v(t)&&t(g))&&D()&&e.onErrorRetry(g,S,e,ce,{retryCount:(s.retryCount||0)+1,dedupe:!0})))}return a=!1,f(),!0}),[S,r]),fe=(0,s.useCallback)(((...e)=>W(r,N.current,...e)),[]);if(z((()=>{C.current=t,M.current=n,m(te)||(oe.current=te)})),z((()=>{if(!S)return;const e=ce.bind(p,ee);let t=0;const n=((e,t,n)=>{const r=t[e]||(t[e]=[]);return r.push(n),()=>{const e=r.indexOf(n);e>=0&&(r[e]=r[r.length-1],r.pop())}})(S,w,(n=>{if(n==L){const n=Date.now();U().revalidateOnFocus&&n>t&&D()&&(t=n+U().focusThrottleInterval,e())}else if(n==F)U().revalidateOnReconnect&&D()&&e();else if(n==B)return ce()}));return T.current=!1,N.current=S,O.current=!0,Z({_k:E}),ae&&(m(ne)||A?e():P(e)),()=>{T.current=!0,n()}}),[S]),z((()=>{let e;function t(){const t=v(d)?d(ne):d;t&&-1!==e&&(e=setTimeout(n,t))}function n(){q().error||!h&&!U().isVisible()||!y&&!U().isOnline()?t():ce(ee).then(t)}return t(),()=>{e&&(clearTimeout(e),e=-1)}}),[d,h,y,S]),(0,s.useDebugValue)(ie),i&&m(ne)&&S){if(!k&&A)throw new Error("Fallback data is required when using suspense in SSR.");throw C.current=t,M.current=n,T.current=!1,m(re)?ce(ee):re}return{mutate:fe,get data(){return V.data=!0,ie},get error(){return V.error=!0,re},get isValidating(){return V.isValidating=!0,ue},get isLoading(){return V.isLoading=!0,le}}},function(...e){const t=g(V,(0,s.useContext)(J)),[n,r,o]=Q(e),i=$(t,o);let a=te;const{use:u}=i,l=(u||[]).concat(X);for(let s=l.length;s--;)a=l[s](a);return a(n,r||i.fetcher||null,i)}),re=n(65954);var oe=function(){var e,t=(0,a.useRouter)().locale,n=ne("/api/announcements?locale=".concat(t),re._i),o=n.data,s=n.isLoading,u=n.error;return s||u||!(null===(e=o.data)||void 0===e?void 0:e.length)?null:(0,r.jsx)("div",{className:"pb-white",children:(0,r.jsx)("div",{className:"p-2",children:(0,r.jsx)("div",{className:"flex flex-col space-y-2",children:o.data.map((function(e){return(0,r.jsxs)("div",{className:"flex flex-row space-x-1 justify-center",children:[(0,r.jsx)("div",{className:"pt-[3px]",children:(0,r.jsx)(i(),{src:"/images/info.svg",width:"18px",height:"18px",alt:"info",layout:"fixed"})}),(0,r.jsx)("div",{className:"text-ft-slate",children:e})]},e)}))})})})}},43690:function(e,t,n){"use strict";var r=n(8014),o=n(46834),i=n(62044),a=n(94692);t.Z=function(){var e=(0,i.Z)("common"),t=e.t,n=e.lang,s={p:(0,r.jsx)("p",{className:"mb-4 text-xs text-ft-slate"}),FINRABrokerCheck:(0,r.jsx)("a",{"aria-label":"FINRA BrokerCheck",target:"_blank",rel:"noopener noreferrer",href:"https://brokercheck.finra.org/",className:"text-strong-blue hover:text-ft-blue active:text-ft-blue",children:"FINRA BrokerCheck"}),RiskDisclosure:(0,r.jsx)("a",{"aria-label":t("footer.Disclosures.risk-disclosure"),href:"https://d4l0yihtmj3iw.cloudfront.net/forms/".concat(n.toLowerCase(),"/self_trading_risk_disclosure.pdf?token=MjAyMy0wNy0xOCAxNTozMDowMA%3D%3D"),target:"_blank",rel:"noopener noreferrer",className:"text-strong-blue hover:text-ft-blue active:text-ft-blue"}),ExtendedHours:(0,r.jsx)("a",{"aria-label":t("footer.Disclosures.extended-hours"),href:"https://d4l0yihtmj3iw.cloudfront.net/forms/".concat(n.toLowerCase(),"/after_hours_agreement.pdf?token=MjAyNC0xMi0xNyAxMzoyODowMA%3D%3D"),target:"_blank",rel:"noopener noreferrer",className:"text-strong-blue hover:text-ft-blue active:text-ft-blue"}),CharacterRisks:(0,r.jsx)("a",{"aria-label":t("footer.Disclosures.character-risks"),href:"https://www.theocc.com/about/publications/character-risks.jsp",target:"_blank",rel:"noopener noreferrer",className:"text-strong-blue hover:text-ft-blue active:text-ft-blue"}),OptionsDisclosureSupplement:(0,r.jsx)("a",{"aria-label":t("footer.Disclosures.options-disclosure-supplement"),href:"https://www.firstrade.com/forms/en-us/options_disclosure_supplement.pdf",target:"_blank",rel:"noopener noreferrer",className:"text-strong-blue hover:text-ft-blue active:text-ft-blue"}),ETFDisclaimer:(0,r.jsx)(a.Z,{href:"/trading/etfs/#etf-disclaimer",className:"text-strong-blue hover:text-ft-blue active:text-ft-blue"}),ServiceEmail:(0,r.jsx)("a",{"aria-label":"[email protected]",href:"mailto:[email protected]",className:"text-strong-blue hover:text-ft-blue active:text-ft-blue",children:"[email protected]"}),MarginDisclosure:(0,r.jsx)("a",{"aria-label":t("footer.Disclosures.margin-disclosure"),target:"_blank",rel:"noopener noreferrer",href:"https://www.firstrade.com/forms/".concat(n.toLowerCase(),"/margin_disclosure.pdf?v=20230127"),className:"text-strong-blue hover:text-ft-blue active:text-ft-blue"}),MarginAgreement:(0,r.jsx)("a",{"aria-label":t("footer.Disclosures.margin-agreement"),target:"_blank",rel:"noopener noreferrer",href:"https://www.firstrade.com/forms/".concat(n.toLowerCase(),"/margin_application.pdf?v=20230131"),className:"text-strong-blue hover:text-ft-blue active:text-ft-blue"}),FINRAInvesting:(0,r.jsx)("a",{"aria-label":t("footer.Disclosures.finra-investor-information"),target:"_blank",rel:"noopener noreferrer",href:"https://www.finra.org/investors/investing",className:"text-strong-blue hover:text-ft-blue active:text-ft-blue"}),Pricing:(0,r.jsx)(a.Z,{"aria-label":t("footer.Disclosures.pricing"),href:"/trading/pricing",className:"text-strong-blue hover:text-ft-blue active:text-ft-blue"})};return(0,r.jsx)(o.Z,{i18nKey:"common:footer.Disclosures.content",components:s})}},8743:function(e,t,n){"use strict";n.d(t,{Z:function(){return _}});var r=n(43692),o=n(21157),i=n(61557),a=n(8014),s=n(5565),u=n(94692),l=n(57919),c=(n(56168),n(62044)),f=n(80241),d=n.n(f),p=n(75657),h=n.n(p),m=n(26553),v=n(46834),g=n(20632),y={src:"/_next/static/media/social-facebook.28534315.svg",height:24,width:24},b={src:"/_next/static/media/social-twitter.15a06301.svg",height:24,width:24},w={src:"/_next/static/media/social-youtube.45aabdf1.svg",height:24,width:24},x=n(43690);var _=function(){var e=(0,c.Z)("common"),t=e.t,n=e.lang;return(0,a.jsx)("footer",{className:"globals relative w-full bg-smoke",children:(0,a.jsxs)("div",{className:"container grid grid-cols-1 gap-y-6 divide-y divide-grayish-blue py-10",children:[(0,a.jsxs)("div",{className:"flex flex-col items-start justify-center sm:items-center sm:gap-7 lg:flex-row lg:justify-between lg:gap-0",children:[(0,a.jsxs)("div",{className:"grid grid-cols-1 grid-rows-3 gap-4 sm:flex sm:flex-row sm:items-center sm:justify-start",children:[(0,a.jsx)("div",{className:"mr-2 hidden font-lato text-xl text-ft-slate lg:block",children:t("footer.need_help")}),"zh-CN"===n||"zh-TW"===n?(0,a.jsxs)("div",{className:"mr-0 flex flex-col items-start justify-start sm:mr-4 sm:flex-row sm:items-center",children:[(0,a.jsx)("div",{className:"mb-1 mr-0 font-lato text-lg text-ft-slate sm:mb-0 sm:mr-1.5 sm:text-xl",children:t("footer.domestic")}),(0,a.jsx)("a",{"aria-label":"1.888.889.2818",href:"tel:+18888892818",className:"font-lato text-lg font-bold text-ft-slate sm:text-xl",children:"1.888.889.2818"})]}):(0,a.jsxs)("div",{className:"mr-0 flex flex-col items-start justify-start sm:mr-4 sm:flex-row sm:items-center",children:[(0,a.jsx)("div",{className:"mb-1 mr-0 font-lato text-lg text-ft-slate sm:mb-0 sm:mr-1.5 sm:text-xl",children:t("footer.toll_free")}),(0,a.jsx)("a",{"aria-label":"1.800.869.8800",href:"tel:+18008698800",className:"font-lato text-lg font-bold text-ft-slate sm:text-xl",children:"1.800.869.8800"})]}),(0,a.jsxs)("div",{className:"mr-0 flex flex-col items-start justify-start sm:mr-4 sm:flex-row sm:items-center",children:[(0,a.jsx)("div",{className:"mb-1 mr-0 font-lato text-lg text-ft-slate sm:mb-0 sm:mr-1.5 sm:text-xl",children:t("footer.overseas")}),"zh-CN"===n||"zh-TW"===n?(0,a.jsx)("a",{"aria-label":"1.718.888.2158",href:"tel:+17188882158",className:"font-lato text-lg font-bold text-ft-slate sm:text-xl",children:"1.718.888.2158"}):(0,a.jsx)("a",{"aria-label":"1.718.961.6600",href:"tel:+17189616600",className:"font-lato text-lg font-bold text-ft-slate sm:text-xl",children:"1.718.961.6600"})]}),(0,a.jsx)("div",{className:"font-lato text-lg font-bold text-ft-slate md:text-xl",children:(0,a.jsx)(h(),{href:"/support/contact/email",children:t("footer.email_us")})})]}),(0,a.jsx)("a",{className:"button-primary button-primary-orange",href:"https://signup.firstrade.com/apply/".concat(n.toLowerCase(),"/"),rel:"noopener noreferrer",children:t("header.open_account")}
1)]}),(0,a.jsxs)("div",{className:"flex flex-col-reverse items-start justify-between pt-6 sm:flex-row sm:items-start",children:[(0,a.jsx)("div",{className:"mt-4 flex flex-col items-start justify-start gap-6 sm:mt-0 sm:flex-row md:gap-14 lg:gap-28 xl:gap-60",children:[{name:t("footer.Company"),links:[[t("footer.About"),"/about"],[t("footer.Pricing"),"/trading/pricing"],[t("footer.Awards"),"/resources/accolades"],[t("footer.Blog"),"zh-CN"===n||"zh-TW"===n?"https://blog.chinese.firstrade.com/":"https://blog.firstrade.com"],[t("footer.Careers"),"/careers"],[t("footer.Affiliates"),"https://affiliate.firstrade.com/affiliate/index.php?locale=".concat(n.toLowerCase())],[t("footer.Press"),"/press"],[t("footer.Support"),"/support/contact"]]},{name:t("footer.Resources"),links:[[t("footer.FormCenter"),"/support/forms"],[t("footer.Fund_Your_Account"),"/support/funding"],[t("footer.Transfer_to_Firstrade"),"/accounts/acat-transfer"],[t("footer.International_Accounts"),"/accounts/international"],[t("footer.Tax_Center"),"/resources/tax-center"],[t("footer.Refer_a_Friend"),"/accounts/referral"]]},{name:t("footer.legal"),links:[[t("footer.terms&conditions"),"/legal/terms"],[t("footer.firstradegpt_terms"),"/legal/firstradegpt-terms"],[t("footer.privacy_policy"),"/legal/privacy"],[t("footer.security_center"),"/support/security-center/security-you-can-trust"],[t("footer.account_protection"),"/support/security-center/account-protection"],[t("footer.accessibility_statement"),"/legal/accessibility"],[t("Disclosures Center"),"/support/forms/#disclosures"],[t("footer.business_continuity"),"/legal/business-continuity"],[t("footer.order_routing"),"/legal/order-routing"]]}].map((function(e,t){return(0,a.jsxs)("div",{className:"flex flex-col items-start justify-start",children:[(0,a.jsx)("h2",{className:"mb-2.5 font-sans text-base font-bold text-ft-slate",children:e.name}),(0,a.jsx)("ul",{className:"m-0 list-none",children:e.links.map((function(e,t){var n=(0,o.Z)(e,2),r=n[0],i=n[1];return(0,a.jsx)("li",{children:(0,a.jsx)(u.Z,{href:i,className:"text-ft-slate",children:r})},t)}))})]},t)}))}),(0,a.jsxs)("div",{className:"flex flex-col items-start justify-start gap-4",children:[(0,a.jsx)("ul",{className:"m-0 grid list-none grid-cols-3 gap-4",children:[["Facebook","https://www.facebook.com/firstrade",y],["Twitter","https://twitter.com/firstrade/",b],["YouTube","en-US"===n?"https://www.youtube.com/@firstrade":"https://www.youtube.com/channel/UCtBtnuTJG3FWNpx0q-pQzWw",w]].map((function(e){var t=(0,o.Z)(e,3),n=t[0],r=t[1],i=t[2];return(0,a.jsx)("li",{children:(0,a.jsx)("a",{href:r,rel:"noopener noreferrer","aria-label":n,className:"flex items-center justify-center",target:"_blank",children:(0,a.jsx)(d(),{src:i,width:"24px",height:"24px",alt:n})})},n)}))}),(0,a.jsx)(s.ZP,{vertical:!0}),(0,a.jsxs)("div",{className:"w-full",children:[(0,a.jsx)("div",{className:"mb-3",children:t("footer.Languages")}),(0,a.jsx)("ul",{className:"m-0 flex list-none items-center justify-between",children:l.locales.map((function(e){return(0,a.jsx)("li",{children:(0,a.jsx)("button",{type:"button",className:"text-sm",onClick:(0,r.Z)((function(){return(0,i.__generator)(this,(function(t){switch(t.label){case 0:return[4,(0,m.Z)(e)];case 1:return t.sent(),[2]}}))})),children:t("languages.".concat(e,".shortTitle"))})},e)}))})]})]})]}),(0,a.jsxs)("div",{className:"pt-6 md:mb-7.5",children:[(0,a.jsx)(x.Z,{}),(0,a.jsx)("p",{className:"mb-4 text-xs text-ft-slate",children:(0,a.jsx)(v.Z,{i18nKey:"common:footer.copyright",components:{FINRA:(0,a.jsx)("a",{"aria-label":"FINRA",target:"_blank",rel:"noopener noreferrer",href:"https://www.finra.org/#/",children:"FINRA"}),SIPC:(0,a.jsx)("a",{"aria-label":"SIPC",target:"_blank",rel:"noopener noreferrer",href:"https://www.sipc.org/",children:"SIPC"})},values:{year:(0,g.Z)(new Date,"America/New_York","yyyy")}})})]})]})})}},12051:function(e,t,n){"use strict";n.d(t,{AS:function(){return i},HT:function(){return a},IM:function(){return s},Km:function(){return r},Ku:function(){return l},_P:function(){return u},rq:function(){return o}});var r=[{link:"/trading",title:"Overview"},{link:"/trading/stocks",title:"Stocks"},{link:"/trading/etfs",title:"ETFs"},{link:"/trading/options",title:"Options"},{link:"/trading/mutual-funds",title:"Mutual Funds"},{link:"/trading/fixed-income",title:"Fixed Income"},{link:"/trading/fractional-shares",title:"Fractional Shares"}],o=[{link:"/trading/pricing",title:"Pricing"},{link:"/trading/margin-loans",title:"Margin Loans"},{link:"/trading/securities-lending",title:"Securities Lending"},{link:"/trading/cash-management",title:"Cash Management"}
1,{link:"/trading/extended-hours",title:"Extended Hours"},{link:"/trading/overnight-trading",title:"Overnight Trading"},{link:"/trading/dividend-reinvestment",title:"Dividend Reinvestment"}],i=[{link:"/accounts/brokerage",title:"Brokerage"},{link:"/accounts/retirement",title:"Retirement"},{link:"/accounts/international",title:"International"},{link:"/accounts/education",title:"Education Planning"},{link:"/accounts/business",title:"Business Planning"}],a=[{link:"/accounts/promos",title:"All Promotions"},{link:"/accounts/wire-fee-rebate",title:"Wire Fee Rebate"},{link:"/accounts/acat-transfer",title:"1-Click Transfer"}],s=[{link:"/resources/guides",title:"Education Center"},{link:"/resources/guides/options/getting-started-options",title:"Options Guide"},{link:"/resources/guides/margin",title:"Margin Guide"},{link:"/resources/webinars",title:"Webinars"},{link:"/resources/tax-center",title:"Tax Center"},{link:"https://blog.firstrade.com/","link_zh-TW":"https://blog.chinese.firstrade.com/","link_zh-CN":"https://blog.chinese.firstrade.com/",title:"Blog"},{link:"/resources/accolades",title:"Awards & Recognitions"}],u=[{link:"/resources/research-tools",title:"Research"},{link:"/resources/mobile",title:"Mobile Trading"},{link:"/resources/options-wizard",title:"Options Wizard"},{link:"/resources/upcoming-ipo",title:"Upcoming IPOs"}],l=[{link:"https://help.firstrade.info/en/","link_zh-TW":"https://help.firstrade.info/zh-TW/","link_zh-CN":"https://help.firstrade.info/zh-CN/",title:"Help Center"},{link:"/support/contact",title:"Contact Us"},{link:"/support/funding",title:"Fund Your Account"},{link:"/support/forms",title:"Find Forms"},{link:"/support/security-center/security-you-can-trust",title:"Security Center"}]},87784:function(e,t,n){"use strict";n.d(t,{Z:function(){return a}});var r=n(12042),o=n(99728),i=n(8014);function a(e){return(0,i.jsx)("svg",(0,o.Z)((0,r.Z)({xmlns:"http://www.w3.org/2000/svg",width:"199",height:"38.692",viewBox:"0 0 199 38.692","aria-hidden":!0},e),{children:(0,i.jsxs)("g",{id:"ftlogo",transform:"translate(-0.57 -0.5)",children:[(0,i.jsx)("path",{id:"Path_414","data-name":"Path 414",d:"M44.76,5.45H57.018l-.98,5.512H51.017l-.935,5.225h4.465l-.935,5.247H49.147l-2.06,11.575H39.85Z",transform:"translate(4.115 0.561)",fill:"currentColor"}),(0,i.jsx)("path",{id:"Path_415","data-name":"Path 415",d:"M65.367,5.45l-4.91,27.559H53.22L58.13,5.45h7.237Z",transform:"translate(5.528 0.561)",fill:"currentColor"}),(0,i.jsx)("path",{id:"Path_416","data-name":"Path 416",d:"M68.03,5.45h5.121a37.789,37.789,0,0,1,6.869.4,3.808,3.808,0,0,1,2.605,2c.568,1.069.646,2.778.234,5.137A8.991,8.991,0,0,1,81.279,17.3a5.154,5.154,0,0,1-3.418,1.334A4.4,4.4,0,0,1,80.5,20.045a3.441,3.441,0,0,1,.635,1.62,25.2,25.2,0,0,1-.546,4.079L79.3,33.02H72.561l1.626-9.161a5.911,5.911,0,0,0,.134-2.745c-.167-.353-.757-.529-1.748-.529L70.357,33.009H63.12Zm6.4,4.718L73.341,16.3a3.581,3.581,0,0,0,1.77-.331q.551-.331.868-2.15l.267-1.51q.234-1.306-.167-1.72A2.271,2.271,0,0,0,74.432,10.168Z",transform:"translate(6.544 0.561)",fill:"currentColor"}),(0,i.jsx)("path",{id:"Path_417","data-name":"Path 417",d:"M99.627,13.852H92.9l.367-2.04a3.9,3.9,0,0,0,.067-1.82.782.782,0,0,0-.79-.4,1.338,1.338,0,0,0-1.08.529,3.539,3.539,0,0,0-.623,1.6,4.281,4.281,0,0,0,0,2.084,4.28,4.28,0,0,0,1.748,1.687q4.325,2.845,5.255,4.665c.612,1.213.69,3.176.212,5.878a11.511,11.511,0,0,1-1.47,4.345,7.029,7.029,0,0,1-3.106,2.349,11.912,11.912,0,0,1-4.81.948,9.3,9.3,0,0,1-4.765-1.092,4.159,4.159,0,0,1-2.193-2.779,13.753,13.753,0,0,1,.212-4.786l.323-1.8h6.725l-.59,3.353a3.978,3.978,0,0,0-.067,1.985c.134.3.445.441.924.441a1.465,1.465,0,0,0,1.18-.562,3.582,3.582,0,0,0,.646-1.665c.289-1.621.256-2.68-.1-3.187a16.438,16.438,0,0,0-2.939-2.5,25.875,25.875,0,0,1-3.117-2.57A4.711,4.711,0,0,1,83.851,16.3a9.069,9.069,0,0,1,.067-3.617,11.488,11.488,0,0,1,1.637-4.632A7.007,7.007,0,0,1,88.6,5.757a11.676,11.676,0,0,1,4.554-.827,10.376,10.376,0,0,1,4.643.9,3.911,3.911,0,0,1,2.227,2.272,11.356,11.356,0,0,1-.189,4.654Z",transform:"translate(8.482 0.502)",fill:"currentColor"}),(0,i.jsx)("path",{id:"Path_418","data-name":"Path 418",d:"M116.24,5.45l-.98,5.512h-4.3l-3.93,22.047H99.8l3.93-22.047H99.45l.98-5.512h15.81Z",transform:"translate(10.36 0.561)",fill:"currentColor"}),(0,i.jsx)("path",{id:"Path_419","data-name":"Path 419",d:"M117.3,5.45h5.121a37.789,37.789,0,0,1,6.869.4,3.808,3.808,0,0,1,2.605,2c.568,1.069.646,2.778.234,5.137a8.99,8.99,0,0,1-1.581,4.321,5.154,5.154,0,0,1-3.418,1.334,4.4,4.4,0,0,1,2.639,1.411,3.441,3.441,0,0,1,.635,1.62,25.2,25.2,0,0,1-.546,4.079l-1.292,7.276h-6.725l1.626-9.161a5.911,5.911,0,0,0,.134-2.745c-.178-.353-.757-.529-1.759-.529l-2.216,12.424H112.39Zm6.4,4.718L122.611,16.3a3.582,3.582,0,0,0,1.77-.331q.551-.331.868-2.15l.267-1.51q.234-1.306-.
1167-1.72A2.271,2.271,0,0,0,123.7,10.168Z",transform:"translate(11.699 0.561)",fill:"currentColor"}),(0,i.jsx)("path",{id:"Path_420","data-name":"Path 420",d:"M147.8,5.45l-.768,27.559H139.64l.49-4.961h-2.594l-1.314,4.961H128.74L137.346,5.45H147.8Zm-6.992,17.726q.284-4.679.957-11.575-2.522,7.92-3.451,11.575Z",transform:"translate(13.415 0.561)",fill:"currentColor"}),(0,i.jsx)("path",{id:"Path_421","data-name":"Path 421",d:"M151.979,5.45h5.411a33.274,33.274,0,0,1,7,.474,4.384,4.384,0,0,1,2.538,1.565,4.109,4.109,0,0,1,.768,2.425,38.181,38.181,0,0,1-.69,5.247l-1.715,9.657a24.26,24.26,0,0,1-1.236,4.961,4.91,4.91,0,0,1-1.581,1.962,6.176,6.176,0,0,1-2.338.981,20.443,20.443,0,0,1-3.93.287h-9.13Zm6.391,4.718L155.141,28.3a2.52,2.52,0,0,0,2.037-.617,10.1,10.1,0,0,0,.958-3.373l1.915-10.7a15.413,15.413,0,0,0,.312-2.4.955.955,0,0,0-.412-.783A3.176,3.176,0,0,0,158.37,10.168Z",transform:"translate(15.193 0.561)",fill:"currentColor"}),(0,i.jsx)("path",{id:"Path_422","data-name":"Path 422",d:"M170.24,5.45h12.069l-.98,5.512H176.5l-.935,5.225h4.52l-.935,5.247h-4.52l-1.08,6.063h5.311l-.98,5.512H165.33Z",transform:"translate(17.261 0.561)",fill:"currentColor"}),(0,i.jsxs)("g",{id:"Group_175","data-name":"Group 175",transform:"translate(0.57 0.5)",children:[(0,i.jsx)("path",{id:"Path_423","data-name":"Path 423",d:"M19.787,39.192V.5L.57,16.11l13.316-3.748Z",transform:"translate(-0.57 -0.5)",fill:"currentColor"}),(0,i.jsx)("path",{id:"Path_424","data-name":"Path 424",d:"M20.07,39.192V.5L39.287,16.11,25.971,12.362Z",transform:"translate(1.641 -0.5)",fill:"currentColor"})]})]})}))}},98555:function(e,t,n){"use strict";n.d(t,{Z:function(){return l}});var r=n(8014),o=n(50744),i=n.n(o),a=n(56168),s=n(80241),u=n.n(s);function l(){var e=(0,a.useState)(!1),t=e[0],n=e[1],o=function(){window.pageYOffset>300?n(!0):n(!1)};return(0,a.useEffect)((function(){return window.addEventListener("scroll",o),function(){window.removeEventListener("scroll",o)}}),[]),(0,r.jsx)("div",{className:"fixed bottom-2 right-2 z-[39] md:hidden",children:(0,r.jsx)("button",{"aria-label":"Scroll to Top",type:"button",onClick:function(){window.scrollTo({top:0,behavior:"smooth"})},className:i()(t?"opacity-100":"opacity-0","inline-flex items-center rounded-full p-3 text-white transition-opacity focus:outline-none"),children:(0,r.jsx)(u(),{src:"/images/top.svg",height:32,width:32,alt:"Scroll to top","aria-hidden":"true"})})})}},5565:function(e,t,n){"use strict";n.d(t,{l7:function(){return Be},ZP:function(){return qe},UA:function(){return Fe}});var r=n(21157),o=n(8014),i=n(56168),a=n(80241),s=n.n(a),u=n(50862),l=n.n(u),c=n(34323);function f(e){if(null==e)return window;if("[object Window]"!==e.toString()){var t=e.ownerDocument;return t&&t.defaultView||window}return e}function d(e){return e instanceof f(e).Element||e instanceof Element}function p(e){return e instanceof f(e).HTMLElement||e instanceof HTMLElement}function h(e){return"undefined"!==typeof ShadowRoot&&(e instanceof f(e).ShadowRoot||e instanceof ShadowRoot)}var m=Math.max,v=Math.min,g=Math.round;function y(){var e=navigator.userAgentData;return null!=e&&e.brands?e.brands.map((function(e){return e.brand+"/"+e.version})).join(" "):navigator.userAgent}function b(){return!/^((?!chrome|android).)*safari/i.test(y())}function w(e,t,n){void 0===t&&(t=!1),void 0===n&&(n=!1);var r=e.getBoundingClientRect(),o=1,i=1;t&&p(e)&&(o=e.offsetWidth>0&&g(r.width)/e.offsetWidth||1,i=e.offsetHeight>0&&g(r.height)/e.offsetHeight||1);var a=(d(e)?f(e):window).visualViewport,s=!b()&&n,u=(r.left+(s&&a?a.offsetLeft:0))/o,l=(r.top+(s&&a?a.offsetTop:0))/i,c=r.width/o,h=r.height/i;return{width:c,height:h,top:l,right:u+c,bottom:l+h,left:u,x:u,y:l}}function x(e){var t=f(e);return{scrollLeft:t.pageXOffset,scrollTop:t.pageYOffset}}function _(e){return e?(e.nodeName||"").toLowerCase():null}function j(e){return((d(e)?e.ownerDocument:e.document)||window.document).documentElement}function S(e){return w(j(e)).left+x(e).scrollLeft}function E(e){return f(e).getComputedStyle(e)}function O(e){var t=E(e),n=t.overflow,r=t.overflowX,o=t.overflowY;return/auto|scroll|overlay|hidden/.test(n+o+r)}function T(e,t,n){void 0===n&&(n=!1);var r=p(t),o=p(t)&&function(e){var t=e.getBoundingClientRect(),n=g(t.width)/e.offsetWidth||1,r=g
vendor: 3,098 bytes, line 1
1(t.height)/e.offsetHeight||1;return 1!==n||1!==r}(t),i=j(t),a=w(e,o,n),s={scrollLeft:0,scrollTop:0},u={x:0,y:0};return(r||!r&&!n)&&(("body"!==_(t)||O(i))&&(s=function(e){return e!==f(e)&&p(e)?{scrollLeft:(t=e).scrollLeft,scrollTop:t.scrollTop}:x(e);var t}(t)),p(t)?((u=w(t,!0)).x+=t.clientLeft,u.y+=t.clientTop):i&&(u.x=S(i))),{x:a.left+s.scrollLeft-u.x,y:a.top+s.scrollTop-u.y,width:a.width,height:a.height}}function N(e){var t=w(e),n=e.offsetWidth,r=e.offsetHeight;return Math.abs(t.width-n)<=1&&(n=t.width),Math.abs(t.height-r)<=1&&(r=t.height),{x:e.offsetLeft,y:e.offsetTop,width:n,height:r}}function C(e){return"html"===_(e)?e:e.assignedSlot||e.parentNode||(h(e)?e.host:null)||j(e)}function k(e){return["html","body","#document"].indexOf(_(e))>=0?e.ownerDocument.body:p(e)&&O(e)?e:k(C(e))}function A(e,t){var n;void 0===t&&(t=[]);var r=k(e),o=r===(null==(n=e.ownerDocument)?void 0:n.body),i=f(r),a=o?[i].concat(i.visualViewport||[],O(r)?r:[]):r,s=t.concat(a);return o?s:s.concat(A(C(a)))}function P(e){return["table","td","th"].indexOf(_(e))>=0}function z(e){return p(e)&&"fixed"!==E(e).position?e.offsetParent:null}function M(e){for(var t=f(e),n=z(e);n&&P(n)&&"static"===E(n).position;)n=z(n);return n&&("html"===_(n)||"body"===_(n)&&"static"===E(n).position)?t:n||function(e){var t=/firefox/i.test(y());if(/Trident/i.test(y())&&p(e)&&"fixed"===E(e).position)return null;var n=C(e);for(h(n)&&(n=n.host);p(n)&&["html","body"].indexOf(_(n))<0;){var r=E(n);if("none"!==r.transform||"none"!==r.perspective||"paint"===r.contain||-1!==["transform","perspective"].indexOf(r.willChange)||t&&"filter"===r.willChange||t&&r.filter&&"none"!==r.filter)return n;n=n.parentNode}return null}(e)||t}var U="top",I="bottom",D="right",R="left",L="auto",F=[U,I,D,R],B="start",W="end",q="viewport",Z="popper",H=F.reduce((function(e,t){return e.concat([t+"-"+B,t+"-"+W])}),[]),Y=[].concat(F,[L]).reduce((function(e,t){return e.concat([t,t+"-"+B,t+"-"+W])}),[]),V=["beforeRead","read","afterRead","beforeMain","main","afterMain","beforeWrite","write","afterWrite"];function $(e){var t=new Map,n=new Set,r=[];function o(e){n.add(e.name),[].concat(e.requires||[],e.requiresIfExists||[]).forEach((function(e){if(!n.has(e)){var r=t.get(e);r&&o(r)}})),r.push(e)}return e.forEach((function(e){t.set(e.name,e)})),e.forEach((function(e){n.has(e.name)||o(e)})),r}function J(e){var t;return function(){return t||(t=new Promise((function(n){Promise.resolve().then((function(){t=void 0,n(e())}))}))),t}}var G={placement:"bottom",modifiers:[],strategy:"absolute"};function K(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return!t.some((function(e){return!(e&&"function"===typeof e.getBoundingClientRect)}))}function Q(e){void 0===e&&(e={});var t=e,n=t.defaultModifiers,r=void 0===n?[]:n,o=t.defaultOptions,i=void 0===o?G:o;return function(e,t,n){void 0===n&&(n=i);var o={placement:"bottom",orderedModifiers:[],options:Object.assign({},G,i),modifiersData:{},elements:{reference:e,popper:t},attributes:{},styles:{}},a=[],s=!1,u={state:o,setOptions:function(n){var s="function"===typeof n?n(o.options):n;
vendor: 4,020 bytes, line 1
1l(),o.options=Object.assign({},i,o.options,s),o.scrollParents={reference:d(e)?A(e):e.contextElement?A(e.contextElement):[],popper:A(t)};var c=function(e){var t=$(e);return V.reduce((function(e,n){return e.concat(t.filter((function(e){return e.phase===n})))}),[])}(function(e){var t=e.reduce((function(e,t){var n=e[t.name];return e[t.name]=n?Object.assign({},n,t,{options:Object.assign({},n.options,t.options),data:Object.assign({},n.data,t.data)}):t,e}),{});return Object.keys(t).map((function(e){return t[e]}))}([].concat(r,o.options.modifiers)));return o.orderedModifiers=c.filter((function(e){return e.enabled})),o.orderedModifiers.forEach((function(e){var t=e.name,n=e.options,r=void 0===n?{}:n,i=e.effect;if("function"===typeof i){var s=i({state:o,name:t,instance:u,options:r}),l=function(){};a.push(s||l)}})),u.update()},forceUpdate:function(){if(!s){var e=o.elements,t=e.reference,n=e.popper;if(K(t,n)){o.rects={reference:T(t,M(n),"fixed"===o.options.strategy),popper:N(n)},o.reset=!1,o.placement=o.options.placement,o.orderedModifiers.forEach((function(e){return o.modifiersData[e.name]=Object.assign({},e.data)}));for(var r=0;r<o.orderedModifiers.length;r++)if(!0!==o.reset){var i=o.orderedModifiers[r],a=i.fn,l=i.options,c=void 0===l?{}:l,f=i.name;"function"===typeof a&&(o=a({state:o,options:c,name:f,instance:u})||o)}else o.reset=!1,r=-1}}},update:J((function(){return new Promise((function(e){u.forceUpdate(),e(o)}))})),destroy:function(){l(),s=!0}};if(!K(e,t))return u;function l(){a.forEach((function(e){return e()})),a=[]}return u.setOptions(n).then((function(e){!s&&n.onFirstUpdate&&n.onFirstUpdate(e)})),u}}var X={passive:!0};function ee(e){return e.split("-")[0]}function te(e){return e.split("-")[1]}function ne(e){return["top","bottom"].indexOf(e)>=0?"x":"y"}function re(e){var t,n=e.reference,r=e.element,o=e.placement,i=o?ee(o):null,a=o?te(o):null,s=n.x+n.width/2-r.width/2,u=n.y+n.height/2-r.height/2;switch(i){case U:t={x:s,y:n.y-r.height};break;case I:t={x:s,y:n.y+n.height};break;case D:t={x:n.x+n.width,y:u};break;case R:t={x:n.x-r.width,y:u};break;default:t={x:n.x,y:n.y}}var l=i?ne(i):null;if(null!=l){var c="y"===l?"height":"width";switch(a){case B:t[l]=t[l]-(n[c]/2-r[c]/2);break;case W:t[l]=t[l]+(n[c]/2-r[c]/2)}}return t}var oe={top:"auto",right:"auto",bottom:"auto",left:"auto"};function ie(e){var t,n=e.popper,r=e.popperRect,o=e.placement,i=e.variation,a=e.offsets,s=e.position,u=e.gpuAcceleration,l=e.adaptive,c=e.roundOffsets,d=e.isFixed,p=a.x,h=void 0===p?0:p,m=a.y,v=void 0===m?0:m,y="function"===typeof c?c({x:h,y:v}):{x:h,y:v};h=y.x,v=y.y;var b=a.hasOwnProperty("x"),w=a.hasOwnProperty("y"),x=R,_=U,S=window;if(l){var O=M(n),T="clientHeight",N="clientWidth";if(O===f(n)&&"static"!==E(O=j(n)).position&&"absolute"===s&&(T="scrollHeight",N="scrollWidth"),o===U||(o===R||o===D)&&i===W)_=I,v-=(d&&O===S&&S.visualViewport?S.visualViewport.height:O[T])-r.height,v*=u?1:-1;if(o===R||(o===U||o===I)&&i===W)x=D,h-=(d&&O===S&&S.visualViewport?S.visualViewport.width:O[N])-r.width,h*=u?1:-1}var C,k=Object.assign({position:s},l&&oe),A=!0===c?function(e){var t=e.x,n=e.y,r=window.devicePixelRatio||1;return{x:g(t*r)/r||0,y:g(n*r)/r||0}}({x:h,y:v}):{x:h,y:v};return h=A.x,v=A.y,u?Object.assign({},k,((C={})[_]=w?"0":"",C[x]=b?"0":"",C.transform=(S.devicePixelRatio||1)<=1?"translate("+h+"px, "+v+"px)":"translate3d("+h+"px, "+v+"px, 0)",C)):Object.assign({},k,((t={})[_]=w?v+"px":"",t[x]=b?h+"px":"",t.transform="",t))}var ae={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:function(e){var t=e.state,n=e.options,r=e.name,o=n.offset,i=void 0===o?[0,0]:o,a=Y.reduce((function(e,n){return e[n]=function(e,t,n){var r=ee(e),o=[R,U].indexOf(r)>=0?-1:1,i="function"===typeof n?n(Object.assign({},t,{placement:e})):n,a=i[0],s=i[1];return a=a||0,s=(s||0)*o,[R,D].indexOf(r)>=0?{x:s,y:a}:{x:a,y:s}}(n,t.rects,i),e}),{}),s=a[t.placement],u=s.x,l=s.y;null!=t.modifiersData.popperOffsets&&(t.modifiersData.popperOffsets.x+=u,t.modifiersData.popperOffsets.y+=l),t.modifiersData[r]=a}}
vendor: 4,294 bytes, line 1
1,se={left:"right",right:"left",bottom:"top",top:"bottom"};function ue(e){return e.replace(/left|right|bottom|top/g,(function(e){return se[e]}))}var le={start:"end",end:"start"};function ce(e){return e.replace(/start|end/g,(function(e){return le[e]}))}function fe(e,t){var n=t.getRootNode&&t.getRootNode();if(e.contains(t))return!0;if(n&&h(n)){var r=t;do{if(r&&e.isSameNode(r))return!0;r=r.parentNode||r.host}while(r)}return!1}function de(e){return Object.assign({},e,{left:e.x,top:e.y,right:e.x+e.width,bottom:e.y+e.height})}function pe(e,t,n){return t===q?de(function(e,t){var n=f(e),r=j(e),o=n.visualViewport,i=r.clientWidth,a=r.clientHeight,s=0,u=0;if(o){i=o.width,a=o.height;var l=b();(l||!l&&"fixed"===t)&&(s=o.offsetLeft,u=o.offsetTop)}return{width:i,height:a,x:s+S(e),y:u}}(e,n)):d(t)?function(e,t){var n=w(e,!1,"fixed"===t);return n.top=n.top+e.clientTop,n.left=n.left+e.clientLeft,n.bottom=n.top+e.clientHeight,n.right=n.left+e.clientWidth,n.width=e.clientWidth,n.height=e.clientHeight,n.x=n.left,n.y=n.top,n}(t,n):de(function(e){var t,n=j(e),r=x(e),o=null==(t=e.ownerDocument)?void 0:t.body,i=m(n.scrollWidth,n.clientWidth,o?o.scrollWidth:0,o?o.clientWidth:0),a=m(n.scrollHeight,n.clientHeight,o?o.scrollHeight:0,o?o.clientHeight:0),s=-r.scrollLeft+S(e),u=-r.scrollTop;return"rtl"===E(o||n).direction&&(s+=m(n.clientWidth,o?o.clientWidth:0)-i),{width:i,height:a,x:s,y:u}}(j(e)))}function he(e,t,n,r){var o="clippingParents"===t?function(e){var t=A(C(e)),n=["absolute","fixed"].indexOf(E(e).position)>=0&&p(e)?M(e):e;return d(n)?t.filter((function(e){return d(e)&&fe(e,n)&&"body"!==_(e)})):[]}(e):[].concat(t),i=[].concat(o,[n]),a=i[0],s=i.reduce((function(t,n){var o=pe(e,n,r);return t.top=m(o.top,t.top),t.right=v(o.right,t.right),t.bottom=v(o.bottom,t.bottom),t.left=m(o.left,t.left),t}),pe(e,a,r));return s.width=s.right-s.left,s.height=s.bottom-s.top,s.x=s.left,s.y=s.top,s}function me(e){return Object.assign({},{top:0,right:0,bottom:0,left:0},e)}function ve(e,t){return t.reduce((function(t,n){return t[n]=e,t}),{})}function ge(e,t){void 0===t&&(t={});var n=t,r=n.placement,o=void 0===r?e.placement:r,i=n.strategy,a=void 0===i?e.strategy:i,s=n.boundary,u=void 0===s?"clippingParents":s,l=n.rootBoundary,c=void 0===l?q:l,f=n.elementContext,p=void 0===f?Z:f,h=n.altBoundary,m=void 0!==h&&h,v=n.padding,g=void 0===v?0:v,y=me("number"!==typeof g?g:ve(g,F)),b=p===Z?"reference":Z,x=e.rects.popper,_=e.elements[m?b:p],S=he(d(_)?_:_.contextElement||j(e.elements.popper),u,c,a),E=w(e.elements.reference),O=re({reference:E,element:x,strategy:"absolute",placement:o}),T=de(Object.assign({},x,O)),N=p===Z?T:E,C={top:S.top-N.top+y.top,bottom:N.bottom-S.bottom+y.bottom,left:S.left-N.left+y.left,right:N.right-S.right+y.right},k=e.modifiersData.offset;if(p===Z&&k){var A=k[o];Object.keys(C).forEach((function(e){var t=[D,I].indexOf(e)>=0?1:-1,n=[U,I].indexOf(e)>=0?"y":"x";C[e]+=A[n]*t}))}return C}function ye(e,t,n){return m(e,v(t,n))}var be={name:"preventOverflow",enabled:!0,phase:"main",fn:function(e){var t=e.state,n=e.options,r=e.name,o=n.mainAxis,i=void 0===o||o,a=n.altAxis,s=void 0!==a&&a,u=n.boundary,l=n.rootBoundary,c=n.altBoundary,f=n.padding,d=n.tether,p=void 0===d||d,h=n.tetherOffset,g=void 0===h?0:h,y=ge(t,{boundary:u,rootBoundary:l,padding:f,altBoundary:c}),b=ee(t.placement),w=te(t.placement),x=!w,_=ne(b),j="x"===_?"y":"x",S=t.modifiersData.popperOffsets,E=t.rects.reference,O=t.rects.popper,T="function"===typeof g?g(Object.assign({},t.rects,{placement:t.placement})):g,C="number"===typeof T?{mainAxis:T,altAxis:T}:Object.assign({mainAxis:0,altAxis:0},T),k=t.modifiersData.offset?t.modifiersData.offset[t.placement]:null,A={x:0,y:0};if(S){if(i){var P,z="y"===_?U:R,L="y"===_?I:D,F="y"===_?"height":"width",W=S[_],q=W+y[z],Z=W-y[L],H=p?-O[F]/2:0,Y=w===B?E[F]:O[F],V=w===B?-O[F]:-E[F],$=t.elements.arrow,J=p&&$?N($):{width:0,height:0},G=t.modifiersData["arrow#persistent"]?t.modifiersData["arrow#persistent"].padding:{top:0,right:0,bottom:0,left:0},K=G[z],Q=G[L],X=ye(0,E[F],J[F]),re=x?E[F]/2-H-X-K-C.mainAxis:Y-X-K-C.mainAxis,oe=x?-E[F]/2+H+X+Q+C.mainAxis:V+X+Q+C.mainAxis,ie=t.elements.arrow&&M(t.elements.arrow),ae=ie?"y"===_?ie.clientTop||0:ie.clientLeft||0:0,se=null!=(P=null==k?void 0:k[_])?P:0,ue=W+oe-se,le=ye(p?v(q,W+re-se-ae):q,W,p?m(Z,ue):Z);S[_]=le,A[_]=le-W}
vendor: 10,121 bytes, line 1
1if(s){var ce,fe="x"===_?U:R,de="x"===_?I:D,pe=S[j],he="y"===j?"height":"width",me=pe+y[fe],ve=pe-y[de],be=-1!==[U,R].indexOf(b),we=null!=(ce=null==k?void 0:k[j])?ce:0,xe=be?me:pe-E[he]-O[he]-we+C.altAxis,_e=be?pe+E[he]+O[he]-we-C.altAxis:ve,je=p&&be?function(e,t,n){var r=ye(e,t,n);return r>n?n:r}(xe,pe,_e):ye(p?xe:me,pe,p?_e:ve);S[j]=je,A[j]=je-pe}t.modifiersData[r]=A}},requiresIfExists:["offset"]};var we={name:"arrow",enabled:!0,phase:"main",fn:function(e){var t,n=e.state,r=e.name,o=e.options,i=n.elements.arrow,a=n.modifiersData.popperOffsets,s=ee(n.placement),u=ne(s),l=[R,D].indexOf(s)>=0?"height":"width";if(i&&a){var c=function(e,t){return me("number"!==typeof(e="function"===typeof e?e(Object.assign({},t.rects,{placement:t.placement})):e)?e:ve(e,F))}(o.padding,n),f=N(i),d="y"===u?U:R,p="y"===u?I:D,h=n.rects.reference[l]+n.rects.reference[u]-a[u]-n.rects.popper[l],m=a[u]-n.rects.reference[u],v=M(i),g=v?"y"===u?v.clientHeight||0:v.clientWidth||0:0,y=h/2-m/2,b=c[d],w=g-f[l]-c[p],x=g/2-f[l]/2+y,_=ye(b,x,w),j=u;n.modifiersData[r]=((t={})[j]=_,t.centerOffset=_-x,t)}},effect:function(e){var t=e.state,n=e.options.element,r=void 0===n?"[data-popper-arrow]":n;null!=r&&("string"!==typeof r||(r=t.elements.popper.querySelector(r)))&&fe(t.elements.popper,r)&&(t.elements.arrow=r)},requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function xe(e,t,n){return void 0===n&&(n={x:0,y:0}),{top:e.top-t.height-n.y,right:e.right-t.width+n.x,bottom:e.bottom-t.height+n.y,left:e.left-t.width-n.x}}function _e(e){return[U,D,I,R].some((function(t){return e[t]>=0}))}var je=Q({defaultModifiers:[{name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:function(e){var t=e.state,n=e.instance,r=e.options,o=r.scroll,i=void 0===o||o,a=r.resize,s=void 0===a||a,u=f(t.elements.popper),l=[].concat(t.scrollParents.reference,t.scrollParents.popper);return i&&l.forEach((function(e){e.addEventListener("scroll",n.update,X)})),s&&u.addEventListener("resize",n.update,X),function(){i&&l.forEach((function(e){e.removeEventListener("scroll",n.update,X)})),s&&u.removeEventListener("resize",n.update,X)}},data:{}},{name:"popperOffsets",enabled:!0,phase:"read",fn:function(e){var t=e.state,n=e.name;t.modifiersData[n]=re({reference:t.rects.reference,element:t.rects.popper,strategy:"absolute",placement:t.placement})},data:{}},{name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:function(e){var t=e.state,n=e.options,r=n.gpuAcceleration,o=void 0===r||r,i=n.adaptive,a=void 0===i||i,s=n.roundOffsets,u=void 0===s||s,l={placement:ee(t.placement),variation:te(t.placement),popper:t.elements.popper,popperRect:t.rects.popper,gpuAcceleration:o,isFixed:"fixed"===t.options.strategy};null!=t.modifiersData.popperOffsets&&(t.styles.popper=Object.assign({},t.styles.popper,ie(Object.assign({},l,{offsets:t.modifiersData.popperOffsets,position:t.options.strategy,adaptive:a,roundOffsets:u})))),null!=t.modifiersData.arrow&&(t.styles.arrow=Object.assign({},t.styles.arrow,ie(Object.assign({},l,{offsets:t.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:u})))),t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-placement":t.placement})},data:{}},{name:"applyStyles",enabled:!0,phase:"write",fn:function(e){var t=e.state;Object.keys(t.elements).forEach((function(e){var n=t.styles[e]||{},r=t.attributes[e]||{},o=t.elements[e];p(o)&&_(o)&&(Object.assign(o.style,n),Object.keys(r).forEach((function(e){var t=r[e];!1===t?o.removeAttribute(e):o.setAttribute(e,!0===t?"":t)})))}))},effect:function(e){var t=e.state,n={popper:{position:t.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(t.elements.popper.style,n.popper),t.styles=n,t.elements.arrow&&Object.assign(t.elements.arrow.style,n.arrow),function(){Object.keys(t.elements).forEach((function(e){var r=t.elements[e],o=t.attributes[e]||{},i=Object.keys(t.styles.hasOwnProperty(e)?t.styles[e]:n[e]).reduce((function(e,t){return e[t]="",e}),{});p(r)&&_(r)&&(Object.assign(r.style,i),Object.keys(o).forEach((function(e){r.removeAttribute(e)})))}))}},requires:["computeStyles"]},ae,{name:"flip",enabled:!0,phase:"main",fn:function(e){var t=e.state,n=e.options,r=e.name;if(!t.modifiersData[r]._skip){for(var o=n.mainAxis,i=void 0===o||o,a=n.altAxis,s=void 0===a||a,u=n.fallbackPlacements,l=n.padding,c=n.boundary,f=n.rootBoundary,d=n.altBoundary,p=n.flipVariations,h=void 0===p||p,m=n.allowedAutoPlacements,v=t.options.placement,g=ee(v),y=u||(g===v||!h?[ue(v)]:function(e){if(ee(e)===L)return[];var t=ue(e);return[ce(e),t,ce(t)]}(v)),b=[v].concat(y).reduce((function(e,n){return e.concat(ee(n)===L?function(e,t){void 0===t&&(t={});var n=t,r=n.placement,o=n.boundary,i=n.rootBoundary,a=n.padding,s=n.flipVariations,u=n.allowedAutoPlacements,l=void 0===u?Y:u,c=te(r),f=c?s?H:H.filter((function(e){return te(e)===c})):F,d=f.filter((function(e){return l.indexOf(e)>=0}));0===d.length&&(d=f);var p=d.reduce((function(t,n){return t[n]=ge(e,{placement:n,boundary:o,rootBoundary:i,padding:a})[ee(n)],t}),{});return Object.keys(p).sort((function(e,t){return p[e]-p[t]}))}(t,{placement:n,boundary:c,rootBoundary:f,padding:l,flipVariations:h,allowedAutoPlacements:m}):n)}),[]),w=t.rects.reference,x=t.rects.popper,_=new Map,j=!0,S=b[0],E=0;E<b.length;E++){var O=b[E],T=ee(O),N=te(O)===B,C=[U,I].indexOf(T)>=0,k=C?"width":"height",A=ge(t,{placement:O,boundary:c,rootBoundary:f,altBoundary:d,padding:l}),P=C?N?D:R:N?I:U;w[k]>x[k]&&(P=ue(P));var z=ue(P),M=[];if(i&&M.push(A[T]<=0),s&&M.push(A[P]<=0,A[z]<=0),M.every((function(e){return e}))){S=O,j=!1;break}_.set(O,M)}if(j)for(var W=function(e){var t=b.find((function(t){var n=_.get(t);if(n)return n.slice(0,e).every((function(e){return e}))}));if(t)return S=t,"break"},q=h?3:1;q>0;q--){if("break"===W(q))break}t.placement!==S&&(t.modifiersData[r]._skip=!0,t.placement=S,t.reset=!0)}},requiresIfExists:["offset"],data:{_skip:!1}},be,we,{name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:function(e){var t=e.state,n=e.name,r=t.rects.reference,o=t.rects.popper,i=t.modifiersData.preventOverflow,a=ge(t,{elementContext:"reference"}),s=ge(t,{altBoundary:!0}),u=xe(a,r),l=xe(s,o,i),c=_e(u),f=_e(l);t.modifiersData[n]={referenceClippingOffsets:u,popperEscapeOffsets:l,isReferenceHidden:c,hasPopperEscaped:f},t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-reference-hidden":c,"data-popper-escaped":f})}}]}),Se=n(34688),Ee=n.n(Se),Oe=function(e){return e.reduce((function(e,t){var n=t[0],r=t[1];return e[n]=r,e}),{})},Te="undefined"!==typeof window&&window.document&&window.document.createElement?i.useLayoutEffect:i.useEffect,Ne=[],Ce=function(e,t,n){void 0===n&&(n={});var r=i.useRef(null),o={onFirstUpdate:n.onFirstUpdate,placement:n.placement||"bottom",strategy:n.strategy||"absolute",modifiers:n.modifiers||Ne},a=i.useState({styles:{popper:{position:o.strategy,left:"0",top:"0"},arrow:{position:"absolute"}},attributes:{}}),s=a[0],u=a[1],l=i.useMemo((function(){return{name:"updateState",enabled:!0,phase:"write",fn:function(e){var t=e.state,n=Object.keys(t.elements);c.flushSync((function(){u({styles:Oe(n.map((function(e){return[e,t.styles[e]||{}]}))),attributes:Oe(n.map((function(e){return[e,t.attributes[e]]})))})}))},requires:["computeStyles"]}}),[]),f=i.useMemo((function(){var e={onFirstUpdate:o.onFirstUpdate,placement:o.placement,strategy:o.strategy,modifiers:[].concat(o.modifiers,[l,{name:"applyStyles",enabled:!1}])};return Ee()(r.current,e)?r.current||e:(r.current=e,e)}),[o.onFirstUpdate,o.placement,o.strategy,o.modifiers,l]),d=i.useRef();return Te((function(){d.current&&d.current.setOptions(f)}),[f]),Te((function(){if(null!=e&&null!=t){var r=(n.createPopper||je)(e,t,f);return d.current=r,function(){r.destroy(),d.current=null}}}),[e,t,n.createPopper]),{state:d.current?d.current.state:null,styles:s.styles,attributes:s.attributes,update:d.current?d.current.update:null,forceUpdate:d.current?d.current.forceUpdate:null}},ke=n(41339),Ae=n(62044),Pe=n(50744),ze=n.n(Pe),Me={src:"/_next/static/media/app_ios.1ed9e534.svg",height:48,width:155},Ue={src:"/_next/static/media/app_android.c52f7d81.svg",height:48,width:155},Ie={src:"/_next/static/media/app_ios_light.69857d2e.svg",height:48,width:155},De={src:"/_next/static/media/app_android_light.436ed7cd.svg",height:48,width:155},Re={src:"/_next/static/media/qr-code-as.0d638464.png",height:1127,width:1127,blurDataURL:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAgAAAAICAMAAADz0U65AAAANlBMVEWysrKVlZVpaGeNjY17fH5xcG+dnp6oqKijo6OGh4lZWFZpcHlcYmpQdKiMkppvksNkhrfi4uLW19ZKAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAOklEQVR4nAXBBwKAMAgAsWMV6FL//1kTSqjKkSCi6l1gvZdFMqY/74pBaZ+zQyD8XjcY1tNDk4SG/H411wGFXGOTqAAAAABJRU5ErkJggg==",blurWidth:8,blurHeight:8},Le={src:"/_next/static/media/qr-code-gp.7a0f90bb.png",height:1113,width:1113,blurDataURL:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAgAAAAICAMAAADz0U65AAAANlBMVEVmZmRxeoezs7OBgH+cnJxzc3KRkZKoqKiioqO7u7t6eXiGhodhhrlpcn93gIxtj8JSd6xNTEwHVnEwAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAPElEQVR4nBXGRxKAMAwAsY3jmgr//yyDTiKy0iUD6WYMgnTasbdw9rqNINjr+SPT95lDCWP0jhJZparyATn+AZhyyWiKAAAAAElFTkSuQmCC",blurWidth:8,blurHeight:8},Fe="https://itunes.apple.com/app/firstrade/id405325225?mt=8",Be="https://play.google.com/store/apps/details?id=com.firstrade.android";function We(e){var t=e.isDark,n=e.vertical,a=e.showQRCode,u=e.className,l=(0,Ae.Z)("mobile-download"),c=l.t,f=l.lang,d=(0,r.Z)(i.useState(null),2),p=d[0],h=d[1],m=(0,r.Z)(i.useState(null),2),v=m[0],g=m[1],y=Ce(p,v,{placement:"left",modifiers:[{name:"offset",options:{offset:[-16,8]}}]}),b=y.styles,w=y.attributes,x=(0,r.Z)(i.useState(null),2),_=x[0],j=x[1],S=(0,r.Z)(i.useState(null),2),E=S[0],O=S[1],T=Ce(_,E,{placement:"right",modifiers:[{name:"offset",options:{offset:[-16,8]}}]}),N=T.styles,C=T.attributes,k=(0,r.Z)(i.useState(!1),2),A=k[0],P=k[1],z=(0,r.Z)(i.useState(!1),2),M=z[0],U=z[1],I=i.useCallback((function(){P(!0)}),[P]),D=i.useCallback((function(){P(!1)}),[P]),R=i.useCallback((function(){U(!0)}),[U]),L=i.useCallback((function(){U(!1)}),[U]);return(0,o.jsx)("div",{className:ze()("flex flex-col items-center justify-around ga
1p-2.5 lg:flex-row lg:justify-start",u),children:(0,o.jsxs)("div",{className:n?"grid grid-rows-2  gap-2.5":"grid max-w-max grid-cols-2 gap-2.5",children:[(0,o.jsxs)("div",{children:[(0,o.jsx)("a",{"aria-label":"Firstrade iOS App",href:Fe,target:"_blank",rel:"noopener noreferrer",className:"flex rounded-md outline-2 outline-offset-2",onMouseEnter:I,onMouseLeave:D,ref:h,children:(0,o.jsx)(s(),{alt:"Firstrade iOS App",src:t?Me:Ie,width:155,height:48})}),A&&a&&("zh-CN"===f||"zh-TW"===f)&&(0,o.jsx)(ke.J,{className:"relative",children:(0,o.jsxs)(ke.J.Panel,{static:!0,className:"absolute z-10 bg-white",ref:g,style:b.popper,"data-popper-escaped":w["data-popper-escaped"],"data-popper-placement":w["data-popper-placement"],"data-popper-reference-hidden":w["data-popper-reference-hidden"],children:[(0,o.jsx)("div",{className:"flex items-center justify-center py-1.5 text-sm text-ft-slate",children:c("Scan to download")}),(0,o.jsx)(s(),{alt:"iOS App QR code",src:Re,width:120,height:120})]})})]}),(0,o.jsxs)("div",{children:[(0,o.jsx)("a",{"aria-label":"Firstrade Android App",href:Be,target:"_blank",rel:"noopener noreferrer",className:"flex rounded-md outline-2 outline-offset-2",onMouseEnter:R,onMouseLeave:L,ref:j,children:(0,o.jsx)(s(),{alt:"Firstrade Android App",src:t?Ue:De,width:155,height:48})}),M&&a&&("zh-CN"===f||"zh-TW"===f)&&(0,o.jsx)(ke.J,{className:"relative",children:(0,o.jsxs)(ke.J.Panel,{static:!0,className:"absolute z-10 bg-white",ref:O,style:N.popper,"data-popper-escaped":C["data-popper-escaped"],"data-popper-placement":C["data-popper-placement"],"data-popper-reference-hidden":C["data-popper-reference-hidden"],children:[(0,o.jsx)("div",{className:"flex items-center justify-center py-1.5 text-sm text-ft-slate",children:c("Scan to download")}),(0,o.jsx)(s(),{alt:"iOS App QR code",src:Le,width:120,height:120})]})})]})]})})}We.defaultProps={isDark:!0,vertical:!1,showQRCode:!1},We.propTypes={isDark:l().bool,vertical:l().bool,showQRCode:l().bool};var qe=We},94692:function(e,t,n){"use strict";n.d(t,{Z:function(){return f}});var r=n(12042),o=n(99728),i=n(27427),a=n(8014),s=n(56168),u=n(75657),l=n.n(u);function c(e,t){var n=e.href,s=e.children,u=(0,i.Z)(e,["href","children"]);return(/^https?:\/\//.test(n)&&!/www.firstrade|invest.firstrade|signup.firstrade/.test(n)||/.xls|.csv|.pdf|.xml|.doc/.test(n))&&(u.target="_blank",u.rel="noopener noreferrer"),(0,a.jsx)(l(),{href:n,legacyBehavior:!0,children:(0,a.jsx)("a",(0,o.Z)((0,r.Z)({ref:t},u),{children:s}))})}var f=(0,s.forwardRef)(c)},57919:function(e){"use strict";e.exports={locales:["en-US","zh-CN","zh-TW"],defaultLocale:"en-US",pages:{"*":["common","error","mobile-download","accolades"],"/":["home","accolades","promos","overnight-trading"],"/trading":["trading"],"/trading/options":["options","commission-table"],"/trading/margin-loans":["margin-loans","margin-rates-table"],"/trading/pricing":["pricing","pricing-tabs"],"/trading/pricing/margin-rates":["pricing","margin_rates","margin-rates-table","pricing-tabs"],"/trading/pricing/special-services":["pricing","special_services","pricing-tabs"],"/trading/pricing/broker-comparison":["pricing","broker","commission-table","pricing-tabs"],"/trading/etfs":["etfs"],"/trading/stocks":["stocks","promos"],"/trading/mutual-funds":["mutual-funds"],"/trading/fixed-income":["fixed-income"],"/trading/fractional-shares":["fractional-shares"],"/trading/dividend-reinvestment":["dividend-reinvestment","sidebars"],"/trading/extended-hours":["extended-hours","sidebars","overnight-trading"],"/trading/cash-management":["cma"],"/trading/securities-lending":["securities-lending"],"/trading/overnight-trading":["overnight-trading"],"/accounts/brokerage":["brokerage"],"/accounts/ira-match":["accolades","landing","promos"],"/accounts/referral":["referral","accolades-page","accolades"],"/accounts/retirement":["retirement","retirement-calculator"],"/accounts/retirement/ira":["ira"],"/accounts/retirement/roth":["rothira"],"/accounts/retirement/traditional-vs-roth":["traditional-vs-roth-ira"],"/accounts/retirement/tax-free-vs-tax-deferred":["tax"],"/accounts/retirement/rollover":["rolloverira","rollover401k"],"/accounts/retirement/rollover-401k":["rollover401k"],"/accounts/international":["international"],"/accounts/education":["educationplanning"],"/accounts/business":["businessplanning"],"/accounts/promos":["home","promos","promocashbonus","ira-landing","traditional-vs-roth-ira","pricing"],"/accounts/wire-fee-rebate":["wirefeerebate"],"/accounts/acat-transfer":["freeacat","commission-table"],"/about":["about","about-tab-nav"],"/firstradegpt":["firstradegpt"],"/history":["history","about-tab-nav"],"/corporate-responsibility":["corporate-responsibility","about-tab-nav"],"/press":["press","about-tab-nav"],"/press/[slug]":["press","about-tab-nav"],"/resources/accolades":["accolades-page"],"/resources/guides":["education","video"],"/resources/guides/stocks/[slug]":["edu-stocks-slug","video"],"/resources/guides/options/[slug]":["edu-options-slug","video"],"/resources/guides/options/understanding-stock-market-volatility":["market-volatility"],"/resources/guides/etfs/[slug]":["edu-etfs-slug","video"],"/resources/guides/fixed-income/[slug]":["edu-fixed-income-slug","video"],"/resources/guides/margin":["edu-margin-loans","video"],"/resources/guides/margin/[slug]":["edu-margin-slug","video"],"/resources/guides/mutual-funds/[slug]":["edu-mutual-funds-slug","video"],"/resources/guides/glossary/[slug]":["glossaryslug"],"/resources/webinars":["events"],"/resources/options-wizard":["options-wizard"],"/resources/mobile":["mobile","video"],"/resources/upcoming-ipo":["upcoming-ipo"],"/resources/research-tools":["research-tools"],"/resources/tax-center":["tax-center","tax-center-menu","retirement-calculator"],"/resources/tax-center/w8ben":["w8ben"],"/resources/tax-center/[...slug]":["tax-center-menu","tax-center-slug"],"/support/forms":["formcenter"],"/support/funding":["funding"],"/support/funding/wire":["funding"],"/support/funding/acat":["funding"],"/support/funding/check":["funding"],"/support/contact/email":["email"],"/support/contact":["contact"],"/support/security-center/[slug]":["security-center-slug"],"/support/security-center/security-you-can-trust":["security-you-can-trust"],"/landing/branding1":["landing","branding1","promos"],"/landing/branding2":["landing","branding2","branding1","promos"],"/landing/cma":["landing","cma-landing","branding1","cma"],"/landing/ira":["landing","ira-landing","traditional-vs-roth-ira"],"/landing/transfer":["landing","transfer","branding1","freeacat","accolades"],"/careers":["careers"],"/mobile-login":["mobile-login","home"]}}},65954:function(e,t,n){"use strict";n.d(t,{_i:function(){return st},WY:function(){return ot},s1:function(){return it}});var r=n(43692),o=n(12042),i=n(99728),a=n(27427),s=n(61557);function u(e,t){return function(){return e.apply(t,arguments)}}const{toString:l}=Object.prototype,{getPrototypeOf:c}=Object,f=(d=Object.create(null),e=>{const t=l.call(e);return d[t]||(d[t]=t.slice(8,-1).toLowerCase())});var d;const p=e=>(e=e.toLowerCase(),t=>f(t)===e),h=e=>t=>typeof t===e,{isArray:m}=Array,v=h("undefined");const g=p("ArrayBuffer");
vendor: 4,105 bytes, line 1
1const y=h("string"),b=h("function"),w=h("number"),x=e=>null!==e&&"object"===typeof e,_=e=>{if("object"!==f(e))return!1;const t=c(e);return(null===t||t===Object.prototype||null===Object.getPrototypeOf(t))&&!(Symbol.toStringTag in e)&&!(Symbol.iterator in e)},j=p("Date"),S=p("File"),E=p("Blob"),O=p("FileList"),T=p("URLSearchParams");function N(e,t,{allOwnKeys:n=!1}={}){if(null===e||"undefined"===typeof e)return;let r,o;if("object"!==typeof e&&(e=[e]),m(e))for(r=0,o=e.length;r<o;r++)t.call(null,e[r],r,e);else{const o=n?Object.getOwnPropertyNames(e):Object.keys(e),i=o.length;let a;for(r=0;r<i;r++)a=o[r],t.call(null,e[a],a,e)}}function C(e,t){t=t.toLowerCase();const n=Object.keys(e);let r,o=n.length;for(;o-- >0;)if(r=n[o],t===r.toLowerCase())return r;return null}const k="undefined"!==typeof globalThis?globalThis:"undefined"!==typeof self?self:"undefined"!==typeof window?window:global,A=e=>!v(e)&&e!==k;const P=(z="undefined"!==typeof Uint8Array&&c(Uint8Array),e=>z&&e instanceof z);var z;const M=p("HTMLFormElement"),U=(({hasOwnProperty:e})=>(t,n)=>e.call(t,n))(Object.prototype),I=p("RegExp"),D=(e,t)=>{const n=Object.getOwnPropertyDescriptors(e),r={};N(n,((n,o)=>{!1!==t(n,o,e)&&(r[o]=n)})),Object.defineProperties(e,r)};var R={isArray:m,isArrayBuffer:g,isBuffer:function(e){return null!==e&&!v(e)&&null!==e.constructor&&!v(e.constructor)&&b(e.constructor.isBuffer)&&e.constructor.isBuffer(e)},isFormData:e=>{const t="[object FormData]";return e&&("function"===typeof FormData&&e instanceof FormData||l.call(e)===t||b(e.toString)&&e.toString()===t)},isArrayBufferView:function(e){let t;return t="undefined"!==typeof ArrayBuffer&&ArrayBuffer.isView?ArrayBuffer.isView(e):e&&e.buffer&&g(e.buffer),t},isString:y,isNumber:w,isBoolean:e=>!0===e||!1===e,isObject:x,isPlainObject:_,isUndefined:v,isDate:j,isFile:S,isBlob:E,isRegExp:I,isFunction:b,isStream:e=>x(e)&&b(e.pipe),isURLSearchParams:T,isTypedArray:P,isFileList:O,forEach:N,merge:function e(){const{caseless:t}=A(this)&&this||{},n={},r=(r,o)=>{const i=t&&C(n,o)||o;_(n[i])&&_(r)?n[i]=e(n[i],r):_(r)?n[i]=e({},r):m(r)?n[i]=r.slice():n[i]=r};for(let o=0,i=arguments.length;o<i;o++)arguments[o]&&N(arguments[o],r);return n},extend:(e,t,n,{allOwnKeys:r}={})=>(N(t,((t,r)=>{n&&b(t)?e[r]=u(t,n):e[r]=t}),{allOwnKeys:r}),e),trim:e=>e.trim?e.trim():e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,""),stripBOM:e=>(65279===e.charCodeAt(0)&&(e=e.slice(1)),e),inherits:(e,t,n,r)=>{e.prototype=Object.create(t.prototype,r),e.prototype.constructor=e,Object.defineProperty(e,"super",{value:t.prototype}),n&&Object.assign(e.prototype,n)},toFlatObject:(e,t,n,r)=>{let o,i,a;const s={};if(t=t||{},null==e)return t;do{for(o=Object.getOwnPropertyNames(e),i=o.length;i-- >0;)a=o[i],r&&!r(a,e,t)||s[a]||(t[a]=e[a],s[a]=!0);e=!1!==n&&c(e)}while(e&&(!n||n(e,t))&&e!==Object.prototype);return t},kindOf:f,kindOfTest:p,endsWith:(e,t,n)=>{e=String(e),(void 0===n||n>e.length)&&(n=e.length),n-=t.length;const r=e.indexOf(t,n);return-1!==r&&r===n},toArray:e=>{if(!e)return null;if(m(e))return e;let t=e.length;if(!w(t))return null;const n=new Array(t);for(;t-- >0;)n[t]=e[t];return n},forEachEntry:(e,t)=>{const n=(e&&e[Symbol.iterator]).call(e);let r;for(;(r=n.next())&&!r.done;){const n=r.value;t.call(e,n[0],n[1])}},matchAll:(e,t)=>{let n;const r=[];for(;null!==(n=e.exec(t));)r.push(n);return r},isHTMLForm:M,hasOwnProperty:U,hasOwnProp:U,reduceDescriptors:D,freezeMethods:e=>{D(e,((t,n)=>{if(b(e)&&-1!==["arguments","caller","callee"].indexOf(n))return!1;const r=e[n];b(r)&&(t.enumerable=!1,"writable"in t?t.writable=!1:t.set||(t.set=()=>{throw Error("Can not rewrite read-only method '"+n+"'")}))}))},toObjectSet:(e,t)=>{const n={},r=e=>{e.forEach((e=>{n[e]=!0}))};return m(e)?r(e):r(String(e).split(t)),n},toCamelCase:e=>e.toLowerCase().replace(/[_-\s]([a-z\d])(\w*)/g,(function(e,t,n){return t.toUpperCase()+n})),noop:()=>{},toFiniteNumber:(e,t)=>(e=+e,Number.isFinite(e)?e:t),findKey:C,global:k,isContextDefined:A,toJSONObject:e=>{const t=new Array(10),n=(e,r)=>{if(x(e)){if(t.indexOf(e)>=0)return;if(!("toJSON"in e)){t[r]=e;const o=m(e)?[]:{};return N(e,((e,t)=>
1{const i=n(e,r+1);!v(i)&&(o[t]=i)})),t[r]=void 0,o}}return e};return n(e,0)}};function L(e,t,n,r,o){Error.call(this),Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=(new Error).stack,this.message=e,this.name="AxiosError",t&&(this.code=t),n&&(this.config=n),r&&(this.request=r),o&&(this.response=o)}R.inherits(L,Error,{toJSON:function(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:R.toJSONObject(this.config),code:this.code,status:this.response&&this.response.status?this.response.status:null}}});const F=L.prototype,B={};["ERR_BAD_OPTION_VALUE","ERR_BAD_OPTION","ECONNABORTED","ETIMEDOUT","ERR_NETWORK","ERR_FR_TOO_MANY_REDIRECTS","ERR_DEPRECATED","ERR_BAD_RESPONSE","ERR_BAD_REQUEST","ERR_CANCELED","ERR_NOT_SUPPORT","ERR_INVALID_URL"].forEach((e=>{B[e]={value:e}})),Object.defineProperties(L,B),Object.defineProperty(F,"isAxiosError",{value:!0}),L.from=(e,t,n,r,o,i)=>{const a=Object.create(F);return R.toFlatObject(e,a,(function(e){return e!==Error.prototype}),(e=>"isAxiosError"!==e)),L.call(a,e.message,t,n,r,o),a.cause=e,a.name=e.name,i&&Object.assign(a,i),a};var W=L,q=n(22442),Z=n(45613).lW;function H(e){return R.isPlainObject(e)||R.isArray(e)}function Y(e){return R.endsWith(e,"[]")?e.slice(0,-2):e}function V(e,t,n){return e?e.concat(t).map((function(e,t){return e=Y(e),!n&&t?"["+e+"]":e})).join(n?".":""):t}const $=R.toFlatObject(R,{},null,(function(e){return/^is[A-Z]/.test(e)}));var J=function(e,t,n){if(!R.isObject(e))throw new TypeError("target must be an object");t=t||new(q||FormData);const r=(n=R.toFlatObject(n,{metaTokens:!0,dots:!1,indexes:!1},!1,(function(e,t){return!R.isUndefined(t[e])}))).metaTokens,o=n.visitor||c,i=n.dots,a=n.indexes,s=(n.Blob||"undefined"!==typeof Blob&&Blob)&&((u=t)&&R.isFunction(u.append)&&"FormData"===u[Symbol.toStringTag]&&u[Symbol.iterator]);var u;if(!R.isFunction(o))throw new TypeError("visitor must be a function");function l(e){if(null===e)return"";if(R.isDate(e))return e.toISOString();if(!s&&R.isBlob(e))throw new W("Blob is not supported. Use a Buffer instead.");return R.isArrayBuffer(e)||R.isTypedArray(e)?s&&"function"===typeof Blob?new Blob([e]):Z.from(e):e}function c(e,n,o){let s=e;if(e&&!o&&"object"===typeof e)if(R.endsWith(n,"{}"))n=r?n:n.slice(0,-2),e=JSON.stringify(e);else if(R.isArray(e)&&function(e){return R.isArray(e)&&!e.some(H)}(e)||R.isFileList(e)||R.endsWith(n,"[]")&&(s=R.toArray(e)))return n=Y(n),s.forEach((function(e,r){!R.isUndefined(e)&&null!==e&&t.append(!0===a?V([n],r,i):null===a?n:n+"[]",l(e))})),!1;return!!H(e)||(t.append(V(o,n,i),l(e)),!1)}const f=[],d=Object.assign($,{defaultVisitor:c,convertValue:l,isVisitable:H});if(!R.isObject(e))throw new TypeError("data must be an object");return function e(n,r){if(!R.isUndefined(n)){if(-1!==f.indexOf(n))throw Error("Circular reference detected in "+r.join("."));f.push(n),R.forEach(n,(function(n,i){!0===(!(R.isUndefined(n)||null===n)&&o.call(t,n,R.isString(i)?i.trim():i,r,d))&&e(n,r?r.concat(i):[i])})),f.pop()}}(e),t};function G(e){const t={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(e).replace(/[!'()~]|%20|%00/g,(function(e){return t[e]}))}function K(e,t){this._pairs=[],e&&J(e,this,t)}const Q=K.prototype;Q.append=function(e,t){this._pairs.push([e,t])},Q.toString=function(e){const t=e?function(t){return e.call(this,t,G)}:G;return this._pairs.map((function(e){return t(e[0])+"="+t(e[1])}),"").join("&")};var X=K;function ee(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}function te(e,t,n){if(!t)return e;const r=n&&n.encode||ee,o=n&&n.serialize;let i;if(i=o?o(t,n):R.isURLSearchParams(t)?t.toString():new X(t,n).toString(r),i){const t=e.indexOf("#");-1!==t&&(e=e.slice(0,t)),e+=(-1===e.indexOf("?")?"?":"&")+i}return e}var ne=class{constructor(){this.handlers=[]}use(e,t,n){return this.handlers.push({fulfilled:e,rejected:t,synchronous:!!n&&n.synchronous,runWhen:n?n.runWhen:null}),this.handlers.length-1}eject(e){this.handlers[e]&&(this.handlers[e]=null)}clear(){this.handlers&&(this.handlers=[])}forEach(e){R.forEach(this.handlers,(function(t){null!==t&&e(t)}))}},re={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},oe="undefined"!==typeof URLSearchParams?URLSearchParams:X,ie=FormData;const ae=(()=>{let e;return("undefined"===typeof navigator||"ReactNative"!==(e=navigator.product)&&"NativeScript"!==e&&"NS"!==e)&&("undefined"!==typeof window&&"undefined"!==typeof document)})(),se="undefined"!==typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope&&"function"===typeof self.importScripts;
vendor: 11,078 bytes, line 1
1var ue={isBrowser:!0,classes:{URLSearchParams:oe,FormData:ie,Blob:Blob},isStandardBrowserEnv:ae,isStandardBrowserWebWorkerEnv:se,protocols:["http","https","file","blob","url","data"]};var le=function(e){function t(e,n,r,o){let i=e[o++];const a=Number.isFinite(+i),s=o>=e.length;if(i=!i&&R.isArray(r)?r.length:i,s)return R.hasOwnProp(r,i)?r[i]=[r[i],n]:r[i]=n,!a;r[i]&&R.isObject(r[i])||(r[i]=[]);return t(e,n,r[i],o)&&R.isArray(r[i])&&(r[i]=function(e){const t={},n=Object.keys(e);let r;const o=n.length;let i;for(r=0;r<o;r++)i=n[r],t[i]=e[i];return t}(r[i])),!a}if(R.isFormData(e)&&R.isFunction(e.entries)){const n={};return R.forEachEntry(e,((e,r)=>{t(function(e){return R.matchAll(/\w+|\[(\w*)]/g,e).map((e=>"[]"===e[0]?"":e[1]||e[0]))}(e),r,n,0)})),n}return null};const ce={"Content-Type":void 0};const fe={transitional:re,adapter:["xhr","http"],transformRequest:[function(e,t){const n=t.getContentType()||"",r=n.indexOf("application/json")>-1,o=R.isObject(e);o&&R.isHTMLForm(e)&&(e=new FormData(e));if(R.isFormData(e))return r&&r?JSON.stringify(le(e)):e;if(R.isArrayBuffer(e)||R.isBuffer(e)||R.isStream(e)||R.isFile(e)||R.isBlob(e))return e;if(R.isArrayBufferView(e))return e.buffer;if(R.isURLSearchParams(e))return t.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),e.toString();let i;if(o){if(n.indexOf("application/x-www-form-urlencoded")>-1)return function(e,t){return J(e,new ue.classes.URLSearchParams,Object.assign({visitor:function(e,t,n,r){return ue.isNode&&R.isBuffer(e)?(this.append(t,e.toString("base64")),!1):r.defaultVisitor.apply(this,arguments)}},t))}(e,this.formSerializer).toString();if((i=R.isFileList(e))||n.indexOf("multipart/form-data")>-1){const t=this.env&&this.env.FormData;return J(i?{"files[]":e}:e,t&&new t,this.formSerializer)}}return o||r?(t.setContentType("application/json",!1),function(e,t,n){if(R.isString(e))try{return(t||JSON.parse)(e),R.trim(e)}catch(r){if("SyntaxError"!==r.name)throw r}return(n||JSON.stringify)(e)}(e)):e}],transformResponse:[function(e){const t=this.transitional||fe.transitional,n=t&&t.forcedJSONParsing,r="json"===this.responseType;if(e&&R.isString(e)&&(n&&!this.responseType||r)){const n=!(t&&t.silentJSONParsing)&&r;try{return JSON.parse(e)}catch(o){if(n){if("SyntaxError"===o.name)throw W.from(o,W.ERR_BAD_RESPONSE,this,null,this.response);throw o}}}return e}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:ue.classes.FormData,Blob:ue.classes.Blob},validateStatus:function(e){return e>=200&&e<300},headers:{common:{Accept:"application/json, text/plain, */*"}}};R.forEach(["delete","get","head"],(function(e){fe.headers[e]={}})),R.forEach(["post","put","patch"],(function(e){fe.headers[e]=R.merge(ce)}));var de=fe;const pe=R.toObjectSet(["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"]);const he=Symbol("internals");function me(e){return e&&String(e).trim().toLowerCase()}function ve(e){return!1===e||null==e?e:R.isArray(e)?e.map(ve):String(e)}function ge(e,t,n,r){return R.isFunction(r)?r.call(this,t,n):R.isString(t)?R.isString(r)?-1!==t.indexOf(r):R.isRegExp(r)?r.test(t):void 0:void 0}class ye{constructor(e){e&&this.set(e)}set(e,t,n){const r=this;function o(e,t,n){const o=me(t);if(!o)throw new Error("header name must be a non-empty string");const i=R.findKey(r,o);(!i||void 0===r[i]||!0===n||void 0===n&&!1!==r[i])&&(r[i||t]=ve(e))}const i=(e,t)=>R.forEach(e,((e,n)=>o(e,n,t)));return R.isPlainObject(e)||e instanceof this.constructor?i(e,t):R.isString(e)&&(e=e.trim())&&!/^[-_a-zA-Z]+$/.test(e.trim())?i((e=>{const t={};let n,r,o;return e&&e.split("\n").forEach((function(e){o=e.indexOf(":"),n=e.substring(0,o).trim().toLowerCase(),r=e.substring(o+1).trim(),!n||t[n]&&pe[n]||("set-cookie"===n?t[n]?t[n].push(r):t[n]=[r]:t[n]=t[n]?t[n]+", "+r:r)})),t})(e),t):null!=e&&o(t,e,n),this}get(e,t){if(e=me(e)){const n=R.findKey(this,e);if(n){const e=this[n];if(!t)return e;if(!0===t)return function(e){const t=Object.create(null),n=/([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;let r;for(;r=n.exec(e);)t[r[1]]=r[2];return t}(e);if(R.isFunction(t))return t.call(this,e,n);if(R.isRegExp(t))return t.exec(e);throw new TypeError("parser must be boolean|regexp|function")}}}has(e,t){if(e=me(e)){const n=R.findKey(this,e);return!(!n||t&&!ge(0,this[n],n,t))}return!1}delete(e,t){const n=this;let r=!1;function o(e){if(e=me(e)){const o=R.findKey(n,e);!o||t&&!ge(0,n[o],o,t)||(delete n[o],r=!0)}}return R.isArray(e)?e.forEach(o):o(e),r}clear(){return Object.keys(this).forEach(this.delete.bind(this))}normalize(e){const t=this,n={};return R.forEach(this,((r,o)=>{const i=R.findKey(n,o);if(i)return t[i]=ve(r),void delete t[o];const a=e?function(e){return e.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,((e,t,n)=>t.toUpperCase()+n))}(o):String(o).trim();a!==o&&delete t[o],t[a]=ve(r),n[a]=!0})),this}concat(...e){return this.constructor.concat(this,...e)}toJSON(e){const t=Object.create(null);return R.forEach(this,((n,r)=>{null!=n&&!1!==n&&(t[r]=e&&R.isArray(n)?n.join(", "):n)})),t}[Symbol.iterator](){return Object.entries(this.toJSON())[Symbol.iterator]()}toString(){return Object.entries(this.toJSON()).map((([e,t])=>e+": "+t)).join("\n")}get[Symbol.toStringTag](){return"AxiosHeaders"}static from(e){return e instanceof this?e:new this(e)}static concat(e,...t){const n=new this(e);return t.forEach((e=>n.set(e))),n}static accessor(e){const t=(this[he]=this[he]={accessors:{}}).accessors,n=this.prototype;function r(e){const r=me(e);t[r]||(!function(e,t){const n=R.toCamelCase(" "+t);["get","set","has"].forEach((r=>{Object.defineProperty(e,r+n,{value:function(e,n,o){return this[r].call(this,t,e,n,o)},configurable:!0})}))}(n,e),t[r]=!0)}return R.isArray(e)?e.forEach(r):r(e),this}}ye.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent"]),R.freezeMethods(ye.prototype),R.freezeMethods(ye);var be=ye;function we(e,t){const n=this||de,r=t||n,o=be.from(r.headers);let i=r.data;return R.forEach(e,(function(e){i=e.call(n,i,o.normalize(),t?t.status:void 0)})),o.normalize(),i}function xe(e){return!(!e||!e.__CANCEL__)}function _e(e,t,n){W.call(this,null==e?"canceled":e,W.ERR_CANCELED,t,n),this.name="CanceledError"}R.inherits(_e,W,{__CANCEL__:!0});var je=_e;var Se=ue.isStandardBrowserEnv?{write:function(e,t,n,r,o,i){const a=[];a.push(e+"="+encodeURIComponent(t)),R.isNumber(n)&&a.push("expires="+new Date(n).toGMTString()),R.isString(r)&&a.push("path="+r),R.isString(o)&&a.push("domain="+o),!0===i&&a.push("secure"),document.cookie=a.join("; ")},read:function(e){const t=document.cookie.match(new RegExp("(^|;\\s*)("+e+")=([^;]*)"));return t?decodeURIComponent(t[3]):null},remove:function(e){this.write(e,"",Date.now()-864e5)}}:{write:function(){},read:function(){return null},remove:function(){}};function Ee(e,t){return e&&!/^([a-z][a-z\d+\-.]*:)?\/\//i.test(t)?function(e,t){return t?e.replace(/\/+$/,"")+"/"+t.replace(/^\/+/,""):e}(e,t):t}var Oe=ue.isStandardBrowserEnv?function(){const e=/(msie|trident)/i.test(navigator.userAgent),t=document.createElement("a");let n;function r(n){let r=n;return e&&(t.setAttribute("href",r),r=t.href),t.setAttribute("href",r),{href:t.href,protocol:t.protocol?t.protocol.replace(/:$/,""):"",host:t.host,search:t.search?t.search.replace(/^\?/,""):"",hash:t.hash?t.hash.replace(/^#/,""):"",hostname:t.hostname,port:t.port,pathname:"/"===t.pathname.charAt(0)?t.pathname:"/"+t.pathname}}return n=r(window.location.href),function(e){const t=R.isString(e)?r(e):e;return t.protocol===n.protocol&&t.host===n.host}}():function(){return!0};var Te=function(e,t){e=e||10;const n=new Array(e),r=new Array(e);let o,i=0,a=0;return t=void 0!==t?t:1e3,function(s){const u=Date.now(),l=r[a];o||(o=u),n[i]=s,r[i]=u;let c=a,f=0;for(;c!==i;)f+=n[c++],c%=e;if(i=(i+1)%e,i===a&&(a=(a+1)%e),u-o<t)return;const d=l&&u-l;return d?Math.round(1e3*f/d):void 0}};function Ne(e,t){let n=0;const r=Te(50,250);return o=>{const i=o.loaded,a=o.lengthComputable?o.total:void 0,s=i-n,u=r(s);n=i;const l={loaded:i,total:a,progress:a?i/a:void 0,bytes:s,rate:u||void 0,estimated:u&&a&&i<=a?(a-i)/u:void 0,event:o};l[t?"download":"upload"]=!0,e(l)}}var Ce="undefined"!==typeof XMLHttpRequest&&function(e){return new Promise((function(t,n){let r=e.data;const o=be.from(e.headers).normalize(),i=e.responseType;let a;function s(){e.cancelToken&&e.cancelToken.unsubscribe(a),e.signal&&e.signal.removeEventListener("abort",a)}R.isFormData(r)&&(ue.isStandardBrowserEnv||ue.isStandardBrowserWebWorkerEnv)&&o.setContentType(!1);let u=new XMLHttpRequest;if(e.auth){const t=e.auth.username||"",n=e.auth.password?unescape(encodeURIComponent(e.auth.password)):"";o.set("Authorization","Basic "+btoa(t+":"+n))}const l=Ee(e.baseURL,e.url);function c(){if(!u)return;const r=be.from("getAllResponseHeaders"in u&&u.getAllResponseHeaders());!function(e,t,n){const r=n.config.validateStatus;n.status&&r&&!r(n.status)?t(new W("Request failed with status code "+n.status,[W.ERR_BAD_REQUEST,W.ERR_BAD_RESPONSE][Math.floor(n.status/100)-4],n.config,n.request,n)):e(n)}((function(e){t(e),s()}),(function(e){n(e),s()}),{data:i&&"text"!==i&&"json"!==i?u.response:u.responseText,status:u.status,statusText:u.statusText,headers:r,config:e,request:u}),u=null}if(u.open(e.method.toUpperCase(),te(l,e.params,e.paramsSerializer),!0),u.timeout=e.timeout,"onloadend"in u?u.onloadend=c:u.onreadystatechange=function(){u&&4===u.readyState&&(0!==u.status||u.responseURL&&0===u.responseURL.indexOf("file:"))&&setTimeout(c)},u.onabort=function(){u&&(n(new W("Request aborted",W.ECONNABORTED,e,u)),u=null)},u.onerror=function(){n(new W("Network Error",W.ERR_NETWORK,e,u)),u=null},u.ontimeout=function(){let t=e.timeout?"timeout of "+e.timeout+"ms exceeded":"timeout exceeded";const r=e.transitional||re;e.timeoutErrorMessage&&(t=e.timeoutErrorMessage),n(new W(t,r.clarifyTimeoutError?W.ETIMEDOUT:W.ECONNABORTED,e,u)),u=null},ue.isStandardBrowserEnv){const t=(e.withCredentials||Oe(l))&&e.xsrfCookieName&&Se.read(e.xsrfCookieName);t&&o.set(e.xsrfHeaderName,t)}void 0===r&&o.setContentType(null),"setRequestHeader"in u&&R.forEach(o.toJSON(),(function(e,t){u.setRequestHeader(t,e)})),R.isUndefined(e.withCredentials)||(u.withCredentials=!!e.withCredentials),i&&"json"!==i&&(u.responseType=e.responseType),"function"===typeof e.onDownloadProgress&&u.addEventListener("progress",Ne(e.onDownloadProgress,!0)),"function"===typeof e.onUploadProgress&&u.upload&&u.upload.addEventListener("progress",Ne(e.onUploadProgress)),(e.cancelToken||e.signal)&&(a=t=>{u&&(n(!t||t.type?new je(null,e,u):t),u.abort(),u=null)},e.cancelToken&&e.cancelToken.subscribe(a),e.signal&&(e.signal.aborted?a():e.signal.addEventListener("abort",a)));const f=function(e){const t=/^([-+\w]{1,25})(:?\/\/|:)/.exec(e);return t&&t[1]||""}(l);f&&-1===ue.protocols.indexOf(f)?n(new W("Unsupported protocol "+f+":",W.ERR_BAD_REQUEST,e)):u.send(r||null)}))};const ke={http:null,xhr:Ce};R.forEach(ke,((e,t)=>
1{if(e){try{Object.defineProperty(e,"name",{value:t})}catch(n){}Object.defineProperty(e,"adapterName",{value:t})}}));var Ae=e=>{e=R.isArray(e)?e:[e];const{length:t}=e;let n,r;for(let o=0;o<t&&(n=e[o],!(r=R.isString(n)?ke[n.toLowerCase()]:n));o++);if(!r){if(!1===r)throw new W(`Adapter ${n} is not supported by the environment`,"ERR_NOT_SUPPORT");throw new Error(R.hasOwnProp(ke,n)?`Adapter '${n}' is not available in the build`:`Unknown adapter '${n}'`)}if(!R.isFunction(r))throw new TypeError("adapter is not a function");return r};function Pe(e){if(e.cancelToken&&e.cancelToken.throwIfRequested(),e.signal&&e.signal.aborted)throw new je(null,e)}function ze(e){Pe(e),e.headers=be.from(e.headers),e.data=we.call(e,e.transformRequest),-1!==["post","put","patch"].indexOf(e.method)&&e.headers.setContentType("application/x-www-form-urlencoded",!1);return Ae(e.adapter||de.adapter)(e).then((function(t){return Pe(e),t.data=we.call(e,e.transformResponse,t),t.headers=be.from(t.headers),t}),(function(t){return xe(t)||(Pe(e),t&&t.response&&(t.response.data=we.call(e,e.transformResponse,t.response),t.response.headers=be.from(t.response.headers))),Promise.reject(t)}))}const Me=e=>e instanceof be?e.toJSON():e;function Ue(e,t){t=t||{};const n={};function r(e,t,n){return R.isPlainObject(e)&&R.isPlainObject(t)?R.merge.call({caseless:n},e,t):R.isPlainObject(t)?R.merge({},t):R.isArray(t)?t.slice():t}function o(e,t,n){return R.isUndefined(t)?R.isUndefined(e)?void 0:r(void 0,e,n):r(e,t,n)}function i(e,t){if(!R.isUndefined(t))return r(void 0,t)}function a(e,t){return R.isUndefined(t)?R.isUndefined(e)?void 0:r(void 0,e):r(void 0,t)}function s(n,o,i){return i in t?r(n,o):i in e?r(void 0,n):void 0}const u={url:i,method:i,data:i,baseURL:a,transformRequest:a,transformResponse:a,paramsSerializer:a,timeout:a,timeoutMessage:a,withCredentials:a,adapter:a,responseType:a,xsrfCookieName:a,xsrfHeaderName:a,onUploadProgress:a,onDownloadProgress:a,decompress:a,maxContentLength:a,maxBodyLength:a,beforeRedirect:a,transport:a,httpAgent:a,httpsAgent:a,cancelToken:a,socketPath:a,responseEncoding:a,validateStatus:s,headers:(e,t)=>o(Me(e),Me(t),!0)};return R.forEach(Object.keys(e).concat(Object.keys(t)),(function(r){const i=u[r]||o,a=i(e[r],t[r],r);R.isUndefined(a)&&i!==s||(n[r]=a)})),n}const Ie="1.2.3",De={};["object","boolean","number","function","string","symbol"].forEach(((e,t)=>{De[e]=function(n){return typeof n===e||"a"+(t<1?"n ":" ")+e}}));const Re={};De.transitional=function(e,t,n){function r(e,t){return"[Axios v1.2.3] Transitional option '"+e+"'"+t+(n?". "+n:"")}return(n,o,i)=>{if(!1===e)throw new W(r(o," has been removed"+(t?" in "+t:"")),W.ERR_DEPRECATED);return t&&!Re[o]&&(Re[o]=!0,console.warn(r(o," has been deprecated since v"+t+" and will be removed in the near future"))),!e||e(n,o,i)}};var Le={assertOptions:function(e,t,n){if("object"!==typeof e)throw new W("options must be an object",W.ERR_BAD_OPTION_VALUE);const r=Object.keys(e);let o=r.length;for(;o-- >0;){const i=r[o],a=t[i];if(a){const t=e[i],n=void 0===t||a(t,i,e);if(!0!==n)throw new W("option "+i+" must be "+n,W.ERR_BAD_OPTION_VALUE)}else if(!0!==n)throw new W("Unknown option "+i,W.ERR_BAD_OPTION)}},validators:De};const Fe=Le.validators;class Be{constructor(e){this.defaults=e,this.interceptors={request:new ne,response:new ne}}request(e,t){"string"===typeof e?(t=t||{}).url=e:t=e||{},t=Ue(this.defaults,t);const{transitional:n,paramsSerializer:r,headers:o}=t;let i;void 0!==n&&Le.assertOptions(n,{silentJSONParsing:Fe.transitional(Fe.boolean),forcedJSONParsing:Fe.transitional(Fe.boolean),clarifyTimeoutError:Fe.transitional(Fe.boolean)},!1),void 0!==r&&Le.assertOptions(r,{encode:Fe.function,serialize:Fe.function},!0),t.method=(t.method||this.defaults.method||"get").toLowerCase(),i=o&&R.merge(o.common,o[t.method]),i&&R.forEach(["delete","get","head","post","put","patch","common"],(e=>{delete o[e]})),t.headers=be.concat(i,o);const a=[];let s=!0;this.interceptors.request.forEach((function(e){"function"===typeof e.runWhen&&!1===e.runWhen(t)||(s=s&&e.synchronous,a.unshift(e.fulfilled,e.rejected))}));const u=[];let l;this.interceptors.response.forEach((function(e){u.push(e.fulfilled,e.rejected)}));let c,f=0;if(!s){const e=[ze.bind(this),void 0];for(e.unshift.apply(e,a),e.push.apply(e,u),c=e.length,l=Promise.resolve(t);f<c;)l=l.then(e[f++],e[f++]);return l}c=a.length;let d=t;for(f=0;f<c;){const e=a[f++],t=a[f++];try{d=e(d)}catch(p){t.call(this,p);break}}try{l=ze.call(this,d)}catch(p){return Promise.reject(p)}for(f=0,c=u.length;f<c;)l=l.then(u[f++],u[f++]);return l}getUri(e){return te(Ee((e=Ue(this.defaults,e)).baseURL,e.url),e.params,e.paramsSerializer)}}
vendor: 1,425 bytes, line 1
1R.forEach(["delete","get","head","options"],(function(e){Be.prototype[e]=function(t,n){return this.request(Ue(n||{},{method:e,url:t,data:(n||{}).data}))}})),R.forEach(["post","put","patch"],(function(e){function t(t){return function(n,r,o){return this.request(Ue(o||{},{method:e,headers:t?{"Content-Type":"multipart/form-data"}:{},url:n,data:r}))}}Be.prototype[e]=t(),Be.prototype[e+"Form"]=t(!0)}));var We=Be;class qe{constructor(e){if("function"!==typeof e)throw new TypeError("executor must be a function.");let t;this.promise=new Promise((function(e){t=e}));const n=this;this.promise.then((e=>{if(!n._listeners)return;let t=n._listeners.length;for(;t-- >0;)n._listeners[t](e);n._listeners=null})),this.promise.then=e=>{let t;const r=new Promise((e=>{n.subscribe(e),t=e})).then(e);return r.cancel=function(){n.unsubscribe(t)},r},e((function(e,r,o){n.reason||(n.reason=new je(e,r,o),t(n.reason))}))}throwIfRequested(){if(this.reason)throw this.reason}subscribe(e){this.reason?e(this.reason):this._listeners?this._listeners.push(e):this._listeners=[e]}unsubscribe(e){if(!this._listeners)return;const t=this._listeners.indexOf(e);-1!==t&&this._listeners.splice(t,1)}static source(){let e;return{token:new qe((function(t){e=t})),cancel:e}}}var Ze=qe;const He={Continue:100,SwitchingProtocols:101,Processing:102,EarlyHints:103,Ok:200,Created:201,Accepted:202,NonAuthoritativeInformation:203,NoContent:204,ResetContent:205,Parti
1alContent:206,MultiStatus:207,AlreadyReported:208,ImUsed:226,MultipleChoices:300,MovedPermanently:301,Found:302,SeeOther:303,NotModified:304,UseProxy:305,Unused:306,TemporaryRedirect:307,PermanentRedirect:308,BadRequest:400,Unauthorized:401,PaymentRequired:402,Forbidden:403,NotFound:404,MethodNotAllowed:405,NotAcceptable:406,ProxyAuthenticationRequired:407,RequestTimeout:408,Conflict:409,Gone:410,LengthRequired:411,PreconditionFailed:412,PayloadTooLarge:413,UriTooLong:414,UnsupportedMediaType:415,RangeNotSatisfiable:416,ExpectationFailed:417,ImATeapot:418,MisdirectedRequest:421,UnprocessableEntity:422,Locked:423,FailedDependency:424,TooEarly:425,UpgradeRequired:426,PreconditionRequired:428,TooManyRequests:429,RequestHeaderFieldsTooLarge:431,UnavailableForLegalReasons:451,InternalServerError:500,NotImplemented:501,BadGateway:502,ServiceUnavailable:503,GatewayTimeout:504,HttpVersionNotSupported:505,VariantAlsoNegotiates:506,InsufficientStorage:507,LoopDetected:508,NotExtended:510,NetworkAuthenticationRequired:511};Object.entries(He).forEach((([e,t])=>{He[t]=e}));var Ye=He;const Ve=function e(t){const n=new We(t),r=u(We.prototype.request,n);return R.extend(r,We.prototype,n,{allOwnKeys:!0}),R.extend(r,n,null,{allOwnKeys:!0}),r.create=function(n){return e(Ue(t,n))},r}(de);Ve.Axios=We,Ve.CanceledError=je,Ve.CancelToken=Ze,Ve.isCancel=xe,Ve.VERSION=Ie,Ve.toFormData=J,Ve.AxiosError=W,Ve.Cancel=Ve.CanceledError,Ve.all=function(e){return Promise.all(e)},Ve.spread=function(e){return function(t){return e.apply(null,t)}},Ve.isAxiosError=function(e){return R.isObject(e)&&!0===e.isAxiosError},Ve.mergeConfig=Ue,Ve.AxiosHeaders=be,Ve.formToJSON=e=>le(R.isHTMLForm(e)?new FormData(e):e),Ve.HttpStatusCode=Ye,Ve.default=Ve;var $e=Ve,Je=n(57919),Ge=n(22417),Ke=n.n(Ge)()({browser:{disabled:!0},transport:void 0,redact:["config.headers.Authorization",'config.headers["ACCESS-TOKEN"]','config.headers["x-cg-pro-api-key"]']}),Qe=n(4444),Xe=function(e){var t={config:e.config};return e.response?t.response={data:e.response.data,status:e.response.status,headers:e.response.headers}:e.request?t.request=e.request:t.message=e.message,Ke.error(t),Promise.reject(e)},et=$e.create({baseURL:Qe.env.STRAPI_API_BASE,headers:{Authorization:"bearer ".concat(Qe.env.STRAPI_API_TOKEN)},timeout:1e4});et.interceptors.response.use((function(e){return e}),Xe);var tt=$e.create({baseURL:Qe.env.COINGECKO_API_BASE,headers:{"x-cg-pro-api-key":Qe.env.COINGECKO_API_TOKEN},timeout:1e4});tt.interceptors.response.use((function(e){return e}),Xe);var nt=$e.create({baseURL:Qe.env.INVEST_BASE,timeout:1e4});nt.interceptors.response.use((function(e){return e}),Xe);var rt=$e.create({timeout:1e4});function ot(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:Je.defaultLocale,r=t.headers,s=(0,a.Z)(t,["headers"]);return rt.request((0,i.Z)((0,o.Z)({},s),{headers:(0,i.Z)((0,o.Z)({},null!==r&&void 0!==r?r:{}),{locale:n}),url:e}))}
1function it(e,t){return at.apply(this,arguments)}function at(){return(at=(0,r.Z)((function(e,t){return(0,s.__generator)(this,(function(n){return[2,et.get(e,t)]}))}))).apply(this,arguments)}rt.interceptors.response.use((function(e){return e}),Xe);var st=function(e,t){return ot(e,t).then((function(e){return e.data}))}},61321:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getDomainLocale=function(e,t,r,o){var i=n(84078).normalizeLocalePath,a=n(65533).detectDomainLocale,s=t||i(e,r).detectedLocale,u=a(o,void 0,s);if(u){var l="http".concat(u.http?"":"s","://"),c=s===u.defaultLocale?"":"/".concat(s);return"".concat(l).concat(u.domain).concat("").concat(c).concat(e)}return!1};("function"===typeof t.default||"object"===typeof t.default&&null!==t.default)&&"undefined"===typeof t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},39224:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(67205).Z,o=n(24633).Z,i=n(51004).Z;Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){var t=e.src,n=e.sizes,s=e.unoptimized,u=void 0!==s&&s,m=e.priority,v=void 0!==m&&m,w=e.loading,E=e.lazyRoot,T=void 0===E?null:E,N=e.lazyBoundary,C=e.className,k=e.quality,A=e.width,P=e.height,z=e.style,M=e.objectFit,U=e.objectPosition,I=e.onLoadingComplete,D=e.placeholder,R=void 0===D?"empty":D,L=e.blurDataURL,F=l(e,["src","sizes","unoptimized","priority","loading","lazyRoot","lazyBoundary","className","quality","width","height","style","objectFit","objectPosition","onLoadingComplete","placeholder","blurDataURL"]),B=c.useContext(h.ImageConfigContext),W=c.useMemo((function(){var e=g||B||d.imageConfigDefault,t=i(e.deviceSizes).concat(i(e.imageSizes)).sort((function(e,t){return e-t})),n=e.deviceSizes.sort((function(e,t){return e-t}));return a({},e,{allSizes:t,deviceSizes:n})}),[B]),q=F,Z=n?"responsive":"intrinsic";"layout"in q&&(q.layout&&(Z=q.layout),delete q.layout);var H=S;if("loader"in q){if(q.loader){var Y=q.loader;H=function(e){e.config;var t=l(e,["config"]);return Y(t)}}delete q.loader}var V="";if(function(e){return"object"===typeof e&&(x(e)||function(e){return void 0!==e.src}(e))}(t)){var $=x(t)?t.default:t;if(!$.src)throw new Error("An object should only be passed to the image component src parameter if it comes from a static image import. It must include src. Received ".concat(JSON.stringify($)));if(L=L||$.blurDataURL,V=$.src,(!Z||"fill"!==Z)&&(P=P||$.height,A=A||$.width,!$.height||!$.width))throw new Error("An object should only be passed to the image component src parameter if it comes from a static image import. It must include height and width. Received ".concat(JSON.stringify($)))}var J=!v&&("lazy"===w||"undefined"===typeof w);((t="string"===typeof t?t:V).startsWith("data:")||t.startsWith("blob:"))&&(u=!0,J=!1);y.has(t)&&(J=!1);W.unoptimized&&(u=!0);var G,K=o(c.useState(!1),2),Q=K[0],X=K[1],ee=o(p.useIntersection({rootRef:T,rootMargin:N||"200px",disabled:!J}),3),te=ee[0],ne=ee[1],re=ee[2],oe=!J||ne,ie={boxSizing:"border-box",display:"block",overflow:"hidden",width:"initial",height:"initial",background:"none",opacity:1,border:0,margin:0,padding:0},ae={boxSizing:"border-box",display:"block",width:"initial",height:"initial",background:"none",opacity:1,border:0,margin:0,padding:0},se=!1,ue={position:"absolute",top:0,left:0,bottom:0,right:0,boxSizing:"border-box",padding:0,border:"none",margin:"auto",display:"block",width:0,height:0,minWidth:"100%",maxWidth:"100%",minHeight:"100%",maxHeight:"100%",objectFit:M,objectPosition:U},le=j(A),ce=j(P),fe=j(k);0;var de=Object.assign({},z,ue),pe="blur"!==R||Q?{}:{backgroundSize:M||"cover",backgroundPosition:U||"0% 0%",filter:"blur(20px)",backgroundImage:'url("'.concat(L,'")')};if("fill"===Z)ie.display="block",ie.position="absolute",ie.top=0,ie.left=0,ie.bottom=0,ie.right=0;else if("undefined"!==typeof le&&"undefined"!==typeof ce){var he=ce/le,me=isNaN(he)?"100%":"".concat(100*he,"%");"responsive"===Z?(ie.display="block",ie.position="relative",se=!0,ae.paddingTop=me):"intrinsic"===Z?(ie.display="inline-block",ie.position="relative",ie.maxWidth="100%",se=!0,ae.maxWidth="100%",G="data:image/svg+xml,%3csvg%20xmlns=%27http://www.w3.org/2000/svg%27%20version=%271.1%27%20width=%27".concat(le,"%27%20height=%27").concat(ce,"%27/%3e")):"fixed"===Z&&
1(ie.display="inline-block",ie.position="relative",ie.width=le,ie.height=ce)}else 0;var ve={src:b,srcSet:void 0,sizes:void 0};oe&&(ve=_({config:W,src:t,unoptimized:u,layout:Z,width:le,quality:fe,sizes:n,loader:H}));var ge=t;0;var ye,be="imagesrcset",we="imagesizes";be="imageSrcSet",we="imageSizes";var xe=(r(ye={},be,ve.srcSet),r(ye,we,ve.sizes),r(ye,"crossOrigin",q.crossOrigin),ye),_e=c.default.useLayoutEffect,je=c.useRef(I),Se=c.useRef(t);c.useEffect((function(){je.current=I}),[I]),_e((function(){Se.current!==t&&(re(),Se.current=t)}),[re,t]);var Ee=a({isLazy:J,imgAttributes:ve,heightInt:ce,widthInt:le,qualityInt:fe,layout:Z,className:C,imgStyle:de,blurStyle:pe,loading:w,config:W,unoptimized:u,placeholder:R,loader:H,srcString:ge,onLoadingCompleteRef:je,setBlurComplete:X,setIntersection:te,isVisible:oe,noscriptSizes:n},q);return c.default.createElement(c.default.Fragment,null,c.default.createElement("span",{style:ie},se?c.default.createElement("span",{style:ae},G?c.default.createElement("img",{style:{display:"block",maxWidth:"100%",width:"initial",height:"initial",background:"none",opacity:1,border:0,margin:0,padding:0},alt:"","aria-hidden":!0,src:G}):null):null,c.default.createElement(O,Object.assign({},Ee))),v?c.default.createElement(f.default,null,c.default.createElement("link",Object.assign({key:"__nimg-"+ve.src+ve.srcSet+ve.sizes,rel:"preload",as:"image",href:ve.srcSet?void 0:ve.src},xe))):null)};var a=n(11476).Z,s=n(22277).Z,u=n(91607).Z,l=n(76134).Z,c=u(n(56168)),f=s(n(78590)),d=n(6430),p=n(59472),h=n(91654),m=(n(73283),n(83793));function v(e){return"/"===e[0]?e.slice(1):e}var g={deviceSizes:[640,750,828,1080,1200,1920,2048,3840],imageSizes:[16,32,48,64,96,128,256,384],path:"/_next/image",loader:"default",dangerouslyAllowSVG:!1,unoptimized:!1},y=new Set,b=(new Map,"data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7");var w=new Map([["default",function(e){var t=e.config,n=e.src,r=e.width,o=e.quality;return n.endsWith(".svg")&&!t.dangerouslyAllowSVG?n:"".concat(m.normalizePathTrailingSlash(t.path),"?url=").concat(encodeURIComponent(n),"&w=").concat(r,"&q=").concat(o||75)}],["imgix",function(e){var t=e.config,n=e.src,r=e.width,o=e.quality,i=new URL("".concat(t.path).concat(v(n))),a=i.searchParams;return a.set("auto",a.getAll("auto").join(",")||"format"),a.set("fit",a.get("fit")||"max"),a.set("w",a.get("w")||r.toString()),o&&a.set("q",o.toString()),i.href}],["cloudinary",function(e){var t=e.config,n=e.src,r=["f_auto","c_limit","w_"+e.width,"q_"+(e.quality||"auto")].join(",")+"/";return"".concat(t.path).concat(r).concat(v(n))}],["akamai",function(e){var t=e.config,n=e.src,r=e.width;return"".concat(t.path).concat(v(n),"?imwidth=").concat(r)}],["custom",function(e){var t=e.src;throw new Error('Image with src "'.concat(t,'" is missing "loader" prop.')+"\nRead more: https://nextjs.org/docs/messages/next-image-missing-loader")}]]);function x(e){return void 0!==e.default}function _(e){var t=e.config,n=e.src,r=e.unoptimized,o=e.layout,a=e.width,s=e.quality,u=e.sizes,l=e.loader;if(r)return{src:n,srcSet:void 0,sizes:void 0};var c=function(e,t,n,r){var o=e.deviceSizes,a=e.allSizes;if(r&&("fill"===n||"responsive"===n)){for(var s,u=/(^|\s)(1?\d?\d)vw/g,l=[];s=u.exec(r);s)l.push(parseInt(s[2]));if(l.length){var c,f=.01*(c=Math).min.apply(c,i(l));return{widths:a.filter((function(e){return e>=o[0]*f})),kind:"w"}}return{widths:a,kind:"w"}}return"number"!==typeof t||"fill"===n||"responsive"===n?{widths:o,kind:"w"}:{widths:i(new Set([t,2*t].map((function(e){return a.find((function(t){return t>=e}))||a[a.length-1]})))),kind:"x"}}(t,a,o,u),f=c.widths,d=c.kind,p=f.length-1;return{sizes:u||"w"!==d?u:"100vw",srcSet:f.map((function(e,r){return"".concat(l({config:t,src:n,quality:s,width:e})," ").concat("w"===d?e:r+1).concat(d)})).join(", "),src:l({config:t,src:n,quality:s,width:f[p]})}}function j(e){return"number"===typeof e?e:"string"===typeof e?parseInt(e,10):void 0}function S(e){var t,n=(null==(t=e.config)?void 0:t.loader)||"default",r=w.get(n);if(r)return r(e);throw new Error('Unknown "loader" found in "next.config.js". Expected: '.concat(d.VALID_LOADERS.join(", "),". Received: ").concat(n))}function E(e,t,n,r,o,i){e&&e.src!==b&&e["data-loaded-src"]!==t&&(e["data-loaded-src"]=t,("decode"in e?e.decode():Promise.resolve()).catch((function(){})).then((function(){if(e.parentNode&&(y.add(t),"blur"===r&&i(!0),null==o?void 0:o.current)){var n=e.naturalWi
1dth,a=e.naturalHeight;o.current({naturalWidth:n,naturalHeight:a})}})))}var O=function(e){var t=e.imgAttributes,n=(e.heightInt,e.widthInt),r=e.qualityInt,o=e.layout,i=e.className,s=e.imgStyle,u=e.blurStyle,f=e.isLazy,d=e.placeholder,p=e.loading,h=e.srcString,m=e.config,v=e.unoptimized,g=e.loader,y=e.onLoadingCompleteRef,b=e.setBlurComplete,w=e.setIntersection,x=e.onLoad,j=e.onError,S=(e.isVisible,e.noscriptSizes),O=l(e,["imgAttributes","heightInt","widthInt","qualityInt","layout","className","imgStyle","blurStyle","isLazy","placeholder","loading","srcString","config","unoptimized","loader","onLoadingCompleteRef","setBlurComplete","setIntersection","onLoad","onError","isVisible","noscriptSizes"]);return p=f?"lazy":p,c.default.createElement(c.default.Fragment,null,c.default.createElement("img",Object.assign({},O,t,{decoding:"async","data-nimg":o,className:i,style:a({},s,u),ref:c.useCallback((function(e){w(e),(null==e?void 0:e.complete)&&E(e,h,0,d,y,b)}),[w,h,o,d,y,b]),onLoad:function(e){E(e.currentTarget,h,0,d,y,b),x&&x(e)},onError:function(e){"blur"===d&&b(!0),j&&j(e)}})),(f||"blur"===d)&&c.default.createElement("noscript",null,c.default.createElement("img",Object.assign({},O,_({config:m,src:h,unoptimized:v,layout:o,width:n,quality:r,sizes:S,loader:g}),{decoding:"async","data-nimg":o,style:s,className:i,loading:p}))))};("function"===typeof t.default||"object"===typeof t.default&&null!==t.default)&&"undefined"===typeof t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},31895:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(24633).Z;n(94243).default;Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=n(22277).Z,i=n(76134).Z,a=o(n(56168)),s=n(35351),u=n(53787),l=n(99479),c=n(81042),f=n(59472),d=n(61321),p=n(79653),h={};function m(e,t,n,r){if(e&&s.isLocalURL(t)){Promise.resolve(e.prefetch(t,n,r)).catch((function(e){0}));var o=r&&"undefined"!==typeof r.locale?r.locale:e&&e.locale;h[t+"%"+n+(o?"%"+o:"")]=!0}}var v=a.default.forwardRef((function(e,t){var n,o=e.href,v=e.as,g=e.children,y=e.prefetch,b=e.passHref,w=e.replace,x=e.shallow,_=e.scroll,j=e.locale,S=e.onClick,E=e.onMouseEnter,O=e.onTouchStart,T=e.legacyBehavior,N=void 0===T?!0!==Boolean(!1):T,C=i(e,["href","as","children","prefetch","passHref","replace","shallow","scroll","locale","onClick","onMouseEnter","onTouchStart","legacyBehavior"]);n=g,!N||"string"!==typeof n&&"number"!==typeof n||(n=a.default.createElement("a",null,n));var k=!1!==y,A=a.default.useContext(l.RouterContext),P=a.default.useContext(c.AppRouterContext);P&&(A=P);var z,M=a.default.useMemo((function(){var e=r(s.resolveHref(A,o,!0),2),t=e[0],n=e[1];return{href:t,as:v?s.resolveHref(A,v):n||t}}),[A,o,v]),U=M.href,I=M.as,D=a.default.useRef(U),R=a.default.useRef(I);N&&(z=a.default.Children.only(n));var L=N?z&&"object"===typeof z&&z.ref:t,F=r(f.useIntersection({rootMargin:"200px"}),3),B=F[0],W=F[1],q=F[2],Z=a.default.useCallback((function(e){R.current===I&&D.current===U||(q(),R.current=I,D.current=U),B(e),L&&("function"===typeof L?L(e):"object"===typeof L&&(L.current=e))}),[I,L,U,q,B]);a.default.useEffect((function(){var e=W&&k&&s.isLocalURL(U),t="undefined"!==typeof j?j:A&&A.locale,n=h[U+"%"+I+(t?"%"+t:"")];e&&!n&&m(A,U,I,{locale:t})}),[I,U,W,j,k,A]);var H={ref:Z,onClick:function(e){N||"function"!==typeof S||S(e),N&&z.props&&"function"===typeof z.props.onClick&&z.props.onClick(e),e.defaultPrevented||function(e,t,n,r,o,i,u,l,c,f){if("A"!==e.currentTarget.nodeName.toUpperCase()||!function(e){var t=e.currentTarget.target;return t&&"_self"!==t||e.metaKey||e.ctrlKey||e.shiftKey||e.altKey||e.nativeEvent&&2===e.nativeEvent.which}(e)&&s.isLocalURL(n)){e.preventDefault();var d=function(){"beforePopState"in t?t[o?"replace":"push"](n,r,{shallow:i,locale:l,scroll:u}):t[o?"replace":"push"](n,{forceOptimisticNavigation:!f})};c?a.default.startTransition(d):d()}}(e,A,U,I,w,x,_,j,Boolean(P),k)},onMouseEnter:function(e){N||"function"!==typeof E||E(e),N&&z.props&&"function"===typeof z.props.onMouseEnter&&z.props.onMouseEnter(e),!k&&P||s.isLocalURL(U)&&m(A,U,I,{priority:!0})},onTouchStart:function(e){N||"function"!==typeof O||O(e),N&&z.props&&"function"===typeof z.props.onTouchStart&&z.props.onTouchStart(e),!k&&P||s.isLocalURL(U)&&m(A,U,I,{priority:!0})}};if(!N||b||"a"===z.type&&!("href"in z.props)){var Y="undefined"!==typeof j?j:A&&A.locale,V=A&&A.isLocaleDomain&&d.getDomainLocale(I,Y,A.locales,A.domainLocales);H.href=V||p.addBasePath(u.addLocale(I,Y,A&&A.defaultLocale))}return N?a.default.cloneElement(z,H):a.default.createElement("a",Object.assign({},C,H),n)}));t.default=v,("function"===typeof t.default||"object"===typeof t.default&&null!==t.default)&&"undefined"===typeof t.default.__esModule&&(Object.defineProperty(t.default,"__esMo
1dule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},84078:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.normalizeLocalePath=void 0;t.normalizeLocalePath=function(e,t){return n(5984).normalizeLocalePath(e,t)},("function"===typeof t.default||"object"===typeof t.default&&null!==t.default)&&"undefined"===typeof t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},59472:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(24633).Z;Object.defineProperty(t,"__esModule",{value:!0}),t.useIntersection=function(e){var t=e.rootRef,n=e.rootMargin,l=e.disabled||!a,c=r(o.useState(!1),2),f=c[0],d=c[1],p=r(o.useState(null),2),h=p[0],m=p[1];o.useEffect((function(){if(a){if(l||f)return;if(h&&h.tagName){var e=function(e,t,n){var r=function(e){var t,n={root:e.root||null,margin:e.rootMargin||""},r=u.find((function(e){return e.root===n.root&&e.margin===n.margin}));if(r&&(t=s.get(r)))return t;var o=new Map,i=new IntersectionObserver((function(e){e.forEach((function(e){var t=o.get(e.target),n=e.isIntersecting||e.intersectionRatio>0;t&&n&&t(n)}))}),e);return t={id:n,observer:i,elements:o},u.push(n),s.set(n,t),t}(n),o=r.id,i=r.observer,a=r.elements;return a.set(e,t),i.observe(e),function(){if(a.delete(e),i.unobserve(e),0===a.size){i.disconnect(),s.delete(o);var t=u.findIndex((function(e){return e.root===o.root&&e.margin===o.margin}));t>-1&&u.splice(t,1)}}}(h,(function(e){return e&&d(e)}),{root:null==t?void 0:t.current,rootMargin:n});return e}}else if(!f){var r=i.requestIdleCallback((function(){return d(!0)}));return function(){return i.cancelIdleCallback(r)}}}),[h,l,n,t,f]);var v=o.useCallback((function(){d(!1)}),[]);return[m,f,v]};var o=n(56168),i=n(33512),a="function"===typeof IntersectionObserver,s=new Map,u=[];("function"===typeof t.default||"object"===typeof t.default&&null!==t.default)&&"undefined"===typeof t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},81042:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.TemplateContext=t.GlobalLayoutRouterContext=t.LayoutRouterContext=t.AppRouterContext=void 0;var r=(0,n(22277).Z)(n(56168)),o=r.default.createContext(null);t.AppRouterContext=o;var i=r.default.createContext(null);t.LayoutRouterContext=i;var a=r.default.createContext(null);t.GlobalLayoutRouterContext=a;var s=r.default.createContext(null);t.TemplateContext=s},15708:function(e,t,n){"use strict";n.r(t),n.d(t,{default:function(){return hn}});var r=n(12042),o=n(99728),i=n(8014),a=n(57919),s=n.n(a),u=n(56168),l=n(75332),c=n(86632),f=function(){return f=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},f.apply(this,arguments)};function d(e){var t=e.config,n=e.allNamespaces,r=e.pluralRules,o=e.lang,i=t.logger,a=void 0===i?v:i,s=function(e,i,u){var l;void 0===e&&(e="");var c=Array.isArray(e)?e[0]:e,d=t.nsSeparator,v=void 0===d?":":d,g=t.loggerEnvironment,y=void 0===g?"browser":g,b=function(e,t){if(!t)return{i18nKey:e};var n=e.indexOf(t);return n<0?{i18nKey:e}:{namespace:e.slice(0,n),i18nKey:e.slice(n+t.length)}}(c,v),w=b.i18nKey,x=b.namespace,_=void 0===x?null!==(l=null===u||void 0===u?void 0:u.ns)&&void 0!==l?l:t.defaultNS:x,j=_&&n[_]||{},S=function(e,t,n,r,o){if(!o||"number"!==typeof o.count)return n;var i="".concat(n,"_").concat(o.count);if(void 0!==p(t,i,r))return i;var a="".concat(n,"_").concat(e.select(o.count));if(void 0!==p(t,a,r))return a;var s="".concat(n,".").concat(o.count);if(void 0!==p(t,s,r))return s;var u="".concat(n,".").concat(e.select(o.count));return void 0!==p(t,u,r)?u:n}(r,j,w,t,i),E=p(j,S,t,u),O="undefined"===typeof E||"object"===typeof E&&!Object.keys(E).length,T="string"===typeof(null===u||void 0===u?void 0:u.fallback)?[u.fallback]:(null===u||void 0===u?void 0:u.fallback)||[];if(!O||"both"!==y&&y!==("undefined"===typeof window?"node":"browser")||a({namespace:_,i18nKey:w}),O&&Array.isArray(T)&&T.length){var N=T[0],C=T.slice(1);if("string"===typeof N)return s(N,i,f(f({},u),{fallback:C}))}return O&&(null===u||void 0===u?void 0:u.default)&&0==(null===T||void 0===T?void 0:T.length)?h({text:null===u||void 0===u?void 0:u.default,query:i,config:t,lang:o}):O?c:E instanceof Object?m({obj:E,query:i,config:t,lang:o}):h({text:E,query:i,config:t,lang:o})};return s}function p(e,t,n,r){void 0===t&&(t=""),void 0===r&&(r={returnObjects:!1});var o=(n||{}).keySeparator,i=void 0===o?".":o,a=i?t.split(i):[t];if(t===i&&r.returnObjects)return e;var s=a.reduce((function(e,t){if("string"===typeof e)return{};var n=e[t];return n||("string"===typeof n?n:{})}),e);return"string"===typeof s||s instanceof Object&&r.returnObjects?s:void 0}function h(e){var t=e.text,n=e.query,r=e.config,o=e.lang;if(!t||!n)return t||"";var i=function(e){return e.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")},a=r.interpolation||{},s=a.format,u=void 0===s?null:s,l=a.prefix,c=void 0===l?"{{":l,f=a.suffix,d=void 0===f?"}}":f,p=""===d?"":"(?:[\\s,]+([\\w-]*))?\\s*".concat(i(d));return Object.keys(n).reduce((function(e,t){if("string"!==typeof e)return e;var r=new RegExp("".concat(i(c),"\\s*").concat(t).concat(p),"gm");return e.replace(r,(function(e,r){return r&&u?u(n[t],r,o):n[t]}))}),t)}function m(e){var t=e.obj,n=e.query,r=e.config,o=e.lang;return n&&0!==Object.keys(n).length?(Object.keys(t).forEach((function(e){t[e]instanceof Object&&m({obj:t[e],query:n,config:r,lang:o}),"string"===typeof t[e]&&(t[e]=h({text:t[e],query:n,config:r,lang:o}))})),t):t}function v(e){e.namespace,e.i18nKey}var g=n(62044),y=function(){return y=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},y.apply(this,arguments)},b=(0,u.createContext)({ns:{},config:{}});function w(e){var t=e.lang,n=e.namespaces,r=void 0===n?{}:n,o=e.children,i=e.config,a=void 0===i?{}:i,s=(0,g.Z)().lang,f=(0,l.useRouter)()||{},p=f.locale,h=f.defaultLocale,m=(0,u.useContext)(b),v=y(y(y({},function(){var e,t;return"undefined"===typeof window?{}:(null===(t=null===(e=window.__NEXT_DATA__)||void 0===e?void 0:e.props)||void 0===t?void 0:t.__namespaces)||{}}()),m.ns),r),w=t||s||p||h||"",x=y(y({},m.config),a),_=(x.localesToIgnore||["default"]).includes(w),j=d({config:x,allNamespaces:v,pluralRules:new Intl.PluralRules(_?void 0:w),lang:w});return u.createElement(c.Z.Provider,{value:{lang:w,t:j}},u.createElement(b.Provider,{value:{ns:v,config:x}},o))}
1var x=function(e,t,n,r){return new(n||(n=Promise))((function(o,i){function a(e){try{u(r.next(e))}catch(t){i(t)}}function s(e){try{u(r.throw(e))}catch(t){i(t)}}function u(e){var t;e.done?o(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(a,s)}u((r=r.apply(e,t||[])).next())}))},_=function(e,t){var n,r,o,i,a={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return i={next:s(0),throw:s(1),return:s(2)},"function"===typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function s(i){return function(s){return function(i){if(n)throw new TypeError("Generator is already executing.");for(;a;)try{if(n=1,r&&(o=2&i[0]?r.return:i[0]?r.throw||((o=r.return)&&o.call(r),0):r.next)&&!(o=o.call(r,i[1])).done)return o;switch(r=0,o&&(i=[2&i[0],o.value]),i[0]){case 0:case 1:o=i;break;case 4:return a.label++,{value:i[1],done:!1};case 5:a.label++,r=i[1],i=[0];continue;case 7:i=a.ops.pop(),a.trys.pop();continue;default:if(!(o=(o=a.trys).length>0&&o[o.length-1])&&(6===i[0]||2===i[0])){a=0;continue}if(3===i[0]&&(!o||i[1]>o[0]&&i[1]<o[3])){a.label=i[1];break}if(6===i[0]&&a.label<o[1]){a.label=o[1],o=i;break}if(o&&a.label<o[2]){a.label=o[2],a.ops.push(i);break}o[2]&&a.ops.pop(),a.trys.pop();continue}i=t.call(e,a)}catch(s){i=[6,s],r=0}finally{n=o=0}if(5&i[0])throw i[1];return{value:i[0]?i[1]:void 0,done:!0}}([i,s])}}},j=function(e,t,n){if(n||2===arguments.length)for(var r,o=0,i=t.length;o<i;o++)!r&&o in t||(r||(r=Array.prototype.slice.call(t,0,o)),r[o]=t[o]);return e.concat(r||Array.prototype.slice.call(t))};function S(e){return e.reduce((function(e,t){return e.concat(t)}),[])}function E(e,t,n){var r=e.pages,o=void 0===r?{}:r;return x(this,void 0,void 0,(function(){var e,r,i,a,s,u,l,c=this;return _(this,(function(f){switch(f.label){case 0:return e="rgx:",r=function(e){return x(c,void 0,void 0,(function(){return _(this,(function(t){return[2,"function"===typeof e?e(n):e||[]]}))}))},i=Object.keys(o).reduce((function(n,i){return i.substring(0,e.length)===e&&new RegExp(i.replace(e,"")).test(t)&&n.push(r(o[i])),n}),[]),a=[[]],[4,r(o["*"])];case 1:return s=[j.apply(void 0,a.concat([f.sent(),!0]))],[4,r(o[t])];case 2:return u=[j.apply(void 0,s.concat([f.sent(),!0]))],l=S,[4,Promise.all(i)];case 3:return[2,j.apply(void 0,u.concat([l.apply(void 0,[f.sent()]),!0]))]}}))}))}var O=n(4444),T=function(){return T=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},T.apply(this,arguments)},N=function(e,t,n,r){return new(n||(n=Promise))((function(o,i){function a(e){try{u(r.next(e))}catch(t){i(t)}}function s(e){try{u(r.throw(e))}catch(t){i(t)}}function u(e){var t;e.done?o(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(a,s)}u((r=r.apply(e,t||[])).next())}))},C=function(e,t){var n,r,o,i,a={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return i={next:s(0),throw:s(1),return:s(2)},"function"===typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function s(i){return function(s){return function(i){if(n)throw new TypeError("Generator is already executing.");for(;a;)try{if(n=1,r&&(o=2&i[0]?r.return:i[0]?r.throw||((o=r.return)&&o.call(r),0):r.next)&&!(o=o.call(r,i[1])).done)return o;switch(r=0,o&&(i=[2&i[0],o.value]),i[0]){case 0:case 1:o=i;break;case 4:return a.label++,{value:i[1],done:!1};case 5:a.label++,r=i[1],i=[0];continue;case 7:i=a.ops.pop(),a.trys.pop();continue;default:if(!(o=(o=a.trys).length>0&&o[o.length-1])&&(6===i[0]||2===i[0])){a=0;continue}if(3===i[0]&&(!o||i[1]>o[0]&&i[1]<o[3])){a.label=i[1];break}if(6===i[0]&&a.label<o[1]){a.label=o[1],o=i;break}if(o&&a.label<o[2]){a.label=o[2],a.ops.push(i);break}o[2]&&a.ops.pop(),a.trys.pop();continue}i=t.call(e,a)}catch(s){i=[6,s],r=0}finally{n=o=0}if(5&i[0])throw i[1];return{value:i[0]?i[1]:void 0,done:!0}}([i,s])}}},k=null==O.env.NODE_DISABLE_COLORS&&null==O.env.NO_COLOR&&"dumb"!==O.env.TERM&&"0"!==O.env.FORCE_COLOR;function A(e){var t,r;return void 0===e&&(e={}),N(this,void 0,void 0,(function(){var o,i,a,s,u,l,c,f;return C(this,(function(d){switch(d.label){case 0:return o=T(T({},("undefined"===typeof window?n.g:window).i18nConfig),e),i=o.localesToIgnore||["default"],a=(null===(t=o.req)||void 0===t?void 0:t.locale)||o.locale||(null===(r=o.router)||void 0===r?void 0:r.locale)||o.defaultLocale||"",o.pathname?i.includes(a)?[2,{__lang:a}]:(o.loaderName||!1===o.loader||console.warn('\ud83d\udea8 [next-translate] You can remove the "loadNamespaces" helper, unless you set "loader: false" in your i18n config file.'),s=function(e){void 0===e&&(e="");return e.length>1&&e.endsWith("/")?e.slice(0,-1):e}(o.pathname.replace(/\/index$/,""))||"/",[4,E(o,s,o)]):(console.warn('\ud83d\udea8 [next-translate] You forgot to pass the "pathname" inside "loadNamespaces" configuration'),[2,{__lang:a}]);case 1:return u=d.sent(),l=function(){return Promise.resolve({})},[4,Promise.all(u.map((function(e){return"function"===typeof o.loadLocaleFrom?o.loadLocaleFrom(a,e).catch((function(){return{}})):l()})))];case 2:return c=d.sent()||[],!1!==o.logBuild&&"undefined"===typeof window&&(f=function(e){return k?"\x1b[36m".concat(e,"\x1b[0m"):e},console.log(f("next-translate"),"- compiled page:",f(s),"- locale:",f(a),"- namespaces:",f(u.join(", ")),"- used loader:",f(o.loaderName||"-"))),[2,{__lang:a,__namespaces:u.reduce((function(e,t,n){return e[t]=c[n]||null,e}),{})}]}}))}))}var P=function(){return P=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},P.apply(this,arguments)}
1,z=function(e,t,n,r){return new(n||(n=Promise))((function(o,i){function a(e){try{u(r.next(e))}catch(t){i(t)}}function s(e){try{u(r.throw(e))}catch(t){i(t)}}function u(e){var t;e.done?o(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(a,s)}u((r=r.apply(e,t||[])).next())}))},M=function(e,t){var n,r,o,i,a={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return i={next:s(0),throw:s(1),return:s(2)},"function"===typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function s(i){return function(s){return function(i){if(n)throw new TypeError("Generator is already executing.");for(;a;)try{if(n=1,r&&(o=2&i[0]?r.return:i[0]?r.throw||((o=r.return)&&o.call(r),0):r.next)&&!(o=o.call(r,i[1])).done)return o;switch(r=0,o&&(i=[2&i[0],o.value]),i[0]){case 0:case 1:o=i;break;case 4:return a.label++,{value:i[1],done:!1};case 5:a.label++,r=i[1],i=[0];continue;case 7:i=a.ops.pop(),a.trys.pop();continue;default:if(!(o=(o=a.trys).length>0&&o[o.length-1])&&(6===i[0]||2===i[0])){a=0;continue}if(3===i[0]&&(!o||i[1]>o[0]&&i[1]<o[3])){a.label=i[1];break}if(6===i[0]&&a.label<o[1]){a.label=o[1],o=i;break}if(o&&a.label<o[2]){a.label=o[2],a.ops.push(i);break}o[2]&&a.ops.pop(),a.trys.pop();continue}i=t.call(e,a)}catch(s){i=[6,s],r=0}finally{n=o=0}if(5&i[0])throw i[1];return{value:i[0]?i[1]:void 0,done:!0}}([i,s])}}};var U=n(1984),I=n.n(U),D=n(78703),R=n.n(D),L=n(56826),F=n(61557),B=n(4444);function W(){return"undefined"!==typeof B&&B.env?B.env:{}}var q=n(96178),Z=n(83244),H=n.n(Z);function Y(e){return"string"===typeof e}function V(e){return"number"===typeof e}function $(e){return"function"===typeof e}function J(e){return"object"===Object.prototype.toString.call(e).slice(8,-1).toLowerCase()}var G=function(e){function t(t,n){var r=e.call(this,n)||this;return r.field=t,r}return(0,F.__extends)(t,e),t}(Error);function K(e){var t,n=e&&e.event&&e.event.type,r=e.event;if(void 0===r)throw new G("event","Event is missing");if(!Y(n))throw new G("event","Event is not a string");if("track"===n&&!Y(r.event))throw new G("event","Event is not a string");var o=null!==(t=r.properties)&&void 0!==t?t:r.traits;if("alias"!==n&&!J(o))throw new G("properties","properties is not an object");if(!function(e){var t,n,r;return Y(null!==(r=null!==(n=null!==(t=e.userId)&&void 0!==t?t:e.anonymousId)&&void 0!==n?n:e.groupId)&&void 0!==r?r:e.previousId)}(r))throw new G("userId","Missing userId or anonymousId");return e}var Q={name:"Event Validation",type:"before",version:"1.0.0",isLoaded:function(){return!0},load:function(){return Promise.resolve()},track:K,identify:K,page:K,alias:K,group:K,screen:K};function X(e,t,n,r){var o,i=[e,t,n,r],a=J(e)?e.event:e;if(!a||!Y(a))throw new Error("Event missing");var s=J(e)?null!==(o=e.properties)&&void 0!==o?o:{}:J(t)?t:{},u={};return J(t)&&!$(n)&&(u=null!==n&&void 0!==n?n:{}),J(e)&&!$(t)&&(u=null!==t&&void 0!==t?t:{}),[a,s,u,i.find($)]}function ee(e,t,n,r,o){var i,a,s=null,u=null,l=[e,t,n,r,o],c=l.filter(Y);void 0!==c[0]&&void 0!==c[1]&&(s=c[0],u=c[1]),1===c.length&&(s=null,u=c[0]);var f=l.find($),d=l.filter((function(e){return null===u?J(e):J(e)||null===e})),p=null!==(i=d[0])&&void 0!==i?i:{},h=null!==(a=d[1])&&void 0!==a?a:{};return[s,u,p,h,f]}var te=function(e){return function(){for(var t,n,r,o,i,a=[],s=0;s<arguments.length;s++)a[s]=arguments[s];var u=null;u=null!==(r=null!==(t=a.find(Y))&&void 0!==t?t:null===(n=a.find(V))||void 0===n?void 0:n.toString())&&void 0!==r?r:e.id();var l=a.filter((function(e){return null===u?J(e):J(e)||null===e})),c=null!==(o=l[0])&&void 0!==o?o:{},f=null!==(i=l[1])&&void 0!==i?i:{},d=a.find($);return[u,c,f,d]}};function ne(e,t,n,r){V(e)&&(e=e.toString()),V(t)&&(t=t.toString());var o=[e,t,n,r],i=o.filter(Y),a=i[0],s=void 0===a?e:a,u=i[1],l=void 0===u?null:u,c=o.filter(J)[0];return[s,l,void 0===c?{}:c,o.find($)]}var re=n(37211),oe=n(88323),ie=n(8997),ae=n(29792),se=n(5163),ue=n(2052),le=n(6329),ce=n.n(le),fe=function(){function e(e){this.user=e}return e.prototype.track=function(e,t,n,r){return this.normalize((0,F.__assign)((0,F.__assign)({},this.baseEvent()),{event:e,type:"track",properties:t,options:(0,F.__assign)({},n),integrations:(0,F.__assign)({},r)}))},e.prototype.page=function(e,t,n,r,o){var i,a={type:"page",properties:(0,F.__assign)({},n),options:(0,F.__assign)({},r),integrations:(0,F.__assign)({},o)};return null!==e&&(a.category=e,a.properties=null!==(i=a.properties)&&void 0!==i?i:{},a.properties.category=e),null!==t&&(a.name=t),this.normalize((0,F.__assign)((0,F.__assign)({},this.baseEvent()),a))},e.prototype.screen=function(e,t,n,r,o){var i={type:"screen",properties:(0,F.__assign)({},n),options:(0,F.__assign)({},r),integrations:(0,F.__assign)({},o)};return null!==e&&(i.category=e),null!==t&&(i.name=t),this.normalize((0,F.__assign)((0,F.__assign)({},this.baseEvent()),i))},e.prototype.identify=function(e,t,n,r){return this.normalize((0,F.__assign)((0,F.__assign)({},this.baseEvent()),{type:"identify",userId:e,traits:t,options:(0,F.__assign)({},n),integrations:(0,F.__assign)({},r)}))},e.prototype.group=function(e,t,n,r){return this.normalize((0,F.__assign)((0,F.__assign)({},this.baseEvent()),{type:"group",traits:t,options:(0,F.__assign)({},n),integrations:(0,F.__assign)({},r),groupId:e}))},e.prototype.alias=function(e,t,n,r){var o={userId:e,type:"alias",options:(0,F.__assign)({},n),integrations:(0,F.__assign)({},r)};return null!==t&&(o.previousId=t),void 0===e?this.normalize((0,F.__assign)((0,F.__assign)({},o),this.baseEvent())):this.normalize((0,F.__assign)((0,F.__assign)({},this.baseEvent()),o))},e.prototype.baseEvent=function(){var e={integrations:{},options:{}},t=this.user;return t.id()&&(e.userId=t.id()),t.anonymousId()&&(e.anonymousId=t.anonymousId()),e},e.prototype.context=function(e){var t,n,r,o=["integrations","anonymousId","timestamp","userId"],i=null!==(t=e.options)&&void 0!==t?t:{};delete i.integrations;var a=Object.keys(i),s=null!==(r=null===(n=e.options)||void 0===n?void 0:n.context)&&void 0!==r?r:{},u={};return a.forEach((function(e){"context"!==e&&(o.includes(e)?(0,ue.N)(u,e,i[e]):(0,ue.N)(s,e,i[e]))})),[s,u]},e.prototype.normalize=function(e){var t,n,r=Object.keys(null!==(t=e.integrations)&&void 0!==t?t:{}).reduce((function(t,n){var r,o;return(0,F.__assign)((0,F.__assign)({},t),((r={})[n]=Boolean(null===(o=e.integrations)||void 0===o?void 0:o[n]),r))}),{}),o=(0,F.__assign)((0,F.__assign)({},r),null===(n=e.options)||void 0===n?void 0:n.integrations),i=this.context(e),a=i[0],s=i[1],u=(e.options,
1(0,F.__rest)(e,["options"])),l=(0,F.__assign)((0,F.__assign)((0,F.__assign)({timestamp:new Date},u),{context:a,integrations:o}),s),c="ajs-next-"+ce().hash(JSON.stringify(l)+(0,se.v4)());return(0,F.__assign)((0,F.__assign)({},l),{messageId:c})},e}();var de,pe,he=n(85148),me=n(85702),ve=function(e){return"object"===typeof e&&null!==e&&"then"in e&&"function"===typeof e.then},ge=n(91190),ye=function(){return"undefined"!==typeof globalThis?globalThis:"undefined"!==typeof self?self:"undefined"!==typeof window?window:"undefined"!==typeof n.g?n.g:null},be=null!==(de=(pe=ye()).__SEGMENT_INSPECTOR__)&&void 0!==de?de:pe.__SEGMENT_INSPECTOR__={},we=function(e){function t(t){var n=e.call(this)||this;return n.criticalTasks=function(){var e,t,n=0;return{done:function(){return e},run:function(r){var o=r();return ve(o)&&(1===++n&&(e=new Promise((function(e){return t=e}))),o.finally((function(){return 0===--n&&t()}))),o}}}(),n.plugins=[],n.failedInitializations=[],n.flushing=!1,n.queue=null!==t&&void 0!==t?t:new me.$(4,"event-queue"),n.queue.on(he.M,(function(){n.scheduleFlush(0)})),n}return(0,F.__extends)(t,e),t.prototype.register=function(e,t,n){return(0,F.__awaiter)(this,void 0,void 0,(function(){var r=this;return(0,F.__generator)(this,(function(o){switch(o.label){case 0:return[4,Promise.resolve(t.load(e,n)).then((function(){r.plugins.push(t)})).catch((function(n){if("destination"===t.type)return r.failedInitializations.push(t.name),console.warn(t.name,n),void e.log("warn","Failed to load destination",{plugin:t.name,error:n});throw n}))];case 1:return o.sent(),[2]}}))}))},t.prototype.deregister=function(e,t,n){return(0,F.__awaiter)(this,void 0,void 0,(function(){var r;return(0,F.__generator)(this,(function(o){switch(o.label){case 0:return o.trys.push([0,3,,4]),t.unload?[4,Promise.resolve(t.unload(e,n))]:[3,2];case 1:o.sent(),o.label=2;case 2:return this.plugins=this.plugins.filter((function(e){return e.name!==t.name})),[3,4];case 3:return r=o.sent(),e.log("warn","Failed to unload destination",{plugin:t.name,error:r}),[3,4];case 4:return[2]}}
vendor: 1,857 bytes, line 1
1))}))},t.prototype.dispatch=function(e){return(0,F.__awaiter)(this,void 0,void 0,(function(){var t;return(0,F.__generator)(this,(function(n){return e.log("debug","Dispatching"),e.stats.increment("message_dispatched"),this.queue.push(e),t=this.subscribeToDelivery(e),this.scheduleFlush(0),[2,t]}))}))},t.prototype.subscribeToDelivery=function(e){return(0,F.__awaiter)(this,void 0,void 0,(function(){var t=this;return(0,F.__generator)(this,(function(n){return[2,new Promise((function(n){var r=function(o,i){o.isSame(e)&&(t.off("flush",r),n(o))};t.on("flush",r)}))]}))}))},t.prototype.dispatchSingle=function(e){return(0,F.__awaiter)(this,void 0,void 0,(function(){var t=this;return(0,F.__generator)(this,(function(n){return e.log("debug","Dispatching"),e.stats.increment("message_dispatched"),this.queue.updateAttempts(e),e.attempts=1,[2,this.deliver(e).catch((function(n){return n instanceof ie.Y&&!1===n.retry?(e.setFailedDelivery({reason:n}),e):t.enqueuRetry(n,e)?t.subscribeToDelivery(e):(e.setFailedDelivery({reason:n}),e)}))]}))}))},t.prototype.isEmpty=function(){return 0===this.queue.length},t.prototype.scheduleFlush=function(e){var t=this;void 0===e&&(e=500),this.flushing||(this.flushing=!0,setTimeout((function(){t.flush().then((function(){setTimeout((function(){t.flushing=!1,t.queue.length&&t.scheduleFlush(0)}),0)}))}),e))},t.prototype.deliver=function(e){return(0,F.__awaiter)(this,void 0,void 0,(function(){var t,n,r;return(0,F.__generator)(this,(function(o){switch(o.label){case 0:return[4,this.criticalTasks.done()];case 1:o.sent(),t=Date.now(),o.label=2;case 2:return o.trys.push([2,4,,5]),[4,this.flushOne(e)];case 3:return e=o.sent(),n=Date.now()-t,e.stats.gauge("delivered",n),e.log("debug","Delivered",e.event),[2,e];case 4:throw r=o.sent(),e.log("error","Failed to deliver",r),e.stats.increment("delivery_failed"),r;case 5:return[2]}}
1))}))},t.prototype.enqueuRetry=function(e,t){return!(e instanceof ie.Y&&!1===e.retry)&&this.queue.pushWithBackoff(t)},t.prototype.flush=function(){return(0,F.__awaiter)(this,void 0,void 0,(function(){var e,t;return(0,F.__generator)(this,(function(n){switch(n.label){case 0:if(0===this.queue.length||!(0,oe.G)())return[2,[]];if(!(e=this.queue.pop()))return[2,[]];e.attempts=this.queue.getAttempts(e),n.label=1;case 1:return n.trys.push([1,3,,4]),[4,this.deliver(e)];case 2:return e=n.sent(),this.emit("flush",e,!0),[3,4];case 3:return t=n.sent(),this.enqueuRetry(t,e)||(e.setFailedDelivery({reason:t}),this.emit("flush",e,!1)),[2,[]];case 4:return[2,[e]]}}))}))},t.prototype.isReady=function(){return!0},t.prototype.availableExtensions=function(e){var t=this.plugins.filter((function(t){var n,r,o;if("destination"!==t.type&&"Segment.io"!==t.name)return!0;var i=void 0;return null===(n=t.alternativeNames)||void 0===n||n.forEach((function(t){void 0!==e[t]&&(i=e[t])})),null!==(o=null!==(r=e[t.name])&&void 0!==r?r:i)&&void 0!==o?o:!1!==("Segment.io"===t.name||e.All)})),n=function(e,t){var n={};return e.forEach((function(e){var r,o=void 0;if("string"===typeof t){var i=e[t];o="string"!==typeof i?JSON.stringify(i):i}else t instanceof Function&&(o=t(e));void 0!==o&&(n[o]=(0,F.__spreadArray)((0,F.__spreadArray)([],null!==(r=n[o])&&void 0!==r?r:[],!0),[e],!1))})),n}(t,"type"),r=n.before,o=void 0===r?[]:r,i=n.enrichment,a=void 0===i?[]:i,s=n.destination,u=void 0===s?[]:s,l=n.after;return{before:o,enrichment:a,destinations:u,after:void 0===l?[]:l}},t.prototype.flushOne=function(e){var t,n,r,o;return(0,F.__awaiter)(this,void 0,void 0,(function(){var i,a,s,u,l,c,f,d,p,h,m,v,g,y;return(0,F.__generator)(this,(function(b){switch(b.label){case 0:if(!this.isReady())throw new Error("Not ready");i=this.availableExtensions(null!==(t=e.event.integrations)&&void 0!==t?t:{}),a=i.before,s=i.enrichment,u=0,l=a,b.label=1;case 1:return u<l.length?(c=l[u],[4,(0,ge.z)(e,c)]):[3,4];case 2:(h=b.sent())instanceof ie._&&(e=h),b.label=3;case 3:return u++,[3,1];case 4:f=0,d=s,b.label=5;case 5:return f<d.length?(p=d[f],[4,(0,ge.a)(e,p)]):[3,8];case 6:(h=b.sent())instanceof ie._&&(e=h),b.label=7;case 7:return f++,[3,5];case 8:return null===(n=be.enriched)||void 0===n||n.call(be,e),m=this.availableExtensions(null!==(r=e.event.integrations)&&void 0!==r?r:{}),v=m.destinations,g=m.after,[4,new Promise((function(t,n){setTimeout((function(){var r=v.map((function(t){return(0,ge.a)(e,t)}));Promise.all(r).then(t).catch(n)}),0)}))];case 9:return b.sent(),e.stats.increment("message_delivered"),null===(o=be.delivered)||void 0===o||o.call(be,e,["segment.io"]),y=g.map((function(t){return(0,ge.a)(e,t)})),[4,Promise.all(y)];case 10:return b.sent(),[2,e]}}))}))},t}(ae.Q),xe=n(92108),_e=n(74819);function je(e){for(var t=e.constructor.prototype,n=0,r=Object.getOwnPropertyNames(t);n<r.length;n++){var o=r[n];if("constructor"!==o){var i=Object.getOwnPropertyDescriptor(e.constructor.prototype,o);i&&"function"===typeof i.value&&(e[o]=e[o].bind(e))}}return e}var Se={persist:!0,cookie:{key:"ajs_user_id",oldKey:"ajs_user"},localStorage:{key:"ajs_user_traits"}},Ee=function(){function e(){this.cache={}}return e.prototype.get=function(e){return this.cache[e]},e.prototype.set=function(e,t){return this.cache[e]=t,t},e.prototype.remove=function(e){delete this.cache[e]},e}(),Oe=function(e){function t(n){void 0===n&&(n=t.defaults);var r=e.call(this)||this;return r.options=(0,F.__assign)((0,F.__assign)({},t.defaults),n),r}return(0,F.__extends)(t,e),t.available=function(){var e=window.navigator.cookieEnabled;return e||(xe.Z.set("ajs:cookies","test"),e=document.cookie.includes("ajs:cookies"),xe.Z.remove("ajs:cookies")),e},Object.defineProperty(t,"defaults",{get:function(){return{maxage:365,domain:(0,_e.P)(window.location.href),path:"/",sameSite:"Lax"}},enumerable:!1,configurable:!0}),t.prototype.opts=function(){return{sameSite:this.options.sameSite,expires:this.options.maxage,domain:this.options.domain,path:this.options.path,secure:this.options.secure}},t.prototype.get=function(e){try{var t=xe.Z.get(e);if(!t)return null;try{return JSON.parse(t)}catch(n){return t}}catch(n){return null}},t.prototype.set=function(e,t){return"string"===typeof t?xe.Z.set(e,t,this.opts()):null===t?xe.Z.remove(e,this.opts()):xe.Z.set(e,JSON.stringify(t),this.opts()),t},t.prototype.remove=function(e){return xe.Z.remove(e,this.opts())},t}(Ee),Te=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.get=function(e){return null},t.set=function(e,t){return null},t.remove=function(e){},t}return(0,F.__extends)(t,e),t}(Ee),Ne=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return(0,F.__extends)(t,e),t.available=function(){var e="test";try{return localStorage.setItem(e,e),localStorage.removeItem(e),!0}catch(t){return!1}},t.prototype.get=function(e){var t=localStorage.getItem(e);if(t)try{return JSON.parse(t)}catch(n){return JSON.parse(JSON.stringify(t))}return null},t.prototype.set=function(e,t){try{localStorage.setItem(e,JSON.stringify(t))}catch(de){console.warn("Unable to set ".concat(e," in localStorage, storage may be full."))}return t},t.prototype.remove=function(e){return localStorage.removeItem(e)},t}(Ee),Ce=function(){function e(e,t){void 0===e&&(e=Se);var n,r,o,i,a=this;this.options={},this.id=function(e){var t,n;if(a.options.disable)return null;var r=a.chainGet(a.idKey);void 0!==e&&(a.trySet(a.idKey,e),e!==r&&null!==r&&null!==e&&a.anonymousId(null));return null!==(n=null!==(t=a.chainGet(a.idKey))&&void 0!==t?t:a.cookies.get(Se.cookie.oldKey
1))&&void 0!==n?n:null},this.anonymousId=function(e){var t,n;if(a.options.disable)return null;if(void 0===e){var r=null!==(t=a.chainGet(a.anonKey))&&void 0!==t?t:null===(n=a.legacySIO())||void 0===n?void 0:n[0];if(r)return r}return null===e?(a.trySet(a.anonKey,null),a.chainGet(a.anonKey)):(a.trySet(a.anonKey,null!==e&&void 0!==e?e:(0,se.v4)()),a.chainGet(a.anonKey))},this.traits=function(e){var t,n;if(!a.options.disable)return null===e&&(e={}),e&&(a.mem.set(a.traitsKey,null!==e&&void 0!==e?e:{}),a.localStorage.set(a.traitsKey,null!==e&&void 0!==e?e:{})),null!==(n=null!==(t=a.localStorage.get(a.traitsKey))&&void 0!==t?t:a.mem.get(a.traitsKey))&&void 0!==n?n:{}},this.options=e,this.cookieOptions=t,this.idKey=null!==(r=null===(n=e.cookie)||void 0===n?void 0:n.key)&&void 0!==r?r:Se.cookie.key,this.traitsKey=null!==(i=null===(o=e.localStorage)||void 0===o?void 0:o.key)&&void 0!==i?i:Se.localStorage.key,this.anonKey="ajs_anonymous_id";var s=!0===e.disable,u=!1!==e.persist;this.localStorage=s||e.localStorageFallbackDisabled||!u||!Ne.available()?new Te:new Ne,this.cookies=!s&&u&&Oe.available()?new Oe(t):new Te,this.mem=s?new Te:new Ee;var l=this.cookies.get(Se.cookie.oldKey);l&&(l.id&&this.id(l.id),l.traits&&this.traits(l.traits)),je(this)}return e.prototype.chainGet=function(e){var t,n,r,o=null!==(r=null!==(n=null!==(t=this.localStorage.get(e))&&void 0!==t?t:this.cookies.get(e))&&void 0!==n?n:this.mem.get(e))&&void 0!==r?r:null;return this.trySet(e,"number"===typeof o?o.toString():o)},e.prototype.trySet=function(e,t){return this.localStorage.set(e,t),this.cookies.set(e,t),this.mem.set(e,t),t},e.prototype.chainClear=function(e){this.localStorage.remove(e),this.cookies.remove(e),this.mem.remove(e)},e.prototype.legacySIO=function(){var e=this.cookies.get("_sio");if(!e)return null;var t=e.split("----");return[t[0],t[1]]},e.prototype.identify=function(e,t){if(!this.options.disable){t=null!==t&&void 0!==t?t:{};var n=this.id();null!==n&&n!==e||(t=(0,F.__assign)((0,F.__assign)({},this.traits()),t)),e&&this.id(e),this.traits(t)}},e.prototype.logout=function(){this.anonymousId(null),this.id(null),this.traits({})},e.prototype.reset=function(){this.logout(),this.chainClear(this.idKey),this.chainClear(this.anonKey),this.chainClear(this.traitsKey)},e.prototype.load=function(){return new e(this.options,this.cookieOptions)},e.prototype.save=function(){return!0},e.defaults=Se,e}(),ke={persist:!0,cookie:{key:"ajs_group_id"},localStorage:{key:"ajs_group_properties"}},Ae=function(e){function t(t,n){void 0===t&&(t=ke);var r=e.call(this,t,n)||this;return r.anonymousId=function(e){},je(r),r}return(0,F.__extends)(t,e),t}(Ce),Pe=n(51571),ze="This is being deprecated and will be not be available in future releases of Analytics JS",Me=ye(),Ue=null===Me||void 0===Me?void 0:Me.analytics;function Ie(){console.warn(ze)}var De=function(e){function t(t,n,r,o,i){var a,s,u,l=this;(l=e.call(this)||this)._debug=!1,l.initialized=!1,l.user=function(){return l._user},l.init=l.initialize.bind(l),l.log=Ie,l.addIntegrationMiddleware=Ie,l.listeners=Ie,l.addEventListener=Ie,l.removeAllListeners=Ie,l.removeListener=Ie,l.removeEventListener=Ie,l.hasListeners=Ie,l.add=Ie,l.addIntegration=Ie;var c=null===n||void 0===n?void 0:n.cookie,f=null!==(a=null===n||void 0===n?void 0:n.disableClientPersistence)&&void 0!==a&&a;return l.settings=t,l.settings.timeout=null!==(s=l.settings.timeout)&&void 0!==s?s:300,l.queue=null!==r&&void 0!==r?r:function(e,t){void 0===e&&(e=!1),void 0===t&&(t=!1);var n=e?4:1,r=t?new he.Z(n,[]):new me.$(n,"event-queue");return new we(r)}(null===n||void 0===n?void 0:n.retryQueue,f),l._user=null!==o&&void 0!==o?o:new Ce(f?(0,F.__assign)((0,F.__assign)({},null===n||void 0===n?void 0:n.user),{persist:!1}):null===n||void 0===n?void 0:n.user,c).load(),l._group=null!==i&&void 0!==i?i:new Ae(f?(0,F.__assign)((0,F.__assign)({},null===n||void 0===n?void 0:n.group),{persist:!1}):null===n||void 0===n?void 0:n.group,c).load(),l.eventFactory=new fe(l._user),l.integrations=null!==(u=null===n||void 0===n?void 0:n.integrations)&&void 0!==u?u:{},l.options=null!==n&&void 0!==n?n:{},je(l),l}return(0,F.__extends)(t,e),t.prototype.track=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return(0,F.__awaiter)(this,void 0,void 0,(function(){var t,n,r,o,i,a,s=this;return(0,F.__generator)(this,(function(u){return t=X.apply(void 0,e),n=t[0],r=t[1],o=t[2],i=t[3],a=this.eventFactory.track(n,r,o,this.integrations),[2,this.dispatch(a,i).then((function(e){return s.emit("track",
1n,e.event.properties,e.event.options),e}))]}))}))},t.prototype.page=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return(0,F.__awaiter)(this,void 0,void 0,(function(){var t,n,r,o,i,a,s,u=this;return(0,F.__generator)(this,(function(l){return t=ee.apply(void 0,e),n=t[0],r=t[1],o=t[2],i=t[3],a=t[4],s=this.eventFactory.page(n,r,o,i,this.integrations),[2,this.dispatch(s,a).then((function(e){return u.emit("page",n,r,e.event.properties,e.event.options),e}))]}))}))},t.prototype.identify=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return(0,F.__awaiter)(this,void 0,void 0,(function(){var t,n,r,o,i,a,s=this;return(0,F.__generator)(this,(function(u){return t=te(this._user).apply(void 0,e),n=t[0],r=t[1],o=t[2],i=t[3],this._user.identify(n,r),a=this.eventFactory.identify(this._user.id(),this._user.traits(),o,this.integrations),[2,this.dispatch(a,i).then((function(e){return s.emit("identify",e.event.userId,e.event.traits,e.event.options),e}))]}))}))},t.prototype.group=function(){for(var e=this,t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];if(0===t.length)return this._group;var r=te(this._group).apply(void 0,t),o=r[0],i=r[1],a=r[2],s=r[3];this._group.identify(o,i);var u=this._group.id(),l=this._group.traits(),c=this.eventFactory.group(u,l,a,this.integrations);return this.dispatch(c,s).then((function(t){return e.emit("group",t.event.groupId,t.event.traits,t.event.options),t}))},t.prototype.alias=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return(0,F.__awaiter)(this,void 0,void 0,(function(){var t,n,r,o,i,a,s=this;return(0,F.__generator)(this,(function(u){return t=ne.apply(void 0,e),n=t[0],r=t[1],o=t[2],i=t[3],a=this.eventFactory.alias(n,r,o,this.integrations),[2,this.dispatch(a,i).then((function(e){return s.emit("alias",n,r,e.event.options),e}))]}))}))},t.prototype.screen=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return(0,F.__awaiter)(this,void 0,void 0,(function(){var t,n,r,o,i,a,s,u=this;return(0,F.__generator)(this,(function(l){return t=ee.apply(void 0,e),n=t[0],r=t[1],o=t[2],i=t[3],a=t[4],s=this.eventFactory.screen(n,r,o,i,this.integrations),[2,this.dispatch(s,a).then((function(e){return u.emit("screen",n,r,e.event.properties,e.event.options),e}))]}))}))},t.prototype.trackClick=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return(0,F.__awaiter)(this,void 0,void 0,(function(){var t,r;return(0,F.__generator)(this,(function(o){switch(o.label){case 0:return[4,n.e(8119).then(n.bind(n,41099))];case 1:return t=o.sent(),[2,(r=t.link).call.apply(r,(0,F.__spreadArray)([this],e,!1))]}}))}))},t.prototype.trackLink=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return(0,F.__awaiter)(this,void 0,void 0,(function(){var t,r;return(0,F.__generator)(this,(function(o){switch(o.label){case 0:return[4,n.e(8119).then(n.bind(n,41099))];case 1:return t=o.sent(),[2,(r=t.link).call.apply(r,(0,F.__spreadArray)([this],e,!1))]}}))}))},t.prototype.trackSubmit=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return(0,F.__awaiter)(this,void 0,void 0,(function(){var t,r;return(0,F.__generator)(this,(function(o){switch(o.label){case 0:return[4,n.e(8119).then(n.bind(n,41099))];case 1:return t=o.sent(),[2,(r=t.form).call.apply(r,(0,F.__spreadArray)([this],e,!1))]}}))}))},t.prototype.trackForm=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return(0,F.__awaiter)(this,void 0,void 0,(function(){var t,r;return(0,F.__generator)(this,(function(o){switch(o.label){case 0:return[4,n.e(8119).then(n.bind(n,41099))];case 1:return t=o.sent(),[2,(r=t.form).call.apply(r,(0,F.__spreadArray)([this],e,!1))]}}))}))},t.prototype.register=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return(0,F.__awaiter)(this,void 0,void 0,(function(){var t,n,r=this;return(0,F.__generator)(this,(function(o){switch(o.label){case 0:return t=ie._.system(),n=e.map((function(e){return r.queue.register(t,e,r)})),[4,Promise.all(n)];case 1:return o.sent(),[2,t]}}))}))},t.prototype.deregister=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return(0,F.__awaiter)(this,void 0,void 0,(function(){var t,n,r=this;return(0,F.__generator)(this,(function(o){switch(o.label){case 0:return t=ie._.system(),n=e.map((function(e){return(0,F.__awaiter)(r,void 0,void 0,(function(){var n;return(0,F.__generator)(this,(function(r){return(n=this.queue.plugins.find((function(t){return t.name===e})))?[2,this.queue.deregister(t,n,this)]:(t.log("warn","plugin ".concat(e," not found")),[2])}))}))})),[4,Promise.all(n)];case 1:return o.sent(),[2,t]}}))}))},t.prototype.debug=function(e){return!1===e&&localStorage.getItem("debug")&&localStorage.removeItem("debug"),this._debug=e,this},t.prototype.reset=function(){this._user.reset(),this._group.reset()},t.prototype.timeout=function(e){this.settings.timeout=e},t.prototype.dispatch=function(e,t){var n;return(0,F.__awaiter)(this,void 0,void 0,(function(){var r,o,i,a,s;return(0,F.__generator)(this,(function(u){switch(u.label){case 0:return r=new ie._(e),null===(n=be.triggered)||void 0===n||n.call(be,r),(0,oe.s)()&&!this.options.retryQueue?[2,r]:(o=Date.now(),this.queue.isEmpty()?[4,this.queue.dispatchSingle(r)]:[3,2]);case 1:return i=u.sent(),[3,4];case 2:return[4,this.queue.dispatch(r)];case 3:i=u.sent(),u.label=4;case 4:return a=Date.now()-o,s=this.settings.timeout,t?[4,(0,re.U)(i,t,Math.max((null!==s&&void 0!==s?s:300)-a,0),s)]:[3,6];case 5:i=u.sent(),u.label=6;case 6:return this._debug&&i.flush(),[2,i]}}))}))},t.prototype.addSourceMiddleware=function(e){return(0,F.__awaiter)(this,void 0,void 0,(function(){var t=this;return(0,F.__generator)(this,(function(r){switch(r.label){case 0:return[4,this.queue.criticalTasks.run((function(){return(0,F.__awaiter)(t,void 0,void 0,(function(){var t,r,o;return(0,F.__generator)(this,(function(i){switch(i.label){case 0:return[4,Promise.resolve().then(n.bind(n,27628))];case 1:return t=i.sent().sourceMiddlewarePlugin,r={},this.queue.plugins.forEach((function(e){if("destination"===e.type)return r[e.name]=!0})),o=t(e,r),[4,this.register(o)];case 2:return i.sent(),[2]}}))}))}))];case 1:return r.sent(),[2,this]}}))}))},t.prototype.addDestinationMiddleware=function(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];var r=this.queue.plugins.filter((function(t){return t.name.toLowerCase()===e.toLowerCase()}));return r.forEach((function(e){e.addMiddleware.apply(e,t)})),Promise.resolve(this)},t.prototype.setAnonymousId=function(e){return this._user.anonymousId(e)},t.prototype.queryString=function(e){return(0,F.__awaiter)(this,void 0,void 0,(function(){return(0,F.__generator)(this,(function(t){switch(t.label){case 0:return[4,n.e(3096).then(n.bind(n,94986))];case 1:return[2,(0,t.sent().queryString)(this,e)]}}))}))},t.prototype.use=function(e){return e(this),this},t.prototype.ready=function(e){return void 0===e&&(e=function(e){return e}),(0,F.__awaiter)(this,void 0,void 0,(function(){return(0,F.__generator)(this,(function(t){return[2,Promise.all(this.queue.plugins.map((function(e){return e.ready?e.ready():Promise.resolve()}))).then((function(t){return e(t),t}))]}))}))},t.prototype.noConflict=function(){return console.warn(ze),window.analytics=null!==Ue&&void 0!==Ue?Ue:this,this},t.prototype.normalize=function(e){return console.warn(ze),this.eventFactory.normalize(e)},Object.defineProperty(t.prototype,"failedInitializations",{get:function(){return console.warn(ze),this.queue.failedInitializations}
1,enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"VERSION",{get:function(){return Pe.i},enumerable:!1,configurable:!0}),t.prototype.initialize=function(e,t){return(0,F.__awaiter)(this,void 0,void 0,(function(){return(0,F.__generator)(this,(function(e){return console.warn(ze),[2,Promise.resolve(this)]}))}))},t.prototype.pageview=function(e){return(0,F.__awaiter)(this,void 0,void 0,(function(){return(0,F.__generator)(this,(function(t){switch(t.label){case 0:return console.warn(ze),[4,this.page({path:e})];case 1:return t.sent(),[2,this]}}))}))},Object.defineProperty(t.prototype,"plugins",{get:function(){var e;return console.warn(ze),null!==(e=this._plugins)&&void 0!==e?e:{}},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"Integrations",{get:function(){return console.warn(ze),this.queue.plugins.filter((function(e){return"destination"===e.type})).reduce((function(e,t){var n="".concat(t.name.toLowerCase().replace(".","").split(" ").join("-"),"Integration"),r=window[n];if(!r)return e;var o=r.Integration;return o?(e[t.name]=o,e):(e[t.name]=r,e)}),{})},enumerable:!1,configurable:!0}),t.prototype.push=function(e){var t=e.shift();t&&!this[t]||this[t].apply(this,e)},t}(ae.Q),Re=n(16843);function Le(){var e=document.getElementsByTagName("link"),t="";return Array.prototype.slice.call(e).forEach((function(e){"canonical"===e.getAttribute("rel")&&(t=e.getAttribute("href"))})),t}function Fe(){var e=Le();if(!e)return window.location.pathname;var t=document.createElement("a");return t.href=e,t.pathname.startsWith("/")?t.pathname:"/"+t.pathname}function Be(e){void 0===e&&(e="");var t=Le();if(t)return t.includes("?")?t:"".concat(t).concat(e);var n=window.location.href,r=n.indexOf("#");return-1===r?n:n.slice(0,r)}function We(){return{path:Fe(),referrer:document.referrer,search:location.search,title:document.title,url:Be(location.search)}}function qe(e){var t,n=e.event;n.context=n.context||{};var r=We(),o=null!==(t=n.properties)&&void 0!==t?t:{};return Object.keys(r).forEach((function(e){o[e]&&(r[e]=o[e])})),n.context.page&&(r=Object.assign({},r,n.context.page)),n.context=Object.assign({},n.context,{page:r}),e.event=n,e}var Ze={name:"Page Enrichment",version:"0.1.0",isLoaded:function(){return!0},load:function(){return Promise.resolve()},type:"before",page:function(e){return e.event.properties=Object.assign({},We(),e.event.properties),e.event.name&&(e.event.properties.name=e.event.name),qe(e)},alias:qe,track:qe,identify:qe,group:qe},He=n(91174),Ye=n(36906),Ve=n(27628),$e=function(){function e(e,t){this.version="1.0.0",this.alternativeNames=[],this.middleware=[],this.alias=this._createMethod("alias"),this.group=this._createMethod("group"),this.identify=this._createMethod("identify"),this.page=this._createMethod("page"),this.screen=this._createMethod("screen"),this.track=this._createMethod("track"),this.action=t,this.name=e,this.type=t.type,this.alternativeNames.push(t.name)}return e.prototype.addMiddleware=function(){for(var e,t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];"destination"===this.type&&(e=this.middleware).push.apply(e,t)},e.prototype.transform=function(e){return(0,F.__awaiter)(this,void 0,void 0,(function(){var t;return(0,F.__generator)(this,(function(n){switch(n.label){case 0:return[4,(0,Ve.applyDestinationMiddleware)(this.name,e.event,this.middleware)];case 1:return null===(t=n.sent())&&e.cancel(new ie.Y({retry:!1,reason:"dropped by destination middleware"})),[2,new ie._(t)]}}))}))},e.prototype._createMethod=function(e){var t=this;return function(n){return(0,F.__awaiter)(t,void 0,void 0,(function(){var t;return(0,F.__generator)(this,(function(r){switch(r.label){case 0:return this.action[e]?(t=n,"destination"!==this.type?[3,2]:[4,this.transform(n)]):[2,n];case 1:t=r.sent(),r.label=2;case 2:return[4,this.action[e](t)];case 3:return r.sent(),[2,n]}}))}))}},e.prototype.isLoaded=function(){return this.action.isLoaded()},e.prototype.ready=function(){return this.action.ready?this.action.ready():Promise.resolve()},e.prototype.load=function(e,t){return this.action.load(e,t)},e.prototype.unload=function(e,t){var n,r;return null===(r=(n=this.action).unload)||void 0===r?void 0:r.call(n,e,t)},e}();function Je(e,t,n,r,o){var i,a,s;return(0,F.__awaiter)(this,void 0,void 0,(function(){var u,l,c,f,d=this;return(0,F.__generator)(this,(function(p){switch(p.label){case 0:return u=[],l=(0,q.Vl)(),c=null!==(a=null===(i=e.middlewareSettings)||void 0===i?void 0:i.routingRules)&&void 0!==a?a:[],f=(null!==(s=e.remotePlugins)&&void 0!==s?s:[]).map((function(e){return(0,F.__awaiter)(d,void 0,void 0,(function(){var i,a,s,f,d,p,h,m,v;return(0,F.__generator)(this,(function(g){switch(g.label){case 0:if(!1===t.All&&!t[e.name]||!1===t[e.name])return[2];g.label=1;case 1:if(g.trys.push([1,12,,13]),!r)return[3,7];i=e.url.split("/"),a=i[i.length-2],s=e.url.replace(a,btoa(a).replace(/=/g,"")),g.label=2;case 2:return g.trys.push([2,4,,6]),[4,(0,Ye.v)(s.replace("https://cdn.segment.com",l))];case 3:return g.sent(),[3,6];case 4:return g.sent(),[4,(0,Ye.v)(e.url.replace("https://cdn.segment.com",l))];case 5:return g.sent(),[3,6];case 6:return[3,9];case 7:return[4,(0,Ye.v)(e.url.replace("https://cdn.segment.com",l))];case 8:g.sent(),g.label=9;case 9:return f=e.libraryName,"function"!==typeof window[f]?[3,11]:(d=window[f],[4,(0,He.O)(d((0,F.__assign)((0,F.__assign)({},e.settings),n[e.name])))]);case 10:p=g.sent(),function(e){if(!Array.isArray(e))throw new Error("Not a valid list of plugins");var t=["load","isLoaded","name","version","type"];e.forEach((function(e){t.forEach((function(t){var n;if(void 0===e[t])throw new Error("Plugin: ".concat(null!==(n=e.name)&&void 0!==n?n:"unknown"," missing required function ").concat(t))}))}))}(h=Array.isArray(p)?p:[p]),m=c.filter((function(t){return t.destinationName===e.creationName})),h.forEach((function(t){var n=new $e(e.creationName,t);m.length&&o&&"destination"===t.type&&n.addMiddleware(o),u.push(n)})),g.label=11;case 11:return[3,13];case 12:return v=g.sent(),console.warn("Failed to load Remote Plugin",v),[3,13];case 13:return[2]}}
1))}))})),[4,Promise.all(f)];case 1:return p.sent(),[2,u.filter(Boolean)]}}))}))}var Ge=n(57469),Ke=H();"undefined"!==typeof window&&(Ke=window.fetch||H());function Qe(e){return(encodeURI(JSON.stringify(e)).split(/%..|./).length-1)/1024}function Xe(e,t){var n,r,o,i=[],a=!1,s=null!==(n=null===t||void 0===t?void 0:t.size)&&void 0!==n?n:10,u=null!==(r=null===t||void 0===t?void 0:t.timeout)&&void 0!==r?r:5e3;function l(t){var n;if(0!==t.length){var r=null===(n=t[0])||void 0===n?void 0:n.writeKey;return Ke("https://".concat(e,"/b"),{keepalive:a,headers:{"Content-Type":"text/plain"},method:"post",body:JSON.stringify({batch:t,writeKey:r})})}}function c(){return(0,F.__awaiter)(this,void 0,void 0,(function(){var e;return(0,F.__generator)(this,(function(t){return i.length?(e=i,i=[],[2,l(e)]):[2]}))}))}return function(e){var t=!1;document.addEventListener("pagehide",(function(){t||(t=!0,e())})),document.addEventListener("visibilitychange",(function(){if("hidden"==document.visibilityState){if(t)return;t=!0,e()}else t=!1}))}((function(){if(a=!0,i.length){var e=function(e){var t=[],n=0;return e.forEach((function(e){Qe(t[n])>=64&&n++,t[n]?t[n].push(e):t[n]=[e]})),t}(i).map(l);Promise.all(e).catch(console.error)}})),{dispatch:function(e,t){return(0,F.__awaiter)(this,void 0,void 0,(function(){var e;return(0,F.__generator)(this,(function(n){return i.push(t),e=i.length>=s||function(e){return Qe(e)>=450}(i),[2,e||a?c():void(o||(o=setTimeout((function(){o=void 0,c().catch(console.error)}),u)))]}))}))}}}var et=H();"undefined"!==typeof window&&(et=window.fetch||H());var tt=n(38173),nt=n(7034);function rt(e,t){return(0,F.__awaiter)(this,void 0,void 0,(function(){var n,r=this;return(0,F.__generator)(this,(function(o){switch(o.label){case 0:return n=[],(0,oe.s)()?[2,t]:[4,(0,nt.x)((function(){return t.length>0&&!(0,oe.s)()}),(function(){return(0,F.__awaiter)(r,void 0,void 0,(function(){var r,o;return(0,F.__generator)(this,(function(i){switch(i.label){case 0:return(r=t.pop())?[4,(0,ge.a)(r,e)]:[2];case 1:return o=i.sent(),o instanceof ie._||n.push(r),[2]}}))}))}))];case 1:return o.sent(),n.map((function(e){return t.pushWithBackoff(e)})),[2,t]}}))}))}function ot(e,t,n,r){var o=this;e||setTimeout((function(){return(0,F.__awaiter)(o,void 0,void 0,(function(){var e,o;return(0,F.__generator)(this,(function(i){switch(i.label){case 0:return e=!0,[4,rt(n,t)];case 1:return o=i.sent(),e=!1,t.todo>0&&r(e,o,n,r),[2]}}))}))}),5e3*Math.random())}function it(e,t,n){var r,o,i,a,s=e.options.disableClientPersistence?new he.Z(e.queue.queue.maxAttempts,[]):new me.$(e.queue.queue.maxAttempts,"dest-Segment.io"),u=null!==(r=null===t||void 0===t?void 0:t.apiHost)&&void 0!==r?r:"api.segment.io/v1",l=null!==(o=null===t||void 0===t?void 0:t.protocol)&&void 0!==o?o:"https",c="".concat(l,"://").concat(u),f="batching"===(null===(i=null===t||void 0===t?void 0:t.deliveryStrategy)||void 0===i?void 0:i.strategy)?Xe(u,null===(a=null===t||void 0===t?void 0:t.deliveryStrategy)||void 0===a?void 0:a.config):{dispatch:function(e,t){return et(e,{headers:{"Content-Type":"text/plain"},method:"post",body:JSON.stringify(t)})}};function d(r){return(0,F.__awaiter)(this,void 0,void 0,(function(){var o,i;return(0,F.__generator)(this,(function(a){return(0,oe.s)()?(s.push(r),ot(false,s,p,ot),[2,r]):(o=r.event.type.charAt(0),i=(0,Ge.D)(r.event).json(),"track"===r.event.type&&delete i.traits,"alias"===r.event.type&&(i=function(e,t){var n,r,o,i,a=e.user();return t.previousId=null!==(o=null!==(r=null!==(n=t.previousId)&&void 0!==n?n:t.from)&&void 0!==r?r:a.id())&&void 0!==o?o:a.anonymousId(),t.userId=null!==(i=t.userId)&&void 0!==i?i:t.to,delete t.from,delete t.to,t}(e,i)),[2,f.dispatch("".concat(c,"/").concat(o),(0,tt.Fv)(e,i,t,n)).then((function(){return r})).catch((function(e){return"error"!==e.type&&"Failed to fetch"!==e.message||(s.push(r),ot(false,s,p,ot)),r}))])}))}))}var p={name:"Segment.io",type:"after",version:"0.1.0",isLoaded:function(){return!0},load:function(){return Promise.resolve()},track:d,identify:d,page:d,alias:d,group:d};return p}var at=function(e,t,n){n.getCalls(e).forEach((function(e){ft(t,e).catch(console.error)}))},st=function(e,t){return(0,F.__awaiter)(void 0,void 0,void 0,(function(){var n,r,o;return(0,F.__generator)(this,(function(i){switch(i.label){case 0:n=0,r=t.getCalls("addSourceMiddleware"),i.label=1;case 1:return n<r.length?(o=r[n],[4,ft(e,o).catch(console.error)]):[3,4];case 2:i.sent(),i.label=3;case 3:return n++,[3,1];case 4:return[2]}}
1))}))},ut=at.bind(void 0,"on"),lt=at.bind(void 0,"setAnonymousId"),ct=function(){function e(){this._value={}}return e.prototype.toArray=function(){var e;return(e=[]).concat.apply(e,Object.values(this._value))},e.prototype.getCalls=function(e){var t;return null!==(t=this._value[e])&&void 0!==t?t:[]},e.prototype.push=function(){for(var e=this,t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];return t.forEach((function(t){e._value[t.method]?e._value[t.method].push(t):e._value[t.method]=[t]})),this},e.prototype.clear=function(){return this._value={},this},e}();function ft(e,t){return(0,F.__awaiter)(this,void 0,void 0,(function(){var n,r;return(0,F.__generator)(this,(function(o){switch(o.label){case 0:return o.trys.push([0,3,,4]),t.called?[2,void 0]:(t.called=!0,n=e[t.method].apply(e,t.args),ve(n)?[4,n]:[3,2]);case 1:o.sent(),o.label=2;case 2:return t.resolve(n),[3,4];case 3:return r=o.sent(),t.reject(r),[3,4];case 4:return[2]}}))}))}var dt=function(){function e(e){var t=this;this._preInitBuffer=new ct,this.trackSubmit=this._createMethod("trackSubmit"),this.trackClick=this._createMethod("trackClick"),this.trackLink=this._createMethod("trackLink"),this.pageView=this._createMethod("pageview"),this.identify=this._createMethod("identify"),this.reset=this._createMethod("reset"),this.group=this._createMethod("group"),this.track=this._createMethod("track"),this.ready=this._createMethod("ready"),this.alias=this._createMethod("alias"),this.debug=this._createChainableMethod("debug"),this.page=this._createMethod("page"),this.once=this._createChainableMethod("once"),this.off=this._createChainableMethod("off"),this.on=this._createChainableMethod("on"),this.addSourceMiddleware=this._createMethod("addSourceMiddleware"),this.setAnonymousId=this._createMethod("setAnonymousId"),this.addDestinationMiddleware=this._createMethod("addDestinationMiddleware"),this.screen=this._createMethod("screen"),this.register=this._createMethod("register"),this.deregister=this._createMethod("deregister"),this.user=this._createMethod("user"),this.VERSION=Pe.i,this._promise=e(this._preInitBuffer),this._promise.then((function(e){var n=e[0],r=e[1];t.instance=n,t.ctx=r})).catch((function(){}))}return e.prototype.then=function(){for(var e,t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];return(e=this._promise).then.apply(e,t)},e.prototype.catch=function(){for(var e,t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];return(e=this._promise).catch.apply(e,t)},e.prototype.finally=function(){for(var e,t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];return(e=this._promise).finally.apply(e,t)},e.prototype._createMethod=function(e){var t=this;return function(){for(var n,r=[],o=0;o<arguments.length;o++)r[o]=arguments[o];if(t.instance){var i=(n=t.instance)[e].apply(n,r);return Promise.resolve(i)}return new Promise((function(n,o){t._preInitBuffer.push({method:e,args:r,resolve:n,reject:o,called:!1})}))}},e.prototype._createChainableMethod=function(e){var t=this;return function(){for(var n,r=[],o=0;o<arguments.length;o++)r[o]=arguments[o];return t.instance?((n=t.instance)[e].apply(n,r),t):(t._preInitBuffer.push({method:e,args:r,resolve:function(){},reject:console.error,called:!1}),t)}},e}();function pt(e){var t=e[0],n=e.slice(1);return{method:t,resolve:function(){},reject:console.error,args:n,called:!1}}var ht=function(){var e=window.analytics;if(!Array.isArray(e))return[];var t=e.splice(0,e.length);return t.map(pt)};function mt(e,t){var n=null!==t&&void 0!==t?t:(0,q.Vl)();return H()("".concat(n,"/v1/projects/").concat(e,"/settings")).then((function(e){return e.ok?e.json():e.text().then((function(e){throw new Error(e)}))})).catch((function(e){throw console.error(e.message),e}))}function vt(e,t){return(0,F.__awaiter)(this,void 0,void 0,(function(){return(0,F.__generator)(this,(function(n){switch(n.label){case 0:return t.push.apply(t,ht()),[4,st(e,t)];case 1:return n.sent(),t.push.apply(t,ht()),function(e,t){t.toArray().forEach((function(t){setTimeout((function(){ft(e,t).catch(console.error)}),0)}))}(e,t),t.clear(),[2]}}))}))}function gt(e,t,r,o,i){var a,s,u;return(0,F.__awaiter)(this,void 0,void 0,(function(){var l,c,f,d,p,h,m,v,g,y,b=this;return(0,F.__generator)(this,(function(w){switch(w.label){case 0:return function(e){var t,n,r;return"test"!==W().NODE_ENV&&(null!==(r=null===(n=null===(t=e.middlewareSettings)||void 0===t?void 0:t.rout
1ingRules)||void 0===n?void 0:n.length)&&void 0!==r?r:0)>0}(e)?[4,n.e(4604).then(n.bind(n,1109)).then((function(t){return t.tsubMiddleware(e.middlewareSettings.routingRules)}))]:[3,2];case 1:return c=w.sent(),[3,3];case 2:c=void 0,w.label=3;case 3:return l=c,x=e,"test"!==W().NODE_ENV&&Object.keys(x.integrations).length>1?[4,n.e(9464).then(n.bind(n,36156)).then((function(n){return n.ajsDestinations(e,t.integrations,r,l)}))]:[3,5];case 4:return d=w.sent(),[3,6];case 5:d=[],w.label=6;case 6:return f=d,e.legacyVideoPluginsEnabled?[4,n.e(8150).then(n.bind(n,26373)).then((function(e){return e.loadLegacyVideoPlugins(t)}))]:[3,8];case 7:w.sent(),w.label=8;case 8:return(null===(a=r.plan)||void 0===a?void 0:a.track)?[4,n.e(7493).then(n.bind(n,35384)).then((function(t){var n;return t.schemaFilter(null===(n=r.plan)||void 0===n?void 0:n.track,e)}))]:[3,10];case 9:return h=w.sent(),[3,11];case 10:h=void 0,w.label=11;case 11:return p=h,m=(0,Re.o)(e,o),[4,Je(e,t.integrations,m,o.obfuscate,l).catch((function(){return[]}))];case 12:return v=w.sent(),g=(0,F.__spreadArray)((0,F.__spreadArray)((0,F.__spreadArray)([Q,Ze],i,!0),f,!0),v,!0),p&&g.push(p),!1===(null===(s=r.integrations)||void 0===s?void 0:s.All)&&!r.integrations["Segment.io"]||r.integrations&&!1===r.integrations["Segment.io"]||g.push(it(t,m["Segment.io"],e.integrations)),[4,t.register.apply(t,g)];case 13:return y=w.sent(),Object.entries(null!==(u=e.enabledMiddleware)&&void 0!==u?u:{}).some((function(e){return e[1]}))?[4,n.e(9214).then(n.bind(n,89396)).then((function(n){var r=n.remoteMiddlewares;return(0,F.__awaiter)(b,void 0,void 0,(function(){var n,i;return(0,F.__generator)(this,(function(a){switch(a.label){case 0:return[4,r(y,e,o.obfuscate)];case 1:return n=a.sent(),i=n.map((function(e){return t.addSourceMiddleware(e)})),[2,Promise.all(i)]}}))}))}))]:[3,15];case 14:w.sent(),w.label=15;case 15:return[2,y]}var x}))}))}function yt(e,t,n){var r,o,i,a,s,u,l;return void 0===t&&(t={}),(0,F.__awaiter)(this,void 0,void 0,(function(){var c,f,d,p,h,m,v,g,y,b;return(0,F.__generator)(this,(function(w){switch(w.label){case 0:return e.cdnURL&&(0,q.UH)(e.cdnURL),null===(r=e.cdnSettings)||void 0===r?[3,1]:(f=r,[3,3]);case 1:return[4,mt(e.writeKey,e.cdnURL)];case 2:f=w.sent(),w.label=3;case 3:return d=null===(i=null===(o=(c=f).integrations["Segment.io"])||void 0===o?void 0:o.retryQueue)||void 0===i||i,p=(0,F.__assign)({retryQueue:d},t),h=new De(e,p),null===(a=be.attach)||void 0===a||a.call(be,h),m=null!==(s=e.plugins)&&void 0!==s?s:[],ie._.initMetrics(c.metrics),function(e,t){t.push.apply(t,ht()),lt(e,t),ut(e,t)}(h,n),[4,gt(c,h,p,t,m)];case 4:return v=w.sent(),g=null!==(u=window.location.search)&&void 0!==u?u:"",y=null!==(l=window.location.hash)&&void 0!==l?l:"",(b=g.length?g:y.replace(/(?=#).*(?=\?)/,"")).includes("ajs_")?[4,h.queryString(b).catch(console.error)]:[3,6];case 5:w.sent(),w.label=6;case 6:return h.initialized=!0,h.emit("initialize",e,t),t.initialPageview&&h.page().catch(console.error),[4,vt(h,n)];case 7:return w.sent(),[2,[h,v]]}}))}))}var bt=function(e){function t(t){return e.call(this,t)||this}return(0,F.__extends)(t,e),t.load=function(e,t){return void 0===t&&(t={}),new this((function(n){return yt(e,t,n)}))},t.standalone=function(e,n){return t.load({writeKey:e},n).then((function(e){return e[0]}))},t}(dt),wt=u.createContext(null);var xt=function(e){var t=e.children,n=u.useMemo((function(){return bt.load({writeKey:"2UIcGdVdfudwc3vDaOhBF2MuVF4TGAx1",cdnURL:"https://analytics.firstrade.net"},{integrations:{"Segment.io":{apiHost:"data-api.firstrade.net/v1",protocol:"https"}}})}),[]),r=(0,l.useRouter)();return u.useEffect((function(){var e=(0,L.getCookie)("kol_id")||"";n.page({kol_id:e}),(0,L.deleteCookie)("kol_id")}),[n]),u.useEffect((function(){var e=function(e){n.page(e)};return r.events.on("routeChangeComplete",e),function(){return r.events.off("routeChangeComplete",e)}}),[r.events,n]),(0,i.jsx)(wt.Provider,{value:n,children:t})},_t=n(50862),jt=n.n(_t),St=n(55486),Et=n(8743),Ot=n(43692),Tt=n(84911),Nt=n(87784),Ct=n(94692),kt=n(46834),At=n(80241),Pt=n.n(At),zt=n(50744),Mt=n.n(zt),Ut=n(26553),It=n(41339),Dt=n(14808),Rt=n(57793),Lt=n(34512),Ft=n(9429),Bt=n(3572),Wt=n(27620),qt=n(99228),Zt=n(75657),Ht=n.n(Zt),Yt=n(12051),Vt=n(4433),$t=n.n(Vt);function Jt(){$t()({app_id:"k41967p8"})}var Gt="before:absolute before:-top-1 before:left-5 before:z-10 before:h-2 before:w-2 before:rotate-45 before:border-t before:border-l before:border-transparent before:bg-white",Kt="flex items-center text-lg leading-6 text-white focus:outline-none ui-focus-visible:outline-white",Qt="absolute z-10 mt-4 w-screen rounded-lg bg-white shadow-lg outline outline-1 outline-transparent",Xt="text-ft-slate text-[13px] uppercase px-2 font-bold tracking-wide leading-2",en="text-ft-slate text-base capitalize",tn="flex w-full items-center justify-between rounded-lg py-2 pl-3 pr-3.5 text-xl leading-7 text-white",nn="block rounded-lg py-2 pl-6 pr-3 text-lg capitalize leading-7 text-white",rn="text-ft-slate block p-2 hover:text-vivid-blue hover:bg-grey-smoke hover:rounded";function on(e){var t,n,r,o,s,l,c,f,d,p,h,m=e.isDark,v=(0,g.Z)("common"),y=v.t,b=v.lang,w=(0,u.useState)(!1),x=w[0],_=w[1],j=(0,u.useCallback)((function(){_(!0)}),[]),S=(0,u.useCallback)((function(){_(!1)}),[]),E=(0,u.useCallback)(function(){var e=(0,Ot.Z)((function(e){return(0,F.__generator)(this,(function(t){switch(t.label){case 0:return[4,(0,Ut.Z)(e)];case 1:return t.sent(),[2]}}))}));return function(t){return e.apply(this,arguments)}}(),[]);return(0,i.jsxs)("header",{className:Mt()("globals relative isolate z-10",m?"bg-ft-blue":"bg-smoke"),children:[(0,i.jsxs)("nav",{className:"container flex items-center justify-between py-3 sm:max-w-none md:max-w-none lg:max-w-7xl lg:py-4","aria-label":"Global",children:[(0,i.jsxs)("div",{className:"flex items-center lg:gap-x-4 xl:gap-x-12",children:[(0,i.jsx)(Ct.Z,{href:"/",className:"-mx-1.5 -my-0.5 p-1.5 ".concat(m?"text-white":"text-ft-blue"),"aria-label":y("home"),children:(0,i.jsx)(Nt.Z,{className:"h-7 w-auto lg:h-10"})}),(0,i.jsxs)(It.J.Group,{className:"hidden lg:flex lg:gap-x-4 xl:gap-x-12",children:[(0,i.jsxs)(It.J,{className:"relative",children:[(0,i.jsx)(It.J.Button,{className:Kt,children:y("header.trading")}),(0,i.jsx)(Dt.u,{as:u.Fragment,enter:"transition ease-out duration-200",enterFrom:"opacity-0 translate-y-1",enterTo:"opacity-100 translate-y-0",leave:"transition ease-in duration-150",leaveFrom:"opacity-100 translate-y-0",leaveTo:"opacity-0 translate-y-1",children:(0,i.jsx)(It.J.Panel,{className:Mt()(Qt,Gt,"max-w-2xl"),children:(0,i.jsx)("div",{className:"p-4",children:(0,i.jsxs)("div",{className:"grid grid-cols-3 gap-x-6",children:[(0,i.jsxs)("div",{children:[(0,i.jsx)("div",{className:Xt,children:y("header.products")}),(0,i.jsx)("div",{className:"mt-4 flow-root",children:(0,i.jsx)("div",{className:"-my-2",children:Yt.Km.map((function(e){return(0,i.jsx)("div",{className:en,children:(0,i.jsx)(It.J.Button,{as:Ct.Z,href:"en-US"===b?e.link:null!==(t=e["link_".concat(b)])&&void 0!==t?t:e.link,className:rn,children:y("header.".concat(e.title))})}
1,e.title)}))})})]}),(0,i.jsxs)("div",{children:[(0,i.jsx)("div",{className:Xt,children:y("header.services")}),(0,i.jsx)("div",{className:"mt-4 flow-root",children:(0,i.jsx)("div",{className:"-my-2",children:Yt.rq.map((function(e){return(0,i.jsx)("div",{className:en,children:(0,i.jsx)(It.J.Button,{as:Ct.Z,href:"en-US"===b?e.link:null!==(n=e["link_".concat(b)])&&void 0!==n?n:e.link,className:rn,children:y("header.".concat(e.title))})},e.title)}))})})]}),(0,i.jsxs)("div",{className:"bg-smoke -m-4 grid grid-cols-1 rounded-r-lg p-6",children:[(0,i.jsx)("div",{className:"relative isolate mb-8 flex max-w-2xl flex-col items-center justify-center",children:(0,i.jsx)(Pt(),{alt:"$0 commission trades and options contract fees",src:"/images/why_pricing.png",width:"114px",height:"108px"})}),(0,i.jsx)("div",{className:"text-md mb-5 w-full",children:(0,i.jsx)(kt.Z,{i18nKey:"header.pricing_desc",ns:"common",components:{br:(0,i.jsx)("br",{})}})}),(0,i.jsx)("div",{className:"flex w-full items-start justify-start",children:(0,i.jsx)(It.J.Button,{as:Ct.Z,href:"/trading/pricing",className:"text-vivid-blue",children:y("header.view_pricing")})})]})]})})})})]}),(0,i.jsxs)(It.J,{className:"relative",children:[(0,i.jsx)(It.J.Button,{className:Kt,children:y("header.accounts")}),(0,i.jsx)(Dt.u,{as:u.Fragment,enter:"transition ease-out duration-200",enterFrom:"opacity-0 translate-y-1",enterTo:"opacity-100 translate-y-0",leave:"transition ease-in duration-150",leaveFrom:"opacity-100 translate-y-0",leaveTo:"opacity-0 translate-y-1",children:(0,i.jsx)(It.J.Panel,{className:Mt()(Qt,Gt,"max-w-2xl"),children:(0,i.jsx)("div",{className:"p-4",children:(0,i.jsxs)("div",{className:"grid grid-cols-3 gap-x-6",children:[(0,i.jsxs)("div",{children:[(0,i.jsx)("div",{className:Xt,children:y("header.account_types")}),(0,i.jsx)("div",{className:"mt-4 flow-root",children:(0,i.jsx)("div",{className:"-my-2",children:Yt.AS.map((function(e){return(0,i.jsx)("div",{className:en,children:(0,i.jsx)(It.J.Button,{as:Ct.Z,href:"en-US"===b?e.link:null!==(r=e["link_".concat(b)])&&void 0!==r?r:e.link,className:rn,children:y("header.".concat(e.title))})},e.title)}))})})]}),(0,i.jsxs)("div",{children:[(0,i.jsx)("div",{className:Xt,children:y("header.promotions")}),(0,i.jsx)("div",{className:"mt-4 flow-root",children:(0,i.jsx)("div",{className:"-my-2",children:Yt.HT.map((function(e){return(0,i.jsx)("div",{className:en,children:(0,i.jsx)(It.J.Button,{as:Ct.Z,href:"en-US"===b?e.link:null!==(o=e["link_".concat(b)])&&void 0!==o?o:e.link,className:rn,children:y("header.".concat(e.title))})},e.title)}))})})]}),(0,i.jsxs)("div",{className:"bg-smoke -m-4 grid grid-cols-1 rounded-r-lg p-6",children:[(0,i.jsx)("div",{className:"mb-5 w-full text-center leading-tight",children:(0,i.jsx)(kt.Z,{i18nKey:"header.switch_to_firstrade",ns:"common",components:{br:(0,i.jsx)("br",{}),b:(0,i.jsx)("b",{})}})}),(0,i.jsx)("div",{className:"relative isolate mb-8 flex max-w-2xl flex-col items-center justify-center",children:(0,i.jsx)(Pt(),{alt:"Switch to Firstrade",src:"/images/icon_SM_switch2.svg",width:360,height:300})}),(0,i.jsx)("div",{className:"flex w-full items-start justify-center",children:(0,i.jsx)(It.J.Button,{as:Ct.Z,href:"/accounts/acat-transfer",className:"text-vivid-blue",children:y("header.learn_more")})})]})]})})})})]}),(0,i.jsxs)(It.J,{className:"relative",children:[(0,i.jsx)(It.J.Button,{className:Kt,children:y("header.resources")}),(0,i.jsx)(Dt.u,{as:u.Fragment,enter:"transition ease-out duration-200",enterFrom:"opacity-0 translate-y-1",enterTo:"opacity-100 translate-y-0",leave:"transition ease-in duration-150",leaveFrom:"opacity-100 translate-y-0",leaveTo:"opacity-0 translate-y-1",children:(0,i.jsx)(It.J.Panel,{className:Mt()(Qt,Gt,"max-w-md"),children:(0,i.jsx)("div",{className:"p-4",children:(0,i.jsxs)("div",{className:"grid grid-cols-2 gap-x-6",children:[(0,i.jsxs)("div",{children:[(0,i.jsx)("div",{className:Xt,children:y("header.resources")}),(0,i.jsx)("div",{className:"mt-4 flow-root",children:(0,i.jsx)("div",{className:"-my-2",children:Yt.IM.map((function(e){return(0,i.jsx)("div",{className:en,children:(0,i.jsx)(It.J.Button,{as:Ct.Z,href:"en-US"===b?e.link:null!==(s=e["link_".concat(b)])&&void 0!==s?s:e.link,className:rn,children:y("header.".concat(e.title))})}
1,e.title)}))})})]}),(0,i.jsxs)("div",{children:[(0,i.jsx)("div",{className:Xt,children:y("header.research&tools")}),(0,i.jsx)("div",{className:"mt-4 flow-root",children:(0,i.jsx)("div",{className:"-my-2",children:Yt._P.map((function(e){return(0,i.jsx)("div",{className:en,children:(0,i.jsx)(It.J.Button,{as:Ct.Z,href:"en-US"===b?e.link:null!==(l=e["link_".concat(b)])&&void 0!==l?l:e.link,className:rn,children:y("header.".concat(e.title))})},e.title)}))})})]})]})})})})]}),(0,i.jsxs)(It.J,{className:"relative",children:[(0,i.jsx)(It.J.Button,{className:Kt,children:y("header.support")}),(0,i.jsx)(Dt.u,{as:u.Fragment,enter:"transition ease-out duration-200",enterFrom:"opacity-0 translate-y-1",enterTo:"opacity-100 translate-y-0",leave:"transition ease-in duration-150",leaveFrom:"opacity-100 translate-y-0",leaveTo:"opacity-0 translate-y-1",children:(0,i.jsx)(It.J.Panel,{className:Mt()(Qt,Gt,"max-w-[12.25rem]"),children:(0,i.jsx)("div",{className:"p-4",children:(0,i.jsx)("div",{className:"grid grid-cols-1 gap-x-6",children:(0,i.jsxs)("div",{children:[(0,i.jsx)("div",{className:Xt,children:y("header.get_answers")}),(0,i.jsx)("div",{className:"mt-4 flow-root",children:(0,i.jsx)("div",{className:"-my-2",children:Yt.Ku.map((function(e){return(0,i.jsx)("div",{className:en,children:(0,i.jsx)(It.J.Button,{as:Ct.Z,href:"en-US"===b?e.link:null!==(c=e["link_".concat(b)])&&void 0!==c?c:e.link,className:rn,children:y("header.".concat(e.title))})},e.title)}))})})]})})})})})]}),(0,i.jsx)(Ht(),{href:"/firstradegpt",children:(0,i.jsxs)("div",{className:"".concat(Kt," cursor-pointer"),children:[(0,i.jsx)("span",{className:"relative mr-2 h-6 w-6",children:(0,i.jsx)(Pt(),{src:"/images/shared/sparkle.svg",width:24,height:24,alt:"FirstradeGPT",priority:!0})}),y("header.FirstradeGPT"),(0,i.jsx)("span",{className:"text-ft-blue bg-smoke ml-2 rounded-[50px] px-3 py-1 text-xs",children:y("header.BETA")})]})})]})]}),(0,i.jsxs)("div",{className:"hidden items-center gap-x-6 lg:flex lg:flex-1 lg:justify-end",children:[(0,i.jsx)(It.J.Group,{className:"lg:gap-x-12",children:(0,i.jsxs)(It.J,{className:"relative",children:[(0,i.jsxs)(It.J.Button,{className:"h-7.5 w-7.5 ui-focus-visible:outline-white flex items-center justify-center rounded-md border-0 bg-white/10 text-white focus:outline-none","aria-label":y("header.Languages"),children:[(0,i.jsx)("span",{className:"sr-only",children:y("header.Languages")}),(0,i.jsx)(Wt,{className:"h-5 w-5"})]}),(0,i.jsx)(Dt.u,{as:u.Fragment,enter:"transition ease-out duration-200",enterFrom:"opacity-0 translate-y-1",enterTo:"opacity-100 translate-y-0",leave:"transition ease-in duration-150",leaveFrom:"opacity-100 translate-y-0",leaveTo:"opacity-0 translate-y-1",children:(0,i.jsx)(It.J.Panel,{className:Mt()(Qt,Gt,"max-w-[12.25rem]"),children:(0,i.jsx)("div",{className:"p-4",children:(0,i.jsx)("div",{className:"grid grid-cols-1 gap-x-6",children:(0,i.jsxs)("div",{children:[(0,i.jsx)("div",{className:Xt,children:y("header.choose_language")}),(0,i.jsx)("div",{className:"mt-4 flow-root",children:(0,i.jsx)("div",{className:"-my-2",children:a.locales.map((function(e){return(0,i.jsx)("div",{className:en,children:(0,i.jsx)(It.J.Button,{onClick:(0,Ot.Z)((function(){return(0,F.__generator)(this,(function(t){switch(t.label){case 0:return[4,E(e)];case 1:return t.sent(),[2]}}))})),className:"".concat(rn," w-full text-left"),children:y("languages.".concat(e,".title"))})},e)}))})})]})})})})})]})}),(0,i.jsx)("a",{"aria-label":y("header.login"),rel:"noopener noreferrer",href:"https://invest.firstrade.com/cgi-bin/login?ft_locale=".concat(b.toLowerCase()),className:Mt()(Kt,"hover:text-white focus:text-white"),children:y("header.login")}),(0,i.jsx)("a",{rel:"noopener noreferrer",className:"button-primary button-primary-orange !h-10 !w-[136px]",href:"https://signup.firstrade.com/apply/".concat(b.toLowerCase()),children:y("header.open_account")})]}),(0,i.jsxs)("div",{className:"flex lg:hidden",children:[(0,i.jsx)("a",{"aria-label":y("header.login"),rel:"noopener noreferrer",href:"https://invest.firstrade.com/cgi-bin/login?ft_locale=".concat(b.toLowerCase()),className:Mt()(Kt,"mr-4 hidden self-center !text-[13px] hover:text-white focus:text-white md:inline-block lg:hidden"),children:y("header.login")}),(0,i.jsx)("a",{rel:"noopener noreferrer",className:"button-primary button-primary-orange mr-4 !h-[30px] !w-[100px] !text-[13px]",href:"https://signup.firstrade.com/apply/".concat(b.toLowerCase()),children:y("header.open_account")}
1),(0,i.jsxs)("button",{type:"button",className:"-m-1.5 inline-flex items-center justify-center rounded-md p-1.5",onClick:j,children:[(0,i.jsx)("span",{className:"sr-only",children:y("header.open_main_menu")}),(0,i.jsx)("div",{className:"relative","aria-hidden":"true",children:(0,i.jsx)(qt,{className:"h-7 w-7 text-white"})})]})]})]}),(0,i.jsxs)(Rt.V,{as:"div",className:"lg:hidden",open:x,onClose:_,children:[(0,i.jsx)("div",{className:"fixed inset-0 z-50"}),(0,i.jsx)(Rt.V.Panel,{focus:"true",className:"bg-ft-blue fixed inset-y-0 right-0 z-50 w-full overflow-y-auto p-4 pt-3",children:(0,i.jsxs)("div",{children:[(0,i.jsxs)("div",{className:"flex items-center justify-between",children:[(0,i.jsx)(Ct.Z,{href:"/",className:"-mx-1.5 -my-0.5 p-1.5 ".concat(m?"text-white":"text-ft-blue"),"aria-label":y("home"),children:(0,i.jsx)(Nt.Z,{className:"h-7 w-auto lg:h-10"})}),(0,i.jsxs)("button",{type:"button",className:"-m-1.5 inline-flex items-center justify-center rounded-md p-1.5 text-white",onClick:S,children:[(0,i.jsx)("span",{className:"sr-only",children:y("header.close_menu")}),(0,i.jsx)("div",{className:"relative","aria-hidden":"true",children:(0,i.jsx)(Bt,{className:"h-7 w-7 text-white"})})]})]}),(0,i.jsx)("div",{className:"mt-4 flow-root",children:(0,i.jsxs)("div",{className:"-my-6 divide-y divide-white/10",children:[(0,i.jsxs)("div",{className:"space-y-2 py-6",children:[(0,i.jsx)(Lt.p,{as:"div",className:"-mx-3",children:function(e){var t=e.open;return(0,i.jsxs)(i.Fragment,{children:[(0,i.jsxs)(Lt.p.Button,{className:tn,children:[y("header.trading"),(0,i.jsx)(Ft,{className:Mt()(t?"rotate-180":"","h-5 w-5 flex-none"),"aria-hidden":"true"})]}),(0,i.jsx)(Lt.p.Panel,{className:"mt-2",children:(0,Tt.Z)(Yt.Km).concat((0,Tt.Z)(Yt.rq)).map((function(e){return(0,i.jsx)(Lt.p.Button,{as:Ct.Z,href:"en-US"===b?e.link:null!==(f=e["link_".concat(b)])&&void 0!==f?f:e.link,className:nn,onClick:S,children:y("header.".concat(e.title))},e.title)}))})]})}}),(0,i.jsx)(Lt.p,{as:"div",className:"-mx-3",children:function(e){var t=e.open;return(0,i.jsxs)(i.Fragment,{children:[(0,i.jsxs)(Lt.p.Button,{className:tn,children:[y("header.accounts"),(0,i.jsx)(Ft,{className:Mt()(t?"rotate-180":"","h-5 w-5 flex-none")})]}),(0,i.jsx)(Lt.p.Panel,{className:"mt-2",children:(0,Tt.Z)(Yt.AS).concat((0,Tt.Z)(Yt.HT)).map((function(e){return(0,i.jsx)(Lt.p.Button,{as:Ct.Z,href:"en-US"===b?e.link:null!==(d=e["link_".concat(b)])&&void 0!==d?d:e.link,className:nn,onClick:S,children:y("header.".concat(e.title))},e.title)}))})]})}}),(0,i.jsx)(Lt.p,{as:"div",className:"-mx-3",children:function(e){var t=e.open;return(0,i.jsxs)(i.Fragment,{children:[(0,i.jsxs)(Lt.p.Button,{className:tn,children:[y("header.resources"),(0,i.jsx)(Ft,{className:Mt()(t?"rotate-180":"","h-5 w-5 flex-none")})]}),(0,i.jsx)(Lt.p.Panel,{className:"mt-2",children:(0,Tt.Z)(Yt.IM).concat((0,Tt.Z)(Yt._P)).map((function(e){return(0,i.jsx)(Lt.p.Button,{as:Ct.Z,href:"en-US"===b?e.link:null!==(p=e["link_".concat(b)])&&void 0!==p?p:e.link,className:nn,onClick:S,children:y("header.".concat(e.title))},e.title)}))})]})}}),(0,i.jsx)(Lt.p,{as:"div",className:"-mx-3",children:function(e){var t=e.open;return(0,i.jsxs)(i.Fragment,{children:[(0,i.jsxs)(Lt.p.Button,{className:tn,children:[y("header.support"),(0,i.jsx)(Ft,{className:Mt()(t?"rotate-180":"","h-5 w-5 flex-none")})]}),(0,i.jsx)(Lt.p.Panel,{className:"mt-2",children:(0,Tt.Z)(Yt.Ku).map((function(e){return(0,i.jsx)(Lt.p.Button,{as:Ct.Z,href:"en-US"===b?e.link:null!==(h=e["link_".concat(b)])&&void 0!==h?h:e.link,className:nn,onClick:S,children:y("header.".concat(e.title))},e.title)}))})]})}}),(0,i.jsx)(Ht(),{href:"/firstradegpt",children:(0,i.jsxs)("div",{className:"".concat(tn," !justify-normal !pl-0"),children:[y("header.FirstradeGPT"),(0,i.jsx)("span",{className:"text-ft-blue bg-smoke ml-2 rounded-[50px] px-3 py-1 text-xs",children:y("header.BETA")})]})})]}),(0,i.jsx)("div",{className:"space-y-2 py-6",children:(0,i.jsx)(Lt.p,{as:"div",className:"-mx-3",children:function(e){var t=e.open;return(0,i.jsxs)(i.Fragment,{children:[(0,i.jsxs)(Lt.p.Button,{className:tn,children:[y("header.Languages"),(0,i.jsx)(Ft,{className:Mt()(t?"rotate-180":"","h-5 w-5 flex-none"),"aria-hidden":"true"})]}),(0,i.jsx)(Lt.p.Panel,{className:"mt-2",children:a.locales.map((function(e){return(0,i.jsx)(Lt.p.Button,{className:"".concat(nn," w-full text-left"),onClick:function(){E(e),S()},children:y("languages.".concat(e,".title"))},e)}))})]})}})}),(0,i.jsxs)("div",{className:"space-y-2 py-6",children:[(0,i.jsx)("a",{"aria-label":y("header.login"),rel:"noopener noreferrer",href:"https://invest.firstrade.com/cgi-bin/login?ft_locale=".concat(b.toLowerCase()),className:"block py-2 text-xl capitalize leading-7 text-white",children:y("header.login")}),(0,i.jsx)("a",{"aria-label":y("header.open_account"),rel:"noopener noreferrer",href:"https://signup.firstrade.com/apply/".concat(b.toLowerCase()),className:"block py-2 text-xl capitalize leading-7 text-white",children:y("header.open_account")}
1)]})]})})]})})]}),(0,i.jsx)(Jt,{})]})}on.defaultProps={isDark:!1},on.propTypes={isDark:jt().bool};var an=on,sn=n(98555);function un(e){var t=e.children;return(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(St.Z,{}),(0,i.jsx)(an,{isDark:!0}),(0,i.jsx)("main",{children:t}),(0,i.jsx)(sn.Z,{}),(0,i.jsx)(Et.Z,{})]})}un.propTypes={children:jt().node.isRequired};var ln=un,cn=(n(74831),function(e){(0,u.useLayoutEffect)((function(){var t;null===(t=e.globalStyles)||void 0===t||t?document.documentElement.classList.add("globals"):document.documentElement.classList.remove("globals")}),[e.globalStyles])}),fn=["gclid","fbclid","ftclid","msclkid"],dn=/^[A-Za-z0-9_-]{30,255}$/,pn=".firstrade.com";var hn=function(e,t){var r=this;function o(n){var r,o,i=t.defaultLocale;return u.createElement(w,{lang:(null===(r=n.pageProps)||void 0===r?void 0:r.__lang)||n.__lang||i,namespaces:(null===(o=n.pageProps)||void 0===o?void 0:o.__namespaces)||n.__namespaces,config:t},u.createElement(e,P({},n)))}return void 0===t&&(t={}),t.isLoader||!1===t.loader||console.warn('\ud83d\udea8 [next-translate] You can remove the "appWithI18n" HoC on the _app.js, unless you set "loader: false" in your i18n config file.'),"function"===typeof t.staticsHoc&&t.staticsHoc(o,e),"undefined"===typeof window?n.g.i18nConfig=t:window.i18nConfig=t,t.skipInitialProps||(o.getInitialProps=function(n){return z(r,void 0,void 0,(function(){var r,o,i;return M(this,(function(a){switch(a.label){case 0:return r=P(P({},n.ctx||{}),n||{}),o={pageProps:{}},e.getInitialProps?[4,e.getInitialProps(n)]:[3,2];case 1:o=a.sent()||{},a.label=2;case 2:return i=[P({},o)],[4,A(P(P(P({},r),t),{loaderName:"getInitialProps"}))];case 3:return[2,P.apply(void 0,i.concat([a.sent()]))]}}))}))}),o}((function(e){var t=e.Component,n=e.pageProps,o=(0,l.useRouter)().query;(0,u.useEffect)((function(){var e=o.im_ref;"string"===typeof e&&e&&(0,L.setCookie)("im_ref",e,{path:"/",domain:pn,maxAge:86400,sameSite:"Lax",secure:!0})}),[o]),(0,u.useEffect)((function(){(0,L.setCookie)("cappver","v3",{path:"/",domain:pn,maxAge:31536e4,sameSite:"Lax",secure:!0})}),[]);for(var a=Object.keys(o),s=0;s<a.length;s+=1){var c=a[s];if(fn.includes(c)){var f=o[c];f.match(dn)&&(0,L.setCookie)("ftcid","".concat(c,".").concat(f),{path:"/",domain:pn,maxAge:2592e3,sameSite:"Lax",secure:!0})}}cn(t);var d,p=t.getLayout||function(e){return(0,i.jsx)(ln,{className:"global",children:e})};return(0,i.jsxs)(i.Fragment,{children:[(0,i.jsxs)(I(),{children:[(0,i.jsx)("meta",{name:"viewport",content:"width=device-width, initial-scale=1"}),(0,i.jsx)("meta",{property:"og:image",content:"/images/[email protected]"}),(0,i.jsx)("meta",{property:"og:image:width",content:"1200"}),(0,i.jsx)("meta",{property:"og:image:height",content:"630"})]}),(0,i.jsx)("div",{className:null===(d=t.globalStyles)||void 0===d||d?"globals":"",children:(0,i.jsx)(xt,{children:p((0,i.jsx)(t,(0,r.Z)({},n)))})}),(0,i.jsx)(R(),{src:"//firstrade-affiliate.trackdesk.com/main.js",strategy:"afterInteractive"}),(0,i.jsx)(R(),{id:"trackdesk-init",strategy:"afterInteractive",children:'\n          (function(t,d,k){(t[k]=t[k]||[]).push(d);t[d]=t[d]||t[k].f||function(){(t[d].q=t[d].q||[]).push(arguments)}})(window,"trackdesk","TrackdeskObject");\n\n          trackdesk("firstrade-affiliate", "click", {}
1, function (data) {\n            var DWELL_MS = 7500;   // 7.5 seconds of actual on page time\n            var elapsed = 0;       // accumulated visible time (ms)\n            var startMark = null;  // timestamp of the current visible stretch\n            var timer = null;\n            var fired = false;\n\n            function fireConversion() {\n              if (fired) return;\n              fired = true;\n              clearPending();\n              document.removeEventListener("visibilitychange", onVisibility);\n              trackdesk("firstrade-affiliate", "conversion", {\n                "conversionType": "validclick"\n              });\n            }\n\n            function clearPending() {\n              if (timer) { clearTimeout(timer); timer = null; }\n            }\n\n            function resume() {\n              if (fired || timer) return;\n              startMark = Date.now();\n              timer = setTimeout(fireConversion, DWELL_MS - elapsed);\n            }\n\n            function pause() {\n              if (fired || !timer) return;\n              clearPending();\n              elapsed += Date.now() - startMark;\n            }\n\n            function onVisibility() {\n              if (document.visibilityState === "visible") resume();\n              else pause();\n            }\n\n            function startCounting() {\n              document.addEventListener("visibilitychange", onVisibility);\n              if (document.visibilityState === "visible") resume();\n            }\n\n            if (document.readyState === "complete") {\n              startCounting();\n            } else {\n              window.addEventListener("load", startCounting);\n            }\n          });\n        '})]})}),(0,o.Z)((0,r.Z)({},s()),{isLoader:!0,skipInitialProps:!0,loadLocaleFrom:function(e,t){return n(30242)("./".concat(e,"/").concat(t)).then((function(e){return e.default}))}}))},74831:function(){},22417:function(e,t,n){"use strict";const r=n(72131);e.exports=a;const o=function(){function e(e){return"undefined"!==typeof e&&e}try{return"undefined"!==typeof globalThis||Object.defineProperty(Object.prototype,"globalThis",{get:function(){return delete Object.prototype.globalThis,this.globalThis=this},configurable:!0}),globalThis}catch(t){return e(self)||e(window)||e(this)||{}}}().console||{},i={mapHttpRequest:h,mapHttpResponse:h,wrapRequestSerializer:m,wrapResponseSerializer:m,wrapErrorSerializer:m,req:h,res:h,err:function(e){const t={type:e.constructor.name,msg:e.message,stack:e.stack};for(const n in e)void 0===t[n]&&(t[n]=e[n]);return t}};function a(e){(e=e||{}).browser=e.browser||{};const t=e.browser.transmit;if(t&&"function"!==typeof t.send)throw Error("pino: transmit option must have a send function");const n=e.browser.write||o;e.browser.write&&(e.browser.asObject=!0);const r=e.serializers||{},i=function(e,t){if(Array.isArray(e))return e.filter((function(e){return"!stdSerializers.err"!==e}));return!0===e&&Object.keys(t)}(e.browser.serialize,r);let u=e.browser.serialize;Array.isArray(e.browser.serialize)&&e.browser.serialize.indexOf("!stdSerializers.err")>-1&&(u=!1);"function"===typeof n&&(n.error=n.fatal=n.warn=n.info=n.debug=n.trace=n),(!1===e.enabled||e.browser.disabled)&&(e.level="silent");const f=e.level||"info",h=Object.create(n);h.log||(h.log=v),Object.defineProperty(h,"levelVal",{get:function(){return"silent"===this.level?1/0:this.levels.values[this.level]}}),Object.defineProperty(h,"level",{get:function(){return this._level},set:function(e){if("silent"!==e&&!this.levels.values[e])throw Error("unknown level "+e);this._level=e,s(m,h,"error","log"),s(m,h,"fatal","error"),s(m,h,"warn","error"),s(m,h,"info","log"),s(m,h,"debug","log"),s(m,h,"trace","log")}});const m={transmit:t,serialize:i,asObject:e.browser.asObject,levels:["error","fatal","warn","info","debug","trace"],timestamp:p(e)};return h.levels=a.levels,h.level=f,h.setMaxListeners=h.getMaxListeners=h.emit=h.addListener=h.on=h.prependListener=h.once=h.prependOnceListener=h.removeListener=h.removeAllListeners=h.listeners=h.listenerCount=h.eventNames=h.write=h.flush=v,h.serializers=r,h._serialize=i,h._stdErrSerialize=u,h.child=function(n,o){if(!n)throw new Error("missing bindings for child Pino");o=o||{},i&&n.serializers&&(o.serializers=n.serializers);const a=o.serializers;if(i&&a){var s=Object.assign({},r,a),u=!0===e.browser.serialize?Object.keys(s):i;delete n.serializers,l([n],u,s,this._stdErrSerialize)}function f(e){this._childLevel=1+(0|e._childLevel),this.error=c(e,n,"error"),this.fatal=c(e,n,"fatal"),this.warn=c(e,n,"warn"),this.info=c(e,n,"info"),this.debug=c(e,n,"debug"),this.trace=c(e,n,"trace"),s&&(this.serializers=s,this._serialize=u),t&&(this._logEvent=d([].concat(e._logEvent.bindings,n)))}return f.prototype=this,new f(this)},t&&(h._logEvent=d()),h}function s(e,t,n,r){const i=Object.getPrototypeOf(t);t[n]=t.levelVal>t.levels.values[n]?v:i[n]?i[n]:o[n]||o[r]||v,function(e,t,n){if(!e.transmit&&t[n]===v)return;t[n]=(r=t[n],function(){const i=e.timestamp(),s=new Array(arguments.length),c=Object.getPrototypeOf&&Object.getPrototypeOf(this)===o?o:this;for(var d=0;d<s.length;d++)s[d]=arguments[d];if(e.serialize&&!e.asObject&&l(s,this._serialize,this.serializers,this._stdErrSerialize),e.asObject?r.call(c,u(this,n,s,i)):r.apply(c,s),e.transmit){const r=e.transmit.level||t.level,o=a.levels.values[r],u=a.levels.values[n];if(u<o)return;f(this,{ts:i,methodLevel:n,methodValue:u,transmitLevel:r,transmitValue:a.levels.values[e.transmit.level||t.level],send:e.transmit.send,val:t.levelVal},s)}});var r}(e,t,n)}
1function u(e,t,n,o){e._serialize&&l(n,e._serialize,e.serializers,e._stdErrSerialize);const i=n.slice();let s=i[0];const u={};o&&(u.time=o),u.level=a.levels.values[t];let c=1+(0|e._childLevel);if(c<1&&(c=1),null!==s&&"object"===typeof s){for(;c--&&"object"===typeof i[0];)Object.assign(u,i.shift());s=i.length?r(i.shift(),i):void 0}else"string"===typeof s&&(s=r(i.shift(),i));return void 0!==s&&(u.msg=s),u}function l(e,t,n,r){for(const o in e)if(r&&e[o]instanceof Error)e[o]=a.stdSerializers.err(e[o]);else if("object"===typeof e[o]&&!Array.isArray(e[o]))for(const r in e[o])t&&t.indexOf(r)>-1&&r in n&&(e[o][r]=n[r](e[o][r]))}function c(e,t,n){return function(){const r=new Array(1+arguments.length);r[0]=t;for(var o=1;o<r.length;o++)r[o]=arguments[o-1];return e[n].apply(this,r)}}function f(e,t,n){const r=t.send,o=t.ts,i=t.methodLevel,a=t.methodValue,s=t.val,u=e._logEvent.bindings;l(n,e._serialize||Object.keys(e.serializers),e.serializers,void 0===e._stdErrSerialize||e._stdErrSerialize),e._logEvent.ts=o,e._logEvent.messages=n.filter((function(e){return-1===u.indexOf(e)})),e._logEvent.level.label=i,e._logEvent.level.value=a,r(i,e._logEvent,s),e._logEvent=d(u)}function d(e){return{ts:0,messages:[],bindings:e||[],level:{label:"",value:0}}}function p(e){return"function"===typeof e.timestamp?e.timestamp:!1===e.timestamp?g:y}function h(){return{}}function m(e){return e}function v(){}function g(){return!1}function y(){return Date.now()}a.levels={values:{fatal:60,error:50,warn:40,info:30,debug:20,trace:10},labels:{10:"trace",20:"debug",30:"info",40:"warn",50:"error",60:"fatal"}},a.stdSerializers=i,a.stdTimeFunctions=Object.assign({},{nullTime:g,epochTime:y,unixTime:function(){return Math.round(Date.now()/1e3)},isoTime:function(){return new Date(Date.now()).toISOString()}})},57793:function(e,t,n){"use strict";n.d(t,{V:function(){return Oe}});var r=n(56168),o=n.t(r,2),i=n(99964),a=n(44505),s=n(26222),u=n(66123),l=n(93479),c=n(74238),f=n(97964),d=n(63988),p=n(50857),h=n(78904),m=n(72467),v=n(2461),g=n(71096),y=n(7061),b=n(51455),w=n(31693),x=n(87996);function _(e){if(!e)return new Set;if("function"==typeof e)return new Set(e());let t=new Set;for(let n of e.current)n.current instanceof HTMLElement&&t.add(n.current);return t}var j=(e=>(e[e.None=1]="None",e[e.InitialFocus=2]="InitialFocus",e[e.TabLock=4]="TabLock",e[e.FocusLock=8]="FocusLock",e[e.RestoreFocus=16]="RestoreFocus",e[e.All=30]="All",e))(j||{});let S=(0,a.yV)((function(e,t){let n=(0,r.useRef)(null),o=(0,s.T)(n,t),{initialFocus:u,containers:l,features:c=30,...j}=e;(0,f.H)()||(c=1);let S=(0,g.i)(n);!function({ownerDocument:e},t){let n=function(e=!0){let t=(0,r.useRef)(O.slice());return(0,w.q)((([e],[n])=>{!0===n&&!1===e&&(0,b.Y)((()=>{t.current.splice(0)})),!1===n&&!0===e&&(t.current=O.slice())}),[e,O,t]),(0,h.z)((()=>{var e;return null!=(e=t.current.find((e=>null!=e&&e.isConnected)))?e:null}))}(t);(0,w.q)((()=>{t||(null==e?void 0:e.activeElement)===(null==e?void 0:e.body)&&(0,p.C5)(n())}),[t]);let o=(0,r.useRef)(!1);(0,r.useEffect)((()=>(o.current=!1,()=>{o.current=!0,(0,b.Y)((()=>{o.current&&(0,p.C5)(n())}))})),[])}({ownerDocument:S},Boolean(16&c));let E=function({ownerDocument:e,container:t,initialFocus:n},o){let i=(0,r.useRef)(null),a=(0,v.t)();return(0,w.q)((()=>{if(!o)return;let r=t.current;r&&(0,b.Y)((()=>{if(!a.current)return;let t=null==e?void 0:e.activeElement;if(null!=n&&n.current){if((null==n?void 0:n.current)===t)return void(i.current=t)}else if(r.contains(t))return void(i.current=t);null!=n&&n.current?(0,p.C5)(n.current):(0,p.jA)(r,p.TO.First)===p.fE.Error&&console.warn("There are no focusable elements inside the <FocusTrap />"),i.current=null==e?void 0:e.activeElement}))}),[o]),i}({ownerDocument:S,container:n,initialFocus:u},Boolean(2&c));!function({ownerDocument:e,container:t,containers:n,previousActiveElement:r},o){let i=(0,v.t)();(0,y.O)(null==e?void 0:e.defaultView,"focus",(e=>{if(!o||!i.current)return;let a=_(n);t.current instanceof HTMLElement&&a.add(t.current);let s=r.current;if(!s)return;let u=e.target;u&&u instanceof HTMLElement?T(a,u)?(r.current=u,(0,p.C5)(u)):(e.preventDefault(),e.stopPropagation(),(0,p.C5)(s)):(0,p.C5)(r.current)}),!0)}({ownerDocument:S,container:n,containers:l,previousActiveElement:E},Boolean(8&c));let N=(0,m.l)(),C=(0,h.z)((e=>{let t=n.current;t&&(0,i.E)(N.current,{[m.N.Forwards]:()=>{(0,p.jA)(t,p.TO.First,{skipElements:[e.relatedTarget]})},[m.N.Backwards]:()=>{(0,p.jA)(t,p.TO.Last,{skipElements:[e.relatedTarget]})}})})),k=(0,x.G)(),A=(0,r.useRef)(!1),P={ref:o,onKeyDown(e){"Tab"==e.key&&(A.current=!0,k.requestAnimationFrame((()=>{A.current=!1})))},onBlur(e){let t=_(l);n.current instanceof HTMLElement&&t.add(n.current);let r=e.relatedTarget;r instanceof HTMLElement&&"true"!==r.dataset.headlessuiFocusGuard&&(T(t,r)||(A.current?(0,p.jA)(n.current,(0,i.E)(N.current,{[m.N.Forwards]:()=>p.TO.Next,[m.N.Backwards]:()=>p.TO.Previous})|p.TO.WrapAround,{relativeTo:e.target}):e.target instanceof HTMLElement&&(0,p.C5)(e.target)))}};return r.createElement(r.Fragment,null,Boolean(4&c)&&r.createElement(d._,{as:"button",type:"button","data-headlessui-focus-guard":!0,onFocus:C,features:d.A.Focusable}),(0,a.sY)({ourProps:P,theirProps:j,defaultTag:"div",name:"FocusTrap"}),Boolean(4&c)&&r.createElement(d._,{as:"button",type:"button","data-headlessui-focus-guard":!0,onFocus:C,features:d.A.Focusable}))})),E=Object.assign(S,{features:j}),O=[];function T(e,t){for(let n of e)if(n.contains(t))return!0;return!1}!function(e){function t(){"loading"!==document.readyState&&(e(),document.removeEventListener("DOMContentLoaded",t))}"undefined"!=typeof window&&"undefined"!=typeof document&&(document.addEventListener("DOMContentLoaded",t),t())}((()=>{function e(e){e.target instanceof HTMLElement&&e.target!==document.body&&O[0]!==e.target&&(O.unshift(e.target),O=O.filter((e=>null!=e&&e.isConnected)),O.splice(10))}window.addEventListener("click",e,{capture:!0}),window.addEventListener("mousedown",e,{capture:!0}),window.addEventListener("focus",e,{capture:!0}),document.body.addEventListener("click",e,{capture:!0}),document.body.addEventListener("mousedown",e,{capture:!0}),document.body.addEventListener("focus",e,{capture:!0})}
1));var N=n(34323),C=n(76178);let k=(0,r.createContext)(!1);function A(){return(0,r.useContext)(k)}function P(e){return r.createElement(k.Provider,{value:e.force},e.children)}var z=n(15663);let M=r.Fragment;let U=r.Fragment,I=(0,r.createContext)(null);let D=(0,a.yV)((function(e,t){let n=e,o=(0,r.useRef)(null),i=(0,s.T)((0,s.h)((e=>{o.current=e})),t),u=(0,g.i)(o),l=function(e){let t=A(),n=(0,r.useContext)(I),o=(0,g.i)(e),[i,a]=(0,r.useState)((()=>{if(!t&&null!==n||z.O.isServer)return null;let e=null==o?void 0:o.getElementById("headlessui-portal-root");if(e)return e;if(null===o)return null;let r=o.createElement("div");return r.setAttribute("id","headlessui-portal-root"),o.body.appendChild(r)}));return(0,r.useEffect)((()=>{null!==i&&(null!=o&&o.body.contains(i)||null==o||o.body.appendChild(i))}),[i,o]),(0,r.useEffect)((()=>{t||null!==n&&a(n.current)}),[n,a,t]),i}(o),[c]=(0,r.useState)((()=>{var e;return z.O.isServer?null:null!=(e=null==u?void 0:u.createElement("div"))?e:null})),d=(0,f.H)(),p=(0,r.useRef)(!1);return(0,C.e)((()=>{if(p.current=!1,l&&c)return l.contains(c)||(c.setAttribute("data-headlessui-portal",""),l.appendChild(c)),()=>{p.current=!0,(0,b.Y)((()=>{var e;p.current&&(!l||!c||(c instanceof Node&&l.contains(c)&&l.removeChild(c),l.childNodes.length<=0&&(null==(e=l.parentElement)||e.removeChild(l))))}))}}),[l,c]),d&&l&&c?(0,N.createPortal)((0,a.sY)({ourProps:{ref:i},theirProps:n,defaultTag:M,name:"Portal"}),c):null})),R=(0,a.yV)((function(e,t){let{target:n,...o}=e,i={ref:(0,s.T)(t)};return r.createElement(I.Provider,{value:n},(0,a.sY)({ourProps:i,theirProps:o,defaultTag:U,name:"Popover.Group"}))})),L=Object.assign(D,{Group:R}),F=(0,r.createContext)(null);function B(){let e=(0,r.useContext)(F);if(null===e){let e=new Error("You used a <Description /> component, but it is not inside a relevant parent.");throw Error.captureStackTrace&&Error.captureStackTrace(e,B),e}return e}function W(){let[e,t]=(0,r.useState)([]);return[e.length>0?e.join(" "):void 0,(0,r.useMemo)((()=>function(e){let n=(0,h.z)((e=>(t((t=>[...t,e])),()=>t((t=>{let n=t.slice(),r=n.indexOf(e);return-1!==r&&n.splice(r,1),n}))))),o=(0,r.useMemo)((()=>({register:n,slot:e.slot,name:e.name,props:e.props})),[n,e.slot,e.name,e.props]);return r.createElement(F.Provider,{value:o},e.children)}),[t])]}let q=(0,a.yV)((function(e,t){let n=(0,c.M)(),{id:r=`headlessui-description-${n}`,...o}=e,i=B(),u=(0,s.T)(t);(0,C.e)((()=>i.register(r)),[r,i.register]);let l={ref:u,...i.props,id:r};return(0,a.sY)({ourProps:l,theirProps:o,slot:i.slot||{},defaultTag:"p",name:i.name||"Description"})})),Z=Object.assign(q,{});var H=n(84114);let Y=(0,r.createContext)((()=>{}));Y.displayName="StackContext";var V=(e=>(e[e.Add=0]="Add",e[e.Remove=1]="Remove",e))(V||{});function $({children:e,onUpdate:t,type:n,element:o,enabled:i}){let a=(0,r.useContext)(Y),s=(0,h.z)(((...e)=>{null==t||t(...e),a(...e)}));return(0,C.e)((()=>{let e=void 0===i||!0===i;return e&&s(0,n,o),()=>{e&&s(1,n,o)}}),[s,n,o,i]),r.createElement(Y.Provider,{value:s},e)}var J=n(90808);const G="function"==typeof Object.is?Object.is:function(e,t){return e===t&&(0!==e||1/e===1/t)||e!==e&&t!==t},{useState:K,useEffect:Q,useLayoutEffect:X,useDebugValue:ee}=o;function te(e){const t=e.getSnapshot,n=e.value;try{const e=t();return!G(n,e)}catch{return!0}}"undefined"!=typeof window&&"undefined"!=typeof window.document&&window.document.createElement;const ne=o.useSyncExternalStore;var re=n(49741);function oe(){let e;return{before({doc:t}){var n;let r=t.documentElement;e=(null!=(n=t.defaultView)?n:window).innerWidth-r.clientWidth},after({doc:t,d:n}){let r=t.documentElement,o=r.clientWidth-r.offsetWidth,i=e-o;n.style(r,"paddingRight",`${i}px`)}}}var ie=n(79096);function ae(){if(!(0,ie.gn)())return{};let e;return{before(){e=window.pageYOffset},after({doc:t,d:n,meta:r}){function o(e){return r.containers.flatMap((e=>e())).some((t=>t.contains(e)))}n.style(t.body,"marginTop",`-${e}px`),window.scrollTo(0,0);let i=null;n.addEventListener(t,"click",(e=>{if(e.target instanceof HTMLElement)try{let n=e.target.closest("a");if(!n)return;let{hash:r}=new URL(n.href),a=t.querySelector(r);a&&!o(a)&&(i=a)}catch{}}),!0),n.addEventListener(t,"touchmove",(e=>{e.target instanceof HTMLElement&&!o(e.target)&&e.preventDefault()}),{passive:!1}),n.add((()=>{window.scrollTo(0,window.pageYOffset+e),i&&i.isConnected&&(i.scrollIntoView({block:"nearest"}),i=null)}))}}}function se(e){let t={};for(let n of e)Object.assign(t,n(t));return t}let ue=function(e,t){let n=e(),r=new Set;return{getSnapshot:()=>n,subscribe:e=>(r.add(e),()=>r.delete(e)),dispatch(e,...o){let i=t[e].call(n,...o);i&&(n=i,r.forEach((e=>e())))}}}((()=>new Map),{PUSH(e,t){var n;let r=null!=(n=this.get(e))?n:{doc:e,count:0,d:(0,re.k)(),meta:new Set};return r.count++,r.meta.add(t),this.set(e,r),this},POP(e,t){let n=this.get(e);return n&&(n.count--,n.meta.delete(t)),this},SCROLL_PREVENT({doc:e,d:t,meta:n}){let r={doc:e,d:t,meta:se(n)},o=[ae(),oe(),{before({doc:e,d:t}){t.style(e.documentElement,"overflow","hidden")}}];o.forEach((({before:e})=>null==e?void 0:e(r))),o.forEach((({after:e})=>null==e?void 0:e(r)))},SCROLL_ALLOW({d:e}){e.dispose()},TEARDOWN({doc:e}){this.delete(e)}});function le(e,t,n){let r=function(e){return ne(e.subscribe,e.getSnapshot,e.getSnapshot)}(ue),o=e?r.get(e):void 0,i=!!o&&o.count>0;return(0,C.e)((()=>
1{if(e&&t)return ue.dispatch("PUSH",e,n),()=>ue.dispatch("POP",e,n)}),[t,e]),i}ue.subscribe((()=>{let e=ue.getSnapshot(),t=new Map;for(let[n]of e)t.set(n,n.documentElement.style.overflow);for(let n of e.values()){let e="hidden"===t.get(n.doc),r=0!==n.count;(r&&!e||!r&&e)&&ue.dispatch(n.count>0?"SCROLL_PREVENT":"SCROLL_ALLOW",n),0===n.count&&ue.dispatch("TEARDOWN",n)}}));let ce=new Map,fe=new Map;function de(e,t=!0){(0,C.e)((()=>{var n;if(!t)return;let r="function"==typeof e?e():e.current;if(!r)return;let o=null!=(n=fe.get(r))?n:0;return fe.set(r,o+1),0!==o||(ce.set(r,{"aria-hidden":r.getAttribute("aria-hidden"),inert:r.inert}),r.setAttribute("aria-hidden","true"),r.inert=!0),function(){var e;if(!r)return;let t=null!=(e=fe.get(r))?e:1;if(1===t?fe.delete(r):fe.set(r,t-1),1!==t)return;let n=ce.get(r);n&&(null===n["aria-hidden"]?r.removeAttribute("aria-hidden"):r.setAttribute("aria-hidden",n["aria-hidden"]),r.inert=n.inert,ce.delete(r))}}),[e,t])}var pe,he=((pe=he||{})[pe.Open=0]="Open",pe[pe.Closed=1]="Closed",pe),me=(e=>(e[e.SetTitleId=0]="SetTitleId",e))(me||{});let ve={0:(e,t)=>e.titleId===t.id?e:{...e,titleId:t.id}},ge=(0,r.createContext)(null);function ye(e){let t=(0,r.useContext)(ge);if(null===t){let t=new Error(`<${e} /> is missing a parent <Dialog /> component.`);throw Error.captureStackTrace&&Error.captureStackTrace(t,ye),t}return t}function be(e,t){return(0,i.E)(t.type,ve,e,t)}ge.displayName="DialogContext";let we=a.AN.RenderStrategy|a.AN.Static;let xe=(0,a.yV)((function(e,t){let n=(0,c.M)(),{id:o=`headlessui-dialog-${n}`,open:l,onClose:p,initialFocus:m,__demoMode:v=!1,...b}=e,[w,x]=(0,r.useState)(0),_=(0,H.oJ)();void 0===l&&null!==_&&(l=(_&H.ZM.Open)===H.ZM.Open);let j=(0,r.useRef)(null),S=(0,s.T)(j,t),O=(0,r.useRef)(null),T=(0,g.i)(j),N=e.hasOwnProperty("open")||null!==_,C=e.hasOwnProperty("onClose");if(!N&&!C)throw new Error("You have to provide an `open` and an `onClose` prop to the `Dialog` component.");if(!N)throw new Error("You provided an `onClose` prop to the `Dialog`, but forgot an `open` prop.");if(!C)throw new Error("You provided an `open` prop to the `Dialog`, but forgot an `onClose` prop.");if("boolean"!=typeof l)throw new Error(`You provided an \`open\` prop to the \`Dialog\`, but the value is not a boolean. Received: ${l}`);if("function"!=typeof p)throw new Error(`You provided an \`onClose\` prop to the \`Dialog\`, but the value is not a function. Received: ${p}`);let k=l?0:1,[A,z]=(0,r.useReducer)(be,{titleId:null,descriptionId:null,panelRef:(0,r.createRef)()}),M=(0,h.z)((()=>p(!1))),U=(0,h.z)((e=>z({type:0,id:e}))),I=!!(0,f.H)()&&(!v&&0===k),D=w>1,R=null!==(0,r.useContext)(ge),F=D?"parent":"leaf",B=null!==_&&(_&H.ZM.Closing)===H.ZM.Closing,q=!R&&!B&&I,Z=(0,r.useCallback)((()=>{var e,t;return null!=(t=Array.from(null!=(e=null==T?void 0:T.querySelectorAll("body > *"))?e:[]).find((e=>"headlessui-portal-root"!==e.id&&(e.contains(O.current)&&e instanceof HTMLElement))))?t:null}),[O]);de(Z,q);let Y=!!D||I,G=(0,r.useCallback)((()=>{var e,t;return null!=(t=Array.from(null!=(e=null==T?void 0:T.querySelectorAll("[data-headlessui-portal]"))?e:[]).find((e=>e.contains(O.current)&&e instanceof HTMLElement)))?t:null}),[O]);de(G,Y);let K=(0,h.z)((()=>{var e,t;return[...Array.from(null!=(e=null==T?void 0:T.querySelectorAll("html > *, body > *, [data-headlessui-portal]"))?e:[]).filter((e=>!(e===document.body||e===document.head||!(e instanceof HTMLElement)||e.contains(O.current)||A.panelRef.current&&e.contains(A.panelRef.current)))),null!=(t=A.panelRef.current)?t:j.current]})),Q=!(!I||D);(0,J.O)((()=>K()),M,Q);let X=!(D||0!==k);(0,y.O)(null==T?void 0:T.defaultView,"keydown",(e=>{X&&(e.defaultPrevented||e.key===u.R.Escape&&(e.preventDefault(),e.stopPropagation(),M()))})),function(e,t,n=(()=>[document.body])){le(e,t,(e=>{var t;return{containers:[...null!=(t=e.containers)?t:[],n]}}))}(T,!(B||0!==k||R),K),(0,r.useEffect)((()=>{if(0!==k||!j.current)return;let e=new ResizeObserver((e=>{for(let t of e){let e=t.target.getBoundingClientRect();0===e.x&&0===e.y&&0===e.width&&0===e.height&&M()}}));return e.observe(j.current),()=>e.disconnect()}),[k,j,M]);let[ee,te]=W(),ne=(0,r.useMemo)((()=>[{dialogState:k,close:M,setTitleId:U},A]),[k,A,M,U]),re=(0,r.useMemo)((()=>({open:0===k})),[k]),oe={ref:S,id:o,role:"dialog","aria-modal":0===k||void 0,"aria-labelledby":A.titleId,"aria-describedby":ee};return r.createElement($,{type:"Dialog",enabled:0===k,element:j,onUpdate:(0,h.z)(((e,t)=>{"Dialog"===t&&(0,i.E)(e,{[V.Add]:()=>x((e=>e+1)),[V.Remove]:()=>x((e=>e-1))})}))},r.createElement(P,{force:!0},r.createElement(L,null,r.createElement(ge.Provider,{value:ne},r.createElement(L.Group,{target:j},r.createElement(P,{force:!1},r.createElement(te,{slot:re,name:"Dialog.Description"},r.createElement(E,{initialFocus:m,containers:K,features:I?(0,i.E)(F,{parent:E.features.RestoreFocus,leaf:E.features.All&~E.features.FocusLock}):E.features.None},(0,a.sY)({ourProps:oe,theirProps:b,slot:re,defaultTag:"div",features:we,visible:0===k,name:"Dialog"})))))))),r.createElement(d._,{features:d.A.Hidden,ref:O}))})),_e=(0,a.yV)((function(e,t){let n=(0,c.M)(),{id:o=`headlessui-dialog-backdrop-${n}`,...i}=e,[{dialogState:u},l]=ye("Dialog.Backdrop"),f=(0,s.T)(t);(0,r.useEffect)((()=>
1{if(null===l.panelRef.current)throw new Error("A <Dialog.Backdrop /> component is being used, but a <Dialog.Panel /> component is missing.")}),[l.panelRef]);let d=(0,r.useMemo)((()=>({open:0===u})),[u]);return r.createElement(P,{force:!0},r.createElement(L,null,(0,a.sY)({ourProps:{ref:f,id:o,"aria-hidden":!0},theirProps:i,slot:d,defaultTag:"div",name:"Dialog.Backdrop"})))})),je=(0,a.yV)((function(e,t){let n=(0,c.M)(),{id:o=`headlessui-dialog-panel-${n}`,...i}=e,[{dialogState:u},l]=ye("Dialog.Panel"),f=(0,s.T)(t,l.panelRef),d=(0,r.useMemo)((()=>({open:0===u})),[u]),p=(0,h.z)((e=>{e.stopPropagation()}));return(0,a.sY)({ourProps:{ref:f,id:o,onClick:p},theirProps:i,slot:d,defaultTag:"div",name:"Dialog.Panel"})})),Se=(0,a.yV)((function(e,t){let n=(0,c.M)(),{id:o=`headlessui-dialog-overlay-${n}`,...i}=e,[{dialogState:u,close:f}]=ye("Dialog.Overlay"),d=(0,s.T)(t),p=(0,h.z)((e=>{if(e.target===e.currentTarget){if((0,l.P)(e.currentTarget))return e.preventDefault();e.preventDefault(),e.stopPropagation(),f()}})),m=(0,r.useMemo)((()=>({open:0===u})),[u]);return(0,a.sY)({ourProps:{ref:d,id:o,"aria-hidden":!0,onClick:p},theirProps:i,slot:m,defaultTag:"div",name:"Dialog.Overlay"})})),Ee=(0,a.yV)((function(e,t){let n=(0,c.M)(),{id:o=`headlessui-dialog-title-${n}`,...i}=e,[{dialogState:u,setTitleId:l}]=ye("Dialog.Title"),f=(0,s.T)(t);(0,r.useEffect)((()=>(l(o),()=>l(null))),[o,l]);let d=(0,r.useMemo)((()=>({open:0===u})),[u]);return(0,a.sY)({ourProps:{ref:f,id:o},theirProps:i,slot:d,defaultTag:"h2",name:"Dialog.Title"})})),Oe=Object.assign(xe,{Backdrop:_e,Panel:je,Overlay:Se,Title:Ee,Description:Z})},34512:function(e,t,n){"use strict";n.d(t,{p:function(){return A}});var r,o=n(56168),i=n(99964),a=n(44505),s=n(26222),u=n(74238),l=n(66123),c=n(93479),f=n(84114),d=n(59743),p=n(41784),h=n(78904);let m=null!=(r=o.startTransition)?r:function(e){e()};var v,g=((v=g||{})[v.Open=0]="Open",v[v.Closed=1]="Closed",v),y=(e=>(e[e.ToggleDisclosure=0]="ToggleDisclosure",e[e.CloseDisclosure=1]="CloseDisclosure",e[e.SetButtonId=2]="SetButtonId",e[e.SetPanelId=3]="SetPanelId",e[e.LinkPanel=4]="LinkPanel",e[e.UnlinkPanel=5]="UnlinkPanel",e))(y||{});let b={0:e=>({...e,disclosureState:(0,i.E)(e.disclosureState,{0:1,1:0})}),1:e=>1===e.disclosureState?e:{...e,disclosureState:1},4:e=>!0===e.linkedPanel?e:{...e,linkedPanel:!0},5:e=>!1===e.linkedPanel?e:{...e,linkedPanel:!1},2:(e,t)=>e.buttonId===t.buttonId?e:{...e,buttonId:t.buttonId},3:(e,t)=>e.panelId===t.panelId?e:{...e,panelId:t.panelId}},w=(0,o.createContext)(null);function x(e){let t=(0,o.useContext)(w);if(null===t){let t=new Error(`<${e} /> is missing a parent <Disclosure /> component.`);throw Error.captureStackTrace&&Error.captureStackTrace(t,x),t}return t}w.displayName="DisclosureContext";let _=(0,o.createContext)(null);function j(e){let t=(0,o.useContext)(_);if(null===t){let t=new Error(`<${e} /> is missing a parent <Disclosure /> component.`);throw Error.captureStackTrace&&Error.captureStackTrace(t,j),t}return t}_.displayName="DisclosureAPIContext";let S=(0,o.createContext)(null);function E(e,t){return(0,i.E)(t.type,b,e,t)}S.displayName="DisclosurePanelContext";let O=o.Fragment;let T=a.AN.RenderStrategy|a.AN.Static;let N=(0,a.yV)((function(e,t){let{defaultOpen:n=!1,...r}=e,u=(0,o.useRef)(null),l=(0,s.T)(t,(0,s.h)((e=>{u.current=e}),void 0===e.as||e.as===o.Fragment)),c=(0,o.useRef)(null),d=(0,o.useRef)(null),m=(0,o.useReducer)(E,{disclosureState:n?0:1,linkedPanel:!1,buttonRef:d,panelRef:c,buttonId:null,panelId:null}),[{disclosureState:v,buttonId:g},y]=m,b=(0,h.z)((e=>{y({type:1});let t=(0,p.r)(u);if(!t||!g)return;let n=e?e instanceof HTMLElement?e:e.current instanceof HTMLElement?e.current:t.getElementById(g):t.getElementById(g);null==n||n.focus()})),x=(0,o.useMemo)((()=>({close:b})),[b]),j=(0,o.useMemo)((()=>({open:0===v,close:b})),[v,b]),S={ref:l};return o.createElement(w.Provider,{value:m},o.createElement(_.Provider,{value:x},o.createElement(f.up,{value:(0,i.E)(v,{0:f.ZM.Open,1:f.ZM.Closed})},(0,a.sY)({ourProps:S,theirProps:r,slot:j,defaultTag:O,name:"Disclosure"}))))})),C=(0,a.yV)((function(e,t){let n=(0,u.M)(),{id:r=`headlessui-disclosure-button-${n}`,...i}=e,[f,p]=x("Disclosure.Button"),m=(0,o.useContext)(S),v=null!==m&&m===f.panelId,g=(0,o.useRef)(null),y=(0,s.T)(g,t,v?null:f.buttonRef);(0,o.useEffect)((()=>
1{if(!v)return p({type:2,buttonId:r}),()=>{p({type:2,buttonId:null})}}),[r,p,v]);let b=(0,h.z)((e=>{var t;if(v){if(1===f.disclosureState)return;switch(e.key){case l.R.Space:case l.R.Enter:e.preventDefault(),e.stopPropagation(),p({type:0}),null==(t=f.buttonRef.current)||t.focus()}}else switch(e.key){case l.R.Space:case l.R.Enter:e.preventDefault(),e.stopPropagation(),p({type:0})}})),w=(0,h.z)((e=>{if(e.key===l.R.Space)e.preventDefault()})),_=(0,h.z)((t=>{var n;(0,c.P)(t.currentTarget)||e.disabled||(v?(p({type:0}),null==(n=f.buttonRef.current)||n.focus()):p({type:0}))})),j=(0,o.useMemo)((()=>({open:0===f.disclosureState})),[f]),E=(0,d.f)(e,g),O=v?{ref:y,type:E,onKeyDown:b,onClick:_}:{ref:y,id:r,type:E,"aria-expanded":e.disabled?void 0:0===f.disclosureState,"aria-controls":f.linkedPanel?f.panelId:void 0,onKeyDown:b,onKeyUp:w,onClick:_};return(0,a.sY)({ourProps:O,theirProps:i,slot:j,defaultTag:"button",name:"Disclosure.Button"})})),k=(0,a.yV)((function(e,t){let n=(0,u.M)(),{id:r=`headlessui-disclosure-panel-${n}`,...i}=e,[l,c]=x("Disclosure.Panel"),{close:d}=j("Disclosure.Panel"),p=(0,s.T)(t,l.panelRef,(e=>{m((()=>c({type:e?4:5})))}));(0,o.useEffect)((()=>(c({type:3,panelId:r}),()=>{c({type:3,panelId:null})})),[r,c]);let h=(0,f.oJ)(),v=null!==h?(h&f.ZM.Open)===f.ZM.Open:0===l.disclosureState,g=(0,o.useMemo)((()=>({open:0===l.disclosureState,close:d})),[l,d]),y={ref:p,id:r};return o.createElement(S.Provider,{value:l.panelId},(0,a.sY)({ourProps:y,theirProps:i,slot:g,defaultTag:"div",features:T,visible:v,name:"Disclosure.Panel"}))})),A=Object.assign(N,{Button:C,Panel:k})},66123:function(e,t,n){"use strict";n.d(t,{R:function(){return o}});var r,o=((r=o||{}).Space=" ",r.Enter="Enter",r.Escape="Escape",r.Backspace="Backspace",r.Delete="Delete",r.ArrowLeft="ArrowLeft",r.ArrowUp="ArrowUp",r.ArrowRight="ArrowRight",r.ArrowDown="ArrowDown",r.Home="Home",r.End="End",r.PageUp="PageUp",r.PageDown="PageDown",r.Tab="Tab",r)},41339:function(e,t,n){"use strict";n.d(t,{J:function(){return W}});var r,o,i=n(56168),a=n(99964),s=n(44505),u=n(26222),l=n(74238),c=n(66123),f=n(93479),d=n(50857),p=n(84114),h=n(59743),m=n(90808),v=n(41784),g=n(71096),y=n(7061),b=n(63988),w=n(78904),x=n(72467),_=n(49053),j=n(76178),S=((o=S||{})[o.Open=0]="Open",o[o.Closed=1]="Closed",o),E=((r=E||{})[r.TogglePopover=0]="TogglePopover",r[r.ClosePopover=1]="ClosePopover",r[r.SetButton=2]="SetButton",r[r.SetButtonId=3]="SetButtonId",r[r.SetPanel=4]="SetPanel",r[r.SetPanelId=5]="SetPanelId",r);let O={0:e=>({...e,popoverState:(0,a.E)(e.popoverState,{0:1,1:0})}),1:e=>1===e.popoverState?e:{...e,popoverState:1},2:(e,t)=>e.button===t.button?e:{...e,button:t.button},3:(e,t)=>
1e.buttonId===t.buttonId?e:{...e,buttonId:t.buttonId},4:(e,t)=>e.panel===t.panel?e:{...e,panel:t.panel},5:(e,t)=>e.panelId===t.panelId?e:{...e,panelId:t.panelId}},T=(0,i.createContext)(null);function N(e){let t=(0,i.useContext)(T);if(null===t){let t=new Error(`<${e} /> is missing a parent <Popover /> component.`);throw Error.captureStackTrace&&Error.captureStackTrace(t,N),t}return t}T.displayName="PopoverContext";let C=(0,i.createContext)(null);function k(e){let t=(0,i.useContext)(C);if(null===t){let t=new Error(`<${e} /> is missing a parent <Popover /> component.`);throw Error.captureStackTrace&&Error.captureStackTrace(t,k),t}return t}C.displayName="PopoverAPIContext";let A=(0,i.createContext)(null);function P(){return(0,i.useContext)(A)}A.displayName="PopoverGroupContext";let z=(0,i.createContext)(null);function M(e,t){return(0,a.E)(t.type,O,e,t)}z.displayName="PopoverPanelContext";let U=s.AN.RenderStrategy|s.AN.Static;let I=s.AN.RenderStrategy|s.AN.Static;let D=(0,s.yV)((function(e,t){var n;let r=(0,i.useRef)(null),o=(0,u.T)(t,(0,u.h)((e=>{r.current=e}))),l=(0,i.useRef)([]),c=(0,i.useReducer)(M,{popoverState:1,buttons:l,button:null,buttonId:null,panel:null,panelId:null,beforePanelSentinel:(0,i.createRef)(),afterPanelSentinel:(0,i.createRef)()}),[{popoverState:f,button:h,buttonId:v,panel:b,panelId:x,beforePanelSentinel:j,afterPanelSentinel:S},E]=c,O=(0,g.i)(null!=(n=r.current)?n:h),N=(0,i.useMemo)((()=>{if(!h||!b)return!1;for(let a of document.querySelectorAll("body > *"))if(Number(null==a?void 0:a.contains(h))^Number(null==a?void 0:a.contains(b)))return!0;let e=(0,d.GO)(),t=e.indexOf(h),n=(t+e.length-1)%e.length,r=(t+1)%e.length,o=e[n],i=e[r];return!b.contains(o)&&!b.contains(i)}),[h,b]),k=(0,_.E)(v),A=(0,_.E)(x),U=(0,i.useMemo)((()=>({buttonId:k,panelId:A,close:()=>E({type:1})})),[k,A,E]),I=P(),D=null==I?void 0:I.registerPopover,R=(0,w.z)((()=>{var e;return null!=(e=null==I?void 0:I.isFocusWithinPopoverGroup())?e:(null==O?void 0:O.activeElement)&&((null==h?void 0:h.contains(O.activeElement))||(null==b?void 0:b.contains(O.activeElement)))}));(0,i.useEffect)((()=>null==D?void 0:D(U)),[D,U]),(0,y.O)(null==O?void 0:O.defaultView,"focus",(e=>{var t,n,r,o;0===f&&(R()||h&&b&&e.target!==window&&(null!=(n=null==(t=j.current)?void 0:t.contains)&&n.call(t,e.target)||null!=(o=null==(r=S.current)?void 0:r.contains)&&o.call(r,e.target)||E({type:1})))}),!0),(0,m.O)([h,b],((e,t)=>{E({type:1}),(0,d.sP)(t,d.tJ.Loose)||(e.preventDefault(),null==h||h.focus())}),0===f);let L=(0,w.z)((e=>{E({type:1});let t=e?e instanceof HTMLElement?e:"current"in e&&e.current instanceof HTMLElement?e.current:h:h;null==t||t.focus()})),F=(0,i.useMemo)((()=>({close:L,isPortalled:N})),[L,N]),B=(0,i.useMemo)((()=>({open:0===f,close:L})),[f,L]),W=e,q={ref:o};return i.createElement(z.Provider,{value:null},i.createElement(T.Provider,{value:c},i.createElement(C.Provider,{value:F},i.createElement(p.up,{value:(0,a.E)(f,{0:p.ZM.Open,1:p.ZM.Closed})},(0,s.sY)({ourProps:q,theirProps:W,slot:B,defaultTag:"div",name:"Popover"})))))})),R=(0,s.yV)((function(e,t){let n=(0,l.M)(),{id:r=`headlessui-popover-button-${n}`,...o}=e,[p,m]=N("Popover.Button"),{isPortalled:v}=k("Popover.Button"),y=(0,i.useRef)(null),_=`headlessui-focus-sentinel-${(0,l.M)()}`,j=P(),S=null==j?void 0:j.closeOthers,E=null!==(0,i.useContext)(z);(0,i.useEffect)((()=>{if(!E)return m({type:3,buttonId:r}),()=>{m({type:3,buttonId:null})}}),[E,r,m]);let[O]=(0,i.useState)((()=>Symbol())),T=(0,u.T)(y,t,E?null:e=>{if(e)p.buttons.current.push(O);else{let e=p.buttons.current.indexOf(O);-1!==e&&p.buttons.current.splice(e,1)}p.buttons.current.length>1&&console.warn("You are already using a <Popover.Button /> but only 1 <Popover.Button /> is supported."),e&&m({type:2,button:e})}),C=(0,u.T)(y,t),A=(0,g.i)(y),M=(0,w.z)((e=>{var t,n,r;if(E){if(1===p.popoverState)return;switch(e.key){case c.R.Space:case c.R.Enter:e.preventDefault(),null==(n=(t=e.target).click)||n.call(t),m({type:1}),null==(r=p.button)||r.focus()}}else switch(e.key){case c.R.Space:case c.R.Enter:e.preventDefault(),e.stopPropagation(),1===p.popoverState&&(null==S||S(p.buttonId)),m({type:0});break;case c.R.Escape:if(0!==p.popoverState)return null==S?void 0:S(p.buttonId);if(!y.current||null!=A&&A.activeElement&&!y.current.contains(A.activeElement))return;e.preventDefault(),e.stopPropagation(),m({type:1})}})),U=(0,w.z)((e=>{E||e.key===c.R.Space&&e.preventDefault()})),I=(0,w.z)((t=>{var n,r;(0,f.P)(t.currentTarget)||e.disabled||(E?(m({type:1}),null==(n=p.button)||n.focus()):(t.preventDefault(),t.stopPropagation(),1===p.popoverState&&(null==S||S(p.buttonId)),m({type:0}),null==(r=p.button)||r.focus()))})),D=(0,w.z)((e=>{e.preventDefault(),e.stopPropagation()})),R=0===p.popoverState,L=(0,i.useMemo)((()=>({open:R})),[R]),F=(0,h.f)(e,y),B=E?{ref:C,type:F,onKeyDown:M,onClick:I}:{ref:T,id:p.buttonId,type:F,"aria-expanded":e.disabled?void 0:0===p.popoverState,"aria-controls":p.panel?p.panelId:void 0,onKeyDown:M,onKeyUp:U,onClick:I,onMouseDown:D},W=(0,x.l)(),q=(0,w.z)((()=>{let e=p.panel;e&&(0,a.E)(W.current,{[x.N.Forwards]:()=>(0,d.jA)(e,d.TO.First),[x.N.Backwards]:()=>(0,d.jA)(e,d.TO.Last)})===d.fE.Error&&(0,d.jA)((0,d.GO)().filter((e=>"true"!==e.dataset.headlessuiFocusGuard)),(0,a.E)(W.current,{[x.N.Forwards]:d.TO.Next,[x.N.Backwards]:d.TO.Previous}),{relativeTo:p.button})}));return i.createElement(i.Fragment,null,(0,s.sY)({ourProps:B,theirProps:o,slot:L,defaultTag:"button",name:"Popover.Button"}),R&&!E&&v&&i.createElement(b._,{id:_,features:b.A.Focusable,"data-headlessui-focus-guard":!0,as:"button",type:"button",onFocus:q}))})),L=(0,s.yV)((function(e,t){let n=(0,l.M)(),{id:r=`headlessui-popover-overlay-${n}`,...o}=e,[{popoverState:a},c]=N("Popover.Overlay"),d=(0,u.T)(t),h=(0,p.oJ)(),m=null!==h?(h&p.ZM.Open)===p.ZM.Open:0===a,v=(0,w.z)((e=>{if((0,f.P)(e.currentTarget))return e.preventDefault();c({type:1})})),g=(0,i.useMemo)((()=>({open:0===a})),[a]);return(0,s.sY)({ourProps:{ref:d,id:r,"aria-hidden":!0,onClick:v},theirProps:o,slot:g,defaultTag:"div",features:U,visible:m,name:"Popover.Overlay"})})),F=(0,s.yV)((function(e,t){let n=(0,l.M)(),{id:r=`headlessui-popover-panel-${n}`,focus:o=!1,...f}=e,[h,m]=N("Popover.Panel"),{close:v,isPortalled:y}=k("Popover.Panel"),_=`headlessui-focus-sentinel-before-${(0,l.M)()}`,S=`headlessui-focus-sentinel-after-${(0,l.M)()}`,E=(0,i.useRef)(null),O=(0,u.T)(E,t,(e=>{m({type:4,panel:e})})),T=(0,g.i)(E);(0,j.e)((()=>(m({type:5,panelId:r}),()=>{m({type:5,panelId:null})})),[r,m]);let C=(0,p.oJ)(),A=null!==C?(C&p.ZM.Open)===p.ZM.Open:0===h.popoverState,P=(0,w.z)((e=>{var t;if(e.key===c.R.Escape){if(0!==h.popoverState||!E.current||null!=T&&T.activeElement&&!E.current.contains(T.activeElement))return;e.preventDefault(),e.stopPropagation(),m({type:1}
1),null==(t=h.button)||t.focus()}}));(0,i.useEffect)((()=>{var t;e.static||1===h.popoverState&&(null==(t=e.unmount)||t)&&m({type:4,panel:null})}),[h.popoverState,e.unmount,e.static,m]),(0,i.useEffect)((()=>{if(!o||0!==h.popoverState||!E.current)return;let e=null==T?void 0:T.activeElement;E.current.contains(e)||(0,d.jA)(E.current,d.TO.First)}),[o,E,h.popoverState]);let M=(0,i.useMemo)((()=>({open:0===h.popoverState,close:v})),[h,v]),U={ref:O,id:r,onKeyDown:P,onBlur:o&&0===h.popoverState?e=>{var t,n,r,o,i;let a=e.relatedTarget;a&&E.current&&(null!=(t=E.current)&&t.contains(a)||(m({type:1}),(null!=(r=null==(n=h.beforePanelSentinel.current)?void 0:n.contains)&&r.call(n,a)||null!=(i=null==(o=h.afterPanelSentinel.current)?void 0:o.contains)&&i.call(o,a))&&a.focus({preventScroll:!0})))}:void 0,tabIndex:-1},D=(0,x.l)(),R=(0,w.z)((()=>{let e=E.current;e&&(0,a.E)(D.current,{[x.N.Forwards]:()=>{var t;(0,d.jA)(e,d.TO.First)===d.fE.Error&&(null==(t=h.afterPanelSentinel.current)||t.focus())},[x.N.Backwards]:()=>{var e;null==(e=h.button)||e.focus({preventScroll:!0})}})})),L=(0,w.z)((()=>{let e=E.current;e&&(0,a.E)(D.current,{[x.N.Forwards]:()=>{var e;if(!h.button)return;let t=(0,d.GO)(),n=t.indexOf(h.button),r=t.slice(0,n+1),o=[...t.slice(n+1),...r];for(let i of o.slice())if("true"===i.dataset.headlessuiFocusGuard||null!=(e=h.panel)&&e.contains(i)){let e=o.indexOf(i);-1!==e&&o.splice(e,1)}(0,d.jA)(o,d.TO.First,{sorted:!1})},[x.N.Backwards]:()=>{var t;(0,d.jA)(e,d.TO.Previous)===d.fE.Error&&(null==(t=h.button)||t.focus())}})}));return i.createElement(z.Provider,{value:r},A&&y&&i.createElement(b._,{id:_,ref:h.beforePanelSentinel,features:b.A.Focusable,"data-headlessui-focus-guard":!0,as:"button",type:"button",onFocus:R}),(0,s.sY)({ourProps:U,theirProps:f,slot:M,defaultTag:"div",features:I,visible:A,name:"Popover.Panel"}),A&&y&&i.createElement(b._,{id:S,ref:h.afterPanelSentinel,features:b.A.Focusable,"data-headlessui-focus-guard":!0,as:"button",type:"button",onFocus:L}))})),B=(0,s.yV)((function(e,t){let n=(0,i.useRef)(null),r=(0,u.T)(n,t),[o,a]=(0,i.useState)([]),l=(0,w.z)((e=>{a((t=>{let n=t.indexOf(e);if(-1!==n){let e=t.slice();return e.splice(n,1),e}return t}))})),c=(0,w.z)((e=>(a((t=>[...t,e])),()=>l(e)))),f=(0,w.z)((()=>{var e;let t=(0,v.r)(n);if(!t)return!1;let r=t.activeElement;return!(null==(e=n.current)||!e.contains(r))||o.some((e=>{var n,o;return(null==(n=t.getElementById(e.buttonId.current))?void 0:n.contains(r))||(null==(o=t.getElementById(e.panelId.current))?void 0:o.contains(r))}))})),d=(0,w.z)((e=>{for(let t of o)t.buttonId.current!==e&&t.close()})),p=(0,i.useMemo)((()=>({registerPopover:c,unregisterPopover:l,isFocusWithinPopoverGroup:f,closeOthers:d})),[c,l,f,d]),h=(0,i.useMemo)((()=>({})),[]),m=e,g={ref:r};return i.createElement(A.Provider,{value:p},(0,s.sY)({ourProps:g,theirProps:m,slot:h,defaultTag:"div",name:"Popover.Group"}))})),W=Object.assign(D,{Button:R,Overlay:L,Panel:F,Group:B})},14808:function(e,t,n){"use strict";n.d(t,{u:function(){return M}});var r=n(56168),o=n(44505),i=n(84114),a=n(99964),s=n(2461),u=n(76178),l=n(49053),c=n(97964),f=n(26222);var d=n(49741);function p(e,...t){e&&t.length>0&&e.classList.add(...t)}function h(e,...t){e&&t.length>0&&e.classList.remove(...t)}
1function m(e,t,n,r){let o=n?"enter":"leave",i=(0,d.k)(),s=void 0!==r?function(e){let t={called:!1};return(...n)=>{if(!t.called)return t.called=!0,e(...n)}}(r):()=>{};"enter"===o&&(e.removeAttribute("hidden"),e.style.display="");let u=(0,a.E)(o,{enter:()=>t.enter,leave:()=>t.leave}),l=(0,a.E)(o,{enter:()=>t.enterTo,leave:()=>t.leaveTo}),c=(0,a.E)(o,{enter:()=>t.enterFrom,leave:()=>t.leaveFrom});return h(e,...t.enter,...t.enterTo,...t.enterFrom,...t.leave,...t.leaveFrom,...t.leaveTo,...t.entered),p(e,...u,...c),i.nextFrame((()=>{h(e,...c),p(e,...l),function(e,t){let n=(0,d.k)();if(!e)return n.dispose;let{transitionDuration:r,transitionDelay:o}=getComputedStyle(e),[i,a]=[r,o].map((e=>{let[t=0]=e.split(",").filter(Boolean).map((e=>e.includes("ms")?parseFloat(e):1e3*parseFloat(e))).sort(((e,t)=>t-e));return t})),s=i+a;if(0!==s){n.group((n=>{n.setTimeout((()=>{t(),n.dispose()}),s),n.addEventListener(e,"transitionrun",(e=>{e.target===e.currentTarget&&n.dispose()}))}));let r=n.addEventListener(e,"transitionend",(e=>{e.target===e.currentTarget&&(t(),r())}))}else t();n.add((()=>t())),n.dispose}(e,(()=>(h(e,...u),p(e,...t.entered),s())))})),i.dispose}var v=n(87996);function g({container:e,direction:t,classes:n,onStart:r,onStop:o}){let i=(0,s.t)(),a=(0,v.G)(),c=(0,l.E)(t);(0,u.e)((()=>{let t=(0,d.k)();a.add(t.dispose);let s=e.current;if(s&&"idle"!==c.current&&i.current)return t.dispose(),r.current(c.current),t.add(m(s,n.current,"enter"===c.current,(()=>{t.dispose(),o.current(c.current)}))),t.dispose}),[t])}var y=n(78904),b=n(71741);function w(e=""){return e.split(" ").filter((e=>e.trim().length>1))}let x=(0,r.createContext)(null);x.displayName="TransitionContext";var _,j=((_=j||{}).Visible="visible",_.Hidden="hidden",_);let S=(0,r.createContext)(null);function E(e){return"children"in e?E(e.children):e.current.filter((({el:e})=>null!==e.current)).filter((({state:e})=>"visible"===e)).length>0}function O(e,t){let n=(0,l.E)(e),i=(0,r.useRef)([]),u=(0,s.t)(),c=(0,v.G)(),f=(0,y.z)(((e,t=o.l4.Hidden)=>{let r=i.current.findIndex((({el:t})=>t===e));-1!==r&&((0,a.E)(t,{[o.l4.Unmount](){i.current.splice(r,1)},[o.l4.Hidden](){i.current[r].state="hidden"}}),c.microTask((()=>{var e;!E(i)&&u.current&&(null==(e=n.current)||e.call(n))})))})),d=(0,y.z)((e=>{let t=i.current.find((({el:t})=>t===e));return t?"visible"!==t.state&&(t.state="visible"):i.current.push({el:e,state:"visible"}),()=>f(e,o.l4.Unmount)})),p=(0,r.useRef)([]),h=(0,r.useRef)(Promise.resolve()),m=(0,r.useRef)({enter:[],leave:[],idle:[]}),g=(0,y.z)(((e,n,r)=>{p.current.splice(0),t&&(t.chains.current[n]=t.chains.current[n].filter((([t])=>t!==e))),null==t||t.chains.current[n].push([e,new Promise((e=>{p.current.push(e)}))]),null==t||t.chains.current[n].push([e,new Promise((e=>{Promise.all(m.current[n].map((([e,t])=>t))).then((()=>e()))}
1))]),"enter"===n?h.current=h.current.then((()=>null==t?void 0:t.wait.current)).then((()=>r(n))):r(n)})),b=(0,y.z)(((e,t,n)=>{Promise.all(m.current[t].splice(0).map((([e,t])=>t))).then((()=>{var e;null==(e=p.current.shift())||e()})).then((()=>n(t)))}));return(0,r.useMemo)((()=>({children:i,register:d,unregister:f,onStart:g,onStop:b,wait:h,chains:m})),[d,f,i,g,b,m,h])}function T(){}S.displayName="NestingContext";let N=["beforeEnter","afterEnter","beforeLeave","afterLeave"];function C(e){var t;let n={};for(let r of N)n[r]=null!=(t=e[r])?t:T;return n}let k=o.AN.RenderStrategy;let A=(0,o.yV)((function(e,t){let{show:n,appear:a=!1,unmount:s,...l}=e,d=(0,r.useRef)(null),p=(0,f.T)(d,t);(0,c.H)();let h=(0,i.oJ)();if(void 0===n&&null!==h&&(n=(h&i.ZM.Open)===i.ZM.Open),![!0,!1].includes(n))throw new Error("A <Transition /> is used but it is missing a `show={true | false}` prop.");let[m,v]=(0,r.useState)(n?"visible":"hidden"),g=O((()=>{v("hidden")})),[y,b]=(0,r.useState)(!0),w=(0,r.useRef)([n]);(0,u.e)((()=>{!1!==y&&w.current[w.current.length-1]!==n&&(w.current.push(n),b(!1))}),[w,n]);let _=(0,r.useMemo)((()=>({show:n,appear:a,initial:y})),[n,a,y]);(0,r.useEffect)((()=>{if(n)v("visible");else if(E(g)){let e=d.current;if(!e)return;let t=e.getBoundingClientRect();0===t.x&&0===t.y&&0===t.width&&0===t.height&&v("hidden")}else v("hidden")}),[n,g]);let j={unmount:s};return r.createElement(S.Provider,{value:g},r.createElement(x.Provider,{value:_},(0,o.sY)({ourProps:{...j,as:r.Fragment,children:r.createElement(P,{ref:p,...j,...l})},theirProps:{},defaultTag:r.Fragment,features:k,visible:"visible"===m,name:"Transition"})))}
1)),P=(0,o.yV)((function(e,t){let{beforeEnter:n,afterEnter:u,beforeLeave:d,afterLeave:p,enter:h,enterFrom:m,enterTo:v,entered:_,leave:j,leaveFrom:T,leaveTo:N,...A}=e,P=(0,r.useRef)(null),z=(0,f.T)(P,t),M=A.unmount?o.l4.Unmount:o.l4.Hidden,{show:U,appear:I,initial:D}=function(){let e=(0,r.useContext)(x);if(null===e)throw new Error("A <Transition.Child /> is used but it is missing a parent <Transition /> or <Transition.Root />.");return e}(),[R,L]=(0,r.useState)(U?"visible":"hidden"),F=function(){let e=(0,r.useContext)(S);if(null===e)throw new Error("A <Transition.Child /> is used but it is missing a parent <Transition /> or <Transition.Root />.");return e}(),{register:B,unregister:W}=F,q=(0,r.useRef)(null);(0,r.useEffect)((()=>B(P)),[B,P]),(0,r.useEffect)((()=>{if(M===o.l4.Hidden&&P.current)return U&&"visible"!==R?void L("visible"):(0,a.E)(R,{hidden:()=>W(P),visible:()=>B(P)})}),[R,P,B,W,U,M]);let Z=(0,l.E)({enter:w(h),enterFrom:w(m),enterTo:w(v),entered:w(_),leave:w(j),leaveFrom:w(T),leaveTo:w(N)}),H=function(e){let t=(0,r.useRef)(C(e));return(0,r.useEffect)((()=>{t.current=C(e)}),[e]),t}
1({beforeEnter:n,afterEnter:u,beforeLeave:d,afterLeave:p}),Y=(0,c.H)();(0,r.useEffect)((()=>{if(Y&&"visible"===R&&null===P.current)throw new Error("Did you forget to passthrough the `ref` to the actual DOM node?")}),[P,R,Y]);let V=D&&!I,$=!Y||V||q.current===U?"idle":U?"enter":"leave",J=function(e=0){let[t,n]=(0,r.useState)(e),o=(0,s.t)(),i=(0,r.useCallback)((e=>{o.current&&n((t=>t|e))}),[t,o]),a=(0,r.useCallback)((e=>Boolean(t&e)),[t]),u=(0,r.useCallback)((e=>{o.current&&n((t=>t&~e))}),[n,o]),l=(0,r.useCallback)((e=>{o.current&&n((t=>t^e))}),[n]);return{flags:t,addFlag:i,hasFlag:a,removeFlag:u,toggleFlag:l}}(0),G=(0,y.z)((e=>(0,a.E)(e,{enter:()=>{J.addFlag(i.ZM.Opening),H.current.beforeEnter()},leave:()=>{J.addFlag(i.ZM.Closing),H.current.beforeLeave()},idle:()=>{}}))),K=(0,y.z)((e=>(0,a.E)(e,{enter:()=>{J.removeFlag(i.ZM.Opening),H.current.afterEnter()},leave:()=>{J.removeFlag(i.ZM.Closing),H.current.afterLeave()},idle:()=>{}}))),Q=O((()=>{L("hidden"),W(P)}),F);g({container:P,classes:Z,direction:$,onStart:(0,l.E)((e=>{Q.onStart(P,e,G)})),onStop:(0,l.E)((e=>{Q.onStop(P,e,K),"leave"===e&&!E(Q)&&(L("hidden"),W(P))}))}),(0,r.useEffect)((()=>{V&&(M===o.l4.Hidden?q.current=null:q.current=U)}),[U,V,R]);let X=A,ee={ref:z};return I&&U&&(X={...X,className:(0,b.A)(A.className,...Z.current.enter,...Z.current.enterFrom)}),r.createElement(S.Provider,{value:Q},r.createElement(i.up,{value:(0,a.E)(R,{visible:i.ZM.Open,hidden:i.ZM.Closed})|J.flags},(0,o.sY)({ourProps:ee,theirProps:X,defaultTag:"div",features:k,visible:"visible"===R,name:"Transition.Child"})))})),z=(0,o.yV)((function(e,t){let n=null!==(0,r.useContext)(x),o=null!==(0,i.oJ)();return r.createElement(r.Fragment,null,!n&&o?r.createElement(A,{ref:t,...e}):r.createElement(P,{ref:t,...e}))})),M=Object.assign(A,{Child:z,Root:A})},87996:function(e,t,n){"use strict";n.d(t,{G:function(){return i}});var r=n(56168),o=n(49741);function i(){let[e]=(0,r.useState)(o.k);return(0,r.useEffect)((()=>()=>e.dispose()),[e]),e}},7061:function(e,t,n){"use strict";n.d(t,{O:function(){return i}});var r=n(56168),o=n(49053);function i(e,t,n,i){let a=(0,o.E)(n);(0,r.useEffect)((()=>{function n(e){a.current(e)}return(e=null!=e?e:window).addEventListener(t,n,i),()=>e.removeEventListener(t,n,i)}),[e,t,i])}},78904:function(e,t,n){"use strict";n.d(t,{z:function(){return i}});var r=n(56168),o=n(49053);let i=function(e){let t=(0,o.E)(e);return r.useCallback(((...e)=>t.current(...e)),[t])}},74238:function(e,t,n){"use strict";n.d(t,{M:function(){return u}});var r,o=n(56168),i=n(76178),a=n(97964),s=n(15663);let u=null!=(r=o.useId)?r:function(){let e=(0,a.H)(),[t,n]=o.useState(e?()=>s.O.nextId():null);return(0,i.e)((()=>{null===t&&n(s.O.nextId())}),[t]),null!=t?""+t:void 0}},2461:function(e,t,n){"use strict";n.d(t,{t:function(){return i}});var r=n(56168),o=n(76178);function i(){let e=(0,r.useRef)(!1);return(0,o.e)((()=>(e.current=!0,()=>{e.current=!1})),[]),e}},76178:function(e,t,n){"use strict";n.d(t,{e:function(){return i}});var r=n(56168),o=n(15663);let i=(e,t)=>{o.O.isServer?(0,r.useEffect)(e,t):(0,r.useLayoutEffect)(e,t)}},49053:function(e,t,n){"use strict";n.d(t,{E:function(){return i}});var r=n(56168),o=n(76178);function i(e){let t=(0,r.useRef)(e);return(0,o.e)((()=>{t.current=e}),[e]),t}},90808:function(e,t,n){"use strict";n.d(t,{O:function(){return s}});var r=n(56168),o=n(50857),i=n(49053);function a(e,t,n){let o=(0,i.E)(t);(0,r.useEffect)((()=>{function t(e){o.current(e)}return document.addEventListener(e,t,n),()=>document.removeEventListener(e,t,n)}),[e,n])}function s(e,t,n=!0){let i=(0,r.useRef)(!1);function s(n,r){if(!i.current||n.defaultPrevented)return;let a=function e(t){return"function"==typeof t?e(t()):Array.isArray(t)||t instanceof Set?t:[t]}(e),s=r(n);if(null!==s&&s.getRootNode().contains(s)){for(let e of a){if(null===e)continue;let t=e instanceof HTMLElement?e:e.current;if(null!=t&&t.contains(s)||n.composed&&n.composedPath().includes(t))return}return!(0,o.sP)(s,o.tJ.Loose)&&-1!==s.tabIndex&&n.preventDefault(),t(n,s)}}(0,r.useEffect)((()=>{requestAnimationFrame((()=>{i.current=n}))}),[n]);let u=(0,r.useRef)(null);a("mousedown",(e=>{var t,n;i.current&&(u.current=(null==(n=null==(t=e.composedPath)?void 0:t.call(e))?void 0:n[0])||e.target)}),!0),a("click",(e=>{u.current&&(s(e,(()=>u.current)),u.current=null)}),!0),a("blur",(e=>s(e,(()=>window.document.activeElement instanceof HTMLIFrameElement?window.document.activeElement:null))),!0)}},71096:function(e,t,n){"use strict";n.d(t,{i:function(){return i}});var r=n(56168),o=n(41784);function i(...e){return(0,r.useMemo)((()=>(0,o.r)(...e)),[...e])}},59743:function(e,t,n){"use strict";n.d(t,{f:function(){return a}});var r=n(56168),o=n(76178);function i(e){var t;if(e.type)return e.type;let n=null!=(t=e.as)?t:"button";return"string"==typeof n&&"button"===n.toLowerCase()?"button":void 0}function a(e,t){let[n,a]=(0,r.useState)((()=>i(e)));return(0,o.e)((()=>{a(i(e))}),[e.type,e.as]),(0,o.e)((()=>{n||t.current&&t.current instanceof HTMLButtonElement&&!t.current.hasAttribute("type")&&a("button")}),[n,t]),n}},97964:function(e,t,n){"use strict";n.d(t,{H:function(){return i}});var r=n(56168),o=n(15663);function i(){let[e,t]=(0,r.useState)(o.O.isHandoffComplete);return e&&!1===o.O.isHandoffComplete&&t(!1),(0,r.useEffect)((()=>{!0!==e&&t(!0)}),[e]),(0,r.useEffect)((()=>o.O.handoff()),[]),e}},26222:function(e,t,n){"use strict";n.d(t,{T:function(){return s},h:function(){return a}});var r=n(56168),o=n(78904);let i=Symbol();function a(e,t=!0){return Object.assign(e,{[i]:t})}function s(...e){let t=(0,r.useRef)(e);(0,r.useEffect)((()=>{t.current=e}),[e]);let n=(0,o.z)((e=>{for(let n of t.current)null!=n&&("function"==typeof n?n(e):n.current=e)}));return e.every((e=>null==e||(null==e?void 0:e[i])))?void 0:n}},72467:function(e,t,n){"use strict";n.d(t,{N:function(){return a},l:function(){return s}});var r=n(56168),o=n(49053);var i,a=((i=a||{})[i.Forwards=0]="Forwards",i[i.Backwards=1]="Backwards",i);function s(){let e=(0,r.useRef)(0);return function(e,t,n){let i=(0,o.E)(t);(0,r.useEffect)((()=>{function t(e){i.current(e)}return window.addEventListener(e,t,n),()=>window.removeEventListener(e,t,n)}),[e,n])}("keydown",(t=>{"Tab"===t.key&&(e.current=t.shiftKey?1:0)}),!0),e}},31693:function(e,t,n){"use strict";n.d(t,{q:function(){return i}});var r=n(56168),o=n(78904);function i(e,t){let n=(0,r.useRef)([]),i=(0,o.z)(e);(0,r.useEffect)((()=>{let e=[...n.current];for(let[r,o]of t.entries())if(n.current[r]!==o){let r=i(t,e);return n.current=t,r}}),[i,...t])}},63988:function(e,t,n){"use strict";n.d(t,{A:function(){return i},_:function(){return a}});var r=n(44505);var o,i=((o=i||{})[o.None=1]="None",o[o.Focusable=2]="Focusable",o[o.Hidden=4]="Hidden",o);let a=(0,r.yV)((function(e,t){let{features:n=1,...o}=e,i={ref:t,"aria-hidden":2===(2&n)||void 0,style:{position:"fixed",top:1,left:1,width:1,height:0,padding:0,margin:-1,overflow:"hidden",clip:"rect(0, 0, 0, 0)",whiteSpace:"nowrap",borderWidth:"0",...4===(4&n)&&2!==(2&n)&&{display:"none"}}};return(0,r.sY)({ourProps:i,theirProps:o,slot:{},defaultTag:"div",name:"Hidden"})}))},84114:function(e,t,n){"use strict";n.d(t,{ZM:function(){return a},oJ:function(){return s},up:function(){return u}});var r=n(56168);let o=(0,r.createContext)(null);o.displayName="OpenClosedContext";var i,a=((i=a||{})[i.Open=1]="Open",i[i.Closed=2]="Closed",i[i.Closing=4]="Closing",i[i.Opening=8]="Opening",i
1);function s(){return(0,r.useContext)(o)}function u({value:e,children:t}){return r.createElement(o.Provider,{value:e},t)}},93479:function(e,t,n){"use strict";function r(e){let t=e.parentElement,n=null;for(;t&&!(t instanceof HTMLFieldSetElement);)t instanceof HTMLLegendElement&&(n=t),t=t.parentElement;let r=""===(null==t?void 0:t.getAttribute("disabled"));return(!r||!function(e){if(!e)return!1;let t=e.previousElementSibling;for(;null!==t;){if(t instanceof HTMLLegendElement)return!1;t=t.previousElementSibling}return!0}(n))&&r}n.d(t,{P:function(){return r}})},71741:function(e,t,n){"use strict";function r(...e){return e.filter(Boolean).join(" ")}n.d(t,{A:function(){return r}})},49741:function(e,t,n){"use strict";n.d(t,{k:function(){return o}});var r=n(51455);function o(){let e=[],t={addEventListener:(e,n,r,o)=>(e.addEventListener(n,r,o),t.add((()=>e.removeEventListener(n,r,o)))),requestAnimationFrame(...e){let n=requestAnimationFrame(...e);return t.add((()=>cancelAnimationFrame(n)))},nextFrame:(...e)=>t.requestAnimationFrame((()=>t.requestAnimationFrame(...e))),setTimeout(...e){let n=setTimeout(...e);return t.add((()=>clearTimeout(n)))},microTask(...e){let n={current:!0};return(0,r.Y)((()=>{n.current&&e[0]()})),t.add((()=>{n.current=!1}))},style(e,t,n){let r=e.style.getPropertyValue(t);return Object.assign(e.style,{[t]:n}),this.add((()=>{Object.assign(e.style,{[t]:r})}))},group(e){let t=o();return e(t),this.add((()=>t.dispose()))},add:t=>(e.push(t),()=>{let n=e.indexOf(t);if(n>=0)for(let t of e.splice(n,1))t()}),dispose(){for(let t of e.splice(0))t()}};return t}},15663:function(e,t,n){"use strict";n.d(t,{O:function(){return i}});var r=Object.defineProperty,o=(e,t,n)=>(((e,t,n)=>{t in e?r(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n})(e,"symbol"!=typeof t?t+"":t,n),n);let i=new class{constructor(){o(this,"current",this.detect()),o(this,"handoffState","pending"),o(this,"currentId",0)}set(e){this.current!==e&&(this.handoffState="pending",this.currentId=0,this.current=e)}reset(){this.set(this.detect())}nextId(){return++this.currentId}get isServer(){return"server"===this.current}get isClient(){return"client"===this.current}detect(){return"undefined"==typeof window||"undefined"==typeof document?"server":"client"}handoff(){"pending"===this.handoffState&&(this.handoffState="complete")}get isHandoffComplete(){return"complete"===this.handoffState}}},50857:function(e,t,n){"use strict";n.d(t,{C5:function(){return v},GO:function(){return d},TO:function(){return l},fE:function(){return c},jA:function(){return b},sP:function(){return h},tJ:function(){return p},z2:function(){return y}});var r=n(99964),o=n(41784);let i=["[contentEditable=true]","[tabindex]","a[href]","area[href]","button:not([disabled])","iframe","input:not([disabled])","select:not([disabled])","textarea:not([disabled])"].map((e=>`${e}:not([tabindex='-1'])`)).join(",");var a,s,u,l=((u=l||{})[u.First=1]="First",u[u.Previous=2]="Previous",u[u.Next=4]="Next",u[u.Last=8]="Last",u[u.WrapAround=16]="WrapAround",u[u.NoScroll=32]="NoScroll",u),c=((s=c||{})[s.Error=0]="Error",s[s.Overflow=1]="Overflow",s[s.Success=2]="Success",s[s.Underflow=3]="Underflow",s),f=((a=f||{})[a.Previous=-1]="Previous",a[a.Next=1]="Next",a);function d(e=document.body){return null==e?[]:Array.from(e.querySelectorAll(i)).sort(((e,t)=>Math.sign((e.tabIndex||Number.MAX_SAFE_INTEGER)-(t.tabIndex||Number.MAX_SAFE_INTEGER))))}var p=(e=>(e[e.Strict=0]="Strict",e[e.Loose=1]="Loose",e))(p||{});function h(e,t=0){var n;return e!==(null==(n=(0,o.r)(e))?void 0:n.body)&&(0,r.E)(t,{0:()=>e.matches(i),1(){let t=e;for(;null!==t;){if(t.matches(i))return!0;t=t.parentElement}return!1}})}var m=(e=>(e[e.Keyboard=0]="Keyboard",e[e.Mouse=1]="Mouse",e))(m||{});function v(e){null==e||e.focus({preventScroll:!0})}"undefined"!=typeof window&&"undefined"!=typeof document&&(document.addEventListener("keydown",(e=>{e.metaKey||e.altKey||e.ctrlKey||(document.documentElement.dataset.headlessuiFocusVisible="")}),!0),document.addEventListener("click",(e=>{1===e.detail?delete document.documentElement.dataset.headlessuiFocusVisible:0===e.detail&&(document.documentElement.dataset.headlessuiFocusVisible="")}),!0));let g=["textarea","input"].join(",");function y(e,t=(e=>e)){return e.slice().sort(((e,n)=>{let r=t(e),o=t(n);if(null===r||null===o)return 0;let i=r.compareDocumentPosition(o);return i&Node.DOCUMENT_POSITION_FOLLOWING?-1:i&Node.DOCUMENT_POSITION_PRECEDING?1:0}))}function b(e,t,{sorted:n=!0,relativeTo:r=null,skipElements:o=[]}={}){let i=Array.isArray(e)?e.length>0?e[0].ownerDocument:document:e.ownerDocument,a=Array.isArray(e)?n?y(e):e:d(e);o.length>0&&a.length>1&&(a=a.filter((e=>!o.includes(e)))),r=null!=r?r:i.activeElement;let s,u=(()=>
1{if(5&t)return 1;if(10&t)return-1;throw new Error("Missing Focus.First, Focus.Previous, Focus.Next or Focus.Last")})(),l=(()=>{if(1&t)return 0;if(2&t)return Math.max(0,a.indexOf(r))-1;if(4&t)return Math.max(0,a.indexOf(r))+1;if(8&t)return a.length-1;throw new Error("Missing Focus.First, Focus.Previous, Focus.Next or Focus.Last")})(),c=32&t?{preventScroll:!0}:{},f=0,p=a.length;do{if(f>=p||f+p<=0)return 0;let e=l+f;if(16&t)e=(e+p)%p;else{if(e<0)return 3;if(e>=p)return 1}s=a[e],null==s||s.focus(c),f+=u}while(s!==i.activeElement);return 6&t&&function(e){var t,n;return null!=(n=null==(t=null==e?void 0:e.matches)?void 0:t.call(e,g))&&n}(s)&&s.select(),2}},99964:function(e,t,n){"use strict";function r(e,t,...n){if(e in t){let r=t[e];return"function"==typeof r?r(...n):r}let o=new Error(`Tried to handle "${e}" but there is no handler defined. Only defined handlers are: ${Object.keys(t).map((e=>`"${e}"`)).join(", ")}.`);throw Error.captureStackTrace&&Error.captureStackTrace(o,r),o}n.d(t,{E:function(){return r}})},51455:function(e,t,n){"use strict";function r(e){"function"==typeof queueMicrotask?queueMicrotask(e):Promise.resolve().then(e).catch((e=>setTimeout((()=>{throw e}))))}n.d(t,{Y:function(){return r}})},41784:function(e,t,n){"use strict";n.d(t,{r:function(){return o}});var r=n(15663);function o(e){return r.O.isServer?null:e instanceof Node?e.ownerDocument:null!=e&&e.hasOwnProperty("current")&&e.current instanceof Node?e.current.ownerDocument:document}},79096:function(e,t,n){"use strict";function r(){return/iPhone/gi.test(window.navigator.platform)||/Mac/gi.test(window.navigator.platform)&&window.navigator.maxTouchPoints>0}function o(){return r()||/Android/gi.test(window.navigator.userAgent)}n.d(t,{gn:function(){return r},tq:function(){return o}})},44505:function(e,t,n){"use strict";n.d(t,{AN:function(){return u},l4:function(){return l},oA:function(){return h},sY:function(){return c},yV:function(){return p}});var r,o,i=n(56168),a=n(71741),s=n(99964),u=((o=u||{})[o.None=0]="None",o[o.RenderStrategy=1]="RenderStrategy",o[o.Static=2]="Static",o),l=((r=l||{})[r.Unmount=0]="Unmount",r[r.Hidden=1]="Hidden",r);function c({ourProps:e,theirProps:t,slot:n,defaultTag:r,features:o,visible:i=!0,name:a}){let u=d(t,e);if(i)return f(u,n,r,a);let l=null!=o?o:0;if(2&l){let{static:e=!1,...t}=u;if(e)return f(t,n,r,a)}if(1&l){let{unmount:e=!0,...t}=u;return(0,s.E)(e?0:1,{0:()=>null,1:()=>f({...t,hidden:!0,style:{display:"none"}},n,r,a)})}return f(u,n,r,a)}function f(e,t={},n,r){let{as:o=n,children:s,refName:u="ref",...l}=m(e,["unmount","static"]),c=void 0!==e.ref?{[u]:e.ref}:{},f="function"==typeof s?s(t):s;"className"in l&&l.className&&"function"==typeof l.className&&(l.className=l.className(t));let p={};if(t){let e=!1,n=[];for(let[r,o]of Object.entries(t))"boolean"==typeof o&&(e=!0),!0===o&&n.push(r);e&&(p["data-headlessui-state"]=n.join(" "))}if(o===i.Fragment&&Object.keys(h(l)).length>0){if(!(0,i.isValidElement)(f)||Array.isArray(f)&&f.length>1)throw new Error(['Passing props on "Fragment"!',"",`The current component <${r} /> is rendering a "Fragment".`,"However we need to passthrough the following props:",Object.keys(l).map((e=>`  - ${e}`)).join("\n"),"","You can apply a few solutions:",['Add an `as="..."` prop, to ensure that we render an actual element instead of a "Fragment".',"Render a single element as the child so that we can forward the props onto that element."].map((e=>`  - ${e}`)).join("\n")].join("\n"));let e=f.props,t="function"==typeof(null==e?void 0:e.className)?(...t)=>(0,a.A)(null==e?void 0:e.className(...t),l.className):(0,a.A)(null==e?void 0:e.className,l.className),n=t?{className:t}:{};return(0,i.cloneElement)(f,Object.assign({},d(f.props,h(m(l,["ref"]))),p,c,function(...e){return{ref:e.every((e=>null==e))?void 0:t=>{for(let n of e)null!=n&&("function"==typeof n?n(t):n.current=t)}}}(f.ref,c.ref),n))}return(0,i.createElement)(o,Object.assign({},m(l,["ref"]),o!==i.Fragment&&c,o!==i.Fragment&&p),f)}function d(...e){if(0===e.length)return{};if(1===e.length)return e[0];let t={},n={};for(let r of e)for(let e in r)e.startsWith("on")&&"function"==typeof r[e]?(null!=n[e]||(n[e]=[]),n[e].push(r[e])):t[e]=r[e];if(t.disabled||t["aria-disabled"])return Object.assign(t,Object.fromEntries(Object.keys(n).map((e=>[e,void 0]))));for(let r in n)Object.assign(t,{[r](e,...t){let o=n[r];for(let n of o){if((e instanceof Event||(null==e?void 0:e.nativeEvent)instanceof Event)&&e.defaultPrevented)return;n(e,...t)}}});return t}function p(e){var t;return Object.assign((0,i.forwardRef)(e),{displayName:null!=(t=e.displayName)?t:e.name})}function h(e){let t=Object.assign({},e);for(let n in t)void 0===t[n]&&delete t[n];return t}function m(e,t=[]){let n=Object.assign({},e);for(let r of t)r in n&&delete n[r];return n}},5163:function(e,t,n){"use strict";n.d(t,{v4:function(){return a}});for(var r,o=256,i=[];o--;)i[o]=(o+256).toString(16).substring(1);function a(){var e,t=0,n="";if(!r||o+16>256){for(r=Array(t=256);t--;)r[t]=256*Math.random()|0;t=o=0}for(;t<16;t++)e=r[o+t],n+=6==t?i[15&e|64]:8==t?i[63&e|128]:i[e],1&t&&t>1&&t<11&&(n+="-");return o++,n}},86383:function(e,t,n){"use strict";function r(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}n.d(t,{Z:function(){return r}})},43692:function(e,t,n){"use strict";function r(e,t,n,r,o,i,a){try{var s=e[i](a),u=s.value}catch(l){return void n(l)}s.done?t(u):Promise.resolve(u).then(r,o)}function o(e){return function(){var t=this,n=arguments;return new Promise((function(o,i){var a=e.apply(t,n);function s(e){r(a,o,i,s,u,"next",e)}function u(e){r(a,o,i,s,u,"throw",e)}s(void 0)}))}}n.d(t,{Z:function(){return o}})},84434:function(e,t,n){"use strict";function r(e){if("undefined"!==typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}n.d(t,{Z:function(){return r}})},12042:function(e,t,n){"use strict";function r(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function o(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},o=Object.keys(n);
1"function"===typeof Object.getOwnPropertySymbols&&(o=o.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})))),o.forEach((function(t){r(e,t,n[t])}))}return e}n.d(t,{Z:function(){return o}})},99728:function(e,t,n){"use strict";function r(e,t){return t=null!=t?t:{},Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):function(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}(Object(t)).forEach((function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))})),e}n.d(t,{Z:function(){return r}})},27427:function(e,t,n){"use strict";function r(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}n.d(t,{Z:function(){return r}})},21157:function(e,t,n){"use strict";n.d(t,{Z:function(){return i}});var r=n(84434);var o=n(94612);function i(e,t){return function(e){if(Array.isArray(e))return e}(e)||(0,r.Z)(e,t)||(0,o.Z)(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}},84911:function(e,t,n){"use strict";n.d(t,{Z:function(){return a}});var r=n(86383);var o=n(84434);var i=n(94612);function a(e){return function(e){if(Array.isArray(e))return(0,r.Z)(e)}(e)||(0,o.Z)(e)||(0,i.Z)(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}},94612:function(e,t,n){"use strict";n.d(t,{Z:function(){return o}});var r=n(86383);function o(e,t){if(e){if("string"===typeof e)return(0,r.Z)(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(n):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?(0,r.Z)(e,t):void 0}}},20632:function(e,t,n){"use strict";n.d(t,{Z:function(){return R}});var r=n(52752),o=n(61470);function i(e,t,n){var r=function(e,t,n){if(n&&!n.code)throw new Error("date-fns-tz error: Please set a language code on the locale object imported from date-fns, e.g. `locale.code = 'en-US'`");return new Intl.DateTimeFormat(n?[n.code,"en-US"]:void 0,{timeZone:t,timeZoneName:e})}(e,n.timeZone,n.locale);return r.formatToParts?function(e,t){for(var n=e.formatToParts(t),r=n.length-1;r>=0;--r)if("timeZoneName"===n[r].type)return n[r].value}(r,t):function(e,t){var n=e.format(t).replace(/\u200E/g,""),r=/ [\w-+ ]+$/.exec(n);return r?r[0].substr(1):""}(r,t)}function a(e,t){var n=function(e){if(!u[e]){var t=new Intl.DateTimeFormat("en-US",{hour12:!1,timeZone:"America/New_York",year:"numeric",month:"numeric",day:"2-digit",hour:"2-digit",minute:"2-digit",second:"2-digit"}).format(new Date("2014-06-25T04:00:00.123Z")),n="06/25/2014, 00:00:00"===t||"\u200e06\u200e/\u200e25\u200e/\u200e2014\u200e \u200e00\u200e:\u200e00\u200e:\u200e00"===t;u[e]=n?new Intl.DateTimeFormat("en-US",{hour12:!1,timeZone:e,year:"numeric",month:"numeric",day:"2-digit",hour:"2-digit",minute:"2-digit",second:"2-digit"}):new Intl.DateTimeFormat("en-US",{hourCycle:"h23",timeZone:e,year:"numeric",month:"numeric",day:"2-digit",hour:"2-digit",minute:"2-digit",second:"2-digit"})}return u[e]}(t);return n.formatToParts?function(e,t){try{for(var n=e.formatToParts(t),r=[],o=0;o<n.length;o++){var i=s[n[o].type];i>=0&&(r[i]=parseInt(n[o].value,10))}return r}catch(a){if(a instanceof RangeError)return[NaN];throw a}}(n,e):function(e,t){var n=e.format(t).replace(/\u200E/g,""),r=/(\d+)\/(\d+)\/(\d+),? (\d+):(\d+):(\d+)/.exec(n);return[r[3],r[1],r[2],r[4],r[5],r[6]]}(n,e)}var s={year:0,month:1,day:2,hour:3,minute:4,second:5};var u={};function l(e,t,n,r,o,i,a){var s=new Date(0);return s.setUTCFullYear(e,t,n),s.setUTCHours(r,o,i,a),s}var c=36e5,f={timezone:/([Z+-].*)$/,timezoneZ:/^(Z)$/,timezoneHH:/^([+-]\d{2})$/,timezoneHHMM:/^([+-]\d{2}):?(\d{2})$/};function d(e,t,n){var r,o,i;if(!e)return 0;if(r=f.timezoneZ.exec(e))return 0;if(r=f.timezoneHH.exec(e))return h(i=parseInt(r[1],10))?-i*c:NaN;if(r=f.timezoneHHMM.exec(e)){i=parseInt(r[1],10);var a=parseInt(r[2],10);return h(i,a)?(o=Math.abs(i)*c+6e4*a,i>0?-o:o):NaN}if(function(e){if(m[e])return!0;try{return new Intl.DateTimeFormat(void 0,{timeZone:e}),m[e]=!0,!0}catch(t){return!1}}(e)){t=new Date(t||Date.now());var s=n?t:function(e){return l(e.getFullYear(),e.getMonth(),e.getDate(),e.getHours(),e.getMinutes(),e.getSeconds(),e.getMilliseconds())}(t),u=p(s,e),d=n?u:function(e,t,n){var r=e.getTime()-t,o=p(new Date(r),n);if(t===o)return t;r-=o-t;var i=p(new Date(r),n);if(o===i)return o;return Math.max(o,i)}(t,u,e);return-d}return NaN}function p(e,t){var n=a(e,t),r=l(n[0],n[1]-1,n[2],n[3]%24,n[4],n[5],0).getTime(),o=e.getTime(),i=o%1e3;return r-(o-=i>=0?i:1e3+i)}function h(e,t){return-23<=e&&e<=23&&(null==t||0<=t&&t<=59)}var m={};function v(e,t){var n=e?d(e,t,!0)/6e4:t.getTimezoneOffset();if(Number.isNaN(n))throw new RangeError("Invalid time zone specified: "+e);return n}function g(e,t){for(var n=e<0?"-":"",r=Math.abs(e).toString();r.length<t;)r="0"+r;return n+r}function y(e,t){var n=t||"",r=e>0?"-":"+",o=Math.abs(e);return r+g(Math.floor(o/60),2)+n+g(Math.floor(o%60),2)}function b(e,t){return e%60===0?(e>0?"-":"+")+g(Math.abs(e)/60,2):y(e,t)}var w={X:function(e,t,n,r){var o=v(r.timeZone,r._originalDate||e);if(0===o)return"Z";switch(t){case"X":return b(o);case"XXXX":case"XX":return y(o);default:return y(o,":")}},x:function(e,t,n,r){var o=v(r.timeZone,r._originalDate||e);switch(t){case"x":return b(o);case"xxxx":case"xx":return y(o);default:return y(o,":")}},O:function(e,t,n,r){var o=v(r.timeZone,r._originalDate||e);switch(t){case"O":case"OO":case"OOO":return"GMT"+function(e,t){var n=e>0?"-":"+",r=Math.abs(e),o=Math.floor(r/60),i=r%60;if(0===i)return n+String(o);var a=t||"";return n+String(o)+a+g(i,2)}(o,":");default:return"GMT"+y(o,":")}},z:function(e,t,n,r){var o=r._originalDate||e;switch(t){case"z":case"zz":case"zzz":return i("short",o,r);default:return i("long",o,r)}}},x=n(18818),_=n(51599),j=36e5,S={dateTimePattern:/^([0-9W+-]+)(T| )(.*)/,datePattern:/^([0-9W+-]+)(.*)/,plainTime:/:/,YY:/^(\d{2})$/,YYY:[/^([+-]\d{2})$/,/^([+-]\d{3})$/,/^([+-]\d{4})$/],YYYY:/^(\d{4})/,YYYYY:[/^([+-]\d{4})/,/^([+-]\d{5})/,/^([+-]\d{6})/],MM:/^-(\d{2})$/,DDD:/^-?(\d{3})$/,MMDD:/^-?(\d{2})-?(\d{2})$/,Www:/^-?W(\d{2})$/,WwwD:/^-?W(\d{2})-?(\d{1})$/,HH:/^(\d{2}([.,]\d*)?)$/,HHMM:/^(\d{2}):?(\d{2}([.,]\d*)?)$/,HHMMSS:/^(\d{2}):?(\d{2}):?(\d{2}([.,]\d*)?)$/,timeZone:/(Z|[+-]\d{2}(?::?\d{2})?| UTC| [a-zA-Z]+\/[a-zA-Z_]+(?:\/[a-zA-Z_]+)?)$/};function E(e,t){if(arguments.length<1)throw new TypeError("1 argument required, but only "+arguments.length+" present");if(null===e)return new Date(NaN);var n=t||{},r=null==n.additionalDigits?2:x(n.additionalDigits);if(2!==r&&1!==r&&0!==r)throw new RangeError("additionalDigits must be 0, 1 or 2");if(e instanceof Date||"object"===typeof e&&"[object Date]"===Object.prototype.toString.call(e))return new Date(e.getTime());if("number"===typeof e||"[object Number]"===Object.prototype.toString.call(e))return new Date(e);if("string"!==typeof e&&"[object String]"!==Object.prototype.toString.call(e))return new Date(NaN);var o=O(e),i=T(o.date,r),a=i.year,s=i.restDateString,u=N(s,a);if(isNaN(u))return new Date(NaN);if(u){var l,c=u.getTime(),f=0;if(o.time&&(f=C(o.time),isNaN(f)))return new Date(NaN);if(o.timeZone||n.timeZone){if(l=d(o.timeZone||n.timeZone,new Date(c+f)),isNaN(l))return new Date(NaN)}else l=_(new Date(c+f)),l=_(new Date(c+f+l));return new Date(c+f+l)}return new Date(NaN)}function O(e){var t,n={},r=S.dateTimePattern.exec(e);if(r?(n.date=r[1],t=r[3]):(r=S.datePattern.exec(e))?(n.date=r[1],t=r[2]):(n.date=null,t=e),t){var o=S.timeZone.exec(t);
1o?(n.time=t.replace(o[1],""),n.timeZone=o[1].trim()):n.time=t}return n}function T(e,t){var n,r=S.YYY[t],o=S.YYYYY[t];if(n=S.YYYY.exec(e)||o.exec(e)){var i=n[1];return{year:parseInt(i,10),restDateString:e.slice(i.length)}}if(n=S.YY.exec(e)||r.exec(e)){var a=n[1];return{year:100*parseInt(a,10),restDateString:e.slice(a.length)}}return{year:null}}function N(e,t){if(null===t)return null;var n,r,o,i;if(0===e.length)return(r=new Date(0)).setUTCFullYear(t),r;if(n=S.MM.exec(e))return r=new Date(0),M(t,o=parseInt(n[1],10)-1)?(r.setUTCFullYear(t,o),r):new Date(NaN);if(n=S.DDD.exec(e)){r=new Date(0);var a=parseInt(n[1],10);return function(e,t){if(t<1)return!1;var n=z(e);if(n&&t>366)return!1;if(!n&&t>365)return!1;return!0}(t,a)?(r.setUTCFullYear(t,0,a),r):new Date(NaN)}if(n=S.MMDD.exec(e)){r=new Date(0),o=parseInt(n[1],10)-1;var s=parseInt(n[2],10);return M(t,o,s)?(r.setUTCFullYear(t,o,s),r):new Date(NaN)}if(n=S.Www.exec(e))return U(t,i=parseInt(n[1],10)-1)?k(t,i):new Date(NaN);if(n=S.WwwD.exec(e)){i=parseInt(n[1],10)-1;var u=parseInt(n[2],10)-1;return U(t,i,u)?k(t,i,u):new Date(NaN)}return null}function C(e){var t,n,r;if(t=S.HH.exec(e))return I(n=parseFloat(t[1].replace(",",".")))?n%24*j:NaN;if(t=S.HHMM.exec(e))return I(n=parseInt(t[1],10),r=parseFloat(t[2].replace(",",".")))?n%24*j+6e4*r:NaN;if(t=S.HHMMSS.exec(e)){n=parseInt(t[1],10),r=parseInt(t[2],10);var o=parseFloat(t[3].replace(",","."));return I(n,r,o)?n%24*j+6e4*r+1e3*o:NaN}return null}function k(e,t,n){t=t||0,n=n||0;var r=new Date(0);r.setUTCFullYear(e,0,4);var o=7*t+n+1-(r.getUTCDay()||7);return r.setUTCDate(r.getUTCDate()+o),r}var A=[31,28,31,30,31,30,31,31,30,31,30,31],P=[31,29,31,30,31,30,31,31,30,31,30,31];function z(e){return e%400===0||e%4===0&&e%100!==0}function M(e,t,n){if(t<0||t>11)return!1;if(null!=n){if(n<1)return!1;var r=z(e);if(r&&n>P[t])return!1;if(!r&&n>A[t])return!1}return!0}function U(e,t,n){return!(t<0||t>52)&&(null==n||!(n<0||n>6))}function I(e,t,n){return(null==e||!(e<0||e>=25))&&((null==t||!(t<0||t>=60))&&(null==n||!(n<0||n>=60)))}var D=/([xXOz]+)|''|'(''|[^'])+('|$)/g;function R(e,t,n,i){var a=r(i);return a.timeZone=t,function(e,t,n){var r=String(t),i=n||{},a=r.match(D);if(a){var s=E(e,i);r=a.reduce((function(e,t){if("'"===t[0])return e;var n=e.indexOf(t),r="'"===e[n-1],o=e.replace(t,"'"+w[t[0]](s,t,null,i)+"'");return r?o.substring(0,n-1)+o.substring(n+1):o}),r)}return o(e,r,i)}(function(e,t,n){var r=E(e,n),o=d(t,r,!0),i=new Date(r.getTime()-o),a=new Date(0);return a.setFullYear(i.getUTCFullYear(),i.getUTCMonth(),i.getUTCDate()),a.setHours(i.getUTCHours(),i.getUTCMinutes(),i.getUTCSeconds(),i.getUTCMilliseconds()),a}(e,t),n,a)}},2052:function(e,t,n){"use strict";function r(e,t,n){t.split&&(t=t.split("."));for(var r,o,i=0,a=t.length,s=e;i<a&&"__proto__"!==(o=t[i++])&&"constructor"!==o&&"prototype"!==o;)s=s[o]=i===a?n:typeof(r=s[o])===typeof t?r:0*t[i]!==0||~(""+t[i]).indexOf(".")?{}:[]}n.d(t,{N:function(){return r}})},92108:function(e,t){"use strict";function n(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)e[r]=n[r]}return e}var r=function e(t,r){function o(e,o,i){if("undefined"!==typeof document){"number"===typeof(i=n({},r,i)).expires&&(i.expires=new Date(Date.now()+864e5*i.expires)),i.expires&&(i.expires=i.expires.toUTCString()),e=encodeURIComponent(e).replace(/%(2[346B]|5E|60|7C)/g,decodeURIComponent).replace(/[()]/g,escape);var a="";for(var s in i)i[s]&&(a+="; "+s,!0!==i[s]&&(a+="="+i[s].split(";")[0]));return document.cookie=e+"="+t.write(o,e)+a}}return Object.create({set:o,get:function(e){if("undefined"!==typeof document&&(!arguments.length||e)){for(var n=document.cookie?document.cookie.split("; "):[],r={},o=0;o<n.length;o++){var i=n[o].split("="),a=i.slice(1).join("=");try{var s=decodeURIComponent(i[0]);if(r[s]=t.read(a,s),e===s)break}catch(u){}}return e?r[e]:r}},remove:function(e,t){o(e,"",n({},t,{expires:-1}))},withAttributes:function(t){return e(this.converter,n({},this.attributes,t))},withConverter:function(t){return e(n({},this.converter,t),this.attributes)}},{attributes:{value:Object.freeze(r)},converter:{value:Object.freeze(t)}})}({read:function(e){return'"'===e[0]&&(e=e.slice(1,-1)),e.replace(/(%[\dA-F]{2})+/gi,decodeURIComponent)},write:function(e){return encodeURIComponent(e).replace(/%(2[346BF]|3[AC-F]|40|5[BDE]|60|7[BCD])/g,decode
1URIComponent)}},{path:"/"});t.Z=r}},function(e){var t=function(t){return e(e.s=t)};e.O(0,[9774,179],(function(){return t(91118),t(25948)}));var n=e.O();_N_E=n}]);

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.