PageSourceSearch

https://streamyard.com/next-static/_next/static/chunks/5476-65b53804de6d4b48.js

js streamyard.com collected 2026-09-24 08:24:04 UTC 41,789 bytes, 2 lines download raw bytes

1try{let e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{},t=(new e.Error).stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="85387357-b3be-4164-910d-48d5bf35e17c",e._sentryDebugIdIdentifier="sentry-dbid-85387357-b3be-4164-910d-48d5bf35e17c")}catch(e){}"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[5476],{35191:(e,t,n)=>{n.d(t,{Pc:()=>w,Bg:()=>N.Bg,iv:()=>r.QN,Me:()=>r.o1,PY:()=>r.Tp});var i=n(50270),r=n(55264),o=n(8175),s=n(3642),a=n(43767),d=n(57887),c=n(7344),l=n(12676),u=n(34757),p=n(55703),m=n(61141),g=n(16975),E=n(66147);let _="development"===g.M0L||"staging"===g.M0L?{timeout:3e4}:{},h=e=>(0,E.A)({..._,...e}),b={getAllData:e=>{let{teamId:t,subscription:n=!1,paymentMethod:i=!1}=e;return h({method:"GET",uri:"".concat(g.f07,"/enterprise/juno/info/").concat(t,"/all"),query:{subscription:n,paymentMethod:i},maxAttempts:3})},getCustomer:e=>{let{teamId:t}=e;return h({method:"GET",uri:"".concat(g.f07,"/enterprise/juno/info/").concat(t),maxAttempts:3})},updateCustomer:e=>{let{teamId:t,...n}=e;return h({method:"POST",uri:"".concat(g.f07,"/enterprise/juno/info/").concat(t),body:n,maxAttempts:3})},getPaymentMethod:e=>{let{teamId:t}=e;return h({method:"GET",uri:"".concat(g.f07,"/enterprise/juno/payment-method/").concat(t),maxAttempts:3})},updateSubscription:e=>{let{teamId:t,...n}=e;return h({method:"POST",uri:"".concat(g.f07,"/enterprise/juno/subscribe/").concat(t),body:n,maxAttempts:3})},getSubscription:e=>{let{teamId:t}=e;return h({method:"GET",uri:"".concat(g.f07,"/enterprise/juno/subscription/").concat(t),maxAttempts:3})},setAutoRenew:e=>{let{teamId:t,autoRenew:n,subscriptionId:i}=e;return h({method:"PATCH",uri:"".concat(g.f07,"/enterprise/juno/subscription/").concat(t),body:{autoRenew:n,subscriptionId:i},maxAttempts:3})},getChargePreview:e=>{let{teamId:t,units:n,...i}=e;return h({method:"GET",uri:"".concat(g.f07,"/enterprise/juno/subscribe/").concat(t,"/").concat(n,"/preview"),query:i,maxAttempts:3})},getInvoices:e=>{let{teamId:t}=e;return h({method:"GET",uri:"".concat(g.f07,"/enterprise/juno/invoices/").concat(t),maxAttempts:3})},updatePurchaseOrderNumber:e=>{let{teamId:t,invoiceId:n,purchaseOrderNumber:i}=e;return h({method:"PUT",uri:"".concat(g.f07,"/enterprise/juno/invoices/").concat(t,"/").concat(n),body:{purchaseOrderNumber:i},maxAttempts:3})}};var x=n(37651),A=n(36317);let f=n(50445).G.withScope({categories:["juno"]});var v=n(92845);let T=(0,i.Jx)((e,t)=>e.ofType(r.QN.JUNO_INIT_DATA).pipe((0,d.E)("payload"),(0,c.n)(async e=>{let n=t.value,i=v.R_.getPlan(n);return v.R_.getJunoCustomerId(n)?await b.getAllData({teamId:e.teamId,subscription:i===g.NBS.BUSINESS,paymentMethod:!0}).catch(t=>(f.error({categories:["initJunoData"],info:{...(0,A._0)(t),payload:e}}),null)):null}),(0,c.n)(e=>e?(0,s.h)((0,m.Gm)(r.o1.junoCustomerUpdated(e.customer)),e.subscription?(0,m.Gm)(r.o1.gotEnterpriseSubscription(e.subscription)):a.w,e.paymentMethod?(0,m.Gm)(r.o1.junoPaymentMethodUpdated(e.paymentMethod)):a.w,(0,m.Gm)(r.o1.initJunoDataSucceeded())):(0,m.Gm)(r.o1.initJunoDataFailed()))),(e,t)=>e.ofType(r.QN.JUNO_GET_ALL_DATA).pipe((0,d.E)("payload"),(0,c.n)(e=>{let n=t.value,i=r.Tp.getJunoCustomer(n),o=r.Tp.getIsJunoCustomerLoading(n),d=r.Tp.getEnterpriseSubscription(n),c=r.Tp.getIsJunoEnterpriseSubscriptionLoading(n),l=r.Tp.getJunoPaymentMethod(n),u=r.Tp.getIsJunoPaymentMethodLoading(n),p=v.R_.getPlan(n),E=[],_={teamId:e.teamId};return i||o||E.push((0,m.Gm)(r.o1.getJunoCustomer(_))),d||c||p!==g.NBS.BUSINESS||E.push((0,m.Gm)(r.o1.getEnterpriseSubscription(_))),l||u||E.push((0,m.Gm)(r.o1.getJunoPaymentMethod(_))),E.length>0?(0,s.h)(...E):a.w})),e=>e.ofType(r.QN.JUNO_CUSTOMER_GET).pipe((0,d.E)("payload"),(0,c.n)(e=>(0,o.H)(b.getCustomer(e)).pipe((0,l.T)(e=>r.o1.junoCustomerUpdated(e)),(0,u.W)(t=>(f.error({categories:["getJunoCustomer"],info:{...(0,A._0)(t),payload:e}}),(0,m.Gm)(r.o1.junoCustomerUpdateFailed(t.body))))))),e=>e.ofType(r.QN.JUNO_PAYMENT_METHOD_GET).pipe((0,d.E)("payload"),(0,c.n)(e=>(0,o.H)(b.getPaymentMethod(e)).pipe((0,l.T)(e=>r.o1.junoPaymentMethodUpdated(e)),(0,u.W)(t=>(f.error({categories:["getJunoPaymentMethod"],info:{...(0,A._0)(t),payload:e}}),(0,m.Gm)(r.o1.junoPaymentMethodUpdateFailed(t.body))))))),e=>e.ofType(r.QN.JUNO_GET_CHARGE_PREVIEW).pipe((0,d.E)("payload"),(0,c.n)(e=>(0,o.H)(b.getChargePreview(e)).pipe((0,l.T)(e=>r.o1.gotChargePreview(e)),(0,u.W)(t=>(f.error({categories:["junoGetChargePreview"],info:{...(0,A._0)(t),payload:e}}),(0,m.Gm)(r.o1.getChargePreviewFailed(t.body))))))),e=>e.ofType(r.QN.JUNO_GET_ENTERPRISE_SUBSCRIPTION).pipe((0,d.E)("payload"),(0,c.n)(e=>(0,o.H)(b.getSubscription(e)).pipe((0,l.T)(e=>r.o1.gotEnterpriseSubscription(e)),(0,u.W)(t=>(f.error({categories:["junoGetEnterpriseSubscription"],info:{...(0,A._0)(t),payload:e}}),(0,m.Gm)(r.o1.getEnterpriseSubscriptionFailed(t.body))))))),e=>e.ofType(r.QN.JUNO_GET_INVOICES).pipe((0,d.E)("payload"),(0,c.n)(e=>(0,o.H)(b.getInvoices(e)).pipe((0,l.T)(e=>r.o1.gotInvoices(e)),(0,u.W)(t=>(f.error({categories:["junoGetInvoices"],info:{...(0,A._0)(t),payload:e}}),(0,m.Gm)(r.o1.getInvoicesFailed(t.body))))))),e=>e.ofType(r.QN.JUNO_SET_AUTO_RENEW).pipe((0,d.E)("payload"),(0,c.n)(e=>(0,o.H)(b.setAutoRenew(e)).pipe((0,l.T)(e=>r.o1.setEnterpriseAutoRenewSucceeded(e)),(0,u.W)(t=>(f.error({categories:["junoSetEnterpriseAutoRenew"],info:{...(0,A._0)(t),payload:e}}),(0,m.Gm)(r.o1.setEnterpriseAutoRenewFailed(t.body))))))),e=>e.ofType(r.QN.JUNO_SUBSCRIPTION_UPDATE).pipe((0,d.E)("payload"),(0,c.n)(e=>(0,o.H)(b.updateSubscription(e)).pipe((0,p.M)(t=>{x.h.track({categories:["plan","update","succeeded"],info:{teamId:e.teamId,status:t.state,planInterval:e.planInterval,units:t.units,source:e.source,coupon:e.offeredCouponName},severity:x.A.INFO})}),(0,l.T)(e=>r.o1.updateSubscriptionSucceeded(e)),(0,u.W)(t=>(f.error({categories:["junoSubscribe"],info:{...(0,A._0)(t),payload:e}}),(0,m.Gm)(r.o1.updateSubscriptionFailed(t.body))))))),e=>e.ofType(r.QN.JUNO_UPDATE_PURCHASE_ORDER_NUMBER).pipe((0,d.E)("payload"),(0,c.n)(e=>(0,o.H)(b.updatePurchaseOrderNumber(e)).pipe((0,l.T)(e=>r.o1.updatedPurchaseOrderNumber(e)),(0,u.W)(t=>(f.error({categories:["junoUpdatePurchaseOrderNumber"],info:{...(0,A._0)(t),payload:e}}),(0,m.Gm)(r.o1.updatePurchaseOrderNumberFailed(t.body))))))),e=>e.ofType(r.QN.JUNO_CUSTOMER_UPDATE).pipe((0,d.E)("payload"),(0,c.n)(e=>(0,o.H)(b.updateCustomer(e)).pipe((0,l.T)(e=>r.o1.junoCustomerUpdated(e)),(0,u.W)(t=>(f.error({categories:["updateJunoCustomer"],info:{...(0,A._0)(t),payload:e}}),(0,m.Gm)(r.o1.junoCustomerUpdateFailed(t.body))))))));var U=n(20394),C=n(59987),N=n(71145);function w(e){let{baseSubscription:t,newSeats:n,newPlanInterval:i}=e,r=(0,N.Zs)(t),o=(0,N.KR)(t),s=null!=n?n:o,a=null!=i?i:r,d=U.Team.planIntervalRank(a)<U.Team.planIntervalRank(r)||s<o,c=t.state===C.pT.GracePeriod||d,l=a!==r,u=s!==o;return{requiresReplaceAtEndOfTerm:c,isAnythingDecreasing:d,isPlanIntervalChanging:l,areSeatsChanging:u,isAnythingChanging:l||u}}(0,i.Rq)(T),(0,i.Mh)("juno",r.Ff),(0,i.JD)(r.o1.serviceLoaded())},45180:(e,t,n)=>{n.d(t,{A:()=>eM});var i=n(12584),r=n(94458),o=n(68658),s=n(89495),a=n(16975),d=n(7912),c=n(9761),l=n(21717),u=n(64992),p=n(72416);let m=(0,s.Ay)(p.A).withConfig({componentId:"sc-628edd90-0"})(["background:",";border:none;border-radius:4px;color:transparent;display:flex;padding:0;font-weight:600;font-size:1em;height:1px;position:absolute;
1left:-100000px;top:-2px;width:1px;z-index:1;&:focus:not(:active){border:1px solid ",";color:",";height:auto;left:auto;padding:8px 16px;right:-160px;width:auto;}"],e=>e.theme.colors.white,e=>e.theme.colors.primary.main,e=>e.theme.colors.primary.main),g=o.memo(()=>(0,r.jsx)(m,{size:"medium",variant:"text",onClick:()=>{let e=(e=>{let t,n=e.querySelectorAll('[href], button, input, textarea, select, details, [tabindex]:not([tabindex="-1"])'),i=0;for(;!t&&i<n.length;)null===n[i].offsetParent?i+=1:t=n[i];return t||e})(document.querySelector("main")||document);e&&e.focus()},children:(0,r.jsx)(u.wD,{tid:"common.skip.to.content"})}));var E=n(95268),_=n.n(E),h=n(59272),b=n(84578),x=n(30186),A=n(99415),f=n(69976),v=n(85073),T=n(22343),U=n(7963),C=n(61141);let N=(0,s.AH)(["content:'';position:absolute;right:0;top:100%;height:2px;width:0;background-color:",";transition:width 0.3s cubic-bezier(0.37,0,0.21,1.02),0.3s background;"],e=>e.theme.colors.text.main),w=(0,s.AH)(["left:0;right:auto;width:100%;"]),y=(0,s.Ay)(c.A).withConfig({componentId:"sc-1d325863-0"})(["font-size:1.6rem;color:",";cursor:pointer;text-decoration:none;position:relative;&:after{","}&:hover::after,&:focus::after{","}",""],e=>e.theme.colors.text.main,e=>!e.disableUnderline&&N,e=>!e.disableUnderline&&w,e=>e.isActive&&!e.disableUnderline&&"\n			font-weight: 600;\n			&:after {\n				".concat(w,"\n			}\n	")),S=(0,s.Ay)(T.Ay).withConfig({componentId:"sc-1d325863-1"})(["",""],e=>e.$isCompact&&(0,s.AH)(["font-size:1.4rem;line-height:1.4;"])),I=e=>{let{href:t,isActive:n,text:i,to:o,disableUnderline:s=!1,color:a,compact:d=!1,...c}=e;return(0,r.jsx)(y,{href:t,isActive:n,to:o,onClick:()=>U.Ay.track(U.Ay.events.CTA_CLICKED,{destination:o,cta_location:"Nav",cta_type:"text"}),disableUnderline:s,...(0,C.O4)(c),children:(0,r.jsx)(S,{$isCompact:d,variant:"nav",color:null!=a?a:"default",children:i})})};I.propTypes={href:_().string,isActive:_().bool,text:_().node.isRequired,to:_().string,disableUnderline:_().bool,color:_().string,compact:_().bool};var O=n(17861),P=n(1651),R=n(67180),D=n(14802),j=n(81183),J=n(48167),M=n(92321);let L=(0,s.Ay)(M.A).withConfig({componentId:"sc-b73ab5-0"})(["display:flex;align-items:center;"]),k=(0,s.Ay)(M.A).withConfig({componentId:"sc-b73ab5-1"})(["display:flex;align-items:center;justify-content:space-between;width:100%;position:relative;",""],e=>e.isActive&&(0,s.AH)(["font-weight:600;"])),G=(0,s.Ay)(D.A).withConfig({componentId:"sc-b73ab5-2"})(["margin-left:2px;transition:transform 500ms ease;",""],e=>e.isOpen&&"transform: rotateX(180deg);"),B=(0,s.Ay)(j.A).withConfig({componentId:"sc-b73ab5-3"})(["margin-top:10px;box-shadow:-2px 9px 33px rgba(224,224,224,0.32);border-radius:",";"],e=>e.borderRadius||"8px"),H=(0,s.Ay)(J.A).withConfig({componentId:"sc-b73ab5-4"})(["width:308px;padding:12px;"]),V=(0,s.Ay)(J.A).withConfig({componentId:"sc-b73ab5-5"})(["width:100%;"]),F=(0,s.Ay)(T.Ay).withConfig({componentId:"sc-b73ab5-6"})(["position:relative;"," ",""],e=>e.$isCompact&&(0,s.AH)(["font-size:1.4rem;line-height:1.4;"]),e=>e.isActive&&!e.$disableActiveUnderline&&(0,s.AH)(["font-weight:600;&:after{content:'';position:absolute;left:0;right:auto;top:100%;height:2px;width:100%;background-color:",";}"],e.theme.colors.text.main)),z=e=>{let{ariaControls:t,children:n,id:i,isActive:s,menuProps:a,title:d,variant:c,color:l,dropdownStyle:u={},borderRadius:p,compact:m=!1,disableActiveUnderline:g=!1,...E}=e,[_,h]=(0,o.useState)(!1),b=(0,o.useCallback)(()=>h(!_),[_]);return"dropdown"===c?(0,r.jsx)(o.Fragment,{children:(0,r.jsx)(B,{tooltipProps:{disableOverlayGutters:!0,hasArrow:!1,onVisibleWouldChange:b,placement:"bottom-start",visible:_},overlay:(0,r.jsx)(H,{id:i,style:u,children:n}),borderRadius:p,roundedCorners:!!p,children:(0,r.jsxs)(L,{"aria-controls":t,"aria-expanded":_,...(0,C.O4)(E),children:[(0,r.jsx)(F,{$isCompact:m,$disableActiveUnderline:g,isActive:s,variant:"nav",color:l,children:d}),(0,r.jsx)(G,{size:"16px",isOpen:_})]})})}):(0,r.jsxs)(o.Fragment,{children:[(0,r.jsxs)(k,{"aria-controls":t,"aria-expanded":_,isActive:s,onClick:b,...(0,C.O4)(E),children:[(0,r.jsx)(F,{$isCompact:m,$disableActiveUnderline:g,variant:"nav",color:l,children:d}),(0,r.jsx)(G,{size:"16px",isOpen:_})]}),_&&(0,r.jsx)(V,{id:t,children:n})]})};
1z.propTypes={ariaControls:_().string,children:_().node,id:_().string,isActive:_().bool,menuProps:_().shape({}),title:_().node.isRequired,variant:_().oneOf(["dropdown","inline"]),color:_().string,dropdownStyle:_().shape({}),borderRadius:_().string,compact:_().bool,disableActiveUnderline:_().bool},z.defaultProps={variant:"dropdown"};var $=n(19776);let W=s.Ay.div.withConfig({componentId:"sc-c5b26913-0"})(["margin-right:12px;width:24px;"]),Y=s.Ay.img.withConfig({componentId:"sc-c5b26913-1"})(["height:24px;width:24px;"]),Q=(0,s.Ay)(T.Ay).withConfig({componentId:"sc-c5b26913-2"})(["line-height:20px;letter-spacing:0em;text-align:left;"]),q=(0,s.Ay)($.A).withConfig({componentId:"sc-c5b26913-3"})(["display:flex;padding:12px;max-height:48px;border-radius:12px;transition:background-color 0.2s ease-in-out;"]),K=e=>{let{icon:t,text:n,to:i}=e;return(0,r.jsxs)(q,{to:i,onClick:()=>U.Ay.track(U.Ay.events.CTA_CLICKED,{destination:i,cta_location:"Nav",cta_type:"text"}),children:[t&&(0,r.jsx)(W,{children:"url"in t?(0,r.jsx)(Y,{src:t.url}):t}),(0,r.jsx)(Q,{variant:"body",children:n})]})},Z=e=>{let{links:t}=e;return t.map((e,t)=>{var n;return(0,r.jsx)(K,{icon:e.icon,text:e.title,to:e.url},null!=(n=e.url)?n:t)})},X=s.Ay.div.withConfig({componentId:"sc-2322a8f3-0"})(["margin-top:4px;"]),ee="#005FFF";function et(){let e=(0,i._)(["\n			width: 100%;\n			margin-top: 24px;\n		"]);return et=function(){return e},e}function en(){let e=(0,i._)(["\n		width: 100%;\n	"]);return en=function(){return e},e}function ei(){let e=(0,i._)(["\n		padding: 0px 36px 36px 36px;\n	"]);return ei=function(){return e},e}function er(){let e=(0,i._)(["\n		height: 88px;\n		min-height: 88px;\n	"]);return er=function(){return e},e}function eo(){let e=(0,i._)(["\n    width: 180px;\n    height: 32px;\n  "]);return eo=function(){return e},e}let es=s.Ay.nav.withConfig({componentId:"sc-9611e758-0"})(["display:flex;align-items:center;"]),ea=s.Ay.nav.withConfig({componentId:"sc-9611e758-1"})(["display:flex;align-items:center;"]),ed=(0,s.Ay)(p.A).withConfig({componentId:"sc-9611e758-2"})(["margin-left:16px;&&&{",";}",""],d.$_.belowMedium(et()),e=>e.$isNewBrandingEnabled&&"\n		color: ".concat(e.theme.colors.text.white,";\n		background: #005FFF;\n		border-radius: 33px;\n		height: 48px;\n		&:hover {\n			background: #2e72e7;\n			transform: scale(1.05);\n			transition: all 0.2s ease-in-out;\n		}\n	")),ec=(0,s.Ay)(p.A).withConfig({componentId:"sc-9611e758-3"})(["width:100%;min-height:35px;",";",""],d.$_.medium(en()),e=>e.$isNewBrandingEnabled&&"\n		color: ".concat(e.theme.colors.text.white,";\n		background: #005FFF;\n		border-radius: 33px;\n		height: 48px;\n		&:hover {\n			background: #2e72e7;\n			transform: scale(1.05);\n			transition: all 0.2s ease-in-out;\n		}\n	")),el=s.Ay.div.withConfig({componentId:"sc-9611e758-4"})(["padding:8px 0;margin-top:auto;"]),eu=(0,s.Ay)(I).withConfig({componentId:"sc-9611e758-5"})(["margin:0 16px;"]),ep=(0,s.Ay)(z).withConfig({componentId:"sc-9611e758-6"})(["margin:0 16px;"]),em=s.Ay.div.withConfig({componentId:"sc-9611e758-7"})(["display:flex;flex-direction:column;justify-content:flex-start;padding:0px 20px 20px 20px;height:100%;",";"],d.$_.medium(ei())),eg=s.Ay.div.withConfig({componentId:"sc-9611e758-8"})(["display:flex;align-items:center;justify-content:space-between;height:64px;min-height:64px;width:100%;margin-left:auto;margin-right:auto;",";margin-bottom:20px;"],d.$_.medium(er())),eE=s.Ay.div.withConfig({componentId:"sc-9611e758-9"})(["display:flex;align-items:center;gap:20px;"]),e_=(0,s.Ay)(l.A).withConfig({componentId:"sc-9611e758-10"})(["width:135px;height:24px;",";"],d.$_.medium(eo())),eh=s.Ay.div.withConfig({componentId:"sc-9611e758-11"})(["display:flex;justify-content:flex-start;align-items:center;margin:12px 0px;"]),eb=s.Ay.div.withConfig({componentId:"sc-9611e758-12"})(["margin:12px 0px;"]),ex=s.Ay.div.withConfig({componentId:"sc-9611e758-13"})(["display:flex;padding-top:12px;padding-bottom:12px;justify-content:center;align-items:center;border-radius:33px;transition:background 0.2s ease-in-out;&:hover{background:",";transform:scale(1.05);transition:all 0.2s ease-in-out;}"],e=>e.$useLightNewBrandingSurface?"rgba(17, 24, 39, 0.04)":"rgba(255, 255, 255, 0.1)"),eA=s.Ay.div.withConfig({componentId:"sc-9611e758-14"})(["display:flex;padding:12px 4px;justify-content:center;align-items:center;border-radius:33px;margin-left:8px;border:",";background:",";transition:border 0.2s ease-in-out;&:hover{background:",";transform:scale(1.05);transition:all 0.2s ease-in-out;}"],e=>e.$useLightNewBrandingSurface?"0.5px solid rgba(17, 24, 39, 0.12)":"0.5px solid ".concat(e.theme.colors.text.main),e=>e.$useLightNewBrandingSurface?"transparent":"rgba(255, 255, 255, 0.1)",e=>e.$useLightNewBrandingSurface?"rgba(17, 24, 39, 0.04)":"rgba(255, 255, 255, 0.1)"),ef=function(){let{fillColor:e,size:t,margin:n}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{fillColor:void 0,size:"18",margin:void 0};return{"/why-streamyard":(0,r.jsx)(R.mr0,{size:t,fill:e,style:{marginTop:n}}),"/guest-interviews":(0,r.jsx)(R.YvV,{size:t,fill:e,style:{marginTop:n}}),"/branding":(0,r.jsx)(R.GXh,{size:t,fill:e,style:{marginTop:n}}),"/multistreaming":(0,r.jsx)(R.mh3,{size:t,stroke:"3",fill:e,style:{marginTop:n}}),"/recordings-simplified":(0,r.jsx)(R.WA3,{size:t,fill:e,style:{marginTop:n}}),"/audience-engagement":(0,r.jsx)(R.ydn,{size:t,fill:e,style:{marginTop:n}}),"/podcasting-simplified":(0,r.jsx)(R.p2O,{size:t,fill:e,style:{marginTop:n}}),"/streamyard-on-air":(0,r.jsx)(R.E_m,{size:t,fill:e,style:{marginTop:n}}),"/video-repurposing":(0,r.jsx)(R.Y2W,{size:t,fill:e,style:{marginTop:n}})}},ev=e=>{var t;return null==(t=e.columns)?void 0:t.flatMap(e=>e).some(e=>"/why-streamyard"===e.url)},eT=e=>{let{activePage:t,header:n,redesign:i,isCustomLanding:s,useDarkNewBrandingSurface:a=!1}=e,l=!a,[p,m]=(0,o.useState)(!1),g=(0,o.useCallback)(()=>m(!1),[]),E=(0,o.useCallback)(()=>m(!0),[]),_=(0,h.d4)(O.Ax.isAuth),T=(0,P.Ub)(d.HP.large),C=(0,u.f4)();T&&p&&g();let[N,w]=(0,o.useMemo)(()=>["es","vi","de","fr"].includes(C)?[b.fC,b.J7]:[b.Jd,b.Rd],[C]),y=(0,o.useMemo)(()=>[{columns:[[{icon:(0,r.jsx)(X,{children:(0,r.jsx)(R.mr0,{size:"22",fill:ee})}),title:(0,r.jsx)(u.wD,{tid:"common.v2.header.product.menu.whyStreamYard"}),type:"link",url:"/why-streamyard"},{icon:(0,r.jsx)(X,{children:(0,r.jsx)(R.YvV,{size:"22",fill:ee})}),title:(0,r.jsx)(u.wD,{tid:"common.v2.header.product.menu.guests"}),type:"link",url:"/guest-interviews"},{icon:(0,r.jsx)(X,{children:(0,r.jsx)(R.GXh,{size:"22",fill:ee})}),title:(0,r.jsx)(u.wD,{tid:"common.v2.header.product.menu.branding"}),type:"link",url:"/branding"},{icon:(0,r.jsx)(X,{children:(0,r.jsx)(R.mh3,{size:"22",fill:ee})}),title:(0,r.jsx)(u.wD,{tid:"common.v2.header.product.menu.multistream"}),type:"link",url:"/multistreaming"},{icon:(0,r.jsx)(X,{children:(0,r.jsx)(R.WA3,{size:"22",fill:ee})}),title:(0,r.jsx)(u.wD,{tid:"common.v2.header.product.menu.recording"}),type:"link",url:"/recordings-simplified"},{icon:(0,r.jsx)(X,{children:(0,r.jsx)(R.ydn,{size:"22",fill:ee})}),title:(0,r.jsx)(u.wD,{tid:"common.v2.header.product.menu.engagement"}),type:"link",url:"/audience-engagement"},{icon:(0,r.jsx)(X,{children:(0,r.jsx)(R.p2O,{size:"22",fill:ee})}),title:(0,r.jsx)(u.wD,{tid:"common.v2.header.product.menu.podcasting"}),type:"link",url:"/podcasting-simplified"},{icon:(0,r.jsx)(X,{children:(0,r.jsx)(R.E_m,{size:"22",fill:ee})}),title:(0,r.jsx)(u.wD,{tid:"common.v2.header.product.menu.onAir"}),type:"link",url:"/streamyard-on-air"},{icon:(0,r.jsx)(X,{children:(0,r.jsx)(R.Y2W,{size:"22",fill:ee})}),title:(0,r.jsx)(u.wD,{tid:"common.v2.header.product.menu.videoRepurposing"}),type:"link",url:"/video-repurposing"}].filter(e=>void 0!==e)],title:(0,r.jsx)(u.wD,{tid:"common.v2.header.product"})},{title:(0,r.jsx)(u.wD,{tid:"common.v2.header.contact"}),type:"link",url:"/contact"},{title:(0,r.jsx)(u.wD,{tid:"common.v2.header.pricing"}),type:"link",url:"/pricing"},{title:(0,r.jsx)(u.wD,{tid:"common.v2.header.whatsNew"}),type:"link",url:"https://new.streamyard.com"},{title:(0,r.jsx)(u.wD,{tid:"common.v2.header.forBusiness"}),type:"link",url:"/business"}].filter(e=>void 0!==e),[]),S=(0,o.useMemo)(()=>{let e=y.find(ev),t=n||y;return e?t.map(t=>ev(t)?{...t,columns:e.columns}:t):t}
1,[y,n]),D=(0,o.useMemo)(()=>S.map(e=>{if(e.columns){let t=ef(l?{fillColor:"#005FFF",size:"20",margin:"6px"}:void 0);return{...e,columns:e.columns.map(e=>e.map(e=>({...e,icon:t[e.url]||e.icon})))}}return e}),[S,l]),j={label:(0,u.Bd)("common.v2.header.login")},J=(0,u.Bd)("common.v2.header.product"),M=(0,o.useCallback)(()=>{U.Ay.track(U.Ay.events.TOP_BAR_LOGIN_BUTTON_CLICKED)},[]),L=(0,o.useCallback)(()=>{U.Ay.track(U.Ay.events.TOP_BAR_SIGNUP_BUTTON_CLICKED)},[]);return(0,r.jsxs)(o.Fragment,{children:[(0,r.jsxs)(N,{id:"anon-nav-menu",children:[(0,r.jsx)(es,{children:D.map((e,n)=>{var i;if(!e.columns){let i=(0,r.jsx)(eu,{ariaLabel:"anon-nav-products",isActive:e.url===t,to:e.url,text:e.title,color:a?"white":void 0,compact:!0,disableUnderline:!0,onClick:()=>U.Ay.track(U.Ay.events.TOP_BAR_ITEM_CLICKED,{item:e.title})});return(0,r.jsx)(ex,{$useLightNewBrandingSurface:l,children:i},"".concat(n,"-link-wrapper"))}let o=e.columns.flatMap(e=>e).map(e=>{let{url:t}=e;return t}).includes(t),s=(0,r.jsx)(ep,{ariaControls:e.title===J?"nav-menu-product":"nav-menu-business",id:e.title===J?"nav-menu-product":"nav-menu-business",isActive:o,title:e.title,color:a?"white":void 0,compact:!0,disableActiveUnderline:!0,dropdownStyle:a?{borderRadius:"12px",background:"rgba(255, 255, 255, 0.05)",border:"1px solid rgba(255, 255, 255, 0.19)"}:{borderRadius:"12px",background:"#fff",border:"1px solid rgba(17, 24, 39, 0.08)"},borderRadius:"12px",onClick:()=>U.Ay.track(U.Ay.events.TOP_BAR_ITEM_CLICKED,{item:e.title}),children:null==(i=e.columns)?void 0:i.map((e,t)=>(0,r.jsx)(Z,{links:e},"column-".concat(t)))});return(0,r.jsx)(ex,{$useLightNewBrandingSurface:l,children:s},"".concat(n,"-menu-wrapper"))})}),_?(0,r.jsx)(ed,{$isNewBrandingEnabled:!0,size:"medium",to:"/broadcasts",children:(0,r.jsx)(u.wD,{tid:"common.openDashboard"})}):(0,r.jsxs)(ea,{children:[(0,r.jsx)(eA,{$useLightNewBrandingSurface:l,children:(0,r.jsx)(eu,{to:"/login",text:(0,r.jsx)(u.wD,{tid:"common.v2.header.login"}),color:a?"white":void 0,disableUnderline:!0,compact:!0,onClick:M})}),(0,r.jsx)(ed,{$isNewBrandingEnabled:!0,size:"medium",to:"/signup",onClick:L,children:s?(0,r.jsx)(u.wD,{tid:"common.v2.header.getStarted.free"}):(0,r.jsx)(u.wD,{tid:"common.v2.header.getStarted"})})]})]}),(0,r.jsxs)(w,{children:[(0,r.jsx)(v.A,{id:"anon-nav-menu",aria:j,fullScreen:!0,isOpen:p,onRequestClose:g,hideCloseButton:!0,children:(0,r.jsxs)(em,{children:[(0,r.jsxs)(eg,{children:[(0,r.jsx)(c.A,{children:(0,r.jsx)(e_,{variant:"combination"})}),(0,r.jsx)(x.A,{"aria-haspopup":!0,"aria-label":(0,u.Bd)("common.menu.close"),onClick:g,children:(0,r.jsx)(A.A,{})})]}),D.map((e,n)=>{var i;return e.columns?(0,r.jsx)(eb,{children:(0,r.jsx)(z,{ariaControls:e.title===J?"nav-menu-product":"nav-menu-business",isActive:e.columns.flatMap(e=>e).map(e=>{let{url:t}=e;return t}).includes(t),title:e.title,variant:"inline",compact:!0,disableActiveUnderline:!0,children:null==(i=e.columns)?void 0:i.map((e,t)=>(0,r.jsx)(Z,{links:e},"column-".concat(t)))})},"".concat(n,"-menu")):(0,r.jsx)(eh,{children:(0,r.jsx)(I,{isActive:e.url===t,to:e.url,text:e.title,compact:!0})},"".concat(n,"-link"))}),!_&&(0,r.jsx)(eh,{children:(0,r.jsx)(I,{to:"/login",text:(0,r.jsx)(u.wD,{tid:"common.v2.header.login"}),compact:!0,onClick:M})}),(0,r.jsx)(el,{children:_?(0,r.jsx)(ec,{size:"medium",to:"/broadcasts",children:(0,r.jsx)(u.wD,{tid:"common.openDashboard"})}):(0,r.jsx)(ec,{$isNewBrandingEnabled:!0,size:"medium",to:"/signup",onClick:L,children:s?(0,r.jsx)(u.wD,{tid:"common.v2.header.getStarted.free"}):(0,r.jsx)(u.wD,{tid:"common.v2.header.getStarted"})})})]})}),(0,r.jsxs)(eE,{children:[i&&(0,r.jsx)(ec,{$isNewBrandingEnabled:!0,size:"medium",to:"/signup",onClick:L,children:s?(0,r.jsx)(u.wD,{tid:"common.v2.header.getStarted.free"}):(0,r.jsx)(u.wD,{tid:"common.v2.header.getStarted"})}),(0,r.jsx)(x.A,{"aria-haspopup":!0,"aria-label":(0,u.Bd)("common.menu.open"),onClick:E,"aria-expanded":p,"aria-controls":"anon-nav-menu",children:(0,r.jsx)(f.A,{})})]})]})]})};function eU(){let e=(0,i._)(["\n				padding-bottom: ","px;\n			"]);return eU=function(){return e},e}function eC(){let e=(0,i._)(["\n				padding-bottom: ","px;\n			"]);return eC=function(){return e},e}function eN(){let e=(0,i._)(["\n				padding-bottom: 0px;\n				height: 0px;\n			"]);return eN=function(){return e},e}function ew(){let e=(0,i._)(["\n		max-width: ",";\n		height: ","px;\n	"]);return ew=function(){return e},e}function ey(){let e=(0,i._)(["\n		width: 180px;\n		height: 32px;\n  "]);return ey=function(){return e},e}eT.propTypes={activePage:_().string,header:_().array,redesign:_().bool,isCustomLanding:_().bool,useDarkNewBrandingSurface:_().bool};let eS={mobileHeight:88,desktopHeight:64},eI={mobileHeight:64,desktopHeight:76,topOffset:40,verticalPadding:14,reservedSpace:{mobile:176,desktop:204}},eO=(0,s.Ay)("header").withConfig({componentId:"sc-3c14210-0"})(["flex:0;width:100%;"," "," ",""],e=>{let{$usesStickyHeader:t}=e;return t&&(0,s.AH)(["padding-bottom:","px;",""],eS.mobileHeight,d.$_.medium(eU(),eS.desktopHeight))},e=>{let{$useDarkNewBrandingSurface:t,$useNewBrandingChrome:n}=e;return n&&!t&&(0,s.AH)(["padding-bottom:","px;",""],eI.reservedSpace.mobile,d.$_.medium(eC(),eI.reservedSpace.desktop))},e=>{let{$useDarkNewBrandingSurface:t}=e;return t&&(0,s.AH)(["padding-bottom:0px;height:0px;",""],d.$_.medium(eN()))}),eP=(0,s.Ay)("div").withConfig({componentId:"sc-3c14210-1"})(["width:100%;height:","px;display:flex;align-items:center;justify-content:",";padding:0 24px;margin-left:auto;margin-right:auto;",";"," ",""],e=>{let{$useNewBrandingChrome:t}=e;return t?eI.mobileHeight:eS.mobileHeight},e=>{let{centered:t}=e;return t?"space-around":"space-between"},d.$_.medium(ew(),e=>{let{$useNewBrandingChrome:t}=e;return t?"1540px":"1352px"},e=>{let{$useNewBrandingChrome:t}=e;return t?eI.desktopHeight:eS.desktopHeight}),e=>{let{$useNewBrandingChrome:t}=e;return t&&(0,s.AH)(["margin-top:","px;border-radius:24px;padding-top:","px;padding-bottom:","px;padding-left:24px;padding-right:14px;position:relative;"],eI.topOffset,eI.verticalPadding,eI.verticalPadding)},e=>{let{$useDarkNewBrandingSurface:t,$useNewBrandingChrome:n}=e;return n&&(t?(0,s.AH)(["background:rgba(0,0,0,0.3);backdrop-filter:blur(10px);-webkit-backdrop-filter:blur(10px);&::before{content:'';position:absolute;inset:0;border-radius:24px;padding:0.5px;background:linear-gradient( to right,#ffffff 0%,#575555 40%,#ffffff 80%,#575555 100% );-webkit-mask:linear-gradient(#fff 0 0) content-box,linear-gradient(#fff 0 0);-webkit-mask-composite:xor;mask-composite:exclude;pointer-events:none;}"]):(0,s.AH)(["background:rgba(255,255,255,0.82);backdrop-filter:blur(10px);-webkit-backdrop-filter:blur(10px);box-shadow:0 10px 32px rgba(15,23,42,0.08);border:1px solid rgba(15,23,42,0.08);"]))}),eR=(0,s.Ay)("div").withConfig({componentId:"sc-3c14210-2"})(["width:100%;background:",";",";",""],e=>{let{theme:t,$useNewBrandingChrome:n}=e;return n?"transparent":t.colors.white},e=>{let{sticky:t,isVisible:n}=e;return t&&(0,s.AH)(["position:fixed;z-index:1000;top:",";left:0;right:0;animation:top 0.25s ease-out;transition:top 0.25s ease-out;
1"],n?"0px":"-88px")},e=>{let{$useNewBrandingChrome:t}=e;return t&&(0,s.AH)(["padding-inline:max(1%,calc((100% - 1540px) / 2));"])}),eD=s.Ay.div.withConfig({componentId:"sc-3c14210-3"})(["position:relative;display:flex;"]),ej=(0,s.Ay)(l.A).withConfig({componentId:"sc-3c14210-4"})(["width:135px;height:24px;",";"],d.$_.medium(ey())),eJ=(0,s.Ay)(c.A).withConfig({componentId:"sc-3c14210-5"})(["display:block;",";&:focus-visible:not(:active){box-shadow:",";}"],e=>{let{centered:t}=e;return t&&(0,s.AH)(["position:absolute;top:50%;left:50%;transform:translateX(-50%) translateY(-50%);"])},e=>{let{theme:t}=e;return t.misc.focusShadow}),eM=e=>{var t;let n=null!=(t=e.useDarkNewBrandingSurface)&&t;return(0,r.jsx)(eO,{role:"banner",$usesStickyHeader:!0,$useDarkNewBrandingSurface:n,$useNewBrandingChrome:!0,children:(0,r.jsx)(eR,{sticky:!0,isVisible:a.B_&&window.scrollY>=400||!0,$useNewBrandingChrome:!0,children:(0,r.jsxs)(eP,{$useDarkNewBrandingSurface:n,$useNewBrandingChrome:!0,children:[(0,r.jsxs)(eD,{children:[(0,r.jsx)(eJ,{to:"/",children:(0,r.jsx)(ej,{variant:"combination"})}),(0,r.jsx)(g,{})]}),(0,r.jsx)(eT,{...e,redesign:!0,useDarkNewBrandingSurface:n})]})})})}},55264:(e,t,n)=>{n.d(t,{Ff:()=>d,QN:()=>o,Tp:()=>m,o1:()=>s});var i=n(11415),r=n(7761);let o={SERVICE_LOADED:"juno/service_loaded",JUNO_CUSTOMER_GET:"juno/get",JUNO_CUSTOMER_UPDATE:"juno/update",JUNO_CUSTOMER_UPDATE_SUCCEEDED:"juno/update/succeeded",JUNO_CUSTOMER_UPDATE_FAILED:"juno/update/failed",JUNO_PAYMENT_METHOD_GET:"juno/payment_method/get",JUNO_PAYMENT_METHOD_GET_SUCCEEDED:"juno/payment_method/get/succeeded",JUNO_PAYMENT_METHOD_GET_FAILED:"juno/payment_method/get/failed",JUNO_SUBSCRIPTION_UPDATE:"juno/subscribe",JUNO_SUBSCRIPTION_UPDATE_SUCCEEDED:"juno/subscribe/succeeded",JUNO_SUBSCRIPTION_UPDATE_FAILED:"juno/subscribe/failed",JUNO_GET_ALL_DATA:"juno/get_all_data",JUNO_INIT_DATA:"juno/init_data",JUNO_INIT_DATA_SUCCEEDED:"juno/init_data/succeeded",JUNO_INIT_DATA_FAILED:"juno/init_data/failed",JUNO_GET_ENTERPRISE_SUBSCRIPTION:"juno/get_enterprise_subscription",JUNO_GET_ENTERPRISE_SUBSCRIPTION_SUCCEEDED:"juno/get_enterprise_subscription/succeeded",JUNO_GET_ENTERPRISE_SUBSCRIPTION_FAILED:"juno/get_enterprise_subscription/failed",JUNO_SET_AUTO_RENEW:"juno/set_auto_renew",JUNO_SET_AUTO_RENEW_SUCCEEDED:"juno/set_auto_renew/succeeded",JUNO_SET_AUTO_RENEW_FAILED:"juno/set_auto_renew/failed",JUNO_GET_CHARGE_PREVIEW:"juno/get_charge_preview",JUNO_GOT_CHARGE_PREVIEW:"juno/got_charge_preview",JUNO_GET_CHARGE_PREVIEW_FAILED:"juno/get_charge_preview/failed",JUNO_GET_INVOICES:"juno/get_invoices",JUNO_GOT_INVOICES:"juno/get_invoices/succeeded",JUNO_GET_INVOICES_FAILED:"juno/get_invoices/failed",JUNO_UPDATE_PURCHASE_ORDER_NUMBER:"juno/update_purchase_order_number",JUNO_UPDATED_PURCHASE_ORDER_NUMBER:"juno/update_purchase_order_number/success",JUNO_UPDATE_PURCHASE_ORDER_NUMBER_FAILED:"juno/update_purchase_order_number/failed",JUNO_CLEAR_SUBSCRIPTION_STATE:"juno/subscribe/clear"},s={serviceLoaded:(0,i.VP)(o.SERVICE_LOADED),getJunoCustomer:(0,i.VP)(o.JUNO_CUSTOMER_GET),updateJunoCustomer:(0,i.VP)(o.JUNO_CUSTOMER_UPDATE),junoCustomerUpdated:(0,i.VP)(o.JUNO_CUSTOMER_UPDATE_SUCCEEDED),junoCustomerUpdateFailed:(0,i.VP)(o.JUNO_CUSTOMER_UPDATE_FAILED),getJunoPaymentMethod:(0,i.VP)(o.JUNO_PAYMENT_METHOD_GET),junoPaymentMethodUpdated:(0,i.VP)(o.JUNO_PAYMENT_METHOD_GET_SUCCEEDED),junoPaymentMethodUpdateFailed:(0,i.VP)(o.JUNO_PAYMENT_METHOD_GET_FAILED),updateSubscription:(0,i.VP)(o.JUNO_SUBSCRIPTION_UPDATE),updateSubscriptionSucceeded:(0,i.VP)(o.JUNO_SUBSCRIPTION_UPDATE_SUCCEEDED),updateSubscriptionFailed:(0,i.VP)(o.JUNO_SUBSCRIPTION_UPDATE_FAILED),getAllData:(0,i.VP)(o.JUNO_GET_ALL_DATA),initJunoData:(0,i.VP)(o.JUNO_INIT_DATA),initJunoDataSucceeded:(0,i.VP)(o.JUNO_INIT_DATA_SUCCEEDED),initJunoDataFailed:(0,i.VP)(o.JUNO_INIT_DATA_FAILED),getEnterpriseSubscription:(0,i.VP)(o.JUNO_GET_ENTERPRISE_SUBSCRIPTION),gotEnterpriseSubscription:(0,i.VP)(o.JUNO_GET_ENTERPRISE_SUBSCRIPTION_SUCCEEDED),getEnterpriseSubscriptionFailed:(0,i.VP)(o.JUNO_GET_ENTERPRISE_SUBSCRIPTION_FAILED),setEnterpriseAutoRenew:(0,i.VP)(o.JUNO_SET_AUTO_RENEW),setEnterpriseAutoRenewSucceeded:(0,i.VP)(o.JUNO_SET_AUTO_RENEW_SUCCEEDED),setEnterpriseAutoRenewFailed:(0,i.VP)(o.JUNO_SET_AUTO_RENEW_FAILED),getChargePreview:(0,i.VP)(o.JUNO_GET_CHARGE_PREVIEW),gotChargePreview:(0,i.VP)(o.JUNO_GOT_CHARGE_PREVIEW),getChargePreviewFailed:(0,i.VP)(o.JUNO_GET_CHARGE_PREVIEW_FAILED),getInvoices:(0,i.VP)(o.JUNO_GET_INVOICES),gotInvoices:(0,i.VP)(o.JUNO_GOT_INVOICES),getInvoicesFailed:(0,i.VP)(o.JUNO_GET_INVOICES_FAILED),updatePurchaseOrderNumber:(0,i.VP)(o.JUNO_UPDATE_PURCHASE_ORDER_NUMBER),updatedPurchaseOrderNumber:(0,i.VP)(o.JUNO_UPDATED_PURCHASE_ORDER_NUMBER),updatePurchaseOrderNumberFailed:(0,i.VP)(o.JUNO_UPDATE_PURCHASE_ORDER_NUMBER_FAILED),clearJunoSubscriptionState:(0,i.VP)(o.JUNO_CLEAR_SUBSCRIPTION_STATE)},a={customer:null,customerUpdating:!1,customerUpdateError:null,paymentMethod:null,enterpriseSubscription:null,enterpriseSubscriptionError:null,customerLoading:!1,enterpriseSubscriptionLoading:!1,paymentMethodLoading:!1,subscribeLoading:!1,subscribeError:null,setAutoRenewLoading:!1,setAutoRenewError:null,chargePreview:null,chargePreviewLoading:!1,chargePreviewError:null,invoices:null,invoicesLoading:!1,invoicesError:null,purchaseOrderNumberUpdating:!1},d=(0,i.MY)({[o.JUNO_CUSTOMER_GET]:e=>({...e,customerLoading:!0}),[o.JUNO_CUSTOMER_UPDATE]:e=>({...e,customerUpdating:!0,customerUpdateError:null,subscribeError:null}),[o.JUNO_CUSTOMER_UPDATE_SUCCEEDED]:(e,t)=>{let{payload:n}=t;return{...e,customer:n,customerUpdating:!1,customerUpdateError:null,customerLoading:!1,subscribeError:null}},[o.JUNO_CUSTOMER_UPDATE_FAILED]:(e,t)=>{let{payload:n}=t;return{...e,customer:null,customerUpdating:!1,customerUpdateError:n,customerLoading:!1,subscribeError:null}},[o.JUNO_PAYMENT_METHOD_GET]:e=>({...e,paymentMethodLoading:!0}),[o.JUNO_PAYMENT_METHOD_GET_SUCCEEDED]:(e,t)=>{let{payload:n}=t;return{...e,paymentMethodLoading:!1,paymentMethod:n}},[o.JUNO_PAYMENT_METHOD_GET_FAILED]:e=>({...e,paymentMethodLoading:!1}
1),[o.JUNO_GET_CHARGE_PREVIEW]:e=>({...e,chargePreview:null,chargePreviewLoading:!0,chargePreviewError:null}),[o.JUNO_GOT_CHARGE_PREVIEW]:(e,t)=>{let{payload:n}=t;return{...e,chargePreview:n,chargePreviewLoading:!1,chargePreviewError:null}},[o.JUNO_GET_CHARGE_PREVIEW_FAILED]:(e,t)=>{let{payload:n}=t;return{...e,chargePreview:null,chargePreviewLoading:!1,chargePreviewError:n}},[o.JUNO_SUBSCRIPTION_UPDATE]:e=>({...e,subscribeLoading:!0,subscribeError:null}),[o.JUNO_SUBSCRIPTION_UPDATE_SUCCEEDED]:(e,t)=>{let{payload:n}=t;return{...e,enterpriseSubscription:n,subscribeLoading:!1,subscribeError:null}},[o.JUNO_SUBSCRIPTION_UPDATE_FAILED]:(e,t)=>{let{payload:n}=t;return{...e,subscribeLoading:!1,subscribeError:n}},[o.JUNO_GET_ENTERPRISE_SUBSCRIPTION]:e=>({...e,enterpriseSubscription:null,enterpriseSubscriptionError:null,enterpriseSubscriptionLoading:!0}),[o.JUNO_GET_ENTERPRISE_SUBSCRIPTION_SUCCEEDED]:(e,t)=>{let{payload:n}=t;return{...e,enterpriseSubscription:n,enterpriseSubscriptionError:null,enterpriseSubscriptionLoading:!1}},[o.JUNO_GET_ENTERPRISE_SUBSCRIPTION_FAILED]:(e,t)=>{let{payload:n}=t;return{...e,enterpriseSubscription:null,enterpriseSubscriptionError:n,enterpriseSubscriptionLoading:!1}},[o.JUNO_SET_AUTO_RENEW]:e=>({...e,setAutoRenewLoading:!0,setAutoRenewError:null}),[o.JUNO_SET_AUTO_RENEW_SUCCEEDED]:(e,t)=>{let{payload:n}=t;return{...e,enterpriseSubscription:n,setAutoRenewLoading:!1,setAutoRenewError:null}},[o.JUNO_SET_AUTO_RENEW_FAILED]:(e,t)=>{let{payload:n}=t;return{...e,setAutoRenewLoading:!1,setAutoRenewError:n}},[o.JUNO_GET_INVOICES]:e=>({...e,invoices:null,invoicesLoading:!0,invoicesError:null}),[o.JUNO_GOT_INVOICES]:(e,t)=>{let{payload:n}=t;return{...e,invoices:n,invoicesLoading:!1,invoicesError:null}},[o.JUNO_GET_INVOICES_FAILED]:(e,t)=>{let{payload:n}=t;return{...e,invoices:null,invoicesLoading:!1,invoicesError:n}},[o.JUNO_UPDATE_PURCHASE_ORDER_NUMBER]:e=>({...e,purchaseOrderNumberUpdating:!0}),[o.JUNO_UPDATED_PURCHASE_ORDER_NUMBER]:(e,t)=>{var n;let{payload:i}=t;return{...e,purchaseOrderNumberUpdating:!1,invoices:(null==(n=e.invoices)?void 0:n.map(e=>e.id===i.id?i:e))||null}},[o.JUNO_UPDATE_PURCHASE_ORDER_NUMBER_FAILED]:e=>({...e,purchaseOrderNumberUpdating:!1}),[o.JUNO_CLEAR_SUBSCRIPTION_STATE]:e=>({...e,enterpriseSubscription:null})},a),c=e=>
1e.juno||a,l=(0,r.Mz)(c,e=>e.customerLoading||e.customerUpdating),u=(0,r.Mz)(c,e=>e.enterpriseSubscriptionLoading||e.subscribeLoading),p=(0,r.Mz)(c,e=>e.paymentMethodLoading),m={getJunoCustomer:(0,r.Mz)(c,e=>e.customer),getIsJunoCustomerLoading:l,getIsJunoCustomerUpdating:(0,r.Mz)(c,e=>e.customerUpdating),getJunoCustomerUpdateError:(0,r.Mz)(c,e=>e.customerUpdateError),getIsJunoDataLoading:(0,r.Mz)(l,u,p,(e,t,n)=>e||t||n),getIsJunoDataLoaded:(0,r.Mz)(c,e=>e.customer&&e.paymentMethod&&e.enterpriseSubscription),getJunoPaymentMethod:(0,r.Mz)(c,e=>e.paymentMethod),getIsJunoPaymentMethodLoading:p,getIsJunoSubscribeLoading:(0,r.Mz)(c,e=>e.subscribeLoading),getIsJunoEnterpriseSubscriptionLoading:u,getJunoSubscribeError:(0,r.Mz)(c,e=>e.subscribeError),getEnterpriseSubscription:(0,r.Mz)(c,e=>e.enterpriseSubscription),getEnterpriseSeatUnitPrice:(0,r.Mz)(c,e=>{let t=e.enterpriseSubscription;if(!t)return 0;let n=t.userInfo.activeCurrency;if(t.units>1){var i;return((null==(i=t.overridePrice)?void 0:i[n])||t.autoRenewable.pricePoint.prices[n])/100}let r=t.addOns.find(e=>e.tags.includes("seat"));return r?r.pricePoint.prices[n]/100:0}),getEnterpriseSubscriptionPrice:(0,r.Mz)(c,e=>{let t=e.enterpriseSubscription;if(!t)return 0;let n=t.userInfo.activeCurrency,i=t.units;return t.overridePrice?t.overridePrice[n]*i/100:t.addOns.reduce((e,t)=>e+t.pricePoint.prices[n]*(t.units||i),t.autoRenewable.pricePoint.prices[n]*i)/100}),getEnterpriseSubscriptionRenewalDate:(0,r.Mz)(c,e=>{let t=e.enterpriseSubscription;return t?t.renewalDate:null}),isEnterpriseAutoRenewOff:(0,r.Mz)(c,e=>!!e.enterpriseSubscription&&!!e.enterpriseSubscription.endDate&&!e.enterpriseSubscription.nextSubscription),getEnterpriseSubscriptionError:(0,r.Mz)(c,e=>e.enterpriseSubscriptionError),getIsSetAutoRenewLoading:(0,r.Mz)(c,e=>e.setAutoRenewLoading),getSetAutoRenewError:(0,r.Mz)(c,e=>e.setAutoRenewError),getChargePreview:(0,r.Mz)(c,e=>e.chargePreview),getChargePreviewError:(0,r.Mz)(c,e=>e.chargePreviewError),getChargePreviewLoading:(0,r.Mz)(c,e=>e.chargePreviewLoading),getInvoices:(0,r.Mz)(c,e=>e.invoices),invoicesLoading:(0,r.Mz)(c,e=>e.invoicesLoading),getInvoicesError:(0,r.Mz)(c,e=>e.invoicesError),isPurchaseOrderNumberUpdating:(0,r.Mz)(c,e=>e.purchaseOrderNumberUpdating)}},59987:(e,t,n)=>{n.d(t,{Q_:()=>i,pT:()=>r});let{JunoPeriodicity:i,JunoSubscriptionState:r,JunoInvoiceStatus:o}=n(20394).Juno},71145:(e,t,n)=>{n.d(t,{Bg:()=>a,KR:()=>o,M4:()=>d,Zs:()=>s});var i=n(16975),r=n(59987);let o=e=>{if(e.units>1)return e.units;let t=e.addOns.filter(e=>e.tags.includes("seat")).reduce((t,n)=>{var i;return t+(null!=(i=n.units)?i:e.units)},0);return i.ybL.business+t},s=e=>{let{phases:t}=e.autoRenewable,n={[r.Q_.Yearly]:i.RZL.YEAR,[r.Q_.Monthly]:i.RZL.MONTH}[t[t.length-1].periodicity];if(!n)throw Error("Invalid subscription periodicity");return n},a=e=>e===i.RZL.MONTH||e===i.RZL.YEAR,d=e=>"businessCancellationDiscount"===e||"lateStageDismissDiscount"===e||(0,i.MvZ)(e)},73566:(e,t,n)=>{n.d(t,{F:()=>p});var i=n(68658),r=n(59272),o=n(16975),s=n(48319),a=n(92845),d=n(35191),c=n(661),l=n(17861);let u=(e,t)=>{if(void 0===e)return!1;if(void 0===t)return!0;let n=e.split("."),i=t.split("."),r=n.map((e,t)=>[e,i[t]]).find(e=>{let[t,n]=e;return t!==n});if(void 0===r)return!1;let o=r.map(e=>parseInt(e||"-1",10));return o[0]>o[1]},p=e=>{let{acknowledgedAiImageGenerationTermsVersion:t,acknowledgedAutomaticRenewalTermsVersion:n,acknowledgedPrivacyNoticeVersion:p,acknowledgedTermsOfServiceVersion:m,acknowledgedGlobalTermsVersion:g}=(0,r.d4)(l.Ax.getUser),{norTermsVersion:E,legalPages:{privacyNotice:_,termsOfService:h,globalTerms:b,aiImageGenerationTerms:x}}=c.A.orion,A=u(_.version,p),f=u(h.version,m),v=u(h.version,g),T=u(x.version,t),U=(e=>{let t=(0,r.d4)(a.R_.getPlan),n=(0,r.d4)(s.aV.hasCustomerLoaded),c=(0,r.d4)(s.aV.getAddress),l=(0,r.d4)(s.aV.getTaxId),u=(0,r.d4)(d.PY.getJunoCustomer),p=(e||t)===o.NBS.BUSINESS;return(0,i.useMemo)(()=>p&&u?{line1:u.billingAddress.street,line2:void 0,city:u.billingAddress.city,state:u.billingAddress.state,country:u.billingAddress.country,postalCode:u.billingAddress.zipCode,taxId:u.billingAddress.vatId}:!p&&n&&c?{line1:c.line1,line2:c.line2,city:c.city,state:c.state,country:c.country,postalCode:c.postalCode,taxId:l}:{line1:void 0,line2:void 0,city:void 0,state:void 0,country:void 0,postalCode:void 0,taxId:void 0},[p,u,n,c,l])})(e),C="control"!==E&&(null==U?void 0:U.country)==="US",N=(0,r.wA)(),w=(0,i.useCallback)(e=>{let{includeAiImageGenerationTerms:t=!1,includeAutomaticRenewalTerms:n=!1,includeGlobalTerms:i=!1,includePrivacyNotice:r=!1,includeTermsOfService:o=!1}=e;return e=>{N(l.Xp.setPnTosAcknowledgements({...t&&{aiImageGenerationTermsVersion:x.version},...r&&{privacyNoticeVersion:_.version},...n&&{automaticRenewalTermsVersion:E},...i&&{globalTermsVersion:b.version},...o&&{termsOfServiceVersion:h.version},acceptMarketingCommunications:e}))}}
1,[N,x.version,_.version,E,b.version,h.version]);return{aiImageGenerationTerms:x,globalTerms:b,privacyNotice:_,termsOfService:h,shouldAcknowledgeAiImageGenerationTerms:T,shouldAcknowledgeAutomaticRenewalTerms:C&&u(E,n),shouldShowAutoRenewalSection:C,shouldAcknowledgePn:A,shouldAcknowledgePlatformTerms:v,shouldAcknowledgeTos:f,shouldAcknowledgePnPlatformTerms:A||v,acknowledge:w,acknowledgeAiImageGenerationTerms:w({includeAiImageGenerationTerms:!0}),acknowledgeAllLegalPages:w({includeGlobalTerms:!0,includePrivacyNotice:!0,includeTermsOfService:!0})}}},84578:(e,t,n)=>{n.d(t,{J7:()=>d,Jd:()=>o,Rd:()=>a,fC:()=>s});var i=n(7912),r=n(89495);let o=r.Ay.div.withConfig({componentId:"sc-1a906621-0"})(["@media ","{display:none;}display:flex;",""],i.HP.belowLarge,e=>{let{isCustomLanding:t}=e;return t&&(0,r.AH)(["justify-content:space-between;min-width:85%;@media (max-width:1480px){padding-right:99px;}"])}),s=r.Ay.div.withConfig({componentId:"sc-1a906621-1"})(["@media (max-width:1068px){display:none;}display:flex;",""],e=>{let{isCustomLanding:t}=e;return t&&(0,r.AH)(["justify-content:space-between;min-width:85%;@media (max-width:1480px){padding-right:99px;}"])}),a=r.Ay.div.withConfig({componentId:"sc-1a906621-2"})(["@media ","{display:none;}display:flex;"],i.HP.large),d=r.Ay.div.withConfig({componentId:"sc-1a906621-3"})(["@media (min-width:1068px){display:none;}display:flex;"])}}]);
2//# sourceMappingURL=5476-65b53804de6d4b48.js.map

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.