!function(e){var t={};function n(r){if(t[r])return t[r].exports;var o=t[r]={i:r,l:!1,exports:{}};return e[r].call(o.exports,o,o.exports,n),o.l=!0,o.exports}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 o in e)n.d(r,o,function(t){return e[t]}.bind(null,o));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=43)}([function(e,t,n){"use strict";e.exports=n(44),function(){var e="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.default:void 0;if(e){var n="undefined"!=typeof __webpack_exports__?__webpack_exports__:t;if(n)if("function"!=typeof n){for(var r in n)if(Object.prototype.hasOwnProperty.call(n,r)){var o=void 0;try{o=n[r]}catch(e){continue}e.register(o,r,"C:\\Users\\Erik\\code\\preschool-activities\\node_modules\\react\\index.js")}}else e.register(n,"module.exports","C:\\Users\\Erik\\code\\preschool-activities\\node_modules\\react\\index.js")}}()},function(e,t,n){"use strict";n.d(t,"a",(function(){return g})),n.d(t,"b",(function(){return v})),n.d(t,"c",(function(){return C})),n.d(t,"d",(function(){return h})),n.d(t,"e",(function(){return b}));var r=n(4),o=n(0),i=n.n(o),a=(n(12),n(6)),l=n(22),c=n(5),u=n(2),s=n(23),f=n.n(s),d=(n(20),n(10)),p=(n(35),function(e){var t=Object(l.a)();return t.displayName=e,t}("Router-History")),h=function(e){var t=Object(l.a)();return t.displayName=e,t}("Router"),v=function(e){function t(t){var n;return(n=e.call(this,t)||this).state={location:t.history.location},n._isMounted=!1,n._pendingLocation=null,t.staticContext||(n.unlisten=t.history.listen((function(e){n._isMounted?n.setState({location:e}):n._pendingLocation=e}))),n}Object(r.a)(t,e),t.computeRootMatch=function(e){return{path:"/",url:"/",params:{},isExact:"/"===e}};var n=t.prototype;return n.componentDidMount=function(){this._isMounted=!0,this._pendingLocation&&this.setState({location:this._pendingLocation})},n.componentWillUnmount=function(){this.unlisten&&this.unlisten()},n.render=function(){return i.a.createElement(h.Provider,{value:{history:this.props.history,location:this.state.location,match:t.computeRootMatch(this.state.location.pathname),staticContext:this.props.staticContext}},i.a.createElement(p.Provider,{children:this.props.children||null,value:this.props.history}))},t}(i.a.Component);i.a.Component;i.a.Component;var m={},y=0;function b(e,t){void 0===t&&(t={}),("string"==typeof t||Array.isArray(t))&&(t={path:t});var n=t,r=n.path,o=n.exact,i=void 0!==o&&o,a=n.strict,l=void 0!==a&&a,c=n.sensitive,u=void 0!==c&&c;return[].concat(r).reduce((function(t,n){if(!n&&""!==n)return null;if(t)return t;var r=function(e,t){var n=""+t.end+t.strict+t.sensitive,r=m[n]||(m[n]={});if(r[e])return r[e];var o=[],i={regexp:f()(e,o,t),keys:o};return y<1e4&&(r[e]=i,y++),i}(n,{end:i,strict:l,sensitive:u}),o=r.regexp,a=r.keys,c=o.exec(e);if(!c)return null;var s=c[0],d=c.slice(1),p=e===s;return i&&!p?null:{path:n,url:"/"===n&&""===s?"/":s,isExact:p,params:a.reduce((function(e,t,n){return e[t.name]=d[n],e}),{})}}),null)}var g=function(e){function t(){return e.apply(this,arguments)||this}return Object(r.a)(t,e),t.prototype.render=function(){var e=this;return i.a.createElement(h.Consumer,null,(function(t){t||Object(c.a)(!1);var n=e.props.location||t.location,r=e.props.computedMatch?e.props.computedMatch:e.props.path?b(n.pathname,e.props):t.match,o=Object(u.a)({},t,{location:n,match:r}),a=e.props,l=a.children,s=a.component,f=a.render;return Array.isArray(l)&&0===l.length&&(l=null),i.a.createElement(h.Provider,{value:o},o.match?l?"function"==typeof l?l(o):l:s?i.a.createElement(s,o):f?f(o):null:"function"==typeof l?l(o):null)}))},t}(i.a.Component);function _(e){return"/"===e.charAt(0)?e:"/"+e}function w(e,t){if(!e)return t;var n=_(e);return 0!==t.pathname.indexOf(n)?t:Object(u.a)({},t,{pathname:t.pathname.substr(n.length)})}function x(e){return"string"==typeof e?e:Object(a.e)(e)}function k(e){return function(){Object(c.a)(!1)}}function E(){}i.a.Component;var C=function(e){function t(){return e.apply(this,arguments)||this}return Object(r.a)(t,e),t.prototype.render=function(){var e=this;return i.a.createElement(h.Consumer,null,(function(t){t||Object(c.a)(!1);var n,r,o=e.props.location||t.location;return i.a.Children.forEach(e.props.children,(function(e){if(null==r&&i.a.isValidElement(e)){n=e;var a=e.props.path||e.props.from;r=a?b(o.pathname,Object(u.a)({},e.props,{path:a})):t.match}})),r?i.a.cloneElement(n,{location:o,computedMatch:r}):null}))},t}(i.a.Component);i.a.useContext;!function(){var e="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.default:void 0;if(e){var n=void 0!==t?t:exports;if(n)if("function"!=typeof n){for(var r in n)if(Object.prototype.hasOwnProperty.call(n,r)){var o=void 0;try{o=n[r]}catch(e){continue}e.register(o,r,"C:\\Users\\Erik\\code\\preschool-activities\\node_modules\\react-router\\esm\\react-router.js")}}else e.register(n,"module.exports","C:\\Users\\Erik\\code\\preschool-activities\\node_modules\\react-router\\esm\\react-router.js")}}()},function(e,t,n){"use strict";function r(){return(r=Object.assign||function(e){for(var t=1;t=0;d--){var p=a[d];"."===p?i(a,d):".."===p?(i(a,d),f++):f&&(i(a,d),f--)}if(!u)for(;f--;f)a.unshift("..");!u||""===a[0]||a[0]&&o(a[0])||a.unshift("");var h=a.join("/");return n&&"/"!==h.substr(-1)&&(h+="/"),h};function l(e){return e.valueOf?e.valueOf():Object.prototype.valueOf.call(e)}!function(){var e="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.default:void 0;if(e){var n=void 0!==t?t:exports;if(n)if("function"!=typeof n){for(var r in n)if(Object.prototype.hasOwnProperty.call(n,r)){var o=void 0;try{o=n[r]}catch(e){continue}e.register(o,r,"C:\\Users\\Erik\\code\\preschool-activities\\node_modules\\resolve-pathname\\esm\\resolve-pathname.js")}}else e.register(n,"module.exports","C:\\Users\\Erik\\code\\preschool-activities\\node_modules\\resolve-pathname\\esm\\resolve-pathname.js")}}();var c=function e(t,n){if(t===n)return!0;if(null==t||null==n)return!1;if(Array.isArray(t))return Array.isArray(n)&&t.length===n.length&&t.every((function(t,r){return e(t,n[r])}));if("object"==typeof t||"object"==typeof n){var r=l(t),o=l(n);return r!==t||o!==n?e(r,o):Object.keys(Object.assign({},t,n)).every((function(r){return e(t[r],n[r])}))}return!1};!function(){var e="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.default:void 0;if(e){var n=void 0!==t?t:exports;if(n)if("function"!=typeof n){for(var r in n)if(Object.prototype.hasOwnProperty.call(n,r)){var o=void 0;try{o=n[r]}catch(e){continue}e.register(o,r,"C:\\Users\\Erik\\code\\preschool-activities\\node_modules\\value-equal\\esm\\value-equal.js")}}else e.register(n,"module.exports","C:\\Users\\Erik\\code\\preschool-activities\\node_modules\\value-equal\\esm\\value-equal.js")}}();var u=n(5);function s(e){return"/"===e.charAt(0)?e:"/"+e}function f(e){return"/"===e.charAt(0)?e.substr(1):e}function d(e,t){return function(e,t){return 0===e.toLowerCase().indexOf(t.toLowerCase())&&-1!=="/?#".indexOf(e.charAt(t.length))}(e,t)?e.substr(t.length):e}function p(e){return"/"===e.charAt(e.length-1)?e.slice(0,-1):e}function h(e){var t=e.pathname,n=e.search,r=e.hash,o=t||"/";return n&&"?"!==n&&(o+="?"===n.charAt(0)?n:"?"+n),r&&"#"!==r&&(o+="#"===r.charAt(0)?r:"#"+r),o}function v(e,t,n,o){var i;"string"==typeof e?(i=function(e){var t=e||"/",n="",r="",o=t.indexOf("#");-1!==o&&(r=t.substr(o),t=t.substr(0,o));var i=t.indexOf("?");return-1!==i&&(n=t.substr(i),t=t.substr(0,i)),{pathname:t,search:"?"===n?"":n,hash:"#"===r?"":r}}(e)).state=t:(void 0===(i=Object(r.a)({},e)).pathname&&(i.pathname=""),i.search?"?"!==i.search.charAt(0)&&(i.search="?"+i.search):i.search="",i.hash?"#"!==i.hash.charAt(0)&&(i.hash="#"+i.hash):i.hash="",void 0!==t&&void 0===i.state&&(i.state=t));try{i.pathname=decodeURI(i.pathname)}catch(e){throw e instanceof URIError?new URIError('Pathname "'+i.pathname+'" could not be decoded. This is likely caused by an invalid percent-encoding.'):e}return n&&(i.key=n),o?i.pathname?"/"!==i.pathname.charAt(0)&&(i.pathname=a(i.pathname,o.pathname)):i.pathname=o.pathname:i.pathname||(i.pathname="/"),i}function m(e,t){return e.pathname===t.pathname&&e.search===t.search&&e.hash===t.hash&&e.key===t.key&&c(e.state,t.state)}function y(){var e=null;var t=[];return{setPrompt:function(t){return e=t,function(){e===t&&(e=null)}},confirmTransitionTo:function(t,n,r,o){if(null!=e){var i="function"==typeof e?e(t,n):e;"string"==typeof i?"function"==typeof r?r(i,o):o(!0):o(!1!==i)}else o(!0)},appendListener:function(e){var n=!0;function r(){n&&e.apply(void 0,arguments)}return t.push(r),function(){n=!1,t=t.filter((function(e){return e!==r}))}},notifyListeners:function(){for(var e=arguments.length,n=new Array(e),r=0;rt?n.splice(t,n.length-t,r):n.push(r),f({action:"PUSH",location:r,index:t,entries:n})}}))},replace:function(e,t){var r=v(e,t,d(),_.location);s.confirmTransitionTo(r,"REPLACE",n,(function(e){e&&(_.entries[_.index]=r,f({action:"REPLACE",location:r}))}))},go:g,goBack:function(){g(-1)},goForward:function(){g(1)},canGo:function(e){var t=_.index+e;return t>=0&&t<_.entries.length},block:function(e){return void 0===e&&(e=!1),s.setPrompt(e)},listen:function(e){return s.appendListener(e)}};return _}!function(){var e="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.default:void 0;if(e){var n=void 0!==t?t:exports;if(n)if("function"!=typeof n){for(var r in n)if(Object.prototype.hasOwnProperty.call(n,r)){var o=void 0;try{o=n[r]}catch(e){continue}e.register(o,r,"C:\\Users\\Erik\\code\\preschool-activities\\node_modules\\history\\esm\\history.js")}}else e.register(n,"module.exports","C:\\Users\\Erik\\code\\preschool-activities\\node_modules\\history\\esm\\history.js")}}()},function(e,t,n){e.exports={tic_tac_toe:"_3XSCJ1efhk57yEpMIogwke",header:"_281ikiIzKsj66jDS5bZao_",button:"_1zgUYTjVyxpX-7Tfi2BAiC",activity_title:"_23j75cmjdYWhBZJ6rT6jh3",tic_tac_toe_canvas_container:"_1ISWc8LkXvHo697KCuPzR_"}},function(e,t,n){"use strict"; /* object-assign (c) Sindre Sorhus @license MIT */var r=Object.getOwnPropertySymbols,o=Object.prototype.hasOwnProperty,i=Object.prototype.propertyIsEnumerable;function a(e){if(null==e)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(e)}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(e){return!1}}()?Object.assign:function(e,t){for(var n,l,c=a(e),u=1;u=0||(o[n]=e[n]);return o}n.d(t,"a",(function(){return r})),function(){var e="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.default:void 0;if(e){var n=void 0!==t?t:exports;if(n)if("function"!=typeof n){for(var r in n)if(Object.prototype.hasOwnProperty.call(n,r)){var o=void 0;try{o=n[r]}catch(e){continue}e.register(o,r,"C:\\Users\\Erik\\code\\preschool-activities\\node_modules\\@babel\\runtime\\helpers\\esm\\objectWithoutPropertiesLoose.js")}}else e.register(n,"module.exports","C:\\Users\\Erik\\code\\preschool-activities\\node_modules\\@babel\\runtime\\helpers\\esm\\objectWithoutPropertiesLoose.js")}}()},function(e,t,n){"use strict";var r=n(8),o=n(31),i=(n(21),n(29),Object.prototype.hasOwnProperty),a=n(32),l={key:!0,ref:!0,__self:!0,__source:!0};function c(e){return void 0!==e.ref}function u(e){return void 0!==e.key}var s=function(e,t,n,r,o,i,l){return{$$typeof:a,type:e,key:t,ref:n,props:l,_owner:i}};s.createElement=function(e,t,n){var r,a={},f=null,d=null;if(null!=t)for(r in c(t)&&(d=t.ref),u(t)&&(f=""+t.key),void 0===t.__self?null:t.__self,void 0===t.__source?null:t.__source,t)i.call(t,r)&&!l.hasOwnProperty(r)&&(a[r]=t[r]);var p=arguments.length-2;if(1===p)a.children=n;else if(p>1){for(var h=Array(p),v=0;v1){for(var y=Array(m),b=0;be.length)&&(t=e.length);for(var n=0,r=new Array(t);n0;n--){var r=Math.floor(Math.random()*n),o=t[n];t[n]=t[r],t[r]=o}return t},w=["MidnightBlue","Orange","Orchid","RebeccaPurple","RoyalBlue","SaddleBrown","SeaGreen","SlateGrey","Tomato","Turquoise","Gold","IndianRed","DarkRed","Aquamarine"];!function(){var e="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.default:void 0;if(e){var n=void 0!==t?t:exports;if(n)if("function"!=typeof n){for(var r in n)if(Object.prototype.hasOwnProperty.call(n,r)){var o=void 0;try{o=n[r]}catch(e){continue}e.register(o,r,"C:\\Users\\Erik\\code\\preschool-activities\\src\\components\\common\\utils.js")}}else e.register(n,"module.exports","C:\\Users\\Erik\\code\\preschool-activities\\src\\components\\common\\utils.js")}}();var x={get easy(){return 5},get medium(){return 10},get hard(){return 20}},k={get faceDown(){return"facedown"},get flipped(){return"flipped"},get matched(){return"matched"}};!function(){var e="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.default:void 0;if(e){var n=void 0!==t?t:exports;if(n)if("function"!=typeof n){for(var r in n)if(Object.prototype.hasOwnProperty.call(n,r)){var o=void 0;try{o=n[r]}catch(e){continue}e.register(o,r,"C:\\Users\\Erik\\code\\preschool-activities\\src\\components\\Memory\\helpers.js")}}else e.register(n,"module.exports","C:\\Users\\Erik\\code\\preschool-activities\\src\\components\\Memory\\helpers.js")}}();var E=n(3),C=n.n(E);function O(e){return(O="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function T(e,t){for(var n=0;n0;t--){var n=Math.floor(Math.random()*t),r=e[t];e[t]=e[n],e[n]=r}}(this.deck)}}return $(e,[{key:"flipped",get:function(){return this.deck.filter((function(e){return e.state===k.flipped}))}},{key:"isSolved",get:function(){return this.deck.every((function(e){return e.state===k.matched}))}}]),e}(),q=function(){function e(t,n){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:k.faceDown;B(this,e),this._value=t,this._image=n,this.state=r}return $(e,[{key:"value",get:function(){return this._value}},{key:"image",get:function(){return this._image}},{key:"isFaceDown",get:function(){return this.state===k.faceDown}},{key:"isFlipped",get:function(){return this.state===k.flipped}},{key:"isMatched",get:function(){return this.state===k.matched}}]),e}();function Q(e){return(Q="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function Y(e,t){for(var n=0;n=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}!function(){var e="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.default:void 0;if(e){var n=void 0!==t?t:exports;if(n)if("function"!=typeof n){for(var r in n)if(Object.prototype.hasOwnProperty.call(n,r)){var o=void 0;try{o=n[r]}catch(e){continue}e.register(o,r,"C:\\Users\\Erik\\code\\preschool-activities\\src\\components\\common\\CanvasHelpers.js")}}else e.register(n,"module.exports","C:\\Users\\Erik\\code\\preschool-activities\\src\\components\\common\\CanvasHelpers.js")}}();var v=function(e){var t=e.draw,n=h(e,["draw"]),i=function(e){var t=Object(r.useRef)(null);return Object(r.useEffect)((function(){var n,r=t.current,o=r.getContext("2d"),i=0;return function t(){i++,l(o,r),e(o,i),c(o),n=window.requestAnimationFrame(t)}(),function(){window.cancelAnimationFrame(n)}}),[e]),t}(t);return o.a.createElement("canvas",p({ref:i},n))};!function(){var e="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.default:void 0;if(e){var n=void 0!==t?t:exports;if(n)if("function"!=typeof n){for(var r in n)if(Object.prototype.hasOwnProperty.call(n,r)){var o=void 0;try{o=n[r]}catch(e){continue}e.register(o,r,"C:\\Users\\Erik\\code\\preschool-activities\\src\\components\\common\\Canvas.js")}}else e.register(n,"module.exports","C:\\Users\\Erik\\code\\preschool-activities\\src\\components\\common\\Canvas.js")}}();var m=n(37),y=n.n(m);function b(e){return(b="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function g(e,t){for(var n=0;ne.length)&&(t=e.length);for(var n=0,r=new Array(t);nP.length&&P.push(e)}function N(e,t,n){return null==e?0:function e(t,n,r,o){var l=typeof t;"undefined"!==l&&"boolean"!==l||(t=null);var c=!1;if(null===t)c=!0;else switch(l){case"string":case"number":c=!0;break;case"object":switch(t.$$typeof){case i:case a:c=!0}}if(c)return r(o,t,""===n?"."+L(t,0):n),1;if(c=0,n=""===n?".":n+":",Array.isArray(t))for(var u=0;u