1 2!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},n=(new e.Error).stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="ae0efdc9-7a2d-5ace-a9d5-b7a01c592422")}catch(e){}}(); 3(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[46525],{59106:function(e,t,s){(window.__NEXT_P=window.__NEXT_P||[]).push(["/customers",function(){return s(88897)}])},88897:function(e,t,s){"use strict";s.r(t),s.d(t,{default:function(){return w}});var o=s(85893),r=s(67294),n=s(93967),l=s.n(n),i=s(2664),a=s(41484),c=s(49986),u=s(30523),p=s.n(u),d=s(92444),h=s(50812),m=s(8164),f=s.n(m),x=s(6629),_=s.n(x),g=s(45697),v=s.n(g),y=s(4466),j=s.n(y);class N extends r.PureComponent{render(){return(0,o.jsxs)("video",{className:j().player,controls:!0,autoPlay:!0,children:[this.props.sources.map((e,t)=>(0,o.jsx)("source",{src:e.src,type:e.type},t)),this.props.t("video:browserSupportError")]})}}N.propTypes={sources:v().arrayOf(v().shape({src:v().string.isRequired,type:v().oneOf(["video/mp4"]).isRequired}).isRequired).isRequired};var S=(0,a.Zh)(["video","common","helpers"])(N),C=s(78919);let P=["customers","common","group"];p().polyfill();let T=(e,t)=>{let s;function o(e,s,o,r){return!1===t||o<=e+r&&e<=s+r?Math.min(o,Math.max(s,e)):(s+o)/2}let r=function e(t,s,o,n){return{left:t,top:s,width:o,height:n,right:t+o,bottom:s+n,translate:function(r,l){return e(r+t,l+s,o,n)},relativeFromTo:function(l,i){let a=t,c=s;if((l=l.offsetParent)===(i=i.offsetParent))return r;for(;l;l=l.offsetParent)a+=l.offsetLeft+l.clientLeft,c+=l.offsetTop+l.clientTop;for(;i;i=i.offsetParent)a-=i.offsetLeft+i.clientLeft,c-=i.offsetTop+i.clientTop;return e(a,c,o,n)}}}(e.offsetLeft,e.offsetTop,e.offsetWidth,e.offsetHeight);for(;(s=e.parentNode)instanceof HTMLElement;){let t=s.offsetLeft+s.clientLeft,n=s.offsetTop+s.clientTop;r=r.relativeFromTo(e,s).translate(-t,-n),s.scrollLeft=o(s.scrollLeft,r.right-s.clientWidth,r.left,s.clientWidth),s.scrollTop=o(s.scrollTop,r.bottom-s.clientHeight,r.top,s.clientHeight),r=r.translate(t-s.scrollLeft,n-s.scrollTop),e=s}};class b extends r.PureComponent{static async getInitialProps(e){return{namespacesRequired:P,name:"Customers"}}componentWillUnmount(){window.clearTimeout(this._scrollingTimeout)}render(){let{t:e}=this.props,t=e("customers:metaDescription"),s=(0,d.D)({description:t,image:"/images/icons/comparison/philly.jpg",title:"Customers"});return(0,o.jsx)("div",{className:_().whiteBackground,children:(0,o.jsxs)("div",{className:l()(f().container,f().contentPadding),children:[s,(0,o.jsx)("h2",{className:l()(_().heading,_().pageTitle),children:(0,o.jsxs)(a.cC,{i18nKey:"customers:title",children:["Join thousands of organiztions globally",(0,o.jsxs)("span",{className:_().companyText,children:[" ","that get active on OpenSports."]})]})}),(0,o.jsx)("div",{className:_().innerNav,children:(0,o.jsx)("div",{className:_().containerWide,children:(0,o.jsxs)(c.Z,{onUpdate:this._scrolled,items:["sports-clubs","sports-leagues","nonprofits","small-groups","enterprise"],currentClassName:_().selectedSectionLink,className:_().innerNavList,children:[(0,o.jsx)("li",{children:(0,o.jsx)("a",{onClick:this._scrollTo,className:_().sopfcNavbar,href:"#sports-clubs",children:e("customers:sportsClubs")})}),(0,o.jsx)("li",{children:(0,o.jsx)("a",{onClick:this._scrollTo,className:_().chicagoFireNavbar,href:"#sports-leagues",children:e("customers:sportsLeagues")})}),(0,o.jsx)("li",{children:(0,o.jsx)("a",{onClick:this._scrollTo,className:_().phillyVBNavbar,href:"#nonprofits",children:e("customers:nonProfits")})}),(0,o.jsx)("li",{children:(0,o.jsx)("a",{onClick:this._scrollTo,className:_().payamNavbar,href:"#small-groups",children:e("customers:smallGroups")})}),(0,o.jsx)("li",{children:(0,o.jsx)("a",{onClick:this._scrollTo,className:_().marsNavbar,href:"#enterprise",children:e("customers:enterprise")})})]})})}),(0,o.jsx)("div",{style:{height:"10px",width:"100%"}}),(0,o.jsxs)("div",{className:_().sopfc,id:"sports-clubs",children:[(0,o.jsx)("div",{className:"row center-xs",children:(0,o.jsxs)("h2",{className:_().sectionCategory,children:[(0,o.jsx)("i",{className:_().dividerIcon,"aria-hidden":!0}),(0,o.jsx)("span",{children:e("common:sportsGroups")})]})}),(0,o.jsx)("div",{className:_().largeContainer,children:(0,o.jsxs)("div",{className:"row middle-xs",children:[(0,o.jsx)("div",{className:"col-xs-12 col-sm-6",children:(0,o.jsxs)("div",{className:l()(_().sectionQuote),children:[(0,o.jsx)("div",{className:l()(_().sectionQuotePhotoSOPFC)}),(0,o.jsxs)("blockquote",{className:_().quoteSOPFC,children:[(0,o.jsx)("h2",{children:(0,o.jsx)("a",{target:"_blank",href:"http://www.sonsofpitchesfc.com/",rel:"noopener noreferrer",children:(0,o.jsx)("img",{src:"/images/customers/sopfc-logo.jpg",width:"100",height:"100",alt:"SOPFC Logo"})})}),(0,o.jsx)("p",{className:_().quoteCFRSInline,children:e("customers:sopfc1Details")})]})]})}),(0,o.jsx)("div",{className:"col-xs-12 col-sm-6",children:(0,o.jsxs)("div",{className:l()(_().content,_().sectionContentRightColumn),children:[(0,o.jsx)("p",{className:l()(_().common,_().introTextSectionParagraph,_().sectionParagraphIntro,_().commonIntroText),children:e("customers:sopfc2Details")}),(0,o.jsx)("p",{className:l()(_().commonBodyText,_().sectionParagraph),children:e("customers:sopfc3Details")}),(0,o.jsx)("p",{className:l()(_().commonBodyText,_().sectionParagraph),children:e("customers:sopfc4Details")}),(0,o.jsx)("p",{className:l()(_().commonBodyText,_().sectionParagraph),children:(0,o.jsxs)(a.cC,{i18nKey:"customers:sopfc5Details",children:[(0,o.jsx)(a.pt,{href:"/blog/[al
3iasID]",as:"/blog/son-of-a-pitch-these-best-friends-are-really-elevating-the-pickup-soccer-game",children:"Read more"})," ","about when we met the founders of SOPFC in Atlanta in April, 2018 and played in their pickup games while they launched their OpenSports group!"]})})]})})]})})]}),(0,o.jsxs)("div",{className:_().chicagoFire,id:"sports-leagues",children:[(0,o.jsx)("div",{className:"row center-xs",children:(0,o.jsxs)("h2",{className:_().sectionCategory,children:[(0,o.jsx)("i",{className:l()("fa fa-trophy",_().dividerIcon),"aria-hidden":!0}),(0,o.jsx)("span",{children:e("customers:sportsLeagues")})]})}),(0,o.jsxs)("div",{className:"row middle-xs",children:[(0,o.jsx)("div",{className:"col-xs-12 col-sm-6",children:(0,o.jsxs)("div",{className:l()(_().sectionQuote),children:[(0,o.jsx)("div",{className:l()(_().sectionQuotePhotoCFRS)}),(0,o.jsxs)("blockquote",{className:_().quoteCFRS,children:[(0,o.jsx)("h2",{children:(0,o.jsx)("a",{target:"_blank",href:"https://www.fire-pitch.com/cfrs/",rel:"noopener noreferrer",children:(0,o.jsx)("img",{src:"/images/customers/cfrs-logo.png",width:"100",height:"100",alt:"CFRS Logo"})})}),(0,o.jsx)("p",{className:_().quoteCFRSInline,children:e("customers:cfrs1Details")})]})]})}),(0,o.jsx)("div",{className:"col-xs-12 col-sm-6",children:(0,o.jsxs)("div",{className:l()(_().content,_().sectionContentRightColumn),children:[(0,o.jsx)("p",{className:l()(_().common,_().introTextSectionParagraph,_().sectionParagraphIntro,_().commonIntroText),children:e("customers:cfrs2Details")}),(0,o.jsx)("p",{className:l()(_().commonBodyText,_().sectionParagraph),children:e("customers:cfrs3Details")}),(0,o.jsx)("p",{className:l()(_().commonBodyText,_().sectionParagraph),children:e("customers:cfrs4Details")}),(0,o.jsx)("p",{className:l()(_().commonBodyText,_().sectionParagraph),children:(0,o.jsxs)(a.cC,{i18nKey:"customers:cfrs5Details",children:["See how Chicago Fire owned the look and feel of their rapidly growing"," ",(0,o.jsx)(a.pt,{href:"/[aliasID]",as:"/cfrs",children:"OpenSports group"}),", and view their"," ",(0,o.jsx)("a",{target:"_blank",href:"https://fire-pitch.com/pickups/",rel:"noopener noreferrer",children:"upcoming games widget"}),"."]})})]})})]})]}),(0,o.jsxs)("div",{className:_().phillyVB,id:"nonprofits",children:[(0,o.jsx)("div",{className:"row center-xs",children:(0,o.jsxs)("h2",{className:_().sectionCategory,children:[(0,o.jsx)("i",{className:l()("fa fa-heart",_().dividerIcon),"aria-hidden":!0}),(0,o.jsx)("span",{children:e("customers:nonProfits")})]})}),(0,o.jsx)("div",{className:_().largeContainer,children:(0,o.jsxs)("div",{className:"row middle-xs",children:[(0,o.jsx)("div",{className:"col-xs-12 col-sm-6",children:(0,o.jsxs)("div",{className:l()(_().sectionQuote),children:[(0,o.jsx)("div",{className:l()(_().sectionQuotePhotoPhillyVB)}),(0,o.jsxs)("blockquote",{className:_().quotePhillyVB,children:[(0,o.jsx)("h2",{children:(0,o.jsx)("a",{target:"_blank",href:"https://www.philadelphiavolleyball.com/",rel:"noopener noreferrer",children:(0,o.jsx)("img",{src:"/images/customers/phillyvb-logo.png",width:"100",height:"100",alt:"Philly Volleyball Logo"})})}),(0,o.jsx)("p",{className:_().quoteCFRSInline,children:e("customers:phvb1Details")})]})]})}),(0,o.jsx)("div",{className:"col-xs-12 col-sm-6",children:(0,o.jsxs)("div",{className:l()(_().content,_().sectionContentRightColumn),children:[(0,o.jsx)("p",{className:l()(_().common,_().introTextSectionParagraph,_().sectionParagraphIntro,_().commonIntroText),children:e("customers:phvb2Details")}),(0,o.jsx)("p",{className:l()(_().commonBodyText,_().sectionParagraph),children:e("customers:phvb3Details")}),(0,o.jsx)("p",{className:l()(_().commonBodyText,_().sectionParagraph),children:(0,o.jsxs)(a.cC,{i18nKey:"customers:phvb4Details",children:["Learn more about how the"," ",(0,o.jsx)(a.pt,{href:"/blog/[aliasID]",as:"/blog/waitlists-for-sports-and-fitness-groups-with-popular-events",children:"automatic waitlist works"})," ","and get to know"," ",(0,o.jsx)(a.pt,{href:"/[aliasID]",as:"/PhiladelphiaVolleyball",children:"Danâs Volleyball group"}),"."]})})]})})]})})]}),(0,o.jsxs)("div",{className:_().payam,id:"small-groups",children:[(0,o.jsx)("div",{className:"row center-xs",children:(0,o.jsxs)("h2",{className:_().sectionCategory,children:[(0,o.jsx)("i",{className:l()("fa fa-users",_().dividerIcon),"aria-hidden":!0}),(0,o.jsx)("span",{children:e("customers:smallGroups")})]})}),(0,o.jsxs)("div",{className:"row middle-xs",children:[(0,o.jsx)("div",{className:"col-xs-12 col-sm-6",children:(0,o.jsxs)("div",{className:l()(_().sectionQuote),children:[(0,o.jsx)("div",{onClick:this._playVideo,className:l()(_().sectionQuotePhotoPayam,_().videoPreview)}),(0,o.jsx)("blockquote",{className:_().quotePayam,children:(0,o.jsx)("p",{className:_().quoteCFRSInline,children:e("customers:payam1Details")})})]})}),(0,o.jsx)("div",{className:"col-xs-12 col-sm-6",children:(0,o.jsxs)("div",{className:l()(_().content,_().sectionContentRightColumn),children:[(0,o.jsx)("p",{className:l()(_().common,_().introTextSectionParagraph,_().sectionParagraphIntro,_().commonIntroText)}),(0,o.jsx)("p",{className:l()(_().common,_().introTextSectionParagraph,_().sectionParagraphIntro,_().commonIntroText),children:e("customers:payam2Details")}),(0,o.jsx)("p",{className:l()(_().commonBodyText,_().sectionParagraph),children:e("customers:payam3Details")}),(0,o.jsx)("p",{className:l()(_().commonBodyText,_().sectionParagraph),children:e("customers:payam4Details")}),(0,o.jsx)("p",{className:l()(_().commonBodyText,_().sectionParagraph),children:(0,o.jsxs)(a.cC,{i18nKey:"customers:payam5Detail
3s",children:["Read about Payamâs"," ",(0,o.jsx)(a.pt,{href:"/blog/true-football-soccer)-fans-meet-the-opensports-x-puma-winners",children:"OpenSports x PUMA Prize"})," ","and learn more about"," ",(0,o.jsx)(a.pt,{href:"/blog/opensports-vs-meetup-and-eventbrite-transaction-fees",children:"collecting payment"})," ","through OpenSports."]})})]})})]})]}),(0,o.jsxs)("div",{className:_().mars,id:"enterprise",children:[(0,o.jsx)("div",{className:"row center-xs",children:(0,o.jsxs)("h2",{className:_().sectionCategory,children:[(0,o.jsx)("i",{className:l()("fa fa-briefcase",_().dividerIcon),"aria-hidden":!0}),(0,o.jsx)("span",{children:e("customers:enterprise")})]})}),(0,o.jsx)("div",{className:_().largeContainer,children:(0,o.jsxs)("div",{className:"row middle-xs",children:[(0,o.jsx)("div",{className:"col-xs-12 col-sm-6",children:(0,o.jsxs)("div",{className:l()(_().sectionQuote),children:[(0,o.jsx)("div",{className:l()(_().sectionQuotePhotoMars)}),(0,o.jsxs)("blockquote",{className:_().quoteMars,children:[(0,o.jsx)("h2",{children:(0,o.jsx)("img",{src:"/images/customers/mars-logo.png",width:"100",height:"100",alt:"MaRS Logo"})}),(0,o.jsx)("p",{className:_().quoteMarsInline,children:e("customers:enterprise1Details")})]})]})}),(0,o.jsx)("div",{className:"col-xs-12 col-sm-6",children:(0,o.jsxs)("div",{className:l()(_().content,_().sectionContentRightColumn),children:[(0,o.jsx)("p",{className:l()(_().common,_().introTextSectionParagraph,_().sectionParagraphIntro,_().commonIntroText),children:e("customers:enterprise2Details")}),(0,o.jsx)("p",{className:l()(_().commonBodyText,_().sectionParagraph),children:e("customers:enterprise3Details")}),(0,o.jsx)("p",{className:l()(_().commonBodyText,_().sectionParagraph),children:(0,o.jsxs)(a.cC,{i18nKey:"customers:enterprise4Details",children:["Learn more about how OpenSports"," ",(0,o.jsx)(a.pt,{href:"/blog/opensports--interac-group-payment-for-sports",children:"worked with Interac"})," ","and with the"," ",(0,o.jsx)(a.pt,{href:"/blog/the-future-of-digital-health-surveillance-competition-gives-opensports-the-runway-to-track-the",children:"Public Health Agency of Canada"}),"."]})})]})})]})})]}),(0,o.jsx)(C.Z,{})]})})}constructor(...e){super(...e),this._scrollingTimeout=void 0,this._scrollTo=e=>{e.preventDefault();let t=0;void 0!==this.props.offset&&(t=parseInt(this.props.offset,10));let s=e.currentTarget.getAttribute("href").slice(1),o=document.getElementById(s);o&&!isNaN(t)&&window.scroll({top:o.offsetTop-t,behavior:"smooth"})},this._scrolled=e=>{if(clearTimeout(this._scrollingTimeout),e)try{let t=document.querySelectorAll("a[href='#".concat(e.id,"']"));t&&t.length&&t.length>0&&(this._scrollingTimeout=window.setTimeout(()=>{T(t[0],!0)},700))}catch(e){console.error("hit an error with _scrolled",e)}},this._playVideo=()=>{this.props.showModal({modalLogData:{actionType:"ShowVideo"},modalType:"CUSTOM",modalProps:{shouldCloseOnOverlayClick:!0,showCloseButton:!1,CustomComponent:S,props:{sources:[{src:"/images/customers/payam.mp4",type:"video/mp4"}]}}})}}}var w=(0,a.Zh)(P)((0,i.$j)(e=>({user:e.auth.user}),{showModal:h.K4,hideModal:h.VG})(b))},78919:function(e,t,s){"use strict";var o=s(85893),r=s(67294),n=s(93967),l=s.n(n),i=s(41664),a=s.n(i),c=s(41484),u=s(5195),p=s.n(u);class d extends r.PureComponent{render(){let{t:e}=this.props;return(0,o.jsxs)("div",{className:p().nextSteps,children:[(0,o.jsxs)("div",{className:p().nextStepsText,children:[(0,o.jsx)("div",{className:p().nextStepsQuestion,children:e("group:readyToStart")}),(0,o.jsx)("div",{className:p().nextStepsLabel,children:e("group:nextStep")})]}),(0,o.jsxs)("div",{className:p().nextStepsButtons,children:[(0,o.jsx)("div",{className:l()(p().nextStepsButton,p().createGroup),children:(0,o.jsx)(a(),{href:"/groups/new",children:e("group:createMyGroup")})}),(0,o.jsx)("div",{className:l()(p().nextStepsButton,p().contactSupport),children:(0,o.jsx)(a(),{href:"/contact",children:e("common:contactUs")})})]})]})}}t.Z=(0,c.Zh)(["group"])(d)},6629:function(e){e.exports={whiteBackground:"Customers_whiteBackground__usGTe",companyText:"Customers_companyText___PqQr",innerNav:"Customers_innerNav__rZucM",sectionCategory:"Customers_sectionCategory__XiXCN",sectionQuotePhotoCFRS:"Customers_sectionQuotePhotoCFRS__kLzkx",sectionQuotePhotoPhillyVB:"Customers_sectionQuotePhotoPhillyVB__QWt7F",sectionQuotePhotoMars:"Customers_sectionQuotePhotoMars__nPMrd",sectionQuotePhotoSOPFC:"Customers_sectionQuotePhotoSOPFC__SsRrE",quoteSOPFC:"Customers_quoteSOPFC__9Ghl8",quoteMars:"Customers_quoteMars__GZ4m1",sectionQuotePhotoPayam:"Customers_sectionQuotePhotoPayam__ncSxr",quotePayam:"Customers_quotePayam__LFuqP",quoteCFRSInline:"Customers_quoteCFRSInline__Aa5_x",quoteMarsInline:"Customers_quoteMarsInline__z_TeT",quotePhillyVB:"Customers_quotePhillyVB__mU01a",quoteCFRS:"Customers_quoteCFRS__JxF63",sectionQuote:"Customers_sectionQuote__EnntE",sectionParagraph:"Customers_sectionParagraph__PIRbE",commonBodyText:"Customers_commonBodyText__W94uU",commonIntroText:"Customers_commonIntroText__PzIy3",innerNavList:"Customers_innerNavList__pM2P_",active:"Customers_active__ykGgc",selectedSectionLink:"Customers_selectedSectionLink__fg5ee",chicagoFire:"Customers_chicagoFire__pRFO3",chicagoFireNavbar:"Customers_chicagoFireNavbar__VoFbB",dividerIcon:"Customers_dividerIcon__fKWqa",phillyVB:"Customers_phillyVB___oouS",phillyVBNavbar:"Customers_phillyVBNavbar__BCug_",mars:"Customers_mars__4QAHQ",marsNavbar:"Customers_marsNavbar__Qmz4V",sopfc:"Customers_sopfc__9XxXz",sopfcNavbar:"Customers_sopfcNavbar__TOEvj",payam:"Customers_payam__Q_8h0",payamNavbar:"Customers_payamNavbar__k7BM8",largerScreens:"Customers_largerScreens__jV0SC",smallerScreens:"Customers_smallerScreens__oPRxx",heading:"Customers_heading__jvNzj",pageTitle:"Customers_pageTitle__zN095",content:"Customers_content__CCeU2",videoPreview:"Customers_videoPreview__q_G1Y"}},5195:function(e){e.exports={nextSteps:"NextSteps_nextSteps___9FSQ",nextStepsText:"NextSteps_nextStepsText__nSVkj",nextStepsQuestion:"NextSteps_nextStepsQuestion__Gpxsd",nextStepsLabel:"NextSteps_nextStepsLabel__Sw60a",nextStepsButtons:"NextSteps_nextStepsButtons__LQ7bm",nextStepsButton:"NextSteps_nextStepsButton__B7A5i",contactSupport:"NextSteps_contactSupport__r
3nRRQ",createGroup:"NextSteps_createGroup__ocOr8"}},4466:function(e){e.exports={player:"VideoPlayer_player__T5NAm"}},49986:function(e,t,s){"use strict";var o=s(64836);t.Z=void 0;var r=o(s(10434)),n=o(s(38416)),l=o(s(861)),i=o(s(56690)),a=o(s(94993)),c=o(s(73808)),u=o(s(66115)),p=o(s(89728)),d=o(s(61655)),h=o(s(45697)),m=o(s(67294)),f=o(s(93967)),x=o(s(12502)),_=function(e){function t(e){var s;return(0,i.default)(this,t),(s=(0,a.default)(this,(0,c.default)(t).call(this,e))).state={targetItems:[],inViewState:[],isScrolledPast:[]},s._handleSpy=s._handleSpy.bind((0,u.default)(s)),s}return(0,d.default)(t,e),(0,p.default)(t,null,[{key:"propTypes",get:function(){return{items:h.default.arrayOf(h.default.string).isRequired,currentClassName:h.default.string.isRequired,scrolledPastClassName:h.default.string,style:h.default.object,componentTag:h.default.oneOfType([h.default.string,h.default.elementType]),offset:h.default.number,rootEl:h.default.string,onUpdate:h.default.func}}},{key:"defaultProps",get:function(){return{items:[],currentClassName:"",style:{},componentTag:"ul",offset:0,onUpdate:function(){}}}}]),(0,p.default)(t,[{key:"_initSpyTarget",value:function(e){return e.map(function(e){return document.getElementById(e)})}},{key:"_fillArray",value:function(e,t){for(var s=[],o=0,r=e.length;o<r;o++)s[o]=t;return s}},{key:"_isScrolled",value:function(){return this._getScrollDimension().scrollTop>0}},{key:"_getScrollDimension",value:function(){var e=document,t=this.props.rootEl;return{scrollTop:t?e.querySelector(t).scrollTop:e.documentElement.scrollTop||e.body.parentNode.scrollTop||e.body.scrollTop,scrollHeight:t?e.querySelector(t).scrollHeight:e.documentElement.scrollHeight||e.body.parentNode.scrollHeight||e.body.scrollHeight}}},{key:"_getElemsViewState",value:function(e){for(var t=[],s=[],o=[],r=e||this.state.targetItems,n=!1,i=0,a=r.length;i<a;i++){var c=r[i],u=!n&&this._isInView(c);u?(n=!0,t.push(c)):s.push(c);var p=i===a-1,d=this._isScrolled();this._isAtBottom()&&this._isInView(c)&&!u&&p&&d&&(s.pop(),s.push.apply(s,(0,l.default)(t)),t=[c],o=this._fillArray(o,!1),u=!0),o.push(u)}return{inView:t,outView:s,viewStatusList:o,scrolledPast:this.props.scrolledPastClassName&&this._getScrolledPast(o)}}},{key:"_isInView",value:function(e){if(!e)return!1;var t,s=this.props,o=s.rootEl,r=s.offset;o&&(t=document.querySelector(o).getBoundingClientRect());var n=e.getBoundingClientRect(),l=o?t.height:window.innerHeight,i=this._getScrollDimension().scrollTop,a=o?n.top+i-t.top+r:n.top+i+r,c=a+e.offsetHeight;return a<i+l&&c>i}},{key:"_isAtBottom",value:function(){var e=this.props.rootEl,t=this._getScrollDimension(),s=t.scrollTop,o=t.scrollHeight;return s+(e?document.querySelector(e).getBoundingClientRect().height:window.innerHeight)>=o}},{key:"_getScrolledPast",value:function(e){if(!e.some(function(e){return e}))return e;var t=!1;return e.map(function(e){return e&&!t?(t=!0,!1):!t})}},{key:"_spy",value:function(e){var t=this,s=this._getElemsViewState(e),o=this.state.inViewState;this.setState({inViewState:s.viewStatusList,isScrolledPast:s.scrolledPast},function(){t._update(o)})}},{key:"_update",value:function(e){var t;(t=this.state.inViewState).length===e.length&&t.every(function(t,s){return t===e[s]})||this.props.onUpdate(this.state.targetItems[this.state.inViewState.indexOf(!0)])}},{key:"_handleSpy",value:function(){(0,x.default)(this._spy(),100)}},{key:"_initFromProps",value:function(){var e=this._initSpyTarget(this.props.items);this.setState({targetItems:e}),this._spy(e)}},{key:"offEvent",value:function(){(this.props.rootEl?document.querySelector(this.props.rootEl):window).removeEventListener("scroll",this._handleSpy)}},{key:"onEvent",value:function(){(this.props.rootEl?document.querySelector(this.props.rootEl):window).addEventListener("scroll",this._handleSpy)}},{key:"componentDidMount",value:function(){this._initFromProps(),this.onEvent()}},{key:"componentWillUnmount",value:function(){this.offEvent()}},{key:"UNSAFE_componentWillReceiveProps",value:function(){this._initFromProps()}},{key:"render",value:function(){var e=this,t=this.props.componentTag,s=this.props,o=s.children,l=s.className,i=s.scrolledPastClassName,a=s.style,c=0,u=m.default.Children.map(o,function(t,s){if(!t)return null;var o,l=t.type,a=i&&e.state.isScrolledPast[s],u=(0,f.default)((o={},(0,n.default)(o,"".concat(t.props.className),t.props.className),(0,n.default)(o,"".concat(e.props.currentClassName),e.state.inViewState[s]),(0,n.default)(o,"".concat(e.props.scrolledPastClassName),a),o));return m.default.createElement(l,(0,r.default)({}
3,t.props,{className:u,key:c++}),t.props.children)}),p=(0,f.default)((0,n.default)({},"".concat(l),l));return m.default.createElement(t,{className:p,style:a},u)}}]),t}(m.default.Component);t.Z=_},12502:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,t.default=function(e){var t,s,o=arguments.length>1&&void 0!==arguments[1]?arguments[1]:100;return function(){var r=+new Date;t&&r<t+o?(clearTimeout(s),s=setTimeout(function(){t=r,e()},o)):(t=r,e())}}},30523:function(e){e.exports={polyfill:function(){var e,t=window,s=document;if(!("scrollBehavior"in s.documentElement.style)||!0===t.__forceSmoothScrollPolyfill__){var o=t.HTMLElement||t.Element,r={scroll:t.scroll||t.scrollTo,scrollBy:t.scrollBy,elementScroll:o.prototype.scroll||i,scrollIntoView:o.prototype.scrollIntoView},n=t.performance&&t.performance.now?t.performance.now.bind(t.performance):Date.now,l=(e=t.navigator.userAgent,RegExp("MSIE |Trident/|Edge/").test(e))?1:0;t.scroll=t.scrollTo=function(){if(void 0!==arguments[0]){if(!0===a(arguments[0])){r.scroll.call(t,void 0!==arguments[0].left?arguments[0].left:"object"!=typeof arguments[0]?arguments[0]:t.scrollX||t.pageXOffset,void 0!==arguments[0].top?arguments[0].top:void 0!==arguments[1]?arguments[1]:t.scrollY||t.pageYOffset);return}p.call(t,s.body,void 0!==arguments[0].left?~~arguments[0].left:t.scrollX||t.pageXOffset,void 0!==arguments[0].top?~~arguments[0].top:t.scrollY||t.pageYOffset)}},t.scrollBy=function(){if(void 0!==arguments[0]){if(a(arguments[0])){r.scrollBy.call(t,void 0!==arguments[0].left?arguments[0].left:"object"!=typeof arguments[0]?arguments[0]:0,void 0!==arguments[0].top?arguments[0].top:void 0!==arguments[1]?arguments[1]:0);return}p.call(t,s.body,~~arguments[0].left+(t.scrollX||t.pageXOffset),~~arguments[0].top+(t.scrollY||t.pageYOffset))}},o.prototype.scroll=o.prototype.scrollTo=function(){if(void 0!==arguments[0]){if(!0===a(arguments[0])){if("number"==typeof arguments[0]&&void 0===arguments[1])throw SyntaxError("Value could not be converted");r.elementScroll.call(this,void 0!==arguments[0].left?~~arguments[0].left:"object"!=typeof arguments[0]?~~arguments[0]:this.scrollLeft,void 0!==arguments[0].top?~~arguments[0].top:void 0!==arguments[1]?~~arguments[1]:this.scrollTop);return}var e=arguments[0].left,t=arguments[0].top;p.call(this,this,void 0===e?this.scrollLeft:~~e,void 0===t?this.scrollTop:~~t)}},o.prototype.scrollBy=function(){if(void 0!==arguments[0]){if(!0===a(arguments[0])){r.elementScroll.call(this,void 0!==arguments[0].left?~~arguments[0].left+this.scrollLeft:~~arguments[0]+this.scrollLeft,void 0!==arguments[0].top?~~arguments[0].top+this.scrollTop:~~arguments[1]+this.scrollTop);return}this.scroll({left:~~arguments[0].left+this.scrollLeft,top:~~arguments[0].top+this.scrollTop,behavior:arguments[0].behavior})}},o.prototype.scrollIntoView=function(){if(!0===a(arguments[0])){r.scrollIntoView.call(this,void 0===arguments[0]||arguments[0]);return}var e=function(e){for(var t,o,r;e!==s.body&&!1===(o=c(t=e,"Y")&&u(t,"Y"),r=c(t,"X")&&u(t,"X"),o||r);)e=e.parentNode||e.host;return e}(this),o=e.getBoundingClientRect(),n=this.getBoundingClientRect();e!==s.body?(p.call(this,e,e.scrollLeft+n.left-o.left,e.scrollTop+n.top-o.top),"fixed"!==t.getComputedStyle(e).position&&t.scrollBy({left:o.left,top:o.top,behavior:"smooth"})):t.scrollBy({left:n.left,top:n.top,behavior:"smooth"})}}function i(e,t){this.scrollLeft=e,this.scrollTop=t}function a(e){if(null===e||"object"!=typeof e||void 0===e.behavior||"auto"===e.behavior||"instant"===e.behavior)return!0;if("object"==typeof e&&"smooth"===e.behavior)return!1;throw TypeError("behavior member of ScrollOptions "+e.behavior+" is not a valid value for enumeration ScrollBehavior.")}function c(e,t){return"Y"===t?e.clientHeight+l<e.scrollHeight:"X"===t?e.clientWidth+l<e.scrollWidth:void 0}function u(e,s){var o=t.getComputedStyle(e,null)["overflow"+s];return"auto"===o||"scroll"===o}function p(e,o,l){var a,c,u,p,d=n();e===s.body?(a=t,c=t.scrollX||t.pageXOffset,u=t.scrollY||t.pageYOffset,p=r.scroll):(a=e,c=e.scrollLeft,u=e.scrollTop,p=i),function e(s){var o,r,l,i=(n()-s.startTime)/468;o=.5*(1-Math.cos(Math.PI*(i=i>1?1:i))),r=s.startX+(s.x-s.startX)*o,l=s.startY+(s.y-s.startY)*o,s.method.call(s.scrollable,r,l),(r!==s.x||l!==s.y)&&t.requestAnimationFrame(e.bind(t,s))}({scrollable:a,method:p,startTime:d,startX:c,startY:u,x:o,y:l})}}}},73897:function(e){e.exports=function(e,t){(null==t||t>e.length)&&(t=e.length);for(var s=0,o=Array(t);s<t;s++)o[s]=e[s];return o},e.exports.__esModule=!0,e.exports.default=e.exports},63405:function(e,t,s){var o=s(73897);e.exports=function(e){if(Array.isArray(e))return o(e)},e.exports.__esModule=!0,e.exports.default=e.exports},79498:function(e){e.exports=function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)},e.exports.__esModule=!0,e.exports.default=e.exports},42281:function(e){e.exports=function(){throw TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")},e.exports.__esModule=!0,e.exports.default=e.exports}
3,861:function(e,t,s){var o=s(63405),r=s(79498),n=s(86116),l=s(42281);e.exports=function(e){return o(e)||r(e)||n(e)||l()},e.exports.__esModule=!0,e.exports.default=e.exports},86116:function(e,t,s){var o=s(73897);e.exports=function(e,t){if(e){if("string"==typeof e)return o(e,t);var s=({}).toString.call(e).slice(8,-1);return"Object"===s&&e.constructor&&(s=e.constructor.name),"Map"===s||"Set"===s?Array.from(e):"Arguments"===s||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(s)?o(e,t):void 0}},e.exports.__esModule=!0,e.exports.default=e.exports}},function(e){e.O(0,[92888,49774,40179],function(){return e(e.s=59106)}),_N_E=e.O()}]); 4//# sourceMappingURL=customers-41d29483da7651b6.js.map 5//# debugId=ae0efdc9-7a2d-5ace-a9d5-b7a01c592422
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.