{"version":3,"sources":["scripts/node_modules/browser-pack/_prelude.js","scripts/scripts/intersection-observer.js"],"names":["r","e","n","t","o","i","f","c","require","u","a","Error","code","p","exports","call","length","1","module","getFrameElement","doc","defaultView","frameElement","IntersectionObserverEntry","entry","this","time","target","rootBounds","ensureDOMRect","boundingClientRect","intersectionRect","getEmptyRect","isIntersecting","targetRect","targetArea","width","height","intersectionArea","intersectionRatio","Number","toFixed","IntersectionObserver","callback","opt_options","fn","timeout","timer","options","root","nodeType","_checkForIntersections","bind","THROTTLE_TIMEOUT","setTimeout","_callback","_observationTargets","_queuedEntries","_rootMarginValues","_parseRootMargin","rootMargin","thresholds","_initThresholds","threshold","map","margin","value","unit","join","_monitoringDocuments","_monitoringUnsubscribes","addEvent","node","event","opt_useCapture","addEventListener","attachEvent","removeEvent","removeEventListener","detatchEvent","getBoundingClientRect","el","rect","err","top","right","bottom","left","y","x","convertFromParentRect","parentBoundingRect","parentIntersectionRect","containsDeep","parent","child","getParentNode","parentNode","document","assignedSlot","host","isDoc","registry","crossOriginUpdater","crossOriginRect","window","_typeof","prototype","Object","defineProperty","get","frame","ownerDocument","POLL_INTERVAL","USE_MUTATION_OBSERVER","_setupCrossOriginUpdater","forEach","observer","_resetCrossOriginUpdater","observe","isTargetAlreadyObserved","some","item","element","_registerInstance","push","_monitorIntersections","unobserve","filter","_unmonitorIntersections","_unregisterInstance","disconnect","_unmonitorAllIntersections","takeRecords","records","slice","opt_threshold","Array","isArray","sort","isNaN","opt_rootMargin","margins","split","parts","exec","parseFloat","monitoringInterval","domObserver","win","indexOf","setInterval","MutationObserver","attributes","childList","characterData","subtree","clearInterval","rootDoc","unsubscribe","index","itemDoc","splice","unsubscribes","rootIsInDom","rootRect","_rootIsInDom","_getRootRect","rootContainsTarget","_rootContainsTarget","oldEntry","_computeTargetAndRootIntersection","newEntry","performance","now","_hasCrossedThreshold","getComputedStyle","display","atRoot","frameRect","frameIntersect","parentRect","parentComputedStyle","body","documentElement","overflow","rect1","rect2","Math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AI,EAAE,GAAG6E,EAASuB,KAAKpG,IAAI,CAAE,EAAEiB,EAAqBiE,UAAUuB,oBAAoB,WAAW,IAAI8B,EAAM1D,EAASgD,QAAQ7H,IAAI,EAAY,CAAC,GAARuI,GAAU1D,EAAS4D,OAAOF,EAAM,CAAC,CAAC,EAAy3EvD,OAAO/D,qBAAqBA,EAAqB+D,OAAOlF,0BAA0BA","file":"intersection-observer.min.js","sourcesContent":["(function(){function r(e,n,t){function o(i,f){if(!n[i]){if(!e[i]){var c=\"function\"==typeof require&&require;if(!f&&c)return c(i,!0);if(u)return u(i,!0);var a=new Error(\"Cannot find module '\"+i+\"'\");throw a.code=\"MODULE_NOT_FOUND\",a}var p=n[i]={exports:{}};e[i][0].call(p.exports,function(r){var n=e[i][1][r];return o(n||r)},p,p.exports,r,e,n,t)}return n[i].exports}for(var u=\"function\"==typeof require&&require,i=0;i0}})}return}function getFrameElement(doc){try{return doc.defaultView&&doc.defaultView.frameElement||null}catch(e){return null}}var document=function(startDoc){var doc=startDoc;var frame=getFrameElement(doc);while(frame){doc=frame.ownerDocument;frame=getFrameElement(doc)}return doc}(window.document);var registry=[];var crossOriginUpdater=null;var crossOriginRect=null;function IntersectionObserverEntry(entry){this.time=entry.time;this.target=entry.target;this.rootBounds=ensureDOMRect(entry.rootBounds);this.boundingClientRect=ensureDOMRect(entry.boundingClientRect);this.intersectionRect=ensureDOMRect(entry.intersectionRect||getEmptyRect());this.isIntersecting=!!entry.intersectionRect;var targetRect=this.boundingClientRect;var targetArea=targetRect.width*targetRect.height;var intersectionRect=this.intersectionRect;var intersectionArea=intersectionRect.width*intersectionRect.height;if(targetArea){this.intersectionRatio=Number((intersectionArea/targetArea).toFixed(4))}else{this.intersectionRatio=this.isIntersecting?1:0}}function IntersectionObserver(callback,opt_options){var options=opt_options||{};if(typeof callback!=\"function\"){throw new Error(\"callback must be a function\")}if(options.root&&options.root.nodeType!=1&&options.root.nodeType!=9){throw new Error(\"root must be a Document or Element\")}this._checkForIntersections=throttle(this._checkForIntersections.bind(this),this.THROTTLE_TIMEOUT);this._callback=callback;this._observationTargets=[];this._queuedEntries=[];this._rootMarginValues=this._parseRootMargin(options.rootMargin);this.thresholds=this._initThresholds(options.threshold);this.root=options.root||null;this.rootMargin=this._rootMarginValues.map((function(margin){return margin.value+margin.unit})).join(\" \");this._monitoringDocuments=[];this._monitoringUnsubscribes=[]}IntersectionObserver.prototype.THROTTLE_TIMEOUT=100;IntersectionObserver.prototype.POLL_INTERVAL=null;IntersectionObserver.prototype.USE_MUTATION_OBSERVER=true;IntersectionObserver._setupCrossOriginUpdater=function(){if(!crossOriginUpdater){crossOriginUpdater=function(boundingClientRect,intersectionRect){if(!boundingClientRect||!intersectionRect){crossOriginRect=getEmptyRect()}else{crossOriginRect=convertFromParentRect(boundingClientRect,intersectionRect)}registry.forEach((function(observer){observer._checkForIntersections()}))}}return crossOriginUpdater};IntersectionObserver._resetCrossOriginUpdater=function(){crossOriginUpdater=null;crossOriginRect=null};IntersectionObserver.prototype.observe=function(target){var isTargetAlreadyObserved=this._observationTargets.some((function(item){return item.element==target}));if(isTargetAlreadyObserved){return}if(!(target&&target.nodeType==1)){throw new Error(\"target must be an Element\")}this._registerInstance();this._observationTargets.push({element:target,entry:null});this._monitorIntersections(target.ownerDocument);this._checkForIntersections()};IntersectionObserver.prototype.unobserve=function(target){this._observationTargets=this._observationTargets.filter((function(item){return item.element!=target}));this._unmonitorIntersections(target.ownerDocument);if(this._observationTargets.length==0){this._unregisterInstance()}};IntersectionObserver.prototype.disconnect=function(){this._observationTargets=[];this._unmonitorAllIntersections();this._unregisterInstance()};IntersectionObserver.prototype.takeRecords=function(){var records=this._queuedEntries.slice();this._queuedEntries=[];return records};IntersectionObserver.prototype._initThresholds=function(opt_threshold){var threshold=opt_threshold||[0];if(!Array.isArray(threshold))threshold=[threshold];return threshold.sort().filter((function(t,i,a){if(typeof t!=\"number\"||isNaN(t)||t<0||t>1){throw new Error(\"threshold must be a number between 0 and 1 inclusively\")}return t!==a[i-1]}))};IntersectionObserver.prototype._parseRootMargin=function(opt_rootMargin){var marginString=opt_rootMargin||\"0px\";var margins=marginString.split(/\\s+/).map((function(margin){var parts=/^(-?\\d*\\.?\\d+)(px|%)$/.exec(margin);if(!parts){throw new Error(\"rootMargin must be specified in pixels or percent\")}return{value:parseFloat(parts[1]),unit:parts[2]}}));margins[1]=margins[1]||margins[0];margins[2]=margins[2]||margins[0];margins[3]=margins[3]||margins[1];return margins};IntersectionObserver.prototype._monitorIntersections=function(doc){var win=doc.defaultView;if(!win){return}if(this._monitoringDocuments.indexOf(doc)!=-1){return}var callback=this._checkForIntersections;var monitoringInterval=null;var domObserver=null;if(this.POLL_INTERVAL){monitoringInterval=win.setInterval(callback,this.POLL_INTERVAL)}else{addEvent(win,\"resize\",callback,true);addEvent(doc,\"scroll\",callback,true);if(this.USE_MUTATION_OBSERVER&&\"MutationObserver\"in win){domObserver=new win.MutationObserver(callback);domObserver.observe(doc,{attributes:true,childList:true,characterData:true,subtree:true})}}this._monitoringDocuments.push(doc);this._monitoringUnsubscribes.push((function(){var win=doc.defaultView;if(win){if(monitoringInterval){win.clearInterval(monitoringInterval)}removeEvent(win,\"resize\",callback,true)}removeEvent(doc,\"scroll\",callback,true);if(domObserver){domObserver.disconnect()}}));var rootDoc=this.root&&(this.root.ownerDocument||this.root)||document;if(doc!=rootDoc){var frame=getFrameElement(doc);if(frame){this._monitorIntersections(frame.ownerDocument)}}};IntersectionObserver.prototype._unmonitorIntersections=function(doc){var index=this._monitoringDocuments.indexOf(doc);if(index==-1){return}var rootDoc=this.root&&(this.root.ownerDocument||this.root)||document;var hasDependentTargets=this._observationTargets.some((function(item){var itemDoc=item.element.ownerDocument;if(itemDoc==doc){return true}while(itemDoc&&itemDoc!=rootDoc){var frame=getFrameElement(itemDoc);itemDoc=frame&&frame.ownerDocument;if(itemDoc==doc){return true}}return false}));if(hasDependentTargets){return}var unsubscribe=this._monitoringUnsubscribes[index];this._monitoringDocuments.splice(index,1);this._monitoringUnsubscribes.splice(index,1);unsubscribe();if(doc!=rootDoc){var frame=getFrameElement(doc);if(frame){this._unmonitorIntersections(frame.ownerDocument)}}};IntersectionObserver.prototype._unmonitorAllIntersections=function(){var unsubscribes=this._monitoringUnsubscribes.slice(0);this._monitoringDocuments.length=0;this._monitoringUnsubscribes.length=0;for(var i=0;i=0&&height>=0&&{top:top,bottom:bottom,left:left,right:right,width:width,height:height}||null}function getBoundingClientRect(el){var rect;try{rect=el.getBoundingClientRect()}catch(err){}if(!rect)return getEmptyRect();if(!(rect.width&&rect.height)){rect={top:rect.top,right:rect.right,bottom:rect.bottom,left:rect.left,width:rect.right-rect.left,height:rect.bottom-rect.top}}return rect}function getEmptyRect(){return{top:0,bottom:0,left:0,right:0,width:0,height:0}}function ensureDOMRect(rect){if(!rect||\"x\"in rect){return rect}return{top:rect.top,y:rect.top,bottom:rect.bottom,left:rect.left,x:rect.left,right:rect.right,width:rect.width,height:rect.height}}function convertFromParentRect(parentBoundingRect,parentIntersectionRect){var top=parentIntersectionRect.top-parentBoundingRect.top;var left=parentIntersectionRect.left-parentBoundingRect.left;return{top:top,left:left,height:parentIntersectionRect.height,width:parentIntersectionRect.width,bottom:top+parentIntersectionRect.height,right:left+parentIntersectionRect.width}}function containsDeep(parent,child){var node=child;while(node){if(node==parent)return true;node=getParentNode(node)}return false}function getParentNode(node){var parent=node.parentNode;if(node.nodeType==9&&node!=document){return getFrameElement(node)}if(parent&&parent.assignedSlot){parent=parent.assignedSlot.parentNode}if(parent&&parent.nodeType==11&&parent.host){return parent.host}return parent}function isDoc(node){return node&&node.nodeType===9}window.IntersectionObserver=IntersectionObserver;window.IntersectionObserverEntry=IntersectionObserverEntry})();"]}