When to take a pregnancy test: Tips for accurate results (2025)

Taking a pregnancy test too soon could result in a false negative. Find out when to take a pregnancy test, the different types, and how accurate they can be.

9 min read

When to take a pregnancy test: Tips for accurate results (1)

Updated July 18, 2024

Written by Kate Hollowood

Updated July 18, 2024

Written by Kate Hollowood

When to take a pregnancy test: Tips for accurate results (2)

Medically reviewed by Dr. Jenna Beckham, Obstetrician, gynecologist, and complex family planning specialist, WakeMed Health and Hospitals, Planned Parenthood South Atlantic, North Carolina, US

Flo Fact-Checking Standards

Every piece of content at Flo Health adheres to the highest editorial standards for language, style, and medical accuracy. To learn what we do to deliver the best health and lifestyle insights to you, check out our content review principles.

If you think you could be pregnant (and particularly if you want to be), it can be really tempting to rush out to buy a test. Pregnancy is life-changing so it’s natural to want to know as early as possible. However, if you take a test too early, you could run the risk of getting an inaccurate result.

So — why does the timing of taking a pregnancy test matter so much? When should you take a pregnancy test? And what other things can improve the accuracy of your result? With the help of Dr. Sara Twogood, obstetrician and gynecologist, Cedars-Sinai Medical Group, California, US, let’s get into it.

Key takeaways

  • For the most accurate result, the best time to take a pregnancy test is after a no-show period. If you have a regular period, it’s best to wait until it’s late before taking a test.
  • If you test earlier than this, you could get a false negative result.
  • At-home pregnancy tests are generally pretty accurate, but there are important things you need to know to lessen the chance of error or a false result.
  • Other signs of early pregnancy, besides a missed period, include bloating, tender boobs, and nausea, though pregnancy isn’t the only thing that can cause these symptoms. They could also be premenstrual symptoms. Confusing, right?
  • Flo for Pregnancy is on hand to support you throughout your pregnancy journey, and you can use a cycle-tracking app like Flo to monitor when you might have a late or missed period.

When to take a pregnancy test: Tips for accurate results (3)

When to take a pregnancy test: Tips for accurate results (4)Over7.8Mratings averaging4.8/5*

Make sense of pregnancy testing with the Flo app

  • Know when it’s the right time to take a test.
  • Log results of previous pregnancy tests.
  • Chat with others who are trying.

When to take a pregnancy test: Tips for accurate results (5)Over7.8Mratings averaging4.8/5*

Try Flo today

*AppFollow, January'25, iOS

When to take a pregnancy test: Tips for accurate results (7)

When to take a pregnancy test: Tips for accurate results (8)Over7.8Mratings averaging4.8/5*

Make sense of pregnancy testing with the Flo app

  • Know when it’s the right time to take a test.
  • Log results of previous pregnancy tests.
  • Chat with others who are trying.

When to take a pregnancy test: Tips for accurate results (9)Over7.8Mratings averaging4.8/5*

Try Flo today*AppFollow, January'25, iOS

Take a quiz

Find out what you can do with our Health Assistant

Track my period
Get pregnant
Follow my baby's growth

How do pregnancy tests work?

To understand why the timing of a pregnancy test is important, it helps to know a little about how they work.

When you’re pregnant, your body produces a hormone called human chorionic gonadotropin (hCG). Pregnancy tests work by checking your pee for traces of hCG.

The timing of when you do a test is so important because your body only starts producing hCG after implantation. This is when a fertilized egg is attached to the lining of your uterus. It can happen around six to 10 days after conception or when you’re around three weeks pregnant. HCG levels start low but rise significantly through early pregnancy.

The higher your hCG levels are, the easier it is for a test to detect. So you need to give the hCG a chance to build first in order for it to show up on hCG pregnancy tests.

When should you take a pregnancy test?

This is the big question. In short, if you think you could be pregnant, or you want to know if you are, wait to see if your next period shows. And if it doesn’t, that’s when you take an at-home test.

“The earliest time you should take a pregnancy test is the first day of a [late or] missed period,” says Dr. Twogood. “But most of the time, it’s recommended to wait another day or two after that —because cycle lengths can vary across months.” If you aren’t sure when your period is supposed to be, you can use a cycle-tracking app like Flo.

Waiting until your period is due to do a pregnancy test might sound easier said than done. Whether you’re trying to get pregnant or not, not knowing if you could be pregnant can be really frustrating. However, this window when your period hasn’t arrived is when your hCG levels will have had enough time to reliably build — giving you a better chance of accurate pregnancy test results.

Some brands of pregnancy tests claim to be able to detect hCG sooner than this, and this is possible. But at-home pregnancy tests are always more likely to be accurate if they’re taken the day after you expect your period to arrive. If you’re unsure of what day to take a pregnancy test, you can try Flo’s pregnancy test calculator to understand when a test might be more accurate based on your cycle.

Can you take a pregnancy test too early?

Understanding at what point in your cycle you can take a test is important because you can absolutely take a pregnancy test too early. As mentioned above, if your body hasn’t had a chance to produce enough hCG yet, it may not show up on a pregnancy test —even if you’re pregnant. This could mean you end up with what is known as a false negative result.

That’s why it’s recommended to wait until your period is at least one day late to get more accurate pregnancy test results. Waiting a few days to a week after that — when hCG will have had even more time to build —is even better. You can always do multiple tests to give yourself peace of mind.

Read next

  • How to know you’re pregnant without taking a pregnancy test
  • First-trimester pregnancy symptoms: What to expect and why
  • Pregnancy announcement: When should you tell people you’re pregnant?
  • Implantation bleeding vs. period bleeding: How can you spot the difference?

When is the best time to take a pregnancy test?

Since there’s a recommended point in your cycle that you take a pregnancy test, you might be curious if there’s a time of day when you should be doing a test too. Is your pee more hCG-potent in the morning?

While this might feel like good logic, you can actually take a pregnancy test at any time of day. “Technically, your urine could be diluted if you’re overhydrated,” says Dr. Twogood. “So let’s say you’ve had a gallon [or a liter] of water; hCG levels might be harder to detect.” This is why it’s sometimes said that taking a home pregnancy test in the morning can improve the accuracy — since if you’ve been asleep all night, you’re less likely to have had lots to drink.

“But I would look at the color of the urine as an indicator of how hydrated someone is rather than the time of day,” says Dr. Twogood. “If the urine is a straw-yellow color, it should be concentrated enough.”

Other signs you might be pregnant

A late or missed period is the most common sign of pregnancy (though there are lots of reasons you can have late or missed periods and not be pregnant). But you may be wondering about the other signs of pregnancy, especially if you have irregular periods.

“It tends to be bloating, breast tenderness, and sometimes nausea that people notice most,” says Dr. Twogood. Food cravings, mood swings, and fatigue can also be very early signs of pregnancy. And some people report mild cramps, too.

When to take a pregnancy test: Tips for accurate results (13)

However, the tricky thing is that all of these symptoms can be a pretty standard part of premenstrual syndrome (PMS) —so if your period is late, and you’re experiencing any of them, it doesn’t necessarily mean you’re pregnant. It could just mean your period’s about to start.

“That’s why tracking your cycle is helpful so that you know what’s typical for you around the PMS stage,” says Dr. Twogood. “Then if something feels different one month, and you’re getting symptoms you don’t usually have, it can be easier to recognize.”

What kind of pregnancy tests are there?

Urine pregnancy tests

Otherwise known as peeing on a stick, urine pregnancy tests are the home pregnancy tests you can do yourself. They can be picked up inexpensively in most drug and grocery stores or sometimes for free from local health centers or services.

Just remember that many home pregnancy tests can work slightly differently, so it’s important to read and follow the instructions for whichever one(s) you get. Generally speaking, you’ll either need to pee directly onto the stick or pee into a cup and dip the stick into it. These tests detect hCG in your pee.

When to take a pregnancy test: Tips for accurate results (14)

Blood pregnancy tests

Blood tests are carried out by a health care provider. They’re much more sensitive, meaning they can pick up lower levels of hCG, and provide a more accurate result at an earlier stage than the at-home urine tests.

That said, blood tests are less convenient and more expensive and will typically give the same result as an at-home urine test done properly. So, your doctor may suggest waiting and doing an at-home urine test before coming into a clinic to have your pregnancy confirmed.

How accurate are pregnancy tests?

Many at-home pregnancy tests claim to be more than 99 % accurate when used after the first day of a late or missed period. But it’s worth bearing in mind that these figures are achieved in a lab under “perfect” conditions and don’t account for some of the human error we see in real life.

A 2019 study found that some at-home tests do meet that 99% accuracy mark, even when done by regular folks in real-life settings. But the study also found that some don’t, with others coming out between 82% and 96% accuracy in real-life settings.

To ensure your test result is as accurate as possible:

  • Take your test, at the earliest, from the first day of a late or missed period. Waiting up to a week after your period was due will boost accuracy even more.
  • Always read and follow the instructions that came with your test. Some tests work differently than others, so follow the instructions in your pack.
  • Make sure you leave the test for the specified amount of time before checking it. It can be tempting to look before, but don’t look at your results and throw the test away until the allotted period of time is up.
  • Don’t drink too much water beforehand. The temptation might be to drink lots to produce more pee, but you might dilute your urine.
  • Make sure the test is within its expiration date. Pregnancy tests can expire, so if the date on the box has passed, go out and get a new test.

