diff --git a/CHANGELOG.md b/CHANGELOG.md index 6a9a7747..f02d2b16 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,9 @@ # Solspace Calendar Changelog +## 3.0.15 - 2020-11-24 +### Fixed +- Fixed a bug where the front end Guest Access feature could error in some cases. + ## 3.0.14 - 2020-10-23 ### Added - Added `previousDateLocalized` and `nextDateLocalized` property as a more reliable replacement for `previousDate` and `nextDate` when needing to use `|date` filter on `month`/`week`/`day` objects to display translatable dates in calendar views. diff --git a/composer.json b/composer.json index 48d3a556..3d1ffacd 100644 --- a/composer.json +++ b/composer.json @@ -1,7 +1,7 @@ { "name": "solspace/craft3-calendar", "description": "The most reliable and powerful event management plugin for Craft.", - "version": "3.0.14", + "version": "3.0.15", "type": "craft-plugin", "authors": [ { diff --git a/src/Resources/js/event-builder/app.js b/src/Resources/js/event-builder/app.js index 254a00ae..f01c2e0b 100644 --- a/src/Resources/js/event-builder/app.js +++ b/src/Resources/js/event-builder/app.js @@ -1,4 +1,4 @@ -!function(e,t){if("object"==typeof exports&&"object"==typeof module)module.exports=t();else if("function"==typeof define&&define.amd)define([],t);else{var n=t();for(var r in n)("object"==typeof exports?exports:e)[r]=n[r]}}(window,(function(){return function(e){var t={};function n(r){if(t[r])return t[r].exports;var a=t[r]={i:r,l:!1,exports:{}};return e[r].call(a.exports,a,a.exports,n),a.l=!0,a.exports}return n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var a in e)n.d(r,a,function(t){return e[t]}.bind(null,a));return r},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=462)}([function(e,t,n){"use strict";function r(e){return function(t,n){var r,a=n||{};if("formatting"===(a.context?String(a.context):"standalone")&&e.formattingValues){var i=e.defaultFormattingWidth||e.defaultWidth,o=a.width?String(a.width):i;r=e.formattingValues[o]||e.formattingValues[i]}else{var u=e.defaultWidth,s=a.width?String(a.width):e.defaultWidth;r=e.values[s]||e.values[u]}return r[e.argumentCallback?e.argumentCallback(t):t]}}n.d(t,"a",(function(){return r}))},function(e,t,n){"use strict";function r(e){return function(t,n){var r=String(t),a=n||{},i=a.width,o=i&&e.matchPatterns[i]||e.matchPatterns[e.defaultMatchWidth],u=r.match(o);if(!u)return null;var s,c=u[0],l=i&&e.parsePatterns[i]||e.parsePatterns[e.defaultParseWidth];return s="[object Array]"===Object.prototype.toString.call(l)?function(e,t){for(var n=0;n1?"s":" required, but only "+t.length+" present")}n.d(t,"a",(function(){return r}))},function(e,t,n){"use strict";function r(e){return function(t,n){var r=String(t),a=n||{},i=r.match(e.matchPattern);if(!i)return null;var o=i[0],u=r.match(e.parsePattern);if(!u)return null;var s=e.valueCallback?e.valueCallback(u[0]):u[0];return{value:s=a.valueCallback?a.valueCallback(s):s,rest:r.slice(o.length)}}}n.d(t,"a",(function(){return r}))},function(e,t,n){"use strict";n.r(t),n.d(t,"default",(function(){return a}));var r=n(4);function a(e){Object(r.a)(1,arguments);var t=Object.prototype.toString.call(e);return e instanceof Date||"object"==typeof e&&"[object Date]"===t?new Date(e.getTime()):"number"==typeof e||"[object Number]"===t?new Date(e):("string"!=typeof e&&"[object String]"!==t||"undefined"==typeof console||(console.warn("Starting with v2.0.0-beta.1 date-fns doesn't accept strings as arguments. Please use `parseISO` to parse strings. See: https://git.io/fjule"),console.warn((new Error).stack)),new Date(NaN))}},function(e,t,n){e.exports=n(390)()},function(e,t,n){var r=n(10),a=n(18),i=n(28),o=n(24),u=n(33),s=function(e,t,n){var c,l,d,f,p=e&s.F,m=e&s.G,h=e&s.S,g=e&s.P,v=e&s.B,b=m?r:h?r[t]||(r[t]={}):(r[t]||{}).prototype,y=m?a:a[t]||(a[t]={}),w=y.prototype||(y.prototype={});for(c in m&&(n=t),n)d=((l=!p&&b&&void 0!==b[c])?b:n)[c],f=v&&l?u(d,r):g&&"function"==typeof d?u(Function.call,d):d,b&&o(b,c,d,e&s.U),y[c]!=d&&i(y,c,f),g&&w[c]!=d&&(w[c]=d)};r.core=a,s.F=1,s.G=2,s.S=4,s.P=8,s.B=16,s.W=32,s.U=64,s.R=128,e.exports=s},function(e,t,n){"use strict";function r(e){if(null===e||!0===e||!1===e)return NaN;var t=Number(e);return isNaN(t)?t:t<0?Math.ceil(t):Math.floor(t)}n.d(t,"a",(function(){return r}))},function(e,t){var n=e.exports="undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")();"number"==typeof __g&&(__g=n)},function(e,t){e.exports=function(e){try{return!!e()}catch(e){return!0}}},function(e,t,n){var r=n(13);e.exports=function(e){if(!r(e))throw TypeError(e+" is not an object!");return e}},function(e,t){e.exports=function(e){return"object"==typeof e?null!==e:"function"==typeof e}},function(e,t,n){var r=n(85)("wks"),a=n(52),i=n(10).Symbol,o="function"==typeof i;(e.exports=function(e){return r[e]||(r[e]=o&&i[e]||(o?i:a)("Symbol."+e))}).store=r},function(e,t,n){var r=n(35),a=Math.min;e.exports=function(e){return e>0?a(r(e),9007199254740991):0}},function(e,t){e.exports=function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}},function(e,t){e.exports=function(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}},function(e,t){var n=e.exports={version:"2.6.11"};"number"==typeof __e&&(__e=n)},function(e,t,n){e.exports=!n(11)((function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a}))},function(e,t,n){var r=n(12),a=n(151),i=n(45),o=Object.defineProperty;t.f=n(19)?Object.defineProperty:function(e,t,n){if(r(e),t=i(t,!0),r(n),a)try{return o(e,t,n)}catch(e){}if("get"in n||"set"in n)throw TypeError("Accessors not supported!");return"value"in n&&(e[t]=n.value),e}},function(e,t,n){"use strict";(function(e){var r=n(145),a=n.n(r),i=n(191),o=n.n(i),u=n(3),s=n.n(u),c=n(192),l=n(73),d=n(146),f=(n(7),n(197)),p=n(198),m=function(e,t){for(var n=[e[0]],r=0,a=t.length;r1?r-1:0),i=1;i0?" Additional arguments: "+a.join(", "):"")));return w(o)}return y(t,e),t}(Error),T=/^[^\S\n]*?\/\* sc-component-id:\s*(\S+)\s+\*\//gm,W=function(e){var t=""+(e||""),n=[];return t.replace(T,(function(e,t,r){return n.push({componentId:t,matchIndex:r}),e})),n.map((function(e,r){var a=e.componentId,i=e.matchIndex,o=n[r+1];return{componentId:a,cssFromDOM:o?t.slice(i,o.matchIndex):t.slice(i)}}))},D=/^\s*\/\/.*$/gm,N=new a.a({global:!1,cascade:!0,keyframe:!1,prefix:!1,compress:!1,semicolon:!0}),z=new a.a({global:!1,cascade:!0,keyframe:!1,prefix:!0,compress:!1,semicolon:!1}),A=[],I=function(e){if(-2===e){var t=A;return A=[],t}},H=o()((function(e){A.push(e)})),F=void 0,R=void 0,L=void 0,Y=function(e,t,n){return t>0&&-1!==n.slice(0,t).indexOf(R)&&n.slice(t-R.length,t)!==R?"."+F:e};z.use([function(e,t,n){2===e&&n.length&&n[0].lastIndexOf(R)>0&&(n[0]=n[0].replace(L,Y))},H,I]),N.use([H,I]);var X=function(e){return N("",e)};function U(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"&",a=e.join("").replace(D,""),i=t&&n?n+" "+t+" { "+a+" }":a;return F=r,R=t,L=new RegExp("\\"+R+"\\b","g"),z(n||!t?"":t,i)}var q=function(){return n.nc},B=function(e,t,n){n&&((e[t]||(e[t]=Object.create(null)))[n]=!0)},G=function(e,t){e[t]=Object.create(null)},V=function(e){return function(t,n){return void 0!==e[t]&&e[t][n]}},$=function(e){var t="";for(var n in e)t+=Object.keys(e[n]).join(" ")+" ";return t.trim()},K=function(e){if(e.sheet)return e.sheet;for(var t=e.ownerDocument.styleSheets.length,n=0;n"+e()+""}},te=function(e,t){return function(){var n,r=((n={})[S]=$(t),n["data-styled-version"]="4.4.1",n),a=q();return a&&(r.nonce=a),s.a.createElement("style",b({},r,{dangerouslySetInnerHTML:{__html:e()}}))}},ne=function(e){return function(){return Object.keys(e)}},re=function(e,t){return e.createTextNode(J(t))},ae=function e(t,n){var r=void 0===t?Object.create(null):t,a=void 0===n?Object.create(null):n,i=function(e){var t=a[e];return void 0!==t?t:a[e]=[""]},o=function(){var e="";for(var t in a){var n=a[t][0];n&&(e+=J(t)+n)}return e};return{clone:function(){var t=function(e){var t=Object.create(null);for(var n in e)t[n]=b({},e[n]);return t}(r),n=Object.create(null);for(var i in a)n[i]=[a[i][0]];return e(t,n)},css:o,getIds:ne(a),hasNameForId:V(r),insertMarker:i,insertRules:function(e,t,n){i(e)[0]+=t.join(" "),B(r,e,n)},removeRules:function(e){var t=a[e];void 0!==t&&(t[0]="",G(r,e))},sealed:!1,styleTag:null,toElement:te(o,r),toHTML:ee(o,r)}},ie=function(e,t,n,r,a){if(E&&!n){var i=function(e,t,n){var r=document;e?r=e.ownerDocument:t&&(r=t.ownerDocument);var a=r.createElement("style");a.setAttribute(S,""),a.setAttribute("data-styled-version","4.4.1");var i=q();if(i&&a.setAttribute("nonce",i),a.appendChild(r.createTextNode("")),e&&!t)e.appendChild(a);else{if(!t||!e||!t.parentNode)throw new C(6);t.parentNode.insertBefore(a,n?t:t.nextSibling)}return a}(e,t,r);return _?function(e,t){var n=Object.create(null),r=Object.create(null),a=void 0!==t,i=!1,o=function(t){var a=r[t];return void 0!==a?a:(r[t]=re(e.ownerDocument,t),e.appendChild(r[t]),n[t]=Object.create(null),r[t])},u=function(){var e="";for(var t in r)e+=r[t].data;return e};return{clone:function(){throw new C(5)},css:u,getIds:ne(r),hasNameForId:V(n),insertMarker:o,insertRules:function(e,r,u){for(var s=o(e),c=[],l=r.length,d=0;d0&&(i=!0,t().insertRules(e+"-import",c))},removeRules:function(o){var u=r[o];if(void 0!==u){var s=re(e.ownerDocument,o);e.replaceChild(s,u),r[o]=s,G(n,o),a&&i&&t().removeRules(o+"-import")}},sealed:!1,styleTag:e,toElement:te(u,n),toHTML:ee(u,n)}}(i,a):function(e,t){var n=Object.create(null),r=Object.create(null),a=[],i=void 0!==t,o=!1,u=function(e){var t=r[e];return void 0!==t?t:(r[e]=a.length,a.push(0),G(n,e),r[e])},s=function(){var t=K(e).cssRules,n="";for(var i in r){n+=J(i);for(var o=r[i],u=Z(a,o),s=u-a[o];s0&&(o=!0,t().insertRules(r+"-import",m)),a[l]+=p,B(n,r,c)},removeRules:function(u){var s=r[u];if(void 0!==s&&!1!==e.isConnected){var c=a[s];!function(e,t,n){for(var r=t-n,a=t;a>r;a-=1)e.deleteRule(a)}(K(e),Z(a,s)-1,c),a[s]=0,G(n,u),i&&o&&t().removeRules(u+"-import")}},sealed:!1,styleTag:e,toElement:te(s,n),toHTML:ee(s,n)}}(i,a)}return ae()},oe=/\s+/,ue=void 0;ue=E?_?40:1e3:-1;var se=0,ce=void 0,le=function(){function e(){var t=this,n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:E?document.head:null,r=arguments.length>1&&void 0!==arguments[1]&&arguments[1];g(this,e),this.getImportRuleTag=function(){var e=t.importRuleTag;if(void 0!==e)return e;var n=t.tags[0];return t.importRuleTag=ie(t.target,n?n.styleTag:null,t.forceServer,!0)},se+=1,this.id=se,this.forceServer=r,this.target=r?null:n,this.tagMap={},this.deferred={},this.rehydratedNames={},this.ignoreRehydratedNames={},this.tags=[],this.capacity=1,this.clones=[]}return e.prototype.rehydrate=function(){if(!E||this.forceServer)return this;var e=[],t=[],n=!1,r=document.querySelectorAll("style["+S+'][data-styled-version="4.4.1"]'),a=r.length;if(!a)return this;for(var i=0;i0&&void 0!==arguments[0]&&arguments[0];ce=new e(void 0,t).rehydrate()},e.prototype.clone=function(){var t=new e(this.target,this.forceServer);return this.clones.push(t),t.tags=this.tags.map((function(e){for(var n=e.getIds(),r=e.clone(),a=0;a1?t-1:0),r=1;r=4;)t=1540483477*(65535&(t=255&e.charCodeAt(a)|(255&e.charCodeAt(++a))<<8|(255&e.charCodeAt(++a))<<16|(255&e.charCodeAt(++a))<<24))+((1540483477*(t>>>16)&65535)<<16),r=1540483477*(65535&r)+((1540483477*(r>>>16)&65535)<<16)^(t=1540483477*(65535&(t^=t>>>24))+((1540483477*(t>>>16)&65535)<<16)),n-=4,++a;switch(n){case 3:r^=(255&e.charCodeAt(a+2))<<16;case 2:r^=(255&e.charCodeAt(a+1))<<8;case 1:r=1540483477*(65535&(r^=255&e.charCodeAt(a)))+((1540483477*(r>>>16)&65535)<<16)}return((r=1540483477*(65535&(r^=r>>>13))+((1540483477*(r>>>16)&65535)<<16))^r>>>15)>>>0}var we=function(e){return String.fromCharCode(e+(e>25?39:97))};function ke(e){var t="",n=void 0;for(n=e;n>52;n=Math.floor(n/52))t=we(n%52)+t;return we(n%52)+t}function je(e,t){for(var n=0;n2&&void 0!==arguments[2]?arguments[2]:M,r=!!n&&e.theme===n.theme,a=e.theme&&!r?e.theme:t||n.theme;return a},Se=/[[\].#*$><+~=|^:(),"'`-]+/g,Ee=/(^-|-$)/g;function _e(e){return e.replace(Se,"-").replace(Ee,"")}function Ce(e){return"string"==typeof e&&!0}var Te={childContextTypes:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDerivedStateFromProps:!0,propTypes:!0,type:!0},We={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},De=((Me={})[l.ForwardRef]={$$typeof:!0,render:!0},Me),Ne=Object.defineProperty,ze=Object.getOwnPropertyNames,Ae=Object.getOwnPropertySymbols,Ie=void 0===Ae?function(){return[]}:Ae,He=Object.getOwnPropertyDescriptor,Fe=Object.getPrototypeOf,Re=Object.prototype,Le=Array.prototype;function Ye(e,t,n){if("string"!=typeof t){var r=Fe(t);r&&r!==Re&&Ye(e,r,n);for(var a=Le.concat(ze(t),Ie(t)),i=De[e.$$typeof]||Te,o=De[t.$$typeof]||Te,u=a.length,s=void 0,c=void 0;u--;)if(c=a[u],!(We[c]||n&&n[c]||o&&o[c]||i&&i[c])&&(s=He(t,c)))try{Ne(e,c,s)}catch(e){}return e}return e}var Xe=Object(u.createContext)(),Ue=Xe.Consumer,qe=(function(e){function t(n){g(this,t);var r=w(this,e.call(this,n));return r.getContext=Object(d.a)(r.getContext.bind(r)),r.renderInner=r.renderInner.bind(r),r}y(t,e),t.prototype.render=function(){return this.props.children?s.a.createElement(Xe.Consumer,null,this.renderInner):null},t.prototype.renderInner=function(e){var t=this.getContext(this.props.theme,e);return s.a.createElement(Xe.Provider,{value:t},this.props.children)},t.prototype.getTheme=function(e,t){if(P(e))return e(t);if(null===e||Array.isArray(e)||"object"!==(void 0===e?"undefined":h(e)))throw new C(8);return b({},t,e)},t.prototype.getContext=function(e,t){return this.getTheme(e,t)}}(u.Component),function(){function e(){g(this,e),this.masterSheet=le.master,this.instance=this.masterSheet.clone(),this.sealed=!1}e.prototype.seal=function(){if(!this.sealed){var e=this.masterSheet.clones.indexOf(this.instance);this.masterSheet.clones.splice(e,1),this.sealed=!0}},e.prototype.collectStyles=function(e){if(this.sealed)throw new C(2);return s.a.createElement(Ge,{sheet:this.instance},e)},e.prototype.getStyleTags=function(){return this.seal(),this.instance.toHTML()},e.prototype.getStyleElement=function(){return this.seal(),this.instance.toReactElements()},e.prototype.interleaveWithNodeStream=function(e){throw new C(3)}}(),Object(u.createContext)()),Be=qe.Consumer,Ge=function(e){function t(n){g(this,t);var r=w(this,e.call(this,n));return r.getContext=Object(d.a)(r.getContext),r}return y(t,e),t.prototype.getContext=function(e,t){if(e)return e;if(t)return new le(t);throw new C(4)},t.prototype.render=function(){var e=this.props,t=e.children,n=e.sheet,r=e.target;return s.a.createElement(qe.Provider,{value:this.getContext(n,r)},t)},t}(u.Component),Ve={};var $e=function(e){function t(){g(this,t);var n=w(this,e.call(this));return n.attrs={},n.renderOuter=n.renderOuter.bind(n),n.renderInner=n.renderInner.bind(n),n}return y(t,e),t.prototype.render=function(){return s.a.createElement(Be,null,this.renderOuter)},t.prototype.renderOuter=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:le.master;return this.styleSheet=e,this.props.forwardedComponent.componentStyle.isStatic?this.renderInner():s.a.createElement(Ue,null,this.renderInner)},t.prototype.renderInner=function(e){var t=this.props.forwardedComponent,n=t.componentStyle,r=t.defaultProps,a=(t.displayName,t.foldedComponentIds),i=t.styledComponentId,o=t.target,s=void 0;s=n.isStatic?this.generateAndInjectStyles(M,this.props):this.generateAndInjectStyles(xe(this.props,e,r)||M,this.props);var c=this.props.as||this.attrs.as||o,l=Ce(c),d={},p=b({},this.props,this.attrs),m=void 0;for(m in p)"forwardedComponent"!==m&&"as"!==m&&("forwardedRef"===m?d.ref=p[m]:"forwardedAs"===m?d.as=p[m]:l&&!Object(f.a)(m)||(d[m]=p[m]));return this.props.style&&this.attrs.style&&(d.style=b({},this.attrs.style,this.props.style)),d.className=Array.prototype.concat(a,i,s!==i?s:null,this.props.className,this.attrs.className).filter(Boolean).join(" "),Object(u.createElement)(c,d)},t.prototype.buildExecutionContext=function(e,t,n){var r=this,a=b({},t,{theme:e});return n.length?(this.attrs={},n.forEach((function(e){var t,n=e,i=!1,o=void 0,u=void 0;for(u in P(n)&&(n=n(a),i=!0),n)o=n[u],i||!P(o)||(t=o)&&t.prototype&&t.prototype.isReactComponent||x(o)||(o=o(a)),r.attrs[u]=o,a[u]=o})),a):a},t.prototype.generateAndInjectStyles=function(e,t){var n=t.forwardedComponent,r=n.attrs,a=n.componentStyle;n.warnTooManyClasses;return a.isStatic&&!r.length?a.generateAndInjectStyles(M,this.styleSheet):a.generateAndInjectStyles(this.buildExecutionContext(e,t,r),this.styleSheet)},t}(u.Component);function Ke(e,t,n){var r=x(e),a=!Ce(e),i=t.displayName,o=void 0===i?function(e){return Ce(e)?"styled."+e:"Styled("+O(e)+")"}(e):i,u=t.componentId,c=void 0===u?function(e,t,n){var r="string"!=typeof t?"sc":_e(t),a=(Ve[r]||0)+1;Ve[r]=a;var i=r+"-"+e.generateName(r+a);return n?n+"-"+i:i}(Oe,t.displayName,t.parentComponentId):u,l=t.ParentComponent,d=void 0===l?$e:l,f=t.attrs,m=void 0===f?j:f,h=t.displayName&&t.componentId?_e(t.displayName)+"-"+t.componentId:t.componentId||c,g=r&&e.attrs?Array.prototype.concat(e.attrs,m).filter(Boolean):m,v=new Oe(r?e.componentStyle.rules.concat(n):n,g,h),y=void 0,w=function(e,t){return s.a.createElement(d,b({},e,{forwardedComponent:y,forwardedRef:t}))};return w.displayName=o,(y=s.a.forwardRef(w)).displayName=o,y.attrs=g,y.componentStyle=v,y.foldedComponentIds=r?Array.prototype.concat(e.foldedComponentIds,e.styledComponentId):j,y.styledComponentId=h,y.target=r?e.target:e,y.withComponent=function(e){var r=t.componentId,a=function(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}(t,["componentId"]),i=r&&r+"-"+(Ce(e)?e:_e(O(e)));return Ke(e,b({},a,{attrs:g,componentId:i,ParentComponent:d}),n)},Object.defineProperty(y,"defaultProps",{get:function(){return this._foldedDefaultProps},set:function(t){this._foldedDefaultProps=r?Object(p.a)(e.defaultProps,t):t}}),y.toString=function(){return"."+y.styledComponentId},a&&Ye(y,e,{attrs:!0,componentStyle:!0,displayName:!0,foldedComponentIds:!0,styledComponentId:!0,target:!0,withComponent:!0}),y}var Qe=function(e){return function e(t,n){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:M;if(!Object(l.isValidElementType)(n))throw new C(1,String(n));var a=function(){return t(n,r,be.apply(void 0,arguments))};return a.withConfig=function(a){return e(t,n,b({},r,a))},a.attrs=function(a){return e(t,n,b({},r,{attrs:Array.prototype.concat(r.attrs,a).filter(Boolean)}))},a}(Ke,e)};["a","abbr","address","area","article","aside","audio","b","base","bdi","bdo","big","blockquote","body","br","button","canvas","caption","cite","code","col","colgroup","data","datalist","dd","del","details","dfn","dialog","div","dl","dt","em","embed","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","iframe","img","input","ins","kbd","keygen","label","legend","li","link","main","map","mark","marquee","menu","menuitem","meta","meter","nav","noscript","object","ol","optgroup","option","output","p","param","picture","pre","progress","q","rp","rt","ruby","s","samp","script","section","select","small","source","span","strong","style","sub","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","title","tr","track","u","ul","var","video","wbr","circle","clipPath","defs","ellipse","foreignObject","g","image","line","linearGradient","marker","mask","path","pattern","polygon","polyline","radialGradient","rect","stop","svg","text","tspan"].forEach((function(e){Qe[e]=Qe(e)}));!function(){function e(t,n){g(this,e),this.rules=t,this.componentId=n,this.isStatic=je(t,j),le.master.hasId(n)||le.master.deferredInject(n,[])}e.prototype.createStyles=function(e,t){var n=U(ve(this.rules,e,t),"");t.inject(this.componentId,n)},e.prototype.removeStyles=function(e){var t=this.componentId;e.hasId(t)&&e.remove(t)},e.prototype.renderStyles=function(e,t){this.removeStyles(t),this.createStyles(e,t)}}();E&&(window.scCGSHMRCache={});t.a=Qe}).call(this,n(185))},function(e,t,n){var r=n(42);e.exports=function(e){return Object(r(e))}},function(e,t,n){"use strict";n.d(t,"a",(function(){return o}));var r=n(9),a=n(6),i=n(4);function o(e,t){Object(i.a)(1,arguments);var n=t||{},o=n.locale,u=o&&o.options&&o.options.weekStartsOn,s=null==u?0:Object(r.a)(u),c=null==n.weekStartsOn?s:Object(r.a)(n.weekStartsOn);if(!(c>=0&&c<=6))throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");var l=Object(a.default)(e),d=l.getUTCDay(),f=(d"+a+""};e.exports=function(e,t){var n={};n[e]=t(u),r(r.P+r.F*a((function(){var t=""[e]('"');return t!==t.toLowerCase()||t.split('"').length>3})),"String",n)}},function(e,t,n){"use strict";n.d(t,"a",(function(){return r}));function r(e){var t=new Date(e.getTime()),n=Math.ceil(t.getTimezoneOffset());return t.setSeconds(0,0),6e4*n+t.getTime()%6e4}},function(e,t){var n={}.hasOwnProperty;e.exports=function(e,t){return n.call(e,t)}},function(e,t,n){var r=n(20),a=n(51);e.exports=n(19)?function(e,t,n){return r.f(e,t,a(1,n))}:function(e,t,n){return e[t]=n,e}},function(e,t,n){var r=n(78),a=n(42);e.exports=function(e){return r(a(e))}},function(e,t,n){"use strict";var r=n(11);e.exports=function(e,t){return!!e&&r((function(){t?e.call(null,(function(){}),1):e.call(null)}))}},function(e,t,n){"use strict";n.r(t),n.d(t,"__DO_NOT_USE__ActionTypes",(function(){return i})),n.d(t,"applyMiddleware",(function(){return g})),n.d(t,"bindActionCreators",(function(){return d})),n.d(t,"combineReducers",(function(){return c})),n.d(t,"compose",(function(){return h})),n.d(t,"createStore",(function(){return u}));var r=n(150),a=function(){return Math.random().toString(36).substring(7).split("").join(".")},i={INIT:"@@redux/INIT"+a(),REPLACE:"@@redux/REPLACE"+a(),PROBE_UNKNOWN_ACTION:function(){return"@@redux/PROBE_UNKNOWN_ACTION"+a()}};function o(e){if("object"!=typeof e||null===e)return!1;for(var t=e;null!==Object.getPrototypeOf(t);)t=Object.getPrototypeOf(t);return Object.getPrototypeOf(e)===t}function u(e,t,n){var a;if("function"==typeof t&&"function"==typeof n||"function"==typeof n&&"function"==typeof arguments[3])throw new Error("It looks like you are passing several store enhancers to createStore(). This is not supported. Instead, compose them together to a single function.");if("function"==typeof t&&void 0===n&&(n=t,t=void 0),void 0!==n){if("function"!=typeof n)throw new Error("Expected the enhancer to be a function.");return n(u)(e,t)}if("function"!=typeof e)throw new Error("Expected the reducer to be a function.");var s=e,c=t,l=[],d=l,f=!1;function p(){d===l&&(d=l.slice())}function m(){if(f)throw new Error("You may not call store.getState() while the reducer is executing. The reducer has already received the state as an argument. Pass it down from the top reducer instead of reading it from the store.");return c}function h(e){if("function"!=typeof e)throw new Error("Expected the listener to be a function.");if(f)throw new Error("You may not call store.subscribe() while the reducer is executing. If you would like to be notified after the store has been updated, subscribe from a component and invoke store.getState() in the callback to access the latest state. See https://redux.js.org/api-reference/store#subscribelistener for more details.");var t=!0;return p(),d.push(e),function(){if(t){if(f)throw new Error("You may not unsubscribe from a store listener while the reducer is executing. See https://redux.js.org/api-reference/store#subscribelistener for more details.");t=!1,p();var n=d.indexOf(e);d.splice(n,1),l=null}}}function g(e){if(!o(e))throw new Error("Actions must be plain objects. Use custom middleware for async actions.");if(void 0===e.type)throw new Error('Actions may not have an undefined "type" property. Have you misspelled a constant?');if(f)throw new Error("Reducers may not dispatch actions.");try{f=!0,c=s(c,e)}finally{f=!1}for(var t=l=d,n=0;n0?r:n)(e)}},function(e,t,n){var r=n(79),a=n(51),i=n(29),o=n(45),u=n(27),s=n(151),c=Object.getOwnPropertyDescriptor;t.f=n(19)?c:function(e,t){if(e=i(e),t=o(t,!0),s)try{return c(e,t)}catch(e){}if(u(e,t))return a(!r.f.call(e,t),e[t])}},function(e,t,n){var r=n(8),a=n(18),i=n(11);e.exports=function(e,t){var n=(a.Object||{})[e]||Object[e],o={};o[e]=t(n),r(r.S+r.F*i((function(){n(1)})),"Object",o)}},function(e,t,n){var r=n(33),a=n(78),i=n(22),o=n(15),u=n(167);e.exports=function(e,t){var n=1==e,s=2==e,c=3==e,l=4==e,d=6==e,f=5==e||d,p=t||u;return function(t,u,m){for(var h,g,v=i(t),b=a(v),y=r(u,m,3),w=o(b.length),k=0,j=n?p(t,w):s?p(t,0):void 0;w>k;k++)if((f||k in b)&&(g=y(h=b[k],k,v),e))if(n)j[k]=g;else if(g)switch(e){case 3:return!0;case 5:return h;case 6:return k;case 2:j.push(h)}else if(l)return!1;return d?-1:c||l?l:j}}},function(e,t,n){"use strict";n.d(t,"a",(function(){return i}));var r=n(6),a=n(4);function i(e){Object(a.a)(1,arguments);var t=1,n=Object(r.default)(e),i=n.getUTCDay(),o=(in;)a[n]=t[n++];return a},_e=function(e,t,n){L(e,t,{get:function(){return this._d[n]}})},Ce=function(e){var t,n,r,a,i,o,u=j(e),s=arguments.length,l=s>1?arguments[1]:void 0,d=void 0!==l,f=S(u);if(null!=f&&!M(f)){for(o=f.call(u),r=[],t=0;!(i=o.next()).done;t++)r.push(i.value);u=r}for(d&&s>2&&(l=c(l,arguments[2],2)),t=0,n=h(u.length),a=xe(this,n);n>t;t++)a[t]=d?l(u[t],t):u[t];return a},Te=function(){for(var e=0,t=arguments.length,n=xe(this,t);t>e;)n[e]=arguments[e++];return n},We=!!q&&i((function(){pe.call(new q(1))})),De=function(){return pe.apply(We?de.call(Oe(this)):Oe(this),arguments)},Ne={copyWithin:function(e,t){return H.call(Oe(this),e,t,arguments.length>2?arguments[2]:void 0)},every:function(e){return J(Oe(this),e,arguments.length>1?arguments[1]:void 0)},fill:function(e){return I.apply(Oe(this),arguments)},filter:function(e){return Se(this,K(Oe(this),e,arguments.length>1?arguments[1]:void 0))},find:function(e){return Z(Oe(this),e,arguments.length>1?arguments[1]:void 0)},findIndex:function(e){return ee(Oe(this),e,arguments.length>1?arguments[1]:void 0)},forEach:function(e){$(Oe(this),e,arguments.length>1?arguments[1]:void 0)},indexOf:function(e){return ne(Oe(this),e,arguments.length>1?arguments[1]:void 0)},includes:function(e){return te(Oe(this),e,arguments.length>1?arguments[1]:void 0)},join:function(e){return ce.apply(Oe(this),arguments)},lastIndexOf:function(e){return oe.apply(Oe(this),arguments)},map:function(e){return ke(Oe(this),e,arguments.length>1?arguments[1]:void 0)},reduce:function(e){return ue.apply(Oe(this),arguments)},reduceRight:function(e){return se.apply(Oe(this),arguments)},reverse:function(){for(var e,t=Oe(this).length,n=Math.floor(t/2),r=0;r1?arguments[1]:void 0)},sort:function(e){return le.call(Oe(this),e)},subarray:function(e,t){var n=Oe(this),r=n.length,a=v(e,r);return new(W(n,n[ve]))(n.buffer,n.byteOffset+a*n.BYTES_PER_ELEMENT,h((void 0===t?r:v(t,r))-a))}},ze=function(e,t){return Se(this,de.call(Oe(this),e,t))},Ae=function(e){Oe(this);var t=Pe(arguments[1],1),n=this.length,r=j(e),a=h(r.length),i=0;if(a+t>n)throw X("Wrong length!");for(;i255?255:255&r),a.v[p](n*t+a.o,r,je)}(this,n,e)},enumerable:!0})};y?(m=n((function(e,n,r,a){l(e,m,c,"_d");var i,o,u,s,d=0,p=0;if(k(n)){if(!(n instanceof G||"ArrayBuffer"==(s=w(n))||"SharedArrayBuffer"==s))return ye in n?Ee(m,n):Ce.call(m,n);i=n,p=Pe(r,t);var v=n.byteLength;if(void 0===a){if(v%t)throw X("Wrong length!");if((o=v-p)<0)throw X("Wrong length!")}else if((o=h(a)*t)+p>v)throw X("Wrong length!");u=o/t}else u=g(n),i=new G(o=u*t);for(f(e,"_d",{b:i,o:p,l:o,e:u,v:new V(i)});d20||r<10)switch(r%10){case 1:return n+"st";case 2:return n+"nd";case 3:return n+"rd"}return n+"th"},era:Object(r.a)({values:{narrow:["B","A"],abbreviated:["BC","AD"],wide:["Before Christ","Anno Domini"]},defaultWidth:"wide"}),quarter:Object(r.a)({values:{narrow:["1","2","3","4"],abbreviated:["Q1","Q2","Q3","Q4"],wide:["1st quarter","2nd quarter","3rd quarter","4th quarter"]},defaultWidth:"wide",argumentCallback:function(e){return Number(e)-1}}),month:Object(r.a)({values:{narrow:["J","F","M","A","M","J","J","A","S","O","N","D"],abbreviated:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],wide:["January","February","March","April","May","June","July","August","September","October","November","December"]},defaultWidth:"wide"}),day:Object(r.a)({values:{narrow:["S","M","T","W","T","F","S"],short:["Su","Mo","Tu","We","Th","Fr","Sa"],abbreviated:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],wide:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"]},defaultWidth:"wide"}),dayPeriod:Object(r.a)({values:{narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"}},defaultWidth:"wide",formattingValues:{narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"}},defaultFormattingWidth:"wide"})};t.a=a},function(e,t,n){"use strict";var r=n(5),a=n(1),i={ordinalNumber:Object(r.a)({matchPattern:/^(\d+)(th|st|nd|rd)?/i,parsePattern:/\d+/i,valueCallback:function(e){return parseInt(e,10)}}),era:Object(a.a)({matchPatterns:{narrow:/^(b|a)/i,abbreviated:/^(b\.?\s?c\.?|b\.?\s?c\.?\s?e\.?|a\.?\s?d\.?|c\.?\s?e\.?)/i,wide:/^(before christ|before common era|anno domini|common era)/i},defaultMatchWidth:"wide",parsePatterns:{any:[/^b/i,/^(a|c)/i]},defaultParseWidth:"any"}),quarter:Object(a.a)({matchPatterns:{narrow:/^[1234]/i,abbreviated:/^q[1234]/i,wide:/^[1234](th|st|nd|rd)? quarter/i},defaultMatchWidth:"wide",parsePatterns:{any:[/1/i,/2/i,/3/i,/4/i]},defaultParseWidth:"any",valueCallback:function(e){return e+1}}),month:Object(a.a)({matchPatterns:{narrow:/^[jfmasond]/i,abbreviated:/^(jan|feb|mar|apr|may|jun|jul|aug|sep|oct|nov|dec)/i,wide:/^(january|february|march|april|may|june|july|august|september|october|november|december)/i},defaultMatchWidth:"wide",parsePatterns:{narrow:[/^j/i,/^f/i,/^m/i,/^a/i,/^m/i,/^j/i,/^j/i,/^a/i,/^s/i,/^o/i,/^n/i,/^d/i],any:[/^ja/i,/^f/i,/^mar/i,/^ap/i,/^may/i,/^jun/i,/^jul/i,/^au/i,/^s/i,/^o/i,/^n/i,/^d/i]},defaultParseWidth:"any"}),day:Object(a.a)({matchPatterns:{narrow:/^[smtwf]/i,short:/^(su|mo|tu|we|th|fr|sa)/i,abbreviated:/^(sun|mon|tue|wed|thu|fri|sat)/i,wide:/^(sunday|monday|tuesday|wednesday|thursday|friday|saturday)/i},defaultMatchWidth:"wide",parsePatterns:{narrow:[/^s/i,/^m/i,/^t/i,/^w/i,/^t/i,/^f/i,/^s/i],any:[/^su/i,/^m/i,/^tu/i,/^w/i,/^th/i,/^f/i,/^sa/i]},defaultParseWidth:"any"}),dayPeriod:Object(a.a)({matchPatterns:{narrow:/^(a|p|mi|n|(in the|at) (morning|afternoon|evening|night))/i,any:/^([ap]\.?\s?m\.?|midnight|noon|(in the|at) (morning|afternoon|evening|night))/i},defaultMatchWidth:"any",parsePatterns:{any:{am:/^a/i,pm:/^p/i,midnight:/^mi/i,noon:/^no/i,morning:/morning/i,afternoon:/afternoon/i,evening:/evening/i,night:/night/i}},defaultParseWidth:"any"})};t.a=i},function(e,t){e.exports=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}}},function(e,t){var n=0,r=Math.random();e.exports=function(e){return"Symbol(".concat(void 0===e?"":e,")_",(++n+r).toString(36))}},function(e,t){e.exports=!1},function(e,t,n){var r=n(153),a=n(110);e.exports=Object.keys||function(e){return r(e,a)}},function(e,t,n){var r=n(35),a=Math.max,i=Math.min;e.exports=function(e,t){return(e=r(e))<0?a(e+t,0):i(e,t)}},function(e,t,n){var r=n(12),a=n(154),i=n(110),o=n(109)("IE_PROTO"),u=function(){},s=function(){var e,t=n(107)("iframe"),r=i.length;for(t.style.display="none",n(111).appendChild(t),t.src="javascript:",(e=t.contentWindow.document).open(),e.write("