"use strict";(globalThis.webpackChunkpojo_accessibility=globalThis.webpackChunkpojo_accessibility||[]).push([[4889],{66474(e,t,o){o.d(t,{A:()=>x});var s=o(51609),i=o.n(s),r=o(98587),a=o(58168),l=o(34164),c=o(75659),n=o(42150),d=o(2408),u=o(11083),h=o(19537),p=o(38413),y=o(31609);function b(e){return(0,y.Ay)("MuiDialogContentText",e)}(0,p.A)("MuiDialogContentText",["root"]);var A=o(10790);const m=["children","className"],g=(0,n.Ay)(h.A,{shouldForwardProp:e=>(0,d.A)(e)||"classes"===e,name:"MuiDialogContentText",slot:"Root",overridesResolver:(e,t)=>t.root})({}),w=s.forwardRef(function(e,t){const o=(0,u.A)({props:e,name:"MuiDialogContentText"}),{className:s}=o,i=(0,r.A)(o,m),n=(e=>{const{classes:t}=e,o=(0,c.A)({root:["root"]},b,t);return(0,a.A)({},t,o)})(i);return(0,A.jsx)(g,(0,a.A)({component:"p",variant:"body1",color:"text.secondary",ref:t,ownerState:i,className:(0,l.A)(n.root,s)},o,{classes:n}))});var x=i().forwardRef((e,t)=>i().createElement(w,{...e,ref:t}))},93770(e,t,o){o.r(t),o.d(t,{default:()=>A});var s=o(50602),i=o(41226),r=o(47428),a=o(71974),l=o(66474),c=o(40976),n=o(84054),d=o(9626),u=o(70276),h=o(86087),p=o(27723),y=o(42679),b=o(10790);const A=()=>{const{save:e}=(0,d.rX)(),{isGetStartedModalOpen:t,setIsGetStartedModalOpen:o}=(0,d.t0)(),{isConnected:A,closePostConnectModal:m,isUrlMismatch:g,closeOnboardingModal:w,closeGetStartedModal:x}=(0,y.F)();(0,h.useEffect)(()=>{A&&m&&!g&&w&&!x&&!t&&o(!0)},[A,m,g,w,x]);const f=()=>{o(!1),e({ea11y_close_get_started_modal:!0}).catch(e=>{console.error("Failed to save get started modal state:",e)}),u.K.sendEvent(u.m.menuButtonClicked,{buttonName:"Get started with Ally - Modal Closed"}).catch(e=>{console.error("Failed to send mixpanel event:",e)})};return(0,b.jsxs)(i.A,{open:t,onClose:f,"aria-labelledby":"get-started-dialog-title","aria-describedby":"get-started-dialog-description",children:[(0,b.jsx)(c.A,{logo:!1,onClose:f,children:(0,b.jsx)(n.A,{children:(0,p.__)("Accessibility","pojo-accessibility")})}),(0,b.jsxs)(a.A,{dividers:!0,children:[(0,b.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,b.jsx)(l.A,{variant:"h5",color:"text.primary",marginTop:2,children:(0,p.__)("Getting started with Ally","pojo-accessibility")}),(0,b.jsx)(l.A,{variant:"body1",children:(0,p.__)("Watch this quick video to see how Ally helps you find, understand, and fix accessibility issues across your site with ease.","pojo-accessibility")})]}),(0,b.jsx)(r.A,{children:(0,b.jsx)(s.A,{onClick:f,color:"primary",variant:"contained",children:(0,p.__)("Got it","pojo-accessibility")})})]})}}}]);