1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[1621],{3487:e=>{e.exports={heroSlide:"HeroSection_heroSlide__vWAio",heroCarousel:"HeroSection_heroCarousel__ZanHX",heroTitle:"HeroSection_heroTitle__Ghb5U",customItalic:"HeroSection_customItalic__v95UE",airoplaneSection:"HeroSection_airoplaneSection__T6Kuo",heroContent:"HeroSection_heroContent__O2JQQ",indicatorsOverlay:"HeroSection_indicatorsOverlay__gzAzY",indicator:"HeroSection_indicator__xJsB5",indicatorsContainer:"HeroSection_indicatorsContainer__26Ipn",defaultIndicatorsContainer:"HeroSection_defaultIndicatorsContainer__VahFx",cpaIndicatorsContainer:"HeroSection_cpaIndicatorsContainer__l3rR8",customIndicators:"HeroSection_customIndicators__gU1Lc",cpaIndicators:"HeroSection_cpaIndicators__FbnOC",active:"HeroSection_active__2ZvOn",indicatorLineDefault:"HeroSection_indicatorLineDefault__w_tEO",responsiveIndicators:"HeroSection_responsiveIndicators__mPAm5",overlay:"HeroSection_overlay__yV0uA",airoplaneWrapper:"HeroSection_airoplaneWrapper__gqWX4",airoplaneImg:"HeroSection_airoplaneImg__SDN9s",noMarginHtml:"HeroSection_noMarginHtml__6PW_w",detailOverlay:"HeroSection_detailOverlay__H1q0H",heroContentDetail:"HeroSection_heroContentDetail__DIQvI",backButton:"HeroSection_backButton__65VBV",backButtonIcon:"HeroSection_backButtonIcon__Tv144",heroSubtitle:"HeroSection_heroSubtitle__FU4tF",tabContainer:"HeroSection_tabContainer__qLhcD",tabItem:"HeroSection_tabItem__Ahb2V",activeTab:"HeroSection_activeTab__Ol3cZ",priceCartContainer:"HeroSection_priceCartContainer__fLHUy",addToCartButton:"HeroSection_addToCartButton__nOLOc",priceText:"HeroSection_priceText__qzHPC",regularPriceText:"HeroSection_regularPriceText__jXm6e",cpaDateText:"HeroSection_cpaDateText__9k1YN",discountBadgeHero:"HeroSection_discountBadgeHero__zwvcv",heroDivider:"HeroSection_heroDivider__CFOGy",heroDividerSvg:"HeroSection_heroDividerSvg___J3Xn"}},19104:(e,n,t)=>{"use strict";t.d(n,{A:()=>r});var a=t(37876),i=t(77328),o=t.n(i);function r(e){let{title:n="Cessna Aviation",description:t="Learn more about Cessna aircraft, aviation training, and flight courses.",image:i="https://cessna-front.sandboxdevenv.com/og-image.jpg",url:r="https://cessna-front.web.app/",keywords:s=["Cessna","Aviation","Flight Training","Aircraft","Pilot School"],type:l="website",author:c="Cessna Aviation Team"}=e;return(0,a.jsxs)(o(),{children:[(0,a.jsx)("title",{children:n}),(0,a.jsx)("meta",{charSet:"UTF-8"}),(0,a.jsx)("meta",{name:"viewport",content:"width=device-width, initial-scale=1.0"}),(0,a.jsx)("meta",{name:"description",content:t}),(0,a.jsx)("meta",{name:"keywords",content:s.join(", ")}),(0,a.jsx)("meta",{name:"author",content:c}),(0,a.jsx)("link",{rel:"canonical",href:r}),(0,a.jsx)("meta",{property:"og:locale",content:"en_US"}),(0,a.jsx)("meta",{property:"og:site_name",content:"Cessna Aviation"}),(0,a.jsx)("meta",{property:"og:type",content:l}),(0,a.jsx)("meta",{property:"og:title",content:n}),(0,a.jsx)("meta",{property:"og:description",content:t}),i&&(0,a.jsx)("meta",{property:"og:image",content:i}),(0,a.jsx)("meta",{property:"og:url",content:r}),(0,a.jsx)("meta",{name:"twitter:card",content:"summary_large_image"}),(0,a.jsx)("meta",{name:"twitter:site",content:"@cessnaorg"}),(0,a.jsx)("meta",{name:"twitter:title",content:n}),(0,a.jsx)("meta",{name:"twitter:description",content:t}),i&&(0,a.jsx)("meta",{name:"twitter:image",content:i}),(0,a.jsx)("meta",{name:"robots",content:"index, follow"}),(0,a.jsx)("meta",{name:"googlebot",content:"index, follow"}),(0,a.jsx)("link",{rel:"icon",href:"/favicon.ico"}),(0,a.jsx)("link",{rel:"apple-touch-icon",href:"/apple-touch-icon.png"}),(0,a.jsx)("link",{rel:"manifest",href:"/manifest.json"}),(0,a.jsx)("meta",{name:"theme-color",content:"#1a5594"}),(0,a.jsx)("meta",{name:"msapplication-TileColor",content:"#1a5594"}),(0,a.jsx)("script",{type:"application/ld+json",dangerouslySetInnerHTML:{__html:JSON.stringify({"@context":"https://schema.org","@type":"article"===l?"Article":"WebSite",name:n,description:t,url:r,image:i,author:{"@type":"Organization",name:"Cessna Aviation",url:"https://cessna-front.web.app/"},publisher:{"@type":"Organization",name:"Cessna Aviation",logo:{"@type":"ImageObject",url:i}}})}})]})}},81621:(e,n,t)=>{"use strict";t.d(n,{A:()=>f});var a=t(37876),i=t(14232),o=t(10841),r=t.n(o),s=t(40876),l=t(43559),c=t(97719),d=t(60929),m=t(41321),p=t(96356),h=t(74748),x=t(3487),g=t.n(x),u=t(72526);let _={src:"/_next/static/media/Airoplane.b6c5c21c.png",height:433,width:1728,blurDataURL:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAgAAAACCAMAAABSSm3fAAAADFBMVEXCFDy1HjiyHTqxHjqT7WLaAAAABHRSTlMII0aQGgDNCwAAAAlwS
1FlzAAALEwAACxMBAJqcGAAAABhJREFUeJwFwQEBAAAIwyDm+3cWVHcVbHgAtAARiV4v4QAAAABJRU5ErkJggg==",blurWidth:8,blurHeight:2};var v=t(17063),A=t(19104);let j=e=>{let{slide:n}=e,t=n.locations&&n.locations.length>0?n.locations.map(e=>e.address).filter(Boolean):n.location?[n.location]:[],o=t.length<=3?t.length:3,[r,s]=(0,i.useState)(o);if((0,i.useEffect)(()=>{s(t.length<=3?t.length:3)},[t.length]),!t.length)return null;let l=t.length-r;return(0,a.jsxs)(a.Fragment,{children:[t.slice(0,r).map((e,n)=>(0,a.jsxs)("div",{className:"d-flex align-items-center gap-2",style:{fontSize:"20px",fontFamily:"Open-Sans"},children:[(0,a.jsx)(h.Scl,{color:"#ffffff",size:20}),(0,a.jsx)("span",{children:e})]},n)),l>0&&(0,a.jsx)("button",{onClick:()=>s(e=>e+1),style:{background:"none",border:"none",color:"#ffffff",fontSize:"14px",cursor:"pointer",padding:"0",textDecoration:"underline",opacity:.85,textAlign:"start"},children:"+ 1 more location"})]})},f=e=>{var n,t;let{slides:o,children:h,backgroundImage:x,showIndicators:f=!1,responsiveIndicators:C=!1,lockCpaSlideHeight:S=!1}=e,[b,Y]=(0,i.useState)(0),y=e=>e?e.split(/\s(?:to|-|â)\s/):[];return h?(0,a.jsx)("div",{className:g().heroWrapper,children:(0,a.jsxs)("div",{className:"".concat(g().heroSlide," d-flex flex-column"),style:{backgroundImage:"url(".concat((null==o?void 0:o.bgImage)||x,")"),backgroundSize:"cover",backgroundPosition:"center",minHeight:"600px"},children:[(0,a.jsx)("div",{className:g().overlay}),(0,a.jsx)(s.A,{className:"flex-grow-1 d-flex flex-column justify-content-center position-relative",style:{zIndex:2},children:h})]})}):(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(A.A,{title:"Home - Cessna Pilots Association",description:"Cessna Pilots Association Leading the industry for over 30 years Join / Renew CPA Forums CPA Forums have been active for over 20 years, withâ¦",url:"https://cessna-front.web.app/",image:"https://flyingmag1.b-cdn.net/wp-content/uploads/sites/2/2012/02/399113-_BP20765-6c1cfd-original-1629145877-scaled-1.jpg?width=1024&height=683",keywords:["Cessna books","aviation literature","flight manuals","Cessna Pilots","In-Person Courses","Books","Online Courses","Magazines"]}),(0,a.jsx)("div",{className:g().heroWrapper,children:(0,a.jsxs)("div",{className:g().heroCarousel,children:[(0,a.jsxs)("div",{className:"position-relative",children:[(0,a.jsx)(l.A,{activeIndex:b,onSelect:e=>Y(e),controls:!1,indicators:!1,interval:5e3,pause:!1,fade:!0,children:Array.isArray(o)&&o.map((e,n)=>(0,a.jsx)(l.A.Item,{children:(0,a.jsxs)("div",{className:"".concat(g().heroSlide," d-flex flex-column"),style:{backgroundImage:"url(".concat((null==e?void 0:e.isCPA)?null==e?void 0:e.image:"".concat("https://api.cessna.org","/").concat(null==e?void 0:e.bgImage),")"),...(null==e?void 0:e.isCPA)&&!(null==e?void 0:e.isDetail)&&S?{height:"95vh",minHeight:"95vh"}:{},cursor:(null==e?void 0:e.link)?"pointer":"default"},onClick:()=>!(null==e?void 0:e.isCPA)&&(null==e?void 0:e.link)&&window.open(null==e?void 0:e.link,"_blank"),children:[(0,a.jsx)("div",{className:(null==e?void 0:e.isCPA)?g().detailOverlay:g().overlay}),(0,a.jsx)(s.A,{className:"flex-grow-1 d-flex ".concat((null==e?void 0:e.isCPA)?"align-items-end":"align-items-center"),children:(0,a.jsxs)("div",{className:"".concat(g().heroContent," ").concat(g().heroTranslate," ").concat((null==e?void 0:e.isDetail)?g().heroContentDetail:""),style:(null==e?void 0:e.isCPA)?{marginBottom:"12vw",paddingBottom:"0"}:{},children:[(0,a.jsx)(c.A,{children:(0,a.jsx)(d.A,{xs:12,md:8,lg:7,children:(null==e?void 0:e.isCPA)?(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)("p",{className:"".concat(g().heroType," text-uppercase mb-3"),style:{letterSpacing:"2px",opacity:.9,fontFamily:"OpenSans-ExtraBold"},children:e.type}),(0,a.jsx)("h1",{className:g().responsiveHeroTitle,style:{fontWeight:"900",marginBottom:e.subTitle?"10px":"20px",lineHeight:1,fontFamily:"raleway-extra-bold"},children:e.title}),e.cover&&(0,a.jsx)("div",{className:g().heroSubtitle,children:e.cover}),e.tabs&&(0,a.jsx)("div",{className:" ".concat(g().tabContainer),children:e.tabs.map(n=>(0,a.jsx)("div",{onClick:()=>e.onTabChange&&e.onTabChange(n),className:"".concat(("Online"==n||"In-Person"==n)&&"text-start"," ").concat(g().tabItem," ").concat(e.activeTab===n?g().activeTab:""),children:n},n))}),e.price&&(0,a.jsxs)("div",{className:g().priceCartContainer,children:[(0,a.jsx)(m.A,{className:g().addToCartButton,onClick:e.onAddToCart,children:e.addToCartLabel||"Add to Cart"}),(0,a.jsx)("div",{className:"d-flex align-items-baseline gap-3",children:e.discount&&Number(e.discount)>0&&e.price&&Number(e.price.toString().replace(/[^0-9.]/g,""))>0?(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)("span",{className:g().regularPriceText,children:e.price.startsWith("$")?e.price:"$".concat(e.price)}),(0,a.jsxs)("span",{className:g().priceText,children:["$",(parseFloat(e.price.toString().replace(/[^0-9.]/g,""))-parseFloat(e.discount.toString().replace(/[^0-9.]/g,""))).toFixed(2)]})]}):(0,a.jsx)("span",{className:g().priceText,children:e.price})})]}),(0,a.jsxs)("div",{className:"d-flex flex-column gap-2 mb-4",children:[(0,a.jsx)(j,{slide:e}),(null==e?void 0:e.date)&&(0,a.jsxs)("div",{className:"d-flex align-items-center gap-2",style:{fontSize:"20px",fontFamily:"Open-Sans"},children:[(0,a.jsx)(p.IdP,{color:"#ffffff",size:20}),(null==e?void 0:e.isCPA)&&y(null==e?void 0:e.date).length>1?(0,a.jsx)("span",{className:g().cpaDateText,children:y(null==e?void 0:e.date).map((e,n,t)=>(0,a.jsxs)("span",{children:[r()(e.trim(),["MMMM D, YYYY","MMM D, YYYY","YYYY-MM-DD","MM/DD/YYYY"]).isValid()?r()(e.trim(),["MMMM D, YYYY","MMM D, YYYY","YYYY-MM-DD","MM/DD/YYYY"]).format("MM/DD/YYYY"):e,n<t.length-1&&" - "]},n))}):(0,a.jsx)("span",{children:(null==e?void 0:e.date)&&r()(e.date.trim(),["MMMM D, YYYY","MMM D, YYYY","YYYY-MM-DD","MM/DD/YYYY"]).isValid()?r()(e.date.trim(),["MMMM D, YYYY","MMM D, YYYY","YYYY-MM-DD","MM/DD/YYYY"]).format("MM/DD/YYYY"):null==e?void 0:e.date})]})]}),!e.isDetail&&(0,a.jsxs)("div",{className:"d-flex flex-wrap gap-3 mb-4",children:[(0,a.jsx)(m.A,{variant:"danger",onClick:e.onLearnMore,style:{backgroundColor:"#b81e4a",border:"none",padding:"10px 30px",borderRadius:"4px",fontFamily:"Open-Sans-Bold"},children:"Learn More"}),(0,a.jsx)(m.A,{variant:"outline-light",onClick:e.onSeeAll,style:{borderRadius:"4px",borderColor:"#B31E3B",borderWidth:"2px",fontFamily:"Open-Sans-Bold"},children:"See All Courses"})]})]}):(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)("p",{className:"raleway ".concat(g().heroTitle),children:"Cessna Pilots Magazine"===e.title?(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)("span",{className:g().customItalic,children:"Cessna Pilots"})," Magazine"]}):e.title}),(0,a.jsx)("p",{className:"fs-6 text-white lh-base Open_Sans mt-4",dangerouslySetInnerHTML:{__html:((null==e?void 0:e.description)||"").replace(/\u2028|\u2029/g,"\n").replace(/\n/g,"<br />")}})]})})}),(0,a.jsxs)("div",{className:"w-100 d-flex flex-column align-items-center align-items-md-end Open_Sans",children:[!(null==e?void 0:e.isCPA)&&!(null==o?void 0:o.length)&&e&&(0,a.jsx)(u.A,{label:"Join / Renew",bgcolor:"#15467B",color:"#FFFFFF",height:"auto",IsPadding:"8px 20px",fontSize:"20px",fontFamily:"Open-Sans",onClick:()=>{window.open(null==e?void 0:e.link,"_blank","_noopener,noreferrer")}}),!(null==e?void 0:e.isCPA)&&(0,a.jsx)("div",{className:"d-none d-md-block ".concat(g().noMarginHtml),dangerouslySetInnerHTML:{__html:null==e?void 0:e.label}})]})]})})]})}
1,n))}),f&&(null==o?void 0:o.length)>1&&(0,a.jsx)("div",{className:g().indicatorsOverlay,children:(0,a.jsx)(s.A,{className:"h-100 d-flex flex-column",children:(0,a.jsx)("div",{className:"".concat(g().indicatorsContainer," ").concat((null==(n=o[b])?void 0:n.isCPA)?g().cpaIndicatorsContainer:g().defaultIndicatorsContainer),children:(0,a.jsx)("div",{className:"".concat(g().customIndicators," d-flex ").concat((null==(t=o[b])?void 0:t.isCPA)?g().cpaIndicators:""," ").concat(C?g().responsiveIndicators:""),children:o.map((e,n)=>(0,a.jsx)("div",{className:"".concat(g().indicatorLineDefault," ").concat(g().indicator," ").concat(n===b?g().active:""),onClick:()=>Y(n)},n))})})})})]}),(null==o?void 0:o.length)>0&&(0,a.jsx)("div",{className:g().airoplaneWrapper,children:(0,a.jsx)(v.A,{src:_,alt:"Airplane",className:g().airoplaneImg})})]})})]})}}}]);
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.