1"use strict";(self.webpackChunk_hero_digital_zoom=self.webpackChunk_hero_digital_zoom||[]).push([[3889],{3889(t,e,n){function i(t){return i="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},i(t)}function o(t,e){for(var n=0;n<e.length;n++){var i=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,r(i.key),i)}}function r(t){var e=function(t){if("object"!=i(t)||!t)return t;var e=t[Symbol.toPrimitive];if(void 0!==e){var n=e.call(t,"string");if("object"!=i(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t);return"symbol"==i(e)?e:e+""}n.r(e),n.d(e,{default:()=>c});var u=function(){return t=function t(e){var n=this;!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this.el=e,this.elements=this.el.querySelectorAll(".fdn-tooltiptext"),this.elements.forEach(function(t){n.isElementTouchingEdges(t,10)}),this.addListeners()},e=[{key:"addListeners",value:function(){var t=this;window.addEventListener("resize",this.debounce(function(){t.elements.forEach(function(e){window.innerWidth<768?t.isElementTouchingEdges(e,20):t.isElementTouchingEdges(e,10)})},200))}},{key:"debounce",value:function(t,e){var n;return function(){for(var i=arguments.length,o=new Array(i),r=0;r<i;r++)o[r]=arguments[r];var u=this;clearTimeout(n),n=setTimeout(function(){return t.apply(u,o)},e)}}},{key:"isElementTouchingEdges",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=t.getBoundingClientRect(),i=window.innerWidth,o=window.innerHeight,r=n.left<=e,u=n.right>=i-e,c=n.top<=e,s=n.bottom>=o-e;t.classList.remove("touching-left","touching-right","touching-top","touching-bottom"),r&&t.classList.add("touching-left"),u&&t.classList.add("touching-right"),c&&t.classList.add("touching-top"),s&&t.classList.add("touching-bottom")}}],e&&o(t.prototype,e),Object.defineProperty(t,"prototype",{writable:!1}),t;var t,e}();const c=u}}]); 2//# sourceMappingURL=zoom.v1.3889.min.js.map?t=4afcf2abb445bc412f4d
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.