1(()=>{"use strict";function e(t){return e="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},e(t)}function t(t,n){for(var r=0;r<n.length;r++){var i=n[r];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,(o=i.key,a=void 0,a=function(t,n){if("object"!==e(t)||null===t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var i=r.call(t,n||"default");if("object"!==e(i))return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===n?String:Number)(t)}(o,"string"),"symbol"===e(a)?a:String(a)),i)}var o,a}const n=new(function(){function n(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,n),this.endpoint="/jonahlytics-event/"}var r,i,o;return r=n,i=[{key:"dispatch",value:function(e){var t=this;return new Promise((function(n,r){var i=new FormData;for(var o in e){var a=e[o];i.set(o,a)}null!==window.Jonahlytics.property&&i.set("property",window.Jonahlytics.property),fetch(t.endpoint,{method:"POST",headers:new Headers({"X-Requested-With":"XMLHttpRequest"}),body:i}).then((function(t){n({data:e,response:t,ok:t.ok})})).catch((function(t){r({data:e,response,ok:response.ok})}))}))}},{key:"send",value:function(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"",i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"";return"object"===e(n)&&(n=JSON.stringify(n)),this.dispatch({action:t,value:n||"",source:r||"",page:window.location.href,data:i?JSON.stringify(i):""})}}],i&&t(r.prototype,i),o&&t(r,o),Object.defineProperty(r,"prototype",{writable:!1}),n}());function r(e){return r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},r(e)}function i(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,a(r.key),r)}}function o(e,t,n){return(t=a(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function a(e){var t=function(e,t){if("object"!==r(e)||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var i=n.call(e,t||"default");if("object"!==r(i))return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"===r(t)?t:String(t)}var l,c,u=function(){function e(t){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),o(this,"_registered",[]),o(this,"_callbacks",{}),t&&this._registerMany(t)}var t,a,l;return t=e,a=[{key:"_on",value:function(e,t){this._callbacks[e]||(this._callbacks[e]=[]),this._callbacks[e].push(t)}},{key:"_register",value:function(e,t){var i=this;this._registered.indexOf(e)<=-1&&(this._registered.push(e),this[t]=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",o=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null;return i._callbacks[e]&&i._callbacks[e].forEach((function(n){n({action:e,value:t,source:o,data:a})})),n.send(e,"object"===r(t)?JSON.stringify(t):t,o,a).then((function(e){return e.response.json()}))})}},{key:"_registerMany",value:function(e){for(var t in e){var n=e[t];this._register(n,t)}}}],a&&i(t.prototype,a),l&&i(t,l),Object.defineProperty(t,"prototype",{writable:!1}),e}();function s(e){return s="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},s(e)}function f(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,(i=r.key,o=void 0,o=function(e,t){if("object"!==s(e)||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!==s(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(i,"string"),"symbol"===s(o)?o:String(o)),r)}var i,o}function p(e,t){!function(e,t){if(t.has(e))throw new TypeError("Cannot initialize the same private elements twice on an object")}(e,t),t.add(e)}function h(e,t,n){if(!t.has(e))throw new TypeError("attempted to get private field on non-instance");return n}function y(e){e=Object.assign({leaseUrl:null,mapUrl:null,anchorIgnore:null,property:null},e),this.leaseUrl=e.leaseUrl,this.mapUrl=e.mapUrl,this.anchorIgnore=e.anchorIgnore,this.property=e.property}function v(){return"undefined"!=typeof is404page&&is404page}const m=new(l=new WeakSet,c=new WeakSet,function(){function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),p(this,c),p(this,l),this.options={},this.leaseUrl=null,this.mapUrl=null,this.anchorIgnore=null,this.property=null,this.event=new u({phone:"click-phone",email:"click-email",leaseNow:"click-lease-now",leaseLink:"click-lease-link",mapLink:"click-map-link",externalLink:"click-external-link",formSubmit:"form-submit",pageView:"page-view",floorplanView:"floorplan-view",unitView:"unit-view",galleryImage:"click-gallery-image",virtualTour:"click-virtual-tour",ebrochure:"generate-ebrochure",floorplanFilter:"floorplan-filter",formActivation:"form-activation",thirdPartyFormSubmit:"third-party-form-submit",popdownButton:"click-popdown-button"})}var t,n,r;return t=e,n=[{key:"register",value:function(e,t){var n="object"===s(e)?e:{actionOrEventsObject:t};return this.event._registerMany(n),this}},{key:"on",value:function(e,t){return this.event._on(e,t),this}},{key:"boot",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};h(this,l,y).call(this,e),this.bootClickListeners(),this.bootLoadListeners()}},{key:"init",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this.boot(e)}},{key:"sourceFromElement",value:function(e){e.parentElement&&(e=e.parentElement);var t=e.className.split(" "),n=e.getAttribute("id"),r=null;if(t.length)for(var i=0;i<t.length;i++){var o=t[i],a=null;if(r=(a=o.match(/^(.*)__.*$/,o))?a[1].trim():o)break}return!r&&n&&(r=n),r||""}},{key:"bootLoadListeners",value:function(){h(this,c,v).call(this)||this.event.pageView(window.location.pathname)}},{key:"bootClickListeners",value:function(){var e=this,t=this.anchorIgnore?"a:not("+this.anchorIgnore+")":"a",n=document.querySelectorAll(t);if(n&&n.length)for(var r=function(){var t=n[i],r=e.sourceFromElement(t);t.addEventListener("click",(function(n){var i,o=t.getAttribute("href");if(o)if(i=o.match(/^tel:(.*)$/))e.event.phone(i[1],r);else if(i=o.match(/^mailto:(.*)$/))e.event.email(i[1],r);else if(o.match(/^https:\/\/|^http:\/\//)&&!o.match(new RegExp("/"+window.location.host+"/"))){var a=!1,l=!1;e.leaseUrl&&(a=-1!==o.replace(/\/+$/).indexOf(e.leaseUrl.replace(/^https:\/\/|^http:\/\/|\/+$/g,""))),e.mapUrl&&(l=-1!==o.replace(/\/+$/).indexOf(e.mapUrl.replace(/^https:\/\/|^http:\/\/|\/+$/g,""))),a?e.event.leaseLink(o,r):l?e.event.mapLink(o,r):e.event.externalLink(o,r)}}))},i=0;i<n.length;i++)r()}}],n&&f(t.prototype,n),r&&f(t,r),Object.defineProperty(t,"prototype",{writable:!1}),e}());window.JonahTracking=window.Jonahlytics=m})();
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.