If you get a negative pregnancy test but you’re worried you might still be pregnant, wait a week and then take another test. You can also see your health care provider to be sure.

What to do if your pregnancy test is positive

Whether you were trying to conceive or not, a positive pregnancy test result can come with a lot of big feelings — all of which are completely valid.

Whether it’s news you wanted, news you didn’t, or somewhere in between, the next thing to do is make an appointment with your doctor, who can confirm the result and discuss your care and options going forward.

It’s up to you when you want to announce a pregnancy to friends and family. You don’t have to wait twelve weeks if you don’t want to, but equally, you also should never feel pressured to announce that you’re expecting. Everyone is different, so take things one step at a time and do what feels right for you.

FAQs

How do I know if I’m pregnant?

In short, you can’t know if you’re pregnant without taking a pregnancy test. The most common signs of pregnancy include a missed period, tender boobs, nausea, and fatigue — but pregnancy isn’t the only possible cause of these things. So, again, the only way to know is to take that test.

Could I still be pregnant if the test is negative and I didn’t get my period?

False-negative results are possible. If it’s been a week since a negative result, and your period still hasn’t shown, take another test. If it’s still negative, remember that there are other reasons for delayed or missed periods. Speak to your doctor if you notice big shifts in your cycle, like missing your period.

Can you be two weeks pregnant and have a period?

You can’t have a period while pregnant, but some light non-menstrual bleeding or spotting can happen in early pregnancy. You could potentially confuse this with a period. Light “implantation bleeding” can happen when a fertilized egg implants in the lining of the uterus. The cervix may also generally bleed more easily during pregnancy. This can happen after sex. If you are pregnant and notice some light bleeding or spotting, then it’s always a good idea to speak to your health care provider to ensure that nothing more serious is going on.

When to take a pregnancy test: Tips for accurate results (15) When to take a pregnancy test: Tips for accurate results (16)

Hey, I'm Anique

I started using Flo app to track my period and ovulation because we wanted to have a baby.

When to take a pregnancy test: Tips for accurate results (17) When to take a pregnancy test: Tips for accurate results (18)

The Flo app helped me learn about my body and spot ovulation signs during our conception journey.

When to take a pregnancy test: Tips for accurate results (19) When to take a pregnancy test: Tips for accurate results (20)

I vividly remember the day
that we switched Flo into
Pregnancy Mode — it was
such a special moment.

When to take a pregnancy test: Tips for accurate results (21) When to take a pregnancy test: Tips for accurate results (22)

Join Anique and explore
ways to increase
pregnancy chances
with the Flo app

Try Flo today

When to take a pregnancy test: Tips for accurate results (23)

Real stories, real results

Learn how the Flo app became an amazing cheerleader for us on our conception journey.

Anique

Anique is a real Flo member and was compensated for her time. Her experiences and opinions are her own.

References

“Bleeding during Pregnancy.” Mayo Clinic, 20 Jan. 2022, www.mayoclinic.org/symptoms/bleeding-during-pregnancy/basics/causes/sym-20050636.

“Bleeding during Pregnancy.” The American College of Obstetricians and Gynecologists, May 2021, www.acog.org/womens-health/faqs/bleeding-during-pregnancy.

Boxer, Jackie, et al. “Home Pregnancy Tests in the Hands of the Intended User.” Journal of Immunoassay and Immunochemistry, vol. 40, no. 6, Sep. 2019, pp. 642–52, https://doi.org/10.1080/15321819.2019.1671861.

“Doing a Pregnancy Test.” NHS, www.nhs.uk/pregnancy/trying-for-a-baby/doing-a-pregnancy-test/. Accessed 3 July 2024.

Gnoth, C., and S. Johnson. “Strips of Hope: Accuracy of Home Pregnancy Tests and New Developments.” Geburtshilfe Und Frauenheilkunde, vol. 74, no. 7, July 2014, pp. 661–69, doi: 10.1055/s-0034-1368589.

“Home Pregnancy Tests: Can You Trust the Results?” Mayo Clinic, 23 Dec. 2022, www.mayoclinic.org/healthy-lifestyle/getting-pregnant/in-depth/home-pregnancy-tests/art-20047940.

“Human Chorionic Gonadotropin.” Cleveland Clinic, my.clevelandclinic.org/health/articles/22489-human-chorionic-gonadotropin. Accessed 3 July 2024.

Nwabuobi, Chinedu, et al. “HCG: Biological Functions and Clinical Applications.” International Journal of Molecular Sciences, vol. 18, no. 10, Sep. 2017, doi.org/10.3390/ijms18102037.

“Pregnancy Tests.” Cleveland Clinic, my.clevelandclinic.org/health/diagnostics/9703-pregnancy-tests. Accessed 3 July 2024.

“Premenstrual Syndrome.” ScienceDirect, www.sciencedirect.com/topics/pharmacology-toxicology-and-pharmaceutical-science/premenstrual-syndrome. Accessed 3 July 2024.

"Symptoms of Pregnancy: What Happens First.” Mayo Clinic, 13 Mar. 2024, www.mayoclinic.org/healthy-lifestyle/getting-pregnant/in-depth/symptoms-of-pregnancy/art-20043853.

“What Are Some Common Signs of Pregnancy?” Eunice Kennedy Shriver National Institute of Child Health and Human Development, www.nichd.nih.gov/health/topics/pregnancy/conditioninfo/signs. Accessed 3 July 2024.

Wilcox, A. J., et al. “Natural Limits of Pregnancy Testing in Relation to the Expected Menstrual Period.” JAMA, vol. 286, no. 14, Oct. 2001, pp. 1759–61, doi:10.1001/jama.286.14.1759.

History of updates

Current version (18 July 2024)

Medically reviewed by Dr. Jenna Beckham, Obstetrician, gynecologist, and complex family planning specialist, WakeMed Health and Hospitals, Planned Parenthood South Atlantic, North Carolina, US

Written by Kate Hollowood

Published (06 March 2019)

