PageSourceSearch

https://thecrossingssunnyvale.com/views/site/js/dist/scripts.min/2924.js?id=ec8cb80371ef6cfd

js thecrossingssunnyvale.com collected 2026-10-04 16:04:33 UTC 9,441 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunk=self.webpackChunk||[]).push([[2924],{2924:function(e,t,r){r.r(t),r.d(t,{default:function(){return b}});var n=r(761),o=r(6490);function i(e,t,r){if("On"===e){window.google_tag_params;$("body").append(r)}return!0}var a=r(4692),c=r.n(a),u=r(2490);function l(e){return l="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},l(e)}function s(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,f(n.key),n)}}function f(e){var t=function(e,t){if("object"!=l(e)||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=l(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==l(t)?t:t+""}function d(e,t,r){return t=p(t),function(e,t){if(t&&("object"==l(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(e,h()?Reflect.construct(t,r||[],p(e).constructor):t.apply(e,r))}function h(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(h=function(){return!!e})()}function p(e){return p=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},p(e)}function v(e,t){return v=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},v(e,t)}function m(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)}var y=new WeakSet,b=function(e){function t(e){var r,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),m(r=d(this,t,[e,n]),y),r.$requiredFields=r.$el("required-field"),r.$loader=r.$el("loader"),r.$confirmMessage=r.args.showOnSuccess?c()(r.args.showOnSuccess):null,r.$infieldLablels=r.$root.find("[data-infield-label]"),r.$pickadate=r.$root.find('[data-js-hook="pickadate"]'),r.showOnSuccess=r.args.showOnSuccess||null,r.type="/contact/go/"===r.root.getAttribute("action")?"contact":"tour",r.requiredFieldNames=r.el("required-field").map((function(e){return c()(e).find("[name]").attr("name")})),o.A.waitForDefined((function(){return window.$.fn.formulateNC})).then((function(){return function(e,t,r){if("function"==typeof e?e===t:e.has(t))return arguments.length<3?t:r;throw new TypeError("Private element is not present on this object")}(y,r,_).call(r)})),r}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&v(e,t)}(t,e),r=t,(n=[{key:"replaceFormConfirmMessageVariables",value:function(){var e=o.A.serializedArrayToObject(this.$root.serializeArray());this.$confirmMessage&&this.$confirmMessage.length&&this.$confirmMessage.children().each((function(t,r){var n,o=c()(r),i=o.html();if(o.data("original-content")||o.data("original-content",i),n=(i=o.data("original-content")).match(/\{(.*?)\}/gi))for(var a=0;a<n.length;a++){var u=n[a],l=u.replace(/^\{|\}$/gi,"").replace(/(^|\-|\_)([a-z])/g,(function(e){return e.toUpperCase()})).replace(/\-|\_/g,"");void 0!==e[l]&&(i=i.replace(u,e[l]))}o.html(i)}))}}])&&s(r.prototype,n),i&&s(r,i),Object.defineProperty(r,"prototype",{writable:!1}),r;var r,n,i}(n.A);function _(){var e=this;this.$infieldLablels.length&&u.A.importVendor("infield").then((function(){return e.$infieldLablels.inFieldLabels()})),this.$pickadate.length&&Promise.all([u.A.importVendor("picker"),u.A.importVendor("picker.date")]).then((function(){e.$pickad
1ate.on("mousedown",(function(e){return e.preventDefault()})).pickadate({format:"mmm d, yyyy",disable:[{from:[0,0,0],to:new Date((new Date).valueOf()-864e5)}],onRender:function(){this.$root.find(".picker__frame").addClass("picker__frame--premium"),c()(c()(this)[0].$root[0]).find("[aria-activedescendant]").removeAttr("aria-activedescendant")},onOpen:function(){var e=this.$holder;e.attr("role","dialog"),e.attr("aria-modal","true"),this.$root.find('[tabindex="-1"]').attr("tabindex","0"),e.on("keydown.focustrap",(function(t){if(9===t.keyCode){var r=e.find('[tabindex="0"]:visible, select:visible, button:visible:not([disabled])');if(r.length){var n=r.first()[0],o=r.last()[0];t.shiftKey?document.activeElement!==n&&document.activeElement!==e[0]||(t.preventDefault(),o.focus()):document.activeElement!==o&&document.activeElement!==e[0]||(t.preventDefault(),n.focus())}else t.preventDefault()}}))},onClose:function(){this.$holder.off("keydown.focustrap"),this.$holder.removeAttr("role aria-modal"),this.$root.find('[tabindex="0"]').attr("tabindex","-1");var e=this,t=this.$node,r=t[0].id;t.off("focus."+r+" click."+r),t[0].focus(),setTimeout((function(){t.on("focus."+r+" click."+r,(function(t){t.preventDefault(),e.open()}))}),0)}})})),this.$requiredFields.each((function(e,t){var r=c()(t),n=r.find("select"),o=r.find("label");n.length&&(n.on("change",(function(){c()(this).val()?o.hide():o.show()})),n.val()&&o.hide())})),window.$(this.$root).formulateNC({require:this.requiredFieldNames.join(", "),errorClass:"error",errorParent:'[data-el="required-field[]"]',showOnSubmit:this.showOnSuccess,inlineMsg:!0,inlineMsgClass:"form__inline-error",errorMsgContainer:"[data-form-error]",fireOnSubmit:function(){e.replaceFormConfirmMessageVariables(),e.$root.trigger("hide-error-message"),e.$loader.fadeIn(200)},fireOnSuccess:function(){var t;Jonahlytics.event.formSubmit(e.type+"-form"),null!==(t=window.JDLEvent)&&void 0!==t&&t.dispatch&&window.JDLEvent.dispatch(window.JDLEvent.DispatchKey.FormSubmit,{form:"contact"===e.type?window.JDLEvent.Enum.FormType.Contact:window.JDLEvent.Enum.FormType.Tour}),e.$loader.fadeOut(200),"contact"===e.type?i(c()("#contact_us_conversion").val(),c()("#contact_us_conversion_id").val(),c()("#contact_us_conversion_html").val()):"tour"===e.type&&i(c()("#schedule_tour_conversion").val(),c()("#schedule_tour_conversion_id").val(),c()("#schedule_tour_conversion_html").val())},fireOnError:function(){e.$loader.fadeOut(200)},fireOnPostError:function(){e.$root.trigger("show-error-message",genericFormError)}})}},761:function(e,t,r){r.d(t,{A:function(){return s}});var n=r(3464);function o(e){return o="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},o(e)}function i(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,a(n.key),n)}}function a(e){var t=function(e,t){if("object"!=o(e)||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=o(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==o(t)?t:t+""}function c(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 u(e,t,r){if("function"==typeof e?e===t:e.has(t))return arguments.length<3?t:r;throw new TypeError("Private element is not present on this object")}var l=new WeakSet,s=function(){return e=function e(t){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),c(this,l),this.$root=(0,n.A)(t),this.root=this.$root.get(0),this.args=r,this.__proto__.els={},u(l,this,f).call(this),u(l,this,d).call(this)},t=[{key:"el",value:function(e){return u(l,this,h).call(this,e)}},{key:"$el",value:function(e){var t=u(l,this,h).call(this,e);return t&&"object"===o(t)&&void 0===t.nodeName&&(t=Object.values(t)),(0,n.A)(t)}},{key:"arg",value:function(e){return this.args[e]}},{key:"argObj",value:function(e){var t=this.arg(e);if(t){if("string"!=typeof t)return null;try{return JSON.parse(t)}catch(e){return null}}return null}},{key:"argBool",value:function(e){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];return"boolean"==typeof this.args[e]?this.args[e]:t}}],t&&i(e.prototype,t),r&&i(e,r),Object.defineProperty(e,"prototype",{writable:!1}),e;var e,t,r}();function f(){var e=this,t=this.$root.find("[data-el]");t.length&&t.each((function(t,r){var n=r.getAttribute("data-el"),o=n.match(/^(.*)\[(.*?)\]/);if(o){var i=o[1],a=o[2];""===a?(e.__proto__.els[i]||(e.__proto__.els[i]=[]),e.__proto__.els[i].push(r)):(e.__proto__.els[i]||(e.__proto__.els[i]={}),e.__proto__.els[i][a]=r)}else e.__proto__.els[n]=r}))}function d(){var e=this,t=this.$root.find("script[data-arg]");t.length&&t.each((function(t,r){var n=r.getAttribute("data-arg");e.args[n]=r.innerText}))}function h(e){var t=e.match(/^(.*)\.(.*)$/),r=null;if(t&&(e=t[1],r=t[2]),this.__proto__.els[e]){return r?this.__proto__.els[e][r]:this.__proto__.els[e]}return 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.