forked from cmswalker/fullpage-react
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathFullpageReact.js.map
1 lines (1 loc) · 159 KB
/
FullpageReact.js.map
1
{"version":3,"sources":["webpack:///webpack/universalModuleDefinition","webpack:///webpack/bootstrap f77a353008ade2f3b5f3","webpack:///./~/process/browser.js","webpack:///external \"react\"","webpack:///./lib/components/Slide.js","webpack:///./~/prop-types/lib/ReactPropTypesSecret.js","webpack:///./lib/components/HorizontalSlider.js","webpack:///./lib/utils/index.js","webpack:///./~/react-is/index.js","webpack:///./lib/components/Fullpage.js","webpack:///./~/@babel/runtime/helpers/esm/assertThisInitialized.js","webpack:///./~/@babel/runtime/helpers/esm/defineProperty.js","webpack:///./~/@babel/runtime/helpers/esm/extends.js","webpack:///./~/@babel/runtime/helpers/esm/inheritsLoose.js","webpack:///./lib/index.js","webpack:///./lib/utils/constants.js","webpack:///./lib/utils/detectOS.js","webpack:///./lib/utils/renderUtils.js","webpack:///./lib/utils/scrollTo.js","webpack:///./~/invariant/browser.js","webpack:///./~/json2mq/index.js","webpack:///./~/object-assign/index.js","webpack:///./~/prop-types/checkPropTypes.js","webpack:///./~/prop-types/factoryWithThrowingShims.js","webpack:///./~/prop-types/factoryWithTypeCheckers.js","webpack:///./~/prop-types/index.js","webpack:///./~/react-fns/dist/index.es6.js","webpack:///./~/react-is/cjs/react-is.development.js","webpack:///./~/react-is/cjs/react-is.production.min.js","webpack:///./~/react-media/esm/react-media.js","webpack:///./~/scroll-swipe/dist/ScrollSwipe.js","webpack:///./~/string-convert/camel2hyphen.js","webpack:///(webpack)/buildin/global.js","webpack:///./~/window-or-global/lib/index.js"],"names":["HorizontalSlide","VerticalSlide","Slide","id","render","className","width","height","horizontal","horizontalSliderName","children","style","slideStyle","styles","Object","assign","overflow","position","slideClassName","push","join","attrs","HorizontalSlider","props","name","activeSlide","document","cache","nodes","getNodes","hideAllButActive","p","Error","elements","slides","reduce","result","sl","type","other","overflowX","hideScrollBars","overflowY","horizontalSliderStyle","whiteSpace","padding","margin","horizontalSlideStyle","display","node","map","o","i","s","sStyle","hSlideProps","React","Component","composedPath","el","paths","tagName","window","parentElement","sel","querySelectorAll","Array","prototype","forEach","call","n","showAll","INTENT_MAP","detectBrowser","userAgentString","browsers","rule","test","match","exec","version","split","slice","length","apply","os","detectOS","filter","Boolean","shift","noOp","constants","KEY_IDX","renderUtils","_fp","global","TIMEOUT","documentStub","documentElement","body","generateState","lastActive","Fullpage","root","infinite","resetSlides","horizontalMap","horizontals","scrollSensitivity","touchSensitivity","scrollSpeed","ss","verticalRoot","determineVerticalRoot","onHorizontalChange","onSlideChangeStart","onSlideChangeEnd","f","bind","isLocked","hSlideCache","cacheHslide","slide","state","scrollPending","setState","lockScroll","checkKey","enableArrowKeys","addEventListener","ScrollSwipe","target","scrollPreventDefault","touchPreventDefault","scrollCb","onScrollAction","touchCb","direction","intent","startEvent","locked","ssStub","flush","listen","dir","onVerticalScroll","path","polyFillPath","isHorizontal","find","dataset","onHorizontalScroll","next","to","innerHeight","newState","handleScroll","innerWidth","comp","hp","leftVal","determineHSlide","setTimeout","handleHorizontal","len","infStart","infEnd","lastToFirst","scrollLeft","firstToLast","winProp","compName","cb","cancellable","scrollTo","killAll","removeEventListener","showScrollBars","e","keyCode","context","changeFullpageSlide","horizontalName","changeHorizontalSlide","scrollTop","op","sp","eligible","isEligible","idx","swap","parentNode","insertBefore","userAgent","platform","navigator","browser","major","minor","patch","docElementSet","Set","conflictingPlatforms","has","INCREMENT","DECREMENT","VERTICAL","HORIZONTAL","HEAD","TAIL","I_BLOCK","BLOCK","NONE","module","exports","operatingSystems","detected","element","elementBoundary","duration","callback","start","change","increment","currentTime","globalId","requestAnimationFrame","repeatOften","val","easeInOutQuad","cancelAnimationFrame","t","b","c","d"],"mappings":"AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,CAAC;AACD,O;QCVA;QACA;;QAEA;QACA;;QAEA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;;QAEA;QACA;;QAEA;QACA;;QAEA;QACA;QACA;;;QAGA;QACA;;QAEA;QACA;;QAEA;QACA,2CAA2C,cAAc;;QAEzD;QACA;QACA;QACA;QACA;QACA;QACA;QACA,KAAK;QACL;QACA;;QAEA;QACA;QACA;QACA,2BAA2B,0BAA0B,EAAE;QACvD,iCAAiC,eAAe;QAChD;QACA;QACA;;QAEA;QACA,sDAAsD,+DAA+D;;QAErH;QACA;;QAEA;QACA;;;;;;;AChEA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,SAAS;AACT;AACA;AACA,KAAK;AACL;AACA;AACA;AACA;AACA;AACA,SAAS;AACT;AACA;AACA,KAAK;AACL;AACA;AACA,CAAC;AACD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,KAAK;AACL;AACA;AACA;AACA,SAAS;AACT;AACA;AACA;AACA;;;AAGA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,KAAK;AACL;AACA;AACA;AACA,SAAS;AACT;AACA;AACA;AACA;AACA;;;;AAIA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,KAAK;AACL;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,uBAAuB,sBAAsB;AAC7C;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,qBAAqB;AACrB;;AAEA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA,qCAAqC;;AAErC;AACA;AACA;;AAEA,2BAA2B;AAC3B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AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA,qCAAqC;AACrC;AACA;AACA,KAAK;AACL;AACA;AACA;AACA,0CAA0C,yBAAyB,EAAE;AACrE;AACA;AACA;;AAEA,0BAA0B;AAC1B;AACA;AACA;;AAEA;;;;;;;;AChDA,mBAAmB,mBAAO,CAAC,EAA6B;;AAExD;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,KAAK;AACL;AACA,KAAK;AACL;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,KAAK;AACL;AACA;AACA;AACA;AACA;;AAEA,yB;;;;;;;AClDA;AACA;AACA;AACA;AACA;;AAEa;AACb;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;AACA,gCAAgC;AAChC;AACA;AACA;AACA;;AAEA;AACA;AACA,iBAAiB,QAAQ;AACzB;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA,GAAG;AACH,kCAAkC;AAClC;AACA;AACA;;AAEA;AACA,EAAE;AACF;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA,gBAAgB,sBAAsB;AACtC;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA,kBAAkB,oBAAoB;AACtC;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;;;;;;;;ACzFA;AACA;AACA;AACA;AACA;AACA;;AAEa;;AAEb;;AAEA;AACA,6BAA6B,mBAAO,CAAC,CAA4B;AACjE;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,KAAK;AACL;AACA;;AAEA;AACA;AACA;AACA;AACA,WAAW,OAAO;AAClB,WAAW,OAAO;AAClB,WAAW,OAAO;AAClB,WAAW,OAAO;AAClB,WAAW,UAAU;AACrB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,4GAA4G;AAC5G;AACA;AACA;AACA;AACA;AACA;AACA,SAAS;AACT;AACA;AACA;AACA;AACA;AACA,2DAA2D;AAC3D;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;;;;;;;;;ACrGA;AACA;AACA;AACA;AACA;AACA;;AAEa;;AAEb,2BAA2B,mBAAO,CAAC,CAA4B;;AAE/D;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;;AAEA;AACA;;;;;;;;AC/DA;AACA;AACA;AACA;AACA;AACA;;AAEa;;AAEb,cAAc,mBAAO,CAAC,CAAU;AAChC,aAAa,mBAAO,CAAC,EAAe;;AAEpC,2BAA2B,mBAAO,CAAC,CAA4B;AAC/D,qBAAqB,mBAAO,CAAC,EAAkB;;AAE/C;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,KAAK;AACL;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA,0CAA0C;;AAE1C;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,aAAa,QAAQ;AACrB,cAAc;AACd;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,UAAU;AACV,6BAA6B;AAC7B,QAAQ;AACR;AACA;AACA;AACA;AACA,+BAA+B,KAAK;AACpC;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,SAAS;AACT,4BAA4B;AAC5B,OAAO;AACP;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,KAAK;AACL;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,SAAS;AACT;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO;AACP;AACA;AACA;;AAEA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,qBAAqB,sBAAsB;AAC3C;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,SAAS;AACT;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA,qBAAqB,2BAA2B;AAChD;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO;AACP;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA,mBAAmB,gCAAgC;AACnD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA,qBAAqB,gCAAgC;AACrD;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,6BAA6B;AAC7B;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,WAAW;AACX;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,SAAS;AACT;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO;AACP;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;;;;;;;;AC9kBA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA,gBAAgB,mBAAO,CAAC,CAAU;;AAElC;AACA;AACA;AACA,mBAAmB,mBAAO,CAAC,EAA2B;AACtD,CAAC;AACD;AACA;AACA,mBAAmB,mBAAO,CAAC,EAA4B;AACvD;;;;;;;;;AClBA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAA2D;;AAE3D;AACA;AACA,+DAA+D;AAC/D;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA,MAAM,gBAAgB,sCAAsC,iBAAiB,EAAE;AAC/E,qBAAqB,uDAAuD;;AAE5E;AACA;AACA,mBAAmB,sBAAsB;AACzC;AACA;;AAEA;AACA,4CAA4C,OAAO;AACnD;AACA;AACA;AACA;AACA;;AAEA;AACA,WAAW,+CAAQ;AACnB;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA,wBAAwB;AACxB;AACA,uCAAuC;AACvC;AACA;AACA,SAAS;AACT,KAAK;AACL;AACA;AACA;AACA,WAAW;;AAEX;AACA;AACA;AACA;AACA,uBAAuB;AACvB;AACA,4BAA4B,uCAAuC;AACnE,SAAS;AACT;AACA;AACA;AACA;AACA,8FAA8F,gBAAgB;AAC9G;AACA;AACA;AACA;AACA;AACA;AACA;AACA,cAAc,2EAAa;AAC3B;AACA;AACA;AACA;AACA;AACA,uDAAuD,+CAAQ;AAC/D;AACA;AACA;AACA;AACA;AACA;AACA,CAAC,CAAC,gDAAS;;AAEX;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,uBAAuB,iBAAiB;AACxC;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,+BAA+B;AAC/B;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA,gBAAgB,2EAAa,UAAU,uBAAuB,QAAQ,2EAAa,0BAA0B,aAAa,EAAE,EAAE;AAC9H;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,aAAa;AACb;AACA;AACA;AACA;AACA,aAAa;AACb;AACA;AACA;AACA;AACA,aAAa;AACb;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,aAAa;AACb;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,cAAc,2EAAa;AAC3B;AACA;AACA;AACA;AACA;AACA,uDAAuD,+CAAQ;AAC/D;AACA;AACA;AACA,CAAC,CAAC,gDAAS;;AAEX;AACA;AACA,gBAAgB,2EAAa,gBAAgB,uBAAuB,QAAQ,2EAAa,0BAA0B,aAAa,EAAE,EAAE;AACpI;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,aAAa;AACb;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,cAAc,2EAAa;AAC3B;AACA;AACA;AACA;AACA;AACA,uDAAuD,+CAAQ;AAC/D;AACA;AACA;AACA,CAAC,CAAC,gDAAS;;AAEX;AACA;AACA,gBAAgB,2EAAa,qBAAqB,uBAAuB,QAAQ,2EAAa,0BAA0B,aAAa,EAAE,EAAE;AACzI;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA,uBAAuB;AACvB;AACA,4BAA4B,qCAAqC;AACjE;AACA;AACA,4BAA4B,uCAAuC;AACnE;AACA;AACA;AACA;AACA;AACA,2BAA2B,2BAA2B;AACtD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,cAAc,2EAAa;AAC3B;AACA;AACA;AACA;AACA;AACA,uDAAuD,+CAAQ;AAC/D;AACA;AACA;AACA,CAAC,CAAC,gDAAS;;AAEX;AACA;AACA,gBAAgB,2EAAa,WAAW,uBAAuB,QAAQ,2EAAa,0BAA0B,aAAa,EAAE,EAAE;AAC/H;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,4BAA4B,kBAAkB;AAC9C;AACA;AACA;AACA;AACA;AACA;AACA,qBAAqB;AACrB;AACA,iBAAiB;AACjB,aAAa,oBAAoB,wBAAwB,iCAAiC,EAAE,EAAE;AAC9F;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,cAAc,2EAAa;AAC3B;AACA;AACA;AACA;AACA;AACA,uDAAuD,+CAAQ;AAC/D;AACA;AACA;AACA,CAAC,CAAC,gDAAS;;AAEX;AACA;AACA,gBAAgB,2EAAa,eAAe,uBAAuB,QAAQ,2EAAa,0BAA0B,aAAa,EAAE,EAAE;AACnI;AACA;AACA;;AAEA,QAAQ,mBAAO,CAAC,EAAa;AAC7B;;AAEA;AACA;AACA;AACA;AACA,uBAAuB;AACvB;AACA,4BAA4B,uDAAuD;AACnF,SAAS;AACT;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,cAAc,2EAAa;AAC3B;AACA;AACA;AACA;AACA;AACA,uDAAuD,+CAAQ;AAC/D;AACA;AACA;AACA;AACA;AACA;AACA,CAAC,CAAC,gDAAS;;AAEX;AACA;AACA,gBAAgB,2EAAa,cAAc,uBAAuB,QAAQ,2EAAa,0BAA0B,aAAa,EAAE,EAAE;AAClI;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA,uBAAuB;AACvB;AACA;AACA;AACA,aAAa;AACb;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,cAAc,2EAAa;AAC3B;AACA;AACA;AACA;AACA;AACA,uDAAuD,+CAAQ;AAC/D;AACA;AACA;AACA,CAAC,CAAC,gDAAS;;AAEX;AACA;AACA,gBAAgB,2EAAa,WAAW,uBAAuB,QAAQ,2EAAa,0BAA0B,aAAa,EAAE,EAAE;AAC/H;AACA;AACA;;AAEqN;AACrN;;;;;;;;AC9cA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEa;;;;AAIb;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,0EAA0E;AAC1E;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;;AAEA;AACA,CAAC;;AAED;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,gDAAgD;;AAEhD;AACA;AACA;AACA,iDAAiD;;AAEjD;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;;;;;;;;;ACpLA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEa;AACb;AACA,cAAc,kCAAkC,iBAAiB,UAAU,0BAA0B,mDAAmD,kCAAkC,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ACA;AACA;AACA;;AAEA,IAAI,IAA6B;AACjC;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA,GAAG;;AAEH;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;;AAEA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA,GAAG;AACH;;AAEA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA,GAAG;AACH;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;;AAGA;;AAEA;AACA;AACA;;AAEA;;AAEA;AACA;;AAEA;AACA;;AAEA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;;;AAGA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;;AAEA;AACA;AACA;;AAEA,UAAU;AACV;;AAEA;AACA;AACA;;;AAGA;AACA;;AAEA;AACA;AACA;AACA,GAAG;;AAEH;AACA;AACA;AACA,GAAG;;AAEH,UAAU;AACV;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,CAAC;;;;;;;ACjbD;AACA;AACA;AACA;AACA,WAAW;AACX;AACA;;AAEA,8B;;;;;;ACRA;;AAEA;AACA;AACA;AACA,CAAC;;AAED;AACA;AACA;AACA,CAAC;AACD;AACA;AACA;AACA;;AAEA;AACA;AACA,4CAA4C;;AAE5C;;;;;;;;ACpBA,8CAAY;AACZ;AACA;AACA","file":"FullpageReact.js","sourcesContent":["(function webpackUniversalModuleDefinition(root, factory) {\n\tif(typeof exports === 'object' && typeof module === 'object')\n\t\tmodule.exports = factory(require(\"react\"));\n\telse if(typeof define === 'function' && define.amd)\n\t\tdefine(\"FullpageReact\", [\"react\"], factory);\n\telse if(typeof exports === 'object')\n\t\texports[\"FullpageReact\"] = factory(require(\"react\"));\n\telse\n\t\troot[\"FullpageReact\"] = factory(root[\"react\"]);\n})(this, function(__WEBPACK_EXTERNAL_MODULE_1__) {\nreturn \n\n\n// WEBPACK FOOTER //\n// webpack/universalModuleDefinition"," \t// The module cache\n \tvar installedModules = {};\n\n \t// The require function\n \tfunction __webpack_require__(moduleId) {\n\n \t\t// Check if module is in cache\n \t\tif(installedModules[moduleId]) {\n \t\t\treturn installedModules[moduleId].exports;\n \t\t}\n \t\t// Create a new module (and put it into the cache)\n \t\tvar module = installedModules[moduleId] = {\n \t\t\ti: moduleId,\n \t\t\tl: false,\n \t\t\texports: {}\n \t\t};\n\n \t\t// Execute the module function\n \t\tmodules[moduleId].call(module.exports, module, module.exports, __webpack_require__);\n\n \t\t// Flag the module as loaded\n \t\tmodule.l = true;\n\n \t\t// Return the exports of the module\n \t\treturn module.exports;\n \t}\n\n\n \t// expose the modules object (__webpack_modules__)\n \t__webpack_require__.m = modules;\n\n \t// expose the module cache\n \t__webpack_require__.c = installedModules;\n\n \t// identity function for calling harmony imports with the correct context\n \t__webpack_require__.i = function(value) { return value; };\n\n \t// define getter function for harmony exports\n \t__webpack_require__.d = function(exports, name, getter) {\n \t\tif(!__webpack_require__.o(exports, name)) {\n \t\t\tObject.defineProperty(exports, name, {\n \t\t\t\tconfigurable: false,\n \t\t\t\tenumerable: true,\n \t\t\t\tget: getter\n \t\t\t});\n \t\t}\n \t};\n\n \t// getDefaultExport function for compatibility with non-harmony modules\n \t__webpack_require__.n = function(module) {\n \t\tvar getter = module && module.__esModule ?\n \t\t\tfunction getDefault() { return module['default']; } :\n \t\t\tfunction getModuleExports() { return module; };\n \t\t__webpack_require__.d(getter, 'a', getter);\n \t\treturn getter;\n \t};\n\n \t// Object.prototype.hasOwnProperty.call\n \t__webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); };\n\n \t// __webpack_public_path__\n \t__webpack_require__.p = \"/\";\n\n \t// Load entry module and return exports\n \treturn __webpack_require__(__webpack_require__.s = 12);\n\n\n\n// WEBPACK FOOTER //\n// webpack/bootstrap f77a353008ade2f3b5f3","// shim for using process in browser\nvar process = module.exports = {};\n\n// cached from whatever global is present so that test runners that stub it\n// don't break things. But we need to wrap it in a try catch in case it is\n// wrapped in strict mode code which doesn't define any globals. It's inside a\n// function because try/catches deoptimize in certain engines.\n\nvar cachedSetTimeout;\nvar cachedClearTimeout;\n\nfunction defaultSetTimout() {\n throw new Error('setTimeout has not been defined');\n}\nfunction defaultClearTimeout () {\n throw new Error('clearTimeout has not been defined');\n}\n(function () {\n try {\n if (typeof setTimeout === 'function') {\n cachedSetTimeout = setTimeout;\n } else {\n cachedSetTimeout = defaultSetTimout;\n }\n } catch (e) {\n cachedSetTimeout = defaultSetTimout;\n }\n try {\n if (typeof clearTimeout === 'function') {\n cachedClearTimeout = clearTimeout;\n } else {\n cachedClearTimeout = defaultClearTimeout;\n }\n } catch (e) {\n cachedClearTimeout = defaultClearTimeout;\n }\n} ())\nfunction runTimeout(fun) {\n if (cachedSetTimeout === setTimeout) {\n //normal enviroments in sane situations\n return setTimeout(fun, 0);\n }\n // if setTimeout wasn't available but was latter defined\n if ((cachedSetTimeout === defaultSetTimout || !cachedSetTimeout) && setTimeout) {\n cachedSetTimeout = setTimeout;\n return setTimeout(fun, 0);\n }\n try {\n // when when somebody has screwed with setTimeout but no I.E. maddness\n return cachedSetTimeout(fun, 0);\n } catch(e){\n try {\n // When we are in I.E. but the script has been evaled so I.E. doesn't trust the global object when called normally\n return cachedSetTimeout.call(null, fun, 0);\n } catch(e){\n // same as above but when it's a version of I.E. that must have the global object for 'this', hopfully our context correct otherwise it will throw a global error\n return cachedSetTimeout.call(this, fun, 0);\n }\n }\n\n\n}\nfunction runClearTimeout(marker) {\n if (cachedClearTimeout === clearTimeout) {\n //normal enviroments in sane situations\n return clearTimeout(marker);\n }\n // if clearTimeout wasn't available but was latter defined\n if ((cachedClearTimeout === defaultClearTimeout || !cachedClearTimeout) && clearTimeout) {\n cachedClearTimeout = clearTimeout;\n return clearTimeout(marker);\n }\n try {\n // when when somebody has screwed with setTimeout but no I.E. maddness\n return cachedClearTimeout(marker);\n } catch (e){\n try {\n // When we are in I.E. but the script has been evaled so I.E. doesn't trust the global object when called normally\n return cachedClearTimeout.call(null, marker);\n } catch (e){\n // same as above but when it's a version of I.E. that must have the global object for 'this', hopfully our context correct otherwise it will throw a global error.\n // Some versions of I.E. have different rules for clearTimeout vs setTimeout\n return cachedClearTimeout.call(this, marker);\n }\n }\n\n\n\n}\nvar queue = [];\nvar draining = false;\nvar currentQueue;\nvar queueIndex = -1;\n\nfunction cleanUpNextTick() {\n if (!draining || !currentQueue) {\n return;\n }\n draining = false;\n if (currentQueue.length) {\n queue = currentQueue.concat(queue);\n } else {\n queueIndex = -1;\n }\n if (queue.length) {\n drainQueue();\n }\n}\n\nfunction drainQueue() {\n if (draining) {\n return;\n }\n var timeout = runTimeout(cleanUpNextTick);\n draining = true;\n\n var len = queue.length;\n while(len) {\n currentQueue = queue;\n queue = [];\n while (++queueIndex < len) {\n if (currentQueue) {\n currentQueue[queueIndex].run();\n }\n }\n queueIndex = -1;\n len = queue.length;\n }\n currentQueue = null;\n draining = false;\n runClearTimeout(timeout);\n}\n\nprocess.nextTick = function (fun) {\n var args = new Array(arguments.length - 1);\n if (arguments.length > 1) {\n for (var i = 1; i < arguments.length; i++) {\n args[i - 1] = arguments[i];\n }\n }\n queue.push(new Item(fun, args));\n if (queue.length === 1 && !draining) {\n runTimeout(drainQueue);\n }\n};\n\n// v8 likes predictible objects\nfunction Item(fun, array) {\n this.fun = fun;\n this.array = array;\n}\nItem.prototype.run = function () {\n this.fun.apply(null, this.array);\n};\nprocess.title = 'browser';\nprocess.browser = true;\nprocess.env = {};\nprocess.argv = [];\nprocess.version = ''; // empty string to avoid regexp issues\nprocess.versions = {};\n\nfunction noop() {}\n\nprocess.on = noop;\nprocess.addListener = noop;\nprocess.once = noop;\nprocess.off = noop;\nprocess.removeListener = noop;\nprocess.removeAllListeners = noop;\nprocess.emit = noop;\nprocess.prependListener = noop;\nprocess.prependOnceListener = noop;\n\nprocess.listeners = function (name) { return [] }\n\nprocess.binding = function (name) {\n throw new Error('process.binding is not supported');\n};\n\nprocess.cwd = function () { return '/' };\nprocess.chdir = function (dir) {\n throw new Error('process.chdir is not supported');\n};\nprocess.umask = function() { return 0; };\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/process/browser.js\n// module id = 0\n// module chunks = 0","module.exports = __WEBPACK_EXTERNAL_MODULE_1__;\n\n\n//////////////////\n// WEBPACK FOOTER\n// external \"react\"\n// module id = 1\n// module chunks = 0","import React from 'react';\n\nconst HorizontalSlide = 'HorizontalSlide';\nconst VerticalSlide = 'VerticalSlide';\n\nconst Slide = ({ id, render, className, width, height, horizontal, horizontalSliderName, children, style }) => {\n if (!render) {\n return null;\n }\n\n const slideStyle = style || {};\n\n const styles = Object.assign({\n overflow: 'hidden', width: `${width}px`, height: `${height}px`, position: 'relative'\n }, slideStyle);\n\n let slideClassName = horizontal ? [HorizontalSlide] : [VerticalSlide];\n if (className) {\n slideClassName.push(className);\n }\n slideClassName = slideClassName.join(' ');\n\n const attrs = {\n 'data-slide': horizontal ? HorizontalSlide : VerticalSlide,\n 'data-horizontal-slider': horizontalSliderName || null\n };\n\n return (\n <div className={slideClassName} id={id} {...attrs} style={styles}>\n {children}\n </div>\n );\n}\n\nexport default Slide;\n\n\n\n// WEBPACK FOOTER //\n// ./lib/components/Slide.js","/**\n * Copyright (c) 2013-present, Facebook, Inc.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\n'use strict';\n\nvar ReactPropTypesSecret = 'SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED';\n\nmodule.exports = ReactPropTypesSecret;\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/prop-types/lib/ReactPropTypesSecret.js\n// module id = 3\n// module chunks = 0","import React from 'react'\n\nimport Slide from './Slide'\nimport { getNodes, hideAllButActive } from '../utils';\n\nclass HorizontalSlider extends React.Component {\n constructor(props) {\n super(props);\n this.name = this.props.name;\n }\n\n componentDidMount() {\n const { activeSlide, document, name, cache } = this.props;\n cache(this);\n\n const nodes = getNodes(document, `data-horizontal-slider=\"${name}\"`);\n hideAllButActive(activeSlide, nodes);\n }\n\n render() {\n const p = this.props;\n const { name, children, height, width } = p;\n\n if (!name) {\n throw new Error('name is a required prop for HorizontalSlider');\n }\n\n const elements = p.slides.reduce((result, sl) => {\n if (!sl) {\n return result;\n }\n\n if (typeof sl.type !== 'function') {\n result.other.push(sl);\n } else {\n result.slides.push(sl);\n }\n\n return result;\n }, { slides: [], other: [] });\n\n const { other, slides } = elements;\n\n const attrs = {\n 'data-slide': 'HorizontalSlider',\n 'data-name': name\n };\n\n const className = (p.className || '') + 'HorizontalSlider';\n const overflowX = p.hideScrollBars ? 'hidden' : 'auto';\n const overflowY = overflowX;\n\n const horizontalSliderStyle = Object.assign({}, p.style,\n {height: `${height}px`, width: `${width}px`, position: 'relative', overflowX, overflowY, whiteSpace: 'nowrap', padding: '0px', margin: '0'});\n const horizontalSlideStyle = {overflow: 'hidden', whiteSpace: 'normal', display: 'inline-block' };\n\n return (\n <div ref={node => this.node = node} className={className} id={p.id} {...attrs} style={horizontalSliderStyle}>\n {other.map((o, i) => {\n const p = o.props || {};\n return <div key={i} {...p}></div>\n })}\n\n {slides.map((s, i) => {\n if (!s) {\n return null;\n }\n\n let sStyle = Object.assign({}, horizontalSlideStyle, slideStyle);\n const hSlideProps = s.props || {};\n const slideStyle = hSlideProps.style || {};\n\n return <Slide render={true} key={i} horizontalSliderName={name} slide={s} id={hSlideProps.id} className={hSlideProps.className || ''} height={height} width={width} horizontal={true} style={sStyle} {...hSlideProps}>{hSlideProps.children}</Slide>\n })}\n\n {children}\n </div>\n );\n }\n}\n\nexport default HorizontalSlider;\n\n\n\n// WEBPACK FOOTER //\n// ./lib/components/HorizontalSlider.js","import * as renderUtils from './renderUtils';\nimport scrollTo from './scrollTo';\nimport * as constants from './constants';\nimport detectOS from './detectOS.js';\n\nfunction composedPath (el) {\n const paths = [];\n\n while (el) {\n paths.push(el);\n\n if (el.tagName === 'HTML') {\n paths.push(document);\n paths.push(window);\n return paths;\n }\n\n el = el.parentElement;\n\t}\n\n\treturn paths;\n}\n\nfunction getNodes(document, sel) {\n\treturn document.querySelectorAll(`[${sel}]`);\n}\n\nfunction hideAllButActive(activeSlide, nodes) {\n\tArray.prototype.forEach.call(nodes, (n, i) => {\n\t\tif (i === activeSlide) {\n\t\t\tn.style.display = 'inline-block';\n\t\t} else {\n\t\t\tn.style.display = 'none';\n\t\t}\n\t});\n}\n\nfunction showAll(nodes) {\n\tArray.prototype.forEach.call(nodes, (n) => {\n\t\tn.style.display = 'inline-block';\n\t});\n}\n\nconst INTENT_MAP = {\n\t'VERTICAL': {\n\t\t0: 'UP',\n\t\t1: 'DOWN'\n\t},\n\t'HORIZONTAL': {\n\t\t0: 'LEFT',\n\t\t1: 'RIGHT'\n\t}\n};\n\nfunction detectBrowser(userAgentString) {\n\tif (!userAgentString) {\n\t\treturn null;\n\t}\n\n\tconst browsers = [\n\t\t['edge', /Edge\\/([0-9\\._]+)/],\n\t\t['yandexbrowser', /YaBrowser\\/([0-9\\._]+)/],\n\t\t['vivaldi', /Vivaldi\\/([0-9\\.]+)/],\n\t\t['kakaotalk', /KAKAOTALK\\s([0-9\\.]+)/],\n\t\t['chrome', /(?!Chrom.*OPR)Chrom(?:e|ium)\\/([0-9\\.]+)(:?\\s|$)/],\n\t\t['phantomjs', /PhantomJS\\/([0-9\\.]+)(:?\\s|$)/],\n\t\t['crios', /CriOS\\/([0-9\\.]+)(:?\\s|$)/],\n\t\t['firefox', /Firefox\\/([0-9\\.]+)(?:\\s|$)/],\n\t\t['fxios', /FxiOS\\/([0-9\\.]+)/],\n\t\t['opera', /Opera\\/([0-9\\.]+)(?:\\s|$)/],\n\t\t['opera', /OPR\\/([0-9\\.]+)(:?\\s|$)$/],\n\t\t['ie', /Trident\\/7\\.0.*rv\\:([0-9\\.]+).*\\).*Gecko$/],\n\t\t['ie', /MSIE\\s([0-9\\.]+);.*Trident\\/[4-7].0/],\n\t\t['ie', /MSIE\\s(7\\.0)/],\n\t\t['bb10', /BB10;\\sTouch.*Version\\/([0-9\\.]+)/],\n\t\t['android', /Android\\s([0-9\\.]+)/],\n\t\t['ios', /Version\\/([0-9\\._]+).*Mobile.*Safari.*/],\n\t\t['safari', /Version\\/([0-9\\._]+).*Safari/]\n\t];\n\n\treturn browsers.map(function (rule) {\n\t\tif (rule[1].test(userAgentString)) {\n\t\t\tconst match = rule[1].exec(userAgentString);\n\t\t\tconst version = match && match[1].split(/[._]/).slice(0, 3);\n\n\t\t\tif (version && version.length < 3) {\n\t\t\t\tArray.prototype.push.apply(version, (version.length == 1) ? [0, 0] : [0]);\n\t\t\t}\n\n\t\t\treturn {\n\t\t\t\tname: rule[0],\n\t\t\t\tversion: version.join('.'),\n\t\t\t\tos: detectOS(userAgentString)\n\t\t\t};\n\t\t}\n\t}).filter(Boolean).shift();\n}\n\nexport {\n\tcomposedPath,\n\tconstants,\n\tshowAll,\n\thideAllButActive,\n\tINTENT_MAP,\n\trenderUtils,\n\tscrollTo,\n\tgetNodes,\n\tdetectBrowser\n};\n\n\n\n// WEBPACK FOOTER //\n// ./lib/utils/index.js","'use strict';\n\nif (process.env.NODE_ENV === 'production') {\n module.exports = require('./cjs/react-is.production.min.js');\n} else {\n module.exports = require('./cjs/react-is.development.js');\n}\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/react-is/index.js\n// module id = 6\n// module chunks = 0","import React from 'react';\nimport ScrollSwipe from 'scroll-swipe';\nimport root from 'window-or-global';\nimport { WindowSize } from 'react-fns';\n\nimport { detectBrowser, constants, scrollTo, renderUtils, INTENT_MAP, getNodes, showAll, hideAllButActive, composedPath } from '../utils';\nimport Slide from './Slide';\nimport HorizontalSlider from './HorizontalSlider';\n\nconst { noOp } = constants;\nconst { KEY_IDX } = renderUtils;\n\nlet _fp = {};\nlet global = {};\n\nconst TIMEOUT = 200;\n\nconst documentStub = () => {\n const style = {};\n return {\n querySelectorAll: () => [<div></div>],\n documentElement: {\n style\n },\n body: {\n style\n }\n };\n}\n\nfunction generateState(activeSlide = 0) {\n return {\n activeSlide,\n lastActive: activeSlide - 1\n };\n}\n\nclass Fullpage extends React.Component {\n constructor(props) {\n super(props);\n const p = this.props;\n\n global.window = root;\n global.document = global.window.document || documentStub();\n\n if (p.infinite && p.resetSlides) {\n throw new Error('Fullpage Component cannot have both infinite and resetSlides as truthy props');\n }\n\n const { slides } = p;\n\n if (!slides || !slides.length) {\n throw new Error('Please provide slides for Fullpage');\n }\n\n let horizontalMap = {};\n // generate state for horizontals;\n const horizontals = slides.reduce((result, s, i) => {\n const { name } = s.props;\n\n if (s.props.slides && name) {\n result[name] = generateState(0);\n horizontalMap[i] = name;\n }\n\n return result;\n }, {});\n horizontals.horizontalMap = horizontalMap;\n\n const { activeSlide = 0, scrollSensitivity, touchSensitivity, scrollSpeed = 500 } = p;\n\n this.name = 'Fullpage';\n this.scrollSensitivity = scrollSensitivity;\n this.touchSensitivity = touchSensitivity;\n this.scrollSpeed = scrollSpeed;\n\n this.node = null;\n this.ss = null;\n this.verticalRoot = determineVerticalRoot();\n\n this.onHorizontalChange = p.onHorizontalChange || noOp;\n this.onSlideChangeStart = p.onSlideChangeStart || noOp;\n this.onSlideChangeEnd = p.onSlideChangeEnd || noOp;\n\n ['onScrollAction', 'onVerticalScroll',\n 'onHorizontalScroll', 'lockScroll', 'handleScroll',\n 'checkKey'].forEach(f => this[f] = this[f].bind(this));\n\n this.isLocked = false;\n this.hSlideCache = {};\n this.cacheHslide = (slide) => {\n this.hSlideCache[slide.name] = slide;\n }\n\n _fp = this;\n\n this.state = Object.assign({\n scrollPending: false,\n window: null,\n document: null\n }, horizontals, generateState(activeSlide));\n }\n\n componentDidMount() {\n this.hideScrollBars();\n\n this.window = global.window;\n this.document = global.document;\n\n this.setState({\n window: global.window,\n document: global.document\n }, () => {\n this.lockScroll();\n });\n }\n\n hideScrollBars() {\n const { hideScrollBars } = this.props;\n\n if (!hideScrollBars) {\n return;\n }\n\n const { document } = global;\n document.documentElement.style.overflow = 'hidden';\n document.body.style.overflow = 'hidden';\n }\n\n showScrollBars() {\n const { document } = global;\n document.documentElement.style.overflow = 'auto';\n document.body.style.overflow = 'auto';\n }\n\n lockScroll() {\n const { node, checkKey } = this;\n const { enableArrowKeys } = this.props;\n\n if (enableArrowKeys) {\n window.addEventListener('keydown', checkKey.bind(this));\n }\n\n const ss = new ScrollSwipe({\n target: node,\n scrollSensitivity: this.scrollSensitivity,\n touchSensitivity: this.touchSensitivity,\n scrollPreventDefault: true,\n touchPreventDefault: true,\n scrollCb: this.onScrollAction,\n touchCb: this.onScrollAction\n });\n this.ss = ss;\n this.isLocked = true;\n }\n\n onScrollAction({direction, intent, startEvent}) {\n if (!this.props.locked) {\n const s = this.state;\n const { ss = ssStub() } = this;\n\n if (s.scrollPending) {\n ss.flush();\n return ss.listen();\n }\n\n const dir = INTENT_MAP[direction];\n\n // at this point we are dedicating\n if (direction === 'VERTICAL') {\n return this.onVerticalScroll(dir[intent], startEvent);\n }\n\n let path = startEvent.path || (startEvent.composedPath && startEvent.composedPath());\n\n if (!path) {\n const polyFillPath = composedPath(startEvent.target);\n path = polyFillPath;\n }\n\n const isHorizontal = path.find((p) => {\n if (!p.dataset) {\n return false;\n }\n\n return p.dataset.slide === 'HorizontalSlider';\n });\n\n if (!isHorizontal) {\n ss.flush();\n return ss.listen();\n }\n\n this.onHorizontalScroll(dir[intent], isHorizontal);\n }\n }\n\n onVerticalScroll(intent) {\n const s = this.state;\n const { window, activeSlide } = s;\n const { slides } = this.props;\n\n const next = intent === 'DOWN' ? activeSlide + 1 : activeSlide - 1;\n if (next < 0 || next > slides.length - 1) {\n const { ss = ssStub() } = this;\n ss.flush();\n return ss.listen();\n }\n\n const to = next * window.innerHeight;\n const newState = {\n activeSlide: next,\n lastActive: activeSlide\n };\n\n this.setState({ scrollPending: true }, () => {\n this.handleScroll(this.verticalRoot, 'scrollTop', to, newState, this.name);\n });\n }\n\n onHorizontalScroll(intent, node) {\n const { name } = node.dataset;\n let { activeSlide } = this.state[name];\n let next = intent === 'RIGHT' ? activeSlide + 1 : activeSlide - 1;\n const { innerWidth } = this.state.window;\n const { ss = ssStub() } = this;\n\n const comp = _fp.hSlideCache[name];\n const hp = comp.props;\n const { infinite } = hp;\n\n let nodes = getNodes(this.state.document, `data-horizontal-slider=\"${name}\"`);\n\n let leftVal = activeSlide * innerWidth;\n let to = next * innerWidth;\n\n const result = this.determineHSlide(comp, activeSlide, next, leftVal, to, nodes);\n\n if (!result) {\n setTimeout(() => {\n ss.flush();\n ss.listen();\n }, TIMEOUT);\n return;\n }\n\n leftVal = result.leftVal\n next = result.next;\n to = result.to;\n\n const newState = {\n [name]: {\n activeSlide: next,\n lastActive: activeSlide\n }\n };\n\n this.handleHorizontal(name, node, nodes, leftVal, to, next, newState, infinite);\n }\n\n determineHSlide(comp, activeSlide, next, leftVal, to, nodes) {\n const hp = comp.props;\n const { infinite, resetSlides } = hp;\n const { innerWidth } = this.state.window;\n\n const len = nodes.length;\n\n const infStart = activeSlide === 0 && next === -1;\n const infEnd = activeSlide === len - 1 && next === len;\n\n if (!infinite && !resetSlides && (infStart || infEnd)) {\n return null;\n }\n\n if (infinite && infStart) {\n // simulate last <- 0\n next = len - 1;\n lastToFirst(nodes);\n leftVal = innerWidth;\n to = 0;\n } else if (infinite && infEnd) {\n // simulate last -> 0\n next = 0;\n lastToFirst(nodes);\n leftVal = 0;\n to = innerWidth;\n }\n\n const result = { next, leftVal, to };\n return result;\n }\n\n handleHorizontal(name, node, nodes, leftVal, to, next, newState, infinite) {\n showAll(nodes);\n node.scrollLeft = leftVal;\n\n //show, reset window\n //scroll\n //hide\n\n this.setState({ scrollPending: true }, () => {\n this.handleScroll(node, 'scrollLeft', to, newState, name, () => {\n if (infinite) {\n firstToLast(nodes);\n node.scrollLeft = innerWidth * next;\n }\n hideAllButActive(next, nodes);\n });\n });\n }\n\n handleScroll(node, winProp, to, newState, compName, cb = noOp) {\n const ss = this.ss || ssStub();\n ss.flush();\n const cancellable = this.onSlideChangeStart(compName, this.props, this.state, newState[compName] || newState);\n\n if (cancellable === true) {\n return;\n }\n\n scrollTo(node, winProp, to, this.scrollSpeed, () => {\n newState.scrollPending = false;\n this.setState(newState, () => {\n cb();\n this.onSlideChangeEnd(compName, this.props, this.state, newState[compName] || newState);\n setTimeout(() => {\n ss.flush();\n ss.listen();\n }, TIMEOUT);\n });\n });\n }\n\n componentWillUnmount() {\n const ss = this.ss || ssStub();\n ss.killAll();\n this.ss = null;\n\n const { window } = this.state;\n\n if (this.props.enableArrowKeys) {\n window.removeEventListener('keydown', this.checkKey);\n }\n\n if (this.props.hideScrollBars) {\n this.showScrollBars();\n }\n }\n\n checkKey(e) {\n const direction = KEY_IDX[e.keyCode];\n if (!direction) {\n return;\n }\n\n const intent = (direction === 'UP' || direction === 'LEFT') ? -1 : 1;\n const context = (direction === 'UP' || direction === 'DOWN') ? 'VERTICAL' : 'HORIZONTAL';\n\n if (context === 'VERTICAL') {\n Fullpage.changeFullpageSlide(this.state.activeSlide + intent);\n return;\n }\n\n const horizontalName = this.state.horizontalMap[this.state.activeSlide];\n if (!horizontalName) {\n return;\n }\n\n const { activeSlide } = this.state[horizontalName];\n Fullpage.changeHorizontalSlide(horizontalName, activeSlide + intent);\n }\n\n static changeHorizontalSlide(name, next) {\n next = +next;\n\n const comp = _fp.hSlideCache[name];\n if (!comp) {\n throw Error('cannt find HorizontalSlider by name', name);\n }\n\n const { node, props } = comp;\n const { infinite } = props;\n const eligible = isEligible(next, props, _fp.state);\n\n if (!eligible) {\n return;\n }\n\n const { activeSlide } = _fp.state[name];\n const { innerWidth } = _fp.state.window;\n\n let nodes = getNodes(_fp.state.document, `data-horizontal-slider=\"${name}\"`);\n let leftVal = activeSlide * innerWidth;\n let to = next * innerWidth;\n\n const result = _fp.determineHSlide.call(_fp, comp, activeSlide, next, leftVal, to, nodes);\n\n leftVal = result.leftVal\n next = result.next;\n to = result.to;\n\n const newState = {\n [name]: {\n activeSlide: next,\n lastActive: activeSlide\n }\n };\n\n _fp.handleHorizontal.call(_fp, name, node, nodes, leftVal, to, next, newState, infinite);\n }\n\n static changeFullpageSlide(idx) {\n const { props, state, name, verticalRoot } = _fp;\n const { activeSlide, window } = state;\n\n const eligible = isEligible(idx, props, state);\n\n if (!eligible) {\n return;\n }\n\n const newState = {\n activeSlide: idx,\n lastActive: activeSlide\n };\n\n const to = idx * window.innerHeight;\n\n _fp.setState({ scrollPending: true }, () => {\n _fp.onSlideChangeStart(name, props, state, newState);\n _fp.handleScroll(verticalRoot, 'scrollTop', to, newState, name);\n });\n }\n\n render() {\n const s = this.state;\n const p = this.props;\n const { window, document, activeSlide } = s;\n\n const children = p.children || null;\n\n if (!window) {\n return children;\n }\n\n const elements = p.slides.reduce((result, sl) => {\n if (!sl) {\n return result;\n }\n\n if (typeof sl.type !== 'function') {\n result.other.push(sl);\n } else {\n result.slides.push(sl);\n }\n\n return result;\n }, { slides: [], other: [] });\n\n const { other, slides } = elements;\n\n // TODO: sub other for children\n return (\n <WindowSize\n render={({ width, height }) => {\n\n const to = activeSlide * height;\n setTimeout(() => {\n this.verticalRoot.scrollTop = to;\n }, 0);\n\n return (\n <div ref={node => (this.node = node)} className=\"Fullpage\">\n {children}\n {other.map((o, i) => {\n const op = o.props || {};\n return <div key={i} {...op} />;\n })}\n\n {slides.map((sl, i) => {\n const sp = sl.props || {};\n const children = sp.children;\n\n if (sp.slides) {\n const { name } = sp;\n return <HorizontalSlider cache={this.cacheHslide.bind(this)} width={width} height={height} window={window} document={document} activeSlide={s[name].activeSlide} hideScrollBars={p.hideScrollBars} {...sp} key={i}>\n {children}\n </HorizontalSlider>;\n }\n\n return <Slide render={true} className={sp.className || ''} id={sp.id} width={width} height={height} key={i} {...sp}>\n {children}\n </Slide>;\n })}\n </div>\n );\n }}\n />\n );\n }\n}\n\nfunction swap(nodes, o, i) {\n nodes[o || i].parentNode.insertBefore(nodes[i], nodes[o]);\n return nodes;\n}\n\nfunction lastToFirst(nodes) {\n swap(nodes, 0, nodes.length - 1);\n}\n\nfunction firstToLast(nodes) {\n swap(nodes, null, nodes.length - 1);\n}\n\nfunction isEligible(idx, props, state) {\n const { slides } = props;\n const { activeSlide } = state;\n\n if (state.scrollPending) {\n return false;\n }\n\n if (props.infinite) {\n return true;\n }\n\n if (idx > slides.length - 1 || idx < 0) {\n return false;\n }\n\n if (idx == activeSlide) {\n return false;\n }\n\n return true;\n}\n\nfunction ssStub() {\n return {\n flush: noOp,\n killAll: noOp,\n listen: noOp\n };\n}\n\nfunction determineVerticalRoot() {\n let userAgent, platform;\n\n const { document } = global;\n\n if (typeof navigator !== 'undefined' && navigator) {\n ({ userAgent, platform } = navigator);\n }\n\n if (!userAgent) {\n return document.body;\n }\n\n // http://developer.samsung.com/technical-doc/view.do?v=T000000203\n if (/SAMSUNG.*Build\\//.test(userAgent)) {\n return document.body;\n }\n\n const browser = detectBrowser(userAgent);\n\n if (!browser) {\n return document.body;\n }\n\n // NOTE: various browsers and devTools handle this differently as the userAgent source of truth\n // To get the root scrollable element we have to play around with OS and browser to find the right\n // root to return. If need be we can be specific about version\n\n const { name, version, os } = browser; // eslint-disable-line no-unused-vars\n const [ major, minor, patch ] = version.split('.'); // eslint-disable-line no-unused-vars\n\n const docElementSet = new Set([\n 'firefox',\n 'chrome',\n 'ios', // iPad (chrome devtools)\n 'crios', // chrome ios (chrome devtools)\n 'ie'\n ]);\n\n // Some platforms conflict with the devtools when it comes to supporting document.body\n // In order to support both user-agents in chrome devtools and the native device we need to\n // check for both browser name and device platform\n const conflictingPlatforms = new Set([\n 'iPhone',\n 'iPad'\n ]);\n\n if (docElementSet.has(name) && !conflictingPlatforms.has(platform)) {\n return document.documentElement;\n }\n\n // safari, chrome ios etc\n return document.body;\n}\nexport default Fullpage;\n\n\n\n// WEBPACK FOOTER //\n// ./lib/components/Fullpage.js","export default function _assertThisInitialized(self) {\n if (self === void 0) {\n throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\");\n }\n\n return self;\n}\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/@babel/runtime/helpers/esm/assertThisInitialized.js\n// module id = 8\n// module chunks = 0","export default function _defineProperty(obj, key, value) {\n if (key in obj) {\n Object.defineProperty(obj, key, {\n value: value,\n enumerable: true,\n configurable: true,\n writable: true\n });\n } else {\n obj[key] = value;\n }\n\n return obj;\n}\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/@babel/runtime/helpers/esm/defineProperty.js\n// module id = 9\n// module chunks = 0","export default function _extends() {\n _extends = Object.assign || function (target) {\n for (var i = 1; i < arguments.length; i++) {\n var source = arguments[i];\n\n for (var key in source) {\n if (Object.prototype.hasOwnProperty.call(source, key)) {\n target[key] = source[key];\n }\n }\n }\n\n return target;\n };\n\n return _extends.apply(this, arguments);\n}\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/@babel/runtime/helpers/esm/extends.js\n// module id = 10\n// module chunks = 0","export default function _inheritsLoose(subClass, superClass) {\n subClass.prototype = Object.create(superClass.prototype);\n subClass.prototype.constructor = subClass;\n subClass.__proto__ = superClass;\n}\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/@babel/runtime/helpers/esm/inheritsLoose.js\n// module id = 11\n// module chunks = 0","import Fullpage from './components/Fullpage';\nimport Slide from './components/Slide';\nimport HorizontalSlider from './components/HorizontalSlider';\n\nexport {\n Fullpage,\n Slide,\n HorizontalSlider\n};\n\n\n\n// WEBPACK FOOTER //\n// ./lib/index.js","const INCREMENT = 'INCREMENT';\nconst DECREMENT = 'DECREMENT';\nconst VERTICAL = 'VERTICAL';\nconst HORIZONTAL = 'HORIZONTAL';\nconst HEAD = 'HEAD';\nconst TAIL = 'TAIL';\nconst I_BLOCK = 'inline-block';\nconst BLOCK = 'block';\nconst NONE = 'none';\nconst noOp = () => {};\n\nexport {\n INCREMENT,\n DECREMENT,\n VERTICAL,\n HORIZONTAL,\n I_BLOCK,\n HEAD,\n TAIL,\n BLOCK,\n NONE,\n noOp\n};\n\n\n\n// WEBPACK FOOTER //\n// ./lib/utils/constants.js","module.exports = function detectOS(userAgentString) {\n const operatingSystems = [\n {\n name: 'iOS',\n rule: /iP(hone|od|ad)/\n },\n {\n name: 'Android OS',\n rule: /Android/\n },\n {\n name: 'BlackBerry OS',\n rule: /BlackBerry|BB10/\n },\n {\n name: 'Windows Mobile',\n rule: /IEMobile/\n },\n {\n name: 'Amazon OS',\n rule: /Kindle/\n },\n {\n name: 'Windows 3.11',\n rule: /Win16/\n },\n {\n name: 'Windows 95',\n rule: /(Windows 95)|(Win95)|(Windows_95)/\n },\n {\n name: 'Windows 98',\n rule: /(Windows 98)|(Win98)/\n },\n {\n name: 'Windows 2000',\n rule: /(Windows NT 5.0)|(Windows 2000)/\n },\n {\n name: 'Windows XP',\n rule: /(Windows NT 5.1)|(Windows XP)/\n },\n {\n name: 'Windows Server 2003',\n rule: /(Windows NT 5.2)/\n },\n {\n name: 'Windows Vista',\n rule: /(Windows NT 6.0)/\n },\n {\n name: 'Windows 7',\n rule: /(Windows NT 6.1)/\n },\n {\n name: 'Windows 8',\n rule: /(Windows NT 6.2)/\n },\n {\n name: 'Windows 8.1',\n rule: /(Windows NT 6.3)/\n },\n {\n name: 'Windows 10',\n rule: /(Windows NT 10.0)/\n },\n {\n name: 'Windows ME',\n rule: /Windows ME/\n },\n {\n name: 'Open BSD',\n rule: /OpenBSD/\n },\n {\n name: 'Sun OS',\n rule: /SunOS/\n },\n {\n name: 'Linux',\n rule: /(Linux)|(X11)/\n },\n {\n name: 'Mac OS',\n rule: /(Mac_PowerPC)|(Macintosh)/\n },\n {\n name: 'QNX',\n rule: /QNX/\n },\n {\n name: 'BeOS',\n rule: /BeOS/\n },\n {\n name: 'OS/2',\n rule: /OS\\/2/\n },\n {\n name: 'Search Bot',\n rule: /(nuhk)|(Googlebot)|(Yammybot)|(Openbot)|(Slurp)|(MSNBot)|(Ask Jeeves\\/Teoma)|(ia_archiver)/\n }\n ];\n\n const detected = operatingSystems.filter(function (os) {\n if (userAgentString.match(os.rule)) {\n return true;\n }\n });\n\n return detected && detected[0] ? detected[0].name : null;\n};\n\n\n// WEBPACK FOOTER //\n// ./lib/utils/detectOS.js","const KEY_IDX = {\n 37: 'LEFT',\n 38: 'UP',\n 39: 'RIGHT',\n 40: 'DOWN'\n};\n\nexport {\n KEY_IDX\n};\n\n\n\n// WEBPACK FOOTER //\n// ./lib/utils/renderUtils.js","function scrollTo(element, elementBoundary, to, duration, callback) {\n const start = element[elementBoundary],\n change = to - start,\n increment = 10;\n\n let currentTime = 0;\n let globalId = requestAnimationFrame(repeatOften);\n function repeatOften() {\n currentTime += increment;\n let val = easeInOutQuad(currentTime, start, change, duration);\n element[elementBoundary] = val;\n\n if (currentTime >= duration) {\n cancelAnimationFrame(globalId);\n return callback();\n }\n globalId = requestAnimationFrame(repeatOften);\n }\n}\n\n//t = current time\n//b = start value\n//c = change in value\n//d = duration\nconst easeInOutQuad = (t, b, c, d) => {\n t /= d;\n\treturn -c * t*(t-2) + b;\n}\n\nexport default scrollTo;\n\n\n\n// WEBPACK FOOTER //\n// ./lib/utils/scrollTo.js","/**\n * Copyright (c) 2013-present, Facebook, Inc.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\n'use strict';\n\n/**\n * Use invariant() to assert state which your program assumes to be true.\n *\n * Provide sprintf-style format (only %s is supported) and arguments\n * to provide information about what broke and what you were\n * expecting.\n *\n * The invariant message will be stripped in production, but the invariant\n * will remain to ensure logic does not differ in production.\n */\n\nvar invariant = function(condition, format, a, b, c, d, e, f) {\n if (process.env.NODE_ENV !== 'production') {\n if (format === undefined) {\n throw new Error('invariant requires an error message argument');\n }\n }\n\n if (!condition) {\n var error;\n if (format === undefined) {\n error = new Error(\n 'Minified exception occurred; use the non-minified dev environment ' +\n 'for the full error message and additional helpful warnings.'\n );\n } else {\n var args = [a, b, c, d, e, f];\n var argIndex = 0;\n error = new Error(\n format.replace(/%s/g, function() { return args[argIndex++]; })\n );\n error.name = 'Invariant Violation';\n }\n\n error.framesToPop = 1; // we don't care about invariant's own frame\n throw error;\n }\n};\n\nmodule.exports = invariant;\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/invariant/browser.js\n// module id = 17\n// module chunks = 0","var camel2hyphen = require('string-convert/camel2hyphen');\n\nvar isDimension = function (feature) {\n var re = /[height|width]$/;\n return re.test(feature);\n};\n\nvar obj2mq = function (obj) {\n var mq = '';\n var features = Object.keys(obj);\n features.forEach(function (feature, index) {\n var value = obj[feature];\n feature = camel2hyphen(feature);\n // Add px to dimension features\n if (isDimension(feature) && typeof value === 'number') {\n value = value + 'px';\n }\n if (value === true) {\n mq += feature;\n } else if (value === false) {\n mq += 'not ' + feature;\n } else {\n mq += '(' + feature + ': ' + value + ')';\n }\n if (index < features.length-1) {\n mq += ' and '\n }\n });\n return mq;\n};\n\nvar json2mq = function (query) {\n var mq = '';\n if (typeof query === 'string') {\n return query;\n }\n // Handling array of media queries\n if (query instanceof Array) {\n query.forEach(function (q, index) {\n mq += obj2mq(q);\n if (index < query.length-1) {\n mq += ', '\n }\n });\n return mq;\n }\n // Handling single media query\n return obj2mq(query);\n};\n\nmodule.exports = json2mq;\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/json2mq/index.js\n// module id = 18\n// module chunks = 0","/*\nobject-assign\n(c) Sindre Sorhus\n@license MIT\n*/\n\n'use strict';\n/* eslint-disable no-unused-vars */\nvar getOwnPropertySymbols = Object.getOwnPropertySymbols;\nvar hasOwnProperty = Object.prototype.hasOwnProperty;\nvar propIsEnumerable = Object.prototype.propertyIsEnumerable;\n\nfunction toObject(val) {\n\tif (val === null || val === undefined) {\n\t\tthrow new TypeError('Object.assign cannot be called with null or undefined');\n\t}\n\n\treturn Object(val);\n}\n\nfunction shouldUseNative() {\n\ttry {\n\t\tif (!Object.assign) {\n\t\t\treturn false;\n\t\t}\n\n\t\t// Detect buggy property enumeration order in older V8 versions.\n\n\t\t// https://bugs.chromium.org/p/v8/issues/detail?id=4118\n\t\tvar test1 = new String('abc'); // eslint-disable-line no-new-wrappers\n\t\ttest1[5] = 'de';\n\t\tif (Object.getOwnPropertyNames(test1)[0] === '5') {\n\t\t\treturn false;\n\t\t}\n\n\t\t// https://bugs.chromium.org/p/v8/issues/detail?id=3056\n\t\tvar test2 = {};\n\t\tfor (var i = 0; i < 10; i++) {\n\t\t\ttest2['_' + String.fromCharCode(i)] = i;\n\t\t}\n\t\tvar order2 = Object.getOwnPropertyNames(test2).map(function (n) {\n\t\t\treturn test2[n];\n\t\t});\n\t\tif (order2.join('') !== '0123456789') {\n\t\t\treturn false;\n\t\t}\n\n\t\t// https://bugs.chromium.org/p/v8/issues/detail?id=3056\n\t\tvar test3 = {};\n\t\t'abcdefghijklmnopqrst'.split('').forEach(function (letter) {\n\t\t\ttest3[letter] = letter;\n\t\t});\n\t\tif (Object.keys(Object.assign({}, test3)).join('') !==\n\t\t\t\t'abcdefghijklmnopqrst') {\n\t\t\treturn false;\n\t\t}\n\n\t\treturn true;\n\t} catch (err) {\n\t\t// We don't expect any of the above to throw, but better to be safe.\n\t\treturn false;\n\t}\n}\n\nmodule.exports = shouldUseNative() ? Object.assign : function (target, source) {\n\tvar from;\n\tvar to = toObject(target);\n\tvar symbols;\n\n\tfor (var s = 1; s < arguments.length; s++) {\n\t\tfrom = Object(arguments[s]);\n\n\t\tfor (var key in from) {\n\t\t\tif (hasOwnProperty.call(from, key)) {\n\t\t\t\tto[key] = from[key];\n\t\t\t}\n\t\t}\n\n\t\tif (getOwnPropertySymbols) {\n\t\t\tsymbols = getOwnPropertySymbols(from);\n\t\t\tfor (var i = 0; i < symbols.length; i++) {\n\t\t\t\tif (propIsEnumerable.call(from, symbols[i])) {\n\t\t\t\t\tto[symbols[i]] = from[symbols[i]];\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t}\n\n\treturn to;\n};\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/object-assign/index.js\n// module id = 19\n// module chunks = 0","/**\n * Copyright (c) 2013-present, Facebook, Inc.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\n'use strict';\n\nvar printWarning = function() {};\n\nif (process.env.NODE_ENV !== 'production') {\n var ReactPropTypesSecret = require('./lib/ReactPropTypesSecret');\n var loggedTypeFailures = {};\n var has = Function.call.bind(Object.prototype.hasOwnProperty);\n\n printWarning = function(text) {\n var message = 'Warning: ' + text;\n if (typeof console !== 'undefined') {\n console.error(message);\n }\n try {\n // --- Welcome to debugging React ---\n // This error was thrown as a convenience so that you can use this stack\n // to find the callsite that caused this warning to fire.\n throw new Error(message);\n } catch (x) {}\n };\n}\n\n/**\n * Assert that the values match with the type specs.\n * Error messages are memorized and will only be shown once.\n *\n * @param {object} typeSpecs Map of name to a ReactPropType\n * @param {object} values Runtime values that need to be type-checked\n * @param {string} location e.g. \"prop\", \"context\", \"child context\"\n * @param {string} componentName Name of the component for error messages.\n * @param {?Function} getStack Returns the component stack.\n * @private\n */\nfunction checkPropTypes(typeSpecs, values, location, componentName, getStack) {\n if (process.env.NODE_ENV !== 'production') {\n for (var typeSpecName in typeSpecs) {\n if (has(typeSpecs, typeSpecName)) {\n var error;\n // Prop type validation may throw. In case they do, we don't want to\n // fail the render phase where it didn't fail before. So we log it.\n // After these have been cleaned up, we'll let them throw.\n try {\n // This is intentionally an invariant that gets caught. It's the same\n // behavior as without this statement except with a better message.\n if (typeof typeSpecs[typeSpecName] !== 'function') {\n var err = Error(\n (componentName || 'React class') + ': ' + location + ' type `' + typeSpecName + '` is invalid; ' +\n 'it must be a function, usually from the `prop-types` package, but received `' + typeof typeSpecs[typeSpecName] + '`.'\n );\n err.name = 'Invariant Violation';\n throw err;\n }\n error = typeSpecs[typeSpecName](values, typeSpecName, componentName, location, null, ReactPropTypesSecret);\n } catch (ex) {\n error = ex;\n }\n if (error && !(error instanceof Error)) {\n printWarning(\n (componentName || 'React class') + ': type specification of ' +\n location + ' `' + typeSpecName + '` is invalid; the type checker ' +\n 'function must return `null` or an `Error` but returned a ' + typeof error + '. ' +\n 'You may have forgotten to pass an argument to the type checker ' +\n 'creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and ' +\n 'shape all require an argument).'\n );\n }\n if (error instanceof Error && !(error.message in loggedTypeFailures)) {\n // Only monitor this failure once because there tends to be a lot of the\n // same error.\n loggedTypeFailures[error.message] = true;\n\n var stack = getStack ? getStack() : '';\n\n printWarning(\n 'Failed ' + location + ' type: ' + error.message + (stack != null ? stack : '')\n );\n }\n }\n }\n }\n}\n\n/**\n * Resets warning cache when testing.\n *\n * @private\n */\ncheckPropTypes.resetWarningCache = function() {\n if (process.env.NODE_ENV !== 'production') {\n loggedTypeFailures = {};\n }\n}\n\nmodule.exports = checkPropTypes;\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/prop-types/checkPropTypes.js\n// module id = 20\n// module chunks = 0","/**\n * Copyright (c) 2013-present, Facebook, Inc.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\n'use strict';\n\nvar ReactPropTypesSecret = require('./lib/ReactPropTypesSecret');\n\nfunction emptyFunction() {}\nfunction emptyFunctionWithReset() {}\nemptyFunctionWithReset.resetWarningCache = emptyFunction;\n\nmodule.exports = function() {\n function shim(props, propName, componentName, location, propFullName, secret) {\n if (secret === ReactPropTypesSecret) {\n // It is still safe when called from React.\n return;\n }\n var err = new Error(\n 'Calling PropTypes validators directly is not supported by the `prop-types` package. ' +\n 'Use PropTypes.checkPropTypes() to call them. ' +\n 'Read more at http://fb.me/use-check-prop-types'\n );\n err.name = 'Invariant Violation';\n throw err;\n };\n shim.isRequired = shim;\n function getShim() {\n return shim;\n };\n // Important!\n // Keep this list in sync with production version in `./factoryWithTypeCheckers.js`.\n var ReactPropTypes = {\n array: shim,\n bool: shim,\n func: shim,\n number: shim,\n object: shim,\n string: shim,\n symbol: shim,\n\n any: shim,\n arrayOf: getShim,\n element: shim,\n elementType: shim,\n instanceOf: getShim,\n node: shim,\n objectOf: getShim,\n oneOf: getShim,\n oneOfType: getShim,\n shape: getShim,\n exact: getShim,\n\n checkPropTypes: emptyFunctionWithReset,\n resetWarningCache: emptyFunction\n };\n\n ReactPropTypes.PropTypes = ReactPropTypes;\n\n return ReactPropTypes;\n};\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/prop-types/factoryWithThrowingShims.js\n// module id = 21\n// module chunks = 0","/**\n * Copyright (c) 2013-present, Facebook, Inc.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\n'use strict';\n\nvar ReactIs = require('react-is');\nvar assign = require('object-assign');\n\nvar ReactPropTypesSecret = require('./lib/ReactPropTypesSecret');\nvar checkPropTypes = require('./checkPropTypes');\n\nvar has = Function.call.bind(Object.prototype.hasOwnProperty);\nvar printWarning = function() {};\n\nif (process.env.NODE_ENV !== 'production') {\n printWarning = function(text) {\n var message = 'Warning: ' + text;\n if (typeof console !== 'undefined') {\n console.error(message);\n }\n try {\n // --- Welcome to debugging React ---\n // This error was thrown as a convenience so that you can use this stack\n // to find the callsite that caused this warning to fire.\n throw new Error(message);\n } catch (x) {}\n };\n}\n\nfunction emptyFunctionThatReturnsNull() {\n return null;\n}\n\nmodule.exports = function(isValidElement, throwOnDirectAccess) {\n /* global Symbol */\n var ITERATOR_SYMBOL = typeof Symbol === 'function' && Symbol.iterator;\n var FAUX_ITERATOR_SYMBOL = '@@iterator'; // Before Symbol spec.\n\n /**\n * Returns the iterator method function contained on the iterable object.\n *\n * Be sure to invoke the function with the iterable as context:\n *\n * var iteratorFn = getIteratorFn(myIterable);\n * if (iteratorFn) {\n * var iterator = iteratorFn.call(myIterable);\n * ...\n * }\n *\n * @param {?object} maybeIterable\n * @return {?function}\n */\n function getIteratorFn(maybeIterable) {\n var iteratorFn = maybeIterable && (ITERATOR_SYMBOL && maybeIterable[ITERATOR_SYMBOL] || maybeIterable[FAUX_ITERATOR_SYMBOL]);\n if (typeof iteratorFn === 'function') {\n return iteratorFn;\n }\n }\n\n /**\n * Collection of methods that allow declaration and validation of props that are\n * supplied to React components. Example usage:\n *\n * var Props = require('ReactPropTypes');\n * var MyArticle = React.createClass({\n * propTypes: {\n * // An optional string prop named \"description\".\n * description: Props.string,\n *\n * // A required enum prop named \"category\".\n * category: Props.oneOf(['News','Photos']).isRequired,\n *\n * // A prop named \"dialog\" that requires an instance of Dialog.\n * dialog: Props.instanceOf(Dialog).isRequired\n * },\n * render: function() { ... }\n * });\n *\n * A more formal specification of how these methods are used:\n *\n * type := array|bool|func|object|number|string|oneOf([...])|instanceOf(...)\n * decl := ReactPropTypes.{type}(.isRequired)?\n *\n * Each and every declaration produces a function with the same signature. This\n * allows the creation of custom validation functions. For example:\n *\n * var MyLink = React.createClass({\n * propTypes: {\n * // An optional string or URI prop named \"href\".\n * href: function(props, propName, componentName) {\n * var propValue = props[propName];\n * if (propValue != null && typeof propValue !== 'string' &&\n * !(propValue instanceof URI)) {\n * return new Error(\n * 'Expected a string or an URI for ' + propName + ' in ' +\n * componentName\n * );\n * }\n * }\n * },\n * render: function() {...}\n * });\n *\n * @internal\n */\n\n var ANONYMOUS = '<<anonymous>>';\n\n // Important!\n // Keep this list in sync with production version in `./factoryWithThrowingShims.js`.\n var ReactPropTypes = {\n array: createPrimitiveTypeChecker('array'),\n bool: createPrimitiveTypeChecker('boolean'),\n func: createPrimitiveTypeChecker('function'),\n number: createPrimitiveTypeChecker('number'),\n object: createPrimitiveTypeChecker('object'),\n string: createPrimitiveTypeChecker('string'),\n symbol: createPrimitiveTypeChecker('symbol'),\n\n any: createAnyTypeChecker(),\n arrayOf: createArrayOfTypeChecker,\n element: createElementTypeChecker(),\n elementType: createElementTypeTypeChecker(),\n instanceOf: createInstanceTypeChecker,\n node: createNodeChecker(),\n objectOf: createObjectOfTypeChecker,\n oneOf: createEnumTypeChecker,\n oneOfType: createUnionTypeChecker,\n shape: createShapeTypeChecker,\n exact: createStrictShapeTypeChecker,\n };\n\n /**\n * inlined Object.is polyfill to avoid requiring consumers ship their own\n * https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object/is\n */\n /*eslint-disable no-self-compare*/\n function is(x, y) {\n // SameValue algorithm\n if (x === y) {\n // Steps 1-5, 7-10\n // Steps 6.b-6.e: +0 != -0\n return x !== 0 || 1 / x === 1 / y;\n } else {\n // Step 6.a: NaN == NaN\n return x !== x && y !== y;\n }\n }\n /*eslint-enable no-self-compare*/\n\n /**\n * We use an Error-like object for backward compatibility as people may call\n * PropTypes directly and inspect their output. However, we don't use real\n * Errors anymore. We don't inspect their stack anyway, and creating them\n * is prohibitively expensive if they are created too often, such as what\n * happens in oneOfType() for any type before the one that matched.\n */\n function PropTypeError(message) {\n this.message = message;\n this.stack = '';\n }\n // Make `instanceof Error` still work for returned errors.\n PropTypeError.prototype = Error.prototype;\n\n function createChainableTypeChecker(validate) {\n if (process.env.NODE_ENV !== 'production') {\n var manualPropTypeCallCache = {};\n var manualPropTypeWarningCount = 0;\n }\n function checkType(isRequired, props, propName, componentName, location, propFullName, secret) {\n componentName = componentName || ANONYMOUS;\n propFullName = propFullName || propName;\n\n if (secret !== ReactPropTypesSecret) {\n if (throwOnDirectAccess) {\n // New behavior only for users of `prop-types` package\n var err = new Error(\n 'Calling PropTypes validators directly is not supported by the `prop-types` package. ' +\n 'Use `PropTypes.checkPropTypes()` to call them. ' +\n 'Read more at http://fb.me/use-check-prop-types'\n );\n err.name = 'Invariant Violation';\n throw err;\n } else if (process.env.NODE_ENV !== 'production' && typeof console !== 'undefined') {\n // Old behavior for people using React.PropTypes\n var cacheKey = componentName + ':' + propName;\n if (\n !manualPropTypeCallCache[cacheKey] &&\n // Avoid spamming the console because they are often not actionable except for lib authors\n manualPropTypeWarningCount < 3\n ) {\n printWarning(\n 'You are manually calling a React.PropTypes validation ' +\n 'function for the `' + propFullName + '` prop on `' + componentName + '`. This is deprecated ' +\n 'and will throw in the standalone `prop-types` package. ' +\n 'You may be seeing this warning due to a third-party PropTypes ' +\n 'library. See https://fb.me/react-warning-dont-call-proptypes ' + 'for details.'\n );\n manualPropTypeCallCache[cacheKey] = true;\n manualPropTypeWarningCount++;\n }\n }\n }\n if (props[propName] == null) {\n if (isRequired) {\n if (props[propName] === null) {\n return new PropTypeError('The ' + location + ' `' + propFullName + '` is marked as required ' + ('in `' + componentName + '`, but its value is `null`.'));\n }\n return new PropTypeError('The ' + location + ' `' + propFullName + '` is marked as required in ' + ('`' + componentName + '`, but its value is `undefined`.'));\n }\n return null;\n } else {\n return validate(props, propName, componentName, location, propFullName);\n }\n }\n\n var chainedCheckType = checkType.bind(null, false);\n chainedCheckType.isRequired = checkType.bind(null, true);\n\n return chainedCheckType;\n }\n\n function createPrimitiveTypeChecker(expectedType) {\n function validate(props, propName, componentName, location, propFullName, secret) {\n var propValue = props[propName];\n var propType = getPropType(propValue);\n if (propType !== expectedType) {\n // `propValue` being instance of, say, date/regexp, pass the 'object'\n // check, but we can offer a more precise error message here rather than\n // 'of type `object`'.\n var preciseType = getPreciseType(propValue);\n\n return new PropTypeError('Invalid ' + location + ' `' + propFullName + '` of type ' + ('`' + preciseType + '` supplied to `' + componentName + '`, expected ') + ('`' + expectedType + '`.'));\n }\n return null;\n }\n return createChainableTypeChecker(validate);\n }\n\n function createAnyTypeChecker() {\n return createChainableTypeChecker(emptyFunctionThatReturnsNull);\n }\n\n function createArrayOfTypeChecker(typeChecker) {\n function validate(props, propName, componentName, location, propFullName) {\n if (typeof typeChecker !== 'function') {\n return new PropTypeError('Property `' + propFullName + '` of component `' + componentName + '` has invalid PropType notation inside arrayOf.');\n }\n var propValue = props[propName];\n if (!Array.isArray(propValue)) {\n var propType = getPropType(propValue);\n return new PropTypeError('Invalid ' + location + ' `' + propFullName + '` of type ' + ('`' + propType + '` supplied to `' + componentName + '`, expected an array.'));\n }\n for (var i = 0; i < propValue.length; i++) {\n var error = typeChecker(propValue, i, componentName, location, propFullName + '[' + i + ']', ReactPropTypesSecret);\n if (error instanceof Error) {\n return error;\n }\n }\n return null;\n }\n return createChainableTypeChecker(validate);\n }\n\n function createElementTypeChecker() {\n function validate(props, propName, componentName, location, propFullName) {\n var propValue = props[propName];\n if (!isValidElement(propValue)) {\n var propType = getPropType(propValue);\n return new PropTypeError('Invalid ' + location + ' `' + propFullName + '` of type ' + ('`' + propType + '` supplied to `' + componentName + '`, expected a single ReactElement.'));\n }\n return null;\n }\n return createChainableTypeChecker(validate);\n }\n\n function createElementTypeTypeChecker() {\n function validate(props, propName, componentName, location, propFullName) {\n var propValue = props[propName];\n if (!ReactIs.isValidElementType(propValue)) {\n var propType = getPropType(propValue);\n return new PropTypeError('Invalid ' + location + ' `' + propFullName + '` of type ' + ('`' + propType + '` supplied to `' + componentName + '`, expected a single ReactElement type.'));\n }\n return null;\n }\n return createChainableTypeChecker(validate);\n }\n\n function createInstanceTypeChecker(expectedClass) {\n function validate(props, propName, componentName, location, propFullName) {\n if (!(props[propName] instanceof expectedClass)) {\n var expectedClassName = expectedClass.name || ANONYMOUS;\n var actualClassName = getClassName(props[propName]);\n return new PropTypeError('Invalid ' + location + ' `' + propFullName + '` of type ' + ('`' + actualClassName + '` supplied to `' + componentName + '`, expected ') + ('instance of `' + expectedClassName + '`.'));\n }\n return null;\n }\n return createChainableTypeChecker(validate);\n }\n\n function createEnumTypeChecker(expectedValues) {\n if (!Array.isArray(expectedValues)) {\n if (process.env.NODE_ENV !== 'production') {\n if (arguments.length > 1) {\n printWarning(\n 'Invalid arguments supplied to oneOf, expected an array, got ' + arguments.length + ' arguments. ' +\n 'A common mistake is to write oneOf(x, y, z) instead of oneOf([x, y, z]).'\n );\n } else {\n printWarning('Invalid argument supplied to oneOf, expected an array.');\n }\n }\n return emptyFunctionThatReturnsNull;\n }\n\n function validate(props, propName, componentName, location, propFullName) {\n var propValue = props[propName];\n for (var i = 0; i < expectedValues.length; i++) {\n if (is(propValue, expectedValues[i])) {\n return null;\n }\n }\n\n var valuesString = JSON.stringify(expectedValues, function replacer(key, value) {\n var type = getPreciseType(value);\n if (type === 'symbol') {\n return String(value);\n }\n return value;\n });\n return new PropTypeError('Invalid ' + location + ' `' + propFullName + '` of value `' + String(propValue) + '` ' + ('supplied to `' + componentName + '`, expected one of ' + valuesString + '.'));\n }\n return createChainableTypeChecker(validate);\n }\n\n function createObjectOfTypeChecker(typeChecker) {\n function validate(props, propName, componentName, location, propFullName) {\n if (typeof typeChecker !== 'function') {\n return new PropTypeError('Property `' + propFullName + '` of component `' + componentName + '` has invalid PropType notation inside objectOf.');\n }\n var propValue = props[propName];\n var propType = getPropType(propValue);\n if (propType !== 'object') {\n return new PropTypeError('Invalid ' + location + ' `' + propFullName + '` of type ' + ('`' + propType + '` supplied to `' + componentName + '`, expected an object.'));\n }\n for (var key in propValue) {\n if (has(propValue, key)) {\n var error = typeChecker(propValue, key, componentName, location, propFullName + '.' + key, ReactPropTypesSecret);\n if (error instanceof Error) {\n return error;\n }\n }\n }\n return null;\n }\n return createChainableTypeChecker(validate);\n }\n\n function createUnionTypeChecker(arrayOfTypeCheckers) {\n if (!Array.isArray(arrayOfTypeCheckers)) {\n process.env.NODE_ENV !== 'production' ? printWarning('Invalid argument supplied to oneOfType, expected an instance of array.') : void 0;\n return emptyFunctionThatReturnsNull;\n }\n\n for (var i = 0; i < arrayOfTypeCheckers.length; i++) {\n var checker = arrayOfTypeCheckers[i];\n if (typeof checker !== 'function') {\n printWarning(\n 'Invalid argument supplied to oneOfType. Expected an array of check functions, but ' +\n 'received ' + getPostfixForTypeWarning(checker) + ' at index ' + i + '.'\n );\n return emptyFunctionThatReturnsNull;\n }\n }\n\n function validate(props, propName, componentName, location, propFullName) {\n for (var i = 0; i < arrayOfTypeCheckers.length; i++) {\n var checker = arrayOfTypeCheckers[i];\n if (checker(props, propName, componentName, location, propFullName, ReactPropTypesSecret) == null) {\n return null;\n }\n }\n\n return new PropTypeError('Invalid ' + location + ' `' + propFullName + '` supplied to ' + ('`' + componentName + '`.'));\n }\n return createChainableTypeChecker(validate);\n }\n\n function createNodeChecker() {\n function validate(props, propName, componentName, location, propFullName) {\n if (!isNode(props[propName])) {\n return new PropTypeError('Invalid ' + location + ' `' + propFullName + '` supplied to ' + ('`' + componentName + '`, expected a ReactNode.'));\n }\n return null;\n }\n return createChainableTypeChecker(validate);\n }\n\n function createShapeTypeChecker(shapeTypes) {\n function validate(props, propName, componentName, location, propFullName) {\n var propValue = props[propName];\n var propType = getPropType(propValue);\n if (propType !== 'object') {\n return new PropTypeError('Invalid ' + location + ' `' + propFullName + '` of type `' + propType + '` ' + ('supplied to `' + componentName + '`, expected `object`.'));\n }\n for (var key in shapeTypes) {\n var checker = shapeTypes[key];\n if (!checker) {\n continue;\n }\n var error = checker(propValue, key, componentName, location, propFullName + '.' + key, ReactPropTypesSecret);\n if (error) {\n return error;\n }\n }\n return null;\n }\n return createChainableTypeChecker(validate);\n }\n\n function createStrictShapeTypeChecker(shapeTypes) {\n function validate(props, propName, componentName, location, propFullName) {\n var propValue = props[propName];\n var propType = getPropType(propValue);\n if (propType !== 'object') {\n return new PropTypeError('Invalid ' + location + ' `' + propFullName + '` of type `' + propType + '` ' + ('supplied to `' + componentName + '`, expected `object`.'));\n }\n // We need to check all keys in case some are required but missing from\n // props.\n var allKeys = assign({}, props[propName], shapeTypes);\n for (var key in allKeys) {\n var checker = shapeTypes[key];\n if (!checker) {\n return new PropTypeError(\n 'Invalid ' + location + ' `' + propFullName + '` key `' + key + '` supplied to `' + componentName + '`.' +\n '\\nBad object: ' + JSON.stringify(props[propName], null, ' ') +\n '\\nValid keys: ' + JSON.stringify(Object.keys(shapeTypes), null, ' ')\n );\n }\n var error = checker(propValue, key, componentName, location, propFullName + '.' + key, ReactPropTypesSecret);\n if (error) {\n return error;\n }\n }\n return null;\n }\n\n return createChainableTypeChecker(validate);\n }\n\n function isNode(propValue) {\n switch (typeof propValue) {\n case 'number':\n case 'string':\n case 'undefined':\n return true;\n case 'boolean':\n return !propValue;\n case 'object':\n if (Array.isArray(propValue)) {\n return propValue.every(isNode);\n }\n if (propValue === null || isValidElement(propValue)) {\n return true;\n }\n\n var iteratorFn = getIteratorFn(propValue);\n if (iteratorFn) {\n var iterator = iteratorFn.call(propValue);\n var step;\n if (iteratorFn !== propValue.entries) {\n while (!(step = iterator.next()).done) {\n if (!isNode(step.value)) {\n return false;\n }\n }\n } else {\n // Iterator will provide entry [k,v] tuples rather than values.\n while (!(step = iterator.next()).done) {\n var entry = step.value;\n if (entry) {\n if (!isNode(entry[1])) {\n return false;\n }\n }\n }\n }\n } else {\n return false;\n }\n\n return true;\n default:\n return false;\n }\n }\n\n function isSymbol(propType, propValue) {\n // Native Symbol.\n if (propType === 'symbol') {\n return true;\n }\n\n // falsy value can't be a Symbol\n if (!propValue) {\n return false;\n }\n\n // 19.4.3.5 Symbol.prototype[@@toStringTag] === 'Symbol'\n if (propValue['@@toStringTag'] === 'Symbol') {\n return true;\n }\n\n // Fallback for non-spec compliant Symbols which are polyfilled.\n if (typeof Symbol === 'function' && propValue instanceof Symbol) {\n return true;\n }\n\n return false;\n }\n\n // Equivalent of `typeof` but with special handling for array and regexp.\n function getPropType(propValue) {\n var propType = typeof propValue;\n if (Array.isArray(propValue)) {\n return 'array';\n }\n if (propValue instanceof RegExp) {\n // Old webkits (at least until Android 4.0) return 'function' rather than\n // 'object' for typeof a RegExp. We'll normalize this here so that /bla/\n // passes PropTypes.object.\n return 'object';\n }\n if (isSymbol(propType, propValue)) {\n return 'symbol';\n }\n return propType;\n }\n\n // This handles more types than `getPropType`. Only used for error messages.\n // See `createPrimitiveTypeChecker`.\n function getPreciseType(propValue) {\n if (typeof propValue === 'undefined' || propValue === null) {\n return '' + propValue;\n }\n var propType = getPropType(propValue);\n if (propType === 'object') {\n if (propValue instanceof Date) {\n return 'date';\n } else if (propValue instanceof RegExp) {\n return 'regexp';\n }\n }\n return propType;\n }\n\n // Returns a string that is postfixed to a warning about an invalid type.\n // For example, \"undefined\" or \"of type array\"\n function getPostfixForTypeWarning(value) {\n var type = getPreciseType(value);\n switch (type) {\n case 'array':\n case 'object':\n return 'an ' + type;\n case 'boolean':\n case 'date':\n case 'regexp':\n return 'a ' + type;\n default:\n return type;\n }\n }\n\n // Returns class name of the object, if any.\n function getClassName(propValue) {\n if (!propValue.constructor || !propValue.constructor.name) {\n return ANONYMOUS;\n }\n return propValue.constructor.name;\n }\n\n ReactPropTypes.checkPropTypes = checkPropTypes;\n ReactPropTypes.resetWarningCache = checkPropTypes.resetWarningCache;\n ReactPropTypes.PropTypes = ReactPropTypes;\n\n return ReactPropTypes;\n};\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/prop-types/factoryWithTypeCheckers.js\n// module id = 22\n// module chunks = 0","/**\n * Copyright (c) 2013-present, Facebook, Inc.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\nif (process.env.NODE_ENV !== 'production') {\n var ReactIs = require('react-is');\n\n // By explicitly using `prop-types` you are opting into new development behavior.\n // http://fb.me/prop-types-in-prod\n var throwOnDirectAccess = true;\n module.exports = require('./factoryWithTypeCheckers')(ReactIs.isElement, throwOnDirectAccess);\n} else {\n // By explicitly using `prop-types` you are opting into new production behavior.\n // http://fb.me/prop-types-in-prod\n module.exports = require('./factoryWithThrowingShims')();\n}\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/prop-types/index.js\n// module id = 23\n// module chunks = 0","import { Children, Component, createElement } from 'react';\n\n/*! *****************************************************************************\r\nCopyright (c) Microsoft Corporation. All rights reserved.\r\nLicensed under the Apache License, Version 2.0 (the \"License\"); you may not use\r\nthis file except in compliance with the License. You may obtain a copy of the\r\nLicense at http://www.apache.org/licenses/LICENSE-2.0\r\n\r\nTHIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY\r\nKIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED\r\nWARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE,\r\nMERCHANTABLITY OR NON-INFRINGEMENT.\r\n\r\nSee the Apache Version 2.0 License for specific language governing permissions\r\nand limitations under the License.\r\n***************************************************************************** */\r\n/* global Reflect, Promise */\r\n\r\nvar extendStatics = Object.setPrototypeOf ||\r\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\r\n function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };\r\n\r\nfunction __extends(d, b) {\r\n extendStatics(d, b);\r\n function __() { this.constructor = d; }\r\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\r\n}\r\n\r\nvar __assign = Object.assign || function __assign(t) {\r\n for (var s, i = 1, n = arguments.length; i < n; i++) {\r\n s = arguments[i];\r\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p)) t[p] = s[p];\r\n }\r\n return t;\r\n};\n\nvar isEmptyChildren = function (children) {\n return Children.count(children) === 0;\n};\n\nfunction throttle(func, wait) {\n var timeout = null;\n var callbackArgs = null;\n var context = this;\n var later = function () {\n func.apply(context, callbackArgs);\n timeout = null;\n };\n return function () {\n if (!timeout) {\n callbackArgs = arguments;\n timeout = setTimeout(later, wait);\n }\n };\n}\n\nvar supportsPassiveListener = false;\nvar noop = function () { };\ntry {\n var opts = Object.defineProperty({}, 'passive', {\n get: function () {\n supportsPassiveListener = true;\n },\n });\n window.addEventListener('testPassive', noop, opts);\n window.removeEventListener('testPassive', noop, opts);\n}\ncatch (e) { }\n\nvar Scroll = (function (_super) {\n __extends(Scroll, _super);\n function Scroll() {\n var _this = _super !== null && _super.apply(this, arguments) || this;\n _this.state = { x: 0, y: 0 };\n _this.handleWindowScroll = throttle(function () {\n _this.setState({ x: window.scrollX, y: window.scrollY });\n }, _this.props.throttle);\n return _this;\n }\n Scroll.prototype.componentDidMount = function () {\n this.handleWindowScroll();\n window.addEventListener('scroll', this.handleWindowScroll, supportsPassiveListener ? { passive: true } : false);\n };\n Scroll.prototype.componentWillUnmount = function () {\n window.removeEventListener('scroll', this.handleWindowScroll);\n };\n Scroll.prototype.render = function () {\n var _a = this.props, render = _a.render, component = _a.component, children = _a.children;\n return component\n ? createElement(component, this.state)\n : render\n ? render(this.state)\n : children\n ? typeof children === 'function'\n ? children(this.state)\n : !isEmptyChildren(children) ? Children.only(children) : null\n : null;\n };\n Scroll.defaultProps = {\n throttle: 100,\n };\n return Scroll;\n}(Component));\n\nvar REACT_STATICS = {\n childContextTypes: true,\n contextTypes: true,\n defaultProps: true,\n displayName: true,\n getDefaultProps: true,\n mixins: true,\n propTypes: true,\n type: true,\n};\nvar KNOWN_STATICS = {\n name: true,\n length: true,\n prototype: true,\n caller: true,\n callee: true,\n arguments: true,\n arity: true,\n};\nvar getOwnPropertySymbols = Object.getOwnPropertySymbols;\nvar propIsEnumerable = Object.prototype.propertyIsEnumerable;\nvar getPrototypeOf = Object.getPrototypeOf;\nvar objectPrototype = getPrototypeOf && getPrototypeOf(Object);\nvar getOwnPropertyNames = Object.getOwnPropertyNames;\nfunction hoistNonReactStatics(targetComponent, sourceComponent, blacklist) {\n if (typeof sourceComponent !== 'string') {\n if (objectPrototype) {\n var inheritedComponent = getPrototypeOf(sourceComponent);\n if (inheritedComponent && inheritedComponent !== objectPrototype) {\n hoistNonReactStatics(targetComponent, inheritedComponent, blacklist);\n }\n }\n var keys = getOwnPropertyNames(sourceComponent);\n if (getOwnPropertySymbols) {\n keys = keys.concat(getOwnPropertySymbols(sourceComponent));\n }\n for (var i = 0; i < keys.length; ++i) {\n var key = keys[i];\n if (!REACT_STATICS[key] &&\n !KNOWN_STATICS[key] &&\n (!blacklist || !blacklist[key])) {\n if (propIsEnumerable.call(sourceComponent, key) ||\n typeof sourceComponent[key] === 'function') {\n try {\n targetComponent[key] = sourceComponent[key];\n }\n catch (e) { }\n }\n }\n }\n return targetComponent;\n }\n return targetComponent;\n}\n\nfunction withScroll(Component$$1) {\n var S = function (props) {\n return (createElement(Scroll, { render: function (p) { return createElement(Component$$1, __assign({}, props, p)); } }));\n };\n return hoistNonReactStatics(S, Component$$1);\n}\n\nvar DeviceMotion = (function (_super) {\n __extends(DeviceMotion, _super);\n function DeviceMotion() {\n var _this = _super !== null && _super.apply(this, arguments) || this;\n _this.state = {\n acceleration: {\n x: null,\n y: null,\n z: null,\n },\n accelerationIncludingGravity: {\n x: null,\n y: null,\n z: null,\n },\n rotationRate: {\n alpha: null,\n beta: null,\n gamma: null,\n },\n interval: 0,\n };\n _this.handleDeviceMotion = function (e) {\n _this.setState({\n acceleration: e.acceleration,\n accelerationIncludingGravity: e.accelerationIncludingGravity,\n rotationRate: e.rotationRate,\n interval: e.interval,\n });\n };\n return _this;\n }\n DeviceMotion.prototype.componentDidMount = function () {\n window.addEventListener('devicemotion', this.handleDeviceMotion, true);\n };\n DeviceMotion.prototype.componentWillUnmount = function () {\n window.removeEventListener('devicemotion', this.handleDeviceMotion);\n };\n DeviceMotion.prototype.render = function () {\n var _a = this.props, render = _a.render, component = _a.component, children = _a.children;\n return component\n ? createElement(component, this.state)\n : render\n ? render(this.state)\n : children\n ? typeof children === 'function'\n ? children(this.state)\n : !isEmptyChildren(children) ? Children.only(children) : null\n : null;\n };\n return DeviceMotion;\n}(Component));\n\nfunction withDeviceMotion(Component$$1) {\n var S = function (props) {\n return (createElement(DeviceMotion, { render: function (p) { return createElement(Component$$1, __assign({}, props, p)); } }));\n };\n return hoistNonReactStatics(S, Component$$1);\n}\n\nvar DeviceOrientation = (function (_super) {\n __extends(DeviceOrientation, _super);\n function DeviceOrientation() {\n var _this = _super !== null && _super.apply(this, arguments) || this;\n _this.state = {\n alpha: null,\n beta: null,\n gamma: null,\n absolute: false,\n };\n _this.handleDeviceOrientation = function (e) {\n _this.setState({\n beta: e.beta,\n alpha: e.alpha,\n gamma: e.gamma,\n absolute: e.absolute,\n });\n };\n return _this;\n }\n DeviceOrientation.prototype.componentDidMount = function () {\n window.addEventListener('deviceorientation', this.handleDeviceOrientation, true);\n };\n DeviceOrientation.prototype.componentWillUnmount = function () {\n window.removeEventListener('deviceorientation', this.handleDeviceOrientation);\n };\n DeviceOrientation.prototype.render = function () {\n var _a = this.props, render = _a.render, component = _a.component, children = _a.children;\n return component\n ? createElement(component, this.state)\n : render\n ? render(this.state)\n : children\n ? typeof children === 'function'\n ? children(this.state)\n : !isEmptyChildren(children) ? Children.only(children) : null\n : null;\n };\n return DeviceOrientation;\n}(Component));\n\nfunction withDeviceOrientation(Component$$1) {\n var S = function (props) {\n return (createElement(DeviceOrientation, { render: function (p) { return createElement(Component$$1, __assign({}, props, p)); } }));\n };\n return hoistNonReactStatics(S, Component$$1);\n}\n\nvar Network = (function (_super) {\n __extends(Network, _super);\n function Network() {\n var _this = _super !== null && _super.apply(this, arguments) || this;\n _this.state = { online: navigator.onLine };\n _this.handleOnline = function () {\n _this.setState({ online: true, offlineAt: undefined });\n };\n _this.handleOffline = function () {\n _this.setState({ online: false, offlineAt: new Date() });\n };\n return _this;\n }\n Network.prototype.componentDidMount = function () {\n if (typeof window !== 'undefined' && navigator) {\n this.setState({ online: navigator.onLine });\n }\n window.addEventListener('online', this.handleOnline);\n window.addEventListener('offline', this.handleOffline);\n };\n Network.prototype.componentWillUnmount = function () {\n window.removeEventListener('online', this.handleOnline);\n window.removeEventListener('offline', this.handleOffline);\n };\n Network.prototype.render = function () {\n var _a = this.props, render = _a.render, component = _a.component, children = _a.children;\n return component\n ? createElement(component, this.state)\n : render\n ? render(this.state)\n : children\n ? typeof children === 'function'\n ? children(this.state)\n : !isEmptyChildren(children) ? Children.only(children) : null\n : null;\n };\n return Network;\n}(Component));\n\nfunction withNetwork(Component$$1) {\n var S = function (props) {\n return (createElement(Network, { render: function (p) { return createElement(Component$$1, __assign({}, props, p)); } }));\n };\n return hoistNonReactStatics(S, Component$$1);\n}\n\nvar GeoPosition = (function (_super) {\n __extends(GeoPosition, _super);\n function GeoPosition() {\n var _this = _super !== null && _super.apply(this, arguments) || this;\n _this.state = {\n isLoading: true,\n };\n _this.requestGeo = function () {\n _this.setState({ isLoading: true });\n _this.geoId = navigator.geolocation.watchPosition(function (position) {\n return _this.setState({\n isLoading: false,\n coords: {\n latitude: position.coords.latitude,\n longitude: position.coords.longitude,\n },\n error: undefined,\n });\n }, function (error) { return _this.setState({ error: error, isLoading: false }); });\n };\n return _this;\n }\n GeoPosition.prototype.componentDidMount = function () {\n this.requestGeo();\n };\n GeoPosition.prototype.componentWillUnmount = function () {\n navigator.geolocation.clearWatch(this.geoId);\n };\n GeoPosition.prototype.render = function () {\n var _a = this.props, render = _a.render, component = _a.component, children = _a.children;\n return component\n ? createElement(component, this.state)\n : render\n ? render(this.state)\n : children\n ? typeof children === 'function'\n ? children(this.state)\n : !isEmptyChildren(children) ? Children.only(children) : null\n : null;\n };\n return GeoPosition;\n}(Component));\n\nfunction withGeoPosition(Component$$1) {\n var S = function (props) {\n return (createElement(GeoPosition, { render: function (p) { return createElement(Component$$1, __assign({}, props, p)); } }));\n };\n return hoistNonReactStatics(S, Component$$1);\n}\n\nvar M = require('react-media');\nvar Media = M;\n\nvar WindowSize = (function (_super) {\n __extends(WindowSize, _super);\n function WindowSize() {\n var _this = _super !== null && _super.apply(this, arguments) || this;\n _this.state = { width: 0, height: 0 };\n _this.handleWindowSize = throttle(function () {\n _this.setState({ width: window.innerWidth, height: window.innerHeight });\n }, _this.props.throttle);\n return _this;\n }\n WindowSize.prototype.componentDidMount = function () {\n this.handleWindowSize();\n window.addEventListener('resize', this.handleWindowSize);\n };\n WindowSize.prototype.componentWillUnmount = function () {\n window.removeEventListener('resize', this.handleWindowSize);\n };\n WindowSize.prototype.render = function () {\n var _a = this.props, render = _a.render, component = _a.component, children = _a.children;\n return component\n ? createElement(component, this.state)\n : render\n ? render(this.state)\n : children\n ? typeof children === 'function'\n ? children(this.state)\n : !isEmptyChildren(children) ? Children.only(children) : null\n : null;\n };\n WindowSize.defaultProps = {\n throttle: 100,\n };\n return WindowSize;\n}(Component));\n\nfunction withWindowSize(Component$$1) {\n var S = function (props) {\n return (createElement(WindowSize, { render: function (p) { return createElement(Component$$1, __assign({}, props, p)); } }));\n };\n return hoistNonReactStatics(S, Component$$1);\n}\n\nvar Locales = (function (_super) {\n __extends(Locales, _super);\n function Locales() {\n var _this = _super !== null && _super.apply(this, arguments) || this;\n _this.state = { locale: _this.preferredLocales() };\n _this.handleLanguageChange = function () {\n _this.setState({\n locale: _this.preferredLocales(),\n });\n };\n return _this;\n }\n Locales.prototype.preferredLocales = function () {\n if (navigator.languages && navigator.languages.length > 0) {\n return Intl.getCanonicalLocales(navigator.languages)[0];\n }\n return Intl.getCanonicalLocales([navigator.language])[0];\n };\n Locales.prototype.componentDidMount = function () {\n window.addEventListener('languagechange', this.handleLanguageChange);\n };\n Locales.prototype.componentWillUnmount = function () {\n window.removeEventListener('languagechange', this.handleLanguageChange);\n };\n Locales.prototype.render = function () {\n var _a = this.props, render = _a.render, component = _a.component, children = _a.children;\n return component\n ? createElement(component, this.state)\n : render\n ? render(this.state)\n : children\n ? typeof children === 'function'\n ? children(this.state)\n : !isEmptyChildren(children) ? Children.only(children) : null\n : null;\n };\n return Locales;\n}(Component));\n\nfunction withLocales(Component$$1) {\n var S = function (props) {\n return (createElement(Locales, { render: function (p) { return createElement(Component$$1, __assign({}, props, p)); } }));\n };\n return hoistNonReactStatics(S, Component$$1);\n}\n\nexport { Scroll, withScroll, DeviceMotion, withDeviceMotion, DeviceOrientation, withDeviceOrientation, Network, withNetwork, GeoPosition, withGeoPosition, Media, WindowSize, withWindowSize, Locales, withLocales };\n//# sourceMappingURL=index.es6.js.map\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/react-fns/dist/index.es6.js\n// module id = 24\n// module chunks = 0","/** @license React v16.13.0\n * react-is.development.js\n *\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\n'use strict';\n\n\n\nif (process.env.NODE_ENV !== \"production\") {\n (function() {\n'use strict';\n\n// The Symbol used to tag the ReactElement-like types. If there is no native Symbol\n// nor polyfill, then a plain number is used for performance.\nvar hasSymbol = typeof Symbol === 'function' && Symbol.for;\nvar REACT_ELEMENT_TYPE = hasSymbol ? Symbol.for('react.element') : 0xeac7;\nvar REACT_PORTAL_TYPE = hasSymbol ? Symbol.for('react.portal') : 0xeaca;\nvar REACT_FRAGMENT_TYPE = hasSymbol ? Symbol.for('react.fragment') : 0xeacb;\nvar REACT_STRICT_MODE_TYPE = hasSymbol ? Symbol.for('react.strict_mode') : 0xeacc;\nvar REACT_PROFILER_TYPE = hasSymbol ? Symbol.for('react.profiler') : 0xead2;\nvar REACT_PROVIDER_TYPE = hasSymbol ? Symbol.for('react.provider') : 0xeacd;\nvar REACT_CONTEXT_TYPE = hasSymbol ? Symbol.for('react.context') : 0xeace; // TODO: We don't use AsyncMode or ConcurrentMode anymore. They were temporary\n// (unstable) APIs that have been removed. Can we remove the symbols?\n\nvar REACT_ASYNC_MODE_TYPE = hasSymbol ? Symbol.for('react.async_mode') : 0xeacf;\nvar REACT_CONCURRENT_MODE_TYPE = hasSymbol ? Symbol.for('react.concurrent_mode') : 0xeacf;\nvar REACT_FORWARD_REF_TYPE = hasSymbol ? Symbol.for('react.forward_ref') : 0xead0;\nvar REACT_SUSPENSE_TYPE = hasSymbol ? Symbol.for('react.suspense') : 0xead1;\nvar REACT_SUSPENSE_LIST_TYPE = hasSymbol ? Symbol.for('react.suspense_list') : 0xead8;\nvar REACT_MEMO_TYPE = hasSymbol ? Symbol.for('react.memo') : 0xead3;\nvar REACT_LAZY_TYPE = hasSymbol ? Symbol.for('react.lazy') : 0xead4;\nvar REACT_BLOCK_TYPE = hasSymbol ? Symbol.for('react.block') : 0xead9;\nvar REACT_FUNDAMENTAL_TYPE = hasSymbol ? Symbol.for('react.fundamental') : 0xead5;\nvar REACT_RESPONDER_TYPE = hasSymbol ? Symbol.for('react.responder') : 0xead6;\nvar REACT_SCOPE_TYPE = hasSymbol ? Symbol.for('react.scope') : 0xead7;\n\nfunction isValidElementType(type) {\n return typeof type === 'string' || typeof type === 'function' || // Note: its typeof might be other than 'symbol' or 'number' if it's a polyfill.\n type === REACT_FRAGMENT_TYPE || type === REACT_CONCURRENT_MODE_TYPE || type === REACT_PROFILER_TYPE || type === REACT_STRICT_MODE_TYPE || type === REACT_SUSPENSE_TYPE || type === REACT_SUSPENSE_LIST_TYPE || typeof type === 'object' && type !== null && (type.$$typeof === REACT_LAZY_TYPE || type.$$typeof === REACT_MEMO_TYPE || type.$$typeof === REACT_PROVIDER_TYPE || type.$$typeof === REACT_CONTEXT_TYPE || type.$$typeof === REACT_FORWARD_REF_TYPE || type.$$typeof === REACT_FUNDAMENTAL_TYPE || type.$$typeof === REACT_RESPONDER_TYPE || type.$$typeof === REACT_SCOPE_TYPE || type.$$typeof === REACT_BLOCK_TYPE);\n}\n\nfunction typeOf(object) {\n if (typeof object === 'object' && object !== null) {\n var $$typeof = object.$$typeof;\n\n switch ($$typeof) {\n case REACT_ELEMENT_TYPE:\n var type = object.type;\n\n switch (type) {\n case REACT_ASYNC_MODE_TYPE:\n case REACT_CONCURRENT_MODE_TYPE:\n case REACT_FRAGMENT_TYPE:\n case REACT_PROFILER_TYPE:\n case REACT_STRICT_MODE_TYPE:\n case REACT_SUSPENSE_TYPE:\n return type;\n\n default:\n var $$typeofType = type && type.$$typeof;\n\n switch ($$typeofType) {\n case REACT_CONTEXT_TYPE:\n case REACT_FORWARD_REF_TYPE:\n case REACT_LAZY_TYPE:\n case REACT_MEMO_TYPE:\n case REACT_PROVIDER_TYPE:\n return $$typeofType;\n\n default:\n return $$typeof;\n }\n\n }\n\n case REACT_PORTAL_TYPE:\n return $$typeof;\n }\n }\n\n return undefined;\n} // AsyncMode is deprecated along with isAsyncMode\n\nvar AsyncMode = REACT_ASYNC_MODE_TYPE;\nvar ConcurrentMode = REACT_CONCURRENT_MODE_TYPE;\nvar ContextConsumer = REACT_CONTEXT_TYPE;\nvar ContextProvider = REACT_PROVIDER_TYPE;\nvar Element = REACT_ELEMENT_TYPE;\nvar ForwardRef = REACT_FORWARD_REF_TYPE;\nvar Fragment = REACT_FRAGMENT_TYPE;\nvar Lazy = REACT_LAZY_TYPE;\nvar Memo = REACT_MEMO_TYPE;\nvar Portal = REACT_PORTAL_TYPE;\nvar Profiler = REACT_PROFILER_TYPE;\nvar StrictMode = REACT_STRICT_MODE_TYPE;\nvar Suspense = REACT_SUSPENSE_TYPE;\nvar hasWarnedAboutDeprecatedIsAsyncMode = false; // AsyncMode should be deprecated\n\nfunction isAsyncMode(object) {\n {\n if (!hasWarnedAboutDeprecatedIsAsyncMode) {\n hasWarnedAboutDeprecatedIsAsyncMode = true; // Using console['warn'] to evade Babel and ESLint\n\n console['warn']('The ReactIs.isAsyncMode() alias has been deprecated, ' + 'and will be removed in React 17+. Update your code to use ' + 'ReactIs.isConcurrentMode() instead. It has the exact same API.');\n }\n }\n\n return isConcurrentMode(object) || typeOf(object) === REACT_ASYNC_MODE_TYPE;\n}\nfunction isConcurrentMode(object) {\n return typeOf(object) === REACT_CONCURRENT_MODE_TYPE;\n}\nfunction isContextConsumer(object) {\n return typeOf(object) === REACT_CONTEXT_TYPE;\n}\nfunction isContextProvider(object) {\n return typeOf(object) === REACT_PROVIDER_TYPE;\n}\nfunction isElement(object) {\n return typeof object === 'object' && object !== null && object.$$typeof === REACT_ELEMENT_TYPE;\n}\nfunction isForwardRef(object) {\n return typeOf(object) === REACT_FORWARD_REF_TYPE;\n}\nfunction isFragment(object) {\n return typeOf(object) === REACT_FRAGMENT_TYPE;\n}\nfunction isLazy(object) {\n return typeOf(object) === REACT_LAZY_TYPE;\n}\nfunction isMemo(object) {\n return typeOf(object) === REACT_MEMO_TYPE;\n}\nfunction isPortal(object) {\n return typeOf(object) === REACT_PORTAL_TYPE;\n}\nfunction isProfiler(object) {\n return typeOf(object) === REACT_PROFILER_TYPE;\n}\nfunction isStrictMode(object) {\n return typeOf(object) === REACT_STRICT_MODE_TYPE;\n}\nfunction isSuspense(object) {\n return typeOf(object) === REACT_SUSPENSE_TYPE;\n}\n\nexports.AsyncMode = AsyncMode;\nexports.ConcurrentMode = ConcurrentMode;\nexports.ContextConsumer = ContextConsumer;\nexports.ContextProvider = ContextProvider;\nexports.Element = Element;\nexports.ForwardRef = ForwardRef;\nexports.Fragment = Fragment;\nexports.Lazy = Lazy;\nexports.Memo = Memo;\nexports.Portal = Portal;\nexports.Profiler = Profiler;\nexports.StrictMode = StrictMode;\nexports.Suspense = Suspense;\nexports.isAsyncMode = isAsyncMode;\nexports.isConcurrentMode = isConcurrentMode;\nexports.isContextConsumer = isContextConsumer;\nexports.isContextProvider = isContextProvider;\nexports.isElement = isElement;\nexports.isForwardRef = isForwardRef;\nexports.isFragment = isFragment;\nexports.isLazy = isLazy;\nexports.isMemo = isMemo;\nexports.isPortal = isPortal;\nexports.isProfiler = isProfiler;\nexports.isStrictMode = isStrictMode;\nexports.isSuspense = isSuspense;\nexports.isValidElementType = isValidElementType;\nexports.typeOf = typeOf;\n })();\n}\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/react-is/cjs/react-is.development.js\n// module id = 25\n// module chunks = 0","/** @license React v16.13.0\n * react-is.production.min.js\n *\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\n'use strict';var b=\"function\"===typeof Symbol&&Symbol.for,c=b?Symbol.for(\"react.element\"):60103,d=b?Symbol.for(\"react.portal\"):60106,e=b?Symbol.for(\"react.fragment\"):60107,f=b?Symbol.for(\"react.strict_mode\"):60108,g=b?Symbol.for(\"react.profiler\"):60114,h=b?Symbol.for(\"react.provider\"):60109,k=b?Symbol.for(\"react.context\"):60110,l=b?Symbol.for(\"react.async_mode\"):60111,m=b?Symbol.for(\"react.concurrent_mode\"):60111,n=b?Symbol.for(\"react.forward_ref\"):60112,p=b?Symbol.for(\"react.suspense\"):60113,q=b?\nSymbol.for(\"react.suspense_list\"):60120,r=b?Symbol.for(\"react.memo\"):60115,t=b?Symbol.for(\"react.lazy\"):60116,v=b?Symbol.for(\"react.block\"):60121,w=b?Symbol.for(\"react.fundamental\"):60117,x=b?Symbol.for(\"react.responder\"):60118,y=b?Symbol.for(\"react.scope\"):60119;\nfunction z(a){if(\"object\"===typeof a&&null!==a){var u=a.$$typeof;switch(u){case c:switch(a=a.type,a){case l:case m:case e:case g:case f:case p:return a;default:switch(a=a&&a.$$typeof,a){case k:case n:case t:case r:case h:return a;default:return u}}case d:return u}}}function A(a){return z(a)===m}exports.AsyncMode=l;exports.ConcurrentMode=m;exports.ContextConsumer=k;exports.ContextProvider=h;exports.Element=c;exports.ForwardRef=n;exports.Fragment=e;exports.Lazy=t;exports.Memo=r;exports.Portal=d;\nexports.Profiler=g;exports.StrictMode=f;exports.Suspense=p;exports.isAsyncMode=function(a){return A(a)||z(a)===l};exports.isConcurrentMode=A;exports.isContextConsumer=function(a){return z(a)===k};exports.isContextProvider=function(a){return z(a)===h};exports.isElement=function(a){return\"object\"===typeof a&&null!==a&&a.$$typeof===c};exports.isForwardRef=function(a){return z(a)===n};exports.isFragment=function(a){return z(a)===e};exports.isLazy=function(a){return z(a)===t};\nexports.isMemo=function(a){return z(a)===r};exports.isPortal=function(a){return z(a)===d};exports.isProfiler=function(a){return z(a)===g};exports.isStrictMode=function(a){return z(a)===f};exports.isSuspense=function(a){return z(a)===p};\nexports.isValidElementType=function(a){return\"string\"===typeof a||\"function\"===typeof a||a===e||a===m||a===g||a===f||a===p||a===q||\"object\"===typeof a&&null!==a&&(a.$$typeof===t||a.$$typeof===r||a.$$typeof===h||a.$$typeof===k||a.$$typeof===n||a.$$typeof===w||a.$$typeof===x||a.$$typeof===y||a.$$typeof===v)};exports.typeOf=z;\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/react-is/cjs/react-is.production.min.js\n// module id = 26\n// module chunks = 0","import _extends from '@babel/runtime/helpers/esm/extends';\nimport _inheritsLoose from '@babel/runtime/helpers/esm/inheritsLoose';\nimport _assertThisInitialized from '@babel/runtime/helpers/esm/assertThisInitialized';\nimport _defineProperty from '@babel/runtime/helpers/esm/defineProperty';\nimport React from 'react';\nimport PropTypes from 'prop-types';\nimport invariant from 'invariant';\nimport json2mq from 'json2mq';\n\nvar MediaQueryListener =\n/*#__PURE__*/\nfunction () {\n function MediaQueryListener(targetWindow, query, listener) {\n var _this = this;\n\n this.nativeMediaQueryList = targetWindow.matchMedia(query);\n this.active = true; // Safari doesn't clear up listener with removeListener\n // when the listener is already waiting in the event queue.\n // Having an active flag to make sure the listener is not called\n // after we removeListener.\n\n this.cancellableListener = function () {\n _this.matches = _this.nativeMediaQueryList.matches;\n\n if (_this.active) {\n listener.apply(void 0, arguments);\n }\n };\n\n this.nativeMediaQueryList.addListener(this.cancellableListener);\n this.matches = this.nativeMediaQueryList.matches;\n }\n\n var _proto = MediaQueryListener.prototype;\n\n _proto.cancel = function cancel() {\n this.active = false;\n this.nativeMediaQueryList.removeListener(this.cancellableListener);\n };\n\n return MediaQueryListener;\n}();\n\nvar queryType = PropTypes.oneOfType([PropTypes.string, PropTypes.object, PropTypes.arrayOf(PropTypes.object.isRequired)]);\n/**\n * Conditionally renders based on whether or not a media query matches.\n */\n\nvar Media =\n/*#__PURE__*/\nfunction (_React$Component) {\n _inheritsLoose(Media, _React$Component);\n\n function Media(props) {\n var _this;\n\n _this = _React$Component.call(this, props) || this;\n\n _defineProperty(_assertThisInitialized(_assertThisInitialized(_this)), \"queries\", []);\n\n _defineProperty(_assertThisInitialized(_assertThisInitialized(_this)), \"getMatches\", function () {\n var result = _this.queries.reduce(function (acc, _ref) {\n var _extends2;\n\n var name = _ref.name,\n mqListener = _ref.mqListener;\n return _extends({}, acc, (_extends2 = {}, _extends2[name] = mqListener.matches, _extends2));\n }, {}); // return result;\n\n\n return unwrapSingleQuery(result);\n });\n\n _defineProperty(_assertThisInitialized(_assertThisInitialized(_this)), \"updateMatches\", function () {\n var newMatches = _this.getMatches();\n\n _this.setState(function () {\n return {\n matches: newMatches\n };\n }, _this.onChange);\n });\n\n !(!(!props.query && !props.queries) || props.query && props.queries) ? process.env.NODE_ENV !== \"production\" ? invariant(false, '<Media> must be supplied with either \"query\" or \"queries\"') : invariant(false) : void 0;\n !(props.defaultMatches === undefined || !props.query || typeof props.defaultMatches === \"boolean\") ? process.env.NODE_ENV !== \"production\" ? invariant(false, \"<Media> when query is set, defaultMatches must be a boolean, received \" + typeof props.defaultMatches) : invariant(false) : void 0;\n !(props.defaultMatches === undefined || !props.queries || typeof props.defaultMatches === \"object\") ? process.env.NODE_ENV !== \"production\" ? invariant(false, \"<Media> when queries is set, defaultMatches must be a object of booleans, received \" + typeof props.defaultMatches) : invariant(false) : void 0;\n\n if (typeof window !== \"object\") {\n // In case we're rendering on the server, apply the default matches\n var matches;\n\n if (props.defaultMatches !== undefined) {\n matches = props.defaultMatches;\n } else if (props.query) {\n matches = true;\n }\n /* if (props.queries) */\n else {\n matches = Object.keys(_this.props.queries).reduce(function (acc, key) {\n var _extends3;\n\n return _extends({}, acc, (_extends3 = {}, _extends3[key] = true, _extends3));\n }, {});\n }\n\n _this.state = {\n matches: matches\n };\n return _assertThisInitialized(_this);\n }\n\n _this.initialize(); // Instead of calling this.updateMatches, we manually set the initial state to prevent\n // calling setState, which could trigger an unnecessary second render\n\n\n _this.state = {\n matches: _this.props.defaultMatches !== undefined ? _this.props.defaultMatches : _this.getMatches()\n };\n\n _this.onChange();\n\n return _this;\n }\n\n var _proto = Media.prototype;\n\n _proto.initialize = function initialize() {\n var _this2 = this;\n\n var targetWindow = this.props.targetWindow || window;\n !(typeof targetWindow.matchMedia === \"function\") ? process.env.NODE_ENV !== \"production\" ? invariant(false, \"<Media targetWindow> does not support `matchMedia`.\") : invariant(false) : void 0;\n var queries = this.props.queries || wrapInQueryObject(this.props.query);\n this.queries = Object.keys(queries).map(function (name) {\n var query = queries[name];\n var qs = typeof query !== \"string\" ? json2mq(query) : query;\n var mqListener = new MediaQueryListener(targetWindow, qs, _this2.updateMatches);\n return {\n name: name,\n mqListener: mqListener\n };\n });\n };\n\n _proto.componentDidMount = function componentDidMount() {\n this.initialize(); // If props.defaultMatches has been set, ensure we trigger a two-pass render.\n // This is useful for SSR with mismatching defaultMatches vs actual matches from window.matchMedia\n // Details: https://github.com/ReactTraining/react-media/issues/81\n\n if (this.props.defaultMatches !== undefined) {\n this.updateMatches();\n }\n };\n\n _proto.onChange = function onChange() {\n var onChange = this.props.onChange;\n\n if (onChange) {\n onChange(this.state.matches);\n }\n };\n\n _proto.componentWillUnmount = function componentWillUnmount() {\n this.queries.forEach(function (_ref2) {\n var mqListener = _ref2.mqListener;\n return mqListener.cancel();\n });\n };\n\n _proto.render = function render() {\n var _this$props = this.props,\n children = _this$props.children,\n render = _this$props.render;\n var matches = this.state.matches;\n var isAnyMatches = typeof matches === \"object\" ? Object.keys(matches).some(function (key) {\n return matches[key];\n }) : matches;\n return render ? isAnyMatches ? render(matches) : null : children ? typeof children === \"function\" ? children(matches) : !Array.isArray(children) || children.length // Preact defaults to empty children array\n ? isAnyMatches ? // We have to check whether child is a composite component or not to decide should we\n // provide `matches` as a prop or not\n React.Children.only(children) && typeof React.Children.only(children).type === \"string\" ? React.Children.only(children) : React.cloneElement(React.Children.only(children), {\n matches: matches\n }) : null : null : null;\n };\n\n return Media;\n}(React.Component);\n/**\n * Wraps a single query in an object. This is used to provide backward compatibility with\n * the old `query` prop (as opposed to `queries`). If only a single query is passed, the object\n * will be unpacked down the line, but this allows our internals to assume an object of queries\n * at all times.\n */\n\n\n_defineProperty(Media, \"propTypes\", {\n defaultMatches: PropTypes.oneOfType([PropTypes.bool, PropTypes.objectOf(PropTypes.bool)]),\n query: queryType,\n queries: PropTypes.objectOf(queryType),\n render: PropTypes.func,\n children: PropTypes.oneOfType([PropTypes.node, PropTypes.func]),\n targetWindow: PropTypes.object,\n onChange: PropTypes.func\n});\n\nfunction wrapInQueryObject(query) {\n return {\n __DEFAULT__: query\n };\n}\n/**\n * Unwraps an object of queries, if it was originally passed as a single query.\n */\n\n\nfunction unwrapSingleQuery(queryObject) {\n var queryNames = Object.keys(queryObject);\n\n if (queryNames.length === 1 && queryNames[0] === \"__DEFAULT__\") {\n return queryObject.__DEFAULT__;\n }\n\n return queryObject;\n}\n\nexport default Media;\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/react-media/esm/react-media.js\n// module id = 27\n// module chunks = 0",";(function(root, factory) {\n if (typeof define === 'function' && define.amd) {\n define([], factory);\n } else if (typeof exports === 'object') {\n module.exports = factory();\n } else {\n root.ScrollSwipe = factory();\n }\n}(this, function() {\n'use strict';\n\nvar VERTICAL = 'VERTICAL';\nvar HORIZONTAL = 'HORIZONTAL';\n\nvar acceptedParams = {\n target: true,\n scrollSensitivity: true,\n touchSensitivity: true,\n scrollCb: true,\n touchCb: true,\n scrollPreventDefault: true,\n touchPreventDefault: true\n};\n\nif (typeof module !== 'undefined') {\n module.exports = ScrollSwipe;\n}\n\nfunction ScrollSwipe(opts) {\n var _this = this;\n\n Object.keys(opts).forEach(function (key) {\n if (acceptedParams[key]) {\n _this[key] = opts[key];\n return;\n }\n\n throw new Error('unknown options for ScrollSwipe: ' + key);\n });\n\n if (!opts.target) {\n throw new Error('must provide DOM target element to ScrollSwipe');\n }\n\n if (!this.scrollSensitivity || this.scrollSensitivity < 0) {\n this.scrollSensitivity = 0;\n }\n\n if (!this.touchSensitivity || this.touchSensitivity < 0) {\n this.touchSensitivity = 0;\n }\n\n this.startTouchEvent = null;\n this.latestTouchEvent = null;\n this.latestTouch = null;\n\n this.startScrollEvent = null;\n this.latestScrollEvent = null;\n this.latestScroll = null;\n\n this.intent = 0;\n this.currentDirection = VERTICAL;\n this.touchArr = [];\n this.xArr = [];\n this.yArr = [];\n this.touchArrX = [];\n this.touchArrY = [];\n\n this.scrollPending = false;\n\n //these should only init if true\n if (this.scrollCb) {\n this.initScroll();\n }\n\n if (this.touchCb) {\n this.initTouch();\n }\n\n return this;\n}\n\nScrollSwipe.prototype.listen = function listen() {\n this.flush();\n this.scrollPending = false;\n return this;\n};\n\nScrollSwipe.prototype.onWheel = function onWheel(e) {\n var _this2 = this;\n\n if (this.scrollPreventDefault) {\n e.preventDefault();\n }\n\n if (this.scrollPending) {\n return;\n }\n\n this.startScrollEvent = e;\n\n var x = e.deltaX;\n var y = e.deltaY;\n\n this.addXScroll(x);\n this.addYScroll(y);\n\n this.scrollFulfilled(function (fulfilled, direction, intent) {\n if (!fulfilled) {\n return;\n }\n\n _this2.lockout();\n _this2.latestScrollEvent = e;\n\n var result = {\n startEvent: e,\n lastEvent: _this2.latestScrollEvent,\n scrollPending: _this2.scrollPending,\n direction: direction,\n intent: intent\n };\n\n _this2.scrollCb(result);\n _this2.undoLockout();\n });\n};\n\nScrollSwipe.prototype.initScroll = function initScroll() {\n this.newOnWheel = this.onWheel.bind(this);\n\n if (this.target && this.target.addEventListener) {\n this.target.addEventListener('wheel', this.newOnWheel, false);\n }\n\n return this;\n};\n\nScrollSwipe.prototype.touchMove = function touchMove(e) {\n if (this.touchPreventDefault) {\n e.preventDefault();\n }\n\n var changedTouches = e.changedTouches[0];\n var x = changedTouches.clientX;\n var y = changedTouches.clientY;\n\n this.startTouchEvent = e;\n this.addXTouch(x);\n this.addYTouch(y);\n};\n\nScrollSwipe.prototype.touchEnd = function touchEnd(e) {\n var _this3 = this;\n\n this.touchFulfilled(e, function (fulfilled, direction, intent) {\n if (!fulfilled) {\n return;\n }\n\n var result = {\n startEvent: _this3.startTouchEvent,\n lastEvent: _this3.latestTouchEvent,\n scrollPending: _this3.scrollPending,\n direction: direction,\n intent: intent\n };\n\n _this3.touchCb(result);\n });\n};\n\nScrollSwipe.prototype.initTouch = function initTouch() {\n this.newTouchMove = this.touchMove.bind(this);\n this.newTouchEnd = this.touchEnd.bind(this);\n\n if (this.target && this.target.addEventListener) {\n this.target.addEventListener('touchmove', this.newTouchMove, false);\n this.target.addEventListener('touchend', this.newTouchEnd, false);\n }\n\n return this;\n};\n\n//touch events\nScrollSwipe.prototype.touchFulfilled = function touchFulfilled(e, cb) {\n if (!e) {\n throw new Error('must provide event to touchFulfilled');\n }\n\n if (!cb) {\n throw new Error('must provide callback to touchFulfilled');\n }\n\n var touchSensitivity = this.touchSensitivity,\n touchArrX = this.touchArrX,\n touchArrY = this.touchArrY;\n\n\n var bool = touchArrX.length > touchSensitivity && touchArrY.length > touchSensitivity;\n\n if (!bool) {\n return cb(false, null);\n }\n\n var changedTouches = e.changedTouches[0];\n\n var xStart = touchArrX[0];\n var yStart = touchArrY[0];\n\n var xEnd = changedTouches.clientX;\n var yEnd = changedTouches.clientY;\n\n var xIntent = xStart < xEnd ? 0 : 1;\n var yIntent = yStart < yEnd ? 0 : 1;\n\n var direction = VERTICAL;\n\n //determine vertical or horizontal based on the greatest difference\n if (Math.abs(xStart - xEnd) > Math.abs(yStart - yEnd)) {\n direction = HORIZONTAL;\n }\n\n var intent = direction === VERTICAL ? yIntent : xIntent;\n\n swap.call(this, intent, direction);\n this.resetTouches();\n this.scrollPending = true;\n this.latestTouchEvent = e;\n\n cb(this.scrollPending, this.currentDirection, this.currentIntent);\n return this;\n};\n\nScrollSwipe.prototype.getTouch = function getTouch(idx) {\n return this.touchArr[idx];\n};\n\nScrollSwipe.prototype.addXTouch = function addTouch(touch) {\n if (this.pending()) {\n return this;\n }\n\n this.latestTouch = touch;\n this.touchArrX.push(touch);\n\n return this;\n};\n\nScrollSwipe.prototype.addYTouch = function addTouch(touch) {\n if (this.pending()) {\n return this;\n }\n\n this.latestTouch = touch;\n this.touchArrY.push(touch);\n\n return this;\n};\n\nScrollSwipe.prototype.resetTouches = function resetTouches() {\n this.touchArrX = [];\n this.touchArrY = [];\n return this;\n};\n\n//wheel events\nScrollSwipe.prototype.addXScroll = function addXScroll(s) {\n if (this.pending()) {\n return this;\n }\n\n this.latestScroll = s;\n this.xArr.push(s);\n return this;\n};\n\nScrollSwipe.prototype.addYScroll = function addYScroll(s) {\n if (this.pending()) {\n return this;\n }\n\n this.latestScroll = s;\n this.yArr.push(s);\n return this;\n};\n\nScrollSwipe.prototype.getDirection = function getDirection() {\n return this.currentDirection;\n};\n\nScrollSwipe.prototype.resetScroll = function resetScroll() {\n this.xArr = [];\n this.yArr = [];\n\n return this;\n};\n\nScrollSwipe.prototype.flush = function flush() {\n this.resetScroll();\n this.resetTouches();\n\n return this;\n};\n\nScrollSwipe.prototype.lockout = function lockout() {\n this.originalAddXTouch = this.addXTouch;\n this.originalAddYTouch = this.addYTouch;\n\n this.originalAddXScroll = this.addXScroll;\n this.originalAddYScroll = this.addYScroll;\n\n this.addXScroll = function () {};\n this.addYScroll = function () {};\n this.addXTouch = function () {};\n this.addYTouch = function () {};\n\n return this;\n};\n\nScrollSwipe.prototype.undoLockout = function undoLockout() {\n this.addXScroll = this.originalAddXScroll;\n this.addYScroll = this.originalAddYScroll;\n this.addXTouch = this.originalAddXTouch;\n this.addYTouch = this.originalAddYTouch;\n\n return this;\n};\n\nScrollSwipe.prototype.scrollFulfilled = function scrollFulfilled(cb) {\n if (!cb) {\n throw new Error('must provide callback to scrollFulfilled');\n }\n\n var xArr = this.xArr,\n yArr = this.yArr,\n scrollSensitivity = this.scrollSensitivity;\n\n\n var bool = xArr.length > scrollSensitivity && yArr.length > scrollSensitivity;\n\n var _evalScrollDirection = this.evalScrollDirection(),\n direction = _evalScrollDirection.direction,\n intent = _evalScrollDirection.intent;\n\n if (bool) {\n swap.call(this, intent, direction);\n this.resetScroll();\n this.scrollPending = true;\n }\n\n cb(this.scrollPending, this.currentDirection, this.currentIntent);\n return this;\n};\n\nScrollSwipe.prototype.evalScrollDirection = function evalScrollDirection() {\n var _getSums = this.getSums(),\n x = _getSums.x,\n y = _getSums.y,\n xIntent = _getSums.xIntent,\n yIntent = _getSums.yIntent;\n\n var direction = x > y ? HORIZONTAL : VERTICAL;\n var base = direction === VERTICAL ? yIntent : xIntent;\n\n var intent = 0;\n\n if (base > 0) {\n intent = 1;\n }\n\n return { direction: direction, intent: intent };\n};\n\nScrollSwipe.prototype.getSums = function getSums() {\n var xArr = this.xArr,\n yArr = this.yArr;\n\n\n var xIntent = 0;\n var yIntent = 0;\n\n var x = xArr.reduce(function (result, curr) {\n xIntent = xIntent + curr;\n return result += Math.abs(curr);\n }, 0);\n\n var y = yArr.reduce(function (result, curr) {\n yIntent = yIntent + curr;\n return result += Math.abs(curr);\n }, 0);\n\n return { x: x, y: y, xIntent: xIntent, yIntent: yIntent };\n};\n\nScrollSwipe.prototype.getScrollDirection = function getScrollDirection() {\n return this.currentDirection;\n};\n\nScrollSwipe.prototype.pending = function pending() {\n return this.scrollPending;\n};\n\nScrollSwipe.prototype.killScroll = function killScroll() {\n if (this.target && this.target.removeEventListener) {\n this.target.removeEventListener('wheel', this.newOnWheel, false);\n }\n\n return this;\n};\n\nScrollSwipe.prototype.killTouch = function killTouch() {\n if (this.target && this.target.removeEventListener) {\n this.target.removeEventListener('touchmove', this.newTouchMove, false);\n this.target.removeEventListener('touchend', this.newTouchEnd, false);\n }\n\n return this;\n};\n\nScrollSwipe.prototype.killAll = function teardown() {\n this.killScroll().killTouch();\n this.flush();\n return this;\n};\n\nfunction swap(intent, direction) {\n this.previousIntent = this.currentIntent;\n this.currentIntent = intent;\n this.previousDirection = this.currentDirection;\n this.currentDirection = direction;\n}\nreturn ScrollSwipe;\n}));\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/scroll-swipe/dist/ScrollSwipe.js\n// module id = 28\n// module chunks = 0","var camel2hyphen = function (str) {\n return str\n .replace(/[A-Z]/g, function (match) {\n return '-' + match.toLowerCase();\n })\n .toLowerCase();\n};\n\nmodule.exports = camel2hyphen;\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/string-convert/camel2hyphen.js\n// module id = 29\n// module chunks = 0","var g;\r\n\r\n// This works in non-strict mode\r\ng = (function() {\r\n\treturn this;\r\n})();\r\n\r\ntry {\r\n\t// This works if eval is allowed (see CSP)\r\n\tg = g || Function(\"return this\")() || (1,eval)(\"this\");\r\n} catch(e) {\r\n\t// This works if the window reference is available\r\n\tif(typeof window === \"object\")\r\n\t\tg = window;\r\n}\r\n\r\n// g can still be undefined, but nothing to do about it...\r\n// We return undefined, instead of nothing here, so it's\r\n// easier to handle this case. if(!global) { ...}\r\n\r\nmodule.exports = g;\r\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// (webpack)/buildin/global.js\n// module id = 30\n// module chunks = 0","'use strict'\nmodule.exports = (typeof self === 'object' && self.self === self && self) ||\n (typeof global === 'object' && global.global === global && global) ||\n this\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/window-or-global/lib/index.js\n// module id = 31\n// module chunks = 0"],"sourceRoot":""}