In this article

    When to take a pregnancy test: Tips for accurate results (24)

    Get your personal guide to fertility

    • When to take a pregnancy test: Tips for accurate results (25)Learn how to read your body's ovulation signals
    • When to take a pregnancy test: Tips for accurate results (26)Find daily conception tips from our experts
    • When to take a pregnancy test: Tips for accurate results (27)Chat with others who are trying to get pregnant

    Try Flo today

    Related articles

    Ovulation tracking Spotting during ovulation: Is it normal? A doctor weighs in
    Trying to conceive A guide to AMH and its role in reproductive health
    Ovulation tracking LH surge: What is it, and why is it important if you’re TTC?
    Pregnancy tests How soon will a pregnancy test read positive?

    Download Flo today

    When to take a pregnancy test: Tips for accurate results (28) When to take a pregnancy test: Tips for accurate results (29)

    Try Flo today

    "),e}}};r(4346);var P=r(7232);function I(t){return function(t){if(Array.isArray(t))return C(t)}(t)||function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(t)||function(t,e){if(t){if("string"==typeof t)return C(t,e);var r={}.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?C(t,e):void 0}}(t)||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.")}()}function C(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=Array(e);r

    0&&void 0!==arguments[0]?arguments[0]:-114,e=window.pageYOffset;function r(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,n=window.pageYOffset;s(e<=n?t:r),(e=n)<=0&&(e=1)}window.addEventListener("scroll",(function(){var e=document.querySelector(".flo-header__contents--hide");null!=i&&i.classList.contains("active")||(window.matchMedia("(max-width: 759px)").matches?r(e?t+60:t,0):r())}))}e&&(n&&o&&[e.querySelectorAll("a"),o.querySelectorAll("a")].forEach((function(t){var e=function(e){return I(t).find((function(t){return t.getAttribute("device")===e}))},r=e("android"===a||"ios"===a?a:"general");null==r||r.classList.remove("hide")})),window.addEventListener("scroll",(function(){var t=document.querySelector(".flo-footer")?document.querySelector(".flo-footer").offsetHeight:0,r=document.documentElement.scrollHeight-document.documentElement.clientHeight-t,n=document.querySelector(".flo-article-header")?document.querySelector(".flo-article-header").offsetHeight:160;window.scrollY>=n/1.6&&e.classList.add("active"),window.scrollY>r&&e.classList.remove("active")})),r&&(window.matchMedia("(max-width: 759px)").matches&&c(),window.addEventListener("resize",(function(){window.matchMedia("(max-width: 759px)").matches?c():c(0)}))))}};const R=N;const D={init:function(){var t=document.querySelector(".flo-popups"),e=(document.documentElement.scrollHeight,0);function r(t){if(0!==e)return!1;window.scrollY>t&&window.scrollTo(0,t)}t&&(function(){var n=t.getAttribute("displayprinciple"),o=Boolean(t.getAttribute("blockscroll"));if("scroll"===n)window.addEventListener("scroll",(function(){if(0===e){var n=(document.documentElement.scrollHeight-document.documentElement.clientHeight)/100*(t.getAttribute("percentscroll")?t.getAttribute("percentscroll"):40);window.scrollY>=n&&(t.classList.add("active"),o&&r(n))}}));else if("timing"===n){var i=t.getAttribute("timingpause")?1e3*t.getAttribute("timingpause"):15e3;setTimeout((function(){if(t.classList.add("active"),o){var e=window.scrollY;window.addEventListener("scroll",(function(){r(e)}))}}),i)}}(),document.querySelector(".flo-popups__close").addEventListener("click",(function(){t.classList.remove("active"),e++})))}};r(5086);var q={init:function(){var t,e=document.querySelector(".flo-content"),r=null!==(t=document.querySelector(".flo-content-links__list"))&&void 0!==t?t:document.querySelector(".flo-content__aside-list"),n=document.querySelector(".flo-content-links .flo-preloader"),o=["flo-template__article_v2","flo-template__pregnancy-week","flo-template__dev-page","flo-template__calculator-new"].some((function(t){return document.body.classList.contains(t)})),i=document.querySelector(".flo-content__aside-content"),a=document.querySelector(".flo-header__contents");if(r){var s=o?function(){var t=[];return""!=r.getAttribute("tag-size")&&document.querySelectorAll("".concat(r.getAttribute("tag-size"))).forEach((function(e){var r,n=null!==(r=e.closest(".flo-article-text"))&&void 0!==r?r:e.closest(".flo-narrow-text");n&&"false"==(null==n?void 0:n.getAttribute("hide-header"))&&t.push(e)})),t}():document.querySelectorAll("".concat(r.getAttribute("tag-size")));if(s&&s.length>0){if(i&&(i.style.display="block"),null==n||n.classList.add("flo-preloader__deactive"),s.forEach((function(t){t.offsetTop>r.offsetTop&&(function(t){var e,n=null===(e=t.closest("[real-header]"))||void 0===e?void 0:e.getAttribute("real-header"),i=t.textContent.toLowerCase().replace(/[ @.",\/#!$%\^&\*;:{}=\-_`~()]/g,"-"),s=document.createElement("li"),c=document.createElement("a");if(s.classList.add("flo-content-links__list-item"),c.classList.add("flo-content-links__list-item-link"),c.href="#".concat(i),c.textContent=null!=n?n:t.textContent,c.addEventListener("click",(function(e){var r;e.preventDefault(),o&&f(null===(r=e.target)||void 0===r?void 0:r.closest(".flo-content-links__list-item"),".flo-content-links__list-item"),t.scrollIntoView({behavior:"smooth",block:"center"})})),s.appendChild(c),r.appendChild(s),o){var u=a.querySelector(".flo-header__contents-list > ol"),l=document.createElement("li"),h=document.createElement("a");l.classList.add("flo-header__contents-list-element"),h.href="#".concat(i),h.textContent=null!=n?n:t.textContent,h.addEventListener("click",(function(e){e.preventDefault(),t.scrollIntoView({behavior:"smooth",block:"center"}),setTimeout((function(){a.classList.toggle("active"),document.body.style.overflow=document.body.style.overflow?null:"hidden"}),500)})),l.appendChild(h),u.appendChild(l)}}(t),function(t){t.id=t.textContent.toLowerCase().replace(/[ @.",\/#!$%\^&\*;:{}=\-_`~()]/g,"-")}(t))})),o){var c,u,l=function(t){"click"!==t.type&&"Enter"!==t.key||(a.classList.toggle("active"),document.body.style.overflow=document.body.style.overflow?null:"hidden")};null==a||null===(c=a.querySelector(".flo-header__contents-title"))||void 0===c||c.addEventListener("click",l),null==a||null===(u=a.querySelector(".flo-header__contents-title"))||void 0===u||u.addEventListener("keypress",l)}o&&function(t){var r,n=null==i?void 0:i.clientHeight,o=null===(r=document.querySelector(".flo-content__aside-list"))||void 0===r?void 0:r.clientHeight,s=new IntersectionObserver(c,{rootMargin:window.matchMedia("(max-width:850px)").matches?"-150px":"-400px"});function c(t){t.forEach((function(t){if(t.isIntersecting){var r,s,c=function(t){i.scrollTo({top:t,behavior:"smooth"})},u=null===(r=document.querySelector('a[href="#'.concat(t.target.id,'"].flo-content-links__list-item-link')))||void 0===r?void 0:r.closest(".flo-content-links__list-item"),l=null===(s=document.querySelector('.flo-header__contents-list-element > a[href="#'.concat(t.target.id,'"]')))||void 0===s?void 0:s.closest(".flo-header__contents-list-element"),h=document.querySelector(".flo-header__contents-title > span");u&&f(u,".flo-content-links__list-item"),l&&f(l,".flo-header__contents-list-element"),h&&u&&(h.textContent="".concat(u.textContent)),(null==h?void 0:h.textContent.length)>0&&(e.classList.add("flo-content--header-content-links"),a.classList.remove("flo-header__contents--hide")),o>=n&&(u.offsetTop+u.clientHeight>n-200?c(u.offsetTop/1.4):c(0))}}))}o0&&t.forEach((function(t){if(t.getAttribute("device")){var r,n=null==t||null===(r=t.closest("section"))||void 0===r?void 0:r.querySelectorAll("a");(null==n?void 0:n.length)>1&&t.getAttribute("device")!==e?t.remove():t.classList.remove("hidden")}}))}"android"===H||"ios"===H?t(z,H):t(Y,"other")}});r(5700),r(2008),r(1688),r(9572),r(7945),r(3851),r(1278),r(9432),r(9391),r(4520),r(8431),r(3215);const V=Object.prototype.toString;function W(t,e){return V.call(t)===`[object ${e}]`}function J(t){return W(t,"Object")}function K(t){return Boolean(t&&t.then&&"function"==typeof t.then)}function X(t){return t&&t.Math==Math?t:void 0}const Z="object"==typeof globalThis&&X(globalThis)||"object"==typeof window&&X(window)||"object"==typeof self&&X(self)||"object"==typeof r.g&&X(r.g)||function(){return this}()||{};function Q(t,e,r){const n=r||Z,o=n.__SENTRY__=n.__SENTRY__||{};return o[t]||(o[t]=e())}function tt(){const t=Z,e=t.crypto||t.msCrypto;let r=()=>16*Math.random();try{if(e&&e.randomUUID)return e.randomUUID().replace(/-/g,"");e&&e.getRandomValues&&(r=()=>{const t=new Uint8Array(1);return e.getRandomValues(t),t[0]})}catch(t){}return([1e7]+1e3+4e3+8e3+1e11).replace(/[018]/g,(t=>(t^(15&r())>>t/4).toString(16)))}function et(){return Date.now()/1e3}const rt=function(){const{performance:t}=Z;if(!t||!t.now)return et;const e=Date.now()-t.now(),r=null==t.timeOrigin?e:t.timeOrigin;return()=>(r+t.now())/1e3}();let nt;(()=>{const{performance:t}=Z;if(!t||!t.now)return void(nt="none");const e=36e5,r=t.now(),n=Date.now(),o=t.timeOrigin?Math.abs(t.timeOrigin+r-n):e,i=o{const n=at[t];r[t]=e[t],e[t]=n}));try{return t()}finally{n.forEach((t=>{e[t]=r[t]}))}}const ct=function(){let t=!1;const e={enable:()=>{t=!0},disable:()=>{t=!1},isEnabled:()=>t};return ot?it.forEach((r=>{e[r]=(...e)=>{t&&st((()=>{Z.console[r](`Sentry Logger [${r}]:`,...e)}))}})):it.forEach((t=>{e[t]=()=>{}})),e}(),ut="production",lt="undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__;var ft;!function(t){t[t.PENDING=0]="PENDING";t[t.RESOLVED=1]="RESOLVED";t[t.REJECTED=2]="REJECTED"}(ft||(ft={}));class ht{constructor(t){ht.prototype.__init.call(this),ht.prototype.__init2.call(this),ht.prototype.__init3.call(this),ht.prototype.__init4.call(this),this._state=ft.PENDING,this._handlers=[];try{t(this._resolve,this._reject)}catch(t){this._reject(t)}}then(t,e){return new ht(((r,n)=>{this._handlers.push([!1,e=>{if(t)try{r(t(e))}catch(t){n(t)}else r(e)},t=>{if(e)try{r(e(t))}catch(t){n(t)}else n(t)}]),this._executeHandlers()}))}catch(t){return this.then((t=>t),t)}finally(t){return new ht(((e,r)=>{let n,o;return this.then((e=>{o=!1,n=e,t&&t()}),(e=>{o=!0,n=e,t&&t()})).then((()=>{o?r(n):e(n)}))}))}__init(){this._resolve=t=>{this._setResult(ft.RESOLVED,t)}}__init2(){this._reject=t=>{this._setResult(ft.REJECTED,t)}}__init3(){this._setResult=(t,e)=>{this._state===ft.PENDING&&(K(e)?e.then(this._resolve,this._reject):(this._state=t,this._value=e,this._executeHandlers()))}}__init4(){this._executeHandlers=()=>{if(this._state===ft.PENDING)return;const t=this._handlers.slice();this._handlers=[],t.forEach((t=>{t[0]||(this._state===ft.RESOLVED&&t[1](this._value),this._state===ft.REJECTED&&t[2](this._value),t[0]=!0)}))}}}function dt(){return Q("globalEventProcessors",(()=>[]))}function pt(t,e,r,n=0){return new ht(((o,i)=>{const a=t[n];if(null===e||"function"!=typeof a)o(e);else{const s=a({...e},r);lt&&a.id&&null===s&&ct.log(`Event processor "${a.id}" dropped event`),K(s)?s.then((e=>pt(t,e,r,n+1).then(o))).then(null,i):pt(t,s,r,n+1).then(o).then(null,i)}}))}function vt(t){return gt(t,new Map)}function gt(t,e){if(function(t){if(!J(t))return!1;try{const e=Object.getPrototypeOf(t).constructor.name;return!e||"Object"===e}catch(t){return!0}}(t)){const r=e.get(t);if(void 0!==r)return r;const n={};e.set(t,n);for(const r of Object.keys(t))void 0!==t[r]&&(n[r]=gt(t[r],e));return n}if(Array.isArray(t)){const r=e.get(t);if(void 0!==r)return r;const n=[];return e.set(t,n),t.forEach((t=>{n.push(gt(t,e))})),n}return t}function yt(t){const e=rt(),r={sid:tt(),init:!0,timestamp:e,started:e,duration:0,status:"ok",errors:0,ignoreDuration:!1,toJSON:()=>function(t){return vt({sid:`${t.sid}`,init:t.init,started:new Date(1e3*t.started).toISOString(),timestamp:new Date(1e3*t.timestamp).toISOString(),status:t.status,errors:t.errors,did:"number"==typeof t.did||"string"==typeof t.did?`${t.did}`:void 0,duration:t.duration,abnormal_mechanism:t.abnormal_mechanism,attrs:{release:t.release,environment:t.environment,ip_address:t.ipAddress,user_agent:t.userAgent}})}(r)};return t&&mt(r,t),r}function mt(t,e={}){if(e.user&&(!t.ipAddress&&e.user.ip_address&&(t.ipAddress=e.user.ip_address),t.did||e.did||(t.did=e.user.id||e.user.email||e.user.username)),t.timestamp=e.timestamp||rt(),e.abnormal_mechanism&&(t.abnormal_mechanism=e.abnormal_mechanism),e.ignoreDuration&&(t.ignoreDuration=e.ignoreDuration),e.sid&&(t.sid=32===e.sid.length?e.sid:tt()),void 0!==e.init&&(t.init=e.init),!t.did&&e.did&&(t.did=`${e.did}`),"number"==typeof e.started&&(t.started=e.started),t.ignoreDuration)t.duration=void 0;else if("number"==typeof e.duration)t.duration=e.duration;else{const e=t.timestamp-t.started;t.duration=e>=0?e:0}e.release&&(t.release=e.release),e.environment&&(t.environment=e.environment),!t.ipAddress&&e.ipAddress&&(t.ipAddress=e.ipAddress),!t.userAgent&&e.userAgent&&(t.userAgent=e.userAgent),"number"==typeof e.errors&&(t.errors=e.errors),e.status&&(t.status=e.status)}function bt(t){return t.transaction}function wt(t){const{spanId:e,traceId:r}=t.spanContext(),{data:n,op:o,parent_span_id:i,status:a,tags:s,origin:c}=xt(t);return vt({data:n,op:o,parent_span_id:i,span_id:e,status:a,tags:s,trace_id:r,origin:c})}function xt(t){return function(t){return"function"==typeof t.getSpanJSON}(t)?t.getSpanJSON():"function"==typeof t.toJSON?t.toJSON():{}}function _t(t){const{traceFlags:e}=t.spanContext();return Boolean(1&e)}function St(t){const e=Mt();if(!e)return{};const r=function(t,e,r){const n=e.getOptions(),{publicKey:o}=e.getDsn()||{},{segment:i}=r&&r.getUser()||{},a=vt({environment:n.environment||ut,release:n.release,user_segment:i,public_key:o,trace_id:t});return e.emit&&e.emit("createDsc",a),a}(xt(t).trace_id||"",e,Ft()),n=bt(t);if(!n)return r;const o=n&&n._frozenDynamicSamplingContext;if(o)return o;const{sampleRate:i,source:a}=n.metadata;null!=i&&(r.sample_rate=`${i}`);const s=xt(n);return a&&"url"!==a&&(r.transaction=s.description),r.sampled=String(_t(n)),e.emit&&e.emit("createDsc",r),r}function Et(t,e){const{fingerprint:r,span:n,breadcrumbs:o,sdkProcessingMetadata:i}=e;!function(t,e){const{extra:r,tags:n,user:o,contexts:i,level:a,transactionName:s}=e,c=vt(r);c&&Object.keys(c).length&&(t.extra={...c,...t.extra});const u=vt(n);u&&Object.keys(u).length&&(t.tags={...u,...t.tags});const l=vt(o);l&&Object.keys(l).length&&(t.user={...l,...t.user});const f=vt(i);f&&Object.keys(f).length&&(t.contexts={...f,...t.contexts});a&&(t.level=a);s&&(t.transaction=s)}(t,e),n&&function(t,e){t.contexts={trace:wt(e),...t.contexts};const r=bt(e);if(r){t.sdkProcessingMetadata={dynamicSamplingContext:St(e),...t.sdkProcessingMetadata};const n=xt(r).description;n&&(t.tags={transaction:n,...t.tags})}}(t,n),function(t,e){t.fingerprint=t.fingerprint?function(t){return Array.isArray(t)?t:[t]}(t.fingerprint):[],e&&(t.fingerprint=t.fingerprint.concat(e));t.fingerprint&&!t.fingerprint.length&&delete t.fingerprint}(t,r),function(t,e){const r=[...t.breadcrumbs||[],...e];t.breadcrumbs=r.length?r:void 0}(t,o),function(t,e){t.sdkProcessingMetadata={...t.sdkProcessingMetadata,...e}}(t,i)}class kt{constructor(){this._notifyingListeners=!1,this._scopeListeners=[],this._eventProcessors=[],this._breadcrumbs=[],this._attachments=[],this._user={},this._tags={},this._extra={},this._contexts={},this._sdkProcessingMetadata={},this._propagationContext=Ot()}static clone(t){return t?t.clone():new kt}clone(){const t=new kt;return t._breadcrumbs=[...this._breadcrumbs],t._tags={...this._tags},t._extra={...this._extra},t._contexts={...this._contexts},t._user=this._user,t._level=this._level,t._span=this._span,t._session=this._session,t._transactionName=this._transactionName,t._fingerprint=this._fingerprint,t._eventProcessors=[...this._eventProcessors],t._requestSession=this._requestSession,t._attachments=[...this._attachments],t._sdkProcessingMetadata={...this._sdkProcessingMetadata},t._propagationContext={...this._propagationContext},t._client=this._client,t}setClient(t){this._client=t}getClient(){return this._client}addScopeListener(t){this._scopeListeners.push(t)}addEventProcessor(t){return this._eventProcessors.push(t),this}setUser(t){return this._user=t||{email:void 0,id:void 0,ip_address:void 0,segment:void 0,username:void 0},this._session&&mt(this._session,{user:t}),this._notifyScopeListeners(),this}getUser(){return this._user}getRequestSession(){return this._requestSession}setRequestSession(t){return this._requestSession=t,this}setTags(t){return this._tags={...this._tags,...t},this._notifyScopeListeners(),this}setTag(t,e){return this._tags={...this._tags,[t]:e},this._notifyScopeListeners(),this}setExtras(t){return this._extra={...this._extra,...t},this._notifyScopeListeners(),this}setExtra(t,e){return this._extra={...this._extra,[t]:e},this._notifyScopeListeners(),this}setFingerprint(t){return this._fingerprint=t,this._notifyScopeListeners(),this}setLevel(t){return this._level=t,this._notifyScopeListeners(),this}setTransactionName(t){return this._transactionName=t,this._notifyScopeListeners(),this}setContext(t,e){return null===e?delete this._contexts[t]:this._contexts[t]=e,this._notifyScopeListeners(),this}setSpan(t){return this._span=t,this._notifyScopeListeners(),this}getSpan(){return this._span}getTransaction(){const t=this._span;return t&&t.transaction}setSession(t){return t?this._session=t:delete this._session,this._notifyScopeListeners(),this}getSession(){return this._session}update(t){if(!t)return this;const e="function"==typeof t?t(this):t;if(e instanceof kt){const t=e.getScopeData();this._tags={...this._tags,...t.tags},this._extra={...this._extra,...t.extra},this._contexts={...this._contexts,...t.contexts},t.user&&Object.keys(t.user).length&&(this._user=t.user),t.level&&(this._level=t.level),t.fingerprint.length&&(this._fingerprint=t.fingerprint),e.getRequestSession()&&(this._requestSession=e.getRequestSession()),t.propagationContext&&(this._propagationContext=t.propagationContext)}else if(J(e)){const e=t;this._tags={...this._tags,...e.tags},this._extra={...this._extra,...e.extra},this._contexts={...this._contexts,...e.contexts},e.user&&(this._user=e.user),e.level&&(this._level=e.level),e.fingerprint&&(this._fingerprint=e.fingerprint),e.requestSession&&(this._requestSession=e.requestSession),e.propagationContext&&(this._propagationContext=e.propagationContext)}return this}clear(){return this._breadcrumbs=[],this._tags={},this._extra={},this._user={},this._contexts={},this._level=void 0,this._transactionName=void 0,this._fingerprint=void 0,this._requestSession=void 0,this._span=void 0,this._session=void 0,this._notifyScopeListeners(),this._attachments=[],this._propagationContext=Ot(),this}addBreadcrumb(t,e){const r="number"==typeof e?e:100;if(r<=0)return this;const n={timestamp:et(),...t},o=this._breadcrumbs;return o.push(n),this._breadcrumbs=o.length>r?o.slice(-r):o,this._notifyScopeListeners(),this}getLastBreadcrumb(){return this._breadcrumbs[this._breadcrumbs.length-1]}clearBreadcrumbs(){return this._breadcrumbs=[],this._notifyScopeListeners(),this}addAttachment(t){return this._attachments.push(t),this}getAttachments(){return this.getScopeData().attachments}clearAttachments(){return this._attachments=[],this}getScopeData(){const{_breadcrumbs:t,_attachments:e,_contexts:r,_tags:n,_extra:o,_user:i,_level:a,_fingerprint:s,_eventProcessors:c,_propagationContext:u,_sdkProcessingMetadata:l,_transactionName:f,_span:h}=this;return{breadcrumbs:t,attachments:e,contexts:r,tags:n,extra:o,user:i,level:a,fingerprint:s||[],eventProcessors:c,propagationContext:u,sdkProcessingMetadata:l,transactionName:f,span:h}}applyToEvent(t,e={},r=[]){Et(t,this.getScopeData());return pt([...r,...dt(),...this._eventProcessors],t,e)}setSDKProcessingMetadata(t){return this._sdkProcessingMetadata={...this._sdkProcessingMetadata,...t},this}setPropagationContext(t){return this._propagationContext=t,this}getPropagationContext(){return this._propagationContext}captureException(t,e){const r=e&&e.event_id?e.event_id:tt();if(!this._client)return ct.warn("No client configured on scope - will not capture exception!"),r;const n=new Error("Sentry syntheticException");return this._client.captureException(t,{originalException:t,syntheticException:n,...e,event_id:r},this),r}captureMessage(t,e,r){const n=r&&r.event_id?r.event_id:tt();if(!this._client)return ct.warn("No client configured on scope - will not capture message!"),n;const o=new Error(t);return this._client.captureMessage(t,e,{originalException:t,syntheticException:o,...r,event_id:n},this),n}captureEvent(t,e){const r=e&&e.event_id?e.event_id:tt();return this._client?(this._client.captureEvent(t,{...e,event_id:r},this),r):(ct.warn("No client configured on scope - will not capture event!"),r)}_notifyScopeListeners(){this._notifyingListeners||(this._notifyingListeners=!0,this._scopeListeners.forEach((t=>{t(this)})),this._notifyingListeners=!1)}}function Ot(){return{traceId:tt(),spanId:tt().substring(16)}}const Tt=parseFloat("7.120.3"),jt=100;class At{constructor(t,e,r,n=Tt){let o,i;this._version=n,e?o=e:(o=new kt,o.setClient(t)),r?i=r:(i=new kt,i.setClient(t)),this._stack=[{scope:o}],t&&this.bindClient(t),this._isolationScope=i}isOlderThan(t){return this._version(this.popScope(),t)),(t=>{throw this.popScope(),t})):(this.popScope(),r)}getClient(){return this.getStackTop().client}getScope(){return this.getStackTop().scope}getIsolationScope(){return this._isolationScope}getStack(){return this._stack}getStackTop(){return this._stack[this._stack.length-1]}captureException(t,e){const r=this._lastEventId=e&&e.event_id?e.event_id:tt(),n=new Error("Sentry syntheticException");return this.getScope().captureException(t,{originalException:t,syntheticException:n,...e,event_id:r}),r}captureMessage(t,e,r){const n=this._lastEventId=r&&r.event_id?r.event_id:tt(),o=new Error(t);return this.getScope().captureMessage(t,e,{originalException:t,syntheticException:o,...r,event_id:n}),n}captureEvent(t,e){const r=e&&e.event_id?e.event_id:tt();return t.type||(this._lastEventId=r),this.getScope().captureEvent(t,{...e,event_id:r}),r}lastEventId(){return this._lastEventId}addBreadcrumb(t,e){const{scope:r,client:n}=this.getStackTop();if(!n)return;const{beforeBreadcrumb:o=null,maxBreadcrumbs:i=jt}=n.getOptions&&n.getOptions()||{};if(i<=0)return;const a={timestamp:et(),...t},s=o?st((()=>o(a,e))):a;null!==s&&(n.emit&&n.emit("beforeAddBreadcrumb",s,e),r.addBreadcrumb(s,i))}setUser(t){this.getScope().setUser(t),this.getIsolationScope().setUser(t)}setTags(t){this.getScope().setTags(t),this.getIsolationScope().setTags(t)}setExtras(t){this.getScope().setExtras(t),this.getIsolationScope().setExtras(t)}setTag(t,e){this.getScope().setTag(t,e),this.getIsolationScope().setTag(t,e)}setExtra(t,e){this.getScope().setExtra(t,e),this.getIsolationScope().setExtra(t,e)}setContext(t,e){this.getScope().setContext(t,e),this.getIsolationScope().setContext(t,e)}configureScope(t){const{scope:e,client:r}=this.getStackTop();r&&t(e)}run(t){const e=Pt(this);try{t(this)}finally{Pt(e)}}getIntegration(t){const e=this.getClient();if(!e)return null;try{return e.getIntegration(t)}catch(e){return lt&&ct.warn(`Cannot retrieve integration ${t.id} from the current Hub`),null}}startTransaction(t,e){const r=this._callExtensionMethod("startTransaction",t,e);if(lt&&!r){this.getClient()?ct.warn("Tracing extension 'startTransaction' has not been added. Call 'addTracingExtensions' before calling 'init':\nSentry.addTracingExtensions();\nSentry.init({...});\n"):ct.warn("Tracing extension 'startTransaction' is missing. You should 'init' the SDK before calling 'startTransaction'")}return r}traceHeaders(){return this._callExtensionMethod("traceHeaders")}captureSession(t=!1){if(t)return this.endSession();this._sendSessionUpdate()}endSession(){const t=this.getStackTop().scope,e=t.getSession();e&&function(t,e){let r={};e?r={status:e}:"ok"===t.status&&(r={status:"exited"}),mt(t,r)}(e),this._sendSessionUpdate(),t.setSession()}startSession(t){const{scope:e,client:r}=this.getStackTop(),{release:n,environment:o=ut}=r&&r.getOptions()||{},{userAgent:i}=Z.navigator||{},a=yt({release:n,environment:o,user:e.getUser(),...i&&{userAgent:i},...t}),s=e.getSession&&e.getSession();return s&&"ok"===s.status&&mt(s,{status:"exited"}),this.endSession(),e.setSession(a),a}shouldSendDefaultPii(){const t=this.getClient(),e=t&&t.getOptions();return Boolean(e&&e.sendDefaultPii)}_sendSessionUpdate(){const{scope:t,client:e}=this.getStackTop(),r=t.getSession();r&&e&&e.captureSession&&e.captureSession(r)}_callExtensionMethod(t,...e){const r=Lt().__SENTRY__;if(r&&r.extensions&&"function"==typeof r.extensions[t])return r.extensions[t].apply(this,e);lt&&ct.warn(`Extension method ${t} couldn't be found, doing nothing.`)}}function Lt(){return Z.__SENTRY__=Z.__SENTRY__||{extensions:{},hub:void 0},Z}function Pt(t){const e=Lt(),r=Rt(e);return Dt(e,t),r}function It(){const t=Lt();if(t.__SENTRY__&&t.__SENTRY__.acs){const e=t.__SENTRY__.acs.getCurrentHub();if(e)return e}return Ct(t)}function Ct(t=Lt()){return Nt(t)&&!Rt(t).isOlderThan(Tt)||Dt(t,new At),Rt(t)}function Nt(t){return!!(t&&t.__SENTRY__&&t.__SENTRY__.hub)}function Rt(t){return Q("hub",(()=>new At),t)}function Dt(t,e){if(!t)return!1;return(t.__SENTRY__=t.__SENTRY__||{}).hub=e,!0}new WeakMap;function qt(t){if(t)return function(t){return t instanceof kt||"function"==typeof t}(t)||function(t){return Object.keys(t).some((t=>Ut.includes(t)))}(t)?{captureContext:t}:t}const Ut=["user","level","extra","contexts","tags","fingerprint","requestSession","propagationContext"];function Mt(){return It().getClient()}function Ft(){return It().getScope()}function Gt(t){var e,r,n=arguments.length>1&&void 0!==arguments[1]&&arguments[1];if(e=t,It().captureException(e,qt(r)),"prod"!==webEnv&&(console.error(t),!0===n))throw t}var Ht="CrossDomainConsent";function Bt(){return function(t){try{var r=e.get(t),n=null!=r&&r.length?r.replace(/'/g,'"').replace(/([^{}:,\s]+):(\s*)?([^{}:,\s]+)/g,'"$1":$3'):"{}",o=JSON.parse(n);return{marketing:o.marketing,necessary:o.necessary,preferences:o.preferences,statistics:o.statistics}}catch(t){return Gt(t),{marketing:!1,necessary:!1,preferences:!1,statistics:!1}}}(e.get(Ht)?Ht:"CookieConsent")}function zt(t){var e=Bt();return t.every((function(t){return!0===(null==e?void 0:e[t])}))}r(5746),r(8408);function Yt(t,e){var r="undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(!r){if(Array.isArray(t)||(r=function(t,e){if(t){if("string"==typeof t)return $t(t,e);var r={}.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?$t(t,e):void 0}}(t))||e&&t&&"number"==typeof t.length){r&&(t=r);var n=0,o=function(){};return{s:o,n:function(){return n>=t.length?{done:!0}:{done:!1,value:t[n++]}},e:function(t){throw t},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,a=!0,s=!1;return{s:function(){r=r.call(t)},n:function(){var t=r.next();return a=t.done,t},e:function(t){s=!0,i=t},f:function(){try{a||null==r.return||r.return()}finally{if(s)throw i}}}}function $t(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=Array(e);r0&&void 0!==arguments[0])||arguments[0],e={};try{var r,n=Yt(new URLSearchParams(window.location.search));try{for(n.s();!(r=n.n()).done;){var o,i,a,s,c=r.value,u=null==c||null===(o=c[0])||void 0===o||null===(i=o.toLowerCase)||void 0===i?void 0:i.call(o),l=null==c||null===(a=c[1])||void 0===a||null===(s=a.toLowerCase)||void 0===s?void 0:s.call(a);u&&l&&0===u.indexOf("utm_")&&(e[t?u.replace("utm_",""):u]=l)}}catch(t){n.e(t)}finally{n.f()}}catch(t){Gt(t)}return e}r(744);function Wt(t){return Wt="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Wt(t)}function Jt(){Jt=function(){return e};var t,e={},r=Object.prototype,n=r.hasOwnProperty,o="function"==typeof Symbol?Symbol:{},i=o.iterator||"@@iterator",a=o.asyncIterator||"@@asyncIterator",s=o.toStringTag||"@@toStringTag";function c(t,e,r,n){return Object.defineProperty(t,e,{value:r,enumerable:!n,configurable:!n,writable:!n})}try{c({},"")}catch(t){c=function(t,e,r){return t[e]=r}}function u(e,r,n,o){var i=r&&r.prototype instanceof h?r:h,a=Object.create(i.prototype);return c(a,"_invoke",function(e,r,n){var o=1;return function(i,a){if(3===o)throw Error("Generator is already running");if(4===o){if("throw"===i)throw a;return{value:t,done:!0}}for(n.method=i,n.arg=a;;){var s=n.delegate;if(s){var c=x(s,n);if(c){if(c===f)continue;return c}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(1===o)throw o=4,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);o=3;var u=l(e,r,n);if("normal"===u.type){if(o=n.done?4:2,u.arg===f)continue;return{value:u.arg,done:n.done}}"throw"===u.type&&(o=4,n.method="throw",n.arg=u.arg)}}}(e,n,new E(o||[])),!0),a}function l(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}e.wrap=u;var f={};function h(){}function d(){}function p(){}var v={};c(v,i,(function(){return this}));var g=Object.getPrototypeOf,y=g&&g(g(k([])));y&&y!==r&&n.call(y,i)&&(v=y);var m=p.prototype=h.prototype=Object.create(v);function b(t){["next","throw","return"].forEach((function(e){c(t,e,(function(t){return this._invoke(e,t)}))}))}function w(t,e){function r(o,i,a,s){var c=l(t[o],t,i);if("throw"!==c.type){var u=c.arg,f=u.value;return f&&"object"==Wt(f)&&n.call(f,"__await")?e.resolve(f.__await).then((function(t){r("next",t,a,s)}),(function(t){r("throw",t,a,s)})):e.resolve(f).then((function(t){u.value=t,a(u)}),(function(t){return r("throw",t,a,s)}))}s(c.arg)}var o;c(this,"_invoke",(function(t,n){function i(){return new e((function(e,o){r(t,n,e,o)}))}return o=o?o.then(i,i):i()}),!0)}function x(e,r){var n=r.method,o=e.i[n];if(o===t)return r.delegate=null,"throw"===n&&e.i.return&&(r.method="return",r.arg=t,x(e,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+n+"' method")),f;var i=l(o,e.i,r.arg);if("throw"===i.type)return r.method="throw",r.arg=i.arg,r.delegate=null,f;var a=i.arg;return a?a.done?(r[e.r]=a.value,r.next=e.n,"return"!==r.method&&(r.method="next",r.arg=t),r.delegate=null,f):a:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,f)}function _(t){this.tryEntries.push(t)}function S(e){var r=e[4]||{};r.type="normal",r.arg=t,e[4]=r}function E(t){this.tryEntries=[[-1]],t.forEach(_,this),this.reset(!0)}function k(e){if(null!=e){var r=e[i];if(r)return r.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var o=-1,a=function r(){for(;++o=0;--o){var i=this.tryEntries[o],a=i[4],s=this.prev,c=i[1],u=i[2];if(-1===i[0])return n("end"),!1;if(!c&&!u)throw Error("try statement without catch or finally");if(null!=i[0]&&i[0]<=s){if(s=0;--r){var n=this.tryEntries[r];if(n[0]>-1&&n[0]<=this.prev&&this.prev=0;--e){var r=this.tryEntries[e];if(r[2]===t)return this.complete(r[4],r[3]),S(r),f}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r[0]===t){var n=r[4];if("throw"===n.type){var o=n.arg;S(r)}return o}}throw Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={i:k(e),r,n},"next"===this.method&&(this.arg=t),f}},e}function Kt(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var r=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=r){var n,o,i,a,s=[],c=!0,u=!1;try{if(i=(r=r.call(t)).next,0===e){if(Object(r)!==r)return;c=!1}else for(;!(c=(n=i.call(r)).done)&&(s.push(n.value),s.length!==e);c=!0);}catch(t){u=!0,o=t}finally{try{if(!c&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(u)throw o}}return s}}(t,e)||function(t,e){if(t){if("string"==typeof t)return Xt(t,e);var r={}.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?Xt(t,e):void 0}}(t,e)||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.")}()}function Xt(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=Array(e);r1&&void 0!==arguments[1]?arguments[1]:0,r=(le[t[e+0]]+le[t[e+1]]+le[t[e+2]]+le[t[e+3]]+"-"+le[t[e+4]]+le[t[e+5]]+"-"+le[t[e+6]]+le[t[e+7]]+"-"+le[t[e+8]]+le[t[e+9]]+"-"+le[t[e+10]]+le[t[e+11]]+le[t[e+12]]+le[t[e+13]]+le[t[e+14]]+le[t[e+15]]).toLowerCase();if(!ue(r))throw TypeError("Stringified UUID is invalid");return r};const de=function(t,e,r){var n=(t=t||{}).random||(t.rng||se)();if(n[6]=15&n[6]|64,n[8]=63&n[8]|128,e){r=r||0;for(var o=0;o<16;++o)e[r+o]=n[o];return e}return he(n)};function pe(t){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:365,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:void 0,o=e.get(t);return o||(o=de(),e.set(t,o,{expires:r,domain:n}),o)}r(739);function ve(t){return ve="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},ve(t)}function ge(){ge=function(){return e};var t,e={},r=Object.prototype,n=r.hasOwnProperty,o="function"==typeof Symbol?Symbol:{},i=o.iterator||"@@iterator",a=o.asyncIterator||"@@asyncIterator",s=o.toStringTag||"@@toStringTag";function c(t,e,r,n){return Object.defineProperty(t,e,{value:r,enumerable:!n,configurable:!n,writable:!n})}try{c({},"")}catch(t){c=function(t,e,r){return t[e]=r}}function u(e,r,n,o){var i=r&&r.prototype instanceof h?r:h,a=Object.create(i.prototype);return c(a,"_invoke",function(e,r,n){var o=1;return function(i,a){if(3===o)throw Error("Generator is already running");if(4===o){if("throw"===i)throw a;return{value:t,done:!0}}for(n.method=i,n.arg=a;;){var s=n.delegate;if(s){var c=x(s,n);if(c){if(c===f)continue;return c}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(1===o)throw o=4,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);o=3;var u=l(e,r,n);if("normal"===u.type){if(o=n.done?4:2,u.arg===f)continue;return{value:u.arg,done:n.done}}"throw"===u.type&&(o=4,n.method="throw",n.arg=u.arg)}}}(e,n,new E(o||[])),!0),a}function l(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}e.wrap=u;var f={};function h(){}function d(){}function p(){}var v={};c(v,i,(function(){return this}));var g=Object.getPrototypeOf,y=g&&g(g(k([])));y&&y!==r&&n.call(y,i)&&(v=y);var m=p.prototype=h.prototype=Object.create(v);function b(t){["next","throw","return"].forEach((function(e){c(t,e,(function(t){return this._invoke(e,t)}))}))}function w(t,e){function r(o,i,a,s){var c=l(t[o],t,i);if("throw"!==c.type){var u=c.arg,f=u.value;return f&&"object"==ve(f)&&n.call(f,"__await")?e.resolve(f.__await).then((function(t){r("next",t,a,s)}),(function(t){r("throw",t,a,s)})):e.resolve(f).then((function(t){u.value=t,a(u)}),(function(t){return r("throw",t,a,s)}))}s(c.arg)}var o;c(this,"_invoke",(function(t,n){function i(){return new e((function(e,o){r(t,n,e,o)}))}return o=o?o.then(i,i):i()}),!0)}function x(e,r){var n=r.method,o=e.i[n];if(o===t)return r.delegate=null,"throw"===n&&e.i.return&&(r.method="return",r.arg=t,x(e,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+n+"' method")),f;var i=l(o,e.i,r.arg);if("throw"===i.type)return r.method="throw",r.arg=i.arg,r.delegate=null,f;var a=i.arg;return a?a.done?(r[e.r]=a.value,r.next=e.n,"return"!==r.method&&(r.method="next",r.arg=t),r.delegate=null,f):a:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,f)}function _(t){this.tryEntries.push(t)}function S(e){var r=e[4]||{};r.type="normal",r.arg=t,e[4]=r}function E(t){this.tryEntries=[[-1]],t.forEach(_,this),this.reset(!0)}function k(e){if(null!=e){var r=e[i];if(r)return r.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var o=-1,a=function r(){for(;++o=0;--o){var i=this.tryEntries[o],a=i[4],s=this.prev,c=i[1],u=i[2];if(-1===i[0])return n("end"),!1;if(!c&&!u)throw Error("try statement without catch or finally");if(null!=i[0]&&i[0]<=s){if(s=0;--r){var n=this.tryEntries[r];if(n[0]>-1&&n[0]<=this.prev&&this.prev=0;--e){var r=this.tryEntries[e];if(r[2]===t)return this.complete(r[4],r[3]),S(r),f}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r[0]===t){var n=r[4];if("throw"===n.type){var o=n.arg;S(r)}return o}}throw Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={i:k(e),r,n},"next"===this.method&&(this.arg=t),f}},e}function ye(t,e,r,n,o,i,a){try{var s=t[i](a),c=s.value}catch(t){return void r(t)}s.done?e(c):Promise.resolve(c).then(n,o)}function me(t){return function(){var e=this,r=arguments;return new Promise((function(n,o){var i=t.apply(e,r);function a(t){ye(i,n,o,a,s,"next",t)}function s(t){ye(i,n,o,a,s,"throw",t)}a(void 0)}))}}var be="prod"===webEnv?"https://api.owhealth.com/v1/web-analytics":"https://api.staging.owhealth.com/v1/web-analytics";function we(t){return xe.apply(this,arguments)}function xe(){return xe=me(ge().mark((function t(e){var r,n,o;return ge().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return r={events:e},t.prev=1,n=fetch(be,{method:"POST",headers:{"Content-Type":"application/json",Accept:"*/*"},body:JSON.stringify(r)}),o=new Promise((function(t,e){setTimeout(me(ge().mark((function e(){return ge().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:t();case 1:case"end":return e.stop()}}),e)}))),1500)})),t.next=6,Promise.race([n,o]);case 6:t.next=11;break;case 8:t.prev=8,t.t0=t.catch(1),"dev"!==webEnv&&Gt(t.t0);case 11:case"end":return t.stop()}}),t,null,[[1,8]])}))),xe.apply(this,arguments)}function _e(t){return _e="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},_e(t)}function Se(){Se=function(){return e};var t,e={},r=Object.prototype,n=r.hasOwnProperty,o="function"==typeof Symbol?Symbol:{},i=o.iterator||"@@iterator",a=o.asyncIterator||"@@asyncIterator",s=o.toStringTag||"@@toStringTag";function c(t,e,r,n){return Object.defineProperty(t,e,{value:r,enumerable:!n,configurable:!n,writable:!n})}try{c({},"")}catch(t){c=function(t,e,r){return t[e]=r}}function u(e,r,n,o){var i=r&&r.prototype instanceof h?r:h,a=Object.create(i.prototype);return c(a,"_invoke",function(e,r,n){var o=1;return function(i,a){if(3===o)throw Error("Generator is already running");if(4===o){if("throw"===i)throw a;return{value:t,done:!0}}for(n.method=i,n.arg=a;;){var s=n.delegate;if(s){var c=x(s,n);if(c){if(c===f)continue;return c}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(1===o)throw o=4,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);o=3;var u=l(e,r,n);if("normal"===u.type){if(o=n.done?4:2,u.arg===f)continue;return{value:u.arg,done:n.done}}"throw"===u.type&&(o=4,n.method="throw",n.arg=u.arg)}}}(e,n,new E(o||[])),!0),a}function l(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}e.wrap=u;var f={};function h(){}function d(){}function p(){}var v={};c(v,i,(function(){return this}));var g=Object.getPrototypeOf,y=g&&g(g(k([])));y&&y!==r&&n.call(y,i)&&(v=y);var m=p.prototype=h.prototype=Object.create(v);function b(t){["next","throw","return"].forEach((function(e){c(t,e,(function(t){return this._invoke(e,t)}))}))}function w(t,e){function r(o,i,a,s){var c=l(t[o],t,i);if("throw"!==c.type){var u=c.arg,f=u.value;return f&&"object"==_e(f)&&n.call(f,"__await")?e.resolve(f.__await).then((function(t){r("next",t,a,s)}),(function(t){r("throw",t,a,s)})):e.resolve(f).then((function(t){u.value=t,a(u)}),(function(t){return r("throw",t,a,s)}))}s(c.arg)}var o;c(this,"_invoke",(function(t,n){function i(){return new e((function(e,o){r(t,n,e,o)}))}return o=o?o.then(i,i):i()}),!0)}function x(e,r){var n=r.method,o=e.i[n];if(o===t)return r.delegate=null,"throw"===n&&e.i.return&&(r.method="return",r.arg=t,x(e,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+n+"' method")),f;var i=l(o,e.i,r.arg);if("throw"===i.type)return r.method="throw",r.arg=i.arg,r.delegate=null,f;var a=i.arg;return a?a.done?(r[e.r]=a.value,r.next=e.n,"return"!==r.method&&(r.method="next",r.arg=t),r.delegate=null,f):a:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,f)}function _(t){this.tryEntries.push(t)}function S(e){var r=e[4]||{};r.type="normal",r.arg=t,e[4]=r}function E(t){this.tryEntries=[[-1]],t.forEach(_,this),this.reset(!0)}function k(e){if(null!=e){var r=e[i];if(r)return r.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var o=-1,a=function r(){for(;++o=0;--o){var i=this.tryEntries[o],a=i[4],s=this.prev,c=i[1],u=i[2];if(-1===i[0])return n("end"),!1;if(!c&&!u)throw Error("try statement without catch or finally");if(null!=i[0]&&i[0]<=s){if(s=0;--r){var n=this.tryEntries[r];if(n[0]>-1&&n[0]<=this.prev&&this.prev=0;--e){var r=this.tryEntries[e];if(r[2]===t)return this.complete(r[4],r[3]),S(r),f}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r[0]===t){var n=r[4];if("throw"===n.type){var o=n.arg;S(r)}return o}}throw Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={i:k(e),r,n},"next"===this.method&&(this.arg=t),f}},e}function Ee(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function ke(t){for(var e=1;e1&&void 0!==g[1]?g[1]:{},y=void 0,u=zt(["marketing","necessary","statistics"])?{sessionId:pe("session_id"),visitorId:pe("visitor_id",365,(y=window.location.hostname.split(".").reverse(),y.length<=1||!y[1]||!y[0]?window.location.hostname:".".concat(y[1],".").concat(y[0])))}:{sessionId:void 0,visitorId:void 0},l=u.sessionId,f=u.visitorId,h=null===(r=document.querySelector("html").getAttribute("lang"))||void 0===r?void 0:r.toUpperCase(),d=Vt(),t.next=6,ne();case 6:return p=t.sent,v=new P.UAParser(navigator.userAgent),t.abrupt("return",{date:(new Date).toISOString(),event_type:e,page_path:window.location.pathname,referal:document.referrer,screen_name:window.location.pathname,session:{session_id:l,source:null==d?void 0:d.source,ad_campaign:null==d?void 0:d.campaign,ad_id:null==d?void 0:d.id,ad_set:null==d?void 0:d.set},visitor:{additional_attributes:{},br:null==v||null===(n=v.getBrowser())||void 0===n?void 0:n.name,br_ver:null==v||null===(o=v.getBrowser())||void 0===o?void 0:o.version,co:p,os:null==v?void 0:v.getOS().name,os_version:null==v?void 0:v.getOS().version,user_agent:null==v||null===(i=v.getResult())||void 0===i?void 0:i.ua,visitor_id:f,lang:null===(a=navigator)||void 0===a||null===(a=a.language)||void 0===a||null===(s=a.slice)||void 0===s||null===(s=s.call(a,0,2))||void 0===s?void 0:s.toUpperCase()},web_user:{additional_attributes:{}},additional_fields:ke({authentication_type:"",utm_medium:null==d?void 0:d.medium,service:"content_site",lang_page:h,page_url:window.location.href,page_referrer:document.referrer,utm:d},c)});case 9:case"end":return t.stop()}var y}),t)}))),Le.apply(this,arguments)}var Pe=[],Ie=null;function Ce(){return Ce=je(Se().mark((function t(e){var r,n=arguments;return Se().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return r=n.length>1&&void 0!==n[1]?n[1]:{},t.t0=Pe,t.next=4,Ae(e,r);case 4:return t.t1=t.sent,t.t0.push.call(t.t0,t.t1),t.abrupt("return",new Promise((function(t,e){Ie&&clearTimeout(Ie),Ie=setTimeout((function(){var e=[].concat(Pe);Pe.length=0,we(e).catch(Gt).finally((function(){t()}))}),1)})));case 7:case"end":return t.stop()}}),t)}))),Ce.apply(this,arguments)}function Ne(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return new Promise((function(r,n){zt(["marketing","statistics"])?function(t){return Ce.apply(this,arguments)}(t,e).catch(Gt).catch(n).then(r):r()}))}function Re(t){return Re="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Re(t)}function De(){De=function(){return e};var t,e={},r=Object.prototype,n=r.hasOwnProperty,o="function"==typeof Symbol?Symbol:{},i=o.iterator||"@@iterator",a=o.asyncIterator||"@@asyncIterator",s=o.toStringTag||"@@toStringTag";function c(t,e,r,n){return Object.defineProperty(t,e,{value:r,enumerable:!n,configurable:!n,writable:!n})}try{c({},"")}catch(t){c=function(t,e,r){return t[e]=r}}function u(e,r,n,o){var i=r&&r.prototype instanceof h?r:h,a=Object.create(i.prototype);return c(a,"_invoke",function(e,r,n){var o=1;return function(i,a){if(3===o)throw Error("Generator is already running");if(4===o){if("throw"===i)throw a;return{value:t,done:!0}}for(n.method=i,n.arg=a;;){var s=n.delegate;if(s){var c=x(s,n);if(c){if(c===f)continue;return c}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(1===o)throw o=4,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);o=3;var u=l(e,r,n);if("normal"===u.type){if(o=n.done?4:2,u.arg===f)continue;return{value:u.arg,done:n.done}}"throw"===u.type&&(o=4,n.method="throw",n.arg=u.arg)}}}(e,n,new E(o||[])),!0),a}function l(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}e.wrap=u;var f={};function h(){}function d(){}function p(){}var v={};c(v,i,(function(){return this}));var g=Object.getPrototypeOf,y=g&&g(g(k([])));y&&y!==r&&n.call(y,i)&&(v=y);var m=p.prototype=h.prototype=Object.create(v);function b(t){["next","throw","return"].forEach((function(e){c(t,e,(function(t){return this._invoke(e,t)}))}))}function w(t,e){function r(o,i,a,s){var c=l(t[o],t,i);if("throw"!==c.type){var u=c.arg,f=u.value;return f&&"object"==Re(f)&&n.call(f,"__await")?e.resolve(f.__await).then((function(t){r("next",t,a,s)}),(function(t){r("throw",t,a,s)})):e.resolve(f).then((function(t){u.value=t,a(u)}),(function(t){return r("throw",t,a,s)}))}s(c.arg)}var o;c(this,"_invoke",(function(t,n){function i(){return new e((function(e,o){r(t,n,e,o)}))}return o=o?o.then(i,i):i()}),!0)}function x(e,r){var n=r.method,o=e.i[n];if(o===t)return r.delegate=null,"throw"===n&&e.i.return&&(r.method="return",r.arg=t,x(e,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+n+"' method")),f;var i=l(o,e.i,r.arg);if("throw"===i.type)return r.method="throw",r.arg=i.arg,r.delegate=null,f;var a=i.arg;return a?a.done?(r[e.r]=a.value,r.next=e.n,"return"!==r.method&&(r.method="next",r.arg=t),r.delegate=null,f):a:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,f)}function _(t){this.tryEntries.push(t)}function S(e){var r=e[4]||{};r.type="normal",r.arg=t,e[4]=r}function E(t){this.tryEntries=[[-1]],t.forEach(_,this),this.reset(!0)}function k(e){if(null!=e){var r=e[i];if(r)return r.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var o=-1,a=function r(){for(;++o=0;--o){var i=this.tryEntries[o],a=i[4],s=this.prev,c=i[1],u=i[2];if(-1===i[0])return n("end"),!1;if(!c&&!u)throw Error("try statement without catch or finally");if(null!=i[0]&&i[0]<=s){if(s=0;--r){var n=this.tryEntries[r];if(n[0]>-1&&n[0]<=this.prev&&this.prev=0;--e){var r=this.tryEntries[e];if(r[2]===t)return this.complete(r[4],r[3]),S(r),f}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r[0]===t){var n=r[4];if("throw"===n.type){var o=n.arg;S(r)}return o}}throw Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={i:k(e),r,n},"next"===this.method&&(this.arg=t),f}},e}function qe(t,e,r,n,o,i,a){try{var s=t[i](a),c=s.value}catch(t){return void r(t)}s.done?e(c):Promise.resolve(c).then(n,o)}function Ue(t){return function(){var e=this,r=arguments;return new Promise((function(n,o){var i=t.apply(e,r);function a(t){qe(i,n,o,a,s,"next",t)}function s(t){qe(i,n,o,a,s,"throw",t)}a(void 0)}))}}function Me(t,e){var r="undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(!r){if(Array.isArray(t)||(r=function(t,e){if(t){if("string"==typeof t)return Fe(t,e);var r={}.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?Fe(t,e):void 0}}(t))||e&&t&&"number"==typeof t.length){r&&(t=r);var n=0,o=function(){};return{s:o,n:function(){return n>=t.length?{done:!0}:{done:!1,value:t[n++]}},e:function(t){throw t},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,a=!0,s=!1;return{s:function(){r=r.call(t)},n:function(){var t=r.next();return a=t.done,t},e:function(t){s=!0,i=t},f:function(){try{a||null==r.return||r.return()}finally{if(s)throw i}}}}function Fe(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=Array(e);r\n \n ';t.forEach((function(t){var r=document.createElement("div");r.className="table-scroll-controls";var n=document.createElement("button");n.className="table-scroll-control table-scroll-left",n.innerHTML=e,n.setAttribute("aria-label","Scroll table left");var o=document.createElement("button");o.className="table-scroll-control table-scroll-right",o.innerHTML=e,o.setAttribute("aria-label","Scroll table right"),r.appendChild(n),r.appendChild(o),t.insertAdjacentElement("afterend",r);var i=function(){var e=t.scrollWidth>t.clientWidth,i=t.scrollLeft,a=t.scrollWidth-t.clientWidth;r.classList.toggle("hidden",!e),e&&(n.classList.toggle("disabled",0===i),o.classList.toggle("disabled",i>=a))};i(),n.addEventListener("click",(function(){var e=Math.max(0,t.scrollLeft-t.clientWidth/2);t.scrollTo({left:e,behavior:"smooth"})})),o.addEventListener("click",(function(){var e=t.scrollWidth-t.clientWidth,r=Math.min(e,t.scrollLeft+t.clientWidth/2);t.scrollTo({left:r,behavior:"smooth"})})),t.addEventListener("scroll",i),window.addEventListener("resize",i)}))}};document.addEventListener("DOMContentLoaded",(function(){document.querySelector(".floating-button")?R.init():A.init(),$.init(),o.init(),a.init(),d.init(),E.init(),L.init(),D.init(),U.init(),M.init(),F.init(),Ge.init(),He.init()}))})()})();
    When to take a pregnancy test: Tips for accurate results (2025)

    References

    Top Articles
    Latest Posts
    Recommended Articles
    Article information

    Author: Kieth Sipes

    Last Updated:

    Views: 6439

    Rating: 4.7 / 5 (67 voted)

    Reviews: 90% of readers found this page helpful

    Author information

    Name: Kieth Sipes

    Birthday: 2001-04-14

    Address: Suite 492 62479 Champlin Loop, South Catrice, MS 57271

    Phone: +9663362133320

    Job: District Sales Analyst

    Hobby: Digital arts, Dance, Ghost hunting, Worldbuilding, Kayaking, Table tennis, 3D printing

    Introduction: My name is Kieth Sipes, I am a zany, rich, courageous, powerful, faithful, jolly, excited person who loves writing and wants to share my knowledge and understanding with you.