(t.setReady(!1),n.then((function(){t.setReady(!0),t.maybeSetInitialScrollDepth(u)}))):t.maybeSetInitialScrollDepth(u),t.onTriggerEvent((function(){var e,n=s.getStartTime(),i=t.getState(n);if(i.backgrounded=s.isBackgrounded()?1:0,i.backgroundedAtStart=s.isBackgroundedAtStart()?1:0,i.totalTime=Date.now()-n,o){i.elementId=o.id,i.opacity=Ni(o),e=a.getLayoutRect(o);var u=s.getElementVisibility(o),c=s.getElementIntersectionRect(o);Object.assign(i,{intersectionRatio:u,intersectionRect:JSON.stringify(c)})}else i.opacity=s.getRootMinOpacity(),i.intersectionRatio=s.getRootVisibility(),e=s.getRootLayoutBox();t.maybeDispose(),e&&(Object.assign(i,{elementX:e.left,elementY:e.top,elementWidth:e.width,elementHeight:e.height}),i.initialScrollDepth=Ii(e,a,t.getInitialScrollDepth()),i.maxScrollDepth=Ii(e,a,s.getMaxScrollDepth())),r(i)})),this.hAt.push(t),t.unsubscribe((function(){var e=s.hAt.indexOf(t);-1!=e&&s.hAt.splice(e,1)})),o&&t.unsubscribe(this.observe(o,(function(){return t.update()}))),t.update(),function(){t.dispose()}},e.observe=function(t,e){},e.getElementVisibility=function(t){},e.getElementIntersectionRect=function(t){},t}(),Gi=function(t){u(n,t);var e=d(n);function n(t){var n;if((n=e.call(this,null,t)).Pu=Nt(t),n.mAt=!t.isVisible(),n.pAt=n.isBackgrounded(),n.bAt=y(),n.Fb=null,"inabox"==K(n.ampdoc.win).runtime){var i=n.ampdoc.getRootNode(),r=i.documentElement||i.body||i;n.unsubscribe(n.observe(r,n.setRootVisibility.bind(l(n))));var o=function(){var t=Ui(r),e=n.bAt[t];e&&(n.ampdoc.win.innerHeight<1||n.ampdoc.win.innerWidth<1?e.isVisible=!1:e.isVisible=!0,n.setRootVisibility(e.isVisible?e.intersectionRatio:0))};n.ampdoc.win.addEventListener("resize",o),n.unsubscribe((function(){n.ampdoc.win.removeEventListener("resize",o)}))}else n.setRootVisibility(n.ampdoc.isVisible()?1:0),n.unsubscribe(n.ampdoc.onVisibilityChanged((function(){var t=n.ampdoc.isVisible();t||(n.mAt=!0),n.setRootVisibility(t?1:0)})));return n}var i=n.prototype;return i.dispose=function(){t.prototype.dispose.call(this),this.Fb&&(this.Fb.disconnect(),this.Fb=null)},i.getStartTime=function(){return this.ampdoc.getFirstVisibleTime()},i.isBackgrounded=function(){return this.mAt},i.isBackgroundedAtStart=function(){return this.pAt},i.getRootMinOpacity=function(){var t=this.ampdoc.getRootNode();return Ni(t.documentElement||t.body||t)},i.getRootLayoutBox=function(){var t=this.ampdoc.getRootNode(),e=t.documentElement||t.body||t;return this.Pu.getLayoutRect(e)},i.observe=function(t,e){var n=this,i=Ui(t),r=this.bAt[i];return r?r.intersectionRatio>0&&r.isVisible&&e(r.intersectionRatio):(r={element:t,intersectionRatio:0,intersectionRect:null,isVisible:!1,boundingClientRect:null,listeners:[]},this.bAt[i]=r),r.listeners.push(e),this.EAt().observe(t),function(){var r=n.bAt[i];if(r){var o=r.listeners.indexOf(e);-1!=o&&r.listeners.splice(o,1),0==r.listeners.length&&(n.Fb.unobserve(t),delete n.bAt[i])}}},i.getElementVisibility=function(t){if(0==this.getRootVisibility())return 0;var e=Ui(t),n=this.bAt[e];return n&&n.isVisible&&n.intersectionRatio||0},i.getElementIntersectionRect=function(t){if(this.getElementVisibility(t)<=0)return null;var e=Ui(t),n=this.bAt[e];return n?n.intersectionRect:null},i.EAt=function(){if(!this.Fb){var t=this.ampdoc.win;this.Fb=new t.IntersectionObserver(this.TAt.bind(this),{threshold:Vi})}return this.Fb},i.TAt=function(t){var e=this;t.forEach((function(t){var n=t.intersectionRect;n=Mi(Number(n.left),Number(n.top),Number(n.width),Number(n.height));var i=t.boundingClientRect;i=i&&Mi(Number(i.left),Number(i.top),Number(i.width),Number(i.height)),e.gAt(t.target,t.intersectionRatio,n,i)}))},i.gAt=function(t,e,n,i){e=Math.min(Math.max(e,0),1);var r=Ui(t),o=this.bAt[r],s=!0;if((i.width<1||i.height<1)&&(s=!1),o){o.isVisible=s,o.intersectionRatio=e,o.intersectionRect=n,o.boundingClientRect=i;for(var a=0;a2&&void 0!==arguments[2]?arguments[2]:null;return":root"==e?s((function(){return n.getRootElement()})):":host"==e?new Promise((function(t){t(nt().assertElement(n.getHostElement(),'Element "'.concat(e,'" not found')))})):this.ampdoc.whenReady().then((function(){var r,o=null;try{r="scope"==i?x(t,e):"closest"==i?k(t,e):n.getRoot().querySelector(e)}catch(t){st(!1,"Invalid query selector ".concat(e))}return r&&n.contains(r)&&(o=r),nt().assertElement(o,'Element "'.concat(e,'" not found'))}))},e.SAt=function(t){var e=this,n=! The content you are about to view is not owned or managed by Explore Minnesota Tourism, and may not be accessible to all users. The agency's portfolio also includes 28 golf courses, 35 swimming pools, 67 beaches, and 18 museums and nature centers.[5]. via amp-bind) require opt-in. Please see https://github.com/ampproject/amphtml/issues/18849"),jt.KEY=Ft,jt.IGNORE=Lt,ht(this.element).then((function(e){t.iG=e}))},d.reconstructWhenReparented=function(){return!1},d.layoutCallback=function(){var t=this;this.ZF=!0;var e=this.getPlaceholder();return e?this.cG(e):this.tG&&this.cG(this.ft),this.Pu.onResize((function(){t.mG()})),this.nG&&this.dG(),this.uG()},d.hG=function(){var t=this.element.hasAttribute("single-item")? (!n||!n.ctor)}var ft=function(t){return tt(t,"batched-xhr")},dt=function(t){return function(t,e,n){var r=nt(t,e);return r?Promise.resolve(r):function(t,e,n,r){var i=function(t,e){return lt(st(t),e)}(t,e);if(i)return i;var o=ot(t);return o.whenExtensionsKnown().then((function(){var t=o.getExtensionVersion(n);return t?tt(o.win,"extensions").waitForExtension(n,t):null})).then((function(n){return n?rt(t,e):null}))}(t,e,"amp-bind")}(t,"bind")},vt=function(t){return et(t,"viewer")},pt=function(t){return tt(t,"xhr")};function mt(t,e,n,r){var i={detail:n};if(Object.assign(i,r),"function"==typeof t.CustomEvent)return new t.CustomEvent(e,i);var o=t.document.createEvent("CustomEvent");return o.initCustomEvent(e,!!i.bubbles,! (in depth check): "+n)}}function Ee(t){return"string"==typeof t&&t.startsWith("amp-")&&-1!=t.indexOf("{")}var ye=["Webkit","webkit","Moz","moz","ms","O","o"],we={getPropertyPriority:function(){return""},getPropertyValue:function(){return""}};function Oe(t,e,n){if(e.startsWith("--"))return e;ve||(ve=y());var i=ve[e];if(!i||n){if(i=e,void 0===t[e]){var r=function(t){return t.charAt(0).toUpperCase()+t.slice(1)}(e),o=function(t,e){for(var n=0;n=300)throw X().createError("Failed fetching JSON data (".concat(n.LG(e),")")+": HTTP error",r)}return Y("string"==typeof t.html,"Failed fetching JSON data: XHR Failed fetching "+"(".concat(n.LG(e),"): Expected response with ")+"format {html: }. https://mths.be/cssescape v1.5.1 by @mathias | MIT license */}}); Day use only. Brook Park, MN. You are now leaving ExploreMinnesota.com. Includes the Springbrook Greens State Golf Course. '),(n=e.element,st(n,"amp-script","amp-script")).then((function(e){return e.fetch(t)}));var n})).then((function(e){return Y("object"===a(e),"[amp-list] ".concat(t," must return json, but instead returned: ").concat(a(e))),e}))},d.mutatedAttributesCallback=function(t){var e=this;q().info(ee,"mutate:",this.element,t);var n=t.src;void 0!==n&&("string"==typeof n?this.ZF&&(this.sG(),this.uG()):"object"===a(n)?function(t){e.element.setAttribute("src",""),Y(!e.fG.isEnabled(),'[amp-list] "[src]" may not be bound in SSR mode. ternary operator with multiple conditions in angular. Total indoor lodging units available in winter: Facility accommodates meetings for 30 or more. 2023 Pennsylvania State Parks Calendar. (n=R(o,r),this.nl(o,r,n)):(this.Ee=!1,n=t.relativePos),e&&!this.Ee&&(this.DR=n==f?0:1,this.JR(),this.HR(),this.LR=!0),!e&&this.Ee&&this.GR(),this.Ee&&(this.WR(o,r),this.JR())}},v.nl=function(t,e,i){if(i!=l){var n="top"==i?this.MR:this.AR,r=t.height*n;this.Ee=i==f?t.top<=e.bottom-r:t.bottom>=e.top+r}else this.Ee=!0},v.WR=function(t,e){if(t){var i=t.height*this.AR+t.height*this.MR,n=e.height+t.height-i,r=Math.abs(t.top-this.TR-(e.height-t.height*this.AR));this.DR=r/n,this.NR=n-r}},v.mk=function(){var t=this.element.getAttribute("intersection-ratios");if(t){var e=t.trim().split(" ");this.MR=this.XR(e[0]),this.AR=this.MR,e[1]&&(this.AR=this.XR(e[1]))}var i=this.element.getAttribute("viewport-margins");if(i){var n=i.trim().split(" ");this.BR=n[0],this.PR=this.BR,n[1]&&(this.PR=n[1])}this.qR=this.element.getAttribute("target")},v._R=function(){var t;return t=this.qR?b().assertElement(this.win.document.getElementById(this.qR),"No element found with id:"+this.qR):this.element.parentNode,this.win.document.body===t&&(t=this.win.document.documentElement),t},v.YR=function(t){var e,i,n,r=function(t){c(t);var e=/[a-z]+/i.exec(null!=t?t:"");return u(e,"Failed to read units from %s",t),e[0]}(t=c("number"==typeof(e=t)?e+"px":e&&/^\d+(\.\d+)? "-".concat(s):s),a)}}function _(t,e){for(var n in e)L(t,n,e[n])}function I(t,e){void 0===e&&(e=t.hasAttribute("hidden")),e?t.removeAttribute("hidden"):t.setAttribute("hidden","")}function O(t,e){return t.getComputedStyle(e)||D}var C=/vertical/,R=new WeakMap,Y=new WeakMap,X=new WeakMap;function j(t){var e=R.get(t);return e||(e=new t.ResizeObserver(N),R.set(t,e)),e}function N(t){for(var e=new Set,n=t.length-1;n>=0;n--){var i=t[n],r=i.target;if(!e.has(r)){e.add(r);var o=Y.get(r);if(o){X.set(r,i);for(var s=0;s0?s[0]:{inlineSize:0,blockSize:0};else{var a,h,u=n.target,l=M(u),c=C.test(O(l,u).writingMode),f=u,d=f.offsetHeight,m=f.offsetWidth;c? "),e===Zn&&(u&&nt().error(Kn,'ReportWhen should not be defined when eventType is "hidden"'),u="documentHidden");var h=this.root.getVisibilityManager();if("documentHidden"==u?c=this.TSt.bind(this):"documentExit"==u?c=this.gSt.bind(this):st(!u,'reportWhen value "%s" not supported. (e===n),"Srcset must have width or dpr sources, but not both"),t.sort(e?Dt:Ft),this.cE=e}var e=t.prototype;return e.select=function(t,e){var n;return O(t),O(e),n=this.cE?this.lE(t*e):this.pE(e),this.sE[n].url},e.lE=function(t){for(var e=this.sE,n=0,r=1/0,i=1/0,o=0;o=0;)t.removeChild(Vt(t.lastChild))}function kt(t){if(1===t.nodeType){var e=t.getAttribute(jt.KEY)||t.id;return e? Plan your visit today! "))},e.hasPendingMessages=function(){return Object.keys(this.ir).length>0},e.aPt=function(t){var e=this.sPt.indexOf(t);return e>=0?e:this.sPt.push(t)-1},e.fetchPromiseForTesting=function(){return this.uPt},t}(),fe="amp-bind",de=/^(i?-)?amp(html)?-/,ve={INPUT:{checked:!0,value:!0},OPTION:{selected:!0},TEXTAREA:{text:!0,disabled:!0}},pe=m({"AMP-CAROUSEL":["slide"],"AMP-LIST":["is-layout-container"],"AMP-SELECTOR":["selected"]}),me=["AMP-LIST","AMP-RENDER"],Pe=function(){function t(t){var e=this;this.ampdoc=t,this.t=t.win,this.lPt=t.win,this.fPt=[],this.cPt=function(t,e,n){var r=0,i=0,o=null;function s(){r=0;var a,u=n-(t.Date.now()-i);u>0?r=t.setTimeout(s,u):(a=o,o=null,e.apply(null,a))}return function(){i=t.Date.now();for(var e=arguments.length,a=new Array(e),u=0;u1&&void 0!==arguments[1]?arguments[1]:{};Y().info(fe,"setState (init=%s):",n.skipEval,t);try{b(this.Ni,t,10)}catch(t){$().error(fe,"Failed to merge result from AMP.setState(). ":i,o=n.urlReplacement,a=void 0===o?0:o,s=n.refresh,l=void 0!==s&&s,u=n.xssiPrefix,c=void 0===u?void 0:u,h=n.url,f=void 0===h?e.getAttribute("src"):h;yt(f,e);var m=ct(t.win);return Zt(e,f,a,l).then((function(t){return m.fetchJson(t.xhrUrl,t.fetchOpt)})).then((function(e){return ft(t.win).xssiJson(e,c)})).then((function(t){if(null==t)throw new Error("Response is undefined.