PageSourceSearch

https://www.windsorcommunities.com/wp-content/themes/wincommunitie…/js/single-property.a37e2d0eaafc04c9.js

js windsorcommunities.com collected 2026-10-09 21:29:49 UTC 67,469 bytes, 2 lines download raw bytes

1/*! For license information please see single-property.a37e2d0eaafc04c9.js.LICENSE.txt */
2(self.webpackChunkimpart_website=self.webpackChunkimpart_website||[]).push([[4135,6468],{3113:function(t,e,i){var n,o,s,r,a,l,c,h,d,u,p,f,v,g,m,y,b,w,S,E,C,x,k,D,A,P,_,L,I,M,z,T,N,$,B,F,W,q,O,R,U,j,H,X,G,Q,V,Y;function J(t){return J="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},J(t)}Q=window,X=[i(1669)],G=function(t){return function(t,e){"use strict";var i=Array.prototype.slice,n=t.console,o=void 0===n?function(){}:function(t){n.error(t)};function s(n,s,a){function l(t,e,i){var s,r="$()."+n+'("'+e+'")';return t.each(function(t,l){var c=a.data(l,n);if(c){var h=c[e];if(h&&"_"!=e.charAt(0)){var d=h.apply(c,i);s=void 0===s?d:s}else o(r+" is not a valid method")}else o(n+" not initialized. Cannot call methods, i.e. "+r)}),void 0!==s?s:t}function c(t,e){t.each(function(t,i){var o=a.data(i,n);o?(o.option(e),o._init()):(o=new s(i,e),a.data(i,n,o))})}(a=a||e||t.jQuery)&&(s.prototype.option||(s.prototype.option=function(t){a.isPlainObject(t)&&(this.options=a.extend(!0,this.options,t))}),a.fn[n]=function(t){return"string"==typeof t?l(this,t,i.call(arguments,1)):(c(this,t),this)},r(a))}function r(t){!t||t&&t.bridget||(t.bridget=s)}return r(e||t.jQuery),s}(Q,t)}.apply(e,X),void 0===G||(t.exports=G),"undefined"!=typeof window&&window,o=function(){function t(){}var e=t.prototype;return e.on=function(t,e){if(t&&e){var i=this._events=this._events||{},n=i[t]=i[t]||[];return-1==n.indexOf(e)&&n.push(e),this}},e.once=function(t,e){if(t&&e){this.on(t,e);var i=this._onceEvents=this._onceEvents||{};return(i[t]=i[t]||{})[e]=!0,this}},e.off=function(t,e){var i=this._events&&this._events[t];if(i&&i.length){var n=i.indexOf(e);return-1!=n&&i.splice(n,1),this}},e.emitEvent=function(t,e){var i=this._events&&this._events[t];if(i&&i.length){i=i.slice(0),e=e||[];for(var n=this._onceEvents&&this._onceEvents[t],o=0;o<i.length;o++){var s=i[o];n&&n[s]&&(this.off(t,s),delete n[s]),s.apply(this,e)}return this}},e.allOff=function(){delete this._events,delete this._onceEvents},t},"function"==typeof o?(s={id:"ev-emitter/ev-emitter",exports:{},loaded:!1},n=o.call(s.exports,i,s.exports,s),s.loaded=!0,void 0===n&&(n=s.exports)):n=o,window,a=function(){"use strict";function t(t){var e=parseFloat(t);return-1==t.indexOf("%")&&!isNaN(e)&&e}function e(){}var i="undefined"==typeof console?e:function(t){console.error(t)},n=["paddingLeft","paddingRight","paddingTop","paddingBottom","marginLeft","marginRight","marginTop","marginBottom","borderLeftWidth","borderRightWidth","borderTopWidth","borderBottomWidth"],o=n.length;function s(){for(var t={width:0,height:0,innerWidth:0,innerHeight:0,outerWidth:0,outerHeight:0},e=0;e<o;e++)t[n[e]]=0;return t}function r(t){var e=getComputedStyle(t);return e||i("Style returned "+e+". Are you running this code in a hidden iframe on Firefox? See https://bit.ly/getsizebug1"),e}var a,l=!1;function c(){if(!l){l=!0;var e=document.createElement("div");e.style.width="200px",e.style.padding="1px 2px 3px 4px",e.style.borderStyle="solid",e.style.borderWidth="1px 2px 3px 4px",e.style.boxSizing="border-box";var i=document.body||document.documentElement;i.appendChild(e);var n=r(e);a=200==Math.round(t(n.width)),h.isBoxSizeOuter=a,i.removeChild(e)}}function h(e){if(c(),"string"==typeof e&&(e=document.querySelector(e)),e&&"object"==J(e)&&e.nodeType){var i=r(e);if("none"==i.display)return s();var l={};l.width=e.offsetWidth,l.height=e.offsetHeight;for(var h=l.isBorderBox="border-box"==i.boxSizing,d=0;d<o;d++){var u=n[d],p=i[u],f=parseFloat(p);l[u]=isNaN(f)?0:f}var v=l.paddingLeft+l.paddingRight,g=l.paddingTop+l.paddingBottom,m=l.marginLeft+l.marginRight,y=l.marginTop+l.marginBottom,b=l.borderLeftWidth+l.borderRightWidth,w=l.borderTopWidth+l.borderBottomWidth,S=h&&a,E=t(i.width);!1!==E&&(l.width=E+(S?0:v+b));var C=t(i.height);return!1!==C&&(l.height=C+(S?0:g+w)),l.innerWidth=l.width-(v+b),l.innerHe
2ight=l.height-(g+w),l.outerWidth=l.width+m,l.outerHeight=l.height+y,l}}return h},"function"==typeof a?(l={id:"get-size/get-size",exports:{},loaded:!1},r=a.call(l.exports,i,l.exports,l),l.loaded=!0,void 0===r&&(r=l.exports)):r=a,function(){"use strict";h=function(){var t=function(){var t=window.Element.prototype;if(t.matches)return"matches";if(t.matchesSelector)return"matchesSelector";for(var e=["webkit","moz","ms","o"],i=0;i<e.length;i++){var n=e[i]+"MatchesSelector";if(t[n])return n}}();return function(e,i){return e[t](i)}},"function"==typeof h?(d={id:"desandro-matches-selector/matches-selector",exports:{},loaded:!1},c=h.call(d.exports,i,d.exports,d),d.loaded=!0,void 0===c&&(c=d.exports)):c=h}(window),function(t){u=function(e){return function(t,e){var i={extend:function(t,e){for(var i in e)t[i]=e[i];return t},modulo:function(t,e){return(t%e+e)%e}},n=Array.prototype.slice;i.makeArray=function(t){return Array.isArray(t)?t:null==t?[]:"object"==J(t)&&"number"==typeof t.length?n.call(t):[t]},i.removeFrom=function(t,e){var i=t.indexOf(e);-1!=i&&t.splice(i,1)},i.getParent=function(t,i){for(;t.parentNode&&t!=document.body;)if(t=t.parentNode,e(t,i))return t},i.getQueryElement=function(t){return"string"==typeof t?document.querySelector(t):t},i.handleEvent=function(t){var e="on"+t.type;this[e]&&this[e](t)},i.filterFindElements=function(t,n){t=i.makeArray(t);var o=[];return t.forEach(function(t){if(t instanceof HTMLElement)if(n){e(t,n)&&o.push(t);for(var i=t.querySelectorAll(n),s=0;s<i.length;s++)o.push(i[s])}else o.push(t)}),o},i.debounceMethod=function(t,e,i){i=i||100;var n=t.prototype[e],o=e+"Timeout";t.prototype[e]=function(){var t=this[o];clearTimeout(t);var e=arguments,s=this;this[o]=setTimeout(function(){n.apply(s,e),delete s[o]},i)}},i.docReady=function(t){var e=document.readyState;"complete"==e||"interactive"==e?setTimeout(t):document.addEventListener("DOMContentLoaded",t)},i.toDashed=function(t){return t.replace(/(.)([A-Z])/g,function(t,e,i){return e+"-"+i}).toLowerCase()};var o=t.console;return i.htmlInit=function(e,n){i.docReady(function(){var s=i.toDashed(n),r="data-"+s,a=document.querySelectorAll("["+r+"]"),l=document.querySelectorAll(".js-"+s),c=i.makeArray(a).concat(i.makeArray(l)),h=r+"-options",d=t.jQuery;c.forEach(function(t){var i,s=t.getAttribute(r)||t.getAttribute(h);try{i=s&&JSON.parse(s)}catch(s){return void(o&&o.error("Error parsing "+r+" on "+t.className+": "+s))}var a=new e(t,i);d&&d.data(t,n,a)})})},i}(t,e)}.apply(p={},X=[c]),void 0!==u||(u=p)}(window),window,f=function(t){return function(t,e){function i(t,e){this.element=t,this.parent=e,this.create()}var n=i.prototype;return n.create=function(){this.element.style.position="absolute",this.element.setAttribute("aria-hidden","true"),this.x=0,this.shift=0,this.element.style[this.parent.originSide]=0},n.destroy=function(){this.unselect(),this.element.style.position="";var t=this.parent.originSide;this.element.style[t]="",this.element.style.transform="",this.element.removeAttribute("aria-hidden")},n.getSize=function(){this.size=e(this.element)},n.setPosition=function(t){this.x=t,this.updateTarget(),this.renderPosition(t)},n.updateTarget=n.setDefaultTarget=function(){var t="left"==this.parent.originSide?"marginLeft":"marginRight";this.target=this.x+this.size[t]+this.size.width*this.parent.cellAlign},n.renderPosition=function(t){var e="left"===this.parent.originSide?1:-1,i=this.parent.options.percentPosition?t*e*(this.parent.size.innerWidth/this.size.width):t*e;this.element.style.transform="translateX("+this.parent.getPositionValue(i)+")"},n.select=function(){this.element.classList.add("is-selected"),this.element.removeAttribute("aria-hidden")},n.unselect=function(){this.element.classList.remove("is-selected"),this.element.setAttribute("aria-hidden","true")},n.wrapShift=function(t){this.shift=t,this.renderPosition(this.x+this.parent.slideableWidth*t)},n.remove=function(){this.element.parentNode.removeChild(this.element)},i}(0,t)}.apply(v={},X=[r]),void 0!==f||(f=v),window,m=function(){"use strict";function t(t){this.parent=t,this.isOriginLeft="left"==t.originSide,this.cells=[],this.outerWidth=0,this.height=0}var e=t.prototype;return e.addCell=function(t){if(this.cells.push(t),this.outerWidth+=t.size.outerWidth,this.height=Math.max(t.size.outerHeight,this.height),1==this.cells.length){this.x=t.x;var e=this.isOriginLeft?"marginLeft":"marginRight";this.firstMargin=t.size[e]}},e.updateTarget=function(){var t=this.isOriginLeft?"marginRight":"marginLeft",e=this.getLastCell(),i=e?e.size[t]:0,n=this.outerWidth-(this.firstMargin+i);this.target=this.x+this.firstMargin+n*this.parent.cellAlign},e.getLastCell=function(){return this.cells[this.cells.length-1]}
vendor: 15,791 bytes, line 2
2,e.select=function(){this.cells.forEach(function(t){t.select()})},e.unselect=function(){this.cells.forEach(function(t){t.unselect()})},e.getCellElements=function(){return this.cells.map(function(t){return t.element})},t},"function"==typeof m?(y={id:"flickity/js/slide",exports:{},loaded:!1},g=m.call(y.exports,i,y.exports,y),y.loaded=!0,void 0===g&&(g=y.exports)):g=m,window,b=function(t){return function(t,e){var i={startAnimation:function(){this.isAnimating||(this.isAnimating=!0,this.restingFrames=0,this.animate())},animate:function(){this.applyDragForce(),this.applySelectedAttraction();var t=this.x;if(this.integratePhysics(),this.positionSlider(),this.settle(t),this.isAnimating){var e=this;requestAnimationFrame(function(){e.animate()})}},positionSlider:function(){var t=this.x;this.options.wrapAround&&this.cells.length>1&&(t=e.modulo(t,this.slideableWidth),t-=this.slideableWidth,this.shiftWrapCells(t)),this.setTranslateX(t,this.isAnimating),this.dispatchScrollEvent()},setTranslateX:function(t,e){t+=this.cursorPosition,t=this.options.rightToLeft?-t:t;var i=this.getPositionValue(t);this.slider.style.transform=e?"translate3d("+i+",0,0)":"translateX("+i+")"},dispatchScrollEvent:function(){var t=this.slides[0];if(t){var e=-this.x-t.target,i=e/this.slidesWidth;this.dispatchEvent("scroll",null,[i,e])}},positionSliderAtSelected:function(){this.cells.length&&(this.x=-this.selectedSlide.target,this.velocity=0,this.positionSlider())},getPositionValue:function(t){return this.options.percentPosition?.01*Math.round(t/this.size.innerWidth*1e4)+"%":Math.round(t)+"px"},settle:function(t){!this.isPointerDown&&Math.round(100*this.x)==Math.round(100*t)&&this.restingFrames++,this.restingFrames>2&&(this.isAnimating=!1,delete this.isFreeScrolling,this.positionSlider(),this.dispatchEvent("settle",null,[this.selectedIndex]))},shiftWrapCells:function(t){var e=this.cursorPosition+t;this._shiftCells(this.beforeShiftCells,e,-1);var i=this.size.innerWidth-(t+this.slideableWidth+this.cursorPosition);this._shiftCells(this.afterShiftCells,i,1)},_shiftCells:function(t,e,i){for(var n=0;n<t.length;n++){var o=t[n],s=e>0?i:0;o.wrapShift(s),e-=o.size.outerWidth}},_unshiftCells:function(t){if(t&&t.length)for(var e=0;e<t.length;e++)t[e].wrapShift(0)},integratePhysics:function(){this.x+=this.velocity,this.velocity*=this.getFrictionFactor()},applyForce:function(t){this.velocity+=t},getFrictionFactor:function(){return 1-this.options[this.isFreeScrolling?"freeScrollFriction":"friction"]},getRestingPosition:function(){return this.x+this.velocity/(1-this.getFrictionFactor())},applyDragForce:function(){if(this.isDraggable&&this.isPointerDown){var t=this.dragX-this.x-this.velocity;this.applyForce(t)}},applySelectedAttraction:function(){if((!this.isDraggable||!this.isPointerDown)&&!this.isFreeScrolling&&this.slides.length){var t=(-1*this.selectedSlide.target-this.x)*this.options.selectedAttraction;this.applyForce(t)}}};return i}(0,t)}.apply(w={},X=[u]),void 0!==b||(b=w),V=window,S=function(t,e,i,n,o,s){return function(t,e,i,n,o,s,r){var a=t.jQuery,l=t.getComputedStyle,c=t.console;function h(t,e){for(t=n.makeArray(t);t.length;)e.appendChild(t.shift())}var d=0,u={};function p(t,e){var i=n.getQueryElement(t);if(i){if(this.element=i,this.element.flickityGUID){var o=u[this.element.flickityGUID];return o&&o.option(e),o}a&&(this.$element=a(this.element)),this.options=n.extend({},this.constructor.defaults),this.option(e),this._create()}else c&&c.error("Bad element for Flickity: "+(i||t))}p.defaults={accessibility:!0,cellAlign:"center",freeScrollFriction:.075,friction:.28,namespaceJQueryEvents:!0,percentPosition:!0,resize:!0,selectedAttraction:.025,setGallerySize:!0},p.createMethods=[];var f=p.prototype;n.extend(f,e.prototype),f._create=function(){var e=this.guid=++d;for(var i in this.element.flickityGUID=e,u[e]=this,this.selectedIndex=0,this.restingFrames=0,this.x=0,this.velocity=0,this.originSide=this.options.rightToLeft?"right":"left",this.viewport=document.createElement("div"),this.viewport.className="flickity-viewport",this._createSlider(),(this.options.resize||this.options.watchCSS)&&t.addEventListener("resize",this),this.options.on){var n=this.options.on[i];this.on(i,n)}p.createMethods.forEach(function(t){this[t]()},this),this.options.watchCSS?this.watchCSS():this.activate()},f.option=function(t){n.extend(this.options,t)},f.activate=function(){this.isActive||(this.isActive=!0,this.element.classList.add("flickity-enabled"),this.options.rightToLeft&&this.element.classList.add("flickity-rtl"),this.getSize(),h(this._filterFindCellElements(this.element.children),this.slider),this.viewport.appendChild(this.slider),this.element.appendChild(this.viewport),this.reloadCells(),this.options.accessibility&&(this.element.tabIndex=0,this.element.addEventListener("keydown",this)),this.emitEvent("activate"),this.selectInitialIndex(),this.isInitActivated=!0,this.dispatchEvent("ready"))},f._createSlider=function(){var t=document.createElement("div");t.className="flickity-slider",t.style[this.originSide]=0,this.slider=t},f._filterFindCellElements=function(t){return n.filterFindElements(t,this.options.cellSelector)},f.reloadCells=function(){this.cells=this._makeCells(this.slider.children),this.positionCells(),this._getWrapShiftCells(),this.setGallerySize()},f._makeCells=function(t){return this._filterFindCellElements(t).map(function(t){return new o(t,this)},this)},f.getLastCell=function(){return this.cells[this.cells.length-1]},f.getLastSlide=function(){return this.slides[this.slides.length-1]},f.positionCells=function(){this._sizeCells(this.cells),this._positionCells(0)},f._positionCells=function(t){t=t||0,this.maxCellHeight=t&&this.maxCellHeight||0;var e=0;if(t>0){var i=this.cells[t-1];e=i.x+i.size.outerWidth}for(var n=this.cells.length,o=t;o<n;o++){var s=this.cells[o];s.setPosition(e),e+=s.size.outerWidth,this.maxCellHeight=Math.max(s.size.outerHeight,this.maxCellHeight)}this.slideableWidth=e,this.updateSlides(),this._containSlides(),this.slidesWidth=n?this.getLastSlide().target-this.slides[0].target:0},f._sizeCells=function(t){t.forEach(function(t){t.getSize()})},f.updateSlides=function(){if(this.slides=[],this.cells.length){var t=new s(this);this.slides.push(t);var e="left"==this.originSide?"marginRight":"marginLeft",i=this._getCanCellFit();this.cells.forEach(function(n,o){if(t.cells.length){var r=t.outerWidth-t.firstMargin+(n.size.outerWidth-n.size[e]);i.call(this,o,r)||(t.updateTarget(),t=new s(this),this.slides.push(t)),t.addCell(n)}else t.addCell(n)},this),t.updateTarget(),this.updateSelectedSlide()}},f._getCanCellFit=function(){var t=this.options.groupCells;if(!t)return function(){return!1};if("number"==typeof t){var e=parseInt(t,10);return function(t){return t%e!==0}}var i="string"==typeof t&&t.match(/^(\d+)%$/),n=i?parseInt(i[1],10)/100:1;return function(t,e){return e<=(this.size.innerWidth+1)*n}},f._init=f.reposition=function(){this.positionCells(),this.positionSliderAtSelected()},f.getSize=function(){this.size=i(this.element),this.setCellAlign(),this.cursorPosition=this.size.innerWidth*this.cellAlign};var v={center:{left:.5,right:.5},left:{left:0,right:1},right:{right:0,left:1}};return f.setCellAlign=function(){var t=v[this.options.cellAlign];this.cellAlign=t?t[this.originSide]:this.options.cellAlign},f.setGallerySize=function(){if(this.options.setGallerySize){var t=this.options.adaptiveHeight&&this.selectedSlide?this.selectedSlide.height:this.maxCellHeight;this.viewport.style.height=t+"px"}},f._getWrapShiftCells=function(){if(this.options.wrapAround){this._unshiftCells(this.beforeShiftCells),this._unshiftCells(this.afterShiftCells);var t=this.cursorPosition,e=this.cells.length-1;this.beforeShiftCells=this._getGapCells(t,e,-1),t=this.size.innerWidth-this.cursorPosition,this.afterShiftCells=this._getGapCells(t,0,1)}},f._getGapCells=function(t,e,i){for(var n=[];t>0;){var o=this.cells[e];if(!o)break;n.push(o),e+=i,t-=o.size.outerWidth}return n},f._containSlides=function(){if(this.options.contain&&!this.options.wrapAround&&this.cells.length){var t=this.options.rightToLeft,e=t?"marginRight":"marginLeft",i=t?"marginLeft":"marginRight",n=this.slideableWidth-this.getLastCell().size[i],o=n<this.size.innerWidth,s=this.cursorPosition+this.cells[0].size[e],r=n-this.size.innerWidth*(1-this.cellAlign);this.slides.forEach(function(t){o?t.target=n*this.cellAlign:(t.target=Math.max(t.target,s),t.target=Math.min(t.target,r))},this)}},f.dispatchEvent=function(t,e,i){var n=e?[e].concat(i):i;if(this.emitEvent(t,n),a&&this.$element){var o=t+=this.options.namespaceJQueryEvents?".flickity":"";if(e){var s=new a.Event(e);s.type=t,o=s}this.$element.trigger(o,i)}},f.select=function(t,e,i){if(this.isActive&&(t=parseInt(t,10),this._wrapSelect(t),(this.options.wrapAround||e)&&(t=n.modulo(t,this.slides.length)),this.slides[t])){var o=this.selectedIndex;this.selectedIndex=t,this.updateSelectedSlide(),i?this.positionSliderAtSelected():this.startAnimation(),this.options.adaptiveHeight&&this.setGallerySize(),this.dispatchEvent("select",null,[t]),t!=o&&this.dispatchEvent("change",null,[t]),this.dispatchEvent("cellSelect")}},f._wrapSelect=function(t){var e=this.slides.length;if(!(this.options.wrapAround&&e>1))return t;var i=n.modulo(t,e),o=Math.abs(i-this.selectedIndex),s=Math.abs(i+e-this.selectedIndex),r=Math.abs(i-e-this.selectedIndex);!this.isDragSelect&&s<o?t+=e:!this.isDragSelect&&r<o&&(t-=e),t<0?this.x-=this.slideableWidth:t>=e&&(this.x+=this.slideableWidth)},f.previous=function(t,e){this.select(this.selectedIndex-1,t,e)},f.next=function(t,e){this.select(this.selectedIndex+1,t,e)},f.updateSelectedSlide=function(){var t=this.slides[this.selectedIndex];t&&(this.unselectSelectedSlide(),this.selectedSlide=t,t.select(),this.selectedCells=t.cells,this.selectedElements=t.getCellElements(),this.selectedCell=t.cells[0],this.selectedElement=this.selectedElements[0])},f.unselectSelectedSlide=function(){this.selectedSlide&&this.selectedSlide.unselect()},f.selectInitialIndex=function(){var t=this.options.initialIndex;if(this.isInitActivated)this.select(this.selectedIndex,!1,!0);else{if(t&&"string"==typeof t&&this.queryCell(t))return void this.selectCell(t,!1,!0);var e=0;t&&this.slides[t]&&(e=t),this.select(e,!1,!0)}},f.selectCell=function(t,e,i){var n=this.queryCell(t);if(n){var o=this.getCellSlideIndex(n);this.select(o,e,i)}},f.getCellSlideIndex=function(t){for(var e=0;e<this.slides.length;e++)if(-1!=this.slides[e].cells.indexOf(t))return e},f.getCell=function(t){for(var e=0;e<this.cells.length;e++){var i=this.cells[e];if(i.element==t)return i}},f.getCells=function(t){t=n.makeArray(t);var e=[];return t.forEach(function(t){var i=this.getCell(t);i&&e.push(i)},this),e},f.getCellElements=function(){return this.cells.map(function(t){return t.element})},f.getParentCell=function(t){var e=this.getCell(t);return e||(t=n.getParent(t,".flickity-slider > *"),this.getCell(t))},f.getAdjacentCellElements=function(t,e){if(!t)return this.selectedSlide.getCellElements();e=void 0===e?this.selectedIndex:e;var i=this.slides.length;if(1+2*t>=i)return this.getCellElements();for(var o=[],s=e-t;s<=e+t;s++){var r=this.options.wrapAround?n.modulo(s,i):s,a=this.slides[r];a&&(o=o.concat(a.getCellElements()))}return o},f.queryCell=function(t){if("number"==typeof t)return this.cells[t];if("string"==typeof t){if(t.match(/^[#.]?[\d/]/))return;t=this.element.querySelector(t)}return this.getCell(t)},f.uiChange=function(){this.emitEvent("uiChange")},f.childUIPointerDown=function(t){"touchstart"!=t.type&&t.preventDefault(),this.focus()},f.onresize=function(){this.watchCSS(),this.resize()},n.debounceMethod(p,"onresize",150),f.resize=function(){if(this.isActive&&!this.isAnimating&&!this.isDragging){this.getSize(),this.options.wrapAround&&(this.x=n.modulo(this.x,this.slideableWidth)),this.positionCells(),this._getWrapShiftCells(),this.setGallerySize(),this.emitEvent("resize");var t=this.selectedElements&&this.selectedElements[0];this.selectCell(t,!1,!0)}},f.watchCSS=function(){this.options.watchCSS&&(-1!=l(this.element,":after").content.indexOf("flickity")?this.activate():this.deactivate())},f.onkeydown=function(t){var e=document.activeElement&&document.activeElement!=this.element;if(this.options.accessibility&&!e){var i=p.keyboardHandlers[t.keyCode];i&&i.call(this)}},p.keyboardHandlers={37:function(){var t=this.options.rightToLeft?"next":"previous";this.uiChange(),this[t]()},39:function(){var t=this.options.rightToLeft?"previous":"next";this.uiChange(),this[t]()}},f.focus=function(){var e=t.pageYOffset;this.element.focus({preventScroll:!0}),t.pageYOffset!=e&&t.scrollTo(t.pageXOffset,e)},f.deactivate=function(){this.isActive&&(this.element.classList.remove("flickity-enabled"),this.element.classList.remove("flickity-rtl"),this.unselectSelectedSlide(),this.cells.forEach(function(t){t.destroy()}),this.element.removeChild(this.viewport),h(this.slider.children,this.element),this.options.accessibility&&(this.element.removeAttribute("tabIndex"),this.element.removeEventListener("keydown",this)),this.isActive=!1,this.emitEvent("deactivate"))},f.destroy=function(){this.deactivate(),t.removeEventListener("resize",this),this.allOff(),this.emitEvent("destroy"),a&&this.$element&&a.removeData(this.element,"flickity"),delete this.element.flickityGUID,delete u[this.guid]},n.extend(f,r),p.data=function(t){var e=(t=n.getQueryElement(t))&&t.flickityGUID;return e&&u[e]},n.htmlInit(p,"flickity"),a&&a.bridget&&a.bridget("flickity",p),p.setJQuery=function(t){a=t},p.Cell=o,p.Slide=s,p}(V,t,e,i,n,o,s)}.apply(E={},X=[n,r,u,f,g,b]),void 0!==S||(S=E),function(t){C=function(e){return function(t,e){function i(){}function n(){}var o=n.prototype=Object.create(e.prototype);o.bindStartEvent=function(t){this._bindStartEvent(t,!0)},o.unbindStartEvent=function(t){this._bindStartEvent(t,!1)},o._bindStartEvent=function(e,i){var n=(i=void 0===i||i)?"addEventListener":"removeEventListener",o="mousedown";"ontouchstart"in t?o="touchstart":t.PointerEvent&&(o="pointerdown"),e[n](o,this)},o.handleEvent=function(t){var e="on"+t.type;this[e]&&this[e](t)},o.getTouch=function(t){for(var e=0;e<t.length;e++){var i=t[e];if(i.identifier==this.pointerIdentifier)return i}},o.onmousedown=function(t){var e=t.button;e&&0!==e&&1!==e||this._pointerDown(t,t)},o.ontouchstart=function(t){this._pointerDown(t,t.changedTouches[0])},o.onpointerdown=function(t){this._pointerDown(t,t)},o._pointerDown=function(t,e){t.button||this.isPointerDown||(this.isPointerDown=!0,this.pointerIdentifier=void 0!==e.pointerId?e.pointerId:e.identifier,this.pointerDown(t,e))},o.pointerDown=function(t,e){this._bindPostStartEvents(t),this.emitEvent("pointerDown",[t,e])};var s={mousedown:["mousemove","mouseup"],touchstart:["touchmove","touchend","touchcancel"],pointerdown:["pointermove","pointerup","pointercancel"]};return o._bindPostStartEvents=function(e){if(e){var i=s[e.type];i.forEach(function(e){t.addEventListener(e,this)},this),this._boundPointerEvents=i}},o._unbindPostStartEvents=function(){this._boundPointerEvents&&(this._boundPointerEvents.forEach(function(e){t.removeEventListener(e,this)},this),delete this._boundPointerEvents)},o.onmousemove=function(t){this._pointerMove(t,t)},o.onpointermove=function(t){t.pointerId==this.pointerIdentifier&&this._pointerMove(t,t)},o.ontouchmove=function(t){var e=this.getTouch(t.changedTouches);e&&this._pointerMove(t,e)},o._pointerMove=function(t,e){this.pointerMove(t,e)},o.pointerMove=function(t,e){this.emitEvent("pointerMove",[t,e])},o.onmouseup=function(t){this._pointerUp(t,t)},o.onpointerup=function(t){t.pointerId==this.pointerIdentifier&&this._pointerUp(t,t)},o.ontouchend=function(t){var e=this.getTouch(t.changedTouches);e&&this._pointerUp(t,e)},o._pointerUp=function(t,e){this._pointerDone(),this.pointerUp(t,e)},o.pointerUp=function(t,e){this.emitEvent("pointerUp",[t,e])}
2,o._pointerDone=function(){this._pointerReset(),this._unbindPostStartEvents(),this.pointerDone()},o._pointerReset=function(){this.isPointerDown=!1,delete this.pointerIdentifier},o.pointerDone=i,o.onpointercancel=function(t){t.pointerId==this.pointerIdentifier&&this._pointerCancel(t,t)},o.ontouchcancel=function(t){var e=this.getTouch(t.changedTouches);e&&this._pointerCancel(t,e)},o._pointerCancel=function(t,e){this._pointerDone(),this.pointerCancel(t,e)},o.pointerCancel=function(t,e){this.emitEvent("pointerCancel",[t,e])},n.getPointerPoint=function(t){return{x:t.pageX,y:t.pageY}},n}(t,e)}.apply(x={},X=[n]),void 0!==C||(C=x)}(window),function(t){k=function(e){return function(t,e){function i(){}var n=i.prototype=Object.create(e.prototype);n.bindHandles=function(){this._bindHandles(!0)},n.unbindHandles=function(){this._bindHandles(!1)},n._bindHandles=function(e){for(var i=(e=void 0===e||e)?"addEventListener":"removeEventListener",n=e?this._touchActionValue:"",o=0;o<this.handles.length;o++){var s=this.handles[o];this._bindStartEvent(s,e),s[i]("click",this),t.PointerEvent&&(s.style.touchAction=n)}},n._touchActionValue="none",n.pointerDown=function(t,e){this.okayPointerDown(t)&&(this.pointerDownPointer={pageX:e.pageX,pageY:e.pageY},t.preventDefault(),this.pointerDownBlur(),this._bindPostStartEvents(t),this.emitEvent("pointerDown",[t,e]))};var o={TEXTAREA:!0,INPUT:!0,SELECT:!0,OPTION:!0},s={radio:!0,checkbox:!0,button:!0,submit:!0,image:!0,file:!0};return n.okayPointerDown=function(t){var e=o[t.target.nodeName],i=s[t.target.type],n=!e||i;return n||this._pointerReset(),n},n.pointerDownBlur=function(){var t=document.activeElement;t&&t.blur&&t!=document.body&&t.blur()},n.pointerMove=function(t,e){var i=this._dragPointerMove(t,e);this.emitEvent("pointerMove",[t,e,i]),this._dragMove(t,e,i)},n._dragPointerMove=function(t,e){var i={x:e.pageX-this.pointerDownPointer.pageX,y:e.pageY-this.pointerDownPointer.pageY};return!this.isDragging&&this.hasDragStarted(i)&&this._dragStart(t,e),i},n.hasDragStarted=function(t){return Math.abs(t.x)>3||Math.abs(t.y)>3},n.pointerUp=function(t,e){this.emitEvent("pointerUp",[t,e]),this._dragPointerUp(t,e)},n._dragPointerUp=function(t,e){this.isDragging?this._dragEnd(t,e):this._staticClick(t,e)},n._dragStart=function(t,e){this.isDragging=!0,this.isPreventing
vendor: 13,644 bytes, line 2
2Clicks=!0,this.dragStart(t,e)},n.dragStart=function(t,e){this.emitEvent("dragStart",[t,e])},n._dragMove=function(t,e,i){this.isDragging&&this.dragMove(t,e,i)},n.dragMove=function(t,e,i){t.preventDefault(),this.emitEvent("dragMove",[t,e,i])},n._dragEnd=function(t,e){this.isDragging=!1,setTimeout(function(){delete this.isPreventingClicks}.bind(this)),this.dragEnd(t,e)},n.dragEnd=function(t,e){this.emitEvent("dragEnd",[t,e])},n.onclick=function(t){this.isPreventingClicks&&t.preventDefault()},n._staticClick=function(t,e){this.isIgnoringMouseUp&&"mouseup"==t.type||(this.staticClick(t,e),"mouseup"!=t.type&&(this.isIgnoringMouseUp=!0,setTimeout(function(){delete this.isIgnoringMouseUp}.bind(this),400)))},n.staticClick=function(t,e){this.emitEvent("staticClick",[t,e])},i.getPointerPoint=e.getPointerPoint,i}(t,e)}.apply(D={},X=[C]),void 0!==k||(k=D)}(window),Y=window,A=function(t,e,i){return function(t,e,i,n){n.extend(e.defaults,{draggable:">1",dragThreshold:3}),e.createMethods.push("_createDrag");var o=e.prototype;n.extend(o,i.prototype),o._touchActionValue="pan-y",o._createDrag=function(){this.on("activate",this.onActivateDrag),this.on("uiChange",this._uiChangeDrag),this.on("deactivate",this.onDeactivateDrag),this.on("cellChange",this.updateDraggable)},o.onActivateDrag=function(){this.handles=[this.viewport],this.bindHandles(),this.updateDraggable()},o.onDeactivateDrag=function(){this.unbindHandles(),this.element.classList.remove("is-draggable")},o.updateDraggable=function(){">1"==this.options.draggable?this.isDraggable=this.slides.length>1:this.isDraggable=this.options.draggable,this.isDraggable?this.element.classList.add("is-draggable"):this.element.classList.remove("is-draggable")},o.bindDrag=function(){this.options.draggable=!0,this.updateDraggable()},o.unbindDrag=function(){this.options.draggable=!1,this.updateDraggable()},o._uiChangeDrag=function(){delete this.isFreeScrolling},o.pointerDown=function(e,i){this.isDraggable?this.okayPointerDown(e)&&(this._pointerDownPreventDefault(e),this.pointerDownFocus(e),document.activeElement!=this.element&&this.pointerDownBlur(),this.dragX=this.x,this.viewport.classList.add("is-pointer-down"),this.pointerDownScroll=r(),t.addEventListener("scroll",this),this._pointerDownDefault(e,i)):this._pointerDownDefault(e,i)},o._pointerDownDefault=function(t,e){this.pointerDownPointer={pageX:e.pageX,pageY:e.pageY},this._bindPostStartEvents(t),this.dispatchEvent("pointerDown",t,[e])};var s={INPUT:!0,TEXTAREA:!0,SELECT:!0};function r(){return{x:t.pageXOffset,y:t.pageYOffset}}return o.pointerDownFocus=function(t){s[t.target.nodeName]||this.focus()},o._pointerDownPreventDefault=function(t){var e="touchstart"==t.type,i="touch"==t.pointerType,n=s[t.target.nodeName];e||i||n||t.preventDefault()},o.hasDragStarted=function(t){return Math.abs(t.x)>this.options.dragThreshold},o.pointerUp=function(t,e){delete this.isTouchScrolling,this.viewport.classList.remove("is-pointer-down"),this.dispatchEvent("pointerUp",t,[e]),this._dragPointerUp(t,e)},o.pointerDone=function(){t.removeEventListener("scroll",this),delete this.pointerDownScroll},o.dragStart=function(e,i){this.isDraggable&&(this.dragStartPosition=this.x,this.startAnimation(),t.removeEventListener("scroll",this),this.dispatchEvent("dragStart",e,[i]))},o.pointerMove=function(t,e){var i=this._dragPointerMove(t,e);this.dispatchEvent("pointerMove",t,[e,i]),this._dragMove(t,e,i)},o.dragMove=function(t,e,i){if(this.isDraggable){t.preventDefault(),this.previousDragX=this.dragX;var n=this.options.rightToLeft?-1:1;this.options.wrapAround&&(i.x%=this.slideableWidth);var o=this.dragStartPosition+i.x*n;if(!this.options.wrapAround&&this.slides.length){var s=Math.max(-this.slides[0].target,this.dragStartPosition);o=o>s?.5*(o+s):o;var r=Math.min(-this.getLastSlide().target,this.dragStartPosition);o=o<r?.5*(o+r):o}this.dragX=o,this.dragMoveTime=new Date,this.dispatchEvent("dragMove",t,[e,i])}},o.dragEnd=function(t,e){if(this.isDraggable){this.options.freeScroll&&(this.isFreeScrolling=!0);var i=this.dragEndRestingSelect();if(this.options.freeScroll&&!this.options.wrapAround){var n=this.getRestingPosition();this.isFreeScrolling=-n>this.slides[0].target&&-n<this.getLastSlide().target}else this.options.freeScroll||i!=this.selectedIndex||(i+=this.dragEndBoostSelect());delete this.previousDragX,this.isDragSelect=this.options.wrapAround,this.select(i),delete this.isDragSelect,this.dispatchEvent("dragEnd",t,[e])}},o.dragEndRestingSelect=function(){var t=this.getRestingPosition(),e=Math.abs(this.getSlideDistance(-t,this.selectedIndex)),i=this._getClosestResting(t,e,1),n=this._getClosestResting(t,e,-1);return i.distance<n.distance?i.index:n.index},o._getClosestResting=function(t,e,i){for(var n=this.selectedIndex,o=1/0,s=this.options.contain&&!this.options.wrapAround?function(t,e){return t<=e}:function(t,e){return t<e};s(e,o)&&(n+=i,o=e,null!==(e=this.getSlideDistance(-t,n)));)e=Math.abs(e);return{distance:o,index:n-i}},o.getSlideDistance=function(t,e){var i=this.slides.length,o=this.options.wrapAround&&i>1,s=o?n.modulo(e,i):e,r=this.slides[s];if(!r)return null;var a=o?this.slideableWidth*Math.floor(e/i):0;return t-(r.target+a)},o.dragEndBoostSelect=function(){if(void 0===this.previousDragX||!this.dragMoveTime||new Date-this.dragMoveTime>100)return 0;var t=this.getSlideDistance(-this.dragX,this.selectedIndex),e=this.previousDragX-this.dragX;return t>0&&e>0?1:t<0&&e<0?-1:0},o.staticClick=function(t,e){var i=this.getParentCell(t.target),n=i&&i.element,o=i&&this.cells.indexOf(i);this.dispatchEvent("staticClick",t,[e,n,o])},o.onscroll=function(){var t=r(),e=this.pointerDownScroll.x-t.x,i=this.pointerDownScroll.y-t.y;(Math.abs(e)>3||Math.abs(i)>3)&&this._pointerDone()},e}(Y,t,e,i)}.apply(P={},X=[S,k,u]),void 0!==A||(A=P),window,_=function(t,e,i){return function(t,e,i,n){"use strict";var o="http://www.w3.org/2000/svg";function s(t,e){this.direction=t,this.parent=e,this._create()}function r(t){return"string"==typeof t?t:"M "+t.x0+",50 L "+t.x1+","+(t.y1+50)+" L "+t.x2+","+(t.y2+50)+" L "+t.x3+",50  L "+t.x2+","+(50-t.y2)+" L "+t.x1+","+(50-t.y1)+" Z"}s.prototype=Object.create(i.prototype),s.prototype._create=function(){this.isEnabled=!0,this.isPrevious=-1==this.direction;var t=this.parent.options.rightToLeft?1:-1;this.isLeft=this.direction==t;var e=this.element=document.createElement("button");e.className="flickity-button flickity-prev-next-button",e.className+=this.isPrevious?" previous":" next",e.setAttribute("type","button"),this.disable(),e.setAttribute("aria-label",this.isPrevious?"Previous":"Next");var i=this.createSVG();e.appendChild(i),this.parent.on("select",this.update.bind(this)),this.on("pointerDown",this.parent.childUIPointerDown.bind(this.parent))},s.prototype.activate=function(){this.bindStartEvent(this.element),this.element.addEventListener("click",this),this.parent.element.appendChild(this.element)},s.prototype.deactivate=function(){this.parent.element.removeChild(this.element),this.unbindStartEvent(this.element),this.element.removeEventListener("click",this)},s.prototype.createSVG=function(){var t=document.createElementNS(o,"svg");t.setAttribute("class","flickity-button-icon"),t.setAttribute("viewBox","0 0 100 100");var e=document.createElementNS(o,"path"),i=r(this.parent.options.arrowShape);return e.setAttribute("d",i),e.setAttribute("class","arrow"),this.isLeft||e.setAttribute("transform","translate(100, 100) rotate(180) "),t.appendChild(e),t},s.prototype.handleEvent=n.handleEvent,s.prototype.onclick=function(){if(this.isEnabled){this.parent.uiChange();var t=this.isPrevious?"previous":"next";this.parent[t]()}},s.prototype.enable=function(){this.isEnabled||(this.element.disabled=!1,this.isEnabled=!0)},s.prototype.disable=function(){this.isEnabled&&(this.element.disabled=!0,this.isEnabled=!1)},s.prototype.update=function(){var t=this.parent.slides;if(this.parent.options.wrapAround&&t.length>1)this.enable();else{var e=t.length?t.length-1:0,i=this.isPrevious?0:e;this[this.parent.selectedIndex==i?"disable":"enable"]()}},s.prototype.destroy=function(){this.deactivate(),this.allOff()},n.extend(e.defaults,{prevNextButtons:!0,arrowShape:{x0:10,x1:60,y1:50,x2:70,y2:40,x3:30}}),e.createMethods.push("_createPrevNextButtons");var a=e.prototype;return a._createPrevNextButtons=function(){this.options.prevNextButtons&&(this.prevButton=new s(-1,this),this.nextButton=new s(1,this),this.on("activate",this.activatePrevNextButtons))},a.activatePrevNextButtons=function(){this.prevButton.activate(),this.nextButton.activate(),this.on("deactivate",this.deactivatePrevNextButtons)},a.deactivatePrevNextButtons=function(){this.prevButton.deactivate(),this.nextButton.deactivate(),this.off("deactivate",this.deactivatePrevNextButtons)},e.PrevNextButton=s,e}(0,t,e,i)}.apply(L={},X=[S,C,u]),void 0!==_||(_=L),window,I=function(t,e,i){return function(t,e,i,n){function o(t){this.parent=t,this._create()}o.prototype=Object.create(i.prototype),o.prototype._create=function(){this.holder=document.createElement("ol"),this.holder.className="flickity-page-dots",this.dots=[],this.handleClick=this.onClick.bind(this),this.on("pointerDown",this.parent.childUIPointerDown.bind(this.parent))},o.prototype.activate=function(){this.setDots(),this.holder.addEventListener("click",this.handleClick),this.bindStartEvent(this.holder),this.parent.element.appendChild(this.holder)},o.prototype.deactivate=function(){this.holder.removeEventListener("click",this.handleClick),this.unbindStartEvent(this.holder),this.parent.element.removeChild(this.holder)},o.prototype.setDots=function(){var t=this.parent.slides.length-this.dots.length;t>0?this.addDots(t):t<0&&this.removeDots(-t)},o.prototype.addDots=function(t){for(var e=document.createDocumentFragment(),i=[],n=this.dots.length,o=n+t,s=n;s<o;s++){var r=document.createElement("li");r.className="dot",r.setAttribute("aria-label","Page dot "+(s+1)),e.appendChild(r),i.push(r)}this.holder.appendChild(e),this.dots=this.dots.concat(i)},o.prototype.removeDots=function(t){this.dots.splice(this.dots.length-t,t).forEach(function(t){this.holder.removeChild(t)},this)},o.prototype.updateSelected=function(){this.selectedDot&&(this.selectedDot.className="dot",this.selectedDot.removeAttribute("aria-current")),this.dots.length&&(this.selectedDot=this.dots[this.parent.selectedIndex],this.selectedDot.className="dot is-selected",this.selectedDot.setAttribute("aria-current","step"))},o.prototype.onTap=o.prototype.onClick=function(t){var e=t.target;if("LI"==e.nodeName){this.parent.uiChange();var i=this.dots.indexOf(e);this.parent.select(i)}},o.prototype.destroy=function(){this.deactivate(),this.allOff()},e.PageDots=o,n.extend(e.defaults,{pageDots:!0}),e.createMethods.push("_createPageDots");var s=e.prototype;return s._createPageDots=function(){this.options.pageDots&&(this.pageDots=new o(this),this.on("activate",this.activatePageDots),this.on("select",this.updateSelectedPageDots),this.on("cellChange",this.updatePageDots),this.on("resize",this.updatePageDots),this.on("deactivate",this.deactivatePageDots))},s.activatePageDots=function(){this.pageDots.activate()},s.updateSelectedPageDots=function(){this.pageDots.updateSelected()},s.updatePageDots=function(){this.pageDots.setDots()},s.deactivatePageDots=function(){this.pageDots.deactivate()},e.PageDots=o,e}(0,t,e,i)}.apply(M={},X=[S,C,u]),void 0!==I||(I=M),window,z=function(t,e,i){return function(t,e,i){function n(t){this.parent=t,this.state="stopped",this.onVisibilityChange=this.visibilityChange.bind(this),this.onVisibilityPlay=this.visibilityPlay.bind(this)}n.prototype=Object.create(t.prototype),n.prototype.play=function(){"playing"!=this.state&&(document.hidden?document.addEventListener("visibilitychange",this.onVisibilityPlay):(this.state="playing",document.addEventListener("visibilitychange",this.onVisibilityChange),this.tick()))},n.prototype.tick=function(){if("playing"==this.state){var t=this.parent.options.autoPlay;t="number"==typeof t?t:3e3;var e=this;this.clear(),this.timeout=setTimeout(function(){e.parent.next(!0),e.tick()},t)}},n.prototype.stop=function(){this.state="stopped",this.clear(),document.removeEventListener("visibilitychange",this.onVisibilityChange)},n.prototype.clear=function(){clearTimeout(this.timeout)},n.prototype.pause=function(){"playing"==this.state&&(this.state="paused",this.clear())},n.prototype.unpause=function(){"paused"==this.state&&this.play()},n.prototype.visibilityChange=function(){this[document.hidden?"pause":"unpause"]()},n.prototype.visibilityPlay=function(){this.play(),document.removeEventListener("visibilitychange",this.onVisibilityPlay)},e.extend(i.defaults,{pauseAutoPlayOnHover:!0}),i.createMethods.push("_createPlayer");var o=i.prototype;return o._createPlayer=function(){this.player=new n(this),this.on("activate",this.activatePlayer),this.on("uiChange",this.stopPlayer),this.on("pointerDown",this.stopPlayer),this.on("deactivate",this.deactivatePlayer)},o.activatePlayer=function(){this.options.autoPlay&&(this.player.play(),this.element.addEventListener("mouseenter",this))},o.playPlayer=function(){this.player.play()},o.stopPlayer=function(){this.player.stop()},o.pausePlayer=function(){this.player.pause()},o.unpausePlayer=function(){this.player.unpause()},o.deactivatePlayer=function(){this.player.stop(),this.element.removeEventListener("mouseenter",this)},o.onmouseenter=function(){this.options.pauseAutoPlayOnHover&&(this.player.pause(),this.element.addEventListener("mouseleave",this))},o.onmouseleave=function(){this.player.unpause(),this.element.removeEventListener("mouseleave",this)},i.Player=n,i}(t,e,i)}.apply(T={},X=[n,u,S]),void 0!==z||(z=T),window,N=function(t,e){return function(t,e,
2i){function n(t){var e=document.createDocumentFragment();return t.forEach(function(t){e.appendChild(t.element)}),e}var o=e.prototype;return o.insert=function(t,e){var i=this._makeCells(t);if(i&&i.length){var o=this.cells.length;e=void 0===e?o:e;var s=n(i),r=e==o;if(r)this.slider.appendChild(s);else{var a=this.cells[e].element;this.slider.insertBefore(s,a)}if(0===e)this.cells=i.concat(this.cells);else if(r)this.cells=this.cells.concat(i);else{var l=this.cells.splice(e,o-e);this.cells=this.cells.concat(i).concat(l)}this._sizeCells(i),this.cellChange(e,!0)}},o.append=function(t){this.insert(t,this.cells.length)},o.prepend=function(t){this.insert(t,0)},o.remove=function(t){var e=this.getCells(t);if(e&&e.length){var n=this.cells.length-1;e.forEach(function(t){t.remove();var e=this.cells.indexOf(t);n=Math.min(e,n),i.removeFrom(this.cells,t)},this),this.cellChange(n,!0)}},o.cellSizeChange=function(t){var e=this.getCell(t);if(e){e.getSize();var i=this.cells.indexOf(e);this.cellChange(i)}},o.cellChange=function(t,e){var i=this.selectedElement;this._positionCells(t),this._getWrapShiftCells(),this.setGallerySize();var n=this.getCell(i);n&&(this.selectedIndex=this.getCellSlideIndex(n)),this.selectedIndex=Math.min(this.slides.length-1,this.selectedIndex),this.emitEvent("cellChange",[t]),this.select(this.selectedIndex),e&&this.positionSliderAtSelected()},e}(0,t,e)}.apply($={},X=[S,u]),void 0!==N||(N=$),window,B=function(t,e){return function(t,e,i){"use strict";e.createMethods.push("_createLazyload");var n=e.prototype;function o(t){if("IMG"==t.nodeName){var e=t.getAttribute("data-flickity-lazyload"),n=t.getAttribute("data-flickity-lazyload-src"),o=t.getAttribute("data-flickity-lazyload-srcset");if(e||n||o)return[t]}var s="img[data-flickity-lazyload], img[data-flickity-lazyload-src], img[data-flickity-lazyload-srcset]",r=t.querySelectorAll(s);return i.makeArray(r)}function s(t,e){this.img=t,this.flickity=e,this.load()}return n._createLazyload=function(){this.on("select",this.lazyLoad)},n.lazyLoad=function(){var t=this.options.lazyLoad;if(t){var e="number"==typeof t?t:0,i=this.getAdjacentCellElements(e),n=[];i.forEach(function(t){var e=o(t);n=n.concat(e)}),n.forEach(function(t){new s(t,this)},this)}},s.prototype.handleEvent=i.handleEvent,s.prototype.load=function(){this.img.addEventListener("load",this),this.img.addEventListener("error",this);var t=this.img.getAttribute("data-flickity-lazyload")||this.img.getAttribute("data-flickity-lazyload-src"),e=this.img.getAttribute("data-flickity-lazyload-srcset");this.img.src=t,e&&this.img.setAttribute("srcset",e),this.img.removeAttribute("data-flickity-lazyload"),this.img.removeAttribute("data-flickity-lazyload-src"),this.img.removeAttribute("data-flickity-lazyload-srcset")},s.prototype.onload=function(t){this.complete(t,"flickity-lazyloaded")},s.prototype.onerror=function(t){this.complete(t,"flickity-lazyerror")},s.prototype.complete=function(t,e){this.img.removeEventListener("load",this),this.img.removeEventListener("error",this);var i=this.flickity.getParentCell(this.img),n=i&&i.element;this.flickity.cellSizeChange(n),this.img.classList.add(e),this.flickity.dispatchEvent("lazyLoad",t,n)},e.LazyLoader=s,e}(0,t,e)}.apply(F={},X=[S,u]),void 0!==B||(B=F),window,W=[S,A,_,I,z,N,B],q=function(t){return t},"function"==typeof q?void 0===(R=q.apply(O={},W))&&(R=O):R=q,window,X=[R,u],U=function(t,e){t.createMethods.push("_createAsNavFor");var i=t.prototype;function n(t,e,i){return(e-t)*i+t}return i._createAsNavFor=function(){this.on("activate",this.activateAsNavFor),this.on("deactivate",this.deactivateAsNavFor),this.on("destroy",this.destroyAsNavFor);var t=this.options.asNavFor;if(t){var e=this;setTimeout(function(){e.setNavCompanion(t)})}},i.setNavCompanion=function(i){i=e.getQueryElement(i);var n=t.data(i);if(n&&n!=this){this.navCompanion=n;var o=this;this.onNavCompanionSelect=function(){o.navCompanionSelect()},n.on("select",this.onNavCompanionSelect),this.on("staticClick",this.onNavStaticClick),this.navCompanionSelect(!0)}},i.navCompanionSelect=function(t){var e=this.navCompanion&&this.navCompanion.selectedCells;if(e){var i=e[0],o=this.navCompanion.cells.indexOf(i),s=o+e.length-1,r=Math.floor(n(o,s,this.navCompanion.cellAlign));if(this.selectCell(r,!1,t),this.removeNavSelectedElements(),!(r>=this.cells.length)){var a=this.cells.slice(o,s+1);this.navSelectedElements=a.map(function(t){return t.element}),this.changeNavSelectedClass("add")}}},i.changeNavSelectedClass=function(t){this.navSelectedElements.forEac
vendor: 4,430 bytes, line 2
2h(function(e){e.classList[t]("is-nav-selected")})},i.activateAsNavFor=function(){this.navCompanionSelect(!0)},i.removeNavSelectedElements=function(){this.navSelectedElements&&(this.changeNavSelectedClass("remove"),delete this.navSelectedElements)},i.onNavStaticClick=function(t,e,i,n){"number"==typeof n&&this.navCompanion.selectCell(n)},i.deactivateAsNavFor=function(){this.removeNavSelectedElements()},i.destroyAsNavFor=function(){this.navCompanion&&(this.navCompanion.off("select",this.onNavCompanionSelect),this.off("staticClick",this.onNavStaticClick),delete this.navCompanion)},t},void 0===(G="function"==typeof U?U.apply(e,X):U)||(t.exports=G),function(t){"use strict";j=function(e){return function(t,e){var i=t.jQuery,n=t.console;function o(t,e){for(var i in e)t[i]=e[i];return t}var s=Array.prototype.slice;function r(t){return Array.isArray(t)?t:"object"==J(t)&&"number"==typeof t.length?s.call(t):[t]}function a(t,e,s){if(!(this instanceof a))return new a(t,e,s);var l=t;"string"==typeof t&&(l=document.querySelectorAll(t)),l?(this.elements=r(l),this.options=o({},this.options),"function"==typeof e?s=e:o(this.options,e),s&&this.on("always",s),this.getImages(),i&&(this.jqDeferred=new i.Deferred),setTimeout(this.check.bind(this))):n.error("Bad element for imagesLoaded "+(l||t))}a.prototype=Object.create(e.prototype),a.prototype.options={},a.prototype.getImages=function(){this.images=[],this.elements.forEach(this.addElementImages,this)},a.prototype.addElementImages=function(t){"IMG"==t.nodeName&&this.addImage(t),!0===this.options.background&&this.addElementBackgroundImages(t);var e=t.nodeType;if(e&&l[e]){for(var i=t.querySelectorAll("img"),n=0;n<i.length;n++){var o=i[n];this.addImage(o)}if("string"==typeof this.options.background){var s=t.querySelectorAll(this.options.background);for(n=0;n<s.length;n++){var r=s[n];this.addElementBackgroundImages(r)}}}};var l={1:!0,9:!0,11:!0};function c(t){this.img=t}function h(t,e){this.url=t,this.element=e,this.img=new Image}return a.prototype.addElementBackgroundImages=function(t){var e=getComputedStyle(t);if(e)for(var i=/url\((['"])?(.*?)\1\)/gi,n=i.exec(e.backgroundImage);null!==n;){var o=n&&n[2];o&&this.addBackground(o,t),n=i.exec(e.backgroundImage)}},a.prototype.addImage=function(t){var e=new c(t);this.images.push(e)},a.prototype.addBackground=function(t,e){var i=new h(t,e);this.images.push(i)},a.prototype.check=function(){var t=this;function e(e,i,n){setTimeout(function(){t.progress(e,i,n)})}this.progressedCount=0,this.hasAnyBroken=!1,this.images.length?this.images.forEach(function(t){t.once("progress",e),t.check()}):this.complete()},a.prototype.progress=function(t,e,i){this.progressedCount++,this.hasAnyBroken=this.hasAnyBroken||!t.isLoaded,this.emitEvent("progress",[this,t,e]),this.jqDeferred&&this.jqDeferred.notify&&this.jqDeferred.notify(this,t),this.progressedCount==this.images.length&&this.complete(),this.options.debug&&n&&n.log("progress: "+i,t,e)},a.prototype.complete=function(){var t=this.hasAnyBroken?"fail":"done";if(this.isComplete=!0,this.emitEvent(t,[this]),this.emitEvent("always",[this]),this.jqDeferred){var e=this.hasAnyBroken?"reject":"resolve";this.jqDeferred[e](this)}},c.prototype=Object.create(e.prototype),c.prototype.check=function(){this.getIsImageComplete()?this.confirm(0!==this.img.naturalWidth,"naturalWidth"):(this.proxyImage=new Image,this.proxyImage.addEventListener("load",this),this.proxyImage.addEventListener("error",this),this.img.addEventListener("load",this),this.img.addEventListener("error",this),this.proxyImage.src=this.img.src)},c.prototype.getIsImageComplete=function(){return this.img.complete&&this.img.naturalWidth},c.prototype.confirm=function(t,e){this.isLoaded=t,this.emitEvent("progress",[this,this.img,e])},c.prototype.handleEvent=function(t){var e="on"+t.type;this[e]&&this[e](t)},c.prototype.onload=function(){this.confirm(!0,"onload"),this.unbindEvents()},c.prototype.onerror=function(){this.confirm(!1,"onerror"),this.unbindEvents()},c.prototype.unbindEvents=function(){this.proxyImage.removeEventListener("load",this),this.proxyImage.removeEventListener("error",this),this.img.removeEventListener("load",this),this.img.removeEventListener("error",this)},h.prototype=Object.create(c.prototype),h.prototype.check=function(){this.img.addEventListener("load",this),this.img.addEventListener("error",this),this.img.src=this.url,this.getIsImageComplete()&&(this.confirm(0!==this.img.naturalWi
2dth,"naturalWidth"),this.unbindEvents())},h.prototype.unbindEvents=function(){this.img.removeEventListener("load",this),this.img.removeEventListener("error",this)},h.prototype.confirm=function(t,e){this.isLoaded=t,this.emitEvent("progress",[this,this.element,e])},a.makeJQueryPlugin=function(e){(e=e||t.jQuery)&&((i=e).fn.imagesLoaded=function(t,e){return new a(this,t,e).jqDeferred.promise(i(this))})},a.makeJQueryPlugin(),a}(t,e)}.apply(H={},X=[n]),void 0!==j||(j=H)}("undefined"!=typeof window?window:this),window,G=function(t,e){return function(t,e,i){"use strict";e.createMethods.push("_createImagesLoaded");var n=e.prototype;return n._createImagesLoaded=function(){this.on("activate",this.imagesLoaded)},n.imagesLoaded=function(){if(this.options.imagesLoaded){var t=this;i(this.slider).on("progress",e)}function e(e,i){var n=t.getParentCell(i.img);t.cellSizeChange(n&&n.element),t.options.freeScroll||t.positionSliderAtSelected()}},e}(0,t,e)}.apply(e,X=[R,j]),void 0===G||(t.exports=G)},4072:function(t,e,i){"use strict";i.r(e),i.d(e,{SingleProperty:function(){return c}});var n=i(3113),o=i.n(n);function s(t){return function(t){if(Array.isArray(t))return r(t)}(t)||function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(t)||function(t,e){if(t){if("string"==typeof t)return r(t,e);var i={}.toString.call(t).slice(8,-1);return"Object"===i&&t.constructor&&(i=t.constructor.name),"Map"===i||"Set"===i?Array.from(t):"Arguments"===i||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(i)?r(t,e):void 0}}(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function r(t,e){(null==e||e>t.length)&&(e=t.length);for(var i=0,n=Array(e);i<e;i++)n[i]=t[i];return n}var a=document.querySelector("body"),l=0,c={modalTrigger:!1,toggleFloorplans:function(){$(".see-all-floorplans a").on("click",function(){var t=$(this).parent(),e=$(this).attr("data-count");return t.hasClass("revealed")?(t.removeClass("revealed"),$(this).text("See All ("+e+")"),t.prev().children().slice(6).addClass("hidden")):(t.addClass("revealed"),$(this).text("See Less"),t.prev().children().removeClass("hidden")),!1})},toggleCtaBar:function(){$(window).on("scroll",function(){$(document).scrollTop()>100?$(".cta-bar").addClass("is-active"):$(".cta-bar").removeClass("is-active")})},truncateToggle:function(){$(".about_nighborhood__summary p:not(:first-of-type)").attr("aria-hidden","true").find("a").attr("tabindex","-1"),$(document).on("click",".truncate-toggle",function(){var t=$(this).prev(),e=t.find("p:not(:first-of-type)"),i=e.find("a");if(t.hasClass("expanded"))t.removeClass("expanded"),$(this).text("Read More"),e.attr("aria-hidden","true"),i.attr("tabindex","-1"),$("html, body").animate({scrollTop:$(".about_nighborhood").offset().top},500);else{t.addClass("expanded"),$(this).text("Read Less"),e.attr("aria-hidden","false"),i.attr("tabindex","0");var n=t.find("p a").first();n.length&&n.focus()}return!1})},loadImageSlider:function(){$(".property-photo-slider").flickity({cellSelector:".slide",pageDots:!1,wrapAround:!0,selectedAttraction:.1,friction:1,prevNextButtons:!0,lazyLoad:2,resize:!0})},loadVideosSlider:function(){$(".property-videos-slider").flickity({cellSelector:".slide",pageDots:!1,wrapAround:!0,selectedAttraction:.1,friction:1,prevNextButtons:!0,lazyLoad:2,resize:!0}).on("change.flickity",function(t,e){c.pauseMedia()})},loadToursSlider:function(){var t=$(".property-tours-slider").flickity({cellSelector:".slide",pageDots:!1,wrapAround:!0,selectedAttraction:.1,friction:1,prevNextButtons:!0,lazyLoad:2,resize:!0});t.on("change.flickity",function(t,e){c.pauseMedia()}),t.on("dragStart",function(){return document.ontouchmove=function(t){return t.preventDefault()}}),t.on("dragEnd",function(){return document.ontouchmove=function(){return!0}})},pauseMedia:function(){$("#modal-property-media video").each(function(){$(this).get(0).pause()}),$("#modal-property-media iframe").each(function(){var t=$(this).attr("src");$(this).attr("src",t)})},openModal:function(){$("body").addClass("hide-overflow"),l=window.pageYOffset,a.style.overflow="hidden",a.style.position="fixed",a.style.top="-".concat(l,"px"),a.style.width="100%",c.trapFocus(),$(".image-slider__slider").flickity("resize"),c.modalTrigger.focus(),$(".close-btn").focus()},closeModal:function(){$("body").removeClass("hide-overflow"),a.style.removeProperty("overflow"),a.style.removeProperty("position"),a.style.removeProperty("top"),a.style.removeProperty("width"),window.scrollTo(0,l),c.pauseMedia(),c.modalTrigger.focus()},modalPropertyPhotos:function(){$("[data-property-photos]").on("click",function(){return c.modalTrigger=$(this),c.openModal(),!1}),$(".close-btn").on("click",function(){return c.closeModal(),!1}),$("[data-tabs-button]").on("click",function(){$(".image-slider__slider").flickity("resize"),$(".property-tours-slider").flickity("resize"),$(".property-videos-slider").flickity("resize"),c.pauseMedia()}
2),$(document).keyup(function(t){"Escape"===t.key&&$("#modal-property-media").length>0&&$("#modal-property-media").is(":visible")&&c.closeModal()})},getFocusable:function(){var t=$("#modal-property-media");return $('a:visible, button:visible, textarea:visible, input[type="text"]:visible, input[type="radio"]:visible, input[type="checkbox"]:visible, select:visible',t)},trapFocus:function(){var t=$("#modal-property-media");t.on("keydown",function(t){if("Tab"===t.key||9===t.keyCode){var e=c.getFocusable(),i=e.first()[0],n=e.last()[0];t.shiftKey?document.activeElement===i&&(n.focus(),t.preventDefault()):document.activeElement===n&&(i.focus(),t.preventDefault())}})},flickitySliderArrows:function(){document.querySelectorAll(".photos-panel-2 .slide").forEach(function(t,e){0==e?$(".photos-panel-2").find(".is-control").hide():e>0&&$(".photos-panel-2").find(".is-control").show()})},videoPlayPause:function(){$(".btn-play-pause").click(function(){var t,e,i=$(this).hasClass("btn-play-pause-web")?"#banner-video-web":"#banner-video-mobile",n=$(i).get(0);e=this,(t=n).paused?(t.play(),$(e).removeClass("play").addClass("pause")):(t.pause(),$(e).removeClass("pause").addClass("play"))}),$(".btn-fullscreen-mob").click(function(){var t=document.getElementById("banner-video-mobile")||document.getElementById("banner-video-web");t&&(t.requestFullscreen?t.requestFullscreen():t.webkitEnterFullscreen?t.webkitEnterFullscreen():t.webkitRequestFullscreen?t.webkitRequestFullscreen():t.msRequestFullscreen&&t.msRequestFullscreen())})},getLanLong:function(){if($(".lat-long-address").length){var t=$(".lat-long-address"),e=t.data("latitude"),i=t.data("longitude"),n=!1;document.getElementById("lat-long-address-link").addEventListener("click",function(t){t.preventDefault(),navigator.geolocation?navigator.geolocation.getCurrentPosition(function(t){n=!0;var o=t.coords.latitude,s=t.coords.longitude,r="".concat(o,",").concat(s),a="".concat(e,",").concat(i);c.openDirections(r,a,n)},function(t){n=!1,c.openDirections("","".concat(e,",").concat(i),n),console.log("Unable to retrieve your location. Please allow location access.")}):alert("Geolocation is not supported by your browser.")})}},openDirections:function(t,e,i){var n=navigator.userAgent||navigator.vendor||window.opera;i?/iPad|iPhone|iPod/.test(n)&&!window.MSStream?window.location.href="http://maps.apple.com/?saddr=".concat(encodeURIComponent(t),"&daddr=").concat(encodeURIComponent(e),"&dirflg=d"):/Android/.test(n)?window.location.href="https://www.google.com/maps/dir/?api=1&origin=".concat(encodeURIComponent(t),"&destination=").concat(encodeURIComponent(e),"&travelmode=driving"):window.open("https://www.google.com/maps/dir/?api=1&origin=".concat(encodeURIComponent(t),"&destination=").concat(encodeURIComponent(e),"&travelmode=driving"),"_blank"):/iPad|iPhone|iPod/.test(n)&&!window.MSStream?window.location.href="http://maps.apple.com/?ll=".concat(encodeURIComponent(e)):/Android/.test(n)?window.location.href="geo:".concat(e):window.open("https://www.google.com/maps?q=".concat(encodeURIComponent(e)),"_blank")},backToTop:function(){var t=$(".wc_backToTop");t.css({transform:"translateY(100px)"});var e=function(){(window.scrollY||document.documentElement.scrollTop)>=500?t.css({transform:"translateX(0)"}):t.css({transform:"translateY(100px)"})};window.addEventListener("scroll",e),window.addEventListener("resize",e),window.addEventListener("load",e),$("a[href='#page-content']").click(function(){return $("html, body").animate({scrollTop:0},"slow"),!1}),e()},readMore:function(){var t=$(".overview-read-more-container");if(t.find("p").length>1){var e=$(".datalayer_property_details").attr("data-property-name");t.append('\n                <button class="read-more-btn transition-all text-brand-md-blue text-[16px] leading-6 font-nunito-sans font-extrabold flex items-center after:w-full after:h-[1px] after:absolute after:left-0 after:bottom-0 relative after:bg-brand-md-blue m-auto md:m-0" aria-label="Read More about '.concat(e,'">\n                  Read More \n                  <svg class="w-[6px] h-[12px] block ml-[8px] relative transition-all" viewBox="0 0 6 12" fill="none" xmlns="http://www.w3.org/2000/svg">\n                    <path id="Vector" d="M0 12L6 6L0 0V12Z" fill="#006BA1"></path>\n                  </svg>\n                </button>\n              '))}},customCTA_Button:function(){var t=new URLSearchParams(window.location.search),e=document.querySelector(".js-floorplan-cta-buttons");"unit-detail"!==t.get("spaces_tab")&&"plan-detail"!==t.get("spaces_tab")||null==e||e.classList.remove("hidden")},amenitiesSlider:function(){var t=document.querySelectorAll(".amenity-container li.amenity-with-image");if(t.length){var e=document.getElementById("amenity-preview"),i=document.getElementById("preview-slider"),n=document.getElementById("close-preview"),r=document.getElementById("amenity-lightbox"),a=document.getElementById("lightbox-slider"),l=document.getElementById("close-lightbox"),c=null,h=null,d=null,u=!1,p=null,f=window.innerWidth<=768,v=function(){return window.innerWidth<=768},g=null,m=new Map,y=new Set,b=function(){var e=[];t.forEach(function(t){var i,n=(null===(i=t.getAttribute("data-images"))||void 0===i?void 0:i.split(","))||[];e.push.apply(e,s(n))});var i=0,n=function(){e.slice(i,i+2).forEach(function(t){if(t.trim()&&!y.has(t.trim())){var e=new Image;e.onload=function(){m.set(t.trim(),e),y.add(t.trim())},e.src=t.trim()}}),(i+=2)<e.length&&setTimeout(n,1e3)};n()},w=function(t){var s,r;p=t;var a=(null===(s=t.getAttribute("data-images"))||void 0===s?void 0:s.split(","))||[],l=(null===(r=t.getAttribute("data-alt"))||void 0===r?void 0:r.split(","))||[],d=t.querySelector(".amenity-preview-icon");if(a.length){h&&(h.destroy(),h=null),i.innerHTML="",e.style.display="block",e.style.visibility="visible",u=!0;var f=e.querySelector(".amenity-loader");f&&(f.style.display="flex"),c?(c.state.elements.reference=d,c.update()):c=Popper.createPopper(d,e,{placement:"top-end",modifiers:[{name:"offset",options:{offset:[300,10]}},{name:"preventOverflow",options:{padding:10}},{name:"flip",options:{fallbackPlacements:["top-start","bottom-end"]}}]});var v=!1;a.map(function(t,e){var i,n=document.createElement("img");n.alt=(null===(i=l[e])||void 0===i?void 0:i.trim())||"Amenity image ".concat(e+1),n.loading="lazy",n.src=(m.has(t.trim()),t.trim());var o=document.createElement("div");
2return o.className="carousel-cell w-full",o.appendChild(n),n.onload=function(){v||(v=!0,f&&(f.style.display="none"),h.select(0,!1,!0),C()),C()},o}).forEach(function(t){return i.appendChild(t)}),(h=new(o())(i,{cellAlign:"left",contain:!0,pageDots:!1,prevNextButtons:!1,wrapAround:!1,lazyLoad:2})).select(0,!1,!0);var y=document.querySelector(".amenity-next"),b=document.querySelector(".amenity-prev");a.length<=1?(y.style.display="none",b.style.display="none"):(y.style.display="",b.style.display=""),y.disabled=!0,b.disabled=!0;var w,S,E,C=function(){var t=h.cells.length-1;y.disabled=0===h.selectedIndex,b.disabled=h.selectedIndex===t};y.onclick=function(){h.selectedIndex>0&&h.previous()},b.onclick=function(){var t=h.cells.length-1;h.selectedIndex<t&&h.next()},h.on("ready",C),h.on("change",C),g&&g(),S=function(){var t=w.querySelectorAll('button, [href], input, select, textarea, [tabindex]:not([tabindex="-1"])');return Array.from(t).filter(function(t){return!t.disabled&&"none"!==t.style.display&&null!==t.offsetParent})},E=function(t){if("Enter"!==t.key&&" "!==t.key){if("Tab"===t.key){t.preventDefault();var e=S();if(0!==e.length){var i=e.indexOf(document.activeElement);e[t.shiftKey?i<=0?e.length-1:i-1:i>=e.length-1?0:i+1].focus({preventScroll:!0})}}}else{var n=document.activeElement;n&&"BUTTON"===n.tagName&&w.contains(n)&&(t.preventDefault(),n.click(),setTimeout(function(){var t=S();t.length>0&&(t.includes(document.activeElement)||t[0].focus({preventScroll:!0}))},0))}},(w=e).addEventListener("keydown",E),g=function(){return w.removeEventListener("keydown",E)},n.focus({preventScroll:!0})}},S=function(){var t,i=null===(t=p)||void 0===t?void 0:t.querySelector(".amenity-name");e.style.display="none",u=!1,p=null,h&&(h.destroy(),h=null),g&&(g(),g=null),i&&i.focus({preventScroll:!0})},E=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[];if(t.length){d&&(d.destroy(),d=null),a.innerHTML="",r.style.display="flex",r.style.visibility="visible",document.body.classList.add("scroll-lock");var i=r.querySelector(".amenity-loader-lightbox");i&&(i.style.display="flex");var n=!1;t.map(function(t,o){var s,r=document.createElement("img");r.alt=(null===(s=e[o])||void 0===s?void 0:s.trim())||"Amenity image ".concat(o+1),r.loading="lazy",r.src=(m.has(t.trim()),t.trim());var a=document.createElement("div");return a.className="carousel-cell w-full",a.appendChild(r),r.onload=function(){n||(n=!0,i&&(i.style.display="none"),d.select(0,!1,!0),c()),c()},a}).forEach(function(t){return a.appendChild(t)}),(d=new(o())(a,{cellAlign:"center",contain:!0,pageDots:!1,prevNextButtons:!1,wrapAround:!1,lazyLoad:2})).select(0,!1,!0);var s=document.querySelector(".amenity-prev-lightbox"),l=document.querySelector(".amenity-next-lightbox");t.length<=1?(s.style.display="none",l.style.display="none"):(s.style.display="",l.style.display=""),s.disabled=!0,l.disabled=!0;var c=function(){var t=d.cells.length-1;s.disabled=0===d.selectedIndex,l.disabled=d.selectedIndex===t};s.onclick=function(){d.selectedIndex>0&&d.previous()},l.onclick=function(){var t=d.cells.length-1;d.selectedIndex<t&&d.next()},d.on("ready",c),d.on("change",c)}};n.addEventListener("click",function(t){t.stopPropagation(),S()}),document.addEventListener("keydown",function(t){"Escape"===t.key&&u&&S()}),l.addEventListener("click",function(){r.style.display="none",document.body.classList.remove("scroll-lock")}),r.addEventListener("click",function(t){t.target===r&&(r.style.display="none",document.body.classList.remove("scroll-lock"))}),t.forEach(function(t){var e=t.querySelector(".amenity-name")||t;e.hasAttribute("tabindex")||e.setAttribute("tabindex","0"),t.addEventListener("click",function(e){var i,n;if(e.target.closest(".amenity-name")){var o=(null===(i=t.getAttribute("data-images"))||void 0===i?void 0:i.split(","))||[],s=(null===(n=t.getAttribute("data-alt"))||void 0===n?void 0:n.split(","))||[];v()?E(o,s):u&&p===t?S():w(t)}}),t.addEventListener("keydown",function(e){if("Enter"===e.key||" "===e.key){var i,n;e.preventDefault();var o=(null===(i=t.getAttribute("data-images"))||void 0===i?void 0:i.split(","))||[],s=(null===(n=t.getAttribute("data-alt"))||void 0===n?void 0:n.split(","))||[];v()?E(o,s):u&&p===t?S():w(t)}})}),"complete"===document.readyState?setTimeout(b,2e3):window.addEventListener("load",function(){return setTimeout(b,2e3)}),document.addEventListener("click",function(t){v()||!u||e.contains(t.target)||p.contains(t.target)||S()}),window.addEventListener("resize",function(){var t=v();t!==f&&(f=t,t?(h&&h.destroy(),c&&c.destroy(),e.style.display="none",i.innerHTML="",u=!1,p=null):(d&&d.destroy(),r.style.display="none",a.innerHTML="",document.body.classList.remove("scroll-lock")))})}},init:function(){$(".single-windsor_properties").length>0&&(c.toggleFloorplans(),c.truncateToggle(),c.flickitySliderArrows(),c.videoPlayPause(),c.getLanLong(),c.backToTop(),$(".overview-read-more-container")&&c.readMore(),c.customCTA_Button(),c.amenitiesSlider()),$(".windsor-properties-contact-us-link").on("click",function(){$(".cta-book-tour__contact").trigger("click")});
2var t=document.getElementById("spaces-app");t&&t.addEventListener("click",function(t){var e=t.target.closest(".spaces-unit-pricing .spaces-contact-link a, .spaces-plan-pricing .spaces-contact-link a, .spaces-unit-list-item-pricing .spaces-contact-link a");if(e){var i,n=(e.getAttribute("href")||"").trim();if("#"===n||""===n)t.preventDefault(),t.stopImmediatePropagation(),null===(i=document.querySelector(".cta-book-tour__contact"))||void 0===i||i.click()}},!0);var e=function(){(arguments.length>0&&void 0!==arguments[0]?arguments[0]:document).querySelectorAll('#spaces_sightmap, iframe.spaces-sightmap, iframe[title="SightMap"], iframe[title="SightMap Calculator"]').forEach(function(t){var e=t.getAttribute("title");if(e&&(t.getAttribute("aria-label")||t.setAttribute("aria-label",e),t.removeAttribute("title"),window.jQuery)){var i=window.jQuery(t);i.data("ui-tooltip")&&i.tooltip("destroy")}}),document.querySelectorAll("body > .ui-tooltip").forEach(function(t){var e,i=null===(e=t.textContent)||void 0===e?void 0:e.trim();"SightMap"!==i&&"SightMap Calculator"!==i||t.remove()})};(e(),t)&&new MutationObserver(function(){e(t)}).observe(t,{childList:!0,subtree:!0});($(document).on("click",".read-more-btn",function(){$(this).closest(".overview-read-more-container").find("p:hidden").slideDown(),$(this).remove()}),document.querySelector(".spaces-root"))&&document.querySelectorAll(".spaces-calculator-trigger").forEach(function(t){t.setAttribute("data-spaces-tooltip","Cost Calculator")})}}}}]);

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.