PageSourceSearch

https://www.huskerhockey.com/static/js/7.dab47e80.chunk.js

js huskerhockey.com collected 2026-10-05 09:49:22 UTC 10,775 bytes, 3 lines download raw bytes

1/*! For license information please see 7.dab47e80.chunk.js.LICENSE.txt */
2(this.webpackJsonpoptimx_sports_client_website=this.webpackJsonpoptimx_sports_client_website||[]).push([[7],{325:function(t,e,r){"use strict";r.d(e,"d",(function(){return x})),r.d(e,"c",(function(){return O})),r.d(e,"b",(function(){return L})),r.d(e,"a",(function(){return j}));var n,o,i,a,c=r(4),u=r(10),s=r(19),l=r(14),f=r(135),h=r(2),v=r(335),p=r(57),d=r(18),y=function(){return d.b.collection("events")},g=function(t){return function(t){return y().doc(t)}(t).get()},m=function(t,e){return Object(p.a)("events-limited-upcoming|".concat(t,"|").concat(e),(function(){var r=new Date;return r.setHours(0),r.setMinutes(0),r.setSeconds(0),y().where("teamId","==",t).where("published","==",!0).where("eventType","==",v.a.EVENT).where("timeOfEvent",">=",r).orderBy("timeOfEvent").limit(e).get()}))},w=function(t,e,r,n,o){var i=new Date;i.setHours(0),i.setMinutes(0),i.setSeconds(0);var a=y().where("teamId","==",t).where("published","==",!0);return null!==e&&void 0!==e&&(a=a.where("eventType","==",e)),a="upcoming"===r?a.where("timeOfEvent",">=",i).orderBy("timeOfEvent"):a.where("timeOfEvent","<=",i).orderBy("timeOfEvent","desc"),n&&(a=a.startAfter(n)),a.limit(o+1).get()},b=r(136);function E(){E=function(){return e};var t,e={},r=Object.prototype,n=r.hasOwnProperty,o=Object.defineProperty||function(t,e,r){t[e]=r.value},i="function"==typeof Symbol?Symbol:{},a=i.iterator||"@@iterator",c=i.asyncIterator||"@@asyncIterator",u=i.toStringTag||"@@toStringTag";function s(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{s({},"")}catch(t){s=function(t,e,r){return t[e]=r}}function l(t,e,r,n){var i=e&&e.prototype instanceof y?e:y,a=Object.create(i.prototype),c=new N(n||[]);return o(a,"_invoke",{value:T(t,r,c)}),a}function f(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}e.wrap=l;var h="suspendedStart",v="executing",p="completed",d={};function y(){}function g(){}function m(){}var w={};s(w,a,(function(){return this}));var b=Object.getPrototypeOf,x=b&&b(b(P([])));x&&x!==r&&n.call(x,a)&&(w=x);var O=m.prototype=y.prototype=Object.create(w);function L(t){["next","throw","return"].forEach((function(e){s(t,e,(function(t){return this._invoke(e,t)}))}))}function j(t,e){function r(o,i,a,c){var u=f(t[o],t,i);if("throw"!==u.type){var s=u.arg,l=s.value;return l&&"object"==typeof l&&n.call(l,"__await")?e.resolve(l.__await).then((function(t){r("next",t,a,c)}),(function(t){r("throw",t,a,c)})):e.resolve(l).then((function(t){s.value=t,a(s)}),(function(t){return r("throw",t,a,c)}))}c(u.arg)}var i;o(this,"_invoke",{value:function(t,n){function o(){return new e((function(e,o){r(t,n,e,o)}))}return i=i?i.then(o,o):o()}})}function T(e,r,n){var o=h;return function(i,a){if(o===v)throw new Error("Generator is already running");if(o===p){if("throw"===i)throw a;return{value:t,done:!0}}for(n.method=i,n.arg=a;;){var c=n.delegate;if(c){var u=_(c,n);if(u){if(u===d)continue;return u}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(o===h)throw o=p,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);o=v;var s=f(e,r,n);if("normal"===s.type){if(o=n.done?p:"suspendedYield",s.arg===d)continue;return{value:s.arg,done:n.done}}"throw"===s.type&&(o=p,n.method="throw",n.arg=s.arg)}}}function _(e,r){var n=r.method,o=e.iterator[n];if(o===t)return r.delegate=null,"throw"===n&&e.iterator.return&&(r.method="return",r.arg=t,_(e,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+n+"' method")),d;var i=f(o,e.iterator,r.arg);if("throw"===i.type)return r.method="throw",r.arg=i.arg,r.delegate=null,d;var a=i.arg;return a?a.done?(r[e.resultName]=a.value,r.next=e.nextLoc,"return"!==r.method&&(r.method="next",r.arg=t),r.delegate=null,d):a:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,d)}function k(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function I(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function N(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(k,this),this.reset(!0)}function P(e){if(e||""===e){var r=e[a];if(r)return r.call(e);
2if("function"==typeof e.next)return e;if(!isNaN(e.length)){var o=-1,i=function r(){for(;++o<e.length;)if(n.call(e,o))return r.value=e[o],r.done=!1,r;return r.value=t,r.done=!0,r};return i.next=i}}throw new TypeError(typeof e+" is not iterable")}return g.prototype=m,o(O,"constructor",{value:m,configurable:!0}),o(m,"constructor",{value:g,configurable:!0}),g.displayName=s(m,u,"GeneratorFunction"),e.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===g||"GeneratorFunction"===(e.displayName||e.name))},e.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,m):(t.__proto__=m,s(t,u,"GeneratorFunction")),t.prototype=Object.create(O),t},e.awrap=function(t){return{__await:t}},L(j.prototype),s(j.prototype,c,(function(){return this})),e.AsyncIterator=j,e.async=function(t,r,n,o,i){void 0===i&&(i=Promise);var a=new j(l(t,r,n,o),i);return e.isGeneratorFunction(r)?a:a.next().then((function(t){return t.done?t.value:a.next()}))},L(O),s(O,u,"Generator"),s(O,a,(function(){return this})),s(O,"toString",(function(){return"[object Generator]"})),e.keys=function(t){var e=Object(t),r=[];for(var n in e)r.push(n);return r.reverse(),function t(){for(;r.length;){var n=r.pop();if(n in e)return t.value=n,t.done=!1,t}return t.done=!0,t}},e.values=P,N.prototype={constructor:N,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=t,this.done=!1,this.delegate=null,this.method="next",this.arg=t,this.tryEntries.forEach(I),!e)for(var r in this)"t"===r.charAt(0)&&n.call(this,r)&&!isNaN(+r.slice(1))&&(this[r]=t)},stop:function(){this.done=!0;var t=this.tryEntries[0].completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var r=this;function o(n,o){return c.type="throw",c.arg=e,r.next=n,o&&(r.method="next",r.arg=t),!!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 u=n.call(a,"catchLoc"),s=n.call(a,"finallyLoc");if(u&&s){if(this.prev<a.catchLoc)return o(a.catchLoc,!0);if(this.prev<a.finallyLoc)return o(a.finallyLoc)}else if(u){if(this.prev<a.catchLoc)return o(a.catchLoc,!0)}else{if(!s)throw new Error("try statement without catch or finally");if(this.prev<a.finallyLoc)return o(a.finallyLoc)}}}},abrupt:function(t,e){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"===t||"continue"===t)&&i.tryLoc<=e&&e<=i.finallyLoc&&(i=null);var a=i?i.completion:{};return a.type=t,a.arg=e,i?(this.method="next",this.next=i.finallyLoc,d):this.complete(a)},complete:function(t,e){if("throw"===t.type)throw t.arg;return"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):"normal"===t.type&&e&&(this.next=e),d},finish:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),I(r),d}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;I(r)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:P(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),d}},e}var x=function(t,e,r,o){return(n=n||Object(u.a)(E().mark((function t(e,r,n,o){var i;return E().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return i=[],t.prev=1,t.next=4,m(e,r);case 4:t.sent.forEach((function(t){t.exists&&i.push(Object(c.a)({},t.data()))})),n({type:"fetchUpcomingEvents",events:i}),t.next=13;break;case 9:t.prev=9,t.t0=t.catch(1),Object(s.e)(l.t),h.c&&(o(l.t,{variant:"error"}),console.log(t.t0));case 13:case"end":return t.stop()}}),t,null,[[1,9]])})))).apply(this,arguments)},O=function(t,e,r,n,i){return(o=o||Object(u.a)(E().mark((function t(e,r,n,o,i){var a;return E().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,w(e,r,n,o,i);case 2:return a=t.sent,t.abrupt("return",Object(b.a)(a,i,o));case 4:case"end":return t.stop()}}),t)})))).apply(this,arguments)},L=function(t,e,r){return(i=i||Object(u.a)(E().mark((function t(e,r,n){var o,i;return E().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.prev=0,t.next=3,g(e);case 3:(o=t.sent).exists&&null!==o.data()&&void 0!==o.data()?(i=o.data(),r({type:"fetchEventTitle",title:null===i||void 0===i?void 0:i.title,eventType:null===i||void 0===i?void 0:i.eventType})):(Object(s.e)(l.l),r({type:"setError"}),h.c&&n(l.l,{variant:"error"})),t.next=12;break;case 7:t.prev=7,t.t0=t.catch(0),Object(s.e)(l.u),r({type:"setError"}),h.c&&(n(l.u,{variant:"error"}),console.log(t.t0));case 12:case"end":return t.stop()}}),t,null,[[0,7]])})))).apply(this,arguments)},j=function(t,e,r,n){return(a=a||Object(u.a)(E().mark((function t(e,r,n,o){var i,a,c;return E().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.prev=0,t.next=3,g(r);case 3:if(!(i=t.sent).exists||null===i.data()||void 0===i.data()){t.next=12;break}return a=i.data(),t.next=8,Object(f.a)(null===a||void 0===a?void 0:a.tagIds,null===a||void 0===a?void 0:a.tagReferences,null===a||void 0===a?void 0:a.tagTypes,e);case 8:c=t.sent,n({type:"fetchEvent",title:null===a||void 0===a?void 0:a.title,featureImage:null===a||void 0===a?void 0:a.featureImage,timeOfEvent:null===a||void 0===a?void 0:a.timeOfEvent,endTimeOfEvent:null===a||void 0===a?void 0:a.endTimeOfEvent,venue:null===a||void 0===a?void 0:a.venue,notes:null===a||void 0===a?void 0:a.notes,tags:c,published:null===a||void 0===a?void 0:a.published,eventType:null===a||void 0===a?void 0:a.eventType,seasonId:null===a||void 0===a?void 0:a.seasonId,articleId:null===a||void 0===a?void 0:a.articleId,galleryId:null===a||void 0===a?void 0:a.galleryId}),t.next=15;break;case 12:Object(s.e)(l.l),n({type:"setError"}),h.c&&o(l.l,{variant:"error"});case 15:t.next=22;break;case 17:t.prev=17,t.t0=t.catch(0),Object(s.e)(l.u),n({type:"setError"}),h.c&&(o(l.u,{variant:"error"}),console.log(t.t0));case 22:case"end":return t.stop()}}),t,null,[[0,17]])})))).apply(this,arguments)}},335:function(t,e,r){"use strict";var n;r.d(e,"a",(function(){return n})),function(t){t[t.NONE=0]="NONE",t[t.PRACTICE=1]="PRACTICE",t[t.EVENT=2]="EVENT"}(n||(n={}))}}]);
3//# sourceMappingURL=7.dab47e80.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.