"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[8597],{18597:function(e,n,t){t.d(n,{Z:function(){return ri}});var r,a=t(92228),i=t(52322),o=t(66898),s=t(77290),c=t(2784),l=t(19596),d=t(15907),u=t(68897),f=t(45103),p=t(91842),h=t(40133),g=t(93005),m=t(73857),v=t(13813),x=t(95460),_=t(11992),b=t(2366),w=t(98621),y={id:"common_ariaLabel_closePrompt",defaultMessage:"Close Prompt"},M={id:"common_learnMore",defaultMessage:"Learn more"},j={id:"common_theme_explanation",defaultMessage:"Customize your experience by choosing how you want IMDb to look."},I={id:"common_theme_explanation2",defaultMessage:"Please note that this feature is currently in Beta and may not appear for all users or on all pages."},T={id:"common_theme_linkText",defaultMessage:"Change site theme"},C={id:"common_theme_promptHeader",defaultMessage:"Change site theme (Beta)"},A={id:"common_theme_selectLabel",defaultMessage:"Select theme"};!function(e){e.Default="default",e.Barbie="classic",e.Dark="dark",e.Light="light",e.Pro="pro"}(r||(r={}));var k={Default:{id:"common_theme_themeLabel_defaultTheme",defaultMessage:"IMDb default"},Barbie:{id:"common_theme_themeLabel_classicTheme",defaultMessage:"Barbie pink"},Dark:{id:"common_theme_themeLabel_darkTheme",defaultMessage:"Dark theme"},Light:{id:"common_theme_themeLabel_lightTheme",defaultMessage:"Light theme"}},N=function(e){var n=e.isOpen,t=e.onCloseClicked,a=e.selectedTheme,o=e.setSelectedTheme,s=(0,m.Z)();if(!n)return null;var c=s.formatMessage(y),l=Object.keys(k).map((function(e,n){var t=r[e],c=a===t;return(0,i.jsx)(f.RadioButton,{id:e,checked:c,onChange:function(){return o(t)},label:s.formatMessage(k[e])},"theme-option-".concat(n))}));return(0,i.jsxs)(f.Prompt,{isOpen:n,onCloseClicked:t,closePromptLabel:c,header:(0,i.jsx)(f.SectionTitle,{actions:(0,i.jsx)(f.IconButton,{ariaLabel:s.formatMessage(M),name:"info",label:s.formatMessage(M)}),padding:"none",children:s.formatMessage(C)}),children:[(0,i.jsx)("p",{children:s.formatMessage(j)}),(0,i.jsx)("br",{}),(0,i.jsxs)("p",{children:[s.formatMessage(I),"\xa0",(0,i.jsx)(f.TextLink,{text:s.formatMessage(M),href:"https://help.imdb.com"})]}),(0,i.jsx)("br",{}),(0,i.jsx)("p",{children:s.formatMessage(A)}),l]})};function E(){var e=(0,a.Z)(["\n text-align: center;\n"]);return E=function(){return e},e}var S="".concat("thm","_lnk"),P=function(e){var n=e.selectedTheme,t=e.setSelectedTheme,r=(0,m.Z)(),a=(0,c.useState)(!1),o=a[0],s=a[1],l=(0,v.y)(),d=l.pageType,u=l.subPageType,p=l.pageConst,h=l.refTagPrefix,g={type:d,subType:u,id:p};if(!(0,w.hg)({weblabID:b.lh.IMDB_THEMING_780259,treatments:{T1:!0}}))return null;var y="".concat(h,"_").concat(S);return(0,i.jsxs)(Z,{children:[(0,i.jsx)(f.TextButton,{onClick:function(){s(!0),(0,x.K8)(y,g,"prompt-open",_.qB.POP_UP)},children:r.formatMessage(T)}),(0,i.jsx)(N,{isOpen:o,onCloseClicked:function(){return s(!1),void(0,x.K8)(y,g,"prompt-close",_.qB.ACTION_ONLY)},selectedTheme:n,setSelectedTheme:t})]})},Z=(0,l.default)(f.PageContentContainer).withConfig({componentId:"sc-7829a017-0"})(E()),O=t(22659);function R(){var e=(0,a.Z)(["\n color: ",";\n z-index: 5;\n\n &:hover,\n &:active,\n &:focus {\n color: ",";\n }\n"]);return R=function(){return e},e}var D=function(){var e=(0,m.Z)(),n=(0,O.q)("back-to-top-btn-click",_.qB.ACTION_ONLY);return(0,i.jsx)(B,{label:e.formatMessage({id:"common_backToTop_label",defaultMessage:"Back to Top"}),onSelect:n,threshold:2100})},B=(0,l.default)(f.ScrollToTopButton).withConfig({componentId:"sc-87e28572-0"})(R(),(0,p.getColorVarValue)("ipt-on-base-color"),(0,p.getColorVarValue)("ipt-on-base-color")),L=t(66383),V=t(63688),q=t.n(V),z=t(54743),U=t(25436),H=t(98788),Y=t(45680),W=t(82865),F=t(51250),K=t(33192),G=t(14865),Q=t(16189),J=t(5632),X=t(83565);function $(){return($=(0,H.Z)((function(){return(0,Y.__generator)(this,(function(e){return[2,(0,X.detectAnyAdblocker)().then((function(e){return e})).catch((function(){return!1}))]}))}))).apply(this,arguments)}var ee=t(25140),ne=t(34889),te=t(58695),re=t(87206),ae=t(94443),ie=t(21495),oe=(0,Q.createLogger)()("BranchSDK"),se=function(e){return e.split("?")[0]},ce=function(){var e=function(e,n){f.current.increment(e,n)},n=function(n,t,r,a){var i=arguments.length>4&&void 0!==arguments[4]&&arguments[4];e(n,1);var o="BranchSDK.Error: ".concat(t),s={api:r,sessionId:h,os:a};i?oe.error(o,s):oe.debug(o,s)},r=function(){(0,ne.cY)(f.current.serialize())},a=(0,L.Z)(c.useState(!1),2),i=a[0],s=a[1],l=W.B.useConsent(W.B.VendorIds.Branch),d=l.consent,u=l.consentKnown,f=c.useRef(new ie.j({requestContext:(0,ee.B)().context})),p=(0,J.useRouter)(),h=(0,te.s)()||(0,F.ZG)("session-id"),g=(0,w.hg)({weblabID:b.lh.IMDB_BRANCH_KEY_SELECTION_373673,treatments:{T1:!0}}),m=function(){return g?"key_test_cfPgRCLWYX6A5vlwE5L7tbjhsDlmDiPq":"key_live_jdSfREMXW6WE9FcCt5HWFbhgswmprlIn"};return c.useEffect((function(){var a=(0,K.getMobileOS)(),c=(0,G.getIsBrowser)()&&(0,K.getIsMdot)(window.location.hostname)&&!i&&u;function l(){return l=(0,H.Z)((function(){var i,c;return(0,Y.__generator)(this,(function(l){switch(l.label){case 0:return l.trys.push([0,2,,3]),i=m(),[4,t.e(4067).then(t.t.bind(t,74067,23))];case 1:return c=l.sent().default,e(U.NextClientMetrics.BRANCH_SDK_REQUESTS,1),(0,ae.jL)(re.yS.LOAD_BRANCH_SDK),(0,o.insertCSAWidgetStart)(re.yS.LOAD_BRANCH_SDK,Date.now()),c.init(i,{timeout:2e3,tracking_disabled:!d},function(){var t=(0,H.Z)((function(t){return(0,Y.__generator)(this,(function(i){return(0,ae.ex)(re.yS.LOAD_BRANCH_SDK),(0,ae.XK)(re.yS.LOAD_BRANCH_SDK),(0,o.insertCSAWidgetEnd)(re.yS.LOAD_BRANCH_SDK,Date.now()),(0,o.insertCSAWidgetLoad)(re.yS.LOAD_BRANCH_SDK,Date.now()),t?(t.includes("Request blocked by client")?n(U.NextClientMetrics.BRANCH_SDK_BLOCKED_BY_CLIENT,t,"branch.init",a):n(U.NextClientMetrics.BRANCH_SDK_ERROR,t,"branch.init",a,!0),s(!0),r(),[2]):(e(U.NextClientMetrics.BRANCH_SDK_INITIALIZED,1),c.setBranchViewData({data:{$deeplink_path:se(p.asPath)}}),d&&(null===h||void 0===h?void 0:h.length)&&c.setIdentity(h,(function(t){t?n(U.NextClientMetrics.BRANCH_SDK_SET_IDENTITY_ERROR,t,"branch.setIdentity",a):e(U.NextClientMetrics.BRANCH_SDK_SET_IDENTITY_SUCCESS,1),r(),s(!0)})),s(!0),[2])}))}));return function(e){return t.apply(this,arguments)}}()),[3,3];case 2:return l.sent(),[3,3];case 3:return[2]}}))})),l.apply(this,arguments)}window.branch||function(){return $.apply(this,arguments)}().then((function(e){c&&!e&&function(){l.apply(this,arguments)}()}))}),[u,d]),c.useEffect((function(){(0,G.getIsBrowser)()&&window.branch&&window.branch.disableTracking(!d)}),[d]),{metricDataRef:f}},le=t(35355),de=function(){var e,n=(0,ee.B)().context.sidecar,t=(0,L.Z)(c.useState(),2),r=t[0],a=t[1];c.useEffect((function(){a(window.location.pathname)}),[]);var o=(0,le.nu)();ce();var s=(0,w.hg)({weblabID:b.lh.IMDB_FOOTER_QRCODE_802561,treatments:{T1:!0}});return(0,i.jsxs)(h.AU,{value:{cti:U.CTIS.FOOTER_CTI},children:[(0,i.jsx)(z._,{featureId:"Footer"}),(0,i.jsx)(q(),{locale:null===n||void 0===n||null===(e=n.localizationResponse)||void 0===e?void 0:e.languageForTranslations,showSignIn:!o,currentUri:o?void 0:r,showMobileAppQrcode:s})]})},ue=t(70865),fe=t(49324),pe=t(81303),he=c.createContext({}),ge=function(){return(0,c.useContext)(he)},me=t(5420),ve=t(96670),xe=t(26297),_e=t(64846),be=t.n(_e);function we(e){var n=e.href,t=e.refMarker,r=e.offPro,a=(0,xe.Z)(e,["href","refMarker","offPro"]),o=(0,v.y)().refTagPrefix;return(0,i.jsx)("a",(0,ve.Z)((0,ue.Z)({},a),{href:ye(n,t,o,r)}))}var ye=function(e,n,t,r){var a=new(be())(e,{},!0);return a.set("query",(0,ve.Z)((0,ue.Z)({},a.query),{ref_:(r?"pro_":"")+(t?"".concat(t,"_"):"")+n})),a.toString()};function Me(){var e=(0,a.Z)(["\n background-color: #f6f6f6;\n border-top: 1px solid #cdcdcd;\n box-shadow: inset 0 1px 0 0 #fff;\n box-sizing: content-box;\n color: #666;\n font-family: 'Ember', Helvetica, Arial, sans-serif;\n font-family: var(--ipt-font-family);\n font-size: 12px;\n\n .content {\n box-sizing: content-box;\n margin: 0 auto;\n padding: 20px 10px 40px 10px;\n overflow: hidden;\n max-width: 988px;\n zoom: 1;\n display: flex;\n justify-content: space-between;\n }\n"]);return Me=function(){return e},e}function je(){var e=(0,a.Z)(["\n width: 148px;\n\n .logo {\n color: #000;\n display: inline-block;\n margin-bottom: 11px;\n }\n .reframe__container {\n width: 148px;\n }\n\n .reframe__text {\n display: inline-block;\n line-height: 16px;\n margin-left: 6px;\n width: 110px;\n vertical-align: top;\n a {\n color: #00799e;\n padding-left: 0.5em;\n text-decoration: none;\n }\n a:hover {\n text-decoration: underline;\n }\n }\n"]);return je=function(){return e},e}function Ie(){var e=(0,a.Z)(["\n ul {\n border-top: 1px solid #fff;\n float: left;\n width: 148px;\n }\n .double-first {\n margin-right: 20px;\n }\n li {\n padding: 6px 0;\n }\n a {\n color: #666;\n text-decoration: none;\n text-shadow: 0 1px 0 #fff;\n }\n a:hover {\n text-decoration: underline;\n }\n"]);return Ie=function(){return e},e}function Te(){var e=(0,a.Z)(["\n border-bottom: 1px solid #cdcdcd;\n font-weight: 700;\n padding-bottom: 6px;\n text-shadow: 0 1px 0 #fff;\n &.upper {\n text-transform: uppercase;\n }\n"]);return Te=function(){return e},e}var Ce="IMDbPro",Ae=function(){var e=ge(),n=(0,c.useMemo)((function(){return(new Date).getFullYear()}),[]);return(0,i.jsx)(Pe,{id:"footer",className:e.viewLimitedMasthead?"basic":"full",children:(0,i.jsx)(Ne,{entitlements:e,currentYear:n})})},ke=function(e){var n=e.entitlements.viewLimitedMasthead,t=e.currentYear;return(0,i.jsxs)("div",{className:"content",children:[(0,i.jsxs)(Ze,{children:[(0,i.jsx)(we,{href:"/",refMarker:"ftr_hm_i",className:"logo",children:(0,i.jsx)(f.Logo,{variation:"imdbpro-color",height:22})}),(0,i.jsx)(Se,{})]}),(0,i.jsxs)(Oe,{children:[(0,i.jsx)(Re,{className:"upper",children:(0,i.jsx)(pe.q,{id:"pro_footer_mainMenu",defaultMessage:"Main Menu"})}),(0,i.jsxs)("ul",{className:n?"":"double-first",children:[(0,i.jsx)(Ee,{href:"/",refMarker:"ftr_hm",children:(0,i.jsx)(pe.q,{id:"pro_footer_home",defaultMessage:"Home"})}),(0,i.jsx)(Ee,{href:"/mypage",refMarker:"ftr_myp",children:(0,i.jsx)(pe.q,{id:"pro_footer_myPage",defaultMessage:"My Page"})}),!n&&(0,i.jsx)(Ee,{href:"/jobs",refMarker:"ftr_jbs",children:(0,i.jsx)(pe.q,{id:"pro_footer_jobs",defaultMessage:"Jobs"})}),(0,i.jsx)(Ee,{href:"/?site_preference=mobile",refMarker:"ftr_mobl",children:(0,i.jsx)(pe.q,{id:"pro_footer_viewMobileSite",defaultMessage:"View Mobile Site"})})]}),!n&&(0,i.jsxs)("ul",{children:[(0,i.jsx)(Ee,{href:"/discover/people?profession=any&sortOrder=STARMETER_ASC&includeDeceased=true",refMarker:"ftr_ppl",children:(0,i.jsx)(pe.q,{id:"pro_footer_people",defaultMessage:"People"})}),(0,i.jsx)(Ee,{href:"/discover/title?type=movie&sortOrder=MOVIEMETER_ASC",refMarker:"ftr_tt",children:(0,i.jsx)(pe.q,{id:"pro_footer_titles",defaultMessage:"Titles"})}),(0,i.jsx)(Ee,{href:"/companies",refMarker:"ftr_co",children:(0,i.jsx)(pe.q,{id:"pro_footer_companies",defaultMessage:"Companies"})}),(0,i.jsx)(Ee,{href:"/news",refMarker:"ftr_news",children:(0,i.jsx)(pe.q,{id:"pro_footer_news",defaultMessage:"News"})})]})]}),(0,i.jsxs)(Oe,{children:[(0,i.jsx)(Re,{className:"upper",children:(0,i.jsx)(pe.q,{id:"pro_footer_yourTools",defaultMessage:"Your Tools"})}),(0,i.jsxs)("ul",{children:[(0,i.jsx)(Ee,{href:"/tracking",refMarker:"ftr_mypt",children:(0,i.jsx)(pe.q,{id:"pro_footer_pagesYouTrack",defaultMessage:"Pages You Track"})}),(0,i.jsx)(Ee,{href:"/list",refMarker:"ftr_list",children:(0,i.jsx)(pe.q,{id:"pro_footer_yourLists",defaultMessage:"Your Lists"})}),!n&&(0,i.jsx)(Ee,{href:"/casting/breakdowns",refMarker:"ftr_mycb",children:(0,i.jsx)(pe.q,{id:"pro_footer_yourProjects",defaultMessage:"Your Projects"})}),(0,i.jsx)(Ee,{href:"".concat((0,me.W)(),"/updates/history"),refMarker:"ftr_subm",children:(0,i.jsx)(pe.q,{id:"pro_footer_yourSubmissions",defaultMessage:"Your Submissions"})})]})]}),(0,i.jsxs)(Oe,{children:[(0,i.jsx)(Re,{className:"upper",children:(0,i.jsx)(pe.q,{id:"pro_footer_yourAccount",defaultMessage:"Your Account"})}),(0,i.jsxs)("ul",{children:[(0,i.jsx)(Ee,{href:"/account",refMarker:"ftr_act",children:(0,i.jsx)(pe.q,{id:"pro_footer_accountSettings",defaultMessage:"Account Settings"})}),(0,i.jsx)(Ee,{href:"/account/cancel",refMarker:"ftr_canc",children:(0,i.jsx)(pe.q,{id:"pro_footer_cancel",defaultMessage:"Cancel"})})]})]}),(0,i.jsxs)(Oe,{children:[(0,i.jsx)(Re,{children:Ce}),(0,i.jsxs)("ul",{children:[(0,i.jsx)("li",{children:(0,i.jsx)(we,{href:"https://imdb.com/conditions",refMarker:"ftr_copy",children:(0,i.jsx)(pe.q,{id:"pro_footer_copyrightWithYear",defaultMessage:"Copyright {currentYear}",values:{currentYear:t}})})}),(0,i.jsx)(Ee,{href:"/subagreement",refMarker:"ftr_subagree",children:(0,i.jsx)(pe.q,{id:"pro_footer_subscriberAgreement",defaultMessage:"Subscriber Agreement"})}),(0,i.jsx)(Ee,{href:"https://imdb.com/privacy/redirect/",refMarker:"ftr_redir",children:"Your Ads Privacy Choices"}),(0,i.jsx)(Ee,{href:"https://imdb.com/privacy",refMarker:"ftr_privpol",children:(0,i.jsx)(pe.q,{id:"pro_footer_privacyPolicy",defaultMessage:"Privacy Policy"})}),(0,i.jsx)(Ee,{href:"https://help.imdb.com/contact",refMarker:"ftr_contactus",children:(0,i.jsx)(pe.q,{id:"pro_footer_contactUs",defaultMessage:"Contact Us"})}),(0,i.jsx)(Ee,{href:"https://help.imdb.com/imdbpro",refMarker:"ftr_help",children:(0,i.jsx)(pe.q,{id:"pro_footer_help",defaultMessage:"Help"})})]})]}),(0,i.jsx)(fe.ConsentBanner,{client:Ce})]})},Ne=(0,c.memo)(ke),Ee=function(e){return(0,i.jsx)("li",{children:(0,i.jsx)(we,(0,ue.Z)({},e))})},Se=function(){return(0,i.jsxs)("div",{className:"reframe__container",children:[(0,i.jsx)("a",{href:"https://www.reframeproject.org",children:(0,i.jsx)("img",{src:"https://m.media-amazon.com/images/G/01/IMDbPro/images/header_footer/reframe_icon._CB434640743_.png",width:"30",alt:""})}),(0,i.jsxs)("span",{className:"reframe__text",children:[(0,i.jsx)(pe.q,{id:"pro_footer_proudSponsor",defaultMessage:"IMDbPro is a proud sponsor of "}),(0,i.jsx)("a",{href:"https://www.reframeproject.org",target:"_blank",rel:"external noreferrer",children:"ReFrame"})]})]})},Pe=l.default.footer.withConfig({componentId:"sc-ac8b6b39-0"})(Me()),Ze=l.default.div.withConfig({componentId:"sc-ac8b6b39-1"})(je()),Oe=l.default.div.withConfig({componentId:"sc-ac8b6b39-2"})(Ie()),Re=l.default.h5.withConfig({componentId:"sc-ac8b6b39-3"})(Te()),De=t(31619),Be={id:"pro_navBar_advanced_search_customize_your_search",defaultMessage:"Customize your search"},Le={id:"common_imdb_pro",defaultMessage:"IMDbPro"},Ve=t(79714),qe=t(89644),ze=t.n(qe);function Ue(){var e=(0,a.Z)(["\n display: block;\n float: left;\n font-size: 10px;\n font-family: 'Amazon Ember', Arial, sans-serif;\n text-align: center;\n text-decoration: none;\n width: 52px;\n white-space: nowrap;\n\n color: #f6f6f6;\n .basic & {\n color: #000;\n }\n @media only screen and (max-width: 767px) {\n width: 32px;\n margin-top: 5px;\n }\n"]);return Ue=function(){return e},e}function He(){var e=(0,a.Z)(["\n display: block;\n background-size: contain;\n background-image: url('https://m.media-amazon.com/images/S/sash/Yztx4YibcUWb6sF.png');\n width: 20px;\n height: 20px;\n margin: 0 auto 9px;\n"]);return He=function(){return e},e}function Ye(){var e=(0,a.Z)(["\n display: block;\n background-repeat: no-repeat;\n background-size: contain;\n background-image: url('https://m.media-amazon.com/images/S/sash/GIYpWO7wQjTZFv$.png');\n height: 24px;\n width: 23px;\n margin: 0 auto 5px;\n"]);return Ye=function(){return e},e}function We(){var e=(0,a.Z)(["\n @media only screen and (max-width: 767px) {\n display: block;\n overflow: hidden;\n height: 0;\n text-indent: -1000px;\n }\n"]);return We=function(){return e},e}function Fe(){var e=(0,a.Z)(["\n left: 15px;\n background-color: #e10600;\n border-radius: 50%;\n content: '';\n display: block;\n height: 12px;\n position: relative;\n text-indent: -10000px;\n top: -2px;\n width: 12px;\n"]);return Fe=function(){return e},e}var Ke=function(e){var n=e.unreadCount,t=(0,m.Z)().formatMessage;return(0,i.jsxs)(Qe,{href:"/inbox",refMarker:"nv_hdr_inb",children:[(0,i.jsx)(Xe,{children:(0,i.jsx)(en,{role:"status",hidden:!n,"aria-busy":void 0===n,"aria-label":n?t({id:"InboxIndicator_Unread",description:"Informs customer of unread notifications in their inbox",defaultMessage:"Unread"}):void 0})}),(0,i.jsx)($e,{children:(0,i.jsx)(pe.q,{id:"InboxIndicator_Notifications",description:"Informs customer of unread notifications in their inbox",defaultMessage:"Notifications"})})]})},Ge=function(){return(0,i.jsxs)(Qe,{href:"https://help.imdb.com/imdbpro",refMarker:"nv_hdr_hel",children:[(0,i.jsx)(Je,{}),(0,i.jsx)($e,{children:(0,i.jsx)(pe.q,{id:"Nav_Help",description:"Link to Help Site",defaultMessage:"Help"})})]})},Qe=(0,l.default)(we).withConfig({componentId:"sc-8a52c48a-0"})(Ue()),Je=l.default.span.withConfig({componentId:"sc-8a52c48a-1"})(He()),Xe=l.default.span.withConfig({componentId:"sc-8a52c48a-2"})(Ye()),$e=l.default.span.withConfig({componentId:"sc-8a52c48a-3"})(We()),en=l.default.span.withConfig({componentId:"sc-8a52c48a-4"})(Fe()),nn=function(e){var n=e.redirect,t=e.refMarker,r=(0,xe.Z)(e,["redirect","refMarker"]);return t?(0,i.jsx)(we,(0,ve.Z)((0,ue.Z)({},r),{refMarker:t,href:tn(n)})):(0,i.jsx)("a",(0,ve.Z)((0,ue.Z)({},r),{href:tn(n)}))},tn=function(e){return e?"/login/ap?u=".concat(encodeURIComponent(e)):"/login/ap"};function rn(){var e=(0,a.Z)(["\n display: inline-block;\n width: 16px;\n height: 12px;\n position: relative;\n transform: scale(0.7);\n color: #cdcdcd;\n .u {\n position: absolute;\n left: 3px;\n top: -7px;\n }\n .d {\n position: absolute;\n left: 3px;\n top: 0;\n }\n"]);return rn=function(){return e},e}var an=function(){return(0,i.jsxs)(on,{children:[(0,i.jsx)(f.Icon,{name:"arrow-drop-up",className:"u"}),(0,i.jsx)(f.Icon,{name:"arrow-drop-down",className:"d"})]})},on=l.default.span.withConfig({componentId:"sc-2fb5a3f9-0"})(rn());function sn(){var e=(0,a.Z)(["\n float: right !important;\n font-size: 15px;\n font-weight: 550;\n padding: 10px 9px;\n\n a {\n text-decoration: none;\n color: #00799e;\n }\n a:hover {\n color: #005067;\n }\n"]);return sn=function(){return e},e}function cn(){var e=(0,a.Z)(["\n clear: both;\n line-height: 1;\n min-height: 36px;\n position: relative;\n font-family: Arial, Helvetica, sans-serif;\n z-index: 101;\n\n &:after {\n content: '';\n display: table;\n clear: both;\n }\n\n > ul {\n margin: 0 auto;\n max-width: 1008px;\n display: flex;\n justify-content: space-between;\n }\n"]);return cn=function(){return e},e}function ln(){var e=(0,a.Z)(['\n position: relative;\n @media only screen and (max-width: 700px) {\n // Hide "Home" on small screens\n &:first-child {\n display: none;\n }\n // Hide Double Arrows\n '," {\n display: none;\n }\n }\n // Arbitrary space on big enough screen\n &:last-child {\n margin-right: 32px;\n @media only screen and (max-width: 1070px) {\n margin-right: 0;\n }\n }\n\n .header {\n border: 1px solid transparent;\n cursor: pointer;\n display: inline-block;\n font-size: 15px;\n padding: 10px 9px;\n position: relative;\n text-decoration: none;\n z-index: 2;\n\n color: #f6f6f6;\n "," {\n color: #cdcdcd;\n }\n }\n .basic & .header,\n .basic & .header "," {\n color: #000000;\n }\n &:hover {\n .header {\n background: #fff;\n border: 1px solid #cdcdcd;\n color: #00799e;\n "," {\n color: #00799e;\n }\n }\n span.header {\n border-bottom-color: #fff;\n }\n }\n ul {\n background: #fff;\n border: 1px solid #cdcdcd;\n border-top: none;\n box-shadow: 0 1px 3px 0 #999;\n box-sizing: border-box;\n color: #333;\n display: block;\n left: -9999px;\n min-width: 100%;\n padding: 10px;\n position: absolute;\n white-space: nowrap;\n z-index: 1;\n }\n &:hover ul {\n left: 0;\n top: 100%;\n }\n &:last-child:hover ul {\n @media only screen and (max-width: 1070px) {\n left: auto;\n right: 0;\n }\n }\n\n li {\n border-bottom: 1px solid #fff;\n border-top: 1px solid #fff;\n margin-top: -1px;\n position: relative;\n z-index: 1;\n\n & + li {\n border-top: 1px solid #cdcdcd;\n }\n\n &:hover {\n border-bottom-color: #00799e;\n border-top-color: #00799e;\n z-index: 2;\n }\n\n a {\n background: #fff;\n color: #333;\n display: block;\n font-size: 12px;\n font-weight: 400;\n padding: 10px;\n text-decoration: none;\n }\n a:hover {\n color: #00799e;\n }\n }\n"]);return ln=function(){return e},e}var dn=function(e){var n=e.entitlements.viewLimitedMasthead;return(0,i.jsx)(xn,{id:"main_nav",role:"navigation",className:n?"basic":"",children:n?(0,i.jsx)(fn,{}):(0,i.jsx)(hn,{})})},un=(0,c.memo)(dn),fn=function(){return(0,i.jsxs)("ul",{children:[(0,i.jsx)(gn,{href:"/",refMarker:"nv_hm",children:(0,i.jsx)(pe.q,{id:"pro_navBar_home",defaultMessage:"Home"})}),(0,i.jsx)(gn,{href:"/mypage",refMarker:"nv_hm",children:(0,i.jsx)(pe.q,{id:"pro_navBar_yourPage",defaultMessage:"Your page"})}),(0,i.jsxs)(vn,{id:"pro_navBar_boxOffice",defaultMessage:"Box Office",children:[(0,i.jsx)(mn,{id:"Nav_Domestic",defaultMessage:"Domestic",href:"/boxoffice",refMarker:"nv_bo_domestic"}),(0,i.jsx)(mn,{id:"Nav_All-Time",defaultMessage:"All-Time",href:"/boxoffice/alltime",refMarker:"nv_bo_alltime"})]}),(0,i.jsx)(pn,{children:(0,i.jsx)(mn,{id:"Nav_Upgrade_your_membership",defaultMessage:"Upgrade your membership",href:"/account/membership",refMarker:"nav_upgr"})})]})},pn=l.default.li.withConfig({componentId:"sc-77a815f0-0"})(sn()),hn=function(){return(0,i.jsxs)("ul",{children:[(0,i.jsx)(gn,{href:"/",refMarker:"nv_hm",children:(0,i.jsx)(pe.q,{id:"pro_navBar_home",defaultMessage:"Home"})}),(0,i.jsx)(gn,{href:"/jobs",refMarker:"nv_cn",children:(0,i.jsx)(pe.q,{id:"pro_navBar_jobs",defaultMessage:"Jobs"})}),(0,i.jsxs)(vn,{id:"pro_navBar_people",defaultMessage:"People",children:[(0,i.jsx)(mn,{id:"pro_navBar_topSTARmeter",defaultMessage:"Top STARmeter",href:"/discover/people?profession=any&sortOrder=STARMETER_ASC",refMarker:"nv_ppl_tsm"}),(0,i.jsx)(mn,{id:"pro_navBar_actors",defaultMessage:"Actors",href:"/discover/people?profession=actor",refMarker:"nv_ppl_actr"}),(0,i.jsx)(mn,{id:"pro_navBar_actresses",defaultMessage:"Actresses",href:"/discover/people?profession=actress",refMarker:"nv_ppl_actrs"}),(0,i.jsx)(mn,{id:"pro_navBar_directors",defaultMessage:"Directors",href:"/discover/people?profession=director",refMarker:"nv_ppl_dir"}),(0,i.jsx)(mn,{id:"pro_navBar_writers",defaultMessage:"Writers",href:"/discover/people?profession=writer",refMarker:"nv_ppl_wrt"}),(0,i.jsx)(mn,{id:"pro_navBar_producers",defaultMessage:"Producers",href:"/discover/people?profession=producer",refMarker:"nv_ppl_prodr"}),(0,i.jsx)(mn,{id:"pro_navBar_talentAgents",defaultMessage:"Talent Agents",href:"/discover/people?profession=talent_agent",refMarker:"nv_ppl_agnt"}),(0,i.jsx)(mn,{id:"pro_navBar_managers",defaultMessage:"Managers",href:"/discover/people?profession=manager",refMarker:"nv_ppl_mgr"})]}),(0,i.jsxs)(vn,{id:"pro_navBar_titles",defaultMessage:"Titles",children:[(0,i.jsx)(mn,{id:"pro_navBar_topMOVIEmeter",defaultMessage:"Top MOVIEmeter",href:"/discover/title?type=any&sortOrder=MOVIEMETER_ASC",refMarker:"nv_tt_tmm"}),(0,i.jsx)(mn,{id:"pro_navBar_moviesInDevelopment",defaultMessage:"Movies in Development",href:"/discover/title?type=movie&status=development&sortOrder=MOVIEMETER_ASC",refMarker:"nv_tt_dev"}),(0,i.jsx)(mn,{id:"pro_navBar_moviesInPreProduction",defaultMessage:"Movies in Pre-Production",href:"/discover/title?type=movie&status=pre_production&sortOrder=MOVIEMETER_ASC",refMarker:"nv_tt_pre"}),(0,i.jsx)(mn,{id:"pro_navBar_moviesInProduction",defaultMessage:"Movies in Production",href:"/discover/title?type=movie&status=production&sortOrder=MOVIEMETER_ASC",refMarker:"nv_tt_prod"}),(0,i.jsx)(mn,{id:"pro_navBar_moviesInPostProduction",defaultMessage:"Movies in Post-Production",href:"/discover/title?type=movie&status=post_production&sortOrder=MOVIEMETER_ASC",refMarker:"nv_tt_post"}),(0,i.jsx)(mn,{id:"pro_navBar_releasedMovies",defaultMessage:"Released Movies",href:"/discover/title?type=movie&status=released&sortOrder=MOVIEMETER_ASC",refMarker:"nv_tt_rel"}),(0,i.jsx)(mn,{id:"pro_navBar_tvInProduction",defaultMessage:"TV in Production",href:"/discover/title?type=tvSeries%2CtvEpisode%2CtvMovie%2CtvMiniSeries%2CtvSpecial%2CtvShort&status=production&sortOrder=MOVIEMETER_ASC",refMarker:"nv_tt_tv_prod"})]}),(0,i.jsxs)(vn,{id:"pro_navBar_companies",defaultMessage:"Companies",children:[(0,i.jsx)(mn,{id:"pro_navBar_topCOMPANYmeter",defaultMessage:"Top COMPANYmeter",href:"/companies#sort=ranking",refMarker:"nv_co_tcm"}),(0,i.jsx)(mn,{id:"pro_navBar_productionCompanies",defaultMessage:"Production Companies",href:"/companies#companyType=production&sort=ranking",refMarker:"nv_co_pr"}),(0,i.jsx)(mn,{id:"pro_navBar_talentAgencies",defaultMessage:"Talent Agencies",href:"/companies#companyType=talent-agency&sort=ranking",refMarker:"nv_co_agnc"}),(0,i.jsx)(mn,{id:"pro_navBar_managementCompanies",defaultMessage:"Management Companies",href:"/companies#companyType=management&sort=ranking",refMarker:"nv_co_mgco"}),(0,i.jsx)(mn,{id:"pro_navBar_distributors",defaultMessage:"Distributors",href:"/companies#companyType=distributor&sort=ranking",refMarker:"nv_co_dist"}),(0,i.jsx)(mn,{id:"pro_navBar_distributors",defaultMessage:"Publicists",href:"/companies#companyType=publicist&sort=ranking",refMarker:"nv_co_pub"})]}),(0,i.jsxs)(vn,{id:"pro_navBar_boxOffice",defaultMessage:"Box Office",children:[(0,i.jsx)(mn,{id:"pro_navBar_domestic",defaultMessage:"Domestic",href:"/boxoffice",refMarker:"nv_bo_domestic"}),(0,i.jsx)(mn,{id:"pro_navBar_international",defaultMessage:"International",href:"/boxoffice/intl",refMarker:"nv_bo_international"}),(0,i.jsx)(mn,{id:"pro_navBar_worldwide",defaultMessage:"Worldwide",href:"/boxoffice/worldwide",refMarker:"nv_bo_ww"}),(0,i.jsx)(mn,{id:"pro_navBar_allTime",defaultMessage:"All-Time",href:"/boxoffice/alltime",refMarker:"nv_bo_alltime"}),(0,i.jsx)(mn,{id:"pro_navBar_distributors",defaultMessage:"Distributors",href:"/boxoffice/distributors",refMarker:"nv_bo_ww"}),(0,i.jsx)(mn,{id:"pro_navBar_brands",defaultMessage:"Brands",href:"/boxoffice/brand",refMarker:"nv_bo_brands"}),(0,i.jsx)(mn,{id:"pro_navBar_franchises",defaultMessage:"Franchises",href:"/boxoffice/franchise",refMarker:"nv_bo_franchises"}),(0,i.jsx)(mn,{id:"pro_navBar_genres",defaultMessage:"Genres",href:"/boxoffice/genre",refMarker:"nv_bo_genres"}),(0,i.jsx)(mn,{id:"pro_navBar_theaterCounts",defaultMessage:"Theater Counts",href:"/boxoffice/counts",refMarker:"nv_bo_counts"})]}),(0,i.jsxs)(vn,{id:"pro_navBar_news",defaultMessage:"News",children:[(0,i.jsx)(mn,{id:"pro_navBar_topStories",defaultMessage:"Top Stories",href:"/news",refMarker:"nv_nws_ts"}),(0,i.jsx)(mn,{id:"pro_navBar_boxOfficeMojo",description:"Website: Box Office Mojo",defaultMessage:"Box Office Mojo",href:"/news/source/ns0000159",refMarker:"nv_nws_mojo"}),(0,i.jsx)(mn,{id:"pro_navBar_variety",description:"Publication: Variety",defaultMessage:"Variety",href:"/news/source/ns0052791",refMarker:"nv_nws_var"}),(0,i.jsx)(mn,{id:"pro_navBar_hollywoodReporter",description:"Publication: The Hollywood Reporter",defaultMessage:"Hollywood Reporter",href:"/news/source/ns0000001",refMarker:"nv_nws_hr"}),(0,i.jsx)(mn,{id:"pro_navBar_deadline",description:"Publication: Deadline",defaultMessage:"Deadline",href:"/news/source/ns0157106",refMarker:"nv_nws_ddl"}),(0,i.jsx)(mn,{id:"pro_navBar_theWrap",description:"Publication: The Wrap",defaultMessage:"The Wrap",href:"/news/source/ns0000236",refMarker:"nv_nws_wrap"})]})]})},gn=function(e){var n=e.key,t=(0,xe.Z)(e,["key"]);return(0,i.jsx)(_n,{children:(0,i.jsx)(we,(0,ue.Z)({className:"header"},t))},n)},mn=function(e){var n=e.id,t=e.defaultMessage,r=e.description,a=(0,xe.Z)(e,["id","defaultMessage","description"]);return(0,i.jsx)(we,(0,ve.Z)((0,ue.Z)({},a),{children:(0,i.jsx)(pe.q,{id:n,description:r,defaultMessage:t})}))},vn=function(e){var n=e.children,t=e.id,r=e.defaultMessage;return(0,i.jsxs)(_n,{children:[(0,i.jsxs)("span",{className:"header","aria-haspopup":"true",children:[(0,i.jsx)(pe.q,{id:t,defaultMessage:r}),(0,i.jsx)(an,{})]}),(0,i.jsx)("ul",{children:c.Children.map(n,(function(e){return(0,i.jsx)("li",{children:e})}))})]},t)},xn=l.default.div.withConfig({componentId:"sc-77a815f0-1"})(cn()),_n=l.default.li.withConfig({componentId:"sc-77a815f0-2"})(ln(),on,on,on,on),bn=t(96485),wn=t(30382),yn=t.n(wn);function Mn(){var e=(0,a.Z)(["\n query MyNameImage {\n claimedName {\n name {\n primaryImage {\n url\n width\n height\n }\n }\n }\n }\n "]);return Mn=function(){return e},e}function jn(){var e,n,t,r=ge(),a=r.viewLimitedMasthead,i=r.viewFullMasthead,o=a||i;return(null===(e=(0,L.Z)((0,le.E8)({query:yn()(Mn()),context:{personalized:!0,serverSideCacheable:!1},pause:!o}),1)[0].data)||void 0===e||null===(n=e.claimedName)||void 0===n||null===(t=n.name)||void 0===t?void 0:t.primaryImage)||void 0}function In(){var e=(0,a.Z)(["\n white-space: nowrap;\n text-overflow: ellipsis;\n overflow: hidden;\n display: inline-block;\n font-family: Arial, Helvetica, sans-serif;\n font-size: 12px;\n font-weight: 700;\n line-height: 30px;\n vertical-align: middle;\n width: 30px;\n"]);return In=function(){return e},e}function Tn(){var e=(0,a.Z)(["\n position: relative;\n float: right;\n width: 107px;\n z-index: 3;\n\n > div {\n float: left;\n position: relative;\n }\n .header {\n border: 1px solid transparent;\n border-bottom: none;\n box-sizing: content-box;\n cursor: pointer;\n display: inline-block;\n font-family: Arial, Helvetica, sans-serif;\n position: relative;\n padding: 3px 8px;\n white-space: nowrap;\n width: 150px;\n z-index: 2;\n\n color: #f6f6f6;\n "," {\n color: #cdcdcd;\n }\n }\n @media only screen and (max-width: 1070px) {\n .header {\n width: auto;\n }\n }\n @media only screen and (max-width: 767px) {\n width: auto;\n ",",\n "," {\n display: none;\n }\n }\n .basic & .header,\n .basic & .header "," {\n color: #000000;\n }\n\n .profile-image {\n border: 1px solid #cdcdcd;\n border-radius: 4px;\n box-sizing: content-box;\n margin-right: 9px;\n vertical-align: middle;\n @media only screen and (max-width: 767px) {\n margin-right: 0;\n }\n }\n\n ul {\n background: #fff;\n border: 1px solid #cdcdcd;\n border-top: none;\n box-shadow: 0 1px 3px 0 #999;\n box-sizing: border-box;\n color: #333;\n display: block;\n padding: 10px;\n white-space: nowrap;\n position: absolute;\n left: -9999px;\n top: 100%;\n width: 168px;\n z-index: 1;\n }\n &:hover {\n .header {\n background: #fff;\n border: 1px solid #cdcdcd;\n border-bottom: none;\n color: #00799e;\n "," {\n color: #00799e;\n }\n }\n ul {\n left: 0;\n @media only screen and (max-width: 1070px) {\n left: auto;\n right: 0;\n }\n }\n }\n li {\n border-bottom: 1px solid #fff;\n border-top: 1px solid #fff;\n margin-top: -1px;\n position: relative;\n z-index: 1;\n\n + li {\n border-top: 1px solid #cdcdcd;\n }\n\n &:hover {\n border-bottom-color: #00799e;\n border-top-color: #00799e;\n z-index: 2;\n }\n\n a {\n background: #fff;\n color: #333;\n display: block;\n font-family: Arial, Helvetica, sans-serif;\n font-size: 12px;\n font-weight: 400;\n padding: 10px;\n font-style: normal;\n text-decoration: none;\n }\n a:hover {\n color: #00799e;\n }\n }\n"]);return Tn=function(){return e},e}var Cn=function(e){var n=e.entitlements,t=n.searchJobs,r=n.viewDiscoverPage;return(0,i.jsx)(En,{id:"account_container","aria-haspopup":"true","aria-label":(0,De.N)({id:"Nav_Profile_Menu",defaultMessage:"Your profile menu"}),children:(0,i.jsxs)("div",{children:[(0,i.jsxs)("a",{className:"header","aria-haspopup":"true","aria-label":(0,De.N)({id:"Nav_Profile_Menu",defaultMessage:"Your profile menu"}),role:"menu",href:"/mypage",children:[(0,i.jsx)(f.SetPalette,{palette:"light",children:(0,i.jsx)(f.AvatarImage,{className:"profile-image",size:28,square:!0,imageModel:(0,bn.Gs)(jn()," ")})}),(0,i.jsx)(Nn,{children:"You"}),(0,i.jsx)(an,{})]}),(0,i.jsxs)("ul",{children:[(0,i.jsx)(kn,{href:"/mypage",refMarker:"nv_usr_profile",children:(0,i.jsx)(pe.q,{id:"Nav_Profile_Your_page",defaultMessage:"Your page"})}),r&&(0,i.jsx)(kn,{href:"/discover/people?rtab=save-filter",refMarker:"nv_usr_saved_filters",className:"discover-people-saved-filters","data-page-action":"recent-view-dsc-pe-index5",children:(0,i.jsx)(pe.q,{id:"Nav_Profile_Your_saved_filters",defaultMessage:"Your saved filters"})}),(0,i.jsx)(kn,{href:"/list",refMarker:"nv_usr_myl",children:(0,i.jsx)(pe.q,{id:"Nav_Profile_Your_lists",defaultMessage:"Your lists"})}),(0,i.jsx)(kn,{href:"/tracking",refMarker:"nv_usr_mypt",children:(0,i.jsx)(pe.q,{id:"Nav_Profile_Pages_you_track",defaultMessage:"Pages you track"})}),t&&(0,i.jsx)(kn,{href:"/casting/breakdowns",refMarker:"nv_usr_projects",children:(0,i.jsx)(pe.q,{id:"Nav_Profile_Your_projects",defaultMessage:"Your projects"})}),t&&(0,i.jsx)(kn,{href:"/jobs/applications",refMarker:"nv_usr_applications",children:(0,i.jsx)(pe.q,{id:"Nav_Profile_Your_job_applications",defaultMessage:"Your job applications"})}),(0,i.jsx)(kn,{href:"/account",refMarker:"nv_usr_acct",children:(0,i.jsx)(pe.q,{id:"Nav_Profile_Your_account",defaultMessage:"Your account"})}),(0,i.jsx)(kn,{href:"/logout",refMarker:"nv_usr_logout",children:(0,i.jsx)(pe.q,{id:"Nav_Profile_Log_out",defaultMessage:"Log out"})})]})]})})},An=(0,c.memo)(Cn),kn=function(e){return(0,i.jsx)("li",{children:(0,i.jsx)(we,(0,ue.Z)({},e))})},Nn=l.default.span.withConfig({componentId:"sc-8ccefe7a-0"})(In()),En=l.default.div.withConfig({componentId:"sc-8ccefe7a-1"})(Tn(),on,Nn,on,on,on);function Sn(e){for(var n=e;n;n=n.slice(0,-1))if(Pn[n])return Pn[n]}var Pn=new Map,Zn=new Set,On=function(e){};function Rn(){return(Rn=(0,H.Z)((function(e){var n,t;return(0,Y.__generator)(this,(function(r){switch(r.label){case 0:return e.length<1||Zn.has(e)?[2]:(Zn.add(e),[4,ze().get("/api/instantSearch",{params:{q:e},timeout:3e3})]);case 1:return n=r.sent().data,t=Dn(n,e),Pn[e]=t,On(t),[2]}}))}))).apply(this,arguments)}function Dn(e,n){var t,r,a;new RegExp("(".concat(n,")"),"gi");return{q:e.q,encodedSearch:encodeURIComponent(n),name:e.name||[],title:e.title||[],company:e.company||[],total:((null===(t=e.name)||void 0===t?void 0:t.length)||0)+((null===(r=e.title)||void 0===r?void 0:r.length)||0)+((null===(a=e.company)||void 0===a?void 0:a.length)||0)}}var Bn="",Ln={nm:"name",tt:"title",co:"company"};function Vn(e){e.forEach((function(e){var n=e.constId+"",t=n.slice(0,2);e.constId={value:n,prefix:t,id:Number(n.slice(2)),urlsegment:Ln[t]},e.imageType=function(e,n){if("tt"===e)return"SQUARE"===n?"podcastSeries":"movie";return"name"}(t,e.imageAspectRatio)}))}function qn(){return(qn=(0,H.Z)((function(){var e;return(0,Y.__generator)(this,(function(n){switch(n.label){case 0:return n.trys.push([0,2,,3]),[4,ze().get("/recentlyViewedConstsData")];case 1:return e=n.sent().data,Bn=e.token,Vn(e.results),[2,e.results];case 2:return n.sent(),[2,[]];case 3:return[2]}}))}))).apply(this,arguments)}function zn(){return(zn=(0,H.Z)((function(e){return(0,Y.__generator)(this,(function(n){return[2,ze().post("/recentlyViewedConsts/delete/_ajax",{token:Bn,constId:e,marketplace:"PRO"})]}))}))).apply(this,arguments)}function Un(e){var n=ge().useSuggestionSearch,t=(0,G.getIsBrowser)();(0,c.useEffect)((function(){t&&n&&function(){return qn.apply(this,arguments)}().then(e)}),[t,n])}function Hn(){var e=(0,a.Z)(["\n font-family: 'Ember', Helvetica, Arial, sans-serif;\n font-family: var(--ipt-font-family);\n font-size: 13px;\n line-height: 16px;\n padding: 14px;\n strong {\n font-weight: bold;\n }\n a {\n color: #00799e;\n text-decoration: none;\n }\n a:hover {\n text-decoration: underline;\n }\n\n .text_color_state {\n color: #c45500;\n }\n"]);return Hn=function(){return e},e}var Yn=function(){return(0,i.jsxs)(Wn,{children:[(0,i.jsx)("a",{href:"/account/membership?ref_=instant_upgr",target:"_blank",children:(0,i.jsx)("strong",{className:"text_color_state",children:(0,i.jsx)(pe.q,{id:"pro_cta_upgradeSearch_prompt",defaultMessage:"Upgrade to unlock the full search experience"})})}),(0,i.jsxs)("div",{children:[(0,i.jsx)(pe.q,{id:"pro_cta_upgradeSearch_upgradeMembershipToUnlock",defaultMessage:"Upgrade membership to unlock"}),(0,i.jsx)("strong",{children:(0,i.jsx)(pe.q,{id:"pro_cta_upgradeSearch_advancedSearchForPeopleTitlesAndCompanies",defaultMessage:"Advanced Search for People, Titles, and Companies."})}),(0,i.jsx)("a",{href:"/account/membership?ref_=instant_upgr",target:"_blank",children:(0,i.jsx)(pe.q,{id:"pro_cta_upgradeSearch_cta",defaultMessage:"Learn more"})})]})]})},Wn=l.default.div.withConfig({componentId:"sc-f48476d1-0"})(Hn()),Fn=t(86741);function Kn(){var e=(0,a.Z)(["\n background: #e8e8e8;\n border-bottom: 1px solid #e8e8e8;\n color: #000;\n font-family: 'Trebuchet MS', Arial, Helvetica, sans-serif;\n font-size: 11px;\n font-weight: 700;\n padding: 5px;\n\n a {\n color: #111;\n float: right;\n height: auto;\n text-decoration: none;\n\n &:hover,\n &:active {\n background: #02acd3;\n }\n }\n"]);return Kn=function(){return e},e}function Gn(){var e=(0,a.Z)(["\n vertical-align: middle;\n"]);return Gn=function(){return e},e}function Qn(){var e=(0,a.Z)(["\n display: inline-block;\n font-family: 'Ember', Helvetica, Arial, sans-serif;\n font-family: var(--ipt-font-family);\n font-size: 11px;\n line-height: normal;\n padding: 0 7px;\n vertical-align: middle;\n width: 337px;\n"]);return Qn=function(){return e},e}function Jn(){var e=(0,a.Z)(["\n float: left;\n font-size: 14px;\n max-width: 337px;\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n max-width: ","px;\n\n .matched {\n font-weight: bold;\n }\n"]);return Jn=function(){return e},e}function Xn(){var e=(0,a.Z)(["\n color: #999999;\n padding-left: 0.4em;\n"]);return Xn=function(){return e},e}function $n(){var e=(0,a.Z)(["\n color: #666;\n clear: left;\n margin-top: 7px;\n line-height: 13px;\n text-overflow: ellipsis;\n overflow: hidden;\n white-space: nowrap;\n"]);return $n=function(){return e},e}function et(){var e=(0,a.Z)(["\n background: #fff;\n border-bottom: 1px solid #e8e8e8;\n clear: both;\n\n a {\n box-sizing: content-box;\n color: #333;\n display: block;\n height: 57px;\n padding: 4px;\n\n &:hover,\n &:active,\n &.active-result {\n background: #02acd3;\n color: white;\n text-decoration: none;\n\n ",",\n ",",\n "," {\n color: white;\n }\n }\n }\n img {\n vertical-align: middle;\n }\n"]);return et=function(){return e},e}function nt(){var e=(0,a.Z)(["\n display: block;\n font-family: 'Ember', Helvetica, Arial, sans-serif;\n font-family: var(--ipt-font-family);\n font-weight: 700;\n font-size: 11px;\n height: auto;\n line-height: inherit;\n padding: 6px 8px;\n text-decoration: none;\n\n white-space: nowrap;\n text-overflow: ellipsis;\n overflow: hidden;\n\n color: #00799e;\n :hover,\n :active {\n background: #02acd3;\n color: white;\n }\n"]);return nt=function(){return e},e}var tt=function(e){var n=e.activeIndex,t=e.searchPage,r=t.total,a=t.encodedSearch,o=t.name,s=t.title,l=t.company,d=e.searchValue,u=e.showAllLink;return(0,i.jsxs)("ul",{id:"instantSearch",children:[(0,i.jsx)(rt,{constName:"People",href:u?"/discover/people?profession=any&nameKeyword=".concat(a,"&ref_=instant_nm_seeall"):void 0}),o.map((function(e,t){return(0,c.createElement)(at,(0,ve.Z)((0,ue.Z)({},e),{key:e.id,isActive:n===t,href:"/name/".concat(e.id,"/?ref_=instant_nm").concat(t,"&q=").concat(a),imageType:"name"}))})),(0,i.jsx)(rt,{constName:"Titles",href:u?"/discover/title?type=any&nameKeyword=".concat(a,"&ref_=instant_tt_seeall"):void 0}),s.map((function(e,t){return(0,c.createElement)(at,(0,ve.Z)((0,ue.Z)({},e),{key:e.id,isActive:n===t+o.length,href:"/title/".concat(e.id,"/?ref_=instant_tt").concat(t,"&q=").concat(a),imageType:"movie"}))})),(0,i.jsx)(rt,{constName:"Companies",href:u?"/find?q=".concat(a,"&ref_=instant_co_seeall#keyspace=COMPANY"):void 0}),l.map((function(e,t){return(0,c.createElement)(at,(0,ve.Z)((0,ue.Z)({},e),{key:e.id,isActive:n===t+o.length+s.length,href:"/company/".concat(e.id,"/?ref_=instant_co").concat(t,"&q=").concat(a),imageType:"movie"}))})),r>0&&(0,i.jsx)("li",{className:"more",children:(0,i.jsxs)(ft,{href:"/find?q=".concat(a,"&ref_=instant_seeall"),children:[(0,i.jsx)(f.Icon,{name:"search"}),(0,i.jsxs)("span",{children:[(0,i.jsx)(pe.q,{id:"SearchBar_See_all_results_for",defaultMessage:"See all results for"}),(0,i.jsxs)("span",{className:"matched",id:"searchVal",children:['"',d,'"']}),"\xbb"]})]})})]})},rt=function(e){var n=e.constName,t=e.href;return(0,i.jsxs)(it,{children:[(0,i.jsx)("span",{children:n}),t&&(0,i.jsxs)("a",{className:"see_all",href:t,children:[(0,i.jsx)(pe.q,{id:"SearchBar_See_all_constName_results",defaultMessage:"See all {constName} results",values:{constName:(0,i.jsxs)("span",{children:['"',n,'"']})}}),"\xbb"]})]})},at=function(e){var n=e.isActive,t=e.href,r=e.displayMain,a=e.displayMiddle,o=e.displayBottom,s=e.displayExtra,c=e.displayExtraYear,l=e.image,d=e.imageType;return(0,i.jsx)(ut,{children:(0,i.jsxs)("a",{className:n?"active-result":"",href:t,children:[(0,i.jsx)(ot,{imageModel:{url:l,maxHeight:200,maxWidth:200,caption:"primary"},imageType:d,size:39,dynamicAspectRatio:!0}),(0,i.jsxs)(st,{children:[(0,i.jsx)(ct,{narrow:!(!c&&!s),children:(0,Fn.ZP)(r)}),s&&(0,i.jsx)(lt,{children:s}),c&&(0,i.jsx)(lt,{children:c}),a&&(0,i.jsx)(dt,{children:(0,Fn.ZP)(a)}),o&&(0,i.jsx)(dt,{children:(0,Fn.ZP)(o)})]})]})})},it=l.default.li.withConfig({componentId:"sc-ab493b8f-0"})(Kn()),ot=(0,l.default)(f.PosterImage).withConfig({componentId:"sc-ab493b8f-1"})(Gn()),st=l.default.div.withConfig({componentId:"sc-ab493b8f-2"})(Qn()),ct=l.default.div.withConfig({componentId:"sc-ab493b8f-3"})(Jn(),(function(e){return e.narrow?258:337})),lt=l.default.span.withConfig({componentId:"sc-ab493b8f-4"})(Xn()),dt=l.default.div.withConfig({componentId:"sc-ab493b8f-5"})($n()),ut=l.default.li.withConfig({componentId:"sc-ab493b8f-6"})(et(),ct,lt,dt),ft=l.default.a.withConfig({componentId:"sc-ab493b8f-7"})(nt()),pt=t(93130),ht=t(52828),gt=t(90551),mt=t(64023);function vt(){var e=(0,a.Z)(["\n fragment RecentList on List {\n id\n name {\n originalText\n }\n createdDate\n lastModifiedDate\n listType {\n id\n }\n items(first: 0) {\n total\n }\n }\n"]);return vt=function(){return e},e}function xt(){var e=(0,a.Z)(["\n query RecentLists {\n lists(\n first: 5\n filter: { classTypes: PRO_LIST, listElementType: PEOPLE }\n ) {\n edges {\n node {\n ...RecentList\n }\n }\n }\n }\n ","\n "]);return xt=function(){return e},e}function _t(){var e=(0,a.Z)(["\n color: #00799e;\n font-weight: bold;\n margin-bottom: 14px;\n"]);return _t=function(){return e},e}function bt(){var e=(0,a.Z)(["\n font-family: 'Ember', Helvetica, Arial, sans-serif;\n font-family: var(--ipt-font-family);\n padding: 14px;\n"]);return bt=function(){return e},e}function wt(){var e=(0,a.Z)(["\n font-size: 17px;\n font-weight: 400;\n margin-bottom: 14px;\n"]);return wt=function(){return e},e}function yt(){var e=(0,a.Z)(["\n font-size: 14px;\n line-height: 16px;\n margin-bottom: 18px;\n\n a {\n color: #00799e;\n text-decoration: none;\n }\n a:hover {\n text-decoration: underline;\n }\n"]);return yt=function(){return e},e}function Mt(){var e=(0,a.Z)(["\n color: gray;\n font-size: 12px;\n margin-top: 10px;\n"]);return Mt=function(){return e},e}function jt(){var e=(0,a.Z)(["\n color: #666;\n"]);return jt=function(){return e},e}function It(){var e=(0,a.Z)(["\n font-family: 'Ember', Helvetica, Arial, sans-serif;\n font-family: var(--ipt-font-family);\n font-size: 12px;\n a {\n color: #00799e;\n text-decoration: none;\n }\n a:hover {\n text-decoration: underline;\n }\n"]);return It=function(){return e},e}var Tt,Ct,At=yn()(vt());function kt(){var e,n=(0,gt.n)(),t=(0,L.Z)((0,mt.E)({query:yn()(xt(),At),context:{personalized:!0,serverSideCacheable:!1},pause:!0}),2),r=t[0],a=t[1];(0,c.useEffect)((function(){(0,G.getIsBrowser)()&&n&&a({requestPolicy:"network-only"})}),[a,n]);var o=null===(e=r.data)||void 0===e?void 0:e.lists.edges;return(0,i.jsxs)(St,{children:[(0,i.jsx)(Pt,{children:(0,i.jsx)(pe.q,{id:"pro_navBar_recentLists_heading_yourRecentLists",defaultMessage:"Your recent lists"})}),r.fetching&&(0,i.jsxs)(Et,{className:"recent-lists-spinner",children:[(0,i.jsx)(f.Loader,{type:"circle"}),(0,i.jsx)("span",{children:(0,i.jsx)(pe.q,{id:"RecentLists_Loading",defaultMessage:"Loading recent lists"})})]}),o&&(0,i.jsx)("ul",{className:"recent-lists",children:0===o.length?(0,i.jsx)(Rt,{children:(0,i.jsx)(pe.q,{id:"RecentLists_None",defaultMessage:"No recent lists"})}):o.filter((function(e){return e.node})).map((function(e){var n;return(0,i.jsx)(Nt,(0,ue.Z)({},e.node),null===(n=e.node)||void 0===n?void 0:n.id)}))}),(0,i.jsxs)(Dt,{children:["\xbb\xa0",(0,i.jsx)("a",{href:"/list?ref_=recent_view_see_all_list",target:"_blank",children:(0,i.jsx)(pe.q,{id:"pro_navBar_recentLists_seeAllYourLists",defaultMessage:"See all your lists"})})]})]})}function Nt(e){var n=e.id,t=e.name,r=e.createdDate,a=e.lastModifiedDate,o=e.listType,s=e.items,c=function(e,n){var t=(0,m.Z)();return(0,ht.dR)(t,e,n)}(a||r),l=Tt[(null===o||void 0===o?void 0:o.id)||pt.lZ.Lists],d=Ct[(null===o||void 0===o?void 0:o.id)||pt.lZ.Lists];return(0,i.jsxs)(Zt,{children:[(0,i.jsx)("a",{href:"/list/".concat(n,"?ref_=recent_view_list_view"),target:"_blank",children:(0,i.jsx)("span",{className:"truncate",children:(null===t||void 0===t?void 0:t.originalText)||""})}),(0,i.jsxs)(Ot,{children:[(0,i.jsx)(pe.q,{id:"listPreviewCard_type_".concat(l),defaultMessage:"{count, plural, one {1 ".concat(l,"} other {{count} ").concat(d,"}}"),values:{count:(null===s||void 0===s?void 0:s.total)||0}})," | ",a?(0,i.jsx)(pe.q,{id:"listPreviewCard_last_modified",defaultMessage:"updated {duration} ago",values:{duration:c}}):(0,i.jsx)(pe.q,{id:"listPreviewCard_created",defaultMessage:"created {duration} ago",values:{duration:c}})]})]})}!function(e){e.GALLERIES="gallery",e.IMAGES="image",e.LISTS="list",e.PEOPLE="person",e.THEATRES="theater",e.TITLES="title",e.VIDEOS="video"}(Tt||(Tt={})),function(e){e.GALLERIES="galleries",e.IMAGES="images",e.LISTS="lists",e.PEOPLE="people",e.THEATRES="theaters",e.TITLES="titles",e.VIDEOS="videos"}(Ct||(Ct={}));var Et=l.default.div.withConfig({componentId:"sc-54f00293-0"})(_t()),St=l.default.div.withConfig({componentId:"sc-54f00293-1"})(bt()),Pt=l.default.h2.withConfig({componentId:"sc-54f00293-2"})(wt()),Zt=l.default.li.withConfig({componentId:"sc-54f00293-3"})(yt()),Ot=l.default.div.withConfig({componentId:"sc-54f00293-4"})(Mt()),Rt=l.default.li.withConfig({componentId:"sc-54f00293-5"})(jt()),Dt=l.default.div.withConfig({componentId:"sc-54f00293-6"})(It());function Bt(){var e=(0,a.Z)(["\n padding: 5px;\n"]);return Bt=function(){return e},e}function Lt(){var e=(0,a.Z)(["\n color: #00799e;\n font-weight: bold;\n left: auto;\n padding: 0 7px;\n"]);return Lt=function(){return e},e}function Vt(){var e=(0,a.Z)(["\n background: #e8e8e8;\n border-bottom: 1px solid #e8e8e8;\n color: #000;\n font-family: 'Trebuchet MS', Arial, Helvetica, sans-serif;\n font-size: 11px;\n font-weight: 700;\n padding: 5px;\n\n a {\n color: #111;\n float: right;\n height: auto;\n text-decoration: none;\n\n &:hover,\n &:active {\n background: #02acd3;\n }\n }\n"]);return Vt=function(){return e},e}function qt(){var e=(0,a.Z)(["\n vertical-align: middle;\n"]);return qt=function(){return e},e}function zt(){var e=(0,a.Z)(["\n display: inline-block;\n font-family: 'Ember', Helvetica, Arial, sans-serif;\n font-family: var(--ipt-font-family);\n font-size: 11px;\n line-height: normal;\n padding: 0 7px;\n vertical-align: middle;\n width: 324px;\n"]);return zt=function(){return e},e}function Ut(){var e=(0,a.Z)(["\n font-size: 14px;\n line-height: 17px;\n max-width: 300px;\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n\n &.narrow {\n float: left;\n max-width: 258px;\n }\n\n .matched {\n font-weight: bold;\n }\n"]);return Ut=function(){return e},e}function Ht(){var e=(0,a.Z)(["\n color: #999999;\n padding-left: 0.4em;\n"]);return Ht=function(){return e},e}function Yt(){var e=(0,a.Z)(["\n color: #666;\n clear: left;\n line-height: 13px;\n text-overflow: ellipsis;\n overflow: hidden;\n white-space: nowrap;\n"]);return Yt=function(){return e},e}function Wt(){var e=(0,a.Z)(["\n background: #fff;\n border-bottom: 1px solid #e8e8e8;\n clear: both;\n\n a {\n box-sizing: content-box;\n color: #333;\n display: block;\n height: 47px;\n\n &:hover,\n &:active,\n &.active-result {\n background: #02acd3;\n color: white;\n text-decoration: none;\n\n ",",\n ",",\n "," {\n color: white;\n }\n }\n img {\n vertical-align: middle;\n }\n }\n .remove_icon {\n color: #fff;\n padding: 0.75rem 0.5rem;\n }\n\n &:hover .remove_icon {\n color: #333;\n }\n .remove_icon:hover,\n .remove_icon:active {\n color: #000;\n }\n"]);return Wt=function(){return e},e}function Ft(){var e=(0,a.Z)(["\n a {\n font-family: 'Ember', Helvetica, Arial, sans-serif;\n font-family: var(--ipt-font-family);\n font-size: 12px;\n font-weight: 700;\n height: auto;\n line-height: inherit;\n padding: 6px 8px;\n display: block;\n color: #00799e;\n text-decoration: none;\n :hover,\n :active {\n background: #02acd3;\n color: white;\n }\n }\n"]);return Ft=function(){return e},e}var Kt=function(e){var n=e.activeIndex,t=e.recentPages,r=e.onRemoveRecentPage,a=(0,O.q)("recent-view-dsc-pe-index4");return t?(0,i.jsxs)("ul",{children:[!!t.length&&(0,i.jsxs)(Xt,{children:[(0,i.jsx)("span",{className:"text",children:(0,i.jsx)(pe.q,{id:"RecentPages_title",defaultMessage:"Recently viewed pages"})}),(0,i.jsx)("a",{href:"/discover?_ref=recent_view_dsc_pe_index4",onClick:a,children:(0,i.jsx)(pe.q,{id:"RecentPages_discover",defaultMessage:"Discover more people"})})]}),!t.length&&(0,i.jsx)("li",{id:"rvc_blank_state",children:(0,i.jsx)(pe.q,{id:"RecentPages_blank",defaultMessage:"Your recently viewed pages will appear here."})}),t.slice(0,10).map((function(e,t){return(0,c.createElement)(Gt,(0,ve.Z)((0,ue.Z)({},e),{key:e.constId.value,isActive:n===t,imageType:e.imageType,href:"/".concat(e.constId.urlsegment,"/").concat(e.constId.value,"?ref_=recent_view_").concat(t+1),onRemove:function(n){r(e),n.preventDefault(),n.stopPropagation()}}))})),!!t.length&&(0,i.jsx)(ir,{id:"rvc_see_all",children:(0,i.jsx)("a",{href:"/viewed-page-history?_ref=recent_view_seeall",children:(0,i.jsx)(pe.q,{id:"RecentPages_seeAll",defaultMessage:"See all recently viewed pages"})})})]}):(0,i.jsxs)(Qt,{children:[(0,i.jsx)(f.Loader,{}),(0,i.jsx)(Jt,{children:(0,i.jsx)(pe.q,{id:"RecentPages_loading",defaultMessage:"Loading recently visited pages"})})]})},Gt=function(e){var n=e.isActive,t=e.displayMain,r=e.displayBottom,a=e.displayExtra,o=e.href,s=e.image,c=e.imageType,l=e.onRemove;return(0,i.jsx)(ar,{children:(0,i.jsxs)("a",{className:n?"active-result":"",href:o,children:[(0,i.jsx)($t,{imageModel:{url:s,maxHeight:200,maxWidth:200,caption:"primary"},imageType:c,size:32,dynamicAspectRatio:!0}),(0,i.jsxs)(er,{children:[(0,i.jsxs)(nr,{className:a?"narrow":"",children:[t,a&&(0,i.jsx)(tr,{children:a})]}),r&&(0,i.jsx)(rr,{children:r})]}),(0,i.jsx)("span",{children:(0,i.jsx)(f.IconButton,{name:"clear",label:"remove",className:"remove_icon",onClick:l})})]})})},Qt=l.default.div.withConfig({componentId:"sc-cdeb82f8-0"})(Bt()),Jt=l.default.span.withConfig({componentId:"sc-cdeb82f8-1"})(Lt()),Xt=l.default.li.withConfig({componentId:"sc-cdeb82f8-2"})(Vt()),$t=(0,l.default)(f.PosterImage).withConfig({componentId:"sc-cdeb82f8-3"})(qt()),er=l.default.div.withConfig({componentId:"sc-cdeb82f8-4"})(zt()),nr=l.default.div.withConfig({componentId:"sc-cdeb82f8-5"})(Ut()),tr=l.default.span.withConfig({componentId:"sc-cdeb82f8-6"})(Ht()),rr=l.default.div.withConfig({componentId:"sc-cdeb82f8-7"})(Yt()),ar=l.default.li.withConfig({componentId:"sc-cdeb82f8-8"})(Wt(),nr,tr,rr),ir=l.default.li.withConfig({componentId:"sc-cdeb82f8-9"})(Ft());function or(){var e=(0,a.Z)(["\n float: left;\n position: relative;\n @media only screen and (max-width: 767px) {\n position: initial;\n }\n\n form {\n position: relative;\n }\n\n #search_button {\n position: absolute;\n top: 0;\n right: 0;\n font-size: 19px;\n padding: 0.4rem;\n color: #666;\n }\n"]);return or=function(){return e},e}function sr(){var e=(0,a.Z)(["\n border: 1px solid #cdcdcd;\n border-right: none;\n border-radius: 4px;\n box-sizing: border-box;\n color: #767676;\n font-family: Arial, Helvetica, sans-serif;\n font-size: 13px;\n font-weight: 700;\n height: 36px;\n line-height: 36px;\n padding: 0 40px 0 10px;\n vertical-align: middle;\n width: 350px;\n @media only screen and (max-width: 767px) {\n width: 285px;\n }\n"]);return sr=function(){return e},e}function cr(){var e=(0,a.Z)(["\n background-color: #fff;\n box-shadow: 0 3px 3px 0 #999;\n border: 1px solid #999;\n clear: both;\n left: 0;\n position: absolute;\n top: 36px;\n width: 828px;\n z-index: 9;\n @media only screen and (max-width: 1007px) {\n width: calc(100vw - 180px);\n }\n @media only screen and (max-width: 767px) {\n width: 100%;\n }\n\n &:after {\n content: '';\n clear: both;\n display: table;\n }\n"]);return cr=function(){return e},e}function lr(){var e=(0,a.Z)(["\n float: left;\n width: 400px;\n"]);return lr=function(){return e},e}function dr(){var e=(0,a.Z)(["\n margin-left: 400px;\n"]);return dr=function(){return e},e}function ur(){var e,n=ge(),t=n.useSuggestionSearch,r=n.viewDiscoverPage,a=(0,m.Z)().formatMessage,o=(0,c.useState)(!1),s=o[0],l=o[1],d=(0,c.useState)(!1),u=d[0],p=d[1],h=(0,c.useState)(fr),g=h[0],v=g.activeIndex,x=g.recentPages,_=g.searchPage,b=g.searchValue,w=h[1];Un((function(e){return w(vr(e))})),e=function(){return w(mr)},G.isBrowser&&(On=e);var y=r?"Search and Discover":"Search",M=(t||_)&&(u||s);return(0,i.jsxs)(br,{id:"search_container",children:[(0,i.jsxs)("form",{method:"get",action:"/find",children:[(0,i.jsx)(wr,{type:"text",id:"searchField",className:"searchField",autoComplete:"off",title:y,placeholder:y,name:"q",value:b,onKeyDown:function(e){return function(e,n){switch(e.key){case"Enter":var t=document.querySelector("active-result");if(t)return t.click(),!1;break;case"ArrowUp":return n(gr),!1;case"ArrowDown":return n(hr),!1}}(e,w)},onKeyUp:function(e){var n;w(_r(null!==(n=e.target.value)&&void 0!==n?n:"")),p(!0)},onChange:function(e){w(_r(e.target.value)),p(!0)},onFocus:function(e){w(_r(e.target.value)),p(!0)},onBlur:function(){p(!1)}}),(0,i.jsx)(f.IconButton,{id:"search_button",name:"magnify",label:a({id:"pro_navBar_searchBar_search",defaultMessage:"Search"})})]}),(0,i.jsx)(yr,{hidden:!M,onMouseOver:function(){l(!0)},onMouseOut:function(){l(!1),pr()},children:(0,i.jsxs)(f.SetPalette,{palette:"light",children:[(0,i.jsx)(Mr,{children:_?(0,i.jsx)(tt,{activeIndex:v,searchPage:_,searchValue:b,showAllLink:t}):t&&(0,i.jsx)(Kt,{activeIndex:v,recentPages:x,onRemoveRecentPage:function(e){w(xr(e)),pr()}})}),(0,i.jsxs)(jr,{children:[(0,i.jsx)(kt,{}),!t&&(0,i.jsx)(Yn,{})]})]})})]})}var fr={activeIndex:-1,recentPages:void 0,searchPage:void 0,searchValue:""};function pr(){var e;null===(e=document.getElementById("searchField"))||void 0===e||e.focus({preventScroll:!0})}var hr=function(e){if(e.searchPage){var n=Math.min(e.searchPage.total,9)-1;return(0,ve.Z)((0,ue.Z)({},e),{activeIndex:e.activeIndex0?e.activeIndex-1:e.activeIndex}):e},mr=function(e){var n=Sn(e.searchValue);return e.searchPage!==n?(0,ve.Z)((0,ue.Z)({},e),{activeIndex:-1,searchPage:n}):e},vr=function(e){return function(n){return(0,ve.Z)((0,ue.Z)({},n),{recentPages:e})}},xr=function(e){return function(n){var t;return function(e){zn.apply(this,arguments)}(e.constId.value),(0,ve.Z)((0,ue.Z)({},n),{recentPages:null===(t=n.recentPages)||void 0===t?void 0:t.filter((function(n){return n.constId.value!==e.constId.value}))})}},_r=function(e){return function(n){!function(e){Rn.apply(this,arguments)}(e);var t=Sn(e);return(0,ve.Z)((0,ue.Z)({},n),{activeIndex:n.searchPage!==t?-1:n.activeIndex,searchPage:t,searchValue:e})}};var br=l.default.div.withConfig({componentId:"sc-28f17e7-0"})(or()),wr=l.default.input.withConfig({componentId:"sc-28f17e7-1"})(sr()),yr=l.default.div.withConfig({componentId:"sc-28f17e7-2"})(cr()),Mr=l.default.div.withConfig({componentId:"sc-28f17e7-3"})(lr()),jr=l.default.div.withConfig({componentId:"sc-28f17e7-4"})(dr());function Ir(){var e=(0,a.Z)(["\n position: relative;\n float: left;\n padding: 10px 17px;\n\n .advanced_search_link {\n color: #02acd3;\n ",";\n font-weight: bold;\n font-size: 15px;\n letter-spacing: 0em;\n line-height: 1.4;\n text-align: center;\n }\n\n svg {\n float: right;\n height: 24px;\n margin-top: -1px;\n }\n"]);return Ir=function(){return e},e}function Tr(){var e=(0,a.Z)(["\n position: relative;\n z-index: 101;\n box-shadow: 0 1px 3px 0 #999;\n background: #000000;\n\n &.basic {\n background: #d5dbdb;\n }\n"]);return Tr=function(){return e},e}function Cr(){var e=(0,a.Z)(["\n box-sizing: content-box;\n height: 36px;\n margin: 0 auto;\n padding: 10px 0;\n position: relative;\n max-width: 1008px;\n z-index: 102;\n\n .logo_container {\n float: left;\n margin: 2px 45px 4px 10px;\n color: #ffffff;\n .basic & {\n color: #000000;\n }\n @media screen and (max-width: 767px) {\n margin-right: 15px;\n }\n }\n\n .non_subscribers {\n color: #e8e8e8;\n float: right;\n font-family: Arial, Helvetica, sans-serif;\n font-size: 14px;\n font-weight: bold;\n line-height: 36px;\n margin-right: 10px;\n\n a {\n padding-left: 0.5em;\n color: #ccfdff;\n }\n @media only screen and (max-width: 767px) {\n line-height: 20px;\n a {\n padding-left: 0;\n display: block;\n }\n }\n }\n"]);return Cr=function(){return e},e}function Ar(){var e=(0,a.Z)(["\n float: right;\n"]);return Ar=function(){return e},e}function kr(){var e=ge(),n=e.viewLimitedMasthead,t=e.viewFullMasthead,r=n||t,a=function(e){var n=(0,c.useState)(void 0),t=n[0],r=n[1];return(0,c.useEffect)((function(){(0,G.getIsBrowser)()&&e&&ze().get("/api/mobile/notifications/getInboxUnseenCount").then((function(e){var n=e.data;return r(null===n||void 0===n?void 0:n.unseenNotificationCount)})).catch((function(e){return(0,Ve.submitError)(e)}))}),[e]),t}(r),o=(0,ee.B)().context.canonicalTag,s=(0,De.N)(Be),l=r&&void 0!==s;return(0,i.jsx)(f.SetPalette,{palette:n?"light":"dark",children:(0,i.jsxs)(Pr,{className:n?"basic":"full",children:[(0,i.jsxs)(Zr,{id:"header",role:"banner",children:[(0,i.jsx)(we,{href:"/",refMarker:"nv_hm_i",className:"logo_container",title:(0,De.N)(Le),children:(0,i.jsx)(f.Logo,{variation:"imdbpro-color",height:33})}),(0,i.jsx)(ur,{}),l&&(0,i.jsx)(Er,{advancedSearchTreatmentText:s}),r?(0,i.jsxs)(Or,{children:[(0,i.jsx)(Ke,{unreadCount:a}),(0,i.jsx)(Ge,{}),(0,i.jsx)(An,{entitlements:e})]}):(0,i.jsx)(Nr,{canonicalTag:o})]}),(0,i.jsx)(un,{entitlements:e})]})})}var Nr=function(e){var n=e.canonicalTag;return(0,i.jsxs)("div",{className:"non_subscribers",children:[(0,i.jsx)(pe.q,{id:"pro_navBar_alreadyASubscriber",defaultMessage:"Already a subscriber?"}),(0,i.jsx)(nn,{redirect:n,children:(0,i.jsx)(pe.q,{id:"pro_navBar_logIn",defaultMessage:"Log In"})})]})},Er=function(e){var n=e.advancedSearchTreatmentText;return(0,i.jsx)(Sr,{"aria-label":n,children:(0,i.jsxs)(we,{href:"/discover/people",refMarker:"nv_adv_search",className:"advanced_search_link",role:"link",children:[n,(0,i.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",focusable:"false",viewBox:"0 0 24 24",fill:"rgb(7, 170, 210)",role:"img",children:(0,i.jsx)("path",{d:"M10 17l5-5-5-5v10z"})})]})})},Sr=l.default.div.withConfig({componentId:"sc-80b2a4b8-0"})(Ir(),(0,p.getTypeFamily)()),Pr=l.default.div.withConfig({componentId:"sc-80b2a4b8-1"})(Tr()),Zr=l.default.div.withConfig({componentId:"sc-80b2a4b8-2"})(Cr()),Or=l.default.div.withConfig({componentId:"sc-80b2a4b8-3"})(Ar()),Rr=t(75316),Dr=t(47150),Br=t(89746),Lr=t(76635),Vr=t(75467),qr=t(25033);function zr(){var e=(0,a.Z)(["\n query NavBarFlyoutCTA($isLoggedIn: Boolean!) {\n callToAction(context: { isLoggedIn: $isLoggedIn }) {\n navbarProFlyout {\n action {\n label {\n text\n }\n url\n }\n backgroundImage {\n url\n }\n }\n }\n }\n"]);return zr=function(){return e},e}var Ur=yn()(zr()),Hr=function(){var e=(0,H.Z)((function(){return(0,Y.__generator)(this,(function(e){return[2,null]}))}));return function(){return e.apply(this,arguments)}}(),Yr=function(){var e=(0,H.Z)((function(e,n){var t,r,a,i;return(0,Y.__generator)(this,(function(o){switch(o.label){case 0:return[4,e.queryWithContext(Ur,{isLoggedIn:n},{personalized:n,serverSideCacheable:!n}).toPromise()];case 1:return a=o.sent(),(i=null===(t=a.data)||void 0===t||null===(r=t.callToAction)||void 0===r?void 0:r.navbarProFlyout)&&i.backgroundImage&&i.action.label?[2,{imageUrl:i.backgroundImage.url,buttonText:i.action.label.text,buttonUrl:i.action.url}]:[2,null]}}))}));return function(n,t){return e.apply(this,arguments)}}(),Wr=function(){var e=function(){var e=(0,ee.B)().context;return(0,L.Z)((0,qr.MA)({requestContext:e,isPrepass:!1}),1)[0]}(),n=(0,gt.n)(),t=(0,f.useBreakpointsAsConfig)(),r=(0,L.Z)(c.useState(!t||(t.xs||t.s||t.m)),2),a=r[0],i=r[1],o=(0,L.Z)(c.useState((function(){return function(){return Hr()}})),2),s=o[0],l=o[1];return c.useEffect((function(){var e=function(){var e=!t||(t.xs||t.s||t.m);a&&e!==a&&i(e)};return window.addEventListener("resize",e),function(){window.removeEventListener("resize",e)}}),[t]),c.useEffect((function(){if(a)l((function(){return function(){return Hr()}}));else{var t=function(){var t=(0,H.Z)((function(){return(0,Y.__generator)(this,(function(t){return[2,Yr(e,n)]}))}));return function(){return t.apply(this,arguments)}}();l((function(){return function(){return t()}}))}}),[a]),s},Fr=t(46418),Kr=t(94081),Gr=t(6488),Qr=t(38003);function Jr(){var e=(0,a.Z)(["\n display: flex;\n flex-direction: column;\n"]);return Jr=function(){return e},e}function Xr(){var e=(0,a.Z)(["\n display: flex;\n flex-direction: column;\n gap: ",";\n"]);return Xr=function(){return e},e}function $r(){var e=(0,a.Z)(["\n display: inline-block;\n border-radius: 50%;\n background-color: ",";\n\n svg {\n transform: scale(0.75);\n }\n"]);return $r=function(){return e},e}var ea="auto_translate_hide_snack",na=l.default.div.withConfig({componentId:"sc-514de964-0"})(Jr()),ta=l.default.div.withConfig({componentId:"sc-514de964-1"})(Xr(),p.spacing.m),ra=l.default.div.withConfig({componentId:"sc-514de964-2"})($r(),(0,p.getColorVarValue)("ipt-accent2-bg"));function aa(){var e=(0,a.Z)(["\n position: fixed;\n width: 100%;\n height: ",";\n z-index: 10;\n transition: top 0.2s;\n"]);return aa=function(){return e},e}function ia(){var e=(0,a.Z)(["\n body {\n padding-top: ",";\n }\n"]);return ia=function(){return e},e}var oa="56px",sa=function(){var e,n,t,r,a=(0,ee.B)().context,o=a.sidecar,s=a.weblabs,l=a.pageType,d=a.subPageType,u=(0,L.Z)((0,Fr.ZP)(),2)[1],p=c.useMemo((function(){return(0,Br.getActiveWeblabTreatmentStrings)(s)}),[s]),g=(0,c.useRef)(null),v=Wr();!function(e){var n,t,r,a=(0,ee.B)().context,o=a.sidecar,s=a.pageType,l=(0,f.useSnackbar)().sendSnack,d=(0,m.Z)(),u=s===U.PageType.NAME||s===U.PageType.TITLE,p=null===o||void 0===o||null===(n=o.localizationResponse)||void 0===n?void 0:n.isAutoTranslationEnabled,h=(null===o||void 0===o||null===(t=o.localizationResponse)||void 0===t?void 0:t.userLanguage)||"en",g=null===o||void 0===o||null===(r=o.localizationResponse)||void 0===r?void 0:r.userCountryCode,v=(0,Gr.ID)(ea),x=d.formatMessage({id:"common_settings",defaultMessage:"SETTINGS"}),_=d.formatMessage({id:"common_buttons_close",defaultMessage:"Close"}),b=d.formatMessage({id:"autotranslation_translationEnabled",defaultMessage:"Automatic translations are enabled."}),w=d.formatMessage({id:"autotranslation_translationBetaMessage",defaultMessage:"You are viewing a Beta experience of IMDb {displayLanguage}, available for entertainment fans in {country}."},{displayLanguage:Qr.Ri.get(h),country:d.formatMessage({id:"common_region_".concat(g),defaultMessage:g})}),y=d.formatMessage({id:"autotranslation_translationIndicatorMessage",defaultMessage:"This symbol {indicatorIcon} indicates the content was automatically translated."},{indicatorIcon:(0,i.jsx)(ra,{children:(0,i.jsx)(f.Icon,{name:"translate"})})});(0,c.useEffect)((function(){p&&!v&&u&&l({type:"manual",display:"stacked",htmlContent:{children:(0,i.jsxs)(na,{children:[(0,i.jsx)("span",{children:b}),(0,i.jsxs)(ta,{children:[(0,i.jsx)("span",{children:w}),(0,i.jsx)("span",{children:y})]})]})},textButtons:[{text:x,onClick:function(){var n;null===e||void 0===e||null===(n=e.current)||void 0===n||n.toggleVisibility(!0)}}],closeLabel:_,onClose:function(){(0,Gr._2)(ea,!0)}})}),[])}(g);var x=c.useContext(Vr.WatchlistContext),_=null===o||void 0===o||null===(e=o.localizationResponse)||void 0===e?void 0:e.languageForTranslations,y=void 0!==(null===o||void 0===o||null===(n=o.localizationResponse)||void 0===n?void 0:n.isAutoTranslationEnabled)?{enabled:o.localizationResponse.isAutoTranslationEnabled}:void 0,M=(0,G.getIsBrowser)()&&(0,K.getIsMdot)(window.location.hostname),j=(0,w.hg)({weblabID:b.lh.IMDB_NEXT_STICKY_NAVBAR_572745,treatments:{T1:!0}}),I=(0,Kr.x)(b.lh.IMDB_NEXT_DELAY_NAVBAR_QUERY_592650),T=(0,Kr.x)(b.lh.IMDB_AUTO_TRANSLATOR_613165),C=(0,Kr.x)(b.lh.IMDB_APT_METRICS_VALIDATION_738555),A=(0,c.useState)(0),k=A[0],N=A[1],E=(0,c.useState)(!0),S=E[0],P=E[1],Z=(0,c.useState)(),O=Z[0],R=Z[1],D=(0,Lr.debounce)((function(){var e=window.pageYOffset,n=Boolean(document.getElementById("imdbHeader__search-menu"));P(k>e&&k-e>10||e<100||n),N(e)}),100);return(0,c.useEffect)((function(){return window.addEventListener("scroll",D),function(){return window.removeEventListener("scroll",D)}}),[k,S,D]),(0,c.useEffect)((function(){R(window.location.pathname+window.location.search)}),[]),(0,i.jsx)(h.AU,{value:{cti:U.CTIS.NAVBAR_CTI},children:(0,i.jsxs)(ca,{shouldWrap:j,displayNav:S,children:[(0,i.jsx)(ua,{isInWeblab:j||!1}),(0,i.jsx)(z._,{featureId:"Nav"}),(0,i.jsx)(la,{flyoutMenuRef:g,isLoggedIn:null===o||void 0===o||null===(t=o.account)||void 0===t?void 0:t.isLoggedIn,username:null===o||void 0===o||null===(r=o.account)||void 0===r?void 0:r.userName,watchlistCount:x.state.watchlistCount,locale:_,currentUri:O,weblabs:p,service:Dr.ServiceName.Next,showLanguageSelector:!0,onLanguageSelectorChange:u,autoTranslation:y,onAutoTranslatorToggle:function(e){(0,Fr.b8)(e,{type:l,subType:d}),window.location.reload()},showCoachmark:!M,isInStickyNavWeblab:j,delayNavQueryWeblabTreatment:I,autoTranslatorWeblabTreatment:T,aptMetricsValidationWeblabTreatment:C,getProFlyoutModel:v})]})})},ca=function(e){var n=e.shouldWrap,t=e.displayNav,r=e.children;return n?(0,i.jsx)(da,{style:{top:t?"0":"-".concat(oa)},children:r}):r},la=c.memo(Rr.Nav),da=l.default.div.withConfig({componentId:"sc-6e7a1414-0"})(aa(),oa),ua=(0,l.createGlobalStyle)(ia(),(function(e){return e.isInWeblab?"".concat(oa," !important"):void 0})),fa=t(72779),pa=t.n(fa),ha=t(10924),ga=t(48543);function ma(){var e=(0,a.Z)(["\n mutation RVI_clear {\n clearRecentlyViewed\n }\n"]);return ma=function(){return e},e}function va(){var e=(0,a.Z)(["\n mutation RVI_TitleView($constId: ID!) {\n addToRecentlyViewedItems(input: { item: $constId }) {\n dateAdded\n id\n }\n }\n"]);return va=function(){return e},e}var xa=yn()(ma()),_a=yn()(va()),ba=t(40822),wa=t(50911),ya=t(65972),Ma=t(22414);function ja(){var e=(0,a.Z)(["\n && {\n h3 {\n padding-left: 0;\n\n ::before {\n display: none;\n }\n }\n }\n"]);return ja=function(){return e},e}var Ia=function(e){var n=e.actions,t=(0,m.Z)();return(0,i.jsx)(Ta,{"data-testid":"heading-rvi",actions:n,tag:"h3",children:t.formatMessage({id:"recentlyViewed_section_label_recentlyViewed",defaultMessage:"Recently viewed"})})},Ta=(0,l.default)(f.SubSectionTitle).withConfig({componentId:"sc-10b3b195-0"})(ja()),Ca=function(){return(0,i.jsxs)("div",{className:"rvi-clearing-section",children:[(0,i.jsx)(Ia,{}),(0,i.jsx)(Ma.ZP,{height:"feature"})]})};function Aa(){var e=(0,a.Z)(["\n display: flex;\n justify-content: space-between;\n padding: ",";\n padding: ",";\n"]);return Aa=function(){return e},e}var ka=function(e){var n=e.hasSessionId,t=(0,De.N)({id:"recentlyViewed_section_action_learnMore",defaultMessage:"Learn more."});return(0,i.jsx)(i.Fragment,{children:(0,i.jsxs)("div",{className:"rvi-empty-section",children:[(0,i.jsx)(Ia,{}),(0,i.jsx)(Na,{children:n?(0,i.jsx)("div",{"data-testid":"with-cookie-message",children:(0,i.jsx)(pe.q,{id:"recentlyViewed_section_label_noneRecentlyViewed",defaultMessage:"You have no recently viewed pages"})}):(0,i.jsxs)("div",{"data-testid":"without-cookie-message",children:[(0,i.jsx)(pe.q,{id:"recentlyViewed_section_label_needCookies",defaultMessage:"Please enable browser cookies to use this feature."}),"\xa0",(0,i.jsx)(f.TextLink,{href:"https://help.imdb.com/article/imdb/general-information/why-do-i-need-to-enable-my-cookies-on-imdb/GWE3JQ8VUQDCFW3Q?ref_=helpsrall#",text:t})]})})]})})},Na=l.default.span.withConfig({componentId:"sc-7aa44a1d-0"})(Aa(),(0,p.getSpacingVarValue)("ipt-pageMargin"),(0,p.getSpacingVar)("ipt-pageMargin")),Ea=t(2220),Sa=t(89254),Pa=t(77637),Za=function(e,n,t,r,a,i){var o=(0,Q.createLogger)()("RecentlyViewedItems-hrefByType");switch(e){case"Title":return"Poster"===a?"/title/".concat(n,"/?ref_=").concat(t,"_rvi_tt_i_").concat(r):"/title/".concat(n,"/?ref_=").concat(t,"_rvi_tt_t_").concat(r);case"Name":return"DisplayName"===a?"/name/".concat(n,"/?ref_=").concat(t,"_rvi_nm_t_").concat(r):"/name/".concat(n,"/?ref_=").concat(t,"_rvi_nm_i_").concat(r);default:return o.error("Unrecognized RVI item type received: ".concat(e)),"/find?q=".concat(i,"&ref_=").concat(t,"_rvi_").concat(r)}},Oa=function(e){var n=e.item,t=e.refMarker,r=e.index,a=e.onFocus,o=(0,m.Z)(),s=n.id,c=n.type,l=n.displayName,d=n.poster;t&&(t.suffix=r+1+"");var u,p=t||{},h=p.prefix,g=void 0===h?"":h,v=p.suffix,x=void 0===v?"":v,_=g||"",b=(0,Sa.K)({originalTitleText:l.originalTitleText,titleText:l.titleText});u=l.nameText?l.nameText:b;var w=(0,ee.B)().context,y=Za(c,s,_,x,"Poster",u),M=Za(c,s,_,x,"DisplayName",u),j=function(e,n,t){var r=function(e){switch(e){case"Title":return"recentlyViewed_card_ariaLabel_navigateTitle";case"Name":return"recentlyViewed_card_ariaLabel_navigateName";default:return"recentlyViewed_card_ariaLabel_searchFor"}}(n);return e.formatMessage({id:r,defaultMessage:t},{itemName:t})}(o,c,u),I={refTag:(0,Pa.z)("rvi_wl_rbn",{prefix:_,suffix:x}),pageType:w.pageType,subPageType:w.subPageType};return(0,i.jsx)(f.ShovelerItem,{span:2,className:"rvi-shoveler__item",onFocus:a,children:(0,i.jsx)("div",{children:(0,i.jsxs)(f.PosterCard,{dynamicWidth:!0,children:[(0,i.jsxs)(f.PosterCard.Poster,{ariaLabel:j,href:y,children:["Name"!==c&&(0,i.jsx)(Vr.WatchlistConsumer,{id:s,metricsContext:I,render:function(e){return(0,i.jsx)(f.Poster.WatchlistRibbon,(0,ue.Z)({size:"m"},e))}}),(0,i.jsx)(f.Poster.Image,(0,ue.Z)({},d))]}),(0,i.jsx)(f.PosterCard.Title,{href:M,lineClamp:1,children:u})]},s)})})},Ra=function(e){var n=e.itemModels,t=e.clearAllCallback,r=e.refMarker,a=e.trContext,o=(0,m.Z)(),s=function(){var e=(0,H.Z)((function(e){return(0,Y.__generator)(this,(function(n){return e.preventDefault(),t(),[2]}))}));return function(n){return e.apply(this,arguments)}}(),c=(null===r||void 0===r?void 0:r.prefix)?r.prefix+"_rvi":"",l=(null===r||void 0===r?void 0:r.prefix)?r.prefix+"_rvi_clr":"rvi_clr",d=o.formatMessage({id:"recentlyViewed_section_action_clearAll",defaultMessage:"Clear all"});return(0,i.jsxs)("div",{className:"rvi-populated-section",children:[(0,i.jsx)(Ia,{actions:(0,i.jsx)(f.TextButton,{onClick:function(e){s(e),(0,x.K8)(l,a,"clear-all",_.qB.ACTION_ONLY)},width:"half-padding","data-testid":"rvi-clear-all-btn",children:d})}),(0,i.jsx)(f.Shoveler,{wraps:!1,onPageChange:function(e){(0,Ea.B)(e,c,a.type,a.subType,a.id)},className:"rvi-shoveler",children:n.map((function(e,n){return(0,i.jsx)(Oa,{item:e,refMarker:r,index:n},n)}))})]})},Da=function(e){return void 0!==e.titleText||void 0!==e.originalTitleText},Ba=function(e){var n,t,r,a=e.__typename,i=e.id,o=e.primaryImage,s=function(e){var n,t,r,a;return Da(e)?(t=e.titleText,r=e.originalTitleText):n=null===(a=e.nameText)||void 0===a?void 0:a.text,{titleText:t,originalTitleText:r,nameText:n}}(e),c="Name"===a?"name":"unknown";return{id:i,displayName:s,poster:{imageType:Da(e)?null===(n=e.titleType)||void 0===n?void 0:n.id:c,imageModel:o&&o.url&&o.height&&o.width&&{caption:null!==(r=null===(t=o.caption)||void 0===t?void 0:t.plainText)&&void 0!==r?r:i,url:o.url,maxHeight:o.height,maxWidth:o.width}||void 0,dynamicAspectRatio:!1},type:a}};function La(){var e=(0,a.Z)(["\n query RVI_Items($count: Int!) {\n recentlyViewedItems(first: $count) {\n edges {\n node {\n __typename\n ... on Name {\n id\n nameText {\n text\n }\n primaryImage {\n caption {\n plainText\n }\n url\n height\n width\n }\n }\n ... on Title {\n id\n titleText {\n text\n }\n titleType {\n id\n }\n originalTitleText {\n text\n }\n titleType {\n id\n }\n primaryImage {\n type\n caption {\n plainText\n }\n url\n height\n width\n }\n }\n }\n }\n }\n }\n"]);return La=function(){return e},e}function Va(){var e=(0,a.Z)(["\n ","\n"]);return Va=function(){return e},e}var qa=yn()(La()),za=function(e){var n,t,r,a,o,s=e.csmOnLoadHandler,l=e.csaOnLoadHandler,d=e.cel_widget_id,u=e.className,p=function(){var e=(0,L.Z)((0,ga.Z)(xa,{requireAuth:!1}),2),n=e[0],t=e[1];return{clearRecentlyViewedItems:{clearRecentlyViewedResult:n,clearRecentlyViewedAction:function(){return t({variables:void 0})}}}}().clearRecentlyViewedItems,g=function(){var e=(0,L.Z)((0,ga.Z)(_a,{requireAuth:!1}),2),n=e[0],t=e[1];return{recordRecentlyViewedItems:{recordRecentlyViewedResult:n,recordRecentlyViewedAction:function(e){return t({constId:e})}}}}().recordRecentlyViewedItems,m=!!(0,te.s)(),v=(0,ya.y5)((function(e){return e.trackQuery})),b=(0,ee.B)().context,w=b.pageType,y=b.pageConst,M=b.subPageType,j=b.refTagPrefix,I=y||j?{id:y,prefix:j}:void 0,T={type:w,subType:M||"",id:y},C=!(w!==U.PageType.TITLE||!y),A=!(w!==U.PageType.NAME||!y),k=(0,ba.H)(),N=(0,L.Z)((0,mt.E)({query:qa,variables:{count:15},context:{personalized:!0,serverSideCacheable:!1},pause:!(0,G.getIsBrowser)()||C||!m||!k}),2),E=N[0],S=N[1];(0,wa.LQ)(E,s,l),(0,c.useEffect)((function(){(C||A)&&m&&k&&!E.data&&g.recordRecentlyViewedAction(y).then((function(){return S({requestPolicy:"network-only"})}))}),[w,k]),(0,c.useEffect)((function(){v(null===g||void 0===g?void 0:g.recordRecentlyViewedResult)}),[null===g||void 0===g||null===(n=g.recordRecentlyViewedResult)||void 0===n?void 0:n.data]);var P=null===(t=p.clearRecentlyViewedResult)||void 0===t||null===(r=t.data)||void 0===r?void 0:r.clearRecentlyViewed,Z=p.clearRecentlyViewedResult.fetching,O=(0,ha.b)(null===(a=E.data)||void 0===a||null===(o=a.recentlyViewedItems)||void 0===o?void 0:o.edges).map((function(e){return Ba(e)})),R=function(){var e=(0,H.Z)((function(){return(0,Y.__generator)(this,(function(e){return w&&(0,x.ar)(T,"clear-all",_.qB.ACTION_ONLY),p.clearRecentlyViewedAction(),[2]}))}));return function(){return e.apply(this,arguments)}}(),D=pa()("recently-viewed-items",u);return(0,i.jsx)(h.AU,{value:{cti:U.CTIS.PERSONALIZATION_CTI},children:(0,i.jsx)(wa.Lz,{componentId:re.NG.RecentlyViewedItems,children:(0,i.jsx)(Ua,{className:"recently-viewed",children:(0,i.jsx)(f.SetPalette,{palette:"dark",children:(0,i.jsxs)(f.PageSection,{baseColor:"none","data-testid":d,className:D,children:[Z&&(0,i.jsx)(Ca,{}),!Z&&(P||0===O.length)&&(0,i.jsx)(ka,{hasSessionId:m}),!Z&&!P&&O.length>0&&(0,i.jsx)(Ra,{itemModels:O,clearAllCallback:R,refMarker:I,trContext:T})]})})})})})},Ua=l.default.div.withConfig({componentId:"sc-7f8be4ff-0"})(Va(),(0,p.setTypographyType)("body")),Ha=t(69470),Ya=t(57531),Wa=t(57559),Fa=t(21450),Ka=t(3227);var Ga="\n :root, html {\n --ipt-font-family: 'Ember', Helvetica, Arial, sans-serif;\n\n --ipt-base-rgb: 245,245,245;\n --ipt-base-shade1-rgb: 245,245,245;\n --ipt-base-shade2-rgb: 245,245,245;\n --ipt-base-shade3-rgb: 245,245,245;\n \n --ipt-on-base-rgb: 0,0,0;\n --ipt-on-base-accent1-rgb: 14,99,190;\n --ipt-on-base-accent2-rgb: 14,99,190;\n \n --ipt-baseAlt-rgb: 245,245,245;\n --ipt-baseAlt-shade1-rgb: 245,245,245;\n --ipt-baseAlt-shade2-rgb: 240,240,240;\n --ipt-baseAlt-shade3-rgb: 240,240,240;\n \n --ipt-on-baseAlt-rgb: 0,0,0;\n --ipt-on-baseAlt-accent1-rgb: 14,99,190;\n --ipt-on-baseAlt-accent2-rgb: 14,99,190;\n \n --ipt-accent1-rgb: 14,99,190;\n --ipt-on-accent1-rgb: 255,255,255;\n\n --ipt-accent2-rgb: 14,99,190;\n --ipt-on-accent2-rgb: 255,255,255;\n }\n",Qa="\n :root, html {\n --ipt-base-rgb: ".concat((0,p.getColorVarValue)("ipt-baseAlt-rgb"),";\n --ipt-base-shade1-rgb: ").concat((0,p.getColorVarValue)("ipt-baseAlt-shade1-rgb"),";\n --ipt-base-shade2-rgb: ").concat((0,p.getColorVarValue)("ipt-baseAlt-shade2-rgb"),";\n --ipt-base-shade3-rgb: ").concat((0,p.getColorVarValue)("ipt-baseAlt-shade3-rgb"),";\n \n --ipt-on-base-rgb: ").concat((0,p.getColorVarValue)("ipt-on-baseAlt-rgb"),";\n }\n"),Ja="\n :root, html {\n --ipt-baseAlt-rgb: ".concat((0,p.getColorVarValue)("ipt-base-rgb"),";\n --ipt-baseAlt-shade1-rgb: ").concat((0,p.getColorVarValue)("ipt-base-shade1-rgb"),";\n --ipt-baseAlt-shade2-rgb: ").concat((0,p.getColorVarValue)("ipt-base-shade2-rgb"),";\n --ipt-baseAlt-shade3-rgb: ").concat((0,p.getColorVarValue)("ipt-base-shade3-rgb"),";\n \n --ipt-on-baseAlt-rgb: ").concat((0,p.getColorVarValue)("ipt-on-base-rgb"),";\n }\n"),Xa="\n :root, html {\n --ipt-font-family: 'Comic Sans MS', 'Comic Sans', cursive;\n\n --ipt-base-rgb: 245, 240, 240;\n --ipt-base-shade1-rgb: 245,245,245;\n --ipt-base-shade2-rgb: 245,245,245;\n --ipt-base-shade3-rgb: 245,245,245;\n \n --ipt-on-base-rgb: 0,0,0;\n --ipt-on-base-accent1-rgb: 206, 28, 126;\n --ipt-on-base-accent2-rgb: 206, 28, 126;\n \n --ipt-baseAlt-rgb: 245, 240, 240;\n --ipt-baseAlt-shade1-rgb: 245,245,245;\n --ipt-baseAlt-shade2-rgb: 240,240,240;\n --ipt-baseAlt-shade3-rgb: 240,240,240;\n \n --ipt-on-baseAlt-rgb: 0,0,0;\n --ipt-on-baseAlt-accent1-rgb: 206, 28, 126;\n --ipt-on-baseAlt-accent2-rgb: 206, 28, 126;\n \n --ipt-accent1-rgb: 206, 28, 126;\n --ipt-on-accent1-rgb: 255,255,255;\n\n --ipt-accent2-rgb: 206, 28, 126;\n --ipt-on-accent2-rgb: 255,255,255;\n }\n";function $a(){var e=(0,a.Z)(["\n *, *::before, *::after {\n box-sizing: border-box;\n }\n\n html {\n scroll-behavior: smooth;\n background: rgb(0 0 0);\n background: ",";\n }\n \n ","\n\n ","\n\n\n /* Client-Side Navigation progress bar styles */\n #nprogress {\n pointer-events: none;\n display: ",";\n\n .bar {\n ",";\n position: fixed;\n z-index: 99999;\n top: 0;\n left: 0;\n width: 100%;\n height: 2px;\n }\n\n .peg {\n display: block;\n position: absolute;\n right: 0;\n width: 100px;\n height: 100%;\n box-shadow: \n 0 0 10px ",",\n 0 0 5px ",";\n opacity: 1.0;\n transform: rotate(3deg) translate(0, -4px);\n }\n }\n"]);return $a=function(){return e},e}var ei=(0,l.createGlobalStyle)($a(),(0,p.getColorVarValue)("ipt-baseAlt-bg"),(function(e){return function(e,n){var t;switch(n?r.Pro:e){case r.Pro:t=Ga;break;case r.Dark:t=Qa;break;case r.Light:t=Ja;break;case r.Barbie:t=Xa;break;case r.Default:t=""}return t}(e.selectedTheme,e.isProPage)}),Ka.ZP,(function(e){return e.hideNavigationProgressBar?"none":"initial"}),(0,p.setPropertyToColorVar)("background","ipt-accent1-bg"),(0,p.getColorVarValue)("ipt-accent1-bg"),(0,p.getColorVarValue)("ipt-accent1-bg"));function ni(){var e=(0,a.Z)(["\n position: relative;\n"]);return ni=function(){return e},e}function ti(){var e=(0,a.Z)(["\n ","\n"]);return ti=function(){return e},e}var ri=function(e){var n=(0,ee.B)().context,t=(0,c.useState)(r.Default),a=t[0],s=t[1],p=(0,w.hg)({weblabID:b.lh.IMDB_NEXT_EXPERIMENT_ROUNDED_CORNERS_917766,treatments:{T1:!0}}),m=(0,Fa.w)(n.requestUri),v=m?kr:sa,x=m?Ae:de,_=(0,w.hg)({weblabID:b.lh.IMDB_ADS_FREEDONIA_DATECHECK_872970,treatments:{T1:!0}});return(0,c.useEffect)((function(){(0,ae.ap)(re.xD.LOAD,re.yS.MOUNT_REACT_JS),(0,ae.ap)(re.xD.FUNCTIONAL),(0,o.insertCSAWidgetLoad)(re.yS.MOUNT_REACT_JS,Date.now())}),[]),(0,i.jsx)(Wa.Z,{name:"BaseLayout",parent:"Page",showErrorMessage:!0,children:(0,i.jsx)(h.AU,{value:{cti:e.cti},children:(0,i.jsx)(u.PLAIDProvider,{experiments:{roundedButtons:p,roundedMedia:p},children:(0,i.jsxs)(l.StyleSheetManager,{enableVendorPrefixes:!0,shouldForwardProp:oi,children:[(0,i.jsx)(g.B,{}),!(e.hideNav||(null===n||void 0===n?void 0:n.isIMDbAppWebView))&&(0,i.jsx)(v,{}),e.prePageWrapper,(0,i.jsxs)(f.PageWrapper,{baseColor:e.baseColor,children:[(0,i.jsx)(ei,{hideNavigationProgressBar:!!e.hideNavigationProgressBar,isProPage:m,selectedTheme:a}),!e.hideAdWrap&&(0,i.jsx)(d.AdWrapBackground,{}),(0,i.jsx)(ai,{orientContent:e.orientContent,className:e.className,children:e.children})]}),!(e.hideFooter||(null===n||void 0===n?void 0:n.isIMDbAppWebView))&&(0,i.jsxs)(Ya.ZP,{children:[!e.hideRecentlyViewedItems&&(0,i.jsx)(f.SetPalette,{palette:"dark",children:(0,i.jsx)(ii,{children:(0,i.jsxs)(f.PageContentContainer,{children:[(0,i.jsx)(za,{}),(0,i.jsx)(Ha.ZP,{name:d.AD_SLOT_NAMES.INLINEBOTTOM})]})})}),(0,i.jsx)(P,{selectedTheme:a,setSelectedTheme:s}),(0,i.jsx)(x,{})]}),(0,i.jsx)(d.FreedoniaPreview,{isInFreedoniaDateCheckWeblab:_}),(0,i.jsx)(d.AdFeedbackModal,{}),(0,i.jsx)(D,{})]})})})})},ai=(0,l.default)(f.PageContentContainer).withConfig({componentId:"sc-ff51388a-0"}).withConfig({componentId:"sc-55ef8b16-0"})(ni()),ii=(0,l.default)(f.PageBackground).withConfig({componentId:"sc-ff51388a-1"}).withConfig({componentId:"sc-55ef8b16-1"})(ti(),(0,p.lockColorVariables)());function oi(e,n){return"string"!==typeof n||(0,s.Z)(e)}},69470:function(e,n,t){t.d(n,{QW:function(){return v},zo:function(){return m}});var r=t(66383),a=t(92228),i=t(52322),o=t(2784),s=t(19596),c=t(15907),l=t(45103),d=t(46315),u=t(91842),f=t(57531);function p(){var e=(0,a.Z)(["\n "," {\n display: none;\n }\n"]);return p=function(){return e},e}function h(){var e=(0,a.Z)(["\n display: none;\n "," {\n display: block;\n }\n"]);return h=function(){return e},e}var g=function(e){var n,t,a=(0,l.useBreakpointsAsConfig)(),s=(0,f.Ok)().adSlotsInfo,u=o.useContext(d.Theme),p=(0,r.Z)(o.useState(!1),2),h=p[0],g=p[1];o.useEffect((function(){var n=a.l||a.xl,t=a.m||a.s||a.xs;g(!!(e.onlyShowAtLargePlusBreakpoints&&!n||e.onlyShowAtMediumMinusBreakpoints&&!t))}),[a]);var m=c.NasTheme[null===u||void 0===u||null===(n=u.palette)||void 0===n||null===(t=n.name)||void 0===t?void 0:t.toUpperCase()],v=e.nasConfig||{classNames:[c.NasClassNames.SPACING],isNasSlot:!0};return"undefined"!==typeof v.isNasSlot&&null!==v.isNasSlot||(v.isNasSlot=!0),v.classNames?v.classNames.includes(c.NasClassNames.SPACING)||v.classNames.push(c.NasClassNames.SPACING):v.classNames=[c.NasClassNames.SPACING],!v.theme&&m&&(v.theme=m),h?null:(0,i.jsx)(c.NonContextualAdSlot,{adSlotsInfo:s,slotName:e.name,nasConfig:v})};n.ZP=g;var m=(0,s.default)(g).withConfig({componentId:"sc-cdd61c19-0"})(p(),u.mediaQueries.breakpoints.above.l),v=(0,s.default)(g).withConfig({componentId:"sc-cdd61c19-1"})(h(),u.mediaQueries.breakpoints.above.l)},57531:function(e,n,t){t.d(n,{Ok:function(){return f}});var r=t(52322),a=t(11778),i=t(70314),o=t.n(i),s=t(2784),c=t(21396),l=t(2366),d=t(98621),u=s.createContext({});function f(){return s.useContext(u)}n.ZP=function(e){var n=e.children,t=e.adSlotsInfoOverrides,i=o()().publicRuntimeConfig.adsPublicSiteHost,s=(0,c.D)(),f=t||s;if((0,a.isDevNodeEnv)()&&i&&!t){var p=f.clientSideUrl;f.clientSideUrl=i+(null===p||void 0===p?void 0:p.slice(p.indexOf("_")-1))}var h={adSlotsInfo:f},g=(0,d.ez)(l.lh.IMDB_ADS_SPLIT_AD_CALL_EXPERIMENT),m=void 0!==g&&!g.C;return(0,r.jsxs)(r.Fragment,{children:[m?(0,r.jsx)("div",{id:l.lh.IMDB_ADS_SPLIT_AD_CALL_EXPERIMENT,"data-timeout":function(){if(void 0!==g){var e=Object.keys(g)[0];return 500*Number(e.substring(1))}return 0}()}):null,(0,r.jsx)(u.Provider,{value:h,children:n})]})}},54743:function(e,n,t){t.d(n,{_:function(){return c}});var r=t(52322),a=(t(2784),t(9113)),i=t(40133),o=t(56841),s=t(31013),c=function(e){var n=e.featureId,t=(0,a.Z)(),c=(0,i.iG)(),l=c.cti,d=c.dataCti;return t?(0,r.jsxs)(o.T,{children:["Feature: ",n,l&&(0,r.jsxs)("span",{children:[(0,r.jsx)("br",{}),"Owner CTI: ",(0,r.jsx)(s.g,{cti:l})]}),d&&(0,r.jsxs)("span",{children:[(0,r.jsx)("br",{}),"Data issue? Use CTI: ",(0,r.jsx)(s.g,{cti:d})]})]}):null}},42591:function(e,n,t){t.d(n,{F:function(){return o}});var r=t(52322),a=(t(2784),t(45103)),i=t(81303),o=function(e){var n=e.className;return(0,r.jsx)(a.EmptyStateSection,{className:n,children:(0,r.jsx)(i.q,{id:"error_network_message",defaultMessage:"We are unable to load this content at this time. Please refresh the page or try again later."})})}},22414:function(e,n,t){t.d(n,{lI:function(){return m}});var r=t(70865),a=t(96670),i=t(92228),o=t(52322),s=t(72779),c=t.n(s),l=t(17620),d=t.n(l),u=(t(2784),t(19596)),f=t(45103);function p(){var e=(0,i.Z)(["\n width: 100%;\n position: relative;\n\n &.height-page {\n height: 50vh;\n }\n\n &.height-feature {\n height: 20rem;\n }\n"]);return p=function(){return e},e}function h(){var e=(0,i.Z)(["\n margin: auto;\n position: absolute;\n top: 0;\n right: 0;\n bottom: 0;\n left: 0;\n"]);return h=function(){return e},e}var g="loader",m=function(e){var n=e.height,t="number"===typeof n?{height:n}:void 0,i="string"===typeof n?c()("height-".concat(n)):void 0,s=d()(e,["height"]);return(0,o.jsx)(v,(0,a.Z)((0,r.Z)({"data-testid":g,style:t,className:i},s),{children:(0,o.jsx)(x,{})}))},v=u.default.div.withConfig({componentId:"sc-b6f25f39-0"})(p()),x=(0,u.default)(f.Loader).withConfig({componentId:"sc-b6f25f39-1"})(h());n.ZP=m},57559:function(e,n,t){var r=t(90581),a=t(21218),i=t(70865),o=t(92228),s=t(31265),c=t(52322),l=t(11778),d=t(14865),u=t(16189),f=t(2784),p=t(19596),h=t(42591),g=t(25436),m=t(25140),v=t(34889);function x(){var e=(0,o.Z)(["\n && {\n margin-top: 25vh;\n }\n"]);return x=function(){return e},e}n.Z=function(e){return(0,m.B)().context.isSsrPrepass?(0,c.jsx)(c.Fragment,{children:e.children}):(0,c.jsx)(_,(0,i.Z)({},e))};var _=function(e){(0,a.Z)(t,e);var n=(0,s.Z)(t);function t(e,a){var i;(0,r.Z)(this,t),i=n.call(this,e);var o=e.parent,s=e.name,c=a.context;return i.logName=["Catch",o,s].filter(Boolean).join("::"),i.LOG=(0,u.createLogger)(c)(i.logName),i.state={error:void 0},i}var i=t.prototype;return i.componentDidCatch=function(e,n){this.LOG.error({error:e.toString()},n),(0,d.getIsNode)()||(0,v.cY)({metricName:g.NextClientMetrics.CATCH_COMPONENT_ERROR,unit:g.Unit.COUNT,value:1,pageType:this.context.context.pageType,subPageType:this.context.context.subPageType,time:(new Date).getTime(),dimensions:[{name:this.logName}]})},i.render=function(){var e=this.props,n=e.showErrorMessage,t=e.children,r=this.state.error;return r&&!n?null:(0,c.jsxs)(c.Fragment,{children:[r&&n&&(0,c.jsx)(b,{}),r&&n&&(0,l.isDevNodeEnv)()&&(0,c.jsxs)("pre",{style:{color:"#FF5555",fontSize:20,overflow:"auto"},children:["Render Failed: ",r.message," ",r.stack]}),!r&&t]})},t.getDerivedStateFromError=function(e){return{error:e}},t}(f.Component);_.contextType=m.fH;var b=(0,p.default)(h.F).withConfig({componentId:"sc-ebcc9396-0"})(x())},38003:function(e,n,t){t.d(n,{AI:function(){return a},G7:function(){return o},KL:function(){return i},Ri:function(){return s}});var r=t(76510),a="QID4",i=(0,r.vU)({submit:{id:"common_submit",defaultMessage:"Submit"},feedbackHelpful:{id:"feedback_translation_helpful",defaultMessage:"Is this translation helpful?"},feebackOpenPrompt:{id:"feedback_translation_open_prompt",defaultMessage:"Automatic translation on. Open original and give feedback."},feedbackSuccess:{id:"feedback_translation_submission_success",defaultMessage:"Thank you for your feedback!"},feedbackQuestion:{id:"feedback_translation_question",defaultMessage:"Give more feedback:"},feedbackAnswerOption1:{id:"feedback_translation_answer_option1",defaultMessage:"I do not understand the translation."},feedbackAnswerOption2:{id:"feedback_translation_answer_option2",defaultMessage:"The translation has a different meaning from the original content."},feedbackAnswerOption3:{id:"feedback_translation_answer_option3",defaultMessage:"The translation is offensive."},feedbackAnswerOption4:{id:"feedback_translation_answer_option4",defaultMessage:"The tranlsation uses wrong pronouns."},feedbackAnswerOption5:{id:"feedback_translation_answer_option5",defaultMessage:"I could write a better translation than this."},feedbackAnswerOption6:{id:"feedback_translation_answer_option6",defaultMessage:"I am fluent in English and prefer to see the original content."},feedbackAnswerOption7:{id:"feedback_translation_answer_option7",defaultMessage:"I do not like the original content."},feedbackAnswerOption8:{id:"feedback_translation_answer_option8",defaultMessage:"Other"},feedbackAnswerOption9:{id:"feedback_translation_answer_option9",defaultMessage:"The translation has grammatical errors."},translationPreview:{id:"translations_preview",defaultMessage:"This text was automatically translated from English."},showLess:{id:"common_show_less",defaultMessage:"Show less"},showMore:{id:"common_show_more",defaultMessage:"Show more"}}),o={question:{id:"QID5",text:i.feedbackQuestion},choices:[{id:"1",text:i.feedbackAnswerOption1},{id:"2",text:i.feedbackAnswerOption2},{id:"9",text:i.feedbackAnswerOption9},{id:"3",text:i.feedbackAnswerOption3},{id:"4",text:i.feedbackAnswerOption4},{id:"5",text:i.feedbackAnswerOption5},{id:"6",text:i.feedbackAnswerOption6},{id:"7",text:i.feedbackAnswerOption7},{id:"8",text:i.feedbackAnswerOption8}]},s=new Map([["fr-CA","Fran\xe7ais"],["fr-FR","Fran\xe7ais"],["de-DE","Deutsch"],["hi-IN","\u0939\u093f\u0902\u0926\u0940"],["it-IT","Italiano"],["pt-BR","Portugu\xeas"],["es-ES","Espa\xf1ol"],["es-MX","Espa\xf1ol"]])},81303:function(e,n,t){t.d(n,{q:function(){return o}});var r=t(70865),a=t(52322),i=(t(2784),t(97901)),o=function(e){return(0,a.jsx)(i.Z,(0,r.Z)({},e))}},52828:function(e,n,t){t.d(n,{LU:function(){return f},dR:function(){return u}});var r,a,i=t(47842),o=t(42838),s="formatters_duration";!function(e){e.SECOND="second",e.MINUTE="minute",e.HOUR="hour",e.DAY="day",e.WEEK="week",e.MONTH="month",e.YEAR="year"}(r||(r={}));var c=(a={},(0,i.Z)(a,r.SECOND,(function(){return 1e3})),(0,i.Z)(a,r.MINUTE,(function(){return 60*c[r.SECOND]()})),(0,i.Z)(a,r.HOUR,(function(){return 60*c[r.MINUTE]()})),(0,i.Z)(a,r.DAY,(function(){return 24*c[r.HOUR]()})),(0,i.Z)(a,r.WEEK,(function(){return 7*c[r.DAY]()})),(0,i.Z)(a,r.MONTH,(function(){return 4.35*c[r.WEEK]()})),(0,i.Z)(a,r.YEAR,(function(){return 12*c[r.MONTH]()})),a),l=function(e,n,t,r){var a=c[t](),i=r&&c[r](),o=0;return(r?n=2*a:n>=2*a)?o=Math.floor(n/a):n<2*a&&n>=a&&(o=1),o?e.formatMessage({id:"".concat(s,"_").concat(t),defaultMessage:"{count, plural, one {1 ".concat(t,"} other {{count} ").concat(t,"s}}")},{count:o}):""},d=function(e){return(0,o.Z)(e,Date)&&!isNaN(e.getTime())},u=function(e,n,t){var r=t?new Date(t):new Date,a=new Date(n);return f(e,a,r)},f=function(e,n,t){if(!d(t)||!d(n))return"";var a=t.getTime()-n.getTime();return a>=c[r.YEAR]()?l(e,a,r.YEAR):a=c[r.MONTH]()?l(e,a,r.MONTH,r.YEAR):a=c[r.WEEK]()?l(e,a,r.WEEK,r.MONTH):a=c[r.DAY]()?l(e,a,r.DAY,r.WEEK):a=c[r.HOUR]()?l(e,a,r.HOUR,r.DAY):a=c[r.MINUTE]()?l(e,a,r.MINUTE,r.HOUR):a=c[r.SECOND]()?l(e,a,r.SECOND,r.MINUTE):a1&&void 0!==arguments[1]?arguments[1]:i.qB.ACTION_ONLY,t=arguments.length>2?arguments[2]:void 0,o=(0,r.B)().context,s=o.pageType,c=o.subPageType,l=o.pageConst,d={type:s,subType:c,id:l};return function(){return(0,a.ar)(d,e,n,t)}}},43955:function(e,n,t){t.d(n,{d:function(){return a}});var r=t(2784),a=function(e,n){(0,r.useEffect)((function(){if(!n)return document.addEventListener("visibilitychange",e,!1),function(){document.removeEventListener("visibilitychange",e)}}),[n,e])}},50911:function(e,n,t){t.d(n,{Lz:function(){return _},wW:function(){return x},LQ:function(){return b}});var r=t(52322),a=t(66898),i=t(2784),o=t(54743),s=t(70865),c=t(96670),l=t(72779),d=t.n(l),u=t(20701),f=t(87206),p=!1;function h(){p||((0,u.P)("CSADoesNotExist"),p=!0)}var g=function(e){var n=e.componentId,t=e.children,r="".concat(f._B.STATIC_FEATURE,"_").concat(n),a=Date.now();return(0,i.useEffect)((function(){if(window.csa){var e=window.csa(f.Up.CONTENT,{element:{slotId:r,type:"widget"}});e(f.Up.MARK,f.wL.WIDGET_BEGIN,a),e(f.Up.MARK,f.wL.WIDGET_END,Date.now()),e(f.Up.MARK,f.wL.LOADED,Date.now())}else h()}),[]),i.cloneElement(t,(0,c.Z)((0,s.Z)({},t.props),{className:d()(t.props.className,f.So),cel_widget_id:r}))},m=function(e){var n=e.csmOnLoadHandler,t=e.componentId,r=e.children,a="".concat(f._B.DYNAMIC_FEATURE,"_").concat(t),o=Date.now();(0,i.useEffect)((function(){var e=Date.now();if(window.csa){var n=window.csa(f.Up.CONTENT,{element:{slotId:a,type:"widget"}});n(f.Up.MARK,f.wL.WIDGET_BEGIN,o),n(f.Up.MARK,f.wL.WIDGET_END,e)}else h()}),[]);var l=(0,i.useCallback)((function(){(null===window||void 0===window?void 0:window.csa)?window.csa(f.Up.CONTENT,{element:{slotId:a,type:"widget"}})(f.Up.MARK,f.wL.LOADED,Date.now()):h()}),[a]);return i.cloneElement(r,(0,c.Z)((0,s.Z)({},r.props),{csmOnLoadHandler:n,className:d()(r.props.className,f.So),cel_widget_id:a,csaOnLoadHandler:l}))},v=t(94443),x=function(e){var n=e.componentId,t=e.children;return(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(o._,{featureId:n}),(0,r.jsx)(v.eC,{componentId:n,children:(0,r.jsx)(a.CSAStaticWidgetComponentWrapper,{componentId:n,children:(0,r.jsx)(g,{componentId:n,children:t})})})]})},_=function(e){var n=e.children,t=e.componentId;return(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(o._,{featureId:t}),(0,r.jsx)(v.I$,{componentId:t,children:(0,r.jsx)(a.CSADynamicWidgetComponentWrapper,{componentId:t,children:(0,r.jsx)(m,{componentId:t,children:n})})})]})},b=function(e,n,t){(0,i.useEffect)((function(){e.fetching||e.error||!e.data||(n&&n(),t&&t())}),[e])}},6488:function(e,n,t){t.d(n,{ID:function(){return o},_2:function(){return i},dZ:function(){return a}});var r=t(14865);function a(e){if(r.isBrowser)try{window.localStorage.removeItem(e)}catch(n){console.warn("localStorage is not enabled on this device",n)}}function i(e,n){!function(e,n){if(r.isBrowser)try{window.localStorage.setItem(e,n)}catch(t){console.warn("localStorage is not enabled on this device",t)}}(e,JSON.stringify(n))}function o(e){var n=function(e){if(!r.isBrowser)return null;try{return window.localStorage.getItem(e)}catch(n){return console.warn("localStorage is not enabled on this device",n),null}}(e);return null===n?null:JSON.parse(n)}},11992:function(e,n,t){t.d(n,{QJ:function(){return a},qB:function(){return r}});var r,a,i,o=t(47842);!function(e){e.ACTION_ONLY="actionOnly",e.REDIRECT="redirect",e.PAGE_HIT="pageHit",e.POP_UP="popUp"}(r||(r={})),function(e){e.SHOV_PREV_CLICK="prev-button-click",e.SHOV_NEXT_CLICK="next-button-click",e.TAB_SELECT="tab-select",e.PAGINATION_PREV="pagination-prev",e.PAGINATION_NEXT="pagination-next",e.PAGINATION_ERROR="pagination-error",e.PAGINATION_ERROR_AND_DATA="pagination-err-data",e.USER_RATING="urate"}(a||(a={})),function(e){e.PRO="pro.imdb.com"}(i||(i={}));var s,c;!function(e){e.AMAZON_US="amazon.com",e.AMAZON_GB="amazon.co.uk",e.AMAZON_DE="amazon.de",e.AMAZON_FR="amazon.fr",e.AMAZON_CA="amazon.ca",e.AMAZON_IN="amazon.in",e.AMAZON_IT="amazon.it",e.AMAZON_ES="amazon.es",e.AMAZON_JP="amazon.co.jp"}(s||(s={}));c={},(0,o.Z)(c,s.AMAZON_US,"-20"),(0,o.Z)(c,s.AMAZON_GB,"-21"),(0,o.Z)(c,s.AMAZON_DE,"_de-21"),(0,o.Z)(c,s.AMAZON_FR,"_fr-21"),(0,o.Z)(c,s.AMAZON_CA,"_ca-20"),(0,o.Z)(c,s.AMAZON_IN,"_in-21"),(0,o.Z)(c,s.AMAZON_IT,"_it-21"),(0,o.Z)(c,s.AMAZON_ES,"_es-21"),(0,o.Z)(c,s.AMAZON_JP,"_jp-22")},21495:function(e,n,t){t.d(n,{j:function(){return s}});var r=t(90581),a=t(70865),i=t(96670),o=t(25436),s=function(){function e(n){var t;(0,r.Z)(this,e),this._data={},this._context={pageType:n.requestContext.pageType,subPageType:n.requestContext.subPageType,pageConst:n.requestContext.pageConst,requestId:null===(t=n.requestContext.headers)||void 0===t?void 0:t["x-amz-rid"]}}var n=e.prototype;return n.set=function(e){var n=this;(Array.isArray(e)?e:[e]).forEach((function(e){n._data[e.metricName]=(0,a.Z)({},n._context,e),e.time||(n._data[e.metricName].time=(new Date).getTime()),e.unit||(n._data[e.metricName].unit=o.Unit.NONE)}))},n.increment=function(e,n,t){var r=this.get(e);r||(r=(0,i.Z)((0,a.Z)({},this._context),{metricName:e,value:0,unit:o.Unit.COUNT,time:(new Date).getTime()})),r.value=r.value+(n||1),t&&(r=(0,a.Z)({},r,t)),this.set(r)},n.get=function(e){return this._data[e]},n.getMetricValue=function(e){var n;return null===(n=this.get(e))||void 0===n?void 0:n.value},n.serialize=function(){return Object.values(this._data)},e}()},2220:function(e,n,t){t.d(n,{B:function(){return i}});var r=t(11992),a=t(95460),i=function(e,n,t,i,o){var s=(0,a.yY)(e.lastPageIndex,e.currentPageIndex,n,t,i,o),c=s.pageAction,l=s.refMarker,d=s.context;c&&(0,a.K8)(l,d,c,r.qB.ACTION_ONLY)}},65972:function(e,n,t){t.d(n,{oZ:function(){return r},y5:function(){return o}});var r,a=t(12294);!function(e){e.COMPLETED="completed",e.NOT_STARTED="not started",e.ERROR="error",e.LOADING="loading"}(r||(r={}));var i=function(e){return e.data?r.COMPLETED:e.error?r.ERROR:e.fetching?r.LOADING:r.NOT_STARTED},o=(0,a.Ue)((function(e,n){return{status:r.NOT_STARTED,trackQuery:function(n){e((function(){return{status:i(n)}}))}}}))}}]);