1"use strict";(()=>{(self.__LOADABLE_LOADED_CHUNKS__=self.__LOADABLE_LOADED_CHUNKS__||[]).push([[2685,3987,7222],{6987:((L,f,n)=>{n.d(f,{A:()=>A});var e=n(13952),c=n(24011),u=n(89765),k=n(25219);const A=({children:m,meta:g,language:l,settings:r,translatedUri:i,minimal:o})=>e.createElement(e.Fragment,null,g?e.createElement(k.default,g):null,e.createElement(c.Zf,{language:l}),e.createElement("div",{className:"print-logo"},e.createElement(c.In,{file:l==="en-GB"?"logo-en":"logo-cy"})),e.createElement(u.default,{language:l}),e.createElement(c.Y9,{menuData:r?.mainMenu,contactData:r?.contactDetails,newsletterLink:r?.newsletterLink,translatedUri:i,language:l,minimal:o}),e.createElement("main",{id:"main"},m),e.createElement(c.ld,{language:l}),!o&&e.createElement(c.wi,{footerLeft:r?.footerMenu,footerRight:r?.footerMenuSecond,contactData:r?.contactDetails,language:l}))}),25219:((L,f,n)=>{n.r(f),n.d(f,{default:()=>A});var e=n(13952),c=n(15558),u=n(32832),k=n(76288);const A=({language:m,pageTitle:g,description:l,locale:r="en_GB",ogDescription:i,ogImage:o,ogImageAltText:s,ogType:b="website",twitterCardType:d="summary",twitterHandle:h,authorTwitterHandle:D,insytful:y=!0,noIndex:x=!1,noFollow:E=!1,rssFeedPath:w})=>{const{selectCurrentProject:t,selectRouteEntryEntryId:a,selectCanonicalPath:p}=k.DT.selectors,_=(0,u.d4)(t),M=(0,u.d4)(a),O=(0,u.d4)(p),v=m==="en-GB"?"Visit Anglesey":"Croeso M\xF4n",T=g===void 0?"Croeso M\xF4n":g,S=T!==v?`${T} - ${v}`:v,P=`https://www.${m==="en-GB"?"visitanglesey":"croesomon"}.co.uk${O}`,I=o||(m==="en-GB"?"/image-library/logo-card-en.png":"/image-library/logo-card-cy.png"),z=s||(m==="en-GB"?"Visit Anglesey":"Croeso M\xF4n"),j=m==="en-GB"?"en":"cy";return e.createElement(c.m,null,e.createElement("title",null,S),e.createElement("html",{lang:j}),x?e.createElement("meta",{name:"robots",content:"noindex"}):null,E?e.createElement("meta",{name:"robots",content:"nofollow"}):null,e.createElement("meta",{name:"description",content:l}),O?e.createElement("link",{rel:"canonical",href:P}):null,e.createElement("meta",{property:"og:site_name",content:v}),O?e.createElement("meta",{property:"og:url",content:P}):null,e.createElement("meta",{property:"og:title",content:g}),e.createElement("meta",{property:"og:description",content:i||l}),e.createElement("meta",{property:"og:image",content:I+"?width=1200&height=630&fit=crop"}),e.createElement("meta",{property:"og:image:alt",content:z}),e.createElement("meta",{property:"og:image:width",content:"1200"}),e.createElement("meta",{property:"og:image:height",content:"630"}),e.createElement("meta",{property:"og:type",content:b}),e.createElement("meta",{property:"og:locale",content:r}),e.createElement("meta",{name:"twitter:card",content:d}),h?e.createElement("meta",{name:"twitter:site",content:h}):null,D?e.createElement("meta",{name:"twitter:creator",content:D}):null,e.createElement("meta",{name:"twitter:title",content:g}),e.createElement("meta",{name:"twitter:description",content:l}),e.createElement("meta",{name:"twitter:image",content:I+"?width=1200&height=630&fit=crop"}),e.createElement("meta",{name:"twitter:image:alt",content:s}),y&&_?e.createElement("meta",{name:"IDL:ProjectId",content:_}):null,y&&M?e.createElement("meta",{name:"IDL:EntryId",content:M}):null,w?e.createElement("link",{rel:"alternate",type:"application/rss+xml",title:`RSS Feed for ${v}`,href:w}):null)}}),37438:((L,f,n)=>{n.d(f,{A:()=>u});var e=n(72869);const u=e.Ay.div.withConfig({displayName:"categoriesstyled__CategoriesStyled",componentId:"sc-1fpbpqg-0"})(["display:block;}h3.filter-title-mobile{display:none;}.listing-filters{padding-top:0.5rem;border-top:1px solid #232127;}.filter-row{width:100%;max-width:1200px;display:flex;}.filter-title{height:2rem;line-height:0;padding:1rem 2rem;font-size:1.4rem;font-weight:100;color:#595959;}.filter-panel{height:100%;padding:1rem 2rem;}.filter-buttons ul{display:flex;list-style:none;flex-direction:row;flex-wrap:wrap;align-content:flex-start;justify-content:flex-start;align-items:flex-start;margin:0;text-align:left;padding:0;}#region{font-family:'FSIngrid',sans-serif !important;padding:0.75rem 0.75rem 0.25rem 0.25rem;background-color:#ffffff;font-size:1rem;font-weight:100;color:#ae171e;margin:0 0.25rem 0.25rem 0;border:none;width:100%;}#region option{padding:0.75rem 0.75rem 0.25rem 0.25rem;background-color:#ffffff;font-size:1rem;font-weight:100;color:#ae171e;margin:0 0.25rem 0.25rem 0;border:none;width:100%;}select{font-family:'FSIngrid',sans-serif !important;background-color:#ffffff;cursor:pointer;color:#595959;padding:0.75rem 0.75rem 0.2rem 0.35rem;margin:0 0.25rem 0.25rem 0;font-size:0.75rem;border-radius:2px;border:none;width:100%;min-height:39.09px;}input[type='date']{font-family:'FSIngrid',sans-serif !important;background-color:#ffffff;cursor:pointer;color:#595959;padding:0.75rem 0.75rem 0.2rem 3rem;margin:0 0.25rem 0.25rem 0;font-size:1rem;border-radius:2px;border:none;width:100%;min-height:39.09px;display:flex;align-items:center;}select option{cursor:pointer;background-color:#ffffff;color:#595959;padding:0.75rem 0.75rem 0.2rem 0.35rem;margin:0 0.25rem 0.25rem 0;font-size:0.75rem;border-radius:2px;border:none;width:100%;min-height:39.09px;}.filter-dates{display:flex;justify-content:space-between;align-content:center;align-items:stretch;flex-wrap:wrap;padding-bottom:1rem;}.filter-dates label{flex-grow:100;position:relative;}.event-input-label{position:absolute;font-size:0.75rem;font-weight:600;color:#ae171e;top:0.75rem;left:0.5rem;}.date-separator{display:inline-block;width:0.5rem;height:2rem;}.filters{display:flex;align-items:stretch;justify-content:flex-end;flex-wrap:nowrap;flex-direction:row;align-content:stretch;}.free-amenities{border-top:1px solid #ffffff;color:#ffffff;padding:1rem 0;}.amenities-panel{background:#1b191f;color:#ffffff;padding:1rem 0;animation:fade-in 0.5s;animation-iteration-count:1;animation-fill-mode:forwards;}@keyframes fade-in{from{opacity:0;}to{opacity:1;}}#amenities-button{display:flex;align-items:center;flex-wrap:nowrap;flex-direction:row;color:#fff;&svg{fill:#fff;}}.am-icon{transform:rotateZ(0deg);margin-left:0.5rem;transition:all 0.5s;}.am-icon--open{transform:rotateZ(180deg);margin-left:0.5rem;transition:all 0.5s;}.more-options{display:flex;flex-direction:row;flex-wrap:nowrap;align-content:center;justify-content:space-between;align-items:center;padding:0;}.filter-free{display:flex;flex-direction:row;flex-wrap:nowrap;align-content:center;justify-content:space-between;align-items:center;}.amenities{display:flex;flex-direction:row;flex-wrap:wrap;justify-content:flex-start;align-items:flex-start;align-content:flex-start;}.filter-buttons ul li button{padding:0.75rem 0.75rem 0.25rem 0.25rem;background-color:#ffffff;font-size:1rem;font-weight:100;color:#ae171e;margin:0 0.25rem 0.25rem 0;}.filter-buttons ul li button:hover{color:#1b191f;}.fb-active{padding:0.75rem 0.75rem 0.25rem 0.25rem;background-color:#1b191f !important;font-size:0.8rem;font-weight:700;color:#ffffff !important;margin:0 0.25rem 0.25rem 0;}
1.filter-section{display:flex;flex-direction:column;flex-wrap:nowrap;align-content:stretch;justify-content:space-between;align-items:stretch;}.left,.right{width:auto;flex-grow:20;}.left .filter-title,.left .filter-panel,.right .filter-title,.right .filter-panel{padding:1rem 0 !important;}.mid-left .filter-panel,.mid-left .filter-title{padding:1rem 1rem 1rem 2rem;}.mid-group{width:100%;max-width:1200px;}.mid-left{flex-grow:100;}.mid-right{min-width:200px;max-width:320px;flex-grow:10;border-left:1px solid #ffffff;}.switch{position:relative;display:inline-block;width:60px;height:34px;margin-right:1rem;}.switch input{opacity:0;width:0;height:0;}.slider{position:absolute;cursor:pointer;top:0;left:0;right:0;bottom:0;background-color:rgba(0,0,0,0.3);-webkit-transition:0.4s;transition:0.4s;border-radius:34px;}.slider:before{position:absolute;content:'';height:26px;width:26px;left:4px;bottom:4px;background-color:#ffffff;-webkit-transition:0.4s;transition:0.4s;border-radius:50%;}input:checked + .slider{background-color:#1b191f;}input:focus + .slider{box-shadow:0 0 1px #ae171e;}input:checked + .slider:before{-webkit-transform:translateX(26px);-ms-transform:translateX(26px);transform:translateX(26px);}.button-filter:hover,.button-filter.active:hover,.button-cat:hover,.button-cat.active:hover{box-shadow:0 0 14px 1px rgba(0,0,0,0.26);}.button-filter.active{color:#ffffff;}.button-filter.active.activity{background:#ae171e;}.button-filter.active.event{background:#205ab2;}.button-filter.active.aonb{background:#5a7f3d;}.button-cat{appearance:none;cursor:pointer;background-color:#ffffff;color:#595959;padding:0.75rem 0.75rem 0.2rem 0.35rem;margin:0 0.25rem 0.25rem 0;font-size:0.75rem;border-radius:2px;transition:all 0.5s;}.button-cat.active{color:#ffffff;background:#181818;}.button-cat[disabled],.button-cat.active[disabled],.button-cat[disabled]:hover,.button-cat.active[disabled]:hover,.button-cat[disabled]:focus,.button-cat.active[disabled]:focus{color:#cf7b7b;background:#791015;cursor:not-allowed;}.button-cat[disabled] .cat-count,.button-cat.active[disabled] .cat-count,.button-cat[disabled]:hover .cat-count,.button-cat.active[disabled]:hover .cat-count,.button-cat[disabled]:focus .cat-count,.button-cat.active[disabled]:focus .cat-count{color:#ca7b7b;border:1px solid #931b21;}.cat-count,.button-cat:active .cat-count{color:#ae171e;background:transparent;border-radius:3px;padding:0.25rem;font-size:0.7rem;min-width:23px;display:inline-flex;align-items:center;justify-content:center;height:22px;margin-left:4px;border:1px solid #d7d7d7;}.button-cat.active .cat-count{color:#c3c3c3;border:1px solid #4f4f4f;}.results-count{margin:1rem;display:flex;flex-direction:column;align-items:flex-start;}.cards-row{width:100%;max-width:1600px;padding:0;margin:0 auto;}.introduction-section{display:flex;max-width:1200px;margin:0 auto;padding:0;position:relative;flex-direction:row;justify-content:space-between;align-items:center;}h2.summary{font-size:1.67rem;font-weight:300;line-height:2.5rem;margin:0 0 2rem 0;padding-right:2rem;letter-spacing:-0.015em;max-width:1200px;}ul.results{list-style:none;display:flex;flex-direction:row;flex-wrap:wrap;align-content:stretch;justify-content:flex-start;align-items:stretch;padding:0.5rem;}@media only screen and (max-width:960px){.listing-card{flex-basis:calc(50% - 1rem);}}@media only screen and (max-width:768px){.listing-card{flex-basis:100% !important;}.lc-title{font-size:1.5rem;}}@media only screen and (max-width:480px){.listing-card{flex-direction:column !important;}.lc-content,.lc-image{width:100%;}"])}),89765:((L,f,n)=>{n.r(f),n.d(f,{default:()=>l});var e=n(13952);const c=(r,i)=>{const o=typeof window<"u"&&window,[s,b]=(0,e.useState)(()=>{if(o){const d=o.localStorage.getItem(r);return d?JSON.parse(d):i}return i});return(0,e.useEffect)(()=>{o&&o.localStorage.setItem(r,JSON.stringify(s))},[r,s,o]),[s,b]},k=({statusclass:r,title:i,message:o,language:s,id:b,index:d,immutable:h,handler:D,iOpen:y})=>{const[x,E]=c(b,y),w=()=>{E(!1),D(d)};(0,e.useEffect)(()=>{E(x)},[E,x]);const t="alert-banner "+r,a="alert-banner-immutable "+r,p=h===!0?a:t;return e.createElement("div",{className:p,style:x?{display:"block"}:{display:"none"},role:"banner","aria-label":i},e.createElement("div",{className:"row-unpadded"},e.createElement("div",{className:"alert-wrapper"},e.createElement("div",{className:"info",dangerouslySetInnerHTML:{__html:o}}),e.createElement("div",{className:"actions"},h===!1||h===null?e.createElement("div",{className:"alert-close"},e.createElement("button",{type:"button",onClick:()=>w(),"aria-label":s==="en-GB"?"Close alert":"Cau rhybudd"},e.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",height:"1em",viewBox:"0 0 512 512"},e.createElement("path",{d:"M256 32a224 224 0 1 1 0 448 224 224 0 1 1 0-448zm0 480A256 256 0 1 0 256 0a256 256 0 1 0 0 512zM180.7 180.7c-6.2 6.2-6.2 16.4 0 22.6L233.4 256l-52.7 52.7c-6.2 6.2-6.2 16.4 0 22.6s16.4 6.2 22.6 0L256 278.6l52.7 52.7c6.2 6.2 16.4 6.2 22.6 0s6.2-16.4 0-22.6L278.6 256l52.7-52.7c6.2-6.2 6.2-16.4 0-22.6s-16.4-6.2-22.6 0L256 233.4l-52.7-52.7c-6.2-6.2-16.4-6.2-22.6 0z"})))):""))))};
1var C=n(72869);const m=C.Ay.div.withConfig({displayName:"alertsstyled__AlertsStyled",componentId:"sc-1vs2iqq-0"})(["#alerts{position:relative;}.alert-banner,.alert-banner-immutable{padding:0.5rem 0;font-size:1.125rem;line-height:1.4375rem;position:relative;display:block;font-family:inherit;top:0;}.alert-banner p,.alert-banner-immutable p{margin:0.75rem 0;line-height:1.5em;}.warning{background-color:#ae171e;color:#ffffff;}.message{background-color:#093566;color:#ffffff;}.alert{background-color:#f6bf35;color:#444444;}.mourning{background-color:#171717;color:#ffffff;}.resolved{background-color:#007459;color:#ffffff;}.alert-item{display:inline-block;position:absolute;z-index:9999;background-color:white;border-radius:24px;width:30px;height:30px;margin-top:70px;bottom:-90px;}.alert-wrapper{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;margin:0 0.5rem 0 2rem;}@media screen and (max-width:768px){.alert-wrapper{margin:0 0.5rem 0 1rem;}}.alert-wrapper .info{flex-basis:80%;padding-right:2rem;font-size:1rem;}.alert-wrapper .info h1,.alert-wrapper .info h2,.alert-wrapper .info h3,.alert-wrapper .info h4{margin:0.625rem 0;}.alert-wrapper .actions{flex-basis:10%;display:flex;justify-content:flex-end;}.alert-button svg{width:24px;height:24px;}.alert-button.warning,.alert-button.message,.alert-button.alert,.alert-button.mourning{appearance:none;background-color:transparent;border:none;cursor:pointer;padding:0.25rem;}.alert-button.warning:hover svg,.alert-button.message:hover svg,.alert-button.alert:hover svg,.alert-button.mourning:hover svg,.alert-button.warning:focus svg,.alert-button.message:focus svg,.alert-button.alert:focus svg,.alert-button.mourning:focus svg{fill:#171717 !important;}.alert-button.warning svg{fill:#ae171e;}.alert-button.message svg{fill:#093566;}.alert-button.alert svg{fill:#f6bf35;}.alert-button.mourning svg{fill:#171717;}.alert-banner a,.alert-banner a:visited,.alert-banner-immutable a,.alert-banner-immutable a:visited{color:#ffffff;text-decoration:underline;}.alert-banner a:hover,.alert-banner a:focus,.alert-banner-immutable a:hover,.alert-banner-immutable a:focus{color:#ffffff;text-decoration:none;}.alert-banner button{appearance:none;background-color:transparent;border:none;cursor:pointer;border-radius:32px;width:40px;height:40px;display:flex;justify-content:center;align-items:center;transition:all 0.5s;}.alert-banner button:hover,.alert-banner button:focus{background-color:#ffffff;}.alert-banner button svg{fill:#ffffff;width:28px;height:28px;}.alert-button button svg{width:32px;height:auto;transition:all 0.5s;}.alert-banner button:hover svg,.alert-banner button:focus svg{transform:rotate(90deg);fill:#171717;}.visuallyhidden{clip:rect(0 0 0 0);clip-path:inset(50%);height:1px;overflow:hidden;position:absolute;white-space:nowrap;width:1px;}.alerts-button{appearance:none;background:transparent;border:none;display:none;height:100%;padding:0 1rem 0 0.75rem;transition:all 0.3s;cursor:pointer;position:relative;min-height:41px;margin:0 0.5rem 0 0;flex-grow:100;align-items:center;justify-content:center;}.alerts-button:hover,.alerts-button:focus{background:#0c3564;}#notifications{background-color:#1d599e;font-size:0.875rem;height:41px;}.alerts-button svg{fill:#fff;height:20px;width:auto;}#notifications-qty{align-items:center;background-color:#f6bf35;border:1px solid #fff;border-radius:10px;color:#444;display:flex;flex-direction:column;font-size:0.7rem;font-weight:600;height:15px;justify-content:center;line-height:0.7rem;position:absolute;right:10px;top:7px;width:16px;}"]),l=({language:r})=>{const[i,o]=(0,e.useState)([]),[s,b]=(0,e.useState)(!1),d=typeof window=="object";function h(){return new Date().getTimezoneOffset()===-60}const y=h()?"now(+1h)":"now()",x=r&&`/api/delivery/projects/tourism/entries/search?where=[{"field":"sys.contentTypeId","equalTo":"siteAlertBanner"},{"field":"sys.versionStatus","equalTo":"published"},{"field":"sys.language","equalTo":"${r}"},{"field":"schedule.from","lessThanOrEqualTo":"${y}"},{"field":"schedule.to","greaterThanOrEqualTo":"${y}"}]&orderBy=[{"desc":"status"}]&pageSize=5&pageIndex=0&accessToken=yNir4845WTD79uhNeYK49Xk43o3nxkqpDIb
1V4n8tli8UT0fC`;(0,e.useEffect)(()=>{fetch(x).then(t=>t.json()).then(t=>{const a=t.items.map(p=>({...p,isOpen:!0}));b(!0),o(a)},t=>{b(!0),console.info(t)})},[x]);const E=t=>{o(i.map((a,p)=>{const _=!a.isOpen;return t===p?{...a,isOpen:_}:a}))},w=i.length;return(0,e.useEffect)(()=>{if(!d)return;const t=document.getElementById("togglealerts");t&&w>0&&(t.style.display="flex");const a=document.getElementById("notifications-qty");a&&(a.innerHTML=w.toString())},[d,w]),s?e.createElement(m,{className:"alert-banners"},i&&i.map((t,a)=>{const p=t.title,_=t.message,O=(t.alertStatus&&t.alertStatus.name).toLowerCase(),v=t.immutable,S="ioacc-alert-"+(t.sys&&t.sys.id),B=t.isOpen;return e.createElement(k,{key:a,statusclass:O,title:p,message:_,language:r,index:a,id:S,immutable:v,handler:E,iOpen:B})})):null}})}]);})();
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.