"use strict";(globalThis.webpackChunkpojo_accessibility=globalThis.webpackChunkpojo_accessibility||[]).push([[4889],{93770(e,t,i){i.r(t),i.d(t,{default:()=>g});var s=i(50602),o=i(77374),a=i(74456),c=i(76656),l=i(13408),r=i(16146),d=i(23136),n=i(9626),b=i(70276),h=i(86087),p=i(27723),u=i(42679),y=i(10790);const g=()=>{const{save:e}=(0,n.rX)(),{isGetStartedModalOpen:t,setIsGetStartedModalOpen:i}=(0,n.t0)(),{isConnected:g,closePostConnectModal:w,isUrlMismatch:j,closeOnboardingModal:m,closeGetStartedModal:_}=(0,u.F)();(0,h.useEffect)(()=>{g&&w&&!j&&m&&!_&&!t&&i(!0)},[g,w,j,m,_]);const x=()=>{i(!1),e({ea11y_close_get_started_modal:!0}).catch(e=>{console.error("Failed to save get started modal state:",e)}),b.K.sendEvent(b.m.menuButtonClicked,{buttonName:"Get started with Web Accessibility - Modal Closed"}).catch(e=>{console.error("Failed to send mixpanel event:",e)})};return(0,y.jsxs)(o.A,{open:t,onClose:x,"aria-labelledby":"get-started-dialog-title","aria-describedby":"get-started-dialog-description",children:[(0,y.jsx)(r.A,{logo:!1,onClose:x,children:(0,y.jsx)(d.A,{children:(0,p.__)("Accessibility","pojo-accessibility")})}),(0,y.jsxs)(c.A,{dividers:!0,children:[(0,y.jsx)("iframe",{width:"550",height:"309",src:"https://www.youtube.com/embed/1D9UfHJD8cE?si=0txuUSHwaXlu22BZ&controls=0",title:"YouTube video player",allow:"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share",referrerPolicy:"strict-origin-when-cross-origin",allowfullscreen:!0}),(0,y.jsx)(l.A,{variant:"h5",color:"text.primary",marginBlockStart:2,children:(0,p.__)("Getting started with Web Accessibility","pojo-accessibility")}),(0,y.jsx)(l.A,{variant:"body1",children:(0,p.__)("Watch this quick video to see how Web Accessibility helps you find, understand, and fix accessibility issues across your site with ease.","pojo-accessibility")})]}),(0,y.jsx)(a.A,{children:(0,y.jsx)(s.A,{onClick:x,color:"primary",variant:"contained",children:(0,p.__)("Got it","pojo-accessibility")})})]})}}}]);