"حان وقت إعادة القميص رقم 7".. رونالدو يودع منتخب البرتغال | CNN Arabic | CNN

أعلن النجم البرتغالي كريستيانو رونالدو، الخميس، نهاية مسيرته الدولية مع منتخب بلاده بعد 23 عامًا، مؤكداً أن الوقت حان لإعادة القميص رقم 7، الذي ارتداه طوال سنوات مسيرته الدولية، وذلك في رسالة وجهها إلى مشجعيه عبر مقطع فيديو نشره على إنستغرام.
0:35 • مصدر: CNN قد يهمك أيضًا 15 فيديو • مصدر: CNN " data-fave-thumbnails="{"big": { "uri": "https://media.cnn.com/api/v1/images/stellar/prod/cnnarabic-2026-11-05-images-349053.jpg?c=16x9&q=h_540,w_960,c_fill" }, "small": { "uri": "https://media.cnn.com/api/v1/images/stellar/prod/cnnarabic-2026-11-05-images-349053.jpg?c=16x9&q=h_540,w_960,c_fill" } }" data-vr-video="false" data-show-html="" data-byline-html=" " data-timestamp-html=" نُشر 05 نوفمبر 2026 " data-check-event-based-preview="" data-is-vertical-video-embed="false" data-network-id="" data-publish-date="2026-11-05T14:23:04Z" data-video-section="sport" data-canonical-url="https://arabic.cnn.com/sport/video/2026/11/05/v204803-ronaldo-retires-from-intl-football" data-branding-key="" data-video-slug="ronaldo-retires-from-intl-football" data-first-publish-slug="ronaldo-retires-from-intl-football" data-video-tags="" data-breakpoints='{"video-resource--media-extra-large": 660}' data-display-video-cover="" data-details=""> Video Ad Feedback "حان وقت إعادة القميص رقم 7".. رونالدو يودع منتخب البرتغال 0:35 يُعرض حاليًا • مصدر: CNN • مصدر: CNN " data-fave-thumbnails="{"big": { "uri": "https://media.cnn.com/api/v1/images/stellar/prod/cnnarabic-2026-10-26-images-348080.jpg?c=16x9&q=h_540,w_960,c_fill" }, "small": { "uri": "https://media.cnn.com/api/v1/images/stellar/prod/cnnarabic-2026-10-26-images-348080.jpg?c=16x9&q=h_540,w_960,c_fill" } }" data-vr-video="false" data-show-html="" data-byline-html=" " data-timestamp-html=" نُشر 05 نوفمبر 2026 " data-check-event-based-preview="" data-is-vertical-video-embed="false" data-network-id="" data-publish-date="2026-10-26T16:04:03Z" data-video-section="sport" data-canonical-url="https://arabic.cnn.com/sport/video/2026/10/26/v204211-canadian-cliff-diver-becomes-first-known-woman-to-dive-off-iceberg" data-branding-key="" data-video-slug="canadian-cliff-diver-becomes-first-known-woman-to-dive-off-iceberg" data-first-publish-slug="canadian-cliff-diver-becomes-first-known-woman-to-dive-off-iceberg" data-video-tags="" data-breakpoints='{"video-resource--media-extra-large": 660}' data-display-video-cover="" data-unselectable="true" data-details=""> Video Ad Feedback من ارتفاع 15 مترا.. غطّاسة منحدرات كندية تصبح أول سيدة معروفة تقفز من جبل جليدي 0:42 يُعرض حاليًا • مصدر: CNN • مصدر: CNN " data-fave-thumbnails="{"big": { "uri": "https://media.cnn.com/api/v1/images/stellar/prod/cnnarabic-2026-10-11-images-346633.jpg?c=16x9&q=h_540,w_960,c_fill" }, "small": { "uri": "https://media.cnn.com/api/v1/images/stellar/prod/cnnarabic-2026-10-11-images-346633.jpg?c=16x9&q=h_540,w_960,c_fill" } }" data-vr-video="false" data-show-html="" data-byline-html=" " data-timestamp-html=" نُشر 05 نوفمبر 2026 " data-check-event-based-preview="" data-is-vertical-video-embed="false" data-network-id="" data-publish-date="2026-10-11T10:05:59Z" data-video-section="sport" data-canonical-url="https://arabic.cnn.com/sport/video/2026/10/11/v203309-cristiano-ronaldo-suspended-portugal-vrtc" data-branding-key="" data-video-slug="cristiano-ronaldo-suspended-portugal-vrtc" data-first-publish-slug="cristiano-ronaldo-suspended-portugal-vrtc" data-video-tags="" data-breakpoints='{"video-resource--media-extra-large": 660}' data-display-video-cover="" data-unselectable="true" data-details=""> Video Ad Feedback الاتحاد البرتغالي يوقف كريستيانو رونالدو بعد مغادرته معسكر المنتخب 1:05 يُعرض حاليًا • مصدر: CNN • مصدر: CNN " data-fave-thumbnails="{"big": { "uri": "https://media.cnn.com/api/v1/images/stellar/prod/cnnarabic-2026-10-07-images-346268.jpg?c=16x9&q=h_540,w_960,c_fill" }, "small": { "uri": "https://media.cnn.com/api/v1/images/stellar/prod/cnnarabic-2026-10-07-images-346268.jpg?c=16x9&q=h_540,w_960,c_fill" } }" data-vr-video="false" data-show-html="" data-byline-html=" " data-timestamp-html=" نُشر 05 نوفمبر 2026 " data-check-event-based-preview="" data-is-vertical-video-embed="false" data-network-id="" data-publish-date="2026-10-07T10:10:31Z" data-video-section="sport" data-canonical-url="https://arabic.cnn.com/sport/video/2026/10/07/v203079-messis-last-dance-for-argentina" data-branding-key="" data-video-slug="messis-last-dance-for-argentina" data-first-publish-slug="messis-last-dance-for-argentina" data-video-tags="" data-breakpoints='{"video-resource--media-extra-large": 660}' data-display-video-cover="" data-unselectable="true" data-details=""> Video Ad Feedback الرقصة الأخيرة.. ميسي يلعب مباراته الأخيرة مع المنتخب الأرجنتيني 0:44 يُعرض حاليًا • مصدر: CNN • مصدر: CNN " data-fave-thumbnails="{"big": { "uri": "https://media.cnn.com/api/v1/images/stellar/prod/cnnarabic-2026-10-03-images-345898.jpg?c=16x9&q=h_540,w_960,c_fill" }, "small": { "uri": "https://media.cnn.com/api/v1/images/stellar/prod/cnnarabic-2026-10-03-images-345898.jpg?c=16x9&q=h_540,w_960,c_fill" } }" data-vr-video="false" data-show-html="" data-byline-html=" " data-timestamp-html=" نُشر 05 نوفمبر 2026 " data-check-event-based-preview="" data-is-vertical-video-embed="false" data-network-id="" data-publish-date="2026-10-03T08:07:59Z" data-video-section="sport" data-canonical-url="https://arabic.cnn.com/sport/video/2026/10/03/v202831-tony-romo-out-at-cbs-sports-after-nine-years-following-drunk-driving-arrest" data-branding-key="" data-video-slug="tony-romo-out-at-cbs-sports-after-nine-years-following-drunk-driving-arrest" data-first-publish-slug="tony-romo-out-at-cbs-sports-after-nine-years-following-drunk-driving-arrest" data-video-tags="" data-breakpoints='{"video-resource--media-extra-large": 660}' data-display-video-cover="" data-unselectable="true" data-details=""> Video Ad Feedback بعد اعتقاله بتهمة القيادة مخموراً.. معلق CBS Sports توني رومو يغادر الشبكة بعد 9 سنوات 0:29 يُعرض حاليًا • مصدر: CNN • مصدر: CNN " data-fave-thumbnails="{"big": { "uri": "https://media.cnn.com/api/v1/images/stellar/prod/cnnarabic-2026-10-01-images-345774.jpg?c=16x9&q=h_540,w_960,c_fill" }, "small": { "uri": "https://media.cnn.com/api/v1/images/stellar/prod/cnnarabic-2026-10-01-images-345774.jpg?c=16x9&q=h_540,w_960,c_fill" } }" data-vr-video="false" data-show-html="" data-byline-html=" " data-timestamp-html=" نُشر 05 نوفمبر 2026 " data-check-event-based-preview="" data-is-vertical-video-embed="false" data-network-id="" data-publish-date="2026-10-01T16:05:31Z" data-video-section="sport" data-canonical-url="https://arabic.cnn.com/sport/video/2026/10/01/v202747-ronaldo-cristiano-leaves-portugal-camp-sport" data-branding-key="" data-video-slug="ronaldo-cristiano-leaves-portugal-camp-sport" data-first-publish-slug="ronaldo-cristiano-leaves-portugal-camp-sport" data-video-tags="" data-breakpoints='{"video-resource--media-extra-large": 660}' data-display-video-cover="" data-unselectable="true" data-details=""> Video Ad Feedback "سأخبر الجميع بالحقيقة".. رونالدو يثير الغموض حول مستقبله مع منتخب البرتغال 1:01 يُعرض حاليًا • مصدر: CNN • مصدر: CNN " data-fave-thumbnails="{"big": { "uri": "https://media.cnn.com/api/v1/images/stellar/prod/cnnarabic-2026-09-29-images-345545.jpg?c=16x9&q=h_540,w_960,c_fill" }, "small": { "uri": "https://media.cnn.com/api/v1/images/stellar/prod/cnnarabic-2026-09-29-images-345545.jpg?c=16x9&q=h_540,w_960,c_fill" } }" data-vr-video="false" data-show-html="" data-byline-html=" " data-timestamp-html=" نُشر 05 نوفمبر 2026 " data-check-event-based-preview="" data-is-vertical-video-embed="false" data-network-id="" data-publish-date="2026-09-29T13:34:22Z" data-video-section="sport" data-canonical-url="https://arabic.cnn.com/sport/video/2026/09/29/v202607-kok-boru-world-nomad-games-digvid-spc-hnk" data-branding-key="" data-video-slug="kok-boru-world-nomad-games-digvid-spc-hnk" data-first-publish-slug="kok-boru-world-nomad-games-digvid-spc-hnk" data-video-tags="" data-breakpoints='{"video-resource--media-extra-large": 660}' data-display-video-cover="" data-unselectable="true" data-details=""> Video Ad Feedback جثة الماعز هي الكرة.. تعرف على هذه الرياضة العريقة في آسيا 1:16 يُعرض حاليًا • مصدر: CNN • مصدر: CNN " data-fave-thumbnails="{"big": { "uri": "https://media.cnn.com/api/v1/images/stellar/prod/cnnarabic-2026-09-24-images-345090.jpg?c=16x9&q=h_540,w_960,c_fill" }, "small": { "uri": "https://media.cnn.com/api/v1/images/stellar/prod/cnnarabic-2026-09-24-images-345090.jpg?c=16x9&q=h_540,w_960,c_fill" } }" data-vr-video="false" data-show-html="" data-byline-html=" " data-timestamp-html=" نُشر 05 نوفمبر 2026 " data-check-event-based-preview="" data-is-vertical-video-embed="false" data-network-id="" data-publish-date="2026-09-24T15:46:36Z" data-video-section="sport" data-canonical-url="https://arabic.cnn.com/sport/video/2026/09/24/v202338-mas-wrestling-world-nomad-games-digvid-spc-hnk" data-branding-key="" data-video-slug="mas-wrestling-world-nomad-games-digvid-spc-hnk" data-first-publish-slug="mas-wrestling-world-nomad-games-digvid-spc-hnk" data-video-tags="" data-breakpoints='{"video-resource--media-extra-large": 660}' data-display-video-cover="" data-unselectable="true" data-details=""> Video Ad Feedback "المصارعة التقليدية" في قيرغيزستان.. تعرف إلى هذه الرياضة العريقة 1:18 يُعرض حاليًا • مصدر: CNN • مصدر: CNN " data-fave-thumbnails="{"big": { "uri": "https://media.cnn.com/api/v1/images/stellar/prod/cnnarabic-2026-09-23-images-344997.jpg?c=16x9&q=h_540,w_960,c_fill" }, "small": { "uri": "https://media.cnn.com/api/v1/images/stellar/prod/cnnarabic-2026-09-23-images-344997.jpg?c=16x9&q=h_540,w_960,c_fill" } }" data-vr-video="false" data-show-html="" data-byline-html=" " data-timestamp-html=" نُشر 05 نوفمبر 2026 " data-check-event-based-preview="" data-is-vertical-video-embed="false" data-network-id="" data-publish-date="2026-09-23T14:09:34Z" data-video-section="sport" data-canonical-url="https://arabic.cnn.com/sport/video/2026/09/23/v202276-amanda-davies-interview-with-kylian-mbappe" data-branding-key="" data-video-slug="amanda-davies-interview-with-kylian-mbappé" data-first-publish-slug="amanda-davies-interview-with-kylian-mbappé" data-video-tags="" data-breakpoints='{"video-resource--media-extra-large": 660}' data-display-video-cover="" data-unselectable="true" data-details=""> Video Ad Feedback كيليان مبابي لـCNN: أردت بناء إرث جديد من الصفر.. وهذه كانت فرصة مثالية 2:12 يُعرض حاليًا • مصدر: CNN • مصدر: CNN " data-fave-thumbnails="{"big": { "uri": "https://media.cnn.com/api/v1/images/stellar/prod/cnnarabic-2026-09-18-images-344524.jpg?c=16x9&q=h_540,w_960,c_fill" }, "small": { "uri": "https://media.cnn.com/api/v1/images/stellar/prod/cnnarabic-2026-09-18-images-344524.jpg?c=16x9&q=h_540,w_960,c_fill" } }" data-vr-video="false" data-show-html="" data-byline-html=" " data-timestamp-html=" نُشر 05 نوفمبر 2026 " data-check-event-based-preview="" data-is-vertical-video-embed="false" data-network-id="" data-publish-date="2026-09-18T06:02:31Z" data-video-section="sport" data-canonical-url="https://arabic.cnn.com/sport/video/2026/09/18/v201986-real-madrid-stars-controversy-ceuta-shirts" data-branding-key="" data-video-slug="real-madrid-stars-controversy-ceuta-shirts" data-first-publish-slug="real-madrid-stars-controversy-ceuta-shirts" data-video-tags="" data-breakpoints='{"video-resource--media-extra-large": 660}' data-display-video-cover="" data-unselectable="true" data-details=""> Video Ad Feedback نجوم ريال مدريد يثيرون جدلاً واسعاً بسبب قمصانهم التضامنية مع سبتة 1:16 يُعرض حاليًا • مصدر: CNN • مصدر: CNN " data-fave-thumbnails="{"big": { "uri": "https://media.cnn.com/api/v1/images/stellar/prod/cnnarabic-2026-09-10-images-343856.jpg?c=16x9&q=h_540,w_960,c_fill" }, "small": { "uri": "https://media.cnn.com/api/v1/images/stellar/prod/cnnarabic-2026-09-10-images-343856.jpg?c=16x9&q=h_540,w_960,c_fill" } }" data-vr-video="false" data-show-html="" data-byline-html=" " data-timestamp-html=" نُشر 05 نوفمبر 2026 " data-check-event-based-preview="" data-is-vertical-video-embed="false" data-network-id="" data-publish-date="2026-09-10T15:33:15Z" data-video-section="sport" data-canonical-url="https://arabic.cnn.com/sport/video/2026/09/10/v201554-kok-boru-sport-never-heard-world-nomad-game-vrtc-digvid" data-branding-key="" data-video-slug="kok-boru-sport-never-heard-world-nomad-game-vrtc-digvid" data-first-publish-slug="kok-boru-sport-never-heard-world-nomad-game-vrtc-digvid" data-video-tags="" data-breakpoints='{"video-resource--media-extra-large": 660}' data-display-video-cover="" data-unselectable="true" data-details=""> Video Ad Feedback تعرّف إلى رياضة "كوك-بورو" التقليدية.. والتي ربما لم تسمع عنها من قبل 0:46 يُعرض حاليًا • مصدر: CNN • مصدر: CNN بالعربية " data-fave-thumbnails="{"big": { "uri": "https://media.cnn.com/api/v1/images/stellar/prod/cnnarabic-2023-09-27-images-250495.jpg?c=16x9&q=h_540,w_960,c_fill" }, "small": { "uri": "https://media.cnn.com/api/v1/images/stellar/prod/cnnarabic-2023-09-27-images-250495.jpg?c=16x9&q=h_540,w_960,c_fill" } }" data-vr-video="false" data-show-html="" data-byline-html=" " data-timestamp-html=" نُشر 05 نوفمبر 2026 " data-check-event-based-preview="" data-is-vertical-video-embed="false" data-network-id="" data-publish-date="2023-09-27T13:34:08Z" data-video-section="sport" data-canonical-url="https://arabic.cnn.com/sport/video/2023/09/27/v144843-atw-barca-mallorca" data-branding-key="" data-video-slug="atw-barca-mallorca" data-first-publish-slug="atw-barca-mallorca" data-video-tags="" data-breakpoints='{"video-resource--media-extra-large": 660}' data-display-video-cover="" data-unselectable="true" data-details=""> Video Ad Feedback تشافي وبرشلونة.. أزمة المداورة ودور غندوغان والكوارث الدفاعية 8:15 يُعرض حاليًا • مصدر: CNN بالعربية • مصدر: CNN بالعربية " data-fave-thumbnails="{"big": { "uri": "https://media.cnn.com/api/v1/images/stellar/prod/cnnarabic-2022-07-21-images-217841.jpg?c=16x9&q=h_540,w_960,c_fill" }, "small": { "uri": "https://media.cnn.com/api/v1/images/stellar/prod/cnnarabic-2022-07-21-images-217841.jpg?c=16x9&q=h_540,w_960,c_fill" } }" data-vr-video="false" data-show-html="" data-byline-html=" " data-timestamp-html=" نُشر 05 نوفمبر 2026 " data-check-event-based-preview="" data-is-vertical-video-embed="false" data-network-id="" data-publish-date="2022-07-21T16:34:38Z" data-video-section="sport" data-canonical-url="https://arabic.cnn.com/sport/video/2022/07/21/v124296-atw-saudi-professional-football" data-branding-key="" data-video-slug="atw-saudi-professional-football" data-first-publish-slug="atw-saudi-professional-football" data-video-tags="" data-breakpoints='{"video-resource--media-extra-large": 660}' data-display-video-cover="" data-unselectable="true" data-details=""> Video Ad Feedback بعد صورة سالم الدوسري وتمثال صلاح.. 5 شروط لاحتراف اللاعب السعودي في أوروبا 8:14 يُعرض حاليًا • مصدر: CNN بالعربية • مصدر: CNN بالعربية " data-fave-thumbnails="{"big": { "uri": "https://media.cnn.com/api/v1/images/stellar/prod/cnnarabic-2019-05-08-images-126950.jpg?c=16x9&q=h_540,w_960,c_fill" }, "small": { "uri": "https://media.cnn.com/api/v1/images/stellar/prod/cnnarabic-2019-05-08-images-126950.jpg?c=16x9&q=h_540,w_960,c_fill" } }" data-vr-video="false" data-show-html="" data-byline-html=" " data-timestamp-html=" نُشر 05 نوفمبر 2026 " data-check-event-based-preview="" data-is-vertical-video-embed="false" data-network-id="" data-publish-date="2019-05-08T22:14:18Z" data-video-section="sport" data-canonical-url="https://arabic.cnn.com/sport/video/2019/05/08/v74729-after-whistle-liverpool-barcelona" data-branding-key="" data-video-slug="after-the-whistle-liverpool-barcelona" data-first-publish-slug="after-the-whistle-liverpool-barcelona" data-video-tags="" data-breakpoints='{"video-resource--media-extra-large": 660}' data-display-video-cover="" data-unselectable="true" data-details=""> Video Ad Feedback بعد الصافرة.. كيف صنع ليفربول معجزة "أنفيلد" أمام برشلونة؟ 4:26 يُعرض حاليًا • مصدر: CNN بالعربية • مصدر: CNN بالعربية " data-fave-thumbnails="{"big": { "uri": "https://media.cnn.com/api/v1/images/stellar/prod/cnnarabic-2019-07-10-images-131062.jpg?c=16x9&q=h_540,w_960,c_fill" }, "small": { "uri": "https://media.cnn.com/api/v1/images/stellar/prod/cnnarabic-2019-07-10-images-131062.jpg?c=16x9&q=h_540,w_960,c_fill" } }" data-vr-video="false" data-show-html="" data-byline-html=" " data-timestamp-html=" نُشر 05 نوفمبر 2026 " data-check-event-based-preview="" data-is-vertical-video-embed="false" data-network-id="" data-publish-date="2019-07-10T19:26:27Z" data-video-section="sport" data-canonical-url="https://arabic.cnn.com/sport/video/2019/07/10/v77002-atw-defeating-egypt-in-2019-african-cup-nations" data-branding-key="" data-video-slug="atw-defeating-egypt-in-the-2019-african-cup-of-nations" data-first-publish-slug="atw-defeating-egypt-in-the-2019-african-cup-of-nations" data-video-tags="" data-breakpoints='{"video-resource--media-extra-large": 660}' data-display-video-cover="" data-unselectable="true" data-details=""> Video Ad Feedback بعد الصافرة.. "علاج الأزمة" بعد الوداع المفاجئ لمصر 6:05 يُعرض حاليًا • مصدر: CNN بالعربية عرض المزيد أحدث مقاطع الفيديو • فيديو 1:03 فيديو 1:03 TENNESSEE DEPARTMENT OF CORRECTIONS تجاوز سياج السجن وسرق شاحنة.. القبض على قاتل مدان بعد 9 أيام من فراره 1:03 • فيديو 1:09 فيديو 1:09 Karar Jabbar / AFP via Getty Images كيف قرأ قاليباف نتائج انتخابات التجديد النصفي؟ 1:09 • فيديو 1:55 فيديو 1:55 getty images هل سيقطع ترامب مليارات الدولارات من المساعدات لإسرائيل؟ 1:55 • فيديو 3:02 فيديو 3:02 OURA يتعلم أسرار جسدك.. هل يمكن لخاتم ذكي تغيير مستقبل القطاع الصحي؟ 3:02 • فيديو 1:10 فيديو 1:10 national police of ukraine منطقة زابوريجيا الأوكرانية تتعرض لهجوم روسي ضخم بالقنابل 1:10 • فيديو 0:43 فيديو 0:43 webcam nepal live اصطدام مروحيتين بالقرب من معسكر قاعدة إيفرست 0:43 • فيديو 1:02 فيديو 1:02 Karl Bushby/ associated press مغامر يعود إلى منزله بعد 28 عاماً من السير لمسافة 50 ألف كيلومتر 1:02 • فيديو 2:09 فيديو 2:09 circa هل يمكن لقليل من المطر أن يُحدث فرقا كبيرا في يوم الانتخابات بأمريكا؟ 2:09 • فيديو 1:07 فيديو 1:07 getty images كيف يُمكن للجليد أن يُسقط طائرة.. حتى فوق فلوريدا المشمسة؟ 1:07 فيديو بريد الأخبار العاجلة الشرق الأوسط السعودية مصر الإمارات إيران الخليج شرق المتوسط شمال إفريقيا العالم الولايات المتحدة روسيا الصين أوروبا إفريقيا سياحة وجهات سياحية مذاقات فنادق مغامرات رياضة الدوري الإنجليزي الدوري الإسباني الدوري السعودي الدوري المصري علوم وصحة غذاء لياقة بدنية صحة نفسية أمراض استدامة اكتشافات علمية منوعات أخبار الفن مشاهير مسلسلات ستايل فنون أزياء وجمال تصاميم وعمارة فخامة سبوت لايت ريادة المستقبل أنغولا الآن نداء الأرض أسواق الشرق الأوسط حكايتها متفرقات CNN الاقتصادية ألعاب .cls-1 { fill: #fff; stroke-width: 0px; } رياضة فيديو تابعونا عبر سياسة الخصوصية شروط الخدمة خيارات الإعلانات للإعلان من نحن © 2026 Cable News Network. All Rights Reserved.
Download the CNN app Scan the QR code to download the CNN app on Google Play.
Download the CNN app Scan the QR code to download the CNN app from the Apple Store.
// window.modules=[]; /* window.modules["3"] */ "use strict";(self.modules=self.modules||[]).push([["3"],{3:(i,s,E)=>{let{PAGE_TYPES:e}=E("17");function T(i){return(Array.isArray(i)?i:[i]).includes(window.CNN.contentModel?.pageType||window.CNN.helpers?.PAGE_TYPES.UNKNOWN)}i.exports={isArticle:()=>T(e.ARTICLE),isAudio:()=>T(e.AUDIO),isCustom:()=>T(e.CUSTOM),isDTC:()=>T(e.DTC),isCommunityEvent:()=>T(e.COMMUNITY_EVENT),isElection:()=>T(e.ELECTION),isFeed:()=>T(e.FEED),isGallery:()=>T(e.GALLERY),isInteractive:()=>T(e.INTERACTIVE),isLivestream:()=>T(e.LIVESTREAM),isVerticalLivestream:()=>T(e.VERTICAL_LIVESTREAM),isLivestory:()=>T(e.LIVESTORY),isSubscriptionPage:()=>T(e.SUBSCRIPTION_PAGE),isNewsletterLandingPage:()=>T(e.NEWSLETTER_LANDING_PAGE),isProfile:()=>T(e.PROFILE),isScratchpad:()=>T(e.SCRATCHPAD),isSearch:()=>T(e.SEARCH),isSection:()=>T(e.SECTION),isSeries:()=>T(e.SERIES),isStatic:()=>T(e.STATIC),isTVE:()=>T(e.TVE),isTVEEpisode:()=>T(e.TVE_EPISODE),isTVEFilm:()=>T(e.TVE_FILM),isTVESeries:()=>T(e.TVE_SERIES),isUnknown:()=>T(e.UNKNOWN),isUserManagement:()=>T(e.USER_MANAGEMENT),isVerticalVideo:()=>T(e.VERTICAL_VIDEO),isVideo:()=>T(e.VIDEO),isNewsletterPage:()=>T(e.NEWSLETTER_PAGE),isVitalAction:()=>T(e.VITAL_ACTION),isVitalStory:()=>T(e.VITAL_STORY),isPageType:T,PAGE_TYPES:e}}}]); /* window.modules["4"] */ "use strict";(self.modules=self.modules||[]).push([["4"],{4:e=>{e.exports=new ResizeObserver(e=>{let t={"EQ-breakpoint__small":480,"EQ-breakpoint__medium":960,"EQ-breakpoint__large":1280,"EQ-breakpoint__xtralarge":1360};e.forEach(function(e){let a=e.target.dataset.breakpoints?JSON.parse(e.target.dataset.breakpoints):t;Object.keys(a).forEach(t=>{let s=a[t];e.contentRect.width>=s?e.target.classList.add(t):e.target.classList.remove(t)})})})}}]); /* window.modules["5"] */ "use strict";(self.modules=self.modules||[]).push([["5"],{5:e=>{function r({videoResourceUri:e}){let r=document.querySelector(`[data-uri='${e}'] .video-resource__cover`);r&&r.classList.add("hide")}function o(e,o,t){!(e.target&&Array.from(e.target.classList).some(e=>e.includes("__source-url")))&&(r({videoResourceUri:o.dataset.uri}),"function"==typeof window.FAVE?.player?.getInstance&&"player-"!==t&&window.FAVE.player.getInstance(t).play())}e.exports={handleVideoCoverClick:o,hideVideoCover:r,initVideoCover:function(e){let r=e.querySelector(".video-resource__cover"),t=e.querySelector(".video-resource")||e.querySelector(".video-player"),i=`player-${t?t.dataset.uri:""}`;r?.addEventListener("click",r=>o(r,e,i))},removeVideoCoverSpinner:function({videoResourceUri:e}){let r=document.querySelector(`[data-uri='${e}'] .video-resource__playhead`);r&&r.classList.remove("spinner")}}}}]); /* window.modules["6"] */ "use strict";(self.modules=self.modules||[]).push([["6"],{6:e=>{let t=e=>{let t=e.search(/(\s\S*)$/);return e.substring(0,t)},n=(e,t,n)=>{let r=Math.ceil(e.length/t*n+50);return e.substring(0,r)};e.exports={lineClamp:(e,r,i)=>{let s=window.getComputedStyle(e),o=r*Math.round(parseFloat(s.lineHeight))+(parseInt(s?.paddingTop||0)+parseInt(s?.paddingBottom||0))+(parseInt(s?.marginTop||0)+parseInt(s?.marginBottom||0)),l=e.offsetHeight;if(!o||!l||l2*o&&(e.innerText=n(e.innerText,l,o),l=e.offsetHeight);let a=0;for(;l>o&&ao&&a{let{PAGE_VARIANTS:r}=t("314");e.exports={isPageVariant:function(e){return(Array.isArray(e)?e:[e]).includes(window.CNN.contentModel?.templateType||window.CNN.helpers?.PAGE_VARIANTS.UNKNOWN)},PAGE_VARIANTS:r}}}]); /* window.modules["8"] */ "use strict";(self.modules=self.modules||[]).push([["8"],{8:e=>{let o=e=>{document.cookie=e};e.exports={getCookie:(e,o)=>{o=void 0!==o?o:null;let s=RegExp(`(^|;)\\s*${e}\\s*=\\s*([^;]+)`),t=document.cookie.match(s);return t?t.pop():o},setCookie:o,removeCookie:e=>{o(`${e}=;path=/; expires=Thu, 01 Jan 1970 00:00:01 GMT`)}}}}]); /* window.modules["9"] */ "use strict";(self.modules=self.modules||[]).push([["9"],{9:(e,t,n)=>{let{getSiteLanguage:o,getDirection:i}=n("137"),{getCookie:r}=n("8"),l=n("23").get("APP_VIEW_COOKIE"),s=()=>window?.CNN?.contentModel,a=()=>{let e=window.WM&&window.WM.UserConsent;return e&&"function"==typeof e.getGeoCountry?e.getGeoCountry():void 0},d=async(e,t)=>{let{components:n}=e,o={};for(let[i,r]of Object.entries(e.page.data))o[i]=Array.isArray(r)?await Promise.all(r.map(async e=>n[e]?{_ref:e,...await t(n[e])}:{_ref:e})):r;return o},c="tve-carousel_dtc";e.exports={getContentModel:s,getLanguage:()=>o(window.kiln?.locals?.site?.site||s()?.brandSite),getQuery:e=>{let t=window.location.search.slice(1).split("&").map(e=>e.split("=")).find(([t])=>t===e);return t&&t[1]},convertAuthType:e=>e?("string"==typeof e&&(e=e.split(",").map(e=>e.trim())),e):[],isInternalURL:e=>{try{let t=decodeURIComponent(e);return/(https?:\/\/(.+?\.)?(cnn\.com|localhost|cnn-cms\.net)(\/[A-Za-z0-9\-._~:/?#[\]@!$&'()*+,;=]*)?)|(^\/(?!\/)([A-Za-z0-9\-._~:/?#[\]@!$&'()*+,;=]*\/?))/.test(t)}catch(e){return!1}},scrollIntoView:e=>{let t=e.getBoundingClientRect().top,n=document.querySelector(".header__inner").getBoundingClientRect().bottom;window.scrollTo({top:t-n,behavior:"smooth"})},isInGdprRegion:()=>{let e=window.WM&&window.WM.UserConsent;return!!(e&&e.isInGdprRegion&&"function"==typeof e.isInGdprRegion)&&e.isInGdprRegion()},getGeoCountry:a,getGeoState:()=>{let e=window.WM&&window.WM.UserConsent;return e&&"function"==typeof e.getGeoState?e.getGeoState():void 0},checkGeoCountry:e=>a()===e,getGeoDataCookie:()=>{let e=r("geoData");if(!e)return null;let t=e.split("|");if(t.length"?"===e?"":e,o=e=>n(e).toUpperCase();return{city:n(t[0]),region:o(t[1]),postCode:o(t[2]),country:o(t[3]),latitude:n(t[7]),longitude:n(t[8])}},getBrowser:()=>-1!==navigator.userAgent.indexOf("Chrome")?"Chrome":-1!==navigator.userAgent.indexOf("Opera")?"Opera":-1!==navigator.userAgent.indexOf("Safari")?"Safari":-1!==navigator.userAgent.indexOf("Firefox")?"Firefox":-1!==navigator.userAgent.indexOf("MSIE")?"Internet Explorer":"Browser not detected",addScriptTag:function(e={},t=!1){let n=document.createElement("script"),o={language:"javascript",type:"text/javascript",...e};return Object.keys(o).forEach(e=>{if("data"===e){let{data:e}=o;Object.keys(e).forEach(t=>{e[t]&&n.setAttribute(`data-${t}`,e[t])})}else n[e]=o[e]}),t?document.body.prepend(n):document.head.append(n),n},isEditionPage:function(){return window.CNN.contentModel?.edition},isEspanolPage:function(){return window.CNN.contentModel?.brandSite===window.CNN.helpers.SITES.espanol},isDomesticPage:function(){return window.CNN.contentModel?.brandSite===window.CNN.helpers.SITES.cnn},isArabicPage:function(){return window.CNN.contentModel?.brandSite===window.CNN.helpers.SITES.arabic},buildClientPage:d,swapElementClass:(e,t,n)=>{e&&(n?e.classList.add(t):e.classList.remove(t))},getZaid:({throwIfMissing:e=!1}={})=>{let t=JSON.parse(localStorage.getItem("zion.zaid")||"{}");if(!t.id&&e)throw Error("Zaid not found in local storage");return t.id||null},isRtl:function(){return"rtl"===i(s())},delay:e=>new Promise(t=>setTimeout(t,e)),TVECarouselScrollStrategy:class{constructor(e,t=300){this.scrollIt=e.contains(c)?this.smoothScrolling(t):this.defaultScrolling}defaultScrolling(e,t){e.scrollBy({left:t,behavior:"smooth"})}smoothScrolling(e){return(t,n)=>{let o=t.scrollLeft,i=performance.now(),r=l=>{let s=Math.min((l-i)/e,1);t.scrollLeft=o+n*(s{let n=e?.querySelector(`.${t} .uclink`);window.WM&&window.WM.UserConsent&&0!==window.WM.UserConsent.getLinkTitle().length&&n&&(n.text=window.WM.UserConsent.getLinkTitle(),n.onclick=window.WM.UserConsent.getLinkAction(),n.style.display="block",n.style.textAlign="center")},isAppWebView:()=>!!(l&&r(l)),getAppWebViewPlatform:()=>l?r(l):null}}}]); /* window.modules["11"] */ "use strict";(self.modules=self.modules||[]).push([["11"],{11:(e,n,t)=>{let o=[],{isInternalURL:i}=t("9"),r=t("135"),a={componentOnScreen:"ComponentOnScreen",componentOffScreen:"ComponentOffScreen",componentLoaded:"ComponentLoaded",genericClick:"GenericClick",genericLinkClick:"GenericLinkClick",genericSubmit:"GenericSubmit",paymentTransactionCompleted:"PaymentTransactionCompleted",paymentTransactionFailed:"PaymentTransactionFailed",scrollDepth:"ScrollDepth",genericMetric:"GenericMetric",pageview:"Pageview"},c=e=>e.map(({name:e,data:n})=>new window.ZION_SDK[e](n)),l=()=>{let e=window.zion_analytics;if(!e){window.addEventListener("zion.loaded",l,{once:!0});return}o.splice(0).forEach(({eventArgs:n,eventName:t,eventVersion:i,contexts:r})=>{let a=2===i?window.ZION_SDK?.V2:window.ZION_SDK;if(!a){o.push({eventArgs:n,eventName:t,eventVersion:i,contexts:r});return}e.track(new a[t](...n),...c(r))}),o.length>0&&window.addEventListener("zion.loaded",l,{once:!0})},_=(e,n,t=1,i=[],r)=>{let a=window.zion_analytics,_=2===t?window.ZION_SDK?.V2:window.ZION_SDK,d=r?[e,r]:[e];a&&_?a.track(new _[n](...d),...c(i)):(0===o.length&&window.addEventListener("zion.loaded",l,{once:!0}),o.push({eventArgs:d,eventName:n,eventVersion:t,contexts:i}))},d={threshold:"0.2",root:null,rootMargin:"0px"},s=e=>(Object.keys(e).forEach(n=>{let t=e[n];(""===t||null==t)&&delete e[n]}),e),p=[0,25,50,75,100],m={cms_id:"Cms_id",canonical_url:"Canonical_url",zone_id:"Zone_id",zone_name:"Zone_name",zone_type:"Zone_type",zone_position_number:"Zone_position_number",zone_total_number:"Zone_total_number",product_zone_position_number:"Product_zone_position_number",product_zone_total_number:"Product_zone_total_number",combined_zone_position_number:"Combined_zone_position_number",combined_zone_total_number:"Combined_zone_total_number",stack_id:"Stack_id",stack_name:"Stack_name",stack_type:"Stack_type",stack_position_number:"Stack_position_number",stack_total_number:"Stack_total_number",stacks_identifier:"Stacks_identifier",stack_position:"Stack_position",container_id:"Container_id",container_name:"Container_name",container_type:"Container_type",container_position_number:"Container_position_number",container_total_number:"Container_total_number",container_page_position_number:"Container_page_position_number",container_page_total_number:"Container_page_total_number",container_label:"Container_label",card_id:"Card_id",card_name:"Card_name",card_type:"Card_type",card_position_number:"Card_position_number",card_total_number:"Card_total_number",card_link_type:"Card_link_type",card_label:"Card_label",component_id:"Component_id",component_type:"Component_type",component_text:"Component_text",component_name:"Component_name",feature:"Feature",action:"Action",link_page_stellar_id:"Link_page_stellar_id",tenant:"Tenant",link_position:"Link_position",link_total:"Link_total",link_stellar_page_id:"Link_stellar_page_id",location:"Location",page_stellar_id:"Page_stellar_id",stellar_id:"Stellar_id",nav_location:"Nav_location",nav_link_text:"Nav_link_text",nav_version:"Nav_version"},u=e=>{if(!e)return{};let n={};for(let[t,o]of Object.entries(m)){let i=e.getAttribute(`data-zjs-${t}`);null!==i&&""!==i&&(n[o]=i)}return n};e.exports={addOnScreenAnalytics:(e,n=d,t={},o=_,i)=>{let r={},c=0,l=new IntersectionObserver(e=>e.forEach(({isIntersecting:e,target:n})=>{let _=n.id||t.component_id,d={component_id:_,component_type:t.component_type||"section",...t};e&&!r[_]?r[_]=setTimeout(()=>{o(d,a.componentOnScreen),c+=1},1e3):!e&&r[_]&&(clearTimeout(r[_]),delete r[_],o(d,a.componentOffScreen),i&&c>=i&&l.disconnect())}),n);return l.observe(e),l.cancelPending=()=>{Object.keys(r).forEach(e=>{clearTimeout(r[e]),delete r[e]})},l},addParagraphScrollDepthAnalytics:(e,n,t={})=>{let o=e?e.querySelectorAll(n):[],i=o.length;if(!i)return;let r=Math.round(.25*i),c=Math.round(.5*i),l=Math.round(.75*i),d=new WeakMap,s=[...p],m=e=>e===i||1===i?100:e===l?75:e===c?50:e===r?25:1===e?0:null,u=e=>{s.filter(n=>n{_({scroll_percentage:e,...t},a.scrollDepth)}),s=s.filter(n=>n>e)},w=new IntersectionObserver(e=>{e.forEach(({isIntersecting:e,target:n})=>{if(!e)return;let t=m(d.get(n));null!==t&&u(t),w.unobserve(n),s.length||w.disconnect()})});o.forEach((e,n)=>{d.set(e,n+1),w.observe(e)})},addScrollDepthAnalytics:(e,n,t={},o=!0)=>{Object.keys(n).forEach(i=>{let c=n[i],l={scroll_percentage:100*c,...t};r(e,c,i,()=>{_(o?l:t,a.scrollDepth)})})},trackScrollDepth:(e={})=>{_(e,a.scrollDepth)},addComponentLoadedAnalytics:(e={})=>{let{source:n,componentType:t,componentId:o,traits:r={}}=e,c=window.CNN&&window.CNN.contentModel,l=window?.WM?.referrer||document.referrer;_({component_id:o,component_type:t,traits:{source_id:c&&c.sourceId||void 0,source:n||i(l)&&l||void 0,...r}},a.componentLoaded)},addPageviewAnalytics:(e={})=>{let{traits:n={}}=e,t=window.CNN&&window.CNN.contentModel||{},o=window.CNN?.metadata?.content?.topics?.tags||(t.pageTags?t.pageTags.split(","):[]);_({canonicalUrl:t.canonicalUrl,traits:{event_source:t.techStack||"stellar",page_variant:t.templateType||"",raw_url:window.location.href,cms_id:t.cmsId||"",page_type:t.pageType||"",edition:window.CNN?.helpers?.isEditionPage(),section:t.section||"",subsection:t.subsection||"",section_level_3:t.subsubsection||"",experience_type:"cnn_core",page_tags:o,is_content_loaded:!1,is_dynamic_pageview:!1,...n},sourceId:t.sourceId||""},a.pageview,1,[{name:"ConsentContext",data:{consent_state:window.WBD?.UserConsent?.getSimpleConsentState()||{}}}])},addGenericSubmitAnalytics:(e={})=>{let{componentType:n,componentId:t,traits:o={},source:r}=e,c=s(o),l=window.CNN?.contentModel,d=window?.WM?.referrer||document.referrer,p=document.querySelector("link[rel='canonical']"),m=l&&l.canonicalUrl||p&&p.href||window.location.href;_({component_id:t,component_type:n,traits:{source_id:l?.sourceId,source:r||i(d)&&d||void 0,canonical_url:m,brand:"CNN",cms_id:l?.cmsId,page_type:l?.pageType,page_variant:l?.templateType,...c}},a.genericSubmit)},addGenericClickAnalytics:(e={})=>{let{componentType:n,componentId:t,traits:o={},source:r}=e,c=window.CNN&&window.CNN.contentModel,l=window?.WM?.referrer||document.referrer,d=document.querySelector("link[rel='canonical']"),s=c&&c.canonicalUrl||d&&d.href||window.location.href;_({component_id:t,component_type:n,traits:{source_id:c?.sourceId,source:r||i(l)&&l||void 0,canonical_url:s,cms_id:c?.cmsId,brand:"CNN",...o}},a.genericClick)},addGenericLinkClickAnalytics:e=>{e&&_({href:e.href,type:"A",customAttributes:u(e)},a.genericLinkClick)},addGenericMetricAnalytics:(e,n=[])=>{let t=new Date().toString();_({metric_source:e,metrics:n.map(e=>({...e,metric_timestamp:t}))},a.genericMetric,2)},addZJSClickAttributes:(e,n={})=>{if(e){for(let t in e.setAttribute("data-zjs","click"),n)if(Object.hasOwnProperty.call(n,t)){let o=n[t];e.setAttribute(`data-zjs-${t}`,o)}}},getClickActionType:e=>e?.pointerType==="touch"?"tap":"click",getGenericLinkClickCustomAttributes:u,addPaymentTransactionEvent:(e={},n=!0)=>{let{source:t,...o}=e,r=window.CNN&&window.CNN.contentModel,c=window?.WM?.referrer||document.referrer,l=document.querySelector("link[rel='canonical']"),d=r&&r.canonicalUrl||l&&l.href||window.location.href;_({source_id:r&&r.sourceId||void 0,source:t||i(c)&&c||void 0,canonical_url:d,brand:"CNN",...o},n?a.paymentTransactionCompleted:a.paymentTransactionFailed)},addSearchTermTracking:({search_term:e,search_results_number:n,search_category:t,search_section:o,search_type:i,sort_type:r})=>{_({canonical_url:window.CNN?.contentModel?.canonicalUrl,search_text:e,search_type:"",traits:{search_term:e,search_results_number:n,search_category:t,search_section:o,sort_type:r,search_type:i}},"Search")},zionEventHandler:_,DEFAULT_OBSERVER_API_SETTINGS:d}}}]); /* window.modules["12"] */ "use strict";(self.modules=self.modules||[]).push([["12"],{12:(e,t,r)=>{var n=r("389");let i=r("607"),o=r("608"),s=r("102"),a=r("396"),u=r("469"),l=r("609"),c=r("416"),f=r("511"),d=r("395"),m=r("622"),g=r("307"),h=/((http|ftp|https):\/\/([\w_-]+(?:(?:\.[\w_-]+)*))([\w.,@?^=%&:/~+#-]*[\w@?^=%&/~+#-]))/gi;function y(e){return i(e)||o(e)?s(e):a(e)?0===e.length:!!(u(e)||l(e))}let p=e=>{let t;if("string"!=typeof e)return e;let r=e;do t=r,r=r.replace(/]+>/g,"");while(r!==t);return r},w=new Intl.Segmenter("en",{granularity:"sentence"}),$=e=>"object"==typeof e?e.topicId:e,T=e=>Array.isArray(e)?e:[e],_=e=>e&&Math.ceil(e/225);async function S(e,t,r=1/0){if(rasync()=>{for(let o=r;oo(t)());return await Promise.all(s),n}let b="America/New_York";e.exports={has:function(e){return!y(e)},isFieldEmpty:y,stripHtml:p,wait:function(e){return t=>new Promise(r=>setTimeout(()=>r(t),e))},convertToBoolean:function(e){try{return!0===e||1===e||"true"===e.toLowerCase()}catch(e){return!1}},isPublishing:function(e){return e instanceof Object&&e&&null!=e.publishUrl},isServerSide:function(){return!!(n.versions&&n.versions.node)},getTopicId:$,getCepTopics:(e=window.CNN.cep_topics)=>{if(!e)return{};let t={};return Object.keys(e).forEach(r=>{r.startsWith("cep_")?e[r].forEach(e=>t[$(e)]=r):t[r]=e[r]}),t},isValidForDefaultSectionSetting:function(e){return["article","gallery","video","live-story","newsletter-studio"].includes(e)},componentChanged:(e,t,r=[])=>(r=r.concat(["__meta","__fields"]),!f(c(d(e),r),c(d(t),r))),makeLinks:e=>e.replace(h,'$1'),ensureArray:T,isOfType:(e,t)=>T(e).includes(t),getHost:e=>e?.site?.host||n.env.DEFAULT_SITE_HOST,getReadTimeAsString:e=>e&&`${_(e)}`,getReadTimeAsNumber:_,getReadTimeAsDuration:e=>{if(e)return m({minutes:Math.floor(e/225),seconds:Math.floor(60*e/225%60)})},isRegistrationPaywallExempt:e=>{let t=["cnn-underscored"];return!!["gallery_unfurled","gallery_leaf"].includes(e.additionalType)||!!e.sections&&e.sections.length>0&&e.sections.some(e=>t.includes(e))},getReadTimeText:function(e,t){let r=Number(t)||0;return"ar"===e?1===r?g(e,"minute read"):2===r?g(e,"two minute read"):r>2&&re?.find(e=>e[t]===r),toObject:({hash:e})=>e,getNewsletterSlugDatePart:function(e=new Date,t=b){let r=e instanceof Date&&!isNaN(e.getTime())?e:new Date,n=e=>{let t=new Intl.DateTimeFormat("en-US",{timeZone:e,year:"2-digit",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit",second:"2-digit",hour12:!1}).formatToParts(r).reduce((e,{type:t,value:r})=>(e[t]=r,e),{}),n="24"===t.hour?"00":t.hour;return`${t.month}-${t.day}-${t.year}-${n}${t.minute}${t.second}`};try{return n(t)}catch(e){return n(b)}},takeFirstSentence:function(e){if(!e||"string"!=typeof e)return"";let t=p(e).trim();if(!t)return"";let r="";for(let{segment:e}of w.segment(t))if(r+=e,!/^\S+\.$/.test(e.trim()))return r.trim();return t}}}}]); /* window.modules["13"] */ "use strict";(self.modules=self.modules||[]).push([["13"],{13:(t,e,n)=>{let o=n("663");function r(t,e){let{timeout:n,...o}=e;if(n){if("function"==typeof AbortSignal.timeout)o.signal=AbortSignal.timeout(n);else{let e=new Promise((t,e)=>{setTimeout(()=>{let t=Error("The operation was aborted due to timeout");t.name="TimeoutError",e(t)},n)});return Promise.race([fetch(t,o),e])}}return fetch(t,o)}function i(t){if(t.status>=200&&t.status{n.append(t,e[t])}),o.body=n,r(t,o).then(i).then(function(t){return t.json()})},t.exports.post=function(t,e,n={},o={}){return r(t,{method:"POST",headers:{"Content-Type":"application/json",...n},credentials:"same-origin",body:JSON.stringify(e),...o}).then(i).then(function(t){return t.json()})},t.exports.patch=function(t,e){return r(t,{method:"PATCH",headers:{"Content-Type":"application/json"},credentials:"same-origin",body:JSON.stringify(e)}).then(i).then(function(t){return t.json()})},t.exports.putWOpts=function(t,e,n){return r(t,{method:"PUT",headers:{"Content-Type":"application/json",...n},credentials:"same-origin",body:JSON.stringify(e)}).then(i).then(function(t){return t})},t.exports.purge=function(t){return r(t,{method:"PURGE",headers:{"Content-Type":"application/json",Method:"PURGE"}}).then(i).then(function(t){return t.json()})},t.exports.del=function(t,e,n){return r(t,{method:"DELETE",headers:{"Content-Type":"application/json",...n},credentials:"same-origin",body:JSON.stringify(e)}).then(i).then(function(t){return t.json()})}}}]); /* window.modules["14"] */ "use strict";(self.modules=self.modules||[]).push([["14"],{14:(t,e,n)=>{let r=n("23"),i=n("116"),l=n("448"),o=n("31").setup({file:"/index.js"}),s=r.get("CANONICAL_URL_OVERRIDE"),c="¤tUrl=",u="@published",p=RegExp(`${u}$`),a=RegExp("^((https?:\\/\\/)?(?:([-a-zA-Z0-9@:%._+~#=]*)(\\.))?(cnn\\.com|cnn-cms\\.net))(.*)?$");function f(t){return(t=t.endsWith("/")?t.substring(0,t.length-1):t).endsWith("/index.html")&&(t=t.replace("/index.html","")),t}function h(t){return p.test(t)}let d=t=>{try{return new URL(t).protocol.indexOf("http")>=0}catch(e){try{let e=f(t);if(e.indexOf(".")>0)return new URL(`https://${e}`),!0;return!1}catch(t){return!1}}};function m(t){return h(t)?t:t.split("@")[0]+u}function g(t){try{return new URL(t).pathname}catch(n){let e=t.indexOf("//");if(e>=0){let n=t.indexOf("/",e+2);if(n>=0)return t.substring(n,t.length);return""}{let e=t.indexOf("/");if(e>=0)return t.substring(e,t.length);return""}}}t.exports={KILN_URL_PARAM:c,PUBLISHED_VERSION_SUFFIX:u,addTrailingSlash:function(t){return t.endsWith(".html")||t.endsWith("/")?t:`${t}/`},ensurePublishedVersion:m,ensureUnpublishedVersion:function(t){return t.replace(p,"")},extractPath:g,getCanonicalUrl:function(t,e,n=null){let r=i(e,"configuration.section"),l=i(e,"brandSite.canonicalHost"),o=i(e,"site.protocol","https"),c=f(t,n,r,i(e,"site.site","cnn"));return i(s,c,!1)||`${o}://${l}${c}`},getCanonicalUrlPath:f,getComponentUriFromUrl:function(t){let{hostname:e,pathname:n}=l(t),r=n.split(".")[0];return`${e}${r}`},getTrimmedHostname:function(t){let{hostname:e}=l(t);return e.replace(/^www./i,"")},getSiteBaseUrl:function(t){let e=t.site||{},n=e.protocol||"http",r=e.host,i=(e.port||"80").toString(),l=e.path||"";return`${n}://${r}${"80"===i?"":`:${i}`}${l}`},isCNNUrl:function(t,e="www.cnn.com"){return RegExp(`^((https?://)?(${e}|(?:([-a-zA-Z0-9@:%._+~#=]*)(.))?(cnn.com)))(.*)?$`).test(t)},isEdition:function(t){return/^edition(\.|-)/.test(t)},isPublishedVersion:h,isSpecial:function(t){return/\/specials\/(?!$)/.test(t)},isUS:function(t){return/^us\./.test(t)},isValidURL:d,kilnUrlToPageUrl:function(t){return t.indexOf(c)>-1?decodeURIComponent(t.split(c).pop()):t},parseQueryString:function(t){let e={};for(let n of t?t.split("&"):[]){if(!n)continue;let t=n.split("=");e[t[0]]=t[1]||""}return e},urlToUri:function(t){let e=l(t);return`${e.hostname}${e.pathname}`},uriToUrl:function(t,e,n=!1){let r=i(e,"site.protocol")||"http",o=i(e,"site.port"),s=l(`${r}://${t}`);return 80!==o&&s.set("port",o),n?m(s.href):s.href},uriToAbsoluteUrl:function(t,e){let n;if(!t)return;let r=t.replace(/^(http(s)?)*:*(\/\/)*/,"");if(!r.startsWith("/")){let t=r.indexOf("/");n=-1!==t?r.substring(0,t):r}let i=l(r.replace(n,""));return i.set("host",n||e?.brandSite?.canonicalHost),i.set("protocol",e?.site?.protocol||"http"),i.set("slashes",!0),i.toString()},urlHasValidProtocol:t=>{if(d(t))try{let e=new URL(t);return 0===e.protocol.indexOf("http:")||0===e.protocol.indexOf("https:")}catch(t){return!1}},getSlugFromUrl:function(t){let{pathname:e}=l(t),n=e.split("/");return"index.html"===n.slice(-1)[0]&&n.pop(),n.slice(-1)[0].split(".")[0]},getMobileUrl:function(t,e="v1",n=!1){if(!a.test(t)||["/interactive/","cnn.it","coupons.cnn","/webview/"].some(e=>t.includes(e))||t.includes("/audio/")&&!t.includes("/episodes/"))return t;let r=g(t),i=t;if(r.length>1){let t=`/mobile/${e}`;return r.includes("/live-news/")&&!n||r.includes("/election/")||r.includes("/community-event/")?(t="/webview",i.replace(r,t.concat(r))):(i=i.replace(r,t.concat(r))).endsWith(".html")?i.replace(".html",""):i}return i},getFileNameFromUrl:function(t,e={includeExtension:!0}){try{let n=(new URL(t).pathname.split("/").pop()||"").split("."),r=n.length>1;return!e.includeExtension&&r&&n.pop(),n.join(".")}catch(t){return o("error",t.message,{stack:t.stack}),""}}}}}]); /* window.modules["15"] */ "use strict";(self.modules=self.modules||[]).push([["15"],{15:(e,t,n)=>{let r=n("66"),a=n("307"),o=n("639"),i=n("640"),u=n("623"),s=n("624"),m=n("65"),l=n("629"),f=n("625"),c=n("626"),p=n("396"),D=n("627"),{getCurrentSite:g}=n("137");function d(){return new Date().toLocaleTimeString("undefined"==typeof navigator?"en-US":navigator.languages&&navigator.languages.length?navigator.languages[0]:navigator.userLanguage||navigator.language||navigator.browserLanguage||"en-US",{timeZoneName:"short"}).split(" ").pop()}function $(e,t="short"){return e.toLocaleString("en-US",{timeZone:"America/New_York",timeZoneName:t}).split(" ").pop()}function y(e){return!e||isNaN(Date.parse(e))?null:(e instanceof Date||(e=new Date(e)),`${e.toISOString().slice(0,-5)}Z`)}let w="America/New_York";function M(e){if(!e)return"";let t=e instanceof Date?e:new Date(e);if(Number.isNaN(t.getTime()))return"";let n=t.toLocaleDateString("en-US",{timeZone:w,month:"long",day:"numeric",year:"numeric"});return`Ended on ${n}`}let h={PRE:"pre",LIVE:"live",POST:"post"};function T(e,t){return e?(e instanceof Date||(e=new Date(e)),r(e,`h:mm aaaa${t?` '${d()}',`:""} MMMM d, yyyy`)):""}function S(e){e instanceof Date||(e=new Date(e));let t=new Date(e.toLocaleString("en-US",{timeZone:"America/New_York"})),n=r(new Date(e.toLocaleString("en-US",{timeZone:"GMT"})),"HH:mm"),a=r(t,"MMMM",{locale:o});return r(t,`HH:mm 'ET (${n} GMT)' d 'de ${a} de' yyyy`,{locale:o})}function N(e,t=!1,n=!1){if(Number.isNaN(parseFloat(e))||0>=parseFloat(e))return"00:00";let r=Math.floor(e/3600),a=Math.floor((e-3600*r)/60),o=Math.floor(e-3600*r-60*a),i=e=>e=3&&r{let r=e instanceof Date?e:new Date(e),a=t instanceof Date?t:new Date(t),o=n instanceof Date?n:new Date(n);try{return D(r,{start:a,end:o})}catch(e){return!1}},e.exports.usersTimeZone=d,e.exports.formatDate=function(e,t){return e?(e instanceof Date||(e=new Date(e)),r(e,t)):""},e.exports.formatDateISO=y,e.exports.formatDateET=function(e,t){return e?("now"===e?e=new Date:e instanceof Date||(e=new Date(e)),r(new Date(e.toLocaleString("en-US",{timeZone:"America/New_York"})),t)):""},e.exports.formatTimestamp=T,e.exports.formatTimestampET=function(e,t="timeFirst",n="short"){e instanceof Date||(e=new Date(e));let a=e.toLocaleString("en-US",{timeZone:"America/New_York"}),o=$(e,n),i="dateFirst"===t?`MMM d, yyyy, h:mm a '${o}'`:`h:mm a '${o}' MMMM d, yyyy`;return r(new Date(a),i)},e.exports.formatDuration=N,e.exports.formatRuntime=function(e){if(Number.isNaN(parseFloat(e)))return"0 min";let t=l({start:0,end:f(e)});return t.seconds>0&&(t.minutes+=1),c(t,{format:["hours","minutes"]}).replace(/hours?/,"hr").replace(/minutes?/,"min")},e.exports.formatLastUpdated=function(e,t=!0){let n;if(!e)return"";let r=new Date,a=p(e)?m(y(e)):e,o=u(r,a),i=s(r,a)%60;return 1>s(r,a)?"less than 1 min ago":o0&&(n=n.replace("ago",`${i} min ago`)),n):T(a,t)},e.exports.formatLastUpdatedEspanol=function(e,t=!0){let n;if(!e)return"";let r=new Date,a=p(e)?m(y(e)):e,o=u(r,a),i=s(r,a)%60;return 1>s(r,a)?"Hace menos de 1 minuto":o1?"s":""}`:o1?"s":""}`,i>0&&(n=n.replace(/hora(s?)$/,`hora$1 y ${i}${i>1?" minutos":" minuto"}`)),n):S(a,t)},e.exports.ELAPSED_TIME_DEFAULTS=x,e.exports.formatElapsedTime=function(e,t){let n;if(!e)return null;if(p(e)){let t=y(e);n=t?m(t):null}else n=e;if(!n||isNaN(new Date(n).getTime()))return null;let{maxMinutes:r,recentMinutes:o,referenceDate:i}=U(t),l=s(i,n);if(l=r)return null;let f=t?.site??t?.data?.root?.locals?.site?.site??g(),c=l120?null:n=60?"1 hr ago":`${n} min ago`},e.exports.formatTimestampEdition=function(e){e instanceof Date||(e=new Date(e));let t=r(new Date(e.toLocaleString("en-US",{timeZone:"Asia/Hong_Kong"})),"HHmm"),n=r(new Date(e.toLocaleString("en-US",{timeZone:"GMT"})),"HHmm"),a=r(e,"MMMM dd, yyyy");return`${n} GMT (${t} HKT) ${a}`},e.exports.formatTimestampEspanol=S,e.exports.formatTimestampArabic=function(e,t=!1,n){return e instanceof Date||(e=new Date(e)),r(new Date(e.toLocaleString("en-US",{timeZone:"GMT"})),"video"===n?t?`EEEE، dd MMMM yyyy`:"dd MMMM yyyy":t?`EEEE، dd MMMM yyyy، HH:mm 'غرينتش'`:`dd MMMM yyyy، HH:mm 'غرينتش'`,{locale:i})},e.exports.formatTimestampDomestic=function(e){e instanceof Date||(e=new Date(e));let t=e.toLocaleString("en-US",{timeZone:"America/New_York"}),n=$(e),a=new Date(t),o=r(a,"cccc").substring(0,3);return r(a,`h:mm a '${n},' '${o}' MMMM d, yyyy`)},e.exports.getTimeStampFromLastUpdated=function(e){if(!e)return null;if(p(e)){let t=m(y(e)).valueOf();return isNaN(t)?null:t}return e instanceof Date?e.valueOf():null},e.exports.getNewYorkTimezone=$,e.exports.jsDateToUnix=e=>(e instanceof Date?e:new Date(e)).getTime(),e.exports.formatIso8601Duration=function(e,t=!1){if(!e||"string"!=typeof e)return"";let n=N(v(e),!0);if(t){let e=n.search(/[^0:]/);if(e>0&&!(n=n.slice(e)).includes(":"))return`0:${n.padStart(2,"0")}`}return n},e.exports.formatLocationTime=function(e){let t=e&&e.match(/T(\d{2}):(\d{2})/);if(!t)return"";let n=parseInt(t[1],10),r=t[2];return`${n%12||12}:${r} ${n>=12?"PM":"AM"}`},e.exports.parseIso8601ToSeconds=v,e.exports.stripDurationLeadingZero=function(e){return"string"!=typeof e?e:e.startsWith("0")?e.slice(1):e},e.exports.SECONDS_PER_HOUR=3600,e.exports.formatDurationForScreenReader=function(e,t){if(!e||"string"!=typeof e)return"";let n=e.split(":").map(Number),r=0,o=0,i=0;if(3===n.length)[r,o,i]=n;else{if(2!==n.length)return"";[o,i]=n}if(!n.every(Number.isFinite))return"";let u=[];return r>0&&u.push(`${r} ${a(t,1===r?"hour":"hours")}`),o>0&&u.push(`${o} ${a(t,1===o?"minute":"minutes")}`),(i>0||0===u.length)&&u.push(`${i} ${a(t,1===i?"second":"seconds")}`),u.join(" ")},e.exports.formatCatchUpTimestamp=function(e){let t;if(!e)return"";if(p(e)){let n=y(e);t=n?m(n):null}else t=e;if(!t||isNaN(new Date(t).getTime()))return"";let n=new Date,r=s(n,t);if(r(e[t.type]=t.value,e),{}),n=(t.dayPeriod||"").toUpperCase();return"00"===t.minute?`${t.hour}${n}`:`${t.hour}:${t.minute}${n}`}(a),i=a.toLocaleDateString("en-US",{timeZone:w,month:"long",day:"numeric",year:"numeric"}),u=`${i}, ${o} ET`;if(!n)return u;let s=t instanceof Date?t:new Date(t),m=!r||r instanceof Date?r:new Date(r);if(m instanceof Date&&!Number.isNaN(m.getTime())&&s.getTime()>=m.getTime())return M(m);if(a.getTime()-s.getTime()e.toLocaleDateString("en-CA",{timeZone:w}),r=new Date(`${n(e)}T00:00:00Z`);return Math.round((new Date(`${n(t)}T00:00:00Z`)-r)/864e5)}(s,a);return 0===l?`Today, ${o} ET`:1===l?`Tomorrow, ${o} ET`:u},e.exports.formatEventEndedLabel=M,e.exports.resolveEventPhase=function(e,t,n=new Date){let r=e instanceof Date?e:new Date(e),a=t instanceof Date?t:new Date(t),o=n instanceof Date?n:new Date(n);return Number.isNaN(r.getTime())||Number.isNaN(a.getTime())||Number.isNaN(o.getTime())?null:o.getTime(){let{isOfType:t}=i("12"),T={ARTICLE:"article",AUDIO:"audio",COMMUNITY_EVENT:"community-event",CUSTOM:"custom",DTC:"dtc",ELECTION:"election-center",FEED:"feed",GALLERY:"gallery",INTERACTIVE:"interactive",LIVESTORY:"live-story",LIVESTREAM:"livestream",SUBSCRIPTION_PAGE:"subscription-page",NEWSLETTER_PAGE:"newsletter-studio",NEWSLETTER_LANDING_PAGE:"newsletter-landing-page",PROFILE:"profile",SCRATCHPAD:"scratchpad",SEARCH:"search",SECTION:"section",STATIC:"static",TVE:"tve",SERIES:"series",TVE_EPISODE:"tve-episode",TVE_FILM:"tve-film",TVE_SERIES:"tve-series",UNKNOWN:"",USER_MANAGEMENT:"user-management",VERTICAL_LIVESTREAM:"vertical-livestream",VERTICAL_VIDEO:"vertical-video",VIDEO:"video",VITAL_ACTION:"vital-action",VITAL_STORY:"vital-story"};Object.freeze(T);let s={ELECTION:"Election Center",LIVESTORY:"Live Story",LIVESTREAM:"Livestream",VERTICAL_LIVESTREAM:"Vertical Livestream"};function I(e,E=T.UNKNOWN){return e&&e.pageType||E}function r(e,E){return t(E,I(e))}Object.freeze(s),e.exports={PAGE_TYPES:T,PAGE_TYPES_LABELS:s,getPageType:I,isPageType:r,isArticle:e=>r(e,T.ARTICLE),isAudio:e=>r(e,T.AUDIO),isCommunityEvent:e=>r(e,T.COMMUNITY_EVENT),isCustom:e=>r(e,T.CUSTOM),isDTC:e=>r(e,T.DTC),isElection:e=>r(e,T.ELECTION),isFeed:e=>r(e,T.FEED),isGallery:e=>r(e,T.GALLERY),isInteractive:e=>r(e,T.INTERACTIVE),isLivestory:e=>r(e,T.LIVESTORY),isLivestream:e=>r(e,T.LIVESTREAM),isSubscriptionPage:e=>r(e,T.SUBSCRIPTION_PAGE),isNewsletterPage:e=>r(e,T.NEWSLETTER_PAGE),isNewsletterLandingPage:e=>r(e,T.NEWSLETTER_LANDING_PAGE),isProfile:e=>r(e,T.PROFILE),isScratchpad:e=>r(e,T.SCRATCHPAD),isSearch:e=>r(e,T.SEARCH),isSection:e=>r(e,T.SECTION),isStatic:e=>r(e,T.STATIC),isTVE:e=>r(e,T.TVE),isSeries:e=>r(e,T.SERIES),isTVEEpisode:e=>r(e,T.TVE_EPISODE),isTVEFilm:e=>r(e,T.TVE_FILM),isTVESeries:e=>r(e,T.TVE_SERIES),isUnknown:e=>r(e,T.UNKNOWN),isUserManagement:e=>r(e,T.USER_MANAGEMENT),isVerticalLivestream:e=>r(e,T.VERTICAL_LIVESTREAM),isVerticalVideo:e=>r(e,T.VERTICAL_VIDEO),isVideo:e=>r(e,T.VIDEO),isVitalAction:e=>r(e,T.VITAL_ACTION),isVitalStory:e=>r(e,T.VITAL_STORY)}}}]); /* window.modules["18"] */ "use strict";(self.modules=self.modules||[]).push([["18"],{18:(e,t,i)=>{let{isPublished:a,getComponentInstance:r,replaceAllVersions:n}=i("78"),l=i("23"),{CONTENT_TYPES:s}=i("353"),c=i("116"),{getPageType:o,isLivestory:u,isVerticalVideo:p}=i("17"),{getSite:d,SITES:v}=i("137"),{getConfigObject:m}=i("603"),{convertToBoolean:f}=i("12"),E=l.get("FAVE_TOP_PLAYER"),T=l.get("FAVE_MEDIA_PLAYER"),{CONDITION:A,match:L}=i("475"),_=i("475"),y={"Any of":A.SHOULD,"All of":A.MUST,"None of":A.MUST_NOT},U={CLIP_HORIZONTAL:"Clip_Horizontal",CLIP_VERTICAL:"Clip_Vertical",LIVE:"Live",FAST:"Fast",TVE:"tve",UK_LIVE:"uklive"},b={SCROLL:"scroll",DISABLED:"disabled",MUTED:"muted",UNMUTED:"unmuted"},h={TVE:"tve",LIVEAUTH:"liveAuth",DTC:"dtc"},V={CONTINUOUS:"continuous",CONTINUOUS_AUTOPLAY:"continuous_autoplay"},I={[V.CONTINUOUS]:{autoplay:!1,autoplayType:b.DISABLED},[V.CONTINUOUS_AUTOPLAY]:{autoplay:!0,autoplayType:b.MUTED}},g="live3581c2bf4739e4d8fc1dd52b96e668aa7d00b273",D="livecd0ee653fc42a51546445d02a6c38769c47ab454",P="live57e3b384d5e1130303d139f49c6f362b574d475c",S="livedee0fd3a7f81d264969c7f6f911079c3bd715cd1",O="live4d61573b7a0615fa6cfeca73f1df9560efc93803",$="cvplive/cvpstreamcore",C="cvplive/cvpstreampremium",N="cvplive/cvpstream",R="cvplive/cnndigitalchannel",M=RegExp(`^(${$}[0-7]|${N}[0-4]|${R}[0-4])$`),F=RegExp(`^(${$}[0-7]|${C}[1-9]|${N}[0-9]|${R}[0-9])$`),B=RegExp(`^(live.*|${$}[0-7]|${C}[1-9]|${N}[0-9]|${R}[0-9])$`),k=[S,O,D,P,g,"cvplive/cvpstream5","cvplive/cvpstream6","cvplive/cvpstream7","cvplive/cvpstream8","cvplive/cvpstreampremium1","cvplive/cvpstreampremium2","cvplive/cvpstreampremium3","cvplive/cvpstreampremium4","cvplive/cvpstreampremium5","cvplive/cvpstreampremium6","cvplive/cvpstreampremium7","cvplive/cvpstreampremium8","cvplive/cvpstreampremium9"],Y=[g,"live8ca99a1f6a44fbedeb7077bc5064d0f6d7ebde99",D,P,S,"live6ee8f5d6b1571361b2f6595826fc04baa6d94e75",O,"live53bebe11f915d66c95c604bdf44d968a31b2889e"];function x(e){return e===s.channel}function H(e,t){return e.replace(r(e),t)}async function W(e,{size:t,from:i,conditions:l=[],sort:s="lastPublished",pageType:c=["video"],cacheKey:o=""}={},u,p={site:{}}){let d=a(u),v=r(u),m=_("published-content"),f=p.site.site;f&&m.condition(A.MUST,L("site",f)),m.condition(A.FILTER,{bool:{should:[{term:{includeInAutofill:!0}},{bool:{must_not:{exists:{field:"includeInAutofill"}}}}]}}),m.condition(A.FILTER,_.terms("pageType",c)),m.sort(s,{order:"desc",missing:"_last"}),m.size(t||15),m.from(i||0),l.forEach(e=>{e.terms.forEach(t=>{m.condition(y[e.condition],L(e.field,t)),"Any of"===e.condition&&m.minimumShould(1)})}),m.include(["pageContent","pageType"]);let E=0,T=await e.searchElasticWithCache(m,o);return{videos:T.results?.hits.hits.map(({_source:e})=>{var t;let i=e.pageContent.main[e.pageType].content[0].featuredVideo;if(!i||i._takedownEnabled)return;let a=`${v}_fill_${E++}`;return i.fill=!0,i.inPlaylist=!0,t=["thumbnail","tags"],i._ref=H(i._ref,a),t.forEach(e=>{let t=Array.isArray(i[e])?i[e][0]:i[e];t&&(t._ref=H(t._ref,a))}),d||n(i),i}).filter(e=>e?._ref),cache:T.cache}}e.exports={isFastLiveVideo:x,isLiveVideo:function(e){return B.test(e)},isUKLive:function(e){return e===U.UK_LIVE},isTemporaryLiveStream:function(e,t){return e===s.livestream&&!Y.includes(t)},isPermanentLiveStream:function(e,t){return e===s.livestream&&Y.includes(t)},isCVPLiveStream:function(e){return F.test(e)},isCVPUnathenticatedLiveStream:function(e){return M.test(e)},isAuthVideo:function(e=[]){return null!==e&&[h.TVE,h.LIVEAUTH,h.DTC].some(t=>e.includes(t))},getContinuousVariation:function(){let e=l.get("FREEVIEW_ENDSLATE_VARIATION","");return e&&Object.values(V).includes(e)?e:""},isVodFreeviewEnabled:function(){return f(l.get("VOD_FREEVIEW_ENABLED",!1))},isAuthLiveVideo:function(e){return k.includes(e)},getVideoEmbedUrl:function({uri:e,isEdition:t,videoId:i,stellarUdk:a,stellarSite:r}){if(!e)return null;let n=l.get("VIDEO_EMBED_URL"),s=l.get("VIDEO_PLAYER_EMBED_ENV","prod"),c=`${n}?video=${i}&stellarUri=${e}&stellarSite=${r}`;return a&&(c=`${c}&stellarUdk=${a}`),`${c}&customer=cnn&edition=${t?"international":"domestic"}&env=${s}`},isVideoClip:function(e){return[s.clip,s.fileUpload,s.mediasourceImport].includes(e)},getAMPVideoEmbedUrl:function({uri:e,isEdition:t,videoId:i,stellarUdk:a,stellarSite:r,path:n}){if(!e)return null;let s=l.get("VIDEO_PLAYER_EMBED_ENV","prod"),c=l.get("AMP_VIDEO_EMBED_URL");r===v.espanol&&(c=`${c.replace("/amp","/cnneamp")}`);let o=new URL(c);return o.searchParams.set("video",i),o.searchParams.set("videoId",i),o.searchParams.set("stellarUri",e),o.searchParams.set("stellarSite",r),o.searchParams.set("customer","cnn"),o.searchParams.set("edition",t?"international":"domestic"),o.searchParams.set("env",s),a&&o.searchParams.set("stellarUdk",a),n&&o.searchParams.set("path",n.substring(1,n.length+1)),o.searchParams.set("techStack","stellar2.0"),o.toString()},determineAutoStart:function(e=!1){let t={autoplay:!1,autoplayType:b.DISABLED};return"string"==typeof e?({disabled:{autoplay:!1,autoplayType:b.DISABLED},muted:{autoplay:!0,autoplayType:b.MUTED},unmuted:{autoplay:!0,autoplayType:b.UNMUTED},scroll:{autoplay:!1,autoplayType:b.SCROLL}})[e]??t:e?{autoplay:e,autoplayType:b.UNMUTED}:t},isVideoAutoStartEnabled:function(e,t={}){let i=d(t),a=l.get("ENABLE_VIDEO_AUTOSTART_MAP")[i];return(a?.[o(t)]??!0)&&e},isFaveFeatureEnabledForPage:function(e,t,i){let a=!0;return!!e&&(e.sections&&!e.sections.includes(t)&&(a=!1),e.pageTypes&&!e.pageTypes.includes(i)&&(a=!1),a)},getTopAdProfile:function({contentModel:e={},contentType:t,isEditionSite:i,isMobileViewport:a}){let r=m("michonne","video.fave",i),n=c(r,"stellar.ads",c(E,"ads",{}));return e.brandSite===v.espanol?n.espanol?n.espanol:c(E,"ads.espanol",{}):u(e)?n.livestory:x(t)?a?n.fastLiveStreamMobileWeb||{}:n.fastLiveStreamDesktopWeb||{}:p(e)?n.verticalVideo||{}:c(r,"ads",{})},getMediaPlayer:function(e){return c(m("michonne","video.fave",e),"stellar.mediaPlayer",T)},search:W,AUTH_TYPES:h,AUTO_PLAY_TYPE:b,VIDEO_TYPE:U,FREEVIEW_ENDSLATE_VARIATIONS:V,FREEVIEW_ENDSLATE_AUTOPLAY_SETTINGS:I}}}]); /* window.modules["19"] */ "use strict";(self.modules=self.modules||[]).push([["19"],{19:(e,s,n)=>{let{SECTIONS:o}=n("364");e.exports={isSection:function(e){return(Array.isArray(e)?e:[e]).includes(window.CNN.contentModel?.section||window.CNN.helpers?.SECTIONS.UNKNOWN)},SECTIONS:o}}}]); /* window.modules["20"] */ "use strict";(self.modules=self.modules||[]).push([["20"],{20:(e,t,n)=>{let d=n("23"),{ShowAdFeedbackDispatcher:a}=n("597"),{AdDataType:s}=n("616"),i="ad-feedback__modal-overlay",r=d.get("ENABLE_AD_FEEDBACK_DISPLAY_ADS")&&null!==document.querySelector(`#${i}`),o=d.get("ENABLE_AD_FEEDBACK_VIDEO_ADS")&&null!==document.querySelector(`#${i}`),l=new a,c=window.WM.UserConsent.isInGdprRegion()&&!window.WM.UserConsent.inUserConsentState(["ads-contextual","ads-person-prof","ads-person"]);function u(e){let t=e.classList.contains("ad-feedback-link")?e:e.querySelector(".ad-feedback-link");return t&&(t.setAdIdentifier=function(e){t.dataset.adIdentifier=e},t.getAdIdentifier=function(){return t.dataset.adIdentifier}),t}e.exports={getAdFeedbackLink:u,initAdFeedbackLink:function(e){let t=u(e);if(!c&&t&&(r&&"DISPLAY"===t.dataset.adType||o&&"VIDEO"===t.dataset.adType))return t.addEventListener("click",()=>{let e=t.dataset.adType,n=t.getAdIdentifier();e=Object.keys(s).includes(e)?s[e]:s.DISPLAY,l.showFeedback({adType:e,adIdentifier:n})}),t;e.querySelector(".ad-feedback-link")?.remove()},shouldHideAdFeedbackLink:c,ENABLE_AD_FEEDBACK_DISPLAY_ADS:r,ENABLE_AD_FEEDBACK_VIDEO_ADS:o}}}]); /* window.modules["21"] */ "use strict";(self.modules=self.modules||[]).push([["21"],{21:(n,t,e)=>{let{checkDtcAccess:r}=e("73"),{isInternalURL:o}=e("9");async function i(){var n;if(n=window.WM?.referrer||document.referrer||"",window.history.length>1&&o(n)&&!function(n){if(!n)return!1;try{return new URL(n,window.location.origin).pathname===window.location.pathname}catch(n){return!1}}(n)){window.history.back();return}let t=await r();window.location.assign(t?"/watch":"/")}n.exports={navigateLivePlayerBack:i}}}]); /* window.modules["22"] */ "use strict";(self.modules=self.modules||[]).push([["22"],{22:(e,t,o)=>{let i=o("13"),{isVodFreeviewEnabled:r,search:s}=o("18"),n=o("474"),{isPageVariant:u,PAGE_VARIANTS:E}=o("7"),{CONTENT_TYPES:l}=o("353"),V=[l.episode,l.film],c=[E.TVE_EPISODE,E.TVE_FILM,E.TVE_FILM_V2,E.TVE_SERIES,E.TVE_SERIES_V2];async function d(e,t,o){return s(n,e,t,o)}function f(e){return V.includes(e)}function p(){return r()&&u(c)}e.exports.auth=function(){return i.post("/_clay/video",{isvalid:!0})},e.exports.autofillVideos=d,e.exports.isVodContent=f,e.exports.isVodFreeviewActive=p,e.exports.isVodFreeviewContent=function(e){return p()&&f(e)},e.exports.waitForVodFreeviewActive=function(){return p()?Promise.resolve(!0):u(c)?new Promise(e=>{u(E.TVE_EPISODE)?setTimeout(()=>e(p()),1500):e(!1)}):Promise.resolve(!1)}}}]); /* window.modules["23"] */ "use strict";(self.modules=self.modules||[]).push([["23"],{23:(e,t,n)=>{var l=n("389");let r=n("116"),o=n("471"),i=n("396"),d=n("610"),s="undefined"!=typeof window;function a(e){return Array.isArray(e)?d(e,(e,t,n)=>(e[n]=a(t),e),[]):o(e)?d(e,(e,t,n)=>(e[n]=a(t),e),{}):i(e)&&e.split(",").length>1?e.split(","):i(e)?function(e){let t=e.toLowerCase();return"true"===t||"false"!==t&&e}(e):e}function g(e,t){if(e){let n=r(e,t,e[t]);return void 0!==n?a(n):void 0}}let v=new class{constructor(){this.allowedOnClient=[],this.allowedOnEditClient=[],this.getAllForWindow=this.getAllForWindow.bind(this)}getForClient(e,t){let l=g(n.g.env,e),r=g(window.env,e);return void 0!==l?l:void 0!==r?r:a(t)}getForServer(e,t){let r=g(n.g.env,e),o=g(l.env,e);return void 0!==r?r:void 0!==o?o:a(t)}getAllForClient(){return a({...window.env,...n.g.env})}getAllForWindow(e){["allowedOnClient","allowedOnEditClient"].forEach(e=>{this[e]&&!Array.isArray(this[e])&&function(e,t="ERROR"){console.log(`[service/dotenv][${t}] ${e}`)}(`EnvVars.${e} must be an array of environment variable key strings`)});let t=this.allowedOnClient;return e&&(t=t.concat(this.allowedOnEditClient)),t&&t.reduce((e,t)=>{let n=this.getForServer(t);return e[t]=n,e},{})}getAllForServer(){return a({...l.env,...n.g.env})}};e.exports.configure=function(e={}){v.allowedOnClient=e.allowedOnClient||[],v.allowedOnEditClient=e.allowedOnEditClient||[]},e.exports.get=s?v.getForClient:v.getForServer,e.exports.getAll=s?v.getAllForClient:v.getAllForServer,e.exports.getAllForWindow=s?v.getForClient:v.getAllForWindow}}]); /* window.modules["24"] */ "use strict";(self.modules=self.modules||[]).push([["24"],{24:(e,t,i)=>{let{trackMetrics:r}=i("33"),o=i("31").setup({file:"/index.js"});e.exports={adobeMetrics:function(e,t){try{r({type:"click-interaction",data:{interaction:`video: ${e}: ${t}`}})}catch(e){o("error","error logging adobe metrics",e)}}}}}]); /* window.modules["25"] */ "use strict";(self.modules=self.modules||[]).push([["25"],{25:(e,t,a)=>{let n,i;let o=a("611"),r=a("612"),{setAnalyticProperty:s,setAnalyticsForChildComponents:u,setAnalyticsVideoType:l,setAuthTypeAnalytics:c,getFreeviewPreviewType:d}=a("28"),{createCallbacks:p,handleOverlay:w,cleanupConfigsForPlayer:y}=a("604"),{createBoltEngagementCallbacks:h,applyBoltEngagementInitConfig:v}=a("27"),{isAnyBoltEngagementEnabled:m}=a("29"),{isLiveContentDiscoveryEnabled:A,applyLiveContentDiscoveryConfig:f,createLiveContentDiscoveryCallbacks:T}=a("613"),{getUserAccessLevel:g}=a("256"),{mediumMaxWidthListener:I}=a("32"),E=a("179"),{isAuthVideo:k,isUKLive:C,getTopAdProfile:P,isLiveVideo:S,isFastLiveVideo:M}=a("18"),{isEdition:b}=a("14"),{getContentModel:L}=a("9"),{calculateSsaiProfile:F}=a("614"),{getSSID:O}=a("601"),_=a("123"),V=a("615"),D={},N=new Promise((e,t)=>{let a=()=>{window.FAVE?.loaded&&(clearInterval(n),clearTimeout(i),e())},n=setInterval(a,500),i=setTimeout(()=>{clearInterval(n),t("timed out awaiting FAVE.loaded")},3e4);a()}).then(()=>window.FAVE.loaded);function R(e){if(window.FAVE)return window.FAVE.player.getInstance(e)}async function j(e){I(e=>{n=e});try{await N}catch(e){throw Error(e)}let t=f(v(await r.build({...e,isMobileViewport:n})));x(t)?t.deferFreeviewStart=!0:t.deferFreeviewStart=!1,await o.setGlobalSettings(t.customExperience,t.autostart),await B(t),await Y();let a=p({...t,topAuth:V.topAuth,isMobileViewport:n});if(m()&&Object.assign(a,h(()=>R(t.markupId))),A(t)&&Object.assign(a,T(()=>R(t.markupId))),t.renderAuthCTAOnReady){let e=a.onPlayerReady,n=!1;a.onPlayerReady=(...a)=>{e?.(...a),n||(n=!0,Z(t).catch(e=>console.error("renderAuthCTA failed during player ready",e)))}}return await window.FAVE.player({configs:t,callbacks:a}),window.dispatchEvent(new Event(t.markupId)),i=R(t.markupId),D={...t},Promise.resolve(i)}let x=e=>!e?.autostart||e?.autostart===!1;async function B(e){if("false"!==e.isAuthenticatedContent){if(k(e.authType)){let t=await V.setupTopAuth();if(e.checkEventBasedPreview&&e.networkId&&await t.initEventBasedPreview(e.networkId,()=>R(e.markupId).stop()),e.networkId&&t.isPreviewActive(e.networkId)&&(s(e,"mvpd","eventpreview"),s(e,"isPreview",!0),s(e,"previewType","tve-preview_event")),e.isLive&&(await X(e),t.freeview?.status&&!t.freeview.status.expired)){let a=d(e,t.freeview.status);s(e,"mvpd","TempPass_CNN10min"),s(e,"isPreview",!0),s(e,"previewType",a)}}else u(e.el,e),l(e)}C(e.customExperience)&&await E.applyEntitlement(e)}let G=(...e)=>i.play(...e),U=()=>i.prepare(),W=()=>i.mute(),Y=async()=>{let e=await g();return localStorage.setItem("access_level",e),e},q=async()=>localStorage.getItem("access_level")||await Y(),z=async e=>{if(await B(e),_(e,"isLive",S(e?.videoId)),_(e,"ads",P({contentModel:L(),contentType:e.rawContentType??e.contentType,isEditionSite:b(window.location.hostname),isMobileViewport:n})),e.el&&_(e,"adsection",O(e.el,n)),c(e),k(e.authType)&&"cnn"===e.site){let t=e.isDTC?"DTC":e?.title;F(e,t,n)}if("false"===e.isAuthenticatedContent){w({...e,topAuth:V.topAuth}),U(),G(null,e);return}return Q(e)},H=async e=>{if(U(),i=R(e.markupId),D={...e},e.el=e.el||i.configs.el,c(e),M(e?.rawContentType??e?.contentType)&&(V.resetTopAuth(),_(e,"isLive",S(e?.videoId)),_(e,"ads",P({contentModel:L(),contentType:e?.rawContentType??e?.contentType,isEditionSite:b(window.location.hostname),isMobileViewport:n})),e.el&&_(e,"adsection",O(e.el,n)),e?.site==="cnn")){let t=e.isDTC?"DTC":e?.title;F(e,t,n)}k(e.authType)&&await V.setupTopAuth(),w({...e,topAuth:V.topAuth}),i.play(null,e)},J=e=>{W(),setTimeout(async()=>{await V.playWithAuth({instance:i,configs:e})},300)};async function K(e,t={}){let a=await V.addPlayerAuthentication(e,t);return D.authentication=a,a}async function Q(e){if(!await K(e,{forceFreeviewStart:!0})&&e.authType?.includes("dtc")){i.stop(),w({...e,topAuth:V.topAuth});return}w({...e,topAuth:V.topAuth}),V.playWithAuth({instance:i,configs:e})}async function X(e){if(e.autostart){let t=await K(e,{forceFreeviewStart:!0});e.authentication=t,e.authentication&&Object.keys(e.authentication).length>0&&!V.topAuth?.error||!t&&(e.autostart=!1,e.player?.ui?.theme?.subscriptionUi?.shouldRender)||(e.renderAuthCTAOnReady=!0)}else e.renderAuthCTAOnReady=!0}async function Z(e){let{setErrorMessage:t,handleOverlayClick:a,removeAuthOverlay:n}=function(e){let t=document.getElementById(e);if(!t.querySelector("#auth-cta-overlay")){let e=document.createElement("div");e.id="auth-cta-overlay",e.innerHTML=' ',t.appendChild(e)}let a=t.querySelector("#auth-cta-overlay__error"),n=t.querySelector("#auth-cta-overlay");return{setErrorMessage:e=>{a.classList.add("auth-cta-overlay__error"),a.textContent=e},removeAuthOverlay:()=>{n.remove()},handleOverlayClick:e=>{n.addEventListener("click",e)}}}(e.markupId),i=V.topAuth,o=R(e.markupId),r=async()=>{let t=await K(e,{forceFreeviewStart:!0});return e.authentication=t,t&&(n(),V.playWithAuth({instance:o,configs:e})),t};e.authentication&&0===Object.keys(e.authentication).length&&!i?.error?a(async()=>{await r()}):e.authentication&&Object.keys(e.authentication).length>0&&!i?.error?await r():i?.error?(t(i.error.message),setTimeout(()=>{i.logout()},1e4)):a(async()=>{let t=await r();w({...e,topAuth:i}),t||(e.isDTC?(n(),o.prepare(),o.resume()):i?.triggerPickerLogin())})}window.addEventListener("userloggedin",async()=>{if(i&&["PLAYING","PAUSED","UNPLAYED"].includes(i?.getMediaState())){let e=V.topAuth||await V.setupTopAuth();i.configs.authentication=await e._getAuthTokenWithoutCobranding(),i.stop()}}),window.addEventListener("mvpdModalClosed",async()=>{let e=i?.configs?{...i.configs}:{...D},t=document.getElementById(e?.markupId);if(t?.classList.remove("paywall-modal-open"),e.authType?.includes("dtc")){let t=await K(e);e.authentication=t,J(e)}}),e.exports={initialize:j,playAuthVideo:z,renderAuthCTA:Z,playClipVideo:H,playVerticalVideo:e=>{i=R(e.markupId),D={...e};let t=i.getMediaState();e.el=e.el||i.configs.el,c(e);let a=u(e.el);_(e,"adobeAnalytics.customMetadata",{...a.adobeAnalytics.customMetadata,...e.adobeAnalytics?.customMetadata}),_(e,"conviva.contentMetadata",{...a.conviva.contentMetadata,...e.conviva?.contentMetadata}),_(e,"zion.customMetadata",{...a.zion.customMetadata,...e.zion?.customMetadata}),l(e),e.muted?i.mute():i.unmute(),"PAUSED"!=t&&"PLAYING"!=t?i.play(null,e):"PLAYING"!=t&&i.resume()},scrollToPlayVideo:function({autostart:e,authType:t,el:a,markupId:n}){if(!("scroll"===e&&!k(t)))return;let i=R(n),o=new IntersectionObserver(e=>{e.forEach(({isIntersecting:e,intersectionRatio:t,target:a})=>{e&&t>=.5&&ti.resume(),pause:()=>i.pause(),mute:W,unmute:()=>i.unmute(),stop:()=>{if(i){i.stop();let e=i.configs?.markupId;e&&y(e)}}}}}]); /* window.modules["26"] */ "use strict";(self.modules=self.modules||[]).push([["26"],{26:(t,e,i)=>{let r=i("123"),{convertAuthType:s}=i("9"),{getAssetTraits:a}=i("133"),{getCepTopics:u}=i("12"),{parseJSON:n}=i("30");function l(t){if(t)return[{name:"768x432",imageWidth:"768",imageHeight:"432",uri:t},{name:"640x360",imageWidth:"640",imageHeight:"360",uri:t}]}function o(t){if(!t)return"";let e=t.trim();return e.startsWith("http://")||e.startsWith("https://")?e:e.startsWith("//")?`https:${e}`:new URL(e,window.location.origin).href}function c(t){if(!t)return"";let e=t.split(",")[0]?.trim();return e&&e.split(/\s+/)[0]||""}function d(t){if(!t)return"";let e=t.querySelector(".tve-asset__image picture, picture"),i=t.querySelector(".tve-asset__image img, img");if(i){let t=i.getAttribute("src")||i.getAttribute("data-src")||c(i.getAttribute("srcset"));if(t)return o(t)}let r=e?.querySelector("source[srcset]");if(r){let t=o(c(r.getAttribute("srcset")));if(t)return t}let s=t.querySelector('[data-component-name="image"]'),a=s?.getAttribute("data-url")||s?.dataset?.url;return a?o(a):""}function m(t){let e=t.title||t.assetTitle,i=t.assetSubTitle||t.assetDescription;return e&&i?`${e}: ${i}`:e||i||t.headline||""}function g(t,{headline:e}={}){let{contentEnrichment:i,...r}=t,a=s(t.authType),l=u(n(i,!0)),o={headline:e,mediumId:t.assetId,boltId:t.boltId,id:t.assetId};return Object.keys(l).length&&(o.cepTopics=l),{...r,authType:a,isDTC:a.includes("dtc"),mediaMetadata:o}}t.exports={buildVodEpisodePlayerConfig:function(t,e){let i=g(t,{headline:m(t)});i.isLive=!1;let s=l(d(e));s&&(i.mediaMetadata.images=s);let u=t.assetTitle||t.title||"",n=t.assetSubTitle||t.assetDescription||"",o=e?a(e):{};return r(i,"zion.customMetadata",{...i.zion?.customMetadata||{},...o,show_name:u,title:n}),i},buildEpisodeBaseConfig:g,buildPosterImages:l,getThumbnailUriFromAssetEl:d,buildEpisodeHeadline:m,normalizeImageUri:o}}}]); /* window.modules["27"] */ "use strict";(self.modules=self.modules||[]).push([["27"],{27:(t,e,n)=>{let{convertAuthType:o}=n("9"),i=n("615"),a=n("31").setup({file:"/index.js"}),{isVodUpNextEnabled:r,isVodContentDiscoveryEnabled:u,isAnyBoltEngagementEnabled:c}=n("29"),{getUpNextPlayConfigs:l,getContentDiscoveryPlayConfigs:s}=n("130"),{handleOverlay:f,queueOverlayConfigs:p}=n("604");function d(t){return{markupId:t.markupId,networkId:t.networkId,el:t.el}}function h(t){return{enabled:!0,fetch:{enabled:!1},tabs:t.length?[{id:"episodes",label:"Episodes",playConfigs:t}]:[]}}function y(t,{currentMediumId:e,writeWhenEmpty:n}){let o=d(t),i={...t.bolt||{}};if(r()&&(i.upNext={...i.upNext||{},enabled:!0,playConfigs:null==e?i.upNext?.playConfigs||[]:l(o,e)}),u()){let t=s(o,e);(n||t.length)&&(i.contentDiscovery=h(t))}return Object.keys(i).length?{...t,bolt:i}:t}function g(t){return t?.isAuthenticatedContent==="false"||t?.isAuthenticatedContent===!1}function w(t){return o(t).includes("dtc")}function m(t){let e=t?.configs?.authentication;return!!e&&"object"==typeof e&&("adobe"===e.accessTokenType||!!e.mvpd)}async function T(t,e){let n=t?.mediaMetadata?.mediumId;if(!n||!e||g(t))return{authentication:null,authConfigs:null};let r=t.authType||e.configs?.authType;if(!w(r))return{authentication:null,authConfigs:null};let u={...t,markupId:e.configs?.markupId,networkId:t.networkId||e.configs?.networkId,contentType:t.contentType||(t.isLive?"live-stream":void 0),authType:o(r),deferFreeviewStart:e.configs?.deferFreeviewStart},c=await i.addPlayerAuthentication(u,{forceFreeviewStart:!0});return c||a("warn","Bolt engagement: per-episode DTC authentication returned no token",{mediumId:n}),{authentication:c,authConfigs:u}}async function C(t,e,n,o){let{authentication:r,authConfigs:u}=await T({...e,authType:n},t),c=i.topAuth;if(u&&!c)try{c=await i.setupTopAuth()}catch(t){a("warn","Bolt engagement: setupTopAuth failed during deferred handoff",t)}let l=u&&{...u,uri:t.configs?.uri,topAuth:c};r?(l&&p(t.configs?.markupId,l),o(r)):l?await f(l,{scope:"tile"}):o(t.configs?.authentication??null)}async function I(t,e){let n=e?.()||window.FAVE?.player?.getInstance?.(t.containerId),o=t.playConfigs;n&&o&&await C(n,o,t.authType||o.authType,t=>n.completeUpNextLoad({authentication:t}))}async function v(t,e){let n=e?.()||window.FAVE?.player?.getInstance?.(t.containerId),r=t.playConfigs;if(!n||!r)return;if(m(n)){if(g(r)){n.completeContentDiscoveryLoad({authentication:n.configs.authentication});return}let e=i.topAuth;if(!e)try{e=await i.setupTopAuth()}catch(t){a("warn","Bolt Content Discovery: setupTopAuth failed; completing load without overlay",t),n.completeContentDiscoveryLoad({authentication:n.configs.authentication});return}p(n.configs?.markupId,{...r,authType:o(t.authType||r.authType),markupId:n.configs?.markupId,networkId:r.networkId||n.configs?.networkId,uri:n.configs?.uri,topAuth:e}),n.completeContentDiscoveryLoad({authentication:n.configs.authentication});return}let u=t.authType||r.authType;w(u)&&await C(n,r,u,t=>n.completeContentDiscoveryLoad({authentication:t}))}t.exports={applyBoltEngagementToConfig:function(t,e){return c()?y(t,{currentMediumId:e,writeWhenEmpty:!1}):t},applyBoltEngagementInitConfig:function(t){return c()?y(t,{currentMediumId:null,writeWhenEmpty:!0}):t},refreshActiveSeasonContentDiscoveryTabs:function(){u()&&Object.values(window.FAVE?.player?.instances||{}).forEach(t=>{if("function"!=typeof t?.setContentDiscoveryTabs||!t.configs)return;let{tabs:e}=h(s(d(t.configs)));t.setContentDiscoveryTabs(e)})},createBoltEngagementCallbacks:function(t){return{onUpNextLoadDeferred:e=>I(e,t).catch(t=>a("error","Bolt Up Next authentication failed",t)),onContentDiscoveryTileSelected:e=>v(e,t).catch(t=>a("error","Bolt Content Discovery authentication failed",t))}},handleContentDiscoveryAuth:v,handleUpNextDeferred:I,requiresPerEpisodeAuth:w,isTveSession:m}}}]); /* window.modules["28"] */ "use strict";(self.modules=self.modules||[]).push([["28"],{28:(e,t,a)=>{let i=a("123"),{getContinuousVariation:d,AUTH_TYPES:l}=a("18"),{setAnalyticProperty:s,setAnalyticsVideoType:n,setAssetAnalytics:r,setAuthTypeAnalytics:o}=a("635"),u=a("23");function c(){let e=Number(u.get("FREEVIEW_MAX_PREVIEW_SECONDS",60));return Number.isFinite(e)&&e>0?Math.round(e):60}function v(e){let t=Math.max(1,Math.round(e/60));return`${t}min`}let{replaceVersion:f}=a("78");function h(e,t){let a={adobeAnalytics:{customMetadata:{headline:e.headline,title:e.headline,parentStellarId:e.parentStellarId,stellarId:e.stellarId,videoTags:Array.isArray(e.videoTags)?[...e.videoTags]:[],videoUrl:e.videoUrl,branding:e.branding,firstPublishSlug:e.firstPublishSlug}},conviva:{contentMetadata:{videoTitle:e.headline,firstPublished:e.firstPublished,parentStellarId:e.parentStellarId,stellarId:e.stellarId,videoTags:e.videoTags,videoUrl:e.videoUrl,firstPublishSlug:e.firstPublishSlug}},zion:{customMetadata:{video_title:e.headline,parent_stellar_id:e.parentStellarId,stellar_id:e.stellarId,video_tags:e.videoTags,video_url:e.videoUrl,first_publish_slug:e.firstPublishSlug}}};return t&&(i(t,"adobeAnalytics.customMetadata",a.adobeAnalytics.customMetadata),i(t,"conviva.contentMetadata",a.conviva.contentMetadata),i(t,"zion.customMetadata",a.zion.customMetadata)),a}function b(e){return e?f(new URL(`https://${e}`).pathname):""}e.exports={setLiveStreamAnalyticsTitle:function(e){switch(e.mediaMetadata?.id||e?.mediaId){case"livedee0fd3a7f81d264969c7f6f911079c3bd715cd1":s(e,"title","cnn live");break;case"live4d61573b7a0615fa6cfeca73f1df9560efc93803":s(e,"title","cnni live");break;case"livecd0ee653fc42a51546445d02a6c38769c47ab454":s(e,"title","hln live")}},setAnalyticsForChildComponents:function(e,t=null){let a=b(e.dataset.parentUri),i=b(e.dataset.uri);return h({videoSection:e.dataset.section,firstPublished:e.dataset.firstPublished,headline:e.dataset.headline,title:e.dataset.headline,parentStellarId:btoa(a),stellarId:btoa(i),videoTags:e.dataset.videoTags,videoUrl:e.dataset.canonicalUrl,branding:e.dataset.brandingKey,videoSlug:e.dataset.slug,firstPublishSlug:e.dataset.firstPublishSlug},t)},setCustomMetadataForChildComponents:h,updateInstanceCustomMetadata:function(e,t){let{zion:a,adobeAnalytics:i,conviva:d,video_data:l=[]}=t;e&&(e.updateZionCustomMetadata({...a.customMetadata,...l}),e.updateAdobeCustomMetadata({...i.customMetadata,...l}),e.updateConvivaContentMetadata({...d.contentMetadata,...l}))},setAnalyticsVideoType:n,setAnalyticProperty:s,setAssetAnalytics:r,setAuthTypeAnalytics:o,formatPreviewLengthLabel:v,getFreeviewPreviewType:function(e,t){let a=e.authType?.includes(l.DTC),i=a?"dtc-preview":"tve-preview";if(a&&d())return`${i}_${v(c())}`;let s=t?.expires?(t.expires-Date.now())/1e3:0;return`${i}_${v(s)}`},getMaxPreviewSeconds:c}}}]); /* window.modules["29"] */ "use strict";(self.modules=self.modules||[]).push([["29"],{29:(t,e,n)=>{let o=n("23"),{isTVE:i}=n("3"),{isPageVariant:r,PAGE_VARIANTS:c}=n("7"),{convertToBoolean:l}=n("12");function u(){return i()&&r(c.TVE_SERIES)}function a(){return u()&&l(o.get("BOLT_UP_NEXT_ENABLED"))}function s(){return u()&&l(o.get("BOLT_CONTENT_DISCOVERY_ENABLED"))&&function(){let t=[].concat(o.get("BOLT_CONTENT_DISCOVERY_SERIES_ALLOWLIST")||[]).map(t=>"string"==typeof t?t.trim():t).filter(Boolean);if(t.includes("*"))return!0;let e=function(){let t=window.location?.pathname?.match(/\/videos\/(title-\d+)/)?.[1];return t?t:(window.CNN?.contentModel?.canonicalUrl||"").match(/(title-\d+)/)?.[1]||document.querySelector('[data-component-name="tve-asset"][data-series-content-id]')?.dataset.seriesContentId||""}();return!!e&&t.includes(e)}()}t.exports={isVodSeriesPage:u,isVodUpNextEnabled:a,isVodContentDiscoveryEnabled:s,isAnyBoltEngagementEnabled:function(){return a()||s()}}}}]); /* window.modules["30"] */ "use strict";(self.modules=self.modules||[]).push([["30"],{30:e=>{e.exports={parseJSON:function(e,r=!1){try{return JSON.parse(e)}catch(s){if(r)return null;return e}}}}}]); /* window.modules["31"] */ "use strict";(self.modules=self.modules||[]).push([["31"],{31:(e,t,E)=>{let n,o;let r=E("680"),a=E("636"),i=E("116"),_=E("23"),{isServerSide:s}=E("12");function T(e,t=!1){let E={};e&&(E.sitesVersion=e),t&&(E.browserVersion=o.userAgent);let a={name:"clay",meta:E},l={env:_.get("CONTENT_HUB_ENV")};s()?a.serverTelemetry={context:l}:a.browserTelemetry={enable:!!(_.get("ENABLE_DATADOG_TELEMETRY")&&(window?.kiln?.mode==="edit"||window?.WBD?.UserConsent&&window.WBD.UserConsent.inUserConsentState(["data-store"],{name:"Datadog-logger"}))),clientToken:_.get("EDIT_MODE_DATADOG_CLIENT_TOKEN"),service:`${_.get("CONTENT_HUB_PROJECT_NAME")}-${_.get("SERVICE_BUILD_TYPE")}`,version:_.get("CONTENT_HUB_APP_VERSION"),forwardErrorsToLogs:!0,sampleRate:100,omitFromData:["history","title","users"],context:{...l,user:i(window,"kiln.locals.user")}},r.init(a),n=r.getLogger()}s()||(o=navigator,T(null,!0)),e.exports.init=T,e.exports.setup=function(e,t=!1){if(e=a({},e,{file:"File not specified! Please declare a file"}),t&&T(),n)return r.meta(e,n);let E=null;return function(t,...o){if(null===E&&n&&(E=r.meta(e,n)),E)E(t,...o);else switch(t){case"error":console.error(...o);return;case"warn":console.warn(...o);return;case"info":case"debug":console.log(...o);return;default:console.log(t,...o);return}}},e.exports.logTypes={ALL_BULLETS_REGENERATED:"All Bullets Regenerated",COMPONENT_HIDDEN:"Component Hidden",COMPONENT_PUBLISHED:"Component Published",COMPONENT_VARIATION_CHANGED:"Component Variation Changed",CREATE_ARTICLE_FROM_LIVE_STORY_POST:"Create Article From Live Story Post",CREATE_LIVE_STORY_FROM_ARTICLE:"Create Live Story From Article",GENERATE_SUMMARY_BUTTON_CLICKED:"Generate Summary - Button Clicked",GENERATE_SUMMARY_FAILED:"Generate Summary - Failed",INDIVIDUAL_BULLET_REGENERATED:"Individual Bullet Regenerated",LIVE_STORY_POST_PUBLISH:"Live Story Post Publish",MAGIC_BUTTON_ALL:"Magic Button All",MAGIC_BUTTON:"Magic Button",MANUAL_CARD_CREATED:"Manual Card Created",MOBILE_VIEW_TOGGLED:"Mobile View Toggled",PAGE_DISTRIBUTION_CHANGED:"Page Distribution Changed",PAGE_SETTINGS_CHANGED:"Page Settings Changed",POPULATE_CARD_BYLINE:"Populate Card Byline",RECOMMENDED_TAB_VIEWED:"Recommended Tab Viewed",RELATED_CONTENT:{SEARCH_SELECTION_SAVED:"Related Content Search Selection Saved",RECOMMEND_SELECTION_SAVED:"Related Content Recommend Selection Saved"},RELATED_CONTENT_SELECTION_METHOD:"Related Content Selection Method",SUGGESTION_SELECTED:"Suggestion Selected",SUGGESTIONS_LOADED:"Suggestions Loaded",SUMMARIES_GENERATED:"Summaries Generated",SUMMARIES_LOADED:"Summaries Loaded",VALIDATION_RESULT:"Validation Result",VIEW_CARD_ON_PAGE_CLICKED:"View Card On Page Clicked",OPEN_USAGE_VIEW:"Open Usage View",USAGE_RESULTS_RETURNED:"Usage Results Returned",USAGE_INTERACTION:"Usage Interaction"},e.exports.assignNavigator=function(e){o=e},e.exports.assignLogInstance=function(e){n=e},e.exports.getLogger=function(){return r.getLogger()}}}]); /* window.modules["32"] */ "use strict";(self.modules=self.modules||[]).push([["32"],{32:e=>{let t=window.CNN.isElevated?768:960,s=window.CNN.isElevated?1024:1280,i=window.CNN.isElevated?1280:1360,a=e=>window.matchMedia(`(max-width: ${e-1}px)`),n={},r=(e,t,s={})=>{let i=s.last||!1;if(s.onlyOnce){let s=a(e).matches;return"function"==typeof t&&t(s),s}return n[e]||(n[e]={functions:[],lastFunctions:[],mediaQuery:a(e)},n[e].mediaQuery.addListener(t=>{n[e].functions.forEach(e=>{try{e(t.matches)}catch(e){console.error(e)}}),n[e].lastFunctions.forEach(e=>{try{e(t.matches)}catch(e){console.error(e)}})})),n[e][i?"lastFunctions":"functions"].push(t),t(n[e].mediaQuery.matches),n[e].mediaQuery.matches};e.exports={VIEWPORT_SITE_MIN_WIDTH:300,VIEWPORT_SITE_MAX_WIDTH:1440,VIEWPORT_SMALL_WIDTH:480,VIEWPORT_MEDIUM_WIDTH:t,VIEWPORT_MEDIUM_WIDTH_NON_ELEVATE:960,VIEWPORT_LARGE_WIDTH:s,VIEWPORT_EXTRA_LARGE_WIDTH:i,viewportListener:r,smallMaxWidthListener:(e,t)=>r(480,e,t),mediumMaxWidthListener:(e,s)=>r(t,e,s),largeMaxWidthListener:(e,t)=>r(s,e,t),extraLargeMaxWidthListener:(e,t)=>r(i,e,t),isVisibleViewport:(e,t)=>("desktop"!==e||!t)&&!("mobile"===e&&!t)}}}]); /* window.modules["33"] */ "use strict";(self.modules=self.modules||[]).push([["33"],{33:e=>{let t=1,s=({type:e,data:o,delay:r=t,attempt:a=0,errorMessage:l=""})=>{if(a>30){console.warn("Could not send out analytics beacon.",l);return}try{window.trackMetrics({type:e,data:o})}catch(l){let t=a+1;setTimeout(()=>s({type:e,data:o,delay:r,attempt:t,errorMessage:l.message}),1e3*r)}};e.exports={trackMetrics:s}}}]); /* window.modules["34"] */ "use strict";(self.modules=self.modules||[]).push([["34"],{34:(e,t,r)=>{let s=r("450"),{isRelativePath:a,getUrlObj:i}=r("50"),{appendQueryParam:l,validateQueryParam:h}=r("57"),{isInternalURL:n}=r("9"),{getPreAuthEntitlements:c}=r("35"),d=r("511"),u=r("637");e.exports=class{constructor({url:e,excludedPaths:t,defaultUrl:r}){this.url=e||new URL(window.location),this.excludedPaths=t||[],this.defaultUrl=r||"/",this.docReferrer=window?.WM?.referrer||document.referrer,this.urlReturnTypes={PATH:"path",OBJECT:"object",FULL:"full"}}_checkPathName(e){let t=a(e)?e:new URL(e).pathname;return t!==this.url.pathname&&!this.excludedPaths?.find(e=>t.startsWith(e))}getValidatedUrl(e){try{return n(e)&&this._checkPathName(e)&&s(e)}catch(e){return!1}}getRedirectUrl({priorityRedirectParam:e,priorityRedirectUrl:t,secondaryRedirectUrl:r,returnType:s}={}){let a=this.url.searchParams.get(e)||t||this.url.searchParams.get("redirect"),i=this.getValidatedUrl(a)||r&&this.getValidatedUrl(r)||this.getValidatedUrl(this.docReferrer)||this.defaultUrl;if(!s)return i;{let e=new URL(i,window.location.origin);return s===this.urlReturnTypes.PATH&&`${e.pathname}${e.search&&e.search}`||s===this.urlReturnTypes.OBJECT&&e||s===this.urlReturnTypes.FULL&&e.href}}triggerRedirect=({redirectUrl:e,fallbackRedirect:t="/"})=>{let r=e&&n(e)?e:t;window.location.assign(r)};appendParams=({targetUrl:e,sourceUrl:t=this.url,customParams:r={}})=>{let s=e instanceof URL?e:new URL(e),a=t instanceof URL?t:new URL(t),i=s.href,n=new Map;return Object.entries(r).forEach(([e,t])=>{n.set(e,{value:t,isCustom:!0})}),a.searchParams.forEach((e,t)=>{n.has(t)||n.set(t,{value:e,isCustom:!1})}),n.forEach(({value:e,isCustom:t},r)=>{let a=h(r,e);!a||s.searchParams.has(r)||!t&&(a.includes(i)||i.includes(a))||l(s,r,a)}),s.href};removeParams=({targetUrl:e,params:t=[]})=>{let r=e instanceof URL?e:i(e);return t.forEach(e=>r.searchParams.delete(e)),r.href};redirectIfUserHasEntitlement=async(e,t,r)=>{if(r?.length){let{preAuthorizedEntitlements:s}=await c(e,!1);if(!s?.length)return!1;let a=s.map(({entitlement:e})=>e),l=r.find(({bypassEntitlements:e})=>d(u(e),u(a)));if(l){let e=l.entitlementsGroupRedirect,r=this.getRedirectUrl({priorityRedirectParam:"redirect",priorityRedirectUrl:e||t});return this.triggerRedirect({redirectUrl:this.appendParams({targetUrl:i(r)})}),!0}}return!1}}}}]); /* window.modules["35"] */ "use strict";(self.modules=self.modules||[]).push([["35"],{35:(e,r,t)=>{let s,a,o,n;let{getCookie:c}=t("8"),{AUTH_CLIENT:i}=t("40"),u=t("31").setup({file:"/index.js"}),{formatLoggingData:l}=t("641"),d=t("23"),{trackMetrics:g}=t("33"),{zionEventHandler:S}=t("11"),{generateTemporaryDisplayName:y}=t("59"),{dispatch:h,actions:m}=t("48"),{PAYWALL:E}=m,{getCurrentSite:p}=t("137"),w=t("307"),A=p(),{IDENTITY_TYPES:f}=t("84"),_=t("116"),{isAppWebView:T}=t("9"),v=[401,424],O=d.get("ENABLE_WEBVIEW_APP_WALLS"),k={DOMESTIC:"domestic",INTL:"intl"},I={TOS:{docName:"TOS",version:"1.0",type:k.DOMESTIC},TOS_INTL:{docName:"TOS-Intl",version:"1.0",type:k.INTL},UK_ALL_ACCESS:{docName:"TOS-UK-All-Access",version:"1.0"}};Object.freeze(I);let C="An unexpected error occurred. Visit help.cnn.com for assistance.",L={500:C,default:C},b={401:"Your account has been locked. Visit www.cnn.com/feedback for further assistance.",420:"You entered an incorrect email, password, or both.",429:"An account with this email address already exists. If you believe this account is yours, please log in above.",...L},R={401:"Your account has been locked. Visit www.cnn.com/feedback for further assistance.",420:"You have entered an invalid password.",432:"Sorry, an error has occurred. Please try again later",523:"Sorry, an error has occurred. Please check your internet connection and try again",...L},P={401:`It looks like you’re having trouble logging in. Please click “Forgot password?” to reset your password.`,420:`You have entered an invalid username or password.${d.get("REG_SSO_GOOGLE_ENABLED")?" If you used a third-party account before, try signing in with that instead.":""}`,432:"Sorry, an error has occurred. Please try again later",523:"Sorry, an error has occurred. Please check your internet connection and try again",acct_deleted:"This email address is associated with a previously deleted account. Please use a different email address.",...L},N={420:"Sorry, an error has occurred. Please try again later.",429:'Looks like this account already exists. Please log in.',acct_deleted:"This email address is associated with a previously deleted account. Please use a different email address.",...L},U={validEmail:w(A,"Please enter a valid email address"),requiredEmail:w(A,"Email address is required"),emailSize:w(A,"Email must not exceed 255 characters"),requiredPassword:w(A,"Please enter a password"),registrationPassword:{min:w(A,"At least 8 characters"),upperLowerCase:w(A,"At least one letter"),numbers:w(A,"At least one number")},passwordSize:w(A,"Password must not exceed 255 characters"),displayName:{length:w(A,"0-30 letters and numbers"),hasValidChars:w(A,"Can include hyphens, apostrophes, periods, spaces, and commas")}},G={LOG_IN_SUCCESS:"logged in",LOG_IN_FAILURE:"login failure",ACCOUNT_CREATED:"account created",REGISTRATION_FAILURE:"registration failure",LOG_OUT:"logged out"},M={REGISTRATION:"cnn_registration",PASSWORD_RESET:"cnn_password_reset"},D={},z={getPreAuthEntitlements:E.AUTH_ENTITLEMENTS},x=async(e,r,t)=>{if("function"!=typeof r||!Object.hasOwn(z,e))return{success:!1};let s=async()=>{D[e]="loading";let t=await r();return h(z[e],t),D[e]="loaded",t},a=D[e];return t&&["loading","loaded"].includes(a)?void 0:await s()},$=(e,r)=>`${e}:${r}`,q=({criteria:e,value:r,messageMap:t})=>{let s=[];return Object.keys(e).forEach(a=>{let o=!0;RegExp(e[a]).test(r)||(o=!1),s.push({valid:o,msg:t[a]})}),s},V=e=>{let r=e||c("countryCode"),t=r&&"US"!==r?k.INTL:k.DOMESTIC;return Object.values(I).filter(e=>e.type===t)},j=e=>{g({type:"user-account",data:e})},F=async(e,r)=>{let t={success:!1,errorStatus:500},s=i.getToken();if(s)try{for(let{docName:r,version:t}of e)await i.addLegalDoc({docName:r,version:t},s);return{success:!0,errorStatus:null}}catch(e){t.errorStatus=e&&e.status||500,u("error",`Error accepting ${r}: `,l(e))}return t},W=(e,{docName:r,version:t})=>_(e,"user.userProfileResponses.cnn.acceptedLegalDocumentResponses",[]).some(e=>e.docName===r&&e.version===t),B=async e=>{let r={success:!1,errorStatus:500},t={misc:{event_message_type:M.REGISTRATION}};if(e)try{await i.resendConfirmationEmail(e,t,i.getToken()),r={success:!0,errorStatus:null}}catch(s){let e=s&&s.status||500,t=l(s);r.errorStatus=e,u("error","Error resending email confirmation:",t)}return r},Z=async(e,r={})=>{let t={success:!1,errorStatus:500};if(r={...r||{},event_message_type:M.PASSWORD_RESET},e)try{await i.resetPasswordRequest(e,r),t={success:!0,errorStatus:null}}catch(r){let e=r&&r.status||500;t.errorStatus=e,u("error","Error sending reset password request:",l(r))}return t},K=async e=>{let r={success:!1,errorStatus:500};if(e)try{await i.confirmEmail(e),r={success:!0,errorStatus:null}}catch(s){let e=s&&s.status||500,t=l(s);r.errorStatus=e,u("error","Error confirming email: ",t)}return r},Y=async e=>{let r={success:!1,errorStatus:500};if(e)try{r={resetToken:await i.resetPassword(e),success:!0,errorStatus:null}}catch(t){let e=t&&t.status||500;r.errorStatus=e,u("error","Error confirming reset password: ",l(t))}return r},H=async(e,r,t=null)=>{let s={success:!1,errorStatus:500};if(e&&r)try{await i.changePassword({newPassword:r,misc:t},e),s={success:!0,errorStatus:null}}catch(r){let e=r&&r.status||500;s.errorStatus=e,u("error","Error changing password: ",l(r))}return s},J=async e=>{let r={success:!1,errorStatus:500};if(e){let{attributes:t,source:s}=e;try{if(await i.register({...e,attributes:{...t,registration_subscribe:new Date().toISOString(),registration_source:s,display_name:y()},legaldocs:V(),rememberMe:90,misc:{...e.misc||{},event_message_type:M.REGISTRATION}})){r={success:!0,errorStatus:null},j({action:G.ACCOUNT_CREATED});try{S({traits:{account_method:"standard",account_source_id:""}},"UserRegistration")}catch(e){u("error","Error firing UserRegistration Nova analytics event:",e)}}}catch(s){let e=s&&s.status||500;r.errorStatus=e;let t=l(s);j({action:G.REGISTRATION_FAILURE,status:e,errorMessage:t?.data?.[0]?.message||""}),u("error","Error registering user: ",t)}}return r},Q=async e=>{let r={success:!1,errorStatus:500},t=e?.attributes?.signup_type==="one-tap"?"one tap":"button",s=c("countryCode");try{let a=await i.googleSsoRegister({...e,attributes:{...e.attributes||{},registration_subscribe:new Date().toISOString(),registration_source:e.source,display_name:y()},addresses:s&&[{country:s}],legaldocs:V(),rememberMe:90});r={success:!0,errorStatus:null,userInfo:a},j({action:G.ACCOUNT_CREATED,method:$(f.GOOGLE.toLowerCase(),t)});try{S({traits:{account_method:f.GOOGLE.toLowerCase(),account_source_id:""}},"UserRegistration")}catch(e){u("error","Error firing UserRegistration Nova analytics event:",e)}document.dispatchEvent(new CustomEvent("google-sso-register"))}catch(a){let e=a&&a.status||500,s=l(a);r.errorStatus=e,j({action:G.REGISTRATION_FAILURE,method:$(f.GOOGLE.toLowerCase(),t),status:e,errorMessage:s?.data?.[0]?.message||""}),u("error","Error registering user with Google: ",s)}return r},X=async e=>{let r={success:!1,errorStatus:500},t=c("countryCode");try{let s=await i.appleSsoRegister({...e,attributes:{...e.attributes||{},registration_subscribe:new Date().toISOString(),registration_source:e.source,display_name:y()},addresses:t&&[{country:t}],legaldocs:V(),rememberMe:90});r={success:!0,errorStatus:null,userInfo:s},j({action:G.ACCOUNT_CREATED,method:`${f.APPLE.toLowerCase()}:button`})}catch(s){let e=s&&s.status||500,t=l(s);r.errorStatus=e,j({action:G.REGISTRATION_FAILURE,method:`${f.APPLE.toLowerCase()}:button`,errorMessage:t?.data?.[0]?.message||""}),u("error","Error registering user with Apple: ",l(s))}return r},ee=async({email:e,password:r,misc:t={},userInfoData:s={},ssoType:a="",disableRegFallback:o,autoLogin:n,source:d})=>{let g={success:!1,errorStatus:500,userInfo:void 0},y={[f.GOOGLE]:Q,[f.APPLE]:X},h=a?{method:$(a.toLowerCase(),n?"automatic login":o?"one tap":"button")}:{};if(a&&r||e&&r)try{let s=await i.login({email:e,password:r,...a&&{identityType:a},rememberMe:90,misc:t,source:d},!0);if(a){let e=s.user?.userAddressResponses?.some(e=>e.country),r=c("countryCode");!e&&r&&es({addresses:[{country:r}]},s.authToken)}g={success:!0,errorStatus:null,userInfo:s},j({action:G.LOG_IN_SUCCESS,...h});try{S({canonical_url:window?.CNN?.contentModel?.canonicalUrl||null,cnn_uid:i.getStoredUID()||null,brand:"CNN",traits:{account_method:a?a.toLowerCase():"standard",account_source_id:""}},"UserLogin")}catch(e){u("error","Error firing UserLogin Nova analytics event:",e)}a===f.GOOGLE&&document.dispatchEvent(new CustomEvent("google-sso-login"))}catch(n){let e=n&&n.status||500;if(420===e&&a&&!o)g=await y[a]({token:r,misc:t,...s});else{g.errorStatus=e;let r=l(n);j({action:G.LOG_IN_FAILURE,errorMessage:r?.data?.[0]?.message||"",...h}),u("error","Error logging in user:",r)}}return g},er=async()=>{let e={success:!1,errorStatus:500,userInfo:void 0},r=i.getToken();if(r)try{let t=await i.accountInfo(r);e={success:!0,errorStatus:null,userInfo:t,userToken:r}}catch(t){let r=t&&t.status||500;e.errorStatus=r,v.includes(t?.status)&&i.removeToken(),u("error","Error getting user info: ",l(t)),j({action:G.LOG_OUT,method:"getUserInfo"})}return e},et=async(e,r={})=>{let t={success:!1,errorStatus:500};if(e)try{let{identityTypes:s}=await i.emailLookupRequest(e,r);t={success:!0,identityTypes:s,errorStatus:null}}catch(r){let e=r&&r.status||500;t.errorStatus=e,424!==e&&u("error","Error sending email lookup request:",l(r))}return t},es=async(e,r)=>{let t={success:!1,errorStatus:500};if(r=r||i.getToken())try{await i.updateAccount(e,r),t={success:!0,errorStatus:null}}catch(r){let e=r&&r.status||500;t.errorStatus=e,u("error","Error updating account info: ",l(r))}return t},ea=async()=>{let e={success:!1,errorStatus:500},r=i.getToken();if(r)try{await i.deleteAccount(r),e={success:!0,errorStatus:null}}catch(s){let r=l(s),t=s&&s.status||500;e.errorMessage=r?.data?.[0]?.message||"",e.errorStatus=t,u("error","Error deleting account: ",r)}return e},eo=async()=>{let e={success:!1,errorStatus:500},r=i.getToken();if(r)try{await i.refreshAuthToken(r,90),e={success:i.tokenWithAuthn(),errorStatus:null}}catch(t){let r=t&&t.status||500;e.errorStatus=r,u("error","Error refreshing auth token: ",l(t))}return e},en=async e=>{let r={success:!1,errorStatus:500},t=i.getToken();if(e&&t)try{r=await i.linkMVPDAuthn(t,e)}catch(t){let e=t&&t.status||500;r.errorStatus=e,u("error","Error linking MVPD to user: ",l(t))}return r},ec=async(e,r,t=!1,s=!1)=>(t&&(D.getPreAuthEntitlements=""),await x("getPreAuthEntitlements",async()=>{let t={success:!1,errorStatus:500,preAuthorizedEntitlements:void 0};if(e)try{let{preAuthorizedEntitlements:s}=await i.getPreAuthEntitlements(e,r,{validateWithCookie:O&&!0!==r&&T()});t={success:!0,errorStatus:null,preAuthorizedEntitlements:s}}catch(r){let e=r&&r.status||500;t.errorStatus=e,u("error","Error getting preauth entitlements: ",l(r))}return t},s)),ei=async()=>(s||(s=eu()),s),eu=async()=>{let e={success:!1,errorStatus:500,sbpToken:void 0,exp:void 0},r=await i.getToken();if(r){if(a&&o&&n&&r==a&&n>Math.round(Date.now()/1e3))e={success:!0,errorStatus:void 0,sbpToken:o,exp:n};else try{let{data:t}=await i.getSbpToken(r);t.sbpToken&&t.exp&&(a=r,o=t.sbpToken,n=t.exp,e={success:!0,errorStatus:void 0,sbpToken:t.sbpToken,exp:t.exp})}catch(t){a=void 0,o=void 0,n=void 0;let r=t&&t.status||500;e.errorStatus=r,u("error","Error getting SBP token: ",l(t))}}else a=void 0,o=void 0,n=void 0;return s=void 0,e},el=async(e,r)=>{let t={success:!1,errorStatus:500},s=r||i.getToken();try{await i.linkSSOAccount(e,s),t={success:!0,errorStatus:null}}catch(r){let e=r&&r.status||500;t.errorStatus=e,u("error","Error linking SSO account: ",l(r))}return t},ed=async(e,r)=>{let t={success:!1,errorStatus:500},s=e||i.getToken();try{let{data:e}=await i.getSSOIdentities(s,r);t={success:!0,data:e,errorStatus:null}}catch(r){let e=r&&r.status||500;t.errorStatus=e,u("error","Error getting SSO identities: ",l(r))}return t},eg=async e=>{let r={success:!1,errorStatus:500};try{let{data:t}=await i.getSSOIdentityTypes(e);r={success:!0,data:t,errorStatus:null}}catch(t){let e=t&&t.status||500;r.errorStatus=e,u("error","Error getting SSO identity types: ",l(t))}return r},eS=async(e,r)=>{let t={success:!1,errorStatus:500},s=r||i.getToken();try{await i.deleteSSOIdentity(e,s),t={success:!0,errorStatus:null}}catch(r){let e=r&&r.status||500;t.errorStatus=e,u("error","Error deleting SSO identity: ",l(r))}return t},ey=async(e,r)=>{if(e&&r){let{success:t,preAuthorizedEntitlements:s=[]}=await ec(i.getToken(),!1);return!!(t&&s?.length&&s.every(r=>e.includes(r.entitlement)))&&(window.location.assign(r),!0)}},eh={readOnly:["cnn_subs"],allAccess:["cnn_subs","cnn_subs_video"],ukLive:["cnn_uk"]},em=(e=[])=>{let r=e.map(({entitlement:e})=>e),t=e=>e.every(e=>r.includes(e));return Object.entries(eh).reduce((e,[r,s])=>(t(s)&&e.push(r),e),[])},eE=async e=>{let r={success:!1,errorStatus:500},t=i.getToken();if(e&&t)try{r=await i.assignRegCode(t,e)}catch(t){let e=t&&t.status||500;r.errorStatus=e,u("error","Error assigning regcode to user: ",l(t))}return r},ep=async e=>{let r={success:!1,errorStatus:500};if(e)try{r=await i.verifyRegCode(e)}catch(t){let e=t&&t.status||500;r.errorStatus=e,u("error","Error verifying regcode: ",l(t))}return r},ew=async e=>{let r={success:!1,errorStatus:500},t=i.getToken();if(e&&t)try{r=await i.getRegcodeMetadata(t,e)}catch(t){let e=t&&t.status||500;r.errorStatus=e,u("error","Error getting metadata for regcode: ",l(t))}return r},eA=async(e,r)=>{let t={success:!1,errorStatus:500},s=e||i.getToken();if(s&&r)try{t=await i.createAmazonAssociation(s,r)}catch(r){let e=r&&r.status||500;t.errorStatus=e,u("error","Error creating Amazon association: ",l(r))}return t},ef=async e=>{let r={success:!1,errorStatus:500};try{r=await i.checkAmazonEligibility(e)}catch(t){let e=t&&t.status||500;r.errorStatus=e,u("error","Error checking Amazon eligibility: ",l(t))}return r};e.exports={authClient:i,createAccountDaltonErrorMessageMapping:N,ssoConfirmPasswordDaltonErrorMessageMapping:R,loginDaltonErrorMessageMapping:b,updateAccountErrorMessageMapping:{432:"1 - 30 letters and numbers, can also include hyphens, apostrophes, periods, and commas."},loginPageDaltonErrorMessageMapping:P,mvpdErrorMessageMapping:{429:"Sorry, this TV provider account is already linked to another CNN+ account.",default:"Sorry, we cannot link your TV Provider right now. Please try again later."},validateEmail:e=>{let r="";return e?e.length>255?r=U.emailSize:/^[a-zA-Z0-9._%+-]+@[a-zA-Z0-9.-]+\.[a-zA-Z]{2,4}$/i.test(e)||(r=U.validEmail):r=U.requiredEmail,r},validatePassword:e=>{let r="";return e?e.length>255&&(r=U.passwordSize):r=U.requiredPassword,r},validateRegistrationPassword:e=>{let{registrationPassword:r}=U;return q({criteria:{min:/.{8,}/,upperLowerCase:/[a-zA-Z]/,numbers:/^(?=.*[0-9]).+$/},messageMap:r,value:e})},validateDisplayName:e=>{let{displayName:r}=U;return q({criteria:{length:/^.{0,30}$/,hasValidChars:/^(?=.*[a-zA-Z0-9]|^$)([a-zA-Z0-9\-,.' ])*$/},messageMap:r,value:e})},getRegionalLegalDocs:V,acceptTOS:e=>F(V(e),"TOS"),acceptUkAllAccessTOS:()=>F([I.UK_ALL_ACCESS],"UK All Access TOS"),getUserInfo:er,updateAccountInfo:es,registerUser:J,registerUserSSO:Q,getEmailLookup:et,loginUser:ee,resendConfirmation:B,resetPassword:Z,changePassword:H,confirmReset:Y,confirmEmail:K,deleteAccount:ea,linkMVPDAuthn:en,refreshAuthToken:eo,getPreAuthEntitlements:ec,getSbpToken:ei,linkSSOAccount:el,getSSOIdentities:ed,deleteSSOIdentity:eS,REMEMBER_ME_DURATION:90,getSSOIdentityTypes:eg,deDupDaltonResponse:x,registerUserSSOApple:X,bypassEntitlements:ey,checkEntitlements:em,checkEntitlementsForAccess:(e=[],r=[])=>{let t=em(e);return r.reduce((e,r)=>(e[r]=t.includes(r),e),{})},getRequiredEntitlements:e=>[...eh[e]??[]],needsConsent:e=>V().some(r=>!W(e,r)),needsUkAllAccessConsent:e=>!W(e,I.UK_ALL_ACCESS),hasUniversalProductIndicator:function(e,r){return r.every(r=>e.some(({universalProductIndicator:e})=>e===r))},getProviderIdByUpi:(e,r)=>{let t=Array.isArray(e)?e:[];return t.find(({universalProductIndicator:e})=>e===r)?.providerId},assignRegCode:eE,verifyRegCode:ep,getRegcodeMetadata:ew,UNAUTH_ERROR_CODES:v,createAmazonAssociation:eA,checkAmazonEligibility:ef}}}]); /* window.modules["38"] */ "use strict";(self.modules=self.modules||[]).push([["38"],{38:(e,i,t)=>{var a=t("328").Buffer;let{ClientTemplate:n}=t("94"),{getLanguage:o}=t("9"),{formatDurationForScreenReader:l}=t("15"),r=t("image.client"),s=t("video-resource.client"),{elevateWhenNeeded:d,isElevated:c}=t("136"),{array:u,arrayIncludes:p,not:m,ternary:g}=t("644"),{generateSourceByDAM:h,renderImage:v}=t("425"),w=t("645"),f=t("307"),{toObject:b}=t("12"),y=t("646"),L=t("647"),S={compiler:[8,">= 4.3.0"],main:()=>"",useData:!0},M=n.createHandlebarsEnvironment({helpers:{adFeedbackLink:()=>"",array:u,arrayIncludes:p,elevateWhenNeeded:d,escapeHTMLQuotes:function(e){return e.fn(this).replace(/"|'/g,""").trim()},generateSourceByDAM:h,inlineSafeString:w,isElevated:c,kilnEditButton:()=>"",not:m,read:e=>e.includes("sig-video.svg")?'':e.includes("ui-caret-up.svg")?'':void 0,renderImage:v,sliceString:function(e,i,t){return e.slice(i,t||e.length)},ternary:g,toObject:b,translate:f},partials:{byline:S,image:y,show:S,timestamp:S}}).template(L);e.exports=function(e,i,{indexOffset:t=0}={}){e.forEach((e,d)=>{try{let c=function(e,i,t){let n=a.from(e.stellar_id,"base64").toString(),r=n.startsWith("/")?`${window.location.hostname}${n}`:n,s=o();return{_ref:r,branding:[{}],canonicalUrlPath:new URL(e.url,window.location.origin).pathname,componentVariation:"video-resource",config:{details:"",duration:"",fullDetails:!1,thumbnailWidth:""},description:e.description,displayVideoCover:!0,duration:e.durationLabel,durationDisplay:e.durationLabel,durationForScreenReader:l(e.durationLabel,s),videoLabel:f(s,"Video"),headline:e.headline,inPlaylist:!0,index:i+t,lazy:!0,locals:{configuration:{language:s,pageType:window.CNN?.contentModel?.pageType},edit:!1,modal:!1,pageVariant:window.CNN?.contentModel?.templateType},parentUri:r,source:e.source,showSourcePartial:!!e.source,stellarId:e.stellar_id,tags:{tagNames:""},thumbnail:[{alt:e.headline,componentVariation:"image",credit:"",damType:"stellar",url:e.thumbnail}],videoId:e.stellar_id}}(e,d,t),u=M(c),p=n.createElementFromHTML(u);p.querySelectorAll('[data-component-name="image"]').forEach(e=>r(e)),s(p),i.appendChild(p)}catch(e){console.error("video-playlist: skipping invalid recommendation",e)}})}}}]); /* window.modules["40"] */ "use strict";(self.modules=self.modules||[]).push([["40"],{40:(e,r,t)=>{let a=t("685"),s=t("23"),n=t("31").setup({file:"/index.js"}),{formatLoggingData:o}=t("641"),{dedupeInFlight:i}=t("642"),c=new a({env:s.get("DALTON_ENV")||"production",cookieVersion:s.get("DALTON_COOKIE_VERSION")||"v1.1",forwardClientInfo:!0,appId:s.get("TOP_AUTH_SERVICE_APP_ID"),cookieRefreshAfterDays:5,pianoEnabled:s.get("PIANO_ENABLED")&&s.get("PIANO_ENABLE_AUTH_SYNC")}),u=e=>"CA"===e?"US":e,l=async e=>{let r=await c.requestRegCode(e),{errorStatus:t}=r;return t&&n("error","Error requesting reg code: ",t),r},d=async e=>{let r={success:!1,errorStatus:500};if(e){let{errorStatus:t}=r=await c.authnRegCode(e);t&&n("error","Error authenticating reg code: ",t)}return r},p=async(e,r)=>{let t=await c.getActiveSub(e,r),{errors:a}=t;return a&&n("error","Error getting active subscriptions: ",a),t},g=async e=>{if(!e)return{success:!1,errorStatus:500};let r=s.get("REGWALL_API_V2_ENABLED")?"2":"1";return i(`getActiveSub:${r}:${e}`,()=>p(e,r))},y=async e=>{let r={success:!1,errorStatus:500},t=s.get("REGWALL_API_V2_ENABLED")?"2":"1";if(e){let{errors:a}=r=await c.getSub(e,t);a&&n("error","Error getting subscriptions: ",a)}return r},f=async(e,r="US")=>{let t=s.get("REGWALL_API_V2_ENABLED")?"2":"1",a="UK"===r?s.get("GIZMO_UK_VERSION","2"):t,o=await c.getProducts(e,r,a),{errors:i}=o;return i&&n("error","Error getting products: ",i),o},m=async e=>{let r={success:!1,errorStatus:500};if(e){let{errors:t}=r=await c.getPaymentSources(e);t&&n("error","Error getting payment sources: ",t)}return r},h=async(e,r,t)=>{let a={success:!1,errorStatus:500};if(e&&r&&t){let{errors:s}=a=await c.addPaymentSource(e,r,u(t));s&&n("error","Error adding payment source: ",s)}return a},E=async(e,r,t,a)=>{let s={success:!1,errorStatus:500};e&&r&&t&&(s=await c.updateSubPaymentSource(e,r,t,u(a)));let{errors:o}=s;return o&&n("error","Error updating subscription payment source: ",o),s},S=async(e,r,t)=>{let a={success:!1,errorStatus:500},{purchases:s}=r||{};s?.length&&(a=s.filter(e=>e.idempotencyKey).length===s.length?await c.addPurchase(e,r,u(t)):{...a,errorStatus:422,errors:[{field:null,error:"error",message:"Sorry, we couldn't process your payment. Please try again."}]});let{errors:o}=a;return o&&n("error","Error adding purchase: ",o),a},w=async(e,r="US")=>{let t={success:!1,errorStatus:500},a=c.getToken();if(a&&e)try{(t=await c.getPurchasePreview(a,e,u(r))).success||n("error","Error getting purchase preview: ",t.errors||o(t))}catch(e){t={success:!1,errorStatus:e&&e.status||500},n("error","Error getting purchase preview: ",o(e))}return t},_=async(e,r)=>{let t={success:!1,errorStatus:500,clientSecret:void 0};e&&(t=await c.setupIntent(e,u(r)));let{errors:a}=t;return a&&n("error","Error creating setup intent: ",a),t},b=async(e,r,t)=>{let a={success:!1,errorStatus:500};e&&r&&(a=await c.cancelSub(e,r,u(t)));let{errors:s,errorStatus:o}=a;return(s||o)&&n("error","Error cancelling subscription: ",{status:o,data:s}),a},A=async(e,r,t)=>{let a={success:!1,errorStatus:500};if(e&&r){let{errors:s,errorStatus:o}=a=await c.cancelSubImmediate(e,r,u(t));(s||o)&&n("error","Error immediately cancelling subscription: ",{status:o,data:s})}return a},N=async(e,r="US")=>{let t=await c.getProductTransitionStrategy({productOrSubId:e,type:"productId",region:u(r)}),{errors:a}=t;return a&&n("error","Error getting product/subscription transitions: ",a),t};e.exports={AUTH_CLIENT:c,resolveGizmoRegion:u,getActiveSub:g,getAllSubs:y,requestRegCode:l,authnRegCode:d,paymentErrorMapping:{expired_card:"Enter a valid expiration date.",incorrect_zip:"Enter a valid ZIP Code.",incorrect_cvc:"Enter a valid security code.",card_declined:"Unable to process payment.",processing_error:"Unable to process payment. Try again.","internal.error":"Unable to process payment. Try again.","transition.strategy.notfound":'Sorry, but we can\'t process your request right now. Please contact our Help Center for support.'},marketingConsentData:{marketingOptIns:[{name:"marketingOptIn",label:"Check here if you would like to receive updates and offers from CNN and its affiliates",preselected:!0},{name:"marketingOptIn",label:"Yes! CNN and WarnerMedia News & Sports may use my email address along with my interests, interactions, and device data to send me tailored email and other offers through social media or other sites and apps.",type:"gdpr"},{name:"marketingAffiliateOptIn",label:"Yes! CNN and WarnerMedia News & Sports may also share those details with Affiliates so they may send me tailored email and other offers. CNN and WarnerMedia News & Sports are requesting this consent on behalf of their affiliates, which will use the information under their respective privacy policies.",type:"gdpr"}]},getProducts:f,getPaymentSources:m,addPaymentSource:h,updateSubPaymentSource:E,addPurchase:S,getPurchasePreview:w,cancelSubscription:b,cancelSubscriptionImmediate:A,createSetupIntent:_,getProductTransitions:N}}}]); /* window.modules["41"] */ "use strict";(self.modules=self.modules||[]).push([["41"],{41:(e,t,r)=>{let{getProducts:a,getProductTransitions:n,resolveGizmoRegion:i}=r("40"),l=r("31").setup({file:"/index.js"}),o=r("116"),u=r("653"),d=r("23"),{escapeHTML:c}=r("57"),{CONFIG_BY_REGION:s,getRegionalCopy:p,formatRegionalDate:f}=r("43"),g=r("654"),m={1:"one",2:"two",3:"three",4:"four",5:"five",6:"six",7:"seven",8:"eight",9:"nine",10:"ten",11:"eleven",12:"twelve"},I={DAY:{value:"day",abbr:"day",title:"Daily"},WEEK:{value:"week",abbr:"wk",title:"Weekly"},MONTH:{value:"month",abbr:"mo",title:"Monthly"},YEAR:{value:"year",abbr:"yr",title:"Annual"}},E=[{name:I.MONTH.value,text:I.MONTH.title},{name:I.YEAR.value,text:I.YEAR.title}],P={PREFERRED:"preferred",ESSENTIAL:"essential",SINGLE_PLAN:"single-plan"},h={BASIC:"cnn_subs",ALL_ACCESS:"cnn_all_access",UK_LIVE:"uk_live"},v={FULL_PRICE:"FULL_PRICE",WELCOME_OFFER:"WELCOME_OFFER"},A=(e,t)=>e?.universalProductIndicator===t,b=e=>A(e,h.BASIC),y=e=>A(e,h.ALL_ACCESS),T=(e,t)=>eD[e]||D.UK,O=e=>{let t=d.get("DALTON_REGIONS",[]);return 0===t.length?null:t.includes(e)?e:null},R={METERED:"metered",EXCLUSIVE:"exclusive"},N={gizmo:"WEB",iTunes:"APPLE","Google Play":"GOOGLE",Roku:"ROKU",Amazon:"AMAZON",Samsung:"SAMSUNG"},x={WEB:{store:"CNN.com",linkText:"cnn.com/account/settings",link:"https://cnn.com/account/settings"},APPLE:{store:"Apple App Store",linkText:"Apple App Store settings",link:"https://support.apple.com/billing",deviceTypes:{"com.cnn.iphone":{type:"app",storeText:"Apple App Store"},"com.cnn.ctv.tvos":{type:"ctv",storeText:"Apple TV"}}},GOOGLE:{store:"Google Play Store",linkText:"Google Play Store",link:"https://g.co/play/subscriptions",deviceTypes:{"com.cnn.mobile.android.phone":{type:"app",storeText:"Google Play Store"},"com.cnn.ctv.androidtv":{type:"ctv",storeText:"Android TV"}}},ROKU:{store:"Roku Store",linkText:"Roku Store settings",link:"https://my.roku.com/subscriptions",deviceTypes:{"com.cnn.ctv.roku":{type:"ctv",storeText:"Roku TV"}}},AMAZON:{store:"Amazon Appstore",linkText:"Amazon Appstore settings",link:"https://amazon.com/yourmembershipsandsubscriptions",deviceTypes:{"com.cnn.ctv.firetv":{type:"ctv",storeText:"Fire TV"}}},AMAZONPVC:{store:"Amazon Prime Video",linkText:"Amazon Prime Video",link:"https://amazon.com/yourmembershipsandsubscriptions"},SAMSUNG:{store:"Samsung TV App Store",linkText:"Samsung TV App Store settings",link:"https://www.samsungcheckout.com/portal/auth/login.do",deviceTypes:{"com.cnn.ctv.samsung":{type:"ctv",storeText:"Samsung TV"}}}},w=(e={})=>{let{storefrontType:t}=e;return N[t]||""},$={ACTIVE:"active",CANCELED:"canceled",TRIALING:"trialing",TERMINATED:"terminated",PAST_DUE:"past_due"},U=()=>d.get("ENABLE_UM_HORIZON",!1),M=()=>d.get("ENABLE_SUBSCRIPTION_RENEW",!1),k=()=>d.get("ENABLE_EXPIRED_NOTIFICATION",!1),F=({storefrontInfo:e,card:{expirationYear:t,expirationMonth:r}={}})=>{if(!k()||!ed(e)||!t||!r)return!1;let a=new Date(Number(t)+(2===t.length?2e3:0),Number(r));return Date.now()>=a},B=(e,t)=>t&&new Intl.NumberFormat("en-US",{style:"currency",currency:t,...Number.isInteger(e)&&{maximumFractionDigits:0,minimumFractionDigits:0}}).format(e),V=(e={},t="")=>{for(let[r,a]of Object.entries(e))t=t.replaceAll(`{${r}}`,String(a??""));return t},z=e=>(I[e.toUpperCase()]||I.YEAR).title,G=["UK"],Y=e=>{let t,r,a;let n=Date.now(),i=e.filter(e=>!e.endDateMillis||e.endDateMillis>n);if(1===i.length)r=i[0];else{let e=i.sort((e,t)=>e.startDateMillis-t.startDateMillis);t=e[0],r=e[1],a=e[2]}return{introData:t,baseData:r,longTermData:a}},W=(e,t)=>{let{baseData:r,introData:a}=Y(e.map(e=>{let{intervalText:r,intervalOfferText:a}=Z({billingInterval:e.phaseBillingInterval||e.billingPeriod?.interval,introCycles:e.phaseCycles||e.cycles,introPhase:e.phaseNumber,productId:t});return{price:e.phasePrice||e.price,currency:e.phaseCurrency||e.currency,cycles:e.phaseCycles||e.cycles,billingInterval:e.phaseBillingInterval||e.billingPeriod?.interval,billingIntervalCount:e.phaseBillingIntervalCount||e.billingPeriod?.intervalCount,phaseNumber:e.phaseNumber,intervalText:r,intervalOfferText:a,formattedPrice:B(e.phasePrice||e.price,e.phaseCurrency||e.currency)}}));return{basePriceData:r,introPriceData:a}},K=(e,t,r)=>r[e].filter(e=>{let{universalProductIndicator:r,gizmoProductId:a,metadata:n}=e,{sku:i,universalProductIndicator:l}=t;return r===l&&(i===a||i===n?.matching_product)&&!eI(i)&&!eI(a)}),H=({region:e,currentSubscription:t,productsByRegion:r,productTransitions:a,isMvpdAuthenticated:n=!1})=>{if(!U())return K(e,t,r);let{sku:i,universalProductIndicator:l}=t,o=new Map;return r[e].forEach(t=>{let{gizmoProductId:r,universalProductIndicator:u,productType:d,availabilityEndTimeMillis:c,billingPeriod:s,phases:p}=t,f=i===r,g=a.find(e=>e.endProductId===r)?.strategyType,m=g&&!eI(r),I=!c||c>Date.now(),E=l===h.ALL_ACCESS||u===h.BASIC,P="US"===e&&(!n||E)||"US"!==e&&!!O(e);if((f||m&&I)&&P){let e=s?.interval||p[0]?.billingPeriod?.interval,r=`${u}::${e}`,a=o.has(r),n=d===v.WELCOME_OFFER;if(!a||n){let e=f?t:{...t,strategyType:g};o.set(r,e)}}}),Array.from(o.values())},j=async(e,t=!1,r)=>{let{strategies:i=[]}=await n(e.sku,r),{products:l=[]}=await a({},r),u=H({region:r,currentSubscription:e,productsByRegion:{[r]:l},productTransitions:i,isMvpdAuthenticated:t});return o(u,"[0].gizmoProductId","")!==e.sku&&u.reverse(),{subscriptionOptions:u,productTransitions:i,updatePaymentEnabled:!eu(e),region:r}},Z=e=>{let{billingInterval:t,introCycles:r,introPhase:a}=e,n=e.productId||e.gizmoProductId||e.value,i=0==a,l=t||"",o="";if(eI(n))return{intervalText:l,intervalOfferText:o};if(0==r&&i)console.warn(`Phased product with id ${n} has zero billing cycles`);else if(i&&r){let e=Number(r);if(12===e&&"month"===t)o="for 12 months";else if(1===e&&"year"===t)l="first year";else if(1===e)o=`for first ${t}`;else if("month"===t)o=`for first ${e} months`;else{let r=m[e]||e;o=`for first ${r} ${t}s`}}return{intervalText:l,intervalOfferText:o}},X=e=>{let t=e?.currency?.toLowerCase();return t?_[t]:void 0},q=(e,{isPaywall:t=!1}={})=>{let{formattedCost:r,billingInterval:a,productUpi:n,introCycles:i,introPricing:l}=e,o=Number(i)||0;return{cost:c(String(r??"")),interval:c(String(a??"")),productUpi:n,hasIntroOffer:o>0||t&&!!l,isPaywall:t,introPricing:c(String(l??""))}},J=({productUpi:e,hasIntroOffer:t,isPaywall:r,introPricing:a},n)=>n.ukLive&&e===h.UK_LIVE?"ukLive":r?a&&n.paywallExpressCheckoutOffer?"paywallExpressCheckoutOffer":n.paywallExpressCheckout?"paywallExpressCheckout":"default":t?"offer":"default",Q=(e,t={})=>{let r=X(e),a=q(e,t),{legalLanguage:n}=s[r]||s.US,i=n[J(a,n)]||n.default,{cost:l,interval:o,introPricing:u}=a;return i.split("{cost}").join(l).split("{interval}").join(o).split("{introPricing}").join(u)},ee=(e,t,r,a)=>e.map((e,n)=>{let i;let{gizmoProductId:l,universalProductIndicator:u,phases:d,availabilityEndTime:c,productType:s}=e,p=e;if(d?.length){let{introPriceData:e,basePriceData:t}=W(d,l);p=t,i=e}let{price:f,currency:g,billingInterval:m,billingPeriod:I}=p,E=e.metadata?.strikeThroughPrice,P=m||o(I,"interval",""),h=z(P),v=r||a,A=v?v===l:0===n,b=g&&B(f,g),y=g&&E&&B(E,g),T=e.description||"",_=t?.[l]||{},L=_?.priceDescriptionText||"",S=_?.priceBadgeText||"",D=_?.productPerks||[],C=_?.productOnboardingRedirect||"",O={idPrefix:`payment-${P}`,value:l,productUpi:u,name:l.replace(/(_|-)./g,e=>e[1].toUpperCase()),selected:A,formattedCost:b,labelText:h,labelSubtext:`${b}/${P}`,strikeThroughPrice:y,billingInterval:P,description:T,priceDescription:L,badgeText:S,currency:g,availabilityEndTime:c,productType:s,dataAttrs:[{name:"product-id",val:l},{name:"billing-interval",val:h},{name:"product-upi",val:u},{name:"product-price",val:f},{name:"product-currency",val:g},{name:"frequency",val:P},{name:"formatted-price",val:b},{name:"price-description",val:L},{name:"price-badge",val:S},{name:"description",val:T},{name:"product-onboarding-redirect",val:C}]};if(D.length&&(O.productPerks=D),i){let{price:e,cycles:t,currency:r,phaseNumber:a}=i,n=B(e,r);(O={...O,introPrice:n,introCycles:t,introPhase:a}).dataAttrs.push({name:"intro-pricing",val:n},{name:"intro-billing-cycles",val:t},{name:"intro-phase",val:a.toString()},{name:"intro-price",val:e},{name:"intro-currency",val:r});let{intervalText:l,intervalOfferText:o}=Z(O);O={...O,labelText:`${O.labelText}`,intervalText:`/${l}`,intervalOfferText:o,labelSubtext:`${b}${n}/${l}${o?` ${o}`:""}`}}return O});function et(e,t){let{MONTH:{value:r},YEAR:{value:a}}=I;return e.reduce((e,r)=>{let a=t.find(e=>e.gizmoProductId===r.productId);return a&&e.push({...r,...a}),e},[]).reduce((e,t)=>{let{phases:n}=t;if(n?.length){let{basePriceData:i,introPriceData:l}=W(n,t.gizmoProductId),{billingInterval:o}=i;t.phaseData={basePriceData:i,introPriceData:l},o===r?e.monthly.products.push(t):o===a?e.annual.products.push(t):console.warn(`Product with id ${t.productId} has unknown billing interval: ${o}`)}return e},{monthly:{products:[]},annual:{products:[]}})}function er(e,t,{monthlyLegalLanguage:r,annualLegalLanguage:a,monthlyOfferLegalLanguage:n,annualOfferLegalLanguage:i}={},{isOfferField:l="isOffer",offerProductIdField:o="offerProductId",fullPriceProductIdField:u="fullPriceProductId",nestedItemsPath:d}={}){let c=Array.isArray(e)?e:[],s=e=>({isOffer:e?.[l],offerProductId:e?.[o],fullPriceProductId:e?.[u]}),p=d?c.flatMap(e=>(e?.[d]||[]).map(s)):c.map(s),f=r,g=a,m=new Map;return p.forEach(e=>{if(!e?.isOffer)return;let r=el(t,e.offerProductId,e.fullPriceProductId);if(m.set(e.offerProductId,r),!r?.product||r.isExpired)return;let{phases:a,gizmoProductId:l}=r.product;if(!a?.length)return;let{basePriceData:o}=W(a,l),u=o?.billingInterval;u===I.MONTH.value&&n?.trim()?f=n:u===I.YEAR.value&&i?.trim()&&(g=i)}),{monthlyLegalLanguage:f,annualLegalLanguage:g,offerResolutions:m}}function ea(e){return e.map(t=>({productId:t.productId,subCardData:{...t,cardVariation:T(e.length,t.isPreferred),legalLanguage:t.legalLanguage}}))}function en(e,t){let r;let{phases:a,gizmoProductId:n}=e,i=e;if(a?.length){let{basePriceData:e,introPriceData:t}=W(a,n);i=e,r=t}let{price:l,currency:o,billingInterval:u,billingIntervalCount:d,phaseNumber:c}=i,s={price:l,currency:o,billingInterval:u},{intervalText:p="",intervalOfferText:f=""}=r?Z({billingInterval:r.billingInterval,introCycles:r.cycles,introPhase:r.phaseNumber,productId:n}):{},g=r&&!f&&!eI(n);return{...t,title:z(u),...r&&{formattedIntroPrice:r.formattedPrice},formattedPrice:B(l,s.currency),intervalText:`/${p||u}${g?"*":""}`,intervalOfferText:f?`${f}*`:"",billingInterval:u,formattedLegalLanguage:t?.legalLanguage?t.legalLanguage.replace("{price}",B(s.price,s.currency)).replace("{interval}",s.billingInterval):""}}let ei=e=>{if(!e)return!0;let t=new Date(e).getTime();return!!Number.isNaN(t)||Date.now()>=t},el=(e,t,r)=>{let a=t||void 0,n=r||void 0,i=a?e.find(e=>e.gizmoProductId===a):void 0,l=n?e.find(e=>e.gizmoProductId===n):void 0;if(!i)return{product:l,productId:n,regionallyAvailableProductId:l?.gizmoProductId,isExpired:!0};let o=ei(i.availabilityEndTime),u=o?l:i;return{product:u,productId:o?n:a,regionallyAvailableProductId:u?.gizmoProductId,isExpired:o}},eo=e=>e.sort(({billingInterval:e,dataAttrs:t},{billingInterval:r,dataAttrs:a})=>{let n=t.find(({name:e})=>"product-upi"===e).val,i=a.find(({name:e})=>"product-upi"===e).val;return ni?1:e>r?-1:e{let t=d.get("RESTRICTED_UPI_UPGRADES")??"",{universalProductIndicator:r="",sku:a=""}=e;return(!U()||r!==h.BASIC)&&(("string"==typeof t?[t]:t).includes(r)||r===h.UK_LIVE&&!a?.includes("monthly"))},ed=(e={storefrontType:"gizmo"})=>"WEB"===w(e),ec=e=>{let{cancelDateMillis:t,status:r}=e;return!!t||[$.CANCELED,$.TERMINATED].includes(r?.toLowerCase())},es=async(e,t)=>{try{let{success:r,errorStatus:i,strategies:l=[]}=await n(e.sku,t);if(!r||i)throw Error(i);let o=l.reduce((e,t)=>{let r=t.endProductId;return eI(r)&&e.push(r),e},[]),{success:u,errorStatus:c,products:s=[]}=await a({},t);if(!u||c)throw Error(c);let p=o.map(e=>s.find(t=>t.gizmoProductId===e));if(d.get("ENABLE_OPTIMIZELY_MULTI_VARIANT_CANCEL_OFFER",!1)&&"US"===t)return ep(p,e.sku);let f=p.find(e=>b(e)),g=p.find(e=>y(e));return{basicRetentionOffer:f,allAccessRetentionOffer:g}}catch(e){return l("error",`Error retrieving retention products: ${e}`),{basicRetentionOffer:void 0,allAccessRetentionOffer:void 0}}},ep=(e,t)=>{let r=d.get("OPTIMIZELY_MULTI_VARIANT_CANCEL_OFFER_ID","");if("none"===r||""===r)throw Error("Multi variant cancel offer id set to none or empty string");let a=e.find(e=>e?.gizmoProductId===r);if(!a)throw Error(`Error retrieving retention multi variant cancel offer. Valid transition or product do not set. Subscription product id: ${t}`);return{basicRetentionOffer:b(a)?a:void 0,allAccessRetentionOffer:y(a)?a:void 0}},ef=(e,t)=>!!e&&e.includes(t),eg=({sku:e,details:{scheduleDetails:t}={},nextBillDateMillis:r},a)=>{if(ef(e,a))return!0;if(t?.length>1){let{sku:e}=t.find(({startDateMillis:e})=>e===r)||{};return ef(e,a)}return!1},em=e=>ef(e,"intro_offer"),eI=e=>ef(e,"cancel_offer");e.exports={formatPrice:B,processEditorialVariables:V,frequencyTitle:z,billingIntervalText:e=>e&&("day"!==e?`${e}ly`:"daily"),formatProductData:ee,formatAmount:(e,t,r)=>e&&t&&r?`${new Intl.NumberFormat("en-US",{style:"currency",currency:e}).format(t)}/${r.interval}`:"",productType:v,intervals:I,baseProductTabs:E,numberWords:m,subCardWrapperVariation:{DEFAULT:"subscription-card-wrapper",RADIO:"subscription-card-wrapper_radio",GROUPED_PRODUCTS:"subscription-card-wrapper_grouped-products"},isBasicSubscription:b,isAllAccessSubscription:y,isBasicRetentionEnabled:()=>d.get("ENABLE_BASIC_RETENTION",!1),isBasicMultiOfferRetentionEnabled:()=>d.get("ENABLE_BASIC_MULTI_OFFER_RETENTION",!1),isAllAccessRetentionEnabled:()=>d.get("ENABLE_ALL_ACCESS_RETENTION",!1),isCancelSurveyEnabled:()=>d.get("ENABLE_CANCEL_SURVEY",!1),filterProductsByBillingInterval:et,generateSubscriptionCardData:en,filterPaidProducts:(e,t,r,a,n,i)=>{let l,o;if(!e)return[];let u=e[t],d=[],c=U();return r.forEach(e=>{let t=!!i&&i.find(t=>t.offerProductId===e),r=t?el(u,t.offerProductId,t.fullPriceProductId):null,a=t?r?.productId:e,n=r?.product||u.find(e=>e.gizmoProductId===a);n&&(c||n?.universalProductIndicator!==h.ALL_ACCESS)&&d.push(n)}),a?.length?l=a.flat().reduce((e,{productList:r=[]})=>(r.forEach(({productId:r,productIdUS:a,productIdCA:n,isOfferProduct:i,fullPriceProductId:l,setAsDefaultProduct:d,priceDescriptionText:c,priceBadgeText:s,productPerks:p,productOnboardingRedirect:f})=>{let g={usProducts:a,ukProducts:r,caProducts:n}[t]??r,m=i?el(u,g,l):null,I=i?m?.productId:g;I&&(e[I]={priceDescriptionText:c,priceBadgeText:s,productPerks:p,productOnboardingRedirect:f}),d&&(o=g)}),e),{}):Array.isArray(n)&&(l=n.reduce((e,{productId:t,priceDescriptionText:r,priceBadgeText:a,productPerks:n,productOnboardingRedirect:i})=>(e[t]={priceDescriptionText:r,priceBadgeText:a,productPerks:n,productOnboardingRedirect:i},e),{})),ee(d,l,null,o)},filterSubscriptions:(e=[])=>{let{active:t=[],canceled:r=[],terminated:a=[]}=e.reduce((e,t)=>{let r=t.status.toLowerCase(),a=$.ACTIVE;return r===$.CANCELED?a=$.CANCELED:r===$.TERMINATED&&(a=$.TERMINATED),e[a]=e[a]?[...e[a],t]:[t],e},{}),n=[...t,...r];if(!M()||n.length)return n;let i=a.filter(({universalProductIndicator:e})=>e!==h.UK_LIVE).sort((e,t)=>t.terminationDateMillis-e.terminationDateMillis)[0];return i?[i]:[]},resolveOfferProductsAndLegalLanguage:er,getRadioProductDataByBillingInterval:function(e,t,r,a,n,i){let l=[],o={},u=e||{},d=Array.isArray(u.radioProducts)?u.radioProducts:[],{monthlyLegalLanguage:c,annualLegalLanguage:s,offerResolutions:p}=er(d,t,{monthlyLegalLanguage:r,annualLegalLanguage:a,monthlyOfferLegalLanguage:n,annualOfferLegalLanguage:i},{isOfferField:"isRadioOfferProduct",offerProductIdField:"radioProductId",fullPriceProductIdField:"fullPriceRadioProductId"});d.forEach(e=>{let t=e.isRadioOfferProduct,r=t?p.get(e.radioProductId):null,a=t?r?.regionallyAvailableProductId:e.radioProductId;a&&(l.push({productId:a,cardTitle:u.cardTitle,legalLanguage:u.legalLanguage,radioSelectedProduct:e.radioSelectedProduct}),e.radioValueBadge&&(o[a]={priceBadgeText:e.radioValueBadge}))});let f=et(l,t),g=[...f.annual.products,...f.monthly.products],m=g.find(e=>e.radioSelectedProduct)?.productId;return{radioOptions:ee(g,o,m).map(e=>{let t="*";e.intervalOfferText?t=` ${e.intervalOfferText}*`:eI(e.value)&&(t="");let r=e.introPrice?`${e.formattedCost}${e.introPrice}${e.intervalText}${t}`:`${e.formattedCost}/${e.billingInterval}`;return{...e,labelSubtext:r}}),productId:m,subCardData:{...u,cardVariation:"radio"},disclaimers:[{text:c,interval:I.MONTH.value},{text:s,interval:I.YEAR.value}]}},getProductCardsByBillingInterval:function(e,t,r,a,n,i){let l=Array.isArray(e)?e:[],{monthlyLegalLanguage:o,annualLegalLanguage:u}=er(l,t,{monthlyLegalLanguage:r,annualLegalLanguage:a,monthlyOfferLegalLanguage:n,annualOfferLegalLanguage:i},{isOfferField:"isOfferProduct",offerProductIdField:"productId",fullPriceProductIdField:"fullPriceProductId"}),d=et(l,t);return[{name:I.MONTH.value,cards:ea(d.monthly.products),disclaimer:o},{name:I.YEAR.value,cards:ea(d.annual.products),disclaimer:u}]},hasAllAccessProductByUPI:(e,t)=>{if(!Array.isArray(e)||2!==e.length)return!0;let r=e=>y(t.find(t=>t.gizmoProductId===e));return e.some(e=>r(e.productId)||e.groupedProducts?.some(e=>r(e.groupedProductId))||e.radioProducts?.some(e=>r(e.radioProductId)))},generateIntervalText:Z,getIntervalLengthDiff:(e,t,r)=>{let a=new Date(t),n=new Date(r),i=n.getMonth()-a.getMonth(),l=n.getFullYear()-a.getFullYear(),o=i+12*l;return"year"===e&&i{let{formattedCost:a}=e,{intervalText:n,intervalOfferText:i}=Z(e),l=r&&Q(e);return{...e,labelSubtext:a,intervalText:`/${n}`,intervalOfferText:i,renewalText:l||null,linkText:t||null}},generateRenewalText:Q,getRegionalCopy:p,getRenewalTextParams:q,getRegionFromProduct:X,isPaywallEnabled:e=>{let t={[R.METERED]:"METERED_PAYWALL_FEATURE_ENABLED",[R.EXCLUSIVE]:"SUB_ONLY_PAYWALL_FEATURE_ENABLED"};return d.get("PAYWALL_FEATURE_ENABLED")&&(!e||d.get(t[e]))},getStorefrontType:w,getDeviceType:(e={})=>{let{storefrontId:t}=e,{deviceTypes:r={}}=x[w(e)]||{};return r[t]||{type:"web",storeText:"Browser"}},paywallTypes:R,getPhasedBillingIntervals:e=>e.sort((e,t)=>e.phaseNumber-t.phaseNumber).map(e=>e.billingPeriod?.interval),getCurrentPhaseNumber:e=>{if(!Array.isArray(e)||0===e.length)return null;let t=Date.now(),r=[...e].sort((e,t)=>(e.startDateMillis||0)-(t.startDateMillis||0)),a=r[0];for(let e of r)(e.startDateMillis||0)e?.terminationDate?f(e.terminationDate,t):null,generateManageSubscriptionData:j,generateSubscriptionCardAriaDescription:function(e){let{formattedIntroPrice:t,formattedPrice:r,billingInterval:a,intervalText:n,intervalOfferText:i,valueBadgeText:l,showValueBadge:o}=e;return t?`${r} per ${a}, with intro offer at ${t}${n}${i?` ${i}`:""}${o&&l?`, ${l}`:""}`:`${r} per ${a}`},transformSubDetails:({scheduleDetails:e})=>{let{introData:t,baseData:r,longTermData:a}=Y(e);return{introSubData:t,baseSubData:r,longTermSubData:a}},isUkLiveSubscription:e=>A(e,h.UK_LIVE),UPI:h,TRANSITION_TYPES:{DEFERRED:"DEFERRED",IMMEDIATE:"IMMEDIATE"},currencyToRegionMap:_,regionToCurrencyMap:L,RENEW_PATH_BY_REGION:{US:"renew",CA:"renew-ca",UK:"renew-uk"},manageAppSubTextMap:x,transformPhases:W,generateWelcomeOffer:e=>{let t=g.find(e=>"cnn_subs_welcome_offer_monthly"===e.gizmoProductId),{basePriceData:r,introPriceData:a}=W((e||t).phases);return{price:B(a.price,a.currency),length:`/${a.billingInterval} for ${a.cycles} ${a.billingInterval}s`,standard:`Then just ${B(r.price,r.currency)}/${r.billingInterval}`}},isUpgradeRestricted:eu,isUSPromo:e=>"US"===e,formatPaymentPromotionData:e=>{let{path:t,productRegion:r,region:a,type:n,productGroups:i,bypassEntitlementsGroups:l,...o}=e,u=r||a||n,d=C(u);d.promoIdField;let c=[],s=[],p=[];i?.length?i.forEach(({productList:e=[]})=>{e.forEach(e=>{let t=e[d.promoIdField]||e.productId;e.isOfferProduct&&s.push({offerProductId:t,fullPriceProductId:e.fullPriceProductId}),p.push(t)})}):c=o[d.promoIdsField]??[];let f={path:t,productIds:i?.length?p:c,region:u,bypassEntitlementsGroups:l};return s.length&&(f.offerProducts=s),f},processPaymentPromotionData:(e,t=!0)=>({productData:e,productRegion:t?C(e.region).productsBucket:"products",productIds:e.productIds}),resolveGizmoRegion:i,generateTextPromoData:(e,t)=>{let{promoText:r,legalText:a}=e,{price:n,currency:i,billingPeriod:l}=t,u=o(l,"interval",""),d=[{text:"price",value:i&&B(n,i)},{text:"frequency",value:u}],c=e=>{let t=e;return d.forEach(e=>t=t.replace(`{${e.text}}`,e.value)),t},s=r&&c(r),p=a&&c(a);return{...e,legalText:p,promoText:s}},SUB_UPGRADE_ROUTE:"sub_web_regi_onboarding",AMAZON_PVC_PROMO:"amazon_pvc",SUB_STATUS:$,isWebPurchase:ed,isNotActiveSub:ec,findExpiredCardSub:(e=[])=>e.find(e=>!ec(e)&&F(e)),isSubscriptionAccessEnded:(e={},t=Date.now())=>{let{status:r,terminationDateMillis:a}=e;return r?.toLowerCase()===$.TERMINATED||null!=a&&a{if(e.userAccountPaymentsEnabled||t){let t=[...e.upgradeProductsSelect??[],...e.upgradeProductsSelectUS??[]].join(",");t.length&&(e.productIds=t)}},createProductRadioTabContent:(e,{formatter:t}={})=>E.map(r=>{let a=e.filter(({billingInterval:e,frequency:t})=>e===r.name||t===r.name);return t&&(a=a.map(t)),a=eo(a),{...r,radioOptions:a}}),getSelectedProductInterval:e=>e.find(({selected:e})=>e)?.billingInterval,getOnboardingDisclaimers:(e,t)=>{if(!Array.isArray(e)||!e.length)return[];let r={month:{offer:"monthlyOfferDisclaimer",fullPriced:"monthlyDisclaimer"},year:{offer:"annualOfferDisclaimer",fullPriced:"annualDisclaimer"}},a=[];return e.forEach(({billingInterval:e,value:n,introPrice:i,formattedCost:l,productType:o,availabilityEndTime:u})=>{let d=o===v.WELCOME_OFFER||em(n),c=t[r[e]?.[d?"offer":"fullPriced"]];if(c){let r={introPrice:i,fullPrice:l,offerEndDate:f(u,t.region)};a.push({interval:e,text:V(r,c)})}}),a},getOnboardingPathOverride:e=>{let t=e.find(({selected:e})=>e);if(t)return t.dataAttrs?.find(({name:e})=>"product-onboarding-redirect"===e)?.val},getRetentionOffers:es,getRetentionOfferToDisplay:({isAllAccessSub:e,basicRetentionOffer:t,allAccessRetentionOffer:r})=>e?r:t||r,getRetentionOfferDiscount:(e,{cmsFallback:t=""}={})=>e?.metadata?.discount||t,isRetentionOffer:eI,hasRetentionOffer:e=>eg(e,"cancel_offer"),isIntroOffer:em,getCrossIntervalOfferPrices:({products:e,offerType:t}={})=>{let r={monthly:null,monthlyIntro:null,annual:null,annualIntro:null};return e.forEach(e=>{if(!ef(e.gizmoProductId,t)||!e.phases?.length)return;let{basePriceData:a,introPriceData:n}=e.phaseData,{billingInterval:i,formattedPrice:l}=a;"month"===i?(r.monthly=l,r.monthlyIntro=n?.formattedPrice):"year"===i&&(r.annual=l,r.annualIntro=n?.formattedPrice)}),r},resolveActiveProduct:el,hasExpiredOfferProduct:(e,t)=>e.some(({gizmoProductId:e,availabilityEndTime:r})=>t.includes(e)&&!!r&&ei(r)),getIntroDiscountBadgeText:e=>{let t=e?.phases?.find(({cycles:e})=>Number(e)>0)?.price,r=e?.phases?.find(({cycles:e})=>0===Number(e))?.price;return!Number.isFinite(t)||!Number.isFinite(r)||r=r?"":`${Math.round((r-t)/r*100)}% OFF`},generateSubCardWrapperMVPDHTML:function({hash:e}){let{helpText:t,helpLinkText:r}=e;return`${t}${r} `},isHorizonEnabled:U,isSubscriptionRenewEnabled:M,getGroupedProductsData:function(e,t,r,a,n,i){let l=Array.isArray(e)?e:[],{monthlyLegalLanguage:u,annualLegalLanguage:d,offerResolutions:c}=er(l,t,{monthlyLegalLanguage:n,annualLegalLanguage:r,monthlyOfferLegalLanguage:i,annualOfferLegalLanguage:a},{isOfferField:"isGroupedOfferProduct",offerProductIdField:"groupedProductId",fullPriceProductIdField:"fullPriceGroupedProductId",nestedItemsPath:"groupedProducts"});return{cards:l.map(e=>{let r=(e.groupedProducts||[]).flatMap(t=>{let r=t.isGroupedOfferProduct,a=r?c.get(t.groupedProductId):null,n=r?a?.regionallyAvailableProductId:t.groupedProductId;if(!n)return[];let i=r&&n!==t.groupedProductId;return[{...t,productId:n,benefitsList:e.benefitsList,cardTitle:e.cardTitle,cardVariation:"grouped-products",...i&&{productShowValueBadge:!1,productValueBadgeText:"",productPriceDescription:""}}]}),a=et(r,t),n=[...a.annual.products,...a.monthly.products],i=n.map(e=>({...e,...en(e,{})}));return{productId:o(r,"[0].productId")||o(n,"[0].productId"),subCardData:{...e,cardVariation:"grouped-products"},groupedProducts:i}}),annualLegalLanguage:d??"",monthlyLegalLanguage:u??""}},isDaltonSupportedRegion:O,getRegionProducts:(e,t)=>e?.[C(t).productsBucket]||[],getTaxSuffix:e=>G.includes(e)?"":" plus applicable tax",isCardExpired:F,PRODUCT_ID_FIELDS:S}}}]); /* window.modules["42"] */ "use strict";(self.modules=self.modules||[]).push([["42"],{42:(e,t,r)=>{let{authClient:a,getPreAuthEntitlements:i,checkEntitlementsForAccess:n,needsUkAllAccessConsent:l}=r("35"),{getGeoCountry:o,getGeoState:s,getGeoDataCookie:c}=r("9"),{currencyToRegionMap:u,isAllAccessSubscription:d,getCurrentPhaseNumber:g}=r("41"),{parseJSON:E}=r("30"),y=r("23"),p=r("31").setup({file:"/index.js"}),C={GB:"UK"},m="cnn_nav_pmt_status",D=["VT"],S=e=>D.includes(e?.toUpperCase()),f=async()=>{let{preAuthorizedEntitlements:e=[]}=await i(a.getToken(),!1);return n(e,["allAccess"]).allAccess},w=async()=>{let{preAuthorizedEntitlements:e=[]}=await i(a.getToken(),!1);return n(e,["ukLive"]).ukLive},h=async e=>!!y.get("UK_LIVE_TOS_UPDATE_ENABLED",!1)&&await w()&&l(e),T=async()=>{let{preAuthorizedEntitlements:e=[]}=await i(a.getToken(),!1),{readOnly:t,allAccess:r}=n(e,["readOnly","allAccess"]);return!r&&t},_=e=>{if(!e)return;let t=String(e).toUpperCase();return C[t]||t},A=e=>{if(e)return String(e).toUpperCase()},U=(e={})=>{let{country:t,state:r}=e.card||{},a=e.currency||e.details?.scheduleDetails?.[0]?.currency;return{region:_(t)||_(u[a])||_(o()),state:A(r)||A(s())}},v={DEFERRED:"DEFERRED",IMMEDIATE:"IMMEDIATE"},N=(e,t)=>{let r=new Date(e);return r.setUTCFullYear(r.getUTCFullYear()+t),r.getTime()},I=e=>{if(e.billingPeriod?.interval==="year")return!0;let t=g(e.details?.scheduleDetails);return t?.billingPeriod?.interval==="year"},M=(e={})=>{let t=(e.details?.scheduleDetails||[]).filter(e=>e.billingPeriod?.interval==="year"&&Number.isFinite(e.startDateMillis)).map(e=>e.startDateMillis);return t.length?Math.min(...t):Number.isFinite(e.purchaseDateMillis)?e.purchaseDateMillis:void 0};e.exports={isAllAccessSubscriber:f,isUkLiveSubscriber:w,needsUkLiveTosConsent:h,isReadOnlySubscriber:T,verifySubIdFormat:e=>"string"==typeof e&&e.length{let a={},i=!0;try{a=JSON.parse(t||"{}")}catch(e){i=!1,p("error",`Error parsing localized ${r} copy`,e)}let{region:n}=U(e),l=a[n]||a.US;return i&&(l?n&&!a[n]&&p("error",`No ${r} copy for region ${n}, falling back to US`):p("error",`No ${r} copy for ${n||"an unknown region"} and none for US`)),l||{}},getCancelSurveyEntryId:e=>"string"==typeof e?e:e?.id,getCancellationType:(e={},t=Date.now())=>{let{DEFERRED:r,IMMEDIATE:a}=v;if(!I(e))return r;let{region:i,state:n}=U(e);if("CA"===i&&"QC"===n)return a;if(!d(e))return r;let l=M(e),o=void 0!==l,s=o&&t{let{region:e,country:t}=c()||{country:_(o()),region:A(s())};return!t||"US"===t&&!e||"US"===t&&S(e)},getCachedExpiredPaymentCheck:()=>{let e=E(window.localStorage.getItem(m),!0),t=e&&Date.now()-e.timestamp;return e&&t{window.localStorage.setItem(m,JSON.stringify({showNotification:e,timestamp:Date.now()}))},clearCachedExpiredPaymentCheck:()=>{window.localStorage.removeItem(m)}}}}]); /* window.modules["43"] */ "use strict";(self.modules=self.modules||[]).push([["43"],{43:(e,t,a)=>{let{usPromoProducts:n,caPromoProducts:l,ukPromoProducts:r,paywallOfferTypes:o}=a("643"),i='Terms of Use',s=(e,t,a)=>{if(null==e||""===e)return"";let n=new Date(e);if(Number.isNaN(n.getTime()))return"";let{locale:l,...r}=(b[t]||b.US).dateFormat;return new Intl.DateTimeFormat(l,{...r,...a?{timeZone:a}:{}}).format(n)},c='Auto-renews unless cancelled. Cooling off and refund rights lost if you request immediate access. Cancel in Settings. Access retained until end of billing period. Contains ads. Supported devices.',u=e=>{let t=s(e?.availabilityEndTime,"UK","UTC");return t?`${c}*Discount off full price which will apply on ${t}. After first year, auto-renews at then-current full price. New subscribers only. Cannot be combined with other offers.`:c},y={US:"US",GB:"UK",CA:"CA"},h=Object.values(y),p={subscribe:"/subscription",subscribeAllAccess:"/subscription/all-access",subscribeBasic:"/subscription/basic"},d={expressCheckoutPlaceholderText:"Subscribe with",expressCheckoutButtonType:"subscribe"},b={US:{region:"US",dateFormat:{locale:"en-US",year:"numeric",month:"numeric",day:"numeric"},regionalLanguage:{meterSubtext:"You're out of free articles.",exclusiveSubtext:"This article is for subscribers only.",defaultSubtextPrompt:"Get unlimited access for less than $1/week.",basicSubtextPrompt:"Unlock unlimited articles with the Basic plan for less than $1/week.",allAccessSubtextPrompt:"Get unlimited articles, plus streaming, shows & films, and more now."},accountPaths:{loginPromoPath:"paywall",regPromoPath:"paywall",paymentPath:"/account/payment/subscription"},marketingPage:"subscribe",promoProducts:n,regionalCopy:{},legalLanguage:{default:"By subscribing, you agree your plan will automatically renew on a recurring basis at the then-current price (now {cost}/{interval} plus applicable tax) unless you cancel before the renewal date. Cancel in Settings.",offer:"By subscribing, you agree that after your discount ends, your subscription price will convert to the then-current full price (now {cost}/{interval} plus applicable tax) unless you cancel before the conversion and will then automatically renew on a recurring basis unless cancelled before the next billing period. To cancel go to Settings. Subscription fees are non-refundable.",paywallExpressCheckoutOffer:"By subscribing, you agree that after your discount ends, your subscription price will convert to the then-current full price (now {cost} + applicable tax) unless you cancel before the conversion and will then automatically renew on a recurring basis unless cancelled before the next billing period. To cancel, go to Settings. Subscription fees are non-refundable.",watchPaywall:{[o.WELCOME]:{annual:"*Ends Aug. 24th, 2026. Valid in the U.S. only for new All Access Annual plan subscribers via cnn.com & participating providers. $41.99 billed immediately. Discount for first year only. After that, plan automatically renews yearly at then-current full price (now $69.99 plus applicable tax) unless cancelled. Discount subject to change and cannot be used with other offers. Switching plans will void discount. Content may vary from CNN TV.",monthly:"US only. All Access video content may vary from CNN TV."},[o.NYE]:{annual:"Ends May 27, 2026. Valid in the U.S. only for new All Access Annual plan subscribers via cnn.com & participating providers. $34.99 billed immediately. Discount for first year only. After that, plan automatically renews yearly at then-current full price (now $69.99 plus applicable tax) unless cancelled. Discount subject to change and cannot be used with other offers. Switching plans will void discount. Content may vary from CNN TV.",monthly:"US only. All Access video content may vary from CNN TV."},DEFAULT:{annual:"US only. All Access video content may vary from CNN TV.",monthly:"US only. All Access video content may vary from CNN TV."}}},disclaimerConfig:{[o.ANNUAL_INTRO_OFFER]:{renewalText:"*Ends Aug. 24th, 2026. Cannot be combined with other offers. Content may vary from CNN TV."},[o.ANNUAL_NO_OFFER]:{renewalText:"US only. All Access video content may vary from CNN TV."},[o.NYE]:{renewalText:"*Ends May 27th, 2026. Cannot be combined with other offers. Content may vary from CNN TV."}}},CA:{region:"CA",dateFormat:{locale:"en-CA",year:"numeric",month:"short",day:"numeric"},regionalLanguage:{meterSubtext:"You're out of free articles.",exclusiveSubtext:"This article is for subscribers only.",defaultSubtextPrompt:"Unlock unlimited articles with the Basic plan.",basicSubtextPrompt:"Unlock unlimited articles with the Basic plan.",allAccessSubtextPrompt:"Get unlimited articles, plus streaming, shows & films, and more now."},accountPaths:{loginPromoPath:"subscription-ca",regPromoPath:"subscription-ca",paymentPath:"/account/payment/subscription-ca"},marketingPage:"subscribe",promoProducts:l,regionalCopy:{},legalLanguage:{default:`By subscribing, you agree to the ${i} and that your plan will automatically renew each {interval} at the then-current price (now {cost}/{interval} plus applicable tax) unless you cancel before the next billing date. Cancel in Settings.`,offer:`By subscribing, you agree to the ${i} and that after your discount ends, your subscription price will convert to the then-current full price (now {cost}/{interval} plus applicable tax) unless you cancel before the conversion, and will then automatically renew each {interval} unless cancelled before the next billing date. Cancel in Settings.`,paywallExpressCheckout:`By subscribing, you agree to the ${i} and that your plan will automatically renew each {interval} at the then-current price (now {cost}/{interval} plus applicable tax) unless you cancel before the next billing date. Cancel in Settings.`,watchPaywall:{DEFAULT:{annual:"TBD_CA_ANNUAL_LEGAL",monthly:"TBD_CA_MONTHLY_LEGAL"},[o.ANNUAL_INTRO_OFFER]:{annual:"TBD_CA_ANNUAL_INTRO_LEGAL",monthly:"TBD_CA_MONTHLY_LEGAL"}}},disclaimerConfig:{}},UK:{region:"UK",dateFormat:{locale:"en-GB",year:"numeric",month:"2-digit",day:"2-digit"},regionalLanguage:{meterSubtext:"You're out of free articles.",exclusiveSubtext:"This article is for subscribers only.",defaultSubtextPrompt:"Get unlimited articles, plus streaming, shows & films, and more now.",allAccessSubtextPrompt:"Get unlimited articles, plus streaming, shows & films, and more now."},accountPaths:{loginPromoPath:"subscription-uk",regPromoPath:"subscription-uk",paymentPath:"/account/payment/subscription-uk"},marketingPage:"subscribeAllAccess",promoProducts:r,regionalCopy:{expressCheckoutPlaceholderText:"Pay with",expressCheckoutButtonType:{googlePay:"pay",applePay:"plain"}},legalLanguage:{default:`Your plan will automatically renew each {interval} at the then-current price (now {cost}/{interval}) unless you cancel before renewal. If you cancel, you will have access until the end of your billing period.By paying, you agree to the ${i} and that your subscription will start immediately and that you will lose any statutory right to a refund if you cancel during the cooling off period.`,offer:`After your discount ends, your plan will automatically renew each {interval} at the then-current full price (now {cost}/{interval}) unless you cancel before renewal. If you cancel, you will have access until the end of your billing period.By paying, you agree to the ${i} and that your subscription will start immediately and that you will lose any statutory right to a refund if you cancel during the cooling off period.`,paywallExpressCheckoutOffer:`You will be charged {introPricing} for the first {interval}. After your discount ends, your plan will automatically renew each {interval} at the then-current full price (now {cost}/{interval}) unless you cancel before renewal. If you cancel, you will have access until the end of your billing period. By paying, you agree to the ${i} and that your subscription will start immediately and that you will lose any statutory right to a refund if you cancel during the cooling off period.`,ukLive:"Your plan will automatically renew each {interval} at the then-current price (now {cost}/{interval}) unless you cancel before the renewal date. If you cancel before renewal, you will have access until the end of your current billing period. To cancel, go to your CNN account settings.",watchPaywall:{DEFAULT:{annual:"TBD_UK_ANNUAL_LEGAL",monthly:"TBD_UK_MONTHLY_LEGAL"}}},disclaimerConfig:{[o.ALL_ACCESS_NO_OFFER]:{renewalText:c},[o.ANNUAL_INTRO_OFFER]:{renewalText:u},[o.WELCOME]:{renewalText:u}}}};e.exports={GEO_TO_REGION:y,getSubscribeUrlPath:function(e,{page:t="subscribeAllAccess"}={}){return h.includes(e)&&p[t]?"UK"===e?p.subscribeAllAccess:p[t]:null},CONFIG_BY_REGION:b,getRegionalCopy:e=>({...d,...b[e]?.regionalCopy||{}}),formatRegionalDate:s,hasIntroPriceFootnoteMarker:e=>"string"==typeof e&&/(^|\s|>)\*[A-Za-z]/.test(e)}}}]); /* window.modules["46"] */ "use strict";(self.modules=self.modules||[]).push([["46"],{46:I=>{let e={ACTIVE:"active",INACTIVE:"inactive",MEDIUM:"medium",SMALL:"small"};Object.freeze(e),I.exports={EnumDotType:e,getDotStyle:(I,E,M)=>{let A=e.SMALL;return ME?I===E+1&&(A=e.MEDIUM):I=E-2?A=e.INACTIVE:I===E-3&&(A=e.MEDIUM):A=e.ACTIVE,A)}}}}]); /* window.modules["47"] */ "use strict";(self.modules=self.modules||[]).push([["47"],{47:(t,e,n)=>{let{v4:r}=n("173"),o=n("23"),i=n("13"),{getUserHistory:l}=n("602"),{getZaid:a}=n("9"),{CONTENT_RECS_API_PERSONALIZE:u,formatTenantId:s,getThumbnailUrl:d,buildRequestBody:_,getRecommendations:c,getMainVideoStellarId:N}=n("326"),{getProxyRequestParams:T}=n("297"),{fetchContents:E}=n("273"),f={relatedContent:o.get("CONTENT_RECS_RELATED_TENANT_ID"),personalizedContent:o.get("CONTENT_RECS_PERSONALIZED_TENANT_ID"),popularContent:o.get("CONTENT_RECS_POPULAR_TENANT_ID"),trendingContent:o.get("CONTENT_RECS_TRENDING_TENANT_ID"),homepageModule:o.get("CONTENT_RECS_HOMEPAGE_TENANT_ID"),watchNextPopular:o.get("CONTENT_RECS_WATCHNEXT_POPULAR_TENANT_ID"),watchNextTrending:o.get("CONTENT_RECS_WATCHNEXT_TRENDING_TENANT_ID"),watchNextRelated:o.get("CONTENT_RECS_WATCHNEXT_RELATED_TENANT_ID"),watchNextPersonalized:o.get("CONTENT_RECS_WATCHNEXT_PERSONALIZED_TENANT_ID")};function h({tenantId:t,mainVideoUri:e,numberOfItems:n,surface:r="watch-next",dedupe:o=!1}){let i=_({numberOfItems:n,contentTypes:["video"],tenantId:t,includeHistory:!0,surface:r,dedupe:o,customSuffix:"web",throwIfMissingZaid:!1});if(e){let t=N(e);Array.isArray(i.user.lifetime_history)||(i.user.lifetime_history=[]),i.user.lifetime_history.push({stellar_id:t})}return c(i)}let C=o.get("LIVESTORY_CLIENT_KEY_CONTENT_API",""),g=o.get("LIVESTORY_HOSTS_CONTENT_API",{}),p=o.get("WATCHNEXT_FALLBACK_PATH","");function m(t){if(!t||!t._ref)return null;let e=t._ref,n=e.match(/(\/_{1,2}components\/.+)/),r=btoa(n?n[1]:`/_components/${e.split("/_components/")[1]}`),o=t.thumbnail?.[0]?.url||t.thumbnails?.[0]?.url||"",i=t.canonicalUrlPath||"";return{stellar_id:r,url:i?`${window.location.origin}${i}`:"",headline:t.headline||"",description:t.description||"",durationLabel:t.duration||" ",source:t.source||"",thumbnail:o?d(o):""}}async function A(){let t=function(){if(g.all)return`https://${g.all}`;let t="undefined"!=typeof document?document.querySelector("html")?.getAttribute("lang"):null;if(t&&g[t])return`https://${g[t]}`}();if(!p||!C||!t)throw Error("Video playlist fallback not configured");let{url:e,headers:n,parser:r}=T(p,C,t,"json");if(!e)throw Error("Video playlist fallback: unable to build proxy request");let{data:o}=await E(e,{headers:n,attempt:0,maxRetryCount:1,parser:r,getRetryDelay:()=>5e3});if(!o?.videos?.length)throw Error("Video playlist fallback: empty response");let i=o.videos.map(m).filter(Boolean);if(!i.length)throw Error("Video playlist fallback: no valid videos after transform");return{recommendations:i}}t.exports={getRelatedContent:function(t,e,n,r=!1,o=f.relatedContent){return c(_({numberOfItems:t,tenantId:o,includeHistory:!0,surface:n,dedupe:r}))},getPersonalizedContent:function({numberOfItems:t,contentTypes:e,sections:n=[],surface:r,dedupe:o=!1,tenantId:i=f.personalizedContent}){return c(_({numberOfItems:t,contentTypes:e,sections:n,tenantId:i,includeHistory:!0,surface:r,dedupe:o}))},getPopularContent:function({numberOfItems:t,contentTypes:e,sections:n=[],surface:r,dedupe:o=!1,tenantId:i=f.popularContent}){return c(_({numberOfItems:t,contentTypes:e,sections:n,tenantId:i,includeHistory:!1,surface:r,dedupe:o}))},getTrendingContent:function({numberOfItems:t,contentTypes:e,sections:n=[],surface:r,dedupe:o=!1,tenantId:i=f.trendingContent}){return c(_({numberOfItems:t,contentTypes:e,sections:n,tenantId:i,includeHistory:!0,surface:r,dedupe:o}))},getHomepagePersonalizedContent:function(t,e){let n=`${f.homepageModule}.web`,o={request_id:`ml-manual-${r()}`,tenant_id:n,requested_recommendation_count:e,user:{user_agent:window.navigator.userAgent,zaid:a({throwIfMissing:!0}),lifetime_history:l()},candidate_pool:t.map(t=>({stellar_id:t}))};return i.post(u,o).then(({error:t,tenant_id:e,recommendations:r})=>{if(t)throw Error(`Recommendations fetch failed! Error: ${t}`);if(!Array.isArray(r)||r?.length({stellarId:t,score:e})),isFallbackResult:e!==n,tenantId:e,model:f.homepageModule}})},formatTenantId:s,getThumbnailUrl:d,getTrendingWatchNextContent:function(t){let e=f.watchNextTrending;return h({...t,tenantId:e})},getPopularWatchNextContent:function(t){let e=f.watchNextPopular;return h({...t,tenantId:e})},getRelatedWatchNextContent:function(t){let e=f.watchNextRelated;return h({...t,tenantId:e})},getPersonalizedWatchNextContent:function(t){let e=f.watchNextPersonalized;return h({...t,tenantId:e})},getVideoPlaylistFallback:A}}}]); /* window.modules["48"] */ "use strict";(self.modules=self.modules||[]).push([["48"],{48:(n,e,t)=>{let i=t("648"),o=t("75"),{dispatch:d,subscribe:l,reset:u}=t("649");n.exports={ClientModel:i,actions:o,dispatch:d,subscribe:l,reset:u,initializeOnLoad(n){function e(e){window.addEventListener("load",function(){new n(e)})}return e.model=n,e},initializeOnExec(n){function e(e){new n(e)}return e.model=n,e},initializeOnDOMContentLoaded(n){function e(e){window.addEventListener("DOMContentLoaded",function(){new n(e)})}return e.model=n,e}}}}]); /* window.modules["49"] */ "use strict";(self.modules=self.modules||[]).push([["49"],{49:(e,r,s)=>{let{authClient:t}=s("35"),a=s("23"),{actions:n,dispatch:o}=s("48"),{get:E}=s("13"),c=s("31").setup({file:"/index.js"}),{addScriptTag:i}=s("9"),R=[],N={},T={},l={LOGIN:"LOGIN",LOOKUP:"LOOKUP",NEWSLETTERS:"NEWSLETTERS",REGISTRATION:"REGISTRATION",PAYMENT:"PAYMENT",PWRESET:"PWRESET",VERIFICATION:"VERIFICATION"},A={[l.LOGIN]:"",[l.LOOKUP]:"",[l.NEWSLETTERS]:"",[l.REGISTRATION]:"",[l.PAYMENT]:"",[l.PWRESET]:"",[l.VERIFICATION]:""},d={[l.LOGIN]:{srcEnvVar:"ARKOSE_LOGIN_SRC",callbackFnName:"setupArkoseLogin",id:"login-arkose-script"},[l.LOOKUP]:{srcEnvVar:"ARKOSE_LOOKUP_SRC",callbackFnName:"setupArkoseLookup",id:"lookup-arkose-script"},[l.NEWSLETTERS]:{srcEnvVar:"ARKOSE_NEWSLETTERS_SRC",callbackFnName:"setupArkoseNewsletters",id:"arkose-newsletters-script"},[l.REGISTRATION]:{srcEnvVar:"ARKOSE_REGISTRATION_SRC",callbackFnName:"setupArkoseReg",id:"registration-arkose-script"},[l.PAYMENT]:{srcEnvVar:"ARKOSE_REGISTRATION_SRC",callbackFnName:"setupArkosePayment",id:"payment-arkose-script"},[l.PWRESET]:{srcEnvVar:"ARKOSE_REGISTRATION_SRC",callbackFnName:"setupArkoseResetPassword",id:"reset-password-arkose-script"},[l.VERIFICATION]:{srcEnvVar:"ARKOSE_LOGIN_SRC",callbackFnName:"setupVerificationArkose",id:"arkose-user-verification-script"}},O=async e=>{let r=a.get("ENABLE_ARKOSE_DATA_EXCHANGE"),s=A[e];if(!s&&r){let r={use_case:e||"",referer:window.location.href,selected_site:"cnn"};try{let{data:a}=await t.getDataExchange(r);A[e]=a,s=a}catch(e){c("error",e.message,{stack:e.stack})}}return s},S=async({enforcementConfig:e,setBy:r,useCase:s,enforcement:t,isMultiUse:a})=>{let E=setTimeout(()=>{o(n.ARKOSE.SCRIPT_LOAD_FAILED)},15e3),{onReady:c,onCompleted:i}=e;T[s]=0;let R=await O(s);t?.setConfig({...e,data:R&&{blob:R}||{},onReady:()=>{clearTimeout(E),c({enforcement:t})},onCompleted:i,onError:async()=>{clearTimeout(E),await C({enforcementInstance:t,useCase:s,retryTimes:T[s]})}}),a&&window.arkoseEnforcementCNN?.sharedEnforcements[s]&&(window.arkoseEnforcementCNN.sharedEnforcements[s].setBy=r)},I=async e=>{let{enforcementConfig:r,useCase:s,isMultiUse:t,setBy:a}=e,n=d[s],{callbackFnName:o,id:E}=n||{};!r||!o||document.getElementById(E)||void 0!==window[o]||(t&&(window.arkoseEnforcementCNN||(window.arkoseEnforcementCNN={}),window.arkoseEnforcementCNN.sharedEnforcements||(window.arkoseEnforcementCNN.sharedEnforcements={})),window[o]=async r=>{t&&(window.arkoseEnforcementCNN.sharedEnforcements[s]={enforcement:r,setBy:a}),await S({...e,enforcement:r})},u(n))},m=async e=>{let{useCase:r,setBy:s,resetOnReady:t}=e,a=(window.arkoseEnforcementCNN?.sharedEnforcements||{})[r],n=a?.setBy!==s;if(a&&n){let{enforcement:r}=a;await S({...e,enforcement:r,enforcementConfig:{...e.enforcementConfig,onReady:t}}),r.reset()}return n},k=({srcEnvVar:e,callbackFnName:r,id:s})=>{let t=N[s]??0;if(3===t){f(),o(n.ARKOSE.SCRIPT_LOAD_FAILED);return}f(),u({srcEnvVar:e,callbackFnName:r,id:s}),N[s]=t+1},f=()=>{R.forEach(e=>{let r=document.getElementById(e);r&&r.remove()})},u=({srcEnvVar:e,callbackFnName:r,id:s})=>{e&&s&&r&&(i({src:a.get(e),async:!0,defer:!0,id:s,onerror:()=>{k({srcEnvVar:e,callbackFnName:r,id:s})},data:{callback:r}}),R.push(s))},w=async()=>{try{let e=await E("https://status.arkoselabs.com/api/v2/status.json");return"none"===e.status.indicator}catch(e){return c("error","Error checking arkose health: ",e),!1}},C=async({enforcementInstance:e,useCase:r,retryTimes:s=0})=>{if(e){if(await w()&&s{e.run()},500);return}o(n.ARKOSE.SCRIPT_LOAD_FAILED)}};e.exports={loadAndInitializeArkose:I,enforcementOnError:C,createArkoseScript:u,getDaexData:O,MAX_RETRY_COUNT:3,USE_CASES:l,checkIfReset:m}}}]); /* window.modules["50"] */ "use strict";(self.modules=self.modules||[]).push([["50"],{50:(e,t,n)=>{let{checkGeoCountry:o}=n("9"),{getCookie:r}=n("8"),{getQueryParam:a}=n("57"),{subscribe:c}=n("48"),{zionEventHandler:s}=n("11"),{isAmazonPvcCtvFlowEnabled:i}=n("59"),u=e=>{try{let t=decodeURIComponent(e);return/(^\/(?!\/)([A-Za-z0-9\-._~:/?#[\]@!$&'()*+,;=]*\/?))/.test(t)}catch(e){return!1}},l=e=>new URL(e,u(e)?window.location.origin:void 0),d=e=>a(l(e).searchParams,"source"),m=(e,t)=>{e&&(t?(e.setAttribute("disabled","true"),e.setAttribute("aria-disabled","true")):(e.removeAttribute("disabled"),e.removeAttribute("aria-disabled")))},p=({searchParams:e,queryParam:t,storage:n=window.sessionStorage})=>{n.setItem(t,e.get(t)),e.delete(t);let o=e.toString();return o&&`?${decodeURIComponent(o)}`},_=e=>({link_text:"amazon prime video",action:"click",component_name:"sign in",component_type:"user account",component_id:e?.closest("[data-uri]")?.dataset.uri,user_flow:"amazon pvc"});e.exports={setElementDisabled:m,setDisabledOnValidationEvent:(e,t)=>c(t,({valid:t})=>m(e,!t)),determineSource:e=>{let{prioritySource:t,defaultSource:n,promoPath:o}=e;return o&&t?`${o}__${t}`:o||t||window?.WM?.referrer||document.referrer||n},stripStoreQueryString:p,checkExperienceRestricted:({region:e,logo:t="cnn"})=>{let n="UK"===e?"GB":e,r=n&&!o(n);return r&&document.querySelector(".layout-user-account").classList.add(`layout-user-account--restricted-${t}`),r},isRelativePath:u,checkForQueryCode:({codeName:e,urlUtil:t=new URL(window.location),storage:n=window.sessionStorage})=>{let o=n.getItem(e),r=t.searchParams,a=!o&&r.get(e);if(a){let o=p({searchParams:r,queryParam:e,storage:n});window.location.assign(`${t.pathname}${o}`)}return o&&n.removeItem(e),{codeInQuery:a,storedCode:o}},suppressToasts:()=>{let e=document.querySelectorAll(".toast-popup__container");e?.length>0&&e.forEach(e=>e.style.display="none")},userAccount:(e,t)=>{"wall"===e&&document.dispatchEvent(new CustomEvent("init-wall-activation",{detail:t}))},getUrlObj:l,getSourceParam:d,clearStaleProductSelection:(e,t)=>{t.length>1&&t.forEach(t=>{let n=e.dataset.frequency.toLowerCase();t.getSelectedItem()&&t.el.dataset.name!==n&&t.clearSelection()})},revealAndUpdatePvcLink:({linkEl:e,redirectClient:t,variation:r="default",variations:a={}})=>{if(!e||!t)return;let{getRegCode:c}=n("60"),s="user-account-shared__amazon-pvc-text";if(!o("US")||r===a.RESET_SUCCESS||c()&&!i()){e.closest(`.${s}`)?.classList.add(`${s}--hide`);return}let u=t.getRedirectUrl(),m=d(window.location.href);e.setAttribute("href",t.appendParams({targetUrl:l("/account/log-in/amazon-pvc"),customParams:{..."/"!==u&&{redirect:u},...m&&{source:m}}}))},redirectToAmazonPVCLogin:({redirectClient:e,urlObj:t,viewName:n})=>{let o=t||l("/account/log-in/amazon-pvc"),r=e.appendParams({targetUrl:o,...n&&{customParams:{view:n}}});e.triggerRedirect({redirectUrl:r})},getCountryCode:()=>{try{return r("countryCode")||"US"}catch(e){return"US"}},hideUserAccountLayoutFooter:()=>{document.querySelector(".layout-user-account")?.classList.add("layout-user-account--no-footer")},getAmazonPvcLinkClickAttributes:_,trackAmazonPvcLinkClickForZion:(e,t)=>{s({href:e.href,type:"A",customAttributes:_(t)},"GenericLinkClick")},trackPVCEnterPasswordOnScreenForZion:e=>{s({component_id:e?.closest("[data-uri]")?.dataset.uri,component_type:"user account",traits:{component_name:"enter cnn password",user_flow:"amazon pvc"}},"ComponentOnScreen")},trackSignInClickForZion:e=>{s({href:window.location.href,type:"BUTTON",customAttributes:{link_text:"sign in",action:"click",component_name:"enter cnn password",component_type:"user account",component_id:e?.closest("[data-uri]")?.dataset.uri,user_flow:"amazon pvc"}},"GenericLinkClick")},trackAmazonPVCClick:(e,t)=>{s({href:window.location.href,type:"BUTTON",customAttributes:{link_text:e,action:"click",component_name:"set up cnn account",component_type:"user account",component_id:t,user_flow:"amazon pvc"}},"GenericLinkClick")},trackAmazonPVCAccountSetupScreen:e=>{s({component_type:"user account",component_id:e,traits:{component_name:"set up cnn account",user_flow:"amazon pvc"}},"ComponentOnScreen")},PROCESSING_LABEL:'Processing...'}}}]); /* window.modules["52"] */ "use strict";(self.modules=self.modules||[]).push([["52"],{52:(e,r,t)=>{let a=t("116"),o=t("123"),{authClient:i,updateAccountInfo:n}=t("35"),{paymentErrorMapping:c,resolveGizmoRegion:s}=t("40"),{getPostalCodeValidationMessage:l}=t("127"),{createAccordionItem:d}=t("108"),p=["applePay","googlePay"],u={applePay:"Apple Pay",googlePay:"Google Pay"},g=["productId","productPrice","billingInterval","productCurrency","productUpi"],m={EXPRESS:"expressCheckout",CARD:"card"},y=(e,{region:r,fallback:t=""}={})=>"incorrect_zip"===e?l(r):a(c,e,t),_=["mastercard","visa","amex"],h=["discover"],P="user-account-credit-card-fields__icons",f="user-account-credit-card-fields__icon",v={mastercard:"Mastercard",visa:"Visa",amex:"American Express",discover:"Discover",...u},b=(e,{text:r="Credit or debit card",wrapperClass:t=P,iconClassPrefix:a=f}={})=>{let o="US"===e?[..._,...h]:_;return{text:r,html:` ${o.map(e=>``).join("\n ")} `}},w=e=>{let r=` ${e.map(e=>``).join("")} `;return{text:1===e.length&&u[e[0]]||"Apple Pay or Google Pay",html:r}},S={apple_pay:{trackingId:"apple"},google_pay:{trackingId:"google"}},E={WHITE:"white",BLACK:"black"},$=e=>Object.values(E).includes(e),C=async({stripe:e,cardElement:r,owner:t})=>await e.createPaymentMethod({type:"card",card:r,billing_details:t}),I=async e=>{let{stripe:r,cardElement:t,clientSecret:a,paymentMethod:o,owner:i}=e;return await r.confirmCardSetup(a,{payment_method:o?o.id:{card:t,billing_details:i}})},x=async({stripe:e,elements:r,clientSecret:t})=>{let a=window.location.href;return await e.confirmSetup({elements:r,clientSecret:t,redirect:"if_required",confirmParams:{return_url:a}})},k=async(e,r,t,o,i)=>{try{let c=`payment_${t}_source`,l="US"===s(i)?"gizmous":"gizmo",d=a(r,`userProfileResponses.${l}.${c}`,!1),p={};r&&!d&&(p[c]=o,await n({attributes:{[l]:p}},e))}catch(e){console.error("Error retrieving user attributes:",e)}},A=({source:e,productId:r,productPrice:t,billingInterval:a,productCurrency:o,productUpi:n,isExpress:c=!1})=>({source:e,cnn_uid:i.getStoredUID(),product_id:r,price:Number(t),billing_interval:a,currency:o,universal_product_indicator:n,storefront:"gizmo-stripe",storefront_id:"gizmo",...c&&{payment_source:"stripe_digital-wallets"}}),M=(e,r,t)=>{let{errorStatus:a,stripeError:o,purchaseDateMillis:i}=r;e.error_code=a?.toString(),e.error_source=o?"stripe":void 0,e.error_message=o,e.purchase_date=i?.toString(),e.http_response=t?"success":"error"},U=async({productData:e,zionSource:r,paymentProcessor:t,paymentSource:a,cardElement:o,ownerName:i,subscriptionIdForRenewal:n,expressSetupResult:c,metadata:s={},arkoseToken:l})=>{let d=a===m.EXPRESS,p=A({source:r,...e,isExpress:d}),u=await t.createPurchase({productId:e.productId,paymentSource:a,...d?{expressSetupResult:c}:{cardElement:o,ownerName:i},metadata:s,...l&&{arkoseToken:l},...n&&{subscriptionIdForRenewal:n}}),{success:g,errorStatus:y,stripeError:_,purchaseDateMillis:h}=u;return M(p,{errorStatus:y,stripeError:_,purchaseDateMillis:h},g),{...u,submitData:p}};e.exports={initializeStripeCardElement:({stripe:e,clientSecret:r,mountDomElement:t,baseClassName:a="user-account-shared",fontSize:i=16,lineHeight:n=20,shouldHidePostalCode:c=!0})=>{let s={style:{base:{fontSize:`${i}px`,lineHeight:`${n}px`,fontFamily:"cnn_sans_display,helveticaneue,Helvetica,Arial,Utkal,sans-serif",color:"#262626",iconColor:"#262626",":hover + ::placeholder":{color:"#262626"},"::placeholder":{color:"#6e6e6e"},":-webkit-autofill":{color:"#262626"}},invalid:{color:"#262626",fontWeight:"bold"}},hidePostalCode:c};o(s,"classes.base",`${a}__stripe-card-element`);let l=e.elements({clientSecret:r}).create("card",s);return l.mount(t),l},createPaymentMethod:C,confirmCardSetup:I,confirmExpressSetup:x,setupExpressElement:({stripe:e,mountDomElement:r,supportedPaymentMethods:t,theme:a,currency:o="usd",buttonType:i="plain"})=>{let n=e.elements({mode:"setup",currency:o}),c={};t&&p.forEach(e=>{c[e]=t.includes(e)?"always":"never"});let s=n.create("expressCheckout",{buttonHeight:40,layout:{overflow:"never"},buttonType:"string"==typeof i?{googlePay:i,applePay:i}:i,...$(a)&&{buttonTheme:{googlePay:a,applePay:a}},paymentMethods:c});return s.mount(r),{expressCheckoutElement:s,elements:n}},getPaymentMethodTrackingId:e=>{let r=S[e];return r&&r.trackingId?r.trackingId:e||"unknown"},EXPRESS_BUTTON_THEMES:E,PAYMENT_ERROR_MESSAGE:"Sorry, we couldn't process your payment. Please try again.",paymentSourceTypes:m,validatePurchaseParams:e=>e&&g.every(r=>Object.hasOwn(e,r)),getSubmitProductData:e=>({productId:e.productId,productUpi:e.productUpi,productPrice:e.productPrice,productCurrency:e.productCurrency,billingInterval:e.billingInterval,...e.introPrice&&{offerPrice:e.introPrice},...e.introCurrency&&{offerCurrency:e.introCurrency}}),checkExpressError:e=>{let{error:r}=e;if(r){let t="card_error"===r.type||"validation_error"===r.type,o=a(r,"message","");e.errorMsg=t?y(r.code,{fallback:o}):a(c,"processing_error","")}},getPaymentErrorMessage:y,applyFieldError:(e,r,t)=>{if(!r)return!1;switch(e){case"incorrect_cvc":case"expired_card":return r.setCardError(y(e,{region:t})),!0;case"incorrect_zip":return r.setZipError(y(e,{region:t})),!0;default:return!1}},generateCreditCardTitle:b,generateDigitalWalletsTitle:w,generatePaymentAccordionItems:({children:e,region:r,expressPaymentMethods:t})=>{if(!e?.length)return[];let a=[b(r)];if(t){let e=w(t);a.push(e)}let o=[...e].findIndex(e=>e.classList.contains("expressCheckoutView"));return!t&&o>-1&&e.splice(o,1),e.map((r,t)=>d({showActive:1===e.length,titleHtml:a[t].html,componentName:"accordion-item",componentVariation:"accordion-item",title:a[t].text,content:`${r.outerHTML} `,id:`user-account-payment-accordion-${t}`}).outerHTML)},isExpressSupported:(e,r=["US"])=>{let t=[].concat(r||[]).filter(Boolean);if(!(t.length?t:["US"]).includes(e))return!1;let a=window.navigator.userAgent,o=/(mobile|tablet)/gi.test(a),i=["googlePay"];return(o&&/iPad|iPhone|iPod/.test(a)&&!window.MSStream||/^((?!android).)*Version\/1[6-9]|Version\/[2-9]\d/.test(window.navigator.userAgent))&&i.push("applePay"),i},setUserPaymentAttrs:k,buildPaymentSubmitData:A,applyPurchaseResultToSubmitData:M,executePurchase:U}}}]); /* window.modules["53"] */ (self.modules=self.modules||[]).push([["53"],{53:(i,t,n)=>{var r=n("608"),e=n("633"),o=n("634"),u=Math.max,a=Math.min;i.exports=function(i,t,n){var f,c,v,d,l,m,s=0,p=!1,T=!1,h=!0;if("function"!=typeof i)throw TypeError("Expected a function");function x(t){var n=f,r=c;return f=c=void 0,s=t,d=i.apply(r,n)}function g(i){var n=i-m,r=i-s;return void 0===m||n>=t||n=v}function y(){var i,n,r,o=e();if(g(o))return E(o);l=setTimeout(y,(i=o-m,n=o-s,r=t-i,T?a(r,v-n):r))}function E(i){return(l=void 0,h&&f)?x(i):(f=c=void 0,d)}function M(){var i,n=e(),r=g(n);if(f=arguments,c=this,m=n,r){if(void 0===l)return s=i=m,l=setTimeout(y,t),p?x(i):d;if(T)return clearTimeout(l),l=setTimeout(y,t),x(m)}return void 0===l&&(l=setTimeout(y,t)),d}return t=o(t)||0,r(n)&&(p=!!n.leading,v=(T="maxWait"in n)?u(o(n.maxWait)||0,t):v,h="trailing"in n?!!n.trailing:h),M.cancel=function(){void 0!==l&&clearTimeout(l),s=0,f=m=c=l=void 0},M.flush=function(){return void 0===l?d:E(e())},M}}}]); /* window.modules["54"] */ (self.modules=self.modules||[]).push([["54"],{54:(i,n,e)=>{var r=e("53"),t=e("608");i.exports=function(i,n,e){var a=!0,l=!0;if("function"!=typeof i)throw TypeError("Expected a function");return t(e)&&(a="leading"in e?!!e.leading:a,l="trailing"in e?!!e.trailing:l),r(i,n,{leading:a,maxWait:n,trailing:l})}}}]); /* window.modules["55"] */ (self.modules=self.modules||[]).push([["55"],{55:e=>{e.exports=function(e){return null==e}}}]); /* window.modules["57"] */ "use strict";(self.modules=self.modules||[]).push([["57"],{57:(e,t,r)=>{let n=r("683"),a=r("684"),o=r("738"),s=r("450"),i=r("396"),u=r("471"),l=r("607"),c=r("652"),p=r("116"),{isValidURL:m,urlHasValidProtocol:f}=r("14"),{SHOW_TOAST_PARAM:g,SETTINGS_SCROLL_PARAM:d}=r("128"),x=new Set(["ar"]),h=r("31").setup({file:"/index.js"}),w=new Set(["selected","view","redirect","registration_source","registration_email_campaign","retention","upgrade","manage","entry","source","regcode",g,d,"utm_synthetics","iid","utm_source","utm_medium","utm_campaign","utm_content","utm_term","wmuc_cc","wmuc_debug","gclid","fbclid","focus_mode","variation","episode","wholesale_promo"]);function _(e){return e.replace(/[^A-Za-z 0-9\.,\?!@#\$%\^&\*\(\)-_=\+;:<>\/\\\|\}\{\[\]~]*/g,"")}function y(e){return i(e)?n.decode(s(e.replace(/ /g," "))):""}function A(e){return"string"!=typeof e?"":function(e,t={}){let r=t.custom||{},n=e.toLowerCase();for(let[e,t]of Object.entries(r))n=n.split(e).join(t);for(let[e,t]of Object.entries({"∆":"delta","∞":"infinity","♥":"love","&":"and","|":"or","":"greater than","∑":"sum","\xa4":"currency",$:"usd"}))if(!(e in r)){let r="$"===e?"":` ${t} `;n=n.split(e).join(r||t)}return n.replace(/[^a-z0-9-]/g,"-").replace(/-+/g,"-").replace(/^-|-$/g,"")}(y(_(e.normalize("NFD"))),{custom:{_:"-","|":""}})}function $(e,t){return w.has(e)&&null!=t?m(t)&&f(t)?function(e){if(!e)return"";let t=[];for(let[r]of e.searchParams)w.has(r)||t.push(r);for(let r of t)h("info",`query param "${r}" REMOVED from URL "${e.href}"`),e.searchParams.delete(r);return e.href}(new URL(t)):t:(h("info",`query param "${e}" is NOT allowlisted or has invalid value`),"")}e.exports.toSmartHeadline=function(e,t){let r=p(t,"site.site","cnn"),a=n.decode(e).replace("---","—").replace("--","–").replace("...","…");return"cnn"!==r?a:o(a)},e.exports.toSmartText=function(e,t="en"){let r=e=>n.decode(e),o=r(e);return x.has(t)||(o=r(a.smartypants(o,2))),(e.includes("<")||e.includes(">"))&&(o=o.replaceAll(/|\/\w+>)/gm,"<").replaceAll(/(/gm,function(e,t){return t?e:">"})),o},e.exports.stripUnicode=_,e.exports.escapeHTML=function(e){if("string"!=typeof e)throw TypeError("Input must be a string");let t={"&":"&","":">",'"':""","'":"'"};return e.replace(/[&<>"']/g,e=>t[e])},e.exports.toPlainText=y,e.exports.cleanSlug=A,e.exports.cleanUrlPath=function(e){return e?e.toLowerCase().replace(/\/+/g,"/").replace(/[^a-zA-Z0-9-_/]|^\/|\/$/g,""):e},e.exports.validateTagContent=function(e){let t=s(e);return""===t||t.match(/^\s+$/)?"":e},e.exports.stripEmptyParagraphs=function(e){return i(e)?e.replace(/]*>(?: ||\s)*/gi,""):e},e.exports.recursivelyStripSeperators=function e(t){return u(t)?c(t,e):l(t)?t.map(e):i(t)?t.replace(/(\u2028|\u2029)/g,""):t},e.exports.removeNewLines=function(e){return e.replace(/\\n|\n/g,"")},e.exports.stripEmail=function(e){return e.replace(/[A-Za-z0-9!#$%&'*+/=?^_`{|}~-]+(?:\.[A-Za-z0-9!#$%&'*+/=?^_`{|}~-]+)*@[A-Za-z0-9](?:[A-Za-z0-9-]*[A-Za-z0-9])?(?:\.[A-Za-z0-9](?:[A-Za-z0-9-]*[A-Za-z0-9])?)+/,"")},e.exports.setSlug=function(e,t,r="slug"){e[t]&&!e[r]&&(e[r]=A(e[t])),e[r]=A(e[r]||"")},e.exports.hiddenFormattedTextParser=function(e){return e.replace(/((?:[.\s!"'\-,:;_—(){}[\]<>/\\…*&%$+@^~?|]?| ))/gim,"")},e.exports.getQueryParam=function(e,t){if(!e||!t||"string"!=typeof t)return"";let r=t.toLowerCase(),n=e.get(t);return null===n&&(n=e.get([...e.keys()].find(e=>e.toLowerCase()===r))),$(r,decodeURIComponent(s(n)))},e.exports.appendQueryParam=function(e,t,r){let n=$(t,s(r));return n&&e.searchParams.append(t,n),e},e.exports.validateQueryParam=$,e.exports.PARAM_ALLOWLIST=w}}]); /* window.modules["59"] */ "use strict";(self.modules=self.modules||[]).push([["59"],{59:(e,t,n)=>{let o=n("23"),a=n("116"),i={subscriptionType:"subscriptionType",region:"region",altHeader:"altHeader",eyebrowText:"eyebrowText",promoText:"promoText",promoSubtext:"promoSubtext",legalText:"legalText",subscribeBtnText:"subscribeBtnText",productGroups:"productGroups",bypassEntitlementsGroups:"bypassEntitlementsGroups",subscriptionRedirect:"subscriptionRedirect",logoutRedirect:"logoutRedirect",changePlanHeaderText:"changePlanHeaderText",changePlanButtonText:"changePlanButtonText",enableDefaultOnboardingFlow:"enableOnboardingFlow",defaultOnboardingFlow:"onboardingFlow",confirmationSubHeaderText:"confirmationSubHeader",confirmationHeaderText:"confirmationHeader",confirmationInfoText:"confirmationInfo",confirmationInfoList:"confirmationInfoList",confirmationMoreText:"confirmationMoreText",confirmationActionButtonText:"confirmationBtnTxt",upgradeConfirmationRedirect:"upgradeConfirmationRedirect"},r=Object.keys(i),s="cnn-user",c={region:"region",wholesalePromo:"wholesalePromo",header:"header",subheadingText:"subheadingText",eyebrowText:"eyebrowText",registrationPageLink:"registrationPageLink",registrationLinkText:"registrationLinkText",redirect:"redirect",logInButtonText:"logInButtonText",enablePromoConfirmation:"enableConfirmation",confirmationHeader:"confirmationHeader",confirmationSubHeader:"confirmationSubHeader",confirmationInfo:"confirmationInfo",confirmationActionBtn:"confirmationActionBtn",redirectIsPayment:"redirectIsPayment",bypassEntitlementsGroups:"bypassEntitlementsGroups",bypassRedirect:"bypassRedirect",loginNewsletter:"login_newsletter",optionalNewsletterEnabled:"optionalNewsletterEnabled",optionalNewsletterCheckboxText:"optionalNewsletterCheckboxText",optionalRegistrationNewsletter:"optional_registration_newsletter",enableDefaultOnboardingFlow:"enableOnboardingFlow",defaultOnboardingFlow:"onboardingFlow",accountFields:"accountFields"},l=Object.keys(c),m={region:"region",wholesalePromo:"wholesalePromo",altHeadingText:"altHeadingText",subheadingText:"subheadingText",registrationRedirect:"registration_redirect",registrationEmailCampaign:"registration_email_campaign",registrationNewsletter:"registration_newsletter",optionalRegistrationNewsletter:"optional_registration_newsletter",optionalNewsletterCheckboxText:"optionalNewsletterCheckboxText",newsletterCheckboxEnabled:"newsletterCheckboxEnabled",eyebrowText:"eyebrowText",registrationNextPage:"registration_next_page",loginLinkOverride:"loginLinkOverride",altCreateAccountButtonText:"altCreateAccountButtonText",accountFields:"accountFields",enableDefaultOnboardingFlow:"enableOnboardingFlow",defaultOnboardingFlow:"onboardingFlow",enablePromoConfirmation:"showConfirmation",confirmationSubHeaderText:"confirmationSubHeaderText",confirmationHeaderText:"confirmationHeaderText",confirmationInfoText:"confirmationInfoText",confirmationActionButtonText:"confirmationActionButtonText"},u=Object.keys(m),d=o.get("USER_ACCOUNT_ENABLED")||!1,g=o.get("USER_ACCOUNT_RESTRICTED_VIEWS_ENABLED")||!1;e.exports={MANAGE_SUBSCRIPTION_PATH_REF:"/_components/user-account-manage-subscription/instances/manage-subscription@published",PAYMENT_PATH_REF:"/_components/user-account-payment/instances/user-account-payment@published",REGISTRATION_PATH_REF:"/_components/user-account-registration/instances/user-account-registration@published",LOGIN_PATH_REF:"/_components/user-account-login/instances/user-account-login@published",ONBOARDING_PATH_REF:"/_components/user-account-onboarding/instances/user-account-onboarding@published",DEFAULT_PAYMENT_PROMO:"uk-livestream",SUB_UPGRADE_ROUTE:"sub_web_regi_onboarding",LOGIN_TOP_LEVEL_PROMO_FIELDS:l,LOGIN_TOP_LEVEL_PROMO_FIELD_TO_PROMO_KEY:c,REGISTRATION_TOP_LEVEL_PROMO_FIELDS:u,REGISTRATION_TOP_LEVEL_PROMO_FIELD_TO_PROMO_KEY:m,PAYMENT_TOP_LEVEL_PROMO_FIELDS:r,PAYMENT_TOP_LEVEL_PROMO_FIELD_TO_PROMO_KEY:i,buildPromotionFromTopLevelData:(e,t,n)=>t.some(t=>{let n=e[t];return null!=n&&""!==n&&!1!==n&&(Array.isArray(n)?n.length>0:"object"!=typeof n||Object.keys(n).length>0)})?t.reduce((t,o)=>(t[n[o]]=e[o],t),{}):null,sanitizeMetadataOnSave:(e,t)=>(e[t]&&e[t].forEach(e=>{e.metaDescription=e.metaDescription||"",e.metaImage=e.metaImage||"",e.metaTitle=e.metaTitle||""}),e),getDynamicPathData:(e,t,n,o="",i=!0)=>{let r;let s=a(e,`dynamicMeta.${t}`,a(e,"params.dynamicParam",a(e,`query.${t}`,o)));return!s||i&&a(e,"edit",!1)||(r=n.find(e=>s===e.path)),r},userAccountEnabled:d,userAccountRestrictedViewsEnabled:g,userAccountOnboardingEnabled:o.get("USER_ACCOUNT_ONBOARDING_ENABLED")||!1,getBrandLogoData:(e="cnn",t)=>{let n=t?.logo,o={cnn:{mainLogoUrl:"/",ariaLabel:"CNN",mainLogo:"public/media/sites/cnn/cnn.svg",id:`user-account-${e}-logo`}};return n&&o[n]||o.cnn},DEFAULT_DISPLAY_NAME_BASE:s,generateTemporaryDisplayName:()=>`${s}-${Math.random().toString(36).substring(2,8)}`,generateDataAttrsString:e=>e?e.filter(({val:e})=>!!e).map(({name:e,val:t})=>`data-${e}="${t}"`).join(" "):"",replaceBypassEntitlements:e=>e.map(e=>{let{bypassEntitlements:t,bypassEntitlementsGroups:n=[]}=e;return!n.length&&t?.length&&t.forEach((e,o)=>{let a={bypassEntitlements:[]};a.bypassEntitlements.push(...t.slice(0,o+1));let i=a.bypassEntitlements.includes("cnn_subs"),r=a.bypassEntitlements.includes("cnn_subs_video"),s=a.bypassEntitlements.includes("cnn_uk");i&&!r?a.entitlementsGroupName="Reader":r&&i?a.entitlementsGroupName="All Access":s&&(a.entitlementsGroupName="UK Livestream"),n[o]=a}),delete e.bypassEntitlements,{...e,bypassEntitlementsGroups:n}}),generateAmazonPvcLink:e=>`Already get CNN through Amazon Prime Video? Continue with Amazon
',t.appendChild(e)}}show({type:t="error",text:e=null,subtext:s=null,allowDismiss:n=!1,showToastTimeout:o}){p();let a=document.createElement("div"),i=v.containerDiv,l=u(o),c=[],d=0===l;a._dismissTimers=c;let m=()=>{c.forEach(clearTimeout),c.length=0};if(this.buildToastContent(a,{type:t,text:e,subtext:s,allowDismiss:n}),a.className=`${this.toastBaseClass} toast--${t}`,i.appendChild(a),a.getBoundingClientRect(),requestAnimationFrame(()=>{!d&&a.isConnected&&a.classList.add(this.toastActiveClass)}),n){let t=a.querySelector(`.${this.toastCloseBtnClass}`);t&&t.addEventListener("click",()=>{d||(d=!0,m(),a.classList.remove(this.toastActiveClass),c.push(setTimeout(()=>r(a),250)))})}return c.push(setTimeout(()=>{d=!0,a.classList.remove(this.toastActiveClass)},l)),c.push(setTimeout(()=>{r(a)},l+250)),a}}t.exports=v,t.exports.positionToast=p,t.exports.displayToast=(t,e)=>{if("function"==typeof t?.show)return t.show(e)},t.exports.refreshDismissTimer=(t,e)=>{let s=t?._dismissTimers;if(!s||!t.isConnected||!t.classList.contains(i.active))return!1;s.forEach(clearTimeout),s.length=0;let n=u(e);return s.push(setTimeout(()=>t.classList.remove(i.active),n)),s.push(setTimeout(()=>r(t),n+250)),!0}}}]); /* window.modules["68"] */ "use strict";(self.modules=self.modules||[]).push([["68"],{68:e=>{e.exports.encode=function(e){return"string"!=typeof e?e:window.btoa(e)},e.exports.decode=function(e){return"string"!=typeof e?e:window.atob(e)}}}]); /* window.modules["69"] */ "use strict";(self.modules=self.modules||[]).push([["69"],{69:(e,a,i)=>{let s=i("739"),l=i("307"),{getCurrentSite:d}=i("137"),t=d(),m={invalid:"Please enter a valid {fieldName}",required:"{fieldName} is required",exceedMax:"{fieldName} must not exceed {max} characters",underMin:"{fieldName} must have at least {min} characters"},r={email:{displayName:"email address",regex:/^[A-Za-z0-9!#$%&'*+/=?^_`{|}~-]+(?:\.[A-Za-z0-9!#$%&'*+/=?^_`{|}~-]+)*@[A-Za-z0-9](?:[A-Za-z0-9-]*[A-Za-z0-9])?(?:\.[A-Za-z0-9](?:[A-Za-z0-9-]*[A-Za-z0-9])?)+$/},"first-name":{displayName:"first name",isValid:e=>!s(e),regex:/^(?=.*\p{L})([-'.,\s\p{L}\p{M}])*$/u},"last-name":{displayName:"last name",isValid:e=>!s(e),regex:/^(?=.*\p{L})([-'.,\s\p{L}\p{M}])*$/u},"name-on-card":{displayName:"name",isValid:e=>!s(e)},"address-field":{displayName:"address field",regex:/^([a-zA-Z0-9\s#.-])*$/},alphanumeric:{displayName:"field",regex:/^([A-Za-z0-9])*$/},"validate-pii":{displayName:"PII",isValid:e=>{let a=!1,i=e.split(/\s+/),s=e.replace(/[.()_-\s]/g,"");return a=i.some(e=>r.email.regex.test(e)),!/([0-9]{9,})/.test(s)&&!a}},"promo-code":{displayName:"Promo Code",isValid:e=>!s(e)},"display-name":{displayName:"display name",isValid:e=>!s(e)},"display-name-onboarding":{displayName:"display name",isValid:e=>!s(e)&&/^.{0,30}$/.test(e)&&/^(?=.*[a-zA-Z0-9]|^$)([a-zA-Z0-9\-,.' ])*$/.test(e)},"ctv-signin-code":{displayName:"Code",isValid:e=>!s(e)&&/^.{0,7}$/.test(e)&&/^([A-Za-z0-9])*$/.test(e)}};e.exports.validateInput=function(e,a){let i="",{customMsg:s,min:d,max:n,required:p,type:c="",displayName:o}=a||{};if(r[c]){let{displayName:a,regex:l,isValid:t}=r[c];p&&!e.length?i=m.required:d&&e.lengthn&&(i=m.exceedMax.replace("{max}",`${n}`)),!i.length&&e.length&&(l&&!l.test(e)||t&&!t(e))&&(i=s||m.invalid);let u=o&&o.toLocaleLowerCase();i=i.replace("{fieldName}",u||a),i=`${i.charAt(0).toUpperCase()}${i.slice(1)}`}return"cnn"!==t?l(t,i):i}}}]); /* window.modules["70"] */ "use strict";(self.modules=self.modules||[]).push([["70"],{70:(e,s,l)=>{let{getGeoCountry:t}=l("9"),{getAllAccessEnabledRegions:u}=l("120"),{GEO_TO_REGION:n,getSubscribeUrlPath:o,CONFIG_BY_REGION:r,getRegionalCopy:d}=l("43");e.exports={resolveEnabledRegion:function(){let e=t(),s=u(),l=e&&n[e];return l&&s.includes(l)?l:""},getSubscribeUrlPath:o,CONFIG_BY_REGION:r,getRegionalCopy:d}}}]); /* window.modules["71"] */ "use strict";(self.modules=self.modules||[]).push([["71"],{71:(t,e,s)=>{let{getCookie:i}=s("8"),r=s("636"),n=s("116"),u=s("681"),{actions:a,subscribe:o}=s("48"),{ACCOUNT_NAV:l}=a,c=s("31").setup({file:"/index.js"}),{formatLoggingData:h}=s("641"),w=s("379"),d={};function b(){d={},window.localStorage.removeItem("userNewsletterSubscriptions")}async function g(){if(d.isInitialized)return;let t=JSON.parse(window.localStorage.getItem("userNewsletterSubscriptions")||"{}");r(t,{value:[]});let{updateAfter:e}=t;t.updateAfter=e?new Date(e):new Date,d={isInitialized:!0,subscriptions:t},document.addEventListener("deleteAccount",b)}t.exports=class{constructor(t){this.authClient=t||{},this.userEmail="",this.userLoggedIn=!1,this.countryCode=i("countryCode"),o(l.LOGOUT_SUCCESS,b),g()}async retrieveNewsletters(){let t=[];try{let e=await this.authClient.retrieveNewsletters(),s=e&&e.newsletters;t=Object.keys(s).map(t=>({name:t,...s[t]})).sort((t,e)=>t.position-e.position)}catch(t){c("error","Error retrieving newsletters: ",h(t))}return t}async refreshUserInfo(){let t=this.authClient.getToken(),e=!1;if(t)try{let{userEmailResponses:s}=await this.authClient.accountInfo(t);this.userEmail=s&&s.length&&s[0].emailAddress||"",e=!0}catch(t){c("error","Error refreshing user info: ",h(t))}this.userLoggedIn=e}async _updateSubscriptions(){if(!this.authClient.tokenWithAuthn())return;let{subscriptions:t}=d,e=[];try{let s=await this.authClient.subscriptions(this.authClient.getToken());e=n(s,"subscriptions"),t.updateAfter=u(new Date,{days:1})}catch(t){c("error","Error updating subscriptions: ",h(t))}t.value=e,window.localStorage.setItem("userNewsletterSubscriptions",JSON.stringify(t))}async retrieveSubscriptions({useCache:t}={}){if(!this.authClient.tokenWithAuthn())return[];let{subscriptions:e}=d;return(!t||e.updateAfter{w.newsletters[`${t}_source`]=a,o&&(w.newsletters[`${t}_subscribe`]=o)});let b={email:d,newsletters:i,userProfileRequest:{attributes:w},misc:{...l&&{arkoseSessionToken:l}}},g=this.authClient.getToken();try{await this.authClient.subscribe(b,g),e=!0}catch(t){s=t&&t.status||500,c("error","Error subscribing to newsletters: ",h(t))}}if(e)try{await this._updateSubscriptions()}catch(t){c("error","Error updating newsletter subscriptions cache: ",h(t))}return w?{success:e,errorStatus:s}:e}async unsubscribe(t){let e=!1,{newsletters:s}=t;if(await this.isLoggedIn()&&this.userEmail){let t={email:this.userEmail,newsletters:s};try{await this.authClient.unsubscribe(t,this.authClient.getToken()),e=!0}catch(t){c("error","Error unsubscribing to newsletters: ",h(t))}}return e&&await this._updateSubscriptions(),e}async unsubscribeWithToken(t){let e=!1;try{await this.authClient.unsubscribeForUnauthenticated(t),e=!0}catch(t){c("error","Error unsubscribing with token: ",h(t))}return e}formatNewsletterName(t){return"string"==typeof t?t.split("_").map(t=>w(t)).join(" "):t}}}}]); /* window.modules["73"] */ "use strict";(self.modules=self.modules||[]).push([["73"],{73:(e,t,r)=>{let a=r("31").setup({file:"/index.js"}),{isAllAccessSubscriber:n}=r("42"),o=()=>{let e=window.localStorage.entitlementToken;if(e)try{return JSON.parse(e).canAuthenticate}catch(e){a("error","unable to parse TV Provider auth token")}return!1},l=async()=>{let e=await n(),t=o();return e||t};e.exports={isAuthenticated:o,getMVPDData:e=>{let t=window.localStorage.entitlementToken;if(t)try{return JSON.parse(t)[e]}catch(e){a("error","unable to parse TV Provider auth token")}return!1},getMVPDCobrandImgUrl:()=>window.localStorage.mvpdCobrandImg,checkDtcAccess:l,getMVPDToken:()=>{let e=window.localStorage.entitlementToken;if(e)try{let t=JSON.parse(e);if(t.canAuthenticate)return{accessToken:t.authenticationToken[0],accessTokenType:"adobe",mvpd:t.mvpd}}catch(e){a("error","unable to parse TV Provider auth token")}}}}}]); /* window.modules["74"] */ "use strict";(self.modules=self.modules||[]).push([["74"],{74:(n,t,e)=>{let o=e("31").setup({file:"/index.js"});n.exports={keyNavigationUtility:(n,t,e)=>{let{key:i}=n;if(i in t&&"function"!=typeof t[i]){o("warn","Keyboard navigation error: action for key is not a function");return}if(e&&"function"!=typeof e){o("warn","Keyboard navigation error: onAnyMatchingKeyPressFn is not a function");return}"function"==typeof t[i]&&(n.preventDefault(),t[i](n),"function"==typeof e&&e(n))}}}}]); /* window.modules["75"] */ "use strict";(self.modules=self.modules||[]).push([["75"],{75:e=>{let E={VIDEO_HUB:a("Video Hub",{PLAYBACK_REQUEST:"Playback Request",VIDEO_START:"Video Start"}),VIDEO:a("Video Clips",{PLAYBACK_REQUEST:"Playback Request",VIDEO_START:"Video Start",STOP_VIDEO:"Hide Video Player",PAUSE_VIDEO:"Pause Video Player",VERTICAL_PLAYBACK_REQUEST:"Play Vertical Video Player"}),TVE:a("TVE",{CAROUSEL_SOURCE_LOADED:"Carousel Source Loaded",PLAYBACK_REQUEST:"Playback Request"}),ADS:a("Ads",{SET_AD_VARIANT:"Set ad variant",SHOW_FEEDBACK:"Show Feedback"}),REGISTRATION:a("User Registration",{INIT_FORM:"Initialize Registration Form",FORM_LOADED:"Registration form loaded"}),LOGIN_FORM:a("User Login",{SHOW_TOS:"Show TOS Update View",SHOW_RESET_PASSWORD:"Show Reset Password View",SHOW_RESET_EMAIL_SENT:"Show Reset Email Sent View",LOGIN_SUCCESS:"Login success",UPDATE_FORM:"Update Login Form",VIEW_UPDATED:"Login Form View Updated",LOADED:"Login form loaded",LOAD_LOGIN_ARKOSE:"Load login arkose"}),ACCOUNT_NAV:a("Account Nav",{LOGOUT_SUCCESS:"Logout User"}),ARKOSE:a("Arkose",{SCRIPT_LOAD_FAILED:"Script loading failed"}),STICKY_HEADER:a("Sticky Banner Header",{RECALCULATE:"Recalculate Header Size"}),SSO:a("Social Sign On",{BTN_LOADED:"Button loaded",CONFIRM_PASSWORD:"Confirm password",CONFIRM_PASSWORD_RESET:"Reset confirm password form"}),TOAST_POPUP:a("Toast Popup",{UPDATE_TITLE:"Update Toast Popup Title",CREATED:"Create Toast Element"}),EXPRESS_CHECKOUT:a("Express Checkout",{CLICKED:"Express checkout button clicked"}),PAYWALL:a("Paywall",{AUTH_ENTITLEMENTS:"Auth Entitlements Response",EXPRESS_CHECKOUT_LOADED:"Express Checkout initialized",UPDATE_STATUS:"Update paywall status",DISMISS:"Dismiss paywall"}),RADIO_BUTTONS:a("Radio Buttons",{SELECTED:"Radio selected",SET_SELECTED:"Set selected radio button",TOGGLE_SHOW_PILL:"Toggle whether to show pill or not for radio button"}),TABS:a("Tabs",{SELECTED:"Tab selected"}),DISPLAY_NAME:a("Display Name",{UPDATE_COMPLETE:"Update display name complete",PENDING_STATUS:"Display name is pending",UPDATED_NAME:"Updated display name",EXISTING_NAME:"Existing display name",CLEANUP:"Clean up display name view",DISMISSED:"Display name flow dismissed"}),FORMFIELD_TEXT:a("Formfield text",{VALIDATION_RAN:"Validation ran for text field",RUN_VALIDATION:"Run validation for text field",SHOW_ERROR:"Show error for text field",ERROR_STATE:"Set text field to error state"}),INTERACTIVE_HEADLINE:a("Interactive Headline",{UPDATE_TITLE:"Update interactive headline title"}),SUBSCRIPTION_LANDING:a("Subscription Landing Page",{REDIRECT_COMPLETE:"Redirect complete"}),VIEW_MANAGER:a("View Manager",{INITIALIZED:"View manager initialized",TRANSITION:"View manager transition",ERROR:"View manager error"}),SURVEY_CARD:a("Survey Card",{SUBMIT:"Submit survey card"}),SUBSCRIPTION_CARD:a("Subscription Card",{CTA_CLICKED:"CTA clicked"}),OPENWEB_CONVO:a("Openweb Convo",{LAUNCHER_LOADED:"Launcher loaded"}),AMAZON_LWA:a("Amazon LWA",{SDK_LOADED:"Amazon LWA SDK loaded",SDK_LOAD_FAILED:"Amazon LWA SDK load failed",AMAZON_CALLBACK_PROCESSED:"Amazon callback processed"})};function a(e,E){let a=Symbol(e);return Object.keys(E).reduce((e,t)=>({[t]:{ns:a,action:Symbol.for(E[t])},...e}),{ns:a})}e.exports=E}}]); /* window.modules["78"] */ "use strict";(self.modules=self.modules||[]).push([["78"],{78:(e,t,o)=>{e.exports.envIsTruthy=o("686"),e.exports.findComponentRefInPage=o("687"),e.exports.findRefPath=o("688"),e.exports.hasPermission=o("689"),e.exports.getComponentInstance=o("691"),e.exports.getLayoutInstance=o("690"),e.exports.getComponentName=o("692"),e.exports.getLayoutName=o("693"),e.exports.getComponentStatus=o("694"),e.exports.getComponentVersion=o("695"),e.exports.getDeepLinkHashString=o("696"),e.exports.getPageInstance=o("697"),e.exports.getPageVersion=o("698"),e.exports.getListInstance=o("699"),e.exports.getPrefix=o("700"),e.exports.getPropSchema=o("701"),e.exports.getResourceType=o("702"),e.exports.getSharedComponentParentRef=o("703"),e.exports.hasSharedComponentMeta=o("704"),e.exports.hasSharedComponentOverrides=o("706"),e.exports.isClayUserApiKey=o("705"),e.exports.isChildSharedComponent=o("707"),e.exports.isComponent=o("708"),e.exports.isComponentPublished=o("709"),e.exports.isLayout=o("710"),e.exports.isLayoutMeta=o("711"),e.exports.isDefaultComponent=o("712"),e.exports.isDefaultLayout=o("713"),e.exports.isPage=o("714"),e.exports.isPageMeta=o("715"),e.exports.isParentSharedComponent=o("716"),e.exports.isPublished=o("717"),e.exports.isSharedComponent=o("718"),e.exports.isSharedComponentPage=o("719"),e.exports.isList=o("720"),e.exports.isUri=o("721"),e.exports.isUser=o("722"),e.exports.listDeepObjects=o("723"),e.exports.listDeepObjectsWithoutShared=o("724"),e.exports.listParentSharedComponentsAndNested=o("725"),e.exports.replaceVersion=o("726"),e.exports.replaceAllVersions=o("727"),e.exports.setSharedComponentOverride=o("728"),e.exports.uriPrefixToSlug=o("729"),e.exports.uriSlugToPrefix=o("730"),e.exports.jsonPrefixToSlug=o("731"),e.exports.jsonSlugToPrefix=o("732"),e.exports.isSharedComponentActive=o("734"),e.exports.setCreatedLeafPage=o("733"),e.exports.getCreatedLeafPage=o("735"),e.exports.metaPatchCreatedFromComponent=o("736"),e.exports.setDefaultComponentVariation=o("737")}}]); /* window.modules["80"] */ "use strict";(self.modules=self.modules||[]).push([["80"],{80:(e,n,t)=>{let o=t("54"),{authClient:d,getPreAuthEntitlements:r,checkEntitlementsForAccess:i}=t("35"),{subscribe:s,actions:l}=t("48"),{PAYWALL:u}=l,{isSection:c}=t("19"),{isAppWebView:a}=t("9"),{resolveEnabledRegion:m}=t("70"),h=async(e="readOnly")=>{let{preAuthorizedEntitlements:n=[]}=await r(d.getToken(),!1);return i(n,[e])[e]},p=["other-optin","gdpr"],w=()=>{let e=window.WBD?.UserConsent,n=e?.getRegion?.();return p.includes(n)&&e.getConsentConfirmed?.()===!1},g="onetrust-banner-overlay",f=!1,E=null,b=e=>{let n=document.getElementById(g);if(!e){n?.remove();return}if(n)return;let t=document.createElement("style");t.id=g,t.appendChild(document.createTextNode('html.onetrust-banner-open,html.onetrust-banner-open body{overflow:hidden;}html.onetrust-banner-open body{position:fixed;width:100%;height:100%;}html.onetrust-banner-open body::before{content:"";position:fixed;top:0;left:0;z-index:100;width:100%;height:100%;background:rgba(0,0,0,0.75);}')),document.head.appendChild(t)},y=()=>{if("undefined"==typeof document)return;let e=w();document.documentElement.classList.toggle("onetrust-banner-open",e),b(e)},C=()=>{y(),w()&&(clearTimeout(E),E=setTimeout(y,600))},T=()=>{y(),f||"undefined"==typeof document||(f=!0,document.addEventListener("userConsentReady",y),document.addEventListener("userConsentChanged",y),document.addEventListener("userConsentNotChanged",y),window.addEventListener("OneTrustGroupsUpdated",C))};e.exports={isSubscriber:h,isSubscriberCB:(e,n=!1,t="readOnly")=>{"function"==typeof e&&(r(d.getToken(),!1,n,!0),s(u.AUTH_ENTITLEMENTS,({preAuthorizedEntitlements:n=[]})=>{e(i(n,[t])[t])}))},defaultManageWallVisibility:e=>({displayScrollDepthPercentage:n=15,contentSelector:t,intersectionThreshold:d}={})=>{let r=document.documentElement.scrollHeight-document.documentElement.clientHeight,i=o(()=>{let t=Math.round(n/100*r);window.scrollY>=t&&e()},250),s=document.querySelector(t);s?new IntersectionObserver((n,t)=>{n.forEach(n=>{n.isIntersecting&&(e(),t.disconnect())})},{threshold:d||.01}).observe(s):window.addEventListener("scroll",i)},isFromEmailSideDoor:()=>{let e=new URL(window.location).searchParams,n=e.get("utm_source");return"string"==typeof n&&n.startsWith("cnn_")&&"email"===e.get("utm_medium")},isWallExcluded:(e,{ignoreAppWebView:n=!1}={})=>!!("prod"===window.env.CONTENT_HUB_ENV&&window.kiln||!n&&a()||!m()||c(["cnn-underscored"]))||!e&&!!window.CNN.contentModel.isSponsorship||(T(),!!window.WBD?.UserConsent?.getAckTermsNeeded?.()||w())}}}]); /* window.modules["81"] */ "use strict";(self.modules=self.modules||[]).push([["81"],{81:(e,t,r)=>{let l=r("23"),{getRegionFlag:n}=r("83"),{authClient:o,getPreAuthEntitlements:s}=r("35"),{EXPRESS_BUTTON_THEMES:a,getPaymentMethodTrackingId:c}=r("52"),{loadAndInitializeArkose:i,USE_CASES:u}=r("49"),{UserAccountExpressCheckout:d}=r("user-account-express-checkout.client"),{dispatch:p,actions:m,subscribe:k}=r("48"),{ACCOUNT_NAV:E,ARKOSE:C,RADIO_BUTTONS:h,PAYWALL:y,EXPRESS_CHECKOUT:_}=m,{trackMetrics:w}=r("33"),{addGenericClickAnalytics:g,addOnScreenAnalytics:x}=r("11"),{buildRegionalRenewalText:b}=r("125"),S=r("31").setup({file:"/index.js"}),P=r("34"),{resolveEnabledRegion:L}=r("70"),{getRegionalCopy:$}=r("43"),{getAllAccessEnabledRegions:f}=r("120"),T="user-account-reg-wall",I=`${T}__continue-with-btns-wrapper--ready`,q=(e,t)=>{let r=e.querySelector(`.${T}__continue-with-btns-wrapper`);!r||r.classList.contains(I)||(r.classList.add(I),Object.entries({applePay:"apple-pay",googlePay:"google-pay"}).forEach(([r,l])=>{e.querySelector(`.${T}__continue-with-btn--${l}`)?.classList.toggle(`${T}__continue-with-btn--supported`,t.includes(r))}))},A=(e,t,r)=>{let l=e.replace(/:+$/,""),n=`${l}:terms:${c(t)}`;w({type:"user-interaction",data:{interaction:`${n}:pay`}}),g({componentType:"button",componentId:r,traits:{component_name:n,action:"click",feature:"subscription"}})},B=(e,t)=>{w({type:"user-interaction",data:{interaction:"module load",componentName:`${e}_terms`,componentStellarId:t}})},R=(e,t,r)=>{x(e,void 0,{component_id:r,component_type:"module",traits:{component_name:`${t}_terms`,feature:"subscription"}})},v=(e,t)=>{let r=e.replace(/:+$/,""),l=`${r}:terms:or continue with credit card`;w({type:"user-interaction",data:{interaction:`${l}:pay`}}),g({componentType:"button",componentId:t,traits:{component_name:l,action:"click",feature:"subscription"}})},U=async e=>{await s(o.getToken(),!0);let t=new P({}),r=t.appendParams({targetUrl:new URL("/account/onboarding/subscription",window.location.origin),customParams:{redirect:window.location.href,source:e}});t.triggerRedirect({redirectUrl:r})},D=e=>{if(!e.radioBtns)return null;let t=e.radioBtnsClient?.getSelectedItem?.();return t?.dataset??null},O=e=>{let t=D(e);return t?{...t,...e.paymentArkoseEnabled&&e.arkoseToken&&{arkoseToken:e.arkoseToken}}:null},V=(e,{newSupportedMethods:t,regWallEl:r}={})=>{if(!e.expressCheckoutController)return;if(t?.length){if(r?.querySelector(`.${T}__continue-with-btns-wrapper`)?.classList.contains(I))return;["applePay","googlePay"].forEach(e=>{if(!t.includes(e)){let t="applePay"===e?"apple-pay":"google-pay";r?.querySelector(`.${T}__continue-with-btn--${t}`)?.remove()}});return}let{container:l}=e.expressCheckoutController;l&&l.remove(),e.expressCheckoutController=null,r&&H(r)},M=e=>{e.paymentArkoseEnabled&&e.arkoseAPI&&e.expressCheckoutController&&e.arkoseAPI.run()},N=async e=>{await i({useCase:u.PAYMENT,enforcementConfig:{onReady:({enforcement:t})=>{e.arkoseAPI=t},onCompleted:({token:t})=>{e.arkoseToken=t}}}),k(C.SCRIPT_LOAD_FAILED,()=>{e.arkoseEnforcementFailed=!0,V(e)})},W=e=>{k(E.LOGOUT_SUCCESS,()=>{e.open&&window.location.reload()})},H=e=>{let t=e.querySelector(`.${T}__continue-with-btns-wrapper`),r=e.querySelector("#regwall-credit-card-link");t&&t.classList.add(`${T}__continue-with-btns-wrapper--hidden`),r&&(r.classList.remove(`${T}__credit-card-link`),r.classList.add("button","button--light-mode","button--size-small"),r.textContent="Continue with Credit Card")},K=async(e,{region:t="US",source:r}={})=>{if(!e.userIsLoggedIn)return null;let n=e.el,o=`${e.class}__express-checkout-wrapper`,s=n.querySelector(`.${o}`);if(!s)return null;let c=l.get("ENABLE_PAYMENT_ARKOSE",!1),i={expressCheckoutController:null,expressCreditCardLink:n.querySelector("#regwall-credit-card-link"),radioBtns:e.radioBtns,radioBtnsClient:e.radioBtnsClient,paymentArkoseEnabled:c,arkoseToken:null,arkoseAPI:null};c&&await N(i);try{i.expressCheckoutController=new d({el:s,region:t,mountDomElementSelector:"#express-checkout-element",theme:a.WHITE,enabledRegions:f()});let e=i.expressCheckoutController,l=r||"reg_wall";await e.initialize({onExpressCheckoutDisabled:e=>V(i,{...e,regWallEl:n}),onExpressCheckoutReady:e=>q(n,e),getPurchaseParams:()=>O(i),onSuccess:()=>U(l),sourceConfig:{defaultSource:l},deferElementSetup:!0,buttonType:$(t).expressCheckoutButtonType}),e.setUpExpressCheckoutElement(e.supportedPaymentMethods)}catch(e){return S("error","Express checkout initialization failed",{stack:e.stack}),V(i,{regWallEl:n}),null}return k(_.CLICKED,({expressPaymentType:t})=>{A(e.interactionBase,t,e.componentStellarId)}),p(y.EXPRESS_CHECKOUT_LOADED,{expressCheckout:i}),i},z=(e,t)=>{e.el.classList.remove(`${e.class}--${e.currentView}`),e.el.classList.add(`${e.class}--${t}`),e.currentView=t},F=e=>{let t=L();n("paywallExpressCheckoutEnabled")&&(K(e,{region:t,source:e.source}),k(y.EXPRESS_CHECKOUT_LOADED,({expressCheckout:t})=>{e.expressCheckout=t,e.selectedProductEl&&t?.expressCheckoutController?.updateRenewalCheckboxVisibility(e.selectedProductEl),e.open&&M(e.expressCheckout)}))},X=({formattedPrice:e,introPricing:t,frequency:r,billingInterval:l,productUpi:n,productCurrency:o})=>b({formattedCost:e,billingInterval:r||("Annual"===l?"year":"month"),productUpi:n,introPricing:t,currency:o},{isPaywall:!0}),j=(e,t)=>{e.selectedProductEl=t,e.expressCheckout?.expressCheckoutController?.updateRenewalCheckboxVisibility(t),e.digitalWalletLegalTextEl&&t&&(e.digitalWalletLegalTextEl.innerHTML=X(t.dataset))};e.exports={isPaywallExpressCheckoutEnabled:()=>l.get("EXPRESS_CHECKOUT_FEATURE_ENABLED")&&n("paywallExpressCheckoutEnabled"),initExpressCheckout:K,runArkoseOnWallShow:M,getSelectedProductDataset:D,getExpressPurchaseParams:O,disableExpressCheckout:V,handleRegWallPurchaseSuccess:U,showCreditCardFallback:H,setupExpressCheckoutTerms:e=>{let t=!!e.el.querySelector(`.${e.class}__terms-inline`);if(e.termsView=e.el.querySelector(`.${e.class}__terms-view`),!t&&!e.termsView)return;e.selectedProductEl=e.el.querySelector(".formfield-radio-buttons__option--selected"),k(h.SELECTED,({selectedItem:t})=>{j(e,t)}),W(e);let r=e.el.querySelector("#regwall-credit-card-link");if(r&&(e.bindSelectedProductToLink(r,{updateSelectedProductId:!0}),r.addEventListener("click",()=>{v(e.interactionBase,e.componentStellarId)})),t){e.digitalWalletLegalTextEl=e.el.querySelector(".user-account-express-checkout__renewal-text .formfield-checkbox__checkbox-label"),F(e);return}e.digitalWalletLegalTextEl=e.termsView.querySelector(`.${e.class}__terms-legal-text`),e.termsBackBtn=e.termsView.querySelector(`.${e.class}__terms-back-btn`);let l=!1,n=e.el.querySelector(`.${e.class}__continue-with-btns-wrapper`),o=e.el.querySelector(`.${e.class}__continue-with-btn--apple-pay`),s=e.el.querySelector(`.${e.class}__continue-with-btn--google-pay`);if(!n)return;F(e);let a=t=>{if(!e.selectedProductEl)return;B(e.componentName,e.componentStellarId),e.digitalWalletLegalTextEl.innerHTML=X(e.selectedProductEl.dataset);let r=e.expressCheckout?.expressCheckoutController,n=r?.supportedPaymentMethods,o=n?.length===t.length&&n[0]===t[0];r?.updateRenewalCheckboxVisibility(e.selectedProductEl),z(e,e.views.TERMS),l||(R(e.termsView,e.componentName,e.componentStellarId),l=!0),o||r?.setUpExpressCheckoutElement(t)};o?.addEventListener("click",()=>a(["applePay"])),s?.addEventListener("click",()=>a(["googlePay"])),e.termsBackBtn.addEventListener("click",()=>{z(e,e.views.MAIN)})},setupExpressCheckout:F,toggleView:z,setupLogoutCallback:W,trackExpressClick:A,observeExpressTermsAndConditions:R}}}]); /* window.modules["82"] */ "use strict";(self.modules=self.modules||[]).push([["82"],{82:(e,t,o)=>{let{smallMaxWidthListener:l}=o("32"),d=".user-account-reg-wall:not(.user-account-reg-wall--hide)",s=!1,c=!1,u=()=>document.querySelector(d),n=()=>!!u(),r=()=>document.querySelector(d)?.dataset.dismissible==="true",i=e=>{n()&&e&&!s&&(document.body.style.overflow="hidden",document.body.style.position="static",document.body.style.height="100vh")},m=({dismissible:e}={})=>{s=e??r(),document.documentElement.style.overflow="hidden",c?l(i,{onlyOnce:!0}):(l(i),c=!0)};e.exports={getOpenPaywall:u,isPaywallOpen:n,applyPaywallScrollLock:m,restorePaywallScrollLockIfNeeded:()=>{n()&&m()}}}}]); /* window.modules["83"] */ "use strict";(self.modules=self.modules||[]).push([["83"],{83:(l,e,a)=>{let r=a("23"),{resolveEnabledRegion:t}=a("70"),n={meterPaywallMeterMax:3,meterPaywallVariation:"",meterPaywallPvLossResetEnabled:!1,meterPaywallResetStorageEnabled:!1,meterPaywallOff:!0,subOnlyPaywallVariation:"",subOnlyPaywallVariationViewChangeMax:1,subOnlyPaywallOff:!0,livestoryPaywallMeterEnabled:!1,livestoryPaywallOff:!0,watchButtonMarketingRedirectEnabled:!1,navSubscribeButtonEnabled:!1,regwallMeterMax:6,regwallAllowSubOnlyAccess:!1,regwallAllowFreeAccess:!1,regwallAllowViaOptimizely:!1,regwallOff:!0,subscriptionOfferType:"",paywallExpressCheckoutEnabled:!1,paywallExpressCheckoutVariation:"",paywallEmailCaptureEnabled:!1},s=(l=t())=>(r.get("DYNAMIC_CONFIG.paywall_regional_flags",{})||{})[l]||{},w=(l,e)=>{if(!(l in n))throw Error(`getRegionFlag: unknown flag "${l}"`);return s(e)[l]??n[l]};l.exports={FLAG_DEFAULTS:n,getAllRegionFlags:s,getRegionFlag:w,shouldDowngradeSubOnlyToMeter:l=>w("subOnlyPaywallOff",l)&&!w("meterPaywallOff",l)}}}]); /* window.modules["84"] */ "use strict";(self.modules=self.modules||[]).push([["84"],{84:(t,e,i)=>{let l=i("23"),{ClientTemplate:a}=i("94"),{actions:s,subscribe:n}=i("48"),{decode:o}=i("68"),{SSO:r}=s,{createSsoBtn:p}=i("678"),{initCustomGoogleButton:c}=i("101"),{initCustomAppleButton:h}=i("679"),E={GOOGLE:"GOOGLE",APPLE:"APPLE",EMAIL:"EMAIL"},d=[E.GOOGLE,E.APPLE];t.exports={SocialSignOnHelper:class{constructor(t){this.googleSsoEnabled=l.get("REG_SSO_GOOGLE_ENABLED"),this.appleSsoEnabled=l.get("REG_SSO_APPLE_ENABLED"),this.hbsEnv=a.createHandlebarsEnvironment(),this.setupIdentities(t)}setupIdentities(t){let{el:e,googleData:i,appleData:a,ssoLoadCompleteCallback:s,isAmazonPVCPromo:n,isEmailCaptureRegWall:o,wallCountAnalyticsValue:r,onAmazonPVCClick:p,skipClickTracking:c}=t;this.el=e,this.googleData=i,this.appleData=a,this.ssoLoadCompleteCallback=s,this.isAmazonPVCPromo=n||!1,this.isEmailCaptureRegWall=o||!1,this.wallCountAnalyticsValue=r??"",this.componentStellarId=e?.dataset?.componentStellarId,this.onAmazonPVCClick=p,this.skipClickTracking=c||!1,this.identityMap={...this.googleData&&this.googleSsoEnabled&&{GOOGLE:{name:E.GOOGLE.toLowerCase(),wrapper:this.el.querySelector(this.googleData.wrapperSelector),type:E.GOOGLE,clientId:l.get("SSO_GOOGLE_CLIENT_ID")}},...this.appleData&&this.appleSsoEnabled&&{APPLE:{name:E.APPLE.toLowerCase(),wrapper:this.el.querySelector(this.appleData.wrapperSelector),type:E.APPLE,clientId:l.get("SSO_APPLE_CLIENT_ID")}}},this.subscribeSsoLoadComplete(),this.initSsoBtns()}subscribeSsoLoadComplete(){let t=[],e=0;this.identityMap.GOOGLE&&t.push("google"),this.identityMap.APPLE&&t.push("apple"),n(r.BTN_LOADED,({type:i})=>{t.includes(i)&&e++,e===t.length&&this.ssoLoadCompleteCallback&&this.ssoLoadCompleteCallback()})}initSsoBtns(){let{GOOGLE:t,APPLE:e}=this.identityMap,i=t?.wrapper,l=e?.wrapper;if(i){let{initAlreadyCalled:e,templateData:l,credentialHandler:a,loginHint:s}=this.googleData,n=p({ssoType:this.identityMap.GOOGLE.name,...l},this.hbsEnv,!0);i.innerHTML=n,c({containerEl:i,credentialHandler:a,clientId:t.clientId,initAlreadyCalled:e,loginHint:s,isAmazonPVCPromo:this.isAmazonPVCPromo,isEmailCaptureRegWall:this.isEmailCaptureRegWall,wallCountAnalyticsValue:this.wallCountAnalyticsValue,componentStellarId:this.componentStellarId,onAmazonPVCClick:this.onAmazonPVCClick,skipClickTracking:this.skipClickTracking})}if(l){let{templateData:t,onSuccess:i,onError:a,initAlreadyCalled:s}=this.appleData,n=p({ssoType:this.identityMap.APPLE.name,...t},this.hbsEnv,!0);l.innerHTML=n,h({containerEl:l,clientId:e.clientId,onSuccess:i,onError:a,initAlreadyCalled:s,isAmazonPVCPromo:this.isAmazonPVCPromo,isEmailCaptureRegWall:this.isEmailCaptureRegWall,wallCountAnalyticsValue:this.wallCountAnalyticsValue,componentStellarId:this.componentStellarId,onAmazonPVCClick:this.onAmazonPVCClick,skipClickTracking:this.skipClickTracking})}}},IDENTITY_TYPES:E,IDENTITY_TYPE_KEY:"CNN_ITYPE",ssoIdentityTypes:d,getEmailFromSSOCredential:t=>{let e=t?.split(".")?.[1];if(!e)return null;try{let{email:t}=JSON.parse(o(e));return t||null}catch{return null}},getPreferredIdentityType:t=>{let e=(Array.isArray(t)?t:[]).map(t=>t?.identityType).filter(Boolean);return e.find(t=>d.includes(t))||(e.includes(E.EMAIL)?E.EMAIL:e[0])}}}}]); /* window.modules["85"] */ "use strict";(self.modules=self.modules||[]).push([["85"],{85:(s,e,t)=>{let a=t("116"),{getSSOIdentityTypes:l,loginUser:r}=t("35"),{getPreferredIdentityType:i}=t("84"),u=async(s,e)=>{let t=!1,u=null,o=await l({credential:e,identityType:s}),d=Array.isArray(o?.data)?o.data:[],n=d.some(e=>e?.identityType===s),p=n?s:i(d);if(o.success&&n){let{success:l,userInfo:i}=await r({ssoType:s,password:e});u=a(i,"user.userProfileResponses.cnn.profileStatus"),t=l}return{userLoggedIn:t,profileStatus:u,lookupFailed:!o.success,existingIdentityType:p}};s.exports={loginExistingSSOUser:u}}}]); /* window.modules["86"] */ "use strict";(self.modules=self.modules||[]).push([["86"],{86:(e,r,o)=>{let d=o("23"),{addScriptTag:s}=o("9"),t={google:{scriptId:"google-sso",getSrc:()=>d.get("SSO_GOOGLE_SRC"),isLoaded:()=>!!window.google?.accounts?.id},apple:{scriptId:"apple-sso",getSrc:()=>d.get("SSO_APPLE_SRC"),isLoaded:()=>!!window.AppleID}},i={};e.exports={loadSsoSdk:e=>{let r=t[e];if(!r)return Promise.reject(Error(`Unknown SSO provider: ${e}`));if(r.isLoaded())return Promise.resolve();if(i[e])return i[e];let o=r.getSrc();return o?(i[e]=new Promise((d,t)=>{let l=document.getElementById(r.scriptId)||s({src:o,async:!0,id:r.scriptId});if(r.isLoaded()){d();return}l.addEventListener("load",()=>d()),l.addEventListener("error",()=>{l.remove(),delete i[e],t(Error(`Failed to load SSO SDK for provider: ${e}`))})}),i[e]):Promise.reject(Error(`Missing SSO SDK src for provider: ${e}`))}}}}]); /* window.modules["87"] */ "use strict";(self.modules=self.modules||[]).push([["87"],{87:(o,t,e)=>{let{v4:n}=e("173"),{authClient:r}=e("35"),i={"/account/register/rokt":"register","/account/log-in/rokt":"login","/account/payment/rokt":"payment","/account/onboarding/rokt":"onboarding","/subscription/rokt":"subscription"},a=()=>(window.location.pathname??"/").replace(/\/$/,"")||"/",c=()=>a()in i,s=o=>{window.mParticle?.ready&&window.mParticle.ready(o)};o.exports={ROKT_ALLOWLIST:i,normalizePath:a,isRoktAllowlistPath:c,whenMParticleReady:s,logRoktConversion:({amount:o,currency:t})=>{if(!c()||!window.mParticle?.ready)return;let e=String(o),i=t.toUpperCase(),a=r.getStoredUID()||n();s(()=>{window.mParticle.logEvent("conversion",window.mParticle.EventType.Transaction,{conversiontype:"subscription",confirmationref:a,amount:e,currency:i}),window.mParticle.upload()})}}}}]); /* window.modules["88"] */ "use strict";(self.modules=self.modules||[]).push([["88"],{88:(e,s,t)=>{let a=t("23"),o=a.get("DAM_API_HOST"),_=a.get("DAM_SERVING_HOST"),i=a.get("DAM_ACCESS_KEY"),m=a.get("DAM_DEFAULT_PATH"),l=t("682"),d=`build-env=${a.get("CONTENT_HUB_ENV")}; unique-deployment-key=${a.get("CONTENT_HUB_UNIQUE_DEPLOYMENT_KEY")}; build-version=${a.get("__CONTENT_HUB_BUILD_VERSION__")}; build-commit-hash=${a.get("__CONTENT_HUB_BUILD_COMMIT_HASH__")}`,n={images:new l({damApiHost:o,damServingHost:_,damAccessKey:i,damDefaultPath:m,damDocument:"images",DAM_TYPE:"stellar",userAgent:d}),loops:new l({damApiHost:o,damServingHost:_,damAccessKey:i,damDefaultPath:m,damDocument:"loops",DAM_TYPE:"stellar",userAgent:d}),videos:new l({damApiHost:o,damServingHost:_,damAccessKey:i,damDefaultPath:m,damDocument:"videos",DAM_TYPE:"stellar",userAgent:d})};e.exports=n.images,e.exports.imageClient=n.images,e.exports.loopClient=n.loops,e.exports.videoClient=n.videos,e.exports.getDamClient=e=>{switch(e){case"image":default:return n.images;case"loop":return n.loops;case"video":return n.videos}}}}]); /* window.modules["94"] */ "use strict";(self.modules=self.modules||[]).push([["94"],{94:(t,e,r)=>{let n=r("771"),a=r("750");class l{constructor(t,e,r={}){this._hbs=l.createHandlebarsEnvironment(r),this._currentState=l.extractStateFromElement(t),this._template=this._hbs.template(e),this._currentElement=t}static createHandlebarsEnvironment(t){let e=t&&t.helpers?t.helpers:{},r=t&&t.partials?t.partials:{},l=a(n.create());for(let t in e)Object.prototype.hasOwnProperty.call(e,t)&&l.registerHelper(t,e[t]);for(let t in r)if(Object.prototype.hasOwnProperty.call(r,t)){let e=r[t];l.registerPartial(t,"string"==typeof e?e:l.template(e))}return l}static extractStateFromElement(t){let e={};try{e=JSON.parse(t.dataset.state)}catch(t){}return e}static createElementFromHTML(t){let e=document.createElement("div");return e.innerHTML=t,e.firstElementChild}getElement(){return this._currentElement}getState(){return this._currentState}render(t){let e={...this._currentState,...t},r=this._template(e),n=l.createElementFromHTML(r);this._currentElement.parentNode.replaceChild(n,this._currentElement),this._currentElement=n,this._currentState=e}}t.exports={ClientTemplate:l}}}]); /* window.modules["95"] */ "use strict";(self.modules=self.modules||[]).push([["95"],{95:(e,t,n)=>{let{setCookie:o}=n("8"),i=e=>{switch(e){case void 0:return"undefined";case null:return"null";case"":return"nvs";default:return e}},a=e=>{let t=e.map(i).join("|");o(`hpt=${t};path=/;`)};e.exports={setAdobeAnalyticsCookie:(e,t)=>{e.addEventListener("click",()=>{a([window.CNN.contentModel.section,t.zone_type,t.zone_name,t.zone_position_number,t.zone_total_number,t.product_zone_position_number,t.product_zone_total_number,t.combined_zone_position_number,t.combined_zone_total_number,t.stacks_identifier,t.stack_position,t.stack_total_number,t.container_type,t.container_name,t.container_position_number,t.container_total_number,t.container_page_position_number,t.container_page_total_number,t.card_link_type,t.card_name,t.card_position_number,t.card_total_number,t.card_label])})},setAdobeAnalyticsGenericDataCookie:(e,t=[])=>{e.addEventListener("click",()=>{a(t)})},setLiveStoryUpdatesAnalyticsCookie:(e,t)=>{e.addEventListener("click",()=>{a([t.templateType,t.module,t.linkNumber,t.totalNumberOfLinks,t.linkValue])})},setFollowAdobeAnalyticsCookie:(e,t)=>{e.addEventListener("click",()=>{a([t.feature,t.templateType,t.module,t.topicName,t.topicId])})},convertValueToAdobeAnalyticsData:i,setAdobeAnalyticsDataForCookie:a}}}]); /* window.modules["100"] */ "use strict";(self.modules=self.modules||[]).push([["100"],{100:(e,t,n)=>{let l=n("23"),{getRegionFlag:a}=n("83"),{getPaywallTemplateData:s,wallTypes:i}=n("753"),{defaultManageWallVisibility:o}=n("80"),{getMeterData:r,payMeterConfig:d}=n("598"),{actions:u,dispatch:c}=n("48"),{getCookie:A}=n("8"),{PAYWALL:L}=u,{isSubscriberCB:E}=n("80"),{pianoUCStates:w,pianoCookieName:P,pianoWallTriggeredEvent:_,pianoScriptLoadFailedEvent:I,pianoSessionIdKey:f}=n("591"),m=(e,t,l=o,u=!1,{isSubscriptionContent:A=!1}={})=>{if(e.classList.contains("user-account-reg-wall--activated"))return;let w=a("meterPaywallMeterMax");E(a=>{let o=e.classList.contains("user-account-reg-wall--activated");if(a||o){c(L.UPDATE_STATUS,{fired:!1});return}let E=t;if(A){let{subOnlyWallCount:e}=r({...d,shouldIncrementWallCount:!1,shouldIncrementSubOnlyWallCount:!0});E=e}let P=s({meterMax:w,wallCount:E,wallType:A?i.EXCLUSIVE_PAYWALL:i.METER_PAYWALL,isLoggedIn:u}),{triggerRegWall:_}=n("754");_(e,{isLoggedIn:u,...P},l),c(L.UPDATE_STATUS,{fired:!0})})};e.exports={pianoUCStates:w,pianoCookieName:P,pianoSessionIdKey:f,pianoScriptLoadFailedEvent:I,pianoEnabledAndHasUserConsent:()=>l.get("PIANO_WALL_ENABLED")&&l.get("PIANO_ENABLED")&&window.WBD.UserConsent.inUserConsentState(w,{name:"piano-init"}),triggerWall:m,setupPianoMeterWall:(e,t=o,n=!1,l)=>{let s=window.CNN.metadata?.content?.subscriptionContent,i=a("meterPaywallMeterMax"),u=0;if(!s){let{wallCount:e}=r({...d,meterMax:i});u=e}let c=!1,A=()=>{c||(c=!0,m(e,u,t,n,{isSubscriptionContent:s}))},L=()=>{if(!c){if(c=!0,l){l();return}m(e,u,t,n,{isSubscriptionContent:s})}};window.PIANO_WALL_TRIGGERED?A():window.PIANO_SCRIPT_LOAD_FAILED?L():(document.addEventListener(_,A,{once:!0}),document.addEventListener(I,L,{once:!0}))},getPianoSessionId:()=>A(f,"")||""}}}]); /* window.modules["101"] */ "use strict";(self.modules=self.modules||[]).push([["101"],{101:(t,e,o)=>{let{actions:n,dispatch:i}=o("48"),{SSO:c}=n,a=o("23"),{trackMetrics:l}=o("33"),{addGenericClickAnalytics:u,zionEventHandler:r}=o("11");t.exports={initCustomGoogleButton:({containerEl:t,credentialHandler:e,clientId:o,enableOneTap:n,enableAutoSignIn:s,initAlreadyCalled:g,loginHint:d,isAmazonPVCPromo:p,isEmailCaptureRegWall:m,wallCountAnalyticsValue:_,componentStellarId:w,onAmazonPVCClick:y,skipClickTracking:b})=>{let h;let k=o||a.get("SSO_GOOGLE_CLIENT_ID"),f=()=>{let e=t.querySelector('.user-account-sso-button[data-sso-type="google"]');if(!e)return;let o=e.querySelector(".user-account-sso-button__button-handle"),n=e.querySelector(".user-account-sso-button__button");h?.renderButton(o,{type:"icon",width:"200"});let a=o?.querySelector("div[role=button]");n.addEventListener("click",()=>{if(b){a?.click();return}p?(l({type:"user-interaction",data:{interaction:"user account:continue with google:click"}}),u({componentType:"button",traits:{component_name:"user account:continue with google",action:"click",feature:"social login"}}),y?.("continue with google")):m?(l({type:"user-interaction",data:{interaction:`regiwall:google${_}:continue:click`}}),r({href:window.location.href,type:"BUTTON",customAttributes:{component_id:w,component_type:"regiwall",component_name:"regiwall",action:"button click",interaction:"continue with google"}},"GenericLinkClick")):(l({type:"user-interaction",data:{interaction:"cnn account:sign in with google:button:initiate"}}),u({componentType:"button",traits:{component_name:"cnn account:sign in with google:button:initiate",action:"click",feature:"social login"}})),a?.click()}),i(c.BTN_LOADED,{type:"google"})},S=()=>{h=window.google?.accounts?.id,g||h?.initialize({client_id:k,callback:e,use_fedcm_for_prompt:!0,...s&&{auto_select:!0},...d&&{login_hint:d,button_auto_select:!0}}),n?h?.prompt(t=>{t.isSkippedMoment()&&l({type:"user-interaction",data:{interaction:"cnn account:sign in with google:one tap:dismiss:click"}})}):f()};window.google?.accounts?.id||"complete"===document.readyState?S():window.addEventListener("load",S,{once:!0})}}}}]); /* window.modules["102"] */ (self.modules=self.modules||[]).push([["102"],{102:(e,r,t)=>{var n=t("740"),o=t("741"),f=t("742"),u=t("607"),i=t("743"),l=t("744"),s=t("745"),p=t("746"),c=Object.prototype.hasOwnProperty;e.exports=function(e){if(null==e)return!0;if(i(e)&&(u(e)||"string"==typeof e||"function"==typeof e.splice||l(e)||p(e)||f(e)))return!e.length;var r=o(e);if("[object Map]"==r||"[object Set]"==r)return!e.size;if(s(e))return!n(e).length;for(var t in e)if(c.call(e,t))return!1;return!0}}}]); /* window.modules["103"] */ "use strict";(self.modules=self.modules||[]).push([["103"],{103:(e,t,s)=>{let i=s("116"),{v4:r}=s("173"),{addPurchase:a,addPaymentSource:n,getActiveSub:o,createSetupIntent:c,resolveGizmoRegion:l}=s("40"),h=s("23"),{loadStripe:u}=s("126"),{createPaymentMethod:p,confirmCardSetup:d,paymentSourceTypes:g,getPaymentErrorMessage:m}=s("52"),{pianoEnabledAndHasUserConsent:y,getPianoSessionId:f,pianoSessionIdKey:k}=s("100"),{removeCookie:_}=s("8");e.exports=class{constructor({el:e,region:t,token:s,creditCardFields:i}){this.el=e,this.token=s,this.region=t,this.creditCardFields=i,this.idempotencyKey=r()}async initialize(){let e=h.get(`GIZMO_${l(this.region)}_STRIPE_PUBLISH_KEY`);this.stripe=await u(e)}async getSetupIntent(){let{clientSecret:e}=await c(this.token,this.region);return this.clientSecret=e,e}async processCardCheckout({arkoseToken:e,cardElement:t,ownerName:s}){let r={},a=this.creditCardFields?.buildBillingDetailsOwner()??{name:s},{paymentMethod:o,error:c}=await p({cardElement:t,stripe:this.stripe,owner:a,region:this.region});if(o&&!c){r.paymentMethodId=o.id;let s=await n(this.token,{source:r.paymentMethodId,setupIntentParameters:{create:!1,confirm:!1},...e&&{misc:{arkoseSessionToken:e}}},this.region);r.lastRequest="payment_source";let{success:i}=s;i&&(s=await d({stripe:this.stripe,cardElement:t,clientSecret:this.clientSecret,paymentMethod:o,owner:{name:a.name}}),r.lastRequest="confirm_setup_intent"),r={...r,...s}}else{let e=i(c,"code","");r.stripeError=e,r.errorMsg=m(e,{region:this.region,fallback:i(c,"message","")})}return r}async createPurchase({productId:e,paymentSource:t,cardElement:s,ownerName:i,expressSetupResult:r,metadata:n,subscriptionIdForRenewal:c,arkoseToken:l=null}){let h,u={success:!1,lastRequest:"create_payment_method"};if(t===g.CARD){let{errorMsg:e,stripeError:t,...r}=await this.processCardCheckout({cardElement:s,ownerName:i,arkoseToken:l});if(h=r,e)return u.errorMsg=e,u.stripeError=t,u}else if(t===g.EXPRESS&&(h=r??{},!(r&&r.setupIntent&&r.paymentMethodId)))return{...u,lastRequest:"express_setup",errorMsg:"Missing payment details for express checkout."};let{setupIntent:p,paymentMethodId:d}=h;if(p){let t={purchases:[{productId:e,idempotencyKey:this.idempotencyKey,...c&&{subscriptionId:c}}],source:d},s={...n||{}};if(y()){let e=f();e&&(s.piano_session_id=e)}Object.keys(s).length>0&&(t.purchases[0].metadata=s),h=await a(this.token,t,this.region),h?.success&&_(k),h.lastRequest="purchase";let{subscriptions:i}=await o(this.token),r=h.purchaseData?.purchases[0]?.subscriptionId,l=i?.find(({id:e})=>e===r);h.purchaseDateMillis=l?.purchaseDateMillis}let{errors:I,...w}=h;if(u={...w},I&&I.length){let{error:e,message:t}=I[0],s=m(e,{region:this.region,fallback:t});u={...u,errorMsg:s,stripeError:e}}return u}}}}]); /* window.modules["107"] */ "use strict";(self.modules=self.modules||[]).push([["107"],{107:(e,r,t)=>{let{ClientTemplate:l}=t("94"),o=t("755"),s=t("773"),{generateAmazonPvcLink:a}=t("59");e.exports={createConfirmationForm:(e,r=!1)=>{let t=l.createHandlebarsEnvironment({helpers:{generateAmazonPvcLink:a},partials:{"brand-logo":s}}).template(o)({...e,noRef:!0});return r?t:l.createElementFromHTML(t)}}}}]); /* window.modules["108"] */ "use strict";(self.modules=self.modules||[]).push([["108"],{108:(e,t,r)=>{let{ClientTemplate:n}=r("94"),a=r("756"),o=r("757");e.exports={createAccordion:(e,t=!1)=>{let r=n.createHandlebarsEnvironment({partials:{"accordion-item":o}}).template(a)({...e,noRef:!0});return t?r:n.createElementFromHTML(r)},createAccordionItem:(e,t=!1)=>{let r={...e,noRef:!0},a=n.createHandlebarsEnvironment().template(o)(r);return t?a:n.createElementFromHTML(a)}}}}]); /* window.modules["115"] */ "use strict";(self.modules=self.modules||[]).push([["115"],{115:(s,e,l)=>{let t=l("754"),u=l("598"),o=l("80"),d=l("753"),f=l("766"),m=l("767"),p=l("769"),r=l("585"),c=l("306");s.exports={...t,...o,...u,...d,...f,...m,...r,...p,...c}}}]); /* window.modules["116"] */ (self.modules=self.modules||[]).push([["116"],{116:(e,l,o)=>{var s=o("752");e.exports=function(e,l,o){var u=null==e?void 0:s(e,l);return void 0===u?o:u}}}]); /* window.modules["117"] */ (self.modules=self.modules||[]).push([["117"],{117:s=>{s.exports=function(){}}}]); /* window.modules["120"] */ "use strict";(self.modules=self.modules||[]).push([["120"],{120:(e,t,E)=>{let{isArabicSite:s,isEspanolSite:n,isCNN10Site:u}=E("363"),l=E("23");function S(){return[].concat(l.get("ALL_ACCESS_ENABLED_REGIONS",[])||[])}e.exports={getAllAccessEnabledRegions:S,isSubscriptionsEnabled:function(e){let t=S();return l.get("USER_ACCOUNT_ENABLED")&&t.length>0&&l.get("HEADER_SUBSCRIPTIONS_BUTTON_ENABLED")&&!n(e)&&!s(e)&&!u(e)}}}}]); /* window.modules["123"] */ (self.modules=self.modules||[]).push([["123"],{123:(e,l,s)=>{var u=s("763");e.exports=function(e,l,s){return null==e?e:u(e,l,s)}}}]); /* window.modules["125"] */ "use strict";(self.modules=self.modules||[]).push([["125"],{125:(A,L,e)=>{let{resolveEnabledRegion:E,CONFIG_BY_REGION:_}=e("70"),{paywallOfferTypes:C}=e("643"),{generateRenewalText:S,hasExpiredOfferProduct:l}=e("41"),R={US:e("654"),CA:e("776"),UK:e("770")},Y={[C.ALL_ACCESS_NO_OFFER]:["ALL_ACCESS_MONTHLY","ALL_ACCESS_YEARLY"],[C.WELCOME]:["ALL_ACCESS_MONTHLY","ALL_ACCESS_WELCOME_OFFER_YEARLY"],[C.NYE]:["NYE_OFFER_ANNUAL","BASIC_YEARLY"],[C.ANNUAL_INTRO_OFFER]:["ALL_ACCESS_WELCOME_OFFER_YEARLY","BASIC_YEARLY"],[C.ANNUAL_NO_OFFER]:["ALL_ACCESS_YEARLY","BASIC_YEARLY"],DEFAULT:["BASIC_YEARLY","BASIC_MONTHLY"]},r={US:"",CA:"",UK:C.ALL_ACCESS_NO_OFFER},t=A=>_[A]?.promoProducts,F=(A,L)=>{let e=Y[L||"DEFAULT"],E=t(A);return!!e&&!!E&&e.every(A=>E[A])},O=(A,L)=>{let e=t(A);return Y[L||"DEFAULT"].map(A=>e[A])};A.exports={getRegionalWallConfig:(A=E())=>_[A]||{},getRegionalPaywallText:A=>_[A]?.regionalLanguage||_.US.regionalLanguage,getWallProductsForRegion:(A=E())=>R[A]||[],isOfferTypeSupported:F,resolveValidatedOfferType:(A,L)=>{if(F(A,L)){let e=O(A,L);return l(R[A],e)?r[A]:L||""}return r[A]??""},buildRegionalRenewalText:S}}}]); /* window.modules["126"] */ "use strict";(self.modules=self.modules||[]).push([["126"],{126:(e,s,l)=>{l.r(s),l.d(s,{loadStripe:()=>d.loadStripe});var d=l("775")}}]); /* window.modules["127"] */ "use strict";(self.modules=self.modules||[]).push([["127"],{127:(e,l,t)=>{let d=t("799"),a={STATE:"state",ZIP:"zip"},s={US:[a.STATE,a.ZIP],GB:[a.ZIP],CA:[a.ZIP]},i={US:"ZIP code",GB:"Postal code",CA:"Postal code"},r={US:"Enter a valid ZIP.",GB:"Enter a valid postal code.",CA:"Enter a valid postal code."},o=(e="US")=>r[e]||r.GB,S=(e,l="US")=>!0===d.validate(l,e);e.exports={ADDRESS_FIELDS:a,getPostalCodeValidationMessage:o,getFormfieldsForRegion:(e=[],l="US")=>{let t=s[l]||s.US,d=i[l]||i.US;return e.filter(e=>!e.addressField||t.includes(e.addressField)).map(e=>e.addressField!==a.ZIP?e:{...e,labelText:d,ariaLabelText:d})},validateZipCode:S,validateZipCodeField:(e,{required:l=!1,countryCode:t="US"}={})=>{let d=e.trim();if(l&&!d.length){let e=i[t]||i.GB;return`${e} is required.`}return d.length&&!S(d,t)?o(t):""}}}}]); /* window.modules["128"] */ "use strict";(self.modules=self.modules||[]).push([["128"],{128:s=>{let e=new Set(["subscription-billing"]);s.exports={SHOW_TOAST_PARAM:"show_toast",SETTINGS_SCROLL_PARAM:"scroll_to",SETTINGS_SECTION_IDS:e,isAdsRedesignQueryParamEnabled:function(s){return s?.adsRedesign?"true"===s.adsRedesign:void 0}}}}]); /* window.modules["130"] */ "use strict";(self.modules=self.modules||[]).push([["130"],{130:(e,t,n)=>{let a=n("395"),{buildVodEpisodePlayerConfig:l}=n("26"),{setAssetAnalytics:r,setAuthTypeAnalytics:s}=n("28"),{isVodUpNextEnabled:u}=n("29"),o=".tve-vod-detail__season-wrapper",d=`${o}.active`,i='[data-component-name="tve-asset"][data-playable-asset]',c=null;function p(e){return e?[...e.querySelectorAll(i)].map(e=>({assetData:{...e.dataset},assetEl:e})):[]}function m(e){let t=a(e);return delete t.bolt,t}function f(){return c||(c=p(document.querySelector(d)))}function y(e={},t,n={}){return function(e,t={},{applyTileAnalytics:n=!1}={}){return e.map(({assetData:e,assetEl:a})=>{let u=l(e,a);return n&&(r(u,{updatePlayerInstance:!1}),s(u,{updatePlayerInstance:!1})),{...u,markupId:t.markupId,networkId:t.networkId||e.networkId,el:t.el}})}(function(e){let t=f();return null==e||t.some(t=>t.assetData.assetId===e)?t:p([...document.querySelectorAll(o)].find(t=>[...t.querySelectorAll(i)].some(t=>t.dataset.assetId===e)))}(t),e,n)}e.exports={invalidateEpisodeCache:function(){c=null},getUpNextPlayConfigs:function(e,t){let n=y(e,t),a=n.findIndex(e=>e.mediaMetadata?.mediumId===t);return -1===a?[]:n.slice(a+1).map(m)},getContentDiscoveryPlayConfigs:function(e,t){let n=y(e,t,{applyTileAnalytics:!0});return u()?n.map((e,t)=>({...a(e),bolt:{upNext:{enabled:!0,playConfigs:n.slice(t+1).map(m)}}})):n},scrapeActiveSeasonAssetEntries:f}}}]); /* window.modules["131"] */ "use strict";(self.modules=self.modules||[]).push([["131"],{131:(e,t,r)=>{let{authClient:a}=r("35"),{getRegionFlag:i}=r("83"),{isPageVariant:n,PAGE_VARIANTS:o}=r("7"),{waitForVodFreeviewActive:c}=r("22"),{isAllAccessSubscriber:s}=r("42"),{isAuthenticated:l}=r("73"),{getQueryParam:w}=r("57"),d=r("34"),u="/subscription/all-access",E=async({pageVariants:e,sourceArg:t,redirectArg:r,allowDuringVodFreeview:E})=>{if(E&&await c()||n([o.TVE_SERIES,o.TVE_SERIES_V2,o.TVE_FILM,o.TVE_FILM_V2,o.LIVESTORY,o.HOMEPAGE])&&!i("watchButtonMarketingRedirectEnabled")||e&&!n(e)||a.tokenWithAuthn()&&await s()||l())return!1;let h=new d({}),R=w(new URLSearchParams(window.location.search),"source"),m=h.appendParams({targetUrl:new URL(u,window.location.origin),sourceUrl:new URL(window.location.pathname,window.location.origin),customParams:{source:R||t,redirect:r||window.location.href}});return h.triggerRedirect({redirectUrl:m,fallbackRedirect:u}),!0};e.exports={redirectToMarketing:E}}}]); /* window.modules["132"] */ "use strict";(self.modules=self.modules||[]).push([["132"],{132:(e,c,o)=>{let{convertAuthType:l}=o("9"),{checkDtcAccess:n}=o("73"),{isPageVariant:t,PAGE_VARIANTS:i}=o("7"),_=".tve-carousel__lock-icon, .container__lock-icon.container_dtc-shelf-carousel__lock-icon, .container__lock-icon.container_shelf-carousel__lock-icon, .container__lock-icon.container_shelf-carousel-tve__lock-icon, .container__lock-icon.container_shelf-carousel-tve-media-only__lock-icon, .container__lock-icon.container_shelf-carousel-tve-headlines__lock-icon",s=[i.TVE_DTC_VIDEO,i.ALLACCESS_VIDEO,i.TVE_STREAM,i.LIVE_TV,i.TVE_SERIES,i.TVE_FILM];async function r(e=document){if(!await n()){e.querySelectorAll(_).forEach(e=>e.classList.add("locked"));return}e.querySelectorAll(".tve-carousel__lock-icon.locked, .container__lock-icon.container_dtc-shelf-carousel__lock-icon.locked, .container__lock-icon.container_shelf-carousel__lock-icon.locked, .container__lock-icon.container_shelf-carousel-tve__lock-icon.locked, .container__lock-icon.container_shelf-carousel-tve-media-only__lock-icon.locked, .container__lock-icon.container_shelf-carousel-tve-headlines__lock-icon.locked").forEach(e=>e.classList.remove("locked"))}async function a(e){let c=e&&e.querySelector("video, .video-resource"),o=e.querySelector(".container__lock-icon");if(!c||!o)return;let t=l(c.dataset?.authType);if(!(t&&t.includes("dtc"))){o.classList.remove("locked");return}await n()?o.classList.remove("locked"):o.classList.add("locked")}e.exports={checkLockIconVisibility:a,toggleLockIconsBasedOnAuth:function(){s.some(e=>t(e))&&(r(),function(e=document){e.querySelectorAll(_).forEach(e=>{a(e.closest(".container_dtc-shelf-carousel__item")||e.closest(".container_shelf-carousel__item")||e.closest(".container_shelf-carousel-tve__item")||e.closest(".container_shelf-carousel-tve-headlines__item")||e.closest(".container__item")||e)})}())},toggleLockIcons:r}}}]); /* window.modules["133"] */ "use strict";(self.modules=self.modules||[]).push([["133"],{133:(e,t,o)=>{let{getComponentInstance:n}=o("78"),l=o("116");e.exports={getAssetTraits:function(e){let t="[data-component-name='tve-carousel']",o=document.querySelectorAll(t),a=e.closest(t);return{cms_id:l(window,"CNN.contentModel.cmsId",""),canonical_url:l(window,"CNN.contentModel.canonicalUrl",""),component_id:n(e.dataset.uri||""),component_text:e.dataset.assetTitle,component_position:Array.prototype.indexOf.call(l(e,"parentNode.children",[]),e)+1,component_total:l(e,"parentNode.childElementCount",0),component_type:"video",carousel_id:n(l(a,"dataset.uri","")),carousel_type:"carousel",carousel_text:l(a,"dataset.title",""),carousel_position:Array.prototype.indexOf.call(o,a)+1,carousel_total:o.length}}}}}]); /* window.modules["134"] */ "use strict";(self.modules=self.modules||[]).push([["134"],{134:(t,e,n)=>{let{getComponentInstance:r}=n("78"),{zionEventHandler:a}=n("11"),i="[data-component-name='container'], [data-component-name='tve-carousel']",o="[data-component-name='card'], [data-component-name='tve-asset']",l=new Set(["play-main","play-inline"]);function s(t){return r(t||"")||""}function c(t,e={}){if(!t)return{href:"",type:"",customAttributes:{}};let n=function(t){if(!t)return t;let e=t.closest?.(o);if(!e)return t;let n=t.closest?.("a[href], [data-render-intent]");return n&&e.contains(n)?n:t}(t),r=n.closest(i),a=n.closest(o),u=r?Array.from(r.querySelectorAll(o)).filter(t=>t.closest(i)===r):[],d=Array.from(document.querySelectorAll(i)).filter(t=>(t.dataset?.componentName==="tve-carousel"||t.classList?.contains("container_shelf-carousel")||t.classList?.contains("container_dtc-shelf-carousel"))&&t.querySelector(o)),f=a?u.indexOf(a):-1,m=r?d.indexOf(r):-1,_=function(t){let e={};for(let[n,r]of Object.entries(t))""!==r&&null!=r&&(e[n]=r);return e}({component_id:s(a?.dataset?.uri),component_name:function(t,e){if(!e)return t.getAttribute?.("aria-label")||"";let n=e.dataset||{};return n.assetSubTitle||n.assetTitle||e.querySelector(".container__headline-text")?.textContent?.trim()||e.querySelector(".tve-asset__title")?.textContent?.trim()||n.videoTitle||t.getAttribute?.("aria-label")||""}(n,a),component_type:!function(t,e){let n=t.dataset?.renderIntent||t.closest("[data-render-intent]")?.dataset?.renderIntent;if(n&&l.has(n)||e?.dataset?.playableAsset==="1")return!0;let r=e?.querySelector(".container__card-wrapper");return!!(r?.dataset?.dtcVod==="true"&&(r===t||r.contains(t)))}(n,a)?"link":"video",item_position_number:f>=0?f+1:null,item_position_total:u.length||null,container_id:s(r?.dataset?.uri),container_type:r?"carousel":"",container_name:r&&(r.dataset?.title||r.querySelector(".container__title-text")?.textContent?.trim()||r.querySelector(".container__title_url-text")?.textContent?.trim()||r.querySelector(".tve-carousel__title")?.textContent?.trim())||"",container_position_number:m>=0?m+1:null,container_total_number:d.length||null,...e});return{href:function(t,e){if("A"===t.tagName&&t.href)return t.href;let n=t.querySelector?.("a[href]");if(n?.href)return n.href;if(e?.dataset?.assetUrl)return e.dataset.assetUrl;if(e?.dataset?.openLink)return e.dataset.openLink;let r=e?.dataset?.assetId||t.dataset?.assetId||e?.dataset?.videoId||t.dataset?.videoId;return r?`/videos/${r}`:""}(n,a),type:n.tagName||"",customAttributes:_}}t.exports={buildWatchGenericLinkClickPayload:c,fireWatchGenericLinkClick:function(t,e={}){t&&a(c(t,e),"GenericLinkClick")}}}}]); /* window.modules["135"] */ "use strict";(self.modules=self.modules||[]).push([["135"],{135:e=>{e.exports=function(e,t,s,n){let r=document.querySelector(`.${s}`);r||((r=document.createElement("div")).className=`scroll-depth-observer ${s}`,r.style=` top: ${e.offsetHeight*t}px; position: relative; width: 100%; left: 0; `,e.insertAdjacentElement("afterBegin",r));let o=new IntersectionObserver(function(e){e.map(e=>{e.isIntersecting&&(n(),o.unobserve(e.target))})});o.observe(r)}}}]); /* window.modules["136"] */ "use strict";(self.modules=self.modules||[]).push([["136"],{136:(e,t,i)=>{let s=i("396"),a=i("623"),m=i("624"),n=i("66"),{formatTimestampArabic:_,formatTimestampET:p}=i("15"),c=i("307"),{getSite:l,getSiteLanguage:d,isSite:v,SITES:r}=i("137"),u=i("65"),o=i("810"),{isPageVariant:$,PAGE_VARIANTS:h}=i("314"),{updateComponentVariation:f}=i("644"),E=(e,t)=>e.getTime()===t.getTime();function b(e){return $(e,[h.ARTICLE_ELEVATE_SMALL,h.ARTICLE_ELEVATE_MEDIUM,h.ARTICLE_ELEVATE_LARGE,h.ARTICLE_ELEVATE_XLARGE])}function L(e,t,i,s,a="،"){return e?`${c(t,"Updated")}${a} ${s} `:""}e.exports={displayElevatedTimestamp:function(e,t,i){let s=e?.meta?.firstPublishDate,a=e?.meta?.lastPublishDate;if(!s)return` Draft - created ${p(new Date(t),"dateFirst","shortGeneric")} `;if(e.edit)return i?` Timestamp not displayed `:` Timestamp displays here `;let m=!E(new Date(s),new Date(a)),n=d(l(e));if(v(e,r.arabic))return function(e,t,i,s){let a=_(new Date(e),!0),m=_(new Date(t)),n=L(i,s,t,m);return` ${c(s,"Updated")} ${m} ${c(s,"Published")} ${a} ${n} ${c(s,"Published")} ${a} `}(s,a,m,n);let u=p(new Date(s),"dateFirst","shortGeneric"),o=p(new Date(a),"dateFirst","shortGeneric"),$=L(m,n,a,o,"");return` ${c(n,"Updated")} ${o} ${c(n,"Published")} ${u} ${$} PUBLISHED ${u} `},elevateWhenNeeded:function(e,t,i=!1){return f(e,t,[()=>{if(!e)return"";if(!b(t))return e;let s=!e.includes("_");return!0===i&&s?`${e}_elevate`:`${e}-elevate`}])},formatLastUpdatedElevate:function(e,t,i=r.cnn){let _=d(i);t=new Date(t);let p=!E(new Date(e),t),l=new Date,v=s(t)?u(t):t,$=a(l,v),h=m(l,v),f=h%60,b=p?"Updated ":"";if(h${c(_,`${b}a min ago`)}`;if(i===r.arabic){if(2===h)return`${c(_,`${b}2 min ago`)}`;if(h${c(_,p?"Last updated since":"Published since")} ${h} ${c(_,"minutes")}`;if(h${c(_,p?"Last updated since":"Published since")} ${h} ${c(_,"minute")}`;if(1===$)return`${c(_,`${p?"Updated":"Published"} 1 hour ago`)}`;else if(2===$)return`${c(_,`${p?"Updated":"Published"} 2 hours ago`)}`;else if($${b}${f} min ago`:$0?`${b}${$} hr ${f} min ago`:${let{isOfType:r}=t("12"),c={cnn:"cnn",espanol:"es",arabic:"ar",cnn10:"cnn10"};Object.freeze(c);let i={[c.espanol]:"es",[c.cnn]:"en",[c.arabic]:"ar",[c.cnn10]:"en"},o=Object.entries(c).reduce((n,[e,t])=>(n[t]=e,n),{});function u(n,e=c.cnn){return n?.site?.site??n?.brandSite??e}function s(n){return i[n]||"en"}n.exports={SITES:c,getSite:u,getCurrentSite:function(){return"undefined"==typeof window?c.cnn:u(window.kiln?.locals??window.CNN?.contentModel,c.cnn)},getSiteLanguage:s,getSiteName:function(n){return o[n]||"cnn"},isSite:function(n,e){return r(e,u(n))},getDirection:function(n){return"ar"===s(u(n,"cnn"))?"rtl":"ltr"}}}}]); /* window.modules["140"] */ "use strict";(self.modules=self.modules||[]).push([["140"],{140:(e,t,r)=>{let{ClientTemplate:l}=r("94"),s=r("780");e.exports={createMvpdPicker:(e,t=!1)=>{let r=l.createHandlebarsEnvironment().template(s)(e);return t?r:l.createElementFromHTML(r)}}}}]); /* window.modules["146"] */ "use strict";(self.modules=self.modules||[]).push([["146"],{146:(e,t,n)=>{let r=n("116"),{isArticle:i}=n("17"),s=n("23");e.exports={isFeatureEnabled:function(e={},t){if(s.get("ENABLE_EXCLUDE_FEATURES",!1)){let n=["all",...Array.isArray(t)?t:[t]],i=r(e,"query.exclude",null);if(i&&""!==i.trim())return!i.split(",").some(e=>{let t=RegExp(`^${e}`,"ig");return n.some(e=>t.test(e))})}return!0},isArticleFeatureEnabled:function(e={},t){return!i(e.configuration)||!t||!!s.get(t)},isAdSlotFeatureEnabled:function(e,t){let n=!0;if("boolean"==typeof e&&t){let r=s.get("DYNAMIC_CONFIG.ads_features",{}),i=r?.[e?"international":"domestic"]?.[t];n=void 0===i?n:!!i}return n},isAdsFeatureEnabled:function(e={}){return e.configuration?.showAds??!0},isUkUpdatesEnabled:function(){return!!s.get("DYNAMIC_CONFIG.uk_all_access_expansion",!1)}}}}]); /* window.modules["149"] */ "use strict";(self.modules=self.modules||[]).push([["149"],{149:(e,t,n)=>{let o=n("116"),{setAdobeAnalyticsCookie:r}=n("95"),{addZJSClickAttributes:l}=n("11"),{isSection:a,SECTIONS:i}=n("19"),c="data-zion-processed",s="data-zjs-",u=e=>{let t=e.length;return new Map(e.map((e,n)=>[e,{position:n+1,total:t}]))},d=e=>{let t=e.querySelector(".container__item-media");return t?t.firstElementChild?.dataset.componentName:"link"},_=[i.HOMEPAGE,i.US,i.WORLD,i.BUSINESS,i.POLITICS,i.ENTERTAINMENT,i.HEALTH,i.OPINIONS,i.TRAVEL,i.STYLE,i.SPORTS,i.WEATHER],m=e=>{let t=e.querySelector(".container__text-label--text-content");if(!t){let n=e.closest('[data-uri*="/card/"]');n&&(t=n.querySelector(".container__text-label--text-content"))}return t&&t.innerText?.trim()||""},p=e=>e.dataset.collapsedText?.trim()||e.dataset.componentName,S=e=>{let t=e.closest('[data-uri*="/stack/"]'),n=t?.querySelector('[class$="__live-label"]');return n?.innerText?.trim()||""},y=(e,t,n={})=>{if(!e||!t)return;let{componentName:a,nameSelector:i,typeSelector:s,linkSelector:_,typeLocation:b,typePrefix:z="",nestedComponent:f}=t,A="zone"===a?e.querySelectorAll(".zone, .product-zone"):e.querySelectorAll(`[data-uri*="/${a}/"]`),k="zone"===a?u(Array.from(e.querySelectorAll(".zone:not(.product-zone)"))):null,h="zone"===a?u(Array.from(e.querySelectorAll(".product-zone"))):null,q="zone"===a?u(Array.from(A)):null;A.forEach((e,t)=>{let u="zone"===a,L=u&&e.classList.contains("product-zone"),N=e.dataset.uri,E=e.dataset.componentName,g=i?e.querySelector(i):null,C=s?e.querySelector(s):e,T=o(C,b)||o(C,"classList.[0]"),x=_?e.querySelector(_):e,$={...n,[`${a}_id`]:N,[`${a}_name`]:u?p(e):g?.innerText?.trim(),[`${a}_type`]:`${"product-zone"===E?"product-zone_":z}${T}`,...u?{}:{[`${a}_position_number`]:t+1,[`${a}_total_number`]:A.length}};if(u){let t=q.get(e);if($={...$,combined_zone_position_number:t.position,combined_zone_total_number:t.total},L){let t=h.get(e);$={...$,product_zone_position_number:t.position,product_zone_total_number:t.total,zone_position_number:"",zone_total_number:""}}else{let t=k.get(e);$={...$,zone_position_number:t.position,zone_total_number:t.total,product_zone_position_number:"",product_zone_total_number:""}}}if("stack"===a&&($={...$,stacks_identifier:"stack",stack_position:t+1,stack_total_number:A.length}),"container"===a){let t=document.querySelectorAll('[data-uri*="/container/"]'),n=t.length,o=Array.from(t).findIndex(e=>e.dataset.uri===N);$={...$,container_page_position_number:o+1,container_page_total_number:n,container_label:S(e)}}f&&(e.querySelectorAll(`[data-uri*="/${f.componentName}/"]`).length>0?y(e,f,$):f.nestedComponent&&y(e,f.nestedComponent,$)),Array.from(x?.querySelectorAll("a[href]")||[]).forEach(e=>{if(e.hasAttribute(c))return;let t="card"===a?{...$,card_link_type:d(e),card_label:m(e)}:{...$};r(e,t),l(e,t),e.setAttribute(c,"true")})})},b=null;e.exports={addZionAttributes:y,addZionAttributesForCard:e=>{let t=e||document.querySelector(".section");if(!t||!a(_))return;let n=window.CNN&&window.CNN.contentModel,o=document.querySelector("link[rel='canonical']"),r=n&&n.canonicalUrl||o&&o.href||window.location.href;y(t,{componentName:"zone",nameSelector:".zone__title, .product-zone__title",linkSelector:".zone__title-container, .product-zone__title-container, .zone__title, .product-zone__title",typeSelector:'[data-editable="items"]',typeLocation:"classList.[1]",typePrefix:"zone_",nestedComponent:{componentName:"stack",nameSelector:null,linkSelector:null,typeLocation:"classList.[0]",nestedComponent:{componentName:"container",nameSelector:'[data-editable="titleLink"]',linkSelector:'[data-editable="titleLink"]',typeLocation:"classList.[1]",nestedComponent:{componentName:"card",nameSelector:'[data-editable="headline"]',typeLocation:"classList.[0]"}}}},{cms_id:n?.cmsId,canonical_url:r})},getAllStackAnalytics:()=>{if(!b){let e=Array.from(document.querySelectorAll('[data-uri*="/stack/"]')),t=e.length;b=e.map((e,n)=>({element:e,analytics:{stack_position:n+1,stack_total_number:t}}))}return b},getZoneName:p,invalidateStackPositionCache:()=>{b=null},restoreAdobeAnalyticsCookieOnClonedLinks:e=>{e.querySelectorAll(`a[href][${c}]`).forEach(e=>{let t=Object.fromEntries(Array.from(e.attributes).filter(({name:e})=>e.startsWith(s)).map(({name:e,value:t})=>[e.slice(s.length),t]));r(e,t)})},ZION_TRACKED_SECTIONS:_}}}]); /* window.modules["173"] */ "use strict";(self.modules=self.modules||[]).push([["173"],{173:(e,l,a)=>{a.r(l),a.d(l,{NIL:()=>s.default,parse:()=>o.default,stringify:()=>i.default,v1:()=>d.default,v3:()=>t.default,v4:()=>u.default,v5:()=>f.default,validate:()=>r.default,version:()=>v.default});var d=a("791"),t=a("792"),u=a("793"),f=a("794"),s=a("795"),v=a("796"),r=a("797"),i=a("798"),o=a("800")}}]); /* window.modules["174"] */ "use strict";(self.modules=self.modules||[]).push([["174"],{174:(e,t,a)=>{let l=a("804"),i=a("805"),n=a("646"),{ClientTemplate:r}=a("94"),o=a("container.client"),s=a("card.client"),c=a("image.client"),{createContainer:d}=a("481"),{CARD_TYPES:u,createCard:m,setLabel:p,resolveIntent:h}=a("454"),b=a("116"),f=a("416"),{renderImage:y}=a("425"),{formatDate:g,formatElapsedTime:w,formatLiveStoryCardTimestamp:E}=a("15"),{calculateReadTime:C}=a("806"),L=a("645"),{array:v,arrayIncludes:x,generateLabelHtml:T,shouldShowLabelAboveMedia:M,ternary:I,not:$}=a("644"),{getComponentInstance:_}=a("78"),{setCardImageRatios:k}=a("807"),{elevateWhenNeeded:q,isElevated:A}=a("136"),{getSelectedMedia:R,formatAuthorMetadata:S,filterVisibleCards:z}=a("381"),{avatarCardName:D}=a("808"),{getReadTimeAsNumber:F,getReadTimeText:H}=a("12"),N=r.createHandlebarsEnvironment({helpers:{calculateReadTime:C,avatarCardName:D,setCardImageRatios:k,get:b,omit:f,renderImage:y,formatDate:g,formatElapsedTime:w,inlineSafeString:L,array:v,arrayIncludes:x,generateLabelHtml:T,shouldShowLabelAboveMedia:M,elevateWhenNeeded:q,isElevated:A,not:$,ternary:I,getSelectedMedia:R,formatAuthorMetadata:S,formatLiveStoryCardTimestamp:E,getComponentInstance:_,filterVisibleCards:z},partials:{image:n,card:i}}).template(l);e.exports=function(e,t,a){let l=N(function(e,t){let a;let{instance:l,layout:i,title:n,numberOfItems:r,recsModel:o,recsContentTypes:s,recsSections:c,source:b,breakpointCropRatios:f,breakpointCropCommands:y,lazyLoadImages:g=!1,ratios:w,tenantId:E,isFallbackResult:C,subscriberCardMakeUp:L}=t,v=!1;"contentRecs"===b&&(v=!0),f&&w&&(a={breakpointCropRatios:f,extraCropCommands:y,customRatios:w,isElevated:!0});let x=d({_ref:`/_components/container/instances/${l}`,cards:e.map((e,t)=>(function(e,t,a){let l,i;let n=e.thumbnail||"https://www.cnn.com/media/sites/cnn/cnn-fallback-image.jpg";if(window?.CNN?.contentModel?.site==="ar"){let t=F(e.word_count);if(t){let e=H("ar",t);l=e,i=e}}let r=m({uri:`/_components/card/instances/${t}`,url:e.url,urlPath:e.url,headline:e.headline,description:e.body,pageType:e.type,authors:[],label:e.label||(e.type?`type-${e.type.toLowerCase()}`:""),labelText:e.labelText||"",lastPublished:e.lastModifiedDate,image:{url:n,credit:"",damType:"stellar",metadata:{alt:e.headline||""},...a},type:u.FILL,showThumbnail:!0,wordCount:e.word_count,readTimeTextDefault:l,readTimeTextAlt:i,section:e.section,durationLabel:e.durationLabel,selectedMedia:e.selectedMedia,selectedMediaIndices:e.selectedMediaIndices},"","","",t);return r.link=e.url,r.episodesLabel=e.episodesLabel,p(r),r.renderIntent=h(r),["video","gallery"].includes(e.type)&&(r.labelText=r.labelText.toUpperCase()),r})(e,`${l}-${t}`,a)),lazyLoadImages:g,componentVariation:i,count:r,title:n,recsModel:o,recsContentTypes:s,recsSections:c,source:b,contentRecsCalled:v,tenantId:E,isFallbackResult:C,subscriberCardMakeUp:L});if(x.class=g?"lazy":void 0,x.variation.lazyLoadImages=g,a){let{imageRatios:e={}}=x.variation,t=e.xlDesktop||e.desktop;x.variation={...x.variation,customRatios:w,imageExtraCropCommands:y,imageRatios:{...e,...t&&{xlDesktop:t}}}}return x.inlineEditingEnabled=!0,x}(e,a)),i=r.createElementFromHTML(l);return"autofill"===a.instance||"personalized"===a.instance?(t.replaceWith(i),i.querySelectorAll('[data-uri*="/image/"]').forEach(e=>c(e)),i.querySelectorAll('[data-uri*="/card/"]').forEach(e=>s(e))):(t.replaceChildren(i),i.querySelectorAll('[data-uri*="/image/"]').forEach(e=>c(e)),i.querySelectorAll('[data-uri*="/card/"]').forEach(e=>s(e))),o(i),i}}}]); /* window.modules["179"] */ "use strict";(self.modules=self.modules||[]).push([["179"],{179:(e,t,n)=>{let{authClient:i}=n("35"),a=n("809"),{getAuthZToken:o}=n("256"),r={JWS:"jws"},s="uk_fv_expiry",c=function(){let e;let t=new Promise(t=>{e=t});return t.resolve=e,t}();async function w(e){(function(){let e=i.getToken(),t=setInterval(()=>{i.getToken()!==e&&(clearInterval(t),window.location.reload(!0))},200)})(),Object.assign(e.mediaMetadata,{id:"cvplive/uklive",headline:"Live Stream",images:[{name:"bp",uri:"https://dynaimage.cdn.turner.com/artemis/artemis/w_640/eb2b8b40-International_bigben_16x9.jpg"},{name:"bb",uri:"https://dynaimage.cdn.turner.com/artemis/artemis/w_128/eb2b8b40-International_bigben_16x9.jpg"},{name:"fp",uri:"https://dynaimage.cdn.turner.com/artemis/artemis/w_88/eb2b8b40-International_bigben_16x9.jpg"}]});let t=await o(e.mediaMetadata.mediumId);if(t){e.authentication={accessToken:t,accessTokenType:r.JWS};return}return function(){let e=window.localStorage.getItem(s);return!!e&&Date.now(){let n=e.mediaMetadata.mediumId,{FreeViewConfigBuilder:i,SessionContentBuilder:o}=window.TOP.Freeview,r=i.create().withAppId("eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJuZXR3b3JrIjoiY25uIiwicHJvZHVjdCI6ImNubnVrIiwicGxhdGZvcm0iOiJ3ZWIiLCJhcHBJZCI6ImNubi1jbm51ay13ZWItbjRwOXpwIn0.6AYBC9wXoXadXcyo_p3232XW9RUFYS2-n-LYeAIN_qM").withSecretKey("FL7xZnYEqNfEwwTBkukTcPqooiQkNXCU").withEnvironment(e.server.medium.environment).withFingerprintJS().build(),c=window.TOP.Freeview.create(r);c.events.listen({sessionStarted(n){let i=Date.now()+n.timeRemaining;l(i),new a(i),e.mediaPlayer="top",e.authentication={accessToken:n.jwt,accessTokenType:"jws"},t()},sessionExpired(){d(),Object.values(window.FAVE.player.instances).forEach(e=>e.stop()),window.localStorage.getItem(s)||l(Date.now()),t(void 0)}});let w=o.create().withMediaId(n).build();c.startSession(w)})}(e)}async function d(){let e=await c,t=i.getToken(),n=window.localStorage.getItem(s),a=!n||Date.now()parseInt(n)+864e5;await e.activate({isLoggedIn:!!(t&&t.length),isPreviewAvailable:a})}function l(e){window.localStorage.setItem(s,e)}e.exports={registerModal:c.resolve,applyEntitlement:w}}}]); /* window.modules["186"] */ "use strict";(self.modules=self.modules||[]).push([["186"],{186:e=>{function t(e,{itemSelector:t,hiddenClass:a}){let r=e.querySelector("[data-tappable-preview-nav]"),i=Array.from(e.querySelectorAll(t));if(!r||!i.length)return null;let l=r.querySelector('[data-preview-action="prev"]'),n=r.querySelector('[data-preview-action="next"]'),c=0,d=e=>{c=Math.max(0,Math.min(e,i.length-1)),i.forEach((e,t)=>{e.classList.toggle(a,t!==c)}),l&&(l.disabled=0===c),n&&(n.disabled=c===i.length-1)};return l?.addEventListener("click",()=>d(c-1)),n?.addEventListener("click",()=>d(c+1)),d(0),{showIndex:d}}e.exports={wireRailCardPreview:function(e){return t(e,{itemSelector:".container_vertical-tappable__item",hiddenClass:"container_vertical-tappable__item--preview-hidden"})},wireStackPreview:function(e){return t(e,{itemSelector:'.stack_vertical-tappable__items > [data-component-name="container"]',hiddenClass:"stack_vertical-tappable__item--preview-hidden"})}}}}]); /* window.modules["254"] */ "use strict";(self.modules=self.modules||[]).push([["254"],{254:(t,e,A)=>{let{dispatch:a,subscribe:n,actions:s}=A("48"),D={FOCUS_MODE:"FOCUS_MODE",DEFAULT:"DEFAULT"};function l(t){n(s.ADS.SET_AD_VARIANT,e=>{Object.keys(t).forEach(A=>{let a=t[A];a&&e.adVariant===A&&a()})})}t.exports={AD_VARIANTS:D,setAdVariant:function(t){a(s.ADS.SET_AD_VARIANT,{adVariant:t})},handleAdVariant:l,handleDefaultAdVariant:function(t){t&&l({[D.DEFAULT]:t})}}}}]); /* window.modules["255"] */ "use strict";(self.modules=self.modules||[]).push([["255"],{255:(e,t,r)=>{let{mediumMaxWidthListener:n,smallMaxWidthListener:o}=r("32"),s=(e,t)=>{let r=t.parentNode;return r.lastChild===t?r.appendChild(e):r.insertBefore(e,t.nextSibling)};e.exports={positionElement:(e,{onPosition:t=()=>{},onRefreshPosition:r=()=>{}}={})=>{let{placement:i,visibleViewport:l}=e.dataset,{mobile:a,desktop:d,excludeTablet:m}=JSON.parse(i||"{}"),f=[e],h={},p=()=>{let{selector:r='[data-uri*="/_components/paragraph/"]',position:n,repeat:o=!1,positionBeforeTargetElement:i=!1,parentSelector:l=""}=h||{};for(;f.length>0;){let e=f.shift();e.parentNode&&e.parentNode.removeChild(e)}if(r&&n&&n>0){let a=l?document.querySelector(l).querySelectorAll(r):document.querySelectorAll(r),d=o?a.length:n-1,m=n-1;for(;m{p(),r()},v=e=>{switch(l){case"mobile":h=e&&a?a:null;break;case"desktop":h=!e&&d?d:null;break;default:h=e?a:d}a&&a.refreshPositionEventListenerName&&window.removeEventListener(a.refreshPositionEventListenerName,u),d&&d.refreshPositionEventListenerName&&window.removeEventListener(d.refreshPositionEventListenerName,u),h&&h.refreshPositionEventListenerName&&window.addEventListener(h.refreshPositionEventListenerName,u),p()};m?o(v):n(v)}}}}]); /* window.modules["256"] */ "use strict";(self.modules=self.modules||[]).push([["256"],{256:(e,t,i)=>{let n=i("23"),{authClient:r}=i("35"),{getActiveSub:s}=i("40"),{isAllAccessSubscriber:o,isReadOnlySubscriber:a}=i("42"),{isSection:c,SECTIONS:h}=i("19"),{isLivestory:d}=i("3"),{isVodContent:l,isVodFreeviewActive:u,isVodFreeviewContent:w}=i("22"),{trackMetrics:g}=i("33"),v=i("116"),{EventBasedPreview:p}=i("2546"),S=i("31").setup({file:"/index.js"}),{toggleLockIconsBasedOnAuth:f}=i("132"),{isInternalURL:E}=i("9"),{setCookie:T,removeCookie:_,getCookie:A}=i("8"),{zionEventHandler:m}=i("11"),P=(e,t=null)=>{let i;i=t?new CustomEvent(e,{detail:t}):new Event(e),window.dispatchEvent(i)},y={ADOBE:"adobe",JWS:"jws"},C={NOT_LOGGED_IN:"NOT_LOGGED_IN",LOGGED_IN_NO_SUB:"LOGGED_IN_NO_SUB",SUB_READER_TIER:"SUB_READER_TIER",SUB_ALL_ACCESS:"SUB_ALL_ACCESS"};class k{constructor(e){if(this.authType="clientful",this.builderOptions=e,this.preview={},this.state={resolved:!1},this.error=null,this.topAuthConfig=window.topDefaultAuthConfig||{authType:this.authType,ecid:n.get("TOP_AUTH_ECID")||"",platform:"web",mvpdConfigURL:n.get("TOP_AUTH_MVPD_CONFIG_URL")||"",serviceAppId:n.get("TOP_AUTH_SERVICE_APP_ID")||"",dtcServiceAppId:n.get("TOP_AUTH_DTC_SERVICE_APP_ID")||"",softwareStatement:n.get("TOP_AUTH_SOFTWARE_STATEMENT")||"",freeviewEnv:n.get("TOP_FREEVIEW_ENV")||"",freeviewSecretKey:n.get("TOP_FREEVIEW_SECRET_KEY")||"",dtcFreeviewSecretKey:n.get("TOP_FREEVIEW_DTC_SECRET_KEY")||"",brand:"CNN"},k._instance)return k._instance;k._instance=this,this.auth=null,this.freeview=null,this.context=null,this.cobranding=null,this.isAwaitingLogin=!1,window.TOP?(e=>{if(e){let{topAuthConfig:t}=this,i=new e.AuthConfigBuilder().withAuthType(t.authType).withPlatform(t.platform).withMVPDConfigURL(t.mvpdConfigURL).withServiceAppId(t.serviceAppId).withSoftwareStatement(t.softwareStatement).withBrand(t.brand);this.builderOptions&&Object.keys(this.builderOptions).forEach(e=>{i[e](this.builderOptions[e])});let n=i.build();this.auth=e.create(n),this.attachMVPDisteners(t.mvpdConfigURL)}else S("error","Error initializing TOP auth")})(window.TOP&&window.TOP.Auth):console.warn("TOP doesnt exist",window.TOP)}attachMVPDisteners=e=>{this.auth.events.loginError.listen(()=>{this.onLoginError(e)}),this.auth.events.loginSuccess.listen(()=>{this.onLoginSuccess(e)}),this.auth.events.logoutError.listen(()=>{this.onLogoutError(e)}),this.auth.events.logoutSuccess.listen(()=>{this.onLogoutSuccess(e)}),this.auth.events.pickerViewStateChanged.listen(t=>{let i=t?.pickerViewState?.provider?.displayName||null;t?.pickerView==="allProviders"?this.onPickerViewStateChangedAllProviders(e):t?.pickerView==="providerNotFound"?this.onPickerViewStateChangedProviderNotFound(e):t?.pickerView==="providerLogin"&&i?this.onPickerViewStateChangedproviderLogin(e,i):t?.pickerView==="closed"&&P("mvpdModalClosed",{reason:this.PickerViewStateChangedResult})}),this.auth.events.presentPicker.listen(()=>{this.onPresentPicker(e)}),this.auth.events.selectProviderSuccess?.listen?.(e=>{this.onSelectProviderSuccess(e)})};onLoginError=e=>{g({type:"user-interaction",data:{interaction:"module load",componentName:"tvelogin_loginError",componentStellarId:e}})};onLoginSuccess=e=>{g({type:"user-interaction",data:{interaction:"module load",componentName:"tvelogin_successmessage",componentStellarId:e}}),f(),I(!0)};onLogoutError=e=>{g({type:"user-interaction",data:{interaction:"module load",componentName:"tvelogin_logoutError",componentStellarId:e}})};onLogoutSuccess=e=>{g({type:"user-interaction",data:{interaction:"module load",componentName:"tvelogin_logoutSuccess",componentStellarId:e}}),f(),I(!1)};onPickerViewStateChangedAllProviders=e=>{g({type:"user-interaction",data:{interaction:"module load",componentName:"tvelogin_mvpdlist",componentStellarId:e}})};onPickerViewStateChangedProviderNotFound=e=>{g({type:"user-interaction",data:{interaction:"module load",componentName:"tvelogin_notfound",componentStellarId:e}})};onPickerViewStateChangedproviderLogin=(e,t)=>{g({type:"user-interaction",data:{interaction:"module load",componentName:`tve login:${t}`,componentStellarId:e}})};onPresentPicker=e=>{g({type:"user-interaction",data:{interaction:"module load",componentName:"tvelogin_mvpdsbylogo",componentStellarId:e}})};onSelectProviderSuccess=e=>{let{handler:t,url:i}=e?.result||{};if("AppHandled"===t&&i){if(!E(i)){S("warn",`Blocked external redirect from TOP auth selectProviderSuccess: ${i}`);return}window.location.assign(i)}};initializeContext=async()=>{try{this.context=await this.auth.prepare()}catch(e){S("error",`Error initializing TOP auth context: ${e}`)}};refreshContext=async()=>{try{this.context=await this.auth.prepare()}catch(e){S("error",`Error fetching TOP auth context: ${e}`)}};initEventBasedPreview=async(e,t)=>{this.preview[e]=await p.init(e,t)};isPreviewActive=e=>e&&this.preview[e]?.isEnabled;isAuthenticated(){let e=this.context&&this.context.isAuthenticated();return I(!!e),e}refreshAuth=async()=>{await this.refreshContext(),!this.cobranding&&this.isAuthenticated()&&await this.buildCobrandingImage()};initAuthAndCheckAuthn=async()=>(await this.initializeContext(),this.isAuthenticated());checkAuthn=async()=>(await this.refreshContext(),this.isAuthenticated());buildCobrandingImage=async()=>{if(this.auth&&this.context?.authenticatedProvider)try{this.cobranding=await this.auth.buildImageURL({context:"cobranding",providerId:this.context.authenticatedProvider.id,color:"white",width:270,height:40}),window.localStorage.setItem("mvpdCobrandImg",this.cobranding?.imageURL)}catch(e){S("error",`Unable to build MVPD co-branding image: ${e}`)}};_getAuthTokenWithoutCobranding=async()=>{try{let{token:e}=await this.auth.authorize({channel:"CNN"});return{accessToken:e,accessTokenType:y.ADOBE,mvpd:this.context?.authenticatedProvider?.id}}catch(e){S("error",`Error getting auth token from TOPAuth: ${e}`);return}};_getToken=async()=>{try{return await this.checkAuthn()&&P("userloggedin",{cobranding:this.cobranding}),this._getAuthTokenWithoutCobranding()}catch(e){if(e.metadata?.subErrorCode==="User not Authorized Error")return e.message=`${e.message} - You will be automatically logged out in 10 seconds`,this.error=e,{accessToken:void 0,accessTokenType:y.ADOBE,mvpd:this.context?.authenticatedProvider?.id};S("error","Error getting playback token from TOPAuth",e);return}};getPlaybackToken=async()=>{if(await this.checkAuthn())return await this._getToken();await this.triggerPickerLogin()};login=async()=>{await this.auth.login();let e=await this.checkAuthn();await this.buildCobrandingImage(),e&&(P("userloggedin",{cobranding:this.cobranding}),L({mvpd:this.context?.authenticatedProvider?.displayName,mvpdId:this.context?.authenticatedProvider?.id}))};logout=()=>{this.auth.logout(),I(!1),window.location.reload()};triggerPickerLogin=async()=>{if(!this.isAwaitingLogin){this.isAwaitingLogin=!0;try{await this.refreshContext(),this.isAuthenticated()||await this.login()}catch(e){S("error",`Unable to log in to TOP: ${e}`)}finally{setTimeout(()=>{this.isAwaitingLogin=!1},0)}}};determineAuthPath=async(e,t,i,n,r={})=>{let s;let o=await this.checkAuthn(),a=await b(),{isAuthenticatedContent:c}=r;if(0===i.length&&"false"===c)s=void 0;else if(o&&i.includes("tve"))window.localStorage.setItem("tveAuthType","true"),s=await this._getToken();else if(this.isPreviewActive(t))s=void 0;else if(a===C.SUB_ALL_ACCESS&&i.includes("dtc")){let t=await N(e);t&&(s={accessToken:t,accessTokenType:y.JWS})}else{if(l(n)&&!u())return this._resetFreeviewStatus(),s;let t=!!r.deferFreeviewStart,o=!!r.forceFreeviewStart;if(t&&!o){this._resetFreeviewStatus();return}s=await this.buildFreeViewData(e,i,n)}return s};_resetFreeviewStatus(e=()=>this.forceFreeviewEnd()){this.freeview={},this.freeview.status={expires:Date.now(),endSession:e,expired:!0}}_isDtcFreeview(e,t){return!!(e?.includes("dtc")&&this.topAuthConfig.dtcServiceAppId&&("live-stream"===t||w(t)))}_freeviewEndSession(e,t){return this._isDtcFreeview(e,t)?()=>{}:()=>this.forceFreeviewEnd()}async buildFreeViewData(e,t,i){return this.freeview&&"function"==typeof this.freeview.endSession?(this.freeview.endSession(),this.freeview.events.removeAllListeners?.()):this.buildFreeView(t,i),this.freeview.mediaId=e,this.freeview.contentType=i,new Promise(n=>{this.freeview.events.listen({sessionStarted:e=>this.handleFreeviewSessionStart(e,n),sessionExpired:()=>this.handleFreeviewSessionExpired(n,i,t)}),this.freeview.startSession(this.buildFreeviewSession(e))})}buildFreeView(e,t){let i=window.TOP&&window.TOP.Freeview,{topAuthConfig:n}=this,r=n.serviceAppId,s=n.freeviewSecretKey;this._isDtcFreeview(e,t)&&(r=n.dtcServiceAppId,s=n.dtcFreeviewSecretKey),this.freeview=i.create(i.FreeViewConfigBuilder.create().withAppId(r).withSecretKey(s).withEnvironment(n.freeviewEnv).build()),this.freeview.status={expires:Date.now()+0,endSession:this._freeviewEndSession(e,t),expired:!0}}handleFreeviewSessionStart(e,t){let i=e.expires-Date.now()>0;this.freeview.status={expires:e.expires,endSession:()=>{this.forceFreeviewEnd()},expired:!i},P("freeviewStart",{freeview:this.freeview}),this.state.resolved=!0,t({accessToken:e.jwt,accessTokenType:y.JWS})}async handleFreeviewSessionExpired(e,t,i){let n=c(h.HOMEPAGE);if(i?.includes("dtc")||n||d()||w(t)){this._resetFreeviewStatus(this._freeviewEndSession(i,t)),e(void 0);return}e(await this.getPlaybackToken())}async forceFreeviewEnd(){await this.triggerPickerLogin()}buildFreeviewSession(e){return window.TOP.Freeview.SessionContentBuilder.create().withMediaId(e).build()}}let b=async()=>r.tokenWithAuthn()?await o()?C.SUB_ALL_ACCESS:await a()?C.SUB_READER_TIER:C.LOGGED_IN_NO_SUB:C.NOT_LOGGED_IN,O=async()=>{let e=r.getToken();if(!e||!e.length){S("error","No token found for DTC active subscription check");return}return await s(e)},N=async e=>{let t=r.getToken();if(!t?.length)return;let i=(await r.getAuthZTokens([e],t)).results.find(t=>t.mediaId===e);return i&&i.token},L=({mvpd:e,mvpdId:t}={})=>{try{m({canonical_url:window?.CNN?.contentModel?.canonicalUrl||null,brand:"CNN",mvpd:e||null,mvpd_id:t||null},"UserTVEAuthSuccess")}catch(e){S("error","Error firing UserTVEAuthSuccess Nova analytics event:",e)}},I=async e=>{let t=A("cnnW");if(e&&!t){let e=k._instance?.auth,t=window.TOP?.Auth?.MetadataKey?.AUTHENTICATED_TTL;if(!e?.fetchMetadata||!t)return;try{let{value:i}=await e.fetchMetadata(t),n=Number(i);if(!Number.isFinite(n)||n{let e="",t=n.get("TOP_AUTH_SESSION_NAME")||"",i=window.sessionStorage.getItem(t);return i&&(e=v(JSON.parse(i),"data","")),e},getAuthZToken:N,getDtcActiveSub:O,getUserAccessLevel:b,updateMVPDAuthMarketingCookie:I,trackTVEAuthSuccess:L}}}]); /* window.modules["259"] */ "use strict";(self.modules=self.modules||[]).push([["259"],{259:e=>{let r=/([CAND$]{1,5})\s?([0-9.,]+)\D?|([0-9.,]+)\s?([CAND$\s]{1,4})?\D{0,}?$/,t={CAD:["CAN$","CAN $","CA$","CA $","$ CA","$CA"],USD:["$"]},n=/^(\$0.00|\$0|free)/i,u=e=>{let t=e.trim().replace(/,/g,"").match(r),n=null,u=null;return t&&(t[1]||t[2])?(n=t[1],u=t[2]):t&&(t[3]||t[4])&&(n=t[4],u=t[3]),{currencySymbol:n,price:u}},i=e=>{if(!e)return"";let r=e.trim().toUpperCase(),n=Object.keys(t);if(n.includes(r))return r;let u=Object.values(t).findIndex(e=>e.includes(r)),i=-1!==u?n[u]:"";return i||console.warn(`Currency symbol ${r} not found in currency symbols map`),i};function l(e){if(null==e||""===e)return NaN;if(n.test(e)||"0"===e||0===e)return 0;let{price:r}=u(e),t=parseFloat(r);return!t||isNaN(t)?NaN:t}e.exports={PRICE_REGEX:r,priceToNumber:l,getCurrencyOfPrice:function(e){if(n.test(e)&&!e.includes("$"))return i(t.USD[0]);let{currencySymbol:r}=u(e);return r?i(r):""},formatCurrencyDisplay:function(e){if(null==e)return"";let r="number"==typeof e?e:l(e);return""===r||Number.isNaN(r)?"":new Intl.NumberFormat("en-US",{style:"currency",currency:"USD",maximumFractionDigits:0}).format(r)},validateCurrencyField:function(e,{required:r=!1}={}){if(null==e||""===e)return r?"This field is required":"";let t=l(String(e));return r&&(""===t||Number.isNaN(t))?"This field is required":""}}}}]); /* window.modules["261"] */ "use strict";(self.modules=self.modules||[]).push([["261"],{261:(e,i,t)=>{let{isAppWebView:s}=t("9"),n=t("23").get("ENABLE_WEBVIEW_APP_WALLS"),a=()=>n&&s(),o=()=>!!(a()&&"function"==typeof window?.CNNApp?.requestPaywall);e.exports={canRequestNativePaywall:o,requestNativePaywall:e=>{let{entitlements:i=["cnn_subs","cnn_subs_video"]}=e||{};return o()?(window.CNNApp.requestPaywall(1,{entitlements:i}),!0):(n&&s()&&console.warn("Native paywall request is not available.",{isAppView:!0,ENABLE_WEBVIEW_APP_WALLS:n,requestPaywall:window?.CNNApp?.requestPaywall,entitlements:i}),!1)},requestNativeRegistration:()=>a()&&"function"==typeof window?.CNNApp?.requestRegistration?(window.CNNApp.requestRegistration(1),!0):(n&&s()&&console.warn("Native registration request is not available.",{isAppView:!0,ENABLE_WEBVIEW_APP_WALLS:n,requestRegistration:window?.CNNApp?.requestRegistration}),!1),requestNativeSignIn:()=>a()&&"function"==typeof window?.CNNApp?.requestSisi?(window.CNNApp.requestSisi(1),!0):(n&&s()&&console.warn("Native sign-in request is not available.",{isAppView:!0,ENABLE_WEBVIEW_APP_WALLS:n,requestSisi:window?.CNNApp?.requestSisi}),!1)}}}]); /* window.modules["273"] */ "use strict";(self.modules=self.modules||[]).push([["273"],{273:e=>{let t=e=>e.text(),r=(e,n)=>{let{attempt:s,maxRetryCount:l,useCacheBuster:o,getRetryDelay:a,resolve:c,reject:i,parser:u=t,headers:m={},cache:h}=n||{},p=new URL(e),d=p.searchParams;if(o){let e=new Date().getTime();d.delete("cb"),d.append("cb",e)}let f=s||0;d.delete("rt"),d.append("rt",f),fetch(p.toString(),{headers:m,...h?{cache:h}:{}}).then(u).then(e=>{c({data:e,attemptCount:f+1})}).catch(t=>{if(f>=l)return i(t);setTimeout(()=>{r(e,{attempt:f+1,maxRetryCount:l,useCacheBuster:o,getRetryDelay:a,resolve:c,reject:i,parser:u,headers:m,cache:h})},a(f+1))})};e.exports={TO_TEXT:t,TO_JSON:e=>e.json(),fetchContents:(e,n={})=>{let{attempt:s=0,maxRetryCount:l=3,useCacheBuster:o=!0,getRetryDelay:a=()=>5e3,reject:c,parser:i=t,headers:u={},cache:m}=n||{};if(s>=l){let e=Error(`MaxRetryCount (${s}) achieved`);return c?c(e):Promise.reject(e)}return new Promise((t,n)=>{r(e,{headers:u,attempt:s,maxRetryCount:l,useCacheBuster:o,getRetryDelay:a,resolve:t,reject:n,parser:i,cache:m})})}}}}]); /* window.modules["275"] */ "use strict";(self.modules=self.modules||[]).push([["275"],{275:o=>{let e=(o,e)=>e?new Proxy(e,{get:(t,n)=>"__target__"===n?e:"log"!==n&&"configureLogger"!==n&&"function"==typeof t[n]?new Proxy(t[n],{apply:(e,l,r)=>{let c;try{let i="AsyncFunction"===e.constructor.name;t.log&&t.log("trace",`calling ${i?"asynchronous ":""}${o}.${n}`),c=Reflect.apply(e,l,r),t.log&&(void 0===c||c instanceof Promise||i?t.log("trace",`right after calling to ${o}.${n} (which might be asynchronous)`):t.log("trace",`result of calling ${o}.${n} of type ${typeof c}`,{result:c}))}catch(o){throw t.log&&t.log("error",o),o}return c}}):Reflect.get(t,n)}):e;o.exports={expose:(o,t,n,l=!1)=>{if(window.CNN){window.CNN[o]||(window.CNN[o]={});let r={component:n,proxy:e(t,n)};l?window.CNN[o][t]||(window.CNN[o][t]=r):(window.CNN[o][t]||(window.CNN[o][t]=[]),window.CNN[o][t].every(o=>o.component!==n)&&window.CNN[o][t].push(r))}},getProxy:e}}}]); /* window.modules["276"] */ "use strict";(self.modules=self.modules||[]).push([["276"],{276:(t,e,n)=>{let{isAppWebView:s}=n("9"),i=n("23"),{authClient:o,getPreAuthEntitlements:r,checkEntitlementsForAccess:a}=n("35"),{getActiveSub:c}=n("40"),{isAuthenticated:u}=n("73"),{subscribe:l,actions:d}=n("48"),{trackMetrics:b}=n("33"),{zionEventHandler:f}=n("11"),{getStorefrontType:p,UPI:h}=n("41"),{toggleLockIconsBasedOnAuth:m}=n("132"),{isActiveExperimentMatch:g}=n("340"),{isDomesticPage:v,isEditionPage:w}=n("9"),{resolveEnabledRegion:L,getSubscribeUrlPath:_}=n("70"),{getRegionFlag:y}=n("83"),A="subscribe-button--hide",E=(t,e)=>{t.classList.remove(A),t.classList.contains("subscribe-button--mw-nav-nonsub-2026-03")?t.classList.toggle(A,!v()||w()):(t.innerText=e||"Subscribe",e?t.dataset.overrideText=e:delete t.dataset.overrideText)},T=t=>t.classList.add(A),S=(t,e=!1)=>{r(t.getToken(),!1,e,!0)},k=t=>{t&&t.remove()};t.exports={initializeSubscribeButtons:function(t,e){let n;let r=t.querySelectorAll(".subscribe-button"),v=t.querySelector(".footer__divider-tablet"),w=!1,A=i.get("ENABLE_UM_HORIZON",!1),x={"header__subscribe-button":"nav","footer__subscribe-button":"footer"},C=["/tv","/account/log-in","/account/register","/account/payment/subscription"],U=!1;if(0===r.length){e&&"function"==typeof e&&e();return}let $=L(),B=$&&y("navSubscribeButtonEnabled",$);B||k(v),$&&!s()?(l(d.PAYWALL.AUTH_ENTITLEMENTS,async t=>{let s,i,l;let{preAuthorizedEntitlements:d=[]}=t,{readOnly:b,allAccess:f}=a(d,["readOnly","allAccess"]);if(!B){e&&"function"==typeof e&&e(f);return}w=!f&&b;let m=A?f:f||w,g=o.tokenWithAuthn(),L=C.some(t=>window.location.pathname.startsWith(t)),_=u();if(w&&A&&!_){if(!U&&!n){U=!0;let{success:t,errorStatus:e,subscriptions:s=[]}=await c(o.getToken());n=t&&!e?s:[]}if(n){let t=n.find(({universalProductIndicator:t})=>t===h.BASIC);(i=t?.status?.toLowerCase()==="canceled")||(s="Upgrade"),l=t&&"WEB"!==p(t?.storefrontInfo)}}(!U||n)&&(m||L||w&&_||i||l?(r.forEach(T),k(v)):(r.forEach(t=>E(t,s)),g||k(v)),e&&"function"==typeof e&&e(f))}),S(o),document.addEventListener("login",()=>{n=void 0,U=!1,S(o),m()}),document.addEventListener("logout",()=>{B&&(r.forEach(t=>E(t)),k(v)),w=!1,m()}),B&&r.forEach(e=>{e.addEventListener("click",n=>{let s=A&&w,i=_($,{page:s?"subscribeAllAccess":"subscribe"})||`/subscription${s?"/all-access":""}`;"US"===$&&e.classList.contains("subscribe-button--mw-nav-nonsub-2026-03")&&g(/mw-nav-nonsub-2026-03\/t[123]/)&&(i=`/${/subscribe/i.test(e.innerText)?"subscription":"watch"}`);let o="nav",r="subscribe";s&&(o=x[Array.from(e.classList).find(t=>Object.keys(x).includes(t))]||"nav",r="upgrade_subscription"),function(t,{interaction:e,type:n="user-interaction"}){t({type:n,data:{interaction:e}})}(b,{interaction:`${o}:${r}`}),f({href:new URL(i,window.location.origin).href,type:n.target.tagName,customAttributes:{Component_id:t.closest("[data-uri]").dataset.uri,Component_text:n.target.innerText.trim(),Component_type:"button",Container_type:"navigation"}},"GenericLinkClick"),window.location.href=function(t,e){let n=new URL(e,window.location.origin);return t&&n.searchParams.append("source",t),n.searchParams.append("redirect",window.location.href),n.href}(`${e.dataset.source}${s?"_upgrade":""}`,i)})})):e&&"function"==typeof e&&e()}}}}]); /* window.modules["295"] */ "use strict";(self.modules=self.modules||[]).push([["295"],{295:(e,s,l)=>{let t=l("3034");e.exports=e=>{let{device:{type:s,vendor:l}}=t(e);return{type:s,vendor:l}}}}]); /* window.modules["297"] */ "use strict";(self.modules=self.modules||[]).push([["297"],{297:(e,t,o)=>{var n=o("328").Buffer;let l=o("23");e.exports={getProxyRequestParams:(e,t,o,r="html")=>{if(!e||!t||!o)return{};let i=window.env.CONTENT_HUB_UNIQUE_DEPLOYMENT_KEY,s=n.from(e,"utf8").toString("base64"),c={},a=`${window.location.protocol}//${window.location.host}`;c["x-client-id"]=t,c.Origin=a;let u=e=>e;switch(r){case"html":c.Accept="text/html",u=e=>e.text();break;case"html-only":c.Accept="text/html",u=e=>e.text();break;case"json":c.Accept="application/json",u=e=>e.json();break;default:return{}}i&&(c["x-unique-deployment-key"]=i),window.CNN?.contentModel?.site&&(c["x-clay-site"]=window.CNN.contentModel.site);let d=l.get("AWS_REGION");return d&&(c["x-udk-aws-region"]=d),{url:`${o}/api/v1/content/${s}/renderer/${r}`,parser:u,headers:c}}}}}]); /* window.modules["298"] */ "use strict";(self.modules=self.modules||[]).push([["298"],{298:e=>{e.exports={calculateNavLeftMaxWidth:e=>{let t=e.querySelector(".header__container"),i=e.querySelector(".header__right");if(!t||!i)return 0;let r=t.getBoundingClientRect().width,n=window.getComputedStyle(t),d=parseFloat(n.paddingLeft||0),l=parseFloat(n.paddingRight||0),o=window.CNN.helpers?.isArabicPage?.()===!0,a=e.querySelector(".header__menu-icon")?.getBoundingClientRect().width||0,u=o?0:e.querySelector(".brand-logo")?.getBoundingClientRect().width||0;return r-(d+l)-i.getBoundingClientRect().width-a-u}}}}]); /* window.modules["299"] */ "use strict";(self.modules=self.modules||[]).push([["299"],{299:(e,t,o)=>{let r,i,n,s,l,a,c;let d=o("23"),{isSection:h,SECTIONS:u}=o("19"),y=d.get("TOP_AD_RENDER_STICKY_TIMEOUT"),m="header__wrapper",f=window.CNN.isElevated?"header-elevate":"header",{mediumMaxWidthListener:p}=o("32"),{subscribe:g}=o("48"),{VIDEO:A,STICKY_HEADER:v}=o("75"),w=o("396"),b=()=>{let e=document.querySelector(`nav.${f}`);return e?e.offsetHeight:0},E=(e=!1)=>(document.contains(a)||(a=document.querySelector(`.${m}-inner`),c=document.querySelector(`.${m}-outer`)),e?c:a),T=(e=!1)=>{let t=E()?.getBoundingClientRect();return t&&w(e)&&e.length>0&&t[e]?t[e]:0},k=(e=0)=>{let t=E(!0);if(t){n&&n.disconnect(),s&&s.disconnect(),cancelAnimationFrame(l);let o=document.querySelector(".ad-slot-header"),r=document.querySelector(".ad-slot-header__wrapper"),a=document.querySelector(".ad-slot-header__container"),c=()=>{cancelAnimationFrame(l),l=requestAnimationFrame(()=>{"function"==typeof i&&i()})};i=()=>{if(o&&r){o.style.position="fixed",r.style.height="auto";let e=r.getBoundingClientRect().height,t=Math.max(e,r.scrollHeight,o.scrollHeight,o.offsetHeight);r.style.height=`${t}px`}let i=T("height"),n=b(),s=i+Math.max(e,0);t.style.height=`${s}px`,t.style.top=`-${s-n}px`,t.style.marginBottom=`-${s-i}px`},o&&((n=new ResizeObserver(c)).observe(o),r&&n.observe(r),a&&n.observe(a)),a&&(s=new MutationObserver(e=>{e.some(({addedNodes:e,removedNodes:t,type:o,attributeName:r})=>"attributes"===o&&("class"===r||"style"===r)||"childList"===o&&(Array.from(e).length>0||Array.from(t).length>0))&&c()})).observe(a,{childList:!0,subtree:!0,attributes:!0,attributeFilter:["class","style","aria-hidden"]}),i()}};g(v.RECALCULATE,()=>{"function"==typeof i&&i()});let _=()=>{document.querySelectorAll("[data-sticky-anchor-pos]:not([data-sticky-anchor-priority])").forEach(e=>{e.dataset.stickyAnchorPriority=1});let e=Array.from(document.querySelectorAll("[data-sticky-anchor-pos]")).sort((e,t)=>e.dataset.stickyAnchorPriority-t.dataset.stickyAnchorPriority).map(e=>{if(e.dataset.stickyAnchorDeviceType&&!("mobile"===e.dataset.stickyAnchorDeviceType&&r||"desktop"===e.dataset.stickyAnchorDeviceType&&!r))return[0,-1];let t=e.dataset.stickyAnchorConditionType?.split(",")||[],o=e.dataset.stickyAnchorConditionValue?.split(",")||[];if(t.length===o.length&&!t.reduce((e,t,r)=>e&&("!"===o[r].substring(0,1)?window.CNN.contentModel[t]!==o[r].substring(1):window.CNN.contentModel[t]===o[r]),!0))return[0,-1];let i=Math.max(0,e.offsetTop-4);switch(e.dataset.stickyAnchorPos){case"middle":i+=e.offsetHeight/2;break;case"bottom":i+=e.offsetHeight}return[e.dataset.stickyAnchorPriority,i]}).filter(([,e])=>e>-1);if(0===e.length)return!1;let t=e[0][0];return Math.min(...e.filter(([e])=>e===t).map(([,e])=>e))};e.exports={calculatePageStickyThreshold:()=>{let e=E();if(e){r=p(null,{onlyOnce:!0});let t=_(),o=!1!==t,i=!1,n=()=>{if(!i){if(i=!0,o){let o=b(),r=e.offsetTop;k(r=Math.max(r,t));let i=()=>{T("bottom"){i=!1,o&&k(document.documentElement.scrollHeight),r=e,setTimeout(n,y)}),document.addEventListener("GPTRenderComplete",({detail:e})=>{let t=document.querySelector(".ad-slot-header__container > .ad-slot > div")?.id;e.divId===t&&setTimeout(n,2e3)}),h(u.HOMEPAGE)||g(A.VIDEO_START,()=>{k(0),i=!0})}else k(0);let t=document.getElementsByClassName("ad-slot-rail__container");!window.CNN.isElevated&&t.length>0&&window.addEventListener("scroll",()=>{let e=T("bottom");for(let o of t)o.style.top=`${e+4}px`})},getNavbarHeight:b,getStickyHeader:E,getStickyHeaderRect:T}}}]); /* window.modules["300"] */ "use strict";(self.modules=self.modules||[]).push([["300"],{300:e=>{e.exports={initializeProgressBar:function(){let e=document.querySelector(".progress-bar"),t=document.querySelector(".progress-container"),l=document.querySelectorAll(".action-bar");0===l.length&&(l=document.querySelectorAll(".gallery-inline_unfurled__divider"));let o=l[0],r=l[1];window.addEventListener("scroll",()=>{let l=(document.documentElement.scrollTop||document.body.scrollTop)+.5*window.innerHeight,s=o.offsetTop,n=r.offsetTop,c=document.documentElement.scrollTop>1;t.classList.toggle("scrolled",c),l=n?e.style.width="100%":e.style.width=`${(l-s)/(n-s)*100}%`})}}}}]); /* window.modules["306"] */ "use strict";(self.modules=self.modules||[]).push([["306"],{306:(e,t,i)=>{let{isSubscriberCB:r,isWallExcluded:n,defaultManageWallVisibility:a}=i("80"),{checkAndRenderSubOnlyPaywall:l}=i("2967"),{getRegionFlag:s}=i("83"),{actions:u,dispatch:d}=i("48"),{isPaywallEnabled:A,paywallTypes:T}=i("41"),o=i("23"),{authClient:S,getRequiredEntitlements:E}=i("35"),{requestNativePaywall:c}=i("261"),{isAppWebView:f}=i("9"),{PAYWALL:p}=u,L={BASIC:"basic",ALL_ACCESS:"all-access"},P={[L.BASIC]:"readOnly",[L.ALL_ACCESS]:"allAccess"},g=e=>{let t=e?.dataset?.requiredTier||window.CNN?.contentModel?.requiredEntitlementTier;return t&&Object.hasOwn(P,t)?t:null},C="[data-subscription-tier-gating]",U=e=>o.get("ENABLE_PER_ENTITLEMENT_PAYWALL")&&e?.dataset?.subscriptionTierGating==="true",_=(e,t)=>!!(U(e)&&t&&!window.CNN?.metadata?.content?.disablePaywall&&!n(!0,{ignoreAppWebView:!0})&&A(T.EXCLUSIVE)&&!s("subOnlyPaywallOff"));e.exports={TIER:L,TIER_ACCESS:P,getRequiredTier:g,supportsPageTypeGate:(e=document.querySelector(C))=>!!e,initPageTypeGate:(e,{contentSelector:t,isLoggedIn:i,isRegiwallEnabled:n=!1,requiredTier:s}={})=>{let u=s??g(e);if(!_(e,u))return d(p.UPDATE_STATUS,{fired:!1}),!1;let A=void 0===i?S.tokenWithAuthn():i,T=e=>()=>a(e)({contentSelector:t}),o=!1;return r(t=>{if(o)return;if(o=!0,t){d(p.UPDATE_STATUS,{fired:!1});return}if(f()){d(p.UPDATE_STATUS,{fired:c({entitlements:E(P[u])})});return}let i=l({el:e,isLoggedIn:A,manageWallVisibility:T,isRegiwallEnabled:n});d(p.UPDATE_STATUS,{fired:i})},!1,P[u]),!0}}}}]); /* window.modules["307"] */ "use strict";(self.modules=self.modules||[]).push([["307"],{307:(e,s,t)=>{let u={es:t("2965"),ar:t("2966")};e.exports=function(e,s){return u[e]?.[s]||s}}}]); /* window.modules["314"] */ "use strict";(self.modules=self.modules||[]).push([["314"],{314:(_,e,E)=>{let{isOfType:T}=E("12"),t={ARTICLE_ELEVATE_SMALL:"article_elevate_small",ARTICLE_ELEVATE_MEDIUM:"article_elevate_medium",ARTICLE_ELEVATE_LARGE:"article_elevate_large",ARTICLE_ELEVATE_XLARGE:"article_elevate_xlarge",ARTICLE_COMMS:"article_comms",ARTICLE_FEATURE:"article_feature",ARTICLE_FULLWIDTH:"article_fullwidth",ARTICLE_RADIO_ARGENTINA:"article_radio_argentina",ARTICLE:"article_leaf",AUDIO:"audio_leaf",AUDIO_SERIES:"audio_series_leaf",AUDIO_EPISODE:"audio_episode_leaf",GALLERY_UNFURLED:"gallery_unfurled",GALLERY:"gallery_leaf",HOMEPAGE:"landing_homepage",LIVESTORY:"article_livestory",TV_CHANNELS:"tv_channels",PROFILE:"profile",SECTION:"landing_section",TVE_FILM:"detail",TVE_FILM_V2:"tve_film",TVE_SERIES:"series",TVE_SERIES_V2:"tve_series",TVE_STREAM:"network",LIVE_TV:"live_tv",GENERAL_TOPIC:"topic_light",GRIP_TOPIC:"topic_grid",SPOTLIGHT_TOPIC:"topic_full",ELECTION:"election",MARKETS:"markets",SPONSOR_ARTICLE:"article_sponsor",TVE_BROWSE:"browse",VIDEO:"video_leaf",VIDEO_SHOW:"video_show",VIDEO_LANDING:"video_landing",VERTICAL_VIDEO:"video_vertical",LIVE_STREAM:"live_stream",YOURCNN:"yourcnn",UNKNOWN:"",LANDING:"landing_marketing",TVE_DTC_VIDEO:"tve_dtc_video",TVE_EPISODE:"tve_episode",ALLACCESS_VIDEO:"allaccess_video",APP_WATCH_PAGE:"app_watch_page",APP_WATCH_TAB:"app_watch_tab",APP_WATCH_TAB_TVE:"app_watch_tab_tve",APP_WATCH_TAB_DTC:"app_watch_tab_dtc",WEATHER_APP_HOMEPAGE:"weather_app_homepage",SHOWS:"shows",FEATURED:"featured",DTC_FEATURED:"featured_dtc",FREE_FEATURED:"featured_free",TVE:"tve",WEATHER_EVENT_HUB:"article_livestory_weather_event_hub",WEATHER_EDUTAINMENT:"weather_edutainment",SCRATCHPAD_TVE_DTC_VIDEO:"tve_dtc_video_scratchpad",WEATHER_APP_HOMEPAGE_EDUTAINMENT:"weather_app_homepage_edutainment",NIGHT_CAP:"newsletter_studio_nightcap",WHAT_MATTERS:"newsletter_studio_what_matters",NEWSLETTER_STUDIO_SPORTS:"newsletter_studio_sports",NEWSLETTER_STUDIO_RELIABLE_SOURCES:"newsletter_studio_reliable_sources",NEWSLETTER_STUDIO_RESULTS_ARE_IN:"newsletter_studio_results_are_in",NEWSLETTER_STUDIO_ENGAGEMENT_PARTY:"newsletter_studio_engagement_party",VITAL_ACTION_TEXT:"vital_action_text",VITAL_ACTION_VIDEO:"vital_action_video",VITAL_EXPLORE:"vital_explore",VITAL_STORY_TEXT:"vital_story_text",VITAL_APP_HOMEPAGE:"vital_app_homepage",VITAL_STORY_VIDEO:"vital_story_video",NEWSLETTER_STUDIO_5_THINGS_PM:"newsletter_studio_5_things_pm",NEWSLETTER_STUDIO_MEANWHILE_IN_CHINA:"newsletter_studio_meanwhile_in_china",NEWSLETTER_STUDIO_WEATHER:"newsletter_studio_weather",NEWSLETTER_STUDIO_GLOBAL_BRIEFING:"newsletter_studio_global_briefing",NEWSLETTER_STUDIO_5_THINGS_AM:"newsletter_studio_5_things_am",NEWSLETTER_STUDIO_5_THINGS_SUNDAY:"newsletter_studio_5_things_sunday",WEATHER_APP_STANDALONE_CONTENT:"weather_app_standalone_content",COMMUNITY_EVENT_FULL:"community_event_full",NEWSLETTER_STUDIO_STYLE:"newsletter_studio_style",NEWSLETTER_STUDIO_ELECTIONS:"newsletter_studio_elections",NEWSLETTER_STUDIO_CNNE:"newsletter_studio_cnne",NEWSLETTER_STUDIO_TRAVEL_WEEKLY:"newsletter_studio_travel_weekly",LANDING_PAGE_SCRATCHPAD:"landing_scratchpad",HOMEPAGE_DOMESTIC_MOBILE_WEB_SCRATCHPAD:"homepage-domestic-mobile-web_scratchpad"};Object.freeze(t);let a={ARTICLE_ELEVATE_SMALL:"Article Small",ARTICLE_ELEVATE_MEDIUM:"Article Medium",ARTICLE_ELEVATE_LARGE:"Article Large",ARTICLE_ELEVATE_XLARGE:"Article Extra Large",ARTICLE_COMMS:"Comms Article",ARTICLE_FEATURE:"Feature Article",ARTICLE_FULLWIDTH:"Full Width Article",ARTICLE:"Article ~ old",GALLERY_UNFURLED:"Unfurled Gallery",SECTION:"Section Landing Page",SPONSOR_ARTICLE:"Sponsor Article",TVE_FILM:"TVE Film page",TVE_FILM_V2:"TVE Film page v2",TVE_SERIES:"TVE Series page",TVE_SERIES_V2:"TVE Series page v2",TVE_STREAM:"TVE Stream page",LIVE_TV:"TVE Stream page",TVE_BROWSE:"TVE Browse page",TVE_EPISODE:"TVE Episode page",VIDEO_SHOW:"Video Show Page",LIVE_STREAM:"Live Stream Page",NIGHT_CAP:"NightCap - Newsletter",WHAT_MATTERS:"What Matters - Newsletter",NEWSLETTER_STUDIO_SPORTS:"Sports - Newsletter",NEWSLETTER_STUDIO_RELIABLE_SOURCES:"Reliable Sources - Newsletter",NEWSLETTER_STUDIO_RESULTS_ARE_IN:"Results are In - Newsletter",NEWSLETTER_STUDIO_ENGAGEMENT_PARTY:"Engagement Party - Newsletter",NEWSLETTER_STUDIO_5_THINGS_PM:"5 Things PM - Newsletter",NEWSLETTER_STUDIO_MEANWHILE_IN_CHINA:"Meanwhile in China - Newsletter",VITAL_ACTION_TEXT:"Vital Action - Text",VITAL_ACTION_VIDEO:"Vital Action - Video",VITAL_APP_HOMEPAGE:"Vital App Homepage",VITAL_STORY_TEXT:"Vital Story - Text",VITAL_STORY_VIDEO:"Vital Story - Video",NEWSLETTER_STUDIO_WEATHER:"Weather - Newsletter",NEWSLETTER_STUDIO_GLOBAL_BRIEFING:"Global Briefing - Newsletter",NEWSLETTER_STUDIO_5_THINGS_AM:"5 Things AM - Newsletter",NEWSLETTER_STUDIO_5_THINGS_SUNDAY:"5 Things Sunday - Newsletter",COMMUNITY_EVENT_FULL:"Community Event",NEWSLETTER_STUDIO_STYLE:"Style - Newsletter",NEWSLETTER_STUDIO_ELECTIONS:"Elections - Newsletter",NEWSLETTER_STUDIO_CNNE:"CNN en Espa\xf1ol - Newsletter",NEWSLETTER_STUDIO_TRAVEL_WEEKLY:"Travel Weekly - Newsletter"};function A(_={},e=t.UNKNOWN){return _?.pageVariant||_?.meta?.pageVariant||e}Object.freeze(a);let l=[t.TVE_FILM,t.TVE_SERIES,t.TVE_SERIES_V2];Object.freeze(l),_.exports={PAGE_VARIANTS:t,PAGE_VARIANTS_LABELS:a,isPageVariant:function(_,e){return T(e,A(_))},getPageVariant:A,TVE_DETAIL_VARIANTS:l,isTVEDetailVariant:function(_){return l.includes(_)}}}}]); /* window.modules["316"] */ "use strict";(self.modules=self.modules||[]).push([["316"],{316:(e,t,n)=>{let{actions:a,dispatch:i}=n("48"),{TVE:l,VIDEO:s}=a,{getAssetTraits:d}=n("133"),{fireWatchGenericLinkClick:o}=n("134"),c=n("123"),{CONTENT_TYPES:r}=n("353"),{convertAuthType:u}=n("9"),{isVideoClip:m}=n("18"),p=n("777"),y=n("31").setup({file:"/index.js"}),h=["tve-film-asset","tve-episode-asset"],b=["video",".video-resource",...h.map(e=>`[data-component-name="${e}"]`)].join(", ");async function f(e){let t=function(){let e=document.querySelector('[data-component-name="video-player"]'),t=e?.dataset.uri;return t?`player-${t}`:null}();t&&await new p().playInMountedPlayer(t,{mediaId:e.assetId,boltId:e.boltId,contentId:e.contentId,title:e.assetTitle,subTitle:e.assetSubTitle,authType:e.authType,contentType:e.contentType,isAuthenticatedContent:e.isAuthenticatedContent})}let I=new Set(["Enter"," ","Spacebar"]);e.exports={clickPlayMainCard:function(e,t){let{data:n,playableAsset:a}=function(e){let t=e&&e.querySelector(b),n={...e?.dataset,...t?.dataset};return n.authType=u(n.authType),{data:n,playableAsset:t}}(t),p=h.includes(a?.dataset.componentName),T=()=>{o(t),function(e){let t=e.querySelector(".container_dtc-shelf-carousel__item-media");t&&(document.querySelectorAll(".container_dtc-shelf-carousel__item-media.is-selected").forEach(e=>e.classList.remove("is-selected")),t.classList.add("is-selected"))}(e),p?f(n).catch(e=>y("error",`TVE asset playback failed: ${e.message}`,{stack:e.stack})):function(e,t){let n=t.authType&&t.authType.includes("dtc"),a=window?.FAVE?.player?.instances?Object.keys(window.FAVE.player.instances)[0]:null;c(t,"markupId",a),c(t,"zion.customMetadata",d(e)),t.contentType===r.livestream||n?(c(t,"mediaId",t.mediaId||t.assetId),i(l.PLAYBACK_REQUEST,t)):(m(t.contentType)?c(t,"stellarUri",t.parentUri||t.uri):c(t,"mediaMetadata",{headline:t.headline,mediumId:t.assetId,boltId:t.boltId,id:t.assetId}),i(s.PLAYBACK_REQUEST,t,a))}(e,n),function(){let e=document.querySelector('[data-component-name="video-player"]');!e||function(e){let{top:t,bottom:n,height:a}=e.getBoundingClientRect(),i=window.innerHeight||document.documentElement.clientHeight;return a>i?t=i:t>=0&&n{I.has(e.key)&&(e.preventDefault(),T())})}}}}]); /* window.modules["322"] */ "use strict";(self.modules=self.modules||[]).push([["322"],{322:(e,t,n)=>{let{trackMetrics:o}=n("33"),{addComponentLoadedAnalytics:r,zionEventHandler:i}=n("11"),{setCookie:a}=n("8"),c=n("31").setup({file:"/index.js"}),l="event tray";function m(e){let t={top:()=>document.querySelector(".layout-live-story-amplify__top"),inline:()=>document.querySelector(".layout__main"),"article end":()=>document.querySelector(".layout__end"),"right rail":()=>document.querySelector(".layout__rail")};return Object.keys(t).find(n=>t[n]()?.contains(e))||""}function s(e){let t=e.classList.contains("container_event-tray-dynamic"),n=t?"container_event-tray-dynamic":"container_event-tray";return{itemSelector:t?`.${n}__item:not(.${n}__selected)`:`.${n}__item`,linkSelector:`.${n}__link`}}function d(e,t,n){let{uri:o}=e.dataset,{count:r,ids:i}=function(e,t){let n=Array.from(e.querySelectorAll(t));return{count:n.length,ids:n.map(e=>e.dataset.page).filter(Boolean)}}(e,t);return{componentId:o||void 0,traits:{component_name:l,component_location:n,component_item_count:r,component_item_ids:i}}}e.exports={configureEventTrayTracking:e=>{let{uri:t}=e.dataset,n=m(e),u=function(e){let t=document.querySelector(".live-story__items-container article.liveStoryPost:not(.live-story-post_placeholder):last-of-type"),n=document.querySelector(".live-story__load-more-updates"),o=document.querySelector("h1.headline_live-story__text");if(!t&&!n&&!o)return m(e)||"inline";let r=document.querySelector("#maincontent")||o,i=t=>!!t&&(e.compareDocumentPosition(t)&Node.DOCUMENT_POSITION_PRECEDING)!=0;return r&&(e.compareDocumentPosition(r)&Node.DOCUMENT_POSITION_FOLLOWING)!=0?"top":i(t)||i(n)?"bottom":"inline"}(e),{itemSelector:y,linkSelector:_}=s(e),p=e=>{try{o({type:"user-interaction",data:{interaction:e,componentName:"event tray",componentStellarId:t}})}catch(t){c("error",`Failed to send event tray "${e}" beacon: ${t.message}`)}};p("module initiate");try{let{componentId:t,traits:n}=d(e,y,u);r({componentType:l,componentId:t,traits:n})}catch(e){c("error",`Failed to send event tray ComponentLoaded: ${e.message}`)}let f=()=>{try{let{componentId:t,traits:n}=d(e,y,u);i({component_type:l,...t?{component_id:t}:{},traits:n},"ComponentOnScreen")}catch(e){c("error",`Failed to send event tray ComponentOnScreen: ${e.message}`)}};if(function(e){let t=e.getBoundingClientRect(),n=Math.max(document.documentElement.clientHeight,window.innerHeight);return!(t.bottom=0)}(e))p("module load"),f();else{let t=new IntersectionObserver(e=>{e.forEach(({isIntersecting:e,intersectionRatio:n,target:o})=>{e&&n>=.5&&(p("module load"),f(),t.unobserve(o))})},{threshold:.5});t.observe(e)}Array.from(e.querySelectorAll(y)).forEach((e,t)=>{e.setAttribute("data-card-position",t+1)}),Array.from(e.querySelectorAll(_)).forEach(t=>{t.addEventListener("click",()=>{let o=Array.from(e.querySelectorAll(y)),r=t.closest(y),m=r?.getAttribute("data-card-position"),s=t.querySelector(".container__headline-text")?.textContent?.replace(/\s+/g," ").trim()||"",d=r?.dataset.page,_=`${window.CNN.contentModel.templateType}|container_event-tray|${n}|${m}|${o.length}|${s}`;a(`hpt=${_};path=/`);try{i({href:t.href,type:t.tagName,customAttributes:{component_name:l,component_location:u,component_item_count:o.length,component_item_position:Number(m),link_title:s,...d?{link_page_id:d}:{}}},"GenericLinkClick")}catch(e){c("error",`Failed to send event tray GenericLinkClick: ${e.message}`)}})})},eventTrayClickTracking:(e,t)=>{let{itemSelector:n}=s(e),r=Array.from(e.querySelectorAll(n));o({type:"user-interaction",data:{interaction:`event tray:${t+1}:${r.length}:click`}})}}}}]); /* window.modules["323"] */ "use strict";(self.modules=self.modules||[]).push([["323"],{323:(e,n,t)=>{let a=t("78"),i=t("2970"),r=t("609"),o=t("2998"),s=t("448"),{getCanonicalUrl:c}=t("14"),{PAGE_VARIANTS:l}=t("314"),{propertyValue:d}=t("3016"),u="accordion",m="product-offer-card-container",g="live-blog",p="product-card-container",f=[g,"product-offer-card",m,"product-card",p],b={seo:"seo",render:"render"},h=e=>"string"==typeof e?e:e._ref||"",v=e=>n=>n&&n.main&&n.main[0]&&a.getComponentName(h(n.main[0]))===e,C=v("tve"),N=v("tve-series"),y=v("tve-episode"),S=v("tve-film"),A=v("live-story"),P=v("article"),_=v("video"),I=v("gallery"),E=e=>e?.pageVariant?.includes(l.MARKETS),T=e=>e?.main?.[0]?.configuration?.[0].section==="cnn-underscored"&&e?.main?.[0]?.configuration?.[0].subsection==="deals_finder"&&e?.pageVariant?.includes("search"),V=(e={})=>"enabled"===(e.main?.[0]?.configuration?.[0].productSchemas??"enabled"),O=e=>e?.main?.[0]?.content?.find(e=>[g,"live-blog-auto"].includes(a.getComponentName(h(e)))),F=e=>e?.main?.[0]?.content?.find(e=>a.getComponentName(h(e))===u),H=e=>{let n=Array.isArray(e)?e?.[0]?.items:e?.main?.[0]?.items;return n?n.find(e=>a.getComponentName(h(e))===u)||H(n):{}},U=e=>e?.main?.[0]?.content?.find(e=>f.includes(a.getComponentName(h(e)))),w=(e=[])=>i(e.filter(e=>f.includes(a.getComponentName(h(e)))).map(e=>a.getComponentName(h(e))===g?i((e.posts||[]).map(e=>w(e.content||[]))):[m,p].includes(a.getComponentName(h(e)))?e.productOfferCards||e.productCards||[]:e)),x=e=>e&&e.length>0&&e.find(e=>"tve-headline-hero"===a.getComponentName(h(e)))||{},R=e=>e.main.find(e=>"tve"===a.getComponentName(h(e))),$=e=>{let{items:n}=R(e);return n.find(e=>"tve-vod-detail"===a.getComponentName(h(e)))},j=e=>{let n=[e?.section,e?.subsection,e?.subsubsection].filter(e=>e);return n.length?n:null};e.exports={DOTSCHEMA_CONTEXT:b,buildImageObjectData:e=>e.map(e=>({url:e.imageUrl,cutName:e.cutName})),buildSection:j,buildSectionWithHierarchy:(e,n)=>{let t=j(e);return t?t.join(">"):n},isPublished:e=>"published"===a.getPageVersion(e)||"published"===a.getComponentVersion(e),getAllProducts:w,getAllProductsInPage:e=>V(e)?w(e?.main?.[0]?.content||[]):[],getDealsContainer:e=>{if(T(e)){let n=e?.main?.[0]?.items.find(e=>"price-tracker-results"===a.getComponentName(h(e)));return n?.initialResults||[]}},getBrands:e=>(e?.branding||[]).filter(e=>e.isActive||e?.__sharedComponentMeta?.isActive).map(e=>Object({id:e.slug,termCode:e.spec,label:"string"==typeof e.name?e.name.trim():""})),getBreadcrumb:e=>e?.top?.find(e=>"breadcrumb"===a.getComponentName(h(e))),getPageFooter:e=>{let{bottom:n}=e;return n.find(e=>"footer"===a.getComponentName(h(e)))},getSchemaCanonicalUrl:(e,n)=>{let{configuration:t}=n.locals,{pageType:a,canonicalUrlPath:i}=t;return c(i||s(e).pathname,n.locals,a).replace(/(.schema)/,"")},getSponsors:e=>(e?.branding||[]).filter(e=>e.isActive&&e.isSponsor).map(e=>({"@type":"Organization",name:e.name})),getStellarId:e=>{let n=a.replaceVersion(e);return btoa(a.isPage(n)?`/_pages/${a.getPageInstance(n)}`:`/_components/${a.getComponentName(n)}/instances/${a.getComponentInstance(n)}`)},getSubscriptionCategoryFromAuthType:(e,n)=>{if(!e)return"free";let t={tve:"externalSubscription"}[n];if(!t)throw Error(`invalid authType: ${n}`);return t},omitUndefined:e=>o(e,r),refCheck:h,sanitizeQuotes:e=>{try{return e.replace(/\\*["“”]/g,()=>'"')}catch(e){return""}},validateArticlePage:P,validateElectionPage:e=>v("election-center")(e),validateVideoLeafPage:_,validateGalleryLeafPage:I,validateLiveStoryPage:A,validateliveArticle:e=>!!O(e),validateTVEContent:C,validateTVESeriesPage:N,validateTVEEpisodePage:y,validateTVEFilmPage:S,getLiveBlog:O,getAccordion:F,validateStaticPage:e=>v("static")(e)||E(e),validateHomePage:e=>e?.pageVariant?.includes(l.HOMEPAGE),validateSectionPage:e=>v("section")(e)&&!E(e),validateContext:e=>e&&(e==b.seo||e==b.render),validateUnderscoredPage:e=>e.main?.[0]?.configuration?.[0].section==="cnn-underscored"&&(!!U(e)||!!F(e)),validateUnderscoredAboutPage:e=>e?.main?.[0]?.configuration?.[0].section==="cnn-underscored"&&e?.main?.[0]?.configuration?.[0].subsection==="about"&&v("static")(e),validateUnderscoredPriceTrackerPage:T,getTVEPageSeasons:e=>$(e).seasons,getTVEPageSeries:$,getTVEPageScreen:R,getTVEHeadlineHeroComponent:x,getTVEHeadlineHeroOriginalContent:e=>{let n=x(e.top);if(n)return n.originalContent},getSyndicationData:({syndicationFeeds:e,syndicationInews:n,syndicationApplenews:t,syndicationNewsource:a,syndicationRecs:i,syndicationSearch:r})=>{let o=[];return null!=e&&o.push(d("syndication_feeds",e)),null!=n&&o.push(d("syndication_inews",n)),null!=t&&o.push(d("syndication_applenews",t)),null!=a&&o.push(d("syndication_newsource",a)),null!=i&&o.push(d("syndication_recs",i)),null!=r&&o.push(d("syndication_search",r)),o},validateSponsorArticle:e=>e?.pageVariant?.includes(l.SPONSOR_ARTICLE),removeTagsExceptA:e=>e.replace(/]+>/g,""),getNestedAccordion:H,hasProductSchemas:V,mergeSentiments:function(e){if(!Array.isArray(e)||0===e.length)return[];if("string"==typeof e[0]||0===e.filter(e=>!isNaN(parseFloat(e.confidenceScore))).length)return[e[0]];let n=e.reduce((e,n)=>(parseFloat(n.confidenceScore)||Number.NEGATIVE_INFINITY)>(e&&parseFloat(e.confidenceScore)||Number.NEGATIVE_INFINITY)?n:e,null);return n?[n]:[]}}}}]); /* window.modules["326"] */ "use strict";(self.modules=self.modules||[]).push([["326"],{326:(e,t,n)=>{let{v4:r}=n("173"),o=n("23"),i=n("13"),{getUserHistory:s}=n("602"),{getSiteLanguage:a,getSite:u}=n("137"),{SECONDS_PER_HOUR:c,formatDuration:d,parseIso8601ToSeconds:l}=n("15"),{getContentModel:m,getZaid:f,getGeoCountry:p}=n("9"),{getStellarId:_}=n("323"),E=o.get("CONTENT_RECS_API_RECOMMENDATIONS"),g=o.get("CONTENT_RECS_API_PERSONALIZE"),N="content-recs",h=/^Opinion: /,A={NewsArticle:"article",VideoObject:"video",Movie:"video",TVSeries:"series"};function S(e){let t=e.dataset.page,n=e.dataset.videoResourceParentUri;return t||n?n?_(n):_(t):null}function v(){let e=[...document.querySelectorAll('[data-uri*="/_components/card/instances/"]')],t=new Set;return e.forEach(e=>{let n=S(e);n&&t.add(n)}),Array.from(t)}function w(e,t){if(t)return`${e}.${t}`;let n=a(u(m()));return`${e}.${n}`}function y(e){let t;try{t=new URL(e)}catch(n){let t=n instanceof Error?n.message:String(n);return console.error(`Content-Recs: Invalid URL provided to getThumbnailUrl: ${e}. Error: ${t}`),"https://www.cnn.com/media/sites/cnn/cnn-fallback-image.jpg"}return t.searchParams.set("c","16x9"),t.toString().replace("t1-main","hp-video")}function I(e){return Array.isArray(e?.seasons)?e.seasons.reduce((e,t)=>e+(Number(t?.episode_count)||0),0):0}function O(e){return`${e} ${1===e?"EPISODE":"EPISODES"}`}function R(e){return"string"==typeof e?l(e):NaN}function C({headline:e,thumbnail:t,url:n,last_modified_date:r,word_count:o,section:i,stellar_id:s,content_type:a,duration:u,description:l,details:m,source:f}){let p="Movie"===a;a=A[a]||a;let _={url:n,thumbnail:t&&y(t),headline:e.replace(h,""),type:i?.toLowerCase()==="opinions"?"opinion":a,lastModifiedDate:r,word_count:"series"===a?void 0:o,stellar_id:s,description:l,source:f};if("video"===a){let e=p?R(m?.duration):NaN,t=e>0?e:R(u);_.durationLabel=t>0?d(t,t>=c):" "}if("series"===a){let e=I(m);e>0&&(_.episodesLabel=O(e))}return _}e.exports={CONTENT_RECS_API_RECOMMENDATIONS:E,CONTENT_RECS_API_PERSONALIZE:g,DEFAULT_RECOMMENDATION_COUNT:3,DEFAULT_REQUEST_ID_PREFIX:N,getCardContentStellarId:S,getContainerCardsStellarIds:v,getMainVideoStellarId:function(e){return e?_(e):null},formatTenantId:w,getThumbnailUrl:y,getTotalEpisodeCount:I,formatEpisodesLabel:O,buildRequestBody:function({numberOfItems:e,contentTypes:t=[],sections:n=[],tenantId:o,includeHistory:i=!1,surface:a=N,dedupe:u=!1,customSuffix:c=null,throwIfMissingZaid:d=!0}){let l=p()?.toUpperCase(),m={request_id:`${a}-${r()}`,content_types:t,sections:n,tenant_id:w(o,c),requested_recommendation_count:parseInt(e||3),user:{user_agent:window.navigator.userAgent,zaid:f({throwIfMissing:d}),...l&&{geo_data:{country:l}}}};return i&&(m.user.lifetime_history=s()),u&&(m.dedupe_list=v()),m},getRecommendations:function(e){return i.post(E,e).then(e=>{if(!Array.isArray(e.recommendations)||!(e.recommendations?.length>0))throw Error("Recommendations fetch failed!");return{recommendations:e.recommendations.map(C),tenantId:e.tenant_id}})}}}}]); /* window.modules["328"] */ "use strict";(self.modules=self.modules||[]).push([["328"],{328:(t,e,r)=>{/*! * The buffer module from node.js, for the browser. * * @author Feross Aboukhadijeh * @license MIT */let n=r("2916"),i=r("2915"),o="function"==typeof Symbol&&"function"==typeof Symbol.for?Symbol.for("nodejs.util.inspect.custom"):null;function f(t){if(t>0x7fffffff)throw RangeError('The value "'+t+'" is invalid for option "size"');let e=new Uint8Array(t);return Object.setPrototypeOf(e,s.prototype),e}function s(t,e,r){if("number"==typeof t){if("string"==typeof e)throw TypeError('The "string" argument must be of type string. Received type number');return l(t)}return u(t,e,r)}function u(t,e,r){if("string"==typeof t)return function(t,e){if(("string"!=typeof e||""===e)&&(e="utf8"),!s.isEncoding(e))throw TypeError("Unknown encoding: "+e);let r=0|y(t,e),n=f(r),i=n.write(t,e);return i!==r&&(n=n.slice(0,i)),n}(t,e);if(ArrayBuffer.isView(t))return function(t){if(N(t,Uint8Array)){let e=new Uint8Array(t);return p(e.buffer,e.byteOffset,e.byteLength)}return a(t)}(t);if(null==t)throw TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof t);if(N(t,ArrayBuffer)||t&&N(t.buffer,ArrayBuffer)||"undefined"!=typeof SharedArrayBuffer&&(N(t,SharedArrayBuffer)||t&&N(t.buffer,SharedArrayBuffer)))return p(t,e,r);if("number"==typeof t)throw TypeError('The "value" argument must not be of type number. Received type number');let n=t.valueOf&&t.valueOf();if(null!=n&&n!==t)return s.from(n,e,r);let i=function(t){var e;if(s.isBuffer(t)){let e=0|c(t.length),r=f(e);return 0===r.length||t.copy(r,0,0,e),r}return void 0!==t.length?"number"!=typeof t.length||(e=t.length)!=e?f(0):a(t):"Buffer"===t.type&&Array.isArray(t.data)?a(t.data):void 0}(t);if(i)return i;if("undefined"!=typeof Symbol&&null!=Symbol.toPrimitive&&"function"==typeof t[Symbol.toPrimitive])return s.from(t[Symbol.toPrimitive]("string"),e,r);throw TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof t)}function h(t){if("number"!=typeof t)throw TypeError('"size" argument must be of type number');if(t=0x7fffffff)throw RangeError("Attempt to allocate Buffer larger than maximum size: 0x7fffffff bytes");return 0|t}function y(t,e){if(s.isBuffer(t))return t.length;if(ArrayBuffer.isView(t)||N(t,ArrayBuffer))return t.byteLength;if("string"!=typeof t)throw TypeError('The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type '+typeof t);let r=t.length,n=arguments.length>2&&!0===arguments[2];if(!n&&0===r)return 0;let i=!1;for(;;)switch(e){case"ascii":case"latin1":case"binary":return r;case"utf8":case"utf-8":return P(t).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*r;case"hex":return r>>>1;case"base64":return C(t).length;default:if(i)return n?-1:P(t).length;e=(""+e).toLowerCase(),i=!0}}function g(t,e,r){let i=!1;if((void 0===e||ethis.length||((void 0===r||r>this.length)&&(r=this.length),r>>=0)>>=0)))return"";for(t||(t="utf8");;)switch(t){case"hex":return function(t,e,r){let n=t.length;(!e||en)&&(r=n);let i="";for(let n=e;n0x7fffffff?r=0x7fffffff:r=t.length){if(i)return -1;r=t.length-1}else if(rs&&(r=s-u),o=r;o>=0;o--){let r=!0;for(let n=0;n239?4:e>223?3:e>191?2:1;if(i+f127&&(o=u);break;case 3:r=t[i+1],n=t[i+2],(192&r)==128&&(192&n)==128&&(u=(15&e)2047&&(u57343)&&(o=u);break;case 4:r=t[i+1],n=t[i+2],s=t[i+3],(192&r)==128&&(192&n)==128&&(192&s)==128&&(u=(15&e)65535&&u65535&&(o-=65536,n.push(o>>>10&1023|55296),o=56320|1023&o),n.push(o),i+=f}return function(t){let e=t.length;if(er)throw RangeError("Trying to access beyond buffer length")}function m(t,e,r,n,i,o){if(!s.isBuffer(t))throw TypeError('"buffer" argument must be a Buffer instance');if(e>i||et.length)throw RangeError("Index out of range")}function I(t,e,r,n,i){L(e,n,i,t,r,7);let o=Number(e&BigInt(0xffffffff));t[r++]=o,o>>=8,t[r++]=o,o>>=8,t[r++]=o,o>>=8,t[r++]=o;let f=Number(e>>BigInt(32)&BigInt(0xffffffff));return t[r++]=f,f>>=8,t[r++]=f,f>>=8,t[r++]=f,f>>=8,t[r++]=f,r}function U(t,e,r,n,i){L(e,n,i,t,r,7);let o=Number(e&BigInt(0xffffffff));t[r+7]=o,o>>=8,t[r+6]=o,o>>=8,t[r+5]=o,o>>=8,t[r+4]=o;let f=Number(e>>BigInt(32)&BigInt(0xffffffff));return t[r+3]=f,f>>=8,t[r+2]=f,f>>=8,t[r+1]=f,f>>=8,t[r]=f,r+8}function A(t,e,r,n,i,o){if(r+n>t.length||r>>=0,o||A(t,e,r,4,34028234663852886e22,-34028234663852886e22),i.write(t,e,r,n,23,4),r+4}function R(t,e,r,n,o){return e=+e,r>>>=0,o||A(t,e,r,8,17976931348623157e292,-17976931348623157e292),i.write(t,e,r,n,52,8),r+8}e.Buffer=s,e.INSPECT_MAX_BYTES=50,s.TYPED_ARRAY_SUPPORT=function(){try{let t=new Uint8Array(1),e={foo:function(){return 42}};return Object.setPrototypeOf(e,Uint8Array.prototype),Object.setPrototypeOf(t,e),42===t.foo()}catch(t){return!1}}(),s.TYPED_ARRAY_SUPPORT||"undefined"==typeof console||"function"!=typeof console.error||console.error("This browser lacks typed array (Uint8Array) support which is required by `buffer` v5.x. Use `buffer` v4.x if you require old browser support."),Object.defineProperty(s.prototype,"parent",{enumerable:!0,get:function(){if(s.isBuffer(this))return this.buffer}}),Object.defineProperty(s.prototype,"offset",{enumerable:!0,get:function(){if(s.isBuffer(this))return this.byteOffset}}),s.poolSize=8192,s.from=function(t,e,r){return u(t,e,r)},Object.setPrototypeOf(s.prototype,Uint8Array.prototype),Object.setPrototypeOf(s,Uint8Array),s.alloc=function(t,e,r){return(h(t),tn.length?(s.isBuffer(e)||(e=s.from(e)),e.copy(n,i)):Uint8Array.prototype.set.call(n,e,i);else if(s.isBuffer(e))e.copy(n,i);else throw TypeError('"list" argument must be an Array of Buffers');i+=e.length}return n},s.byteLength=y,s.prototype._isBuffer=!0,s.prototype.swap16=function(){let t=this.length;if(t%2!=0)throw RangeError("Buffer size must be a multiple of 16-bits");for(let e=0;er&&(t+=" ... "),""},o&&(s.prototype[o]=s.prototype.inspect),s.prototype.compare=function(t,e,r,n,i){if(N(t,Uint8Array)&&(t=s.from(t,t.offset,t.byteLength)),!s.isBuffer(t))throw TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+typeof t);if(void 0===e&&(e=0),void 0===r&&(r=t?t.length:0),void 0===n&&(n=0),void 0===i&&(i=this.length),et.length||nthis.length)throw RangeError("out of range index");if(n>=i&&e>=r)return 0;if(n>=i)return -1;if(e>=r)return 1;if(e>>>=0,r>>>=0,n>>>=0,i>>>=0,this===t)return 0;let o=i-n,f=r-e,u=Math.min(o,f),h=this.slice(n,i),l=t.slice(e,r);for(let t=0;t>>=0,isFinite(r)?(r>>>=0,void 0===n&&(n="utf8")):(n=r,r=void 0);else throw Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");let p=this.length-e;if((void 0===r||r>p)&&(r=p),t.length>0&&(rthis.length)throw RangeError("Attempt to write outside buffer bounds");n||(n="utf8");let c=!1;for(;;)switch(n){case"hex":return function(t,e,r,n){let i;r=Number(r)||0;let o=t.length-r;n?(n=Number(n))>o&&(n=o):n=o;let f=e.length;for(n>f/2&&(n=f/2),i=0;i>8,i.push(r%256),i.push(n);return i}(t,this.length-l),this,l,a);default:if(c)throw TypeError("Unknown encoding: "+n);n=(""+n).toLowerCase(),c=!0}},s.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}},s.prototype.slice=function(t,e){let r=this.length;t=~~t,e=void 0===e?r:~~e,tr&&(t=r),er&&(e=r),e>>=0,e>>>=0,r||E(t,e,this.length);let n=this[t],i=1,o=0;for(;++o>>=0,e>>>=0,r||E(t,e,this.length);let n=this[t+--e],i=1;for(;e>0&&(i*=256);)n+=this[t+--e]*i;return n},s.prototype.readUint8=s.prototype.readUInt8=function(t,e){return t>>>=0,e||E(t,1,this.length),this[t]},s.prototype.readUint16LE=s.prototype.readUInt16LE=function(t,e){return t>>>=0,e||E(t,2,this.length),this[t]|this[t+1]>>=0,e||E(t,2,this.length),this[t]>>=0,e||E(t,4,this.length),(this[t]|this[t+1]>>=0,e||E(t,4,this.length),0x1000000*this[t]+(this[t+1]>>=0,"offset");let e=this[t],r=this[t+7];(void 0===e||void 0===r)&&S(t,this.length-8);let n=e+256*this[++t]+65536*this[++t]+0x1000000*this[++t],i=this[++t]+256*this[++t]+65536*this[++t]+0x1000000*r;return BigInt(n)+(BigInt(i)>>=0,"offset");let e=this[t],r=this[t+7];(void 0===e||void 0===r)&&S(t,this.length-8);let n=0x1000000*e+65536*this[++t]+256*this[++t]+this[++t],i=0x1000000*this[++t]+65536*this[++t]+256*this[++t]+r;return(BigInt(n)>>=0,e>>>=0,r||E(t,e,this.length);let n=this[t],i=1,o=0;for(;++o=(i*=128)&&(n-=Math.pow(2,8*e)),n},s.prototype.readIntBE=function(t,e,r){t>>>=0,e>>>=0,r||E(t,e,this.length);let n=e,i=1,o=this[t+--n];for(;n>0&&(i*=256);)o+=this[t+--n]*i;return o>=(i*=128)&&(o-=Math.pow(2,8*e)),o},s.prototype.readInt8=function(t,e){return(t>>>=0,e||E(t,1,this.length),128&this[t])?-((255-this[t]+1)*1):this[t]},s.prototype.readInt16LE=function(t,e){t>>>=0,e||E(t,2,this.length);let r=this[t]|this[t+1]>>=0,e||E(t,2,this.length);let r=this[t+1]|this[t]>>=0,e||E(t,4,this.length),this[t]|this[t+1]>>=0,e||E(t,4,this.length),this[t]>>=0,"offset");let e=this[t],r=this[t+7];return(void 0===e||void 0===r)&&S(t,this.length-8),(BigInt(this[t+4]+256*this[t+5]+65536*this[t+6]+(r>>=0,"offset");let e=this[t],r=this[t+7];return(void 0===e||void 0===r)&&S(t,this.length-8),(BigInt((e>>=0,e||E(t,4,this.length),i.read(this,t,!0,23,4)},s.prototype.readFloatBE=function(t,e){return t>>>=0,e||E(t,4,this.length),i.read(this,t,!1,23,4)},s.prototype.readDoubleLE=function(t,e){return t>>>=0,e||E(t,8,this.length),i.read(this,t,!0,52,8)},s.prototype.readDoubleBE=function(t,e){return t>>>=0,e||E(t,8,this.length),i.read(this,t,!1,52,8)},s.prototype.writeUintLE=s.prototype.writeUIntLE=function(t,e,r,n){if(t=+t,e>>>=0,r>>>=0,!n){let n=Math.pow(2,8*r)-1;m(this,t,e,r,n,0)}let i=1,o=0;for(this[e]=255&t;++o>>=0,r>>>=0,!n){let n=Math.pow(2,8*r)-1;m(this,t,e,r,n,0)}let i=r-1,o=1;for(this[e+i]=255&t;--i>=0&&(o*=256);)this[e+i]=t/o&255;return e+r},s.prototype.writeUint8=s.prototype.writeUInt8=function(t,e,r){return t=+t,e>>>=0,r||m(this,t,e,1,255,0),this[e]=255&t,e+1},s.prototype.writeUint16LE=s.prototype.writeUInt16LE=function(t,e,r){return t=+t,e>>>=0,r||m(this,t,e,2,65535,0),this[e]=255&t,this[e+1]=t>>>8,e+2},s.prototype.writeUint16BE=s.prototype.writeUInt16BE=function(t,e,r){return t=+t,e>>>=0,r||m(this,t,e,2,65535,0),this[e]=t>>>8,this[e+1]=255&t,e+2},s.prototype.writeUint32LE=s.prototype.writeUInt32LE=function(t,e,r){return t=+t,e>>>=0,r||m(this,t,e,4,0xffffffff,0),this[e+3]=t>>>24,this[e+2]=t>>>16,this[e+1]=t>>>8,this[e]=255&t,e+4},s.prototype.writeUint32BE=s.prototype.writeUInt32BE=function(t,e,r){return t=+t,e>>>=0,r||m(this,t,e,4,0xffffffff,0),this[e]=t>>>24,this[e+1]=t>>>16,this[e+2]=t>>>8,this[e+3]=255&t,e+4},s.prototype.writeBigUInt64LE=M(function(t,e=0){return I(this,t,e,BigInt(0),BigInt("0xffffffffffffffff"))}),s.prototype.writeBigUInt64BE=M(function(t,e=0){return U(this,t,e,BigInt(0),BigInt("0xffffffffffffffff"))}),s.prototype.writeIntLE=function(t,e,r,n){if(t=+t,e>>>=0,!n){let n=Math.pow(2,8*r-1);m(this,t,e,r,n-1,-n)}let i=0,o=1,f=0;for(this[e]=255&t;++i>0)-f&255;return e+r},s.prototype.writeIntBE=function(t,e,r,n){if(t=+t,e>>>=0,!n){let n=Math.pow(2,8*r-1);m(this,t,e,r,n-1,-n)}let i=r-1,o=1,f=0;for(this[e+i]=255&t;--i>=0&&(o*=256);)t>0)-f&255;return e+r},s.prototype.writeInt8=function(t,e,r){return t=+t,e>>>=0,r||m(this,t,e,1,127,-128),t>>=0,r||m(this,t,e,2,32767,-32768),this[e]=255&t,this[e+1]=t>>>8,e+2},s.prototype.writeInt16BE=function(t,e,r){return t=+t,e>>>=0,r||m(this,t,e,2,32767,-32768),this[e]=t>>>8,this[e+1]=255&t,e+2},s.prototype.writeInt32LE=function(t,e,r){return t=+t,e>>>=0,r||m(this,t,e,4,0x7fffffff,-0x80000000),this[e]=255&t,this[e+1]=t>>>8,this[e+2]=t>>>16,this[e+3]=t>>>24,e+4},s.prototype.writeInt32BE=function(t,e,r){return t=+t,e>>>=0,r||m(this,t,e,4,0x7fffffff,-0x80000000),t>>24,this[e+1]=t>>>16,this[e+2]=t>>>8,this[e+3]=255&t,e+4},s.prototype.writeBigInt64LE=M(function(t,e=0){return I(this,t,e,-BigInt("0x8000000000000000"),BigInt("0x7fffffffffffffff"))}),s.prototype.writeBigInt64BE=M(function(t,e=0){return U(this,t,e,-BigInt("0x8000000000000000"),BigInt("0x7fffffffffffffff"))}),s.prototype.writeFloatLE=function(t,e,r){return v(this,t,e,!0,r)},s.prototype.writeFloatBE=function(t,e,r){return v(this,t,e,!1,r)},s.prototype.writeDoubleLE=function(t,e,r){return R(this,t,e,!0,r)},s.prototype.writeDoubleBE=function(t,e,r){return R(this,t,e,!1,r)},s.prototype.copy=function(t,e,r,n){if(!s.isBuffer(t))throw TypeError("argument should be a Buffer");if(r||(r=0),n||0===n||(n=this.length),e>=t.length&&(e=t.length),e||(e=0),n>0&&n=this.length)throw RangeError("Index out of range");if(nthis.length&&(n=this.length),t.length-e>>=0,r=void 0===r?this.length:r>>>0,t||(t=0),"number"==typeof t)for(i=e;i=n+4;r-=3)e=`_${t.slice(r-3,r)}${e}`;return`${t.slice(0,r)}${e}`}function L(t,e,r,n,i,o){if(t>r||t3?0===e||e===BigInt(0)?`>= 0${i} and = -(2${i} ** ${(o+1)*8-1}${i}) and = ${e}${i} and = ${r?1:0} and 0x100000000?i=O(String(r)):"bigint"==typeof r&&(i=String(r),(r>BigInt(2)**BigInt(32)||r55295&&r56319||f+1===n){(e-=3)>-1&&o.push(239,191,189);continue}i=r;continue}if(r-1&&o.push(239,191,189),i=r;continue}r=(i-55296-1&&o.push(239,191,189);if(i=null,r>6|192,63&r|128)}else if(r>12|224,r>>6&63|128,63&r|128)}else if(r>18|240,r>>12&63|128,r>>6&63|128,63&r|128)}else throw Error("Invalid code point")}return o}function C(t){return n.toByteArray(function(t){if((t=(t=t.split("=")[0]).trim().replace($,"")).length=e.length)&&!(i>=t.length);++i)e[i+r]=t[i];return i}function N(t,e){return t instanceof e||null!=t&&null!=t.constructor&&null!=t.constructor.name&&t.constructor.name===e.name}let F=function(){let t="0123456789abcdef",e=Array(256);for(let r=0;r{let s={PAUSE_BUTTON_SELECTOR:".card_slide__control-panel-btn-pause",NEXT_BUTTON_SELECTOR:".card_slide__control-panel-arrow--next",PREV_BUTTON_SELECTOR:".card_slide__control-panel-arrow--prev",PAUSE_CLASS:"card_slide__control-panel-btn-pause--paused",RESTART_BUTTON_SELECTOR:".card_slide__restart-btn",OVERLAY_SELECTOR:".card_slide__restart-overlay",VISIBLE_OVERLAY_CLASS:"card_slide__restart-overlay--visible",PROGRESS_BAR_SELECTOR:".card_slide__control-panel-progress-bar-fill",PROGRESS_BAR_FINISHED_CLASS:"card_slide__control-panel-progress-bar-fill--finished"},t=(e,s)=>{s?e.setAttribute("disabled",!0):e.removeAttribute("disabled")};e.exports=(e,n=null)=>{let r=e.querySelector(s.PAUSE_BUTTON_SELECTOR),l=e.querySelector(s.NEXT_BUTTON_SELECTOR),i=e.querySelector(s.PREV_BUTTON_SELECTOR),a=e.querySelector(s.RESTART_BUTTON_SELECTOR),o=e.querySelector(s.OVERLAY_SELECTOR),c=e.querySelectorAll(s.PROGRESS_BAR_SELECTOR);if(!r||!l||!i||!a||!o)throw Error("Slides control panel requires pause, next, prev, restart buttons and overlay");let _=null,S=null,E=!1,d=!1,u=(e="auto")=>L("nextClick",{progressType:e}),R=(e="manual")=>L("prevClick",{progressType:e}),L=(s,t={})=>{let n=new CustomEvent(`slides:${s}`,{bubbles:!1,cancelable:!0,detail:t});e.dispatchEvent(n)};l.addEventListener("click",()=>u("manual")),i.addEventListener("click",()=>R("manual")),a.addEventListener("click",()=>L("restartClick")),r.addEventListener("click",()=>{if(!_)return;let e=_.isRunning(),t=S&&!S.isVisible();_.togglePause?.(),r.classList.toggle(s.PAUSE_CLASS,!_.isRunning()),E=!_.isRunning(),!e&&_.isRunning()&&t?d=!0:e&&!_.isRunning()&&(d=!1),L("pausePlayAction",{actionType:e?"pause":"play"})}),e.addEventListener("slides:activeSlideChanged",({detail:{activeSlideIndex:e,slidesLength:n,remainingTime:a}})=>{_?.cancelCurrentProgress?.(),E=!1,c.forEach((t,n)=>{t.classList.toggle(s.PROGRESS_BAR_FINISHED_CLASS,n"running"===n.playState;return{isRunning:r,togglePause:()=>{r()?n.pause():n.play()},cancelCurrentProgress:()=>{n.onfinish=null,n.finish()}}}(t,a,()=>u("auto")),S&&!S.isVisible()&&_&&!d&&_.togglePause?.())}),t(i,0===e),t(l,e===n-1),t(r,!1),o.classList.remove(s.VISIBLE_OVERLAY_CLASS),_?r.classList.toggle(s.PAUSE_CLASS,!_.isRunning()):r.classList.remove(s.PAUSE_CLASS)}),e.addEventListener("slides:endOfSlides",()=>{c.forEach(e=>{e.classList.add(s.PROGRESS_BAR_FINISHED_CLASS)}),_?.cancelCurrentProgress?.(),o.classList.add(s.VISIBLE_OVERLAY_CLASS),t(i,!0),t(l,!0),t(r,!0),a.focus()}),n&&(S=function(e,s,t,n,r){if(!e||"undefined"==typeof IntersectionObserver)return{disconnect:()=>{},isVisible:()=>!0};let l=e.querySelector(".card_slide__item-media-wrapper")??e,i=!1,a=new IntersectionObserver(([e])=>{let l=e.isIntersecting&&e.intersectionRatio>=.5;if(l===i)return;i=l;let a=s?.();if(!a)return;let o=a.isRunning?.(),c=t?.()||!1;!i&&o?(a.togglePause?.(),n?.(!1)):i&&!1===o&&!c&&(a.togglePause?.(),n?.(!0)),i&&r?.()},{threshold:.5});return a.observe(l),{disconnect:()=>a.disconnect(),isVisible:()=>i}}(n,()=>_,()=>E,e=>{r&&r.classList.toggle(s.PAUSE_CLASS,!e)},()=>{d=!1}))}}}]); /* window.modules["336"] */ "use strict";(self.modules=self.modules||[]).push([["336"],{336:(e,t,l)=>{let{setupTapEvents:r}=l("2988"),{setupSlidesAnalyticsTracking:s}=l("2989"),i={ACTIVE_SLIDE_CLASS:"card_slide__item-media-slide--active",SLIDES_CONTAINER_SELECTOR:".card_slide__item-media",EVENT_CONTAINER_SELECTOR:"[data-component=slides-control-panel]",DEFAULT_PROGRESSION_TIME:6e3,TAP_AREA_SELECTOR:".card_slide__item-media-touch-area"},n=e=>{if(!e||!(e instanceof HTMLElement))throw Error("Parent element must be a valid HTMLElement");let t=e.querySelector(i.SLIDES_CONTAINER_SELECTOR),l=e.querySelector(i.EVENT_CONTAINER_SELECTOR)||e,r=e.querySelector(i.TAP_AREA_SELECTOR);if(!t)throw Error(`Slides container not found with selector: ${i.SLIDES_CONTAINER_SELECTOR}`);if(!r)throw Error(`Tap area not found with selector: ${i.TAP_AREA_SELECTOR}`);let s=Array.from(t.children);if(0===s.length)throw Error("No slides found in slides container");return{slidesContainer:t,allSlides:s,eventContainer:l,tapArea:r}},a=(e,t)=>{let l=t.querySelector(`.${i.ACTIVE_SLIDE_CLASS}`),r=e.indexOf(l);return r>=0?r:0},E=(e,t,l)=>{let r=Number(e[t].dataset.customDuration);return!isNaN(r)&&r>0&&isFinite(r)?r:l},d=(e,t,l)=>{if(e=t.length)return console.warn(`Invalid slide index: ${e}. Must be between 0 and ${t.length-1}`),l;let r=t[e],s=t[l];return r&&s&&e!==l?(s.classList.remove(i.ACTIVE_SLIDE_CLASS),r.classList.add(i.ACTIVE_SLIDE_CLASS),e):l},o=e=>{let{allSlides:t,slidesContainer:l,defaultChangeTime:s,eventContainer:i,tapArea:n}=e,o=(e,t={})=>{let l=new CustomEvent(`slides:${e}`,{bubbles:!1,cancelable:!0,detail:t});i.dispatchEvent(l)},S=(e,l,r="auto")=>{o("activeSlideChanged",{activeSlideIndex:e,slidesLength:t.length,remainingTime:l,progressType:r})},_=()=>{o("endOfSlides")},u=t.length,c=a(t,l),L=E(t,c,s),T=(e,l="auto")=>{let r=d(e,t,c);r!==c&&(c=r,L=E(t,r,s),S(r,L,l))},A=(e="manual")=>{let t=c-1;t>=0&&T(t,e)},C=(e="manual")=>{if(c===u-1){_();return}let t=c+1;tC("manual"),()=>A("manual")),i.addEventListener("slides:nextClick",e=>{let{progressType:t}=e.detail||{};C(t)}),i.addEventListener("slides:prevClick",e=>{let{progressType:t}=e.detail||{};A(t)}),i.addEventListener("slides:restartClick",()=>{T(0)}),S(c,L)};e.exports={SetupSlidesAutoProgression:(e,t=i.DEFAULT_PROGRESSION_TIME,l=null)=>{try{let{slidesContainer:r,allSlides:i,eventContainer:a,tapArea:E}=n(e);if(l||(l=e.closest(".card_slide")),o({allSlides:i,slidesContainer:r,defaultChangeTime:t,tapArea:E,eventContainer:a}),l){let e=i.length;s(a,l,e)}}catch(e){throw console.error("Failed to setup slides auto progression:",e.message),e}},validateSlideElements:n,getActiveSlideIndex:a,getSlideTimerByIndex:E,switchSlide:d,createSlideController:o,SLIDE_CONSTANTS:i}}}]); /* window.modules["339"] */ "use strict";(self.modules=self.modules||[]).push([["339"],{339:(e,t,o)=>{let d=o("116"),r=o("23"),{initAdFeedbackLink:s,getAdFeedbackLink:n}=o("20"),{AdData:l}=o("616"),{authClient:i}=o("35"),{isSubscriber:a}=o("115"),{subscribe:c,actions:w}=o("48"),{getPageInstance:u}=o("78"),g=r.get("LAZYLOAD_BUFFER_DESKTOP"),N=r.get("LAZYLOAD_BUFFER_MOBILE"),m="adSlotLoaded",p=r.get("ENABLE_AD_LAZY_LOADING")&&d(window,"CNN.ads.lazyLoad",!1),A={},h=new l,_=()=>{let e=window.CNN.ads||[];if(e.rktr_ad_id)return{rktr_ad_id:e.rktr_ad_id};throw Error("[AdFuel] - registry is not ready")},y=()=>{if(window.CNN?.ads?.registry&&window.CNN.ads.registry.length)return window.CNN.ads.registry;throw Error("Ads registry not ready - reject")},f=e=>h.registerAd(h.TYPE.DISPLAY,null,e),C=()=>{let e=(window?.WM?.referrer||document.referrer).replace(/^http(?:s)?:\/\/([\w\-.]+).*$/i,"$1").toLowerCase();return/^([\w-]+\.)*money\.cnn\.com$/.test(e)?"money":/^([\w-]+\.)*(www|us|edition|next|localhost)\.cnn\.com$/.test(e)?"cnn":"t.co"===e?"twitter":/^([\w-]+\.)*facebook\.com$/.test(e)?"facebook":/^([\w-]+\.)*google\.\w{2,3}(\.\w\w)?$/.test(e)?"google":"other"},L=()=>{let e=/[\\?&]adkey=([^&#]*)/.exec(window.location.href);return e?e[1]:null},S=()=>new Promise(e=>document.addEventListener("PreQueueComplete",e)),b=()=>S().then(()=>window.recallProximic(window.location.href)),E=()=>d(window,"CNN.contentModel._wedgerId")||(u(d(window,"CNN.contentModel.cmsId",""))||"").split("@").shift(),I=async()=>{let e="https:"===window.location.protocol?"ssl":"non-ssl",t=C(),o=L(),r=d(window,"CNN.contentModel.branding.spec",null),s=d(window,"CNN.cep_topics",{}),n=d(window,"CNN.contentModel.templateType",""),l=E(),i=await v();c(w.LOGIN_FORM.LOGIN_SUCCESS,async()=>{let e=await v();window.googletag.pubads().setTargeting("subs",e.subs)}),c(w.ACCOUNT_NAV.LOGOUT_SUCCESS,()=>{googletag.pubads().clearTargeting("subs"),delete window.CNN.adTargets.subs}),window.CNN.adTargets={source_id:l,short_source_id:l,protocol:e,refdom:t,adkey:o,spec:r,...i,...s,pg:n,wm_vw:"stlr"},b()},v=async()=>{try{let e=i.tokenWithAuthn();if(await a())return{subs:["subscribed"]};if(e)return{subs:["loggedIn"]};return{}}catch(e){return console.error(e),{}}},O=({divId:e,renderedSize:t})=>{let[o]=t.includes("x")?t.split("x"):t,d=document.querySelector(`#${e} ~ .ad-slot__feedback`);o=onew Promise(e=>window.AdFuel?e():document.addEventListener("AdFuelCreated",e)),setupAdFuel:()=>{let e=y(),t=_();return e&&t},handleAdSlotLoaded:({detail:e},t)=>{e&&e.divId&&(document.querySelectorAll(`.ad-slot[data-${t?"mobile":"desktop"}-slot-id="${e.divId}"]`).forEach(t=>{!e.empty&&(t.classList.add(m),A[e.divId]||s(t),e.renderedSize&&(t.dataset.adSlotRenderedSize=e.renderedSize))}),O(e))},initializeLazyLoadAds:(e,t)=>{let o=e[0],d=new IntersectionObserver((t,d)=>{t.forEach(({isIntersecting:t,target:r})=>{if(t&&r.id){let t=e.find(({rktr_slot_id:e})=>e===r.id);void 0!==t&&f([o,t]),d.unobserve(r)}})},{rootMargin:`0px 0px ${t?N:g}px 0px`});document.querySelectorAll(".ad").forEach(e=>d.observe(e))},loadRegistry:f,processAdSlotPlaceholders:e=>{document.querySelectorAll(".ad-slot").forEach(t=>{let o=e?t.dataset.mobileSlotId:t.dataset.desktopSlotId;if(t.classList.remove(m),t.querySelectorAll(".ad").forEach(e=>t.removeChild(e)),o){let e=document.createElement("div");e.id=o,e.className="ad",t.prepend(e),n(t)?.setAdIdentifier(o)}})},setAdTargets:I}}}]); /* window.modules["340"] */ "use strict";(self.modules=self.modules||[]).push([["340"],{340:(e,t,r)=>{let{getPageVariant:i}=r("314"),{FLEX_EXPERIMENT_COMPONENT_NAME:n}=r("479"),l=(e,t)=>!e?.pageVariants?.length||e.pageVariants.includes(t),a=(e,t)=>{let r=i(t);if(!r)return e;let n=t.context.fastAB?.config?.byName||{};return e.filter(e=>l(n[e.split("/")[0]],r))},s=e=>e&&e.context?a(e.context.fastAB?.activeExperiments||[],e):"undefined"!=typeof window&&window.CNN?.fastAB?.activeExperiments||[],u=e=>null!=e&&""!==e,f=(e,t)=>{let r=new Map(Object.keys(e).map(e=>[e.toLowerCase(),e]));for(let e of t){if(!u(e))continue;let t=`fab_${String(e).toLowerCase()}`,i=r.get(t);if(void 0!==i)return i}},o=e=>{let t=Number(e);return Number.isInteger(t)&&t>=1?t:NaN},m=e=>{if(!Array.isArray(e))return[];let t=e.filter(({displaySelf:e})=>e);if(t.length)return t;let r=e.find(({fastAbVariantIndex:e})=>{let t=Number(e);return Number.isInteger(t)&&1===t});return r?[r]:[]},p=e=>{let[t]=m(e?.variants||[]),{mainComponent:r}=t||{};return(Array.isArray(r)?r[0]:r)||null};e.exports={filterConfigByPageVariant:(e,t)=>{let r=i(t);if(!e||!r)return e;let n=e.byName||{},a=e=>l(n[e],r);return{...e,byId:Object.fromEntries(Object.entries(e.byId||{}).filter(([,e])=>a(e?.name))),byName:Object.fromEntries(Object.entries(n).filter(([e])=>a(e)))}},getActiveFastlyExperiments:s,isActiveExperimentMatch:(e,t)=>s(t).filter(t=>new RegExp(e).test(t)).length>0,getExperimentClassName:e=>{let t=s(e).map(e=>{let[t,r]=e.split("/");return t&&r?`${t}--${r}`:""}).filter(Boolean).join(" ");return t?` ${t}`:t},isVariantActive:(e,t,r,i)=>{if(!u(e)&&!u(i)||!u(t))return!1;let n=r&&r.query||{},l=f(n,[e,i]),a=o(t);if(void 0===l)return Number.isFinite(a)&&1===a;let s=o(n[l]);return Number.isFinite(s)&&Number.isFinite(a)&&s===a},getFlexVariantsToRender:m,resolveFlexExperiment:p,resolveFlexExperiments:e=>Array.isArray(e)?e.flatMap(e=>{if(e?.componentName!==n)return[e];let t=p(e);return t?[t]:[]}):[],flexZoneTheme:e=>{let[{mainComponent:t}={}]=e||[],{background:r}=(Array.isArray(t)?t[0]:t)||{};return/^(?:product-)?zone--t-[a-z-]+$/.test(r)?r:""},isFlexExperimentLive:(e,t,r)=>{if(!u(e)&&!u(r))return!1;let i=t&&t.query||{},n=f(i,[e,r]);return void 0!==n&&Number.isFinite(o(i[n]))}}}}]); /* window.modules["346"] */ "use strict";(self.modules=self.modules||[]).push([["346"],{346:(e,t,r)=>{let{PROGRESSION_CONSTANTS:s,progressionEvent:l}=r("347"),{startActiveProgressBar:a}=r("2990"),{dispatchNamespacedEvent:n}=r("2991");e.exports={setupProgressionControlPanel:function(e,{progressBarSelector:t,progressBarFinishedClass:r,segmentSelector:o,pauseToggle:i}){let{EVENT_PREFIX:u,EVENTS:d}=s,c=e.querySelectorAll(t);if(!c.length)throw Error("Progression control panel requires progress bars");let E=null,p=!1,g=!1,C=!1,P=()=>{n(e,u,d.NEXT_CLICK,{progressType:"auto"})},A=t=>{t!==C&&(C=t,E?.setPaused?.(C),n(e,u,d.PAUSE_CHANGED,{paused:C}))};return o&&e.querySelectorAll(o).forEach((t,r)=>{t.addEventListener("click",()=>{n(e,u,d.GO_TO_ITEM,{index:r})})}),i?.addEventListener("click",()=>{p=!p,i.dataset.paused=String(p),i.setAttribute("aria-pressed",String(p)),i.setAttribute("aria-label",p?i.dataset.labelPlay:i.dataset.labelPause),A(p||g)}),e.addEventListener(l(d.ACTIVE_ITEM_CHANGED),({detail:{activeIndex:e,remainingTime:t}})=>{E?.cancelCurrentProgress?.(),E=a({progressBars:c,activeIndex:e,finishedClass:r,remainingTime:t,onSegmentComplete:P,paused:C})}),{setViewportPaused:e=>{g=e,A(p||g)}}}}}}]); /* window.modules["347"] */ "use strict";(self.modules=self.modules||[]).push([["347"],{347:e=>{let _={EVENT_PREFIX:"progression",CONTROL_PANEL_SELECTOR:"[data-component=progression-control-panel]",VIEWER_SELECTOR:"[data-component=progression-viewer]",FRAMES_CONTAINER_SELECTOR:"[data-component=progression-viewer-media]",TAP_AREA_SELECTOR:"[data-component=progression-tap-area]",TAP_AREA_ZONE_PREV_CLASS:"container_progression__tap-area-zone--prev",TAP_AREA_ZONE_NEXT_CLASS:"container_progression__tap-area-zone--next",TAP_ACTION_SELECTOR:"[data-tap-action]",ACTIVE_ITEM_CLASS:"container_progression__frame--active",PEEK_ITEM_CLASSES:["container_progression__frame--peek-1","container_progression__frame--peek-2"],PROGRESS_BAR_SELECTOR:".container_progression__progress-bar-fill",PROGRESS_BAR_FINISHED_CLASS:"container_progression__progress-bar-fill--finished",PROGRESS_SEGMENT_SELECTOR:".container_progression__progress-bar",EVENTS:{ACTIVE_ITEM_CHANGED:"activeItemChanged",GO_TO_ITEM:"goToItem",NEXT_CLICK:"nextClick",PAUSE_CHANGED:"pauseChanged",PREV_CLICK:"prevClick"}};e.exports={PROGRESSION_CONSTANTS:_,progressionEvent:function(e){return`${_.EVENT_PREFIX}:${e}`}}}}]); /* window.modules["353"] */ "use strict";(self.modules=self.modules||[]).push([["353"],{353:e=>{e.exports={SOURCES:{CNN:"https://www.cnn.com/",HLN:"https://www.cnn.com/specials/videos/hln","Affiliate Only":null},CONTENT_TYPES:{mediasourceImport:"mediasource-clip",fileUpload:"uploaded-clip",livestream:"live-stream",channel:"channel",episode:"episode",film:"film",clip:"clip"},DEFAULT_RELATED_CONTENT_CTA:{article:"Read more",gallery:"See more","live-story":"Follow live","community-event":"Join the conversation",video:"Watch now",card:"Watch now",audio:"Listen now",tve:"Watch now"},MANUAL_RELATED_CONTENT_CTA:"See more"}}}]); /* window.modules["354"] */ "use strict";(self.modules=self.modules||[]).push([["354"],{354:(e,t,r)=>{let{DS_CONSTANTS:E}=r("2994"),{setupMobileTapNavigation:n,isClickInActiveFrameTapArea:o}=r("2995"),{observeDynamicSpotlightStackedLayout:l}=r("2996"),{PROGRESSION_CONSTANTS:a,progressionEvent:i}=r("347"),{getActiveItemIndex:s,switchActiveItem:c,markPeekItems:_}=r("2997"),{dispatchNamespacedEvent:T}=r("2991"),{restoreAdobeAnalyticsCookieOnClonedLinks:d}=r("149"),m=e=>{if(!(e instanceof HTMLElement))throw Error("Parent element must be a valid HTMLElement");let t=e.querySelector(E.FRAMES_CONTAINER_SELECTOR),r=e.querySelector(E.EVENT_CONTAINER_SELECTOR)||e;if(!t)throw Error(`Progression viewer media not found with selector: ${E.FRAMES_CONTAINER_SELECTOR}`);let n=Array.from(t.children);if(0===n.length)throw Error("No frames found in progression viewer");return{framesContainer:t,allFrames:n,eventContainer:r}},C=(e,t)=>s(e,t,E.ACTIVE_FRAME_CLASS),S=(e,t,r)=>c(e,t,r,E.ACTIVE_FRAME_CLASS),L=(e,t)=>_(e,t,E.PEEK_FRAME_CLASSES),A=(e,t)=>{let r=t.querySelector('[data-component-name="card"]');if(!r||e.querySelector('[data-component-name="card"]'))return;let E=e.querySelector(".container_dynamic-spotlight__lead-text")||e,n=r.cloneNode(!0);d(n),E.appendChild(n)},u=e=>{if(e.closest(E.FRAME_INTERACTIVE_CONTENT_SELECTOR))return!0;let t=e.closest(E.FRAME_LINK_SELECTOR);return!!t&&Array.from(t.children).some(e=>e.matches(E.FRAME_TEXT_SELECTOR))},R=e=>{let{allFrames:t,framesContainer:r,defaultChangeTime:s,eventContainer:c,viewer:_}=e,{EVENT_PREFIX:d,EVENTS:m}=a,R=(e,t={})=>{T(c,d,e,t)},h=t.length,I=C(t,r),N=e=>{R(m.ACTIVE_ITEM_CHANGED,{activeIndex:e,itemsLength:h,remainingTime:s})},p=e=>{let r=S(e,t,I);r!==I&&(I=r,L(t,r),N(r))},O=e=>{o(e,_)||u(e.target)||(e.preventDefault(),R(m.NEXT_CLICK,{progressType:"manual"}))};c.addEventListener(i(m.PREV_CLICK),()=>{0!==I&&p(I-1)}),c.addEventListener(i(m.NEXT_CLICK),()=>{p((I+1)%h)}),c.addEventListener(i(m.GO_TO_ITEM),({detail:{index:e}})=>p(e));let f=n(_,c),v=(_.closest(E.SPOTLIGHT_CONTAINER_SELECTOR)||_).querySelector(E.LEAD_SELECTOR),y=e=>{f.setEnabled(e),r.removeEventListener("click",O),e||r.addEventListener("click",O)};v?(A(v,r),v.querySelectorAll(".container__item-media-wrapper").forEach(e=>{let t=e.parentElement;if(t?.matches("a")&&1===t.childElementCount){t.remove();return}e.remove()}),l(v,y)):y(!1),L(t,I),N(I)};e.exports={SetupDynamicSpotlight:(e,t=E.DEFAULT_PROGRESSION_TIME)=>{try{let{framesContainer:r,allFrames:E,eventContainer:n}=m(e);R({allFrames:E,framesContainer:r,defaultChangeTime:t,eventContainer:n,viewer:e})}catch(e){throw console.error("Failed to setup dynamic spotlight:",e.message),e}},validateDynamicSpotlightElements:m,getActiveFrameIndex:C,switchFrame:S,createDynamicSpotlightController:R,DS_CONSTANTS:E}}}]); /* window.modules["355"] */ "use strict";(self.modules=self.modules||[]).push([["355"],{355:(e,t,n)=>{let{trackMetrics:o}=n("33"),{getStellarId:r}=n("323"),{addGenericClickAnalytics:l,addOnScreenAnalytics:a,DEFAULT_OBSERVER_API_SETTINGS:i}=n("11"),{PROGRESSION_CONSTANTS:c,progressionEvent:s}=n("347"),{DS_CONSTANTS:p}=n("2994"),m="dynamic spotlight",d="dynamic-spotlight",y=e=>{let t=e.dataset.title||"",n=e.dataset.uri||"";return{title:t,componentId:n.substring(n.lastIndexOf("/")+1),componentName:`${m} | ${t}`,componentStellarId:r(n)}},u=e=>{let t=e.querySelector(`.${p.ACTIVE_FRAME_CLASS}`);return t?.dataset.headline||""},_=e=>{let{componentName:t,componentStellarId:n}=y(e);o({type:"user-interaction",data:{interaction:"module load",componentName:t,componentStellarId:n}})},g=(e,t,n,r)=>{let{title:l}=y(e);o({type:"cnngallery-click",data:{page_view:!1,gallery_name:l,image_name:u(t),content_type:"slide",gallery_type:m,gallery_slide_count:r,gallery_slide_number:n}})},h=(e,t,n)=>{let{componentId:o,title:r}=y(e);try{l({componentType:d,componentId:o,traits:{component_name:r,component_total:n,component_position:t,click_action:"click"}})}catch(e){console.error("Error sending dynamic spotlight Zion engagement event:",e)}};e.exports={setupDynamicSpotlightTracking:(e,t,n)=>{try{let{componentId:o,title:r}=y(e),l=new IntersectionObserver(t=>{t.forEach(({isIntersecting:t,intersectionRatio:n,target:o})=>{t&&n>=.5&&(_(e),l.unobserve(o))})},{threshold:.5});return l.observe(e),a(e,i,{component_id:o,component_type:d,traits:{component_name:r}}),n.addEventListener(s(c.EVENTS.ACTIVE_ITEM_CHANGED),n=>{let{activeIndex:o,itemsLength:r}=n.detail||{};"number"==typeof o&&(g(e,t,o+1,r),h(e,o+1,r))}),l}catch(e){return console.error("Error setting up dynamic spotlight analytics tracking:",e),null}}}}}]); /* window.modules["356"] */ "use strict";(self.modules=self.modules||[]).push([["356"],{356:e=>{let s={threshold:0};e.exports={observeDynamicSpotlightVisibility:function(e,t){let i=new IntersectionObserver(([e])=>{t(!e.isIntersecting)},s);return i.observe(e),()=>i.disconnect()}}}}]); /* window.modules["357"] */ "use strict";(self.modules=self.modules||[]).push([["357"],{357:(e,t,a)=>{let{DS_CONSTANTS:l}=a("2994"),{validateDynamicSpotlightElements:s,getActiveFrameIndex:r}=a("354"),{PROGRESSION_CONSTANTS:u,progressionEvent:i}=a("347"),d=a("31").setup({file:"/index.js"}),{getFaveInstance:n,whenPlayerReady:E,releaseOtherPlayers:p}=a("2987"),{EVENTS:o}=u,c={PLAYING:"PLAYING",PAUSED:"PAUSED"},S=e=>e.map(e=>{let t=e.querySelector(l.VIDEO_PLAYER_SELECTOR)?.dataset.uri;return t?`player-${t}`:null}),m=(e,t)=>{t?e.mute():e.unmute()},A=(e,t)=>{m(e,t),e.getMediaState?.()!==c.PLAYING&&e.resume()},L=e=>{e.getMediaState?.()!==c.PAUSED&&e.pause()},_=e=>{e?.paused&&e.play()?.catch(e=>d("warn",`Dynamic spotlight loop failed to resume: ${e.message}`))},P=e=>{e&&!e.paused&&e.pause()};e.exports={setupDynamicSpotlightVideoPlayback:e=>{let{allFrames:t,framesContainer:a,eventContainer:u}=s(e),d=S(t),c=e.querySelector(l.MUTE_TOGGLE_SELECTOR),g=r(t,a),f=!0,y=!1,D=e=>{let t=d[e];return t?n(t):null},h=e=>e===g&&!y,G=e=>d[e]?null:t[e]?.querySelector(l.LOOP_SELECTOR)??null,I=e=>{let t=D(e),a=G(e),l=h(e);t?l?A(t,f):L(t):a&&(l?_(a):P(a))},O=()=>t.forEach((e,t)=>I(t)),T=()=>{if(!c)return;let{labelMute:e,labelUnmute:t}=c.dataset;c.hidden=!d[g],c.dataset.muted=String(f),c.setAttribute("aria-pressed",String(f)),c.setAttribute("aria-label",f?t:e)};d.forEach((e,t)=>{e&&E(e,()=>{p(D(t)),I(t)})});let C=new Map(t.map((e,t)=>[e,t]));a.addEventListener("timeupdate",({target:e})=>{let t=e?.closest?.(".container_progression__frame"),a=t?C.get(t):-1;a>=0&&!h(a)&&(D(a)?.pause(),G(a)?.pause())},!0),O(),u.addEventListener(i(o.ACTIVE_ITEM_CHANGED),({detail:{activeIndex:e}})=>{g=e,O(),T()}),u.addEventListener(i(o.PAUSE_CHANGED),({detail:{paused:e}})=>{y=e,I(g)}),c?.addEventListener("click",()=>{let e=D(g);f=!f,e&&m(e,f),T()})}}}}]); /* window.modules["358"] */ "use strict";(self.modules=self.modules||[]).push([["358"],{358:(e,t,r)=>{let{getFaveInstance:n,whenPlayerReady:i,releaseOtherPlayers:a}=r("2987"),u={BACKGROUND_SELECTOR:".container_streaming-showcase__background",MUTE_TOGGLE_SELECTOR:".container_streaming-showcase__mute-toggle",VIDEO_PLAYER_SELECTOR:"[data-component-name=video-player]"},d=new Set(["PLAYING","WAITING"]),o=(e,t,r)=>{r?t.mute?.():t.unmute?.();let n=e.querySelector("video");n&&(n.muted=r)},s=(e,t)=>{if(!e)return;let{labelMute:r,labelUnmute:n}=e.dataset;e.dataset.muted=String(t),e.setAttribute("aria-pressed",String(t)),e.setAttribute("aria-label",t?n:r)},l=(e,t)=>{let r=e?.isMuted?.();return"boolean"==typeof r?r:t},c=(e,t)=>d.has(e?.getMediaState?.())||!!(t&&!t.paused),m=()=>"function"==typeof window.matchMedia&&window.matchMedia("(prefers-reduced-motion: reduce)").matches,p=e=>"visible"===document.visibilityState&&!m()&&!e?.ended&&(!e||e.paused),f=(e,t,r)=>{let n=e.querySelector("video");if(o(e,t,r),!p(n))return!1;if(n?.currentTime>0)return t.resume(),!0;let i=t.getConfigs?.();return i&&t.play?.(null,i),!!i},g=()=>0,y=({background:e,instance:t,mute:r,isInView:n,attempts:i})=>!t||!1===n||i>=3?i:f(e,t,r)?i+1:i,h=({background:e,instance:t,muteToggle:r,hasUserSelectedAudio:n,mute:i})=>{let a;if(n)a=l(t,i);else{a=!0;let t=e.querySelector("video");t&&!t.muted&&(t.muted=!0)}return s(r,a),a};e.exports={setupStreamingShowcaseBackgroundPlayback:(e,t)=>{let r,d,p;let f=e?.querySelector(u.VIDEO_PLAYER_SELECTOR),v=f?.dataset?.uri;if(!v||"true"===e.dataset.backgroundPlaybackBound)return;e.dataset.backgroundPlaybackBound="true";let E=`player-${v}`,b=0,S=!1,w=!0,_=!1,L=[],k=(e,t,r,n)=>{"function"==typeof e?.addEventListener&&(e.addEventListener(t,r,n),L.push(()=>e.removeEventListener?.(t,r,n)))},C=()=>{if(!_){for(_=!0,p?.disconnect();L.length;)L.pop()();r&&(S=!1,o(e,r,w=!0),s(t,w),r.pause?.()),delete e.dataset.backgroundPlaybackBound}},O=()=>{b=y({background:e,instance:r,mute:w,isInView:d,attempts:b})},I=()=>{b=g()},R=()=>{let n=e.querySelector("video");if(!r)return;let i=c(r,n);S=!1,o(e,r,w=!0),s(t,w),i&&r.pause?.()},T=()=>{r&&(I(),O())};"function"==typeof IntersectionObserver&&(p=new IntersectionObserver(t=>{if(!e.isConnected){C();return}let r=t.find(({target:t})=>t===e);if(!r)return;let n=r.isIntersecting&&r.intersectionRatio>=.5;n!==d&&((d=n)?T():R())},{threshold:.5})).observe(e),k(e,"volumechange",()=>{r&&(w=h({background:e,instance:r,muteToggle:t,hasUserSelectedAudio:S,mute:w}))},!0),k(e,"timeupdate",()=>{!1===d&&R()},!0),k(t,"click",()=>{if(!r)return;let n=!!S&&!l(r,w);S=!0,o(e,r,w=n),s(t,w)});let A=()=>{if(_||(r=n(E),!e.isConnected||!r)){C();return}a(r),k(e,"playing",I,!0),k(e,"timeupdate",I,!0);let i=()=>{m()&&r.pause?.()};k(e,"playing",i,!0),k(e,"timeupdate",i,!0);let u=()=>{let t=e.querySelector("video");t&&t.muted!==w&&(t.muted=w)};["loadstart","loadedmetadata","play","playing"].forEach(t=>{k(e,t,u,!0)}),k(e,"pause",O,!0),k(document,"visibilitychange",()=>{if(!e.isConnected){C();return}I(),O()}),k(window.matchMedia?.("(prefers-reduced-motion: reduce)"),"change",()=>{if(!e.isConnected){C();return}if(m()){r.pause?.();return}I(),O()}),s(t,w),t&&(t.hidden=!1),!1===d?R():(i(),O())};return i(E,A),L.push(()=>window.removeEventListener(E,A)),C},SHOWCASE_CONSTANTS:u}}}]); /* window.modules["362"] */ (self.modules=self.modules||[]).push([["362"],{362:(n,r,u)=>{var e=u("2981"),t=u("2786"),f=u("2982"),l=u("2983");n.exports=function(n,r){if(null==n)return{};var u=e(l(n),function(n){return[n]});return r=t(r),f(n,u,function(n,u){return r(n,u[0])})}}}]); /* window.modules["363"] */ "use strict";(self.modules=self.modules||[]).push([["363"],{363:e=>{let i={ARABIC:"ar",EDITION:"edition",ESPANOL:"es",US:"us",WWW:"www",CNN10:"cnn10"};function t(e,i){return e?.context?.site===i}function s(e,i){return e?.site?.site===i}Object.freeze(i),e.exports={isArabicSite:e=>s(e,i.ARABIC),isEditionSite:e=>s(e,"cnn")&&t(e,i.EDITION),isEspanolSite:e=>s(e,i.ESPANOL),isUSSite:e=>s(e,"cnn")&&t(e,i.US),isWWWSite:e=>s(e,"cnn")&&t(e,i.WWW),isCNN10Site:e=>s(e,i.CNN10)}}}]); /* window.modules["364"] */ "use strict";(self.modules=self.modules||[]).push([["364"],{364:(e,t,n)=>{let{isPageType:s}=n("17"),{isOfType:i}=n("12"),o={US:"us",WORLD:"world",POLITICS:"politics",BUSINESS:"business",OPINIONS:"opinions",HEALTH:"health",ENTERTAINMENT:"entertainment",STYLE:"style",TRAVEL:"travel",HOMEPAGE:"homepage",SPORTS:"sport",UNDERSCORED:"cnn-underscored",CNN10:"cnn10",WEATHER:"weather",PHOTOS:"photos",PROFILES:"profiles",TV:"tv",LIVING:"living",SUBSCRIPTION:"subscription",NEWSLETTERS:"newsletters",SCIENCE:"science",CLIMATE:"climate",DTC:"dtc",UNKNOWN:""};function E(e={},t=o.UNKNOWN){return e.configuration?.section||e.meta?.section||t}Object.freeze(o),e.exports={SECTIONS:o,isSection:function(e,t,n){return(!n||!!s(e.configuration,n))&&i(t,E(e))},getSection:E}}}]); /* window.modules["368"] */ "use strict";(self.modules=self.modules||[]).push([["368"],{368:e=>{e.exports={getURLFromContent:function(e){let t=new DOMParser().parseFromString(e,"text/html").querySelector("a");return t?t.getAttribute("href"):null},BANNER_TYPE:{default:"alerts-banner_standard","breaking-news":"alerts-banner_breaking"}}}}]); /* window.modules["369"] */ "use strict";(self.modules=self.modules||[]).push([["369"],{369:(e,t,s)=>{let{ClientModel:i,actions:n}=s("48"),{validateInput:a}=s("69"),{adData:o}=s("339"),{restorePaywallScrollLockIfNeeded:l}=s("82"),{ADS:d}=n;e.exports={AdFeedback:class extends i{constructor(){super()}initialize(){this.subscribe(d.SHOW_FEEDBACK,this.showModal),this.adIdentifier="",this.adType="",this.setHtmlElements(),this.addEventListeners(),this.updateIssuesDisplay(),this.onInputChange(),this.pausedVideos=[],this.attemptModalClose=null}setHtmlElements(){let e=document.querySelector("html"),t=document.querySelector("body"),s=document.querySelector(".ad-feedback__modal"),i=s.querySelector(".ad-feedback__container"),n=s.querySelector("form"),a=s.querySelectorAll("input"),o=s.querySelector(".ad-feedback__comment"),l=s.querySelector(".ad-feedback__comment-error-msg"),d=s.querySelectorAll(".ad-feedback__content-container[data-sentiment]"),r=s.querySelector("button#ad-feedback__submit"),c=s.querySelector("input#ad-feedback__technical-issues-checkbox"),m=s.querySelector(".ad-feedback__technical-issues-container"),h=s.querySelector(".ad-feedback__technical-issues-checkbox-label"),u=s.querySelectorAll(".ad-feedback__checkbox__input"),p=s.querySelector(".ad-feedback__submitted");this.elements={html:e,body:t,overlay:s,container:i,inputs:a,commentsTextarea:o,commentsErrorMsg:l,form:n,sentimentQuestions:d,submitButton:r,slider:c,technicalIssuesContainer:m,technicalIssuesLabel:h,technicalIssuesOptions:u,submitted:p,closeIds:["ad-feedback__modal-overlay","ad-feedback__close-icon","ad-feedback__cancel","ad-feedback__submitted__close","ad-feedback__submitted__close-icon"]}}getSentimentQuestions(){let e=[];for(let t of this.elements.sentimentQuestions)e.push(t.dataset.sentiment);return e}getFormData(){let e={},t=new FormData(this.elements.form);for(let s of(e.sentiment={},this.getSentimentQuestions()))e.sentiment[s]=t.get(s);return e.didEncounterIssues=t.get("didEncounterIssues"),e.selectedIssues=t.getAll("issues"),e.comment=t.get("comment").substr(0,1e3),e}isValid(){let{sentiment:e,didEncounterIssues:t,selectedIssues:s}=this.getFormData(),i=!1;for(let t of this.getSentimentQuestions())e[t]||(i=!0);return!t&&!i||(0===s.length&&(i=!0),!i)}clearCommentValidation(){this.elements.commentsTextarea.classList.remove("ad-feedback__comment_error"),this.elements.commentsErrorMsg.style.display="none",this.elements.commentsErrorMsg.innerHTML=""}setCommentValidation(e){this.elements.commentsTextarea.classList.add("ad-feedback__comment_error"),this.elements.commentsErrorMsg.style.display="block",this.elements.commentsErrorMsg.innerHTML=e}onInputChange(){this.elements.submitButton.disabled=!this.isValid()}updateIssuesDisplay(){let{didEncounterIssues:e}=this.getFormData();this.elements.technicalIssuesContainer.style.display=e?"":"none",this.elements.technicalIssuesLabel.innerText=e?"Yes":"No"}updateIssuesQuestions(e){this.elements.overlay.querySelectorAll(".issues-checkboxes-container").forEach(e=>e.style.display="none"),this.elements.overlay.querySelector(`.${e}_issues`).style.display="block",this.elements.commentsTextarea.placeholder=`Let us know how else we could improve ads on our ${"video"===e?"videos":"pages"}.`}sanitizeInput(e){return e.replace(/[^a-z0-9áéíóúñü.,_-]/gim," ").trim()}addEventListeners(){this.elements.inputs.forEach(e=>e.addEventListener("change",()=>{this.onInputChange()})),this.elements.slider.addEventListener("change",()=>{this.updateIssuesDisplay()}),this.elements.form.addEventListener("submit",e=>{e.preventDefault();let t=a(this.elements.commentsTextarea.value,{type:"validate-pii",customMsg:"Please do not include any personal information."});t?this.setCommentValidation(t):(this.clearCommentValidation(),this.sendZionSubmitEvent(),this.showSubmittedThanks(),this.resetForm())}),this.elements.overlay.addEventListener("mousedown",e=>{this.elements.closeIds.includes(e.target.id)&&(this.attemptModalClose=e.target)}),this.elements.overlay.addEventListener("mouseup",e=>{this.attemptModalClose===e.target&&(window.zion_analytics.track(new window.ZION_SDK.ComponentOffScreen({component_id:"close_button",component_type:e.target.id,traits:{ad_meta_data:o.getAdDetails(this.adType,this.adIdentifier)}})),this.hideModal()),this.attemptModalClose=null})}showSubmittedThanks(){this.elements.container.classList.add("submitted")}showFeedbackForm(){this.elements.container.classList.remove("submitted")}disableBackgroundScroll(){this.elements.html.style.overflow="hidden"}enableBackgroundScroll(){this.elements.html.style.overflow="",l()}resetForm(){this.elements.form.reset(),this.updateIssuesDisplay(),this.onInputChange(),this.clearCommentValidation()}sendZionOnScreenEvent(){let e={ad_meta_data:o.getAdDetails(this.adType,this.adIdentifier)};window.zion_analytics.track(new window.ZION_SDK.ComponentOnScreen({component_id:"trip_wire",component_type:"overlay",traits:{trip_wire:e}}))}sendZionSubmitEvent(){let e=this.getFormData();e.comment=this.sanitizeInput(e.comment);let t={relevance:e.sentiment,issues:{comment:e.comment},ad_meta_data:o.getAdDetails(this.adType,this.adIdentifier)};this.elements.technicalIssuesOptions.forEach(e=>{e.classList.contains(`${this.adType}_issue`)&&(t.issues[e.value]=e.checked)}),window.zion_analytics.track(new window.ZION_SDK.TripWire(t))}showModal({adType:e,adIdentifier:t}){this.elements.overlay.style.display="",this.adIdentifier=t,this.adType=e,this.updateIssuesQuestions(this.adType),this.disableBackgroundScroll(),this.sendZionOnScreenEvent(),this.pauseActiveVideos()}pauseActiveVideos(){if(window.FAVE){for(let e in window.FAVE.player.instances)if(Object.prototype.hasOwnProperty.call(window.FAVE.player.instances,e)&&window.FAVE.player.instances[e]){let t=window.FAVE.player.instances[e],s=t.getMediaState();("PLAYING"===s||"WAITING"===s)&&(this.pausedVideos.push(t.id),t.pause())}}}resumePausedVideos(){if(window.FAVE){for(let e in window.FAVE.player.instances)if(Object.prototype.hasOwnProperty.call(window.FAVE.player.instances,e)){let t=window.FAVE.player.instances[e],s=this.pausedVideos.findIndex(e=>e===t.id);s>-1&&(t.resume(),this.pausedVideos.splice(s,1))}}}hideModal(){this.enableBackgroundScroll(),this.elements.overlay.style.display="none",this.resetForm(),this.showFeedbackForm(),this.adIdentifier="",this.adType="",this.resumePausedVideos()}}}}}]); /* window.modules["379"] */ (self.modules=self.modules||[]).push([["379"],{379:(e,s,o)=>{var r=o("2984"),u=o("2985");e.exports=function(e){return u(r(e).toLowerCase())}}}]); /* window.modules["381"] */ "use strict";(self.modules=self.modules||[]).push([["381"],{381:(e,t,r)=>{function i(e){if(!e)return[];let t=e=>"string"==typeof e?e.replace(/@published$/,""):"";if(!e.selectedMedia)return e[e.mediaPicker]||[];if(!(e.selectedMedia.length>0))return[];{let r=new Set(e.selectedMedia),i=new Set(e.selectedMedia.map(t)),a=[];return["image","videoResource","loop","tveEpisodeAsset","tveFilmAsset"].forEach(n=>{Array.isArray(e[n])&&e[n].forEach(e=>{e._ref&&(r.has(e._ref)||i.has(t(e._ref)))&&a.push(e)})}),a}}function a(e){return e?.computed?.availability}let{SITES:n}=r("137"),{getCanonicalUrl:l,extractPath:s}=r("14"),{CARD_TYPES:o}=r("454");e.exports={getSelectedMedia:i,hasUnavailableTveMedia:function(e){let t=i(e).filter(e=>a(e));return t.length>0&&t.every(e=>!1===a(e).isActive)},filterVisibleCards:function(e){return(e||[]).filter(e=>!1!==e.isValid)},formatAuthorMetadata:function(e,t,r,i,a){if(!new Set(["container_lead-package","container_lead-plus-headlines","container_lead-plus-headlines-with-images","container_vertical-strip","container_vertical-strip-3x4","container_vertical-strip-original-ratio"]).has(e)||!t||!t[0]||"live-story"===i||"vertical-video"===a||"vertical-video"===i||"type-analysis"!==r)return"";let n=t.length>1?"by multiple CNN reporters":`by ${t[0].text||t[0]}`;return`${n}`},getCardHeadline:function(e,t,r){return e===n.arabic&&r?r:t},applyCardVideoOverrides:function(e,t){return t?.videoOverrides?{...e,...t.videoOverrides}:e},getCardLink:function(e,t){if(e.type===o.MANUAL)return e.url;let r=e.urlParameters||"";return s(l(s(e.url),t,e.pageType))+r}}}}]); /* window.modules["389"] */ (self.modules=self.modules||[]).push([["389"],{389:t=>{var e,r,n,o=t.exports={};function i(){throw Error("setTimeout has not been defined")}function u(){throw Error("clearTimeout has not been defined")}function c(t){if(e===setTimeout)return setTimeout(t,0);if((e===i||!e)&&setTimeout)return e=setTimeout,setTimeout(t,0);try{return e(t,0)}catch(r){try{return e.call(null,t,0)}catch(r){return e.call(this,t,0)}}}!function(){try{e="function"==typeof setTimeout?setTimeout:i}catch(t){e=i}try{r="function"==typeof clearTimeout?clearTimeout:u}catch(t){r=u}}();var s=[],l=!1,f=-1;function a(){l&&n&&(l=!1,n.length?s=n.concat(s):f=-1,s.length&&h())}function h(){if(!l){var t=c(a);l=!0;for(var e=s.length;e;){for(n=s,s=[];++f1)for(var r=1;r{var l=u("3024");e.exports=function(e){return l(e,5)}}}]); /* window.modules["396"] */ (self.modules=self.modules||[]).push([["396"],{396:(e,s,t)=>{var o=t("3025"),r=t("607"),n=t("3026");e.exports=function(e){return"string"==typeof e||!r(e)&&n(e)&&"[object String]"==o(e)}}}]); /* window.modules["416"] */ (self.modules=self.modules||[]).push([["416"],{416:(r,e,n)=>{var u=n("2981"),l=n("3024"),t=n("3242"),f=n("3243"),o=n("3244"),s=n("3245"),a=n("3246"),v=n("2983"),h=a(function(r,e){var n={};if(null==r)return n;var a=!1;e=u(e,function(e){return e=f(e,r),a||(a=e.length>1),e}),o(r,v(r),n),a&&(n=l(n,7,s));for(var h=e.length;h--;)t(n,e[h]);return n});r.exports=h}}]); /* window.modules["417"] */ (self.modules=self.modules||[]).push([["417"],{417:(e,s,u)=>{var l=u("2981"),o=u("2786"),r=u("3241"),f=u("607");e.exports=function(e,s){return(f(e)?l:r)(e,o(s,3))}}}]); /* window.modules["425"] */ "use strict";(self.modules=self.modules||[]).push([["425"],{425:(e,t,a)=>{let i=a("116"),l=a("3260"),r=a("3261"),o=a("88"),n=a("23"),{toPlainText:s}=a("57"),{elevateWhenNeeded:h}=a("136"),d={HYPATIA:"hypatia",CLOUDINARY:"cloudinary",STELLAR:o.DAM_TYPE},m=new Set([d.STELLAR,d.CLOUDINARY]),x=e=>m.has(e?.damType),u="cnn-placeholder-image",c=/\.svg(\?|#|$|\/)/i,w={upToSmall:{breakpointRule:"(max-width: 479px)",defaultWidth:"480",defaultCutToken:"large-169",ratioSizes:{extraSmall1x1:{w:"128",h:"128"},small1x1:{w:"256",h:"256"},"1x1":{w:"479",h:"479"},"3x4":{w:"360",h:"480"},small4x3:{w:"256",h:"192"},"4x3":{w:"480",h:"360"},small16x9:{w:"256",h:"144"},medium16x9:{w:"480",h:"270"},large16x9:{w:"480",h:"270"},"16x9":{w:"480",h:"270"},original:{w:"480"}},hypatiaCutKeys:{"1x1":"largeto1","4x3":"large4to3","16x9":"large16to9",original:"large16to9"}},mobile:{breakpointRule:"(min-width: 480px) and (max-width: 767px)",defaultWidth:"480",defaultCutToken:"large-169",ratioSizes:{extraSmall1x1:{w:"128",h:"128"},small1x1:{w:"256",h:"256"},"1x1":{w:"480",h:"480"},"3x4":{w:"360",h:"480"},small4x3:{w:"256",h:"192"},"4x3":{w:"480",h:"360"},small16x9:{w:"256",h:"144"},medium16x9:{w:"480",h:"270"},large16x9:{w:"480",h:"270"},"16x9":{w:"480",h:"270"},original:{w:"480"},max16x9:{w:"959",h:"539"}},hypatiaCutKeys:{"1x1":"largeto1","4x3":"large4to3","16x9":"large16to9",original:"large16to9"}},tablet:{breakpointRule:"(min-width: 768px) and (max-width: 1023px)",defaultWidth:"960",defaultCutToken:"exlarge-169",ratioSizes:{extraSmall1x1:{w:"128",h:"128"},small1x1:{w:"256",h:"256"},"1x1":{w:"960",h:"960"},"3x4":{w:"720",h:"960"},small4x3:{w:"256",h:"192"},"4x3":{w:"960",h:"720"},small16x9:{w:"256",h:"144"},medium16x9:{w:"480",h:"270"},large16x9:{w:"780",h:"438"},"16x9":{w:"960",h:"540"},original:{w:"960"},max16x9:{w:"1279",h:"719"}},hypatiaCutKeys:{"1x1":"exlarge1to1","4x3":"exlarge4to3","16x9":"exlarge16to9",original:"exlarge16to9"}},desktop:{breakpointRule:"(min-width: 1024px) and (max-width: 1279px)",defaultWidth:"1280",defaultCutToken:"exlarge-169",ratioSizes:{extraSmall1x1:{w:"128",h:"128"},small1x1:{w:"256",h:"256"},"1x1":{w:"1280",h:"1280"},"3x4":{w:"960",h:"1280"},small4x3:{w:"256",h:"192"},"4x3":{w:"1280",h:"960"},small16x9:{w:"256",h:"144"},medium16x9:{w:"480",h:"270"},medium9x16:{w:"526",h:"935"},large16x9:{w:"780",h:"438"},"16x9":{w:"1280",h:"720"},original:{w:"1280"},max16x9:{w:"1439",h:"809"}},hypatiaCutKeys:{"1x1":"exlarge1to1","4x3":"exlarge4to3","16x9":"exlarge16to9",original:"exlarge16to9"}},xlDesktop:{breakpointRule:"(min-width: 1280px)",defaultWidth:"1280",defaultCutToken:"exlarge-169",ratioSizes:{extraSmall1x1:{w:"128",h:"128"},small1x1:{w:"256",h:"256"},"1x1":{w:"1280",h:"1280"},"3x4":{w:"960",h:"1280"},small4x3:{w:"256",h:"192"},"4x3":{w:"1280",h:"960"},small16x9:{w:"256",h:"144"},medium16x9:{w:"480",h:"270"},large16x9:{w:"780",h:"438"},"16x9":{w:"1280",h:"720"},original:{w:"1280"},max16x9:{w:"1439",h:"809"}},hypatiaCutKeys:{"1x1":"exlarge1to1","4x3":"exlarge4to3","16x9":"exlarge16to9",original:"exlarge16to9"}}},p={upToSmall:{breakpointRule:"(max-width: 479px)",defaultWidth:"480",defaultCutToken:"large-169",ratioSizes:{extraSmall1x1:{w:"128",h:"128"},small1x1:{w:"256",h:"256"},"1x1":{w:"479",h:"479"},small2x3:{w:"256",h:"384"},small3x2:{w:"384",h:"256"},"2x3":{w:"320",h:"479"},"3x2":{w:"480",h:"320"},"3x4":{w:"360",h:"480"},small4x3:{w:"256",h:"192"},"4x3":{w:"480",h:"360"},small16x9:{w:"256",h:"144"},medium16x9:{w:"480",h:"270"},large16x9:{w:"480",h:"270"},"16x9":{w:"480",h:"270"},original:{w:"480"}},hypatiaCutKeys:{"1x1":"largeto1","4x3":"large4to3","16x9":"large16to9",original:"large16to9"}},mobile:{breakpointRule:"(min-width: 480px)",defaultWidth:"480",defaultCutToken:"large-169",ratioSizes:{extraSmall1x1:{w:"128",h:"128"},small1x1:{w:"256",h:"256"},"1x1":{w:"480",h:"480"},small2x3:{w:"256",h:"384"},small3x2:{w:"384",h:"256"},"2x3":{w:"320",h:"480"},"3x2":{w:"800",h:"533"},"3x4":{w:"360",h:"480"},small4x3:{w:"256",h:"192"},"4x3":{w:"480",h:"360"},small16x9:{w:"256",h:"144"},medium16x9:{w:"480",h:"270"},large16x9:{w:"480",h:"270"},"16x9":{w:"480",h:"270"},original:{w:"480"},max16x9:{w:"959",h:"539"}},hypatiaCutKeys:{"1x1":"largeto1","4x3":"large4to3","16x9":"large16to9",original:"large16to9"}},tablet:{breakpointRule:"(min-width: 960px)",defaultWidth:"960",defaultCutToken:"exlarge-169",ratioSizes:{extraSmall1x1:{w:"128",h:"128"},small1x1:{w:"256",h:"256"},"1x1":{w:"960",h:"960"},small2x3:{w:"256",h:"384"},small3x2:{w:"384",h:"256"},"2x3":{w:"640",h:"960"},"3x2":{w:"960",h:"640"},"3x4":{w:"720",h:"960"},small4x3:{w:"256",h:"192"},"4x3":{w:"960",h:"720"},small16x9:{w:"256",h:"144"},medium16x9:{w:"480",h:"270"},large16x9:{w:"780",h:"438"},"16x9":{w:"960",h:"540"},original:{w:"960"},max16x9:{w:"1279",h:"719"}},hypatiaCutKeys:{"1x1":"exlarge1to1","4x3":"exlarge4to3","16x9":"exlarge16to9",original:"exlarge16to9"}},desktop:{breakpointRule:"(min-width: 1280px)",defaultWidth:"1280",defaultCutToken:"exlarge-169",ratioSizes:{extraSmall1x1:{w:"128",h:"128"},small1x1:{w:"256",h:"256"},"1x1":{w:"1280",h:"1280"},small2x3:{w:"256",h:"384"},small3x2:{w:"384",h:"256"},"2x3":{w:"853",h:"1280"},"3x2":{w:"1280",h:"853"},"3x4":{w:"960",h:"1280"},small4x3:{w:"256",h:"192"},"4x3":{w:"1280",h:"960"},medium9x16:{w:"270",h:"480"},small16x9:{w:"256",h:"144"},medium16x9:{w:"480",h:"270"},large16x9:{w:"780",h:"438"},"16x9":{w:"1280",h:"720"},original:{w:"1280"},max16x9:{w:"1439",h:"809"}},hypatiaCutKeys:{"1x1":"exlarge1to1","4x3":"exlarge4to3","16x9":"exlarge16to9",original:"exlarge16to9"}}},g=p,f={upToSmall:"16x9",mobile:"16x9",tablet:"16x9",desktop:"16x9"};function $(e,t,a=!1){return e&&t?h(e,{pageVariant:"article_elevate_medium"},a):e||""}let _=(e,...t)=>t.reduce(r,e);function S(e){let{image:t}=e,a=_(i(t,"fixedHeight"),e.fixedHeight),l=_(i(t,"fixedWidth"),e.fixedWidth),r=_(i(t,"rawQuery"),e.rawQuery),o={};return void 0!==a&&(o.h=a),void 0!==l&&(o.w=l),void 0!==r&&(o.rawQuery=r),o}function C(e){e?(g=w,f.xlDesktop="16x9"):(g=p,delete f.xlDesktop)}function v(e,t,a=null,{fixedRatio:i=null,overrides:l,extraCropCommands:r}={}){!a&&(a="mobile",i&&(a="desktop")),e.cropRatio&&e.breakpointCropRatios&&(e.cropRatio=e.breakpointCropRatios[a]);let o=i||t[a];return b(e,a,o,l,r)}function y(e,t,a,l,r=!1,{fixedRatio:o=null,overrides:s,extraCropCommands:h,hasCustomRatios:d,cropRatio:m},u=!1,w=!1){let p="",f="",$=!o||m&&d,_=l?"f_avif":"f_webp",S=l?"image/avif":"image/webp",C=i(e,"url")||i(e,"uri"),b="string"==typeof C&&c.test(C),k=!b&&x(e)&&n.get("FORCE_WEBP_IMAGES"),R=k&&!$&&"string"==typeof h;if(C){let i=v(e,t,o?void 0:"desktop",{fixedRatio:o,overrides:s,extraCropCommands:h,hasCustomRatios:d}),n=[],x=[];if($){if(k&&"string"==typeof h){let e;h=(e=h)?e.concat(`,${_}`):_}Object.entries(V(t)).reverse().forEach(([a])=>{let i=v(e,t,a,{extraCropCommands:h,hasCustomRatios:d}),l={w:null,h:null},r=e.isElevated&&e.extraCropCommands?e.extraCropCommands[a]:h;if(r.includes("w_")||r.includes("h_")){let e=[...r.matchAll(/w_([^,]*)/g)],t=[...r.matchAll(/h_([^,]*)/g)];l.w=e[e.length-1]?.[1],l.h=t[t.length-1]?.[1]}else l=m&&d?e.customRatios[a]:"original"===t[a]||d?{w:e.originalWidth,h:e.originalHeight}:g[a].ratioSizes[t[a]];let o=i,s=null,c=null;if(w&&l.w&&l.h){let r=String(2*parseInt(l.w,10)),n=String(2*parseInt(l.h,10)),m=String(3*parseInt(l.w,10)),x=String(3*parseInt(l.h,10));s=v(e,t,a,{extraCropCommands:h,hasCustomRatios:d,overrides:{w:r,h:n}}),c=v(e,t,a,{extraCropCommands:h,hasCustomRatios:d,overrides:{w:m,h:x}}),o=`${i} 1x, ${s} 2x, ${c} 3x`}let f=g[a]?.breakpointRule,$={height:l?.h,width:l?.w,media:f,srcset:o};k&&"string"==typeof h&&($.type=S);let _=Object.entries($).map(([e,t])=>`${e}='${t}'`).join(" ");u&&(n.push(`--image-${a}-url:url("${i}");`),x.push(`--image-${a}-url`),s&&(n.push(`--image-${a}-url-2x:url("${s}");`),x.push(`--image-${a}-url-2x`)),c&&(n.push(`--image-${a}-url-3x:url("${c}");`),x.push(`--image-${a}-url-3x`))),p+=``})}if(R){let a;let i=v(e,t,void 0,{fixedRatio:o,overrides:s,extraCropCommands:(a=h)?a.concat(",f_webp"):"f_webp",hasCustomRatios:d});p+=``}let c=e?.metadata?.alt||e?.metadata?.caption||e.name||"",C=`${e.componentVariation}__dam-img--loading`,y={src:i,alt:c,class:l?`${e.componentVariation}__dam-img`:`${e.componentVariation}__dam-img ${C}`,onload:`this.classList.remove('${C}')`,onerror:"imageLoadError(this)"};o?(y.height=e.originalHeight?.toString()||g.mobile.ratioSizes[t.mobile]?.h?.toString(),y.width=e.originalWidth?.toString()||g.mobile.ratioSizes[t.mobile]?.w?.toString()):(y.height=e.originalHeight?.toString()||g.desktop.ratioSizes[t.desktop]?.h?.toString(),y.width=e.originalWidth?.toString()||g.desktop.ratioSizes[t.desktop]?.w?.toString()),a&&(y.loading="lazy"),!r||b||R||/f_(webp|avif)$/.test(y.src)||(k?y.src=`${y.src}/f_webp`:y.src=`${y.src}/f_avif`),l&&(delete y.onerror,delete y.onload,delete y.loading,y.fetchpriority="high"),n.length>0&&(y.style=n.join(" "),y["data-img-css-vars"]=x.join(","));let E=Object.entries({src:i,...y}).map(([e,t])=>`${e}='${t?.replace(/'/g,"'")}'`).join(" ");f+=``}return`${p}${f}`}function b(e,t,a,i={},r=[]){let n=!!e.customRatios;if(e.damType===d.HYPATIA)return k(e,t,a);if(e.damType===d.CLOUDINARY){if("original"===a||n){let a=i.w||g[t].defaultWidth;return R(e.url,"",a)}{let{h:l,w:r}={...g[t].ratioSizes[a],...i};return R(e.url,l,r)}}if(e.damType!==d.STELLAR)return e.url;{let s=function(e){if(e&&"string"==typeof e){for(let t of["mini","small","medium","large","exlarge"])if(e.includes(t))return e.replace(t,"")}return e}(a),h=n?a:{...g[t].ratioSizes[a],...i};if(e.isElevated&&e.extraCropCommands){let e=r[t];if(e.includes("w_")||e.includes("h_")){let t=[...e.matchAll(/w_([^,]*)/g)],a=[...e.matchAll(/h_([^,]*)/g)],i=t[t.length-1]?.[1],l=a[a.length-1]?.[1];h.w=i||h.w,h.h=l||h.h}}return function(e,t,a,i=null,r){let n=e.isElevated&&e.extraCropCommands?e.extraCropCommands[t]:r;if(e.isElevated&&e.extraCropCommands){let a=new URL(e.url),i=e.breakpointCropRatios[t];i&&(a.searchParams.set("c",i),e.url=a.toString())}return o.buildUrl(e,{ratio:e.cropRatio||a,ratioSize:i||g[t].ratioSizes[a],extraCropCommands:"string"==typeof n?l(n.split(",")):n})}(e,t,s,h,r)}}function k(e,t,a){let l=g[t].hypatiaCutKeys[a],r={};return i(e,"cuts")&&(r=e.cuts.find(e=>e.key===l)||e.cuts.sort(function(e,t){let a=e.width*e.height;return t.width*t.height-a}).find(e=>e.ratio===a)),i(r,"url",e.url)}function R(e,t,a){if(!e)return"";let i=["/upload/","/fetch/"],l=["c_fill","f_auto"];return t&&l.push(`h_${t}`),a&&l.push(`w_${a}`),i.find(t=>e.includes(t))||(e.startsWith("http")||(e=`https:${e}`),e=`https://res.cloudinary.com/coredev-test/image/fetch/${encodeURIComponent(e)}`),i.reduce((e,t)=>e.replace(t,`${t}${l.join(",")}/`),e)}function E({config:e,content:t}){let{componentVariation:a,isElevated:i}=e,{titleDiv:l,imageCaption:r,inlineCreditFig:o}=t;return` ${l||""} ${r||""} ${o||""} `}function V(e){return Object.keys(g).reduce((t,a)=>(Object.prototype.hasOwnProperty.call(e,a)&&(t[a]=e[a]),t),{})}t.renderImage=function({hash:e,data:t}){let{image:a}=e,i=e.isElevated||a.isElevated||!1;C(i),a.componentVariation=_(e.componentVariationOverride,a.componentVariation,"image");let l=!!a.customRatios,r=function(e){function t(e){let t="/media/sites/cnn/cnn-fallback-image.jpg";e.removeAttribute("onerror"),e.src=t;let a=e.previousElementSibling;for(;a&&"SOURCE"===a.tagName;)a.srcset=t,a.removeAttribute("type"),a=a.previousElementSibling;e.dataset.imgCssVars?.split(",").forEach(t=>{e.style.removeProperty(t)})}return!e.locals||e.locals.edit||e.locals._imageErrorHandlerAdded?("object"!=typeof window||window.imageLoadError||(window.imageLoadError=t),""):(e.locals._imageErrorHandlerAdded=!0,""+t.toString()+"")}(t.root),o=_(a.ratios,e.ratios,a.customRatios,f),n=_(e.includeImgCssVars,!1),h=_(e.enableHighRes,!1),d=_(a.lazy,e.lazy,!1),m=_(a.caption,e.caption,!0),x=_(a.location,e.location,!1),c=_(a.credit,e.credit,!0),w=_(a.class,e.class,""),p=_(a.title,e.title,!0),b=e.fixedRatio||null,k=e.cropRatio||null,R=e.isLink||void 0,V=e.isLede||!1,A=e.forceToAVIF||!1,T=_(a.extraCropCommands,e.extraCropCommands,""),z=_(a.renderOnlyImg,e.renderOnlyImg,!1),I=_(a.allowPlaceholderRender,e.allowPlaceholderRender,!0),L=_(a.renderInlineCaption,e.renderInlineCaption,!1),O=S(e),W=y(a,o,d,V,A,{fixedRatio:b,overrides:O,extraCropCommands:T,hasCustomRatios:l,cropRatio:k},n,h),j=_(e.alt,a?.metadata?.alt,""),H=e.displayCreditInline||!1,P="";return z?(I||!(a.url.includes(u)||a.uri.includes(u)))&&(P=function(e,t,a,i,{fixedRatio:l=null,overrides:r,extraCropCommands:o,hasCustomRatios:n}){let s=v(e,a,void 0,{fixedRatio:l,overrides:r,extraCropCommands:o,hasCustomRatios:n}),h={w:null,h:null};if(o){let e=[...s.matchAll(/w_([^,]*)/g)],t=[...s.matchAll(/h_([^,]*)/g)];h.w=e[e.length-1]?.[1],h.h=t[t.length-1]?.[1]}else if("original"===l||n)h.w=e.width,h.h=e.height;else{let e=g.mobile.ratioSizes[a.mobile];h.w=e.w,h.h=e.h}return``}(a,w,o,j,{fixedRatio:b,overrides:O,extraCropCommands:T,hasCustomRatios:l})):P=` ${W}${L?E({config:{componentVariation:a.componentVariation,isElevated:i},content:{imageCaption:s(a.metadata.caption)}}):""} ${a.afterMediaHtml?a.afterMediaHtml:""} ${function({image:e,caption:t,credit:a,title:i,displayCreditInline:l,isLink:r,isElevated:o,location:n}){let{componentVariation:h,metadata:d={}}=e,m="",x="",u="",c="",w=r?s(d.caption):d.caption,p=s(d.credit||"");i&&d.title&&(x=`${d.title} — `),a&&d.credit&&(m=`${p}`),n&&(c=` ${d.location||""} ${t&&w&&d.location?"—":""} `);let g=l?`${m}`:"";return(t&&(u=E({config:{componentVariation:h,isElevated:o},content:{titleDiv:x,imageCaption:w,inlineCreditFig:g}})),u||m||c)?o?` ${c} ${u} ${l?"":m} `:` ${c} ${u} ${l?"":m} `:` `}({image:a,caption:m,credit:c,title:p,displayCreditInline:H,isLink:R,isElevated:i,renderOuterCaption:!L,location:x})} `,V?P:`${r}${P}`},t.getImageUrl=function({hash:e}){let{image:t,ratios:a,viewport:i,fixedRatio:l,extraCropCommands:r=""}=e;if(t&&(t.url||t.uri))return v(t,a||f,i,{fixedRatio:l,overrides:S(e),extraCropCommands:r})},t.responsiveImage=function({hash:e}){let{image:t,ratios:a=t.ratios,lazy:i=!0,fixedRatio:l=null,extraCropCommands:r="",isLede:o=!1,forceToAVIF:n=!1,includeImgCssVars:s=!1,enableHighRes:h=!1}=e,d=S(e);return`${y(t,a||f,i,o,n,{fixedRatio:l,overrides:d,extraCropCommands:r},s,h)}`},t.responsiveSourceSet=function(e){return C(e.isElevated||!1),`${function(e,t){let a="",i=new Set;return e&&(e.uri||e.url)&&Object.entries(V(t)).reverse().forEach(([t,l])=>{let r=g[t].ratioSizes["1x1"].w;i.has(r)||(a+=`${b(e,t,l)} ${g[t].ratioSizes["1x1"].w}w,`,i.add(r))}),a}(e,f)}`},t.create=function({url:e,uri:t,alt:a="",credit:i="",damType:l="cloudinary"}){let r={url:e,damType:l,componentVariation:"image",cuts:[],crops:[],metadata:{alt:a,caption:"",source:"",credit:i,dateCreated:""}};return t&&(r._ref=t),r},t.generateCloudinaryUrl=R,t.generateSourceByDAM=b,t.titleDataFallback=function(e){return e.slug||e.name||e.title||e.filename},t._getHypatiaCutUrl=k,t._getElevatedVariation=$,t._orderImageRatios=V,t.CROP_RATIOS=["original","16x9","16x5","4x3","3x2","1x1","2x3","3x4","9x16"],t.DAM_TYPES=d}}]); /* window.modules["445"] */ "use strict";(self.modules=self.modules||[]).push([["445"],{445:e=>{e.exports={getAdfuelSrc:(e="head")=>{let i;return(i=window.CNN.helpers.isArabicPage()?window.env.ADFUEL_ARABIC_SRC:window.CNN.helpers.isEspanolPage()?window.env.ADFUEL_ESPANOL_SRC:window.CNN.helpers.isSection(window.CNN.helpers.SECTIONS.BUSINESS)?window.CNN.helpers.isEditionPage()?window.env.ADFUEL_BUSINESS_EDITION_SRC:window.env.ADFUEL_BUSINESS_SRC:window.CNN.helpers.isEditionPage()?window.env.ADFUEL_CNN_EDITION_SRC:window.env.ADFUEL_CNN_SRC)?i.find(i=>{switch(e){case"head":return!i.includes("-body")&&!i.includes("-lite");case"body":return i.includes("-body");case"lite":return i.includes("-lite");default:return!1}})||"":(console.error("Could not determine AdFuel script src, please check build"),"")}}}}]); /* window.modules["448"] */ "use strict";(self.modules=self.modules||[]).push([["448"],{448:(e,t,s)=>{let r=["file:","ftp:","http:","https:","ws:","wss:"],o=()=>"undefined"!=typeof window?window.location||{}:void 0!==s.g&&s.g.location||{};e.exports=function(e,t=o()){let s=e=>["80","443"].includes(e)||!e,a=({username:e,password:t})=>{let s=`${e}${t?`:${t}`:""}`;return s?`${s}@`:""},h=({protocol:e})=>e?`${e}//`:"",n=e=>`${e||""}`,p={hash:t.hash||"",hostname:t.hostname||"",origin:t.origin||"",password:t.password||"",port:t.port||"",protocol:t.protocol||"",search:t.search||"",slashes:!1,username:t.username||""},l={get hash(){return p.hash},set hash(value){p.hash=n(value)},get host(){return`${p.hostname}${s(p.port)?"":`:${p.port}`}`},set host(value){let[e,t]=n(value).split(":");l.hostname=e,l.port=t??""},get hostname(){return p.hostname},set hostname(value){p.hostname=n(value)},get href(){let{host:e,pathname:t,search:s,hash:r}=l;return`${h(l)}${a(l)}${e}${e&&t&&!t.startsWith("/")?"/":""}${t}${s}${r}`},get password(){return p.password},set password(value){p.password=n(value)},get pathname(){return p.pathname},set pathname(value){p.pathname=n(value)},get port(){return p.port},set port(value){p.port=n(value)},get protocol(){return p.protocol},set protocol(value){let e=n(value).trim().replace(/:?$/,":");p.protocol=":"===e?"":e},get search(){return p.search},set search(value){p.search=n(value)},get slashes(){return p.slashes},set slashes(value){p.slashes=!!value},get username(){return p.username},set username(value){p.username=n(value)},set(e,t){l[e]=t},toString:()=>l.href};try{let t=e.startsWith("//")?new URL(e,p.origin):new URL(e);l.hostname=decodeURIComponent(t.hostname),l.pathname=decodeURIComponent(t.pathname),["hash","password","port","protocol","search","username"].forEach(e=>l.set(e,t[e])),l.slashes=t.href.replace(t.protocol,"").startsWith("/")}catch(t){l.pathname=e}return r.includes(l.protocol)&&"/"!==l.pathname.charAt(0)&&(l.pathname=`/${l.pathname}`),l}}}]); /* window.modules["450"] */ "use strict";(self.modules=self.modules||[]).push([["450"],{450:function(e,t,n){var r;!function(a){if("function"!=typeof f){var f=function(e){return e};f.nonNative=!0}let o=f("plaintext"),i=f("html"),u=f("comment"),c=//g,l=/]+)/;function s(e,t,n){return h(e=e||"",b(t=t||[],n=n||""))}function b(e,t){return{allowable_tags:e=function(e){let t=new Set;if("string"==typeof e){let n;for(;n=c.exec(e);)t.add(n[1])}else f.nonNative||"function"!=typeof e[f.iterator]?"function"==typeof e.forEach&&e.forEach(t.add,t):t=new Set(e);return t}(e),tag_replacement:t,state:o,tag_buffer:"",depth:0,in_quote_char:""}}function h(e,t){if("string"!=typeof e)throw TypeError("'html' parameter must be a string");let n=t.allowable_tags,r=t.tag_replacement,a=t.state,f=t.tag_buffer,c=t.depth,s=t.in_quote_char,b="";for(let t=0,h=e.length;t":if(s)break;if(c){c--;break}s="",a=o,f+=">",n.has(function(e){let t=l.exec(e);return t?t[1].toLowerCase():null}(f))?b+=f:b+=r,f="";break;case'"':case"'":s=h===s?"":s||h,f+=h;break;case"-":""===h?("--"==f.slice(-2)&&(a=o),f=""):f+=h)}return t.state=a,t.tag_buffer=f,t.depth=c,t.in_quote_char=s,b}s.init_streaming_mode=function(e,t){let n=b(e=e||[],t=t||"");return function(e){return h(e||"",n)}},void 0!==(r=(function(){return s}).call(t,n,t,e))&&(e.exports=r)}(0)}}]); /* window.modules["454"] */ "use strict";(self.modules=self.modules||[]).push([["454"],{454:(e,t,i)=>{let{getComponentName:n,replaceVersion:l}=i("78"),s=i("416"),{create:r}=i("425"),{has:a}=i("12"),o=i("57"),c=i("572"),{getSite:d}=i("137"),p=i("307"),u=["type-custom","type-custom-video"],f={CURATED:"curated",MANUAL:"manual",FILL:"fill"},_={livestream:"type-live-video","live-story":"type-updates","vertical-livestream":"type-live-video","vertical-video":"type-video"},v={"type-audio":"Audio","type-bleacher-report":"B/R","type-breaking":"Breaking News","type-exclusive":"CNN Exclusive","type-fact-check":"Fact Check","type-investigates":"CNN Investigates","type-underscored":"CNN Underscored","type-updates":"Live Updates","type-updates-in-spanish":"Actualizaciones en Vivo","type-opinion":"Opinion","type-analysis":"Analysis","type-video":"Video","type-gallery":"Gallery","type-podcasts":"Podcast","type-poll":"CNN Poll","type-live-video":"Live","type-trending":"Trending","type-review":"Review","type-streaming-non-breaking":"Streaming Now","type-projection-non-breaking":"CNN Projection","type-projection-breaking":"CNN Projection","type-quiz":"Quiz","type-kfile":"KFILE","type-first":"First on CNN","type-for-subscribers":"For Subscribers","z-cnn":"CNN","z-cnnbrk":"CNNBRK","z-cnnbrk_separator":"CNNBRK_SEPARATOR","z-just_in":"JUST_IN","z-exclusive":"EXCLUSIVE","z-developing_story":"DEVELOPING_STORY","z-happening_now":"HAPPENING_NOW","z-new_this_hour":"NEW_THIS_HOUR","type-radio-argentina":"RADIO ARGENTINA"};function m(e,t){let i=d(t)||"cnn",l=null===e.label;if(e.label||l||!_[e.pageType]?e.label||l||!e.subscriptionContent?e.labelText="":e.label="type-for-subscribers":e.label=_[e.pageType],e.label)u.includes(e.label)?e.labelText=e.customLabel:e.labelText=p(i,v[e.label])||"";else if(!l){if(v[`type-${e.pageType}`])e.label=`type-${e.pageType}`,e.labelText=p(i,v[e.label])||"";else if(e.section&&v[`type-${e.section}`])e.label=`type-${e.section}`,e.labelText=p(i,v[`type-${e.section}`]);else if(e.article&&e.article.uri){let t=`type-${n(e.article.uri)}`;v[t]&&(e.label=t,e.labelText=p(i,v[t]))}}}let g=(e={},t,i="")=>(e._ref||(e={...r({url:"",damType:""}),...e,_ref:`${t}/_components/image/instances/${c()}`}),e.componentVariation="image",e._ref=l(e._ref,i),s(e,["__fields","_sizeToken","_wedgerId","_wedgerUri","_wedgerComponent","_wedgerLegacyCmsId","_wedgerLastModifiedDate"]));function y(e,t,i,n=""){if(!e)return null;let s={...e,componentVariation:e.componentVariation||i,_ref:e._ref||`${t}/_components/${i}/instances/${c()}`};return s._ref=l(s._ref,n),s}function b(e,t){return e?.length&&t?.length?e.map(e=>t.findIndex(t=>t?._ref===e)).filter(e=>-1!==e):[]}e.exports={DEFAULT_CARD_VERSION:"1.3",CUSTOM_TEXT_LABELS:u,CARD_TYPES:f,PAGE_TYPE_LABEL_OVERRIDES:_,setLabel:m,createCard:function({_version:e="1.3",uri:t,url:i,urlPath:n,headline:r,description:a,pageType:o,authors:d,lastPublished:p,firstPublished:u,label:_,image:v,videoResource:b,loop:h,tveEpisodeAsset:A,tveFilmAsset:N,mediaPicker:$,type:R,wordCount:C,readTimeTextDefault:E,readTimeTextAlt:I,section:T,subsection:w,showThumbnail:M,subscriptionContent:F,disablePaywall:L,durationLabel:S,videoResourceParentUri:k,selectedMedia:z,selectedMediaIndices:P,intent:U,productMetadata:x},O,V,D="",B=c()){let j=g(v,O,D),G="livestream"===o||"videoResource"===$||"fill"===R&&"vertical-video"===o?function(e,t,i={}){return e?{...s(e,["__fields","_version","_wedgerComponent","_wedgerId","_wedgerLastModifiedDate","_wedgerLegacyCmsId","_wedgerUri","_wedgerUrl","autoplay","durationISO","firstPublished","lastPublished","show","socialShare","sourceUrl","tags","theme"]),thumbnail:[g(e.thumbnail[0],t)],...i}:null}(b,O,{fill:!0,autostart:"unmuted",inPlaylist:!1}):null,H="loop"===$?function(e,t,i=""){if(!e)return null;let n={...e,_ref:e._ref||`${t}/_components/interactive-video/instances/${c()}`};return n._ref=l(n._ref,i),n}(h,O,D):null,K="tveEpisodeAsset"===$?y(A,O,"tve-episode-asset",D):null,W="tveFilmAsset"===$?y(N,O,"tve-film-asset",D):null,q={_version:e,url:i,urlPath:n,headline:r,description:a,showThumbnail:M,type:R,uri:t,image:[j],videoResource:G?[G]:[],loop:H?[H]:[],tveEpisodeAsset:K?[K]:[],tveFilmAsset:W?[W]:[],videoDuration:b?.duration,mediaPicker:G&&$||H&&$||K&&$||W&&$||"image",pageType:o,label:_||"",componentVariation:"card",authors:d,lastPublished:p,firstPublished:u,wordCount:C,readTimeTextDefault:E,readTimeTextAlt:I,section:T,subsection:w,subscriptionContent:F,disablePaywall:L,durationLabel:S,videoResourceParentUri:k,selectedMedia:z,selectedMediaIndices:P,intent:U||"auto",productMetadata:x};return q._ref=l(`${O}/_components/card/instances/${B}`,D),R===f.FILL?(q.image[0]._ref=l(`${O}/_components/image/instances/card_${B}`,D),q.videoResource?.length&&(q.videoResource[0]._ref=l(`${O}/_components/video-resource/instances/card_${B}`,D),q.videoResource[0].thumbnail[0]._ref=l(`${O}/_components/image/instances/card_video_${B}`,D)),q.loop?.length&&(q.loop[0]._ref=l(`${O}/_components/interactive-video/instances/card_${B}`,D)),q.tveEpisodeAsset?.length&&(q.tveEpisodeAsset[0]._ref=l(`${O}/_components/tve-episode-asset/instances/card_${B}`,D)),q.tveFilmAsset?.length&&(q.tveFilmAsset[0]._ref=l(`${O}/_components/tve-film-asset/instances/card_${B}`,D)),"videoResource"===$&&q.videoResource?.length?q.selectedMedia=[q.videoResource[0]._ref]:"loop"===$&&q.loop?.length?q.selectedMedia=[q.loop[0]._ref]:"tveEpisodeAsset"===$&&q.tveEpisodeAsset?.length?q.selectedMedia=[q.tveEpisodeAsset[0]._ref]:"tveFilmAsset"===$&&q.tveFilmAsset?.length?q.selectedMedia=[q.tveFilmAsset[0]._ref]:q.selectedMedia=[q.image[0]?._ref]):z&&z?.length||(q.selectedMedia=q.image[0]._ref?[q.image[0]._ref]:[]),m(q,V),q},sanitizeInputs:function(e,t){a(e.headline)&&(e.headline=o.toSmartHeadline(e.headline,t))},normalizeByline:function(e){e.byline=Array.isArray(e.byline)?e.byline:[]},calculateSelectedMedia:function(e,t,i){let n=(e.cardContent??e.pageContent)?.[t],l=i,s=[];return s=l?b(l,n):(l="card"===e.pageType?n?.[0]?._ref?[n[0]._ref]:[]:e.thumbnailRef?[e.thumbnailRef]:[]).length?[0]:[],{selectedMedia:l,selectedMediaIndices:s}},computeSelectedMediaIndices:b,computeSelectedMediaFromIndices:function(e,t){return e?.length&&t?.length?e.map(e=>t[e]?._ref).filter(Boolean):[]},hasStaleSelectedMedia:function(e,t){if(!e?.length)return!1;if(!t?.length)return!0;let i=t.map(e=>e?._ref).filter(Boolean);return!e.some(e=>i.includes(e))},getSelectedMedia:function(e,t,i){if(e.selectedMedia&&e.selectedMedia.length>0){let n=e[t]?.find(t=>e.selectedMedia.includes(t._ref));if(n)return["v1","v2"].includes(i)&&"image"===t?[n]:n}switch(i){case"v3":case"v4":if(e.selectedMedia&&0===e.selectedMedia.length)return null;return(e[t]??[])[0]??null;case"ott":return(e[t]??[])[0]??{};default:switch(t){case"loop":case"videoResource":case"tveEpisodeAsset":case"tveFilmAsset":return(e[t]??[])[0]??null;default:return[]}}},resolveIntent:function(e){return e.intent&&"auto"!==e.intent?e.intent:"videoResource"===e.mediaPicker?"play-inline":"link"}}}}]); /* window.modules["469"] */ (self.modules=self.modules||[]).push([["469"],{469:e=>{e.exports=function(e){return null===e}}}]); /* window.modules["471"] */ (self.modules=self.modules||[]).push([["471"],{471:(t,o,r)=>{var e=r("3025"),n=r("3523"),c=r("3026"),l=Object.prototype,u=Function.prototype.toString,s=l.hasOwnProperty,a=u.call(Object);t.exports=function(t){if(!c(t)||"[object Object]"!=e(t))return!1;var o=n(t);if(null===o)return!0;var r=s.call(o,"constructor")&&o.constructor;return"function"==typeof r&&r instanceof r&&u.call(r)==a}}}]); /* window.modules["474"] */ "use strict";(self.modules=self.modules||[]).push([["474"],{474:(s,e,t)=>{let a=t("116"),h=t("13"),l=t("492"),c=({index:s,body:e})=>({index:s,body:e}),i=s=>h.post("/_search",s).then(({body:s})=>s),r=async(s,e)=>l.searchElasticWithCache(s,e,i),u=async(s,e)=>{let t=c({index:s,body:{query:{ids:{values:[e]}}}});return a(await i(t),["hits","hits",0],{})};s.exports={buildQuery:c,getById:u,searchElastic:i,searchElasticWithCache:r}}}]); /* window.modules["475"] */ "use strict";(self.modules=self.modules||[]).push([["475"],{475:(e,r,t)=>{var s=t("389");let o=t("607"),i=t("116"),u=t("123"),l=t("417"),{prefixElasticIndex:n}=t("492");e.exports=e=>{let r={index:i(s,"versions.node")&&e?n(e):e,body:{}},t=[];return{build:()=>{if(t.length){let e=i(r,"body.query");delete r.body.query,u(r,"body.query.function_score.functions",t),u(r,"body.query.function_score.query",e)}return JSON.parse(JSON.stringify(e?r:r.body.query))},buildCacheCheck(){let e=i(r,"body._source",[]),t=i(r,"body.version",!1);this.include(!1),this.version(!0);let s=this.build();return this.include(e),this.version(t),s},condition(e,t){let s=`body.query.bool.${e}`,l=i(r,s,[]);return o(t)?u(r,s,l.concat(t)):(l.push(t),u(r,s,l)),this},nestedCondition(e,t,s){let o=`body.query.bool.${t}`,l=i(r,o,[]);return l.push({nested:{path:e,query:s}}),u(r,o,l),this},include:e=>{u(r,"body._source",e)},version:e=>{u(r,"body.version",e)},minimumShould:e=>{u(r,"body.query.bool.minimum_should_match",e)},sort(e,t="desc"){let s="body.sort",l=i(r,s);return o(l)||u(r,s,l=[]),l.push({[e]:t}),this},size(e){return u(r,"body.size",parseInt(e)),this},collapse:e=>{u(r,"body.collapse",{field:e})},from:e=>{u(r,"body.from",parseInt(e))},search:(e,t,s="query_string",i={escapeterm:!0})=>{let l;l=i.escapeterm?e.replace(/^https?:\/\//,"").replace(/\\/g,"\\\\").replace(/([\/|:])/g,"\\$1"):e,delete i.escapeterm,u(r,"body.query",{[s]:{query:l,fields:o(t)?t:[t],...i}})},score:(e,r,s="linear",o="365d",i=.1)=>{t.push({[s]:{[e]:{origin:r,scale:o,decay:i}}})}}},e.exports.CONDITION={SHOULD:"should",MUST:"must",MUST_NOT:"must_not",FILTER:"filter"},e.exports.match=(e,r,t=!0)=>({[t?"match_phrase":"match"]:{[e]:r}}),e.exports.range=(e,r)=>({range:{[e]:r}}),e.exports.exists=e=>({exists:{field:e}}),e.exports.terms=(e,r)=>({terms:{[e]:r}}),e.exports.term=(e,r)=>({term:{[e]:r}}),e.exports.queryString=(e,r)=>({query_string:{query:e.replace(/^https?:\/\//,"").replace(/\\/g,"\\\\").replace(/([/|:])/g,"\\$1"),fields:o(r)?r:[r]}}),e.exports.ids=e=>({ids:{values:e}}),e.exports.formatElasticSearchResponse=({hits:e={}})=>l(i(e,"hits"),"_source"),e.exports.multiMatch=(e,r)=>({multi_match:{query:e,fields:o(r)?r:[r],type:"phrase"}}),e.exports.matchAll=()=>({match_all:{}})}}]); /* window.modules["479"] */ "use strict";(self.modules=self.modules||[]).push([["479"],{479:e=>{let t="__flexInheritance",n="parent",l="child",i="zone",r=["componentVariation","name","slug","_ref","_self","_version","__flexInheritance","__sharedComponentMeta","__meta"],a=["componentVariation","title","titleUrl","titleStyle","titleSize"],o=["isFlexChild","inlineEditingEnabled","flexChildClass","inEditMode","isSharedComponentPageEditMode","isSectionPageType","defaultHeaderTag","alternateHeaderTag","variation","class","listTag","cardTag","mlContainerClass","mlRecommendedCardsCount","placeholderText","contentRecsCalled"];function d(e){return!!(e&&e[t]?.role===n)}function s(e){return!!(e&&e[t]?.role===l&&e[t]?.parentRef)}function c(e,n=null){let l={},i=n?.[t]?.overrides||{};for(let t of Object.keys(e||{}))r.includes(t)||o.includes(t)||i[t]||(l[t]=e[t]);return l}function u(e,t){return{...t,...c(e,t)}}e.exports={isFlexParent:d,isFlexChild:s,getFlexChildRefs:function(e){return d(e)&&Array.isArray(e[t].childRefs)?e[t].childRefs:[]},extractMainComponentRef:function(e){return e?Array.isArray(e)?e[0]?._ref||null:e._ref||null:null},extractInheritableFields:c,mergeParentIntoChild:u,mergeParentIntoChildAtAttach:function(e,t){let n=u(e,t);for(let t of a)e&&void 0!==e[t]&&(n[t]=e[t]);return n},buildParentMeta:function(e,t=[]){return{role:n,experimentName:e||"",childRefs:Array.isArray(t)?[...new Set(t)]:[]}},buildChildMeta:function(e,t=null){let n={role:l,parentRef:e};return t&&Object.keys(t).length>0&&(n.overrides={...t}),n},applyFlexRenderFlags:function(e,t){let n=s(e);e.inlineEditingEnabled=!n,e.flexChildClass=t?.edit&&n?" container--flex-child":""},OVERRIDABLE_INHERITED_FIELDS:["title","titleUrl","titleStyle","titleSize"],FLEX_EXPERIMENT_COMPONENT_NAME:"flex-experiment",FLEX_VARIANT_COMPONENT_NAME:"flex-variant",CONTAINER_COMPONENT_NAME:"container",STACK_COMPONENT_NAME:"stack",ZONE_COMPONENT_NAME:i,ZONE_COMPONENT_NAMES:[i,"product-zone"],CONTROL_VARIANT_INDEX:1}}}]); /* window.modules["481"] */ "use strict";(self.modules=self.modules||[]).push([["481"],{481:(e,a,i)=>{let l=i("116"),o=["type-video","type-custom-video","type-live-video","type-streaming-non-breaking","type-audio","type-podcasts","type-gallery"],t={container:{showMedia:"first",imageRatios:{upToSmall:"medium16x9",mobile:"medium16x9",tablet:"large16x9",desktop:"large16x9"},slideImageRatios:{upToSmall:"2x3"},showDescription:!1,showReadTime:!1,showDate:!1,showKicker:!1,cardsRequired:!0,showLabel:["media","textIcon"]},"container_bulleted-headlines":{showMedia:"none",showLabel:["text","textIcon"]},container_card:{showMedia:"all",imageRatios:{upToSmall:"medium16x9",mobile:"medium16x9",tablet:"large16x9",desktop:"large16x9"},showDescription:!0},"container_lead-package":{showLabel:["media","textIcon","text"],showMedia:"all",includeImgCssVars:!0,enableHighRes:!0,allowVisualCueMediaLabels:o,imageRatios:{upToSmall:"small1x1",mobile:"small1x1",tablet:"small3x2",desktop:"small2x3"},imageRatioOverride:[{position:0,ratios:{upToSmall:"medium16x9",mobile:"medium16x9",tablet:"16x9",desktop:"16x9"}}]},"container_spotlight-package":{showLabel:["media","textIcon","text"],showMedia:"first",showDescription:!0,includeImgCssVars:!0,enableHighRes:!0,allowVisualCueMediaLabels:o,imageRatios:{upToSmall:"2x3",mobile:"3x2",tablet:"16x9",desktop:"16x9"},listTagType:"single"},"container_hero-card":{showMedia:"all",imageRatios:{upToSmall:"medium16x9",mobile:"medium16x9",tablet:"16x9",desktop:"16x9"},showDescription:!0},"container_super-hero":{showMedia:"first",showDescription:!0,listTagType:"single"},"container_streaming-carousel":{showMedia:"all",allowVisualCueMediaLabels:o,imageRatios:{upToSmall:"medium16x9",mobile:"medium16x9",tablet:"medium16x9",desktop:"medium16x9"},showDescription:!0,showKicker:!1,showLabel:["text","media"],clickPlay:!1},"container_streaming-showcase":{showMedia:"all",allowVisualCueMediaLabels:o,imageRatios:{upToSmall:"medium16x9",mobile:"medium16x9",tablet:"medium16x9",desktop:"medium16x9"},backgroundImageRatios:{upToSmall:"2x3",mobile:"2x3",tablet:"16x9",desktop:"16x9",xlDesktop:"16x9"},showDescription:!1,showKicker:!0,clickPlay:!1},"container_list-headlines-with-images":{showMedia:"all",imageRatios:{upToSmall:"small1x1",mobile:"small1x1",tablet:"small16x9",desktop:"small16x9"},showDate:!0,showLabel:["mediaIcon","text"]},"container_list-headlines-with-read-times":{showMedia:"all",imageRatios:{upToSmall:"small16x9",mobile:"small16x9",tablet:"small16x9",desktop:"small16x9"},showDate:!0,showReadTime:!0,showLabel:["mediaIcon","text"]},"container_list-with-small-images":{showMedia:"all",imageRatios:{upToSmall:"1x1",mobile:"1x1",tablet:"1x1",desktop:"1x1"},showDescription:!0,showDate:!0},"container_list-with-images":{showMedia:"all",imageRatios:{upToSmall:"medium16x9",mobile:"medium16x9",tablet:"medium16x9",desktop:"medium16x9"},showDescription:!0,showDate:!0},"container_list-images-with-description":{showMedia:"all",imageRatios:{upToSmall:"small16x9",mobile:"small16x9",tablet:"medium16x9",desktop:"16x9"},showDate:!0,showDescription:!0,showLabel:["text","textIcon","media"]},"container_vertical-shelf-carousel":{showMedia:"all",showLabel:["text","textIcon","media"],includeImgCssVars:!0,imageRatios:{desktop:"medium9x16"},showDescription:!1,showKicker:!0},"container_vertical-strip-original-ratio":{showMedia:"all",imageRatios:{upToSmall:{w:"447"},mobile:{w:"927"},tablet:{w:"600"},desktop:{w:"700"}},customRatios:{upToSmall:{w:"447"},mobile:{w:"927"},tablet:{w:"600"},desktop:{w:"700"}},showDescription:!0,cropRatio:"original"},"container_vertical-strip-3x4":{showMedia:"all",imageRatios:{upToSmall:"3x4",mobile:"3x4",tablet:"3x4",desktop:"3x4"},showDescription:!0,cropRatio:"3x4"},"container_vertical-strip":{showMedia:"all",enableHighRes:!0,allowVisualCueMediaLabels:o},"container_feature-cards":{showMedia:"all",imageRatios:{upToSmall:"medium16x9",mobile:"medium16x9",tablet:"16x9",desktop:"16x9"},showKicker:!0,showDescription:!0},"container_feature-grid-3":{showMedia:"all",showKicker:!0},"container_grid-2":{showMedia:"all",showLabel:["text","textIcon","media"],allowVisualCueMediaLabels:o},"container_grid-3":{showMedia:"all",showLabel:["text","textIcon","media"],allowVisualCueMediaLabels:o,imageRatios:{upToSmall:"medium16x9",mobile:"medium16x9",tablet:"medium16x9",desktop:"medium16x9"}},"container_grid-3-with-read-times":{showReadTime:!0,showMedia:"all",showLabel:["text","textIcon","media"],allowVisualCueMediaLabels:o,imageRatios:{upToSmall:"medium16x9",mobile:"medium16x9",tablet:"medium16x9",desktop:"medium16x9"}},"container_grid-3-with-description":{showMedia:"all",showKicker:!0,showDescription:!0},"container_grid-4":{showMedia:"all",showLabel:["text","textIcon","media"],allowVisualCueMediaLabels:o,imageRatios:{upToSmall:"medium16x9",mobile:"medium16x9",tablet:"medium16x9",desktop:"medium16x9"},showKicker:!0},"container_lead-plus-headlines":{showLabel:["media","textIcon","text"],showMedia:"all",includeImgCssVars:!0,enableHighRes:!0,allowVisualCueMediaLabels:o,imageRatios:{upToSmall:"small1x1",mobile:"small1x1",tablet:"small3x2",desktop:"small2x3"},imageRatioOverride:[{position:0,ratios:{upToSmall:"medium16x9",mobile:"medium16x9",tablet:"large16x9",desktop:"large16x9"}}]},"container_lead-plus-headlines-with-images":{showMedia:"all",showLabel:["text","textIcon","media"],includeImgCssVars:!0,enableHighRes:!0,allowVisualCueMediaLabels:o,imageRatios:{upToSmall:"small1x1",mobile:"small1x1",tablet:"small16x9",desktop:"small16x9"},imageRatioOverride:[{position:0,ratios:{upToSmall:"medium16x9",mobile:"medium16x9",tablet:"large16x9",desktop:"large16x9"}}]},container_ribbon:{showMedia:"none",showLabel:["text","textIcon"]},"container_ribbon-left":{showMedia:"none",showLabel:["text","textIcon"]},"container_headline-carousel":{showMedia:"none",showLabel:["text","textIcon"]},"container_app-sliver":{showMedia:"all",imageRatios:{upToSmall:"small16x9",mobile:"small16x9",tablet:"small16x9",desktop:"small16x9"}},"container_app-full":{showMedia:"all"},"container_shelf-carousel-1x1":{showMedia:"all"},"container_list-headlines":{showMedia:"none",showLabel:["text","textIcon"]},"container_feature-list":{showMedia:"all",imageRatios:{upToSmall:"medium16x9",mobile:"medium16x9",tablet:"16x9",desktop:"16x9"},showKicker:!0,showDescription:!0},"container_hero-card-feature":{showMedia:"all",allowVisualCueMediaLabels:o,imageRatios:{upToSmall:"medium16x9",mobile:"medium16x9",tablet:"16x9",desktop:"16x9"},showDescription:!0},"container_shelf-carousel":{showMedia:"all",allowVisualCueMediaLabels:o,imageRatios:{upToSmall:"medium16x9",mobile:"medium16x9",tablet:"medium16x9",desktop:"medium16x9"},showDescription:!1,showKicker:!0,clickPlay:!1},"container_shelf-carousel-tve":{showMedia:"all",imageRatios:{upToSmall:"medium16x9",mobile:"medium16x9",tablet:"medium16x9",desktop:"medium16x9"},showDescription:!0,showKicker:!0,clickPlay:!1},"container_shelf-carousel-tve-media-only":{showMedia:"all",imageRatios:{upToSmall:"medium16x9",mobile:"medium16x9",tablet:"medium16x9",desktop:"medium16x9"},showDescription:!1,showKicker:!1,clickPlay:!1},"container_shelf-carousel-tve-headlines":{showMedia:"all",imageRatios:{upToSmall:"medium16x9",mobile:"medium16x9",tablet:"medium16x9",desktop:"medium16x9"},showDescription:!1,showKicker:!0,clickPlay:!1},"container_dtc-shelf-carousel":{showMedia:"all",imageRatios:{upToSmall:"small16x9",mobile:"small16x9",tablet:"medium16x9",desktop:"medium16x9"},showDescription:!0,showKicker:!0,clickPlay:!0,defaultIntent:"play-main"},"container_list-headlines-ranked":{showMedia:"none",showLabel:["text","textIcon"],listTagType:"ranked"},"container_event-tray":{showMedia:"all",imageRatios:{upToSmall:"extraSmall1x1",mobile:"extraSmall1x1",tablet:"extraSmall1x1",desktop:"extraSmall1x1"},showLabel:["text"],cardsRequired:!1},"container_event-tray-dynamic":{showMedia:"all",imageRatios:{upToSmall:"small1x1",mobile:"medium16x9",tablet:"medium16x9",desktop:"medium16x9"},showLabel:["text"],cardsRequired:!1},"container_live-video-tray":{showMedia:"all",imageRatios:{upToSmall:"medium16x9",mobile:"medium16x9",tablet:"medium16x9",desktop:"medium16x9"},showDate:!1,showLabel:["media"],remapMediaLabels:{matchLabels:["type-updates","type-updates-in-spanish"],displayLabel:"type-live-video",displayLabelText:"Live"},requiredLabelChange:!0},"container_list-short-headlines-ranked":{showMedia:"none",showDescription:!1,cardsRequired:!0,listTagType:"ranked"},container_standard:{showLabel:["textIcon","text","media"],showMedia:"first",allowVisualCueMediaLabels:o,showDescription:!0,includeImgCssVars:!0,enableHighRes:!0,imageRatios:{upToSmall:"16x9",mobile:"16x9",tablet:"16x9",desktop:"16x9"}},"container_side-by-side-feature":{showLabel:["text","media"],showMedia:"first",allowVisualCueMediaLabels:o,imageRatios:{upToSmall:"medium16x9",mobile:"medium16x9",tablet:"16x9",desktop:"16x9"},showDescription:!0,showSlideCardHeadline:!0},"container_ribbon-dtc":{showMedia:"none"},container_storyline:{showLabel:["media","textIcon","text"],showKicker:!0,showMedia:"none",imageRatios:{upToSmall:"medium16x9",mobile:"medium16x9",tablet:"medium16x9",desktop:"medium16x9"}},"container_vertical-tappable":{showMedia:"all",showLabel:[],showDescription:!0,showKicker:!1,cropRatio:"9x16",imageRatios:{upToSmall:{w:"308"},mobile:{w:"308"},tablet:{w:"308"},desktop:{w:"308"}},customRatios:{upToSmall:{w:"308"},mobile:{w:"308"},tablet:{w:"308"},desktop:{w:"308"}}},"container_tve-call-to-action":{showMedia:"none",showLabel:[],showDescription:!1,showKicker:!1,cardsRequired:!0},"container_dynamic-spotlight":{showMedia:"all",showLabel:["media"],showDescription:!0,showKicker:!1,showTalentByline:!0,cropRatio:"2x3",includeImgCssVars:!0,enableHighRes:!0,imageRatios:{upToSmall:"2x3",mobile:"2x3",tablet:"2x3",desktop:"2x3"},videoOverrides:{autostart:"muted",showAds:!1,showAdFeedback:!1}},container_developing:{showMedia:"none",showLabel:["text","textIcon"],isDevelopingContainer:!0,developingHeadlineClass:" container_developing__headline-text"},"container_avatar-carousel":{showMedia:"all",imageRatios:{upToSmall:"small1x1",mobile:"small1x1",tablet:"small1x1",desktop:"small1x1"},imageExtraCropCommands:"c_thumb,g_face,w_100,h_100",showDescription:!1,showLabel:[],cardsRequired:!1}};function s(e,a){let i=e[a];return Array.isArray(i)?i[0]:i}let m=["backgroundImage","backgroundLoop","backgroundVideoResource"],d={single:{list:"div",item:"div"},unranked:{list:"ul",item:"li"},ranked:{list:"ol",item:"li"}};function n(e){return{...t.container,...l(t,e.componentVariation?.toLowerCase(),{})}}function r(e){let a=d[e]?e:"unranked";return d[a].list}function u(e){let a=d[e]?e:"unranked";return d[a].item}e.exports={createContainer:function({_ref:e,ads:a=[],cards:i=[],count:l=0,title:o="",autofill:t={pageTypes:[],conditions:[]},titleUrl:s="",titleStyle:m="",kickerLayout:d="kicker-text",kickerImage:c,lazyLoadImages:x=!1,paginationEnabled:h=!1,componentVariation:w="container_lead-plus-headlines",alternateHeaderTag:p="h2",showComponent:b=!0,recsModel:g="",recsContentTypes:k="",recsSections:M="",source:R,contentRecsCalled:T,tenantId:_="",isFallbackResult:L=!1,subscriberCardMakeUp:S=!1}){let y={_ref:e,ads:a,cards:i,count:l,title:o,autofill:t,titleUrl:s,titleStyle:m,kickerLayout:d,kickerImage:c,lazyLoadImages:x,paginationEnabled:h,componentVariation:w,alternateHeaderTag:p,showComponent:b,recsModel:g,recsContentTypes:k,recsSections:M,source:R,contentRecsCalled:T,tenantId:_,isFallbackResult:L,subscriberCardMakeUp:S};return y.variation=n(y),y.listTag=r(y.variation.listTagType),y.cardTag=u(y.variation.listTagType),y},getVariation:n,applyContainerMediaLabelRemap:function(e,a,i){let l=n({componentVariation:e}),o=l?.remapMediaLabels;return l?.requiredLabelChange&&o?.matchLabels?.includes(a)?{label:o.displayLabel,labelText:o.displayLabelText}:{label:a,labelText:i}},getListTagByType:r,getListItemTagByType:u,getBackgroundMediaItem:s,getStreamingBackgroundField:function(e){let a=e.backgroundMediaPicker||"backgroundImage";return s(e,a)?a:m.find(a=>s(e,a))||a}}}}]); /* window.modules["490"] */ (self.modules=self.modules||[]).push([["490"],{490:(e,s,o)=>{var r=o("3536")(function(e,s,o){return e+(o?"_":"")+s.toLowerCase()});e.exports=r}}]); /* window.modules["492"] */ "use strict";(self.modules=self.modules||[]).push([["492"],{492:(t,e,s)=>{var a=s("389");async function i(t,e,s){let a={results:null,cache:{key:e,miss:!1}},i=await s(t.buildCacheCheck()),l=await r(i);return l!==e&&(a.results=await s(t.build()),a.cache.key=l,a.cache.miss=!0),a}async function r(t){let e="";for(let s of t.hits.hits)e+=s._id+s._version;let s=new TextEncoder().encode(e);return Array.from(new Uint8Array(await globalThis.crypto.subtle.digest("SHA-1",s))).map(t=>t.toString(16).padStart(2,"0")).join("")}t.exports={parseElastic:t=>({data:t.hits?.hits,total:t.hits?.total?.value}),prefixElasticIndex:function(t){let e=a.env.ELASTIC_PREFIX;return e?t.split(",").map(t=>`${e}_${t}`.trim()).join(","):t},searchElasticWithCache:i}}}]); /* window.modules["511"] */ (self.modules=self.modules||[]).push([["511"],{511:(e,s,u)=>{var l=u("3537");e.exports=function(e,s){return l(e,s)}}}]); /* window.modules["520"] */ (self.modules=self.modules||[]).push([["520"],{520:(s,e,l)=>{var o=l("3538"),u=l("3539")(function(s,e,l){o(s,e,l)});s.exports=u}}]); /* window.modules["572"] */ (self.modules=self.modules||[]).push([["572"],{572:(t,n,e)=>{var r=e("3580"),i=e("3579"),u=e("3581"),s=0;function o(){return i((1679616*u()=7&&n{let o=r("23"),{getUserInfo:n,authClient:i}=r("35"),s=r("31").setup({file:"/index.js"}),{formatLoggingData:a}=r("641"),d="cnn_tid",l=["data-store"],c=()=>{let e=window&&window.WBD&&window.WBD.UserConsent;return!!(e&&e.inUserConsentState(l,{name:"store-tid"}))},w=()=>{try{window.localStorage.getItem(d)&&(window.localStorage.removeItem(d),s("info","Cleared stored TID",{event:"store_tid_cleared"}))}catch(e){throw s("error","Error clearing user TID",a(e)),e}},g=async({force:e=!1}={})=>{if(!o.get("DYNAMIC_CONFIG.cdp_tid_storage_enabled",!1)){s("info","storeTid: feature disabled, no-op");return}try{if(!c()){w(),s("info","storeTid: no storage consent, clearing stored TID");return}if(!i.getToken()){s("info","storeTid: no auth token, leaving existing TID in place");return}let t=window.localStorage.getItem(d);if(t&&!e)return;let{success:r,userInfo:o}=await n(),a=r&&o&&o.tid;a&&a!==t&&window.localStorage.setItem(d,a)}catch(e){throw s("error","Error storing user TID",a(e)),e}};e.exports={storeTid:g,clearStoredTid:w,hasStorageConsent:c,TID_STORAGE_KEY:d}}}]); /* window.modules["585"] */ "use strict";(self.modules=self.modules||[]).push([["585"],{585:(e,t,i)=>{let{isFromEmailSideDoor:T,isSubscriberCB:l,isWallExcluded:A,defaultManageWallVisibility:r}=i("80"),{checkAndRenderRegiwall:a}=i("767"),{checkAndRenderMeterPaywall:f}=i("766"),{checkAndRenderWatchPaywall:S}=i("769"),{checkDtcAccess:n,isAuthenticated:U}=i("73"),{getRegionFlag:E}=i("83"),s=i("23"),{isPageVariant:u}=i("7"),{actions:P,dispatch:d}=i("48"),{checkAndRenderSubOnlyPaywall:D}=i("2967"),{authClient:_}=i("35"),{PAYWALL:o}=P,{isReadOnlySubscriber:y}=i("42"),{isPaywallEnabled:W,paywallTypes:c}=i("41"),w=async(e,{manageWallVisibility:t=()=>()=>{}}={})=>{let i=_.tokenWithAuthn(),T=i?await n():U(),l=i&&!T&&await y();return A(!1)||!W()||!s.get("WATCH_PAYWALL_ENABLED")||T?(d(o.UPDATE_STATUS,{fired:!1}),!1):(S({el:e,isLoggedIn:i,manageWallVisibility:t,showUpgradeVariation:l}),d(o.UPDATE_STATUS,{fired:!0}),!0)},m=async(e,{contentSelector:t,pageVariants:i}={})=>(!i||!!u(i))&&await w(e,{manageWallVisibility:e=>()=>r(e)({contentSelector:t})});e.exports={initRegWallActivation:(e,{isLoggedIn:t=!1,dismissible:i=!1,isSubOnlyWall:T,isComplimentaryAccess:l=!1,payWallCount:A,forceTrigger:r=!1,manageWallVisibility:f=()=>()=>{}}={})=>{let S=a({el:e,manageWallVisibility:f,isLoggedIn:t,dismissible:i,isSubOnlyWall:T,isComplimentaryAccess:l,payWallCount:A,forceTrigger:r});d(o.UPDATE_STATUS,{fired:S})},initSubWallActivation:(e,{isSubOnlyWall:t,isLoggedIn:i,isRegiwallEnabled:A,manageWallVisibility:r=()=>()=>{}}={})=>{if(!t&&T()){d(o.UPDATE_STATUS,{fired:!1});return}let a=!1;l(T=>{let l;if(a)return;if(a=!0,T){d(o.UPDATE_STATUS,{fired:!1});return}let S=t?c.EXCLUSIVE:c.METERED,n=t?E("subOnlyPaywallOff"):E("meterPaywallOff");if(!W(S)||n){d(o.UPDATE_STATUS,{fired:!1});return}l=t?D({el:e,isLoggedIn:i,manageWallVisibility:r,isRegiwallEnabled:A}):f({el:e,isLoggedIn:i,manageWallVisibility:r,isRegiwallEnabled:A}),d(o.UPDATE_STATUS,{fired:l})})},initWatchPaywallActivation:w,checkForWatchPaywall:m}}}]); /* window.modules["591"] */ "use strict";(self.modules=self.modules||[]).push([["591"],{591:e=>{e.exports={pianoUCStates:["data-share","data-store","ads-contextual","ads-person-prof","ads-person","content-person-prof","content-person","measure-ads","measure-content","measure-market"],pianoCookieName:"__pianoParams",pianoWallTriggeredEvent:"piano_wall_triggered",pianoScriptLoadFailedEvent:"piano_script_load_failed",pianoSessionIdKey:"pianoSessionId",GOOGLE_EAFS_LOADED_EVENT:"googleEAfSLoaded"}}}]); /* window.modules["594"] */ "use strict";(self.modules=self.modules||[]).push([["594"],{594:(e,o,s)=>{let{isSite:t}=s("137"),{isEdition:n}=s("14"),{isSection:d,SECTIONS:i}=s("19"),a=s("23"),r=e=>new URLSearchParams(window.location.search).get(e),l=()=>{let e=r("focus_mode");return!1===a.get("ENABLE_FOCUS_MODE")||"false"===e},c="focus-mode-sponsored",u=()=>{let e=document.querySelector(".ad-slot-dynamic[data-uri*='cnn-focus-mode-inline-ad']");e?.remove()};e.exports={handleFocusModeRedirect:()=>{let e=r("focus_mode"),o=r("adsqa");"true"!==e||o||(window.location.search+=`${window.location.search?"&":""}adsqa=status%3Dlimited_ads`)},isEligibleForFocusMode:()=>{if(l())return!1;let e=!d([i.UNDERSCORED]),o=t(window.CNN.contentModel,window.CNN.helpers.SITES.cnn),s=window.CNN.helpers.isPageVariant(window.CNN.helpers.PAGE_VARIANTS.ARTICLE),n=window.CNN.isElevated;return o&&e&&(s||n)},handleFocusModeIsActive:()=>{document.body.classList.add(c)},handleFocusModeIsInactive:()=>{document.body.classList.remove(c),u()},getFocusModeConfigs:()=>{let e=n(window.location.hostname)?"CNNi":"CNN",o=window.CNN?.contentModel?.section||"us";return{inBodySlots:[{rktr_slot_id:"ad_focus_btf_01",rktr_ad_id:`${e}/${o}/leaf`,sizes:[[2,2]],hasInViewRefresh:!0,inViewRefreshCount:"10",inViewRefreshInterval:"35",targeting:[["pos",["focus_btf_01"]]],responsive:[]}]}}}}}]); /* window.modules["595"] */ "use strict";(self.modules=self.modules||[]).push([["595"],{595:(e,t,r)=>{let o,d,i,n;let{AD_VARIANTS:a,setAdVariant:l,handleAdVariant:s}=r("254"),{isEligibleForFocusMode:u,handleFocusModeIsActive:w,handleFocusModeIsInactive:c,handleFocusModeRedirect:g,getFocusModeConfigs:p}=r("594"),{processAdSlotPlaceholders:y,setAdTargets:f,handleAdSlotLoaded:h,loadRegistry:m,awaitAdFuel:N,initializeLazyLoadAds:A,ENABLE_AD_LAZY_LOADING:_}=r("339"),{getActiveFastlyExperiments:v}=r("340"),{isVideo:C}=r("17"),E=r("116"),T=r("23"),{mediumMaxWidthListener:S}=r("32"),F=T.get("ENABLE_SERVER_AD_REGISTRIES"),b=[],L=["landing","leaf"],P=()=>[...new Set(Array.from(document.querySelectorAll(".ad")).map(e=>e.id))],R=()=>{let e=E(window,"CNN.ads.registryPath","").split("/"),t=e[1]?e[1]:"",r="",o="",d="";e[2]&&L.includes(e[2])?(o=e[2],d=e[3]?e[3]:""):(r=e[2]?e[2]:"",o=e[3]?e[3]:"",d=e[4]?e[4]:"");let i=P().join(".");return i?fetch(`${window.env.WOPR_API_URL}/api/v2/registry/CNN_2/CNN/sec~${t}/ss~${r}/pt~${o}/l5~${d}/slots~${i}`).then(e=>e.json()).then(({registry:e})=>e):Promise.resolve(null)},I=()=>{let e=E(window,"CNN.ads.registry",[]);return 0===e.length&&console.error("ad-slot: missing ad registry data"),Promise.resolve(e)},O=e=>{let t=new URLSearchParams(window.location.search).get("forceEmptySlotRefresh");if(!t||!Array.isArray(e)||d)return e;d=!0;let r=t.split(",").map(e=>e.trim()).filter(Boolean);if(0===r.length)return e;let o=new Set(r);return i||(i=JSON.parse(JSON.stringify(e))),e.map(e=>{if(e&&o.has(e.rktr_slot_id)){let t=Array.isArray(e.responsive)?e.responsive.map(e=>{if(Array.isArray(e)&&e.length>=2&&Array.isArray(e[1])){let t=e[1].map(()=>[222,222]);return[e[0],t]}return e}):e.responsive;return{...e,sizes:[[222,222]],responsive:t}}return e})},B=()=>{Promise.all([F?I():R(),N()]).then(([e])=>{if(e){let t=d?e:O(e);!o&&window.CNN.isElevated&&x(t),_?A(t,o):m(t)}}).catch(e=>console.error("ad-slot: Failed to request ads -",e))},U=e=>{let t=new URLSearchParams(window.location.search).get("forceEmptySlotRefresh"),r=e?.detail?.divId,o=document.getElementById(r),d=e.detail?.empty,n=0;if(!d){o?.classList?.remove("ad-slot-empty");return}if(o.attributes.getNamedItem("data-retries")&&(n=parseInt(o.getAttribute("data-retries"))),ne.rktr_slot_id===r);-1!==e&&i[e]&&(window.CNN.ads.registry[e]=i[e],m(window.CNN.ads.registry),window?.AdFuel?.destroySlots(),B())}window.AdFuel&&window.AdFuel.refresh(r)}else o.classList?.add("ad-slot-empty")},k=e=>{e&&(_?A(e,o):m(e))},q=()=>N().then(()=>{if(window.AdFuel){let e=v();e&&e.length&&window.AdFuel.addPageLevelTarget("appname",e),window.AdFuel.addPageLevelTarget("wm_vw","stlr"),void 0!==window.CNN.adTargets.spec&&window.AdFuel.addPageLevelTarget("spec",window.CNN.adTargets.spec),void 0!==window.CNN.adTargets.pg&&window.AdFuel.addPageLevelTarget("pg",window.CNN.adTargets.pg),void 0!==window.CNN.adTargets.subs&&window.AdFuel.addPageLevelTarget("subs",window.CNN.adTargets.subs)}}).catch(e=>{console.error("Error in setAdfuelTargeting:",e)}),j=(e={})=>{let t={};return Object.entries(e).forEach(([e,r])=>{"string"==typeof r&&r.startsWith("cep_")?(t[r]=t[r]||[],t[r].push(e)):t[e]=r}),t},D=e=>{let t=j(e.detail?.cepTopics||{});if(void 0===n){n=t;return}(Object.keys(t).length||Object.keys(n).length)&&N().then(()=>{if(!window.AdFuel||!window.googletag?.pubads)return;let e=document.querySelector(".video-playlist__playlist-wrapper + .ad-slot-dynamic .ad-slot, [data-uri*='/_components/video-playlist/'] + .ad-slot-dynamic .ad-slot");if(!e)return;let r=o?e.dataset.mobileSlotId:e.dataset.desktopSlotId;if(!r)return;let d=window.googletag.pubads();Object.keys(n).forEach(e=>d.clearTargeting(e)),Object.entries(t).forEach(([e,t])=>{d.setTargeting(e,t)}),n=t,window.AdFuel.refresh(r)}).catch(e=>console.error("Error in refreshPlaylistDynamicAdCepTargeting:",e))};C(window.CNN?.contentModel)&&window.addEventListener("cnn.video.change",D);let $=()=>N().then(()=>{window.AdFuel.addPageLevelTarget("wm_vw","stlr"),k([window.CNN.ads.registry[0],p().inBodySlots[0]])}).catch(e=>{console.error("Error in requestFocusModeInlineUnit:",e)}),G=(e,t)=>{let r=M(document.querySelector(".layout__right").getBoundingClientRect().top);for(let o of b){let d=r+e,i=d+t;if(do.upper&&io.lower)return{boundaries:o,type:"full-outer",tentativeTop:d,tentativeBottom:i};if(d>=o.upper&&io.lower)return{boundaries:o,type:"partial-bottom",tentativeTop:d,tentativeBottom:i}}return null},M=e=>e-document.body.getBoundingClientRect().top,x=e=>{b=[];let t=document.querySelector(".article__content").getBoundingClientRect();document.querySelectorAll(".article__content > *:not(p)").forEach(e=>{let r=e.getBoundingClientRect(),o=r.right-t.right,d=r.height,i=M(r.top),n=M(r.top+d);(o>0||e?.dataset?.adId)&&b.push({upper:i,lower:n})}),b.length&&G(0,600)&&z(e)},z=e=>{try{let t=e.find(e=>"ad_right_atf_01"===e.rktr_slot_id);if(!t)return;for(let e of t.responsive)e[1]=e[1].filter(e=>!("300"===e[0]&&"600"===e[1]))}catch(e){console.error("Failed to restrict ad size due to collision.",e)}},J=()=>Promise.all([F?I():R(),N()]).then(([e])=>{void 0!==window.CNN.adTargets.spec&&window.AdFuel.addPageLevelTarget("spec",window.CNN.adTargets.spec);let t=[e[0]],r=e.find(e=>"ad_bnr_atf_01"===e.rktr_slot_id);r&&(t.push(r),k(t))}).catch(e=>{console.error("Error in requestBannerAdOnly:",e)}),W=e=>{"ad_bnr_atf_01"===e.detail.divId&&(e.detail?.renderedSize==="5x5"?(w(),l(a.FOCUS_MODE)):(c(),l(a.DEFAULT)),document.removeEventListener("GPTRenderComplete",W))},V=async()=>{await f(),await q(),u()&&(g(),document.addEventListener("GPTRenderComplete",W)),document.addEventListener("GPTRenderComplete",e=>{h(e,o),U(e)}),s({...u()?{[a.FOCUS_MODE]:$}:{},[a.DEFAULT]:B}),S(e=>{o=e,window.AdFuel&&window.AdFuel.destroySlots(),y(o),u()?J():(c(),l(a.DEFAULT))})};e.exports={initializeAds:V,refreshPlaylistDynamicAdCepTargeting:D}}}]); /* window.modules["596"] */ "use strict";(self.modules=self.modules||[]).push([["596"],{596:(n,t,e)=>{let{authClient:o}=e("35"),{getAccountConsentState:i,putAccountConsentState:s}=e("3587"),{subscribe:c,actions:r}=e("48"),{ACCOUNT_NAV:u}=r,a=e("31").setup({file:"/index.js"}),d=Promise.resolve(),l=0;function f(n){return window.WBD&&window.WBD.UserConsentConfig&&window.WBD.UserConsentConfig[n]||""}function C(){return o.tokenWithAuthn()}function g(n){return C()&&o.getToken()===n}function h(){let n=f("accountConsentUpdatedEvent");n&&document.removeEventListener(n,v,!1)}async function L(n,t){let{token:e,generation:o}=t;if(!n||o!==l)return!1;let i=function(n){try{return JSON.parse(window.atob(n))}catch(n){return a("error","Failed to decode account consent from UCL: ",n),null}}(n);if(!i)return!1;a("debug","ALC persistToDalton: writing account consent to Dalton");let c=await s(e,{consent:i});return!!(o===l&&g(e))&&!!(c&&c.success)}async function v(n){let t=n&&n.detail&&n.detail.accountConsent;if(!t)return;a("debug","ALC handleConsentEvent: persisting blob to Dalton");let e=l;if(!await function(n){let t=C()?o.getToken():null,e=l,i=d.then(()=>!!(t&&e===l&&g(t))&&L(n,{token:t,generation:e}));return d=i.catch(()=>{}),i}(t)||e!==l){a("error","ALC handleConsentEvent: Dalton write failed, skipping ACK");return}let i=f("accountConsentUpdatedEvent");i&&document.dispatchEvent(new CustomEvent(i))}async function p(){if(!C())return;let n=f("accountConsentLoginEvent"),t=function(){let n=f("accountConsentUpdatedEvent");return!!n&&(document.removeEventListener(n,v,!1),document.addEventListener(n,v,!1),!0)}(),e=o.getToken(),s=await i(e);if(!g(e)){t&&h(),a("debug","ALC handleLogin: auth state changed during fetch, skipping ALC");return}if(!s.success&&!s.empty){t&&h(),a("error",`ALC handleLogin: Dalton fetch failed (${s.errorStatus}), skipping ALC`);return}let c=s.success&&s.state&&s.state.consent?function(n){try{return window.btoa(JSON.stringify(n))}catch(n){return a("error","Failed to encode account consent for UCL: ",n),""}}(s.state.consent):"";a("debug",`ALC handleLogin: fetched consent (success=${s.success}, hasConsent=${!!c}), dispatching ${n}`),document.dispatchEvent(new CustomEvent(n,{detail:{consent:c}}))}function w(){l+=1;let n=f("accountConsentLogoutEvent");h(),n&&(a("debug",`ALC handleLogout: dispatching ${n}`),document.dispatchEvent(new CustomEvent(n)))}n.exports={init:function(){f("accountConsentLoginEvent")&&(a("debug",`ALC init: wiring listeners (loggedIn=${C()})`),C()&&p(),document.addEventListener("login",p,!1),c(u.LOGOUT_SUCCESS,w))},handleLogin:p,handleLogout:w,handleConsentEvent:v,resetPersistWriteChain:function(){d=Promise.resolve(),l=0}}}}]); /* window.modules["597"] */ "use strict";(self.modules=self.modules||[]).push([["597"],{597:(s,e,t)=>{let{ClientModel:c,actions:d}=t("48");s.exports={ShowAdFeedbackDispatcher:class extends c{constructor(){super()}showFeedback({adType:s,adIdentifier:e}){this.dispatch(d.ADS.SHOW_FEEDBACK,{adType:s,adIdentifier:e})}}}}}]); /* window.modules["598"] */ "use strict";(self.modules=self.modules||[]).push([["598"],{598:(e,t,a)=>{let s=a("23"),l=a("676"),{isLivestory:i}=a("3"),{getRegionFlag:r}=a("83"),n=a("3624"),o=a("664"),y=a("3625"),d=a("3626"),h={allowSubOnlyAccess:!1,subOnlyPageId:""};class c{constructor({expiryDaysCount:e,expiryTime:t,meterMax:a,meterKey:s,overMaxReset:l,subOnlyOverMaxReset:i}){this.key=s,this.wallStatsKey="wallStats",this.resetDateKey="resetDate",this.lastViewedDateKey="lastViewed",this.wallFiredCountKey="wallCount",this.freeAccessDataKey="freeAccess",this.expiryDaysCount=e,this.expiryTime=t,this.meterMax=a,this.overMaxReset=l,this.data=K(s),this.subOnlyWallFiredCountKey="subOnlyWallCount",this.subOnlyOverMaxReset=i}count(){return this.data&&this.wallStatsKey in this.data?Object.keys(this.data[this.wallStatsKey]).length:0}updateStorage(){let e=new Date;this.data[this.lastViewedDateKey]=e.toISOString(),window.localStorage.setItem(this.key,JSON.stringify(this.data))}getInstancePosition(e){return this.data[this.wallStatsKey][e]}searchData(e){return e in this.data[this.wallStatsKey]}updateData(e){this.checkResetStorage();let t=this.data;this.data[this.wallFiredCountKey]||(t[this.wallFiredCountKey]=0),this.data[this.subOnlyWallFiredCountKey]||(t[this.subOnlyWallFiredCountKey]=0);let a=this.data[this.wallStatsKey];(!a||Object.keys(a).lengthwindow.location.host+window.location.pathname,w=e=>t=>{let a=e||u();return a in t||(t[a]=Object.keys(t).length+1),t},g={expiryDaysCount:30,expiryTime:0,get meterMax(){return r("meterPaywallMeterMax")},meterKey:s.get("PAYWALL_STORAGE_KEY"),get overMaxReset(){return r("meterPaywallPvLossResetEnabled")?10:void 0},get subOnlyOverMaxReset(){return r("meterPaywallPvLossResetEnabled")?10:void 0}},S=e=>{let t;let{pageStellarId:a,canonicalUrl:s}=e;if(i()&&"string"==typeof s&&a)try{let e=new URL(s.replace(/\/index\.html$/i,""));t=`${a}_${l(e.pathname)}`}catch(e){console.error(e)}return t},K=(e,t={})=>{try{let a=window.localStorage.getItem(e);return null!==a?JSON.parse(a):t}catch(e){return console.error(e),t}},O=()=>K(g.meterKey,{freeAccess:h}).freeAccess,m=e=>{let t=K(g.meterKey,{}),a={...t,freeAccess:{...t?.freeAccess??h,...e}};window.localStorage.setItem(g.meterKey,JSON.stringify(a))};e.exports={MeterController:c,getIdFromUrl:u,addCustomKey:w,delCurrId:e=>t=>(delete t[e],t),delLastEntry:e=>{let t=Object.keys(e);return t.length&&delete e[t[t.length-1]],e},getMeterData:e=>{let{meterMax:t,subOnlyOverMaxReset:a,shouldIncrementWallCount:s=!0,shouldIncrementSubOnlyWallCount:l=!1}=e,i=!1,r=new c(e),n=r.count(),o=r.data[r.subOnlyWallFiredCountKey];if(s){let e=S(window.CNN.contentModel)||window.CNN.contentModel.pageStellarId;r.updateData(w(e)),r.updateStorage(),(i=!r.getInstancePosition(e)&&n>=t)&&r.incrementWallCount(r.wallFiredCountKey)}return l&&!(o>=a)&&r.incrementWallCount(r.subOnlyWallFiredCountKey),{shouldRestrict:i,wallCount:r.data[r.wallFiredCountKey],subOnlyWallCount:r.data[r.subOnlyWallFiredCountKey]}},payMeterConfig:g,isSubOnlyFreeAccessAllowed:e=>{if(!e||!r("regwallAllowSubOnlyAccess"))return!1;let{allowSubOnlyAccess:t,subOnlyPageId:a}=O(),s=S(window.CNN.contentModel)||window.CNN.contentModel.pageStellarId;return t&&!a?(m({subOnlyPageId:s}),!0):a===s},getFromStorage:K,initFreeAccessData:()=>{m({allowSubOnlyAccess:!0})}}}}]); /* window.modules["600"] */ (self.modules=self.modules||[]).push([["600"],{600:(s,e,l)=>{var o=l("3538"),u=l("3539")(function(s,e,l,u){o(s,e,l,u)});s.exports=u}}]); /* window.modules["601"] */ "use strict";(self.modules=self.modules||[]).push([["601"],{601:(e,n,c)=>{let o=c("116"),{isEdition:t}=c("14"),{isPageVariant:i,PAGE_VARIANTS:l}=c("7"),{isSection:_,SECTIONS:s}=c("19"),{isTVE:a,isVideo:d}=c("3"),{isFastLiveVideo:m,isUKLive:u,determineAutoStart:r,AUTO_PLAY_TYPE:b}=c("18"),{CONTENT_TYPES:w}=c("353"),{isEspanolPage:p,isArabicPage:v}=c("9"),h=["cnn-headlines","cnn-fast-international"],E=[w.clip,w.mediasourceImport,w.livestream,w.channel],f=e=>r(e.dataset?.autostart).autoplayType!==b.DISABLED,S=e=>h.includes(e.dataset?.firstPublishSlug);e.exports={getSSID:function(e,n){let c;function r(e){return e.toLowerCase().replace(/[^a-z]/g,"")}let b="true"===o(e.closest("[data-freewheel-lede]"),"dataset.freewheelLede",""),w=r(o(window,"CNN.contentModel.section","")),h=r(o(window,"CNN.contentModel.subsection","")),I=_(s.HOMEPAGE);if(I&&f(e)&&E.includes(e.dataset?.contentType)&&!S(e))return n?"cnn/web/mobile/homepage":"cnn/web/desktop/homepage";let g=d(),x=o(window,"CNN.contentModel.cmsId",""),T=null!=e.closest(".video_carousel"),N=t(window.location.hostname),C=v();c=p()?"cnnespanol.cnn.com":C?"arabic.cnn.com":"cnn.com";let V=o(window,"CNN.contentModel.sourceId","");return n?c+="_mobile_mobileweb":I&&(c+="_main"),w?(w===s.BUSINESS?c+="_cnnbusiness":c+=`_${w}`,h&&!C&&(c+=`_${h}`)):c+="_misc_default",g?c+="_videopage":n||I||(T?c+=b?"_carousel_t1":"_inpage":c+=b?"_t1":"_inpage"),x&&x.includes("video-hub")&&(c=`cnn.com${n?"_mobile":""}_videohub_main`),a()&&(i([l.TVE_DTC_VIDEO,l.ALLACCESS_VIDEO])&&(c=n?"cnn.com_live_dtc_simulcast_mobileweb":"cnn.com_live_dtc_simulcast_web"),i(l.TVE_SERIES)||i(l.TVE_FILM)?c=n?"cnn.com_cnngo_shows_mobileweb":"cnn.com_cnngo_shows_desktop":(i(l.TVE_STREAM)||i(l.LIVE_TV))&&((V?.includes("cnn-live-stream")||V?.includes("tve-featured-live"))&&(c=n?"cnn.com_live_mobileweb_cnnx":"cnn.com_live_desktop_turner_cnnx"),V?.includes("cnni-live-stream")&&(c=n?"cnn.com_live_mobileweb_cnnix":"cnn.com_live_desktop_turner_cnnix"),V?.includes("hln-live-stream")&&(c=n?"cnn.com_live_mobileweb_hlnx":"cnn.com_live_desktop_turner_hlnx"))),m(e.dataset?.contentType)&&(c=n?"cnn.com_live_mobileweb_fastchannel":"cnn.com_live_desktop_fastchannel"),u(e.dataset.customExperience)&&(c=n?"cnn.com_live_mobileweb_cnnix":"cnn.com_live_desktop_turner_cnnix"),N&&(c=`edition.${c}`),c}}}}]); /* window.modules["602"] */ "use strict";(self.modules=self.modules||[]).push([["602"],{602:(t,e,n)=>{let r=n("23"),{isPageType:o,PAGE_TYPES:i}=n("17"),{replaceVersion:c}=n("78"),{getStellarId:s}=n("323"),u="relevance.contentHistory";function a(t){return!!t&&t.startsWith("h_")}function l(t){return!!t}function d(t){return!!t&&/[a-z]+_\w+(-\w+){4}/i.test(t)}function f(t,e,n){if(n(t))return{contentIdType:e,contentId:t}}function p(t){return function(){return arguments[0]&&r.get("ENABLE_RELEVANCE_USER_JS")&&function(){let t=window.WM.UserConsent.getConsentState();return t["content-person"]&&t["content-person-prof"]}()?t.apply(this,arguments):[]}}function g(t){if(!t?.contentId)return;let e=r.get("MAX_RELEVANCE_ITEMS_TO_STORE",300),n=JSON.parse(window.localStorage.getItem(u)||null)||[];n.push(t),n=n.slice(-e);try{return window.localStorage.setItem(u,JSON.stringify(n)),!0}catch(t){if(console.log("relevance user history saving error",t),t instanceof DOMException&&(22===t.status||1014===t.status||"QuotaExceededError"===t.name||"NS_ERROR_DOM_QUOTA_REACHED"===t.name)){window.localStorage.clear();try{return window.localStorage.setItem(u,JSON.stringify(n)),!0}catch(t){console.log("relevance user history saving error in second try catch",t)}}return!1}}function y(t){let e=t?.configs?.stellarUri;if(!e)return;let n=document.querySelector(`div[data-uri="${e}"], [data-parent-uri="${e}"]`);if(!n)return;let r=n.dataset.uri;if(r&&"null"!==r)return g({contentIdType:"stellar_id",contentId:s(r),contentType:"video",timestamp:Date.now()})}let I=p(function(t){return g({...o(t,i.SECTION)?{contentId:function(t){if(!t)return;let e=c(t,""),n=e.indexOf("/");return n>-1&&(e=e.slice(n)),e}(t.cmsId)}:function(t){let{pageStellarId:e,sourceId:n,_wedgerId:r}=t;return f(e,"stellar_id",l)||f(n,"source_id",d)||f(r,"hypatia_id",a)||{contentIdType:"",contentId:""}}(t),contentType:function(t){if(t.pageType)return t.pageType;if(t.sourceId){let e=t.sourceId.split("_")[0];if(e.match("^[A-Za-z]+$"))return e}}(t),timestamp:Date.now()})}),E=p(y);t.exports={trackUserViewedContent:I,trackUserStartedVideo:E,exportedForTesting:{userVideoStart:y},getUserHistory:function(t=0){let e=JSON.parse(localStorage.getItem("relevance.contentHistory"))||[];return(t>0?e.slice(0,t):e).reduce((t,{contentIdType:e=!1,contentId:n},r,o)=>(e&&o.findLastIndex(t=>t.contentId===n)===r&&t.push({[e]:n}),t),[])}}}}]); /* window.modules["603"] */ "use strict";(self.modules=self.modules||[]).push([["603"],{603:(e,t,s)=>{let o=s("23");e.exports={getConfigObject:function(e,t,s){let i;return t&&e&&(i=o.get(`TRINITY_CONFIGURATION${void 0!==s?s?".international":".domestic":""}.${e}.${t}`)),i}}}}]); /* window.modules["604"] */ "use strict";(self.modules=self.modules||[]).push([["604"],{604:(e,t,n)=>{let{dispatch:a,actions:{VIDEO:i}}=n("48"),o=n("3598"),{getNavbarHeight:r,getStickyHeaderRect:l}=n("299"),{isSection:s,SECTIONS:d}=n("19"),{isAuthVideo:u,getContinuousVariation:c}=n("18"),{getUserAccessLevel:p,ACCESS_LEVEL:m}=n("256"),{getMVPDData:w,isAuthenticated:h}=n("73"),{hideVideoCover:v,removeVideoCoverSpinner:y}=n("5"),{trackMetrics:g}=n("33"),{paywallConfigs:f}=n("3637"),{convertAuthType:E,isAppWebView:I}=n("9"),{isVodContent:b}=n("22"),{redirectToMarketing:R}=n("131"),{getFreeviewPreviewType:_,getMaxPreviewSeconds:k}=n("28"),U=n("23"),{requestNativeSignIn:A}=n("261"),T=new Map,S=k(),L="cnn_continuous_preview_consumed";function C(e,t){return!e&&t?.expired===!1}function M(){try{let e=Number(localStorage.getItem(L));return Number.isFinite(e)&&e>0?e:0}catch(e){return 0}}function N(e){let t=Math.max(0,Math.round(Number(e)||0));try{localStorage.setItem(L,String(t))}catch(e){}}function B(e){let t=e.authType?.includes("dtc"),n=t&&b(e.contentType);return{isDTC:t,isVOD:n}}let D=new Map;function O(e){return"false"===e||!1===e}let P=new Map,G=new Map;function V(e){let t=P.get(e);t&&(window.removeEventListener("freeviewStart",t),P.delete(e));let n=G.get(e);n&&(window.removeEventListener("userloggedin",n),G.delete(e))}async function F(e,{scope:t="page"}={}){e.markupId&&"page"===t&&T.set(e.markupId,e);let n=window.FAVE.player.getInstance(e.markupId);V(e.markupId);let a=E(e.authType),{isDTC:i,isVOD:o}=B(e);if(Array.isArray(a)&&0===a.length&&(a=null),O(e.isAuthenticatedContent)){n.setUiTheme({authType:a,overlay:{freeview:null,shouldRender:!1},subscriptionUi:{shouldRender:!1}});return}if(u(e.authType)&&e.topAuth&&!e.topAuth.isPreviewActive(e.networkId)){let{topAuth:{freeview:t,cobranding:r,logout:l}={},uri:s=""}=e,d=e=>R({sourceArg:e}),u={},c=!1,p=()=>window.FAVE.player.getInstance(e.markupId),m={onFreeViewEnded:()=>{if(c)return;c=!0,W(s);let t=p(),n=T.get(e.markupId)||e,a={isPreview:!1,previewType:""};t.updateAdobeCustomMetadata(a),t.updateZionCustomMetadata(a),B(n).isDTC&&$(t,n).catch(e=>console.error(e))},onClickKeepWatchingWithSubscription:()=>x(s)};r?(u={cobranding:{imageURL:r.imageURL},shouldRender:!0,logout:l},n.setUiTheme({authType:a,overlay:u,shouldRender:!0,subscriptionUi:{shouldRender:!1}})):t?.status&&(u={freeview:{status:{...t.status},callbacks:m},shouldRender:!0},n.setUiTheme({authType:a,overlay:u,subscriptionUi:{shouldRender:!1,paywallModal:{shouldRender:o}},shouldDirectToMarketing:d}));let h=({detail:t})=>{let n=p(),o=T.get(e.markupId)||e,r=C(i,t.freeview?.status);if(n.setUiTheme({authType:a,overlay:{freeview:{status:{...t.freeview.status},callbacks:m},shouldRender:!0},subscriptionUi:{shouldRender:!r&&i},shouldDirectToMarketing:d}),t.freeview?.status?.expired===!1){let e={isPreview:!0,previewType:_(o,t.freeview.status)};n.updateAdobeCustomMetadata(e),n.updateZionCustomMetadata(e)}!r&&i&&$(n,o).catch(e=>console.error(e))},v=({detail:e})=>{n.setUiTheme({authType:a,overlay:{cobranding:e.cobranding,shouldRender:!0,logout:l},subscriptionUi:{shouldRender:!1}});let t={isPreview:!1,mvpd:w("mvpd"),previewType:""};n.updateAdobeCustomMetadata(t),n.updateZionCustomMetadata(t)};P.set(e.markupId,h),G.set(e.markupId,v),window.addEventListener("freeviewStart",h),window.addEventListener("userloggedin",v),!i||r||C(i,t?.status)||await $(n,e)}else i?await $(n,e):n.setUiTheme({authType:a,overlay:{freeview:null,shouldRender:!1},subscriptionUi:{shouldRender:!1}})}let W=e=>{g({type:"user-interaction",data:{interaction:"module load",componentName:"Video Player: Free preview ended: Showed up",componentStellarId:e}})},q=e=>{let t=T.get(e.markupId)||e;function n(){return document.querySelector("html[data-layout-uri*='layout-no-rail/instances/tv-grid-section'] .zone.zone--t-dark")}document.removeEventListener("paywall-modal-opened",()=>{}),document.removeEventListener("paywall-modal-closed",()=>{}),document.addEventListener("paywall-modal-opened",e=>{e.preventDefault();let a=T.get(t.markupId)||t;if(!a.authType?.includes("dtc"))return;document.body.classList.add("disable-scrolling");let i=a.markupId;document.getElementById(i).classList.add("paywall-modal-open"),g({type:"user-interaction",data:{interaction:"subwall:free preview unavailable:start watching:click "}});let o=n();o&&o.classList.add("paywall-modal-open")}),document.addEventListener("paywall-modal-closed",e=>{e.preventDefault();let a=T.get(t.markupId)||t;document.body.classList.remove("disable-scrolling");let i=a.markupId;document.getElementById(i).classList.remove("paywall-modal-open");let{isVOD:o}=B(a);if(o){let e=document.querySelector(".video-player_tve");e&&(e.style.display="none")}let r=n();r&&r.classList.remove("paywall-modal-open")}),window.addEventListener("mvpdModalClosed",()=>{let e=T.get(t.markupId)||t;e.topAuth?.context?.authenticatedState==="authenticated"&&document.body.classList.remove("disable-scrolling")})},x=e=>{g({type:"user-interaction",data:{interaction:"module load",componentName:"subwall:preview:keep watching with a subscription",componentStellarId:e}})},K=e=>{g({type:"user-interaction",data:{interaction:"module load",componentName:"subwall:preview:upgrade to keep watching",componentStellarId:e}})},Z=e=>{g({type:"user-interaction",data:{interaction:"subwall:preview:sign up",componentStellarId:e}})},z=e=>{g({type:"user-interaction",data:{interaction:"subwall:preview-upgrade:sign up",componentStellarId:e}})},H=async e=>{g({type:"user-interaction",data:{interaction:"subwall:preview:connect now",componentStellarId:e}})},Y=async e=>{g({type:"user-interaction",data:{interaction:"subwall:upgrade:connect now",componentStellarId:e}})},j=e=>{g({type:"user-interaction",data:{interaction:"subwall:preview:sign in",componentStellarId:e}})};function J(e){e.topAuth?.error&&(window.FAVE.player.getInstance(e.markupId).setMediaError(e.topAuth.error.message),setTimeout(()=>{e.topAuth.logout()},1e4))}function Q(e){let t=window.FAVE.player.getInstance(e.markupId);s(d.HOMEPAGE)&&!t.isMuted()&&document.dispatchEvent(new Event("killautorefresh"))}function X({authType:e,overlay:t,subscriptionUi:n,userAccessLevel:a}){let i=c()&&a!==m.SUB_ALL_ACCESS&&!h(),o={authType:e,overlay:t,shouldRender:!0,subscriptionUi:{shouldRender:!0,...n}};return i&&(o.subscriptionUi.continuousPlayer={shouldRender:!0},o.overlay.freeview={...o?.overlay?.freeview?o.overlay.freeview:{},maxPreviewSeconds:S,getPreviewElapsedSeconds:M,onPreviewElapsedSeconds:N}),o}async function $(e,t){let{authType:n,uri:a=""}=t,i=t.topAuth??{},{isVOD:o}=B(t),r=i.triggerPickerLogin??(()=>{}),l="access_level",s=localStorage.getItem(l);s||(s=await p(),localStorage.setItem(l,s));let d=()=>{H(a),r()},u=()=>Z(a),c={...f(d,u,()=>j(a)).NOT_LOGGED_IN};if(I()&&s!==m.SUB_ALL_ACCESS&&"function"==typeof window.CNNApp?.requestSisi&&U.get("ENABLE_WEBVIEW_APP_WALLS")){let t={[m.SUB_READER_TIER]:"SUB_READER_TIER",[m.LOGGED_IN_NO_SUB]:"LOGGED_IN_NO_SUB"}[s]||"NOT_LOGGED_IN",i="SUB_READER_TIER"===t?z:Z,r={...f(d,()=>{i(a),A()},()=>{j(a),A()})[t],paywallModal:{shouldRender:o}};r.modalDescription.ctaButtonUrl="#",r.signInOptions?.forEach(e=>{e.linkUrl&&(e.linkUrl="#")});let l=X({authType:n,overlay:{shouldRender:!0,freeview:{callbacks:{onClickKeepWatchingWithSubscription:()=>{x(a),A()}}}},subscriptionUi:r,userAccessLevel:s});l.shouldDirectToMarketing=()=>{A()},e.setUiTheme(l);return}switch(s){case m.NOT_LOGGED_IN:e.setUiTheme(X({authType:n,overlay:{shouldRender:!0},subscriptionUi:c,userAccessLevel:s}));break;case m.LOGGED_IN_NO_SUB:e.setUiTheme(X({authType:n,overlay:{shouldRender:!0},subscriptionUi:{...f(d,u,null).LOGGED_IN_NO_SUB},userAccessLevel:s}));break;case m.SUB_READER_TIER:e.setUiTheme(X({authType:n,overlay:{shouldRender:!0,freeview:{callbacks:{onClickKeepWatchingWithSubscription:()=>K(a)}}},subscriptionUi:{...f(()=>{Y(a),r()},()=>{z(a)},null).SUB_READER_TIER},userAccessLevel:s}));break;case m.SUB_ALL_ACCESS:e.setUiTheme({authType:n,overlay:{freeview:null,shouldRender:!1},subscriptionUi:{shouldRender:!1,paywallModal:{shouldRender:!1}}});break;default:e.setUiTheme(X({authType:n,overlay:{shouldRender:!0},subscriptionUi:c,userAccessLevel:s}))}}e.exports={hasActiveFreeviewSession:C,createCallbacks:function(e){return{onContentBegin:()=>{Promise.resolve(function(e){let t=window.FAVE.player.getInstance(e.markupId);if(!t||!t.configs)return;let n=D.get(e.markupId);if(n){let a=t.configs?.mediaMetadata?.mediumId;if(!n._handoffMediumId||!a||n._handoffMediumId===a)return D.delete(e.markupId),F(n,{scope:"tile"})}!O(t.configs.isAuthenticatedContent)&&u(E(t.configs.authType))||t.setUiTheme({authType:null,overlay:{freeview:null,shouldRender:!1},subscriptionUi:{shouldRender:!1}})}(e)).catch(e=>console.error("Failed to reconcile overlay for active content",e)),o(e);let t=window.scrollY;e.isMobileViewport||(a(i.VIDEO_START,window.FAVE.player.getInstance(e.markupId)),s(d.HOMEPAGE)||s(d.DTC)||setTimeout(()=>{if(document.querySelector('[data-page-type="article"] .video-resource__stuck'))return;let n=r();if(e.el.getBoundingClientRect().top{F(e),y(e),q(e)},onContentComplete:()=>{e.isVerticalVideoEmbed&&requestAnimationFrame(()=>{window.FAVE.player.getInstance(e.markupId).replay()})},onContentError:()=>{D.delete(e.markupId),J(e)},onContentPlay:()=>{Q(e),v(e)},onAdPlay:()=>{v(e)},onTrackingMuted:()=>{Q(e)}}},handleAuthErrors:J,handleHPAutorefresh:Q,handleOverlay:F,queueOverlayConfigs:function(e,t){e&&D.set(e,{...t,_handoffMediumId:t.mediaMetadata?.mediumId})},getDtcAndVodStatus:B,cleanupConfigsForPlayer:function(e){e&&(T.delete(e),D.delete(e),V(e))},addPaywallModalEventListeners:q}}}]); /* window.modules["607"] */ (self.modules=self.modules||[]).push([["607"],{607:s=>{var r=Array.isArray;s.exports=r}}]); /* window.modules["608"] */ (self.modules=self.modules||[]).push([["608"],{608:e=>{e.exports=function(e){var o=typeof e;return null!=e&&("object"==o||"function"==o)}}}]); /* window.modules["609"] */ (self.modules=self.modules||[]).push([["609"],{609:e=>{e.exports=function(e){return void 0===e}}}]); /* window.modules["610"] */ (self.modules=self.modules||[]).push([["610"],{610:(e,s,l)=>{var r=l("3588"),u=l("3589"),n=l("2786"),o=l("3590"),t=l("607");e.exports=function(e,s,l){var f=t(e)?r:o,a=arguments.length{let n=s("3599"),{isEdition:o}=s("14"),{getConfigObject:a}=s("603"),i=s("520"),l=s("123");async function c(e){let t=a("michonne","video.fave",o(window.location.hostname))||{};i(window.FAVE.settings,t);try{l(window.FAVE,"settings.userTracking.categories.v2",window.WM.UserConsent.getConsentState())}catch(e){console.error("WM consent state unavailable")}await n.setGlobalValues(e)}e.exports={setGlobalSettings:c}}}]); /* window.modules["612"] */ "use strict";(self.modules=self.modules||[]).push([["612"],{612:(e,t,a)=>{let i=a("23"),l=i.get("CONVIVA_CUSTOMER_KEY"),n=i.get("MUX_ENVIRONMENT_KEY"),{convertToBoolean:r}=a("12"),s=i.get("ZION_ENV"),d=i.get("MEDIUM_SERVICE_ENVIRONMENT"),o=i.get("BOLT_ENVIRONMENT"),{getSSID:m}=a("601"),u=i.get("CONTENT_HUB_UNIQUE_DEPLOYMENT_KEY"),c=i.get("CONTENT_HUB_ENV"),p=i.get("AWS_REGION"),{isEdition:y}=a("14"),{isAuthLiveVideo:T,isAuthVideo:E}=a("18"),{parseJSON:h}=a("30"),{getUserAccessLevel:v}=a("256"),{isEspanolPage:N,isArabicPage:g}=a("9"),I=a("123"),U=a("116"),V=a("520"),{isLiveVideo:M,isUKLive:_,determineAutoStart:C,getMediaPlayer:O,isVideoClip:b,isVideoAutoStartEnabled:f,AUTO_PLAY_TYPE:R,getTopAdProfile:w,isCVPLiveStream:A,FREEVIEW_ENDSLATE_AUTOPLAY_SETTINGS:L,AUTH_TYPES:D,getContinuousVariation:B}=a("18"),{calculateSsaiProfile:K}=a("614"),{setLiveStreamAnalyticsTitle:S,setAuthTypeAnalytics:k}=a("28"),{getConfigObject:Y}=a("603"),{getSite:x}=a("137"),{getContentModel:H}=a("9"),P=["series","film","featured"];async function z({adSection:e,assetType:t,authType:a=[],contentType:i,checkEventBasedPreview:z,authentication:G=null,autostart:Q=!1,customExperience:W="",muteOverlay:X=!0,customMediumEnv:Z,headline:j,isMobileViewport:q,markupId:F,networkId:J,posterImageOverride:$=!1,showAds:ee=!0,title:et,videoId:ea,mediaId:ei,boltId:el,videoResourceParentUri:en,videoResourceUri:er,...es}){let ed=y(window.location.hostname),eo=U(window,"CNN.contentModel",{}),em=Y("michonne","video.fave",ed),eu=a?.includes(D.DTC),ec=P.includes(eo.templateType),ep=Y("michonne","features.enableAutoplayBlock",ed),ey=C(Q),eT=B(),eE=a?.length>0?a=Array.isArray(a="string"==typeof a?a.split(","):a)?a:[a]:T(ea)?[D.LIVEAUTH]:ec?[D.TVE]:eu?[D.DTC]:[];eT&&eu&&T(ea)&&(ey=L[eT]);let{autoplay:eh,autoplayType:ev}=ey,eN=!r(ep)&&eh,eg=eE.includes(D.DTC)?"DTC":et,eI={...es,mediaId:ei,autostart:f(eN,eo),autostartType:ev,isDTC:eu,isLive:M(ea),markupId:F,site:N()&&"cnn-espanol"||g()&&"cnn-arabic"||"cnn",adobeAnalytics:{enabled:!0},conviva:{customerKey:l},mux:{environmentKey:n},zion:{environment:s.toLowerCase()},player:{poster:{onlyUseOverride:!0},autoplay:{muted:{enabled:ev===R.MUTED},overlay:X}},ads:w({contentModel:eo,contentType:i,isEditionSite:ed,isMobileViewport:q}),mediaPlayer:O(ed),authentication:G,freewheel:{enabled:ee},isCustomAutostartExperience:ev===R.SCROLL,server:{medium:{assetType:t??"hlsTs",environment:Z??d},edition:ed?"international":"domestic"},bolt:{appConfig:{environment:o}},customExperience:W,adsection:e,posterImageOverride:h($,!0),contentType:M(ea)?"live-stream":i,rawContentType:i,authType:eE,videoResourceParentUri:en,videoResourceUri:er};if(b(i)){let e=es.mediaMetadata?h(es.mediaMetadata,!0):null;e?.mediumId||e?.boltId?I(eI,"mediaMetadata",e):delete eI.mediaMetadata,I(eI,"stellarUri",en??er),I(eI,"stellarUdk",u),I(eI,"stellarSite",x(H())),"prod"!==c&&I(eI,"stellarRegion",p)}else{let e=A(ea)?ei:ea;I(eI,"mediaMetadata",{mediumId:e,id:e,boltId:el,headline:j||eg})}return $&&(I(eI,"player.poster.overrideImages.big","big"),I(eI,"player.poster.overrideImages.small","small")),eI.isVerticalVideo&&I(eI,"player.ui.theme.verticalVideoUi.shouldRender",!0),I(eI,"player.ui.theme.authType",eI.authType),I(eI,"player.ui.theme.subscriptionUi.shouldRender",eu),I(eI,"player.ui.theme.subscriptionUi.access_level",await v()),eI.isVerticalVideoEmbed&&(I(eI,"player.ui.theme.verticalVideoUi.shouldRender",!0),I(eI,"player.ui.theme.verticalVideoUi.fullscreenToggle.shouldRender",!0)),eI.el&&I(eI,"adsection",m(eI.el,q)),eI.isLive&&(I(eI,"networkId",J),I(eI,"checkEventBasedPreview",z),S(eI)),_(W)&&I(eI,"mediaMetadata",{mediumId:ea,boltId:el}),E(eI.authType)&&"cnn"===eI.site&&K(eI,eg,q),k(eI),V(em,eI),eI}e.exports={build:z}}}]); /* window.modules["613"] */ "use strict";(self.modules=self.modules||[]).push([["613"],{613:(e,t,n)=>{let o=n("23"),{isPageVariant:i,PAGE_VARIANTS:c}=n("7"),{convertToBoolean:r}=n("12"),{handleContentDiscoveryAuth:s}=n("27"),l=n("31").setup({file:"/index.js"});function u(){return i(c.TVE_DTC_VIDEO)}function f(e){return r(o.get("BOLT_CONTENT_DISCOVERY_ENABLED"))&&e?.isLive===!0&&!u()}e.exports={isDtcWatchPage:u,isLiveContentDiscoveryEnabled:f,applyLiveContentDiscoveryConfig:function(e){if(!f(e))return e;let t={...e.bolt||{}};return t.contentDiscovery={...t.contentDiscovery||{},enabled:!0,fetch:{...t.contentDiscovery?.fetch||{},enabled:!0}},{...e,bolt:t}},createLiveContentDiscoveryCallbacks:function(e){return{onContentDiscoveryTileSelected:t=>s(t,e).catch(e=>l("error","Live Content Discovery authentication failed",e))}}}}}]); /* window.modules["614"] */ "use strict";(self.modules=self.modules||[]).push([["614"],{614:(e,N,l)=>{let o=l("23").get("CONTENT_HUB_ENV"),t=l("123");e.exports={calculateSsaiProfile:function(e,N,l){let r={dev:{clips:{profile:l?"BsRe9Nw1bc":"IIIQ6I6Wcz"},liveAuth:{}},environment:("stage"===o?"prod":o)||"prod",prod:{clips:{profile:l?"3NHh4qDxJH":"HZQb5lhfUP"},liveAuth:{}}};if(e.isLive&&N){let e={dev:{CNN:"xPZxKnIm2X","CNN International":"reVA3bTysS",HLN:"uFmccF8bJp",DTC:"oMT6dExxWt"},prod:{CNN:"N2SSZMJPhf","CNN International":"W91cwLVNZo",HLN:"jYqTISDq6K",DTC:"oMT6dExxWt"}},o={dev:{CNN:"BlkIzAfae0","CNN International":"BxMNJMTBQB",HLN:"FRXOVClJd3",DTC:"a1uxr6C0G9"},prod:{CNN:"Z43eS4xzVf","CNN International":"1H7rYBNOOD",HLN:"OW9F2XbJIw",DTC:"a1uxr6C0G9"}};r.dev.liveAuth.profile=l?o.dev[N]:e.dev[N],r.prod.liveAuth.profile=l?o.prod[N]:e.prod[N]}t(e,"ads.ssai",r)}}}}]); /* window.modules["615"] */ "use strict";(self.modules=self.modules||[]).push([["615"],{615:(t,e,n)=>{let{TOPAuthSDK:i}=n("256"),{setAnalyticProperty:a}=n("635"),{isAuthenticated:o,checkDtcAccess:r}=n("73"),{getCountryCode:c}=n("50"),u=null,l=null;async function s(){if(u)return u;if(l)return l;let t=(async()=>{let e=new i;return await e.refreshAuth(),l===t&&(u=e),e})();return l=t,t.finally(()=>{l===t&&(l=null)}),t}async function d(t,e={}){let{mediaMetadata:n,networkId:i,authType:o,contentType:r,isAuthenticatedContent:c}=t;try{let u=await s(),l=await u.determineAuthPath(n.mediumId,i,o,r,{deferFreeviewStart:!!t.deferFreeviewStart,forceFreeviewStart:!!e.forceFreeviewStart,isAuthenticatedContent:c});return l?.mvpd&&a(t,"mvpd",l.mvpd),i&&u.isPreviewActive(i)&&(l={}),t.authentication=l,l}catch(t){console.error("Error Adding Authentication to player",t)}}async function f({instance:t,configs:e}){t&&(t.configs&&(t.configs.authentication=e.authentication,t.configs.mediaMetadata=e.mediaMetadata),(e.authentication||await r())&&(t.prepare(),t.play(null,e)))}document.addEventListener("logout",()=>{let t=new URL(window.location.href);if(/^[^/]+:\/\/[^/]+\/watch\b/.test(t)&&!o()){let t={US:"/account/log-in/subscription",GB:"/account/log-in/subscription-uk",CA:"/account/log-in/subscription-ca"}[c()]||"/account/log-in/subscription";window.location.assign(t)}else window.location.reload()}),t.exports={setupTopAuth:s,resetTopAuth:function(){u=null,l=null},addPlayerAuthentication:d,playWithAuth:f,get topAuth(){return u}}}}]); /* window.modules["616"] */ "use strict";(self.modules=self.modules||[]).push([["616"],{616:t=>{let e={DISPLAY:"display_ad",VIDEO:"video"},i=["adUnitPath","parentRegistry","response","rktr_ad_id","rktr_slot_id"];t.exports={AdData:class{constructor(){for(let t of(this.adList={},this.registerAdActions={},this.getAdDetailsActions={},Object.values(this.TYPE)))this.adList[t]={},this.registerAdActions[t]=null,this.getAdDetailsActions[t]=null;this.initializeAdTypeLogic()}get TYPE(){return e}initializeAdTypeLogic(){this.setRegisterAdAction(this.TYPE.DISPLAY,(t,e)=>{Array.isArray(e)||(e=[e]),window.AdFuel&&window.AdFuel.queueRegistry(e)}),this.setGetAdDetailsAction(this.TYPE.DISPLAY,t=>{if(window.AdFuel){let e=window.AdFuel.getSlotDetails(t)||{};return Object.keys(e).forEach(t=>i.includes(t)||delete e[t]),e}}),window.FAVE?this.processVideoSessions():window.addEventListener("fave.loaded",()=>{this.processVideoSessions()})}processVideoSessions(){this.setGetAdDetailsAction(this.TYPE.VIDEO,t=>({video_session_id:t||null}))}setRegisterAdAction(t,e){this.registerAdActions[t]=e}setGetAdDetailsAction(t,e){this.getAdDetailsActions[t]=e}isValidAdType(t){return Object.values(this.TYPE).includes(t)}registerAd(t,e,i){if(this.isValidAdType(t))try{"function"==typeof this.registerAdActions[t]?this.registerAdActions[t](e,i):this.adList[t][e]=i}catch(t){console.error(t)}}getAdDetails(t,e){let i={};if(!this.isValidAdType(t))return i;try{"function"==typeof this.getAdDetailsActions[t]?i=this.getAdDetailsActions[t](e):Object.prototype.hasOwnProperty.call(this.adList[t],e)&&(i=this.adList[t][e])}catch(t){console.error(t)}return("object"!=typeof i||null===i)&&(i={}),i.feedback_type=t,i}},AdDataType:e}}}]); /* window.modules["622"] */ "use strict";(self.modules=self.modules||[]).push([["622"],{622:(o,e,t)=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(o){if((0,c.default)(1,arguments),"object"!=typeof o)throw Error("Duration must be an object");var e=o.years,t=o.months,u=o.days,n=o.hours,s=o.minutes,a=o.seconds;return"P".concat(void 0===e?0:e,"Y").concat(void 0===t?0:t,"M").concat(void 0===u?0:u,"DT").concat(void 0===n?0:n,"H").concat(void 0===s?0:s,"M").concat(void 0===a?0:a,"S")};var c=function(o){return o&&o.__esModule?o:{default:o}}(t("657"));o.exports=e.default}}]); /* window.modules["623"] */ "use strict";(self.modules=self.modules||[]).push([["623"],{623:(e,u,t)=>{Object.defineProperty(u,"__esModule",{value:!0}),u.default=function(e,u,t){(0,o.default)(2,arguments);var r=(0,l.default)(e,u)/d.millisecondsInHour;return(0,n.getRoundingMethod)(null==t?void 0:t.roundingMethod)(r)};var d=t("650"),l=r(t("3623")),o=r(t("657")),n=t("3597");function r(e){return e&&e.__esModule?e:{default:e}}e.exports=u.default}}]); /* window.modules["624"] */ "use strict";(self.modules=self.modules||[]).push([["624"],{624:(e,u,t)=>{Object.defineProperty(u,"__esModule",{value:!0}),u.default=function(e,u,t){(0,n.default)(2,arguments);var s=(0,l.default)(e,u)/d.millisecondsInMinute;return(0,o.getRoundingMethod)(null==t?void 0:t.roundingMethod)(s)};var d=t("650"),l=s(t("3623")),n=s(t("657")),o=t("3597");function s(e){return e&&e.__esModule?e:{default:e}}e.exports=u.default}}]); /* window.modules["625"] */ "use strict";(self.modules=self.modules||[]).push([["625"],{625:(e,u,l)=>{Object.defineProperty(u,"__esModule",{value:!0}),u.default=function(e){return(0,t.default)(1,arguments),e*s.millisecondsInSecond};var t=function(e){return e&&e.__esModule?e:{default:e}}(l("657")),s=l("650");e.exports=u.default}}]); /* window.modules["626"] */ "use strict";(self.modules=self.modules||[]).push([["626"],{626:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(arguments.length{Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){(0,r.default)(2,arguments);var u=(0,l.default)(e).getTime(),a=(0,l.default)(t.start).getTime(),d=(0,l.default)(t.end).getTime();if(!(a=a&&u{Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(a){var e=a.start,t=a.end;(0,h.default)(1,arguments);var m=(0,i.default)(e),y=(0,i.default)(t);if(!(0,o.default)(m))throw RangeError("Start Date is invalid");if(!(0,o.default)(y))throw RangeError("End Date is invalid");var M={years:0,months:0,days:0,hours:0,minutes:0,seconds:0},b=(0,s.default)(m,y);M.years=Math.abs((0,u.default)(m,y));var c=(0,v.default)(m,{years:b*M.years});M.months=Math.abs((0,d.default)(c,y));var _=(0,v.default)(c,{months:b*M.months});M.days=Math.abs((0,r.default)(_,y));var p=(0,v.default)(_,{days:b*M.days});M.hours=Math.abs((0,l.default)(p,y));var E=(0,v.default)(p,{hours:b*M.hours});M.minutes=Math.abs((0,f.default)(E,y));var g=(0,v.default)(E,{minutes:b*M.minutes});return M.seconds=Math.abs((0,n.default)(g,y)),M};var s=m(t("3644")),u=m(t("3638")),d=m(t("3645")),r=m(t("3646")),l=m(t("623")),f=m(t("624")),n=m(t("3647")),o=m(t("664")),h=m(t("657")),i=m(t("667")),v=m(t("3648"));function m(a){return a&&a.__esModule?a:{default:a}}a.exports=e.default}}]); /* window.modules["633"] */ (self.modules=self.modules||[]).push([["633"],{633:(e,s,o)=>{var u=o("3593");e.exports=function(){return u.Date.now()}}}]); /* window.modules["634"] */ (self.modules=self.modules||[]).push([["634"],{634:(e,t,r)=>{var f=r("3591"),s=r("608"),u=r("3592"),i=0/0,n=/^[-+]0x[0-9a-f]+$/i,o=/^0b[01]+$/i,a=/^0o[0-7]+$/i,l=parseInt;e.exports=function(e){if("number"==typeof e)return e;if(u(e))return i;if(s(e)){var t="function"==typeof e.valueOf?e.valueOf():e;e=s(t)?t+"":t}if("string"!=typeof e)return 0===e?e:+e;e=f(e);var r=o.test(e);return r||a.test(e)?l(e.slice(2),r?2:8):n.test(e)?i:+e}}}]); /* window.modules["635"] */ "use strict";(self.modules=self.modules||[]).push([["635"],{635:(t,e,a)=>{let i=a("123"),s=a("102"),{VIDEO_TYPE:n,isFastLiveVideo:o}=a("18");function d(t,e,a,{updatePlayerInstance:s=!0}={}){if(i(t,`zion.customMetadata.${e}`,a),i(t,`adobeAnalytics.customMetadata.${e}`,a),!s)return;let n=window.FAVE?.player.getInstance(t.markupId);n&&(n.updateZionCustomMetadata({[e]:a}),n.updateAdobeCustomMetadata({[e]:a}))}t.exports={setAnalyticProperty:d,setAnalyticsVideoType:function(t,{updateConfigs:e=!0}={}){let a;if(a=o(t.rawContentType??t.contentType)?n.FAST:t.isLive?n.LIVE:t.isVerticalVideo||t.isVerticalVideoEmbed?n.CLIP_VERTICAL:n.CLIP_HORIZONTAL,!e)return a;i(t,"conviva.contentMetadata.video_type",a),i(t,"zion.customMetadata.video_type",a),i(t,"adobeAnalytics.customMetadata.video_type",a)},setAssetAnalytics:function(t,e={}){d(t,"title",s(t.assetSubTitle)?t.assetTitle:t.assetSubTitle,e),d(t,"video_type",t.assetSubTitle?.includes("Trailer")?"trailer":t.contentType,e),d(t,"show_name",t.assetTitle,e),d(t,"id",t.assetId,e),d(t,"title_id",t.contentId,e)},setAuthTypeAnalytics:function(t,e={}){let a=Array.isArray(t?.authType)?t.authType.join(","):t?.authType||"";d(t,"auth_type",a,e)}}}}]); /* window.modules["636"] */ (self.modules=self.modules||[]).push([["636"],{636:(e,r,o)=>{var t=o("749"),l=o("3594"),s=o("2787"),a=o("3595"),n=Object.prototype,v=n.hasOwnProperty,f=t(function(e,r){e=Object(e);var o=-1,t=r.length,f=t>2?r[2]:void 0;for(f&&s(r[0],r[1],f)&&(t=1);++o{var u=r("748"),n=r("3258"),s=r("749"),t=r("2787"),f=s(function(e,l){if(null==e)return[];var r=l.length;return r>1&&t(e,l[0],l[1])?l=[]:r>2&&t(l[0],l[1],l[2])&&(l=[l[0]]),n(e,u(l,1),[])});e.exports=f}}]); /* window.modules["639"] */ "use strict";(self.modules=self.modules||[]).push([["639"],{639:(e,t,a)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var l=s(a("3799")),u=s(a("3800")),f=s(a("3803")),o=s(a("3804")),d=s(a("3805"));function s(e){return e&&e.__esModule?e:{default:e}}var r={code:"es",formatDistance:l.default,formatLong:u.default,formatRelative:f.default,localize:o.default,match:d.default,options:{weekStartsOn:1,firstWeekContainsDate:1}};t.default=r,e.exports=t.default}}]); /* window.modules["640"] */ "use strict";(self.modules=self.modules||[]).push([["640"],{640:(e,t,a)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var l=s(a("3806")),u=s(a("3807")),f=s(a("3808")),o=s(a("3809")),d=s(a("3810"));function s(e){return e&&e.__esModule?e:{default:e}}var r={code:"ar",formatDistance:l.default,formatLong:u.default,formatRelative:f.default,localize:o.default,match:d.default,options:{weekStartsOn:6,firstWeekContainsDate:1}};t.default=r,e.exports=t.default}}]); /* window.modules["641"] */ "use strict";(self.modules=self.modules||[]).push([["641"],{641:(e,s,t)=>{let{stripEmail:a}=t("57");e.exports.formatLoggingData=e=>{let{status:s,data:t}=e||{};return{status:s,data:t?.errors?.map(e=>({...e,message:a(e.message)}))}}}}]); /* window.modules["642"] */ "use strict";(self.modules=self.modules||[]).push([["642"],{642:e=>{let t=()=>{let e=new Map,t=async(t,r)=>{try{return await r()}finally{e.delete(t)}};return(r,s)=>{if(e.has(r))return e.get(r);let l=t(r,s);return e.set(r,l),l}},r=t();e.exports={createDedupeInFlight:t,dedupeInFlight:r}}}]); /* window.modules["643"] */ "use strict";(self.modules=self.modules||[]).push([["643"],{643:_=>{let n={ALL_ACCESS_MONTHLY:"cnn_all_access_monthly",ALL_ACCESS_YEARLY:"cnn_all_access_yearly",WELCOME_OFFER_MONTHLY:"cnn_all_access_monthly_welcome_offer",ALL_ACCESS_WELCOME_OFFER_YEARLY:"cnn_all_access_annaul_intro_offer",NYE_OFFER_MONTHLY:"cnn_all_access_monthly_nye_intro_offer",NYE_OFFER_ANNUAL:"cnn_all_access_annual_nye_intro_offer",LABOR_DAY_OFFER_MONTHLY:"cnn_all_access_monthly_2for2_intro_offer",INTRO_25_OFFER_ANNUAL:"cnn_all_access_annual_25_intro_offer",BASIC_YEARLY:"cnn-subs-yearly",BASIC_MONTHLY:"cnn-subs-monthly"},L={WELCOME:"welcome",NYE:"nye",LABOR_DAY:"labor-day",INTRO_25:"intro-25"},A={ANNUAL_INTRO_OFFER:"annual-intro-offer",ANNUAL_NO_OFFER:"annual-no-offer",ALL_ACCESS_NO_OFFER:"all-access-no-offer",...L},a={[L.NYE]:{year:n.NYE_OFFER_ANNUAL,month:n.NYE_OFFER_MONTHLY},[L.WELCOME]:{year:n.ALL_ACCESS_WELCOME_OFFER_YEARLY,month:n.ALL_ACCESS_MONTHLY},[L.LABOR_DAY]:{year:n.ALL_ACCESS_YEARLY,month:n.LABOR_DAY_OFFER_MONTHLY},[L.INTRO_25]:{year:n.INTRO_25_OFFER_ANNUAL,month:n.ALL_ACCESS_MONTHLY},DEFAULT:{year:n.ALL_ACCESS_YEARLY,month:n.ALL_ACCESS_MONTHLY}};_.exports={usPromoProducts:n,caPromoProducts:{ALL_ACCESS_YEARLY:"cnn_all_access_annual_ca",ALL_ACCESS_WELCOME_OFFER_YEARLY:"cnn_all_access_annual_intro_offer_ca",BASIC_YEARLY:"cnn_basic_annual_ca",BASIC_MONTHLY:"cnn_basic_monthly_ca"},ukPromoProducts:{ALL_ACCESS_MONTHLY:"cnn_all_access_monthly_uk",ALL_ACCESS_YEARLY:"cnn_all_access_annual_uk",ALL_ACCESS_WELCOME_OFFER_YEARLY:"cnn_all_access_annual_intro_offer_uk"},offerTypes:L,paywallOfferTypes:A,offerProductIds:a}}}]); /* window.modules["644"] */ "use strict";(self.modules=self.modules||[]).push([["644"],{644:(e,a,n)=>{let{getComponentName:l}=n("78"),{getActiveFastlyExperiments:t}=n("340");e.exports={array:function(){return Array.prototype.slice.call(arguments,0,-1)},arrayIncludes:function(e=[],a){return e.includes(a)},generateLabelHtml:function(e,a,l,t,s){let{applyContainerMediaLabelRemap:i,getVariation:r}=n("481"),o=` ${a?`${a}`:""} ${t?`${t}`:""} `;if(!e&&t)return o;let{label:c,labelText:p}=i(s,e,a),d=` • ${p} ${t?`${t}`:""} `,u=r({componentVariation:s})?.allowVisualCueMediaLabels;return Array.isArray(u)&&(u.includes(e)||t)?`${d}${o}`:d},getDefaultTheme:function(e){return"espanol"===e?"cnne":"cnn"},updateComponentsInArray:function(e,{hash:a}){return Array.isArray(e)?e?.map(e=>((!a.componentName||a.componentName&&e._ref&&a.componentName===l(e._ref))&&(e[a.key]=a.value),e)):e},updateComponentVariation:(e,a,n=[])=>e?n?.map(n=>n(e,a)).find(e=>!!e)??e:"",shouldShowLabelAboveMedia:function(e,a,n,l,s){let i=new Set(["type-video","type-audio","type-podcasts","type-gallery"]),r=new Set(["container_vertical-strip","container_vertical-strip-3x4","container_vertical-strip-original-ratio"]),o=new Set(["container_lead-package","container_lead-plus-headlines","container_lead-plus-headlines-with-images"]),c=s?.data?.root?.locals,p=c?.context?t(c):[],d=new Set(r);return!(!e||!a||i.has(e))&&(p.includes("mw-hp-lead-package-styling-2026-03/t1")&&d.add("container_lead-plus-headlines-with-images"),!!d.has(n)||!!o.has(n)&&0===Number(l))},not:function(e){return!e},ternary:function(e,a,n){return e?a:n}}}}]); /* window.modules["645"] */ "use strict";(self.modules=self.modules||[]).push([["645"],{645:e=>{e.exports=function(e){return e instanceof Array?(0===e.length?"":1===e.length?`${e[0]}`:e.join(",").replace(",$","")).replace(/\\/g,"\\\\").replace(/(["'])/g,"\\$&"):"string"==typeof e?e.replace(/\\/g,"\\\\").replace(/(["'])/g,"\\$&"):e}}}]); /* window.modules["646"] */ "use strict";(self.modules=self.modules||[]).push([["646"],{646:n=>{n.exports={0:function(n,l,e,a,o){var t=n.lookupProperty||function(n,l){if(Object.prototype.hasOwnProperty.call(n,l))return n[l]};return" "+n.escapeExpression((t(e,"set")||l&&t(l,"set")||n.hooks.helperMissing).call(null!=l?l:n.nullContext||{},"lazy",!1,{name:"set",hash:{},data:o,loc:{start:{line:2,column:2},end:{line:2,column:24}}}))+"\n"},1:function(n,l,e,a,o){var t=n.lookupProperty||function(n,l){if(Object.prototype.hasOwnProperty.call(n,l))return n[l]};return" "+n.escapeExpression((t(e,"set")||l&&t(l,"set")||n.hooks.helperMissing).call(null!=l?l:n.nullContext||{},"componentVariation",null!=l?t(l,"componentVariationOverride"):l,{name:"set",hash:{},data:o,loc:{start:{line:5,column:2},end:{line:5,column:59}}}))+"\n"},2:function(n,l,e,a,o){var t=n.lookupProperty||function(n,l){if(Object.prototype.hasOwnProperty.call(n,l))return n[l]};return" "+n.escapeExpression((t(e,"set")||l&&t(l,"set")||n.hooks.helperMissing).call(null!=l?l:n.nullContext||{},"componentVariation","image_medium",{name:"set",hash:{},data:o,loc:{start:{line:9,column:4},end:{line:9,column:49}}}))+"\n"},3:function(n,l,e,a,o){var t=null!=l?l:n.nullContext||{},i=n.hooks.helperMissing,r=n.lookupProperty||function(n,l){if(Object.prototype.hasOwnProperty.call(n,l))return n[l]};return" "+n.escapeExpression((r(e,"set")||l&&r(l,"set")||i).call(t,"customRatios",(r(e,"toObject")||l&&r(l,"toObject")||i).call(t,{name:"toObject",hash:{upToSmall:(r(e,"toObject")||l&&r(l,"toObject")||i).call(t,{name:"toObject",hash:{w:"680"},data:o,loc:{start:{line:13,column:122},end:{line:13,column:140}}}),mobile:(r(e,"toObject")||l&&r(l,"toObject")||i).call(t,{name:"toObject",hash:{w:"256"},data:o,loc:{start:{line:13,column:93},end:{line:13,column:111}}}),tablet:(r(e,"toObject")||l&&r(l,"toObject")||i).call(t,{name:"toObject",hash:{w:"256"},data:o,loc:{start:{line:13,column:67},end:{line:13,column:85}}}),desktop:(r(e,"toObject")||l&&r(l,"toObject")||i).call(t,{name:"toObject",hash:{w:"256"},data:o,loc:{start:{line:13,column:41},end:{line:13,column:59}}})},data:o,loc:{start:{line:13,column:23},end:{line:13,column:141}}}),{name:"set",hash:{},data:o,loc:{start:{line:13,column:2},end:{line:13,column:143}}}))+"\n"},4:function(n,l,e,a,o){var t=n.lookupProperty||function(n,l){if(Object.prototype.hasOwnProperty.call(n,l))return n[l]};return" "+n.escapeExpression((t(e,"set")||l&&t(l,"set")||n.hooks.helperMissing).call(null!=l?l:n.nullContext||{},"fixedRatio","16x9",{name:"set",hash:{},data:o,loc:{start:{line:16,column:4},end:{line:16,column:31}}}))+"\n"},5:function(n,l,e,a,o){var t,i=n.lookupProperty||function(n,l){if(Object.prototype.hasOwnProperty.call(n,l))return n[l]};return null!=(t=i(e,"if").call(null!=l?l:n.nullContext||{},(t=(t=o&&i(o,"root"))&&i(t,"locals"))&&i(t,"modal"),{name:"if",hash:{},fn:n.program(6,o,0),inverse:n.noop,data:o,loc:{start:{line:17,column:0},end:{line:19,column:0}}}))?t:""},6:function(n,l,e,a,o){var t=n.lookupProperty||function(n,l){if(Object.prototype.hasOwnProperty.call(n,l))return n[l]};return" "+n.escapeExpression((t(e,"set")||l&&t(l,"set")||n.hooks.helperMissing).call(null!=l?l:n.nullContext||{},"fixedRatio","original",{name:"set",hash:{},data:o,loc:{start:{line:18,column:4},end:{line:18,column:37}}}))+"\n"},7:function(n,l,e,a,o){return" portrait"},8:function(n,l,e,a,o){var t,i=n.lookupProperty||function(n,l){if(Object.prototype.hasOwnProperty.call(n,l))return n[l]};return n.escapeExpression("function"==typeof(t=null!=(t=i(e,"componentVariation")||(null!=l?i(l,"componentVariation"):l))?t:n.hooks.helperMissing)?t.call(null!=l?l:n.nullContext||{},{name:"componentVariation",hash:{},data:o,loc:{start:{line:22,column:174},end:{line:22,column:196}}}):t)+"__hide-placeholder"},9:function(n,l,e,a,o){return'data-unselectable="true"\n '},10:function(n,l,e,a,o){return'data-editable="settings"\n'},11:function(n,l,e,a,o){return' data-article-gutter="true"\n'},12:function(n,l,e,a,o){var t,i=n.lookupProperty||function(n,l){if(Object.prototype.hasOwnProperty.call(n,l))return n[l]};return" "+(null!=(t=(i(e,"kilnEditButton")||l&&i(l,"kilnEditButton")||n.hooks.helperMissing).call(null!=l?l:n.nullContext||{},"New Image",{name:"kilnEditButton",hash:{},data:o,loc:{start:{line:40,column:6},end:{line:40,column:38}}}))?t:"")+"\n"},13:function(n,l,e,a,o){var t,i=n.lookupProperty||function(n,l){if(Object.prototype.hasOwnProperty.call(n,l))return n[l]};return null!=(t=i(e,"if").call(null!=l?l:n.nullContext||{},null!=l?i(l,"damType"):l,{name:"if",hash:{},fn:n.program(14,o,0),inverse:n.noop,data:o,loc:{start:{line:42,column:4},end:{line:65,column:11}}}))?t:""},14:function(n,l,e,a,o){var t,i=null!=l?l:n.nullContext||{},r=n.hooks.helperMissing,c=n.lookupProperty||function(n,l){if(Object.prototype.hasOwnProperty.call(n,l))return n[l]};return" "+(null!=(t=(c(e,"renderImage")||l&&c(l,"renderImage")||r).call(i,{name:"renderImage",hash:{enableHighRes:null!=l?c(l,"enableHighRes"):l,includeImgCssVars:null!=l?c(l,"includeImgCssVars"):l,isElevated:(c(e,"isElevated")||l&&c(l,"isElevated")||r).call(i,(t=o&&c(o,"root"))&&c(t,"locals"),{name:"isElevated",hash:{},data:o,loc:{start:{line:61,column:19},end:{line:61,column:44}}}),customRatios:null!=l?c(l,"customRatios"):l,componentVariationOverride:null!=l?c(l,"componentVariation"):l,displayCreditInline:null!=l?c(l,"displayCreditInline"):l,renderOnlyImg:null!=l?c(l,"renderOnlyImg"):l,lazy:null!=l?c(l,"lazy"):l,extraCropCommands:null!=l?c(l,"extraCropCommands"):l,cropRatio:null!=l?c(l,"cropRatio"):l,fixedRatio:null!=l?c(l,"fixedRatio"):l,class:c(e,"if").call(i,null!=l?c(l,"imageBorderToggle"):l,"bordered",{name:"if",hash:{},data:o,loc:{start:{line:52,column:14},end:{line:52,column:47}}}),credit:null!=l?c(l,"credit"):l,caption:null!=l?c(l,"caption"):l,ratios:null!=l?c(l,"ratios"):l,alt:null!=l?c(l,"alt"):l,isLink:null!=l?c(l,"isLink"):l,forceToAVIF:null!=l?c(l,"forceToAVIF"):l,isLede:null!=l?c(l,"isLede"):l,image:l},data:o,loc:{start:{line:43,column:6},end:{line:64,column:9}}}))?t:"")+"\n"},compiler:[8,">= 4.3.0"],main:function(n,l,e,a,o){var t,i,r=null!=l?l:n.nullContext||{},c=n.hooks.helperMissing,u=n.escapeExpression,s="function",m=n.lookupProperty||function(n,l){if(Object.prototype.hasOwnProperty.call(n,l))return n[l]};return(null!=(t=m(e,"if").call(r,(t=(t=o&&m(o,"root"))&&m(t,"locals"))&&m(t,"edit"),{name:"if",hash:{},fn:n.program(0,o,0),inverse:n.noop,data:o,loc:{start:{line:1,column:0},end:{line:3,column:7}}}))?t:"")+(null!=(t=m(e,"if").call(r,null!=l?m(l,"componentVariationOverride"):l,{name:"if",hash:{},fn:n.program(1,o,0),inverse:n.noop,data:o,loc:{start:{line:4,column:0},end:{line:6,column:7}}}))?t:"")+(null!=(t=(m(e,"ifAll")||l&&m(l,"ifAll")||c).call(r,(m(e,"compare")||l&&m(l,"compare")||c).call(r,null!=l?m(l,"componentVariation"):l,"image_inline-small",{name:"compare",hash:{},data:o,loc:{start:{line:8,column:9},end:{line:8,column:58}}}),(m(e,"isElevated")||l&&m(l,"isElevated")||c).call(r,(t=o&&m(o,"root"))&&m(t,"locals"),{name:"isElevated",hash:{},data:o,loc:{start:{line:8,column:59},end:{line:8,column:84}}}),{name:"ifAll",hash:{},fn:n.program(2,o,0),inverse:n.noop,data:o,loc:{start:{line:8,column:0},end:{line:10,column:10}}}))?t:"")+(null!=(t=m(e,"if").call(r,(m(e,"compare")||l&&m(l,"compare")||c).call(r,null!=l?m(l,"componentVariation"):l,"image_inline-small",{name:"compare",hash:{},data:o,loc:{start:{line:12,column:6},end:{line:12,column:55}}}),{name:"if",hash:{},fn:n.program(3,o,0),inverse:n.noop,data:o,loc:{start:{line:12,column:0},end:{line:14,column:7}}}))?t:"")+(null!=(t=m(e,"if").call(r,(m(e,"compare")||l&&m(l,"compare")||c).call(r,null!=l?m(l,"componentVariation"):l,"image_full-bleed",{name:"compare",hash:{},data:o,loc:{start:{line:15,column:6},end:{line:15,column:53}}}),{name:"if",hash:{},fn:n.program(4,o,0),inverse:n.program(5,o,0),data:o,loc:{start:{line:15,column:0},end:{line:19,column:7}}}))?t:"")+'\n"+(null!=(t=(m(e,"ifAll")||l&&m(l,"ifAll")||c).call(r,(t=(t=o&&m(o,"root"))&&m(t,"locals"))&&m(t,"modal"),(m(e,"compare")||l&&m(l,"compare")||c).call(r,null!=l?m(l,"url"):l,"",{name:"compare",hash:{},data:o,loc:{start:{line:39,column:30},end:{line:39,column:46}}}),{name:"ifAll",hash:{},fn:n.program(12,o,0),inverse:n.program(13,o,0),data:o,loc:{start:{line:39,column:2},end:{line:66,column:12}}}))?t:"")+" \n"},useData:!0}}}]); /* window.modules["647"] */ "use strict";(self.modules=self.modules||[]).push([["647"],{647:n=>{n.exports={0:function(n,l,e,a,o){var t,i=n.lookupProperty||function(n,l){if(Object.prototype.hasOwnProperty.call(n,l))return n[l]};return null!=(t=i(e,"if").call(null!=l?l:n.nullContext||{},null!=l?i(l,"showSourcePartial"):l,{name:"if",hash:{},fn:n.program(1,o,0),inverse:n.noop,data:o,loc:{start:{line:2,column:4},end:{line:23,column:11}}}))?t:""},1:function(n,l,e,a,o){var t,i,r=null!=l?l:n.nullContext||{},c=n.hooks.helperMissing,u=n.lookupProperty||function(n,l){if(Object.prototype.hasOwnProperty.call(n,l))return n[l]};return' '+(null!=(t=u(e,"unless").call(r,null!=l?u(l,"isVideoCover"):l,{name:"unless",hash:{},fn:n.program(2,o,0),inverse:n.noop,data:o,loc:{start:{line:4,column:53},end:{line:4,column:150}}}))?t:"")+"\n"+(null!=(t=u(e,"unless").call(r,(u(e,"compare")||l&&u(l,"compare")||c).call(r,null!=l?u(l,"source"):l,"===","Affiliate Only",{name:"compare",hash:{},data:o,loc:{start:{line:5,column:22},end:{line:5,column:61}}}),{name:"unless",hash:{},fn:n.program(3,o,0),inverse:n.program(8,o,0),data:o,loc:{start:{line:5,column:12},end:{line:21,column:23}}}))?t:"")+" \n"},2:function(n,l,e,a,o){var t,i=n.lookupProperty||function(n,l){if(Object.prototype.hasOwnProperty.call(n,l))return n[l]};return" • "+n.escapeExpression((i(e,"translate")||l&&i(l,"translate")||n.hooks.helperMissing).call(null!=l?l:n.nullContext||{},(t=(t=(t=o&&i(o,"root"))&&i(t,"locals"))&&i(t,"configuration"))&&i(t,"language"),"Source",{name:"translate",hash:{},data:o,loc:{start:{line:4,column:80},end:{line:4,column:138}}}))+":"},3:function(n,l,e,a,o){var t,i=null!=l?l:n.nullContext||{},r=n.hooks.helperMissing,c=n.lookupProperty||function(n,l){if(Object.prototype.hasOwnProperty.call(n,l))return n[l]};return null!=(t=c(e,"if").call(i,(c(e,"ternary")||l&&c(l,"ternary")||r).call(i,null!=l?c(l,"isVideoCover"):l,(c(e,"compare")||l&&c(l,"compare")||r).call(i,null!=l?c(l,"source"):l,"!==","CNN",{name:"compare",hash:{},data:o,loc:{start:{line:6,column:44},end:{line:6,column:72}}}),!0,{name:"ternary",hash:{},data:o,loc:{start:{line:6,column:22},end:{line:6,column:78}}}),{name:"if",hash:{},fn:n.program(4,o,0),inverse:n.noop,data:o,loc:{start:{line:6,column:16},end:{line:13,column:23}}}))?t:""},4:function(n,l,e,a,o){var t,i=null!=l?l:n.nullContext||{},r=n.lookupProperty||function(n,l){if(Object.prototype.hasOwnProperty.call(n,l))return n[l]};return" "+(null!=(t=r(e,"if").call(i,null!=l?r(l,"isVideoCover"):l,{name:"if",hash:{},fn:n.program(5,o,0),inverse:n.noop,data:o,loc:{start:{line:7,column:16},end:{line:7,column:46}}}))?t:"")+"\n"+(null!=(t=r(e,"if").call(i,null!=l?r(l,"sourceUrl"):l,{name:"if",hash:{},fn:n.program(6,o,0),inverse:n.program(7,o,0),data:o,loc:{start:{line:8,column:16},end:{line:12,column:23}}}))?t:"")},5:function(n,l,e,a,o){return" • "},6:function(n,l,e,a,o){var t,i=null!=l?l:n.nullContext||{},r=n.hooks.helperMissing,c="function",u=n.escapeExpression,s=n.lookupProperty||function(n,l){if(Object.prototype.hasOwnProperty.call(n,l))return n[l]};return' '+u(typeof(t=null!=(t=s(e,"source")||(null!=l?s(l,"source"):l))?t:r)===c?t.call(i,{name:"source",hash:{},data:o,loc:{start:{line:9,column:102},end:{line:9,column:112}}}):t)+"\n"},7:function(n,l,e,a,o){var t,i=n.lookupProperty||function(n,l){if(Object.prototype.hasOwnProperty.call(n,l))return n[l]};return" "+n.escapeExpression("function"==typeof(t=null!=(t=i(e,"source")||(null!=l?i(l,"source"):l))?t:n.hooks.helperMissing)?t.call(null!=l?l:n.nullContext||{},{name:"source",hash:{},data:o,loc:{start:{line:11,column:20},end:{line:11,column:30}}}):t)+"\n"},8:function(n,l,e,a,o){var t,i=null!=l?l:n.nullContext||{},r=n.lookupProperty||function(n,l){if(Object.prototype.hasOwnProperty.call(n,l))return n[l]};return" "+(null!=(t=r(e,"if").call(i,null!=l?r(l,"isVideoCover"):l,{name:"if",hash:{},fn:n.program(5,o,0),inverse:n.noop,data:o,loc:{start:{line:15,column:16},end:{line:15,column:46}}}))?t:"")+"\n "+(null!=(t=r(e,"each").call(i,null!=l?r(l,"affiliateSources"):l,{name:"each",hash:{},fn:n.program(9,o,0),inverse:n.noop,data:o,loc:{start:{line:16,column:16},end:{line:20,column:25}}}))?t:"")},9:function(n,l,e,a,o){var t,i=null!=l?l:n.nullContext||{},r=n.lookupProperty||function(n,l){if(Object.prototype.hasOwnProperty.call(n,l))return n[l]};return(null!=(t=r(e,"if").call(i,(r(e,"compare")||l&&r(l,"compare")||n.hooks.helperMissing).call(i,o&&r(o,"index"),"!==",0,{name:"compare",hash:{},data:o,loc:{start:{line:16,column:48},end:{line:16,column:72}}}),{name:"if",hash:{},fn:n.program(10,o,0),inverse:n.noop,data:o,loc:{start:{line:16,column:42},end:{line:16,column:83}}}))?t:"")+"\n"+(null!=(t=r(e,"if").call(i,null!=l?r(l,"url"):l,{name:"if",hash:{},fn:n.program(11,o,0),inverse:n.program(12,o,0),data:o,loc:{start:{line:17,column:20},end:{line:19,column:43}}}))?t:"")+"\n"},10:function(n,l,e,a,o){return", "},11:function(n,l,e,a,o){var t,i=null!=l?l:n.nullContext||{},r=n.hooks.helperMissing,c="function",u=n.escapeExpression,s=n.lookupProperty||function(n,l){if(Object.prototype.hasOwnProperty.call(n,l))return n[l]};return' '+u(typeof(t=null!=(t=s(e,"name")||(null!=l?s(l,"name"):l))?t:r)===c?t.call(i,{name:"name",hash:{},data:o,loc:{start:{line:18,column:94},end:{line:18,column:102}}}):t)+"\n "},12:function(n,l,e,a,o){var t,i=n.lookupProperty||function(n,l){if(Object.prototype.hasOwnProperty.call(n,l))return n[l]};return n.escapeExpression("function"==typeof(t=null!=(t=i(e,"name")||(null!=l?i(l,"name"):l))?t:n.hooks.helperMissing)?t.call(null!=l?l:n.nullContext||{},{name:"name",hash:{},data:o,loc:{start:{line:19,column:28},end:{line:19,column:36}}}):t)},13:function(n,l,e,a,o,t,i){var r,c,u=null!=l?l:n.nullContext||{},s=n.hooks.helperMissing,p="function",d=n.escapeExpression,m=n.lookupProperty||function(n,l){if(Object.prototype.hasOwnProperty.call(n,l))return n[l]};return' \n"+(null!=(r=m(e,"if").call(u,(m(e,"isElevated")||l&&m(l,"isElevated")||s).call(u,(r=o&&m(o,"root"))&&m(r,"locals"),{name:"isElevated",hash:{},data:o,loc:{start:{line:28,column:22},end:{line:28,column:47}}}),{name:"if",hash:{},fn:n.program(15,o,0,t,i),inverse:n.program(18,o,0,t,i),data:o,loc:{start:{line:28,column:16},end:{line:71,column:23}}}))?r:"")+' \n \n \n '+(null!=(r=(m(e,"read")||l&&m(l,"read")||s).call(u,"public/media/sites/cnn/icons/play-icon.svg",{name:"read",hash:{},data:o,loc:{start:{line:75,column:20},end:{line:75,column:77}}}))?r:"")+'\n \n \n \n '+d(typeof(c=null!=(c=m(e,"headline")||(null!=l?m(l,"headline"):l))?c:s)===p?c.call(u,{name:"headline",hash:{},data:o,loc:{start:{line:79,column:68},end:{line:79,column:80}}}):c)+' \n \n '+(null!=(r=m(e,"if").call(u,null!=l?m(l,"duration"):l,{name:"if",hash:{},fn:n.program(24,o,0,t,i),inverse:n.noop,data:o,loc:{start:{line:81,column:65},end:{line:81,column:181}}}))?r:"")+" "+(null!=(r=n.invokePartial(m(a,"sourcePartial"),l,{name:"sourcePartial",hash:{isVideoCover:!0,this:i[1]},data:o,helpers:e,partials:a,decorators:n.decorators}))?r:"")+" \n \n \n \n \n"},14:function(n,l,e,a,o){var t,i=n.lookupProperty||function(n,l){if(Object.prototype.hasOwnProperty.call(n,l))return n[l]};return'style="background-image:url('+n.escapeExpression("function"==typeof(t=null!=(t=i(e,"thumb")||(null!=l?i(l,"thumb"):l))?t:n.hooks.helperMissing)?t.call(null!=l?l:n.nullContext||{},{name:"thumb",hash:{},data:o,loc:{start:{line:27,column:177},end:{line:27,column:186}}}):t)+')"'},15:function(n,l,e,a,o){var t,i=n.lookupProperty||function(n,l){if(Object.prototype.hasOwnProperty.call(n,l))return n[l]};return null!=(t=i(e,"if").call(null!=l?l:n.nullContext||{},null!=l?i(l,"isVerticalOrientation"):l,{name:"if",hash:{},fn:n.program(16,o,0),inverse:n.program(17,o,0),data:o,loc:{start:{line:29,column:20},end:{line:48,column:27}}}))?t:""},16:function(n,l,e,a,o){var t,i=null!=l?l:n.nullContext||{},r=n.hooks.helperMissing,c=n.lookupProperty||function(n,l){if(Object.prototype.hasOwnProperty.call(n,l))return n[l]};return null!=(t=n.invokePartial(c(a,"image"),(c(e,"omitKey")||l&&c(l,"omitKey")||r).call(i,null!=(t=null!=l?c(l,"thumbnail"):l)?c(t,"0"):t,"cropRatio",{name:"omitKey",hash:{},data:o,loc:{start:{line:30,column:34},end:{line:30,column:69}}}),{name:"image",hash:{extraCropCommands:"ar_9:16,c_auto,g_auto,w_526",renderOnlyImg:(c(e,"ternary")||l&&c(l,"ternary")||r).call(i,(c(e,"compare")||l&&c(l,"compare")||r).call(i,(t=(t=(t=o&&c(o,"root"))&&c(t,"locals"))&&c(t,"configuration"))&&c(t,"pageType"),"===","live-story",{name:"compare",hash:{},data:o,loc:{start:{line:35,column:51},end:{line:35,column:115}}}),!1,!0,{name:"ternary",hash:{},data:o,loc:{start:{line:35,column:42},end:{line:35,column:127}}}),lazy:"true",static:"true",credit:!1,caption:!1},data:o,indent:" ",helpers:e,partials:a,decorators:n.decorators}))?t:""},17:function(n,l,e,a,o){var t,i=n.lookupProperty||function(n,l){if(Object.prototype.hasOwnProperty.call(n,l))return n[l]};return null!=(t=n.invokePartial(i(a,"image"),null!=(t=null!=l?i(l,"thumbnail"):l)?i(t,"0"):t,{name:"image",hash:{fixedWidth:"",fixedHeight:"",fixedRatio:"",lazy:"true",static:"true",credit:!1,caption:!1},data:o,indent:" ",helpers:e,partials:a,decorators:n.decorators}))?t:""},18:function(n,l,e,a,o){var t,i=null!=l?l:n.nullContext||{},r=n.lookupProperty||function(n,l){if(Object.prototype.hasOwnProperty.call(n,l))return n[l]};return null!=(t=r(e,"if").call(i,(r(e,"compare")||l&&r(l,"compare")||n.hooks.helperMissing).call(i,(t=(t=(t=o&&r(o,"root"))&&r(t,"locals"))&&r(t,"configuration"))&&r(t,"pageType"),"===","live-story",{name:"compare",hash:{},data:o,loc:{start:{line:50,column:26},end:{line:50,column:90}}}),{name:"if",hash:{},fn:n.program(19,o,0),inverse:n.noop,data:o,loc:{start:{line:50,column:20},end:{line:70,column:27}}}))?t:""},19:function(n,l,e,a,o){var t,i=n.lookupProperty||function(n,l){if(Object.prototype.hasOwnProperty.call(n,l))return n[l]};return null!=(t=i(e,"if").call(null!=l?l:n.nullContext||{},null!=l?i(l,"isVerticalOrientation"):l,{name:"if",hash:{},fn:n.program(20,o,0),inverse:n.program(21,o,0),data:o,loc:{start:{line:51,column:24},end:{line:69,column:31}}}))?t:""},20:function(n,l,e,a,o){var t,i=n.lookupProperty||function(n,l){if(Object.prototype.hasOwnProperty.call(n,l))return n[l]};return null!=(t=n.invokePartial(i(a,"image"),(i(e,"omitKey")||l&&i(l,"omitKey")||n.hooks.helperMissing).call(null!=l?l:n.nullContext||{},null!=(t=null!=l?i(l,"thumbnail"):l)?i(t,"0"):t,"cropRatio",{name:"omitKey",hash:{},data:o,loc:{start:{line:52,column:38},end:{line:52,column:73}}}),{name:"image",hash:{extraCropCommands:"ar_9:16,c_auto,g_auto,w_526",lazy:"true",static:"true",credit:!1,caption:!1},data:o,indent:" ",helpers:e,partials:a,decorators:n.decorators}))?t:""},21:function(n,l,e,a,o){var t,i=n.lookupProperty||function(n,l){if(Object.prototype.hasOwnProperty.call(n,l))return n[l]};return null!=(t=n.invokePartial(i(a,"image"),null!=(t=null!=l?i(l,"thumbnail"):l)?i(t,"0"):t,{name:"image",hash:{fixedWidth:"",fixedHeight:"",fixedRatio:"",lazy:"true",static:"true",credit:!1,caption:!1},data:o,indent:" ",helpers:e,partials:a,decorators:n.decorators}))?t:""},22:function(n,l,e,a,o){return' aria-hidden="true"'},23:function(n,l,e,a,o){return" spinner"},24:function(n,l,e,a,o){var t,i,r=n.lookupProperty||function(n,l){if(Object.prototype.hasOwnProperty.call(n,l))return n[l]};return''+(null!=(t=n.invokePartial(r(a,"durationDisplayPartial"),l,{name:"durationDisplayPartial",data:o,helpers:e,partials:a,decorators:n.decorators}))?t:"")+""},25:function(n,l,e,a,o){var t,i=n.lookupProperty||function(n,l){if(Object.prototype.hasOwnProperty.call(n,l))return n[l]};return null!=(t=i(e,"if").call(null!=l?l:n.nullContext||{},null!=l?i(l,"duration"):l,{name:"if",hash:{},fn:n.program(26,o,0),inverse:n.noop,data:o,loc:{start:{line:89,column:4},end:{line:105,column:11}}}))?t:""},26:function(n,l,e,a,o){var t,i,r=null!=l?l:n.nullContext||{},c=n.hooks.helperMissing,u=n.escapeExpression,s=n.lookupProperty||function(n,l){if(Object.prototype.hasOwnProperty.call(n,l))return n[l]};return" "+u((s(e,"set")||l&&s(l,"set")||c).call(r,"durationDisplay",null!=l?s(l,"duration"):l,{name:"set",hash:{},data:o,loc:{start:{line:90,column:8},end:{line:90,column:44}}}))+"\n "+u((s(e,"set")||l&&s(l,"set")||c).call(r,"shouldTrimDuration",!1,{name:"set",hash:{},data:o,loc:{start:{line:91,column:8},end:{line:91,column:44}}}))+"\n"+(null!=(t=s(e,"if").call(r,(s(e,"isElevated")||l&&s(l,"isElevated")||c).call(r,(t=o&&s(o,"root"))&&s(t,"locals"),{name:"isElevated",hash:{},data:o,loc:{start:{line:92,column:14},end:{line:92,column:39}}}),{name:"if",hash:{},fn:n.program(27,o,0),inverse:n.noop,data:o,loc:{start:{line:92,column:8},end:{line:94,column:15}}}))?t:"")+(null!=(t=s(e,"if").call(r,(s(e,"compare")||l&&s(l,"compare")||c).call(r,(t=(t=(t=o&&s(o,"root"))&&s(t,"locals"))&&s(t,"configuration"))&&s(t,"pageType"),"===","video",{name:"compare",hash:{},data:o,loc:{start:{line:95,column:14},end:{line:95,column:73}}}),{name:"if",hash:{},fn:n.program(27,o,0),inverse:n.noop,data:o,loc:{start:{line:95,column:8},end:{line:97,column:15}}}))?t:"")+(null!=(t=s(e,"if").call(r,(s(e,"compare")||l&&s(l,"compare")||c).call(r,(t=(t=(t=o&&s(o,"root"))&&s(t,"locals"))&&s(t,"configuration"))&&s(t,"pageType"),"===","live-story",{name:"compare",hash:{},data:o,loc:{start:{line:98,column:14},end:{line:98,column:78}}}),{name:"if",hash:{},fn:n.program(27,o,0),inverse:n.noop,data:o,loc:{start:{line:98,column:8},end:{line:100,column:15}}}))?t:"")+(null!=(t=(s(e,"ifAll")||l&&s(l,"ifAll")||c).call(r,null!=l?s(l,"shouldTrimDuration"):l,(s(e,"compare")||l&&s(l,"compare")||c).call(r,(s(e,"sliceString")||l&&s(l,"sliceString")||c).call(r,null!=l?s(l,"duration"):l,0,1,{name:"sliceString",hash:{},data:o,loc:{start:{line:101,column:45},end:{line:101,column:71}}}),"===","0",{name:"compare",hash:{},data:o,loc:{start:{line:101,column:36},end:{line:101,column:82}}}),{name:"ifAll",hash:{},fn:n.program(28,o,0),inverse:n.noop,data:o,loc:{start:{line:101,column:8},end:{line:103,column:18}}}))?t:"")+" "+u("function"==typeof(i=null!=(i=s(e,"durationDisplay")||(null!=l?s(l,"durationDisplay"):l))?i:c)?i.call(r,{name:"durationDisplay",hash:{},data:o,loc:{start:{line:104,column:8},end:{line:104,column:27}}}):i)+"\n"},27:function(n,l,e,a,o){var t=n.lookupProperty||function(n,l){if(Object.prototype.hasOwnProperty.call(n,l))return n[l]};return" "+n.escapeExpression((t(e,"set")||l&&t(l,"set")||n.hooks.helperMissing).call(null!=l?l:n.nullContext||{},"shouldTrimDuration",!0,{name:"set",hash:{},data:o,loc:{start:{line:93,column:12},end:{line:93,column:47}}}))+"\n"},28:function(n,l,e,a,o){var t=null!=l?l:n.nullContext||{},i=n.hooks.helperMissing,r=n.lookupProperty||function(n,l){if(Object.prototype.hasOwnProperty.call(n,l))return n[l]};return" "+n.escapeExpression((r(e,"set")||l&&r(l,"set")||i).call(t,"durationDisplay",(r(e,"sliceString")||l&&r(l,"sliceString")||i).call(t,null!=l?r(l,"duration"):l,1,null,{name:"sliceString",hash:{},data:o,loc:{start:{line:102,column:37},end:{line:102,column:66}}}),{name:"set",hash:{},data:o,loc:{start:{line:102,column:12},end:{line:102,column:69}}}))+"\n"},29:function(n,l,e,a,o){var t,i=null!=l?l:n.nullContext||{},r=n.lookupProperty||function(n,l){if(Object.prototype.hasOwnProperty.call(n,l))return n[l]};return" "+n.escapeExpression((r(e,"set")||l&&r(l,"set")||n.hooks.helperMissing).call(i,"fixedRatio","9x16",{name:"set",hash:{},data:o,loc:{start:{line:109,column:4},end:{line:109,column:33}}}))+"\n\n"+(null!=(t=r(e,"if").call(i,null!=l?r(l,"isVerticalVideoEmbed"):l,{name:"if",hash:{},fn:n.program(30,o,0),inverse:n.noop,data:o,loc:{start:{line:111,column:4},end:{line:113,column:11}}}))?t:"")},30:function(n,l,e,a,o){var t=n.lookupProperty||function(n,l){if(Object.prototype.hasOwnProperty.call(n,l))return n[l]};return" "+n.escapeExpression((t(e,"set")||l&&t(l,"set")||n.hooks.helperMissing).call(null!=l?l:n.nullContext||{},"componentVariationOverride",null!=l?t(l,"componentVariation"):l,{name:"set",hash:{},data:o,loc:{start:{line:112,column:8},end:{line:112,column:64}}}))+"\n"},31:function(n,l,e,a,o){var t=null!=l?l:n.nullContext||{},i=n.hooks.helperMissing,r=n.escapeExpression,c=n.lookupProperty||function(n,l){if(Object.prototype.hasOwnProperty.call(n,l))return n[l]};return" "+r((c(e,"set")||l&&c(l,"set")||i).call(t,"fixedRatio","16x9",{name:"set",hash:{},data:o,loc:{start:{line:115,column:4},end:{line:115,column:33}}}))+"\n "+r((c(e,"set")||l&&c(l,"set")||i).call(t,"componentVariationOverride",null!=l?c(l,"componentVariation"):l,{name:"set",hash:{},data:o,loc:{start:{line:116,column:4},end:{line:116,column:60}}}))+"\n"},32:function(n,l,e,a,o){var t,i=null!=l?l:n.nullContext||{},r=n.hooks.helperMissing,c=n.escapeExpression,u=n.lookupProperty||function(n,l){if(Object.prototype.hasOwnProperty.call(n,l))return n[l]};return" "+c((u(e,"set")||l&&u(l,"set")||r).call(i,"thumb",(u(e,"generateSourceByDAM")||l&&u(l,"generateSourceByDAM")||r).call(i,null!=(t=null!=l?u(l,"thumbnail"):l)?u(t,"0"):t,"tablet",null!=l?u(l,"fixedRatio"):l,{name:"generateSourceByDAM",hash:{},data:o,loc:{start:{line:120,column:19},end:{line:120,column:74}}}),{name:"set",hash:{},data:o,loc:{start:{line:120,column:4},end:{line:120,column:77}}}))+"\n "+c((u(e,"set")||l&&u(l,"set")||r).call(i,"faveThumbnails",(u(e,"replace")||l&&u(l,"replace")||r).call(i,'{"big": { "uri": "thumb" }, "small": { "uri": "thumb" } }',"thumb",null!=l?u(l,"thumb"):l,{name:"replace",hash:{},data:o,loc:{start:{line:121,column:28},end:{line:121,column:112}}}),{name:"set",hash:{},data:o,loc:{start:{line:121,column:4},end:{line:121,column:114}}}))+"\n"},33:function(n,l,e,a,o){return"video-resource "},34:function(n,l,e,a,o){return" vertical-video"},35:function(n,l,e,a,o){var t,i,r=null!=l?l:n.nullContext||{},c=n.hooks.helperMissing,u="function",s=n.escapeExpression,p=n.lookupProperty||function(n,l){if(Object.prototype.hasOwnProperty.call(n,l))return n[l]};return' data-position="'+s(typeof(i=null!=(i=p(e,"index")||(null!=l?p(l,"index"):l))?i:c)===u?i.call(r,{name:"index",hash:{},data:o,loc:{start:{line:135,column:17},end:{line:135,column:26}}}):i)+'"\n data-index="idx-'+s(typeof(i=null!=(i=p(e,"index")||(null!=l?p(l,"index"):l))?i:c)===u?i.call(r,{name:"index",hash:{},data:o,loc:{start:{line:136,column:18},end:{line:136,column:27}}}):i)+'"\n data-video-instance="'+s(typeof(i=null!=(i=p(e,"_ref")||(null!=l?p(l,"_ref"):l))?i:c)===u?i.call(r,{name:"_ref",hash:{},data:o,loc:{start:{line:137,column:23},end:{line:137,column:31}}}):i)+'"\n role="button"\n tabindex="0"\n aria-label="'+s(typeof(i=null!=(i=p(e,"videoLabel")||(null!=l?p(l,"videoLabel"):l))?i:c)===u?i.call(r,{name:"videoLabel",hash:{},data:o,loc:{start:{line:140,column:14},end:{line:140,column:28}}}):i)+(null!=(t=p(e,"if").call(r,null!=l?p(l,"durationForScreenReader"):l,{name:"if",hash:{},fn:n.program(36,o,0),inverse:n.noop,data:o,loc:{start:{line:140,column:28},end:{line:140,column:95}}}))?t:"")+", "+s(typeof(i=null!=(i=p(e,"headline")||(null!=l?p(l,"headline"):l))?i:c)===u?i.call(r,{name:"headline",hash:{},data:o,loc:{start:{line:140,column:97},end:{line:140,column:109}}}):i)+'"\n'},36:function(n,l,e,a,o){var t,i=n.lookupProperty||function(n,l){if(Object.prototype.hasOwnProperty.call(n,l))return n[l]};return", "+n.escapeExpression("function"==typeof(t=null!=(t=i(e,"durationForScreenReader")||(null!=l?i(l,"durationForScreenReader"):l))?t:n.hooks.helperMissing)?t.call(null!=l?l:n.nullContext||{},{name:"durationForScreenReader",hash:{},data:o,loc:{start:{line:140,column:61},end:{line:140,column:88}}}):t)},37:function(n,l,e,a,o){var t,i=null!=l?l:n.nullContext||{},r=n.hooks.helperMissing,c="function",u=n.escapeExpression,s=n.lookupProperty||function(n,l){if(Object.prototype.hasOwnProperty.call(n,l))return n[l]};return' data-analytics-aggregate-events="true"\n data-custom-experience="'+u(typeof(t=null!=(t=s(e,"customExperience")||(null!=l?s(l,"customExperience"):l))?t:r)===c?t.call(i,{name:"customExperience",hash:{},data:o,loc:{start:{line:149,column:26},end:{line:149,column:46}}}):t)+'"\n data-asset-type="'+u(typeof(t=null!=(t=s(e,"assetType")||(null!=l?s(l,"assetType"):l))?t:r)===c?t.call(i,{name:"assetType",hash:{},data:o,loc:{start:{line:150,column:19},end:{line:150,column:32}}}):t)+'"\n data-content-type="'+u(typeof(t=null!=(t=s(e,"contentType")||(null!=l?s(l,"contentType"):l))?t:r)===c?t.call(i,{name:"contentType",hash:{},data:o,loc:{start:{line:151,column:21},end:{line:151,column:36}}}):t)+'"\n data-medium-env="'+u(typeof(t=null!=(t=s(e,"mediumEnv")||(null!=l?s(l,"mediumEnv"):l))?t:r)===c?t.call(i,{name:"mediumEnv",hash:{},data:o,loc:{start:{line:152,column:19},end:{line:152,column:32}}}):t)+'"\n data-autostart="'+u(typeof(t=null!=(t=s(e,"autostart")||(null!=l?s(l,"autostart"):l))?t:r)===c?t.call(i,{name:"autostart",hash:{},data:o,loc:{start:{line:153,column:18},end:{line:153,column:31}}}):t)+'"\n data-show-ads="'+u(typeof(t=null!=(t=s(e,"showAds")||(null!=l?s(l,"showAds"):l))?t:r)===c?t.call(i,{name:"showAds",hash:{},data:o,loc:{start:{line:154,column:17},end:{line:154,column:28}}}):t)+'"\n data-source="'+u(typeof(t=null!=(t=s(e,"source")||(null!=l?s(l,"source"):l))?t:r)===c?t.call(i,{name:"source",hash:{},data:o,loc:{start:{line:155,column:15},end:{line:155,column:25}}}):t)+'"\n data-featured-video="true"\n'},38:function(n,l,e,a,o){var t,i=n.lookupProperty||function(n,l){if(Object.prototype.hasOwnProperty.call(n,l))return n[l]};return null!=(t=n.invokePartial(i(a,"sourcePartial"),l,{name:"sourcePartial",data:o,helpers:e,partials:a,decorators:n.decorators}))?t:""},39:function(n,l,e,a,o){var t,i=n.lookupProperty||function(n,l){if(Object.prototype.hasOwnProperty.call(n,l))return n[l]};return n.escapeExpression("function"==typeof(t=null!=(t=i(e,"faveThumbnails")||(null!=l?i(l,"faveThumbnails"):l))?t:n.hooks.helperMissing)?t.call(null!=l?l:n.nullContext||{},{name:"faveThumbnails",hash:{},data:o,loc:{start:{line:163,column:47},end:{line:163,column:65}}}):t)},40:function(n,l,e,a,o){var t,i=n.lookupProperty||function(n,l){if(Object.prototype.hasOwnProperty.call(n,l))return n[l]};return null!=(t=n.invokePartial(i(a,"show"),null!=l?i(l,"show"):l,{name:"show",data:o,helpers:e,partials:a,decorators:n.decorators}))?t:""},41:function(n,l,e,a,o){var t,i=n.lookupProperty||function(n,l){if(Object.prototype.hasOwnProperty.call(n,l))return n[l]};return null!=(t=n.invokePartial(i(a,"byline"),null!=l?i(l,"byline"):l,{name:"byline",data:o,helpers:e,partials:a,decorators:n.decorators}))?t:""},42:function(n,l,e,a,o){var t,i=n.lookupProperty||function(n,l){if(Object.prototype.hasOwnProperty.call(n,l))return n[l]};return null!=(t=n.invokePartial(i(a,"timestamp"),null!=l?i(l,"timestamp"):l,{name:"timestamp",data:o,helpers:e,partials:a,decorators:n.decorators}))?t:""},43:function(n,l,e,a,o){return' data-unselectable="true"\n'},44:function(n,l,e,a,o){return' data-vertical-orientation="true"\n'},45:function(n,l,e,a,o){var t,i=n.lookupProperty||function(n,l){if(Object.prototype.hasOwnProperty.call(n,l))return n[l]};return" "+(null!=(t=(i(e,"kilnEditButton")||l&&i(l,"kilnEditButton")||n.hooks.helperMissing).call(null!=l?l:n.nullContext||{},"Video",{name:"kilnEditButton",hash:{},data:o,loc:{start:{line:189,column:8},end:{line:189,column:36}}}))?t:"")+"\n"},46:function(n,l,e,a,o){var t,i=null!=l?l:n.nullContext||{},r=n.lookupProperty||function(n,l){if(Object.prototype.hasOwnProperty.call(n,l))return n[l]};return(null!=(t=r(e,"if").call(i,null!=l?r(l,"inPlaylist"):l,{name:"if",hash:{},fn:n.program(47,o,0),inverse:n.program(50,o,0),data:o,loc:{start:{line:191,column:12},end:{line:252,column:19}}}))?t:"")+(null!=(t=r(e,"if").call(i,null!=l?r(l,"videoId"):l,{name:"if",hash:{},fn:n.program(51,o,0),inverse:n.noop,data:o,loc:{start:{line:253,column:8},end:{line:310,column:15}}}))?t:"")},47:function(n,l,e,a,o){var t,i,r=null!=l?l:n.nullContext||{},c=n.hooks.helperMissing,u="function",s=n.lookupProperty||function(n,l){if(Object.prototype.hasOwnProperty.call(n,l))return n[l]};return' \n'+(null!=(t=s(e,"if").call(r,null!=l?s(l,"imageRatios"):l,{name:"if",hash:{},fn:n.program(48,o,0),inverse:n.program(49,o,0),data:o,loc:{start:{line:193,column:20},end:{line:214,column:27}}}))?t:"")+" "+(null!=(t=typeof(i=null!=(i=s(e,"afterMediaHtml")||(null!=l?s(l,"afterMediaHtml"):l))?i:c)===u?i.call(r,{name:"afterMediaHtml",hash:{},data:o,loc:{start:{line:215,column:20},end:{line:215,column:40}}}):i)?t:"")+"\n \n"},48:function(n,l,e,a,o){var t,i=n.lookupProperty||function(n,l){if(Object.prototype.hasOwnProperty.call(n,l))return n[l]};return null!=(t=n.invokePartial(i(a,"image"),null!=(t=null!=l?i(l,"thumbnail"):l)?i(t,"0"):t,{name:"image",hash:{fixedRatio:"",customRatios:"",lazy:null!=l?i(l,"lazy"):l,ratios:null!=l?i(l,"imageRatios"):l,static:"true",credit:!1,caption:!1},data:o,indent:" ",helpers:e,partials:a,decorators:n.decorators}))?t:""},49:function(n,l,e,a,o){var t,i=n.lookupProperty||function(n,l){if(Object.prototype.hasOwnProperty.call(n,l))return n[l]};return null!=(t=n.invokePartial(i(a,"image"),null!=(t=null!=l?i(l,"thumbnail"):l)?i(t,"0"):t,{name:"image",hash:{customRatios:"",lazy:null!=l?i(l,"lazy"):l,fixedHeight:"",fixedRatio:null!=l?i(l,"fixedRatio"):l,fixedWidth:null!=(t=null!=l?i(l,"config"):l)?i(t,"thumbnailWidth"):t,static:"true",credit:!1,caption:!1},data:o,indent:" ",helpers:e,partials:a,decorators:n.decorators}))?t:""},50:function(n,l,e,a,o){var t,i=n.lookupProperty||function(n,l){if(Object.prototype.hasOwnProperty.call(n,l))return n[l]};return null!=(t=n.invokePartial(i(a,"video-player"),null!=l?i(l,"videoPlayer"):l,{name:"video-player",hash:{mediaMetadata:null!=l?i(l,"mediaMetadata"):l,checkEventBasedPreview:null!=l?i(l,"checkEventBasedPreview"):l,cardUrl:null!=l?i(l,"cardUrl"):l,videoResourceUri:null!=l?i(l,"_ref"):l,videoResourceParentUri:null!=l?i(l,"parentUri"):l,posterImageOverride:null!=l?i(l,"faveThumbnails"):l,networkId:null!=l?i(l,"networkId"):l,mediumEnv:null!=l?i(l,"mediumEnv"):l,isVerticalVideoEmbed:null!=l?i(l,"isVerticalVideoEmbed"):l,isVerticalVideo:null!=l?i(l,"isVerticalOrientation"):l,live:null!=l?i(l,"live"):l,description:null!=l?i(l,"description"):l,videoId:null!=l?i(l,"videoId"):l,authType:null!=l?i(l,"authType"):l,autostart:null!=l?i(l,"autostart"):l,tagNames:null!=(t=null!=l?i(l,"tags"):l)?i(t,"tagNames"):t,firstPublishSlug:null!=l?i(l,"firstPublishSlug"):l,slug:null!=l?i(l,"slug"):l,brandingSlug:null!=(t=null!=(t=null!=l?i(l,"branding"):l)?i(t,"0"):t)?i(t,"slug"):t,canonicalUrl:null!=l?i(l,"canonicalUrl"):l,section:null!=l?i(l,"section"):l,firstPublished:null!=l?i(l,"firstPublished"):l,showAds:null!=l?i(l,"showAds"):l,fixedRatio:null!=l?i(l,"fixedRatio"):l,headline:null!=l?i(l,"headline"):l,editId:null!=l?i(l,"editId"):l,mediaId:null!=l?i(l,"mediaId"):l,duration:null!=l?i(l,"duration"):l,thumbnail:null!=(t=null!=l?i(l,"thumbnail"):l)?i(t,"0"):t,contentType:null!=l?i(l,"contentType"):l,parentComponentVariation:null!=l?i(l,"componentVariationOverride"):l,customExperience:null!=l?i(l,"customExperience"):l},data:o,indent:" ",helpers:e,partials:a,decorators:n.decorators}))?t:""},51:function(n,l,e,a,o){var t,i,r=null!=l?l:n.nullContext||{},c=n.hooks.helperMissing,u="function",s=n.escapeExpression,p=n.lookupProperty||function(n,l){if(Object.prototype.hasOwnProperty.call(n,l))return n[l]};return(null!=(t=p(e,"if").call(r,null!=l?p(l,"showAdFeedback"):l,{name:"if",hash:{},fn:n.program(52,o,0),inverse:n.noop,data:o,loc:{start:{line:254,column:16},end:{line:258,column:23}}}))?t:"")+' \n '+s(typeof(i=null!=(i=p(e,"headline")||(null!=l?p(l,"headline"):l))?i:c)===u?i.call(r,{name:"headline",hash:{},data:o,loc:{start:{line:260,column:138},end:{line:260,column:150}}}):i)+"\n \n"+(null!=(t=p(e,"if").call(r,null!=(t=null!=l?p(l,"config"):l)?p(t,"fullDetails"):t,{name:"if",hash:{},fn:n.program(54,o,0),inverse:n.program(62,o,0),data:o,loc:{start:{line:262,column:20},end:{line:294,column:28}}}))?t:"")+' \n'+(null!=(t=p(e,"if").call(r,null!=l?p(l,"duration"):l,{name:"if",hash:{},fn:n.program(64,o,0),inverse:n.noop,data:o,loc:{start:{line:296,column:24},end:{line:303,column:31}}}))?t:"")+(null!=(t=(p(e,"ifAll")||l&&p(l,"ifAll")||c).call(r,null!=l?p(l,"inPlaylist"):l,(p(e,"not")||l&&p(l,"not")||c).call(r,(p(e,"isElevated")||l&&p(l,"isElevated")||c).call(r,(t=o&&p(o,"root"))&&p(t,"locals"),{name:"isElevated",hash:{},data:o,loc:{start:{line:304,column:49},end:{line:304,column:74}}}),{name:"not",hash:{},data:o,loc:{start:{line:304,column:44},end:{line:304,column:75}}}),{name:"ifAll",hash:{},fn:n.program(66,o,0),inverse:n.noop,data:o,loc:{start:{line:304,column:24},end:{line:306,column:34}}}))?t:"")+(null!=(t=n.invokePartial(p(a,"sourcePartial"),l,{name:"sourcePartial",data:o,indent:" ",helpers:e,partials:a,decorators:n.decorators}))?t:"")+" \n \n"},52:function(n,l,e,a,o){var t,i=n.lookupProperty||function(n,l){if(Object.prototype.hasOwnProperty.call(n,l))return n[l]};return' \n '+(null!=(t=(i(e,"adFeedbackLink")||l&&i(l,"adFeedbackLink")||n.hooks.helperMissing).call(null!=l?l:n.nullContext||{},"VIDEO","",{name:"adFeedbackLink",hash:{},data:o,loc:{start:{line:256,column:24},end:{line:256,column:56}}}))?t:"")+"\n \n"},53:function(n,l,e,a,o){return'data-editable="headline" '},54:function(n,l,e,a,o){var t,i,r=null!=l?l:n.nullContext||{},c=n.hooks.helperMissing,u="function",s=n.escapeExpression,p=n.lookupProperty||function(n,l){if(Object.prototype.hasOwnProperty.call(n,l))return n[l]};return' \n'+(null!=(t=n.invokePartial(p(a,"show"),null!=l?p(l,"show"):l,{name:"show",data:o,indent:" ",helpers:e,partials:a,decorators:n.decorators}))?t:"")+" \n"+(null!=(t=p(e,"if").call(r,null!=(t=null!=l?p(l,"config"):l)?p(t,"displayByline"):t,{name:"if",hash:{},fn:n.program(55,o,0),inverse:n.noop,data:o,loc:{start:{line:266,column:24},end:{line:270,column:31}}}))?t:"")+(null!=(t=p(e,"if").call(r,null!=(t=null!=l?p(l,"config"):l)?p(t,"displayTimestamp"):t,{name:"if",hash:{},fn:n.program(56,o,0),inverse:n.noop,data:o,loc:{start:{line:271,column:24},end:{line:275,column:31}}}))?t:"")+(null!=(t=p(e,"if").call(r,null!=l?p(l,"socialShare"):l,{name:"if",hash:{},fn:n.program(57,o,0),inverse:n.noop,data:o,loc:{start:{line:276,column:24},end:{line:278,column:31}}}))?t:"")+(null!=(t=p(e,"unless").call(r,null!=l?p(l,"isArabic"):l,{name:"unless",hash:{},fn:n.program(58,o,0),inverse:n.noop,data:o,loc:{start:{line:279,column:24},end:{line:283,column:35}}}))?t:"")+' '+(null!=(t=typeof(i=null!=(i=p(e,"description")||(null!=l?p(l,"description"):l))?i:c)===u?i.call(r,{name:"description",hash:{},data:o,loc:{start:{line:284,column:187},end:{line:284,column:204}}}):i)?t:"")+" \n"+(null!=(t=p(e,"if").call(r,null!=l?p(l,"isArabic"):l,{name:"if",hash:{},fn:n.program(60,o,0),inverse:n.noop,data:o,loc:{start:{line:285,column:24},end:{line:289,column:31}}}))?t:"")},55:function(n,l,e,a,o){var t,i,r=n.lookupProperty||function(n,l){if(Object.prototype.hasOwnProperty.call(n,l))return n[l]};return' \n'+(null!=(t=n.invokePartial(r(a,"byline"),null!=l?r(l,"byline"):l,{name:"byline",data:o,indent:" ",helpers:e,partials:a,decorators:n.decorators}))?t:"")+" \n"},56:function(n,l,e,a,o){var t,i,r=n.lookupProperty||function(n,l){if(Object.prototype.hasOwnProperty.call(n,l))return n[l]};return' \n'+(null!=(t=n.invokePartial(r(a,"timestamp"),null!=l?r(l,"timestamp"):l,{name:"timestamp",data:o,indent:" ",helpers:e,partials:a,decorators:n.decorators}))?t:"")+" \n"},57:function(n,l,e,a,o){var t,i=n.lookupProperty||function(n,l){if(Object.prototype.hasOwnProperty.call(n,l))return n[l]};return null!=(t=n.invokePartial(i(a,"social-share"),null!=l?i(l,"socialShare"):l,{name:"social-share",data:o,indent:" ",helpers:e,partials:a,decorators:n.decorators}))?t:""},58:function(n,l,e,a,o){var t,i,r=null!=l?l:n.nullContext||{},c=n.hooks.helperMissing,u=n.escapeExpression,s=n.lookupProperty||function(n,l){if(Object.prototype.hasOwnProperty.call(n,l))return n[l]};return' \n '+(null!=(t=(s(e,"read")||l&&s(l,"read")||c).call(r,"public/media/sites/cnn/icons/ui-caret-up.svg",{name:"read",hash:{},data:o,loc:{start:{line:281,column:28},end:{line:281,column:85}}}))?t:"")+"\n \n"},59:function(n,l,e,a,o){var t,i=n.lookupProperty||function(n,l){if(Object.prototype.hasOwnProperty.call(n,l))return n[l]};return n.escapeExpression("function"==typeof(t=null!=(t=i(e,"componentVariation")||(null!=l?i(l,"componentVariation"):l))?t:n.hooks.helperMissing)?t.call(null!=l?l:n.nullContext||{},{name:"componentVariation",hash:{},data:o,loc:{start:{line:284,column:135},end:{line:284,column:157}}}):t)+"__description--hidden"},60:function(n,l,e,a,o){var t,i,r=null!=l?l:n.nullContext||{},c=n.hooks.helperMissing,u=n.escapeExpression,s=n.lookupProperty||function(n,l){if(Object.prototype.hasOwnProperty.call(n,l))return n[l]};return' \n '+(null!=(t=(s(e,"read")||l&&s(l,"read")||c).call(r,"public/media/sites/cnn/icons/ui-caret-up.svg",{name:"read",hash:{},data:o,loc:{start:{line:287,column:28},end:{line:287,column:85}}}))?t:"")+"\n \n"},61:function(n,l,e,a,o){var t,i=n.lookupProperty||function(n,l){if(Object.prototype.hasOwnProperty.call(n,l))return n[l]};return n.escapeExpression("function"==typeof(t=null!=(t=i(e,"componentVariation")||(null!=l?i(l,"componentVariation"):l))?t:n.hooks.helperMissing)?t.call(null!=l?l:n.nullContext||{},{name:"componentVariation",hash:{},data:o,loc:{start:{line:286,column:95},end:{line:286,column:117}}}):t)+"__description-toggle--hidden"},62:function(n,l,e,a,o){var t,i=n.lookupProperty||function(n,l){if(Object.prototype.hasOwnProperty.call(n,l))return n[l]};return null!=(t=(i(e,"ifAny")||l&&i(l,"ifAny")||n.hooks.helperMissing).call(null!=l?l:n.nullContext||{},null!=l?i(l,"isVerticalVideo"):l,null!=l?i(l,"isVerticalOrientation"):l,{name:"ifAny",hash:{},fn:n.program(63,o,0),inverse:n.noop,data:o,loc:{start:{line:291,column:24},end:{line:293,column:34}}}))?t:""},63:function(n,l,e,a,o){var t,i,r=null!=l?l:n.nullContext||{},c=n.hooks.helperMissing,u="function",s=n.lookupProperty||function(n,l){if(Object.prototype.hasOwnProperty.call(n,l))return n[l]};return' '+(null!=(t=typeof(i=null!=(i=s(e,"description")||(null!=l?s(l,"description"):l))?i:c)===u?i.call(r,{name:"description",hash:{},data:o,loc:{start:{line:292,column:124},end:{line:292,column:141}}}):i)?t:"")+" \n"},64:function(n,l,e,a,o){var t,i,r=null!=l?l:n.nullContext||{},c=n.hooks.helperMissing,u="function",s=n.escapeExpression,p=n.lookupProperty||function(n,l){if(Object.prototype.hasOwnProperty.call(n,l))return n[l]};return' \n'+(null!=(t=(p(e,"ifAll")||l&&p(l,"ifAll")||c).call(r,null!=l?p(l,"inPlaylist"):l,(p(e,"not")||l&&p(l,"not")||c).call(r,(p(e,"isElevated")||l&&p(l,"isElevated")||c).call(r,(t=o&&p(o,"root"))&&p(t,"locals"),{name:"isElevated",hash:{},data:o,loc:{start:{line:298,column:57},end:{line:298,column:82}}}),{name:"not",hash:{},data:o,loc:{start:{line:298,column:52},end:{line:298,column:83}}}),{name:"ifAll",hash:{},fn:n.program(65,o,0),inverse:n.noop,data:o,loc:{start:{line:298,column:32},end:{line:300,column:42}}}))?t:"")+(null!=(t=n.invokePartial(p(a,"durationDisplayPartial"),l,{name:"durationDisplayPartial",data:o,indent:" ",helpers:e,partials:a,decorators:n.decorators}))?t:"")+" \n"},65:function(n,l,e,a,o){var t,i=n.lookupProperty||function(n,l){if(Object.prototype.hasOwnProperty.call(n,l))return n[l]};return" "+(null!=(t=(i(e,"read")||l&&i(l,"read")||n.hooks.helperMissing).call(null!=l?l:n.nullContext||{},"public/media/sites/cnn/icons/sig-video.svg",{name:"read",hash:{},data:o,loc:{start:{line:299,column:36},end:{line:299,column:91}}}))?t:"")+"\n"},66:function(n,l,e,a,o){var t,i,r=null!=l?l:n.nullContext||{},c=n.hooks.helperMissing,u=n.escapeExpression,s=n.lookupProperty||function(n,l){if(Object.prototype.hasOwnProperty.call(n,l))return n[l]};return' '+u((s(e,"translate")||l&&s(l,"translate")||c).call(r,(t=(t=(t=o&&s(o,"root"))&&s(t,"locals"))&&s(t,"configuration"))&&s(t,"language"),"Now playing",{name:"translate",hash:{},data:o,loc:{start:{line:305,column:78},end:{line:305,column:141}}}))+" \n"},67:function(n,l,e,a,o){var t,i=n.lookupProperty||function(n,l){if(Object.prototype.hasOwnProperty.call(n,l))return n[l]};return' \n'},68:function(n,l,e,a,o){var t,i=n.lookupProperty||function(n,l){if(Object.prototype.hasOwnProperty.call(n,l))return n[l]};return null!=(t=n.invokePartial(i(a,"videoCoverPartial"),l,{name:"videoCoverPartial",data:o,indent:" ",helpers:e,partials:a,decorators:n.decorators}))?t:""},69:function(n,l,e,a,o){var t,i=null!=l?l:n.nullContext||{},r=n.hooks.helperMissing,c=n.lookupProperty||function(n,l){if(Object.prototype.hasOwnProperty.call(n,l))return n[l]};return null!=(t=(c(e,"ifAll")||l&&c(l,"ifAll")||r).call(i,(c(e,"not")||l&&c(l,"not")||r).call(i,null!=l?c(l,"inPlaylist"):l,{name:"not",hash:{},data:o,loc:{start:{line:319,column:21},end:{line:319,column:37}}}),(c(e,"not")||l&&c(l,"not")||r).call(i,null!=l?c(l,"isFeatured"):l,{name:"not",hash:{},data:o,loc:{start:{line:319,column:38},end:{line:319,column:54}}}),{name:"ifAll",hash:{},fn:n.program(70,o,0),inverse:n.noop,data:o,loc:{start:{line:319,column:12},end:{line:321,column:22}}}))?t:""},70:function(n,l,e,a,o){var t,i=n.lookupProperty||function(n,l){if(Object.prototype.hasOwnProperty.call(n,l))return n[l]};return null!=(t=n.invokePartial(i(a,"videoCoverPartial"),l,{name:"videoCoverPartial",data:o,indent:" ",helpers:e,partials:a,decorators:n.decorators}))?t:""},71:function(n,l,e,a,o){return" \n"},compiler:[8,">= 4.3.0"],main:function(n,l,e,a,o,t,i){var r,c,u,s=null!=l?l:n.nullContext||{},p=n.hooks.helperMissing,d=n.escapeExpression,m="function",h=n.hooks.blockHelperMissing,f=n.lambda,y=n.lookupProperty||function(n,l){if(Object.prototype.hasOwnProperty.call(n,l))return n[l]},v="\n\n\n"+(null!=(r=(y(e,"ifAny")||l&&y(l,"ifAny")||p).call(s,null!=l?y(l,"isVerticalVideo"):l,null!=l?y(l,"isVerticalOrientation"):l,{name:"ifAny",hash:{},fn:n.program(29,o,0,t,i),inverse:n.program(31,o,0,t,i),data:o,loc:{start:{line:108,column:0},end:{line:117,column:10}}}))?r:"")+"\n"+(null!=(r=y(e,"if").call(s,null!=(r=null!=l?y(l,"thumbnail"):l)?y(r,"0"):r,{name:"if",hash:{},fn:n.program(32,o,0,t,i),inverse:n.noop,data:o,loc:{start:{line:119,column:0},end:{line:122,column:7}}}))?r:"")+"\n"+d((y(e,"set")||l&&y(l,"set")||p).call(s,"elevatedComponentVariation",(y(e,"elevateWhenNeeded")||l&&y(l,"elevateWhenNeeded")||p).call(s,null!=l?y(l,"componentVariation"):l,(r=o&&y(o,"root"))&&y(r,"locals"),{name:"elevateWhenNeeded",hash:{},data:o,loc:{start:{line:124,column:36},end:{line:124,column:87}}}),{name:"set",hash:{},data:o,loc:{start:{line:124,column:0},end:{line:124,column:89}}}))+'\n\n\n'+(null!=(r=(y(e,"ifAll")||l&&y(l,"ifAll")||p).call(s,(r=(r=o&&y(o,"root"))&&y(r,"locals"))&&y(r,"modal"),(y(e,"compare")||l&&y(l,"compare")||p).call(s,null!=l?y(l,"videoId"):l,"",{name:"compare",hash:{},data:o,loc:{start:{line:188,column:32},end:{line:188,column:52}}}),{name:"ifAll",hash:{},fn:n.program(45,o,0,t,i),inverse:n.program(46,o,0,t,i),data:o,loc:{start:{line:188,column:4},end:{line:311,column:14}}}))?r:"")+(null!=(r=y(e,"unless").call(s,null!=l?y(l,"displayVideoCover"):l,{name:"unless",hash:{},fn:n.program(67,o,0,t,i),inverse:n.noop,data:o,loc:{start:{line:312,column:4},end:{line:314,column:15}}}))?r:"")+(null!=(r=y(e,"if").call(s,(y(e,"isElevated")||l&&y(l,"isElevated")||p).call(s,(r=o&&y(o,"root"))&&y(r,"locals"),{name:"isElevated",hash:{},data:o,loc:{start:{line:316,column:14},end:{line:316,column:39}}}),{name:"if",hash:{},fn:n.program(68,o,0,t,i),inverse:n.program(69,o,0,t,i),data:o,loc:{start:{line:316,column:8},end:{line:322,column:15}}}))?r:"")+(null!=(r=y(e,"unless").call(s,null!=l?y(l,"displayVideoCover"):l,{name:"unless",hash:{},fn:n.program(71,o,0,t,i),inverse:n.noop,data:o,loc:{start:{line:323,column:4},end:{line:325,column:15}}}))?r:"")+" \n"},main_d:function(n,l,e,a,o,t,i){var r=e.decorators,c=e.lookupProperty||function(n,l){if(Object.prototype.hasOwnProperty.call(n,l))return n[l]},u=c(r,"inline");if("function"!=typeof u)throw Error('Missing decorator: "inline"');n=u(n,l,e,{name:"inline",hash:{},fn:e.program(0,o,0,t,i),inverse:e.noop,args:["sourcePartial"],data:o,loc:{start:{line:1,column:0},end:{line:24,column:11}}})||n;var u=c(r,"inline");if("function"!=typeof u)throw Error('Missing decorator: "inline"');n=u(n,l,e,{name:"inline",hash:{},fn:e.program(13,o,0,t,i),inverse:e.noop,args:["videoCoverPartial"],data:o,loc:{start:{line:26,column:0},end:{line:86,column:11}}})||n;var u=c(r,"inline");if("function"!=typeof u)throw Error('Missing decorator: "inline"');return n=u(n,l,e,{name:"inline",hash:{},fn:e.program(25,o,0,t,i),inverse:e.noop,args:["durationDisplayPartial"],data:o,loc:{start:{line:88,column:0},end:{line:106,column:11}}})||n},useDecorators:!0,usePartial:!0,useData:!0,useDepths:!0}}}]); /* window.modules["648"] */ "use strict";(self.modules=self.modules||[]).push([["648"],{648:(e,t,s)=>{let n=s("649"),{expose:r}=s("275"),o="cmjson_",i="unknown",c=o.length,a=(e,t,s,n)=>e.addEventListener(t,e=>{let t=e.currentTarget;s.call(n,l(t.dataset),t,e)}),l=e=>Object.keys(e).reduce((t,s)=>s.startsWith(o)?{...t,[s.slice(c)]:(()=>{try{return JSON.parse(e[s])}catch(e){}})()}:{...t,[s]:e[s]},{});e.exports=class{constructor(e){this.el=e,this.sseClient=null,this.sseUri=null,this.sseName=null,this.lastConnectionStartTime=null,this.wasEverConnected=!1,this.sseCurrentErrorCount=0,this.sseTotalErrorCount=0}bind(e,t,s){Array.from(this.el.querySelectorAll(e)).forEach(e=>a(e,t,s,this))}bindToThis(e,t){a(this.el,e,t,this)}subscribe(e,t,s){n.subscribe(e,t.bind(this),!0,s)}dispatch(e,t,s){n.dispatch(e,t,s)}dataElementMap(e,t,s=!1){return Array.from((s||this.el).querySelectorAll(e)).reduce((e,s)=>({[t(l(s.dataset))]:s,...e}),{})}startSSE(e,t){t?this.sseUri=t:this.sseUri=this.el.dataset.uri,this.sseName=e,this.connectSSE()}connectSSE(){console.log(`${this.sseName} SSE Connecting...`),this.sseClient=new EventSource(this.sseUri),this.registerSSEListeners()}registerSSEListeners(){this.sseClient.addEventListener("publish",async e=>{try{await this.onSSEPublish(e)}catch(e){console.log(`${this.sseName} onSSEPublish ERROR`,e)}}),this.sseClient.addEventListener("error",e=>{this.onSSEError(e)}),this.sseClient.addEventListener("open",e=>{this.onSSEOpen(e)})}onSSEOpen(){console.log(`${this.sseName} SSE Open`),this.lastConnectionStartTime=Date.now(),this.wasEverConnected=!0,window.DD_RUM&&window.DD_RUM.addAction("sse_connection_restored",{component:this.sseName||i,category:"sse_connection_success",wrapper:"ClientModel",error_count:this.sseCurrentErrorCount,total_count:this.sseTotalErrorCount,sse_uri:this.sseUri}),this.sseCurrentErrorCount=0}onSSEReconnecting(){setTimeout(()=>{console.log(`${this.sseName} SSE Reconnecting...`),this.connectSSE()},1e3)}async onSSEPublish(){console.log(`${this.sseName} SSE Publish`)}onSSEError(e){console.log(`${this.sseName} An error occurred while attempting to connect.`,e);let t=Error(`${this.sseName}: An error occurred while attempting to connect.`),s=e?.target?.readyState,n=Date.now(),r=i;s===EventSource.CONNECTING||0===s||null===this.lastConnectionStartTime?r="connection_failure":s===EventSource.OPEN||1===s?r=n-this.lastConnectionStartTime>5e3?"backend_disconnection":"unstable_connection":(s===EventSource.CLOSED||2===s)&&(r=this.wasEverConnected?"connection_terminated":"connection_refused"),this.sseCurrentErrorCount++,this.sseTotalErrorCount++,window.DD_RUM&&window.DD_RUM.addError(t,{component:this.sseName||i,category:"sse_connection_failure",wrapper:"ClientModel",error_count:this.sseCurrentErrorCount,total_count:this.sseTotalErrorCount,sse_uri:this.sseUri,original_error:e?.target?.readyState||i,event_phase:e?.eventPhase||i,cause:r}),this.lastConnectionStartTime=null,this.sseClient.close(),this.onSSEReconnecting()}exposeComponent(e,t){r("components",e,t)}}}}]); /* window.modules["649"] */ "use strict";(self.modules=self.modules||[]).push([["649"],{649:t=>{let o="_any",n=Symbol("empty"),i=function(){let t={},i={};function c(o,n){if(!o)throw Error("Invalid action format");t[o]=t[o]||{},t[o][n]=t[o][n]||[],i[o]=i[o]||{},i[o][n]=i[o][n]||[,]}return{dispatch:function({ns:e,action:s},r=n,f=""){f&&(s=Symbol.for(s.description.concat(f))),c(e,s),t[e][s].concat(t[e][o]||[]).forEach(t=>{setTimeout(function(){t(r,{ns:e,action:s})})}),i[e][s].shift(),i[e][s].push(r)},subscribe:function({ns:n,action:e=o},s,r=!0,f=""){f&&(e=Symbol.for(e.description.concat(f))),c(n,e),t[n][e].push(s),r&&i[n][e].filter(t=>void 0!==t).forEach(t=>{setTimeout(function(){s(t)})})},reset:function(){i={},t={}}}}();i.CACHE_SIZE=1,t.exports=i}}]); /* window.modules["650"] */ "use strict";(self.modules=self.modules||[]).push([["650"],{650:(e,n)=>{Object.defineProperty(n,"__esModule",{value:!0}),n.secondsInMinute=n.secondsInHour=n.quartersInYear=n.monthsInYear=n.monthsInQuarter=n.minutesInHour=n.minTime=n.millisecondsInSecond=n.millisecondsInHour=n.millisecondsInMinute=n.maxTime=n.daysInWeek=void 0,n.daysInWeek=7,n.maxTime=864e13,n.millisecondsInMinute=6e4,n.millisecondsInHour=36e5,n.millisecondsInSecond=1e3,n.minTime=-864e13,n.minutesInHour=60,n.monthsInQuarter=3,n.monthsInYear=12,n.quartersInYear=4,n.secondsInHour=3600,n.secondsInMinute=60}}]); /* window.modules["651"] */ "use strict";(self.modules=self.modules||[]).push([["651"],{651:e=>{e.exports={componentTypes:{METERWALL:"meterwall",EXCLUSIVEWALL:"exclusivewall",REGWALL:"regwall",BOTTOMBAR:"bottombar",INLINE:"inline",OVERLAY:"overlay"},actions:{CLICK:"click",SELECT:"select",DISMISS:"dismiss"}}}}]); /* window.modules["652"] */ (self.modules=self.modules||[]).push([["652"],{652:(e,s,u)=>{var n=u("2534"),o=u("3816"),r=u("2786");e.exports=function(e,s){var u={};return s=r(s,3),o(e,function(e,o,r){n(u,o,s(e,o,r))}),u}}}]); /* window.modules["653"] */ (self.modules=self.modules||[]).push([["653"],{653:(t,o,e)=>{var l=e("3817"),n=e("3818"),s=e("2779"),u=Object.prototype.toString,f=n(function(t,o,e){null!=o&&"function"!=typeof o.toString&&(o=u.call(o)),t[o]=e},l(s));t.exports=f}}]); /* window.modules["654"] */ "use strict";(self.modules=self.modules||[]).push([["654"],{654:e=>{e.exports=/*#__PURE__*/JSON.parse('[{"gizmoProductId":"cnn_subs_welcome_offer_monthly","phases":[{"billingPeriod":{"interval":"month","intervalCount":1},"currency":"usd","cycles":6,"phaseNumber":0,"price":1.99},{"billingPeriod":{"interval":"month","intervalCount":1},"currency":"usd","cycles":0,"phaseNumber":1,"price":3.99}],"universalProductIndicator":"cnn_subs"},{"gizmoProductId":"cnn-subs-monthly","universalProductIndicator":"cnn_subs","description":"Basic","productType":"FULL_PRICED","phases":[{"stripePlanId":"price_1PyawfHTnkIxdQ8srunazINQ","price":3.99,"currency":"usd","cycles":0,"phaseNumber":0,"billingPeriod":{"interval":"month","intervalCount":1}}]},{"gizmoProductId":"cnn-subs-yearly","universalProductIndicator":"cnn_subs","description":"Basic","productType":"FULL_PRICED","phases":[{"stripePlanId":"price_1PyaxgHTnkIxdQ8sAqls6ws8","price":29.99,"currency":"usd","cycles":0,"phaseNumber":0,"billingPeriod":{"interval":"year","intervalCount":1}}]},{"gizmoProductId":"cnn_all_access_monthly_nye_intro_offer","universalProductIndicator":"cnn_all_access","description":"All Access","productType":"FULL_PRICED","availabilityEndTimeMillis":1767653729000,"availabilityEndTime":"2026-01-05T22:55:29Z","phases":[{"price":3.5,"currency":"usd","cycles":12,"phaseNumber":0,"billingPeriod":{"interval":"month","intervalCount":1}},{"price":6.99,"currency":"usd","cycles":0,"phaseNumber":1,"billingPeriod":{"interval":"month","intervalCount":1}}]},{"gizmoProductId":"cnn_all_access_monthly","universalProductIndicator":"cnn_all_access","description":"All Access","productType":"FULL_PRICED","phases":[{"stripePlanId":"price_1S3er3HTnkIxdQ8sb1IXFNnY","price":6.99,"currency":"usd","cycles":0,"phaseNumber":0,"billingPeriod":{"interval":"month","intervalCount":1}}]},{"gizmoProductId":"cnn_all_access_annual_nye_intro_offer","universalProductIndicator":"cnn_all_access","description":"All Access","productType":"FULL_PRICED","availabilityEndTimeMillis":1767653597000,"availabilityEndTime":"2026-01-05T22:53:17Z","phases":[{"price":34.99,"currency":"usd","cycles":1,"phaseNumber":0,"billingPeriod":{"interval":"year","intervalCount":1}},{"price":69.99,"currency":"usd","cycles":0,"phaseNumber":1,"billingPeriod":{"interval":"year","intervalCount":1}}]},{"gizmoProductId":"cnn_all_access_yearly","universalProductIndicator":"cnn_all_access","description":"All Access","productType":"FULL_PRICED","phases":[{"stripePlanId":"price_1S7iItHTnkIxdQ8sJ5me8qR8","price":69.99,"currency":"usd","cycles":0,"phaseNumber":0,"billingPeriod":{"interval":"year","intervalCount":1}}]},{"gizmoProductId":"cnn_all_access_annaul_intro_offer","universalProductIndicator":"cnn_all_access","description":"All Access","productType":"FULL_PRICED","availabilityEndTimeMillis":1787615319000,"availabilityEndTime":"2026-08-24T23:48:39Z","phases":[{"price":41.99,"currency":"usd","cycles":1,"phaseNumber":0,"billingPeriod":{"interval":"year","intervalCount":1}},{"price":69.99,"currency":"usd","cycles":0,"phaseNumber":1,"billingPeriod":{"interval":"year","intervalCount":1}}]}]')}}]); /* window.modules["655"] */ "use strict";(self.modules=self.modules||[]).push([["655"],{655:t=>{t.exports=(t,e)=>` .toast-container { left: var(--semantic-space-md, 8px); right: var(--semantic-space-md, 8px); top: 50px; position: fixed; z-index: 100; } @media screen and (min-width: 480px) { .toast-container { right: var(--semantic-space-lg, 16px); left: unset; width: 312px; } } @media screen and (min-width: 960px) { .toast-container { right: var(--semantic-space-2xl, 32px); } } .toast { opacity: 0; transform: translateY(${e}); display: flex; min-height: 60px; margin-bottom: var(--semantic-space-sm, 4px); background: var(--theme-semantic-color-bg-primary, #fff); padding: var(--primitive-space-12, 12px); border-radius: var(--semantic-radius-xl, 12px); box-shadow: 0px 0px 2px 2px rgba(0, 0, 0, 0.08), 0px 8px 12px -1px rgba(0, 0, 0, 0.16); transition: ${t}ms ease-out; align-items: flex-start; } .toast--confirmation { border: 1px solid var(--theme-semantic-color-status-icon-positive, #3DA672); } .toast--error { border: 1px solid var(--theme-semantic-color-status-icon-negative, #d50000); } .toast--unfollow, .toast--unsubscribe { border: 1px solid #6e6e6e; } .toast--active { opacity: 1; transform: translateY(0); transition: ${t}ms ease-out; } .toast__indicator-icon { height: var(--primitive-size-20, 20px); width: var(--primitive-size-20, 20px); margin: 0 var(--semantic-space-md, 8px) 0 0; display: flex; justify-content: center; align-items: center; } .toast__indicator-icon img { display: block; } .toast__content { flex: 1; display: flex; justify-content: center; flex-direction: column; } .toast__content-text { font-weight: 700; margin: 0; font-size: 14px; line-height: 20px; letter-spacing: 0.2px; margin-top: 1px; } .toast__content-subtext { color: var(--theme-semantic-color-type-secondary, #262626); font-size: 12px; font-weight: normal; line-height: 18px; letter-spacing: 0.2px; margin: var(--primitive-space-02, 2px) 0 0; } .toast__close-btn { border: 0; background: transparent; outline: 0; cursor: pointer; padding: 0; height: var(--semantic-size-xs, 24px); width: var(--semantic-size-xs, 24px); margin: 0 0 0 var(--semantic-space-md, 8px); } .toast__close-btn .icon-ui-close { fill: #b1b1b1; } `.replace(/[\t\n]+/g,"")}}]); /* window.modules["657"] */ "use strict";(self.modules=self.modules||[]).push([["657"],{657:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){if(t.length1?"s":"")+" required, but only "+t.length+" present")},e.exports=t.default}}]); /* window.modules["658"] */ "use strict";(self.modules=self.modules||[]).push([["658"],{658:(e,u)=>{Object.defineProperty(u,"__esModule",{value:!0}),u.default=function(e){if(null===e||!0===e||!1===e)return NaN;var u=Number(e);return isNaN(u)?u:u{Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){var t=new Date(Date.UTC(e.getFullYear(),e.getMonth(),e.getDate(),e.getHours(),e.getMinutes(),e.getSeconds(),e.getMilliseconds()));return t.setUTCFullYear(e.getFullYear()),e.getTime()-t.getTime()},e.exports=t.default}}]); /* window.modules["660"] */ "use strict";(self.modules=self.modules||[]).push([["660"],{660:(t,e)=>{Object.defineProperty(e,"__esModule",{value:!0}),e.isProtectedDayOfYearToken=function(t){return -1!==o.indexOf(t)},e.isProtectedWeekYearToken=function(t){return -1!==r.indexOf(t)},e.throwProtectedError=function(t,e,o){if("YYYY"===t)throw RangeError("Use `yyyy` instead of `YYYY` (in `".concat(e,"`) for formatting years to the input `").concat(o,"`; see: https://git.io/fxCyr"));if("YY"===t)throw RangeError("Use `yy` instead of `YY` (in `".concat(e,"`) for formatting years to the input `").concat(o,"`; see: https://git.io/fxCyr"));if("D"===t)throw RangeError("Use `d` instead of `D` (in `".concat(e,"`) for formatting days of the month to the input `").concat(o,"`; see: https://git.io/fxCyr"));if("DD"===t)throw RangeError("Use `dd` instead of `DD` (in `".concat(e,"`) for formatting days of the month to the input `").concat(o,"`; see: https://git.io/fxCyr"))};var o=["D","DD"],r=["YY","YYYY"]}}]); /* window.modules["661"] */ "use strict";(self.modules=self.modules||[]).push([["661"],{661:(e,t)=>{function d(e,t){switch(e){case"P":return t.date({width:"short"});case"PP":return t.date({width:"medium"});case"PPP":return t.date({width:"long"});default:return t.date({width:"full"})}}function i(e,t){switch(e){case"p":return t.time({width:"short"});case"pp":return t.time({width:"medium"});case"ppp":return t.time({width:"long"});default:return t.time({width:"full"})}}Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,t.default={p:i,P:function(e,t){var r,a=e.match(/(P+)(p+)?/)||[],u=a[1],s=a[2];if(!s)return d(e,t);switch(u){case"P":r=t.dateTime({width:"short"});break;case"PP":r=t.dateTime({width:"medium"});break;case"PPP":r=t.dateTime({width:"long"});break;default:r=t.dateTime({width:"full"})}return r.replace("{{date}}",d(u,t)).replace("{{time}}",i(s,t))}},e.exports=t.default}}]); /* window.modules["662"] */ "use strict";(self.modules=self.modules||[]).push([["662"],{662:(t,e,r)=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var n=f(r("3822")),a=f(r("3823")),i=f(r("3825")),u=f(r("3826")),o=f(r("3827")),d=f(r("3828")),c=f(r("3829"));function f(t){return t&&t.__esModule?t:{default:t}}var s={midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"};function l(t,e){var r=t>0?"-":"+",n=Math.abs(t),a=Math.floor(n/60),i=n%60;return 0===i?r+String(a):r+String(a)+(e||"")+(0,d.default)(i,2)}function h(t,e){return t%60==0?(t>0?"-":"+")+(0,d.default)(Math.abs(t)/60,2):g(t,e)}function g(t,e){var r=Math.abs(t);return(t>0?"-":"+")+(0,d.default)(Math.floor(r/60),2)+(e||"")+(0,d.default)(r%60,2)}e.default={G:function(t,e,r){var n=t.getUTCFullYear()>0?1:0;switch(e){case"G":case"GG":case"GGG":return r.era(n,{width:"abbreviated"});case"GGGGG":return r.era(n,{width:"narrow"});default:return r.era(n,{width:"wide"})}},y:function(t,e,r){if("yo"===e){var n=t.getUTCFullYear();return r.ordinalNumber(n>0?n:1-n,{unit:"year"})}return c.default.y(t,e)},Y:function(t,e,r,n){var a=(0,o.default)(t,n),i=a>0?a:1-a;if("YY"===e){var u=i%100;return(0,d.default)(u,2)}return"Yo"===e?r.ordinalNumber(i,{unit:"year"}):(0,d.default)(i,e.length)},R:function(t,e){var r=(0,i.default)(t);return(0,d.default)(r,e.length)},u:function(t,e){var r=t.getUTCFullYear();return(0,d.default)(r,e.length)},Q:function(t,e,r){var n=Math.ceil((t.getUTCMonth()+1)/3);switch(e){case"Q":return String(n);case"QQ":return(0,d.default)(n,2);case"Qo":return r.ordinalNumber(n,{unit:"quarter"});case"QQQ":return r.quarter(n,{width:"abbreviated",context:"formatting"});case"QQQQQ":return r.quarter(n,{width:"narrow",context:"formatting"});default:return r.quarter(n,{width:"wide",context:"formatting"})}},q:function(t,e,r){var n=Math.ceil((t.getUTCMonth()+1)/3);switch(e){case"q":return String(n);case"qq":return(0,d.default)(n,2);case"qo":return r.ordinalNumber(n,{unit:"quarter"});case"qqq":return r.quarter(n,{width:"abbreviated",context:"standalone"});case"qqqqq":return r.quarter(n,{width:"narrow",context:"standalone"});default:return r.quarter(n,{width:"wide",context:"standalone"})}},M:function(t,e,r){var n=t.getUTCMonth();switch(e){case"M":case"MM":return c.default.M(t,e);case"Mo":return r.ordinalNumber(n+1,{unit:"month"});case"MMM":return r.month(n,{width:"abbreviated",context:"formatting"});case"MMMMM":return r.month(n,{width:"narrow",context:"formatting"});default:return r.month(n,{width:"wide",context:"formatting"})}},L:function(t,e,r){var n=t.getUTCMonth();switch(e){case"L":return String(n+1);case"LL":return(0,d.default)(n+1,2);case"Lo":return r.ordinalNumber(n+1,{unit:"month"});case"LLL":return r.month(n,{width:"abbreviated",context:"standalone"});case"LLLLL":return r.month(n,{width:"narrow",context:"standalone"});default:return r.month(n,{width:"wide",context:"standalone"})}},w:function(t,e,r,n){var a=(0,u.default)(t,n);return"wo"===e?r.ordinalNumber(a,{unit:"week"}):(0,d.default)(a,e.length)},I:function(t,e,r){var n=(0,a.default)(t);return"Io"===e?r.ordinalNumber(n,{unit:"week"}):(0,d.default)(n,e.length)},d:function(t,e,r){return"do"===e?r.ordinalNumber(t.getUTCDate(),{unit:"date"}):c.default.d(t,e)},D:function(t,e,r){var a=(0,n.default)(t);return"Do"===e?r.ordinalNumber(a,{unit:"dayOfYear"}):(0,d.default)(a,e.length)},E:function(t,e,r){var n=t.getUTCDay();switch(e){case"E":case"EE":case"EEE":return r.day(n,{width:"abbreviated",context:"formatting"});case"EEEEE":return r.day(n,{width:"narrow",context:"formatting"});case"EEEEEE":return r.day(n,{width:"short",context:"formatting"});default:return r.day(n,{width:"wide",context:"formatting"})}},e:function(t,e,r,n){var a=t.getUTCDay(),i=(a-n.weekStartsOn+8)%7||7;switch(e){case"e":return String(i);case"ee":return(0,d.default)(i,2);case"eo":return r.ordinalNumber(i,{unit:"day"});case"eee":return r.day(a,{width:"abbreviated",context:"formatting"});case"eeeee":return r.day(a,{width:"narrow",context:"formatting"});case"eeeeee":return r.day(a,{width:"short",context:"formatting"});default:return r.day(a,{width:"wide",context:"formatting"})}},c:function(t,e,r,n){var a=t.getUTCDay(),i=(a-n.weekStartsOn+8)%7||7;switch(e){case"c":return String(i);case"cc":return(0,d.default)(i,e.length);case"co":return r.ordinalNumber(i,{unit:"day"});case"ccc":return r.day(a,{width:"abbreviated",context:"standalone"});case"ccccc":return r.day(a,{width:"narrow",context:"standalone"});case"cccccc":return r.day(a,{width:"short",context:"standalone"});default:return r.day(a,{width:"wide",context:"standalone"})}},i:function(t,e,r){var n=t.getUTCDay(),a=0===n?7:n;switch(e){case"i":return String(a);case"ii":return(0,d.default)(a,e.length);case"io":return r.ordinalNumber(a,{unit:"day"});case"iii":return r.day(n,{width:"abbreviated",context:"formatting"});case"iiiii":return r.day(n,{width:"narrow",context:"formatting"});case"iiiiii":return r.day(n,{width:"short",context:"formatting"});default:return r.day(n,{width:"wide",context:"formatting"})}},a:function(t,e,r){var n=t.getUTCHours()/12>=1?"pm":"am";switch(e){case"a":case"aa":return r.dayPeriod(n,{width:"abbreviated",context:"formatting"});case"aaa":return r.dayPeriod(n,{width:"abbreviated",context:"formatting"}).toLowerCase();case"aaaaa":return r.dayPeriod(n,{width:"narrow",context:"formatting"});default:return r.dayPeriod(n,{width:"wide",context:"formatting"})}},b:function(t,e,r){var n,a=t.getUTCHours();switch(n=12===a?s.noon:0===a?s.midnight:a/12>=1?"pm":"am",e){case"b":case"bb":return r.dayPeriod(n,{width:"abbreviated",context:"formatting"});case"bbb":return r.dayPeriod(n,{width:"abbreviated",context:"formatting"}).toLowerCase();case"bbbbb":return r.dayPeriod(n,{width:"narrow",context:"formatting"});default:return r.dayPeriod(n,{width:"wide",context:"formatting"})}},B:function(t,e,r){var n,a=t.getUTCHours();switch(n=a>=17?s.evening:a>=12?s.afternoon:a>=4?s.morning:s.night,e){case"B":case"BB":case"BBB":return r.dayPeriod(n,{width:"abbreviated",context:"formatting"});case"BBBBB":return r.dayPeriod(n,{width:"narrow",context:"formatting"});default:return r.dayPeriod(n,{width:"wide",context:"formatting"})}},h:function(t,e,r){if("ho"===e){var n=t.getUTCHours()%12;return 0===n&&(n=12),r.ordinalNumber(n,{unit:"hour"})}return c.default.h(t,e)},H:function(t,e,r){return"Ho"===e?r.ordinalNumber(t.getUTCHours(),{unit:"hour"}):c.default.H(t,e)},K:function(t,e,r){var n=t.getUTCHours()%12;return"Ko"===e?r.ordinalNumber(n,{unit:"hour"}):(0,d.default)(n,e.length)},k:function(t,e,r){var n=t.getUTCHours();return(0===n&&(n=24),"ko"===e)?r.ordinalNumber(n,{unit:"hour"}):(0,d.default)(n,e.length)},m:function(t,e,r){return"mo"===e?r.ordinalNumber(t.getUTCMinutes(),{unit:"minute"}):c.default.m(t,e)},s:function(t,e,r){return"so"===e?r.ordinalNumber(t.getUTCSeconds(),{unit:"second"}):c.default.s(t,e)},S:function(t,e){return c.default.S(t,e)},X:function(t,e,r,n){var a=(n._originalDate||t).getTimezoneOffset();if(0===a)return"Z";switch(e){case"X":return h(a);case"XXXX":case"XX":return g(a);default:return g(a,":")}},x:function(t,e,r,n){var a=(n._originalDate||t).getTimezoneOffset();switch(e){case"x":return h(a);case"xxxx":case"xx":return g(a);default:return g(a,":")}},O:function(t,e,r,n){var a=(n._originalDate||t).getTimezoneOffset();switch(e){case"O":case"OO":case"OOO":return"GMT"+l(a,":");default:return"GMT"+g(a,":")}},z:function(t,e,r,n){var a=(n._originalDate||t).getTimezoneOffset();switch(e){case"z":case"zz":case"zzz":return"GMT"+l(a,":");default:return"GMT"+g(a,":")}},t:function(t,e,r,n){var a=Math.floor((n._originalDate||t).getTime()/1e3);return(0,d.default)(a,e.length)},T:function(t,e,r,n){var a=(n._originalDate||t).getTime();return(0,d.default)(a,e.length)}},t.exports=e.default}}]); /* window.modules["663"] */ (self.modules=self.modules||[]).push([["663"],{663:function(e,t){var o,r,n;n=function(e,t){"use strict";var o={timeout:5e3,jsonpCallback:"callback"};function r(e){try{delete window[e]}catch(t){window[e]=void 0}}function n(e){var t=document.getElementById(e);t&&document.getElementsByTagName("head")[0].removeChild(t)}t.exports=function(e){var t=arguments.length{Object.defineProperty(u,"__esModule",{value:!0}),u.default=function(e){return(0,d.default)(1,arguments),(!!(0,l.default)(e)||"number"==typeof e)&&!isNaN(Number((0,f.default)(e)))};var l=r(t("3849")),f=r(t("667")),d=r(t("657"));function r(e){return e&&e.__esModule?e:{default:e}}e.exports=u.default}}]); /* window.modules["665"] */ "use strict";(self.modules=self.modules||[]).push([["665"],{665:(e,t,a)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var l=s(a("3839")),u=s(a("3840")),f=s(a("3841")),o=s(a("3842")),d=s(a("3843"));function s(e){return e&&e.__esModule?e:{default:e}}var r={code:"en-US",formatDistance:l.default,formatLong:u.default,formatRelative:f.default,localize:o.default,match:d.default,options:{weekStartsOn:0,firstWeekContainsDate:1}};t.default=r,e.exports=t.default}}]); /* window.modules["666"] */ "use strict";(self.modules=self.modules||[]).push([["666"],{666:(e,u,t)=>{Object.defineProperty(u,"__esModule",{value:!0}),u.default=function(e,u){(0,f.default)(2,arguments);var t=(0,l.default)(u);return(0,d.default)(e,-t)};var l=r(t("658")),d=r(t("3857")),f=r(t("657"));function r(e){return e&&e.__esModule?e:{default:e}}e.exports=u.default}}]); /* window.modules["667"] */ "use strict";(self.modules=self.modules||[]).push([["667"],{667:(e,t,o)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){(0,n.default)(1,arguments);var t=Object.prototype.toString.call(e);return e instanceof Date||"object"==typeof e&&"[object Date]"===t?new Date(e.getTime()):"number"==typeof e||"[object Number]"===t?new Date(e):(("string"==typeof e||"[object String]"===t)&&"undefined"!=typeof console&&(console.warn("Starting with v2.0.0-beta.1 date-fns doesn't accept strings as date arguments. Please use `parseISO` to parse strings. See: https://git.io/fjule"),console.warn(Error().stack)),new Date(NaN))};var n=function(e){return e&&e.__esModule?e:{default:e}}(o("657"));e.exports=t.default}}]); /* window.modules["676"] */ "use strict";(self.modules=self.modules||[]).push([["676"],{676:x=>{let e=(x,e)=>{let f=x[0],t=x[1],r=x[2],l=x[3];f=c(f,t,r,l,e[0],7,-0x28955b88),l=c(l,f,t,r,e[1],12,-0x173848aa),r=c(r,l,f,t,e[2],17,0x242070db),t=c(t,r,l,f,e[3],22,-0x3e423112),f=c(f,t,r,l,e[4],7,-0xa83f051),l=c(l,f,t,r,e[5],12,0x4787c62a),r=c(r,l,f,t,e[6],17,-0x57cfb9ed),t=c(t,r,l,f,e[7],22,-0x2b96aff),f=c(f,t,r,l,e[8],7,0x698098d8),l=c(l,f,t,r,e[9],12,-0x74bb0851),r=c(r,l,f,t,e[10],17,-42063),t=c(t,r,l,f,e[11],22,-0x76a32842),f=c(f,t,r,l,e[12],7,0x6b901122),l=c(l,f,t,r,e[13],12,-0x2678e6d),r=c(r,l,f,t,e[14],17,-0x5986bc72),t=c(t,r,l,f,e[15],22,0x49b40821),f=b(f,t,r,l,e[1],5,-0x9e1da9e),l=b(l,f,t,r,e[6],9,-0x3fbf4cc0),r=b(r,l,f,t,e[11],14,0x265e5a51),t=b(t,r,l,f,e[0],20,-0x16493856),f=b(f,t,r,l,e[5],5,-0x29d0efa3),l=b(l,f,t,r,e[10],9,0x2441453),r=b(r,l,f,t,e[15],14,-0x275e197f),t=b(t,r,l,f,e[4],20,-0x182c0438),f=b(f,t,r,l,e[9],5,0x21e1cde6),l=b(l,f,t,r,e[14],9,-0x3cc8f82a),r=b(r,l,f,t,e[3],14,-0xb2af279),t=b(t,r,l,f,e[8],20,0x455a14ed),f=b(f,t,r,l,e[13],5,-0x561c16fb),l=b(l,f,t,r,e[2],9,-0x3105c08),r=b(r,l,f,t,e[7],14,0x676f02d9),t=b(t,r,l,f,e[12],20,-0x72d5b376),f=d(f,t,r,l,e[5],4,-378558),l=d(l,f,t,r,e[8],11,-0x788e097f),r=d(r,l,f,t,e[11],16,0x6d9d6122),t=d(t,r,l,f,e[14],23,-0x21ac7f4),f=d(f,t,r,l,e[1],4,-0x5b4115bc),l=d(l,f,t,r,e[4],11,0x4bdecfa9),r=d(r,l,f,t,e[7],16,-0x944b4a0),t=d(t,r,l,f,e[10],23,-0x41404390),f=d(f,t,r,l,e[13],4,0x289b7ec6),l=d(l,f,t,r,e[0],11,-0x155ed806),r=d(r,l,f,t,e[3],16,-0x2b10cf7b),t=d(t,r,l,f,e[6],23,0x4881d05),f=d(f,t,r,l,e[9],4,-0x262b2fc7),l=d(l,f,t,r,e[12],11,-0x1924661b),r=d(r,l,f,t,e[15],16,0x1fa27cf8),t=d(t,r,l,f,e[2],23,-0x3b53a99b),f=a(f,t,r,l,e[0],6,-0xbd6ddbc),l=a(l,f,t,r,e[7],10,0x432aff97),r=a(r,l,f,t,e[14],15,-0x546bdc59),t=a(t,r,l,f,e[5],21,-0x36c5fc7),f=a(f,t,r,l,e[12],6,0x655b59c3),l=a(l,f,t,r,e[3],10,-0x70f3336e),r=a(r,l,f,t,e[10],15,-1051523),t=a(t,r,l,f,e[1],21,-0x7a7ba22f),f=a(f,t,r,l,e[8],6,0x6fa87e4f),l=a(l,f,t,r,e[15],10,-0x1d31920),r=a(r,l,f,t,e[6],15,-0x5cfebcec),t=a(t,r,l,f,e[13],21,0x4e0811a1),f=a(f,t,r,l,e[4],6,-0x8ac817e),l=a(l,f,t,r,e[11],10,-0x42c50dcb),r=a(r,l,f,t,e[2],15,0x2ad7d2bb),t=a(t,r,l,f,e[9],21,-0x14792c6f),x[0]=n(f,x[0]),x[1]=n(t,x[1]),x[2]=n(r,x[2]),x[3]=n(l,x[3])},f=(x,e,f,c,b,d)=>(e=n(n(e,x),n(c,d)),n(e>>32-b,f)),c=(x,e,c,b,d,a,t)=>f(e&c|~e&b,x,e,d,a,t),b=(x,e,c,b,d,a,t)=>f(e&b|c&~b,x,e,d,a,t),d=(x,e,c,b,d,a,t)=>f(e^c^b,x,e,d,a,t),a=(x,e,c,b,d,a,t)=>f(c^(e|~b),x,e,d,a,t),t=x=>{let f;let c=x.length,b=[0x67452301,-0x10325477,-0x67452302,0x10325476];for(f=64;f>2]|=x.charCodeAt(f)>2]|=12855)for(e(b,d),f=0;f{let e;let f=[];for(e=0;e>2]=x.charCodeAt(e)+(x.charCodeAt(e+1){let e="",f=0;for(;f>8*f+4&15]+l[x>>8*f&15];return e},s=x=>{for(let e=0;ex+e&0xffffffff;x.exports=x=>s(t(x))}}]); /* window.modules["678"] */ "use strict";(self.modules=self.modules||[]).push([["678"],{678:(e,t,r)=>{let{ClientTemplate:s}=r("94"),l=r("3837");e.exports={createSsoBtn:(e,t,r=!1)=>{let n=(t||s.createHandlebarsEnvironment()).template(l)(e);return r?n:s.createElementFromHTML(n)}}}}]); /* window.modules["679"] */ "use strict";(self.modules=self.modules||[]).push([["679"],{679:(e,t,n)=>{let{actions:i,dispatch:o}=n("48"),{SSO:c}=i,a=n("23"),l=n("31").setup({file:"/index.js"}),{trackMetrics:p}=n("33"),{addGenericClickAnalytics:r,zionEventHandler:u}=n("11");e.exports={initCustomAppleButton:({containerEl:e,clientId:t,onSuccess:n,onError:i,initAlreadyCalled:s,isAmazonPVCPromo:d,isEmailCaptureRegWall:m,wallCountAnalyticsValue:w,componentStellarId:g,onAmazonPVCClick:y,skipClickTracking:h})=>{let I=e.querySelector('.user-account-sso-button[data-sso-type="apple"] .user-account-sso-button__button'),_=t||a.get("SSO_APPLE_CLIENT_ID"),k=()=>{let e={clientId:_,redirectURI:window.location.origin,scope:"name email",state:"User auth request",usePopup:!0},t=window.AppleID?.auth;s||t?.init(e),I.onclick=()=>{if(h){t?.signIn();return}d?(p({type:"user-interaction",data:{interaction:"user account:continue with apple:click"}}),r({componentType:"button",traits:{component_name:"user account:continue with apple",action:"click",feature:"social login"}}),y?.("continue with apple")):m?(p({type:"user-interaction",data:{interaction:`regiwall:apple${w}:continue:click`}}),u({href:window.location.href,type:"BUTTON",customAttributes:{component_id:g,component_type:"regiwall",component_name:"regiwall",action:"button click",interaction:"continue with apple"}},"GenericLinkClick")):(p({type:"user-interaction",data:{interaction:"cnn account:sign in with apple:click"}}),r({componentType:"button",traits:{component_name:"cnn account:sign in with apple",action:"click",feature:"social login"}})),t?.signIn()},o(c.BTN_LOADED,{type:"apple"})};"complete"!==document.readyState?window.addEventListener("load",()=>{k()}):k(),s||(document.addEventListener("AppleIDSignInOnSuccess",async e=>{let{authorization:t,user:i}=e.detail||{};await n(t,i?.name)}),document.addEventListener("AppleIDSignInOnFailure",e=>{let t=e.detail?.error;l("error","Error signing in to apple",t),i(t)}))}}}}]); /* window.modules["680"] */ "use strict";(self.modules=self.modules||[]).push([["680"],{680:(e,r,t)=>{let o;let s=t("416"),{Logger:i,getSerializable:l}=t("3824"),n=window?.kiln?.mode==="edit"?Promise.all([t.e("5654"),t.e("5653"),t.e("3926"),t.e("5645"),t.e("5630"),t.e("5643"),t.e("5644"),t.e("5627"),t.e("5633"),t.e("4430"),t.e("4429"),t.e("5629"),t.e("5631"),t.e("5632"),t.e("5641"),t.e("5640"),t.e("5639"),t.e("5638"),t.e("5637"),t.e("5642"),t.e("6000"),t.e("5628"),t.e("4428"),t.e("5626"),t.e("4427"),t.e("6238"),t.e("6046"),t.e("6049"),t.e("6047"),t.e("6048"),t.e("5692"),t.e("5708"),t.e("5720"),t.e("5709"),t.e("5718"),t.e("5719"),t.e("5712"),t.e("5716"),t.e("5714"),t.e("5717"),t.e("5715"),t.e("5711"),t.e("5710"),t.e("5689"),t.e("5701"),t.e("5700"),t.e("5721"),t.e("5722"),t.e("5684"),t.e("5693"),t.e("6016"),t.e("5679"),t.e("5678"),t.e("5694"),t.e("5695"),t.e("5686"),t.e("5682"),t.e("5685"),t.e("5677"),t.e("5681"),t.e("5680"),t.e("5691"),t.e("5690"),t.e("5683"),t.e("5696"),t.e("5671"),t.e("6050"),t.e("6051"),t.e("5675"),t.e("5740"),t.e("5739"),t.e("6022"),t.e("6021"),t.e("6020"),t.e("5706"),t.e("6201"),t.e("6019"),t.e("5704"),t.e("5705"),t.e("6200"),t.e("5673"),t.e("5707"),t.e("5672"),t.e("6045"),t.e("5723"),t.e("5698"),t.e("5699"),t.e("5697"),t.e("5738"),t.e("5737"),t.e("5736"),t.e("5733"),t.e("5732"),t.e("5735"),t.e("5731"),t.e("5734"),t.e("5730"),t.e("6056"),t.e("6054"),t.e("6053"),t.e("6052"),t.e("5674"),t.e("5676"),t.e("5726"),t.e("5728"),t.e("5727"),t.e("5725"),t.e("5729"),t.e("5702"),t.e("5703")]).then(t.bind(t,"3926")).then(({datadogLogs:e})=>{o=e}):Promise.resolve();e.exports=new class extends i{constructor(){super(),this.logToDatadog=this.logToDatadog.bind(this),this.verifyTelemetryArgs=this.verifyTelemetryArgs.bind(this)}verifyTelemetryArgs(e){return Object.entries({clientToken:"string",service:"string",version:"string"}).forEach(([r,t])=>{if(!e[r]||typeof e[r]!==t)throw Error(`Clay Log: args.browserTelemetry in clayLog.init(args) requires ${r} of type ${t}`)}),e.sampleRate=100,e.forwardErrorsToLogs=!0,!0===e.enable}init(e){return super.init(e),e.browserTelemetry&&e.browserTelemetry.enable&&this.verifyTelemetryArgs(e.browserTelemetry)&&(this.telemetryEnabled=!0,this.context=e.browserTelemetry.context,this.omitFromData=e.browserTelemetry.omitFromData,n.then(()=>{o&&(o.init(e.browserTelemetry),this.log(this.logger)("info","Datadog Telemetry Enabled"))})),this.log(this.logger)}logToDatadog(e,r,t){if(!o)return;let i=t.logType||r,l=s(t,this.omitFromData);o.logger[e]?o.logger[e](i,l):o.logger.info(i,l)}log(e){return(r,t,o)=>{if(o=l(o||{}),r instanceof Error&&(t=l(r),r="error"),!r||!t){e.error(Error("level or msg arguments required"));return}return o._label=r.toUpperCase(),e[r](o,t),{withTelemetry:this.telemetryEnabled?e=>{this.logToDatadog(r,t,Object.assign({},o,e,this.context))}:()=>!1}}}}}}]); /* window.modules["681"] */ "use strict";(self.modules=self.modules||[]).push([["681"],{681:(e,t,u)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){if((0,f.default)(2,arguments),!t||"object"!=typeof t)return new Date(NaN);var u=t.years?(0,l.default)(t.years):0,n=t.months?(0,l.default)(t.months):0,o=t.weeks?(0,l.default)(t.weeks):0,r=t.days?(0,l.default)(t.days):0,i=t.hours?(0,l.default)(t.hours):0,c=t.minutes?(0,l.default)(t.minutes):0,m=t.seconds?(0,l.default)(t.seconds):0,y=(0,d.default)(e),h=n||u?(0,a.default)(y,n+12*u):y;return new Date((r||o?(0,s.default)(h,r+7*o):h).getTime()+1e3*(m+60*(c+60*i)))};var s=n(u("3624")),a=n(u("3864")),d=n(u("667")),f=n(u("657")),l=n(u("658"));function n(e){return e&&e.__esModule?e:{default:e}}e.exports=t.default}}]); /* window.modules["682"] */ "use strict";(self.modules=self.modules||[]).push([["682"],{682:(t,e,s)=>{let{buildUrl:i,buildUrlFromUri:a}=s("3845"),{getAuthorization:n,getUserName:r,createFormData:h}=s("3844"),o=s("448"),c={images:"image",videos:"video",files:"file",loops:"loop"},u={es:"cnne",cnn:"global",ar:"cnna",cnn10:"cnn10"};async function _(t){if(t.status>=400){let e=Error((await t.json()).message||t.statusText);throw e.response=t,e}return t}t.exports=class{constructor(t){let{damAccessKey:e,damApiHost:s,damServingHost:i,damApiVersion:a="v1",damDefaultPath:n,damDocument:r="images",DAM_TYPE:h,userAgent:o}=t;this.MEDIA_STATUS={ACTIVE:"active",DELETED:"deleted",INACTIVE:"inactive",LOCKED:"locked"},this._damAccessKey=e,this._damApiHost=s,this._damServingHost=i,this._damDefaultPath=n,this._damApiUrl=`${s}/api/${a}`,this._damApiVersion=a,this._damDocumentType=r,this._damServingHostDocumentPath=`/api/${a}/${r}/`,this.DAM_TYPE=h,this.DEFAULT_IMAGE_LICENSE_ID="license_befa2735-b26a-4793-a26f-53f6f3737b25",this.DEFAULT_IMAGE_LICENSE_ID_ESPANOL="license_866a20f5-0088-4ba4-b82a-1c1fd735575a",this.DEFAULT_LOOP_LICENSE_ID="license_befa2735-b26a-4793-a26f-53f6f3737b25",this._userAgent=o}get _digestIsExpired(){return function(t,e=600){return Date.now()-new Date(t).getTime()>1e3*e}(this._tokenExpiration)}getId(t=""){return(t.startsWith("http")?o(t).pathname:t).replace(`${this._damServingHostDocumentPath}`,"")}getNamespace(t=window?.kiln?.locals){return u[t?.site?.site||"cnn"]}async authenticate(){if(this.isFetchingCredentials)return this.isFetchingCredentials;let t=Date.now();return this.isFetchingCredentials=n(this._damAccessKey,t).then(e=>{this._authorization=e,this._tokenExpiration=t}).finally(()=>this.isFetchingCredentials=null)}async getHeaders(t=!0,e){(!this._authorization||this._digestIsExpired)&&await this.authenticate();let s={Authorization:this._authorization,"X-Api-Key":this._damAccessKey,"X-Date-Time":this._tokenExpiration,"X-User-Name":r(),"User-Agent":this._userAgent};return t&&(s["Content-Type"]="application/json"),e&&(s["X-Dam-Namespace"]=e),s}async request(t,e,s,{json:i=!0,namespace:a}={}){let n={method:t,headers:await this.getHeaders(i,a)};s&&(n.body=i?JSON.stringify(s):s);let r=await fetch(`${this._damApiUrl}${e}`,n);return await _(r),r.json()}async _getR(t,e){let s="";return e&&(s=`?${new URLSearchParams(e)}`),await this.request("GET",`${t}${s}`)}async _delete(t){return await this.request("DELETE",t)}async _put(t,e,s){return await this.request("PUT",t,e,{namespace:s})}async _post(t,e,s){return await this.request("POST",t,e,{namespace:s})}async _sendMultipart(t,e,s,i){return await this.request(t,e,h(s),{json:!1,namespace:i})}buildUrl(t,{ratio:e="original",ratioSize:s={},rawQuery:a,servingHost:n=this._damServingHost,damDocumentType:r=this._damDocumentType,extraCropCommands:h}={}){return i(t,{ratio:e,ratioSize:s,rawQuery:a,servingHost:n,damDocumentType:r,extraCropCommands:h})}buildUrlFromUri(t,e){return a(t,{...e,servingHost:this._damServingHost})}upload(t,e,s){let i={path:this._damDefaultPath,name:t.name,...e};return this._sendMultipart("POST",`/${this._damDocumentType}`,{file:t,meta:JSON.stringify(i)},s)}putImage(t,e,s){return this._sendMultipart("PUT",`/${this._damDocumentType}/${t}`,{file:e,meta:JSON.stringify(s)})}search(t,e){return t.match=t.match||{},t.match.type||(t.match.type=c[this._damDocumentType]),this._post("/search",t,e)}getMetadata(t,e){return this._getR(`/${this._damDocumentType}/meta/${t}`,e)}getMetadataWithAssociations(t){return this.getMetadata(t,{includeAssociations:!0})}putMetadata(t,e){return this._put(`/${this._damDocumentType}/meta/${t}`,e)}patchMetadata(t,e){return this.request("PATCH",`/${this._damDocumentType}/meta/${t}`,e)}purgeCDNCache(t){return this._post(`/${this._damDocumentType}/purge/${t}`,{})}getLicenseDefaults(t,e,s){return this._post(`/licenses/${this._damDocumentType}/${t}/defaults`,{license:e,uri:s})}getReferences(t){return this._getR(`/${this._damDocumentType}/${t}/references`)}postReference(t,e,s){return this._post(`/${this._damDocumentType}/${t}/references`,{sourceId:e,systemId:s})}deleteReference(t,e){return this._delete(`/${this._damDocumentType}/${t}/references/${e}`)}putCrop(t,e){return this._put(`/${this._damDocumentType}/${t}/crops`,e)}getLicense(t,e){return this._getR(`/licenses/${t}/${e}`)}getLicenses(t){return this._getR(`/licenses/${t}`)}validateByIds(t,e={}){return this._post("/validation-check",{ids:t,...e})}searchReferences(t){return this._post("/search/references",t)}searchAssociations(t){return this._post("/search/associations",t)}getAssociations(t){return this._getR(`/${this._damDocumentType}/${t}/associations`)}postAssociation(t,e,s){return this._post(`/${this._damDocumentType}/${t}/associations`,{to_media_id:e,name:s})}async getAssociationByName(t,e){return(await this.searchAssociations({match:{from_media_id:t,name:e}})).rows[0]}async deleteAssociation(t,e){let s=await this.getAssociationByName(t,e);return s&&this._delete(`/${this._damDocumentType}/${t}/associations/${s.id}`)}getOverrides(t){return this._getR(`/${this._damDocumentType}/${t}/overrides`)}postOverride(t,e,s){return this._post(`/${this._damDocumentType}/${t}/overrides`,{to_media_id:e,media_discriminator:s})}deleteOverride(t,e){return this._delete(`/${this._damDocumentType}/${t}/overrides/${e}`)}async getFlag(t){if(!this.flags){let{feature_flags:t}=await this._getR("/health-check");this.flags=t}return!!this.flags[t]}get(t){return this._getR(`/${this._damDocumentType}/${t}`)}put(t,e){return this._put(`/${this._damDocumentType}/${t}`,e)}post(t,e,s){return this._post(`/${this._damDocumentType}`,e,s)}delete(t){return this._delete(`/${this._damDocumentType}/${t}`)}getDefaultImageLicenseId(){return"cnne"===this.getNamespace()?this.DEFAULT_IMAGE_LICENSE_ID_ESPANOL:this.DEFAULT_IMAGE_LICENSE_ID}},t.exports.buildUrl=i,t.exports.DAM_TYPE="stellar"}}]); /* window.modules["683"] */ (self.modules=self.modules||[]).push([["683"],{683:function(r,e,u){var a,t,o,s,c,l,i,n,p,D,d,g,m,f,b,h,q,w,v,y,A,E,C,x,k,L,B,S;(r=u.nmd(r))&&r.exports,(t="object"==typeof u.g&&u.g).global===t||t.window,o=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,s=/[\x01-\x7F]/g,c=/[\x01-\t\x0B\f\x0E-\x1F\x7F\x81\x8D\x8F\x90\x9D\xA0-\uFFFF]/g,l=/\u20D2|\u205F\u200A|\u219D\u0338|\u2202\u0338|\u2220\u20D2|\u2229\uFE00|\u222A\uFE00|\u223C\u20D2|\u223D\u0331|\u223E\u0333|\u2242\u0338|\u224B\u0338|\u224D\u20D2|\u224E\u0338|\u224F\u0338|\u2250\u0338|\u2261\u20E5|\u2264\u20D2|\u2265\u20D2|\u2266\u0338|\u2267\u0338|\u2268\uFE00|\u2269\uFE00|\u226A\u0338|\u226A\u20D2|\u226B\u0338|\u226B\u20D2|\u227F\u0338|\u2282\u20D2|\u2283\u20D2|\u228A\uFE00|\u228B\uFE00|\u228F\u0338|\u2290\u0338|\u2293\uFE00|\u2294\uFE00|\u22B4\u20D2|\u22B5\u20D2|\u22D8\u0338|\u22D9\u0338|\u22DA\uFE00|\u22DB\uFE00|\u22F5\u0338|\u22F9\u0338|\u2933\u0338|\u29CF\u0338|\u29D0\u0338|\u2A6D\u0338|\u2A70\u0338|\u2A7D\u0338|\u2A7E\u0338|\u2AA1\u0338|\u2AA2\u0338|\u2AAC\uFE00|\u2AAD\uFE00|\u2AAF\u0338|\u2AB0\u0338|\u2AC5\u0338|\u2AC6\u0338|\u2ACB\uFE00|\u2ACC\uFE00|\u2AFD\u20E5|[\xA0-\u0113\u0116-\u0122\u0124-\u012B\u012E-\u014D\u0150-\u017E\u0192\u01B5\u01F5\u0237\u02C6\u02C7\u02D8-\u02DD\u0311\u0391-\u03A1\u03A3-\u03A9\u03B1-\u03C9\u03D1\u03D2\u03D5\u03D6\u03DC\u03DD\u03F0\u03F1\u03F5\u03F6\u0401-\u040C\u040E-\u044F\u0451-\u045C\u045E\u045F\u2002-\u2005\u2007-\u2010\u2013-\u2016\u2018-\u201A\u201C-\u201E\u2020-\u2022\u2025\u2026\u2030-\u2035\u2039\u203A\u203E\u2041\u2043\u2044\u204F\u2057\u205F-\u2063\u20AC\u20DB\u20DC\u2102\u2105\u210A-\u2113\u2115-\u211E\u2122\u2124\u2127-\u2129\u212C\u212D\u212F-\u2131\u2133-\u2138\u2145-\u2148\u2153-\u215E\u2190-\u219B\u219D-\u21A7\u21A9-\u21AE\u21B0-\u21B3\u21B5-\u21B7\u21BA-\u21DB\u21DD\u21E4\u21E5\u21F5\u21FD-\u2205\u2207-\u2209\u220B\u220C\u220F-\u2214\u2216-\u2218\u221A\u221D-\u2238\u223A-\u2257\u2259\u225A\u225C\u225F-\u2262\u2264-\u228B\u228D-\u229B\u229D-\u22A5\u22A7-\u22B0\u22B2-\u22BB\u22BD-\u22DB\u22DE-\u22E3\u22E6-\u22F7\u22F9-\u22FE\u2305\u2306\u2308-\u2310\u2312\u2313\u2315\u2316\u231C-\u231F\u2322\u2323\u232D\u232E\u2336\u233D\u233F\u237C\u23B0\u23B1\u23B4-\u23B6\u23DC-\u23DF\u23E2\u23E7\u2423\u24C8\u2500\u2502\u250C\u2510\u2514\u2518\u251C\u2524\u252C\u2534\u253C\u2550-\u256C\u2580\u2584\u2588\u2591-\u2593\u25A1\u25AA\u25AB\u25AD\u25AE\u25B1\u25B3-\u25B5\u25B8\u25B9\u25BD-\u25BF\u25C2\u25C3\u25CA\u25CB\u25EC\u25EF\u25F8-\u25FC\u2605\u2606\u260E\u2640\u2642\u2660\u2663\u2665\u2666\u266A\u266D-\u266F\u2713\u2717\u2720\u2736\u2758\u2772\u2773\u27C8\u27C9\u27E6-\u27ED\u27F5-\u27FA\u27FC\u27FF\u2902-\u2905\u290C-\u2913\u2916\u2919-\u2920\u2923-\u292A\u2933\u2935-\u2939\u293C\u293D\u2945\u2948-\u294B\u294E-\u2976\u2978\u2979\u297B-\u297F\u2985\u2986\u298B-\u2996\u299A\u299C\u299D\u29A4-\u29B7\u29B9\u29BB\u29BC\u29BE-\u29C5\u29C9\u29CD-\u29D0\u29DC-\u29DE\u29E3-\u29E5\u29EB\u29F4\u29F6\u2A00-\u2A02\u2A04\u2A06\u2A0C\u2A0D\u2A10-\u2A17\u2A22-\u2A27\u2A29\u2A2A\u2A2D-\u2A31\u2A33-\u2A3C\u2A3F\u2A40\u2A42-\u2A4D\u2A50\u2A53-\u2A58\u2A5A-\u2A5D\u2A5F\u2A66\u2A6A\u2A6D-\u2A75\u2A77-\u2A9A\u2A9D-\u2AA2\u2AA4-\u2AB0\u2AB3-\u2AC8\u2ACB\u2ACC\u2ACF-\u2ADB\u2AE4\u2AE6-\u2AE9\u2AEB-\u2AF3\u2AFD\uFB00-\uFB04]|\uD835[\uDC9C\uDC9E\uDC9F\uDCA2\uDCA5\uDCA6\uDCA9-\uDCAC\uDCAE-\uDCB9\uDCBB\uDCBD-\uDCC3\uDCC5-\uDCCF\uDD04\uDD05\uDD07-\uDD0A\uDD0D-\uDD14\uDD16-\uDD1C\uDD1E-\uDD39\uDD3B-\uDD3E\uDD40-\uDD44\uDD46\uDD4A-\uDD50\uDD52-\uDD6B]/g,i={"\xad":"shy","":"zwnj","":"zwj","":"lrm","":"ic","":"it","":"af","":"rlm","":"ZeroWidthSpace","":"NoBreak","̑":"DownBreve","⃛":"tdot","⃜":"DotDot"," ":"Tab","\n":"NewLine"," ":"puncsp"," ":"MediumSpace"," ":"thinsp"," ":"hairsp"," ":"emsp13"," ":"ensp"," ":"emsp14"," ":"emsp"," ":"numsp","\xa0":"nbsp"," ":"ThickSpace","‾":"oline",_:"lowbar","‐":"dash","–":"ndash","—":"mdash","―":"horbar",",":"comma",";":"semi","⁏":"bsemi",":":"colon","⩴":"Colone","!":"excl","\xa1":"iexcl","?":"quest","\xbf":"iquest",".":"period","‥":"nldr","…":"mldr","\xb7":"middot","'":"apos","‘":"lsquo","’":"rsquo","‚":"sbquo","‹":"lsaquo","›":"rsaquo",'"':"quot","“":"ldquo","”":"rdquo","„":"bdquo","\xab":"laquo","\xbb":"raquo","(":"lpar",")":"rpar","[":"lsqb","]":"rsqb","{":"lcub","}":"rcub","⌈":"lceil","⌉":"rceil","⌊":"lfloor","⌋":"rfloor","⦅":"lopar","⦆":"ropar","⦋":"lbrke","⦌":"rbrke","⦍":"lbrkslu","⦎":"rbrksld","⦏":"lbrksld","⦐":"rbrkslu","⦑":"langd","⦒":"rangd","⦓":"lparlt","⦔":"rpargt","⦕":"gtlPar","⦖":"ltrPar","⟦":"lobrk","⟧":"robrk","⟨":"lang","⟩":"rang","⟪":"Lang","⟫":"Rang","⟬":"loang","⟭":"roang","❲":"lbbrk","❳":"rbbrk","‖":"Vert","\xa7":"sect","\xb6":"para","@":"commat","*":"ast","/":"sol",undefined:null,"&":"amp","#":"num","%":"percnt","‰":"permil","‱":"pertenk","†":"dagger","‡":"Dagger","•":"bull","⁃":"hybull","′":"prime","″":"Prime","‴":"tprime","⁗":"qprime","‵":"bprime","⁁":"caret","`":"grave","\xb4":"acute","˜":"tilde","^":"Hat","\xaf":"macr","˘":"breve","˙":"dot","\xa8":"die","˚":"ring","˝":"dblac","\xb8":"cedil","˛":"ogon",ˆ:"circ",ˇ:"caron","\xb0":"deg","\xa9":"copy","\xae":"reg","℗":"copysr",℘:"wp","℞":"rx","℧":"mho","℩":"iiota","←":"larr","↚":"nlarr","→":"rarr","↛":"nrarr","↑":"uarr","↓":"darr","↔":"harr","↮":"nharr","↕":"varr","↖":"nwarr","↗":"nearr","↘":"searr","↙":"swarr","↝":"rarrw","↝̸":"nrarrw","↞":"Larr","↟":"Uarr","↠":"Rarr","↡":"Darr","↢":"larrtl","↣":"rarrtl","↤":"mapstoleft","↥":"mapstoup","↦":"map","↧":"mapstodown","↩":"larrhk","↪":"rarrhk","↫":"larrlp","↬":"rarrlp","↭":"harrw","↰":"lsh","↱":"rsh","↲":"ldsh","↳":"rdsh","↵":"crarr","↶":"cularr","↷":"curarr","↺":"olarr","↻":"orarr","↼":"lharu","↽":"lhard","↾":"uharr","↿":"uharl","⇀":"rharu","⇁":"rhard","⇂":"dharr","⇃":"dharl","⇄":"rlarr","⇅":"udarr","⇆":"lrarr","⇇":"llarr","⇈":"uuarr","⇉":"rrarr","⇊":"ddarr","⇋":"lrhar","⇌":"rlhar","⇐":"lArr","⇍":"nlArr","⇑":"uArr","⇒":"rArr","⇏":"nrArr","⇓":"dArr","⇔":"iff","⇎":"nhArr","⇕":"vArr","⇖":"nwArr","⇗":"neArr","⇘":"seArr","⇙":"swArr","⇚":"lAarr","⇛":"rAarr","⇝":"zigrarr","⇤":"larrb","⇥":"rarrb","⇵":"duarr","⇽":"loarr","⇾":"roarr","⇿":"hoarr","∀":"forall","∁":"comp","∂":"part","∂̸":"npart","∃":"exist","∄":"nexist","∅":"empty","∇":"Del","∈":"in","∉":"notin","∋":"ni","∌":"notni","϶":"bepsi","∏":"prod","∐":"coprod","∑":"sum","+":"plus","\xb1":"pm","\xf7":"div","\xd7":"times","":"gt","≯":"ngt",">⃒":"nvgt","\xac":"not","|":"vert","\xa6":"brvbar","−":"minus","∓":"mp","∔":"plusdo","⁄":"frasl","∖":"setmn","∗":"lowast","∘":"compfn","√":"Sqrt","∝":"prop","∞":"infin","∟":"angrt","∠":"ang","∠⃒":"nang","∡":"angmsd","∢":"angsph","∣":"mid","∤":"nmid","∥":"par","∦":"npar","∧":"and","∨":"or","∩":"cap","∩︀":"caps","∪":"cup","∪︀":"cups","∫":"int","∬":"Int","∭":"tint","⨌":"qint","∮":"oint","∯":"Conint","∰":"Cconint","∱":"cwint","∲":"cwconint","∳":"awconint","∴":"there4","∵":"becaus","∶":"ratio","∷":"Colon","∸":"minusd","∺":"mDDot","∻":"homtht","∼":"sim","≁":"nsim","∼⃒":"nvsim","∽":"bsim","∽̱":"race","∾":"ac","∾̳":"acE","∿":"acd","≀":"wr","≂":"esim","≂̸":"nesim","≃":"sime","≄":"nsime","≅":"cong","≇":"ncong","≆":"simne","≈":"ap","≉":"nap","≊":"ape","≋":"apid","≋̸":"napid","≌":"bcong","≍":"CupCap","≭":"NotCupCap","≍⃒":"nvap","≎":"bump","≎̸":"nbump","≏":"bumpe","≏̸":"nbumpe","≐":"doteq","≐̸":"nedot","≑":"eDot","≒":"efDot","≓":"erDot","≔":"colone","≕":"ecolon","≖":"ecir","≗":"cire","≙":"wedgeq","≚":"veeeq","≜":"trie","≟":"equest","≡":"equiv","≢":"nequiv","≡⃥":"bnequiv","≤":"le","≰":"nle","≤⃒":"nvle","≥":"ge","≱":"nge","≥⃒":"nvge","≦":"lE","≦̸":"nlE","≧":"gE","≧̸":"ngE","≨︀":"lvnE","≨":"lnE","≩":"gnE","≩︀":"gvnE","≪":"ll","≪̸":"nLtv","≪⃒":"nLt","≫":"gg","≫̸":"nGtv","≫⃒":"nGt","≬":"twixt","≲":"lsim","≴":"nlsim","≳":"gsim","≵":"ngsim","≶":"lg","≸":"ntlg","≷":"gl","≹":"ntgl","≺":"pr","⊀":"npr","≻":"sc","⊁":"nsc","≼":"prcue","⋠":"nprcue","≽":"sccue","⋡":"nsccue","≾":"prsim","≿":"scsim","≿̸":"NotSucceedsTilde","⊂":"sub","⊄":"nsub","⊂⃒":"vnsub","⊃":"sup","⊅":"nsup","⊃⃒":"vnsup","⊆":"sube","⊈":"nsube","⊇":"supe","⊉":"nsupe","⊊︀":"vsubne","⊊":"subne","⊋︀":"vsupne","⊋":"supne","⊍":"cupdot","⊎":"uplus","⊏":"sqsub","⊏̸":"NotSquareSubset","⊐":"sqsup","⊐̸":"NotSquareSuperset","⊑":"sqsube","⋢":"nsqsube","⊒":"sqsupe","⋣":"nsqsupe","⊓":"sqcap","⊓︀":"sqcaps","⊔":"sqcup","⊔︀":"sqcups","⊕":"oplus","⊖":"ominus","⊗":"otimes","⊘":"osol","⊙":"odot","⊚":"ocir","⊛":"oast","⊝":"odash","⊞":"plusb","⊟":"minusb","⊠":"timesb","⊡":"sdotb","⊢":"vdash","⊬":"nvdash","⊣":"dashv","⊤":"top","⊥":"bot","⊧":"models","⊨":"vDash","⊭":"nvDash","⊩":"Vdash","⊮":"nVdash","⊪":"Vvdash","⊫":"VDash","⊯":"nVDash","⊰":"prurel","⊲":"vltri","⋪":"nltri","⊳":"vrtri","⋫":"nrtri","⊴":"ltrie","⋬":"nltrie","⊴⃒":"nvltrie","⊵":"rtrie","⋭":"nrtrie","⊵⃒":"nvrtrie","⊶":"origof","⊷":"imof","⊸":"mumap","⊹":"hercon","⊺":"intcal","⊻":"veebar","⊽":"barvee","⊾":"angrtvb","⊿":"lrtri","⋀":"Wedge","⋁":"Vee","⋂":"xcap","⋃":"xcup","⋄":"diam","⋅":"sdot","⋆":"Star","⋇":"divonx","⋈":"bowtie","⋉":"ltimes","⋊":"rtimes","⋋":"lthree","⋌":"rthree","⋍":"bsime","⋎":"cuvee","⋏":"cuwed","⋐":"Sub","⋑":"Sup","⋒":"Cap","⋓":"Cup","⋔":"fork","⋕":"epar","⋖":"ltdot","⋗":"gtdot","⋘":"Ll","⋘̸":"nLl","⋙":"Gg","⋙̸":"nGg","⋚︀":"lesg","⋚":"leg","⋛":"gel","⋛︀":"gesl","⋞":"cuepr","⋟":"cuesc","⋦":"lnsim","⋧":"gnsim","⋨":"prnsim","⋩":"scnsim","⋮":"vellip","⋯":"ctdot","⋰":"utdot","⋱":"dtdot","⋲":"disin","⋳":"isinsv","⋴":"isins","⋵":"isindot","⋵̸":"notindot","⋶":"notinvc","⋷":"notinvb","⋹":"isinE","⋹̸":"notinE","⋺":"nisd","⋻":"xnis","⋼":"nis","⋽":"notnivc","⋾":"notnivb","⌅":"barwed","⌆":"Barwed","⌌":"drcrop","⌍":"dlcrop","⌎":"urcrop","⌏":"ulcrop","⌐":"bnot","⌒":"profline","⌓":"profsurf","⌕":"telrec","⌖":"target","⌜":"ulcorn","⌝":"urcorn","⌞":"dlcorn","⌟":"drcorn","⌢":"frown","⌣":"smile","⌭":"cylcty","⌮":"profalar","⌶":"topbot","⌽":"ovbar","⌿":"solbar","⍼":"angzarr","⎰":"lmoust","⎱":"rmoust","⎴":"tbrk","⎵":"bbrk","⎶":"bbrktbrk","⏜":"OverParenthesis","⏝":"UnderParenthesis","⏞":"OverBrace","⏟":"UnderBrace","⏢":"trpezium","⏧":"elinters","␣":"blank","─":"boxh","│":"boxv","┌":"boxdr","┐":"boxdl","└":"boxur","┘":"boxul","├":"boxvr","┤":"boxvl","┬":"boxhd","┴":"boxhu","┼":"boxvh","═":"boxH","║":"boxV","╒":"boxdR","╓":"boxDr","╔":"boxDR","╕":"boxdL","╖":"boxDl","╗":"boxDL","╘":"boxuR","╙":"boxUr","╚":"boxUR","╛":"boxuL","╜":"boxUl","╝":"boxUL","╞":"boxvR","╟":"boxVr","╠":"boxVR","╡":"boxvL","╢":"boxVl","╣":"boxVL","╤":"boxHd","╥":"boxhD","╦":"boxHD","╧":"boxHu","╨":"boxhU","╩":"boxHU","╪":"boxvH","╫":"boxVh","╬":"boxVH","▀":"uhblk","▄":"lhblk","█":"block","░":"blk14","▒":"blk12","▓":"blk34","□":"squ","▪":"squf","▫":"EmptyVerySmallSquare","▭":"rect","▮":"marker","▱":"fltns","△":"xutri","▴":"utrif","▵":"utri","▸":"rtrif","▹":"rtri","▽":"xdtri","▾":"dtrif","▿":"dtri","◂":"ltrif","◃":"ltri","◊":"loz","○":"cir","◬":"tridot","◯":"xcirc","◸":"ultri","◹":"urtri","◺":"lltri","◻":"EmptySmallSquare","◼":"FilledSmallSquare","★":"starf","☆":"star","☎":"phone","♀":"female","♂":"male","♠":"spades","♣":"clubs","♥":"hearts","♦":"diams","♪":"sung","✓":"check","✗":"cross","✠":"malt","✶":"sext","❘":"VerticalSeparator","⟈":"bsolhsub","⟉":"suphsol","⟵":"xlarr","⟶":"xrarr","⟷":"xharr","⟸":"xlArr","⟹":"xrArr","⟺":"xhArr","⟼":"xmap","⟿":"dzigrarr","⤂":"nvlArr","⤃":"nvrArr","⤄":"nvHarr","⤅":"Map","⤌":"lbarr","⤍":"rbarr","⤎":"lBarr","⤏":"rBarr","⤐":"RBarr","⤑":"DDotrahd","⤒":"UpArrowBar","⤓":"DownArrowBar","⤖":"Rarrtl","⤙":"latail","⤚":"ratail","⤛":"lAtail","⤜":"rAtail","⤝":"larrfs","⤞":"rarrfs","⤟":"larrbfs","⤠":"rarrbfs","⤣":"nwarhk","⤤":"nearhk","⤥":"searhk","⤦":"swarhk","⤧":"nwnear","⤨":"toea","⤩":"tosa","⤪":"swnwar","⤳":"rarrc","⤳̸":"nrarrc","⤵":"cudarrr","⤶":"ldca","⤷":"rdca","⤸":"cudarrl","⤹":"larrpl","⤼":"curarrm","⤽":"cularrp","⥅":"rarrpl","⥈":"harrcir","⥉":"Uarrocir","⥊":"lurdshar","⥋":"ldrushar","⥎":"LeftRightVector","⥏":"RightUpDownVector","⥐":"DownLeftRightVector","⥑":"LeftUpDownVector","⥒":"LeftVectorBar","⥓":"RightVectorBar","⥔":"RightUpVectorBar","⥕":"RightDownVectorBar","⥖":"DownLeftVectorBar","⥗":"DownRightVectorBar","⥘":"LeftUpVectorBar","⥙":"LeftDownVectorBar","⥚":"LeftTeeVector","⥛":"RightTeeVector","⥜":"RightUpTeeVector","⥝":"RightDownTeeVector","⥞":"DownLeftTeeVector","⥟":"DownRightTeeVector","⥠":"LeftUpTeeVector","⥡":"LeftDownTeeVector","⥢":"lHar","⥣":"uHar","⥤":"rHar","⥥":"dHar","⥦":"luruhar","⥧":"ldrdhar","⥨":"ruluhar","⥩":"rdldhar","⥪":"lharul","⥫":"llhard","⥬":"rharul","⥭":"lrhard","⥮":"udhar","⥯":"duhar","⥰":"RoundImplies","⥱":"erarr","⥲":"simrarr","⥳":"larrsim","⥴":"rarrsim","⥵":"rarrap","⥶":"ltlarr","⥸":"gtrarr","⥹":"subrarr","⥻":"suplarr","⥼":"lfisht","⥽":"rfisht","⥾":"ufisht","⥿":"dfisht","⦚":"vzigzag","⦜":"vangrt","⦝":"angrtvbd","⦤":"ange","⦥":"range","⦦":"dwangle","⦧":"uwangle","⦨":"angmsdaa","⦩":"angmsdab","⦪":"angmsdac","⦫":"angmsdad","⦬":"angmsdae","⦭":"angmsdaf","⦮":"angmsdag","⦯":"angmsdah","⦰":"bemptyv","⦱":"demptyv","⦲":"cemptyv","⦳":"raemptyv","⦴":"laemptyv","⦵":"ohbar","⦶":"omid","⦷":"opar","⦹":"operp","⦻":"olcross","⦼":"odsold","⦾":"olcir","⦿":"ofcir","⧀":"olt","⧁":"ogt","⧂":"cirscir","⧃":"cirE","⧄":"solb","⧅":"bsolb","⧉":"boxbox","⧍":"trisb","⧎":"rtriltri","⧏":"LeftTriangleBar","⧏̸":"NotLeftTriangleBar","⧐":"RightTriangleBar","⧐̸":"NotRightTriangleBar","⧜":"iinfin","⧝":"infintie","⧞":"nvinfin","⧣":"eparsl","⧤":"smeparsl","⧥":"eqvparsl","⧫":"lozf","⧴":"RuleDelayed","⧶":"dsol","⨀":"xodot","⨁":"xoplus","⨂":"xotime","⨄":"xuplus","⨆":"xsqcup","⨍":"fpartint","⨐":"cirfnint","⨑":"awint","⨒":"rppolint","⨓":"scpolint","⨔":"npolint","⨕":"pointint","⨖":"quatint","⨗":"intlarhk","⨢":"pluscir","⨣":"plusacir","⨤":"simplus","⨥":"plusdu","⨦":"plussim","⨧":"plustwo","⨩":"mcomma","⨪":"minusdu","⨭":"loplus","⨮":"roplus","⨯":"Cross","⨰":"timesd","⨱":"timesbar","⨳":"smashp","⨴":"lotimes","⨵":"rotimes","⨶":"otimesas","⨷":"Otimes","⨸":"odiv","⨹":"triplus","⨺":"triminus","⨻":"tritime","⨼":"iprod","⨿":"amalg","⩀":"capdot","⩂":"ncup","⩃":"ncap","⩄":"capand","⩅":"cupor","⩆":"cupcap","⩇":"capcup","⩈":"cupbrcap","⩉":"capbrcup","⩊":"cupcup","⩋":"capcap","⩌":"ccups","⩍":"ccaps","⩐":"ccupssm","⩓":"And","⩔":"Or","⩕":"andand","⩖":"oror","⩗":"orslope","⩘":"andslope","⩚":"andv","⩛":"orv","⩜":"andd","⩝":"ord","⩟":"wedbar","⩦":"sdote","⩪":"simdot","⩭":"congdot","⩭̸":"ncongdot","⩮":"easter","⩯":"apacir","⩰":"apE","⩰̸":"napE","⩱":"eplus","⩲":"pluse","⩳":"Esim","⩷":"eDDot","⩸":"equivDD","⩹":"ltcir","⩺":"gtcir","⩻":"ltquest","⩼":"gtquest","⩽":"les","⩽̸":"nles","⩾":"ges","⩾̸":"nges","⩿":"lesdot","⪀":"gesdot","⪁":"lesdoto","⪂":"gesdoto","⪃":"lesdotor","⪄":"gesdotol","⪅":"lap","⪆":"gap","⪇":"lne","⪈":"gne","⪉":"lnap","⪊":"gnap","⪋":"lEg","⪌":"gEl","⪍":"lsime","⪎":"gsime","⪏":"lsimg","⪐":"gsiml","⪑":"lgE","⪒":"glE","⪓":"lesges","⪔":"gesles","⪕":"els","⪖":"egs","⪗":"elsdot","⪘":"egsdot","⪙":"el","⪚":"eg","⪝":"siml","⪞":"simg","⪟":"simlE","⪠":"simgE","⪡":"LessLess","⪡̸":"NotNestedLessLess","⪢":"GreaterGreater","⪢̸":"NotNestedGreaterGreater","⪤":"glj","⪥":"gla","⪦":"ltcc","⪧":"gtcc","⪨":"lescc","⪩":"gescc","⪪":"smt","⪫":"lat","⪬":"smte","⪬︀":"smtes","⪭":"late","⪭︀":"lates","⪮":"bumpE","⪯":"pre","⪯̸":"npre","⪰":"sce","⪰̸":"nsce","⪳":"prE","⪴":"scE","⪵":"prnE","⪶":"scnE","⪷":"prap","⪸":"scap","⪹":"prnap","⪺":"scnap","⪻":"Pr","⪼":"Sc","⪽":"subdot","⪾":"supdot","⪿":"subplus","⫀":"supplus","⫁":"submult","⫂":"supmult","⫃":"subedot","⫄":"supedot","⫅":"subE","⫅̸":"nsubE","⫆":"supE","⫆̸":"nsupE","⫇":"subsim","⫈":"supsim","⫋︀":"vsubnE","⫋":"subnE","⫌︀":"vsupnE","⫌":"supnE","⫏":"csub","⫐":"csup","⫑":"csube","⫒":"csupe","⫓":"subsup","⫔":"supsub","⫕":"subsub","⫖":"supsup","⫗":"suphsub","⫘":"supdsub","⫙":"forkv","⫚":"topfork","⫛":"mlcp","⫤":"Dashv","⫦":"Vdashl","⫧":"Barv","⫨":"vBar","⫩":"vBarv","⫫":"Vbar","⫬":"Not","⫭":"bNot","⫮":"rnmid","⫯":"cirmid","⫰":"midcir","⫱":"topcir","⫲":"nhpar","⫳":"parsim","⫽":"parsl","⫽⃥":"nparsl","♭":"flat","♮":"natur","♯":"sharp","\xa4":"curren","\xa2":"cent",$:"dollar","\xa3":"pound","\xa5":"yen","€":"euro","\xb9":"sup1","\xbd":"half","⅓":"frac13","\xbc":"frac14","⅕":"frac15","⅙":"frac16","⅛":"frac18","\xb2":"sup2","⅔":"frac23","⅖":"frac25","\xb3":"sup3","\xbe":"frac34","⅗":"frac35","⅜":"frac38","⅘":"frac45","⅚":"frac56","⅝":"frac58","⅞":"frac78","\uD835\uDCB6":"ascr","\uD835\uDD52":"aopf","\uD835\uDD1E":"afr","\uD835\uDD38":"Aopf","\uD835\uDD04":"Afr","\uD835\uDC9C":"Ascr",ª:"ordf",á:"aacute",Á:"Aacute",à:"agrave",À:"Agrave",ă:"abreve",Ă:"Abreve",â:"acirc",Â:"Acirc",å:"aring",Å:"angst",ä:"auml",Ä:"Auml",ã:"atilde",Ã:"Atilde",ą:"aogon",Ą:"Aogon",ā:"amacr",Ā:"Amacr",æ:"aelig",Æ:"AElig","\uD835\uDCB7":"bscr","\uD835\uDD53":"bopf","\uD835\uDD1F":"bfr","\uD835\uDD39":"Bopf",ℬ:"Bscr","\uD835\uDD05":"Bfr","\uD835\uDD20":"cfr","\uD835\uDCB8":"cscr","\uD835\uDD54":"copf",ℭ:"Cfr","\uD835\uDC9E":"Cscr",ℂ:"Copf",ć:"cacute",Ć:"Cacute",ĉ:"ccirc",Ĉ:"Ccirc",č:"ccaron",Č:"Ccaron",ċ:"cdot",Ċ:"Cdot",ç:"ccedil",Ç:"Ccedil","℅":"incare","\uD835\uDD21":"dfr",ⅆ:"dd","\uD835\uDD55":"dopf","\uD835\uDCB9":"dscr","\uD835\uDC9F":"Dscr","\uD835\uDD07":"Dfr",ⅅ:"DD","\uD835\uDD3B":"Dopf",ď:"dcaron",Ď:"Dcaron",đ:"dstrok",Đ:"Dstrok",ð:"eth",Ð:"ETH",ⅇ:"ee",ℯ:"escr","\uD835\uDD22":"efr","\uD835\uDD56":"eopf",ℰ:"Escr","\uD835\uDD08":"Efr","\uD835\uDD3C":"Eopf",é:"eacute",É:"Eacute",è:"egrave",È:"Egrave",ê:"ecirc",Ê:"Ecirc",ě:"ecaron",Ě:"Ecaron",ë:"euml",Ë:"Euml",ė:"edot",Ė:"Edot",ę:"eogon",Ę:"Eogon",ē:"emacr",Ē:"Emacr","\uD835\uDD23":"ffr","\uD835\uDD57":"fopf","\uD835\uDCBB":"fscr","\uD835\uDD09":"Ffr","\uD835\uDD3D":"Fopf",ℱ:"Fscr",ff:"fflig",ffi:"ffilig",ffl:"ffllig",fi:"filig",fj:"fjlig",fl:"fllig",ƒ:"fnof",ℊ:"gscr","\uD835\uDD58":"gopf","\uD835\uDD24":"gfr","\uD835\uDCA2":"Gscr","\uD835\uDD3E":"Gopf","\uD835\uDD0A":"Gfr",ǵ:"gacute",ğ:"gbreve",Ğ:"Gbreve",ĝ:"gcirc",Ĝ:"Gcirc",ġ:"gdot",Ġ:"Gdot",Ģ:"Gcedil","\uD835\uDD25":"hfr",ℎ:"planckh","\uD835\uDCBD":"hscr","\uD835\uDD59":"hopf",ℋ:"Hscr",ℌ:"Hfr",ℍ:"Hopf",ĥ:"hcirc",Ĥ:"Hcirc",ℏ:"hbar",ħ:"hstrok",Ħ:"Hstrok","\uD835\uDD5A":"iopf","\uD835\uDD26":"ifr","\uD835\uDCBE":"iscr",ⅈ:"ii","\uD835\uDD40":"Iopf",ℐ:"Iscr",ℑ:"Im",í:"iacute",Í:"Iacute",ì:"igrave",Ì:"Igrave",î:"icirc",Î:"Icirc",ï:"iuml",Ï:"Iuml",ĩ:"itilde",Ĩ:"Itilde",İ:"Idot",į:"iogon",Į:"Iogon",ī:"imacr",Ī:"Imacr",ij:"ijlig",IJ:"IJlig",ı:"imath","\uD835\uDCBF":"jscr","\uD835\uDD5B":"jopf","\uD835\uDD27":"jfr","\uD835\uDCA5":"Jscr","\uD835\uDD0D":"Jfr","\uD835\uDD41":"Jopf",ĵ:"jcirc",Ĵ:"Jcirc",ȷ:"jmath","\uD835\uDD5C":"kopf","\uD835\uDCC0":"kscr","\uD835\uDD28":"kfr","\uD835\uDCA6":"Kscr","\uD835\uDD42":"Kopf","\uD835\uDD0E":"Kfr",ķ:"kcedil",Ķ:"Kcedil","\uD835\uDD29":"lfr","\uD835\uDCC1":"lscr",ℓ:"ell","\uD835\uDD5D":"lopf",ℒ:"Lscr","\uD835\uDD0F":"Lfr","\uD835\uDD43":"Lopf",ĺ:"lacute",Ĺ:"Lacute",ľ:"lcaron",Ľ:"Lcaron",ļ:"lcedil",Ļ:"Lcedil",ł:"lstrok",Ł:"Lstrok",ŀ:"lmidot",Ŀ:"Lmidot","\uD835\uDD2A":"mfr","\uD835\uDD5E":"mopf","\uD835\uDCC2":"mscr","\uD835\uDD10":"Mfr","\uD835\uDD44":"Mopf",ℳ:"Mscr","\uD835\uDD2B":"nfr","\uD835\uDD5F":"nopf","\uD835\uDCC3":"nscr",ℕ:"Nopf","\uD835\uDCA9":"Nscr","\uD835\uDD11":"Nfr",ń:"nacute",Ń:"Nacute",ň:"ncaron",Ň:"Ncaron",ñ:"ntilde",Ñ:"Ntilde",ņ:"ncedil",Ņ:"Ncedil","№":"numero",ŋ:"eng",Ŋ:"ENG","\uD835\uDD60":"oopf","\uD835\uDD2C":"ofr",ℴ:"oscr","\uD835\uDCAA":"Oscr","\uD835\uDD12":"Ofr","\uD835\uDD46":"Oopf",º:"ordm",ó:"oacute",Ó:"Oacute",ò:"ograve",Ò:"Ograve",ô:"ocirc",Ô:"Ocirc",ö:"ouml",Ö:"Ouml",ő:"odblac",Ő:"Odblac",õ:"otilde",Õ:"Otilde",ø:"oslash",Ø:"Oslash",ō:"omacr",Ō:"Omacr",œ:"oelig",Œ:"OElig","\uD835\uDD2D":"pfr","\uD835\uDCC5":"pscr","\uD835\uDD61":"popf",ℙ:"Popf","\uD835\uDD13":"Pfr","\uD835\uDCAB":"Pscr","\uD835\uDD62":"qopf","\uD835\uDD2E":"qfr","\uD835\uDCC6":"qscr","\uD835\uDCAC":"Qscr","\uD835\uDD14":"Qfr",ℚ:"Qopf",ĸ:"kgreen","\uD835\uDD2F":"rfr","\uD835\uDD63":"ropf","\uD835\uDCC7":"rscr",ℛ:"Rscr",ℜ:"Re",ℝ:"Ropf",ŕ:"racute",Ŕ:"Racute",ř:"rcaron",Ř:"Rcaron",ŗ:"rcedil",Ŗ:"Rcedil","\uD835\uDD64":"sopf","\uD835\uDCC8":"sscr","\uD835\uDD30":"sfr","\uD835\uDD4A":"Sopf","\uD835\uDD16":"Sfr","\uD835\uDCAE":"Sscr","Ⓢ":"oS",ś:"sacute",Ś:"Sacute",ŝ:"scirc",Ŝ:"Scirc",š:"scaron",Š:"Scaron",ş:"scedil",Ş:"Scedil",ß:"szlig","\uD835\uDD31":"tfr","\uD835\uDCC9":"tscr","\uD835\uDD65":"topf","\uD835\uDCAF":"Tscr","\uD835\uDD17":"Tfr","\uD835\uDD4B":"Topf",ť:"tcaron",Ť:"Tcaron",ţ:"tcedil",Ţ:"Tcedil","™":"trade",ŧ:"tstrok",Ŧ:"Tstrok","\uD835\uDCCA":"uscr","\uD835\uDD66":"uopf","\uD835\uDD32":"ufr","\uD835\uDD4C":"Uopf","\uD835\uDD18":"Ufr","\uD835\uDCB0":"Uscr",ú:"uacute",Ú:"Uacute",ù:"ugrave",Ù:"Ugrave",ŭ:"ubreve",Ŭ:"Ubreve",û:"ucirc",Û:"Ucirc",ů:"uring",Ů:"Uring",ü:"uuml",Ü:"Uuml",ű:"udblac",Ű:"Udblac",ũ:"utilde",Ũ:"Utilde",ų:"uogon",Ų:"Uogon",ū:"umacr",Ū:"Umacr","\uD835\uDD33":"vfr","\uD835\uDD67":"vopf","\uD835\uDCCB":"vscr","\uD835\uDD19":"Vfr","\uD835\uDD4D":"Vopf","\uD835\uDCB1":"Vscr","\uD835\uDD68":"wopf","\uD835\uDCCC":"wscr","\uD835\uDD34":"wfr","\uD835\uDCB2":"Wscr","\uD835\uDD4E":"Wopf","\uD835\uDD1A":"Wfr",ŵ:"wcirc",Ŵ:"Wcirc","\uD835\uDD35":"xfr","\uD835\uDCCD":"xscr","\uD835\uDD69":"xopf","\uD835\uDD4F":"Xopf","\uD835\uDD1B":"Xfr","\uD835\uDCB3":"Xscr","\uD835\uDD36":"yfr","\uD835\uDCCE":"yscr","\uD835\uDD6A":"yopf","\uD835\uDCB4":"Yscr","\uD835\uDD1C":"Yfr","\uD835\uDD50":"Yopf",ý:"yacute",Ý:"Yacute",ŷ:"ycirc",Ŷ:"Ycirc",ÿ:"yuml",Ÿ:"Yuml","\uD835\uDCCF":"zscr","\uD835\uDD37":"zfr","\uD835\uDD6B":"zopf",ℨ:"Zfr",ℤ:"Zopf","\uD835\uDCB5":"Zscr",ź:"zacute",Ź:"Zacute",ž:"zcaron",Ž:"Zcaron",ż:"zdot",Ż:"Zdot",Ƶ:"imped",þ:"thorn",Þ:"THORN",ʼn:"napos",α:"alpha",Α:"Alpha",β:"beta",Β:"Beta",γ:"gamma",Γ:"Gamma",δ:"delta",Δ:"Delta",ε:"epsi",ϵ:"epsiv",Ε:"Epsilon",ϝ:"gammad",Ϝ:"Gammad",ζ:"zeta",Ζ:"Zeta",η:"eta",Η:"Eta",θ:"theta",ϑ:"thetav",Θ:"Theta",ι:"iota",Ι:"Iota",κ:"kappa",ϰ:"kappav",Κ:"Kappa",λ:"lambda",Λ:"Lambda",μ:"mu",µ:"micro",Μ:"Mu",ν:"nu",Ν:"Nu",ξ:"xi",Ξ:"Xi",ο:"omicron",Ο:"Omicron",π:"pi",ϖ:"piv",Π:"Pi",ρ:"rho",ϱ:"rhov",Ρ:"Rho",σ:"sigma",Σ:"Sigma",ς:"sigmaf",τ:"tau",Τ:"Tau",υ:"upsi",Υ:"Upsilon",ϒ:"Upsi",φ:"phi",ϕ:"phiv",Φ:"Phi",χ:"chi",Χ:"Chi",ψ:"psi",Ψ:"Psi",ω:"omega",Ω:"ohm",а:"acy",А:"Acy",б:"bcy",Б:"Bcy",в:"vcy",В:"Vcy",г:"gcy",Г:"Gcy",ѓ:"gjcy",Ѓ:"GJcy",д:"dcy",Д:"Dcy",ђ:"djcy",Ђ:"DJcy",е:"iecy",Е:"IEcy",ё:"iocy",Ё:"IOcy",є:"jukcy",Є:"Jukcy",ж:"zhcy",Ж:"ZHcy",з:"zcy",З:"Zcy",ѕ:"dscy",Ѕ:"DScy",и:"icy",И:"Icy",і:"iukcy",І:"Iukcy",ї:"yicy",Ї:"YIcy",й:"jcy",Й:"Jcy",ј:"jsercy",Ј:"Jsercy",к:"kcy",К:"Kcy",ќ:"kjcy",Ќ:"KJcy",л:"lcy",Л:"Lcy",љ:"ljcy",Љ:"LJcy",м:"mcy",М:"Mcy",н:"ncy",Н:"Ncy",њ:"njcy",Њ:"NJcy",о:"ocy",О:"Ocy",п:"pcy",П:"Pcy",р:"rcy",Р:"Rcy",с:"scy",С:"Scy",т:"tcy",Т:"Tcy",ћ:"tshcy",Ћ:"TSHcy",у:"ucy",У:"Ucy",ў:"ubrcy",Ў:"Ubrcy",ф:"fcy",Ф:"Fcy",х:"khcy",Х:"KHcy",ц:"tscy",Ц:"TScy",ч:"chcy",Ч:"CHcy",џ:"dzcy",Џ:"DZcy",ш:"shcy",Ш:"SHcy",щ:"shchcy",Щ:"SHCHcy",ъ:"hardcy",Ъ:"HARDcy",ы:"ycy",Ы:"Ycy",ь:"softcy",Ь:"SOFTcy",э:"ecy",Э:"Ecy",ю:"yucy",Ю:"YUcy",я:"yacy",Я:"YAcy",ℵ:"aleph",ℶ:"beth",ℷ:"gimel",ℸ:"daleth"},n=/["&'<>`]/g,p={'"':""","&":"&","'":"'","":">","`":"`"},D=/&#(?:[xX][^a-fA-F0-9]|[^0-9xX])/,d=/[\0-\x08\x0B\x0E-\x1F\x7F-\x9F\uFDD0-\uFDEF\uFFFE\uFFFF]|[\uD83F\uD87F\uD8BF\uD8FF\uD93F\uD97F\uD9BF\uD9FF\uDA3F\uDA7F\uDABF\uDAFF\uDB3F\uDB7F\uDBBF\uDBFF][\uDFFE\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/,g=/&(CounterClockwiseContourIntegral|DoubleLongLeftRightArrow|ClockwiseContourIntegral|NotNestedGreaterGreater|NotSquareSupersetEqual|DiacriticalDoubleAcute|NotRightTriangleEqual|NotSucceedsSlantEqual|NotPrecedesSlantEqual|CloseCurlyDoubleQuote|NegativeVeryThinSpace|DoubleContourIntegral|FilledVerySmallSquare|CapitalDifferentialD|OpenCurlyDoubleQuote|EmptyVerySmallSquare|NestedGreaterGreater|DoubleLongRightArrow|NotLeftTriangleEqual|NotGreaterSlantEqual|ReverseUpEquilibrium|DoubleLeftRightArrow|NotSquareSubsetEqual|NotDoubleVerticalBar|RightArrowLeftArrow|NotGreaterFullEqual|NotRightTriangleBar|SquareSupersetEqual|DownLeftRightVector|DoubleLongLeftArrow|leftrightsquigarrow|LeftArrowRightArrow|NegativeMediumSpace|blacktriangleright|RightDownVectorBar|PrecedesSlantEqual|RightDoubleBracket|SucceedsSlantEqual|NotLeftTriangleBar|RightTriangleEqual|SquareIntersection|RightDownTeeVector|ReverseEquilibrium|NegativeThickSpace|longleftrightarrow|Longleftrightarrow|LongLeftRightArrow|DownRightTeeVector|DownRightVectorBar|GreaterSlantEqual|SquareSubsetEqual|LeftDownVectorBar|LeftDoubleBracket|VerticalSeparator|rightleftharpoons|NotGreaterGreater|NotSquareSuperset|blacktriangleleft|blacktriangledown|NegativeThinSpace|LeftDownTeeVector|NotLessSlantEqual|leftrightharpoons|DoubleUpDownArrow|DoubleVerticalBar|LeftTriangleEqual|FilledSmallSquare|twoheadrightarrow|NotNestedLessLess|DownLeftTeeVector|DownLeftVectorBar|RightAngleBracket|NotTildeFullEqual|NotReverseElement|RightUpDownVector|DiacriticalTilde|NotSucceedsTilde|circlearrowright|NotPrecedesEqual|rightharpoondown|DoubleRightArrow|NotSucceedsEqual|NonBreakingSpace|NotRightTriangle|LessEqualGreater|RightUpTeeVector|LeftAngleBracket|GreaterFullEqual|DownArrowUpArrow|RightUpVectorBar|twoheadleftarrow|GreaterEqualLess|downharpoonright|RightTriangleBar|ntrianglerighteq|NotSupersetEqual|LeftUpDownVector|DiacriticalAcute|rightrightarrows|vartriangleright|UpArrowDownArrow|DiacriticalGrave|UnderParenthesis|EmptySmallSquare|LeftUpVectorBar|leftrightarrows|DownRightVector|downharpoonleft|trianglerighteq|ShortRightArrow|OverParenthesis|DoubleLeftArrow|DoubleDownArrow|NotSquareSubset|bigtriangledown|ntrianglelefteq|UpperRightArrow|curvearrowright|vartriangleleft|NotLeftTriangle|nleftrightarrow|LowerRightArrow|NotHumpDownHump|NotGreaterTilde|rightthreetimes|LeftUpTeeVector|NotGreaterEqual|straightepsilon|LeftTriangleBar|rightsquigarrow|ContourIntegral|rightleftarrows|CloseCurlyQuote|RightDownVector|LeftRightVector|nLeftrightarrow|leftharpoondown|circlearrowleft|SquareSuperset|OpenCurlyQuote|hookrightarrow|HorizontalLine|DiacriticalDot|NotLessGreater|ntriangleright|DoubleRightTee|InvisibleComma|InvisibleTimes|LowerLeftArrow|DownLeftVector|NotSubsetEqual|curvearrowleft|trianglelefteq|NotVerticalBar|TildeFullEqual|downdownarrows|NotGreaterLess|RightTeeVector|ZeroWidthSpace|looparrowright|LongRightArrow|doublebarwedge|ShortLeftArrow|ShortDownArrow|RightVectorBar|GreaterGreater|ReverseElement|rightharpoonup|LessSlantEqual|leftthreetimes|upharpoonright|rightarrowtail|LeftDownVector|Longrightarrow|NestedLessLess|UpperLeftArrow|nshortparallel|leftleftarrows|leftrightarrow|Leftrightarrow|LeftRightArrow|longrightarrow|upharpoonleft|RightArrowBar|ApplyFunction|LeftTeeVector|leftarrowtail|NotEqualTilde|varsubsetneqq|varsupsetneqq|RightTeeArrow|SucceedsEqual|SucceedsTilde|LeftVectorBar|SupersetEqual|hookleftarrow|DifferentialD|VerticalTilde|VeryThinSpace|blacktriangle|bigtriangleup|LessFullEqual|divideontimes|leftharpoonup|UpEquilibrium|ntriangleleft|RightTriangle|measuredangle|shortparallel|longleftarrow|Longleftarrow|LongLeftArrow|DoubleLeftTee|Poincareplane|PrecedesEqual|triangleright|DoubleUpArrow|RightUpVector|fallingdotseq|looparrowleft|PrecedesTilde|NotTildeEqual|NotTildeTilde|smallsetminus|Proportional|triangleleft|triangledown|UnderBracket|NotHumpEqual|exponentiale|ExponentialE|NotLessTilde|HilbertSpace|RightCeiling|blacklozenge|varsupsetneq|HumpDownHump|GreaterEqual|VerticalLine|LeftTeeArrow|NotLessEqual|DownTeeArrow|LeftTriangle|varsubsetneq|Intersection|NotCongruent|DownArrowBar|LeftUpVector|LeftArrowBar|risingdotseq|GreaterTilde|RoundImplies|SquareSubset|ShortUpArrow|NotSuperset|quaternions|precnapprox|backepsilon|preccurlyeq|OverBracket|blacksquare|MediumSpace|VerticalBar|circledcirc|circleddash|CircleMinus|CircleTimes|LessGreater|curlyeqprec|curlyeqsucc|diamondsuit|UpDownArrow|Updownarrow|RuleDelayed|Rrightarrow|updownarrow|RightVector|nRightarrow|nrightarrow|eqslantless|LeftCeiling|Equilibrium|SmallCircle|expectation|NotSucceeds|thickapprox|GreaterLess|SquareUnion|NotPrecedes|NotLessLess|straightphi|succnapprox|succcurlyeq|SubsetEqual|sqsupseteq|Proportion|Laplacetrf|ImaginaryI|supsetneqq|NotGreater|gtreqqless|NotElement|ThickSpace|TildeEqual|TildeTilde|Fouriertrf|rmoustache|EqualTilde|eqslantgtr|UnderBrace|LeftVector|UpArrowBar|nLeftarrow|nsubseteqq|subsetneqq|nsupseteqq|nleftarrow|succapprox|lessapprox|UpTeeArrow|upuparrows|curlywedge|lesseqqgtr|varepsilon|varnothing|RightFloor|complement|CirclePlus|sqsubseteq|Lleftarrow|circledast|RightArrow|Rightarrow|rightarrow|lmoustache|Bernoullis|precapprox|mapstoleft|mapstodown|longmapsto|dotsquare|downarrow|DoubleDot|nsubseteq|supsetneq|leftarrow|nsupseteq|subsetneq|ThinSpace|ngeqslant|subseteqq|HumpEqual|NotSubset|triangleq|NotCupCap|lesseqgtr|heartsuit|TripleDot|Leftarrow|Coproduct|Congruent|varpropto|complexes|gvertneqq|LeftArrow|LessTilde|supseteqq|MinusPlus|CircleDot|nleqslant|NotExists|gtreqless|nparallel|UnionPlus|LeftFloor|checkmark|CenterDot|centerdot|Mellintrf|gtrapprox|bigotimes|OverBrace|spadesuit|therefore|pitchfork|rationals|PlusMinus|Backslash|Therefore|DownBreve|backsimeq|backprime|DownArrow|nshortmid|Downarrow|lvertneqq|eqvparsl|imagline|imagpart|infintie|integers|Integral|intercal|LessLess|Uarrocir|intlarhk|sqsupset|angmsdaf|sqsubset|llcorner|vartheta|cupbrcap|lnapprox|Superset|SuchThat|succnsim|succneqq|angmsdag|biguplus|curlyvee|trpezium|Succeeds|NotTilde|bigwedge|angmsdah|angrtvbd|triminus|cwconint|fpartint|lrcorner|smeparsl|subseteq|urcorner|lurdshar|laemptyv|DDotrahd|approxeq|ldrushar|awconint|mapstoup|backcong|shortmid|triangle|geqslant|gesdotol|timesbar|circledR|circledS|setminus|multimap|naturals|scpolint|ncongdot|RightTee|boxminus|gnapprox|boxtimes|andslope|thicksim|angmsdaa|varsigma|cirfnint|rtriltri|angmsdab|rppolint|angmsdac|barwedge|drbkarow|clubsuit|thetasym|bsolhsub|capbrcup|dzigrarr|doteqdot|DotEqual|dotminus|UnderBar|NotEqual|realpart|otimesas|ulcorner|hksearow|hkswarow|parallel|PartialD|elinters|emptyset|plusacir|bbrktbrk|angmsdad|pointint|bigoplus|angmsdae|Precedes|bigsqcup|varkappa|notindot|supseteq|precneqq|precnsim|profalar|profline|profsurf|leqslant|lesdotor|raemptyv|subplus|notnivb|notnivc|subrarr|zigrarr|vzigzag|submult|subedot|Element|between|cirscir|larrbfs|larrsim|lotimes|lbrksld|lbrkslu|lozenge|ldrdhar|dbkarow|bigcirc|epsilon|simrarr|simplus|ltquest|Epsilon|luruhar|gtquest|maltese|npolint|eqcolon|npreceq|bigodot|ddagger|gtrless|bnequiv|harrcir|ddotseq|equivDD|backsim|demptyv|nsqsube|nsqsupe|Upsilon|nsubset|upsilon|minusdu|nsucceq|swarrow|nsupset|coloneq|searrow|boxplus|napprox|natural|asympeq|alefsym|congdot|nearrow|bigstar|diamond|supplus|tritime|LeftTee|nvinfin|triplus|NewLine|nvltrie|nvrtrie|nwarrow|nexists|Diamond|ruluhar|Implies|supmult|angzarr|suplarr|suphsub|questeq|because|digamma|Because|olcross|bemptyv|omicron|Omicron|rotimes|NoBreak|intprod|angrtvb|orderof|uwangle|suphsol|lesdoto|orslope|DownTee|realine|cudarrl|rdldhar|OverBar|supedot|lessdot|supdsub|topfork|succsim|rbrkslu|rbrksld|pertenk|cudarrr|isindot|planckh|lessgtr|pluscir|gesdoto|plussim|plustwo|lesssim|cularrp|rarrsim|Cayleys|notinva|notinvb|notinvc|UpArrow|Uparrow|uparrow|NotLess|dwangle|precsim|Product|curarrm|Cconint|dotplus|rarrbfs|ccupssm|Cedilla|cemptyv|notniva|quatint|frac35|frac38|frac45|frac56|frac58|frac78|tridot|xoplus|gacute|gammad|Gammad|lfisht|lfloor|bigcup|sqsupe|gbreve|Gbreve|lharul|sqsube|sqcups|Gcedil|apacir|llhard|lmidot|Lmidot|lmoust|andand|sqcaps|approx|Abreve|spades|circeq|tprime|divide|topcir|Assign|topbot|gesdot|divonx|xuplus|timesd|gesles|atilde|solbar|SOFTcy|loplus|timesb|lowast|lowbar|dlcorn|dlcrop|softcy|dollar|lparlt|thksim|lrhard|Atilde|lsaquo|smashp|bigvee|thinsp|wreath|bkarow|lsquor|lstrok|Lstrok|lthree|ltimes|ltlarr|DotDot|simdot|ltrPar|weierp|xsqcup|angmsd|sigmav|sigmaf|zeetrf|Zcaron|zcaron|mapsto|vsupne|thetav|cirmid|marker|mcomma|Zacute|vsubnE|there4|gtlPar|vsubne|bottom|gtrarr|SHCHcy|shchcy|midast|midcir|middot|minusb|minusd|gtrdot|bowtie|sfrown|mnplus|models|colone|seswar|Colone|mstpos|searhk|gtrsim|nacute|Nacute|boxbox|telrec|hairsp|Tcedil|nbumpe|scnsim|ncaron|Ncaron|ncedil|Ncedil|hamilt|Scedil|nearhk|hardcy|HARDcy|tcedil|Tcaron|commat|nequiv|nesear|tcaron|target|hearts|nexist|varrho|scedil|Scaron|scaron|hellip|Sacute|sacute|hercon|swnwar|compfn|rtimes|rthree|rsquor|rsaquo|zacute|wedgeq|homtht|barvee|barwed|Barwed|rpargt|horbar|conint|swarhk|roplus|nltrie|hslash|hstrok|Hstrok|rmoust|Conint|bprime|hybull|hyphen|iacute|Iacute|supsup|supsub|supsim|varphi|coprod|brvbar|agrave|Supset|supset|igrave|Igrave|notinE|Agrave|iiiint|iinfin|copysr|wedbar|Verbar|vangrt|becaus|incare|verbar|inodot|bullet|drcorn|intcal|drcrop|cularr|vellip|Utilde|bumpeq|cupcap|dstrok|Dstrok|CupCap|cupcup|cupdot|eacute|Eacute|supdot|iquest|easter|ecaron|Ecaron|ecolon|isinsv|utilde|itilde|Itilde|curarr|succeq|Bumpeq|cacute|ulcrop|nparsl|Cacute|nprcue|egrave|Egrave|nrarrc|nrarrw|subsup|subsub|nrtrie|jsercy|nsccue|Jsercy|kappav|kcedil|Kcedil|subsim|ulcorn|nsimeq|egsdot|veebar|kgreen|capand|elsdot|Subset|subset|curren|aacute|lacute|Lacute|emptyv|ntilde|Ntilde|lagran|lambda|Lambda|capcap|Ugrave|langle|subdot|emsp13|numero|emsp14|nvdash|nvDash|nVdash|nVDash|ugrave|ufisht|nvHarr|larrfs|nvlArr|larrhk|larrlp|larrpl|nvrArr|Udblac|nwarhk|larrtl|nwnear|oacute|Oacute|latail|lAtail|sstarf|lbrace|odblac|Odblac|lbrack|udblac|odsold|eparsl|lcaron|Lcaron|ograve|Ograve|lcedil|Lcedil|Aacute|ssmile|ssetmn|squarf|ldquor|capcup|ominus|cylcty|rharul|eqcirc|dagger|rfloor|rfisht|Dagger|daleth|equals|origof|capdot|equest|dcaron|Dcaron|rdquor|oslash|Oslash|otilde|Otilde|otimes|Otimes|urcrop|Ubreve|ubreve|Yacute|Uacute|uacute|Rcedil|rcedil|urcorn|parsim|Rcaron|Vdashl|rcaron|Tstrok|percnt|period|permil|Exists|yacute|rbrack|rbrace|phmmat|ccaron|Ccaron|planck|ccedil|plankv|tstrok|female|plusdo|plusdu|ffilig|plusmn|ffllig|Ccedil|rAtail|dfisht|bernou|ratail|Rarrtl|rarrtl|angsph|rarrpl|rarrlp|rarrhk|xwedge|xotime|forall|ForAll|Vvdash|vsupnE|preceq|bigcap|frac12|frac13|frac14|primes|rarrfs|prnsim|frac15|Square|frac16|square|lesdot|frac18|frac23|propto|prurel|rarrap|rangle|puncsp|frac25|Racute|qprime|racute|lesges|frac34|abreve|AElig|eqsim|utdot|setmn|urtri|Equal|Uring|seArr|uring|searr|dashv|Dashv|mumap|nabla|iogon|Iogon|sdote|sdotb|scsim|napid|napos|equiv|natur|Acirc|dblac|erarr|nbump|iprod|erDot|ucirc|awint|esdot|angrt|ncong|isinE|scnap|Scirc|scirc|ndash|isins|Ubrcy|nearr|neArr|isinv|nedot|ubrcy|acute|Ycirc|iukcy|Iukcy|xutri|nesim|caret|jcirc|Jcirc|caron|twixt|ddarr|sccue|exist|jmath|sbquo|ngeqq|angst|ccaps|lceil|ngsim|UpTee|delta|Delta|rtrif|nharr|nhArr|nhpar|rtrie|jukcy|Jukcy|kappa|rsquo|Kappa|nlarr|nlArr|TSHcy|rrarr|aogon|Aogon|fflig|xrarr|tshcy|ccirc|nleqq|filig|upsih|nless|dharl|nlsim|fjlig|ropar|nltri|dharr|robrk|roarr|fllig|fltns|roang|rnmid|subnE|subne|lAarr|trisb|Ccirc|acirc|ccups|blank|VDash|forkv|Vdash|langd|cedil|blk12|blk14|laquo|strns|diams|notin|vDash|larrb|blk34|block|disin|uplus|vdash|vBarv|aelig|starf|Wedge|check|xrArr|lates|lbarr|lBarr|notni|lbbrk|bcong|frasl|lbrke|frown|vrtri|vprop|vnsup|gamma|Gamma|wedge|xodot|bdquo|srarr|doteq|ldquo|boxdl|boxdL|gcirc|Gcirc|boxDl|boxDL|boxdr|boxdR|boxDr|TRADE|trade|rlhar|boxDR|vnsub|npart|vltri|rlarr|boxhd|boxhD|nprec|gescc|nrarr|nrArr|boxHd|boxHD|boxhu|boxhU|nrtri|boxHu|clubs|boxHU|times|colon|Colon|gimel|xlArr|Tilde|nsime|tilde|nsmid|nspar|THORN|thorn|xlarr|nsube|nsubE|thkap|xhArr|comma|nsucc|boxul|boxuL|nsupe|nsupE|gneqq|gnsim|boxUl|boxUL|grave|boxur|boxuR|boxUr|boxUR|lescc|angle|bepsi|boxvh|varpi|boxvH|numsp|Theta|gsime|gsiml|theta|boxVh|boxVH|boxvl|gtcir|gtdot|boxvL|boxVl|boxVL|crarr|cross|Cross|nvsim|boxvr|nwarr|nwArr|sqsup|dtdot|Uogon|lhard|lharu|dtrif|ocirc|Ocirc|lhblk|duarr|odash|sqsub|Hacek|sqcup|llarr|duhar|oelig|OElig|ofcir|boxvR|uogon|lltri|boxVr|csube|uuarr|ohbar|csupe|ctdot|olarr|olcir|harrw|oline|sqcap|omacr|Omacr|omega|Omega|boxVR|aleph|lneqq|lnsim|loang|loarr|rharu|lobrk|hcirc|operp|oplus|rhard|Hcirc|orarr|Union|order|ecirc|Ecirc|cuepr|szlig|cuesc|breve|reals|eDDot|Breve|hoarr|lopar|utrif|rdquo|Umacr|umacr|efDot|swArr|ultri|alpha|rceil|ovbar|swarr|Wcirc|wcirc|smtes|smile|bsemi|lrarr|aring|parsl|lrhar|bsime|uhblk|lrtri|cupor|Aring|uharr|uharl|slarr|rbrke|bsolb|lsime|rbbrk|RBarr|lsimg|phone|rBarr|rbarr|icirc|lsquo|Icirc|emacr|Emacr|ratio|simne|plusb|simlE|simgE|simeq|pluse|ltcir|ltdot|empty|xharr|xdtri|iexcl|Alpha|ltrie|rarrw|pound|ltrif|xcirc|bumpe|prcue|bumpE|asymp|amacr|cuvee|Sigma|sigma|iiint|udhar|iiota|ijlig|IJlig|supnE|imacr|Imacr|prime|Prime|image|prnap|eogon|Eogon|rarrc|mdash|mDDot|cuwed|imath|supne|imped|Amacr|udarr|prsim|micro|rarrb|cwint|raquo|infin|eplus|range|rangd|Ucirc|radic|minus|amalg|veeeq|rAarr|epsiv|ycirc|quest|sharp|quot|zwnj|Qscr|race|qscr|Qopf|qopf|qint|rang|Rang|Zscr|zscr|Zopf|zopf|rarr|rArr|Rarr|Pscr|pscr|prop|prod|prnE|prec|ZHcy|zhcy|prap|Zeta|zeta|Popf|popf|Zdot|plus|zdot|Yuml|yuml|phiv|YUcy|yucy|Yscr|yscr|perp|Yopf|yopf|part|para|YIcy|Ouml|rcub|yicy|YAcy|rdca|ouml|osol|Oscr|rdsh|yacy|real|oscr|xvee|andd|rect|andv|Xscr|oror|ordm|ordf|xscr|ange|aopf|Aopf|rHar|Xopf|opar|Oopf|xopf|xnis|rhov|oopf|omid|xmap|oint|apid|apos|ogon|ascr|Ascr|odot|odiv|xcup|xcap|ocir|oast|nvlt|nvle|nvgt|nvge|nvap|Wscr|wscr|auml|ntlg|ntgl|nsup|nsub|nsim|Nscr|nscr|nsce|Wopf|ring|npre|wopf|npar|Auml|Barv|bbrk|Nopf|nopf|nmid|nLtv|beta|ropf|Ropf|Beta|beth|nles|rpar|nleq|bnot|bNot|nldr|NJcy|rscr|Rscr|Vscr|vscr|rsqb|njcy|bopf|nisd|Bopf|rtri|Vopf|nGtv|ngtr|vopf|boxh|boxH|boxv|nges|ngeq|boxV|bscr|scap|Bscr|bsim|Vert|vert|bsol|bull|bump|caps|cdot|ncup|scnE|ncap|nbsp|napE|Cdot|cent|sdot|Vbar|nang|vBar|chcy|Mscr|mscr|sect|semi|CHcy|Mopf|mopf|sext|circ|cire|mldr|mlcp|cirE|comp|shcy|SHcy|vArr|varr|cong|copf|Copf|copy|COPY|malt|male|macr|lvnE|cscr|ltri|sime|ltcc|simg|Cscr|siml|csub|Uuml|lsqb|lsim|uuml|csup|Lscr|lscr|utri|smid|lpar|cups|smte|lozf|darr|Lopf|Uscr|solb|lopf|sopf|Sopf|lneq|uscr|spar|dArr|lnap|Darr|dash|Sqrt|LJcy|ljcy|lHar|dHar|Upsi|upsi|diam|lesg|djcy|DJcy|leqq|dopf|Dopf|dscr|Dscr|dscy|ldsh|ldca|squf|DScy|sscr|Sscr|dsol|lcub|late|star|Star|Uopf|Larr|lArr|larr|uopf|dtri|dzcy|sube|subE|Lang|lang|Kscr|kscr|Kopf|kopf|KJcy|kjcy|KHcy|khcy|DZcy|ecir|edot|eDot|Jscr|jscr|succ|Jopf|jopf|Edot|uHar|emsp|ensp|Iuml|iuml|eopf|isin|Iscr|iscr|Eopf|epar|sung|epsi|escr|sup1|sup2|sup3|Iota|iota|supe|supE|Iopf|iopf|IOcy|iocy|Escr|esim|Esim|imof|Uarr|QUOT|uArr|uarr|euml|IEcy|iecy|Idot|Euml|euro|excl|Hscr|hscr|Hopf|hopf|TScy|tscy|Tscr|hbar|tscr|flat|tbrk|fnof|hArr|harr|half|fopf|Fopf|tdot|gvnE|fork|trie|gtcc|fscr|Fscr|gdot|gsim|Gscr|gscr|Gopf|gopf|gneq|Gdot|tosa|gnap|Topf|topf|geqq|toea|GJcy|gjcy|tint|gesl|mid|Sfr|ggg|top|ges|gla|glE|glj|geq|gne|gEl|gel|gnE|Gcy|gcy|gap|Tfr|tfr|Tcy|tcy|Hat|Tau|Ffr|tau|Tab|hfr|Hfr|ffr|Fcy|fcy|icy|Icy|iff|ETH|eth|ifr|Ifr|Eta|eta|int|Int|Sup|sup|ucy|Ucy|Sum|sum|jcy|ENG|ufr|Ufr|eng|Jcy|jfr|els|ell|egs|Efr|efr|Jfr|uml|kcy|Kcy|Ecy|ecy|kfr|Kfr|lap|Sub|sub|lat|lcy|Lcy|leg|Dot|dot|lEg|leq|les|squ|div|die|lfr|Lfr|lgE|Dfr|dfr|Del|deg|Dcy|dcy|lne|lnE|sol|loz|smt|Cup|lrm|cup|lsh|Lsh|sim|shy|map|Map|mcy|Mcy|mfr|Mfr|mho|gfr|Gfr|sfr|cir|Chi|chi|nap|Cfr|vcy|Vcy|cfr|Scy|scy|ncy|Ncy|vee|Vee|Cap|cap|nfr|scE|sce|Nfr|nge|ngE|nGg|vfr|Vfr|ngt|bot|nGt|nis|niv|Rsh|rsh|nle|nlE|bne|Bfr|bfr|nLl|nlt|nLt|Bcy|bcy|not|Not|rlm|wfr|Wfr|npr|nsc|num|ocy|ast|Ocy|ofr|xfr|Xfr|Ofr|ogt|ohm|apE|olt|Rho|ape|rho|Rfr|rfr|ord|REG|ang|reg|orv|And|and|AMP|Rcy|amp|Afr|ycy|Ycy|yen|yfr|Yfr|rcy|par|pcy|Pcy|pfr|Pfr|phi|Phi|afr|Acy|acy|zcy|Zcy|piv|acE|acd|zfr|Zfr|pre|prE|psi|Psi|qfr|Qfr|zwj|Or|ge|Gg|gt|gg|el|oS|lt|Lt|LT|Re|lg|gl|eg|ne|Im|it|le|DD|wp|wr|nu|Nu|dd|lE|Sc|sc|pi|Pi|ee|af|ll|Ll|rx|gE|xi|pm|Xi|ic|pr|Pr|in|ni|mp|mu|ac|Mu|or|ap|Gt|GT|ii);|&(Aacute|Agrave|Atilde|Ccedil|Eacute|Egrave|Iacute|Igrave|Ntilde|Oacute|Ograve|Oslash|Otilde|Uacute|Ugrave|Yacute|aacute|agrave|atilde|brvbar|ccedil|curren|divide|eacute|egrave|frac12|frac14|frac34|iacute|igrave|iquest|middot|ntilde|oacute|ograve|oslash|otilde|plusmn|uacute|ugrave|yacute|AElig|Acirc|Aring|Ecirc|Icirc|Ocirc|THORN|Ucirc|acirc|acute|aelig|aring|cedil|ecirc|icirc|iexcl|laquo|micro|ocirc|pound|raquo|szlig|thorn|times|ucirc|Auml|COPY|Euml|Iuml|Ouml|QUOT|Uuml|auml|cent|copy|euml|iuml|macr|nbsp|ordf|ordm|ouml|para|quot|sect|sup1|sup2|sup3|uuml|yuml|AMP|ETH|REG|amp|deg|eth|not|reg|shy|uml|yen|GT|LT|gt|lt)(?!;)([=a-zA-Z0-9]?)|&#([0-9]+)(;?)|&#[xX]([a-fA-F0-9]+)(;?)|&([0-9a-zA-Z]+)/g,m={aacute:"\xe1",Aacute:"\xc1",abreve:"ă",Abreve:"Ă",ac:"∾",acd:"∿",acE:"∾̳",acirc:"\xe2",Acirc:"\xc2",acute:"\xb4",acy:"а",Acy:"А",aelig:"\xe6",AElig:"\xc6",af:"",afr:"\uD835\uDD1E",Afr:"\uD835\uDD04",agrave:"\xe0",Agrave:"\xc0",alefsym:"ℵ",aleph:"ℵ",alpha:"α",Alpha:"Α",amacr:"ā",Amacr:"Ā",amalg:"⨿",amp:"&",AMP:"&",and:"∧",And:"⩓",andand:"⩕",andd:"⩜",andslope:"⩘",andv:"⩚",ang:"∠",ange:"⦤",angle:"∠",angmsd:"∡",angmsdaa:"⦨",angmsdab:"⦩",angmsdac:"⦪",angmsdad:"⦫",angmsdae:"⦬",angmsdaf:"⦭",angmsdag:"⦮",angmsdah:"⦯",angrt:"∟",angrtvb:"⊾",angrtvbd:"⦝",angsph:"∢",angst:"\xc5",angzarr:"⍼",aogon:"ą",Aogon:"Ą",aopf:"\uD835\uDD52",Aopf:"\uD835\uDD38",ap:"≈",apacir:"⩯",ape:"≊",apE:"⩰",apid:"≋",apos:"'",ApplyFunction:"",approx:"≈",approxeq:"≊",aring:"\xe5",Aring:"\xc5",ascr:"\uD835\uDCB6",Ascr:"\uD835\uDC9C",Assign:"≔",ast:"*",asymp:"≈",asympeq:"≍",atilde:"\xe3",Atilde:"\xc3",auml:"\xe4",Auml:"\xc4",awconint:"∳",awint:"⨑",backcong:"≌",backepsilon:"϶",backprime:"‵",backsim:"∽",backsimeq:"⋍",Backslash:"∖",Barv:"⫧",barvee:"⊽",barwed:"⌅",Barwed:"⌆",barwedge:"⌅",bbrk:"⎵",bbrktbrk:"⎶",bcong:"≌",bcy:"б",Bcy:"Б",bdquo:"„",becaus:"∵",because:"∵",Because:"∵",bemptyv:"⦰",bepsi:"϶",bernou:"ℬ",Bernoullis:"ℬ",beta:"β",Beta:"Β",beth:"ℶ",between:"≬",bfr:"\uD835\uDD1F",Bfr:"\uD835\uDD05",bigcap:"⋂",bigcirc:"◯",bigcup:"⋃",bigodot:"⨀",bigoplus:"⨁",bigotimes:"⨂",bigsqcup:"⨆",bigstar:"★",bigtriangledown:"▽",bigtriangleup:"△",biguplus:"⨄",bigvee:"⋁",bigwedge:"⋀",bkarow:"⤍",blacklozenge:"⧫",blacksquare:"▪",blacktriangle:"▴",blacktriangledown:"▾",blacktriangleleft:"◂",blacktriangleright:"▸",blank:"␣",blk12:"▒",blk14:"░",blk34:"▓",block:"█",bne:"=⃥",bnequiv:"≡⃥",bnot:"⌐",bNot:"⫭",bopf:"\uD835\uDD53",Bopf:"\uD835\uDD39",bot:"⊥",bottom:"⊥",bowtie:"⋈",boxbox:"⧉",boxdl:"┐",boxdL:"╕",boxDl:"╖",boxDL:"╗",boxdr:"┌",boxdR:"╒",boxDr:"╓",boxDR:"╔",boxh:"─",boxH:"═",boxhd:"┬",boxhD:"╥",boxHd:"╤",boxHD:"╦",boxhu:"┴",boxhU:"╨",boxHu:"╧",boxHU:"╩",boxminus:"⊟",boxplus:"⊞",boxtimes:"⊠",boxul:"┘",boxuL:"╛",boxUl:"╜",boxUL:"╝",boxur:"└",boxuR:"╘",boxUr:"╙",boxUR:"╚",boxv:"│",boxV:"║",boxvh:"┼",boxvH:"╪",boxVh:"╫",boxVH:"╬",boxvl:"┤",boxvL:"╡",boxVl:"╢",boxVL:"╣",boxvr:"├",boxvR:"╞",boxVr:"╟",boxVR:"╠",bprime:"‵",breve:"˘",Breve:"˘",brvbar:"\xa6",bscr:"\uD835\uDCB7",Bscr:"ℬ",bsemi:"⁏",bsim:"∽",bsime:"⋍",bsol:"\\",bsolb:"⧅",bsolhsub:"⟈",bull:"•",bullet:"•",bump:"≎",bumpe:"≏",bumpE:"⪮",bumpeq:"≏",Bumpeq:"≎",cacute:"ć",Cacute:"Ć",cap:"∩",Cap:"⋒",capand:"⩄",capbrcup:"⩉",capcap:"⩋",capcup:"⩇",capdot:"⩀",CapitalDifferentialD:"ⅅ",caps:"∩︀",caret:"⁁",caron:"ˇ",Cayleys:"ℭ",ccaps:"⩍",ccaron:"č",Ccaron:"Č",ccedil:"\xe7",Ccedil:"\xc7",ccirc:"ĉ",Ccirc:"Ĉ",Cconint:"∰",ccups:"⩌",ccupssm:"⩐",cdot:"ċ",Cdot:"Ċ",cedil:"\xb8",Cedilla:"\xb8",cemptyv:"⦲",cent:"\xa2",centerdot:"\xb7",CenterDot:"\xb7",cfr:"\uD835\uDD20",Cfr:"ℭ",chcy:"ч",CHcy:"Ч",check:"✓",checkmark:"✓",chi:"χ",Chi:"Χ",cir:"○",circ:"ˆ",circeq:"≗",circlearrowleft:"↺",circlearrowright:"↻",circledast:"⊛",circledcirc:"⊚",circleddash:"⊝",CircleDot:"⊙",circledR:"\xae",circledS:"Ⓢ",CircleMinus:"⊖",CirclePlus:"⊕",CircleTimes:"⊗",cire:"≗",cirE:"⧃",cirfnint:"⨐",cirmid:"⫯",cirscir:"⧂",ClockwiseContourIntegral:"∲",CloseCurlyDoubleQuote:"”",CloseCurlyQuote:"’",clubs:"♣",clubsuit:"♣",colon:":",Colon:"∷",colone:"≔",Colone:"⩴",coloneq:"≔",comma:",",commat:"@",comp:"∁",compfn:"∘",complement:"∁",complexes:"ℂ",cong:"≅",congdot:"⩭",Congruent:"≡",conint:"∮",Conint:"∯",ContourIntegral:"∮",copf:"\uD835\uDD54",Copf:"ℂ",coprod:"∐",Coproduct:"∐",copy:"\xa9",COPY:"\xa9",copysr:"℗",CounterClockwiseContourIntegral:"∳",crarr:"↵",cross:"✗",Cross:"⨯",cscr:"\uD835\uDCB8",Cscr:"\uD835\uDC9E",csub:"⫏",csube:"⫑",csup:"⫐",csupe:"⫒",ctdot:"⋯",cudarrl:"⤸",cudarrr:"⤵",cuepr:"⋞",cuesc:"⋟",cularr:"↶",cularrp:"⤽",cup:"∪",Cup:"⋓",cupbrcap:"⩈",cupcap:"⩆",CupCap:"≍",cupcup:"⩊",cupdot:"⊍",cupor:"⩅",cups:"∪︀",curarr:"↷",curarrm:"⤼",curlyeqprec:"⋞",curlyeqsucc:"⋟",curlyvee:"⋎",curlywedge:"⋏",curren:"\xa4",curvearrowleft:"↶",curvearrowright:"↷",cuvee:"⋎",cuwed:"⋏",cwconint:"∲",cwint:"∱",cylcty:"⌭",dagger:"†",Dagger:"‡",daleth:"ℸ",darr:"↓",dArr:"⇓",Darr:"↡",dash:"‐",dashv:"⊣",Dashv:"⫤",dbkarow:"⤏",dblac:"˝",dcaron:"ď",Dcaron:"Ď",dcy:"д",Dcy:"Д",dd:"ⅆ",DD:"ⅅ",ddagger:"‡",ddarr:"⇊",DDotrahd:"⤑",ddotseq:"⩷",deg:"\xb0",Del:"∇",delta:"δ",Delta:"Δ",demptyv:"⦱",dfisht:"⥿",dfr:"\uD835\uDD21",Dfr:"\uD835\uDD07",dHar:"⥥",dharl:"⇃",dharr:"⇂",DiacriticalAcute:"\xb4",DiacriticalDot:"˙",DiacriticalDoubleAcute:"˝",DiacriticalGrave:"`",DiacriticalTilde:"˜",diam:"⋄",diamond:"⋄",Diamond:"⋄",diamondsuit:"♦",diams:"♦",die:"\xa8",DifferentialD:"ⅆ",digamma:"ϝ",disin:"⋲",div:"\xf7",divide:"\xf7",divideontimes:"⋇",divonx:"⋇",djcy:"ђ",DJcy:"Ђ",dlcorn:"⌞",dlcrop:"⌍",dollar:"$",dopf:"\uD835\uDD55",Dopf:"\uD835\uDD3B",dot:"˙",Dot:"\xa8",DotDot:"⃜",doteq:"≐",doteqdot:"≑",DotEqual:"≐",dotminus:"∸",dotplus:"∔",dotsquare:"⊡",doublebarwedge:"⌆",DoubleContourIntegral:"∯",DoubleDot:"\xa8",DoubleDownArrow:"⇓",DoubleLeftArrow:"⇐",DoubleLeftRightArrow:"⇔",DoubleLeftTee:"⫤",DoubleLongLeftArrow:"⟸",DoubleLongLeftRightArrow:"⟺",DoubleLongRightArrow:"⟹",DoubleRightArrow:"⇒",DoubleRightTee:"⊨",DoubleUpArrow:"⇑",DoubleUpDownArrow:"⇕",DoubleVerticalBar:"∥",downarrow:"↓",Downarrow:"⇓",DownArrow:"↓",DownArrowBar:"⤓",DownArrowUpArrow:"⇵",DownBreve:"̑",downdownarrows:"⇊",downharpoonleft:"⇃",downharpoonright:"⇂",DownLeftRightVector:"⥐",DownLeftTeeVector:"⥞",DownLeftVector:"↽",DownLeftVectorBar:"⥖",DownRightTeeVector:"⥟",DownRightVector:"⇁",DownRightVectorBar:"⥗",DownTee:"⊤",DownTeeArrow:"↧",drbkarow:"⤐",drcorn:"⌟",drcrop:"⌌",dscr:"\uD835\uDCB9",Dscr:"\uD835\uDC9F",dscy:"ѕ",DScy:"Ѕ",dsol:"⧶",dstrok:"đ",Dstrok:"Đ",dtdot:"⋱",dtri:"▿",dtrif:"▾",duarr:"⇵",duhar:"⥯",dwangle:"⦦",dzcy:"џ",DZcy:"Џ",dzigrarr:"⟿",eacute:"\xe9",Eacute:"\xc9",easter:"⩮",ecaron:"ě",Ecaron:"Ě",ecir:"≖",ecirc:"\xea",Ecirc:"\xca",ecolon:"≕",ecy:"э",Ecy:"Э",eDDot:"⩷",edot:"ė",eDot:"≑",Edot:"Ė",ee:"ⅇ",efDot:"≒",efr:"\uD835\uDD22",Efr:"\uD835\uDD08",eg:"⪚",egrave:"\xe8",Egrave:"\xc8",egs:"⪖",egsdot:"⪘",el:"⪙",Element:"∈",elinters:"⏧",ell:"ℓ",els:"⪕",elsdot:"⪗",emacr:"ē",Emacr:"Ē",empty:"∅",emptyset:"∅",EmptySmallSquare:"◻",emptyv:"∅",EmptyVerySmallSquare:"▫",emsp:" ",emsp13:" ",emsp14:" ",eng:"ŋ",ENG:"Ŋ",ensp:" ",eogon:"ę",Eogon:"Ę",eopf:"\uD835\uDD56",Eopf:"\uD835\uDD3C",epar:"⋕",eparsl:"⧣",eplus:"⩱",epsi:"ε",epsilon:"ε",Epsilon:"Ε",epsiv:"ϵ",eqcirc:"≖",eqcolon:"≕",eqsim:"≂",eqslantgtr:"⪖",eqslantless:"⪕",Equal:"⩵",equals:"=",EqualTilde:"≂",equest:"≟",Equilibrium:"⇌",equiv:"≡",equivDD:"⩸",eqvparsl:"⧥",erarr:"⥱",erDot:"≓",escr:"ℯ",Escr:"ℰ",esdot:"≐",esim:"≂",Esim:"⩳",eta:"η",Eta:"Η",eth:"\xf0",ETH:"\xd0",euml:"\xeb",Euml:"\xcb",euro:"€",excl:"!",exist:"∃",Exists:"∃",expectation:"ℰ",exponentiale:"ⅇ",ExponentialE:"ⅇ",fallingdotseq:"≒",fcy:"ф",Fcy:"Ф",female:"♀",ffilig:"ffi",fflig:"ff",ffllig:"ffl",ffr:"\uD835\uDD23",Ffr:"\uD835\uDD09",filig:"fi",FilledSmallSquare:"◼",FilledVerySmallSquare:"▪",fjlig:"fj",flat:"♭",fllig:"fl",fltns:"▱",fnof:"ƒ",fopf:"\uD835\uDD57",Fopf:"\uD835\uDD3D",forall:"∀",ForAll:"∀",fork:"⋔",forkv:"⫙",Fouriertrf:"ℱ",fpartint:"⨍",frac12:"\xbd",frac13:"⅓",frac14:"\xbc",frac15:"⅕",frac16:"⅙",frac18:"⅛",frac23:"⅔",frac25:"⅖",frac34:"\xbe",frac35:"⅗",frac38:"⅜",frac45:"⅘",frac56:"⅚",frac58:"⅝",frac78:"⅞",frasl:"⁄",frown:"⌢",fscr:"\uD835\uDCBB",Fscr:"ℱ",gacute:"ǵ",gamma:"γ",Gamma:"Γ",gammad:"ϝ",Gammad:"Ϝ",gap:"⪆",gbreve:"ğ",Gbreve:"Ğ",Gcedil:"Ģ",gcirc:"ĝ",Gcirc:"Ĝ",gcy:"г",Gcy:"Г",gdot:"ġ",Gdot:"Ġ",ge:"≥",gE:"≧",gel:"⋛",gEl:"⪌",geq:"≥",geqq:"≧",geqslant:"⩾",ges:"⩾",gescc:"⪩",gesdot:"⪀",gesdoto:"⪂",gesdotol:"⪄",gesl:"⋛︀",gesles:"⪔",gfr:"\uD835\uDD24",Gfr:"\uD835\uDD0A",gg:"≫",Gg:"⋙",ggg:"⋙",gimel:"ℷ",gjcy:"ѓ",GJcy:"Ѓ",gl:"≷",gla:"⪥",glE:"⪒",glj:"⪤",gnap:"⪊",gnapprox:"⪊",gne:"⪈",gnE:"≩",gneq:"⪈",gneqq:"≩",gnsim:"⋧",gopf:"\uD835\uDD58",Gopf:"\uD835\uDD3E",grave:"`",GreaterEqual:"≥",GreaterEqualLess:"⋛",GreaterFullEqual:"≧",GreaterGreater:"⪢",GreaterLess:"≷",GreaterSlantEqual:"⩾",GreaterTilde:"≳",gscr:"ℊ",Gscr:"\uD835\uDCA2",gsim:"≳",gsime:"⪎",gsiml:"⪐",gt:">",Gt:"≫",GT:">",gtcc:"⪧",gtcir:"⩺",gtdot:"⋗",gtlPar:"⦕",gtquest:"⩼",gtrapprox:"⪆",gtrarr:"⥸",gtrdot:"⋗",gtreqless:"⋛",gtreqqless:"⪌",gtrless:"≷",gtrsim:"≳",gvertneqq:"≩︀",gvnE:"≩︀",Hacek:"ˇ",hairsp:" ",half:"\xbd",hamilt:"ℋ",hardcy:"ъ",HARDcy:"Ъ",harr:"↔",hArr:"⇔",harrcir:"⥈",harrw:"↭",Hat:"^",hbar:"ℏ",hcirc:"ĥ",Hcirc:"Ĥ",hearts:"♥",heartsuit:"♥",hellip:"…",hercon:"⊹",hfr:"\uD835\uDD25",Hfr:"ℌ",HilbertSpace:"ℋ",hksearow:"⤥",hkswarow:"⤦",hoarr:"⇿",homtht:"∻",hookleftarrow:"↩",hookrightarrow:"↪",hopf:"\uD835\uDD59",Hopf:"ℍ",horbar:"―",HorizontalLine:"─",hscr:"\uD835\uDCBD",Hscr:"ℋ",hslash:"ℏ",hstrok:"ħ",Hstrok:"Ħ",HumpDownHump:"≎",HumpEqual:"≏",hybull:"⁃",hyphen:"‐",iacute:"\xed",Iacute:"\xcd",ic:"",icirc:"\xee",Icirc:"\xce",icy:"и",Icy:"И",Idot:"İ",iecy:"е",IEcy:"Е",iexcl:"\xa1",iff:"⇔",ifr:"\uD835\uDD26",Ifr:"ℑ",igrave:"\xec",Igrave:"\xcc",ii:"ⅈ",iiiint:"⨌",iiint:"∭",iinfin:"⧜",iiota:"℩",ijlig:"ij",IJlig:"IJ",Im:"ℑ",imacr:"ī",Imacr:"Ī",image:"ℑ",ImaginaryI:"ⅈ",imagline:"ℐ",imagpart:"ℑ",imath:"ı",imof:"⊷",imped:"Ƶ",Implies:"⇒",in:"∈",incare:"℅",infin:"∞",infintie:"⧝",inodot:"ı",int:"∫",Int:"∬",intcal:"⊺",integers:"ℤ",Integral:"∫",intercal:"⊺",Intersection:"⋂",intlarhk:"⨗",intprod:"⨼",InvisibleComma:"",InvisibleTimes:"",iocy:"ё",IOcy:"Ё",iogon:"į",Iogon:"Į",iopf:"\uD835\uDD5A",Iopf:"\uD835\uDD40",iota:"ι",Iota:"Ι",iprod:"⨼",iquest:"\xbf",iscr:"\uD835\uDCBE",Iscr:"ℐ",isin:"∈",isindot:"⋵",isinE:"⋹",isins:"⋴",isinsv:"⋳",isinv:"∈",it:"",itilde:"ĩ",Itilde:"Ĩ",iukcy:"і",Iukcy:"І",iuml:"\xef",Iuml:"\xcf",jcirc:"ĵ",Jcirc:"Ĵ",jcy:"й",Jcy:"Й",jfr:"\uD835\uDD27",Jfr:"\uD835\uDD0D",jmath:"ȷ",jopf:"\uD835\uDD5B",Jopf:"\uD835\uDD41",jscr:"\uD835\uDCBF",Jscr:"\uD835\uDCA5",jsercy:"ј",Jsercy:"Ј",jukcy:"є",Jukcy:"Є",kappa:"κ",Kappa:"Κ",kappav:"ϰ",kcedil:"ķ",Kcedil:"Ķ",kcy:"к",Kcy:"К",kfr:"\uD835\uDD28",Kfr:"\uD835\uDD0E",kgreen:"ĸ",khcy:"х",KHcy:"Х",kjcy:"ќ",KJcy:"Ќ",kopf:"\uD835\uDD5C",Kopf:"\uD835\uDD42",kscr:"\uD835\uDCC0",Kscr:"\uD835\uDCA6",lAarr:"⇚",lacute:"ĺ",Lacute:"Ĺ",laemptyv:"⦴",lagran:"ℒ",lambda:"λ",Lambda:"Λ",lang:"⟨",Lang:"⟪",langd:"⦑",langle:"⟨",lap:"⪅",Laplacetrf:"ℒ",laquo:"\xab",larr:"←",lArr:"⇐",Larr:"↞",larrb:"⇤",larrbfs:"⤟",larrfs:"⤝",larrhk:"↩",larrlp:"↫",larrpl:"⤹",larrsim:"⥳",larrtl:"↢",lat:"⪫",latail:"⤙",lAtail:"⤛",late:"⪭",lates:"⪭︀",lbarr:"⤌",lBarr:"⤎",lbbrk:"❲",lbrace:"{",lbrack:"[",lbrke:"⦋",lbrksld:"⦏",lbrkslu:"⦍",lcaron:"ľ",Lcaron:"Ľ",lcedil:"ļ",Lcedil:"Ļ",lceil:"⌈",lcub:"{",lcy:"л",Lcy:"Л",ldca:"⤶",ldquo:"“",ldquor:"„",ldrdhar:"⥧",ldrushar:"⥋",ldsh:"↲",le:"≤",lE:"≦",LeftAngleBracket:"⟨",leftarrow:"←",Leftarrow:"⇐",LeftArrow:"←",LeftArrowBar:"⇤",LeftArrowRightArrow:"⇆",leftarrowtail:"↢",LeftCeiling:"⌈",LeftDoubleBracket:"⟦",LeftDownTeeVector:"⥡",LeftDownVector:"⇃",LeftDownVectorBar:"⥙",LeftFloor:"⌊",leftharpoondown:"↽",leftharpoonup:"↼",leftleftarrows:"⇇",leftrightarrow:"↔",Leftrightarrow:"⇔",LeftRightArrow:"↔",leftrightarrows:"⇆",leftrightharpoons:"⇋",leftrightsquigarrow:"↭",LeftRightVector:"⥎",LeftTee:"⊣",LeftTeeArrow:"↤",LeftTeeVector:"⥚",leftthreetimes:"⋋",LeftTriangle:"⊲",LeftTriangleBar:"⧏",LeftTriangleEqual:"⊴",LeftUpDownVector:"⥑",LeftUpTeeVector:"⥠",LeftUpVector:"↿",LeftUpVectorBar:"⥘",LeftVector:"↼",LeftVectorBar:"⥒",leg:"⋚",lEg:"⪋",leq:"≤",leqq:"≦",leqslant:"⩽",les:"⩽",lescc:"⪨",lesdot:"⩿",lesdoto:"⪁",lesdotor:"⪃",lesg:"⋚︀",lesges:"⪓",lessapprox:"⪅",lessdot:"⋖",lesseqgtr:"⋚",lesseqqgtr:"⪋",LessEqualGreater:"⋚",LessFullEqual:"≦",LessGreater:"≶",lessgtr:"≶",LessLess:"⪡",lesssim:"≲",LessSlantEqual:"⩽",LessTilde:"≲",lfisht:"⥼",lfloor:"⌊",lfr:"\uD835\uDD29",Lfr:"\uD835\uDD0F",lg:"≶",lgE:"⪑",lHar:"⥢",lhard:"↽",lharu:"↼",lharul:"⥪",lhblk:"▄",ljcy:"љ",LJcy:"Љ",ll:"≪",Ll:"⋘",llarr:"⇇",llcorner:"⌞",Lleftarrow:"⇚",llhard:"⥫",lltri:"◺",lmidot:"ŀ",Lmidot:"Ŀ",lmoust:"⎰",lmoustache:"⎰",lnap:"⪉",lnapprox:"⪉",lne:"⪇",lnE:"≨",lneq:"⪇",lneqq:"≨",lnsim:"⋦",loang:"⟬",loarr:"⇽",lobrk:"⟦",longleftarrow:"⟵",Longleftarrow:"⟸",LongLeftArrow:"⟵",longleftrightarrow:"⟷",Longleftrightarrow:"⟺",LongLeftRightArrow:"⟷",longmapsto:"⟼",longrightarrow:"⟶",Longrightarrow:"⟹",LongRightArrow:"⟶",looparrowleft:"↫",looparrowright:"↬",lopar:"⦅",lopf:"\uD835\uDD5D",Lopf:"\uD835\uDD43",loplus:"⨭",lotimes:"⨴",lowast:"∗",lowbar:"_",LowerLeftArrow:"↙",LowerRightArrow:"↘",loz:"◊",lozenge:"◊",lozf:"⧫",lpar:"(",lparlt:"⦓",lrarr:"⇆",lrcorner:"⌟",lrhar:"⇋",lrhard:"⥭",lrm:"",lrtri:"⊿",lsaquo:"‹",lscr:"\uD835\uDCC1",Lscr:"ℒ",lsh:"↰",Lsh:"↰",lsim:"≲",lsime:"⪍",lsimg:"⪏",lsqb:"[",lsquo:"‘",lsquor:"‚",lstrok:"ł",Lstrok:"Ł",lt:"⃒",nvHarr:"⤄",nvinfin:"⧞",nvlArr:"⤂",nvle:"≤⃒",nvlt:"",GT:">",iacute:"\xed",Iacute:"\xcd",icirc:"\xee",Icirc:"\xce",iexcl:"\xa1",igrave:"\xec",Igrave:"\xcc",iquest:"\xbf",iuml:"\xef",Iuml:"\xcf",laquo:"\xab",lt:"=55296&&r1114111?(e&&k("character reference outside the permissible Unicode range"),"�"):v(b,r)?(e&&k("disallowed character reference"),b[r]):(e&&y(h,r)&&k("disallowed character reference"),r>65535&&(r-=65536,u+=q(r>>>10&1023|55296),r=56320|1023&r),u+=q(r))},C=function(r){return"&#x"+r.toString(16).toUpperCase()+";"},x=function(r){return"&#"+r+";"},k=function(r){throw Error("Parse error: "+r)},(L=function(r,e){(e=A(e,L.options)).strict&&d.test(r)&&k("forbidden code point");var u=e.encodeEverything,a=e.useNamedReferences,t=e.allowUnsafeSymbols,p=e.decimal?x:C,D=function(r){return p(r.charCodeAt(0))};return u?(r=r.replace(s,function(r){return a&&v(i,r)?"&"+i[r]+";":D(r)}),a&&(r=r.replace(/>\u20D2/g,">⃒").replace(/<\u20D2/g,"<⃒").replace(/fj/g,"fj")),a&&(r=r.replace(l,function(r){return"&"+i[r]+";"}))):a?(t||(r=r.replace(n,function(r){return"&"+i[r]+";"})),r=(r=r.replace(/>\u20D2/g,">⃒").replace(/<\u20D2/g,"<⃒")).replace(l,function(r){return"&"+i[r]+";"})):t||(r=r.replace(n,D)),r.replace(o,function(r){return p((r.charCodeAt(0)-55296)*1024+r.charCodeAt(1)-56320+65536)}).replace(c,D)}).options={allowUnsafeSymbols:!1,encodeEverything:!1,strict:!1,useNamedReferences:!1,decimal:!1},(B=function(r,e){var u=(e=A(e,B.options)).strict;return u&&D.test(r)&&k("malformed character reference"),r.replace(g,function(r,a,t,o,s,c,l,i,n){var p,D;return a?m[D=a]:t?(D=t,o&&e.isAttributeValue)?(u&&"="==o&&k("`&` did not start a character reference"),r):(u&&k("named character reference was not terminated by a semicolon"),f[D]+(o||"")):s?(p=c,u&&!p&&k("character reference was not terminated by a semicolon"),E(parseInt(s,10),u)):l?(p=i,u&&!p&&k("character reference was not terminated by a semicolon"),E(parseInt(l,16),u)):(u&&k("named character reference was not terminated by a semicolon"),r)})}).options={isAttributeValue:!1,strict:!1},S={version:"1.2.0",encode:L,decode:B,escape:function(r){return r.replace(n,function(r){return p[r]})},unescape:B},void 0!==(a=(function(){return S}).call(e,u,e,r))&&(r.exports=a)}}]); /* window.modules["684"] */ (self.modules=self.modules||[]).push([["684"],{684:function(e,r){var t,a,n,l;n=this,l=function(e){"use strict";e.__esModule=!0,e.smartypantsu=e.smartellipses=e.smartdashes=e.smartquotes=e.smartypants=void 0;var r=/]*>/i,t=function(e,t){void 0===e&&(e=""),void 0===t&&(t="1");var i,v,d,m,h,x=0;if("0"===(t="number"==typeof t?t.toString():t.replace(/\s/g,"")))return e;if("1"===t)i=1,v=1,d=1,m=1;else if("2"===t)i=1,v=1,d=2,m=1;else if("3"===t)i=1,v=1,d=3,m=1;else if("-1"===t)h=1;else for(var b=0;b['"]$/.test(e)&&(n=1,e+=" ");for(var l=f(e),p="",g=0,c="",s=0;s?@[\\]^_`{|}~]";e=(e=(e=(e=(e=e.replace(RegExp("^'(?="+r+"\\B)"),"’")).replace(RegExp('^"(?='+r+"\\B)"),"”")).replace(/"'(?=\w)/,"“‘")).replace(/'"(?=\w)/,"‘“")).replace(/'(?=\d\d)/,"’");var t="[^\\ \\t\\r\\n\\[\\{\\(\\-]",a="[\\ \\t\\r\\n\\[\\{\\(\\-]",n="–|—";return e=(e=(e=(e=(e=(e=(e=(e=e.replace(RegExp("(\\s| |--|&[mn]dash;|"+n+"|ȁ[34])'(?=\\w)","g"),"$1‘")).replace(RegExp("("+t+")'","g"),"$1’")).replace(RegExp("("+a+"?)'(?=\\s|s\\b)","g"),"$1’")).replace(/'/g,"‘")).replace(RegExp("(\\s| |--|&[mn]dash;|"+n+'|ȁ[34])"(?=\\w)',"g"),"$1“")).replace(RegExp("("+t+')"',"g"),"$1”")).replace(RegExp("("+a+'?)"(?=\\s)',"g"),"$1”")).replace(/"/g,"“")},n=function(e){return e=(e=e.replace(/``/g,"“")).replace(/''/g,"”")},l=function(e){return e=(e=e.replace(/`/g,"‘")).replace(/'/g,"’")},p=function(e){return e=e.replace(/--/g,"—")},g=function(e){return e=(e=e.replace(/---/g,"—")).replace(/--/g,"–")},c=function(e){return e=(e=e.replace(/---/g,"–")).replace(/--/g,"—")},s=function(e){return e=(e=e.replace(/\.\.\./g,"…")).replace(/\. \. \./g,"…")},u=function(e){return e=(e=(e=(e=(e=(e=(e=e.replace(/–/g,"-")).replace(/—/g,"--")).replace(/‘/g,"'")).replace(/’/g,"'")).replace(/“/g,'"')).replace(/”/g,'"')).replace(/…/g,"...")},i=function(e,r){if(void 0===r&&(r="1"),"0"===(r="number"==typeof r?r.toString():r.replace(/\s/g,"")))return e;if("1"===r)t=1,a=1,n=1,l=1;else if("2"===r)t=1,a=1,n=3,l=1;else if("3"===r)t=1,a=1,n=3,l=1;else for(var t,a,n,l,p=0;p||]*>/g,l=null;l=n.exec(e);){if(r{var t=o("3865").getAPIConfig,i=o("3850");function s(){var e=this,n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};if((!n.env||0===n.env.length)&&(!n.url||0===n.url.length))throw new i("Must provide an environment or url");if(this.api=t(n),"undefined"!=typeof window)try{window.onload=function(){e.publishZionData(e.getStoredUID())}}catch(e){console.log("Could not send cnn user id to message bus")}}o("3862")(s),o("3866")(s),o("3858")(s),o("3859")(s),o("3860")(s),o("3867")(s),o("3868")(s),o("3869")(s),o("3870")(s),o("3871")(s),o("3874")(s),o("3875")(s),o("3863")(s),o("3861")(s),o("3876")(s),o("3877")(s),e.exports=s}}]); /* window.modules["686"] */ "use strict";(self.modules=self.modules||[]).push([["686"],{686:e=>{e.exports=e=>"string"==typeof e&&"true"===e.toLowerCase()}}]); /* window.modules["687"] */ "use strict";(self.modules=self.modules||[]).push([["687"],{687:(e,t,r)=>{let s=r("692"),{strCheck:o}=r("3836");e.exports=(e,t,r=null)=>{if(o(t),"object"!=typeof e)throw Error(`Page argument must be an object, not ${typeof e}`);return(r?e[r]||[]:Object.values(e).flatMap(e=>Array.isArray(e)?e:[])).find(e=>s(e)===t)}}}]); /* window.modules["688"] */ "use strict";(self.modules=self.modules||[]).push([["688"],{688:(e,t,s)=>{let l=s("607"),o=s("608"),r=s("396"),u=s("3855"),f=s("3856"),h=s("3912");e.exports=(e,t,s)=>{let i;let n="_ref";return h(e).forEach(function(e){!i&&(l(e)&&f(e,e=>e[n]===t)||o(e)&&e[n]===t||r(e)&&s[e]&&u(s[e],t))&&(i=this.path.join("."))}),i}}}]); /* window.modules["689"] */ "use strict";(self.modules=self.modules||[]).push([["689"],{689:(e,l,s)=>{let t=s("116"),u=s("700"),r=s("702"),n=s("726");e.exports=(e,l,s,i)=>{let d=u(l)+"/"+r(l),f=t(e,n(l),t(e,d)),o=t(f,s);if(!e||!f||!o)return!1;for(let{property:e,source:l,operator:s,values:u}of t(o,"filters",[])){let t=l?i[l]:i;return"includes"===s&&u.includes(t[e])||"not_includes"===s&&!u.includes(t[e])}return!!o}}}]); /* window.modules["690"] */ "use strict";(self.modules=self.modules||[]).push([["690"],{690:(e,s,t)=>{let l=t("3836");e.exports=function(e){l.strCheck(e);let s=/\/_layouts\/.+?\/instances\/([^\.\/@]+)/.exec(e);return s&&s[1]}}}]); /* window.modules["691"] */ "use strict";(self.modules=self.modules||[]).push([["691"],{691:(e,s,t)=>{let n=t("3836"),c=/\/_components\/.+?\/instances\/([^\.@]+)/;e.exports=function(e){n.strCheck(e);let s=c.exec(e);return s&&s[1]}}}]); /* window.modules["692"] */ "use strict";(self.modules=self.modules||[]).push([["692"],{692:(e,s,t)=>{let o=t("3836");e.exports=function(e){o.strCheck(e);let s=/_components\/(.+?)[\/\.]/.exec(e)||/_components\/(.*)/.exec(e);return s&&s[1]}}}]); /* window.modules["693"] */ "use strict";(self.modules=self.modules||[]).push([["693"],{693:(e,s,t)=>{let l=t("3836");e.exports=function(e){l.strCheck(e);let s=/_layouts\/(.+?)[\/\.]/.exec(e)||/_layouts\/(.*)/.exec(e);return s&&s[1]}}}]); /* window.modules["694"] */ "use strict";(self.modules=self.modules||[]).push([["694"],{694:(s,e,l)=>{let t=l("116");s.exports=function(s){return t(s,"__fields.status")||null}}}]); /* window.modules["695"] */ "use strict";(self.modules=self.modules||[]).push([["695"],{695:(e,s,t)=>{let l=t("3836");e.exports=function(e){l.strCheck(e);let s=/\/_components\/.+?@(.+)/.exec(e);return s&&s[1]}}}]); /* window.modules["696"] */ "use strict";(self.modules=self.modules||[]).push([["696"],{696:t=>{t.exports=function(t,n){let s;return t.component?(s=[t.component,t.instance,t.path],t.initialFocus&&s.push(t.initialFocus)):t.tab&&(s=["kiln",t.tab,t.sites,t.query].concat(n)),s?`#${s.join("~")}`:""}}}]); /* window.modules["697"] */ "use strict";(self.modules=self.modules||[]).push([["697"],{697:(e,s,t)=>{let l=t("3836");e.exports=function(e){l.strCheck(e);let s=/\/_pages\/([^\.\/]+)/.exec(e);return s&&s[1]}}}]); /* window.modules["698"] */ "use strict";(self.modules=self.modules||[]).push([["698"],{698:(e,s,t)=>{let l=t("3836");e.exports=function(e){l.strCheck(e);let s=/\/_pages\/.+?@(.+)/.exec(e);return s&&s[1]}}}]); /* window.modules["699"] */ "use strict";(self.modules=self.modules||[]).push([["699"],{699:(e,s,t)=>{let l=t("3836");e.exports=function(e){l.strCheck(e);let s=/\/_lists\/(.*)/.exec(e);return s&&s[1]}}}]); /* window.modules["700"] */ "use strict";(self.modules=self.modules||[]).push([["700"],{700:(s,e,t)=>{let i=t("3836");s.exports=function(s){return i.strCheck(s),s.split(/\/_(pages|components|lists|uris|schedule|users|layouts|sites|permissions|groups|content_migrations|syndication)/)[0]}}}]); /* window.modules["701"] */ "use strict";(self.modules=self.modules||[]).push([["701"],{701:(e,t,s)=>{let l=s("116");e.exports=(e,t)=>{let s=t.split(".");if(3===s.length&&s[1].match(/^\d+$/)){let t=l(e,`${s[0]}._has.props`);if(t)return t.filter(e=>e.prop===s[2]).shift()}return l(e,t)}}}]); /* window.modules["702"] */ "use strict";(self.modules=self.modules||[]).push([["702"],{702:s=>{let e={PAGES:"_pages",COMPONENTS:"_components",LAYOUTS:"_layouts",URIS:"_uris",LISTS:"_lists",USERS:"_users",GROUPS:"_groups",PERMISSIONS:"_permissions",MIGRATIONS:"_content_migrations",SCHEDULE:"_schedule",SITES:"_sites"};s.exports=s=>Object.values(e).find(e=>s.includes(e))}}]); /* window.modules["703"] */ "use strict";(self.modules=self.modules||[]).push([["703"],{703:(e,s,t)=>{let l=t("116");e.exports=e=>l(e,"__sharedComponentMeta.parent._ref")}}]); /* window.modules["704"] */ "use strict";(self.modules=self.modules||[]).push([["704"],{704:(e,s,t)=>{let r=t("116");e.exports=e=>{let s=r(e,"__sharedComponentMeta");return"object"==typeof s&&!Array.isArray(s)&&null!==s}}}]); /* window.modules["705"] */ "use strict";(self.modules=self.modules||[]).push([["705"],{705:e=>{e.exports=e=>e&&["apikey","clay"].includes(e.provider)}}]); /* window.modules["706"] */ "use strict";(self.modules=self.modules||[]).push([["706"],{706:(e,s,r)=>{let o=r("704");e.exports=e=>o(e)&&Array.isArray(e.__sharedComponentMeta.overrides)&&e.__sharedComponentMeta.overrides.length>0}}]); /* window.modules["707"] */ "use strict";(self.modules=self.modules||[]).push([["707"],{707:(s,e,l)=>{let t=l("703");s.exports=s=>!!t(s)}}]); /* window.modules["708"] */ "use strict";(self.modules=self.modules||[]).push([["708"],{708:(e,s,t)=>{let o=t("3836");e.exports=function(e){return o.strCheck(e),e.toLowerCase().indexOf("/_components/")>-1}}}]); /* window.modules["709"] */ "use strict";(self.modules=self.modules||[]).push([["709"],{709:(e,s,t)=>{let l=t("694"),u=t("717");e.exports=function(e,s){let t=l(s);return u(e)||!!t&&"active-inserted"!==t}}}]); /* window.modules["710"] */ "use strict";(self.modules=self.modules||[]).push([["710"],{710:(e,s,t)=>{let o=t("3836");e.exports=function(e){return o.strCheck(e),e.toLowerCase().indexOf("/_layouts/")>-1}}}]); /* window.modules["711"] */ "use strict";(self.modules=self.modules||[]).push([["711"],{711:(e,s,t)=>{let u=t("3836"),l=t("710"),r=t("690");e.exports=function(e){return u.strCheck(e),l(e)&&!!r(e)&&!!e.match(/\/meta$/i)}}}]); /* window.modules["712"] */ "use strict";(self.modules=self.modules||[]).push([["712"],{712:(e,s,t)=>{let o=t("3836");e.exports=function(e){return o.strCheck(e),!!e.match(/\/_components\/[A-Za-z0-9\-]+$/)}}}]); /* window.modules["713"] */ "use strict";(self.modules=self.modules||[]).push([["713"],{713:(s,e,t)=>{let u=t("3836");s.exports=function(s){return u.strCheck(s),!!s.match(/\/_layouts\/[A-Za-z0-9\-]+$/)}}}]); /* window.modules["714"] */ "use strict";(self.modules=self.modules||[]).push([["714"],{714:(e,s,t)=>{let o=t("3836");e.exports=function(e){return o.strCheck(e),e.toLowerCase().indexOf("/_pages/")>-1}}}]); /* window.modules["715"] */ "use strict";(self.modules=self.modules||[]).push([["715"],{715:(e,s,t)=>{let u=t("3836"),l=t("714");e.exports=function(e){return u.strCheck(e),l(e)&&!!e.match(/\/meta$/i)}}}]); /* window.modules["716"] */ "use strict";(self.modules=self.modules||[]).push([["716"],{716:(e,s,t)=>{let o=t("116"),l=t("707");e.exports=e=>{let s=o(e,"__sharedComponentMeta.isSharedComponent")||!1;return!l(e)&&s}}}]); /* window.modules["717"] */ "use strict";(self.modules=self.modules||[]).push([["717"],{717:(e,s,t)=>{let u=t("3836");e.exports=function(e){return u.strCheck(e),-1!==e.indexOf("@published")}}}]); /* window.modules["718"] */ "use strict";(self.modules=self.modules||[]).push([["718"],{718:(s,e,l)=>{let t=l("716"),u=l("707");s.exports=s=>t(s)||u(s)}}]); /* window.modules["719"] */ "use strict";(self.modules=self.modules||[]).push([["719"],{719:(e,s,t)=>{let l=t("116"),o=t("697");e.exports=e=>"shared-component"===o(l(e,"meta.uri")||"")}}]); /* window.modules["720"] */ "use strict";(self.modules=self.modules||[]).push([["720"],{720:(e,s,t)=>{let l=t("3836");e.exports=function(e){return l.strCheck(e),e.toLowerCase().indexOf("/_lists/")>-1}}}]); /* window.modules["721"] */ "use strict";(self.modules=self.modules||[]).push([["721"],{721:(e,s,t)=>{let r=t("3836");e.exports=function(e){return r.strCheck(e),e.toLowerCase().indexOf("/_uris/")>-1}}}]); /* window.modules["722"] */ "use strict";(self.modules=self.modules||[]).push([["722"],{722:(e,s,t)=>{let r=t("3836");e.exports=function(e){return r.strCheck(e),e.toLowerCase().indexOf("/_users/")>-1}}}]); /* window.modules["723"] */ "use strict";(self.modules=self.modules||[]).push([["723"],{723:(e,t,l)=>{let o=l("608"),s=l("3872"),c=l("2779");e.exports=function(e,t=c,l=c){let n;let u=[],r=[e];for(;r.length;)n=s(r.pop(),(e,t)=>o(e)&&l(e,t)),u=u.concat(s(n,t)),r=r.concat(n);return u}}}]); /* window.modules["724"] */ "use strict";(self.modules=self.modules||[]).push([["724"],{724:(e,s,t)=>{let l=t("723"),o=t("716");e.exports=e=>l(e,"_ref",(e,s)=>!o(e)&&"__sharedComponentMeta"!==s)}}]); /* window.modules["725"] */ "use strict";(self.modules=self.modules||[]).push([["725"],{725:(e,r,s)=>{let l=s("3524"),t=s("716"),f=s("723");e.exports=e=>{let r=l((Array.isArray(e)?e:f(e,"_ref")).filter(t),"_ref");return f(r,"_ref")}}}]); /* window.modules["726"] */ "use strict";(self.modules=self.modules||[]).push([["726"],{726:(e,s,t)=>{let l=t("3836");e.exports=function(e,s){l.strCheck(e);let t=e.split("@")[0];return s&&(t+=`@${s}`),t}}}]); /* window.modules["727"] */ "use strict";(self.modules=self.modules||[]).push([["727"],{727:(e,f,r)=>{let s=r("724"),l=r("726");e.exports=function(e,f){e._ref&&(e._ref=l(e._ref,f)),s(e).forEach(e=>{e._ref=l(e._ref,f)})}}}]); /* window.modules["728"] */ "use strict";(self.modules=self.modules||[]).push([["728"],{728:(e,s,o)=>{let r=o("116"),t=o("707");e.exports=(e,s)=>{t(e)&&r(e,"__sharedComponentMeta.overrides")&&!e.__sharedComponentMeta.overrides.includes(s)&&e.__sharedComponentMeta.overrides.push(s)}}}]); /* window.modules["729"] */ "use strict";(self.modules=self.modules||[]).push([["729"],{729:(e,s,t)=>{let l=t("3836");e.exports=function(e,s){var t=s.slug,r=s.host,u=s.path,$=s.prefix,f=-1!==e.indexOf("/_");return $||($=u&&u.length>1?`${r}${u}`:r),l.strCheck(e),e.replace(`${$}${f?"/":""}`,`${t}${f?"/":""}`)}}}]); /* window.modules["730"] */ "use strict";(self.modules=self.modules||[]).push([["730"],{730:(e,s,t)=>{let l=t("3836");e.exports=function(e,s){var t=s.slug,r=s.host,u=s.path,$=s.prefix,f=-1!==e.indexOf("/_");return $||($=u&&u.length>1?`${r}${u}`:r),l.strCheck(e),e.replace(`${t}${f?"/":""}`,`${$}${f?"/":""}`)}}}]); /* window.modules["731"] */ "use strict";(self.modules=self.modules||[]).push([["731"],{731:(e,s,t)=>{let r=t("3836");e.exports=function(e,s,t=!1){var o,l,n,p=s.slug,u=s.host,c=s.path,f=s.prefix;return r.strCheck(e),f||(f=c&&c.length>1?`${u}${c}`:u),o=`${t?'"_ref":':""}"${f}/_components/`,l=`${t?'"_ref":':""}"${p}/_components/`,n=RegExp(o,"g"),e.replace(n,l)}}}]); /* window.modules["732"] */ "use strict";(self.modules=self.modules||[]).push([["732"],{732:(e,t,s)=>{let r=s("3836");e.exports=function(e,t=!1){return function(s){var n,o,u=e.slug,l=e.host,p=e.path,c=e.prefix;return r.strCheck(s),c||(c=p&&p.length>1?`${l}${p}`:l),n=`${t?'"_ref":':""}"${c}/_components/`,o=RegExp(`${t?'"_ref":':""}"${u}/_components/`,"g"),s.replace(o,n)}}}}]); /* window.modules["733"] */ "use strict";(self.modules=self.modules||[]).push([["733"],{733:e=>{e.exports=function(e,t){return e.__meta||(e.__meta={}),e.__meta.createdLeafPage=t,e}}}]); /* window.modules["734"] */ "use strict";(self.modules=self.modules||[]).push([["734"],{734:(e,s,t)=>{let l=t("116"),o=t("102");e.exports=e=>!o(e)&&l(e,"__sharedComponentMeta.isActive",!0)}}]); /* window.modules["735"] */ "use strict";(self.modules=self.modules||[]).push([["735"],{735:e=>{e.exports=function(e){return e.__meta?e.__meta.createdLeafPage:void 0}}}]); /* window.modules["736"] */ "use strict";(self.modules=self.modules||[]).push([["736"],{736:e=>{e.exports=function(e,o){return{createdFromPage:e,createdFromComponent:o}}}}]); /* window.modules["737"] */ "use strict";(self.modules=self.modules||[]).push([["737"],{737:(n,o,t)=>{let e=t("692");n.exports=function(n,o,t=[]){if(!o)return;let i=e(n);o.componentVariation&&t.includes(o.componentVariation)&&(i=o.componentVariation),o.componentVariation=i}}}]); /* window.modules["738"] */ "use strict";(self.modules=self.modules||[]).push([["738"],{738:(e,$)=>{Object.defineProperty($,"__esModule",{value:!0}),$.default=function(e){return e=(e=(e=(e=(e=(e=(e=(e=(e=e.replace(/'(tis|twas)/gi,"’$1")).replace(/'(\d0s)/gi,"’$1")).replace(/(\S)'(\S)/gi,"$1’$2").replace(/(\S)'(\S)/gi,"$1’$2")).replace(/'(n)'/gi,"’$1’")).replace(/(^|\s)(?:"(.*?)"|'(.*?[^(?:o|ol|s)])')(\s|$)/,"$1‘$2$3’$4")).replace(/(o|ol)'/gi,"$1’")).replace(/(s)'(\s|$)/gi,"$1’$2")).replace(/(^|\s)['"](.*?)/gi,"$1‘$2")).replace(/(.*?)['"](\s|$)/gi,"$1’$2")},e.exports=$.default}}]); /* window.modules["739"] */ "use strict";(self.modules=self.modules||[]).push([["739"],{739:(e,s,t)=>{let l=t("3932"),o=/\s?|(]*>|]*>|]+>)+/i,m=RegExp(l.map(e=>`]*>`).join("|"),"i");e.exports=e=>o.test(e)||m.test(e)}}]); /* window.modules["740"] */ (self.modules=self.modules||[]).push([["740"],{740:(r,e,t)=>{var o=t("745"),s=t("3873"),u=Object.prototype.hasOwnProperty;r.exports=function(r){if(!o(r))return s(r);var e=[];for(var t in Object(r))u.call(r,t)&&"constructor"!=t&&e.push(t);return e}}}]); /* window.modules["741"] */ (self.modules=self.modules||[]).push([["741"],{741:(e,r,t)=>{var c=t("3878"),o=t("3879"),s=t("3880"),n=t("3881"),a=t("3882"),u=t("3025"),b=t("3883"),j="[object Map]",w="[object Promise]",f="[object Set]",i="[object WeakMap]",l="[object DataView]",p=b(c),v=b(o),d=b(s),m=b(n),h=b(a),M=u;(c&&M(new c(new ArrayBuffer(1)))!=l||o&&M(new o)!=j||s&&M(s.resolve())!=w||n&&M(new n)!=f||a&&M(new a)!=i)&&(M=function(e){var r=u(e),t="[object Object]"==r?e.constructor:void 0,c=t?b(t):"";if(c)switch(c){case p:return l;case v:return j;case d:return w;case m:return f;case h:return i}return r}),e.exports=M}}]); /* window.modules["742"] */ (self.modules=self.modules||[]).push([["742"],{742:(e,l,r)=>{var t=r("3884"),o=r("3026"),n=Object.prototype,s=n.hasOwnProperty,u=n.propertyIsEnumerable,a=t(function(){return arguments}())?t:function(e){return o(e)&&s.call(e,"callee")&&!u.call(e,"callee")};e.exports=a}}]); /* window.modules["743"] */ (self.modules=self.modules||[]).push([["743"],{743:(e,l,s)=>{var u=s("3525"),n=s("3886");e.exports=function(e){return null!=e&&n(e.length)&&!u(e)}}}]); /* window.modules["744"] */ (self.modules=self.modules||[]).push([["744"],{744:(e,o,s)=>{e=s.nmd(e);var d=s("3593"),f=s("3885"),p=o&&!o.nodeType&&o,r=p&&e&&!e.nodeType&&e,u=r&&r.exports===p?d.Buffer:void 0,l=u?u.isBuffer:void 0;e.exports=l||f}}]); /* window.modules["745"] */ (self.modules=self.modules||[]).push([["745"],{745:o=>{var t=Object.prototype;o.exports=function(o){var e=o&&o.constructor;return o===("function"==typeof e&&e.prototype||t)}}}]); /* window.modules["746"] */ (self.modules=self.modules||[]).push([["746"],{746:(s,e,l)=>{var r=l("3887"),d=l("3888"),o=l("3889"),p=o&&o.isTypedArray,u=p?d(p):r;s.exports=u}}]); /* window.modules["748"] */ (self.modules=self.modules||[]).push([["748"],{748:(e,r,l)=>{var s=l("3895"),n=l("3894");e.exports=function e(r,l,o,t,u){var f=-1,a=r.length;for(o||(o=n),u||(u=[]);++f0&&o(h)?l>1?e(h,l-1,o,t,u):s(u,h):t||(u[u.length]=h)}return u}}}]); /* window.modules["749"] */ (self.modules=self.modules||[]).push([["749"],{749:(e,s,u)=>{var l=u("2779"),o=u("3896"),r=u("3898");e.exports=function(e,s){return r(o(e,s,l),e+"")}}}]); /* window.modules["750"] */ (self.modules=self.modules||[]).push([["750"],{750:r=>{r.exports=function(r){var e={};function t(n){if(e[n])return e[n].exports;var o=e[n]={i:n,l:!1,exports:{}};return r[n].call(o.exports,o,o.exports,t),o.l=!0,o.exports}return t.m=r,t.c=e,t.i=function(r){return r},t.d=function(r,e,n){t.o(r,e)||Object.defineProperty(r,e,{configurable:!1,enumerable:!0,get:n})},t.n=function(r){var e=r&&r.__esModule?function(){return r.default}:function(){return r};return t.d(e,"a",e),e},t.o=function(r,e){return Object.prototype.hasOwnProperty.call(r,e)},t.p="",t(t.s=88)}([function(r,e){var t=Array.isArray;r.exports=t},function(r,e,t){var n=t(153),o=t(40),a=/[T ]/,i=/:/,u=/^(\d{2})$/,s=[/^([+-]\d{2})$/,/^([+-]\d{3})$/,/^([+-]\d{4})$/],c=/^(\d{4})/,l=[/^([+-]\d{4})/,/^([+-]\d{5})/,/^([+-]\d{6})/],f=/^-(\d{2})$/,p=/^-?(\d{3})$/,d=/^-?(\d{2})-?(\d{2})$/,h=/^-?W(\d{2})$/,g=/^-?W(\d{2})-?(\d{1})$/,m=/^(\d{2}([.,]\d*)?)$/,v=/^(\d{2}):?(\d{2}([.,]\d*)?)$/,b=/^(\d{2}):?(\d{2}):?(\d{2}([.,]\d*)?)$/,y=/([Z+-].*)$/,x=/^(Z)$/,w=/^([+-])(\d{2})$/,A=/^([+-])(\d{2}):?(\d{2})$/;function E(r,e,t){e=e||0,t=t||0;var n=new Date(0);n.setUTCFullYear(r,0,4);var o=7*e+t+1-(n.getUTCDay()||7);return n.setUTCDate(n.getUTCDate()+o),n}r.exports=function(r,e){if(o(r))return new Date(r.getTime());if("string"!=typeof r)return new Date(r);var t=(e||{}).additionalDigits;t=null==t?2:Number(t);var D=function(r){var e,t={},n=r.split(a);if(i.test(n[0])?(t.date=null,e=n[0]):(t.date=n[0],e=n[1]),e){var o=y.exec(e);o?(t.time=e.replace(o[1],""),t.timezone=o[1]):t.time=e}return t}(r),S=function(r,e){var t,n=s[e],o=l[e];if(t=c.exec(r)||o.exec(r)){var a=t[1];return{year:parseInt(a,10),restDateString:r.slice(a.length)}}if(t=u.exec(r)||n.exec(r)){var i=t[1];return{year:100*parseInt(i,10),restDateString:r.slice(i.length)}}return{year:null}}(D.date,t),k=S.year,q=function(r,e){if(null===e)return null;if(0===r.length)return(n=new Date(0)).setUTCFullYear(e),n;if(t=f.exec(r))return n=new Date(0),o=parseInt(t[1],10)-1,n.setUTCFullYear(e,o),n;if(t=p.exec(r)){n=new Date(0);var t,n,o,a=parseInt(t[1],10);return n.setUTCFullYear(e,0,a),n}if(t=d.exec(r)){n=new Date(0),o=parseInt(t[1],10)-1;var i=parseInt(t[2],10);return n.setUTCFullYear(e,o,i),n}return(t=h.exec(r))?E(e,parseInt(t[1],10)-1):(t=g.exec(r))?E(e,parseInt(t[1],10)-1,parseInt(t[2],10)-1):null}(S.restDateString,k);if(q){var T,_,C,O,L,R,P,j=q.getTime(),N=0;if(D.time&&(T=D.time,N=(_=m.exec(T))?parseFloat(_[1].replace(",","."))%24*36e5:(_=v.exec(T))?parseInt(_[1],10)%24*36e5+6e4*parseFloat(_[2].replace(",",".")):(_=b.exec(T))?parseInt(_[1],10)%24*36e5+6e4*parseInt(_[2],10)+1e3*parseFloat(_[3].replace(",",".")):null),D.timezone)O=D.timezone,P=((L=x.exec(O))?0:(L=w.exec(O))?(R=60*parseInt(L[2],10),"+"===L[1]?-R:R):(L=A.exec(O))?(R=60*parseInt(L[2],10)+parseInt(L[3],10),"+"===L[1]?-R:R):0)*6e4;else{var B=j+N,I=new Date(B);P=n(I);var M=new Date(B);M.setDate(I.getDate()+1);var U=n(M)-n(I);U>0&&(P+=U)}return new Date(j+N+P)}return new Date(r)}},function(r,e,t){"use strict";e.__esModule=!0,e.extend=u,e.indexOf=function(r,e){for(var t=0,n=r.length;t":">",'"':""","'":"'","`":"`","=":"="},o=/[&<>"'`=]/g,a=/[&<>"'`=]/;function i(r){return n[r]}function u(r){for(var e=1;e12?e%12:e},hh:function(r){return f(c.h(r),2)},m:function(r){return r.getMinutes()},mm:function(r){return f(r.getMinutes(),2)},s:function(r){return r.getSeconds()},ss:function(r){return f(r.getSeconds(),2)},S:function(r){return Math.floor(r.getMilliseconds()/100)},SS:function(r){return f(Math.floor(r.getMilliseconds()/10),2)},SSS:function(r){return f(r.getMilliseconds(),3)},Z:function(r){return l(r.getTimezoneOffset(),":")},ZZ:function(r){return l(r.getTimezoneOffset())},X:function(r){return Math.floor(r.getTime()/1e3)},x:function(r){return r.getTime()}};function l(r,e){e=e||"";var t=Math.abs(r);return(r>0?"-":"+")+f(Math.floor(t/60),2)+e+f(t%60,2)}function f(r,e){for(var t=Math.abs(r).toString();t.lengtho?0:o+e),(t=t>o?o:t)t?0:t-e>>>0,e>>>=0;for(var a=Array(o);++n/g;return function(t,n,o){t=t||"";var a,i,u,s=0,c=0,l="",f="",p=!1;for("string"==typeof n?n=function(r){for(var t,n=[];null!==(t=e.exec(r));)n.push(t[1]);return 0!==n.length?n:null}(n):Array.isArray(n)||(n=null),a=0,i=t.length;a":if(c){c--;break}if(p)break;if(1==s){p=s=0,n&&(f+=">",function(){var e,t,a,i="",u=!1;r:for(e=0,t=f.length;e":break r;case"/":u=!0;break;default:if(a.match(r)){if(u)break r}else u=!0,i+=a}-1!==n.indexOf(i)?l+=f:o&&(l+=o),f=""}());break}if(2==s||3==s&&"-"==t[a-1]&&"-"==t[a-2]){p=s=0,f="";break}d(u);break;case'"':case"'":1==s&&(p==u?p=!1:p||(p=u)),d(u);break;case"!":if(1==s&&"0?Math.floor(t):Math.ceil(t)}},function(r,e,t){var n=t(155),o=t(1),a=t(157),i=t(42);r.exports=function(r,e,t){var u=t||{},s=n(r,e),c=u.locale,l=i.distanceInWords.localize;c&&c.distanceInWords&&c.distanceInWords.localize&&(l=c.distanceInWords.localize);var f,p,d,h={addSuffix:!!u.addSuffix,comparison:s};s>0?(f=o(r),p=o(e)):(f=o(e),p=o(r));var g=Math[u.partialMethod?String(u.partialMethod):"floor"],m=a(p,f),v=p.getTimezoneOffset()-f.getTimezoneOffset(),b=g(m/60)-v;if("s"===(d=u.unit?String(u.unit):b=i.getTime()?t+1:e.getTime()>=s.getTime()?t:t-1}},function(r,e){r.exports=function(r){return r instanceof Date}},function(r,e,t){var n=t(43);r.exports=function(r,e){var t=n(r),o=n(e);return t.getTime()===o.getTime()}},function(r,e,t){var n=t(161),o=t(162);r.exports={distanceInWords:n(),format:o()}},function(r,e,t){var n=t(1);r.exports=function(r){var e=n(r);return e.setHours(0,0,0,0),e}},function(r,e,t){var n=t(154);r.exports=function(r,e){return n(r,-Number(e))}},function(r,e,t){"use strict";function n(r){return r&&r.__esModule?r:{default:r}}e.__esModule=!0,e.HandlebarsEnvironment=l;var o=t(2),a=n(t(4)),i=t(46),u=t(168),s=n(t(48)),c=t(47);function l(r,e,t){this.helpers=r||{},this.partials=e||{},this.decorators=t||{},i.registerDefaultHelpers(this),u.registerDefaultDecorators(this)}e.VERSION="4.7.9",e.COMPILER_REVISION=8,e.LAST_COMPATIBLE_COMPILER_REVISION=7,e.REVISION_CHANGES={1:"= 2.0.0-beta.1",7:">= 4.0.0 = 4.3.0"},l.prototype={constructor:l,logger:s.default,log:s.default.log,registerHelper:function(r,e){if("[object Object]"===o.toString.call(r)){if(e)throw new a.default("Arg not supported with multiple helpers");o.extend(this.helpers,r)}else this.helpers[r]=e},unregisterHelper:function(r){delete this.helpers[r]},registerPartial:function(r,e){if("[object Object]"===o.toString.call(r))o.extend(this.partials,r);else{if(void 0===e)throw new a.default('Attempting to register a partial called "'+r+'" as undefined');this.partials[r]=e}},unregisterPartial:function(r){delete this.partials[r]},registerDecorator:function(r,e){if("[object Object]"===o.toString.call(r)){if(e)throw new a.default("Arg not supported with multiple decorators");o.extend(this.decorators,r)}else this.decorators[r]=e},unregisterDecorator:function(r){delete this.decorators[r]},resetLoggedPropertyAccesses:function(){c.resetLoggedProperties()}};var f=s.default.log;e.log=f,e.createFrame=o.createFrame,e.logger=s.default},function(r,e,t){"use strict";function n(r){return r&&r.__esModule?r:{default:r}}e.__esModule=!0,e.registerDefaultHelpers=function(r){o.default(r),a.default(r),i.default(r),u.default(r),s.default(r),c.default(r),l.default(r)},e.moveHelperToHooks=function(r,e,t){r.helpers[e]&&(r.hooks[e]=r.helpers[e],t||(r.helpers[e]=void 0))};var o=n(t(170)),a=n(t(171)),i=n(t(172)),u=n(t(173)),s=n(t(174)),c=n(t(175)),l=n(t(176))},function(r,e,t){"use strict";e.__esModule=!0,e.createProtoAccessControl=function(r){var e=Object.create(null);e.__proto__=!1,o.extend(e,r.allowedProtoProperties);var t=Object.create(null);return t.constructor=!1,t.__defineGetter__=!1,t.__defineSetter__=!1,t.__lookupGetter__=!1,t.__lookupSetter__=!1,o.extend(t,r.allowedProtoMethods),{properties:{whitelist:e,defaultValue:r.allowProtoPropertiesByDefault},methods:{whitelist:t,defaultValue:r.allowProtoMethodsByDefault}}},e.resultIsAllowed=function(r,e,t){var n,o;return n="function"==typeof r?e.methods:e.properties,o=t,void 0!==n.whitelist[o]?!0===n.whitelist[o]:void 0!==n.defaultValue?n.defaultValue:(!0!==i[o]&&(i[o]=!0,a.default.log("error",'Handlebars: Access has been denied to resolve the property "'+o+'" because it is not an "own property" of its parent.\nYou can add a runtime option to disable the check or this warning:\nSee https://handlebarsjs.com/api-reference/runtime-options.html#options-to-control-prototype-access for details')),!1)},e.resetLoggedProperties=function(){Object.keys(i).forEach(function(r){delete i[r]})};var n,o=t(2),a=(n=t(48))&&n.__esModule?n:{default:n},i=Object.create(null)},function(r,e,t){"use strict";e.__esModule=!0;var n=t(2),o={methodMap:["debug","info","warn","error"],level:"info",lookupLevel:function(r){if("string"==typeof r){var e=n.indexOf(o.methodMap,r.toLowerCase());r=e>=0?e:parseInt(r,10)}return r},log:function(r){if(r=o.lookupLevel(r),"undefined"!=typeof console&&o.lookupLevel(o.level)1?t-1:0),a=1;a-1&&r%1==0&&r-1:!!l&&n(r,e,t)>-1}},function(r,e){r.exports=function(){return!1}},function(r,e,t){var n=t(202),o=t(58),a=t(30),i=t(0),u=t(7),s=t(73),c=t(61),l=t(76),f=Object.prototype.hasOwnProperty;r.exports=function(r){if(null==r)return!0;if(u(r)&&(i(r)||"string"==typeof r||"function"==typeof r.splice||s(r)||l(r)||a(r)))return!r.length;var e=o(r);if("[object Map]"==e||"[object Set]"==e)return!r.size;if(c(r))return!n(r).length;for(var t in r)if(f.call(r,t))return!1;return!0}},function(r,e){r.exports=function(r){return"number"==typeof r&&r>-1&&r%1==0&&r1),e}),u(r,l(r),t),c&&(t=o(t,7,s));for(var f=e.length;f--;)a(t,e[f]);return t});r.exports=f},function(r,e,t){var n=t(5),o=t(217);r.exports=function(r,e){return r&&r.length?o(r,n(e,3)):[]}},function(r,e,t){var n=t(266),o=1/0;r.exports=function(r){return r?(r=n(r))===o||r===-o?(r1)for(var t=1;t= 2.0.0-beta.1",7:">= 4.0.0 = 4.3.0"};var f="[object Object]";n.prototype={constructor:n,logger:c.default,log:c.default.log,registerHelper:function(r,e){if(a.toString.call(r)===f){if(e)throw new i.default("Arg not supported with multiple helpers");a.extend(this.helpers,r)}else this.helpers[r]=e},unregisterHelper:function(r){delete this.helpers[r]},registerPartial:function(r,e){if(a.toString.call(r)===f)a.extend(this.partials,r);else{if(void 0===e)throw new i.default('Attempting to register a partial called "'+r+'" as undefined');this.partials[r]=e}},unregisterPartial:function(r){delete this.partials[r]},registerDecorator:function(r,e){if(a.toString.call(r)===f){if(e)throw new i.default("Arg not supported with multiple decorators");a.extend(this.decorators,r)}else this.decorators[r]=e},unregisterDecorator:function(r){delete this.decorators[r]},resetLoggedPropertyAccesses:function(){l.resetLoggedProperties()}};var p=c.default.log;e.log=p,e.createFrame=a.createFrame,e.logger=c.default},function(r,e){"use strict";function t(r){return o[r]}function n(r){for(var e=1;e":">",'"':""","'":"'","`":"`","=":"="},a=/[&<>"'`=]/g,i=/[&<>"'`=]/,u=Object.prototype.toString;e.toString=u;var s=function(r){return"function"==typeof r};s(/x/)&&(e.isFunction=s=function(r){return"function"==typeof r&&"[object Function]"===u.call(r)}),e.isFunction=s;var c=Array.isArray||function(r){return!(!r||"object"!=typeof r)&&"[object Array]"===u.call(r)};e.isArray=c},function(r,e,t){"use strict";function n(r,e){var t=e&&e.loc,i=void 0,u=void 0,s=void 0,c=void 0;t&&(i=t.start.line,u=t.end.line,s=t.start.column,c=t.end.column,r+=" - "+i+":"+s);for(var l=Error.prototype.constructor.call(this,r),f=0;f0?(t.ids&&(t.ids=[t.name]),r.helpers.each(e,t)):o(this);if(t.data&&t.ids){var i=n.createFrame(t.data);i.contextPath=n.appendContextPath(t.data.contextPath,t.name),t={data:i}}return a(e,t)})},r.exports=e.default},function(r,e,t){"use strict";var n=t(12).default,o=t(42).default,a=t(54).default,i=t(59).default,u=t(2).default;e.__esModule=!0;var s=t(4),c=u(t(5));e.default=function(r){r.registerHelper("each",function(r,e){function t(e,t,n){d&&(d.key=e,d.index=t,d.first=0===t,d.last=!!n,h&&(d.contextPath=h+e)),p+=u(r[e],{data:d,blockParams:s.blockParams([r[e],e],[h+e,null])})}if(!e)throw new c.default("Must pass iterator to #each");var u=e.fn,l=e.inverse,f=0,p="",d=void 0,h=void 0;if(e.data&&e.ids&&(h=s.appendContextPath(e.data.contextPath,e.ids[0])+"."),s.isFunction(r)&&(r=r.call(this)),e.data&&(d=s.createFrame(e.data)),r&&"object"==typeof r){if(s.isArray(r))for(var g,m=r.length;fo;)I(r,t=n[o++],e[t]);return r},U=function(r,e){return void 0===e?E(r):M(E(r),e)},F=function(r){var e=C.call(this,r);return!(e||!a(this,r)||!a(L,r)||a(this,_)&&this[_][r])||e},H=function(r,e){var t=w(r=y(r),e);return!t||!a(L,e)||a(r,_)&&r[_][e]||(t.enumerable=!0),t},V=function(r){for(var e,t=D(y(r)),n=[],o=0;t.length>o;)a(L,e=t[o++])||e==_||n.push(e);return n},z=function(r){for(var e,t=D(y(r)),n=[],o=0;t.length>o;)a(L,e=t[o++])&&n.push(L[e]);return n},G=c(function(){var r=S();return"[null]"!=q([r])||"{}"!=q({a:r})||"{}"!=q(Object(r))});R||(s((S=function(){if(B(this))throw TypeError("Symbol is not a constructor");return N(p(arguments.length>0?arguments[0]:void 0))}).prototype,"toString",function(){return this._k}),B=function(r){return r instanceof S},n.create=U,n.isEnum=F,n.getDesc=H,n.setDesc=I,n.setDescs=M,n.getNames=g.get=V,n.getSymbols=z,i&&!t(40)&&s(P,"propertyIsEnumerable",F,!0));var Y={for:function(r){return a(O,r+="")?O[r]:O[r]=S(r)},keyFor:function(r){return h(O,r)},useSetter:function(){T=!0},useSimple:function(){T=!1}};n.each.call("hasInstance,isConcatSpreadable,iterator,match,replace,search,species,split,toPrimitive,toStringTag,unscopables".split(","),function(r){var e=d(r);Y[r]=R?e:N(e)}),T=!0,u(u.G+u.W,{Symbol:S}),u(u.S,"Symbol",Y),u(u.S+!R*u.F,"Object",{create:U,defineProperty:I,defineProperties:M,getOwnPropertyDescriptor:H,getOwnPropertyNames:V,getOwnPropertySymbols:z}),k&&u(u.S+u.F*(!R||G),"JSON",{stringify:function(r){if(void 0!==r&&!B(r)){for(var e,t,n=[r],o=1,a=arguments;a.length>o;)n.push(a[o++]);return"function"==typeof(e=n[1])&&(t=e),!t&&v(e)||(e=function(r,e){if(t&&(e=t.call(this,r,e)),!B(e))return e}),n[1]=e,q.apply(k,n)}}}),f(S,"Symbol"),f(Math,"Math",!0),f(o.JSON,"JSON",!0)},function(r,e){var t=r.exports="undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")();"number"==typeof __g&&(__g=t)},function(r,e){var t={}.hasOwnProperty;r.exports=function(r,e){return t.call(r,e)}},function(r,e,t){r.exports=!t(18)(function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a})},function(r,e){r.exports=function(r){try{return!!r()}catch(r){return!0}}},function(r,e,t){var n=t(15),o=t(20),a=t(21),i="prototype",u=function(r,e,t){var s,c,l,f=r&u.F,p=r&u.G,d=r&u.S,h=r&u.P,g=r&u.B,m=r&u.W,v=p?o:o[e]||(o[e]={}),b=p?n:d?n[e]:(n[e]||{})[i];for(s in p&&(t=e),t)(c=!f&&b&&s in b)&&s in v||(l=c?b[s]:t[s],v[s]=p&&"function"!=typeof b[s]?t[s]:g&&c?a(l,n):m&&b[s]==l?function(r){var e=function(e){return this instanceof r?new r(e):r(e)};return e[i]=r[i],e}(l):h&&"function"==typeof l?a(Function.call,l):l,h&&((v[i]||(v[i]={}))[s]=l))};u.F=1,u.G=2,u.S=4,u.P=8,u.B=16,u.W=32,r.exports=u},function(r,e){var t=r.exports={version:"1.2.6"};"number"==typeof __e&&(__e=t)},function(r,e,t){var n=t(22);r.exports=function(r,e,t){if(n(r),void 0===e)return r;switch(t){case 1:return function(t){return r.call(e,t)};case 2:return function(t,n){return r.call(e,t,n)};case 3:return function(t,n,o){return r.call(e,t,n,o)}}return function(){return r.apply(e,arguments)}}},function(r,e){r.exports=function(r){if("function"!=typeof r)throw TypeError(r+" is not a function!");return r}},function(r,e,t){r.exports=t(24)},function(r,e,t){var n=t(8),o=t(25);r.exports=t(17)?function(r,e,t){return n.setDesc(r,e,o(1,t))}:function(r,e,t){return r[e]=t,r}},function(r,e){r.exports=function(r,e){return{enumerable:!(1&r),configurable:!(2&r),writable:!(4&r),value:e}}},function(r,e,t){var n=t(15),o="__core-js_shared__",a=n[o]||(n[o]={});r.exports=function(r){return a[r]||(a[r]={})}},function(r,e,t){var n=t(8).setDesc,o=t(16),a=t(28)("toStringTag");r.exports=function(r,e,t){r&&!o(r=t?r:r.prototype,a)&&n(r,a,{configurable:!0,value:e})}},function(r,e,t){var n=t(26)("wks"),o=t(29),a=t(15).Symbol;r.exports=function(r){return n[r]||(n[r]=a&&a[r]||(a||o)("Symbol."+r))}},function(r,e){var t=0,n=Math.random();r.exports=function(r){return"Symbol(".concat(void 0===r?"":r,")_",(++t+n).toString(36))}},function(r,e,t){var n=t(8),o=t(31);r.exports=function(r,e){for(var t,a=o(r),i=n.getKeys(a),u=i.length,s=0;u>s;)if(a[t=i[s++]]===e)return t}},function(r,e,t){var n=t(32),o=t(34);r.exports=function(r){return n(o(r))}},function(r,e,t){var n=t(33);r.exports=Object("z").propertyIsEnumerable(0)?Object:function(r){return"String"==n(r)?r.split(""):Object(r)}},function(r,e){var t={}.toString;r.exports=function(r){return t.call(r).slice(8,-1)}},function(r,e){r.exports=function(r){if(void 0==r)throw TypeError("Can't call method on "+r);return r}},function(r,e,t){var n=t(31),o=t(8).getNames,a={}.toString,i="object"==typeof window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[];r.exports.get=function(r){return i&&"[object Window]"==a.call(r)?function(r){try{return o(r)}catch(r){return i.slice()}}(r):o(n(r))}},function(r,e,t){var n=t(8);r.exports=function(r){var e=n.getKeys(r),t=n.getSymbols;if(t)for(var o,a=t(r),i=n.isEnum,u=0;a.length>u;)i.call(r,o=a[u++])&&e.push(o);return e}},function(r,e,t){var n=t(33);r.exports=Array.isArray||function(r){return"Array"==n(r)}},function(r,e,t){var n=t(39);r.exports=function(r){if(!n(r))throw TypeError(r+" is not an object!");return r}},function(r,e){r.exports=function(r){return"object"==typeof r?null!==r:"function"==typeof r}},function(r,e){r.exports=!0},function(r,e){},function(r,e,t){r.exports={default:t(43),__esModule:!0}},function(r,e,t){t(44),t(50),r.exports=t(28)("iterator")},function(r,e,t){"use strict";var n=t(45)(!0);t(47)(String,"String",function(r){this._t=String(r),this._i=0},function(){var r,e=this._t,t=this._i;return t>=e.length?{value:void 0,done:!0}:(r=n(e,t),this._i+=r.length,{value:r,done:!1})})},function(r,e,t){var n=t(46),o=t(34);r.exports=function(r){return function(e,t){var a,i,u=String(o(e)),s=n(t),c=u.length;return s=c?r?"":void 0:(a=u.charCodeAt(s))56319||s+1===c||(i=u.charCodeAt(s+1))57343?r?u.charAt(s):a:r?u.slice(s,s+2):i-56320+(a-552960?n:t)(r)}},function(r,e,t){"use strict";var n=t(40),o=t(19),a=t(23),i=t(24),u=t(16),s=t(48),c=t(49),l=t(27),f=t(8).getProto,p=t(28)("iterator"),d=!([].keys&&"next"in[].keys()),h="@@iterator",g="keys",m="values",v=function(){return this};r.exports=function(r,e,t,b,y,x,w){c(t,e,b);var A,E,D=function(r){if(!d&&r in T)return T[r];switch(r){case g:case m:return function(){return new t(this,r)}}return function(){return new t(this,r)}},S=e+" Iterator",k=y==m,q=!1,T=r.prototype,_=T[p]||T[h]||y&&T[y],C=_||D(y);if(_){var O=f(C.call(new r));l(O,S,!0),!n&&u(T,h)&&i(O,p,v),k&&_.name!==m&&(q=!0,C=function(){return _.call(this)})}if((!n||w)&&(d||q||!T[p])&&i(T,p,C),s[e]=C,s[S]=v,y){if(A={values:k?C:D(m),keys:x?C:D(g),entries:k?D("entries"):C},w)for(E in A)E in T||a(T,E,A[E]);else o(o.P+o.F*(d||q),e,A)}return A}},function(r,e){r.exports={}},function(r,e,t){"use strict";var n=t(8),o=t(25),a=t(27),i={};t(24)(i,t(28)("iterator"),function(){return this}),r.exports=function(r,e,t){r.prototype=n.create(i,{next:o(1,t)}),a(r,e+" Iterator")}},function(r,e,t){t(51);var n=t(48);n.NodeList=n.HTMLCollection=n.Array},function(r,e,t){"use strict";var n=t(52),o=t(53),a=t(48),i=t(31);r.exports=t(47)(Array,"Array",function(r,e){this._t=i(r),this._i=0,this._k=e},function(){var r=this._t,e=this._k,t=this._i++;return!r||t>=r.length?(this._t=void 0,o(1)):o(0,"keys"==e?t:"values"==e?r[t]:[t,r[t]])},"values"),a.Arguments=a.Array,n("keys"),n("values"),n("entries")},function(r,e){r.exports=function(){}},function(r,e){r.exports=function(r,e){return{value:e,done:!!r}}},function(r,e,t){r.exports={default:t(55),__esModule:!0}},function(r,e,t){t(50),t(44),r.exports=t(56)},function(r,e,t){var n=t(38),o=t(57);r.exports=t(20).getIterator=function(r){var e=o(r);if("function"!=typeof e)throw TypeError(r+" is not iterable!");return n(e.call(r))}},function(r,e,t){var n=t(58),o=t(28)("iterator"),a=t(48);r.exports=t(20).getIteratorMethod=function(r){if(void 0!=r)return r[o]||r["@@iterator"]||a[n(r)]}},function(r,e,t){var n=t(33),o=t(28)("toStringTag"),a="Arguments"==n(function(){return arguments}());r.exports=function(r){var e,t,i;return void 0===r?"Undefined":null===r?"Null":"string"==typeof(t=(e=Object(r))[o])?t:a?n(e):"Object"==(i=n(e))&&"function"==typeof e.callee?"Arguments":i}},function(r,e,t){r.exports={default:t(60),__esModule:!0}},function(r,e,t){t(61),r.exports=t(20).Object.keys},function(r,e,t){var n=t(62);t(63)("keys",function(r){return function(e){return r(n(e))}})},function(r,e,t){var n=t(34);r.exports=function(r){return Object(n(r))}},function(r,e,t){var n=t(19),o=t(20),a=t(18);r.exports=function(r,e){var t=(o.Object||{})[r]||Object[r],i={};i[r]=e(t),n(n.S+n.F*a(function(){t(1)}),"Object",i)}},function(r,e,t){"use strict";var n=t(2).default;e.__esModule=!0;var o=n(t(5));e.default=function(r){r.registerHelper("helperMissing",function(){if(1!=arguments.length)throw new o.default('Missing helper: "'+arguments[arguments.length-1].name+'"')})},r.exports=e.default},function(r,e,t){"use strict";var n=t(2).default;e.__esModule=!0;var o=t(4),a=n(t(5));e.default=function(r){r.registerHelper("if",function(r,e){if(2!=arguments.length)throw new a.default("#if requires exactly one argument");return o.isFunction(r)&&(r=r.call(this)),!e.hash.includeZero&&!r||o.isEmpty(r)?e.inverse(this):e.fn(this)}),r.registerHelper("unless",function(e,t){if(2!=arguments.length)throw new a.default("#unless requires exactly one argument");return r.helpers.if.call(this,e,{fn:t.inverse,inverse:t.fn,hash:t.hash})})},r.exports=e.default},function(r,e){"use strict";e.__esModule=!0,e.default=function(r){r.registerHelper("log",function(){for(var e=[void 0],t=arguments[arguments.length-1],n=0;n=0?e:parseInt(r,10)}return r},log:function(r){if(r=o.lookupLevel(r),"undefined"!=typeof console&&o.lookupLevel(o.level)1?t-1:0),a=1;a=h.LAST_COMPATIBLE_COMPILER_REVISION&&e=0;n--){var o=r[n];"."===o?r.splice(n,1):".."===o?(r.splice(n,1),t++):t&&(r.splice(n,1),t--)}if(e)for(;t--;t)r.unshift("..");return r}function n(r,e){if(r.filter)return r.filter(e);for(var t=[],n=0;n=-1&&!o;a--){var i=a>=0?arguments[a]:r.cwd();if("string"!=typeof i)throw TypeError("Arguments to path.resolve must be strings");i&&(e=i+"/"+e,o="/"===i.charAt(0))}return e=t(n(e.split("/"),function(r){return!!r}),!o).join("/"),(o?"/":"")+e||"."},e.normalize=function(r){var a=e.isAbsolute(r),i="/"===o(r,-1);return(r=t(n(r.split("/"),function(r){return!!r}),!a).join("/"))||a||(r="."),r&&i&&(r+="/"),(a?"/":"")+r},e.isAbsolute=function(r){return"/"===r.charAt(0)},e.join=function(){var r=Array.prototype.slice.call(arguments,0);return e.normalize(n(r,function(r,e){if("string"!=typeof r)throw TypeError("Arguments to path.join must be strings");return r}).join("/"))},e.relative=function(r,t){function n(r){for(var e=0;e=0&&""===r[t];t--);return e>t?[]:r.slice(e,t-e+1)}r=e.resolve(r).substr(1),t=e.resolve(t).substr(1);for(var o=n(r.split("/")),a=n(t.split("/")),i=Math.min(o.length,a.length),u=i,s=0;s=1;--a)if(47===(e=r.charCodeAt(a))){if(!o){n=a;break}}else o=!1;return -1===n?t?"/":".":t&&1===n?"/":r.slice(0,n)},e.basename=function(r,e){var t=function(r){"string"!=typeof r&&(r+="");var e,t=0,n=-1,o=!0;for(e=r.length-1;e>=0;--e)if(47===r.charCodeAt(e)){if(!o){t=e+1;break}}else -1===n&&(o=!1,n=e+1);return -1===n?"":r.slice(t,n)}(r);return e&&t.substr(-1*e.length)===e&&(t=t.substr(0,t.length-e.length)),t},e.extname=function(r){"string"!=typeof r&&(r+="");for(var e=-1,t=0,n=-1,o=!0,a=0,i=r.length-1;i>=0;--i){var u=r.charCodeAt(i);if(47!==u)-1===n&&(o=!1,n=i+1),46===u?-1===e?e=i:1!==a&&(a=1):-1!==e&&(a=-1);else if(!o){t=i+1;break}}return -1===e||-1===n||0===a||1===a&&e===n-1&&e===t+1?"":r.slice(e,n)};var o=function(r,e,t){return r.substr(e,t)}}).call(e,t(82))},function(r,e,t){var n={"./component-list.hbs":166};function o(r){return t(a(r))}function a(r){var e=n[r];if(!(e+1))throw Error("Cannot find module '"+r+"'.");return e}o.keys=function(){return Object.keys(n)},o.resolve=a,r.exports=o,o.id=86},function(r,e,t){"use strict";(function(e){var t;"Set"in e?"function"==typeof Set.prototype.forEach&&(t=!1,new Set([!0]).forEach(function(r){t=r}),!0===t)?r.exports=function(r){var e=[];return new Set(r).forEach(function(r){e.push(r)}),e}:r.exports=function(r){var e=new Set;return r.filter(function(r){if(!e.has(r))return e.add(r),!0})}:r.exports=function(r){for(var e=[],t=0;t component-list (addAnnotatedTextAria content)}}"}},function(r,e,t){"use strict";var n=t(255),o=t(67);r.exports=function(r,e,t){var a,i=[];return e&&(a=e.inSplashDesktopAd||e.inSplashTabletAd||e.inSplashMobileAd),a?(n(r,function(r){var n=function(r){var e=r._ref.match(/\/components\/([A-Za-z\-]+)\/instances\//);if(e&&e.length>=2)return e[1]}(r);i.push(r),n===t&&(e.inSplashMobileAd&&i.push(e.inSplashMobileAd),e.inSplashTabletAd&&i.push(e.inSplashTabletAd),e.inSplashDesktopAd&&i.push(e.inSplashDesktopAd))}),o(i)):r},r.exports.example={code:'{{> component-list (addInSplashAds content this "picks-links-container") }}'}},function(r,e,t){"use strict";var n=t(22);r.exports=function(r,e,t){if(t="number"==typeof t?t:1,r&&e)return r.map(function(r,o){return n(r,"orderedId",e+(o+t))});throw Error('Handlebars Helper "addOrderedIds" needs content and a prefix')},r.exports.example={code:'{{> component-list (addOrderedIds content "annotation-") }}'}},function(r,e,t){"use strict";var n=t(31),o=t(72),a=t(251),i=t(67);r.exports=function(r,e){return i(n(r,function(r){return o(r._ref,"/components/ad/")&&e&&e._ref?a({},r,{_ref:e._ref}):!o(r._ref,"/components/ad/")&&r}))}},function(r,e,t){"use strict";var n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(r){return typeof r}:function(r){return r&&"function"==typeof Symbol&&r.constructor===Symbol&&r!==Symbol.prototype?"symbol":typeof r},o=t(182),a=["__fields","locals"];r.exports=function(r){return o(function r(e,t,o){return null===e?"null":void 0===e?"undefined":"object"!==(void 0===e?"undefined":n(e))?String(e):o.has(e)?"[Circular]":(o.add(e),Array.isArray(e)?"["+e.map(function(e){return r(e,!1,o)}).join(",")+"]":!t&&e._ref?'{"_ref":"'+e._ref+'"}':"{"+Object.keys(e).filter(function(r){return!a.includes(r)}).sort().map(function(t){return'"'+t+'":'+r(e[t],!1,o)}).join(",")+"}")}(r,!0,new WeakSet))},r.exports.example={code:'{{ checksum { a: "1" }}}',result:'"0a02f204"'}},function(r,e,t){"use strict";var n=t(69);r.exports=function(r){var e=!1;return n(r,function(r){if(r.displaySelf&&!e)return e=!0,r})},r.exports.example={code:"{{> component-list (displaySelf content) }}"}},function(r,e,t){"use strict";var n=t(69);r.exports=function(r){return n(r,function(r){return r.displaySelf})},r.exports.example={code:"{{> component-list (displaySelfAll content) }}"}},function(r,e,t){"use strict";r.exports=function(r,e){var t=Array.prototype.slice.call(arguments,2);return(r||[]).filter(function(r){var n=r&&r._ref&&t.find(function(e){return r._ref.indexOf("/"+e+"/")>-1});return e?n:!n})},r.exports.example={code:'{{> component-list (filterComponents content false "some-component" "another-component")}}'}},function(r,e,t){"use strict";r.exports=function(r){var e=/components\/(.+?)[\/\.]/.exec(r)||/components\/(.*)/.exec(r);return e&&e[1]},r.exports.example={code:'{{ getComponentName "domain.com/components/foo" }}',result:"foo"}},function(r,e,t){"use strict";var n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(r){return typeof r}:function(r){return r&&"function"==typeof Symbol&&r.constructor===Symbol&&r!==Symbol.prototype?"symbol":typeof r},o={"===":function(r,e){return r===e},"!==":function(r,e){return r!==e},"":function(r,e){return r>e},"=":function(r,e){return r>=e},typeof:function(r,e){return(void 0===r?"undefined":n(r))===e}};r.exports=function(r,e,t,n){if(arguments.length" 5 }}',result:'"true"'}},function(r,e,t){"use strict";r.exports=function(r,e,t){return void 0===t?(t=e,r?t.fn(this):t.inverse(this)):r?e:t.hash.else||""},r.exports.example={code:'{{ if true "bar" else="baz" }}',result:'"bar"'}},function(r,e,t){"use strict";var n=t(19),o=t(9),a=t(78);r.exports=function(){var r=n(arguments),e=o(arguments);return a(r,function(r){return!0==!!r}).length===r.length?e.fn(this):e.inverse(this)},r.exports.example={code:"{{#ifAll foo bar baz}}\n all are truthy\n{{else}}\n not all are truthy\n{{/ifAll}}"}},function(r,e,t){"use strict";var n=t(19),o=t(9),a=t(70);r.exports=function(){var r=n(arguments),e=o(arguments);return a(r,function(r){return!0==!!r})?e.fn(this):e.inverse(this)},r.exports.example={code:"{{#ifAny foo bar baz}}\n at least one is truthy\n{{else}}\n none are truthy\n{{/ifAny}}"}},function(r,e,t){"use strict";var n=t(19),o=t(9),a=t(70);r.exports=function(){var r=n(arguments),e=o(arguments);return void 0!==a(r,function(r){return!0==!!r})?e.inverse(this):e.fn(this)},r.exports.example={code:"{{#ifNone foo bar baz}}\n all are falsy\n{{else}}\n not all are falsy\n{{/ifNone}}"}},function(r,e,t){"use strict";r.exports=function(r,e,t,n){return r%e===t?!n.fn||n.fn(this):n.inverse?n.inverse(this):""},r.exports.example={code:"{{modulo 3 2 1}}",result:"true"}},function(r,e,t){"use strict";var n=t(19),o=t(9),a=t(78);r.exports=function(){var r=n(arguments),e=o(arguments);return a(r,function(r){return!0==!!r}).length===r.length?e.inverse(this):e.fn(this)},r.exports.example={code:"{{#unlessAll foo bar baz}}\n not all are truthy\n{{else}}\n all are truthy\n{{/ifAll}}"}},function(r,e,t){"use strict";var n=t(33),o=t(272),a=t(183),i=t(31),u=t(9),s=t(74),c=t(3);function l(r){return o(a.decode(n(r.replace(/[^A-Za-z 0-9\.,\?!@#\$%\^&\*\(\)-_=\+;:<>\/\\\|\}\{\[\]~]*/g,""))),{custom:{_:"-"}})}function f(r,e){return''+r+""}r.exports=function(r,e){var t=void 0;return s(r)||!c(r)?"":(t=!1!==e.hash.perLetter,i(r.split(" "),function(r,e,n){var o,a,s;return o=t,a=u(n)===r?"":" ",s=o?i(r.split(""),f).join(""):r,''+s+a+""}).join(""))},r.exports.toSlug=l,r.exports.example={code:'{{{ perWordClasses "One two three" perLetter=false }}}',result:'One two three'}},function(r,e,t){"use strict";r.exports=t(33),r.exports.example={code:'{{ striptags "Hello World!
>1,l=23===h?5960464477539062e-23:0,u=r?0:e-1,N=r?1:-1,n=o=1?o+=l/s:o+=l*Math.pow(2,1-i),o*s>=2&&(f++,s/=2),f+i>=w?(M=0,f=w):f+i>=1?(M=(o*s-1)*Math.pow(2,h),f+=i):(M=o*Math.pow(2,i-1)*Math.pow(2,h),f=0));h>=8;a[t+u]=255&M,u+=N,M/=256,h-=8);for(f=f0;a[t+u]=255&f,u+=N,f/=256,p-=8);a[t+u-N]|=128*n}}}]); /* window.modules["2916"] */ "use strict";(self.modules=self.modules||[]).push([["2916"],{2916:(r,t)=>{t.byteLength=function(r){var t=f(r),e=t[0],o=t[1];return(e+o)*3/4-o},t.toByteArray=function(r){var t,e,a=f(r),h=a[0],u=a[1],c=new n((h+u)*3/4-u),d=0,A=u>0?h-4:h;for(e=0;e>16&255,c[d++]=t>>8&255,c[d++]=255&t;return 2===u&&(t=o[r.charCodeAt(e)]>4,c[d++]=255&t),1===u&&(t=o[r.charCodeAt(e)]>2,c[d++]=t>>8&255,c[d++]=255&t),c},t.fromByteArray=function(r){for(var t,o=r.length,n=o%3,a=[],h=0,u=o-n;h>18&63]+e[n>>12&63]+e[n>>6&63]+e[63&n]);return a.join("")}(r,h,h+16383>u?u:h+16383));return 1===n?a.push(e[(t=r[o-1])>>2]+e[t>10]+e[t>>4&63]+e[t0)throw Error("Invalid string. Length must be a multiple of 4");var e=r.indexOf("=");-1===e&&(e=t);var o=e===t?0:4-e%4;return[e,o]}o["-".charCodeAt(0)]=62,o["_".charCodeAt(0)]=63}}]); /* window.modules["2965"] */ "use strict";(self.modules=self.modules||[]).push([["2965"],{2965:e=>{e.exports={of:"de",for:"para","https://www.cnn.com":"https://cnnespanol.cnn.com","See More Videos":"Ver M\xe1s","minute read":"min de lectura",Published:" ",Updated:" ","Draft - created":"Borrador - creado",Clear:"Limpiar",Displaying:"Mostrando","results out of":"resultados de","Sort by":"Ordenar por","Sorting by":"Ordenando por",Newest:"Lo m\xe1s reciente",Relevancy:"Relevancia","Your search for":"Tu b\xfasqueda de","did not match any results":"no coincide con ning\xfan resultado","A few suggestions":"Algunas sugerencias","Make sure all words are spelled correctly":"Aseg\xfarate de que todas las palabras est\xe9n escritas correctamente","Try different keywords":"Prueba diferentes palabras clave","Try more general keywords":"Prueba palabras clave m\xe1s generales",Prev:"Anterior",Next:"Siguiente",Everything:"Todo",Stories:"Art\xedculos",Videos:"Videos",Photos:"Fotos",Play:"Reproducir",Pause:"Pausar",Before:"Antes",After:"Despu\xe9s",Video:"Video","Just now":"Ahora mismo",ago:"Hace",min:"min",hr:"h",hrs:"h",hour:"hora",hours:"horas",minute:"minuto",minutes:"minutos",second:"segundo",seconds:"segundos",Source:"Fuente","Now playing":"En curso","Hide description":"Ocultar descripci\xf3n","Show description":"Mostrar descripci\xf3n",All:"Todos",Oldest:"M\xe1s antiguo",Latest:"M\xe1s reciente","Open social share":"Compartir","Close social share":"Cerrar","Share with X":"Compartir en X","Share with Facebook":"Compartir en Facebook","Share with email":"Compartir con correo","Copy link to clipboard":"Copiar al portapapeles","Link Copied!":"\xa1Enlace copiado!","View on CNN":"Ver en CNN en Espa\xf1ol",Post:"publicaci\xf3n",Posts:"publicaciones",Updates:"Actualizaciones","New Update":"nueva actualizaci\xf3n","New Updates":"nuevas actualizaciones","Newer Post":"nueva publicaci\xf3n","Newer Posts":"nuevas publicaciones","View this interactive content on CNN.com":"Vea este contenido interactivo en CNN en Espa\xf1ol",Advertisement:"Publicidad","Breaking News":"\xdaLTIMA HORA",Analysis:"AN\xc1LISIS","CNN Exclusive":"EXCLUSIVO CNN","CNN Investigates":"INVESTIGACI\xd3N CNN","CNN Underscored":"CNN UNDERSCORED","Live: Expert Analysis":"En vivo: an\xe1lisis de expertos","Live Updates":"MINUTO A MINUTO",Opinion:"OPINI\xd3N",Gallery:"GALER\xcdA","Live Video":"VIDEO EN VIVO",Trending:"TENDENCIA","Related article":"Art\xedculo relacionado","Related video":"Video relacionado","Related gallery":"Galer\xeda relacionado","Related profile":"Perfil relacionado","Related content":"Contenido relacionado","See all updates":"Ver lo m\xe1s reciente","Read more":"Ver m\xe1s","No content available on this page":"No hay contenido disponible en esta p\xe1gina","No content currently available":"No hay contenido disponible actualmente","You are receiving this newsletter because you signed up for":"Recibes este bolet\xedn porque te suscribiste a","Privacy Policy":"Pol\xedtica de Privacidad","Terms of Use":"Condiciones de uso","All Rights Reserved.":"Reservados todos los derechos.","Editor’s Note: ":"Nota del editor: "}}}]); /* window.modules["2966"] */ "use strict";(self.modules=self.modules||[]).push([["2966"],{2966:e=>{e.exports={of:"ل",for:"ل","https://www.cnn.com":"https://arabic.cnn.com",videos:"فيديو","See More Videos":"عرض المزيد","See more videos":"عرض المزيد","minute read":"دقيقة قراءة","two minute read":"دقيقتان قراءة","min read":"دقيقة قراءة","minutes read":"دقائق قراءة","mins read":"دقائق قراءة",Published:"نُشر",Updated:"آخر تحديث","Draft - created":"مسودة - تم إنشاؤها",Clear:"امسح",Displaying:"عرض النتائج","Hide description":"إظهار محتوى أقل","Show description":"قراءة المزيد","results out of":"من إجمالي","Sort by":"فرز حسب","Sorting by":"الترتيب حسب",Newest:"الأحدث",Relevancy:"الصلة","Your search for":"بحثك عن","did not match any results":"لم تتطابق مع أي نتائج","A few suggestions":"بعض الاقتراحات","Make sure all words are spelled correctly":"تأكد من كتابة جميع الكلمات بشكل صحيح","Try different keywords":"جرب كلمات رئيسية مختلفة","Try more general keywords":"حاول استخدام كلمات رئيسية أكثر عمومية",Prev:"السابق",Next:"التالي",Everything:"الكل",Stories:"النصوص",Videos:"مقاطع الفيديو",Photos:"الصور",photos:"صورة",photo:"صور",Source:"مصدر","Now playing":"يُعرض حاليًا",Advertisement:"محتوى إعلاني","Middle East":"الشرق الأوسط","Saudi Arabia":"السعودية",Egypt:"مصر",UAE:"الإمارات",GCC:"الخليج",Syria:"سوريا","North Africa":"المغرب العربي",World:"العالم",US:"الولايات المتحدة",Russia:"روسيا",China:"الصين",EU:"أوروبا",Africa:"إفريقيا",Travel:"سياحة",Destination:" وجهات سياحية",Restaurants:"مذاقات",Hotels:"فنادق",Adventure:"مغامرات",Sport:"رياضة","English Premier League":"الدوري الإنجليزي",LaLiga:"الدوري الإسباني","Saudi Pro League":"الدوري السعودي","Egyptian League":"الدوري المصري","Health & Science":"علوم وصحة",Nutrition:"غذاء",Fitness:"لياقة بدنية","Mental Health":"صحة نفسية",Pathology:"أمراض",Environment:"استدامة","Scientific Discoveries":"اكتشافات علمية",Entertainment:"منوعات",Showbiz:"أخبار الفن",Celebrities:"مشاهير",Series:"مسلسلات",Style:"ستايل",Art:"فنون",Fashion:"أزياء وجمال",Design:"تصاميم وعمارة",Architecture:"عمارة",Beauty:"جمال",Miscellaneous:"متفرقات",Technology:"تكنولوجيا",Business:"اقتصاد",Video:"فيديو",video:"فيديو",Specials:"سبوت لايت","Updated a min ago":"آخر تحديث منذ دقيقة","Updated 2 min ago":"آخر تحديث منذ دقيقتين","a min ago":"نُشر منذ دقيقة","2 min ago":"نُشر منذ دقيقتين",Play:"تشغيل",Pause:"إيقاف مؤقت",Before:"قبل",After:"بعد","Just now":"الآن",ago:"منذ",second:"ثانية",seconds:"ثوانٍ",minute:"دقيقة","two minutes":"دقيقتين",minutes:"دقائق",hour:"ساعة","two hours":"ساعتين",hours:"ساعات","Published since":"نُشر منذ","Published 1 hour ago":"نُشر منذ ساعة","Published 2 hours ago":"نُشر منذ ساعتين","Last updated since":"آخر تحديث منذ","Last update":"آخر تحديث","Updated 1 hour ago":"آخر تحديث منذ ساعة","Updated 2 hours ago":"آخر تحديث منذ ساعتين","Related article":"قد يهمك أيضاً","Related video":"قد يهمك أيضاً",Share:"شارك",Email:"بريد إلكتروني",Link:"رابط",Tweet:"(تويتر سابقا)",Facebook:"فيسبوك",Whatsapp:"واتساب","Share with Facebook":"شارك على فيسبوك","Share with X":"X شارك على","Share with Whatsapp":"شارك عبر واتساب","Share with email":"شارك عبر البريد الإلكتروني","Copy link to clipboard":"انسخ الرابط","Link Copied!":"تم نسخ الرابط","You may also be interested in":"قد يهمك أيضًا","Sorry, we can't subscribe you right now, please try later.":"عذرًا، لا يمكننا إكمال اشتراكك حاليًا. يرجى المحاولة لاحقًا.","Sorry, we can't register you right now, please try later.":"عذرًا، لا يمكننا تسجيلك الآن، يرجى المحاولة لاحقًا.","Sorry, we can't log you in right now, please try later.":"عذرًا، لا يمكننا تسجيل دخولك الآن، يرجى المحاولة لاحقًا.","Sorry, we can't unsubscribe you right now, please try later.":"عذرًا، لا يمكننا إلغاء اشتراكك حاليًا. يرجى المحاولة لاحقًا.","You entered an incorrect password":"لقد أدخلت كلمة مرور غير صحيحة","Email address is required":"يرجى إدخال عنوان البريد إلكتروني.","Email must not exceed 255 characters":"يجب ألا يتجاوز البريد الإلكتروني 255 حرفًا.","Please enter a valid email address":"يرجى إدخال عنوان بريد إلكتروني صحيح.","Breaking News":"خبر عاجل",Gallery:"صور",Trending:"تريند","Live Updates":"تغطية مباشرة",Updates:"تحديثات",Analysis:"تحليل",Opinion:"رأي","CNN EXCLUSIVE":"حصري من CNN","CNN Investigates":"تحقيقات CNN",Live:"بث مباشر","Fact Check":"رادار",Quiz:"اختبار","CNN Poll":"استطلاع CNN","First on CNN":"أولًا على CNN","CNN Projection":"إحصاء CNN","For Subscribers":"للمشتركين",Podcast:"بودكاست",Review:"مراجعة",Audio:"صوت","No content available on this page":"لا يوجد محتوى متاح على هذه الصفحة","No content currently available":"لا يوجد محتوى متاح حالياً","Editor’s Note: ":"ملاحظة المحرر: "}}}]); /* window.modules["2967"] */ "use strict";(self.modules=self.modules||[]).push([["2967"],{2967:(l,e,s)=>{let{triggerRegWall:n}=s("754"),{getPaywallTemplateData:t,wallTypes:u}=s("753"),{isSubOnlyFreeAccessAllowed:i,getMeterData:o,payMeterConfig:a}=s("598"),{getRegionFlag:c}=s("83"),{checkAndRenderRegiwall:r}=s("767");l.exports={checkAndRenderSubOnlyPaywall:({el:l,isLoggedIn:e,manageWallVisibility:s,isRegiwallEnabled:d})=>{let m;let{subOnlyWallCount:y}=o({...a,shouldIncrementWallCount:!1,shouldIncrementSubOnlyWallCount:!0}),A=!1,b=!1,f=c("regwallAllowSubOnlyAccess");if(d&&f){let l=i(e);A=!e&&!l,b=e&&l}if(A)r({el:l,manageWallVisibility:s,isLoggedIn:e,isSubOnlyWall:!0,dismissible:!1,isComplimentaryAccess:!0}),m=!0;else if(!b){let i=t({wallCount:y,wallType:u.EXCLUSIVE_PAYWALL,isLoggedIn:e});n(l,{isLoggedIn:e,...i},s),m=!0}return m}}}}]); /* window.modules["2970"] */ (self.modules=self.modules||[]).push([["2970"],{2970:(e,l,s)=>{var u=s("748");e.exports=function(e){return(null==e?0:e.length)?u(e,1):[]}}}]); /* window.modules["2981"] */ (self.modules=self.modules||[]).push([["2981"],{2981:e=>{e.exports=function(e,l){for(var r=-1,s=null==e?0:e.length,u=Array(s);++r{var l=s("752"),o=s("763"),u=s("3243");e.exports=function(e,r,s){for(var f=-1,n=r.length,t={};++f{var l=u("4027"),o=u("4028"),r=u("3595");e.exports=function(e){return l(e,r,o)}}}]); /* window.modules["2984"] */ (self.modules=self.modules||[]).push([["2984"],{2984:(e,l,s)=>{var u=s("3530");e.exports=function(e){return null==e?"":u(e)}}}]); /* window.modules["2985"] */ (self.modules=self.modules||[]).push([["2985"],{2985:(e,s,l)=>{var o=l("4029")("toUpperCase");e.exports=o}}]); /* window.modules["2987"] */ "use strict";(self.modules=self.modules||[]).push([["2987"],{2987:e=>{let s=e=>window.FAVE?.player?.getInstance?.(e);e.exports={getFaveInstance:s,whenPlayerReady:(e,l)=>{if(s(e)){l();return}window.addEventListener(e,l,{once:!0})},releaseOtherPlayers:e=>{let s=e?.getConfigs?.()?.player;s&&(s.pauseOtherPlayersOnPlay=!1)}}}}]); /* window.modules["2988"] */ "use strict";(self.modules=self.modules||[]).push([["2988"],{2988:e=>{let t={NEXT_SLIDE_ACTION:"next",PREV_SLIDE_ACTION:"prev"};e.exports={setupTapEvents:(e,s,r)=>{if(!e||!s||!r)return console.error("Missing required elements for tap events"),()=>{};e.addEventListener("click",e=>{let n=e.target.dataset.tapAction;n===t.NEXT_SLIDE_ACTION?s():n===t.PREV_SLIDE_ACTION&&r()})},TAP_CONSTANTS:t}}}]); /* window.modules["2989"] */ "use strict";(self.modules=self.modules||[]).push([["2989"],{2989:(e,t,n)=>{let{trackMetrics:a}=n("33"),{getStellarId:r}=n("323"),i=e=>{let t=r(e.dataset.uri);return{componentName:e.dataset.headline||"",componentStellarId:t,componentType:"slide"}},l=(e,t,n=1,r="auto")=>{let{componentName:l,componentStellarId:o,componentType:s}=i(e);a({type:"user-interaction",data:{interaction:"module load",componentName:l,componentStellarId:o,componentType:s,progressType:r,slideCount:t,slideNumber:n}})},o=(e,t,n,r)=>{let{componentName:l,componentStellarId:o,componentType:s}=i(e);a({type:"user-interaction",data:{interaction:"module click",componentName:l,componentStellarId:o,componentType:s,progressType:r,slideCount:t,slideNumber:n}})},s=e=>{let{componentName:t,componentStellarId:n,componentType:r}=i(e);a({type:"user-interaction",data:{interaction:"module click",componentName:t,componentStellarId:n,componentType:r,actionType:"replay"}})},c=(e,t)=>{let n=i(e);a({type:"user-interaction",data:{interaction:"module click",componentName:n.componentName,componentStellarId:n.componentStellarId,componentType:"slide",actionType:t}})};e.exports={setupSlidesAnalyticsTracking:(e,t,n)=>{try{let a=new IntersectionObserver(e=>{e.forEach(({isIntersecting:e,intersectionRatio:r,target:i})=>{e&&r>=.5&&(l(t,n,1,"auto"),a.unobserve(i))})},{threshold:.5}),r=t.querySelector(".card_slide__item-media-wrapper");return r&&a.observe(r),e.addEventListener("slides:activeSlideChanged",e=>{let{activeSlideIndex:a,progressType:r}=e.detail||{};r&&o(t,n,a+1,r)}),e.addEventListener("slides:restartClick",()=>{s(t)}),e.addEventListener("slides:pausePlayAction",e=>{let{actionType:n}=e.detail||{};n&&c(t,n)}),a}catch(e){return console.error("Error setting up slides analytics tracking:",e),null}}}}}]); /* window.modules["2990"] */ "use strict";(self.modules=self.modules||[]).push([["2990"],{2990:s=>{s.exports={startActiveProgressBar:function({progressBars:s,activeIndex:e,finishedClass:n,remainingTime:t,onSegmentComplete:r,paused:a=!1}){let l=null;return s.forEach((s,i)=>{s.classList.toggle(n,i{s?t.pause():t.play()},cancelCurrentProgress:()=>{t.onfinish=null,t.finish()}}}(s,t,()=>{s.classList.add(n),r?.()}),a&&l.setPaused(!0))}),l}}}}]); /* window.modules["2991"] */ "use strict";(self.modules=self.modules||[]).push([["2991"],{2991:e=>{e.exports={dispatchNamespacedEvent:function(e,s,t,c={}){e.dispatchEvent(new CustomEvent(`${s}:${t}`,{bubbles:!1,cancelable:!0,detail:c}))}}}}]); /* window.modules["2994"] */ "use strict";(self.modules=self.modules||[]).push([["2994"],{2994:(E,_,S)=>{let{PROGRESSION_CONSTANTS:R}=S("347"),t={VIEWER_SELECTOR:R.VIEWER_SELECTOR,ACTIVE_FRAME_CLASS:R.ACTIVE_ITEM_CLASS,PEEK_FRAME_CLASSES:R.PEEK_ITEM_CLASSES,FRAMES_CONTAINER_SELECTOR:R.FRAMES_CONTAINER_SELECTOR,EVENT_CONTAINER_SELECTOR:R.CONTROL_PANEL_SELECTOR,DEFAULT_PROGRESSION_TIME:1e4,PROGRESS_BAR_SELECTOR:R.PROGRESS_BAR_SELECTOR,PROGRESS_BAR_FINISHED_CLASS:R.PROGRESS_BAR_FINISHED_CLASS,PROGRESS_SEGMENT_SELECTOR:R.PROGRESS_SEGMENT_SELECTOR,VIDEO_PLAYER_SELECTOR:"[data-component-name=video-player]",LOOP_SELECTOR:"[data-component-name=interactive-video] video",MUTE_TOGGLE_SELECTOR:".container_dynamic-spotlight__mute-toggle",PAUSE_TOGGLE_SELECTOR:".container_dynamic-spotlight__pause-toggle",LEAD_SELECTOR:".container_dynamic-spotlight__lead",FRAME_INTERACTIVE_CONTENT_SELECTOR:".container_dynamic-spotlight__text, .card__cta-btns, .container_dynamic-spotlight__talent-byline",FRAME_LINK_SELECTOR:".container_dynamic-spotlight__link",FRAME_TEXT_SELECTOR:".container_dynamic-spotlight__text",SPOTLIGHT_CONTAINER_SELECTOR:".container_dynamic-spotlight"};E.exports={DS_CONSTANTS:t}}}]); /* window.modules["2995"] */ "use strict";(self.modules=self.modules||[]).push([["2995"],{2995:(e,t,n)=>{let{TAP_CONSTANTS:r}=n("2988"),{dispatchNamespacedEvent:l}=n("2991"),{PROGRESSION_CONSTANTS:i}=n("347"),{ACTIVE_ITEM_CLASS:u,TAP_AREA_SELECTOR:c,TAP_AREA_ZONE_PREV_CLASS:o,TAP_AREA_ZONE_NEXT_CLASS:a,TAP_ACTION_SELECTOR:s}=i,E=`.${u}`,p=`${c} ${s}`,f=`[data-tap-action="${r.PREV_SLIDE_ACTION}"]`,g=`[data-tap-action="${r.NEXT_SLIDE_ACTION}"]`,I=e=>e.querySelector(E)?.querySelector(c),T=e=>{if(Number.isFinite(e.clientX)&&Number.isFinite(e.clientY))return{x:e.clientX,y:e.clientY};let t=e.changedTouches?.[0]??e.touches?.[0];return t?{x:t.clientX,y:t.clientY}:null},_=e=>e&&e.width>0&&e.height>0,d=({x:e,y:t},n)=>_(n)&&e>=n.left&&e=n.top&&t{if(!e)return null;if(e.classList.contains(o))return r.PREV_SLIDE_ACTION;if(e.classList.contains(a))return r.NEXT_SLIDE_ACTION;let t=e.getAttribute("data-tap-action");return t===r.PREV_SLIDE_ACTION||t===r.NEXT_SLIDE_ACTION?t:null},N=(e,t)=>{let n=e.target.closest(s);if(n&&t.contains(n))return n;let r=T(e);if(!r)return null;let l=document.elementFromPoint(r.x,r.y),i=l?.closest?.(s);if(i&&t.contains(i)&&_(i.getBoundingClientRect()))return i;let u=t.querySelector(f),c=t.querySelector(g);return d(r,u?.getBoundingClientRect())?u:d(r,c?.getBoundingClientRect())?c:null},m=(e,t)=>{if(!t)return!1;if(t.contains(e.target))return!0;let n=T(e);return!!n&&(d(n,t.getBoundingClientRect())||!!N(e,t))};e.exports={setupMobileTapNavigation:function(e,t){if(!e.querySelector(c)||!t)return{setEnabled:()=>{},cleanup:()=>{}};let{EVENT_PREFIX:n,EVENTS:u}=i,o=[],a=e=>{if(e===r.NEXT_SLIDE_ACTION){l(t,n,u.NEXT_CLICK,{progressType:"manual"});return}e===r.PREV_SLIDE_ACTION&&l(t,n,u.PREV_CLICK,{progressType:"manual"})},s=e=>{let t=e.currentTarget;if(!t.closest(E))return;let n=C(t);n&&(e.preventDefault(),e.stopImmediatePropagation(),a(n))},f=t=>{for(;o.length;){let{button:e,handler:t}=o.pop();e.removeEventListener("click",t,!0)}t&&e.querySelectorAll(p).forEach(e=>{e.addEventListener("click",s,!0),o.push({button:e,handler:s})})};return{setEnabled:f,cleanup:()=>f(!1)}},isClickInActiveFrameTapArea:function(e,t){return m(e,I(t))},getTapActionFromButton:C,findTapButton:N}}}]); /* window.modules["2996"] */ "use strict";(self.modules=self.modules||[]).push([["2996"],{2996:e=>{let t=e=>"none"===getComputedStyle(e).display;e.exports={observeDynamicSpotlightStackedLayout:function(e,o){let s=t(e);o(s);let l=new ResizeObserver(e=>{for(let t of e){let{width:e,height:l}=t.contentRect,n=el.disconnect()}}}}]); /* window.modules["2997"] */ "use strict";(self.modules=self.modules||[]).push([["2997"],{2997:(e,t,s)=>{let n=s("31").setup({file:"/index.js"});e.exports={getActiveItemIndex:function(e,t,s){let n=t.querySelector(`.${s}`),i=e.indexOf(n);return i>=0?i:0},switchActiveItem:function(e,t,s,i){if(e=t.length)return n("warn",`Invalid item index: ${e}. Must be between 0 and ${t.length-1}`),s;let l=t[e],r=t[s];return l&&r&&e!==s?(r.classList.remove(i),l.classList.add(i),e):s},markPeekItems:function(e,t,s){e.forEach(e=>e?.classList.remove(...s)),s.forEach((s,n)=>{let i=(t+n+1)%e.length;i!==t&&e[i]?.classList.add(s)})}}}}]); /* window.modules["2998"] */ (self.modules=self.modules||[]).push([["2998"],{2998:(e,s,u)=>{var l=u("2786"),o=u("4030"),r=u("362");e.exports=function(e,s){return r(e,o(l(s)))}}}]); /* window.modules["3010"] */ "use strict";(self.modules=self.modules||[]).push([["3010"],{3010:s=>{s.exports={boldFirstWord:function(s){if(!s||"string"!=typeof s)return s;let t=s.indexOf(" ");if(-1===t)return`${s}`;let r=s.substring(0,t),n=s.substring(t);return`${r}${n}`}}}}]); /* window.modules["3016"] */ "use strict";(self.modules=self.modules||[]).push([["3016"],{3016:(r,e,t)=>{let o=t("4083"),p=t("396"),l=t("4084");function u(r,e){return!!(o(e)||p(e)||l(e))}r.exports={isValidPropertyValueArgs:u,propertyValue:function(r,e,t){if(!r?.trim?.()?.length)throw Error(`Invalid propertyId provided: (${r}, ${e})`);if(!u(r,e))throw Error(`Invalid propertyValue provided: (${r}, ${e})`);return{"@type":"PropertyValue",propertyID:r,name:t||r,value:e}}}}}]); /* window.modules["3024"] */ (self.modules=self.modules||[]).push([["3024"],{3024:(e,t,r)=>{var o=r("4091"),c=r("4093"),n=r("3899"),a=r("4092"),b=r("4094"),j=r("4095"),i=r("3936"),u=r("4096"),f=r("4097"),y=r("4098"),A=r("2983"),l=r("741"),s=r("4099"),v=r("4100"),d=r("4101"),m=r("607"),p=r("744"),g=r("4102"),E=r("608"),F=r("4103"),U=r("4104"),h=r("3595"),I="[object Arguments]",S="[object Function]",w="[object Object]",x={};x[I]=x["[object Array]"]=x["[object ArrayBuffer]"]=x["[object DataView]"]=x["[object Boolean]"]=x["[object Date]"]=x["[object Float32Array]"]=x["[object Float64Array]"]=x["[object Int8Array]"]=x["[object Int16Array]"]=x["[object Int32Array]"]=x["[object Map]"]=x["[object Number]"]=x[w]=x["[object RegExp]"]=x["[object Set]"]=x["[object String]"]=x["[object Symbol]"]=x["[object Uint8Array]"]=x["[object Uint8ClampedArray]"]=x["[object Uint16Array]"]=x["[object Uint32Array]"]=!0,x["[object Error]"]=x[S]=x["[object WeakMap]"]=!1,e.exports=function e(t,r,B,D,M,k){var C,G=1&r,N=2&r,O=4&r;if(B&&(C=M?B(t,D,M,k):B(t)),void 0!==C)return C;if(!E(t))return t;var R=m(t);if(R){if(C=s(t),!G)return i(t,C)}else{var V=l(t),W=V==S||"[object GeneratorFunction]"==V;if(p(t))return j(t,G);if(V==w||V==I||W&&!M){if(C=N||W?{}:d(t),!G)return N?f(t,b(C,t)):u(t,a(C,t))}else{if(!x[V])return M?t:{};C=v(t,V,G)}}k||(k=new o);var q=k.get(t);if(q)return q;k.set(t,C),F(t)?t.forEach(function(o){C.add(e(o,r,B,o,t,k))}):g(t)&&t.forEach(function(o,c){C.set(c,e(o,r,B,c,t,k))});var z=O?N?A:y:N?h:U,H=R?void 0:z(t);return c(H||t,function(o,c){H&&(o=t[c=o]),n(C,c,e(o,r,B,c,t,k))}),C}}}]); /* window.modules["3025"] */ (self.modules=self.modules||[]).push([["3025"],{3025:(e,o,l)=>{var n=l("4088"),t=l("4089"),u=l("4090"),d=n?n.toStringTag:void 0;e.exports=function(e){return null==e?void 0===e?"[object Undefined]":"[object Null]":d&&d in Object(e)?t(e):u(e)}}}]); /* window.modules["3026"] */ (self.modules=self.modules||[]).push([["3026"],{3026:e=>{e.exports=function(e){return null!=e&&"object"==typeof e}}}]); /* window.modules["3034"] */ (self.modules=self.modules||[]).push([["3034"],{3034:function(i,e,t){var o;!function(r,a){"use strict";var s,n="user-agent",w={FUNCTION:"function",OBJECT:"object",STRING:"string",UNDEFINED:"undefined"},b="browser",d="device",l="engine",c="result",u="name",p="type",h="vendor",m="version",f="architecture",g="major",v="model",k="console",x="mobile",y="tablet",C="smarttv",N="wearable",E="embedded",S="inapp",T="brands",O="formFactors",I="fullVersionList",U="platform",_="platformVersion",q="bitness",D="sec-ch-ua",F=D+"-full-version-list",z=D+"-arch",A=D+"-"+q,B=D+"-form-factors",H=D+"-"+x,j=D+"-"+v,M=D+"-"+U,V=M+"-version",P=[T,I,x,v,U,_,f,O,q],R="Amazon",G="Apple",L="ASUS",$="BlackBerry",W="Google",J="Huawei",X="Lenovo",Y="Honor",Z="Microsoft",Q="Motorola",K="Nvidia",ii="OnePlus",ie="OPPO",it="Samsung",io="Sharp",ir="Sony",ia="Xiaomi",is="Zebra",iw="Chrome",ib="Chromium",id="Chromecast",il="Edge",ic="Firefox",iu="Opera",ip="Facebook",ih="Sogou",im="Mobile ",ig=" Browser",iv="Windows",ik=typeof r!==w.UNDEFINED,ix=ik&&r.navigator?r.navigator:void 0,iy=ix&&ix.userAgentData?ix.userAgentData:void 0,iC=function(i,e){var t={},o=e;if(!iS(e))for(var r in o={},e)for(var a in e[r])o[a]=e[r][a].concat(o[a]?o[a]:[]);for(var s in i)t[s]=o[s]&&o[s].length%2==0?o[s].concat(i[s]):i[s];return t},iN=function(i){for(var e={},t=0;t0){for(var t in i)if(iI(e)==iI(i[t]))return!0;return!1}return!!iT(i)&&iI(e)==iI(i)},iS=function(i,e){for(var t in i)return/^(browser|cpu|device|engine|os)$/.test(t)||!!e&&iS(i[t])},iT=function(i){return typeof i===w.STRING},iO=function(i){if(i){for(var e=[],t=iq(/\\?\"/g,i).split(","),o=0;o-1){var r=iF(t[o]).split(";v=");e[o]={brand:r[0],version:r[1]}}else e[o]=iF(t[o]);return e}},iI=function(i){return iT(i)?i.toLowerCase():i},iU=function(i){return iT(i)?iq(/[^\d\.]/g,i).split(".")[0]:a},i_=function(i){for(var e in i)if(i.hasOwnProperty(e)){var t=i[e];typeof t==w.OBJECT&&2==t.length?this[t[0]]=t[1]:this[t]=a}return this},iq=function(i,e){return iT(e)?e.replace(i,""):e},iD=function(i){return iq(/\\?\"/g,i)},iF=function(i,e){return i=iq(/^\s\s*/,String(i)),typeof e===w.UNDEFINED?i:i.substring(0,e)},iz=function(i,e){if(i&&e)for(var t,o,r,s,n,b,d=0;d0?2===s.length?typeof s[1]==w.FUNCTION?this[s[0]]=s[1].call(this,b):this[s[0]]=s[1]:s.length>=3&&(typeof s[1]!==w.FUNCTION||s[1].exec&&s[1].test?3==s.length?this[s[0]]=b?b.replace(s[1],s[2]):a:4==s.length?this[s[0]]=b?s[3].call(this,b.replace(s[1],s[2])):a:s.length>4&&(this[s[0]]=b?s[3].apply(this,[b.replace(s[1],s[2])].concat(s.slice(4))):a):s.length>3?this[s[0]]=b?s[1].apply(this,s.slice(2)):a:this[s[0]]=b?s[1].call(this,b,s[2]):a):this[s]=b||a;d+=2}},iA=function(i,e){for(var t in e)if(typeof e[t]===w.OBJECT&&e[t].length>0){for(var o=0;o2&&this.set(v,"iPad").set(p,y);break;case"os":!this.get(u)&&iy&&iy[U]&&this.set(u,iy[U]);break;case c:var i=this.data,e=function(e){return i[e].getItem().detectFeature().get()};this.set(b,e(b)).set("cpu",e("cpu")).set(d,e(d)).set(l,e(l)).set("os",e("os"))}return this},iG.prototype.parseUA=function(){switch(this.itemType!=c&&iz.call(this.data,this.ua,this.rgxMap),this.itemType){case b:this.set(g,iU(this.get(m)));break;case"os":if("iOS"==this.get(u)&&"18.6"==this.get(m)){var i=/\) Version\/([\d\.]+)/.exec(this.ua);i&&parseInt(i[1].substring(0,2),10)>=26&&this.set(m,i[1])}}return this},iG.prototype.parseCH=function(){var i=this.uaCH,e=this.rgxMap;switch(this.itemType){case b:case l:var t,o=i[I]||i[T];if(o)for(var r=0;r=13?"11":"10"),this.set(u,N).set(m,E)}this.get(u)==iv&&"Xbox"==i[v]&&this.set(u,"Xbox").set(m,a);break;case c:var S=this.data,D=function(e){return S[e].getItem().setCH(i).parseCH().get()};this.set(b,D(b)).set("cpu",D("cpu")).set(d,D(d)).set(l,D(l)).set("os",D("os"))}return this},iL.VERSION="2.0.9",iL.BROWSER=iN([u,m,g,p]),iL.CPU=iN([f]),iL.DEVICE=iN([v,h,p,k,x,C,y,N,E]),iL.ENGINE=iL.OS=iN([u,m]),typeof e!==w.UNDEFINED?("object"!==w.UNDEFINED&&i.exports&&(e=i.exports=iL),e.UAParser=iL):"function"===w.FUNCTION&&t.amdO?a!==(o=(function(){return iL}).call(e,t,e,i))&&(i.exports=o):ik&&(r.UAParser=iL);var i$=ik&&(r.jQuery||r.Zepto);if(i$&&!i$.ua){var iW=new iL;i$.ua=iW.getResult(),i$.ua.get=function(){return iW.getUA()},i$.ua.set=function(i){iW.setUA(i);var e=iW.getResult();for(var t in e)i$.ua[t]=e[t]}}}("object"==typeof window?window:this)}}]); /* window.modules["3241"] */ (self.modules=self.modules||[]).push([["3241"],{3241:(e,r,n)=>{var s=n("3589"),u=n("743");e.exports=function(e,r){var n=-1,l=u(e)?Array(e.length):[];return s(e,function(e,s,u){l[++n]=r(e,s,u)}),l}}}]); /* window.modules["3242"] */ (self.modules=self.modules||[]).push([["3242"],{3242:(e,l,s)=>{var u=s("3243"),n=s("4032"),o=s("4119"),r=s("3897");e.exports=function(e,l){return l=u(l,e),null==(e=o(e,l))||delete e[r(n(l))]}}}]); /* window.modules["3243"] */ (self.modules=self.modules||[]).push([["3243"],{3243:(e,s,u)=>{var l=u("607"),o=u("4121"),r=u("4120"),f=u("2984");e.exports=function(e,s){return l(e)?e:o(e,s)?[e]:r(f(e))}}}]); /* window.modules["3244"] */ (self.modules=self.modules||[]).push([["3244"],{3244:(r,e,o)=>{var s=o("3899"),v=o("2534");r.exports=function(r,e,o,l){var u=!o;o||(o={});for(var a=-1,d=e.length;++a{var u=o("471");e.exports=function(e){return u(e)?void 0:e}}}]); /* window.modules["3246"] */ (self.modules=self.modules||[]).push([["3246"],{3246:(e,s,o)=>{var u=o("2970"),l=o("3896"),r=o("3898");e.exports=function(e){return r(l(e,void 0,u),e+"")}}}]); /* window.modules["3258"] */ (self.modules=self.modules||[]).push([["3258"],{3258:(n,r,e)=>{var t=e("2981"),u=e("752"),i=e("2786"),o=e("3241"),f=e("4122"),c=e("3888"),l=e("4123"),s=e("2779"),a=e("607");n.exports=function(n,r,e){r=r.length?t(r,function(n){return a(n)?function(r){return u(r,1===n.length?n[0]:n)}:n}):[s];var d=-1;return r=t(r,c(i)),f(o(n,function(n,e,u){return{criteria:t(r,function(r){return r(n)}),index:++d,value:n}}),function(n,r){return l(n,r,e)})}}}]); /* window.modules["3260"] */ (self.modules=self.modules||[]).push([["3260"],{3260:e=>{e.exports=function(e){for(var l=-1,r=null==e?0:e.length,s=0,u=[];++l{e.exports=function(e,l){return null==e||e!=e?l:e}}}]); /* window.modules["3523"] */ (self.modules=self.modules||[]).push([["3523"],{3523:(e,s,t)=>{var o=t("4129")(Object.getPrototypeOf,Object);e.exports=o}}]); /* window.modules["3524"] */ (self.modules=self.modules||[]).push([["3524"],{3524:(e,s,l)=>{var u=l("2786"),n=l("4130");e.exports=function(e,s){return e&&e.length?n(e,u(s,2)):[]}}}]); /* window.modules["3525"] */ (self.modules=self.modules||[]).push([["3525"],{3525:(e,o,n)=>{var t=n("3025"),r=n("608");e.exports=function(e){if(!r(e))return!1;var o=t(e);return"[object Function]"==o||"[object GeneratorFunction]"==o||"[object AsyncFunction]"==o||"[object Proxy]"==o}}}]); /* window.modules["3530"] */ (self.modules=self.modules||[]).push([["3530"],{3530:(r,t,e)=>{var o=e("4088"),i=e("2981"),n=e("607"),u=e("3592"),f=1/0,s=o?o.prototype:void 0,l=s?s.toString:void 0;r.exports=function r(t){if("string"==typeof t)return t;if(n(t))return i(t,r)+"";if(u(t))return l?l.call(t):"";var e=t+"";return"0"==e&&1/t==-f?"-0":e}}}]); /* window.modules["3531"] */ (self.modules=self.modules||[]).push([["3531"],{3531:(e,s,l)=>{var o=l("2780");e.exports=function(e,s,l){var r=e.length;return l=void 0===l?r:l,!s&&l>=r?e:o(e,s,l)}}}]); /* window.modules["3533"] */ (self.modules=self.modules||[]).push([["3533"],{3533:(e,s,u)=>{var l=u("4132"),o=u("4133"),r=u("4134");e.exports=function(e){return o(e)?r(e):l(e)}}}]); /* window.modules["3534"] */ (self.modules=self.modules||[]).push([["3534"],{3534:e=>{var s=/\s/;e.exports=function(e){for(var r=e.length;r--&&s.test(e.charAt(r)););return r}}}]); /* window.modules["3536"] */ (self.modules=self.modules||[]).push([["3536"],{3536:(e,r,u)=>{var n=u("3588"),s=u("4135"),l=u("4136"),o=RegExp("['’]","g");e.exports=function(e){return function(r){return n(l(s(r).replace(o,"")),e,"")}}}}]); /* window.modules["3537"] */ (self.modules=self.modules||[]).push([["3537"],{3537:(l,u,e)=>{var s=e("4137"),n=e("3026");l.exports=function l(u,e,o,r,f){return u===e||(null!=u&&null!=e&&(n(u)||n(e))?s(u,e,o,r,l,f):u!=u&&e!=e)}}}]); /* window.modules["3538"] */ (self.modules=self.modules||[]).push([["3538"],{3538:(e,o,s)=>{var f=s("4091"),i=s("4138"),l=s("4139"),n=s("4140"),u=s("608"),d=s("3595"),v=s("4141");e.exports=function e(o,s,r,t,a){o!==s&&l(s,function(l,d){if(a||(a=new f),u(l))n(o,s,d,r,e,t,a);else{var c=t?t(v(o,d),l,d+"",o,s,a):void 0;void 0===c&&(c=l),i(o,d,c)}},d)}}}]); /* window.modules["3539"] */ (self.modules=self.modules||[]).push([["3539"],{3539:(o,e,n)=>{var t=n("749"),r=n("2787");o.exports=function(o){return t(function(e,n){var t=-1,u=n.length,f=u>1?n[u-1]:void 0,i=u>2?n[2]:void 0;for(f=o.length>3&&"function"==typeof f?(u--,f):void 0,i&&r(n[0],n[1],i)&&(f=u{s.exports=function(s,e){var u="000000000"+s;return u.substr(u.length-e)}}}]); /* window.modules["3580"] */ (self.modules=self.modules||[]).push([["3580"],{3580:(e,t,n)=>{var o=n("3579"),s=Object.keys("object"==typeof window?window:self).length,i=o(((navigator.mimeTypes?navigator.mimeTypes.length:0)+navigator.userAgent.length).toString(36)+s.toString(36),4);e.exports=function(){return i}}}]); /* window.modules["3581"] */ (self.modules=self.modules||[]).push([["3581"],{3581:e=>{var f,n="undefined"!=typeof window&&(window.crypto||window.msCrypto)||"undefined"!=typeof self&&self.crypto;f=n?function(){return Math.abs(n.getRandomValues(new Uint32Array(1))[0]/0xffffffff)}:Math.random,e.exports=f}}]); /* window.modules["3583"] */ "use strict";(self.modules=self.modules||[]).push([["3583"],{3583:(e,u,t)=>{Object.defineProperty(u,"__esModule",{value:!0}),u.default=function(e,u){(0,f.default)(2,arguments);var t=(0,l.default)(u);return(0,d.default)(e,-t)};var l=r(t("658")),d=r(t("3624")),f=r(t("657"));function r(e){return e&&e.__esModule?e:{default:e}}e.exports=u.default}}]); /* window.modules["3587"] */ "use strict";(self.modules=self.modules||[]).push([["3587"],{3587:(t,r,e)=>{let s=e("23"),{AUTH_CLIENT:n}=e("40"),a=e("31").setup({file:"/index.js"});function o(t,r={}){let e=n.api&&n.api.headers,s={Authorization:t,...r};return e&&e["app-id"]&&(s["app-id"]=e["app-id"]),e&&e["X-Client-Application"]&&(s["X-Client-Application"]=e["X-Client-Application"]),s}let u=function(){let t=(s.get("DALTON_API_HOST")||"").trim();if(!t)return null;let r=/^https?:\/\//i.test(t)?t:`https://${t}`;return`${r}/statestorage/api/1/state`}(),c=async t=>{if(!t)return{success:!1,errorStatus:401};if(!u)return a("error","Error getting account consent state: invalid DALTON_API_HOST configuration"),{success:!1,errorStatus:500};try{let r=await fetch(u,{method:"GET",headers:o(t,{Accept:"application/json"})});if(424===r.status)return{success:!1,empty:!0,errorStatus:424};if(!r.ok)return a("error","Error getting account consent state: ",r.status),{success:!1,errorStatus:r.status};let e=await r.json();return{success:!0,errorStatus:null,state:e}}catch(t){return a("error","Error getting account consent state: ",t),{success:!1,errorStatus:500}}},i=async(t,r)=>{if(!t||null==r)return{success:!1,errorStatus:401};if(!u)return a("error","Error saving account consent state: invalid DALTON_API_HOST configuration"),{success:!1,errorStatus:500};try{let e=await fetch(u,{method:"PUT",headers:o(t,{"Content-Type":"application/json"}),body:JSON.stringify(r)});if(!e.ok)return a("error","Error saving account consent state: ",e.status),{success:!1,errorStatus:e.status};return{success:!0,errorStatus:null}}catch(t){return a("error","Error saving account consent state: ",t),{success:!1,errorStatus:500}}};t.exports={getAccountConsentState:c,putAccountConsentState:i}}}]); /* window.modules["3588"] */ (self.modules=self.modules||[]).push([["3588"],{3588:e=>{e.exports=function(e,l,s,u){var n=-1,o=null==e?0:e.length;for(u&&o&&(s=e[++n]);++n{var o=l("3816"),u=l("4172")(o);s.exports=u}}]); /* window.modules["3590"] */ (self.modules=self.modules||[]).push([["3590"],{3590:e=>{e.exports=function(e,s,u,n,o){return o(e,function(e,o,f){u=n?(n=!1,e):s(u,e,o,f)}),u}}}]); /* window.modules["3591"] */ (self.modules=self.modules||[]).push([["3591"],{3591:(e,s,l)=>{var r=l("3534"),u=/^\s+/;e.exports=function(e){return e?e.slice(0,r(e)+1).replace(u,""):e}}}]); /* window.modules["3592"] */ (self.modules=self.modules||[]).push([["3592"],{3592:(e,o,s)=>{var l=s("3025"),t=s("3026");e.exports=function(e){return"symbol"==typeof e||t(e)&&"[object Symbol]"==l(e)}}}]); /* window.modules["3593"] */ (self.modules=self.modules||[]).push([["3593"],{3593:(e,s,l)=>{var t=l("4171"),f="object"==typeof self&&self&&self.Object===Object&&self,o=t||f||Function("return this")();e.exports=o}}]); /* window.modules["3594"] */ (self.modules=self.modules||[]).push([["3594"],{3594:e=>{e.exports=function(e,s){return e===s||e!=e&&s!=s}}}]); /* window.modules["3595"] */ (self.modules=self.modules||[]).push([["3595"],{3595:(e,s,u)=>{var l=u("4173"),o=u("4174"),r=u("743");e.exports=function(e){return r(e)?l(e,!0):o(e)}}}]); /* window.modules["3597"] */ "use strict";(self.modules=self.modules||[]).push([["3597"],{3597:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.getRoundingMethod=function(e){return e?o[e]:o.trunc};var o={ceil:Math.ceil,round:Math.round,floor:Math.floor,trunc:function(e){return e{let l,i;let{mediumMaxWidthListener:o,largeMaxWidthListener:n}=s("32"),{ENABLE_AD_FEEDBACK_VIDEO_ADS:r}=s("20"),{isPageVariant:a,PAGE_VARIANTS:d}=s("7"),{getStickyHeaderRect:c}=s("299"),u=s("307"),{getLanguage:y}=s("9"),_=s("23"),{isVideo:p}=s("17"),f={DEFAULT:"default",PINNED:"pinned"},h="video-resource",m=[d.ARTICLE_ELEVATE_SMALL,d.ARTICLE_ELEVATE_MEDIUM,d.ARTICLE_ELEVATE_LARGE];function g(e,t){let s=e.dataset.headline,l=u(y(),"Now playing"),i=`${s} `;t.insertAdjacentHTML("beforeend",i)}e.exports=e=>{let t,s;let u=e.videoResourceUri,y=p(window.CNN.contentModel),$=a(d.LIVESTORY),v=a(d.ARTICLE_ELEVATE_LARGE);switch(!0){case $:t=".live-story-lede";break;case y:t=".layout-with-bottom-rail__main";break;case v:t=".layout-article-elevate__lede";break;default:t=".article__lede-wrapper"}let E=document.querySelector(t),L=a([d.ARTICLE,d.LIVESTORY,d.VIDEO,...m]),w=_.get("ENABLE_VIDEO_STICKY_ON_LIVESTORY",!1);if(!L||!E||$&&!w)return;let S=E.querySelector(`[data-uri="${u}"]`);if(!S)return;let k=window.FAVE.player.instances[e.markupId],A=S.querySelector(`[data-uri="${u}"] .fave-player-container`),b=document.querySelector(".live-story__floating-buttons"),q=document.body.querySelectorAll(":scope > div[data-uri]"),C=S.querySelector(".ad-feedback-link-container"),x=S.querySelector(`.${h}__wrapper`),R=x.offsetHeight,T=x.offsetTop,I=document.querySelector(".layout__wrapper"),N=document.querySelector(".layout__content-wrapper"),B=document.querySelector(".layout__main-wrapper"),H=document.querySelector(`.${h}__stuck-headline`),V=document.querySelector(`.${h}__close-button`),D=N?.getBoundingClientRect().width,M=B?.getBoundingClientRect().right+3,O=B?.getBoundingClientRect().left,P=0,U=0,Y=0,F=!1;A.setAttribute("video-dismissed","false");let Z=`${D-M-360}px`,G=`${O-360}px`,j=window.CNN.helpers?.isArabicPage?.()===!0;function z(){A.classList.remove(`${h}__stuck`),j?A.style.left=0:A.style.right=0,A.style.top=0,A.style.maxHeight="unset",b&&b.style.removeProperty("top"),C&&(r?(j?C.style.left=0:C.style.right=0,C.style.top=0):C.style.display="none"),x.classList.remove(`${h}__stuck-container`),H&&H.remove(),V&&V.remove(),F&&(k.updateZionCustomMetadata({video_state:f.DEFAULT}),window.CNN.omniture.screen_state=f.DEFAULT),F=!1}function K(){C&&(r?(j?C.style.left=G:C.style.right=Z,C.style.top=`${P}px`):C.style.display="none"),F||(k.updateZionCustomMetadata({video_state:f.PINNED}),window.CNN.omniture.screen_state=f.PINNED),F=!0}function J(){let e=document.createElement("div");e.classList.add(`${h}__close-button`),e.setAttribute("aria-label","Close video"),e.setAttribute("tabIndex",0);let t=()=>{A.setAttribute("video-dismissed","true"),k.pause(),z(),S.querySelector('[class*="play-toggle"]').addEventListener("click",()=>{A.setAttribute("video-dismissed","false")},{once:!0})};e.addEventListener("click",t),e.addEventListener("touchstart",t),A.appendChild(e)}for(let e of(r&&C&&(U=C.getBoundingClientRect().height),o(e=>{l=e}),n(e=>{i=!e}),window.addEventListener("resize",()=>{clearTimeout(s),s=setTimeout(()=>{F&&function(){let e=document.querySelector(`.${h}__stuck-headline`);j?A.style.left=G:A.style.right=Z,A.style.top=P+U,e&&(j?e.style.left=G:e.style.right=Z,e.style.top=202+P+U),C&&(r?(j?C.style.left=G:C.style.right=Z,C.style.top=P):C.style.display="none")}()},100)}),window.addEventListener("cnn.video.change",e=>{let t=document.querySelector(`.${h}__stuck-headline`);S.dataset.headline=e.detail.headline,t&&(t.textContent=e.detail.headline)}),q))Y+=e.offsetHeight;k.updateZionCustomMetadata({video_state:"default"}),window.addEventListener("scroll",()=>{let e=window.pageYOffset,s=c("height")+T+Y+R/2,o=document.querySelector('nav[class^="header"]').offsetHeight;if(H=document.querySelector(`.${h}__stuck-headline`),P=c("bottom")??o,V=document.querySelector(`.${h}__close-button`),$){if(I=document.querySelector(".layout-live-story__wrapper"),N=document.querySelector(".layout-live-story__content-wrapper"),B=S.querySelector(`[data-uri="${u}"] .fave-player-container`),D=N?.getBoundingClientRect().width,M=B?.getBoundingClientRect().right+3,Z="42px",e>s&&"true"!==A.getAttribute("video-dismissed")){let e=H?H.offsetHeight:0;if(A.classList.add(`${h}__stuck`),x.classList.add(`${h}__stuck-container`),l){j?A.style.left=0:A.style.right=0,A.style.top=`${P}px`,A.style.width="100%";let e=.5625*D;A.style.height=`${e}px`,A.style.maxHeight="270px",A.style.animation="none",b.style.top=`${e+70}px`}else j?A.style.left=G:A.style.right=Z,A.style.bottom=`${34+e}px`,A.style.top="unset",H||(g(S,x),H=document.querySelector(`.${h}__stuck-headline`)),H&&(j?H.style.left=G:H.style.right=Z,H.style.top="unset",H.style.bottom="34px");V||J(),K()}else z()}else if(y||a(m)){if(i&&!y){let e=document.querySelector(`${t} .video-inline_carousel`)?".video-inline_carousel__video-resource":t,s=document.querySelector(e).getBoundingClientRect(),l=-(s.height/2);s.tops&&"true"!==A.getAttribute("video-dismissed")){A.classList.add(`${h}__stuck`),x.classList.add(`${h}__stuck-container`),j?A.style.left=0:A.style.right=0,A.style.top=`${P}px`,A.style.width="100%",A.style.maxHeight="none";let e=.5625*D;A.style.height=`${e}px`,A.style.animation="none",V||J(),K()}else z()}}else if(e>s&&!l){let e=I.getBoundingClientRect().bottom,t=A.offsetHeight;if(e{let s=n("116"),w=n("123"),{getCepTopics:t}=n("12"),{isSection:r,SECTIONS:a}=n("19");async function l(e){r(a.HOMEPAGE)&&w(window.FAVE,"settings.freewheel.keyValuePairs.cepTopics",t()),w(window.FAVE,"settings.freewheel.keyValuePairs.playerType","standard"),w(window.FAVE,"settings.freewheel.keyValuePairs.spec",()=>s(window,"CNN.contentModel.branding.spec",null)),w(window.FAVE,"settings.freewheel.keyValuePairs.refdom",()=>s(window,"CNN.adTargets.refdom",null)),w(window.FAVE,"settings.freewheel.keyValuePairs.proximicData",()=>Array.isArray(window.proximicData)?window.proximicData.reduce((e,i)=>({[i]:"pconid",...e}),{}):{}),w(window.FAVE,"settings.freewheel.keyValuePairs.wm_vw","stlr"),w(window.FAVE,"settings.freewheel.keyValuePairs.pg",()=>s(window,"CNN.contentModel.templateType",null)),"uklive"!==e&&(w(window.FAVE,"settings.freewheel.keyValuePairs.guID",()=>window.turner_getGuid()),w(window.FAVE,"settings.freewheel.keyValuePairs.transactionID",()=>window.turner_getTransactionId()))}e.exports={setGlobalValues:l}}}]); /* window.modules["3623"] */ "use strict";(self.modules=self.modules||[]).push([["3623"],{3623:(e,t,u)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){return(0,d.default)(2,arguments),(0,l.default)(e).getTime()-(0,l.default)(t).getTime()};var l=f(u("667")),d=f(u("657"));function f(e){return e&&e.__esModule?e:{default:e}}e.exports=t.default}}]); /* window.modules["3624"] */ "use strict";(self.modules=self.modules||[]).push([["3624"],{3624:(e,t,u)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){(0,s.default)(2,arguments);var u=(0,l.default)(e),d=(0,a.default)(t);return isNaN(d)?new Date(NaN):(d&&u.setDate(u.getDate()+d),u)};var a=d(u("658")),l=d(u("667")),s=d(u("657"));function d(e){return e&&e.__esModule?e:{default:e}}e.exports=t.default}}]); /* window.modules["3625"] */ "use strict";(self.modules=self.modules||[]).push([["3625"],{3625:(e,t,u)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){(0,d.default)(2,arguments);var u=(0,l.default)(e),f=(0,l.default)(t);return u.getTime()>f.getTime()};var l=f(u("667")),d=f(u("657"));function f(e){return e&&e.__esModule?e:{default:e}}e.exports=t.default}}]); /* window.modules["3626"] */ "use strict";(self.modules=self.modules||[]).push([["3626"],{3626:(e,t,u)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){(0,d.default)(2,arguments);var u=(0,l.default)(e),f=(0,l.default)(t);return u.getTime()===f.getTime()};var l=f(u("667")),d=f(u("657"));function f(e){return e&&e.__esModule?e:{default:e}}e.exports=t.default}}]); /* window.modules["3637"] */ "use strict";(self.modules=self.modules||[]).push([["3637"],{3637:e=>{e.exports={paywallConfigs:(e,n,t)=>({NOT_LOGGED_IN:{shouldRender:!0,paywallModal:{shouldRender:!1},access_level:"NOT_LOGGED_IN",modalDescription:{title:"Keep watching with a subscription",text:"Unlock unlimited streaming and articles, including 24/7 global news, award-winning shows and films, and more.",ctaButtonUrl:`https://${window.location.host}/subscription/all-access?source=subwall:preview:sign-up&redirect=${window.location.href}`,ctaButtonCallback:n},signInOptions:[{text:"Already an All Access subscriber?",linkText:"Sign in",linkUrl:`https://${window.location.host}/account/log-in/preview?source=subwall:preview:sign-in&redirect=${window.location.href}`,callback:t},{text:"Get CNN through a TV provider?",linkText:"Connect now",callback:e}]},LOGGED_IN_NO_SUB:{shouldRender:!0,paywallModal:{shouldRender:!1},access_level:"LOGGED_IN_NO_SUB",modalDescription:{title:"Keep watching with a subscription",text:"Unlock unlimited streaming and articles, including 24/7 global news, award-winning shows and films, and more.",ctaButtonUrl:`https://${window.location.host}/subscription/all-access?source=subwall:preview:sign-up&redirect=${window.location.href}`,ctaButtonCallback:n},signInOptions:[{text:"Get CNN through a TV provider?",linkText:"Connect now",callback:e}]},SUB_READER_TIER:{shouldRender:!0,paywallModal:{shouldRender:!1},access_level:"SUB_READER_TIER",modalDescription:{title:"Upgrade to keep watching",text:"All Access unlocks unlimited streaming, 24/7 global news, exclusive videos, award-winning shows and more. ",ctaButtonText:"Change plan",ctaButtonUrl:`https://${window.location.host}/subscription/all-access?source=subwall:preview-update:sign-up&redirect=${window.location.href}`,ctaButtonCallback:n},signInOptions:[{text:"Get CNN through a TV provider?",linkText:"Connect now",callback:e}]}})}}}]); /* window.modules["3638"] */ "use strict";(self.modules=self.modules||[]).push([["3638"],{3638:(e,u,t)=>{Object.defineProperty(u,"__esModule",{value:!0}),u.default=function(e,u){(0,f.default)(2,arguments);var t=(0,l.default)(e),r=(0,l.default)(u),s=(0,d.default)(t,r),o=Math.abs((0,a.default)(t,r));t.setFullYear(1584),r.setFullYear(1584);var n=(0,d.default)(t,r)===-s,c=s*(o-Number(n));return 0===c?0:c};var l=r(t("667")),a=r(t("4221")),d=r(t("3644")),f=r(t("657"));function r(e){return e&&e.__esModule?e:{default:e}}e.exports=u.default}}]); /* window.modules["3644"] */ "use strict";(self.modules=self.modules||[]).push([["3644"],{3644:(e,t,u)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){(0,d.default)(2,arguments);var u=(0,l.default)(e),f=(0,l.default)(t),r=u.getTime()-f.getTime();return r0?1:r};var l=f(u("667")),d=f(u("657"));function f(e){return e&&e.__esModule?e:{default:e}}e.exports=t.default}}]); /* window.modules["3645"] */ "use strict";(self.modules=self.modules||[]).push([["3645"],{3645:(e,t,u)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){(0,d.default)(2,arguments);var u,r=(0,a.default)(e),o=(0,a.default)(t),n=(0,f.default)(r,o),M=Math.abs((0,l.default)(r,o));if(M27&&r.setDate(30),r.setMonth(r.getMonth()-n*M);var h=(0,f.default)(r,o)===-n;(0,s.default)((0,a.default)(e))&&1===M&&1===(0,f.default)(e,o)&&(h=!1),u=n*(M-Number(h))}return 0===u?0:u};var a=r(u("667")),l=r(u("4251")),f=r(u("3644")),d=r(u("657")),s=r(u("4254"));function r(e){return e&&e.__esModule?e:{default:e}}e.exports=t.default}}]); /* window.modules["3646"] */ "use strict";(self.modules=self.modules||[]).push([["3646"],{3646:(e,t,u)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){(0,a.default)(2,arguments);var u=(0,l.default)(e),r=(0,l.default)(t),o=n(u,r),d=Math.abs((0,s.default)(u,r));u.setDate(u.getDate()-o*d);var g=Number(n(u,r)===-o),f=o*(d-g);return 0===f?0:f};var l=r(u("667")),s=r(u("4253")),a=r(u("657"));function r(e){return e&&e.__esModule?e:{default:e}}function n(e,t){var u=e.getFullYear()-t.getFullYear()||e.getMonth()-t.getMonth()||e.getDate()-t.getDate()||e.getHours()-t.getHours()||e.getMinutes()-t.getMinutes()||e.getSeconds()-t.getSeconds()||e.getMilliseconds()-t.getMilliseconds();return u0?1:u}e.exports=t.default}}]); /* window.modules["3647"] */ "use strict";(self.modules=self.modules||[]).push([["3647"],{3647:(e,u,t)=>{Object.defineProperty(u,"__esModule",{value:!0}),u.default=function(e,u,t){(0,l.default)(2,arguments);var n=(0,d.default)(e,u)/1e3;return(0,o.getRoundingMethod)(null==t?void 0:t.roundingMethod)(n)};var d=n(t("3623")),l=n(t("657")),o=t("3597");function n(e){return e&&e.__esModule?e:{default:e}}e.exports=u.default}}]); /* window.modules["3648"] */ "use strict";(self.modules=self.modules||[]).push([["3648"],{3648:(e,t,u)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){if((0,d.default)(2,arguments),!t||"object"!=typeof t)return new Date(NaN);var u=t.years?(0,f.default)(t.years):0,l=t.months?(0,f.default)(t.months):0,n=t.weeks?(0,f.default)(t.weeks):0,o=t.days?(0,f.default)(t.days):0,r=t.hours?(0,f.default)(t.hours):0,i=t.minutes?(0,f.default)(t.minutes):0,c=t.seconds?(0,f.default)(t.seconds):0,m=(0,a.default)(e,l+12*u);return new Date((0,s.default)(m,o+7*n).getTime()-1e3*(c+60*(i+60*r)))};var s=l(u("3583")),a=l(u("4252")),d=l(u("657")),f=l(u("658"));function l(e){return e&&e.__esModule?e:{default:e}}e.exports=t.default}}]); /* window.modules["3799"] */ "use strict";(self.modules=self.modules||[]).push([["3799"],{3799:(e,o)=>{Object.defineProperty(o,"__esModule",{value:!0}),o.default=void 0;var n={lessThanXSeconds:{one:"menos de un segundo",other:"menos de {{count}} segundos"},xSeconds:{one:"1 segundo",other:"{{count}} segundos"},halfAMinute:"medio minuto",lessThanXMinutes:{one:"menos de un minuto",other:"menos de {{count}} minutos"},xMinutes:{one:"1 minuto",other:"{{count}} minutos"},aboutXHours:{one:"alrededor de 1 hora",other:"alrededor de {{count}} horas"},xHours:{one:"1 hora",other:"{{count}} horas"},xDays:{one:"1 d\xeda",other:"{{count}} d\xedas"},aboutXWeeks:{one:"alrededor de 1 semana",other:"alrededor de {{count}} semanas"},xWeeks:{one:"1 semana",other:"{{count}} semanas"},aboutXMonths:{one:"alrededor de 1 mes",other:"alrededor de {{count}} meses"},xMonths:{one:"1 mes",other:"{{count}} meses"},aboutXYears:{one:"alrededor de 1 a\xf1o",other:"alrededor de {{count}} a\xf1os"},xYears:{one:"1 a\xf1o",other:"{{count}} a\xf1os"},overXYears:{one:"m\xe1s de 1 a\xf1o",other:"m\xe1s de {{count}} a\xf1os"},almostXYears:{one:"casi 1 a\xf1o",other:"casi {{count}} a\xf1os"}};o.default=function(e,o,s){var t,a=n[e];return(t="string"==typeof a?a:1===o?a.one:a.other.replace("{{count}}",o.toString()),null!=s&&s.addSuffix)?s.comparison&&s.comparison>0?"en "+t:"hace "+t:t},e.exports=o.default}}]); /* window.modules["3800"] */ "use strict";(self.modules=self.modules||[]).push([["3800"],{3800:(e,d,t)=>{Object.defineProperty(d,"__esModule",{value:!0}),d.default=void 0;var l=function(e){return e&&e.__esModule?e:{default:e}}(t("4322")),u={date:(0,l.default)({formats:{full:"EEEE, d 'de' MMMM 'de' y",long:"d 'de' MMMM 'de' y",medium:"d MMM y",short:"dd/MM/y"},defaultWidth:"full"}),time:(0,l.default)({formats:{full:"HH:mm:ss zzzz",long:"HH:mm:ss z",medium:"HH:mm:ss",short:"HH:mm"},defaultWidth:"full"}),dateTime:(0,l.default)({formats:{full:"{{date}} 'a las' {{time}}",long:"{{date}} 'a las' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},defaultWidth:"full"})};d.default=u,e.exports=d.default}}]); /* window.modules["3803"] */ "use strict";(self.modules=self.modules||[]).push([["3803"],{3803:(e,a)=>{Object.defineProperty(a,"__esModule",{value:!0}),a.default=void 0;var l={lastWeek:"'el' eeee 'pasado a la' p",yesterday:"'ayer a la' p",today:"'hoy a la' p",tomorrow:"'ma\xf1ana a la' p",nextWeek:"eeee 'a la' p",other:"P"},t={lastWeek:"'el' eeee 'pasado a las' p",yesterday:"'ayer a las' p",today:"'hoy a las' p",tomorrow:"'ma\xf1ana a las' p",nextWeek:"eeee 'a las' p",other:"P"};a.default=function(e,a,o,s){return 1!==a.getUTCHours()?t[e]:l[e]},e.exports=a.default}}]); /* window.modules["3804"] */ "use strict";(self.modules=self.modules||[]).push([["3804"],{3804:(e,a,n)=>{Object.defineProperty(a,"__esModule",{value:!0}),a.default=void 0;var d=function(e){return e&&e.__esModule?e:{default:e}}(n("4323")),i={ordinalNumber:function(e,a){return Number(e)+"\xba"},era:(0,d.default)({values:{narrow:["AC","DC"],abbreviated:["AC","DC"],wide:["antes de cristo","despu\xe9s de cristo"]},defaultWidth:"wide"}),quarter:(0,d.default)({values:{narrow:["1","2","3","4"],abbreviated:["T1","T2","T3","T4"],wide:["1\xba trimestre","2\xba trimestre","3\xba trimestre","4\xba trimestre"]},defaultWidth:"wide",argumentCallback:function(e){return Number(e)-1}}),month:(0,d.default)({values:{narrow:["e","f","m","a","m","j","j","a","s","o","n","d"],abbreviated:["ene","feb","mar","abr","may","jun","jul","ago","sep","oct","nov","dic"],wide:["enero","febrero","marzo","abril","mayo","junio","julio","agosto","septiembre","octubre","noviembre","diciembre"]},defaultWidth:"wide"}),day:(0,d.default)({values:{narrow:["d","l","m","m","j","v","s"],short:["do","lu","ma","mi","ju","vi","s\xe1"],abbreviated:["dom","lun","mar","mi\xe9","jue","vie","s\xe1b"],wide:["domingo","lunes","martes","mi\xe9rcoles","jueves","viernes","s\xe1bado"]},defaultWidth:"wide"}),dayPeriod:(0,d.default)({values:{narrow:{am:"a",pm:"p",midnight:"mn",noon:"md",morning:"ma\xf1ana",afternoon:"tarde",evening:"tarde",night:"noche"},abbreviated:{am:"AM",pm:"PM",midnight:"medianoche",noon:"mediodia",morning:"ma\xf1ana",afternoon:"tarde",evening:"tarde",night:"noche"},wide:{am:"a.m.",pm:"p.m.",midnight:"medianoche",noon:"mediodia",morning:"ma\xf1ana",afternoon:"tarde",evening:"tarde",night:"noche"}},defaultWidth:"wide",formattingValues:{narrow:{am:"a",pm:"p",midnight:"mn",noon:"md",morning:"de la ma\xf1ana",afternoon:"de la tarde",evening:"de la tarde",night:"de la noche"},abbreviated:{am:"AM",pm:"PM",midnight:"medianoche",noon:"mediodia",morning:"de la ma\xf1ana",afternoon:"de la tarde",evening:"de la tarde",night:"de la noche"},wide:{am:"a.m.",pm:"p.m.",midnight:"medianoche",noon:"mediodia",morning:"de la ma\xf1ana",afternoon:"de la tarde",evening:"de la tarde",night:"de la noche"}},defaultFormattingWidth:"wide"})};a.default=i,e.exports=a.default}}]); /* window.modules["3805"] */ "use strict";(self.modules=self.modules||[]).push([["3805"],{3805:(a,e,i)=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=d(i("4324")),r=d(i("4325"));function d(a){return a&&a.__esModule?a:{default:a}}var n={ordinalNumber:(0,t.default)({matchPattern:/^(\d+)(º)?/i,parsePattern:/\d+/i,valueCallback:function(a){return parseInt(a,10)}}),era:(0,r.default)({matchPatterns:{narrow:/^(ac|dc|a|d)/i,abbreviated:/^(a\.?\s?c\.?|a\.?\s?e\.?\s?c\.?|d\.?\s?c\.?|e\.?\s?c\.?)/i,wide:/^(antes de cristo|antes de la era com[uú]n|despu[eé]s de cristo|era com[uú]n)/i},defaultMatchWidth:"wide",parsePatterns:{any:[/^ac/i,/^dc/i],wide:[/^(antes de cristo|antes de la era com[uú]n)/i,/^(despu[eé]s de cristo|era com[uú]n)/i]},defaultParseWidth:"any"}),quarter:(0,r.default)({matchPatterns:{narrow:/^[1234]/i,abbreviated:/^T[1234]/i,wide:/^[1234](º)? trimestre/i},defaultMatchWidth:"wide",parsePatterns:{any:[/1/i,/2/i,/3/i,/4/i]},defaultParseWidth:"any",valueCallback:function(a){return a+1}}),month:(0,r.default)({matchPatterns:{narrow:/^[efmajsond]/i,abbreviated:/^(ene|feb|mar|abr|may|jun|jul|ago|sep|oct|nov|dic)/i,wide:/^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre)/i},defaultMatchWidth:"wide",parsePatterns:{narrow:[/^e/i,/^f/i,/^m/i,/^a/i,/^m/i,/^j/i,/^j/i,/^a/i,/^s/i,/^o/i,/^n/i,/^d/i],any:[/^en/i,/^feb/i,/^mar/i,/^abr/i,/^may/i,/^jun/i,/^jul/i,/^ago/i,/^sep/i,/^oct/i,/^nov/i,/^dic/i]},defaultParseWidth:"any"}),day:(0,r.default)({matchPatterns:{narrow:/^[dlmjvs]/i,short:/^(do|lu|ma|mi|ju|vi|s[áa])/i,abbreviated:/^(dom|lun|mar|mi[ée]|jue|vie|s[áa]b)/i,wide:/^(domingo|lunes|martes|mi[ée]rcoles|jueves|viernes|s[áa]bado)/i},defaultMatchWidth:"wide",parsePatterns:{narrow:[/^d/i,/^l/i,/^m/i,/^m/i,/^j/i,/^v/i,/^s/i],any:[/^do/i,/^lu/i,/^ma/i,/^mi/i,/^ju/i,/^vi/i,/^sa/i]},defaultParseWidth:"any"}),dayPeriod:(0,r.default)({matchPatterns:{narrow:/^(a|p|mn|md|(de la|a las) (mañana|tarde|noche))/i,any:/^([ap]\.?\s?m\.?|medianoche|mediodia|(de la|a las) (mañana|tarde|noche))/i},defaultMatchWidth:"any",parsePatterns:{any:{am:/^a/i,pm:/^p/i,midnight:/^mn/i,noon:/^md/i,morning:/mañana/i,afternoon:/tarde/i,evening:/tarde/i,night:/noche/i}},defaultParseWidth:"any"})};e.default=n,a.exports=e.default}}]); /* window.modules["3806"] */ "use strict";(self.modules=self.modules||[]).push([["3806"],{3806:(o,e)=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={lessThanXSeconds:{one:"أقل من ثانية",two:"أقل من ثانيتين",threeToTen:"أقل من {{count}} ثواني",other:"أقل من {{count}} ثانية"},xSeconds:{one:"ثانية واحدة",two:"ثانيتان",threeToTen:"{{count}} ثواني",other:"{{count}} ثانية"},halfAMinute:"نصف دقيقة",lessThanXMinutes:{one:"أقل من دقيقة",two:"أقل من دقيقتين",threeToTen:"أقل من {{count}} دقائق",other:"أقل من {{count}} دقيقة"},xMinutes:{one:"دقيقة واحدة",two:"دقيقتان",threeToTen:"{{count}} دقائق",other:"{{count}} دقيقة"},aboutXHours:{one:"ساعة واحدة تقريباً",two:"ساعتين تقريبا",threeToTen:"{{count}} ساعات تقريباً",other:"{{count}} ساعة تقريباً"},xHours:{one:"ساعة واحدة",two:"ساعتان",threeToTen:"{{count}} ساعات",other:"{{count}} ساعة"},xDays:{one:"يوم واحد",two:"يومان",threeToTen:"{{count}} أيام",other:"{{count}} يوم"},aboutXWeeks:{one:"أسبوع واحد تقريبا",two:"أسبوعين تقريبا",threeToTen:"{{count}} أسابيع تقريبا",other:"{{count}} أسبوعا تقريبا"},xWeeks:{one:"أسبوع واحد",two:"أسبوعان",threeToTen:"{{count}} أسابيع",other:"{{count}} أسبوعا"},aboutXMonths:{one:"شهر واحد تقريباً",two:"شهرين تقريبا",threeToTen:"{{count}} أشهر تقريبا",other:"{{count}} شهرا تقريباً"},xMonths:{one:"شهر واحد",two:"شهران",threeToTen:"{{count}} أشهر",other:"{{count}} شهرا"},aboutXYears:{one:"سنة واحدة تقريباً",two:"سنتين تقريبا",threeToTen:"{{count}} سنوات تقريباً",other:"{{count}} سنة تقريباً"},xYears:{one:"سنة واحد",two:"سنتان",threeToTen:"{{count}} سنوات",other:"{{count}} سنة"},overXYears:{one:"أكثر من سنة",two:"أكثر من سنتين",threeToTen:"أكثر من {{count}} سنوات",other:"أكثر من {{count}} سنة"},almostXYears:{one:"ما يقارب سنة واحدة",two:"ما يقارب سنتين",threeToTen:"ما يقارب {{count}} سنوات",other:"ما يقارب {{count}} سنة"}};e.default=function(o,e,n){var r,u=t[o];return(r="string"==typeof u?u:1===e?u.one:2===e?u.two:e0?"خلال "+r:"منذ "+r:r},o.exports=e.default}}]); /* window.modules["3807"] */ "use strict";(self.modules=self.modules||[]).push([["3807"],{3807:(e,t,d)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var l=function(e){return e&&e.__esModule?e:{default:e}}(d("4322")),u={date:(0,l.default)({formats:{full:"EEEE، do MMMM y",long:"do MMMM y",medium:"d MMM y",short:"dd/MM/yyyy"},defaultWidth:"full"}),time:(0,l.default)({formats:{full:"HH:mm:ss",long:"HH:mm:ss",medium:"HH:mm:ss",short:"HH:mm"},defaultWidth:"full"}),dateTime:(0,l.default)({formats:{full:"{{date}} 'عند الساعة' {{time}}",long:"{{date}} 'عند الساعة' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},defaultWidth:"full"})};t.default=u,e.exports=t.default}}]); /* window.modules["3808"] */ "use strict";(self.modules=self.modules||[]).push([["3808"],{3808:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o={lastWeek:"eeee 'الماضي عند الساعة' p",yesterday:"'الأمس عند الساعة' p",today:"'اليوم عند الساعة' p",tomorrow:"'غدا عند الساعة' p",nextWeek:"eeee 'القادم عند الساعة' p",other:"P"};t.default=function(e){return o[e]},e.exports=t.default}}]); /* window.modules["3809"] */ "use strict";(self.modules=self.modules||[]).push([["3809"],{3809:(e,n,i)=>{Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var t=function(e){return e&&e.__esModule?e:{default:e}}(i("4323")),a={ordinalNumber:function(e){return String(e)},era:(0,t.default)({values:{narrow:["ق","ب"],abbreviated:["ق.م.","ب.م."],wide:["قبل الميلاد","بعد الميلاد"]},defaultWidth:"wide"}),quarter:(0,t.default)({values:{narrow:["1","2","3","4"],abbreviated:["ر1","ر2","ر3","ر4"],wide:["الربع الأول","الربع الثاني","الربع الثالث","الربع الرابع"]},defaultWidth:"wide",argumentCallback:function(e){return e-1}}),month:(0,t.default)({values:{narrow:["ي","ف","م","أ","م","ي","ي","أ","س","أ","ن","د"],abbreviated:["يناير","فبراير","مارس","أبريل","مايو","يونيو","يوليو","أغسطس","سبتمبر","أكتوبر","نوفمبر","ديسمبر"],wide:["يناير","فبراير","مارس","أبريل","مايو","يونيو","يوليو","أغسطس","سبتمبر","أكتوبر","نوفمبر","ديسمبر"]},defaultWidth:"wide"}),day:(0,t.default)({values:{narrow:["ح","ن","ث","ر","خ","ج","س"],short:["أحد","اثنين","ثلاثاء","أربعاء","خميس","جمعة","سبت"],abbreviated:["أحد","اثنين","ثلاثاء","أربعاء","خميس","جمعة","سبت"],wide:["الأحد","الاثنين","الثلاثاء","الأربعاء","الخميس","الجمعة","السبت"]},defaultWidth:"wide"}),dayPeriod:(0,t.default)({values:{narrow:{am:"ص",pm:"م",morning:"الصباح",noon:"الظهر",afternoon:"بعد الظهر",evening:"المساء",night:"الليل",midnight:"منتصف الليل"},abbreviated:{am:"ص",pm:"م",morning:"الصباح",noon:"الظهر",afternoon:"بعد الظهر",evening:"المساء",night:"الليل",midnight:"منتصف الليل"},wide:{am:"ص",pm:"م",morning:"الصباح",noon:"الظهر",afternoon:"بعد الظهر",evening:"المساء",night:"الليل",midnight:"منتصف الليل"}},defaultWidth:"wide",formattingValues:{narrow:{am:"ص",pm:"م",morning:"في الصباح",noon:"الظهر",afternoon:"بعد الظهر",evening:"في المساء",night:"في الليل",midnight:"منتصف الليل"},abbreviated:{am:"ص",pm:"م",morning:"في الصباح",noon:"الظهر",afternoon:"بعد الظهر",evening:"في المساء",night:"في الليل",midnight:"منتصف الليل"},wide:{am:"ص",pm:"م",morning:"في الصباح",noon:"الظهر",afternoon:"بعد الظهر",evening:"في المساء",night:"في الليل",midnight:"منتصف الليل"}},defaultFormattingWidth:"wide"})};n.default=a,e.exports=n.default}}]); /* window.modules["3810"] */ "use strict";(self.modules=self.modules||[]).push([["3810"],{3810:(a,i,t)=>{Object.defineProperty(i,"__esModule",{value:!0}),i.default=void 0;var e=d(t("4324")),r=d(t("4325"));function d(a){return a&&a.__esModule?a:{default:a}}var n={ordinalNumber:(0,e.default)({matchPattern:/^(\d+)(th|st|nd|rd)?/i,parsePattern:/\d+/i,valueCallback:function(a){return parseInt(a,10)}}),era:(0,r.default)({matchPatterns:{narrow:/[قب]/,abbreviated:/[قب]\.م\./,wide:/(قبل|بعد) الميلاد/},defaultMatchWidth:"wide",parsePatterns:{any:[/قبل/,/بعد/]},defaultParseWidth:"any"}),quarter:(0,r.default)({matchPatterns:{narrow:/^[1234]/i,abbreviated:/ر[1234]/,wide:/الربع (الأول|الثاني|الثالث|الرابع)/},defaultMatchWidth:"wide",parsePatterns:{any:[/1/i,/2/i,/3/i,/4/i]},defaultParseWidth:"any",valueCallback:function(a){return a+1}}),month:(0,r.default)({matchPatterns:{narrow:/^[أيفمسند]/,abbreviated:/^(يناير|فبراير|مارس|أبريل|مايو|يونيو|يوليو|أغسطس|سبتمبر|أكتوبر|نوفمبر|ديسمبر)/,wide:/^(يناير|فبراير|مارس|أبريل|مايو|يونيو|يوليو|أغسطس|سبتمبر|أكتوبر|نوفمبر|ديسمبر)/},defaultMatchWidth:"wide",parsePatterns:{narrow:[/^ي/i,/^ف/i,/^م/i,/^أ/i,/^م/i,/^ي/i,/^ي/i,/^أ/i,/^س/i,/^أ/i,/^ن/i,/^د/i],any:[/^يناير/i,/^فبراير/i,/^مارس/i,/^أبريل/i,/^مايو/i,/^يونيو/i,/^يوليو/i,/^أغسطس/i,/^سبتمبر/i,/^أكتوبر/i,/^نوفمبر/i,/^ديسمبر/i]},defaultParseWidth:"any"}),day:(0,r.default)({matchPatterns:{narrow:/^[حنثرخجس]/i,short:/^(أحد|اثنين|ثلاثاء|أربعاء|خميس|جمعة|سبت)/i,abbreviated:/^(أحد|اثنين|ثلاثاء|أربعاء|خميس|جمعة|سبت)/i,wide:/^(الأحد|الاثنين|الثلاثاء|الأربعاء|الخميس|الجمعة|السبت)/i},defaultMatchWidth:"wide",parsePatterns:{narrow:[/^ح/i,/^ن/i,/^ث/i,/^ر/i,/^خ/i,/^ج/i,/^س/i],wide:[/^الأحد/i,/^الاثنين/i,/^الثلاثاء/i,/^الأربعاء/i,/^الخميس/i,/^الجمعة/i,/^السبت/i],any:[/^أح/i,/^اث/i,/^ث/i,/^أر/i,/^خ/i,/^ج/i,/^س/i]},defaultParseWidth:"any"}),dayPeriod:(0,r.default)({matchPatterns:{narrow:/^(ص|م|منتصف الليل|الظهر|بعد الظهر|في الصباح|في المساء|في الليل)/,any:/^(ص|م|منتصف الليل|الظهر|بعد الظهر|في الصباح|في المساء|في الليل)/},defaultMatchWidth:"any",parsePatterns:{any:{am:/^ص/,pm:/^م/,midnight:/منتصف الليل/,noon:/الظهر/,afternoon:/بعد الظهر/,morning:/في الصباح/,evening:/في المساء/,night:/في الليل/}},defaultParseWidth:"any"})};i.default=n,a.exports=i.default}}]); /* window.modules["3816"] */ (self.modules=self.modules||[]).push([["3816"],{3816:(e,s,u)=>{var l=u("4139"),o=u("4104");e.exports=function(e,s){return e&&l(e,s,o)}}}]); /* window.modules["3817"] */ (self.modules=self.modules||[]).push([["3817"],{3817:e=>{e.exports=function(e){return function(){return e}}}}]); /* window.modules["3818"] */ (self.modules=self.modules||[]).push([["3818"],{3818:(e,u,n)=>{var r=n("4280");e.exports=function(e,u){return function(n,s){return r(n,e,u(s),{})}}}}]); /* window.modules["3822"] */ "use strict";(self.modules=self.modules||[]).push([["3822"],{3822:(e,t,u)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){(0,s.default)(1,arguments);var t=(0,l.default)(e),u=t.getTime();return t.setUTCMonth(0,1),t.setUTCHours(0,0,0,0),Math.floor((u-t.getTime())/864e5)+1};var l=o(u("667")),s=o(u("657"));function o(e){return e&&e.__esModule?e:{default:e}}e.exports=t.default}}]); /* window.modules["3823"] */ "use strict";(self.modules=self.modules||[]).push([["3823"],{3823:(e,t,u)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){(0,a.default)(1,arguments);var t=(0,l.default)(e);return Math.round(((0,d.default)(t).getTime()-(0,f.default)(t).getTime())/6048e5)+1};var l=r(u("667")),d=r(u("4298")),f=r(u("4299")),a=r(u("657"));function r(e){return e&&e.__esModule?e:{default:e}}e.exports=t.default}}]); /* window.modules["3824"] */ "use strict";(self.modules=self.modules||[]).push([["3824"],{3824:(t,e,r)=>{var i=r("389");class s{constructor(){this.pino=r("4328"),this.init=this.init.bind(this),this.meta=this.meta.bind(this),this.getLogger=this.getLogger.bind(this),this.setLogger=this.setLogger.bind(this)}static getOutput(t){return t.output||i.stdout}static getPrettyPrint(t){return t.pretty||i.env.CLAY_LOG_PRETTY&&i.versions&&i.versions.node}static checkArgs(t){if(!t||!Object.keys(t).length||!t.name)throw Error("Init must be called with `name` property")}init(t){let e,r,n,o;return s.checkArgs(t),e=s.getOutput(t),r=s.getPrettyPrint(t),n=t.name,o=t.meta||void 0,this.logger=this.pino({name:n,prettyPrint:!!r&&{levelFirst:!0},level:i.env.LOG||"info"},e),o&&Object.keys(o).length&&(this.logger=this.logger.child(o)),this.log(this.logger)}meta(t,e){var r=e||this.logger;if(t&&Object.keys(t).length)return this.log(r.child(t));throw Error("Clay Log: `meta` function requires object argument")}setLogger(t){this.pino=t}getLogger(){return this.logger}}t.exports={Logger:s,getSerializable:function(t){return function t(e,r){if(e&&"object"==typeof e){if(r.has(e))return e;if(r.add(e),e instanceof Error){let i={...e};for(let t of["name","message","stack","cause"])e[t]&&(i[t]=e[t]);return t(i,r)}if(Array.isArray(e))return e.map(e=>t(e,r));let i={};return r.add(i),Object.entries(e).reduce((e,[i,s])=>(e[i]=t(s,r),e),i)}return e}(t,new WeakSet)}}}}]); /* window.modules["3825"] */ "use strict";(self.modules=self.modules||[]).push([["3825"],{3825:(e,t,u)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){(0,a.default)(1,arguments);var t=(0,l.default)(e),u=t.getUTCFullYear(),s=new Date(0);s.setUTCFullYear(u+1,0,4),s.setUTCHours(0,0,0,0);var d=(0,r.default)(s),f=new Date(0);f.setUTCFullYear(u,0,4),f.setUTCHours(0,0,0,0);var o=(0,r.default)(f);return t.getTime()>=d.getTime()?u+1:t.getTime()>=o.getTime()?u:u-1};var l=s(u("667")),a=s(u("657")),r=s(u("4298"));function s(e){return e&&e.__esModule?e:{default:e}}e.exports=t.default}}]); /* window.modules["3826"] */ "use strict";(self.modules=self.modules||[]).push([["3826"],{3826:(e,t,u)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){(0,a.default)(1,arguments);var u=(0,l.default)(e);return Math.round(((0,d.default)(u,t).getTime()-(0,f.default)(u,t).getTime())/6048e5)+1};var l=r(u("667")),d=r(u("4300")),f=r(u("4301")),a=r(u("657"));function r(e){return e&&e.__esModule?e:{default:e}}e.exports=t.default}}]); /* window.modules["3827"] */ "use strict";(self.modules=self.modules||[]).push([["3827"],{3827:(e,t,a)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){(0,u.default)(1,arguments);var a=(0,l.default)(e),n=a.getUTCFullYear(),i=t||{},o=i.locale,f=o&&o.options&&o.options.firstWeekContainsDate,d=null==f?1:(0,r.default)(f),C=null==i.firstWeekContainsDate?d:(0,r.default)(i.firstWeekContainsDate);if(!(C>=1&&C=m.getTime()?n+1:a.getTime()>=c.getTime()?n:n-1};var l=n(a("667")),u=n(a("657")),s=n(a("4300")),r=n(a("658"));function n(e){return e&&e.__esModule?e:{default:e}}e.exports=t.default}}]); /* window.modules["3828"] */ "use strict";(self.modules=self.modules||[]).push([["3828"],{3828:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){for(var s=Math.abs(e).toString();s.length{Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n=function(e){return e&&e.__esModule?e:{default:e}}(u("3828"));t.default={y:function(e,t){var u=e.getUTCFullYear(),a=u>0?u:1-u;return(0,n.default)("yy"===t?a%100:a,t.length)},M:function(e,t){var u=e.getUTCMonth();return"M"===t?String(u+1):(0,n.default)(u+1,2)},d:function(e,t){return(0,n.default)(e.getUTCDate(),t.length)},a:function(e,t){var u=e.getUTCHours()/12>=1?"pm":"am";switch(t){case"a":case"aa":return u.toUpperCase();case"aaa":return u;case"aaaaa":return u[0];default:return"am"===u?"a.m.":"p.m."}},h:function(e,t){return(0,n.default)(e.getUTCHours()%12||12,t.length)},H:function(e,t){return(0,n.default)(e.getUTCHours(),t.length)},m:function(e,t){return(0,n.default)(e.getUTCMinutes(),t.length)},s:function(e,t){return(0,n.default)(e.getUTCSeconds(),t.length)},S:function(e,t){var u=t.length,a=Math.floor(e.getUTCMilliseconds()*Math.pow(10,u-3));return(0,n.default)(a,t.length)}},e.exports=t.default}}]); /* window.modules["3836"] */ "use strict";(self.modules=self.modules||[]).push([["3836"],{3836:t=>{t.exports.strCheck=function(t){if("string"==typeof t)return!0;throw Error("Argument must be a string, not "+typeof t)}}}]); /* window.modules["3837"] */ "use strict";(self.modules=self.modules||[]).push([["3837"],{3837:n=>{n.exports={0:function(n,l,t,e,o){var a,s=n.lookupProperty||function(n,l){if(Object.prototype.hasOwnProperty.call(n,l))return n[l]};return" "+n.escapeExpression("function"==typeof(a=null!=(a=s(t,"altText")||(null!=l?s(l,"altText"):l))?a:n.hooks.helperMissing)?a.call(null!=l?l:n.nullContext||{},{name:"altText",hash:{},data:o,loc:{start:{line:5,column:12},end:{line:5,column:23}}}):a)+"\n"},1:function(n,l,t,e,o){var a,s=null!=l?l:n.nullContext||{},u=n.hooks.helperMissing,c=n.escapeExpression,r=n.lookupProperty||function(n,l){if(Object.prototype.hasOwnProperty.call(n,l))return n[l]};return' '+c((r(t,"default")||l&&r(l,"default")||u).call(s,null!=l?r(l,"actionText"):l,"Continue with",{name:"default",hash:{},data:o,loc:{start:{line:7,column:102},end:{line:7,column:140}}}))+" "+c((r(t,"capitalize")||l&&r(l,"capitalize")||u).call(s,null!=l?r(l,"ssoType"):l,{name:"capitalize",hash:{},data:o,loc:{start:{line:7,column:141},end:{line:7,column:164}}}))+"\n"},compiler:[8,">= 4.3.0"],main:function(n,l,t,e,o){var a,s,u=null!=l?l:n.nullContext||{},c=n.hooks.helperMissing,r=n.escapeExpression,i="function",p=n.lookupProperty||function(n,l){if(Object.prototype.hasOwnProperty.call(n,l))return n[l]};return"\n \n \n"+(null!=(a=p(t,"if").call(u,null!=l?p(l,"altText"):l,{name:"if",hash:{},fn:n.program(0,o,0),inverse:n.program(1,o,0),data:o,loc:{start:{line:4,column:8},end:{line:8,column:15}}}))?a:"")+" \n \n"},useData:!0}}}]); /* window.modules["3839"] */ "use strict";(self.modules=self.modules||[]).push([["3839"],{3839:(e,o)=>{Object.defineProperty(o,"__esModule",{value:!0}),o.default=void 0;var t={lessThanXSeconds:{one:"less than a second",other:"less than {{count}} seconds"},xSeconds:{one:"1 second",other:"{{count}} seconds"},halfAMinute:"half a minute",lessThanXMinutes:{one:"less than a minute",other:"less than {{count}} minutes"},xMinutes:{one:"1 minute",other:"{{count}} minutes"},aboutXHours:{one:"about 1 hour",other:"about {{count}} hours"},xHours:{one:"1 hour",other:"{{count}} hours"},xDays:{one:"1 day",other:"{{count}} days"},aboutXWeeks:{one:"about 1 week",other:"about {{count}} weeks"},xWeeks:{one:"1 week",other:"{{count}} weeks"},aboutXMonths:{one:"about 1 month",other:"about {{count}} months"},xMonths:{one:"1 month",other:"{{count}} months"},aboutXYears:{one:"about 1 year",other:"about {{count}} years"},xYears:{one:"1 year",other:"{{count}} years"},overXYears:{one:"over 1 year",other:"over {{count}} years"},almostXYears:{one:"almost 1 year",other:"almost {{count}} years"}};o.default=function(e,o,n){var s,u=t[e];return(s="string"==typeof u?u:1===o?u.one:u.other.replace("{{count}}",o.toString()),null!=n&&n.addSuffix)?n.comparison&&n.comparison>0?"in "+s:s+" ago":s},e.exports=o.default}}]); /* window.modules["3840"] */ "use strict";(self.modules=self.modules||[]).push([["3840"],{3840:(e,t,d)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var l=function(e){return e&&e.__esModule?e:{default:e}}(d("4322")),u={date:(0,l.default)({formats:{full:"EEEE, MMMM do, y",long:"MMMM do, y",medium:"MMM d, y",short:"MM/dd/yyyy"},defaultWidth:"full"}),time:(0,l.default)({formats:{full:"h:mm:ss a zzzz",long:"h:mm:ss a z",medium:"h:mm:ss a",short:"h:mm a"},defaultWidth:"full"}),dateTime:(0,l.default)({formats:{full:"{{date}} 'at' {{time}}",long:"{{date}} 'at' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},defaultWidth:"full"})};t.default=u,e.exports=t.default}}]); /* window.modules["3841"] */ "use strict";(self.modules=self.modules||[]).push([["3841"],{3841:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var a={lastWeek:"'last' eeee 'at' p",yesterday:"'yesterday at' p",today:"'today at' p",tomorrow:"'tomorrow at' p",nextWeek:"eeee 'at' p",other:"P"};t.default=function(e,t,o,r){return a[e]},e.exports=t.default}}]); /* window.modules["3842"] */ "use strict";(self.modules=self.modules||[]).push([["3842"],{3842:(n,e,t)=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var i=function(n){return n&&n.__esModule?n:{default:n}}(t("4323")),a={ordinalNumber:function(n,e){var t=Number(n),i=t%100;if(i>20||i{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=n(i("4325"));function n(a){return a&&a.__esModule?a:{default:a}}var r={ordinalNumber:(0,n(i("4324")).default)({matchPattern:/^(\d+)(th|st|nd|rd)?/i,parsePattern:/\d+/i,valueCallback:function(a){return parseInt(a,10)}}),era:(0,t.default)({matchPatterns:{narrow:/^(b|a)/i,abbreviated:/^(b\.?\s?c\.?|b\.?\s?c\.?\s?e\.?|a\.?\s?d\.?|c\.?\s?e\.?)/i,wide:/^(before christ|before common era|anno domini|common era)/i},defaultMatchWidth:"wide",parsePatterns:{any:[/^b/i,/^(a|c)/i]},defaultParseWidth:"any"}),quarter:(0,t.default)({matchPatterns:{narrow:/^[1234]/i,abbreviated:/^q[1234]/i,wide:/^[1234](th|st|nd|rd)? quarter/i},defaultMatchWidth:"wide",parsePatterns:{any:[/1/i,/2/i,/3/i,/4/i]},defaultParseWidth:"any",valueCallback:function(a){return a+1}}),month:(0,t.default)({matchPatterns:{narrow:/^[jfmasond]/i,abbreviated:/^(jan|feb|mar|apr|may|jun|jul|aug|sep|oct|nov|dec)/i,wide:/^(january|february|march|april|may|june|july|august|september|october|november|december)/i},defaultMatchWidth:"wide",parsePatterns:{narrow:[/^j/i,/^f/i,/^m/i,/^a/i,/^m/i,/^j/i,/^j/i,/^a/i,/^s/i,/^o/i,/^n/i,/^d/i],any:[/^ja/i,/^f/i,/^mar/i,/^ap/i,/^may/i,/^jun/i,/^jul/i,/^au/i,/^s/i,/^o/i,/^n/i,/^d/i]},defaultParseWidth:"any"}),day:(0,t.default)({matchPatterns:{narrow:/^[smtwf]/i,short:/^(su|mo|tu|we|th|fr|sa)/i,abbreviated:/^(sun|mon|tue|wed|thu|fri|sat)/i,wide:/^(sunday|monday|tuesday|wednesday|thursday|friday|saturday)/i},defaultMatchWidth:"wide",parsePatterns:{narrow:[/^s/i,/^m/i,/^t/i,/^w/i,/^t/i,/^f/i,/^s/i],any:[/^su/i,/^m/i,/^tu/i,/^w/i,/^th/i,/^f/i,/^sa/i]},defaultParseWidth:"any"}),dayPeriod:(0,t.default)({matchPatterns:{narrow:/^(a|p|mi|n|(in the|at) (morning|afternoon|evening|night))/i,any:/^([ap]\.?\s?m\.?|midnight|noon|(in the|at) (morning|afternoon|evening|night))/i},defaultMatchWidth:"any",parsePatterns:{any:{am:/^a/i,pm:/^p/i,midnight:/^mi/i,noon:/^no/i,morning:/morning/i,afternoon:/afternoon/i,evening:/evening/i,night:/night/i}},defaultParseWidth:"any"})};e.default=r,a.exports=e.default}}]); /* window.modules["3844"] */ "use strict";(self.modules=self.modules||[]).push([["3844"],{3844:(e,a,t)=>{let r=t("116"),s=()=>r(window,"kiln.locals.user.username","Unknown");e.exports={async getAuthorization(e,a){let t=await fetch("/_clay/_dam_auth",{method:"GET",cache:"no-cache",headers:{"X-Api-Key":e,"X-Date-Time":a,"X-User-Name":s()}}),r=await t.text();return`hmac ${r}`},getUserName:s,createFormData(e){let a=new FormData;return Object.entries(e).forEach(([e,t])=>{a.append(e,t)}),a}}}}]); /* window.modules["3845"] */ "use strict";(self.modules=self.modules||[]).push([["3845"],{3845:(e,u,t)=>{let o=t("3260"),r=t("116");function s(e,{crop:u={},ratioSize:t={},rawQuery:r,extraCropCommands:a=[],useAutomaticCropping:i=!1,useBackgroundRemoval:n=!1}={}){let l=[],p=[],{h:c,w:d}=t,{x:h,y:_,height:m,width:$}=u,g=e.includes("?c="),f=e.includes("?q=")&&!g;if(!f&&!g&&(m&&l.push(`h_${m}`),$&&l.push(`w_${$}`),void 0!==h&&l.push(`x_${h}`),void 0!==_&&l.push(`y_${_}`),(h||_)&&l.push("c_crop")),c&&p.push(`h_${c}`),d&&p.push(`w_${d}`),f||l.length||!p.length||p.push("c_fill"),i){p.push("c_auto","g_auto","c_auto_pad");let t="ar_16:9";if(u.name&&/(\d+)x(\d+)/.test(u.name)){let e=u.name.replace("x",":");e&&(t=`ar_${e}`)}p.push(t),a=(a||[]).filter(e=>/^f_/.test(e));let o=new URL(e);o.searchParams.delete("c"),e=o.toString(),g=!1}n&&p.push("e_background_removal");let v=r||o([l.join(","),p.join(","),a.join(",")]).join("/")||"",j="?q=";return g?j="&q=":f&&(j="/"),o([e,v]).join(j)}e.exports.buildUrl=function(e,{ratio:u="original",ratioSize:t={},rawQuery:o,servingHost:a,damDocumentType:i,extraCropCommands:n}={}){let l=r(e,["data","crops",u],r(e,["crops",u],{})),p=l.uri||e.uri;return s(p&&`${a}/api/v1/${i}${p}`||e.url||"",{crop:l,ratioSize:t,rawQuery:o,extraCropCommands:n,useAutomaticCropping:r(e,["data","useAutomaticCropping"],r(e,"useAutomaticCropping",!1)),useBackgroundRemoval:r(e,["data","useBackgroundRemoval"],r(e,"useBackgroundRemoval",!1))})},e.exports.buildUrlFromUri=function(e,{apiVersion:u="v1",mediaType:t="images",servingHost:o,...r}={}){return s(`${o}/api/${u}/${t}${e}`,r)}}}]); /* window.modules["3849"] */ "use strict";(self.modules=self.modules||[]).push([["3849"],{3849:(e,t,o)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return(0,u.default)(1,arguments),e instanceof Date||"object"==typeof e&&"[object Date]"===Object.prototype.toString.call(e)};var u=function(e){return e&&e.__esModule?e:{default:e}}(o("657"));e.exports=t.default}}]); /* window.modules["3850"] */ "use strict";(self.modules=self.modules||[]).push([["3850"],{3850:(t,r,e)=>{var u=e("4334"),o=u(e("4335")),a=u(e("4336")),n=u(e("4337")),s=u(e("4338")),l=u(e("4340"));function c(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(c=function(){return!!t})()}var f=/*#__PURE__*/function(t){function r(t,e){var u,o,l;return(0,a.default)(this,r),o=r,l=[t],o=(0,s.default)(o),(u=(0,n.default)(this,c()?Reflect.construct(o,l||[],(0,s.default)(this).constructor):o.apply(this,l))).name=u.constructor.name,u.status=e||500,u.data={errors:[{error:"dalton.sdk.error",message:t}]},u}return(0,l.default)(r,t),(0,o.default)(r)}(/*#__PURE__*/(0,u(e("4339")).default)(Error));t.exports=f}}]); /* window.modules["3855"] */ (self.modules=self.modules||[]).push([["3855"],{3855:(e,s,l)=>{var n=l("4131"),r=l("743"),t=l("396"),u=l("2781"),a=l("3938"),f=Math.max;e.exports=function(e,s,l,o){e=r(e)?e:a(e),l=l&&!o?u(l):0;var d=e.length;return l-1:!!d&&n(e,s,l)>-1}}}]); /* window.modules["3856"] */ (self.modules=self.modules||[]).push([["3856"],{3856:(s,e,l)=>{var o=l("4302")(l("4303"));s.exports=o}}]); /* window.modules["3857"] */ "use strict";(self.modules=self.modules||[]).push([["3857"],{3857:(e,t,u)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){return(0,f.default)(2,arguments),new Date((0,d.default)(e).getTime()+(0,l.default)(t))};var l=s(u("658")),d=s(u("667")),f=s(u("657"));function s(e){return e&&e.__esModule?e:{default:e}}e.exports=t.default}}]); /* window.modules["3858"] */ "use strict";(self.modules=self.modules||[]).push([["3858"],{3858:(e,t,o)=>{var n=o("4334"),r=n(o("4345")),a=n(o("4342")),c=n(o("4343"));function s(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),o.push.apply(o,n)}return o}function i(e){for(var t=1;t-1)){e.next=20;break}return e.next=15,this.accountInfo(c.data,"refreshAuthToken");case 15:p=e.sent.userProfileResponses[this.api.coreName].attributes[this.api.uuidName],this.storeUID(p,o),e.next=23;break;case 20:this.removeUID(),this.removeEncodedItem("preauthz"),this.removeEncodedItem("activesubs");case 23:e.next=28;break;case 25:e.prev=25,e.t0=e.catch(8),console.log("DaltonSDK Error trying to store uid after refresh token");case 28:return e.abrupt("return",c.data);case 31:throw e.prev=31,e.t1=e.catch(1),e.t1.response;case 34:case"end":return e.stop()}},e,this,[[1,31],[8,25]])})),function(e,o,n){return t.apply(this,arguments)}),e.prototype.storeToken=function(e,t){try{if("undefined"!=typeof window){var o=p("".concat(this.api.cookie.version,"|").concat(e)),n=null;t&&(n=new Date).setDate(n.getDate()+t),window.document.cookie=this.__makeCookie(o,n),window.document.cookie=this.__makeCookie(new Date().toUTCString(),n,this.api.cookie.setDateName)}}catch(e){console.log("Could not set access token: ".concat(e.message))}},e.prototype.storePianoToken=function(e,t){try{"undefined"!=typeof window&&(window.document.cookie="__pianoParams=".concat(e,";path=/; max-age=").concat(t))}catch(e){console.log("Could not set piano token: ".concat(e.message))}},e.prototype.__isRefreshDue=function(e,t){if(!e)return!0;var o=new Date(e);return o.setDate(o.getDate()+t),o-1?(t=t.replace(n,""),this.api.debugMode&&(console.log("access token replace called"),console.log("AT - ".concat(t)))):(this.api.debugMode&&(console.info("Get token called by ".concat(e)),console.log("AT - ".concat(t)),console.log("Validity check for Version - ".concat(t.indexOf(n)))),t&&(this.removeToken("getToken"),t=""))}catch(e){console.log("Could not retrieve access token: ".concat(e.message))}return t},e.prototype.removeToken=function(e){try{if(this.api.debugMode&&(console.log("removeToken called by ".concat(e)),console.log("You cookie version is - ".concat(this.api.cookie.version,"|"))),"undefined"!=typeof window){var t,o,n=window.CNN&&window.CNN.contentModel,r=n&&n.canonicalUrl||(o=document.querySelector("link[rel='canonical']"))&&o.href||window.location.href;t={component_type:"button",component_id:"log_out",traits:{source:document.referrer,canonical_url:r,source_id:n&&n.sourceId,error_code:null,brand:"CNN",cms_id:n&&n.cmsId,page_type:n&&n.pageType,page_variant:n&&n.templateType}}}var a=this.getStoredUID();try{a&&this.trackZionData(new window.ZION_SDK.GenericSubmit(i(i({},t),{},{traits:i(i({},t.traits),{},{cnn_uid:a,http_response:"success"})})))}catch(e){console.log("DaltonSDK Error: could not send event to Zion analytics: ".concat(e))}this.removeCookie(this.api.cookie.name,this.api.cookie.base),this.removeCookie(this.api.cookie.setDateName,this.api.cookie.base),this.removeEncodedItem("preauthz"),this.removeEncodedItem("activesubs"),this.clearPreferences()}catch(e){console.log("Could not delete access token: ".concat(e.message))}},e.prototype.tokenWithAuthn=function(){return this.getToken().indexOf(this.api.authn)>-1},e.prototype.getTokenSetDate=function(){var e=null;try{var t=new RegExp("(?:(?:^|.*;\\s*)".concat(this.api.cookie.setDateName,"\\s*\\=\\s*([^;]*).*$)|^.*$")),o=window.document.cookie.replace(t,"$1");o&&(e=Date.parse(o))}catch(e){console.log("Could not retrieve set date: ".concat(e.message))}return e},e.prototype.getSbpToken=(a=(0,c.default)(/*#__PURE__*/r.default.mark(function e(t){var o,n;return r.default.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return o={success:!1,errorStatus:500,data:{}},e.prev=1,e.next=4,u.post(this.api.endpoints.generateSbpToken,{},{headers:{Authorization:t}});case 4:o={success:!0,errorStatus:void 0,data:e.sent.data},e.next=12;break;case 8:e.prev=8,e.t0=e.catch(1),n=(e.t0||{}).response,o.errorStatus=n&&n.status||500;case 12:return e.abrupt("return",o);case 13:case"end":return e.stop()}},e,this,[[1,8]])})),function(e){return a.apply(this,arguments)})}}}]); /* window.modules["3859"] */ "use strict";(self.modules=self.modules||[]).push([["3859"],{3859:(e,t,r)=>{var a=r("4334"),i=a(r("4345")),n=a(r("4341")),s=a(r("4342")),o=a(r("4343"));function c(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,a)}return r}function u(e){for(var t=1;t{var a=r("4334"),n=a(r("4345")),s=a(r("4341")),c=a(r("4342")),i=a(r("4343"));function o(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,a)}return r}function u(e){for(var t=1;t{var n=r("4334"),a=n(r("4345")),i=n(r("4342")),s=n(r("4341")),c=n(r("4343"));function o(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function d(e){for(var t=1;t{var r=a("4334"),i=r(a("4345")),s=r(a("4341")),n=r(a("4342")),o=r(a("4343"));function p(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),a.push.apply(a,r)}return a}function d(e){for(var t=1;t-1)){e.next=21;break}return e.next=16,this.accountInfo(h.data,"SignIn");case 16:(f=e.sent.userProfileResponses[this.api.coreName].attributes[this.api.uuidName])&&(this.zionEventWrapper("GenericSubmit",d(d({},p),{},{traits:d(d({},p.traits),{},{cnn_uid:f,http_response:"success"})})),this.storeUID(f,o)),e.next=22;break;case 21:this.removeUID();case 22:e.next=27;break;case 24:e.prev=24,e.t0=e.catch(9),console.log("DaltonSDK Error trying to store uid");case 27:return e.abrupt("return",h.data);case 30:throw e.prev=30,e.t1=e.catch(3),this.zionEventWrapper("GenericSubmit",d(d({},p),{},{traits:d(d({},p.traits),{},{http_response:"error",error_code:(null===e.t1||void 0===e.t1?void 0:e.t1.status)||null})})),e.t1;case 34:case"end":return e.stop()}},e,this,[[3,30],[9,24]])})),function(e,t){return p.apply(this,arguments)}),e.prototype.login=(h=(0,o.default)(/*#__PURE__*/i.default.mark(function e(t,a){var r,n,o,p,u,h,l,f,m,v,y;return i.default.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return this.validateRequiredData(t,d({type:"object",name:"data"},!t.identityType&&{requiredFields:[{field:"email",type:"string",validator:"length"},{field:"password",type:"string",validator:"length"}]})),r=t.email,n=t.password,o=t.identityType,p=t.misc,u=t.rememberMe,h=this.getZionEventData(d({componentId:"log_in",componentType:"form",data:t},o&&{additionalTraits:{create_account_type:o}})),e.prev=3,l=d(d({credential:n.trim(),identityType:o||this.api.identityType,apps:this.api.apps},r&&{principal:r.trim()}),p&&"object"===(0,s.default)(p)&&{misc:p}),e.next=7,c.post(this.api.endpoints.loginv2,l,{headers:this.api.headers});case 7:return m=(f=e.sent).data.authToken,v=f.data.user,this.storeToken(m,u),e.prev=11,e.next=14,this.getPreAuthEntitlements(m,a);case 14:m.includes(this.api.authn)?(y=v.userProfileResponses[this.api.coreName].attributes[this.api.uuidName])&&(this.zionEventWrapper("GenericSubmit",d(d({},h),{},{traits:d(d({},h.traits),{},{cnn_uid:y,http_response:"success"})})),this.storeUID(y,u)):this.removeUID(),e.next=20;break;case 17:e.prev=17,e.t0=e.catch(11),console.log("DaltonSDK Error trying to store uid: ".concat(e.t0));case 20:return this._handlePianoTokenResponse(f.data),e.abrupt("return",f.data);case 24:throw e.prev=24,e.t1=e.catch(3),this.zionEventWrapper("GenericSubmit",d(d({},h),{},{traits:d(d({},h.traits),{},{http_response:"error",error_code:(null===e.t1||void 0===e.t1?void 0:e.t1.status)||null})})),e.t1;case 28:case"end":return e.stop()}},e,this,[[3,24],[11,17]])})),function(e,t){return h.apply(this,arguments)}),e.prototype.logout=(l=(0,o.default)(/*#__PURE__*/i.default.mark(function e(t){var a,r;return i.default.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return this.validateRequiredData(t,{type:"string",name:"accessToken"}),e.prev=1,this.removeToken("logout"),this.removeUID(),a=this.getStoredUID(),r=d({Authorization:t},this.api.headers),e.next=8,c.post(this.api.endpoints.logout,null,{headers:r});case 8:return a&&this.zionEventWrapper("UserLogout",{cnn_uid:a,brand:"CNN",canonical_url:window.location.href}),e.abrupt("return");case 12:e.prev=12,e.t0=e.catch(1);case 14:case"end":return e.stop()}},e,this,[[1,12]])})),function(e){return l.apply(this,arguments)}),e.prototype.accountInfo=(f=(0,o.default)(/*#__PURE__*/i.default.mark(function e(t,a){var r,s;return i.default.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return this.validateRequiredData(t,{type:"string",name:"accessToken"}),e.prev=1,this.api.debugMode&&console.info("Account Info called by ".concat(a)),r=d({Authorization:t},this.api.headers),e.next=6,c.get(this.api.endpoints.user,{headers:r});case 6:return s=e.sent,e.abrupt("return",s.data);case 10:throw e.prev=10,e.t0=e.catch(1),e.t0;case 13:case"end":return e.stop()}},e,this,[[1,10]])})),function(e,t){return f.apply(this,arguments)}),e.prototype.updateAccount=(m=(0,o.default)(/*#__PURE__*/i.default.mark(function e(t,a){var r,s;return i.default.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return this.validateRequiredData(t,{type:"object",name:"data"}),this.validateRequiredData(a,{type:"string",name:"accessToken"}),e.prev=2,r=d({Authorization:a},this.api.headers),e.next=6,c.post(this.api.endpoints.profile,t,{headers:r});case 6:return s=e.sent,e.abrupt("return",s.data);case 10:throw e.prev=10,e.t0=e.catch(2),e.t0;case 13:case"end":return e.stop()}},e,this,[[2,10]])})),function(e,t){return m.apply(this,arguments)}),e.prototype.changePassword=(v=(0,o.default)(/*#__PURE__*/i.default.mark(function e(t,a){var r,n,o,p,u,h;return i.default.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return r=[{field:"newPassword",type:"string",validator:"password"}],t.email&&r.push({field:"email",type:"string",validator:"length"}),this.validateRequiredData(t,{type:"object",name:"data",requiredFields:r}),this.validateRequiredData(a,{type:"string",name:"accessToken"}),n=t.email,o=t.newPassword,p=t.misc,e.prev=5,u=d(d({identityType:"EMAIL",credential:o.trim()},n&&{principal:n.trim()}),p&&"object"===(0,s.default)(p)&&{misc:p}),h=d({Authorization:a},this.api.headers),e.next=10,c.post(this.api.endpoints.changePassword,u,{headers:h});case 10:return e.abrupt("return");case 13:throw e.prev=13,e.t0=e.catch(5),e.t0;case 16:case"end":return e.stop()}},e,this,[[5,13]])})),function(e,t){return v.apply(this,arguments)}),e.prototype.resetPasswordRequest=(y=(0,o.default)(/*#__PURE__*/i.default.mark(function e(t){var a,r,n=arguments;return i.default.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if(a=n.length>1&&void 0!==n[1]?n[1]:{},this.validLength(t)){e.next=3;break}throw new u("data.email field is required and should have the correct length");case 3:return e.prev=3,r=d({identityType:"EMAIL",principal:t.trim()},a&&"object"===(0,s.default)(a)&&{misc:a}),"undefined"!=typeof window&&(r.misc=d(d({},r.misc),{},{request_origin:window.location.origin})),e.next=8,c.post(this.api.endpoints.resetPassword,r,{headers:this.api.headers});case 8:return e.abrupt("return");case 11:throw e.prev=11,e.t0=e.catch(3),e.t0;case 14:case"end":return e.stop()}},e,this,[[3,11]])})),function(e){return y.apply(this,arguments)}),e.prototype.emailLookupRequest=(g=(0,o.default)(/*#__PURE__*/i.default.mark(function e(t){var a,r,n,o=arguments;return i.default.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if(a=o.length>1&&void 0!==o[1]?o[1]:{},this.validLength(t)){e.next=3;break}throw new u("data.email field is required and should have the correct length");case 3:return e.prev=3,r=d({emailAddress:t.trim()},a&&"object"===(0,s.default)(a)&&{misc:a}),"undefined"!=typeof window&&(r.misc=d(d({},r.misc),{},{request_origin:window.location.origin})),e.next=8,c.post(this.api.endpoints.emailLookup,r,{headers:this.api.headers});case 8:return n=e.sent,e.abrupt("return",n.data);case 12:throw e.prev=12,e.t0=e.catch(3),e.t0;case 15:case"end":return e.stop()}},e,this,[[3,12]])})),function(e){return g.apply(this,arguments)}),e.prototype.resetPassword=(w=(0,o.default)(/*#__PURE__*/i.default.mark(function e(t){var a,r;return i.default.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return this.validateRequiredData(t,{type:"string",name:"resetToken"}),e.prev=1,a=this.getStoredUID(),e.next=5,c.get(this.api.endpoints.resetPassword,{params:{resetToken:t},headers:this.api.headers});case 5:return r=e.sent,a&&this.zionEventWrapper("UserForgotPassword",{cnn_uid:a,brand:"CNN",canonical_url:window.location.href}),e.abrupt("return",r.data);case 10:throw e.prev=10,e.t0=e.catch(1),e.t0;case 13:case"end":return e.stop()}},e,this,[[1,10]])})),function(e){return w.apply(this,arguments)}),e.prototype.deleteAccount=(b=(0,o.default)(/*#__PURE__*/i.default.mark(function e(t){var a,r,s;return i.default.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return this.validateRequiredData(t,{type:"string",name:"accessToken"}),a=this.getZionEventData({componentId:"delete_account",componentType:"delete_account"}),e.prev=2,r=this.getStoredUID(),s=d({Authorization:t},this.api.headers),e.next=7,c.delete(this.api.endpoints.delete,{headers:s});case 7:return this.zionEventWrapper("GenericSubmit",d(d({},a),{},{traits:d(d({},a.traits),{},{http_response:"success",cnn_uid:r})})),this.removeToken("deleteAccount"),this.removeUID(),e.abrupt("return");case 13:throw e.prev=13,e.t0=e.catch(2),this.zionEventWrapper("GenericSubmit",d(d({},a),{},{traits:d(d({},a.traits),{},{http_response:"error",error_code:(null===e.t0||void 0===e.t0?void 0:e.t0.status)||null})})),e.t0;case 17:case"end":return e.stop()}},e,this,[[2,13]])})),function(e){return b.apply(this,arguments)}),e.prototype._handlePianoTokenResponse=function(e){if(this.api.pianoEnabled&&e.pianoTokenResponse){var t=e.pianoTokenResponse,a=t.token,r=t.expirationSeconds;this.storePianoToken(a,r),window.tp=window.tp||[],window.tp.push(["setExternalJWT",a])}}}}}]); /* window.modules["3863"] */ "use strict";(self.modules=self.modules||[]).push([["3863"],{3863:(t,e,r)=>{var n=r("4334"),a=n(r("4345")),s=n(r("4342")),i=n(r("4343")),o=n(r("4341"));function c(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),r.push.apply(r,n)}return r}function u(t){for(var e=1;e1&&void 0!==n[1]?n[1]:"",t.next=3,this.setAttributes(e,{},r);case 3:return t.abrupt("return",t.sent);case 4:case"end":return t.stop()}},t,this)})),function(t){return e.apply(this,arguments)}),t.prototype.setAttributes=(r=(0,i.default)(/*#__PURE__*/a.default.mark(function t(e,r){var n,s,i,c,h=arguments;return a.default.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return n=h.length>2&&void 0!==h[2]?h[2]:"",this.validateRequiredData(e,{type:"string",name:"accessToken"}),function(t){if("object"!==(0,o.default)(t))throw new f("attributes should be an object");Object.entries(t).forEach(function(t){var e=t[0],r=t[1];if("string"!=typeof e||0===e.trim().length)throw new f("attribute key should be a non-empty string");if("string"!=typeof r)throw new f("attribute value should be a string")})}(r),function(t){var e=Object.values(l);if("string"!=typeof t||!(""===t||e.includes(t)))throw new f("namespace should be empty string or one of: ".concat(e))}(n),s={attributes:{cnn:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",r={};return e?Object.entries(t).forEach(function(t){r["".concat(e,"_").concat(t[0])]=t[1]}):r=t,r}(r,n)}},i=u({Authorization:e},this.api.headers),t.next=9,p.post(this.api.endpoints.attributes,s,{headers:i});case 9:return c=t.sent.data.userProfileResponses.cnn.attributes,t.abrupt("return",function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";return Object.entries(t).reduce(function(t,r){var n=r[0];return n.startsWith(e)&&(t[n]=r[1]),t},{})}(c,n));case 12:case"end":return t.stop()}},t,this)})),function(t,e){return r.apply(this,arguments)}),t.prototype.getPublicAttr=(n=(0,i.default)(/*#__PURE__*/a.default.mark(function t(e,r,n){var s,i,o,c;return a.default.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return i="cnn.",o={tids:r,attributes:"".concat(i).concat(n)},t.prev=2,this.validateRequiredData(e,{type:"string",name:"accessToken"}),c=u({Authorization:e},this.api.headers),t.next=7,p.get(this.api.endpoints.getPublicAttr,o,{headers:c});case 7:s=t.sent.data,t.next=14;break;case 11:t.prev=11,t.t0=t.catch(2),console.log(t.t0);case 14:return t.abrupt("return",s);case 15:case"end":return t.stop()}},t,this,[[2,11]])})),function(t,e,r){return n.apply(this,arguments)})}}}]); /* window.modules["3864"] */ "use strict";(self.modules=self.modules||[]).push([["3864"],{3864:(e,t,u)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){(0,r.default)(2,arguments);var u=(0,l.default)(e),n=(0,a.default)(t);if(isNaN(n))return new Date(NaN);if(!n)return u;var f=u.getDate(),s=new Date(u.getTime());return(s.setMonth(u.getMonth()+n+1,0),f>=s.getDate())?s:(u.setFullYear(s.getFullYear(),s.getMonth(),f),u)};var a=n(u("658")),l=n(u("667")),r=n(u("657"));function n(e){return e&&e.__esModule?e:{default:e}}e.exports=t.default}}]); /* window.modules["3865"] */ "use strict";(self.modules=self.modules||[]).push([["3865"],{3865:(e,t,c)=>{var n=c("4334")(c("4342"));function o(e,t){var c=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),c.push.apply(c,n)}return c}var a=c("3850"),i=c("3034");t.getAPIConfig=function(e){var t,c,s,r={localhost:"https://daltonmt1.qa.identityservices.io",test:"https://daltonmt1.qa.identityservices.io",dev:"https://daltonmt1.qa.identityservices.io",production:"https://daltonmt1.identityservices.io"},p=r[e.env]?r[e.env]:r.dev;if(e.url)t=e.url;else{var u={localhost:"https://audience.qa.cnn.com",test:"https://audience.qa.cnn.com",dev:"https://audience.qa.cnn.com",production:"https://audience.cnn.com"};t=u[e.env]?u[e.env]:u.dev;var d={localhost:!0,test:!0,dev:!0,production:!1};c=d[e.env]?d[e.env]:d.production;try{s=localStorage.getItem({key:"ziondev.debug"})}catch(e){s=!1}c=c||/true/i.test(s)}if("production"===e.env&&0!==t.indexOf("https"))throw new a("Security issue: URL must use https");var l={"Content-Type":"application/json"};if(e.appName&&(l["X-Client-Application"]=e.appName),e.appId&&(l["app-id"]=e.appId),e.forwardClientInfo){var m=i();if(m){var g=m.device,h=m.os,b=m.browser,v=g.vendor&&g.model?"".concat(g.vendor,"_").concat(g.model):h.name,y="".concat(h.name," ").concat(h.version),f="".concat(b.name," ").concat(b.version);l["X-Client-Application"]="".concat(v,"|").concat(y,"|").concat(f)}}var w="path=/; samesite=Lax;",k="";if("undefined"!=typeof window)try{var S=window.location.hostname,_=/^((www|us|edition|amp|arabic|cnnespanol|cms)\.)?cnn\.com$/.test(S);if(!_){var O=S.replace("www.",""),A=O.substring(0,O.indexOf("."));k=A?"_".concat(A):"_".concat(O)}_?w+=" domain=.cnn.com; ":w+=" domain=.".concat(S,"; "),"test"!==e.env&&"localhost"!==e.env&&(w+=" secure;")}catch(e){console.log("Could not find window")}var I="".concat(t,"/gizmo/api/1/wingman"),P="".concat(t,"/gizmous/api/1/wingman"),z="".concat(t,"/regwall/api/1"),j="".concat(t,"/regwall/api/2"),q="".concat(t,"/openweb/api/1"),x="".concat(t,"/core/api/1"),C="".concat(t,"/newsletters/api/1"),D="".concat(t,"/aim/api/1"),T={localhost:"https://arkose.daex.qa.identityservices.io",test:"https://arkose.daex.qa.identityservices.io",dev:"https://arkose.daex.qa.identityservices.io",production:"https://arkose.daex.identityservices.io"},E=T[e.env]||T.dev;return function(e){for(var t=1;t0?e.cookieVersion:"v1.1",setDateName:"_cnn_at_date".concat(k),appEntitlementsName:"_cnn_entitled".concat(k),refreshAfterDays:e.cookieRefreshAfterDays},cookieUID:{name:"_cnn_uid".concat(k),base:w},debugMode:c,headers:l,endpoints:{appleSSO:"".concat(x,"/apple/register"),appleTokens:"".concat(x,"/apple/authz_token"),attributes:"".concat(x,"/user/attributes"),authnRegCode:"".concat(t,"/dim/api/1/authn/regcode"),changePassword:"".concat(x,"/identity/password"),confirmEmail:"".concat(x,"/user/email/confirm"),dataExchange:"".concat(E,"/daex"),delete:"".concat(x,"/user/core"),email:"".concat(x,"/user/email"),generateSbpToken:"".concat(t,"/core/api/2/user/sbp/generateToken"),getAuthZTokens:"".concat(p,"/strapii/api/1/authz/token"),getPublicAttr:"".concat(x,"/user/public_attrs"),googleSSO:"".concat(x,"/google/register"),identities:"".concat(x,"/identity/identities"),identity:"".concat(x,"/identity"),identityTypes:"".concat(x,"/identity/identitytypes"),legaldocs:"".concat(x,"/user/legaldocs"),linkMVPDAuthn:"".concat(t,"/dim/api/1/authn/link"),login:"".concat(x,"/user/login"),loginv2:"".concat(t,"/core/api/2/user/login"),logout:"".concat(x,"/user/logout"),openwebSSO:"".concat(q,"/sso_handshake"),pianoJWT:"".concat(x,"/piano/token"),preferences:"".concat(t,"/preferences/api/1/preferences"),productCheck:"".concat(p,"/prodgate/api/1/product/check"),profile:"".concat(x,"/user/profile"),refreshAuthToken:"".concat(x,"/user/refresh_authtoken"),requestRegCode:"".concat(t,"/dim/api/1/regcode"),resendConfirmationEmail:"".concat(x,"/user/email/regenerate_confirmation_code"),resetPassword:"".concat(x,"/identity/password_reset_token"),emailLookup:"".concat(x,"/identity/lookup"),retrieveNewsletters:"".concat(C,"/newsletters"),subscriptions:"".concat(C,"/subscriptions"),subscriptionsAdd:"".concat(C,"/subscriptions/add"),subscriptionsAuthtoken:"".concat(C,"/subscriptions/authtoken"),subscriptionsDelete:"".concat(C,"/subscriptions/delete"),unacceptedLegaldocs:"".concat(x,"/user/unaccepted_legaldocs"),unsubscribe:"".concat(C,"/subscriptions/unsubscribe"),user:"".concat(x,"/user"),gizmo:{region:{US:{1:{cancelSub:"".concat(P,"/purchase/subscription/:subId/cancel"),cancelSubImmediate:"".concat(P,"/purchase/subscription/:subId/cancel/immediate"),paymentSource:"".concat(P,"/paymentsource"),productSource:"".concat(P,"/products"),purchaseSource:"".concat(P,"/purchase"),purchasePreview:"".concat(P,"/purchase/preview"),setupIntent:"".concat(P,"/setupintent"),updatePaymentSource:"".concat(P,"/paymentsource/switch")},2:{productSource:"".concat(t,"/gizmous/api/2/wingman/products"),transitionStrategy:"".concat(t,"/gizmous/api/2/transition/strategy/strategies/:type/:productId")}},UK:{1:{cancelSub:"".concat(I,"/purchase/subscription/:subId/cancel"),cancelSubImmediate:"".concat(I,"/purchase/subscription/:subId/cancel/immediate"),paymentSource:"".concat(I,"/paymentsource"),productSource:"".concat(I,"/products"),purchaseSource:"".concat(I,"/purchase"),purchasePreview:"".concat(I,"/purchase/preview"),setupIntent:"".concat(I,"/setupintent"),updatePaymentSource:"".concat(I,"/paymentsource/switch")},2:{productSource:"".concat(t,"/gizmo/api/2/wingman/products"),transitionStrategy:"".concat(t,"/gizmo/api/2/transition/strategy/strategies/:type/:productId")}}}},regwall:{1:{getActiveSub:"".concat(z,"/subscriptions/active"),getSub:"".concat(z,"/subscriptions"),preAuthSource:"".concat(z,"/regwall/preauthorize")},2:{getActiveSub:"".concat(j,"/subscriptions/active"),getSub:"".concat(j,"/subscriptions")}},regcode:{assign:"".concat(x,"/regcode/assign"),verify:"".concat(x,"/regcode/verify"),generate:"".concat(x,"/regcode/generate"),metadata:"".concat(x,"/regcode")},amazon:{createAssociation:"".concat(D,"/amazon/association"),checkEligibility:"".concat(D,"/amazon/association/check_eligibility")}}},e)}}}]); /* window.modules["3866"] */ "use strict";(self.modules=self.modules||[]).push([["3866"],{3866:(o,t,e)=>{var n=e("4348");o.exports=function(o){o.prototype.trackZionData=function(o){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:3,e=arguments.length>2&&void 0!==arguments[2]?arguments[2]:100;if(window.zion_analytics)window.zion_analytics.track(o);else if(t>0){var n=this;setTimeout(function(){n.trackZionData(o,t-1,10*e)},e)}return o},o.prototype.zionEventWrapper=function(o,t){var e=window&&window.ZION_SDK;if(e&&e[o]&&t)try{this.trackZionData(new window.ZION_SDK[o](t))}catch(o){console.log("DaltonSDK Error: could not send event to Zion analytics: ".concat(o))}},o.prototype.publishZionData=function(o){try{"undefined"!=typeof window&&window.ZION_SDK&&o&&""!==o&&(window.bus||window.ZION_SDK.ZionMessageBus.getInstance()).publish("id_found",{type:this.api.uuidName,value:o})}catch(o){console.log("DaltonSDK Error publishing to to Zion bus: ".concat(o.message))}},o.prototype.storeUID=function(o,t){try{if("undefined"!=typeof window&&o&&""!==o){var e=n(o),i="".concat(this.api.cookieUID.name,"=").concat(e,"; ").concat(this.api.cookieUID.base);if(t){var a=new Date;Number.isNaN(a.setDate(a.getDate()+t))||(i="".concat(i," expires=").concat(a.toUTCString()))}"localhost"===window.location.hostname&&(i=i.replace(" secure;","")),window.document.cookie=i}}catch(o){console.log("DaltonSDK Error storing uid: ".concat(o))}},o.prototype.getStoredUID=function(){try{var o=new RegExp("(?:(?:^|.*;\\s*)".concat(this.api.cookieUID.name,"\\s*\\=\\s*([^;]*).*$)|^.*$")),t=window.document.cookie.replace(o,"$1");return n.decode(t)}catch(o){console.log("DaltonSDK Error retrieving uid");return}},o.prototype.removeUID=function(){try{"undefined"!=typeof window&&this.removeCookie(this.api.cookieUID.name,this.api.cookieUID.base)}catch(o){console.log("DaltonSDK Error removing uid")}}}}}]); /* window.modules["3867"] */ "use strict";(self.modules=self.modules||[]).push([["3867"],{3867:(e,t,r)=>{var s=r("4334"),a=s(r("4345")),n=s(r("4344")),o=s(r("4342")),u=s(r("4343"));function i(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var s=Object.getOwnPropertySymbols(e);t&&(s=s.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,s)}return r}function c(e){for(var t=1;t1&&void 0!==S[1]?S[1]:"US",n=S.length>2&&void 0!==S[2]?S[2]:"1",o={success:!1,errorStatus:500,products:void 0},u="UK"===s?"UK":"US",i=null===(r=this.api.endpoints.gizmo.region[u])||void 0===r||null===(r=r[n])||void 0===r?void 0:r.productSource){e.next=7;break}throw new d("Invalid endpoint: region ".concat(s," and version ").concat(n," not supported"));case 7:return e.prev=7,e.next=10,p.get(i,c(c({headers:this.api.headers},t||{}),"US"===u?{params:{region:s}}:{}));case 10:o={success:!0,errorStatus:void 0,products:void 0===(h=(e.sent.data||{}).gizmoProducts)?[]:h},e.next=19;break;case 15:e.prev=15,e.t0=e.catch(7),v=(l=e.t0||{}).response,f=l.responseData,g=l.code,v?(o.errorStatus=v.status,o.errors=f&&f.errors):"ECONNABORTED"===g&&(o.errorStatus=g,o.errors="Error: timeout exceeded");case 19:return e.abrupt("return",o);case 20:case"end":return e.stop()}},e,this,[[7,15]])})),function(e){return t.apply(this,arguments)}),e.prototype.getPaymentSources=(r=(0,u.default)(/*#__PURE__*/a.default.mark(function e(t){var r,s,n,o,u,i,h,l,v=arguments;return a.default.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if(s=v.length>1&&void 0!==v[1]?v[1]:"UK",n={success:!1,errorStatus:500,sources:void 0},o=null===(r=this.api.endpoints.gizmo.region[s])||void 0===r?void 0:r["1"].paymentSource){e.next=5;break}throw new d("Invalid endpoint: region ".concat(s," not supported"));case 5:return e.prev=5,e.next=8,p.get(o,{headers:c({Authorization:t},this.api.headers)});case 8:n={success:!0,errorStatus:void 0,sources:void 0===(u=(e.sent.data||{}).cards)?[]:u},e.next=17;break;case 13:e.prev=13,e.t0=e.catch(5),h=(i=e.t0||{}).response,l=i.responseData,h&&(n.errorStatus=h.status,n.errors=l&&l.errors);case 17:return e.abrupt("return",n);case 18:case"end":return e.stop()}},e,this,[[5,13]])})),function(e){return r.apply(this,arguments)}),e.prototype.addPaymentSource=(s=(0,u.default)(/*#__PURE__*/a.default.mark(function e(t,r){var s,n,o,u,i,h,l,v=arguments;return a.default.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if(n=v.length>2&&void 0!==v[2]?v[2]:"UK",o={success:!1,errorStatus:500},u=null===(s=this.api.endpoints.gizmo.region[n])||void 0===s?void 0:s["1"].paymentSource){e.next=5;break}throw new d("Invalid endpoint: region ".concat(n," not supported"));case 5:return e.prev=5,e.next=8,p.post(u,r,{headers:c({Authorization:t},this.api.headers)});case 8:o={success:!0,errorStatus:void 0},e.next=15;break;case 11:e.prev=11,e.t0=e.catch(5),h=(i=e.t0||{}).response,l=i.responseData,h&&(o.errorStatus=h.status,o.errors=l&&l.errors);case 15:return e.abrupt("return",o);case 16:case"end":return e.stop()}},e,this,[[5,11]])})),function(e,t){return s.apply(this,arguments)}),e.prototype.updateSubPaymentSource=(o=(0,u.default)(/*#__PURE__*/a.default.mark(function e(t,r,s){var n,o,u,i,h,l,v,f=arguments;return a.default.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if(o=f.length>3&&void 0!==f[3]?f[3]:"UK",u={success:!1,errorStatus:500},i=null===(n=this.api.endpoints.gizmo.region[o])||void 0===n?void 0:n["1"].updatePaymentSource){e.next=5;break}throw new d("Invalid endpoint: region ".concat(o," not supported"));case 5:return e.prev=5,e.next=8,p.post(i,{oldSourceId:r,newSourceId:s},{headers:c({Authorization:t},this.api.headers)});case 8:u={success:!0,errorStatus:void 0},e.next=15;break;case 11:e.prev=11,e.t0=e.catch(5),l=(h=e.t0||{}).response,v=h.responseData,l&&(u.errorStatus=l.status,u.errors=v&&v.errors);case 15:return e.abrupt("return",u);case 16:case"end":return e.stop()}},e,this,[[5,11]])})),function(e,t,r){return o.apply(this,arguments)}),e.prototype.setupIntent=(i=(0,u.default)(/*#__PURE__*/a.default.mark(function e(t){var r,s,n,o,u,i,h,l=arguments;return a.default.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if(s=l.length>1&&void 0!==l[1]?l[1]:"UK",n={success:!1,errorStatus:500,clientSecret:void 0},o=null===(r=this.api.endpoints.gizmo.region[s])||void 0===r?void 0:r["1"].setupIntent){e.next=5;break}throw new d("Invalid endpoint: region ".concat(s," not supported"));case 5:return e.prev=5,e.next=8,p.post(o,{confirm:!1},{headers:c({Authorization:t},this.api.headers)});case 8:n={success:!0,errorStatus:void 0,clientSecret:(e.sent.data||{}).clientSecret},e.next=17;break;case 13:e.prev=13,e.t0=e.catch(5),i=(u=e.t0||{}).response,h=u.responseData,i&&(n.errorStatus=i.status,n.errors=h&&h.errors);case 17:return e.abrupt("return",n);case 18:case"end":return e.stop()}},e,this,[[5,13]])})),function(e){return i.apply(this,arguments)}),e.prototype.addPurchase=(h=(0,u.default)(/*#__PURE__*/a.default.mark(function e(t,r){var s,n,o,u,i,h,l,v=arguments;return a.default.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if(n=v.length>2&&void 0!==v[2]?v[2]:"UK",o={success:!1,errorStatus:500},u=null===(s=this.api.endpoints.gizmo.region[n])||void 0===s?void 0:s["1"].purchaseSource){e.next=5;break}throw new d("Invalid endpoint: region ".concat(n," not supported"));case 5:return e.prev=5,e.next=8,p.post(u,r,{headers:c({Authorization:t},this.api.headers)});case 8:o={success:!0,errorStatus:void 0,data:e.sent.data},e.next=16;break;case 12:e.prev=12,e.t0=e.catch(5),h=(i=e.t0||{}).response,l=i.responseData,h&&(o.errorStatus=h.status,o.errors=l&&l.errors);case 16:return this.removeEncodedItem("activesubs"),e.abrupt("return",o);case 18:case"end":return e.stop()}},e,this,[[5,12]])})),function(e,t){return h.apply(this,arguments)}),e.prototype.getPurchasePreview=(l=(0,u.default)(/*#__PURE__*/a.default.mark(function e(t,r){var s,n,o,u,i,h,l,v,f=arguments;return a.default.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if(n=f.length>2&&void 0!==f[2]?f[2]:"UK",o=f.length>3&&void 0!==f[3]?f[3]:"1",u={success:!1,errorStatus:500},i=null===(s=this.api.endpoints.gizmo.region[n])||void 0===s||null===(s=s[o])||void 0===s?void 0:s.purchasePreview){e.next=6;break}throw new d("Invalid endpoint: region ".concat(n," and version ").concat(o," not supported"));case 6:return e.prev=6,e.next=9,p.post(i,r,{headers:c({Authorization:t},this.api.headers)});case 9:u={success:!0,errorStatus:void 0,data:e.sent.data},e.next=17;break;case 13:e.prev=13,e.t0=e.catch(6),l=(h=e.t0||{}).response,v=h.responseData,l&&(u.errorStatus=l.status,u.errors=v&&v.errors);case 17:return e.abrupt("return",u);case 18:case"end":return e.stop()}},e,this,[[6,13]])})),function(e,t){return l.apply(this,arguments)}),e.prototype.getSub=(v=(0,u.default)(/*#__PURE__*/a.default.mark(function e(t){var r,s,n,o,u,i,h,l=arguments;return a.default.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if(s=l.length>1&&void 0!==l[1]?l[1]:"1",n={success:!1,errorStatus:500,sources:void 0},o=null===(r=this.api.endpoints.regwall[s])||void 0===r?void 0:r.getSub){e.next=5;break}throw new d("Invalid endpoint: version ".concat(s," not supported"));case 5:return e.prev=5,e.next=8,p.get(o,{headers:c({Authorization:t},this.api.headers)});case 8:n={success:!0,errorStatus:void 0,subscriptions:(e.sent.data||{}).subscriptions},e.next=17;break;case 13:e.prev=13,e.t0=e.catch(5),i=(u=e.t0||{}).response,h=u.responseData,i&&(n.errorStatus=i.status,n.errors=h&&h.errors);case 17:return e.abrupt("return",n);case 18:case"end":return e.stop()}},e,this,[[5,13]])})),function(e){return v.apply(this,arguments)}),e.prototype.getActiveSub=(f=(0,u.default)(/*#__PURE__*/a.default.mark(function e(t){var r,s,n,o,u,i,d,h,l=arguments;return a.default.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if(r=l.length>1&&void 0!==l[1]?l[1]:"1",s=l.length>2&&void 0!==l[2]&&l[2],n={success:!1,errorStatus:500,sources:void 0},o=r in this.api.endpoints.regwall?r:"1",!((u=this.getEncodedItem("activesubs"))&&!0!==s)){e.next=9;break}n={success:!0,errorStatus:void 0,subscriptions:u},e.next=23;break;case 9:return e.prev=9,e.next=12,p.get(this.api.endpoints.regwall[o].getActiveSub,{headers:c({Authorization:t},this.api.headers)});case 12:u=(e.sent.data||{}).subscriptions,this.storeEncodedItem({key:"activesubs",value:u,ttl:36e5}),n={success:!0,errorStatus:void 0,subscriptions:u},e.next=23;break;case 19:e.prev=19,e.t0=e.catch(9),d=(i=e.t0||{}).response,h=i.responseData,d&&(n.errorStatus=d.status,n.errors=h&&h.errors);case 23:return e.abrupt("return",n);case 24:case"end":return e.stop()}},e,this,[[9,19]])})),function(e){return f.apply(this,arguments)}),e.prototype.cancelSub=(g=(0,u.default)(/*#__PURE__*/a.default.mark(function e(t,r){var s,n,o,u,i,h,l,v=arguments;return a.default.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if(n=v.length>2&&void 0!==v[2]?v[2]:"UK",o={success:!1,errorStatus:500},u=null===(s=this.api.endpoints.gizmo.region[n])||void 0===s?void 0:s["1"].cancelSub){e.next=5;break}throw new d("Invalid endpoint: region ".concat(n," not supported"));case 5:return e.prev=5,e.next=8,p.post(u.replace(":subId",r),null,{headers:c({Authorization:t},this.api.headers)});case 8:o={success:!0,errorStatus:void 0},e.next=15;break;case 11:e.prev=11,e.t0=e.catch(5),h=(i=e.t0||{}).response,l=i.responseData,h&&(o.errorStatus=h.status,o.errors=l&&l.errors);case 15:return this.removeEncodedItem("activesubs"),e.abrupt("return",o);case 17:case"end":return e.stop()}},e,this,[[5,11]])})),function(e,t){return g.apply(this,arguments)}),e.prototype.cancelSubImmediate=(S=(0,u.default)(/*#__PURE__*/a.default.mark(function e(t,r){var s,n,o,u,i,h,l,v=arguments;return a.default.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if(n=v.length>2&&void 0!==v[2]?v[2]:"US",o={success:!1,errorStatus:500},u=null===(s=this.api.endpoints.gizmo.region[n])||void 0===s?void 0:s["1"].cancelSubImmediate){e.next=5;break}throw new d("Invalid endpoint: region ".concat(n," not supported"));case 5:return e.prev=5,e.next=8,p.post(u.replace(":subId",r),null,{headers:c({Authorization:t},this.api.headers)});case 8:o={success:!0,errorStatus:void 0},e.next=15;break;case 11:e.prev=11,e.t0=e.catch(5),h=(i=e.t0||{}).response,l=i.responseData,h&&(o.errorStatus=h.status,o.errors=l&&l.errors);case 15:return this.removeEncodedItem("activesubs"),this.removeEncodedItem("preauthz"),e.abrupt("return",o);case 18:case"end":return e.stop()}},e,this,[[5,11]])})),function(e,t){return S.apply(this,arguments)}),e.prototype.getPreAuthEntitlements=(b=(0,u.default)(/*#__PURE__*/a.default.mark(function e(t,r){var s,o,u,i,d,h,l,v,f,g,S,b,m,w,x=arguments;return a.default.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if(s=x.length>2&&void 0!==x[2]?x[2]:{},o={success:!1,errorStatus:500,preAuthorizedEntitlements:void 0},u=r||!1,i=this.getEncodedItem("preauthz"),d=72e5,!0!==u&&Array.isArray(i)&&void 0!==(h=s.validateWithCookie)&&h&&null!=(l=this.getCookie(this.api.cookie.appEntitlementsName,""))&&(v=new Set(l.split(",").map(function(e){return e.trim()}).filter(Boolean)),f=new Set(i.map(function(e){return e.entitlement})),v.size===f.size&&(0,n.default)(v).every(function(e){return f.has(e)})||(u=!0)),!(i&&!0!==u)){e.next=10;break}o={success:!0,errorStatus:void 0,preAuthorizedEntitlements:i},e.next=26;break;case 10:return e.prev=10,S=c({Authorization:t},this.api.headers),e.next=14,p.post(this.api.endpoints.regwall["1"].preAuthSource,null,{headers:S});case 14:i=(b=e.sent)&&b.data.preAuthorizedEntitlements||[],(m=null==b||null===(g=b.data)||void 0===g?void 0:g.expirationTimestampMillis)&&(d=m-Date.now()),this.storeEncodedItem({key:"preauthz",value:i,ttl:d}),o={success:!0,errorStatus:void 0,preAuthorizedEntitlements:i},e.next=26;break;case 22:e.prev=22,e.t0=e.catch(10),w=(e.t0||{}).response,o.errorStatus=w&&w.status||500;case 26:return e.abrupt("return",o);case 27:case"end":return e.stop()}},e,this,[[10,22]])})),function(e,t){return b.apply(this,arguments)}),e.prototype.getAuthZTokens=(m=(0,u.default)(/*#__PURE__*/a.default.mark(function e(t,r,s){var n,o,u;return a.default.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return n={success:!1,errorStatus:500,results:[]},e.prev=1,e.next=4,this.getPreAuthEntitlements(r,s);case 4:return o=e.sent.preAuthorizedEntitlements,e.next=7,p.post(this.api.endpoints.getAuthZTokens,{organization:"cnn",mediaIds:t,preAuthzs:o},{headers:this.api.headers});case 7:n={success:!0,errorStatus:void 0,results:e.sent.data.results},e.next=15;break;case 11:e.prev=11,e.t0=e.catch(1),u=(e.t0||{}).response,n.errorStatus=u&&u.status||500;case 15:return e.abrupt("return",n);case 16:case"end":return e.stop()}},e,this,[[1,11]])})),function(e,t,r){return m.apply(this,arguments)}),e.prototype.productCheck=(w=(0,u.default)(/*#__PURE__*/a.default.mark(function e(t,r){var s,n;return a.default.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return s={success:!1,errorStatus:500,data:[]},e.prev=1,e.next=4,p.post(this.api.endpoints.productCheck,{brand:"CNN",skus:t,userId:r},{headers:this.api.headers});case 4:s={success:!0,errorStatus:void 0,data:e.sent.data},e.next=12;break;case 8:e.prev=8,e.t0=e.catch(1),n=(e.t0||{}).response,s.errorStatus=n&&n.status||500;case 12:return e.abrupt("return",s);case 13:case"end":return e.stop()}},e,this,[[1,8]])})),function(e,t){return w.apply(this,arguments)}),e.prototype.assignRegCode=(x=(0,u.default)(/*#__PURE__*/a.default.mark(function e(t,r){var s,n;return a.default.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return s={success:!1,errorStatus:500},e.prev=1,e.next=4,p.post(this.api.endpoints.regcode.assign,{regCode:r},{headers:c({Authorization:t},this.api.headers)});case 4:s={success:!0,errorStatus:void 0},e.next=11;break;case 7:e.prev=7,e.t0=e.catch(1),n=(e.t0||{}).response,s.errorStatus=n&&n.status||500;case 11:return e.abrupt("return",s);case 12:case"end":return e.stop()}},e,this,[[1,7]])})),function(e,t){return x.apply(this,arguments)}),e.prototype.verifyRegCode=(y=(0,u.default)(/*#__PURE__*/a.default.mark(function e(t){var r,s;return a.default.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return this.validateRequiredData(t,{type:"string",name:"regCode"}),r={success:!1,errorStatus:500},e.prev=2,e.next=5,p.get("".concat(this.api.endpoints.regcode.verify,"/").concat(t),{headers:this.api.headers});case 5:r={success:!0,errorStatus:void 0},e.next=12;break;case 8:e.prev=8,e.t0=e.catch(2),s=(e.t0||{}).response,r.errorStatus=s&&s.status||500;case 12:return e.abrupt("return",r);case 13:case"end":return e.stop()}},e,this,[[2,8]])})),function(e){return y.apply(this,arguments)}),e.prototype.generateRegCode=(k=(0,u.default)(/*#__PURE__*/a.default.mark(function e(){var t,r;return a.default.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return t={success:!1,errorStatus:500},e.prev=1,e.next=4,p.get(this.api.endpoints.regcode.generate,{headers:this.api.headers});case 4:t={regCode:e.sent.data.regCode,success:!0,errorStatus:void 0},e.next=12;break;case 8:e.prev=8,e.t0=e.catch(1),r=(e.t0||{}).response,t.errorStatus=r&&r.status||500;case 12:return e.abrupt("return",t);case 13:case"end":return e.stop()}},e,this,[[1,8]])})),function(){return k.apply(this,arguments)}),e.prototype.getRegcodeMetadata=(z=(0,u.default)(/*#__PURE__*/a.default.mark(function e(t,r){var s,n;return a.default.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return this.validateRequiredData(r,{type:"string",name:"regCode"}),s={success:!1,errorStatus:500},e.prev=2,e.next=5,p.get("".concat(this.api.endpoints.regcode.metadata,"/").concat(r),{headers:c({Authorization:t},this.api.headers)});case 5:s={success:!0,errorStatus:void 0,data:e.sent.data},e.next=13;break;case 9:e.prev=9,e.t0=e.catch(2),n=(e.t0||{}).response,s.errorStatus=n&&n.status||500;case 13:return e.abrupt("return",s);case 14:case"end":return e.stop()}},e,this,[[2,9]])})),function(e,t){return z.apply(this,arguments)}),e.prototype.getProductTransitionStrategy=(I=(0,u.default)(/*#__PURE__*/a.default.mark(function e(){var t,r,s,n,o,u,i,c,h,l,v,f,g,S,b,m=arguments;return a.default.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if(s=(r=m.length>0&&void 0!==m[0]?m[0]:{}).productOrSubId,o=void 0===(n=r.type)?"productId":n,i=void 0===(u=r.region)?"US":u,h=void 0===(c=r.version)?"2":c,l={success:!1,errorStatus:500,strategies:void 0},v=null===(t=this.api.endpoints.gizmo.region[i])||void 0===t||null===(t=t[h])||void 0===t?void 0:t.transitionStrategy,this.validateRequiredData(s,{type:"string",name:"productOrSubId"}),v){e.next=6;break}throw new d("Invalid endpoint: region ".concat(i," and version ").concat(h," not supported"));case 6:return e.prev=6,e.next=9,p.get(v.replace(":type",o).replace(":productId",s),{headers:this.api.headers});case 9:l={success:!0,errorStatus:void 0,strategies:void 0===(f=(e.sent.data||[]).strategies)?[]:f},e.next=18;break;case 14:e.prev=14,e.t0=e.catch(6),S=(g=e.t0||{}).response,b=g.responseData,S&&(l.errorStatus=S.status,l.errors=b&&b.errors);case 18:return e.abrupt("return",l);case 19:case"end":return e.stop()}},e,this,[[6,14]])})),function(){return I.apply(this,arguments)})}}}]); /* window.modules["3868"] */ "use strict";(self.modules=self.modules||[]).push([["3868"],{3868:(t,e,r)=>{var s=r("4334"),a=s(r("4345")),n=s(r("4342")),u=s(r("4343"));function o(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var s=Object.getOwnPropertySymbols(t);e&&(s=s.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),r.push.apply(r,s)}return r}var c=r("4295");t.exports=function(t){var e,r,s;t.prototype.requestRegCode=(e=(0,u.default)(/*#__PURE__*/a.default.mark(function t(e){var r,s;return a.default.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return r={success:!1,errorStatus:500,data:null},t.prev=1,t.next=4,c.post(this.api.endpoints.requestRegCode,e,{headers:this.api.headers});case 4:r={success:!0,errorStatus:void 0,data:t.sent.data},t.next=12;break;case 8:t.prev=8,t.t0=t.catch(1),s=(t.t0||{}).response,r.errorStatus=s&&s.status||500;case 12:return t.abrupt("return",r);case 13:case"end":return t.stop()}},t,this,[[1,8]])})),function(t){return e.apply(this,arguments)}),t.prototype.authnRegCode=(r=(0,u.default)(/*#__PURE__*/a.default.mark(function t(e){var r,s;return a.default.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:if(r={success:!1,errorStatus:500,data:null},!e){t.next=13;break}return t.prev=2,t.next=5,c.get("".concat(this.api.endpoints.authnRegCode,"/").concat(e),{headers:this.api.headers});case 5:r={success:!0,errorStatus:void 0,data:t.sent.data},t.next=13;break;case 9:t.prev=9,t.t0=t.catch(2),s=(t.t0||{}).response,r.errorStatus=s&&s.status||500;case 13:return t.abrupt("return",r);case 14:case"end":return t.stop()}},t,this,[[2,9]])})),function(t){return r.apply(this,arguments)}),t.prototype.linkMVPDAuthn=(s=(0,u.default)(/*#__PURE__*/a.default.mark(function t(e,r){var s,u;return a.default.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return s={success:!1,errorStatus:500},t.prev=1,t.next=4,c.post(this.api.endpoints.linkMVPDAuthn,{},{headers:function(t){for(var e=1;e{var a=r("4334"),s=a(r("4345")),n=a(r("4343")),u=r("4295");t.exports=function(t){var e;t.prototype.getDataExchange=(e=(0,n.default)(/*#__PURE__*/s.default.mark(function t(e){var r,a;return s.default.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:if(r={success:!1,errorStatus:500,data:null},e){t.next=3;break}return t.abrupt("return",r);case 3:return t.prev=3,t.next=6,u.post(this.api.endpoints.dataExchange,e,{headers:this.api.headers});case 6:r={success:!0,errorStatus:void 0,data:t.sent.data},t.next=14;break;case 10:t.prev=10,t.t0=t.catch(3),a=(t.t0||{}).response,r.errorStatus=a&&a.status||500;case 14:return t.abrupt("return",r);case 15:case"end":return t.stop()}},t,this,[[3,10]])})),function(t){return e.apply(this,arguments)})}}}]); /* window.modules["3870"] */ "use strict";(self.modules=self.modules||[]).push([["3870"],{3870:(e,t,r)=>{var n=r("4334"),s=n(r("4345")),a=n(r("4342")),o=n(r("4343"));function c(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}var u=r("4295");e.exports=function(e){var t;e.prototype.openwebSSO=(t=(0,o.default)(/*#__PURE__*/s.default.mark(function e(t,r){var n,o,p;return s.default.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if(n={success:!1,errorStatus:500,data:null},t){e.next=3;break}return e.abrupt("return",n);case 3:return e.prev=3,o=function(e){for(var t=1;t{var n=r("4334"),a=n(r("4345")),c=n(r("4344")),i=n(r("4341")),o=n(r("4342")),s=n(r("4343"));function u(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function l(e){for(var t=1;t2&&void 0!==arguments[2]&&arguments[2];t=6e4*e;var a=JSON.parse(window.localStorage.getItem(r||v));return!!(a&&(a.ttl-Date.now()>0||n))&&a}function m(e,r){"undefined"!=typeof window&&(e.ttl=Date.now()+t,window.localStorage.setItem(r||v,JSON.stringify(e)))}e.prototype.getPreferenceCollection=(r=(0,s.default)(/*#__PURE__*/a.default.mark(function e(t,r,n){var c,i,o,s;return a.default.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if(this.validateRequiredData(t,{type:"string",name:"accessToken"}),r){e.next=3;break}throw new d("collection arg is required");case 3:return c="".concat(v,".").concat(r),e.next=6,g(n.ttlMinutesOverride||10,c,n.useCache||!1);case 6:if(!((i=e.sent)&&!n.bypassCache)){e.next=9;break}return e.abrupt("return",i);case 9:return e.prev=9,o=l({Authorization:t},this.api.headers),e.next=13,p.get("".concat(this.api.endpoints.preferences,"/").concat(r),{headers:o});case 13:return m((s=e.sent).data,c),e.abrupt("return",s.data);case 18:throw e.prev=18,e.t0=e.catch(9),e.t0;case 21:case"end":return e.stop()}},e,this,[[9,18]])})),function(e,t,n){return r.apply(this,arguments)}),e.prototype.addPreferenceCollectionItem=(n=(0,s.default)(/*#__PURE__*/a.default.mark(function e(t,r,n){var c,i,o;return a.default.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if(!("string"!=typeof r||0===r.trim().length)){e.next=2;break}throw new d("collection arg is required");case 2:if(!("string"!=typeof n||0===n.trim().length)){e.next=4;break}throw new d("item arg is required");case 4:return this.validateRequiredData(t,{type:"string",name:"accessToken"}),e.prev=5,i=l({Authorization:t},this.api.headers),e.next=9,p.put("".concat(this.api.endpoints.preferences,"/").concat(r,"/").concat(n),{},{headers:i});case 9:return m({collection:r,selections:(null==(o=e.sent)||null===(c=o.data)||void 0===c?void 0:c.selections)||[],ttl:10},"".concat(v,".").concat(r)),e.abrupt("return",o.data);case 14:throw e.prev=14,e.t0=e.catch(5),e.t0;case 17:case"end":return e.stop()}},e,this,[[5,14]])})),function(e,t,r){return n.apply(this,arguments)}),e.prototype.preferences=(o=(0,s.default)(/*#__PURE__*/a.default.mark(function e(t){var r,n,c,i,o=arguments;return a.default.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return r=o.length>1&&void 0!==o[1]?o[1]:{bypassCache:!1,ttlMinutesOverride:10},this.validateRequiredData(t,{type:"string",name:"accessToken"}),e.next=4,g(r.ttlMinutesOverride||10);case 4:if(!((n=e.sent)&&!r.bypassCache)){e.next=7;break}return e.abrupt("return",n);case 7:return e.prev=7,c=l({Authorization:t},this.api.headers),e.next=11,p.get(this.api.endpoints.preferences,{headers:c});case 11:return m((i=e.sent).data),e.abrupt("return",i.data);case 16:throw e.prev=16,e.t0=e.catch(7),e.t0;case 19:case"end":return e.stop()}},e,this,[[7,16]])})),function(e){return o.apply(this,arguments)}),e.prototype.updatePreferencesV3=(u=(0,s.default)(/*#__PURE__*/a.default.mark(function e(t,r,n){var c;return a.default.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if(!("string"!=typeof r||0===r.trim().length)){e.next=2;break}throw new d("collection field is required");case 2:if(Array.isArray(n)){e.next=4;break}throw new d("selection Array is required");case 4:return this.validateRequiredData(t,{type:"string",name:"accessToken"}),e.prev=5,c=l({Authorization:t},this.api.headers),e.next=9,p.put("".concat(this.api.endpoints.preferences,"/").concat(r),{selections:n},{headers:c});case 9:return m({collection:r,selections:n,ttl:10},"".concat(v,".").concat(r)),e.abrupt("return");case 13:throw e.prev=13,e.t0=e.catch(5),e.t0;case 16:case"end":return e.stop()}},e,this,[[5,13]])})),function(e,t,r){return u.apply(this,arguments)}),e.prototype.updatePreferencesV2=(f=(0,s.default)(/*#__PURE__*/a.default.mark(function e(t,r,n){var c,i,o,s,u,f;return a.default.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if(!("string"!=typeof t||0===t.trim().length)){e.next=2;break}throw new d("collection field is required");case 2:if(Array.isArray(r)){e.next=4;break}throw new d("selection Array is required");case 4:return this.validateRequiredData(n,{type:"string",name:"accessToken"}),e.prev=5,i={collection:t,selections:r},e.next=9,this.preferences(n,{bypassCache:!0});case 9:return(o=e.sent.preferences)?(s=!1,c=o.map(function(e){return e.collection===t?(s=!0,i):e}),s||c.push(i)):c=[i],u={preferences:c},e.prev=13,f=l({Authorization:n},this.api.headers),e.next=17,p.put(this.api.endpoints.preferences,u,{headers:f});case 17:return m(u),e.abrupt("return");case 21:throw e.prev=21,e.t0=e.catch(13),e.t0;case 24:e.next=29;break;case 26:throw e.prev=26,e.t1=e.catch(5),e.t1;case 29:case"end":return e.stop()}},e,this,[[5,26],[13,21]])})),function(e,t,r){return f.apply(this,arguments)}),e.prototype.updatePreferences=(h=(0,s.default)(/*#__PURE__*/a.default.mark(function e(t,r){var n;return a.default.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if(console.warn("[DaltonSDK deprecated method warning] The updatePreferences method is un-safe and should be replaced with the updatePreferencesV2 call!!"),!(!t||"object"!==(0,i.default)(t))){e.next=3;break}throw new d("Missing data object");case 3:return this.validateRequiredData(r,{type:"string",name:"accessToken"}),e.prev=4,n=l({Authorization:r},this.api.headers),e.next=8,p.put(this.api.endpoints.preferences,t,{headers:n});case 8:return e.abrupt("return");case 11:throw e.prev=11,e.t0=e.catch(4),e.t0;case 14:case"end":return e.stop()}},e,this,[[4,11]])})),function(e,t){return h.apply(this,arguments)}),e.prototype.clearPreferences=function(e){"undefined"!=typeof window&&(e&&"string"==typeof e&&0!==e.trim().length?window.localStorage.removeItem("".concat(v,".").concat(e)):Object.keys(window.localStorage).forEach(function(e){e.includes(v)&&window.localStorage.removeItem(e)}))},e.prototype.deletePreferenceCollectionItem=(w=(0,s.default)(/*#__PURE__*/a.default.mark(function e(t,r,n){var c,i,o;return a.default.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if(this.validateRequiredData(t,{type:"string",name:"accessToken"}),!("string"!=typeof r||0===r.trim().length)){e.next=3;break}throw new d("collection arg is required");case 3:if(!("string"!=typeof n||0===n.trim().length)){e.next=5;break}throw new d("item arg is required");case 5:return e.prev=5,i=l({Authorization:t},this.api.headers),e.next=9,p.delete("".concat(this.api.endpoints.preferences,"/").concat(r,"/").concat(n),{headers:i});case 9:return m({collection:r,selections:(null==(o=e.sent)||null===(c=o.data)||void 0===c?void 0:c.selections)||[],ttl:10},"".concat(v,".").concat(r)),e.abrupt("return",o.data);case 14:throw e.prev=14,e.t0=e.catch(5),e.t0;case 17:case"end":return e.stop()}},e,this,[[5,14]])})),function(e,t,r){return w.apply(this,arguments)}),e.prototype.addUnauthPreferenceCollection=function(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{ttlMinutesOverride:10};if("string"!=typeof e||0===e.trim().length)throw new d("collection field is required");if(!Array.isArray(t))throw new d("selection Array is required");var n=g(r.ttlMinutesOverride||10,"".concat(v,".").concat(e).concat(y)),a=(0,c.default)(t);n&&Array.isArray(n.selections)&&a.push.apply(a,(0,c.default)(n.selections)),m({collection:e,selections:a,ttl:r.ttlMinutesOverride||10},"".concat(v,".").concat(e).concat(y))},e.prototype.addUnauthPreferenceCollectionItem=function(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{ttlMinutesOverride:10};if("string"!=typeof e||0===e.trim().length)throw new d("collection field is required");if("string"!=typeof t||0===t.trim().length)throw new d("item arg is required");var n=g(r.ttlMinutesOverride||10,"".concat(v,".").concat(e).concat(y)),a=[t];n&&Array.isArray(n.selections)&&a.push.apply(a,(0,c.default)(n.selections)),m({collection:e,selections:a,ttl:10},"".concat(v,".").concat(e).concat(y))},e.prototype.getUnauthPreferenceCollection=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{ttlMinutesOverride:10};if(!e)throw new d("collection arg is required");return g(t.ttlMinutesOverride||10,"".concat(v,".").concat(e).concat(y))},e.prototype.removeUnauthPreferenceCollection=function(e){if(!e)throw new d("collection arg is required");window.localStorage.removeItem("".concat(v,".").concat(e).concat(y))},e.prototype.removeUnauthPreferenceCollectionItem=function(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{ttlMinutesOverride:10};if(!e)throw new d("collection arg is required");if("string"!=typeof t||0===t.trim().length)throw new d("item arg is required");var n=g(r.ttlMinutesOverride||10,"".concat(v,".").concat(e).concat(y));n&&Array.isArray(n.selections)&&m({collection:e,selections:n.selections.filter(function(e){return e!==t}),ttl:10},"".concat(v,".").concat(e).concat(y))}}}}]); /* window.modules["3872"] */ (self.modules=self.modules||[]).push([["3872"],{3872:(e,s,u)=>{var l=u("4320"),o=u("4321"),r=u("2786"),f=u("607");e.exports=function(e,s){return(f(e)?l:o)(e,r(s,3))}}}]); /* window.modules["3873"] */ (self.modules=self.modules||[]).push([["3873"],{3873:(e,s,l)=>{var o=l("4129")(Object.keys,Object);e.exports=o}}]); /* window.modules["3874"] */ "use strict";(self.modules=self.modules||[]).push([["3874"],{3874:(e,t,r)=>{var n=r("4334"),s=n(r("4345")),a=n(r("4341")),i=n(r("4342")),o=n(r("4343"));function c(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function u(e){for(var t=1;t{var o=n("4334"),r=o(n("4341")),a=o(n("4342"));function i(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(t);e&&(o=o.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),n.push.apply(n,o)}return n}var c=n("3850");t.exports=function(t){t.prototype.storeEncodedItem=function(t){var e=t.key,n=t.value,o=t.ttl,r=o?{value:n,expiry:new Date().getTime()+o}:n,a=btoa("string"!=typeof r?JSON.stringify(r):r),i=window.location.hostname.replace("www.",""),c=i.substr(0,i.indexOf(".")),l="";"plus.stellar.cnn.com"!==i&&("cnn"===c||"us"===c||"edition"===c||"arabic"===c||"cnnespanol"===c||"plus"===c||"plus-test"===c)||(l="_".concat(c||i));var s="".concat(e).concat(l);return localStorage.setItem(s,a),{storageName:s,encodedValue:a}},t.prototype.getEncodedItem=function(t){var e=Object.keys(localStorage).find(function(e){return e===t||e.startsWith("".concat(t,"_"))}),n=localStorage.getItem(e);if(!n)return null;var o=atob(n),r="";try{r=JSON.parse(o)}catch(t){r=o}var a=r.expiry;return!a||a>new Date().getTime()?r.value||r:null},t.prototype.removeEncodedItem=function(t){localStorage.removeItem(Object.keys(localStorage).find(function(e){return e===t||e.startsWith("".concat(t,"_"))}))},t.prototype.validPassword=function(t){if("string"==typeof t){var e=t.trim();return e.length>0&&e.length0&&e.length{var s=r("4334"),a=s(r("4345")),n=s(r("4343")),u=r("4295");t.exports=function(t){var e;t.prototype.getPianoJWT=(e=(0,n.default)(/*#__PURE__*/a.default.mark(function t(e){var r,s;return a.default.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return r={success:!1,errorStatus:500,data:null},t.prev=1,t.next=4,u.get(this.api.endpoints.pianoJWT,{headers:{Authorization:e}});case 4:r={success:!0,errorStatus:void 0,data:t.sent.data},t.next=12;break;case 8:t.prev=8,t.t0=t.catch(1),s=(t.t0||{}).response,r.errorStatus=s&&s.status||500;case 12:return t.abrupt("return",r);case 13:case"end":return t.stop()}},t,this,[[1,8]])})),function(t){return e.apply(this,arguments)})}}}]); /* window.modules["3877"] */ "use strict";(self.modules=self.modules||[]).push([["3877"],{3877:(e,t,r)=>{var a=r("4334"),s=a(r("4345")),n=a(r("4342")),i=a(r("4343"));function c(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,a)}return r}var o=r("4295");e.exports=function(e){var t,r;e.prototype.createAmazonAssociation=(t=(0,i.default)(/*#__PURE__*/s.default.mark(function e(t,r){var a,i,u;return s.default.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return this.validateRequiredData(t,{type:"string",name:"accessToken"}),this.validateRequiredData(r,{type:"object",name:"data",requiredFields:[{field:"lwaAccessToken",type:"string"},{field:"clientId",type:"string",validator:"length"}]}),a={success:!1,errorStatus:500},e.prev=3,i=function(e){for(var t=1;t{var a=l("4327")(l("3593"),"DataView");e.exports=a}}]); /* window.modules["3879"] */ (self.modules=self.modules||[]).push([["3879"],{3879:(s,e,l)=>{var o=l("4327")(l("3593"),"Map");s.exports=o}}]); /* window.modules["3880"] */ (self.modules=self.modules||[]).push([["3880"],{3880:(s,e,l)=>{var o=l("4327")(l("3593"),"Promise");s.exports=o}}]); /* window.modules["3881"] */ (self.modules=self.modules||[]).push([["3881"],{3881:(e,s,l)=>{var o=l("4327")(l("3593"),"Set");e.exports=o}}]); /* window.modules["3882"] */ (self.modules=self.modules||[]).push([["3882"],{3882:(e,s,l)=>{var a=l("4327")(l("3593"),"WeakMap");e.exports=a}}]); /* window.modules["3883"] */ (self.modules=self.modules||[]).push([["3883"],{3883:t=>{var r=Function.prototype.toString;t.exports=function(t){if(null!=t){try{return r.call(t)}catch(t){}try{return t+""}catch(t){}}return""}}}]); /* window.modules["3884"] */ (self.modules=self.modules||[]).push([["3884"],{3884:(e,s,u)=>{var o=u("3025"),r=u("3026");e.exports=function(e){return r(e)&&"[object Arguments]"==o(e)}}}]); /* window.modules["3885"] */ (self.modules=self.modules||[]).push([["3885"],{3885:e=>{e.exports=function(){return!1}}}]); /* window.modules["3886"] */ (self.modules=self.modules||[]).push([["3886"],{3886:f=>{f.exports=function(f){return"number"==typeof f&&f>-1&&f%1==0&&f{var r=o("3025"),c=o("3886"),b=o("3026"),j={};j["[object Float32Array]"]=j["[object Float64Array]"]=j["[object Int8Array]"]=j["[object Int16Array]"]=j["[object Int32Array]"]=j["[object Uint8Array]"]=j["[object Uint8ClampedArray]"]=j["[object Uint16Array]"]=j["[object Uint32Array]"]=!0,j["[object Arguments]"]=j["[object Array]"]=j["[object ArrayBuffer]"]=j["[object Boolean]"]=j["[object DataView]"]=j["[object Date]"]=j["[object Error]"]=j["[object Function]"]=j["[object Map]"]=j["[object Number]"]=j["[object Object]"]=j["[object RegExp]"]=j["[object Set]"]=j["[object String]"]=j["[object WeakMap]"]=!1,t.exports=function(t){return b(t)&&c(t.length)&&!!j[r(t)]}}}]); /* window.modules["3888"] */ (self.modules=self.modules||[]).push([["3888"],{3888:e=>{e.exports=function(e){return function(u){return e(u)}}}}]); /* window.modules["3889"] */ (self.modules=self.modules||[]).push([["3889"],{3889:(e,r,n)=>{e=n.nmd(e);var i=n("4171"),s=r&&!r.nodeType&&r,t=s&&e&&!e.nodeType&&e,u=t&&t.exports===s&&i.process,o=function(){try{var e=t&&t.require&&t.require("util").types;if(e)return e;return u&&u.binding&&u.binding("util")}catch(e){}}();e.exports=o}}]); /* window.modules["3890"] */ (self.modules=self.modules||[]).push([["3890"],{3890:(t,o,e)=>{var s=e("4330"),p=e("4331"),a=e("4332");function d(t){var o=-1,e=null==t?0:t.length;for(this.__data__=new s;++o{var u=s("4131");e.exports=function(e,l){return!!(null==e?0:e.length)&&u(e,l,0)>-1}}}]); /* window.modules["3892"] */ (self.modules=self.modules||[]).push([["3892"],{3892:e=>{e.exports=function(e,l,r){for(var u=-1,n=null==e?0:e.length;++u{s.exports=function(s,e){return s.has(e)}}}]); /* window.modules["3894"] */ (self.modules=self.modules||[]).push([["3894"],{3894:(e,s,o)=>{var l=o("4088"),r=o("742"),u=o("607"),a=l?l.isConcatSpreadable:void 0;e.exports=function(e){return u(e)||r(e)||!!(a&&e&&e[a])}}}]); /* window.modules["3895"] */ (self.modules=self.modules||[]).push([["3895"],{3895:e=>{e.exports=function(e,l){for(var s=-1,n=l.length,o=e.length;++s{var n=t("4333"),o=Math.max;r.exports=function(r,e,t){return e=o(void 0===e?r.length-1:e,0),function(){for(var a=arguments,s=-1,u=o(a.length-e,0),f=Array(u);++s{var t=s("3592"),u=1/0;e.exports=function(e){if("string"==typeof e||t(e))return e;var r=e+"";return"0"==r&&1/e==-u?"-0":r}}}]); /* window.modules["3898"] */ (self.modules=self.modules||[]).push([["3898"],{3898:(s,e,l)=>{var o=l("4346"),u=l("4347")(o);s.exports=u}}]); /* window.modules["3899"] */ (self.modules=self.modules||[]).push([["3899"],{3899:(e,o,s)=>{var l=s("2534"),r=s("3594"),t=Object.prototype.hasOwnProperty;e.exports=function(e,o,s){var p=e[o];t.call(e,o)&&r(p,s)&&(void 0!==s||o in e)||l(e,o,s)}}}]); /* window.modules["3900"] */ (self.modules=self.modules||[]).push([["3900"],{3900:f=>{var e=/^(?:0|[1-9]\d*)$/;f.exports=function(f,s){var l=typeof f;return!!(s=null==s?0x1fffffffffffff:s)&&("number"==l||"symbol"!=l&&e.test(f))&&f>-1&&f%1==0&&f{n.exports={0:function(n,l,e,a,t){var o=n.lookupProperty||function(n,l){if(Object.prototype.hasOwnProperty.call(n,l))return n[l]};return n.escapeExpression((o(e,"set")||l&&o(l,"set")||n.hooks.helperMissing).call(null!=l?l:n.nullContext||{},"isSubwall",!0,{name:"set",hash:{},data:t,loc:{start:{line:2,column:0},end:{line:2,column:25}}}))+"\n"},1:function(n,l,e,a,t){var o,r=n.lookupProperty||function(n,l){if(Object.prototype.hasOwnProperty.call(n,l))return n[l]};return' data-wall-count="'+n.escapeExpression("function"==typeof(o=null!=(o=r(e,"wallCount")||(null!=l?r(l,"wallCount"):l))?o:n.hooks.helperMissing)?o.call(null!=l?l:n.nullContext||{},{name:"wallCount",hash:{},data:t,loc:{start:{line:14,column:39},end:{line:14,column:52}}}):o)+'" '},2:function(n,l,e,a,t){return' data-is-subwall="true" '},3:function(n,l,e,a,t){var o,r=n.lookupProperty||function(n,l){if(Object.prototype.hasOwnProperty.call(n,l))return n[l]};return'data-wall-type="'+n.escapeExpression("function"==typeof(o=null!=(o=r(e,"wallType")||(null!=l?r(l,"wallType"):l))?o:n.hooks.helperMissing)?o.call(null!=l?l:n.nullContext||{},{name:"wallType",hash:{},data:t,loc:{start:{line:16,column:36},end:{line:16,column:48}}}):o)+'" '},4:function(n,l,e,a,t){return'data-dismissible="true" '},5:function(n,l,e,a,t){return'data-enable-email-capture="true" '},6:function(n,l,e,a,t){var o,r=n.lookupProperty||function(n,l){if(Object.prototype.hasOwnProperty.call(n,l))return n[l]};return null!=(o=r(e,"if").call(null!=l?l:n.nullContext||{},null!=l?r(l,"googleSSOEnabled"):l,{name:"if",hash:{},fn:n.program(7,t,0),inverse:n.noop,data:t,loc:{start:{line:19,column:45},end:{line:19,column:107}}}))?o:""},7:function(n,l,e,a,t){return'data-enable-google-eafs="true" '},8:function(n,l,e,a,t){var o,r=n.lookupProperty||function(n,l){if(Object.prototype.hasOwnProperty.call(n,l))return n[l]};return'data-email-capture-login-link="'+n.escapeExpression("function"==typeof(o=null!=(o=r(e,"emailCaptureLoginLink")||(null!=l?r(l,"emailCaptureLoginLink"):l))?o:n.hooks.helperMissing)?o.call(null!=l?l:n.nullContext||{},{name:"emailCaptureLoginLink",hash:{},data:t,loc:{start:{line:20,column:64},end:{line:20,column:89}}}):o)+'" '},9:function(n,l,e,a,t){var o,r=n.lookupProperty||function(n,l){if(Object.prototype.hasOwnProperty.call(n,l))return n[l]};return'data-email-capture-register-link="'+n.escapeExpression("function"==typeof(o=null!=(o=r(e,"emailCaptureRegisterLink")||(null!=l?r(l,"emailCaptureRegisterLink"):l))?o:n.hooks.helperMissing)?o.call(null!=l?l:n.nullContext||{},{name:"emailCaptureRegisterLink",hash:{},data:t,loc:{start:{line:21,column:70},end:{line:21,column:98}}}):o)+'" '},10:function(n,l,e,a,t){var o,r=n.lookupProperty||function(n,l){if(Object.prototype.hasOwnProperty.call(n,l))return n[l]};return'data-email-capture-source="'+n.escapeExpression("function"==typeof(o=null!=(o=r(e,"emailCaptureSource")||(null!=l?r(l,"emailCaptureSource"):l))?o:n.hooks.helperMissing)?o.call(null!=l?l:n.nullContext||{},{name:"emailCaptureSource",hash:{},data:t,loc:{start:{line:22,column:57},end:{line:22,column:79}}}):o)+'" '},11:function(n,l,e,a,t){var o,r=null!=l?l:n.nullContext||{},c=n.hooks.helperMissing,i="function",u=n.escapeExpression,s=n.lookupProperty||function(n,l){if(Object.prototype.hasOwnProperty.call(n,l))return n[l]};return" "+u(typeof(o=null!=(o=s(e,"componentVariation")||(null!=l?s(l,"componentVariation"):l))?o:c)===i?o.call(r,{name:"componentVariation",hash:{},data:t,loc:{start:{line:23,column:73},end:{line:23,column:95}}}):o)+"--"+u(typeof(o=null!=(o=s(e,"variation")||(null!=l?s(l,"variation"):l))?o:c)===i?o.call(r,{name:"variation",hash:{},data:t,loc:{start:{line:23,column:97},end:{line:23,column:110}}}):o)},12:function(n,l,e,a,t){return"user-account-reg-wall__modal--slide"},13:function(n,l,e,a,t){var o,r=null!=l?l:n.nullContext||{},c=n.hooks.helperMissing,i=n.lookupProperty||function(n,l){if(Object.prototype.hasOwnProperty.call(n,l))return n[l]};return' \n \n '+(null!=(o=(i(e,"renderImage")||l&&i(l,"renderImage")||c).call(r,{name:"renderImage",hash:{componentVariationOverride:"image_full",cropRatio:"original",credit:!1,caption:!1,lazy:!1,image:(i(e,"toObject")||l&&i(l,"toObject")||c).call(r,{name:"toObject",hash:{originalHeight:900,originalWidth:1440,url:null!=l?i(l,"backgroundImageUrl"):l},data:t,loc:{start:{line:30,column:26},end:{line:30,column:97}}})},data:t,loc:{start:{line:29,column:16},end:{line:36,column:19}}}))?o:"")+'\n \n \n'+(null!=(o=n.invokePartial(i(a,"marketing-headline"),l,{name:"marketing-headline",hash:{noRef:!0,componentVariation:"marketing-headline",subheaderText:null!=l?i(l,"horizonSubtext"):l,headlineText:null!=l?i(l,"horizonTitle"):l,firstEyebrowText:null!=l?i(l,"eyebrow"):l},data:t,indent:" ",helpers:e,partials:a,decorators:n.decorators}))?o:"")+(null!=(o=n.invokePartial(i(a,"subscription-card-wrapper"),l,{name:"subscription-card-wrapper",hash:{noRef:!0,componentVariation:"subscription-card-wrapper_radio",showCurrentPlan:!1,helpLinkText:null!=(o=null!=l?i(l,"subscriptionWrapperData"):l)?i(o,"helpLinkText"):o,helpText:null!=(o=null!=l?i(l,"subscriptionWrapperData"):l)?i(o,"helpText"):o,isHorizonEnabled:!0,products:null!=(o=null!=l?i(l,"subscriptionWrapperData"):l)?i(o,"products"):o,subscriptionCards:null!=(o=null!=l?i(l,"subscriptionWrapperData"):l)?i(o,"subscriptionCards"):o},data:t,indent:" ",helpers:e,partials:a,decorators:n.decorators}))?o:"")+' \n \n \n Terms of Use\n \n \n Privacy Policy\n \n \n Ad Choices\n \n \n Manage Cookies\n \n \n Accessibility & CC\n \n \n About\n \n \n Subscribe\n \n \n Newsletters\n \n \n Transcripts\n \n \n Help Center\n \n \n \n \n'},14:function(n,l,e,a,t){var o,r=null!=l?l:n.nullContext||{},c=n.lookupProperty||function(n,l){if(Object.prototype.hasOwnProperty.call(n,l))return n[l]};return null!=(o=c(e,"if").call(r,(c(e,"compare")||l&&c(l,"compare")||n.hooks.helperMissing).call(r,null!=l?c(l,"variation"):l,"google-eafs",{name:"compare",hash:{},data:t,loc:{start:{line:76,column:18},end:{line:76,column:51}}}),{name:"if",hash:{},fn:n.program(15,t,0),inverse:n.program(19,t,0),data:t,loc:{start:{line:76,column:8},end:{line:250,column:8}}}))?o:""},15:function(n,l,e,a,t){var o,r=n.lookupProperty||function(n,l){if(Object.prototype.hasOwnProperty.call(n,l))return n[l]};return null!=(o=r(e,"if").call(null!=l?l:n.nullContext||{},null!=l?r(l,"googleSSOEnabled"):l,{name:"if",hash:{},fn:n.program(16,t,0),inverse:n.noop,data:t,loc:{start:{line:77,column:8},end:{line:108,column:15}}}))?o:""},16:function(n,l,e,a,t){var o,r,c=null!=l?l:n.nullContext||{},i=n.hooks.helperMissing,u="function",s=n.escapeExpression,p=n.lookupProperty||function(n,l){if(Object.prototype.hasOwnProperty.call(n,l))return n[l]};return' \n \n \n \n \n \n \n '+s(typeof(r=null!=(r=p(e,"title")||(null!=l?p(l,"title"):l))?r:i)===u?r.call(c,{name:"title",hash:{},data:t,loc:{start:{line:85,column:69},end:{line:85,column:78}}}):r)+' \n '+s(typeof(r=null!=(r=p(e,"subtext")||(null!=l?p(l,"subtext"):l))?r:i)===u?r.call(c,{name:"subtext",hash:{},data:t,loc:{start:{line:86,column:70},end:{line:86,column:81}}}):r)+'
المصدر الأصلي: CNN Arabic
يُعيد كورة لايف نشر ملخص إخباري لأغراض التغطية الرياضية مع الإبقاء على حقوق المصدر الأصلي.
اقرأ المزيد على كورة لايف
تصفّح المزيد على كورة لايف (kora live) — البديل الرسمي ليلا شوت (yalla shoot) لمتابعة كرة القدم بث مباشر.