diff --git a/asset-manifest.json b/asset-manifest.json index aa7c281..5d57328 100644 --- a/asset-manifest.json +++ b/asset-manifest.json @@ -1,7 +1,7 @@ { "files": { "main.css": "/static/css/main.e455d890.css", - "main.js": "/static/js/main.d5f543b0.js", + "main.js": "/static/js/main.ced1af5a.js", "static/js/512.32f22b6d.chunk.js": "/static/js/512.32f22b6d.chunk.js", "static/media/RoadUA-Light.woff": "/static/media/RoadUA-Light.ff7edaf3b41795bbf074.woff", "static/media/RoadUA-Medium.woff": "/static/media/RoadUA-Medium.0657c6f9ceec531ba708.woff", @@ -57,11 +57,11 @@ "static/media/Metropolis-Thin.woff2": "/static/media/Metropolis-Thin.3626610e49c586c16bb6.woff2", "index.html": "/index.html", "main.e455d890.css.map": "/static/css/main.e455d890.css.map", - "main.d5f543b0.js.map": "/static/js/main.d5f543b0.js.map", + "main.ced1af5a.js.map": "/static/js/main.ced1af5a.js.map", "512.32f22b6d.chunk.js.map": "/static/js/512.32f22b6d.chunk.js.map" }, "entrypoints": [ "static/css/main.e455d890.css", - "static/js/main.d5f543b0.js" + "static/js/main.ced1af5a.js" ] } \ No newline at end of file diff --git a/index.html b/index.html index 46de58a..332b138 100644 --- a/index.html +++ b/index.html @@ -1 +1 @@ -Is it Week A?
\ No newline at end of file +Is it Week A?
\ No newline at end of file diff --git a/static/js/main.d5f543b0.js b/static/js/main.ced1af5a.js similarity index 94% rename from static/js/main.d5f543b0.js rename to static/js/main.ced1af5a.js index ea94148..b9f1ab0 100644 --- a/static/js/main.d5f543b0.js +++ b/static/js/main.ced1af5a.js @@ -1,3 +1,3 @@ -/*! For license information please see main.d5f543b0.js.LICENSE.txt */ -!function(){var e={489:function(e,t){var n;!function(){"use strict";var r={}.hasOwnProperty;function o(){for(var e=[],t=0;t-1};function s(e){if("string"!==typeof e&&(e=String(e)),/[^a-z0-9\-#$%&'*+.^_`|~]/i.test(e))throw new TypeError("Invalid character in header field name");return e.toLowerCase()}function c(e){return"string"!==typeof e&&(e=String(e)),e}function f(e){var t={next:function(){var t=e.shift();return{done:void 0===t,value:t}}};return r&&(t[Symbol.iterator]=function(){return t}),t}function d(e){this.map={},e instanceof d?e.forEach((function(e,t){this.append(t,e)}),this):Array.isArray(e)?e.forEach((function(e){this.append(e[0],e[1])}),this):e&&Object.getOwnPropertyNames(e).forEach((function(t){this.append(t,e[t])}),this)}function p(e){if(e.bodyUsed)return Promise.reject(new TypeError("Already read"));e.bodyUsed=!0}function h(e){return new Promise((function(t,n){e.onload=function(){t(e.result)},e.onerror=function(){n(e.error)}}))}function m(e){var t=new FileReader,n=h(t);return t.readAsArrayBuffer(e),n}function v(e){if(e.slice)return e.slice(0);var t=new Uint8Array(e.byteLength);return t.set(new Uint8Array(e)),t.buffer}function y(){return this.bodyUsed=!1,this._initBody=function(e){var t;this._bodyInit=e,e?"string"===typeof e?this._bodyText=e:o&&Blob.prototype.isPrototypeOf(e)?this._bodyBlob=e:a&&FormData.prototype.isPrototypeOf(e)?this._bodyFormData=e:n&&URLSearchParams.prototype.isPrototypeOf(e)?this._bodyText=e.toString():i&&o&&((t=e)&&DataView.prototype.isPrototypeOf(t))?(this._bodyArrayBuffer=v(e.buffer),this._bodyInit=new Blob([this._bodyArrayBuffer])):i&&(ArrayBuffer.prototype.isPrototypeOf(e)||u(e))?this._bodyArrayBuffer=v(e):this._bodyText=e=Object.prototype.toString.call(e):this._bodyText="",this.headers.get("content-type")||("string"===typeof e?this.headers.set("content-type","text/plain;charset=UTF-8"):this._bodyBlob&&this._bodyBlob.type?this.headers.set("content-type",this._bodyBlob.type):n&&URLSearchParams.prototype.isPrototypeOf(e)&&this.headers.set("content-type","application/x-www-form-urlencoded;charset=UTF-8"))},o&&(this.blob=function(){var e=p(this);if(e)return e;if(this._bodyBlob)return Promise.resolve(this._bodyBlob);if(this._bodyArrayBuffer)return Promise.resolve(new Blob([this._bodyArrayBuffer]));if(this._bodyFormData)throw new Error("could not read FormData body as blob");return Promise.resolve(new Blob([this._bodyText]))},this.arrayBuffer=function(){return this._bodyArrayBuffer?p(this)||Promise.resolve(this._bodyArrayBuffer):this.blob().then(m)}),this.text=function(){var e=p(this);if(e)return e;if(this._bodyBlob)return function(e){var t=new FileReader,n=h(t);return t.readAsText(e),n}(this._bodyBlob);if(this._bodyArrayBuffer)return Promise.resolve(function(e){for(var t=new Uint8Array(e),n=new Array(t.length),r=0;r-1?t:e}(t.method||this.method||"GET"),this.mode=t.mode||this.mode||null,this.signal=t.signal||this.signal,this.referrer=null,("GET"===this.method||"HEAD"===this.method)&&n)throw new TypeError("Body not allowed for GET or HEAD requests");this._initBody(n)}function w(e){var t=new FormData;return e.trim().split("&").forEach((function(e){if(e){var n=e.split("="),r=n.shift().replace(/\+/g," "),o=n.join("=").replace(/\+/g," ");t.append(decodeURIComponent(r),decodeURIComponent(o))}})),t}function k(e){var t=new d;return e.replace(/\r?\n[\t ]+/g," ").split(/\r?\n/).forEach((function(e){var n=e.split(":"),r=n.shift().trim();if(r){var o=n.join(":").trim();t.append(r,o)}})),t}function x(e,t){t||(t={}),this.type="default",this.status=void 0===t.status?200:t.status,this.ok=this.status>=200&&this.status<300,this.statusText="statusText"in t?t.statusText:"OK",this.headers=new d(t.headers),this.url=t.url||"",this._initBody(e)}b.prototype.clone=function(){return new b(this,{body:this._bodyInit})},y.call(b.prototype),y.call(x.prototype),x.prototype.clone=function(){return new x(this._bodyInit,{status:this.status,statusText:this.statusText,headers:new d(this.headers),url:this.url})},x.error=function(){var e=new x(null,{status:0,statusText:""});return e.type="error",e};var E=[301,302,303,307,308];x.redirect=function(e,t){if(-1===E.indexOf(t))throw new RangeError("Invalid status code");return new x(null,{status:t,headers:{location:e}})},t.DOMException=e.DOMException;try{new t.DOMException}catch(C){t.DOMException=function(e,t){this.message=e,this.name=t;var n=Error(e);this.stack=n.stack},t.DOMException.prototype=Object.create(Error.prototype),t.DOMException.prototype.constructor=t.DOMException}function S(e,n){return new Promise((function(r,a){var i=new b(e,n);if(i.signal&&i.signal.aborted)return a(new t.DOMException("Aborted","AbortError"));var l=new XMLHttpRequest;function u(){l.abort()}l.onload=function(){var e={status:l.status,statusText:l.statusText,headers:k(l.getAllResponseHeaders()||"")};e.url="responseURL"in l?l.responseURL:e.headers.get("X-Request-URL");var t="response"in l?l.response:l.responseText;r(new x(t,e))},l.onerror=function(){a(new TypeError("Network request failed"))},l.ontimeout=function(){a(new TypeError("Network request failed"))},l.onabort=function(){a(new t.DOMException("Aborted","AbortError"))},l.open(i.method,i.url,!0),"include"===i.credentials?l.withCredentials=!0:"omit"===i.credentials&&(l.withCredentials=!1),"responseType"in l&&o&&(l.responseType="blob"),i.headers.forEach((function(e,t){l.setRequestHeader(t,e)})),i.signal&&(i.signal.addEventListener("abort",u),l.onreadystatechange=function(){4===l.readyState&&i.signal.removeEventListener("abort",u)}),l.send("undefined"===typeof i._bodyInit?null:i._bodyInit)}))}S.polyfill=!0,e.fetch||(e.fetch=S,e.Headers=d,e.Request=b,e.Response=x),t.Headers=d,t.Request=b,t.Response=x,t.fetch=S,Object.defineProperty(t,"__esModule",{value:!0})}({})}(r),r.fetch.ponyfill=!0,delete r.fetch.polyfill;var o=r;(t=o.fetch).default=o.fetch,t.fetch=o.fetch,t.Headers=o.Headers,t.Request=o.Request,t.Response=o.Response,e.exports=t},720:function(e){"use strict";e.exports=function(e,t,n,r,o,a,i,l){if(!e){var u;if(void 0===t)u=new Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var s=[n,r,o,a,i,l],c=0;(u=new Error(t.replace(/%s/g,(function(){return s[c++]})))).name="Invariant Violation"}throw u.framesToPop=1,u}}},709:function(e){"use strict";var t=Object.getOwnPropertySymbols,n=Object.prototype.hasOwnProperty,r=Object.prototype.propertyIsEnumerable;e.exports=function(){try{if(!Object.assign)return!1;var e=new String("abc");if(e[5]="de","5"===Object.getOwnPropertyNames(e)[0])return!1;for(var t={},n=0;n<10;n++)t["_"+String.fromCharCode(n)]=n;if("0123456789"!==Object.getOwnPropertyNames(t).map((function(e){return t[e]})).join(""))return!1;var r={};return"abcdefghijklmnopqrst".split("").forEach((function(e){r[e]=e})),"abcdefghijklmnopqrst"===Object.keys(Object.assign({},r)).join("")}catch(o){return!1}}()?Object.assign:function(e,o){for(var a,i,l=function(e){if(null===e||void 0===e)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(e)}(e),u=1;u0&&void 0!==arguments[0]?arguments[0]:O,t=u().get(e);return void 0===t&&(t=u().get(C(e))),t},S=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:O;u().remove(e)},C=function(e){return"".concat(e,"-legacy")},O="CookieConsent",_=function(e){var t=e.condition,n=e.wrapper,r=e.children;return t?n(r):r},j=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&m(e,t)}(i,e);var n,r,o,a=(r=i,o=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,t=g(r);if(o){var n=g(this).constructor;e=Reflect.construct(t,arguments,n)}else e=t.apply(this,arguments);return v(this,e)});function i(e){var t;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,i),b(y(t=a.call(this,e)),"handleScroll",(function(){var e=t.props.acceptOnScrollPercentage,n=document.documentElement,r=document.body,o="scrollTop",a="scrollHeight";(n[o]||r[o])/((n[a]||r[a])-n.clientHeight)*100>e&&t.accept(!0)})),b(y(t),"removeScrollListener",(function(){t.props.acceptOnScroll&&window.removeEventListener("scroll",t.handleScroll)})),t.state={visible:!1,style:{alignItems:"baseline",background:"#353535",color:"white",display:"flex",flexWrap:"wrap",justifyContent:"space-between",left:"0",position:"fixed",width:"100%",zIndex:"999"},buttonStyle:{background:"#ffd42d",border:"0",borderRadius:"0px",boxShadow:"none",color:"black",cursor:"pointer",flex:"0 0 auto",padding:"5px 10px",margin:"15px"},declineButtonStyle:{background:"#c12a2a",border:"0",borderRadius:"0px",boxShadow:"none",color:"#e5e5e5",cursor:"pointer",flex:"0 0 auto",padding:"5px 10px",margin:"15px"},contentStyle:{flex:"1 0 300px",margin:"15px"},overlayStyle:{position:"fixed",left:0,top:0,width:"100%",height:"100%",zIndex:"999",backgroundColor:"rgba(0,0,0,0.3)"}},t}return(n=[{key:"componentDidMount",value:function(){var e=this.props.debug;(void 0===this.getCookieValue()||e)&&(this.setState({visible:!0}),this.props.acceptOnScroll&&window.addEventListener("scroll",this.handleScroll,{passive:!0}))}},{key:"componentWillUnmount",value:function(){this.removeScrollListener()}},{key:"accept",value:function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t=this.props,n=t.cookieName,r=t.cookieValue,o=t.hideOnAccept,a=t.onAccept;this.setCookie(n,r),a(null!=e&&e),o&&(this.setState({visible:!1}),this.removeScrollListener())}},{key:"overlayClick",value:function(){var e=this.props,t=e.acceptOnOverlayClick,n=e.onOverlayClick;t&&this.accept(),n()}},{key:"decline",value:function(){var e=this.props,t=e.cookieName,n=e.declineCookieValue,r=e.hideOnDecline,o=e.onDecline;e.setDeclineCookie&&this.setCookie(t,n),o(),r&&this.setState({visible:!1})}},{key:"setCookie",value:function(e,t){var n=this.props,r=n.extraCookieOptions,o=n.expires,a=n.sameSite,i=this.props.cookieSecurity;void 0===i&&(i=!location||"https:"===location.protocol);var l=p(p({expires:o},r),{},{sameSite:a,secure:i});a===k.NONE&&u().set(C(e),t,l),u().set(e,t,l)}},{key:"getCookieValue",value:function(){var e=this.props.cookieName;return E(e)}},{key:"render",value:function(){var e=this;switch(this.props.visible){case x.HIDDEN:return null;case x.BY_COOKIE_VALUE:if(!this.state.visible)return null}var n=this.props,r=n.location,o=n.style,a=n.buttonStyle,i=n.declineButtonStyle,l=n.contentStyle,u=n.disableStyles,s=n.buttonText,c=n.declineButtonText,d=n.containerClasses,h=n.contentClasses,m=n.buttonClasses,v=n.buttonWrapperClasses,y=n.declineButtonClasses,g=n.buttonId,b=n.declineButtonId,k=n.disableButtonStyles,E=n.enableDeclineButton,S=n.flipButtons,C=n.ButtonComponent,O=n.overlay,j=n.overlayClasses,N=n.overlayStyle,P=n.ariaAcceptLabel,T=n.ariaDeclineLabel,L=n.customContainerAttributes,R=n.customContentAttributes,D={},I={},A={},M={},z={};switch(u?(D=f({},o),I=f({},a),A=f({},i),M=f({},l),z=f({},N)):(D=f({},p(p({},this.state.style),o)),M=f({},p(p({},this.state.contentStyle),l)),z=f({},p(p({},this.state.overlayStyle),N)),k?(I=f({},a),A=f({},i)):(I=f({},p(p({},this.state.buttonStyle),a)),A=f({},p(p({},this.state.declineButtonStyle),i)))),r){case w.TOP:D.top="0";break;case w.BOTTOM:D.bottom="0"}var F=[];return E&&F.push(t().createElement(C,{key:"declineButton",style:A,className:y,id:b,"aria-label":T,onClick:function(){e.decline()}},c)),F.push(t().createElement(C,{key:"acceptButton",style:I,className:m,id:g,"aria-label":P,onClick:function(){e.accept()}},s)),S&&F.reverse(),t().createElement(_,{condition:O,wrapper:function(n){return t().createElement("div",{style:z,className:j,onClick:function(){e.overlayClick()}},n)}},t().createElement("div",f({className:"".concat(d),style:D},L),t().createElement("div",f({style:M,className:h},R),this.props.children),t().createElement("div",{className:"".concat(v)},F.map((function(e){return e})))))}}])&&h(i.prototype,n),i}(e.Component);j.propTypes={location:i().oneOf(Object.keys(w).map((function(e){return w[e]}))),visible:i().oneOf(Object.keys(x).map((function(e){return x[e]}))),sameSite:i().oneOf(Object.keys(k).map((function(e){return k[e]}))),style:i().object,buttonStyle:i().object,declineButtonStyle:i().object,contentStyle:i().object,children:i().any,disableStyles:i().bool,hideOnAccept:i().bool,hideOnDecline:i().bool,onAccept:i().func,onDecline:i().func,buttonText:i().oneOfType([i().string,i().func,i().element]),declineButtonText:i().oneOfType([i().string,i().func,i().element]),cookieName:i().string,cookieValue:i().oneOfType([i().string,i().bool,i().number]),declineCookieValue:i().oneOfType([i().string,i().bool,i().number]),setDeclineCookie:i().bool,debug:i().bool,expires:i().number,containerClasses:i().string,contentClasses:i().string,buttonClasses:i().string,buttonWrapperClasses:i().string,declineButtonClasses:i().string,buttonId:i().string,declineButtonId:i().string,extraCookieOptions:i().object,disableButtonStyles:i().bool,enableDeclineButton:i().bool,flipButtons:i().bool,ButtonComponent:i().elementType,cookieSecurity:i().bool,overlay:i().bool,overlayClasses:i().string,overlayStyle:i().object,onOverlayClick:i().func,acceptOnOverlayClick:i().bool,ariaAcceptLabel:i().string,ariaDeclineLabel:i().string,acceptOnScroll:i().bool,acceptOnScrollPercentage:i().number,customContentAttributes:i().object,customContainerAttributes:i().object},j.defaultProps={disableStyles:!1,hideOnAccept:!0,hideOnDecline:!0,location:w.BOTTOM,visible:x.BY_COOKIE_VALUE,onAccept:function(){},onDecline:function(){},cookieName:O,cookieValue:!0,declineCookieValue:!1,setDeclineCookie:!0,buttonText:"I understand",declineButtonText:"I decline",debug:!1,expires:365,containerClasses:"CookieConsent",contentClasses:"",buttonClasses:"",buttonWrapperClasses:"",declineButtonClasses:"",buttonId:"rcc-confirm-button",declineButtonId:"rcc-decline-button",extraCookieOptions:{},disableButtonStyles:!1,enableDeclineButton:!1,flipButtons:!1,sameSite:k.LAX,ButtonComponent:function(e){var n=e.children,r=function(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n,r,o={},a=Object.keys(e);for(r=0;r=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}(e,c);return t().createElement("button",r,n)},overlay:!1,overlayClasses:"",onOverlayClick:function(){},acceptOnOverlayClick:!1,ariaAcceptLabel:"Accept cookies",ariaDeclineLabel:"Decline cookies",acceptOnScroll:!1,acceptOnScrollPercentage:25,customContentAttributes:{},customContainerAttributes:{}};var N=j}(),o}()},839:function(e,t,n){"use strict";var r=n(167),o=n(709),a=n(704);function i(e){for(var t="https://reactjs.org/docs/error-decoder.html?invariant="+e,n=1;n