PageSourceSearch

https://www.mamaisondowntown.com/assets/frontend/js/Intersection.597a946cb6e80a0e73b0.min.js

js mamaisondowntown.com collected 2026-10-05 18:54:13 UTC 11,322 bytes, 2 lines download raw bytes

1"use strict";(self.webpackChunk=self.webpackChunk||[]).push([[8917],{335:function(t,e,n){n.r(e),n.d(e,{STATES:function(){return d},default:function(){return m}});n(4305),n(2581),n(2274),n(98),n(6251),n(3484),n(5296),n(2448),n(8457),n(8049),n(9975),n(5132),n(8868),n(1874),n(4861);var r=n(2494),i=n(6107);function o(t){return o="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},o(t)}function s(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function a(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?s(Object(n),!0).forEach((function(e){u(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):s(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}function u(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function c(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function f(t,e){return f=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t},f(t,e)}function h(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,r=p(t);if(e){var i=p(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return l(this,n)}}function l(t,e){if(e&&("object"===o(e)||"function"==typeof e))return e;if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");return function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t)}function p(t){return p=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)},p(t)}var d={VISIBLE:"has-displayed",WILL_INTERSECT:"will-intersect"},v={offset:.5,once:!0},m=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,"prototype",{writable:!1}),e&&f(t,e)}(s,t);var e,n,r,o=h(s);function s(t){var e;if(function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,s),(e=o.call(this,t)).options=a({},v),e.element.dataset.options){var n=JSON.parse(e.element.dataset.options);e.options=a(a({},e.options),n)}return e.hasEntered=!1,e}return e=s,(n=[{key:"prepare",value:function(){this.element.classList.add(d.WILL_INTERSECT),this.element.offsetWidth,this.observer=new i.Z(this.element,{onRender:this.handleRender.bind(this)})}},{key:"destroy",value:function(){this.detach()}},{key:"handleRender",value:function(t){var e=t.bodyRatio;e>this.options.offset&&!this.hasEntered&&this.handleEnter(),e<=0&&this.hasEntered&&this.handleLeave()}},{key:"handleEnter",value:function(){this.hasEntered=!0,this.element.classList.add(d.VISIBLE),this.options.once&&this.detach()}},{key:"handleLeave",value:function(){this.options.once||(this.hasEntered=!1,this.element.classList.remove(d.VISIBLE))}},{key:"detach",value:function(){this.observer&&(this.observer.destroy(),this.observer=null)}}])&&c(e.prototype,n),r&&c(e,r),Object.defineProperty(e,"prototype",{writable:!1}),s}(r.Z)},6107:function(t,e,n){n.d(e,{Z:function(){return f}});n(6251),n(3484),n(5296),n(2274),n(2448),n(8457),n(8049),n(6982);var r=n(4677),i=n(5077);function o(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function s(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};
1e%2?o(Object(n),!0).forEach((function(e){u(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):o(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}function a(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function u(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var c={root:window,spread:30},f=function(){function t(e,n){var i=this;!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),u(this,"handleResize",(function(){i.resize()})),u(this,"handleScroll",(function(t){i.calculate(t.y)})),this.element=(0,r.IO)(e),this.options=s(s({},c),n),this.box=null,this.baseRatio=null,this.resize(),this.attach()}var e,n,o;return e=t,(n=[{key:"attach",value:function(){i.ZP.on("scroll",this.handleScroll),i.ZP.on("resize",this.handleResize)}},{key:"detach",value:function(){i.ZP.off("scroll",this.handleScroll),i.ZP.off("resize",this.handleResize)}},{key:"onRender",value:function(t){this.options.onRender&&this.options.onRender(t)}},{key:"onEnter",value:function(t){this.options.onEnter&&this.options.onEnter(t)}},{key:"onLeave",value:function(t){this.options.onLeave&&this.options.onLeave(t)}},{key:"destroy",value:function(){this.detach()}},{key:"calculate",value:function(t){if(this.defaultBox){var e=0,n=0;1==(e=t<this.min?-1:t>this.max?1:(t-this.min)/(this.max-this.min)*2-1)||-1===e?this.active&&(this.active=!1,this.onLeave({scrollX:0,scrollY:t,ratio:e,bodyRatio:n})):this.active||(this.active=!0,this.onEnter({scrollX:0,scrollY:t,ratio:0,bodyRatio:n})),n=t<this.min||t>this.max?0:this.defaultBox.top-t>0?Math.max(Math.min((this.defaultBox.height+(this.rootHeight-(this.defaultBox.top-t+this.defaultBox.height)))/this.defaultBox.height,1),0):Math.max(1-(t-this.defaultBox.top)/this.defaultBox.height,0),null===this.baseRatio&&this.defaultBox.top<this.rootHeightHalf&&e<0&&(this.baseRatio=e),null!==this.baseRatio&&(e-=this.baseRatio),this.onRender({scrollX:0,scrollY:t,ratio:e,bodyRatio:n})}else this.onRender({scrollX:0,scrollY:t,ratio:0,bodyRatio:0})}},{key:"resize",value:function(){this.baseOffset=null,this.options.onBeforeResize&&this.options.onBeforeResize();var t=this.element.getBoundingClientRect(),e=i.ZP.getScroll().y,n=t.top+e,r=t.bottom+e,o=this.options.root.innerHeight||this.options.root.clientHeight,s=o/2,a=n-o-this.options.spread,u=r+this.options.spread;Math.round((u-a)/2+a),this.defaultBox={top:n,bottom:r,left:t.left,right:t.right,width:t.width,height:t.height},this.rootHeight=o,this.rootHeightHalf=s,this.min=a,this.max=u,e<this.min?this.calculate(this.min):e>this.max?this.calculate(this.max):this.calculate(e)}}])&&a(e.prototype,n),o&&a(e,o),Object.defineProperty(e,"prototype",{writable:!1}),t}()},6982:function(t,e,n){n(2295),n(6305),n(4994),n(2963);var r={},i=null,o=(document.documentElement,document.createElement("div").style),s=" Webkit WebKit Moz O Ms".split(" "),a=" -webkit- -webkit- -moz- -o- -ms-".split(" "),u=s.length,c=!1,f=function(t,e){if(c&t in r)return r[t];var n,i=void 0!==e&&e,f=u;for(n=t.replace(/(^[a-z])/g,(function(t){return t.toUpperCase()})).replace(/\-([a-z])/g,(function(t,e){return e.toUpperCase()}));f--;){if(t in o)return t;if(s[f]+n in o)return i?a[f]+t.toLowerCase():s[f]+n;if(void 0!==window[s[f].toLowerCase()+n])return s[f].toLowerCase()+n;if(void 0!==window[s[f]+n])return s[f]+n}return!1};for(var h in i={prefix:function(){var t=f("transform");return t?t.replace("Transform",""):""},cssprefix:function(){var t=f("transform",!0);return t?t.replace("transform",""):""},transform:function(){return f("transform")},transformCss:function(){return f("transform",!0)},transform3d:function(){return"WebKitCSSMatrix"in window&&"m11"in new WebKitCSSMatrix||!!f("perspective")},translateZ:function(){return this.transform3d()?"translateZ(0)":""},transformOrigin:function(){return f("transformOrigin")},backfaceVisibility:function(){return f("backfaceVisibility")},perspective:function(){return f("perspective")},perspectiveOrigin:function(){return f("perspectiveOrigin")},transition:function(){return f("transition")},transitionProperty:function(){return f("transitionProperty")},transitionDuration:function(){return f("transitionDuration")},transitionTimingFunction:function(){return f("transitionTimingFunction")},transitionDelay:function(){return f("transitionDelay")},transitionEvent:function(){return f("transitionEvent")},transitionEventPrefix:function(){return f("transitionEvent")?f("transitionEvent").replace("TransitionEvent","").toLowerCase():""},transitionEnd:function(){return""!==this.transitionEventPrefix()?this.transitionEventPrefix()+"TransitionEnd":"transitionend"},touch:function(){return"ontouchstart"in window||navigator.msMaxTouchPoints>0},msPointer:function(){return!!window.navigator.msPointerEnabled},pointer:function(){return!!window.navigator.pointerEnabled},ipad:function(){return!!navigator.userAgent.match(/.*(iPad).*/)},iphone:function(){return!!navigator.userAgent.match(/.*(iPhone).*/)},android:function(){return!!navigator.userAgent.match(/.*(Android).*/)},ltIE9:function(){return window.attachEvent&&!window.addEventListener},uidown:function(){return this.touch()?"touchstart":this.pointer()?"pointerdown":this.msPointer()?"MSPointerDown":"mousedown"},uiup:function(){return this.touch()?"touchend":this.pointer()?"pointerup":this.msPointer()?"MSPointerUp":"mouseup"},uimove:function(){return this.touch()?"touchmove":this.pointer()?"pointermove":this.msPointer()?"MSPointerMove":"mousemove"},uienter:function(){return this.pointer()?"pointerenter":(this.msPointer(),"mouseenter")},uileave:function(){return this.pointer()?"pointerleave":(this.msPointer(),"mouseleave")},pointerdown:function(){return this.touch()?"touchstart":this.pointer()?"pointerdown":this.msPointer()?"MSPointerDown":"mousedown"},pointerup:function(){return this.touch()?"touchend":this.pointer()?"pointerup":this.msPointer()?"MSPointerUp":"mouseup"},pointermove:function(){return this.touch()?"touchmove":this.pointer()?"pointermove":this.msPointer()?"MSPointerMove":"mousemove"},pointerenter:function(){return this.pointer()?"pointerenter":(this.msPointer(),"mouseenter")},pointerleave:function(){return this.pointer()?"pointerleave":(this.msPointer(),"mouseleave")},smallscreen:function(){return window.innerWidth<700},canvas:function(){var t=document.createElement("canvas");return!(!t.getContext||!t.getContext("2d"))},video:function(){var t=document.createElement("video");return void 0!==t.play},audio:function(){var t=document.createElement("audio");return void 0!==t.play}})i.hasOwnProperty(h)&&(r[h]=i[h]());r.test=function(t){return!!f(t)},r.getPrefixed=function(t){return f(t)},r.getCssPrefixed=function(t){return f(t,!0)},c=!0,e.Z=r}}]);
2//# sourceMappingURL=Intersection.597a946cb6e80a0e73b0.min.js.map

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.