(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[8565,23117],{452929:function(e,t,r){"use strict";r.r(t),r.d(t,{default:function(){return mv}});var n,i,o,a,s=r(228296),l=r(652983),c=r(490351),u=r(725444),d=r(867932),g=r(902673),p=r(638220),m=r(109041),f=r(523666),h=r(16871),b=r(173898),y=r(83115),j=r(397458);function x(){return(0,j.jsx)(v,{children:(0,j.jsx)(y.I,{size:"xl"})})}let v=b.default.div.withConfig({componentId:"sc-1pkh7mb-0"})(["display:flex;justify-content:center;align-items:center;height:100vh;"]),w=l.createContext({mutate:()=>Promise.resolve(),isValidating:!1,revalidate:()=>Promise.resolve(!1)}),C=l.createContext({isValidating:!1,mutate:()=>Promise.resolve([]),revalidate:()=>Promise.resolve(!1)});var O=r(114305),k=r(846463),E=r(531212),I=r(408262),P=r(932004),S=r(39037);function R(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function _(e){for(var t=1;t"dark"===e.name?z.ix:(0,z.ae)(800),({theme:e})=>"dark"===e.name?z.ix:(0,z.ae)(800)),eo=(0,b.default)(L.n).withConfig({componentId:"sc-1krgnsa-1"})(["display:inline-block;margin-left:",";margin-bottom:0;color:",";"],(0,T.rem)(8),(0,z.ae)(500)),ea=(0,b.default)(Q.G).withConfig({componentId:"sc-1krgnsa-2"})(["path{fill:",";}"],(0,z.ae)(500));var es=r(61186);let el=b.default.div.withConfig({componentId:"sc-5qhp7g-0"})(["font-weight:400;font-size:",";line-height:",";margin-top:",";color:",";"],(0,T.rem)(12),(0,T.rem)(16),(0,T.rem)(10),(0,z.Q6)(500)),ec=(0,b.css)(["",""],V.B.md` &:hover { cursor: text; border: ${(0,T.rem)(1)} solid ${(0,T.rgba)((0,z.iN)(50),.6)}; border-radius: ${(0,T.rem)(3)}; background-color: ${(0,T.rgba)((0,z.iN)(50),.6)}; } `);(0,b.css)(["border:"," solid ",";"],(0,T.rem)(2),(0,z.Q6)(500)),b.default.div.withConfig({componentId:"sc-5qhp7g-1"})(["padding-top:",";",""],(0,T.rem)(25),({hasFirstSectionTitle:e})=>e&&(0,b.css)(["padding-top:0;"]));let eu=b.default.div.withConfig({componentId:"sc-5qhp7g-2"})(["display:inline-block;"]),ed=(0,b.default)(es.x).attrs({format:"soft"}).withConfig({componentId:"sc-5qhp7g-3"})(["display:block;font-size:",";font-weight:bold;letter-spacing:",";line-height:",";margin-bottom:",";"],(0,T.rem)(20),(0,T.rem)(.22),(0,T.rem)(24),(0,T.rem)(9)),eg=(e,t)=>(0,b.css)(["width:calc(50% - ",");margin:"," 0;&:nth-child(2n){margin-left:",";}&:nth-child(2n + 1){margin-right:",";}"],(0,T.rem)(e),(0,T.rem)(t),(0,T.rem)(e),(0,T.rem)(e)),ep=b.default.article.withConfig({componentId:"sc-5qhp7g-4"})(["margin:"," 0;"," "," ",""],(0,T.rem)(P._7.DEFAULT/2),V.B.sm` display: inline-block; ${eg(9,P._7.SM_TOP/2)}; `,V.B.hd` ${eg(12,P._7.HD_TOP/2)}; `,V.B.xhd` ${eg(20,P._7.XHD/2)}; `),em=(0,b.default)(M.u).withConfig({componentId:"sc-5qhp7g-5"})(["width:90vw;height:85vh;max-width:",";max-height:",";"],(0,T.rem)(662),(0,T.rem)(752)),ef=(0,b.default)(A.z).withConfig({componentId:"sc-5qhp7g-6"})(["width:",";height:",";min-width:",";padding:0;svg{height:",";width:",";margin-right:0;}",""],(0,T.rem)(40),(0,T.rem)(40),(0,T.rem)(40),(0,T.rem)(17),(0,T.rem)(17),V.B.md` width: 50%; svg { margin-right: ${(0,T.rem)(4)}; } `),eh=(0,b.default)(A.z).withConfig({componentId:"sc-5qhp7g-7"})(["height:",";width:",";min-width:",";margin-right:",";padding:0;svg{margin-right:0;}"," #dismiss-icon,#unfollow-text{display:none;}#check-icon,#following-text{display:inline-flex;}",""],(0,T.rem)(40),(0,T.rem)(40),(0,T.rem)(40),(0,T.rem)(10),V.B.md` width: 50%; svg { margin-right: ${(0,T.rem)(4)}; } `,V.B.md` &:hover { #dismiss-icon, #unfollow-text { display: inline-flex; } #check-icon, #following-text { display: none; } } `);var eb=r(30778);function ey({onClick:e,inlineMargin:t}){return(0,j.jsx)(ex,{inlineMargin:t,onClick:e,children:(0,j.jsx)(ej,{width:20,height:20})})}let ej=(0,b.default)(eb.z).withConfig({componentId:"v9o83e-0"})(["vertical-align:text-bottom;path{fill:",";}"],(0,z.se)(250)),ex=b.default.div.withConfig({componentId:"v9o83e-1"})(["display:inline-block;vertical-align:text-bottom;cursor:pointer;"," ",""],V.B.md` display: none; `,({inlineMargin:e})=>e&&(0,b.css)(["margin-left:",";"],(0,T.rem)(6)));function ev(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function ew(e){let{value:t}=e,{editMode:r}=(0,l.useContext)(O.Z);return r?(0,j.jsx)(ek,function(e){for(var t=1;te.length>P.z4,eO=(0,G.y)(W.K);function ek({maxLength:e=P.Hw,placeholder:t=Y.Z.TellPeopleAboutYourself,onUpdate:r,value:n="",isDesktopView:i}){let{0:o,1:a}=(0,l.useState)(!1),{0:s,1:c}=(0,l.useState)(n||""),{0:u,1:d}=(0,l.useState)(!1),g=(0,l.useCallback)(e=>{e&&e.setSelectionRange(n.length,n.length)},[n]),p=(0,l.useRef)(null);return(0,l.useEffect)(()=>{n&&d(eC(n))},[n]),(0,j.jsx)(eP,{tabIndex:0,onKeyDown:e=>!o&&(0,D.$o)(e,()=>a(!0)),children:o?(0,j.jsx)(eD,{autoFocus:!0,ref:g,defaultValue:s,maxCharacters:e,maxLength:e,singular:Y.Z.Character,plural:Y.Z.Characters,onKeyDown:e=>{e.keyCode===P.mW.ESC&&(c(n),a(!1))},placeholder:t,onBlur:()=>{s.trim()||n?n!==s&&r({bio:s}):c(""),d(eC(s)),a(!1)},onChange:e=>c(e.target.value)}):s.length?(0,j.jsxs)(eR,{children:[(0,j.jsx)(eI,{text:s,isCollapsed:u,setIsCollapsed:d,onClick:()=>a(!0),onMouseEnter:()=>{i&&d(!1)},onMouseLeave:()=>{i&&(d(eC(s)),p&&p.current&&(p.current.scrollTop=0))},textRef:p,editMode:!0}),(0,j.jsx)(ey,{inlineMargin:!0,onClick:()=>a(!0)})]}):(0,j.jsx)(en,{onClick:()=>a(!0),buttonText:Y.Z.AddBio})})}function eE({value:e}){let{0:t,1:r}=(0,l.useState)(!1);return(0,l.useEffect)(()=>{e&&r(eC(e))},[e]),e?(0,j.jsx)(eP,{children:(0,j.jsx)(eI,{text:e,isCollapsed:t,setIsCollapsed:r})}):null}function eI({text:e,isCollapsed:t,setIsCollapsed:r,onClick:n,onMouseEnter:i,onMouseLeave:o,textRef:a,editMode:s}){return(0,j.jsx)(e_,{ref:a,onClick:n,onMouseEnter:()=>i&&i(),onMouseLeave:()=>o&&o(),showWhiteSpaces:!t,editMode:s,children:eC(e)&&t?(0,j.jsxs)(j.Fragment,{children:[(0,j.jsx)(J.Z,{text:q()(e,{length:P.z4}),customLinkCss:ez}),(0,j.jsx)(eT,{onClick:()=>r(!1),children:Y.Z.ReadMore})]}):(0,j.jsx)(J.Z,{text:e,customLinkCss:ez})})}let eP=b.default.div.withConfig({componentId:"sc-1esidcb-0"})(["margin-top:",";&:hover{outline:none;}",""],(0,T.rem)(10),V.B.md` padding: 0; margin-top: ${(0,T.rem)(2)}; `),eS=(0,b.css)([""," max-height:",";transition:max-height 0.3s ease-in;&:hover{max-height:",";overflow-y:auto;}"],ec,(0,T.rem)(100),(0,T.rem)(140)),eR=b.default.div.withConfig({componentId:"sc-1esidcb-1"})(["",""],V.B.md` padding: 0; `),e_=b.default.div.withConfig({componentId:"sc-1esidcb-2"})(["font-size:",";line-height:",";",";word-break:break-word;box-sizing:border-box;border:"," solid transparent;padding:"," 0;display:inline;padding-left:",";"," ",""],(0,T.rem)(14),(0,T.rem)(20),({showWhiteSpaces:e})=>e&&(0,b.css)(["white-space:pre-wrap;"]),(0,T.rem)(1),(0,T.rem)(10),(0,T.rem)(10),V.B.md` display: block; padding: ${(0,T.rem)(10)}; `,({editMode:e})=>e&&eS),eD=(0,b.default)(eO).withConfig({componentId:"sc-1esidcb-3"})(["resize:vertical;min-height:",";padding:",";"],(0,T.rem)(140),(0,T.rem)(10)),eT=b.default.span.withConfig({componentId:"sc-1esidcb-4"})(["text-decoration:underline;cursor:pointer;"]),ez=(0,b.css)(["text-decoration:underline;color:",";"],(0,z.ae)(800));var eA=r(311115);let eN=(e,t)=>{let r=[Math.floor(e/3600),Math.floor(e/60)%60,Math.floor(e%60)].map(e=>e<10?"0"+e:e);return"hh:mm:SS"===t?r.join(":"):r.filter((e,t)=>"00"!==e||t>0).join(":")},eF=e=>{let t=new Date(e),r=t.getDate(),n=t.getMonth()+1,i=t.getFullYear(),o=t.getHours(),a=t.getMinutes(),s=t.getSeconds();return[n,r,i].map(e=>e<10?"0"+e:e).join("/")+" "+[0===o?12:o,a,s].map(e=>e<10?"0"+e:e).join(":")+" "+(o>12?"PM":"AM")},eB=(e,t)=>r=>(r>e?e:r)/e*t,eM=(e,t)=>r=>(0===t?0:(r>t?t:r)/t)*e,eL=(e,t="en",r)=>new Date(e).toLocaleString(t,r||{year:"numeric",month:"short"}),e$=e=>{switch(e){case U.gZ.Alum:return"alum";case U.gZ.Business:return"business";case U.gZ.LiveBusiness:case U.gZ.LivePremium:case U.gZ.LivePro:return"live";case U.gZ.Plus:return"plus";case U.gZ.Pro:return"pro";case U.gZ.Sponsor:return"sponsor";case U.gZ.Staff:return"staff";default:return"default"}},eK=b.default.div.withConfig({componentId:"spbh0n-0"})(["box-sizing:border-box;background-color:transparent;position:relative;"," margin-bottom:",";"],({withoutEffects:e,fullWidth:t=!1})=>!e&&(0,b.css)(["padding:",";border-radius:",";border:"," solid ",";background:",";"],t?`${(0,T.rem)(25)} 0 ${(0,T.rem)(28)}`:`${(0,T.rem)(25)} ${(0,T.rem)(24)} ${(0,T.rem)(28)}`,(0,T.rem)(8),(0,T.rem)(1),(0,z.ae)(100),({theme:e})=>e.content.background),(0,T.rem)(12));function eZ(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function eV(e){for(var t=1;t0;return(0,j.jsx)(eq,eV(eV({},n?{as:"a",href:t,isLink:n}:{as:"span",isLink:n}),{},{children:(0,j.jsxs)(eG,{children:[(0,j.jsx)(es.x,{format:"soft",children:e}),(0,j.jsx)(es.x,{format:"soft",children:r.toLocaleString()})]})}))}let eH=(0,b.default)(es.x).withConfig({componentId:"iq2zkj-0"})(["font-size:",";font-weight:bold;margin:"," "," "," ",";"],(0,T.rem)(20),(0,T.rem)(25),(0,T.rem)(35),(0,T.rem)(5),(0,T.rem)(35)),eq=b.default.a.withConfig({componentId:"iq2zkj-1"})(["padding:0 ",";display:block;text-decoration:none;",""],(0,T.rem)(35),({isLink:e})=>e&&(0,b.css)(["&:hover{background-color:",";}"],(0,T.rgba)((0,z.se)(50),.6))),eG=b.default.div.withConfig({componentId:"iq2zkj-2"})(["border-bottom:"," solid ",";padding:"," 0;display:flex;justify-content:space-between;"],(0,T.rem)(1),(0,z.ae)(100),(0,T.rem)(10)),eW=(0,b.default)(es.x).withConfig({componentId:"iq2zkj-3"})(["color:",";"],(0,z.ae)(500)),eY=b.default.div.withConfig({componentId:"iq2zkj-4"})(["padding:0 ",";display:flex;justify-content:space-between;margin-top:",";"],(0,T.rem)(35),(0,T.rem)(10));function eX(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function eQ(e){for(var t=1;t(0,j.jsx)("svg",eQ(eQ({viewBox:"0 0 36 36",ref:t},e),{},{children:(0,j.jsx)("g",{fill:"none",fillRule:"evenodd",children:(0,j.jsx)("g",{transform:"translate(-1643 -864)",children:(0,j.jsx)("g",{transform:"translate(1619 840)",children:(0,j.jsxs)("g",{transform:"translate(24 24)",children:[(0,j.jsx)("circle",{cx:"18",cy:"18",r:"18",fill:(0,z.ek)(500)}),(0,j.jsx)("rect",{x:"10",y:"13",width:"17",height:"12",rx:"1.8947",fill:z.ix}),(0,j.jsx)("rect",{x:"15",y:"10",width:"7",height:"6",rx:"1.8947",stroke:z.ix,strokeWidth:"2"}),(0,j.jsx)("circle",{cx:"24",cy:"23",r:"5",fill:z.ix,stroke:(0,z.ek)(500)}),(0,j.jsx)("polyline",{points:"26.099 21.619 23.5 24.515 21.959 23.257",stroke:(0,z.ek)(500),strokeLinejoin:"round"})]})})})})})));function e1(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function e2(e){for(var t=1;t(0,j.jsx)("svg",e2(e2({viewBox:"0 0 36 36",ref:t},e),{},{children:(0,j.jsx)("g",{fill:"none",fillRule:"evenodd",children:(0,j.jsx)("g",{transform:"translate(-1167 -236)",children:(0,j.jsx)("g",{transform:"translate(1145 212)",children:(0,j.jsxs)("g",{transform:"translate(22 24)",children:[(0,j.jsx)("circle",{cx:"18",cy:"18",r:"18",fill:(0,z.ae)(500)}),(0,j.jsx)("rect",{x:"10",y:"13",width:"17",height:"12",rx:"1.8947",fill:z.ix}),(0,j.jsx)("rect",{x:"15",y:"10",width:"7",height:"6",rx:"1.8947",stroke:z.ix,strokeWidth:"2"}),(0,j.jsx)("circle",{cx:"24",cy:"23",r:"5",fill:z.ix,stroke:(0,z.ae)(500)}),(0,j.jsx)("line",{x1:"22",x2:"26",y1:"23",y2:"23",stroke:(0,z.ae)(500),strokeLinecap:"square"})]})})})})})));var e5=r(723842),e4=r(22208),e8=r(331083);let e6=async(e,t)=>{let r=await fetch(`//${e}/me?fields=verified`,{method:"GET",headers:{Accept:"application/vnd.vimeo.*;version=3.4.2",Authorization:`jwt ${t}`}});return r.ok?r.json().then(e=>e):Promise.reject(r)},e9=async(e,t,r)=>{let n=await fetch(`//${e}/me/expert?fields=${r.join(",")}`,{method:"POST",body:JSON.stringify({has_agreed_to_terms_and_conditions:!0}),headers:{"Content-Type":"application/json",Accept:"application/vnd.vimeo.*;version=3.4.2",Authorization:`jwt ${t}`}});return n.ok?await n.json():Promise.reject(n)};var e7=r(65557);function te(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function tt(e){for(var t=1;t{o(!i),s(!1)},u=()=>{if(!i){s(!0);return}tn({name:P.hy.CLICK_UPGRADE_TO_GET_LISTED_BUTTON,event_type:"click",page:"profile",location:"",copy:"Upgrade to get listed",selected_values:[],target:"",feature:"for_hire",job_id:0}),t()};return(0,j.jsx)("div",{children:(0,j.jsxs)(tR,{children:[(0,j.jsx)(t_,{onClick:e}),(0,j.jsxs)(tI,{children:[(0,j.jsxs)(tP,{children:[(0,j.jsx)(tx,{children:Y.Z.GetOnList}),(0,j.jsx)(tv,{children:Y.Z.JoinMarketplace}),(0,j.jsxs)(tw,{children:[(0,j.jsx)(tC,{children:Y.Z.BenefitsCommunity}),(0,j.jsx)(tO,{children:Y.Z.BenefitsGigs}),(0,j.jsx)(tk,{children:Y.Z.BenefitsInspiration}),(0,j.jsxs)(tE,{children:["(",Y.Z.BenefitsPerks,")"]})]})]}),(0,j.jsx)(td,{src:"https://i.vimeocdn.com/custom_asset/51f99705b33db595ddb1c228a89ecd62"})]}),(0,j.jsxs)(tS,{children:[(0,j.jsx)(tb,{children:Y.Z.JoinExpertsHeader}),(0,j.jsxs)(ty,{children:[Y.Z.JoinExpertsNewConnections,(0,j.jsx)("br",{}),(0,j.jsx)("br",{}),Y.Z.JoinExpertsSubheader]}),n&&(0,j.jsx)(tj,{children:Y.Z.JoinExpertsUpdateText}),(0,j.jsxs)(th,{children:[(0,j.jsx)(to.X,{type:"checkbox",checked:i,onChange:c}),(0,j.jsx)(tg,{onClick:c,children:(0,ti.Iu)({singular:"I agree to the {TERMS_LINK}Terms and Conditions of the Vimeo Experts{/TERMS_LINK} program and {PRIVACY_LINK}Vimeo Privacy Policy{/PRIVACY_LINK}, including receiving emails from Vimeo Experts about training sessions, program benefits, or tips for getting started.",replacements:{TERMS_LINK:e=>(0,j.jsx)(tf,{href:"/experts/legal",target:"_blank",onClick:e=>e.stopPropagation(),children:e},"terms"),PRIVACY_LINK:e=>(0,j.jsx)(tf,{href:"/privacy",target:"_blank",onClick:e=>e.stopPropagation(),children:e},"privacy")},dictionary:{es:{singular:"Acepto los {TERMS_LINK}T\xe9rminos y condiciones del programa Vimeo Experts{/TERMS_LINK} y la {PRIVACY_LINK}Pol\xedtica de privacidad de Vimeo{/PRIVACY_LINK}, lo que incluye recibir correos electr\xf3nicos de Vimeo Experts acerca de capacitaciones, beneficios del programa o consejos sobre c\xf3mo empezar."},"de-DE":{singular:"Ich erkl\xe4re mich mit den {TERMS_LINK}Allgemeinen Gesch\xe4ftsbedingungen des Vimeo Experts-Programms{/TERMS_LINK} sowie der {PRIVACY_LINK}Datenschutzerkl\xe4rung von Vimeo{/PRIVACY_LINK} einverstanden, einschlie\xdflich des Erhalts von E-Mail-Nachrichten von Vimeo Experts zu Schulungen, Programmvorteilen oder Tipps f\xfcr den Einstieg."},"fr-FR":{singular:"J'accepte les {TERMS_LINK}conditions g\xe9n\xe9rales du programme Vimeo Experts{/TERMS_LINK} et la {PRIVACY_LINK}politique de confidentialit\xe9 Vimeo{/PRIVACY_LINK}, y compris de recevoir des e-mails de la part de Vimeo Experts concernant les sessions de formation, les avantages du programme ou les conseils pour bien commencer."},"ja-JP":{singular:"{TERMS_LINK}Vimeo エキスパートプログラムの利用規約{/TERMS_LINK}と{PRIVACY_LINK}Vimeoプライバシーポリシー{/PRIVACY_LINK}に同意します。これには、トレーニングセッション、プログラムの特典、または開始にあたるアドバイスなど、Vimeoエキスパートからのメールの受信が含まれます。"},"ko-KR":{singular:"{TERMS_LINK}Vimeo 엑스퍼트 프로그램 이용 약관{/TERMS_LINK}, {PRIVACY_LINK}Vimeo 개인정보보호 정책{/PRIVACY_LINK} 및 Vimeo 엑스퍼트의 교육 세션, 프로그램 혜택 또는 시작 팁에 대한 이메일 수신에 동의합니다."},"pt-BR":{singular:"Concordo com os {TERMS_LINK}Termos e Condi\xe7\xf5es do programa Vimeo Experts{/TERMS_LINK} e com a {PRIVACY_LINK}Pol\xedtica de Privacidade do Vimeo{/PRIVACY_LINK}, incluindo o recebimento de e-mails do Vimeo Experts sobre sess\xf5es de treinamento, benef\xedcios do programa ou dicas de como come\xe7ar."},"zh-CN":{singular:"我同意 {TERMS_LINK}Vimeo Experts 计划的条款和条件{/TERMS_LINK}以及 {PRIVACY_LINK}Vimeo 隐私政策{/PRIVACY_LINK},包括接收来自 Vimeo Experts 的有关培训课程、计划权益或入门提示的电子邮件。"}}})})]}),n?(0,j.jsx)(tm,{format:"primary",onClick:u,loading:r,children:Y.Z.ExpertsUpgrade}):(0,j.jsx)(tp,{format:"primary",onClick:u,loading:r,children:Y.Z.ExpertsJoin}),a&&(0,j.jsxs)(tc,{children:[(0,j.jsx)(tl,{width:"20"}),(0,j.jsx)(tu,{children:Y.Z.AgreementError})]})]})]})})}let tl=(0,b.default)(ta.q).withConfig({componentId:"sc-13hnhyb-0"})(["path{fill:#e22b12;}"]),tc=b.default.div.withConfig({componentId:"sc-13hnhyb-1"})(["display:flex;margin-top:",";"],(0,T.rem)(14)),tu=b.default.div.withConfig({componentId:"sc-13hnhyb-2"})(["margin-left:",";color:#e22b12;"],(0,T.rem)(8)),td=b.default.img.withConfig({componentId:"sc-13hnhyb-3"})(["width:100%;"]),tg=b.default.p.withConfig({componentId:"sc-13hnhyb-4"})(["cursor:pointer;font-size:",";letter-spacing:0;line-height:",";margin-left:",";min-height:",";"],(0,T.rem)(14),(0,T.rem)(21.6),(0,T.rem)(16),(0,T.rem)(87)),tp=(0,b.default)(A.z).withConfig({componentId:"sc-13hnhyb-5"})(["border-radius:",";width:100%;"],(0,T.rem)(24)),tm=(0,b.default)(A.z).withConfig({componentId:"sc-13hnhyb-6"})(["background:linear-gradient(270deg,#00a9d5 0%,#00b285 49.59%,#00b655 100%);border-radius:",";width:100%;&:hover:not(:active),&:hover{background:linear-gradient(270deg,#00a9d5 0%,#00b285 49.59%,#00b655 100%);}"],(0,T.rem)(24)),tf=b.default.a.withConfig({componentId:"sc-13hnhyb-7"})(["svg{position:relative;top:",";margin-left:",";width:",";}cursor:pointer;color:",";text-decoration:none;"],(0,T.rem)(2),(0,T.rem)(6),(0,T.rem)(14),(0,z.iN)(500)),th=b.default.div.withConfig({componentId:"sc-13hnhyb-8"})(["align-items:flex-start;display:flex;margin-top:",";justify-content:center;margin-bottom:",";"],(0,T.rem)(32),(0,T.rem)(32)),tb=b.default.div.withConfig({componentId:"sc-13hnhyb-9"})(["font-weight:700;font-size:",";line-height:",";letter-spacing:-",";margin-bottom:",";"],(0,T.rem)(28),(0,T.rem)(33),(0,T.rem)(1),(0,T.rem)(32)),ty=b.default.div.withConfig({componentId:"sc-13hnhyb-10"})(["font-weight:400;font-size:",";line-height:",";margin-bottom:",";"],(0,T.rem)(16),(0,T.rem)(24),(0,T.rem)(32)),tj=b.default.div.withConfig({componentId:"sc-13hnhyb-11"})(["margin-bottom:",";font-weight:700;font-size:",";line-height:",";"],(0,T.rem)(32),(0,T.rem)(16),(0,T.rem)(24)),tx=b.default.h1.withConfig({componentId:"sc-13hnhyb-12"})(["color:",";font-weight:400;font-size:",";line-height:",";letter-spacing:-",";"],(0,z.ae)(0),(0,T.rem)(100),(0,T.rem)(120),(0,T.rem)(3)),tv=b.default.div.withConfig({componentId:"sc-13hnhyb-13"})(["margin-top:",";font-size:",";line-height:",";letter-spacing:-",";color:",";"],(0,T.rem)(8),(0,T.rem)(36),(0,T.rem)(43),(0,T.rem)(1),(0,z.ae)(0)),tw=b.default.div.withConfig({componentId:"sc-13hnhyb-14"})(["margin-top:",";font-size:",";margin-bottom:",";"],(0,T.rem)(48),(0,T.rem)(36),(0,T.rem)(48)),tC=b.default.div.withConfig({componentId:"sc-13hnhyb-15"})(["color:",";"],z.ix),tO=b.default.div.withConfig({componentId:"sc-13hnhyb-16"})(["color:",";"],(0,z.ae)(50)),tk=b.default.div.withConfig({componentId:"sc-13hnhyb-17"})(["color:",";"],(0,z.ae)(100)),tE=b.default.div.withConfig({componentId:"sc-13hnhyb-18"})(["color:",";"],(0,z.ae)(200)),tI=b.default.div.withConfig({componentId:"sc-13hnhyb-19"})(["width:100%;background:linear-gradient(90deg,#253c69 4.21%,#281239 93.55%);padding:",";height:100%;overflow:visible;",""],(0,T.rem)(27),V.B.md` display: 66.66%; padding: ${(0,T.rem)(80)}; `),tP=b.default.div.withConfig({componentId:"sc-13hnhyb-20"})(["display:none;",""],V.B.md` display: block; `),tS=b.default.div.withConfig({componentId:"sc-13hnhyb-21"})(["padding:"," "," ",";max-width:100%;",""],(0,T.rem)(24),(0,T.rem)(44),(0,T.rem)(44),V.B.md` max-width: 33.33%; padding: ${(0,T.rem)(80)}; `),tR=b.default.div.withConfig({componentId:"sc-13hnhyb-22"})(["position:fixed;background:",";top:",";left:0;right:0;z-index:4;display:flex;width:100%;flex-direction:column;overflow-y:scroll;max-height:100%;"," ",""],z.ix,(0,T.rem)(40),V.B.md` flex-direction: row; `,V.B.mlg` top: ${(0,T.rem)(60)}; `),t_=(0,b.default)(B.n).withConfig({componentId:"sc-13hnhyb-23"})(["position:absolute;top:",";right:",";width:",";height:",";z-index:5;cursor:pointer;&:hover{width:",";height:",";top:",";right:",";}path{fill:",";}",""],(0,T.rem)(18),(0,T.rem)(18),(0,T.rem)(20),(0,T.rem)(20),(0,T.rem)(22),(0,T.rem)(22),(0,T.rem)(17),(0,T.rem)(17),z.ix,V.B.md` path { fill: ${z.Sn}; } `);function tD({isShowing:e,setIsShowing:t}){return(0,j.jsx)(tT,{active:e,content:(0,j.jsxs)(tz,{children:[(0,j.jsx)(tA,{onClick:()=>t(!1)}),(0,j.jsx)(tN,{src:"https://i.vimeocdn.com/custom_asset/e2f5d087e6a8b3ec32f6dcb51d03fd08"}),(0,j.jsxs)(tF,{children:[(0,j.jsx)(tB,{children:Y.Z.GetListedSuccessModalHeader}),(0,j.jsx)(tM,{children:Y.Z.GetListedSuccessModalContent}),(0,j.jsx)(tL,{children:(0,j.jsx)(A.z,{element:"a",href:"/settings/profile/general",children:Y.Z.EditProfile})})]})]})})}let tT=(0,b.default)(M.u).withConfig({componentId:"sc-1y14z6g-0"})(["width:",";height:",";box-shadow:none;"],(0,T.rem)(380),(0,T.rem)(457)),tz=b.default.div.withConfig({componentId:"sc-1y14z6g-1"})(["background-color:",";border-radius:",";"],z.ix,(0,T.rem)(10)),tA=(0,b.default)(B.n).withConfig({componentId:"sc-1y14z6g-2"})(["position:absolute;top:",";right:",";width:",";height:",";cursor:pointer;&:hover{width:",";height:",";top:",";right:",";}"],(0,T.rem)(18),(0,T.rem)(18),(0,T.rem)(20),(0,T.rem)(20),(0,T.rem)(22),(0,T.rem)(22),(0,T.rem)(17),(0,T.rem)(17)),tN=b.default.img.withConfig({componentId:"sc-1y14z6g-3"})(["width:",";height:",";display:block;margin-left:auto;margin-right:auto;padding-top:40px;"],(0,T.rem)(305.83),(0,T.rem)(200)),tF=b.default.div.withConfig({componentId:"sc-1y14z6g-4"})(["padding:",";"],(0,T.rem)(24)),tB=b.default.div.withConfig({componentId:"sc-1y14z6g-5"})(["color:",";font-size:",";font-weight:bold;line-height:",";text-align:center;letter-spacing:",";"],z.Sn,(0,T.rem)(36),(0,T.rem)(41.76),(0,T.rem)(-1.2)),tM=b.default.div.withConfig({componentId:"sc-1y14z6g-6"})(["color:#23313b;font-size:",";line-height:",";text-align:center;"],(0,T.rem)(14),(0,T.rem)(21.56)),tL=b.default.div.withConfig({componentId:"sc-1y14z6g-7"})(["display:flex;margin-top:",";align-items:center;justify-content:center;"],(0,T.rem)(40));function t$({availableForHire:e,editMode:t,showUpgrade:r,onHireChange:n,loading:i,showAddYourProfileTourpoint:o,isEnrolledToExperts:a}){let s=(0,l.useContext)(h.Z),c=(0,l.useRef)(null),{0:u,1:d}=(0,l.useState)(e?Y.Z.IsAvailableForHire:Y.Z.IsNotAvailableForHire),{0:g,1:p}=(0,l.useState)(!1),{0:m,1:f}=(0,l.useState)(e),{0:b,1:y}=(0,l.useState)(!1),{0:x,1:v}=(0,l.useState)(!1),{0:C,1:O}=(0,l.useState)(!1),{revalidate:k}=(0,l.useContext)(w);(0,l.useEffect)(()=>{let t=o&&!e;f(t),t&&c.current?.scrollIntoView({behavior:"smooth",block:"center"})},[o]),(0,l.useEffect)(()=>{i||d(e?Y.Z.IsAvailableForHire:Y.Z.IsNotAvailableForHire)},[i,e]);let E=(0,l.useCallback)(()=>{tn({name:P.hy.CLICK_GET_LISTED_BUTTON,event_type:"click",page:"profile",location:"",copy:"Get Listed",selected_values:[],target:"",feature:"for_hire",job_id:0}),m&&f(!1),r||!a?p(!0):n(!0)},[m,r,a]);(0,l.useEffect)(()=>{let t=new URLSearchParams(window.location.search).get("show_listing_modal");!e&&t&&E()},[e,E]);let I=(0,j.jsx)(A.z,{onClick:e=>{f(!1),r&&(window.location.href="/upgrade")},children:r?Y.Z.UpgradeCaps:Y.Z.GotIt}),S=(0,j.jsx)(A.z,{variant:"minimalTransparent",onClick:()=>{f(!1)},children:Y.Z.Dismiss}),R=()=>{a?(p(!1),v(!0),k().then(()=>{n(!0,!1,!0)})):(O(!0),e9(s?.apiUrl||"",s?.jwt||"",["status","website","company","courses"]).then(()=>{p(!1),v(!0),k().then(()=>{n(!0,!1,!0)})}).finally(()=>{O(!1)}))};return t?(0,j.jsxs)(j.Fragment,{children:[(0,j.jsx)(e5.Z,{isEnrolledToExperts:a}),g&&(0,j.jsx)(ts,{handleUpgradeFlow:()=>{if(r){let e=null;(e=window.open("/upgrade","_blank"))&&(y(!0),setInterval(()=>{e&&e.closed&&(e=null,y(!1))},1e3)),window.successfulUpgradeCallback=()=>{tn({name:P.hy.UPGRADE_TO_GET_LISTED_SUCCESS,event_type:"impression",page:"profile",location:"upgrade_success_modal",copy:"",selected_values:[],target:"",feature:"for_hire",job_id:0}),R()}}else R()},onClose:()=>p(!1),loading:C||b,showUpgrade:r}),(0,j.jsx)(tD,{isShowing:x,setIsShowing:v}),(0,j.jsx)(tZ,{children:u}),(0,j.jsx)("div",{ref:c,children:(0,j.jsx)(tK,{active:m,attach:"left-top",title:r?Y.Z.ForHireAvailabilityUpgradeTourPointTitle:Y.Z.ForHireAvailabilityTourPointTitle,content:Y.Z.ForHireAvailabilityTourPointContent,confirmation:I,dismission:S,children:e&&!i?(0,j.jsx)(A.z,{onClick:()=>{m&&f(!1),n(!1)},disabled:i,format:"secondary",children:Y.Z.RemoveListing}):(0,j.jsx)(tV,{isBasicUser:s?.user?.account==="basic",children:(0,j.jsx)(A.z,{loading:i,onClick:E,children:Y.Z.GetListed})})})})]}):null}let tK=(0,b.default)(e4.Q).withConfig({componentId:"sc-168dx26-0"})(["position:absolute;left:",";top:",";"],(0,T.rem)(-200),(0,T.rem)(-20)),tZ=b.default.div.withConfig({componentId:"sc-168dx26-1"})(["font-size:",";font-weight:400;margin-bottom:",";"],(0,T.rem)(14),(0,T.rem)(16)),tV=b.default.div.withConfig({componentId:"sc-168dx26-2"})(["button,button:hover,button:hover:not(:active){background:",";}"],e=>e.isBasicUser?e8.$.upsell.sm:e8.$.format.primary);var tU=r(142987),tJ=r(208229);function tH({canWorkRemotely:e,editMode:t,onChange:r,loading:n}){let i=(0,l.useMemo)(()=>(0,j.jsx)(tG,{size:"6",format:"soft",children:Y.Z.AvailableRemote},"can_work_remotely_label"),[]);return t?(0,j.jsx)(tq,{children:(0,j.jsx)(to.X,{label:i,value:"yes",checked:e,name:"can_work_remotely",onChange:()=>{n||r(!e)},disabled:n})}):e?(0,j.jsxs)(tq,{children:[(0,j.jsx)(tW,{width:"20",height:"20"}),i]}):null}let tq=b.default.article.withConfig({componentId:"f49arm-0"})(["margin-top:",";display:flex;align-items:center;"],(0,T.rem)(24)),tG=(0,b.default)(tJ.h).withConfig({componentId:"f49arm-1"})(["margin:0;"]),tW=(0,b.default)(tU.E).withConfig({componentId:"f49arm-2"})(["margin-right:",";"],(0,T.rem)(8));function tY({isEnrolledToExperts:e,text:t}){return(0,j.jsxs)("div",{children:[(0,j.jsx)(tQ,{}),(0,j.jsxs)(t0,{children:[(0,j.jsx)(t1,{children:t}),(0,j.jsx)(tX,{size:"sm",element:"a",href:"/experts/dashboard",children:e?Y.Z.GoToExperts:Y.Z.ExpertsJoin})]})]})}let tX=(0,b.default)(A.z).withConfig({componentId:"nqdw8d-0"})(["min-width:",";"],(0,T.rem)(120)),tQ=b.default.div.withConfig({componentId:"nqdw8d-1"})(["background:#dee4e9;height:",";margin-bottom:",";margin-top:",";"],(0,T.rem)(1),(0,T.rem)(20),(0,T.rem)(10)),t0=b.default.div.withConfig({componentId:"nqdw8d-2"})(["display:flex;justify-content:space-between;align-items:center;"]),t1=b.default.div.withConfig({componentId:"nqdw8d-3"})(["font-size:",";margin-right:",";line-height:",";"],(0,T.rem)(14),(0,T.rem)(20),(0,T.rem)(20));var t2=r(455170),t3=r(257788),t5=r(330171);function t4(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function t8(e){for(var t=1;t(a({loading:!1,called:!0,error:!0}),Promise.reject(e)),[]),c=(0,l.useCallback)(()=>{t(),a({loading:!1,called:!0,error:!1})},[t]),u=(0,l.useCallback)((e,t)=>r("me",{fields:e},P.s1.PATCH,t),[r]),d=(0,l.useCallback)(t=>e(e=>e?t8(t8({},e),t):e,!1),[e]),g=(0,l.useCallback)(e=>{a({loading:!0,called:!0,error:!1});let t=(0,I.hk)(e);return d(e),u(Object.keys(t).join(","),t).then(c).catch(s)},[d,s,c,u]),p=(0,l.useCallback)(e=>(a({loading:!0,called:!0,error:!1}),u("location_details",(0,I.hk)(e)).then(()=>{d({locationDetails:e}),c()}).catch(s)),[d,s,c,u]),m=(0,l.useCallback)(t=>{e(e=>e?t8(t8({},e),{},{profilePreferences:t8(t8({},e.profilePreferences),t.profilePreferences)}):e,!1)},[e]),f=(0,l.useCallback)((e,r=!0)=>{a({loading:!0,called:!0,error:!1}),m(e);let n=(0,I.hk)(e);return u(Object.keys(n.profile_preferences).map(e=>"profile_preferences."+e).join(","),n).then(()=>{r&&t(),a({loading:!1,called:!0,error:!1})}).catch(s)},[s,t,m,u]),h=(0,l.useCallback)(()=>(a({loading:!0,called:!0,error:!1}),r("me",{fetch_user_profile:"1",fields:"metadata.public_videos.total"}).then(t=>{e(e=>e&&t?t8(t8({},e),{},{metadata:t8(t8({},e.metadata),t.metadata)}):(a({loading:!1,called:!0,error:!1}),e),!1)}).catch(s)),[r,s,e]),b=(0,l.useCallback)(e=>e&&e.json?e.json().then(e=>{let t=(0,t3.u)(e),r=t.invalidParameters?.[0]?.errorCode===P.tB?Y.Z.InvalidDomainError:Y.Z.InvalidEmailAddress;return a({loading:!1,called:!0,error:!0}),Promise.reject(r)}):Promise.reject(void 0),[]),y=(0,l.useCallback)((e,t)=>(a({loading:!0,called:!0,error:!1}),r("me/contact_emails",void 0,e?t?P.s1.PUT:P.s1.POST:P.s1.DELETE,e?{email:e}:void 0).then(()=>{d(e?{contactEmails:{emails:[e]}}:{contactEmails:null}),c()}).catch(b)),[r,d,b,c]),j=(0,l.useCallback)((t,r)=>{e(e=>{if(e){let n=[...e.websites];return t?n[r]=t8(t8({},n[r]),t):n.splice(r,1),t8(t8({},e),{},{websites:n})}return e},!1)},[e]),x=(0,l.useCallback)((e,t,n)=>{a({loading:!0,called:!0,error:!1});let i=`me/links/${t}`;if(!n)return r(i,void 0,P.s1.DELETE).then(()=>{j(null,e),c()}).catch(s);{let o=P.s1.PATCH;return -1===t&&(o=P.s1.POST,i="me/links"),r(i,void 0,o,{link:n}).then(t=>{j(t,e),c()}).catch(s)}},[r,s,c,j]),v=(0,l.useCallback)(e=>{a({loading:!0,called:!0,error:!1});let t={skills:e.map(e=>e.name).join(",")};return r("me/skills",void 0,P.s1.PUT,t).then(()=>{d({skills:e}),c()}).catch(s)},[r,d,s,c]),C=(0,l.useCallback)(e=>{a({loading:!0,called:!0,error:!1});let t=e.map(e=>e.uri).join(","),n=(0,I.hk)({projectUris:t});return r("me/project_types",void 0,P.s1.PUT,n).then(()=>{d({projectTypes:e}),c()}).catch(s)},[r,d,s,c]),O=(0,l.useCallback)((t,r)=>{e(e=>{if(e){if(t)return t8(t8({},e),{},{rates:t8(t8({},e.rates),{},{rate:t})});if(r)return t8(t8({},e),{},{rates:t8(t8({},e.rates),{},{currency:r})})}return e},!1)},[e]),k=(0,l.useCallback)((e,t)=>{a({loading:!0,called:!0,error:!1});let n=e?{rate:e}:t?{currency:t.code}:null;return n?r("me/rates",void 0,P.s1.PATCH,n).then(()=>{O(e,t),c()}).catch(s):Promise.resolve()},[r,s,c,O]);return{called:i,error:o,fetchPublicVideosCount:h,loading:n,onLocationUpdate:p,onPreferenceUpdate:f,onUserUpdate:g,updateClients:(0,l.useCallback)(e=>(a({loading:!0,called:!0,error:!1}),r("me/clients",void 0,P.s1.PUT,e).then(()=>{d(e),c()}).catch(s)),[r,d,s,c]),updateEmail:y,updateLink:x,updateProfilePicture:(0,l.useCallback)(e=>d({pictures:e}),[d]),updateProjectTypes:C,updateRate:k,updateSkills:v}}var t9=r(418923);let t7=(e,t)=>{let r={behavior:navigator.userAgent.toLowerCase().indexOf("firefox")>-1?"auto":"smooth",inline:"start",block:t||"start"};e&&e instanceof HTMLElement?e.scrollIntoView(r):e&&e.current&&e.current.scrollIntoView(r)};function re({label:e,onTagClose:t}){return(0,j.jsxs)(rt,{onClick:e=>{e.preventDefault()},children:[e,(0,j.jsx)(rn,{icon:(0,j.jsx)(rr,{}),size:"xs",format:"soft",variant:"minimalTransparent",onClick:t})]})}let rt=(0,b.default)(es.x).withConfig({componentId:"p4pvoo-0"})(["display:flex;padding:"," ",";margin:"," "," "," 0;border:"," solid ",";border-radius:",";align-items:center;line-height:",";transition:border-color 300ms linear;&:hover{border-color:",";}"],(0,T.rem)(2),(0,T.rem)(12),(0,T.rem)(2),(0,T.rem)(4),(0,T.rem)(2),(0,T.rem)(1),(0,z.ae)(200),(0,T.rem)(100),(0,T.rem)(20),(0,z.ae)(800)),rr=(0,b.default)(B.n).withConfig({componentId:"p4pvoo-1"})(["path{fill:",";transition:fill 300ms linear;}"],(0,z.ae)(200)),rn=(0,b.default)(A.z).withConfig({componentId:"p4pvoo-2"})(["padding:0;min-height:",";min-width:",";margin-left:",";&:hover{background:transparent;svg path{fill:",";}}"],(0,T.rem)(20),(0,T.rem)(20),(0,T.rem)(6),(0,z.ae)(800)),ri=["options","selected","onTagUpdate","label","onInputChange","optionsKey","clickedOutside","inputKey","disabled","optionTemplate","tagTemplate","enterForTag","commaForTag","onReset","stringToT","placeholder","displayInput"];function ro(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function ra(e){for(var t=1;te.split(",").reduce((e,r)=>((r=r.trim())&&e.push(t(r)),e),[]),I=(0,l.useCallback)(()=>{let e=O.current?.value,t=r;(p||m)&&e&&h&&n(t=[...r,...E(e,h)]),s(t)},[s,n,h,p,m,r]),S=e=>{n(r.filter((t,r)=>r!==e))},R=e=>{n([...r,e])};return(0,t9.Z)(C,I,void 0,[I]),(0,l.useEffect)(()=>{if(k.current){if(0===v)k.current.scrollTo({top:0,behavior:"smooth"});else{let e=k.current.children;e.length&&t7(e.item(v),"nearest")}}},[k,v]),(0,l.useEffect)(()=>{O&&O.current&&(O.current.focus(),O.current.value="")},[O,r,y]),(0,j.jsxs)(rl,ra(ra({disabled:u,tabIndex:0,ref:C},x),{},{children:[r.map((e,t)=>g?g(e,t):(0,j.jsx)(re,{label:i(e),onTagClose:()=>S(t)},a(e,t)+"_tag")),y?(0,j.jsx)(rc,{defaultValue:"",type:"text",ref:O,onKeyDown:e=>{let i=e.currentTarget,o=i.value;if(e.keyCode===P.mW.ENTER){let e=t[v];if(e)n([...r,e]),i.value="";else if(p&&h){let e=O.current?.value;e&&n([...r,...E(e,h)])}}else if(e.keyCode===P.mW.COMMA&&m&&h){let e=O.current?.value;e&&n([...r,...E(e,h)])}else e.keyCode!==P.mW.BACKSPACE||o?e.keyCode===P.mW.UP&&t.length&&v>0?w(e=>e-1):e.keyCode===P.mW.DOWN&&ve+1):e.keyCode===P.mW.ESC?f?.():e.keyCode===P.mW.TAB?I():O.current&&(O.current.value=o):n(r.slice(0,r.length-1))},onInput:e=>o(e.currentTarget.value),placeholder:0===r.length?b:void 0},c):null,t.length>0?(0,j.jsx)(ru,{ref:k,children:t.map((e,t)=>d?d(e,t):(0,j.jsx)(rd,{active:v===t,onMouseOver:()=>w(t),onClick:()=>R(e),children:i(e)},a(e)+"_option"))}):null]}))}let rl=b.default.div.withConfig({componentId:"sc-1bcc83f-0"})(["box-sizing:border-box;border:"," solid ",";border-radius:",";padding:"," ",";display:flex;flex-wrap:wrap;position:relative;outline:none;",""],(0,T.rem)(1),(0,z.ae)(200),(0,T.rem)(3),(0,T.rem)(8),(0,T.rem)(10),({disabled:e})=>e&&(0,b.css)(["background-color:",";cursor:not-allowed;pointer-events:none;min-height:",";"],(0,z.ae)(50),(0,T.rem)(42))),rc=b.default.input.withConfig({componentId:"sc-1bcc83f-1"})(["outline:none;border:none;flex:1;font-size:",";line-height:",";letter-spacing:0;color:",";letter-spacing:0;line-height:",";&::-ms-clear{display:none;}"],(0,T.rem)(14),(0,T.rem)(20),(0,z.ae)(800),(0,T.rem)(20)),ru=b.default.ul.withConfig({componentId:"sc-1bcc83f-2"})(["padding:"," 0;list-style:none;position:absolute;top:calc(100% - ",");margin-left:",";width:calc(100% - ",");max-height:",";overflow:auto;box-shadow:0 "," "," 0 ",";border-radius:",";background:",";z-index:1;"],(0,T.rem)(13),(0,T.rem)(6),(0,T.rem)(2),(0,T.rem)(26),(0,T.rem)(156),(0,T.rem)(3),(0,T.rem)(5),(0,T.rgba)(z.Sn,.12),(0,T.rem)(3),({theme:e})=>e.content.background),rd=b.default.li.withConfig({componentId:"sc-1bcc83f-3"})(["cursor:pointer;transition:background-color 300ms linear;line-height:",";font-size:",";height:",";padding:"," ",";",""],(0,T.rem)(14),(0,T.rem)(14),(0,T.rem)(31),(0,T.rem)(8.5),(0,T.rem)(20),({active:e})=>e&&(0,b.css)(["background-color:",";"],(0,z.ae)(50)));function rg({selected:e,title:t}){return e.length?(0,j.jsxs)(j.Fragment,{children:[t&&(0,j.jsx)(tJ.h,{size:"6",format:"soft",children:t}),(0,j.jsx)(es.x,{format:"soft",className:"view-list",children:e.map(e=>e.name).join(", ")})]}):null}function rp({selected:e,options:t,loading:r,called:n,error:i,limit:o,title:a,helperText:s,placeholder:c,addLabel:u,enterForTag:d=!1,commaForTag:g=!1,onSubmit:p}){let{0:m,1:f}=(0,l.useState)(!1),{0:h,1:b}=(0,l.useState)(e),{0:y,1:x}=(0,l.useState)([]),v=(0,l.useContext)(t5.eO),w=(0,l.useMemo)(()=>h.length?t.filter(e=>!h.some(t=>t.name===e.name)):[...t],[t,h]),C=(e,t)=>e.length===t.length&&!e.some((e,r)=>t[r].uri!==e.uri),O=t=>{r||(C(e,t)?f(!1):p(t))},k=e=>{if(e.length>o)return!1;let t=new Set(e.map(e=>e.uri));return!(e.length>t.size)};(0,l.useEffect)(()=>{r||f(!1)},[r]),(0,l.useEffect)(()=>{b(e)},[e]),(0,l.useEffect)(()=>{x(w)},[w]),(0,l.useEffect)(()=>{!n||r||i||v()},[n,r,i,v]);let E=m&&!r,I=E&&h.length(0,D.$o)(e,()=>{m||f(!0)},!1),enableEdit:m,children:[m||e.length>0?(0,j.jsxs)(j.Fragment,{children:[(0,j.jsx)(rs,{label:e=>e.name,options:I?y:[],selected:h,onInputChange:e=>{let t=RegExp(e,"i");x(w.filter(e=>t.test(e.name)))},onTagUpdate:e=>{m||f(!0),k(e)&&b(e)},optionsKey:e=>e.uri,onReset:()=>{b(e),f(!1)},clickedOutside:e=>{k(e)&&O(e)},placeholder:c,disabled:r,displayInput:E,enterForTag:d,commaForTag:g,stringToT:e=>({uri:e,name:e}),className:"tag-autocomplete",onClick:()=>{m||f(!0)}}),s&&m&&(0,j.jsx)(rh,{size:"2",children:s})]}):null,!m&&e.length>0?(0,j.jsx)(es.x,{format:"soft",className:"view-list",children:e.map(e=>e.name).join(", ")}):null,m||0!==e.length?null:(0,j.jsx)(rm,{buttonText:u,onClick:()=>f(!0)})]})]})}let rm=(0,b.default)(en).withConfig({componentId:"dxo1p7-0"})(["margin:"," 0 0;"],(0,T.rem)(14)),rf=b.default.article.withConfig({componentId:"dxo1p7-1"})([".tag-autocomplete{display:none;","}.view-list{display:block;}&:hover{.tag-autocomplete{display:flex;}.view-list{display:none;}}",""],({enableEdit:e})=>!e&&ec,({enableEdit:e})=>e&&(0,b.css)([".tag-autocomplete{display:flex;}.view-list{display:none;}"])),rh=(0,b.default)(L.n).withConfig({componentId:"dxo1p7-2"})(["margin-top:",";margin-bottom:0;color:",";display:inline-block;"],(0,T.rem)(10),(0,z.ae)(500));function rb({selectedProjects:e}){let{data:t}=(0,t2.a)("/marketplace/projects?filter=all"),{updateProjectTypes:r,loading:n,called:i,error:o}=t6();return(0,j.jsx)(rp,{selected:e,called:i,loading:n,error:o,limit:P.tG,onSubmit:r,options:t?.all||[],title:Y.Z.ProjectTypes,addLabel:Y.Z.AddProjectTypes,placeholder:Y.Z.AddProjectTypes})}function ry({editMode:e,projectTypes:t,viewProjects:r}){return e?(0,j.jsx)(rj,{children:(0,j.jsx)(rb,{selectedProjects:t})}):r&&t.length>0?(0,j.jsx)(rj,{children:(0,j.jsx)(rg,{selected:t,title:Y.Z.ProjectTypes})}):null}let rj=b.default.article.withConfig({componentId:"sc-1zcqxa-0"})(["margin-top:",";"],(0,T.rem)(24));function rx({selectedSkills:e}){let{data:t}=(0,t2.a)("/marketplace/skills"),{updateSkills:r,loading:n,error:i,called:o}=t6();return(0,j.jsx)(rp,{selected:e,called:o,loading:n,error:i,limit:P.XP,onSubmit:r,options:t?.all||[],title:Y.Z.Roles,addLabel:Y.Z.AddRoles,placeholder:Y.Z.AddRoles})}function rv({editMode:e,skills:t,viewSkills:r}){return e?(0,j.jsx)(rw,{children:(0,j.jsx)(rx,{selectedSkills:t})}):r&&t.length>0?(0,j.jsx)(rw,{children:(0,j.jsx)(rg,{selected:t,title:Y.Z.Roles})}):null}let rw=b.default.article.withConfig({componentId:"sc-1u8y1r6-0"})(["margin-top:",";"],(0,T.rem)(24));function rC({showUpgrade:e,availableForHire:t,canWorkRemotely:r,onUpdate:n,projectTypes:i,skills:o,showAddYourProfileTourpoint:a,isEnrolledToExperts:s}){let{0:c,1:u}=(0,l.useState)(!1),{editMode:d}=(0,l.useContext)(O.Z),{0:g,1:p}=(0,l.useState)(t?Y.Z.AvailableForHire:Y.Z.NotAvailableForHire);(0,l.useEffect)(()=>{c||p(t?Y.Z.AvailableForHire:Y.Z.NotAvailableForHire)},[c,t]);let m=(t,r=!1,i=!1)=>{(e||c)&&!i||(u(!0),n({availableForHire:t,canWorkRemotely:r}).then(()=>u(!1)).catch(()=>u(!1)))};return d||t?(0,j.jsxs)(rE,{children:[d&&t&&!s&&(0,j.jsx)(rP,{children:Y.Z.JoinExpertsReminderText}),(0,j.jsxs)(rI,{children:[(0,j.jsx)(rk,{editMode:d,children:t?(0,j.jsx)(e0,{height:"36",width:"36"}):(0,j.jsx)(e3,{height:"36",width:"36"})}),(0,j.jsx)(rO,{children:g}),(0,j.jsx)(t$,{availableForHire:t,editMode:d,showUpgrade:e,onHireChange:m,loading:c,showAddYourProfileTourpoint:a,isEnrolledToExperts:s}),(0,j.jsx)(rv,{editMode:d,skills:o,viewSkills:t}),(0,j.jsx)(ry,{editMode:d,projectTypes:i,viewProjects:t}),t?(0,j.jsx)(tH,{editMode:d,canWorkRemotely:r,onChange:e=>m(!0,e),loading:c}):null,d&&(0,j.jsx)(tY,{text:Y.Z.ExpertsBoost,isEnrolledToExperts:s})]})]}):null}let rO=(0,b.default)(es.x).attrs({format:"soft"}).withConfig({componentId:"sc-1k8l2v1-0"})(["display:block;font-size:",";font-weight:bold;letter-spacing:",";line-height:",";margin-bottom:",";"],(0,T.rem)(20),(0,T.rem)(.22),(0,T.rem)(24),(0,T.rem)(9)),rk=b.default.article.withConfig({componentId:"sc-1k8l2v1-1"})(["margin-bottom:",";"],({editMode:e})=>e?(0,T.rem)(33):(0,T.rem)(31)),rE=(0,b.default)(eK).withConfig({componentId:"sc-1k8l2v1-2"})(["padding:0;"]),rI=b.default.div.withConfig({componentId:"sc-1k8l2v1-3"})(["padding:"," "," ",";"],(0,T.rem)(25),(0,T.rem)(24),(0,T.rem)(28)),rP=b.default.div.withConfig({componentId:"sc-1k8l2v1-4"})(["background:#1a2e3b;color:",";border-radius:0 "," "," 0;padding:"," ",";font-weight:400;line-height:",";text-align:left;"],z.ix,(0,T.rem)(10),(0,T.rem)(10),(0,T.rem)(8),(0,T.rem)(24),(0,T.rem)(24));function rS({userId:e,categories:t,selected:r,onCategoryChange:n}){let i=(0,l.useRef)(null),o=(0,l.useRef)(null),{0:a,1:s}=(0,l.useState)(!1),{0:c,1:u}=(0,l.useState)(0),d=(0,l.useMemo)(()=>(t||[]).length,[t]),{width:g}=(0,Z.i)();(0,l.useEffect)(()=>{(()=>{let e=document.querySelectorAll(".category-tag"),t=i.current,r=0;if(t&&e.length>0&&d>0){let n=t.getBoundingClientRect(),i=n.top;if(e.forEach(e=>{let t=e.getBoundingClientRect().top;(t===i||t-39===i)&&r++}),d&&d+1>r&&g>=V.O.sm){let t=e[r-1].getBoundingClientRect();o.current&&n.right-t.right{d&&d+1>c&&s(!0)},[c,i,d]);let p=(t,i)=>{let o=t=>{r?.word!==t.word&&(tr(P.hy.CLICK_TO_CATEGORY,1,{profile_id:e}),n(t))},a=()=>{tr(P.hy.CLICK_TO_CATEGORY,1,{profile_id:e}),r?.word&&n(void 0)};return(0,j.jsxs)(j.Fragment,{children:[(0,j.jsx)(rD,{tabIndex:0,role:"button",selected:!r,onClick:a,onKeyDown:e=>(0,D.$o)(e,a),className:i,children:Y.Z.All}),t.map((e,t)=>e&&(0,j.jsx)(rD,{tabIndex:0,role:"button",selected:r?.word===e.word,onClick:()=>o(e),onKeyDown:t=>(0,D.$o)(t,()=>o(e)),className:i,children:e.name},`${e.word}_${t}`))]})};return d?(0,j.jsxs)(rR,{children:[(0,j.jsx)(r_,{ref:i,children:p(t,"category-tag")}),(0,j.jsxs)("div",{children:[p(a?t.slice(0,c-1):t),c>0&&d&&d+1>c&&(0,j.jsx)(rT,{ref:o,onClick:()=>s(!a),onKeyDown:e=>(0,D.$o)(e,()=>s(!a)),children:a?Y.Z.ViewAll:Y.Z.ViewLess})]})]}):null}let rR=b.default.div.withConfig({componentId:"sc-1150bat-0"})(["padding-bottom:",";position:relative;"],(0,T.rem)(25)),r_=b.default.div.withConfig({componentId:"sc-1150bat-1"})(["visibility:hidden;height:",";position:absolute;"],(0,T.rem)(78)),rD=(0,b.default)(es.x).withConfig({componentId:"sc-1150bat-2"})(["display:inline-block;cursor:pointer;margin-right:",";margin-bottom:",";background-color:",";font-weight:bold;padding:"," ",";border-radius:",";min-width:",";height:",";text-align:center;box-sizing:border-box;border:"," solid transparent;&:hover{background-color:",";}&:focus{outline:none;border:"," solid ",";}",""],(0,T.rem)(10),(0,T.rem)(5),(0,z.se)(50),(0,T.rem)(5),(0,T.rem)(8),(0,T.rem)(15),(0,T.rem)(50),(0,T.rem)(34),(0,T.rem)(1),(0,z.ae)(100),(0,T.rem)(1),(0,z.ae)(800),({selected:e})=>e&&(0,b.css)(["background-color:",";color:",";&:hover{background-color:",";}"],(0,z.ae)(800),z.ix,(0,z.ae)(800))),rT=b.default.button.withConfig({componentId:"sc-1150bat-3"})(["color:",";font-size:",";cursor:pointer;display:block;background:transparent;border:none;",""],(0,z.iN)(500),(0,T.rem)(14),V.B.sm` display: inline; `);var rz=r(458446),rA=r(930392),rN=r(286346);function rF({show:e,toggleVisibility:t}){let{0:r,1:n}=(0,l.useState)(!1);return(0,l.useEffect)(()=>{n(!1)},[e]),(0,j.jsx)(rB,{children:(0,j.jsx)(rN.Z,{tooltipText:r?"":e?Y.Z.HideVisibilityHelper:Y.Z.DisplayVisibilityHelper,children:(0,j.jsx)(A.z,{icon:e?(0,j.jsx)(r$,{}):(0,j.jsx)(rL,{}),format:"secondary",variant:"minimal",size:"sm",onClick:()=>{r||(t(!e),n(!0))},loading:r})})})}let rB=b.default.div.withConfig({componentId:"c5wzv-0"})(["position:absolute;right:",";top:",";"],(0,T.rem)(12),(0,T.rem)(12)),rM=(0,b.css)(["path,circle{fill:",";}"],(0,z.ae)(200)),rL=(0,b.default)(rz.b).withConfig({componentId:"c5wzv-1"})(["",""],rM),r$=(0,b.default)(rA._).withConfig({componentId:"c5wzv-2"})(["",";"],rM);function rK({showClients:e,profileClients:t,toggleVisibility:r,isEnrolledToExperts:n}){let{editMode:i}=(0,l.useContext)(O.Z),{updateClients:o,called:a,loading:s,error:c}=t6(),u=(0,l.useMemo)(()=>t?Array.from(new Set(t.split(",").map(e=>e.trim()))).map(e=>({uri:e,name:e})):[],[t]),d=(0,l.useCallback)(e=>{tr(P.hy.CLIENTS_ADDED,1,{clients:u.length,is_public:e}),r(e)},[u.length,r]),g=(0,l.useCallback)(t=>{o({clients:t.map(e=>e.name).join(",")}),tr(P.hy.CLIENTS_ADDED,1,{clients:t.length,is_public:e})},[e,o]);return i?(0,j.jsxs)(eK,{children:[(0,j.jsx)(rZ,{children:Y.Z.Clients}),(0,j.jsxs)(rV,{children:[(0,j.jsx)(rF,{show:e,toggleVisibility:d}),(0,j.jsx)(rp,{selected:u,called:a,loading:s,error:!!c,limit:P.df,onSubmit:g,options:[],addLabel:Y.Z.AddClients,placeholder:Y.Z.AddClients,helperText:Y.Z.ClientsInputHelper,enterForTag:!0,commaForTag:!0})]}),(0,j.jsx)(tY,{text:Y.Z.ExpertsClient,isEnrolledToExperts:n})]}):e&&u.length>0?(0,j.jsxs)(eK,{children:[(0,j.jsx)(rZ,{children:Y.Z.Clients}),(0,j.jsx)(rV,{children:(0,j.jsx)(rg,{selected:u})})]}):null}let rZ=(0,b.default)(tJ.h).attrs({format:"soft"}).withConfig({componentId:"sc-1le0ayl-0"})(["display:block;font-size:",";font-weight:bold;letter-spacing:",";line-height:",";margin-bottom:",";"],(0,T.rem)(20),(0,T.rem)(.22),(0,T.rem)(24),(0,T.rem)(9)),rV=b.default.article.withConfig({componentId:"sc-1le0ayl-1"})(["margin-top:",";"],(0,T.rem)(24));var rU=r(354641),rJ=r(840243);function rH(e){return e.sizes.sort((e,t)=>e.width>t.width?1:e.widthe.width>600);if(i.length){let e=new Map;return i.forEach(t=>e.set(t.width,t)),[...e.values()].map(e=>{let[i,o]=function(e,t){let r=e*t;return Number.isInteger(r)?[e,r]:[e-1,Math.round(r)]}(e.width,t),a=`_${i}x${o}`;return`${r.link.replace(n,a)}`.replace("?r=pad","")})}return e.pictures.sizes.map(e=>e.link)}function rG(e){let t=rH(e),r=t.filter(e=>e.width>250);return 0===r.length&&(r=t.filter(e=>e.width>100)),r.map((e,t)=>`${e.link} ${t+2}x`).join(", ")}var rW=r(23117),rY=r(306923);let rX=(e,t,r,n)=>{let i={user:e.toString(),text:r,"g-recaptcha-response":n,token:t},o=new FormData;for(let[e,t]of Object.entries(i))o.append(e,t);return fetch("/messages?action=send_message",{method:"POST",body:o,credentials:"include",headers:{"X-Requested-With":"XMLHttpRequest"}})},rQ=async(e,t,r)=>{let n=await fetch(`//${e}/me/following/${t}`,{method:"GET",headers:{Accept:"application/vnd.vimeo.*;version=3.4.2",Authorization:`jwt ${r}`}});return n.ok||404===n.status?Promise.resolve(404!==n.status):Promise.reject(n)},r0=(e,t,r)=>fetch(`//${e}/me/following/${t}?check_email_verification=true`,{method:"PUT",headers:{Accept:"application/vnd.vimeo.*;version=3.4.2",Authorization:`jwt ${r}`}}),r1=async(e,t,r)=>{let n=await fetch(`//${e}/me/following/${t}`,{method:"DELETE",headers:{Accept:"application/vnd.vimeo.*;version=3.4.2",Authorization:`jwt ${r}`}});return n.ok?Promise.resolve(n):Promise.reject(n)},r2=async(e,t,r=1,n=1)=>{let i=await fetch(`//${e}/me/following?page=${r}&per_page=${n}&fields=uri`,{method:"GET",headers:{Accept:"application/vnd.vimeo.*;version=3.4.2",Authorization:`jwt ${t}`}});return i.ok?i.json().then(e=>(0,S.bI)(e)):Promise.reject(i)};function r3(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function r5(e){for(var t=1;tError("Not implemented"),r8=(0,l.createContext)({isLoggedIn:!1,isStaffUser:!1,isVerifiedUser:!1,isLoading:!1,submitting:!1,isFollowing:!1,isUserFollowing:!1,onFollowUser:()=>Promise.reject("Not implemented"),onUnfollowUser:r4,onLoginSuccess:r4});function r6({children:e,profileId:t}){let{0:r,1:n}=(0,l.useState)({submitting:!1,isFollowing:!1,loading:!1,usersFollowing:null,isVerifiedUser:!1,error:null}),i=(0,l.useContext)(h.Z),o=(0,l.useMemo)(()=>i?.apiUrl||"",[i]),a=(0,l.useMemo)(()=>i?.jwt||"",[i]),s=(0,l.useMemo)(()=>i?.user,[i]),c=(0,l.useCallback)(async()=>{let[e,r,n]=await Promise.all([t!==s?.id?rQ(o,t,a):Promise.resolve(!1),r2(o,a),t!==s?.id?e6(o,a):Promise.resolve({verified:!1})]);return{checkIfFollowing:e,usersFollowing:r,userIsVerified:n}},[o,s,a,t]);(0,l.useEffect)(()=>{s&&(n(e=>r5(r5({},e),{},{loading:!0})),c().then(e=>{n(t=>r5(r5({},t),{},{loading:!1,isFollowing:e.checkIfFollowing,usersFollowing:e.usersFollowing,isVerifiedUser:e.userIsVerified.verified}))}).catch(e=>n(t=>r5(r5({},t),{},{loading:!1,error:e}))))},[s,t,c]);let u=(0,l.useCallback)(e=>{r2(o,a).then(t=>{n(r=>r5(r5({},r),{},{submitting:!1,usersFollowing:t,isFollowing:e}))}).catch(e=>n(t=>r5(r5({},t),{},{submitting:!1,error:e})))},[o,a]),d=(0,l.useCallback)(()=>(n(e=>r5(r5({},e),{},{submitting:!0})),r0(o,t,a).then(e=>e.ok?(u(!0),Promise.resolve(e)):(n(t=>r5(r5({},t),{},{submitting:!1,error:e})),Promise.reject(e)))),[a,o,t,u]),g=(0,l.useCallback)(()=>{n(e=>r5(r5({},e),{},{submitting:!0})),r1(o,t,a).then(()=>{u(!1)}).catch(e=>n(t=>r5(r5({},t),{},{submitting:!1,error:e})))},[a,o,t,u]),p=(0,l.useCallback)(async()=>{let e=await fetch("/_next/jwt",{headers:{"X-Requested-With":"XMLHttpRequest"}});return await e.json()},[]),m=(0,l.useCallback)(async()=>{try{n(e=>r5(r5({},e),{},{submitting:!0}));let e=await p();await r0(o,t,e.token)}catch(e){}window.location.reload()},[o,p,t]),f=(0,l.useMemo)(()=>{let e=!!r.usersFollowing?.items?.length;return{isLoggedIn:!!s,isStaffUser:s?.badge.type===U.gZ.Staff,isVerifiedUser:r.isVerifiedUser,isLoading:r.loading,submitting:r.submitting,isFollowing:r.isFollowing,isUserFollowing:e,onFollowUser:d,onUnfollowUser:g,onLoginSuccess:m}},[r,s,d,g,m]);return(0,j.jsx)(r8.Provider,{value:f,children:e})}var r9=r(224957);function r7({profile:{id:e,name:t,link:r,pictures:n,isStaff:i},viewerId:o,xsrft:a,recaptchaSiteKey:s,showImmediate:c=!1,children:u,shouldDisableCaptcha:d=!1}){let{0:g,1:p}=(0,l.useState)(!1),{0:m,1:f}=(0,l.useState)(!1),{isLoggedIn:h,isStaffUser:b,isUserFollowing:y,isLoading:x}=(0,l.useContext)(r8),v=o===e,w=y&&!v,C=()=>{m&&f(!1),g&&p(!1)};(0,r9.Z)(m||g?e=>(0,D.i2)(e,C):void 0,[m,g]);let O=(0,l.useMemo)(()=>i?(0,ti.Iu)({singular:"The Vimeo Staff {BADGE}Staff{/BADGE} is unable to respond to help requests via private messages. Instead please use the {LINK}Help Center{/LINK} to find answers to your questions and contact the Staff.",replacements:{BADGE:e=>(0,j.jsx)(eu,{children:(0,j.jsx)(eA.C,{format:"curation",size:"sm",children:e})}),LINK:e=>(0,j.jsx)("a",{href:"/help",children:e})},dictionary:{es:{singular:"El {BADGE}Staff{/BADGE} del equipo de Vimeo no puede contestar solicitudes de ayuda mediante mensajes privados. Usa el {LINK}Centro de ayuda{/LINK} para encontrar las respuestas a tus preguntas y para contactarte con ellos."},"de-DE":{singular:"Vimeo-Mitarbeiter {BADGE} Mitarbeiter {/BADGE} sind nicht befugt, Support-Anfragen \xfcber private Message-Dienste zu beantworten. Benutze stattdessen bitte unseren {LINK} Support Center {/LINK}, um Antworten auf deine Fragen zu bekommen und wende dich an deren Mitarbeiter."},"fr-FR":{singular:"Le staff Vimeo {BADGE}Le Staff{/BADGE} ne peut pas r\xe9pondre \xe0 des demandes d'aide par messages priv\xe9s. Veuillez plut\xf4t utiliser le {LINK}Centre d'aide{/LINK} pour trouver les r\xe9ponses \xe0 vos questions et contacter le Staff."},"ja-JP":{singular:"Vimeo Staff {BADGE}スタッフ{/BADGE}は、プライベートメッセージによるサポート要望に応えることはできません。{LINK}ヘルプセンター{/LINK}を利用するとあなたと同じ質問に対する回答を探したりスタッフに問い合わせることができます。"},"ko-KR":{singular:"Vimeo 스태프 {BADGE}스태프{/BADGE}는 비공개 메세지를 통한 문의에 응답할 수 없습니다. 대신 {LINK}도움말 센터{/LINK}를 통해 문의 사항에 대한 답을 찾거나 스태프에게 문의하세요."},"pt-BR":{singular:"A Equipe Vimeo {BADGE} Equipe{/BADGE} n\xe3o pode responder a solicita\xe7\xf5es de ajuda por meio de mensagens privadas. Em vez disso, use a {LINK} Central de Ajuda{/LINK}para encontrar respostas \xe0s suas d\xfavidas e entre em contato com a Equipe Vimeo."},"zh-CN":{singular:"Vimeo Staff {BADGE}员工{/BADGE}不能通过私信回复帮助请求。相反,请使用{LINK}帮助中心{/LINK}寻找问题的答案并联系工作人员。"}}}):b?["The Vimeo Staff ",(0,j.jsx)(eu,{children:(0,j.jsx)(eA.C,{format:"curation",size:"sm",children:"Staff"})})," is unable to respond to help requests via private messages. However, I see that you’re a mod, too. You could consider walking over to their desk."]:void 0,[i,b]),k=(0,l.useCallback)(()=>{w?p(!0):f(!0)},[w]);return x&&!c?null:(0,j.jsxs)(j.Fragment,{children:[(0,j.jsx)(rW.XW,{type:"login",xsrft:a,onSuccess:()=>window.location.reload(),children:e=>(0,j.jsx)(j.Fragment,{children:u(()=>h?k():e())})}),(0,j.jsx)(rY.Z,{reCaptchaSiteKey:s,isShowing:g,onDismiss:()=>p(!1),userName:t,userLink:r,userPictures:n,onSendMessage:(t,r)=>rX(e,a,t,r),warning:i&&O,shouldDisableCaptcha:d}),(0,j.jsx)(M.u,{active:m,size:"lg",onOpen:()=>f(!1),content:(0,j.jsxs)(ne,{children:[(0,j.jsxs)(no,{children:[(0,j.jsx)(ta.q,{width:"20",height:"20"}),(0,j.jsx)(ni,{size:"4",children:Y.Z.SendAMessage})]}),(0,j.jsx)(nr,{format:"soft",variant:"minimalTransparent",icon:(0,j.jsx)(B.n,{}),onClick:()=>f(!1)}),(0,j.jsx)(L.n,{size:"1",children:y?v?Y.Z.SameUserMessage:"":Y.Z.YouMustFollowAtLeastOnePerson}),(0,j.jsx)(nn,{children:(0,j.jsx)(nt,{format:"primary",onClick:()=>f(!1),children:Y.Z.OK})})]})})]})}let ne=b.default.div.withConfig({componentId:"o6oi13-0"})(["padding:"," "," ",";background-color:",";position:relative;",";"," ",""],(0,T.rem)(40),(0,T.rem)(30),(0,T.rem)(20),z.ix,V.B.xsm` width: ${(0,T.rem)(335)}; `,V.B.md` width: ${(0,T.rem)(490)}; `,V.B.hd` width: ${(0,T.rem)(660)}; `),nt=(0,b.default)(A.z).withConfig({componentId:"o6oi13-1"})(["width:",";"],(0,T.rem)(140)),nr=(0,b.default)(A.z).withConfig({componentId:"o6oi13-2"})(["position:absolute;top:",";right:",";"],(0,T.rem)(35),(0,T.rem)(30)),nn=b.default.div.withConfig({componentId:"o6oi13-3"})(["display:flex;justify-content:flex-end;margin-top:",";"],(0,T.rem)(16)),ni=(0,b.default)(tJ.h).withConfig({componentId:"o6oi13-4"})(["margin-left:",";"],(0,T.rem)(12)),no=b.default.div.withConfig({componentId:"o6oi13-5"})(["margin-bottom:",";display:flex;align-items:center;"],(0,T.rem)(20));var na=r(34909);function ns(){return(0,j.jsx)(nl,{children:(0,j.jsx)(y.I,{size:"lg"})})}let nl=b.default.div.withConfig({componentId:"sc-1hxytg7-0"})(["width:",";height:",";display:flex;justify-content:center;align-items:center;border-radius:",";background-color:",";box-shadow:0 "," "," 0 ",",0 "," "," 0 ",";"],(0,T.rem)(320),(0,T.rem)(350),(0,T.rem)(9),z.ix,(0,T.rem)(15),(0,T.rem)(12),(0,T.rgba)(z.Sn,.17),(0,T.rem)(19),(0,T.rem)(38),(0,T.rgba)(z.Sn,.25));var nc=r(197980);let nu=(0,b.default)(eA.C).attrs({format:"pro"}).withConfig({componentId:"sc-1wdpovk-0"})(["background-color:",";a{color:",";}"],(0,z.se)(300),(0,z.ae)(0));var nd=({className:e})=>(0,j.jsx)(nu,{label:"EXPERT",href:"/experts",target:"_blank",className:e,onClick:e=>e.stopPropagation(),children:"EXPERT"}),ng=r(510067);function np({configUrl:e,yPosition:t,poster:r,start:n,end:i,clipUrl:o}){let{0:a,1:s}=(0,l.useState)(!1),c=(0,l.useRef)(null),u=(0,l.useRef)(null),d=(0,l.useRef)(null),g=(0,l.useRef)(null),{ofcomQualifies:p,user:m}=(0,l.useContext)(h.Z),f=p&&!m,{player:b}=(0,ng.Z)(c,Number(o),!0,e,!0,"auto"),{width:y}=(0,Z.i)(),x=(0,l.useMemo)(()=>r,[r]),v=(0,l.useCallback)(e=>{if(e.current&&u.current){let{offsetHeight:r}=e.current,n=r*t/100,i=u.current.offsetHeight/2;e.current.style.top=`-${n-i}px`}},[t]);return(0,l.useEffect)(()=>{let e=({currentTime:e})=>{e>=i-.501&&(b.currentTime=n)};return b&&(b.currentTime=n,b.on("timeupdate",e)),()=>{b&&b.off("timeupdate",e)}},[b,n,i]),(0,l.useEffect)(()=>{b&&!f&&b.play().then(()=>s(!0))},[b]),(0,l.useEffect)(()=>{s(!1)},[o]),(0,l.useEffect)(()=>{v(d),v(g)},[v,y,a,x]),(0,j.jsxs)(nm,{ref:u,children:[(0,j.jsx)(nf,{ref:d,hide:!a,children:(0,j.jsx)("div",{ref:c})}),!a&&(0,j.jsx)(nf,{ref:g,children:(0,j.jsx)(nh,{src:x,alt:o,onLoad:()=>v(g)})})]})}let nm=b.default.section.withConfig({componentId:"n5f5o0-0"})(["display:block;position:relative;overflow:hidden;height:100%;width:100%;"]),nf=b.default.article.withConfig({componentId:"n5f5o0-1"})(["position:absolute;min-width:100%;left:0;right:0;display:block;visibility:visible;",""],({hide:e})=>e&&(0,b.css)(["visibility:hidden;"])),nh=b.default.img.withConfig({componentId:"n5f5o0-2"})(["height:100%;width:100%;"]);var nb=r(853217);function ny(){return(0,j.jsxs)(nx,{children:[(0,j.jsx)(nj,{}),(0,j.jsx)(nv,{children:Y.Z.AvailableForHire})]})}let nj=(0,b.default)(nb.M).withConfig({componentId:"sc-11n6g0h-0"})(["width:",";height:",";path{fill:",";}"],(0,T.rem)(19),(0,T.rem)(19),(0,z.ek)(500)),nx=b.default.span.withConfig({componentId:"sc-11n6g0h-1"})(["position:absolute;top:",";right:0;padding:"," ",";"],(0,T.rem)(17),(0,T.rem)(3),(0,T.rem)(20)),nv=(0,b.default)(es.x).attrs({format:"soft"}).withConfig({componentId:"sc-11n6g0h-2"})(["font-weight:400;line-height:",";vertical-align:top;margin-left:",";"],(0,T.rem)(20),(0,T.rem)(1));function nw({availableForHire:e,triggerMessage:t}){return(0,j.jsx)(nC,{icon:(0,j.jsx)(F.w,{}),status:e?"positive":void 0,format:e?void 0:"alternative",onClick:t,children:Y.Z.Message})}let nC=(0,b.default)(A.z).withConfig({componentId:"sc-8p5rog-0"})(["width:100%;height:",";svg{height:",";width:",";}"],(0,T.rem)(40),(0,T.rem)(17),(0,T.rem)(17));var nO=r(771046);let nk=e=>e.replace("?r=pad",""),nE=(e,t,r=!1)=>{if(e.length<=0)return"";for(let n=0;ni.width;if(i.width>=t&&o)return nk(i.link)}return nk(e[e.length-1].link)},nI=(e,t,r,n)=>(0,b.css)(["color:",";font-size:",";line-height:",";font-weight:",";"],r,(0,T.rem)(e),(0,T.rem)(t),n),nP=(0,b.css)(["width:100%;height:100%;"]),nS=(0,b.keyframes)(["0%{opacity:0}100%{opacity:1}"]),nR=b.default.div.withConfig({componentId:"sc-1vizni3-0"})(["min-width:",";position:relative;top:0;border-radius:",";animation:0.5s "," ease-out 1;background-color:",";transition:top 0.3s ease;z-index:1;box-shadow:0 "," "," 0 ",",0 "," "," 0 ",";width:",";border:none;padding-bottom:",";"],(0,T.rem)(275),(0,T.rem)(9),nS,z.ix,(0,T.rem)(15),(0,T.rem)(12),(0,T.rgba)(z.Sn,.17),(0,T.rem)(19),(0,T.rem)(38),(0,T.rgba)(z.Sn,.25),(0,T.rem)(320),(0,T.rem)(20)),n_=b.default.div.withConfig({componentId:"sc-1vizni3-1"})(["border-radius:"," "," 0 0;height:",";overflow:hidden;background-color:",";"],(0,T.rem)(9),(0,T.rem)(9),(0,T.rem)(70),(0,z.ae)(50)),nD=b.default.div.withConfig({componentId:"sc-1vizni3-2"})(["position:relative;padding:"," "," ",";"],(0,T.rem)(15),(0,T.rem)(20),(0,T.rem)(20)),nT=b.default.div.withConfig({componentId:"sc-1vizni3-3"})(["width:",";height:",";position:absolute;top:-",";left:",";"],(0,T.rem)(91),(0,T.rem)(91),(0,T.rem)(50.5),(0,T.rem)(19.5)),nz=(0,b.default)(rU.q).withConfig({componentId:"sc-1vizni3-4"})(["",""],nP),nA=(0,b.css)(["display:inline-block;white-space:nowrap;text-overflow:ellipsis;overflow:hidden;"]),nN=b.default.span.withConfig({componentId:"sc-1vizni3-5"})([""," "," letter-spacing:",";margin-right:",";cursor:pointer;&:hover{color:",";text-decoration:underline;}"],nI(20,26,(0,z.ae)(800),500),nA,(0,T.rem)(.2),(0,T.rem)(6),(0,z.iN)(500)),nF=(0,b.default)(eA.C).withConfig({componentId:"sc-1vizni3-6"})(["align-self:center;"]),nB=b.default.span.withConfig({componentId:"sc-1vizni3-7"})([""," "," margin-left:",";height:",";vertical-align:text-top;"],nI(14,20,(0,z.ae)(800),500),nA,(0,T.rem)(3),(0,T.rem)(20)),nM=b.default.div.withConfig({componentId:"sc-1vizni3-8"})(["padding-top:",";display:flex;"],(0,T.rem)(35)),nL=b.default.div.withConfig({componentId:"sc-1vizni3-9"})(["height:",";margin-top:",";display:flex;align-items:center;"],(0,T.rem)(20),(0,T.rem)(2)),n$=b.default.div.withConfig({componentId:"sc-1vizni3-10"})([""," margin-top:",";"],nI(14,20,(0,z.ae)(800),400),(0,T.rem)(2)),nK=b.default.div.withConfig({componentId:"sc-1vizni3-11"})(["flex-shrink:0;"]),nZ=b.default.div.withConfig({componentId:"sc-1vizni3-12"})(["margin:0 ",";"],(0,T.rem)(20)),nV=b.default.a.withConfig({componentId:"sc-1vizni3-13"})(["text-decoration:none;display:block;"]);function nU({clips:e,totalClips:t,isClipsLoading:r}){let n=(0,l.useMemo)(()=>{let r=[];if(e&&e.length>0){let n=null!=t&&t>4?3:e.length;r=e.slice(0,n).map(e=>(0,j.jsx)("a",{href:`/${(0,D.qx)(e.uri)}`,target:"_blank",rel:"noopener noreferrer",children:(0,j.jsx)(nW,{src:e.pictures?nE(e.pictures.sizes,100):"",alt:e.name})}))}if(null!=t&&t>4){let e=(0,j.jsxs)(nY,{children:["+",(0,ti.OI)(t-3)]});r.push(e)}return r},[e,t]),i=(0,nO.NI)(n.length,{from:{opacity:0},to:{opacity:1},config:nO.vc.molasses});return n.length?(0,j.jsx)(nq,{children:i.map((e,t)=>(0,j.jsx)(nG,{style:e,children:n[t]},`preview_${t}`))}):r?(0,j.jsx)(nq,{children:[,,,,].fill(null).map((e,t)=>(0,j.jsx)(nX,{},`profile_clip_${t}`))}):null}let nJ=(0,b.keyframes)(["0%{opacity:0.5}50%{opacity:1}100%{opacity:0.5}"]),nH=(0,b.css)(["display:inline-block;width:calc(25% - ",");margin:0 ",";"],(0,T.rem)(2.78),(0,T.rem)(1.39)),nq=b.default.div.withConfig({componentId:"sc-7of3xs-0"})(["margin-top:",";height:",";width:100%;"],(0,T.rem)(20),(0,T.rem)(40)),nG=(0,b.default)(nO.q.div).withConfig({componentId:"sc-7of3xs-1"})(["position:relative;vertical-align:top;overflow:hidden;background:",";height:100%;",";"],(0,z.ae)(50),nH),nW=b.default.img.withConfig({componentId:"sc-7of3xs-2"})(["",";&:hover{transition:all 1s ease-in-out;transform:scale(1.5);transform-origin:50% 50%;}"],nP),nY=b.default.span.withConfig({componentId:"sc-7of3xs-3"})(["",";",";display:flex;align-items:center;justify-content:center;text-align:center;background:",";transition:background 0.3s ease-in;&:hover{background:",";}"],nI(14,39,z.ix,500),nP,(0,z.ae)(800),(0,z.iN)(500)),nX=b.default.div.withConfig({componentId:"sc-7of3xs-4"})(["",";background:linear-gradient(270deg,"," 0%,"," 100%);animation:"," 2s ease-in-out 0s infinite reverse;",";"],nP,P.DM.SNOW,P.DM.CYAN_WHITE,nJ,nH);var nQ=r(821926);function n0({skills:e}){return(0,j.jsx)(n1,{children:e.map(e=>(0,j.jsx)(n2,{size:"sm",children:e.name},e.uri))})}let n1=b.default.div.withConfig({componentId:"sc-1dm8tu4-0"})(["margin-top:",";position:relative;overflow:hidden;max-height:",";&:before{content:'';opacity:0.8;background:linear-gradient( to bottom,"," 0%,"," 74%,"," 99% );position:absolute;left:0;top:0;width:100%;height:",";z-index:1;}"],(0,T.rem)(2),(0,T.rem)(80),(0,T.rgba)(z.ix,0),(0,T.rgba)(z.ix,1),(0,T.rgba)(z.ix,1),(0,T.rem)(80)),n2=(0,b.default)(nQ.V).withConfig({componentId:"sc-1dm8tu4-1"})(["color:",";font-weight:500;margin:"," "," 0 0;display:inline-block;&:last-child{margin-right:0;}"],(0,z.ae)(500),(0,T.rem)(8),(0,T.rem)(8));function n3({userLink:e,availableForHire:t,name:r,bio:n,clips:i,totalClips:o,pictures:a,skills:s,userId:c,backgroundVideo:u,triggerMessage:d,clipsLoading:g,membership:p,location:m,isExpert:f}){let b=(0,l.useMemo)(()=>a.sizes[3].link,[a.sizes]),y=(0,l.useMemo)(()=>rG(a),[a]),{user:x}=(0,l.useContext)(h.Z),{isLoading:v}=(0,l.useContext)(r8),w=u&&u.length?u[0]:null;return(0,j.jsxs)(nR,{children:[(0,j.jsxs)(nV,{href:e,children:[(0,j.jsx)(n_,{children:w&&(0,j.jsx)(np,{clipUrl:""+w.clipId,configUrl:w.configUrl,end:w.endTime,start:w.startTime,poster:w.firstFrameURL,yPosition:w.yPosition})}),(0,j.jsxs)(nD,{children:[(0,j.jsx)(nT,{children:(0,j.jsx)(nz,{alt:r,src:b,srcSet:y,size:"md"})}),t&&(0,j.jsx)(ny,{}),(0,j.jsxs)(nM,{children:[(0,j.jsx)(nN,{children:r}),f&&(0,j.jsx)(n5,{}),p?.badge&&(0,j.jsx)(nF,{format:e$(p.badge.type),label:p.badge.text,href:p.badge.url,children:p.badge.text})]}),m?(0,j.jsxs)(nL,{children:[(0,j.jsx)(nK,{children:(0,j.jsx)(nc.Y,{width:9,height:12})}),(0,j.jsx)(nB,{children:m})]}):null,n&&(0,j.jsx)(n$,{children:q()(n,{length:80})}),(0,j.jsx)(nU,{clips:i,totalClips:o,isClipsLoading:g}),!!s?.length&&(0,j.jsx)(n0,{skills:s})]})]}),c!==x?.id&&!v&&(0,j.jsx)(nZ,{children:(0,j.jsx)(nw,{availableForHire:t,triggerMessage:d})})]})}let n5=(0,b.default)(nd).withConfig({componentId:"ukdzfc-0"})(["align-self:center;font-size:",";border-radius:",";margin-right:",";a{font-weight:700;}"],(0,T.rem)(9),(0,T.rem)(2),(0,T.rem)(4));function n4(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function n8(e){for(var t=1;t{let e=null;return n?c||u||s():e=setTimeout(()=>{o||a||i(),c||u||s()},t),()=>{e&&clearTimeout(e)}},[t,i,s,n,c,u,o,a]);let d=o||n;return d?(0,j.jsx)(n3,n8(n8({},d),{},{clips:c?.items,totalClips:c?.total,userLink:d.link,userId:e,triggerMessage:r,clipsLoading:u})):(0,j.jsx)(ns,{})}let n9=b.default.section.withConfig({componentId:"sc-1eoq3d8-0"})(["position:relative;"]),n7=b.default.article.withConfig({componentId:"sc-1eoq3d8-1"})(["position:absolute;background:transparent;padding:",";width:",";opacity:0;z-index:",";&.left{top:50%;right:100%;transform:translateY(-50%);opacity:1;}&.right{top:50%;left:100%;transform:translateY(-50%);opacity:1;}&.top{bottom:100%;left:0;opacity:1;}&.bottom{top:100%;left:0;opacity:1;}"],(0,T.rem)(12),(0,T.rem)(320),({zIndex:e})=>e);var ie=({children:e,userId:t,zIndex:r=1,childRef:n,triggerMessage:i,cardUser:o})=>{let a=(0,l.useRef)(null),{0:s,1:c}=(0,l.useState)(!1),{width:u,height:d}=(0,Z.i)(),g=null;(0,l.useEffect)(()=>{if(a.current&&n.current&&s){let e=a.current,t=e.getBoundingClientRect(),r=n.current.getBoundingClientRect();r.x>t.width?e.classList.add("left"):u-(r.x+r.width)>t.width?e.classList.add("right"):t.heightt.height?e.classList.add("bottom"):e.classList.add("top")}},[n,a,s,u,d]);let p=e=>{e?g=setTimeout(()=>{c(!0)},500):(g&&clearTimeout(g),c(!1))};return(0,j.jsxs)(n9,{onMouseEnter:()=>p(!0),onMouseLeave:()=>p(!1),children:[s?(0,j.jsx)(n7,{ref:a,zIndex:r,children:(0,j.jsx)(n6,{userId:t,triggerMessage:i,cardUser:o})}):null,e]})},it=r(271147);function ir({collaborator:e}){let t=(0,l.useRef)(null),{recaptchaSiteKey:r,xsrft:n,user:i,isFromCopyrightRestrictedRegion:o}=(0,l.useContext)(h.Z),a=(0,D.qx)(e.uri);return o?(0,j.jsx)(iu,{as:"span",children:(0,j.jsx)(ic,{src:e.pictures.sizes[1].link,srcSet:rG(e.pictures),alt:e.name})}):(0,j.jsx)(r7,{profile:{id:a,isStaff:e.membership?.badge?.type===U.gZ.Staff,link:e.link,pictures:e.pictures,name:e.name},viewerId:i?.id,xsrft:n,recaptchaSiteKey:r,showImmediate:!0,children:r=>(0,j.jsx)(il,{onKeyDown:t=>(0,D.$o)(t,()=>window.location.href=e.link),children:(0,j.jsx)(ie,{userId:a,childRef:t,triggerMessage:()=>r(),cardUser:e,children:(0,j.jsx)(iu,{href:e.link,ref:t,children:(0,j.jsx)(ic,{src:e.pictures.sizes[1].link,srcSet:rG(e.pictures),alt:e.name})})})})})}let ii=(0,b.default)(es.x).withConfig({componentId:"sc-1kmn0a6-0"})(["font-size:",";font-weight:bold;margin-left:",";display:inline-block;"],(0,T.rem)(20),(0,T.rem)(25)),io=(0,b.default)(rJ._).withConfig({componentId:"sc-1kmn0a6-1"})(["g{fill:",";}"],(0,z.ae)(200)),ia=(0,b.default)(it.Z).withConfig({componentId:"sc-1kmn0a6-2"})(["position:relative;display:inline-block;vertical-align:middle;cursor:pointer;"]),is=b.default.div.withConfig({componentId:"sc-1kmn0a6-3"})(["margin:"," "," 0;"],(0,T.rem)(10),(0,T.rem)(25)),il=b.default.div.withConfig({componentId:"sc-1kmn0a6-4"})(["display:inline-block;"]),ic=(0,b.default)(rU.q).withConfig({componentId:"sc-1kmn0a6-5"})(["width:",";height:",";"],(0,T.rem)(45),(0,T.rem)(45)),iu=b.default.a.withConfig({componentId:"sc-1kmn0a6-6"})(["display:inline-block;margin-right:",";"],(0,T.rem)(12));var id=l.memo(function({userId:e}){let{data:t,loading:r}=(0,t2.a)(`/users/${e}/collaborators`,{variables:{fields:["available_for_hire","background_video","membership.badge","bio","link","metadata.following","skills","name","pictures.sizes","uri","location","is_expert"]},accept:{version:"3.4.2"}});return!r&&t?.total?(0,j.jsxs)(eK,{fullWidth:!0,children:[(0,j.jsx)(ii,{element:"p",format:"soft",children:Y.Z.Collaborators}),(0,j.jsx)(ia,{text:Y.Z.AddCollaboratorsInVideoSettings,alignment:"top",trigger:"click",children:(0,j.jsx)(io,{tabIndex:0,role:"button","aria-label":Y.Z.AddCollaboratorsInVideoSettings,width:22,height:22,onKeyDown:e=>{e.keyCode===P.mW.SPACE&&e.preventDefault()}})}),(0,j.jsx)(is,{children:t.items.map(e=>(0,j.jsx)(ir,{collaborator:e},e.uri))})]}):null}),ig=r(549585);let ip=/iphone|ipod|ipad|android|webos|blackberry|windows phone|iemobile|opera mini/i.test(navigator.userAgent.toLowerCase())||"MacIntel"===navigator.platform&&navigator.maxTouchPoints>1;function im({onRemove:e,onReplace:t}){return(0,j.jsxs)(ih,{children:[(0,j.jsx)(ib,{onClick:e,children:Y.Z.Remove}),(0,j.jsx)(ib,{onClick:t,children:Y.Z.Replace})]})}/ipad|iemobile|opera mini/i.test(navigator.userAgent.toLowerCase())||"MacIntel"===navigator.platform&&navigator.maxTouchPoints,/iphone|ipod|android|webos|blackberry|windows phone/i.test(navigator.userAgent.toLowerCase()),/ipad/i.test(navigator.userAgent)||"MacIntel"===navigator.platform&&navigator.maxTouchPoints,/iphone|ipod|ipad/i.test(navigator.userAgent.toLowerCase());let ih=b.default.aside.withConfig({componentId:"xrg1p1-0"})(["position:absolute;top:",";right:",";display:flex;z-index:1;outline:none;transition:all 200ms linear;"],(0,T.rem)(24),(0,T.rem)(30)),ib=b.default.button.withConfig({componentId:"xrg1p1-1"})(["&:first-child{margin-right:",";}&:hover{border:none;background-color:",";}background-color:",";border:none;height:",";width:",";font-size:",";color:",";font-weight:bold;letter-spacing:",";line-height:",";text-align:center;border-radius:",";cursor:pointer;"],(0,T.rem)(6),(0,T.rgba)(z.Sn,.4),(0,T.rgba)(z.Sn,.3),(0,T.rem)(40),(0,T.rem)(88),(0,T.rem)(14),z.ix,(0,T.rem)(.2),(0,T.rem)(17),(0,T.rem)(3));function iy(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function ij(e){for(var t=1;t(0,j.jsx)("svg",ij(ij({version:"1.1",viewBox:"0 0 48 31",ref:t,xmlns:"http://www.w3.org/2000/svg"},e),{},{children:(0,j.jsx)("g",{fill:"none",fillRule:"evenodd",children:(0,j.jsx)("g",{transform:"translate(-699 -100)",children:(0,j.jsx)("g",{transform:"translate(651 100)",children:(0,j.jsxs)("g",{transform:"translate(50)",children:[(0,j.jsx)("polygon",{points:"0 4.1289 0 29.129 37.5 29.129 37.5 10.258 32.565 4.1289"}),(0,j.jsx)("polyline",{points:"32.566 4 0 4 0 29 37.5 29 37.5 10.129",stroke:"#1A2E3B",strokeWidth:"2.5"}),(0,j.jsx)("path",{d:"m6.0011 24.129h23.75-23.75z",fill:"#E8EAEB"}),(0,j.jsx)("polygon",{points:"7.6019 23.662 3.7506 21.438 3.7506 25.884",fill:"#1A2E3B"}),(0,j.jsx)("polygon",{points:"30.698 7.8608 31.593 10.546 34.279 11.442 31.593 12.337 30.698 15.023 29.801 12.337 27.115 11.442 29.801 10.546",fill:"#1A2E3B"}),(0,j.jsx)("polygon",{points:"37.793 1.25e-4 36.732 3.1839 33.546 4.2464 36.732 5.3076 37.793 8.4926 38.854 5.3076 42.039 4.2464 38.854 3.1839 37.794 1.25e-4",fill:"#1A2E3B"}),(0,j.jsx)("path",{d:"m40.729 8.8935 1.4238 0.47375c0.28375 0.09375 0.5075 0.31875 0.60125 0.6025l0.475 1.4225 0.475-1.4225c0.09375-0.28375 0.3175-0.50875 0.60125-0.6025l1.4238-0.47375-1.4238-0.47625c-0.28375-0.09375-0.5075-0.3175-0.60125-0.6025l-0.475-1.4225-0.475 1.4225c-0.09375 0.285-0.3175 0.50875-0.60125 0.6025l-1.4238 0.47625z",fill:"#1A2E3B"}),(0,j.jsx)("line",{x1:"33.751",x2:"10.001",y1:"24.129",y2:"24.129",stroke:"#1A2E3B",strokeWidth:"2.5"})]})})})})})));function iv({subTitle:e,onClick:t}){return(0,j.jsxs)(iw,{onClick:t,children:[(0,j.jsx)(ix,{width:46,height:30}),(0,j.jsx)(iC,{children:e})]})}let iw=b.default.button.withConfig({componentId:"njxzwp-0"})(["display:none;border:none;"," flex-direction:column;justify-content:center;align-items:center;text-align:center;height:",";width:",";cursor:pointer;border-radius:50%;transition:all linear 200ms;&:hover{background-color:",";}"],V.B.md` display: flex; `,(0,T.rem)(190),(0,T.rem)(190),(0,T.rgba)(z.Sn,.1)),iC=(0,b.default)(tJ.h).attrs({size:"5"}).withConfig({componentId:"njxzwp-1"})(["margin:"," "," ",";"],(0,T.rem)(9),(0,T.rem)(0),(0,T.rem)(0));function iO(e,t,r=P.Um){if(e.current){let n=e.current,i=n.scrollHeight;n.clientHeight+n.scrollTop+r>=i&&t()}}var ik=r(213743),iE=r(28673);function iI({src:e,clipTitle:t,timestamp:r,duration:n,isPrivate:i,disabled:o}){let a=(0,l.useMemo)(()=>Y.Z.Modified+" "+eF(r),[r]),s=(0,l.useMemo)(()=>eN(n),[n]),c=(0,l.useMemo)(()=>e,[e]);return(0,j.jsxs)(iS,{disabled:o,children:[(0,j.jsxs)(i_,{children:[(0,j.jsx)(iR,{src:c,alt:t}),i&&(0,j.jsx)(iN,{children:(0,j.jsx)(iF,{})}),(0,j.jsx)(iA,{children:s})]}),(0,j.jsxs)(iD,{children:[(0,j.jsx)(iz,{size:"5",children:t}),(0,j.jsx)(iT,{size:"2",children:a})]})]})}let iP=(0,b.css)(["white-space:nowrap;overflow:hidden;text-overflow:ellipsis;margin-bottom:0;"]),iS=b.default.section.withConfig({componentId:"sc-1xupclp-0"})(["overflow:hidden;width:100%;",""],({disabled:e})=>e&&(0,b.css)(["opacity:0.5;"])),iR=b.default.img.withConfig({componentId:"sc-1xupclp-1"})(["width:100%;height:100%;border-radius:",";"],(0,T.rem)(3)),i_=b.default.aside.withConfig({componentId:"sc-1xupclp-2"})(["position:relative;display:inline-block;vertical-align:middle;width:30%;height:",";max-width:",";background:linear-gradient(206.43deg,"," 0%,"," 100%);"],(0,T.rem)(76),(0,T.rem)(136),(0,T.rgba)(z.Sn,0),z.Sn),iD=b.default.aside.withConfig({componentId:"sc-1xupclp-3"})(["padding-left:",";overflow:hidden;display:inline-block;vertical-align:middle;width:70%;"],(0,T.rem)(20)),iT=(0,b.default)(L.n).withConfig({componentId:"sc-1xupclp-4"})(["",";color:",";"],iP,(0,z.ae)(500)),iz=(0,b.default)(tJ.h).withConfig({componentId:"sc-1xupclp-5"})(["",";color:",";"],iP,(0,z.ae)(800)),iA=b.default.span.withConfig({componentId:"sc-1xupclp-6"})(["height:",";width:",";color:",";font-size:",";font-weight:bold;letter-spacing:",";line-height:",";text-shadow:0 0 "," 0 ",";position:absolute;bottom:",";left:",";"],(0,T.rem)(12),(0,T.rem)(27),z.ix,(0,T.rem)(10),(0,T.rem)(.4),(0,T.rem)(12),(0,T.rem)(4),(0,T.rgba)(z.Sn,.24),(0,T.rem)(3),(0,T.rem)(8)),iN=b.default.span.withConfig({componentId:"sc-1xupclp-7"})(["position:absolute;top:",";right:",";padding:",";background-color:",";border-radius:",";"],(0,T.rem)(5),(0,T.rem)(5),(0,T.rem)(5),(0,T.rgba)((0,z.Q6)(500),.75),(0,T.rem)(5)),iF=(0,b.default)(iE.z).attrs({width:15,height:15}).withConfig({componentId:"sc-1xupclp-8"})(["path{fill:",";}"],z.ix);var iB=((n=iB||{}).NOBODY="nobody",n.PASSWORD="password",n.ON_DEMAND="ptv",n.ON_DEMAND_HIDDEN="ptvhide",n);function iM({inputType:e="radio",isVerticalClipAllowed:t,clip:r,isSelected:n,onClick:i,isUpcomingEventAllowed:o,isOnDemandAllowed:a}){let s=r.widthc||d||p,[c,d,p]),f=(0,l.useMemo)(()=>c?Y.Z.VerticalVideoNotSupported:d?Y.Z.OnDemandVideoNotSupported:p?Y.Z.UpcomingVideoNotSupported:"",[c,d,p]),h=(0,l.useCallback)(()=>{m||i()},[i,m]),b=(0,l.useMemo)(()=>(0,j.jsx)(iI,{clipTitle:r.name,src:r.pictures.sizes[0].link,timestamp:r.createdTime,duration:r.duration,isPrivate:u,disabled:m}),[r.createdTime,r.duration,r.name,r.pictures.sizes,m,u]);return(0,j.jsx)(iL,{disabled:m,children:(0,j.jsx)(it.Z,{text:m?f:"",children:"radio"===e?(0,j.jsx)(iZ,{defaultValue:r.uri,name:"add_video_section",checked:!m&&n,disabled:m,onChange:h,label:b}):(0,j.jsx)(iK,{defaultValue:r.uri,name:"add_video_section",checked:!m&&n,disabled:m,onChange:h,label:b})})})}let iL=b.default.li.withConfig({componentId:"sc-8suvb5-0"})(["cursor:pointer;position:relative;width:100%;&:not(:last-child){box-shadow:inset 0 "," 0 0 ",";}&:hover{background-color:",";}&:not(:first-child){.btn-tip{top:auto;bottom:calc(100% + ",");}}",""],(0,T.rem)(-1),(0,z.ae)(84),(0,z.ae)(50),(0,T.rem)(12),({disabled:e})=>e&&(0,b.css)(["cursor:not-allowed;"])),i$=(0,b.css)(["padding:"," 0 "," ",";width:100%;label{padding-right:",";padding-top:0;padding-bottom:0;}"],(0,T.rem)(12),(0,T.rem)(12),(0,T.rem)(20),(0,T.rem)(28)),iK=(0,b.default)(to.X).withConfig({componentId:"sc-8suvb5-1"})(["",""],i$),iZ=(0,b.default)(ik.Y).withConfig({componentId:"sc-8suvb5-2"})(["",""],i$);function iV(){return(0,j.jsxs)(iU,{children:[(0,j.jsx)(iH,{children:(0,j.jsx)(iq,{})}),(0,j.jsx)(iG,{}),(0,j.jsxs)(iW,{children:[(0,j.jsx)(iY,{}),(0,j.jsx)(iX,{})]})]})}let iU=b.default.li.withConfig({componentId:"sc-1fbuf2k-0"})(["display:flex;flex-direction:row;height:",";align-items:center;box-shadow:inset 0 "," 0 0 ",";"],(0,T.rem)(100),(0,T.rem)(-1),(0,z.ae)(84)),iJ=(0,b.keyframes)(["0%{opacity:0.5}50%{opacity:1}100%{opacity:0.5}"]),iH=b.default.div.withConfig({componentId:"sc-1fbuf2k-1"})(["margin-left:",";margin-right:",";"],(0,T.rem)(20),(0,T.rem)(20)),iq=b.default.span.withConfig({componentId:"sc-1fbuf2k-2"})(["height:",";width:",";opacity:0.9;background:linear-gradient(270deg,"," 0%,"," 100%);border-radius:50%;display:inline-block;"],(0,T.rem)(22),(0,T.rem)(22),P.DM.CYAN_WHITE,P.DM.SNOW),iG=b.default.div.withConfig({componentId:"sc-1fbuf2k-3"})([""," "," "," background:linear-gradient(270deg,"," 0%,"," 100%);animation:"," 2s ease-in-out 0s infinite reverse;border-radius:",";width:",";height:",";"],V.B.xs` display: none; `,V.B.xsm` display: inline-block; `,V.B.sm` width: ${(0,T.rem)(136)}; height: ${(0,T.rem)(76)}; `,P.DM.SNOW,P.DM.CYAN_WHITE,iJ,(0,T.rem)(3),(0,T.rem)(88),(0,T.rem)(49)),iW=b.default.div.withConfig({componentId:"sc-1fbuf2k-4"})(["margin-left:",";display:flex;flex-direction:column;align-items:flex-start;flex:1;animation:"," 2s ease-in-out 0s infinite reverse;"],(0,T.rem)(20),iJ),iY=b.default.div.withConfig({componentId:"sc-1fbuf2k-5"})(["height:",";width:100%;background:linear-gradient(90deg,"," 0%,"," 100%);margin-bottom:",";"],(0,T.rem)(16),P.DM.SNOW,P.DM.CYAN_WHITE,(0,T.rem)(6)),iX=b.default.div.withConfig({componentId:"sc-1fbuf2k-6"})(["height:",";width:70%;background:linear-gradient(90deg,"," 0%,"," 100%);"],(0,T.rem)(16),P.DM.CYAN_WHITE,P.DM.SNOW);function iQ({inputType:e="radio",isVerticalClipAllowed:t,clips:r,selectedClips:n,loading:i,onSelectionChange:o,fetchNext:a,isUpcomingEventAllowed:s,isOnDemandAllowed:c}){let u=(0,l.useRef)(null),d=r.length>0?1:6,g=(0,l.useMemo)(()=>n.map(e=>e.uri),[n]);return(0,j.jsxs)(i0,{ref:u,onScroll:()=>iO(u,a),children:[r.map(r=>{let i=-1!==g.indexOf(r.uri);return(0,j.jsx)(iM,{inputType:e,clip:r,isVerticalClipAllowed:t,isUpcomingEventAllowed:s,isOnDemandAllowed:c,isSelected:i,onClick:()=>{if("checkbox"===e){let e=n?[...n]:[],t=e.map(e=>e.uri);if(i){let n=t.indexOf(r.uri);e.splice(n,1)}else e.push(r);o(e)}else o([r])}},`clip_row_${r.uri}`)}),i&&[...Array(d).keys()].map(e=>(0,j.jsx)(iV,{},e))]})}let i0=b.default.ul.withConfig({componentId:"sc-11otoqd-0"})(["list-style:none;overflow-x:hidden;overflow-y:auto;margin-top:",";"],(0,T.rem)(12));var i1=r(16859);function i2({searchText:e,backLabel:t,onBack:r}){return(0,j.jsxs)(i3,{children:[(0,j.jsx)(i1.h,{height:"138",width:"180"}),(0,j.jsx)(L.n,{size:"1",children:(0,ti.Iu)({singular:"No results for {SEARCH_TEXT}",replacements:{SEARCH_TEXT:e},dictionary:{es:{singular:"Sin resultados para {SEARCH_TEXT}"},"de-DE":{singular:"Keine Ergebnisse f\xfcr {SEARCH_TEXT}"},"fr-FR":{singular:"Pas de r\xe9sultat pour {SEARCH_TEXT}"},"ja-JP":{singular:"{SEARCH_TEXT} の検索結果がありません"},"ko-KR":{singular:"{SEARCH_TEXT}에 대한 검색 결과 없음"},"pt-BR":{singular:"Nenhum resultado para {SEARCH_TEXT}"},"zh-CN":{singular:"没有 {SEARCH_TEXT} 的结果"}}})}),t&&(0,j.jsx)(A.z,{format:"primary",onClick:()=>r&&r(),children:t})]})}let i3=b.default.article.withConfig({componentId:"sc-1kz36qr-0"})(["display:flex;height:100%;width:100%;justify-content:center;align-items:center;flex-direction:column;padding:",";"],(0,T.rem)(20));var i5=r(684702),i4=r(630592);function i8({onSearch:e,disabled:t,searchText:r}){let n=(0,l.useRef)(null);return(0,l.useLayoutEffect)(()=>{n.current&&(n.current.value=r)},[n,r]),(0,l.useLayoutEffect)(()=>{n.current&&(n.current.disabled=t,t||n.current.select())},[n,t]),(0,j.jsxs)(i6,{children:[(0,j.jsx)(i9,{ref:n,onKeyUp:t=>{n.current&&t.keyCode===P.mW.ENTER&&(e(n.current.value),t.preventDefault())},placeholder:Y.Z.Search}),(0,j.jsx)(i7,{children:(0,j.jsx)(oe,{icon:(0,j.jsx)(ot,{}),variant:"minimal",format:"secondary",onClick:()=>e(n.current?.value||"")})})]})}let i6=b.default.article.withConfig({componentId:"sc-1mruy6i-0"})(["position:relative;width:100%;"]),i9=(0,b.default)(i5.I).withConfig({componentId:"sc-1mruy6i-1"})(["input{box-sizing:border-box;height:",";padding-right:",";&::placeholder{color:",";}&:disabled{pointer-events:none;background-color:",";&::placeholder{color:",";}}}"],(0,T.rem)(50),(0,T.rem)(50),(0,z.ae)(200),(0,z.se)(50),(0,z.ae)(500)),i7=b.default.aside.withConfig({componentId:"sc-1mruy6i-2"})(["height:",";width:",";position:absolute;top:0;right:0;bottom:0;display:flex;justify-content:center;align-items:center;"],(0,T.rem)(50),(0,T.rem)(50)),oe=(0,b.default)(A.z).withConfig({componentId:"sc-1mruy6i-3"})(["width:calc(100% - ",");height:calc(100% - ",");"],(0,T.rem)(2),(0,T.rem)(2)),ot=(0,b.default)(i4.o).withConfig({componentId:"sc-1mruy6i-4"})(["height:",";path{fill:",";}"],(0,T.rem)(22),(0,T.rgba)(z.Sn,.25));function or({queryUrl:e,inputType:t="radio",authToken:r,parentLoading:n=!1,isVerticalClipAllowed:i,selectedClips:o,onSelectedClipsChange:a,onNoInitialClips:s,filterNonProfileVideos:c,isUpcomingEventAllowed:u,isOnDemandAllowed:d}){let{0:g,1:p}=(0,l.useState)([]),{data:m,searchText:f,error:h,setPage:b,setSearchText:y}=function(e,t,r,n=!1){let{0:i,1:o}=(0,l.useState)(1),{0:a,1:s}=(0,l.useState)(""),c=(0,E.Z)(),u=(0,l.useCallback)((e,t,r,n,i)=>{let o={page:r,sizes:"295x166",perPage:20,fields:"uri,name,created_time,pictures.sizes.link,duration,privacy.view,width,height,live.status"};return n&&(o.filter="non-profile"),t&&(o.useBelugaSearch=!0,o.weakSearch=!0,o.sort="date",o.direction="desc",o.query=t),c(e,o,void 0,void 0,i?{Authorization:i}:void 0)},[c]),{data:d,error:g,isValidating:p}=(0,k.ZP)(t?[e,a,i,n,r]:null,(e,t,r,n,i)=>u(e,t,r,n,i));return{setPage:o,setSearchText:s,searchText:a,data:d,error:g,isValidating:p}}(e,!n,r,c),x=!m&&!h,v=(e="")=>{b(1),y(e)},w=(e="")=>{f!==e&&(p([]),a([]),v(e))};return(0,l.useEffect)(()=>{if(m){let e=[...m.items||[]];p(t=>[...t,...e]),1!==m.page||0!==e.length||f||s()}},[m,s,f]),(0,j.jsx)(on,{children:(0,j.jsxs)(j.Fragment,{children:[(0,j.jsx)(i8,{onSearch:w,searchText:f,disabled:x||n}),(0,j.jsx)(iQ,{inputType:t,clips:g,loading:x||n,fetchNext:()=>{!x&&m&&m.paging.next&&b(e=>e+1)},isVerticalClipAllowed:i,isUpcomingEventAllowed:u,selectedClips:o,onSelectionChange:e=>a(e),isOnDemandAllowed:d}),!x&&!n&&m&&!m.items?.length&&!g.length&&f&&(0,j.jsx)(i2,{searchText:f,backLabel:Y.Z.BackToVideos,onBack:w})]})})}let on=b.default.section.withConfig({componentId:"sc-1byrzy3-0"})(["overflow:auto;padding:"," "," 0 ",";display:flex;flex-direction:column;height:100%;"],(0,T.rem)(12),(0,T.rem)(24),(0,T.rem)(26));var oi=r(116731);function oo(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function oa(e){for(var t=1;t(0,j.jsx)("svg",oa(oa({viewBox:"0 0 160 138"},e),{},{children:(0,j.jsxs)("g",{fill:"none",fillRule:"evenodd",children:[(0,j.jsx)("circle",{fillOpacity:".069",fill:"#00ADEF",fillRule:"nonzero",cx:"80",cy:"69",r:"69"}),(0,j.jsx)("path",{fill:"#D6D6D6",d:"M153.522 36.084l-3.886 1.299 3.886 1.298 1.296 3.893 1.295-3.893L160 37.383l-3.886-1.299-1.295-3.893zM131.171 28.947c0-1.075.87-1.947 1.943-1.947 1.074 0 1.944.872 1.944 1.947 0 1.075-.87 1.947-1.944 1.947a1.945 1.945 0 0 1-1.943-1.947"}),(0,j.jsx)("path",{d:"M142.554 54.992c0-3.598-2.93-6.533-6.522-6.533 3.592 0 6.522-2.935 6.522-6.534 0 3.599 2.93 6.534 6.52 6.534-3.59 0-6.52 2.935-6.52 6.533z",stroke:"#1A2E3B",strokeWidth:"1.296"}),(0,j.jsx)("path",{fill:"#1A2E3B",d:"M115.105 30.368l.79 2.374 2.368.79-2.369.792-.79 2.373-.789-2.373-2.369-.791 2.37-.791zM137.763 69.18l.841 1.54 1.538.844-1.538.842-.841 1.54-.84-1.54-1.539-.842 1.538-.843zM138.402 75.171a.629.629 0 1 1-.89.894.629.629 0 0 1 .89-.894"}),(0,j.jsx)("path",{d:"M33.463 33.025a.63.63 0 1 1-.89.894.63.63 0 0 1 .89-.894",fill:"#E8EAEB"}),(0,j.jsx)("path",{fill:"#D6D6D6",d:"M3.886 47.116L0 48.415l3.886 1.298 1.296 3.893 1.296-3.893 3.886-1.298-3.886-1.299-1.296-3.893z"}),(0,j.jsx)("path",{d:"M22.024 40.628c0-1.075.87-1.947 1.944-1.947 1.073 0 1.943.872 1.943 1.947 0 1.075-.87 1.946-1.943 1.946a1.945 1.945 0 0 1-1.944-1.946",fill:"#1A2E3B"}),(0,j.jsx)("path",{d:"M24.011 66.672c0-3.597-2.93-6.532-6.521-6.532 3.592 0 6.521-2.935 6.521-6.534 0 3.599 2.93 6.534 6.521 6.534-3.591 0-6.521 2.935-6.521 6.532z",stroke:"#1A2E3B",strokeWidth:"1.296"}),(0,j.jsx)("path",{fill:"#E8EAEB",d:"M32.824 27l.841 1.54 1.538.843-1.538.842-.841 1.54-.84-1.54-1.539-.842 1.538-.843z"}),(0,j.jsxs)("g",{children:[(0,j.jsx)("path",{stroke:"#1A2E3B",strokeWidth:"2.592",fill:"#EEF1F2",d:"M38.198 102.351h83.563V46.543H38.198z"}),(0,j.jsx)("path",{d:"M60.222 91.32h53.118-53.118z",fill:"#E8EAEB"}),(0,j.jsx)("path",{d:"M113.34 91.32H60.222",stroke:"#1A2E3B",strokeWidth:"2.592"}),(0,j.jsx)("path",{fill:"#1A2E3B",d:"M55.04 90.344l-8.42-4.865v9.734z"})]})]})}));function ol(){return(0,j.jsxs)(oc,{children:[(0,j.jsx)(os,{width:160,height:138}),(0,j.jsx)(L.n,{size:"1",children:Y.Z.NoVideosYet}),(0,j.jsx)(ou,{element:"a",format:"primary",href:"/upload",size:"md",children:Y.Z.Upload})]})}let oc=b.default.section.withConfig({componentId:"sc-19rx4wr-0"})(["padding:",";display:flex;justify-content:center;align-items:center;flex-direction:column;height:100%;width:100%;"],(0,T.rem)(24)),ou=(0,b.default)(A.z).withConfig({componentId:"sc-19rx4wr-1"})(["width:",";text-decoration:none;"],(0,T.rem)(106));function od({size:e="xl",format:t}){return(0,j.jsx)(og,{children:(0,j.jsx)(y.I,{size:e,format:t})})}let og=b.default.aside.withConfig({componentId:"zrjmqh-0"})(["position:absolute;display:flex;justify-content:center;align-items:center;width:100%;height:100%;"]);var op=r(899081);function om(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function of(e){for(var t=1;t{if(n.current&&e){let{offsetHeight:e,offsetWidth:t}=n.current;a(18*t/100/e*100)}},[n,e]);let s=(0,op.T2)({onDrag:({down:e,delta:[,t]})=>{if(i.current){i.current.style.cursor=e?"grabbing":"grab";let r=n.current?.offsetHeight||0,o=100*i.current.offsetHeight/r,a=+i.current.style.top.replace("%","")+(0===t?0:t/r*100);a>0&&a<100-o&&(i.current.style.top=a+"%")}},onDragEnd:()=>{if(i.current){let e=+i.current.style.top.replace("%","");e>0&&e<82&&t(e+o/2)}}});return(0,j.jsxs)(ob,{ref:n,children:[e&&(0,j.jsxs)(ov,of(of({ref:i},s()),{},{style:{top:`${(100-o)/2}%`},children:[(0,j.jsx)(oj,{}),(0,j.jsx)(ox,{})]})),r]})}let ob=b.default.section.withConfig({componentId:"cbcx3i-0"})(["position:relative;height:100%;width:100%;overflow:hidden;"]),oy=(0,b.css)(["&:before,&:after{content:'';width:",";height:",";border-style:solid;border-color:",";position:absolute;}&:before{left:",";border-right:none;}&:after{right:",";border-left:none;}"],(0,T.rem)(20),(0,T.rem)(20),z.ix,(0,T.rem)(3),(0,T.rem)(3)),oj=b.default.div.withConfig({componentId:"cbcx3i-1"})(["",";&:before,&:after{top:",";border-bottom:none;}"],oy,(0,T.rem)(3)),ox=b.default.div.withConfig({componentId:"cbcx3i-2"})(["",";&:before,&:after{bottom:",";border-top:none;}"],oy,(0,T.rem)(3)),ov=b.default.div.withConfig({componentId:"cbcx3i-3"})(["width:100%;z-index:10;position:absolute;padding-top:","%;&:hover{cursor:grab;}&:before,&:after{content:'';position:absolute;background-color:",";height:1000%;left:0;right:0;}&:before{bottom:100%;}&:after{top:100%;}"],18,(0,T.rgba)(z.Sn,.3));var ow=r(580447);function oC({label:e,duration:t,hasError:r,onInvalidFormat:n,onChange:i,onSubmit:o}){let{0:a,1:s}=(0,l.useState)("00:00:00");(0,l.useEffect)(()=>{s(eN(t,"hh:mm:SS"))},[t]);let c=(0,l.useMemo)(()=>{let e=a.split(":").map(e=>/^\d$/.test(e)?"0"+e:e),t=3-e.length;return t>0?[...Array(t).keys()].map(()=>"00").join(":")+":"+a:0===t?e.join(":"):-1},[a]),u=()=>{eN(t,"hh:mm:SS")!==c&&(-1!==c&&/^[0-9]+:[0-5][0-9]:[0-5][0-9]$/.test(c)?o(c.split(":").map((e,t)=>parseInt(e,10)*Math.pow(60,2-t)).reduce((e,t)=>e+t,0)):n())};return(0,j.jsx)(ok,{label:(0,j.jsx)(oE,{children:e}),value:a,onChange:e=>{i?.(),s(e.target.value)},onKeyDown:e=>{e.keyCode===P.mW.ENTER&&u()},onBlur:u,status:r?"negative":"neutral",messages:{error:(0,j.jsx)(L.n,{size:"3",role:"note",status:"negative",children:Y.Z.Invalid})}})}let oO=(0,b.css)(["color:",";font-size:",";letter-spacing:0;line-height:",";font-weight:normal;"],(0,z.ae)(800),(0,T.rem)(14),(0,T.rem)(20)),ok=(0,b.default)(i5.I).withConfig({componentId:"sc-1vvllzc-0"})(["input{",";}"],oO),oE=b.default.span.withConfig({componentId:"sc-1vvllzc-1"})(["",";"],oO);function oI({start:e,end:t,duration:r,onChange:n}){let{0:i,1:o}=(0,l.useState)(!1),{0:a,1:s}=(0,l.useState)(!1);(0,l.useEffect)(()=>{o(!1)},[e]),(0,l.useEffect)(()=>{s(!1)},[t]);let c=(n,i)=>{let o=Math.floor(e),a=Math.floor(t),s=Math.floor(n);return s>=(i?0:o+1)&&s<=(i?a-1:r)},u=(r,i)=>{let a=c(r,i);(i?o:s)(!a),a&&n({from:i?r:e,to:i?t:r})};return(0,j.jsxs)(oP,{children:[(0,j.jsx)(oS,{children:(0,j.jsx)(oC,{duration:e,onSubmit:e=>u(e,!0),onChange:()=>o(!1),hasError:i,onInvalidFormat:()=>o(!0),label:Y.Z.Start})}),(0,j.jsx)(oS,{children:(0,j.jsx)(oC,{duration:t,onSubmit:e=>u(e,!1),onChange:()=>s(!1),hasError:a,onInvalidFormat:()=>s(!0),label:Y.Z.End})})]})}let oP=b.default.section.withConfig({componentId:"x4p8uz-0"})(["margin-top:",";"],(0,T.rem)(29)),oS=b.default.article.withConfig({componentId:"x4p8uz-1"})(["width:",";display:inline-block;&:first-child{margin-right:",";}"],(0,T.rem)(80),(0,T.rem)(14));function oR(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function o_(e){for(var t=1;teM(e,p.current?.offsetWidth||0),[e,p]),y=(0,l.useCallback)(()=>eB(e,p.current?.offsetWidth||0),[e,p]),x=(0,l.useMemo)(()=>{let e=Math.round(b()(i)),t=Math.round(b()(a));return n({from:e,to:t}),{from:e,to:t}},[b,i,a]),v=(0,l.useMemo)(()=>({from:eN(x.from),to:eN(x.to)}),[x]),w=(e,t)=>{let r=t?f:h;r.current&&(r.current.style.cursor=e?"grabbing":"grab")},C=(e,t,r)=>{let n=e*t/100;r?o(n):s(t-n)},O=(e,t,r)=>{let n=100*y()(1)/t;return e<=100*(r===oD.LEFT?a:t-i)/t-n},k=(e,t)=>{let r=m.current;if(r){let n=p.current?.offsetWidth||0,i=Number(r.style[t].replace("%",""))+100*e/n;i>=0&&O(i,n,t)&&(r.style[t]=i+"%",C(i,n,t===oD.LEFT))}},E=(0,op.T2)({onDrag:({down:e,delta:[r]})=>{w(e,!0),u(e),k(r,oD.LEFT),t(x.from)},onDragEnd:()=>n(o_({},x)),onDragStart:r}),I=(0,op.T2)({onDrag:({down:e,delta:[r]})=>{w(e,!1),g(e),k(-r,oD.RIGHT),t(x.to)},onDragEnd:()=>n(o_({},x)),onDragStart:r}),P=(0,op.T2)({onDrag:({delta:[e]})=>{let r=m.current;if(r){let n=p.current?.offsetWidth||0,i=100*e/n,o=Number(r.style.left.replace("%","")),a=Number(r.style.right.replace("%",""))-i,s=o+i;s>=0&&a>=0&&(r.style.left=s+"%",r.style.right=a+"%",C(s,n,!0),C(a,n,!1),t(x.from))}},onDragEnd:()=>n(o_({},x)),onDragStart:r});return(0,l.useEffect)(()=>{m.current&&s(m.current.offsetWidth)},[m]),(0,j.jsxs)(j.Fragment,{children:[(0,j.jsx)(oz,{ref:p,children:(0,j.jsxs)(oA,{ref:m,children:[(0,j.jsx)(oF,o_(o_({},E()),{},{isStart:!0,ref:f,children:(0,j.jsx)(o$,{theme:ow.themes.dark,show:c,isStart:!0,children:v.from})})),(0,j.jsx)(oB,o_({},P())),(0,j.jsx)(oF,o_(o_({},I()),{},{ref:h,children:(0,j.jsx)(o$,{theme:ow.themes.dark,show:d,children:v.to})}))]})}),(0,j.jsxs)(oM,{children:[(0,j.jsx)(oL,{children:eN(0)}),(0,j.jsx)(oL,{children:eN(e)})]}),(0,j.jsx)(oI,{duration:e,start:x.from,end:x.to,onChange:({from:t,to:r})=>{let n=y()(t),i=y()(e-r);if(p.current&&m.current){let e=p.current.offsetWidth;m.current.style.left=n/e*100+"%",m.current.style.right=i/e*100+"%",o(Number(n.toFixed(2))),s(Number(y()(r).toFixed(2)))}}})]})}let oz=b.default.section.withConfig({componentId:"p3twhf-0"})(["background-color:",";width:100%;height:",";border-radius:",";position:relative;box-sizing:border-box;"],(0,z.se)(50),(0,T.rem)(32),(0,T.rem)(2)),oA=b.default.article.withConfig({componentId:"p3twhf-1"})(["display:flex;align-items:center;position:absolute;top:0;left:0;right:0;height:100%;background-color:",";"],(0,T.rgba)((0,z.iN)(400),.3)),oN=(0,b.css)(["height:",";min-width:",";color:",";background-color:",";line-height:",";text-align:center;cursor:grab;position:relative;&:after{content:'|';font-size:",";}"],(0,T.rem)(32),(0,T.rem)(P.$k),z.ix,(0,z.iN)(500),(0,T.rem)(28),(0,T.rem)(12)),oF=b.default.div.withConfig({componentId:"p3twhf-2"})([""," ",""],oN,({isStart:e})=>e?(0,b.css)(["border-top-left-radius:",";border-bottom-left-radius:",";"],(0,T.rem)(2),(0,T.rem)(2)):(0,b.css)(["border-top-right-radius:",";border-bottom-right-radius:",";"],(0,T.rem)(2),(0,T.rem)(2))),oB=b.default.div.withConfig({componentId:"p3twhf-3"})(["width:100%;height:100%;cursor:move;"]),oM=b.default.section.withConfig({componentId:"p3twhf-4"})(["margin-top:",";display:flex;justify-content:space-between;"],(0,T.rem)(7)),oL=b.default.time.withConfig({componentId:"p3twhf-5"})(["color:",";font-size:",";letter-spacing:",";line-height:",";"],(0,z.se)(400),(0,T.rem)(12),(0,T.rem)(.17),(0,T.rem)(14)),o$=b.default.aside.withConfig({componentId:"p3twhf-6"})(["background-color:",";position:absolute;padding:0 ",";top:-",";font-size:",";letter-spacing:",";line-height:",";opacity:0;transition:opacity 100ms linear;"," ",""],({theme:e})=>e.content.background,(0,T.rem)(12),(0,T.rem)(34),(0,T.rem)(14),(0,T.rem)(.1),(0,T.rem)(24),({show:e})=>e&&(0,b.css)(["opacity:1;"]),({isStart:e})=>e?(0,b.css)(["left:-",";"],(0,T.rem)(24)):(0,b.css)(["right:-",";"],(0,T.rem)(24)));function oK(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function oZ(e){for(var t=1;t{p.current=m?.play()||null};return(0,l.useEffect)(()=>{let e=({currentTime:e})=>{e>=d+P.tj&&(m.currentTime=u)};return m&&(m.muted=!0,m.on("timeupdate",e),m.once("timeupdate",()=>{c(!0),a()})),()=>{m&&m.off("timeupdate",e)}},[m,u,d,s,a]),(0,l.useEffect)(()=>{f()},[m]),(0,j.jsxs)(j.Fragment,{children:[!s&&(0,j.jsx)(od,{}),(0,j.jsxs)(oH,{isVideoBuffering:!s,children:[(0,j.jsx)(oU,{children:(0,j.jsx)(oh,{showCropper:s,setYPosition:n,children:(0,j.jsx)(oJ,{ref:g})})}),m&&(0,j.jsx)(oT,{onDrag:e=>{m.currentTime=e},onDragStart:()=>p.current?.then(()=>m?.pause()),onDragEnd:({from:e,to:t})=>{i(oZ(oZ({},o),{},{startTime:e,endTime:t})),f()},duration:r})]})]})}let oU=b.default.div.withConfig({componentId:"sc-1ap5hku-0"})(["position:relative;width:100%;height:100%;"]),oJ=b.default.div.withConfig({componentId:"sc-1ap5hku-1"})(["video{display:block;}"]),oH=b.default.div.withConfig({componentId:"sc-1ap5hku-2"})(["padding:",";",""],(0,T.rem)(24),({isVideoBuffering:e})=>e&&(0,b.css)(["opacity:0.15;pointer-events:none;"]));function oq(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function oG(e){for(var t=1;t{o&&r(oG(oG({},n),{},{endTime:o.duration}))},[o]),(0,j.jsx)(oY,{children:!a&&o?(0,j.jsx)(oV,oG(oG({},e),{},{coverClip:{clipId:String((0,D.qx)(o.uri)),configUrl:o.configUrl,duration:o.duration},onVideoLoad:()=>i(!0)})):(0,j.jsx)(od,{})})}let oY=b.default.div.withConfig({componentId:"sc-1pce93y-0"})(["position:relative;height:100%;overflow:auto;"]);function oX(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function oQ({onSubmit:e,onDismiss:t}){let{0:r,1:n}=(0,l.useState)(0),{0:i,1:o}=(0,l.useState)(!1),{0:a,1:s}=(0,l.useState)(),{0:c,1:u}=(0,l.useState)(!0),{0:g,1:p}=(0,l.useState)(50),{0:m,1:f}=(0,l.useState)(!1),{0:b,1:y}=(0,l.useState)({startTime:0,endTime:0}),x=(0,l.useContext)(h.Z),v=`users/${x.user?.id}/videos`,w=(0,l.useCallback)(()=>u(!1),[]),C=t=>{let i=r+t;2===i&&a?(f(!0),e(function(e){for(var t=1;ts(e[0]),onNoInitialClips:w}):(0,j.jsx)(oW,{clipUri:String(a?.uri),yPosition:g,setYPosition:p,timeBounds:b,setTimeBounds:y,onLoad:e=>o(!e)}),(0,j.jsxs)(o2,{children:[(0,j.jsx)(o3,{children:(0,ti.Iu)({singular:"{STEP} of {STEPS}",replacements:{STEP:r+1,STEPS:2},dictionary:{es:{singular:"{STEP} de {STEPS}"},"de-DE":{singular:"{STEP} von {STEPS}"},"fr-FR":{singular:"{STEP} sur {STEPS}"},"ja-JP":{singular:"{STEPS} の {STEP}"},"ko-KR":{singular:"{STEP}/{STEPS}"},"pt-BR":{singular:"{STEP} de {STEPS}"},"zh-CN":{singular:"{STEP} / {STEPS}"}}})}),(0,j.jsxs)(o5,{children:[(0,j.jsx)(o4,{format:"secondary",onClick:()=>C(-1),disabled:0===r||m,children:Y.Z.Back}),(0,j.jsx)(o4,{format:"primary",onClick:()=>{i||m||C(1)},disabled:m||i||!a,loading:m,children:0===r?Y.Z.Next:Y.Z.Done})]})]})]}):(0,j.jsx)(ol,{})]})}let o0=(0,b.default)(tJ.h).withConfig({componentId:"sc-1eiwu0o-0"})(["padding:"," "," 0 ",";color:",";letter-spacing:0.2;"],(0,T.rem)(24),(0,T.rem)(40),(0,T.rem)(25),(0,z.ae)(800)),o1=b.default.section.withConfig({componentId:"sc-1eiwu0o-1"})(["border-radius:",";background:",";width:90vw;height:85vh;max-width:",";max-height:",";overflow:hidden;position:relative;display:flex;flex-direction:column;"],(0,T.rem)(4),({theme:e})=>e.content.background,(0,T.rem)(662),(0,T.rem)(752)),o2=b.default.footer.withConfig({componentId:"sc-1eiwu0o-2"})(["display:flex;box-shadow:0 "," "," 0 ",";justify-content:space-between;align-items:center;"],(0,T.rem)(-4),(0,T.rem)(8),(0,T.rgba)(z.Sn,.08)),o3=(0,b.default)(L.n).attrs({size:"2"}).withConfig({componentId:"sc-1eiwu0o-3"})(["margin:0 0 0 ",";"],(0,T.rem)(25)),o5=b.default.aside.withConfig({componentId:"sc-1eiwu0o-4"})(["margin:",";display:flex;"],(0,T.rem)(20)),o4=(0,b.default)(A.z).withConfig({componentId:"sc-1eiwu0o-5"})(["width:",";"," &:disabled{pointer-events:none;opacity:0.6;}&:first-child{margin-right:",";}"],(0,T.rem)(100),V.B.xsm` width: ${(0,T.rem)(120)}; `,(0,T.rem)(10));function o8({coverVideo:e,setCoverVideo:t}){let{0:r,1:n}=(0,l.useState)(!1),i=(0,l.useContext)(t5.eO);(0,r9.Z)(r?e=>(0,D.i2)(e,()=>n(!1)):void 0,[r]);let[{put:o,destroy:a},{loading:s,error:c,data:u}]=(0,ig.D)("/me/background_video");return(0,l.useEffect)(()=>{!s&&u&&n(s)},[u,s]),(0,l.useEffect)(()=>{u&&t(u)},[t,u]),(0,l.useEffect)(()=>{!u||s||c||i()},[u,s,c,i]),(0,j.jsxs)(j.Fragment,{children:[e?(0,j.jsxs)(j.Fragment,{children:[!s&&(0,j.jsx)(im,{onRemove:()=>{a(),t(null)},onReplace:()=>n(!0)}),(0,j.jsx)(np,{clipUrl:""+e.clipId,configUrl:e.configUrl,end:e.endTime,start:e.startTime,poster:e.firstFrameURL,yPosition:e.yPosition})]}):(0,j.jsx)(iv,{subTitle:Y.Z.AddCoverVideo,onClick:()=>n(!0)}),(0,j.jsx)(em,{onOpen:()=>n(!1),active:r,content:(0,j.jsx)(oQ,{onSubmit:e=>{o({variables:(0,I.hk)(e)})},onDismiss:()=>n(!1)})})]})}function o6({profile:e}){let{editMode:t}=(0,l.useContext)(O.Z),{0:r,1:n}=(0,l.useState)(e.backgroundVideo?.[0]||null);return(0,j.jsx)(j.Fragment,{children:(t||!!r)&&(0,j.jsx)(o9,{children:t&&!ip?(0,j.jsx)(o8,{coverVideo:r,setCoverVideo:n}):r&&(0,j.jsx)(np,{clipUrl:r.clipId,configUrl:r.configUrl,end:r.endTime,start:r.startTime,poster:r.firstFrameURL,yPosition:r.yPosition})})})}let o9=b.default.section.withConfig({componentId:"slqmfr-0"})(["border-top:"," solid ",";display:flex;width:100%;height:100%;justify-content:center;align-items:center;background-color:",";transition:all 200ms linear;"],(0,T.rem)(1),(0,z.se)(200),(0,z.se)(50)),o7=l.forwardRef(({value:e,size:t="md",placeholder:r,onSubmit:n,errorMsg:i,disabled:o=!1,onChange:a},s)=>{let{0:c,1:u}=(0,l.useState)(""),d=(0,l.useRef)(null);return(0,l.useEffect)(()=>{let e=e=>{e.preventDefault(),u("")},t=d.current;return t?.addEventListener("mousedown",e),()=>t?.removeEventListener("mousedown",e)},[d,c,e,o]),(0,l.useEffect)(()=>{u(e)},[e]),(0,j.jsxs)(ae,{children:[(0,j.jsx)(at,{value:c||"",onChange:e=>{o||(u(e.target.value),a?.(e))},size:t,placeholder:r,onKeyDown:t=>{o||(t.keyCode===P.mW.ENTER?n(c):t.keyCode===P.mW.ESC&&n(e))},onBlur:()=>{o||n(c)},status:i?"negative":"neutral",ref:s,disabled:o,autoFocus:!0}),!!c&&!o&&(0,j.jsx)(an,{children:(0,j.jsx)(ai,{icon:(0,j.jsx)(B.n,{}),format:"soft",variant:"hyperminimal",ref:d,size:"xs"})})]})}),ae=b.default.div.withConfig({componentId:"sc-1rg9hl-0"})(["position:relative;"]),at=(0,b.default)(i5.I).withConfig({componentId:"sc-1rg9hl-1"})(["input{padding-right:",";&::-ms-clear{display:none;}&:disabled{pointer-events:none;background-color:",";}}"],(0,T.rem)(36),(0,T.rgba)(z.Sn,.05)),ar=(0,b.keyframes)(["0%{opacity:0}100%{opacity:1}"]),an=b.default.div.withConfig({componentId:"sc-1rg9hl-2"})(["position:absolute;top:0;right:0;height:100%;display:flex;animation:0.3s "," ease-out 1;"],ar),ai=(0,b.default)(A.z).withConfig({componentId:"sc-1rg9hl-3"})(["&:hover{background-color:transparent;}"]);function ao(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function aa(e){for(var t=1;tt&&t(),editMode:r,children:(0,j.jsxs)(ap,{children:[(0,j.jsx)(ad,{id:"email-envelope"}),(0,j.jsx)(ah,aa(aa({editMode:r},n),{},{children:e}))]})}):null}function al({email:e,errorMsg:t,disable:r,onSubmit:n,onChange:i}){return(0,j.jsxs)(j.Fragment,{children:[(0,j.jsxs)(am,{children:[(0,j.jsx)(ad,{}),(0,j.jsx)(ab,{children:(0,j.jsx)(o7,{value:e,errorMsg:t,onSubmit:n,onChange:i,disabled:r})})]}),t&&(0,j.jsx)(ay,{children:t})]})}function ac({email:e=""}){let{0:t,1:r}=(0,l.useState)(!1),{0:n,1:i}=(0,l.useState)(""),{0:o,1:a}=(0,l.useState)(!1),{0:s,1:c}=(0,l.useState)(),{updateEmail:u}=t6(),d=(0,l.useCallback)(t=>{if(!o){let o=t.trim();n!==o?(i(o),o===e?(c(void 0),r(!1)):(0,D.oH)(o)||!o?(c(void 0),a(!0),u(o,!!(e&&o)).then(()=>{a(!1),r(!1)}).catch(e=>{a(!1),c(e)})):c(Y.Z.InvalidEmailAddress)):r(!!s)}},[e,s,o,u,n]);return(0,l.useEffect)(()=>{i(e)},[e]),(0,j.jsx)(aj,{tabIndex:0,onKeyDown:n=>{(0,D.$o)(n,()=>{t||r(!0)}),n.keyCode===P.mW.ESC&&(n.preventDefault(),r(!1),c(void 0),i(e))},children:t?(0,j.jsx)(al,{email:n,errorMsg:s,onSubmit:d,disable:o,onChange:()=>{s&&c(void 0)}}):n?(0,j.jsxs)(j.Fragment,{children:[(0,j.jsx)(as,{email:n,onClick:()=>r(!0),editMode:!0}),(0,j.jsx)(ey,{onClick:()=>r(!0)})]}):(0,j.jsx)(af,{children:(0,j.jsx)(en,{buttonText:Y.Z.AddEmail,onClick:()=>r(!0)})})})}function au({editMode:e,emails:t}){return e?(0,j.jsx)(ac,{email:t[0]}):(0,j.jsx)(as,{email:t[0]})}let ad=(0,b.default)(F.w).withConfig({componentId:"sc-1xnnfsy-0"})(["height:",";flex:0 0 ",";vertical-align:middle;margin-left:",";"],(0,T.rem)(24),(0,T.rem)(24),(0,T.rem)(-3)),ag=b.default.article.withConfig({componentId:"sc-1xnnfsy-1"})(["display:inline-block;padding:"," 0 "," ",";padding-right:",";border:"," solid transparent;"," ",""],(0,T.rem)(10),(0,T.rem)(10),(0,T.rem)(10),(0,T.rem)(5),(0,T.rem)(1),V.B.md` display: block; `,({editMode:e})=>e&&ec),ap=b.default.article.withConfig({componentId:"sc-1xnnfsy-2"})(["display:flex;align-items:center;"]),am=b.default.article.withConfig({componentId:"sc-1xnnfsy-3"})(["display:flex;align-items:center;padding:"," 0 "," ",";box-sizing:border-box;height:",";border:"," solid transparent;height:",";"],(0,T.rem)(10),(0,T.rem)(10),(0,T.rem)(10),(0,T.rem)(42),(0,T.rem)(1),(0,T.rem)(46)),af=b.default.div.withConfig({componentId:"sc-1xnnfsy-4"})(["height:",";display:flex;align-items:center;"],(0,T.rem)(46)),ah=b.default.a.withConfig({componentId:"sc-1xnnfsy-5"})(["margin-left:",";text-overflow:ellipsis;white-space:nowrap;overflow:hidden;text-decoration:none;color:inherit;vertical-align:middle;display:inline;font-size:",";",""],(0,T.rem)(22),(0,T.rem)(14),({editMode:e})=>!e&&(0,b.css)([""," "," vertical-align:text-bottom;"],V.B.xs` margin-left: ${(0,T.rem)(8)}; `,V.B.md` margin-left: ${(0,T.rem)(22)}; `)),ab=b.default.article.withConfig({componentId:"sc-1xnnfsy-6"})(["margin-top:-",";margin-left:",";width:100%;position:relative;&:hover{outline:none;}input{font-size:",";font-family:inherit;padding-left:",";}"],(0,T.rem)(1),(0,T.rem)(8),(0,T.rem)(14),(0,T.rem)(13)),ay=(0,b.default)(L.n).attrs({size:"3",status:"negative"}).withConfig({componentId:"sc-1xnnfsy-7"})(["margin-left:",";display:block;"],(0,T.rem)(41.5)),aj=b.default.div.withConfig({componentId:"sc-1xnnfsy-8"})(["display:none;margin-top:",";&:hover{outline:none;}",";",""],(0,T.rem)(10),V.B.sm` display: block; `,V.B.md` margin-top: ${(0,T.rem)(1)}; `);function ax(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function av(e){for(var t=1;t{if(e){let n=av(av({},P.wg),{},{filterCategory:e,page:t+1}),i=(0,S.Ie)((0,I.hk)(n));return`users/${r}/videos${i}`}return null},n,{revalidateOnMount:t})}var aC=r(817361),aO=r.n(aC);function ak(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function aE(e){for(var t=1;t{let e=aS()(()=>{if(n.current){let{top:e,bottom:i}=n.current.getBoundingClientRect(),o=window.innerHeight||document.documentElement.clientHeight,a=o-e>P.hq&&o-i>P.hq;a!==t&&r(a)}},50);return window&&window.addEventListener("scroll",e),()=>{window&&window.removeEventListener("scroll",e)}},[i,o,n,t]),(0,j.jsx)(aD,{show:t,ref:n,children:(0,j.jsx)(A.z,{icon:(0,j.jsx)(aR.T,{}),iconPosition:"right",size:"sm",onClick:e,pill:!0,floating:!0,children:Y.Z.LoadMore})})}let aD=b.default.section.withConfig({componentId:"sc-1xxputa-0"})(["position:relative;display:flex;justify-content:center;align-items:center;top:",";transition:opacity 250ms ease-in-out;opacity:0;&:hover{opacity:1;}",""],(0,T.rem)(12.5),({show:e})=>e&&(0,b.css)(["opacity:1;"]));function aT(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function az(e){for(var t=1;t(0,j.jsx)("svg",az(az({viewBox:"0 0 14 22",ref:t},e),{},{children:(0,j.jsxs)("g",{transform:"translate(1 1)",fill:z.ix,stroke:(0,z.ae)(800),fillRule:"evenodd",strokeOpacity:"0.3",children:[(0,j.jsx)("circle",{cx:"10",cy:"2",r:"2.5"}),(0,j.jsx)("circle",{cx:"10",cy:"10",r:"2.5"}),(0,j.jsx)("circle",{cx:"10",cy:"18",r:"2.5"}),(0,j.jsx)("circle",{cx:"2",cy:"2",r:"2.5"}),(0,j.jsx)("circle",{cx:"2",cy:"18",r:"2.5"}),(0,j.jsx)("circle",{cx:"2",cy:"10",r:"2.5"})]})})));function aN({title:e,buttonText:t,loading:r=!1,onSubmit:n,onDismiss:i}){return(0,j.jsxs)(aB,{children:[(0,j.jsx)(aF,{size:"4",children:e}),(0,j.jsx)(oi.Z,{onClick:i}),(0,j.jsx)(aM,{children:(0,j.jsxs)(aL,{children:[(0,j.jsx)(a$,{format:"secondary",onClick:i,children:Y.Z.Cancel}),(0,j.jsx)(a$,{status:"negative",disabled:r,loading:r,onClick:()=>{n()},children:t})]})})]})}let aF=(0,b.default)(tJ.h).attrs({format:"soft"}).withConfig({componentId:"sc-3ci5ve-0"})(["padding:"," 0 "," ",";letter-spacing:0.2;"],(0,T.rem)(36),(0,T.rem)(4),(0,T.rem)(36)),aB=b.default.section.withConfig({componentId:"sc-3ci5ve-1"})(["border-radius:",";background:",";position:relative;display:flex;flex-direction:column;"],(0,T.rem)(4),({theme:e})=>e.content.background),aM=b.default.footer.withConfig({componentId:"sc-3ci5ve-2"})(["display:flex;justify-content:flex-end;align-items:center;"]),aL=b.default.aside.withConfig({componentId:"sc-3ci5ve-3"})(["margin:",";display:flex;"],(0,T.rem)(20)),a$=(0,b.default)(A.z).withConfig({componentId:"sc-3ci5ve-4"})(["min-width:",";&:first-child{margin-right:",";}"],(0,T.rem)(93),(0,T.rem)(10));function aK(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function aZ(e){for(var t=1;te&&(0,b.css)(["background-color:",";"],(0,z.ae)(50))),aQ=(0,b.default)(es.x).attrs({format:"soft"}).withConfig({componentId:"sc-1mm1fag-1"})(["display:inline-block;"]);function a0({loading:e,fetchNext:t,commentsList:r,selectedComment:n,onSelectionChange:i}){let o=(0,l.useRef)(null),a=(0,l.useMemo)(()=>(0,D.qx)(n?.uri),[n]);return(0,j.jsxs)(a1,{ref:o,onScroll:()=>iO(o,t,0),children:[!e&&(0,j.jsx)(aY,{isSelected:!n,onClick:()=>i(),children:Y.Z.None},"none-comment-item"),(r||[]).map(e=>{let{uri:t,text:r,user:{pictures:{sizes:n},name:o,badge:s}}=e;return(0,j.jsx)(aY,{isSelected:a===(0,D.qx)(t),onClick:()=>i(e),children:(0,j.jsxs)(j.Fragment,{children:[r,(0,j.jsx)(a2,{children:(0,j.jsx)(aJ,{name:o,badge:s,src:n[0].link,srcSet:`${n[0].link} 2x`})})]})},t)}),e&&(0,j.jsxs)(j.Fragment,{children:[[...[,,,,].keys()].map(e=>(0,j.jsx)(a3,{children:(0,j.jsx)(a4,{})},e)),(0,j.jsx)(a8,{})]})]})}let a1=b.default.ul.withConfig({componentId:"sc-19avuun-0"})(["padding:0 "," 0;max-height:",";overflow-y:auto;"],(0,T.rem)(36),(0,T.rem)(500)),a2=b.default.div.withConfig({componentId:"sc-19avuun-1"})(["margin-top:",";"],(0,T.rem)(10)),a3=b.default.div.withConfig({componentId:"sc-19avuun-2"})(["margin-bottom:",";"],(0,T.rem)(8)),a5=(0,b.keyframes)(["0%{opacity:0.5}50%{opacity:1}100%{opacity:0.5}"]),a4=b.default.div.withConfig({componentId:"sc-19avuun-3"})(["height:",";width:100%;border-radius:",";background:linear-gradient(270deg,"," 0%,"," 100%);animation:"," 2s ease-in-out 0s infinite reverse;"],(0,T.rem)(100),(0,T.rem)(7),P.DM.SNOW,P.DM.CYAN_WHITE,a5),a8=(0,b.default)(a4).withConfig({componentId:"sc-19avuun-4"})(["height:",";"],(0,T.rem)(66));function a6(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function a9(e){let{onDismiss:t,isShowing:r}=e;return(0,r9.Z)(r?e=>(0,D.i2)(e,t):void 0,[r,t]),(0,j.jsx)(M.u,{onOpen:t,active:r,content:(0,j.jsx)(a7,function(e){for(var t=1;t{let r=aZ(aZ({},P.m),{},{page:t+1}),n=(0,S.Ie)((0,I.hk)(r));return`videos/${e}/comments${n}`},t)}(n),b=!p&&!m,y=(0,l.useMemo)(()=>(0,D.L)(p)||[],[p]),x=(0,l.useMemo)(()=>y.length>0&&(0,D._x)(p),[y,p]);(0,l.useEffect)(()=>{s(i)},[i]),(0,l.useEffect)(()=>{u(!!o||!!m)},[o,m]);let v=e||!i&&!a||(0,D.qx)(a?.uri)===(0,D.qx)(i?.uri);return(0,j.jsxs)(se,{hasResponseLoaded:!b,children:[(0,j.jsx)(sn,{onClick:t}),(0,j.jsx)(sr,{size:"4",children:Y.Z.SelectComment}),c&&(0,j.jsx)(st,{children:(0,j.jsx)(N.q,{format:"negative",onClose:()=>u(!1),children:(0,j.jsx)(es.x,{format:"soft",children:Y.Z.ErrorMsg})})}),(0,j.jsx)(a0,{commentsList:y,fetchNext:()=>{x&&!b&&!d&&h&&(g(!0),h(f?f+1:0).then(()=>g(!1)))},loading:b||d,selectedComment:a,onSelectionChange:s}),(0,j.jsxs)(si,{children:[(0,j.jsx)(so,{format:"secondary",onClick:t,disabled:e,children:Y.Z.Cancel}),(0,j.jsx)(sa,{format:"primary",onClick:()=>r(a),disabled:v,loading:e,children:Y.Z.Select})]})]})}let se=b.default.div.withConfig({componentId:"sc-12egsdx-0"})(["background:",";position:relative;border-radius:",";width:90vw;height:90vh;max-height:",";max-width:",";"," ",""],({theme:e})=>e.content.background,(0,T.rem)(3),(0,T.rem)(650),(0,T.rem)(660),({hasResponseLoaded:e})=>e&&(0,b.css)(["height:auto;"]),V.B.sm` width: 74vw; `),st=b.default.div.withConfig({componentId:"sc-12egsdx-1"})(["margin:"," "," ",";"],(0,T.rem)(10),(0,T.rem)(36),(0,T.rem)(8)),sr=(0,b.default)(tJ.h).withConfig({componentId:"sc-12egsdx-2"})(["font-weight:bold;padding:"," 0 "," ",";"],(0,T.rem)(36),(0,T.rem)(20),(0,T.rem)(36)),sn=(0,b.default)(oi.Z).withConfig({componentId:"sc-12egsdx-3"})(["top:",";right:",";"],(0,T.rem)(12),(0,T.rem)(12)),si=b.default.footer.withConfig({componentId:"sc-12egsdx-4"})(["display:flex;justify-content:flex-end;box-shadow:0 "," "," 0 ",";padding:",";"],(0,T.rem)(2),(0,T.rem)(12),(0,T.rgba)(z.Sn,.2),(0,T.rem)(16)),so=(0,b.default)(A.z).withConfig({componentId:"sc-12egsdx-5"})(["width:",";"],(0,T.rem)(92)),sa=(0,b.default)(so).withConfig({componentId:"sc-12egsdx-6"})(["margin-left:",";"],(0,T.rem)(8)),ss=["badgeType"];function sl(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function sc(e){for(var t=1;t{let e=null;return/^staffpick/.test(t)?(t===P.zJ.BEST_OF_THE_MONTH?e={icon:"https://f.vimeocdn.com/p/images/badges/13x.svg",alt:"Vimeo Staff Pick: Best of the Month Badge"}:t===P.zJ.PREMIERE?e={icon:"https://f.vimeocdn.com/p/images/badges/15x.svg",alt:"Vimeo Staff Pick: Premiere Badge"}:t===P.zJ.BEST_OF_THE_YEAR&&(e={icon:"https://f.vimeocdn.com/p/images/badges/14x.svg",alt:"Vimeo Staff Pick: Best of the Year Badge"}),{normal:!0,iconData:e}):{normal:!1,iconData:e}},[t]);return n.normal?(0,j.jsx)(sd,sc(sc({},r),{},{children:n.iconData?(0,j.jsx)("img",{src:n.iconData.icon,width:"118",height:"159",alt:n.iconData.alt}):(0,j.jsx)(sg,{src:"https://f.vimeocdn.com/p/images/badges/1.svg",alt:"Vimeo Staff Pick Badge"})})):null}let sd=b.default.article.withConfig({componentId:"sc-1vaqrnq-0"})(["position:absolute;transition:all 230ms ease-in-out;top:0;left:0;"]),sg=b.default.img.withConfig({componentId:"sc-1vaqrnq-1"})(["margin:"," "," 0 ",";width:",";height:",";"],(0,T.rem)(10),(0,T.rem)(10),(0,T.rem)(10),(0,T.rem)(100),(0,T.rem)(100));function sp({profile:e}){let t=(0,l.useRef)(null),{recaptchaSiteKey:r,xsrft:n,user:i}=(0,l.useContext)(h.Z),{name:o,uri:a,link:s,membership:c,pictures:u}=e,d=(0,D.qx)(a);return(0,j.jsx)(r7,{profile:{id:d,name:o,link:s,pictures:u,isStaff:c?.badge?.type===U.gZ.Staff},viewerId:i?.id,xsrft:n,recaptchaSiteKey:r,showImmediate:!0,children:r=>(0,j.jsx)(ie,{userId:d,childRef:t,triggerMessage:r,cardUser:e,zIndex:2,children:(0,j.jsxs)(sm,{ref:t,href:s,target:"_blank",children:[(0,j.jsx)(sf,{alt:o,src:u.sizes[0].link,srcSet:u.sizes[1].link,size:"sm"}),(0,j.jsx)(sh,{children:o})]})})})}let sm=b.default.a.withConfig({componentId:"sc-10j3uix-0"})(["margin-top:",";display:flex;text-decoration:none;cursor:pointer;"],(0,T.rem)(5)),sf=(0,b.default)(rU.q).withConfig({componentId:"sc-10j3uix-1"})(["width:",";height:",";"],(0,T.rem)(24),(0,T.rem)(24)),sh=(0,b.default)(es.x).withConfig({componentId:"sc-10j3uix-2"})(["margin-left:",";margin-top:",";display:inline-block;font-size:",";line-height:",";color:",";&:hover{color:",";}"],(0,T.rem)(6),(0,T.rem)(2),(0,T.rem)(14),(0,T.rem)(20),(0,z.ae)(500),(0,z.ae)(800));var sb=r(181537);let sy=b.default.button.withConfig({componentId:"sc-11dd8e3-0"})(["height:",";width:",";border:none;border-radius:",";background-color:",";box-shadow:0 "," "," 0 ",";position:relative;cursor:pointer;outline:none;svg path{transition:all 230ms ease-in-out;fill:",";opacity:0.4;}&:hover,&:focus{svg path{opacity:1;}}",""],(0,T.rem)(32),(0,T.rem)(64),(0,T.rem)(16),z.ix,(0,T.rem)(2),(0,T.rem)(4),(0,T.rgba)(z.Sn,.2),(0,z.ae)(800),({disable:e})=>e&&(0,b.css)(["pointer-events:none;"]));function sj(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function sx(e){for(var t=1;te&&(0,b.css)(["transform:rotateY(-180deg);"])),s_=b.default.span.withConfig({componentId:"sc-1lb1db1-1"})([""," left:",";",";"],sS,(0,T.rem)(6),({expanded:e})=>e&&(0,b.css)(["transform:rotateY(180deg);"])),sD=(0,b.default)(y.I).withConfig({componentId:"sc-1lb1db1-2"})(["position:absolute;top:",";left:",";opacity:0.4;"],(0,T.rem)(4),(0,T.rem)(20));var sT=r(569077);let sz=["tooltipText","loading"];function sA(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function sN(e){for(var t=1;te&&(0,b.css)(["display:flex;justify-content:center;align-items:center;"])),sM=(0,b.default)(sT.J).withConfig({componentId:"sc-1wpvrti-1"})(["width:",";height:",";"],(0,T.rem)(20),(0,T.rem)(20)),sL=(0,b.default)(y.I).withConfig({componentId:"sc-1wpvrti-2"})(["opacity:0.4;"]);function s$(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function sK(e){for(var t=1;tP.Qg,{0:c,1:u}=(0,l.useState)(!1),d=q()(e?.text,{length:P.Qg}),{recaptchaSiteKey:g,xsrft:p,user:m}=(0,l.useContext)(h.Z),f=s?{as:"a",href:e?.link,isLink:s,target:"_blank"}:{as:"div"};return(0,j.jsx)(j.Fragment,{children:o&&(0,j.jsx)(r7,{profile:{id:(0,D.qx)(o.uri),isStaff:o.membership?.badge.type===U.gZ.Staff,link:o.link,pictures:o.pictures,name:o.name},viewerId:m?.id,xsrft:p,recaptchaSiteKey:g,showImmediate:!0,children:e=>(0,j.jsxs)(sJ,{hideBorder:t,children:[(0,j.jsx)(sq,sK(sK({},f),{},{children:(0,j.jsx)(J.Z,{text:d})})),(0,j.jsx)(sH,{children:(0,j.jsx)(ie,{userId:(0,D.qx)(o.uri),childRef:a,triggerMessage:()=>e(),zIndex:3,cardUser:{availableForHire:o.availableForHire,link:o.link,membership:o.membership,name:o.name,pictures:o.pictures,uri:o.uri,backgroundVideo:o.backgroundVideo,bio:o.bio,skills:o.skills,location:o.locationDetails?.formattedAddress},children:(0,j.jsx)("div",{ref:a,children:(0,j.jsx)(aJ,{name:o.name,src:o.pictures.sizes[0].link,srcSet:`${o.pictures.sizes[1].link} 2x`,href:o.link,badge:o.membership?.badge})})})}),r&&(0,j.jsxs)(sV,{className:"comment-cta-button",isFocused:c,children:[i&&(0,j.jsx)(sU,{children:(0,j.jsx)(sv,{onFocus:()=>u(!0),onBlur:()=>u(!1),onKeyDown:e=>(0,D.$o)(e,i),onClick:i,tooltipText:Y.Z.UpdateComment})}),n&&(0,j.jsx)(sU,{children:(0,j.jsx)(sF,{onFocus:()=>u(!0),onBlur:()=>u(!1),onKeyDown:e=>(0,D.$o)(e,n),onClick:()=>n(),tooltipText:Y.Z.RemoveComment})})]})]})})})}let sV=b.default.div.withConfig({componentId:"sc-1l7vvbi-0"})(["margin-top:",";opacity:0;transition:visibility 0s,opacity 0.5s linear;position:absolute;",""],(0,T.rem)(10),({isFocused:e})=>e&&(0,b.css)(["opacity:1;"])),sU=b.default.div.withConfig({componentId:"sc-1l7vvbi-1"})(["margin-right:",";display:inline-block;"],(0,T.rem)(8)),sJ=b.default.div.withConfig({componentId:"sc-1l7vvbi-2"})(["z-index:2;flex:0;"," "," "," &:hover .comment-cta-button{opacity:1;}"],V.B.sm` padding: ${(0,T.rem)(P.aK.SM_TOP)} ${(0,T.rem)(P.aK.SM_RIGHT)}; border-top: ${(0,T.rem)(1)} solid ${(0,T.rgba)((0,z.ae)(100),.8)}; ${({hideBorder:e})=>e&&(0,b.css)(["border-top:none;padding-left:0;"])}; `,V.B.md` padding: ${(0,T.rem)(P.aK.MD_TOP)} ${(0,T.rem)(P.aK.MD_RIGHT)} ${(0,T.rem)(P.aK.MD_BOTTOM)}; ${({hideBorder:e})=>e&&(0,b.css)(["padding-left:",";"],(0,T.rem)(3))} `,V.B.xhd` padding: ${(0,T.rem)(P.aK.XHD_TOP)} ${(0,T.rem)(P.aK.XHD_RIGHT)} ${(0,T.rem)(P.aK.XHD_BOTTOM)}; ${({hideBorder:e})=>e&&(0,b.css)(["padding-left:0;"])} `),sH=b.default.div.withConfig({componentId:"sc-1l7vvbi-3"})(["margin-top:",";display:flex;"," "," ",""],(0,T.rem)(P._C.DEFAULT),V.B.sm` margin-top: ${(0,T.rem)(P._C.SM)}; `,V.B.md` margin-top: ${(0,T.rem)(P._C.MD)}; `,V.B.hd` margin-top: ${(0,T.rem)(P._C.HD)}; `),sq=b.default.a.withConfig({componentId:"sc-1l7vvbi-4"})(["color:",";font-weight:300;line-height:",";font-size:",";text-decoration:none;"," ",""],(0,z.ae)(800),(0,T.rem)(24),(0,T.rem)(16),V.B.lg` font-size: ${(0,T.rem)(18)}; line-height: ${(0,T.rem)(26)}; `,({isLink:e})=>e&&(0,b.css)(["&:hover{text-decoration:underline;color:",";}"],(0,z.iN)(500)));function sG({clip:e,thumbnailLink:t,parentRef:r,onClick:n,shouldPlayOnHover:i,thumbnailSrcSet:o,children:a}){let s=(0,l.useRef)(null),{mouseIn:c,playerInitialized:u,buffering:d,player:g}=function(e,t,r,n){let{0:i,1:o}=(0,l.useState)(!1),{0:a,1:s}=(0,l.useState)(!1),{0:c,1:u}=(0,l.useState)(!1),d=(0,l.useMemo)(()=>rq(r),[r]),{player:g}=(0,ng.Z)(t,(0,D.qx)(r.uri),i,n?r.configUrl:"",n,"540p",0);return(0,l.useEffect)(()=>{s(!1),o(!1)},[r]),(0,l.useEffect)(()=>{let e=()=>u(!0),t=()=>u(!0);if(n&&g){g.on("timeupdate",e),g.on("waiting",t);let r=g.videoElement;r&&(r.poster=d[d.length-1])}return()=>{n&&g&&(g.off("timeupdate",e),g.off("waiting",t))}},[r,d,g,n]),(0,l.useEffect)(()=>{let e=t.current?.querySelector("video");n&&g&&e&&(i?g.play().then(()=>s(!0)):g.play().then(()=>g.pause()))},[i,g,t,n]),(0,l.useEffect)(()=>{let t=()=>o(!0),r=()=>o(!1),n=e.current;return n&&(n.addEventListener("mouseenter",t),n.addEventListener("mouseleave",r)),()=>{n&&(n.removeEventListener("mouseenter",t),n.removeEventListener("mouseleave",r))}},[e,r]),{mouseIn:i,playerInitialized:a,buffering:c,player:g}}(r,s,e,i),p=c&&u;return(0,j.jsxs)(sW,{onClick:()=>n(g?g.currentTime:void 0),children:[i&&c&&(!u||d)?(0,j.jsx)(sQ,{children:(0,j.jsx)(y.I,{size:"lg",format:"basic",theme:ow.themes.dark})}):null,(0,j.jsx)(sY,{src:t,srcSet:o,alt:e.name,hide:p}),(0,j.jsx)(sX,{ref:s,show:p,className:"player"}),a?a(c,u,d):null]})}let sW=b.default.section.withConfig({componentId:"sc-1nghd6u-0"})(["width:100%;height:100%;"]),sY=b.default.img.withConfig({componentId:"sc-1nghd6u-1"})(["display:block;width:100%;height:100%;object-fit:contain;background-color:",";",""],z.Sn,({hide:e})=>e&&(0,b.css)(["display:none;"])),sX=b.default.article.withConfig({componentId:"sc-1nghd6u-2"})(["opacity:0;display:none;width:100%;height:100%;background-color:",";",""],z.Sn,({show:e})=>e&&(0,b.css)(["opacity:1;display:block;"])),sQ=b.default.article.withConfig({componentId:"sc-1nghd6u-3"})(["position:absolute;top:0;left:0;width:100%;height:100%;display:flex;align-items:center;justify-content:center;"]);function s0({video:e,viewType:t,className:r,style:n,setExpanded:i,removeVideo:o,openPlayer:a,hasComments:s,newlyAdded:c,loading:u,addOrUpdateFeaturedComment:d,isOFCOM:g}){let{0:p,1:m}=(0,l.useState)(!1),f=(0,l.useRef)(null),h="2"===e.columnWidth,{0:b,1:y}=(0,l.useState)(!1),{0:x,1:v}=(0,l.useState)(!1),{0:w,1:C}=(0,l.useState)(!1),{0:k,1:E}=(0,l.useState)(),{0:I,1:S}=(0,l.useState)(!1),{editMode:R,userId:_}=(0,l.useContext)(O.Z),T=(0,l.useMemo)(()=>(0,D.qx)(e.clip.uri),[e.clip.uri]),z=g&&!e.clip.contentRating?.includes("safe");(0,r9.Z)(p?e=>(0,D.i2)(e,()=>m(!1)):void 0,[p]);let A=(0,l.useMemo)(()=>e.showFeaturedComment?e.featuredComment?.text:"",[e.featuredComment?.text,e.showFeaturedComment]),N=(0,l.useMemo)(()=>{if(t===P.bW.GRID)return rq(e.clip);let{width:r,height:n}=e.clip;return rq(e.clip,n/r)},[e.clip,t]),F=(0,l.useMemo)(()=>N[0],[N]),B=(0,l.useMemo)(()=>N.length>1?N.slice(1).map((e,t)=>`${e} ${t+2}x`).join(", "):"",[N]),M=(0,l.useMemo)(()=>(0,D.qx)(e.clip.user.uri)===_,[_,e.clip.user.uri]),L=(0,l.useMemo)(()=>{let t=e.clip.live&&e.clip.live?.status!==P.zZ.DONE?e.clip.live?.recurringEvent?.link:e.clip.link;return R&&M&&!ip?`/manage/${T}/general`:t},[M,T,R,e]),$=e=>{y(!0),E(void 0),d?.(e).then(()=>{y(!1),v(!1)}).catch(e=>{E(e),y(!1)})},K=()=>{S(!0),w&&C(!1),i&&i(!h).then(()=>S(!1)).catch(()=>S(!1))},Z=(0,l.useMemo)(()=>e.clip.live?.status===P.zZ.STREAMING,[e.clip.live?.status]),V=(0,l.useCallback)(()=>{let t={badgeFormat:"live-archive",badgeValue:Y.Z.Upcoming};return e.clip.live&&e.clip.live.scheduledStartTime&&new Date(e.clip.live.scheduledStartTime){let t="live"===e.clip.type,r=e.clip.live?.status===P.zZ.DONE,n=e.clip.duration>0;return t&&(!r&&!n||Z)},[e.clip.type,e.clip.live,e.clip.duration,Z]),J=!!A,H=h||t===P.bW.MASONRY;return(0,l.useEffect)(()=>{u||m(!1)},[u]),(0,j.jsx)(j.Fragment,{children:(0,j.jsxs)(s2,{className:r,style:n,newlyAdded:c,children:[(0,j.jsxs)(la,{children:[(0,j.jsxs)(s3,{isGrid:t===P.bW.GRID,hasSingleColumnComment:H,aspectRatio:e.clip.height/e.clip.width,hasFeaturedComment:J,isExpanded:h,isLoading:I,children:[(0,j.jsx)(s5,{ref:f,children:(0,j.jsx)(sG,{parentRef:f,clip:e.clip,onClick:e=>{ip||z?window.location.href=L:a(e)},thumbnailLink:F,thumbnailSrcSet:B,shouldPlayOnHover:!U&&!ip&&!z,children:t=>(0,j.jsxs)(j.Fragment,{children:[!R||ip||u?null:(0,j.jsx)(lc,{className:"drag-handle",children:(0,j.jsx)(aA,{height:20,width:12})}),U?(0,j.jsx)(s9,{show:t||ip,children:(0,j.jsx)(eA.C,{format:V().badgeFormat,children:V().badgeValue})}):(0,j.jsx)(s6,{show:t||ip,children:(0,j.jsx)(lt,{children:eN(e.clip.duration)})}),(0,j.jsx)(lr,{show:t||ip,children:(0,j.jsx)(ln,{})})]})})}),e.clip.badge?.type!=null?"vod"===e.clip.badge.type?(0,j.jsx)(ld,{className:"badge-container",children:(0,j.jsx)(lg,{src:"https://i.vimeocdn.com/video_badge/vod_60x66",srcSet:"https://i.vimeocdn.com/video_badge/vod_300x328 2x",alt:`VOD - ${e.clip.name}`})}):(0,j.jsx)(su,{badgeType:e.clip.badge.type,className:"badge-container"}):null,R&&(0,j.jsxs)(j.Fragment,{children:[o&&(0,j.jsx)(lu,{onOpen:()=>m(!1),active:p,content:(0,j.jsx)(aN,{title:Y.Z.RemoveVideo,buttonText:Y.Z.Remove,loading:u,onSubmit:o,onDismiss:()=>m(!1)})}),!ip&&(0,j.jsxs)(s7,{className:"cta-button",isFocused:w,children:[i&&!u&&(0,j.jsx)(sP,{onFocus:()=>C(!0),onBlur:()=>C(!1),onKeyDown:e=>(0,D.$o)(e,K),loading:e.loading||I,expanded:h,onClick:K}),!u&&s&&!J&&(0,j.jsx)(le,{children:(0,j.jsx)(sv,{onFocus:()=>C(!0),onBlur:()=>C(!1),onKeyDown:e=>(0,D.$o)(e,()=>v(!0)),onClick:()=>v(!0),tooltipText:Y.Z.FeatureComment})}),o&&(0,j.jsx)(le,{children:(0,j.jsx)(sF,{onFocus:()=>C(!0),onBlur:()=>C(!1),onKeyDown:e=>(0,D.$o)(e,()=>m(!0)),onClick:()=>m(!0),tooltipText:Y.Z.Remove,loading:u})})]})]})]}),J&&!H&&!u&&(0,j.jsx)(li,{children:(0,j.jsx)(sZ,{comment:e.featuredComment,editMode:!!R,onRemove:$,onUpdate:()=>v(!0)})})]}),(0,j.jsxs)(ls,{hasFeaturedComment:J,hasSingleColumnComment:H,children:[(0,j.jsx)(ll,{href:L,children:(0,j.jsx)(s4,{size:"5",hasFeaturedComment:J,element:"span",children:e.clip.name})}),!M&&(0,j.jsx)(sp,{profile:e.clip.user}),J&&(0,j.jsx)(lo,{hasSingleColumnComment:H,children:(0,j.jsx)(sZ,{comment:e.featuredComment,hideBorder:H,editMode:!!R,onRemove:$,onUpdate:()=>v(!0)})})]}),(0,j.jsx)(a9,{videoId:T,isShowing:x,submitting:b,selectedFeaturedComment:e.featuredComment,onDismiss:()=>v(!1),onSubmit:$,error:k})]})})}let s1=(0,b.css)(["left:50%;top:50%;position:absolute;transform:translate3d(-50%,-50%,0);"]),s2=b.default.div.withConfig({componentId:"sc-1vxxt31-0"})(["position:relative;",""],({newlyAdded:e})=>e&&(0,b.css)(["&:before{content:'';background-color:",";width:100%;height:100%;display:inline-block;position:absolute;z-index:1;border-radius:",";}"],(0,T.rgba)((0,z.iN)(100),.5),(0,T.rem)(5))),s3=b.default.div.withConfig({componentId:"sc-1vxxt31-1"})(["position:relative;transition:width 0.5s ease-in;"," "," "," &:hover .cta-button{","}"," &:hover .badge-container{opacity:0;}"],({isGrid:e,aspectRatio:t})=>e?(0,b.css)(["padding-top:56.25%;"]):(0,b.css)(["padding-top:","%;"],100*t),V.B.sm` width: 100%; `,({hasFeaturedComment:e,hasSingleColumnComment:t})=>e&&!t&&V.B.sm` /* added for Grid view to keep 16:9 ratio calculated as per flex 3:2 ratio. */ width: 60%; padding-top: 33.75%; `,V.B.sm` opacity: 1; `,({isLoading:e})=>e&&(0,b.css)([".cta-button{opacity:1;}"])),s5=b.default.div.withConfig({componentId:"sc-1vxxt31-2"})(["border-radius:",";position:absolute;top:0;height:100%;width:100%;overflow:hidden;"],(0,T.rem)(8)),s4=(0,b.default)(tJ.h).withConfig({componentId:"sc-1vxxt31-3"})(["height:",";text-overflow:ellipsis;white-space:nowrap;overflow:hidden;color:",";letter-spacing:0;line-height:",";transition:color 230ms ease-in-out;margin-bottom:0;&:hover{color:",";}",""],(0,T.rem)(32),(0,z.ae)(800),(0,T.rem)(32),(0,z.iN)(500),({hasFeaturedComment:e})=>e&&(0,b.css)(["margin-left:",";"],(0,T.rem)(10))),s8=e=>(0,b.css)(["position:absolute;bottom:",";right:",";transition:all 230ms ease-in-out;opacity:",";"],(0,T.rem)(22),(0,T.rem)(12),e?1:0),s6=b.default.div.withConfig({componentId:"sc-1vxxt31-4"})(["height:",";width:",";color:",";background-color:",";",""],(0,T.rem)(22),(0,T.rem)(52),z.ix,(0,T.rgba)(z.Sn,.7),({show:e})=>s8(e)),s9=b.default.div.withConfig({componentId:"sc-1vxxt31-5"})(["",""],({show:e})=>s8(e)),s7=b.default.div.withConfig({componentId:"sc-1vxxt31-6"})(["z-index:10;position:absolute;top:",";left:",";opacity:0;transition:visibility 0s,opacity 0.5s linear;display:flex;",""],(0,T.rem)(12),(0,T.rem)(12),({isFocused:e})=>e&&(0,b.css)(["",""],V.B.sm` opacity: 1; `)),le=b.default.div.withConfig({componentId:"sc-1vxxt31-7"})(["margin-left:",";outline:none;"],(0,T.rem)(8)),lt=b.default.span.withConfig({componentId:"sc-1vxxt31-8"})([""," font-size:",";letter-spacing:",";line-height:",";"],s1,(0,T.rem)(12),(0,T.rem)(.17),(0,T.rem)(14)),lr=b.default.button.withConfig({componentId:"sc-1vxxt31-9"})(["cursor:pointer;position:absolute;bottom:",";left:",";height:",";width:",";border-radius:",";border:none;background-color:",";opacity:0;transition:opacity 230ms ease-in-out;&:hover{background-color:",";}&:focus{opacity:1;}",""],(0,T.rem)(12),(0,T.rem)(12),(0,T.rem)(40),(0,T.rem)(65),(0,T.rem)(5),(0,T.rgba)((0,z.se)(800),.75),(0,T.rgba)((0,z.iN)(500),.9),({show:e})=>e&&(0,b.css)(["opacity:1;"])),ln=b.default.span.withConfig({componentId:"sc-1vxxt31-10"})([""," width:0;height:0;border-top:"," solid transparent;border-bottom:"," solid transparent;border-left:"," solid ",";"],s1,(0,T.rem)(9),(0,T.rem)(9),(0,T.rem)(18),z.ix),li=b.default.div.withConfig({componentId:"sc-1vxxt31-11"})(["transition:all 0.5s ease-in;display:none;",""],V.B.sm` display: flex; flex-direction: column; justify-content: center; position: relative; width: 40%; opacity: 1; `),lo=b.default.div.withConfig({componentId:"sc-1vxxt31-12"})(["display:block;margin-bottom:",";padding-left:",";position:relative;",""],(0,T.rem)(10),(0,T.rem)(P.G3),({hasSingleColumnComment:e})=>!e&&V.B.sm` display: none; `),la=b.default.div.withConfig({componentId:"sc-1vxxt31-13"})(["display:flex;flex-direction:column;",""],V.B.sm` flex-direction: row; `),ls=b.default.div.withConfig({componentId:"sc-1vxxt31-14"})(["margin-top:",";position:relative;",";"," ",""],(0,T.rem)(3),({hasFeaturedComment:e})=>e&&(0,b.css)(["border-left:"," solid ",";margin-left:",";"],(0,T.rem)(1),(0,T.rgba)((0,z.ae)(100),.8),(0,T.rem)(12)),V.B.sm` margin: 0; `,({hasSingleColumnComment:e,hasFeaturedComment:t})=>e&&t?V.B.sm` border-left: ${(0,T.rem)(1)} solid ${(0,T.rgba)((0,z.ae)(100),.8)}; `:V.B.sm` border: none; `),ll=b.default.a.withConfig({componentId:"sc-1vxxt31-15"})(["text-decoration:none;"]),lc=b.default.div.withConfig({componentId:"sc-1vxxt31-16"})(["position:absolute;top:",";right:",";cursor:grab;svg{overflow:visible;}"],(0,T.rem)(8.53),(0,T.rem)(13.59)),lu=(0,b.default)(M.u).withConfig({componentId:"sc-1vxxt31-17"})(["width:",";max-width:90vw;"],(0,T.rem)(662)),ld=b.default.aside.withConfig({componentId:"sc-1vxxt31-18"})(["position:absolute;top:",";left:",";padding:",";display:block;background-color:",";border-radius:",";"],(0,T.rem)(10),(0,T.rem)(10),(0,T.rem)(8),(0,T.rgba)((0,z.ae)(800),.75),(0,T.rem)(5)),lg=b.default.img.withConfig({componentId:"sc-1vxxt31-19"})(["width:",";height:",";"],(0,T.rem)(16),(0,T.rem)(16));function lp(){return(0,j.jsx)(lm,{children:(0,j.jsx)(lh,{})})}let lm=b.default.section.withConfig({componentId:"sc-1vwfs6-0"})(["padding-top:56.25%;position:relative;"]),lf=(0,b.keyframes)(["0%{opacity:0.5}50%{opacity:1}100%{opacity:0.5}"]),lh=b.default.article.withConfig({componentId:"sc-1vwfs6-1"})(["position:absolute;left:0;top:0;height:100%;width:100%;background:linear-gradient(270deg,"," 0%,"," 100%);animation:"," 2s ease-in-out 0s infinite reverse;border-radius:",";"],P.DM.SNOW,P.DM.CYAN_WHITE,lf,(0,T.rem)(8));function lb({count:e}){return(0,j.jsx)("section",{children:Array(e).fill(null).map((e,t)=>(0,j.jsx)(ep,{children:(0,j.jsx)(lp,{})},t))})}function ly({openPlayer:e,selectedCategory:t,dispatch:r}){let{0:n,1:i}=(0,l.useState)(!1),{data:o,error:a,size:s,setSize:c}=aw(t.word),u=(0,l.useMemo)(()=>(0,D.L)(o),[o]),d=(0,l.useMemo)(()=>(0,D._x)(o),[o]),g=(0,l.useMemo)(()=>!o&&!a,[o,a]),p=(0,l.useCallback)(()=>{i(!0),c?.(s?s+1:0).then(()=>i(!1)).catch(()=>i(!1))},[s,c]);return(0,l.useEffect)(()=>{if(o&&o[0]){let e=o[0];r({type:aI.TOTAL_VIDEOS,payload:e.total})}},[o,r]),(0,j.jsxs)(j.Fragment,{children:[u.length>0?(0,j.jsxs)("section",{children:[u.map((t,r)=>(0,j.jsx)(ep,{children:(0,j.jsx)(s0,{video:{clip:t},viewType:P.bW.GRID,openPlayer:t=>{e({currentTime:t,current:{sectionIndex:0,videoIndex:r}})}},t.uri)})),d&&!n?(0,j.jsx)(a_,{onClick:p}):null]}):null,g||n?(0,j.jsx)(lb,{count:g?4:2}):null]})}var lj=r(301642),lx=r(359462);function lv({xsrft:e,isOwner:t}){let{0:r,1:n}=(0,l.useState)(!1),i=(0,l.useContext)(t5.eO),{isFollowing:o,isLoading:a,isLoggedIn:s,isVerifiedUser:c,onFollowUser:u,onLoginSuccess:d,onUnfollowUser:g,submitting:p}=(0,l.useContext)(r8);(0,r9.Z)(r?e=>(0,D.i2)(e,()=>n(!1)):void 0,[r]);let m=(0,l.useCallback)(()=>{t?i({content:Y.Z.FollowSameUser,status:"negative"}):c?(tr(P.hy.CLICK_TO_FOLLOW_CREATOR,1,{following:!o}),o?g():u().catch(e=>{(e.status===P.SM.ENHACE_YOUR_CALM||e.status===P.SM.TOO_MANY_REQUESTS)&&n(!0)})):n(!0)},[o,t,c,u,i,g]);return a?null:(0,j.jsxs)(j.Fragment,{children:[(0,j.jsx)(rW.XW,{type:"login",xsrft:e,onSuccess:d,children:e=>(0,j.jsx)(eh,{icon:o?(0,j.jsxs)(j.Fragment,{children:[(0,j.jsx)(B.n,{id:"dismiss-icon"}),(0,j.jsx)(nb.M,{id:"check-icon"})]}):(0,j.jsx)(lj.v,{}),format:"secondary",onClick:()=>s?m():e(),disabled:p,loading:p,children:(0,j.jsx)(lC,{children:!p&&o?(0,j.jsxs)(j.Fragment,{children:[(0,j.jsx)("span",{id:"following-text",children:Y.Z.Following}),(0,j.jsx)("span",{id:"unfollow-text",children:Y.Z.Unfollow})]}):Y.Z.Follow})})}),(0,j.jsx)(M.u,{active:r,onOpen:()=>n(!1),content:(0,j.jsxs)(lw,{children:[(0,j.jsx)(oi.Z,{onClick:()=>n(!1)}),(0,j.jsx)(tJ.h,{size:"3",children:c?Y.Z.UnableToFollow:Y.Z.VerifyAccountTitle}),(0,j.jsx)(L.n,{size:"2",children:c?Y.Z.TooManyFollow:(0,j.jsx)(j.Fragment,{children:(0,ti.Iu)({singular:"You need to verify your email address before following other members on Vimeo. {LINK}Need help?{/LINK}",replacements:{LINK:e=>(0,j.jsx)(lx.r,{variant:"minimal",href:"/help/verify_email",children:e},"info-modal-text")},dictionary:{es:{singular:"Necesitas verificar tu direcci\xf3n de correo electr\xf3nico antes de que puedas seguir a otros miembros en Vimeo. {LINK}\xbfNecesitas ayuda?{/LINK}"},"de-DE":{singular:"Deine E-Mail-Adresse muss \xfcberpr\xfcft werden, bevor du anderen Mitgliedern auf Vimeo folgen kannst. {LINK}Brauchst du Hilfe?{/LINK}"},"fr-FR":{singular:"Vous devez v\xe9rifier votre adresse e-mail avant de suivre d'autres membres sur Vimeo. {LINK}Besoin d'aide\xa0?{/LINK}"},"ja-JP":{singular:"Vimeoメンバーをフォローするにはまずメールアドレスを承認してください。{LINK}お困りですか?{/LINK}"},"ko-KR":{singular:"Vimeo에서 다른 사용자들을 팔로우하려면 이메일 주소를 검증해야 합니다. {LINK}도움이 필요하신가요?{/LINK}"},"pt-BR":{singular:"Voc\xea precisa confirmar o seu endere\xe7o de e-mail antes de seguir outros membros no Vimeo. {LINK}Precisa de ajuda? {/LINK}"},"zh-CN":{singular:"在关注 Vimeo 上的其他会员之前,您需要验证您的电子邮件地址。{LINK}需要帮助吗?{/LINK}"}}})})})]})})]})}let lw=b.default.div.withConfig({componentId:"sc-13wqaky-0"})(["padding:"," "," ",";background-color:",";"],(0,T.rem)(40),(0,T.rem)(30),(0,T.rem)(20),z.ix),lC=b.default.span.withConfig({componentId:"sc-13wqaky-1"})(["display:none;",""],V.B.md` display: inline; `);var lO=r(863399);let lk=(0,l.lazy)(()=>r.e(2713).then(r.bind(r,2713)));var lE=((a=lE||{}).ABOUT="about",a.VIDEO="video",a);function lI({header:e,infoPanel:t,aboutPanel:r,videoPanel:n,isDesktopView:i,showSearchResultsButton:o,referrerUrl:a,footerRef:s,stickyTopNav:c,isOwner:u}){let{0:d,1:g}=(0,l.useState)(lE.ABOUT),{0:p,1:m}=(0,l.useState)(!1),f=(0,l.useRef)(null),h=(0,l.useRef)(null);return(0,l.useLayoutEffect)(()=>{let e=aS()(()=>{if(f.current){let e=f.current.getBoundingClientRect(),t=window?.innerHeight,r=e.bottom>=0&&e.topdocument.removeEventListener("scroll",e)},[f,h,s]),(0,j.jsxs)(lT,{children:[e&&(0,j.jsx)(lN,{children:e}),c?.(p),(0,j.jsxs)(lA,{noHeader:!e,children:[o&&(0,j.jsxs)(lP,{href:a,children:[(0,j.jsx)(lS,{children:(0,j.jsx)(lO._,{})}),Y.Z.SearchResults]}),(0,j.jsxs)(lM,{noHeader:!e,children:[(0,j.jsxs)("div",{ref:f,children:[(0,j.jsx)(eK,{withoutEffects:!i,children:t}),i&&r]}),i&&(0,j.jsx)(lD,{ref:h,children:t})]}),(0,j.jsxs)(lL,{noHeader:!e,children:[!i&&(0,j.jsxs)(j.Fragment,{children:[(0,j.jsxs)(lF,{children:[(0,j.jsx)(lB,{onClick:()=>g(lE.VIDEO),isActive:d===lE.VIDEO,href:void 0,children:Y.Z.Videos}),(0,j.jsx)(lB,{onClick:()=>g(lE.ABOUT),isActive:d===lE.ABOUT,href:void 0,children:Y.Z.About})]}),d===lE.ABOUT?(0,j.jsx)(j.Fragment,{children:r}):null]}),i||d===lE.VIDEO?(0,j.jsx)(j.Fragment,{children:n}):null]})]}),u?null:(0,j.jsx)(l.Suspense,{fallback:(0,j.jsx)(j.Fragment,{}),children:(0,j.jsx)(lk,{footerRef:s,isDesktopView:i})})]})}let lP=b.default.a.withConfig({componentId:"v7uaco-0"})(["color:",";font-size:",";font-weight:bold;line-height:",";letter-spacing:",";border-radius:",";background-color:",";padding:"," "," "," ",";cursor:pointer;z-index:1;width:",";position:absolute;top:",";left:",";text-decoration:none;",";"," ",";",";"],z.ix,(0,T.rem)(14),(0,T.rem)(17),(0,T.rem)(.2),(0,T.rem)(2),(0,T.rgba)(z.Sn,.3),(0,T.rem)(8),(0,T.rem)(14),(0,T.rem)(8),(0,T.rem)(10),(0,T.rem)(146),(0,T.rem)(30),(0,T.rem)(16),V.B.sm` left: ${(0,T.rem)(30)}; `,V.B.md` top: ${(0,T.rem)(20)}; left: ${(0,T.rem)(40)}; `,V.B.hd` left: ${(0,T.rem)(60)}; `,V.B.xhd` left: ${(0,T.rem)(70)}; `),lS=b.default.div.withConfig({componentId:"v7uaco-1"})(["display:inline-block;vertical-align:middle;width:",";height:",";transform:rotate(180deg);svg path{fill:",";}"],(0,T.rem)(20),(0,T.rem)(20),z.ix),lR=(0,b.keyframes)(["from{transform:translateY(",");opacity:0;}to{transform:translateY(0);opacity:1;}"],(0,T.rem)(50)),l_=(0,b.keyframes)(["from{transform:translateY(0);opacity:1;}to{transform:translateY(",");opacity:0;}"],(0,T.rem)(50)),lD=(0,b.default)(eK).withConfig({componentId:"v7uaco-2"})(["position:fixed;top:",";opacity:0;animation:"," 0.5s ease-out;visibility:hidden;&.showUserInfoPanel{opacity:1;z-index:2;visibility:visible;animation:"," 0.5s ease-in;}&.scrolledToBottom{position:absolute;top:auto;bottom:",";}"," ",";",""],(0,T.rem)(90),l_,lR,(0,T.rem)(20),V.B.md` width: ${(0,T.rem)(320)}; `,V.B.hd` width: ${(0,T.rem)(424)}; `,V.B.xhd` width: ${(0,T.rem)(566)}; `),lT=b.default.div.withConfig({componentId:"v7uaco-3"})(["position:relative;padding-bottom:",";"],(0,T.rem)(76)),lz=(0,b.css)(["padding:0 ",";",";",""],(0,T.rem)(16),V.B.sm` padding: 0 ${(0,T.rem)(30)}; `,V.B.md` padding: 0; `),lA=b.default.div.withConfig({componentId:"v7uaco-4"})(["",";",""],({noHeader:e})=>e&&(0,b.css)(["padding-top:",";"],(0,T.rem)(50)),V.B.md` display: flex; `),lN=b.default.div.withConfig({componentId:"v7uaco-5"})(["height:",";"," ",";",""],(0,T.rem)(138),V.B.md` height: ${(0,T.rem)(194)}; `,V.B.hd` height: ${(0,T.rem)(258)}; `,V.B.xhd` height: ${(0,T.rem)(344)}; `),lF=b.default.div.withConfig({componentId:"v7uaco-6"})(["margin:"," 0;padding:",";height:",";border-radius:",";background-color:",";display:flex;"],(0,T.rem)(30),(0,T.rem)(2),(0,T.rem)(28),(0,T.rem)(6),(0,z.se)(50)),lB=b.default.a.withConfig({componentId:"v7uaco-7"})(["flex:1 0 auto;display:flex;align-items:center;justify-content:center;cursor:pointer;font-size:",";font-weight:400;color:",";",";"],(0,T.rem)(13),(0,z.se)(850),({isActive:e})=>e&&(0,b.css)(["border-radius:",";background-color:",";box-shadow:0 "," "," 0 ",";"],(0,T.rem)(6),z.ix,(0,T.rem)(2),(0,T.rem)(4),(0,z.se)(100))),lM=b.default.div.withConfig({componentId:"v7uaco-8"})([""," margin-top:",";"," ",";",";",";"],lz,({noHeader:e})=>e&&(0,T.rem)(100),V.B.sm` margin-top: ${({noHeader:e})=>e&&(0,T.rem)(65)}; `,V.B.md` flex: 0 0 auto; width: ${(0,T.rem)(320)}; margin-top: ${({noHeader:e})=>e?(0,T.rem)(30):(0,T.rem)(-50)}; margin-left: ${(0,T.rem)(40)}; `,V.B.hd` width: ${(0,T.rem)(424)}; margin-top: ${({noHeader:e})=>e?(0,T.rem)(25):(0,T.rem)(-70)}; margin-left: ${(0,T.rem)(60)}; `,V.B.xhd` width: ${(0,T.rem)(566)}; margin-top: ${({noHeader:e})=>e?(0,T.rem)(30):(0,T.rem)(-154)}; margin-left: ${(0,T.rem)(70)}; `),lL=b.default.div.withConfig({componentId:"v7uaco-9"})([""," "," ",";",";"],lz,V.B.md` flex: 1 1 auto; width: calc(100% - ${(0,T.rem)(360)}); padding: ${(0,T.rem)(21)} ${(0,T.rem)(38)} ${(0,T.rem)(20)} ${(0,T.rem)(20)}; margin-top: ${({noHeader:e})=>e&&(0,T.rem)(15)}; `,V.B.hd` width: calc(100% - ${(0,T.rem)(484)}); padding: ${(0,T.rem)(34)} ${(0,T.rem)(60)} ${(0,T.rem)(20)} ${(0,T.rem)(24)}; margin-top: 0; padding-top: ${({noHeader:e})=>e&&(0,T.rem)(25)}; `,V.B.xhd` width: calc(100% - ${(0,T.rem)(636)}); padding: ${(0,T.rem)(34)} ${(0,T.rem)(70)} ${(0,T.rem)(20)} ${(0,T.rem)(40)}; `);var l$=r(254025),lK=r(825388),lZ=r(299276),lV=r(395258),lU=r(1832),lJ=r(291024),lH=r(875156),lq=r(753174),lG=r(309310),lW=r(183509),lY=r(394190),lX=r(587402),lQ=r(700076);function l0({type:e}){let t={facebook:(0,j.jsx)(l$.s,{}),reddit:(0,j.jsx)(lK.J,{}),tumblr:(0,j.jsx)(lZ.T,{}),twitter:(0,j.jsx)(l1,{}),instagram:(0,j.jsx)(lV.m,{}),linkedin:(0,j.jsx)(lU.n,{}),behance:(0,j.jsx)(lJ.m,{}),pinterest:(0,j.jsx)(lH.n,{}),soundcloud:(0,j.jsx)(lq.t,{}),vimeo:(0,j.jsx)(lG.U,{}),dribbble:(0,j.jsx)(lW.q,{}),tiktok:(0,j.jsx)(lY.y,{}),link:(0,j.jsx)(lX.r,{})};return t[e]||t.link}let l1=(0,b.default)(lQ.t).withConfig({componentId:"kp3zuv-0"})(["path{fill:",";}"],(0,z.se)(650)),l2=(e,t)=>{if("link"!==t){let t=e.replace(/(^\w+:|^)\/\//,"");t.lastIndexOf("/")===t.length-1&&(t=t.slice(0,-1));let r=t.lastIndexOf("/"),n=r>-1?t.substring(r+1,t.length):"";return n.length>0&&"@"===n[0]&&(n=n.substring(1)),n?`@${n}`:t}return e},l3=e=>{if(e){let t=e.trim();return(t.match(/^https?:\/\//)||(t=`https://${t}`),P.iX.test(t))?t.length>P.Rs?{validatedUrl:t,error:Y.Z.LinkTooLong}:{validatedUrl:t,error:""}:{validatedUrl:t,error:Y.Z.EnterValidUrl}}return{validatedUrl:e,error:""}},l5=b.default.div.withConfig({componentId:"biktkr-0"})(["&:hover{outline:none;}"]),l4=b.default.div.withConfig({componentId:"biktkr-1"})(["padding:",";padding-right:",";box-sizing:border-box;border:"," solid transparent;display:inline-block;"," ",""],(0,T.rem)(10),(0,T.rem)(5),(0,T.rem)(1),V.B.md` display: flex; `,({editMode:e})=>e&&ec),l8=b.default.div.withConfig({componentId:"biktkr-2"})(["display:inline-block;svg{width:",";height:",";}",""],(0,T.rem)(19),(0,T.rem)(19),({editing:e})=>e&&(0,b.css)(["margin-left:",";"],(0,T.rem)(11))),l6=b.default.a.withConfig({componentId:"biktkr-3"})(["display:inline-block;color:",";text-decoration:none;font-size:",";line-height:",";margin-left:",";max-height:",";overflow:hidden;text-overflow:ellipsis;vertical-align:center;",""],(0,z.ae)(800),(0,T.rem)(14),(0,T.rem)(20),(0,T.rem)(22),(0,T.rem)(20),({editMode:e})=>!e&&(0,b.css)([""," "," vertical-align:text-bottom;"],V.B.sm` margin-left: ${(0,T.rem)(8)}; `,V.B.md` margin-left: ${(0,T.rem)(22)}; `)),l9=b.default.div.withConfig({componentId:"biktkr-4"})(["position:relative;width:100%;padding:"," 0;border:"," solid transparent;input{font-family:inherit;padding-left:",";font-size:",";&::placeholder{color:",";}}margin:-"," 0 "," ",";"," ",""],(0,T.rem)(4),(0,T.rem)(1),(0,T.rem)(13),(0,T.rem)(14),(0,z.ae)(200),(0,T.rem)(1),(0,T.rem)(2),(0,T.rem)(7),V.B.md` margin: -${(0,T.rem)(1)} 0 ${(0,T.rem)(1)} ${(0,T.rem)(7)}; `,({isNewLink:e})=>e&&(0,b.css)(["margin-left:",";",""],(0,T.rem)(37),V.B.sm` margin-left: ${(0,T.rem)(8)}; `)),l7=b.default.div.withConfig({componentId:"biktkr-5"})(["display:flex;align-items:center;"]),ce=b.default.div.withConfig({componentId:"biktkr-6"})(["font-size:",";cursor:pointer;margin:",";text-decoration:underline;"],(0,T.rem)(14),(0,T.rem)(10));function ct(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function cr(e){for(var t=1;t{if(i(""),e?.link===t)a(!1);else if(t){let{validatedUrl:e,error:n}=l3(t);n?i(n):r(e).then(()=>a(!1))}else r().then(()=>a(!1))},[e,r]);return(0,j.jsx)(l5,{tabIndex:0,onKeyDown:e=>(0,D.$o)(e,()=>{o||t||a(!0)}),children:o?(0,j.jsxs)(l7,{children:[e?(0,j.jsx)(l8,{editing:!0,children:(0,j.jsx)(l0,{type:e.type})}):null,(0,j.jsxs)(l9,{isNewLink:null==e,children:[(0,j.jsx)(o7,{onSubmit:s,value:e?.link||"",disabled:t,errorMsg:n,placeholder:Y.Z.EnterUrl,onChange:()=>i("")}),!!n&&(0,j.jsx)(el,{children:n})]})]}):e?(0,j.jsxs)("div",{children:[(0,j.jsx)(cn,{editMode:!0,link:e,onClick:()=>t?void 0:a(!0)}),(0,j.jsx)(ey,{onClick:()=>t?void 0:a(!0)})]}):t?null:(0,j.jsx)(en,{buttonText:Y.Z.AddLink,onClick:()=>a(!0)})})}function co({links:e,children:t}){let{0:r,1:n}=(0,l.useState)(!1),i=(0,l.useRef)(!1),o=(0,l.useCallback)(()=>{i.current=!0,n(!1)},[]);return(0,l.useEffect)(()=>{i.current||n(e.length>P.t4)},[e]),(0,j.jsxs)(j.Fragment,{children:[(r?e.slice(0,P.t4):e).map((e,r)=>t(e,r)),r&&(0,j.jsx)(ce,{onClick:o,tabIndex:0,onKeyDown:e=>(0,D.$o)(e,o),children:Y.Z.ViewAll})]})}function ca({links:e}){let{updateLink:t,loading:r}=t6(),n=(0,l.useCallback)((e,r,n)=>t(e,(0,D.qx)(r),n),[t]);return(0,j.jsxs)(j.Fragment,{children:[(0,j.jsx)(co,{links:e,children:(e,t)=>(0,j.jsx)(ci,{link:e,loading:r,onSubmit:r=>n(t,e.uri,r)},e.uri)}),(0,j.jsx)(ci,{loading:r,onSubmit:t=>t?n(e.length,void 0,t):Promise.resolve()},"add_link")]})}function cs({links:e}){let{editMode:t}=(0,l.useContext)(O.Z);return(0,j.jsx)(j.Fragment,{children:t?(0,j.jsx)(cl,{children:(0,j.jsx)(ca,{links:e})}):e&&e.length?(0,j.jsx)(cl,{children:(0,j.jsx)(co,{links:e,children:e=>(0,j.jsx)(cn,{editMode:!1,link:e,relMe:!0},e.uri)})}):null})}let cl=b.default.div.withConfig({componentId:"idcxi9-0"})(["display:none;",""],V.B.sm` display: block; `);var cc=r(128117),cu=r(487298);function cd(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function cg(e){for(var t=1;t(0,j.jsx)(j.Fragment,{children:e?.formattedAddress&&(0,j.jsxs)(cx,{className:"location-view-mode",onClick:t,editMode:r,children:[(0,j.jsx)(cv,{width:10,height:20}),(0,j.jsx)(cj,{children:e.formattedAddress})]})}),cf=({value:e})=>{let t=(0,l.useContext)(h.Z),r=(0,l.useRef)(null),n=(0,l.useRef)(null),{0:i,1:o}=(0,l.useState)(e),{0:a,1:s}=(0,l.useState)(!1),{loading:c,onLocationUpdate:u}=t6(),{width:d}=(0,Z.i)(),g=(0,l.useCallback)(t=>{let r={formattedAddress:"",latitude:0,longitude:0},n=null==e?cg({},r):cg({},e),i=null==t?cg({},r):cg({},t),{formattedAddress:o,longitude:a,latitude:s}=n,l=i.formattedAddress===o,c=(i.longitude||0).toFixed(5)===(a||0).toFixed(5),u=(i.latitude||0).toFixed(5)===(s||0).toFixed(5);return l&&c&&u},[e]),p=(0,l.useCallback)(e=>{c||(g(e)?(s(!1),r.current?.blur()):(r.current&&(r.current.disabled=!0),u(e?cg(cg({},e),{},{location:e.formattedAddress}):{location:"",formattedAddress:"",latitude:0,longitude:0}).then(()=>{s(!1),r.current&&(r.current.disabled=!1,r.current.blur())})))},[g,c,u]);return(0,t9.Z)(a&&!c?n:null,()=>{p(i)},null,[i?.formattedAddress,a,p,n,c]),(0,l.useEffect)(()=>{r.current?.focus()},[a]),(0,l.useEffect)(()=>{o(e)},[e]),(0,l.useEffect)(()=>{s(!1)},[d]),(0,j.jsx)(ch,{ref:n,tabIndex:0,onKeyDown:(t,r)=>{P.mW.ENTER!==t.keyCode||a||c||s(!0),a&&!c&&(P.mW.ESC===t.keyCode?p(e):P.mW.TAB===t.keyCode&&p(i),r&&r(t))},disabled:c,showBorder:!a,children:a?(0,j.jsx)("div",{children:(0,j.jsx)(cc.Z,{googleApiKey:t?.googleMapApiKey||"",children:(0,j.jsx)(cy,{value:i,ref:r,inputIcon:(0,j.jsx)(nc.Y,{width:10}),onChange:e=>{o(e),e&&p(e)}})})}):i?.formattedAddress?(0,j.jsxs)(j.Fragment,{children:[(0,j.jsx)(cm,{location:i,onClick:()=>s(!0),editMode:!0}),(0,j.jsx)(ey,{onClick:()=>s(!0)})]}):(0,j.jsx)(en,{buttonText:Y.Z.AddLocation,onClick:()=>s(!0)})})},ch=b.default.div.withConfig({componentId:"sc-177tjpx-0"})(["margin-top:",";border:"," solid transparent;button svg{height:",";width:",";path{fill:currentColor;}}"," input{&:disabled{background-color:",";pointer-events:none;}}",""],(0,T.rem)(2),(0,T.rem)(1),(0,T.rem)(14.5),(0,T.rem)(14.5),({disabled:e})=>e&&(0,b.css)(["pointer-events:none;button{display:none;}"]),(0,z.ae)(50),({showBorder:e})=>e&&(0,b.css)(["&:hover{border:"," solid ",";border-radius:",";}}"],(0,T.rem)(1),(0,T.rgba)(z.Sn,.5),(0,T.rem)(4))),cb=(0,b.css)(["font-family:inherit;font-size:",";font-weight:500;letter-spacing:",";line-height:",";text-overflow:ellipsis;white-space:nowrap;overflow:hidden;"],(0,T.rem)(14),(0,T.rem)(.16),(0,T.rem)(24)),cy=(0,b.default)(cu.Z).withConfig({componentId:"sc-177tjpx-1"})(["input{",";height:",";}"],cb,(0,T.rem)(40)),cj=b.default.span.withConfig({componentId:"sc-177tjpx-2"})(["",";line-height:",";padding:"," 0 0 ",";"," ",""],cb,(0,T.rem)(17),(0,T.rem)(1),(0,T.rem)(4),({isEditMode:e})=>e&&(0,b.css)(["max-width:",";"],(0,T.rem)(275)),V.B.xmd` max-width: none; `),cx=b.default.div.withConfig({componentId:"sc-177tjpx-3"})(["display:inline-flex;align-items:center;padding:0 "," 0 ",";height:",";vertical-align:middle;max-width:100%;",";",""],(0,T.rem)(6),(0,T.rem)(13),(0,T.rem)(40),V.B.md` display: flex; max-width: none; `,({editMode:e})=>e?(0,b.css)(["padding:0 "," 0 ",";max-width:calc(100% - ",");"],(0,T.rem)(5),(0,T.rem)(12),(0,T.rem)(20)):(0,b.css)(["pointer-events:none;"])),cv=(0,b.default)(nc.Y).withConfig({componentId:"sc-177tjpx-4"})(["flex-shrink:0;vertical-align:sub;"]);function cw({name:e,profileUserId:t,xsrft:r}){return(0,j.jsx)(rW.XW,{type:"join",xsrft:r,onSuccess:()=>window.location.reload(),children:r=>(0,j.jsxs)(cC,{children:[(0,j.jsxs)(cO,{children:[(0,j.jsx)(cE,{children:(0,ti.Iu)({singular:"Create a free Vimeo Basic account to view {USER_NAME}’s contact details",replacements:{USER_NAME:e},dictionary:{es:{singular:"Crea una cuenta gratuita de Vimeo Basic para ver los datos de contacto de {USER_NAME}."},"de-DE":{singular:"Erstelle ein kostenloses Vimeo Basic-Konto, um die Kontaktdaten von {USER_NAME} zu sehen"},"fr-FR":{singular:"Cr\xe9ez un compte Vimeo Basic gratuit pour consulter les coordonn\xe9es de {USER_NAME}"},"ja-JP":{singular:"無料のVimeo Basicアカウントを作成して、{USER_NAME} さんの連絡先を表示"},"ko-KR":{singular:"{USER_NAME}님의 연락처를 보려면 Vimeo Basic 무료 계정을 만드세요"},"pt-BR":{singular:"Crie uma conta gratuita no Vimeo Basic para ver os detalhes de contato de {USER_NAME}"},"zh-CN":{singular:"创建免费的 Vimeo Basic 帐户以查看 {USER_NAME} 的联系方式"}}})}),(0,j.jsx)(A.z,{format:"primary",onClick:()=>{r(),tr(P.hy.CLICK_TO_JOIN_CONTACT_MODULE,1,{profile_id:t})},children:Y.Z.Join})]}),(0,j.jsxs)(ck,{children:[(0,j.jsx)(eh,{icon:(0,j.jsx)(lj.v,{}),format:"secondary",children:Y.Z.Follow}),(0,j.jsx)(ef,{status:"positive",children:Y.Z.Message})]})]})})}let cC=b.default.section.withConfig({componentId:"cdhkha-0"})(["position:relative;height:",";"],(0,T.rem)(152)),cO=b.default.section.withConfig({componentId:"cdhkha-1"})(["height:100%;width:100%;display:flex;flex-direction:column;align-items:center;justify-content:center;position:relative;z-index:1;"]),ck=b.default.article.withConfig({componentId:"cdhkha-2"})(["display:none;"," filter:blur(",");position:absolute;opacity:0.15;width:100%;left:0;bottom:0;"],V.B.md` display: flex; `,(0,T.rem)(7)),cE=(0,b.default)(L.n).attrs({format:"soft",size:"1"}).withConfig({componentId:"cdhkha-3"})(["display:block;text-align:center;margin-bottom:",";"],(0,T.rem)(12));var cI=r(152857);function cP(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function cS(e){for(var t=1;tP.$Z.test(e),[]),h=(0,l.useCallback)(async e=>{let t=RegExp(`^arg@"many"@"${e.substring(1)}/videos`),r=k.Fs.keys().find(e=>t.test(e)),n=new Set;return r?(0,k.JG)(r,e=>((0,D.L)(e).forEach(e=>n.add(e.clip.uri)),e),!1).then(()=>Promise.resolve([...n])):Promise.resolve([...n])},[]),b=(0,l.useCallback)(async e=>{let t=(0,I.hk)({containerUri:e});if(f(e)){let r=await a("me/profile_sections",{fields:["uri"]},P.s1.POST,t);if(r){let t=await h(e),n=(0,I.hk)({clipUris:t}),i=(0,D.qx)(r.uri),o=await a(`me/profile_sections/${i}`,{fields:["uri","clip_uris"]},P.s1.PATCH,n),s=(0,D.L)(u),l=s.findIndex(t=>t.uri===e);if(-1!==l&&o)return s[l].uri=o.uri,s[l].clipUris=o.clipUris,await c(e=>(0,D.Nt)(s,e,P.$M.perPage),!1),r.uri}}return e},[h,f,a,u,c]),y=(0,l.useCallback)(async e=>{let t=await b(e);return(0,D.L)(u).find(e=>e.uri===t)},[b,u]),j=(0,l.useCallback)(()=>{if(null!=r&&null!=t){let e=Math.ceil(r/P.wU.perPage);return{items:t,page:1,paging:{first:"page=1",last:"page="+e,next:e>1?"page=2":null,previous:null},perPage:P.wU.perPage,total:r}}},[t,r]),x=(0,l.useCallback)(e=>{let t=RegExp(`^${e.substring(1)}/videos`);(0,D.lt)(t);let r=RegExp(`^arg@"many"@"${e.substring(1)}/videos`),n=k.Fs.keys().find(e=>r.test(e));return n?(0,k.JG)(n):Promise.resolve()},[]),v=(0,l.useCallback)((e,t)=>`${e.substring(1)}/videos${(0,S.Ie)((0,I.hk)(cS(cS({},P.wU),{},{page:t})))}`,[]),{isValidating:w,mutate:R,data:_,revalidate:T,error:z,setSize:A,size:N}=(0,k.g_)(t=>n?v(e,t+1):null,i,{revalidateOnMount:!0,initialData:[j()]}),F=(0,l.useCallback)(e=>{e&&e.json&&e.json().then(e=>s({content:e.error,status:"negative"})),c(),R()},[R,s,c]),B=(0,l.useCallback)(async(e,t)=>{let r=(0,D.L)(u),n=(0,D.qx)(e),i=r.findIndex(t=>t.uri===e);try{if(-1!==i){let e=cS(cS({},r[i]),{},{clipUris:t});r[i]=e,c(e=>e?(0,D.Nt)(r,e,P.$M.perPage):e,!1);let o=(0,I.hk)({clipUris:t.length>0?t:null}),s=await a(`me/profile_sections/${n}`,void 0,P.s1.PATCH,o);return s?s.clipUris:[]}return[]}catch(e){return F(e),[]}},[F,a,u,c]),M=(0,l.useCallback)(async(e,t,r)=>{if(r){let r=await h(e);if(!r.every((e,r)=>t[r]===e))return await B(e,r)}return[...new Set(t)]},[h,B]),L=(0,l.useCallback)(async(e,t,r,n,i=!0)=>{p(!0);try{let o=await b(e),a=(0,D.L)(u),l=a.findIndex(e=>e.uri===o);if(-1!==l){let e=cS({},a[l]),c=await M(o,[...e.clipUris],e.unbounded);c.splice(t,0,...r);let u=[...new Set(c)];await B(e.uri,u);let d=i?R():Promise.resolve([]);return Promise.all([n(),d]).then(()=>(s(),p(!1),r))}}catch(e){F(e)}return p(!1),[]},[b,u,M,B,s,R,F]),$=(0,l.useCallback)(async(e,t,r)=>{p(!0);try{let n=await b(e),i=(0,D.L)(u),o=i.findIndex(e=>e.uri===n);if(-1!==o){let a=cS({},i[o]),l=await M(n,[...a.clipUris],a.unbounded),c=l.findIndex(e=>e===t);if(-1!==c&&_){l.splice(c,1);let t=(0,D.L)(_);t.splice(c,1);let i=(0,D.Nt)(t,_,P.wU.perPage),o=_.length-i.length,a=await B(n,l),u=RegExp(`^${e.substring(1)}/videos`);return(0,D.lt)(u),Promise.all([r(),0!==o?A(i.length):R()]).then(()=>(s(),p(!1),a))}}}catch(e){F(e)}return p(!1),[]},[b,u,M,_,B,A,R,s,F]),K=(0,l.useCallback)(async(e,t,r)=>{p(!0);try{let n=f(e),i=null,o=[];if(n)o=(i=await y(e))?i.clipUris:[];else{let t=(0,D.L)(u),r=t.findIndex(t=>t.uri===e);-1!==r&&(i=t[r],o=await M(i.uri,[...i.clipUris],i.unbounded))}if(i&&o.length){let e=o.findIndex(e=>e===t),s=o.slice(0,e);i.clipUris=s;let l=i.uri,g=(0,I.hk)({containerUri:l,title:r,containerSectionClipUris:s}),p=await a("me/profile_sections",void 0,P.s1.POST,g),f=`${i.uri.substring(1)}/videos`,h=new RegExp(f.substring(1));if((0,D.lt)(h),!n&&_){let t=(0,D.L)(_).slice(0,e),r=(0,D.Nt)(t,_,P.wU.perPage);await A(r.length)}if(p){let e=(0,D.L)(u),t=e.findIndex(e=>e.uri===l);e.splice(t+1,0,p);let r=Math.ceil(e.length/P.$M.perPage);d&&r>(u||[]).length?((0,D.BX)(m),await c()):await c(t=>(0,D.Nt)(e,t,P.$M.perPage),!1)}}}catch(e){F(e)}p(!1)},[f,y,u,M,a,_,A,d,m,c,F]),Z=(0,l.useCallback)(()=>{let t=(0,D.qx)(e);return a(`me/profile_sections/${t}`,void 0,P.s1.DELETE).then(()=>{let t=RegExp(`${e.substring(1)}`);(0,D.lt)(t)}).catch(e=>{throw c(),e})},[a,c,e]),V=(0,l.useCallback)(async e=>{p(!0);try{let t=(0,D.L)(u),r=t[e],n=(0,D.qx)(r.uri);if(0===e)await a(`me/profile_sections/${n}`,void 0,P.s1.DELETE),c(),s();else{await Z();let r=t[e-1];t.splice(e,1);let n=Math.ceil(t.length/P.$M.perPage),i=()=>{p(!1),s()};if(d&&n<(u||[]).length)return(0,D.BX)(m),Promise.all([d(n),x(r.uri)]).then(i);return Promise.all([c(),x(r.uri)]).then(i)}}catch(e){F(e)}p(!1)},[u,a,c,s,Z,d,m,x,F]),U=(0,l.useCallback)(async(e,t)=>{let r="me/profile_sections",n=(0,I.hk)({containerUri:e,title:t}),i=P.s1.POST;if(!f(e)){let o=(0,D.qx)(e);r=`me/profile_sections/${o}`,n={title:t},i=P.s1.PATCH}let o=await a(r,{fields:["title","uri"]},i,n),l=(0,D.L)(u),d=l.findIndex(t=>t.uri===e);-1!==d&&o&&(l[d]=cS(cS({},l[d]),{},{title:o.title,uri:o.uri}),await c(e=>(0,D.Nt)(l,e,P.$M.perPage),!1)),s()},[f,a,u,c,s]),J=(0,l.useCallback)((e,t)=>{c(r=>{let n=(0,D.L)(r),i=e+t;if(i<0||i>=n.length)return r;let o=n[e],l=o.position,u=n[i].position;n.splice(e,1),n.splice(i,0,o),n[e]=cS(cS({},n[e]),{},{position:l}),n[i]=cS(cS({},n[i]),{},{position:u});let d=n[i{c(),s()}),(0,D.Nt)(n,r,P.$M.perPage)},!1)},[a,s,c]),H=(0,l.useCallback)(async(e,t)=>{let r=e.video.clip.uri===t.video.clip.uri;if(p(!0),!r){let r=e.sectionUri===t.sectionUri;try{if(r){let r=await b(e.sectionUri),n=(0,D.L)(u),i=n.findIndex(e=>e.uri===r);if(-1!==i){let o=n[i],s=await M(r,[...o.clipUris],o.unbounded);s.splice(e.videoIndex,1),s.splice(t.videoIndex,0,e.video.clip.uri);let l=[...new Set(s)],u=(0,I.hk)({clipUris:l}),d=(0,D.qx)(o.uri),g=await a(`me/profile_sections/${d}`,{fields:["clip_uris"]},P.s1.PATCH,u);n[i].clipUris=g?g.clipUris:[],await c(e=>(0,D.Nt)(n,e,P.$M.perPage)),await R(e=>{let t=new Map;(0,D.L)(e).forEach(e=>t.set(e.clip.uri,e));let r=[];return l.forEach(e=>{let n=t.get(e);n&&r.push(n)}),(0,D.Nt)(r,e,P.wU.perPage)},!1)}}else await L(t.sectionUri,t.videoIndex,[e.video.clip.uri],()=>Promise.resolve());s(),p(!1)}catch(e){F(e)}}},[L,M,b,F,R,s,a,u,c]),q=(0,l.useCallback)(async e=>{await $(e.sectionUri,e.video.clip.uri,()=>Promise.resolve())},[$]),G=(0,l.useCallback)(async(t,r,n=!1,i)=>{try{let a=(0,I.hk)(i?{columnWidth:i}:{featuredCommentId:r,showFeaturedComment:!!r}),l=await b(e),c=(0,D.qx)(l),u=`me/profile_sections/${c}/videos/${t}`;await o(u,void 0,P.s1.PATCH,a),i?s():r?n?s({content:Y.Z.CommentUpdated,status:"neutral"}):s():s({content:Y.Z.CommentRemoved,status:"neutral"})}catch(e){F(e)}},[b,F,s,o,e]),W=(0,l.useCallback)((e,t,r)=>{let n=(0,D.qx)(e.clip.uri),i=t?(0,D.qx)(t.uri):null;return G(n,i,e.showFeaturedComment,r).then(()=>{let n=(0,D.L)(_),o=n.findIndex(t=>t.clip.uri===e.clip.uri);if(-1!==o){let e=cS({},n[o]);r?e.columnWidth=r:(e.featuredComment=t,e.showFeaturedComment=!!i),n[o]=e,R(e=>(0,D.Nt)(n,e,P.wU.perPage),!1)}})},[G,_,R]);return{addVideosToSection:L,createSection:K,data:_,error:z,isValidating:w,moveSection:J,mutate:R,onDragEnd:q,onDrop:H,removeSection:V,removeVideoFromSection:$,revalidate:T,setSize:A,size:N,toggleVideoData:W,updateSectionTitle:U,videoLoading:g}}var c_=r(618299),cD=r(940846);function cT({text:e,illustration:t}){return(0,j.jsxs)(cz,{children:[t,(0,j.jsx)(cA,{size:"1",children:e})]})}let cz=b.default.article.withConfig({componentId:"ycz3vx-0"})(["display:flex;height:100%;width:100%;justify-content:center;align-items:center;flex-direction:column;padding:",";"],(0,T.rem)(20)),cA=(0,b.default)(L.n).withConfig({componentId:"ycz3vx-1"})(["margin-top:",";"],(0,T.rem)(15)),cN=async()=>{let e=await fetch("/_next/jwt?only_public=true",{headers:{"X-Requested-With":"XMLHttpRequest"}});if(e.ok)return(await e.json()).token;throw e};function cF({onSubmit:e,onDismiss:t,shouldAutoAddVideos:r,toggleAutoAddVideos:n}){let{0:i,1:o}=(0,l.useState)([]),{0:a,1:s}=(0,l.useState)(!0),{0:c,1:u}=(0,l.useState)(null),{0:d,1:g}=(0,l.useState)(!1),{0:p,1:m}=(0,l.useState)(!1),{0:f,1:b}=(0,l.useState)(r),y=(0,l.useContext)(h.Z),x=(0,l.useCallback)(()=>s(!1),[]),v=(0,l.useCallback)(()=>s(!0),[]);return(0,l.useEffect)(()=>{cN().then(e=>{u(e)})},[]),(0,l.useEffect)(()=>{f!==r&&n(f)},[f]),(0,l.useEffect)(()=>{f!==r&&b(r)},[r]),(0,j.jsxs)(cL,{children:[(0,j.jsx)(cB,{size:"4",children:Y.Z.SelectVideos}),(0,j.jsx)(oi.Z,{onClick:()=>!d&&t()}),(0,j.jsx)(cM,{children:(0,j.jsxs)(cD.m,{format:"alternative",variant:"minimalTransparent",className:"tabStyle",children:[(0,j.jsx)(cD.m.Panel,{className:"panelStyle",label:Y.Z.MyPublicVideos,onActivate:v,children:a?(0,j.jsx)(or,{queryUrl:`/users/${y.user?.id}/videos`,authToken:`jwt ${c}`,parentLoading:!c,isVerticalClipAllowed:!0,inputType:"checkbox",selectedClips:i,onSelectedClipsChange:e=>o(e),onNoInitialClips:x,filterNonProfileVideos:!0,isUpcomingEventAllowed:!0,isOnDemandAllowed:!0}):(0,j.jsx)(cT,{text:f?Y.Z.PublicVideoAutoAddText:Y.Z.PublicVideosEmptyText,illustration:(0,j.jsx)(cI.J,{height:"138",width:"180"})})},"public"),(0,j.jsx)(cD.m.Panel,{className:"panelStyle",label:Y.Z.CreditedVideos,onActivate:v,children:a?(0,j.jsx)(or,{queryUrl:`/users/${y.user?.id}/appearances`,isVerticalClipAllowed:!0,inputType:"checkbox",selectedClips:i,onSelectedClipsChange:e=>o(e),onNoInitialClips:x,filterNonProfileVideos:!0,isUpcomingEventAllowed:!0,isOnDemandAllowed:!0}):(0,j.jsx)(cT,{text:Y.Z.CreditsEmptyText,illustration:(0,j.jsx)(cI.J,{height:"138",width:"180"})})},"credited")]})}),(0,j.jsxs)(c$,{children:[(0,j.jsx)(cK,{onChange:()=>b(!f),label:Y.Z.PublicVideosToggleText,name:"videoToggle",size:"sm",checked:f}),(0,j.jsxs)(cZ,{children:[(0,j.jsx)(cV,{format:"secondary",onClick:()=>!d&&t(),children:Y.Z.Cancel}),(0,j.jsx)(cV,{format:"primary",status:p?"negative":void 0,onClick:()=>{g(!0),e(i).then(()=>g(!1)).catch(()=>{g(!1),m(!0),setTimeout(()=>m(!1),1e3)})},disabled:d||!i.length,loading:d,children:Y.Z.Add})]})]})]})}let cB=(0,b.default)(tJ.h).attrs({format:"soft"}).withConfig({componentId:"svb78e-0"})(["padding:"," "," 0 ",";letter-spacing:0.2;"],(0,T.rem)(24),(0,T.rem)(24),(0,T.rem)(25)),cM=b.default.div.withConfig({componentId:"svb78e-1"})(["margin-top:",";height:100%;overflow:hidden;& .tabStyle{display:flex;flex-direction:column;height:100%;margin-top:",";}& .panelStyle{overflow:hidden;height:100%;}& a{text-decoration:none;}& li{flex:1 0 auto;}"],(0,T.rem)(12),(0,T.rem)(3)),cL=b.default.section.withConfig({componentId:"svb78e-2"})(["border-radius:",";background:",";width:90vw;height:85vh;max-width:",";max-height:",";position:relative;display:flex;flex-direction:column;"],(0,T.rem)(4),({theme:e})=>e.content.background,(0,T.rem)(662),(0,T.rem)(752)),c$=b.default.footer.withConfig({componentId:"svb78e-3"})(["display:flex;box-shadow:0 "," "," 0 ",";justify-content:space-between;align-items:center;"],(0,T.rem)(-4),(0,T.rem)(8),(0,T.rgba)(z.Sn,.08)),cK=(0,b.default)(c_.Z).withConfig({componentId:"svb78e-4"})(["margin-left:",";"],(0,T.rem)(20)),cZ=b.default.aside.withConfig({componentId:"svb78e-5"})(["margin:"," ",";"," display:flex;"],(0,T.rem)(20),(0,T.rem)(5),V.B.sm` margin: ${(0,T.rem)(20)}; `),cV=(0,b.default)(A.z).withConfig({componentId:"svb78e-6"})([""," &:first-child{margin-right:",";}"],V.B.sm` width: ${(0,T.rem)(120)}; `,(0,T.rem)(10));function cU({showAddVideoCta:e,editMode:t,hasCoverVideo:r,shouldAutoAddVideos:n,toggleAutoAddVideos:i,updatePublicVideosCount:o}){let{0:a,1:s}=(0,l.useState)(!1);(0,r9.Z)(a?e=>(0,D.i2)(e,()=>s(!1)):void 0,[a]);let{addVideosToSection:c}=cR("",void 0,void 0,!1),{data:u}=(0,l.useContext)(C),d=(0,l.useMemo)(()=>(0,D.L)(u),[u]),g=(0,l.useCallback)(e=>{let t=e.map(e=>e.uri);return c(d[0].uri,0,t,o).then(()=>{s(!1)})},[c,d,o]);return(0,j.jsxs)(cH,{children:[(0,j.jsx)(cJ,{reduceTopMargin:r||t}),(0,j.jsx)(cq,{children:(0,j.jsx)("span",{className:"upload-videos-text",children:t?e?Y.Z.AddPublicVideos:Y.Z.UploadVideos:Y.Z.NoVideos})}),t&&e&&(0,j.jsx)(cG,{size:"sm",format:"secondary",onClick:()=>s(!0),children:Y.Z.AddVideos}),(0,j.jsx)(em,{onOpen:()=>s(!1),active:a,content:(0,j.jsx)(cF,{shouldAutoAddVideos:n,toggleAutoAddVideos:i,onSubmit:g,onDismiss:()=>s(!1)})})]})}let cJ=(0,b.default)(cI.J).withConfig({componentId:"jda9xo-0"})(["height:",";width:",";margin-top:",";"," "," "," ",""],(0,T.rem)(99),(0,T.rem)(130),(0,T.rem)(35),V.B.sm` margin-top: ${(0,T.rem)(55)}; `,V.B.md` height: ${(0,T.rem)(129)}; width: ${(0,T.rem)(170)}; margin-top: ${(0,T.rem)(195)}; ${({reduceTopMargin:e})=>e&&(0,b.css)(["margin-top:",";"],(0,T.rem)(130))} `,V.B.hd` margin-top: ${(0,T.rem)(264)}; ${({reduceTopMargin:e})=>e&&(0,b.css)(["margin-top:",";"],(0,T.rem)(167))} `,V.B.xhd` margin-top: ${(0,T.rem)(356)}; ${({reduceTopMargin:e})=>e&&(0,b.css)(["margin-top:",";"],(0,T.rem)(214))} `),cH=b.default.article.withConfig({componentId:"jda9xo-1"})(["display:flex;width:100%;justify-content:center;align-items:center;flex-direction:column;"]),cq=(0,b.default)(es.x).attrs({format:"soft"}).withConfig({componentId:"jda9xo-2"})(["font-size:",";font-weight:bold;letter-spacing:",";line-height:",";text-align:center;margin-top:",";display:block;"," .upload-videos-text{max-width:",";","}"],(0,T.rem)(16),(0,T.rem)(.18),(0,T.rem)(24),(0,T.rem)(8),V.B.md` font-size: ${(0,T.rem)(20)}; letter-spacing: ${(0,T.rem)(.22)}; margin-top: ${(0,T.rem)(16)}; `,(0,T.rem)(180),V.B.md` max-width: none; `),cG=(0,b.default)(A.z).withConfig({componentId:"jda9xo-3"})(["width:",";margin-top:",";display:none;",""],(0,T.rem)(126),(0,T.rem)(12),V.B.md` display: block; `),cW=e=>{let t=e.lastIndexOf("/");return e.substr(t+1)},cY=e=>-1!==e.indexOf("subcategories"),cX=(e,t)=>{let r=t.filter(t=>t.uri!==e.uri);if(!cY(e.uri)){let t=RegExp(`^${e.uri}/subcategories/`);r=r.filter(e=>!t.test(e.uri))}return r};function cQ(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function c0(e){for(var t=1;t(0,j.jsx)("svg",c2(c2({version:"1.1",viewBox:"0 0 9 12",ref:t},e),{},{children:(0,j.jsx)("g",{fill:"none",fillRule:"evenodd",children:(0,j.jsx)("g",{transform:"translate(-227 -695)",fill:"#fff",fillRule:"nonzero",children:(0,j.jsxs)("g",{transform:"translate(227 695)",children:[(0,j.jsx)("rect",{x:"1.4554e-12",width:"1.8",height:"12"}),(0,j.jsx)("polygon",{transform:"translate(4.55 6) rotate(-90) translate(-4.55 -6)",points:"4.55 1.95 10.55 10.05 -1.45 10.05"})]})})})})));var c5=r(839698);let c4=(0,b.default)(nQ.V).withConfig({componentId:"sc-1h25eiv-0"})(["margin:"," "," "," 0;cursor:auto;display:inline-block;vertical-align:top;svg{vertical-align:middle;width:",";height:",";cursor:pointer;margin-top:0;}&:last-child{margin-right:0;}"],(0,T.rem)(4),(0,T.rem)(6),(0,T.rem)(4),(0,T.rem)(16),(0,T.rem)(16)),c8=b.default.article.withConfig({componentId:"sc-1h25eiv-1"})(["width:",";background:",";box-shadow:0 "," "," 0 ",";border-radius:",";position:absolute;color:",";z-index:14;opacity:0;margin:"," 0;transition:opacity 0.2s ease-in;&.top{bottom:100%;left:0;opacity:1;}&.bottom{top:100%;left:50%;transform:translateX(-50%);opacity:1;}"],(0,T.rem)(250),z.ix,(0,T.rem)(3),(0,T.rem)(5),(0,T.rgba)(z.Sn,.12),(0,T.rem)(3),(0,z.ae)(800),(0,T.rem)(10)),c6=b.default.div.withConfig({componentId:"sc-1h25eiv-2"})(["padding:",";height:",";overflow:auto;background-color:",";"],(0,T.rem)(20),(0,T.rem)(325),z.ix),c9=b.default.div.withConfig({componentId:"sc-1h25eiv-3"})(["padding:",";box-shadow:0 "," "," 0 ",";display:flex;justify-content:space-between;background-color:",";"],(0,T.rem)(10),(0,T.rem)(-2),(0,T.rem)(4),(0,T.rgba)(z.Sn,.1),z.ix),c7=(0,b.default)(A.z).withConfig({componentId:"sc-1h25eiv-4"})(["width:",";"],(0,T.rem)(112)),ue=b.default.div.withConfig({componentId:"sc-1h25eiv-5"})(["padding-left:",";display:none;",""],(0,T.rem)(25),({show:e})=>e&&(0,b.css)(["display:block;"])),ut=b.default.div.withConfig({componentId:"sc-1h25eiv-6"})(["height:100%;display:flex;justify-content:center;align-items:center;"]);function ur({menuItem:e,subMenu:t,selected:r,onChange:n}){let i=null!=r.find(t=>t.uri===e.uri),o=r.length>=P.Ku;return(0,j.jsxs)(j.Fragment,{children:[(0,j.jsx)(to.X,{label:e.name,disabled:o&&!i,checked:i,onChange:()=>n({uri:e.uri,name:e.name})}),t?(0,j.jsx)(ue,{show:!!i,children:t.map(e=>(0,j.jsx)(ur,{menuItem:e,selected:r,onChange:n},e.uri))}):null]})}function un({categories:e,selected:t,setSelected:r}){let n=(0,l.useMemo)(()=>t.map(e=>e.uri),[t]),i=(0,l.useCallback)(e=>{-1!==n.indexOf(e.uri)?r([...cX(e,t)]):r([...t,e])},[t,n]);return(0,j.jsx)(j.Fragment,{children:e.map(e=>(0,j.jsx)(ur,{menuItem:e,subMenu:e.subcategories,onChange:i,selected:t},e.uri))})}function ui({selectedCategories:e,onCancel:t,onAdd:r,isLoading:n,childRef:i}){let{0:o,1:a}=(0,l.useState)(e),s=(0,l.useRef)(null),{width:c,height:u}=(0,Z.i)(),{data:d,loading:g}=(0,t2.a)("/categories",{resourceKey:P.zg.VIDEO_CATEGORIES_RESOURCE,variables:{page:1,per_page:25,fields:"uri,name,subcategories",from_profile:!0}});(0,t9.Z)(s,t);let p=(0,l.useMemo)(()=>g||n||!o.length||aO()(o,e),[o,e,n,g]);return(0,l.useEffect)(()=>{a(e)},[e]),(0,l.useEffect)(()=>{if(s.current&&i.current){let e=s.current,t=e.getBoundingClientRect(),r=i.current.getBoundingClientRect();t.heightt.height?e.classList.add("bottom"):e.classList.add("top")}},[i,s,c,u]),(0,j.jsxs)(c8,{ref:s,children:[(0,j.jsx)(c6,{children:g?(0,j.jsx)(ut,{children:(0,j.jsx)(y.I,{size:"md"})}):(0,j.jsx)(un,{categories:d?.items||[],selected:o,setSelected:a})}),(0,j.jsxs)(c9,{children:[(0,j.jsx)(c7,{format:"secondary",disabled:g||n,onClick:t,children:Y.Z.Cancel}),(0,j.jsx)(c7,{disabled:p,loading:n,onClick:()=>r(o),children:Y.Z.Add})]})]})}function uo({selectedCategories:e,clipId:t,onUpdate:r}){let{0:n,1:i}=(0,l.useState)(!1),{0:o,1:a}=(0,l.useState)(e),{0:s,1:c}=(0,l.useState)(!1),u=(0,l.useRef)(null),d=(0,l.useCallback)(e=>{c(!0),r(t,e).then(()=>{a(e),c(!1),n&&i(!1)}).catch(()=>{c(!1),n&&i(!1)})},[r,t,n]),g=(0,l.useCallback)(e=>{d(cX(e,o))},[d,cX,o]);return(0,l.useEffect)(()=>{a(e)},[e]),(0,j.jsxs)(ul,{children:[o.length>0?o.map(e=>(0,j.jsx)(c4,{size:"sm",element:"span",theme:ow.themes.dark,disabled:s,onClose:{reject:()=>g(e)},children:e.name},e.uri)):null,(0,j.jsx)(us,{ref:u,children:(0,j.jsx)(ua,{theme:ow.themes.dark,buttonText:o.length>0?" ":Y.Z.AddCategories,onClick:()=>i(!0),onKeyDown:e=>(0,D.$o)(e,()=>i(!0)),disable:s||n,tabIndex:0,role:"button"})}),n&&(0,j.jsx)(ui,{selectedCategories:o,onCancel:()=>i(!1),onAdd:d,isLoading:s,childRef:u})]})}let ua=(0,b.default)(en).withConfig({componentId:"eha25k-0"})(["",""],({disable:e})=>e&&(0,b.css)(["pointer-events:none;"])),us=b.default.div.withConfig({componentId:"eha25k-1"})(["display:inline-block;"]),ul=b.default.div.withConfig({componentId:"eha25k-2"})(["position:relative;"]);function uc({categories:e,editMode:t,clipId:r,onUpdate:n}){return(0,j.jsx)(ud,{children:t?(0,j.jsx)(uo,{selectedCategories:e,clipId:r,onUpdate:n}):e.length>0?(0,j.jsx)(uu,{categories:e}):null})}function uu({categories:e}){return(0,j.jsx)(j.Fragment,{children:e.map(e=>(0,j.jsx)(c4,{size:"sm",element:"span",theme:ow.themes.dark,children:e.name},e.uri))})}let ud=b.default.article.withConfig({componentId:"sn8q45-0"})(["margin-top:",";position:relative;",""],(0,T.rem)(20),V.B.hd` margin-left: ${(0,T.rem)(3)}; `);var ug=r(696198);let up=["content","onSave","maxCharacterCount","validate","allowNewLines","fullWidth","resetOnEmpty","className","placeholder","autoFocus"];function um(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function uf(e){let{content:t="",onSave:r,maxCharacterCount:n,validate:i,allowNewLines:o=!0,fullWidth:a,resetOnEmpty:s,className:c,placeholder:u,autoFocus:g}=e,p=(0,X.Z)(e,up),m=(0,l.useRef)(null),{0:f,1:h}=(0,l.useState)(t||""),{width:b}=(0,Z.i)(),y=(0,l.useCallback)(e=>{e&&(e.style.height="auto",e.style.height=(0,T.rem)(e.scrollHeight),n&&e.value.length>n?e.style.paddingBottom=(0,T.rem)(30):e.style.paddingBottom=(0,T.rem)(0))},[]),x=(!n||!(f.length>n))&&(!i||i(f)),v={Enter:e=>{o&&(!o||e.shiftKey)||(e.preventDefault(),m.current?.blur())},Escape:e=>{o&&(!o||e.shiftKey)||(e.preventDefault(),m.current?.blur())}};return(0,l.useEffect)(()=>{y(m.current)},[m,y,b]),(0,l.useEffect)(()=>{h(t||"")},[t]),(0,j.jsx)(ub,{children:(0,j.jsxs)(uC,{fullWidth:a,children:[!x&&(0,j.jsx)(ux,{}),(0,j.jsx)(uw,function(e){for(var t=1;t{let e=m.current;if(e){if(s&&!e.value)e.value=t||"",y(e),h(t||"");else if(r&&x){let{value:t}=e;o?r(t.trim()):r(t.replace(/[\r\n\v]+/g,"").trim())}}},onChange:e=>{let{value:t}=e.currentTarget;y(e.currentTarget),h(t)},onKeyDown:e=>{let{key:t}=e;v[t]&&v[t](e)},ref:m,defaultValue:t||"",error:!x,className:c,placeholder:u,autoFocus:g,fullWidth:a,rows:1,allowNewLines:o,onFocus:e=>{let t=e.target.value;e.target.value="",e.target.value=t}},p)),n&&!x&&(0,j.jsx)(uy,{children:`${f.length}/${n}`})]})})}let uh=(0,z.Q6)(500),ub=b.default.div.withConfig({componentId:"sc-1e8n8kc-0"})(["position:relative;"]),uy=(0,b.default)(es.x).withConfig({componentId:"sc-1e8n8kc-1"})(["position:absolute;bottom:",";right:",";font-size:",";letter-spacing:",";color:",";"],(0,T.rem)(0),(0,T.rem)(7),(0,T.rem)(12),(0,T.rem)(-.4),uh),uj=(0,b.css)(["font-family:inherit;white-space:pre-wrap;padding:"," "," ",";border:"," solid transparent;outline:none;resize:none;border-radius:",";transition:background 0.25s;-ms-overflow-style:none;&:hover{background:",";}&:focus{background-color:transparent;}"],(0,T.rem)(5),(0,T.rem)(5),(0,T.rem)(12),(0,T.rem)(1),(0,T.rem)(4),(0,T.rgba)((0,z.iN)(500),.25)),ux=(0,b.default)(ug.Y).withConfig({componentId:"sc-1e8n8kc-2"})(["left:",";position:absolute;height:",";width:",";*{fill:",";}"],(0,T.rem)(-30),(0,T.rem)(20),(0,T.rem)(20),uh),uv=(0,b.css)(["border:"," solid ",";"],(0,T.rem)(1),uh),uw=b.default.textarea.withConfig({componentId:"sc-1e8n8kc-3"})([""," margin:0;overflow:hidden;"," "," ",""],uj,({fullWidth:e})=>e&&(0,b.css)(["width:100%;"]),({error:e})=>e&&uv,({allowNewLines:e})=>!e&&(0,b.css)(["white-space:normal;"])),uC=b.default.div.withConfig({componentId:"sc-1e8n8kc-4"})(["display:inline-block;position:relative;",""],({fullWidth:e})=>e&&(0,b.css)(["width:100%;"]));function uO({description:e,editMode:t,setEnableEdit:r}){let{0:n,1:i}=(0,l.useState)(!1),{0:o,1:a}=(0,l.useState)(!1),s=(0,l.useRef)(null);return(0,l.useEffect)(()=>{let e=s.current;e&&a(e.scrollHeight>e.offsetHeight)},[s,e]),(0,j.jsxs)(uz,{children:[(0,j.jsxs)(uS,{editMode:t,onMouseOut:()=>{t&&s.current&&s.current.scrollTo({top:0,behavior:"auto"})},onClick:r,className:"wrapper",children:[(0,j.jsx)(uR,{ref:s,expanded:n,className:"description",children:(0,j.jsx)(J.Z,{text:e})}),o?(0,j.jsx)(u_,{className:"description-overlay"}):null]}),o?(0,j.jsx)(uD,{onClick:()=>{i(!0),a(!1)},className:"read-more",children:Y.Z.ReadMore}):null]})}function uk({description:e,onSubmit:t}){let{0:r,1:n}=(0,l.useState)(!1),{0:i,1:o}=(0,l.useState)(e);return(0,l.useEffect)(()=>{o(e)},[e]),(0,j.jsx)(uP,{editMode:!0,children:r?(0,j.jsx)(uf,{content:i,onSave:e=>{e!==i&&(t(e),o(e)),n(!1)},maxCharacterCount:P.tk,placeholder:Y.Z.ClickToAddDescription,autoFocus:!0,fullWidth:!0}):i?(0,j.jsx)(uO,{description:i,editMode:!0,setEnableEdit:()=>n(!0)}):(0,j.jsx)(uT,{buttonText:Y.Z.AddDescription,onClick:()=>n(!0),onKeyDown:e=>(0,D.$o)(e,()=>n(!0)),theme:ow.themes.dark,tabIndex:0,role:"button"})})}function uE({description:e,editMode:t,onSubmit:r}){return t?(0,j.jsx)(uk,{description:e,onSubmit:r}):e?(0,j.jsx)(uO,{description:e}):null}let uI=(0,b.css)(["color:",";font-size:",";line-height:",";"," ",""],(0,z.ae)(500),(0,T.rem)(16),(0,T.rem)(24),V.B.md` font-size: ${(0,T.rem)(14)}; line-height: ${(0,T.rem)(20)}; `,V.B.xhd` font-size: ${(0,T.rem)(16)}; line-height: ${(0,T.rem)(22)}; `),uP=b.default.article.withConfig({componentId:"l144jf-0"})(["margin-top:",";&:focus{outline:none;}"," ",""],(0,T.rem)(20),V.B.hd` margin-left: ${(0,T.rem)(3)}; `,({editMode:e})=>e?(0,b.css)(["textarea{",";padding:",";background:transparent;font-family:inherit;}&:hover{.description-overlay{display:none;}.wrapper{","}.description{overflow-y:auto;}.read-more{visibility:hidden;}}"],uI,(0,T.rem)(8.2),V.B.md` background: ${(0,T.rgba)((0,z.iN)(500),.25)}; border-radius: ${(0,T.rem)(4)}; `):null),uS=b.default.article.withConfig({componentId:"l144jf-1"})(["position:relative;padding:",";border:"," solid transparent;",""],(0,T.rem)(8.2),(0,T.rem)(1),({editMode:e})=>e?(0,b.css)(["margin-top:0;"]):(0,b.css)(["margin-top:",";",""],(0,T.rem)(20),V.B.hd` margin-left: ${(0,T.rem)(3)}; `)),uR=b.default.p.withConfig({componentId:"l144jf-2"})([""," height:",";overflow-wrap:break-word;white-space:break-spaces;a{word-break:normal;overflow-wrap:break-word;}",""],uI,(0,T.rem)(104),({expanded:e})=>e?(0,b.css)(["height:100%;overflow-y:auto;"]):(0,b.css)(["overflow:hidden;"," "," ",""],V.B.sm` height: ${(0,T.rem)(90)}; `,V.B.md` height: ${(0,T.rem)(76)}; `,V.B.hd` height: ${(0,T.rem)(104)}; `)),u_=b.default.article.withConfig({componentId:"l144jf-3"})(["position:absolute;left:0;width:100%;background:linear-gradient(180deg,"," 0%,"," 100%);height:",";top:",";"," "," "," ",""],(0,T.rgba)((0,z.se)(850),0),z.Sn,(0,T.rem)(76),(0,T.rem)(28),V.B.sm` height: ${(0,T.rem)(72)}; top: ${(0,T.rem)(26.2)}; `,V.B.md` height: ${(0,T.rem)(67)}; top: ${(0,T.rem)(17.2)}; `,V.B.hd` height: ${(0,T.rem)(97)}; top: ${(0,T.rem)(15.2)}; `,V.B.xhd` top: ${(0,T.rem)(21.2)}; `),uD=b.default.p.withConfig({componentId:"l144jf-4"})([""," text-decoration:underline;cursor:pointer;margin:"," 0 0 ",";"," "," ",""],uI,(0,T.rem)(8),(0,T.rem)(9.2),V.B.sm` margin-top: ${(0,T.rem)(14)} `,V.B.md` margin-top: ${(0,T.rem)(0)}; `,V.B.xhd` margin-top: ${(0,T.rem)(23)}; `),uT=(0,b.default)(en).withConfig({componentId:"l144jf-5"})(["margin-left:",";"],(0,T.rem)(9.2)),uz=b.default.section.withConfig({componentId:"l144jf-6"})(["margin-bottom:",";"],(0,T.rem)(44));function uA({name:e,onSubmit:t}){let{0:r,1:n}=(0,l.useState)(!1),{0:i,1:o}=(0,l.useState)(e);return(0,l.useEffect)(()=>{o(e)},[e]),r?(0,j.jsx)(uL,{children:(0,j.jsx)(uf,{content:i,maxCharacterCount:P.aW,validate:e=>e.length>0&&e.length<=P.aW,onSave:e=>{e!==i&&(o(e),t(e)),n(!1)},fullWidth:!0,resetOnEmpty:!0,autoFocus:!0})}):(0,j.jsx)(uN,{name:i,onClick:()=>n(!0),editMode:!0})}function uN({name:e,clipLink:t,editMode:r=!1,onClick:n}){return(0,j.jsx)(uL,{tabIndex:r?0:-1,onClick:n,onKeyDown:e=>(0,D.$o)(e,()=>n?.()),children:r?(0,j.jsxs)(uK,{children:[e,(0,j.jsx)(uZ,{icon:(0,j.jsx)(eb.z,{}),variant:"hyperminimal",element:"span",format:"alternative"})]}):(0,j.jsx)(u$,{href:t,children:e})})}function uF({name:e,editMode:t,clipLink:r,onSubmit:n}){return t?(0,j.jsx)(uA,{name:e,onSubmit:n}):(0,j.jsx)(uN,{name:e,clipLink:r})}let uB=(0,b.css)(["font-size:",";font-weight:bold;line-height:",";color:",";letter-spacing:",";"],(0,T.rem)(42),(0,T.rem)(48),z.ix,(0,T.rem)(-.88)),uM=(0,b.css)(["padding:",";border:"," solid transparent;word-break:break-word;",""],(0,T.rem)(9.01),(0,T.rem)(1),V.B.hd` padding: ${(0,T.rem)(9.01)} ${(0,T.rem)(6)}; `),uL=b.default.article.withConfig({componentId:"sc-1yt2kmr-0"})(["margin:"," 0 ",";border-radius:",";"," textarea{",";padding:",";font-family:inherit;background:transparent;&:hover{background:transparent;}","}"],(0,T.rem)(6),(0,T.rem)(12),(0,T.rem)(4),V.B.hd` margin: ${(0,T.rem)(6)} ${(0,T.rem)(3)} ${(0,T.rem)(12)}; `,uB,(0,T.rem)(8.7),V.B.hd` padding: ${(0,T.rem)(8.7)} ${(0,T.rem)(6)}; `),u$=b.default.a.withConfig({componentId:"sc-1yt2kmr-1"})(["",";",";text-decoration:none;transition:all 230ms ease-in-out;display:block;&:hover{text-decoration:underline;color:",";}"],uB,uM,(0,z.iN)(500)),uK=b.default.p.withConfig({componentId:"sc-1yt2kmr-2"})(["",";",";cursor:text;&:hover{background:",";}"],uB,uM,(0,T.rgba)((0,z.iN)(500),.25)),uZ=(0,b.default)(A.z).withConfig({componentId:"sc-1yt2kmr-3"})(["display:inline;margin-left:",";",""],(0,T.rem)(10),V.B.sm` display: none; `);function uV({profileName:e,profileImg:t,name:r,clipId:n,clipLink:i,createdTime:o,categories:a,description:s,editMode:l,onSubmitName:c,onSubmitDescription:u,onUpdateCategories:d}){let g=new Date(o);return(0,j.jsxs)(j.Fragment,{children:[(0,j.jsx)(uU,{src:t,alt:e}),(0,j.jsx)(uF,{name:r,clipLink:i,editMode:l,onSubmit:c}),(0,j.jsx)(uJ,{size:"5",theme:ow.themes.dark,children:(0,j.jsx)("time",{dateTime:g.toString(),title:g.toLocaleString(),children:(0,c5.Zh)(g)})}),(0,j.jsx)(uc,{categories:a,editMode:l,clipId:n,onUpdate:d}),(0,j.jsx)(uE,{description:s||"",editMode:l,onSubmit:u})]})}let uU=b.default.img.withConfig({componentId:"sc-14gtz3l-0"})(["height:",";width:",";border-radius:100%;margin-left:",";",""],(0,T.rem)(24),(0,T.rem)(24),(0,T.rem)(9.2),V.B.hd` margin-left: ${(0,T.rem)(12.2)}; `),uJ=(0,b.default)(tJ.h).withConfig({componentId:"sc-14gtz3l-1"})(["margin:"," 0 0 ",";letter-spacing:0;",""],(0,T.rem)(7),(0,T.rem)(9.2),V.B.hd` margin-left: ${(0,T.rem)(12.2)}; `);function uH({name:e,clipId:t,configUrl:r,clipImage:n,clipSrcSet:i,currentTime:o,badgeType:a,isScheduledEvent:s=!1}){let c=(0,l.useRef)(null),{0:u,1:d}=(0,l.useState)(!1),{player:g}=(0,ng.Z)(c,t,!0,r,!1);return(0,l.useEffect)(()=>(d(!0),g&&g.ready&&g.ready(()=>{o&&g.seekTo(o),s?d(!1):g.play().then(()=>{d(!1)}).catch(()=>{d(!1)})}),()=>{g&&g.ready&&!s&&g.ready(()=>{g.volume=0,g.play().then(()=>g.pause())})}),[o,s,g]),(0,j.jsx)(uq,{children:(0,j.jsx)(uG,{children:(0,j.jsxs)(uW,{children:[u?(0,j.jsx)(uX,{children:(0,j.jsx)(y.I,{size:"xl",format:"basic"})}):null,(0,j.jsx)(su,{badgeType:a&&u?a:""}),(0,j.jsx)(uQ,{src:n,srcSet:i,alt:e,show:u}),(0,j.jsx)(uY,{show:!u,children:(0,j.jsx)("div",{ref:c,className:"player js-player"})})]})})})}let uq=b.default.header.withConfig({componentId:"sc-1na8mjf-0"})(["padding-top:56.25%;position:relative;height:0;overflow:hidden;width:100%;border-radius:",";"],(0,T.rem)(10)),uG=b.default.article.withConfig({componentId:"sc-1na8mjf-1"})(["position:absolute;top:0;left:0;width:100%;height:100%;"]),uW=b.default.article.withConfig({componentId:"sc-1na8mjf-2"})(["height:100%;display:flex;justify-content:center;align-items:center;"]),uY=b.default.article.withConfig({componentId:"sc-1na8mjf-3"})(["opacity:0;width:100%;height:100%;",""],({show:e})=>e&&(0,b.css)(["opacity:1;"])),uX=b.default.article.withConfig({componentId:"sc-1na8mjf-4"})(["position:absolute;top:0;left:0;width:100%;height:100%;display:flex;align-items:center;justify-content:center;z-index:2;"]),uQ=b.default.img.withConfig({componentId:"sc-1na8mjf-5"})(["display:block;position:absolute;top:0;left:0;width:100%;height:100%;object-fit:contain;background-color:#000;opacity:0;z-index:1;pointer-events:none;",""],({show:e})=>e&&(0,b.css)(["opacity:1;"]));function u0({clip:e,currentTime:t,profile:r,onClose:n,previous:i,next:o,onChange:a,playerAssetUrls:s,navDirection:c,selectedCategory:u}){let{editMode:d,userId:g}=(0,l.useContext)(O.Z),{updateVideoData:p,updateCategories:m}=function(e){let t=(0,l.useContext)(t5.eO),{userId:r}=(0,l.useContext)(O.Z),{mutate:n}=aw(e,!1),i=(0,E.Z)(),o=(0,E.Z)(),{0:a,1:s}=(0,l.useState)(),c=(0,l.useCallback)((t,i,o)=>{e&&n(e=>{let r=(0,D.L)(e).map(e=>{if((0,D.qx)(e.uri)===t){let t=c0({},e);return t[i]=o,t}return e});return(0,D.Nt)(r,e,P.wg.perPage)},!1);let a=RegExp(`^arg@"many"@"users/${r}/profile_sections/\\d+/videos`),s=new Set;return k.Fs.keys().forEach(e=>{if(a.test(e)){let r=k.Fs.get(e),n=(0,D.L)(r).findIndex(e=>(0,D.qx)(e.clip.uri)===t);-1!==n&&(s.add(e),(0,k.JG)(e,e=>{let t=(0,D.L)(e),r=c0({},t[n]);return r[i]=o,t.splice(n,1,r),(0,D.Nt)(t,e,P.wU.perPage)},!1))}}),[...s.values()]},[e,n,r]),u=(0,l.useCallback)(t=>{e?n():t?.forEach(e=>k.JG(e))},[n,e]);return{updateVideoData:(0,l.useCallback)((e,r,n)=>{s(void 0);let o=r?{name:r}:{description:n},a=r?["name"]:["description"],l=c(e,a[0],o[a[0]]);i(`videos/${e}`,{fields:a},P.s1.PATCH,o).then(()=>{u(l),t()}).catch(e=>{u(l),s(e)})},[i,c,t,u]),updateCategories:(0,l.useCallback)((e,r)=>{s(void 0);let n=r.map(e=>({category:cW(e.uri)})),i=c(e,"categories",r);return o(`videos/${e}/categories`,void 0,P.s1.PUT,n).then(()=>{u(i),t()}).catch(e=>{throw u(i),s(e),"function"==typeof e.json&&e.json().then(e=>t({content:e.error,status:"negative"})),Error()})},[o,c,t,u]),error:a}}(u),f=(0,D.qx)(e.uri),h=(0,D.qx)(e.user.uri),b=(0,l.useMemo)(()=>rq(e),[e]),y=(0,l.useMemo)(()=>b.length>1?b.slice(1).map((e,t)=>`${e} ${t+2}x`).join(", "):"",[b]),x=(0,l.useMemo)(()=>{let t="live"===e.type,r=e.duration>0,n=e.live?.status===P.zZ.STREAMING;return t&&!r&&!n},[e.type,e.duration,e.live?.status]);(0,r9.Z)(e=>{let t=e.target;e.keyCode!==P.mW.ESC||/input|textarea/gi.test(t.nodeName)||n()},[n]),(0,l.useEffect)(()=>{let e=document?.querySelector("body"),t=window?.scrollY||0;return e&&(e.style.position="fixed",e.style.top=`-${t}px`),()=>{e&&(e.style.position="",e.style.top="",window?.scrollTo(0,t))}},[]);let v=(0,nO.q_)({to:{transform:"translateX(0)"},from:{transform:null==c?"translateX(0)":-1===c?"translateX(-200%)":"translateX(200%)"},config:{mass:1,tension:200,friction:10,clamp:!0}});return(0,j.jsxs)($.Z,{type:K.G.VimeoPlayer,assetUrls:s,children:[(0,j.jsx)(u2,{autoFocus:!0}),(0,j.jsx)(u3,{onClick:n,children:(0,j.jsx)(u8,{height:"45",width:"45"})}),(0,j.jsxs)(u1,{style:v,children:[(0,j.jsxs)(u5,{children:[(0,j.jsx)(uH,{name:e.name,clipId:f,clipImage:b[0],clipSrcSet:y,configUrl:e.configUrl,currentTime:t,badgeType:e.badge?.type,isScheduledEvent:x}),(0,j.jsxs)(u6,{children:[(0,j.jsxs)(u9,{onClick:()=>i?a(i,-1):void 0,disabled:null==i,children:[(0,j.jsx)(de,{height:"12",width:"10"})," ",Y.Z.Previous]}),(0,j.jsxs)(u9,{onClick:()=>o?a(o,1):void 0,disabled:null==o,children:[Y.Z.UpNext," ",(0,j.jsx)(u7,{height:"12",width:"10"})]})]})]}),(0,j.jsx)(u4,{children:(0,j.jsx)(uV,{categories:e.categories||[],createdTime:e.createdTime,description:e.description,name:e.name,profileImg:r.pictures.sizes[2].link,profileName:r.name,clipId:f,clipLink:e.link,editMode:d&&h===g,onSubmitName:e=>p(f,e),onSubmitDescription:e=>p(f,void 0,e),onUpdateCategories:m})})]})]})}let u1=(0,b.default)(nO.q.section).withConfig({componentId:"sc-1yr9rb6-0"})(["height:100%;width:100%;position:relative;padding:"," "," "," ",";"," "," ",""],(0,T.rem)(79),(0,T.rem)(15),(0,T.rem)(81),(0,T.rem)(18),V.B.sm` padding: ${(0,T.rem)(93)} ${(0,T.rem)(30)} ${(0,T.rem)(90)}; `,V.B.md` padding: ${(0,T.rem)(93)} ${(0,T.rem)(125)} ${(0,T.rem)(113)}; `,V.B.hd` display: flex; padding: 0; `),u2=b.default.button.withConfig({componentId:"sc-1yr9rb6-1"})(["opacity:0;"]),u3=b.default.button.withConfig({componentId:"sc-1yr9rb6-2"})(["position:absolute;top:",";right:",";cursor:pointer;z-index:1;background:transparent;border:none;"],(0,T.rem)(20),(0,T.rem)(20)),u5=b.default.section.withConfig({componentId:"sc-1yr9rb6-3"})([""," ",""],V.B.hd` height: 100%; display: inline-block; width: calc(75% - ${(0,T.rem)(28)}); margin-right: ${(0,T.rem)(28)}; padding: ${(0,T.rem)(50)} 0 0 ${(0,T.rem)(60)}; box-sizing: border-box; `,V.B.xhd` width: calc(75% - ${(0,T.rem)(35)}); margin-right: ${(0,T.rem)(35)}; padding-top: ${(0,T.rem)(153)}; `),u4=b.default.article.withConfig({componentId:"sc-1yr9rb6-4"})(["margin:"," 0;"," ",""],(0,T.rem)(48),V.B.hd` height: 100%; display: inline-block; overflow: hidden; overflow-y: auto; width: 25%; margin: 0; padding: ${(0,T.rem)(75)} ${(0,T.rem)(60)} 0 ${(0,T.rem)(28)}; `,V.B.xhd` padding: ${(0,T.rem)(160)} ${(0,T.rem)(70)} 0 ${(0,T.rem)(35)}; `),u8=(0,b.default)(B.n).withConfig({componentId:"sc-1yr9rb6-5"})(["path{fill:",";transition:fill 230ms ease-in-out;}&:hover{path{fill:",";}}"],(0,z.ae)(500),(0,z.ae)(300)),u6=b.default.article.withConfig({componentId:"sc-1yr9rb6-6"})(["display:flex;justify-content:space-between;margin-top:",";"],(0,T.rem)(23)),u9=b.default.button.withConfig({componentId:"sc-1yr9rb6-7"})(["font-size:",";font-weight:bold;color:",";text-shadow:0 "," "," 0 ",";letter-spacing:",";line-height:",";display:flex;align-items:center;opacity:0.5;transition:opacity 230ms linear;background:transparent;border:none;svg g{fill:",";}"," "," "," "," ",""],(0,T.rem)(16),z.ix,(0,T.rem)(2),(0,T.rem)(3),(0,T.rgba)(z.Sn,.08),(0,T.rem)(.23),(0,T.rem)(20),z.ix,({disabled:e})=>e?(0,b.css)(["pointer-events:none;cursor:not-allowed;opacity:0.2;"]):(0,b.css)(["cursor:pointer;&:hover{opacity:1;}"]),V.B.sm` font-size: ${(0,T.rem)(16)}; letter-spacing: ${(0,T.rem)(.23)}; line-height: ${(0,T.rem)(20)}; `,V.B.md` font-size: ${(0,T.rem)(14)}; letter-spacing: ${(0,T.rem)(.2)}; `,V.B.hd` line-height: ${(0,T.rem)(17)}; `,V.B.xhd` font-size: ${(0,T.rem)(16)}; letter-spacing: ${(0,T.rem)(.23)}; line-height: ${(0,T.rem)(22)}; `),u7=(0,b.default)(c3).withConfig({componentId:"sc-1yr9rb6-8"})(["transform:rotate(180deg);margin-left:",";"],(0,T.rem)(6)),de=(0,b.default)(c3).withConfig({componentId:"sc-1yr9rb6-9"})(["margin-right:",";"],(0,T.rem)(6));function dt(){return(0,j.jsxs)(dr,{children:[(0,j.jsx)(e0,{height:"36",width:"36"}),(0,j.jsx)(dn,{className:"badge-description",children:Y.Z.AvailableForHire})]})}let dr=b.default.span.withConfig({componentId:"sc-1yj1rte-0"})(["display:flex;align-items:center;padding:"," "," "," ",";&:hover{background-color:",";border-radius:",";box-shadow:0 "," "," 0 ",";.badge-description{opacity:1;width:calc(100% - ",");}}"],(0,T.rem)(2),(0,T.rem)(12),(0,T.rem)(2),(0,T.rem)(2),({theme:e})=>e.content.background,(0,T.rem)(22),(0,T.rem)(5),(0,T.rem)(12),(0,T.rgba)(z.Sn,.2),(0,T.rem)(36)),dn=(0,b.default)(tJ.h).attrs({format:"soft",size:"6",element:"span"}).withConfig({componentId:"sc-1yj1rte-1"})(["line-height:",";padding-left:",";overflow:hidden;white-space:nowrap;margin:0;width:0;opacity:0;transition:opacity 230ms ease-in;"],(0,T.rem)(24),(0,T.rem)(4)),di={40962:"pixelXDimension",40963:"pixelYDimension"},da={34665:"ExifIFDPointer",274:"orientation"};function ds(e,t,r,n,i){let o,a,s;let l=e.getUint16(r,!i),c={};for(s=0;s2?c:t+8,o=[];a{let r=new FileReader,n=new Image,i=document.createElement("canvas"),o=e=>{let r=new Image;r.src=e,r.onload=()=>t(r)},a=e=>{let t=n.width,r=n.height,a=t/r,s=0,l=!1;e instanceof Object&&(s=e.orientation,l=e.pixelXDimension===t&&e.pixelYDimension===r),(t>5120||r>2880)&&(a>=5120/2880?(r*=5120/t,t=5120):(t*=2880/r,r=2880));let c=i.getContext("2d");if(l){if(4{if(t.target){let r=t.target.result,i=function(e){let t=new DataView(e);if(255!==t.getUint8(0)||216!==t.getUint8(1))return!1;let r=2,n=e.byteLength;for(;ra(i),n.src=o}},r.readAsArrayBuffer(e)},dc=e=>{let t;let r=e.split(","),n=new Uint8Array(new ArrayBuffer((t=r[0].indexOf("base64")>=0?atob(r[1]):decodeURIComponent(r[1])).length));for(let e=0;e{let o=(0,l.useRef)(null),a=(0,l.useRef)(null),s=(0,l.useRef)(null),{0:c,1:u}=(0,l.useState)(!0),d=(0,l.useRef)(null),{0:g,1:p}=(0,l.useState)({top:0,left:0}),[{pos:m},f]=(0,nO.q_)(()=>({pos:[0,0]})),{0:h,1:b}=(0,l.useState)(!1),y=(0,l.useCallback)(n=>{if(null!==n){let{offsetWidth:i,offsetHeight:o}=n;f({pos:[-(e*t.naturalWidth-i)/2,-(e*t.naturalHeight-o)/2],immediate:!0}),p({left:(i-r)/2,top:(o-r)/2})}},[n,t,r]);(0,l.useImperativeHandle)(i,()=>({calculateCropSize(){let n=s.current,i=o.current;if(n&&i){let{top:o,left:a}=n.getBoundingClientRect(),{top:s,left:l}=i.getBoundingClientRect(),c=Math.max(Math.round((a-l)/e),0),u=Math.max(Math.round((o-s)/e),0),d=r/e,g=Math.min(Math.round(c+d),t.naturalWidth),p=Math.min(Math.round(u+d),t.naturalHeight);return{xMin:c,yMin:u,xMax:g,yMax:p}}}}));let x=e=>{let[t,n]=e,{offsetWidth:i,offsetHeight:a}=o.current||{offsetWidth:0,offsetHeight:0},s=g.left+r-i,l=g.top+r-a;return t>g.left?t=g.left:tg.top?n=g.top:n{let i=(0,op.sF)(r,n);return b(e),f({pos:x(i),immediate:t}),n});(0,l.useEffect)(()=>{let{naturalWidth:n,naturalHeight:i}=t,s=n*e,l=i*e,[d,g]=m.getValue();if(s>=r&&l>=r&&o.current&&a.current){let e=(o.current.width-s)/2+d,t=(o.current.height-l)/2+g;o.current.height=a.current.height=l,o.current.width=a.current.width=s,c?u(!1):f({pos:x([e,t]),immediate:!0})}},[e,n]);let w=(e,r={top:0,left:0})=>(0,j.jsx)(nO.q.div,dd(dd({},v()),{},{ref:d,style:{cursor:h?"grabbing":"grab",transform:(0,nO.sX)(m,(e,t)=>`translate3d(${e-r.left}px, ${t-r.top}px, 0px)`)},children:(0,j.jsx)("img",{src:t.src,ref:e,alt:t.name,draggable:!1,onDragStart:e=>{e.preventDefault()}})}));return(0,j.jsxs)(dp,{ref:y,children:[(0,j.jsx)(df,{imageCropCircleDiameter:r,ref:s,style:{transform:`translate3d(${g.left}px, ${g.top}px, 0px)`},children:w(a,g)}),(0,j.jsx)(dm,{children:w(o)})]})}),dp=b.default.div.withConfig({componentId:"sc-13uocam-0"})(["background-color:",";overflow:hidden;position:relative;height:",";",""],(0,T.rgba)((0,z.se)(850),.7),(0,T.rem)(255),V.B.sm` height: ${(0,T.rem)(284)}; `),dm=b.default.div.withConfig({componentId:"sc-13uocam-1"})(["opacity:0.5;position:relative;user-select:none;"]),df=b.default.div.withConfig({componentId:"sc-13uocam-2"})(["position:absolute;height:",";width:",";border-radius:50%;overflow:hidden;"],({imageCropCircleDiameter:e})=>(0,T.rem)(e),({imageCropCircleDiameter:e})=>(0,T.rem)(e)),dh=b.default.div.withConfig({componentId:"sc-1m3oco8-0"})(["background-color:",";border-bottom:"," solid ",";border-top:"," solid ",";bottom:",";height:",";margin-right:",";position:relative;width:",";cursor:pointer;"],(0,z.ae)(800),(0,T.rem)(7),z.ix,(0,T.rem)(7),z.ix,(0,T.rem)(5),(0,T.rem)(16),(0,T.rem)(4),(0,T.rem)(16)),db=b.default.div.withConfig({componentId:"sc-1m3oco8-1"})(["display:flex;"]),dy=b.default.div.withConfig({componentId:"sc-1m3oco8-2"})(["background-image:",";border-radius:",";height:",";width:100%;transform:translateX(",");cursor:pointer;"],({value:e})=>`linear-gradient(to right, ${(0,z.iN)(500)} ${e}%, ${(0,z.ae)(100)} ${e}%)`,(0,T.rem)(3),(0,T.rem)(4),(0,T.rem)(10)),dj=b.default.div.withConfig({componentId:"sc-1m3oco8-3"})(["bottom:",";height:",";position:relative;width:",";cursor:pointer;background:linear-gradient(",",","),linear-gradient(",",",");background-position:center;background-size:55% ",","," 50%;background-repeat:no-repeat;"],(0,T.rem)(12),(0,T.rem)(30),(0,T.rem)(30),(0,z.ae)(800),(0,z.ae)(800),(0,z.ae)(800),(0,z.ae)(800),(0,T.rem)(1.8),(0,T.rem)(1.8)),dx=b.default.div.withConfig({componentId:"sc-1m3oco8-4"})(["padding:"," ",";height:",";"],(0,T.rem)(40),(0,T.rem)(22),(0,T.rem)(80)),dv=b.default.div.withConfig({componentId:"sc-1m3oco8-5"})(["background-color:",";border-radius:50%;top:0.25rem;left:0.25rem;pointer-events:none;width:calc(100% - ",");height:calc(100% - ",");position:absolute;"],(0,z.iN)(500),(0,T.rem)(8),(0,T.rem)(8)),dw=(0,b.default)(nO.q.div).withConfig({componentId:"sc-1m3oco8-6"})(["background-color:transparent;cursor:grab;height:",";position:absolute;width:",";top:",";z-index:2;"],(0,T.rem)(24),(0,T.rem)(24),(0,T.rem)(-10)),dC=b.default.div.withConfig({componentId:"sc-1m3oco8-7"})(["padding:0 "," 0 ",";position:relative;width:100%;user-drag:none;"],(0,T.rem)(26),(0,T.rem)(10));function dO(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function dk(e){for(var t=1;tr=>r>t?t:r({x:[0]})),c=e=>100*dE(0,n.current.width)(e)/n.current.width,u=e=>{let t=dE(0,100)(e);return n.current.width*t/100},d=(0,l.useCallback)(t=>{if(null!==t){let{left:r,width:i}=t.getBoundingClientRect();n.current={left:r,width:i},s({x:[u(e)],immediate:!0})}},[r,e]),g=r=>{s({x:[u(e+r)],immediate:!0}),t(Math[0>r?"max":"min"](e+r,0>r?0:100))},p=(0,op.c0)(({down:e,active:r,movement:l,memo:u=a.getValue()})=>{let d=(0,op.sF)(l,u)[0];if(i.current&&(i.current.style.cursor=e?"grabbing":"grab"),n.current?.width>=d&&d>-1){s({x:[d],immediate:r});let e=c(d);Math.abs(e-o.current)>=1&&(t(e),o.current=e)}return u});return(0,j.jsx)(dx,{children:(0,j.jsxs)(db,{children:[(0,j.jsx)(dh,{onClick:()=>g(-1)}),(0,j.jsxs)(dC,{draggable:!1,children:[(0,j.jsx)(dy,{ref:d,value:e,onClick:e=>{let r=e.nativeEvent.clientX-n.current.left;s({x:[r],immediate:!0}),t(c(r))}}),(0,j.jsx)(dw,dk(dk({},p()),{},{ref:i,style:{transform:(0,nO.sX)(a,e=>`translate3D(${e}px, 0, 0)`)},children:(0,j.jsx)(dv,{draggable:!1})}))]}),(0,j.jsx)(dj,{onClick:()=>g(1)})]})})}let dP=(e,t)=>t?100*e/Math.min(t.naturalHeight,t.naturalWidth):0,dS=(0,l.forwardRef)(({onDismiss:e,image:t,onSubmit:r},n)=>{let{width:i}=(0,Z.i)(),o=(0,l.useMemo)(()=>i>480?P.ad:P.Xy,[i]),a=(0,l.useRef)(dP(o,t)),{0:s,1:c}=(0,l.useState)(50+a.current),{0:u,1:d}=(0,l.useState)(!1);return(0,l.useEffect)(()=>{a.current=dP(o,t),c(50+a.current)},[t,o]),(0,j.jsxs)(d_,{children:[(0,j.jsxs)(dD,{children:[(0,j.jsx)(dT,{children:Y.Z.CropThumbnail}),(0,j.jsx)(dz,{icon:(0,j.jsx)(B.n,{}),size:"sm",variant:"minimalTransparent",format:"basic",onClick:e})]}),(0,j.jsx)(j.Fragment,{children:t?(0,j.jsxs)(dR,{disabled:u,children:[(0,j.jsx)(dg,{ref:n,image:t,zoomRatio:s/100,imageCropCircleDiameter:o,windowWidth:i}),(0,j.jsx)(dI,{value:s-a.current,onChange:e=>c(e+a.current),windowWidth:i})]}):(0,j.jsx)(dB,{children:(0,j.jsx)(y.I,{size:"xl"})})}),(0,j.jsxs)(dA,{children:[(0,j.jsx)(dF,{format:"secondary",onClick:e,children:Y.Z.Cancel}),(0,j.jsx)(dN,{loading:u,onClick:()=>{d(!0),r()},disabled:!t||u,children:Y.Z.Done})]})]})}),dR=b.default.div.withConfig({componentId:"u4p3bo-0"})(["",""],({disabled:e})=>e&&(0,b.css)(["pointer-events:none;opacity:0.6;"])),d_=b.default.section.withConfig({componentId:"u4p3bo-1"})(["border-radius:",";background:white;position:relative;user-select:none;overflow:scroll;width:90vw;height:85vh;max-width:",";max-height:",";"],(0,T.rem)(4),(0,T.rem)(506),(0,T.rem)(516)),dD=b.default.header.withConfig({componentId:"u4p3bo-2"})(["height:",";"],(0,T.rem)(72)),dT=b.default.span.withConfig({componentId:"u4p3bo-3"})(["position:absolute;color:",";font-size:",";font-weight:bold;line-height:",";margin:"," 0 0 ",";user-select:none;"],(0,z.ae)(800),(0,T.rem)(18),(0,T.rem)(20),(0,T.rem)(24),(0,T.rem)(24)),dz=(0,b.default)(A.z).withConfig({componentId:"u4p3bo-4"})(["position:absolute;top:",";right:",";"],(0,T.rem)(16),(0,T.rem)(16)),dA=b.default.footer.withConfig({componentId:"u4p3bo-5"})(["width:100%;display:flex;justify-content:flex-end;flex-direction:column;box-shadow:0 "," "," 0 ",";padding:",";user-select:none;padding:",";",""],(0,T.rem)(-4),(0,T.rem)(8),(0,T.rgba)(z.Sn,.04),(0,T.rem)(10),(0,T.rem)(10),V.B.xmd` flex-direction: row; padding: ${(0,T.rem)(20)} ${(0,T.rem)(24)}; `),dN=(0,b.default)(A.z).withConfig({componentId:"u4p3bo-6"})(["height:",";",""],(0,T.rem)(40),V.B.xmd` width: ${(0,T.rem)(120)}; `),dF=(0,b.default)(dN).withConfig({componentId:"u4p3bo-7"})(["margin-bottom:",";",""],(0,T.rem)(6),V.B.xmd` margin: 0 ${(0,T.rem)(8)} 0; `),dB=b.default.aside.withConfig({componentId:"u4p3bo-8"})(["width:100%;height:calc(100% - ",");z-index:1;display:flex;justify-content:center;align-items:center;height:",";",""],(0,T.rem)(152),(0,T.rem)(366),V.B.sm` height: ${(0,T.rem)(284)}; `);function dM({onChange:e,children:t,className:r}){let n=(0,l.useRef)(null),i=(0,l.useRef)(null),{0:o,1:a}=(0,l.useState)(!1),{0:s,1:c}=(0,l.useState)(),{0:u,1:d}=(0,l.useState)(null),g="/me/pictures/",p=(0,l.useContext)(t5.eO);(0,r9.Z)(o?e=>(0,D.i2)(e,()=>a(!1)):void 0,[o]);let[{post:m},{data:f}]=(0,ig.D)(g),[{patch:h},{data:b}]=(0,ig.D)(g+u);return(0,l.useEffect)(()=>{(async e=>{if(s&&e){let t=dc(s.src),r=new File([t],"profile_pic"),n=await fetch(e,{method:"PUT",body:r,headers:{"Content-Type":t.type}});n.ok&&n.json().then(e=>{"success"===e.Status.toLowerCase()&&d((0,D.qx)(e.Path))})}})(f?.link)},[f]),(0,l.useEffect)(()=>{b&&(e(b),c(void 0),a(!1),p())},[b]),(0,l.useEffect)(()=>{let e=i.current?.calculateCropSize();u&&e&&(h({variables:{active:!0,picture_prefs:{subrect:Object.values(e).join(","),r:"cover"}}}),d(null))},[u]),(0,j.jsxs)(j.Fragment,{children:[(0,j.jsxs)(d$,{onClick:()=>{n.current?.click()},className:r,children:[t,(0,j.jsx)(dL,{ref:n,type:"file",accept:"image/*",name:"upload",onChange:e=>{let t=e.target;if(t.files&&t.files.length>0){let e=t.files[0];a(!0),dl(e,t=>{t.name=e.name,c(t)}),t.value=""}}})]}),o&&(0,j.jsx)(dK,{active:o,onOpen:()=>a(!1),content:(0,j.jsx)(dS,{image:s,ref:i,onSubmit:()=>m({}),onDismiss:()=>{a(!1),c(void 0)}})})]})}let dL=b.default.input.withConfig({componentId:"sc-1583nj1-0"})(["position:absolute;visibility:hidden;opacity:0;z-index:-1;"]),d$=b.default.div.withConfig({componentId:"sc-1583nj1-1"})(["cursor:pointer;"]),dK=(0,b.default)(M.u).withConfig({componentId:"sc-1583nj1-2"})(["width:90vw;height:85vh;max-width:",";max-height:",";"],(0,T.rem)(506),(0,T.rem)(516));function dZ(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function dV(e){for(var t=1;tt.sizes[3].link,[t.sizes]),c=(0,l.useMemo)(()=>rG(t),[t]),u="default"===t.type;return(0,j.jsxs)(dJ,{children:[n&&!i&&(0,j.jsx)(dG,{children:(0,j.jsx)(dt,{})}),(0,j.jsx)(dH,{isDefaultPic:u,children:e?(0,j.jsxs)(dM,{onChange:e=>{if(a(e),o?.user&&o.setUser){let t=o.user;o.setUser(dV(dV({},t),{},{pictures:e}))}},className:"container",children:[(0,j.jsx)(rU.q,{alt:r,src:s,srcSet:c}),(0,j.jsx)(dq,{isDefaultPic:u,className:"content",children:Y.Z.UploadPicture})]}):(0,j.jsx)(rU.q,{alt:r,src:s,srcSet:c})})]})}let dJ=b.default.div.withConfig({componentId:"sc-1harknu-0"})(["position:relative;margin-top:-",";",";",""],(0,T.rem)(35),V.B.sm` margin-top: -${(0,T.rem)(20)}; `,V.B.md` margin-top: 0; margin-left: ${(0,T.rem)(10)}; `),dH=b.default.div.withConfig({componentId:"sc-1harknu-1"})(["height:",";width:",";position:relative;overflow:hidden;border-radius:100%;",""],(0,T.rem)(122),(0,T.rem)(122),({isDefaultPic:e})=>!e&&(0,b.css)(["&:hover .container .content{bottom:-60%;}@media (any-hover:none){.container .content{bottom:-60%;}}"])),dq=b.default.div.withConfig({componentId:"sc-1harknu-2"})(["height:100%;left:0;position:absolute;transition:bottom 0.2s ease;width:100%;color:",";font-size:",";font-weight:bold;letter-spacing:0;line-height:",";text-align:center;background:",";padding-top:",";word-spacing:100vw;",""],(0,z.ae)(50),(0,T.rem)(14),(0,T.rem)(16),(0,T.rgba)(z.Sn,.5),(0,T.rem)(6),({isDefaultPic:e})=>e?(0,b.css)(["bottom:0;display:flex;flex-direction:column;justify-content:center;"]):(0,b.css)(["bottom:-100%;"])),dG=b.default.aside.withConfig({componentId:"sc-1harknu-3"})(["position:absolute;left:",";top:0;z-index:1;"],(0,T.rem)(88));function dW(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function dY(e){let{name:t,canEditPersonalInfo:r,isExpert:n}=e,{editMode:i}=(0,l.useContext)(O.Z);return(0,j.jsx)(d5,{children:i&&r?(0,j.jsx)(dX,function(e){for(var t=1;t{a("");let n=r.trim();n?n.length&&n.length<=P.T$?(e!==n&&t({name:n}),i(!1)):n.length>P.T$&&a(Y.Z.TooLongNameError):a(Y.Z.NameIsRequired)};return(0,j.jsx)(d0,{tabIndex:0,onKeyDown:e=>(0,D.$o)(e,()=>{n||i(!0)},!1),children:n?(0,j.jsxs)(d3,{hasError:!!o.length,children:[(0,j.jsx)(o7,{value:e,onSubmit:e=>s(e),errorMsg:o,onChange:()=>a("")}),!!o&&(0,j.jsx)(el,{children:o})]}):(0,j.jsx)(d1,{children:(0,j.jsx)(d2,{editMode:!0,onClick:()=>i(!0),children:(0,j.jsxs)("span",{children:[(0,j.jsx)(d6,{children:e}),r&&(0,j.jsx)(d4,{}),(0,j.jsx)(d8,{children:(0,j.jsx)(ey,{inlineMargin:!0,onClick:()=>i(!0)})})]})})})})}let dQ=(0,b.css)(["font-family:inherit;font-size:",";font-weight:bold;min-height:",";letter-spacing:",";display:flex;flex-direction:column;justify-content:center;"],(0,T.rem)(28),(0,T.rem)(45),(0,T.rem)(-.7)),d0=b.default.div.withConfig({componentId:"sc-1vh8z9w-0"})(["&:hover{outline:none;}"]),d1=b.default.div.withConfig({componentId:"sc-1vh8z9w-1"})(["padding:"," 0;",""],(0,T.rem)(5.5),V.B.md` padding: 0; `),d2=b.default.div.withConfig({componentId:"sc-1vh8z9w-2"})([""," padding:0 ",";"," word-break:break-word;box-sizing:border-box;border:"," solid transparent;",""],dQ,(0,T.rem)(10),V.B.md` margin-top: ${(0,T.rem)(4)}; `,(0,T.rem)(1),({editMode:e})=>e&&ec),d3=b.default.div.withConfig({componentId:"sc-1vh8z9w-3"})(["position:relative;margin-top:",";input{"," padding:"," "," "," ",";}"],(0,T.rem)(4),dQ,(0,T.rem)(4.7),(0,T.rem)(36),(0,T.rem)(4.7),(0,T.rem)(10)),d5=b.default.div.withConfig({componentId:"sc-1vh8z9w-4"})(["margin-top:",";",""],(0,T.rem)(10),V.B.md` margin-top: 0; `),d4=(0,b.default)(nd).withConfig({componentId:"sc-1vh8z9w-5"})(["transform:translateY(-",");border-radius:",";font-size:",";width:fit-content;display:inline-block;a{font-weight:700;padding:"," ",";}"],(0,T.rem)(4),(0,T.rem)(2),(0,T.rem)(9),(0,T.rem)(2),(0,T.rem)(4)),d8=b.default.div.withConfig({componentId:"sc-1vh8z9w-6"})(["display:inline;div{transform:translateY(-",");}"],(0,T.rem)(4)),d6=b.default.div.withConfig({componentId:"sc-1vh8z9w-7"})(["margin-right:",";display:inline;"],(0,T.rem)(8));var d9=r(645720);function d7(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function ge(e){let{gender:t,pronounsList:r}=e,n=(0,l.useMemo)(()=>r.find(e=>e.value===t)||r[0],[t,r]),{editMode:i}=(0,l.useContext)(O.Z);return i?(0,j.jsx)(gu,{children:(0,j.jsx)(gt,function(e){for(var t=1;te?t.findIndex(t=>t.value===e):0,[e,t]),u=(0,l.useRef)(null),d=e=>{e.label!==r?.label&&n({gender:e.value})},g=()=>{d(r),o(!1)};(0,t9.Z)(i?u:null,g,null,[r,i]);let p=e=>{s(e)};return(0,l.useEffect)(()=>s(c),[c,i]),(0,j.jsxs)(gr,{ref:u,tabIndex:0,onKeyDown:e=>{e.keyCode===P.mW.UP?(s(a>0?a-1:a),e.preventDefault()):e.keyCode===P.mW.DOWN?(s(ao(!0),children:[r.label,(0,j.jsx)(go,{children:(0,j.jsx)(d9._,{})})]}),i&&(0,j.jsx)(gs,{children:t.map((e,t)=>(0,j.jsxs)(gl,{isActive:t===a,onMouseEnter:()=>p(t),onClick:()=>{d(e),o(!1)},children:[r.value===e.value&&(0,j.jsx)(ga,{children:(0,j.jsx)(nb.M,{})}),e.label]},`option-${t}`))})]}),!i&&(0,j.jsxs)(j.Fragment,{children:[(0,j.jsx)(gc,{className:"pronouns-view-mode",size:"2",onClick:()=>o(!0),children:r.label}),(0,j.jsx)(ey,{onClick:()=>o(!0)})]})]})}let gr=b.default.div.withConfig({componentId:"sc-1xq3kqr-0"})([".pronouns-edit-mode{display:none;}"," ",""],V.B.mlg` &:hover { outline: none; .pronouns-edit-mode { display: flex; } .pronouns-view-mode { display: none; } } `,({hideOutline:e})=>e&&(0,b.css)(["&:focus{outline:none;}"])),gn=b.default.div.withConfig({componentId:"sc-1xq3kqr-1"})(["display:flex;align-items:center;justify-content:center;"]),gi=b.default.div.withConfig({componentId:"sc-1xq3kqr-2"})(["width:100%;padding:"," ",";cursor:pointer;font-size:",";font-weight:500;letter-spacing:",";display:flex;justify-content:space-between;border:"," solid ",";border-radius:",";"],(0,T.rem)(11),(0,T.rem)(9),(0,T.rem)(14),(0,T.rem)(.16),(0,T.rem)(1),(0,z.se)(150),(0,T.rem)(3)),go=b.default.div.withConfig({componentId:"sc-1xq3kqr-3"})(["display:inline-block;height:",";width:",";"],(0,T.rem)(10),(0,T.rem)(21)),ga=(0,b.default)(go).withConfig({componentId:"sc-1xq3kqr-4"})(["svg path{fill:",";}vertical-align:sub;position:absolute;left:",";"],(0,z.iN)(500),(0,T.rem)(5)),gs=b.default.ul.withConfig({componentId:"sc-1xq3kqr-5"})(["min-width:",";background:",";box-shadow:0 0 "," 0 ",",0 "," "," 0 ",";border-radius:",";position:absolute;color:",";overflow:auto;padding:",";margin-top:",";border:"," solid ",";z-index:1;"],(0,T.rem)(235),z.ix,(0,T.rem)(1),(0,T.rgba)(z.Sn,.15),(0,T.rem)(4),(0,T.rem)(8),(0,T.rgba)(z.Sn,.15),(0,T.rem)(3),(0,z.ae)(800),(0,T.rem)(10),(0,T.rem)(80),(0,T.rem)(1),(0,z.se)(150)),gl=b.default.li.withConfig({componentId:"sc-1xq3kqr-6"})(["height:",";font-size:",";line-height:",";padding:"," 0 "," ",";cursor:pointer;position:relative;",""],(0,T.rem)(30),(0,T.rem)(14),(0,T.rem)(20),(0,T.rem)(5),(0,T.rem)(5),(0,T.rem)(30),({isActive:e})=>e&&(0,b.css)(["background-color:",";"],(0,z.ae)(50))),gc=(0,b.default)(L.n).withConfig({componentId:"sc-1xq3kqr-7"})(["color:",";font-weight:500;padding:"," "," "," ",";margin-bottom:0;display:inline-block;pointer-events:none;",";"],(0,z.ae)(800),(0,T.rem)(10.5),(0,T.rem)(6),(0,T.rem)(10.5),(0,T.rem)(10),V.B.md` display: flex; pointer-events: auto; `),gu=b.default.div.withConfig({componentId:"sc-1xq3kqr-8"})(["margin-top:",";"],(0,T.rem)(2)),gd=b.default.article.withConfig({componentId:"et5v1j-0"})(["margin-bottom:",";"],(0,T.rem)(25)),gg=(0,b.default)(es.x).withConfig({componentId:"et5v1j-1"})(["font-size:",";font-weight:bold;letter-spacing:",";line-height:",";transition:color 300ms linear;display:inline-block;&::after{content:",";}"],(0,T.rem)(30),(0,T.rem)(1.5),(0,T.rem)(45),({symbol:e})=>`'${e}'`);var gp=(0,l.memo)(function({level:e,symbol:t,levels:r}){if(!t)return null;let n=[];for(let i=1;i<=r;i++)n.push((0,j.jsx)(gg,{format:i<=e?"soft":"secondary",symbol:t?.trim()},`${t}${i}`));return(0,j.jsx)(gd,{children:n})});let gm=["selected","options","option","onSelectionChange","optionKey","disabled"];function gf(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function gh(e){for(var t=1;t{c&&e&&!aO()(t,e)&&i(e),u(!1),g(0),p.current?.blur()};return(0,t9.Z)(p,()=>m(t),void 0,[t]),(0,j.jsxs)(gy,gh(gh({tabIndex:0,onClick:()=>{a||u(e=>!e)},ref:p,onKeyDown:e=>{P.mW.DOWN===e.keyCode&&de+1):P.mW.UP===e.keyCode&&d>0?g(e=>e-1):P.mW.ENTER===e.keyCode?c?m(r[d]):u(!0):(P.mW.ESC===e.keyCode||P.mW.TAB===e.keyCode)&&m(t),e.preventDefault()},disabled:a},s),{},{children:[(0,j.jsxs)(gj,{children:[(0,j.jsx)(gC,{children:n(t)}),(0,j.jsx)(d9._,{width:"20",height:"20"})]}),c&&!a?(0,j.jsx)(gx,{children:(r||[]).map((e,r)=>{let i=aO()(e,t);return(0,j.jsxs)(gv,{isActive:r===d,onMouseOver:()=>g(r),onClick:t=>{t.stopPropagation(),m(e)},isSelected:i,children:[i?(0,j.jsx)(gO,{children:(0,j.jsx)(nb.M,{height:"20",width:"20"})}):null,(0,j.jsx)(gw,{children:n(e)})]},o(e))})}):null]}))}let gy=b.default.section.withConfig({componentId:"sc-4m2pvl-0"})(["box-sizing:border-box;border:"," solid ",";border-radius:",";width:100%;position:relative;display:flex;justify-content:center;cursor:pointer;",""],(0,T.rem)(1),(0,z.ae)(200),(0,T.rem)(3),({disabled:e})=>e&&(0,b.css)(["background-color:",";pointer-events:none;cursor:not-allowed;"],(0,z.ae)(50))),gj=b.default.article.withConfig({componentId:"sc-4m2pvl-1"})(["padding:"," "," "," ",";display:flex;align-items:center;justify-content:space-between;width:100%;"],(0,T.rem)(9),(0,T.rem)(9.5),(0,T.rem)(11),(0,T.rem)(12)),gx=b.default.ul.withConfig({componentId:"sc-4m2pvl-2"})(["position:absolute;z-index:1;background:",";box-shadow:0 0 "," 0 ",",0 "," "," 0 ",";border-radius:",";min-width:",";top:calc(100% - ",");left:",";width:calc(100% - ",");"],({theme:e})=>e.content.background,(0,T.rem)(1),(0,T.rgba)(z.Sn,.15),(0,T.rem)(4),(0,T.rem)(8),(0,T.rgba)(z.Sn,.15),(0,T.rem)(3),(0,T.rem)(113),(0,T.rem)(6),(0,T.rem)(13),(0,T.rem)(26)),gv=b.default.li.withConfig({componentId:"sc-4m2pvl-3"})(["display:flex;align-items:center;padding-left:",";"," ",""],(0,T.rem)(31),({isActive:e})=>e&&(0,b.css)(["background-color:",";"],(0,z.ae)(50)),({isSelected:e})=>e&&(0,b.css)(["padding-left:",";"],(0,T.rem)(11))),gw=(0,b.default)(es.x).attrs({format:"soft"}).withConfig({componentId:"sc-4m2pvl-4"})(["padding:",";font-size:",";letter-spacing:0;line-height:",";display:inline-block;"],(0,T.rem)(4),(0,T.rem)(14),(0,T.rem)(20)),gC=(0,b.default)(gw).withConfig({componentId:"sc-4m2pvl-5"})(["padding:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;"]),gO=b.default.span.withConfig({componentId:"sc-4m2pvl-6"})(["display:inline-block;svg path{fill:",";}"],(0,z.iN)(500));function gk({showRate:e,myRate:t,toggleVisibility:r}){let{0:n,1:i}=(0,l.useState)(t.currency.code),{0:o,1:a}=(0,l.useState)(t.rate),{0:s,1:c}=(0,l.useState)(!1),{0:u,1:d}=(0,l.useState)(!1),{0:g,1:p}=(0,l.useState)(new Map),{0:m,1:f}=(0,l.useState)(new Map),{data:h}=(0,t2.a)("/rates"),{updateRate:b}=t6(),y=(0,l.useCallback)(e=>{let t=m.get(e);return t?[...t.values()]:[]},[m]),x=(0,l.useMemo)(()=>y(n),[y,n]),v=(0,l.useCallback)(t=>{if(!u&&h){d(!0),i(t);let r=h.items.find(e=>e.code===t);r&&(b(void 0,r).then(()=>d(!1)).catch(()=>d(!1)),tr(P.hy.RATES_ADDED,1,{range:y(t)[o-1].rate,currency:t,is_public:e}))}},[u,y,h,o,e,b]),w=(0,l.useCallback)(t=>{u||(c(!0),a(t.id),b(t.id).then(()=>c(!1)).catch(()=>c(!1)),tr(P.hy.RATES_ADDED,1,{range:x[t.id-1].rate,currency:n,is_public:e}))},[u,x,n,e,b]);(0,l.useEffect)(()=>{if(h&&h.items&&h.items.length){let e=/\w+/gi,t=new Map,r=new Map;h.items.forEach(n=>{t.set(n.code,n.rateRange),r.set(n.code,n.symbol.split(e).pop()||"")}),f(t),p(r)}},[h]),(0,l.useEffect)(()=>{t&&(i(t.currency.code),a(t.rate))},[t]);let C=(0,l.useCallback)(e=>{tr(P.hy.RATES_ADDED,1,{range:x[o-1].rate,currency:n,is_public:e}),r(e)},[x,n,o,r]);return t&&h?(0,j.jsxs)(gE,{children:[(0,j.jsx)(rF,{show:e,toggleVisibility:C}),(0,j.jsx)(gp,{level:o,symbol:g.get(n),levels:(m.get(n)||[]).length}),(0,j.jsxs)(gI,{children:[(0,j.jsx)(ed,{element:"p",children:Y.Z.Rate}),(0,j.jsx)(gP,{children:(0,j.jsx)(gb,{selected:n,options:[...g.keys()],option:e=>e,onSelectionChange:v,optionKey:e=>e,disabled:u})}),(0,j.jsx)(gS,{children:(0,j.jsx)(gb,{options:x,option:e=>e?e.rate:"",onSelectionChange:w,optionKey:e=>n+e.id,selected:x[o-1]||t.currency.rateRange[t.rate],disabled:s})})]})]}):null}let gE=(0,b.default)(eK).withConfig({componentId:"nepf9v-0"})(["padding:"," "," "," ",";"],(0,T.rem)(16),(0,T.rem)(24),(0,T.rem)(24),(0,T.rem)(21)),gI=b.default.article.withConfig({componentId:"nepf9v-1"})(["padding-left:",";"],(0,T.rem)(3)),gP=b.default.article.withConfig({componentId:"nepf9v-2"})(["display:inline-block;width:",";margin-right:",";"],(0,T.rem)(76),(0,T.rem)(6)),gS=b.default.article.withConfig({componentId:"nepf9v-3"})(["display:inline-block;width:calc(100% - ",");"],(0,T.rem)(82));function gR({myRate:e}){return e?(0,j.jsxs)(gD,{children:[(0,j.jsx)(gp,{level:e.rate,symbol:e.currency.symbol.split(/\w+/gi).pop()||"",levels:e.currency.rateRange.length}),(0,j.jsxs)(gT,{children:[(0,j.jsx)(ed,{element:"p",children:Y.Z.Rate}),(0,j.jsxs)(es.x,{element:"p",format:"soft",children:[e.currency.code," ",e.currency.rateRange[e.rate-1].rate]})]})]}):null}function g_({showRate:e,editMode:t,myRate:r,toggleVisibility:n}){return t?(0,j.jsx)(gk,{showRate:e,myRate:r,toggleVisibility:n}):e?(0,j.jsx)(gR,{myRate:r}):null}let gD=(0,b.default)(eK).withConfig({componentId:"sc-1v7ciae-0"})(["padding:"," "," "," ",";"],(0,T.rem)(16),(0,T.rem)(24),(0,T.rem)(24),(0,T.rem)(21)),gT=b.default.article.withConfig({componentId:"sc-1v7ciae-1"})(["padding-left:",";"],(0,T.rem)(3));var gz=r(856742);let gA=(e,t,r,n)=>e.showFeaturedComment||"2"===e.columnWidth||(r-n)%2==0||t.showFeaturedComment||"2"===t.columnWidth;var gN=r(942854);function gF(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function gB({title:e,disableUpwardMovement:t,disableDownwardMovement:r,onSubmit:n,moveSection:i,removeSection:o}){let{0:a,1:s}=(0,l.useState)(!e),{0:c,1:u}=(0,l.useState)(e),{0:d,1:g}=(0,l.useState)(!1),p=(0,l.useCallback)(t=>{t?t.length&&t.length<=P.Mb&&(e!==t&&(g(!0),u(t),n(t).then(()=>g(!1))),s(!1)):(g(!0),o().then(()=>g(!1)).catch(()=>g(!1)))},[n,o,e]),m=(0,l.useMemo)(()=>r||d,[r,d]),f=(0,l.useMemo)(()=>t||d,[t,d]),h=(0,l.useCallback)(()=>{d||(g(!0),tr(P.hy.CLICK_TO_REMOVE_SECTION,1),o().then(()=>g(!1)).catch(()=>g(!1)))},[d,o]),b=(0,l.useCallback)(()=>{a||d||s(!0)},[a,d]),y=(0,l.useCallback)((e,t)=>{!e&&i&&(tr(P.hy.CLICK_TO_ORDER_SECTION,1,{value:1===t?"down":"up"}),i(t))},[i]);return(0,l.useEffect)(()=>{u(e)},[e]),(0,j.jsxs)(gK,{enableEdit:a,children:[(0,j.jsx)(gZ,{tabIndex:d?-1:0,onKeyDown:e=>{(0,D.$o)(e,b,!1)},onClick:b,children:a?(0,j.jsx)(gX,{content:c,maxCharacterCount:P.Mb,autoFocus:!0,fullWidth:!0,allowNewLines:!1,onSave:p,placeholder:Y.Z.EnterTitleHere}):(0,j.jsx)(gY,{editMode:!0,children:c})}),(0,j.jsxs)(gV,{children:[(0,j.jsx)(gJ,{isDisabled:f,children:(0,j.jsx)(rN.Z,{tooltipText:Y.Z.MoveUp,disable:f,children:(0,j.jsx)(gq,{tabIndex:f?-1:0,width:26,height:26,onClick:()=>y(f,-1),onKeyDown:e=>(0,D.$o)(e,()=>y(f,-1))})})}),(0,j.jsx)(gJ,{isDisabled:m,children:(0,j.jsx)(rN.Z,{tooltipText:Y.Z.MoveDown,disable:m,children:(0,j.jsx)(gH,{tabIndex:m?-1:0,width:26,height:26,onClick:()=>y(m,1),onKeyDown:e=>(0,D.$o)(e,()=>y(m,1))})})}),(0,j.jsx)(gJ,{isDisabled:d,children:(0,j.jsx)(rN.Z,{tooltipText:Y.Z.Remove,children:(0,j.jsx)(gG,{tabIndex:d?-1:0,width:26,height:26,onClick:h,onKeyDown:e=>(0,D.$o)(e,h)})})})]})]})}function gM(e){let{editMode:t}=(0,l.useContext)(O.Z);return(0,j.jsx)(gL,{children:t?(0,j.jsx)(gB,function(e){for(var t=1;t!e&&ec),gZ=b.default.div.withConfig({componentId:"knkwk2-3"})(["flex:1 1 auto;"]),gV=b.default.div.withConfig({componentId:"knkwk2-4"})(["flex:0 0 auto;display:flex;"]),gU=(0,b.css)(["cursor:pointer;path{fill:",";}"],(0,z.se)(900)),gJ=b.default.div.withConfig({componentId:"knkwk2-5"})(["display:inline-block;",""],({isDisabled:e})=>e&&(0,b.css)(["opacity:0.5;pointer-events:none;"])),gH=(0,b.default)(d9._).withConfig({componentId:"knkwk2-6"})(["",""],gU),gq=(0,b.default)(d9._).withConfig({componentId:"knkwk2-7"})([""," transform:scaleY(-1);"],gU),gG=(0,b.default)(sT.J).withConfig({componentId:"knkwk2-8"})([""," padding:",";"],gU,(0,T.rem)(4)),gW=(0,b.css)(["font-family:inherit;font-size:",";font-weight:500;letter-spacing:",";line-height:",";"],(0,T.rem)(20),(0,T.rem)(.22),(0,T.rem)(24)),gY=b.default.div.withConfig({componentId:"knkwk2-9"})([""," padding:"," "," "," 0;",""],gW,(0,T.rem)(6),(0,T.rem)(6),(0,T.rem)(16),({editMode:e})=>e&&(0,b.css)(["cursor:pointer;"])),gX=(0,b.default)(uf).withConfig({componentId:"knkwk2-10"})([""," padding-left:0;&::placeholder{font-weight:400;opacity:0.6;}"],gW);function gQ({isTitleLess:e,shouldAutoAddVideos:t,toggleAutoAddVideos:r,addSectionVideo:n,createSection:i,showAutoAddVideosNotification:o,setCreatingSection:a,disableButtons:s,isMasonry:c=!1,hideCreateSection:u=!1}){let{0:d,1:g}=(0,l.useState)(!1),{0:p,1:m}=(0,l.useState)(!1),{0:f,1:h}=(0,l.useState)(!1);return(0,r9.Z)(d?e=>(0,D.i2)(e,()=>g(!1)):void 0,[d]),(0,j.jsxs)(j.Fragment,{children:[p?(0,j.jsx)(g0,{isTitleLess:e,children:(0,j.jsx)(gM,{title:"",disableDownwardMovement:!0,disableUpwardMovement:!0,onSubmit:t=>i(t).then(()=>{e||(m(!1),a?.(!1))}),removeSection:()=>(m(!1),a?.(!1),Promise.resolve())})}):(0,j.jsx)(g1,{isTitleLess:e,isMasonry:c,hide:s,children:(0,j.jsx)(g2,{isFocused:f,children:(0,j.jsx)(g4,{className:"section_split_ruler",children:(0,j.jsxs)(g5,{children:[(0,j.jsx)(g3,{icon:(0,j.jsx)(lj.v,{}),format:"secondary",floating:!0,pill:!0,onClick:()=>{tr(P.hy.CLICK_TO_ADD_VIDEO,1),o?.(),g(!0),h(!1)},onFocus:()=>h(!0),onBlur:()=>h(!1),disabled:s,children:Y.Z.AddVideo}),u?null:(0,j.jsx)(g3,{icon:(0,j.jsx)(gN.P,{}),format:"secondary",floating:!0,pill:!0,onClick:()=>{tr(P.hy.CLICK_TO_CREATE_SECTION,1),o?.(),m(!0),a?.(!0),h(!1)},onFocus:()=>h(!0),onBlur:()=>h(!1),disabled:s,children:Y.Z.CreateSection})]})})})}),(0,j.jsx)(em,{onOpen:()=>g(!1),active:d,content:(0,j.jsx)(cF,{shouldAutoAddVideos:t,toggleAutoAddVideos:r,onSubmit:e=>n(e).then(()=>g(!1)),onDismiss:()=>{g(!1),tr(P.hy.CLOSE_ADD_VIDEO_MODAL,1)}})})]})}let g0=b.default.div.withConfig({componentId:"sc-1e49emk-0"})(["padding-top:",";",""],(0,T.rem)(25),({isTitleLess:e})=>e&&(0,b.css)(["padding-top:0;margin-bottom:",";"," "," ",""],(0,T.rem)(P._7.DEFAULT/2+12),V.B.sm` margin-bottom: ${(0,T.rem)(P._7.SM_TOP/2+12)}; `,V.B.hd` margin-bottom: ${(0,T.rem)(P._7.HD_TOP/2+12)}; `,V.B.xhd` margin-bottom: ${(0,T.rem)(P._7.XHD/2+12)}; `)),g1=b.default.div.withConfig({componentId:"sc-1e49emk-1"})(["position:relative;width:100%;z-index:1;"," ",""],({isTitleLess:e,isMasonry:t})=>e&&!t&&(0,b.css)(["top:-",";"," "," ",""],(0,T.rem)(P._7.DEFAULT/2),V.B.sm` top: -${(0,T.rem)(P._7.SM_TOP/2)}; `,V.B.hd` top: -${(0,T.rem)(P._7.HD_TOP/2)}; `,V.B.xhd` top: -${(0,T.rem)(P._7.XHD/2)}; `),({hide:e})=>e&&(0,b.css)(["opacity:0;"])),g2=b.default.div.withConfig({componentId:"sc-1e49emk-2"})(["width:100%;display:flex;flex-direction:column;justify-content:center;height:",";&:hover .section_split_ruler{opacity:1;}"," "," "," ",""],(0,T.rem)(P._7.DEFAULT),({isFocused:e})=>e&&(0,b.css)([".section_split_ruler{opacity:1;}"]),V.B.sm` height: ${(0,T.rem)(P._7.SM_TOP)}; `,V.B.hd` height: ${(0,T.rem)(P._7.HD_TOP)}; `,V.B.xhd` height: ${(0,T.rem)(P._7.XHD)}; `),g3=(0,b.default)(A.z).withConfig({componentId:"sc-1e49emk-3"})(["background:",";display:inline-flex;width:",";&:first-child{margin-right:",";}"],({theme:e})=>e.content.background,(0,T.rem)(160),(0,T.rem)(10)),g5=b.default.div.withConfig({componentId:"sc-1e49emk-4"})(["position:relative;top:-",";"],(0,T.rem)(20)),g4=b.default.div.withConfig({componentId:"sc-1e49emk-5"})(["opacity:0;display:flex;border:"," dashed ",";margin-top:-",";position:relative;justify-content:center;transition:opacity 200ms ease-out;height:0;"],(0,T.rem)(.5),(0,z.se)(400),(0,T.rem)(8));function g8({section:e,index:t,disableDown:r,disableUp:n,openPlayer:i,isSingleCellView:o,onDragStart:a,removeDragPortal:s,setDragOver:c,draggedOver:u,shouldAutoAddVideos:d,toggleAutoAddVideos:g,showAutoAddVideosNotification:p,updatePublicVideosCount:m}){let f=(0,l.useContext)(h.Z),{editMode:b}=(0,l.useContext)(O.Z),{0:y,1:x}=(0,l.useState)([]),{0:v,1:w}=(0,l.useState)(null),{0:C,1:k}=(0,l.useState)(!1),{0:E,1:I}=(0,l.useState)(!1),{addVideosToSection:S,createSection:R,data:_,error:T,isValidating:z,moveSection:A,onDragEnd:N,onDrop:F,removeSection:B,removeVideoFromSection:M,setSize:L,toggleVideoData:$,updateSectionTitle:K,videoLoading:Z}=cR(e.uri,e.videos.data,e.videos.total),V=(0,l.useMemo)(()=>_?(0,D.L)(_):[],[_]),U=(0,l.useMemo)(()=>o?[]:function(e){let t=[],r=0;for(let n=1;nV.length>0&&(0,D._x)(_),[_,V]),H=(0,l.useMemo)(()=>_?!_[0]&&z&&!T:!T,[_,T,z]),q=(0,l.useMemo)(()=>b&&!z&&!Z,[b,z,Z]),G=(0,l.useMemo)(()=>1===V.length&&null!=e.title,[V,e]),W=(0,l.useCallback)((t,r)=>{let n=r.map(e=>e.uri);return S(e.uri,t,n,m).then(e=>{x(e)})},[S,e.uri,m]),Y=aS()(e=>{aO()(u,{sectionIndex:t,videoIndex:e})||c({sectionIndex:t,videoIndex:e})},300),X=(0,l.useCallback)(()=>{k(!0),L(_?_.length+1:1).then(()=>k(!1)).catch(()=>k(!1))},[L,_]);return(0,l.useEffect)(()=>{let e=null;return y&&y.length&&(e=setTimeout(()=>{x([])},1e3)),()=>{e&&clearTimeout(e)}},[y]),(0,j.jsxs)(g6,{isFirstSection:0===t,children:[null==e.title&&b?(0,j.jsx)(gQ,{shouldAutoAddVideos:d,toggleAutoAddVideos:g,addSectionVideo:e=>W(0,e),isTitleLess:0===t&&null==e.title,createSection:t=>K(e.uri,t),showAutoAddVideosNotification:p,disableButtons:Z||z}):null,null!=e.title?(0,j.jsx)(gM,{title:e.title||"",disableDownwardMovement:r||!1,disableUpwardMovement:n||!1,onSubmit:t=>K(e.uri,t),moveSection:e=>A(t,e),removeSection:()=>B(t)}):null,(0,j.jsxs)(g9,{isFirstAndTitleLess:0===t&&null==e.title,editMode:b,children:[V.map((r,n)=>{let l=-1!==U.indexOf(n),h=null!=r&&(r.showFeaturedComment&&null!=r.featuredComment||"2"===r.columnWidth),x=o?null!=e.title&&0===n:null!=e.title&&nW(n,e),createSection:t=>R(e.uri,r.clip.uri,t),shouldAutoAddVideos:d,toggleAutoAddVideos:g,showAutoAddVideosNotification:p,disableButtons:Z||z,setCreatingSection:e=>I(e),hideCreateSection:null!=e.title&&G},`divider_${t}_${n}`)}):null,(0,j.jsx)(pe,{top:E&&G?75:0,isFirst:l||0===n,isExpanded:h,hideTopPadding:x,isDraggedOver:u?.videoIndex===n,editMode:b,draggable:q,dragStarted:null!=u,isBeingDragged:v===n,onDragStart:i=>{q&&(w(n),a(i,{video:r,videoIndex:n,sectionIndex:t,sectionUri:e.uri}))},onDragOver:e=>{q&&(e.preventDefault(),(null!=u||v!==n)&&Y(n))},onDrop:i=>{if(q){i.preventDefault();let o=JSON.parse(i.dataTransfer.getData("Text"));o.sectionIndex===t&&(c(null),s(),w(null)),F(o,{video:r,videoIndex:n,sectionIndex:t,sectionUri:e.uri})}},onDragEnd:i=>{if(i.preventDefault(),w(null),s(),b&&u){let{sectionIndex:o}=u;c(null),"none"===i.dataTransfer.dropEffect||o===t||Z||z||N({video:r,videoIndex:n,sectionIndex:t,sectionUri:e.uri})}},children:(0,j.jsx)(s0,{video:r,viewType:P.bW.GRID,removeVideo:()=>M(e.uri,r.clip.uri,m),setExpanded:e=>$(r,void 0,e?"2":"1"),openPlayer:e=>i(n,e),hasComments:!!r.clip.metadata.connections.comments.total,newlyAdded:-1!==y.indexOf(r.clip.uri),addOrUpdateFeaturedComment:e=>$(r,e),loading:Z||z,isOFCOM:f?.ofcomQualifies&&!f.user})},r.clip.uri)]})}),C||H?(0,j.jsx)(lb,{count:H?6:2}):null,J&&!C?(0,j.jsx)(a_,{onClick:X}):null]})]})}let g6=b.default.section.withConfig({componentId:"sc-107a3mv-0"})(["",""],({isFirstSection:e})=>e?(0,b.css)(["padding-top:0;"]):(0,b.css)(["padding-top:",";"],(0,T.rem)(25))),g9=b.default.section.withConfig({componentId:"sc-107a3mv-1"})(["width:100%;position:relative;",""],({isFirstAndTitleLess:e,editMode:t})=>e&&t&&(0,b.css)(["margin-top:-",";"," "," ",""],(0,T.rem)(P._7.DEFAULT/2),V.B.sm` margin-top: -${(0,T.rem)(P._7.SM_TOP/2)}; `,V.B.hd` margin-top: -${(0,T.rem)(P._7.HD_TOP/2)}; `,V.B.xhd` margin-top: -${(0,T.rem)(P._7.XHD/2)}; `)),g7=(e,t,r,n)=>(0,b.css)(["margin-left:",";margin-right:",";padding-top:",";padding-bottom:",";width:",";"],t||r?0:(0,T.rem)(e),t&&!r?(0,T.rem)(e):0,0===n?0:(0,T.rem)(n),0===n?0:(0,T.rem)(n),r?"100%":`calc(50% - ${(0,T.rem)(e)})`),pe=b.default.article.withConfig({componentId:"sc-107a3mv-2"})(["transition:width 0.5s ease-in,transform 250ms linear,top 0.5s ease-in;padding-top:",";position:relative;vertical-align:top;top:",";"," "," "," "," "," "," ",""],({hideTopPadding:e})=>e?0:(0,T.rem)(P._7.DEFAULT/2),({top:e})=>(0,T.rem)(e),({isBeingDragged:e,isDraggedOver:t})=>e?(0,b.css)(["& > *{opacity:0;}border-radius:",";background-color:",";"],(0,T.rem)(8),t?(0,z.iN)(50):(0,z.se)(50)):t?(0,b.css)(["transform:translateX(",");&:before{content:'';height:100%;width:",";left:-",";position:absolute;background-color:",";}"],(0,T.rem)(10),(0,T.rem)(4),(0,T.rem)(14),(0,T.rgba)((0,z.iN)(500),.75)):null,({dragStarted:e})=>e&&(0,b.css)(["user-select:none;"]),({isExpanded:e})=>e&&(0,b.css)(["width:100%;margin-left:0;margin-right:0;"]),V.B.sm` display: inline-block; ${({isExpanded:e,isFirst:t,editMode:r,hideTopPadding:n})=>g7(9,t,e,r?0:n?0:P._7.SM_TOP/2)}; `,V.B.md` ${({isExpanded:e,isFirst:t,editMode:r,hideTopPadding:n})=>g7(10,t,e,r?0:n?0:P._7.SM_TOP/2)}; `,V.B.hd` ${({isExpanded:e,isFirst:t,editMode:r,hideTopPadding:n})=>g7(12,t,e,r?0:n?0:P._7.HD_TOP/2)}; `,V.B.xhd` ${({isExpanded:e,isFirst:t,editMode:r,hideTopPadding:n})=>g7(20,t,e,r?0:n?0:P._7.XHD/2)}; `),pt=b.default.div.withConfig({componentId:"sc-107a3mv-3"})(["",""],({isSingleVideoSection:e})=>e&&(0,b.css)(["position:absolute;width:100%;top:-",";"],(0,T.rem)(25)));var pr=r(171305),pn=r.n(pr),pi=r(310570);let po=(e,t,r)=>{let n=t>=V.O.sm,i=r;n&&"2"!==e.columnWidth&&(i=r/2-P._7.SM_RIGHT/2,t>=V.O.hd&&(i=r/2-P._7.HD_RIGHT/2),t>=V.O.xhd&&(i=r/2-P._7.XHD/2));let{width:o,height:a}=e.clip,s=i/o*a;return{videoWidth:i,updatedHeight:s}},pa=e=>{let t=P._C.DEFAULT;return e>=V.O.sm&&(t=P._C.SM),e>=V.O.md&&(t=P._C.MD),e>=V.O.hd&&(t=P._C.HD),20+t},ps=(e,t,r)=>{let n=0,i=0,o=0;if(e.showFeaturedComment&&e.featuredComment){let a=document.createElement("canvas").getContext("2d");if(a){a.font=`300 ${(0,T.rem)(16)}/${(0,T.rem)(26)} Arial, system-ui, sans-serif`;let s=pn()(e.featuredComment.text,{length:P.Qg}),l=a.measureText(s).width;return t>=V.O.sm&&(n=P.aK.SM_TOP,o=P.aK.SM_RIGHT),t>=V.O.md&&(n=P.aK.MD_TOP,i=P.aK.MD_BOTTOM,o=P.aK.MD_RIGHT),t>=V.O.xhd&&(n=P.aK.XHD_TOP,i=P.aK.XHD_BOTTOM,o=P.aK.XHD_RIGHT),26*Math.ceil(l/(r-P.G3-2*o))+n+i}}return 0},pl=e=>{let t=P._7.DEFAULT;return e>=V.O.sm&&(t=P._7.SM_TOP),e>=V.O.hd&&(t=P._7.HD_TOP),e>=V.O.xhd&&(t=P._7.XHD),t},pc=(e,t,r,n,i)=>{let o=pl(t);return e.map(e=>{let{videoWidth:a,updatedHeight:s}=po(e,t,r);return s+=32+o,(0,D.qx)(e.clip.user.uri)!==i&&(s+=24),e.showFeaturedComment&&e.featuredComment&&(s+=ps(e,t,a)+pa(t),n&&(s+=17)),{videoWidth:a,updatedHeight:s}})},pu=(e,t,r)=>{let n=pl(r),i=[];if(r>=V.O.sm){let r=0,o=0;return e.forEach((e,a)=>{let s=t[a];if("2"===e.columnWidth){let e=Math.max(r,o);i.push({top:e,isFirst:!0,showDivider:{top:e-n}}),r=e+s.updatedHeight,o=e+s.updatedHeight}else r<=o?(i.push({top:r,isFirst:!0,showDivider:r===o?{top:r-n}:void 0}),r+=s.updatedHeight):(i.push({top:o,isFirst:!1}),o+=s.updatedHeight)}),{height:Math.max(r,o),bounds:i}}{let e=0;return t.forEach(t=>{i.push({isFirst:!0,top:e}),e+=t.updatedHeight}),{height:e,bounds:i}}};function pd({section:e,index:t,disableDown:r,disableUp:n,openPlayer:i,onDragStart:o,draggedOver:a,removeDragPortal:s,setDragOver:c,updatePublicVideosCount:u,shouldAutoAddVideos:d,toggleAutoAddVideos:g,showAutoAddVideosNotification:p}){let m=(0,l.useContext)(h.Z),{editMode:f,userId:b}=(0,l.useContext)(O.Z),{0:y,1:x}=(0,l.useState)(null),{0:v,1:w}=(0,l.useState)([]),{0:C,1:k}=(0,l.useState)(null),{0:E,1:I}=(0,l.useState)(!1),{0:S,1:R}=(0,l.useState)(!1),{addVideosToSection:_,createSection:T,data:z,error:A,isValidating:N,moveSection:F,onDragEnd:B,onDrop:M,removeSection:L,removeVideoFromSection:$,setSize:K,toggleVideoData:V,updateSectionTitle:U,videoLoading:J}=cR(e.uri,e.videos.data,e.videos.total),{width:H}=(0,Z.i)(),q=(0,l.useMemo)(()=>pl(H),[H]),[G,W]=(0,pi.H)(["width"],[H]),Y=(0,l.useMemo)(()=>z?(0,D.L)(z):[],[z]),X=pc(Y,H,G?.width||0,f,b),{height:Q,bounds:ee}=pu(Y,X,H),et=(0,l.useMemo)(()=>Y.length>0&&(0,D._x)(z),[z,Y]),er=(0,l.useMemo)(()=>f&&!N&&!J,[f,N,J]),en=(0,l.useMemo)(()=>!e.title&&""!==e.title,[e.title]),ei=(0,l.useMemo)(()=>z?!z[0]&&N&&!A:!A,[z,A,N]),eo=(0,l.useCallback)((t,r)=>{let n=r.map(e=>e.uri);return _(e.uri,t,n,u).then(e=>{w(e)})},[_,e.uri,u]),ea=(0,l.useCallback)(()=>{I(!0),K?.(z?z.length+1:0).then(()=>I(!1)).catch(()=>I(!1))},[K,z]),es=aS()(e=>{aO()(a,{sectionIndex:t,videoIndex:e})||c({sectionIndex:t,videoIndex:e})},300),el=(0,l.useCallback)((t,r)=>(0===t&&en?U(e.uri,r):T(e.uri,Y[t].clip.uri,r)).then(()=>x(null)),[T,en,e.uri,Y,U]);return(0,l.useEffect)(()=>{let e=null;return v&&v.length&&(e=setTimeout(()=>{w([])},1e3)),()=>{e&&clearTimeout(e)}},[v]),(0,l.useEffect)(()=>{!S&&Y.length>0&&setTimeout(()=>R(!0),100)},[S,W,Y]),(0,j.jsxs)(pg,{hasNext:!!et,isSectionTitleLess:en,children:[en?null:(0,j.jsx)(gM,{title:e.title||"",disableDownwardMovement:r||!1,disableUpwardMovement:n||!1,onSubmit:t=>U(e.uri,t),moveSection:e=>F(t,e),removeSection:()=>L(t)}),(0,j.jsx)(pp,{ref:W,clipsRendered:S,height:Q+(null!=y?90:0),children:Y.map((r,n)=>{let l=ee[n],{videoWidth:h,updatedHeight:b}=X[n],w=null!=y&&y<=n?0===y?90-q:90:0,O=0===n,E=!!f&&(O?en||1===Y.length:null!=l.showDivider);return(0,j.jsxs)(j.Fragment,{children:[E?(0,j.jsx)(pf,{top:(l.showDivider?.top||0)+(null!=y&&yeo(0,e),isTitleLess:0===n&&null==e.title,createSection:e=>el(n,e),showAutoAddVideosNotification:p,setCreatingSection:e=>e?x(n):x(null),disableButtons:J||N,hideCreateSection:!en&&1===Y.length,isMasonry:!0})}):null,(0,j.jsx)(pm,{isFirst:l.isFirst,videoWidth:h,top:l.top+w,videoHeight:b,draggable:er,dragStarted:null!=a,isDraggedOver:a?.videoIndex===n,isBeingDragged:C===n,clipsRendered:S,onDragStart:i=>{er&&(k(n),o(i,{video:r,videoIndex:n,sectionIndex:t,sectionUri:e.uri}))},onDragOver:e=>{er&&(e.preventDefault(),(null!=a||C!==n)&&es(n))},onDrop:i=>{if(er){i.preventDefault();let o=JSON.parse(i.dataTransfer.getData("Text"));o.sectionIndex===t&&(c(null),s(),k(null)),M(o,{video:r,videoIndex:n,sectionIndex:t,sectionUri:e.uri})}},onDragEnd:i=>{if(i.preventDefault(),k(null),s(),f&&a){let{sectionIndex:o}=a;c(null),"none"===i.dataTransfer.dropEffect||o===t||J||N||B({video:r,videoIndex:n,sectionIndex:t,sectionUri:e.uri})}},children:(0,j.jsx)(s0,{video:r,viewType:P.bW.MASONRY,removeVideo:()=>$(e.uri,r.clip.uri,u),setExpanded:e=>V(r,void 0,e?"2":"1"),openPlayer:e=>i(n,e),hasComments:!!r.clip.metadata.connections.comments.total,addOrUpdateFeaturedComment:e=>V(r,e),className:"masonary-video-card",loading:J||N,newlyAdded:-1!==v.indexOf(r.clip.uri),isOFCOM:m?.ofcomQualifies&&!m.user})})]})})}),E||ei?(0,j.jsx)(lb,{count:ei?6:2}):null,et&&!E?(0,j.jsx)(ph,{children:(0,j.jsx)(a_,{onClick:ea})}):null]})}let pg=b.default.section.withConfig({componentId:"guc1f0-0"})(["display:block;width:100%;"," ",""],({hasNext:e})=>e&&(0,b.css)(["padding-bottom:",";"],(0,T.rem)(16)),({isSectionTitleLess:e})=>e?(0,b.css)(["padding-top:",";"],(0,T.rem)(25)):(0,b.css)(["padding-top:0;"])),pp=b.default.article.withConfig({componentId:"guc1f0-1"})(["position:relative;"," ",""],({height:e})=>(0,b.css)(["height:",";max-height:",";"],(0,T.rem)(e),(0,T.rem)(e)),({clipsRendered:e})=>e&&(0,b.css)(["transition:all 0.5s ease-in;"])),pm=b.default.section.withConfig({componentId:"guc1f0-2"})(["position:absolute;top:",";width:",";height:",";video{background-size:cover;object-fit:cover;}"," "," "," ",""],({top:e})=>(0,T.rem)(e),({videoWidth:e})=>(0,T.rem)(e),({videoHeight:e})=>(0,T.rem)(e),({isFirst:e})=>e?(0,b.css)(["left:0;"]):(0,b.css)(["right:0;"]),({isBeingDragged:e,isDraggedOver:t})=>e?(0,b.css)([".masonary-video-card > *{opacity:0;}.masonary-video-card{border-radius:",";background-color:",";}"],(0,T.rem)(8),t?(0,z.iN)(50):(0,z.se)(50)):t?(0,b.css)(["transform:translateX(",");.masonary-video-card:before{content:'';height:100%;width:",";left:-",";position:absolute;background-color:",";}"],(0,T.rem)(10),(0,T.rem)(4),(0,T.rem)(14),(0,T.rgba)((0,z.iN)(500),.75)):null,({dragStarted:e})=>e&&(0,b.css)(["user-select:none;"]),({clipsRendered:e})=>e&&(0,b.css)(["transition:width 0.5s ease-in,top 0.5s ease-in;"])),pf=b.default.section.withConfig({componentId:"guc1f0-3"})(["position:absolute;top:",";width:100%;height:auto;"],({top:e})=>(0,T.rem)(e)),ph=b.default.article.withConfig({componentId:"guc1f0-4"})(["margin-top:-",";"," "," ",""],(0,T.rem)(16+P._7.DEFAULT),V.B.sm` margin-top: -${(0,T.rem)(16+P._7.SM_TOP)}; `,V.B.hd` margin-top: -${(0,T.rem)(16+P._7.HD_TOP)}; `,V.B.xhd` margin-top: -${(0,T.rem)(16+P._7.XHD)}; `);var pb=r(782109),py=r(977124),pj=r(435383);function px({viewType:e,toggleViewType:t,footerHeight:r,disableToggleView:n}){let{0:i,1:o}=(0,l.useState)(!1),{0:a,1:s}=(0,l.useState)(!1),c=e===P.bW.MASONRY?{content:Y.Z.Grid,switchTo:P.bW.GRID,icon:(0,j.jsx)(py.r,{width:20,height:20})}:{content:Y.Z.Masonry,switchTo:P.bW.MASONRY,icon:(0,j.jsx)(pj.R,{width:20,height:20})};return(0,l.useEffect)(()=>{let e=()=>{let e=document.documentElement&&document.documentElement.scrollTop||document.body.scrollTop;return document.body.scrollHeight<=e+(window?window.innerHeight:0)+r},t=aS()(t=>{let r=e();i!==r&&o(r)},50);return document.addEventListener("scroll",t),()=>{document.removeEventListener("scroll",t)}},[i]),(0,l.useEffect)(()=>{s(!1)},[e]),(0,j.jsxs)(pv,{scrolledToBottom:i,children:[(0,j.jsx)(rN.Z,{alignment:"top",tooltipText:c.content,disable:n,children:(0,j.jsx)(pC,{onClick:()=>{n||(t?.(c.switchTo),s(!0))},children:(0,j.jsx)(pO,{className:"view-icon",disable:n,loading:a,children:a?(0,j.jsx)(y.I,{size:"md",format:"basic"}):c.icon})})}),(0,j.jsx)(rN.Z,{alignment:"top",tooltipText:Y.Z.Preview,children:(0,j.jsx)(pb.Z,{href:`/profile${window.location.pathname}?mode=preview`,as:`${window.location.pathname}?mode=preview`,passHref:!0,children:(0,j.jsx)(pk,{target:"_blank",onKeyDown:e=>{(0,D.$o)(e,()=>window.open(`/profile${window.location.pathname}?mode=preview`),!0)},children:(0,j.jsx)(rz.b,{width:20,height:20})})})})]})}let pv=b.default.div.withConfig({componentId:"sc-7333jb-0"})(["background:",";width:",";height:",";border:"," dashed ",";border-radius:",";box-shadow:0 0 "," 0 ",";display:flex;justify-content:space-between;align-items:center;z-index:3;position:fixed;bottom:",";right:",";&:before,&:after{content:'';display:block;}",""],({theme:e})=>e.content.background,(0,T.rem)(100),(0,T.rem)(36),(0,T.rem)(1),(0,z.se)(50),(0,T.rem)(18),(0,T.rem)(10),(0,T.rgba)(z.Sn,.5),(0,T.rem)(24),(0,T.rem)(24),({scrolledToBottom:e})=>e&&(0,b.css)(["position:absolute;"])),pw=(0,b.css)(["opacity:0.4;cursor:pointer;outline:none;background:transparent;&:hover,&:focus{opacity:1;}"]),pC=b.default.button.withConfig({componentId:"sc-7333jb-1"})(["border:none;background:transparent;&:focus{outline:none;.view-icon{opacity:1;}}"]),pO=b.default.span.withConfig({componentId:"sc-7333jb-2"})([""," border:none;"," ",""],pw,({disable:e})=>e&&(0,b.css)(["pointer-events:none;opacity:0.1;"]),({loading:e})=>e&&(0,b.css)(["outline:none;"])),pk=b.default.a.withConfig({componentId:"sc-7333jb-3"})(["",""],pw);function pE(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function pI(e){for(var t=1;tf(0,D.L)(d),[d]),S=(0,l.useMemo)(()=>I.length>0&&null==I[0].title,[I]),R=(0,l.useMemo)(()=>(0,D._x)(d),[d]),_=S?1:0,z=!d&&!m,A=(0,l.useCallback)((e,t)=>{if(null==y.current){let e=(0,gz.D)();y.current=function(e,t="div"){let r=document.getElementById(e);if(null==r){let r=document.createElement(t);return r.id=e,document.body.appendChild(r),document.getElementById(e)}return r}(e)}let r=y.current,n=e.currentTarget;if(r&&n){let{height:t,width:i}=n.getBoundingClientRect(),o=n.cloneNode(!0);o.style.height=(0,T.rem)(t),o.style.width=(0,T.rem)(i),o.style.margin=(0,T.rem)(0),r.appendChild(o),r.style.position="absolute",r.style.top="100%",r.style.left="100%",r.style.height=(0,T.rem)(t),r.style.width=(0,T.rem)(i);let a=o.querySelector(".drag-handle");if(a){let t=o.getBoundingClientRect(),r=a.getBoundingClientRect(),n=r.x-t.x,i=r.y-t.y;e.dataTransfer.setDragImage(o,n,i)}else e.dataTransfer.setDragImage(o,0,0)}e.dataTransfer.dropEffect="move",e.dataTransfer.effectAllowed="move",e.dataTransfer.setData("Text",JSON.stringify(t))},[]),N=(0,l.useCallback)(()=>{y.current&&(y.current.innerHTML="",y.current.style.height="auto",y.current.style.width="auto")},[]),F=(e,r)=>({isSingleCellView:E,section:e,index:r,draggedOver:x,removeDragPortal:N,updatePublicVideosCount:a,shouldAutoAddVideos:i,toggleAutoAddVideos:o,showAutoAddVideosNotification:c,disableDown:r>=I.length-1,disableUp:r===_,openPlayer:(e,n)=>t({current:{sectionIndex:r,videoIndex:e},currentTime:n}),onDragStart:A,setDragOver:e=>v(e)});return(0,l.useEffect)(()=>{let e=aS()(()=>{let e=void 0!==window.pageYOffset&&void 0!==window.innerHeight?window.pageYOffset+window.innerHeight:(document.documentElement||document.body.parentNode||document.body).scrollTop+(document.documentElement||document.body.parentNode||document.body).clientHeight,t=(document.documentElement||document.body.parentNode||document.body).offsetHeight;R&&!w&&e+n+P.vi>=t&&(k(!0),p?.(g?g+1:0).then(()=>k(!1)).catch(()=>k(!1)))},50);return window.addEventListener("scroll",e),()=>{window.removeEventListener("scroll",e)}},[h,n,R,g,p,w]),(0,l.useEffect)(()=>{if(b.current){let{offsetTop:e}=b.current;(document.documentElement?.scrollTop??0)>e&&t7(b,"start")}},[b,e]),I.length>0?(0,j.jsxs)("section",{ref:b,children:[u&&(0,j.jsx)(px,{viewType:e,toggleViewType:r,footerHeight:n,disableToggleView:0===s}),I.map((t,r)=>e===P.bW.GRID?(0,j.jsx)(g8,pI({},F(t,r)),`GRID_${t.uri}`):(0,j.jsx)(pd,pI({},F(t,r)),`MASONARY_${t.uri}`)),w?(0,j.jsx)(lb,{count:2}):null]}):z?(0,j.jsx)(lb,{count:6}):null}var pS=r(303473),pR=r.n(pS),p_=r(249249),pD=r(838699);function pT(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function pz(e){for(var t=1;t(0,j.jsx)("svg",pz(pz({viewBox:"0 0 16 20"},e),{},{ref:t,children:(0,j.jsxs)("g",{fill:"#1A2E3B",fillRule:"nonzero",children:[(0,j.jsx)("path",{d:"M7.998 2.414l3.295 3.293 1.414-1.414-4.002-4a1 1 0 00-1.414 0l-3.998 4 1.414 1.414 3.291-3.293z"}),(0,j.jsx)("path",{d:"M7 2h2v13H7z"}),(0,j.jsx)("path",{d:"M4.625 8v2H3a1 1 0 00-1 1v6a1 1 0 001 1h10a1 1 0 001-1v-6a1 1 0 00-1-1h-1.625V8H13a3 3 0 013 3v6a3 3 0 01-3 3H3a3 3 0 01-3-3v-6a3 3 0 013-3h1.625z"})]})})));function pN({profileLink:e,profileName:t,onlyCTA:r}){let{0:n,1:i}=(0,l.useState)(!1),{facebookAppId:o}=(0,l.useContext)(h.Z),{userId:a}=(0,l.useContext)(O.Z),s=(0,l.useContext)(t5.eO),c=(0,ti.Iu)({singular:"View {NAME}'s profile on {VIMEO_MENTION}",replacements:{NAME:t,VIMEO_MENTION:"#Vimeo"},dictionary:{es:{singular:"Ver el perfil de {NAME} en {VIMEO_MENTION}"},"de-DE":{singular:"Profil von {NAME} auf {VIMEO_MENTION} anzeigen"},"fr-FR":{singular:"Voir le profil de {NAME} sur {VIMEO_MENTION}"},"ja-JP":{singular:"{NAME}さんのプロフィールを{VIMEO_MENTION}で表示"},"ko-KR":{singular:"{VIMEO_MENTION}에서 {NAME}의 프로필을 확인하세요"},"pt-BR":{singular:"Ver o perfil de {NAME} no {VIMEO_MENTION}"},"zh-CN":{singular:"查看 {NAME} 的 {VIMEO_MENTION} 个人资料"}}}),u=e=>{tr(P.hy.CLICK_PROFILE_SHARE_SOCIAL_PLATFORM,1,{profile_id:a,platform:e})},d=[{icon:(0,j.jsx)(pq,{}),name:"Facebook",href:`https://www.facebook.com/dialog/share?app_id=${o}&display=popup&href=${encodeURI(`${e}?ref=fb-share`)}`,onClick:()=>u(P.S3.FACEBOOK)},{icon:(0,j.jsx)(lQ.t,{}),name:"Twitter",href:`https://twitter.com/share?url=${encodeURI(`${e}?ref=tw-share`)}&text=${encodeURIComponent(c)}`,onClick:()=>u(P.S3.TWITTER)},{icon:(0,j.jsx)(p_.y,{}),name:"LinkedIn",href:`https://www.linkedin.com/shareArticle?mini=true&url=${encodeURI(e)}&title=${encodeURI(t)}`,onClick:()=>u(P.S3.LINKEDIN)}],g=()=>{pR()(e),u(P.S3.CUSTOM_LINK),s({content:Y.Z.LinkCopiedToClipboard,status:"neutral"})};return(0,r9.Z)(n?e=>(0,D.i2)(e,()=>i(!1)):void 0,[n]),(0,j.jsxs)(pF,{onlyCTA:r,children:[(0,j.jsx)(rN.Z,{tooltipText:Y.Z.Share,children:(0,j.jsx)(A.z,{format:"soft",variant:"minimalTransparent",icon:(0,j.jsx)(pA,{}),onClick:()=>{tr(P.hy.CLICK_TO_SHARE_PROFILE,1,{profile_id:a}),i(!0)}})}),(0,j.jsx)(M.u,{active:n,onOpen:()=>i(!1),content:(0,j.jsxs)(pU,{children:[(0,j.jsx)(oi.Z,{onClick:()=>i(!1)}),(0,j.jsx)(pJ,{children:Y.Z.ShareProfile}),(0,j.jsx)(p$,{children:d.map(e=>(0,j.jsxs)(pM,{onClick:()=>{e.onClick(),window.open(e.href,Y.Z.Share,"width=500,height=500")},children:[(0,j.jsx)(pK,{children:e.icon}),(0,j.jsx)(pZ,{children:e.name})]},e.name))}),(0,j.jsx)(tJ.h,{size:"6",children:Y.Z.PageLink}),(0,j.jsxs)(pL,{onClick:g,onKeyDown:e=>(0,D.$o)(e,()=>g()),children:[(0,j.jsx)(pV,{children:e}),(0,j.jsx)(pH,{height:18,width:18})]})]})})]})}let pF=b.default.div.withConfig({componentId:"sc-1jdkx47-0"})(["position:absolute;top:",";right:",";",""],({onlyCTA:e})=>e?(0,T.rem)(10):(0,T.rem)(30),({onlyCTA:e})=>e?0:(0,T.rem)(95),V.B.md` top: ${(0,T.rem)(10)}; right: ${(0,T.rem)(10)}; `),pB=(0,b.css)(["height:",";width:100%;background-color:",";border-radius:",";padding:"," "," ",";display:flex;cursor:pointer;"],(0,T.rem)(36),z.ix,(0,T.rem)(18),(0,T.rem)(7),(0,T.rem)(12),(0,T.rem)(5)),pM=b.default.button.withConfig({componentId:"sc-1jdkx47-1"})([""," margin-bottom:",";border:"," solid ",";text-decoration:none;&:hover,&:focus{background-color:",";}"],pB,(0,T.rem)(6),(0,T.rem)(1),(0,z.se)(50),(0,z.se)(50)),pL=b.default.button.withConfig({componentId:"sc-1jdkx47-2"})([""," background-color:",";justify-content:space-between;padding-top:",";border:none;&:hover,&:focus{background-color:",";}"],pB,(0,z.se)(50),(0,T.rem)(8),(0,z.ae)(100)),p$=b.default.div.withConfig({componentId:"sc-1jdkx47-3"})(["margin-bottom:",";"],(0,T.rem)(24)),pK=b.default.div.withConfig({componentId:"sc-1jdkx47-4"})(["height:",";width:",";margin-right:",";"],(0,T.rem)(23),(0,T.rem)(23),(0,T.rem)(15)),pZ=(0,b.default)(tJ.h).attrs({size:"6"}).withConfig({componentId:"sc-1jdkx47-5"})(["color:",";"],(0,z.ae)(500)),pV=(0,b.default)(pZ).withConfig({componentId:"sc-1jdkx47-6"})(["font-weight:normal;margin-bottom:0;max-width:calc(100% - ",");overflow:hidden;white-space:nowrap;text-overflow:ellipsis;"],(0,T.rem)(40)),pU=b.default.div.withConfig({componentId:"sc-1jdkx47-7"})(["padding:",";background-color:",";width:",";border:"," solid ",";border-radius:",";"],(0,T.rem)(36),z.ix,(0,T.rem)(360),(0,T.rem)(1),P.DM.PALE_GRAY,(0,T.rem)(3)),pJ=(0,b.default)(es.x).withConfig({componentId:"sc-1jdkx47-8"})(["display:block;font-weight:bold;font-size:",";line-height:",";color:",";margin-bottom:",";"],(0,T.rem)(18),(0,T.rem)(20),(0,z.ae)(800),(0,T.rem)(24)),pH=(0,b.default)(lX.r).withConfig({componentId:"sc-1jdkx47-9"})(["cursor:pointer;"]),pq=(0,b.default)(pD.Q).withConfig({componentId:"sc-1jdkx47-10"})(["border-radius:",";"],(0,T.rem)(12));function pG({userName:e,pictures:t,actionButtons:r,isShowing:n,isExpert:i}){return(0,j.jsxs)(pY,{show:n,children:[(0,j.jsxs)(pW,{children:[(0,j.jsx)(pX,{alt:e,size:"md",src:t.sizes[1].link}),(0,j.jsx)(pQ,{children:e}),i&&(0,j.jsx)(p1,{})]}),null!=r?(0,j.jsx)(p0,{children:r}):null]})}let pW=b.default.div.withConfig({componentId:"rhgr56-0"})(["display:flex;max-width:calc(100% - ",");"],(0,T.rem)(90)),pY=(0,b.default)(pW).withConfig({componentId:"rhgr56-1"})(["height:",";width:100%;max-width:100%;background-color:",";padding:",";box-shadow:0 "," "," 0 ",";justify-content:space-between;position:fixed;z-index:3;visibility:hidden;opacity:0;transition:all 230ms linear;top:",";@media (min-width:","px){top:",";}"," ",""],(0,T.rem)(70),z.ix,(0,T.rem)(10),(0,T.rem)(5),(0,T.rem)(12),(0,T.rgba)(z.Sn,.2),(0,T.rem)(41),1e3,(0,T.rem)(66),({show:e})=>e&&(0,b.css)(["visibility:visible;opacity:1;"]),V.B.md` display: none; `),pX=(0,b.default)(rU.q).withConfig({componentId:"rhgr56-2"})(["height:",";width:",";"],(0,T.rem)(50),(0,T.rem)(50)),pQ=b.default.div.withConfig({componentId:"rhgr56-3"})(["font-size:",";font-weight:bold;letter-spacing:",";line-height:",";margin:",";color:",";white-space:nowrap;overflow:hidden;text-overflow:ellipsis;"],(0,T.rem)(20),(0,T.rem)(-.5),(0,T.rem)(32),(0,T.rem)(10),(0,z.ae)(800)),p0=(0,b.default)(pW).withConfig({componentId:"rhgr56-4"})(["margin-top:",";"],(0,T.rem)(5)),p1=(0,b.default)(nd).withConfig({componentId:"rhgr56-5"})(["align-self:center;font-size:",";border-radius:",";margin-right:",";transform:translateY(",");a{font-weight:700;}"],(0,T.rem)(9),(0,T.rem)(2),(0,T.rem)(4),(0,T.rem)(2));function p2({totalVideos:e}){return e>0&&e<3e4?(0,j.jsx)(p3,{children:(0,ti.Iu)({singular:"{COUNT} video",plural:"{COUNT} videos",count:e,replacements:{COUNT:e},dictionary:{"de-DE":{singular:"{COUNT} Video",plural:"{COUNT} Videos"},"fr-FR":{singular:"{COUNT} vid\xe9o",plural:"{COUNT} Vid\xe9os"},"ja-JP":{singular:"{COUNT} 件の動画",plural:"{COUNT}件の動画"},"ko-KR":{singular:"동영상 {COUNT}개",plural:"동영상 {COUNT}개"},"pt-BR":{singular:"{COUNT} v\xeddeo",plural:"{COUNT} v\xeddeos"},"zh-CN":{singular:"{COUNT} 个视频",plural:"{COUNT} 个视频"}}})}):null}let p3=(0,b.default)(tJ.h).attrs({size:"2",format:"soft"}).withConfig({componentId:"z8uyud-0"})(["font-weight:bold;letter-spacing:",";"],(0,T.rem)(-.7));function p5(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function p4(e){for(var t=1;t{switch(t.type){case aI.SELECTED_CATEGORY:if(!aO()(e.selectedCategory,t.payload))return aE(aE({},e),{},{selectedCategory:t.payload});break;case aI.PLAY_SECTION_VIDEO:return aE(aE({},e),{},{playerOptions:aE(aE({},t.payload),{},{showPlayer:!0})});case aI.HIDE_VIDEO:return aE(aE({},e),{},{playerOptions:aE(aE({},e.playerOptions),{},{showPlayer:!1})});case aI.TOTAL_VIDEOS:return aE(aE({},e),{},{totalVideos:t.payload})}return e},p8),{userId:i}=(0,l.useContext)(O.Z),{data:o}=(0,l.useContext)(C),{data:a}=aw(r.selectedCategory?.word),s=(0,l.useMemo)(()=>(0,D.L)(a),[a]),c=(0,l.useCallback)(()=>{let e=(0,D.L)(o),t=P.wU.perPage,r=new Map;return e.forEach((e,n)=>{let o=(0,D.qx)(e.uri),a=RegExp(`^arg@"many"@"users/${i}/profile_sections/${-1===o?"default":o}/videos\\?.+?(page=(\\d+))`),s=new Map;k.Fs.keys().filter(e=>a.test(e)).forEach(e=>{let r=e.match(a),n=r&&r.length>1?parseInt(r[2],10):0;k.Fs.get(e).reduce((e,t)=>t?e.concat(t.items):e,[]).forEach((e,r)=>{s.set((n-1)*t+r,e.clip)})}),r.set(n,s)}),r},[o,i]),u=(0,l.useCallback)(()=>{if(r.selectedCategory){let e=new Map,t=new Map;return s.forEach((e,r)=>t.set(r,e)),e.set(0,t)}return c()},[r.selectedCategory,c,s]),d=(0,l.useCallback)((e,t)=>{let r,n,i;let o=u(),a=o.get(e);if(a){if(r=a.get(t),a.size>t+1?i={sectionIndex:e,videoIndex:t+1}:o.size>e+1&&(i={sectionIndex:e+1,videoIndex:0}),a.size>0&&t>0)n={sectionIndex:e,videoIndex:t-1};else if(e>0){let t=o.get(e-1);t&&(n={sectionIndex:e-1,videoIndex:t.size-1})}return{clip:r,previous:n,next:i}}return{clip:void 0,previous:void 0,next:void 0}},[u]),g=(0,l.useCallback)(({current:e,navDirection:t})=>{let{sectionIndex:r,videoIndex:i}=e,o=d(r,i);n({type:aI.PLAY_SECTION_VIDEO,payload:p4(p4({},o),{},{current:e,currentTime:0,navDirection:t})})},[d,n]);return(0,l.useEffect)(()=>{r.selectedCategory||n({type:aI.TOTAL_VIDEOS,payload:t})},[n,r.selectedCategory,t]),(0,j.jsx)(j.Fragment,{children:e({state:r,dispatch:n,triggerPlayback:g})})}let p9=[{label:Y.Z.HideFromProfile,value:"n",hideValue:!0},{label:"she/her",value:"f"},{label:"he/him",value:"m"},{label:"they/them",value:"o"}];function p7(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}let me=(0,l.lazy)(()=>r.e(57e3).then(r.bind(r,57e3))),mt=(0,l.lazy)(()=>r.e(40787).then(r.bind(r,440787)));function mr({profile:e,editMode:t,Footer:r,playerAssetUrls:n,hideContacts:i,canEditPersonalInfo:o}){let{availableForHire:a,backgroundVideo:s,bio:c,canWorkRemotely:u,categories:g,clients:p,contactEmails:m,createdTime:f,gender:b,link:y,locationDetails:x,membership:v,metadata:{connections:{albums:w,followers:C,following:O,videos:k,vimeoExperts:E},publicVideos:{total:S}},name:R,pictures:_,profileDiscovery:T,profilePreferences:{layout:z,profileType:N,shouldAutoAddVideos:B,showAddVideoTip:M,showClients:J,showProfileTypeTip:H,showRate:q,showJoinVimeoExpertsModal:G},projectTypes:W,rates:X,skills:Q,totalCollectionCount:ee,uri:et,verified:er,websites:en}=e,{onUserUpdate:ei,onPreferenceUpdate:eo,fetchPublicVideosCount:ea}=t6(),{0:es,1:el}=(0,l.useState)(!1),{0:ec,1:eu}=(0,l.useState)(!1);(0,l.useEffect)(()=>{new URLSearchParams(window.location.search).get("showAddYourProfileTourpoint")&&(eu(!0),history.replaceState(null,"",window.location.pathname))},[]),(0,l.useEffect)(()=>{el(t&&"creative_professional"==N&&G&&E?.isEnrolled===!1)},[t,N,G,E]),(0,l.useEffect)(()=>{let e=document?.referrer||"";tr(P.hy.VISIT_PROFILE_PAGE,2,{referrer:e,profile_id:(0,D.qx)(et),profile_plan:v?.type??"",can_work_remotely:u,available_for_hire:a})},[]);let ed=(0,l.useMemo)(()=>null==v||"basic"===v.type.toString()||"free"===v.type.toString(),[v]),eg=(0,l.useMemo)(()=>a&&!ed,[a,ed]),{0:ep,1:em}=(0,l.useState)(!1),{0:eh,1:eb}=(0,l.useState)(H),{0:ey,1:ej}=(0,l.useState)(!1),ex=(0,D.qx)(et),ev=(0,Z.i)(),eC=(0,l.useMemo)(()=>ev.width>=V.O.md,[ev.width]),{locale:eO,recaptchaSiteKey:ek,user:eE,xsrft:eI,isFromCopyrightRestrictedRegion:eP}=(0,l.useContext)(h.Z),eS=(0,l.useRef)(null),eR=document?.referrer||"",e_=(0,l.useMemo)(()=>-1!==eR.indexOf(P.xr.CREATORS)||-1!==eR.indexOf(P.xr.JOBS)||-1!==eR.indexOf(P.xr.MY_JOBS)||-1!==eR.indexOf(P.xr.SEARCH),[eR]),eD=(0,l.useCallback)(e=>{em(!0),eb(!1),eo({profilePreferences:{showProfileTypeTip:!1}},!1);let t=new FormData,r=[(0,I.hk)({questionKey:"segment",answerKey:e})];t.append("answers",JSON.stringify(r)),t.append("token",eI),fetch("/survey/profile_onboarding",{method:"POST",body:t})},[eo,eI]),eT=t||i||eP?null:(0,j.jsxs)(j.Fragment,{children:[(0,j.jsx)(lv,{xsrft:eI,isOwner:ex===eE?.id}),(0,j.jsx)(r7,{profile:{id:ex,name:R,link:y,pictures:_,isStaff:v?.badge.type===U.gZ.Staff},viewerId:eE?.id,xsrft:eI,recaptchaSiteKey:ek,shouldDisableCaptcha:!0,children:e=>(0,j.jsx)(ef,{icon:(0,j.jsx)(F.w,{}),status:"positive",onClick:e,children:eC&&Y.Z.Message})})]});(0,l.useEffect)(()=>{eb(H)},[H]);let ez=ex===eE?.id;return(0,j.jsx)($.Z,{type:K.G.BarebonePlayer,assetUrls:n,children:(0,j.jsxs)(r6,{profileId:ex,children:[ez&&!T&&(0,j.jsx)(mm,{format:"primary",children:(0,j.jsx)(L.n,{size:"2",children:Y.Z.HiddenProfileNotice})}),(0,j.jsx)(lI,{isDesktopView:eC,footerRef:eS,showSearchResultsButton:e_,referrerUrl:eR,isOwner:ez,stickyTopNav:r=>(0,j.jsx)(pG,{userName:e.name,pictures:_,actionButtons:eT,isShowing:r&&!t,isExpert:e.isExpert}),header:t?(0,j.jsx)(o6,{profile:e}):!!s?.length&&(0,j.jsx)(o6,{profile:e}),infoPanel:(0,j.jsxs)(j.Fragment,{children:[(0,j.jsxs)(ma,{children:[(0,j.jsx)(dU,{editMode:t,name:R,picture:_,availableForHire:a,disableBadge:eP}),!eC&&eT?(0,j.jsx)(mi,{children:eT}):null,(0,j.jsx)(pN,{onlyCTA:t||i,profileLink:y,profileName:R})]}),(0,j.jsx)(dY,{name:R,onNameSubmit:ei,canEditPersonalInfo:o,isExpert:e.isExpert}),(0,j.jsx)(cp,{value:x}),"en"===eO&&(0,j.jsx)(ge,{gender:b,pronounsList:p9,onPronounUpdate:ei}),(0,j.jsx)(ew,{onUpdate:ei,value:c,isDesktopView:eC}),i?(0,j.jsx)(cw,{name:R,profileUserId:ex,xsrft:eI}):(0,j.jsxs)(j.Fragment,{children:[(0,j.jsx)(au,{editMode:t,emails:m?.emails||[]}),er&&(0,j.jsx)(cs,{links:en}),eC&&eT?(0,j.jsx)(mi,{children:eT}):null]})]}),aboutPanel:(0,j.jsxs)(j.Fragment,{children:[t||!eP?(0,j.jsx)(rC,{projectTypes:W,skills:Q,availableForHire:eg,showUpgrade:ed,onUpdate:({availableForHire:e,canWorkRemotely:t})=>(tr(P.hy.UPDATE_FOREHIRE_SETTINGS,1,{opted_in:e,working_remotely:t,roles:null,projects:null}),ei({availableForHire:e,canWorkRemotely:t})),canWorkRemotely:u,showAddYourProfileTourpoint:ec,isEnrolledToExperts:E?.isEnrolled}):null,t||!eP?(0,j.jsx)(g_,{editMode:t,showRate:q,myRate:X,toggleVisibility:e=>eo({profilePreferences:{showRate:e}})}):null,(0,j.jsx)(rK,{profileClients:p,showClients:J,toggleVisibility:e=>{eo({profilePreferences:{showClients:e}})},isEnrolledToExperts:E?.isEnrolled}),(0,j.jsx)(eU,{userLink:y,totalAlbums:w.total,totalFollowers:C.total,totalFollowing:O.total,totalCollections:ee,membership:v?.badge,createdTime:f||"",disableCollections:eP}),(0,j.jsx)(id,{userId:ex})]}),videoPanel:(0,j.jsx)(p6,{total:S,children:({state:r,dispatch:i,triggerPlayback:o})=>{let{selectedCategory:a}=r;return S?(0,j.jsxs)(j.Fragment,{children:[(0,j.jsx)(p2,{totalVideos:r.totalVideos??0}),(0,j.jsx)(rS,{userId:ex,selected:a,onCategoryChange:e=>i({type:aI.SELECTED_CATEGORY,payload:e}),categories:g}),a?(0,j.jsxs)(j.Fragment,{children:[t&&(0,j.jsx)(px,{viewType:z,footerHeight:eS.current?.offsetHeight||0,disableToggleView:!0}),(0,j.jsx)(ly,{selectedCategory:a,openPlayer:e=>o(e),dispatch:i})]}):(0,j.jsx)(pP,{viewType:z,openPlayer:e=>o(e),toggleViewType:e=>eo({profilePreferences:{layout:e}}),shouldAutoAddVideos:B,toggleAutoAddVideos:e=>eo({profilePreferences:{shouldAutoAddVideos:e}}),footerHeight:eS.current?.offsetHeight||0,publicVideosCount:S,updatePublicVideosCount:ea,showAutoAddVideosNotification:()=>ej(!0)}),r.playerOptions&&r.playerOptions.showPlayer&&r.playerOptions.clip?(0,j.jsx)(mo,{children:(0,j.jsx)(u0,function(e){for(var t=1;ti({type:aI.HIDE_VIDEO}),onChange:(e,t)=>o({current:e,navDirection:t}),clip:r.playerOptions.clip},r.playerOptions),"playback_"+r.playerOptions.clip.uri)}):null]}):(0,j.jsx)(cU,{showAddVideoCta:0!==k.total,editMode:t,hasCoverVideo:!!s?.length,shouldAutoAddVideos:B,toggleAutoAddVideos:e=>eo({profilePreferences:{shouldAutoAddVideos:e}}),updatePublicVideosCount:ea})}})}),t&&(0,j.jsxs)(l.Suspense,{fallback:(0,j.jsx)(j.Fragment,{}),children:[eh||ep?(0,j.jsx)(mt,{onDismiss:()=>{ep?em(!1):eb(!1),eo({profilePreferences:{showProfileTypeTip:!1}},!1)},selected:N,onProfileTypeSubmit:eD,playerAssetUrls:n}):null,!(eh||ep)&&M&&ey?(0,j.jsx)(me,{onClose:()=>{ej(!1),eo({profilePreferences:{showAddVideoTip:!1}},!1)},onAutoAddVideos:e=>{eo({profilePreferences:{shouldAutoAddVideos:e,showAddVideoTip:!1}},!1)}}):null]}),(0,j.jsx)(mc,{active:es,content:(0,j.jsxs)(ms,{children:[(0,j.jsx)(ml,{onClick:()=>{eo({profilePreferences:{showJoinVimeoExpertsModal:!1}},!1),el(!1)}}),(0,j.jsx)(mp,{src:"https://i.vimeocdn.com/custom_asset/3286"}),(0,j.jsxs)(mu,{children:[(0,j.jsx)(md,{children:Y.Z.JoinExpertsInfoModalTitle}),(0,j.jsx)(mg,{children:Y.Z.JoinExpertsInfoModalContent}),(0,j.jsx)(A.z,{element:"a",href:"/experts/dashboard",size:"lg",children:Y.Z.JoinExperts})]})]})}),(0,j.jsx)("div",{ref:eS,children:r})]})})}let mn=(0,b.keyframes)(["0%{opacity:0;transform:translateY(100%) scale(0.25);}100%{opacity:1;transform:translateY(0) scale(1);}"]),mi=b.default.div.withConfig({componentId:"zitgek-0"})(["margin-top:",";display:flex;",""],(0,T.rem)(30),V.B.md` margin: ${(0,T.rem)(20)} ${(0,T.rem)(10)} 0; `),mo=b.default.section.withConfig({componentId:"zitgek-1"})(["position:fixed;background-color:",";top:0;left:0;height:100%;width:100%;overflow:hidden;overflow-y:auto;z-index:1002;animation:"," 230ms ease-in;"],z.Sn,mn),ma=b.default.div.withConfig({componentId:"zitgek-2"})(["display:flex;justify-content:space-between;"]),ms=b.default.div.withConfig({componentId:"zitgek-3"})(["padding:",";border-radius:",";background:linear-gradient(107.96deg,#1b4070 14.43%,#2b103c 96.02%);max-width:",";"],(0,T.rem)(0),(0,T.rem)(16),(0,T.rem)(390)),ml=(0,b.default)(B.n).withConfig({componentId:"zitgek-4"})(["position:absolute;top:",";right:",";width:",";height:",";cursor:pointer;path{fill:white;}&:hover{width:",";height:",";top:",";right:",";}"],(0,T.rem)(18),(0,T.rem)(18),(0,T.rem)(20),(0,T.rem)(20),(0,T.rem)(22),(0,T.rem)(22),(0,T.rem)(17),(0,T.rem)(17)),mc=(0,b.default)(M.u).withConfig({componentId:"zitgek-5"})(["@media (min-width:","px){bottom:",";right:",";position:fixed;}"],V.O.xmd,(0,T.rem)(40),(0,T.rem)(32)),mu=b.default.div.withConfig({componentId:"zitgek-6"})(["padding:",";"],(0,T.rem)(24)),md=b.default.div.withConfig({componentId:"zitgek-7"})(["color:",";font-style:normal;font-weight:bold;font-size:",";line-height:",";text-align:center;margin-bottom:",";"],z.ix,(0,T.rem)(28),(0,T.rem)(33),(0,T.rem)(16)),mg=b.default.div.withConfig({componentId:"zitgek-8"})(["color:",";font-style:normal;font-weight:normal;font-size:",";line-height:",";text-align:center;margin-bottom:",";"],z.ix,(0,T.rem)(16),(0,T.rem)(24),(0,T.rem)(40)),mp=b.default.img.withConfig({componentId:"zitgek-9"})(["border-radius:",";width:100%;"],(0,T.rem)(4)),mm=(0,b.default)(N.q).withConfig({componentId:"zitgek-10"})(["position:sticky;top:",";display:flex;justify-content:center;background:#d9f3fd;z-index:99;gap:",";margin-bottom:0;span{position:relative;display:flex;align-items:center;top:0;left:0;}"],(0,T.rem)(64),(0,T.rem)(8));function mf(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function mh({playerAssetUrls:e,userId:t}){let r=(0,l.useContext)(h.Z),{capabilities:n}=(0,p.K)(["canEditPersonalInfo"]),i=(0,s.useRouter)(),o=(0,g.g)(),{0:a,1:c}=(0,l.useState)(!1),u=r?.user?.id.toString()===t||r?.user?.link.endsWith(t)||!1,b=n?.canEditPersonalInfo??!1;(0,l.useEffect)(()=>{let e=location.search.includes("preview");u&&!e&&c(!0),!u&&e&&i.replace(location.pathname)},[u]);let y=(0,l.useMemo)(()=>r?.user===null&&"variant"===o("JS.Profile.ContactsModule","profile_contacts_join","control"),[o,r?.user]),{data:v,error:R,mutate:T,revalidate:z,isValidating:A}=function(e,t){let r=(0,E.Z)(),n=["name","gender","bio","uri","link","background_video","location_details","pictures","verified","metadata.public_videos.total","available_for_hire","can_work_remotely","metadata.connections.videos.total","metadata.connections.albums.total","metadata.connections.followers.total","metadata.connections.following.total","metadata.public_videos.total","metadata.connections.vimeo_experts.is_enrolled","total_collection_count","created_time","profile_preferences","membership","clients","skills","project_types","rates","categories","is_expert","profile_discovery"];t||n.push("websites","contact_emails");let i=(0,l.useCallback)(e=>r(e,{fields:n,fetch_user_profile:"1"}),[r,n]);return(0,k.ZP)(`users/${e}`,i)}(t,y),N=function(e){let t=(0,E.Z)();return(0,k.g_)(t=>{let r=_(_({},P.$M),{},{page:t+1}),n=(0,S.Ie)((0,I.hk)(r));return`users/${e}/profile_sections${n}`},t)}(t),F=!v&&!R;if(!function(e){let t=(0,s.useRouter)();(0,l.useEffect)(()=>{if(e)try{let r=new URL(e),n=r.pathname.replace(/\/+$/,""),i=location.pathname.replace(/\/+$/,"");if(n!==i){let{userId:e}=t.query;t.push({pathname:"/profile/[userId]",query:{userId:e}},r.pathname,{shallow:!0})}}catch(e){}},[e,t])}(v?.link),!r||F)return(0,j.jsx)(x,{});if(R&&404===R.status)throw new m.TX(R);return R||!v?null:(0,j.jsx)(w.Provider,{value:{data:v,error:R,mutate:T,isValidating:A,revalidate:z},children:(0,j.jsx)(C.Provider,{value:N,children:(0,j.jsx)(O.Z.Provider,{value:{idOrUserName:t,editMode:a,userId:(0,D.qx)(v.uri)},children:(0,j.jsx)(mr,{profile:v,editMode:a,playerAssetUrls:e,hideContacts:y,canEditPersonalInfo:b,Footer:(0,j.jsx)(f.Z,function(e){for(var t=1;t{let t=(0,l.useContext)(h.Z),r=(0,s.useRouter)(),{userId:n}=r.query,{pathname:i}=r;return"/profile/[userId]"===i&&(n=n??window.location.pathname.substring(1)),(0,j.jsx)(c.J$,{value:{revalidateOnFocus:!1,revalidateOnReconnect:!1},children:(0,j.jsxs)(t5.ZP,{children:[t&&"string"==typeof n&&(0,j.jsx)(mh,{playerAssetUrls:e,userId:n}),(0,j.jsx)(mj,{})]})})};mx.getLayout=function(e){return(0,j.jsxs)(j.Fragment,{children:[(0,j.jsx)(u.L,{hasThemeSupport:!1}),e]})},mx.getInitialProps=e=>({layoutOptions:{headerFixed:!0},metadata:{className:"ProfileMetadata",routeRule:e.pathname}});var mv=mx},116731:function(e,t,r){"use strict";r.d(t,{Z:function(){return m}});var n=r(867932),i=r(92575),o=r(524777);r(652983);var a=r(173898),s=r(763952),l=r(711212),c=r(214945),u=r(397458);let d=["onClick","size"];function g(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function p(e){for(var t=1;tf(!1)),(0,d.Z)(u?e=>(0,g.i2)(e,()=>f(!1)):void 0,[u]),(0,p.jsx)("div",h(h({},c),{},{children:(0,p.jsxs)(x,{children:[(0,p.jsx)(j,{ref:b,isHoverable:!y,onClick:()=>y&&f(!0),onKeyDown:e=>(0,g.$o)(e,()=>y&&f(!0),!1),children:t}),r?(0,p.jsx)(v,{alignment:n,className:"btn-tip",show:l||y&&u,children:(0,p.jsx)(w,{children:r})}):null]})}))}let y=(0,l.css)(["opacity:1;visibility:visible;"]),j=l.default.span.withConfig({componentId:"sc-1qvlu7l-0"})(["",""],({isHoverable:e})=>e&&(0,l.css)(["&:hover + .btn-tip{","}"],y)),x=l.default.div.withConfig({componentId:"sc-1qvlu7l-1"})(["position:relative;"]),v=l.default.article.withConfig({componentId:"sc-1qvlu7l-2"})(["padding:",";border:"," solid ",";border-radius:",";text-align:center;color:",";background-color:",";display:block;position:absolute;"," opacity:0;visibility:hidden;z-index:1;transition:all 230ms ease-in-out;",";"],(0,a.rem)(8),(0,a.rem)(1),({theme:e})=>(0,a.rgba)(c.ix,"dark"===e.name?.25:0),(0,a.rem)(4),c.ix,c.Sn,({alignment:e})=>{let t="",r=`calc(100% + ${(0,a.rem)(12)})`;return e.indexOf("top")>-1?t+=`bottom: ${r};`:e.indexOf("bottom")>-1?t+=`top: ${r};`:t+="top: 0;",e.indexOf("left")>-1?t+=`right: ${r};`:e.indexOf("right")>-1?t+=`left: ${r};`:t+="left: 50%; transform: translateX(-50%);",(0,l.css)(["",""],t)},({show:e})=>e&&y),w=(0,l.default)(u.n).attrs({size:"2"}).withConfig({componentId:"sc-1qvlu7l-3"})(["margin:0;color:",";white-space:nowrap;"],c.ix)},286346:function(e,t,r){"use strict";r.d(t,{Z:function(){return s}});var n=r(652983),i=r(173898),o=r(271147),a=r(397458);function s({alignment:e,children:t,tooltipText:r,disable:i}){let{0:s,1:c}=(0,n.useState)(!1);return(0,a.jsx)(o.Z,{alignment:e,text:r,isShowing:!i&&s,children:(0,a.jsx)(l,{onFocus:()=>c(!0),onBlur:()=>c(!1),disable:i,onMouseEnter:()=>c(!0),onMouseLeave:()=>c(!1),children:t})})}let l=i.default.span.withConfig({componentId:"sc-192ta6l-0"})(["",""],({disable:e})=>e&&(0,i.css)(["pointer-events:none;"]))},330171:function(e,t,r){"use strict";r.d(t,{ZP:function(){return d},eO:function(){return u},uu:function(){return c}});var n=r(867932),i=r(652983),o=r(214945),a=r(397458);function s(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function l(e){for(var t=1;tPromise.reject("not implemented yet"));function d({children:e}){let{0:t,1:r}=(0,i.useState)({content:"",showing:!1}),n=(0,i.useCallback)(e=>{r(e=>l(l({},e),{},{showing:!1})),setTimeout(()=>{let t=e||{content:(0,a.jsx)(a.Fragment,{children:o.Z.SavedChanges})};r(e=>l(l(l({},e),t),{},{showing:!0}))},100)},[]);return(0,a.jsx)(u.Provider,{value:n,children:(0,a.jsx)(c.Provider,{value:t,children:e})})}},114305:function(e,t,r){"use strict";let n=(0,r(652983).createContext)({editMode:!1,idOrUserName:"",userId:-1});t.Z=n},531212:function(e,t,r){"use strict";r.d(t,{Z:function(){return d}});var n=r(652983),i=r(16871),o=r(867932),a=r(408262),s=r(932004),l=r(39037);function c(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}async function u(e,t,r,n,i,u=s.s1.GET,d,g){let p=`//${e}/${n}${i?(0,l.Ie)((0,a.hk)(i)):""}`,m={method:u,headers:function(e){for(var t=1;t(0,l.bI)(e)).catch(()=>{}):Promise.reject(f)}function d(){let{apiUrl:e,jwt:t,locale:r}=(0,n.useContext)(i.Z),o=(0,n.useRef)(new Map);return o.current.set("apiUrl",e),o.current.set("jwt",t),o.current.set("locale",r),(0,n.useCallback)((e,t,r=s.s1.GET,n,i)=>{let a=o.current.get("apiUrl"),l=o.current.get("jwt"),c=o.current.get("locale");return a&&l&&c?u(a,l,c,e,t,r,n,i):Promise.reject("not ready yet")},[o,t,e,r])}},224957:function(e,t,r){"use strict";var n=r(652983);t.Z=function(e,t=[],r){(0,n.useEffect)(()=>{if(!e)return;let t=r?.current||document,n=t=>{e?.(t)};return t.addEventListener("keydown",n),()=>t.removeEventListener("keydown",n)},t)}},39037:function(e,t,r){"use strict";r.d(t,{Ie:function(){return a},bI:function(){return o}});var n=r(320749),i=r(923921);function o(e){if((0,i.Uy)(e)&&Array.isArray(e.data)){let t=e.data;delete e.data,Object.assign(e,{items:t})}return(0,n._)(e)}function a(e){return"?"+Object.keys(e).reduce((t,r)=>(t.push(`${encodeURIComponent(r)}=${encodeURIComponent((function e(t){if("string"==typeof t)return t;if("number"==typeof t||"boolean"==typeof t)return t.toString();if(Array.isArray(t))return t.map(e).join(",");throw Error(`Unable to encode ${typeof t} to query string`)})(e[r]).toString())}`),t),[]).join("&")}},197893:function(e,t,r){"use strict";r.d(t,{$o:function(){return c},BX:function(){return p},L:function(){return m},Nt:function(){return d},_x:function(){return f},i2:function(){return u},lt:function(){return g},oH:function(){return h},qx:function(){return l}});var n=r(867932),i=r(846463),o=r(932004);function a(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function s(e){for(var t=1;t{let t=e&&e.match(/\d+$/);return t?parseInt(t[0],10):-1},c=(e,t,r=!0)=>{(e.keyCode===o.mW.ENTER||e.keyCode===o.mW.SPACE)&&(t(),r&&e.preventDefault())},u=(e,t)=>{e.keyCode===o.mW.ESC&&(t(),e.preventDefault())};function d(e,t,r){let n=[];for(let t=0;te?s(s({},e),{},{items:n[t]}):e).filter(e=>!!e&&null!=e.items)}let g=e=>{i.Fs.keys().filter(t=>e.test(t)).forEach(e=>i.Fs.delete(e))},p=e=>{let t=`users/${e}/profile_sections?`;g(RegExp(`^${t}`))};function m(e){return(e||[]).reduce((e,t)=>t?e.concat(t.items):e,[]).filter(e=>null!=e)}function f(e){let t=null!=e&&e.length>0?e[e.length-1]:null;return t&&t.paging&&null!==t.paging.next}function h(e){return/^(([^<>()\[\]\\.,;:\s@"]+(\.[^<>()\[\]\\.,;:\s@"]+)*)|(".+"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}])|(([a-zA-Z\-0-9]+\.)+[a-zA-Z]{2,}))$/.test(e)}},932004:function(e,t,r){"use strict";r.d(t,{$M:function(){return es},$Z:function(){return v},$k:function(){return F},DM:function(){return V},G3:function(){return T},Hw:function(){return x},Ku:function(){return E},Mb:function(){return B},Qg:function(){return $},Rs:function(){return P},S3:function(){return er},SM:function(){return H},T$:function(){return z},Um:function(){return N},XP:function(){return R},Xy:function(){return O},_7:function(){return q},_C:function(){return U},aK:function(){return J},aW:function(){return Z},ad:function(){return C},bW:function(){return et},df:function(){return I},hq:function(){return k},hy:function(){return eu},iX:function(){return A},m:function(){return ec},mW:function(){return W},s1:function(){return G},t4:function(){return _},tB:function(){return w},tG:function(){return S},tj:function(){return L},tk:function(){return K},vi:function(){return M},wU:function(){return ea},wg:function(){return el},xr:function(){return Q},z4:function(){return D},zJ:function(){return ee},zZ:function(){return Y},zg:function(){return X}});var n,i,o,a,s,l,c,u,d,g,p,m,f,h,b=r(867932);function y(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function j(e){for(var t=1;t`videos.data.${e}`)),ea=j(j({},en),{},{fields:ei,page:1,perPage:10}),es=j(j({},en),{},{includeVideos:1,fields:eo,videosCountPerSection:10,page:1,perPage:4}),el=j(j({},en),{},{fields:["uri","name","type","categories.name","categories.uri","config_url","pictures","height","width","duration","description","created_time","badge.type","user.uri","live.scheduled_start_time","live.status","user.name","user.link","user.location","user.bio","user.membership.badge","user.skills","user.background_video","user.available_for_hire","user.pictures.sizes"],filter:"category",page:1,perPage:10}),ec={fields:["uri","link","text","user.name","user.link","user.uri","user.membership.badge","user.pictures.sizes","user.bio","user.skills","user.background_video","user.location","user.available_for_hire"],page:1,perPage:20},eu=((h={}).CLICK_TO_FOLLOW_CREATOR="click_to_follow_creator",h.CLICK_TO_MESSAGE_CREATOR="click_to_message_creator",h.CLICK_TO_CREATOR_LINK="click_to_creator_link",h.CLICK_TO_SHARE_PROFILE="click_to_share_profile",h.CLICK_TO_CATEGORY="click_on_category",h.VISIT_PROFILE_PAGE="visit_profile_page",h.CLICK_TO_DRAG_VIDEO="click_to_drag_video",h.CLICK_TO_SWITCH_LAYOUT="click_to_switch_layout",h.CLICK_TO_PUBLIC_VIDEOS_TOGGLE="click_to_public_videos_toggle",h.CLICK_TO_REMOVE_FEATURED_COMMENT="click_to_remove_featured_comment",h.CANCEL_FEATURED_COMMENT_MODAL="cancel_featured_comment_modal",h.CLICK_TO_ADD_FEATURED_COMMENT="click_to_add_featured_comment",h.CLICK_TO_UPGRADE_FORHIRE="click_to_upgrade_forhire",h.UPDATE_FOREHIRE_SETTINGS="update_forhire_settings",h.CLIENTS_ADDED="clients_added",h.RATES_ADDED="rates_added",h.CATEGORIES_ADD="categories_added",h.CLICK_TO_ORDER_SECTION="click_to_order_section",h.CLICK_TO_REMOVE_SECTION="click_to_remove_section",h.CLICK_TO_CREATE_SECTION="click_to_create_section",h.CLOSE_ADD_VIDEO_MODAL="close_add_video_modal",h.CLICK_TO_ADD_VIDEO="click_to_add_video",h.CLOSE_COVER_VIDEO_MODAL="close_cover_video_modal",h.CLICK_TO_ADD_COVER_VIDEO="click_to_add_cover_video",h.CLICK_TO_JOIN_CONTACT_MODULE="vimeo_com.click_to_join_contact_module",h.CLICK_PROFILE_SHARE_SOCIAL_PLATFORM="vimeo.click_profile_share_social_platform",h.CLICK_GET_LISTED_BUTTON="click_get_listed_button",h.CLICK_REMOVE_LISTING_BUTTON="click_remove_listing_button",h.CLICK_UPGRADE_TO_GET_LISTED_BUTTON="click_upgrade_to_get_listed_button",h.UPGRADE_TO_GET_LISTED_SUCCESS="upgrade_to_get_listed_success",h)},214945:function(e,t,r){"use strict";var n=r(662555),i=r(359462),o=r(397458);let a={About:(0,n.Iu)({singular:"About",dictionary:{es:{singular:"Acerca de"},"de-DE":{singular:"\xdcber uns"},"fr-FR":{singular:"\xc0 propos"},"ko-KR":{singular:"소개"},"pt-BR":{singular:"Sobre"},"zh-CN":{singular:"关于"}}}),Activity:(0,n.Iu)({singular:"Activity",dictionary:{es:{singular:"Actividad"},"de-DE":{singular:"Aktivit\xe4t"},"fr-FR":{singular:"Activit\xe9"},"ja-JP":{singular:"アクティビティ"},"ko-KR":{singular:"활동"},"pt-BR":{singular:"Atividade"},"zh-CN":{singular:"活动"}}}),Add:(0,n.Iu)({singular:"Add",dictionary:{es:{singular:"Agregar"},"de-DE":{singular:"Hinzuf\xfcgen"},"fr-FR":{singular:"Ajouter"},"ja-JP":{singular:"追加"},"ko-KR":{singular:"추가"},"pt-BR":{singular:"Adicionar"},"zh-CN":{singular:"添加"}}}),AddBio:(0,n.Iu)({singular:"Add bio",dictionary:{es:{singular:"Agregar biograf\xeda"},"de-DE":{singular:"Bio hinzuf\xfcgen"},"fr-FR":{singular:"Ajouter une bio"},"ja-JP":{singular:"経歴を追加"},"ko-KR":{singular:"소개 추가"},"pt-BR":{singular:"Adicionar biografia"},"zh-CN":{singular:"添加自我介绍"}}}),AddCategories:(0,n.Iu)({singular:"Add categories",dictionary:{es:{singular:"Agregar categor\xedas"},"de-DE":{singular:"Kategorien hinzuf\xfcgen"},"fr-FR":{singular:"Ajouter des cat\xe9gories"},"ja-JP":{singular:"カテゴリーを追加"},"ko-KR":{singular:"카테고리 추가"},"pt-BR":{singular:"Adicionar categorias"},"zh-CN":{singular:"添加类别"}}}),AddClients:(0,n.Iu)({singular:"Add clients",dictionary:{es:{singular:"Agregar clientes"},"de-DE":{singular:"Kunden hinzuf\xfcgen"},"fr-FR":{singular:"Ajouter des clients"},"ja-JP":{singular:"クライアントを追加"},"ko-KR":{singular:"고객 추가"},"pt-BR":{singular:"Adicionar clientes"},"zh-CN":{singular:"添加客户"}}}),AddCollaboratorsInVideoSettings:(0,n.Iu)({singular:"Add collaborators in video settings",dictionary:{es:{singular:"Agregar colaboradores en la configuraci\xf3n de video"},"de-DE":{singular:"Kollaborateure in Video-Einstellungen hinzuf\xfcgen"},"fr-FR":{singular:"Ajouter des collaborateurs dans les param\xe8tres vid\xe9o"},"ja-JP":{singular:"動画設定でコラボレーターを追加"},"ko-KR":{singular:"동영상 설정에서 협업자를 추가하세요"},"pt-BR":{singular:"Adicionar colaboradores nas configura\xe7\xf5es de v\xeddeo"},"zh-CN":{singular:"在视频设置中添加合作者"}}}),AddCoverVideo:(0,n.Iu)({singular:"Add a cover video",dictionary:{es:{singular:"Agregar un video de portada"},"de-DE":{singular:"Cover-Video hinzuf\xfcgen"},"fr-FR":{singular:"Ajouter une vid\xe9o de couv'"},"ja-JP":{singular:"カバー動画を追加"},"ko-KR":{singular:"커버 동영상 추가"},"pt-BR":{singular:"Adicionar um v\xeddeo de capa"},"zh-CN":{singular:"添加封面视频"}}}),AddDescription:(0,n.Iu)({singular:"Add description",dictionary:{es:{singular:"Agregar descripci\xf3n"},"de-DE":{singular:"Beschreibung hinzuf\xfcgen"},"fr-FR":{singular:"Ajouter une description"},"ja-JP":{singular:"概要の追加"},"ko-KR":{singular:"설명 추가"},"pt-BR":{singular:"Adicionar descri\xe7\xe3o"},"zh-CN":{singular:"添加描述"}}}),AddEmail:(0,n.Iu)({singular:"Add email",dictionary:{es:{singular:"Agregar correo electr\xf3nico"},"de-DE":{singular:"E-Mail hinzuf\xfcgen"},"fr-FR":{singular:"Ajouter une adresse e-mail"},"ja-JP":{singular:"メールアドレスを追加"},"ko-KR":{singular:"이메일 추가"},"pt-BR":{singular:"Adicionar e-mail"},"zh-CN":{singular:"添加电子邮件"}}}),AddLink:(0,n.Iu)({singular:"Add link",dictionary:{es:{singular:"Agregar enlace"},"de-DE":{singular:"Link hinzuf\xfcgen"},"fr-FR":{singular:"Ajouter un lien"},"ja-JP":{singular:"リンクを追加"},"ko-KR":{singular:"링크 추가"},"pt-BR":{singular:"Adicionar link"},"zh-CN":{singular:"添加链接"}}}),AddLocation:(0,n.Iu)({singular:"Add location",dictionary:{es:{singular:"Agregar ubicaci\xf3n"},"de-DE":{singular:"Standort hinzuf\xfcgen"},"fr-FR":{singular:"Ajouter un lieu"},"ja-JP":{singular:"位置情報を追加"},"ko-KR":{singular:"위치 추가"},"pt-BR":{singular:"Adicionar localiza\xe7\xe3o"},"zh-CN":{singular:"添加地点"}}}),AddProjectTypes:(0,n.Iu)({singular:"Add project types",dictionary:{es:{singular:"Agregar tipos de proyectos"},"de-DE":{singular:"Projekttypen hinzuf\xfcgen"},"fr-FR":{singular:"Ajouter des types de projets"},"ja-JP":{singular:"プロジェクトタイプを追加"},"ko-KR":{singular:"프로젝트 유형 추가"},"pt-BR":{singular:"Adicionar tipos de projeto"},"zh-CN":{singular:"添加项目类型"}}}),AddPronouns:(0,n.Iu)({singular:"Add pronouns",dictionary:{es:{singular:"Agregar pronombres"},"de-DE":{singular:"Pronomen hinzuf\xfcgen"},"fr-FR":{singular:"Ajouter des pronoms"},"ja-JP":{singular:"ジェンダー代名詞を追加"},"ko-KR":{singular:"대명사 추가"},"pt-BR":{singular:"Adicionar pronomes"},"zh-CN":{singular:"添加代词"}}}),AddPublicVideos:(0,n.Iu)({singular:"Add public videos to display on your profile.",dictionary:{es:{singular:"Agrega videos p\xfablicos para mostrarlos en tu perfil."},"de-DE":{singular:"F\xfcge \xf6ffentliche Videos hinzu, die auf deinem Profil angezeigt werden sollen."},"fr-FR":{singular:"Ajoutez des vid\xe9os publiques \xe0 afficher sur votre profil."},"ja-JP":{singular:"プロフィールに表示する公開動画を追加してください。"},"ko-KR":{singular:"프로필에 표시할 공개 동영상을 추가하세요."},"pt-BR":{singular:"Adicione v\xeddeos p\xfablicos para exibir em seu perfil."},"zh-CN":{singular:"添加公开视频,以显示在您的个人资料中。"}}}),AddRate:(0,n.Iu)({singular:"Add rate",dictionary:{es:{singular:"Agregar tarifa"},"de-DE":{singular:"Preis hinzuf\xfcgen"},"fr-FR":{singular:"Ajouter un tarif"},"ja-JP":{singular:"料金を追加"},"ko-KR":{singular:"급여 추가"},"pt-BR":{singular:"Adicionar valor"},"zh-CN":{singular:"添加费率"}}}),AddRoles:(0,n.Iu)({singular:"Add roles",dictionary:{es:{singular:"Agregar roles"},"de-DE":{singular:"Rollen hinzuf\xfcgen"},"fr-FR":{singular:"Ajouter des r\xf4les"},"ja-JP":{singular:"職種を追加"},"ko-KR":{singular:"직무 추가"},"pt-BR":{singular:"Adicionar fun\xe7\xf5es"},"zh-CN":{singular:"添加角色"}}}),AddVideo:(0,n.Iu)({singular:"Add video",dictionary:{es:{singular:"Agregar video"},"de-DE":{singular:"Video hinzuf\xfcgen"},"fr-FR":{singular:"Ajouter une vid\xe9o"},"ja-JP":{singular:"動画を追加"},"ko-KR":{singular:"동영상 추가"},"pt-BR":{singular:"Adicionar v\xeddeo"},"zh-CN":{singular:"添加视频"}}}),AddVideos:(0,n.Iu)({singular:"Add videos",dictionary:{es:{singular:"Agregar videos"},"de-DE":{singular:"Video hinzuf\xfcgen"},"fr-FR":{singular:"Ajouter des vid\xe9os"},"ja-JP":{singular:"動画を追加"},"ko-KR":{singular:"동영상 추가"},"pt-BR":{singular:"Adicionar v\xeddeos"},"zh-CN":{singular:"添加视频"}}}),AgreementError:(0,n.Iu)({singular:"Please agree to the terms.",dictionary:{es:{singular:"Acepta los t\xe9rminos."},"de-DE":{singular:"Bitte stimme den Nutzungsbedingungen zu."},"fr-FR":{singular:"Veuillez accepter les conditions."},"ja-JP":{singular:"利用規約に同意してください。"},"ko-KR":{singular:"약관에 동의해주세요."},"pt-BR":{singular:"Voc\xea deve concordar com os termos."},"zh-CN":{singular:"请同意这些条款。"}}}),All:(0,n.Iu)({singular:"All",dictionary:{es:{singular:"Todos"},"de-DE":{singular:"Alle"},"fr-FR":{singular:"Tout"},"ja-JP":{singular:"すべて"},"ko-KR":{singular:"모두"},"pt-BR":{singular:"Tudo"},"zh-CN":{singular:"全部"}}}),AvailableForHire:(0,n.Iu)({singular:"Available for hire",dictionary:{es:{singular:"Contratarme"},"de-DE":{singular:"Beauftragen"},"fr-FR":{singular:"Engagez-moi"},"ja-JP":{singular:"採用受付中"},"ko-KR":{singular:"채용 가능"},"pt-BR":{singular:"Me contrate"},"zh-CN":{singular:"可供聘用"}}}),AvailableRemote:(0,n.Iu)({singular:"Available to work remote",dictionary:{es:{singular:"Disponible para trabajo remoto"},"de-DE":{singular:"F\xfcr Homeoffice verf\xfcgbar"},"fr-FR":{singular:"Disponible en t\xe9l\xe9travail"},"ja-JP":{singular:"リモート作業可能"},"ko-KR":{singular:"원격 근무 가능"},"pt-BR":{singular:"Dispon\xedvel para trabalho remoto"},"zh-CN":{singular:"可远程工作"}}}),Back:(0,n.Iu)({singular:"Back",dictionary:{es:{singular:"Atr\xe1s"},"de-DE":{singular:"Zur\xfcck"},"fr-FR":{singular:"Retour"},"ja-JP":{singular:"戻る"},"ko-KR":{singular:"뒤로"},"pt-BR":{singular:"Voltar"},"zh-CN":{singular:"返回"}}}),BackToVideos:(0,n.Iu)({singular:"Back to videos",dictionary:{es:{singular:"Volver a videos"},"de-DE":{singular:"Zur\xfcck zu den Videos"},"fr-FR":{singular:"Retour aux vid\xe9os"},"ja-JP":{singular:"動画に戻る"},"ko-KR":{singular:"동영상으로 돌아가기"},"pt-BR":{singular:"Voltar aos v\xeddeos"},"zh-CN":{singular:"返回视频"}}}),BadVideos:(0,n.Iu)({singular:"Bad videos",dictionary:{es:{singular:"Videos inapropiados"},"de-DE":{singular:"Unakzeptable Videos"},"fr-FR":{singular:"Vid\xe9os inappropri\xe9es"},"ja-JP":{singular:"動画が悪質"},"ko-KR":{singular:"부적절한 동영상"},"pt-BR":{singular:"V\xeddeos inapropriados"},"zh-CN":{singular:"不良视频"}}}),BenefitsCommunity:(0,n.Iu)({singular:"Community when you need it",dictionary:{"zh-CN":{singular:"需要时为您提供帮助的社区"}}}),BenefitsGigs:(0,n.Iu)({singular:"Gigs when you want them",dictionary:{"zh-CN":{singular:"需要时为您提供的机会"}}}),BenefitsInspiration:(0,n.Iu)({singular:"Inspiration every step of the way",dictionary:{"ko-KR":{singular:"모든 단계에서 영감을 얻으세요"},"zh-CN":{singular:"每一步都能带来启发"}}}),BenefitsPerks:(0,n.Iu)({singular:"Plus a ton of exclusive Vimeo perks",dictionary:{"zh-CN":{singular:"外加大量 Vimeo 专享福利"}}}),Cancel:(0,n.Iu)({singular:"Cancel",dictionary:{es:{singular:"Cancelar"},"de-DE":{singular:"Abbrechen"},"fr-FR":{singular:"Annuler"},"ja-JP":{singular:"キャンセル"},"ko-KR":{singular:"취소"},"pt-BR":{singular:"Cancelar"},"zh-CN":{singular:"取消"}}}),Character:(0,n.Iu)({singular:"character",dictionary:{es:{singular:"Personaje"},"de-DE":{singular:"Charakter"},"fr-FR":{singular:"Personnage"},"ja-JP":{singular:"キャラクター"},"ko-KR":{singular:"캐릭터"},"pt-BR":{singular:"Personagem"},"zh-CN":{singular:"字符"}}}),Characters:(0,n.Iu)({singular:"characters",dictionary:{es:{singular:"caracteres"},"de-DE":{singular:"Zeichen"},"fr-FR":{singular:"caract\xe8res"},"ja-JP":{singular:"文字"},"ko-KR":{singular:"자"},"pt-BR":{singular:"caracteres"},"zh-CN":{singular:"字符"}}}),ClickToAddDescription:(0,n.Iu)({singular:"Click to add a description",dictionary:{es:{singular:"Haz clic para agregar una descripci\xf3n"},"de-DE":{singular:"Klicken, um Beschreibung hinzuzuf\xfcgen"},"fr-FR":{singular:"Cliquez pour ajouter une description"},"ja-JP":{singular:"クリックして説明を追加"},"ko-KR":{singular:"설명을 추가하려면 클릭하세요"},"pt-BR":{singular:"Clique para adicionar uma descri\xe7\xe3o"},"zh-CN":{singular:"点击即可添加描述"}}}),Clients:(0,n.Iu)({singular:"Clients",dictionary:{es:{singular:"Clientes"},"de-DE":{singular:"Kunden"},"ja-JP":{singular:"クライアント"},"ko-KR":{singular:"고객"},"pt-BR":{singular:"Clientes"},"zh-CN":{singular:"客户"}}}),ClientsInputHelper:(0,n.Iu)({singular:"Separate with commas or enter",dictionary:{es:{singular:"Separar con comas o presionando Intro"},"de-DE":{singular:"Durch Kommas oder Entertaste trennen"},"fr-FR":{singular:"S\xe9parez-les par des virgules ou appuyez sur Entr\xe9e"},"ja-JP":{singular:"カンマか改行で区切る"},"ko-KR":{singular:"쉼표 또는 입력 키로 구분하세요"},"pt-BR":{singular:"Separar com v\xedrgulas ou aperte enter"},"zh-CN":{singular:"用逗号分隔或按回车键"}}}),Collaborators:(0,n.Iu)({singular:"Collaborators",dictionary:{es:{singular:"Colaboradores"},"de-DE":{singular:"Kooperationspartner"},"fr-FR":{singular:"Collaborateurs"},"ja-JP":{singular:"コラボレーター"},"ko-KR":{singular:"협업자"},"pt-BR":{singular:"Colaboradores"},"zh-CN":{singular:"合作者"}}}),Collections:(0,n.Iu)({singular:"Collections",dictionary:{es:{singular:"Colecciones"},"de-DE":{singular:"Sammlungen"},"ja-JP":{singular:"コレクション"},"ko-KR":{singular:"컬렉션"},"pt-BR":{singular:"Cole\xe7\xf5es"},"zh-CN":{singular:"合集"}}}),CommentRemoved:(0,n.Iu)({singular:"Comment removed",dictionary:{es:{singular:"Se quit\xf3 el comentario"},"de-DE":{singular:"Kommentar entfernt"},"fr-FR":{singular:"Commentaire supprim\xe9"},"ja-JP":{singular:"コメントが削除されました"},"ko-KR":{singular:"답글 삭제됨"},"pt-BR":{singular:"Coment\xe1rio removido"},"zh-CN":{singular:"评论已删除"}}}),CommentUpdated:(0,n.Iu)({singular:"Comment updated",dictionary:{es:{singular:"Se actualiz\xf3 el comentario"},"de-DE":{singular:"Kommentar aktualisiert"},"fr-FR":{singular:"Commentaire mis \xe0 jour"},"ja-JP":{singular:"コメントが更新されました"},"ko-KR":{singular:"답글 업데이트됨"},"pt-BR":{singular:"Coment\xe1rio atualizado"},"zh-CN":{singular:"评论已更新"}}}),CreateSection:(0,n.Iu)({singular:"Create section",dictionary:{es:{singular:"Crear secci\xf3n"},"de-DE":{singular:"Abschnitt erstellen"},"fr-FR":{singular:"Cr\xe9er une rubrique"},"ja-JP":{singular:"セクションを作成"},"ko-KR":{singular:"섹션 만들기"},"pt-BR":{singular:"Criar se\xe7\xe3o"},"zh-CN":{singular:"创建部分"}}}),CreditedVideos:(0,n.Iu)({singular:"Credited videos",dictionary:{es:{singular:"Videos acreditados"},"de-DE":{singular:"Videos mit Erw\xe4hnung in den Credits"},"fr-FR":{singular:"G\xe9n\xe9riques o\xf9 vous \xeates mentionn\xe9(e)"},"ja-JP":{singular:"クレジットされた動画"},"ko-KR":{singular:"크레딧으로 추가된 동영상"},"pt-BR":{singular:"V\xeddeos creditados"},"zh-CN":{singular:"已致谢视频"}}}),CreditsEmptyText:(0,n.Iu)({singular:"You haven't been credited on any public videos.",dictionary:{es:{singular:"No se te incluy\xf3 en los cr\xe9ditos de ning\xfan video p\xfablico."},"de-DE":{singular:"Du wurdest nicht in anderen \xf6ffentlichen Videos in den Credits erw\xe4hnt."},"fr-FR":{singular:"Vous n'avez \xe9t\xe9 mentionn\xe9(e) dans aucun g\xe9n\xe9rique de vid\xe9o publique."},"ja-JP":{singular:"クレジットされた公開動画がまだありません。"},"ko-KR":{singular:"공개 동영상에 회원님이 크레딧으로 추가된 동영상이 아직 없습니다."},"pt-BR":{singular:"Voc\xea n\xe3o recebeu cr\xe9ditos em nenhum v\xeddeo p\xfablico."},"zh-CN":{singular:"您尚未列入任何公开视频的演职人员名单。"}}}),Creepy:(0,n.Iu)({singular:"Creepy",dictionary:{es:{singular:"Acosador"},"de-DE":{singular:"Unakzeptables Verhalten"},"fr-FR":{singular:"Comportement inappropri\xe9"},"ja-JP":{singular:"言動が不快"},"ko-KR":{singular:"스토킹"},"pt-BR":{singular:"Assustador"},"zh-CN":{singular:"怪异"}}}),CreepyDescription:(0,n.Iu)({singular:"This person has sexually harassed you, sent you unwanted inappropriate messages, or otherwise acted in a way that makes you feel uncomfortable.",dictionary:{es:{singular:"Esta persona te ha acosado sexualmente, te ha enviado mensajes inapropiados o ha actuado de un manera que te hace sentir inc\xf3modo(a)."},"de-DE":{singular:"Diese Person hat dich sexuell bel\xe4stigt, dir unerw\xfcnschte, unangebrachte Nachrichten geschickt, oder in sonstiger Hinsicht mit ihrem Benehmen bewirkt, dass du dich unbehaglich f\xfchlst."},"fr-FR":{singular:"Cette personne vous a harcel\xe9 sexuellement, vous a envoy\xe9 des messages inappropri\xe9s ou s'est comport\xe9e d'une mani\xe8re vous ayant mis mal \xe0 l'aise ."},"ja-JP":{singular:"性的な嫌がらせや、不要かつ不適切なメッセージの送信など、不快な言動を取っている。"},"ko-KR":{singular:"이 사용자는 나를 성추행했거나 나에게 원치 않는 부적절한 메시지를 전송했거나 불쾌감을 주는 행동을 보였습니다."},"pt-BR":{singular:"Esta pessoa lhe assediou sexualmente, lhe enviou mensagens indesejadas e inapropriadas ou agiu de maneira que lhe causou constrangimento."},"zh-CN":{singular:"此人对您进行了性骚扰,向您发送了令人厌恶的不当信息,或以其他方式做出了让您感到不舒服的行为。"}}}),CropThumbnail:(0,n.Iu)({singular:"Crop thumbnail",dictionary:{es:{singular:"Recortar miniatura"},"de-DE":{singular:"Thumbnail schneiden"},"fr-FR":{singular:"Rogner la vignette"},"ja-JP":{singular:"サムネイルを切り抜く"},"ko-KR":{singular:"섬네일 자르기"},"pt-BR":{singular:"Recortar miniatura"},"zh-CN":{singular:"裁切缩略图"}}}),Dismiss:(0,n.Iu)({singular:"Dismiss",dictionary:{es:{singular:"Descartar"},"de-DE":{singular:"Information verwerfen"},"fr-FR":{singular:"Ignorer"},"ja-JP":{singular:"閉じる"},"ko-KR":{singular:"닫기"},"pt-BR":{singular:"Ignorar"},"zh-CN":{singular:"拒绝"}}}),DisplayVisibilityHelper:(0,n.Iu)({singular:"Display",dictionary:{es:{singular:"Mostrar"},"de-DE":{singular:"Anzeigen"},"fr-FR":{singular:"Afficher"},"ja-JP":{singular:"表示"},"ko-KR":{singular:"표시"},"pt-BR":{singular:"Exibir"},"zh-CN":{singular:"显示"}}}),Done:(0,n.Iu)({singular:"Done",dictionary:{es:{singular:"Hecho"},"de-DE":{singular:"Fertig"},"fr-FR":{singular:"Termin\xe9"},"ja-JP":{singular:"完了"},"ko-KR":{singular:"완료"},"pt-BR":{singular:"Feito"},"zh-CN":{singular:"已存档"}}}),EditProfile:(0,n.Iu)({singular:"Edit Profile",dictionary:{es:{singular:"Editar el perfil"},"de-DE":{singular:"Profil bearbeiten"},"fr-FR":{singular:"Modifier Profil"},"ja-JP":{singular:"プロフィールを編集"},"ko-KR":{singular:"프로필 수정"},"pt-BR":{singular:"Editar Perfil"},"zh-CN":{singular:"编辑个人资料"}}}),End:(0,n.Iu)({singular:"End",dictionary:{es:{singular:"Expira"},"de-DE":{singular:"Ende"},"fr-FR":{singular:"Fin de validit\xe9"},"ja-JP":{singular:"終了"},"ko-KR":{singular:"종료"},"pt-BR":{singular:"Fim"},"zh-CN":{singular:"结束"}}}),EnterTitleHere:(0,n.Iu)({singular:"Enter title here...",dictionary:{es:{singular:"Introduce el t\xedtulo aqu\xed…"},"de-DE":{singular:"Titel hier eingeben…"},"fr-FR":{singular:"Saisissez un titre ici..."},"ja-JP":{singular:"タイトルをここに入力..."},"ko-KR":{singular:"여기에 제목을 입력하세요.."},"pt-BR":{singular:"Insira o t\xedtulo aqui..."},"zh-CN":{singular:"在此处输入标题..."}}}),EnterUrl:(0,n.Iu)({singular:"Enter url",dictionary:{es:{singular:"Ingresar la URL"},"de-DE":{singular:"URL eingeben"},"fr-FR":{singular:"Saisir l'URL"},"ja-JP":{singular:"URLを入力する"},"ko-KR":{singular:"URL 입력"},"pt-BR":{singular:"Digite URL"},"zh-CN":{singular:"输入 URL"}}}),EnterValidUrl:(0,n.Iu)({singular:"Invalid link",dictionary:{es:{singular:"V\xednculo no v\xe1lido"},"de-DE":{singular:"Ung\xfcltiger Link"},"fr-FR":{singular:"Lien non valide"},"ja-JP":{singular:"無効なリンク"},"ko-KR":{singular:"유효하지 않은 링크"},"pt-BR":{singular:"Link inv\xe1lido"},"zh-CN":{singular:"无效链接"}}}),ErrorMsg:(0,n.Iu)({singular:"An error occurred. Please try again.",dictionary:{es:{singular:"Se produjo un error. Vuelve a intentarlo."},"de-DE":{singular:"Es ist ein Fehler aufgetreten. Bitte versuche es erneut."},"fr-FR":{singular:"Une erreur s'est produite. Veuillez r\xe9essayer."},"ja-JP":{singular:"エラーが発生しました。再度お試しください。"},"ko-KR":{singular:"오류가 발생했습니다. 다시 시도해주세요."},"pt-BR":{singular:"Ocorreu um erro. Por favor, tente novamente."},"zh-CN":{singular:"发生错误。请重试。"}}}),Exceeds5000Characters:(0,n.Iu)({singular:"Exceeds 5000 characters",dictionary:{es:{singular:"Excede los 5000\xa0caracteres"},"de-DE":{singular:"\xdcberschreitet 5000\xa0Zeichen"},"fr-FR":{singular:"D\xe9passe les 5\xa0000\xa0caract\xe8res"},"ja-JP":{singular:"5000文字を超えています"},"ko-KR":{singular:"5000자 초과"},"pt-BR":{singular:"Excede 5000 caracteres"},"zh-CN":{singular:"超过 5000 个字符"}}}),Expand:(0,n.Iu)({singular:"Expand",dictionary:{es:{singular:"Expandir"},"de-DE":{singular:"Ausklappen"},"fr-FR":{singular:"Agrandir"},"ja-JP":{singular:"拡大"},"ko-KR":{singular:"펼치기"},"pt-BR":{singular:"Expandir"},"zh-CN":{singular:"展开"}}}),ExpertsBoost:(0,n.Iu)({singular:"Boost your listing as a Vimeo Expert.",dictionary:{"zh-CN":{singular:"提升您作为 Vimeo 专家的知名度。"}}}),ExpertsClient:(0,n.Iu)({singular:"Working with clients? Get more with Vimeo Experts.",dictionary:{"zh-CN":{singular:"与客户合作?通过 Vimeo Experts 获得更多成果。"}}}),ExpertsJoin:(0,n.Iu)({singular:"Join Experts",dictionary:{"zh-CN":{singular:"加入 Experts"}}}),ExpertsUpgrade:(0,n.Iu)({singular:"Upgrade to get listed",dictionary:{es:{singular:"Suba de categor\xeda para ser incluido en la lista"},"de-DE":{singular:"F\xfchren Sie ein Upgrade durch, um gelistet zu werden"},"fr-FR":{singular:"Effectuez une mise \xe0 niveau pour \xeatre r\xe9pertori\xe9"},"ja-JP":{singular:"アップグレードしてリストに登録"},"ko-KR":{singular:"업그레이드를 하고 목록에 이름을 올려 보세요"},"pt-BR":{singular:"Fa\xe7a o upgrade para ser listado"},"zh-CN":{singular:"升级以列入名单"}}}),FeatureComment:(0,n.Iu)({singular:"Feature comment",dictionary:{es:{singular:"Incluir comentario"},"de-DE":{singular:"Kommentar zeigen"},"fr-FR":{singular:"Commentaire \xe0 la une"},"ja-JP":{singular:"コメント特集"},"ko-KR":{singular:"소감 내걸기"},"pt-BR":{singular:"Destacar coment\xe1rio"},"zh-CN":{singular:"精选评论"}}}),FlagUserTitle:(0,n.Iu)({singular:"Report this person",dictionary:{es:{singular:"Denunciar a esta persona"},"de-DE":{singular:"Diese Person melden"},"fr-FR":{singular:"Signaler cette personne"},"ja-JP":{singular:"このメンバーを通報する"},"ko-KR":{singular:"사용자 신고하기"},"pt-BR":{singular:"Denunciar esta pessoa"},"zh-CN":{singular:"举报此人"}}}),Follow:(0,n.Iu)({singular:"Follow",dictionary:{es:{singular:"Seguir"},"de-DE":{singular:"Folgen"},"fr-FR":{singular:"Suivre"},"ja-JP":{singular:"フォロー"},"ko-KR":{singular:"팔로우"},"pt-BR":{singular:"Seguir"},"zh-CN":{singular:"关注"}}}),Followers:(0,n.Iu)({singular:"Followers",dictionary:{es:{singular:"Seguidores"},"fr-FR":{singular:"Abonn\xe9s"},"ja-JP":{singular:"フォロワー"},"ko-KR":{singular:"팔로워"},"pt-BR":{singular:"Seguidores"},"zh-CN":{singular:"粉丝"}}}),Following:(0,n.Iu)({singular:"Following",dictionary:{es:{singular:"Siguiendo"},"de-DE":{singular:"Folgt"},"fr-FR":{singular:"Abonn\xe9"},"ja-JP":{singular:"フォロー中"},"ko-KR":{singular:"팔로잉"},"pt-BR":{singular:"Seguindo"},"zh-CN":{singular:"关注"}}}),FollowSameUser:(0,n.Iu)({singular:"Sorry, you can't follow yourself.",dictionary:{es:{singular:"Lamentablemente, no puedes seguirte a ti mismo."},"de-DE":{singular:"Leider kannst du dir nicht selbst folgen."},"fr-FR":{singular:"D\xe9sol\xe9, vous ne pouvez pas vous suivre vous-m\xeame."},"ja-JP":{singular:"自分をフォローすることはできません。"},"ko-KR":{singular:"죄송합니다, 자신을 팔로우할 수 없습니다."},"pt-BR":{singular:"Desculpe, voc\xea n\xe3o pode seguir voc\xea mesmo."},"zh-CN":{singular:"抱歉,您不能关注您自己"}}}),ForHireAvailabilityTourPointTitle:(0,n.Iu)({singular:"Join the job board",dictionary:{es:{singular:"\xdanete a la bolsa de trabajo"},"de-DE":{singular:"Jobb\xf6rse beitreten"},"fr-FR":{singular:"Rejoindre la plateforme emploi"},"ja-JP":{singular:"求人情報掲示板に登録"},"ko-KR":{singular:"채용 게시판에 참여하세요."},"pt-BR":{singular:"Inscreva-se na plataforma de vagas"},"zh-CN":{singular:"加入工作机会版块"}}}),ForHireAvailabilityTourPointContent:(0,n.Iu)({singular:"Show that you’re available for hire to add yourself to the job board.",dictionary:{es:{singular:"Demuestra que est\xe1s disponible para que te contraten y puedan agregarte a la bolsa de trabajo."},"de-DE":{singular:"Gib an, dass du Arbeit suchst, um dich zur Jobb\xf6rse hinzuzuf\xfcgen."},"fr-FR":{singular:"Montrez que vous proposez vos services pour vous ajouter \xe0 la plateforme d'emploi."},"ja-JP":{singular:"求人情報掲示板に自分を追加して、採用受付中であることを示しましょう。"},"ko-KR":{singular:"채용 게시판에 자신을 추가하려면 구직 중임을 표시하세요."},"pt-BR":{singular:"Mostre que voc\xea est\xe1 dispon\xedvel para contrata\xe7\xe3o adicionando-se \xe0 plataforma de vagas."},"zh-CN":{singular:"显示您可供聘用,才能将您添加到工作机会版块。"}}}),ForHireAvailabilityUpgradeTourPointTitle:(0,n.Iu)({singular:"Upgrade to join the job board",dictionary:{es:{singular:"Actualiza para unirte a la bolsa de trabajo"},"de-DE":{singular:"F\xfchre ein Upgrade durch, um der Jobb\xf6rse beizutreten"},"fr-FR":{singular:"Mettre \xe0 niveau pour rejoindre la plateforme emploi"},"ja-JP":{singular:"アップグレードして求人情報掲示板に登録"},"ko-KR":{singular:"채용 게시판에 참여하려면 업그레이드하세요."},"pt-BR":{singular:"Fa\xe7a upgrade para participar da plataforma de vagas"},"zh-CN":{singular:"升级后可加入工作机会版块"}}}),ForHireDescription:(0,n.Iu)({singular:"People can see your availability on your profile, and in our professional marketplace.",dictionary:{es:{singular:"La gente ver\xe1 tu disponibilidad en tu perfil y en nuestra plataforma de trabajo para profesionales."},"de-DE":{singular:"Benutzer k\xf6nnen deine Verf\xfcgbarkeit auf deinem Profil sowie auf unserem professionellen Marktplatz sehen."},"fr-FR":{singular:"Votre disponibilit\xe9 est visible sur votre profil et sur notre plateforme emploi."},"ja-JP":{singular:"プロフィールとVimeoのプロのマーケットプレイスから勤務可能状況を公開できます。"},"ko-KR":{singular:"사람들이 내 프로필과 Vimeo의 전문가 채용 마켓플레이스를 통해 나의 구직 여부를 확인할 수 있습니다."},"pt-BR":{singular:"As pessoas podem ver a sua disponibilidade no seu perfil e na nossa plataforma de vagas."},"zh-CN":{singular:"人们可以通过您的个人资料和我们的职业市场查看您的可用状态。"}}}),IsAvailableForHire:(0,n.Iu)({singular:"People can see your availability on your profile, and in our {JOBS_LINK}professional marketplace.{/JOBS_LINK}",replacements:{JOBS_LINK:e=>(0,o.jsx)(i.r,{variant:"minimal",href:"https://www.vimeo.com/for-hire/jobs",target:"_blank",children:e})},dictionary:{es:{singular:"La gente ver\xe1 tu disponibilidad en tu perfil y en nuestra {JOBS_LINK}plataforma de trabajo para profesionales{/JOBS_LINK}."},"de-DE":{singular:"Benutzer k\xf6nnen deine Verf\xfcgbarkeit auf deinem Profil sowie auf unserem {JOBS_LINK}professionellen Marktplatz{/JOBS_LINK} sehen."},"fr-FR":{singular:"Votre disponibilit\xe9 est visible sur votre profil et sur notre {JOBS_LINK}plateforme emploi{/JOBS_LINK}."},"ja-JP":{singular:"他の人はプロフィールと{JOBS_LINK}プロのマーケットプレイス{/JOBS_LINK}からあなたの勤務可能状況を確認できます。"},"ko-KR":{singular:"사람들이 내 프로필과 Vimeo의 {JOBS_LINK}전문가 채용 플랫폼{/JOBS_LINK}을 통해 나의 구직여부를 확인할 수 있습니다."},"pt-BR":{singular:"As pessoas podem ver sua disponibilidade no seu perfil e na nossa {JOBS_LINK}plataforma de vagas profissional.{/JOBS_LINK}"},"zh-CN":{singular:"人们可以通过您的个人资料和我们的{JOBS_LINK}职业市场{/JOBS_LINK}查看您的可用状态。"}}}),IsNotAvailableForHire:(0,n.Iu)({singular:"People cannot see your availability on your profile, and you are not listed in our {JOBS_LINK}professional marketplace.{/JOBS_LINK}",replacements:{JOBS_LINK:e=>(0,o.jsx)(i.r,{variant:"minimal",href:"https://www.vimeo.com/for-hire/jobs",target:"_blank",children:e})},dictionary:{es:{singular:"La gente no ver\xe1 tu disponibilidad en tu perfil y no aparecer\xe1s en nuestra {JOBS_LINK}plataforma de trabajo para profesionales{/JOBS_LINK}."},"de-DE":{singular:"Benutzer k\xf6nnen deine Verf\xfcgbarkeit auf deinem Profil nicht sehen, und du wirst nicht auf unserem {JOBS_LINK}professionellen Marktplatz{/JOBS_LINK} gelistet."},"fr-FR":{singular:"Votre disponibilit\xe9 n'est pas visible sur votre profil et vous ne figurez pas sur notre {JOBS_LINK}plateforme emploi{/JOBS_LINK}."},"ja-JP":{singular:"他の人はプロフィールからあなたの勤務可能状況を確認できません。また、あなたは{JOBS_LINK}プロのマーケットプレイス{/JOBS_LINK}に掲載されていません。"},"ko-KR":{singular:"사람들이 내 프로필에서 나의 구직여부를 확인할 수 없으며, Vimeo의 {JOBS_LINK}전문가 채용 플랫폼{/JOBS_LINK}에 등록하지 않습니다."},"pt-BR":{singular:"As pessoas n\xe3o podem ver sua disponibilidade no seu perfil e voc\xea n\xe3o aparece na lista da nossa {JOBS_LINK}plataforma de vagas profissional.{/JOBS_LINK}"},"zh-CN":{singular:"人们不能通过您的个人资料查看您的可用状态,您也没有列入我们的{JOBS_LINK}职业市场{/JOBS_LINK}。"}}}),JoinExpertsNewConnections:(0,n.Iu)({singular:"Ready to find new connections on the Vimeo Marketplace?",dictionary:{"zh-CN":{singular:"准备好在 Vimeo Marketplace 上寻找新的联系了吗?"}}}),JoinExpertsHeader:(0,n.Iu)({singular:"Join Experts to get listed",dictionary:{es:{singular:"\xdanase a los expertos para ser incluido en la lista"},"de-DE":{singular:"Treten Sie den Experten bei, um gelistet zu werden"},"fr-FR":{singular:"Rejoignez les experts pour \xeatre r\xe9pertori\xe9"},"ja-JP":{singular:"エキスパートに参加してリストに登録"},"ko-KR":{singular:"전문가의 도움을 받아 목록에 이름을 올려 보세요"},"pt-BR":{singular:"Junte-se a especialistas para ser listado"},"zh-CN":{singular:"加入 Experts,列入名单"}}}),JoinExpertsSubheader:(0,n.Iu)({singular:"Join Vimeo Experts – a diverse creative community built for inspiration, connection, and strengthening client relationships.",dictionary:{"zh-CN":{singular:"加入 Vimeo Experts - 一个为灵感、联系和加强客户关系而建立的多元化创意社区。"}}}),JoinExpertsUpdateText:(0,n.Iu)({singular:"To join Vimeo Experts you need to be on a paid Vimeo plan",dictionary:{"zh-CN":{singular:"要加入 Vimeo Experts,您需要购买付费 Vimeo 套餐"}}}),JoinMarketplace:(0,n.Iu)({singular:"Join the Marketplace and Vimeo Expert community",dictionary:{"zh-CN":{singular:"加入 Marketplace 和 Vimeo Experts 社区"}}}),GetListed:(0,n.Iu)({singular:"Get Listed",dictionary:{es:{singular:"Ser incluido en la lista"},"de-DE":{singular:"Gelistet werden"},"fr-FR":{singular:"\xcatre r\xe9pertori\xe9"},"ja-JP":{singular:"リストに登録"},"ko-KR":{singular:"목록에 이름을 올려 보세요"},"pt-BR":{singular:"Entrar na lista"},"zh-CN":{singular:"列入名单"}}}),GetListedSuccessModalHeader:(0,n.Iu)({singular:"You've made the list",dictionary:{"zh-CN":{singular:"您已列入名单"}}}),GetListedSuccessModalContent:(0,n.Iu)({singular:"You're officially listed on the For Hire Marketplace! Update your profile to help the right clients find you.",dictionary:{"zh-CN":{singular:"您已正式列入求职市场名单!更新您的个人资料,帮助合适的客户找到您。"}}}),GetOnList:(0,n.Iu)({singular:"Get on the list",dictionary:{"zh-CN":{singular:"加入名单"}}}),GoToExperts:(0,n.Iu)({singular:"Go To Experts",dictionary:{"zh-CN":{singular:"前往 Experts"}}}),GotIt:(0,n.Iu)({singular:"Got it",dictionary:{es:{singular:"Entendido"},"de-DE":{singular:"Alles klar"},"fr-FR":{singular:"J'ai compris"},"ja-JP":{singular:"了解"},"ko-KR":{singular:"확인"},"pt-BR":{singular:"Entendi"},"zh-CN":{singular:"明白"}}}),Grid:(0,n.Iu)({singular:"Grid",dictionary:{es:{singular:"Cuadr\xedcula"},"de-DE":{singular:"Gitter"},"fr-FR":{singular:"Grille"},"ja-JP":{singular:"グリッド"},"ko-KR":{singular:"그리드"},"pt-BR":{singular:"Grade"},"zh-CN":{singular:"网格"}}}),HiddenProfileNotice:(0,n.Iu)({singular:"Your profile is hidden. To allow others to view this page, {A}update your visibility settings{/A}.",replacements:{A:e=>(0,o.jsx)(i.r,{href:"/settings/profile/general",children:e})},dictionary:{es:{singular:"Su perfil est\xe1 oculto. Para permitir que otros vean esta p\xe1gina, {A}actualice su configuraci\xf3n de visibilidad{/A}."},"de-DE":{singular:"Ihr Profil ist versteckt. Damit andere Einstellungen diese Seite anzeigen k\xf6nnen, {A}aktualisieren Sie Ihre Sichtbarkeitseinstellungen{/A}."},"fr-FR":{singular:"Votre profil est masqu\xe9. Pour permettre \xe0 d'autres personnes de voir cette page, {A}mettez \xe0 jour vos param\xe8tres de visibilit\xe9{/A}."},"ja-JP":{singular:"あなたのプロフィールは非表示です。他のユーザーがこのページを閲覧できるようにするには、{A}公開設定を更新します{/A}。"},"ko-KR":{singular:"프로필이 숨겨져 있습니다. 다른 사람이 이 페이지를 볼 수 있도록 하려면 {A}공개 설정을 업데이트하세요{/A}."},"pt-BR":{singular:"Seu perfil est\xe1 oculto. Para permitir que outras pessoas visualizem esta p\xe1gina, {A}atualize suas configura\xe7\xf5es de visibilidade{/A}."},"zh-CN":{singular:"您的个人资料已被隐藏。如要允许其他人查看此页面,{A}请更新您的可见性设置{/A}。"}}}),HideFromProfile:(0,n.Iu)({singular:"Hide from profile",dictionary:{es:{singular:"Ocultar del perfil"},"de-DE":{singular:"Vom Profil ausblenden"},"fr-FR":{singular:"Masquer sur le profil"},"ja-JP":{singular:"プロフィールで非表示にする"},"ko-KR":{singular:"프로필에서 숨기기"},"pt-BR":{singular:"Ocultar do perfil"},"zh-CN":{singular:"从个人资料隐藏"}}}),HideVisibilityHelper:(0,n.Iu)({singular:"Hide",dictionary:{es:{singular:"Ocultar"},"de-DE":{singular:"Ausblenden"},"fr-FR":{singular:"Masquer"},"ja-JP":{singular:"非表示"},"ko-KR":{singular:"숨기기"},"pt-BR":{singular:"Ocultar"},"zh-CN":{singular:"隐藏"}}}),Impersonation:(0,n.Iu)({singular:"Impersonation",dictionary:{es:{singular:"Suplantaci\xf3n de identidad"},"de-DE":{singular:" Identit\xe4tsbetrug"},"fr-FR":{singular:"Faux profil"},"ja-JP":{singular:"偽アカウント"},"ko-KR":{singular:"사칭"},"pt-BR":{singular:"Imita\xe7\xe3o"},"zh-CN":{singular:"冒充"}}}),ImpersonationDescription:(0,n.Iu)({singular:"This person’s profile is fake and does not seem to belong to the person they are claiming to be.",dictionary:{es:{singular:"El perfil de esta persona es falso y no parece pertenecer a la persona que dice ser."},"de-DE":{singular:"Das Profil dieser Person ist unecht und scheint nicht zu derjenigen Person zu geh\xf6ren, als die sie sich ausgibt."},"fr-FR":{singular:"Ce profil est bidon et ne semble pas appartenir \xe0 la personne qui l'utilise."},"ja-JP":{singular:"プロフィールが偽物、書かれている内容と本人が一致していない。"},"ko-KR":{singular:"이 사용자의 프로필은 허위이며 본인이 주장하는 사람이 아닌 것 같습니다."},"pt-BR":{singular:"O perfil desta pessoa \xe9 falso e n\xe3o parece pertencer a quem ela alega ser."},"zh-CN":{singular:"此人的个人资料是假的,似乎不是资料中声称的那个人。"}}}),InappropriateAvatar:(0,n.Iu)({singular:"Inappropriate avatar",dictionary:{es:{singular:"Avatar inapropiado"},"de-DE":{singular:"Unangemessener Avatar"},"fr-FR":{singular:"Avatar inappropri\xe9"},"ja-JP":{singular:"アバターが不適切"},"ko-KR":{singular:"부적절한 아바타"},"pt-BR":{singular:"Avatar inapropriado"},"zh-CN":{singular:"头像不合适"}}}),InappropriateAvatarDescription:(0,n.Iu)({singular:"This person’s avatar contains nudity, gore, or other inappropriate imagery.",dictionary:{es:{singular:"El avatar de esta persona muestra desnudos, violencia u otra imagen inapropiada."},"de-DE":{singular:"Der Avatar dieser Person enth\xe4lt pornographische, exzessiv brutale oder ansonsten unakzeptable visuelle Darstellungen."},"fr-FR":{singular:"L'avatar de cette personne contient de la nudit\xe9, de la violence ou d'autres \xe9l\xe9ments inappropri\xe9s."},"ja-JP":{singular:"裸や流血など、不適切な画像がアバターとして使用されている。"},"ko-KR":{singular:"이 사용자의 아바타에 나체, 보기 불쾌한 것 또는 기타 부적절한 이미지가 포함되어 있습니다."},"pt-BR":{singular:"O avatar desta pessoa cont\xe9m nudez, sanguinol\xeancia ou outras imagens inapropriadas."},"zh-CN":{singular:"此人的头像包含裸露、血腥或其他不恰当的图像。"}}}),Invalid:(0,n.Iu)({singular:"Invalid",dictionary:{es:{singular:"No v\xe1lido"},"de-DE":{singular:"Ung\xfcltig"},"fr-FR":{singular:"Non valide"},"ja-JP":{singular:"無効です"},"ko-KR":{singular:"유효하지 않음"},"pt-BR":{singular:"Inv\xe1lido"},"zh-CN":{singular:"无效"}}}),InvalidDomainError:(0,n.Iu)({singular:"Hm, that doesn't look like a real domain. Check your spelling, then try again.",dictionary:{es:{singular:"Vaya, parece que este no es un dominio de verdad. Revisa que lo hayas escrito de forma correcta y vuelve a intentarlo."},"de-DE":{singular:"Hm, das sieht aber nicht wie eine echte Dom\xe4ne aus. Schau nochmal nach, ob du das richtig buchstabiert hast, und dann probier's nochmal."},"fr-FR":{singular:"Hum... on ne dirait pas un vrai domaine. Veuillez v\xe9rifier l'orthographe et essayer \xe0 nouveau."},"ja-JP":{singular:"あれ?このドメインな偽物のようです。綴りを確認してからもう一回試してみてください。"},"ko-KR":{singular:"유효한 도메인이 아닙니다. 정확히 입력했는지 확인 후 재시도해주세요."},"pt-BR":{singular:"Hum, isso n\xe3o parece ser um dom\xednio de verdade. Verifique a ortografia e tente novamente."},"zh-CN":{singular:"哎呀,这个域名似乎不太对。请检查拼写,然后重试。"}}}),InvalidEmailAddress:(0,n.Iu)({singular:"Invalid email address",dictionary:{es:{singular:"Direcci\xf3n de correo electr\xf3nico inv\xe1lida. "},"de-DE":{singular:"Ung\xfcltige E-Mail-Adresse "},"fr-FR":{singular:"Adresse e-mail non valide."},"ja-JP":{singular:"メールアドレスが無効です"},"ko-KR":{singular:"유효하지 않은 이메일 주소입니다"},"pt-BR":{singular:"Endere\xe7o de e-mail inv\xe1lido. "},"zh-CN":{singular:"无效电子邮件地址"}}}),Join:(0,n.Iu)({singular:"Join",dictionary:{es:{singular:"Unirse"},"de-DE":{singular:"Registrieren"},"fr-FR":{singular:"S'inscrire"},"ja-JP":{singular:"登録"},"ko-KR":{singular:"가입"},"pt-BR":{singular:"Inscrever-se"},"zh-CN":{singular:"加入"}}}),JoinExperts:(0,n.Iu)({singular:"Join Experts",dictionary:{"zh-CN":{singular:"加入 Experts"}}}),JoinExpertsInfoModalTitle:(0,n.Iu)({singular:"Vimeo has a brand new program for video pros, Vimeo Experts.",dictionary:{"zh-CN":{singular:"Vimeo 为视频专业人士推出了一个全新的计划:Vimeo Experts。"}}}),JoinExpertsReminderText:(0,n.Iu)({singular:"Join Vimeo Experts to maintain your listing in the For Hire Marketplace.",dictionary:{"zh-CN":{singular:"加入 Vimeo Experts 来维护您在求职市场中的知名度。"}}}),JoinExpertsInfoModalContent:(0,n.Iu)({singular:"Get certified on Vimeo’s products, learn how to work better with your clients, and grow your business.",dictionary:{"zh-CN":{singular:"获得 Vimeo 产品认证,了解如何更好地与客户合作并发展您的业务。"}}}),LearnReportViolations:(0,n.Iu)({singular:"Learn how to report other types of violations.",dictionary:{es:{singular:"Ent\xe9rate de c\xf3mo denunciar otros tipos de infracciones."},"de-DE":{singular:"Hier erkl\xe4ren wir, wie du andere Arten von Verst\xf6\xdfen melden kannst."},"fr-FR":{singular:"Apprenez \xe0 signaler d'autres types de violations."},"ja-JP":{singular:"他の違反を通報する 。"},"ko-KR":{singular:"다른 위반 유형을 신고하는 방법을 알아보세요 ."},"pt-BR":{singular:"Saiba como denunciar outros tipos de viola\xe7\xf5es."},"zh-CN":{singular:"了解如何举报其他类型的违规行为。"}}}),LinkCopiedToClipboard:(0,n.Iu)({singular:"Link copied to clipboard",dictionary:{es:{singular:"Copiamos el v\xednculo en el portapapeles"},"de-DE":{singular:"Link in Zwischenablage kopiert"},"fr-FR":{singular:"Lien copi\xe9 dans le presse-papier"},"ja-JP":{singular:"リンクがクリップボードにコピーされました"},"ko-KR":{singular:"클립보드로 링크 복사됨"},"pt-BR":{singular:"Link copiado para a \xe1rea de transfer\xeancia"},"zh-CN":{singular:"链接已复制到剪贴板"}}}),LinkTooLong:(0,n.Iu)({singular:"URL must not exceed 256 characters",dictionary:{es:{singular:"La URL no debe exceder los 256\xa0caracteres"},"de-DE":{singular:"URL darf nicht mehr als 256\xa0Zeichen haben"},"fr-FR":{singular:"L'URL ne doit pas d\xe9passer 256\xa0caract\xe8res"},"ja-JP":{singular:"URLは256文字以内にしてください"},"ko-KR":{singular:"URL은 256자를 초과할 수 없습니다."},"pt-BR":{singular:"URL n\xe3o deve exceder 256 caracteres"},"zh-CN":{singular:"URL 不得超过 256 个字符"}}}),Live:(0,n.Iu)({singular:"LIVE",dictionary:{"fr-FR":{singular:"DIRECT"},"pt-BR":{singular:"AO VIVO"},"zh-CN":{singular:"直播"}}}),LoadMore:(0,n.Iu)({singular:"Load more",dictionary:{es:{singular:"Cargar m\xe1s"},"de-DE":{singular:"Mehr laden"},"fr-FR":{singular:"Afficher plus"},"ja-JP":{singular:"もっとロードする"},"ko-KR":{singular:"동영상 더 보기"},"pt-BR":{singular:"Carregar mais"},"zh-CN":{singular:"加载更多"}}}),Masonry:(0,n.Iu)({singular:"Masonry",dictionary:{es:{singular:"Alba\xf1iler\xeda"},"de-DE":{singular:"Geschachtelte Ansicht"},"fr-FR":{singular:"Vue imbriqu\xe9e"},"ja-JP":{singular:"メイソンリー"},"ko-KR":{singular:"메이슨리"},"pt-BR":{singular:"Lado a lado"},"zh-CN":{singular:"砖石"}}}),MembershipPlan:(0,n.Iu)({singular:"Membership plan",dictionary:{es:{singular:"Plan de la membres\xeda"},"de-DE":{singular:"Mitgliedschaft"},"fr-FR":{singular:"Abonnement"},"ja-JP":{singular:"メンバーシッププラン"},"ko-KR":{singular:"멤버십 유형"},"pt-BR":{singular:"Plano de Assinatura"},"zh-CN":{singular:"会员套餐"}}}),MemberSince:(0,n.Iu)({singular:"Member since",dictionary:{es:{singular:"Inicio de la membres\xeda"},"de-DE":{singular:"Mitglied seit"},"fr-FR":{singular:"Membre depuis"},"ja-JP":{singular:"メンバー登録"},"ko-KR":{singular:"가입 시기"},"pt-BR":{singular:"Assinante desde"},"zh-CN":{singular:"会员资格起始时间"}}}),Message:(0,n.Iu)({singular:"Message",dictionary:{es:{singular:"Mensaje"},"de-DE":{singular:"Nachricht"},"ja-JP":{singular:"メッセージ"},"ko-KR":{singular:"메시지"},"pt-BR":{singular:"Mensagem"},"zh-CN":{singular:"消息"}}}),Modified:(0,n.Iu)({singular:"Modified",dictionary:{es:{singular:"Modificado"},"de-DE":{singular:"Modifiziert"},"fr-FR":{singular:"Modifi\xe9e"},"ja-JP":{singular:"変更日"},"ko-KR":{singular:"수정됨"},"pt-BR":{singular:"Modificado"},"zh-CN":{singular:"修改于"}}}),MoveDown:(0,n.Iu)({singular:"Move down",dictionary:{es:{singular:"Mover hacia abajo"},"de-DE":{singular:"Nach unten verschieben"},"fr-FR":{singular:"D\xe9placer vers le bas"},"ja-JP":{singular:"下へ移動"},"ko-KR":{singular:"아래로 이동"},"pt-BR":{singular:"Mover para baixo"},"zh-CN":{singular:"向下移动"}}}),MoveUp:(0,n.Iu)({singular:"Move up",dictionary:{es:{singular:"Mover hacia arriba"},"de-DE":{singular:"Nach oben verschieben"},"fr-FR":{singular:"D\xe9placer vers le haut"},"ja-JP":{singular:"上へ移動"},"ko-KR":{singular:"위로 이동"},"pt-BR":{singular:"Mover para cima"},"zh-CN":{singular:"向上移动"}}}),MyPublicVideos:(0,n.Iu)({singular:"My public videos",dictionary:{es:{singular:"Mis videos p\xfablicos"},"de-DE":{singular:"Meine \xf6ffentlichen Videos"},"fr-FR":{singular:"Mes vid\xe9os publiques"},"ja-JP":{singular:"自分の公開動画"},"ko-KR":{singular:"내 공개 동영상"},"pt-BR":{singular:"Meus v\xeddeos p\xfablicos"},"zh-CN":{singular:"我的公开视频"}}}),NameIsRequired:(0,n.Iu)({singular:"Name is required",dictionary:{es:{singular:"El nombre es obligatorio"},"de-DE":{singular:"Name ist ein Pflichtfeld"},"fr-FR":{singular:"Le nom est requis"},"ja-JP":{singular:"名前を入力してください"},"ko-KR":{singular:"이름은 필수 항목입니다"},"pt-BR":{singular:"O nome \xe9 necess\xe1rio"},"zh-CN":{singular:"名称为必填项"}}}),Next:(0,n.Iu)({singular:"Next",dictionary:{es:{singular:"Siguiente"},"de-DE":{singular:"Weiter"},"fr-FR":{singular:"Suivant"},"ja-JP":{singular:"次へ"},"ko-KR":{singular:"다음"},"pt-BR":{singular:"Pr\xf3xima"},"zh-CN":{singular:"下一步"}}}),No:(0,n.Iu)({singular:"No",dictionary:{"de-DE":{singular:"Nein"},"fr-FR":{singular:"Non"},"ja-JP":{singular:"いいえ"},"ko-KR":{singular:"아니요"},"pt-BR":{singular:"N\xe3o"},"zh-CN":{singular:"否"}}}),None:(0,n.Iu)({singular:"None",dictionary:{es:{singular:"Ninguno"},"de-DE":{singular:"Kein"},"fr-FR":{singular:"Aucun"},"ja-JP":{singular:"なし"},"ko-KR":{singular:"없음"},"pt-BR":{singular:"Nenhum"},"zh-CN":{singular:"无"}}}),NoThanks:(0,n.Iu)({singular:"No, thanks",dictionary:{es:{singular:"No, gracias"},"de-DE":{singular:"Nein danke"},"fr-FR":{singular:"Non merci"},"ja-JP":{singular:"結構です"},"ko-KR":{singular:"아니요"},"pt-BR":{singular:"N\xe3o, obrigado"},"zh-CN":{singular:"不用了,谢谢"}}}),NotAvailableForHire:(0,n.Iu)({singular:"Not Available for Hire",dictionary:{es:{singular:"No disponible para contrataciones"},"de-DE":{singular:"Nicht verf\xfcgbar zur Beauftragung"},"fr-FR":{singular:"Non disponible \xe0 l'embauche"},"ja-JP":{singular:"採用不可"},"ko-KR":{singular:"현재는 모집하지 않음"},"pt-BR":{singular:"N\xe3o dispon\xedvel para contrata\xe7\xe3o"},"zh-CN":{singular:"不可聘用"}}}),NotPlayingNice:(0,n.Iu)({singular:"Not playing nice",dictionary:{es:{singular:"No se reproduce bien"},"de-DE":{singular:"Jemand schl\xe4gt hier \xfcber die Str\xe4nge"},"fr-FR":{singular:"Ne joue pas fair-play"},"ja-JP":{singular:"他者への配慮に欠けている"},"ko-KR":{singular:"친절함을 유지하지 않음"},"pt-BR":{singular:"A reprodu\xe7\xe3o n\xe3o est\xe1 boa"},"zh-CN":{singular:"看得不舒服"}}}),NotPlayingNiceDescription:(0,n.Iu)({singular:"This person has behaved in an abusive, bullying, or disrespectful manner.",dictionary:{es:{singular:"Esta persona se comport\xf3 de manera abusiva, acosadora o irrespetuosa."},"de-DE":{singular:"Diese Person hat sich dir gegen\xfcber respektlos oder schikanierend verhalten oder dich gemobbt."},"fr-FR":{singular:"Cette personne s'est comport\xe9e de mani\xe8re abusive, agressive ou irrespectueuse."},"ja-JP":{singular:"攻撃的、悪意的、または失礼なふるまいをしている。"},"ko-KR":{singular:"이 사용자는 모욕적, 폭력적 또는 무례한 행동을 보였습니다."},"pt-BR":{singular:"Esta pessoa tem se comportado de maneira abusiva, intimidadora ou desrespeitosa."},"zh-CN":{singular:"此人有辱骂、欺凌或不尊重他人的行为。"}}}),NoVideos:(0,n.Iu)({singular:"No videos",dictionary:{es:{singular:"No hay videos"},"de-DE":{singular:"Keine Videos"},"fr-FR":{singular:"Pas de vid\xe9os"},"ja-JP":{singular:"動画がありません"},"ko-KR":{singular:"동영상이 없습니다"},"pt-BR":{singular:"N\xe3o h\xe1 v\xeddeos"},"zh-CN":{singular:"没有视频"}}}),NoVideosYet:(0,n.Iu)({singular:"You don't have any videos yet!",dictionary:{es:{singular:"A\xfan no tienes ning\xfan video."},"de-DE":{singular:"Du hast noch keine Videos!"},"fr-FR":{singular:"Vous n'avez pas encore ajout\xe9 de vid\xe9os\xa0!"},"ja-JP":{singular:"まだ動画がありません。"},"ko-KR":{singular:"아직 동영상이 없군요!"},"pt-BR":{singular:"Voc\xea ainda n\xe3o tem nenhum v\xeddeo!"},"zh-CN":{singular:"您还没有任何视频!"}}}),Now:(0,n.Iu)({singular:"Now",dictionary:{es:{singular:"Ahora"},"de-DE":{singular:"Jetzt"},"fr-FR":{singular:"Maintenant"},"ja-JP":{singular:"たった今"},"ko-KR":{singular:"지금"},"pt-BR":{singular:"Agora"},"zh-CN":{singular:"现在"}}}),OK:(0,n.Iu)({singular:"OK",dictionary:{es:{singular:"Aceptar"},"ko-KR":{singular:"확인"},"zh-CN":{singular:"确定"}}}),OnDemandVideoNotSupported:(0,n.Iu)({singular:"On-demand videos aren't supported.",dictionary:{es:{singular:"No se admiten los videos a pedido."},"de-DE":{singular:"On-Demand-Videos werden nicht unterst\xfctzt."},"fr-FR":{singular:"Les vid\xe9os \xe0 la demande ne sont pas prises en charge."},"ja-JP":{singular:"オンデマンド動画には対応しておりません。"},"ko-KR":{singular:"온디맨드 동영상은 지원되지 않습니다."},"pt-BR":{singular:"V\xeddeos sob demanda n\xe3o s\xe3o suportados."},"zh-CN":{singular:"不支持点播视频。"}}}),PageLink:(0,n.Iu)({singular:"Page link",dictionary:{es:{singular:"Enlace de la p\xe1gina"},"de-DE":{singular:"Link"},"fr-FR":{singular:"Lien de la page"},"ja-JP":{singular:"ページリンク"},"ko-KR":{singular:"페이지 링크"},"pt-BR":{singular:"Link da p\xe1gina"},"zh-CN":{singular:"页面链接"}}}),PickerHeader:(0,n.Iu)({singular:"Choose a video to play at the top of your page",dictionary:{es:{singular:"Elige un video para reproducir en la parte superior de tu p\xe1gina"},"de-DE":{singular:"Suche dir ein Video aus, das oben auf deiner Seite abgespielt werden soll"},"fr-FR":{singular:"Choisissez une vid\xe9o \xe0 lire en haut de votre page"},"ja-JP":{singular:"ページトップで再生する動画を選択"},"ko-KR":{singular:"페이지 맨 위에서 재생할 동영상을 선택하세요."},"pt-BR":{singular:"Escolha um v\xeddeo para passar na parte superior da sua p\xe1gina"},"zh-CN":{singular:"选择您的页面顶部要播放的视频"}}}),Preview:(0,n.Iu)({singular:"Preview",dictionary:{es:{singular:"Vista previa"},"de-DE":{singular:"Vorschau"},"fr-FR":{singular:"Aper\xe7u"},"ja-JP":{singular:"プレビュー"},"ko-KR":{singular:"미리 보기"},"pt-BR":{singular:"Visualiza\xe7\xe3o"},"zh-CN":{singular:"预览"}}}),Previous:(0,n.Iu)({singular:"Previous",dictionary:{es:{singular:"Anterior"},"de-DE":{singular:"Vorherige"},"fr-FR":{singular:"Pr\xe9c\xe9dent"},"ja-JP":{singular:"前へ"},"ko-KR":{singular:"이전"},"pt-BR":{singular:"Anterior"},"zh-CN":{singular:"上一页"}}}),ProjectTypes:(0,n.Iu)({singular:"Project types",dictionary:{es:{singular:"Tipos de proyectos"},"de-DE":{singular:"Projekttypen"},"fr-FR":{singular:"Types de projets"},"ja-JP":{singular:"プロジェクトタイプ"},"ko-KR":{singular:"프로젝트 유형"},"pt-BR":{singular:"Tipos de projeto"},"zh-CN":{singular:"项目类型"}}}),PublicVideoAutoAddText:(0,n.Iu)({singular:"Your public videos are already being added to your profile by default",dictionary:{es:{singular:"Tus videos p\xfablicos ya se agregan al perfil de forma predeterminada"},"de-DE":{singular:"Deine \xf6ffentlichen Videos werden bereits automatisch deinem Profil hinzugef\xfcgt"},"fr-FR":{singular:"Vos vid\xe9os publiques sont d\xe9j\xe0 en cours d'ajout \xe0 votre profil par d\xe9faut"},"ja-JP":{singular:"公開動画はデフォルトでプロフィールにすでに追加されています"},"ko-KR":{singular:"공개 동영상은 이미 프로필에 기본적으로 추가되어 있습니다."},"pt-BR":{singular:"Seus v\xeddeos p\xfablicos j\xe1 est\xe3o sendo adicionados ao seu perfil por padr\xe3o"},"zh-CN":{singular:"您的公开视频已默认添加到您的个人资料中"}}}),PublicVideosEmptyText:(0,n.Iu)({singular:"Looks like you don't have any public videos.",dictionary:{es:{singular:"Parece que no tienes ning\xfan video p\xfablico."},"de-DE":{singular:"Scheinbar hast du keine \xf6ffentlichen Videos."},"fr-FR":{singular:"Il semble que vous n'avez aucune vid\xe9o publique."},"ja-JP":{singular:"公開動画がありません。"},"ko-KR":{singular:"공개 동영상이 없습니다."},"pt-BR":{singular:"Parece que voc\xea n\xe3o tem nenhum v\xeddeo p\xfablico."},"zh-CN":{singular:"您似乎没有任何公开视频。"}}}),PublicVideosNotificationText:(0,n.Iu)({singular:"Do you want to automatically add public videos to the top of your profile?",dictionary:{es:{singular:"\xbfDeseas agregar videos p\xfablicos autom\xe1ticamente en la parte superior de tu perfil?"},"de-DE":{singular:"M\xf6chtest du automatisch \xf6ffentliche Videos ganz oben zu deinem Profil hinzuf\xfcgen?"},"fr-FR":{singular:"Souhaitez-vous ajouter automatiquement des vid\xe9os publiques en haut de votre profil\xa0?"},"ja-JP":{singular:"プロフィールの一番上に公開動画を自動的に追加しますか?"},"ko-KR":{singular:"공개 동영상을 프로필 상단에 자동으로 추가할까요?"},"pt-BR":{singular:"Quer adicionar v\xeddeos p\xfablicos automaticamente no topo do seu perfil?"},"zh-CN":{singular:"您想将公开视频自动添加到个人资料的顶部吗?"}}}),PublicVideosToggleText:(0,n.Iu)({singular:"Automatically add public videos",dictionary:{es:{singular:"Agregar autom\xe1ticamente videos p\xfablicos"},"de-DE":{singular:"\xd6ffentliche Videos automatisch hinzuf\xfcgen"},"fr-FR":{singular:"Ajouter automatiquement les vid\xe9os publiques"},"ja-JP":{singular:"公開動画を自動的に追加する"},"ko-KR":{singular:"공개 동영상 자동 추가"},"pt-BR":{singular:"Adicionar v\xeddeos p\xfablicos automaticamente"},"zh-CN":{singular:"自动添加公开视频"}}}),Rate:(0,n.Iu)({singular:"Rate",dictionary:{es:{singular:"Tarifa"},"de-DE":{singular:"Tarif"},"fr-FR":{singular:"Tarif"},"ja-JP":{singular:"料金"},"ko-KR":{singular:"급여"},"pt-BR":{singular:"Valor"},"zh-CN":{singular:"费率"}}}),ReadMore:(0,n.Iu)({singular:"Read more",dictionary:{es:{singular:"Leer m\xe1s"},"de-DE":{singular:"Mehr lesen"},"fr-FR":{singular:"En savoir plus"},"ja-JP":{singular:"続きを読む"},"ko-KR":{singular:"더 읽기"},"pt-BR":{singular:"Leia mais"},"zh-CN":{singular:"阅读更多"}}}),Remove:(0,n.Iu)({singular:"Remove",dictionary:{es:{singular:"Eliminar"},"de-DE":{singular:"Entfernen"},"fr-FR":{singular:"Supprimer"},"ja-JP":{singular:"削除"},"ko-KR":{singular:"제거"},"pt-BR":{singular:"Remover"},"zh-CN":{singular:"移除"}}}),RemoveComment:(0,n.Iu)({singular:"Remove comment",dictionary:{es:{singular:"Quitar comentario"},"de-DE":{singular:"Kommentar entfernen"},"fr-FR":{singular:"Supprimer le commentaire"},"ja-JP":{singular:"コメントを削除"},"ko-KR":{singular:"소감 삭제"},"pt-BR":{singular:"Remover coment\xe1rio"},"zh-CN":{singular:"移除评论"}}}),RemoveListing:(0,n.Iu)({singular:"Remove Listing",dictionary:{"zh-CN":{singular:"移除名单"}}}),RemoveVideo:(0,n.Iu)({singular:"Remove this video from your profile?",dictionary:{es:{singular:"\xbfDeseas quitar este video de tu perfil?"},"de-DE":{singular:"Dieses Video aus deinem Profil entfernen?"},"fr-FR":{singular:"Supprimer cette vid\xe9o de votre profil\xa0?"},"ja-JP":{singular:"プロフィールからこの動画を削除しますか?"},"ko-KR":{singular:"프로필에서 이 동영상을 삭제할까요?"},"pt-BR":{singular:"Remover este v\xeddeo do seu perfil?"},"zh-CN":{singular:"从您的个人资料中移除此视频?"}}}),Replace:(0,n.Iu)({singular:"Replace",dictionary:{es:{singular:"Reemplazar"},"de-DE":{singular:"Ersetzen"},"fr-FR":{singular:"Remplacer"},"ja-JP":{singular:"置き換え"},"ko-KR":{singular:"변경"},"pt-BR":{singular:"Substituir"},"zh-CN":{singular:"更换"}}}),ReportAccount:(0,n.Iu)({singular:"Report account",dictionary:{es:{singular:"Denuncia esta cuenta"},"de-DE":{singular:"Konto angeben"},"fr-FR":{singular:"Signaler le compte"},"ja-JP":{singular:"アカウントを通報する"},"ko-KR":{singular:"계정 신고"},"pt-BR":{singular:"Denunciar conta"},"zh-CN":{singular:"报告帐户"}}}),ReportThePerson:(0,n.Iu)({singular:"Report this person",dictionary:{es:{singular:"Denunciar a esta persona"},"de-DE":{singular:"Diese Person melden"},"fr-FR":{singular:"Signaler cette personne"},"ja-JP":{singular:"このメンバーを通報する"},"ko-KR":{singular:"사용자 신고하기"},"pt-BR":{singular:"Denunciar esta pessoa"},"zh-CN":{singular:"举报此人"}}}),Roles:(0,n.Iu)({singular:"Roles",dictionary:{"de-DE":{singular:"Rollen"},"fr-FR":{singular:"R\xf4les"},"ja-JP":{singular:"役職"},"ko-KR":{singular:"직무"},"pt-BR":{singular:"Fun\xe7\xf5es"},"zh-CN":{singular:"角色"}}}),SameUserMessage:(0,n.Iu)({singular:"Sorry, you can’t send a message to yourself",dictionary:{es:{singular:"Lamentablemente, no puedes enviarte un mensaje a ti mismo"},"de-DE":{singular:"Leider kannst du dir selbst keine Nachricht schicken"},"fr-FR":{singular:"Malheureusement, vous ne pouvez pas vous envoyer un message"},"ja-JP":{singular:"自分宛にメッセージを送信することはできません"},"ko-KR":{singular:"죄송합니다, 본인 자신에게는 메시지를 보낼 수 없습니다."},"pt-BR":{singular:"Desculpe, voc\xea n\xe3o pode enviar uma mensagem a voc\xea mesmo"},"zh-CN":{singular:"抱歉,您不能给自己发送消息"}}}),Save:(0,n.Iu)({singular:"Save",dictionary:{es:{singular:"Guardar"},"de-DE":{singular:"Speichern"},"fr-FR":{singular:"Enregistrer"},"ja-JP":{singular:"保存"},"ko-KR":{singular:"저장"},"pt-BR":{singular:"Salvar"},"zh-CN":{singular:"保存"}}}),SavedChanges:(0,n.Iu)({singular:"Saved changes",dictionary:{es:{singular:"Cambios guardados"},"de-DE":{singular:"Gespeicherte \xc4nderungen"},"fr-FR":{singular:"Modifications sauvegard\xe9es"},"ja-JP":{singular:"保存した変更"},"ko-KR":{singular:"변경 사항 저장됨"},"pt-BR":{singular:"Altera\xe7\xf5es salvas"},"zh-CN":{singular:"已保存更改"}}}),Search:(0,n.Iu)({singular:"Search",dictionary:{es:{singular:"Buscar"},"de-DE":{singular:"Suchen"},"fr-FR":{singular:"Chercher"},"ja-JP":{singular:"検索"},"ko-KR":{singular:"검색"},"pt-BR":{singular:"Pesquisar"},"zh-CN":{singular:"搜索"}}}),SearchResults:(0,n.Iu)({singular:"Search results",dictionary:{es:{singular:"Resultados de la b\xfasqueda"},"de-DE":{singular:"Suchergebnisse"},"fr-FR":{singular:"R\xe9sultats de la recherche"},"ja-JP":{singular:"検索結果"},"ko-KR":{singular:"검색 결과"},"pt-BR":{singular:"Resultados de Pesquisa"},"zh-CN":{singular:"搜索结果"}}}),Select:(0,n.Iu)({singular:"Select",dictionary:{es:{singular:"Seleccionar"},"de-DE":{singular:"Ausw\xe4hlen"},"fr-FR":{singular:"S\xe9lectionner"},"ja-JP":{singular:"選択"},"ko-KR":{singular:"선택"},"pt-BR":{singular:"Selecionar"},"zh-CN":{singular:"选择"}}}),SelectComment:(0,n.Iu)({singular:"Select comment",dictionary:{es:{singular:"Seleccionar comentario"},"de-DE":{singular:"Kommentar ausw\xe4hlen"},"fr-FR":{singular:"S\xe9lectionner le commentaire"},"ja-JP":{singular:"コメントを選択"},"ko-KR":{singular:"소감 선택"},"pt-BR":{singular:"Selecionar coment\xe1rio"},"zh-CN":{singular:"选择评论"}}}),SelectVideos:(0,n.Iu)({singular:"Select videos",dictionary:{es:{singular:"Selecciona los videos"},"de-DE":{singular:"Videos ausw\xe4hlen"},"fr-FR":{singular:"S\xe9lectionner des vid\xe9os"},"ja-JP":{singular:"動画を選択"},"ko-KR":{singular:"동영상 선택"},"pt-BR":{singular:"Selecionar v\xeddeos"},"zh-CN":{singular:"选择视频"}}}),SendAMessage:(0,n.Iu)({singular:"Send a message",dictionary:{es:{singular:"Enviar un mensaje"},"de-DE":{singular:"Eine Nachricht senden"},"fr-FR":{singular:"Envoyer un message"},"ja-JP":{singular:"メッセージを送信"},"ko-KR":{singular:"메시지 보내기"},"pt-BR":{singular:"Enviar uma mensagem"},"zh-CN":{singular:"发送消息"}}}),Share:(0,n.Iu)({singular:"Share",dictionary:{es:{singular:"Compartir"},"de-DE":{singular:"Teilen"},"fr-FR":{singular:"Partager"},"ja-JP":{singular:"共有"},"ko-KR":{singular:"공유"},"pt-BR":{singular:"Compartilhar"},"zh-CN":{singular:"分享"}}}),ShareProfile:(0,n.Iu)({singular:"Share profile",dictionary:{es:{singular:"Compartir perfil"},"de-DE":{singular:"Profil teilen"},"fr-FR":{singular:"Partager le profil"},"ja-JP":{singular:"プロフィールを共有"},"ko-KR":{singular:"프로필 공유"},"pt-BR":{singular:"Compartilhar perfil"},"zh-CN":{singular:"分享个人资料"}}}),Showcases:(0,n.Iu)({singular:"Showcases",dictionary:{es:{singular:"Presentaciones"},"de-DE":{singular:"Pr\xe4sentationen"},"fr-FR":{singular:"Pr\xe9sentations"},"ja-JP":{singular:"ショーケース"},"ko-KR":{singular:"쇼케이스"},"pt-BR":{singular:"Vitrines"},"zh-CN":{singular:"橱窗"}}}),Shrink:(0,n.Iu)({singular:"Shrink",dictionary:{es:{singular:"Contraer"},"de-DE":{singular:"Verkleinern"},"fr-FR":{singular:"R\xe9duire"},"ja-JP":{singular:"縮小"},"ko-KR":{singular:"줄이기"},"pt-BR":{singular:"Diminuir"},"zh-CN":{singular:"收缩"}}}),Spammy:(0,n.Iu)({singular:"Spammy",dictionary:{es:{singular:"Spammer"},"de-DE":{singular:"Spam"},"fr-FR":{singular:"Spammeur"},"ja-JP":{singular:"スパムアカウント"},"ko-KR":{singular:"스팸성"},"pt-BR":{singular:"Spammer"},"zh-CN":{singular:"垃圾邮件"}}}),SpammyDescription:(0,n.Iu)({singular:"This person’s profile, comments, or messages include misleading or deceptive links, or repetitive, irrelevant, or random text that seems designed primarily to drive traffic to third-party sites.",dictionary:{es:{singular:"El perfil, los comentarios o los mensajes de esta persona incluyen v\xednculos falsos o enga\xf1osos, o texto repetitivo, irrelevante o aleatorio que parece estar dise\xf1ado principalmente para conducir el tr\xe1fico a sitios web de terceros."},"de-DE":{singular:"Das Profil, die Kommentare oder Nachrichten dieser Person enthalten irref\xfchrende oder arglistige Links oder Texte, die durch Wiederholungen oder Irrelevanz auffallen oder dem Anschein nach dazu dienen, den Traffic anderer Websites zu erh\xf6hen."},"fr-FR":{singular:"Le profil, les commentaires ou les messages de cette personne incluent des liens trompeurs ou du texte r\xe9p\xe9titif, sans rapport avec le site, ou bien al\xe9atoire, semblant servir \xe0 g\xe9n\xe9rer du trafic vers des sites\xa0Web tiers."},"ja-JP":{singular:"プロフィールやコメント、メッセージに、まぎらわしいリンクや偽のリンク、または主に他サイトへの誘導を目的としたような、脈絡のない文章を度々投稿している。"},"ko-KR":{singular:"이 사용자의 프로필, 소감 또는 메시지에 오해의 소지가 있거나 기만적인 링크 또는 타사 사이트로 트래픽을 유발하려는 것으로 보이는 반복적이거나 무관한 내용이 포함되어 있습니다."},"pt-BR":{singular:"O perfil, os coment\xe1rios ou as mensagens desta pessoa incluem links enganosos ou textos repetitivos, irrelevantes ou aleat\xf3rios, que parecem ter como objetivo principal gerar tr\xe1fego para sites de terceiros."},"zh-CN":{singular:"此人的个人资料、评论或消息中包含误导性或欺骗性链接,或包含似乎主要旨在向第三方网站引流的重复性、不相关或随机的文本。"}}}),Start:(0,n.Iu)({singular:"Start",dictionary:{es:{singular:"Comenzar"},"fr-FR":{singular:"Pour commencer"},"ja-JP":{singular:"スタート"},"ko-KR":{singular:"시작"},"pt-BR":{singular:"Iniciar"},"zh-CN":{singular:"开始"}}}),TeamMembers:(0,n.Iu)({singular:"Team members",dictionary:{es:{singular:"Miembros del equipo"},"de-DE":{singular:"Teammitglieder"},"fr-FR":{singular:"Membres d'\xe9quipe"},"ja-JP":{singular:"チームメンバー"},"ko-KR":{singular:"팀원"},"pt-BR":{singular:"Integrantes da equipe"},"zh-CN":{singular:"团队成员"}}}),TellPeopleAboutYourself:(0,n.Iu)({singular:"Tell people about yourself",dictionary:{es:{singular:"Cu\xe9ntale a la gente sobre ti"},"de-DE":{singular:"Erz\xe4hle den Menschen etwas von dir"},"fr-FR":{singular:"Pr\xe9sentez-vous"},"ja-JP":{singular:"自己紹介しましょう"},"ko-KR":{singular:"자신을 소개하세요"},"pt-BR":{singular:"Conte \xe0s pessoas sobre voc\xea"},"zh-CN":{singular:"向他人介绍自己"}}}),ThanksForYourReport:(0,n.Iu)({singular:"Thanks for your report.",dictionary:{es:{singular:"Gracias por tu denuncia."},"de-DE":{singular:"Vielen Dank f\xfcr deine Meldung."},"fr-FR":{singular:"Merci pour votre signalement."},"ja-JP":{singular:"ご報告ありがとうございます。"},"ko-KR":{singular:"신고해주셔서 감사합니다."},"pt-BR":{singular:"Agradecemos por sua den\xfancia."},"zh-CN":{singular:"感谢您的报告。"}}}),TooLongNameError:(0,n.Iu)({singular:"Name must not exceed 32 characters",dictionary:{es:{singular:"El nombre no debe exceder los 32 caracteres"},"de-DE":{singular:"Name darf nicht l\xe4nger als 32 Zeichen sein"},"fr-FR":{singular:"Le nom ne peut d\xe9passer 32 caract\xe8res"},"ja-JP":{singular:"名前は32文字以下で記入してください"},"ko-KR":{singular:"이름은 32자를 초과할 수 없습니다"},"pt-BR":{singular:"O nome n\xe3o pode exceder 32 caracteres"},"zh-CN":{singular:"名称不得超过 32 个字符"}}}),TooLongVideoNameError:(0,n.Iu)({singular:"Name must not exceed 128 characters",dictionary:{es:{singular:"El nombre no debe exceder los 128\xa0caracteres"},"de-DE":{singular:"Name darf nicht l\xe4nger als 128\xa0Zeichen sein"},"fr-FR":{singular:"Le nom ne peut d\xe9passer 128\xa0caract\xe8res"},"ja-JP":{singular:"名前は128文字以下にしてください"},"ko-KR":{singular:"이름은 128자를 초과할 수 없습니다"},"pt-BR":{singular:"O nome n\xe3o deve exceder 128 caracteres"},"zh-CN":{singular:"名称不得超过 128 个字符"}}}),TooManyFollow:(0,n.Iu)({singular:"You've followed too many people too quickly. Please wait a while before following more.",dictionary:{es:{singular:"Seguiste a muchas personas muy r\xe1pido. Espera un poco antes de seguir a m\xe1s usuarios."},"de-DE":{singular:"Du bist zu schnell zu vielen Leuten gefolgt. Warte eine Weile, bevor du weiteren Leuten folgst."},"fr-FR":{singular:"Vous avez commencez \xe0 suivre trop de personnes trop rapidement. Merci de bien vouloir attendre un peu avant de commencer \xe0 en suivre d'autres."},"ja-JP":{singular:"一度に多くの人をフォローし過ぎたようです。申し訳ありませんが、しばらく経ってからもう一度フォローしてください。"},"ko-KR":{singular:"너무 빠른 시간 안에 여러 사용자를 팔로우했습니다. 더 팔로우하기 전에 조금 기다려주세요."},"pt-BR":{singular:"Voc\xea seguiu muitas pessoas muito rapidamente. Por favor, espere um pouco antes de seguir pessoas novamente."},"zh-CN":{singular:"您太快关注太多人了。请等待一段时间再关注更多人。"}}}),UnableToFollow:(0,n.Iu)({singular:"Unable to follow",dictionary:{es:{singular:"No puedes seguirlo(a)"},"de-DE":{singular:"Nicht in der Lage zu folgen"},"fr-FR":{singular:"Impossible de suivre"},"ja-JP":{singular:"フォローできません"},"ko-KR":{singular:"팔로우 불가"},"pt-BR":{singular:"N\xe3o \xe9 poss\xedvel seguir"},"zh-CN":{singular:"无法关注"}}}),Unfollow:(0,n.Iu)({singular:"Unfollow",dictionary:{es:{singular:"Dejar de seguir"},"de-DE":{singular:"Nicht mehr folgen"},"fr-FR":{singular:"Ne plus suivre"},"ja-JP":{singular:"フォロー解除"},"ko-KR":{singular:"팔로우 취소"},"pt-BR":{singular:"Parar de seguir"},"zh-CN":{singular:"取消关注"}}}),Upcoming:(0,n.Iu)({singular:"UPCOMING",dictionary:{es:{singular:"PR\xd3XIMAMENTE"},"de-DE":{singular:"IN K\xdcRZE"},"fr-FR":{singular:"\xc0 VENIR"},"ja-JP":{singular:"近日配信"},"ko-KR":{singular:"예정"},"pt-BR":{singular:"EM BREVE"},"zh-CN":{singular:"即将推出"}}}),UpcomingVideoNotSupported:(0,n.Iu)({singular:"Upcoming videos aren't supported.",dictionary:{es:{singular:"No se admiten los videos programados."},"de-DE":{singular:"Geplante Videos werden nicht unterst\xfctzt."},"fr-FR":{singular:"Les vid\xe9os programm\xe9es ne sont pas prises en charge."},"ja-JP":{singular:"公開予定の動画には対応しておりません。"},"ko-KR":{singular:"예정된 동영상은 지원되지 않습니다."},"pt-BR":{singular:"V\xeddeos que ainda n\xe3o estejam ao vivo n\xe3o s\xe3o suportados."},"zh-CN":{singular:"不支持即将发布的视频。"}}}),UpdateComment:(0,n.Iu)({singular:"Update comment",dictionary:{es:{singular:"Actualizar comentario"},"de-DE":{singular:"Kommentar aktualisieren"},"fr-FR":{singular:"Mettre \xe0 jour le commentaire"},"ja-JP":{singular:"コメントを更新"},"ko-KR":{singular:"소감 업데이트"},"pt-BR":{singular:"Atualizar coment\xe1rio"},"zh-CN":{singular:"更新评论"}}}),Upgrade:(0,n.Iu)({singular:"upgrade",dictionary:{es:{singular:"Actualizar"},"de-DE":{singular:"Upgrade"},"fr-FR":{singular:"Mettre \xe0 niveau"},"ja-JP":{singular:"アップグレード"},"ko-KR":{singular:"업그레이드"},"pt-BR":{singular:"Upgrade"},"zh-CN":{singular:"升级"}}}),UpgradeCaps:(0,n.Iu)({singular:"Upgrade",dictionary:{es:{singular:"Actualizar"},"de-DE":{singular:"Upgraden"},"fr-FR":{singular:"Mettre \xe0 niveau"},"ja-JP":{singular:"アップグレード"},"ko-KR":{singular:"업그레이드"},"zh-CN":{singular:"升级"}}}),Upload:(0,n.Iu)({singular:"Upload",dictionary:{es:{singular:"Subir"},"de-DE":{singular:"Hochladen"},"fr-FR":{singular:"Importer"},"ja-JP":{singular:"アップロード"},"ko-KR":{singular:"업로드"},"pt-BR":{singular:"Carregar"},"zh-CN":{singular:"上传"}}}),UploadPicture:(0,n.Iu)({singular:"Upload picture",dictionary:{es:{singular:"Subir foto"},"de-DE":{singular:"Bild aktualisieren"},"fr-FR":{singular:"Importer une image"},"ja-JP":{singular:"画像をアップロード"},"ko-KR":{singular:"사진 업로드"},"pt-BR":{singular:"Carregar imagem"},"zh-CN":{singular:"上传图片"}}}),UploadVideos:(0,n.Iu)({singular:"Upload videos to display on your profile.",dictionary:{es:{singular:"Sube videos para mostrarlos en tu perfil."},"de-DE":{singular:"Lade \xf6ffentliche Videos hoch, die auf deinem Profil angezeigt werden sollen."},"fr-FR":{singular:"Transf\xe9rez des vid\xe9os \xe0 afficher sur votre profil."},"ja-JP":{singular:"プロフィールに表示する動画をアップロードしましょう。"},"ko-KR":{singular:"프로필에 표시할 동영상을 업로드하세요."},"pt-BR":{singular:"Carregue v\xeddeos para exibir em seu perfil."},"zh-CN":{singular:"上传视频以显示在您的个人资料中。"}}}),UpNext:(0,n.Iu)({singular:"Up next",dictionary:{es:{singular:"A continuaci\xf3n"},"de-DE":{singular:"Direkt danach"},"fr-FR":{singular:"Suivant"},"ja-JP":{singular:"次へ"},"ko-KR":{singular:"다음 동영상"},"pt-BR":{singular:"Pr\xf3ximo"},"zh-CN":{singular:"下一个"}}}),VerifyAccountTitle:(0,n.Iu)({singular:"Please verify your account",dictionary:{es:{singular:"Verifica tu cuenta"},"de-DE":{singular:"Bitte deine Kontoinformationen best\xe4tigen"},"fr-FR":{singular:"Veuillez v\xe9rifier votre compte"},"ja-JP":{singular:"アカウントを承認してください"},"ko-KR":{singular:"계정을 검증해주세요"},"pt-BR":{singular:"Por favor, verifique sua conta"},"zh-CN":{singular:"请验证您的账户"}}}),VerticalVideoNotSupported:(0,n.Iu)({singular:"Vertical videos aren't supported.",dictionary:{es:{singular:"Los videos verticales no son compatibles."},"de-DE":{singular:"Vertikale Videos werden nicht unterst\xfctzt."},"fr-FR":{singular:"Les vid\xe9os verticales ne sont pas prises en charge."},"ja-JP":{singular:"縦向き動画には対応しておりません。"},"ko-KR":{singular:"세로 동영상은 지원되지 않습니다."},"pt-BR":{singular:"V\xeddeos verticais n\xe3o s\xe3o suportados."},"zh-CN":{singular:"不支持竖屏视频。"}}}),VideoRemoved:(0,n.Iu)({singular:"Video removed",dictionary:{es:{singular:"Se quit\xf3 el video"},"de-DE":{singular:"Video entfernt"},"fr-FR":{singular:"Vid\xe9o supprim\xe9e"},"ja-JP":{singular:"動画が削除されました"},"ko-KR":{singular:"동영상 삭제됨"},"pt-BR":{singular:"V\xeddeo removido"},"zh-CN":{singular:"视频已移除"}}}),Videos:(0,n.Iu)({singular:"Videos",dictionary:{"fr-FR":{singular:"Vid\xe9os"},"ja-JP":{singular:"動画"},"ko-KR":{singular:"동영상"},"pt-BR":{singular:"V\xeddeos"},"zh-CN":{singular:"视频"}}}),VideoTrimCropModalHeader:(0,n.Iu)({singular:"Choose which part of the video to loop",dictionary:{es:{singular:"Elige qu\xe9 parte del video reproducir en bucle"},"de-DE":{singular:"W\xe4hle aus, welcher Teil deines Videos in Dauerschleife abgespielt werden soll"},"fr-FR":{singular:"Choisissez un passage de la vid\xe9o \xe0 lire en boucle"},"ja-JP":{singular:"ループさせる動画の部分を選択"},"ko-KR":{singular:"반복 재생할 동영상 부분을 선택하세요."},"pt-BR":{singular:"Escolha qual parte do v\xeddeo passar\xe1 em loop"},"zh-CN":{singular:"选择要循环播放的视频部分"}}}),ViewAll:(0,n.Iu)({singular:"View all",dictionary:{es:{singular:"Verlos todos"},"de-DE":{singular:"Alle anzeigen"},"fr-FR":{singular:"Tout voir"},"ja-JP":{singular:"すべて表示"},"ko-KR":{singular:"모두 보기"},"pt-BR":{singular:"Ver tudo"},"zh-CN":{singular:"查看所有"}}}),ViewLess:(0,n.Iu)({singular:"View less",dictionary:{es:{singular:"Ver menos"},"de-DE":{singular:"Weniger ansehen"},"fr-FR":{singular:"Voir moins"},"ja-JP":{singular:"表示件数を減らす"},"ko-KR":{singular:"줄이기"},"pt-BR":{singular:"Ver menos"},"zh-CN":{singular:"收起"}}}),WeLookingIntoIt:(0,n.Iu)({singular:"We’re looking into it.",dictionary:{es:{singular:"Lo estamos revisando."},"de-DE":{singular:"Wir k\xfcmmern uns sofort darum."},"fr-FR":{singular:"Nous nous y int\xe9ressons de pr\xe8s."},"ja-JP":{singular:"こちらで調査させていただきます。"},"ko-KR":{singular:"조사를 진행 중입니다."},"pt-BR":{singular:"Estamos investigando."},"zh-CN":{singular:"我们会立即调查。"}}}),WhyReportingUser:(0,n.Iu)({singular:"Why are you reporting this person?",dictionary:{es:{singular:"\xbfPor qu\xe9 denuncias a esta persona?"},"de-DE":{singular:"Warum beschwerst du dich \xfcber diese Person?"},"fr-FR":{singular:"Pourquoi signalez-vous cette personne\xa0?"},"ja-JP":{singular:"通報の理由"},"ko-KR":{singular:"이 사용자를 신고하는 이유는 무엇입니까?"},"pt-BR":{singular:"Por que voc\xea est\xe1 denunciando esta pessoa?"},"zh-CN":{singular:"您为什么要举报这个人?"}}}),Yes:(0,n.Iu)({singular:"Yes",dictionary:{es:{singular:"S\xed"},"de-DE":{singular:"Ja"},"fr-FR":{singular:"Oui"},"ja-JP":{singular:"はい"},"ko-KR":{singular:"예"},"pt-BR":{singular:"Sim"},"zh-CN":{singular:"是"}}}),YouMustFollowAtLeastOnePerson:(0,n.Iu)({singular:'You must be following at least one Vimeo member before you can send a private message. To get started, find a friend, family member, or someone with cool videos and click the "Follow" button on their profile page.',dictionary:{es:{singular:"Debes seguir, al menos, a un miembro de Vimeo para poder enviar un mensaje privado. Para empezar, busca un amigo, familiar o alguna persona con videos interesantes y haz clic en el bot\xf3n Seguir, en su p\xe1gina de perfil."},"de-DE":{singular:"Du musst mindestens einem Vimeo-Mitglied folgen, um eine private Nachricht verschicken zu k\xf6nnen. Suche als Einstieg nach einem Freund, Familienmitglied oder jemandem, dessen Videos dir gefallen, und klicke auf den „Folgen“-Button auf der Profilseite der Person."},"fr-FR":{singular:"Vous devez suivre au moins un membre de Vimeo avant de pouvoir envoyer un message priv\xe9. Pour commencer, trouvez un ami, un proche ou un membre dont vous aimez les vid\xe9os, et cliquez sur le bouton \xab\xa0Suivre\xa0\xbb sur sa page de profil."},"ja-JP":{singular:"プライベートメッセージを送信する場合は、少なくとも 1名以上のVimeoメンバーをフォローしてください。まずはあなたの友達や家族、または素敵な動画を公開している人のプロフィールページで [フォローする] ボタンをクリックしてみましょう。"},"ko-KR":{singular:"비공개 메시지를 보내려먼 최소 1명의 Vimeo 회원을 팔로우해야 합니다. 친구, 가족 또는 멋진 동영상을 갖고 있는 회원을 찾고 그들의 프로필 페이지에서 '팔로우' 버튼을 클릭하세요."},"pt-BR":{singular:'\xc9 preciso seguir pelo menos um assinante do Vimeo para que seja poss\xedvel enviar uma mensagem privada. Para come\xe7ar, encontre um amigo, familiar ou algu\xe9m com v\xeddeos legais e clique no bot\xe3o "Seguir" na p\xe1gina de perfil da pessoa.'},"zh-CN":{singular:"您必须至少关注一名 Vimeo 会员,才能发送私密消息。首先请查找好友、家人或超酷视频的创作者,点击其个人资料页面上的“关注”按钮。"}}})};t.Z=a},782109:function(e,t,r){"use strict";r.d(t,{Z:function(){return c}});var n=r(867932),i=r(875858),o=r.n(i),a=r(397458);function s(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function l(e){for(var t=1;t`application/vnd.vimeo.${e};version=${t}`).join(",");let{resource:t=s.resource,version:r=s.version}=e;return`application/vnd.vimeo.${t};version=${r}`}function c(e){if("string"==typeof e)return e;if("number"==typeof e||"boolean"==typeof e)return e.toString();if(Array.isArray(e))return e.map(c).join(",");throw Error(`Unable to encode ${typeof e} to query string`)}function u(e){return"?"+Object.keys(e).reduce((t,r)=>(t.push(`${encodeURIComponent(r)}=${encodeURIComponent(c(e[r]).toString())}`),t),[]).join("&")}function d(e,t){if(e.includes("?")){let r=`&${t.substring(1)}`;return`${e}${r}`}return`${e}${t}`}},492411:function(e,t,r){"use strict";r.d(t,{u:function(){return l}});var n=r(867932),i=r(652983),o=r(248368);function a(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function s(e){for(var t=1;t({loading:!1,called:!1,data:e?(0,o.bI)(e):null,error:null}))}},34909:function(e,t,r){"use strict";r.d(t,{t:function(){return d}});var n=r(867932),i=r(652983),o=r(16871),a=r(226597),s=r(248368),l=r(492411);function c(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function u(e,...t){let r=e,n=Object.assign({},...t),{variables:i}=n;i&&(r+=(0,s.Ie)(i));let{accept:o,headerOverride:a}=n,{resourceKey:l}=n;return l||(l=r),{callUrl:r,resourceKey:l,accept:o,headerOverride:a}}function d(e,t){let r=(0,i.useContext)(o.Z),d=(0,i.useContext)(a.q);if(!d)throw Error("useMutation must be used within a 's scope");let[g,p]=(0,l.u)(),m=(0,i.useCallback)(async i=>{if(!r)return;let{callUrl:o,resourceKey:a,accept:l,headerOverride:g}=u(e,t||{},i||{}),m=d.get(a);if(m&&!i?.ignoreCache){p({type:"CACHE_HIT",payload:m});return}p({type:"REQUEST"});try{let e=function(e){for(var t=1;t{let e=d.subscribeToKey(f,e=>{p({type:"CACHE_HIT",payload:e})});return()=>{e()}},[d,f,p]),[m,g]}},549585:function(e,t,r){"use strict";r.d(t,{D:function(){return d}});var n=r(92575),i=r(652983),o=r(16871),a=r(226597),s=r(248368),l=r(467732),c=r(492411);let u=["resourceKey"];function d(e,t={}){let{resourceKey:r=e}=t,d=(0,n.Z)(t,u),g=(0,i.useContext)(o.Z),p=(0,i.useContext)(a.q),m=(0,l.q)();if(!p)throw Error("useMutation must be used within a 's scope");let f=p.get(r)||null,[h,b]=(0,c.u)(f),y=(0,i.useCallback)(async function(e,t,r,n,i,o){e({type:"REQUEST"});try{let a=await fetch(`//${r}`,function({variables:e,accept:t},r,n,i){try{return{method:r,body:JSON.stringify(e),headers:{Authorization:`jwt ${n}`,Accept:(0,s.$h)(t||d.accept),"Content-Type":"application/json","Vimeo-Page":m,"Accept-Language":g?.locale||"en"}}}catch(e){i({type:"FAILURE",payload:e})}}(t,o,i,e)),l=await a.json();p.set(n,l),e({type:"SUCCESS",payload:l})}catch(t){e({type:"FAILURE",payload:t})}},[d,p,m]),j=(0,i.useCallback)(t=>{if(!g)throw s.qS;y(b,t,g.apiUrl+e,r,g.jwt,"PATCH")},[e,g,r,y,b]),x=(0,i.useCallback)(t=>{if(!g)throw s.qS;y(b,t,g.apiUrl+e,r,g.jwt,"PUT")},[e,g,r,y,b]),v=(0,i.useCallback)(t=>{if(!g)throw s.qS;y(b,t,g.apiUrl+e,r,g.jwt,"POST")},[e,g,r,y,b]);return[{destroy:(0,i.useCallback)(()=>{!async function(){if(!g)throw s.qS;if(!p)throw Error("useMutation must be used within a 's scope");if(!r)throw Error(`Invalid resourceKey for ${e}`);b({type:"REQUEST"});try{await fetch(`//${g.apiUrl}${e}`,{method:"DELETE",headers:{Authorization:`jwt ${g.jwt}`,"Content-Type":"application/json"}}),p.delete(r),b({type:"SUCCESS",payload:null})}catch(e){b({type:"FAILURE",payload:e})}}()},[e,g,r,b,p]),patch:j,post:v,put:x},h]}},455170:function(e,t,r){"use strict";r.d(t,{a:function(){return g}});var n=r(867932),i=r(652983),o=r(16871),a=r(226597),s=r(248368),l=r(467732),c=r(492411);function u(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function d(e){for(var t=1;t's scope");let g=(0,i.useRef)(t.accept),p=t.variables?e+(0,s.Ie)(t.variables):e,m=t.resourceKey||p,[f,h]=(0,c.u)(),b=(0,i.useCallback)(async e=>{if(!r)throw Error("Cannot make requests without a viewer object.");let t=await fetch(`https://${r.apiUrl}${e}`,{method:"GET",headers:{Authorization:`jwt ${r.jwt}`,Accept:(0,s.$h)(g.current),"Content-Type":"application/json","Vimeo-Page":u,"Accept-Language":r.locale}});return await t.json()},[r,u]);(0,i.useEffect)(()=>{let e=!1;return async function(){if(!n)throw Error("useQuery must be used within a 's scope");let t=n.get(m);if(t){h({type:"CACHE_HIT",payload:t});return}h({type:"REQUEST"});try{let t=await b(p);n.set(m,t),e||h({type:"SUCCESS",payload:t})}catch(t){e||h({type:"FAILURE",payload:t})}}(),()=>{e=!0}},[h,b,m,p,n]),(0,i.useEffect)(()=>{let e=n.subscribeToKey(m,e=>{h({type:"CACHE_HIT",payload:e})});return()=>{e()}},[m,n,h]);let y=(0,i.useCallback)(async(r={})=>{let i=d(d({},t),r),o=i.variables?(0,s.am)(e,(0,s.Ie)(i.variables)):e,a=i.resourceKey||o;h({type:"REQUEST"});try{let e=await b(o);n.set(a,e),h({type:"SUCCESS",payload:e})}catch(e){h({type:"FAILURE",payload:e})}},[h,b,t,e,n]);return d(d({},f),{},{refetch:y})}},320749:function(e,t,r){"use strict";r.d(t,{F:function(){return i},_:function(){return function e(t){return(0,n.Uy)(t)?Object.keys(t).reduce((r,o)=>{let a=t[o];return(0,n.Uy)(a)?a=e(a):Array.isArray(a)&&(a=a.map(e)),r[i(o)]=a,r},{}):t}}});var n=r(923921);function i(e){return e.replace(/[\s_.-](\w|$)/g,(e,t)=>t.toUpperCase())}},902673:function(e,t,r){"use strict";r.d(t,{g:function(){return o}});var n=r(652983),i=r(856729);function o(){let e=(0,n.useContext)(i.r);return(t,r,n,i)=>{try{if(e){if(i)return e.getTest(t)?.setInputs(i).getTestValue(t,r,n);return e.getTestValue(t,r,n)}return n}catch{return n}}}},723842:function(e,t,r){"use strict";r.d(t,{Z:function(){return x}});var n=r(723210),i=r(652983),o=r(173898),a=r(919989),s=r(853678),l=r(763952),c=r(16871);let u="vexpdlsmdl",d="veamd";var g=r(131319),p=r(359462),m=r(397458);let f={DescriptionText:(0,g.Iu)({singular:"You’re no longer listed on the For Hire Marketplace. Don’t worry ––\xa0it only takes a minute to fix that. {LINK}Join Vimeo Experts{/LINK} to continue finding jobs, clients, and collaborators. It’s free for anyone on a paid plan.",replacements:{LINK:e=>(0,m.jsxs)(i.Fragment,{children:[(0,m.jsx)("br",{}),(0,m.jsx)("br",{}),(0,m.jsx)(p.r,{variant:"minimal",href:"/experts",target:"_blank",children:e})]},"join-experts-link")},dictionary:{"zh-CN":{singular:"您不再列入求职市场名单。别担心,只需一分钟就能解决。{LINK}加入 Vimeo Experts{/LINK} 以继续寻找工作、客户和合作者。任何付费套餐的用户都可以免费使用。"}}}),TitleText:(0,g.Iu)({singular:"Get back on the list",dictionary:{"zh-CN":{singular:"回到名单"}}}),Dismiss:(0,g.Iu)({singular:"Dismiss",dictionary:{es:{singular:"Descartar"},"de-DE":{singular:"Information verwerfen"},"fr-FR":{singular:"Ignorer"},"ja-JP":{singular:"閉じる"},"ko-KR":{singular:"닫기"},"pt-BR":{singular:"Ignorar"},"zh-CN":{singular:"拒绝"}}}),LearnMore:(0,g.Iu)({singular:"Learn More",dictionary:{es:{singular:"Ver m\xe1s"},"de-DE":{singular:"Mehr dazu"},"fr-FR":{singular:"En savoir plus "},"ja-JP":{singular:"詳細はこちら"},"ko-KR":{singular:"자세히 보기"},"pt-BR":{singular:"Saiba Mais"},"zh-CN":{singular:"了解更多"}}}),ImgAltText:(0,g.Iu)({singular:"Join a diverse community of creative professionals",dictionary:{"zh-CN":{singular:"加入多元化的创意专业人士社区"}}})},h=o.default.div.withConfig({componentId:"sc-1rsr4fs-0"})(["padding:",";background:#ffffff;border-radius:",";max-width:",";> img{border-radius:",";}"],(0,n.hO)(16),(0,n.hO)(10),(0,n.hO)(396),(0,n.hO)(3)),b=o.default.div.withConfig({componentId:"sc-1rsr4fs-1"})(["padding-top:",";padding-bottom:",";font-weight:700;font-size:",";letter-spacing:",";"],(0,n.hO)(16),(0,n.hO)(8),(0,n.hO)(36),(0,n.hO)(-1.2)),y=o.default.div.withConfig({componentId:"sc-1rsr4fs-2"})(["padding-bottom:",";font-weight:400;font-size:",";line-height:",";"],(0,n.hO)(16),(0,n.hO)(16),(0,n.hO)(24)),j=o.default.div.withConfig({componentId:"sc-1rsr4fs-3"})(["display:flex;justify-content:flex-end;> button{margin-left:",";}"],(0,n.hO)(8));var x=({isEnrolledToExperts:e})=>{let{0:t,1:r}=(0,i.useState)(!1),n=(0,i.useContext)(c.Z),[o,g]=(0,a.d0)();(0,i.useEffect)(()=>{!1===e&&n?.user?.showAvailableForHire===!1&&o({select:[u,d]})},[]),(0,i.useEffect)(()=>{g?.data&&g?.data[d]===!1&&r(g?.data[u]===!0)},[g]);let p=()=>{r(!1),fetch(`https://${window.document.location.host}/user${n?.user?.id}/set_tip`,{method:"POST",credentials:"include",headers:{Accept:"application/vnd.vimeo.*;version=3.4.1","Content-Type":"application/json","X-Requested-With":"XMLHttpRequest"},body:JSON.stringify({token:n?.xsrft,data_tip_id:d})})};return(0,m.jsx)(s.u,{active:t,content:(0,m.jsxs)(h,{children:[(0,m.jsx)("img",{src:`${n?.viewmasterCdnUrl?n?.viewmasterCdnUrl:"https://i.vimeocdn.com"}/custom_asset/7ac98d5ff185d9abead57629757e5be6`,alt:f.ImgAltText}),(0,m.jsx)(b,{children:f.TitleText}),(0,m.jsx)(y,{children:f.DescriptionText}),(0,m.jsxs)(j,{children:[(0,m.jsx)(l.z,{variant:"minimalTransparent",onClick:p,children:f.Dismiss}),(0,m.jsx)(l.z,{element:"a",href:"/experts",target:"_blank",onClick:p,children:f.LearnMore})]})]})})}},502349:function(e,t,r){"use strict";r.d(t,{AC:function(){return l},MR:function(){return d},Y$:function(){return c}});var n=r(867932),i=r(652983);function o(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function a(e){for(var t=1;tvoid 0!==e).sort(([e],[t])=>e`${e}=${t}`).join("&")),Array.isArray(e.select)&&t.push("fields="+e.select.join(",")),t.length>0?"?"+t.join("&"):""}let u=new WeakMap;function d(e,t){u.set(e,t)}},919989:function(e,t,r){"use strict";r.d(t,{y0:function(){return j},d0:function(){return x},a0:function(){return v}});var n=r(867932),i=r(502349),o=r(92575),a=r(996240);let s=["baseUrl","select"],l=["baseUrl","select","variables"];function c(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function u(e){for(var t=1;tnull,r?()=>d(y(y({},r),{},{headers:y(y({},r.headers),{},{"Content-Type":"application/json",Authorization:o?`jwt ${o}`:"","Vimeo-Page":`${a}`,"Accept-Language":s??"en"}),baseUrl:n})):null,t)}function x(){let{mutate:e}=(0,m.kY)(),{baseUrl:t,jwt:r,xVimeoPage:n,locale:o}=(0,f.r)(),[a,s]=(0,i.AC)();return[(0,p.useCallback)(async a=>{s({type:"REQUEST"});try{let l=await e(`/me/preferences${(0,i.Y$)(a)}`,d(y(y({},a),{},{baseUrl:t,headers:y(y({},a.headers),{},{"Content-Type":"application/json",Authorization:r?`jwt ${r}`:"","Vimeo-Page":`${n}`,"Accept-Language":o??"en"})})));s({type:"SUCCESS",payload:l})}catch(e){s({type:"FAILURE",payload:e})}},[t,n,r,o,s]),a]}function v(){let{mutate:e}=(0,m.kY)(),{baseUrl:t,jwt:r,xVimeoPage:n,locale:o}=(0,f.r)(),[a,s]=(0,i.AC)();return[(0,p.useCallback)(async a=>{s({type:"REQUEST"});try{let l=await e(`/me/preferences${(0,i.Y$)(a)}`,g(y(y({},a),{},{baseUrl:t,headers:y(y({},a.headers),{},{"Content-Type":"application/json",Authorization:r?`jwt ${r}`:"","Vimeo-Page":`${n}`,"Accept-Language":o??"en"})})),!1);s({type:"SUCCESS",payload:l})}catch(e){s({type:"FAILURE",payload:e})}},[t,n,r,o,s]),a]}"true"===h.env.STORYBOOK&&(0,i.MR)(j,{endpoint:"/me/preferences",method:"GET"}),"true"===h.env.STORYBOOK&&(0,i.MR)(x,{endpoint:"/me/preferences",method:"GET"}),"true"===h.env.STORYBOOK&&(0,i.MR)(v,{endpoint:"/me/preferences",method:"PATCH"})},437386:function(e,t,r){"use strict";r.d(t,{Z:function(){return a},f:function(){return n}});let n=e=>new URLSearchParams(window.location.search).get(e),i=e=>"true"===n(e),o=e=>{let t=n(e);if(t){if("false"===t){try{window.localStorage.removeItem(e)}catch(e){}return!1}try{window.localStorage.setItem(e,JSON.stringify(t))}catch(e){}return"true"===t}try{let t=window.localStorage.getItem(e);return!!t&&"true"===JSON.parse(t)}catch(e){}return!1},a=(e,t=!1)=>t?o(e):i(e)},257788:function(e,t,r){"use strict";r.d(t,{u:function(){return d}});var n=r(313819),i=r(673076),o=r.n(i),a=r(894411),s=r.n(a),l=r(34354),c=r.n(l);let u=(e,t)=>Array.isArray(e)?e.map(e=>u(e,t)):o()(e)?c()(s()(e,t),e=>o()(e)?u(e,t):e):e,d=e=>u(e,(e,t)=>(0,n.camelize)(t))},128117:function(e,t,r){"use strict";r.d(t,{Z:function(){return s},m:function(){return a}});var n=r(896245),i=r(652983),o=r(397458);let a=i.createContext({});function s({children:e,googleApiKey:t}){let{isLoaded:r}=(0,n.Db)({id:"google-maps-places-script",googleMapsApiKey:t,libraries:["places"]}),s=(0,i.useRef)({}),l=(0,i.useCallback)(()=>{if(r){let e=window.google?.maps.places;e&&(s.current={googleAutoComplete:new e.AutocompleteService,googlePlaces:new e.PlacesService(document.createElement("div")),googleObj:e})}return s.current},[r]);return(0,o.jsx)(a.Provider,{value:l(),children:e})}},384312:function(e,t,r){"use strict";r.d(t,{Z:function(){return s}});var n=r(867932),i=r(83431),o=r(939293);class a{constructor(e){(0,n.Z)(this,"placesObj",void 0),this.placesObj=e}getLocation(e,t=["address_components","formatted_address","geometry.location","place_id","types"]){if(e){let r={placeId:e,fields:t,sessionToken:o.Z.token};return new Promise(e=>{this.placesObj.getDetails(r,(t,r)=>{e(this.locationDetailsCallback(t,r))})})}return Promise.reject("PlaceId is missing")}getNameAndIsoCode(e,t,r){e[t]=r.long_name,r.short_name.length<10&&(e[`${t}IsoCode`]=r.short_name)}locationDetailsCallback(e,t){if(e&&t===i.$.OK){let t={formattedAddress:e.formatted_address,latitude:e.geometry.location.lat(),longitude:e.geometry.location.lng(),placeId:e.place_id};return e.address_components.forEach(e=>{e.types.includes("locality")||e.types.includes("administrative_area_level_3")?t.city=e.long_name:e.types.includes("sublocality_level_1")?t.subLocality=e.long_name:e.types.includes("neighborhood")?t.neighborhood=e.long_name:e.types.includes("administrative_area_level_1")?this.getNameAndIsoCode(t,"state",e):e.types.includes("country")&&this.getNameAndIsoCode(t,"country",e)}),o.Z.clearToken(),t}}}function s(e,t){return t?new a(t).getLocation(e):Promise.reject("It seems Google API is not set in context or initialized properly")}},939293:function(e,t,r){"use strict";r.d(t,{Z:function(){return i}});var n=r(867932);class i{constructor(){}static initialize(){null==i._token&&i.triggerReset()}static triggerReset(){i.clearToken(),i.resetToken(),i.interval=setInterval(i.resetToken,18e4)}static get token(){return i.initialize(),i._token}static clearToken(){i.interval&&clearInterval(i.interval),i._token&&(i._token=void 0)}}(0,n.Z)(i,"interval",null),(0,n.Z)(i,"_token",null),(0,n.Z)(i,"resetToken",()=>{i._token=new window.google.maps.places.AutocompleteSessionToken})},83431:function(e,t,r){"use strict";var n;r.d(t,{$:function(){return i}});let i=((n={}).ERROR="ERROR",n.INVALID_REQUEST="INVALID_REQUEST",n.OK="OK",n.NOT_FOUND="NOT_FOUND",n.ZERO_RESULTS="ZERO_RESULTS",n)},368351:function(e,t,r){"use strict";r(652983);var n=r(397458);t.Z=({input:e,suggestion:t})=>{let r=e.replace(/[\\^$*+?.()|[\]{}]/g,"\\$&"),i=RegExp(`(${r})`,"ig");return(0,n.jsx)(n.Fragment,{children:t.split(i).map(t=>t.toLowerCase()===e.toLowerCase()?(0,n.jsx)("b",{children:t}):t)})}},226717:function(e,t,r){"use strict";r.d(t,{Z:function(){return k}});var n=r(867932),i=r(92575),o=r(275699),a=r.n(o),s=r(652983),l=r(173898),c=r(80135),u=e=>{let t=e.split(/^(http(s)?\:)?\/\//).pop();if(t){let e=t.split(/[\/\?]/)[0];return/\:(\d+)$/.test(e)}return!1},d=r(397458);let g=["raw","url","customLinkCss","paraBreak"],p=["text"];function m(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function f(e){for(var t=1;t1,b=()=>!1,y=new(a())({"ftp:":{validate:b},"mailto:":{validate:b}},{fuzzyIP:!1,fuzzyEmail:!1}),j=({text:e,paraBreak:t})=>{let r=(0,s.useMemo)(()=>{if(h&&t&&e.length>t){let r=e.match(RegExp(`.{1,${t}}`,"g"))||[];return(0,d.jsx)(d.Fragment,{children:r.map((e,t)=>(0,d.jsx)(C,{children:e},t))})}return(0,d.jsx)(d.Fragment,{children:e})},[e]);return(0,d.jsx)(d.Fragment,{children:r})},x=e=>{let{raw:t,url:r,customLinkCss:n,paraBreak:o}=e,a=(0,i.Z)(e,g),l=(0,s.useMemo)(()=>u(r)?(0,d.jsx)(j,{text:t,paraBreak:o}):(0,d.jsx)(O,f(f({contentEditable:!1,href:r,target:"_blank",rel:"noopener noreferrer nofollow"},a),{},{children:t})),[t,r]);return(0,d.jsx)(d.Fragment,{children:l})},v=(0,l.css)(["text-decoration:none;color:",";&:hover{color:",";}"],(0,c.iN)(500),(0,c.iN)(600)),w=(0,l.css)(["transform:translate3d(0,0,0);transform-style:preserve-3d;backface-visibility:hidden;position:relative;"]),C=l.default.span.withConfig({componentId:"a1m34b-0"})(["",""],w),O=l.default.a.withConfig({componentId:"a1m34b-1"})([""," word-break:",";",""],w,({linkWordBreakStyle:e})=>e||"break-all",({customLinkCss:e})=>e||v);var k=e=>{let{text:t}=e,r=(0,i.Z)(e,p),n=(0,s.useMemo)(()=>{if(y.pretest(t)){let e=0,n=[];return(y.match(t)||[]).forEach(i=>{n.push((0,d.jsx)(j,{text:t.substring(e,i.index)},`text-splitter-${i.index}`)),n.push((0,d.jsx)(x,f(f({},i),r),`linkify-link-${i.index}`)),e=i.lastIndex}),n.push((0,d.jsx)(j,{text:t.substring(e)},`text-splitter-${e}`)),n}return(0,d.jsx)(j,{text:t})},[t]);return(0,d.jsx)(d.Fragment,{children:n})}},286761:function(e,t,r){"use strict";var n,i=r(524777),o=r(652983),a=r(173898),s=r(80135),l=r(684702),c=r(763952),u=r(630592),d=r(711212),g=r(840243),p=r(208229),m=r(397458),f=((n=f||{})[n.TAB=9]="TAB",n[n.ENTER=13]="ENTER",n[n.ESC=27]="ESC",n[n.UP=38]="UP",n[n.DOWN=40]="DOWN",n);let h=(0,o.forwardRef)(({onChange:e,onIndexUpdate:t,onEnter:r,onDismiss:n,value:i,placeholder:a="",onTab:s,onFocus:l,isValid:c=!0,isSearch:g,label:h,inputIcon:y,className:C,style:O},k)=>(0,m.jsxs)(m.Fragment,{children:[h&&(0,m.jsx)(p.h,{size:"6",children:h}),(0,m.jsxs)(b,{children:[!c&&(0,m.jsx)(x,{}),c&&y&&i&&(0,m.jsx)(j,{children:y}),(0,m.jsx)(v,{type:"text",placeholder:a,onChange:t=>e(t.target.value),onKeyDown:e=>{e.keyCode===f.DOWN?(t(1),e.preventDefault()):e.keyCode===f.UP?(t(-1),e.preventDefault()):s&&(e.keyCode===f.ESC||e.keyCode===f.TAB)?s():e.keyCode===f.ENTER&&(r(),e.preventDefault())},value:i,status:c?"neutral":"negative",hasIcon:i&&(0,o.isValidElement)(y)||!c,onFocus:()=>l&&l(),ref:k,className:C,style:O}),g&&!i&&(0,m.jsx)(w,{format:"secondary",icon:(0,m.jsx)(u.o,{})}),i&&(0,m.jsx)(w,{format:"secondary",icon:(0,m.jsx)(d.n,{}),onClick:n})]})]})),b=a.default.div.withConfig({componentId:"sc-1nucl3q-0"})(["position:relative;"]),y=(0,a.css)(["transition:120ms ease-in-out;position:absolute;left:",";z-index:2;height:",";display:flex;flex-shrink:0;align-items:center;"],(0,i.rem)(9),(0,i.rem)(35)),j=a.default.div.withConfig({componentId:"sc-1nucl3q-1"})(["",";left:",";height:100%;justify-content:center;"],y,(0,i.rem)(13)),x=(0,a.default)(g._).withConfig({componentId:"sc-1nucl3q-2"})([""," width:",";path{fill:",";}"],y,(0,i.rem)(18),(0,s.Q6)(600)),v=(0,a.default)(l.I).withConfig({componentId:"sc-1nucl3q-3"})(["font-size:",";input{padding-right:",";&::-ms-clear{width:0;height:0;}","}"],(0,i.rem)(14),(0,i.rem)(30),({hasIcon:e})=>e?(0,a.css)(["padding-left:",";"],(0,i.rem)(26)):(0,a.css)(["border:"," solid ",";"],(0,i.rem)(1),(0,i.rgba)(s.Sn,.5))),w=(0,a.default)(c.z).withConfig({componentId:"sc-1nucl3q-4"})(["position:absolute;height:100%;right:0;top:0;border-color:transparent;background-color:transparent;&:hover:not(:active){background-color:transparent;border-color:transparent;}svg path{fill:",";}"],(0,s.ae)(500));t.Z=h},254885:function(e,t,r){"use strict";r.d(t,{Z:function(){return a}});var n=r(524777);r(652983);var i=r(173898),o=r(397458);function a({searchText:e,as:t="li"}){return e?(0,o.jsx)(s,{as:t,children:(0,o.jsx)("img",{alt:"powered by google",src:"https://i.vimeocdn.com/custom_asset/877"})}):null}let s=i.default.li.withConfig({componentId:"sc-1jxz1d1-0"})(["text-align:right;padding:"," ",";right:",";img{height:",";}"],(0,n.rem)(10),(0,n.rem)(6),(0,n.rem)(10),(0,n.rem)(15))},487298:function(e,t,r){"use strict";r.d(t,{Z:function(){return $}});var n=r(867932),i=r(92575),o=r(524777),a=r(652983),s=r(173898),l=r(751004),c=r(80135),u=r(889761),d=r(418923),g=r(128117),p=r(384312),m=r(256913),f=r(368351),h=r(197980),b=r(254885),y=r(397458);function j({text:e,locationsList:t,activeIndex:r,onClick:n}){return(0,y.jsxs)(w,{children:[t.map((t,i)=>(0,y.jsxs)(v,{onClick:()=>n(t),isActive:i===r,children:[(0,y.jsx)(h.Y,{width:16,height:16}),(0,y.jsx)(x,{size:"2",children:(0,y.jsx)(f.Z,{input:e,suggestion:t.formattedAddress})})]},`city_${i}_${t.placeId}`)),(0,y.jsx)(b.Z,{searchText:e})]})}let x=(0,s.default)(m.n).withConfig({componentId:"n80k7m-0"})(["margin-bottom:0;"]),v=s.default.li.withConfig({componentId:"n80k7m-1"})(["padding:"," "," "," ",";display:flex;align-items:center;cursor:pointer;&:hover{background-color:",";}> svg{margin-right:",";}padding:"," ",";border-top:"," solid ",";",""],(0,o.rem)(8),(0,o.rem)(32),(0,o.rem)(8),(0,o.rem)(24),(0,c.ae)(50),(0,o.rem)(12),(0,o.rem)(10),(0,o.rem)(7),(0,o.rem)(1),(0,c.ae)(100),({isActive:e})=>e&&(0,s.css)(["background-color:",";"],(0,c.ae)(50))),w=s.default.ul.withConfig({componentId:"n80k7m-2"})(["width:100%;background-color:",";font-size:",";line-height:",";color:",";overflow:auto;display:flex;flex-direction:column;box-shadow:0 "," "," "," ",",0 "," "," 0 ",",0 "," "," 0 ",";border:"," solid ",";border-top:none;border-bottom-left-radius:",";border-bottom-right-radius:",";position:absolute;z-index:10;left:0;"],c.ix,(0,o.rem)(14),(0,o.rem)(20),(0,c.se)(850),(0,o.rem)(2),(0,o.rem)(4),(0,o.rem)(-1),(0,o.rgba)(c.Sn,.2),(0,o.rem)(4),(0,o.rem)(5),(0,o.rgba)(c.Sn,.14),(0,o.rem)(1),(0,o.rem)(10),(0,o.rgba)(c.Sn,.12),(0,o.rem)(1),(0,c.ae)(100),(0,o.rem)(5),(0,o.rem)(5));var C=r(394580),O=r(205609),k=r(891418);let E=({text:e,locationsList:t,activeIndex:r,onClick:n})=>(0,y.jsx)(C.k,{position:"absolute",background:"white",color:"black",zIndex:10,width:"100%",mt:"0.5rem",maxHeight:(0,o.rem)(96),sx:{listStyle:"none !important"},shadow:"md",overflow:"hidden",borderRadius:"0.25rem",children:(0,y.jsxs)(C.k,{flexDirection:"column",overflow:"auto",width:"100%",py:"0.5rem",children:[t.map((t,i)=>(0,y.jsxs)(C.k,{position:"relative",onClick:()=>n(t),backgroundColor:i===r?"gray.100":"",_hover:{backgroundColor:"gray.100"},p:"0.5rem",cursor:"pointer",children:[(0,y.jsx)(k.a,{height:"1rem",width:"1rem",transform:"translateY(3px)",mr:"0.25rem"}),(0,y.jsx)(O.x,{variant:"paragraph-2",children:(0,y.jsx)(f.Z,{input:e,suggestion:t.formattedAddress})})]},`city_${i}_${t.placeId}`)),(0,y.jsx)(C.k,{px:"0.5rem",children:(0,y.jsx)(b.Z,{searchText:e})})]})});var I=r(286761),P=r(880776),S=r(423291),R=r(560174),_=r(218232),D=r(99892);let T=(0,a.forwardRef)(({onChange:e,onIndexUpdate:t,onEnter:r,onDismiss:n,value:i,placeholder:s="",onTab:c,onFocus:u,isValid:d=!0,isSearch:g,label:p,inputIcon:m,className:f,style:h},b)=>{let j=i&&(0,a.isValidElement)(m)||!d;return(0,y.jsxs)(y.Fragment,{children:[(0,y.jsx)(O.x,{variant:"header-6",mb:"0.5rem",children:p}),(0,y.jsxs)(l.xu,{width:"100%",position:"relative",children:[!d&&(0,y.jsx)(z,{isError:!0,children:(0,y.jsx)(R.Z,{color:"red"})}),d&&m&&i&&(0,y.jsx)(z,{children:m}),(0,y.jsx)(P.I,{ref:b,value:i,onChange:t=>e(t.target.value),onKeyDown:e=>{"ArrowDown"===e.key?(t(1),e.preventDefault()):"ArrowUp"===e.key?(t(-1),e.preventDefault()):c&&("Esc"===e.key||"Tab"===e.code)?c():"Enter"===e.key&&(r(),e.preventDefault())},onFocus:u,placeholder:s,className:f,sx:h,isInvalid:!d,paddingRight:(0,o.rem)(30),paddingLeft:j?(0,o.rem)(28):"0.5rem",width:"100%"}),g&&!i&&(0,y.jsx)(S.h,{"aria-label":"search",variant:"minimal",icon:(0,y.jsx)(_.N,{})}),i&&(0,y.jsx)(S.h,{"aria-label":"clear",variant:"minimal",icon:(0,y.jsx)(D.p,{}),onClick:n,position:"absolute",right:"0.5rem",size:"xs",top:0,bottom:0,m:"auto"})]})]})}),z=({children:e,isError:t})=>(0,y.jsx)(C.k,{transition:"120ms ease-in-out",position:"absolute",left:"0.5rem",zIndex:2,height:"1rem",top:0,bottom:0,margin:"auto",flexShrink:0,alignItems:"center",color:t?"red.600":"text.primary",children:(0,a.isValidElement)(e)&&(0,a.cloneElement)(e,{height:"1rem",width:"1rem"})}),A=["value","onChange","isTouched","errorMsg","children","setTouched","useBokeh"];function N(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function F(e){for(var t=1;t{let{value:r,onChange:n,isTouched:o,errorMsg:s,children:c,setTouched:m,useBokeh:f}=e,h=(0,i.Z)(e,A),{googlePlaces:b}=(0,a.useContext)(g.m),x=e=>e&&["formattedAddress","latitude","longitude"].every(({}).hasOwnProperty.bind(e)),v=()=>x(r)&&r.formattedAddress||"",{0:w,1:C}=(0,a.useState)(null),{0:O,1:k}=(0,a.useState)(""),{0:P,1:S}=(0,a.useState)(0),{0:R,1:_}=(0,a.useState)(!1),{0:D,1:z}=(0,a.useState)(o),{1:N}=(0,a.useState)(),B=(0,u.Z)(O),$=(0,a.useRef)(null),K=(0,a.useRef)(null),Z=!(s&&D&&""===O);(0,a.useEffect)(()=>{t&&("function"==typeof t?t(K.current):t.current=K.current)},[t]),(0,a.useEffect)(()=>{z(o)},[o]),(0,a.useEffect)(()=>{k(v),C(x(r)?r:null)},[r]);let V=(e="",t=!1)=>{k(e),S(0),_(t)};(0,d.Z)($,()=>{!f&&(V(w?w.formattedAddress:""),D&&m&&m(!0))},null,[D,w]);let U=e=>{(0,p.Z)(e,b).then(e=>{e&&(C(e),n(e))}).catch(e=>{C(null),k(""),n(),S(0),N(e)})},J=e=>{let t=P+e;t>=0&&t{K.current?.focus(),n(),C(null),V()},q=()=>{V(w?w.formattedAddress:""),m&&m(!0)},G=e=>{K.current?.focus(),V(e.formattedAddress),U(e.placeId)},W=()=>{P>=0&&P{m&&m(!0),V(e,!0)},onDismiss:H,onEnter:W,onIndexUpdate:J,onTab:q,onFocus:()=>{_(!0),z(!0)},isValid:Z})),B.length>0&&R&&(0,y.jsx)(E,{text:O,locationsList:B,activeIndex:P,onClick:G}),!Z&&(0,y.jsx)(L,{children:s})]}):(0,y.jsxs)(y.Fragment,{children:[(0,y.jsxs)(M,{ref:$,children:[(0,y.jsx)(I.Z,F(F({},h),{},{ref:K,value:O,onChange:e=>{m&&m(!0),V(e,!0)},onDismiss:H,onEnter:W,onIndexUpdate:J,onTab:q,onFocus:()=>{_(!0),z(!0)},isValid:Z})),B.length>0&&R&&(0,y.jsx)(j,{text:O,locationsList:B,activeIndex:P,onClick:G})]}),!Z&&(0,y.jsx)(L,{children:s})]}),c&&c(()=>z(!0))]})}),M=s.default.div.withConfig({componentId:"wducte-0"})(["padding:0;position:relative;"]),L=s.default.div.withConfig({componentId:"wducte-1"})(["padding-top:",";color:",";font-size:",";"],(0,o.rem)(5),(0,c.Q6)(600),(0,o.rem)(12));var $=B},27256:function(e,t,r){"use strict";r.d(t,{AW:function(){return k},Dx:function(){return b},GE:function(){return P},N2:function(){return S},Ts:function(){return d},VY:function(){return m},W6:function(){return y},Wr:function(){return p},Yp:function(){return C},a1:function(){return g},bv:function(){return _},d9:function(){return x},dI:function(){return I},ht:function(){return O},jB:function(){return R},r4:function(){return f},v0:function(){return E},vs:function(){return h},vx:function(){return j},xr:function(){return v}});var n=r(524777),i=r(173898),o=r(80135),a=r(763952),s=r(208229),l=r(359462),c=r(256913),u=r(844959);let d=i.default.div.withConfig({componentId:"vwx18m-0"})(["display:flex;justify-content:center;align-items:center;background-color:",";border-radius:",";width:",";height:",";margin:"," auto 0;"],({bgColor:e})=>e||(0,o.iN)(100),(0,n.rem)(150),(0,n.rem)(138),(0,n.rem)(138),(0,n.rem)(20)),g=i.default.div.withConfig({componentId:"vwx18m-1"})(["padding-bottom:",";"],(0,n.rem)(14)),p=i.default.div.withConfig({componentId:"vwx18m-2"})(["background:",";position:relative;"],({theme:e})=>e.content.background),m=(0,i.default)(p).withConfig({componentId:"vwx18m-3"})(["text-align:center;padding:"," ",";",";"," ",""],(0,n.rem)(30),(0,n.rem)(45),u.B.xsm` width: ${(0,n.rem)(335)}; `,u.B.md` width: ${(0,n.rem)(490)}; padding: ${(0,n.rem)(45)} ${(0,n.rem)(75)}; `,u.B.hd` width: ${(0,n.rem)(660)}; padding: ${(0,n.rem)(92)} ${(0,n.rem)(162)}; `),f=(0,i.default)(s.h).attrs({size:"4",format:"soft"}).withConfig({componentId:"vwx18m-4"})(["margin:"," auto;width:100%;",";",""],(0,n.rem)(25),u.B.xsm` width: calc(100% - ${(0,n.rem)(64)}); `,u.B.md` margin-bottom: ${(0,n.rem)(10)}; `),h=i.default.div.withConfig({componentId:"vwx18m-5"})(["padding:"," "," ",";margin-bottom:",";height:",";overflow:auto;"," textarea{resize:vertical;line-height:",";}"],(0,n.rem)(14),(0,n.rem)(36),(0,n.rem)(24),(0,n.rem)(15),(0,n.rem)(400),u.B.hd` height: ${(0,n.rem)(550)}; `,(0,n.rem)(20)),b=(0,i.default)(s.h).attrs({size:"4",format:"soft"}).withConfig({componentId:"vwx18m-6"})(["padding:"," "," ",";"],(0,n.rem)(24),(0,n.rem)(36),(0,n.rem)(10)),y=i.default.div.withConfig({componentId:"vwx18m-7"})(["display:flex;align-items:center;margin-bottom:",";"],(0,n.rem)(10)),j=i.default.a.withConfig({componentId:"vwx18m-8"})(["font-size:",";line-height:",";color:",";font-weight:500;margin-left:",";text-decoration:none;"],(0,n.rem)(14),(0,n.rem)(20),(0,o.iN)(500),(0,n.rem)(10)),x=i.default.div.withConfig({componentId:"vwx18m-9"})(["margin:"," 0 "," 0;min-height:",";"," ",""],(0,n.rem)(10),(0,n.rem)(15),(0,n.rem)(80),u.B.xs` transform: scale(0.68); transform-origin: 0 0; `,u.B.xmd` transform: none; `),v=(0,i.default)(l.r).withConfig({componentId:"vwx18m-10"})(["font-size:",";margin-bottom:",";"],(0,n.rem)(14),(0,n.rem)(10)),w=(0,i.default)(c.n).attrs({size:"2",format:"soft"}).withConfig({componentId:"vwx18m-11"})(["position:relative;display:flex;border-radius:",";padding:"," ",";display:block;"],(0,n.rem)(3),(0,n.rem)(10),(0,n.rem)(16)),C=(0,i.default)(w).withConfig({componentId:"vwx18m-12"})(["background-color:",";svg path{fill:",";}"],(0,o.Q6)(50),(0,o.Q6)(500)),O=i.default.div.withConfig({componentId:"vwx18m-13"})(["width:",";height:",";display:inline-block;margin-right:",";vertical-align:top;"],(0,n.rem)(20),(0,n.rem)(20),(0,n.rem)(10)),k=i.default.div.withConfig({componentId:"vwx18m-14"})(["position:absolute;cursor:pointer;width:",";display:inline-block;right:",";top:",";svg path{fill:",";}"],(0,n.rem)(12),(0,n.rem)(16),(0,n.rem)(12),(0,o.Q6)(500)),E=i.default.div.withConfig({componentId:"vwx18m-15"})(["border-radius:0 0 "," ",";background-color:",";box-shadow:0 "," "," 0 ",";display:flex;justify-content:flex-end;padding:",";"],(0,n.rem)(3),(0,n.rem)(3),o.ix,(0,n.rem)(-2),(0,n.rem)(4),(0,n.rgba)(o.Sn,.1),(0,n.rem)(16)),I=(0,i.default)(a.z).withConfig({componentId:"vwx18m-16"})(["width:",";",";"],(0,n.rem)(175),u.B.sm` width: ${(0,n.rem)(200)}; `),P=(0,i.default)(I).withConfig({componentId:"vwx18m-17"})(["margin-left:",";"],(0,n.rem)(10)),S=(0,i.default)(w).withConfig({componentId:"vwx18m-18"})(["background-color:",";padding:",";svg path{fill:",";}"],(0,o.er)(50),(0,n.rem)(20),(0,o.er)(500)),R=i.default.div.withConfig({componentId:"vwx18m-19"})(["display:inline-block;max-width:calc(100% - ",");"],(0,n.rem)(30)),_=i.default.div.withConfig({componentId:"vwx18m-20"})(["position:absolute;top:",";right:",";z-index:1;"],(0,n.rem)(16),(0,n.rem)(16))},306923:function(e,t,r){"use strict";r.d(t,{Z:function(){return b}});var n=r(652983),i=r(853678),o=r(763952),a=r(711212),s=r(506482),l=r(350573),c=r(354641),u=r(634087),d=r(232628),g=r(27256),p=r(662555);let m={BeCoolAndPlayNice:(0,p.Iu)({singular:"Be cool and play nice.",dictionary:{es:{singular:"Act\xfaa amablemente."},"de-DE":{singular:"Sei nett und bleib cool."},"fr-FR":{singular:"Soyez cool et jouez-la fair play."},"ja-JP":{singular:"他のユーザーへの思いやりを忘れずに。"},"ko-KR":{singular:"매너 있고 친절하게 대해주세요."},"pt-BR":{singular:"Seja bacana e jogue limpo."},"zh-CN":{singular:"保持冷静,乐在其中。"}}}),Cancel:(0,p.Iu)({singular:"Cancel",dictionary:{es:{singular:"Cancelar"},"de-DE":{singular:"Abbrechen"},"fr-FR":{singular:"Annuler"},"ja-JP":{singular:"キャンセル"},"ko-KR":{singular:"취소"},"pt-BR":{singular:"Cancelar"},"zh-CN":{singular:"取消"}}}),KeepSearching:(0,p.Iu)({singular:"Keep searching",dictionary:{es:{singular:"Seguir buscando"},"de-DE":{singular:"Suche weiter"},"fr-FR":{singular:"Chercher d'autres offres"},"ja-JP":{singular:"検索を続ける"},"ko-KR":{singular:"계속 찾기"},"pt-BR":{singular:"Continuar pesquisando"},"zh-CN":{singular:"继续搜索"}}}),Message:(0,p.Iu)({singular:"Message",dictionary:{es:{singular:"Mensaje"},"de-DE":{singular:"Nachricht"},"ja-JP":{singular:"メッセージ"},"ko-KR":{singular:"메시지"},"pt-BR":{singular:"Mensagem"},"zh-CN":{singular:"消息"}}}),Send:(0,p.Iu)({singular:"Send",dictionary:{es:{singular:"Enviar"},"de-DE":{singular:"Senden"},"fr-FR":{singular:"Envoyer"},"ja-JP":{singular:"送信"},"ko-KR":{singular:"전송"},"pt-BR":{singular:"Enviar"},"zh-CN":{singular:"发送"}}}),SendAMessage:(0,p.Iu)({singular:"Send a message",dictionary:{es:{singular:"Enviar un mensaje"},"de-DE":{singular:"Eine Nachricht senden"},"fr-FR":{singular:"Envoyer un message"},"ja-JP":{singular:"メッセージを送信"},"ko-KR":{singular:"메시지 보내기"},"pt-BR":{singular:"Enviar uma mensagem"},"zh-CN":{singular:"发送消息"}}}),ThisMessageFailed:(0,p.Iu)({singular:"This message failed to send. Please try again.",dictionary:{es:{singular:"No se pudo enviar el mensaje. Vuelve a intentarlo."},"de-DE":{singular:"Deine Nachricht konnte nicht gesendet werden. Bitte versuche es erneut."},"fr-FR":{singular:"Ce message n'a pas pu \xeatre envoy\xe9. Veuillez r\xe9essayer."},"ja-JP":{singular:"このメッセージの送信に失敗しました。再度お試しください。"},"ko-KR":{singular:"메시지 전송에 실패했습니다. 다시 시도해주세요."},"pt-BR":{singular:"O envio da mensagem falhou. Por favor, tente novamente."},"zh-CN":{singular:"此信息发送失败。请重试。"}}}),ViewMessages:(0,p.Iu)({singular:"View messages",dictionary:{es:{singular:"Ver mensajes"},"de-DE":{singular:"Nachrichten anzeigen"},"fr-FR":{singular:"Voir les messages"},"ja-JP":{singular:"メッセージを見る"},"ko-KR":{singular:"메시지 보기"},"pt-BR":{singular:"Ver mensagens"},"zh-CN":{singular:"查看消息"}}}),YourMessageHasBeenSent:(0,p.Iu)({singular:"Your message has been sent!",dictionary:{es:{singular:"Tu mensaje se ha enviado."},"de-DE":{singular:"Deine Nachricht wurde versandt!"},"fr-FR":{singular:"Votre message a \xe9t\xe9 envoy\xe9\xa0!"},"ja-JP":{singular:"メッセージが送信されました!"},"ko-KR":{singular:"메시지가 전송되었습니다!"},"pt-BR":{singular:"Sua mensagem foi enviada!"},"zh-CN":{singular:"您的消息已发送!"}}})};var f=r(397458);function h({title:e,warning:t,onUserProfileClick:r,onCommunityGuidelinesClick:i,reCaptchaSiteKey:o,userLink:s,userName:p,userPictures:h,setShowSuccessMessage:b,onSendMessage:y,onDismiss:j,shouldDisableCaptcha:x}){let{0:v,1:w}=(0,n.useState)(null),{0:C,1:O}=(0,n.useState)(""),{0:k,1:E}=(0,n.useState)(!1),{0:I,1:P}=(0,n.useState)(()=>x?"skip_captcha_check":""),S=!k&&I&&C.trim();return(0,f.jsxs)(f.Fragment,{children:[(0,f.jsx)(g.Dx,{children:e||m.SendAMessage}),(0,f.jsxs)(g.vs,{children:[t&&(0,f.jsxs)(g.N2,{children:[(0,f.jsx)(g.ht,{children:(0,f.jsx)(d.q,{})}),(0,f.jsx)(g.jB,{children:t})]}),v&&(0,f.jsxs)(g.Yp,{children:[(0,f.jsx)(g.ht,{children:(0,f.jsx)(d.q,{})}),m.ThisMessageFailed,(0,f.jsx)(g.AW,{onClick:()=>w(null),children:(0,f.jsx)(a.n,{})})]}),(0,f.jsxs)(g.W6,{onClick:r,children:[(0,f.jsx)("a",{href:s,children:(0,f.jsx)(c.q,{alt:"User Avatar",src:h.sizes[1].link,srcSet:`${h.sizes[2].link} 2x`,size:"sm"})}),(0,f.jsx)(g.vx,{href:s,children:p})]}),(0,f.jsx)(u.K,{placeholder:m.Message,defaultValue:"",rows:"13",cols:"80",onChange:e=>O(e.target.value||""),autoFocus:!0}),!x&&(0,f.jsx)(g.d9,{children:(0,f.jsx)(l.Z,{sitekey:o,callback:P,expiredCallback:()=>P("")})}),(0,f.jsx)(g.xr,{href:"/help/guidelines#community",variant:"minimal",onClick:i,children:m.BeCoolAndPlayNice})]}),(0,f.jsxs)(g.v0,{children:[(0,f.jsx)(g.dI,{format:"secondary",onClick:()=>j(!1),children:m.Cancel}),(0,f.jsx)(g.GE,{format:"primary",onClick:()=>{E(!0),y(C,I).then(e=>e.ok?(E(!1),b(!0),e.json()):Promise.reject(e)).then(e=>Promise.resolve(e)).catch(e=>{E(!1),w(e)})},disabled:!S,loading:k,children:m.Send})]})]})}function b({reCaptchaSiteKey:e,userLink:t,userName:r,userPictures:l,isShowing:c,onDismiss:u,title:d,onSendMessage:p,onMessageSentSuccess:b,successScreen:y,warning:j,onUserProfileClick:x,onCommunityGuidelinesClick:v,shouldDisableCaptcha:w}){let{0:C,1:O}=(0,n.useState)(!1);(0,n.useEffect)(()=>{c&&O(!1)},[c]);let k=()=>{C?(b&&b(),u(!0)):u(!1)},E=()=>{k(),O(!1)};return(0,f.jsxs)(f.Fragment,{children:[(0,f.jsx)(i.u,{active:c&&!C,onOpen:k,size:"lg",content:(0,f.jsxs)(g.Wr,{children:[(0,f.jsx)(g.bv,{children:(0,f.jsx)(o.z,{icon:(0,f.jsx)(a.n,{}),variant:"minimalTransparent",format:"alternative",onClick:k})}),(0,f.jsx)(h,{shouldDisableCaptcha:w,reCaptchaSiteKey:e,onDismiss:u,onSendMessage:p,setShowSuccessMessage:e=>O(e),userLink:t,userName:r,userPictures:l,onCommunityGuidelinesClick:v,onUserProfileClick:x,title:d,warning:j})]})}),(0,f.jsx)(i.u,{active:c&&C,onOpen:E,size:"lg",content:(0,f.jsxs)(g.Wr,{children:[(0,f.jsx)(g.bv,{children:(0,f.jsx)(o.z,{icon:(0,f.jsx)(a.n,{}),variant:"minimalTransparent",format:"alternative",onClick:E})}),y||(0,f.jsxs)(g.VY,{children:[(0,f.jsx)(g.Ts,{children:(0,f.jsx)(g.a1,{children:(0,f.jsx)(s.c,{width:"162",height:"57"})})}),(0,f.jsx)(g.r4,{children:m.YourMessageHasBeenSent})]})]})})]})}},523666:function(e,t,r){"use strict";r.d(t,{Z:function(){return k}});var n=r(652983),i=r(905023),o=r(546215),a=r(895808),s=r(173898),l=r(223141),c=r(848812),u=r(662555),d=r(80135),g=r(256913),p=r(16871),m=r(283018),f=r(692368),h=r(921023),b=r(316562),y=r(73901),j=r(397458);let x=s.default.footer.withConfig({componentId:"sc-1qfpaer-0"})(["display:flex;flex-direction:column;background:",";@media (min-width:","){display:none;}"],(0,d.ae)(800),(0,c.h)(1e3)),v=(0,s.default)(f.Z).withConfig({componentId:"sc-1qfpaer-1"})(["width:",";"],(0,c.h)(120)),w=s.default.div.withConfig({componentId:"sc-1qfpaer-2"})(["margin:0 ",";padding:"," 0;p{color:",";}"],(0,c.h)(24),(0,c.h)(12),d.ix),C=(0,s.default)(g.n).attrs({size:"1"}).withConfig({componentId:"sc-1qfpaer-3"})(["color:",";margin:0;"],(0,d.ae)(800));var O=function({absoluteUrl:e=!1,languageSelect:t,isDoNotSellReady:r}){let i=(0,n.useContext)(p.Z),o=i?.isSimplifiedSite,a=i?.impressumQualifies,s=i?.terminateContractQualifies,c=y.Cz(!!s);return(0,j.jsxs)(x,{children:[(0,j.jsx)(w,{children:(0,j.jsx)("a",{href:"/","aria-label":(0,u.Iu)({singular:"Vimeo logo. Click on this link to navigate to the homepage.",dictionary:{es:{singular:"Logo de Vimeo. Haz clic en este enlace para navegar a la p\xe1gina de inicio."},"de-DE":{singular:"Vimeo-Logo. Klicke auf diesen Link, um zur Startseite zu gelangen."},"fr-FR":{singular:"Logo Vimeo. Cliquez sur le lien pour acc\xe9der \xe0 la page d'accueil."},"ja-JP":{singular:"Vimeoロゴホームページに移動するには、このリンクをクリック。"},"ko-KR":{singular:"Vimeo 로고 이 링크를 클릭하면 홈페이지로 이동합니다."},"pt-BR":{singular:"Logo do Vimeo. Clique neste link para navegar at\xe9 a p\xe1gina inicial."},"zh-CN":{singular:"Vimeo 徽标点击此链接导航至首页。"}}}),children:(0,j.jsx)(v,{color:d.ix})})}),c.map((t,r)=>(0,j.jsx)(m.Z,{location:"footer",title:t.header,items:t.links.map((t,r)=>t&&(0,j.jsx)(y.rU,{href:e?y.WN(t.href):t.href,onClick:()=>{t.fa&&l.FatalAttraction.trackClick(t.fa)},children:t.label},`${t}-mobile-${r}`))},`mobile-footer-links-${t.header}-${r}`)),(0,j.jsx)(m.Z,{location:"footer",title:(0,u.Iu)({singular:"Legal",dictionary:{"de-DE":{singular:"Rechtliches"},"fr-FR":{singular:"Juridique"},"ja-JP":{singular:"法務"},"ko-KR":{singular:"법적 고지 사항"},"pt-BR":{singular:"Jur\xeddico"},"zh-CN":{singular:"法务"}}}),items:(()=>{let t=y.cF().filter(e=>(!!a||"Impressum"!==e.title)&&(!o||e.forSimplifiedSite===o)).map((t,r)=>(0,j.jsx)(y.rU,{title:t.title,href:e?y.WN(t.href):t.href,children:t.title},`${t}-mobile-${r}`));return t.splice(2,0,(0,j.jsx)(b.Z,{footerType:"standardMobile",isDoNotSellReady:r})),t})()}),(0,j.jsxs)(w,{children:[(0,j.jsx)(C,{children:(0,u.Iu)({singular:"Language",dictionary:{es:{singular:"Idioma"},"de-DE":{singular:"Sprache"},"fr-FR":{singular:"Langue"},"ja-JP":{singular:"言語"},"ko-KR":{singular:"언어"},"pt-BR":{singular:"Idioma"},"zh-CN":{singular:"语言"}}})}),t]}),(0,j.jsx)(w,{children:(0,j.jsx)(h.w,{})})]})},k=function({absoluteUrl:e=!1,locale:t,locales:r=[],localeLabels:s=[],xsrft:l,impressumQualifies:c}){let{0:u,1:d}=(0,n.useState)(!1),g=r&&r.length&&(0,j.jsx)(i.P,{id:"language-select",size:"sm",defaultValue:t,onChange:e=>{let{value:t}=e.target;(0,o.m)({locale:t,token:l}).then(({ok:e})=>e&&window.location.reload())},children:r.map((e,t)=>(0,j.jsx)(i.P.Option,{value:e,children:s[t]},`${e}-footer-${t}`))});return(0,n.useEffect)(()=>{window.onload=()=>d(!0)},[]),(0,j.jsxs)(j.Fragment,{children:[(0,j.jsx)(O,{absoluteUrl:e,languageSelect:g,isDoNotSellReady:u}),(0,j.jsx)(a.Z,{absoluteUrl:e,languageSelect:g,impressumQualifies:c,isDoNotSellReady:u})]})}},23117:function(e,t,r){"use strict";r.d(t,{Hf:function(){return j},XW:function(){return x}});var n=r(351899),i=r.n(n),o=r(643819),a=r.n(o),s=r(524777),l=r(652983),c=r(173898),u=r(662555),d=r(16871),g=r(362305),p=r(637004),m=r(106830),f=r(876977),h=r(397458);let b=a()(async()=>await Promise.all([r.e(92818),r.e(87672),r.e(50641)]).then(r.bind(r,150641)),{loadableGenerated:{webpack:()=>[150641]}}),y=c.default.div.withConfig({componentId:"sc-1hjz4t0-0"})(["display:flex;flex-direction:column;margin:0 ",";@media screen and (max-width:","){margin:0;}"],(0,s.rem)(32),(0,s.rem)(479));function j({onSuccess:e,shouldOptIntoMarketing:t,type:r,xsrft:n,switchType:o,faContainer:a,redirectUrl:s,name:c,email:b,redirectUrlAfterSocialLogin:j="",target:x,showFBCreativeConnectJoinModal:v}){let{0:w,1:C}=(0,l.useState)(m.q9),{0:O,1:k}=(0,l.useState)(b),{0:E,1:I}=(0,l.useState)(w.SSO),P=(0,l.useContext)(d.Z);(0,l.useEffect)(()=>{P&&(0,f._S)(a,P,v,r)},[]);let S=e=>{k(""),I(e)},R=e=>(k(e),(0,m.Wt)(e,C));return(0,h.jsx)(y,{children:w.SSO||E?(0,h.jsx)(p.Z,{email:O,isSSO:w.SSO,onEmailChange:i()(R,500),handleSSOLogin:()=>(0,m.Yy)(w.connection,w.prevPage||s,w?.customDomain),checkInProgress:w.checkInProgress,onSSOFlowChoice:S,firstTimeSSOLogin:w.firstTimeSSOLogin,switchType:o}):"login"===r?(0,h.jsx)(g.U0,{xsrft:n,switchType:o,onSuccess:e,fa:a?{container:a,thirdPartyIntegration:v?"Facebook":"none"}:void 0,email:O,onEmailChange:i()(R,500),redirectUrl:s,redirectUrlAfterSocialLogin:j,target:x,onSSOFlowChoice:S,showEnterpriseOptInConsent:w.showEnterpriseOptInConsent,isF2PVariant:!1}):v&&-1!==window.location.pathname.indexOf("/create")?(0,h.jsx)(g.Ry,{onSuccess:e,switchType:o,xsrft:n,shouldOptIntoMarketing:t,redirectUrl:s,target:x}):(0,h.jsx)(g.yN,{onSuccess:e,shouldOptIntoMarketing:t,switchType:o,xsrft:n,fa:a?{container:a,thirdPartyIntegration:v?"Facebook":"none"}:void 0,name:c,email:O,onEmailChange:i()(R,500),redirectUrl:s,redirectUrlAfterSocialLogin:j,onSSOFlowChoice:S,placeholder:{name:(0,u.Iu)({singular:"First and last name",dictionary:{es:{singular:"Nombre y apellido"},"de-DE":{singular:"Vor- und Nachname"},"fr-FR":{singular:"Nom et pr\xe9nom"},"ja-JP":{singular:"お名前"},"ko-KR":{singular:"성과 이름"},"pt-BR":{singular:"Nome e sobrenome"},"zh-CN":{singular:"名字和姓氏"}}}),email:(0,u.Iu)({singular:"Email address",dictionary:{es:{singular:"Correo electr\xf3nico"},"de-DE":{singular:"E-Mail-Adresse"},"fr-FR":{singular:"Adresse e-mail"},"ja-JP":{singular:"メールアドレス"},"ko-KR":{singular:"이메일 주소"},"pt-BR":{singular:"Endere\xe7o de e-mail"},"zh-CN":{singular:"电子邮件地址"}}}),password:(0,u.Iu)({singular:"Password",dictionary:{es:{singular:"Contrase\xf1a"},"de-DE":{singular:"Kennwort"},"fr-FR":{singular:"Mot de passe "},"ja-JP":{singular:"パスワード"},"ko-KR":{singular:"비밀번호"},"pt-BR":{singular:"Senha"},"zh-CN":{singular:"密码"}}})}})})}function x({children:e,onSuccess:t,type:r,isShowing:n,disableDismiss:i,onDismiss:o,redirectUrlAfterSocialLogin:a,showFBCreativeConnectJoinModal:s,redirectUrl:c,target:u,updateInitialType:d}){let{0:g,1:p}=(0,l.useState)(!!n),{0:m,1:f}=(0,l.useState)(r);(0,l.useEffect)(()=>{f(r)},[r]),(0,l.useEffect)(()=>{p(!!n)},[n]);let y=()=>{p(e=>!e)};return(0,h.jsxs)(h.Fragment,{children:[e?e(y):null,(0,h.jsx)(b,{type:m,active:g,disableDismiss:i,redirectUrlAfterSocialLogin:a,redirectUrlFbForm:c,showFBCreativeConnectJoinModal:s,target:u,redirectUrl:c,onDismiss:()=>{y(),o&&o(),f(r)},onSuccess:e=>{y(),t&&t(e)},updateType:e=>{d&&d(e),f(e)}})]})}(0,c.default)(x).withConfig({componentId:"sc-1hjz4t0-1"})(["#joinModal,#loginModal{span{margin-left:0;}}"])},637004:function(e,t,r){"use strict";r.d(t,{Z:function(){return S}});var n=r(524777),i=r(652983),o=r(173898),a=r(65557),s=r(662555),l=r(80135),c=r(763952),u=r(684702),d=r(840243),g=r(861092),p=r(208229),m=r(256913),f=r(61186),h=r(359462),b=r(397458);let y=(0,s.Iu)({singular:"SSO is not enabled for this domain. Interested in additional security for your team? {A}Contact us.{/A}",replacements:{A:e=>(0,b.jsx)("a",{href:"https://vimeo.com/enterprise/contact-us?mkc=ent_sso_privacy",target:"_blank",rel:"noreferrer",children:e})},dictionary:{es:{singular:"El SSO no est\xe1 habilitado para este dominio. \xbfTe gustar\xeda contar con uno para tu equipo? {A}Ponte en contacto con nosotros.{/A}"},"de-DE":{singular:"SSO ist f\xfcr diese Domain nicht aktiviert. Du willst mehr Sicherheit f\xfcr dein Team? {A}Kontaktiere uns.{/A}"},"fr-FR":{singular:"L'authentification unique n'est pas activ\xe9e pour ce domaine. Une s\xe9curit\xe9 suppl\xe9mentaire pour votre \xe9quipe vous int\xe9resse\xa0? {A}Contactez-nous.{/A}"},"ja-JP":{singular:"このドメインにはSSOが有効になっていません。チーム用のセキュリティを追加されたい場合は、{A}ご連絡ください。{/A}"},"ko-KR":{singular:"이 도메인에는 SSO가 활성화되어 있지 않습니다. 팀을 위한 추가 보안을 원하시나요? {A}Vimeo에 문의{/A}주세요."},"pt-BR":{singular:"O SSO n\xe3o est\xe1 habilitado para este dom\xednio. Gostaria de ter seguran\xe7a adicional para sua equipe? {A}Entre em contato conosco.{/A}"},"zh-CN":{singular:"此域名未启用单点登录 (SSO)。想为您的团队提供额外的安全保障吗?请{A}联系我们。{/A}"}}}),j=o.default.div.withConfig({componentId:"sc-19kyhx7-0"})(["margin-top:",";display:flex;justify-content:center;svg{width:",";height ",";margin:"," ",";}"],(0,n.rem)(12),(0,n.rem)(12),(0,n.rem)(12),(0,n.rem)(2),(0,n.rem)(4)),x=(0,o.default)(c.z).withConfig({componentId:"sc-19kyhx7-1"})(["width:100%;"]),v=(0,o.default)(p.h).withConfig({componentId:"sc-19kyhx7-2"})(["text-align:center;font-weight:normal;padding-top:",";a{color:"," !important;}"],(0,n.rem)(16),(0,l.ae)(800)),w=(0,o.default)(d._).withConfig({componentId:"sc-19kyhx7-3"})(["color:#00adef;width:",";height:",";margin:"," "," "," ",";*{fill:currentColor;}"],(0,n.rem)(40),(0,n.rem)(40),(0,n.rem)(4.8),(0,n.rem)(9.6),(0,n.rem)(4.8),(0,n.rem)(4.8)),C=o.default.div.withConfig({componentId:"sc-19kyhx7-4"})(["background:",";justify-content:center;padding:"," "," "," ",";align-items:center;flex-direction:row;border-radius:",";display:flex;margin:"," 0;.sso-enterprise-upsell-text-container{text-align:left;line-height:",";}a{color:",";text-decoration:underline;}"],(0,l.iN)(68),(0,n.rem)(10),(0,n.rem)(16),(0,n.rem)(10),(0,n.rem)(10),(0,n.rem)(3),(0,n.rem)(20),(0,n.rem)(20),(0,l.iN)(600)),O=o.default.div.withConfig({componentId:"sc-19kyhx7-5"})(["color:"," !important;display:flex;justify-content:center;align-items:center;background:rgba(0,173,239,0.15);border-radius:",";padding:",";margin-bottom:",";font-size:",";line-height:",";letter-spacing:",";"],(0,l.ae)(800),(0,n.rem)(3),(0,n.rem)(8),(0,n.rem)(14),(0,n.rem)(13),(0,n.rem)(22),(0,n.rem)(0)),k=(0,o.default)(w).withConfig({componentId:"sc-19kyhx7-6"})(["width:",";margin-right:",";"],(0,n.rem)(40),(0,n.rem)(8)),E=(0,o.default)(u.I).withConfig({componentId:"sc-19kyhx7-7"})(["input{padding:"," ",";}"],(0,n.rem)(16),(0,n.rem)(8)),I=o.default.div.withConfig({componentId:"sc-19kyhx7-8"})(["padding-top:",";margin-top:",";text-align:center;border-top:1px solid #d3d3d3;"],(0,n.rem)(10),(0,n.rem)(30)),P=o.default.section.withConfig({componentId:"sc-19kyhx7-9"})(["padding:"," 0;"],(0,n.rem)(10));function S({email:e,onEmailChange:t,handleSSOLogin:r,disableEmailUpdate:n,checkInProgress:o,onSSOFlowChoice:l,isSSO:c,firstTimeSSOLogin:u,customDomain:d,switchType:p,disclaimer:S,termsAndConditions:R}){n||(n=!1);let _=!c&&!o&&e&&e.length>0;(0,i.useEffect)(()=>{a.BigPictureClient.sendEvent(new a.Event("vimeo.impression",5,{page:"lohp",location:"login_modal",name:"impression_signin_with_sso",feature:"login",type:"general"}))},[]);let D=d?(0,s.Iu)({singular:"Log into custom domain",dictionary:{es:{singular:"Iniciar sesi\xf3n en el dominio personalizado"},"de-DE":{singular:"Bei der benutzerdefinierten Domain anmelden"},"fr-FR":{singular:"Connexion \xe0 un domaine personnalis\xe9"},"ja-JP":{singular:"カスタムドメインにログイン"},"ko-KR":{singular:"커스텀 도메인으로 로그인"},"pt-BR":{singular:"Fa\xe7a login no dom\xednio customizado"},"zh-CN":{singular:"登录到自定义域"}}}):(0,s.Iu)({singular:"Log in with SSO",dictionary:{es:{singular:"Iniciar sesi\xf3n con SSO"},"de-DE":{singular:"Mit SSO einloggen"},"fr-FR":{singular:"Se connecter avec l'authentification unique"},"ja-JP":{singular:"SSOでログイン"},"ko-KR":{singular:"SSO로 로그인"},"pt-BR":{singular:"Fazer login com SSO"},"zh-CN":{singular:"使用 SSO 登录"}}});return o&&(D=(0,s.Iu)({singular:"Checking...",dictionary:{es:{singular:"Comprobando..."},"de-DE":{singular:"\xdcberpr\xfcfung erfolgt\xa0…"},"fr-FR":{singular:"V\xe9rification en cours."},"ja-JP":{singular:"チェックしています..."},"ko-KR":{singular:"확인 중.."},"pt-BR":{singular:"Verificando..."},"zh-CN":{singular:"正在检查..."}}})),(0,b.jsxs)("div",{children:[(0,b.jsx)(E,{defaultValue:e,status:"neutral",onChange:e=>t(e.target.value),disabled:n}),!_&&(0,b.jsxs)(j,{children:[(0,b.jsx)(g.H,{}),(0,b.jsx)(m.n,{size:3,children:(0,s.Iu)({singular:"Single sign-on enabled",dictionary:{es:{singular:"Inicio de sesi\xf3n \xfanico habilitado"},"de-DE":{singular:"Single-Sign-on aktiviert"},"fr-FR":{singular:"Authentification unique activ\xe9e"},"ja-JP":{singular:"シングルサインオンが有効"},"ko-KR":{singular:"싱글 사인온 활성화됨"},"pt-BR":{singular:"Autentica\xe7\xe3o \xfanica ativada."},"zh-CN":{singular:"已启用单点登录"}}})})]}),u&&(0,b.jsxs)(O,{children:[(0,b.jsx)(k,{}),(0,b.jsx)(f.x,{children:(0,s.Iu)({singular:"Your organization now requires you to log in through single-sign-on (SSO).",dictionary:{es:{singular:"Tu organizaci\xf3n ahora exige que inicies sesi\xf3n a trav\xe9s del inicio de sesi\xf3n \xfanico (SSO)."},"de-DE":{singular:"Deine Organisation verlangt nun, dass du dich \xfcber Single Sign-on (SSO) einloggst."},"fr-FR":{singular:"Votre organisation exige d\xe9sormais que vous vous connectiez au moyen d'une authentification unique (SSO)."},"ja-JP":{singular:"お客様の組織では、シングルサインオン(SSO)によるログインが必要になりました。"},"ko-KR":{singular:"이제 조직에서 싱글 사인온(SSO)을 통해 로그인해야 합니다."},"pt-BR":{singular:"Sua organiza\xe7\xe3o agora exige que voc\xea fa\xe7a login por meio de autentica\xe7\xe3o \xfanica (SSO)."},"zh-CN":{singular:"您的组织现在要求您使用单点登录 (SSO) 进行登录。"}}})})]}),_&&(0,b.jsxs)(C,{children:[(0,b.jsx)("span",{className:"sso-enterprise-upsell-icon-container",children:(0,b.jsx)(w,{})}),(0,b.jsx)("span",{className:"sso-enterprise-upsell-text-container",children:y})]}),R&&(0,b.jsxs)(P,{children:[(0,b.jsx)(m.n,{format:"soft",size:"3",children:R}),S&&(0,b.jsx)(m.n,{size:"3",children:S})]}),(0,b.jsx)(x,{disabled:o||!c,format:"positive",size:"lg",onClick:r,children:D}),n?"":(0,b.jsx)(v,{size:"6",children:(0,b.jsx)(h.r,{onClick:()=>{t(""),l(!1)},format:"soft",children:(0,s.Iu)({singular:"Use a different email address",dictionary:{es:{singular:"Usar otra direcci\xf3n de correo electr\xf3nico"},"de-DE":{singular:"Eine andere E-Mail-Adresse verwenden"},"fr-FR":{singular:"Utiliser une adresse e-mail diff\xe9rente"},"ja-JP":{singular:"違うメールアドレスを使用する"},"ko-KR":{singular:"다른 이메일 주소를 이용하세요"},"pt-BR":{singular:"Use um endere\xe7o de e-mail diferente"},"zh-CN":{singular:"使用其他电子邮件地址"}}})})}),p&&(0,b.jsx)(I,{children:(0,b.jsxs)(m.n,{size:"2",format:"alternative",children:[(0,s.Iu)({singular:"Don't have an account?",dictionary:{es:{singular:"\xbfNo tienes una cuenta?"},"de-DE":{singular:"Du hast noch kein Konto?"},"fr-FR":{singular:"Vous n'avez pas de compte\xa0?"},"ja-JP":{singular:"新規アカウントを作る"},"ko-KR":{singular:"아직 계정이 없으신가요?"},"pt-BR":{singular:"Voc\xea n\xe3o tem uma conta?"},"zh-CN":{singular:"没有账户?"}}}),"\xa0",(0,b.jsx)(h.r,{onClick:e=>{l(!1),t(""),p&&p(e)},element:"span",variant:"minimal",children:(0,s.Iu)({singular:"Join",dictionary:{es:{singular:"Unirse"},"de-DE":{singular:"Registrieren"},"fr-FR":{singular:"S'inscrire"},"ja-JP":{singular:"登録"},"ko-KR":{singular:"가입"},"pt-BR":{singular:"Inscrever-se"},"zh-CN":{singular:"加入"}}})})]})})]})}},106830:function(e,t,r){"use strict";r.d(t,{Wt:function(){return u},Yy:function(){return c},q9:function(){return l}});var n=r(867932),i=r(597138);function o(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function a(e){for(var t=1;t{if(window.frameElement)return document.referrer.indexOf("bypass_sso=true")>=0;let e=new URLSearchParams(window.location.search);return"true"===(e&&decodeURIComponent(e?.get("bypass_sso")||""))},l={SSO:!1,checkInProgress:!1,connection:"",firstTimeSSOLogin:!1,customDomain:"",prevPage:null,showEnterpriseOptInConsent:!1,bypassSSO:s()},c=(e,t,r)=>{let n=(r||"")+"/auth0/connect?connection="+e+"&prev_page="+encodeURIComponent(t&&(0,i.q)(t)?new URL(t,window.location.origin).href:window.location.href);window.location.assign(n)},u=async(e,t)=>{if(!e){t(l);return}try{if(t(a(a({},l),{},{checkInProgress:!0})),/^(([^<>()\[\]\\.,;:\s@"]+(\.[^<>()\[\]\\.,;:\s@"]+)*)|(".+"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}])|(([a-zA-Z\-0-9]+\.)+[a-zA-Z]{2,}))$/.test(e)){let r=await fetch(`/sso_domains/validate/${e}`),n=await r.json();t({SSO:n.is_valid,connection:n.sso_domain.sso_connection,checkInProgress:!1,firstTimeSSOLogin:n.first_time_sso_login,customDomain:n?.custom_domain||"",prevPage:n.prev_page,showEnterpriseOptInConsent:n.show_enterprise_opt_in_consent,bypassSSO:s()})}else t(l)}catch(e){t(l)}}},876977:function(e,t,r){"use strict";r.d(t,{B:function(){return _},Bf:function(){return T},D9:function(){return R},EX:function(){return j},Iq:function(){return O},MM:function(){return z},Ry:function(){return C},Sw:function(){return x},To:function(){return I},Yc:function(){return k},_S:function(){return v},kO:function(){return S},lJ:function(){return A},o4:function(){return P},oV:function(){return D},tA:function(){return N},uy:function(){return E},vD:function(){return F},wz:function(){return w}});var n=r(867932),i=r(223141),o=r(65557),a=r(448235),s=r(902213);function l(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function c(e){for(var t=1;t{t&&i.FatalAttraction.trackClick({container:t.container,component:"login",keyword:JSON.stringify({mode:"password"===e?"email":e,third_party_integration:t?.thirdPartyIntegration||"none"})}),o.BigPictureClient.sendEvent(new o.Event("login_from_login_modal",4,{product:"Vimeo Create",path:window.location.pathname,location:y,method:e,test_layout:null,via:t?.container||null,third_party_integration:t?.thirdPartyIntegration||"none"}))},x=(e,t,r)=>{t&&i.FatalAttraction.trackClick({container:t.container,component:"join",keyword:JSON.stringify({mode:"password"===e?"email":e,third_party_integration:t?.thirdPartyIntegration||"none"})}),o.BigPictureClient.sendEvent(new o.Event("register_from_login_modal",4,{product:"Vimeo Create",path:window.location.pathname,location:y,method:e,test_layout:null,via:t?.container||r||null,third_party_integration:t?.thirdPartyIntegration||"none"}))},v=(e,t,r,n)=>{let i=c({product:"Vimeo Create",path:window.location.pathname,location:y,session_id:t?.xsrft&&parseInt(t.xsrft)||null,platform:window.navigator.platform,user_id:t?.user?.id.toString()||null,user_package_type:JSON.stringify(t?.user?.account)||null,third_party_integration:r?"Facebook":"none",clients_session_start_ts:null,is_guest:t?!t.user:null,device_id:t?.vuid||null,lang:t?.locale||null,via:e||null,test_layout:null,join_or_login:n||null,referrer:y},b);o.BigPictureClient.sendEvent(new o.Event("vimeo.view_signup_login_screen",2,c({},i)))},w=(e,t,r,n,i)=>{let a=c({product:"Vimeo Create",path:window.location.pathname,location:i||"",session_id:t?.xsrft&&parseInt(t?.xsrft)||null,platform:window.navigator.platform,user_id:t?.user?.id.toString()||null,user_package_type:JSON.stringify(t?.user?.account)||null,third_party_integration:r?"Facebook":"none",device_id:t?.vuid||null,clients_session_start_ts:null,is_guest:t?!t.user:null,lang:t?.locale||null,via:e||null,test_layout:null,join_or_login:n||null},b);o.BigPictureClient.sendEvent(new o.Event("vimeo.click_to_close_signup_login_screen",1,c({},a)))},C=(e,t)=>{let r=c({product:"Vimeo Create",path:window.location.pathname,location:y,session_id:e?.xsrft&&parseInt(e?.xsrft)||null,platform:window.navigator.platform,user_id:JSON.stringify(e?.user?.id)||null,user_package_type:JSON.stringify(e?.user?.account)||null,third_party_integration:t?"Facebook":"none",device_id:e?.vuid||null,clients_session_start_ts:null,is_guest:e?!e.user:null,lang:e?.locale||null},b);o.BigPictureClient.sendEvent(new o.Event("vimeo.view_pricing_page",2,c({},r)))},O=e=>{o.BigPictureClient.sendEvent(new o.Event("vimeo.click_on_google_one_tap",1,{product:"Vimeo Create",path:window.location.pathname,location:y,session_id:e?.xsrft&&parseInt(e.xsrft)||null,client_timestamp:Date.now().toString(),platform:window.navigator.platform,user_id:JSON.stringify(e?.user?.id)||null,user_package_type:JSON.stringify(e?.user?.account)||null,third_party_integration:"none",vsid:null,via:y}))};function k(e){let t=(0,a.ye)(),r=(0,a.P5)(t);return{interface_version:e?"reg_flow_3_0":"reg_flow_2_0",interface_type:"modal",page:r===t?"other":r,path:t,referrer:document.referrer,referrer_path:document.referrer?document.referrer.replace(/^.*\/\/[^\/]+/,""):null,device_type:(0,s.Z)(),third_party_integration:null}}let E=e=>{o.BigPictureClient.sendEvent(new o.Event(h,11,c({event_name:"join_modal_impression",auth_type:u,action_type:p,is_final_action:!1,location:e?`${m}_step_1`:m,copy:null,target:null,target_path:null,feature:"join"},k(e))))},I=e=>{o.BigPictureClient.sendEvent(new o.Event(h,11,c({event_name:"join_or_log_in",auth_type:u,action_type:g,is_final_action:!1,location:m,copy:e?"already_have_an_account?_log_in":"create_and_share_videos_in_seconds._join_or_log_in",target:f,target_path:null,feature:"join"},k(e))))},P=(e,t)=>{o.BigPictureClient.sendEvent(new o.Event(h,11,c({event_name:e?"check_marketing_optin":"uncheck_marketing_optin",auth_type:u,action_type:"select",is_final_action:!1,location:t?`${m}_step_2`:m,copy:"i_agree_to_receive_newsletters,_product_updates_and_exclusive_offers_from_vimeo.",target:null,target_path:null,feature:"join"},k(t))))},S=(e,t)=>{o.BigPictureClient.sendEvent(new o.Event(h,11,c({event_name:"join_with_email",auth_type:u,action_type:g,is_final_action:!0,location:e?`${m}_step_2`:m,copy:"join_with_email",target:"email_auth_join",target_path:t||null,feature:"join"},k(e))))},R=()=>{o.BigPictureClient.sendEvent(new o.Event(h,11,c({event_name:"join_with_email",auth_type:u,action_type:g,is_final_action:!1,location:`${m}_step_1`,copy:"continue_with_email",target:"email_auth_join",target_path:null,feature:"join"},k(!0))))},_=(e,t)=>{o.BigPictureClient.sendEvent(new o.Event(h,11,c({event_name:"join_with_google",auth_type:u,action_type:g,is_final_action:!0,location:e?`${m}_step_1`:m,copy:"join_with_google",target:"google_auth_join",target_path:t||null,feature:"join"},k(e))))},D=e=>{o.BigPictureClient.sendEvent(new o.Event(h,11,c({event_name:"login_modal_impression",auth_type:d,action_type:p,is_final_action:!1,location:f,copy:null,target:null,target_path:null,feature:"login"},k(e))))},T=e=>{o.BigPictureClient.sendEvent(new o.Event(h,11,c({event_name:"join_or_log_in",auth_type:d,action_type:g,is_final_action:!1,location:f,copy:"don’t_have_an_account?_join_vimeo",target:m,target_path:null,feature:"login"},k(e))))},z=(e,t)=>{o.BigPictureClient.sendEvent(new o.Event(h,11,c({event_name:"forgot_your_password",auth_type:d,action_type:g,is_final_action:!1,location:f,copy:"forgot_your_password?",target:"forgot_password",target_path:t||null,feature:"login"},k(e))))},A=(e,t)=>{o.BigPictureClient.sendEvent(new o.Event(h,11,c({event_name:"login_with_email",auth_type:d,action_type:g,is_final_action:!0,location:f,copy:"log_in_with_an_email",target:"email_auth_login",target_path:t||null,feature:"login"},k(e))))},N=(e,t,r)=>{o.BigPictureClient.sendEvent(new o.Event(h,11,c(c({auth_type:d,action_type:g,is_final_action:!0,location:f,target_path:r||null,feature:"login"},"google"===e?{event_name:"login_with_google",copy:"log_in_with_google",target:"google_auth_login"}:"facebook"===e?{event_name:"login_with_facebook",copy:"log_in_with_facebook",target:"facebook_auth"}:{event_name:"login_with_apple",copy:"log_in_with_apple",target:"apple_auth"}),k(t))))},F=()=>{o.BigPictureClient.sendEvent(new o.Event(h,11,c({event_name:"previous_step",auth_type:u,action_type:"click",is_final_action:!1,location:`${m}_step_2`,copy:"go_back",target:null,target_path:null,feature:"reg_flow"},k(!0))))}},310570:function(e,t,r){"use strict";r.d(t,{H:function(){return a}});var n=r(114978),i=r.n(n),o=r(652983);function a(e=[],t){let{0:r,1:n}=(0,o.useState)(null),a=(0,o.useRef)(null),s=(0,o.useCallback)(e=>{null!==e&&(a.current=e,n(e.getBoundingClientRect()))},t||[]);return(0,o.useEffect)(()=>{if(null===e)return;let t=i()(function(){n(t=>{if(a.current){let r=a.current.getBoundingClientRect();return null!==e&&(0===e.length?t!==r:null===t?r:e.some(e=>t[e]!==r[e]))?r:t}return t})},50);return window.addEventListener("resize",t),window.addEventListener("scroll",t),()=>{window.removeEventListener("resize",t),window.removeEventListener("scroll",t)}},[]),[r,s]}},889761:function(e,t,r){"use strict";r.d(t,{Z:function(){return c}});var n=r(652983),i=r(128117),o=r(867932),a=r(83431),s=r(939293);class l{constructor(e){(0,o.Z)(this,"googleAutoComplete",void 0),this.googleAutoComplete=e}loadAllLocations(e,t=["geocode"]){return new Promise((r,n)=>{if(e&&this.googleAutoComplete){let n={types:t,input:e,sessionToken:s.Z.token};this.googleAutoComplete.getPlacePredictions(n,(e,t)=>{r(this.loadLocationsCallback(e,t))})}else n(this.googleAutoComplete?"Query text is needed for getting location details":"Autocomplete Service is missing in constructor or is not set properly in context")})}loadLocationsCallback(e,t){let r=[];return t===a.$.OK&&(r=(e||[]).filter(e=>e.types.includes("locality")||e.types.includes("neighborhood")||e.types.includes("sublocality_level_1"))),r}}function c(e){let{googleAutoComplete:t}=(0,n.useContext)(i.m),{0:r,1:o}=(0,n.useState)([]),a=e=>{o((e||[]).map(e=>({placeId:e.place_id,formattedAddress:e.description})))};return(0,n.useEffect)(()=>{t&&new l(t).loadAllLocations(e).then(a).catch(()=>o([]))},[e,t]),r}},418923:function(e,t,r){"use strict";var n=r(652983);t.Z=function(e,t,r,i=[]){(0,n.useEffect)(()=>{if(!e)return;let n=r?.current||document,i=r=>{(Array.isArray(e)?e:[e]).some(({current:e})=>r.target instanceof Element&&!!e?.contains(r.target))||t(r)};return n.addEventListener("mousedown",i),n.addEventListener("touchstart",i),()=>{n.removeEventListener("mousedown",i),n.removeEventListener("touchstart",i)}},i)}},194067:function(e,t,r){"use strict";r.d(t,{E:function(){return a},Z:function(){return s}});var n=r(652983),i=r(419650),o=r(397458);let a=n.createContext({PlayerConstructor:void 0,playerType:i.G.BarebonePlayer});function s({type:e,assetUrls:t,children:r}){let{0:s,1:l}=(0,n.useState)(()=>({PlayerConstructor:window[i.G[0]],playerType:e}));return(0,n.useEffect)(()=>{let r=new i.L(e,t);return r.load().then(()=>{l({PlayerConstructor:window[i.G[e]],playerType:e})}),()=>{r&&r.cleanup()}},[t,e]),(0,o.jsx)(a.Provider,{value:s,children:r})}},419650:function(e,t,r){"use strict";r.d(t,{G:function(){return o},L:function(){return a}});var n,i=r(867932);let o=((n={})[n.BarebonePlayer=0]="BarebonePlayer",n[n.VimeoPlayer=1]="VimeoPlayer",n);class a{constructor(e,t){(0,i.Z)(this,"asset",{js:"",css:""}),(0,i.Z)(this,"isJSAdded",!1),(0,i.Z)(this,"isCSSAdded",!1),(0,i.Z)(this,"type",void 0),(0,i.Z)(this,"assetUrls",void 0),(0,i.Z)(this,"load",()=>{this.asset=this.getAssets();let e=[];return this.checkIfJsExists||e.push(this.addJs()),this.checkIfCSSExists||e.push(this.addCss()),Promise.all(e.length?e:[Promise.resolve()])}),(0,i.Z)(this,"cleanup",()=>{this.isJSAdded&&(this.removeJs(),this.isJSAdded=!1),this.isCSSAdded&&(this.removeCss(),this.isCSSAdded=!1)}),(0,i.Z)(this,"getAssets",()=>{switch(this.type){case o.VimeoPlayer:return{js:this.assetUrls.js,css:this.assetUrls.css};case o.BarebonePlayer:return{js:this.assetUrls.barebone_js,css:this.assetUrls.css};default:throw TypeError("Invalid PlayerType, must be either .BarebonePlayer or .ChromelessPlayer or .VimeoPlayer!")}}),(0,i.Z)(this,"addJs",()=>{let e=document.createElement("script");e.src=this.asset.js,document.body.appendChild(e);let t=this.generatePromise(e);return t.then(()=>this.isJSAdded=!0),t}),(0,i.Z)(this,"addCss",()=>{let e=document.createElement("link");e.rel="stylesheet",e.type="text/css",e.media="screen",e.href=this.asset.css,document.getElementsByTagName("head")[0].appendChild(e);let t=this.generatePromise(e);return t.then(()=>this.isCSSAdded=!0),t}),(0,i.Z)(this,"removeJs",()=>{let e=document.querySelector(`script[src="${this.asset.js}"]`);e&&e.parentNode&&e.parentNode.removeChild(e)}),(0,i.Z)(this,"removeCss",()=>{let e=document.querySelector(`link[href="${this.asset.css}"]`);e&&e.parentNode&&e.parentNode.removeChild(e)}),(0,i.Z)(this,"generatePromise",e=>new Promise((t,r)=>{e.onload=t,e.onabort=r,e.onerror=r})),this.type=e,this.assetUrls=t}get checkIfJsExists(){return null==this.asset.js}get checkIfCSSExists(){return null==this.asset.css}}},510067:function(e,t,r){"use strict";r.d(t,{Z:function(){return a}});var n=r(652983),i=r(194067),o=r(419650);function a(e,t,r,a,s=!0,l="540p",c=1,u=""){let{PlayerConstructor:d,playerType:g}=(0,n.useContext)(i.E),{0:p,1:m}=(0,n.useState)(!1),{0:f,1:h}=(0,n.useState)(null),b=(0,n.useRef)(null),{1:y}=(0,n.useReducer)(e=>e+1,0),j=(0,n.useCallback)(()=>{if(m(!0),g===o.G.BarebonePlayer)new d(e.current,a).then(e=>{e.loop=s,e.quality=l,e.volume=c,h(e),b.current=e,m(!1)}).catch(()=>m(!1));else{let t=new d(e.current,a,!0,{});h(t),b.current=t}m(!1)},[d,e,a,g,s,l,c]),x=(0,n.useCallback)(()=>{b.current&&(b.current.unload?.(),h(null),b.current=null)},[]),v=()=>{b.current&&(b.current.destroy?.(),h(null),b.current=null)},w=(0,n.useCallback)(()=>{x(),y()},[x]);return(0,n.useEffect)(function(){(!b.current||b.current?.videoId!==Number(t))&&d&&r&&e.current&&t&&a&&!p&&(e.current.innerHTML="",j())},[d,f?.videoId,p,e,t,a,r,s,l,j]),(0,n.useEffect)(function(){return()=>{v()}},[]),{player:f,flushPlayer:x,forceReload:w}}},261634:function(e,t,r){"use strict";r.d(t,{i:function(){return a}});var n=r(114978),i=r.n(n),o=r(652983);function a(e=500){function t(){return{width:window.innerWidth,height:window.innerHeight}}let{0:r,1:n}=(0,o.useState)(t);return(0,o.useEffect)(()=>{let r=i()(function(){n(t())},e);return window.addEventListener("resize",r),()=>window.removeEventListener("resize",r)},[]),r}},149390:function(e,t,r){"use strict";var n,i,o;r.d(t,{Qm:function(){return a},gZ:function(){return s},tE:function(){return l}});let a=((n={}).Advanced="advanced",n.Basic="basic",n.Business="business",n.Enterprise="enterprise",n.Free="free",n.LiveBusiness="live_business",n.LivePremium="live_premium",n.LivePro="live_pro",n.Plus="plus",n.Pro="pro",n.ProUnlimited="pro_unlimited",n.Standard="standard",n.Starter="starter",n),s=((i={}).Alum="alum",i.Business="business",i.Curation="curation",i.LiveBusiness="live_business",i.LivePremium="live_premium",i.LivePro="live_pro",i.Plus="plus",i.Potus="potus",i.Pro="pro",i.Producer="producer",i.Sponsor="sponsor",i.Staff="staff",i.Support="support",i),l=((o={}).Owner="Owner",o.Admin="Admin",o.Contributor="Contributor",o.ContributorPlus="Contributor Plus",o.Uploader="Uploader",o.Viewer="Viewer",o)},109098:function(e,t,r){(window.__NEXT_P=window.__NEXT_P||[]).push(["/profile/[userId]",function(){return r(452929)}])}},function(e){e.O(0,[33435,11230,11495,48923,63545,54514,63952,8773,48281,36595,75858,23210,52935,86999,10188,56325,36362,30383,44992,14582,67997,84702,18361,48883,97059,49216,65794,52343,89039,39846,69229,3930,67034,40641,46869,25444,62305,75303,49774,92888,40179],function(){return e(e.s=109098)}),_N_E=e.O()}]); //# sourceMappingURL=[userId]-4f9c66838b9c0b7b.js.map