PageSourceSearch

https://cdn.hailuoai.video/open-hailuo-video-web/prod-en-0.1.876/_next/static/chunks/12.8bcb87b1778b0c74.js

js hailuoai.video collected 2026-10-02 03:27:43 UTC 24,500 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[12,8144],{98144:function(e,a,n){"use strict";n.d(a,{O:function(){return t}});let t=(0,n(88661).createContext)(!1)},60012:function(e,a,n){"use strict";n.r(a),n.d(a,{default:function(){return B}});var t=n(77804),i=n(85749),l=n(88661),r=n(47117),s=n(28394),o=n(61028),d=n(74656),c=n(41171),_=n(11719),u=n(26015),m=n(12936),h=n(44007),p=n(29219),y=n(26770),f=n(32095),g=n(21261),v=n(78846),x=n.n(v);function w(e){let{photoMode:a,locale:n}=e,i=(0,g.JG)(n);return(0,t.jsxs)("div",{className:x().modeNote,children:[(0,t.jsx)(f.JO,{}),i("DEFERRED"===a||"GENERIC"===a?"ad_landing_you_skipped_photo_selection_for_now_upload_a_photo_after":"ad_landing_you_selected_a_photo_it_will_be_uploaded_and_reviewed")]})}var j=n(14299);function b(e,a){let n=/^(\d+)\s+(day|week|month|year)s?$/i.exec(e.trim());if("zh"!==a||!n||1>Number(n[1]))return e;let t=n[2].toLowerCase();return"".concat(n[1]," ").concat({day:"天",week:"周",month:"个月",year:"年"}[t])}function P(e){var a;let n=null==e?void 0:e.initialPeriod,t=null==n?void 0:n.unit.toLowerCase(),i=t?({day:1,week:7,month:30,year:365})[t]:void 0,l=i&&n&&Number.isInteger(n.count)&&n.count>
10?i*n.count:void 0,r=null==e?void 0:e.reference,s=!!(e&&n&&r&&r.currency===e.currency&&(null===(a=r.period)||void 0===a?void 0:a.unit.toLowerCase())===t&&r.period.count===n.count&&Number.isSafeInteger(r.amount)&&r.amount>e.amount&&e.amount>=0);return{referenceAmount:s?r.amount:void 0,discountPercent:s?Math.floor((1-e.amount/r.amount)*100):void 0,dailyAmount:e&&l?e.amount/l:void 0,approximate:"month"===t||"year"===t}}function k(e){return({"com.hailuo.video.sub.standard.monthly":1e3,"com.hailuo.video.sub.pro.monthly":4500,"com.hailuo.video.sub.master.monthly":10500})[e]}var N=n(51157),A=n.n(N);function C(e){return Number.isSafeInteger(e.amount)&&e.amount>=0}function I(e){let{context:a,quotes:n,selected:i,onSelect:r,locale:s,group:o,disabled:d=!1}=e,c=(0,l.useId)(),_=(0,g.JG)(s),u="zh"===s,m=n.map(e=>({quote:e,dailyAmount:P(e).dailyAmount})).filter(e=>C(e.quote)&&void 0!==e.dailyAmount&&Number.isFinite(e.dailyAmount)),h=m.length>=2&&1===new Set(m.map(e=>{let{quote:a}=e;return a.currency})).size?m.reduce((e,a)=>a.dailyAmount<e.dailyAmount?a:e).quote.quoteID:void 0;return(0,t.jsxs)("fieldset",{className:A().picker,"data-plan-group":o,children:[(0,t.jsx)("legend",{className:A().srOnly,children:_("ad_landing_choose_a_plan")}),n.map((e,n)=>{var l,m,p;let y=P(e),f=e.quoteID===(null==i?void 0:i.quoteID),g=d||!C(e),v=function(e,a,n){let t=/^(\d+)\s+(week|month|year)s?$/i.exec(a.renewalPeriod.trim());if(!t)return e;let i=Number(t[1]);if(i<1)return e;let l=t[2].toLowerCase(),r="zh"===n?"".concat(1===i?"":i).concat({week:"周",month:"月",year:"年"}[l],"卡"):1===i?({week:"Weekly",month:"Monthly",year:"Annual"})[l]:"".concat(i,"-").concat(l.charAt(0).toUpperCase()+l.slice(1)," Plan");return e.toLowerCase().includes(r.toLowerCase())?e:"".concat(e," ").concat(r)}((0,j.NC)((null===(l=a.products.find(a=>a.productID===e.productID))||void 0===l?void 0:l.titleByLocale)||{en:e.productID},s),e,s),x=(0,j.dN)(e.amount,e.currency,s),w=void 0!==y.dailyAmount&&Number.isFinite(y.dailyAmount)?"".concat(y.approximate?"≈":"").concat((0,j.dN)(y.dailyAmount,e.currency,s)):void 0,N=(null===(m=e.initialPeriod)||void 0===m?void 0:m.unit.toLowerCase())==="day"&&3===e.initialPeriod.count&&e.renewalPeriod.toLowerCase().includes("month"),I=N?k(e.productID):void 0,D=e.initialPeriod,R=null==D?void 0:D.unit.toLowerCase(),S=R?u?({day:"天",week:"周",month:"个月",year:"年"})[R]||R:"".concat(R).concat((null==D?void 0:D.count)===1?"":"s"):"",E="".concat(c,"-").concat(n,"-description"),T="".concat(c,"-").concat(n,"-title"),L="".concat(c,"-").concat(n,"-price");return(0,t.jsxs)("label",{className:"".concat(A().plan," ").concat(f?A().selected:""," ").concat(C(e)?"":A().disabled),children:[(0,t.jsx)("input",{className:A().radio,type:"radio",name:"template-plan-".concat(o),value:e.quoteID,checked:f,disabled:g,"aria-labelledby":"".concat(T," ").concat(L),"aria-describedby":E,onChange:()=>r(e)}),e.quoteID===h&&(0,t.jsx)("span",{className:A().badge,children:u?"最低日均价":"LOWEST DAILY PRICE"}),(0,t.jsxs)("span",{className:A().content,children:[(0,t.jsxs)("span",{className:A().details,children:[(0,t.jsx)("strong",{className:A().title,id:T,children:v}),(0,t.jsxs)("span",{className:A().price,id:L,children:[void 0!==y.referenceAmount&&(0,t.jsx)("del",{children:(0,j.dN)(y.referenceAmount,e.currency,s)}),x]})]}),(0,t.jsxs)("span",{className:A().priceTag,"aria-hidden":"true",children:[(0,t.jsx)("strong",{children:null!=w?w:x}),(0,t.jsx)("span",{children:void 0!==w?u?"每天":"per day":_("ad_landing_first_period")})]})]}),(0,t.jsxs)("span",{className:A().srOnly,id:E,children:[_("ad_landing_due_today")," ",x,"."," ",D&&"".concat(u?"首期":"Initial period:"," ").concat(D.count," ").concat(S,". "),void 0!==w&&"".concat(u?"日均":"Per day:"," ").concat(w,". "),e.creditDescription||"".concat(new Intl.NumberFormat(s).format(N?e.credits:null!==(p=e.membershipCredits)&&void 0!==p?p:e.credits)," ").concat(_("ad_landing_credits")),". ",_("ad_landing_then_renews_automatically_at")," ",(0,j.dN)(e.renewalAmount,e.renewalCurrency||e.currency,s)," /"," ",b(e.renewalPeriod,s),"."," ",void 0!==I&&"".concat(_("ad_landing_trial_renewal_credits",{credits:new Intl.NumberFormat(s).format(I)}
1),". "),_("ad_landing_cancel_renewal_in_your_account_subscription_settings")]})]},e.quoteID)})]})}var D=n(20201),R=n.n(D);function S(e){let{selected:a,locale:n}=e,i=(null==a?void 0:a.allowedPaymentMethods)||[];return(0,t.jsxs)("div",{className:R().paymentMarks,"aria-label":"zh"===n?"支持的支付方式":"Supported payment methods",children:[i.includes("APPLE_PAY")&&(0,t.jsxs)("span",{className:R().applePay,"aria-label":"Apple Pay",children:[(0,t.jsx)(m.default,{src:h.h.icons_payment_apple,alt:"",width:18,height:22}),"Pay"]}),i.includes("GOOGLE_PAY")&&(0,t.jsx)(m.default,{src:h.h.icons_payment_google_pay,alt:"Google Pay",width:60,height:28}),i.includes("CARD")&&(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("span",{className:R().visa,children:"VISA"}),(0,t.jsx)("span",{className:R().mastercard,children:"Mastercard"}),(0,t.jsxs)("span",{className:R().amex,children:["AMERICAN",(0,t.jsx)("br",{}),"EXPRESS"]})]}),i.includes("LINK")&&(0,t.jsx)("span",{className:R().link,children:"link"})]})}function E(e){var a,n,i,r,s,o;let{context:d,quotes:c,selected:v,locale:x,now:P,photoMode:N,email:A,paymentSlot:C}=e,[D]=(0,l.useState)(()=>P+3e5),E=(0,g.JG)(x),T="zh"===x,L=(0,l.useRef)(null),F=(0,l.useRef)(null),q=(0,l.useRef)(null);(0,l.useEffect)(()=>{let e=q.current,a=F.current;if(!e||!a)return;let n=83,t=()=>{let t=a.closest("main");n=Math.max(n,e.offsetHeight),a.style.setProperty("--payment-dock-height","".concat(n,"px")),a.style.setProperty("--scrollbar-width","".concat(t?t.offsetWidth-t.clientWidth:window.innerWidth-document.documentElement.clientWidth,"px"))};if(t(),"undefined"==typeof ResizeObserver)return;let i=new ResizeObserver(t);return i.observe(e),window.addEventListener("resize",t),()=>{i.disconnect(),window.removeEventListener("resize",t)}},[]);let M=(null===(i=d.page)||void 0===i?void 0:null===(n=i.summary)||void 0===n?void 0:null===(a=n.images)||void 0===a?void 0:a.map(e=>e.url))||d.exampleImages,z=M.length?M:["/birthday/hero.jpg","/birthday/blush.jpg","/birthday/flash.jpg","/birthday/vintage.jpg"],B=e=>z[e%z.length],O=c.find(e=>"number"==typeof e.discountBasisPoints&&Number.isFinite(e.discountBasisPoints)&&e.discountBasisPoints>0&&e.discountBasisPoints<=1e4),U=Math.max(0,Math.ceil((D-P)/1e3)),G=[[E("ad_landing_creative_portraits"),E("ad_landing_i_turned_a_simple_selfie_into_something_full_of_personality"),"Mia"],[E("ad_landing_social_content"),E("ad_landing_i_had_an_idea_for_a_post_but_didnt_know"),"Alex"],[E("ad_landing_personal_creations"),E("ad_landing_i_made_a_little_video_for_a_friend_using_a"),"Jamie"]],Y=[[E("ad_landing_how_do_i_access_my_video_after_purchase"),E("ad_landing_once_your_video_is_ready_you_can_view_it_here")],[E("ad_landing_whats_included_in_my_subscription"),E("ad_landing_paid_plans_include_monthly_credits_watermark_free_video_downloads_and")],[E("ad_landing_can_i_cancel_my_subscription_or_get_a_refund"),E("ad_landing_you_can_cancel_at_any_time_cancellation_takes_effect_at")]],W=(null==v?void 0:null===(r=v.initialPeriod)||void 0===r?void 0:r.unit.toLowerCase())==="day"&&3===v.initialPeriod.count&&v.renewalPeriod.toLowerCase().includes("month"),K=W&&v?k(v.productID):void 0;return(0,t.jsxs)("article",{ref:F,className:R().paywall,"data-template-paywall":!0,children:[O&&(0,t.jsx)("div",{className:R().offerBar,children:(0,t.jsxs)("div",{className:R().offerPill,children:[(0,t.jsxs)("span",{children:[(null!==(s=O.discountBasisPoints)&&void 0!==s?s:0)/100,"% ",T?"优惠":"off"]}),(0,t.jsxs)("time",{"aria-label":E("ad_landing_offer_time_remaining"),children:[String(Math.floor(U/60)),":",String(U%60).padStart(2,"0")]})]})}),(0,t.jsx)("div",{className:R().heroMedia,"aria-hidden":"true",children:[0,1].map(e=>(0,t.jsx)("div",{className:R().marquee,children:[0,1].map(a=>(0,t.jsxs)("div",{className:R().mediaTrack,children:[(0,t.jsx)(f.Pz,{src:B(2*e),className:R().mediaTile}),(0,t.jsxs)("div",{className:"".concat(R().mediaTile," ").concat(R().featureTile),children:[(0,t.jsx)("strong",{children:e?"AI":"★★★★★"}),(0,t.jsx)("span",{children:e?E("ad_landing_creative_styles_templates"):E("ad_landing_watermark_free_downloads")})]}),(0,t.jsx)(f.Pz,{src:B(2*e+1),className:R().mediaTile}),(0,t.jsxs)("div",{className:"".concat(R().mediaTile," ").concat(R().featureTile," ").concat(R().brandTile),children:[(0,t.jsx)("strong",{children:e?"PRO":"AI"}),(0,t.jsx)("span",{children:e?E("ad_landing_text_image_to_video"):E("ad_landing_ai_images_videos")})]})]},a))},e))}),(0,t.jsxs)("div",{className:R().content,children:[(0,t.jsxs)("header",{className:R().intro,children:[(0,t.jsx)("p",{children:E("ad_landing_hailuo_ai_made_for_you")}
1),(0,t.jsx)("h1",{tabIndex:-1,children:T?"解锁你的潮流视频":"Unlock your trend video"})]}),(0,t.jsx)(I,(0,u._)((0,_._)({},e),{group:"top"})),(0,t.jsx)(S,{selected:v,locale:x}),(0,t.jsxs)("section",{className:R().proof,"aria-label":E("ad_landing_google_play_downloads"),children:[(0,t.jsxs)("div",{className:R().proofCard,children:[(0,t.jsx)(p.Z,{media:(0,y.F)(d.page),allowAnimation:!0,className:R().proofImage}),(0,t.jsxs)("div",{className:R().proofCopy,children:[(0,t.jsx)("strong",{children:"10M+"}),(0,t.jsxs)("p",{children:[(0,t.jsx)("i",{}),E("ad_landing_google_play_downloads")]}),(0,t.jsx)("span",{children:E("ad_landing_into_creations_worth_sharing")})]})]}),(0,t.jsx)("small",{children:E("ad_landing_source_public_store_page_snapshots_us_app_store_ratings_may")})]}),(0,t.jsxs)("section",{className:R().creations,children:[(0,t.jsxs)("h2",{children:[E("ad_landing_all_your_ai_creativity"),(0,t.jsx)("br",{}),E("ad_landing_one_simple_membership")]}),(0,t.jsx)(m.default,{src:h.h.hailuo_stories,className:R().storiesArtwork,width:786,height:1124,alt:E("ad_landing_v2_stories_description")}),(0,t.jsx)("button",{className:R().startButton,onClick:()=>{var e,a;null===(e=L.current)||void 0===e||e.scrollIntoView({behavior:window.matchMedia("(prefers-reduced-motion: reduce)").matches?"auto":"smooth",block:"start"}),null===(a=L.current)||void 0===a||a.focus({preventScroll:!0})},children:T?"开始创作":"Start Creating"})]}),(0,t.jsxs)("section",{className:R().reviews,children:[(0,t.jsxs)("header",{children:[(0,t.jsx)("h2",{children:E("ad_landing_your_ideas")}),(0,t.jsx)("p",{children:E("ad_landing_your_moment_to_shine")}),(0,t.jsx)("small",{children:E("ad_landing_sample_testimonials_for_illustration")})]}),G.map((e,a)=>{let[n,i,l]=e;return(0,t.jsxs)("figure",{className:R().review,children:[(0,t.jsxs)("div",{className:R().reviewTop,children:[(0,t.jsx)("span",{"aria-hidden":"true",children:"★★★★★"}),(0,t.jsx)("small",{children:n})]}),(0,t.jsx)("blockquote",{children:i}),(0,t.jsxs)("figcaption",{children:[(0,t.jsx)(f.Pz,{src:B(a),className:R().avatar}),(0,t.jsx)("span",{children:l})]})]},l)})]}),(0,t.jsxs)("section",{ref:L,className:R().repeatPlans,tabIndex:-1,"aria-label":E("ad_landing_choose_a_plan"),children:[(0,t.jsx)("h2",{children:E("ad_landing_choose_your_plan")}),(0,t.jsx)("p",{children:E("ad_landing_turn_your_inspiration_into_something_extraordinary")}),(0,t.jsx)(I,(0,u._)((0,_._)({},e),{group:"bottom"})),(0,t.jsx)(S,{selected:v,locale:x})]}),(0,t.jsxs)("section",{className:R().membershipTerms,children:[(0,t.jsxs)("header",{children:[(0,t.jsx)(m.default,{src:h.h.paywall_membership_badge,alt:"",width:56,height:56}),(0,t.jsx)("h2",{children:T?(0,t.jsxs)(t.Fragment,{children:["随时取消",(0,t.jsx)("br",{}),"自动续费"]}):(0,t.jsxs)(t.Fragment,{children:["Cancel renewal",(0,t.jsx)("br",{}),"anytime"]})})]}),(0,t.jsx)("p",{children:E("ad_landing_you_can_cancel_at_any_time_cancellation_takes_effect_at")}),(0,t.jsx)("p",{children:E("ad_landing_paid_plans_include_monthly_credits_watermark_free_video_downloads_and")})]}),(0,t.jsxs)("section",{className:R().billing,"aria-label":T?"订阅详情":"Subscription details",children:[v&&(0,t.jsxs)(t.Fragment,{children:[(0,t.jsxs)("p",{children:[E("ad_landing_due_today")," ",(0,t.jsx)("strong",{children:(0,j.dN)(v.amount,v.currency,x)}),"."," ",W&&"".concat(E("ad_landing_three_day_trial"),". "),v.creditDescription||"".concat(new Intl.NumberFormat(x).format(W?v.credits:null!==(o=v.membershipCredits)&&void 0!==o?o:v.credits)," ").concat(E("ad_landing_credits")),". ",E("ad_landing_then_renews_automatically_at")," ",(0,t.jsxs)("strong",{children:[(0,j.dN)(v.renewalAmount,v.renewalCurrency||v.currency,x)," ","/ ",b(v.renewalPeriod,x)]}),"."," ",void 0!==K&&"".concat(E("ad_landing_trial_renewal_credits",{credits:new Intl.NumberFormat(x).format(K)}),". "),E("ad_landing_cancel_renewal_in_your_account_subscription_settings")]}),(0,t.jsxs)("p",{children:[E("ad_landing_membership_and_video_belong_to")," ",(0,t.jsx)("strong",{children:A}),"."," ",E("ad_landing_please_check_this_email_before_paying")]})]}),(0,t.jsx)(w,{photoMode:N,locale:x}),(0,t.jsxs)("p",{children:[E("ad_landing_by_continuing_you_agree_to_the")," ",(0,t.jsx)("a",{href:(0,j.gE)(d.termsUrl),target:"_blank",rel:"noreferrer",children:E("ad_landing_terms_of_service")})," ",T?"和":"and"," ",(0,t.jsx)("a",{href:(0,j.gE)(d.privacyUrl),target:"_blank",rel:"noreferrer",children:E("ad_landing_privacy_policy")}),"."]})]}),(0,t.jsxs)("section",{className:R().faq,children:[(0,t.jsx)("h2",{children:E("ad_landing_faq")}),(0,t.jsx)("p",{children:E("ad_landing_everything_you_need_to_know_before_subscribing")}),Y.map((e,a)=>{let[n,i]=e;return(0,t.jsxs)("details",{open:0===a,children:[(0,t.jsxs)("summary",{children:[n,(0,t.jsx)("span",{"aria-hidden":"true",children:"⌄"})]}),(0,t.jsx)("p",{children:i})]},n)})]}),(0,t.jsxs)("footer",{className:R().footer,children:[(0,t.jsx)(f.H2,{}),(0,t.jsxs)("nav",{"aria-label":T?"法律信息":"Legal",children:[(0,t.jsx)("a",{href:(0,j.gE)(d.termsUrl),target:"_blank",rel:"noreferrer",children:E("ad_landing_terms_of_service")}),(0,t.jsx)("a",{href:(0,j.gE)(d.privacyUrl),target:"_blank",rel:"noreferrer",children:E("ad_landing_privacy_policy")})]}),(0,j.gE)(d.supportUrl)&&(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("p",{children:T?"需要帮助?":"Need help?"}),(0,t.jsx)("a",{href:(0,j.gE)(d.supportUrl),target:"_blank",rel:"noreferrer",children:E("ad_landing_contact_support")})]}),(0,t.jsxs)("small",{children:["\xa9 ",new Date(P).getFullYear()," Hailuo AI"]})]})]}),(0,t.jsx)("div",{ref:q,className:R().paymentDock,"data-paywall-payment":!0,"data-payment-layout":"dock","aria-label":T?"支付方式":"Payment methods",children:C})]})}var T=n(98144),L=n(70269),F=n.n(L);function q(e){let{locale:a,busy:n,interactionBusy:i,disabled:l,expired:r,walletEligible:s,fallbackAvailable:o=!1,walletAvailability:d=null,hostedFallbackPending:c=!1,hostedFallbackAllowed:_=!0,preparing:u,attempted:m,walletSlot:h,onRefresh:p,onRetryWallet:y,onCheckout:v}=e,x=(0,g.JG)(a),w=n||i,j="zh"===a?"继续银行卡支付":"Continue with Card";if(n&&!h)return(0,t.jsx)("div",{className:F().actions,"data-payment-ready":!1,"aria-hidden":!0,"aria-busy":!0});if(r&&!i)return(0,t.jsx)(f.sq,{"data-payment-method":_?"CARD":void 0,disabled:w||_&&l,onClick:_?v:p,children:_?j:x("ad_landing_refresh_plans")});if(!s&&!h)return(0,t.jsx)(f.sq,{"data-payment-method":_?"CARD":void 0,disabled:w||l,onClick:_?v:p,children:_?n?x("ad_landing_preparing_checkout"):j:x("ad_landing_refresh_plans")});let b=c&&!h,P=!i&&!b&&(h?null===d&&!o:u||!m),k=!h&&m&&!u&&!b,N=!h||!1===d||o,A=_&&!P&&N&&!i,C=!_&&!P&&(k||b||N),I={failed:"zh"===a?"快捷支付暂时无法加载。":"Express checkout could not load.",retry:"zh"===a?"重试快捷支付":"Retry express checkout",card:j};return(0,t.jsxs)("div",{className:F().actions,"data-payment-ready":!P,"aria-hidden":P||void 0,ref:e=>{P?null==e||e.setAttribute("inert",""):null==e||e.removeAttribute("inert")},"aria-busy":w||P,children:[h,C&&(0,t.jsxs)(t.Fragment,{children:[k&&(0,t.jsx)("p",{role:"alert",className:F().status,children:I.failed}),(0,t.jsx)("button",{type:"button",className:F().retry,disabled:w||l||P,onClick:y,children:b?"zh"===a?"重试页内支付":"Retry on-page payment":I.retry})]}),A&&(0,t.jsx)("button",{type:"button",className:F().card,"data-payment-method":"CARD",disabled:w||l||P,onClick:v,children:I.card})]})}function M(e){let{paymentKey:a="default",busy:n,interactionBusy:i,expired:r,walletSlot:s,walletEligible:o,walletAvailability:d=null,fallbackAvailable:c,preparing:m,attempted:h,hostedFallbackPending:p}=e,y=!i&&(n||!r&&o&&(s?null===d&&!c:!p&&(m||!h))),f=(0,l.useRef)();(0,l.useEffect)(()=>{y||i||(f.current={key:a,props:e})});let g=y?f.current:void 0,v=(null==g?void 0:g.key)===a,x=(e,a)=>
1{a?null==e||e.setAttribute("inert",""):null==e||e.removeAttribute("inert")};return(0,t.jsxs)("div",{className:F().transition,"data-payment-updating":y,"aria-busy":y,children:[g&&(0,t.jsx)("p",{className:F().updatingStatus,role:"status",children:"zh"===e.locale?"正在更新支付信息…":"Updating payment details…"}),g&&!v&&(0,t.jsx)("div",{className:F().retained,"data-payment-retained":!0,"aria-hidden":!0,ref:e=>x(e,!0),children:(0,t.jsx)(T.O.Provider,{value:!0,children:(0,t.jsx)(q,(0,u._)((0,_._)({},g.props),{disabled:!0}))})},g.key),(0,t.jsx)("div",{className:v?F().retained:g?F().incoming:void 0,"data-payment-retained":v||void 0,"aria-hidden":!!g||void 0,ref:e=>x(e,!!g),children:(0,t.jsx)(T.O.Provider,{value:!1,children:(0,t.jsx)(q,(0,u._)((0,_._)({},v&&g?g.props:e),{walletSlot:e.walletSlot,busy:e.busy,interactionBusy:e.interactionBusy,disabled:!!g||e.disabled}))})},a)]})}let z=(0,r.default)(()=>Promise.all([n.e(9517),n.e(408),n.e(5050)]).then(n.bind(n,15050)),{loadableGenerated:{webpack:()=>[15050]},ssr:!1});function B(e){var a,n,r;let _,{flow:u}=e,{campaignID:m,context:h,locale:p,t:y,photoMode:f,email:g,quotes:v,selectedQuote:x,busy:w,screen:j,now:b,serverOffset:P,promo:k,standardQuote:N,run:A,paymentDisabled:C,embeddedPayment:I,inlineWalletEligible:D,hostedFallbackPending:R,inlineWalletPreparing:S,inlineWalletAttempted:T,walletInteractionBusy:L,pendingPlanSelection:F,planSelectionDisabled:q,requestPlanSelection:B,retryInlinePayment:O,inlinePaymentMountKey:U=0,checkoutOtherMethods:G,refreshPaymentQuotes:Y,completeWalletPayment:W,setWalletInteractionBusy:K,registerServerUpdate:J}=u,H=(0,l.useRef)();(0,l.useEffect)(()=>{h&&"plans"===j?v.length&&(H.current={context:h,quotes:v,selected:x}):H.current=void 0},[h,j,v,x]);let Z=v.length?{quotes:v,selected:x}:(null===(a=H.current)||void 0===a?void 0:a.context)===h?H.current:void 0,Q=null==I?void 0:I.presentation.providerSessionID,V=Q?"".concat(Q,":").concat(U):void 0,$=(0,l.useRef)(V);$.current=V;let[X,ee]=(0,l.useState)(),ea=(0,l.useCallback)(e=>{V&&$.current===V&&ee(a=>(null==a?void 0:a.sessionKey)===V&&a.available===e?a:{sessionKey:V,available:e})},[V]),[en,et]=(0,l.useState)(),ei=(0,l.useCallback)(e=>{V&&$.current===V&&et(a=>(null==a?void 0:a.sessionKey)===V&&a.available===e?a:{sessionKey:V,available:e})},[V]);if(!h||"plans"!==j)return null;let el=w||!!F,er=F&&null!==(n=null==Z?void 0:Z.quotes.find(e=>e.productID===F.productID))&&void 0!==n?n:null==Z?void 0:Z.selected,es=b+P,eo=!!I&&I.presentation.expiresAtMs<=es;if(I&&x){let{presentation:e,orderID:a}=I,n=new URL((0,o.R)());n.searchParams.set("orderID",a),_=(0,t.jsx)(z,{embedded:!0,compact:!0,presentation:e,expectedAmount:x.amount,expectedCurrency:x.currency,locale:p,email:g,now:es,busy:el,returnUrl:n.href,onTelemetry:(e,n)=>(0,i.TA)(e,u.campaignID,x,a,n),onConfirmed:()=>W(e.providerSessionID),onCancel:()=>void A(G),onInteractionChange:K,onServerUpdateReady:J,onAvailabilityChange:ea,onFallbackAvailabilityChange:ei},V)}let ed=(0,t.jsx)(M,{paymentKey:null!=V?V:"unprepared",locale:p,busy:el,interactionBusy:L,disabled:C,expired:!v.length||eo,walletEligible:D,walletAvailability:(null==X?void 0:X.sessionKey)===V&&null!==(r=null==X?void 0:X.available)&&void 0!==r?r:null,fallbackAvailable:!!(en&&en.sessionKey===V&&en.available),hostedFallbackPending:R,hostedFallbackAllowed:!!v.length&&!!x&&(0,s.Ls)(x),preparing:S,attempted:T,walletSlot:_,onRefresh:()=>void A(Y),onRetryWallet:()=>void A(O),onCheckout:()=>void A(G)});return(0,t.jsxs)(t.Fragment,{children:[k&&N&&(0,t.jsx)("p",{className:c.Z.modeNote,children:y("ad_landing_this_offer_is_unavailable_standard_pricing_is_shown_below")}),Z&&(0,t.jsx)(E,{context:h,quotes:Z.quotes,selected:er,disabled:q,onSelect:e=>{q||e.productID===(null==er?void 0:er.productID)||((0,d.Z9)("h5_plan_select",m,(0,i.YL)(e)),B(e))},locale:p,now:es,photoMode:f,email:g,paymentSlot:ed})]})}},61028:function(e,a,n){"use strict";n.d(a,{R:function(){return i}});var t=n(66552);function i(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:window.location,a=e.pathname.replace(/\/(?:upload|result|return)\/?$/,"").replace(/\/$/,""),n=new URL("".concat(e.origin).concat(a,"/return"));if(n.searchParams.set("variant","v2"),e.href)try{let a=new URL(e.href);if("http:"!==a.protocol&&"https:"!==a.protocol)return n.toString();let i=(0,t.r)(e.href);for(let[e,a]of Object.entries(i))n.searchParams.set(e,a);n.searchParams.set("hl_ads_url",(0,t.i)(e.href,i))}catch(e){}return n.toString()}},70269:function(e){e.exports={actions:"PaymentActions_actions__LCPaU",status:"PaymentActions_status__hfudc",retry:"PaymentActions_retry__mbCyI",card:"PaymentActions_card__h5T91",transition:"PaymentActions_transition__tctFu",updatingStatus:"PaymentActions_updatingStatus__vY1Tf",retained:"PaymentActions_retained__B0nVH",incoming:"PaymentActions_incoming__ZTaJE"},e.exports.__checksum="cf4cbef22eb3"},20201:function(e){e.exports={paywall:"Paywall_paywall__tZFf0",content:"Paywall_content__0oCQk",offerBar:"Paywall_offerBar__tvooB",offerPill:"Paywall_offerPill__xYvaG",heroMedia:"Paywall_heroMedia__WhFlo",marquee:"Paywall_marquee__WQY9K",drift:"Paywall_drift__BBHS7",mediaTrack:"Paywall_mediaTrack__QbUDv",mediaTile:"Paywall_mediaTile__5sPTd",featureTile:"Paywall_featureTile__PkRv9",brandTile:"Paywall_brandTile__p_poH",intro:"Paywall_intro__GuK7F",paymentMarks:"Paywall_paymentMarks__x2Oje",applePay:"Paywall_applePay__hfsEE",visa:"Paywall_visa__9eJFR",mastercard:"Paywall_mastercard__5sQs3",amex:"Paywall_amex__Ar9_o",link:"Paywall_link__NyZqh",proof:"Paywall_proof__Gsf4l",proofCard:"Paywall_proofCard__Fpxp7",proofImage:"Paywall_proofImage__P14Y5",proofCopy:"Paywall_proofCopy__cYEA6",creations:"Paywall_creations__ks5pU",storiesArtwork:"Paywall_storiesArtwork__fLOn3",startButton:"Paywall_startButton__SfIrk",reviews:"Paywall_reviews__1kuhy",review:"Paywall_review__jVpGv",reviewTop:"Paywall_reviewTop__XtguL",avatar:"Paywall_avatar__LJqzL",repeatPlans:"Paywall_repeatPlans__HR6qm",membershipTerms:"Paywall_membershipTerms__0qIEv",billing:"Paywall_billing__rMfhk",faq:"Paywall_faq__wQbf3",footer:"Paywall_footer__fWpmB",paymentDock:"Paywall_paymentDock__ZPnDP"},e.exports.__checksum="22d4169de689"},51157:function(e){e.exports={picker:"PlanPicker_picker__XHwGR",plan:"PlanPicker_plan__e7W9O",radio:"PlanPicker_radio__z_z0Y",selected:"PlanPicker_selected__lMoKe",priceTag:"PlanPicker_priceTag__gMmyh",badge:"PlanPicker_badge__8qUrx",disabled:"PlanPicker_disabled__S7tFa",srOnly:"PlanPicker_srOnly__lyMAR",content:"PlanPicker_content__YQc3K",details:"PlanPicker_details__PDbRp",title:"PlanPicker_title__pLhjO",price:"PlanPicker_price__bSdfm"},e.exports.__checksum="43c892c8181e"}}]);

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