PageSourceSearch

https://www.dartmouthrfc.com/static/js/39.1a87e6a4.chunk.js

js dartmouthrfc.com collected 2026-10-04 02:53:08 UTC 16,452 bytes, 3 lines download raw bytes

vendor: 4,236 bytes, lines 1-2
1/*! For license information please see 39.1a87e6a4.chunk.js.LICENSE.txt */
2(this.webpackJsonpoptimx_sports_client_website=this.webpackJsonpoptimx_sports_client_website||[]).push([[39],{339:function(e,t,r){"use strict";r.d(t,"a",(function(){return p}));var n,o=r(10),i=r(372),a=r.n(i),c=r(19),s=r(3);function l(){l=function(){return t};var e,t={},r=Object.prototype,n=r.hasOwnProperty,o=Object.defineProperty||function(e,t,r){e[t]=r.value},i="function"==typeof Symbol?Symbol:{},a=i.iterator||"@@iterator",c=i.asyncIterator||"@@asyncIterator",s=i.toStringTag||"@@toStringTag";function u(e,t,r){return Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{u({},"")}catch(e){u=function(e,t,r){return e[t]=r}}function p(e,t,r,n){var i=t&&t.prototype instanceof m?t:m,a=Object.create(i.prototype),c=new R(n||[]);return o(a,"_invoke",{value:k(e,r,c)}),a}function d(e,t,r){try{return{type:"normal",arg:e.call(t,r)}}catch(e){return{type:"throw",arg:e}}}t.wrap=p;var b="suspendedStart",h="executing",f="completed",j={};function m(){}function g(){}function x(){}var v={};u(v,a,(function(){return this}));var O=Object.getPrototypeOf,y=O&&O(O(F([])));y&&y!==r&&n.call(y,a)&&(v=y);var w=x.prototype=m.prototype=Object.create(v);function L(e){["next","throw","return"].forEach((function(t){u(e,t,(function(e){return this._invoke(t,e)}))}))}function N(e,t){function r(o,i,a,c){var s=d(e[o],e,i);if("throw"!==s.type){var l=s.arg,u=l.value;return u&&"object"==typeof u&&n.call(u,"__await")?t.resolve(u.__await).then((function(e){r("next",e,a,c)}),(function(e){r("throw",e,a,c)})):t.resolve(u).then((function(e){l.value=e,a(l)}),(function(e){return r("throw",e,a,c)}))}c(s.arg)}var i;o(this,"_invoke",{value:function(e,n){function o(){return new t((function(t,o){r(e,n,t,o)}))}return i=i?i.then(o,o):o()}})}function k(t,r,n){var o=b;return function(i,a){if(o===h)throw new Error("Generator is already running");if(o===f){if("throw"===i)throw a;return{value:e,done:!0}}for(n.method=i,n.arg=a;;){var c=n.delegate;if(c){var s=_(c,n);if(s){if(s===j)continue;return s}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(o===b)throw o=f,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);o=h;var l=d(t,r,n);if("normal"===l.type){if(o=n.done?f:"suspendedYield",l.arg===j)continue;return{value:l.arg,done:n.done}}"throw"===l.type&&(o=f,n.method="throw",n.arg=l.arg)}}}function _(t,r){var n=r.method,o=t.iterator[n];if(o===e)return r.delegate=null,"throw"===n&&t.iterator.return&&(r.method="return",r.arg=e,_(t,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+n+"' method")),j;var i=d(o,t.iterator,r.arg);if("throw"===i.type)return r.method="throw",r.arg=i.arg,r.delegate=null,j;var a=i.arg;return a?a.done?(r[t.resultName]=a.value,r.next=t.nextLoc,"return"!==r.method&&(r.method="next",r.arg=e),r.delegate=null,j):a:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,j)}function E(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function P(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function R(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(E,this),this.reset(!0)}function F(t){if(t||""===t){var r=t[a];if(r)return r.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var o=-1,i=function r(){for(;++o<t.length;)if(n.call(t,o))return r.value=t[o],r.done=!1,r;return r.value=e,r.done=!0,r};return i.next=i}}throw new TypeError(typeof t+" is not iterable")}return g.prototype=x,o(w,"constructor",{value:x,configurable:!0}),o(x,"constructor",{value:g,configurable:!0}),g.displayName=u(x,s,"GeneratorFunction"),t.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===g||"GeneratorFunction"===(t.displayName||t.name))},t.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,x):(e.__proto__=x,u(e,s,"GeneratorFunction")),e.prototype=Object.create(w),e},t.awrap=function(e){return{__await:e}},L(N.prototype),u(N.prototype,c,(function(){return this})),t.AsyncIterator=N,t.async=function(e,r,n,o,i){void 0===i&&(i=Prom
2ise);var a=new N(p(e,r,n,o),i);return t.isGeneratorFunction(r)?a:a.next().then((function(e){return e.done?e.value:a.next()}))},L(w),u(w,s,"Generator"),u(w,a,(function(){return this})),u(w,"toString",(function(){return"[object Generator]"})),t.keys=function(e){var t=Object(e),r=[];for(var n in t)r.push(n);return r.reverse(),function e(){for(;r.length;){var n=r.pop();if(n in t)return e.value=n,e.done=!1,e}return e.done=!0,e}},t.values=F,R.prototype={constructor:R,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=e,this.done=!1,this.delegate=null,this.method="next",this.arg=e,this.tryEntries.forEach(P),!t)for(var r in this)"t"===r.charAt(0)&&n.call(this,r)&&!isNaN(+r.slice(1))&&(this[r]=e)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var r=this;function o(n,o){return c.type="throw",c.arg=t,r.next=n,o&&(r.method="next",r.arg=e),!!o}for(var i=this.tryEntries.length-1;i>=0;--i){var a=this.tryEntries[i],c=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var s=n.call(a,"catchLoc"),l=n.call(a,"finallyLoc");if(s&&l){if(this.prev<a.catchLoc)return o(a.catchLoc,!0);if(this.prev<a.finallyLoc)return o(a.finallyLoc)}else if(s){if(this.prev<a.catchLoc)return o(a.catchLoc,!0)}else{if(!l)throw new Error("try statement without catch or finally");if(this.prev<a.finallyLoc)return o(a.finallyLoc)}}}},abrupt:function(e,t){for(var r=this.tryEntries.length-1;r>=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev<o.finallyLoc){var i=o;break}}i&&("break"===e||"continue"===e)&&i.tryLoc<=t&&t<=i.finallyLoc&&(i=null);var a=i?i.completion:{};return a.type=e,a.arg=t,i?(this.method="next",this.next=i.finallyLoc,j):this.complete(a)},complete:function(e,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&t&&(this.next=t),j},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.finallyLoc===e)return this.complete(r.completion,r.afterLoc),P(r),j}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.tryLoc===e){var n=r.completion;if("throw"===n.type){var o=n.arg;P(r)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(t,r,n){return this.delegate={iterator:F(t),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=e),j}},t}var u="AIzaSyAa1pnlMThdQti9R3EAnvIRBxS3wz_kczA",p=function(e,t){return(n=n||Object(o.a)(l().mark((function e(t,r){var n,o;return l().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(e.prev=0,Object(s.f)(t)){e.next=3;break}return e.abrupt("return");case 3:return n="".concat(t.substring(0,1),"U").concat(t.substring(2)),e.next=6,a()({method:"get",url:"https://www.googleapis.com/youtube/v3/playlistItems",params:{part:"snippet",maxResults:12,key:u,playlistId:n,order:"date"}});case 6:o=e.sent,r({type:"setVideos",videos:o.data.items.map((function(e){return{title:e.snippet.title,url:"https://youtube.com/watch?v=".concat(e.snippet.resourceId.videoId)}}))}),e.next=14;break;case 10:e.prev=10,e.t0=e.catch(0),Object(c.e)("Error loading youtube videos"),r({type:"setVideos",videos:[]});case 14:case"end":return e.stop()}}),e,null,[[0,10]])})))).apply(this,arguments)}},340:function(e,t,r){"use strict";var n=r(0),o=r(253),i=r(117),a=r(255),c=r(254),s=r(329),l=r.n(s),u=r(22),p=r(20),d=(r(341),r(3)),b=r(1);t.a=function(e){var t=e.open,r=e.title,s=e.url,h=e.onCancel,f=Object(n.useContext)(p.b).globalState;return Object(b.jsx)("div",{children:Object(b.jsxs)(o.a,{className:"pop-up",onClose:h,open:t,fullWidth:!0,maxWidth:"lg",children:[Object(b.jsxs)("div",{className:"pop-up-title pop-up-title-socials-video p-l-20px p-r-20px font-size-2xl text-white",style:Object(u.g)(f),children:[Object(b.jsxs)("div",{className:"pop-up-title-title pop-up-title-title-socials-video",children:[Object(d.d)(f.silhouetteLogo)&&Object(d.f)(f.silhouetteLogo.logo4)?Object(b.jsx)("img",{className:"",src:f.silhouetteLogo.logo4,alt:Object(d.f)(f.teamName)?f.teamName:"Team Logo"}):null,Object(b.jsx)("p",{children:r})]}),Object(b.jsx)(i.a,{onClick:h,children:Object(b.jsx)(c.a,{className:"pop-up-title-close"})})]}),Object(b.jsx)(a.a,{className:"pop-up-content pop-up-content-socials-video",children:Object(b.jsx)(l.a,{className:"",url:s,controls:!0,playing:!0,width:"100%",height:"100%"})})]})})}},341:function(e,t,r){},365:function(e,t,r){"use strict";var n=r(23),o=r(4),i=r(0),a=(r(366),r(329)),c=r.n(a),s=r(314),l=r(130),u=r(139),p=r(140),d=r(14
21),b=r(142),h=r(143),f=r(20),j=r(95),m=r(3),g=r(19),x=r(340),v=r(339),O=r(1),y={videos:[],videoRows:1,showVideoPopup:!1,videoTitle:"",videoURL:""};function w(e,t){switch(t.type){case"setVideos":return Object(o.a)(Object(o.a)({},e),{},{videos:t.videos});case"addMoreVideos":return Object(o.a)(Object(o.a)({},e),{},{videoRows:e.videoRows+1});case"showVideoPopup":return Object(o.a)(Object(o.a)({},e),{},{showVideoPopup:!0,videoTitle:t.title,videoURL:t.url});case"hideVideoPopup":return Object(o.a)(Object(o.a)({},e),{},{showVideoPopup:!1,videoTitle:t.title,videoURL:t.url});default:return y}}var L=function(){var e=Object(i.useReducer)(w,y),t=Object(n.a)(e,2),r=t[0],o=t[1],a=Object(i.useContext)(f.b).globalState;Object(i.useEffect)((function(){Object(m.d)(window)&&Object(m.d)(window.FB)&&Object(m.d)(window.FB.XFBML)&&window.FB.XFBML.parse(),Object(m.d)(a)&&Object(m.d)(a.socials)&&Object(m.f)(a.socials.youtubeURL)&&Object(v.a)(Object(j.r)(a.socials.youtubeURL),o)}),[a]);return Object(O.jsxs)(O.Fragment,{children:[Object(O.jsx)(l.a,{children:Object(m.d)(a)&&Object(m.d)(a.socials)&&Object(m.f)(a.socials.instagramWidget)?Object(s.a)(a.socials.instagramWidget):null}),Object(O.jsxs)("div",{className:"socials-component2-container full-width bg-lightsilver p-t-20px p-b-0 curve-border-20px",children:[Object(O.jsxs)("div",{className:"socials-component2-buttons m-b-50px",children:[Object(m.d)(a)&&Object(m.d)(a.socials)&&Object(m.f)(a.socials.twitterURL)?Object(O.jsx)("div",{className:"socials-component2-button-container",children:Object(O.jsxs)("a",{className:"socials-component2-button text-gray text-no-underline font-size-m text-uppercase p-l-15px p-r-15px",href:"https://twitter.com/intent/follow?&ref_src=twsrc%5Etfw&screen_name=".concat(Object(j.p)(a.socials.twitterURL),"&tw_p=followbutton"),target:"_blank",rel:"noreferrer",children:[Object(O.jsx)("img",{src:d.a,alt:"Follow on Twitter"}),"Follow"]})}):null,Object(m.d)(a)&&Object(m.d)(a.socials)&&Object(m.f)(a.socials.youtubeURL)?Object(O.jsx)("div",{className:"socials-component2-button-container",children:Object(O.jsxs)("a",{className:"socials-component2-button text-gray text-no-underline font-size-m text-uppercase p-l-15px p-r-15px",href:"".concat(a.socials.youtubeURL,"?sub_confirmation=1&feature=subscribe-embed-click"),target:"_blank",rel:"noreferrer",children:[Object(O.jsx)("img",{className:"youtube",src:p.a,alt:"Subscribe on Youtube"}),"Subscribe"]})}):null,Object(m.d)(a)&&Object(m.d)(a.socials)&&Object(m.f)(a.socials.facebookURL)?Object(O.jsx)("div",{className:"socials-component2-button-container",children:Object(O.jsxs)("a",{className:"socials-component2-button text-gray text-no-underline font-size-m text-uppercase p-l-15px p-r-15px",href:a.socials.facebookURL,target:"_blank",rel:"noreferrer",children:[Object(O.jsx)("img",{src:b.a,alt:"Like on Facebook"}),"Like"]})}):null,Object(m.d)(a)&&Object(m.d)(a.socials)&&Object(m.f)(a.socials.instagramURL)?Object(O.jsx)("div",{className:"socials-component2-button-container",children:Object(O.jsxs)("a",{className:"socials-component2-button text-gray text-no-underline font-size-m text-uppercase p-l-15px p-r-15px",href:a.socials.instagramURL,target:"_blank",rel:"noreferrer",children:[Object(O.jsx)("img",{src:u.a,alt:"Follow on Instagram"}),"Follow"]})}):null,Object(m.d)(a)&&Object(m.d)(a.socials)&&Object(m.f)(a.socials.tiktokURL)?Object(O.jsx)("div",{className:"socials-component2-button-container",children:Object(O.jsxs)("a",{className:"socials-component2-button text-gray text-no-underline font-size-m text-uppercase p-l-15px p-r-15px",href:a.socials.tiktokURL,target:"_blank",rel:"noreferrer",children:[Object(O.jsx)("img",{src:h.a,alt:"Follow on TikTok"}),"Follow"]})}):null]}),r.videos.length>0?Object(O.jsxs)("div",{className:"socials-component2-widget socials-component2-videos m-b-50px",children:[Object(O.jsxs)("div",{className:"socials-component2-widget-title full-width m-t-10px p-l-30px m-b-10px",children:[Object(O.jsx)("img",{className:"icon m-r-20px",src:p.a,alt:"Youtube Videos"}),Object(O.jsx)("p",{className:"font-size-2xl m-t-0 m-b-0",children:"Videos"})]}),r.videos.slice(0,3).map((function(e){return Object(O.jsxs)("div",{className:"socials-component2-video",children:[Object(O.jsx)(c.a,{className:"socials-component2-video-player",url:e.url,controls:!0,width:"100%",height:"71%",pip:!0,light:!0,onClick:function(){o({type:"showVideoPopup",title:e.title,url:e.url}
2),Object(g.d)("homepage_video",{videoControl:"start"})}}),Object(O.jsx)("p",{className:"normal-font-family font-weight-500 font-size-s text-left-align",children:(t=e.title,t.length>70?"".concat(t.substr(0,70),"..."):t)})]},e.url);var t}))]}):null,Object(O.jsx)(x.a,{open:r.showVideoPopup,title:r.videoTitle,url:r.videoURL,onCancel:function(){o({type:"hideVideoPopup"})}})]})]})};t.a=Object(i.memo)(L)},366:function(e,t,r){},638:function(e,t,r){},703:function(e,t,r){"use strict";r.r(t);var n=r(0),o=r(19),i=r(100),a=r(3),c=r(41),s=r(20),l=r(346),u=r(364),p=r(311),d=(r(638),r(53)),b=r(365),h=r(451),f=r(336),j=r(381),m=r(382),g=r(1),x=function(e){var t=e.galleries,r=e.loadingSpinner,o=e.pagination,i=Object(n.useContext)(s.b).globalState;return Object(g.jsxs)(g.Fragment,{children:[Object(g.jsx)(p.a,{links:[{title:"Home",link:"/"}],lastCrumb:"Galleries",marginLeft:"100px"}),Object(g.jsxs)("div",{className:"galleries1-container-container x-center p-t-20px p-b-20px p-l-50px p-r-50px m-b-20px",children:[Object(g.jsx)(f.a,{title:"Galleries"}),Object(g.jsxs)("div",{className:"galleries1-container m-t-0",children:[Object(g.jsxs)("div",{className:"galleries1-galleries-container",children:[Object(g.jsx)("h2",{className:"font-size-3xl m-t-0 m-b-20px text-uppercase",children:"All Galleries"}),r?Object(g.jsx)(d.a,{color:i.websiteStyles.colors.primaryColor}):Object(g.jsxs)(g.Fragment,{children:[t.length>0?Object(g.jsx)("div",{className:"galleries1-galleries full-width",children:t.map((function(e){return Object(g.jsx)("div",{className:"galleries1-gallery m-l-0 m-r-20px m-b-20px",children:Object(g.jsx)(h.a,{gallery:e})},e.id)}))}):Object(g.jsx)(j.a,{text:"No Galleries Available"}),!r&&o?Object(g.jsx)(m.a,{currentPage:o.currentPage,loadedPageCount:o.loadedPageCount,hasMore:o.hasMore,loading:o.loading,onGoToPage:o.onGoToPage,onNext:o.onNext,onPrev:o.onPrev}):null]})]}),Object(g.jsxs)("div",{className:"galleries1-socials",children:[Object(g.jsx)("h2",{className:"font-size-3xl m-t-0 m-b-20px text-uppercase",children:"Social"}),Object(g.jsx)(b.a,{})]})]})]})]})};x.defaultProps={pagination:null};var v=Object(n.memo)(x),O=r(85),y=r(310),w=function(){var e=Object(n.useContext)(s.b).globalState;Object(n.useEffect)((function(){Object(o.n)(e,"Galleries")}),[e]);var t=Object(n.useCallback)((function(t){return Object(l.b)(e.accountId,t,u.a)}),[e.accountId]),r=Object(n.useCallback)((function(t){return t.id!==Object(c.a)(e.accountId)&&t.photoIds&&t.photoIds.length>0}),[e.accountId]),p=Object(u.c)({fetchPage:t,filterFn:r,resetKey:e.accountId,enabled:Object(a.d)(e.accountId)}),d=Object(u.b)(p);return Object(g.jsxs)(g.Fragment,{children:[Object(g.jsx)(y.a,{title:Object(O.c)("Galleries",e),pageTitle:"Galleries",description:Object(O.a)("Check out our galleries",e),keywords:Object(O.b)("Galleries",e)}),Object(a.d)(e)&&Object(a.d)(e.websiteStyles)&&e.websiteStyles.design.galleries===i.a.DESIGN_1?Object(g.jsx)(v,{galleries:p.pageItems,loadingSpinner:p.loading&&1===p.currentPage,pagination:d}):null]})};t.default=Object(n.memo)(w)}}]);
3//# sourceMappingURL=39.1a87e6a4.chunk.js.map

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.