1var e=Object.create,t=Object.defineProperty,n=Object.getOwnPropertyDescriptor,r=Object.getOwnPropertyNames,i=Object.getPrototypeOf,a=Object.prototype.hasOwnProperty,o=(e,t,n)=>()=>{if(n)throw n[0];try{return e&&(t=e(e=0)),t}catch(e){throw n=[e],e}},s=(e,t)=>()=>(t||(e((t={exports:{}}).exports,t),e=null),t.exports),c=(e,n)=>{let r={};for(var i in e)t(r,i,{get:e[i],enumerable:!0});return n||t(r,Symbol.toStringTag,{value:`Module`}),r},l=(e,i,o,s)=>{if(i&&typeof i==`object`||typeof i==`function`)for(var c=r(i),l=0,u=c.length,d;l<u;l++)d=c[l],!a.call(e,d)&&d!==o&&t(e,d,{get:(e=>i[e]).bind(null,d),enumerable:!(s=n(i,d))||s.enumerable});return e},u=(n,r,o)=>(o=n==null?{}:e(i(n)),l(r||!n||!n.__esModule||!a.call(n,`default`)?t(o,`default`,{value:n,enumerable:!0}):o,n)),d=e=>a.call(e,`module.exports`)?e[`module.exports`]:l(t({},`__esModule`,{value:!0}),e);(function(e,t,n){if(!e.MutationObserver||typeof HTMLElement>`u`)return;var r=0,i=(function(){var t=Element.prototype.matches||HTMLElement.prototype.webkitMatchesSelector||HTMLElement.prototype.mozMatchesSelector||HTMLElement.prototype.msMatchesSelector;return{matchesSelector:function(e,n){return e instanceof Element&&t.call(e,n)},addMethod:function(e,t,n){var r=e[t];e[t]=function(){if(n.length==arguments.length)return n.apply(this,arguments);if(typeof r==`function`)return r.apply(this,arguments)}},callCallbacks:function(e,t,n){if(e.length){t&&t.options.onceOnly&&(e=[e[0]],t.me.unbindEventWithSelectorAndCallback.call(t.target,t.selector,t.callback));for(var r=0,i;i=e[r];r++)i&&i.callback&&i.callback.call(i.elem,i.elem);t&&t.callback&&n&&n.addTimeoutHandler(t.target,t.selector,t.callback,t.options,t.data)}},checkChildNodesRecursively:function(e,t,n,r){for(var a=0,o;o=e[a];a++)n(o,t,r)&&r.push({callback:t.callback,elem:o}),o.childNodes.length>0&&i.checkChildNodesRecursively(o.childNodes,t,n,r)},mergeArrays:function(e,t){var n={},r;for(r in e)e.hasOwnProperty(r)&&(n[r]=e[r]);for(r in t)t.hasOwnProperty(r)&&(n[r]=t[r]);return n},toElementsArray:function(t){return t!==void 0&&(typeof t.length!=`number`||t===e)&&(t=[t]),t}}})(),a=(function(){var e=function(){this._eventsBucket=[],this._beforeAdding=null,this._beforeRemoving=null};return e.prototype.addEvent=function(e,t,n,r,i){var a={target:e,selector:t,options:n,callback:r,data:i,firedElems:[]};return this._beforeAdding&&this._beforeAdding(a),this._eventsBucket.push(a),a},e.prototype.removeEvent=function(e){for(var t=this._eventsBucket.length-1,n;n=this._eventsBucket[t];t--)if(e(n)){this._beforeRemoving&&this._beforeRemoving(n),n.data&&n.data.timeoutId&&clearTimeout(n.data.timeoutId);var r=this._eventsBucket.splice(t,1);r&&r.length&&(r[0].callback=null)}},e.prototype.beforeAdding=function(e){this._beforeAdding=e},e.prototype.beforeRemoving=function(e){this._beforeRemoving=e},e})(),o=function(t,r){var o=new a,s=this,c={fireOnAttributesModification:!1};return o.beforeAdding(function(n){var i=n.target,a;(i===e.document||i===e)&&(i=document.getElementsByTagName(`html`)[0]),a=new MutationObserver(function(e){r.call(this,e,n)});var o=t(n.options);a.observe(i,o),n.observer=a,n.me=s}),o.beforeRemoving(function(e){e.observer.disconnect()}),this.bindEvent=function(e,t,n){t=i.mergeArrays(c,t);for(var r=i.toElementsArray(this),a=0;a<r.length;a++){let i={};s.addTimeoutHandler(r[a],e,n,t,i),o.addEvent(r[a],e,t,n,i)}},this.unbindEvent=function(){var e=i.toElementsArray(this);o.removeEvent(function(t){for(var r=0;r<e.length;r++)if(this===n||t.target===e[r])return!0;return!1})},this.unbindEventWithSelectorOrCallback=function(e){var t=i.toElementsArray(this),r=e,a=typeof e==`function`?function(e){for(var i=0;i<t.length;i++)if((this===n||e.target===t[i])&&e.callback===r)return!0;return!1}:function(r){for(var i=0;i<t.length;i++)if((this===n||r.target===t[i])&&r.selector===e)return!0;return!1};o.removeEvent(a)},this.unbindEventWithSelectorAndCallback=function(e,t){var r=i.toElementsArray(this);o.removeEvent(function(i){for(var a=0;a<r.length;a++)if((this===n||i.target===r[a])&&i.selector===e&&i.callback===t)return!0;return!1})},this.addTimeoutHandler=function(e,t,n,r,i){!r.timeout||r.timeout<=0||(i.timeoutId&&clearTimeout(i.timeoutId),i.timeoutId=setTimeout(()=>{s.unbindEventWithSelectorAndCallback.call(e,t,n),n.call(null,null)},r.timeout))},this},s=function(){var e={fireOnAttributesModification:!1,onceOnly:!1,existing:!1,timeout:0};function t(e){var t={attributes:!1,childList:!0,subtree:!0};return e.fireOnAttributesModification&&(t.attributes=!0),t}function a(e,t){e.forEach(function(e){var n=e.addedNodes,r=e.target,a=[];n!==null&&n.length>0?i.checkChildNodesRecursively(n,t,s,a):e.type===`attributes`&&s(r,t,a)&&a.push({callback:t.callback,elem:r}),i.callCallbacks(a,t,l)})}function s(e,t,a){return i.matchesSelector(e,t.selector)&&(e._id===n&&(e._id=r++),t.firedElems.indexOf(e._id)==-1)?(t.firedElems.push(e._id),!0):!1}l=new o(t,a);var c=l.bindEvent;return l.bindEvent=function(t,r,a){var o=typeof r==`object`?i.mergeArrays(e,r):{...e},s=typeof a==`function`?a:typeof r==`function`?r:n,l=i.toElementsArray(this);if(s||(o.onceOnly=!0),o.existing){for(var u=[],d=0;d<l.length;d++)for(var f=l[d].querySelectorAll(t),p=0;p<f.length;p++)u.push({callback:s,elem:f[p]});if(o.onceOnly&&u.length)return s?s.call(u[0].elem,u[0].elem):Promise.resolve(u[0].elem);
1setTimeout(i.callCallbacks,1,u)}if(s)c.call(this,t,o,s);else{var m=this;return new Promise(e=>c.call(m,t,o,e))}},l},c=function(){var e={onceOnly:!1,timeout:0};function t(){return{childList:!0,subtree:!0}}function r(e,t){e.forEach(function(e){var n=e.removedNodes,r=[];n!==null&&n.length>0&&i.checkChildNodesRecursively(n,t,a,r),i.callCallbacks(r,t,u)})}function a(e,t){return i.matchesSelector(e,t.selector)}u=new o(t,r);var s=u.bindEvent;return u.bindEvent=function(t,r,a){var o=typeof r==`object`?i.mergeArrays(e,r):{...e},c=typeof a==`function`?a:typeof r==`function`?r:n;if(c)s.call(this,t,o,c);else{o.onceOnly=!0;var l=this;return new Promise(e=>s.call(l,t,o,e))}},u},l=new s,u=new c;function d(e,t,n){i.addMethod(t,n,e.unbindEvent),i.addMethod(t,n,e.unbindEventWithSelectorOrCallback),i.addMethod(t,n,e.unbindEventWithSelectorAndCallback)}function f(e){e.arrive=l.bindEvent,d(l,e,`unbindArrive`),e.leave=u.bindEvent,d(u,e,`unbindLeave`)}t&&f(t.fn),f(HTMLElement.prototype),f(SVGElement.prototype),f(NodeList.prototype),f(HTMLCollection.prototype),f(HTMLDocument.prototype),f(Window.prototype);var p={};return d(l,p,`unbindAllArrive`),d(u,p,`unbindAllLeave`),p})(window,typeof jQuery>`u`?null:jQuery,void 0);export{u as a,d as i,o as n,c as r,s as t}; 2//# sourceMappingURL=arrive-_j5X1Dz2.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.