1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[7843],{29370:e=>{"use strict";e.exports=self.fetch.bind(self),e.exports.default=e.exports},39978:e=>{e.exports={PersonalizedGenericText:"PersonalizedGenericText_PersonalizedGenericText__PmUCl"}},47582:e=>{function t(){}e.exports=t,e.exports.HttpsAgent=t},69490:(e,t,n)=>{"use strict";n.d(t,{A:()=>l});var r=n(14232),o=n(95062),a=n.n(o),s=n(87333);let i=({children:e="",tag:t="div",...n})=>{(0,r.useEffect)(()=>{(0,s.Ay)(...[...((e,t)=>{let n,r=[];for(;n=e.exec(t);)r.push(n);return r})(/<auro-([a-z\-]+)/g,e)].map(e=>e[1]))},[e]);let o=(0,r.useMemo)(()=>"string"!=typeof e?null:e.replace(/(["'])[^"'~-]*([~-]\/media)/g,"$1/$2"),[e]);return(0,r.createElement)(t,{...n,dangerouslySetInnerHTML:{__html:o}})};i.propTypes={children:a().string,tag:a().any};let l=i},77843:(e,t,n)=>{"use strict";n.r(t),n.d(t,{GenericText:()=>p,default:()=>m});var r=n(37876),o=n(14232),a=n(95062),s=n.n(a),i=n(69490);let l=function(e){return e?[...e].reduce((e,[t,n])=>(e[t]=n,e),{}):{}};var c=n(87333),d=n(39978),u=n.n(d);let p=({greeting:e,greetingFallback:t,body:n})=>{let[a,s]=(0,o.useState)("");return(0,o.useEffect)(()=>{(0,c.Ay)("header"),s((()=>{if(!document.cookie)return"";let e=l(document.cookie.split("; ").map(e=>e.split(/=(.+)/)))["AS%5FNAME"];if(!e)return"";let t=l(e.split("&").map(e=>e.split("="))).FN;return null!=t?t:""})())},[a]),(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)("auro-header",{level:"2",display:"400",margin:"both",size:"xs",children:""!=a?e.replace("%FIRST_NAME%",a):t}),(0,r.jsx)(i.A,{className:u().PersonalizedGenericText,children:n})]})};p.propTypes={greeting:s().string,greetingFallback:s().string,body:s().string};let m=p},78524:(e,t,n)=>{"use strict";n.d(t,{J5:()=>a,Mp:()=>s,Si:()=>i});var r=n(39324);let{publicRuntimeConfig:o}=n.n(r)()(),a=e=>new Promise((t,n)=>{let r=document.createElement("script");r.src=e,r.type="module",r.onload=()=>{t()},r.onerror=()=>{n()},document.querySelector(`script[src="${e}"]`)||document.body.appendChild(r)}),s=e=>new Promise((t,n)=>{let r=document.createElement("script");r.src=e,r.onload=()=>{t()},r.onerror=()=>{n()},document.body.appendChild(r)}),i=async(e,t=()=>{})=>{if(!e)return;let n=document.createElement("div");n.innerHTML=e;let r=n.getElementsByTagName("script"),a=[];for(let e=r.length-1;e>=0;e--){let t=r[e],n=document.createElement("script");t.src&&(n.src=t.src.replace(/https?:\/\/(www\.)?alaskaair\.com/,o.cdnEndpoint)),t.type&&(n.type=t.type),t.innerHTML&&(n.innerHTML=t.innerHTML),a.unshift(n),t.parentNode.removeChild(t)}await t(n.innerHTML);let i=async e=>{e.src?await s(e.src):document.body.appendChild(e)};await Promise.all(a.map(i))}},79684:(e,t,n)=>{"use strict";let{HttpsAgent:r}=n(47582),o=n(29370);e.exports={fetchSafely:async(e,t={})=>{if("string"!=typeof e||""===e.trim())throw TypeError("fetchSafely: Invalid or missing URL");let n=new r({maxSockets:40,maxFreeSockets:10,timeout:6e4,freeSocketTimeout:3e4});try{return await o(e,{agent:n,...t})}catch(e){throw Error(`fetchSafely failed: ${e.message}`)}}}},87333:(e,t,n)=>{"use strict";let r,o;n.d(t,{Ay:()=>w,qn:()=>b,mD:()=>$});var a=n(78524),s=n(39324),i=n.n(s),l=n(79684);let{publicRuntimeConfig:c}=i()(),d={auro:()=>c.auroEndpoint,"auro-labs":()=>c.auroLabsEndpoint},u=e=>d[e]?.()||c.auroDesignSystemEndpoint,p=(e,t,n,r,o)=>r?.isESM?"auro-formkit"===t?`${e}/${t}@${n}/${r.displayName}/+esm`:`${e}/${t}@${n}/+esm`:`${e}/${t}@${n}/dist/${o}__bundled.js`,m=(e,t,n,r,o)=>"auro-formkit"===t?`${e}/${t}@latest/${r.displayName}/+esm`:`${e}/${t}@${n}/dist/${o.trim()}`,f={},h={},y=()=>(((function(){let e=window.navigator.userAgent,t=e.indexOf("MSIE ");if(t>0)return parseInt(e.substring(t+5,e.indexOf(".",t)),10);if(e.indexOf("Trident/")>0){let t=e.indexOf("rv:");return parseInt(e.substring(t+3,e.indexOf(".",t)),10)}let n=e.indexOf("Edge/");return n>0&&parseInt(e.substring(n+5,e.indexOf(".",n)),10)})()||/^((?!chrome|android).)*safari/i.test(navigator.userAgent))&&!r&&(r=(0,a.Mp)("https://cdn.jsdelivr.net/npm/@webcomponents/[email protected]/webcomponents-bundle.js")),r),g=async()=>(0,l.fetchSafely)(`${c.basePath||"/"}api/getAuroComponentsVersion`).then(e=>{if(!e.ok)throw Error("Failed to retrieve Auro components versions");return e.json()}).catch(()=>null),$=async(...e)=>{if(!e.length)return;await y();let t=await v();for(let n of e){if(!n)continue;let e=t?t.find(e=>e.displayName===n):{},r=e&&e.endpoint&&e.endpoint.value?e.endpoint.value:"https://unpkg.com",o=e&&e.ver
1sion&&e.version.value?e.version.value:"latest",s=n.split("-",1),i=e&&e.location&&e.location.value?e.location.value:"alaskaair".concat(s);if(!h[n]){let e=[(0,a.J5)(`${r}/@${i}/${n}@${o}/dist/${n}__bundled.js`)];h[n]=Promise.all(e)}}for(let t of(await Promise.all(Object.values(h)).catch(()=>{}),e))t&&document.body.classList.add(`${t}-loaded`)},v=async()=>(0,l.fetchSafely)(`${c.BASE_PATH||"/"}api/getJaclComponentsVersion`).then(e=>{if(!e.ok)throw Error("Failed to retrieve JACL components versions");return e.json()}).catch(()=>null),b=async(...e)=>{if(e.length){for(let t of(await (()=>{if(!o){let e=document.createElement("link");e.rel="stylesheet",e.href=`${c.componentHangerCdnEndpoint}/components/shared/component-base.css`,document.body.appendChild(e),o=(0,a.Mp)(`${c.componentHangerCdnEndpoint}/components/shared/component-base.js`)}return o})(),e))t&&(f[t]||(f[t]=(0,a.Mp)(`${c.COMPONENT_HANGAR_CDN_ENDPOINT}/components/${t}/main.js`)));for(let t of(await Promise.all(Object.values(f)),e))t&&document.body.classList.add(`${t}-loaded`)}},w=async(...e)=>{let t=e.filter(Boolean);if(!t.length)return;await y();let n=await g();for(let e of t){let t=`auro-${e}`;if(f[t])continue;let r=n?n.find(e=>e.displayName===t):{},o=u(r?.location?.value),s=r?.version?.value||"latest",i=r?.group?.value||t,l=r?.files?.value?.split(",").filter(e=>e.trim())||[],c=p(o,i,s,r,t),d=[(0,a.J5)(c)];for(let e of l){let t=m(o,i,s,r,e);d.push((0,a.J5)(t))}f[t]=Promise.all(d)}for(let e of(await Promise.all(Object.values(f)).catch(()=>{}),t))document.body.classList.add(`auro-${e}-loaded`)}}}]);
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.