티스토리 수익 글 보기
“use strict”;(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[10570],{645117:function(e,n,a){a.d(n,{MM:function(){return p},al:function(){return m},Wh:function(){return h}});var t=a(130097),i=a(222180);async function r(e){var n;let{baseUrl:a,select:t,variables:r,query:o,…s}=e,l=await fetch(“”.concat(a,”/me/payment_methods?”).concat((0,i.Ov)(o),”&fields=”).concat(t.map(i.Rb).join(“,”)),{…s,method:”GET”,body:JSON.stringify((0,i.mH)(r))});if(!l.ok)throw new i.F7(“A network error occurred”,l.status,l);if(204===l.status)return null;if(!(null===(n=l.headers.get(“content-type”))||void 0===n?void 0:n.match(/^application\/(.+)?json$/)))throw Error(“Expected JSON response”);let u=await l.json();return(0,i.l_)(u)}async function o(e){var n;let{baseUrl:a,select:t,variables:r,…o}=e,s=await fetch(“”.concat(a,”/me/payment_methods?fields=”).concat(t.map(i.Rb).join(“,”)),{…o,method:”POST”,body:JSON.stringify((0,i.mH)(r))});if(!s.ok)throw new i.F7(“A network error occurred”,s.status,s);if(204===s.status)return null;if(!(null===(n=s.headers.get(“content-type”))||void 0===n?void 0:n.match(/^application\/(.+)?json$/)))throw Error(“Expected JSON response”);let l=await s.json();return(0,i.l_)(l)}var s=a(652983),l=a(227434),u=a(479394),c=a(973142),d=a(115556),g=a(173656);function p(e,n){let a=”function”==typeof e?e():e,{baseUrl:i,jwt:o,xVimeoPage:s,locale:u}=(0,d.r)();return(0,l.ZP)(a?”/me/payment_methods”.concat((0,t.Y$)(a)):()=>null,a?()=>r({…a,headers:{…a.headers,”Content-Type”:”application/json”,Authorization:o?”jwt “.concat(o):””,”Vimeo-Page”:””.concat(s),”Accept-Language”:null!=u?u:”en”},baseUrl:i}):null,n)}function m(){let{mutate:e}=(0,u.kY)(),{baseUrl:n,jwt:a,xVimeoPage:i,locale:o}=(0,d.r)(),[l,c]=(0,t.AC)();return[(0,s.useCallback)(async s=>{c({type:”REQUEST”});try{let l=await e(“/me/payment_methods”.concat((0,t.Y$)(s)),r({…s,baseUrl:n,headers:{…s.headers,”Content-Type”:”application/json”,Authorization:a?”jwt “.concat(a):””,”Vimeo-Page”:””.concat(i),”Accept-Language”:null!=o?o:”en”}}));c({type:”SUCCESS”,payload:l})}catch(e){c({type:”FAILURE”,payload:e})}},[n,i,a,o,c]),l]}function h(){let{baseUrl:e,jwt:n,xVimeoPage:a,locale:i}=(0,d.r)(),[r,l]=(0,t.AC)();return[(0,s.useCallback)(async t=>{l({type:”REQUEST”});try{let r=await o({…t,baseUrl:e,headers:{…t.headers,”Content-Type”:”application/json”,Authorization:n?”jwt “.concat(n):””,”Vimeo-Page”:””.concat(a),”Accept-Language”:null!=i?i:”en”}});l({type:”SUCCESS”,payload:r})}catch(e){l({type:”FAILURE”,payload:e})}},[e,a,n,i,l]),r]}”true”===g.env.STORYBOOK&&(0,t.MR)(p,{endpoint:”/me/payment_methods”,method:”GET”}),”true”===g.env.STORYBOOK&&(0,t.MR)(m,{endpoint:”/me/payment_methods”,method:”GET”}),”true”===g.env.STORYBOOK&&(0,t.MR)(function(e,n){let a=”function”==typeof e?e():e,{baseUrl:t,jwt:i,xVimeoPage:o,locale:s}=(0,d.r)();return(0,c.ZP)((e,n)=>{var t;if(null===a||n&&!n.paging.next)return null;let{perPage:i=25,page:r,…o}=null!==(t=a.query)&&void 0!==t?t:{},s=a.select.join(“,”),l=Object.entries(null!=o?o:{}).filter(e=>{let[,n]=e;return void 0!==n}).map(e=>{let[n,a]=e;return””.concat(n,”=”).concat(a)}).join(“&”);return[“/me/payment_methods?page=”.concat(e+1,”&perPage=”).concat(i,”&fields=”).concat(s,”&”).concat(l),e]},null!==a?e=>{let[n,l]=e;return r({…a,baseUrl:t,headers:{…a.headers,”Content-Type”:”application/json”,Authorization:i?”jwt “.concat(i):””,”Vimeo-Page”:””.concat(o),”Accept-Language”:null!=s?s:”en”},query:{…a.query,page:l+1}})}:null,n)},{endpoint:”/me/payment_methods”,method:”GET”}),”true”===g.env.STORYBOOK&&(0,t.MR)(h,{endpoint:”/me/payment_methods”,method:”POST”})},257251:function(e,n,a){a.d(n,{qh:function(){return g}});var t=a(222180);async function i(e){var n;let{baseUrl:a,select:i,where:{userId:r},query:o,…s}=e,l=await fetch(“”.concat(a,”/users/”).concat(r,”/settings/billing/payment_methods?”).concat((0,t.Ov)(o),”&fields=”).concat(i.map(t.Rb).join(“,”)),{…s,method:”GET”});if(!l.ok)throw new t.F7(“A network error occurred”,l.status,l);if(204===l.status)return null;if(!(null===(n=l.headers.get(“content-type”))||void 0===n?void 0:n.match(/^application\/(.+)?json$/)))throw Error(“Expected JSON response”);let u=await l.json();return(0,t.l_)(u)}var r=a(227434),o=a(479394),s=a(130097),l=a(652983),u=a(973142),c=a(115556),d=a(173656);function g(){let{mutate:e}=(0,o.kY)(),{baseUrl:n,jwt:a,xVimeoPage:t,locale:r}=(0,c.r)(),[u,d]=(0,s.AC)();return[(0,l.useCallback)(async o=>{d({type:”REQUEST”});try{let l=await e(“/users/”.concat(o.where.userId,”/settings/billing/payment_methods”).concat((0,s.Y$)(o)),i({…o,baseUrl:n,headers:{…o.headers,”Content-Type”:”application/json”,Authorization:a?”jwt “.concat(a):””,”Vimeo-Page”:””.concat(t),”Accept-Language”:null!=r?r:”en”}}));d({type:”SUCCESS”,payload:l})}catch(e){d({type:”FAILURE”,payload:e})}},[n,t,a,r,d]),u]}”true”===d.env.STORYBOOK&&(0,s.MR)(function(e,n){let a=”function”==typeof e?e():e,{baseUrl:t,jwt:o,xVimeoPage:l,locale:u}=(0,c.r)();return(0,r.ZP)(a?”/users/”.concat(a.where.userId,”/settings/billing/payment_methods”).concat((0,s.Y$)(a)):()=>null,a?()=>i({…a,headers:{…a.headers,”Content-Type”:”application/json”,Authorization:o?”jwt “.concat(o):””,”Vimeo-Page”:””.concat(l),”Accept-Language”:null!=u?u:”en”},baseUrl:t}):null,n)},{endpoint:”/users/:userId/settings/billing/payment_methods”,method:”GET”}),”true”===d.env.STORYBOOK&&(0,s.MR)(g,{endpoint:”/users/:userId/settings/billing/payment_methods”,method:”GET”}),”true”===d.env.STORYBOOK&&(0,s.MR)(function(e,n){let a=”function”==typeof e?e():e,{baseUrl:t,jwt:r,xVimeoPage:o,locale:s}=(0,c.r)();return(0,u.ZP)((e,n)=>{var t;if(null===a||n&&!n.paging.next)return null;let{perPage:i=25,page:r,…o}=null!==(t=a.query)&&void 0!==t?t:{},s=a.select.join(“,”),l=Object.entries(null!=o?o:{}).filter(e=>{let[,n]=e;return void 0!==n}).map(e=>{let[n,a]=e;return””.concat(n,”=”).concat(a)}).join(“&”);return[“/users/”.concat(a.where.userId,”/settings/billing/payment_methods?page=”).concat(e+1,”&perPage=”).concat(i,”&fields=”).concat(s,”&”).concat(l),e]},null!==a?e=>{let[n,l]=e;return i({…a,baseUrl:t,headers:{…a.headers,”Content-Type”:”application/json”,Authorization:r?”jwt “.concat(r):””,”Vimeo-Page”:””.concat(o),”Accept-Language”:null!=s?s:”en”},query:{…a.query,page:l+1}})}:null,n)},{endpoint:”/users/:userId/settings/billing/payment_methods”,method:”GET”})},411646:function(e,n,a){a.d(n,{d:function(){return d},Z:function(){return g}});var t=a(222180);async function i(e){var n;let{baseUrl:a,select:i,where:{userId:r,subscriptionId:o},…s}=e,l=await fetch(“”.concat(a,”/users/”).concat(r,”/subscriptions/”).concat(o,”?fields=”).concat(i.map(t.Rb).join(“,”)),{…s,method:”GET”});if(!l.ok)throw new t.F7(“A network error occurred”,l.status,l);if(204===l.status)return null;if(!(null===(n=l.headers.get(“content-type”))||void 0===n?void 0:n.match(/^application\/(.+)?json$/)))throw Error(“Expected JSON response”);let u=await l.json();return(0,t.l_)(u)}var r=a(227434),o=a(479394),s=a(130097),l=a(652983),u=a(115556),c=a(173656);function d(e,n){let a=”function”==typeof e?e():e,{baseUrl:t,jwt:o,xVimeoPage:l,locale:c}=(0,u.r)();return(0,r.ZP)(a?”/users/”.concat(a.where.userId,”/subscriptions/”).concat(a.where.subscriptionId).concat((0,s.Y$)(a)):()=>null,a?()=>i({…a,headers:{…a.headers,”Content-Type”:”application/json”,Authorization:o?”jwt “.concat(o):””,”Vimeo-Page”:””.concat(l),”Accept-Language”:null!=c?c:”en”},baseUrl:t}):null,n)}function g(){let{mutate:e}=(0,o.kY)(),{baseUrl:n,jwt:a,xVimeoPage:t,locale:r}=(0,u.r)(),[c,d]=(0,s.AC)();return[(0,l.useCallback)(async o=>{d({type:”REQUEST”});try{let l=await e(“/users/”.concat(o.where.userId,”/subscriptions/”).concat(o.where.subscriptionId).concat((0,s.Y$)(o)),i({…o,baseUrl:n,headers:{…o.headers,”Content-Type”:”application/json”,Authorization:a?”jwt “.concat(a):””,”Vimeo-Page”:””.concat(t),”Accept-Language”:null!=r?r:”en”}}));d({type:”SUCCESS”,payload:l})}catch(e){d({type:”FAILURE”,payload:e})}},[n,t,a,r,d]),c]}”true”===c.env.STORYBOOK&&(0,s.MR)(d,{endpoint:”/users/:userId/subscriptions/:subscriptionId”,method:”GET”}),”true”===c.env.STORYBOOK&&(0,s.MR)(g,{endpoint:”/users/:userId/subscriptions/:subscriptionId”,method:”GET”})},10570:function(e,n,a){a.d(n,{Z:function(){return Q}});var t=a(397458),i=a(652983),r=a(763767),o=a(688255),s=a(740411),l=a(832231);let u=e=>{var n;return{team_owner_id:null==e?void 0:null===(n=e.teamData)||void 0===n?void 0:n.ownerId,actor_team_role:null==e?void 0:e.untranslatedUserRole.toLowerCase()}},c=async function(e){let n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1;try{let t=new l.Event(e,a,{product:s.z,path:window.parent.location.pathname,…n});l.BigPictureClient.sendEvent(t)}catch(e){console.error(e)}},d=e=>({purchaseSeatsTriggeredEvent:n=>c(s.Kg.PURCHASE_TEAM_SEATS,{…u(e),…n},6),confirmPurchaseEvent:n=>c(s.Kg.CONFIRM_TEAM_SEAT_PURCHASE,{…u(e),…n},7),purchaseSeatsFailure:n=>c(s.Kg.PURCHASE_TEAM_SEATS_FAILED,{…u(e),…n},2),trackBillingPageEvents:(n,a)=>c(n,{…u(e),…a},1),trackSeatCountUpdation:n=>{c(s.Kg.CHANGE_NUMBER_OF_SEATS,{…u(e),…n},2)},trackCompletedOrder:e=>{c(s.Kg.ZUORA_ORDER_COMPLETED,{zuora_order_id:e},2)}});var g=a(226199),p=a(751004),m=a(180104),h=a(861071),f=a(134874),I=a(155116),y=a(895632),E=a(205609),v=a(158995),P=a(175743),C=a(709275),A=a(590862),N=a(794822),R=a(405504),_=a(642642),S=a(351899),T=a.n(S),b=a(222180);async function w(e){var n;let{baseUrl:a,select:t,where:{productId:i},query:r,…o}=e,s=await fetch(“”.concat(a,”/payments/products/”).concat(i,”/pricing_quote?”).concat((0,b.Ov)(r),”&fields=”).concat(t.map(b.Rb).join(“,”)),{…o,method:”GET”});if(!s.ok)throw new b.F7(“A network error occurred”,s.status,s);if(204===s.status)return null;if(!(null===(n=s.headers.get(“content-type”))||void 0===n?void 0:n.match(/^application\/(.+)?json$/)))throw Error(“Expected JSON response”);let l=await s.json();return(0,b.l_)(l)}var x=a(227434),j=a(479394),L=a(130097),O=a(115556),z=a(173656);function D(){let{mutate:e}=(0,j.kY)(),{baseUrl:n,jwt:a,xVimeoPage:t,locale:r}=(0,O.r)(),[o,s]=(0,L.AC)();return[(0,i.useCallback)(async i=>{s({type:”REQUEST”});try{let o=await e(“/payments/products/”.concat(i.where.productId,”/pricing_quote”).concat((0,L.Y$)(i)),w({…i,baseUrl:n,headers:{…i.headers,”Content-Type”:”application/json”,Authorization:a?”jwt “.concat(a):””,”Vimeo-Page”:””.concat(t),”Accept-Language”:null!=r?r:”en”}}));s({type:”SUCCESS”,payload:o})}catch(e){s({type:”FAILURE”,payload:e})}},[n,t,a,r,s]),o]}async function K(e){var n;let{baseUrl:a,select:t,variables:i,where:{userId:r},…o}=e,s=await fetch(“”.concat(a,”/users/”).concat(r,”/orders/update/preview?fields=”).concat(t.map(b.Rb).join(“,”)),{…o,method:”POST”,body:JSON.stringify((0,b.mH)(i))});if(!s.ok)throw new b.F7(“A network error occurred”,s.status,s);if(204===s.status)return null;if(!(null===(n=s.headers.get(“content-type”))||void 0===n?void 0:n.match(/^application\/(.+)?json$/)))throw Error(“Expected JSON response”);let l=await s.json();return(0,b.l_)(l)}function M(){let{mutate:e}=(0,j.kY)(),{baseUrl:n,jwt:a,xVimeoPage:t,locale:r}=(0,O.r)(),[o,s]=(0,L.AC)();return[(0,i.useCallback)(async i=>{s({type:”REQUEST”});try{let o=await e(“/users/”.concat(i.where.userId,”/orders/update/preview”).concat((0,L.Y$)(i)),K({…i,baseUrl:n,headers:{…i.headers,”Content-Type”:”application/json”,Authorization:a?”jwt “.concat(a):””,”Vimeo-Page”:””.concat(t),”Accept-Language”:null!=r?r:”en”}}),!1);s({type:”SUCCESS”,payload:o})}catch(e){s({type:”FAILURE”,payload:e})}},[n,t,a,r,s]),o]}”true”===z.env.STORYBOOK&&(0,L.MR)(function(e,n){let a=”function”==typeof e?e():e,{baseUrl:t,jwt:i,xVimeoPage:r,locale:o}=(0,O.r)();return(0,x.ZP)(a?”/payments/products/”.concat(a.where.productId,”/pricing_quote”).concat((0,L.Y$)(a)):()=>null,a?()=>w({…a,headers:{…a.headers,”Content-Type”:”application/json”,Authorization:i?”jwt “.concat(i):””,”Vimeo-Page”:””.concat(r),”Accept-Language”:null!=o?o:”en”},baseUrl:t}):null,n)},{endpoint:”/payments/products/:productId/pricing_quote”,method:”GET”}),”true”===z.env.STORYBOOK&&(0,L.MR)(D,{endpoint:”/payments/products/:productId/pricing_quote”,method:”GET”}),”true”===a(173656).env.STORYBOOK&&(0,L.MR)(M,{endpoint:”/users/:userId/orders/update/preview”,method:”POST”});var k=a(859742),U=e=>{let{billingPlanId:n,canUsePaymentsService:a,currency:t,numberOfSeats:r,ownerId:o,productId:s,subscriptionId:l}=e,u=(0,k.R)(),[c,d]=(0,i.useState)(),[g,p]=D(),[m,h]=M(),{data:f,error:I,loading:y}=c||{};(0,i.useEffect)(function(){if(a)d({…h,data:(null==h?void 0:h.data)&&t?function(e){var n,a,t,i,r,o,s,l;let{currency:u,locale:c,orderPreview:d}=e,g=new Intl.NumberFormat(c,{style:”currency”,currency:u}),p=(null==d?void 0:d.subtotalAmount.amount)||0,m=(null==d?void 0:d.subtotalAmount.formatted)||””,h=0,f=””,I=(null==d?void 0:d.totalAmount.amount)||0,y=(null==d?void 0:d.totalAmount.formatted)||””;if((null==d?void 0:d.isTrial)&&(I=0,y=g.format(I)),!(null==d?void 0:d.isTrial)){let e=(null==d?void 0:null===(t=d.previewItems)||void 0===t?void 0:t.find(e=>”ORDER_ITEM_CHANGE_TYPE_CURRENT”===e.changeType))||{subtotalAmount:{amount:0},quantity:0},n=(null==d?void 0:null===(i=d.previewItems)||void 0===i?void 0:i.find(e=>”ORDER_ITEM_CHANGE_TYPE_ADDED”===e.changeType))||{subtotalAmount:{amount:0},quantity:0};p=((null==e?void 0:null===(r=e.subtotalAmount)||void 0===r?void 0:r.amount)||0)/(null==e?void 0:e.quantity)*((null==n?void 0:n.quantity)-(null==e?void 0:e.quantity)),m=g.format(p),h=p-((null==d?void 0:d.subtotalAmount.amount)||0),f=g.format(h)}return{estimatedTax:””.concat(null==d?void 0:d.totalTaxAmount.amount),estimatedTaxCountry:null!==(o=null==d?void 0:null===(n=d.billingAddress)||void 0===n?void 0:n.country)&&void 0!==o?o:””,estimatedTaxDisplay:null!==(s=null==d?void 0:d.totalTaxAmount.formatted)&&void 0!==s?s:””,estimatedTaxPostalCode:null!==(l=null==d?void 0:null===(a=d.billingAddress)||void 0===a?void 0:a.postalCode)&&void 0!==l?l:””,proration:{amount:””.concat(h),amountDisplay:f,date:””,productId:””},status:”success”,subTotal:””.concat(p),subTotalDisplay:m,totalPrice:””.concat(I),totalPriceDisplay:y}}({orderPreview:null==h?void 0:h.data,currency:t,locale:u.locale}):null});else{var e;d({…p,data:null!==(e=null==p?void 0:p.data)&&void 0!==e?e:null})}},[a,t,h,u.locale,p]);let E=(0,i.useMemo)(()=>T()(e=>{if(a)n&&l&&m({select:[],where:{userId:o},variables:{type:”seat_change”,billingPlanId:n,subscriptionId:l,seatQuantity:e}});else{if(!s)throw Error(“productId is required when not using the payments service”);g({select:[],where:{productId:s},query:{productId:s,quantity:e.toString()}})}},300),[n,a,g,o,s,l,m]);return(0,i.useEffect)(function(){r&&E(r)},[E,r]),{pricingQuoteData:f,quoteError:I,isQuoteLoading:y}},B=a(807139);async function Y(e){var n;let{baseUrl:a,select:t,variables:i,where:{userId:r},…o}=e,s=await fetch(“”.concat(a,”/payments/users/”).concat(r,”/capture?fields=”).concat(t.map(b.Rb).join(“,”)),{…o,method:”POST”,body:JSON.stringify((0,b.mH)(i))});if(!s.ok)throw new b.F7(“A network error occurred”,s.status,s);if(204===s.status)return null;if(!(null===(n=s.headers.get(“content-type”))||void 0===n?void 0:n.match(/^application\/(.+)?json$/)))throw Error(“Expected JSON response”);let l=await s.json();return(0,b.l_)(l)}function V(){let{mutate:e}=(0,j.kY)(),{baseUrl:n,jwt:a,xVimeoPage:t,locale:r}=(0,O.r)(),[o,s]=(0,L.AC)();return[(0,i.useCallback)(async i=>{s({type:”REQUEST”});try{let o=await e(“/payments/users/”.concat(i.where.userId,”/capture”).concat((0,L.Y$)(i)),Y({…i,baseUrl:n,headers:{…i.headers,”Content-Type”:”application/json”,Authorization:a?”jwt “.concat(a):””,”Vimeo-Page”:””.concat(t),”Accept-Language”:null!=r?r:”en”}}),!1);s({type:”SUCCESS”,payload:o})}catch(e){s({type:”FAILURE”,payload:e})}},[n,t,a,r,s]),o]}async function F(e){var n;let{baseUrl:a,select:t,variables:i,where:{userId:r,subscriptionId:o},…s}=e,l=await fetch(“”.concat(a,”/users/”).concat(r,”/orders/subscriptions/”).concat(o,”?fields=”).concat(t.map(b.Rb).join(“,”)),{…s,method:”POST”,body:JSON.stringify((0,b.mH)(i))});if(!l.ok)throw new b.F7(“A network error occurred”,l.status,l);if(204===l.status)return null;if(!(null===(n=l.headers.get(“content-type”))||void 0===n?void 0:n.match(/^application\/(.+)?json$/)))throw Error(“Expected JSON response”);let u=await l.json();return(0,b.l_)(u)}function Z(){let{mutate:e}=(0,j.kY)(),{baseUrl:n,jwt:a,xVimeoPage:t,locale:r}=(0,O.r)(),[o,s]=(0,L.AC)();return[(0,i.useCallback)(async i=>{s({type:”REQUEST”});try{let o=await e(“/users/”.concat(i.where.userId,”/orders/subscriptions/”).concat(i.where.subscriptionId).concat((0,L.Y$)(i)),F({…i,baseUrl:n,headers:{…i.headers,”Content-Type”:”application/json”,Authorization:a?”jwt “.concat(a):””,”Vimeo-Page”:””.concat(t),”Accept-Language”:null!=r?r:”en”}}),!1);s({type:”SUCCESS”,payload:o})}catch(e){s({type:”FAILURE”,payload:e})}},[n,t,a,r,s]),o]}”true”===a(173656).env.STORYBOOK&&(0,L.MR)(V,{endpoint:”/payments/users/:userId/capture”,method:”POST”}),”true”===a(173656).env.STORYBOOK&&(0,L.MR)(Z,{endpoint:”/users/:userId/orders/subscriptions/:subscriptionId”,method:”POST”});var J=e=>{let{billingPlanId:n,canUsePaymentsService:a,numberOfSeats:t,ownerId:r,paymentInUse:o,productId:s,subscriptionId:l}=e,[u,c]=(0,i.useState)(),[d,p]=V(),[m,h]=Z(),{data:f,error:I,callCount:y,loading:E}=u||{};return(0,i.useEffect)(function(){var e,n;a?c({…h,data:{paypalRedirectUrl:””,gtmData:”{}”,order:null!=(e=null==h?void 0:h.data)?e:{},status:”success”}}):c({…p,data:null!==(n=null==p?void 0:p.data)&&void 0!==n?n:null})},[h,p,a]),{capturePaymentLoading:E,capturePaymentError:I,capturePaymentCallCount:y,handleCapturePayment:async()=>{let e=(0,g.qx)(null==o?void 0:o.uri);if(a&&l&&n&&e)return await m({select:[],where:{userId:r,subscriptionId:l},variables:{type:”seat_change”,billingPlanId:n,paymentMethodId:e,seatQuantity:t}});if(!s)throw Error(“productId is required when not using the payments service”);return await d({select:[],where:{userId:r},variables:{productId:s,quantity:t.toString(),existingPaymentMethod:Number(e)}})},paymentData:f}},G=a(43024),q=a(317324),H=a(305710);let $=e=>(0,t.jsx)(p.xu,{display:”flex”,justifyContent:”space-between”,alignItems:”center”,…e,children:e.children});var W=e=>{var n,a;let{analyticsData:r,canUsePaymentsService:o,initSeatsPurchase:l=1,isTrial:u,maxSeatsPurchase:c=60,minSeatsPurchase:S=1,onCancel:T,onClose:b,onPurchaseFailure:w=()=>null,onPurchaseSuccess:x=()=>null,ownerId:j,productId:L,setBackdropCloseActive:O,triggeredFrom:z,userId:D}=e,K={[s.vc.BILLING_PAGE_ADD_SEATS]:u?_.Z.AddSeats:_.Z.CompletePurchase,[s.vc.INVITE_MODAL]:u?_.Z.AddInvite:_.Z.PurchaseInvite,[s.vc.RESOURCE_SHARE_MODAL]:u?_.Z.AddInvite:_.Z.PurchaseInvite,[s.vc.FOLDER_SHARE_MODAL]:u?_.Z.AddInvite:_.Z.PurchaseInvite,[s.vc.VIDEO_SHARE_MODAL]:u?_.Z.AddInvite:_.Z.PurchaseInvite,[s.vc.ROLE_CHANGE_MENU]:u?_.Z.AddSeats:_.Z.CompletePurchase,[s.vc.UPSELL_BANNER]:u?_.Z.AddSeats:_.Z.CompletePurchase,[s.vc.ONBOARDING_INVITES]:u?_.Z.AddInvite:_.Z.PurchaseInvite},M={[s.vc.ONBOARDING_INVITES]:_.Z.InvitesViewersFree},k=null==r?void 0:r.teamInfo,Y=null==k?void 0:k.seatDetails,V=(null==Y?void 0:Y.additionalPurchasedCount)||0,F=(null==Y?void 0:Y.basePlanCount)||1,Z=r&&(null==r?void 0:r.planTier)?s.Ps[null==r?void 0:r.planTier]:””,[W,Q]=(0,i.useState)(l),[X,ee]=(0,i.useState)(null),[en,ea]=(0,i.useState)({increase:0,decrease:0}),{billingPeriod:et,billingPlanId:ei,currency:er,endDate:eo,hasAutoRenew:es,isExpired:el,isPayPal:eu,paymentInUse:ec,paymentMethods:ed,paymentMethodsData:eg,paymentMethodsError:ep,paymentMethodsLoading:em,pricePerSeat:eh,seatCount:ef,setPaymentInUse:eI,subscriptionId:ey,subtotalWithCurrencyPerSeat:eE}=(0,B.Z)({ownerId:j,canUsePaymentsService:o,canFetchPaymentMethods:!0}),{pricingQuoteData:ev,quoteError:eP,isQuoteLoading:eC}=U({billingPlanId:ei,canUsePaymentsService:o,currency:er,numberOfSeats:W,ownerId:j,productId:L,subscriptionId:ey}),{capturePaymentCallCount:eA=0,capturePaymentError:eN,capturePaymentLoading:eR,handleCapturePayment:e_,paymentData:eS}=J({billingPlanId:ei,canUsePaymentsService:o,numberOfSeats:W,ownerId:j,paymentInUse:ec,productId:L,subscriptionId:ey});(0,i.useEffect)(()=>{eP?ee(s.Nf.BILLING_FETCH_FAILED):eN?ee(s.Nf.PAYMENT_FAILED):ee(null)},[eP,eN]),(0,i.useEffect)(()=>{if(!eR&&eA>0){if(eN){if(w(),r&&r.teamInfo&&z){let{teamInfo:e}=r;d(e).purchaseSeatsFailure({feature:(0,g._3)(z),location:s.f5[z],failure_reason:s._I.UNKNOWN})}}else(null==eS?void 0:eS.paypalRedirectUrl)?(eb(),ex(),window.location.href=eS.paypalRedirectUrl):(x(W),eb(),ex(),eT())}},[eA,eR,eN]),(0,i.useEffect)(()=>{O(!eR)},[eR]);let eT=()=>{if(r&&r.teamInfo&&z){let{clipId:e,folderId:n,isTrial:a,planType:t,subscriptionType:i,teamInfo:o}=r;d(o).trackSeatCountUpdation({feature:(0,g._3)(z),location:s.f5[z],increase_seat_count:en.increase,decrease_seat_count:en.decrease,subscription_type:i,folder_id:n,clip_id:e,plan_type:t,is_trial:a})}b()},eb=()=>{if(r&&r.teamInfo&&z){var e,n;let{teamInfo:a,priorSeats:t,folderId:i,clipId:o,subscriptionType:l,planType:u,isTrial:c}=r;d(a).confirmPurchaseEvent({feature:(0,g._3)(z),location:s.f5[z],seats_purchased:W,product_id:L,prior_seats:t,resulting_seats:t+W,folder_id:i,clip_id:o,subscription_type:l,plan_type:u,is_trial:c});let p=null!==(n=null==eS?void 0:null===(e=eS.order)||void 0===e?void 0:e.orderId)&&void 0!==n?n:null;”string”==typeof p&&d(a).trackCompletedOrder(p)}},ew=()=>{let e=window;return e._gtm=e._gtm||[],e._gtm},ex=()=>{var e;let n=ew(),a=JSON.parse(null!==(e=null==eS?void 0:eS.gtmData)&&void 0!==e?e:”{}”);a.page_type=”Settings”,n.push(a)},ej=e=>{let n=null==ed?void 0:ed.find(n=>(0,g.qx)(n.uri)===e);n&&eI(n)},eL=()=>{if(ed){for(let e=0;e<(null==ed?void 0:ed.length);e++)if(!(0,g.VN)(ed[e]))return!1}return!0},eO=ev?ev.subTotalDisplay:"--",ez=ev?ev.estimatedTaxDisplay:"--",eD=ev?null==ev?void 0:null===(n=ev.proration)||void 0===n?void 0:n.amount.match(/(\d|\.|\,)+/):null,eK=ev?"-".concat(null==ev?void 0:null===(a=ev.proration)||void 0===a?void 0:a.amountDisplay):"--",eM=ev?ev.totalPriceDisplay:"--",ek=new Date(String(eo)),eU=ek.toLocaleDateString(navigator.language||"en-US",{year:"numeric",month:"short",day:"numeric"});ek.setDate(ek.getDate()+1);let eB=(0,i.useRef)(null);return(0,t.jsxs)(m.h,{children:[(0,t.jsx)(h.x,{children:(0,t.jsx)(f.h,{as:"h5",size:"sm",color:"text-primary",children:_.Z.PurchaseAdditionalSeats})}),(0,t.jsx)(I.o,{onClick:eT}),X&&(0,t.jsx)(G.Z,{noticeType:X}),(0,t.jsxs)(y.f,{children:[(0,t.jsx)($,{children:eh&&ev?(0,t.jsxs)(t.Fragment,{children:[(0,t.jsxs)(p.xu,{flexDirection:"column",children:[(0,t.jsxs)(E.x,{variant:"body-md",children:[_.Z.NumberOfSeats," "]}),(0,t.jsx)(E.x,{variant:"body-sm",color:"text-secondary",children:_.Z.PricePerSeat((0,g.ni)(eh,null!=er?er:"",0))})]}),(0,t.jsxs)(v.Y2,{maxW:(0,P.h)(78),defaultValue:W,min:S,max:c,onChange:e=>Q(parseInt(e)),isDisabled:eR,children:[(0,t.jsx)(v.zu,{}),(0,t.jsxs)(v.Fi,{children:[(0,t.jsx)(v.WQ,{onClick:()=>ea({…en,increase:en.increase+1})}),(0,t.jsx)(v.Y_,{onClick:()=>ea({…en,decrease:en.decrease+1})})]})]})]}):(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(H.dc,{}),(0,t.jsx)(H.pl,{})]})}),(0,t.jsx)($,{marginTop:(0,P.h)(8),children:em||!ev?(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(H.dc,{}),(0,t.jsx)(H.pl,{})]}):(0,t.jsxs)(t.Fragment,{children:[(0,t.jsxs)(p.xu,{display:”flex”,alignItems:”center”,justifyContent:”left”,verticalAlign:”middle”,gap:(0,P.h)(8),children:[(0,t.jsx)(E.x,{variant:”heading-xs”,children:_.Z.PaymentMethod}),(0,t.jsx)(p.xu,{as:”span”,ref:eB,children:(0,t.jsx)(C.u,{label:_.Z.PaymentMethodTip,placement:”bottom”,portalProps:{containerRef:eB},children:(0,t.jsx)(p.xu,{display:”flex”,as:”span”,children:(0,t.jsx)(N.Z,{h:(0,P.h)(16),w:(0,P.h)(16),color:”text-tertiary”})})})})]}),((e,n)=>{let a=eL();return e&&Y?(0,t.jsx)(q.a,{activePaymentMethod:ec,edit:!1,status:!0,paymentMethods:null!=ed?ed:[],onSelect:ej,isOperationOngoing:!1,trackAddPaymentMethod:()=>{r&&d(r.teamInfo).trackBillingPageEvents(s.IW.ADD_PAYMENT_METHOD,{location:”checkout_modal_dropdown”})},trackOpenSelectDropdown:()=>{r&&d(r.teamInfo).trackBillingPageEvents(s.IW.OPEN_CARD_DROPDOWN,{location:”checkout_modal_dropdown”})},hasPaymentExpired:n,allPaymentMethodsExpired:a,addNewPaymentMethod:!ec}):(0,t.jsx)(H.MU,{children:”–“})})(!!eg,el)]})}),(0,t.jsx)($,{children:em||!ev?(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(H.dc,{}),(0,t.jsx)(H.pl,{})]}):(0,t.jsxs)(t.Fragment,{children:[(0,t.jsxs)(H.d2,{children:[(0,t.jsx)(H.MU,{children:_.Z.Subtotal}),(0,t.jsx)(p.xu,{ref:eB,children:(0,t.jsx)(C.u,{label:_.Z.SubtotalTip(eE,et),placement:”bottom”,portalProps:{containerRef:eB},children:(0,t.jsx)(H.CV,{variant:”hyperminimal”,icon:(0,t.jsx)(R.E,{}),iconPosition:”right”,size:”sm”})})})]}),(0,t.jsx)(H.MU,{children:eO})]})}),eD&&!!parseFloat(eD[0])&&(0,t.jsx)($,{children:em||!ev?(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(H.dc,{}),(0,t.jsx)(H.pl,{})]}):(0,t.jsxs)(t.Fragment,{children:[(0,t.jsxs)(H.d2,{children:[(0,t.jsx)(H.p$,{children:_.Z.BillingAdjustment}),(0,t.jsx)(p.xu,{ref:eB,children:(0,t.jsx)(C.u,{label:_.Z.BillingAdjustmentTip,placement:”bottom”,portalProps:{containerRef:eB},children:(0,t.jsx)(H.CV,{variant:”hyperminimal”,icon:(0,t.jsx)(R.E,{}),iconPosition:”right”,size:”sm”})})})]}),(0,t.jsx)(H.p$,{children:eK})]})}),(0,t.jsx)($,{children:em||!ev?(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(H.dc,{}),(0,t.jsx)(H.pl,{})]}):(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(H.MU,{children:_.Z.Tax}),(0,t.jsx)(H.MU,{children:ez})]})}),(0,t.jsx)(H.Fl,{}),(0,t.jsx)(H.Qp,{children:(0,t.jsx)($,{children:em||!ev?(0,t.jsxs)(t.Fragment,{children:[u?(0,t.jsx)(H.mj,{}):(0,t.jsx)(H.dc,{}),u?(0,t.jsx)(H.Yb,{}):(0,t.jsx)(H.pl,{})]}):(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(E.x,{variant:”heading-sm”,children:_.Z.DueToday}),u?(0,t.jsxs)(“div”,{children:[(0,t.jsx)(E.x,{as:”s”,variant:”heading-sm”,children:eO}),(0,t.jsx)(E.x,{variant:”heading-sm”,children:eM})]}):(0,t.jsx)(E.x,{variant:”heading-sm”,children:eM})]})})}),u&&(0,t.jsxs)(t.Fragment,{children:[!em&&ev&&eh?(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(H.Fl,{}),(0,t.jsx)(“div”,{children:(0,t.jsx)(H.u8,{size:”7″,children:_.Z.SubscriptionStartsOn((ek.getMonth()+1).toString().padStart(2,”0″)+”/”+ek.getDate().toString().padStart(2,”0″)+”/”+ek.getFullYear().toString().substring(2))})}),(0,t.jsxs)($,{children:[(0,t.jsx)(H.u8,{size:”7″,children:_.Z.BasePlanPlusSeats(Z,F)}),(0,t.jsx)(H.u8,{size:”7″,children:eE})]}),(0,t.jsxs)($,{children:[(0,t.jsx)(H.u8,{size:”7″,children:_.Z.AdditionalSeats(W+V)}),(0,t.jsxs)(H.u8,{size:”7″,children:[“+”,” “,(0,g.ni)((W+V)*eh,null!=er?er:””,2)]})]})]}):(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(H.dc,{}),(0,t.jsx)(H.pl,{})]}),(0,t.jsx)(H.Fl,{}),(0,t.jsx)($,{marginBottom:(0,P.h)(16),children:em||!ev?(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(H.LJ,{}),(0,t.jsx)(H.sW,{})]}):(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(f.h,{as:”h6″,size:”xs”,children:_.Z.DueAtSubscriptionStart}),(0,t.jsx)(f.h,{as:”h6″,size:”xs”,children:(0,g.ni)(((null!=ef?ef:0)+W)*(null!=eh?eh:0),null!=er?er:””,2)})]})})]}),em||!ev?(0,t.jsx)(t.Fragment,{children:(0,t.jsx)(H.aN,{trial:u})}):(0,t.jsxs)(H.qn,{children:[(0,t.jsx)(E.x,{marginTop:(0,P.h)(16),marginBottom:(0,P.h)(8),variant:”body-sm”,color:”text-secondary”,children:u?_.Z.TermsConditionsTrial(“/terms”,”/privacy”,(0,g.ni)(((null!=ef?ef:0)+W)*(null!=eh?eh:0),null!=er?er:””,2),eU,et?”monthly”===et.toLowerCase()||”month”===et.toLowerCase()?_.Z.Month:_.Z.Year:””,()=>void 0,()=>void 0):es?_.Z.TermsConditionsOptedIn(“/terms”,”/privacy”,(0,g.ni)(((null!=ef?ef:0)+W)*(null!=eh?eh:0),null!=er?er:””,2),et?”monthly”===et.toLowerCase()||”month”===et.toLowerCase()?_.Z.Month:_.Z.Year:””,()=>void 0,()=>void 0):_.Z.TermsConditionsOptedOut(“/terms”,”/privacy”,(0,g.ni)(((null!=ef?ef:0)+W)*(null!=eh?eh:0),null!=er?er:””,2),()=>void 0,()=>void 0)}),u?(0,t.jsx)(E.x,{variant:”body-sm”,color:”text-secondary”,children:_.Z.TrialReceiptInfo}):(0,t.jsx)(E.x,{variant:”body-sm”,color:”text-secondary”,children:_.Z.ReceiptInfo})]}),(0,t.jsx)(A.z,{onClick:e_,isDisabled:eC||!!eP||!!ep||eR||em||el||!ec,isLoading:eR,size:”md”,type:”button”,width:”100%”,children:eu&&!o?_.Z.ContinueToPayPal:z&&K[z]?K[z]:_.Z.Cancel}),(0,t.jsx)(H.gY,{onClick:()=>T?T():eT(),fluid:!0,size:”md”,variant:”minimalTransparent”,format:”basic”,type:”button”,disabled:eR,children:z&&M[z]?M[z]:_.Z.Cancel}),eu&&(0,t.jsx)(H.qn,{children:(0,t.jsx)(H.kn,{children:u?_.Z.PayPayTrialInfo:_.Z.PayPayRedirctInfo})})]})]})},Q=e=>{var n;let[a,l]=(0,i.useState)(!0),{triggeredFrom:u,analyticsData:c}=e;return(0,i.useEffect)(()=>{if(c&&c.teamInfo&&u){let{teamInfo:e,folderId:n,clipId:a,subscriptionType:t,planType:i,isTrial:r}=c;d(e).purchaseSeatsTriggeredEvent({feature:(0,g._3)(u),location:s.f5[u],folder_id:n,clip_id:a,subscription_type:t,plan_type:i,is_trial:r})}},[]),(0,t.jsxs)(r.u,{isOpen:e.isActive,onClose:e.onClose,children:[(null===(n=e.hasScreen)||void 0===n||n)&&(0,t.jsx)(o.Z,{}),W({…e,setBackdropCloseActive:l})]})}},43024:function(e,n,a){var t=a(397458),i=a(652983),r=a(4626),o=a(175743),s=a(740411),l=a(642642);let u=i.memo(e=>{let{noticeType:n,onClose:a,seatsCount:i=1}=e;switch(n){case s.Nf.PAYMENT_FAILED:return(0,t.jsx)(c,{status:”error”,onClose:a,children:l.Z.Notices[s.Nf.PAYMENT_FAILED]});case s.Nf.SOMETHING_WRONG:return(0,t.jsx)(c,{status:”error”,onClose:a,children:l.Z.Notices[s.Nf.SOMETHING_WRONG]});case s.Nf.PURCHASE_SUCCESSFULL:return(0,t.jsx)(c,{status:”success”,onClose:a,children:l.Z.Notices[s.Nf.PURCHASE_SUCCESSFULL]});case s.Nf.PURCHASE_SUCCESSFULL_WITH_SEATS:return(0,t.jsx)(c,{status:”success”,onClose:a,children:l.Z.Notices[s.Nf.PURCHASE_SUCCESSFULL_WITH_SEATS](i)});case s.Nf.ADDED_SEATS_SUCCESSFULLY:return(0,t.jsx)(c,{status:”success”,onClose:a,children:l.Z.Notices[s.Nf.ADDED_SEATS_SUCCESSFULLY]});case s.Nf.INVITATION_FAILED:return(0,t.jsx)(c,{status:”error”,onClose:a,children:l.Z.Notices[s.Nf.INVITATION_FAILED]});case s.Nf.PURCHASE_INVITATION_SUCCESSFULL:return(0,t.jsx)(c,{status:”success”,onClose:a,children:l.Z.Notices[s.Nf.PURCHASE_INVITATION_SUCCESSFULL]});case s.Nf.BILLING_FETCH_FAILED:return(0,t.jsx)(c,{status:”error”,onClose:a,children:l.Z.Notices[s.Nf.BILLING_FETCH_FAILED]});default:return null}}),c=e=>{let{status:n,onClose:a,children:i,…s}=e;return(0,t.jsx)(r.bZ,{status:n,fontSize:(0,o.h)(14),transform:”translateY(-“.concat((0,o.h)(2),”)”),onClose:a,…s,children:i})};n.Z=u},317324:function(e,n,a){a.d(n,{a:function(){return k},Z:function(){return Z}});var t=a(397458),i=a(652983),r=a(173898),o=a(899682),s=a(404268),l=a(28032),u=a(751004),c=a(175743),d=a(978969),g=a(590862),p=a(205609),m=a(738562),h=a(297839),f=a(692086),I=a(494014),y=a(380281),E=a(80135),v=a(894543),P=a(642642),C=a(524777),A=a(394580),N=a(539558),R=a(919275),_=a(395886),S=a(202900),T=a(712213),b=a(325243),w=a(174338),x=a(47999),j=a(226199),L=a(305710);let O={amex:R.U,visa:_.k,discover:S.k,mastercard:T.q,off:w.A,error:x.G,paypal:b.K},z=e=>{let{selected:n,paymentMethod:a,onClick:i,methodDisabled:r=!1,showGracePeriodOptimization:o=!1}=e,s=(null==a?void 0:a.uri)||””,l=s.substring(s.lastIndexOf(“/”)+1),u=(0,j.VN)(a),c=r||!!a.disableOption,d=O[a.type]||O.off;return o?(0,t.jsxs)(A.k,{alignItems:”center”,justifyContent:”space-between”,onClick:c?void 0:()=>i(l),pointerEvents:u||c?”none”:”auto”,p:2,children:[(0,t.jsxs)(A.k,{alignItems:”center”,gap:1,children:[(0,t.jsx)(L.gM,{“data-id”:”selected”,marginNeeded:!n,children:(0,t.jsx)(d,{color:n||c?”darkBlueAlpha.500″:”inherit”})}),(0,t.jsx)(D,{paymentMethod:a,disabled:c,methodDisabled:r,expired:u,selected:n,showGracePeriodOptimization:o})]}),n&&(0,t.jsx)(N.M,{width:”16″,height:”16″,color:u||c?”darkBlueAlpha.500″:”inherit”})]},l):(0,t.jsxs)(K,{className:””.concat(c?”disabled”:””,” “).concat(a.inUse?”active”:””),onClick:c?void 0:()=>i(l),expired:u,children:[n&&(0,t.jsx)(M,{children:(0,t.jsx)(N.M,{})}),(0,t.jsx)(L.gM,{“data-id”:”selected”,marginNeeded:!n,children:(0,t.jsx)(d,{})}),(0,t.jsx)(D,{paymentMethod:a,disabled:c,methodDisabled:r,expired:u,selected:n})]},l)},D=e=>{let{paymentMethod:n,disabled:a,methodDisabled:i,expired:r,selected:o,showGracePeriodOptimization:s=!1}=e,{paypalEmail:l,lastFour:u,textType:c,type:d}=n,g=”paypal”===d?l||P.Z.PayPal:u||c||P.Z.Unknown,p=s&&(o||a||i)?”var(–vimeo-colors-darkBlueAlpha-500)”:void 0;return(0,t.jsxs)(t.Fragment,{children:[n.lastFour&&(0,t.jsx)(L.KJ,{colorOverride:p,expired:r,disabled:a,warning:i,children:”….”}),(0,t.jsx)(L.R6,{colorOverride:p,expired:r||”paypal”===d||!u&&!c,disabled:a,warning:i,children:g}),!s&&r&&(0,t.jsx)(L.fN,{paddingNeeded:!0,children:P.Z.CardExpired})]})},K=r.default.div.withConfig({componentId:”sc-cb6e1be5-0″})([“display:flex;width:100%;justify-content:flex-start;align-items:center;height:”,”;gap:”,”;cursor:”,”;”,”;opacity:”,”;padding:0 “,”;&.active{background-color:”,”;}&:hover{background-color:”,”;}&.disabled{cursor:default;&.active{background-color:inherit;}&:hover{background-color:inherit;}}”],(0,C.rem)(40),(0,C.rem)(8),e=>{let{expired:n}=e;return n?”default”:”pointer”},e=>{let{expired:n}=e;return n&&”pointer-events: none”},e=>{let{expired:n}=e;return n?.5:1},(0,C.rem)(8),e=>{let{theme:n}=e;return”dark”===n.name?(0,E.se)(500):(0,E.ae)(50)},e=>{let{theme:n}=e;return”dark”===n.name?(0,E.se)(500):(0,E.ae)(50)}),M=r.default.div.withConfig({componentId:”sc-cb6e1be5-1″})([“display:flex;justify-content:center;align-items:center;& svg{height:”,”;width:”,”;color:”,”;& path{fill:”,”;}}”],(0,C.rem)(20),(0,C.rem)(20),(0,E.iN)(500),(0,E.iN)(500)),k=e=>{let{edit:n=!0,status:a,paymentMethods:r=[],onSelect:m,isOperationOngoing:I,activePaymentMethod:C,trackAddPaymentMethod:A=()=>null,trackOpenSelectDropdown:N=()=>null,hasPaymentExpired:R,allPaymentMethodsExpired:_,addNewPaymentMethod:S,inGracePeriod:T=!1}=e,[b,w]=(0,i.useState)(!1),x=(0,i.useRef)(null),{assignment:j}=(0,y.MY)({flagKey:”grace-period-optimization”,assignmentType:”BOOLEAN”,defaultAssignment:!1,disabled:!T});(0,v.Z)([x],()=>{b&&w(!1)},null,[b]),(0,i.useEffect)(()=>w(!I&&b),[I]);let{onOpen:L,onClose:O,isOpen:D}=(0,o.q)();return(0,t.jsxs)(s.J,{isOpen:D,initialFocusRef:x,onOpen:L,onClose:O,placement:”bottom”,matchWidth:!0,children:[(0,t.jsx)(l.x,{children:(0,t.jsx)(u.xu,{border:””.concat((0,c.h)(1),” solid”),borderRadius:(0,c.h)(8),borderColor:R||S?”red.600″:”input-stroke”,background:”input-fill”,width:”100%”,children:(0,t.jsx)(u.xu,{display:”flex”,flexDirection:”row”,justifyContent:”space-between”,alignItems:”center”,width:”100%”,height:(0,c.h)(32),border:”none”,cursor:a&&!I?”pointer”:”default”,opacity:(j||a)&&!I?”1″:”0.5″,onClick:()=>{a&&!I&&w(!0),N()},children:(0,t.jsx)(U,{addNewPaymentMethod:S,activePaymentMethod:C,allPaymentMethodsExpired:_,hasPaymentExpired:R,isOperationOngoing:I,showGracePeriodOptimization:j,status:a})})})}),(0,t.jsx)(d.y,{ref:x,children:(0,t.jsxs)(u.xu,{children:[(0,t.jsx)(u.xu,{maxHeight:(0,c.h)(150),overflow:”auto”,children:r.map(e=>(0,t.jsx)(z,{methodDisabled:T&&e.uri===(null==C?void 0:C.uri),selected:e.uri===(null==C?void 0:C.uri),paymentMethod:e,onClick:e=>{m(e),O()},showGracePeriodOptimization:j},e.uri))}),j&&(0,t.jsx)(u.xu,{borderColor:”stroke”,borderWidth:”1px 0 0 0″,pt:1,width:”100%”,children:(0,t.jsxs)(g.z,{variant:”minimal”,width:”100%”,p:2,alignItems:”center”,justifyContent:”start”,gap:2,onClick:()=>{window.open(“/checkout/payments/new?update=1″,”_blank”),A()},children:[(0,t.jsx)(h.F,{}),(0,t.jsx)(p.x,{variant:”body-md”,whiteSpace:”break-spaces”,children:P.Z.UpdatePaymentMethod})]})}),!j&&(n||_)&&(0,t.jsx)(V,{children:(0,t.jsx)(F,{“data-id”:”newCardButton”,leftIcon:(0,t.jsx)(f.v,{}),_hover:”none”,size:”xs”,variant:”minimal”,justifyContent:”start”,color:(0,E.iN)(500),onClick:()=>{window.open(“/checkout/payments/new”,”_blank”),A()},children:P.Z.AddNewCard})})]})})]})},U=e=>{let{addNewPaymentMethod:n,activePaymentMethod:a,allPaymentMethodsExpired:i,hasPaymentExpired:r,isOperationOngoing:o,showGracePeriodOptimization:s,status:l}=e;if(!n&&!a)return null;let d=!s&&(i||n)?O.error:a&&O[a.type]||O.off;return(0,t.jsxs)(t.Fragment,{children:[(0,t.jsxs)(u.xu,{display:”flex”,alignItems:”center”,gap:(0,c.h)(8),padding:”0 “.concat((0,c.h)(8)),cursor:l&&!o?”pointer”:”default”,width:”100%”,children:[o?(0,t.jsx)(Y,{children:(0,t.jsx)(m.$,{size:”sm”})}):(0,t.jsx)(B,{“data-id”:”cardIcon”,children:(0,t.jsx)(d,{color:s?”darkBlueAlpha.500″:”inherit”})}),!s&&(i||n)?(0,t.jsxs)(t.Fragment,{children:[!n&&i&&(0,t.jsx)(L.fN,{paddingNeeded:!1,children:P.Z.AllCardsExpiredAddNew}),n&&(0,t.jsx)(L.fN,{paddingNeeded:!1,children:P.Z.AddNewCard})]}):a?(0,t.jsx)(D,{paymentMethod:a,disabled:!0,methodDisabled:!1,expired:!1,selected:!1,showGracePeriodOptimization:s}):null]}),(0,t.jsx)(I.W,{height:(0,c.h)(20),width:(0,c.h)(20),color:!s&&(r||n)?(0,E.Q6)(600):”text-primary”,mr:8})]})},B=e=>(0,t.jsx)(u.xu,{display:”flex”,justifyContent:”center”,alignItems:”center”,…e,children:e.children});r.default.div.withConfig({componentId:”sc-ba99d234-0″})([“max-height:”,”;overflow:auto;”],(0,c.h)(150));let Y=r.default.div.withConfig({componentId:”sc-ba99d234-1″})([“padding:0 “,”;align-items:center;”],(0,c.h)(8)),V=r.default.div.withConfig({componentId:”sc-ba99d234-2″})([“display:flex;justify-content:flex-start;align-items:center;height:”,”;& svg{height:”,”;width:”,”;color:”,”;& path{fill:”,”;}}&:hover{background-color:”,”;}”],(0,c.h)(40),(0,c.h)(20),(0,c.h)(20),(0,E.iN)(500),(0,E.iN)(500),e=>{let{theme:n}=e;return”dark”===n.name?(0,E.se)(500):(0,E.ae)(50)}),F=(0,r.default)(g.z).withConfig({componentId:”sc-ba99d234-3″})([“display:flex;margin:0;font-size:”,”;width:100%;font-weight:700;padding:0;&:hover{color:”,”;}&&& svg{height:”,”;width:”,”;}”],(0,c.h)(12),(0,E.iN)(500),(0,c.h)(20),(0,c.h)(20));var Z=k},305710:function(e,n,a){a.d(n,{$m:function(){return N},CV:function(){return A},Fl:function(){return h},KJ:function(){return S},LJ:function(){return z},MU:function(){return I},Qp:function(){return M},R6:function(){return _},Yb:function(){return j},aN:function(){return w},d2:function(){return E},dc:function(){return L},fN:function(){return T},gM:function(){return R},gY:function(){return b},kn:function(){return v},mj:function(){return x},p$:function(){return P},pl:function(){return O},qn:function(){return C},sW:function(){return D},u8:function(){return K}});var t=a(231791),i=a(524777),r=a(173898),o=a(117073),s=a(80135),l=a(763952),u=a(331083),c=a(256913),d=a(208229),g=a(588922);function p(){let e=(0,t._)([“\n width: “,””]);return p=function(){return e},e}r.default.div.withConfig({componentId:”sc-b14e82ec-0″})([“”,” position:relative;border-radius:”,”;background:”,”;color:”,”;min-width:”,”;”,”;”],e=>{let{theme:n}=e;return n.shadows[200]},(0,i.rem)(8),u.$.surface(500),e=>{let{theme:n}=e;return”dark”===n.name?(0,s.se)(240):(0,s.ae)(540)},e=>{let{stretch:n}=e;return n?(0,i.rem)(416):(0,i.rem)(320)},e=>{let{stretch:n}=e;return g.B.xmd(p(),n?(0,i.rem)(536):(0,i.rem)(440))}),r.default.div.withConfig({componentId:”sc-b14e82ec-1″})([“letter-spacing:”,”;position:relative;padding:”,” “,” “,” “,”;margin-bottom “,”;”],(0,i.rem)(.2),(0,i.rem)(22),(0,i.rem)(24),(0,i.rem)(0),(0,i.rem)(24),(0,i.rem)(20));let m=r.default.div.withConfig({componentId:”sc-b14e82ec-2″})([“margin:0;transform:translateY(-2px);background-color:”,”;height:”,”;”],u.$.stroke,(0,i.rem)(1)),h=(0,r.default)(m).withConfig({componentId:”sc-b14e82ec-3″})([“transform:none;margin:”,” 0;”],(0,i.rem)(8));r.default.div.withConfig({componentId:”sc-b14e82ec-4″})([“padding:”,” “,”;”],(0,i.rem)(12),(0,i.rem)(24)),r.default.div.withConfig({componentId:”sc-b14e82ec-5″})([“display:flex;justify-content:space-between;align-items:center;”]),r.default.div.withConfig({componentId:”sc-b14e82ec-6″})([“display:flex;”]);let f=r.default.div.withConfig({componentId:”sc-b14e82ec-7″})([“font-weight:700;font-size:”,”;line-height:1;display:flex;color:”,”;”],(0,i.rem)(14),u.$.text.primary),I=r.default.div.withConfig({componentId:”sc-b14e82ec-8″})([“font-weight:400;font-size:”,”;line-height:”,”;display:flex;color:”,”;”],(0,i.rem)(14),(0,i.rem)(40),u.$.text.primary),y=r.default.div.withConfig({componentId:”sc-b14e82ec-9″})([“font-weight:400;font-size:”,”;line-height:”,”;color:”,”;”],(0,i.rem)(12),(0,i.rem)(18),u.$.text.primary),E=r.default.div.withConfig({componentId:”sc-b14e82ec-10″})([“display:flex;align-items:center;justify-items:left;”]);(0,r.default)(E).withConfig({componentId:”sc-b14e82ec-11″})([“flex-direction:column;”]);let v=(0,r.default)(y).withConfig({componentId:”sc-b14e82ec-12″})([“color:”,”;margin-top:”,”;color:”,”;a,a:hover{color:”,”;}”],(0,s.ae)(500),(0,i.rem)(16),e=>{let{theme:n}=e;return”dark”===n.name?(0,s.se)(240):(0,s.ae)(540)},e=>{let{theme:n}=e;return”dark”===n.name?(0,s.se)(240):(0,s.ae)(540)});(0,r.default)(v).withConfig({componentId:”sc-b14e82ec-13″})([“font-weight:bold;”]);let P=(0,r.default)(f).withConfig({componentId:”sc-b14e82ec-14″})([“color:”,”;”],u.$.status.positive),C=r.default.div.withConfig({componentId:”sc-b14e82ec-15″})([“margin:0 0 “,” 0;”],(0,i.rem)(12));(0,r.default)(l.z).withConfig({componentId:”sc-b14e82ec-16″})([“position:absolute;top:”,”;right:”,”;”],(0,i.rem)(16),(0,i.rem)(24)),r.default.div.withConfig({componentId:”sc-b14e82ec-17″})([“”,””],e=>{let{top:n=0,right:a=0,bottom:t=0,left:o=0}=e;return(0,r.css)([“margin:”,” “,” “,” “,”;”],(0,i.rem)(n),(0,i.rem)(a),(0,i.rem)(t),(0,i.rem)(o))});let A=(0,r.default)(l.z).withConfig({componentId:”sc-b14e82ec-18″})([“padding:0;color:”,”;align-items:center;display:inline-flex;justify-content:space-between;&:hover{cursor:initial;color:”,”;}svg{margin-left:”,”;}”],u.$.text.primary,u.$.text.primary,(0,i.rem)(5)),N=r.default.span.withConfig({componentId:”sc-b14e82ec-19″})([“font-weight:700;”]),R=r.default.div.withConfig({componentId:”sc-b14e82ec-20″})([“display:flex;justify-content:center;align-itens:center;& svg{height:”,”;width:”,”;}margin-left:”,”;”],(0,i.rem)(32),(0,i.rem)(32),e=>{let{marginNeeded:n}=e;return n?(0,i.rem)(28):0}),_=(0,r.default)(c.n).withConfig({componentId:”sc-b14e82ec-21″})([“margin:0;”,”;”,”;”,”;”],e=>{let{expired:n,disabled:a,theme:t}=e;return a&&”color: “.concat(“dark”===t.name?(0,s.se)(240):(0,s.ae)(540))||n&&”color: “.concat((0,s.Q6)(600))},e=>{let{warning:n,disabled:a}=e;return n&&a&&”color: “.concat((0,s.Q6)(400))},e=>{let{colorOverride:n}=e;return n&&”color: “.concat(n)}),S=(0,r.default)(_).withConfig({componentId:”sc-b14e82ec-22”})([“margin-bottom:”,”;”],(0,i.rem)(5)),T=(0,r.default)(c.n).withConfig({componentId:”sc-b14e82ec-23″})([“margin:0;padding:0;padding-right:”,”;color:”,”;”],e=>{let{paddingNeeded:n}=e;return n?(0,i.rem)(8):0},(0,s.Q6)(600));(0,r.default)(c.n).withConfig({componentId:”sc-b14e82ec-24″})([“margin-bottom:0;padding-top:”,”;color:”,”;”],(0,i.rem)(7),(0,s.Q6)(600)),r.default.span.withConfig({componentId:”sc-b14e82ec-25″})([“color:”,”;margin-right:”,”;& svg{width:”,”;height:”,”;vertical-align:middle;}& path{fill:”,”;}”],(0,s.Q6)(600),(0,i.rem)(2),(0,i.rem)(14),(0,i.rem)(14),(0,s.Q6)(600)),r.default.div.withConfig({componentId:”sc-b14e82ec-26″})([“display:flex;”]);let b=(0,r.default)(l.z).withConfig({componentId:”sc-b14e82ec-27″})([“margin-top:”,”;color:”,”;&:hover{color:”,”;}”],(0,i.rem)(12),e=>{let{theme:n}=e;return n.content.color},e=>{let{theme:n}=e;return n.content.color});(0,r.default)(d.h).withConfig({componentId:”sc-b14e82ec-28″})([“text-decoration:line-through;font-weight:400;display:inline;”]),(0,r.default)(d.h).withConfig({componentId:”sc-b14e82ec-29″})([“margin-left:”,”;color:”,”;display:inline;”],(0,i.rem)(8),u.$.status.positive);let w=(0,r.default)(o.B).withConfig({componentId:”sc-b14e82ec-30″})([“display:flex;margin-bottom:”,”;height:”,”;height:”,”;width:100%;”],(0,i.rem)(22),(0,i.rem)(105),e=>{let{trial:n}=e;return n?(0,i.rem)(105):(0,i.rem)(109)}),x=(0,r.default)(o.B).withConfig({componentId:”sc-b14e82ec-31″})([“display:flex;margin:0;height:”,”;width:”,”;”],(0,i.rem)(30),(0,i.rem)(150)),j=(0,r.default)(o.B).withConfig({componentId:”sc-b14e82ec-32″})([“display:flex;margin:0;height:”,”;width:”,”;”],(0,i.rem)(30),(0,i.rem)(150)),L=(0,r.default)(o.B).withConfig({componentId:”sc-b14e82ec-33″})([“display:flex;margin-bottom:”,”;height:”,”;width:”,”;”],(0,i.rem)(22),(0,i.rem)(30),(0,i.rem)(150)),O=(0,r.default)(o.B).withConfig({componentId:”sc-b14e82ec-34″})([“display:flex;margin-bottom:”,”;height:”,”;width:”,”;”],(0,i.rem)(22),(0,i.rem)(30),(0,i.rem)(100)),z=(0,r.default)(o.B).withConfig({componentId:”sc-b14e82ec-35″})([“display:flex;margin-bottom:”,”;height:”,”;width:”,”;”],(0,i.rem)(10),(0,i.rem)(30),(0,i.rem)(150)),D=(0,r.default)(o.B).withConfig({componentId:”sc-b14e82ec-36″})([“display:flex;margin-bottom:”,”;height:”,”;width:”,”;”],(0,i.rem)(10),(0,i.rem)(30),(0,i.rem)(100));(0,r.default)(d.h).withConfig({componentId:”sc-b14e82ec-37″})([“margin:0;”]);let K=(0,r.default)(d.h).withConfig({componentId:”sc-b14e82ec-38″})([“font-weight:normal;margin-bottom:”,”;”],(0,i.rem)(4));(0,r.default)(K).withConfig({componentId:”sc-b14e82ec-39″})([“width:100%;margin-top:”,”;margin-bottom:0;”],(0,i.rem)(4));let M=r.default.div.withConfig({componentId:”sc-b14e82ec-40″})([“padding:”,” 0;”],(0,i.rem)(4))},642642:function(e,n,a){var t=a(397458);a(652983);var i=a(945368),r=a(662555),o=a(305710),s=a(740411);let l={BillingAdjustmentTip:(0,r.Iu)({singular:”Your price is pro-rated based on the remaining time in your plan cycle.”,dictionary:{“de-DE”:{singular:”Dein Preis berechnet sich anteilig nach der im Abrechnungszeitraum deines Tarifs verbleibenden Zeit.”},en:{singular:”Your price is pro-rated based on the remaining time in your plan cycle.”},es:{singular:”Tu precio se prorratea en funci\xf3n del tiempo restante en el ciclo de tu plan.”},”fr-FR”:{singular:”Votre prix est calcul\xe9 au prorata en fonction du temps restant dans votre abonnement.”},”ja-JP”:{singular:”価格は、プランサイクルの残りの期間に基づいて割り当てられています。”},”ko-KR”:{singular:”가격은 요금제 주기의 미사용 시간을 기준으로 일할 계산됩니다.”},”pt-BR”:{singular:”O pre\xe7o \xe9 calculado proporcionalmente com base no tempo restante no ciclo do seu plano.”},”zh-CN”:{singular:”价格根据套餐周期的剩余时间按比例计算。”}}}),SubtotalTip:(e,n)=>(0,r.Iu)({singular:”Each seat costs {PRICE}, billed {BILLING_CYCLE}.”,replacements:{PRICE:e,BILLING_CYCLE:n},dictionary:{“de-DE”:{singular:”Jede Einzellizenz kostet {PRICE}, bei {BILLING_CYCLE} Abrechnung.”},en:{singular:”Each seat costs {PRICE}, billed {BILLING_CYCLE}.”},es:{singular:”Cada puesto cuesta {PRICE} y se factura {BILLING_CYCLE}.”},”fr-FR”:{singular:”Chaque licence co\xfbte {PRICE} par {BILLING_CYCLE}.”},”ja-JP”:{singular:”各シートライセンスの価格は{PRICE}で、{BILLING_CYCLE}払いです。”},”ko-KR”:{singular:”각 사용자 라이선스의 비용은 {PRICE}이며 {BILLING_CYCLE} 청구됩니다.”},”pt-BR”:{singular:”Cada licen\xe7a custa {PRICE}, cobrada {BILLING_CYCLE}.”},”zh-CN”:{singular:”每个席位的价格为 {PRICE},按 {BILLING_CYCLE} 计费。”}}}),PaymentMethodTip:(0,r.Iu)({singular:”The payment method can be changed in your Billing page.”,dictionary:{“de-DE”:{singular:”Die Zahlungsmethode kann auf deiner Abrechnungsseite ge\xe4ndert werden.”},en:{singular:”The payment method can be changed in your Billing page.”},es:{singular:”El m\xe9todo de pago se puede cambiar en tu p\xe1gina de facturaci\xf3n.”},”fr-FR”:{singular:”Le mode de paiement peut \xeatre modifi\xe9 sur votre page de facturation.”},”ja-JP”:{singular:”お支払い方法は、お支払いページで変更できます。”},”ko-KR”:{singular:”결제 수단은 청구 페이지에서 변경할 수 있습니다.”},”pt-BR”:{singular:”O m\xe9todo de pagamento pode ser alterado na p\xe1gina Cobran\xe7a.”},”zh-CN”:{singular:”您可以在计费页面更改付款方式。”}}})},u={ReceiptInfo:(0,r.Iu)({singular:”We’ll send a receipt via email and the card on file will be charged. This purchase is for an additional seat regardless of invitation acceptance and is non-refundable.”,dictionary:{“de-DE”:{singular:”Wir senden dir einen Beleg per E-Mail und belasten die hinterlegte Karte. Dieser Kauf bezieht sich auf eine weitere Einzellizenz, unabh\xe4ngig von der Einladungsannahme, und ist nicht erstattungsf\xe4hig.”},en:{singular:”We’ll send a receipt via email and the card on file will be charged. This purchase is for an additional seat regardless of invitation acceptance and is non-refundable.”},es:{singular:”Te enviaremos un recibo por correo electr\xf3nico y se cobrar\xe1 de la tarjeta registrada. Esta compra incluye un puesto adicional independientemente de la aceptaci\xf3n de la invitaci\xf3n y no es reembolsable.”},”fr-FR”:{singular:”Nous vous enverrons un re\xe7u par e-mail et facturerons votre carte enregistr\xe9e. Cet achat concerne une licence suppl\xe9mentaire, ne d\xe9pend pas de l’acceptation de l’invitation et n’est pas remboursable.”},”ja-JP”:{singular:”登録されているカードに請求され、領収書をメールで送信します。この購入は、招待の受諾に関係なく追加のシートライセンス購入のためのものであり、払い戻しはできません。”},”ko-KR”:{singular:”영수증은 이메일로 전송되며 등록된 카드로 요금이 청구됩니다. 이 구매는 초대 수락 여부와 관계없이 추가 사용자 라이선스를 위한 것이며 환불되지 않습니다.”},”pt-BR”:{singular:”Enviaremos um recibo por e-mail, e uma cobran\xe7a ser\xe1 feita no cart\xe3o registrado. Esta compra \xe9 de uma licen\xe7a adicional, independentemente da aceita\xe7\xe3o de convite, e n\xe3o \xe9 reembols\xe1vel.”},”zh-CN”:{singular:”我们将通过电子邮件发送收据,并从您登记的信用卡扣款。无论是否接受邀请,该购买均为额外席位,且不可退款。”}}}),TrialReceiptInfo:(0,r.Iu)({singular:”At the start of your subscription, we’ll send a receipt via email and the card on file will be charged. This purchase is for an additional seat regardless of invitation acceptance and is non-refundable.”,dictionary:{“de-DE”:{singular:”Zu Beginn deines Abonnements senden wir dir einen Beleg per E-Mail und belasten die hinterlegte Karte. Dieser Kauf bezieht sich auf eine weitere Einzellizenz, unabh\xe4ngig von der Einladungsannahme, und ist nicht erstattungsf\xe4hig.”},en:{singular:”At the start of your subscription, we’ll send a receipt via email and the card on file will be charged. This purchase is for an additional seat regardless of invitation acceptance and is non-refundable.”},es:{singular:”Al comienzo de tu suscripci\xf3n, te enviaremos un recibo por correo electr\xf3nico y se cobrar\xe1 de la tarjeta registrada. Esta compra incluye un puesto adicional independientemente de la aceptaci\xf3n de la invitaci\xf3n y no es reembolsable.”},”fr-FR”:{singular:”Lorsque votre abonnement d\xe9butera, nous facturerons votre carte enregistr\xe9e et vous enverrons une facture par e-mail. Cet achat concerne une licence suppl\xe9mentaire, ne d\xe9pend pas de l’acceptation de l’invitation et n’est pas remboursable.”},”ja-JP”:{singular:”サブスクリプションの開始時に、登録されているカードに請求され、領収書をメールでお送りします。この購入は、招待の受諾に関係なく追加のシートライセンス購入のためのものであり、払い戻しはできません。”},”ko-KR”:{singular:”구독 시작 시 영수증이 이메일로 전송되며 등록된 카드로 요금이 청구됩니다. 이 구매는 초대 수락 여부와 관계없이 추가 사용자 라이선스를 위한 것이며 환불되지 않습니다.”},”pt-BR”:{singular:”No in\xedcio da sua assinatura, enviaremos um recibo por e-mail, e uma cobran\xe7a ser\xe1 feita no cart\xe3o registrado. Esta compra \xe9 de uma licen\xe7a adicional, independentemente da aceita\xe7\xe3o de convite, e n\xe3o \xe9 reembols\xe1vel.”},”zh-CN”:{singular:”订阅开始时,我们将通过电子邮件发送收据,并从您登记的信用卡扣款。无论是否接受邀请,该购买均为额外席位,且不可退款。”}}}),TermsConditionsTrial:(e,n,a,s,l,u,c)=>(0,r.Iu)({singular:”By clicking below, you agree to our {TERMS_LINK}Terms of Service{/TERMS_LINK}, {PRIVACY_LINK}Privacy Policy{/PRIVACY_LINK}, and {SPAN}automatic renewal{/SPAN}. After the free trial ends on {DATE}, your subscription begins and you authorize Vimeo to charge {PRICE} or the then-current rate (plus any tax) each {BILLING_PERIOD} until you cancel in your account settings.”,replacements:{TERMS_LINK:n=>(0,t.jsx)(i.r,{variant:”inline-secondary”,fontSize:”body-sm”,href:e,onClick:u,target:”_blank”,children:n},”payments-tos”),PRIVACY_LINK:e=>(0,t.jsx)(i.r,{variant:”inline-secondary”,fontSize:”body-sm”,href:n,onClick:c,target:”_blank”,children:e},”payments-privacy”),SPAN:e=>(0,t.jsx)(o.$m,{children:e}),PRICE:a,DATE:s,BILLING_PERIOD:l},dictionary:{“de-DE”:{singular:”Mit Klick auf den Button unten stimmst du unseren {TERMS_LINK}Nutzungsbedingungen{/TERMS_LINK}, unserer {PRIVACY_LINK}Datenschutzrichtlinie{/PRIVACY_LINK} und der {SPAN}automatischen Verl\xe4ngerung{/SPAN} zu. Nach Ablauf des kostenlosen Probeabos am {DATE} wird dein Abonnement gestartet und du autorisierst Vimeo dazu, in jedem {BILLING_PERIOD} einen Betrag \xfcber {PRICE} bzw. den jeweils aktuellen Preis (zuz\xfcglich Steuern) einzuziehen, bis du diese Autorisierung in deinen Kontoeinstellungen widerrufst.”},en:{singular:”By clicking below, you agree to our {TERMS_LINK}Terms of Service{/TERMS_LINK}, {PRIVACY_LINK}Privacy Policy{/PRIVACY_LINK}, and {SPAN}automatic renewal{/SPAN}. After the free trial ends on {DATE}, your subscription begins and you authorize Vimeo to charge {PRICE} or the then-current rate (plus any tax) each {BILLING_PERIOD} until you cancel in your account settings.”},es:{singular:”Al hacer clic a continuaci\xf3n, aceptas nuestros {TERMS_LINK}T\xe9rminos de servicio{/TERMS_LINK}, nuestra {PRIVACY_LINK}Pol\xedtica de privacidad{/PRIVACY_LINK} y la {SPAN}renovaci\xf3n autom\xe1tica{/SPAN}. Cuando termine la prueba gratis, el {DATE}, tu suscripci\xf3n comenzar\xe1 y autorizas que Vimeo cobre {PRICE} o la tarifa vigente en ese momento, m\xe1s cualquier impuesto, cada {BILLING_PERIOD} hasta que la canceles en la configuraci\xf3n de tu cuenta.”},”fr-FR”:{singular:”En cliquant ci-dessous, vous acceptez nos {TERMS_LINK}conditions d’utilisation{/TERMS_LINK}, notre {PRIVACY_LINK}politique de confidentialit\xe9{/PRIVACY_LINK} ainsi que le {SPAN}renouvellement automatique{/SPAN} de votre abonnement. Une fois la p\xe9riode d’essai gratuit termin\xe9e, le {DATE}, votre abonnement commencera. Vous autorisez Vimeo \xe0 vous facturer {PRICE}, ou le tarif alors en vigueur (plus taxes applicables), chaque {BILLING_PERIOD}, jusqu’\xe0 ce que vous r\xe9siliiez votre abonnement dans les param\xe8tres de votre compte.”},”ja-JP”:{singular:”下記をクリックすることで、当社の{TERMS_LINK}利用規約{/TERMS_LINK}、{PRIVACY_LINK}プライバシーポリシー{/PRIVACY_LINK}、および{SPAN}自動更新{/SPAN}に同意したことになります。無料トライアルが {DATE} で終了すると、お客様のサブスクリプションが開始され、アカウント設定でキャンセルするまで {PRICE} またはその当時のレート(および税金)が {BILLING_PERIOD} 毎に請求されます。”},”ko-KR”:{singular:”아래를 클릭하면 Vimeo의 {TERMS_LINK}서비스 약관{/TERMS_LINK}, {PRIVACY_LINK}개인정보보호 정책{/PRIVACY_LINK} 및 {SPAN}자동 갱신{/SPAN}에 동의하는 것입니다. 무료 체험이 {DATE}에 종료되면 구독이 시작되고, 귀하가 계정 설정에서 취소할 때까지 Vimeo가 귀하에게 {PRICE} 또는 당시 현행 요금(세금 포함)을 각 {BILLING_PERIOD}에 청구하도록 승인합니다.”},”pt-BR”:{singular:”Ao clicar abaixo, voc\xea aceita nossos {TERMS_LINK}Termos de Servi\xe7o{/TERMS_LINK}, nossa {PRIVACY_LINK}Pol\xedtica de Privacidade{/PRIVACY_LINK} e a {SPAN}renova\xe7\xe3o autom\xe1tica{/SPAN}. Sua assinatura entrar\xe1 em vigor ap\xf3s o t\xe9rmino do teste gratuito em {DATE}, e voc\xea autoriza o Vimeo a cobrar {PRICE} ou o valor vigente (mais todos os impostos) todo {BILLING_PERIOD} at\xe9 voc\xea fazer o cancelamento nas configura\xe7\xf5es da sua conta.”},”zh-CN”:{singular:”点击下方,即表示您同意我们的{TERMS_LINK}服务条款{/TERMS_LINK}和{PRIVACY_LINK}隐私政策{/PRIVACY_LINK},并{SPAN}自动续订{/SPAN}。{DATE} 优惠月份结束之后,您的订阅开始生效,您授权 Vimeo 每 {BILLING_PERIOD} 收取 {PRICE} 或当时有效的费率(以及任何税费),直至您在账户设置中取消订阅为止。”}}}),TermsConditionsOptedIn:(e,n,a,s,l,u)=>(0,r.Iu)({singular:”By clicking below, you agree to our {TERMS_LINK}Terms of Service{/TERMS_LINK}, {PRIVACY_LINK}Privacy Policy{/PRIVACY_LINK}, and {SPAN}automatic renewal{/SPAN}. You authorize Vimeo to charge {PRICE} or the then-current rate (plus any tax) each {BILLING_PERIOD} until you cancel in your account settings.”,replacements:{TERMS_LINK:n=>(0,t.jsx)(i.r,{variant:”inline-secondary”,fontSize:”body-sm”,href:e,onClick:l,target:”_blank”,children:n},”payments-tos”),PRIVACY_LINK:e=>(0,t.jsx)(i.r,{variant:”inline-secondary”,fontSize:”body-sm”,href:n,onClick:u,target:”_blank”,children:e},”payments-privacy”),SPAN:e=>(0,t.jsx)(o.$m,{children:e}),PRICE:a,BILLING_PERIOD:s},dictionary:{“de-DE”:{singular:”Mit Klick auf den Button unten stimmst du unseren {TERMS_LINK}Nutzungsbedingungen{/TERMS_LINK}, unserer {PRIVACY_LINK}Datenschutzrichtlinie{/PRIVACY_LINK} und der {SPAN}automatischen Verl\xe4ngerung{/SPAN} zu. Du autorisierst Vimeo dadurch au\xdferdem dazu, in jedem {BILLING_PERIOD} einen Betrag \xfcber {PRICE} bzw. den jeweils aktuellen Preis (zuz\xfcglich Steuern) einzuziehen, bis du diese Autorisierung in deinen Kontoeinstellungen widerrufst.”},en:{singular:”By clicking below, you agree to our {TERMS_LINK}Terms of Service{/TERMS_LINK}, {PRIVACY_LINK}Privacy Policy{/PRIVACY_LINK}, and {SPAN}automatic renewal{/SPAN}. You authorize Vimeo to charge {PRICE} or the then-current rate (plus any tax) each {BILLING_PERIOD} until you cancel in your account settings.”},es:{singular:”Al hacer clic a continuaci\xf3n, aceptas nuestros {TERMS_LINK}T\xe9rminos de servicio{/TERMS_LINK}, nuestra {PRIVACY_LINK}Pol\xedtica de privacidad{/PRIVACY_LINK} y la {SPAN} renovaci\xf3n autom\xe1tica{/SPAN}. Autorizas que Vimeo cobre {PRICE} o la tarifa vigente en ese momento, m\xe1s cualquier impuesto, cada {BILLING_PERIOD} hasta que la canceles en la configuraci\xf3n de tu cuenta.”},”fr-FR”:{singular:”En cliquant ci-dessous, vous acceptez nos {TERMS_LINK}conditions d’utilisation{/TERMS_LINK}, notre {PRIVACY_LINK}politique de confidentialit\xe9{/PRIVACY_LINK} ainsi que le {SPAN}renouvellement automatique{/SPAN} de votre abonnement. Vous autorisez Vimeo \xe0 vous facturer {PRICE}, ou le tarif alors en vigueur (plus taxes applicables), chaque {BILLING_PERIOD}, jusqu’\xe0 ce que vous r\xe9siliiez votre abonnement dans les param\xe8tres de votre compte.”},”ja-JP”:{singular:”下記をクリックすることで、当社の{TERMS_LINK}利用規約{/TERMS_LINK}、{PRIVACY_LINK}プライバシーポリシー{/PRIVACY_LINK}、および{SPAN}自動更新{/SPAN}に同意したことになります。お客様は、アカウント設定でキャンセルするまで {PRICE} またはその当時のレート(および税金)が {BILLING_PERIOD} 毎にVimeoから請求されることに承認したことになります。”},”ko-KR”:{singular:”아래를 클릭하면 Vimeo의 {TERMS_LINK}서비스 약관{/TERMS_LINK}, {PRIVACY_LINK}개인정보보호 정책{/PRIVACY_LINK} 및 {SPAN}자동 갱신{/SPAN}에 동의하는 것입니다. 귀하가 계정 설정에서 취소할 때까지 Vimeo가 귀하에게 {PRICE} 또는 당시 현행 요금(세금 포함)을 각 {BILLING_PERIOD}에 청구하도록 승인합니다.”},”pt-BR”:{singular:”Ao clicar abaixo, voc\xea aceita nossos {TERMS_LINK}Termos de Servi\xe7o{/TERMS_LINK}, nossa {PRIVACY_LINK}Pol\xedtica de Privacidade{/PRIVACY_LINK} e a {SPAN}renova\xe7\xe3o autom\xe1tica{/SPAN}. Voc\xea autoriza o Vimeo a cobrar {PRICE} ou o valor vigente (mais todos os impostos) todos os anos {BILLING_PERIOD} at\xe9 voc\xea fazer o cancelamento nas configura\xe7\xf5es da sua conta.”},”zh-CN”:{singular:”点击下方,即表示您同意我们的{TERMS_LINK}服务条款{/TERMS_LINK}、{PRIVACY_LINK}隐私政策{/PRIVACY_LINK}和{SPAN}自动续订{/SPAN}。您授权 Vimeo 每 {BILLING_PERIOD} 收取 {PRICE} 或当时的费率(加上任何税费),直至您在帐户设置中取消。”}}}),TermsConditionsOptedOut:(e,n,a,o,s)=>(0,r.Iu)({singular:”By clicking below, you agree to our {TERMS_LINK}Terms of Service{/TERMS_LINK} and {PRIVACY_LINK}Privacy Policy{/PRIVACY_LINK}, and authorize Vimeo to charge {PRICE} to your card on file. This purchase will not automatically renew unless you change your account settings.”,replacements:{TERMS_LINK:n=>(0,t.jsx)(i.r,{variant:”inline-secondary”,fontSize:”body-sm”,href:e,onClick:o,target:”_blank”,children:n},”payments-tos”),PRIVACY_LINK:e=>(0,t.jsx)(i.r,{variant:”inline-secondary”,fontSize:”body-sm”,href:n,onClick:s,target:”_blank”,children:e},”payments-privacy”),PRICE:a},dictionary:{“de-DE”:{singular:”Wenn du unten klickst, akzeptierst du unsere {TERMS_LINK}Nutzungsbedingungen{/TERMS_LINK} und unsere {PRIVACY_LINK}Datenschutzrichtlinie{/PRIVACY_LINK} und erteilst Vimeo die Befugnis, deine bei uns hinterlegte Karte mit {PRICE} zu belasten. Dieser Kauf verl\xe4ngert sich nicht automatisch. Du kannst dies in deinen Kontoeinstellungen \xe4ndern.”},en:{singular:”By clicking below, you agree to our {TERMS_LINK}Terms of Service{/TERMS_LINK} and {PRIVACY_LINK}Privacy Policy{/PRIVACY_LINK}, and authorize Vimeo to charge {PRICE} to your card on file. This purchase will not automatically renew unless you change your account settings.”},es:{singular:”Al hacer clic abajo, aceptas nuestros {TERMS_LINK}T\xe9rminos de servicio{/TERMS_LINK} y la {PRIVACY_LINK}Pol\xedtica de privacidad{/PRIVACY_LINK}, y autorizas a Vimeo a cobrar {PRICE} de tu tarjeta registrada. Esta compra no se renovar\xe1 autom\xe1ticamente, a menos que cambies la configuraci\xf3n de tu cuenta.”},”fr-FR”:{singular:”En cliquant ci-dessous, vous acceptez nos {TERMS_LINK}conditions d’utilisation{/TERMS_LINK} et notre {PRIVACY_LINK}politique de confidentialit\xe9{/PRIVACY_LINK}, et autorisez Vimeo \xe0 d\xe9biter {PRICE} de la carte enregistr\xe9e. Cet achat ne se renouvellera pas automatiquement, sauf si vous modifiez les param\xe8tres de votre compte.”},”ja-JP”:{singular:”以下をクリックすることで、Vimeoの{TERMS_LINK}サービス利用規約{/TERMS_LINK}と{PRIVACY_LINK}プライバシーポリシー{/PRIVACY_LINK}に同意し、登録されているカードに {PRICE}が請求されることを承認したことになります。アカウント設定を変更しない限り、この購入は自動的に更新されません。”},”ko-KR”:{singular:”아래를 클릭하면 Vimeo의 {TERMS_LINK}서비스 약관{/TERMS_LINK}, {PRIVACY_LINK}개인정보보호 정책{/PRIVACY_LINK}에 동의하고 Vimeo가 귀하의 등록된 카드에 {PRICE}을(를) 청구하도록 승인하는 것입니다. 계정 설정을 변경하지 않는 한 이 구매는 자동 갱신되지 않습니다.”},”pt-BR”:{singular:”Ao clicar abaixo, voc\xea concorda com os {TERMS_LINK}Termos de Servi\xe7o{/TERMS_LINK} e com a {PRIVACY_LINK}Pol\xedtica de Privacidade{/PRIVACY_LINK} e autoriza o Vimeo a cobrar {PRICE} no seu cart\xe3o registrado. Esta compra n\xe3o ser\xe1 renovada automaticamente a menos que voc\xea altere as configura\xe7\xf5es da sua conta.”},”zh-CN”:{singular:”点击下方,即表示您同意我们的 {TERMS_LINK}服务条款{/TERMS_LINK}和{PRIVACY_LINK}隐私政策{/PRIVACY_LINK},并授权 Vimeo 从您登记的卡中收取 {PRICE}。此购买活动不会自动续订,除非您更改账户设置。”}}}),PayPayRedirctInfo:(0,r.Iu)({singular:”You’ll be redirected to PayPal, where you can review your order before you purchase.”,dictionary:{“de-DE”:{singular:”Du wirst zu PayPal weitergeleitet, wo du deine Bestellung vor dem Einkauf \xfcberpr\xfcfen kannst.”},en:{singular:”You’ll be redirected to PayPal, where you can review your order before you purchase.”},es:{singular:”Ir\xe1s a la p\xe1gina de PayPal. All\xed podr\xe1s revisar la compra antes de completarla.”},”fr-FR”:{singular:”Vous serez redirig\xe9 sur PayPal, d’o\xf9 vous pourrez passer en revue votre commande avant de compl\xe9ter votre achat.”},”ja-JP”:{singular:”PayPalに切り替わりご購入詳細をご確認いただけます。”},”ko-KR”:{singular:”구매 전 주문 내역을 검토할 수 있도록 PayPal로 이동됩니다.”},”pt-BR”:{singular:”Voc\xea ser\xe1 redirecionado para o PayPal, onde voc\xea pode rever seu pedido antes de comprar.”},”zh-CN”:{singular:”您将被重定向到 PayPal,在购买之前,您可以在那里查看您的订单。”}}}),PayPayTrialInfo:(0,r.Iu)({singular:”You’ll be redirected to PayPal, where we’ll verify your payment method by placing a temporary authorization of $0.01 (or the lowest amount in your local currency). This amount will appear as \”pending\” until verified and then it will be released.”,dictionary:{“de-DE”:{singular:”Du wirst zu PayPal weitergeleitet, wo wir deine Zahlungsmethode verifizieren, indem wir eine tempor\xe4re Autorisierung von 0,01\xa0USD (oder dem niedrigsten Betrag in deiner Landesw\xe4hrung) vornehmen. Dieser Betrag wird als „ausstehend“ angezeigt, bis er verifiziert und dann freigegeben wird.”},en:{singular:”You’ll be redirected to PayPal, where we’ll verify your payment method by placing a temporary authorization of $0.01 (or the lowest amount in your local currency). This amount will appear as \”pending\” until verified and then it will be released.”},es:{singular:’Se te redireccionar\xe1 a PayPal, donde verificaremos tu m\xe9todo de pago mediante la retenci\xf3n de una autorizaci\xf3n temporal de $0.01 (o el monto m\xe1s bajo posible en tu moneda local). Este monto aparecer\xe1 como “pendiente” hasta que se verifique y luego se liberar\xe1.’},”fr-FR”:{singular:”Vous serez redirig\xe9(e) vers PayPal, o\xf9 nous pourrons v\xe9rifier votre mode de paiement en appliquant une autorisation temporaire de 0,01\xa0$ (ou le montant le plus bas possible dans votre devise locale). Ce montant appara\xeetra comme \xab\xa0en attente de\xa0\xbb jusqu’\xe0 v\xe9rification, puis sera d\xe9bloqu\xe9.”},”ja-JP”:{singular:”このあとお客様はPayPalにリダイレクトされます。当社は0.01ドル(またはお客様の国の通貨の最低額)の一時的承認を実施し、お客様のお支払い方法を確認します。この確認が完了するまでこの金額は「保留」として表示され、確認後に解除されます。”},”ko-KR”:{singular:’PayPal로 리디렉션되며 결제 수단 확인을 위해 계정에 $0.01(또는 현지 통화로 가장 낮은 금액)를 임시 승인합니다. 이 금액은 확인될 때까지 “보류 중”으로 표시된 후 취소됩니다.’},”pt-BR”:{singular:’Voc\xea ser\xe1 redirecionado para o PayPal, onde verificaremos sua forma de pagamento e enviaremos uma autoriza\xe7\xe3o tempor\xe1ria de cobran\xe7a de US$ 0,01 (ou o menor valor na sua moeda local). Esse valor ser\xe1 exibido como “pendente” at\xe9 ser verificado e, em seguida, ser\xe1 liberado.’},”zh-CN”:{singular:”您将被重定向到 PayPal,我们将通过临时授权 0.01 美元(或您当地货币的最低金额)来验证您的付款方式。在验证之前,此金额将显示为“待处理”,然后将被发出。”}}})},c={[s.Nf.PAYMENT_FAILED]:(0,r.Iu)({singular:”Payment failed, please try again.”,dictionary:{“de-DE”:{singular:”Zahlung fehlgeschlagen, bitte versuche es erneut.”},en:{singular:”Payment failed, please try again.”},es:{singular:”Hubo un error en el pago, vuelve a intentarlo.”},”fr-FR”:{singular:”\xc9chec du paiement. Veuillez r\xe9essayer.”},”ja-JP”:{singular:”決済ができませんでした。再度お試しください。”},”ko-KR”:{singular:”결제에 실패했습니다. 다시 시도해주세요.”},”pt-BR”:{singular:”Falha no pagamento. Tente novamente.”},”zh-CN”:{singular:”付款失败,请重试。”}}}),[s.Nf.SOMETHING_WRONG]:(0,r.Iu)({singular:”Oops! Something went wrong. Please try again.”,dictionary:{“de-DE”:{singular:”Hoppla! Etwas ist schief gelaufen. Bitte versuche es nochmal.”},en:{singular:”Oops! Something went wrong. Please try again.”},es:{singular:”\xa1Ups, algo sali\xf3 mal! Vuelve a intentarlo.”},”fr-FR”:{singular:”Oups\xa0! Une erreur s’est produite. Veuillez essayer \xe0 nouveau.”},”ja-JP”:{singular:”エラーが発生しました。再度お試しください。”},”ko-KR”:{singular:”죄송합니다. 문제가 발생했습니다. 다시 시도해주세요.”},”pt-BR”:{singular:”Oh! Alguma coisa deu errado. Por favor, tente novamente.”},”zh-CN”:{singular:”哎呀,出错了。请重试。”}}}),[s.Nf.PURCHASE_SUCCESSFULL]:(0,r.Iu)({singular:”Your purchase was successfull!”,dictionary:{“de-DE”:{singular:”Dein Kauf war erfolgreich!”},en:{singular:”Your purchase was successfull!”},es:{singular:”\xa1Tu compra se realiz\xf3 con \xe9xito!”},”fr-FR”:{singular:”Votre achat a bien \xe9t\xe9 pris en compte\xa0!”},”ja-JP”:{singular:”購入が完了しました!”},”ko-KR”:{singular:”구매가 성공적으로 이루어졌습니다!”},”pt-BR”:{singular:”Sua compra foi realizada com sucesso!”},”zh-CN”:{singular:”购买成功!”}}}),[s.Nf.PURCHASE_SUCCESSFULL_WITH_SEATS]:e=>(0,r.Iu)({singular:”You’ve successfully purchased {SEAT_COUNT} seat!”,plural:”You’ve successfully purchased {SEAT_COUNT} seats!”,count:e,replacements:{SEAT_COUNT:e},dictionary:{“de-DE”:{singular:”Du hast erfolgreich {SEAT_COUNT}\xa0Einzellizenz erworben!”,plural:”Du hast erfolgreich {SEAT_COUNT}\xa0Einzellizenzen erworben!”},en:{singular:”You’ve successfully purchased {SEAT_COUNT} seat!”,plural:”You’ve successfully purchased {SEAT_COUNT} seats!”},es:{singular:”\xa1Has comprado con \xe9xito {SEAT_COUNT} puesto!”,plural:”\xa1Has comprado con \xe9xito {SEAT_COUNT} puestos!”},”fr-FR”:{singular:”Vous avez achet\xe9 {SEAT_COUNT}\xa0licence\xa0!”,plural:”Vous avez achet\xe9 {SEAT_COUNT}\xa0licences\xa0!”},”ja-JP”:{singular:”{SEAT_COUNT}個のシートライセンスが正常に削除されました。”,plural:”{SEAT_COUNT}個のシートライセンスが正常に削除されました。”},”ko-KR”:{singular:”사용자 라이선스 {SEAT_COUNT}개를 구매했습니다!”,plural:”사용자 라이선스 {SEAT_COUNT}개를 구매했습니다!”},”pt-BR”:{singular:”Voc\xea comprou com sucesso {SEAT_COUNT} licen\xe7a!”,plural:”Voc\xea comprou com sucesso {SEAT_COUNT} licen\xe7as!”},”zh-CN”:{singular:”您已成功购买 {SEAT_COUNT} 个席位!”,plural:”您已成功购买 {SEAT_COUNT} 个席位!”}}}),[s.Nf.ADDED_SEATS_SUCCESSFULLY]:(0,r.Iu)({singular:”You’ve successfully added seats.”,dictionary:{“de-DE”:{singular:”Du hast erfolgreich Lizenzen hinzugef\xfcgt.”},en:{singular:”You’ve successfully added seats.”},es:{singular:”Agregaste puestos con \xe9xito.”},”fr-FR”:{singular:”Vous avez ajout\xe9 des licences.”},”ja-JP”:{singular:”シートライセンスが正常に追加されました。”},”ko-KR”:{singular:”사용자를 성공적으로 추가했습니다.”},”pt-BR”:{singular:”Voc\xea adicionou licen\xe7as com sucesso.”},”zh-CN”:{singular:”您已成功添加席位。”}}}),[s.Nf.INVITATION_FAILED]:(0,r.Iu)({singular:”The invitation failed to send. Please try inviting again.”,dictionary:{“de-DE”:{singular:”Die Einladung konnte nicht gesendet werden. Bitte versuche, die Einladung erneut zu senden.”},en:{singular:”The invitation failed to send. Please try inviting again.”},es:{singular:”No se pudo enviar la invitaci\xf3n. Intenta enviar la invitaci\xf3n de nuevo.”},”fr-FR”:{singular:”L’invitation n’a pas pu \xeatre envoy\xe9e. Veuillez r\xe9essayer.”},”ja-JP”:{singular:”招待を送信できませんでした。再度招待してください。”},”ko-KR”:{singular:”초대장 전송에 실패했습니다. 다시 초대해보세요.”},”pt-BR”:{singular:”Falha no envio do convite. Tente novamente.”},”zh-CN”:{singular:”邀请发送失败。请再次尝试邀请。”}}}),[s.Nf.PURCHASE_INVITATION_SUCCESSFULL]:(0,r.Iu)({singular:”Your purchase was successful and your invites have been sent!”,dictionary:{“de-DE”:{singular:”Dein Kauf war erfolgreich und deine Einladungen wurden versendet!”},en:{singular:”Your purchase was successful and your invites have been sent!”},es:{singular:”\xa1Tu compra se realiz\xf3 con \xe9xito y se enviaron tus invitaciones!”},”fr-FR”:{singular:”Votre achat a bien \xe9t\xe9 pris en compte et vos invitations ont \xe9t\xe9 envoy\xe9es\xa0!”},”ja-JP”:{singular:”購入が完了し、招待が送信されました。”},”ko-KR”:{singular:”구매가 성공적으로 완료되었으며 초대장이 전송되었습니다!”},”pt-BR”:{singular:”Sua compra foi realizada com sucesso, e seus convites foram enviados!”},”zh-CN”:{singular:”您的购买已成功,您的邀请已发送!”}}}),[s.Nf.BILLING_FETCH_FAILED]:(0,r.Iu)({singular:”Unable to retrieve billing data. Please try again later.”,dictionary:{“de-DE”:{singular:”Die Rechnungsdaten konnten nicht abgerufen werden. Bitte versuche es sp\xe4ter erneut.”},en:{singular:”Unable to retrieve billing data. Please try again later.”},es:{singular:”No se pudieron recuperar los datos de facturaci\xf3n. Vuelve a intentarlo m\xe1s tarde.”},”fr-FR”:{singular:”Impossible de r\xe9cup\xe9rer les donn\xe9es de facturation. Veuillez r\xe9essayer plus tard.”},”ja-JP”:{singular:”請求データを取得できません。しばらくしてからもう一度お試しください。”},”ko-KR”:{singular:”결제 데이터를 가져올 수 없습니다. 나중에 다시 시도하세요.”},”pt-BR”:{singular:”N\xe3o foi poss\xedvel recuperar os dados de faturamento. Tente novamente mais tarde.”},”zh-CN”:{singular:”无法检索账单数据。请稍后再试。”}}})},d={AdditionalSeats:e=>(0,r.Iu)({singular:”Additional seat ({SEAT_COUNT})”,plural:”Additional seats ({SEAT_COUNT})”,count:e,replacements:{SEAT_COUNT:e},dictionary:{“de-DE”:{singular:”Zus\xe4tzliche Lizenz({SEAT_COUNT})”,plural:”Zus\xe4tzliche Lizenzen ({SEAT_COUNT})”},en:{singular:”Additional seat ({SEAT_COUNT})”,plural:”Additional seats ({SEAT_COUNT})”},es:{singular:”Puesto adicional ({SEAT_COUNT})”,plural:”Puestos adicionales ({SEAT_COUNT})”},”fr-FR”:{singular:”Licence suppl\xe9mentaire ({SEAT_COUNT})”,plural:”Licences suppl\xe9mentaires ({SEAT_COUNT})”},”ja-JP”:{singular:”追加のシート({SEAT_COUNT})”,plural:”追加のシート({SEAT_COUNT})”},”ko-KR”:{singular:”추가 사용자 라이선스({SEAT_COUNT}개)”,plural:”추가 사용자 라이선스({SEAT_COUNT}개)”},”pt-BR”:{singular:”Licen\xe7a adicional ({SEAT_COUNT})”,plural:”Licen\xe7as adicionais ({SEAT_COUNT})”},”zh-CN”:{singular:”额外席位 ({SEAT_COUNT})”,plural:”额外席位 ({SEAT_COUNT})”}}}),BasePlanPlusSeats:(e,n)=>(0,r.Iu)({singular:”{PLAN_NAME} plan (includes {SEAT_COUNT} seat)”,plural:”{PLAN_NAME} plan (includes {SEAT_COUNT} seats)”,count:n,replacements:{SEAT_COUNT:n,PLAN_NAME:e},dictionary:{“de-DE”:{singular:”{PLAN_NAME}-Plan (enth\xe4lt {SEAT_COUNT} Lizenz)”,plural:”{PLAN_NAME}-Plan (enth\xe4lt {SEAT_COUNT} Lizenzen)”},en:{singular:”{PLAN_NAME} plan (includes {SEAT_COUNT} seat)”,plural:”{PLAN_NAME} plan (includes {SEAT_COUNT} seats)”},es:{singular:”{PLAN_NAME} plan (incluye {SEAT_COUNT} puesto)”,plural:”Plan {PLAN_NAME} (incluye {SEAT_COUNT} plazas)”},”fr-FR”:{singular:”Abonnement {PLAN_NAME} (comprend {SEAT_COUNT}\xa0licence)”,plural:”Abonnement {PLAN_NAME} (comprend {SEAT_COUNT}\xa0licences)”},”ja-JP”:{singular:”{PLAN_NAME}プラン({SEAT_COUNT}個のシートを含む)”,plural:”{PLAN_NAME}プラン({SEAT_COUNT}個のシートを含む)”},”ko-KR”:{singular:”{PLAN_NAME} 요금제(사용자 라이선스 {SEAT_COUNT}개 포함)”,plural:”{PLAN_NAME} 요금제(사용자 라이선스 {SEAT_COUNT}개 포함)”},”pt-BR”:{singular:”Plano {PLAN_NAME} (inclui {SEAT_COUNT} licen\xe7a)”,plural:”Plano {PLAN_NAME} (inclui {SEAT_COUNT} licen\xe7as)”},”zh-CN”:{singular:”{PLAN_NAME} 套餐(包括 {SEAT_COUNT} 个席位)”,plural:”{PLAN_NAME} 套餐(包括 {SEAT_COUNT} 个席位)”}}}),Cancel:(0,r.Iu)({singular:”Cancel”,dictionary:{“de-DE”:{singular:”Abbrechen”},en:{singular:”Cancel”},es:{singular:”Cancelar”},”fr-FR”:{singular:”Annuler”},”ja-JP”:{singular:”キャンセル”},”ko-KR”:{singular:”취소”},”pt-BR”:{singular:”Cancelar”},”zh-CN”:{singular:”取消”}}}),CompletePurchase:(0,r.Iu)({singular:”Complete purchase”,dictionary:{“de-DE”:{singular:”Einkauf abschlie\xdfen”},en:{singular:”Complete purchase”},es:{singular:”Completar la compra”},”fr-FR”:{singular:”Finalisez votre achat”},”ja-JP”:{singular:”購入を完了する”},”ko-KR”:{singular:”구매 완료”},”pt-BR”:{singular:”Finalizar compra”},”zh-CN”:{singular:”完成购买”}}}),DueToday:(0,r.Iu)({singular:”Due today”,dictionary:{“de-DE”:{singular:”Heute f\xe4llig:”},en:{singular:”Due today”},es:{singular:”Vence hoy”},”fr-FR”:{singular:”D\xfb aujourd’hui”},”ja-JP”:{singular:”本日お支払い期限分”},”ko-KR”:{singular:”오늘 지불할 금액”},”pt-BR”:{singular:”Total hoje”},”zh-CN”:{singular:”今天到期”}}}),DueAtSubscriptionStart:(0,r.Iu)({singular:”Due at the start of subscription”,dictionary:{“de-DE”:{singular:”F\xe4llig zu Beginn des Abonnements”},en:{singular:”Due at the start of subscription”},es:{singular:”Se debe pagar al inicio de la suscripci\xf3n”},”fr-FR”:{singular:”\xc0 payer au d\xe9but de l’abonnement”},”ja-JP”:{singular:”サブスクリプション開始時のご請求額”},”ko-KR”:{singular:”구독 시작 시 지불할 금액”},”pt-BR”:{singular:”A ser pago no in\xedcio da assinatura”},”zh-CN”:{singular:”订阅开始时到期”}}}),SubscriptionStartsOn:e=>(0,r.Iu)({singular:”Subscription starts on {DATE}”,replacements:{DATE:e},dictionary:{“de-DE”:{singular:”Das Abonnement beginnt am {DATE}.”},en:{singular:”Subscription starts on {DATE}”},es:{singular:”La suscripci\xf3n comienza el {DATE}”},”fr-FR”:{singular:”L’abonnement commence le {DATE}”},”ja-JP”:{singular:”サブスクリプション開始日:{DATE}”},”ko-KR”:{singular:”{DATE}에 구독 시작”},”pt-BR”:{singular:”A assinatura come\xe7a em {DATE}”},”zh-CN”:{singular:”订阅从 {DATE} 开始”}}}),NumberOfSeats:(0,r.Iu)({singular:”Number of seats”,dictionary:{“de-DE”:{singular:”Anzahl der Pl\xe4tze”},en:{singular:”Number of seats”},es:{singular:”Cantidad de puestos”},”fr-FR”:{singular:”Nombre de licences”},”ja-JP”:{singular:”シートライセンス数”},”ko-KR”:{singular:”사용자 라이선스 수”},”pt-BR”:{singular:”N\xfamero de licen\xe7as”},”zh-CN”:{singular:”席位数”}}}),PaymentMethod:(0,r.Iu)({singular:”Payment method”,dictionary:{“de-DE”:{singular:”Zahlungsmethode”},en:{singular:”Payment method”},es:{singular:”M\xe9todo de pago”},”fr-FR”:{singular:”Mode de paiement”},”ja-JP”:{singular:”支払方法”},”ko-KR”:{singular:”결제 수단”},”pt-BR”:{singular:”M\xe9todo de pagamento”},”zh-CN”:{singular:”付款方式”}}}),BillingAdjustment:(0,r.Iu)({singular:”Billing adjustment”,dictionary:{“de-DE”:{singular:”Abrechnungsanpassung”},en:{singular:”Billing adjustment”},es:{singular:”Ajuste de la facturaci\xf3n”},”fr-FR”:{singular:”Ajustement de facturation”},”ja-JP”:{singular:”請求内容の調整”},”ko-KR”:{singular:”청구액 조정”},”pt-BR”:{singular:”Ajuste de cobran\xe7a”},”zh-CN”:{singular:”计费调整”}}}),PurchaseAdditionalSeats:(0,r.Iu)({singular:”Purchase additional seats”,dictionary:{“de-DE”:{singular:”Zus\xe4tzliche Einzellizenzen kaufen”},en:{singular:”Purchase additional seats”},es:{singular:”Comprar puestos adicionales”},”fr-FR”:{singular:”Acheter des licences suppl\xe9mentaires”},”ja-JP”:{singular:”追加のシートライセンスを購入”},”ko-KR”:{singular:”사용자 라이선스 추가 구매”},”pt-BR”:{singular:”Comprar mais licen\xe7as”},”zh-CN”:{singular:”购买额外席位”}}}),PricePerSeat:e=>(0,r.Iu)({singular:”{PRICE} per seat”,replacements:{PRICE:e},dictionary:{“de-DE”:{singular:”{PRICE} pro Platz”},en:{singular:”{PRICE} per seat”},es:{singular:”{PRICE} por plaza”},”fr-FR”:{singular:”{PRICE} par licence”},”ja-JP”:{singular:”{PRICE} /ユーザー数”},”ko-KR”:{singular:”사용자 라이선스당 {PRICE}”},”pt-BR”:{singular:”{PRICE} por licen\xe7a”},”zh-CN”:{singular:”每个席位 {PRICE}”}}}),Subtotal:(0,r.Iu)({singular:”Subtotal”,dictionary:{“de-DE”:{singular:”Zwischensumme”},en:{singular:”Subtotal”},es:{singular:”Subtotal”},”fr-FR”:{singular:”Sous-total”},”ja-JP”:{singular:”小計”},”ko-KR”:{singular:”소계”},”pt-BR”:{singular:”Subtotal”},”zh-CN”:{singular:”小计”}}}),Annually:(0,r.Iu)({singular:”annually”,dictionary:{“de-DE”:{singular:”J\xe4hrlich”},en:{singular:”annually”},es:{singular:”anualmente”},”fr-FR”:{singular:”annuel”},”ja-JP”:{singular:”年間”},”ko-KR”:{singular:”연간”},”pt-BR”:{singular:”anualmente”},”zh-CN”:{singular:”每年”}}}),Monthly:(0,r.Iu)({singular:”monthly”,dictionary:{“de-DE”:{singular:”Monatlich”},en:{singular:”monthly”},es:{singular:”mensual”},”fr-FR”:{singular:”mensuel”},”ja-JP”:{singular:”月間”},”ko-KR”:{singular:”월간”},”pt-BR”:{singular:”mensalmente”},”zh-CN”:{singular:”每月”}}}),Tax:(0,r.Iu)({singular:”Tax”,dictionary:{“de-DE”:{singular:”Steuer”},en:{singular:”Tax”},es:{singular:”Impuesto”},”fr-FR”:{singular:”Taxe”},”ja-JP”:{singular:”税”},”ko-KR”:{singular:”부가세”},”pt-BR”:{singular:”Impostos”},”zh-CN”:{singular:”税”}}}),AddNewCard:(0,r.Iu)({singular:”Add new card”,dictionary:{“de-DE”:{singular:”F\xfcge eine neue Karte hinzu”},en:{singular:”Add new card”},es:{singular:”Agregar una nueva tarjeta”},”fr-FR”:{singular:”Ajouter une nouvelle carte”},”ja-JP”:{singular:”新しいカードを追加”},”ko-KR”:{singular:”새 카드 추가”},”pt-BR”:{singular:”Adicionar novo cart\xe3o”},”zh-CN”:{singular:”添加新卡”}}}),PayPal:(0,r.Iu)({singular:”PayPal”,dictionary:{“de-DE”:{singular:”PayPal”},en:{singular:”PayPal”},es:{singular:”PayPal”},”fr-FR”:{singular:”PayPal”},”ja-JP”:{singular:”PayPal”},”ko-KR”:{singular:”PayPal”},”pt-BR”:{singular:”PayPal”},”zh-CN”:{singular:”PayPal”}}}),PurchaseInvite:(0,r.Iu)({singular:”Purchase and invite”,dictionary:{“de-DE”:{singular:”Kauf und Einladung”},en:{singular:”Purchase and invite”},es:{singular:”Comprar e invitar”},”fr-FR”:{singular:”Acheter et inviter”},”ja-JP”:{singular:”購入して招待”},”ko-KR”:{singular:”구매 및 초대”},”pt-BR”:{singular:”Comprar e convidar”},”zh-CN”:{singular:”购买和邀请”}}}),AddInvite:(0,r.Iu)({singular:”Add seats and invite”,dictionary:{“de-DE”:{singular:”Lizenzen hinzuf\xfcgen und Einladungen senden”},en:{singular:”Add seats and invite”},es:{singular:”Agregar puestos e invitar”},”fr-FR”:{singular:”Ajouter des licences et inviter”},”ja-JP”:{singular:”シートを追加して招待”},”ko-KR”:{singular:”사용자 라이선스 추가 및 초대”},”pt-BR”:{singular:”Adicionar licen\xe7as e convidar”},”zh-CN”:{singular:”添加席位和邀请”}}}),Notices:c,CardExpired:(0,r.Iu)({singular:”Expired”,dictionary:{“de-DE”:{singular:”Abgelaufen”},en:{singular:”Expired”},es:{singular:”Vencido”},”fr-FR”:{singular:”A expir\xe9″},”ja-JP”:{singular:”期限切れ”},”ko-KR”:{singular:”만료됨”},”pt-BR”:{singular:”Vencida”},”zh-CN”:{singular:”已过期”}}}),AllCardsExpiredAddNew:(0,r.Iu)({singular:”All expired. Add new”,dictionary:{“de-DE”:{singular:”Alle abgelaufen. Neue hinzuf\xfcgen”},en:{singular:”All expired. Add new”},es:{singular:”Todos expiraron. Agregar nuevo”},”fr-FR”:{singular:”Cartes expir\xe9es. Ajouter une nouvelle carte”},”ja-JP”:{singular:”すべて期限切れです。新しいカードを追加”},”ko-KR”:{singular:”모두 만료됨. 새로 추가”},”pt-BR”:{singular:”Todos expiraram. Adicione um novo”},”zh-CN”:{singular:”全部过期。添加新内容”}}}),AddPaymentMethod:(0,r.Iu)({singular:”Add payment method”,dictionary:{“de-DE”:{singular:”Zahlungsmethode hinzuf\xfcgen”},en:{singular:”Add payment method”},es:{singular:”A\xf1adir m\xe9todo de pago”},”fr-FR”:{singular:”Ajouter un mode de paiement”},”ja-JP”:{singular:”支払方法を追加”},”ko-KR”:{singular:”결제 수단 추가”},”pt-BR”:{singular:”Adicionar m\xe9todo de pagamento”},”zh-CN”:{singular:”添加付款方式”}}}),Month:(0,r.Iu)({singular:”month”,dictionary:{“de-DE”:{singular:”Monat”},en:{singular:”month”},es:{singular:”mes”},”fr-FR”:{singular:”mois”},”ja-JP”:{singular:”月”},”ko-KR”:{singular:”월”},”pt-BR”:{singular:”M\xeas”},”zh-CN”:{singular:”月”}}}),Year:(0,r.Iu)({singular:”year”,dictionary:{“de-DE”:{singular:”Jahr”},en:{singular:”year”},es:{singular:”a\xf1o”},”fr-FR”:{singular:”ann\xe9e”},”ja-JP”:{singular:”年”},”ko-KR”:{singular:”년”},”pt-BR”:{singular:”Ano”},”zh-CN”:{singular:”年”}}}),AddSeats:(0,r.Iu)({singular:”Add seats”,dictionary:{“de-DE”:{singular:”Pl\xe4tze hinzuf\xfcgen”},en:{singular:”Add seats”},es:{singular:”Agregar puestos”},”fr-FR”:{singular:”Ajouter des licences”},”ja-JP”:{singular:”シートを追加”},”ko-KR”:{singular:”사용자 라이선스 추가”},”pt-BR”:{singular:”Adicionar licen\xe7as”},”zh-CN”:{singular:”添加席位”}}}),InvitesViewersFree:(0,r.Iu)({singular:”Invite team members as Viewers for free”,dictionary:{“de-DE”:{singular:”Lade Team-Mitglieder kostenlos als „Betrachter“ ein”},en:{singular:”Invite team members as Viewers for free”},es:{singular:”Invita gratis a miembros de equipo como espectadores”},”fr-FR”:{singular:”Invitez gratuitement des collaborateurs en tant que spectateurs”},”ja-JP”:{singular:”チームメンバーを閲覧者として無料で招待する”},”ko-KR”:{singular:”팀원을 뷰어로 무료 초대하세요.”},”pt-BR”:{singular:”Convide de gra\xe7a integrantes da equipe como espectadores”},”zh-CN”:{singular:”免费邀请团队成员成为观众”}}}),ContinueToPayPal:(0,r.Iu)({singular:”Continue to PayPal”,dictionary:{“de-DE”:{singular:”Weiter zu PayPal”},en:{singular:”Continue to PayPal”},es:{singular:”Ir a PayPal”},”fr-FR”:{singular:”Continuer sur PayPal”},”ja-JP”:{singular:”PayPalに進む”},”ko-KR”:{singular:”PayPal로 계속”},”pt-BR”:{singular:”Continuar com PayPal”},”zh-CN”:{singular:”继续前往 PayPal”}}}),Unknown:(0,r.Iu)({singular:”Unknown”,dictionary:{“de-DE”:{singular:”Unbekannt”},en:{singular:”Unknown”},es:{singular:”Desconocido”},”fr-FR”:{singular:”Inconnu”},”ja-JP”:{singular:”不明”},”ko-KR”:{singular:”알 수 없음”},”pt-BR”:{singular:”Desconhecido”},”zh-CN”:{singular:”未知”}}}),UpdatePaymentMethod:(0,r.Iu)({singular:”Update payment method”,dictionary:{“de-DE”:{singular:”Zahlungsmethode aktualisieren”},en:{singular:”Update payment method”},es:{singular:”Actualizar m\xe9todo de pago”},”fr-FR”:{singular:”Mettre \xe0 jour le mode de paiement”},”ja-JP”:{singular:”お支払い方法を更新”},”ko-KR”:{singular:”결제 수단 업데이트”},”pt-BR”:{singular:”Atualizar m\xe9todo de pagamento”},”zh-CN”:{singular:”更新付款方式”}}}),…l,…u};n.Z=d},807139:function(e,n,a){var t=a(652983),i=a(645117),r=a(14830),o=a(257251),s=a(411646),l=a(642642),u=a(226199);n.Z=e=>{var n;let{canFetchPaymentMethods:a,canUsePaymentsService:c,ownerId:d}=e,[g,p]=(0,t.useState)(null),[m,h]=(0,t.useState)(!1),[f,I]=(0,t.useState)(null),[y,{error:E,data:v,loading:P}]=(0,r.h)(),[C,{data:A,loading:N}]=(0,s.Z)(),[R,{error:_,data:S,loading:T}]=(0,o.qh)(),[b,{error:w,data:x,loading:j}]=(0,i.al)(),{data:L}=f||{},[O,z]=(0,t.useState)(),D=(null==O?void 0:O.type)===”paypal”,K=null!==(n=null==v?void 0:v.pricePerSeatForDisplay)&&void 0!==n?n:”–“,M=(null==v?void 0:v.billingPeriod)===”month”?l.Z.Monthly:l.Z.Annually,k=!!(O&&(0,u.VN)(O));return(0,t.useEffect)(()=>{z((null==L?void 0:L.find(e=>e.inUse))||(null==L?void 0:L.find(e=>e.isSuggested)))},[L]),(0,t.useEffect)(function(){d&&a&&(c?b({select:[],query:{}}):R({select:[],where:{userId:d}})),d&&y({select:[“billingPeriod”,”currency”,”endDate”,”hasAutorenew”,”isFreeTrial”,”pricePerSeat”,”pricePerSeatForDisplay”,”seatCount”,”subscriptionId”,”suggestedPaymentMethod”],where:{userId:d}})},[a,c,y,b,R,d]),(0,t.useEffect)(function(){a&&c&&d&&(null==v?void 0:v.subscriptionId)&&C({select:[],where:{userId:””.concat(d),subscriptionId:v.subscriptionId}})},[a,c,C,v,d]),(0,t.useEffect)(function(){c?(p(w),h(j),x&&I(function(e){let{data:n}=e;return{data:n.map(e=>{var n,a,t,i,r,o;if(“PAYMENT_METHOD_TYPES_CARD”===e.type&&!e.card)return null;let[s,u]=function(e){switch(e.type){case”PAYMENT_METHOD_TYPES_CARD”:var n;switch(null===(n=e.card)||void 0===n?void 0:n.brand){case”CARD_BRAND_VISA”:return[“visa”,”Visa”];case”CARD_BRAND_AMERICAN_EXPRESS”:return[“amex”,”American Express”];case”CARD_BRAND_DISCOVER”:return[“discover”,”Discover”];case”CARD_BRAND_MASTER_CARD”:return[“mastercard”,”MasterCard”];default:return[“creditcard”,l.Z.Unknown]}case”PAYMENT_METHOD_TYPES_PAYPAL”:return[“paypal”,”PayPal”];case”PAYMENT_METHOD_TYPES_APPLEPAY”:return[“applepay”,”Apple Pay”];default:return[“creditcard”,l.Z.Unknown]}}(e);if(“PAYMENT_METHOD_TYPES_CC_REF”===e.type){let n=new Date(e.createdAt).toISOString().split(“T”)[0];u=”Indian Bank Card – Saved “.concat(n)}return{canUseToOptin:!0,disableOption:!!e.disabledAt,expirationMonth:null!==(i=null===(n=e.card)||void 0===n?void 0:n.expirationMonth)&&void 0!==i?i:0,expirationYear:null!==(r=null===(a=e.card)||void 0===a?void 0:a.expirationYear)&&void 0!==r?r:0,inUse:e.isDefault,isInstantPurchase:!1,isSuggested:!1,lastFour:null!==(o=null===(t=e.card)||void 0===t?void 0:t.lastFourDigits)&&void 0!==o?o:””,paypalEmail:””,textType:u,type:s,uri:”/me/payment_methods/”.concat(e.id)}}).filter(e=>null!==e)}}(x))):(p(_),h(T),I(null!=S?S:null))},[c,x,w,j,A,S,_,T]),{billingPeriod:M,billingPlanId:null==A?void 0:A.plans[0].billingPlanId,currency:null==v?void 0:v.currency,endDate:null==v?void 0:v.endDate,hasAutoRenew:null==v?void 0:v.hasAutorenew,isExpired:k,isPayPal:D,isTrial:null==v?void 0:v.isFreeTrial,paymentInUse:O,paymentMethods:L,paymentMethodsData:f,paymentMethodsError:g||E,paymentMethodsLoading:m||P||c&&N&&!f,pricePerSeat:null==v?void 0:v.pricePerSeat,seatCount:null==v?void 0:v.seatCount,setPaymentInUse:z,subscriptionId:null==A?void 0:A.id,subtotalWithCurrencyPerSeat:K}}},226199:function(e,n,a){a.d(n,{VN:function(){return r},_3:function(){return s},ni:function(){return o},qx:function(){return i}});var t=a(740411);let i=e=>{let n=e&&e.match(/\w+$/);return n?n[0]:””},r=e=>{if(!e.lastFour)return!1;let n=new Date,a=new Date;return a.setFullYear(2e3+e.expirationYear,e.expirationMonth-1,1),a.getTime()n.length?new Intl.NumberFormat(navigator.language,{minimumFractionDigits:a,style:”currency”,currency:n}).format(e).replace(String.fromCharCode(8239),” “):””,s=e=>t.f5[e]===t.f5[t.vc.ONBOARDING_INVITES]?t.Fk:t.iH}}]);
//# sourceMappingURL=10570-21fdcf4c62c82aa6.js.map