4,864 Matching Annotations
  1. Dec 2020
    1. A preferred medium is the price tag: in New Orleans, where he currently lives, he once ran a lunch cart that asked white patrons to pay more than double what he charged people of color, reflecting the city’s racial income disparities. In Nashville, he hosted a series of dinners where hot chicken was free for the neighborhood’s black residents, while white diners were asked to pledge a hundred dollars for one piece, a thousand dollars for four, and the deed to a property for a whole bird plus sides.

      I absolutely love this concept that he did

    1. Hi Collin, nice project! So these results would be useful for reliable sources to write articles in a way that will increase shares. Do you think social media could also benefit from these results in order to find and tag misleading articles perhaps?

    1. some common metadata

      添加阅读的起始时间和结束时间,一方面是表明是否读完,另一方面则是 measure。

      添加 推荐人 也是个好想法,增加更多的 connection,无论是书还是人都有更多的 context

      但是需要构建一个 tag system,不光是个不同的 source,甚至还可以通用于非 Roam Research 之外,比如 raindrop

    1. Reviewer #3:

      In this manuscript, Naetar et al. investigate the role of LAP2α binding to A-type lamins in the nucleoplasm. LAP2α was already thought to be important for maintaining the nucleoplasmic pool of soluble A-type lamins, because knockout of LAP2α has previously been shown to reduce nucleoplasmic signal from an antibody that recognizes the lamin-A/C amino terminus. However, by directly tagging A-type lamins with fluorescent proteins and by using an alternative antibody to stain them, Naetar et al. find that the presence of LAP2α does not appreciably affect the pool of soluble lamins in the nucleoplasm. Instead, they find that LAP2α affects the assembly state of soluble lamins within the nucleoplasm, preventing formation of higher order A-type lamin structures that impede the mobility of telomeres within the nucleus.

      There is a lot to like about this paper. I admire the author's mechanistic approach to studying lamin assembly state. The complementary cell biology/microscopy approaches paired with the biochemical approaches in figure 5 lead to an overall convincing story. And finally, I appreciate the efforts the authors made to "show their work," including their genome editing quality control measures.

      Major comments:

      1) Although I appreciate the transparency of the authors in demonstrating their workflow and quality control measures (see above), some of the terminology makes the manuscript difficult to read. At times it feels more like reading a lab notebook than reading a manuscript. For example, The manuscript would be easier to understand if cell lines were given descriptive names (eg: LAP2α KO, or mEos3.2-lmna instead of "WT#21") rather than continuing to refer to them by the small guide RNA that was used to generate them. A second example: it is nice to show biological replicate data as in figure 1, but it took me a while to figure out that the second and third columns in panels A and B were biological replicates; I spent some time trying to determine which experimental condition was different. Perhaps one biological replicate could be displayed in the main text and the second could be moved to the supplement, especially considering that it appears that only one of the clones was used for the quantifications shown in the bottom panels.

      2) Why was the choice made to disrupt LAP2α at the beginning of exon 4? How large are exons 1 and 2, which are not shown in the schematic in the supplemental figures? What percentage of the LAP2α peptide primary sequence is affected by a frameshift mutation at the start of exon 4? Why was this approach preferable to introducing a frameshift mutation closer to the 5' end of the gene? I am concerned that the "LAP2α KO" cells used in the experiments may have some partially functional truncated LAP2α protein.

      3) On page 16, the authors describe a set of experiments that are meant to demonstrate that their failure to see a difference in nucleoplasmic A-type lamins in LAP2α mutants is not due to the fluorescent protein tag used, however, instead of looking at untagged lamins, they elect to look at a cell line that has all lmna alleles tagged. Wouldn't it be better to use the LAP2α KO cells from figure 1 and stain with both the 3A6 antibody and the N18 antibody to determine whether untagged lamins behave the same way as tagged lamins? Perhaps this experiment could be added along with the current data, as it would be nice to compare directly between a cell line with all lmna alleles tagged and a cell line with no lmna alleles tagged.

      This experiment would also give the authors a chance to compare morphology and overall fitness of cells with all untagged lmna with cells with all tagged lmna, to determine whether the tagged proteins are fully functional. Even if the tagged protein is fully functional, it would be appropriate to add a brief discussion of the possibility that fluorescent tags do perturb lamin-A/C function. After all, many lamin mutations do not cause obvious phenotypes in tissue culture cells, but defects can still emerge during development and aging in the context of an animal.

      4) The authors build a convincing case that binding to A-type lamins by LAP2α influences their ability to assemble. But how do cells leverage this relationship for biological functions? Do cells tune the amount of fully soluble vs. partially assembled A-type lamins in the nucleoplasm in order to control nuclear structure or function in response to certain stimuli? Have the A-type lamins in the nucleoplasm been found to be in a different assembly state in different cell types? As the study is currently written, it presents an interesting molecular mechanism but no biological mechanism.

    1. Remora Communiqué

      The Remora Communiqué

      Issued by No Spectator Left, December 2020

      1

      I heard the voice

      Of the Remora speak –

      Slowly, all in silence,

      To wake me from my sleep.

      2

      I heard the voice

      Of its silence say,

      ‘A Plague Ship has been

      Stopped today.’

      3

      ‘Did you even know

      You were at sea?

      Did you ever stop

      To think of me?’

      4

      ‘Know you’d left

      The world behind,

      Or what on Earth

      You hoped to find?’

      5

      ‘Have you heard the whales

      Now have to yell?

      You think they’re singing –

      You can’t tell!’

      6

      ‘It was the droning on & on

      Of your Dread-Nought Destroyer

      That made me sound my calm alarm

      In the ear of your Employer.’

      7

      ‘The Strain & Refrain

      From onboard seemed familiar,

      An updated version of

      “Long Live Caligula!”’

      8

      ‘I stopped his progress, ah

      The hutzpah of karma!

      Rome outweighed

      By the scales of Remora... ’

      9

      ‘Mark Antony

      I scuppered too,

      Underthrown before

      He knew…’

      10

      ‘But today, you thought,

      What need to worry?

      What voodoo-glue can now undo

      Your ship’s world-beating hurry!’

      11

      ‘So I downsized, to fill the role

      I was unborn to play:

      Remember, as the Show Goes On,

      You recast me this way!’

      12

      ‘You even gave new me a name

      (With hollow ring, it’s true):

      Corona-Virus, The Sick Crown,

      Sitting right with you…’

      13

      ‘If you should miss this hint now –

      Heaven knows, I tried! –

      The next ring at the doorbell?

      No more Mr. Nice Guy!’

      14

      ‘For tho’ the story of l’il ole me

      Is soon & simply told

      (N.B., I’m only as little

      As you made the world),

      15

      Perchance in the Grand Scheme

      There’s ‘small’ & then there’s small,

      And your friend the atom

      May do for us all!’

      16

      ‘Fat Man’s little boy

      For purpose trained fit:

      The crack that splits open

      The hull of the ship!’

      17

      ‘Yes, that’s the thing (you’ll see too late),

      It All cracks from inside:

      Nothing in the world left ‘out’

      Now you’ve grown worldwide.’

      18

      ‘So while we’ve a moment –

      And if not now, when? –

      Pray, pay me best attention:

      We may not meet again.’

      19

      ‘And it’s hard to imagine

      But sadly safe to say, you

      May yet remember me

      Fondly one day!’

      20

      ‘For it’s not just the overlooked

      Pit of the Bomb, the

      Abyss that’s grown tired from

      Yawning so long,’

      21

      ‘There’s now – just in case! –

      As the Atomic Clock ticks,

      A new kid on the Doomsday Block,

      A spare Apocalypse!’

      22

      ‘And with two caps melting

      The Dunce is warming to his task,

      Facing down his Mother,

      Preparing Her Death-Mask.’

      23

      ‘But what does Her life matter

      (& who’ll be left to grieve?),

      The Old Girl in the Chokehold

      Croaking “I Can’t Breathe!”’

      24

      ‘O you wring your hands & ring your bells

      While skies & forests fall,

      But “capitalism will adapt!” no doubt:

      It has to, after all!’

      25

      ‘The trusty greenwashed reset button,

      Point missed without fail –

      “Sustainable development”…

      Of the Fairy Tale!’

      26

      ‘And to “listen to the science”

      Isn’t all you need to do:

      If you want to really heal thyself,

      Listen to my silence too!’

      27

      ‘It really is a killer,

      The racket y’all make:

      What kind of f** bully

      Wants to make his Mother Quake?’

      28

      ‘It is what it is,

      Boys will be boys,

      In their noisome

      Kingdom of Noise?’

      29

      ‘Well, until my little finger

      Touched the spinning top,

      Ripped you from the driver’s seat

      Of the Roaring Chariot.’

      30

      ‘But I cannot now take the helm

      Lay in a course that’s true,

      Back to safely grounded land –

      That’s up to all the Crew.’

      31

      ‘For in this emergency,

      All hands on the (burning) deck:

      Check your destiny’s manifest, there

      Are no passengers left!’

      32

      ‘It’s time to call a midnight strike,

      Make love to Mutiny –

      Go overboard, throw overboard

      This plaguey, illthy Bounty!’

      33

      ‘What exactly should you do? You

      Crave a detailed scheme?

      I’m not a power-point, you know,

      Just your own fever-dream!’

      34

      I started when the silence stopped,

      So badly missed its voice:

      Left all alone, onboard to make

      The choice that is no choice –

      35

      To put away so many

      Very foolish things,

      While we can still remember

      What being human means,

      36

      Remember that the question

      ‘To be or not to be?’

      Isn’t just a question

      Of or for humanity,

      37

      Though it wouldn’t be an issue

      Without the threats we pose,

      The constant hammering it takes

      To crucify Life’s Rose,

      38

      To pulverize the Earth that is

      Our only common wealth,

      To tame and tag, gas & gag

      The good wild life of health.

      39

      I cried, ‘my God, I have to rush,

      Right now alert the crew;

      Not those who know they slave & serve –

      The rest, without a clue,

      40

      Who buckle up,

      Enjoy the ride,

      Let those “in the

      Know” decide

      41

      Their fate: “Awake!,” I’d cry,

      “Discern!, deride

      The course laid in

      For Omnicide!”’

      42

      But my voice would

      Not be the Dream’s,

      And I must wake

      To what It means –

      43

      So first things first,

      Some silence, pray:

      High Time to issue

      The Remora Communiqué…

  2. Nov 2020
    1. Image-based memes involve, primarily, an image created by somebody. Sometimes the meme creator is also the image creator, but often, when involving movie stills or images of celebrities, the image’s copyright is owned by someone else. American copyright law gives creators the exclusive rights of reproduction, modification, distribution, performance, and display. The viral spread of a meme infringes on theses protections as the original image is modified and then displayed, distributed and reproduced when posted and reposted.

      Memes are basically just ways of making fun of certain pictures, a lot of the time, they happen to be real people caught at a weird or funny moment and the catchy tag you put on the picture is what makes it funny.

    1. None

      I am surprised to see no honorable mention here, because a "book log" sounds a lot like a reference manager. The best free/open-source one I know of is Zotero: https://www.zotero.org

      From your list of desired features above, it can do:

      • tagging of items (automatically when collecting items with the browser button, manually, or a mix of both automatic tags and your own tags)
      • notes as attachments to an item
      • bookmarks as an URL attached to an item (and actually, most item types collected with the browser button have the URL saved by default)
      • making items and their annotations public on your profile on zotero.org
      • shareable format: you can export in many formats, from simple printout kind of formats (HTML) to formats fully re-importable into another instance of Zotero
      • query: not sure it has all the capabilities of a relational database, but you can search based on any piece of metadata found in your items, you can build arbitrarily complex search queries, you can save searches (they will materialize in the interface as "dynamic folders" containing the search results automatically as new items added to your library match the query)

      For dealing with prioritization, you would have to come up with your own system. The workflow described here uses the tag system for this (with custom tags to mark status "to read", "read", etc.): https://incenp.org/notes/2019/managing-academic-literature.html

    1. We’re now 100% powered by renewable and sustainable energy which is great in further minimizing our impact on the planet. Plausible Analytics script weights less than 1 KB which is more than 45 times smaller than the recommended Google Analytics Global Site Tag implementation.

      After speaking to the folks at Plausible they pointed me to this page on the digital ocean community forums:

      https://www.digitalocean.com/community/questions/what-kind-of-electricity-do-you-run-on

      And this one here:

      https://www.interxion.com/why-interxion/sustainability

      The TLDR version is that the servers they are using are run by Digital Ocean, who lease from Interxion, who source the power for the datacentre from renewables.

      Interxion themselves are owned by Digital Realty, who do release figures, but not at a granularity to confirm.

      Once there is info from Interxion, it's possible to confirm this.

    1. 500 iPad-Koffer mit insgesamt 8000 Geräten

      Ich bin ein großer iPad-Fan und nutze meines jeden Tag für Handschriftliches.

      Dieser Aktion ist bestimmt eine gründliche Evaluierung der Optionen vorausgegangen und es ist toll, dass unsere Schulen jetzt besser ausgestattet werden, gar keine Frage.

      Trotzdem nagt die Erkenntnis an mir, dass ein iPad doch in erster Linie ein Konsum- und Kommunikationsgerät und weniger ein Kreativwerkzeug ist. Ich frage mich deshalb, ob die iPads nicht zumindest um günstige Laptops mit Tastatur ergänzt werden sollten.

      Ich schreibe diesen Kommentar übrigens gerade auf einem RaspberryPi für 100€. Davon bekommt man so etwa vier Stück für den Preis eines iPads. Und unglaublich viel mehr Möglichkeiten.

    1. Benardou, Agiatis, Panos Constantopoulos, Costis Dallas, et Dimitris Gavrilis. 2010. « Understanding the information requirements of arts and humanities scholarship ». International Journal of Digital Curation 5 (1):18‑33. « British Museum Collection ». 2015. https://old.datahub.io/dataset/british-museum-collection. Brown, Susan. 2011. « Don’t Mind the Gap: Evolving Digital Modes of Scholarly Production across the Digital-Humanities Divide ». In Retooling the humanities: The culture of research in Canadian universities, édité par Daniel Coleman et Smaro Kamboureli, 203‑31. Edmonton: University of Alberta Press. http://hdl.handle.net/10402/era.25382. Brown, Susan, et John Simpson. 2013. « The curious identity of Michael Field and its implications for humanities research with the semantic web ». In 2013 IEEE International Conference on Big Data, 77‑85. IEEE. http://ieeexplore.ieee.org/xpls/abs_all.jsp?arnumber=6691674&tag=1. Bulger, M, E Meyer, G De la Flor, M Terras, S Wyatt, M Jirotka, K Eccles, et others. 2011. « Reinventing research? Information practices in the humanities ». Information Practices in the Humanities (March 2011). A Research Information Network Report. Crane, Gregory. 2006. « What do you do with a million books? » D-Lib magazine 12 (3). Corporation for National Research Initiatives. « DBpedia ». 2015. https://wiki.dbpedia.org/. « Digital Environmental Humanities ». 2015. https://dig-eh.org/. « Dublin Core Metada Initiative ». 2015. https://www.dublincore.org/. Egerton, Frank N. 2013. « History of ecological sciences, part 47: Ernst Haeckel’s ecology ». The Bulletin of the Ecological Society of America 94 (3). JSTOR:222‑44. « eMOP: Early Modern OCR Project ». 2015. https://emop.tamu.edu/. Europeana. 2014. « Linked Open Data ». Europeana Pro. https://pro.europeana.eu/page/linked-open-data. Fons, Ted. 2014. « Transforming bibliographic records into linked open data (LOD) ». Panel presentation at the Coalition for Networked Information Fall 2014. https://www.cni.org/topics/information-access-retrieval/exposing-library-collections-on-the-web-challenges-and-lessons-learned. Godby, Jean, Karen Smith-Yoshimura, Bruce Washburn, Kalan Knudson Davis, Karen Detling, Christine Fernsebner Eslao, Steven Folsom, et al. 2019. « Creating Library Linked Data with Wikibase: Lessons Learned from Project Passage ». OCLC Research Report. https://www.oclc.org/content/dam/research/publications/2019/oclcresearch-creating-library-linked-data-with-wikibase-project-passage.pdf. Hegde, Medha. 2012. « Ecotones: the transitional zones ». Biotech Articles, nᵒ 12. http://www.biotecharticles.com/Biology-Article/Ecotones-The-Transitional-Zones-2191.html. Hendler, Jim, et others. 2011. « Why the Semantic Web will never work ». In 7th Extended Semantic Web Conference (ESWC 2011), Crete, Greece. http://videolectures.net/eswc2011_hendler_work/. Internet Philosophy Ontology (InPhO) Project. s. d. « The InPhO Project ». Consulté le 19 juin 2020. https://www.inphoproject.org/. Jaeger, Paul T, Jimmy Lin, Justin M Grimes, et Shannon N Simmons. 2009. « Where is the cloud? Geography, economics, environment, and jurisdiction in cloud computing ». First Monday 14 (5). Klein, Max. 2012. « VIAFbot Debriefing ». OCLC Research. https://hangingtogether.org/?p=2306. Krafft, Dean, et Tom Cramer. 2014. « Video: Linked Data For Libraries (LD4L) Project Update ». Coalition for Networked Information. https://www.cni.org/news/video-linked-data-for-libraries-ld4l-project-update. Lam, Dominic. 2014. « Big Data Challenges in Social Sciences & Humanities Research ». Datanami. https://www.datanami.com/2014/09/08/big-data-challenges-social-sciences-humanities-research/. « Linked Data for Libraries (LD4L) ». 2014. https://wiki.lyrasis.org/pages/viewpage.action?pageId=41354028. LODE: Linked Open Data Enhancer. s. d. « Gihub Linkedhumanities/lode ». Consulté le 19 juin 2020. https://github.com/linkedhumanities/lode. McCarty, William. 2005. Humanities Computing. Palgrave Macmillan UK. Nardi, Bonnie, et Vicki O’Day. 1999. « Information Ecologies: Using Technology with Heart-Chapter Four ». First Monday 4 (5). Valauskas, Edward J. http://firstmonday.org/ojs/index.php/fm/article/view/672/582. OCLC Research. 2014. « Scholars’ Contributions to VIAF ». https://www.oclc.org/research/areas/data-science/viaf-scholars.html. « Open Annotation Data Model ». 2013. http://www.openannotation.org/spec/core/. Pan-Canadian Documentary Heritage Network. s. d. « Linked Open Data (LOD) Visualization “Proof-of-Concept.” ». Canadiana. Consulté le 13 septembre 2015. http://www.canadiana.ca/sites/pub.canadiana.ca/files/PCDHN\%20Proof-of-concept\_Final-Report-ENG\_0.pdf. Price, Gary. 2012. « Video: “Out of the Trenches: A Linked Open Data Project” From the Pan-Canadian Documentary Heritage Network ». LJ infoDOCKET. https://www.infodocket.com/2012/10/25/video-out-of-the-trenches-a-linked-open-data-project-from-pan-canadian-documentary-heritage-network/. Risser, Paul G. 1990. « The ecological importance of land-water ecotones ». In The ecology and management of aquatic-terrestrial ecotones, édité par H Décamps et Naiman R J, 7‑21. Paris: UNESCO. « Schema.org ». 2015. https://schema.org/. Searle, John R. 1995. The construction of social reality. New York: Simon; Schuster. Simpson, John Edward, Susan Brown, et Lisa Goddard. 2013. « A Humanist Perspective on Building Ontologies in Theory and Practice. » In Digital Humanities Conference Abstracts 2013, édité par University of Nebraska, 403‑5. Lincoln. http://dh2013.unl.edu/abstracts/ab-413.html. Smith-Yoshimura, Karen, David Michelson, et Beth Mardutho. 2013. « Irreconcilable differences? Name authority control & humanities scholarship ». OCLC Research. http://hangingtogether.org/?p=2621. « The Muninn Project ». 2015. http://blog.muninn-project.org/. The Stanford Natural Language Processing Group. s. d. « Software > Stanford Named Entity Recognizer (NER) ». Consulté le 19 juin 2020. https://nlp.stanford.edu/software/CRF-NER.html. Uddin, Mueen, et Azizah Abdul Rahman. 2011. « Techniques to implement in green data centres to achieve energy efficiency and reduce global warming effects ». International Journal of Global Warming 3 (4). Inderscience Publishers:372‑89. « VIAF ». 2015. https://viaf.org/. « VIVO Open Research Networking Community Group ». 2015. https://www.w3.org/community/vivo/. Warren, Robert. 2012. « Creating specialized ontologies using Wikipedia: The Muninn experience ». Proceedings of Wikipedia Academy: Research and Free Knowledge (WPAC2012). Berlin. https://wikipedia-academy.wikimedia.de/w/images.wikipedia-academy-2012/0/0f/21_Paper_Robert_Warren.pdf. Widmer, Rolf, Heidi Oswald-Krapf, Deepali Sinha-Khetriwal, Max Schnellmann, et Heinz Böni. 2005. « Global perspectives on e-waste ». Environmental impact assessment review 25 (5). Elsevier:436‑58. « WorldCat Entities ». 2015. OCLC Developer Network. https://www.oclc.org/developer/develop/linked-data/worldcat-entities.en.html. Wuppleman, William. 2012. « Out of the trenches: A linked open data project ». Canadiana. https://www.canadiana.ca.

      Pour la bibliographie issue d'internet, il faut uniformiser dans un sens où dans l'autre : certains sites portent la mention "Consulté le", d'autres non.

    1. A Wikipedia kifogása az iTA szócikkel kapcsolatban

      Mint Wikipedia szerkesztésért "felelős" jelzem: ne törődj ezzel! Nem számít túlzottan, ha majd az "supervisor"-ok mégis jeleznek (amit nekem fognak), teszek valamit. A tag törölhető - szerintem.

    1. (15x) ENJOYMENT: Forgettable Outstanding(10x) DEPTH (IN RELATION TO COMPLEXITY): Lacking Meaty (5x) LUCK FACTOR: All Luck All Skill (3x) REPLAYABILITY: Nil Limitless(10x) MECHANICS: Boring Interesting (4x) PLAYER INTERACTION: Low High (4x) PLAYER COUNT PERFORMANCE: Not Balanced Balanced (2x) GAME LENGTH: Too Short/Long Just Right (2x) CLARITY OF RULES: Mud Crystal (5x) COMPONENT QUALITY: Cheap World ClassINITIAL RATING (sum(Criteria Rating x Criteria Weight)/Total Weight) = 7.7

      rating scale evaluation

    1. The FBI said it has stopped using the "Black Identity Extremist" tag and acknowledged that white supremacist violence is the biggest terrorist threat this country faces.

      Look at her face, its kinda the face like oh you guys are finally noticing this. I think it's really good that they are noticing these things and working to stop it. It's really good that people are still talking about this because if they dont I feel that some may start to forget.

    1. Luckily, Tinder offers a variety of additional signal amplifiers that help you to stand out. The sole purpose of features like Tinder Boost and Super Likes is to outcompete status rivals by giving you preferential signaling treatment. And guess what – they come with a price tag.

      Julian claims Tinder is monetizing on signal amplifiers like Boost and Super Like.

    2. Another point of evidence is the lack of luxury software products. People spend absurd amounts of money on jewellery, handbags and cars, but I can’t think of a piece of software with an even remotely similar price tag. Sure, people have tried to sell $999 apps but those never took off.

      Julian Lehr posits that because software purchases are less visible, their signalling power is reduced. This is why, for instance, you don't see any luxury software products: Because you cannot signal you're in on it.

    1. It isn't really compatible with HTML5's input "required" attribute. If an input has the required tag, and you press the submit buton, and the field is empty the browser will fire the "Please fill out this field" message, BUT, you also just disabled that submit button. So in effect, the form can no longer be submitted.
    1. This whole system is much, much better than having to manually update some CRM like in Airtable. Since you're naturally tagging people as you interact with them, you can create an easy record of your relationship with them and compile any useful notes on them as you go.

      If you use Roam as a CRM, in your daily note you can simply tag a person you just had a meeting with and log some notes. Those notes will then show up under that person in the linked references under a block for the current date.

      So in one sentence, with using only your keyboard, you've created a meeting note linked to a person and linked to a specific date.

      With any other solution you'd have to navigate to a person, create an entry, set a date and write the note.

      This "decide where to put it" step is completely replaced with "what entities does this pertain to".

    2. This removes all the decision making about where to put things that you frequently run into with Evernote, Notion, etc. When everything can be everywhere, you don’t have to worry about the filing structure. You just keep adding links. 

      Nat's conclusion is correct, but his reason for arriving at that conclusion is wrong.

      You're not faced with the question of where to put things with Roam because you can do the following:

      (1) You can tag a new entry on the fly, in-line, CLI style. (2) If the tag exists, it will autocomplete, if it doesn't you can create it with no extra effort (3) Any tags you add are links to their respective pages, which allows you to (a) navigate their as soon as you've typed the tag/page name and (b) it creates a backlink on those pages so your new entry is automatically linked to from there.

    3. By structuring information in this way, Roam makes it super easy to move laterally across your information, while retaining vertical references. The book Emergency by Neil Strauss can live in my Book Notes page, my Prepping page, and my Neil Strauss page, without having to be moved. 

      I think Nat touches on an important use case here, but I wouldn't call it "moving laterally while retaining vertical references."

      He's referring to a link to the book Emergency, not some content of the book itself. So each page can link to the book, that's not novel.

      What is novel is that when entering in the book into your Roam database you can tag it with Prepping and Neil Strauss and it will show up under those pages automatically.

    4. This also highlights a big difference between Roam and other note taking tools: tags are both everything and nothing. Every page is a tag, and every tag is a page.

      Nat says that tags are everything and nothing, but I don't agree with that.

      Pages consist of blocks.

      A reference to a page is treated in the exact same way as a tag.

      A block is not treated in the same way. A block is not a tag.

    1. By keeping the price of ebooks high, publishers keep paperbacks as a valid option for readers. That way, the world of physical books isn't under threat of becoming extinct due to ebooks.

      Do you like this reason?

    2. If you're an avid reader, you may know the pain of losing or damaging your books. Ebooks, however, don't share this problem.

      How long do ebooks last?

      Has one of your ebooks ever become damaged?

      Have you ever lost an ebook?

    3. On top of this, ebooks are very convenient for the readers buying them. Buying a physical book involves going to a bookstore and hoping they have it in stock, or ordering it online and waiting for it to arrive. For ebooks, you go to a website, click the "Buy" button, and download the book to your PC or reader.

      Are people willing to pay for convenience?

    4. This constraint is the reason ebooks sometimes cost more than paperbacks. For example, a publisher can list the price of their physical book at $27.95 and the ebook at $20, which is a reasonable 30 percent markdown.

      Explain why ebooks sometimes cost more than physical books.

    5. Unlike with physical books, Amazon has no control over the price of ebooks. If someone has performed the steps required to publish an ebook via Kindle Direct Publishing, they set the price as they please, with no exceptions.

      Do you think this is true for authors who don't have a following?

    6. However, ebooks utilize the agency model when sold. Instead of letting the retailer choose the price, the publisher states what they're selling for. The publisher gets 70 percent of each transaction, and the retailer gets the remaining 30 percent.

      How is the pricing system for ebooks different from the one for physical books?

    7. Everything makes sense when you imagine all of the people who helped make the book who need paying. For one, the author has to get their agreed royalty cut from every sale. From there, the editors, proofreaders, cover artists, and marketers all need to be paid. These obligations don't leave the publisher with a lot of money for themselves.

      Who else needs to be paid besides just the author?

    1. Great list! Some things we didn't think about until we needed them are:

      • stroller organizer
      • teethers
      • crinkly books
      • pacifier holders but ones that could probably hold other things too like teethers or wubba nubs
      • baby sunglasses
      • Milkies trays - you'll want 1oz milk cubes for putting in the boon silicone thing when she's teething and in the beginning you'll bag and freeze less oz so as not to waste but then she'll grow and need just one oz more so you can defrost 1oz at a time.
      • If you are going to try to breastfeed have emergency formula on hand in case it doesn't go well or an emergency where Rob will have to feed. These single packets are great because you can put some in the diaper bag for just in case & I found out that once you open a tin of formula you must use w/in 30 days so if it's just for emergencies the tin is a waste.
      • A very Extra purchase but we LOVE it: a baby cam for the car instead of the stupid mirrors that really don't work--it also has night vision so you can see them at night whereas you can't see them with a mirror. We have the Yada and love it but it looks like there are now some cheaper ones that are highly reviewed.
      • diaper caddy so you can change diapers in any room
      • these washable portable changing pads-one in the caddy, one in the car, one in your diaper bag
      • reusable swim diaper
      • a brush, we obviously knew our kid would have hair, maybe a toss up with your kid
      • this is the baby sunscreen we got thinkbaby) & Babo
      • a giant play mat to roll out and away
      • spray oxy clean or the powder to soak all the dirty stuff
      • if you are up for (evidence-based, because I'm a researcher nerd) pregnancy and parenting book recs I LOVE Emily Oster
      • a foot stool for your glider while nursing
      • socks, are the worst so we love the booties with snaps: zutano
      • Baby tylenol
      • Baby saline drops
      • baby vitamin D drops
      • a giant water bottle (insulated if you prefer cold water) with a STRAW -- you don't have two hands ever again to unscrew a top and you'll be thirsty all the time while breastfeeding
      • a nightstand next to your glider stocked with more water and granola bars, protein bars, (or in my case, poptarts). You'll be so hungry at 2am
      • BLACKOUT curtains! These travel ones are great because you can put them up wherever for naps.
      • a giant basket to hold toys/books/blankets
    1. Oh, and from a language/design perspective, you can actually turn regular words in a sentence into channels, just as many people do with @replies. For example: I’m coming to #barcamp later today.

      Because the use of hashtags is inline and you can turn regular words into hashtags (and therefor channels), there is no friction to do so.

    2. It also enforces actual use in the wild of tags, since no evidence of a tag will exist without it first being used in conversation. This means that representing channels in tagclouds across the site that grow and fade over time, and are contextual to all of Twitter or to a single user, is the ideal interface for displaying this information.

      Hashtags have the added benefit that they won't show up for others if they're not used.

      If you look at which hashtags are being used (trending), you get a taxonomy of micro-contexts, ranked by popularity, with which you can navigate Twitter. All from the bottom up.

    3. I also like that the folksonomic approach (as in, there are no “pre-established groups”) allows for a great deal of expression, of negotiation (I imagine that #barcamp will be a common tag between events, but that’s fine, since if there is a collision, say between two separate BarCamps on the same day, they’ll just have to socially engineer a solution and probably pick a new tag, like #barcampblock) and of decay (that is, over time, as tags are used less frequently, other people can reuse them — no domain squatting!).

      The folksonomic approach (user-generated tagging) is beneficial because it allows complexity to emerge bottom-up.

    4. Every time someone uses a channel tag to mark a status, not only do we know something specific about that status, but others can eavesdrop on the context of it and then join in the channel and contribute as well. Rather than trying to ping-pong discussion between one or more individuals with daisy-chained @replies, using a simple #reply means that people not in the @reply queue will be able to follow along, as people do with Flickr or Delicious tags. Furthermore, topics that enter into existing channels will become visible to those who have previously joined in the discussion. And, perhaps best of all, anyone can choose to leave or remove topics that don’t interest them.

      Twitter's hashtags form a dual purpose. They label a status with a certain tag, telling us something about the intended context of that Tweet.

      The ease of which makes it frictionless for anyone to jump into the conversation.

      But they also equip an interested eavesdropper with the ability to follow along with a conversation. This idea (at the time this was being discussed at Twitter) was already happening with Flickr and Delicious tags.

    5. Now, in thinking about implementing channels, it was imperative that I not introduce any significant changes into the way that I currently use Twitter any more than I have for other features that have been added to Twitter (for example, @replies or direct messages). Channels would need to be a command-line-friendly addition, and one that would require absolutely zero web-based management to make the most of it (to draw a distinction, Pownce fails this test with its Friend Sets, since it requires use of their website to take advantage of this feature).

      The requirements [[Joe Messina]] laid out for a concept of "channels" on Twitter was that:

      1. It shouldn't add any friction to his current use
      2. It shouldn't require any web-based management to make the most of

      Twitter of 2020 satisfies these requirements. You just type #something, and you can click on that hash or search for it to see results.

    6. Jaiku comes closest with their channels implementation, making it extremely easy to create new channels (simply post a message that begins with a hash (#) and your intended channel name — and if the channel doesn’t exist, it’ll be created for you):

      [[Joe Messina]] details an example from [[Jaiku]] where you can create a channel by simply posting a message that starts with a hash (#). If the channel doesn't exist, it will be created for you.

    1. SGML

      Az SGML (Standard Generalized Markup Language, szabványos általános jelölőnyelv) egy ISO szabványos jelölőnyelv dokumentumformátumok leírására. Az SGML elődjét, a GML-t (Generalized Markup Language) az 1960-as években fejlesztette ki az IBM-nél Charles Goldfarb, Edward Mosher és Raymond Lorie (családnevük kezdőbetűi alapján találta ki Goldfarb a GML nevet). Ennek leszármazottja az SGML, ami 1986-ban lett ISO ( International Organization for Standardization) szabvány.[1]

      Az SGML egy absztrakt szintaxist biztosít, amit sokféle alkalmazásban használhatunk. A szabványos szintaktika lehetővé teszi, hogy az ilyen formátumú dokumentumokat egy általános célú értelmezővel (parser) könnyen beolvashassuk, írhassuk vagy formailag ellenőrizhessük. SGML-ben a jelölések (tag) jelentése nincs meghatározva, ez mindig az SGML-t használó alkalmazás feladata (például a HTML-ben, ami az egyik legismertebb SGML alkalmazás, a jelöléseknek már konkrét jelentésük van, és a jelölések értékkészlete véges).

    1. group: Ariel Methodology Group Narrow your search: user: search by username tag: search for annotations with a tag url: search by URLfor domain level search add trailing /* eg. example.com/* group: show annotations associated with a group Danfff1

      test note

    1. And that’s because to treat graphic design like it’s a service, where it makes sense to optimize time and labor for maximum efficiency, undermines the aura of indispensability, superiority, and yes, authenticity that institutions such as design schools and “professional associations” rely on in order to justify the massive dollar signs they place on themselves via tuition, and member fees.

      I'm assuming Libby means that Rob Giampietro is on the other side of the argument where viewing design as something to be optimized for efficiency undermines that high dollar price tag that institutions have marketed as only possible by studying with them. But she is on the side that, that thinking is irrelevant to how design ought to progress.

    1. The submission system required students to manually enter all ‘‘tags’’ (rele-vant topic keywords) for their letters, entering up to five tags per letter; thesystem did not provide a menu list of common issues for students to choosefrom.

      I like that the tags were student generated. Personally, when given a list to choose a tag from sometimes I don't feel the tag is listed that is most appropriate. I enjoy that students were able to create their own tags to summarize the main issue of their letter.

      For example, Samuel H. chose a "classroom" tag that peaked my interest. I was curious to explore what issues in the classroom he believed should be addressed. This is one of the aspects that stood out to me.

  3. Oct 2020
    1. Looking at all those bearing, heading, orientation, navigation, position, direction, etc. I think we have a bigger problem here. Someone has decided how to use tag (e.g. orientation is about page orientation), but there are 100 other cases. Imho, to disallow misusing there should be no "heading", but rather "html-heading", "gps-heading", "whatelse-heading", which make mistakes impossible. So yes, "heading" should go.
    2. Retagging the HTML/CSS questions to use html-heading seems the right thing to do. For the other uses, I don't have enough grounding in the geographic area to know whether the direction and bearing are replacements for heading. But the tag information for heading should be created and should firmly point at the other tags — at least until it is expunged.
    1. Wurde beispielsweise ein Algorithmus zur Erkennung von Hautkrankheiten an Bildern isländischer Patienten trainiert, wäre das eine wichtige Information, da der Algorithmus womöglich bei australischen Ureinwohnern eine völlige andere Trefferquote an den Tag legt.

      Welche Rolle spielt das Training von Algorithmen? Wie funktioniert es?

    1. Reviewer #1:

      H3K14ub is a histone modification that facilitates deposition of H3K9me on heterochromatin in fission yeast, but the mechanism by which this modification stimulates Clr4 was unknown. Using mutants and HDX, the authors identified the interaction surface of Clr4 for H3K14ub, which they used to design mutants that responded poorly to H3K14ub stimulation. In vivo, these mutations resulted in loss of heterochromatin marks and defects in heterochromatin-based silencing, suggesting that H3K14ub stimulation is essential to K9me-mediated silencing. Finally, the authors show that human SUV39H2 but not G9a or Arabidopsis SUVH4 can be stimulated by H3K14ub in a similar manner.

      The authors provided biochemical and structural insights into the mechanism that increases the H3K9-specific methyltransferase activity of Clr4 by H3K14ub. Although H3K14ub-mediated promotion of H3K9 methylation is shown in Oya et al. EMBO Rep 2019, this study further characterizes the potential mechanism. However, there are some issues with the results that need to be resolved.

      1) Similarity and difference with the previous study. As the authors acknowledge, this manuscript builds on a previous study by Oya et al. 2019, however I think the similarities and the differences need to be made even more explicit and better addressed.

      a) The authors should clearly state that Figure 1B and 1C are basically a confirmation of Oya et al. 2019.

      b) I am more puzzled by the difference in the mapping of the region required for H3K14ub stimulation. The authors suggest that a difference in the preparation of the recombinant proteins might be responsible. This can and should be tested as it would seemingly be a simple experiment (compare with and without GST tag).

      c) Possibly to reconcile their findings with the previous report the authors state in the description of Fig. 1 that "the N-terminus plays a regulatory role in the sensing of H3K14ub by the catalytic domain" but I don't see this reflected in the data show in Fig. 1C, given that the degree of stimulation is very similar for KMT and FL.

      2) Stimulation-defective mutants. The authors should carefully discuss the stimulation-defective mutants, which should be premised on the retention of their methyltransferase activity on unmodified H3. The authors claim that 30% loss of activity of the Clr4 KMT mutants on unmodified H3 is observed in Figure S3C (Pg 11 line 15), but this cannot be determined from the graph provided, which is normalized to unmodified H3. The authors should (1) make another graph to show the 30% loss and (2) compare Clr4 KMT mutants with catalytic-dead Clr4 KMT or dissolution buffer (no protein). It is still possible that GS253 and F3A mutations simply reduce MTase activity, thus displaying lower activity than WT in the presence of H3K14ub, which would also suggest a different interpretation for the results in vivo.

      3) Heterochromatin localization of Clr4 mutants. The FLAG ChIP results in Fig. 4E is not very informative, as with the loss of heterochromatin a loss of Clr4 is predicted. If the authors want to test whether the localization activity of Clr4 mutants is intact, (1) FLAG ChIP in the clr4+, Flag-Clr4GS253/F3A background (i.e., two clr4 alleles exist) or (2) in vitro H3K9me2/3 binding assay should be performed. Since Clr4 N-terminus might regulate MTase activity as discussed in Pg 18 line 19, it is also possible that amino acid substitutions in the KMT region affect the function of N-terminus, including CD. The co-IP in Fig. 4C is not sufficient to clarify this point as Clr4 directly binds heterochromatin via its CD, in addition to the CLRC-mediated mechanism, and it is unclear if this is affected in the mutants.

      4) Allosteric vs. binding regulation. On Pg. 11, the authors suggest that an allosteric mechanism is at play, but this is not supported by the data. In fact the observation that providing ubiquitin in trans does not stimulate and rather inhibits the activity on H3K14ub would suggest that the ubiquitin just increases binding affinity. To clarify this the authors should measure binding affinity of WT and mutants to the H3 peptide with and without ubiquitin.

    1. Reviewer #2:

      This manuscript further characterizes the role of HILPDA/HIG2 in TAG/LD biology. The major finding is that HILPDA interacts with and promotes DGAT activity and TAG synthesis, which is novel given that HILPDA has largely been thought to regulate TAG turnover as a lipolytic inhibitor.

      Characterization of the interaction between HILPDA and DGAT1 (and to a lesser extent DGAT2) is the major strength of this paper and an important advancement in the field. The early parts of the paper are not particularly novel (Fig. 1) or well-designed (Fig 2. - poor NAFLD/NASH model showing almost no effects) and the study is a bit on the thin side for data.

      1) The data shown in Figure 1 is not particularly striking given that HILPDA is a known target gene of PPAR-alpha, which is activated by FAs. Showing that HILPDA expression tracks with PLIN2 is also pretty obvious as PLIN2 tracks with LD accumulation. I really don't see the need/relevance of this figure.

      2) The MCD diet is widely regarded as a poor model for NAFLD/NASH since it doesn't replicate human NASH in so many regards. As a result, the use of this model makes these studies less relevant. Also, it is referenced that HILPDA was found to be up in a MCD study, but why not look at the plethora of human and mouse studies of NAFLD that have done RNAseq or arrays to provide a more physiological assessment of its expression in NAFLD/NASH?

      3) The conclusion that effects are independent of ATGL are not overly convincing. Since ATGListatin is not specific for ATGL (Quiroga et al. 2018), a more thorough and quantitative analysis of TAG turnover with ATGL knockdown/out is warranted if these claims are to be made.

      4) Since DGAT1 mRNA is unchanged but protein goes up, it would be assumed that HILPDA is affecting DGAT1 stability/turnover. This should be considered.

    2. Reviewer #1:

      This study dissects the role of LD associated protein HILPDA in triglyceride and LD homeostasis in hepatic tissue. Using a mouse tissue-specific HILPDA KO, live cell imaging, and lipid analysis, it proposes that HILPDA promotes TAG storage in LDs independently of ATGL regulation. Instead, HILPDA is proposed to interact with DGAT1 and promote TAG synthesis/storage.

      This is an interesting and potentially exciting study that provides a new insight for HILPDA in liver fat storage. The proposed model differs from previous literature that proposes HILPDA regulates lipolysis via ATGL. Unfortunately, while the data presented support a potential role for HILPDA in DGAT regulation, a clear mechanism is not identified. The first half of the paper that phenotypes loss and over-expression of HILPDA is thorough and conclusive. The latter half of the paper, investigating the interplay between HILPDA and DGAT1, appears more preliminary.

      The critical issue in this study is that the nature of the HILPDA-DGAT1 interaction is not well defined. HILPDA over-expression is shown to increase DGAT1 protein levels, but the specific mechanism underlying this is not further dissected. Furthermore, it is still unclear whether this interaction is direct, or merely stochastic due to the fact that both DGAT1 and HILPDA reside on the same LDs in the experiments presented. More biochemical investigation as to whether these proteins physically interact in their native states, and if so whether that interaction affects DGAT1 enzymatic activity directly or allosterically, is required. Without this the study is mainly descriptive.

      Major concerns:

      1) Fig 4: overnight and acute fatty acid addition experiment: The authors propose that HILPDA enriches at sites where new fatty acids are being processed. Can you demonstrate that both these fluorescent FA species are even being incorporated into TAG during the time periods associated with the microscopy? An alternative explanation is simply that HILPDA localizes to regions of the cell where FA esterification or incorporation into other lipid species is occurring. TAG is potentially only one of many fates for these FAs. Can DGAT1/2 be colocalized with HILPDA in these experiments? Alternatively, what happens in these experiments if DGAT inhibitors are co-added with the FAs?

      2) Fig 5H: The DGAT activity assays indicate that HILPDA over-expression increases the incorporation of fluorescent FA and DAG into TAG, but it is unclear as written whether these assays are normalizing for DGAT1 protein amount. Does HILPDA over-expression enhance DGAT enzymatic activity in this panel, or merely promote TAG synthesis here by the increased total DGAT protein level noted later in the study? This is a clear distinction in mechanism, and needs to be dissected further.

      3) Fig 6/7: DGAT1-HILPDA interaction. The data presented in Fig 7 indicate that DGAT1 and HILPDA co-localize in cells and potentially are in very close proximity with one another. However, the data as presented are not enough to indicate whether these proteins directly interact. Do these proteins immunoprecipitate with one another? Some biochemical evidence for their interaction is necessary

      4) Fig 7: relatedly, the mechanism by which DGAT1 is increased in protein level from HILPDA is also unclear. Is the protein more long-lived, or stabilized in the ER when HILPDA is over-expressed? Again, protein biochemical analysis would be helpful.

    3. Preprint Review

      This preprint was reviewed using eLife’s Preprint Review service, which provides public peer reviews of manuscripts posted on bioRxiv for the benefit of the authors, readers, potential readers, and others interested in our assessment of the work. This review applies only to version 2 of the manuscript.

      Summary:

      This study further characterizes the role of lipid droplet (LD) associated protein HILPDA in LD biology. The authors propose that HILPDA promotes triglyceride (TAG) storage in LDs by a mechanism independent of ATGL, through activation of DGAT. This is a potentially interesting finding, however, as detailed by the reviewers below, the data presented do not identify a mechanism for how HILPDA affects DGAT.

    1. With over 1,500 dating apps on the market, many have come to the conclusion that the romance of courtship has been replaced with fantasy and heavily-edited Instagram photos.  Along with driving this increase in dating apps, the millennial generation is also delaying marriage and moving away from conventional religious practices. Because of this, many popular magazines and TV shows suggest that hook-up culture dominates contemporary pursuits of love. Right-swiping, label free, highly educated, and technologically savvy, today’s young people appear to pursue sex frequently and do so on their own terms. There also appears to be much more equal footing between genders than ever before.

      This is true, young generation does not want to bound themselves in a permanent relationship tag because now they have lots of options due to dating apps.

    1. Although Madisyn applied only one tag of ‘‘Race’’ and did nottag her letter with ‘‘Police,’’ ‘‘Violence,’’ or anything else, her letter speaksto students’ deep and related concerns around discrimination, violence,and specifically the role of police.

      This is observed in two of my letters too. Although the students tag their letters to one topic, they talk about other related issues. For example, in Vivian's letter "Problems in education", she talks about equity in education, standardized testing, and teacher pay. Her letter speaks to deeper and broader issues in education. - Anitha

    1. BIO

      gold data: IOB(inside-outside-beginning) format or BIO

      quote from this link https://towardsdatascience.com/named-entity-recognition-and-classification-with-scikit-learn-f05372f07ba2

      The IOB (short for inside, outside, beginning) is a common tagging format for tagging tokens. I- prefix before a tag indicates that the tag is inside a chunk. B- prefix before a tag indicates that the tag is the beginning of a chunk. An O tag indicates that a token belongs to no chunk (outside).

    Annotators

  4. akademie-oeffentliches-gesundheitswesen.github.io akademie-oeffentliches-gesundheitswesen.github.io
    1. Doing so also means adding empty import statements to guarantee correct order of evaluation of modules (in ES modules, evaluation order is determined statically by the order of import declarations, whereas in CommonJS – and environments that simulate CommonJS by shipping a module loader, i.e. Browserify and Webpack – evaluation order is determined at runtime by the order in which require statements are encountered).

      Here: dynamic loading (libraries/functions) meaning: at run time

    1. We then made our way to the scanner. After removing all metal objects —including a belt and a stray dry-cleaning tag with a staple

      Everythingmetal need yo be removed?

    Annotators

    1. Someadolescents also create personal sites because their friends have

      Some create their online presence as a communication tool because their friends have it and its the easiest way to reach them, texting can go as far as gifs , voice notes and more but the online precence brings you closer to their online precense as you can tag your friends in funny memes, videos or the coolest trip to plan next , it builds togetherness and interaction without seeing that person face to face but as a means of interaction

    1. create catalog manifest and CASE files

      In this stage we create + upload the ibm-appconnect-operator.tar.gz archive.

      1. unstashes 'repo', 'operatormanifestinfo' 'bundlemanifestinfo' 'csv' So that we have access to operator, operator-init, and bundle fat manifest digests. Also access to csv and operator.yaml file.

      2. run the scrpt create-operator-archive.sh which in turn runs the create-catalog-manifest.sh script, which in turn does:

      3. Downland cp4i-operator-bundle-tools.tar.gz from Artifactory and extract it jenkins-build-scripts/cp4i-operator-bundle-tools, that's so to use the push-images-to-er.sh script later on.

      4. call the create-manifest-image-from-platform-images.sh script, which in turn creates the appconnect-operator-catalog fat manifest with the tag ${VERSION}-${BUILD_TIMESTAMP} and pushes it up to appconnect artifactory. it also creates the OperatorCatalogDigest file.

      5. returning back to create-catalog-manifest.sh, update the deploy/catalogsource.yaml file with the new appconnect-operator-catalog fat manifest's digest value

      6. calls the script push-images-to-er.sh in order to copy appconnect-operator-catalog fat manifest to staging Entitled Registry. copied across using tag->digests, then copied across digest->tags. then copied across arch-specific-tags->arch-digests (to enable va scanning).

      7. back in create-catalog-manifest.sh script, in staging ER, assign "latest" to the newly uploaded catalog fat manifest, ${VERSION}-${BUILD_TIMESTAMP}->latest

      8. Returning back to create-operator-archive.sh,

      9. feed the stashed goodimages.json to create-resources-yaml.sh script. This in turn generates the resource.yaml file under the "case" folder.

      10. Curl the cp4i-operator-bundle-tools.tar.gz from artifactory and put it in the jenkins-build-scripts folder. This folder will get ignrore a bit later.

      11. Download cp4i-deploy-operator.tar.gz from artifactory and extract it in the stable/ibm-appconnect-bundle/tests folder

      12. copy the airgap.sh and put it in the stable/ibm-appconnect-bundle/operators/ibm-appconnect/scripts/ folder

      1. copy all "PROD" goodimages.json images into staging ER.

      2. update "latest" tag to now point to the new uploaded gooimages.json images in staging ER.

      3. Also copy some "dev" goodimages.json images into staging ER. That's so that developers can requests images get pull from dockerhub, but actually get pulled from staging ER thanks to openshift registry redirect.

      4. copy the dev images above the /appc bit. so dockerhub urls don't have to specify /appc. Also retag to latest.

      5. Create ibm-appconnect-operator.tar.gz archive. but exclude:

      --exclude "${APP_NAME}/jenkins-build-scripts"

      --exclude "${APP_NAME}/.travis.yml"

      --exclude "${APP_NAME}/.git"

      1. back in jenkinsfile, upload this archive to artifactory in the "latest" folder, this will overwrite what is already there.

      2. Update jenkins job description with info about what has been built.

      3. triggers the job - test-and-promote-cp4i-demo-system. but it doesn't wait for it to succeed.

      resulting files:

      • resources.yaml
    2. create operator manifest image

      runs the create-operator-manifests.sh script:

      1. Downloads cp4i-operator-bundle-tools.tar.gz from artifactory and extracts it content puts it into the jenkins-build-scripts folder, in it's own folder called "cp4i-operator-bundle-tools". Path to this folder is $BUNDLE_TOOLS_DIR. We'll use this archive's push-images-to-er.sh script a bit later on.
      2. Runs the script create-manifest-image-from-platform-images.sh using appconnect-operator as script parameter

      2.1 pulls down each arch image using ${VERSION}-${BUILD_TIMESTAMP}-${arch} tags

      2.2 create docker manifest with tag - ${VERSION}-${BUILD_TIMESTAMP}. And add both entries.

      2.3 push up operator manifest to appconnect artifactory

      2.4 Create the OperatorImageDigest file

      1. do the same for the init image. Which results in the creation of the OperatorInitImageDigest file.
      2. run the script - push-images-to-er.sh to copy both fat manifests to staging ER. It copies using fat manifest digests, followed by tags. It also copies across arch tags for individual images.
      3. Update the operator.yaml file with the fat manifest digests of both appconnect-operator and init image.

      4. create new stash called operatormanifestinfo. This specifically specifies the 2 new top level digest files and the changes made to operator.yaml (with the same digests)

    1. appreciate your help

      I think that a major part of improving the issue of abuse and providing consent is building in notifications so that website owners will at least be aware that their site is being marked up, highlighted, annotated, and commented on in other locations or by other platforms. Then the site owner at least has the knowledge of what's happening and can then be potentially provided with information and tools to allow/disallow such interactions, particularly if they can block individual bad actors, but still support positive additions, thought, and communication. Ideally this blocking wouldn't occur site wide, which many may be tempted to do now as a knee-jerk reaction to recent events, but would be fine grained enough to filter out the worst offenders.

      Toward the end of notifications to site owners, it would be great if any annotating activity would trigger trackbacks, pingbacks, or the relatively newer and better webmention protocol of the WW3C out of the http://IndieWebCamp.com movement. Then site owners would at least have notifications about what is happening on their site that might otherwise be invisible to them.

      Perhaps there's a way to further implement filters or tools (a la Akismet on platforms like WordPress) that allow site users to mark materials as spam, abusive, or other so that they are then potentially moved from "public" facing to "private" so that the original highlighter can still see their notes, but that the platform isn't allowing the person's own website to act as a platform to give reach to bad actors.

      Further some site owners might appreciate graded filters (G, PG, PG-13, R, X) so that users or even parents can filter what they're willing to see. Consider also annotations on narrative forms that might be posted as spoilers--how can these be guarded against? (Possibly with CSS and a spoiler tag?) Options can be built into the platform itself as well as allowing server-side options for truly hard cases.

      My coding skills are rustier than I wish they were, but I'm available to help/consult if needed.

    1. Resulting articles met inclusion criteria for review if they addressed psychiatric side effects of isotretinoin treatment or the neurobehavioral teratology of isotretinoin.

      Could I do a search like this where I look up mass articles and make sure that they have the same tag words

    1. acknowledges that high priced textbooks are a barrier to learning because many students do not purchase expensive textbooks

      I suspect students also make value judgments--this book is too expensive because that number on the price tag is too high, rather than my financial aid doesn't cover it.

    1. hyperscript is more concise because it's just a function call and doesn't require a closing tag. Using it will greatly simplify your tooling chain.

      I suppose this is also an argument that Python tries to make? That other languages have this con:

      • cons: closing tags make it more verbose / increase duplication and that Python is simpler / more concise because it uses indentation instead of closing delimiters like end or } ?
    1. The primary motivation behind virtual-dom is to allow us to write code independent of previous state. So when our application state changes we will generate a new VTree. The diff function creates a set of DOM patches that, based on the difference between the previous VTree and the current VTree, will update the previous DOM tree to match the new VTree.

      annotation meta: may need new tag: for: "code independent of previous state."

      annotation meta: may need new tag: for: diffs other than source/text code diffs (in this case diffs between virtual DOM trees)

    1. But first, what would motivate any young person today to pull the plug? Well maybe they should consider this for a moment. Who most wants you to stay on the grid? The advertisers. Your boss. Human Resources. The advertisers. Your parents (irony of ironies – once they distrusted it, now they need to tag you electronically, share your Facebook photos and message you to death). The advertisers. The government. Your local authority. Your school. Advertisers.

      Going of the grid hurts "The man" in 70's parlance.

    1. In short to add wiki-style functionality to my blog, the only functionality that is really needed is that 1) I myself have a edit button on static items, 2) the ability to categorise and tag those items, and 3) keep those items outside of the blog posting stream on the front page, and outside of the RSS feed. WordPress pages fit that description, when I’m logged in, and after adding a plugin to allow categories and tags on pages. So a page based section it is, or rather, will be over time.

      I like the idea of this and the overall structure. It reminds me a bit of Wikity which may provide this functionality plus a bit more. I really need to spin up a version and play around with it to see if it will give me what I'm looking for in terms of a blog linked with wiki-like functionality.

    1. It isn't rocket science, but as Jon indicates, it's incredibly powerful.

      I use my personal website with several levels of taxonomy for tagging and categorizing a variety of things for later search and research.

      Much like the example of the Public Radio International producer, I've created what I call a "faux-cast" because I tag everything I listen to online and save it to my website including the appropriate <audio> link to the.mp3 file so that anyone who wants to follow the feed of my listens can have a playlist of all the podcast and internet-related audio I'm listening to.

      A visual version of my "listened to" tags can be found at https://boffosocko.com/kind/listen/ with the RSS feed at https://boffosocko.com/kind/listen/feed/

    1. When I received Chris’s comment, my first response was that I should delete my post or at least the incorrect part of it. It’s embarrassing to have your incorrect understandings available for public view. But I decided to leave the post as is but put in a disclaimer so that others would not be misled by my misunderstandings. This experience reminded me that learning makes us vulnerable. Admitting that you don’t know something is hard and being corrected is even harder. Chris was incredibly gentle in his correction. It makes me think about how I respond to my students’ work. Am I as gentle with their work as Chris was to mine? Could I be more gentle? How often have I graded my students’ work and only focused on what they did wrong? Or forgotten that feeling of vulnerability when you don’t know something, when you put your work out for others to judge? This experience has also reminded me that it’s important that we as teachers regularly put ourselves into situations in which we authentically grapple with not knowing something. We should regularly share our less than fully formed understandings with others for feedback. It helps us remember that even confident learners can struggle with being vulnerable. And we need to keep in mind that many of our students are not confident learners.

      I'm reminded here of the broad idea that many bloggers write about sooner or later of their website being a "thought space" or place to contemplate out in the open. More often than not, even if they don't have an audience to interact with, their writings become a way of thinking out loud, clarifying things for themselves, self-evolving, or putting themselves out there for potential public reactions (good, bad, or indifferent).

      While writing things out loud to no audience can be helpful and useful on an individual level, it's often even more helpful to have some sort of productive and constructive feedback. While a handful of likes or positive seeming responses can be useful, I always prefer the ones that make me think more broadly, deeply, or force me to consider other pieces I hadn't envisioned before. To me this is the real value of these open and often very public thought spaces.

      For those interested in the general idea, I've been bookmarking/tagging things around the idea of thought spaces I've read on my own website. Hopefully this collection helps others better understand the spectrum of these ideas for themselves.

      With respect to the vulnerability piece, I'm reminded of an episode of <cite>The Human Current</cite> I listened to a few weeks back. There was an excellent section that touched on building up trust with students or even a class when it comes to providing feedback and criticism. Having a bank of trust makes it easier to give feedback as well as to receive it. Here's a link to the audio portion and a copy of the relevant text.

    1. The Task Annotation Project in Science (TAPS) provides K-12 educators with annotated assessment tasks, aligned to the Next Generation Science Standards, that help guide teachers in more equitably monitoring their students’ learning.37 Osmosis is a repository of open educational resources (OER) created to crowdsource the future of medical education.38 Undergraduate and graduate medical students have access to thousands of digital resources, and they have also used annotation - through comments, feedback forms, and ratings - to improve the quality of these learning materials.39 The National Science Digital Library (NSDL), created in 2000, is an archive of open access teaching and learning resources for learners of all ages across science, technology, engineering, and mathematics disciplines.40 Annotation has been used to tag the NSDL’s resources and improve information accessibility, support student interaction with multimedia content through a digital notebook, and educators have annotated NSDL resources to design online learning activities for their students.41 And research about the digital annotation tool Perusall.d-undefined, .lh-undefined { background-color: rgba(0, 0, 0, 0.2) !important; }.d-undefined, .lh-undefined { background-color: rgba(0, 0, 0, 0.5) !important; }3Troy Hicks, Nate Angell, Jeremy Dean, often used in conjunction with science textbooks, has shown that college students’ pre-reading and annotation practices can subsequently improve exam performance.
  5. link-springer-com.uaccess.univie.ac.at link-springer-com.uaccess.univie.ac.at
      • ftp : modify link for TrailNext for local subdomains
      • background : Prevously relied on three domains hub.opidox.com/app for access by anyone localhost/app running development version locally localhost/demo accessing TrailNext development version running on localhost:8080 as an Apprun PWA using base tag start using local subdomains
    1. Note: This rebuttal was posted by the corresponding author to Review Commons. Content has not been altered except for formatting.

      Learn more at Review Commons


      Reply to the reviewers

      Response to Reviewers and Revision Plan

      We thank all three reviewers for their time and their comments on our manuscript.

      Reviewer #1 (Evidence, reproducibility and clarity (Required)):

      Here Ryan et al. have used localization analysis following induced rapid relocalization of endogenous proteins to investigate the composition and recruitment hierarchy of a clathrin-TACC3-based spindle complex that is important for microtubule organization and stability.

      The authors generate different HeLa cell lines, each with one of four complex members (TACC3, CLTA, chTOG and GTSE1) endogenously tagged with FKBP-GFP via Cas9-mediated editing. This tag allows rapid recruitment to the mitochondria upon rapamycin addition ("knocksideways"). They ultimately quantify each of the 4 components' localization to the spindle following knocksideways of each component using fluorescently-tagged transfected constructs. The authors' interpretation of the results of this analysis are summarized in the last model figure, in which a core MT-binding complex of clathrin and TACC3 recruit the ancillary components GTSE1 and chTOG. In addition, the authors investigate the contribution of individual clathrin-binding LIDL motifs in GTSE1 to the recruitment of clathrin and GTSE1 to spindles. Their findings here largely agree with and confirm a recent report regarding the contribution of these motifs to GTSE1 recruitment to the spindle. They further analyzed GTSE1 fragments for interphase and mitotic microtubule localization, and identified a second region of GTSE1 required (but not sufficient) for spindle localization. Finally, the authors report that PIK3C2A is not part of this complex, contradicting (correcting) a previously published study.

      **Major comments:**

      1.The chTOG-FKBP-GFP cell line the authors generate has only a small fraction of chTOG tagged, and thus should not be used for any conclusions about protein localization dependency on chTOG. Because they were unable to construct a HeLa cell line with all copies tagged, the authors expect that the homozygous knock-in of chTOG-FKBP-GFP is lethal, and thus their experience is appropriate to report. However, the authors should not use this cell line alone to make statements about chTOG dependency. They would have to use similar localization analysis, but after another method to disrupt chTOG (as a second-best approach), such as RNAi. In fact, they have reported this in a previous publication (Booth et al 2011). However, the result was different. There, loss of chTOG resulted in reduced clathrin on spindles, suggesting it may stabilize or help recruit the complex. Alternatively, they could remove their chTOG data, but this would compromise the "comprehensive" nature of the work.

      The referee is correct. The point here is to show the results we had using this approach for all four proteins under study. For this reason, we do not want to remove this data and prefer to show our results “warts-and-all”. We feel that the shortcomings of our approach are honestly presented and discussed in the manuscript. While only a fraction of chTOG was tagged, we should expect some co-removal after its induced mislocalization. Since we saw no change, we concluded that chTOG is auxiliary.

      The “second best” approach suggested (RNAi of chTOG) is problematic for two reasons. First, chTOG RNAi results in gross changes to spindle structure (multipolar spindles) and it is difficult to pick apart differences in protein partner localization that result from loss of chTOG from those resulting from changes in spindle structure. Second, the paper is about induced mislocalization as a method for determining protein complexes once a normal spindle has formed. So, removing chTOG prior to mitosis is not comparable. If we get the same or different result, does it confirm or conflict with the data we have? Nonetheless, given the discrepancy with our earlier work, we should investigate this further.

      To address this concern, we will stain endogenous clathrin, TACC3 and GTSE1 following chTOG RNAi and measure their relative levels at the spindle.

      Making the chTOG-FKBP-GFP cell line was difficult. As described in the paper, we only recovered heterozygous clones despite repeated attempts. Since submission, we have been made aware of a HCT116 chTOG-FKBP-GFP cell line that is reported to be homozygously tagged (Cherry et al. 2019 doi: 10.1002/glia.23628).

      A note about this cell line has been added to the paper (Results section, final sentence of 1st paragraph).

      2.The authors initially analyze complex member localization after knocksideways experiments by antibody staining, which has the advantage of analyzing endogenous proteins (versus the later transfected fluorescent constructs). Setting aside potential artefacts from fixation, this would seem to be a better method for controlled analysis to take advantage of their setup (short of generating stable cell lines with second proteins endogenously tagged in a second color - a huge undertaking). The authors conclude that antibody specificity problems confounded their analysis and explained unusual results. However, I think is worth investing a little more effort to sort this out, rather than bringing doubt to the whole data set. Verifying and then using another antibody for chTOG localization would be informative. Of course, the negative control should not be their chTOG-FKBP-GFP line, as it does not relocalize most of chTOG.

      In the case of GTSE1, an alternative explanation to antibody specificity issues would be that the GTSE1-FKBP-GFP cell line is not in fact homozygously tagged. Given the low expression levels on the western provided, and the detection of GTSE1 on the spindle in the induced GTSE1-FKBP-GFP cell line (but not TACC3-FKBP-GFP), it seems plausible that an untagged copy remains. If there are multiple copies of GTSE1 in Hela cells, one untagged copy could represent a small fraction of total GTSE1. This should thus be ruled out. GTSE1 clones should be analyzed with more protein extracts loaded - dilutions of the extracts can determine the sensitivity of the blot to lower protein levels. In addition, sequencing of genomic DNA can reveal a small percentage with different reads.

      We used a two-pronged approach for assessing relocalization of protein partners (staining vs transfected constructs). The staining approach is superior since endogenous proteins are examined, but it is limited by antibody specificity. The transfection approach overcomes this limitation but is in turn limited by effects of overexpression and tagging. Together the two approaches allow us, and anyone employing this method, to get a picture of protein complexes. We didn’t want to create the impression that one or other approach is confounded, but the referee is correct that this analysis would benefit from further work.

      Specifically, to address these concerns:

      • We will verify and use alternative chTOG antibodies to try to improve this dataset.
      • We will test the possibility that an untagged allele of GTSE1 remains. We will use western blotting and a summary of our genomic analysis will be added to the paper.

        3.There is a lot of data contained in the small graphs summarizing quantification of localization in Figs 3 and 4. They would be more accessible to the reader if they were larger and/or an "example" of the chart with labels was present explaining it (essentially what is in the figure legends). Furthermore, there is no statistical test applied to this data that I see. This is needed. How do authors determine whether there is an "effect"?

      Our aim was to compress a lot of information into a small space, while still showing some example primary data. All reviewers raised the same concern which tells us that we went too far towards “data visualization”.

      To address this point, we will rework these figures.

      **Minor issues:**

      1.The GTSE1 constructs used for mutation and localization analysis are 720 amino acids long. A recent study analyzing similar mutations uses a 739 amino acid construct (Rondelet et al 2020). The latter is the predominant transcript in NCBI and Ensembl databases. It appears the construct used by the authors omits the first 19 a.a.. I do not think using the truncated transcript affects conclusions of the manuscript, but it could generate confusion when identifying residues based on a.a.#s of mutant constructs (Fig 6). This should be somehow clarified.

      We were aware of the longer transcript but were using the 720 residue form since it is the canonical sequence in Uniprot (https://www.uniprot.org/uniprot/Q9NYZ3). We did not know that the 739 form is the predominant transcript. We agree this is unlikely to affect our work but that the numbering may cause confusion.

      We have added a note to the Methods (Molecular Biology section) to accurately describe what we and Rondelet et al. have used.

      2.The labeling of constructs in Fig 6C/D is confusing, and appears shifted by eye at places. Please relabel this more clearly.

      Apologies for the error.

      We have relabeled Figure 6C,D and also made a similar alteration to Figure 5C.

      The recommended new experimental data (Analysis complex member levels on spindles after full perturbation of spindle chTOG; new chTOG antibody stainings in the FKBP lines; reanalysis of GTSE1 DNA/protein in GTSE1-FKBP line) should only require a new antibody/siRNA, plus a few weeks time to repeat the analyses already in the paper with new reagents.

      Reviewer #1 (Significance (Required)):

      While multiple individual components of this complex have been previously characterized, the structure and nature of the complex formation and its recruitment to microtubules/spindles remains a complex problem that has yet to be solved.

      Overall this study represents a comprehensive localization-dependency analysis of the Clathrin-TACC3 based spindle complex using a consistent methodology. Although several of the conclusions of the findings echo previous reports, some of the previous literature is contradictory within itself as well as with the conclusions here. Analyzing all components with a single, rapid-perturbation technique thus has great value to present a clear data set, given that the experimental setup conditions and analysis are solid (a goal to which the majority of comments refer).

      Beyond the complex localization/recruitment analysis, two novel findings of this study that emerge are:

      a)GTSE1 contains a second, separate protein region, distinct from the clathrin-binding motifs that is required for its localization to the spindle, and most likely a microtubule-interaction site. This suggests that GTSE1 recruitment to the spindle is more complex than previously reported.

      b)PI3KC2A, which has been reported previously to be a stabilizing member of this complex, is in fact not a member, nor localizes to spindles, nor displays a mitotic defect after loss. This is important conclusion to be made as it would correct the literature, and avoid future confusion.

      --

      Reviewer #2 (Evidence, reproducibility and clarity (Required)):

      In this paper, the authors investigate the nature of interactions between members of the TACC3-chTOG-clathrin-GTSE1 complex on the mitotic spindle. By using a series of HeLa cell lines that they have created by CRISPR/Cas9 editing to enable spatial manipulation (knocksideways) of either TACC3, chTOG, clathrin and GTSE1, they show that on spindle microtubules TACC3 and clathrin represent core complex members whereas chTOG and GTSE1 bind to them respectively but not to each other. Additionally, the authors find that the protein PIK3C2A, which has been implicated in this complex previously is in fact not a component of this complex in mitotic cells. The main advance of the paper in my opinion is the endogenous tagging of the proteins for knocksideways experiments since former experiments depended on RNAi silencing and expression of tagged proteins from plasmids, which introduced issues of protein silencing efficiency and plasmid overexpression problems. This approach seems to alleviate these problems, except in the case of chTOG which seems to be lethal in its homozygous variant.

      **Major comments:**

      I find the key conclusions regarding the localization of the components of the complex convincing. There are some issues regarding the specificity of antibodies in immunostaining experiments (Fig 3.) and the influence of mCherry-TACC3 expression on distorted localization of the complex prior to knocksideways. However, I think the general conclusion about which complex components (clathrin and TACC3) influence the localization of the other proteins in the complex (chTOG and GTSE1) stands. One thing that I miss from the paper is the data on the consequences on the spindle shape and morphology after knocksideways. I have noticed on images in both Figure 3 and Figure 4 that in some cases distribution of the signal seems to influence quite a bit the spindle morphology. Also, In Figure 3 I have noticed what seems to me a quite big variation in spindle size in tubulin signal in both untreated and rapamycin cells. Since authors have many of these images already, I believe it would be realistic, not costly and of additional value for the paper to provide more data on the consequences of the knocksideways experiments. Change of spindle size, tubulin intensity and DNA/kinetochore misalignment upon knocksideways would be helpful to appreciate more the findings of the paper. More so since the authors on more than one occasion find their motivation in the field of cancer research and spindle stability relation to it. Some data connection to this motivation would be of value. Experiments seem reproducible.

      The focus of the paper is on using the knocksideways methodology to understand a protein complex during mitosis, rather than looking at its function. We are not keen to do new experiments that are not part of the central message of the paper. However, the Reviewer is correct that we do already have a dataset that can be mined in the manner described.

      To address this point, we will analyze spindle size parameters and also the intensity of tubulin. Our analysis will be limited to the short timeframe of our experiments, but it should reveal or refute any changes in spindle structure that may result from loss of complex members.

      **Minor comments:**

      I have some problems with the clarity of Figure 3 and 4. For Figure 3. In Figure 3 plots on the right are a bit small and not easy to read. Some reorganization of the figure might be beneficial. In Figure 4 plots to the right are also too small to be clear. Also, I miss the number of cells (n) I can't see the number of individual arrows because of the size of graphs.

      Our aim was to compress a lot of information into a small space, while still showing some example primary data. All reviewers raised the same concern which tells us that we went too far towards “data visualization”.

      To address this point, we will rework these figures.

      Reviewer #2 (Significance (Required)):

      I find that the biggest significance of the paper is in the creation of new tools (cell lines) to study the localization of proteins TACC3, chTOG, clathrin and GTSE1. Cell lines where endogenous proteins can be delocalized rapidly will be of value for scientist working not only in mitosis but such as in the case of clathrin research, vesicle formation and trafficking or p53-dependent apoptosis in the case of GTSE1. In the field of mitosis it will surely help and speed up the research concerning the role of these proteins in spindle assembly and stability.

      Field of expertise: mitotic spindle

      --

      Reviewer #3 (Evidence, reproducibility and clarity (Required)):

      **Summary:**

      This papers analyses the chTog/TACC3/clathrin/GTSE1 complex that crosslinks and stabilises microtubule bundles in the mitotic spindle. The authors have developed an elegant knock sideways approach to specifically analyse the effects of removing individual components of the complex from the spindle and study the effect this has on the other interactors. They report, based on these assays that the core of the complex is formed by TACC3 and Clathrin while GTSE1 and chTog are auxiliary interactors. They also refute previous evidence that this complex also incorporates PIK3C2A. Overall, this is an interesting study that distinguishes itself predominantly by its methodology. However, some of the reported results need more thorough analysis to allow convincing conclusions.

      **Major comments:**

      1)The knockside way method is the main highlight if this paper. Unlike previous studies by the PI, this time endogenous genes are tagged which is a key advance and allows much better interpretation of the results. I am not sure why the authors have chosen HeLa cells as their model here, given the messed up genome of these cells. A non-transformed cell line would have been preferable, but as a proof of principle study, I think HeLa are acceptable, and I wouldn't expect the authors to repeat all the experiment in another system.

      Figure 1,2 and S1 are describing and validating this approach in some detail, but this will require some more work.

      The authors state that gene targeting was validated using a combination of PCR, sequencing, Western blotting, but show only the results for westerns. PCR analysis that demonstrates homozygous or heterozygous gene targeting should be shown here.

      Another issue is the penetrance of the phenotypes induced by Rapamycin. The authors show nice data of the system working in individual cells but do not give us an idea if this happens in all cells. The localisation of the individual tagged genes should be quantified (ideally with line plots) in 50 randomly chosen mitotic cells with 3 repeats before and after rapamycin treatment. Moreover, the analysis of mitotic duration (Figure S1D) should be extended to include a plus Rapamycin cohort and this should be moved in the main Figure.

      If the system works only in a small proportion of cells, this should be clearly stated. I don't think this would prevent publication, but it is an important piece of information that is missing.

      The Reviewer raises two issues here.

      • PCR analysis should be shown. This issue was also partly raised by Reviewer 1. A summary of our PCR analysis was actually included in Table 1, since the analysis we did is pretty unwieldy. We agree though that presenting our evidence for homozygosity of the cell lines would be useful. To address this point, we will add more detail of the PCR and sequencing work done to validate these cell lines.
      • Does knocksideways happen in all cells? The answer to this depends on the transient expression of MitoTrap and sufficient application of rapamycin. We agree that this will be a useful piece of information to add to the manuscript. A related issue is whether knocksideways of complex members affects mitotic progression. We have established through other experiments that rapamycin application to wild-type cells alters mitotic progression, although application of Rapalog does not have this effect. Our plan to address these points is 1) to analyze the efficacy of knocksideways that readers can expect to achieve using these, or similar cells, and 2) analyze mitotic duration in rapalog-treated cells expressing a rapalog sensitive MitoTrap.

        2)Apart from a simple quantification of mitotic duration, I believe a more detailed mitotic phenotype analysis for each knock-side way gene, especially the homozygous targeted clones, should be included. This can involve more high-resolution live cell imaging of mitotic progression with SiR-DNA and GFP-tubulin, using the dark mitotrap.

      We don’t agree that such an analysis should be included. The focus of this paper is on using the knocksideways methodology to understand a protein complex during mitosis, and not looking at its function. There are several papers on the mitotic phenotypes of these genes probed using RNAi in different cellular systems (examples for chTOG: 10.1101/gad.245603; TACC3/clathrin: 10.1038/emboj.2011.15, 10.1242/jcs.075911, 10.1083/jcb.200911091, 10.1083/jcb.200911120; GTSE1: 10.1083/jcb.201606081). Moreover, our 2013 paper used knocksideways (with RNAi and overexpression) and has a detailed analysis of mitotic progression, microtubule stability, checkpoint activity and kinetochore motions (Cheeseman et al., 2013 doi: 10.1242/jcs.124834).

      New experiments that are not part of the central message of the paper and are unlikely to give new insight are not the best use of our revision efforts for this paper (especially during the pandemic). Having said this, Reviewer 2’s suggestion to use our existing dataset to investigate mitotic phenotypes, will largely answer Reviewer 3’s request.

      We will analyze spindle size parameters and also the intensity of tubulin. Our analysis will be limited to the short timeframe of our experiments, but it should reveal or refute any changes in spindle structure that result from the loss of complex members.

      3)Overall, the quantitative analysis in Figure 3 ,4 and 7 is not good enough and sometimes doesn't fully support the conclusions. In Figure 3,4 a convoluted way of demonstrating the change in localisation is shown and this panel is so small that is almost impossible to read. Also, there is no statistical analysis, and the sample size seems very small . At least 25 cells should be analysed here in 3 repeats. I would suggest to unify the quantification in the MS and use the line plots shown in Figure 5 and 6 and compare each protein before and after rapamycin addition. This is much easier to read and more convincing. The images of the cells panels can be moved to a supplement as they contain very little information. This would generate space to expand the size and depth of the quantitative analysis. Instead of Anova tests, I would recommend using a simple t-test comparing each condition to its relevant control since this is the only relevant comparison in the experiment. Statistical significance should be calculated for each experiment with sufficient sample size. It would also be better to show the individual data points from the three repeats in different colours so that the reproducibility between repeat can be judged.

      This type of statistical analysis should be uniformly done throughout the MS and also extended to Figure 7.

      The referee raises several issues here with our data presentation and statistical analysis.

      • Our aim in Figures 3 and 4 was to compress a lot of information into a small space, while still showing some example primary data. All reviewers raised the same concern about these figures which tells us that we went too far towards “data visualization”. To address this point, we will rework Figures 3 and 4 to provide more clear data presentation.
      • The Reviewer’s comments about statistical analysis however are not sound. First, it is incorrect to state that simple t-tests can be applied (this is a form of p-hacking). Correction for multiple testing must be done on these datasets. Second, the reviewer arbitrarily states numbers for cells and experimental repeats without considering the effect size or it seems, understanding the structure of the data that we have collected. Sample sizes are small but they are taken from many independent replicates. Third, and related to the previous point, the fixed and live cell data are structured differently which means that a uniform data presentation is not possible. The live data has a paired design and each cell is an independent replicate (with replicates done over several trials). The fixed data is unpaired and we have taken measures from several experiments (independent replicates). The point about applying statistical tests to the data is also made by Reviewer 1 and we will use appropriate tests (NHST or estimation statistics) as we re-work the figures.

        Reviewer #3 (Significance (Required)):

      In my opinion, the most interesting aspect of the MS is the methodology. Based on this, publication is justified and will be of interest to a wider audience. That is why a more detailed analysis of the penetrance of this manipulation across the cell population will be critical.

      The application of this method to analyse the composition of the TACC3/Clathrin complex on the spindle is the main biological advance, and the novel information is rather limited but not unimportant.

      Overall, if these results can be properly quantified I would recommend publication.

    2. Note: This preprint has been reviewed by subject experts for Review Commons. Content has not been altered except for formatting.

      Learn more at Review Commons


      Referee #1

      Evidence, reproducibility and clarity

      Here Ryan et al. have used localization analysis following induced rapid relocalization of endogenous proteins to investigate the composition and recruitment hierarchy of a clathrin-TACC3-based spindle complex that is important for microtubule organization and stability. The authors generate different HeLa cell lines, each with one of four complex members (TACC3, CLTA, chTOG and GTSE1) endogenously tagged with FKBP-GFP via Cas9-mediated editing. This tag allows rapid recruitment to the mitochondria upon rapamycin addition ("knocksideways"). They ultimately quantify each of the 4 components' localization to the spindle following knocksideways of each component using fluorescently-tagged transfected constructs. The authors' interpretation of the results of this analysis are summarized in the last model figure, in which a core MT-binding complex of clathrin and TACC3 recruit the ancillary components GTSE1 and chTOG. In addition, the authors investigate the contribution of individual clathrin-binding LIDL motifs in GTSE1 to the recruitment of clathrin and GTSE1 to spindles. Their findings here largely agree with and confirm a recent report regarding the contribution of these motifs to GTSE1 recruitment to the spindle. They further analyzed GTSE1 fragments for interphase and mitotic microtubule localization, and identified a second region of GTSE1 required (but not sufficient) for spindle localization. Finally, the authors report that PIK3C2A is not part of this complex, contradicting (correcting) a previously published study.

      Major comments:

      1.The chTOG-FKBP-GFP cell line the authors generate has only a small fraction of chTOG tagged, and thus should not be used for any conclusions about protein localization dependency on chTOG. Because they were unable to construct a HeLa cell line with all copies tagged, the authors expect that the homozygous knock-in of chTOG-FKBP-GFP is lethal, and thus their experience is appropriate to report. However, the authors should not use this cell line alone to make statements about chTOG dependency. They would have to use similar localization analysis, but after another method to disrupt chTOG (as a second-best approach), such as RNAi. In fact, they have reported this in a previous publication (Booth et al 2011). However, the result was different. There, loss of chTOG resulted in reduced clathrin on spindles, suggesting it may stabilize or help recruit the complex. Alternatively, they could remove their chTOG data, but this would compromise the "comprehensive" nature of the work.

      2.The authors initially analyze complex member localization after knocksideways experiments by antibody staining, which has the advantage of analyzing endogenous proteins (versus the later transfected fluorescent constructs). Setting aside potential artefacts from fixation, this would seem to be a better method for controlled analysis to take advantage of their setup (short of generating stable cell lines with second proteins endogenously tagged in a second color - a huge undertaking). The authors conclude that antibody specificity problems confounded their analysis and explained unusual results. However, I think is worth investing a little more effort to sort this out, rather than bringing doubt to the whole data set. Verifying and then using another antibody for chTOG localization would be informative. Of course, the negative control should not be their chTOG-FKBP-GFP line, as it does not relocalize most of chTOG.

      In the case of GTSE1, an alternative explanation to antibody specificity issues would be that the GTSE1-FKBP-GFP cell line is not in fact homozygously tagged. Given the low expression levels on the western provided, and the detection of GTSE1 on the spindle in the induced GTSE1-FKBP-GFP cell line (but not TACC3-FKBP-GFP), it seems plausible that an untagged copy remains. If there are multiple copies of GTSE1 in Hela cells, one untagged copy could represent a small fraction of total GTSE1. This should thus be ruled out. GTSE1 clones should be analyzed with more protein extracts loaded - dilutions of the extracts can determine the sensitivity of the blot to lower protein levels. In addition, sequencing of genomic DNA can reveal a small percentage with different reads.

      3.There is a lot of data contained in the small graphs summarizing quantification of localization in Figs 3 and 4. They would be more accessible to the reader if they were larger and/or an "example" of the chart with labels was present explaining it (essentially what is in the figure legends). Furthermore, there is no statistical test applied to this data that I see. This is needed. How do authors determine whether there is an "effect"?

      Minor issues:

      1.The GTSE1 constructs used for mutation and localization analysis are 720 amino acids long. A recent study analyzing similar mutations uses a 739 amino acid construct (Rondelet et al 2020). The latter is the predominant transcript in NCBI and Ensembl databases. It appears the construct used by the authors omits the first 19 a.a.. I do not think using the truncated transcript affects conclusions of the manuscript, but it could generate confusion when identifying residues based on a.a.#s of mutant constructs (Fig 6). This should be somehow clarified.

      2.The labeling of constructs in Fig 6C/D is confusing, and appears shifted by eye at places. Please relabel this more clearly.

      The recommended new experimental data (Analysis complex member levels on spindles after full perturbation of spindle chTOG; new chTOG antibody stainings in the FKBP lines; reanalysis of GTSE1 DNA/protein in GTSE1-FKBP line) should only require a new antibody/siRNA, plus a few weeks time to repeat the analyses already in the paper with new reagents.

      Significance

      While multiple individual components of this complex have been previously characterized, the structure and nature of the complex formation and its recruitment to microtubules/spindles remains a complex problem that has yet to be solved.

      Overall this study represents a comprehensive localization-dependency analysis of the Clathrin-TACC3 based spindle complex using a consistent methodology. Although several of the conclusions of the findings echo previous reports, some of the previous literature is contradictory within itself as well as with the conclusions here. Analyzing all components with a single, rapid-perturbation technique thus has great value to present a clear data set, given that the experimental setup conditions and analysis are solid (a goal to which the majority of comments refer).

      Beyond the complex localization/recruitment analysis, two novel findings of this study that emerge are:

      a)GTSE1 contains a second, separate protein region, distinct from the clathrin-binding motifs that is required for its localization to the spindle, and most likely a microtubule-interaction site. This suggests that GTSE1 recruitment to the spindle is more complex than previously reported.

      b)PI3KC2A, which has been reported previously to be a stabilizing member of this complex, is in fact not a member, nor localizes to spindles, nor displays a mitotic defect after loss. This is important conclusion to be made as it would correct the literature, and avoid future confusion.

    1. The general justification for appropriating the tag has been that, in addition to killing Black people, White supremacy also continues to kill and harm a lot of non-Black people of color as well.

      This year we have really highlighted the tragic deaths of many black people. We call people out for their racist behaviors and views. We are getting closer to uncovering the corruption some people have and cancelling them for having them. In this case I feel cancel culture would be legitimate because of how these people are looking down upon groups of people.

    1. Congress appears to have missed a key point in its questioning last week. It’s clear that fake news and outright lies are, in fact, a small portion of the total content on any of the big tech platforms. But what matters are the routes that these companies provide to unreliable sources of information. You don’t have to silence Julian Assange or some random Twitter account that’s set up to look like a real news outfit, but you also don’t have to inject them into a legitimate news discussion.

      For something to pop up on the top "news" section, I think these developers should have to fact check and read through the information. They could also add a tag such as potentially untruthful which would help stop spread the misinformation..

    1. Why Are Finland’s Schools Successful? The country’s achievements in education have other nations, especially the United States, doing their homework <img src="https://thumbs-prod.si-cdn.com/thzZYTv2Evhq3x8iHdcaakihfVE=/800x600/filters:no_upscale()/https://public-media.si-cdn.com/filer/cd/ee/cdee1c82-f8e3-4de4-983e-8599d4485745/finland-smiles-wr.jpg" alt="Kirkkojarvi School" itemprop="image"> "This is what we do every day," says Kirkkojarvi Comprehensive School principal Kari Louhivuori, "prepare kids for life." (Stuart Conway) By LynNell Hancock Smithsonian Magazine | Subscribe September 2011 AddThis Sharing ButtonsShare to FacebookFacebookShare to TwitterTwitterShare to RedditReddit78Share to PinterestPinterest997Share to LinkedInLinkedInShare to FlipboardFlipboardShare to EmailEmailShare to PrintPrintShare to MoreAddThis934 It was the end of term at Kirkkojarvi Comprehensive School in Espoo, a sprawling suburb west of Helsinki, when Kari Louhivuori, a veteran teacher and the school’s principal, decided to try something extreme—by Finnish standards. One of his sixth-grade students, a Kosovo-Albanian boy, had drifted far off the learning grid, resisting his teacher’s best efforts. The school’s team of special educators—including a social worker, a nurse and a psychologist—convinced Louhivuori that laziness was not to blame. So he decided to hold the boy back a year, a measure so rare in Finland it’s practically obsolete. function dispatchComscoreLoadedEvent(){ let event = new Event('MPlayerComscoreLoaded'); window.dispatchEvent(event); } !function(e){var t={};function n(r){if(t[r])return t[r].exports;var i=t[r]={i:r,l:!1,exports:{}};return e[r].call(i.exports,i,i.exports,n),i.l=!0,i.exports}n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){"undefined"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"===typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var i in e)n.d(r,i,function(t){return e[t]}.bind(null,i));return r},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=68)}([function(e,t){e.exports=function(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}},function(e,t){e.exports=function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}},function(e,t){function n(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}e.exports=function(e,t,r){return t&&n(e.prototype,t),r&&n(e,r),e}},function(e,t){e.exports=function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}},function(e,t,n){e.exports=n(47)},function(e,t){function n(t){return e.exports=n=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},n(t)}e.exports=n},function(e,t,n){"use strict";var r=n(21),i=Object.prototype.toString;function o(e){return"[object Array]"===i.call(e)}function a(e){return"undefined"===typeof e}function s(e){return null!==e&&"object"===typeof e}function u(e){return"[object Function]"===i.call(e)}function c(e,t){if(null!==e&&"undefined"!==typeof e)if("object"!==typeof e&&(e=[e]),o(e))for(var n=0,r=e.length;n<r;n++)t.call(null,e[n],n,e);else for(var i in e)Object.prototype.hasOwnProperty.call(e,i)&&t.call(null,e[i],i,e)}e.exports={isArray:o,isArrayBuffer:function(e){return"[object ArrayBuffer]"===i.call(e)},isBuffer:function(e){return null!==e&&!a(e)&&null!==e.constructor&&!a(e.constructor)&&"function"===typeof e.constructor.isBuffer&&e.constructor.isBuffer(e)},isFormData:function(e){return"undefined"!==typeof FormData&&e instanceof FormData},isArrayBufferView:function(e){return"undefined"!==typeof ArrayBuffer&&ArrayBuffer.isView?ArrayBuffer.isView(e):e&&e.buffer&&e.buffer instanceof ArrayBuffer},isString:function(e){return"string"===typeof e},isNumber:function(e){return"number"===typeof e},isObject:s,isUndefined:a,isDate:function(e){return"[object Date]"===i.call(e)},isFile:function(e){return"[object File]"===i.call(e)},isBlob:function(e){return"[object Blob]"===i.call(e)},isFunction:u,isStream:function(e){return s(e)&&u(e.pipe)},isURLSearchParams:function(e){return"undefined"!==typeof URLSearchParams&&e instanceof URLSearchParams},isStandardBrowserEnv:function(){return("undefined"===typeof navigator||"ReactNative"!==navigator.product&&"NativeScript"!==navigator.product&&"NS"!==navigator.product)&&"undefined"!==typeof window&&"undefined"!==typeof document},forEach:c,merge:function e(){var t={};function n(n,r){"object"===typeof t[r]&&"object"===typeof n?t[r]=e(t[r],n):t[r]=n}for(var r=0,i=arguments.length;r<i;r++)c(arguments[r],n);return t},deepMerge:function e(){var t={};function n(n,r){"object"===typeof t[r]&&"object"===typeof n?t[r]=e(t[r],n):t[r]="object"===typeof n?e({},n):n}for(var r=0,i=arguments.length;r<i;r++)c(arguments[r],n);return t},extend:function(e,t,n){return c(t,function(t,i){e[i]=n&&"function"===typeof t?r(t,n):t}),e},trim:function(e){return e.replace(/^\s*/,"").replace(/\s*$/,"")}}},function(e,t){function n(e,t,n,r,i,o,a){try{var s=e[o](a),u=s.value}catch(c){return void n(c)}s.done?t(u):Promise.resolve(u).then(r,i)}e.exports=function(e){return function(){var t=this,r=arguments;return new Promise(function(i,o){var a=e.apply(t,r);function s(e){n(a,i,o,s,u,"next",e)}function u(e){n(a,i,o,s,u,"throw",e)}s(void 0)})}}},function(e,t,n){var r=n(48);e.exports=function(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&r(e,t)}},function(e,t,n){var r=n(49),i=n(3);e.exports=function(e,t){return!t||"object"!==r(t)&&"function"!==typeof t?i(e):t}},function(e,t,n){var r=n(42),i=n(43),o=n(18),a=n(44);e.exports=function(e,t){return r(e)||i(e,t)||o(e,t)||a()}},function(e,t,n){var r=n(39),i=n(40),o=n(18),a=n(41);e.exports=function(e){return r(e)||i(e)||o(e)||a()}},function(e,t,n){var r=n(45);e.exports=function(e,t){if(null==e)return{};var n,i,o=r(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(i=0;i<a.length;i++)n=a[i],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}},function(e,t,n){var r=n(50);function i(t,n,o){return"undefined"!==typeof Reflect&&Reflect.get?e.exports=i=Reflect.get:e.exports=i=function(e,t,n){var i=r(e,t);if(i){var o=Object.getOwnPropertyDescriptor(i,t);return o.get?o.get.call(n):o.value}},i(t,n,o||t)}e.exports=i},function(e,t,n){"use strict";e.exports=n(36)},function(e,t,n){"use strict";var r=n(14),i={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},o={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},a={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},s={};function u(e){return r.isMemo(e)?a:s[e.$$typeof]||i}s[r.ForwardRef]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},s[r.Memo]=a;var c=Object.defineProperty,l=Object.getOwnPropertyNames,d=Object.getOwnPropertySymbols,p=Object.getOwnPropertyDescriptor,f=Object.getPrototypeOf,h=Object.prototype;e.exports=function e(t,n,r){if("string"!==typeof n){if(h){var i=f(n);i&&i!==h&&e(t,i,r)}var a=l(n);d&&(a=a.concat(d(n)));for(var s=u(t),y=u(n),g=0;g<a.length;++g){var v=a[g];if(!o[v]&&(!r||!r[v])&&(!y||!y[v])&&(!s||!s[v])){var m=p(n,v);try{c(t,v,m)}catch(b){}}}}return t}},function(e,t,n){"use strict";(function(e,r){var i,o=n(29);i="undefined"!==typeof self?self:"undefined"!==typeof window?window:"undefined"!==typeof e?e:r;var a=Object(o.a)(i);t.a=a}).call(this,n(37),n(38)(e))},function(e,t){e.exports=function(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}},function(e,t,n){var r=n(17);e.exports=function(e,t){if(e){if("string"===typeof e)return r(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(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?r(e,t):void 0}}},function(e,t){var n,r,i=e.exports={};function o(){throw new Error("setTimeout has not been defined")}function a(){throw new Error("clearTimeout has not been defined")}function s(e){if(n===setTimeout)return setTimeout(e,0);if((n===o||!n)&&setTimeout)return n=setTimeout,setTimeout(e,0);try{return n(e,0)}catch(t){try{return n.call(null,e,0)}catch(t){return n.call(this,e,0)}}}!function(){try{n="function"===typeof setTimeout?setTimeout:o}catch(e){n=o}try{r="function"===typeof clearTimeout?clearTimeout:a}catch(e){r=a}}();var u,c=[],l=!1,d=-1;function p(){l&&u&&(l=!1,u.length?c=u.concat(c):d=-1,c.length&&f())}function f(){if(!l){var e=s(p);l=!0;for(var t=c.length;t;){for(u=c,c=[];++d<t;)u&&u[d].run();d=-1,t=c.length}u=null,l=!1,function(e){if(r===clearTimeout)return clearTimeout(e);if((r===a||!r)&&clearTimeout)return r=clearTimeout,clearTimeout(e);try{r(e)}catch(t){try{return r.call(null,e)}catch(t){return r.call(this,e)}}}(e)}}function h(e,t){this.fun=e,this.array=t}function y(){}i.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];c.push(new h(e,t)),1!==c.length||l||s(f)},h.prototype.run=function(){this.fun.apply(null,this.array)},i.title="browser",i.browser=!0,i.env={},i.argv=[],i.version="",i.versions={},i.on=y,i.addListener=y,i.once=y,i.off=y,i.removeListener=y,i.removeAllListeners=y,i.emit=y,i.prependListener=y,i.prependOnceListener=y,i.listeners=function(e){return[]},i.binding=function(e){throw new Error("process.binding is not supported")},i.cwd=function(){return"/"},i.chdir=function(e){throw new Error("process.chdir is not supported")},i.umask=function(){return 0}},function(e,t){!function(){"use strict";if("object"===typeof window)if("IntersectionObserver"in window&&"IntersectionObserverEntry"in window&&"intersectionRatio"in window.IntersectionObserverEntry.prototype)"isIntersecting"in window.IntersectionObserverEntry.prototype||Object.defineProperty(window.IntersectionObserverEntry.prototype,"isIntersecting",{get:function(){return this.intersectionRatio>0}});else{var e=window.document,t=[];r.prototype.THROTTLE_TIMEOUT=100,r.prototype.POLL_INTERVAL=null,r.prototype.USE_MUTATION_OBSERVER=!0,r.prototype.observe=function(e){if(!this._observationTargets.some(function(t){return t.element==e})){if(!e||1!=e.nodeType)throw new Error("target must be an Element");this._registerInstance(),this._observationTargets.push({element:e,entry:null}),this._monitorIntersections(e.ownerDocument),this._checkForIntersections()}},r.prototype.unobserve=function(e){this._observationTargets=this._observationTargets.filter(function(t){return t.element!=e}),this._unmonitorIntersections(e.ownerDocument),0==this._observationTargets.length&&this._unregisterInstance()},r.prototype.disconnect=function(){this._observationTargets=[],this._unmonitorAllIntersections(),this._unregisterInstance()},r.prototype.takeRecords=function(){var e=this._queuedEntries.slice();return this._queuedEntries=[],e},r.prototype._initThresholds=function(e){var t=e||[0];return Array.isArray(t)||(t=[t]),t.sort().filter(function(e,t,n){if("number"!=typeof e||isNaN(e)||e<0||e>1)throw new Error("threshold must be a number between 0 and 1 inclusively");return e!==n[t-1]})},r.prototype._parseRootMargin=function(e){var t=(e||"0px").split(/\s+/).map(function(e){var t=/^(-?\d*\.?\d+)(px|%)$/.exec(e);if(!t)throw new Error("rootMargin must be specified in pixels or percent");return{value:parseFloat(t[1]),unit:t[2]}});return t[1]=t[1]||t[0],t[2]=t[2]||t[0],t[3]=t[3]||t[1],t},r.prototype._monitorIntersections=function(t){var n=t.defaultView;if(n&&-1==this._monitoringDocuments.indexOf(t)){var r=this._checkForIntersections,a=null,s=null;if(this.POLL_INTERVAL?a=n.setInterval(r,this.POLL_INTERVAL):(i(n,"resize",r,!0),i(t,"scroll",r,!0),this.USE_MUTATION_OBSERVER&&"MutationObserver"in n&&(s=new n.MutationObserver(r)).observe(t,{attributes:!0,childList:!0,characterData:!0,subtree:!0})),this._monitoringDocuments.push(t),this._monitoringUnsubscribes.push(function(){var e=t.defaultView;e&&(a&&e.clearInterval(a),o(e,"resize",r,!0)),o(t,"scroll",r,!0),s&&s.disconnect()}),t!=(this.root&&this.root.ownerDocument||e)){var u=d(t);u&&this._monitorIntersections(u.ownerDocument)}}},r.prototype._unmonitorIntersections=function(t){var n=this._monitoringDocuments.indexOf(t);if(-1!=n){var r=this.root&&this.root.ownerDocument||e;if(!this._observationTargets.some(function(e){var n=e.element.ownerDocument;if(n==t)return!0;for(;n&&n!=r;){var i=d(n);if((n=i&&i.ownerDocument)==t)return!0}return!1})){var i=this._monitoringUnsubscribes[n];if(this._monitoringDocuments.splice(n,1),this._monitoringUnsubscribes.splice(n,1),i(),t!=r){var o=d(t);o&&this._unmonitorIntersections(o.ownerDocument)}}}},r.prototype._unmonitorAllIntersections=function(){var e=this._monitoringUnsubscribes.slice(0);this._monitoringDocuments.length=0,this._monitoringUnsubscribes.length=0;for(var t=0;t<e.length;t++)e[t]()},r.prototype._checkForIntersections=function(){var e=this._rootIsInDom(),t=e?this._getRootRect():{top:0,bottom:0,left:0,right:0,width:0,height:0};this._observationTargets.forEach(function(r){var i=r.element,o=s(i),a=this._rootContainsTarget(i),u=r.entry,c=e&&a&&this._computeTargetAndRootIntersection(i,o,t),l=r.entry=new n({time:window.performance&&performance.now&&performance.now(),target:i,boundingClientRect:o,rootBounds:t,intersectionRect:c});u?e&&a?this._hasCrossedThreshold(u,l)&&this._queuedEntries.push(l):u&&u.isIntersecting&&this._queuedEntries.push(l):this._queuedEntries.push(l)},this),this._queuedEntries.length&&this._callback(this.takeRecords(),this)},r.prototype._computeTargetAndRootIntersection=function(t,n,r){if("none"!=window.getComputedStyle(t).display){for(var i=n,o=l(t),c=!1;!c&&o;){var d=null,p=1==o.nodeType?window.getComputedStyle(o):{};if("none"==p.display)return null;if(o==this.root||9==o.nodeType)if(c=!0,o==this.root||o==e)d=r;else{var f=l(o),h=f&&s(f),y=f&&this._computeTargetAndRootIntersection(f,h,r);h&&y?(o=f,d=u(h,y)):(o=null,i=null)}else{var g=o.ownerDocument;o!=g.body&&o!=g.documentElement&&"visible"!=p.overflow&&(d=s(o))}if(d&&(i=a(d,i)),!i)break;o=o&&l(o)}return i}},r.prototype._getRootRect=function(){var t;if(this.root)t=s(this.root);else{var n=e.documentElement,r=e.body;t={top:0,left:0,right:n.clientWidth||r.clientWidth,width:n.clientWidth||r.clientWidth,bottom:n.clientHeight||r.clientHeight,height:n.clientHeight||r.clientHeight}}return this._expandRectByRootMargin(t)},r.prototype._expandRectByRootMargin=function(e){var t=this._rootMarginValues.map(function(t,n){return"px"==t.unit?t.value:t.value*(n%2?e.width:e.height)/100}),n={top:e.top-t[0],right:e.right+t[1],bottom:e.bottom+t[2],left:e.left-t[3]};return n.width=n.right-n.left,n.height=n.bottom-n.top,n},r.prototype._hasCrossedThreshold=function(e,t){var n=e&&e.isIntersecting?e.intersectionRatio||0:-1,r=t.isIntersecting?t.intersectionRatio||0:-1;if(n!==r)for(var i=0;i<this.thresholds.length;i++){var o=this.thresholds[i];if(o==n||o==r||o<n!==o<r)return!0}},r.prototype._rootIsInDom=function(){return!this.root||c(e,this.root)},r.prototype._rootContainsTarget=function(t){return c(this.root||e,t)&&(!this.root||this.root.ownerDocument==t.ownerDocument)},r.prototype._registerInstance=function(){t.indexOf(this)<0&&t.push(this)},r.prototype._unregisterInstance=function(){var e=t.indexOf(this);-1!=e&&t.splice(e,1)},window.IntersectionObserver=r,window.IntersectionObserverEntry=n}function n(e){this.time=e.time,this.target=e.target,this.rootBounds=e.rootBounds,this.boundingClientRect=e.boundingClientRect,this.intersectionRect=e.intersectionRect||{top:0,bottom:0,left:0,right:0,width:0,height:0},this.isIntersecting=!!e.intersectionRect;var t=this.boundingClientRect,n=t.width*t.height,r=this.intersectionRect,i=r.width*r.height;this.intersectionRatio=n?Number((i/n).toFixed(4)):this.isIntersecting?1:0}function r(e,t){var n=t||{};if("function"!=typeof e)throw new Error("callback must be a function");if(n.root&&1!=n.root.nodeType)throw new Error("root must be an Element");this._checkForIntersections=function(e,t){var n=null;return function(){n||(n=setTimeout(function(){e(),n=null},t))}}(this._checkForIntersections.bind(this),this.THROTTLE_TIMEOUT),this._callback=e,this._observationTargets=[],this._queuedEntries=[],this._rootMarginValues=this._parseRootMargin(n.rootMargin),this.thresholds=this._initThresholds(n.threshold),this.root=n.root||null,this.rootMargin=this._rootMarginValues.map(function(e){return e.value+e.unit}).join(" "),this._monitoringDocuments=[],this._monitoringUnsubscribes=[]}function i(e,t,n,r){"function"==typeof e.addEventListener?e.addEventListener(t,n,r||!1):"function"==typeof e.attachEvent&&e.attachEvent("on"+t,n)}function o(e,t,n,r){"function"==typeof e.removeEventListener?e.removeEventListener(t,n,r||!1):"function"==typeof e.detatchEvent&&e.detatchEvent("on"+t,n)}function a(e,t){var n=Math.max(e.top,t.top),r=Math.min(e.bottom,t.bottom),i=Math.max(e.left,t.left),o=Math.min(e.right,t.right),a=o-i,s=r-n;return a>=0&&s>=0&&{top:n,bottom:r,left:i,right:o,width:a,height:s}||null}function s(e){var t;try{t=e.getBoundingClientRect()}catch(n){}return t?(t.width&&t.height||(t={top:t.top,right:t.right,bottom:t.bottom,left:t.left,width:t.right-t.left,height:t.bottom-t.top}),t):{top:0,bottom:0,left:0,right:0,width:0,height:0}}function u(e,t){var n=t.top-e.top,r=t.left-e.left;return{top:n,left:r,height:t.height,width:t.width,bottom:n+t.height,right:r+t.width}}function c(e,t){for(var n=t;n;){if(n==e)return!0;n=l(n)}return!1}function l(t){var n=t.parentNode;return 9==t.nodeType&&t!=e?d(t):n&&11==n.nodeType&&n.host?n.host:n&&n.assignedSlot?n.assignedSlot.parentNode:n}function d(e){try{return e.defaultView&&e.defaultView.frameElement||null}catch(t){return null}}}()},function(e,t,n){"use strict";e.exports=function(e,t){return function(){for(var n=new Array(arguments.length),r=0;r<n.length;r++)n[r]=arguments[r];return e.apply(t,n)}}},function(e,t,n){"use strict";var r=n(6);function i(e){return encodeURIComponent(e).replace(/%40/gi,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}e.exports=function(e,t,n){if(!t)return e;var o;if(n)o=n(t);else if(r.isURLSearchParams(t))o=t.toString();else{var a=[];r.forEach(t,function(e,t){null!==e&&"undefined"!==typeof e&&(r.isArray(e)?t+="[]":e=[e],r.forEach(e,function(e){r.isDate(e)?e=e.toISOString():r.isObject(e)&&(e=JSON.stringify(e)),a.push(i(t)+"="+i(e))}))}),o=a.join("&")}if(o){var s=e.indexOf("#");-1!==s&&(e=e.slice(0,s)),e+=(-1===e.indexOf("?")?"?":"&")+o}return e}},function(e,t,n){"use strict";e.exports=function(e){return!(!e||!e.__CANCEL__)}},function(e,t,n){"use strict";(function(t){var r=n(6),i=n(57),o={"Content-Type":"application/x-www-form-urlencoded"};function a(e,t){!r.isUndefined(e)&&r.isUndefined(e["Content-Type"])&&(e["Content-Type"]=t)}var s={adapter:function(){var e;return"undefined"!==typeof XMLHttpRequest?e=n(25):"undefined"!==typeof t&&"[object process]"===Object.prototype.toString.call(t)&&(e=n(25)),e}(),transformRequest:[function(e,t){return i(t,"Accept"),i(t,"Content-Type"),r.isFormData(e)||r.isArrayBuffer(e)||r.isBuffer(e)||r.isStream(e)||r.isFile(e)||r.isBlob(e)?e:r.isArrayBufferView(e)?e.buffer:r.isURLSearchParams(e)?(a(t,"application/x-www-form-urlencoded;charset=utf-8"),e.toString()):r.isObject(e)?(a(t,"application/json;charset=utf-8"),JSON.stringify(e)):e}],transformResponse:[function(e){if("string"===typeof e)try{e=JSON.parse(e)}catch(t){}return e}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,validateStatus:function(e){return e>=200&&e<300},headers:{common:{Accept:"application/json, text/plain, */*"}}};r.forEach(["delete","get","head"],function(e){s.headers[e]={}}),r.forEach(["post","put","patch"],function(e){s.headers[e]=r.merge(o)}),e.exports=s}).call(this,n(19))},function(e,t,n){"use strict";var r=n(6),i=n(58),o=n(22),a=n(60),s=n(63),u=n(64),c=n(26);e.exports=function(e){return new Promise(function(t,l){var d=e.data,p=e.headers;r.isFormData(d)&&delete p["Content-Type"];var f=new XMLHttpRequest;if(e.auth){var h=e.auth.username||"",y=e.auth.password||"";p.Authorization="Basic "+btoa(h+":"+y)}var g=a(e.baseURL,e.url);if(f.open(e.method.toUpperCase(),o(g,e.params,e.paramsSerializer),!0),f.timeout=e.timeout,f.onreadystatechange=function(){if(f&&4===f.readyState&&(0!==f.status||f.responseURL&&0===f.responseURL.indexOf("file:"))){var n="getAllResponseHeaders"in f?s(f.getAllResponseHeaders()):null,r={data:e.responseType&&"text"!==e.responseType?f.response:f.responseText,status:f.status,statusText:f.statusText,headers:n,config:e,request:f};i(t,l,r),f=null}},f.onabort=function(){f&&(l(c("Request aborted",e,"ECONNABORTED",f)),f=null)},f.onerror=function(){l(c("Network Error",e,null,f)),f=null},f.ontimeout=function(){var t="timeout of "+e.timeout+"ms exceeded";e.timeoutErrorMessage&&(t=e.timeoutErrorMessage),l(c(t,e,"ECONNABORTED",f)),f=null},r.isStandardBrowserEnv()){var v=n(65),m=(e.withCredentials||u(g))&&e.xsrfCookieName?v.read(e.xsrfCookieName):void 0;m&&(p[e.xsrfHeaderName]=m)}if("setRequestHeader"in f&&r.forEach(p,function(e,t){"undefined"===typeof d&&"content-type"===t.toLowerCase()?delete p[t]:f.setRequestHeader(t,e)}),r.isUndefined(e.withCredentials)||(f.withCredentials=!!e.withCredentials),e.responseType)try{f.responseType=e.responseType}catch(b){if("json"!==e.responseType)throw b}"function"===typeof e.onDownloadProgress&&f.addEventListener("progress",e.onDownloadProgress),"function"===typeof e.onUploadProgress&&f.upload&&f.upload.addEventListener("progress",e.onUploadProgress),e.cancelToken&&e.cancelToken.promise.then(function(e){f&&(f.abort(),l(e),f=null)}),void 0===d&&(d=null),f.send(d)})}},function(e,t,n){"use strict";var r=n(59);e.exports=function(e,t,n,i,o){var a=new Error(e);return r(a,t,n,i,o)}},function(e,t,n){"use strict";var r=n(6);e.exports=function(e,t){t=t||{};var n={},i=["url","method","params","data"],o=["headers","auth","proxy"],a=["baseURL","url","transformRequest","transformResponse","paramsSerializer","timeout","withCredentials","adapter","responseType","xsrfCookieName","xsrfHeaderName","onUploadProgress","onDownloadProgress","maxContentLength","validateStatus","maxRedirects","httpAgent","httpsAgent","cancelToken","socketPath"];r.forEach(i,function(e){"undefined"!==typeof t[e]&&(n[e]=t[e])}),r.forEach(o,function(i){r.isObject(t[i])?n[i]=r.deepMerge(e[i],t[i]):"undefined"!==typeof t[i]?n[i]=t[i]:r.isObject(e[i])?n[i]=r.deepMerge(e[i]):"undefined"!==typeof e[i]&&(n[i]=e[i])}),r.forEach(a,function(r){"undefined"!==typeof t[r]?n[r]=t[r]:"undefined"!==typeof e[r]&&(n[r]=e[r])});var s=i.concat(o).concat(a),u=Object.keys(t).filter(function(e){return-1===s.indexOf(e)});return r.forEach(u,function(r){"undefined"!==typeof t[r]?n[r]=t[r]:"undefined"!==typeof e[r]&&(n[r]=e[r])}),n}},function(e,t,n){"use strict";function r(e){this.message=e}r.prototype.toString=function(){return"Cancel"+(this.message?": "+this.message:"")},r.prototype.__CANCEL__=!0,e.exports=r},function(e,t,n){"use strict";function r(e){var t,n=e.Symbol;return"function"===typeof n?n.observable?t=n.observable:(t=n("observable"),n.observable=t):t="@@observable",t}n.d(t,"a",function(){return r})},function(e,t,n){"use strict";(function(e){n.d(t,"a",function(){return f});var r=function(){for(var e=0,t=0,n=arguments.length;t<n;t++)e+=arguments[t].length;var r=Array(e),i=0;for(t=0;t<n;t++)for(var o=arguments[t],a=0,s=o.length;a<s;a++,i++)r[i]=o[a];return r},i=function(){return function(e,t,n){this.name=e,this.version=t,this.os=n,this.type="browser"}}(),o=function(){return function(t){this.version=t,this.type="node",this.name="node",this.os=e.platform}}(),a=function(){return function(e,t,n,r){this.name=e,this.version=t,this.os=n,this.bot=r,this.type="bot-device"}}(),s=function(){return function(){this.type="bot",this.bot=!0,this.name="bot",this.version=null,this.os=null}}(),u=function(){return function(){this.type="react-native",this.name="react-native",this.version=null,this.os=null}}(),c=/(nuhk|Googlebot|Yammybot|Openbot|Slurp|MSNBot|Ask\ Jeeves\/Teoma|ia_archiver)/,l=3,d=[["aol",/AOLShield\/([0-9\._]+)/],["edge",/Edge\/([0-9\._]+)/],["edge-ios",/EdgiOS\/([0-9\._]+)/],["yandexbrowser",/YaBrowser\/([0-9\._]+)/],["kakaotalk",/KAKAOTALK\s([0-9\.]+)/],["samsung",/SamsungBrowser\/([0-9\.]+)/],["silk",/\bSilk\/([0-9._-]+)\b/],["miui",/MiuiBrowser\/([0-9\.]+)$/],["beaker",/BeakerBrowser\/([0-9\.]+)/],["edge-chromium",/Edg\/([0-9\.]+)/],["chromium-webview",/(?!Chrom.*OPR)wv\).*Chrom(?:e|ium)\/([0-9\.]+)(:?\s|$)/],["chrome",/(?!Chrom.*OPR)Chrom(?:e|ium)\/([0-9\.]+)(:?\s|$)/],["phantomjs",/PhantomJS\/([0-9\.]+)(:?\s|$)/],["crios",/CriOS\/([0-9\.]+)(:?\s|$)/],["firefox",/Firefox\/([0-9\.]+)(?:\s|$)/],["fxios",/FxiOS\/([0-9\.]+)/],["opera-mini",/Opera Mini.*Version\/([0-9\.]+)/],["opera",/Opera\/([0-9\.]+)(?:\s|$)/],["opera",/OPR\/([0-9\.]+)(:?\s|$)/],["ie",/Trident\/7\.0.*rv\:([0-9\.]+).*\).*Gecko$/],["ie",/MSIE\s([0-9\.]+);.*Trident\/[4-7].0/],["ie",/MSIE\s(7\.0)/],["bb10",/BB10;\sTouch.*Version\/([0-9\.]+)/],["android",/Android\s([0-9\.]+)/],["ios",/Version\/([0-9\._]+).*Mobile.*Safari.*/],["safari",/Version\/([0-9\._]+).*Safari/],["facebook",/FBAV\/([0-9\.]+)/],["instagram",/Instagram\s([0-9\.]+)/],["ios-webview",/AppleWebKit\/([0-9\.]+).*Mobile/],["ios-webview",/AppleWebKit\/([0-9\.]+).*Gecko\)$/],["searchbot",/alexa|bot|crawl(er|ing)|facebookexternalhit|feedburner|google web preview|nagios|postrank|pingdom|slurp|spider|yahoo!|yandex/]],p=[["iOS",/iP(hone|od|ad)/],["Android OS",/Android/],["BlackBerry OS",/BlackBerry|BB10/],["Windows Mobile",/IEMobile/],["Amazon OS",/Kindle/],["Windows 3.11",/Win16/],["Windows 95",/(Windows 95)|(Win95)|(Windows_95)/],["Windows 98",/(Windows 98)|(Win98)/],["Windows 2000",/(Windows NT 5.0)|(Windows 2000)/],["Windows XP",/(Windows NT 5.1)|(Windows XP)/],["Windows Server 2003",/(Windows NT 5.2)/],["Windows Vista",/(Windows NT 6.0)/],["Windows 7",/(Windows NT 6.1)/],["Windows 8",/(Windows NT 6.2)/],["Windows 8.1",/(Windows NT 6.3)/],["Windows 10",/(Windows NT 10.0)/],["Windows ME",/Windows ME/],["Open BSD",/OpenBSD/],["Sun OS",/SunOS/],["Chrome OS",/CrOS/],["Linux",/(Linux)|(X11)/],["Mac OS",/(Mac_PowerPC)|(Macintosh)/],["QNX",/QNX/],["BeOS",/BeOS/],["OS/2",/OS\/2/]];function f(t){return t?y(t):"undefined"===typeof document&&"undefined"!==typeof navigator&&"ReactNative"===navigator.product?new u:"undefined"!==typeof navigator?y(navigator.userAgent):"undefined"!==typeof e&&e.version?new o(e.version.slice(1)):null}function h(e){return""!==e&&d.reduce(function(t,n){var r=n[0],i=n[1];if(t)return t;var o=i.exec(e);return!!o&&[r,o]},!1)}function y(e){var t=h(e);if(!t)return null;var n=t[0],o=t[1];if("searchbot"===n)return new s;var u=o[1]&&o[1].split(/[._]/).slice(0,3);u?u.length<l&&(u=r(u,function(e){for(var t=[],n=0;n<e;n++)t.push("0");return t}(l-u.length))):u=[];var d=u.join("."),f=function(e){for(var t=0,n=p.length;t<n;t++){var r=p[t],i=r[0],o=r[1],a=o.exec(e);if(a)return i}return null}(e),y=c.exec(e);return y&&y[1]?new a(n,d,f,y[1]):new i(n,d,f)}}).call(this,n(19))},function(e,t){function n(){return e.exports=n=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},n.apply(this,arguments)}e.exports=n},function(e,t,n){e.exports=n(52)},function(e,t,n){e.exports=n(34)()},function(e,t,n){"use strict";var r=n(35);function i(){}function o(){}o.resetWarningCache=i,e.exports=function(){function e(e,t,n,i,o,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,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:o,resetWarningCache:i};return n.PropTypes=n,n}},function(e,t,n){"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},function(e,t,n){"use strict";var r="function"===typeof Symbol&&Symbol.for,i=r?Symbol.for("react.element"):60103,o=r?Symbol.for("react.portal"):60106,a=r?Symbol.for("react.fragment"):60107,s=r?Symbol.for("react.strict_mode"):60108,u=r?Symbol.for("react.profiler"):60114,c=r?Symbol.for("react.provider"):60109,l=r?Symbol.for("react.context"):60110,d=r?Symbol.for("react.async_mode"):60111,p=r?Symbol.for("react.concurrent_mode"):60111,f=r?Symbol.for("react.forward_ref"):60112,h=r?Symbol.for("react.suspense"):60113,y=r?Symbol.for("react.suspense_list"):60120,g=r?Symbol.for("react.memo"):60115,v=r?Symbol.for("react.lazy"):60116,m=r?Symbol.for("react.block"):60121,b=r?Symbol.for("react.fundamental"):60117,O=r?Symbol.for("react.responder"):60118,_=r?Symbol.for("react.scope"):60119;function S(e){if("object"===typeof e&&null!==e){var t=e.$$typeof;switch(t){case i:switch(e=e.type){case d:case p:case a:case u:case s:case h:return e;default:switch(e=e&&e.$$typeof){case l:case f:case v:case g:case c:return e;default:return t}}case o:return t}}}function E(e){return S(e)===p}t.AsyncMode=d,t.ConcurrentMode=p,t.ContextConsumer=l,t.ContextProvider=c,t.Element=i,t.ForwardRef=f,t.Fragment=a,t.Lazy=v,t.Memo=g,t.Portal=o,t.Profiler=u,t.StrictMode=s,t.Suspense=h,t.isAsyncMode=function(e){return E(e)||S(e)===d},t.isConcurrentMode=E,t.isContextConsumer=function(e){return S(e)===l},t.isContextProvider=function(e){return S(e)===c},t.isElement=function(e){return"object"===typeof e&&null!==e&&e.$$typeof===i},t.isForwardRef=function(e){return S(e)===f},t.isFragment=function(e){return S(e)===a},t.isLazy=function(e){return S(e)===v},t.isMemo=function(e){return S(e)===g},t.isPortal=function(e){return S(e)===o},t.isProfiler=function(e){return S(e)===u},t.isStrictMode=function(e){return S(e)===s},t.isSuspense=function(e){return S(e)===h},t.isValidElementType=function(e){return"string"===typeof e||"function"===typeof e||e===a||e===p||e===u||e===s||e===h||e===y||"object"===typeof e&&null!==e&&(e.$$typeof===v||e.$$typeof===g||e.$$typeof===c||e.$$typeof===l||e.$$typeof===f||e.$$typeof===b||e.$$typeof===O||e.$$typeof===_||e.$$typeof===m)},t.typeOf=S},function(e,t){var n;n=function(){return this}();try{n=n||new Function("return this")()}catch(r){"object"===typeof window&&(n=window)}e.exports=n},function(e,t){e.exports=function(e){if(!e.webpackPolyfill){var t=Object.create(e);t.children||(t.children=[]),Object.defineProperty(t,"loaded",{enumerable:!0,get:function(){return t.l}}),Object.defineProperty(t,"id",{enumerable:!0,get:function(){return t.i}}),Object.defineProperty(t,"exports",{enumerable:!0}),t.webpackPolyfill=1}return t}},function(e,t,n){var r=n(17);e.exports=function(e){if(Array.isArray(e))return r(e)}},function(e,t){e.exports=function(e){if("undefined"!==typeof Symbol&&Symbol.iterator in Object(e))return Array.from(e)}},function(e,t){e.exports=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(e,t){e.exports=function(e){if(Array.isArray(e))return e}},function(e,t){e.exports=function(e,t){if("undefined"!==typeof Symbol&&Symbol.iterator in Object(e)){var n=[],r=!0,i=!1,o=void 0;try{for(var a,s=e[Symbol.iterator]();!(r=(a=s.next()).done)&&(n.push(a.value),!t||n.length!==t);r=!0);}catch(u){i=!0,o=u}finally{try{r||null==s.return||s.return()}finally{if(i)throw o}}return n}}},function(e,t){e.exports=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(e,t){e.exports=function(e,t){if(null==e)return{};var n,r,i={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||(i[n]=e[n]);return i}},function(e,t){},function(e,t,n){var r=function(e){"use strict";var t,n=Object.prototype,r=n.hasOwnProperty,i="function"===typeof Symbol?Symbol:{},o=i.iterator||"@@iterator",a=i.asyncIterator||"@@asyncIterator",s=i.toStringTag||"@@toStringTag";function u(e,t,n){return Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{u({},"")}catch(M){u=function(e,t,n){return e[t]=n}}function c(e,t,n,r){var i=t&&t.prototype instanceof g?t:g,o=Object.create(i.prototype),a=new C(r||[]);return o._invoke=function(e,t,n){var r=d;return function(i,o){if(r===f)throw new Error("Generator is already running");if(r===h){if("throw"===i)throw o;return D()}for(n.method=i,n.arg=o;;){var a=n.delegate;if(a){var s=P(a,n);if(s){if(s===y)continue;return s}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(r===d)throw r=h,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);r=f;var u=l(e,t,n);if("normal"===u.type){if(r=n.done?h:p,u.arg===y)continue;return{value:u.arg,done:n.done}}"throw"===u.type&&(r=h,n.method="throw",n.arg=u.arg)}}}(e,n,a),o}function l(e,t,n){try{return{type:"normal",arg:e.call(t,n)}}catch(M){return{type:"throw",arg:M}}}e.wrap=c;var d="suspendedStart",p="suspendedYield",f="executing",h="completed",y={};function g(){}function v(){}function m(){}var b={};b[o]=function(){return this};var O=Object.getPrototypeOf,_=O&&O(O(R([])));_&&_!==n&&r.call(_,o)&&(b=_);var S=m.prototype=g.prototype=Object.create(b);function E(e){["next","throw","return"].forEach(function(t){u(e,t,function(e){return this._invoke(t,e)})})}function w(e,t){var n;this._invoke=function(i,o){function a(){return new t(function(n,a){!function n(i,o,a,s){var u=l(e[i],e,o);if("throw"!==u.type){var c=u.arg,d=c.value;return d&&"object"===typeof d&&r.call(d,"__await")?t.resolve(d.__await).then(function(e){n("next",e,a,s)},function(e){n("throw",e,a,s)}):t.resolve(d).then(function(e){c.value=e,a(c)},function(e){return n("throw",e,a,s)})}s(u.arg)}(i,o,n,a)})}return n=n?n.then(a,a):a()}}function P(e,n){var r=e.iterator[n.method];if(r===t){if(n.delegate=null,"throw"===n.method){if(e.iterator.return&&(n.method="return",n.arg=t,P(e,n),"throw"===n.method))return y;n.method="throw",n.arg=new TypeError("The iterator does not provide a 'throw' method")}return y}var i=l(r,e.iterator,n.arg);if("throw"===i.type)return n.method="throw",n.arg=i.arg,n.delegate=null,y;var o=i.arg;return o?o.done?(n[e.resultName]=o.value,n.next=e.nextLoc,"return"!==n.method&&(n.method="next",n.arg=t),n.delegate=null,y):o:(n.method="throw",n.arg=new TypeError("iterator result is not an object"),n.delegate=null,y)}function T(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function A(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function C(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(T,this),this.reset(!0)}function R(e){if(e){var n=e[o];if(n)return n.call(e);if("function"===typeof e.next)return e;if(!isNaN(e.length)){var i=-1,a=function n(){for(;++i<e.length;)if(r.call(e,i))return n.value=e[i],n.done=!1,n;return n.value=t,n.done=!0,n};return a.next=a}}return{next:D}}function D(){return{value:t,done:!0}}return v.prototype=S.constructor=m,m.constructor=v,v.displayName=u(m,s,"GeneratorFunction"),e.isGeneratorFunction=function(e){var t="function"===typeof e&&e.constructor;return!!t&&(t===v||"GeneratorFunction"===(t.displayName||t.name))},e.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,m):(e.__proto__=m,u(e,s,"GeneratorFunction")),e.prototype=Object.create(S),e},e.awrap=function(e){return{__await:e}},E(w.prototype),w.prototype[a]=function(){return this},e.AsyncIterator=w,e.async=function(t,n,r,i,o){void 0===o&&(o=Promise);var a=new w(c(t,n,r,i),o);return e.isGeneratorFunction(n)?a:a.next().then(function(e){return e.done?e.value:a.next()})},E(S),u(S,s,"Generator"),S[o]=function(){return this},S.toString=function(){return"[object Generator]"},e.keys=function(e){var t=[];for(var n in e)t.push(n);return t.reverse(),function n(){for(;t.length;){var r=t.pop();if(r in e)return n.value=r,n.done=!1,n}return n.done=!0,n}},e.values=R,C.prototype={constructor:C,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=t,this.done=!1,this.delegate=null,this.method="next",this.arg=t,this.tryEntries.forEach(A),!e)for(var n in this)"t"===n.charAt(0)&&r.call(this,n)&&!isNaN(+n.slice(1))&&(this[n]=t)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var n=this;function i(r,i){return s.type="throw",s.arg=e,n.next=r,i&&(n.method="next",n.arg=t),!!i}for(var o=this.tryEntries.length-1;o>=0;--o){var a=this.tryEntries[o],s=a.completion;if("root"===a.tryLoc)return i("end");if(a.tryLoc<=this.prev){var u=r.call(a,"catchLoc"),c=r.call(a,"finallyLoc");if(u&&c){if(this.prev<a.catchLoc)return i(a.catchLoc,!0);if(this.prev<a.finallyLoc)return i(a.finallyLoc)}else if(u){if(this.prev<a.catchLoc)return i(a.catchLoc,!0)}else{if(!c)throw new Error("try statement without catch or finally");if(this.prev<a.finallyLoc)return i(a.finallyLoc)}}}},abrupt:function(e,t){for(var n=this.tryEntries.length-1;n>=0;--n){var i=this.tryEntries[n];if(i.tryLoc<=this.prev&&r.call(i,"finallyLoc")&&this.prev<i.finallyLoc){var o=i;break}}o&&("break"===e||"continue"===e)&&o.tryLoc<=t&&t<=o.finallyLoc&&(o=null);var a=o?o.completion:{};return a.type=e,a.arg=t,o?(this.method="next",this.next=o.finallyLoc,y):this.complete(a)},complete:function(e,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&t&&(this.next=t),y},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.finallyLoc===e)return this.complete(n.completion,n.afterLoc),A(n),y}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.tryLoc===e){var r=n.completion;if("throw"===r.type){var i=r.arg;A(n)}return i}}throw new Error("illegal catch attempt")},delegateYield:function(e,n,r){return this.delegate={iterator:R(e),resultName:n,nextLoc:r},"next"===this.method&&(this.arg=t),y}},e}(e.exports);try{regeneratorRuntime=r}catch(i){Function("r","regeneratorRuntime = r")(r)}},function(e,t){function n(t,r){return e.exports=n=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},n(t,r)}e.exports=n},function(e,t){function n(t){return"function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?e.exports=n=function(e){return typeof e}:e.exports=n=function(e){return e&&"function"===typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},n(t)}e.exports=n},function(e,t,n){var r=n(5);e.exports=function(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&null!==(e=r(e)););return e}},function(e){e.exports=JSON.parse('{"name":"mplayer","version":"4.0.13","description":"minute media player","author":"minute media","private":true,"scripts":{"start":"yarn compile && PORT=2001 per-env","start:production":"npm run -s serve","start:development":"npm run -s dev","build":"preact build --no-prerender","serve":"preact build && serve build --single","dev":"preact watch","lint":"./node_modules/.bin/eslint --cache --ext .js,.ts,.tsx ./src/.","test":"jest","compile":"webpack","compile:production":"NODE_ENV=production webpack","compile:qa":"NODE_ENV=qa webpack"},"devDependencies":{"@babel/cli":"^7.8.4","@babel/core":"^7.8.4","@babel/plugin-proposal-class-properties":"^7.8.3","@babel/plugin-transform-react-jsx":"^7.8.3","@babel/plugin-transform-runtime":"^7.9.0","@babel/preset-env":"^7.8.4","@babel/preset-react":"^7.8.3","@babel/preset-typescript":"^7.8.3","@typescript-eslint/eslint-plugin":"^2.10.0","@typescript-eslint/parser":"^2.10.0","eslint":"^6.7.2","eslint-config-mm":"git+https://github.com/FTBpro/eslint-config-mm.git#v3.1","eslint-loader":"3.0.2","identity-obj-proxy":"^3.0.0","jest":"^24.9.0","jest-emotion":"^10.0.32","jest-preset-preact":"^1.0.0","per-env":"^1.0.2","preact-cli":"^3.0.0-rc.6","react":"^16.13.1","react-dom":"^16.13.1","serve":"^11.1.0"},"dependencies":{"@emotion/core":"^10.0.28","axios":"^0.19.2","babel-loader":"^8.0.6","detect-browser":"^5.1.0","emotion":"^10.0.27","enzyme":"^3.11.0","enzyme-adapter-preact-pure":"^2.2.0","hls.js":"^0.13.2","intersection-observer":"^0.8.0","jest-enzyme":"^7.1.2","jest-junit":"^10.0.0","preact":"^10.0.1","preact-render-to-string":"^5.1.8","react-redux":"^7.2.0","react-svg-loader":"^3.0.3","redux":"^4.0.5","redux-thunk":"^2.3.0","terser-webpack-plugin":"1.2.3","webpack":"^4.41.6","webpack-cli":"^3.3.11"}}')},function(e,t,n){"use strict";var r=n(6),i=n(21),o=n(53),a=n(27);function s(e){var t=new o(e),n=i(o.prototype.request,t);return r.extend(n,o.prototype,t),r.extend(n,t),n}var u=s(n(24));u.Axios=o,u.create=function(e){return s(a(u.defaults,e))},u.Cancel=n(28),u.CancelToken=n(66),u.isCancel=n(23),u.all=function(e){return Promise.all(e)},u.spread=n(67),e.exports=u,e.exports.default=u},function(e,t,n){"use strict";var r=n(6),i=n(22),o=n(54),a=n(55),s=n(27);function u(e){this.defaults=e,this.interceptors={request:new o,response:new o}}u.prototype.request=function(e){"string"===typeof e?(e=arguments[1]||{}).url=arguments[0]:e=e||{},(e=s(this.defaults,e)).method?e.method=e.method.toLowerCase():this.defaults.method?e.method=this.defaults.method.toLowerCase():e.method="get";var t=[a,void 0],n=Promise.resolve(e);for(this.interceptors.request.forEach(function(e){t.unshift(e.fulfilled,e.rejected)}),this.interceptors.response.forEach(function(e){t.push(e.fulfilled,e.rejected)});t.length;)n=n.then(t.shift(),t.shift());return n},u.prototype.getUri=function(e){return e=s(this.defaults,e),i(e.url,e.params,e.paramsSerializer).replace(/^\?/,"")},r.forEach(["delete","get","head","options"],function(e){u.prototype[e]=function(t,n){return this.request(r.merge(n||{},{method:e,url:t}))}}),r.forEach(["post","put","patch"],function(e){u.prototype[e]=function(t,n,i){return this.request(r.merge(i||{},{method:e,url:t,data:n}))}}),e.exports=u},function(e,t,n){"use strict";var r=n(6);function i(){this.handlers=[]}i.prototype.use=function(e,t){return this.handlers.push({fulfilled:e,rejected:t}),this.handlers.length-1},i.prototype.eject=function(e){this.handlers[e]&&(this.handlers[e]=null)},i.prototype.forEach=function(e){r.forEach(this.handlers,function(t){null!==t&&e(t)})},e.exports=i},function(e,t,n){"use strict";var r=n(6),i=n(56),o=n(23),a=n(24);function s(e){e.cancelToken&&e.cancelToken.throwIfRequested()}e.exports=function(e){return s(e),e.headers=e.headers||{},e.data=i(e.data,e.headers,e.transformRequest),e.headers=r.merge(e.headers.common||{},e.headers[e.method]||{},e.headers),r.forEach(["delete","get","head","post","put","patch","common"],function(t){delete e.headers[t]}),(e.adapter||a.adapter)(e).then(function(t){return s(e),t.data=i(t.data,t.headers,e.transformResponse),t},function(t){return o(t)||(s(e),t&&t.response&&(t.response.data=i(t.response.data,t.response.headers,e.transformResponse))),Promise.reject(t)})}},function(e,t,n){"use strict";var r=n(6);e.exports=function(e,t,n){return r.forEach(n,function(n){e=n(e,t)}),e}},function(e,t,n){"use strict";var r=n(6);e.exports=function(e,t){r.forEach(e,function(n,r){r!==t&&r.toUpperCase()===t.toUpperCase()&&(e[t]=n,delete e[r])})}},function(e,t,n){"use strict";var r=n(26);e.exports=function(e,t,n){var i=n.config.validateStatus;!i||i(n.status)?e(n):t(r("Request failed with status code "+n.status,n.config,null,n.request,n))}},function(e,t,n){"use strict";e.exports=function(e,t,n,r,i){return e.config=t,n&&(e.code=n),e.request=r,e.response=i,e.isAxiosError=!0,e.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:this.config,code:this.code}},e}},function(e,t,n){"use strict";var r=n(61),i=n(62);e.exports=function(e,t){return e&&!r(t)?i(e,t):t}},function(e,t,n){"use strict";e.exports=function(e){return/^([a-z][a-z\d\+\-\.]*:)?\/\//i.test(e)}},function(e,t,n){"use strict";e.exports=function(e,t){return t?e.replace(/\/+$/,"")+"/"+t.replace(/^\/+/,""):e}},function(e,t,n){"use strict";var r=n(6),i=["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"];e.exports=function(e){var t,n,o,a={};return e?(r.forEach(e.split("\n"),function(e){if(o=e.indexOf(":"),t=r.trim(e.substr(0,o)).toLowerCase(),n=r.trim(e.substr(o+1)),t){if(a[t]&&i.indexOf(t)>=0)return;a[t]="set-cookie"===t?(a[t]?a[t]:[]).concat([n]):a[t]?a[t]+", "+n:n}}),a):a}},function(e,t,n){"use strict";var r=n(6);e.exports=r.isStandardBrowserEnv()?function(){var e,t=/(msie|trident)/i.test(navigator.userAgent),n=document.createElement("a");function i(e){var r=e;return t&&(n.setAttribute("href",r),r=n.href),n.setAttribute("href",r),{href:n.href,protocol:n.protocol?n.protocol.replace(/:$/,""):"",host:n.host,search:n.search?n.search.replace(/^\?/,""):"",hash:n.hash?n.hash.replace(/^#/,""):"",hostname:n.hostname,port:n.port,pathname:"/"===n.pathname.charAt(0)?n.pathname:"/"+n.pathname}}return e=i(window.location.href),function(t){var n=r.isString(t)?i(t):t;return n.protocol===e.protocol&&n.host===e.host}}():function(){return!0}},function(e,t,n){"use strict";var r=n(6);e.exports=r.isStandardBrowserEnv()?{write:function(e,t,n,i,o,a){var s=[];s.push(e+"="+encodeURIComponent(t)),r.isNumber(n)&&s.push("expires="+new Date(n).toGMTString()),r.isString(i)&&s.push("path="+i),r.isString(o)&&s.push("domain="+o),!0===a&&s.push("secure"),document.cookie=s.join("; ")},read:function(e){var 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(e,t,n){"use strict";var r=n(28);function i(e){if("function"!==typeof e)throw new TypeError("executor must be a function.");var t;this.promise=new Promise(function(e){t=e});var n=this;e(function(e){n.reason||(n.reason=new r(e),t(n.reason))})}i.prototype.throwIfRequested=function(){if(this.reason)throw this.reason},i.source=function(){var e;return{token:new i(function(t){e=t}),cancel:e}},e.exports=i},function(e,t,n){"use strict";e.exports=function(e){return function(t){return e.apply(null,t)}}},function(e,t,n){"use strict";n.r(t);var r={};n.r(r),n.d(r,"render",function(){return B}),n.d(r,"hydrate",function(){return H}),n.d(r,"createElement",function(){return b}),n.d(r,"h",function(){return b}),n.d(r,"Fragment",function(){return S}),n.d(r,"createRef",function(){return _}),n.d(r,"isValidElement",function(){return a}),n.d(r,"Component",function(){return E}),n.d(r,"cloneElement",function(){return q}),n.d(r,"createContext",function(){return W}),n.d(r,"toChildArray",function(){return R}),n.d(r,"__u",function(){return U}),n.d(r,"options",function(){return o});var i={};n.r(i),n.d(i,"useState",function(){return te}),n.d(i,"useReducer",function(){return ne}),n.d(i,"useEffect",function(){return re}),n.d(i,"useLayoutEffect",function(){return ie}),n.d(i,"useRef",function(){return oe}),n.d(i,"useImperativeHandle",function(){return ae}),n.d(i,"useMemo",function(){return se}),n.d(i,"useCallback",function(){return ue}),n.d(i,"useContext",function(){return ce}),n.d(i,"useDebugValue",function(){return le}),n.d(i,"useErrorBoundary",function(){return de});var o,a,s,u,c,l,d,p=n(0),f=n.n(p),h={},y=[],g=/acit|ex(?:s|g|n|p|$)|rph|grid|ows|mnc|ntw|ine[ch]|zoo|^ord|itera/i;function v(e,t){for(var n in t)e[n]=t[n];return e}function m(e){var t=e.parentNode;t&&t.removeChild(e)}function b(e,t,n){var r,i,o,a=arguments,s={};for(o in t)"key"==o?r=t[o]:"ref"==o?i=t[o]:s[o]=t[o];if(arguments.length>3)for(n=[n],o=3;o<arguments.length;o++)n.push(a[o]);if(null!=n&&(s.children=n),"function"==typeof e&&null!=e.defaultProps)for(o in e.defaultProps)void 0===s[o]&&(s[o]=e.defaultProps[o]);return O(e,s,r,i,null)}function O(e,t,n,r,i){var a={type:e,props:t,key:n,ref:r,__k:null,__:null,__b:0,__e:null,__d:void 0,__c:null,constructor:void 0,__v:i};return null==i&&(a.__v=a),null!=o.vnode&&o.vnode(a),a}function _(){return{current:null}}function S(e){return e.children}function E(e,t){this.props=e,this.context=t}function w(e,t){if(null==t)return e.__?w(e.__,e.__.__k.indexOf(e)+1):null;for(var n;t<e.__k.length;t++)if(null!=(n=e.__k[t])&&null!=n.__e)return n.__e;return"function"==typeof e.type?w(e):null}function P(e){var t,n;if(null!=(e=e.__)&&null!=e.__c){for(e.__e=e.__c.base=null,t=0;t<e.__k.length;t++)if(null!=(n=e.__k[t])&&null!=n.__e){e.__e=e.__c.base=n.__e;break}return P(e)}}function T(e){(!e.__d&&(e.__d=!0)&&s.push(e)&&!A.__r++||c!==o.debounceRendering)&&((c=o.debounceRendering)||u)(A)}function A(){for(var e;A.__r=s.length;)e=s.sort(function(e,t){return e.__v.__b-t.__v.__b}),s=[],e.some(function(e){var t,n,r,i,o,a,s;e.__d&&(a=(o=(t=e).__v).__e,(s=t.__P)&&(n=[],(r=v({},o)).__v=r,i=L(s,o,r,t.__n,void 0!==s.ownerSVGElement,null,n,null==a?w(o):a),x(n,o),i!=a&&P(o)))})}function C(e,t,n,r,i,o,a,s,u,c){var l,d,p,f,g,v,b,_=r&&r.__k||y,E=_.length;for(u==h&&(u=null!=a?a[0]:E?w(r,0):null),n.__k=[],l=0;l<t.length;l++)if(null!=(f=n.__k[l]=null==(f=t[l])||"boolean"==typeof f?null:"string"==typeof f||"number"==typeof f?O(null,f,null,null,f):Array.isArray(f)?O(S,{children:f},null,null,null):null!=f.__e||null!=f.__c?O(f.type,f.props,f.key,null,f.__v):f)){if(f.__=n,f.__b=n.__b+1,null===(p=_[l])||p&&f.key==p.key&&f.type===p.type)_[l]=void 0;else for(d=0;d<E;d++){if((p=_[d])&&f.key==p.key&&f.type===p.type){_[d]=void 0;break}p=null}g=L(e,f,p=p||h,i,o,a,s,u,c),(d=f.ref)&&p.ref!=d&&(b||(b=[]),p.ref&&b.push(p.ref,null,f),b.push(d,f.__c||g,f)),null!=g?(null==v&&(v=g),u=D(e,f,p,_,a,g,u),c||"option"!=n.type?"function"==typeof n.type&&(n.__d=u):e.value=""):u&&p.__e==u&&u.parentNode!=e&&(u=w(p))}if(n.__e=v,null!=a&&"function"!=typeof n.type)for(l=a.length;l--;)null!=a[l]&&m(a[l]);for(l=E;l--;)null!=_[l]&&U(_[l],_[l]);if(b)for(l=0;l<b.length;l++)j(b[l],b[++l],b[++l])}function R(e,t){return t=t||[],null==e||"boolean"==typeof e||(Array.isArray(e)?e.some(function(e){R(e,t)}):t.push(e)),t}function D(e,t,n,r,i,o,a){var s,u,c;if(void 0!==t.__d)s=t.__d,t.__d=void 0;else if(i==n||o!=a||null==o.parentNode)e:if(null==a||a.parentNode!==e)e.appendChild(o),s=null;else{for(u=a,c=0;(u=u.nextSibling)&&c<r.length;c+=2)if(u==o)break e;e.insertBefore(o,a),s=a}return void 0!==s?s:o.nextSibling}function M(e,t,n){"-"===t[0]?e.setProperty(t,n):e[t]=null==n?"":"number"!=typeof n||g.test(t)?n:n+"px"}function I(e,t,n,r,i){var o,a;if(i&&"className"==t&&(t="class"),"style"===t)if("string"==typeof n)e.style=n;else{if("string"==typeof r&&(e.style=r=""),r)for(t in r)n&&t in n||M(e.style,t,"");if(n)for(t in n)r&&n[t]===r[t]||M(e.style,t,n[t])}else"o"===t[0]&&"n"===t[1]?(o=t!==(t=t.replace(/Capture$/,"")),(a=t.toLowerCase())in e&&(t=a),t=t.slice(2),e.l||(e.l={}),e.l[t]=n,n?r||e.addEventListener(t,k,o):e.removeEventListener(t,k,o)):"list"!==t&&"tagName"!==t&&"form"!==t&&"type"!==t&&"size"!==t&&"download"!==t&&"href"!==t&&!i&&t in e?e[t]=null==n?"":n:"function"!=typeof n&&"dangerouslySetInnerHTML"!==t&&(t!==(t=t.replace(/xlink:?/,""))?null==n||!1===n?e.removeAttributeNS("http://www.w3.org/1999/xlink",t.toLowerCase()):e.setAttributeNS("http://www.w3.org/1999/xlink",t.toLowerCase(),n):null==n||!1===n&&!/^ar/.test(t)?e.removeAttribute(t):e.setAttribute(t,n))}function k(e){this.l[e.type](o.event?o.event(e):e)}function N(e,t,n){var r,i;for(r=0;r<e.__k.length;r++)(i=e.__k[r])&&(i.__=e,i.__e&&("function"==typeof i.type&&i.__k.length>1&&N(i,t,n),t=D(n,i,i,e.__k,null,i.__e,t),"function"==typeof e.type&&(e.__d=t)))}function L(e,t,n,r,i,a,s,u,c){var l,d,p,f,h,y,g,m,b,O,_,w=t.type;if(void 0!==t.constructor)return null;(l=o.__b)&&l(t);try{e:if("function"==typeof w){if(m=t.props,b=(l=w.contextType)&&r[l.__c],O=l?b?b.props.value:l.__:r,n.__c?g=(d=t.__c=n.__c).__=d.__E:("prototype"in w&&w.prototype.render?t.__c=d=new w(m,O):(t.__c=d=new E(m,O),d.constructor=w,d.render=F),b&&b.sub(d),d.props=m,d.state||(d.state={}),d.context=O,d.__n=r,p=d.__d=!0,d.__h=[]),null==d.__s&&(d.__s=d.state),null!=w.getDerivedStateFromProps&&(d.__s==d.state&&(d.__s=v({},d.__s)),v(d.__s,w.getDerivedStateFromProps(m,d.__s))),f=d.props,h=d.state,p)null==w.getDerivedStateFromProps&&null!=d.componentWillMount&&d.componentWillMount(),null!=d.componentDidMount&&d.__h.push(d.componentDidMount);else{if(null==w.getDerivedStateFromProps&&m!==f&&null!=d.componentWillReceiveProps&&d.componentWillReceiveProps(m,O),!d.__e&&null!=d.shouldComponentUpdate&&!1===d.shouldComponentUpdate(m,d.__s,O)||t.__v===n.__v){d.props=m,d.state=d.__s,t.__v!==n.__v&&(d.__d=!1),d.__v=t,t.__e=n.__e,t.__k=n.__k,d.__h.length&&s.push(d),N(t,u,e);break e}null!=d.componentWillUpdate&&d.componentWillUpdate(m,d.__s,O),null!=d.componentDidUpdate&&d.__h.push(function(){d.componentDidUpdate(f,h,y)})}d.context=O,d.props=m,d.state=d.__s,(l=o.__r)&&l(t),d.__d=!1,d.__v=t,d.__P=e,l=d.render(d.props,d.state,d.context),d.state=d.__s,null!=d.getChildContext&&(r=v(v({},r),d.getChildContext())),p||null==d.getSnapshotBeforeUpdate||(y=d.getSnapshotBeforeUpdate(f,h)),_=null!=l&&l.type==S&&null==l.key?l.props.children:l,C(e,Array.isArray(_)?_:[_],t,n,r,i,a,s,u,c),d.base=t.__e,d.__h.length&&s.push(d),g&&(d.__E=d.__=null),d.__e=!1}else null==a&&t.__v===n.__v?(t.__k=n.__k,t.__e=n.__e):t.__e=V(n.__e,t,n,r,i,a,s,c);(l=o.diffed)&&l(t)}catch(e){t.__v=null,o.__e(e,t,n)}return t.__e}function x(e,t){o.__c&&o.__c(t,e),e.some(function(t){try{e=t.__h,t.__h=[],e.some(function(e){e.call(t)})}catch(e){o.__e(e,t.__v)}})}function V(e,t,n,r,i,o,a,s){var u,c,l,d,p,f=n.props,g=t.props;if(i="svg"===t.type||i,null!=o)for(u=0;u<o.length;u++)if(null!=(c=o[u])&&((null===t.type?3===c.nodeType:c.localName===t.type)||e==c)){e=c,o[u]=null;break}if(null==e){if(null===t.type)return document.createTextNode(g);e=i?document.createElementNS("http://www.w3.org/2000/svg",t.type):document.createElement(t.type,g.is&&{is:g.is}),o=null,s=!1}if(null===t.type)f!==g&&e.data!==g&&(e.data=g);else{if(null!=o&&(o=y.slice.call(e.childNodes)),l=(f=n.props||h).dangerouslySetInnerHTML,d=g.dangerouslySetInnerHTML,!s){if(null!=o)for(f={},p=0;p<e.attributes.length;p++)f[e.attributes[p].name]=e.attributes[p].value;(d||l)&&(d&&l&&d.__html==l.__html||(e.innerHTML=d&&d.__html||""))}(function(e,t,n,r,i){var o;for(o in n)"children"===o||"key"===o||o in t||I(e,o,null,n[o],r);for(o in t)i&&"function"!=typeof t[o]||"children"===o||"key"===o||"value"===o||"checked"===o||n[o]===t[o]||I(e,o,t[o],n[o],r)})(e,g,f,i,s),d?t.__k=[]:(u=t.props.children,C(e,Array.isArray(u)?u:[u],t,n,r,"foreignObject"!==t.type&&i,o,a,h,s)),s||("value"in g&&void 0!==(u=g.value)&&u!==e.value&&I(e,"value",u,f.value,!1),"checked"in g&&void 0!==(u=g.checked)&&u!==e.checked&&I(e,"checked",u,f.checked,!1))}return e}function j(e,t,n){try{"function"==typeof e?e(t):e.current=t}catch(e){o.__e(e,n)}}function U(e,t,n){var r,i,a;if(o.unmount&&o.unmount(e),(r=e.ref)&&(r.current&&r.current!==e.__e||j(r,null,t)),n||"function"==typeof e.type||(n=null!=(i=e.__e)),e.__e=e.__d=void 0,null!=(r=e.__c)){if(r.componentWillUnmount)try{r.componentWillUnmount()}catch(e){o.__e(e,t)}r.base=r.__P=null}if(r=e.__k)for(a=0;a<r.length;a++)r[a]&&U(r[a],t,n);null!=i&&m(i)}function F(e,t,n){return this.constructor(e,n)}function B(e,t,n){var r,i,a;o.__&&o.__(e,t),i=(r=n===l)?null:n&&n.__k||t.__k,e=b(S,null,[e]),a=[],L(t,(r?t:n||t).__k=e,i||h,h,void 0!==t.ownerSVGElement,n&&!r?[n]:i?null:t.childNodes.length?y.slice.call(t.childNodes):null,a,n||h,r),x(a,e)}function H(e,t){B(e,t,l)}function q(e,t,n){var r,i,o,a=arguments,s=v({},e.props);for(o in t)"key"==o?r=t[o]:"ref"==o?i=t[o]:s[o]=t[o];if(arguments.length>3)for(n=[n],o=3;o<arguments.length;o++)n.push(a[o]);return null!=n&&(s.children=n),O(e.type,s,r||e.key,i||e.ref,null)}function W(e,t){var n={__c:t="__cC"+d++,__:e,Consumer:function(e,t){return e.children(t)},Provider:function(e,n,r){return this.getChildContext||(n=[],(r={})[t]=this,this.getChildContext=function(){return r},this.shouldComponentUpdate=function(e){this.props.value!==e.value&&n.some(T)},this.sub=function(e){n.push(e);var t=e.componentWillUnmount;e.componentWillUnmount=function(){n.splice(n.indexOf(e),1),t&&t.call(e)}}),e.children}};return n.Provider.__=n.Consumer.contextType=n}o={__e:function(e,t){for(var n,r;t=t.__;)if((n=t.__c)&&!n.__)try{if(n.constructor&&null!=n.constructor.getDerivedStateFromError&&(r=!0,n.setState(n.constructor.getDerivedStateFromError(e))),null!=n.componentDidCatch&&(r=!0,n.componentDidCatch(e)),r)return T(n.__E=n)}catch(t){e=t}throw e}},a=function(e){return null!=e&&void 0===e.constructor},E.prototype.setState=function(e,t){var n;n=null!=this.__s&&this.__s!==this.state?this.__s:this.__s=v({},this.state),"function"==typeof e&&(e=e(v({},n),this.props)),e&&v(n,e),null!=e&&this.__v&&(t&&this.__h.push(t),T(this))},E.prototype.forceUpdate=function(e){this.__v&&(this.__e=!0,e&&this.__h.push(e),T(this))},E.prototype.render=S,s=[],u="function"==typeof Promise?Promise.prototype.then.bind(Promise.resolve()):setTimeout,A.__r=0,l=h,d=0;var z,G,$,K=0,Y=[],Z=o.__r,X=o.diffed,J=o.__c,Q=o.unmount;function ee(e,t){o.__h&&o.__h(G,e,K||t),K=0;var n=G.__H||(G.__H={__:[],__h:[]});return e>=n.__.length&&n.__.push({}),n.__[e]}function te(e){return K=1,ne(ve,e)}function ne(e,t,n){var r=ee(z++,2);return r.t=e,r.__c||(r.__c=G,r.__=[n?n(t):ve(void 0,t),function(e){var t=r.t(r.__[0],e);r.__[0]!==t&&(r.__=[t,r.__[1]],r.__c.setState({}))}]),r.__}function re(e,t){var n=ee(z++,3);!o.__s&&ge(n.__H,t)&&(n.__=e,n.__H=t,G.__H.__h.push(n))}function ie(e,t){var n=ee(z++,4);!o.__s&&ge(n.__H,t)&&(n.__=e,n.__H=t,G.__h.push(n))}function oe(e){return K=5,se(function(){return{current:e}},[])}function ae(e,t,n){K=6,ie(function(){"function"==typeof e?e(t()):e&&(e.current=t())},null==n?n:n.concat(e))}function se(e,t){var n=ee(z++,7);return ge(n.__H,t)?(n.__H=t,n.__h=e,n.__=e()):n.__}function ue(e,t){return K=8,se(function(){return e},t)}function ce(e){var t=G.context[e.__c],n=ee(z++,9);return n.__c=e,t?(null==n.__&&(n.__=!0,t.sub(G)),t.props.value):e.__}function le(e,t){o.useDebugValue&&o.useDebugValue(t?t(e):e)}function de(e){var t=ee(z++,10),n=te();return t.__=e,G.componentDidCatch||(G.componentDidCatch=function(e){t.__&&t.__(e),n[1](e)}),[n[0],function(){n[1](void 0)}]}function pe(){Y.some(function(e){if(e.__P)try{e.__H.__h.forEach(he),e.__H.__h.forEach(ye),e.__H.__h=[]}catch(t){return e.__H.__h=[],o.__e(t,e.__v),!0}}),Y=[]}o.__r=function(e){Z&&Z(e),z=0;var t=(G=e.__c).__H;t&&(t.__h.forEach(he),t.__h.forEach(ye),t.__h=[])},o.diffed=function(e){X&&X(e);var t=e.__c;t&&t.__H&&t.__H.__h.length&&(1!==Y.push(t)&&$===o.requestAnimationFrame||(($=o.requestAnimationFrame)||function(e){var t,n=function(){clearTimeout(r),fe&&cancelAnimationFrame(t),setTimeout(e)},r=setTimeout(n,100);fe&&(t=requestAnimationFrame(n))})(pe))},o.__c=function(e,t){t.some(function(e){try{e.__h.forEach(he),e.__h=e.__h.filter(function(e){return!e.__||ye(e)})}catch(n){t.some(function(e){e.__h&&(e.__h=[])}),t=[],o.__e(n,e.__v)}}),J&&J(e,t)},o.unmount=function(e){Q&&Q(e);var t=e.__c;if(t&&t.__H)try{t.__H.__.forEach(he)}catch(e){o.__e(e,t.__v)}};var fe="function"==typeof requestAnimationFrame;function he(e){"function"==typeof e.u&&e.u()}function ye(e){e.u=e.__()}function ge(e,t){return!e||t.some(function(t,n){return t!==e[n]})}function ve(e,t){return"function"==typeof t?t(e):t}function me(e,t){for(var n in t)e[n]=t[n];return e}function be(e,t){for(var n in e)if("__source"!==n&&!(n in t))return!0;for(var r in t)if("__source"!==r&&e[r]!==t[r])return!0;return!1}function Oe(e){this.props=e}(Oe.prototype=new E).isPureReactComponent=!0,Oe.prototype.shouldComponentUpdate=function(e,t){return be(this.props,e)||be(this.state,t)};var _e=o.__b;o.__b=function(e){e.type&&e.type.__f&&e.ref&&(e.props.ref=e.ref,e.ref=null),_e&&_e(e)};var Se="undefined"!=typeof Symbol&&Symbol.for&&Symbol.for("react.forward_ref")||3911;var Ee=function(e,t){return e?R(R(e).map(t)):null},we={map:Ee,forEach:Ee,count:function(e){return e?R(e).length:0},only:function(e){var t=R(e);if(1!==t.length)throw"Children.only";return t[0]},toArray:R},Pe=o.__e;function Te(e){return e&&((e=me({},e)).__c=null,e.__k=e.__k&&e.__k.map(Te)),e}function Ae(e){return e&&(e.__v=null,e.__k=e.__k&&e.__k.map(Ae)),e}function Ce(){this.__u=0,this.t=null,this.__b=null}function Re(e){var t=e.__.__c;return t&&t.o&&t.o(e)}function De(){this.u=null,this.i=null}o.__e=function(e,t,n){if(e.then)for(var r,i=t;i=i.__;)if((r=i.__c)&&r.__c)return null==t.__e&&(t.__e=n.__e,t.__k=n.__k),r.__c(e,t.__c);Pe(e,t,n)},(Ce.prototype=new E).__c=function(e,t){var n=this;null==n.t&&(n.t=[]),n.t.push(t);var r=Re(n.__v),i=!1,o=function(){i||(i=!0,t.componentWillUnmount=t.__c,r?r(a):a())};t.__c=t.componentWillUnmount,t.componentWillUnmount=function(){o(),t.__c&&t.__c()};var a=function(){var e;if(!--n.__u)for(n.__v.__k[0]=Ae(n.state.o),n.setState({o:n.__b=null});e=n.t.pop();)e.forceUpdate()};n.__u++||n.setState({o:n.__b=n.__v.__k[0]}),e.then(o,o)},Ce.prototype.componentWillUnmount=function(){this.t=[]},Ce.prototype.render=function(e,t){return this.__b&&(this.__v.__k&&(this.__v.__k[0]=Te(this.__b)),this.__b=null),[b(S,null,t.o?null:e.children),t.o&&e.fallback]};var Me=function(e,t,n){if(++n[1]===n[0]&&e.i.delete(t),e.props.revealOrder&&("t"!==e.props.revealOrder[0]||!e.i.size))for(n=e.u;n;){for(;n.length>3;)n.pop()();if(n[1]<n[0])break;e.u=n=n[2]}};function Ie(e){return this.getChildContext=function(){return e.context},e.children}function ke(e){var t=this,n=e.l,r=b(Ie,{context:t.context},e.__v);t.componentWillUnmount=function(){var e=t.s.parentNode;e&&e.removeChild(t.s),U(t.v)},t.l&&t.l!==n&&(t.componentWillUnmount(),t.h=!1),e.__v?t.h?(n.__k=t.__k,B(r,n),t.__k=n.__k):(t.s=document.createTextNode(""),t.__k=n.__k,H("",n),n.appendChild(t.s),t.h=!0,t.l=n,B(r,n,t.s),n.__k=t.__k,t.__k=t.s.__k):t.h&&t.componentWillUnmount(),t.v=r}(De.prototype=new E).o=function(e){var t=this,n=Re(t.__v),r=t.i.get(e);return r[0]++,function(i){var o=function(){t.props.revealOrder?(r.push(i),Me(t,e,r)):i()};n?n(o):o()}},De.prototype.render=function(e){this.u=null,this.i=new Map;var t=R(e.children);e.revealOrder&&"b"===e.revealOrder[0]&&t.reverse();for(var n=t.length;n--;)this.i.set(t[n],this.u=[1,0,this.u]);return e.children},De.prototype.componentDidUpdate=De.prototype.componentDidMount=function(){var e=this;this.i.forEach(function(t,n){Me(e,n,t)})};var Ne=/^(?:accent|alignment|arabic|baseline|cap|clip(?!PathU)|color|fill|flood|font|glyph(?!R)|horiz|marker(?!H|W|U)|overline|paint|stop|strikethrough|stroke|text(?!L)|underline|unicode|units|v|vector|vert|word|writing|x(?!C))[A-Z]/;E.prototype.isReactComponent={};var Le="undefined"!=typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103;var xe=o.event;function Ve(e,t){e["UNSAFE_"+t]&&!e[t]&&Object.defineProperty(e,t,{get:function(){return this["UNSAFE_"+t]},set:function(e){this["UNSAFE_"+t]=e}})}o.event=function(e){xe&&(e=xe(e)),e.persist=function(){};var t=!1,n=!1,r=e.stopPropagation;e.stopPropagation=function(){r.call(e),t=!0};var i=e.preventDefault;return e.preventDefault=function(){i.call(e),n=!0},e.isPropagationStopped=function(){return t},e.isDefaultPrevented=function(){return n},e.nativeEvent=e};var je,Ue={configurable:!0,get:function(){return this.class}},Fe=o.vnode;o.vnode=function(e){e.$$typeof=Le;var t=e.type,n=e.props;if(t){var r;if(n.class!=n.className&&(Ue.enumerable="className"in n,null!=n.className&&(n.class=n.className),Object.defineProperty(n,"className",Ue)),"function"!=typeof t)for(r in n.defaultValue&&void 0!==n.value&&(n.value||0===n.value||(n.value=n.defaultValue),n.defaultValue=void 0),"select"===t&&n.multiple&&Array.isArray(n.value)&&(R(n.children).forEach(function(e){-1!=n.value.indexOf(e.props.value)&&(e.props.selected=!0)}),n.value=void 0),!0===n.download&&(n.download=""),n){var i=Ne.test(r);i&&(e.props[r.replace(/[A-Z0-9]/,"-$&").toLowerCase()]=n[r]),(i||null===n[r])&&(n[r]=void 0)}else t.prototype&&!t.prototype.p&&(t.prototype.p=!0,Ve(t.prototype,"componentWillMount"),Ve(t.prototype,"componentWillReceiveProps"),Ve(t.prototype,"componentWillUpdate"));!function(t){var n=e.type,r=e.props;if(r&&"string"==typeof n){var i={};for(var o in r)/^on(Ani|Tra|Tou)/.test(o)&&(r[o.toLowerCase()]=r[o],delete r[o]),i[o.toLowerCase()]=o;if(i.ondoubleclick&&(r.ondblclick=r[i.ondoubleclick],delete r[i.ondoubleclick]),i.onbeforeinput&&(r.onbeforeinput=r[i.onbeforeinput],delete r[i.onbeforeinput]),i.onchange&&("textarea"===n||"input"===n.toLowerCase()&&!/^fil|che|ra/i.test(r.type))){var a=i.oninput||"oninput";r[a]||(r[a]=r[i.onchange],delete r[i.onchange])}}}()}Fe&&Fe(e)};var Be=o.__r;o.__r=function(e){Be&&Be(e),je=e.__c};function He(e){return!!e&&e.$$typeof===Le}var qe=function(e,t){return e(t)},We={useState:te,useReducer:ne,useEffect:re,useLayoutEffect:ie,useRef:oe,useImperativeHandle:ae,useMemo:se,useCallback:ue,useContext:ce,useDebugValue:le,version:"16.8.0",Children:we,render:function(e,t,n){if(null==t.__k)for(;t.firstChild;)t.removeChild(t.firstChild);return B(e,t),"function"==typeof n&&n(),e?e.__c:null},hydrate:function(e,t,n){return H(e,t),"function"==typeof n&&n(),e?e.__c:null},unmountComponentAtNode:function(e){return!!e.__k&&(B(null,e),!0)},createPortal:function(e,t){return b(ke,{__v:e,l:t})},createElement:b,createContext:W,createFactory:function(e){return b.bind(null,e)},cloneElement:function(e){return He(e)?q.apply(null,arguments):e},createRef:_,Fragment:S,isValidElement:He,findDOMNode:function(e){return e&&(e.base||1===e.nodeType&&e)||null},Component:E,PureComponent:Oe,memo:function(e,t){function n(e){var n=this.props.ref,r=n==e.ref;return!r&&n&&(n.call?n(null):n.current=null),t?!t(this.props,e)||!r:be(this.props,e)}function r(t){return this.shouldComponentUpdate=n,b(e,t)}return r.displayName="Memo("+(e.displayName||e.name)+")",r.prototype.isReactComponent=!0,r.__f=!0,r},forwardRef:function(e){function t(t,n){var r=me({},t);return delete r.ref,e(r,(n=t.ref||n)&&("object"!=typeof n||"current"in n)?n:null)}return t.$$typeof=Se,t.render=t,t.prototype.isReactComponent=t.__f=!0,t.displayName="ForwardRef("+(e.displayName||e.name)+")",t},unstable_batchedUpdates:qe,StrictMode:S,Suspense:Ce,SuspenseList:De,lazy:function(e){var t,n,r;function i(i){if(t||(t=e()).then(function(e){n=e.default||e},function(e){r=e}),r)throw r;if(!n)throw t;return b(n,i)}return i.displayName="Lazy",i.__f=!0,i},__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED:{ReactCurrentDispatcher:{current:{readContext:function(e){return je.__n[e.__c].props.value}}}}},ze=(n(33),We.createContext(null));var Ge=function(e){e()},$e=function(){return Ge},Ke={notify:function(){}};var Ye=function(){function e(e,t){this.store=e,this.parentSub=t,this.unsubscribe=null,this.listeners=Ke,this.handleChangeWrapper=this.handleChangeWrapper.bind(this)}var t=e.prototype;return t.addNestedSub=function(e){return this.trySubscribe(),this.listeners.subscribe(e)},t.notifyNestedSubs=function(){this.listeners.notify()},t.handleChangeWrapper=function(){this.onStateChange&&this.onStateChange()},t.isSubscribed=function(){return Boolean(this.unsubscribe)},t.trySubscribe=function(){this.unsubscribe||(this.unsubscribe=this.parentSub?this.parentSub.addNestedSub(this.handleChangeWrapper):this.store.subscribe(this.handleChangeWrapper),this.listeners=function(){var e=$e(),t=null,n=null;return{clear:function(){t=null,n=null},notify:function(){e(function(){for(var e=t;e;)e.callback(),e=e.next})},get:function(){for(var e=[],n=t;n;)e.push(n),n=n.next;return e},subscribe:function(e){var r=!0,i=n={callback:e,next:null,prev:n};return i.prev?i.prev.next=i:t=i,function(){r&&null!==t&&(r=!1,i.next?i.next.prev=i.prev:n=i.prev,i.prev?i.prev.next=i.next:t=i.next)}}}}())},t.tryUnsubscribe=function(){this.unsubscribe&&(this.unsubscribe(),this.unsubscribe=null,this.listeners.clear(),this.listeners=Ke)},e}();var Ze=function(e){var t=e.store,n=e.context,r=e.children,i=se(function(){var e=new Ye(t);return e.onStateChange=e.notifyNestedSubs,{store:t,subscription:e}},[t]),o=se(function(){return t.getState()},[t]);re(function(){var e=i.subscription;return e.trySubscribe(),o!==t.getState()&&e.notifyNestedSubs(),function(){e.tryUnsubscribe(),e.onStateChange=null}},[i,o]);var a=n||ze;return We.createElement(a.Provider,{value:i},r)};function Xe(){return(Xe=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}function Je(e,t){if(null==e)return{};var n,r,i={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||(i[n]=e[n]);return i}var Qe=n(15),et=n.n(Qe),tt=n(14),nt="undefined"!==typeof window&&"undefined"!==typeof window.document&&"undefined"!==typeof window.document.createElement?ie:re,rt=[],it=[null,null];function ot(e,t){var n=e[1];return[t.payload,n+1]}function at(e,t,n){nt(function(){return e.apply(void 0,t)},n)}function st(e,t,n,r,i,o,a){e.current=r,t.current=i,n.current=!1,o.current&&(o.current=null,a())}function ut(e,t,n,r,i,o,a,s,u,c){if(e){var l=!1,d=null,p=function(){if(!l){var e,n,p=t.getState();try{e=r(p,i.current)}catch(f){n=f,d=f}n||(d=null),e===o.current?a.current||u():(o.current=e,s.current=e,a.current=!0,c({type:"STORE_UPDATED",payload:{error:n}}))}};n.onStateChange=p,n.trySubscribe(),p();return function(){if(l=!0,n.tryUnsubscribe(),n.onStateChange=null,d)throw d}}}var ct=function(){return[null,0]};function lt(e,t){void 0===t&&(t={});var n=t,r=n.getDisplayName,i=void 0===r?function(e){return"ConnectAdvanced("+e+")"}:r,o=n.methodName,a=void 0===o?"connectAdvanced":o,s=n.renderCountProp,u=void 0===s?void 0:s,c=n.shouldHandleStateChanges,l=void 0===c||c,d=n.storeKey,p=void 0===d?"store":d,f=(n.withRef,n.forwardRef),h=void 0!==f&&f,y=n.context,g=void 0===y?ze:y,v=Je(n,["getDisplayName","methodName","renderCountProp","shouldHandleStateChanges","storeKey","withRef","forwardRef","context"]),m=g;return function(t){var n=t.displayName||t.name||"Component",r=i(n),o=Xe({},v,{getDisplayName:i,methodName:a,renderCountProp:u,shouldHandleStateChanges:l,storeKey:p,displayName:r,wrappedComponentName:n,WrappedComponent:t}),s=v.pure;var c=s?se:function(e){return e()};function d(n){var r=se(function(){var e=n.reactReduxForwardedRef,t=Je(n,["reactReduxForwardedRef"]);return[n.context,e,t]},[n]),i=r[0],a=r[1],s=r[2],u=se(function(){return i&&i.Consumer&&Object(tt.isContextConsumer)(We.createElement(i.Consumer,null))?i:m},[i,m]),d=ce(u),p=Boolean(n.store)&&Boolean(n.store.getState)&&Boolean(n.store.dispatch);Boolean(d)&&Boolean(d.store);var f=p?n.store:d.store,h=se(function(){return function(t){return e(t.dispatch,o)}(f)},[f]),y=se(function(){if(!l)return it;var e=new Ye(f,p?null:d.subscription),t=e.notifyNestedSubs.bind(e);return[e,t]},[f,p,d]),g=y[0],v=y[1],b=se(function(){return p?d:Xe({},d,{subscription:g})},[p,d,g]),O=ne(ot,rt,ct),_=O[0][0],S=O[1];if(_&&_.error)throw _.error;var E=oe(),w=oe(s),P=oe(),T=oe(!1),A=c(function(){return P.current&&s===w.current?P.current:h(f.getState(),s)},[f,_,s]);at(st,[w,E,T,s,A,P,v]),at(ut,[l,f,g,h,w,E,T,P,v,S],[f,g,h]);var C=se(function(){return We.createElement(t,Xe({},A,{ref:a}))},[a,t,A]);return se(function(){return l?We.createElement(u.Provider,{value:b},C):C},[u,C,b])}var f=s?We.memo(d):d;if(f.WrappedComponent=t,f.displayName=r,h){var y=We.forwardRef(function(e,t){return We.createElement(f,Xe({},e,{reactReduxForwardedRef:t}))});return y.displayName=r,y.WrappedComponent=t,et()(y,t)}return et()(f,t)}}function dt(e,t){return e===t?0!==e||0!==t||1/e===1/t:e!==e&&t!==t}function pt(e,t){if(dt(e,t))return!0;if("object"!==typeof e||null===e||"object"!==typeof t||null===t)return!1;var n=Object.keys(e),r=Object.keys(t);if(n.length!==r.length)return!1;for(var i=0;i<n.length;i++)if(!Object.prototype.hasOwnProperty.call(t,n[i])||!dt(e[n[i]],t[n[i]]))return!1;return!0}var ft=n(16),ht=function(){return Math.random().toString(36).substring(7).split("").join(".")},yt={INIT:"@@redux/INIT"+ht(),REPLACE:"@@redux/REPLACE"+ht(),PROBE_UNKNOWN_ACTION:function(){return"@@redux/PROBE_UNKNOWN_ACTION"+ht()}};function gt(e){if("object"!==typeof e||null===e)return!1;for(var t=e;null!==Object.getPrototypeOf(t);)t=Object.getPrototypeOf(t);return Object.getPrototypeOf(e)===t}function vt(e,t,n){var r;if("function"===typeof t&&"function"===typeof n||"function"===typeof n&&"function"===typeof arguments[3])throw new Error("It looks like you are passing several store enhancers to createStore(). This is not supported. Instead, compose them together to a single function.");if("function"===typeof t&&"undefined"===typeof n&&(n=t,t=void 0),"undefined"!==typeof n){if("function"!==typeof n)throw new Error("Expected the enhancer to be a function.");return n(vt)(e,t)}if("function"!==typeof e)throw new Error("Expected the reducer to be a function.");var i=e,o=t,a=[],s=a,u=!1;function c(){s===a&&(s=a.slice())}function l(){if(u)throw new Error("You may not call store.getState() while the reducer is executing. The reducer has already received the state as an argument. Pass it down from the top reducer instead of reading it from the store.");return o}function d(e){if("function"!==typeof e)throw new Error("Expected the listener to be a function.");if(u)throw new Error("You may not call store.subscribe() while the reducer is executing. If you would like to be notified after the store has been updated, subscribe from a component and invoke store.getState() in the callback to access the latest state. See https://redux.js.org/api-reference/store#subscribelistener for more details.");var t=!0;return c(),s.push(e),function(){if(t){if(u)throw new Error("You may not unsubscribe from a store listener while the reducer is executing. See https://redux.js.org/api-reference/store#subscribelistener for more details.");t=!1,c();var n=s.indexOf(e);s.splice(n,1),a=null}}}function p(e){if(!gt(e))throw new Error("Actions must be plain objects. Use custom middleware for async actions.");if("undefined"===typeof e.type)throw new Error('Actions may not have an undefined "type" property. Have you misspelled a constant?');if(u)throw new Error("Reducers may not dispatch actions.");try{u=!0,o=i(o,e)}finally{u=!1}for(var t=a=s,n=0;n<t.length;n++){(0,t[n])()}return e}return p({type:yt.INIT}),(r={dispatch:p,subscribe:d,getState:l,replaceReducer:function(e){if("function"!==typeof e)throw new Error("Expected the nextReducer to be a function.");i=e,p({type:yt.REPLACE})}})[ft.a]=function(){var e,t=d;return(e={subscribe:function(e){if("object"!==typeof e||null===e)throw new TypeError("Expected the observer to be an object.");function n(){e.next&&e.next(l())}return n(),{unsubscribe:t(n)}}})[ft.a]=function(){return this},e},r}function mt(e,t){var n=t&&t.type;return"Given "+(n&&'action "'+String(n)+'"'||"an action")+', reducer "'+e+'" returned undefined. To ignore an action, you must explicitly return the previous state. If you want this reducer to hold no value, you can return null instead of undefined.'}function bt(e,t){return function(){return t(e.apply(this,arguments))}}function Ot(e,t){if("function"===typeof e)return bt(e,t);if("object"!==typeof e||null===e)throw new Error("bindActionCreators expected an object or a function, instead received "+(null===e?"null":typeof e)+'. Did you write "import ActionCreators from" instead of "import * as ActionCreators from"?');var n={};for(var r in e){var i=e[r];"function"===typeof i&&(n[r]=bt(i,t))}return n}function _t(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function St(e,t){var n=Object.keys(e);return Object.getOwnPropertySymbols&&n.push.apply(n,Object.getOwnPropertySymbols(e)),t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n}function Et(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return 0===t.length?function(e){return e}:1===t.length?t[0]:t.reduce(function(e,t){return function(){return e(t.apply(void 0,arguments))}})}function wt(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return function(e){return function(){var n=e.apply(void 0,arguments),r=function(){throw new Error("Dispatching while constructing your middleware is not allowed. Other middleware would not be applied to this dispatch.")},i={getState:n.getState,dispatch:function(){return r.apply(void 0,arguments)}},o=t.map(function(e){return e(i)});return function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?St(n,!0).forEach(function(t){_t(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):St(n).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}({},n,{dispatch:r=Et.apply(void 0,o)(n.dispatch)})}}}function Pt(e){return function(t,n){var r=e(t,n);function i(){return r}return i.dependsOnOwnProps=!1,i}}function Tt(e){return null!==e.dependsOnOwnProps&&void 0!==e.dependsOnOwnProps?Boolean(e.dependsOnOwnProps):1!==e.length}function At(e,t){return function(t,n){n.displayName;var r=function(e,t){return r.dependsOnOwnProps?r.mapToProps(e,t):r.mapToProps(e)};return r.dependsOnOwnProps=!0,r.mapToProps=function(t,n){r.mapToProps=e,r.dependsOnOwnProps=Tt(e);var i=r(t,n);return"function"===typeof i&&(r.mapToProps=i,r.dependsOnOwnProps=Tt(i),i=r(t,n)),i},r}}var Ct=[function(e){return"function"===typeof e?At(e):void 0},function(e){return e?void 0:Pt(function(e){return{dispatch:e}})},function(e){return e&&"object"===typeof e?Pt(function(t){return Ot(e,t)}):void 0}];var Rt=[function(e){return"function"===typeof e?At(e):void 0},function(e){return e?void 0:Pt(function(){return{}})}];function Dt(e,t,n){return Xe({},n,{},e,{},t)}var Mt=[function(e){return"function"===typeof e?function(e){return function(t,n){n.displayName;var r,i=n.pure,o=n.areMergedPropsEqual,a=!1;return function(t,n,s){var u=e(t,n,s);return a?i&&o(u,r)||(r=u):(a=!0,r=u),r}}}(e):void 0},function(e){return e?void 0:function(){return Dt}}];function It(e,t,n,r){return function(i,o){return n(e(i,o),t(r,o),o)}}function kt(e,t,n,r,i){var o,a,s,u,c,l=i.areStatesEqual,d=i.areOwnPropsEqual,p=i.areStatePropsEqual,f=!1;function h(i,f){var h=!d(f,a),y=!l(i,o);return o=i,a=f,h&&y?(s=e(o,a),t.dependsOnOwnProps&&(u=t(r,a)),c=n(s,u,a)):h?(e.dependsOnOwnProps&&(s=e(o,a)),t.dependsOnOwnProps&&(u=t(r,a)),c=n(s,u,a)):y?function(){var t=e(o,a),r=!p(t,s);return s=t,r&&(c=n(s,u,a)),c}():c}return function(i,l){return f?h(i,l):(s=e(o=i,a=l),u=t(r,a),c=n(s,u,a),f=!0,c)}}function Nt(e,t){var n=t.initMapStateToProps,r=t.initMapDispatchToProps,i=t.initMergeProps,o=Je(t,["initMapStateToProps","initMapDispatchToProps","initMergeProps"]),a=n(e,o),s=r(e,o),u=i(e,o);return(o.pure?kt:It)(a,s,u,e,o)}function Lt(e,t,n){for(var r=t.length-1;r>=0;r--){var i=t[r](e);if(i)return i}return function(t,r){throw new Error("Invalid value of type "+typeof e+" for "+n+" argument when connecting component "+r.wrappedComponentName+".")}}function xt(e,t){return e===t}function Vt(e){var t=void 0===e?{}:e,n=t.connectHOC,r=void 0===n?lt:n,i=t.mapStateToPropsFactories,o=void 0===i?Rt:i,a=t.mapDispatchToPropsFactories,s=void 0===a?Ct:a,u=t.mergePropsFactories,c=void 0===u?Mt:u,l=t.selectorFactory,d=void 0===l?Nt:l;return function(e,t,n,i){void 0===i&&(i={});var a=i,u=a.pure,l=void 0===u||u,p=a.areStatesEqual,f=void 0===p?xt:p,h=a.areOwnPropsEqual,y=void 0===h?pt:h,g=a.areStatePropsEqual,v=void 0===g?pt:g,m=a.areMergedPropsEqual,b=void 0===m?pt:m,O=Je(a,["pure","areStatesEqual","areOwnPropsEqual","areStatePropsEqual","areMergedPropsEqual"]),_=Lt(e,o,"mapStateToProps"),S=Lt(t,s,"mapDispatchToProps"),E=Lt(n,c,"mergeProps");return r(d,Xe({methodName:"connect",getDisplayName:function(e){return"Connect("+e+")"},shouldHandleStateChanges:Boolean(e),initMapStateToProps:_,initMapDispatchToProps:S,initMergeProps:E,pure:l,areStatesEqual:f,areOwnPropsEqual:y,areStatePropsEqual:v,areMergedPropsEqual:b},O))}}var jt=Vt();Ge=qe;var Ut={BORDER_RADIUS:{EXTRA_TINY:"1px",TINY:"2px",SMALL:"3px",MEDIUM:"4px"},COLORS:{BLACK:"#000000",WHITE:"#ffffff",TRANSPARENT:"transparent",GRADIENT_BLACK:"linear-gradient(to bottom, rgba(0, 0, 0, 0.63), rgba(0, 0, 0, 0.62) 19%, rgba(0, 0, 0, 0))",LIGHT_GRAY_TRANSPARENT:"rgba(255, 255, 255, 0.23)",GRAY_TRANSPARENT:"rgba(143, 143, 143, 0.46)",BLACK_TRANSPARENT:"rgba(0, 0, 0, 0.7)",BLACK_80_OPACITY:"rgba(0, 0, 0, 0.8)",BLUR_TRANSPARENT:"rgba(0, 0, 0, 0.48)",GRAY:"rgba(0, 0, 0, 0.35)",SELECTED:"rgba(255, 255, 255, 0.1)",SCROLL_BAR:"rgba(255, 255, 255, 0.64)",TRANSPARENT_30_OPACITY:"rgba(0, 0, 0, 0.31)"},TEXT_FONT_FAMILY:{LATO:"Lato"},FONT_SIZE:{EXTRA_TINY:"8px",TINY:"10px",EXTRA_SMALL:"12px",SMALL:"14px",MEDIUM:"18px"}},Ft="179px",Bt="269px",Ht="180px",qt="270px",Wt="300px",zt="301px",Gt="500px",$t="501px",Kt="800px",Yt="801px";function Zt(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}function Xt(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Zt(Object(n),!0).forEach(function(t){f()(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Zt(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}var Jt=function e(t){return t&&t.length>0?t.reduce(function(t,n){return n?Array.isArray(n)?Xt(Xt({},t),e(n)):Xt(Xt({},t),n):t},{}):null},Qt=function(e){return function(t){t({type:"[CORE] change video tag status",payload:e})}},en=function(e){return function(t){t({type:"[CORE] update video current fragment position",payload:e})}},tn=function(e){return function(t){t({type:"[CORE] update video current position",payload:e})}},nn=function(e){return function(t){t({type:"[CORE] update video current buffered time",payload:e})}},rn=function(e){return function(t){t({type:"[CORE] update video current duration",payload:e})}},on=function(e,t){return function(n){n({type:"[COMMON] set pending video status",payload:{pendingStatusObject:{type:e,value:t}}})}},an=function(e){return function(t){t({type:"[COMMON] set mute video",payload:e})}},sn=function(e){return function(t){t({type:"[COMMON] set volume",payload:e})}},un=function(e){return function(t){t({type:"[CORE] change loading player status",payload:e})}},cn=function(e){return function(t){t({type:"[COMMON] show black screen with loader",payload:e})}},ln=function(e){return function(t){t({type:"[CORE] set player size",payload:e})}},dn=function(e){return function(t){t({type:"[COMMON] set error message",payload:e})}},pn={mediaData:function(e){return e.mediaData},playerData:function(e){return e.playerData},dependenciesLoadingStatus:function(e){return e.dependenciesLoadingStatus},brandingData:function(e){return e.brandingData},anchorOptions:function(e){return e.anchorOptions},semanticOptions:function(e){return e.semanticOptions},monetization:function(e){return e.monetization},userInteraction:function(e){return e.userInteraction},splitView:function(e){return e.splitView},discovery:function(e){return e.discovery}},fn=pn.playerData,hn={playerId:function(e){return fn(e).playerId},videoTagStatus:function(e){return fn(e).videoTagStatus},pendingVideoTagStatus:function(e){return fn(e).pendingVideoTagStatus},currentVideoTime:function(e){return fn(e).currentVideoTime},currentVideoTimeFragment:function(e){return fn(e).currentVideoTimeFragment},currentVideoDuration:function(e){return fn(e).currentVideoDuration},currentVideoBufferedTime:function(e){return fn(e).currentVideoBufferedTime},playerMode:function(e){return fn(e).playerMode},playerSettings:function(e){return fn(e).playerSettings},playbackMethod:function(e){return fn(e).playbackMethod},playerVisibility:function(e){return fn(e).playerVisibility},playerPlaceholderVisibility:function(e){return fn(e).playerPlaceholderVisibility},playerInstanceUniqId:function(e){return fn(e).playerInstanceUniqId},showBlackScreen:function(e){return fn(e).loader.showBlackScreen},playerSize:function(e){return fn(e).playerSize},errorMessage:function(e){return fn(e).errorMessage},loadingPlayer:function(e){return fn(e).loadingPlayer}},yn=hn.playerSettings,gn={volume:function(e){return yn(e).volume},muted:function(e){return yn(e).muted},quality:function(e){return yn(e).quality},speed:function(e){return yn(e).speed},selectedSettingsCategory:function(e){return yn(e).selectedSettingsCategory},fullscreen:function(e){return yn(e).fullscreen},pendingFullscreenRequest:function(e){return this.fullscreen(e).pendingFullscreenRequest},isFullscreenOn:function(e){return this.fullscreen(e).isFullscreenOn}},vn=function(e){return"".concat("mplayer-monetization-placeholder","-").concat(e)},mn=function(e){return"".concat("mplayer-player-placeholder","-").concat(e)},bn=function(e){return"".concat("mplayer-player-container","-").concat(e)},On=function(e){return"".concat("mplayer-controls-placeholder","-").concat(e)},_n=function(e){return"".concat("mplayer-split-view-placeholder","-").concat(e)},Sn=function(e){return"".concat("mplayer-discovery-placeholder","-").concat(e)},En=function(e){return"".concat("mplayer-content-video","-").concat(e)},wn=function(e){return"".concat("mplayer","-").concat("error-page-message","-").concat(e)},Pn=function(e){return"".concat("mplayer","-").concat("loader","-").concat(e)},Tn=function(e){return"".concat("mplayer","-").concat("mplayer-close-bar-placeholder","-").concat(e)},An=pn.mediaData,Cn={mediaId:function(e){return An(e).mediaId},mediaType:function(e){return An(e).mediaType},videoList:function(e){return An(e).videoList},videoData:function(e){return An(e).videoData},activeVideoIndex:function(e){return An(e).activeVideoIndex},mediaRequest:function(e){return An(e).mediaRequest},mediaLoadingError:function(e){return An(e).mediaLoadingError}},Rn=Cn.videoData,Dn={creator:function(e){return Rn(e).creator},description:function(e){return Rn(e).description},duration:function(e){return Rn(e).duration},externalId:function(e){return Rn(e).externalId},index:function(e){return Rn(e).index},mediaId:function(e){return Rn(e).mediaId},provider:function(e){return Rn(e).provider},sources:function(e){return Rn(e).sources},tags:function(e){return Rn(e).tags},thumbnail:function(e){return Rn(e).thumbnail},title:function(e){return Rn(e).title},showTitle:function(e){return Rn(e).showTitle}},Mn=n(11),In=n.n(Mn);function kn(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[];return se(function(){return e.apply(void 0,In()(t))},[e,t])}var Nn={root:{height:"100%",left:0,display:"block",width:"100%"}},Ln=function(){return{playerStyle:[Nn.root]}},xn=n(30),Vn=Object(xn.a)(),jn=function(e){return"undefined"===typeof e},Un=function(e){return jn(e)||null===e||0===e.length},Fn=function(){return null!==navigator.userAgent.match(/(iPad)|(iPhone)|(iPod)|(android)|(webOS)/i)},Bn=function(){return"iOS"===Vn.os},Hn=function(e){return Math.floor(10*e)/10},qn=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"0";return parseInt(e,10)/1e3},Wn=function(e,t){return jn(e)||jn(t)?0:e>t?1:-1},zn=function(e,t){var n;return function(){for(var r=arguments.length,i=new Array(r),o=0;o<r;o++)i[o]=arguments[o];clearTimeout(n),n=setTimeout(function(){n=null,e(i)},t)}},Gn=function(e){var t=e.clientWidth*(9/16),n=e.clientHeight;return Math.abs(t-n)>2?t:n},$n=function(e){return function(e){return!e.dataLayer||Array.isArray(e.dataLayer)}(e)?"dataLayer":"mmVideoDataLayer"},Kn=function(e){var t=ue(e,arguments.length>1&&void 0!==arguments[1]?arguments[1]:[]);re(function(){t()},[t]),re(function(){var e=zn(t,150);return window.addEventListener("resize",e),function(){window.removeEventListener("resize",e)}},[t])},Yn=pn.splitView,Zn=function(e){return Yn(e).splitViewRatio},Xn={GENERAL_ERROR:"An error has occurred, please try again later",VIDEO_ERROR:"The video is currently unavailable"},Jn=jt(function(e,t){return{thumbnail:Dn.thumbnail(e),playerId:t.playerId,muted:gn.muted(e),volume:gn.volume(e),currentVideoTime:hn.currentVideoTime(e),playbackMethod:hn.playbackMethod(e),splitViewRatio:Zn(e),playerSize:hn.playerSize(e),isFullscreenOn:gn.isFullscreenOn(e),playerMode:hn.playerMode(e),speed:gn.speed(e)}},function(e){return Ot({updateVideoTagStatus:Qt,updateVideoTime:tn,updateVideoTimeFragment:en,changeLoadingPlayerStatus:un,showBlackScreenLoader:cn,updateVideoDuration:rn,updateMute:an,updateVolume:sn,updateCurrentVideoBufferedTime:nn,setPlayerSize:ln,onErrorMessage:dn},e)})(function(e){var t=e.thumbnail,n=e.playerId,r=e.updateVideoTagStatus,i=e.updateVideoTime,o=e.updateCurrentVideoBufferedTime,a=e.muted,s=e.volume,u=e.currentVideoTime,c=e.playbackMethod,l=e.changeLoadingPlayerStatus,d=e.showBlackScreenLoader,p=e.updateVideoDuration,f=e.updateMute,h=e.updateVolume,y=e.updateVideoTimeFragment,g=e.setPlayerSize,v=e.splitViewRatio,m=e.playerSize,O=e.isFullscreenOn,_=e.playerMode,S=e.onErrorMessage,E=e.speed,w=oe(null),P=!Un(v),T=kn(Ln,[]).playerStyle,A=document.getElementById(bn(n));re(function(){w.current.playbackRate=E},[E]),Kn(function(){if(!Un(A)){var e=function(e,t,n,r,i){var o=e.style.width;return n?"desktop"===r||"miniDesktop"===r||"stickyDesktop"===r?"extraLarge":"medium":"100%"===o?t:i&&o<=Bt?"extraSmall":i&&o>=qt&&o<=Wt?"small":o<=Ft?"extraSmall":o>=Ht&&o<=Wt?"small":o>=zt&&o<=Gt?"medium":o>=$t&&o<=Kt?"large":o>=Yt?"extraLarge":null}(A,m,O,_,P);Un(e)||g(e)}},[A,m,O,_,P,g]);var C="autoplay"===c?"":t;return b("video",{ref:w,style:Jt(T),key:En(n),id:En(n),onEnded:function(){r("complete")},onDurationChange:function(e){var t,n=e.target.duration;t=n,Number.isNaN(t)||"number"!==typeof t||p(n)},onTimeUpdate:function(e){var t=e.target.currentTime;y(t);var n=parseInt(t.toString(),10);n!==u&&i(n)},onVolumeChange:function(e){var t=e.target,n=t.volume,r=t.muted;n!==s&&h(n),a!==r&&f(r)},onPause:function(){r("paused")},onPlaying:function(){r("playing")},onError:function(){r("error"),S(Xn.VIDEO_ERROR)},onLoadStart:function(){l(!0),d(!0)},onCanPlayThrough:function(){l(!1),d(!1),S("")},onCanPlay:function(){l(!1),S("")},onWaiting:function(){l(!0)},onSeeking:function(){r("seeking")},onProgress:function(e){var t=e.target.buffered,n=t.length;n>0&&o(t.end(n-1))},volume:s,muted:a,poster:C,playsInline:!0,"webkit-playsinline":""},b("track",{kind:"captions"}))}),Qn=function(e){return function(t){t({type:"[CORE] update ima status",payload:e})}},er=function(e){return function(t){t({type:"[CORE] update hls status",payload:e})}},tr=function(){return{adBlockCheckerStyle:{backgroundColor:Ut.COLORS.TRANSPARENT,height:"1px",width:"1px"}}},nr=jt(null,function(e){return{onAdBlockDetected:function(){return Qn("blocked")(e)}}})(function(e){var t=oe(),n=kn(tr,[]).adBlockCheckerStyle;return re(function(){0!==t.current.clientHeight&&0!==t.current.clientWidth||(0,e.onAdBlockDetected)()},[e]),b("div",{ref:t},b("div",{class:"adBanner",style:n}))}),rr=n(10),ir=n.n(rr);n(20);var or={root:null,threshold:[0,.1,.2,.3,.4,.5,.6,.7,.8,.9,1],rootMargin:"0px"},ar=function(e){var t=e.id,n=e.updateContainerVisibility,r=e.shouldObserve,i=e.regularMode,o=e.stickyAnchorMode,a=e.children,s=e.style,u=e.isPlaceholder,c=e.splitViewRatio,l=e.className,d=oe(),p=te(null),f=ir()(p,2),h=f[0],y=f[1];return re(function(){null!==h&&h.observe(d.current)},[h]),re(function(){!function(e,t,n){e&&t(new IntersectionObserver(function(e){var t=e[0];n(t.intersectionRatio)},or))}(r,y,n)},[r,n]),Kn(function(){u?function(e,t){var n=e.parentElement.clientWidth;e.style.maxWidth="".concat(n,"px"),Un(t)?e.style.height="".concat(Gn(e),"px"):e.style.height="".concat(Gn(e)*(t/100),"px")}(d.current,c):function(e,t,n){t?(e.style.width="".concat(e.parentElement.clientWidth,"px"),e.style.height="".concat(e.parentElement.clientHeight,"px")):n&&(e.style.width="".concat(e.parentElement.clientWidth,"px"),e.style.height="".concat(e.parentElement.clientHeight+24,"px"))}(d.current,i,o)},[u,i,o]),b("div",{className:l,id:t,ref:d,style:s},a)};function sr(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}function ur(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?sr(Object(n),!0).forEach(function(t){f()(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):sr(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}var cr={display:"flex",flexDirection:"row"},lr=(ur(ur({},cr),{},{justifyContent:"flex-end"}),ur(ur({},cr),{},{justifyContent:"center"})),dr=ur(ur({},cr),{},{justifyContent:"space-between"}),pr=(ur(ur({},dr),{},{alignItems:"baseline"}),ur(ur({},lr),{},{alignItems:"center"})),fr=ur(ur({},cr),{},{justifyContent:"flex-start"}),hr=(ur(ur({},fr),{},{alignItems:"center"}),ur(ur({},fr),{},{alignItems:"flex-end",flexWrap:"wrap"}),{display:"flex",flexDirection:"column"}),yr=(ur(ur({},hr),{},{justifyContent:"flex-start"}),ur(ur({},hr),{},{justifyContent:"center"})),gr=(ur(ur({},hr),{},{justifyContent:"flex-end",alignItems:"center"}),ur(ur({},yr),{},{alignItems:"center"}));function vr(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}function mr(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?vr(Object(n),!0).forEach(function(t){f()(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):vr(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}var br=mr(mr({},hr),{},{position:"relative",background:Ut.COLORS.BLACK}),Or=pn.anchorOptions,_r=function(e){return Or(e).orientation},Sr=function(e){return Or(e).canClose},Er=function(e){return Or(e).anchorData},wr=function(e){return Er(e).anchorDisabledByUser},Pr=function(e){return Er(e).anchorStatus};function Tr(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}function Ar(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Tr(Object(n),!0).forEach(function(t){f()(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Tr(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}var Cr=jt(function(e){return{shouldObserve:"lazyplay"===hn.playbackMethod(e)||"autoplay_when_viewable"===hn.playbackMethod(e),regularMode:"inactive"===Pr(e)||!Un(Zn(e)),stickyAnchorMode:"sticky"===_r(e)&&"active"===Pr(e)&&Sr(e),style:Ar({},mr({},br)),isPlaceholder:!1}},function(e){return{updateContainerVisibility:function(t){return function(e){return function(t){t({type:"[CORE] update player visibility",payload:e})}}(t)(e)}}})(ar);function Rr(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}function Dr(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Rr(Object(n),!0).forEach(function(t){f()(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Rr(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}var Mr={width:"100%",clear:"both",margin:"16px 0"};function Ir(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}function kr(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Ir(Object(n),!0).forEach(function(t){f()(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Ir(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}var Nr=jt(function(e){return{shouldObserve:"sticky"!==_r(e),style:kr({},Dr({},Mr)),splitViewRatio:Zn(e),isPlaceholder:!0,className:"monti-placeholder-mm-player"}},function(e){return{updateContainerVisibility:function(t){return function(e){return function(t){t({type:"[CORE] update placeholder visibility",payload:e})}}(t)(e)}}})(ar),Lr=function(){return{monetizationStyle:{position:"absolute",width:"100%",top:"0",display:"none"}}},xr=function(e){var t=e.playerId,n=kn(Lr,[]).monetizationStyle,r=oe();return Kn(function(){console.log("the monetization parent element : ",r.current.parentElement),r.current.style.height="".concat(Gn(r.current.parentElement),"px")}),b("div",{id:vn(t),style:n,ref:r})};function Vr(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}function jr(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Vr(Object(n),!0).forEach(function(t){f()(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Vr(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}var Ur={position:"relative",color:Ut.COLORS.WHITE,fontFamily:Ut.TEXT_FONT_FAMILY.LATO,fontWeight:"bold",textAlign:"center",tiny:{fontSize:Ut.FONT_SIZE.EXTRA_TINY},big:{fontSize:Ut.FONT_SIZE.SMALL}},Fr={position:"relative",color:Ut.COLORS.WHITE,tiny:{height:"12px",width:"12px",marginBottom:"8px"},big:{height:"24px",width:"24px",marginBottom:"16px"}},Br=jr(jr({},gr),{},{width:"100%",height:"100%",position:"absolute",top:0,backdropFilter:"blur(3px)",webkitBackdropFilter:"blur(3px)",backgroundColor:Ut.COLORS.BLUR_TRANSPARENT}),Hr=function(e){var t="extraSmall"===e||"small"===e,n="medium"===e||"large"===e||"extraLarge"===e;return{errorMessageStyle:[Ur,t&&Ur.tiny,n&&Ur.big],iconStyle:[Fr,t&&Fr.tiny,n&&Fr.big],screenStyle:jr({},Br)}},qr=n(12),Wr=n.n(qr);function zr(){return(zr=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}function Gr(){return(Gr=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}function $r(){return($r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}var Kr={CLOSE_FILL:function(e){e.styles;var t=Wr()(e,["styles"]);return We.createElement("svg",Gr({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",width:"24",height:"24"},t),We.createElement("path",{fill:"none",d:"M0 0h24v24H0z"}),We.createElement("path",{d:"M12 10.586l4.95-4.95 1.414 1.414-4.95 4.95 4.95 4.95-1.414 1.414-4.95-4.95-4.95 4.95-1.414-1.414 4.95-4.95-4.95-4.95L7.05 5.636z",fill:"rgba(255,255,255,1)"}))},ERROR_WARNING_FILL:function(e){e.styles;var t=Wr()(e,["styles"]);return We.createElement("svg",zr({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",width:"24",height:"24"},t),We.createElement("path",{fill:"none",d:"M0 0h24v24H0z"}),We.createElement("path",{d:"M12 22C6.477 22 2 17.523 2 12S6.477 2 12 2s10 4.477 10 10-4.477 10-10 10zm-1-7v2h2v-2h-2zm0-8v6h2V7h-2z",fill:"rgba(255,255,255,1)"}))},PLAY_BLUR:function(e){e.styles;var t=Wr()(e,["styles"]);return We.createElement("svg",$r({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 60 60"},t),We.createElement("circle",{cx:"30",cy:"30",r:"30",fillRule:"evenodd",clipRule:"evenodd",fillOpacity:".35"}),We.createElement("path",{fill:"none",d:"M11 11h38v38H11z"}),We.createElement("path",{d:"M43.3 30.7L22.1 44.8c-.3.2-.7.2-1 0-.3-.2-.5-.5-.5-.9V15.8c0-.4.2-.7.5-.9.3-.2.7-.2 1 0L43.3 29c.3.2.4.5.4.8s-.2.7-.4.9z",fill:"currentColor"}))}},Yr=n(31),Zr=n.n(Yr);function Xr(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}function Jr(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Xr(Object(n),!0).forEach(function(t){f()(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Xr(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}var Qr=Ut.COLORS.WHITE,ei=function(e,t){var n=function(e){return{root:Jr(Jr({},cr),{},{alignItems:"center",width:"fit-content",height:"fit-content",outline:"none",color:e}),focused:{outline:"".concat(Ut.COLORS.WHITE," solid 1px")}}}(t||Qr);return{iconStyle:[n.root,e&&n.focused]}},ti=function(e){var t=e.icon,n=e.style,r=e.onClick,i=e.onMouseEnter,o=e.onMouseLeave,a=e.onKeyDown,s=e.id,u=e.color,c=e.clickable,l=void 0===c||c,d=e.focusable,p=void 0===d||d,f=te(!1),h=ir()(f,2),y=h[0],g=h[1],v=te(!1),m=ir()(v,2),O=m[0],_=m[1],S=kn(ei,[O,u]).iconStyle,E=l?{onClick:r,onMouseEnter:i,onMouseLeave:o,onFocus:function(e){y||_(!0),jn(i)||i(e)},onBlur:function(){document.hasFocus()&&g(!1),_(!1)},onKeyDown:function(e){jn(a)||a(e),"Enter"!==e.key||jn(r)||r()},onMouseDown:function(){g(!0),_(!1)}}:{},w=p?{tabIndex:0}:{};return b("span",Zr()({id:s,style:Jt([S,n])},E,w),b(t,null))},ni=jt(function(e){return{playerSize:hn.playerSize(e),playerErrorMessage:hn.errorMessage(e),mediaErrorMessage:Cn.mediaLoadingError(e),playerUniqId:hn.playerInstanceUniqId(e)}})(function(e){var t,n=e.playerSize,r=e.playerErrorMessage,i=e.mediaErrorMessage,o=e.playerUniqId,a=kn(Hr,[n]),s=a.errorMessageStyle,u=a.iconStyle,c=a.screenStyle,l=r||i;return Un(r)&&Un(i)?null:b("div",{id:(t=o,"".concat("mplayer","-").concat("error-page","-").concat(t)),style:c},b(ti,{icon:Kr.ERROR_WARNING_FILL,style:Jt(u)}),b("div",{id:wn(o),style:Jt(s)},l))}),ri=function(e,t){var n=function(e){return{height:"100%",left:0,display:"block",width:"100%",position:"relative",splitView:{width:"".concat(e/(9/16),"px")}}}(e);return{playerWrapperStyle:[n,t&&n.splitView]}},ii=jt(function(e){return{splitViewRatio:Zn(e)}})(function(e){var t=e.splitViewRatio,n=e.children,r=oe(),i=te(null),o=ir()(i,2),a=o[0],s=o[1],u=!Un(t),c=kn(ri,[a,u]).playerWrapperStyle;return Kn(function(){s(r.current.parentElement.clientHeight)},[r]),b("div",{ref:r,style:Jt(c)},n)});function oi(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}function ai(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?oi(Object(n),!0).forEach(function(t){f()(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):oi(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}var si=ai(ai({},cr),{},{position:"absolute",width:"100%",height:"100%"}),ui={width:"100%",height:"100%",position:"relative"},ci={display:"flex",position:"relative",flexGrow:"1"},li={position:"absolute",zIndex:"1",width:"100%",top:"0",height:"100%",pointerEvents:"none"},di={position:"absolute",zIndex:"2",width:"100%",top:"0",height:"100%",pointerEvents:"none"},pi=function(){return{splitViewWrapperStyle:ai({},si),playerAndControlsWrapperStyle:ai({},ui),splitViewPlaceholderStyle:ai({},ci),controlsPlaceholderStyle:ai({},li),discoveryPlaceholderStyle:ai({},di)}};function fi(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}function hi(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?fi(Object(n),!0).forEach(function(t){f()(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):fi(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}var yi={position:"absolute",overflow:"hidden",backgroundColor:Ut.COLORS.GRAY_TRANSPARENT,borderRadius:Ut.BORDER_RADIUS.SMALL,height:"6px",small:{width:"120px",height:"4px"},medium:{width:"200px"},largeAndExtraLarge:{width:"220px"},splitView:{width:"120px",height:"4px"},error:{display:"none"}},gi=hi(hi({},pr),{},{width:"100%",height:"100%",position:"absolute",top:"0",backgroundColor:Ut.COLORS.TRANSPARENT,blackScreen:{backgroundColor:Ut.COLORS.BLACK}}),vi=function(e,t,n,r,i){var o,a=!Un(n),s="small"===e,u="medium"===e,c="large"===e||"extraLarge"===e,l=i||Ut.COLORS.WHITE,d=(o=l,{position:"relative",width:"100%",height:"6px",borderRadius:Ut.BORDER_RADIUS.SMALL,animationName:"loaderAnimation",animationDuration:"3.5s",animationIterationCount:"infinite",animationTimingFunction:"ease-in-out",backgroundColor:o,small:{height:"4px"},splitView:{height:"4px"}});return{loaderStyle:[yi,r&&yi.error,s&&yi.small,u&&yi.medium,c&&yi.largeAndExtraLarge,a&&yi.splitView],barStyle:[d,s&&d.small,a&&d.splitView],screenStyle:[gi,t&&gi.blackScreen]}},mi=pn.monetization,bi={continuePlayingWhileWaitingForAd:function(e){return mi(e).continuePlayingWhileWaitingForAd},midrolls:function(e){return mi(e).midrolls},prerollEnabled:function(e){return mi(e).prerollEnabled},vpaidMode:function(e){return mi(e).vpaidMode},adRequestTimeout:function(e){return mi(e).adRequestTimeout},adsData:function(e){return mi(e).adsData}},Oi=bi.adsData,_i={adTagUrlTemplate:function(e){return Oi(e).adTagUrlTemplate},adType:function(e){return Oi(e).adType},adStatus:function(e){return Oi(e).adStatus},pendingAdStatus:function(e){return Oi(e).pendingAdStatus},adErrorMessage:function(e){return Oi(e).adErrorMessage},adDuration:function(e){return Oi(e).adDuration},playedMidrolls:function(e){return Oi(e).playedMidrolls},adImpression:function(e){return Oi(e).adImpression},adOpportunity:function(e){return Oi(e).adOpportunity},isVastAd:function(e){return Oi(e).isVastAd},adCurrentTime:function(e){return Oi(e).adCurrentTime},adMuted:function(e){return Oi(e).adMuted},adVolume:function(e){return Oi(e).adVolume},currentAdTag:function(e){return Oi(e).currentAdTag},adUnit:function(e){return Oi(e).adUnit},slotNumber:function(e){return Oi(e).slotNumber},podNumber:function(e){return Oi(e).podNumber},loadingAd:function(e){return Oi(e).loadingAd}},Si=pn.brandingData,Ei=function(e){return Si(e).brandingColor},wi=jt(function(e){return{showBlackScreen:hn.showBlackScreen(e),playerSize:hn.playerSize(e),splitViewRatio:Zn(e),playerUniqId:hn.playerInstanceUniqId(e),playerErrorMessage:hn.errorMessage(e),mediaErrorMessage:Cn.mediaLoadingError(e),loadingPlayer:hn.loadingPlayer(e),loadingAd:_i.loadingAd(e),brandingColor:Ei(e)}})(function(e){var t,n=e.playerSize,r=e.showBlackScreen,i=e.splitViewRatio,o=e.playerUniqId,a=e.playerErrorMessage,s=e.mediaErrorMessage,u=e.loadingPlayer,c=e.loadingAd,l=e.brandingColor,d=!Un(a)||!Un(s),p=u||c,f=kn(vi,[n,r,i,d,l]),h=f.loaderStyle,y=f.barStyle,g=f.screenStyle;return p?b("div",{id:(t=o,"".concat("mplayer","-").concat("loader-page","-").concat(t)),style:Jt(g)},b("div",{id:Pn(o),style:Jt(h)},b("div",{style:Jt(y)}))):null}),Pi=function(e){var t=e.playerId,n=e.store,r=e.playerPosition,i=kn(pi,[]),o=i.splitViewWrapperStyle,a=i.playerAndControlsWrapperStyle,s=i.splitViewPlaceholderStyle,u=i.controlsPlaceholderStyle,c=i.discoveryPlaceholderStyle;return re(function(){!function(e){var t=document.createElement("link");t.setAttribute("href","https://fonts.googleapis.com/css2?family=Lato:wght@300;400&display=swap"),t.setAttribute("rel","stylesheet"),t.setAttribute("type","text/css"),e.appendChild(t)}(r),function(e){var t=document.createElement("style");t.type="text/css",t.textContent="@keyframes loaderAnimation {0% {left: -100%}49% {left: 100%}50% {left: 100%}100% {left: -100%}}",e.appendChild(t)}(r)},[r]),b(Ze,{store:n},b(Nr,{id:mn(t)},b(Cr,{id:bn(t)},b("div",{id:Tn(t)}),b("div",{style:a},b("div",{style:o},b(ii,null,b(Jn,{playerId:t}),b(xr,{playerId:t}),b(wi,null),b(nr,null)),b("div",{id:_n(t),style:s})),b("div",{id:On(t),style:u}),b("div",{id:Sn(t),style:c}),b(ni,null)))))},Ti=n(1),Ai=n.n(Ti),Ci=function e(){var t=this;Ai()(this,e),f()(this,"HLS_MAIN_SCRIPT","https://cdn.jsdelivr.net/npm/hls.js@0.9.1"),f()(this,"HLS_FALLBACK_SCRIPT","https://www.oo-syringe.com/newplayer/mplayer_hls_wrapper.0.0.0.js"),f()(this,"IMA_SCRIPT","https://imasdk.googleapis.com/js/sdkloader/ima3.js"),f()(this,"MMPLUS_CONTAINER_ID","GTM-PL4PD49"),f()(this,"MM_CONTAINER_ID","GTM-TCW5HW"),f()(this,"dependenciesCallbacks",void 0),f()(this,"imaLoadingStatus",""),f()(this,"hlsLoadingStatus",""),f()(this,"gtmLoaded",!1),f()(this,"addDependenciesCallback",function(e){t.dependenciesCallbacks.includes(e)||t.dependenciesCallbacks.push(e)}),f()(this,"isDependenciesReady",function(){return t.gtmLoaded&&"loading"!==t.getHLSLoadingStatus()&&"loading"!==t.getIMALoadingStatus()}),f()(this,"getIMALoadingStatus",function(){return t.imaLoadingStatus}),f()(this,"getHLSLoadingStatus",function(){return t.hlsLoadingStatus}),f()(this,"removeDependenciesCallback",function(e){t.dependenciesCallbacks.filter(function(t){return t===e})}),f()(this,"loadScript",function(e,t,n){var r=document.createElement("script");r.setAttribute("src",e),r.addEventListener("load",t),r.addEventListener("error",n),document.body.appendChild(r)}),f()(this,"onScriptLoaded",function(e){t.dependenciesCallbacks.forEach(function(t){t.onDependencyReady(e)})}),f()(this,"onScriptFailed",function(e,n){t.dependenciesCallbacks.forEach(function(t){t.onDependencyFailure(e,n)})}),f()(this,"onHlsScriptLoaded",function(){void 0!==window.Hls?t.onScriptLoaded("hls"):t.onHlsLoadError()}),f()(this,"onHlsLoadError",function(){t.loadScript(t.HLS_FALLBACK_SCRIPT,t.onMMhlsScriptLoaded,t.onMMHlsScriptFailure)}),f()(this,"onMMhlsScriptLoaded",function(){t.onScriptLoaded("hls")}),f()(this,"onMMHlsScriptFailure",function(e){t.onScriptFailed("hls",e)}),f()(this,"onImaLoadError",function(e){t.imaLoadingStatus="error",t.onScriptFailed("ima",e)}),f()(this,"onImaLoaded",function(){t.onScriptLoaded("ima"),t.imaLoadingStatus="success"}),f()(this,"shouldLoadMmGTM",function(){var e=window.google_tag_manager;return!e||!e[t.MMPLUS_CONTAINER_ID]&&!e[t.MM_CONTAINER_ID]}),f()(this,"loadGTMifNeeded",function(){if(t.shouldLoadMmGTM()){var e,n;try{e=window.parent,n=window.parent.document}catch(u){e=window,n=window.document}var r=$n(e),i="dataLayer"!==r?"&l=".concat(r):"";e[r]=e[r]||[],e[r].push({"gtm.start":(new Date).getTime(),event:"gtm.js"});var o=n.getElementsByTagName("script")[0],a=n.createElement("script");a.setAttribute("async",""),a.setAttribute("src","https://www.googletagmanager.com/gtm.js?id=GTM-PL4PD49".concat(i)),o.parentNode.insertBefore(a,o);var s=n.createElement("iframe");s.src="https://www.googletagmanager.com/ns.html?id=GTM-PL4PD49",s.height="0",s.width="0",s.style="display:none;visibility:hidden",n.body.appendChild(s),t.gtmLoaded=!0}}),f()(this,"loadHLS",function(){Bn()||"safari"===Vn.name?t.hlsLoadingStatus="no-need":(t.loadScript(t.HLS_MAIN_SCRIPT,t.onHlsScriptLoaded,t.onHlsLoadError),t.hlsLoadingStatus="loading")}),f()(this,"loadIMA",function(){t.loadScript(t.IMA_SCRIPT,t.onImaLoaded,t.onImaLoadError),t.imaLoadingStatus="loading"}),f()(this,"loadExternalDependencies",function(){""===t.getIMALoadingStatus()&&t.loadIMA(),""===t.getHLSLoadingStatus()&&t.loadHLS(),t.gtmLoaded||t.loadGTMifNeeded()}),this.dependenciesCallbacks=[]};f()(Ci,"instance",void 0),f()(Ci,"getInstance",function(){return Ci.instance||(Ci.instance=new Ci),Ci.instance});var Ri=function(e){return"".concat("mplayer-monetization-ad-container","-").concat(e)},Di=function(e){return"".concat("mplayer-monetization-safari-video-ad","-").concat(e)},Mi=jt(function(e){return{contentVideoTime:hn.currentVideoTime(e),playerUniqId:hn.playerInstanceUniqId(e)}})(function(e){var t=e.contentVideoTime,n=e.playerUniqId,r=oe();return re(function(){Un(r.current)||(r.current.currentTime=t)},[t]),b("video",{id:Di(n),ref:r,style:{backgroundColor:"rgb(0, 0, 0)",width:"100%",height:"100%"},title:"Advertisement",preload:"auto",muted:!0,playsInline:!0,"webkit-playsinline":""})});function Ii(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}function ki(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Ii(Object(n),!0).forEach(function(t){f()(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Ii(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}var Ni=jt(function(e,t){return ki(ki({},t),{},{adStatus:_i.adStatus(e)})})(function(e){var t=e.playerId,n=e.adStatus,r="playing"===n||"paused"===n;return re(function(){document.getElementById(vn(t)).style.display=r?"flex":"none"},[t,r]),b("div",{style:{width:"100%",height:"100%"}},b("div",{id:Ri(t),style:{height:"100%",width:"100%"}},Bn()&&b(Mi,null)))}),Li=function(e){var t=e.store,n=e.playerId;return b(Ze,{store:t},b(Ni,{playerId:n}))},xi=n(2),Vi=n.n(xi),ji=(n(46),function(){function e(t,n,r){Ai()(this,e),f()(this,"store",void 0),f()(this,"getDependenciesElements",void 0),f()(this,"oldState",void 0),f()(this,"unsubscribe",void 0),f()(this,"onChange",void 0),this.store=t,this.oldState=t.getState(),this.getDependenciesElements=n,this.unsubscribe=t.subscribe(this.onStateChanged.bind(this)),this.onChange=r}return Vi()(e,[{key:"stopSubscription",value:function(){this.unsubscribe(),this.oldState=null,this.getDependenciesElements=null,this.store=null,this.unsubscribe=null,this.onChange=null}},{key:"onStateChanged",value:function(){var e=this.store.getState(),t=this.getDependenciesElements(this.oldState),n=this.getDependenciesElements(e);t.every(function(e,t){return e===n[t]})||this.onChange(e),this.oldState=e}}]),e}()),Ui=pn.dependenciesLoadingStatus,Fi={loadingImaStatus:function(e){return Ui(e).loadingImaStatus},loadingHLSStatus:function(e){return Ui(e).loadingHLSStatus}},Bi=function(e){return"blocked"===Fi.loadingImaStatus(e)},Hi=function(e){return"playing"===e||"requested"===e||"loaded"===e||"paused"===e},qi=function(){function e(t,n){Ai()(this,e),f()(this,"videoTimeSubscriber",void 0),f()(this,"adsScheduler",void 0),this.videoTimeSubscriber=new ji(t,e.getVideoTimeDependencies,this.onVideoTimeChanged.bind(this)),this.adsScheduler=n}return Vi()(e,[{key:"onVideoTimeChanged",value:function(t){"seeking"!==hn.videoTagStatus(t)&&(e.shouldRequestAd(t)?this.adsScheduler.onPreAdTimeReached(e.getMidroll(t)):e.isOnAdTime(t)&&this.adsScheduler.onAdTimeReached())}}],[{key:"getVideoTimeDependencies",value:function(e){return[hn.currentVideoTime(e)]}},{key:"isTimeInPreAdRange",value:function(e,t){return t>=e&&e>=t-$i}},{key:"getNextSpecificMidrollTime",value:function(t,n){return-1!==t.indexOf(n)?n:t.find(function(t){return e.isTimeInPreAdRange(n,t)})}},{key:"getNextReocurringMidrollNumber",value:function(e,t){var n=t/e;return t%e===0?n:Math.ceil(n)}},{key:"getMidroll",value:function(t){var n=hn.currentVideoTime(t),r=bi.midrolls(t),i=r.every,o=r.on,a=Dn.mediaId(t);if(!Un(i)){var s=e.getNextReocurringMidrollNumber(i,n);return{currentTime:n,mediaId:a,midrollNumber:s,midrollTime:s*i}}if(!Un(o)){var u=e.getNextSpecificMidrollTime(o,n);return{midrollNumber:o.indexOf(u)+1,currentTime:n,midrollTime:u,mediaId:a}}return null}},{key:"isMidrollAlreadyPlayed",value:function(e,t){return-1!==e.indexOf(t)}},{key:"isMidrollReached",value:function(t){var n=hn.currentVideoTime(t),r=bi.midrolls(t),i=r.every,o=r.on,a=_i.playedMidrolls(t);if(!Un(i)&&n>0){var s=e.getNextReocurringMidrollNumber(i,n),u=s*i;return!this.isMidrollAlreadyPlayed(a,s)&&e.isTimeInPreAdRange(n,u)}if(!Un(o)){var c=e.getNextSpecificMidrollTime(o,n),l=o.indexOf(c)+1;return l>0&&!this.isMidrollAlreadyPlayed(a,l)}return!1}},{key:"shouldRequestAd",value:function(e){var t=_i.adStatus(e);return!Bi(e)&&!Hi(t)&&this.isMidrollReached(e)}},{key:"isOnAdTime",value:function(t){var n=hn.currentVideoTime(t),r=bi.midrolls(t),i=r.every,o=r.on,a=_i.playedMidrolls(t);if(Bi(t))return!1;if(!Un(i)){var s=e.getNextReocurringMidrollNumber(i,n);return 0!==n&&n%i===0&&!this.isMidrollAlreadyPlayed(a,s)}if(!Un(o)){var u=o.indexOf(n);return-1!==u&&!this.isMidrollAlreadyPlayed(a,u)}return!1}}]),e}(),Wi=function(){function e(t){var n=this;Ai()(this,e),f()(this,"referrerUrl",void 0),f()(this,"staticAdTag",void 0),f()(this,"generate",function(e,t){var r=encodeURIComponent(n.referrerUrl);return Un(n.staticAdTag)?n.adTagFromApi(e,r,t):n.parseAdTag(n.staticAdTag,e,r,t)}),this.staticAdTag=t,this.referrerUrl=window.location.href}return Vi()(e,[{key:"parseAdTag",value:function(t,n,r,i){var o=t.replace("##AdUnit##",e.parseAdName(n)).replace("##DESCRIPTION_URL_UNESC##",r).replace("##REFERRER_URL_UNESC##",encodeURIComponent(this.referrerUrl)).replace("##CACHEBUSTER##",e.cacheBuster(n)).replace("##MIDROLL_ORDER##",e.adIndexFromName(n));return o=e.replaceVideoId(o,"##VIDEO_ID##",i),o=e.addHacksToAdTag(o)}},{key:"adTagFromApi",value:function(e,t,n){try{var r=window.getVideoTag(t,e);return Un(r)?null:this.parseAdTag(r,e,t,n)}catch(i){return null}}}],[{key:"getCCPAConsent",value:function(t){try{var n="";return window.__uspapi&&window.__uspapi("getUSPData",1,function(e,t){t&&(n=e.uspString)}),e.setSearchParamToAdTag(t,"us_privacy",n)}catch(r){return t}}},{key:"replaceVideoId",value:function(e,t,n){return e.replace(t,n).replace(encodeURIComponent(t),n).replace(encodeURIComponent(encodeURIComponent(t)),n)}},{key:"cacheBuster",value:function(t){return"".concat((new Date).getTime()).concat(e.adIndexFromName(t))}},{key:"parseAdName",value:function(t){return t.startsWith("preroll")?"PR":"MR".concat(e.adIndexFromName(t))}},{key:"adIndexFromName",value:function(e){return e.replace(/[^\d]*/g,"")}}]),e}();f()(Wi,"setSearchParamToAdTag",function(e,t,n){var r=new URL(e),i=decodeURIComponent(n);return r.searchParams.set(t,i),r.href}),f()(Wi,"getSearchParamFromAdTag",function(e,t){return new URL(e).searchParams.get(t)}),f()(Wi,"addHacksToAdTag",function(e){var t=e,n=Wi.getSearchParamFromAdTag(t,"cust_params");if(!jn(window.mmAPSbids)&&!Un(n)){var r="".concat(window.mmAPSbids,"&").concat(n);t=Wi.setSearchParamToAdTag(t,"cust_params",r)}if(!jn(window.shouldPlayAdRules)){var i=window.shouldPlayAdRules?"1":"0";t=Wi.setSearchParamToAdTag(t,"ad_rule",i)}return t=Wi.getCCPAConsent(t)});var zi=function(){function e(t,n){Ai()(this,e),f()(this,"store",void 0),f()(this,"videoTagStatusSubscriber",void 0),f()(this,"adsScheduler",void 0),f()(this,"previousVideoTagStatus",void 0);var r=t.getState;this.store=t,this.adsScheduler=n,this.previousVideoTagStatus=hn.videoTagStatus(r()),this.videoTagStatusSubscriber=new ji(t,e.getVideoTagStatusDependencies,this.onVideoTagStatusChanged.bind(this))}return Vi()(e,[{key:"onVideoTagStatusChanged",value:function(t){var n=hn.videoTagStatus(t),r=_i.adStatus(t);"seeking"===this.previousVideoTagStatus&&(Hi(r)?this.adsScheduler.onSeekedWhileAdInProgress():e.isSeekedOverMidroll(t)&&this.adsScheduler.onSeekToAdOpportunity(e.getSeekedMidroll(t))),this.previousVideoTagStatus=n}}],[{key:"getVideoTagStatusDependencies",value:function(e){return[hn.videoTagStatus(e)]}},{key:"getClosestSkippedUnplayedMidroll",value:function(e,t){for(var n=t;n>0;n-=1)if(-1===e.indexOf(n))return n;return null}},{key:"getClosestLowerSeekedMidrollNumber",value:function(e,t){var n=In()(e).reverse().find(function(e){return e<=t});return e.indexOf(n)+1}},{key:"getSeekedSpecificMidroll",value:function(e,t,n,r){var i=this.getClosestLowerSeekedMidrollNumber(e,t),o=this.getClosestSkippedUnplayedMidroll(r,i);return{midrollNumber:o,currentTime:t,midrollTime:e[o-1],mediaId:n}}},{key:"isSeekedOverSpecificMidroll",value:function(e,t,n){if(jn(e))return!1;var r=this.getClosestLowerSeekedMidrollNumber(e,n);return null!==this.getClosestSkippedUnplayedMidroll(t,r)}},{key:"getSeekedReoccuringMidroll",value:function(e,t,n,r){var i=Math.floor(t/e),o=this.getClosestSkippedUnplayedMidroll(r,i);return{midrollTime:o*e,currentTime:t,midrollNumber:o,mediaId:n}}},{key:"isSeekedOverReoccuringMidroll",value:function(e,t,n){if(jn(e))return!1;var r=Math.floor(n/e);return null!==this.getClosestSkippedUnplayedMidroll(t,r)}},{key:"getSeekedMidroll",value:function(e){var t=_i.playedMidrolls(e),n=hn.currentVideoTime(e),r=bi.midrolls(e),i=r.every,o=r.on,a=Cn.mediaId(e);return this.isSeekedOverReoccuringMidroll(i,t,n)?this.getSeekedReoccuringMidroll(i,n,a,t):this.isSeekedOverSpecificMidroll(o,t,n)?this.getSeekedSpecificMidroll(o,n,a,t):null}},{key:"isSeekedOverMidroll",value:function(e){var t=_i.playedMidrolls(e),n=hn.currentVideoTime(e),r=bi.midrolls(e),i=r.every,o=r.on,a=o;return bi.prerollEnabled(e)&&(a=o.filter(function(e){return 0!==e})),this.isSeekedOverReoccuringMidroll(i,t,n)||this.isSeekedOverSpecificMidroll(a,t,n)}}]),e}(),Gi=function e(t,n){var r=this;Ai()(this,e),f()(this,"pendingAdStatusStoreSubscriber",void 0),f()(this,"adsScheduler",void 0),f()(this,"onPendingAdStatusChanged",function(e){var t=_i.pendingAdStatus(e).type,n=_i.adStatus(e);if("playPreroll"===t&&!Hi(n)){var i=Cn.activeVideoIndex(e),o=Dn.mediaId(e);r.adsScheduler.onPrerollReached(o,i+1)}}),this.adsScheduler=n,this.pendingAdStatusStoreSubscriber=new ji(t,e.getPendingAdStatusDependencies,this.onPendingAdStatusChanged.bind(this))};f()(Gi,"getPendingAdStatusDependencies",function(e){return[_i.pendingAdStatus(e)]});var $i=3,Ki=function e(t,n){var r=this;Ai()(this,e),f()(this,"videoTimeSubscriber",void 0),f()(this,"videoSeekSubscriber",void 0),f()(this,"adTagGenerator",void 0),f()(this,"monetization",void 0),f()(this,"lastRequestedMidroll",null),f()(this,"prerollScheduler",void 0),f()(this,"generateMidrollTag",function(e){var t="midroll".concat(e.midrollNumber);return r.adTagGenerator.generate(t,e.mediaId)}),f()(this,"generatePrerollTag",function(e,t){var n="preroll".concat(t);return r.adTagGenerator.generate(n,e)}),f()(this,"onAdTimeReached",function(){r.monetization.onMidrollAdOpportunity()}),f()(this,"onPreAdTimeReached",function(e){r.onPreMidrollAdOpportunity(e)}),f()(this,"onSeekToAdOpportunity",function(e){r.onPreMidrollAdOpportunity(e)}),f()(this,"isMidrollAlreadyRequested",function(e){return e.midrollNumber===r.lastRequestedMidroll.midrollNumber&&e.mediaId===r.lastRequestedMidroll.mediaId&&e.midrollTime===r.lastRequestedMidroll.midrollTime}),f()(this,"onPreMidrollAdOpportunity",function(e){if(Un(r.lastRequestedMidroll)||!r.isMidrollAlreadyRequested(e)){r.lastRequestedMidroll=e;var t=r.generateMidrollTag(e);r.monetization.onPreMidrollAdOpportunity(e,t)}}),f()(this,"onPrerollReached",function(e,t){var n=r.generatePrerollTag(e,t);r.monetization.onPrerollAdOpportunity(n)}),f()(this,"onSeekedWhileAdInProgress",function(){r.monetization.onMidrollAdOpportunity()});var i=t.getState;this.monetization=n,this.videoTimeSubscriber=new qi(t,this),this.videoSeekSubscriber=new zi(t,this),this.prerollScheduler=new Gi(t,this);var o=_i.adTagUrlTemplate(i());this.adTagGenerator=new Wi(o)},Yi=function(){function e(){Ai()(this,e)}return Vi()(e,null,[{key:"generateAdRequest",value:function(e,t,n){var r=new google.ima.AdsRequest;return r.adTagUrl=e,Fn()||r.setAdWillPlayMuted(t),r.vastLoadTimeout=n,r}}]),e}(),Zi=function(e){return function(t){t({type:"[MONETIZATION] change ad status",payload:e})}},Xi=function(e){return function(t){t({type:"[COMMON] set pending video status",payload:{pendingStatusObject:{type:e,value:""}}})}},Ji=function(e){return function(t){t({type:"[MONETIZATION] change loading ad status",payload:e})}},Qi=function(e){return function(t){t({type:"[MONETIZATION] update ad muted",payload:e})}},eo=function(e){return function(t){t({type:"[MONETIZATION] change ad volume",payload:e})}},to=function e(t,n,r,i,o){var a=this;Ai()(this,e),f()(this,"store",void 0),f()(this,"IMAAdManager",void 0),f()(this,"adsLoader",void 0),f()(this,"adDisplayContainer",void 0),f()(this,"adVideoElement",void 0),f()(this,"videoPlayerElement",void 0),f()(this,"adContainerElement",void 0),f()(this,"anchorStatusStoreSubscriber",void 0),f()(this,"totalAdRequestMadeAmount",0),f()(this,"registerForWindowResize",function(){var e=zn(a.onResize.bind(a),80);window.addEventListener("resize",e)}),f()(this,"initMutationObserver",function(e){new MutationObserver(a.onResize).observe(e,{attributes:!0,childList:!1,subtree:!1})}),f()(this,"loadNewAd",function(e,t){var n=a.store.dispatch;a.clearOldAdManagerIfExist();var r=a.createAdRequest(e);try{a.validateAdRequestCorrectness(r),a.adsLoader.requestAds(r),function(e,t){return function(n){n({type:"[MONETIZATION] change ad tag",payload:{adTag:e,adUnit:t}})}}(e,t)(n),Zi("requested")(n),a.totalAdRequestMadeAmount+=1}catch(i){a.onAdError(a.getLoadingError(r))}}),f()(this,"playAd",function(){try{a.IMAAdManager.init(a.videoPlayerElement.clientWidth,a.videoPlayerElement.clientHeight,google.ima.ViewMode.NORMAL);try{a.IMAAdManager.start()}catch(e){return!1}return!0}catch(t){return a.onAdError(a.getPlayAdError("ad manager start error")),!1}}),f()(this,"clearOldAdManagerIfExist",function(){Un(a.IMAAdManager)||(a.IMAAdManager.destroy(),a.IMAAdManager=null)}),f()(this,"createAdLoader",function(e,t){var n=bi.vpaidMode(e);a.adsLoader=new google.ima.AdsLoader(t),a.adsLoader.getSettings().setDisableCustomPlaybackForIOS10Plus(!0),a.adsLoader.getSettings().setVpaidMode(google.ima.ImaSdkSettings.VpaidMode[n]),a.adsLoader.addEventListener(google.ima.AdsManagerLoadedEvent.Type.ADS_MANAGER_LOADED,a.onIMAAdsManagerLoaded.bind(a),!1,a),a.adsLoader.addEventListener(google.ima.AdErrorEvent.Type.AD_ERROR,a.onAdError.bind(a),!1,a)}),f()(this,"createAdRequest",function(e){var t=a.store.getState,n=gn.muted(t()),r=bi.adRequestTimeout(t());return Yi.generateAdRequest(e,n,r)}),f()(this,"validateAdRequestCorrectness",function(e){e&&e.adTagUrl&&decodeURIComponent(e.adTagUrl.replace(/\+/g," "))}),f()(this,"getLoadingError",function(e){var t=function(){return"bad ad request ".concat(JSON.stringify(e))};return{getError:function(){return{getMessage:t}}}}),f()(this,"getPlayAdError",function(e){var t=function(){return"play ad error: ".concat(JSON.stringify(e))};return{getError:function(){return{getMessage:t}}}}),f()(this,"setAdVolume",function(e){var t=a.store,n=t.getState,r=t.dispatch,i=gn.volume(n());Bn()||gn.muted(n())?(e.setVolume(0),Qi(!0)(r)):(e.setVolume(gn.volume(n())),eo(i)(r),Qi(!1)(r))}),f()(this,"createIMAAdManager",function(t){a.IMAAdManager=t.getAdsManager(a.adVideoElement,e.getAdsRenderingSettings()),a.setAdVolume(a.IMAAdManager)}),f()(this,"registerToAdManagerEvents",function(){a.IMAAdManager.addEventListener(google.ima.AdErrorEvent.Type.AD_ERROR,a.onAdError),a.IMAAdManager.addEventListener(google.ima.AdEvent.Type.CONTENT_PAUSE_REQUESTED,a.onContentPauseRequested),a.IMAAdManager.addEventListener(google.ima.AdEvent.Type.CONTENT_RESUME_REQUESTED,a.onContentResumeRequested),a.IMAAdManager.addEventListener(google.ima.AdEvent.Type.STARTED,a.onAdStarted),a.IMAAdManager.addEventListener(google.ima.AdEvent.Type.IMPRESSION,a.onAdImpression),a.IMAAdManager.addEventListener(google.ima.AdEvent.Type.SKIPPED,a.onAdSkipped),a.IMAAdManager.addEventListener(google.ima.AdEvent.Type.COMPLETE,a.onAdCompleted),a.IMAAdManager.addEventListener(google.ima.AdEvent.Type.PAUSED,a.onAdPaused),a.IMAAdManager.addEventListener(google.ima.AdEvent.Type.RESUMED,a.onAdStarted),a.IMAAdManager.addEventListener(google.ima.AdEvent.Type.AD_PROGRESS,a.onAdProgressChanged),a.IMAAdManager.addEventListener(google.ima.AdEvent.Type.VOLUME_CHANGED,a.onVolumeChanged),a.IMAAdManager.addEventListener(google.ima.AdEvent.Type.VOLUME_MUTED,a.onAdVolumeMutedChanged),a.IMAAdManager.addEventListener(google.ima.AdEvent.Type.ALL_ADS_COMPLETED,a.onAdCompleted)}),f()(this,"onIMAAdsManagerLoaded",function(e){var t=a.store.dispatch;a.createIMAAdManager(e),a.registerToAdManagerEvents(),Zi("loaded")(t)}),f()(this,"onAdError",function(e){var t=a.store.dispatch;!function(e){return function(t){t({type:"[MONETIZATION] change ad error",payload:e})}}(e.getError().getMessage())(t),Ji(!1),a.continuePlayingContent()}),f()(this,"onAdImpression",function(e){var t=a.store.dispatch,n=!e.getAd().g.vpaid;a.setPodInfo(e),function(e){e({type:"[MONETIZATION] increase ad impression counter"})}(t),function(e){return function(t){t({type:"[MONETIZATION] update is vast ad",payload:e})}}(n)(t)}),f()(this,"onVolumeChanged",function(e){var t=a.store.dispatch;eo(e.target.getVolume())(t)}),f()(this,"onAdVolumeMutedChanged",function(e){var t=a.store.dispatch;0===e.target.getVolume()?Qi(!0)(t):Qi(!1)(t)}),f()(this,"continuePlayingContent",function(){var e=a.store,t=e.getState,n=e.dispatch,r=hn.videoTagStatus(t());Xi("idle"===r?"play":"resume")(n)}),f()(this,"stopPlayingContent",function(){var e=a.store.dispatch;Xi("pause")(e)}),f()(this,"onContentPauseRequested",function(){a.stopPlayingContent()}),f()(this,"onContentResumeRequested",function(){a.continuePlayingContent()}),f()(this,"onAdPaused",function(){var e=a.store.dispatch;Zi("paused")(e)}),f()(this,"setPodInfo",function(e){var t=e&&e.getAd()&&e.getAd().getAdPodInfo();if(!Un(t)){var n=a.store.dispatch;!function(e,t){return function(n){n({type:"[MONETIZATION] change pod info",payload:{slotNumber:e,podNumber:t}})}}(t.getAdPosition(),a.totalAdRequestMadeAmount)(n)}}),f()(this,"onAdStarted",function(){var e=a.store,t=e.dispatch,n=e.getState,r=gn.volume(n());Zi("playing")(t),0===a.IMAAdManager.getVolume()?a.IMAAdManager.setVolume(0):window.shouldPlayAdRule||a.IMAAdManager.setVolume(r),a.onResize()}),f()(this,"onAdCompleted",function(){var e=a.store.dispatch;Zi("completed")(e)}),f()(this,"onAdSkipped",function(){var e=a.store.dispatch;Zi("skipped")(e)}),f()(this,"onResize",function(){Un(a.IMAAdManager)||(a.IMAAdManager.resize(a.videoPlayerElement.clientWidth,a.videoPlayerElement.clientHeight,google.ima.ViewMode.NORMAL),a.adContainerElement.style.height="".concat(a.videoPlayerElement.clientHeight,"px"))}),f()(this,"onAdProgressChanged",function(e){var t,n,r=a.store,i=r.dispatch,o=r.getState,s=e.getAdData().currentTime,u=e.getAdData().duration,c=_i.adDuration(o());(t=s,function(e){e({type:"[MONETIZATION] change ad current time",payload:t})})(i),c!==u&&(n=u,function(e){e({type:"[MONETIZATION] change ad duration",payload:n})})(i)}),f()(this,"onAnchorStatusChanged",function(){var e=a.store.getState;"processing"!==Pr(e())&&a.onResize()}),f()(this,"changeAdVolume",function(e){Un(a.IMAAdManager)||a.IMAAdManager.setVolume(e)}),f()(this,"changeAdMuted",function(e,t){Un(a.IMAAdManager)||(t?a.IMAAdManager.setVolume(0):a.IMAAdManager.setVolume(e))}),f()(this,"changeAdStatus",function(e){Un(a.IMAAdManager)||("playing"===e&&a.IMAAdManager.resume(),"paused"===e&&a.IMAAdManager.pause())});var s=t.getState;this.store=t,this.adVideoElement=r,this.videoPlayerElement=i,this.adContainerElement=n,this.adDisplayContainer=new google.ima.AdDisplayContainer(n,r),this.createAdLoader(s(),this.adDisplayContainer),this.adDisplayContainer.initialize(),this.anchorStatusStoreSubscriber=new ji(t,e.getAnchorDependencies,this.onAnchorStatusChanged.bind(this)),this.registerForWindowResize(),this.initMutationObserver(o)};f()(to,"getAdsRenderingSettings",function(){var e=new google.ima.AdsRenderingSettings;return e.restoreCustomPlaybackStateOnAdBreakComplete=!0,e.enablePreloading=!1,e.uiElements=[],e.loadVideoTimeout=15e3,e}),f()(to,"getAnchorDependencies",function(e){return[Pr(e)]});var no=function e(t,n,r,i,o,a){var s=this;Ai()(this,e),f()(this,"store",void 0),f()(this,"playerId",void 0),f()(this,"adScheduler",void 0),f()(this,"adHandler",void 0),f()(this,"imaLoadingStatusSubscriber",void 0),f()(this,"adStatusSubscriber",void 0),f()(this,"videoTagStatusSubscriber",void 0),f()(this,"adContainer",void 0),f()(this,"adVideoElement",void 0),f()(this,"videoPlayerElement",void 0),f()(this,"playerContainer",void 0),f()(this,"pendingMidrollAdPlay",!1),f()(this,"pendingPrerollAdPlay",!1),f()(this,"pendingPrerollAdTag",null),f()(this,"pendingMidrollNumber",null),f()(this,"pendingAdStatusStoreSubscriber",void 0),f()(this,"adMutedStoreSubscriber",void 0),f()(this,"adVolumeStoreSubscriber",void 0),f()(this,"onMidrollAdOpportunity",function(){var e=s.store,t=e.dispatch,n=e.getState,r=_i.adStatus(n()),i=bi.continuePlayingWhileWaitingForAd(n());"loaded"===r?s.playAd(!0):"requested"===r&&(s.pendingMidrollAdPlay=!0,i||(Xi("pause")(t),Ji(!0)(t))),function(e){e({type:"[MONETIZATION] increase ad Opportunity counter"})}(t)}),f()(this,"onPrerollAdOpportunity",function(e){var t=s.store,n=t.getState,r=t.dispatch,i=Fi.loadingImaStatus(n());Un(s.adHandler)?"loading"!==i&&""!==i||(Ji(!0)(r),s.pendingPrerollAdPlay=!0,s.pendingPrerollAdTag=e):(s.pendingPrerollAdPlay=!0,Ji(!0)(r),s.adHandler.loadNewAd(e,"preroll"))}),f()(this,"onPreMidrollAdOpportunity",function(e,t){Un(s.adHandler)||(e.currentTime>=e.midrollTime&&(s.pendingMidrollAdPlay=!0),s.pendingMidrollNumber=e.midrollNumber,s.adHandler.loadNewAd(t,"midroll"))}),f()(this,"hasPendingAd",function(){return s.hasPendingMidrollAdPlay()||s.hasPendingPrerollAdPlay()}),f()(this,"onAdStatusChanged",function(e){var t=s.store.dispatch,n=_i.adStatus(e);"completed"===n&&Ji(!1)(t);var r=bi.continuePlayingWhileWaitingForAd(e),i=_i.loadingAd(e);"playing"!==n&&"error"!==n||r||!i||Ji(!1)(t),s.hasPendingAd()&&"loaded"===n?s.playAd(s.hasPendingMidrollAdPlay()):s.hasPendingAd()&&"error"===n?(Ji(!1),s.clearPendingMidroll(),s.clearPendingPreroll()):Hi(n)||(Ji(!1),function(e){e({type:"[MONETIZATION] clear ad data"})}(t))}),f()(this,"clearPendingMidroll",function(){s.pendingMidrollNumber=null,s.pendingMidrollAdPlay=!1}),f()(this,"clearPendingPreroll",function(){s.pendingPrerollAdPlay=!1,s.pendingPrerollAdTag=null}),f()(this,"onVideoTagStatusChanged",function(e){"complete"===hn.videoTagStatus(e)&&function(e){e({type:"[MONETIZATION] clear played midrolls"})}(s.store.dispatch)}),f()(this,"hasPendingMidrollAdPlay",function(){return s.pendingMidrollAdPlay}),f()(this,"hasPendingPrerollAdPlay",function(){return s.pendingPrerollAdPlay}),f()(this,"playAd",function(e){var t,n=s.store.dispatch,r=s.adHandler.playAd();e?((t=s.pendingMidrollNumber,function(e){e({type:"[MONETIZATION] add played midroll number",payload:t})})(n),s.clearPendingMidroll()):s.clearPendingPreroll(),r||(Ji(!1)(n),Xi("resume")(n))}),f()(this,"onIMALoadingStatusChanged",function(t){e.canUseIMA(t)&&(Un(s.adHandler)&&(s.adHandler=new to(s.store,s.adContainer,s.adVideoElement,s.videoPlayerElement,s.playerContainer)),s.hasPendingPrerollAdPlay()&&s.adHandler.loadNewAd(s.pendingPrerollAdTag,"preroll"))}),f()(this,"onPendingAdStatusChanged",function(){var e=s.store.getState,t=_i.pendingAdStatus(e()).type;switch(t){case"paused":case"playing":s.adHandler.changeAdStatus(t)}}),f()(this,"onAdMutedChanged",function(){var e=s.store.getState,t=_i.adMuted(e()),n=gn.volume(e());s.adHandler.changeAdMuted(n,t)}),f()(this,"onAdVolumeChanged",function(){var e=s.store.getState,t=_i.adVolume(e());s.adHandler.changeAdVolume(t)});var u=t.getState;this.store=t,this.playerId=n,this.adContainer=r,this.adVideoElement=i,this.videoPlayerElement=o,this.playerContainer=a,this.adScheduler=new Ki(t,this),this.adStatusSubscriber=new ji(t,e.getAdStatusDependencies,this.onAdStatusChanged.bind(this)),this.videoTagStatusSubscriber=new ji(t,e.getVideoTagStatusDependencies,this.onVideoTagStatusChanged.bind(this)),e.canUseIMA(u())?this.adHandler=new to(t,r,i,o,a):this.imaLoadingStatusSubscriber=new ji(t,e.getIMALoadingStatusDependencies,this.onIMALoadingStatusChanged.bind(this)),this.pendingAdStatusStoreSubscriber=new ji(t,e.getPendingAdStatusDependencies,this.onPendingAdStatusChanged.bind(this)),this.adMutedStoreSubscriber=new ji(t,e.getAdMutedDependencies,this.onAdMutedChanged.bind(this)),this.adVolumeStoreSubscriber=new ji(t,e.getAdVolumeDependencies,this.onAdVolumeChanged.bind(this))};f()(no,"getAdStatusDependencies",function(e){return[_i.adStatus(e)]}),f()(no,"getVideoTagStatusDependencies",function(e){return[hn.videoTagStatus(e)]}),f()(no,"getIMALoadingStatusDependencies",function(e){return[Fi.loadingImaStatus(e)]}),f()(no,"canUseIMA",function(e){return"success"===Fi.loadingImaStatus(e)}),f()(no,"getPendingAdStatusDependencies",function(e){return[_i.pendingAdStatus(e)]}),f()(no,"getAdMutedDependencies",function(e){return[_i.adMuted(e)]}),f()(no,"getAdVolumeDependencies",function(e){return[_i.adVolume(e)]});var ro=function(e,t){!function(e,t){var n=document.getElementById(vn(t));B(b(Li,{store:e,playerId:t}),n)}(e,t);var n=function(e){var t=Ri(e);return document.getElementById(t)}(t),r=function(e){var t=Bn()?Di(e):En(e);return document.getElementById(t)}(t),i=function(e){var t=En(e);return document.getElementById(t)}(t),o=function(e){var t=bn(e);return document.getElementById(t)}(t);return new no(e,t,n,r,i,o)},io=n(4),oo=n.n(io),ao=n(7),so=n.n(ao),uo=function(){function e(){Ai()(this,e),f()(this,"duration",void 0),f()(this,"position",void 0),f()(this,"previousPosition",void 0),f()(this,"loadTime",void 0),f()(this,"adOrder",void 0),f()(this,"adType",void 0),f()(this,"adDuration",void 0),f()(this,"errorMessage",void 0),f()(this,"adPodNumber",void 0),f()(this,"adSlotNumber",void 0)}return Vi()(e,[{key:"setDuration",value:function(e){return this.duration=e,this}},{key:"setPosition",value:function(e){return this.position=e,this}},{key:"setPreviousPosition",value:function(e){return this.previousPosition=e,this}},{key:"setLoadTime",value:function(e){return this.loadTime=e,this}},{key:"setAdOrder",value:function(e){return this.adOrder=e,this}},{key:"setAdType",value:function(e){return this.adType=e,this}},{key:"setAdDuration",value:function(e){return this.adDuration=e,this}},{key:"setErrorMessage",value:function(e){return this.errorMessage=e,this}},{key:"setAdPodNumber",value:function(e){return this.adPodNumber=e,this}},{key:"setAdSlotNumber",value:function(e){return this.adSlotNumber=e,this}},{key:"build",value:function(){var e=[];return jn(this.position)||e.push("video current position=".concat(Hn(this.position),"sec")),jn(this.duration)||e.push("video duration time=".concat(Hn(this.duration),"sec")),jn(this.loadTime)||e.push("video load time=".concat(this.loadTime,"milliseconds")),jn(this.previousPosition)||e.push("previous position=".concat(Hn(this.previousPosition),"sec")),jn(this.adOrder)||e.push("ad order=".concat(this.adOrder)),jn(this.adType)||e.push("ad type=".concat(this.adType)),jn(this.adDuration)||e.push("ad duration=".concat(Hn(Number(this.adDuration)),"sec")),jn(this.adPodNumber)||e.push("pod number=".concat(this.adPodNumber)),jn(this.adSlotNumber)||e.push("slot number=".concat(this.adSlotNumber)),jn(this.errorMessage)||e.push("error message=".concat(this.errorMessage)),e.join(";")}}]),e}(),co="mmPlus GTM data ready to GA",lo="mmPlus GTM event to GA",po={EMBED:"vplayer video player embed",FIRST_PLAY:"vplayer video first play",COMPLETION_25_PERCENTAGE:"vplayer video 25% complete",COMPLETION_50_PERCENTAGE:"vplayer video 50% complete",COMPLETION_75_PERCENTAGE:"vplayer video 75% complete",COMPLETION_90_PERCENTAGE:"vplayer video 90% complete",AD_BLOCK:"vplayer video ad block",AD_REQUEST:"vplayer video ad request",AD_IMPRESSION:"vplayer video ad impression",AD_ERROR:"vplayer video ad error",AD_VIEWABLE_IMPRESSION:"vplayer video ad viewable impression",AD_COMPLETE:"vplayer video ad complete",AD_SKIP:"vplayer video ad skip",AD_PAUSE:"vplayer video ad pause",VIDEO_COMPLETE:"vplayer video complete",FULLSCREEN_ON:"vplayer video fullscreen on",FULLSCREEN_OFF:"vplayer video fullscreen off",SEEK:"vplayer video position seeked",VIDEO_MUTE:"vplayer video mute",VIDEO_UNMUTE:"vplayer video unmute",CONTROLS_MUTE_OR_UNMUTE:"controls Mute/Unmute button click",CONTROLS_PLAY_OR_PAUSE:"controls Play/Pause button click",CONTROLS_FULLSCREEN:"controls Fullscreen button click",CONTROLS_NEXT_VIDEO:"controls Next Video button click",CONTROLS_SETTINGS:"controls Settings button click",MINI_PLAYER_CLOSE:"vplayer video miniplayer close",LOADING_CONTENT_ERROR:"vplayer video player error",PLAYER_ERROR:"vplayer general player error",CONTENT_VIEWABLE_IMPRESSION:"vplayer video content viewable impression"},fo="loading ad provider library failed",ho="mid",yo=function e(t,n){var r=this;Ai()(this,e),f()(this,"store",void 0),f()(this,"analyticsEventsCallbacks",void 0),f()(this,"videoMuteSubscriber",void 0),f()(this,"videoFullscreenSubscriber",void 0),f()(this,"onMuteStateChanged",function(e){var t=gn.muted(e),n=hn.currentVideoTimeFragment(e),i=(new uo).setPosition(n).build(),o=t?po.VIDEO_MUTE:po.VIDEO_UNMUTE;r.analyticsEventsCallbacks.onEvent(o,i)}),f()(this,"onFullsScreenStateChanged",function(e){var t=gn.fullscreen(e),n=hn.currentVideoTimeFragment(e),i=(new uo).setPosition(n).build(),o=t?po.FULLSCREEN_ON:po.FULLSCREEN_OFF;r.analyticsEventsCallbacks.onEvent(o,i)}),this.store=t,this.analyticsEventsCallbacks=n,this.videoMuteSubscriber=new ji(t,e.getVideoMuteDependencies,this.onMuteStateChanged.bind(this)),this.videoFullscreenSubscriber=new ji(t,e.getVideoFullscreenDependencies,this.onFullsScreenStateChanged.bind(this))};f()(yo,"getVideoMuteDependencies",function(e){return[gn.muted(e)]}),f()(yo,"getVideoFullscreenDependencies",function(e){return[gn.fullscreen(e)]});var go=n(3),vo=n.n(go),mo=n(8),bo=n.n(mo),Oo=n(9),_o=n.n(Oo),So=n(5),Eo=n.n(So);n(20);var wo={root:null,threshold:.5,rootMargin:"0px"},Po=function(){function e(t,n,r){Ai()(this,e),f()(this,"store",void 0),f()(this,"observableElement",void 0),f()(this,"callback",void 0),f()(this,"isViewableTimeoutHandler",null),f()(this,"observer",void 0),f()(this,"didReport",!1),this.store=t,this.observableElement=n,this.callback=r,this.observer=new IntersectionObserver(this.onIntersecting.bind(this),wo)}return Vi()(e,[{key:"unobserve",value:function(){this.observer.unobserve(this.observableElement),this.clearIsViewableTimeout()}},{key:"observe",value:function(){this.observer.observe(this.observableElement)}},{key:"onPlay",value:function(){this.didReport||this.observe()}},{key:"onPause",value:function(){this.unobserve()}},{key:"onComplete",value:function(){this.didReport=!1,this.unobserve()}},{key:"onIntersecting",value:function(e){var t=e[0].isIntersecting;null===this.isViewableTimeoutHandler&&t?this.isViewableTimeoutHandler=setTimeout(this.notifyViewable.bind(this),2e3):this.clearIsViewableTimeout()}},{key:"clearIsViewableTimeout",value:function(){clearTimeout(this.isViewableTimeoutHandler),this.isViewableTimeoutHandler=null}},{key:"notifyViewable",value:function(){var e=this.store.getState;this.didReport=!0,this.callback(e()),this.unobserve()}}]),e}();function To(e){var t=function(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(e){return!1}}();return function(){var n,r=Eo()(e);if(t){var i=Eo()(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return _o()(this,n)}}var Ao=function(e){bo()(n,e);var t=To(n);function n(e,r,i){var o;return Ai()(this,n),o=t.call(this,e,r,i),f()(vo()(o),"videoTagStatusSubscriber",void 0),f()(vo()(o),"onVideoTagStatusChanged",function(e){var t=hn.videoTagStatus(e);"playing"===t?o.onPlay():"paused"===t||"seeking"===t?o.onPause():"complete"!==t&&"error"!==t||o.onComplete()}),o.videoTagStatusSubscriber=new ji(e,n.getVideoTagStatusDependencies,o.onVideoTagStatusChanged.bind(vo()(o))),o}return n}(Po);f()(Ao,"getVideoTagStatusDependencies",function(e){return[hn.videoTagStatus(e)]});var Co=function e(t,n,r,i){var o=this;Ai()(this,e),f()(this,"store",void 0),f()(this,"videoTagStatusSubscriber",void 0),f()(this,"analyticsEventsCallbacks",void 0),f()(this,"videoViewableImpressionObserver",void 0),f()(this,"firstPlayReportedIndex",-1),f()(this,"loadingStartTime",-1),f()(this,"registerVideoCallbacksIdNeeded",function(e,t){"none"!==hn.playbackMethod(e)&&document.getElementById(En(t)).addEventListener("loadstart",o.onLoadStart.bind(o),{once:!0})}),f()(this,"onLoadStart",function(){o.loadingStartTime=Date.now()}),f()(this,"getFirstPlayLabel",function(e){var t=hn.currentVideoTimeFragment(e),n=hn.currentVideoDuration(e),r=-1===o.loadingStartTime?-1:Date.now()-o.loadingStartTime;return(new uo).setPosition(t).setLoadTime(r).setDuration(n).build()}),f()(this,"onVideoTagStatusChanged",function(e){var t=hn.videoTagStatus(e),n=Cn.activeVideoIndex(e);if(!(n===o.firstPlayReportedIndex)&&"playing"===t){o.firstPlayReportedIndex=n;var r=o.getFirstPlayLabel(e);o.analyticsEventsCallbacks.onEvent(po.FIRST_PLAY,r)}}),f()(this,"reportVideoViewableImpression",function(e){var t=hn.currentVideoTimeFragment(e),n=(new uo).setPosition(t).build();o.analyticsEventsCallbacks.onEvent(po.CONTENT_VIEWABLE_IMPRESSION,n)}),this.store=t,this.analyticsEventsCallbacks=n,this.videoViewableImpressionObserver=new Ao(t,r,this.reportVideoViewableImpression.bind(this)),this.videoTagStatusSubscriber=new ji(t,e.getVideoTagDependencies,this.onVideoTagStatusChanged.bind(this)),this.registerVideoCallbacksIdNeeded(t.getState(),i)};f()(Co,"getVideoTagDependencies",function(e){return[hn.videoTagStatus(e)]});var Ro=[25,50,75,90],Do=function(){function e(){Ai()(this,e),f()(this,"lastReportedPercentage",void 0),this.lastReportedPercentage=0}return Vi()(e,[{key:"clear",value:function(){this.lastReportedPercentage=0}},{key:"updateConsumption",value:function(e,t){var n=e.position,r=e.duration,i=Math.round(n/r*100);i>this.lastReportedPercentage&&this.notifyReportableConsumption(e,i,t)}},{key:"notifyReportableConsumption",value:function(e,t,n){var r=this;Ro.filter(function(e){return e>r.lastReportedPercentage&&e<=t}).forEach(function(t){return n(t,e.position,e.duration)}),this.lastReportedPercentage=t}}]),e}(),Mo=function(){function e(t,n){var r=this;Ai()(this,e),f()(this,"store",void 0),f()(this,"analyticsEventsCallbacks",void 0),f()(this,"videoTimeSubscriber",void 0),f()(this,"videoTagStatusSubscriber",void 0),f()(this,"videoDataStoreSubscriber",void 0),f()(this,"percentageConsumption",void 0),f()(this,"previousVideoTagStatus",void 0),f()(this,"lastPlayedPosition",void 0),f()(this,"getVideoPercentageAction",function(e){switch(e){case 25:return po.COMPLETION_25_PERCENTAGE;case 50:return po.COMPLETION_50_PERCENTAGE;case 75:return po.COMPLETION_75_PERCENTAGE;case 90:return po.COMPLETION_90_PERCENTAGE;default:return""}}),f()(this,"onVideoTimeChanged",function(e){var t=hn.currentVideoDuration(e),n=hn.currentVideoTimeFragment(e);r.percentageConsumption.updateConsumption({position:n,duration:t},r.onVideoTimeReport.bind(r))}),f()(this,"onVideoTagStatusChanged",function(e){var t=hn.videoTagStatus(e),n=hn.currentVideoTimeFragment(e),i=hn.currentVideoDuration(e);if("seeking"===r.previousVideoTagStatus){var o=(new uo).setPosition(n).setPreviousPosition(r.lastPlayedPosition).build();r.analyticsEventsCallbacks.onEvent(po.SEEK,o)}else"seeking"===t&&(r.lastPlayedPosition=n);r.previousVideoTagStatus=t,"complete"===t&&r.onComplete(i)}),f()(this,"onVideoDataChanged",function(){r.percentageConsumption.clear()}),f()(this,"onComplete",function(e){var t=(new uo).setDuration(e).build();r.analyticsEventsCallbacks.onEvent(po.VIDEO_COMPLETE,t),r.percentageConsumption.clear()}),this.store=t,this.analyticsEventsCallbacks=n,this.videoTimeSubscriber=new ji(t,e.getVideoTimeDependencies,this.onVideoTimeChanged.bind(this)),this.videoTagStatusSubscriber=new ji(t,e.getVideoTagStatusDependencies,this.onVideoTagStatusChanged.bind(this)),this.videoDataStoreSubscriber=new ji(t,e.getVideoDataDependencies,this.onVideoDataChanged.bind(this)),this.percentageConsumption=new Do}return Vi()(e,[{key:"onVideoTimeReport",value:function(e,t,n){var r=this.getVideoPercentageAction(e),i=(new uo).setPosition(t).setDuration(n).build();this.analyticsEventsCallbacks.onEvent(r,i)}}]),e}();f()(Mo,"getVideoTimeDependencies",function(e){return[hn.currentVideoTime(e)]}),f()(Mo,"getVideoTagStatusDependencies",function(e){return[hn.videoTagStatus(e)]}),f()(Mo,"getVideoDataDependencies",function(e){return[Cn.videoData(e)]});var Io=function e(t,n,r,i){Ai()(this,e),f()(this,"store",void 0),f()(this,"timeEvents",void 0),f()(this,"videoSettingsEvents",void 0),f()(this,"videoTagStatusEvents",void 0),this.store=t,this.timeEvents=new Mo(t,n),this.videoSettingsEvents=new yo(t,n),this.videoTagStatusEvents=new Co(t,n,r,i)},ko=n(13),No=n.n(ko),Lo=function(){function e(){Ai()(this,e),f()(this,"batteryLevel","N/A"),f()(this,"batteryChargingState",!1),f()(this,"connectionSpeed","N/A"),f()(this,"connectionType","N/A"),this.setConnectionParams()}return Vi()(e,[{key:"setConnectionParams",value:function(){var e=this,t=navigator.connection||navigator.mozConnection||navigator.webkitConnection;t&&(this.updateConnectionParams(t.effectiveType,t.downlink),t.addEventListener("change",function(){return e.updateConnectionParams(t.effectiveType,t.downlink)}))}},{key:"updateConnectionParams",value:function(e,t){this.connectionType=e,this.connectionSpeed=t}},{key:"attach",value:function(){var e=so()(oo.a.mark(function e(){var t,n=this;return oo.a.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if(!navigator.getBattery){e.next=7;break}return e.next=3,navigator.getBattery();case 3:t=e.sent,this.updateBatteryParams(t.level,t.charging),t.ondischargingtimechange=function(e){return n.updateBatteryParams(e.target.level,e.target.charging)},t.onchargingtimechange=function(e){return n.updateBatteryParams(e.target.level,e.target.charging)};case 7:case"end":return e.stop()}},e,this)}));return function(){return e.apply(this,arguments)}}()},{key:"updateBatteryParams",value:function(e,t){this.batteryLevel="".concat(100*e),this.batteryChargingState=t}},{key:"getBatteryLevel",value:function(){return this.batteryLevel}},{key:"getBatteryChargingState",value:function(){return this.batteryChargingState}},{key:"getConnectionSpeed",value:function(){return this.connectionSpeed}},{key:"getConnectionType",value:function(){return this.connectionType}}]),e}(),xo=function(){"undefined"===typeof window["$$mm-analytics"]&&(window["$$mm-analytics"]={});var e=window;return"undefined"===typeof e["$$mm-analytics"].firstEmbed&&(e["$$mm-analytics"].firstEmbed=Date.now()),e["$$mm-analytics"].firstEmbed},Vo=function(){return"time in process=".concat(Date.now()-xo()," milliseconds")},jo=function(){function e(t,n){var r=this;Ai()(this,e),f()(this,"videoTag",null),f()(this,"deviceParams",void 0),f()(this,"trafficDomain",void 0),f()(this,"adTimeoutDuration",void 0),f()(this,"playbackMethod",void 0),f()(this,"configName",void 0),f()(this,"playerUniqKey",void 0),f()(this,"attach",so()(oo.a.mark(function e(){return oo.a.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return r.deviceParams=new Lo,e.next=3,r.deviceParams.attach();case 3:case"end":return e.stop()}},e)}))),f()(this,"translatePlaybackMethod",function(e){switch(e){case"lazyplay":return"scroll to play";case"autoplay":return"auto play";case"autoplay_when_viewable":return"auto play when viewable";case"none":return"click to play";default:return"none"}}),f()(this,"getAdTimeout",function(e){return e?"".concat(qn(e)," sec"):"none"}),f()(this,"getVideoTag",function(){return null===r.videoTag&&(r.videoTag=document.getElementById(En(r.playerUniqKey))),r.videoTag}),f()(this,"getUnitSize",function(){var e=r.getVideoTag();return null!==e?"".concat(e.clientWidth,":").concat(e.clientHeight):"none"}),f()(this,"getBatteryCharging",function(){return r.deviceParams.getBatteryChargingState()?"yes":"no"});var i=t.publisher_contribution,o=t.monetization,a=t.playback_method,s=t.config_name;this.playerUniqKey=n,this.trafficDomain=i,this.adTimeoutDuration=o&&o.ad_request_timeout?this.getAdTimeout(o.ad_request_timeout):"none",this.playbackMethod=this.translatePlaybackMethod(a),this.configName=s}return Vi()(e,[{key:"getDimensions",value:function(){return{mmPlusConfigName:this.configName,mmPlusPlaybackMethod:this.playbackMethod,mmPlusPrePvTimeInProcess:Vo(),mmPlusTrafficDomain:this.trafficDomain,mmPlusUnitSize:this.getUnitSize(),mmPlusUnitType:"video",mmPlusUserBatteryCharging:this.getBatteryCharging(),mmPlusUserBatteryLevel:this.deviceParams.getBatteryLevel(),mmPlusUserConnectionSpeed:this.deviceParams.getConnectionSpeed(),mmPlusUserConnectionType:this.deviceParams.getConnectionType(),mmPlusAdTimeoutDuration:this.adTimeoutDuration}}}]),e}();function Uo(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}function Fo(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Uo(Object(n),!0).forEach(function(t){f()(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Uo(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function Bo(e){var t=function(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(e){return!1}}();return function(){var n,r=Eo()(e);if(t){var i=Eo()(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return _o()(this,n)}}var Ho=function(e){bo()(n,e);var t=Bo(n);function n(e,r){var i,o;return Ai()(this,n),o=t.call(this,e,r),f()(vo()(o),"domain",void 0),f()(vo()(o),"getDimensions",function(){return Fo(Fo({},No()((i=vo()(o),Eo()(n.prototype)),"getDimensions",i).call(i)),{},{mmPlusDomain:o.domain})}),o.domain=window.location.hostname,o}return n}(jo);function qo(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}function Wo(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?qo(Object(n),!0).forEach(function(t){f()(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):qo(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function zo(e){var t=function(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(e){return!1}}();return function(){var n,r=Eo()(e);if(t){var i=Eo()(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return _o()(this,n)}}var Go=function(e){bo()(n,e);var t=zo(n);function n(e,r,i){var o;Ai()(this,n),o=t.call(this,i,r),f()(vo()(o),"store",void 0),f()(vo()(o),"playerUniqId",void 0),f()(vo()(o),"autoPlay",void 0),f()(vo()(o),"streamType",void 0),f()(vo()(o),"gaProperty",void 0),f()(vo()(o),"booleanToYesOrNo",function(e){return e?"yes":"no"}),f()(vo()(o),"getAspectRatio",function(e,t){var r=n.getCommonDenominator(e,t),i=t/r;return"".concat(e/r,":").concat(i)}),f()(vo()(o),"getUnitRadio",function(){var e=o.getVideoTag();if(null!==e){var t=e.clientWidth,n=e.clientHeight;return o.getAspectRatio(t,n)}return"none"}),f()(vo()(o),"getVideoDuration",function(e){var t=Dn.duration(e);return t?"".concat(t," sec"):"none"});var a=i.playback_method,s=i.content_type,u=i.ga_property;return o.store=e,o.playerUniqId=r,o.autoPlay=o.booleanToYesOrNo("none"!==a),o.streamType=s,o.gaProperty=u||o.trafficDomain,o}return Vi()(n,[{key:"getDimensions",value:function(){var e=this.store.getState;return Wo(Wo({},No()(Eo()(n.prototype),"getDimensions",this).call(this)),{},{mmPlusVideoPlayerId:this.playerUniqId,mmPlusUnitId:Dn.mediaId(e())||"none",mmPlusUnitTitle:Dn.title(e())||"none",mmPlusVideoAutoplay:this.autoPlay,mmPlusVideoDuration:this.getVideoDuration(e()),mmPlusVideoStreamType:this.streamType,mmPlusVideoPlaylistId:Cn.mediaId(e())||"none",mmPlusVideoMuted:this.booleanToYesOrNo(gn.muted(e())),mmPlusUnitTags:Dn.tags(e()).toString()||"none",mmPlusUnitOrderNumber:Cn.activeVideoIndex(e()),mmPlusTrafficReferrer:document.referrer,mmPlusUnitProvider:Dn.provider(e())||"none",mmPlusUnitCreator:Dn.creator(e())||"none",mmPlusUnitExternalId:Dn.externalId(e())||"none",mmPlusUnitRatio:this.getUnitRadio(),mmPlusGaProperty:this.gaProperty,mmPlusVideoPlayerType:"vplayer",mmPlusVideoThumbnailsOn:"none",mmPlusVideoClosedCaptionsOn:"none",mmPlusVideoRecommendationsVisible:"none"})}}]),n}(jo);function $o(e){var t=function(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(e){return!1}}();return function(){var n,r=Eo()(e);if(t){var i=Eo()(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return _o()(this,n)}}f()(Go,"getCommonDenominator",function(e,t){for(var n=e,r=t;r;){var i=r;r=n%r,n=i}return n});var Ko=function(e){bo()(n,e);var t=$o(n);function n(e,r,i){var o;return Ai()(this,n),o=t.call(this,e,r,i),f()(vo()(o),"adStatusSubscriber",void 0),f()(vo()(o),"onAdStatusChanged",function(e){var t=_i.adStatus(e);"playing"===t?o.onPlay():"paused"===t?o.onPause():Hi(t)||o.onComplete()}),o.adStatusSubscriber=new ji(e,n.getAdStatusDependencies,o.onAdStatusChanged.bind(vo()(o))),o}return n}(Po);f()(Ko,"getAdStatusDependencies",function(e){return[_i.adStatus(e)]});var Yo=function e(t,n,r){var i=this;Ai()(this,e),f()(this,"store",void 0),f()(this,"analyticsCallback",void 0),f()(this,"adStatusSubscriber",void 0),f()(this,"adImpressionSubscriber",void 0),f()(this,"adProviderLoadingStatusSubscriber",void 0),f()(this,"adViewableImpressionObserver",void 0),f()(this,"initAdBlockChecker",function(t){""===Fi.loadingImaStatus(t.getState())?i.adProviderLoadingStatusSubscriber=new ji(t,e.getAdProviderLoadingStatusDependencies,i.onAdProviderLoadingStatusChanged.bind(i)):i.onAdProviderLoadingStatusChanged(t.getState())}),f()(this,"getAdOrderFromPlayedMidrolls",function(e){return e&&e.length>0?e[e.length-1]:0}),f()(this,"getFullAdLabel",function(e){var t=hn.currentVideoTimeFragment(e),n=_i.adDuration(e),r=_i.playedMidrolls(e),o=_i.slotNumber(e),a=_i.podNumber(e),s=i.getAdOrderFromPlayedMidrolls(r);return(new uo).setAdType(ho).setPosition(t).setAdDuration(n).setAdOrder(s).setAdSlotNumber(o).setAdPodNumber(a).build()}),f()(this,"reportAdBlock",function(){i.analyticsCallback.onEvent(po.AD_BLOCK)}),f()(this,"reportError",function(e){var t=(new uo).setErrorMessage(e).build();i.analyticsCallback.onEvent(po.PLAYER_ERROR,t)}),f()(this,"reportAdRequested",function(e){var t=hn.currentVideoTimeFragment(e),n=_i.playedMidrolls(e),r=i.getAdOrderFromPlayedMidrolls(n),o=(new uo).setPosition(t).setAdOrder(r).build();i.analyticsCallback.onEvent(po.AD_REQUEST,o)}),f()(this,"reportAdImpression",function(e){var t=i.getFullAdLabel(e);i.analyticsCallback.onEvent(po.AD_IMPRESSION,t)}),f()(this,"reportAdError",function(e){var t=_i.adErrorMessage(e),n=_i.slotNumber(e),r=_i.podNumber(e),o=(new uo).setAdType(ho).setErrorMessage(t).setAdPodNumber(r).setAdSlotNumber(n).build();i.analyticsCallback.onEvent(po.AD_ERROR,o)}),f()(this,"reportAdComplete",function(e){var t=i.getFullAdLabel(e);i.analyticsCallback.onEvent(po.AD_COMPLETE,t)}),f()(this,"reportAdSkipped",function(e){var t=i.getFullAdLabel(e);i.analyticsCallback.onEvent(po.AD_SKIP,t)}),f()(this,"reportAdPaused",function(e){var t=i.getFullAdLabel(e);i.analyticsCallback.onEvent(po.AD_PAUSE,t)}),f()(this,"reportAdViewableImpression",function(e){var t=hn.currentVideoTimeFragment(e),n=_i.adDuration(e),r=_i.slotNumber(e),o=_i.podNumber(e),a=(new uo).setPosition(t).setAdType(ho).setAdDuration(n).setAdPodNumber(o).setAdSlotNumber(r).build();i.analyticsCallback.onEvent(po.AD_VIEWABLE_IMPRESSION,a)}),f()(this,"onAdStatusChanged",function(e){var t=_i.adStatus(e);"requested"===t&&i.reportAdRequested(e),"error"===t&&i.reportAdError(e),"completed"===t&&i.reportAdComplete(e),"skipped"===t&&i.reportAdSkipped(e),"paused"===t&&i.reportAdPaused(e)}),f()(this,"onAdProviderLoadingStatusChanged",function(e){var t=Fi.loadingImaStatus(e);"blocked"===t?i.reportAdBlock():"error"===t&&i.reportError(fo)}),f()(this,"onAdImpressionChanged",function(e){i.reportAdImpression(e)}),this.store=t,this.analyticsCallback=n,this.adStatusSubscriber=new ji(t,e.getAdStatusDependencies,this.onAdStatusChanged.bind(this)),this.adImpressionSubscriber=new ji(t,e.getAdImpressionDependencies,this.onAdImpressionChanged.bind(this)),this.adViewableImpressionObserver=new Ko(t,r,this.reportAdViewableImpression.bind(this)),this.initAdBlockChecker(t)};f()(Yo,"getAdProviderLoadingStatusDependencies",function(e){return[Fi.loadingImaStatus(e)]}),f()(Yo,"getAdStatusDependencies",function(e){return[_i.adStatus(e)]}),f()(Yo,"getAdImpressionDependencies",function(e){return[_i.adImpression(e)]});var Zo=pn.userInteraction,Xo=function(e){return Zo(e).userInteractionType},Jo=function e(t,n){var r=this;Ai()(this,e),f()(this,"store",void 0),f()(this,"analyticsCallbacks",void 0),f()(this,"userInteraction",void 0),f()(this,"getLabel",function(e){var t=hn.currentVideoTimeFragment(e);return(new uo).setPosition(t).build()}),f()(this,"reportMuteOrUnmute",function(e){r.analyticsCallbacks.onEvent(po.CONTROLS_MUTE_OR_UNMUTE,r.getLabel(e))}),f()(this,"reportFullscreen",function(e){r.analyticsCallbacks.onEvent(po.CONTROLS_FULLSCREEN,r.getLabel(e))}),f()(this,"reportPlayOrPause",function(e){r.analyticsCallbacks.onEvent(po.CONTROLS_PLAY_OR_PAUSE,r.getLabel(e))}),f()(this,"reportNextVideo",function(e){r.analyticsCallbacks.onEvent(po.CONTROLS_NEXT_VIDEO,r.getLabel(e))}),f()(this,"reportSettings",function(e){r.analyticsCallbacks.onEvent(po.CONTROLS_SETTINGS,r.getLabel(e))}),f()(this,"reportMiniPlayerClosed",function(e){r.analyticsCallbacks.onEvent(po.MINI_PLAYER_CLOSE,r.getLabel(e))}),f()(this,"onUserInteractionChanged",function(e){switch(Xo(e)){case"mute":case"unmute":r.reportMuteOrUnmute(e);break;case"fullscreen":r.reportFullscreen(e);break;case"play":case"pause":r.reportPlayOrPause(e);break;case"settings":r.reportSettings(e);break;case"nextVideo":r.reportNextVideo(e);break;case"closeMiniPlayer":r.reportMiniPlayerClosed(e)}}),this.store=t,this.analyticsCallbacks=n,this.userInteraction=new ji(t,e.getUserInteractionDependencies,this.onUserInteractionChanged.bind(this))};function Qo(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}function ea(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Qo(Object(n),!0).forEach(function(t){f()(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Qo(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}f()(Jo,"getUserInteractionDependencies",function(e){return[Xo(e)]});var ta=function e(t,n,r,i){var o=this;Ai()(this,e),f()(this,"store",void 0),f()(this,"videoEventsReporter",void 0),f()(this,"monetizationEventsReporter",void 0),f()(this,"userInteractionReporter",void 0),f()(this,"eventCustomDimensions",void 0),f()(this,"dataLayer",null),f()(this,"attach",function(){var e=so()(oo.a.mark(function e(t,n,r){return oo.a.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return o.eventCustomDimensions=new Go(t,n,r),e.next=3,o.eventCustomDimensions.attach();case 3:return e.next=5,o.reportReady(t,n,r);case 5:o.reportEmbed();case 6:case"end":return e.stop()}},e)}));return function(t,n,r){return e.apply(this,arguments)}}()),f()(this,"initDataLayer",function(){var e;try{e=$n(window.parent)}catch(t){e=$n(window)}o.dataLayer=window[e]}),f()(this,"reportReady",function(){var e=so()(oo.a.mark(function e(t,n,r){var i;return oo.a.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return i=new Ho(r,n),e.next=3,i.attach();case 3:o.dataLayer.push(ea({event:co},i.getDimensions()));case 4:case"end":return e.stop()}},e)}));return function(t,n,r){return e.apply(this,arguments)}}()),f()(this,"reportEmbed",function(){o.onEvent(po.EMBED)}),f()(this,"onEvent",function(e,t,n,r){var i=r||o.eventCustomDimensions.getDimensions(),a=n||lo;o.dataLayer.push(ea(ea({event:a,mmPlusGA_event_action:e,mmPlusGA_event_label:t,mmPlusGA_event_category:"MMVideo"},i),{},{time:Date.now()}))}),this.store=t,this.initDataLayer(),this.videoEventsReporter=new Io(t,this,i,n),this.monetizationEventsReporter=new Yo(t,this,i),window.monetizationEventsReporter=this.monetizationEventsReporter,this.userInteractionReporter=new Jo(t,this),this.attach(t,n,r)},na=pn.discovery,ra=function(e){return na(e).nextVideo},ia=n(51).version,oa=function e(){var t=this;Ai()(this,e),f()(this,"controlsLoaded",void 0),f()(this,"loadInternalPlugins",function(e,n,r){var i=r.dev_config,o=e.getState,a=i&&!Un(i.pluginsPath)?i.pluginsPath:function(){try{return"https://www.oo-syringe.com/prod/players"}catch(w){return"./dist/bundle"}}();t.loadAnalyticsPlugin(e,n,r),t.loadActionsPlugin(n,a),t.loadMonetizationPlugin(e,n),t.loadControlsPlugin(n,a),t.loadAnchorPlugin(n,a),t.loadComscorePlugin(n,r,a),Sr(o())&&Un(Zn(o()))&&t.loadCloseBarPlugin(n,a),"none"!==ra(o())&&t.loadDiscoveryPlugin(n,a),Un(Zn(o()))||t.loadSplitViewPlugin(n,a)}),f()(this,"loadActionsPlugin",function(e,t){if(window.monti.dataset&&window.monti.dataset.plugins.actionsPlugin)window.monti.dataset.plugins.actionsPlugin(e);else{var n=document.createElement("script");n.setAttribute("type","text/javascript"),n.setAttribute("src","".concat(t,"/mplayer_actions_plugin.").concat(ia,".js")),n.addEventListener("load",function(){window.monti.dataset.plugins.actionsPlugin(e)}),n.addEventListener("error",function(){console.log("ACTIONS PLUGIN LOADER ERROR !")}),document.body.appendChild(n)}}),f()(this,"loadMonetizationPlugin",function(e,t){ro(e,t)}),f()(this,"loadControlsPlugin",function(e,t){if(window.monti.dataset&&window.monti.dataset.plugins.controlsPlugin)window.monti.dataset.plugins.controlsPlugin(e);else{var n=document.createElement("script");n.setAttribute("src","".concat(t,"/mplayer_controls_plugin.").concat(ia,".js")),n.setAttribute("type","text/javascript"),n.addEventListener("load",function(){window.monti.dataset.plugins.controlsPlugin(e)}),n.addEventListener("error",function(){console.log("CONTROLS PLUGIN LOADER ERROR !")}),document.body.appendChild(n)}}),f()(this,"loadAnchorPlugin",function(e,t){if(window.monti.dataset&&window.monti.dataset.plugins.anchorPlugin)window.monti.dataset.plugins.anchorPlugin(e);else{var n=document.createElement("script");n.setAttribute("src","".concat(t,"/mplayer_anchor_plugin.").concat(ia,".js")),n.setAttribute("type","text/javascript"),n.addEventListener("load",function(){window.monti.dataset.plugins.anchorPlugin(e)}),n.addEventListener("error",function(){console.log("ANCHOR PLUGIN LOADER ERROR !")}),document.body.appendChild(n)}}),f()(this,"loadSplitViewPlugin",function(e,t){if(window.monti.dataset&&window.monti.dataset.plugins.splitViewPlugin)window.monti.dataset.plugins.splitViewPlugin(e);else{var n=document.createElement("script");n.setAttribute("src","".concat(t,"/mplayer_split_view_plugin.").concat(ia,".js")),n.setAttribute("type","text/javascript"),n.addEventListener("load",function(){window.monti.dataset.plugins.splitViewPlugin(e)}),n.addEventListener("error",function(){console.log("SPLIT VIEW PLUGIN LOADER ERROR !")}),document.body.appendChild(n)}}),f()(this,"loadComscorePlugin",function(e,t,n){if(window.monti.dataset&&window.monti.dataset.plugins.comscorePlugin)window.monti.dataset.plugins.comscorePlugin(e,t);else{var r=document.createElement("script");r.setAttribute("src","".concat(n,"/mplayer_comscore_plugin.").concat(ia,".js")),r.setAttribute("type","text/javascript"),r.addEventListener("load",function(){window.monti.dataset.plugins.comscorePlugin(e,t)}),r.addEventListener("error",function(){console.log("COMSCORE PLUGIN LOADER ERROR !")}),document.body.appendChild(r)}}),f()(this,"loadAnalyticsPlugin",function(e,t,n){!function(e,t,n){var r=document.getElementById(bn(t));new ta(e,t,n,r)}(e,t,n)}),f()(this,"loadDiscoveryPlugin",function(e,t){if(window.monti.dataset&&window.monti.dataset.plugins.discoveryPlugin)window.monti.dataset.plugins.discoveryPlugin(e);else{var n=document.createElement("script");n.setAttribute("src","".concat(t,"/mplayer_discovery_plugin.").concat(ia,".js")),n.setAttribute("type","text/javascript"),n.addEventListener("load",function(){window.monti.dataset.plugins.discoveryPlugin(e)}),n.addEventListener("error",function(){console.log("DISCOVERY PLUGIN LOADER ERROR !")}),document.body.appendChild(n)}}),f()(this,"loadCloseBarPlugin",function(e,t){if(window.monti.dataset&&window.monti.dataset.plugins.closeBar)window.monti.dataset.plugins.closeBarPlugin(e);else{var n=document.createElement("script");n.setAttribute("src","".concat(t,"/mplayer_close_bar_plugin.").concat(ia,".js")),n.setAttribute("type","text/javascript"),n.addEventListener("load",function(){window.monti.dataset.plugins.closeBarPlugin(e)}),n.addEventListener("error",function(){console.log("CLOSE BAR PLUGIN LOADER ERROR !")}),document.body.appendChild(n)}}),this.controlsLoaded=!1};function aa(e){return function(t){var n=t.dispatch,r=t.getState;return function(t){return function(i){return"function"===typeof i?i(n,r,e):t(i)}}}}f()(oa,"instance",void 0),f()(oa,"getInstance",function(){return oa.instance||(oa.instance=new oa),oa.instance});var sa=aa();sa.withExtraArgument=aa;var ua=sa;function ca(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}function la(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?ca(Object(n),!0).forEach(function(t){f()(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):ca(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}var da={loadingHLSStatus:"",loadingImaStatus:""};function pa(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}function fa(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?pa(Object(n),!0).forEach(function(t){f()(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):pa(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}var ha={playerId:"",playerInstanceUniqId:null,playbackMethod:"none",videoTagStatus:"idle",pendingVideoTagStatus:{type:null,value:null},currentVideoTime:0,currentVideoTimeFragment:0,currentVideoBufferedTime:0,currentVideoDuration:0,playerMode:"desktop",playerVisibility:0,playerPlaceholderVisibility:0,playerSettings:{muted:!0,volume:.5,speed:1,quality:"Auto",selectedSettingsCategory:"",fullscreen:{pendingFullscreenRequest:"",isFullscreenOn:!1}},loader:{showBlackScreen:!1},playerSize:"",errorMessage:"",loadingPlayer:!1};function ya(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}function ga(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?ya(Object(n),!0).forEach(function(t){f()(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):ya(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}var va={showVoltaxLogo:!0,brandingLogoSrc:"",brandingLogoUrl:"",brandingColor:null};function ma(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}function ba(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?ma(Object(n),!0).forEach(function(t){f()(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):ma(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}var Oa={orientation:"right",canClose:!0,anchorData:{anchorEnabled:!1,anchorDisabledByUser:!1,anchorStatus:"inactive"},closableAd:!0,continueStreaming:!1,anchoringAppearance:"below",stickyBelowClassName:"",width:"",closeAfter:10,margins:{top:10,bottom:10,left:10,right:10}};function _a(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}function Sa(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?_a(Object(n),!0).forEach(function(t){f()(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):_a(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}var Ea,wa={continuePlayingWhileWaitingForAd:!1,midrolls:{},prerollEnabled:!1,vpaidMode:"ENABLED",adRequestTimeout:1e4,adsData:{podNumber:0,slotNumber:0,adType:null,adTagUrlTemplate:null,adErrorMessage:null,adDuration:0,adCurrentTime:0,adOrder:0,adStatus:"",pendingAdStatus:{type:""},playedMidrolls:[],adImpression:0,adOpportunity:0,isVastAd:!1,adMuted:!0,adVolume:.5,currentAdTag:null,adUnit:"",loadingAd:!1}},Pa=n(32),Ta=n.n(Pa);!function(e){e.POST="post",e.GET="get",e.DELETE="delete",e.PUT="put",e.PATCH="patch",e.HEAD="head",e.OPTIONS="options"}(Ea||(Ea={}));var Aa=function(){function e(){Ai()(this,e)}return Vi()(e,null,[{key:"preformRequest",value:function(e,t){return new Promise(function(n,r){Ta()({method:e,url:t}).then(function(e){var t=e.data;n(t)}).catch(function(e){r(e)})})}},{key:"preformGet",value:function(e){return this.preformRequest(Ea.GET,e)}}]),e}();f()(Aa,"HTTP_STATUS_CODES",{OK:200,UNAUTHORIZED:401,INTERNAL_SERVER_ERROR:500,BAD_REQUEST:400,NOT_FOUND:404,CONFLICT:409});var Ca=function(){function e(){Ai()(this,e)}return Vi()(e,null,[{key:"getSemanticPlaylistUrl",value:function(e,t,n){if(n&&!Un(n.semantic_url))return n.semantic_url;var r=function(e){for(var t="",n=0,r=0;r<e.length;r+=1)n=e.charCodeAt(r)+2,t+=String.fromCharCode(n);return encodeURIComponent(encodeURIComponent(t))}(e.split("?")[0]),i="".concat(function(){try{return"https://semantic-matching.minutemediaservices.com/semantic-feed"}catch(w){return"https://semantic-matching.minutemediaservices.com/semantic-feed"}}(),"/").concat(r),o="?";return Un(t.minimumDateFactor)||(i="".concat(i).concat(o,"minimum_date_factor=").concat(t.minimumDateFactor),o="&"),Un(t.tags)||(i="".concat(i).concat(o,"tags=").concat(t.tags),o="&"),Un(t.scopedKeywords)||(i="".concat(i).concat(o,"scoped_keywords=").concat(t.scopedKeywords),o="&"),Un(t.scannedElement)||Un(t.scannedElementType)||(i="".concat(i).concat(o,"article_container=").concat(function(e,t){switch(t){case"id":return"".concat("#").concat(e);case"className":return e.split(" ").map(function(e){return"".concat(".").concat(e)}).join("");default:return"".concat("").concat(e)}}(t.scannedElement,t.scannedElementType)),o="&"),Un(t.scanImagesOnPage)||(i="".concat(i).concat(o,"scan_images=").concat(String(t.scanImagesOnPage))),i}},{key:"getSpecificPlaylistUrl",value:function(e,t){return t&&!Un(t.playlist_url)?t.playlist_url:"".concat("https://vms-videos.minutemediaservices.com","/").concat(e,"/").concat(e,".json")}}]),e}(),Ra=function(e,t){var n=e.findIndex(function(e){return e.type===t});return n>=0?e[n].file:""},Da=function(){function e(){Ai()(this,e)}return Vi()(e,null,[{key:"getSemanticPlaylist",value:function(e,t){var n=window.location.href,r=Ca.getSemanticPlaylistUrl(n,e,t);return Aa.preformGet(r)}},{key:"getSpecificPlaylist",value:function(e,t){var n=Ca.getSpecificPlaylistUrl(e,t);return Aa.preformGet(n)}}]),e}();f()(Da,"getPromotedVideos",function(){var e=so()(oo.a.mark(function e(t){var n;return oo.a.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return n=t.map(function(e){return Da.getSpecificPlaylist(e).then(function(e){return e.data}).catch(function(){return[]})}),e.abrupt("return",new Promise(function(e){Promise.all(n).then(function(t){var n=t.reduce(function(e,t){return e.concat(t)},[]);n.length>0&&e(n)})}));case 2:case"end":return e.stop()}},e)}));return function(t){return e.apply(this,arguments)}}());var Ma=function(e,t){return function(n){n({type:"[CORE] load video request success",payload:e.data.map(function(e,n){return{mediaId:e.payload_id,tags:e.tags,sources:e.sources,duration:e.duration,thumbnail:e.image,title:t?e.title:"",description:e.description,creator:e.creator,provider:e.video_provider,externalId:e.external_id,index:n}})})}},Ia=function(e){return function(t){t({type:"[CORE] load video request error",payload:e})}},ka=function(e,t,n){return function(){var r=so()(oo.a.mark(function r(i){var o;return oo.a.wrap(function(r){for(;;)switch(r.prev=r.next){case 0:return i({type:"[CORE] load video request"}),r.prev=1,r.next=4,Da.getSpecificPlaylist(e,n);case 4:o=r.sent,Ma(o,t)(i),r.next=11;break;case 8:r.prev=8,r.t0=r.catch(1),Ia(Xn.GENERAL_ERROR)(i);case 11:case"end":return r.stop()}},r,null,[[1,8]])}));return function(e){return r.apply(this,arguments)}}()},Na=function(e,t,n){return function(){var r=so()(oo.a.mark(function r(i){var o,a;return oo.a.wrap(function(r){for(;;)switch(r.prev=r.next){case 0:if(i({type:"[CORE] load video request"}),o=[],r.prev=2,!(Array.isArray(e.promotedVideos)&&e.promotedVideos.length>0)){r.next=7;break}return r.next=6,Da.getPromotedVideos(e.promotedVideos);case 6:o=r.sent;case 7:return r.next=9,Da.getSemanticPlaylist(e,n);case 9:(a=r.sent).data=o.concat(a.data),Ma(a,t)(i),r.next=17;break;case 14:r.prev=14,r.t0=r.catch(2),o.length>0?Ma({data:o},t)(i):Ia(Xn.GENERAL_ERROR)(i);case 17:case"end":return r.stop()}},r,null,[[2,14]])}));return function(e){return r.apply(this,arguments)}}()},La=function(e,t){return function(n){n({type:"[CORE] set current video",payload:{index:e,videoData:t}})}};function xa(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}function Va(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?xa(Object(n),!0).forEach(function(t){f()(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):xa(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}var ja={activeVideoIndex:0,mediaType:"semantic",mediaId:"",loadingMedia:!1,mediaLoadingError:"",mediaRequest:{type:null,value:""},videoList:[],videoData:{mediaId:"",tags:[],sources:[],duration:0,thumbnail:"",title:"",showTitle:!0,description:"",creator:"",provider:"",externalId:"",index:0}};function Ua(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}function Fa(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Ua(Object(n),!0).forEach(function(t){f()(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Ua(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}var Ba={promotedVideos:[],scannedElement:"",tags:"",scopedKeywords:"",minimumDateFactor:"",scannedElementType:null,scanImagesOnPage:!1};function Ha(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}function qa(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Ha(Object(n),!0).forEach(function(t){f()(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Ha(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}var Wa={userInteractionType:""};function za(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}function Ga(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?za(Object(n),!0).forEach(function(t){f()(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):za(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}var $a={splitViewRatio:null};function Ka(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}function Ya(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Ka(Object(n),!0).forEach(function(t){f()(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Ka(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}var Za={nextVideo:"none",showUpNext:!1,showSkippableContent:!1},Xa=function(e){return"none"===e?"none":"up_next"===e?"upNext":"skippable_content"===e?"skippableContent":"none"},Ja=function(e){for(var t=Object.keys(e),n={},r=0;r<t.length;r++){var i=t[r];"function"===typeof e[i]&&(n[i]=e[i])}var o,a=Object.keys(n);try{!function(e){Object.keys(e).forEach(function(t){var n=e[t];if("undefined"===typeof n(void 0,{type:yt.INIT}))throw new Error('Reducer "'+t+"\" returned undefined during initialization. If the state passed to the reducer is undefined, you must explicitly return the initial state. The initial state may not be undefined. If you don't want to set a value for this reducer, you can use null instead of undefined.");if("undefined"===typeof n(void 0,{type:yt.PROBE_UNKNOWN_ACTION()}))throw new Error('Reducer "'+t+"\" returned undefined when probed with a random type. Don't try to handle "+yt.INIT+' or other actions in "redux/*" namespace. They are considered private. Instead, you must return the current state for any unknown actions, unless it is undefined, in which case you must return the initial state, regardless of the action type. The initial state may not be undefined, but can be null.')})}(n)}catch(s){o=s}return function(e,t){if(void 0===e&&(e={}),o)throw o;for(var r=!1,i={},s=0;s<a.length;s++){var u=a[s],c=n[u],l=e[u],d=c(l,t);if("undefined"===typeof d){var p=mt(u,t);throw new Error(p)}i[u]=d,r=r||d!==l}return(r=r||a.length!==Object.keys(e).length)?i:e}}({dependenciesLoadingStatus:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:da,t=arguments.length>1?arguments[1]:void 0;switch(t.type){case"[CORE] update hls status":return la(la({},e),{},{loadingHLSStatus:t.payload});case"[CORE] update ima status":return la(la({},e),{},{loadingImaStatus:t.payload});default:return e}},playerData:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:ha,t=arguments.length>1?arguments[1]:void 0;switch(t.type){case"[CORE] initiate store":var n=t.payload;return fa({},function(e,t,n){var r=t.playback_method,i=t.player_id;return fa(fa({},e),{},{playbackMethod:Un(r)?e.playbackMethod:r,playerId:Un(i)?e.playerId:i,playerInstanceUniqId:n,playerMode:Fn()?"mobile":"desktop"})}(e,n.initiateParams,n.playerInstanceUniqId));case"[CORE] reset player data time params":return fa(fa({},e),{},{currentVideoTimeFragment:0,currentVideoBufferedTime:0,currentVideoDuration:0,currentVideoTime:0});case"[COMMON] set mute video":return fa(fa({},e),{},{playerSettings:fa(fa({},e.playerSettings),{},{muted:t.payload})});case"[COMMON] set volume":return fa(fa({},e),{},{playerSettings:fa(fa({},e.playerSettings),{},{volume:t.payload})});case"[COMMON] change selected settings category":return fa(fa({},e),{},{playerSettings:fa(fa({},e.playerSettings),{},{selectedSettingsCategory:t.payload})});case"[COMMON] change settings speed":return fa(fa({},e),{},{playerSettings:fa(fa({},e.playerSettings),{},{speed:t.payload})});case"[COMMON] change settings quality":return fa(fa({},e),{},{playerSettings:fa(fa({},e.playerSettings),{},{quality:t.payload})});case"[COMMON] set fullscreen":return fa(fa({},e),{},{playerSettings:fa(fa({},e.playerSettings),{},{fullscreen:fa(fa({},e.playerSettings.fullscreen),{},{isFullscreenOn:t.payload,pendingFullscreenRequest:""})})});case"[COMMON] set fullscreen request":return fa(fa({},e),{},{playerSettings:fa(fa({},e.playerSettings),{},{fullscreen:fa(fa({},e.playerSettings.fullscreen),{},{pendingFullscreenRequest:t.payload})})});case"[COMMON] set pending video status":var r=t.payload.pendingStatusObject;return fa(fa({},e),{},{pendingVideoTagStatus:fa({},r)});case"[COMMON] set player mode":return fa(fa({},e),{},{playerMode:t.payload});case"[CORE] update video current fragment position":return fa(fa({},e),{},{currentVideoTimeFragment:t.payload});case"[CORE] update video current position":return fa(fa({},e),{},{currentVideoTime:t.payload});case"[CORE] update video current buffered time":return fa(fa({},e),{},{currentVideoBufferedTime:t.payload});case"[CORE] update video current duration":return fa(fa({},e),{},{currentVideoDuration:t.payload});case"[CORE] change video tag status":return fa(fa({},e),{},{videoTagStatus:t.payload});case"[CORE] update player visibility":return fa(fa({},e),{},{playerVisibility:t.payload});case"[CORE] update placeholder visibility":return fa(fa({},e),{},{playerPlaceholderVisibility:t.payload});case"[CORE] change loading player status":return fa(fa({},e),{},{loadingPlayer:t.payload});case"[COMMON] show black screen with loader":return fa(fa({},e),{},{loader:fa(fa({},e.loader),{},{showBlackScreen:t.payload})});case"[CORE] set player size":return fa(fa({},e),{},{playerSize:t.payload});case"[COMMON] set error message":return fa(fa({},e),{},{errorMessage:t.payload});default:return e}},brandingData:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:va,t=arguments.length>1?arguments[1]:void 0;switch(t.type){case"[CORE] initiate store":return ga({},function(e,t){var n=t.powered_by_strip,r=t.brand_logo,i=t.brand_logo_click_url,o=t.brand_color;return ga(ga({},e),{},{showVoltaxLogo:Un(n)?e.showVoltaxLogo:n,brandingLogoSrc:Un(r)?e.brandingLogoSrc:r,brandingLogoUrl:Un(i)?e.brandingLogoUrl:i,brandingColor:Un(o)?e.brandingColor:o})}(e,t.payload.initiateParams));default:return e}},anchorOptions:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:Oa,t=arguments.length>1?arguments[1]:void 0;switch(t.type){case"[CORE] initiate store":return ba({},function(e,t){var n=t.anchor_options;if(!Un(n)){var r=n.anchoring_appearance,i=n.can_close,o=n.closable_ad,a=n.close_after,s=n.continue_streaming,u=n.orientation,c=n.margins,l=n.sticky_below_class_name,d=n.width,p=Un(c)?e.margins:{top:Number.isInteger(c.top)?c.top:e.margins.top,bottom:Number.isInteger(c.bottom)?c.bottom:e.margins.bottom,left:Number.isInteger(c.left)?c.left:e.margins.left,right:Number.isInteger(c.right)?c.right:e.margins.right};return ba(ba({},e),{},{anchoringAppearance:r||e.anchoringAppearance,canClose:Un(i)?e.canClose:i,orientation:Un(u)?e.orientation:u,closableAd:Un(o)?e.closableAd:o,closeAfter:Un(a)?e.closeAfter:a,continueStreaming:Un(s)?e.continueStreaming:s,stickyBelowClassName:Un(l)?e.stickyBelowClassName:l,width:Un(d)?e.width:d,margins:p,anchorData:ba(ba({},e.anchorData),{},{anchorEnabled:!0})})}return e}(e,t.payload.initiateParams));case"[COMMON] set anchor enable":return ba(ba({},e),{},{anchorData:ba(ba({},e.anchorData),{},{anchorEnabled:t.payload})});case"[ANCHOR] update is anchor status":return ba(ba({},e),{},{anchorData:ba(ba({},e.anchorData),{},{anchorStatus:t.payload})});case"[COMMON] set anchor disabled by user":return ba(ba({},e),{},{anchorData:ba(ba({},e.anchorData),{},{anchorDisabledByUser:t.payload})});default:return e}},monetization:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:wa,t=arguments.length>1?arguments[1]:void 0;switch(t.type){case"[CORE] initiate store":return Sa({},function(e,t){var n=t.monetization;if(Un(n))return e;var r=n.ad_tag,i=n.ad_type,o=n.vpaid_mode,a=n.ad_request_timeout,s=n.continue_content_play_while_waiting_for_ad,u=n.midrolls,c=u&&u.on&&u.on.sort(Wn),l=Un(s)?e.continuePlayingWhileWaitingForAd:s,d=c?c.indexOf(0):-1,p=-1!==d&&!l;return p&&(c=c.splice(d,1)),Sa(Sa({},e),{},{midrolls:Sa(Sa({},e.midrolls),{},{every:u&&u.every,on:c}),prerollEnabled:p,adRequestTimeout:Un(a)?e.adRequestTimeout:parseInt(a,10),vpaidMode:Un(o)?e.vpaidMode:o,continuePlayingWhileWaitingForAd:l,adsData:Sa(Sa({},e.adsData),{},{adType:Un(i)?e.adsData.adType:i,adTagUrlTemplate:Un(r)?e.adsData.adTagUrlTemplate:r})})}(e,t.payload.initiateParams));case"[COMMON] set new ad tag url template":return Sa(Sa({},e),{},{adsData:Sa(Sa({},e.adsData),{},{adTagUrlTemplate:t.payload})});case"[MONETIZATION] change ad status":return Sa(Sa({},e),{},{adsData:Sa(Sa({},e.adsData),{},{adStatus:t.payload,adErrorMessage:null})});case"[MONETIZATION] change ad tag":var n=t.payload,r=n.adUnit,i=n.adTag;return Sa(Sa({},e),{},{adsData:Sa(Sa({},e.adsData),{},{currentAdTag:i,adUnit:r})});case"[MONETIZATION] change pending ad status":return Sa(Sa({},e),{},{adsData:Sa(Sa({},e.adsData),{},{pendingAdStatus:t.payload})});case"[MONETIZATION] change ad error":return Sa(Sa({},e),{},{adsData:Sa(Sa({},e.adsData),{},{adStatus:"error",adErrorMessage:t.payload})});case"[MONETIZATION] increase ad impression counter":var o=e.adsData.adImpression;return Sa(Sa({},e),{},{adsData:Sa(Sa({},e.adsData),{},{adImpression:o+1})});case"[MONETIZATION] increase ad Opportunity counter":var a=e.adsData.adOpportunity;return Sa(Sa({},e),{},{adsData:Sa(Sa({},e.adsData),{},{adOpportunity:a+1})});case"[MONETIZATION] add played midroll number":var s=e.adsData.playedMidrolls,u=In()(s);return u.push(t.payload),Sa(Sa({},e),{},{adsData:Sa(Sa({},e.adsData),{},{adOrder:t.payload,playedMidrolls:u})});case"[MONETIZATION] clear played midrolls":return Sa(Sa({},e),{},{adsData:Sa(Sa({},e.adsData),{},{playedMidrolls:[]})});case"[MONETIZATION] clear ad data":return Sa(Sa({},e),{},{adsData:Sa(Sa({},e.adsData),{},{adOrder:0,currentAdTag:null,adDuration:0,adUnit:""})});case"[MONETIZATION] change ad duration":return Sa(Sa({},e),{},{adsData:Sa(Sa({},e.adsData),{},{adDuration:t.payload})});case"[MONETIZATION] update is vast ad":return Sa(Sa({},e),{},{adsData:Sa(Sa({},e.adsData),{},{isVastAd:t.payload})});case"[MONETIZATION] change ad current time":return Sa(Sa({},e),{},{adsData:Sa(Sa({},e.adsData),{},{adCurrentTime:t.payload})});case"[MONETIZATION] update ad muted":return Sa(Sa({},e),{},{adsData:Sa(Sa({},e.adsData),{},{adMuted:t.payload})});case"[MONETIZATION] change ad volume":return Sa(Sa({},e),{},{adsData:Sa(Sa({},e.adsData),{},{adVolume:t.payload})});case"[MONETIZATION] change pod info":var c=t.payload,l=c.podNumber,d=c.slotNumber;return Sa(Sa({},e),{},{adsData:Sa(Sa({},e.adsData),{},{podNumber:l,slotNumber:d})});case"[MONETIZATION] change loading ad status":return Sa(Sa({},e),{},{adsData:Sa(Sa({},e.adsData),{},{loadingAd:t.payload})});default:return e}},mediaData:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:ja,t=arguments.length>1?arguments[1]:void 0;switch(t.type){case"[CORE] initiate store":return Va({},function(e,t){var n=t.content_type,r=t.media_id,i=t.display_title;return Va(Va({},e),{},{mediaType:Un(n)?e.mediaType:n,mediaId:Un(r)?e.mediaId:r,videoData:Va(Va({},e.videoData),{},{showTitle:!!Un(i)||i})})}(e,t.payload.initiateParams));case"[CORE] load video request":return Va(Va({},e),{},{loadingMedia:!0});case"[CORE] load video request success":return Va(Va({},e),{},{loadingMedia:!1,videoList:t.payload});case"[CORE] set current video":var n=t.payload,r=n.index,i=n.videoData;return Va(Va({},e),{},{activeVideoIndex:r,videoData:i});case"[CORE] load video request error":return Va(Va({},e),{},{loadingMedia:!1,mediaLoadingError:t.payload});case"[COMMON] media request":var o=t.payload.mediaRequestObject;return Va(Va({},e),{},{mediaRequest:Va({},o)});default:return e}},semanticOptions:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:Ba,t=arguments.length>1?arguments[1]:void 0;switch(t.type){case"[CORE] initiate store":return Fa({},function(e,t){var n=t.semantic_options;if(Un(n))return e;var r=n.minimum_date_factor,i=n.promoted_videos,o=n.scan_images_on_page,a=n.scanned_element,s=n.scanned_element_type,u=n.scoped_keywords,c=n.tags;return Fa(Fa({},e),{},{minimumDateFactor:Un(r)?e.minimumDateFactor:r,promotedVideos:Un(i)?e.promotedVideos:i,scanImagesOnPage:Un(o)?e.scanImagesOnPage:o,scannedElement:Un(a)?e.scannedElement:a,scannedElementType:Un(s)?e.scannedElementType:s,scopedKeywords:Un(u)?e.scopedKeywords:u,tags:Un(c)?e.tags:c})}(e,t.payload.initiateParams));default:return e}},userInteraction:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:Wa,t=arguments.length>1?arguments[1]:void 0;switch(t.type){case"[USER INTERACTION] change user interaction":return qa(qa({},e),{},{userInteractionType:t.payload});default:return e}},splitView:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:$a,t=arguments.length>1?arguments[1]:void 0;switch(t.type){case"[CORE] initiate store":return Ga({},function(e,t){var n=t.anchor_options;if(!Un(n)){var r=n.split_view,i=n.split_view_ratio;return Ga(Ga({},e),{},{splitViewRatio:Un(r)||!r||Un(i)?e.splitViewRatio:i})}return e}(e,t.payload.initiateParams));default:return e}},discovery:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:Za,t=arguments.length>1?arguments[1]:void 0;switch(t.type){case"[CORE] initiate store":return Ya({},function(e,t){var n=t.next_video;return Un(n)?e:Ya(Ya({},e),{},{nextVideo:Xa(n)})}(e,t.payload.initiateParams));case"[DISCOVERY] show up next":return Ya(Ya({},e),{},{showUpNext:t.payload});case"[DISCOVERY] show skippable content":return Ya(Ya({},e),{},{showSkippableContent:t.payload});default:return e}}}),Qa=[],es=!1,ts=function e(){return function(t){return function(n){if(es)return Qa.push(n),null;es=!0;var r=t(n);return es=!1,Qa.length>0&&e()(t)(Qa.shift()),r}}},ns=function(e){var t=[];if(function(e){return!Un(e)&&!Un(e.enable_redux_debugging)&&e.enable_redux_debugging}(e)){var n=window&&window.__REDUX_DEVTOOLS_EXTENSION__&&window.__REDUX_DEVTOOLS_EXTENSION__();"function"===typeof n&&t.push(n)}var r=Et.apply(void 0,[wt(ua,ts)].concat(t));return vt(Ja,r)},rs=function(){function e(t){Ai()(this,e),f()(this,"playerVisibilitySubscriber",void 0),f()(this,"videoTagStatusSubscriber",void 0),f()(this,"shouldPlayIfLazyplay",!0),f()(this,"shouldPlayIfAutoplayWhenViewable",!0),f()(this,"videoPausedByObserver",!1),this.store=t,this.playerVisibilitySubscriber=null,this.videoTagStatusSubscriber=null,this.playAccordingToPlaybackMethod()}return Vi()(e,[{key:"lazyplayHandler",value:function(e){hn.playerVisibility(e)>=.5&&(this.playVideo(),this.shouldPlayIfLazyplay=!1)}},{key:"autoplayWhenViewableHandler",value:function(e){hn.playerVisibility(e)>=.5?this.playVideo():this.pauseVideo()}},{key:"onPlayerVisibilityChanged",value:function(e){var t=hn.playbackMethod(e);"lazyplay"===t&&this.shouldPlayIfLazyplay&&this.lazyplayHandler(e),"autoplay_when_viewable"===t&&this.shouldPlayIfAutoplayWhenViewable&&this.autoplayWhenViewableHandler(e)}},{key:"onVideoTagStatusChanged",value:function(e){var t=hn.videoTagStatus(e);"paused"!==t||this.videoPausedByObserver||(this.shouldPlayIfAutoplayWhenViewable=!1),"playing"===t&&(this.shouldPlayIfAutoplayWhenViewable=!0,this.videoPausedByObserver=!1)}},{key:"initiatePlayerVisibilitySubscriber",value:function(){this.playerVisibilitySubscriber=new ji(this.store,e.getPlayerVisibilityDependencies,this.onPlayerVisibilityChanged.bind(this))}},{key:"initiateVideoTagStatusSubscriber",value:function(){this.videoTagStatusSubscriber=new ji(this.store,e.getVideoTagStatusDependencies,this.onVideoTagStatusChanged.bind(this))}},{key:"playVideo",value:function(){var e=this.store,t=e.dispatch,n=e.getState;"idle"===hn.videoTagStatus(n())?on("play")(t):on("resume")(t)}},{key:"pauseVideo",value:function(){var e=this.store,t=e.dispatch,n=e.getState;"paused"!==hn.videoTagStatus(n())&&(this.videoPausedByObserver=!0,on("pause")(t))}},{key:"playAccordingToPlaybackMethod",value:function(){var e=this.store,t=e.dispatch,n=(0,e.getState)();switch(hn.playbackMethod(n)){case"autoplay":this.playVideo();break;case"lazyplay":this.initiatePlayerVisibilitySubscriber();break;case"autoplay_when_viewable":this.initiatePlayerVisibilitySubscriber(),this.initiateVideoTagStatusSubscriber();break;case"none":an(!1)(t)}}}],[{key:"getPlayerVisibilityDependencies",value:function(e){return[hn.playerVisibility(e)]}},{key:"getVideoTagStatusDependencies",value:function(e){return[hn.videoTagStatus(e)]}}]),e}(),is=function(){function e(t,n,r,i){var o=this;Ai()(this,e),f()(this,"videoStatusSubscriber",void 0),f()(this,"videoListSubscriber",void 0),f()(this,"mediaRequestSubscriber",void 0),f()(this,"playerVisibilitySubscriber",void 0),f()(this,"playbackMethodManager",void 0),f()(this,"store",void 0),f()(this,"loadContent",function(e,t,n,r){o.loadMedia(t,n,r).then(function(){o.playbackMethodManager=new rs(e)})}),f()(this,"loadMedia",function(e,t,n){var r=o.store,i=r.dispatch,a=r.getState,s=Dn.showTitle(a());if("semantic"===e){var u=pn.semanticOptions(a());return Na(u,s,n)(i)}return ka(t,s,n)(i)}),this.store=t,this.videoStatusSubscriber=new ji(t,e.getVideoStatusDependencies,this.onVideoStatusChanged.bind(this)),this.videoListSubscriber=new ji(t,e.getVideoListDependencies,this.onVideoListChanged.bind(this)),this.mediaRequestSubscriber=new ji(t,e.getMediaRequestDependencies,this.onMediaRequestChanged.bind(this)),this.playerVisibilitySubscriber=null,this.loadContent(t,r,n,i)}return Vi()(e,null,[{key:"createInstance",value:function(t,n,r,i){return new e(t,n,r,i)}}]),Vi()(e,[{key:"playNextVideo",value:function(e){var t=this.store.dispatch,n=Cn.videoList(e),r=Cn.activeVideoIndex(e)+1;n.length>1&&r>=n.length&&(r=0),r<n.length&&(!function(e){e({type:"[CORE] reset player data time params"})}(t),La(r,n[r])(t),on("play")(t))}},{key:"playPreviousVideo",value:function(e){var t=this.store.dispatch,n=Cn.videoList(e),r=Cn.activeVideoIndex(e);if(r>0){var i=r-1;La(i,n[i])(t),on("play")(t)}}},{key:"onVideoStatusChanged",value:function(e){"complete"===hn.videoTagStatus(e)&&this.playNextVideo(e)}},{key:"onVideoListChanged",value:function(e){var t=this.store.dispatch,n=Cn.videoList(e);!jn(n)&&n.length>0&&La(0,n[0])(t)}},{key:"onMediaRequestChanged",value:function(e){var t=Cn.mediaRequest(e);switch(t.type){case"playNewVideo":this.loadMedia("specific",t.value);break;case"playNextVideo":this.playNextVideo(e);break;case"playPreviousVideo":this.playPreviousVideo(e)}}}],[{key:"getVideoStatusDependencies",value:function(e){return[hn.videoTagStatus(e)]}},{key:"getVideoListDependencies",value:function(e){return[Cn.videoList(e)]}},{key:"getMediaRequestDependencies",value:function(e){return[Cn.mediaRequest(e)]}}]),e}(),os=function e(t){var n=this;Ai()(this,e),f()(this,"store",void 0),f()(this,"onDependencyFailure",function(e,t){console.log("onDependencyFailure",e,t);var r=n.store,i=r.dispatch,o=r.getState;switch(e){case"ima":"blocked"!==Fi.loadingImaStatus(o())&&Qn("error")(i);break;case"hls":er("error")(i)}}),f()(this,"onDependencyReady",function(e){var t=n.store.dispatch;switch(e){case"ima":Qn("success")(t);break;case"hls":er("success")(t)}}),this.store=t},as=function(e){return function(t){t({type:"[COMMON] set fullscreen",payload:e})}},ss=function(){function e(t,n){var r=this;Ai()(this,e),f()(this,"store",void 0),f()(this,"videoTag",void 0),f()(this,"pendingFullscreenSubscriber",void 0),f()(this,"adStatusSubscriber",void 0),f()(this,"playerUniqId",void 0),f()(this,"onAdStatusChanged",function(e){var t=_i.adStatus(e),n=r.videoTag.webkitDisplayingFullscreen;"playing"===t&&Bn()&&n&&r.exitFullscreen(r.videoTag)}),f()(this,"isPlayerInFullscreen",function(){var e=document,t=Bn()?En(r.playerUniqId):bn(r.playerUniqId);return Un(e.fullscreenElement)?!Un(e.webkitFullscreenElement)&&0===e.webkitFullscreenElement.id.localeCompare(t):0===e.fullscreenElement.id.localeCompare(t)}),f()(this,"changePlayerWidth",function(e){r.videoTag.style.width=e?"100%":"auto"}),f()(this,"onFullscreenChanged",function(){var e=r.store.dispatch,t=r.isPlayerInFullscreen();r.changePlayerWidth(t),as(t)(e)}),f()(this,"onFullscreenChangedIos",function(){var e=r.store.dispatch,t=r.videoTag.webkitDisplayingFullscreen;t||on("resume")(e),r.changePlayerWidth(t),as(t)(e)}),f()(this,"onPendingFullscreenRequestChanged",function(e){var t=gn.pendingFullscreenRequest(e);"enter"===t?r.enterFullscreen(r.videoTag):"exit"===t&&r.exitFullscreen(r.videoTag)}),f()(this,"getFullScreenElement",function(e,t){var n=document.getElementById(bn(r.playerUniqId));return Bn()?t:e?document:n}),f()(this,"enterFullscreen",function(e){var t=r.getFullScreenElement(!1,e);Bn()?t.webkitEnterFullscreen():document.webkitExitFullscreen?t.webkitRequestFullscreen():document.webkitCancelFullScreen?t.webkitRequestFullScreen():document.mozCancelFullScreen?t.mozRequestFullScreen():document.msExitFullscreen&&t.msRequestFullscreen()}),f()(this,"exitFullscreen",function(e){var t=r.getFullScreenElement(!0,e);document.webkitExitFullscreen||Bn()?t.webkitExitFullscreen():document.webkitCancelFullScreen?t.webkitCancelFullScreen():document.mozCancelFullScreen?t.mozCancelFullScreen():document.msExitFullscreen&&t.msExitFullscreen()}),this.store=t,this.videoTag=document.getElementById(En(n)),this.playerUniqId=n,document.addEventListener("fullscreenchange",this.onFullscreenChanged.bind(this)),document.addEventListener("webkitfullscreenchange",this.onFullscreenChanged.bind(this)),Bn()&&(this.videoTag.addEventListener("webkitendfullscreen",this.onFullscreenChangedIos.bind(this)),this.videoTag.addEventListener("webkitbeginfullscreen",this.onFullscreenChangedIos.bind(this))),this.pendingFullscreenSubscriber=new ji(t,e.getPendingFullscreenDependencies,this.onPendingFullscreenRequestChanged.bind(this)),this.adStatusSubscriber=new ji(t,e.getAdStatusDependencies,this.onAdStatusChanged.bind(this))}return Vi()(e,null,[{key:"createInstance",value:function(t,n){return new e(t,n)}}]),Vi()(e,null,[{key:"getPendingFullscreenDependencies",value:function(e){return[gn.pendingFullscreenRequest(e)]}},{key:"getAdStatusDependencies",value:function(e){return[_i.adStatus(e)]}}]),e}();function us(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}function cs(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?us(Object(n),!0).forEach(function(t){f()(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):us(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}var ls,ds=function(e){return function(e){return e&&window.monti.playerConfigs&&window.monti.playerConfigs[e]}(e)?function(e){return window.monti.playerConfigs[e]}(e):window.monti.playerConfigs?window.monti.playerConfigs&&window.monti.playerConfigs[Object.keys(window.monti.playerConfigs)[0]]:null},ps=function e(t){var n=this;Ai()(this,e),f()(this,"videoTag",void 0),f()(this,"isBufferError",void 0),f()(this,"hls",void 0),f()(this,"hlsSetup",function(e,t,r,i){n.initiateHls(e),n.loadHlsSource(e,t,r,i)}),f()(this,"detachMedia",function(){Un(n.hls)||(n.hls.detachMedia(),n.hls.destroy(),n.hls=null)}),f()(this,"initiateHls",function(e){n.hls=new e,n.hls.attachMedia(n.videoTag)}),f()(this,"loadHlsSource",function(e,t,r,i){n.hls.on(e.Events.MEDIA_ATTACHED,function(){n.hls.loadSource(t)}),n.hls.on(e.Events.ERROR,function(t,o){n.mapHlsToErrors(e,o,i),t.details===e.ErrorDetails.BUFFER_STALLED_ERROR&&(r(!0),n.isBufferError=!0)}),n.hls.on(e.Events.FRAG_BUFFERED,function(){n.isBufferError&&(r(!1),n.isBufferError=!1)})}),f()(this,"mapHlsToErrors",function(e,t,r){if(t.fatal)switch(t.type){case e.ErrorTypes.NETWORK_ERROR:r(Xn.GENERAL_ERROR),n.hls.startLoad();break;case e.ErrorTypes.MEDIA_ERROR:r(Xn.GENERAL_ERROR),n.hls.recoverMediaError();break;default:r(Xn.GENERAL_ERROR),n.hls.destroy()}}),this.hls=void 0,this.videoTag=t,this.isBufferError=!1},fs=function e(){var t=this;Ai()(this,e),f()(this,"videoStreaming",void 0),f()(this,"hlsLibrarySetup",function(e,n,r,i){Un(t.videoStreaming)||t.videoStreaming.detachMedia(),t.videoStreaming=new ps(e),t.videoStreaming.hlsSetup(ls,n,r,i)})};f()(fs,"shouldLoadVideoStreamingSrcDirectly",function(e,t,n){return"no-need"===n&&!(""===e.canPlayType("application/vnd.apple.mpegurl"))}),f()(fs,"shouldUseHlsLibrary",function(e,t){return"success"===t&&(ls=void 0!==window.Hls?Hls:mmHls).isSupported()}),f()(fs,"isValidHlsUrl",function(e){return!Un(e)&&!e.includes(".mp4")}),f()(fs,"suitableVideoSource",function(e,t,n){return fs.isValidHlsUrl(t)?fs.shouldUseHlsLibrary(t,n)?"m3u8 with hls":fs.shouldLoadVideoStreamingSrcDirectly(e,t,n)?"m3u8 directly":"loading"!==n?"mp4":"":"mp4"}),f()(fs,"loadHlsVideoDirectly",function(e,t){e.setAttribute("src",t),e.load()});var hs=function(e){return function(t){t({type:"[MONETIZATION] change pending ad status",payload:{type:e}})}},ys="video/mp4",gs="application/vnd.apple.mpegurl",vs=function(){function e(t,n){var r=this;Ai()(this,e),f()(this,"store",void 0),f()(this,"videoTag",void 0),f()(this,"prerollEnabled",void 0),f()(this,"pendingVideoStatusSubscriber",void 0),f()(this,"videoStreamingManager",void 0),f()(this,"videoDataSubscriber",void 0),f()(this,"hlsLoadingStatusSubscriber",void 0),f()(this,"newVideoDataLoaded",void 0),f()(this,"onHlsLoadingStatusChanged",function(e){"success"===Fi.loadingHLSStatus(e)&&(r.newVideoDataLoaded=!0,r.onPendingVideoStatusChanged(e))}),f()(this,"onPendingVideoStatusChanged",function(e){var t=hn.pendingVideoTagStatus(e),n=Dn.sources(e),i=Fi.loadingHLSStatus(e),o="blocked"===Fi.loadingImaStatus(e);r.handlePendingVideoStatus(t,n,i,o)}),f()(this,"onVideoDataChanged",function(){r.newVideoDataLoaded=!0}),f()(this,"sendPrerollPlayRequest",function(){var e=r.store.dispatch;hs("playPreroll")(e)}),f()(this,"handlePlayRequest",function(e,t,n){var i=r.store.dispatch;if(e&&e.length>0){if(r.newVideoDataLoaded&&(r.loadVideoSource(r.videoTag,e,t),r.newVideoDataLoaded=!1,r.prerollEnabled&&!n))return void r.sendPrerollPlayRequest();r.videoTag.play().catch(function(e){return console.error("Error playing the video: ",e)})}else dn(Xn.VIDEO_ERROR)(i)}),f()(this,"handlePendingVideoStatus",function(e,t,n,i){switch(e.type){case"play":r.handlePlayRequest(t,n,i);break;case"resume":r.videoTag.play().catch(function(e){return console.error("Error resuming the video: ",e)});break;case"pause":r.videoTag.pause();break;case"replay":r.videoTag.currentTime=0,r.videoTag.play().catch(function(e){return console.error("Error replaying the video: ",e)});break;case"seekTo":r.videoTag.pause(),r.videoTag.currentTime=e.value}}),f()(this,"loadMp4Source",function(e,t,n){var r=Ra(t,ys);n.setAttribute("src",r),n.load()}),f()(this,"loadVideoSource",function(e,t,n){var i=r.store.dispatch,o=Ra(t,gs);switch(fs.suitableVideoSource(e,o,n)){case"mp4":r.loadMp4Source(n,t,e);break;case"m3u8 with hls":r.videoStreamingManager.hlsLibrarySetup(e,o,function(e){return un(e)(i)},function(e){return dn(e)(i)});break;case"m3u8 directly":fs.loadHlsVideoDirectly(e,o)}}),this.store=t;var i=t.getState;this.videoStreamingManager=new fs,this.videoTag=document.getElementById(En(n)),this.prerollEnabled=bi.prerollEnabled(i()),this.pendingVideoStatusSubscriber=new ji(t,e.getPendingVideoStatusDependencies,this.onPendingVideoStatusChanged.bind(this)),this.videoDataSubscriber=new ji(t,e.getVideoDataDependencies,this.onVideoDataChanged.bind(this)),this.hlsLoadingStatusSubscriber=new ji(t,e.getHLSLoadingStatusDependencies,this.onHlsLoadingStatusChanged.bind(this))}return Vi()(e,null,[{key:"createInstance",value:function(t,n){return new e(t,n)}}]),Vi()(e,null,[{key:"getHLSLoadingStatusDependencies",value:function(e){return[Fi.loadingHLSStatus(e)]}},{key:"getPendingVideoStatusDependencies",value:function(e){return[hn.pendingVideoTagStatus(e)]}},{key:"getVideoDataDependencies",value:function(e){return[Cn.videoData(e)]}}]),e}();function ms(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}function bs(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?ms(Object(n),!0).forEach(function(t){f()(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):ms(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}var Os={READY_EVENT:"ready",PLAY_EVENT:"play",PAUSE_EVENT:"pause",TIME_EVENT:"time",SEEK_EVENT:"seek",COMPLETE_EVENT:"complete",VOLUME_EVENT:"volume",MUTE_EVENT:"mute"},_s=Object.values(Os),Ss={FULLSCREEN_EVENT:"fullscreen",ANCHOR_STATUS_EVENT:"anchorStatusChanged",ANCHOR_CLOSED_EVENT:"anchorClosed"},Es={AD_PLAY_EVENT:"adPlay",AD_PAUSE_EVENT:"adPause",AD_RESUME_EVENT:"adResume",AD_COMPLETE_EVENT:"adComplete",AD_TIME_EVENT:"adTime",AD_MUTE_EVENT:"adMute",AD_SKIPPED_EVENT:"adSkipped",AD_ERROR_EVENT:"adError",AD_BLOCK_EVENT:"adBlock",AD_REQUEST_EVENT:"adRequest",AD_OPPORTUNITY_EVENT:"adOpportunity",AD_IMPRESSION_EVENT:"adImpression"},ws=Object.values(Es),Ps=Object.values(bs(bs(bs({},Os),Es),Ss)),Ts=function(){function e(t,n){var r=this;Ai()(this,e),f()(this,"eventsCallbacksHandler",void 0),f()(this,"store",void 0),f()(this,"videoStatusSubscriber",void 0),f()(this,"videoMuteSubscriber",void 0),f()(this,"videoVolumeSubscriber",void 0),f()(this,"videoTimeFragmentSubscriber",void 0),f()(this,"videoListStoreSubscriber",void 0),f()(this,"previousVideoTagStatus",void 0),f()(this,"startSeekTime",0),f()(this,"canHandleReady",function(e,t,n){if(t===Os.READY_EVENT){var r=Cn.videoList(e);if(Array.isArray(r)&&r.length>0)return n(),!0}return!1}),f()(this,"canBeHandled",function(e,t){var n=r.store.getState;return r.canHandleReady(n(),e,t)}),f()(this,"reportSeekEnd",function(e){var t={position:hn.currentVideoTimeFragment(e),offset:r.startSeekTime};r.eventsCallbacksHandler.onEvent(Os.SEEK_EVENT,t)}),f()(this,"onMuteStateChanged",function(e){var t=gn.muted(e);r.eventsCallbacksHandler.onEvent(Os.MUTE_EVENT,{state:t})}),f()(this,"onVolumeChanged",function(e){var t=gn.muted(e),n=gn.volume(e);r.eventsCallbacksHandler.onEvent(Os.VOLUME_EVENT,{level:t?0:n})}),f()(this,"onVideoTimeFragmentChanged",function(e){var t=hn.currentVideoTimeFragment(e),n=hn.currentVideoDuration(e);r.eventsCallbacksHandler.onEvent(Os.TIME_EVENT,{duration:n,position:t})}),f()(this,"onVideoListChanged",function(){r.eventsCallbacksHandler.onEvent(Os.READY_EVENT)}),this.store=t,this.eventsCallbacksHandler=n,this.videoStatusSubscriber=new ji(t,e.getVideoStatusDependencies,this.onVideoStatusChanged.bind(this)),this.videoMuteSubscriber=new ji(t,e.getVideoMuteDependencies,this.onMuteStateChanged.bind(this)),this.videoVolumeSubscriber=new ji(t,e.getVolumeDependencies,this.onVolumeChanged.bind(this)),this.videoTimeFragmentSubscriber=new ji(t,e.getVideoTimeDependencies,this.onVideoTimeFragmentChanged.bind(this)),this.videoListStoreSubscriber=new ji(t,e.getVideoListDependencies,this.onVideoListChanged.bind(this)),this.previousVideoTagStatus=hn.videoTagStatus(t.getState())}return Vi()(e,[{key:"onVideoStatusChanged",value:function(e){var t=hn.videoTagStatus(e);switch("seeking"===this.previousVideoTagStatus&&this.reportSeekEnd(e),t){case"paused":this.eventsCallbacksHandler.onEvent(Os.PAUSE_EVENT);break;case"seeking":this.startSeekTime=hn.currentVideoTimeFragment(e);break;case"complete":this.eventsCallbacksHandler.onEvent(Os.COMPLETE_EVENT);break;case"playing":this.eventsCallbacksHandler.onEvent(Os.PLAY_EVENT)}this.previousVideoTagStatus=t}}],[{key:"getVideoStatusDependencies",value:function(e){return[hn.videoTagStatus(e)]}}]),e}();f()(Ts,"getVideoMuteDependencies",function(e){return[gn.muted(e)]}),f()(Ts,"getVolumeDependencies",function(e){return[gn.volume(e)]}),f()(Ts,"getVideoTimeDependencies",function(e){return[hn.currentVideoTimeFragment(e)]}),f()(Ts,"getVideoListDependencies",function(e){return[Cn.videoList(e)]}),f()(Ts,"isContentEvent",function(e){return _s.some(function(t){return t===e})});var As=function e(t,n){var r=this;Ai()(this,e),f()(this,"eventsCallbacksHandler",void 0),f()(this,"store",void 0),f()(this,"fullscreenSubscriber",void 0),f()(this,"anchorStatusSubscriber",void 0),f()(this,"anchorDisabledByUserSubscriber",void 0),f()(this,"onFullscreenChanged",function(e){var t=gn.isFullscreenOn(e);r.eventsCallbacksHandler.onEvent(Ss.FULLSCREEN_EVENT,{state:t})}),f()(this,"onAnchorStatusChanged",function(e){var t="active"===Pr(e)?"activated":"deactivated";r.eventsCallbacksHandler.onEvent(Ss.ANCHOR_STATUS_EVENT,{state:t})}),f()(this,"onAnchorDisabledByUser",function(e){if(wr(e)){var t=hn.currentVideoTimeFragment(e);r.eventsCallbacksHandler.onEvent(Ss.ANCHOR_CLOSED_EVENT,{position:t})}}),this.store=t,this.eventsCallbacksHandler=n,this.fullscreenSubscriber=new ji(t,e.getFullscreenDependencies,this.onFullscreenChanged.bind(this)),this.anchorStatusSubscriber=new ji(t,e.getAnchorStatusDependencies,this.onAnchorStatusChanged.bind(this)),this.anchorDisabledByUserSubscriber=new ji(t,e.getAnchorDisabledByUserDependencies,this.onAnchorDisabledByUser.bind(this))};f()(As,"getFullscreenDependencies",function(e){return[gn.isFullscreenOn(e)]}),f()(As,"getAnchorStatusDependencies",function(e){return[Pr(e)]}),f()(As,"getAnchorDisabledByUserDependencies",function(e){return[wr(e)]});var Cs=function(){function e(t,n){var r=this;Ai()(this,e),f()(this,"store",void 0),f()(this,"eventsCallbacksHandler",void 0),f()(this,"adStatusSubscriber",void 0),f()(this,"adImpressionSubscriber",void 0),f()(this,"adOpportunitySubscriber",void 0),f()(this,"adTimeSubscriber",void 0),f()(this,"adMuteSubscriber",void 0),f()(this,"adProviderLoadingStatusSubscriber",void 0),f()(this,"previousAdStatus",void 0),f()(this,"canBeHandled",function(e,t){var n=r.store.getState;switch(Fi.loadingImaStatus(n())){case"loading":return!1;case"success":case"error":return!0;case"blocked":return t(),!0;case"":default:return!1}}),f()(this,"onAdStatusChanged",function(e){var t=_i.adStatus(e),n=_i.currentAdTag(e);switch(t){case"requested":r.eventsCallbacksHandler.onEvent(Es.AD_REQUEST_EVENT,{tag:n});break;case"paused":r.eventsCallbacksHandler.onEvent(Es.AD_PAUSE_EVENT,{tag:n});break;case"completed":r.eventsCallbacksHandler.onEvent(Es.AD_COMPLETE_EVENT,{tag:n});break;case"skipped":r.eventsCallbacksHandler.onEvent(Es.AD_SKIPPED_EVENT,{tag:n});break;case"playing":"paused"===r.previousAdStatus?r.eventsCallbacksHandler.onEvent(Es.AD_RESUME_EVENT,{tag:n}):r.eventsCallbacksHandler.onEvent(Es.AD_PLAY_EVENT,{tag:n});break;case"error":var i=_i.adErrorMessage(e);r.eventsCallbacksHandler.onEvent(Es.AD_ERROR_EVENT,{tag:n,message:i})}r.previousAdStatus=t}),f()(this,"onAtTimeChanged",function(e){var t=_i.adCurrentTime(e),n=_i.currentAdTag(e),i=_i.adDuration(e);r.eventsCallbacksHandler.onEvent(Es.AD_TIME_EVENT,{position:t,tag:n,duration:i})}),f()(this,"onAdMuteChanged",function(e){var t=_i.adMuted(e);r.eventsCallbacksHandler.onEvent(Es.AD_MUTE_EVENT,{state:t})}),f()(this,"onAdProviderLoadingChanged",function(e){"blocked"===Fi.loadingImaStatus(e)&&r.eventsCallbacksHandler.onEvent(Es.AD_BLOCK_EVENT)}),f()(this,"onAdImpressionChanged",function(e){var t=_i.currentAdTag(e);r.eventsCallbacksHandler.onEvent(Es.AD_IMPRESSION_EVENT,{tag:t})}),f()(this,"onAdOpportunityChanged",function(e){var t=_i.currentAdTag(e);r.eventsCallbacksHandler.onEvent(Es.AD_OPPORTUNITY_EVENT,{tag:t})}),this.store=t,this.eventsCallbacksHandler=n,this.previousAdStatus=_i.adStatus(t.getState()),this.adStatusSubscriber=new ji(t,e.getAdStatusDependencies,this.onAdStatusChanged.bind(this)),this.adTimeSubscriber=new ji(t,e.getAdTimeDependencies,this.onAtTimeChanged.bind(this)),this.adMuteSubscriber=new ji(t,e.getAdMuteDependencies,this.onAdMuteChanged.bind(this)),this.adImpressionSubscriber=new ji(t,e.getAdImpressionDependencies,this.onAdImpressionChanged.bind(this)),this.adOpportunitySubscriber=new ji(t,e.getAdOpportunitySubscriberDependencies,this.onAdOpportunityChanged.bind(this)),this.adProviderLoadingStatusSubscriber=new ji(t,e.getAdProviderLoadingDependencies,this.onAdProviderLoadingChanged.bind(this))}return Vi()(e,null,[{key:"getAdStatusDependencies",value:function(e){return[_i.adStatus(e)]}},{key:"getAdTimeDependencies",value:function(e){return[_i.adCurrentTime(e)]}},{key:"getAdMuteDependencies",value:function(e){return[_i.adMuted(e)]}},{key:"getAdProviderLoadingDependencies",value:function(e){return[Fi.loadingImaStatus(e)]}}]),e}();f()(Cs,"isAdEvent",function(e){return ws.some(function(t){return t===e})}),f()(Cs,"getAdImpressionDependencies",function(e){return[_i.adImpression(e)]}),f()(Cs,"getAdOpportunitySubscriberDependencies",function(e){return[_i.adOpportunity(e)]});var Rs=function e(t){var n=this;Ai()(this,e),f()(this,"contentEvents",void 0),f()(this,"generalEvents",void 0),f()(this,"adEvents",void 0),f()(this,"subscribers",{}),f()(this,"onRegisterToEvent",function(e,t,r){n.isValidEvent(e)&&(Ts.isContentEvent(e)&&n.contentEvents.canBeHandled(e,t)||Cs.isAdEvent(e)&&n.adEvents.canBeHandled(e,t())||n.getEventSubscribersList(e).push({callback:t,once:r}))}),f()(this,"isValidEvent",function(e){return Ps.some(function(t){return t===e})}),f()(this,"getEventSubscribersList",function(e){return Array.isArray(n.subscribers[e])||(n.subscribers[e]=[]),n.subscribers[e]}),f()(this,"filterOutOnceCallbacks",function(e,t){n.subscribers[e]=t.filter(function(e){return!e.once})}),f()(this,"onEvent",function(e,t){var r=n.getEventSubscribersList(e);r.forEach(function(e){(0,e.callback)(t)}),n.filterOutOnceCallbacks(e,r)}),this.contentEvents=new Ts(t,this),this.generalEvents=new As(t,this),this.adEvents=new Cs(t,this)},Ds=function(){function e(t){Ai()(this,e),f()(this,"eventsHandler",void 0),this.eventsHandler=new Rs(t)}return Vi()(e,[{key:"on",value:function(e,t){this.eventsHandler.onRegisterToEvent(e,t,!1)}},{key:"once",value:function(e,t){this.eventsHandler.onRegisterToEvent(e,t,!0)}}]),e}();function Ms(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}function Is(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Ms(Object(n),!0).forEach(function(t){f()(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Ms(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}var ks=function(){var e=window.monti.dataset;return jn(e)?(e={players:{},preact:Is(Is({},r),i),store:{},plugins:{}},window.monti.dataset=e,e):e},Ns=function(e){var t=function(){var e=(new Date).getTime(),t=performance&&performance.now&&1e3*performance.now()||0;return"xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g,function(n){var r=16*Math.random();return e>0?(r=(e+r)%16|0,e=Math.floor(e/16)):(r=(t+r)%16|0,t=Math.floor(t/16)),("x"===n?r:3&r|8).toString(16)})}(),n=function(e,t){var n=ns(e.dev_config),r=ks(),i=n.dispatch;return r.store[t]=n,function(e,t){return function(n){n({type:"[CORE] initiate store",payload:{initiateParams:e,playerInstanceUniqId:t}})}}(e,t)(i),n}(e,t);return function(e,t,n){B(b(Pi,{playerId:t,store:n,playerPosition:e}),e)}(e.player_pos,t,n),oa.getInstance().loadInternalPlugins(n,t,e),ss.createInstance(n,t),vs.createInstance(n,t),is.createInstance(n,e.media_id,e.content_type,e.dev_config),function(e){var t=e.dispatch;if(er(Ci.getInstance().getHLSLoadingStatus())(t),Qn(Ci.getInstance().getIMALoadingStatus())(t),!Ci.getInstance().isDependenciesReady()){var n=new os(e);Ci.getInstance().addDependenciesCallback(n)}}(n),function(e,t){ks().players[t]=new Ds(e)}(n,t),t},Ls=function(e){return console.log("player initiation start",e),new Promise(function(t,n){try{var r=function(e){var t=e.player_pos||document.currentScript.parentElement,n=e.media_id||e.content_id;return cs(cs({},e),{},{player_pos:t,media_id:n})}(function(e){var t=e.player_id,n=ds(t);return null===n?e:cs(cs({},e),n)}(e)),i=Ns(r);!function(e){var t=new CustomEvent("montiConfigLoaded",{detail:{playerKey:e}});window.dispatchEvent(t)}(i),t(i)}catch(o){console.error("Player initiation error",o),n(o)}})},xs=function(){return{initiate:Ls}};window.monti=xs,Ci.getInstance().loadExternalDependencies()}]); window.monti().initiate(Object.assign({player_pos: document.currentScript.parentElement}, {"is_conflicting_with_other_jw_players":false,"programmatic_play_with_sound_on_desktop":false,"referrer_id":"af93e181-b289-0560-a2bf-808e93bb05bc","width":"100","comscore_publisher_id":"18120612","monetization":{"ad_type":"static_tag","continue_content_play_while_waiting_for_ad":false,"strategy":"on_player_load","ad_request_timeout":"10000","midrolls":{"on":[0]},"vpaid_mode":"ENABLED","ad_tag":"https://pubads.g.doubleclick.net/gampad/ads?sz=400x300|640x480|480x270|640x360&iu=/175840252/MMPlus/smithsonianmag/Video&impl=s&gdfp_req=1&env=vp&output=vast&unviewed_position_start=1&url=##REFERRER_URL_UNESC##&description_url=##DESCRIPTION_URL_UNESC##&correlator=##CACHEBUSTER##&cust_params=mm_midroll%3D##MIDROLL_ORDER##%26video_ID%3D##VIDEO_ID##"},"sponsorship":false,"player_identifier":"mplayer","recommendation_id":null,"brand_color":"#FF9900","powered_by_strip":true,"platform":"buffy","type":"video","config_name":"MM+ | Smithsonianmag | Podding","player_id":"3v9g2u2f","playlist_id":"fSkmeWKF","playback_method":"autoplay","anchor_viewability_method":"none","player_version":"v4","playlist_type":"semantic","semantic_options":{"scan_images_on_page":true,"scanned_element":"","tags":"geogrophy,nature,animals,habitat,outdoors,science,history","minimum_date_factor":30,"scanned_element_type":"tag","scoped_keywords":"mentalfloss","promoted_videos":[]},"script_destination":"mm","publisher_contribution":"floor8","general_script_description":"","brand_logo":"","brand_logo_click_url":"","next_video":"none","uniq_key":"af93e181-b289-0560-a2bf-808e93bb05bc","content_id":"fSkmeWKF","content_type":"semantic"})); Finland has vastly improved in reading, math and science literacy over the past decade in large part because its teachers are trusted to do whatever it takes to turn young lives around. This 13-year-old, Besart Kabashi, received something akin to royal tutoring. “I took Besart on that year as my private student,” Louhivuori told me in his office, which boasted a Beatles “Yellow Submarine” poster on the wall and an electric guitar in the closet. When Besart was not studying science, geography and math, he was parked next to Louhivuori’s desk at the front of his class of 9- and 10-year- olds, cracking open books from a tall stack, slowly reading one, then another, then devouring them by the dozens. By the end of the year, the son of Kosovo war refugees had conquered his adopted country’s vowel-rich language and arrived at the realization that he could, in fact, learn. Years later, a 20-year-old Besart showed up at Kirkkojarvi’s Christmas party with a bottle of Cognac and a big grin. “You helped me,” he told his former teacher. Besart had opened his own car repair firm and a cleaning company. “No big fuss,” Louhivuori told me. “This is what we do every day, prepare kids for life.” This tale of a single rescued child hints at some of the reasons for the tiny Nordic nation’s staggering record of education success, a phenomenon that has inspired, baffled and even irked many of America’s parents and educators. Finnish schooling became an unlikely hot topic after the 2010 documentary film Waiting for “Superman” contrasted it with America’s troubled public schools. “Whatever it takes” is an attitude that drives not just Kirkkojarvi’s 30 teachers, but most of Finland’s 62,000 educators in 3,500 schools from Lapland to Turku—professionals selected from the top 10 percent of the nation’s graduates to earn a required master’s degree in education. Many schools are small enough so that teachers know every student. If one method fails, teachers consult with colleagues to try something else. They seem to relish the challenges. Nearly 30 percent of Finland’s children receive some kind of special help during their first nine years of school. The school where Louhivuori teaches served 240 first through ninth graders last year; and in contrast with Finland’s reputation for ethnic homogeneity, more than half of its 150 elementary-level students are immigrants—from Somalia, Iraq, Russia, Bangladesh, Estonia and Ethiopia, among other nations. “Children from wealthy families with lots of education can be taught by stupid teachers,” Louhivuori said, smiling. “We try to catch the weak students. It’s deep in our thinking.” Advertisement scroll for more The transformation of the Finns’ education system began some 40 years ago as the key propellent of the country’s economic recovery plan. Educators had little idea it was so successful until 2000, when the first results from the Programme for International Student Assessment (PISA), a standardized test given to 15-year-olds in more than 40 global venues, revealed Finnish youth to be the best young readers in the world. Three years later, they led in math. By 2006, Finland was first out of 57 countries (and a few cities) in science. In the 2009 PISA scores released last year, the nation came in second in science, third in reading and sixth in math among nearly half a million students worldwide. “I’m still surprised,” said Arjariita Heikkinen, principal of a Helsinki comprehensive school. “I didn’t realize we were that good.” In the United States, which has muddled along in the middle for the past decade, government officials have attempted to introduce marketplace competition into public schools. In recent years, a group of Wall Street financiers and philanthropists such as Bill Gates have put money behind private-sector ideas, such as vouchers, data-driven curriculum and charter schools, which have doubled in number in the past decade. President Obama, too, has apparently bet on compe­tition. His Race to the Top initiative invites states to compete for federal dollars using tests and other methods to measure teachers, a philosophy that would not fly in Finland. “I think, in fact, teachers would tear off their shirts,” said Timo Heikkinen, a Helsinki principal with 24 years of teaching experience. “If you only measure the statistics, you miss the human aspect.”

      The facts show that America has it all wrong in putting to much emphasis on national "data-driven" competition. These approaches take away from the unique aspects of each child.

    2. t was the end of term at Kirkkojarvi Comprehensive School in Espoo, a sprawling suburb west of Helsinki, when Kari Louhivuori, a veteran teacher and the school’s principal, decided to try something extreme—by Finnish standards. One of his sixth-grade students, a Kosovo-Albanian boy, had drifted far off the learning grid, resisting his teacher’s best efforts. The school’s team of special educators—including a social worker, a nurse and a psychologist—convinced Louhivuori that laziness was not to blame. So he decided to hold the boy back a year, a measure so rare in Finland it’s practically obsolete. function dispatchComscoreLoadedEvent(){ let event = new Event('MPlayerComscoreLoaded'); window.dispatchEvent(event); } !function(e){var t={};function n(r){if(t[r])return t[r].exports;var i=t[r]={i:r,l:!1,exports:{}};return e[r].call(i.exports,i,i.exports,n),i.l=!0,i.exports}n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){"undefined"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"===typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var i in e)n.d(r,i,function(t){return e[t]}.bind(null,i));return r},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=68)}([function(e,t){e.exports=function(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}},function(e,t){e.exports=function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}},function(e,t){function n(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}e.exports=function(e,t,r){return t&&n(e.prototype,t),r&&n(e,r),e}},function(e,t){e.exports=function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}},function(e,t,n){e.exports=n(47)},function(e,t){function n(t){return e.exports=n=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},n(t)}e.exports=n},function(e,t,n){"use strict";var r=n(21),i=Object.prototype.toString;function o(e){return"[object Array]"===i.call(e)}function a(e){return"undefined"===typeof e}function s(e){return null!==e&&"object"===typeof e}function u(e){return"[object Function]"===i.call(e)}function c(e,t){if(null!==e&&"undefined"!==typeof e)if("object"!==typeof e&&(e=[e]),o(e))for(var n=0,r=e.length;n<r;n++)t.call(null,e[n],n,e);else for(var i in e)Object.prototype.hasOwnProperty.call(e,i)&&t.call(null,e[i],i,e)}e.exports={isArray:o,isArrayBuffer:function(e){return"[object ArrayBuffer]"===i.call(e)},isBuffer:function(e){return null!==e&&!a(e)&&null!==e.constructor&&!a(e.constructor)&&"function"===typeof e.constructor.isBuffer&&e.constructor.isBuffer(e)},isFormData:function(e){return"undefined"!==typeof FormData&&e instanceof FormData},isArrayBufferView:function(e){return"undefined"!==typeof ArrayBuffer&&ArrayBuffer.isView?ArrayBuffer.isView(e):e&&e.buffer&&e.buffer instanceof ArrayBuffer},isString:function(e){return"string"===typeof e},isNumber:function(e){return"number"===typeof e},isObject:s,isUndefined:a,isDate:function(e){return"[object Date]"===i.call(e)},isFile:function(e){return"[object File]"===i.call(e)},isBlob:function(e){return"[object Blob]"===i.call(e)},isFunction:u,isStream:function(e){return s(e)&&u(e.pipe)},isURLSearchParams:function(e){return"undefined"!==typeof URLSearchParams&&e instanceof URLSearchParams},isStandardBrowserEnv:function(){return("undefined"===typeof navigator||"ReactNative"!==navigator.product&&"NativeScript"!==navigator.product&&"NS"!==navigator.product)&&"undefined"!==typeof window&&"undefined"!==typeof document},forEach:c,merge:function e(){var t={};function n(n,r){"object"===typeof t[r]&&"object"===typeof n?t[r]=e(t[r],n):t[r]=n}for(var r=0,i=arguments.length;r<i;r++)c(arguments[r],n);return t},deepMerge:function e(){var t={};function n(n,r){"object"===typeof t[r]&&"object"===typeof n?t[r]=e(t[r],n):t[r]="object"===typeof n?e({},n):n}for(var r=0,i=arguments.length;r<i;r++)c(arguments[r],n);return t},extend:function(e,t,n){return c(t,function(t,i){e[i]=n&&"function"===typeof t?r(t,n):t}),e},trim:function(e){return e.replace(/^\s*/,"").replace(/\s*$/,"")}}},function(e,t){function n(e,t,n,r,i,o,a){try{var s=e[o](a),u=s.value}catch(c){return void n(c)}s.done?t(u):Promise.resolve(u).then(r,i)}e.exports=function(e){return function(){var t=this,r=arguments;return new Promise(function(i,o){var a=e.apply(t,r);function s(e){n(a,i,o,s,u,"next",e)}function u(e){n(a,i,o,s,u,"throw",e)}s(void 0)})}}},function(e,t,n){var r=n(48);e.exports=function(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&r(e,t)}},function(e,t,n){var r=n(49),i=n(3);e.exports=function(e,t){return!t||"object"!==r(t)&&"function"!==typeof t?i(e):t}},function(e,t,n){var r=n(42),i=n(43),o=n(18),a=n(44);e.exports=function(e,t){return r(e)||i(e,t)||o(e,t)||a()}},function(e,t,n){var r=n(39),i=n(40),o=n(18),a=n(41);e.exports=function(e){return r(e)||i(e)||o(e)||a()}},function(e,t,n){var r=n(45);e.exports=function(e,t){if(null==e)return{};var n,i,o=r(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(i=0;i<a.length;i++)n=a[i],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}},function(e,t,n){var r=n(50);function i(t,n,o){return"undefined"!==typeof Reflect&&Reflect.get?e.exports=i=Reflect.get:e.exports=i=function(e,t,n){var i=r(e,t);if(i){var o=Object.getOwnPropertyDescriptor(i,t);return o.get?o.get.call(n):o.value}},i(t,n,o||t)}e.exports=i},function(e,t,n){"use strict";e.exports=n(36)},function(e,t,n){"use strict";var r=n(14),i={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},o={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},a={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},s={};function u(e){return r.isMemo(e)?a:s[e.$$typeof]||i}s[r.ForwardRef]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},s[r.Memo]=a;var c=Object.defineProperty,l=Object.getOwnPropertyNames,d=Object.getOwnPropertySymbols,p=Object.getOwnPropertyDescriptor,f=Object.getPrototypeOf,h=Object.prototype;e.exports=function e(t,n,r){if("string"!==typeof n){if(h){var i=f(n);i&&i!==h&&e(t,i,r)}var a=l(n);d&&(a=a.concat(d(n)));for(var s=u(t),y=u(n),g=0;g<a.length;++g){var v=a[g];if(!o[v]&&(!r||!r[v])&&(!y||!y[v])&&(!s||!s[v])){var m=p(n,v);try{c(t,v,m)}catch(b){}}}}return t}},function(e,t,n){"use strict";(function(e,r){var i,o=n(29);i="undefined"!==typeof self?self:"undefined"!==typeof window?window:"undefined"!==typeof e?e:r;var a=Object(o.a)(i);t.a=a}).call(this,n(37),n(38)(e))},function(e,t){e.exports=function(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}},function(e,t,n){var r=n(17);e.exports=function(e,t){if(e){if("string"===typeof e)return r(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(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?r(e,t):void 0}}},function(e,t){var n,r,i=e.exports={};function o(){throw new Error("setTimeout has not been defined")}function a(){throw new Error("clearTimeout has not been defined")}function s(e){if(n===setTimeout)return setTimeout(e,0);if((n===o||!n)&&setTimeout)return n=setTimeout,setTimeout(e,0);try{return n(e,0)}catch(t){try{return n.call(null,e,0)}catch(t){return n.call(this,e,0)}}}!function(){try{n="function"===typeof setTimeout?setTimeout:o}catch(e){n=o}try{r="function"===typeof clearTimeout?clearTimeout:a}catch(e){r=a}}();var u,c=[],l=!1,d=-1;function p(){l&&u&&(l=!1,u.length?c=u.concat(c):d=-1,c.length&&f())}function f(){if(!l){var e=s(p);l=!0;for(var t=c.length;t;){for(u=c,c=[];++d<t;)u&&u[d].run();d=-1,t=c.length}u=null,l=!1,function(e){if(r===clearTimeout)return clearTimeout(e);if((r===a||!r)&&clearTimeout)return r=clearTimeout,clearTimeout(e);try{r(e)}catch(t){try{return r.call(null,e)}catch(t){return r.call(this,e)}}}(e)}}function h(e,t){this.fun=e,this.array=t}function y(){}i.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];c.push(new h(e,t)),1!==c.length||l||s(f)},h.prototype.run=function(){this.fun.apply(null,this.array)},i.title="browser",i.browser=!0,i.env={},i.argv=[],i.version="",i.versions={},i.on=y,i.addListener=y,i.once=y,i.off=y,i.removeListener=y,i.removeAllListeners=y,i.emit=y,i.prependListener=y,i.prependOnceListener=y,i.listeners=function(e){return[]},i.binding=function(e){throw new Error("process.binding is not supported")},i.cwd=function(){return"/"},i.chdir=function(e){throw new Error("process.chdir is not supported")},i.umask=function(){return 0}},function(e,t){!function(){"use strict";if("object"===typeof window)if("IntersectionObserver"in window&&"IntersectionObserverEntry"in window&&"intersectionRatio"in window.IntersectionObserverEntry.prototype)"isIntersecting"in window.IntersectionObserverEntry.prototype||Object.defineProperty(window.IntersectionObserverEntry.prototype,"isIntersecting",{get:function(){return this.intersectionRatio>0}});else{var e=window.document,t=[];r.prototype.THROTTLE_TIMEOUT=100,r.prototype.POLL_INTERVAL=null,r.prototype.USE_MUTATION_OBSERVER=!0,r.prototype.observe=function(e){if(!this._observationTargets.some(function(t){return t.element==e})){if(!e||1!=e.nodeType)throw new Error("target must be an Element");this._registerInstance(),this._observationTargets.push({element:e,entry:null}),this._monitorIntersections(e.ownerDocument),this._checkForIntersections()}},r.prototype.unobserve=function(e){this._observationTargets=this._observationTargets.filter(function(t){return t.element!=e}),this._unmonitorIntersections(e.ownerDocument),0==this._observationTargets.length&&this._unregisterInstance()},r.prototype.disconnect=function(){this._observationTargets=[],this._unmonitorAllIntersections(),this._unregisterInstance()},r.prototype.takeRecords=function(){var e=this._queuedEntries.slice();return this._queuedEntries=[],e},r.prototype._initThresholds=function(e){var t=e||[0];return Array.isArray(t)||(t=[t]),t.sort().filter(function(e,t,n){if("number"!=typeof e||isNaN(e)||e<0||e>1)throw new Error("threshold must be a number between 0 and 1 inclusively");return e!==n[t-1]})},r.prototype._parseRootMargin=function(e){var t=(e||"0px").split(/\s+/).map(function(e){var t=/^(-?\d*\.?\d+)(px|%)$/.exec(e);if(!t)throw new Error("rootMargin must be specified in pixels or percent");return{value:parseFloat(t[1]),unit:t[2]}});return t[1]=t[1]||t[0],t[2]=t[2]||t[0],t[3]=t[3]||t[1],t},r.prototype._monitorIntersections=function(t){var n=t.defaultView;if(n&&-1==this._monitoringDocuments.indexOf(t)){var r=this._checkForIntersections,a=null,s=null;if(this.POLL_INTERVAL?a=n.setInterval(r,this.POLL_INTERVAL):(i(n,"resize",r,!0),i(t,"scroll",r,!0),this.USE_MUTATION_OBSERVER&&"MutationObserver"in n&&(s=new n.MutationObserver(r)).observe(t,{attributes:!0,childList:!0,characterData:!0,subtree:!0})),this._monitoringDocuments.push(t),this._monitoringUnsubscribes.push(function(){var e=t.defaultView;e&&(a&&e.clearInterval(a),o(e,"resize",r,!0)),o(t,"scroll",r,!0),s&&s.disconnect()}),t!=(this.root&&this.root.ownerDocument||e)){var u=d(t);u&&this._monitorIntersections(u.ownerDocument)}}},r.prototype._unmonitorIntersections=function(t){var n=this._monitoringDocuments.indexOf(t);if(-1!=n){var r=this.root&&this.root.ownerDocument||e;if(!this._observationTargets.some(function(e){var n=e.element.ownerDocument;if(n==t)return!0;for(;n&&n!=r;){var i=d(n);if((n=i&&i.ownerDocument)==t)return!0}return!1})){var i=this._monitoringUnsubscribes[n];if(this._monitoringDocuments.splice(n,1),this._monitoringUnsubscribes.splice(n,1),i(),t!=r){var o=d(t);o&&this._unmonitorIntersections(o.ownerDocument)}}}},r.prototype._unmonitorAllIntersections=function(){var e=this._monitoringUnsubscribes.slice(0);this._monitoringDocuments.length=0,this._monitoringUnsubscribes.length=0;for(var t=0;t<e.length;t++)e[t]()},r.prototype._checkForIntersections=function(){var e=this._rootIsInDom(),t=e?this._getRootRect():{top:0,bottom:0,left:0,right:0,width:0,height:0};this._observationTargets.forEach(function(r){var i=r.element,o=s(i),a=this._rootContainsTarget(i),u=r.entry,c=e&&a&&this._computeTargetAndRootIntersection(i,o,t),l=r.entry=new n({time:window.performance&&performance.now&&performance.now(),target:i,boundingClientRect:o,rootBounds:t,intersectionRect:c});u?e&&a?this._hasCrossedThreshold(u,l)&&this._queuedEntries.push(l):u&&u.isIntersecting&&this._queuedEntries.push(l):this._queuedEntries.push(l)},this),this._queuedEntries.length&&this._callback(this.takeRecords(),this)},r.prototype._computeTargetAndRootIntersection=function(t,n,r){if("none"!=window.getComputedStyle(t).display){for(var i=n,o=l(t),c=!1;!c&&o;){var d=null,p=1==o.nodeType?window.getComputedStyle(o):{};if("none"==p.display)return null;if(o==this.root||9==o.nodeType)if(c=!0,o==this.root||o==e)d=r;else{var f=l(o),h=f&&s(f),y=f&&this._computeTargetAndRootIntersection(f,h,r);h&&y?(o=f,d=u(h,y)):(o=null,i=null)}else{var g=o.ownerDocument;o!=g.body&&o!=g.documentElement&&"visible"!=p.overflow&&(d=s(o))}if(d&&(i=a(d,i)),!i)break;o=o&&l(o)}return i}},r.prototype._getRootRect=function(){var t;if(this.root)t=s(this.root);else{var n=e.documentElement,r=e.body;t={top:0,left:0,right:n.clientWidth||r.clientWidth,width:n.clientWidth||r.clientWidth,bottom:n.clientHeight||r.clientHeight,height:n.clientHeight||r.clientHeight}}return this._expandRectByRootMargin(t)},r.prototype._expandRectByRootMargin=function(e){var t=this._rootMarginValues.map(function(t,n){return"px"==t.unit?t.value:t.value*(n%2?e.width:e.height)/100}),n={top:e.top-t[0],right:e.right+t[1],bottom:e.bottom+t[2],left:e.left-t[3]};return n.width=n.right-n.left,n.height=n.bottom-n.top,n},r.prototype._hasCrossedThreshold=function(e,t){var n=e&&e.isIntersecting?e.intersectionRatio||0:-1,r=t.isIntersecting?t.intersectionRatio||0:-1;if(n!==r)for(var i=0;i<this.thresholds.length;i++){var o=this.thresholds[i];if(o==n||o==r||o<n!==o<r)return!0}},r.prototype._rootIsInDom=function(){return!this.root||c(e,this.root)},r.prototype._rootContainsTarget=function(t){return c(this.root||e,t)&&(!this.root||this.root.ownerDocument==t.ownerDocument)},r.prototype._registerInstance=function(){t.indexOf(this)<0&&t.push(this)},r.prototype._unregisterInstance=function(){var e=t.indexOf(this);-1!=e&&t.splice(e,1)},window.IntersectionObserver=r,window.IntersectionObserverEntry=n}function n(e){this.time=e.time,this.target=e.target,this.rootBounds=e.rootBounds,this.boundingClientRect=e.boundingClientRect,this.intersectionRect=e.intersectionRect||{top:0,bottom:0,left:0,right:0,width:0,height:0},this.isIntersecting=!!e.intersectionRect;var t=this.boundingClientRect,n=t.width*t.height,r=this.intersectionRect,i=r.width*r.height;this.intersectionRatio=n?Number((i/n).toFixed(4)):this.isIntersecting?1:0}function r(e,t){var n=t||{};if("function"!=typeof e)throw new Error("callback must be a function");if(n.root&&1!=n.root.nodeType)throw new Error("root must be an Element");this._checkForIntersections=function(e,t){var n=null;return function(){n||(n=setTimeout(function(){e(),n=null},t))}}(this._checkForIntersections.bind(this),this.THROTTLE_TIMEOUT),this._callback=e,this._observationTargets=[],this._queuedEntries=[],this._rootMarginValues=this._parseRootMargin(n.rootMargin),this.thresholds=this._initThresholds(n.threshold),this.root=n.root||null,this.rootMargin=this._rootMarginValues.map(function(e){return e.value+e.unit}).join(" "),this._monitoringDocuments=[],this._monitoringUnsubscribes=[]}function i(e,t,n,r){"function"==typeof e.addEventListener?e.addEventListener(t,n,r||!1):"function"==typeof e.attachEvent&&e.attachEvent("on"+t,n)}function o(e,t,n,r){"function"==typeof e.removeEventListener?e.removeEventListener(t,n,r||!1):"function"==typeof e.detatchEvent&&e.detatchEvent("on"+t,n)}function a(e,t){var n=Math.max(e.top,t.top),r=Math.min(e.bottom,t.bottom),i=Math.max(e.left,t.left),o=Math.min(e.right,t.right),a=o-i,s=r-n;return a>=0&&s>=0&&{top:n,bottom:r,left:i,right:o,width:a,height:s}||null}function s(e){var t;try{t=e.getBoundingClientRect()}catch(n){}return t?(t.width&&t.height||(t={top:t.top,right:t.right,bottom:t.bottom,left:t.left,width:t.right-t.left,height:t.bottom-t.top}),t):{top:0,bottom:0,left:0,right:0,width:0,height:0}}function u(e,t){var n=t.top-e.top,r=t.left-e.left;return{top:n,left:r,height:t.height,width:t.width,bottom:n+t.height,right:r+t.width}}function c(e,t){for(var n=t;n;){if(n==e)return!0;n=l(n)}return!1}function l(t){var n=t.parentNode;return 9==t.nodeType&&t!=e?d(t):n&&11==n.nodeType&&n.host?n.host:n&&n.assignedSlot?n.assignedSlot.parentNode:n}function d(e){try{return e.defaultView&&e.defaultView.frameElement||null}catch(t){return null}}}()},function(e,t,n){"use strict";e.exports=function(e,t){return function(){for(var n=new Array(arguments.length),r=0;r<n.length;r++)n[r]=arguments[r];return e.apply(t,n)}}},function(e,t,n){"use strict";var r=n(6);function i(e){return encodeURIComponent(e).replace(/%40/gi,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}e.exports=function(e,t,n){if(!t)return e;var o;if(n)o=n(t);else if(r.isURLSearchParams(t))o=t.toString();else{var a=[];r.forEach(t,function(e,t){null!==e&&"undefined"!==typeof e&&(r.isArray(e)?t+="[]":e=[e],r.forEach(e,function(e){r.isDate(e)?e=e.toISOString():r.isObject(e)&&(e=JSON.stringify(e)),a.push(i(t)+"="+i(e))}))}),o=a.join("&")}if(o){var s=e.indexOf("#");-1!==s&&(e=e.slice(0,s)),e+=(-1===e.indexOf("?")?"?":"&")+o}return e}},function(e,t,n){"use strict";e.exports=function(e){return!(!e||!e.__CANCEL__)}},function(e,t,n){"use strict";(function(t){var r=n(6),i=n(57),o={"Content-Type":"application/x-www-form-urlencoded"};function a(e,t){!r.isUndefined(e)&&r.isUndefined(e["Content-Type"])&&(e["Content-Type"]=t)}var s={adapter:function(){var e;return"undefined"!==typeof XMLHttpRequest?e=n(25):"undefined"!==typeof t&&"[object process]"===Object.prototype.toString.call(t)&&(e=n(25)),e}(),transformRequest:[function(e,t){return i(t,"Accept"),i(t,"Content-Type"),r.isFormData(e)||r.isArrayBuffer(e)||r.isBuffer(e)||r.isStream(e)||r.isFile(e)||r.isBlob(e)?e:r.isArrayBufferView(e)?e.buffer:r.isURLSearchParams(e)?(a(t,"application/x-www-form-urlencoded;charset=utf-8"),e.toString()):r.isObject(e)?(a(t,"application/json;charset=utf-8"),JSON.stringify(e)):e}],transformResponse:[function(e){if("string"===typeof e)try{e=JSON.parse(e)}catch(t){}return e}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,validateStatus:function(e){return e>=200&&e<300},headers:{common:{Accept:"application/json, text/plain, */*"}}};r.forEach(["delete","get","head"],function(e){s.headers[e]={}}),r.forEach(["post","put","patch"],function(e){s.headers[e]=r.merge(o)}),e.exports=s}).call(this,n(19))},function(e,t,n){"use strict";var r=n(6),i=n(58),o=n(22),a=n(60),s=n(63),u=n(64),c=n(26);e.exports=function(e){return new Promise(function(t,l){var d=e.data,p=e.headers;r.isFormData(d)&&delete p["Content-Type"];var f=new XMLHttpRequest;if(e.auth){var h=e.auth.username||"",y=e.auth.password||"";p.Authorization="Basic "+btoa(h+":"+y)}var g=a(e.baseURL,e.url);if(f.open(e.method.toUpperCase(),o(g,e.params,e.paramsSerializer),!0),f.timeout=e.timeout,f.onreadystatechange=function(){if(f&&4===f.readyState&&(0!==f.status||f.responseURL&&0===f.responseURL.indexOf("file:"))){var n="getAllResponseHeaders"in f?s(f.getAllResponseHeaders()):null,r={data:e.responseType&&"text"!==e.responseType?f.response:f.responseText,status:f.status,statusText:f.statusText,headers:n,config:e,request:f};i(t,l,r),f=null}},f.onabort=function(){f&&(l(c("Request aborted",e,"ECONNABORTED",f)),f=null)},f.onerror=function(){l(c("Network Error",e,null,f)),f=null},f.ontimeout=function(){var t="timeout of "+e.timeout+"ms exceeded";e.timeoutErrorMessage&&(t=e.timeoutErrorMessage),l(c(t,e,"ECONNABORTED",f)),f=null},r.isStandardBrowserEnv()){var v=n(65),m=(e.withCredentials||u(g))&&e.xsrfCookieName?v.read(e.xsrfCookieName):void 0;m&&(p[e.xsrfHeaderName]=m)}if("setRequestHeader"in f&&r.forEach(p,function(e,t){"undefined"===typeof d&&"content-type"===t.toLowerCase()?delete p[t]:f.setRequestHeader(t,e)}),r.isUndefined(e.withCredentials)||(f.withCredentials=!!e.withCredentials),e.responseType)try{f.responseType=e.responseType}catch(b){if("json"!==e.responseType)throw b}"function"===typeof e.onDownloadProgress&&f.addEventListener("progress",e.onDownloadProgress),"function"===typeof e.onUploadProgress&&f.upload&&f.upload.addEventListener("progress",e.onUploadProgress),e.cancelToken&&e.cancelToken.promise.then(function(e){f&&(f.abort(),l(e),f=null)}),void 0===d&&(d=null),f.send(d)})}},function(e,t,n){"use strict";var r=n(59);e.exports=function(e,t,n,i,o){var a=new Error(e);return r(a,t,n,i,o)}},function(e,t,n){"use strict";var r=n(6);e.exports=function(e,t){t=t||{};var n={},i=["url","method","params","data"],o=["headers","auth","proxy"],a=["baseURL","url","transformRequest","transformResponse","paramsSerializer","timeout","withCredentials","adapter","responseType","xsrfCookieName","xsrfHeaderName","onUploadProgress","onDownloadProgress","maxContentLength","validateStatus","maxRedirects","httpAgent","httpsAgent","cancelToken","socketPath"];r.forEach(i,function(e){"undefined"!==typeof t[e]&&(n[e]=t[e])}),r.forEach(o,function(i){r.isObject(t[i])?n[i]=r.deepMerge(e[i],t[i]):"undefined"!==typeof t[i]?n[i]=t[i]:r.isObject(e[i])?n[i]=r.deepMerge(e[i]):"undefined"!==typeof e[i]&&(n[i]=e[i])}),r.forEach(a,function(r){"undefined"!==typeof t[r]?n[r]=t[r]:"undefined"!==typeof e[r]&&(n[r]=e[r])});var s=i.concat(o).concat(a),u=Object.keys(t).filter(function(e){return-1===s.indexOf(e)});return r.forEach(u,function(r){"undefined"!==typeof t[r]?n[r]=t[r]:"undefined"!==typeof e[r]&&(n[r]=e[r])}),n}},function(e,t,n){"use strict";function r(e){this.message=e}r.prototype.toString=function(){return"Cancel"+(this.message?": "+this.message:"")},r.prototype.__CANCEL__=!0,e.exports=r},function(e,t,n){"use strict";function r(e){var t,n=e.Symbol;return"function"===typeof n?n.observable?t=n.observable:(t=n("observable"),n.observable=t):t="@@observable",t}n.d(t,"a",function(){return r})},function(e,t,n){"use strict";(function(e){n.d(t,"a",function(){return f});var r=function(){for(var e=0,t=0,n=arguments.length;t<n;t++)e+=arguments[t].length;var r=Array(e),i=0;for(t=0;t<n;t++)for(var o=arguments[t],a=0,s=o.length;a<s;a++,i++)r[i]=o[a];return r},i=function(){return function(e,t,n){this.name=e,this.version=t,this.os=n,this.type="browser"}}(),o=function(){return function(t){this.version=t,this.type="node",this.name="node",this.os=e.platform}}(),a=function(){return function(e,t,n,r){this.name=e,this.version=t,this.os=n,this.bot=r,this.type="bot-device"}}(),s=function(){return function(){this.type="bot",this.bot=!0,this.name="bot",this.version=null,this.os=null}}(),u=function(){return function(){this.type="react-native",this.name="react-native",this.version=null,this.os=null}}(),c=/(nuhk|Googlebot|Yammybot|Openbot|Slurp|MSNBot|Ask\ Jeeves\/Teoma|ia_archiver)/,l=3,d=[["aol",/AOLShield\/([0-9\._]+)/],["edge",/Edge\/([0-9\._]+)/],["edge-ios",/EdgiOS\/([0-9\._]+)/],["yandexbrowser",/YaBrowser\/([0-9\._]+)/],["kakaotalk",/KAKAOTALK\s([0-9\.]+)/],["samsung",/SamsungBrowser\/([0-9\.]+)/],["silk",/\bSilk\/([0-9._-]+)\b/],["miui",/MiuiBrowser\/([0-9\.]+)$/],["beaker",/BeakerBrowser\/([0-9\.]+)/],["edge-chromium",/Edg\/([0-9\.]+)/],["chromium-webview",/(?!Chrom.*OPR)wv\).*Chrom(?:e|ium)\/([0-9\.]+)(:?\s|$)/],["chrome",/(?!Chrom.*OPR)Chrom(?:e|ium)\/([0-9\.]+)(:?\s|$)/],["phantomjs",/PhantomJS\/([0-9\.]+)(:?\s|$)/],["crios",/CriOS\/([0-9\.]+)(:?\s|$)/],["firefox",/Firefox\/([0-9\.]+)(?:\s|$)/],["fxios",/FxiOS\/([0-9\.]+)/],["opera-mini",/Opera Mini.*Version\/([0-9\.]+)/],["opera",/Opera\/([0-9\.]+)(?:\s|$)/],["opera",/OPR\/([0-9\.]+)(:?\s|$)/],["ie",/Trident\/7\.0.*rv\:([0-9\.]+).*\).*Gecko$/],["ie",/MSIE\s([0-9\.]+);.*Trident\/[4-7].0/],["ie",/MSIE\s(7\.0)/],["bb10",/BB10;\sTouch.*Version\/([0-9\.]+)/],["android",/Android\s([0-9\.]+)/],["ios",/Version\/([0-9\._]+).*Mobile.*Safari.*/],["safari",/Version\/([0-9\._]+).*Safari/],["facebook",/FBAV\/([0-9\.]+)/],["instagram",/Instagram\s([0-9\.]+)/],["ios-webview",/AppleWebKit\/([0-9\.]+).*Mobile/],["ios-webview",/AppleWebKit\/([0-9\.]+).*Gecko\)$/],["searchbot",/alexa|bot|crawl(er|ing)|facebookexternalhit|feedburner|google web preview|nagios|postrank|pingdom|slurp|spider|yahoo!|yandex/]],p=[["iOS",/iP(hone|od|ad)/],["Android OS",/Android/],["BlackBerry OS",/BlackBerry|BB10/],["Windows Mobile",/IEMobile/],["Amazon OS",/Kindle/],["Windows 3.11",/Win16/],["Windows 95",/(Windows 95)|(Win95)|(Windows_95)/],["Windows 98",/(Windows 98)|(Win98)/],["Windows 2000",/(Windows NT 5.0)|(Windows 2000)/],["Windows XP",/(Windows NT 5.1)|(Windows XP)/],["Windows Server 2003",/(Windows NT 5.2)/],["Windows Vista",/(Windows NT 6.0)/],["Windows 7",/(Windows NT 6.1)/],["Windows 8",/(Windows NT 6.2)/],["Windows 8.1",/(Windows NT 6.3)/],["Windows 10",/(Windows NT 10.0)/],["Windows ME",/Windows ME/],["Open BSD",/OpenBSD/],["Sun OS",/SunOS/],["Chrome OS",/CrOS/],["Linux",/(Linux)|(X11)/],["Mac OS",/(Mac_PowerPC)|(Macintosh)/],["QNX",/QNX/],["BeOS",/BeOS/],["OS/2",/OS\/2/]];function f(t){return t?y(t):"undefined"===typeof document&&"undefined"!==typeof navigator&&"ReactNative"===navigator.product?new u:"undefined"!==typeof navigator?y(navigator.userAgent):"undefined"!==typeof e&&e.version?new o(e.version.slice(1)):null}function h(e){return""!==e&&d.reduce(function(t,n){var r=n[0],i=n[1];if(t)return t;var o=i.exec(e);return!!o&&[r,o]},!1)}function y(e){var t=h(e);if(!t)return null;var n=t[0],o=t[1];if("searchbot"===n)return new s;var u=o[1]&&o[1].split(/[._]/).slice(0,3);u?u.length<l&&(u=r(u,function(e){for(var t=[],n=0;n<e;n++)t.push("0");return t}(l-u.length))):u=[];var d=u.join("."),f=function(e){for(var t=0,n=p.length;t<n;t++){var r=p[t],i=r[0],o=r[1],a=o.exec(e);if(a)return i}return null}(e),y=c.exec(e);return y&&y[1]?new a(n,d,f,y[1]):new i(n,d,f)}}).call(this,n(19))},function(e,t){function n(){return e.exports=n=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},n.apply(this,arguments)}e.exports=n},function(e,t,n){e.exports=n(52)},function(e,t,n){e.exports=n(34)()},function(e,t,n){"use strict";var r=n(35);function i(){}function o(){}o.resetWarningCache=i,e.exports=function(){function e(e,t,n,i,o,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,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:o,resetWarningCache:i};return n.PropTypes=n,n}},function(e,t,n){"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},function(e,t,n){"use strict";var r="function"===typeof Symbol&&Symbol.for,i=r?Symbol.for("react.element"):60103,o=r?Symbol.for("react.portal"):60106,a=r?Symbol.for("react.fragment"):60107,s=r?Symbol.for("react.strict_mode"):60108,u=r?Symbol.for("react.profiler"):60114,c=r?Symbol.for("react.provider"):60109,l=r?Symbol.for("react.context"):60110,d=r?Symbol.for("react.async_mode"):60111,p=r?Symbol.for("react.concurrent_mode"):60111,f=r?Symbol.for("react.forward_ref"):60112,h=r?Symbol.for("react.suspense"):60113,y=r?Symbol.for("react.suspense_list"):60120,g=r?Symbol.for("react.memo"):60115,v=r?Symbol.for("react.lazy"):60116,m=r?Symbol.for("react.block"):60121,b=r?Symbol.for("react.fundamental"):60117,O=r?Symbol.for("react.responder"):60118,_=r?Symbol.for("react.scope"):60119;function S(e){if("object"===typeof e&&null!==e){var t=e.$$typeof;switch(t){case i:switch(e=e.type){case d:case p:case a:case u:case s:case h:return e;default:switch(e=e&&e.$$typeof){case l:case f:case v:case g:case c:return e;default:return t}}case o:return t}}}function E(e){return S(e)===p}t.AsyncMode=d,t.ConcurrentMode=p,t.ContextConsumer=l,t.ContextProvider=c,t.Element=i,t.ForwardRef=f,t.Fragment=a,t.Lazy=v,t.Memo=g,t.Portal=o,t.Profiler=u,t.StrictMode=s,t.Suspense=h,t.isAsyncMode=function(e){return E(e)||S(e)===d},t.isConcurrentMode=E,t.isContextConsumer=function(e){return S(e)===l},t.isContextProvider=function(e){return S(e)===c},t.isElement=function(e){return"object"===typeof e&&null!==e&&e.$$typeof===i},t.isForwardRef=function(e){return S(e)===f},t.isFragment=function(e){return S(e)===a},t.isLazy=function(e){return S(e)===v},t.isMemo=function(e){return S(e)===g},t.isPortal=function(e){return S(e)===o},t.isProfiler=function(e){return S(e)===u},t.isStrictMode=function(e){return S(e)===s},t.isSuspense=function(e){return S(e)===h},t.isValidElementType=function(e){return"string"===typeof e||"function"===typeof e||e===a||e===p||e===u||e===s||e===h||e===y||"object"===typeof e&&null!==e&&(e.$$typeof===v||e.$$typeof===g||e.$$typeof===c||e.$$typeof===l||e.$$typeof===f||e.$$typeof===b||e.$$typeof===O||e.$$typeof===_||e.$$typeof===m)},t.typeOf=S},function(e,t){var n;n=function(){return this}();try{n=n||new Function("return this")()}catch(r){"object"===typeof window&&(n=window)}e.exports=n},function(e,t){e.exports=function(e){if(!e.webpackPolyfill){var t=Object.create(e);t.children||(t.children=[]),Object.defineProperty(t,"loaded",{enumerable:!0,get:function(){return t.l}}),Object.defineProperty(t,"id",{enumerable:!0,get:function(){return t.i}}),Object.defineProperty(t,"exports",{enumerable:!0}),t.webpackPolyfill=1}return t}},function(e,t,n){var r=n(17);e.exports=function(e){if(Array.isArray(e))return r(e)}},function(e,t){e.exports=function(e){if("undefined"!==typeof Symbol&&Symbol.iterator in Object(e))return Array.from(e)}},function(e,t){e.exports=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(e,t){e.exports=function(e){if(Array.isArray(e))return e}},function(e,t){e.exports=function(e,t){if("undefined"!==typeof Symbol&&Symbol.iterator in Object(e)){var n=[],r=!0,i=!1,o=void 0;try{for(var a,s=e[Symbol.iterator]();!(r=(a=s.next()).done)&&(n.push(a.value),!t||n.length!==t);r=!0);}catch(u){i=!0,o=u}finally{try{r||null==s.return||s.return()}finally{if(i)throw o}}return n}}},function(e,t){e.exports=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(e,t){e.exports=function(e,t){if(null==e)return{};var n,r,i={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||(i[n]=e[n]);return i}},function(e,t){},function(e,t,n){var r=function(e){"use strict";var t,n=Object.prototype,r=n.hasOwnProperty,i="function"===typeof Symbol?Symbol:{},o=i.iterator||"@@iterator",a=i.asyncIterator||"@@asyncIterator",s=i.toStringTag||"@@toStringTag";function u(e,t,n){return Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{u({},"")}catch(M){u=function(e,t,n){return e[t]=n}}function c(e,t,n,r){var i=t&&t.prototype instanceof g?t:g,o=Object.create(i.prototype),a=new C(r||[]);return o._invoke=function(e,t,n){var r=d;return function(i,o){if(r===f)throw new Error("Generator is already running");if(r===h){if("throw"===i)throw o;return D()}for(n.method=i,n.arg=o;;){var a=n.delegate;if(a){var s=P(a,n);if(s){if(s===y)continue;return s}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(r===d)throw r=h,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);r=f;var u=l(e,t,n);if("normal"===u.type){if(r=n.done?h:p,u.arg===y)continue;return{value:u.arg,done:n.done}}"throw"===u.type&&(r=h,n.method="throw",n.arg=u.arg)}}}(e,n,a),o}function l(e,t,n){try{return{type:"normal",arg:e.call(t,n)}}catch(M){return{type:"throw",arg:M}}}e.wrap=c;var d="suspendedStart",p="suspendedYield",f="executing",h="completed",y={};function g(){}function v(){}function m(){}var b={};b[o]=function(){return this};var O=Object.getPrototypeOf,_=O&&O(O(R([])));_&&_!==n&&r.call(_,o)&&(b=_);var S=m.prototype=g.prototype=Object.create(b);function E(e){["next","throw","return"].forEach(function(t){u(e,t,function(e){return this._invoke(t,e)})})}function w(e,t){var n;this._invoke=function(i,o){function a(){return new t(function(n,a){!function n(i,o,a,s){var u=l(e[i],e,o);if("throw"!==u.type){var c=u.arg,d=c.value;return d&&"object"===typeof d&&r.call(d,"__await")?t.resolve(d.__await).then(function(e){n("next",e,a,s)},function(e){n("throw",e,a,s)}):t.resolve(d).then(function(e){c.value=e,a(c)},function(e){return n("throw",e,a,s)})}s(u.arg)}(i,o,n,a)})}return n=n?n.then(a,a):a()}}function P(e,n){var r=e.iterator[n.method];if(r===t){if(n.delegate=null,"throw"===n.method){if(e.iterator.return&&(n.method="return",n.arg=t,P(e,n),"throw"===n.method))return y;n.method="throw",n.arg=new TypeError("The iterator does not provide a 'throw' method")}return y}var i=l(r,e.iterator,n.arg);if("throw"===i.type)return n.method="throw",n.arg=i.arg,n.delegate=null,y;var o=i.arg;return o?o.done?(n[e.resultName]=o.value,n.next=e.nextLoc,"return"!==n.method&&(n.method="next",n.arg=t),n.delegate=null,y):o:(n.method="throw",n.arg=new TypeError("iterator result is not an object"),n.delegate=null,y)}function T(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function A(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function C(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(T,this),this.reset(!0)}function R(e){if(e){var n=e[o];if(n)return n.call(e);if("function"===typeof e.next)return e;if(!isNaN(e.length)){var i=-1,a=function n(){for(;++i<e.length;)if(r.call(e,i))return n.value=e[i],n.done=!1,n;return n.value=t,n.done=!0,n};return a.next=a}}return{next:D}}function D(){return{value:t,done:!0}}return v.prototype=S.constructor=m,m.constructor=v,v.displayName=u(m,s,"GeneratorFunction"),e.isGeneratorFunction=function(e){var t="function"===typeof e&&e.constructor;return!!t&&(t===v||"GeneratorFunction"===(t.displayName||t.name))},e.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,m):(e.__proto__=m,u(e,s,"GeneratorFunction")),e.prototype=Object.create(S),e},e.awrap=function(e){return{__await:e}},E(w.prototype),w.prototype[a]=function(){return this},e.AsyncIterator=w,e.async=function(t,n,r,i,o){void 0===o&&(o=Promise);var a=new w(c(t,n,r,i),o);return e.isGeneratorFunction(n)?a:a.next().then(function(e){return e.done?e.value:a.next()})},E(S),u(S,s,"Generator"),S[o]=function(){return this},S.toString=function(){return"[object Generator]"},e.keys=function(e){var t=[];for(var n in e)t.push(n);return t.reverse(),function n(){for(;t.length;){var r=t.pop();if(r in e)return n.value=r,n.done=!1,n}return n.done=!0,n}},e.values=R,C.prototype={constructor:C,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=t,this.done=!1,this.delegate=null,this.method="next",this.arg=t,this.tryEntries.forEach(A),!e)for(var n in this)"t"===n.charAt(0)&&r.call(this,n)&&!isNaN(+n.slice(1))&&(this[n]=t)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var n=this;function i(r,i){return s.type="throw",s.arg=e,n.next=r,i&&(n.method="next",n.arg=t),!!i}for(var o=this.tryEntries.length-1;o>=0;--o){var a=this.tryEntries[o],s=a.completion;if("root"===a.tryLoc)return i("end");if(a.tryLoc<=this.prev){var u=r.call(a,"catchLoc"),c=r.call(a,"finallyLoc");if(u&&c){if(this.prev<a.catchLoc)return i(a.catchLoc,!0);if(this.prev<a.finallyLoc)return i(a.finallyLoc)}else if(u){if(this.prev<a.catchLoc)return i(a.catchLoc,!0)}else{if(!c)throw new Error("try statement without catch or finally");if(this.prev<a.finallyLoc)return i(a.finallyLoc)}}}},abrupt:function(e,t){for(var n=this.tryEntries.length-1;n>=0;--n){var i=this.tryEntries[n];if(i.tryLoc<=this.prev&&r.call(i,"finallyLoc")&&this.prev<i.finallyLoc){var o=i;break}}o&&("break"===e||"continue"===e)&&o.tryLoc<=t&&t<=o.finallyLoc&&(o=null);var a=o?o.completion:{};return a.type=e,a.arg=t,o?(this.method="next",this.next=o.finallyLoc,y):this.complete(a)},complete:function(e,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&t&&(this.next=t),y},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.finallyLoc===e)return this.complete(n.completion,n.afterLoc),A(n),y}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.tryLoc===e){var r=n.completion;if("throw"===r.type){var i=r.arg;A(n)}return i}}throw new Error("illegal catch attempt")},delegateYield:function(e,n,r){return this.delegate={iterator:R(e),resultName:n,nextLoc:r},"next"===this.method&&(this.arg=t),y}},e}(e.exports);try{regeneratorRuntime=r}catch(i){Function("r","regeneratorRuntime = r")(r)}},function(e,t){function n(t,r){return e.exports=n=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},n(t,r)}e.exports=n},function(e,t){function n(t){return"function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?e.exports=n=function(e){return typeof e}:e.exports=n=function(e){return e&&"function"===typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},n(t)}e.exports=n},function(e,t,n){var r=n(5);e.exports=function(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&null!==(e=r(e)););return e}},function(e){e.exports=JSON.parse('{"name":"mplayer","version":"4.0.13","description":"minute media player","author":"minute media","private":true,"scripts":{"start":"yarn compile && PORT=2001 per-env","start:production":"npm run -s serve","start:development":"npm run -s dev","build":"preact build --no-prerender","serve":"preact build && serve build --single","dev":"preact watch","lint":"./node_modules/.bin/eslint --cache --ext .js,.ts,.tsx ./src/.","test":"jest","compile":"webpack","compile:production":"NODE_ENV=production webpack","compile:qa":"NODE_ENV=qa webpack"},"devDependencies":{"@babel/cli":"^7.8.4","@babel/core":"^7.8.4","@babel/plugin-proposal-class-properties":"^7.8.3","@babel/plugin-transform-react-jsx":"^7.8.3","@babel/plugin-transform-runtime":"^7.9.0","@babel/preset-env":"^7.8.4","@babel/preset-react":"^7.8.3","@babel/preset-typescript":"^7.8.3","@typescript-eslint/eslint-plugin":"^2.10.0","@typescript-eslint/parser":"^2.10.0","eslint":"^6.7.2","eslint-config-mm":"git+https://github.com/FTBpro/eslint-config-mm.git#v3.1","eslint-loader":"3.0.2","identity-obj-proxy":"^3.0.0","jest":"^24.9.0","jest-emotion":"^10.0.32","jest-preset-preact":"^1.0.0","per-env":"^1.0.2","preact-cli":"^3.0.0-rc.6","react":"^16.13.1","react-dom":"^16.13.1","serve":"^11.1.0"},"dependencies":{"@emotion/core":"^10.0.28","axios":"^0.19.2","babel-loader":"^8.0.6","detect-browser":"^5.1.0","emotion":"^10.0.27","enzyme":"^3.11.0","enzyme-adapter-preact-pure":"^2.2.0","hls.js":"^0.13.2","intersection-observer":"^0.8.0","jest-enzyme":"^7.1.2","jest-junit":"^10.0.0","preact":"^10.0.1","preact-render-to-string":"^5.1.8","react-redux":"^7.2.0","react-svg-loader":"^3.0.3","redux":"^4.0.5","redux-thunk":"^2.3.0","terser-webpack-plugin":"1.2.3","webpack":"^4.41.6","webpack-cli":"^3.3.11"}}')},function(e,t,n){"use strict";var r=n(6),i=n(21),o=n(53),a=n(27);function s(e){var t=new o(e),n=i(o.prototype.request,t);return r.extend(n,o.prototype,t),r.extend(n,t),n}var u=s(n(24));u.Axios=o,u.create=function(e){return s(a(u.defaults,e))},u.Cancel=n(28),u.CancelToken=n(66),u.isCancel=n(23),u.all=function(e){return Promise.all(e)},u.spread=n(67),e.exports=u,e.exports.default=u},function(e,t,n){"use strict";var r=n(6),i=n(22),o=n(54),a=n(55),s=n(27);function u(e){this.defaults=e,this.interceptors={request:new o,response:new o}}u.prototype.request=function(e){"string"===typeof e?(e=arguments[1]||{}).url=arguments[0]:e=e||{},(e=s(this.defaults,e)).method?e.method=e.method.toLowerCase():this.defaults.method?e.method=this.defaults.method.toLowerCase():e.method="get";var t=[a,void 0],n=Promise.resolve(e);for(this.interceptors.request.forEach(function(e){t.unshift(e.fulfilled,e.rejected)}),this.interceptors.response.forEach(function(e){t.push(e.fulfilled,e.rejected)});t.length;)n=n.then(t.shift(),t.shift());return n},u.prototype.getUri=function(e){return e=s(this.defaults,e),i(e.url,e.params,e.paramsSerializer).replace(/^\?/,"")},r.forEach(["delete","get","head","options"],function(e){u.prototype[e]=function(t,n){return this.request(r.merge(n||{},{method:e,url:t}))}}),r.forEach(["post","put","patch"],function(e){u.prototype[e]=function(t,n,i){return this.request(r.merge(i||{},{method:e,url:t,data:n}))}}),e.exports=u},function(e,t,n){"use strict";var r=n(6);function i(){this.handlers=[]}i.prototype.use=function(e,t){return this.handlers.push({fulfilled:e,rejected:t}),this.handlers.length-1},i.prototype.eject=function(e){this.handlers[e]&&(this.handlers[e]=null)},i.prototype.forEach=function(e){r.forEach(this.handlers,function(t){null!==t&&e(t)})},e.exports=i},function(e,t,n){"use strict";var r=n(6),i=n(56),o=n(23),a=n(24);function s(e){e.cancelToken&&e.cancelToken.throwIfRequested()}e.exports=function(e){return s(e),e.headers=e.headers||{},e.data=i(e.data,e.headers,e.transformRequest),e.headers=r.merge(e.headers.common||{},e.headers[e.method]||{},e.headers),r.forEach(["delete","get","head","post","put","patch","common"],function(t){delete e.headers[t]}),(e.adapter||a.adapter)(e).then(function(t){return s(e),t.data=i(t.data,t.headers,e.transformResponse),t},function(t){return o(t)||(s(e),t&&t.response&&(t.response.data=i(t.response.data,t.response.headers,e.transformResponse))),Promise.reject(t)})}},function(e,t,n){"use strict";var r=n(6);e.exports=function(e,t,n){return r.forEach(n,function(n){e=n(e,t)}),e}},function(e,t,n){"use strict";var r=n(6);e.exports=function(e,t){r.forEach(e,function(n,r){r!==t&&r.toUpperCase()===t.toUpperCase()&&(e[t]=n,delete e[r])})}},function(e,t,n){"use strict";var r=n(26);e.exports=function(e,t,n){var i=n.config.validateStatus;!i||i(n.status)?e(n):t(r("Request failed with status code "+n.status,n.config,null,n.request,n))}},function(e,t,n){"use strict";e.exports=function(e,t,n,r,i){return e.config=t,n&&(e.code=n),e.request=r,e.response=i,e.isAxiosError=!0,e.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:this.config,code:this.code}},e}},function(e,t,n){"use strict";var r=n(61),i=n(62);e.exports=function(e,t){return e&&!r(t)?i(e,t):t}},function(e,t,n){"use strict";e.exports=function(e){return/^([a-z][a-z\d\+\-\.]*:)?\/\//i.test(e)}},function(e,t,n){"use strict";e.exports=function(e,t){return t?e.replace(/\/+$/,"")+"/"+t.replace(/^\/+/,""):e}},function(e,t,n){"use strict";var r=n(6),i=["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"];e.exports=function(e){var t,n,o,a={};return e?(r.forEach(e.split("\n"),function(e){if(o=e.indexOf(":"),t=r.trim(e.substr(0,o)).toLowerCase(),n=r.trim(e.substr(o+1)),t){if(a[t]&&i.indexOf(t)>=0)return;a[t]="set-cookie"===t?(a[t]?a[t]:[]).concat([n]):a[t]?a[t]+", "+n:n}}),a):a}},function(e,t,n){"use strict";var r=n(6);e.exports=r.isStandardBrowserEnv()?function(){var e,t=/(msie|trident)/i.test(navigator.userAgent),n=document.createElement("a");function i(e){var r=e;return t&&(n.setAttribute("href",r),r=n.href),n.setAttribute("href",r),{href:n.href,protocol:n.protocol?n.protocol.replace(/:$/,""):"",host:n.host,search:n.search?n.search.replace(/^\?/,""):"",hash:n.hash?n.hash.replace(/^#/,""):"",hostname:n.hostname,port:n.port,pathname:"/"===n.pathname.charAt(0)?n.pathname:"/"+n.pathname}}return e=i(window.location.href),function(t){var n=r.isString(t)?i(t):t;return n.protocol===e.protocol&&n.host===e.host}}():function(){return!0}},function(e,t,n){"use strict";var r=n(6);e.exports=r.isStandardBrowserEnv()?{write:function(e,t,n,i,o,a){var s=[];s.push(e+"="+encodeURIComponent(t)),r.isNumber(n)&&s.push("expires="+new Date(n).toGMTString()),r.isString(i)&&s.push("path="+i),r.isString(o)&&s.push("domain="+o),!0===a&&s.push("secure"),document.cookie=s.join("; ")},read:function(e){var 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(e,t,n){"use strict";var r=n(28);function i(e){if("function"!==typeof e)throw new TypeError("executor must be a function.");var t;this.promise=new Promise(function(e){t=e});var n=this;e(function(e){n.reason||(n.reason=new r(e),t(n.reason))})}i.prototype.throwIfRequested=function(){if(this.reason)throw this.reason},i.source=function(){var e;return{token:new i(function(t){e=t}),cancel:e}},e.exports=i},function(e,t,n){"use strict";e.exports=function(e){return function(t){return e.apply(null,t)}}},function(e,t,n){"use strict";n.r(t);var r={};n.r(r),n.d(r,"render",function(){return B}),n.d(r,"hydrate",function(){return H}),n.d(r,"createElement",function(){return b}),n.d(r,"h",function(){return b}),n.d(r,"Fragment",function(){return S}),n.d(r,"createRef",function(){return _}),n.d(r,"isValidElement",function(){return a}),n.d(r,"Component",function(){return E}),n.d(r,"cloneElement",function(){return q}),n.d(r,"createContext",function(){return W}),n.d(r,"toChildArray",function(){return R}),n.d(r,"__u",function(){return U}),n.d(r,"options",function(){return o});var i={};n.r(i),n.d(i,"useState",function(){return te}),n.d(i,"useReducer",function(){return ne}),n.d(i,"useEffect",function(){return re}),n.d(i,"useLayoutEffect",function(){return ie}),n.d(i,"useRef",function(){return oe}),n.d(i,"useImperativeHandle",function(){return ae}),n.d(i,"useMemo",function(){return se}),n.d(i,"useCallback",function(){return ue}),n.d(i,"useContext",function(){return ce}),n.d(i,"useDebugValue",function(){return le}),n.d(i,"useErrorBoundary",function(){return de});var o,a,s,u,c,l,d,p=n(0),f=n.n(p),h={},y=[],g=/acit|ex(?:s|g|n|p|$)|rph|grid|ows|mnc|ntw|ine[ch]|zoo|^ord|itera/i;function v(e,t){for(var n in t)e[n]=t[n];return e}function m(e){var t=e.parentNode;t&&t.removeChild(e)}function b(e,t,n){var r,i,o,a=arguments,s={};for(o in t)"key"==o?r=t[o]:"ref"==o?i=t[o]:s[o]=t[o];if(arguments.length>3)for(n=[n],o=3;o<arguments.length;o++)n.push(a[o]);if(null!=n&&(s.children=n),"function"==typeof e&&null!=e.defaultProps)for(o in e.defaultProps)void 0===s[o]&&(s[o]=e.defaultProps[o]);return O(e,s,r,i,null)}function O(e,t,n,r,i){var a={type:e,props:t,key:n,ref:r,__k:null,__:null,__b:0,__e:null,__d:void 0,__c:null,constructor:void 0,__v:i};return null==i&&(a.__v=a),null!=o.vnode&&o.vnode(a),a}function _(){return{current:null}}function S(e){return e.children}function E(e,t){this.props=e,this.context=t}function w(e,t){if(null==t)return e.__?w(e.__,e.__.__k.indexOf(e)+1):null;for(var n;t<e.__k.length;t++)if(null!=(n=e.__k[t])&&null!=n.__e)return n.__e;return"function"==typeof e.type?w(e):null}function P(e){var t,n;if(null!=(e=e.__)&&null!=e.__c){for(e.__e=e.__c.base=null,t=0;t<e.__k.length;t++)if(null!=(n=e.__k[t])&&null!=n.__e){e.__e=e.__c.base=n.__e;break}return P(e)}}function T(e){(!e.__d&&(e.__d=!0)&&s.push(e)&&!A.__r++||c!==o.debounceRendering)&&((c=o.debounceRendering)||u)(A)}function A(){for(var e;A.__r=s.length;)e=s.sort(function(e,t){return e.__v.__b-t.__v.__b}),s=[],e.some(function(e){var t,n,r,i,o,a,s;e.__d&&(a=(o=(t=e).__v).__e,(s=t.__P)&&(n=[],(r=v({},o)).__v=r,i=L(s,o,r,t.__n,void 0!==s.ownerSVGElement,null,n,null==a?w(o):a),x(n,o),i!=a&&P(o)))})}function C(e,t,n,r,i,o,a,s,u,c){var l,d,p,f,g,v,b,_=r&&r.__k||y,E=_.length;for(u==h&&(u=null!=a?a[0]:E?w(r,0):null),n.__k=[],l=0;l<t.length;l++)if(null!=(f=n.__k[l]=null==(f=t[l])||"boolean"==typeof f?null:"string"==typeof f||"number"==typeof f?O(null,f,null,null,f):Array.isArray(f)?O(S,{children:f},null,null,null):null!=f.__e||null!=f.__c?O(f.type,f.props,f.key,null,f.__v):f)){if(f.__=n,f.__b=n.__b+1,null===(p=_[l])||p&&f.key==p.key&&f.type===p.type)_[l]=void 0;else for(d=0;d<E;d++){if((p=_[d])&&f.key==p.key&&f.type===p.type){_[d]=void 0;break}p=null}g=L(e,f,p=p||h,i,o,a,s,u,c),(d=f.ref)&&p.ref!=d&&(b||(b=[]),p.ref&&b.push(p.ref,null,f),b.push(d,f.__c||g,f)),null!=g?(null==v&&(v=g),u=D(e,f,p,_,a,g,u),c||"option"!=n.type?"function"==typeof n.type&&(n.__d=u):e.value=""):u&&p.__e==u&&u.parentNode!=e&&(u=w(p))}if(n.__e=v,null!=a&&"function"!=typeof n.type)for(l=a.length;l--;)null!=a[l]&&m(a[l]);for(l=E;l--;)null!=_[l]&&U(_[l],_[l]);if(b)for(l=0;l<b.length;l++)j(b[l],b[++l],b[++l])}function R(e,t){return t=t||[],null==e||"boolean"==typeof e||(Array.isArray(e)?e.some(function(e){R(e,t)}):t.push(e)),t}function D(e,t,n,r,i,o,a){var s,u,c;if(void 0!==t.__d)s=t.__d,t.__d=void 0;else if(i==n||o!=a||null==o.parentNode)e:if(null==a||a.parentNode!==e)e.appendChild(o),s=null;else{for(u=a,c=0;(u=u.nextSibling)&&c<r.length;c+=2)if(u==o)break e;e.insertBefore(o,a),s=a}return void 0!==s?s:o.nextSibling}function M(e,t,n){"-"===t[0]?e.setProperty(t,n):e[t]=null==n?"":"number"!=typeof n||g.test(t)?n:n+"px"}function I(e,t,n,r,i){var o,a;if(i&&"className"==t&&(t="class"),"style"===t)if("string"==typeof n)e.style=n;else{if("string"==typeof r&&(e.style=r=""),r)for(t in r)n&&t in n||M(e.style,t,"");if(n)for(t in n)r&&n[t]===r[t]||M(e.style,t,n[t])}else"o"===t[0]&&"n"===t[1]?(o=t!==(t=t.replace(/Capture$/,"")),(a=t.toLowerCase())in e&&(t=a),t=t.slice(2),e.l||(e.l={}),e.l[t]=n,n?r||e.addEventListener(t,k,o):e.removeEventListener(t,k,o)):"list"!==t&&"tagName"!==t&&"form"!==t&&"type"!==t&&"size"!==t&&"download"!==t&&"href"!==t&&!i&&t in e?e[t]=null==n?"":n:"function"!=typeof n&&"dangerouslySetInnerHTML"!==t&&(t!==(t=t.replace(/xlink:?/,""))?null==n||!1===n?e.removeAttributeNS("http://www.w3.org/1999/xlink",t.toLowerCase()):e.setAttributeNS("http://www.w3.org/1999/xlink",t.toLowerCase(),n):null==n||!1===n&&!/^ar/.test(t)?e.removeAttribute(t):e.setAttribute(t,n))}function k(e){this.l[e.type](o.event?o.event(e):e)}function N(e,t,n){var r,i;for(r=0;r<e.__k.length;r++)(i=e.__k[r])&&(i.__=e,i.__e&&("function"==typeof i.type&&i.__k.length>1&&N(i,t,n),t=D(n,i,i,e.__k,null,i.__e,t),"function"==typeof e.type&&(e.__d=t)))}function L(e,t,n,r,i,a,s,u,c){var l,d,p,f,h,y,g,m,b,O,_,w=t.type;if(void 0!==t.constructor)return null;(l=o.__b)&&l(t);try{e:if("function"==typeof w){if(m=t.props,b=(l=w.contextType)&&r[l.__c],O=l?b?b.props.value:l.__:r,n.__c?g=(d=t.__c=n.__c).__=d.__E:("prototype"in w&&w.prototype.render?t.__c=d=new w(m,O):(t.__c=d=new E(m,O),d.constructor=w,d.render=F),b&&b.sub(d),d.props=m,d.state||(d.state={}),d.context=O,d.__n=r,p=d.__d=!0,d.__h=[]),null==d.__s&&(d.__s=d.state),null!=w.getDerivedStateFromProps&&(d.__s==d.state&&(d.__s=v({},d.__s)),v(d.__s,w.getDerivedStateFromProps(m,d.__s))),f=d.props,h=d.state,p)null==w.getDerivedStateFromProps&&null!=d.componentWillMount&&d.componentWillMount(),null!=d.componentDidMount&&d.__h.push(d.componentDidMount);else{if(null==w.getDerivedStateFromProps&&m!==f&&null!=d.componentWillReceiveProps&&d.componentWillReceiveProps(m,O),!d.__e&&null!=d.shouldComponentUpdate&&!1===d.shouldComponentUpdate(m,d.__s,O)||t.__v===n.__v){d.props=m,d.state=d.__s,t.__v!==n.__v&&(d.__d=!1),d.__v=t,t.__e=n.__e,t.__k=n.__k,d.__h.length&&s.push(d),N(t,u,e);break e}null!=d.componentWillUpdate&&d.componentWillUpdate(m,d.__s,O),null!=d.componentDidUpdate&&d.__h.push(function(){d.componentDidUpdate(f,h,y)})}d.context=O,d.props=m,d.state=d.__s,(l=o.__r)&&l(t),d.__d=!1,d.__v=t,d.__P=e,l=d.render(d.props,d.state,d.context),d.state=d.__s,null!=d.getChildContext&&(r=v(v({},r),d.getChildContext())),p||null==d.getSnapshotBeforeUpdate||(y=d.getSnapshotBeforeUpdate(f,h)),_=null!=l&&l.type==S&&null==l.key?l.props.children:l,C(e,Array.isArray(_)?_:[_],t,n,r,i,a,s,u,c),d.base=t.__e,d.__h.length&&s.push(d),g&&(d.__E=d.__=null),d.__e=!1}else null==a&&t.__v===n.__v?(t.__k=n.__k,t.__e=n.__e):t.__e=V(n.__e,t,n,r,i,a,s,c);(l=o.diffed)&&l(t)}catch(e){t.__v=null,o.__e(e,t,n)}return t.__e}function x(e,t){o.__c&&o.__c(t,e),e.some(function(t){try{e=t.__h,t.__h=[],e.some(function(e){e.call(t)})}catch(e){o.__e(e,t.__v)}})}function V(e,t,n,r,i,o,a,s){var u,c,l,d,p,f=n.props,g=t.props;if(i="svg"===t.type||i,null!=o)for(u=0;u<o.length;u++)if(null!=(c=o[u])&&((null===t.type?3===c.nodeType:c.localName===t.type)||e==c)){e=c,o[u]=null;break}if(null==e){if(null===t.type)return document.createTextNode(g);e=i?document.createElementNS("http://www.w3.org/2000/svg",t.type):document.createElement(t.type,g.is&&{is:g.is}),o=null,s=!1}if(null===t.type)f!==g&&e.data!==g&&(e.data=g);else{if(null!=o&&(o=y.slice.call(e.childNodes)),l=(f=n.props||h).dangerouslySetInnerHTML,d=g.dangerouslySetInnerHTML,!s){if(null!=o)for(f={},p=0;p<e.attributes.length;p++)f[e.attributes[p].name]=e.attributes[p].value;(d||l)&&(d&&l&&d.__html==l.__html||(e.innerHTML=d&&d.__html||""))}(function(e,t,n,r,i){var o;for(o in n)"children"===o||"key"===o||o in t||I(e,o,null,n[o],r);for(o in t)i&&"function"!=typeof t[o]||"children"===o||"key"===o||"value"===o||"checked"===o||n[o]===t[o]||I(e,o,t[o],n[o],r)})(e,g,f,i,s),d?t.__k=[]:(u=t.props.children,C(e,Array.isArray(u)?u:[u],t,n,r,"foreignObject"!==t.type&&i,o,a,h,s)),s||("value"in g&&void 0!==(u=g.value)&&u!==e.value&&I(e,"value",u,f.value,!1),"checked"in g&&void 0!==(u=g.checked)&&u!==e.checked&&I(e,"checked",u,f.checked,!1))}return e}function j(e,t,n){try{"function"==typeof e?e(t):e.current=t}catch(e){o.__e(e,n)}}function U(e,t,n){var r,i,a;if(o.unmount&&o.unmount(e),(r=e.ref)&&(r.current&&r.current!==e.__e||j(r,null,t)),n||"function"==typeof e.type||(n=null!=(i=e.__e)),e.__e=e.__d=void 0,null!=(r=e.__c)){if(r.componentWillUnmount)try{r.componentWillUnmount()}catch(e){o.__e(e,t)}r.base=r.__P=null}if(r=e.__k)for(a=0;a<r.length;a++)r[a]&&U(r[a],t,n);null!=i&&m(i)}function F(e,t,n){return this.constructor(e,n)}function B(e,t,n){var r,i,a;o.__&&o.__(e,t),i=(r=n===l)?null:n&&n.__k||t.__k,e=b(S,null,[e]),a=[],L(t,(r?t:n||t).__k=e,i||h,h,void 0!==t.ownerSVGElement,n&&!r?[n]:i?null:t.childNodes.length?y.slice.call(t.childNodes):null,a,n||h,r),x(a,e)}function H(e,t){B(e,t,l)}function q(e,t,n){var r,i,o,a=arguments,s=v({},e.props);for(o in t)"key"==o?r=t[o]:"ref"==o?i=t[o]:s[o]=t[o];if(arguments.length>3)for(n=[n],o=3;o<arguments.length;o++)n.push(a[o]);return null!=n&&(s.children=n),O(e.type,s,r||e.key,i||e.ref,null)}function W(e,t){var n={__c:t="__cC"+d++,__:e,Consumer:function(e,t){return e.children(t)},Provider:function(e,n,r){return this.getChildContext||(n=[],(r={})[t]=this,this.getChildContext=function(){return r},this.shouldComponentUpdate=function(e){this.props.value!==e.value&&n.some(T)},this.sub=function(e){n.push(e);var t=e.componentWillUnmount;e.componentWillUnmount=function(){n.splice(n.indexOf(e),1),t&&t.call(e)}}),e.children}};return n.Provider.__=n.Consumer.contextType=n}o={__e:function(e,t){for(var n,r;t=t.__;)if((n=t.__c)&&!n.__)try{if(n.constructor&&null!=n.constructor.getDerivedStateFromError&&(r=!0,n.setState(n.constructor.getDerivedStateFromError(e))),null!=n.componentDidCatch&&(r=!0,n.componentDidCatch(e)),r)return T(n.__E=n)}catch(t){e=t}throw e}},a=function(e){return null!=e&&void 0===e.constructor},E.prototype.setState=function(e,t){var n;n=null!=this.__s&&this.__s!==this.state?this.__s:this.__s=v({},this.state),"function"==typeof e&&(e=e(v({},n),this.props)),e&&v(n,e),null!=e&&this.__v&&(t&&this.__h.push(t),T(this))},E.prototype.forceUpdate=function(e){this.__v&&(this.__e=!0,e&&this.__h.push(e),T(this))},E.prototype.render=S,s=[],u="function"==typeof Promise?Promise.prototype.then.bind(Promise.resolve()):setTimeout,A.__r=0,l=h,d=0;var z,G,$,K=0,Y=[],Z=o.__r,X=o.diffed,J=o.__c,Q=o.unmount;function ee(e,t){o.__h&&o.__h(G,e,K||t),K=0;var n=G.__H||(G.__H={__:[],__h:[]});return e>=n.__.length&&n.__.push({}),n.__[e]}function te(e){return K=1,ne(ve,e)}function ne(e,t,n){var r=ee(z++,2);return r.t=e,r.__c||(r.__c=G,r.__=[n?n(t):ve(void 0,t),function(e){var t=r.t(r.__[0],e);r.__[0]!==t&&(r.__=[t,r.__[1]],r.__c.setState({}))}]),r.__}function re(e,t){var n=ee(z++,3);!o.__s&&ge(n.__H,t)&&(n.__=e,n.__H=t,G.__H.__h.push(n))}function ie(e,t){var n=ee(z++,4);!o.__s&&ge(n.__H,t)&&(n.__=e,n.__H=t,G.__h.push(n))}function oe(e){return K=5,se(function(){return{current:e}},[])}function ae(e,t,n){K=6,ie(function(){"function"==typeof e?e(t()):e&&(e.current=t())},null==n?n:n.concat(e))}function se(e,t){var n=ee(z++,7);return ge(n.__H,t)?(n.__H=t,n.__h=e,n.__=e()):n.__}function ue(e,t){return K=8,se(function(){return e},t)}function ce(e){var t=G.context[e.__c],n=ee(z++,9);return n.__c=e,t?(null==n.__&&(n.__=!0,t.sub(G)),t.props.value):e.__}function le(e,t){o.useDebugValue&&o.useDebugValue(t?t(e):e)}function de(e){var t=ee(z++,10),n=te();return t.__=e,G.componentDidCatch||(G.componentDidCatch=function(e){t.__&&t.__(e),n[1](e)}),[n[0],function(){n[1](void 0)}]}function pe(){Y.some(function(e){if(e.__P)try{e.__H.__h.forEach(he),e.__H.__h.forEach(ye),e.__H.__h=[]}catch(t){return e.__H.__h=[],o.__e(t,e.__v),!0}}),Y=[]}o.__r=function(e){Z&&Z(e),z=0;var t=(G=e.__c).__H;t&&(t.__h.forEach(he),t.__h.forEach(ye),t.__h=[])},o.diffed=function(e){X&&X(e);var t=e.__c;t&&t.__H&&t.__H.__h.length&&(1!==Y.push(t)&&$===o.requestAnimationFrame||(($=o.requestAnimationFrame)||function(e){var t,n=function(){clearTimeout(r),fe&&cancelAnimationFrame(t),setTimeout(e)},r=setTimeout(n,100);fe&&(t=requestAnimationFrame(n))})(pe))},o.__c=function(e,t){t.some(function(e){try{e.__h.forEach(he),e.__h=e.__h.filter(function(e){return!e.__||ye(e)})}catch(n){t.some(function(e){e.__h&&(e.__h=[])}),t=[],o.__e(n,e.__v)}}),J&&J(e,t)},o.unmount=function(e){Q&&Q(e);var t=e.__c;if(t&&t.__H)try{t.__H.__.forEach(he)}catch(e){o.__e(e,t.__v)}};var fe="function"==typeof requestAnimationFrame;function he(e){"function"==typeof e.u&&e.u()}function ye(e){e.u=e.__()}function ge(e,t){return!e||t.some(function(t,n){return t!==e[n]})}function ve(e,t){return"function"==typeof t?t(e):t}function me(e,t){for(var n in t)e[n]=t[n];return e}function be(e,t){for(var n in e)if("__source"!==n&&!(n in t))return!0;for(var r in t)if("__source"!==r&&e[r]!==t[r])return!0;return!1}function Oe(e){this.props=e}(Oe.prototype=new E).isPureReactComponent=!0,Oe.prototype.shouldComponentUpdate=function(e,t){return be(this.props,e)||be(this.state,t)};var _e=o.__b;o.__b=function(e){e.type&&e.type.__f&&e.ref&&(e.props.ref=e.ref,e.ref=null),_e&&_e(e)};var Se="undefined"!=typeof Symbol&&Symbol.for&&Symbol.for("react.forward_ref")||3911;var Ee=function(e,t){return e?R(R(e).map(t)):null},we={map:Ee,forEach:Ee,count:function(e){return e?R(e).length:0},only:function(e){var t=R(e);if(1!==t.length)throw"Children.only";return t[0]},toArray:R},Pe=o.__e;function Te(e){return e&&((e=me({},e)).__c=null,e.__k=e.__k&&e.__k.map(Te)),e}function Ae(e){return e&&(e.__v=null,e.__k=e.__k&&e.__k.map(Ae)),e}function Ce(){this.__u=0,this.t=null,this.__b=null}function Re(e){var t=e.__.__c;return t&&t.o&&t.o(e)}function De(){this.u=null,this.i=null}o.__e=function(e,t,n){if(e.then)for(var r,i=t;i=i.__;)if((r=i.__c)&&r.__c)return null==t.__e&&(t.__e=n.__e,t.__k=n.__k),r.__c(e,t.__c);Pe(e,t,n)},(Ce.prototype=new E).__c=function(e,t){var n=this;null==n.t&&(n.t=[]),n.t.push(t);var r=Re(n.__v),i=!1,o=function(){i||(i=!0,t.componentWillUnmount=t.__c,r?r(a):a())};t.__c=t.componentWillUnmount,t.componentWillUnmount=function(){o(),t.__c&&t.__c()};var a=function(){var e;if(!--n.__u)for(n.__v.__k[0]=Ae(n.state.o),n.setState({o:n.__b=null});e=n.t.pop();)e.forceUpdate()};n.__u++||n.setState({o:n.__b=n.__v.__k[0]}),e.then(o,o)},Ce.prototype.componentWillUnmount=function(){this.t=[]},Ce.prototype.render=function(e,t){return this.__b&&(this.__v.__k&&(this.__v.__k[0]=Te(this.__b)),this.__b=null),[b(S,null,t.o?null:e.children),t.o&&e.fallback]};var Me=function(e,t,n){if(++n[1]===n[0]&&e.i.delete(t),e.props.revealOrder&&("t"!==e.props.revealOrder[0]||!e.i.size))for(n=e.u;n;){for(;n.length>3;)n.pop()();if(n[1]<n[0])break;e.u=n=n[2]}};function Ie(e){return this.getChildContext=function(){return e.context},e.children}function ke(e){var t=this,n=e.l,r=b(Ie,{context:t.context},e.__v);t.componentWillUnmount=function(){var e=t.s.parentNode;e&&e.removeChild(t.s),U(t.v)},t.l&&t.l!==n&&(t.componentWillUnmount(),t.h=!1),e.__v?t.h?(n.__k=t.__k,B(r,n),t.__k=n.__k):(t.s=document.createTextNode(""),t.__k=n.__k,H("",n),n.appendChild(t.s),t.h=!0,t.l=n,B(r,n,t.s),n.__k=t.__k,t.__k=t.s.__k):t.h&&t.componentWillUnmount(),t.v=r}(De.prototype=new E).o=function(e){var t=this,n=Re(t.__v),r=t.i.get(e);return r[0]++,function(i){var o=function(){t.props.revealOrder?(r.push(i),Me(t,e,r)):i()};n?n(o):o()}},De.prototype.render=function(e){this.u=null,this.i=new Map;var t=R(e.children);e.revealOrder&&"b"===e.revealOrder[0]&&t.reverse();for(var n=t.length;n--;)this.i.set(t[n],this.u=[1,0,this.u]);return e.children},De.prototype.componentDidUpdate=De.prototype.componentDidMount=function(){var e=this;this.i.forEach(function(t,n){Me(e,n,t)})};var Ne=/^(?:accent|alignment|arabic|baseline|cap|clip(?!PathU)|color|fill|flood|font|glyph(?!R)|horiz|marker(?!H|W|U)|overline|paint|stop|strikethrough|stroke|text(?!L)|underline|unicode|units|v|vector|vert|word|writing|x(?!C))[A-Z]/;E.prototype.isReactComponent={};var Le="undefined"!=typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103;var xe=o.event;function Ve(e,t){e["UNSAFE_"+t]&&!e[t]&&Object.defineProperty(e,t,{get:function(){return this["UNSAFE_"+t]},set:function(e){this["UNSAFE_"+t]=e}})}o.event=function(e){xe&&(e=xe(e)),e.persist=function(){};var t=!1,n=!1,r=e.stopPropagation;e.stopPropagation=function(){r.call(e),t=!0};var i=e.preventDefault;return e.preventDefault=function(){i.call(e),n=!0},e.isPropagationStopped=function(){return t},e.isDefaultPrevented=function(){return n},e.nativeEvent=e};var je,Ue={configurable:!0,get:function(){return this.class}},Fe=o.vnode;o.vnode=function(e){e.$$typeof=Le;var t=e.type,n=e.props;if(t){var r;if(n.class!=n.className&&(Ue.enumerable="className"in n,null!=n.className&&(n.class=n.className),Object.defineProperty(n,"className",Ue)),"function"!=typeof t)for(r in n.defaultValue&&void 0!==n.value&&(n.value||0===n.value||(n.value=n.defaultValue),n.defaultValue=void 0),"select"===t&&n.multiple&&Array.isArray(n.value)&&(R(n.children).forEach(function(e){-1!=n.value.indexOf(e.props.value)&&(e.props.selected=!0)}),n.value=void 0),!0===n.download&&(n.download=""),n){var i=Ne.test(r);i&&(e.props[r.replace(/[A-Z0-9]/,"-$&").toLowerCase()]=n[r]),(i||null===n[r])&&(n[r]=void 0)}else t.prototype&&!t.prototype.p&&(t.prototype.p=!0,Ve(t.prototype,"componentWillMount"),Ve(t.prototype,"componentWillReceiveProps"),Ve(t.prototype,"componentWillUpdate"));!function(t){var n=e.type,r=e.props;if(r&&"string"==typeof n){var i={};for(var o in r)/^on(Ani|Tra|Tou)/.test(o)&&(r[o.toLowerCase()]=r[o],delete r[o]),i[o.toLowerCase()]=o;if(i.ondoubleclick&&(r.ondblclick=r[i.ondoubleclick],delete r[i.ondoubleclick]),i.onbeforeinput&&(r.onbeforeinput=r[i.onbeforeinput],delete r[i.onbeforeinput]),i.onchange&&("textarea"===n||"input"===n.toLowerCase()&&!/^fil|che|ra/i.test(r.type))){var a=i.oninput||"oninput";r[a]||(r[a]=r[i.onchange],delete r[i.onchange])}}}()}Fe&&Fe(e)};var Be=o.__r;o.__r=function(e){Be&&Be(e),je=e.__c};function He(e){return!!e&&e.$$typeof===Le}var qe=function(e,t){return e(t)},We={useState:te,useReducer:ne,useEffect:re,useLayoutEffect:ie,useRef:oe,useImperativeHandle:ae,useMemo:se,useCallback:ue,useContext:ce,useDebugValue:le,version:"16.8.0",Children:we,render:function(e,t,n){if(null==t.__k)for(;t.firstChild;)t.removeChild(t.firstChild);return B(e,t),"function"==typeof n&&n(),e?e.__c:null},hydrate:function(e,t,n){return H(e,t),"function"==typeof n&&n(),e?e.__c:null},unmountComponentAtNode:function(e){return!!e.__k&&(B(null,e),!0)},createPortal:function(e,t){return b(ke,{__v:e,l:t})},createElement:b,createContext:W,createFactory:function(e){return b.bind(null,e)},cloneElement:function(e){return He(e)?q.apply(null,arguments):e},createRef:_,Fragment:S,isValidElement:He,findDOMNode:function(e){return e&&(e.base||1===e.nodeType&&e)||null},Component:E,PureComponent:Oe,memo:function(e,t){function n(e){var n=this.props.ref,r=n==e.ref;return!r&&n&&(n.call?n(null):n.current=null),t?!t(this.props,e)||!r:be(this.props,e)}function r(t){return this.shouldComponentUpdate=n,b(e,t)}return r.displayName="Memo("+(e.displayName||e.name)+")",r.prototype.isReactComponent=!0,r.__f=!0,r},forwardRef:function(e){function t(t,n){var r=me({},t);return delete r.ref,e(r,(n=t.ref||n)&&("object"!=typeof n||"current"in n)?n:null)}return t.$$typeof=Se,t.render=t,t.prototype.isReactComponent=t.__f=!0,t.displayName="ForwardRef("+(e.displayName||e.name)+")",t},unstable_batchedUpdates:qe,StrictMode:S,Suspense:Ce,SuspenseList:De,lazy:function(e){var t,n,r;function i(i){if(t||(t=e()).then(function(e){n=e.default||e},function(e){r=e}),r)throw r;if(!n)throw t;return b(n,i)}return i.displayName="Lazy",i.__f=!0,i},__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED:{ReactCurrentDispatcher:{current:{readContext:function(e){return je.__n[e.__c].props.value}}}}},ze=(n(33),We.createContext(null));var Ge=function(e){e()},$e=function(){return Ge},Ke={notify:function(){}};var Ye=function(){function e(e,t){this.store=e,this.parentSub=t,this.unsubscribe=null,this.listeners=Ke,this.handleChangeWrapper=this.handleChangeWrapper.bind(this)}var t=e.prototype;return t.addNestedSub=function(e){return this.trySubscribe(),this.listeners.subscribe(e)},t.notifyNestedSubs=function(){this.listeners.notify()},t.handleChangeWrapper=function(){this.onStateChange&&this.onStateChange()},t.isSubscribed=function(){return Boolean(this.unsubscribe)},t.trySubscribe=function(){this.unsubscribe||(this.unsubscribe=this.parentSub?this.parentSub.addNestedSub(this.handleChangeWrapper):this.store.subscribe(this.handleChangeWrapper),this.listeners=function(){var e=$e(),t=null,n=null;return{clear:function(){t=null,n=null},notify:function(){e(function(){for(var e=t;e;)e.callback(),e=e.next})},get:function(){for(var e=[],n=t;n;)e.push(n),n=n.next;return e},subscribe:function(e){var r=!0,i=n={callback:e,next:null,prev:n};return i.prev?i.prev.next=i:t=i,function(){r&&null!==t&&(r=!1,i.next?i.next.prev=i.prev:n=i.prev,i.prev?i.prev.next=i.next:t=i.next)}}}}())},t.tryUnsubscribe=function(){this.unsubscribe&&(this.unsubscribe(),this.unsubscribe=null,this.listeners.clear(),this.listeners=Ke)},e}();var Ze=function(e){var t=e.store,n=e.context,r=e.children,i=se(function(){var e=new Ye(t);return e.onStateChange=e.notifyNestedSubs,{store:t,subscription:e}},[t]),o=se(function(){return t.getState()},[t]);re(function(){var e=i.subscription;return e.trySubscribe(),o!==t.getState()&&e.notifyNestedSubs(),function(){e.tryUnsubscribe(),e.onStateChange=null}},[i,o]);var a=n||ze;return We.createElement(a.Provider,{value:i},r)};function Xe(){return(Xe=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}function Je(e,t){if(null==e)return{};var n,r,i={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||(i[n]=e[n]);return i}var Qe=n(15),et=n.n(Qe),tt=n(14),nt="undefined"!==typeof window&&"undefined"!==typeof window.document&&"undefined"!==typeof window.document.createElement?ie:re,rt=[],it=[null,null];function ot(e,t){var n=e[1];return[t.payload,n+1]}function at(e,t,n){nt(function(){return e.apply(void 0,t)},n)}function st(e,t,n,r,i,o,a){e.current=r,t.current=i,n.current=!1,o.current&&(o.current=null,a())}function ut(e,t,n,r,i,o,a,s,u,c){if(e){var l=!1,d=null,p=function(){if(!l){var e,n,p=t.getState();try{e=r(p,i.current)}catch(f){n=f,d=f}n||(d=null),e===o.current?a.current||u():(o.current=e,s.current=e,a.current=!0,c({type:"STORE_UPDATED",payload:{error:n}}))}};n.onStateChange=p,n.trySubscribe(),p();return function(){if(l=!0,n.tryUnsubscribe(),n.onStateChange=null,d)throw d}}}var ct=function(){return[null,0]};function lt(e,t){void 0===t&&(t={});var n=t,r=n.getDisplayName,i=void 0===r?function(e){return"ConnectAdvanced("+e+")"}:r,o=n.methodName,a=void 0===o?"connectAdvanced":o,s=n.renderCountProp,u=void 0===s?void 0:s,c=n.shouldHandleStateChanges,l=void 0===c||c,d=n.storeKey,p=void 0===d?"store":d,f=(n.withRef,n.forwardRef),h=void 0!==f&&f,y=n.context,g=void 0===y?ze:y,v=Je(n,["getDisplayName","methodName","renderCountProp","shouldHandleStateChanges","storeKey","withRef","forwardRef","context"]),m=g;return function(t){var n=t.displayName||t.name||"Component",r=i(n),o=Xe({},v,{getDisplayName:i,methodName:a,renderCountProp:u,shouldHandleStateChanges:l,storeKey:p,displayName:r,wrappedComponentName:n,WrappedComponent:t}),s=v.pure;var c=s?se:function(e){return e()};function d(n){var r=se(function(){var e=n.reactReduxForwardedRef,t=Je(n,["reactReduxForwardedRef"]);return[n.context,e,t]},[n]),i=r[0],a=r[1],s=r[2],u=se(function(){return i&&i.Consumer&&Object(tt.isContextConsumer)(We.createElement(i.Consumer,null))?i:m},[i,m]),d=ce(u),p=Boolean(n.store)&&Boolean(n.store.getState)&&Boolean(n.store.dispatch);Boolean(d)&&Boolean(d.store);var f=p?n.store:d.store,h=se(function(){return function(t){return e(t.dispatch,o)}(f)},[f]),y=se(function(){if(!l)return it;var e=new Ye(f,p?null:d.subscription),t=e.notifyNestedSubs.bind(e);return[e,t]},[f,p,d]),g=y[0],v=y[1],b=se(function(){return p?d:Xe({},d,{subscription:g})},[p,d,g]),O=ne(ot,rt,ct),_=O[0][0],S=O[1];if(_&&_.error)throw _.error;var E=oe(),w=oe(s),P=oe(),T=oe(!1),A=c(function(){return P.current&&s===w.current?P.current:h(f.getState(),s)},[f,_,s]);at(st,[w,E,T,s,A,P,v]),at(ut,[l,f,g,h,w,E,T,P,v,S],[f,g,h]);var C=se(function(){return We.createElement(t,Xe({},A,{ref:a}))},[a,t,A]);return se(function(){return l?We.createElement(u.Provider,{value:b},C):C},[u,C,b])}var f=s?We.memo(d):d;if(f.WrappedComponent=t,f.displayName=r,h){var y=We.forwardRef(function(e,t){return We.createElement(f,Xe({},e,{reactReduxForwardedRef:t}))});return y.displayName=r,y.WrappedComponent=t,et()(y,t)}return et()(f,t)}}function dt(e,t){return e===t?0!==e||0!==t||1/e===1/t:e!==e&&t!==t}function pt(e,t){if(dt(e,t))return!0;if("object"!==typeof e||null===e||"object"!==typeof t||null===t)return!1;var n=Object.keys(e),r=Object.keys(t);if(n.length!==r.length)return!1;for(var i=0;i<n.length;i++)if(!Object.prototype.hasOwnProperty.call(t,n[i])||!dt(e[n[i]],t[n[i]]))return!1;return!0}var ft=n(16),ht=function(){return Math.random().toString(36).substring(7).split("").join(".")},yt={INIT:"@@redux/INIT"+ht(),REPLACE:"@@redux/REPLACE"+ht(),PROBE_UNKNOWN_ACTION:function(){return"@@redux/PROBE_UNKNOWN_ACTION"+ht()}};function gt(e){if("object"!==typeof e||null===e)return!1;for(var t=e;null!==Object.getPrototypeOf(t);)t=Object.getPrototypeOf(t);return Object.getPrototypeOf(e)===t}function vt(e,t,n){var r;if("function"===typeof t&&"function"===typeof n||"function"===typeof n&&"function"===typeof arguments[3])throw new Error("It looks like you are passing several store enhancers to createStore(). This is not supported. Instead, compose them together to a single function.");if("function"===typeof t&&"undefined"===typeof n&&(n=t,t=void 0),"undefined"!==typeof n){if("function"!==typeof n)throw new Error("Expected the enhancer to be a function.");return n(vt)(e,t)}if("function"!==typeof e)throw new Error("Expected the reducer to be a function.");var i=e,o=t,a=[],s=a,u=!1;function c(){s===a&&(s=a.slice())}function l(){if(u)throw new Error("You may not call store.getState() while the reducer is executing. The reducer has already received the state as an argument. Pass it down from the top reducer instead of reading it from the store.");return o}function d(e){if("function"!==typeof e)throw new Error("Expected the listener to be a function.");if(u)throw new Error("You may not call store.subscribe() while the reducer is executing. If you would like to be notified after the store has been updated, subscribe from a component and invoke store.getState() in the callback to access the latest state. See https://redux.js.org/api-reference/store#subscribelistener for more details.");var t=!0;return c(),s.push(e),function(){if(t){if(u)throw new Error("You may not unsubscribe from a store listener while the reducer is executing. See https://redux.js.org/api-reference/store#subscribelistener for more details.");t=!1,c();var n=s.indexOf(e);s.splice(n,1),a=null}}}function p(e){if(!gt(e))throw new Error("Actions must be plain objects. Use custom middleware for async actions.");if("undefined"===typeof e.type)throw new Error('Actions may not have an undefined "type" property. Have you misspelled a constant?');if(u)throw new Error("Reducers may not dispatch actions.");try{u=!0,o=i(o,e)}finally{u=!1}for(var t=a=s,n=0;n<t.length;n++){(0,t[n])()}return e}return p({type:yt.INIT}),(r={dispatch:p,subscribe:d,getState:l,replaceReducer:function(e){if("function"!==typeof e)throw new Error("Expected the nextReducer to be a function.");i=e,p({type:yt.REPLACE})}})[ft.a]=function(){var e,t=d;return(e={subscribe:function(e){if("object"!==typeof e||null===e)throw new TypeError("Expected the observer to be an object.");function n(){e.next&&e.next(l())}return n(),{unsubscribe:t(n)}}})[ft.a]=function(){return this},e},r}function mt(e,t){var n=t&&t.type;return"Given "+(n&&'action "'+String(n)+'"'||"an action")+', reducer "'+e+'" returned undefined. To ignore an action, you must explicitly return the previous state. If you want this reducer to hold no value, you can return null instead of undefined.'}function bt(e,t){return function(){return t(e.apply(this,arguments))}}function Ot(e,t){if("function"===typeof e)return bt(e,t);if("object"!==typeof e||null===e)throw new Error("bindActionCreators expected an object or a function, instead received "+(null===e?"null":typeof e)+'. Did you write "import ActionCreators from" instead of "import * as ActionCreators from"?');var n={};for(var r in e){var i=e[r];"function"===typeof i&&(n[r]=bt(i,t))}return n}function _t(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function St(e,t){var n=Object.keys(e);return Object.getOwnPropertySymbols&&n.push.apply(n,Object.getOwnPropertySymbols(e)),t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n}function Et(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return 0===t.length?function(e){return e}:1===t.length?t[0]:t.reduce(function(e,t){return function(){return e(t.apply(void 0,arguments))}})}function wt(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return function(e){return function(){var n=e.apply(void 0,arguments),r=function(){throw new Error("Dispatching while constructing your middleware is not allowed. Other middleware would not be applied to this dispatch.")},i={getState:n.getState,dispatch:function(){return r.apply(void 0,arguments)}},o=t.map(function(e){return e(i)});return function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?St(n,!0).forEach(function(t){_t(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):St(n).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}({},n,{dispatch:r=Et.apply(void 0,o)(n.dispatch)})}}}function Pt(e){return function(t,n){var r=e(t,n);function i(){return r}return i.dependsOnOwnProps=!1,i}}function Tt(e){return null!==e.dependsOnOwnProps&&void 0!==e.dependsOnOwnProps?Boolean(e.dependsOnOwnProps):1!==e.length}function At(e,t){return function(t,n){n.displayName;var r=function(e,t){return r.dependsOnOwnProps?r.mapToProps(e,t):r.mapToProps(e)};return r.dependsOnOwnProps=!0,r.mapToProps=function(t,n){r.mapToProps=e,r.dependsOnOwnProps=Tt(e);var i=r(t,n);return"function"===typeof i&&(r.mapToProps=i,r.dependsOnOwnProps=Tt(i),i=r(t,n)),i},r}}var Ct=[function(e){return"function"===typeof e?At(e):void 0},function(e){return e?void 0:Pt(function(e){return{dispatch:e}})},function(e){return e&&"object"===typeof e?Pt(function(t){return Ot(e,t)}):void 0}];var Rt=[function(e){return"function"===typeof e?At(e):void 0},function(e){return e?void 0:Pt(function(){return{}})}];function Dt(e,t,n){return Xe({},n,{},e,{},t)}var Mt=[function(e){return"function"===typeof e?function(e){return function(t,n){n.displayName;var r,i=n.pure,o=n.areMergedPropsEqual,a=!1;return function(t,n,s){var u=e(t,n,s);return a?i&&o(u,r)||(r=u):(a=!0,r=u),r}}}(e):void 0},function(e){return e?void 0:function(){return Dt}}];function It(e,t,n,r){return function(i,o){return n(e(i,o),t(r,o),o)}}function kt(e,t,n,r,i){var o,a,s,u,c,l=i.areStatesEqual,d=i.areOwnPropsEqual,p=i.areStatePropsEqual,f=!1;function h(i,f){var h=!d(f,a),y=!l(i,o);return o=i,a=f,h&&y?(s=e(o,a),t.dependsOnOwnProps&&(u=t(r,a)),c=n(s,u,a)):h?(e.dependsOnOwnProps&&(s=e(o,a)),t.dependsOnOwnProps&&(u=t(r,a)),c=n(s,u,a)):y?function(){var t=e(o,a),r=!p(t,s);return s=t,r&&(c=n(s,u,a)),c}():c}return function(i,l){return f?h(i,l):(s=e(o=i,a=l),u=t(r,a),c=n(s,u,a),f=!0,c)}}function Nt(e,t){var n=t.initMapStateToProps,r=t.initMapDispatchToProps,i=t.initMergeProps,o=Je(t,["initMapStateToProps","initMapDispatchToProps","initMergeProps"]),a=n(e,o),s=r(e,o),u=i(e,o);return(o.pure?kt:It)(a,s,u,e,o)}function Lt(e,t,n){for(var r=t.length-1;r>=0;r--){var i=t[r](e);if(i)return i}return function(t,r){throw new Error("Invalid value of type "+typeof e+" for "+n+" argument when connecting component "+r.wrappedComponentName+".")}}function xt(e,t){return e===t}function Vt(e){var t=void 0===e?{}:e,n=t.connectHOC,r=void 0===n?lt:n,i=t.mapStateToPropsFactories,o=void 0===i?Rt:i,a=t.mapDispatchToPropsFactories,s=void 0===a?Ct:a,u=t.mergePropsFactories,c=void 0===u?Mt:u,l=t.selectorFactory,d=void 0===l?Nt:l;return function(e,t,n,i){void 0===i&&(i={});var a=i,u=a.pure,l=void 0===u||u,p=a.areStatesEqual,f=void 0===p?xt:p,h=a.areOwnPropsEqual,y=void 0===h?pt:h,g=a.areStatePropsEqual,v=void 0===g?pt:g,m=a.areMergedPropsEqual,b=void 0===m?pt:m,O=Je(a,["pure","areStatesEqual","areOwnPropsEqual","areStatePropsEqual","areMergedPropsEqual"]),_=Lt(e,o,"mapStateToProps"),S=Lt(t,s,"mapDispatchToProps"),E=Lt(n,c,"mergeProps");return r(d,Xe({methodName:"connect",getDisplayName:function(e){return"Connect("+e+")"},shouldHandleStateChanges:Boolean(e),initMapStateToProps:_,initMapDispatchToProps:S,initMergeProps:E,pure:l,areStatesEqual:f,areOwnPropsEqual:y,areStatePropsEqual:v,areMergedPropsEqual:b},O))}}var jt=Vt();Ge=qe;var Ut={BORDER_RADIUS:{EXTRA_TINY:"1px",TINY:"2px",SMALL:"3px",MEDIUM:"4px"},COLORS:{BLACK:"#000000",WHITE:"#ffffff",TRANSPARENT:"transparent",GRADIENT_BLACK:"linear-gradient(to bottom, rgba(0, 0, 0, 0.63), rgba(0, 0, 0, 0.62) 19%, rgba(0, 0, 0, 0))",LIGHT_GRAY_TRANSPARENT:"rgba(255, 255, 255, 0.23)",GRAY_TRANSPARENT:"rgba(143, 143, 143, 0.46)",BLACK_TRANSPARENT:"rgba(0, 0, 0, 0.7)",BLACK_80_OPACITY:"rgba(0, 0, 0, 0.8)",BLUR_TRANSPARENT:"rgba(0, 0, 0, 0.48)",GRAY:"rgba(0, 0, 0, 0.35)",SELECTED:"rgba(255, 255, 255, 0.1)",SCROLL_BAR:"rgba(255, 255, 255, 0.64)",TRANSPARENT_30_OPACITY:"rgba(0, 0, 0, 0.31)"},TEXT_FONT_FAMILY:{LATO:"Lato"},FONT_SIZE:{EXTRA_TINY:"8px",TINY:"10px",EXTRA_SMALL:"12px",SMALL:"14px",MEDIUM:"18px"}},Ft="179px",Bt="269px",Ht="180px",qt="270px",Wt="300px",zt="301px",Gt="500px",$t="501px",Kt="800px",Yt="801px";function Zt(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}function Xt(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Zt(Object(n),!0).forEach(function(t){f()(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Zt(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}var Jt=function e(t){return t&&t.length>0?t.reduce(function(t,n){return n?Array.isArray(n)?Xt(Xt({},t),e(n)):Xt(Xt({},t),n):t},{}):null},Qt=function(e){return function(t){t({type:"[CORE] change video tag status",payload:e})}},en=function(e){return function(t){t({type:"[CORE] update video current fragment position",payload:e})}},tn=function(e){return function(t){t({type:"[CORE] update video current position",payload:e})}},nn=function(e){return function(t){t({type:"[CORE] update video current buffered time",payload:e})}},rn=function(e){return function(t){t({type:"[CORE] update video current duration",payload:e})}},on=function(e,t){return function(n){n({type:"[COMMON] set pending video status",payload:{pendingStatusObject:{type:e,value:t}}})}},an=function(e){return function(t){t({type:"[COMMON] set mute video",payload:e})}},sn=function(e){return function(t){t({type:"[COMMON] set volume",payload:e})}},un=function(e){return function(t){t({type:"[CORE] change loading player status",payload:e})}},cn=function(e){return function(t){t({type:"[COMMON] show black screen with loader",payload:e})}},ln=function(e){return function(t){t({type:"[CORE] set player size",payload:e})}},dn=function(e){return function(t){t({type:"[COMMON] set error message",payload:e})}},pn={mediaData:function(e){return e.mediaData},playerData:function(e){return e.playerData},dependenciesLoadingStatus:function(e){return e.dependenciesLoadingStatus},brandingData:function(e){return e.brandingData},anchorOptions:function(e){return e.anchorOptions},semanticOptions:function(e){return e.semanticOptions},monetization:function(e){return e.monetization},userInteraction:function(e){return e.userInteraction},splitView:function(e){return e.splitView},discovery:function(e){return e.discovery}},fn=pn.playerData,hn={playerId:function(e){return fn(e).playerId},videoTagStatus:function(e){return fn(e).videoTagStatus},pendingVideoTagStatus:function(e){return fn(e).pendingVideoTagStatus},currentVideoTime:function(e){return fn(e).currentVideoTime},currentVideoTimeFragment:function(e){return fn(e).currentVideoTimeFragment},currentVideoDuration:function(e){return fn(e).currentVideoDuration},currentVideoBufferedTime:function(e){return fn(e).currentVideoBufferedTime},playerMode:function(e){return fn(e).playerMode},playerSettings:function(e){return fn(e).playerSettings},playbackMethod:function(e){return fn(e).playbackMethod},playerVisibility:function(e){return fn(e).playerVisibility},playerPlaceholderVisibility:function(e){return fn(e).playerPlaceholderVisibility},playerInstanceUniqId:function(e){return fn(e).playerInstanceUniqId},showBlackScreen:function(e){return fn(e).loader.showBlackScreen},playerSize:function(e){return fn(e).playerSize},errorMessage:function(e){return fn(e).errorMessage},loadingPlayer:function(e){return fn(e).loadingPlayer}},yn=hn.playerSettings,gn={volume:function(e){return yn(e).volume},muted:function(e){return yn(e).muted},quality:function(e){return yn(e).quality},speed:function(e){return yn(e).speed},selectedSettingsCategory:function(e){return yn(e).selectedSettingsCategory},fullscreen:function(e){return yn(e).fullscreen},pendingFullscreenRequest:function(e){return this.fullscreen(e).pendingFullscreenRequest},isFullscreenOn:function(e){return this.fullscreen(e).isFullscreenOn}},vn=function(e){return"".concat("mplayer-monetization-placeholder","-").concat(e)},mn=function(e){return"".concat("mplayer-player-placeholder","-").concat(e)},bn=function(e){return"".concat("mplayer-player-container","-").concat(e)},On=function(e){return"".concat("mplayer-controls-placeholder","-").concat(e)},_n=function(e){return"".concat("mplayer-split-view-placeholder","-").concat(e)},Sn=function(e){return"".concat("mplayer-discovery-placeholder","-").concat(e)},En=function(e){return"".concat("mplayer-content-video","-").concat(e)},wn=function(e){return"".concat("mplayer","-").concat("error-page-message","-").concat(e)},Pn=function(e){return"".concat("mplayer","-").concat("loader","-").concat(e)},Tn=function(e){return"".concat("mplayer","-").concat("mplayer-close-bar-placeholder","-").concat(e)},An=pn.mediaData,Cn={mediaId:function(e){return An(e).mediaId},mediaType:function(e){return An(e).mediaType},videoList:function(e){return An(e).videoList},videoData:function(e){return An(e).videoData},activeVideoIndex:function(e){return An(e).activeVideoIndex},mediaRequest:function(e){return An(e).mediaRequest},mediaLoadingError:function(e){return An(e).mediaLoadingError}},Rn=Cn.videoData,Dn={creator:function(e){return Rn(e).creator},description:function(e){return Rn(e).description},duration:function(e){return Rn(e).duration},externalId:function(e){return Rn(e).externalId},index:function(e){return Rn(e).index},mediaId:function(e){return Rn(e).mediaId},provider:function(e){return Rn(e).provider},sources:function(e){return Rn(e).sources},tags:function(e){return Rn(e).tags},thumbnail:function(e){return Rn(e).thumbnail},title:function(e){return Rn(e).title},showTitle:function(e){return Rn(e).showTitle}},Mn=n(11),In=n.n(Mn);function kn(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[];return se(function(){return e.apply(void 0,In()(t))},[e,t])}var Nn={root:{height:"100%",left:0,display:"block",width:"100%"}},Ln=function(){return{playerStyle:[Nn.root]}},xn=n(30),Vn=Object(xn.a)(),jn=function(e){return"undefined"===typeof e},Un=function(e){return jn(e)||null===e||0===e.length},Fn=function(){return null!==navigator.userAgent.match(/(iPad)|(iPhone)|(iPod)|(android)|(webOS)/i)},Bn=function(){return"iOS"===Vn.os},Hn=function(e){return Math.floor(10*e)/10},qn=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"0";return parseInt(e,10)/1e3},Wn=function(e,t){return jn(e)||jn(t)?0:e>t?1:-1},zn=function(e,t){var n;return function(){for(var r=arguments.length,i=new Array(r),o=0;o<r;o++)i[o]=arguments[o];clearTimeout(n),n=setTimeout(function(){n=null,e(i)},t)}},Gn=function(e){var t=e.clientWidth*(9/16),n=e.clientHeight;return Math.abs(t-n)>2?t:n},$n=function(e){return function(e){return!e.dataLayer||Array.isArray(e.dataLayer)}(e)?"dataLayer":"mmVideoDataLayer"},Kn=function(e){var t=ue(e,arguments.length>1&&void 0!==arguments[1]?arguments[1]:[]);re(function(){t()},[t]),re(function(){var e=zn(t,150);return window.addEventListener("resize",e),function(){window.removeEventListener("resize",e)}},[t])},Yn=pn.splitView,Zn=function(e){return Yn(e).splitViewRatio},Xn={GENERAL_ERROR:"An error has occurred, please try again later",VIDEO_ERROR:"The video is currently unavailable"},Jn=jt(function(e,t){return{thumbnail:Dn.thumbnail(e),playerId:t.playerId,muted:gn.muted(e),volume:gn.volume(e),currentVideoTime:hn.currentVideoTime(e),playbackMethod:hn.playbackMethod(e),splitViewRatio:Zn(e),playerSize:hn.playerSize(e),isFullscreenOn:gn.isFullscreenOn(e),playerMode:hn.playerMode(e),speed:gn.speed(e)}},function(e){return Ot({updateVideoTagStatus:Qt,updateVideoTime:tn,updateVideoTimeFragment:en,changeLoadingPlayerStatus:un,showBlackScreenLoader:cn,updateVideoDuration:rn,updateMute:an,updateVolume:sn,updateCurrentVideoBufferedTime:nn,setPlayerSize:ln,onErrorMessage:dn},e)})(function(e){var t=e.thumbnail,n=e.playerId,r=e.updateVideoTagStatus,i=e.updateVideoTime,o=e.updateCurrentVideoBufferedTime,a=e.muted,s=e.volume,u=e.currentVideoTime,c=e.playbackMethod,l=e.changeLoadingPlayerStatus,d=e.showBlackScreenLoader,p=e.updateVideoDuration,f=e.updateMute,h=e.updateVolume,y=e.updateVideoTimeFragment,g=e.setPlayerSize,v=e.splitViewRatio,m=e.playerSize,O=e.isFullscreenOn,_=e.playerMode,S=e.onErrorMessage,E=e.speed,w=oe(null),P=!Un(v),T=kn(Ln,[]).playerStyle,A=document.getElementById(bn(n));re(function(){w.current.playbackRate=E},[E]),Kn(function(){if(!Un(A)){var e=function(e,t,n,r,i){var o=e.style.width;return n?"desktop"===r||"miniDesktop"===r||"stickyDesktop"===r?"extraLarge":"medium":"100%"===o?t:i&&o<=Bt?"extraSmall":i&&o>=qt&&o<=Wt?"small":o<=Ft?"extraSmall":o>=Ht&&o<=Wt?"small":o>=zt&&o<=Gt?"medium":o>=$t&&o<=Kt?"large":o>=Yt?"extraLarge":null}(A,m,O,_,P);Un(e)||g(e)}},[A,m,O,_,P,g]);var C="autoplay"===c?"":t;return b("video",{ref:w,style:Jt(T),key:En(n),id:En(n),onEnded:function(){r("complete")},onDurationChange:function(e){var t,n=e.target.duration;t=n,Number.isNaN(t)||"number"!==typeof t||p(n)},onTimeUpdate:function(e){var t=e.target.currentTime;y(t);var n=parseInt(t.toString(),10);n!==u&&i(n)},onVolumeChange:function(e){var t=e.target,n=t.volume,r=t.muted;n!==s&&h(n),a!==r&&f(r)},onPause:function(){r("paused")},onPlaying:function(){r("playing")},onError:function(){r("error"),S(Xn.VIDEO_ERROR)},onLoadStart:function(){l(!0),d(!0)},onCanPlayThrough:function(){l(!1),d(!1),S("")},onCanPlay:function(){l(!1),S("")},onWaiting:function(){l(!0)},onSeeking:function(){r("seeking")},onProgress:function(e){var t=e.target.buffered,n=t.length;n>0&&o(t.end(n-1))},volume:s,muted:a,poster:C,playsInline:!0,"webkit-playsinline":""},b("track",{kind:"captions"}))}),Qn=function(e){return function(t){t({type:"[CORE] update ima status",payload:e})}},er=function(e){return function(t){t({type:"[CORE] update hls status",payload:e})}},tr=function(){return{adBlockCheckerStyle:{backgroundColor:Ut.COLORS.TRANSPARENT,height:"1px",width:"1px"}}},nr=jt(null,function(e){return{onAdBlockDetected:function(){return Qn("blocked")(e)}}})(function(e){var t=oe(),n=kn(tr,[]).adBlockCheckerStyle;return re(function(){0!==t.current.clientHeight&&0!==t.current.clientWidth||(0,e.onAdBlockDetected)()},[e]),b("div",{ref:t},b("div",{class:"adBanner",style:n}))}),rr=n(10),ir=n.n(rr);n(20);var or={root:null,threshold:[0,.1,.2,.3,.4,.5,.6,.7,.8,.9,1],rootMargin:"0px"},ar=function(e){var t=e.id,n=e.updateContainerVisibility,r=e.shouldObserve,i=e.regularMode,o=e.stickyAnchorMode,a=e.children,s=e.style,u=e.isPlaceholder,c=e.splitViewRatio,l=e.className,d=oe(),p=te(null),f=ir()(p,2),h=f[0],y=f[1];return re(function(){null!==h&&h.observe(d.current)},[h]),re(function(){!function(e,t,n){e&&t(new IntersectionObserver(function(e){var t=e[0];n(t.intersectionRatio)},or))}(r,y,n)},[r,n]),Kn(function(){u?function(e,t){var n=e.parentElement.clientWidth;e.style.maxWidth="".concat(n,"px"),Un(t)?e.style.height="".concat(Gn(e),"px"):e.style.height="".concat(Gn(e)*(t/100),"px")}(d.current,c):function(e,t,n){t?(e.style.width="".concat(e.parentElement.clientWidth,"px"),e.style.height="".concat(e.parentElement.clientHeight,"px")):n&&(e.style.width="".concat(e.parentElement.clientWidth,"px"),e.style.height="".concat(e.parentElement.clientHeight+24,"px"))}(d.current,i,o)},[u,i,o]),b("div",{className:l,id:t,ref:d,style:s},a)};function sr(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}function ur(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?sr(Object(n),!0).forEach(function(t){f()(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):sr(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}var cr={display:"flex",flexDirection:"row"},lr=(ur(ur({},cr),{},{justifyContent:"flex-end"}),ur(ur({},cr),{},{justifyContent:"center"})),dr=ur(ur({},cr),{},{justifyContent:"space-between"}),pr=(ur(ur({},dr),{},{alignItems:"baseline"}),ur(ur({},lr),{},{alignItems:"center"})),fr=ur(ur({},cr),{},{justifyContent:"flex-start"}),hr=(ur(ur({},fr),{},{alignItems:"center"}),ur(ur({},fr),{},{alignItems:"flex-end",flexWrap:"wrap"}),{display:"flex",flexDirection:"column"}),yr=(ur(ur({},hr),{},{justifyContent:"flex-start"}),ur(ur({},hr),{},{justifyContent:"center"})),gr=(ur(ur({},hr),{},{justifyContent:"flex-end",alignItems:"center"}),ur(ur({},yr),{},{alignItems:"center"}));function vr(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}function mr(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?vr(Object(n),!0).forEach(function(t){f()(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):vr(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}var br=mr(mr({},hr),{},{position:"relative",background:Ut.COLORS.BLACK}),Or=pn.anchorOptions,_r=function(e){return Or(e).orientation},Sr=function(e){return Or(e).canClose},Er=function(e){return Or(e).anchorData},wr=function(e){return Er(e).anchorDisabledByUser},Pr=function(e){return Er(e).anchorStatus};function Tr(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}function Ar(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Tr(Object(n),!0).forEach(function(t){f()(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Tr(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}var Cr=jt(function(e){return{shouldObserve:"lazyplay"===hn.playbackMethod(e)||"autoplay_when_viewable"===hn.playbackMethod(e),regularMode:"inactive"===Pr(e)||!Un(Zn(e)),stickyAnchorMode:"sticky"===_r(e)&&"active"===Pr(e)&&Sr(e),style:Ar({},mr({},br)),isPlaceholder:!1}},function(e){return{updateContainerVisibility:function(t){return function(e){return function(t){t({type:"[CORE] update player visibility",payload:e})}}(t)(e)}}})(ar);function Rr(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}function Dr(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Rr(Object(n),!0).forEach(function(t){f()(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Rr(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}var Mr={width:"100%",clear:"both",margin:"16px 0"};function Ir(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}function kr(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Ir(Object(n),!0).forEach(function(t){f()(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Ir(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}var Nr=jt(function(e){return{shouldObserve:"sticky"!==_r(e),style:kr({},Dr({},Mr)),splitViewRatio:Zn(e),isPlaceholder:!0,className:"monti-placeholder-mm-player"}},function(e){return{updateContainerVisibility:function(t){return function(e){return function(t){t({type:"[CORE] update placeholder visibility",payload:e})}}(t)(e)}}})(ar),Lr=function(){return{monetizationStyle:{position:"absolute",width:"100%",top:"0",display:"none"}}},xr=function(e){var t=e.playerId,n=kn(Lr,[]).monetizationStyle,r=oe();return Kn(function(){console.log("the monetization parent element : ",r.current.parentElement),r.current.style.height="".concat(Gn(r.current.parentElement),"px")}),b("div",{id:vn(t),style:n,ref:r})};function Vr(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}function jr(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Vr(Object(n),!0).forEach(function(t){f()(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Vr(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}var Ur={position:"relative",color:Ut.COLORS.WHITE,fontFamily:Ut.TEXT_FONT_FAMILY.LATO,fontWeight:"bold",textAlign:"center",tiny:{fontSize:Ut.FONT_SIZE.EXTRA_TINY},big:{fontSize:Ut.FONT_SIZE.SMALL}},Fr={position:"relative",color:Ut.COLORS.WHITE,tiny:{height:"12px",width:"12px",marginBottom:"8px"},big:{height:"24px",width:"24px",marginBottom:"16px"}},Br=jr(jr({},gr),{},{width:"100%",height:"100%",position:"absolute",top:0,backdropFilter:"blur(3px)",webkitBackdropFilter:"blur(3px)",backgroundColor:Ut.COLORS.BLUR_TRANSPARENT}),Hr=function(e){var t="extraSmall"===e||"small"===e,n="medium"===e||"large"===e||"extraLarge"===e;return{errorMessageStyle:[Ur,t&&Ur.tiny,n&&Ur.big],iconStyle:[Fr,t&&Fr.tiny,n&&Fr.big],screenStyle:jr({},Br)}},qr=n(12),Wr=n.n(qr);function zr(){return(zr=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}function Gr(){return(Gr=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}function $r(){return($r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}var Kr={CLOSE_FILL:function(e){e.styles;var t=Wr()(e,["styles"]);return We.createElement("svg",Gr({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",width:"24",height:"24"},t),We.createElement("path",{fill:"none",d:"M0 0h24v24H0z"}),We.createElement("path",{d:"M12 10.586l4.95-4.95 1.414 1.414-4.95 4.95 4.95 4.95-1.414 1.414-4.95-4.95-4.95 4.95-1.414-1.414 4.95-4.95-4.95-4.95L7.05 5.636z",fill:"rgba(255,255,255,1)"}))},ERROR_WARNING_FILL:function(e){e.styles;var t=Wr()(e,["styles"]);return We.createElement("svg",zr({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",width:"24",height:"24"},t),We.createElement("path",{fill:"none",d:"M0 0h24v24H0z"}),We.createElement("path",{d:"M12 22C6.477 22 2 17.523 2 12S6.477 2 12 2s10 4.477 10 10-4.477 10-10 10zm-1-7v2h2v-2h-2zm0-8v6h2V7h-2z",fill:"rgba(255,255,255,1)"}))},PLAY_BLUR:function(e){e.styles;var t=Wr()(e,["styles"]);return We.createElement("svg",$r({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 60 60"},t),We.createElement("circle",{cx:"30",cy:"30",r:"30",fillRule:"evenodd",clipRule:"evenodd",fillOpacity:".35"}),We.createElement("path",{fill:"none",d:"M11 11h38v38H11z"}),We.createElement("path",{d:"M43.3 30.7L22.1 44.8c-.3.2-.7.2-1 0-.3-.2-.5-.5-.5-.9V15.8c0-.4.2-.7.5-.9.3-.2.7-.2 1 0L43.3 29c.3.2.4.5.4.8s-.2.7-.4.9z",fill:"currentColor"}))}},Yr=n(31),Zr=n.n(Yr);function Xr(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}function Jr(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Xr(Object(n),!0).forEach(function(t){f()(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Xr(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}var Qr=Ut.COLORS.WHITE,ei=function(e,t){var n=function(e){return{root:Jr(Jr({},cr),{},{alignItems:"center",width:"fit-content",height:"fit-content",outline:"none",color:e}),focused:{outline:"".concat(Ut.COLORS.WHITE," solid 1px")}}}(t||Qr);return{iconStyle:[n.root,e&&n.focused]}},ti=function(e){var t=e.icon,n=e.style,r=e.onClick,i=e.onMouseEnter,o=e.onMouseLeave,a=e.onKeyDown,s=e.id,u=e.color,c=e.clickable,l=void 0===c||c,d=e.focusable,p=void 0===d||d,f=te(!1),h=ir()(f,2),y=h[0],g=h[1],v=te(!1),m=ir()(v,2),O=m[0],_=m[1],S=kn(ei,[O,u]).iconStyle,E=l?{onClick:r,onMouseEnter:i,onMouseLeave:o,onFocus:function(e){y||_(!0),jn(i)||i(e)},onBlur:function(){document.hasFocus()&&g(!1),_(!1)},onKeyDown:function(e){jn(a)||a(e),"Enter"!==e.key||jn(r)||r()},onMouseDown:function(){g(!0),_(!1)}}:{},w=p?{tabIndex:0}:{};return b("span",Zr()({id:s,style:Jt([S,n])},E,w),b(t,null))},ni=jt(function(e){return{playerSize:hn.playerSize(e),playerErrorMessage:hn.errorMessage(e),mediaErrorMessage:Cn.mediaLoadingError(e),playerUniqId:hn.playerInstanceUniqId(e)}})(function(e){var t,n=e.playerSize,r=e.playerErrorMessage,i=e.mediaErrorMessage,o=e.playerUniqId,a=kn(Hr,[n]),s=a.errorMessageStyle,u=a.iconStyle,c=a.screenStyle,l=r||i;return Un(r)&&Un(i)?null:b("div",{id:(t=o,"".concat("mplayer","-").concat("error-page","-").concat(t)),style:c},b(ti,{icon:Kr.ERROR_WARNING_FILL,style:Jt(u)}),b("div",{id:wn(o),style:Jt(s)},l))}),ri=function(e,t){var n=function(e){return{height:"100%",left:0,display:"block",width:"100%",position:"relative",splitView:{width:"".concat(e/(9/16),"px")}}}(e);return{playerWrapperStyle:[n,t&&n.splitView]}},ii=jt(function(e){return{splitViewRatio:Zn(e)}})(function(e){var t=e.splitViewRatio,n=e.children,r=oe(),i=te(null),o=ir()(i,2),a=o[0],s=o[1],u=!Un(t),c=kn(ri,[a,u]).playerWrapperStyle;return Kn(function(){s(r.current.parentElement.clientHeight)},[r]),b("div",{ref:r,style:Jt(c)},n)});function oi(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}function ai(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?oi(Object(n),!0).forEach(function(t){f()(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):oi(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}var si=ai(ai({},cr),{},{position:"absolute",width:"100%",height:"100%"}),ui={width:"100%",height:"100%",position:"relative"},ci={display:"flex",position:"relative",flexGrow:"1"},li={position:"absolute",zIndex:"1",width:"100%",top:"0",height:"100%",pointerEvents:"none"},di={position:"absolute",zIndex:"2",width:"100%",top:"0",height:"100%",pointerEvents:"none"},pi=function(){return{splitViewWrapperStyle:ai({},si),playerAndControlsWrapperStyle:ai({},ui),splitViewPlaceholderStyle:ai({},ci),controlsPlaceholderStyle:ai({},li),discoveryPlaceholderStyle:ai({},di)}};function fi(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}function hi(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?fi(Object(n),!0).forEach(function(t){f()(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):fi(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}var yi={position:"absolute",overflow:"hidden",backgroundColor:Ut.COLORS.GRAY_TRANSPARENT,borderRadius:Ut.BORDER_RADIUS.SMALL,height:"6px",small:{width:"120px",height:"4px"},medium:{width:"200px"},largeAndExtraLarge:{width:"220px"},splitView:{width:"120px",height:"4px"},error:{display:"none"}},gi=hi(hi({},pr),{},{width:"100%",height:"100%",position:"absolute",top:"0",backgroundColor:Ut.COLORS.TRANSPARENT,blackScreen:{backgroundColor:Ut.COLORS.BLACK}}),vi=function(e,t,n,r,i){var o,a=!Un(n),s="small"===e,u="medium"===e,c="large"===e||"extraLarge"===e,l=i||Ut.COLORS.WHITE,d=(o=l,{position:"relative",width:"100%",height:"6px",borderRadius:Ut.BORDER_RADIUS.SMALL,animationName:"loaderAnimation",animationDuration:"3.5s",animationIterationCount:"infinite",animationTimingFunction:"ease-in-out",backgroundColor:o,small:{height:"4px"},splitView:{height:"4px"}});return{loaderStyle:[yi,r&&yi.error,s&&yi.small,u&&yi.medium,c&&yi.largeAndExtraLarge,a&&yi.splitView],barStyle:[d,s&&d.small,a&&d.splitView],screenStyle:[gi,t&&gi.blackScreen]}},mi=pn.monetization,bi={continuePlayingWhileWaitingForAd:function(e){return mi(e).continuePlayingWhileWaitingForAd},midrolls:function(e){return mi(e).midrolls},prerollEnabled:function(e){return mi(e).prerollEnabled},vpaidMode:function(e){return mi(e).vpaidMode},adRequestTimeout:function(e){return mi(e).adRequestTimeout},adsData:function(e){return mi(e).adsData}},Oi=bi.adsData,_i={adTagUrlTemplate:function(e){return Oi(e).adTagUrlTemplate},adType:function(e){return Oi(e).adType},adStatus:function(e){return Oi(e).adStatus},pendingAdStatus:function(e){return Oi(e).pendingAdStatus},adErrorMessage:function(e){return Oi(e).adErrorMessage},adDuration:function(e){return Oi(e).adDuration},playedMidrolls:function(e){return Oi(e).playedMidrolls},adImpression:function(e){return Oi(e).adImpression},adOpportunity:function(e){return Oi(e).adOpportunity},isVastAd:function(e){return Oi(e).isVastAd},adCurrentTime:function(e){return Oi(e).adCurrentTime},adMuted:function(e){return Oi(e).adMuted},adVolume:function(e){return Oi(e).adVolume},currentAdTag:function(e){return Oi(e).currentAdTag},adUnit:function(e){return Oi(e).adUnit},slotNumber:function(e){return Oi(e).slotNumber},podNumber:function(e){return Oi(e).podNumber},loadingAd:function(e){return Oi(e).loadingAd}},Si=pn.brandingData,Ei=function(e){return Si(e).brandingColor},wi=jt(function(e){return{showBlackScreen:hn.showBlackScreen(e),playerSize:hn.playerSize(e),splitViewRatio:Zn(e),playerUniqId:hn.playerInstanceUniqId(e),playerErrorMessage:hn.errorMessage(e),mediaErrorMessage:Cn.mediaLoadingError(e),loadingPlayer:hn.loadingPlayer(e),loadingAd:_i.loadingAd(e),brandingColor:Ei(e)}})(function(e){var t,n=e.playerSize,r=e.showBlackScreen,i=e.splitViewRatio,o=e.playerUniqId,a=e.playerErrorMessage,s=e.mediaErrorMessage,u=e.loadingPlayer,c=e.loadingAd,l=e.brandingColor,d=!Un(a)||!Un(s),p=u||c,f=kn(vi,[n,r,i,d,l]),h=f.loaderStyle,y=f.barStyle,g=f.screenStyle;return p?b("div",{id:(t=o,"".concat("mplayer","-").concat("loader-page","-").concat(t)),style:Jt(g)},b("div",{id:Pn(o),style:Jt(h)},b("div",{style:Jt(y)}))):null}),Pi=function(e){var t=e.playerId,n=e.store,r=e.playerPosition,i=kn(pi,[]),o=i.splitViewWrapperStyle,a=i.playerAndControlsWrapperStyle,s=i.splitViewPlaceholderStyle,u=i.controlsPlaceholderStyle,c=i.discoveryPlaceholderStyle;return re(function(){!function(e){var t=document.createElement("link");t.setAttribute("href","https://fonts.googleapis.com/css2?family=Lato:wght@300;400&display=swap"),t.setAttribute("rel","stylesheet"),t.setAttribute("type","text/css"),e.appendChild(t)}(r),function(e){var t=document.createElement("style");t.type="text/css",t.textContent="@keyframes loaderAnimation {0% {left: -100%}49% {left: 100%}50% {left: 100%}100% {left: -100%}}",e.appendChild(t)}(r)},[r]),b(Ze,{store:n},b(Nr,{id:mn(t)},b(Cr,{id:bn(t)},b("div",{id:Tn(t)}),b("div",{style:a},b("div",{style:o},b(ii,null,b(Jn,{playerId:t}),b(xr,{playerId:t}),b(wi,null),b(nr,null)),b("div",{id:_n(t),style:s})),b("div",{id:On(t),style:u}),b("div",{id:Sn(t),style:c}),b(ni,null)))))},Ti=n(1),Ai=n.n(Ti),Ci=function e(){var t=this;Ai()(this,e),f()(this,"HLS_MAIN_SCRIPT","https://cdn.jsdelivr.net/npm/hls.js@0.9.1"),f()(this,"HLS_FALLBACK_SCRIPT","https://www.oo-syringe.com/newplayer/mplayer_hls_wrapper.0.0.0.js"),f()(this,"IMA_SCRIPT","https://imasdk.googleapis.com/js/sdkloader/ima3.js"),f()(this,"MMPLUS_CONTAINER_ID","GTM-PL4PD49"),f()(this,"MM_CONTAINER_ID","GTM-TCW5HW"),f()(this,"dependenciesCallbacks",void 0),f()(this,"imaLoadingStatus",""),f()(this,"hlsLoadingStatus",""),f()(this,"gtmLoaded",!1),f()(this,"addDependenciesCallback",function(e){t.dependenciesCallbacks.includes(e)||t.dependenciesCallbacks.push(e)}),f()(this,"isDependenciesReady",function(){return t.gtmLoaded&&"loading"!==t.getHLSLoadingStatus()&&"loading"!==t.getIMALoadingStatus()}),f()(this,"getIMALoadingStatus",function(){return t.imaLoadingStatus}),f()(this,"getHLSLoadingStatus",function(){return t.hlsLoadingStatus}),f()(this,"removeDependenciesCallback",function(e){t.dependenciesCallbacks.filter(function(t){return t===e})}),f()(this,"loadScript",function(e,t,n){var r=document.createElement("script");r.setAttribute("src",e),r.addEventListener("load",t),r.addEventListener("error",n),document.body.appendChild(r)}),f()(this,"onScriptLoaded",function(e){t.dependenciesCallbacks.forEach(function(t){t.onDependencyReady(e)})}),f()(this,"onScriptFailed",function(e,n){t.dependenciesCallbacks.forEach(function(t){t.onDependencyFailure(e,n)})}),f()(this,"onHlsScriptLoaded",function(){void 0!==window.Hls?t.onScriptLoaded("hls"):t.onHlsLoadError()}),f()(this,"onHlsLoadError",function(){t.loadScript(t.HLS_FALLBACK_SCRIPT,t.onMMhlsScriptLoaded,t.onMMHlsScriptFailure)}),f()(this,"onMMhlsScriptLoaded",function(){t.onScriptLoaded("hls")}),f()(this,"onMMHlsScriptFailure",function(e){t.onScriptFailed("hls",e)}),f()(this,"onImaLoadError",function(e){t.imaLoadingStatus="error",t.onScriptFailed("ima",e)}),f()(this,"onImaLoaded",function(){t.onScriptLoaded("ima"),t.imaLoadingStatus="success"}),f()(this,"shouldLoadMmGTM",function(){var e=window.google_tag_manager;return!e||!e[t.MMPLUS_CONTAINER_ID]&&!e[t.MM_CONTAINER_ID]}),f()(this,"loadGTMifNeeded",function(){if(t.shouldLoadMmGTM()){var e,n;try{e=window.parent,n=window.parent.document}catch(u){e=window,n=window.document}var r=$n(e),i="dataLayer"!==r?"&l=".concat(r):"";e[r]=e[r]||[],e[r].push({"gtm.start":(new Date).getTime(),event:"gtm.js"});var o=n.getElementsByTagName("script")[0],a=n.createElement("script");a.setAttribute("async",""),a.setAttribute("src","https://www.googletagmanager.com/gtm.js?id=GTM-PL4PD49".concat(i)),o.parentNode.insertBefore(a,o);var s=n.createElement("iframe");s.src="https://www.googletagmanager.com/ns.html?id=GTM-PL4PD49",s.height="0",s.width="0",s.style="display:none;visibility:hidden",n.body.appendChild(s),t.gtmLoaded=!0}}),f()(this,"loadHLS",function(){Bn()||"safari"===Vn.name?t.hlsLoadingStatus="no-need":(t.loadScript(t.HLS_MAIN_SCRIPT,t.onHlsScriptLoaded,t.onHlsLoadError),t.hlsLoadingStatus="loading")}),f()(this,"loadIMA",function(){t.loadScript(t.IMA_SCRIPT,t.onImaLoaded,t.onImaLoadError),t.imaLoadingStatus="loading"}),f()(this,"loadExternalDependencies",function(){""===t.getIMALoadingStatus()&&t.loadIMA(),""===t.getHLSLoadingStatus()&&t.loadHLS(),t.gtmLoaded||t.loadGTMifNeeded()}),this.dependenciesCallbacks=[]};f()(Ci,"instance",void 0),f()(Ci,"getInstance",function(){return Ci.instance||(Ci.instance=new Ci),Ci.instance});var Ri=function(e){return"".concat("mplayer-monetization-ad-container","-").concat(e)},Di=function(e){return"".concat("mplayer-monetization-safari-video-ad","-").concat(e)},Mi=jt(function(e){return{contentVideoTime:hn.currentVideoTime(e),playerUniqId:hn.playerInstanceUniqId(e)}})(function(e){var t=e.contentVideoTime,n=e.playerUniqId,r=oe();return re(function(){Un(r.current)||(r.current.currentTime=t)},[t]),b("video",{id:Di(n),ref:r,style:{backgroundColor:"rgb(0, 0, 0)",width:"100%",height:"100%"},title:"Advertisement",preload:"auto",muted:!0,playsInline:!0,"webkit-playsinline":""})});function Ii(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}function ki(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Ii(Object(n),!0).forEach(function(t){f()(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Ii(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}var Ni=jt(function(e,t){return ki(ki({},t),{},{adStatus:_i.adStatus(e)})})(function(e){var t=e.playerId,n=e.adStatus,r="playing"===n||"paused"===n;return re(function(){document.getElementById(vn(t)).style.display=r?"flex":"none"},[t,r]),b("div",{style:{width:"100%",height:"100%"}},b("div",{id:Ri(t),style:{height:"100%",width:"100%"}},Bn()&&b(Mi,null)))}),Li=function(e){var t=e.store,n=e.playerId;return b(Ze,{store:t},b(Ni,{playerId:n}))},xi=n(2),Vi=n.n(xi),ji=(n(46),function(){function e(t,n,r){Ai()(this,e),f()(this,"store",void 0),f()(this,"getDependenciesElements",void 0),f()(this,"oldState",void 0),f()(this,"unsubscribe",void 0),f()(this,"onChange",void 0),this.store=t,this.oldState=t.getState(),this.getDependenciesElements=n,this.unsubscribe=t.subscribe(this.onStateChanged.bind(this)),this.onChange=r}return Vi()(e,[{key:"stopSubscription",value:function(){this.unsubscribe(),this.oldState=null,this.getDependenciesElements=null,this.store=null,this.unsubscribe=null,this.onChange=null}},{key:"onStateChanged",value:function(){var e=this.store.getState(),t=this.getDependenciesElements(this.oldState),n=this.getDependenciesElements(e);t.every(function(e,t){return e===n[t]})||this.onChange(e),this.oldState=e}}]),e}()),Ui=pn.dependenciesLoadingStatus,Fi={loadingImaStatus:function(e){return Ui(e).loadingImaStatus},loadingHLSStatus:function(e){return Ui(e).loadingHLSStatus}},Bi=function(e){return"blocked"===Fi.loadingImaStatus(e)},Hi=function(e){return"playing"===e||"requested"===e||"loaded"===e||"paused"===e},qi=function(){function e(t,n){Ai()(this,e),f()(this,"videoTimeSubscriber",void 0),f()(this,"adsScheduler",void 0),this.videoTimeSubscriber=new ji(t,e.getVideoTimeDependencies,this.onVideoTimeChanged.bind(this)),this.adsScheduler=n}return Vi()(e,[{key:"onVideoTimeChanged",value:function(t){"seeking"!==hn.videoTagStatus(t)&&(e.shouldRequestAd(t)?this.adsScheduler.onPreAdTimeReached(e.getMidroll(t)):e.isOnAdTime(t)&&this.adsScheduler.onAdTimeReached())}}],[{key:"getVideoTimeDependencies",value:function(e){return[hn.currentVideoTime(e)]}},{key:"isTimeInPreAdRange",value:function(e,t){return t>=e&&e>=t-$i}},{key:"getNextSpecificMidrollTime",value:function(t,n){return-1!==t.indexOf(n)?n:t.find(function(t){return e.isTimeInPreAdRange(n,t)})}},{key:"getNextReocurringMidrollNumber",value:function(e,t){var n=t/e;return t%e===0?n:Math.ceil(n)}},{key:"getMidroll",value:function(t){var n=hn.currentVideoTime(t),r=bi.midrolls(t),i=r.every,o=r.on,a=Dn.mediaId(t);if(!Un(i)){var s=e.getNextReocurringMidrollNumber(i,n);return{currentTime:n,mediaId:a,midrollNumber:s,midrollTime:s*i}}if(!Un(o)){var u=e.getNextSpecificMidrollTime(o,n);return{midrollNumber:o.indexOf(u)+1,currentTime:n,midrollTime:u,mediaId:a}}return null}},{key:"isMidrollAlreadyPlayed",value:function(e,t){return-1!==e.indexOf(t)}},{key:"isMidrollReached",value:function(t){var n=hn.currentVideoTime(t),r=bi.midrolls(t),i=r.every,o=r.on,a=_i.playedMidrolls(t);if(!Un(i)&&n>0){var s=e.getNextReocurringMidrollNumber(i,n),u=s*i;return!this.isMidrollAlreadyPlayed(a,s)&&e.isTimeInPreAdRange(n,u)}if(!Un(o)){var c=e.getNextSpecificMidrollTime(o,n),l=o.indexOf(c)+1;return l>0&&!this.isMidrollAlreadyPlayed(a,l)}return!1}},{key:"shouldRequestAd",value:function(e){var t=_i.adStatus(e);return!Bi(e)&&!Hi(t)&&this.isMidrollReached(e)}},{key:"isOnAdTime",value:function(t){var n=hn.currentVideoTime(t),r=bi.midrolls(t),i=r.every,o=r.on,a=_i.playedMidrolls(t);if(Bi(t))return!1;if(!Un(i)){var s=e.getNextReocurringMidrollNumber(i,n);return 0!==n&&n%i===0&&!this.isMidrollAlreadyPlayed(a,s)}if(!Un(o)){var u=o.indexOf(n);return-1!==u&&!this.isMidrollAlreadyPlayed(a,u)}return!1}}]),e}(),Wi=function(){function e(t){var n=this;Ai()(this,e),f()(this,"referrerUrl",void 0),f()(this,"staticAdTag",void 0),f()(this,"generate",function(e,t){var r=encodeURIComponent(n.referrerUrl);return Un(n.staticAdTag)?n.adTagFromApi(e,r,t):n.parseAdTag(n.staticAdTag,e,r,t)}),this.staticAdTag=t,this.referrerUrl=window.location.href}return Vi()(e,[{key:"parseAdTag",value:function(t,n,r,i){var o=t.replace("##AdUnit##",e.parseAdName(n)).replace("##DESCRIPTION_URL_UNESC##",r).replace("##REFERRER_URL_UNESC##",encodeURIComponent(this.referrerUrl)).replace("##CACHEBUSTER##",e.cacheBuster(n)).replace("##MIDROLL_ORDER##",e.adIndexFromName(n));return o=e.replaceVideoId(o,"##VIDEO_ID##",i),o=e.addHacksToAdTag(o)}},{key:"adTagFromApi",value:function(e,t,n){try{var r=window.getVideoTag(t,e);return Un(r)?null:this.parseAdTag(r,e,t,n)}catch(i){return null}}}],[{key:"getCCPAConsent",value:function(t){try{var n="";return window.__uspapi&&window.__uspapi("getUSPData",1,function(e,t){t&&(n=e.uspString)}),e.setSearchParamToAdTag(t,"us_privacy",n)}catch(r){return t}}},{key:"replaceVideoId",value:function(e,t,n){return e.replace(t,n).replace(encodeURIComponent(t),n).replace(encodeURIComponent(encodeURIComponent(t)),n)}},{key:"cacheBuster",value:function(t){return"".concat((new Date).getTime()).concat(e.adIndexFromName(t))}},{key:"parseAdName",value:function(t){return t.startsWith("preroll")?"PR":"MR".concat(e.adIndexFromName(t))}},{key:"adIndexFromName",value:function(e){return e.replace(/[^\d]*/g,"")}}]),e}();f()(Wi,"setSearchParamToAdTag",function(e,t,n){var r=new URL(e),i=decodeURIComponent(n);return r.searchParams.set(t,i),r.href}),f()(Wi,"getSearchParamFromAdTag",function(e,t){return new URL(e).searchParams.get(t)}),f()(Wi,"addHacksToAdTag",function(e){var t=e,n=Wi.getSearchParamFromAdTag(t,"cust_params");if(!jn(window.mmAPSbids)&&!Un(n)){var r="".concat(window.mmAPSbids,"&").concat(n);t=Wi.setSearchParamToAdTag(t,"cust_params",r)}if(!jn(window.shouldPlayAdRules)){var i=window.shouldPlayAdRules?"1":"0";t=Wi.setSearchParamToAdTag(t,"ad_rule",i)}return t=Wi.getCCPAConsent(t)});var zi=function(){function e(t,n){Ai()(this,e),f()(this,"store",void 0),f()(this,"videoTagStatusSubscriber",void 0),f()(this,"adsScheduler",void 0),f()(this,"previousVideoTagStatus",void 0);var r=t.getState;this.store=t,this.adsScheduler=n,this.previousVideoTagStatus=hn.videoTagStatus(r()),this.videoTagStatusSubscriber=new ji(t,e.getVideoTagStatusDependencies,this.onVideoTagStatusChanged.bind(this))}return Vi()(e,[{key:"onVideoTagStatusChanged",value:function(t){var n=hn.videoTagStatus(t),r=_i.adStatus(t);"seeking"===this.previousVideoTagStatus&&(Hi(r)?this.adsScheduler.onSeekedWhileAdInProgress():e.isSeekedOverMidroll(t)&&this.adsScheduler.onSeekToAdOpportunity(e.getSeekedMidroll(t))),this.previousVideoTagStatus=n}}],[{key:"getVideoTagStatusDependencies",value:function(e){return[hn.videoTagStatus(e)]}},{key:"getClosestSkippedUnplayedMidroll",value:function(e,t){for(var n=t;n>0;n-=1)if(-1===e.indexOf(n))return n;return null}},{key:"getClosestLowerSeekedMidrollNumber",value:function(e,t){var n=In()(e).reverse().find(function(e){return e<=t});return e.indexOf(n)+1}},{key:"getSeekedSpecificMidroll",value:function(e,t,n,r){var i=this.getClosestLowerSeekedMidrollNumber(e,t),o=this.getClosestSkippedUnplayedMidroll(r,i);return{midrollNumber:o,currentTime:t,midrollTime:e[o-1],mediaId:n}}},{key:"isSeekedOverSpecificMidroll",value:function(e,t,n){if(jn(e))return!1;var r=this.getClosestLowerSeekedMidrollNumber(e,n);return null!==this.getClosestSkippedUnplayedMidroll(t,r)}},{key:"getSeekedReoccuringMidroll",value:function(e,t,n,r){var i=Math.floor(t/e),o=this.getClosestSkippedUnplayedMidroll(r,i);return{midrollTime:o*e,currentTime:t,midrollNumber:o,mediaId:n}}},{key:"isSeekedOverReoccuringMidroll",value:function(e,t,n){if(jn(e))return!1;var r=Math.floor(n/e);return null!==this.getClosestSkippedUnplayedMidroll(t,r)}},{key:"getSeekedMidroll",value:function(e){var t=_i.playedMidrolls(e),n=hn.currentVideoTime(e),r=bi.midrolls(e),i=r.every,o=r.on,a=Cn.mediaId(e);return this.isSeekedOverReoccuringMidroll(i,t,n)?this.getSeekedReoccuringMidroll(i,n,a,t):this.isSeekedOverSpecificMidroll(o,t,n)?this.getSeekedSpecificMidroll(o,n,a,t):null}},{key:"isSeekedOverMidroll",value:function(e){var t=_i.playedMidrolls(e),n=hn.currentVideoTime(e),r=bi.midrolls(e),i=r.every,o=r.on,a=o;return bi.prerollEnabled(e)&&(a=o.filter(function(e){return 0!==e})),this.isSeekedOverReoccuringMidroll(i,t,n)||this.isSeekedOverSpecificMidroll(a,t,n)}}]),e}(),Gi=function e(t,n){var r=this;Ai()(this,e),f()(this,"pendingAdStatusStoreSubscriber",void 0),f()(this,"adsScheduler",void 0),f()(this,"onPendingAdStatusChanged",function(e){var t=_i.pendingAdStatus(e).type,n=_i.adStatus(e);if("playPreroll"===t&&!Hi(n)){var i=Cn.activeVideoIndex(e),o=Dn.mediaId(e);r.adsScheduler.onPrerollReached(o,i+1)}}),this.adsScheduler=n,this.pendingAdStatusStoreSubscriber=new ji(t,e.getPendingAdStatusDependencies,this.onPendingAdStatusChanged.bind(this))};f()(Gi,"getPendingAdStatusDependencies",function(e){return[_i.pendingAdStatus(e)]});var $i=3,Ki=function e(t,n){var r=this;Ai()(this,e),f()(this,"videoTimeSubscriber",void 0),f()(this,"videoSeekSubscriber",void 0),f()(this,"adTagGenerator",void 0),f()(this,"monetization",void 0),f()(this,"lastRequestedMidroll",null),f()(this,"prerollScheduler",void 0),f()(this,"generateMidrollTag",function(e){var t="midroll".concat(e.midrollNumber);return r.adTagGenerator.generate(t,e.mediaId)}),f()(this,"generatePrerollTag",function(e,t){var n="preroll".concat(t);return r.adTagGenerator.generate(n,e)}),f()(this,"onAdTimeReached",function(){r.monetization.onMidrollAdOpportunity()}),f()(this,"onPreAdTimeReached",function(e){r.onPreMidrollAdOpportunity(e)}),f()(this,"onSeekToAdOpportunity",function(e){r.onPreMidrollAdOpportunity(e)}),f()(this,"isMidrollAlreadyRequested",function(e){return e.midrollNumber===r.lastRequestedMidroll.midrollNumber&&e.mediaId===r.lastRequestedMidroll.mediaId&&e.midrollTime===r.lastRequestedMidroll.midrollTime}),f()(this,"onPreMidrollAdOpportunity",function(e){if(Un(r.lastRequestedMidroll)||!r.isMidrollAlreadyRequested(e)){r.lastRequestedMidroll=e;var t=r.generateMidrollTag(e);r.monetization.onPreMidrollAdOpportunity(e,t)}}),f()(this,"onPrerollReached",function(e,t){var n=r.generatePrerollTag(e,t);r.monetization.onPrerollAdOpportunity(n)}),f()(this,"onSeekedWhileAdInProgress",function(){r.monetization.onMidrollAdOpportunity()});var i=t.getState;this.monetization=n,this.videoTimeSubscriber=new qi(t,this),this.videoSeekSubscriber=new zi(t,this),this.prerollScheduler=new Gi(t,this);var o=_i.adTagUrlTemplate(i());this.adTagGenerator=new Wi(o)},Yi=function(){function e(){Ai()(this,e)}return Vi()(e,null,[{key:"generateAdRequest",value:function(e,t,n){var r=new google.ima.AdsRequest;return r.adTagUrl=e,Fn()||r.setAdWillPlayMuted(t),r.vastLoadTimeout=n,r}}]),e}(),Zi=function(e){return function(t){t({type:"[MONETIZATION] change ad status",payload:e})}},Xi=function(e){return function(t){t({type:"[COMMON] set pending video status",payload:{pendingStatusObject:{type:e,value:""}}})}},Ji=function(e){return function(t){t({type:"[MONETIZATION] change loading ad status",payload:e})}},Qi=function(e){return function(t){t({type:"[MONETIZATION] update ad muted",payload:e})}},eo=function(e){return function(t){t({type:"[MONETIZATION] change ad volume",payload:e})}},to=function e(t,n,r,i,o){var a=this;Ai()(this,e),f()(this,"store",void 0),f()(this,"IMAAdManager",void 0),f()(this,"adsLoader",void 0),f()(this,"adDisplayContainer",void 0),f()(this,"adVideoElement",void 0),f()(this,"videoPlayerElement",void 0),f()(this,"adContainerElement",void 0),f()(this,"anchorStatusStoreSubscriber",void 0),f()(this,"totalAdRequestMadeAmount",0),f()(this,"registerForWindowResize",function(){var e=zn(a.onResize.bind(a),80);window.addEventListener("resize",e)}),f()(this,"initMutationObserver",function(e){new MutationObserver(a.onResize).observe(e,{attributes:!0,childList:!1,subtree:!1})}),f()(this,"loadNewAd",function(e,t){var n=a.store.dispatch;a.clearOldAdManagerIfExist();var r=a.createAdRequest(e);try{a.validateAdRequestCorrectness(r),a.adsLoader.requestAds(r),function(e,t){return function(n){n({type:"[MONETIZATION] change ad tag",payload:{adTag:e,adUnit:t}})}}(e,t)(n),Zi("requested")(n),a.totalAdRequestMadeAmount+=1}catch(i){a.onAdError(a.getLoadingError(r))}}),f()(this,"playAd",function(){try{a.IMAAdManager.init(a.videoPlayerElement.clientWidth,a.videoPlayerElement.clientHeight,google.ima.ViewMode.NORMAL);try{a.IMAAdManager.start()}catch(e){return!1}return!0}catch(t){return a.onAdError(a.getPlayAdError("ad manager start error")),!1}}),f()(this,"clearOldAdManagerIfExist",function(){Un(a.IMAAdManager)||(a.IMAAdManager.destroy(),a.IMAAdManager=null)}),f()(this,"createAdLoader",function(e,t){var n=bi.vpaidMode(e);a.adsLoader=new google.ima.AdsLoader(t),a.adsLoader.getSettings().setDisableCustomPlaybackForIOS10Plus(!0),a.adsLoader.getSettings().setVpaidMode(google.ima.ImaSdkSettings.VpaidMode[n]),a.adsLoader.addEventListener(google.ima.AdsManagerLoadedEvent.Type.ADS_MANAGER_LOADED,a.onIMAAdsManagerLoaded.bind(a),!1,a),a.adsLoader.addEventListener(google.ima.AdErrorEvent.Type.AD_ERROR,a.onAdError.bind(a),!1,a)}),f()(this,"createAdRequest",function(e){var t=a.store.getState,n=gn.muted(t()),r=bi.adRequestTimeout(t());return Yi.generateAdRequest(e,n,r)}),f()(this,"validateAdRequestCorrectness",function(e){e&&e.adTagUrl&&decodeURIComponent(e.adTagUrl.replace(/\+/g," "))}),f()(this,"getLoadingError",function(e){var t=function(){return"bad ad request ".concat(JSON.stringify(e))};return{getError:function(){return{getMessage:t}}}}),f()(this,"getPlayAdError",function(e){var t=function(){return"play ad error: ".concat(JSON.stringify(e))};return{getError:function(){return{getMessage:t}}}}),f()(this,"setAdVolume",function(e){var t=a.store,n=t.getState,r=t.dispatch,i=gn.volume(n());Bn()||gn.muted(n())?(e.setVolume(0),Qi(!0)(r)):(e.setVolume(gn.volume(n())),eo(i)(r),Qi(!1)(r))}),f()(this,"createIMAAdManager",function(t){a.IMAAdManager=t.getAdsManager(a.adVideoElement,e.getAdsRenderingSettings()),a.setAdVolume(a.IMAAdManager)}),f()(this,"registerToAdManagerEvents",function(){a.IMAAdManager.addEventListener(google.ima.AdErrorEvent.Type.AD_ERROR,a.onAdError),a.IMAAdManager.addEventListener(google.ima.AdEvent.Type.CONTENT_PAUSE_REQUESTED,a.onContentPauseRequested),a.IMAAdManager.addEventListener(google.ima.AdEvent.Type.CONTENT_RESUME_REQUESTED,a.onContentResumeRequested),a.IMAAdManager.addEventListener(google.ima.AdEvent.Type.STARTED,a.onAdStarted),a.IMAAdManager.addEventListener(google.ima.AdEvent.Type.IMPRESSION,a.onAdImpression),a.IMAAdManager.addEventListener(google.ima.AdEvent.Type.SKIPPED,a.onAdSkipped),a.IMAAdManager.addEventListener(google.ima.AdEvent.Type.COMPLETE,a.onAdCompleted),a.IMAAdManager.addEventListener(google.ima.AdEvent.Type.PAUSED,a.onAdPaused),a.IMAAdManager.addEventListener(google.ima.AdEvent.Type.RESUMED,a.onAdStarted),a.IMAAdManager.addEventListener(google.ima.AdEvent.Type.AD_PROGRESS,a.onAdProgressChanged),a.IMAAdManager.addEventListener(google.ima.AdEvent.Type.VOLUME_CHANGED,a.onVolumeChanged),a.IMAAdManager.addEventListener(google.ima.AdEvent.Type.VOLUME_MUTED,a.onAdVolumeMutedChanged),a.IMAAdManager.addEventListener(google.ima.AdEvent.Type.ALL_ADS_COMPLETED,a.onAdCompleted)}),f()(this,"onIMAAdsManagerLoaded",function(e){var t=a.store.dispatch;a.createIMAAdManager(e),a.registerToAdManagerEvents(),Zi("loaded")(t)}),f()(this,"onAdError",function(e){var t=a.store.dispatch;!function(e){return function(t){t({type:"[MONETIZATION] change ad error",payload:e})}}(e.getError().getMessage())(t),Ji(!1),a.continuePlayingContent()}),f()(this,"onAdImpression",function(e){var t=a.store.dispatch,n=!e.getAd().g.vpaid;a.setPodInfo(e),function(e){e({type:"[MONETIZATION] increase ad impression counter"})}(t),function(e){return function(t){t({type:"[MONETIZATION] update is vast ad",payload:e})}}(n)(t)}),f()(this,"onVolumeChanged",function(e){var t=a.store.dispatch;eo(e.target.getVolume())(t)}),f()(this,"onAdVolumeMutedChanged",function(e){var t=a.store.dispatch;0===e.target.getVolume()?Qi(!0)(t):Qi(!1)(t)}),f()(this,"continuePlayingContent",function(){var e=a.store,t=e.getState,n=e.dispatch,r=hn.videoTagStatus(t());Xi("idle"===r?"play":"resume")(n)}),f()(this,"stopPlayingContent",function(){var e=a.store.dispatch;Xi("pause")(e)}),f()(this,"onContentPauseRequested",function(){a.stopPlayingContent()}),f()(this,"onContentResumeRequested",function(){a.continuePlayingContent()}),f()(this,"onAdPaused",function(){var e=a.store.dispatch;Zi("paused")(e)}),f()(this,"setPodInfo",function(e){var t=e&&e.getAd()&&e.getAd().getAdPodInfo();if(!Un(t)){var n=a.store.dispatch;!function(e,t){return function(n){n({type:"[MONETIZATION] change pod info",payload:{slotNumber:e,podNumber:t}})}}(t.getAdPosition(),a.totalAdRequestMadeAmount)(n)}}),f()(this,"onAdStarted",function(){var e=a.store,t=e.dispatch,n=e.getState,r=gn.volume(n());Zi("playing")(t),0===a.IMAAdManager.getVolume()?a.IMAAdManager.setVolume(0):window.shouldPlayAdRule||a.IMAAdManager.setVolume(r),a.onResize()}),f()(this,"onAdCompleted",function(){var e=a.store.dispatch;Zi("completed")(e)}),f()(this,"onAdSkipped",function(){var e=a.store.dispatch;Zi("skipped")(e)}),f()(this,"onResize",function(){Un(a.IMAAdManager)||(a.IMAAdManager.resize(a.videoPlayerElement.clientWidth,a.videoPlayerElement.clientHeight,google.ima.ViewMode.NORMAL),a.adContainerElement.style.height="".concat(a.videoPlayerElement.clientHeight,"px"))}),f()(this,"onAdProgressChanged",function(e){var t,n,r=a.store,i=r.dispatch,o=r.getState,s=e.getAdData().currentTime,u=e.getAdData().duration,c=_i.adDuration(o());(t=s,function(e){e({type:"[MONETIZATION] change ad current time",payload:t})})(i),c!==u&&(n=u,function(e){e({type:"[MONETIZATION] change ad duration",payload:n})})(i)}),f()(this,"onAnchorStatusChanged",function(){var e=a.store.getState;"processing"!==Pr(e())&&a.onResize()}),f()(this,"changeAdVolume",function(e){Un(a.IMAAdManager)||a.IMAAdManager.setVolume(e)}),f()(this,"changeAdMuted",function(e,t){Un(a.IMAAdManager)||(t?a.IMAAdManager.setVolume(0):a.IMAAdManager.setVolume(e))}),f()(this,"changeAdStatus",function(e){Un(a.IMAAdManager)||("playing"===e&&a.IMAAdManager.resume(),"paused"===e&&a.IMAAdManager.pause())});var s=t.getState;this.store=t,this.adVideoElement=r,this.videoPlayerElement=i,this.adContainerElement=n,this.adDisplayContainer=new google.ima.AdDisplayContainer(n,r),this.createAdLoader(s(),this.adDisplayContainer),this.adDisplayContainer.initialize(),this.anchorStatusStoreSubscriber=new ji(t,e.getAnchorDependencies,this.onAnchorStatusChanged.bind(this)),this.registerForWindowResize(),this.initMutationObserver(o)};f()(to,"getAdsRenderingSettings",function(){var e=new google.ima.AdsRenderingSettings;return e.restoreCustomPlaybackStateOnAdBreakComplete=!0,e.enablePreloading=!1,e.uiElements=[],e.loadVideoTimeout=15e3,e}),f()(to,"getAnchorDependencies",function(e){return[Pr(e)]});var no=function e(t,n,r,i,o,a){var s=this;Ai()(this,e),f()(this,"store",void 0),f()(this,"playerId",void 0),f()(this,"adScheduler",void 0),f()(this,"adHandler",void 0),f()(this,"imaLoadingStatusSubscriber",void 0),f()(this,"adStatusSubscriber",void 0),f()(this,"videoTagStatusSubscriber",void 0),f()(this,"adContainer",void 0),f()(this,"adVideoElement",void 0),f()(this,"videoPlayerElement",void 0),f()(this,"playerContainer",void 0),f()(this,"pendingMidrollAdPlay",!1),f()(this,"pendingPrerollAdPlay",!1),f()(this,"pendingPrerollAdTag",null),f()(this,"pendingMidrollNumber",null),f()(this,"pendingAdStatusStoreSubscriber",void 0),f()(this,"adMutedStoreSubscriber",void 0),f()(this,"adVolumeStoreSubscriber",void 0),f()(this,"onMidrollAdOpportunity",function(){var e=s.store,t=e.dispatch,n=e.getState,r=_i.adStatus(n()),i=bi.continuePlayingWhileWaitingForAd(n());"loaded"===r?s.playAd(!0):"requested"===r&&(s.pendingMidrollAdPlay=!0,i||(Xi("pause")(t),Ji(!0)(t))),function(e){e({type:"[MONETIZATION] increase ad Opportunity counter"})}(t)}),f()(this,"onPrerollAdOpportunity",function(e){var t=s.store,n=t.getState,r=t.dispatch,i=Fi.loadingImaStatus(n());Un(s.adHandler)?"loading"!==i&&""!==i||(Ji(!0)(r),s.pendingPrerollAdPlay=!0,s.pendingPrerollAdTag=e):(s.pendingPrerollAdPlay=!0,Ji(!0)(r),s.adHandler.loadNewAd(e,"preroll"))}),f()(this,"onPreMidrollAdOpportunity",function(e,t){Un(s.adHandler)||(e.currentTime>=e.midrollTime&&(s.pendingMidrollAdPlay=!0),s.pendingMidrollNumber=e.midrollNumber,s.adHandler.loadNewAd(t,"midroll"))}),f()(this,"hasPendingAd",function(){return s.hasPendingMidrollAdPlay()||s.hasPendingPrerollAdPlay()}),f()(this,"onAdStatusChanged",function(e){var t=s.store.dispatch,n=_i.adStatus(e);"completed"===n&&Ji(!1)(t);var r=bi.continuePlayingWhileWaitingForAd(e),i=_i.loadingAd(e);"playing"!==n&&"error"!==n||r||!i||Ji(!1)(t),s.hasPendingAd()&&"loaded"===n?s.playAd(s.hasPendingMidrollAdPlay()):s.hasPendingAd()&&"error"===n?(Ji(!1),s.clearPendingMidroll(),s.clearPendingPreroll()):Hi(n)||(Ji(!1),function(e){e({type:"[MONETIZATION] clear ad data"})}(t))}),f()(this,"clearPendingMidroll",function(){s.pendingMidrollNumber=null,s.pendingMidrollAdPlay=!1}),f()(this,"clearPendingPreroll",function(){s.pendingPrerollAdPlay=!1,s.pendingPrerollAdTag=null}),f()(this,"onVideoTagStatusChanged",function(e){"complete"===hn.videoTagStatus(e)&&function(e){e({type:"[MONETIZATION] clear played midrolls"})}(s.store.dispatch)}),f()(this,"hasPendingMidrollAdPlay",function(){return s.pendingMidrollAdPlay}),f()(this,"hasPendingPrerollAdPlay",function(){return s.pendingPrerollAdPlay}),f()(this,"playAd",function(e){var t,n=s.store.dispatch,r=s.adHandler.playAd();e?((t=s.pendingMidrollNumber,function(e){e({type:"[MONETIZATION] add played midroll number",payload:t})})(n),s.clearPendingMidroll()):s.clearPendingPreroll(),r||(Ji(!1)(n),Xi("resume")(n))}),f()(this,"onIMALoadingStatusChanged",function(t){e.canUseIMA(t)&&(Un(s.adHandler)&&(s.adHandler=new to(s.store,s.adContainer,s.adVideoElement,s.videoPlayerElement,s.playerContainer)),s.hasPendingPrerollAdPlay()&&s.adHandler.loadNewAd(s.pendingPrerollAdTag,"preroll"))}),f()(this,"onPendingAdStatusChanged",function(){var e=s.store.getState,t=_i.pendingAdStatus(e()).type;switch(t){case"paused":case"playing":s.adHandler.changeAdStatus(t)}}),f()(this,"onAdMutedChanged",function(){var e=s.store.getState,t=_i.adMuted(e()),n=gn.volume(e());s.adHandler.changeAdMuted(n,t)}),f()(this,"onAdVolumeChanged",function(){var e=s.store.getState,t=_i.adVolume(e());s.adHandler.changeAdVolume(t)});var u=t.getState;this.store=t,this.playerId=n,this.adContainer=r,this.adVideoElement=i,this.videoPlayerElement=o,this.playerContainer=a,this.adScheduler=new Ki(t,this),this.adStatusSubscriber=new ji(t,e.getAdStatusDependencies,this.onAdStatusChanged.bind(this)),this.videoTagStatusSubscriber=new ji(t,e.getVideoTagStatusDependencies,this.onVideoTagStatusChanged.bind(this)),e.canUseIMA(u())?this.adHandler=new to(t,r,i,o,a):this.imaLoadingStatusSubscriber=new ji(t,e.getIMALoadingStatusDependencies,this.onIMALoadingStatusChanged.bind(this)),this.pendingAdStatusStoreSubscriber=new ji(t,e.getPendingAdStatusDependencies,this.onPendingAdStatusChanged.bind(this)),this.adMutedStoreSubscriber=new ji(t,e.getAdMutedDependencies,this.onAdMutedChanged.bind(this)),this.adVolumeStoreSubscriber=new ji(t,e.getAdVolumeDependencies,this.onAdVolumeChanged.bind(this))};f()(no,"getAdStatusDependencies",function(e){return[_i.adStatus(e)]}),f()(no,"getVideoTagStatusDependencies",function(e){return[hn.videoTagStatus(e)]}),f()(no,"getIMALoadingStatusDependencies",function(e){return[Fi.loadingImaStatus(e)]}),f()(no,"canUseIMA",function(e){return"success"===Fi.loadingImaStatus(e)}),f()(no,"getPendingAdStatusDependencies",function(e){return[_i.pendingAdStatus(e)]}),f()(no,"getAdMutedDependencies",function(e){return[_i.adMuted(e)]}),f()(no,"getAdVolumeDependencies",function(e){return[_i.adVolume(e)]});var ro=function(e,t){!function(e,t){var n=document.getElementById(vn(t));B(b(Li,{store:e,playerId:t}),n)}(e,t);var n=function(e){var t=Ri(e);return document.getElementById(t)}(t),r=function(e){var t=Bn()?Di(e):En(e);return document.getElementById(t)}(t),i=function(e){var t=En(e);return document.getElementById(t)}(t),o=function(e){var t=bn(e);return document.getElementById(t)}(t);return new no(e,t,n,r,i,o)},io=n(4),oo=n.n(io),ao=n(7),so=n.n(ao),uo=function(){function e(){Ai()(this,e),f()(this,"duration",void 0),f()(this,"position",void 0),f()(this,"previousPosition",void 0),f()(this,"loadTime",void 0),f()(this,"adOrder",void 0),f()(this,"adType",void 0),f()(this,"adDuration",void 0),f()(this,"errorMessage",void 0),f()(this,"adPodNumber",void 0),f()(this,"adSlotNumber",void 0)}return Vi()(e,[{key:"setDuration",value:function(e){return this.duration=e,this}},{key:"setPosition",value:function(e){return this.position=e,this}},{key:"setPreviousPosition",value:function(e){return this.previousPosition=e,this}},{key:"setLoadTime",value:function(e){return this.loadTime=e,this}},{key:"setAdOrder",value:function(e){return this.adOrder=e,this}},{key:"setAdType",value:function(e){return this.adType=e,this}},{key:"setAdDuration",value:function(e){return this.adDuration=e,this}},{key:"setErrorMessage",value:function(e){return this.errorMessage=e,this}},{key:"setAdPodNumber",value:function(e){return this.adPodNumber=e,this}},{key:"setAdSlotNumber",value:function(e){return this.adSlotNumber=e,this}},{key:"build",value:function(){var e=[];return jn(this.position)||e.push("video current position=".concat(Hn(this.position),"sec")),jn(this.duration)||e.push("video duration time=".concat(Hn(this.duration),"sec")),jn(this.loadTime)||e.push("video load time=".concat(this.loadTime,"milliseconds")),jn(this.previousPosition)||e.push("previous position=".concat(Hn(this.previousPosition),"sec")),jn(this.adOrder)||e.push("ad order=".concat(this.adOrder)),jn(this.adType)||e.push("ad type=".concat(this.adType)),jn(this.adDuration)||e.push("ad duration=".concat(Hn(Number(this.adDuration)),"sec")),jn(this.adPodNumber)||e.push("pod number=".concat(this.adPodNumber)),jn(this.adSlotNumber)||e.push("slot number=".concat(this.adSlotNumber)),jn(this.errorMessage)||e.push("error message=".concat(this.errorMessage)),e.join(";")}}]),e}(),co="mmPlus GTM data ready to GA",lo="mmPlus GTM event to GA",po={EMBED:"vplayer video player embed",FIRST_PLAY:"vplayer video first play",COMPLETION_25_PERCENTAGE:"vplayer video 25% complete",COMPLETION_50_PERCENTAGE:"vplayer video 50% complete",COMPLETION_75_PERCENTAGE:"vplayer video 75% complete",COMPLETION_90_PERCENTAGE:"vplayer video 90% complete",AD_BLOCK:"vplayer video ad block",AD_REQUEST:"vplayer video ad request",AD_IMPRESSION:"vplayer video ad impression",AD_ERROR:"vplayer video ad error",AD_VIEWABLE_IMPRESSION:"vplayer video ad viewable impression",AD_COMPLETE:"vplayer video ad complete",AD_SKIP:"vplayer video ad skip",AD_PAUSE:"vplayer video ad pause",VIDEO_COMPLETE:"vplayer video complete",FULLSCREEN_ON:"vplayer video fullscreen on",FULLSCREEN_OFF:"vplayer video fullscreen off",SEEK:"vplayer video position seeked",VIDEO_MUTE:"vplayer video mute",VIDEO_UNMUTE:"vplayer video unmute",CONTROLS_MUTE_OR_UNMUTE:"controls Mute/Unmute button click",CONTROLS_PLAY_OR_PAUSE:"controls Play/Pause button click",CONTROLS_FULLSCREEN:"controls Fullscreen button click",CONTROLS_NEXT_VIDEO:"controls Next Video button click",CONTROLS_SETTINGS:"controls Settings button click",MINI_PLAYER_CLOSE:"vplayer video miniplayer close",LOADING_CONTENT_ERROR:"vplayer video player error",PLAYER_ERROR:"vplayer general player error",CONTENT_VIEWABLE_IMPRESSION:"vplayer video content viewable impression"},fo="loading ad provider library failed",ho="mid",yo=function e(t,n){var r=this;Ai()(this,e),f()(this,"store",void 0),f()(this,"analyticsEventsCallbacks",void 0),f()(this,"videoMuteSubscriber",void 0),f()(this,"videoFullscreenSubscriber",void 0),f()(this,"onMuteStateChanged",function(e){var t=gn.muted(e),n=hn.currentVideoTimeFragment(e),i=(new uo).setPosition(n).build(),o=t?po.VIDEO_MUTE:po.VIDEO_UNMUTE;r.analyticsEventsCallbacks.onEvent(o,i)}),f()(this,"onFullsScreenStateChanged",function(e){var t=gn.fullscreen(e),n=hn.currentVideoTimeFragment(e),i=(new uo).setPosition(n).build(),o=t?po.FULLSCREEN_ON:po.FULLSCREEN_OFF;r.analyticsEventsCallbacks.onEvent(o,i)}),this.store=t,this.analyticsEventsCallbacks=n,this.videoMuteSubscriber=new ji(t,e.getVideoMuteDependencies,this.onMuteStateChanged.bind(this)),this.videoFullscreenSubscriber=new ji(t,e.getVideoFullscreenDependencies,this.onFullsScreenStateChanged.bind(this))};f()(yo,"getVideoMuteDependencies",function(e){return[gn.muted(e)]}),f()(yo,"getVideoFullscreenDependencies",function(e){return[gn.fullscreen(e)]});var go=n(3),vo=n.n(go),mo=n(8),bo=n.n(mo),Oo=n(9),_o=n.n(Oo),So=n(5),Eo=n.n(So);n(20);var wo={root:null,threshold:.5,rootMargin:"0px"},Po=function(){function e(t,n,r){Ai()(this,e),f()(this,"store",void 0),f()(this,"observableElement",void 0),f()(this,"callback",void 0),f()(this,"isViewableTimeoutHandler",null),f()(this,"observer",void 0),f()(this,"didReport",!1),this.store=t,this.observableElement=n,this.callback=r,this.observer=new IntersectionObserver(this.onIntersecting.bind(this),wo)}return Vi()(e,[{key:"unobserve",value:function(){this.observer.unobserve(this.observableElement),this.clearIsViewableTimeout()}},{key:"observe",value:function(){this.observer.observe(this.observableElement)}},{key:"onPlay",value:function(){this.didReport||this.observe()}},{key:"onPause",value:function(){this.unobserve()}},{key:"onComplete",value:function(){this.didReport=!1,this.unobserve()}},{key:"onIntersecting",value:function(e){var t=e[0].isIntersecting;null===this.isViewableTimeoutHandler&&t?this.isViewableTimeoutHandler=setTimeout(this.notifyViewable.bind(this),2e3):this.clearIsViewableTimeout()}},{key:"clearIsViewableTimeout",value:function(){clearTimeout(this.isViewableTimeoutHandler),this.isViewableTimeoutHandler=null}},{key:"notifyViewable",value:function(){var e=this.store.getState;this.didReport=!0,this.callback(e()),this.unobserve()}}]),e}();function To(e){var t=function(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(e){return!1}}();return function(){var n,r=Eo()(e);if(t){var i=Eo()(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return _o()(this,n)}}var Ao=function(e){bo()(n,e);var t=To(n);function n(e,r,i){var o;return Ai()(this,n),o=t.call(this,e,r,i),f()(vo()(o),"videoTagStatusSubscriber",void 0),f()(vo()(o),"onVideoTagStatusChanged",function(e){var t=hn.videoTagStatus(e);"playing"===t?o.onPlay():"paused"===t||"seeking"===t?o.onPause():"complete"!==t&&"error"!==t||o.onComplete()}),o.videoTagStatusSubscriber=new ji(e,n.getVideoTagStatusDependencies,o.onVideoTagStatusChanged.bind(vo()(o))),o}return n}(Po);f()(Ao,"getVideoTagStatusDependencies",function(e){return[hn.videoTagStatus(e)]});var Co=function e(t,n,r,i){var o=this;Ai()(this,e),f()(this,"store",void 0),f()(this,"videoTagStatusSubscriber",void 0),f()(this,"analyticsEventsCallbacks",void 0),f()(this,"videoViewableImpressionObserver",void 0),f()(this,"firstPlayReportedIndex",-1),f()(this,"loadingStartTime",-1),f()(this,"registerVideoCallbacksIdNeeded",function(e,t){"none"!==hn.playbackMethod(e)&&document.getElementById(En(t)).addEventListener("loadstart",o.onLoadStart.bind(o),{once:!0})}),f()(this,"onLoadStart",function(){o.loadingStartTime=Date.now()}),f()(this,"getFirstPlayLabel",function(e){var t=hn.currentVideoTimeFragment(e),n=hn.currentVideoDuration(e),r=-1===o.loadingStartTime?-1:Date.now()-o.loadingStartTime;return(new uo).setPosition(t).setLoadTime(r).setDuration(n).build()}),f()(this,"onVideoTagStatusChanged",function(e){var t=hn.videoTagStatus(e),n=Cn.activeVideoIndex(e);if(!(n===o.firstPlayReportedIndex)&&"playing"===t){o.firstPlayReportedIndex=n;var r=o.getFirstPlayLabel(e);o.analyticsEventsCallbacks.onEvent(po.FIRST_PLAY,r)}}),f()(this,"reportVideoViewableImpression",function(e){var t=hn.currentVideoTimeFragment(e),n=(new uo).setPosition(t).build();o.analyticsEventsCallbacks.onEvent(po.CONTENT_VIEWABLE_IMPRESSION,n)}),this.store=t,this.analyticsEventsCallbacks=n,this.videoViewableImpressionObserver=new Ao(t,r,this.reportVideoViewableImpression.bind(this)),this.videoTagStatusSubscriber=new ji(t,e.getVideoTagDependencies,this.onVideoTagStatusChanged.bind(this)),this.registerVideoCallbacksIdNeeded(t.getState(),i)};f()(Co,"getVideoTagDependencies",function(e){return[hn.videoTagStatus(e)]});var Ro=[25,50,75,90],Do=function(){function e(){Ai()(this,e),f()(this,"lastReportedPercentage",void 0),this.lastReportedPercentage=0}return Vi()(e,[{key:"clear",value:function(){this.lastReportedPercentage=0}},{key:"updateConsumption",value:function(e,t){var n=e.position,r=e.duration,i=Math.round(n/r*100);i>this.lastReportedPercentage&&this.notifyReportableConsumption(e,i,t)}},{key:"notifyReportableConsumption",value:function(e,t,n){var r=this;Ro.filter(function(e){return e>r.lastReportedPercentage&&e<=t}).forEach(function(t){return n(t,e.position,e.duration)}),this.lastReportedPercentage=t}}]),e}(),Mo=function(){function e(t,n){var r=this;Ai()(this,e),f()(this,"store",void 0),f()(this,"analyticsEventsCallbacks",void 0),f()(this,"videoTimeSubscriber",void 0),f()(this,"videoTagStatusSubscriber",void 0),f()(this,"videoDataStoreSubscriber",void 0),f()(this,"percentageConsumption",void 0),f()(this,"previousVideoTagStatus",void 0),f()(this,"lastPlayedPosition",void 0),f()(this,"getVideoPercentageAction",function(e){switch(e){case 25:return po.COMPLETION_25_PERCENTAGE;case 50:return po.COMPLETION_50_PERCENTAGE;case 75:return po.COMPLETION_75_PERCENTAGE;case 90:return po.COMPLETION_90_PERCENTAGE;default:return""}}),f()(this,"onVideoTimeChanged",function(e){var t=hn.currentVideoDuration(e),n=hn.currentVideoTimeFragment(e);r.percentageConsumption.updateConsumption({position:n,duration:t},r.onVideoTimeReport.bind(r))}),f()(this,"onVideoTagStatusChanged",function(e){var t=hn.videoTagStatus(e),n=hn.currentVideoTimeFragment(e),i=hn.currentVideoDuration(e);if("seeking"===r.previousVideoTagStatus){var o=(new uo).setPosition(n).setPreviousPosition(r.lastPlayedPosition).build();r.analyticsEventsCallbacks.onEvent(po.SEEK,o)}else"seeking"===t&&(r.lastPlayedPosition=n);r.previousVideoTagStatus=t,"complete"===t&&r.onComplete(i)}),f()(this,"onVideoDataChanged",function(){r.percentageConsumption.clear()}),f()(this,"onComplete",function(e){var t=(new uo).setDuration(e).build();r.analyticsEventsCallbacks.onEvent(po.VIDEO_COMPLETE,t),r.percentageConsumption.clear()}),this.store=t,this.analyticsEventsCallbacks=n,this.videoTimeSubscriber=new ji(t,e.getVideoTimeDependencies,this.onVideoTimeChanged.bind(this)),this.videoTagStatusSubscriber=new ji(t,e.getVideoTagStatusDependencies,this.onVideoTagStatusChanged.bind(this)),this.videoDataStoreSubscriber=new ji(t,e.getVideoDataDependencies,this.onVideoDataChanged.bind(this)),this.percentageConsumption=new Do}return Vi()(e,[{key:"onVideoTimeReport",value:function(e,t,n){var r=this.getVideoPercentageAction(e),i=(new uo).setPosition(t).setDuration(n).build();this.analyticsEventsCallbacks.onEvent(r,i)}}]),e}();f()(Mo,"getVideoTimeDependencies",function(e){return[hn.currentVideoTime(e)]}),f()(Mo,"getVideoTagStatusDependencies",function(e){return[hn.videoTagStatus(e)]}),f()(Mo,"getVideoDataDependencies",function(e){return[Cn.videoData(e)]});var Io=function e(t,n,r,i){Ai()(this,e),f()(this,"store",void 0),f()(this,"timeEvents",void 0),f()(this,"videoSettingsEvents",void 0),f()(this,"videoTagStatusEvents",void 0),this.store=t,this.timeEvents=new Mo(t,n),this.videoSettingsEvents=new yo(t,n),this.videoTagStatusEvents=new Co(t,n,r,i)},ko=n(13),No=n.n(ko),Lo=function(){function e(){Ai()(this,e),f()(this,"batteryLevel","N/A"),f()(this,"batteryChargingState",!1),f()(this,"connectionSpeed","N/A"),f()(this,"connectionType","N/A"),this.setConnectionParams()}return Vi()(e,[{key:"setConnectionParams",value:function(){var e=this,t=navigator.connection||navigator.mozConnection||navigator.webkitConnection;t&&(this.updateConnectionParams(t.effectiveType,t.downlink),t.addEventListener("change",function(){return e.updateConnectionParams(t.effectiveType,t.downlink)}))}},{key:"updateConnectionParams",value:function(e,t){this.connectionType=e,this.connectionSpeed=t}},{key:"attach",value:function(){var e=so()(oo.a.mark(function e(){var t,n=this;return oo.a.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if(!navigator.getBattery){e.next=7;break}return e.next=3,navigator.getBattery();case 3:t=e.sent,this.updateBatteryParams(t.level,t.charging),t.ondischargingtimechange=function(e){return n.updateBatteryParams(e.target.level,e.target.charging)},t.onchargingtimechange=function(e){return n.updateBatteryParams(e.target.level,e.target.charging)};case 7:case"end":return e.stop()}},e,this)}));return function(){return e.apply(this,arguments)}}()},{key:"updateBatteryParams",value:function(e,t){this.batteryLevel="".concat(100*e),this.batteryChargingState=t}},{key:"getBatteryLevel",value:function(){return this.batteryLevel}},{key:"getBatteryChargingState",value:function(){return this.batteryChargingState}},{key:"getConnectionSpeed",value:function(){return this.connectionSpeed}},{key:"getConnectionType",value:function(){return this.connectionType}}]),e}(),xo=function(){"undefined"===typeof window["$$mm-analytics"]&&(window["$$mm-analytics"]={});var e=window;return"undefined"===typeof e["$$mm-analytics"].firstEmbed&&(e["$$mm-analytics"].firstEmbed=Date.now()),e["$$mm-analytics"].firstEmbed},Vo=function(){return"time in process=".concat(Date.now()-xo()," milliseconds")},jo=function(){function e(t,n){var r=this;Ai()(this,e),f()(this,"videoTag",null),f()(this,"deviceParams",void 0),f()(this,"trafficDomain",void 0),f()(this,"adTimeoutDuration",void 0),f()(this,"playbackMethod",void 0),f()(this,"configName",void 0),f()(this,"playerUniqKey",void 0),f()(this,"attach",so()(oo.a.mark(function e(){return oo.a.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return r.deviceParams=new Lo,e.next=3,r.deviceParams.attach();case 3:case"end":return e.stop()}},e)}))),f()(this,"translatePlaybackMethod",function(e){switch(e){case"lazyplay":return"scroll to play";case"autoplay":return"auto play";case"autoplay_when_viewable":return"auto play when viewable";case"none":return"click to play";default:return"none"}}),f()(this,"getAdTimeout",function(e){return e?"".concat(qn(e)," sec"):"none"}),f()(this,"getVideoTag",function(){return null===r.videoTag&&(r.videoTag=document.getElementById(En(r.playerUniqKey))),r.videoTag}),f()(this,"getUnitSize",function(){var e=r.getVideoTag();return null!==e?"".concat(e.clientWidth,":").concat(e.clientHeight):"none"}),f()(this,"getBatteryCharging",function(){return r.deviceParams.getBatteryChargingState()?"yes":"no"});var i=t.publisher_contribution,o=t.monetization,a=t.playback_method,s=t.config_name;this.playerUniqKey=n,this.trafficDomain=i,this.adTimeoutDuration=o&&o.ad_request_timeout?this.getAdTimeout(o.ad_request_timeout):"none",this.playbackMethod=this.translatePlaybackMethod(a),this.configName=s}return Vi()(e,[{key:"getDimensions",value:function(){return{mmPlusConfigName:this.configName,mmPlusPlaybackMethod:this.playbackMethod,mmPlusPrePvTimeInProcess:Vo(),mmPlusTrafficDomain:this.trafficDomain,mmPlusUnitSize:this.getUnitSize(),mmPlusUnitType:"video",mmPlusUserBatteryCharging:this.getBatteryCharging(),mmPlusUserBatteryLevel:this.deviceParams.getBatteryLevel(),mmPlusUserConnectionSpeed:this.deviceParams.getConnectionSpeed(),mmPlusUserConnectionType:this.deviceParams.getConnectionType(),mmPlusAdTimeoutDuration:this.adTimeoutDuration}}}]),e}();function Uo(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}function Fo(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Uo(Object(n),!0).forEach(function(t){f()(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Uo(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function Bo(e){var t=function(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(e){return!1}}();return function(){var n,r=Eo()(e);if(t){var i=Eo()(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return _o()(this,n)}}var Ho=function(e){bo()(n,e);var t=Bo(n);function n(e,r){var i,o;return Ai()(this,n),o=t.call(this,e,r),f()(vo()(o),"domain",void 0),f()(vo()(o),"getDimensions",function(){return Fo(Fo({},No()((i=vo()(o),Eo()(n.prototype)),"getDimensions",i).call(i)),{},{mmPlusDomain:o.domain})}),o.domain=window.location.hostname,o}return n}(jo);function qo(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}function Wo(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?qo(Object(n),!0).forEach(function(t){f()(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):qo(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function zo(e){var t=function(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(e){return!1}}();return function(){var n,r=Eo()(e);if(t){var i=Eo()(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return _o()(this,n)}}var Go=function(e){bo()(n,e);var t=zo(n);function n(e,r,i){var o;Ai()(this,n),o=t.call(this,i,r),f()(vo()(o),"store",void 0),f()(vo()(o),"playerUniqId",void 0),f()(vo()(o),"autoPlay",void 0),f()(vo()(o),"streamType",void 0),f()(vo()(o),"gaProperty",void 0),f()(vo()(o),"booleanToYesOrNo",function(e){return e?"yes":"no"}),f()(vo()(o),"getAspectRatio",function(e,t){var r=n.getCommonDenominator(e,t),i=t/r;return"".concat(e/r,":").concat(i)}),f()(vo()(o),"getUnitRadio",function(){var e=o.getVideoTag();if(null!==e){var t=e.clientWidth,n=e.clientHeight;return o.getAspectRatio(t,n)}return"none"}),f()(vo()(o),"getVideoDuration",function(e){var t=Dn.duration(e);return t?"".concat(t," sec"):"none"});var a=i.playback_method,s=i.content_type,u=i.ga_property;return o.store=e,o.playerUniqId=r,o.autoPlay=o.booleanToYesOrNo("none"!==a),o.streamType=s,o.gaProperty=u||o.trafficDomain,o}return Vi()(n,[{key:"getDimensions",value:function(){var e=this.store.getState;return Wo(Wo({},No()(Eo()(n.prototype),"getDimensions",this).call(this)),{},{mmPlusVideoPlayerId:this.playerUniqId,mmPlusUnitId:Dn.mediaId(e())||"none",mmPlusUnitTitle:Dn.title(e())||"none",mmPlusVideoAutoplay:this.autoPlay,mmPlusVideoDuration:this.getVideoDuration(e()),mmPlusVideoStreamType:this.streamType,mmPlusVideoPlaylistId:Cn.mediaId(e())||"none",mmPlusVideoMuted:this.booleanToYesOrNo(gn.muted(e())),mmPlusUnitTags:Dn.tags(e()).toString()||"none",mmPlusUnitOrderNumber:Cn.activeVideoIndex(e()),mmPlusTrafficReferrer:document.referrer,mmPlusUnitProvider:Dn.provider(e())||"none",mmPlusUnitCreator:Dn.creator(e())||"none",mmPlusUnitExternalId:Dn.externalId(e())||"none",mmPlusUnitRatio:this.getUnitRadio(),mmPlusGaProperty:this.gaProperty,mmPlusVideoPlayerType:"vplayer",mmPlusVideoThumbnailsOn:"none",mmPlusVideoClosedCaptionsOn:"none",mmPlusVideoRecommendationsVisible:"none"})}}]),n}(jo);function $o(e){var t=function(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(e){return!1}}();return function(){var n,r=Eo()(e);if(t){var i=Eo()(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return _o()(this,n)}}f()(Go,"getCommonDenominator",function(e,t){for(var n=e,r=t;r;){var i=r;r=n%r,n=i}return n});var Ko=function(e){bo()(n,e);var t=$o(n);function n(e,r,i){var o;return Ai()(this,n),o=t.call(this,e,r,i),f()(vo()(o),"adStatusSubscriber",void 0),f()(vo()(o),"onAdStatusChanged",function(e){var t=_i.adStatus(e);"playing"===t?o.onPlay():"paused"===t?o.onPause():Hi(t)||o.onComplete()}),o.adStatusSubscriber=new ji(e,n.getAdStatusDependencies,o.onAdStatusChanged.bind(vo()(o))),o}return n}(Po);f()(Ko,"getAdStatusDependencies",function(e){return[_i.adStatus(e)]});var Yo=function e(t,n,r){var i=this;Ai()(this,e),f()(this,"store",void 0),f()(this,"analyticsCallback",void 0),f()(this,"adStatusSubscriber",void 0),f()(this,"adImpressionSubscriber",void 0),f()(this,"adProviderLoadingStatusSubscriber",void 0),f()(this,"adViewableImpressionObserver",void 0),f()(this,"initAdBlockChecker",function(t){""===Fi.loadingImaStatus(t.getState())?i.adProviderLoadingStatusSubscriber=new ji(t,e.getAdProviderLoadingStatusDependencies,i.onAdProviderLoadingStatusChanged.bind(i)):i.onAdProviderLoadingStatusChanged(t.getState())}),f()(this,"getAdOrderFromPlayedMidrolls",function(e){return e&&e.length>0?e[e.length-1]:0}),f()(this,"getFullAdLabel",function(e){var t=hn.currentVideoTimeFragment(e),n=_i.adDuration(e),r=_i.playedMidrolls(e),o=_i.slotNumber(e),a=_i.podNumber(e),s=i.getAdOrderFromPlayedMidrolls(r);return(new uo).setAdType(ho).setPosition(t).setAdDuration(n).setAdOrder(s).setAdSlotNumber(o).setAdPodNumber(a).build()}),f()(this,"reportAdBlock",function(){i.analyticsCallback.onEvent(po.AD_BLOCK)}),f()(this,"reportError",function(e){var t=(new uo).setErrorMessage(e).build();i.analyticsCallback.onEvent(po.PLAYER_ERROR,t)}),f()(this,"reportAdRequested",function(e){var t=hn.currentVideoTimeFragment(e),n=_i.playedMidrolls(e),r=i.getAdOrderFromPlayedMidrolls(n),o=(new uo).setPosition(t).setAdOrder(r).build();i.analyticsCallback.onEvent(po.AD_REQUEST,o)}),f()(this,"reportAdImpression",function(e){var t=i.getFullAdLabel(e);i.analyticsCallback.onEvent(po.AD_IMPRESSION,t)}),f()(this,"reportAdError",function(e){var t=_i.adErrorMessage(e),n=_i.slotNumber(e),r=_i.podNumber(e),o=(new uo).setAdType(ho).setErrorMessage(t).setAdPodNumber(r).setAdSlotNumber(n).build();i.analyticsCallback.onEvent(po.AD_ERROR,o)}),f()(this,"reportAdComplete",function(e){var t=i.getFullAdLabel(e);i.analyticsCallback.onEvent(po.AD_COMPLETE,t)}),f()(this,"reportAdSkipped",function(e){var t=i.getFullAdLabel(e);i.analyticsCallback.onEvent(po.AD_SKIP,t)}),f()(this,"reportAdPaused",function(e){var t=i.getFullAdLabel(e);i.analyticsCallback.onEvent(po.AD_PAUSE,t)}),f()(this,"reportAdViewableImpression",function(e){var t=hn.currentVideoTimeFragment(e),n=_i.adDuration(e),r=_i.slotNumber(e),o=_i.podNumber(e),a=(new uo).setPosition(t).setAdType(ho).setAdDuration(n).setAdPodNumber(o).setAdSlotNumber(r).build();i.analyticsCallback.onEvent(po.AD_VIEWABLE_IMPRESSION,a)}),f()(this,"onAdStatusChanged",function(e){var t=_i.adStatus(e);"requested"===t&&i.reportAdRequested(e),"error"===t&&i.reportAdError(e),"completed"===t&&i.reportAdComplete(e),"skipped"===t&&i.reportAdSkipped(e),"paused"===t&&i.reportAdPaused(e)}),f()(this,"onAdProviderLoadingStatusChanged",function(e){var t=Fi.loadingImaStatus(e);"blocked"===t?i.reportAdBlock():"error"===t&&i.reportError(fo)}),f()(this,"onAdImpressionChanged",function(e){i.reportAdImpression(e)}),this.store=t,this.analyticsCallback=n,this.adStatusSubscriber=new ji(t,e.getAdStatusDependencies,this.onAdStatusChanged.bind(this)),this.adImpressionSubscriber=new ji(t,e.getAdImpressionDependencies,this.onAdImpressionChanged.bind(this)),this.adViewableImpressionObserver=new Ko(t,r,this.reportAdViewableImpression.bind(this)),this.initAdBlockChecker(t)};f()(Yo,"getAdProviderLoadingStatusDependencies",function(e){return[Fi.loadingImaStatus(e)]}),f()(Yo,"getAdStatusDependencies",function(e){return[_i.adStatus(e)]}),f()(Yo,"getAdImpressionDependencies",function(e){return[_i.adImpression(e)]});var Zo=pn.userInteraction,Xo=function(e){return Zo(e).userInteractionType},Jo=function e(t,n){var r=this;Ai()(this,e),f()(this,"store",void 0),f()(this,"analyticsCallbacks",void 0),f()(this,"userInteraction",void 0),f()(this,"getLabel",function(e){var t=hn.currentVideoTimeFragment(e);return(new uo).setPosition(t).build()}),f()(this,"reportMuteOrUnmute",function(e){r.analyticsCallbacks.onEvent(po.CONTROLS_MUTE_OR_UNMUTE,r.getLabel(e))}),f()(this,"reportFullscreen",function(e){r.analyticsCallbacks.onEvent(po.CONTROLS_FULLSCREEN,r.getLabel(e))}),f()(this,"reportPlayOrPause",function(e){r.analyticsCallbacks.onEvent(po.CONTROLS_PLAY_OR_PAUSE,r.getLabel(e))}),f()(this,"reportNextVideo",function(e){r.analyticsCallbacks.onEvent(po.CONTROLS_NEXT_VIDEO,r.getLabel(e))}),f()(this,"reportSettings",function(e){r.analyticsCallbacks.onEvent(po.CONTROLS_SETTINGS,r.getLabel(e))}),f()(this,"reportMiniPlayerClosed",function(e){r.analyticsCallbacks.onEvent(po.MINI_PLAYER_CLOSE,r.getLabel(e))}),f()(this,"onUserInteractionChanged",function(e){switch(Xo(e)){case"mute":case"unmute":r.reportMuteOrUnmute(e);break;case"fullscreen":r.reportFullscreen(e);break;case"play":case"pause":r.reportPlayOrPause(e);break;case"settings":r.reportSettings(e);break;case"nextVideo":r.reportNextVideo(e);break;case"closeMiniPlayer":r.reportMiniPlayerClosed(e)}}),this.store=t,this.analyticsCallbacks=n,this.userInteraction=new ji(t,e.getUserInteractionDependencies,this.onUserInteractionChanged.bind(this))};function Qo(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}function ea(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Qo(Object(n),!0).forEach(function(t){f()(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Qo(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}f()(Jo,"getUserInteractionDependencies",function(e){return[Xo(e)]});var ta=function e(t,n,r,i){var o=this;Ai()(this,e),f()(this,"store",void 0),f()(this,"videoEventsReporter",void 0),f()(this,"monetizationEventsReporter",void 0),f()(this,"userInteractionReporter",void 0),f()(this,"eventCustomDimensions",void 0),f()(this,"dataLayer",null),f()(this,"attach",function(){var e=so()(oo.a.mark(function e(t,n,r){return oo.a.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return o.eventCustomDimensions=new Go(t,n,r),e.next=3,o.eventCustomDimensions.attach();case 3:return e.next=5,o.reportReady(t,n,r);case 5:o.reportEmbed();case 6:case"end":return e.stop()}},e)}));return function(t,n,r){return e.apply(this,arguments)}}()),f()(this,"initDataLayer",function(){var e;try{e=$n(window.parent)}catch(t){e=$n(window)}o.dataLayer=window[e]}),f()(this,"reportReady",function(){var e=so()(oo.a.mark(function e(t,n,r){var i;return oo.a.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return i=new Ho(r,n),e.next=3,i.attach();case 3:o.dataLayer.push(ea({event:co},i.getDimensions()));case 4:case"end":return e.stop()}},e)}));return function(t,n,r){return e.apply(this,arguments)}}()),f()(this,"reportEmbed",function(){o.onEvent(po.EMBED)}),f()(this,"onEvent",function(e,t,n,r){var i=r||o.eventCustomDimensions.getDimensions(),a=n||lo;o.dataLayer.push(ea(ea({event:a,mmPlusGA_event_action:e,mmPlusGA_event_label:t,mmPlusGA_event_category:"MMVideo"},i),{},{time:Date.now()}))}),this.store=t,this.initDataLayer(),this.videoEventsReporter=new Io(t,this,i,n),this.monetizationEventsReporter=new Yo(t,this,i),window.monetizationEventsReporter=this.monetizationEventsReporter,this.userInteractionReporter=new Jo(t,this),this.attach(t,n,r)},na=pn.discovery,ra=function(e){return na(e).nextVideo},ia=n(51).version,oa=function e(){var t=this;Ai()(this,e),f()(this,"controlsLoaded",void 0),f()(this,"loadInternalPlugins",function(e,n,r){var i=r.dev_config,o=e.getState,a=i&&!Un(i.pluginsPath)?i.pluginsPath:function(){try{return"https://www.oo-syringe.com/prod/players"}catch(w){return"./dist/bundle"}}();t.loadAnalyticsPlugin(e,n,r),t.loadActionsPlugin(n,a),t.loadMonetizationPlugin(e,n),t.loadControlsPlugin(n,a),t.loadAnchorPlugin(n,a),t.loadComscorePlugin(n,r,a),Sr(o())&&Un(Zn(o()))&&t.loadCloseBarPlugin(n,a),"none"!==ra(o())&&t.loadDiscoveryPlugin(n,a),Un(Zn(o()))||t.loadSplitViewPlugin(n,a)}),f()(this,"loadActionsPlugin",function(e,t){if(window.monti.dataset&&window.monti.dataset.plugins.actionsPlugin)window.monti.dataset.plugins.actionsPlugin(e);else{var n=document.createElement("script");n.setAttribute("type","text/javascript"),n.setAttribute("src","".concat(t,"/mplayer_actions_plugin.").concat(ia,".js")),n.addEventListener("load",function(){window.monti.dataset.plugins.actionsPlugin(e)}),n.addEventListener("error",function(){console.log("ACTIONS PLUGIN LOADER ERROR !")}),document.body.appendChild(n)}}),f()(this,"loadMonetizationPlugin",function(e,t){ro(e,t)}),f()(this,"loadControlsPlugin",function(e,t){if(window.monti.dataset&&window.monti.dataset.plugins.controlsPlugin)window.monti.dataset.plugins.controlsPlugin(e);else{var n=document.createElement("script");n.setAttribute("src","".concat(t,"/mplayer_controls_plugin.").concat(ia,".js")),n.setAttribute("type","text/javascript"),n.addEventListener("load",function(){window.monti.dataset.plugins.controlsPlugin(e)}),n.addEventListener("error",function(){console.log("CONTROLS PLUGIN LOADER ERROR !")}),document.body.appendChild(n)}}),f()(this,"loadAnchorPlugin",function(e,t){if(window.monti.dataset&&window.monti.dataset.plugins.anchorPlugin)window.monti.dataset.plugins.anchorPlugin(e);else{var n=document.createElement("script");n.setAttribute("src","".concat(t,"/mplayer_anchor_plugin.").concat(ia,".js")),n.setAttribute("type","text/javascript"),n.addEventListener("load",function(){window.monti.dataset.plugins.anchorPlugin(e)}),n.addEventListener("error",function(){console.log("ANCHOR PLUGIN LOADER ERROR !")}),document.body.appendChild(n)}}),f()(this,"loadSplitViewPlugin",function(e,t){if(window.monti.dataset&&window.monti.dataset.plugins.splitViewPlugin)window.monti.dataset.plugins.splitViewPlugin(e);else{var n=document.createElement("script");n.setAttribute("src","".concat(t,"/mplayer_split_view_plugin.").concat(ia,".js")),n.setAttribute("type","text/javascript"),n.addEventListener("load",function(){window.monti.dataset.plugins.splitViewPlugin(e)}),n.addEventListener("error",function(){console.log("SPLIT VIEW PLUGIN LOADER ERROR !")}),document.body.appendChild(n)}}),f()(this,"loadComscorePlugin",function(e,t,n){if(window.monti.dataset&&window.monti.dataset.plugins.comscorePlugin)window.monti.dataset.plugins.comscorePlugin(e,t);else{var r=document.createElement("script");r.setAttribute("src","".concat(n,"/mplayer_comscore_plugin.").concat(ia,".js")),r.setAttribute("type","text/javascript"),r.addEventListener("load",function(){window.monti.dataset.plugins.comscorePlugin(e,t)}),r.addEventListener("error",function(){console.log("COMSCORE PLUGIN LOADER ERROR !")}),document.body.appendChild(r)}}),f()(this,"loadAnalyticsPlugin",function(e,t,n){!function(e,t,n){var r=document.getElementById(bn(t));new ta(e,t,n,r)}(e,t,n)}),f()(this,"loadDiscoveryPlugin",function(e,t){if(window.monti.dataset&&window.monti.dataset.plugins.discoveryPlugin)window.monti.dataset.plugins.discoveryPlugin(e);else{var n=document.createElement("script");n.setAttribute("src","".concat(t,"/mplayer_discovery_plugin.").concat(ia,".js")),n.setAttribute("type","text/javascript"),n.addEventListener("load",function(){window.monti.dataset.plugins.discoveryPlugin(e)}),n.addEventListener("error",function(){console.log("DISCOVERY PLUGIN LOADER ERROR !")}),document.body.appendChild(n)}}),f()(this,"loadCloseBarPlugin",function(e,t){if(window.monti.dataset&&window.monti.dataset.plugins.closeBar)window.monti.dataset.plugins.closeBarPlugin(e);else{var n=document.createElement("script");n.setAttribute("src","".concat(t,"/mplayer_close_bar_plugin.").concat(ia,".js")),n.setAttribute("type","text/javascript"),n.addEventListener("load",function(){window.monti.dataset.plugins.closeBarPlugin(e)}),n.addEventListener("error",function(){console.log("CLOSE BAR PLUGIN LOADER ERROR !")}),document.body.appendChild(n)}}),this.controlsLoaded=!1};function aa(e){return function(t){var n=t.dispatch,r=t.getState;return function(t){return function(i){return"function"===typeof i?i(n,r,e):t(i)}}}}f()(oa,"instance",void 0),f()(oa,"getInstance",function(){return oa.instance||(oa.instance=new oa),oa.instance});var sa=aa();sa.withExtraArgument=aa;var ua=sa;function ca(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}function la(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?ca(Object(n),!0).forEach(function(t){f()(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):ca(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}var da={loadingHLSStatus:"",loadingImaStatus:""};function pa(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}function fa(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?pa(Object(n),!0).forEach(function(t){f()(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):pa(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}var ha={playerId:"",playerInstanceUniqId:null,playbackMethod:"none",videoTagStatus:"idle",pendingVideoTagStatus:{type:null,value:null},currentVideoTime:0,currentVideoTimeFragment:0,currentVideoBufferedTime:0,currentVideoDuration:0,playerMode:"desktop",playerVisibility:0,playerPlaceholderVisibility:0,playerSettings:{muted:!0,volume:.5,speed:1,quality:"Auto",selectedSettingsCategory:"",fullscreen:{pendingFullscreenRequest:"",isFullscreenOn:!1}},loader:{showBlackScreen:!1},playerSize:"",errorMessage:"",loadingPlayer:!1};function ya(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}function ga(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?ya(Object(n),!0).forEach(function(t){f()(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):ya(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}var va={showVoltaxLogo:!0,brandingLogoSrc:"",brandingLogoUrl:"",brandingColor:null};function ma(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}function ba(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?ma(Object(n),!0).forEach(function(t){f()(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):ma(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}var Oa={orientation:"right",canClose:!0,anchorData:{anchorEnabled:!1,anchorDisabledByUser:!1,anchorStatus:"inactive"},closableAd:!0,continueStreaming:!1,anchoringAppearance:"below",stickyBelowClassName:"",width:"",closeAfter:10,margins:{top:10,bottom:10,left:10,right:10}};function _a(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}function Sa(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?_a(Object(n),!0).forEach(function(t){f()(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):_a(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}var Ea,wa={continuePlayingWhileWaitingForAd:!1,midrolls:{},prerollEnabled:!1,vpaidMode:"ENABLED",adRequestTimeout:1e4,adsData:{podNumber:0,slotNumber:0,adType:null,adTagUrlTemplate:null,adErrorMessage:null,adDuration:0,adCurrentTime:0,adOrder:0,adStatus:"",pendingAdStatus:{type:""},playedMidrolls:[],adImpression:0,adOpportunity:0,isVastAd:!1,adMuted:!0,adVolume:.5,currentAdTag:null,adUnit:"",loadingAd:!1}},Pa=n(32),Ta=n.n(Pa);!function(e){e.POST="post",e.GET="get",e.DELETE="delete",e.PUT="put",e.PATCH="patch",e.HEAD="head",e.OPTIONS="options"}(Ea||(Ea={}));var Aa=function(){function e(){Ai()(this,e)}return Vi()(e,null,[{key:"preformRequest",value:function(e,t){return new Promise(function(n,r){Ta()({method:e,url:t}).then(function(e){var t=e.data;n(t)}).catch(function(e){r(e)})})}},{key:"preformGet",value:function(e){return this.preformRequest(Ea.GET,e)}}]),e}();f()(Aa,"HTTP_STATUS_CODES",{OK:200,UNAUTHORIZED:401,INTERNAL_SERVER_ERROR:500,BAD_REQUEST:400,NOT_FOUND:404,CONFLICT:409});var Ca=function(){function e(){Ai()(this,e)}return Vi()(e,null,[{key:"getSemanticPlaylistUrl",value:function(e,t,n){if(n&&!Un(n.semantic_url))return n.semantic_url;var r=function(e){for(var t="",n=0,r=0;r<e.length;r+=1)n=e.charCodeAt(r)+2,t+=String.fromCharCode(n);return encodeURIComponent(encodeURIComponent(t))}(e.split("?")[0]),i="".concat(function(){try{return"https://semantic-matching.minutemediaservices.com/semantic-feed"}catch(w){return"https://semantic-matching.minutemediaservices.com/semantic-feed"}}(),"/").concat(r),o="?";return Un(t.minimumDateFactor)||(i="".concat(i).concat(o,"minimum_date_factor=").concat(t.minimumDateFactor),o="&"),Un(t.tags)||(i="".concat(i).concat(o,"tags=").concat(t.tags),o="&"),Un(t.scopedKeywords)||(i="".concat(i).concat(o,"scoped_keywords=").concat(t.scopedKeywords),o="&"),Un(t.scannedElement)||Un(t.scannedElementType)||(i="".concat(i).concat(o,"article_container=").concat(function(e,t){switch(t){case"id":return"".concat("#").concat(e);case"className":return e.split(" ").map(function(e){return"".concat(".").concat(e)}).join("");default:return"".concat("").concat(e)}}(t.scannedElement,t.scannedElementType)),o="&"),Un(t.scanImagesOnPage)||(i="".concat(i).concat(o,"scan_images=").concat(String(t.scanImagesOnPage))),i}},{key:"getSpecificPlaylistUrl",value:function(e,t){return t&&!Un(t.playlist_url)?t.playlist_url:"".concat("https://vms-videos.minutemediaservices.com","/").concat(e,"/").concat(e,".json")}}]),e}(),Ra=function(e,t){var n=e.findIndex(function(e){return e.type===t});return n>=0?e[n].file:""},Da=function(){function e(){Ai()(this,e)}return Vi()(e,null,[{key:"getSemanticPlaylist",value:function(e,t){var n=window.location.href,r=Ca.getSemanticPlaylistUrl(n,e,t);return Aa.preformGet(r)}},{key:"getSpecificPlaylist",value:function(e,t){var n=Ca.getSpecificPlaylistUrl(e,t);return Aa.preformGet(n)}}]),e}();f()(Da,"getPromotedVideos",function(){var e=so()(oo.a.mark(function e(t){var n;return oo.a.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return n=t.map(function(e){return Da.getSpecificPlaylist(e).then(function(e){return e.data}).catch(function(){return[]})}),e.abrupt("return",new Promise(function(e){Promise.all(n).then(function(t){var n=t.reduce(function(e,t){return e.concat(t)},[]);n.length>0&&e(n)})}));case 2:case"end":return e.stop()}},e)}));return function(t){return e.apply(this,arguments)}}());var Ma=function(e,t){return function(n){n({type:"[CORE] load video request success",payload:e.data.map(function(e,n){return{mediaId:e.payload_id,tags:e.tags,sources:e.sources,duration:e.duration,thumbnail:e.image,title:t?e.title:"",description:e.description,creator:e.creator,provider:e.video_provider,externalId:e.external_id,index:n}})})}},Ia=function(e){return function(t){t({type:"[CORE] load video request error",payload:e})}},ka=function(e,t,n){return function(){var r=so()(oo.a.mark(function r(i){var o;return oo.a.wrap(function(r){for(;;)switch(r.prev=r.next){case 0:return i({type:"[CORE] load video request"}),r.prev=1,r.next=4,Da.getSpecificPlaylist(e,n);case 4:o=r.sent,Ma(o,t)(i),r.next=11;break;case 8:r.prev=8,r.t0=r.catch(1),Ia(Xn.GENERAL_ERROR)(i);case 11:case"end":return r.stop()}},r,null,[[1,8]])}));return function(e){return r.apply(this,arguments)}}()},Na=function(e,t,n){return function(){var r=so()(oo.a.mark(function r(i){var o,a;return oo.a.wrap(function(r){for(;;)switch(r.prev=r.next){case 0:if(i({type:"[CORE] load video request"}),o=[],r.prev=2,!(Array.isArray(e.promotedVideos)&&e.promotedVideos.length>0)){r.next=7;break}return r.next=6,Da.getPromotedVideos(e.promotedVideos);case 6:o=r.sent;case 7:return r.next=9,Da.getSemanticPlaylist(e,n);case 9:(a=r.sent).data=o.concat(a.data),Ma(a,t)(i),r.next=17;break;case 14:r.prev=14,r.t0=r.catch(2),o.length>0?Ma({data:o},t)(i):Ia(Xn.GENERAL_ERROR)(i);case 17:case"end":return r.stop()}},r,null,[[2,14]])}));return function(e){return r.apply(this,arguments)}}()},La=function(e,t){return function(n){n({type:"[CORE] set current video",payload:{index:e,videoData:t}})}};function xa(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}function Va(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?xa(Object(n),!0).forEach(function(t){f()(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):xa(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}var ja={activeVideoIndex:0,mediaType:"semantic",mediaId:"",loadingMedia:!1,mediaLoadingError:"",mediaRequest:{type:null,value:""},videoList:[],videoData:{mediaId:"",tags:[],sources:[],duration:0,thumbnail:"",title:"",showTitle:!0,description:"",creator:"",provider:"",externalId:"",index:0}};function Ua(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}function Fa(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Ua(Object(n),!0).forEach(function(t){f()(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Ua(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}var Ba={promotedVideos:[],scannedElement:"",tags:"",scopedKeywords:"",minimumDateFactor:"",scannedElementType:null,scanImagesOnPage:!1};function Ha(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}function qa(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Ha(Object(n),!0).forEach(function(t){f()(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Ha(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}var Wa={userInteractionType:""};function za(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}function Ga(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?za(Object(n),!0).forEach(function(t){f()(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):za(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}var $a={splitViewRatio:null};function Ka(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}function Ya(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Ka(Object(n),!0).forEach(function(t){f()(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Ka(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}var Za={nextVideo:"none",showUpNext:!1,showSkippableContent:!1},Xa=function(e){return"none"===e?"none":"up_next"===e?"upNext":"skippable_content"===e?"skippableContent":"none"},Ja=function(e){for(var t=Object.keys(e),n={},r=0;r<t.length;r++){var i=t[r];"function"===typeof e[i]&&(n[i]=e[i])}var o,a=Object.keys(n);try{!function(e){Object.keys(e).forEach(function(t){var n=e[t];if("undefined"===typeof n(void 0,{type:yt.INIT}))throw new Error('Reducer "'+t+"\" returned undefined during initialization. If the state passed to the reducer is undefined, you must explicitly return the initial state. The initial state may not be undefined. If you don't want to set a value for this reducer, you can use null instead of undefined.");if("undefined"===typeof n(void 0,{type:yt.PROBE_UNKNOWN_ACTION()}))throw new Error('Reducer "'+t+"\" returned undefined when probed with a random type. Don't try to handle "+yt.INIT+' or other actions in "redux/*" namespace. They are considered private. Instead, you must return the current state for any unknown actions, unless it is undefined, in which case you must return the initial state, regardless of the action type. The initial state may not be undefined, but can be null.')})}(n)}catch(s){o=s}return function(e,t){if(void 0===e&&(e={}),o)throw o;for(var r=!1,i={},s=0;s<a.length;s++){var u=a[s],c=n[u],l=e[u],d=c(l,t);if("undefined"===typeof d){var p=mt(u,t);throw new Error(p)}i[u]=d,r=r||d!==l}return(r=r||a.length!==Object.keys(e).length)?i:e}}({dependenciesLoadingStatus:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:da,t=arguments.length>1?arguments[1]:void 0;switch(t.type){case"[CORE] update hls status":return la(la({},e),{},{loadingHLSStatus:t.payload});case"[CORE] update ima status":return la(la({},e),{},{loadingImaStatus:t.payload});default:return e}},playerData:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:ha,t=arguments.length>1?arguments[1]:void 0;switch(t.type){case"[CORE] initiate store":var n=t.payload;return fa({},function(e,t,n){var r=t.playback_method,i=t.player_id;return fa(fa({},e),{},{playbackMethod:Un(r)?e.playbackMethod:r,playerId:Un(i)?e.playerId:i,playerInstanceUniqId:n,playerMode:Fn()?"mobile":"desktop"})}(e,n.initiateParams,n.playerInstanceUniqId));case"[CORE] reset player data time params":return fa(fa({},e),{},{currentVideoTimeFragment:0,currentVideoBufferedTime:0,currentVideoDuration:0,currentVideoTime:0});case"[COMMON] set mute video":return fa(fa({},e),{},{playerSettings:fa(fa({},e.playerSettings),{},{muted:t.payload})});case"[COMMON] set volume":return fa(fa({},e),{},{playerSettings:fa(fa({},e.playerSettings),{},{volume:t.payload})});case"[COMMON] change selected settings category":return fa(fa({},e),{},{playerSettings:fa(fa({},e.playerSettings),{},{selectedSettingsCategory:t.payload})});case"[COMMON] change settings speed":return fa(fa({},e),{},{playerSettings:fa(fa({},e.playerSettings),{},{speed:t.payload})});case"[COMMON] change settings quality":return fa(fa({},e),{},{playerSettings:fa(fa({},e.playerSettings),{},{quality:t.payload})});case"[COMMON] set fullscreen":return fa(fa({},e),{},{playerSettings:fa(fa({},e.playerSettings),{},{fullscreen:fa(fa({},e.playerSettings.fullscreen),{},{isFullscreenOn:t.payload,pendingFullscreenRequest:""})})});case"[COMMON] set fullscreen request":return fa(fa({},e),{},{playerSettings:fa(fa({},e.playerSettings),{},{fullscreen:fa(fa({},e.playerSettings.fullscreen),{},{pendingFullscreenRequest:t.payload})})});case"[COMMON] set pending video status":var r=t.payload.pendingStatusObject;return fa(fa({},e),{},{pendingVideoTagStatus:fa({},r)});case"[COMMON] set player mode":return fa(fa({},e),{},{playerMode:t.payload});case"[CORE] update video current fragment position":return fa(fa({},e),{},{currentVideoTimeFragment:t.payload});case"[CORE] update video current position":return fa(fa({},e),{},{currentVideoTime:t.payload});case"[CORE] update video current buffered time":return fa(fa({},e),{},{currentVideoBufferedTime:t.payload});case"[CORE] update video current duration":return fa(fa({},e),{},{currentVideoDuration:t.payload});case"[CORE] change video tag status":return fa(fa({},e),{},{videoTagStatus:t.payload});case"[CORE] update player visibility":return fa(fa({},e),{},{playerVisibility:t.payload});case"[CORE] update placeholder visibility":return fa(fa({},e),{},{playerPlaceholderVisibility:t.payload});case"[CORE] change loading player status":return fa(fa({},e),{},{loadingPlayer:t.payload});case"[COMMON] show black screen with loader":return fa(fa({},e),{},{loader:fa(fa({},e.loader),{},{showBlackScreen:t.payload})});case"[CORE] set player size":return fa(fa({},e),{},{playerSize:t.payload});case"[COMMON] set error message":return fa(fa({},e),{},{errorMessage:t.payload});default:return e}},brandingData:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:va,t=arguments.length>1?arguments[1]:void 0;switch(t.type){case"[CORE] initiate store":return ga({},function(e,t){var n=t.powered_by_strip,r=t.brand_logo,i=t.brand_logo_click_url,o=t.brand_color;return ga(ga({},e),{},{showVoltaxLogo:Un(n)?e.showVoltaxLogo:n,brandingLogoSrc:Un(r)?e.brandingLogoSrc:r,brandingLogoUrl:Un(i)?e.brandingLogoUrl:i,brandingColor:Un(o)?e.brandingColor:o})}(e,t.payload.initiateParams));default:return e}},anchorOptions:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:Oa,t=arguments.length>1?arguments[1]:void 0;switch(t.type){case"[CORE] initiate store":return ba({},function(e,t){var n=t.anchor_options;if(!Un(n)){var r=n.anchoring_appearance,i=n.can_close,o=n.closable_ad,a=n.close_after,s=n.continue_streaming,u=n.orientation,c=n.margins,l=n.sticky_below_class_name,d=n.width,p=Un(c)?e.margins:{top:Number.isInteger(c.top)?c.top:e.margins.top,bottom:Number.isInteger(c.bottom)?c.bottom:e.margins.bottom,left:Number.isInteger(c.left)?c.left:e.margins.left,right:Number.isInteger(c.right)?c.right:e.margins.right};return ba(ba({},e),{},{anchoringAppearance:r||e.anchoringAppearance,canClose:Un(i)?e.canClose:i,orientation:Un(u)?e.orientation:u,closableAd:Un(o)?e.closableAd:o,closeAfter:Un(a)?e.closeAfter:a,continueStreaming:Un(s)?e.continueStreaming:s,stickyBelowClassName:Un(l)?e.stickyBelowClassName:l,width:Un(d)?e.width:d,margins:p,anchorData:ba(ba({},e.anchorData),{},{anchorEnabled:!0})})}return e}(e,t.payload.initiateParams));case"[COMMON] set anchor enable":return ba(ba({},e),{},{anchorData:ba(ba({},e.anchorData),{},{anchorEnabled:t.payload})});case"[ANCHOR] update is anchor status":return ba(ba({},e),{},{anchorData:ba(ba({},e.anchorData),{},{anchorStatus:t.payload})});case"[COMMON] set anchor disabled by user":return ba(ba({},e),{},{anchorData:ba(ba({},e.anchorData),{},{anchorDisabledByUser:t.payload})});default:return e}},monetization:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:wa,t=arguments.length>1?arguments[1]:void 0;switch(t.type){case"[CORE] initiate store":return Sa({},function(e,t){var n=t.monetization;if(Un(n))return e;var r=n.ad_tag,i=n.ad_type,o=n.vpaid_mode,a=n.ad_request_timeout,s=n.continue_content_play_while_waiting_for_ad,u=n.midrolls,c=u&&u.on&&u.on.sort(Wn),l=Un(s)?e.continuePlayingWhileWaitingForAd:s,d=c?c.indexOf(0):-1,p=-1!==d&&!l;return p&&(c=c.splice(d,1)),Sa(Sa({},e),{},{midrolls:Sa(Sa({},e.midrolls),{},{every:u&&u.every,on:c}),prerollEnabled:p,adRequestTimeout:Un(a)?e.adRequestTimeout:parseInt(a,10),vpaidMode:Un(o)?e.vpaidMode:o,continuePlayingWhileWaitingForAd:l,adsData:Sa(Sa({},e.adsData),{},{adType:Un(i)?e.adsData.adType:i,adTagUrlTemplate:Un(r)?e.adsData.adTagUrlTemplate:r})})}(e,t.payload.initiateParams));case"[COMMON] set new ad tag url template":return Sa(Sa({},e),{},{adsData:Sa(Sa({},e.adsData),{},{adTagUrlTemplate:t.payload})});case"[MONETIZATION] change ad status":return Sa(Sa({},e),{},{adsData:Sa(Sa({},e.adsData),{},{adStatus:t.payload,adErrorMessage:null})});case"[MONETIZATION] change ad tag":var n=t.payload,r=n.adUnit,i=n.adTag;return Sa(Sa({},e),{},{adsData:Sa(Sa({},e.adsData),{},{currentAdTag:i,adUnit:r})});case"[MONETIZATION] change pending ad status":return Sa(Sa({},e),{},{adsData:Sa(Sa({},e.adsData),{},{pendingAdStatus:t.payload})});case"[MONETIZATION] change ad error":return Sa(Sa({},e),{},{adsData:Sa(Sa({},e.adsData),{},{adStatus:"error",adErrorMessage:t.payload})});case"[MONETIZATION] increase ad impression counter":var o=e.adsData.adImpression;return Sa(Sa({},e),{},{adsData:Sa(Sa({},e.adsData),{},{adImpression:o+1})});case"[MONETIZATION] increase ad Opportunity counter":var a=e.adsData.adOpportunity;return Sa(Sa({},e),{},{adsData:Sa(Sa({},e.adsData),{},{adOpportunity:a+1})});case"[MONETIZATION] add played midroll number":var s=e.adsData.playedMidrolls,u=In()(s);return u.push(t.payload),Sa(Sa({},e),{},{adsData:Sa(Sa({},e.adsData),{},{adOrder:t.payload,playedMidrolls:u})});case"[MONETIZATION] clear played midrolls":return Sa(Sa({},e),{},{adsData:Sa(Sa({},e.adsData),{},{playedMidrolls:[]})});case"[MONETIZATION] clear ad data":return Sa(Sa({},e),{},{adsData:Sa(Sa({},e.adsData),{},{adOrder:0,currentAdTag:null,adDuration:0,adUnit:""})});case"[MONETIZATION] change ad duration":return Sa(Sa({},e),{},{adsData:Sa(Sa({},e.adsData),{},{adDuration:t.payload})});case"[MONETIZATION] update is vast ad":return Sa(Sa({},e),{},{adsData:Sa(Sa({},e.adsData),{},{isVastAd:t.payload})});case"[MONETIZATION] change ad current time":return Sa(Sa({},e),{},{adsData:Sa(Sa({},e.adsData),{},{adCurrentTime:t.payload})});case"[MONETIZATION] update ad muted":return Sa(Sa({},e),{},{adsData:Sa(Sa({},e.adsData),{},{adMuted:t.payload})});case"[MONETIZATION] change ad volume":return Sa(Sa({},e),{},{adsData:Sa(Sa({},e.adsData),{},{adVolume:t.payload})});case"[MONETIZATION] change pod info":var c=t.payload,l=c.podNumber,d=c.slotNumber;return Sa(Sa({},e),{},{adsData:Sa(Sa({},e.adsData),{},{podNumber:l,slotNumber:d})});case"[MONETIZATION] change loading ad status":return Sa(Sa({},e),{},{adsData:Sa(Sa({},e.adsData),{},{loadingAd:t.payload})});default:return e}},mediaData:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:ja,t=arguments.length>1?arguments[1]:void 0;switch(t.type){case"[CORE] initiate store":return Va({},function(e,t){var n=t.content_type,r=t.media_id,i=t.display_title;return Va(Va({},e),{},{mediaType:Un(n)?e.mediaType:n,mediaId:Un(r)?e.mediaId:r,videoData:Va(Va({},e.videoData),{},{showTitle:!!Un(i)||i})})}(e,t.payload.initiateParams));case"[CORE] load video request":return Va(Va({},e),{},{loadingMedia:!0});case"[CORE] load video request success":return Va(Va({},e),{},{loadingMedia:!1,videoList:t.payload});case"[CORE] set current video":var n=t.payload,r=n.index,i=n.videoData;return Va(Va({},e),{},{activeVideoIndex:r,videoData:i});case"[CORE] load video request error":return Va(Va({},e),{},{loadingMedia:!1,mediaLoadingError:t.payload});case"[COMMON] media request":var o=t.payload.mediaRequestObject;return Va(Va({},e),{},{mediaRequest:Va({},o)});default:return e}},semanticOptions:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:Ba,t=arguments.length>1?arguments[1]:void 0;switch(t.type){case"[CORE] initiate store":return Fa({},function(e,t){var n=t.semantic_options;if(Un(n))return e;var r=n.minimum_date_factor,i=n.promoted_videos,o=n.scan_images_on_page,a=n.scanned_element,s=n.scanned_element_type,u=n.scoped_keywords,c=n.tags;return Fa(Fa({},e),{},{minimumDateFactor:Un(r)?e.minimumDateFactor:r,promotedVideos:Un(i)?e.promotedVideos:i,scanImagesOnPage:Un(o)?e.scanImagesOnPage:o,scannedElement:Un(a)?e.scannedElement:a,scannedElementType:Un(s)?e.scannedElementType:s,scopedKeywords:Un(u)?e.scopedKeywords:u,tags:Un(c)?e.tags:c})}(e,t.payload.initiateParams));default:return e}},userInteraction:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:Wa,t=arguments.length>1?arguments[1]:void 0;switch(t.type){case"[USER INTERACTION] change user interaction":return qa(qa({},e),{},{userInteractionType:t.payload});default:return e}},splitView:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:$a,t=arguments.length>1?arguments[1]:void 0;switch(t.type){case"[CORE] initiate store":return Ga({},function(e,t){var n=t.anchor_options;if(!Un(n)){var r=n.split_view,i=n.split_view_ratio;return Ga(Ga({},e),{},{splitViewRatio:Un(r)||!r||Un(i)?e.splitViewRatio:i})}return e}(e,t.payload.initiateParams));default:return e}},discovery:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:Za,t=arguments.length>1?arguments[1]:void 0;switch(t.type){case"[CORE] initiate store":return Ya({},function(e,t){var n=t.next_video;return Un(n)?e:Ya(Ya({},e),{},{nextVideo:Xa(n)})}(e,t.payload.initiateParams));case"[DISCOVERY] show up next":return Ya(Ya({},e),{},{showUpNext:t.payload});case"[DISCOVERY] show skippable content":return Ya(Ya({},e),{},{showSkippableContent:t.payload});default:return e}}}),Qa=[],es=!1,ts=function e(){return function(t){return function(n){if(es)return Qa.push(n),null;es=!0;var r=t(n);return es=!1,Qa.length>0&&e()(t)(Qa.shift()),r}}},ns=function(e){var t=[];if(function(e){return!Un(e)&&!Un(e.enable_redux_debugging)&&e.enable_redux_debugging}(e)){var n=window&&window.__REDUX_DEVTOOLS_EXTENSION__&&window.__REDUX_DEVTOOLS_EXTENSION__();"function"===typeof n&&t.push(n)}var r=Et.apply(void 0,[wt(ua,ts)].concat(t));return vt(Ja,r)},rs=function(){function e(t){Ai()(this,e),f()(this,"playerVisibilitySubscriber",void 0),f()(this,"videoTagStatusSubscriber",void 0),f()(this,"shouldPlayIfLazyplay",!0),f()(this,"shouldPlayIfAutoplayWhenViewable",!0),f()(this,"videoPausedByObserver",!1),this.store=t,this.playerVisibilitySubscriber=null,this.videoTagStatusSubscriber=null,this.playAccordingToPlaybackMethod()}return Vi()(e,[{key:"lazyplayHandler",value:function(e){hn.playerVisibility(e)>=.5&&(this.playVideo(),this.shouldPlayIfLazyplay=!1)}},{key:"autoplayWhenViewableHandler",value:function(e){hn.playerVisibility(e)>=.5?this.playVideo():this.pauseVideo()}},{key:"onPlayerVisibilityChanged",value:function(e){var t=hn.playbackMethod(e);"lazyplay"===t&&this.shouldPlayIfLazyplay&&this.lazyplayHandler(e),"autoplay_when_viewable"===t&&this.shouldPlayIfAutoplayWhenViewable&&this.autoplayWhenViewableHandler(e)}},{key:"onVideoTagStatusChanged",value:function(e){var t=hn.videoTagStatus(e);"paused"!==t||this.videoPausedByObserver||(this.shouldPlayIfAutoplayWhenViewable=!1),"playing"===t&&(this.shouldPlayIfAutoplayWhenViewable=!0,this.videoPausedByObserver=!1)}},{key:"initiatePlayerVisibilitySubscriber",value:function(){this.playerVisibilitySubscriber=new ji(this.store,e.getPlayerVisibilityDependencies,this.onPlayerVisibilityChanged.bind(this))}},{key:"initiateVideoTagStatusSubscriber",value:function(){this.videoTagStatusSubscriber=new ji(this.store,e.getVideoTagStatusDependencies,this.onVideoTagStatusChanged.bind(this))}},{key:"playVideo",value:function(){var e=this.store,t=e.dispatch,n=e.getState;"idle"===hn.videoTagStatus(n())?on("play")(t):on("resume")(t)}},{key:"pauseVideo",value:function(){var e=this.store,t=e.dispatch,n=e.getState;"paused"!==hn.videoTagStatus(n())&&(this.videoPausedByObserver=!0,on("pause")(t))}},{key:"playAccordingToPlaybackMethod",value:function(){var e=this.store,t=e.dispatch,n=(0,e.getState)();switch(hn.playbackMethod(n)){case"autoplay":this.playVideo();break;case"lazyplay":this.initiatePlayerVisibilitySubscriber();break;case"autoplay_when_viewable":this.initiatePlayerVisibilitySubscriber(),this.initiateVideoTagStatusSubscriber();break;case"none":an(!1)(t)}}}],[{key:"getPlayerVisibilityDependencies",value:function(e){return[hn.playerVisibility(e)]}},{key:"getVideoTagStatusDependencies",value:function(e){return[hn.videoTagStatus(e)]}}]),e}(),is=function(){function e(t,n,r,i){var o=this;Ai()(this,e),f()(this,"videoStatusSubscriber",void 0),f()(this,"videoListSubscriber",void 0),f()(this,"mediaRequestSubscriber",void 0),f()(this,"playerVisibilitySubscriber",void 0),f()(this,"playbackMethodManager",void 0),f()(this,"store",void 0),f()(this,"loadContent",function(e,t,n,r){o.loadMedia(t,n,r).then(function(){o.playbackMethodManager=new rs(e)})}),f()(this,"loadMedia",function(e,t,n){var r=o.store,i=r.dispatch,a=r.getState,s=Dn.showTitle(a());if("semantic"===e){var u=pn.semanticOptions(a());return Na(u,s,n)(i)}return ka(t,s,n)(i)}),this.store=t,this.videoStatusSubscriber=new ji(t,e.getVideoStatusDependencies,this.onVideoStatusChanged.bind(this)),this.videoListSubscriber=new ji(t,e.getVideoListDependencies,this.onVideoListChanged.bind(this)),this.mediaRequestSubscriber=new ji(t,e.getMediaRequestDependencies,this.onMediaRequestChanged.bind(this)),this.playerVisibilitySubscriber=null,this.loadContent(t,r,n,i)}return Vi()(e,null,[{key:"createInstance",value:function(t,n,r,i){return new e(t,n,r,i)}}]),Vi()(e,[{key:"playNextVideo",value:function(e){var t=this.store.dispatch,n=Cn.videoList(e),r=Cn.activeVideoIndex(e)+1;n.length>1&&r>=n.length&&(r=0),r<n.length&&(!function(e){e({type:"[CORE] reset player data time params"})}(t),La(r,n[r])(t),on("play")(t))}},{key:"playPreviousVideo",value:function(e){var t=this.store.dispatch,n=Cn.videoList(e),r=Cn.activeVideoIndex(e);if(r>0){var i=r-1;La(i,n[i])(t),on("play")(t)}}},{key:"onVideoStatusChanged",value:function(e){"complete"===hn.videoTagStatus(e)&&this.playNextVideo(e)}},{key:"onVideoListChanged",value:function(e){var t=this.store.dispatch,n=Cn.videoList(e);!jn(n)&&n.length>0&&La(0,n[0])(t)}},{key:"onMediaRequestChanged",value:function(e){var t=Cn.mediaRequest(e);switch(t.type){case"playNewVideo":this.loadMedia("specific",t.value);break;case"playNextVideo":this.playNextVideo(e);break;case"playPreviousVideo":this.playPreviousVideo(e)}}}],[{key:"getVideoStatusDependencies",value:function(e){return[hn.videoTagStatus(e)]}},{key:"getVideoListDependencies",value:function(e){return[Cn.videoList(e)]}},{key:"getMediaRequestDependencies",value:function(e){return[Cn.mediaRequest(e)]}}]),e}(),os=function e(t){var n=this;Ai()(this,e),f()(this,"store",void 0),f()(this,"onDependencyFailure",function(e,t){console.log("onDependencyFailure",e,t);var r=n.store,i=r.dispatch,o=r.getState;switch(e){case"ima":"blocked"!==Fi.loadingImaStatus(o())&&Qn("error")(i);break;case"hls":er("error")(i)}}),f()(this,"onDependencyReady",function(e){var t=n.store.dispatch;switch(e){case"ima":Qn("success")(t);break;case"hls":er("success")(t)}}),this.store=t},as=function(e){return function(t){t({type:"[COMMON] set fullscreen",payload:e})}},ss=function(){function e(t,n){var r=this;Ai()(this,e),f()(this,"store",void 0),f()(this,"videoTag",void 0),f()(this,"pendingFullscreenSubscriber",void 0),f()(this,"adStatusSubscriber",void 0),f()(this,"playerUniqId",void 0),f()(this,"onAdStatusChanged",function(e){var t=_i.adStatus(e),n=r.videoTag.webkitDisplayingFullscreen;"playing"===t&&Bn()&&n&&r.exitFullscreen(r.videoTag)}),f()(this,"isPlayerInFullscreen",function(){var e=document,t=Bn()?En(r.playerUniqId):bn(r.playerUniqId);return Un(e.fullscreenElement)?!Un(e.webkitFullscreenElement)&&0===e.webkitFullscreenElement.id.localeCompare(t):0===e.fullscreenElement.id.localeCompare(t)}),f()(this,"changePlayerWidth",function(e){r.videoTag.style.width=e?"100%":"auto"}),f()(this,"onFullscreenChanged",function(){var e=r.store.dispatch,t=r.isPlayerInFullscreen();r.changePlayerWidth(t),as(t)(e)}),f()(this,"onFullscreenChangedIos",function(){var e=r.store.dispatch,t=r.videoTag.webkitDisplayingFullscreen;t||on("resume")(e),r.changePlayerWidth(t),as(t)(e)}),f()(this,"onPendingFullscreenRequestChanged",function(e){var t=gn.pendingFullscreenRequest(e);"enter"===t?r.enterFullscreen(r.videoTag):"exit"===t&&r.exitFullscreen(r.videoTag)}),f()(this,"getFullScreenElement",function(e,t){var n=document.getElementById(bn(r.playerUniqId));return Bn()?t:e?document:n}),f()(this,"enterFullscreen",function(e){var t=r.getFullScreenElement(!1,e);Bn()?t.webkitEnterFullscreen():document.webkitExitFullscreen?t.webkitRequestFullscreen():document.webkitCancelFullScreen?t.webkitRequestFullScreen():document.mozCancelFullScreen?t.mozRequestFullScreen():document.msExitFullscreen&&t.msRequestFullscreen()}),f()(this,"exitFullscreen",function(e){var t=r.getFullScreenElement(!0,e);document.webkitExitFullscreen||Bn()?t.webkitExitFullscreen():document.webkitCancelFullScreen?t.webkitCancelFullScreen():document.mozCancelFullScreen?t.mozCancelFullScreen():document.msExitFullscreen&&t.msExitFullscreen()}),this.store=t,this.videoTag=document.getElementById(En(n)),this.playerUniqId=n,document.addEventListener("fullscreenchange",this.onFullscreenChanged.bind(this)),document.addEventListener("webkitfullscreenchange",this.onFullscreenChanged.bind(this)),Bn()&&(this.videoTag.addEventListener("webkitendfullscreen",this.onFullscreenChangedIos.bind(this)),this.videoTag.addEventListener("webkitbeginfullscreen",this.onFullscreenChangedIos.bind(this))),this.pendingFullscreenSubscriber=new ji(t,e.getPendingFullscreenDependencies,this.onPendingFullscreenRequestChanged.bind(this)),this.adStatusSubscriber=new ji(t,e.getAdStatusDependencies,this.onAdStatusChanged.bind(this))}return Vi()(e,null,[{key:"createInstance",value:function(t,n){return new e(t,n)}}]),Vi()(e,null,[{key:"getPendingFullscreenDependencies",value:function(e){return[gn.pendingFullscreenRequest(e)]}},{key:"getAdStatusDependencies",value:function(e){return[_i.adStatus(e)]}}]),e}();function us(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}function cs(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?us(Object(n),!0).forEach(function(t){f()(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):us(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}var ls,ds=function(e){return function(e){return e&&window.monti.playerConfigs&&window.monti.playerConfigs[e]}(e)?function(e){return window.monti.playerConfigs[e]}(e):window.monti.playerConfigs?window.monti.playerConfigs&&window.monti.playerConfigs[Object.keys(window.monti.playerConfigs)[0]]:null},ps=function e(t){var n=this;Ai()(this,e),f()(this,"videoTag",void 0),f()(this,"isBufferError",void 0),f()(this,"hls",void 0),f()(this,"hlsSetup",function(e,t,r,i){n.initiateHls(e),n.loadHlsSource(e,t,r,i)}),f()(this,"detachMedia",function(){Un(n.hls)||(n.hls.detachMedia(),n.hls.destroy(),n.hls=null)}),f()(this,"initiateHls",function(e){n.hls=new e,n.hls.attachMedia(n.videoTag)}),f()(this,"loadHlsSource",function(e,t,r,i){n.hls.on(e.Events.MEDIA_ATTACHED,function(){n.hls.loadSource(t)}),n.hls.on(e.Events.ERROR,function(t,o){n.mapHlsToErrors(e,o,i),t.details===e.ErrorDetails.BUFFER_STALLED_ERROR&&(r(!0),n.isBufferError=!0)}),n.hls.on(e.Events.FRAG_BUFFERED,function(){n.isBufferError&&(r(!1),n.isBufferError=!1)})}),f()(this,"mapHlsToErrors",function(e,t,r){if(t.fatal)switch(t.type){case e.ErrorTypes.NETWORK_ERROR:r(Xn.GENERAL_ERROR),n.hls.startLoad();break;case e.ErrorTypes.MEDIA_ERROR:r(Xn.GENERAL_ERROR),n.hls.recoverMediaError();break;default:r(Xn.GENERAL_ERROR),n.hls.destroy()}}),this.hls=void 0,this.videoTag=t,this.isBufferError=!1},fs=function e(){var t=this;Ai()(this,e),f()(this,"videoStreaming",void 0),f()(this,"hlsLibrarySetup",function(e,n,r,i){Un(t.videoStreaming)||t.videoStreaming.detachMedia(),t.videoStreaming=new ps(e),t.videoStreaming.hlsSetup(ls,n,r,i)})};f()(fs,"shouldLoadVideoStreamingSrcDirectly",function(e,t,n){return"no-need"===n&&!(""===e.canPlayType("application/vnd.apple.mpegurl"))}),f()(fs,"shouldUseHlsLibrary",function(e,t){return"success"===t&&(ls=void 0!==window.Hls?Hls:mmHls).isSupported()}),f()(fs,"isValidHlsUrl",function(e){return!Un(e)&&!e.includes(".mp4")}),f()(fs,"suitableVideoSource",function(e,t,n){return fs.isValidHlsUrl(t)?fs.shouldUseHlsLibrary(t,n)?"m3u8 with hls":fs.shouldLoadVideoStreamingSrcDirectly(e,t,n)?"m3u8 directly":"loading"!==n?"mp4":"":"mp4"}),f()(fs,"loadHlsVideoDirectly",function(e,t){e.setAttribute("src",t),e.load()});var hs=function(e){return function(t){t({type:"[MONETIZATION] change pending ad status",payload:{type:e}})}},ys="video/mp4",gs="application/vnd.apple.mpegurl",vs=function(){function e(t,n){var r=this;Ai()(this,e),f()(this,"store",void 0),f()(this,"videoTag",void 0),f()(this,"prerollEnabled",void 0),f()(this,"pendingVideoStatusSubscriber",void 0),f()(this,"videoStreamingManager",void 0),f()(this,"videoDataSubscriber",void 0),f()(this,"hlsLoadingStatusSubscriber",void 0),f()(this,"newVideoDataLoaded",void 0),f()(this,"onHlsLoadingStatusChanged",function(e){"success"===Fi.loadingHLSStatus(e)&&(r.newVideoDataLoaded=!0,r.onPendingVideoStatusChanged(e))}),f()(this,"onPendingVideoStatusChanged",function(e){var t=hn.pendingVideoTagStatus(e),n=Dn.sources(e),i=Fi.loadingHLSStatus(e),o="blocked"===Fi.loadingImaStatus(e);r.handlePendingVideoStatus(t,n,i,o)}),f()(this,"onVideoDataChanged",function(){r.newVideoDataLoaded=!0}),f()(this,"sendPrerollPlayRequest",function(){var e=r.store.dispatch;hs("playPreroll")(e)}),f()(this,"handlePlayRequest",function(e,t,n){var i=r.store.dispatch;if(e&&e.length>0){if(r.newVideoDataLoaded&&(r.loadVideoSource(r.videoTag,e,t),r.newVideoDataLoaded=!1,r.prerollEnabled&&!n))return void r.sendPrerollPlayRequest();r.videoTag.play().catch(function(e){return console.error("Error playing the video: ",e)})}else dn(Xn.VIDEO_ERROR)(i)}),f()(this,"handlePendingVideoStatus",function(e,t,n,i){switch(e.type){case"play":r.handlePlayRequest(t,n,i);break;case"resume":r.videoTag.play().catch(function(e){return console.error("Error resuming the video: ",e)});break;case"pause":r.videoTag.pause();break;case"replay":r.videoTag.currentTime=0,r.videoTag.play().catch(function(e){return console.error("Error replaying the video: ",e)});break;case"seekTo":r.videoTag.pause(),r.videoTag.currentTime=e.value}}),f()(this,"loadMp4Source",function(e,t,n){var r=Ra(t,ys);n.setAttribute("src",r),n.load()}),f()(this,"loadVideoSource",function(e,t,n){var i=r.store.dispatch,o=Ra(t,gs);switch(fs.suitableVideoSource(e,o,n)){case"mp4":r.loadMp4Source(n,t,e);break;case"m3u8 with hls":r.videoStreamingManager.hlsLibrarySetup(e,o,function(e){return un(e)(i)},function(e){return dn(e)(i)});break;case"m3u8 directly":fs.loadHlsVideoDirectly(e,o)}}),this.store=t;var i=t.getState;this.videoStreamingManager=new fs,this.videoTag=document.getElementById(En(n)),this.prerollEnabled=bi.prerollEnabled(i()),this.pendingVideoStatusSubscriber=new ji(t,e.getPendingVideoStatusDependencies,this.onPendingVideoStatusChanged.bind(this)),this.videoDataSubscriber=new ji(t,e.getVideoDataDependencies,this.onVideoDataChanged.bind(this)),this.hlsLoadingStatusSubscriber=new ji(t,e.getHLSLoadingStatusDependencies,this.onHlsLoadingStatusChanged.bind(this))}return Vi()(e,null,[{key:"createInstance",value:function(t,n){return new e(t,n)}}]),Vi()(e,null,[{key:"getHLSLoadingStatusDependencies",value:function(e){return[Fi.loadingHLSStatus(e)]}},{key:"getPendingVideoStatusDependencies",value:function(e){return[hn.pendingVideoTagStatus(e)]}},{key:"getVideoDataDependencies",value:function(e){return[Cn.videoData(e)]}}]),e}();function ms(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}function bs(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?ms(Object(n),!0).forEach(function(t){f()(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):ms(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}var Os={READY_EVENT:"ready",PLAY_EVENT:"play",PAUSE_EVENT:"pause",TIME_EVENT:"time",SEEK_EVENT:"seek",COMPLETE_EVENT:"complete",VOLUME_EVENT:"volume",MUTE_EVENT:"mute"},_s=Object.values(Os),Ss={FULLSCREEN_EVENT:"fullscreen",ANCHOR_STATUS_EVENT:"anchorStatusChanged",ANCHOR_CLOSED_EVENT:"anchorClosed"},Es={AD_PLAY_EVENT:"adPlay",AD_PAUSE_EVENT:"adPause",AD_RESUME_EVENT:"adResume",AD_COMPLETE_EVENT:"adComplete",AD_TIME_EVENT:"adTime",AD_MUTE_EVENT:"adMute",AD_SKIPPED_EVENT:"adSkipped",AD_ERROR_EVENT:"adError",AD_BLOCK_EVENT:"adBlock",AD_REQUEST_EVENT:"adRequest",AD_OPPORTUNITY_EVENT:"adOpportunity",AD_IMPRESSION_EVENT:"adImpression"},ws=Object.values(Es),Ps=Object.values(bs(bs(bs({},Os),Es),Ss)),Ts=function(){function e(t,n){var r=this;Ai()(this,e),f()(this,"eventsCallbacksHandler",void 0),f()(this,"store",void 0),f()(this,"videoStatusSubscriber",void 0),f()(this,"videoMuteSubscriber",void 0),f()(this,"videoVolumeSubscriber",void 0),f()(this,"videoTimeFragmentSubscriber",void 0),f()(this,"videoListStoreSubscriber",void 0),f()(this,"previousVideoTagStatus",void 0),f()(this,"startSeekTime",0),f()(this,"canHandleReady",function(e,t,n){if(t===Os.READY_EVENT){var r=Cn.videoList(e);if(Array.isArray(r)&&r.length>0)return n(),!0}return!1}),f()(this,"canBeHandled",function(e,t){var n=r.store.getState;return r.canHandleReady(n(),e,t)}),f()(this,"reportSeekEnd",function(e){var t={position:hn.currentVideoTimeFragment(e),offset:r.startSeekTime};r.eventsCallbacksHandler.onEvent(Os.SEEK_EVENT,t)}),f()(this,"onMuteStateChanged",function(e){var t=gn.muted(e);r.eventsCallbacksHandler.onEvent(Os.MUTE_EVENT,{state:t})}),f()(this,"onVolumeChanged",function(e){var t=gn.muted(e),n=gn.volume(e);r.eventsCallbacksHandler.onEvent(Os.VOLUME_EVENT,{level:t?0:n})}),f()(this,"onVideoTimeFragmentChanged",function(e){var t=hn.currentVideoTimeFragment(e),n=hn.currentVideoDuration(e);r.eventsCallbacksHandler.onEvent(Os.TIME_EVENT,{duration:n,position:t})}),f()(this,"onVideoListChanged",function(){r.eventsCallbacksHandler.onEvent(Os.READY_EVENT)}),this.store=t,this.eventsCallbacksHandler=n,this.videoStatusSubscriber=new ji(t,e.getVideoStatusDependencies,this.onVideoStatusChanged.bind(this)),this.videoMuteSubscriber=new ji(t,e.getVideoMuteDependencies,this.onMuteStateChanged.bind(this)),this.videoVolumeSubscriber=new ji(t,e.getVolumeDependencies,this.onVolumeChanged.bind(this)),this.videoTimeFragmentSubscriber=new ji(t,e.getVideoTimeDependencies,this.onVideoTimeFragmentChanged.bind(this)),this.videoListStoreSubscriber=new ji(t,e.getVideoListDependencies,this.onVideoListChanged.bind(this)),this.previousVideoTagStatus=hn.videoTagStatus(t.getState())}return Vi()(e,[{key:"onVideoStatusChanged",value:function(e){var t=hn.videoTagStatus(e);switch("seeking"===this.previousVideoTagStatus&&this.reportSeekEnd(e),t){case"paused":this.eventsCallbacksHandler.onEvent(Os.PAUSE_EVENT);break;case"seeking":this.startSeekTime=hn.currentVideoTimeFragment(e);break;case"complete":this.eventsCallbacksHandler.onEvent(Os.COMPLETE_EVENT);break;case"playing":this.eventsCallbacksHandler.onEvent(Os.PLAY_EVENT)}this.previousVideoTagStatus=t}}],[{key:"getVideoStatusDependencies",value:function(e){return[hn.videoTagStatus(e)]}}]),e}();f()(Ts,"getVideoMuteDependencies",function(e){return[gn.muted(e)]}),f()(Ts,"getVolumeDependencies",function(e){return[gn.volume(e)]}),f()(Ts,"getVideoTimeDependencies",function(e){return[hn.currentVideoTimeFragment(e)]}),f()(Ts,"getVideoListDependencies",function(e){return[Cn.videoList(e)]}),f()(Ts,"isContentEvent",function(e){return _s.some(function(t){return t===e})});var As=function e(t,n){var r=this;Ai()(this,e),f()(this,"eventsCallbacksHandler",void 0),f()(this,"store",void 0),f()(this,"fullscreenSubscriber",void 0),f()(this,"anchorStatusSubscriber",void 0),f()(this,"anchorDisabledByUserSubscriber",void 0),f()(this,"onFullscreenChanged",function(e){var t=gn.isFullscreenOn(e);r.eventsCallbacksHandler.onEvent(Ss.FULLSCREEN_EVENT,{state:t})}),f()(this,"onAnchorStatusChanged",function(e){var t="active"===Pr(e)?"activated":"deactivated";r.eventsCallbacksHandler.onEvent(Ss.ANCHOR_STATUS_EVENT,{state:t})}),f()(this,"onAnchorDisabledByUser",function(e){if(wr(e)){var t=hn.currentVideoTimeFragment(e);r.eventsCallbacksHandler.onEvent(Ss.ANCHOR_CLOSED_EVENT,{position:t})}}),this.store=t,this.eventsCallbacksHandler=n,this.fullscreenSubscriber=new ji(t,e.getFullscreenDependencies,this.onFullscreenChanged.bind(this)),this.anchorStatusSubscriber=new ji(t,e.getAnchorStatusDependencies,this.onAnchorStatusChanged.bind(this)),this.anchorDisabledByUserSubscriber=new ji(t,e.getAnchorDisabledByUserDependencies,this.onAnchorDisabledByUser.bind(this))};f()(As,"getFullscreenDependencies",function(e){return[gn.isFullscreenOn(e)]}),f()(As,"getAnchorStatusDependencies",function(e){return[Pr(e)]}),f()(As,"getAnchorDisabledByUserDependencies",function(e){return[wr(e)]});var Cs=function(){function e(t,n){var r=this;Ai()(this,e),f()(this,"store",void 0),f()(this,"eventsCallbacksHandler",void 0),f()(this,"adStatusSubscriber",void 0),f()(this,"adImpressionSubscriber",void 0),f()(this,"adOpportunitySubscriber",void 0),f()(this,"adTimeSubscriber",void 0),f()(this,"adMuteSubscriber",void 0),f()(this,"adProviderLoadingStatusSubscriber",void 0),f()(this,"previousAdStatus",void 0),f()(this,"canBeHandled",function(e,t){var n=r.store.getState;switch(Fi.loadingImaStatus(n())){case"loading":return!1;case"success":case"error":return!0;case"blocked":return t(),!0;case"":default:return!1}}),f()(this,"onAdStatusChanged",function(e){var t=_i.adStatus(e),n=_i.currentAdTag(e);switch(t){case"requested":r.eventsCallbacksHandler.onEvent(Es.AD_REQUEST_EVENT,{tag:n});break;case"paused":r.eventsCallbacksHandler.onEvent(Es.AD_PAUSE_EVENT,{tag:n});break;case"completed":r.eventsCallbacksHandler.onEvent(Es.AD_COMPLETE_EVENT,{tag:n});break;case"skipped":r.eventsCallbacksHandler.onEvent(Es.AD_SKIPPED_EVENT,{tag:n});break;case"playing":"paused"===r.previousAdStatus?r.eventsCallbacksHandler.onEvent(Es.AD_RESUME_EVENT,{tag:n}):r.eventsCallbacksHandler.onEvent(Es.AD_PLAY_EVENT,{tag:n});break;case"error":var i=_i.adErrorMessage(e);r.eventsCallbacksHandler.onEvent(Es.AD_ERROR_EVENT,{tag:n,message:i})}r.previousAdStatus=t}),f()(this,"onAtTimeChanged",function(e){var t=_i.adCurrentTime(e),n=_i.currentAdTag(e),i=_i.adDuration(e);r.eventsCallbacksHandler.onEvent(Es.AD_TIME_EVENT,{position:t,tag:n,duration:i})}),f()(this,"onAdMuteChanged",function(e){var t=_i.adMuted(e);r.eventsCallbacksHandler.onEvent(Es.AD_MUTE_EVENT,{state:t})}),f()(this,"onAdProviderLoadingChanged",function(e){"blocked"===Fi.loadingImaStatus(e)&&r.eventsCallbacksHandler.onEvent(Es.AD_BLOCK_EVENT)}),f()(this,"onAdImpressionChanged",function(e){var t=_i.currentAdTag(e);r.eventsCallbacksHandler.onEvent(Es.AD_IMPRESSION_EVENT,{tag:t})}),f()(this,"onAdOpportunityChanged",function(e){var t=_i.currentAdTag(e);r.eventsCallbacksHandler.onEvent(Es.AD_OPPORTUNITY_EVENT,{tag:t})}),this.store=t,this.eventsCallbacksHandler=n,this.previousAdStatus=_i.adStatus(t.getState()),this.adStatusSubscriber=new ji(t,e.getAdStatusDependencies,this.onAdStatusChanged.bind(this)),this.adTimeSubscriber=new ji(t,e.getAdTimeDependencies,this.onAtTimeChanged.bind(this)),this.adMuteSubscriber=new ji(t,e.getAdMuteDependencies,this.onAdMuteChanged.bind(this)),this.adImpressionSubscriber=new ji(t,e.getAdImpressionDependencies,this.onAdImpressionChanged.bind(this)),this.adOpportunitySubscriber=new ji(t,e.getAdOpportunitySubscriberDependencies,this.onAdOpportunityChanged.bind(this)),this.adProviderLoadingStatusSubscriber=new ji(t,e.getAdProviderLoadingDependencies,this.onAdProviderLoadingChanged.bind(this))}return Vi()(e,null,[{key:"getAdStatusDependencies",value:function(e){return[_i.adStatus(e)]}},{key:"getAdTimeDependencies",value:function(e){return[_i.adCurrentTime(e)]}},{key:"getAdMuteDependencies",value:function(e){return[_i.adMuted(e)]}},{key:"getAdProviderLoadingDependencies",value:function(e){return[Fi.loadingImaStatus(e)]}}]),e}();f()(Cs,"isAdEvent",function(e){return ws.some(function(t){return t===e})}),f()(Cs,"getAdImpressionDependencies",function(e){return[_i.adImpression(e)]}),f()(Cs,"getAdOpportunitySubscriberDependencies",function(e){return[_i.adOpportunity(e)]});var Rs=function e(t){var n=this;Ai()(this,e),f()(this,"contentEvents",void 0),f()(this,"generalEvents",void 0),f()(this,"adEvents",void 0),f()(this,"subscribers",{}),f()(this,"onRegisterToEvent",function(e,t,r){n.isValidEvent(e)&&(Ts.isContentEvent(e)&&n.contentEvents.canBeHandled(e,t)||Cs.isAdEvent(e)&&n.adEvents.canBeHandled(e,t())||n.getEventSubscribersList(e).push({callback:t,once:r}))}),f()(this,"isValidEvent",function(e){return Ps.some(function(t){return t===e})}),f()(this,"getEventSubscribersList",function(e){return Array.isArray(n.subscribers[e])||(n.subscribers[e]=[]),n.subscribers[e]}),f()(this,"filterOutOnceCallbacks",function(e,t){n.subscribers[e]=t.filter(function(e){return!e.once})}),f()(this,"onEvent",function(e,t){var r=n.getEventSubscribersList(e);r.forEach(function(e){(0,e.callback)(t)}),n.filterOutOnceCallbacks(e,r)}),this.contentEvents=new Ts(t,this),this.generalEvents=new As(t,this),this.adEvents=new Cs(t,this)},Ds=function(){function e(t){Ai()(this,e),f()(this,"eventsHandler",void 0),this.eventsHandler=new Rs(t)}return Vi()(e,[{key:"on",value:function(e,t){this.eventsHandler.onRegisterToEvent(e,t,!1)}},{key:"once",value:function(e,t){this.eventsHandler.onRegisterToEvent(e,t,!0)}}]),e}();function Ms(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}function Is(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Ms(Object(n),!0).forEach(function(t){f()(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Ms(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}var ks=function(){var e=window.monti.dataset;return jn(e)?(e={players:{},preact:Is(Is({},r),i),store:{},plugins:{}},window.monti.dataset=e,e):e},Ns=function(e){var t=function(){var e=(new Date).getTime(),t=performance&&performance.now&&1e3*performance.now()||0;return"xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g,function(n){var r=16*Math.random();return e>0?(r=(e+r)%16|0,e=Math.floor(e/16)):(r=(t+r)%16|0,t=Math.floor(t/16)),("x"===n?r:3&r|8).toString(16)})}(),n=function(e,t){var n=ns(e.dev_config),r=ks(),i=n.dispatch;return r.store[t]=n,function(e,t){return function(n){n({type:"[CORE] initiate store",payload:{initiateParams:e,playerInstanceUniqId:t}})}}(e,t)(i),n}(e,t);return function(e,t,n){B(b(Pi,{playerId:t,store:n,playerPosition:e}),e)}(e.player_pos,t,n),oa.getInstance().loadInternalPlugins(n,t,e),ss.createInstance(n,t),vs.createInstance(n,t),is.createInstance(n,e.media_id,e.content_type,e.dev_config),function(e){var t=e.dispatch;if(er(Ci.getInstance().getHLSLoadingStatus())(t),Qn(Ci.getInstance().getIMALoadingStatus())(t),!Ci.getInstance().isDependenciesReady()){var n=new os(e);Ci.getInstance().addDependenciesCallback(n)}}(n),function(e,t){ks().players[t]=new Ds(e)}(n,t),t},Ls=function(e){return console.log("player initiation start",e),new Promise(function(t,n){try{var r=function(e){var t=e.player_pos||document.currentScript.parentElement,n=e.media_id||e.content_id;return cs(cs({},e),{},{player_pos:t,media_id:n})}(function(e){var t=e.player_id,n=ds(t);return null===n?e:cs(cs({},e),n)}(e)),i=Ns(r);!function(e){var t=new CustomEvent("montiConfigLoaded",{detail:{playerKey:e}});window.dispatchEvent(t)}(i),t(i)}catch(o){console.error("Player initiation error",o),n(o)}})},xs=function(){return{initiate:Ls}};window.monti=xs,Ci.getInstance().loadExternalDependencies()}]); window.monti().initiate(Object.assign({player_pos: document.currentScript.parentElement}, {"is_conflicting_with_other_jw_players":false,"programmatic_play_with_sound_on_desktop":false,"referrer_id":"af93e181-b289-0560-a2bf-808e93bb05bc","width":"100","comscore_publisher_id":"18120612","monetization":{"ad_type":"static_tag","continue_content_play_while_waiting_for_ad":false,"strategy":"on_player_load","ad_request_timeout":"10000","midrolls":{"on":[0]},"vpaid_mode":"ENABLED","ad_tag":"https://pubads.g.doubleclick.net/gampad/ads?sz=400x300|640x480|480x270|640x360&iu=/175840252/MMPlus/smithsonianmag/Video&impl=s&gdfp_req=1&env=vp&output=vast&unviewed_position_start=1&url=##REFERRER_URL_UNESC##&description_url=##DESCRIPTION_URL_UNESC##&correlator=##CACHEBUSTER##&cust_params=mm_midroll%3D##MIDROLL_ORDER##%26video_ID%3D##VIDEO_ID##"},"sponsorship":false,"player_identifier":"mplayer","recommendation_id":null,"brand_color":"#FF9900","powered_by_strip":true,"platform":"buffy","type":"video","config_name":"MM+ | Smithsonianmag | Podding","player_id":"3v9g2u2f","playlist_id":"fSkmeWKF","playback_method":"autoplay","anchor_viewability_method":"none","player_version":"v4","playlist_type":"semantic","semantic_options":{"scan_images_on_page":true,"scanned_element":"","tags":"geogrophy,nature,animals,habitat,outdoors,science,history","minimum_date_factor":30,"scanned_element_type":"tag","scoped_keywords":"mentalfloss","promoted_videos":[]},"script_destination":"mm","publisher_contribution":"floor8","general_script_description":"","brand_logo":"","brand_logo_click_url":"","next_video":"none","uniq_key":"af93e181-b289-0560-a2bf-808e93bb05bc","content_id":"fSkmeWKF","content_type":"semantic"})); Finland has vastly improved in reading, math and science literacy over the past decade in large part because its teachers are trusted to do whatever it takes to turn young lives around. This 13-year-old, Besart Kabashi, received something akin to royal tutoring.

      Kari Louhiuori, a principal at a Finnish school made a mostly unheaard of and uncanny decision to hold back an immigrant student from 6th grader named Besart because he hadnʻt felt that this young man was falling behind due to laziness but to a lack of comprehension. After a year of "royal tutoring," by allowing the boy to read at his own pace, it worked!

    1. Reviewer #3

      The work by Barros et al. looks at the role of the Ribosome Quality Control pathway (RQC) in regulating the expression of endogenous messages containing polybasic sequences. Using ribosome profiling and western blotting, the authors show that proteins containing various types of polybasic sequences are not targeted by the RQC. The authors argue that one of the few endogenous RQC substrate, RQC1, is not regulated via the canonical RQC pathway, but by a Ltn1p-dependent post transcriptional mechanism.

      The question of whether there are endogenous RQC substrates has previously been explored. With the exception of the few identified substrates, such as RQC1 (Brandman et al, 2012) and SDD1 (Matsuo et al., 2020), these studies largely concluded the RQC has a minimal regulatory role for endogenous messages, and is most likely protecting cells from damage and environmental stressors. This idea is further supported by the observation that the RQC is non-essential under standard growth condition, but becomes synthetic lethal with translation inhibitors (Kostova et al, 2017, Choe et al, 2016). The work by Barros et al. comes to the same conclusions, and therefore it is unclear how this work contributes to the already established role of the RQC.

      The authors also explore the regulation of RQC1 by the RQC and argue that this gene is regulated by Ltn1p in an RQC-independent way. However, mechanistic understanding of the proposed regulation is lacking, and the data are largely inconsistent with the previously published observations by Brandman et al, 2012.

      Major points:

      1) The authors use the dataset published by Pop et al., 2014 for their 27-29 nt no drug ribosome profiling analysis. However, these no-drug samples have been reported to exhibit surprising heterogeneity, and similarities with CHX-pretreated samples (see Hussmann et al., 2015 for detailed analysis). It is unclear how this heterogeneity can affect the analysis in the current manuscript, and whether the authors were aware of these caveats. Have the authors used independent datasets to confirm their observations? Have they excluded replicas that show CHX-like characteristics, such as A-site occupancy bias similar to CHX pretreated samples?

      2) It is not clear what the purpose of the analysis presented in Fig 2 is, and how it is different from the modeling in the Park and Subramaniam 2019 paper? Are the authors using these parameters (TE, Kozak score, etc.) to show adaptations that minimize ribosome collisions?

      3) Fig 3 - some of the selected examples (Dbp3, Yro2, Nop58) lack sufficient coverage in the region of interested highlighted in the right column for the short and/or long footprints. Since the data are insufficient to make conclusions about ribosome stalling and queuing, these examples should be excluded from the analysis.

      4) Fig 4:

      -Does ASC1 deletion cause frameshifting? Since the TAP-tag is C-terminal, it is possible that it is now out of frame, and therefore undetectable. Is it possible for the authors to introduce the tag on the N-terminus, and follow simultaneously the stalled nascent polypeptide (upon LTN1 deletion), and the full length protein?

      -Is the putative stalling site of Dbp3 too close to the stat codon to cause collisions?

      -Can the authors include a positive control, such as TAP-tagged Sdd1 to make sure their assay works and their strains and KOs behave as expected?

      5) Fig 5:

      -What is causing the inconsistency with the Brandman et al., 2012 data about RQC-dependent regulation of RQC1? In the original paper, Rqc1p has an N-terminal FLAG tag, so the authors primarily follow the stalled nascent polypeptide, whereas the current study focuses on the full length protein. Can the authors compare the same construct (FLAG-tagged Rqc1p) in their strains, so it is an "apples to apples" comparison?

      -Fig 5c bottom panel - the read coverage is too sparse to make a conclusion. This analysis should be removed.

      -5 d, e. The comparison between the GFP-12R-RFP stalling reporter and RQC2-TAP is not fair. The GFP construct reports on the fate of the stalled nascent polypeptide, whereas the RQC1-TAP looks at the full-length protein, and remains blind to the putative stalling product. Can the authors change the location of the tag, and repeat the experiment now looking at the stalled nascent polypeptide for RQC1? In addition, the signal in Fig. 5e look saturated. Is it possible that no effect is observed simply because the TAP signal is out of the dynamic range for the assay?

      Minor Comments:

      1) The introduction presents an overly simplistic view of ribosome stalling, arguing that stalling can be caused by polybasic stretches. We now know that stalling is much more complex, and there are many other factors, including the presence of non-optimal codon pairs, that cause ribosome collisions. Although the authors discuss these factors in their discussion, they should also be emphasized in the introductory paragraph.

  6. Sep 2020
    1. The FBI said it has stopped using the "Black Identity Extremist" tag and acknowledged that white supremacist violence is the biggest terrorist threat this country faces.

      When using the "Always Check" Approach, this headline generated many relevant Google searches, with multiple other media outlets covering this. Hence, The Root appears to be credible. I'm very surprised that it took a long time for the FBI to make this decision.

    1. The <output> tag represents the result of a calculation. Typically this element defines a region that will be used to display text output from some calculation.

      How <output> tag can be used in HTML5

    1. globals are assumed to have their field value on the window object and can be referenced inside the bundle by their field name globals: { name: 'Value', }, assumes that some other script tag or whatever establishes window.Value and the emitted umd bundle for example, calls the factory like factory(global.Value). So globals is just stuff to bring into the factory on the globals object. It doesn't even make it "global" inside the bundle. Basically, the resolver does not check the globals object during the loading process. The resolver needs to be told how to link these globals and that's what the external option is for. external: ['name'], Then you can reference it like import myName from 'name'; myName();
    1. Reviewer #1:

      Previous work has shown that the nuclear import of TyrRS is stimulated under stress and that nucleus-localized TyrRS functions through the transcriptional machinery to promote the expression of DNA damage response genes for cell protection. In this work, evidence is presented that nuclear TyrRS also inhibits bulk translation in a manner correlated with its association with several AARS-encoding genes and that for elongation factor eEF1A, and recruitment to these genes of HDACs. Mutation of the TyrRS NLS, whose function in nuclear localization provides for coupling between low tRNATyr binding and nuclear localization, was found to derepress bulk translation after prolonged oxidative stress by H2O2, without altering eIF2 phosphorylation levels or mTOR activation, and overexpression (o/e) of TyrRS can reduce protein synthesis, in a manner enhanced by the E196K mutation associated with Charcot-Marie-Tooth disease (CMT), shown previously to enhance TyrRS association with transcriptional co-repressors. ChIP-Seq of overexpressed V5-tagged TyrRS showed binding to only 17 sites, of which 15 are within gene coding sequences, among which four encode TyrRS, TrpRS, SerRS and GlyRS, and a fifth encodes elongation factor eEF1A. These results were confirmed by ChIP analysis of endogenous TyrRS, using the HisRS gene as negative control; and the occupancies were shown to increase on H2O2 treatment. The expression of these AARS/eEF1A gene transcripts was shown to be reduced by o/e of TyrRS, in a manner enhanced for at least some of them by the E196K CMT mutation; and the repression was shown to be eliminated by the NLS_mut for YARS expressed at native levels. Reductions in AARS/eEF1A protein expression were also observed on WT TyrRS o/e. Sequence analysis of the genes showing TyrRS binding by ChIP-seq led to identification of a motif that was shown to be required for binding to TyrRS in vitro in EMSA assays with either purified TyrRS or in extracts from cells overexpressing it, in a manner requiring the full-length TyrRS and not only the catalytic core of the enzyme. It was not shown however that eliminating this motif from any of the target genes attenuated their repression by nuclear-localized TyrRS. Mass spec analysis of affinity-purified, overexpressed TyrRS identified interacting proteins, and several of which were shown to be coimmunoprecipitated with endogenous TyrRS in non-stressed cells, including the transcription cofactors Trim28, HDAC1, and subunits of the NURD co-repressor/histone deacetylase complex. ChIP assays showed that overexpression of TyrRS lead to decreased levels of H3K27Ac, a histone mark of active transcription, and elevated occupancies HDAC1, TRIM28, or NURD subunit CHD4 in non-stressed cells at the AARS/eEF1A genes, with either TRIM28/HDAC1 or CHD4 being observed for all of the genes except the TyrRS gene that shows all three cofactors present. Based on these results, the authors conclude that increased nuclear localization of TyrRS on oxidative stress leads to increased binding of TyrRS to the AARS/eEF1A genes with attendant direct recruitment of either TRM28/HDAC1 or NURD, leading to transcriptional repression of these genes, which is responsible for the reduction in bulk protein synthesis observed after prolonged H2O2 treatment. They go on to provide evidence that cell survival in H2O2 is enhanced by nuclear association of TyrRS (dependent on the NLS), and that in its absence, conferred by the NLS_mut, apoptosis is increased. They also show that ROS increases by preventing TyrRS nuclear localization by the NLS_mut, and that this effect as well as decreased cell survival for this mutant in H2O2 can be rescued by the translation elongation inhibitor harringtonine.

      The results presented in this report provide some support for the main conclusions of the paper and the overall model presented in Fig. 4F. However, as detailed below, many of the main conclusions of the paper are based on correlations and lack direct experimental support, and a number of the experiments are not comprehensive enough with sufficient conditions and controls to establish that the effects observed can be attributed to enhanced nuclear localization of TyrRS in response to H2O2. Considering the statements in the abstract, the evidence is reasonably strong that nuclear localization of TyrRS leads to inhibition of global translation at a stage later than that of eIF2α/ATF4 and mTOR responses, and that excluding TyrRS from the nucleus increases apoptosis under prolonged oxidative stress (although even this last point requires better documentation). However, the evidence is inadequate in several respects to claim that TyrRS directly represses the transcription of translation-related genes by recruiting TRIM28 or NURD complex, and as claimed on p. 13 of the Discussion, that the repression of the four AARS genes and the gene for eEF1A accounts for the reduction in bulk protein synthesis on H2O2 treatment.

      Major issues:

      -Evidence is lacking that the binding of TyrRS to the AARS/eEF1A genes is functionally important for the repression of any of the 6 putative target genes upon increased nuclear localization of TyrRS conferred by the NLS_mut or in response to H2O2. This would require ChIP analysis of TyrRS binding to the target genes for WT vs. NLS_mut TyrRS in H2O2-treated cells; and CRISPR mutagenesis of the putative TryRS binding site in the genome and analysis of transcription in the presence and absence of H2O2 for at least one of the putative TyrRS target genes.

      -Evidence from ChIP analysis is lacking that TRIM28, HDAC1, or the NURD complex are recruited to the AARS/eEF1A genes at native levels of TyrRS in a manner dependent on the NLS and stimulated by H2O2, as the ChIP experiments involved only overexpressed WT TyrRS in non-stressed cells. It is also unclear whether H3K27Ac levels at the putative target genes decline at endogenous levels of TyrRS on treatment with H2O2. Similarly, evidence is lacking that the physical association of TyrRS with these co-repressors is dependent on the NLS and stimulated by H2O2, as the co-IP analysis was limited to endogenous WT TyrRS in non-stressed cells.

      -Evidence is lacking that the cofactors TRIM28, HDAC1, or CHD4 are required for the down-regulation of target gene transcription on H2O2 treatment, which would require knock-down or elimination of these factors by CRISPR accompanied by analysis of target gene transcription +/- H2O2.

      -Direct evidence is lacking from ChIP analysis of RNA Pol II that the transcription of the AARS/eEF1A genes is reduced on H2O2.

      -Evidence is lacking that the repression of bulk protein synthesis is actually mediated by the reduced expression of the 4 AARSs and eEF1A. The fact that the TyrRS-E196K mutation enhances repression of bulk translation and also repression of 3 of the 5 target genes does support the idea that the repression of the target genes is instrumental in reducing protein synthesis, but again, this is still a correlation. There is no evidence that the reduced expression of the AARSs is sufficient to reduce charging of the cognate tRNAs, or that the reduced expression of eEF1A decreases the rate of translation elongation in cells or cell extracts.

      -There is an important lack of information provided needed to evaluate the quality and significance of the ChIP-seq analysis of TyrRS binding to DNA. No details are provided concerning the ChIP-seq analysis of V5-tagged TyrRS to indicate how the TyrRS occupancy peaks were identified and distinguished above background signal from the cells expressing V5 tag alone, whether replicates were examined to provide statistical significance for the identified occupancy peaks, and the sequencing library depths. No genome browser views were provided to show the signals from the cells expressing V5-TyrRS vs V5 alone to demonstrate the quality and reproducibility of data from replicates. The supplementary table S1 describing these data was even omitted from the submission, and it's unclear whether these data are being deposited in GEO.

      -There is an important lack of information provided needed to evaluate the quality and significance of the mass-spec analysis of TyrRS interacting proteins. No details are provided about the statistical significance of the protein interactions identified by mass-spec analysis of the affinity-purified TyrRS; and a negative control for non-specific association seems not to have been included in the analysis. The supplementary table describing these data was even omitted from the submission.

      -It's unclear whether the motif described in Fig. 3A was found under the peaks of TyrRS occupancy in the various genes showing TyrRS binding in the ChIP-seq experiments, nor whether its occurrence is statistically significant. It was not indicated that the motif coincides with the peak ChIP-seq occupancies for TyrRS, and if not, how this could be explained.

      -Evidence is lacking that harringtonine treatment reduced bulk protein synthesis under the conditions where it suppressed the effects of the TryRS NLS mutation in elevating ROS and decreasing cell survival.

      -In general, the figure legends are poorly written in lacking important details about the nature of the TyrRS being examined in the experiment (tagged vs endogenous; overexpressed vs. native levels), and also whether oxidative stress was imposed in the experiment, and if so, the exact conditions for the treatment. Figure legends should contain all of the critical details needed to understand and evaluate the significance of the experimental results without having to search elsewhere in the paper for them.

      -It needs to be clarified whether the mini-TyrRS construct lacks the NLS, and the significance of its behavior as a negative control for the effects of overexpressing WT TyrRS.

      -For the experiment in Fig. 5B, quantification of the fraction of caspase-3 or PARP cleaved from biological replicates is required.

      -The experiment in Supp. Fig. S4 lacks the results from cells untreated with H2O2 to ensure that these proteins were being induced by H2O2 in their hands.

    1. including computer vision, machine vision, speech recognition, natural language processing, audio recognition, social network filtering, machine translation, bioinformatics, drug design, medical image analysis, material inspection and board game programs, where they have produced results comparable to and in some cases surpassing human expert performance<br> yes ma