diff --git a/.gitignore b/.gitignore index 4d29575..58b21fe 100644 --- a/.gitignore +++ b/.gitignore @@ -9,7 +9,7 @@ /coverage # production -/build +# /build # misc .DS_Store diff --git a/build/asset-manifest.json b/build/asset-manifest.json new file mode 100644 index 0000000..8155e43 --- /dev/null +++ b/build/asset-manifest.json @@ -0,0 +1,77 @@ +{ + "files": { + "main.css": "/static/css/main.e5bbe4d3.css", + "main.js": "/static/js/main.333f85c5.js", + "reactPlayerYouTube.js": "/static/js/reactPlayerYouTube.c5872fde.chunk.js", + "reactPlayerSoundCloud.js": "/static/js/reactPlayerSoundCloud.00948ec5.chunk.js", + "reactPlayerVimeo.js": "/static/js/reactPlayerVimeo.d95bae86.chunk.js", + "reactPlayerFacebook.js": "/static/js/reactPlayerFacebook.e7a6f596.chunk.js", + "reactPlayerStreamable.js": "/static/js/reactPlayerStreamable.1b7ab26b.chunk.js", + "reactPlayerWistia.js": "/static/js/reactPlayerWistia.c000dfbd.chunk.js", + "reactPlayerTwitch.js": "/static/js/reactPlayerTwitch.45e29889.chunk.js", + "reactPlayerDailyMotion.js": "/static/js/reactPlayerDailyMotion.604f7531.chunk.js", + "reactPlayerMixcloud.js": "/static/js/reactPlayerMixcloud.a25b5beb.chunk.js", + "reactPlayerVidyard.js": "/static/js/reactPlayerVidyard.4d80ea6e.chunk.js", + "reactPlayerKaltura.js": "/static/js/reactPlayerKaltura.600da222.chunk.js", + "reactPlayerFilePlayer.js": "/static/js/reactPlayerFilePlayer.ddeae111.chunk.js", + "reactPlayerPreview.js": "/static/js/reactPlayerPreview.ef7e27c0.chunk.js", + "static/media/main_logo.svg": "/static/media/main_logo.b606ef6a0f03a8fbf06974ef9887dbe0.svg", + "static/media/board.jpg": "/static/media/board.7cd7752d1f54d8310afd.jpg", + "static/media/body-bg.jpg": "/static/media/body-bg.e4d54e8c6b38636c8650.jpg", + "static/media/zhu.jpg": "/static/media/zhu.033e39a7fb9dca5bdb60.jpg", + "static/media/hou.jpg": "/static/media/hou.e4be22a05e68400b3161.jpg", + "static/media/magnus.jpg": "/static/media/magnus.3c389432bd61a6a39894.jpg", + "static/media/firouzja.jpg": "/static/media/firouzja.ea8674ae64fbe1548cde.jpg", + "static/media/instagram.svg": "/static/media/instagram.e4c1ab279817c762b0a61b53693c98e2.svg", + "static/media/vk.svg": "/static/media/vk.ed432917591bcf6e9e70314259820fd8.svg", + "static/media/youtube.svg": "/static/media/youtube.cb48c1211d8727487e9e44d7952bd7da.svg", + "static/media/twitter.svg": "/static/media/twitter.81c53d4417d832512ee2a59d0594b290.svg", + "static/media/bishop.svg": "/static/media/bishop.6ab3ad2ec0b8f3dfa6daf543a254ae45.svg", + "static/media/instagram-grey.svg": "/static/media/instagram-grey.6945d8eb25cd3cb68fb4dc7edf2a1627.svg", + "static/media/green-bg.svg": "/static/media/green-bg.bb929bc799ae46fd985967e1ed032594.svg", + "static/media/facebook-green.svg": "/static/media/facebook-green.8662c13666e0fe6dbabd4d42f4c78eb5.svg", + "static/media/linkedin.svg": "/static/media/linkedin.9bbdd0eac27260912acfe4feefff7692.svg", + "static/media/phone.svg": "/static/media/phone.83fbe4a767ea1d345818ad1997f6f1a8.svg", + "static/media/facebook.svg": "/static/media/facebook.d516b05bccf9ba42c9ebeebb5c5da563.svg", + "static/media/phone-gray.svg": "/static/media/phone-gray.ab66058d9ea4d9d4f5c86a129241aa7c.svg", + "static/media/odnoklassniki.svg": "/static/media/odnoklassniki.9c726b4a099e27cc6d351c5988ede68a.svg", + "static/media/pin.svg": "/static/media/pin.93457ae61d05861caae21cb6d13a017f.svg", + "static/media/search.svg": "/static/media/search.efc91ee258576b812d0376039b47c438.svg", + "static/media/twitter-gray.svg": "/static/media/twitter-gray.87e193f804f44e76a1a7c7b0e3ec0bd7.svg", + "static/media/arrow-forward.svg": "/static/media/arrow-forward.8cca7ca330daf5d7ca96aab1c16d815b.svg", + "static/media/arrow-down-black.svg": "/static/media/arrow-down-black.99e972ad37d9d54e24492a08eccd24d0.svg", + "static/media/email-black.svg": "/static/media/email-black.4dc89886a8336e87fd16bf67324a79c8.svg", + "static/media/email.svg": "/static/media/email.0733b334373a762ae29f1ed815d6bbc3.svg", + "static/media/play.svg": "/static/media/play.2f8a2e6542a291522423fdd43435c004.svg", + "static/media/arrow-right-green.svg": "/static/media/arrow-right-green.5c1e4882f87d26b972766fb76dd5b8f8.svg", + "static/media/arrow-left-green.svg": "/static/media/arrow-left-green.8cc25d536a052b23feb77d41b122a977.svg", + "static/media/arrow-right-white.svg": "/static/media/arrow-right-white.5a7fa3b17a994216052a3d2bd4a1951e.svg", + "static/media/arrow-left-white.svg": "/static/media/arrow-left-white.14644903323e17d2174454e9e496b1ca.svg", + "static/media/facebook-gray.svg": "/static/media/facebook-gray.fab613746ac467c401f1d579d5a36cb6.svg", + "static/media/youtube-gray.svg": "/static/media/youtube-gray.65c29f8f14419766e7f8d5834d32f0ad.svg", + "index.html": "/index.html", + "static/media/arrow-next.svg": "/static/media/arrow-next.6fcee1ce50014551f1f0d5cfe707bd8d.svg", + "static/media/arrow-prev.svg": "/static/media/arrow-prev.ddc052d25af568ecc60d856e597672a3.svg", + "static/media/divider.svg": "/static/media/divider.aba356f76f48970f0d53392ff4bf16e7.svg", + "static/media/sharp.svg": "/static/media/sharp.349b867af4b23731d9deb15fe982230a.svg", + "main.e5bbe4d3.css.map": "/static/css/main.e5bbe4d3.css.map", + "main.333f85c5.js.map": "/static/js/main.333f85c5.js.map", + "reactPlayerYouTube.c5872fde.chunk.js.map": "/static/js/reactPlayerYouTube.c5872fde.chunk.js.map", + "reactPlayerSoundCloud.00948ec5.chunk.js.map": "/static/js/reactPlayerSoundCloud.00948ec5.chunk.js.map", + "reactPlayerVimeo.d95bae86.chunk.js.map": "/static/js/reactPlayerVimeo.d95bae86.chunk.js.map", + "reactPlayerFacebook.e7a6f596.chunk.js.map": "/static/js/reactPlayerFacebook.e7a6f596.chunk.js.map", + "reactPlayerStreamable.1b7ab26b.chunk.js.map": "/static/js/reactPlayerStreamable.1b7ab26b.chunk.js.map", + "reactPlayerWistia.c000dfbd.chunk.js.map": "/static/js/reactPlayerWistia.c000dfbd.chunk.js.map", + "reactPlayerTwitch.45e29889.chunk.js.map": "/static/js/reactPlayerTwitch.45e29889.chunk.js.map", + "reactPlayerDailyMotion.604f7531.chunk.js.map": "/static/js/reactPlayerDailyMotion.604f7531.chunk.js.map", + "reactPlayerMixcloud.a25b5beb.chunk.js.map": "/static/js/reactPlayerMixcloud.a25b5beb.chunk.js.map", + "reactPlayerVidyard.4d80ea6e.chunk.js.map": "/static/js/reactPlayerVidyard.4d80ea6e.chunk.js.map", + "reactPlayerKaltura.600da222.chunk.js.map": "/static/js/reactPlayerKaltura.600da222.chunk.js.map", + "reactPlayerFilePlayer.ddeae111.chunk.js.map": "/static/js/reactPlayerFilePlayer.ddeae111.chunk.js.map", + "reactPlayerPreview.ef7e27c0.chunk.js.map": "/static/js/reactPlayerPreview.ef7e27c0.chunk.js.map" + }, + "entrypoints": [ + "static/css/main.e5bbe4d3.css", + "static/js/main.333f85c5.js" + ] +} \ No newline at end of file diff --git a/build/favicon.svg b/build/favicon.svg new file mode 100644 index 0000000..9c8609c --- /dev/null +++ b/build/favicon.svg @@ -0,0 +1,9 @@ + diff --git a/build/index.html b/build/index.html new file mode 100644 index 0000000..8760e94 --- /dev/null +++ b/build/index.html @@ -0,0 +1 @@ +
a||125d?(a.sortIndex=c,f(t,a),null===h(r)&&a===h(t)&&(B?(E(L),L=-1):B=!0,K(H,c-d))):(a.sortIndex=e,f(r,a),A||z||(A=!0,I(J)));return a};\nexports.unstable_shouldYield=M;exports.unstable_wrapCallback=function(a){var b=y;return function(){var c=y;y=b;try{return a.apply(this,arguments)}finally{y=c}}};\n","'use strict';\n\nif (process.env.NODE_ENV === 'production') {\n module.exports = require('./cjs/scheduler.production.min.js');\n} else {\n module.exports = require('./cjs/scheduler.development.js');\n}\n","// The module cache\nvar __webpack_module_cache__ = {};\n\n// The require function\nfunction __webpack_require__(moduleId) {\n\t// Check if module is in cache\n\tvar cachedModule = __webpack_module_cache__[moduleId];\n\tif (cachedModule !== undefined) {\n\t\treturn cachedModule.exports;\n\t}\n\t// Create a new module (and put it into the cache)\n\tvar module = __webpack_module_cache__[moduleId] = {\n\t\t// no module.id needed\n\t\t// no module.loaded needed\n\t\texports: {}\n\t};\n\n\t// Execute the module function\n\t__webpack_modules__[moduleId](module, module.exports, __webpack_require__);\n\n\t// Return the exports of the module\n\treturn module.exports;\n}\n\n// expose the modules object (__webpack_modules__)\n__webpack_require__.m = __webpack_modules__;\n\n","// getDefaultExport function for compatibility with non-harmony modules\n__webpack_require__.n = function(module) {\n\tvar getter = module && module.__esModule ?\n\t\tfunction() { return module['default']; } :\n\t\tfunction() { return module; };\n\t__webpack_require__.d(getter, { a: getter });\n\treturn getter;\n};","// define getter functions for harmony exports\n__webpack_require__.d = function(exports, definition) {\n\tfor(var key in definition) {\n\t\tif(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) {\n\t\t\tObject.defineProperty(exports, key, { enumerable: true, get: definition[key] });\n\t\t}\n\t}\n};","__webpack_require__.f = {};\n// This file contains only the entry chunk.\n// The chunk loading function for additional chunks\n__webpack_require__.e = function(chunkId) {\n\treturn Promise.all(Object.keys(__webpack_require__.f).reduce(function(promises, key) {\n\t\t__webpack_require__.f[key](chunkId, promises);\n\t\treturn promises;\n\t}, []));\n};","// This function allow to reference async chunks\n__webpack_require__.u = function(chunkId) {\n\t// return url for filenames based on template\n\treturn \"static/js/\" + {\"11\":\"reactPlayerFilePlayer\",\"55\":\"reactPlayerWistia\",\"121\":\"reactPlayerFacebook\",\"125\":\"reactPlayerSoundCloud\",\"216\":\"reactPlayerTwitch\",\"261\":\"reactPlayerKaltura\",\"439\":\"reactPlayerYouTube\",\"546\":\"reactPlayerStreamable\",\"596\":\"reactPlayerDailyMotion\",\"664\":\"reactPlayerPreview\",\"667\":\"reactPlayerMixcloud\",\"743\":\"reactPlayerVimeo\",\"888\":\"reactPlayerVidyard\"}[chunkId] + \".\" + {\"11\":\"ddeae111\",\"55\":\"c000dfbd\",\"121\":\"e7a6f596\",\"125\":\"00948ec5\",\"216\":\"45e29889\",\"261\":\"600da222\",\"439\":\"c5872fde\",\"546\":\"1b7ab26b\",\"596\":\"604f7531\",\"664\":\"ef7e27c0\",\"667\":\"a25b5beb\",\"743\":\"d95bae86\",\"888\":\"4d80ea6e\"}[chunkId] + \".chunk.js\";\n};","// This function allow to reference async chunks\n__webpack_require__.miniCssF = function(chunkId) {\n\t// return url for filenames based on template\n\treturn undefined;\n};","__webpack_require__.g = (function() {\n\tif (typeof globalThis === 'object') return globalThis;\n\ttry {\n\t\treturn this || new Function('return this')();\n\t} catch (e) {\n\t\tif (typeof window === 'object') return window;\n\t}\n})();","__webpack_require__.o = function(obj, prop) { return Object.prototype.hasOwnProperty.call(obj, prop); }","var inProgress = {};\nvar dataWebpackPrefix = \"react-typescript-chess-federation:\";\n// loadScript function to load a script via script tag\n__webpack_require__.l = function(url, done, key, chunkId) {\n\tif(inProgress[url]) { inProgress[url].push(done); return; }\n\tvar script, needAttach;\n\tif(key !== undefined) {\n\t\tvar scripts = document.getElementsByTagName(\"script\");\n\t\tfor(var i = 0; i < scripts.length; i++) {\n\t\t\tvar s = scripts[i];\n\t\t\tif(s.getAttribute(\"src\") == url || s.getAttribute(\"data-webpack\") == dataWebpackPrefix + key) { script = s; break; }\n\t\t}\n\t}\n\tif(!script) {\n\t\tneedAttach = true;\n\t\tscript = document.createElement('script');\n\n\t\tscript.charset = 'utf-8';\n\t\tscript.timeout = 120;\n\t\tif (__webpack_require__.nc) {\n\t\t\tscript.setAttribute(\"nonce\", __webpack_require__.nc);\n\t\t}\n\t\tscript.setAttribute(\"data-webpack\", dataWebpackPrefix + key);\n\t\tscript.src = url;\n\t}\n\tinProgress[url] = [done];\n\tvar onScriptComplete = function(prev, event) {\n\t\t// avoid mem leaks in IE.\n\t\tscript.onerror = script.onload = null;\n\t\tclearTimeout(timeout);\n\t\tvar doneFns = inProgress[url];\n\t\tdelete inProgress[url];\n\t\tscript.parentNode && script.parentNode.removeChild(script);\n\t\tdoneFns && doneFns.forEach(function(fn) { return fn(event); });\n\t\tif(prev) return prev(event);\n\t}\n\t;\n\tvar timeout = setTimeout(onScriptComplete.bind(null, undefined, { type: 'timeout', target: script }), 120000);\n\tscript.onerror = onScriptComplete.bind(null, script.onerror);\n\tscript.onload = onScriptComplete.bind(null, script.onload);\n\tneedAttach && document.head.appendChild(script);\n};","// define __esModule on exports\n__webpack_require__.r = function(exports) {\n\tif(typeof Symbol !== 'undefined' && Symbol.toStringTag) {\n\t\tObject.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });\n\t}\n\tObject.defineProperty(exports, '__esModule', { value: true });\n};","__webpack_require__.p = \"/\";","// no baseURI\n\n// object to store loaded and loading chunks\n// undefined = chunk not loaded, null = chunk preloaded/prefetched\n// [resolve, reject, Promise] = chunk loading, 0 = chunk loaded\nvar installedChunks = {\n\t179: 0\n};\n\n__webpack_require__.f.j = function(chunkId, promises) {\n\t\t// JSONP chunk loading for javascript\n\t\tvar installedChunkData = __webpack_require__.o(installedChunks, chunkId) ? installedChunks[chunkId] : undefined;\n\t\tif(installedChunkData !== 0) { // 0 means \"already installed\".\n\n\t\t\t// a Promise means \"currently loading\".\n\t\t\tif(installedChunkData) {\n\t\t\t\tpromises.push(installedChunkData[2]);\n\t\t\t} else {\n\t\t\t\tif(true) { // all chunks have JS\n\t\t\t\t\t// setup Promise in chunk cache\n\t\t\t\t\tvar promise = new Promise(function(resolve, reject) { installedChunkData = installedChunks[chunkId] = [resolve, reject]; });\n\t\t\t\t\tpromises.push(installedChunkData[2] = promise);\n\n\t\t\t\t\t// start chunk loading\n\t\t\t\t\tvar url = __webpack_require__.p + __webpack_require__.u(chunkId);\n\t\t\t\t\t// create error before stack unwound to get useful stacktrace later\n\t\t\t\t\tvar error = new Error();\n\t\t\t\t\tvar loadingEnded = function(event) {\n\t\t\t\t\t\tif(__webpack_require__.o(installedChunks, chunkId)) {\n\t\t\t\t\t\t\tinstalledChunkData = installedChunks[chunkId];\n\t\t\t\t\t\t\tif(installedChunkData !== 0) installedChunks[chunkId] = undefined;\n\t\t\t\t\t\t\tif(installedChunkData) {\n\t\t\t\t\t\t\t\tvar errorType = event && (event.type === 'load' ? 'missing' : event.type);\n\t\t\t\t\t\t\t\tvar realSrc = event && event.target && event.target.src;\n\t\t\t\t\t\t\t\terror.message = 'Loading chunk ' + chunkId + ' failed.\\n(' + errorType + ': ' + realSrc + ')';\n\t\t\t\t\t\t\t\terror.name = 'ChunkLoadError';\n\t\t\t\t\t\t\t\terror.type = errorType;\n\t\t\t\t\t\t\t\terror.request = realSrc;\n\t\t\t\t\t\t\t\tinstalledChunkData[1](error);\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t};\n\t\t\t\t\t__webpack_require__.l(url, loadingEnded, \"chunk-\" + chunkId, chunkId);\n\t\t\t\t} else installedChunks[chunkId] = 0;\n\t\t\t}\n\t\t}\n};\n\n// no prefetching\n\n// no preloaded\n\n// no HMR\n\n// no HMR manifest\n\n// no on chunks loaded\n\n// install a JSONP callback for chunk loading\nvar webpackJsonpCallback = function(parentChunkLoadingFunction, data) {\n\tvar chunkIds = data[0];\n\tvar moreModules = data[1];\n\tvar runtime = data[2];\n\t// add \"moreModules\" to the modules object,\n\t// then flag all \"chunkIds\" as loaded and fire callback\n\tvar moduleId, chunkId, i = 0;\n\tif(chunkIds.some(function(id) { return installedChunks[id] !== 0; })) {\n\t\tfor(moduleId in moreModules) {\n\t\t\tif(__webpack_require__.o(moreModules, moduleId)) {\n\t\t\t\t__webpack_require__.m[moduleId] = moreModules[moduleId];\n\t\t\t}\n\t\t}\n\t\tif(runtime) var result = runtime(__webpack_require__);\n\t}\n\tif(parentChunkLoadingFunction) parentChunkLoadingFunction(data);\n\tfor(;i < chunkIds.length; i++) {\n\t\tchunkId = chunkIds[i];\n\t\tif(__webpack_require__.o(installedChunks, chunkId) && installedChunks[chunkId]) {\n\t\t\tinstalledChunks[chunkId][0]();\n\t\t}\n\t\tinstalledChunks[chunkId] = 0;\n\t}\n\n}\n\nvar chunkLoadingGlobal = self[\"webpackChunkreact_typescript_chess_federation\"] = self[\"webpackChunkreact_typescript_chess_federation\"] || [];\nchunkLoadingGlobal.forEach(webpackJsonpCallback.bind(null, 0));\nchunkLoadingGlobal.push = webpackJsonpCallback.bind(null, chunkLoadingGlobal.push.bind(chunkLoadingGlobal));","export default function _arrayLikeToArray(arr, len) {\n if (len == null || len > arr.length) len = arr.length;\n\n for (var i = 0, arr2 = new Array(len); i < len; i++) {\n arr2[i] = arr[i];\n }\n\n return arr2;\n}","import arrayLikeToArray from \"./arrayLikeToArray.js\";\nexport default function _unsupportedIterableToArray(o, minLen) {\n if (!o) return;\n if (typeof o === \"string\") return arrayLikeToArray(o, minLen);\n var n = Object.prototype.toString.call(o).slice(8, -1);\n if (n === \"Object\" && o.constructor) n = o.constructor.name;\n if (n === \"Map\" || n === \"Set\") return Array.from(o);\n if (n === \"Arguments\" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return arrayLikeToArray(o, minLen);\n}","import arrayWithHoles from \"./arrayWithHoles.js\";\nimport iterableToArrayLimit from \"./iterableToArrayLimit.js\";\nimport unsupportedIterableToArray from \"./unsupportedIterableToArray.js\";\nimport nonIterableRest from \"./nonIterableRest.js\";\nexport default function _slicedToArray(arr, i) {\n return arrayWithHoles(arr) || iterableToArrayLimit(arr, i) || unsupportedIterableToArray(arr, i) || nonIterableRest();\n}","export default function _arrayWithHoles(arr) {\n if (Array.isArray(arr)) return arr;\n}","export default function _iterableToArrayLimit(arr, i) {\n var _i = arr == null ? null : typeof Symbol !== \"undefined\" && arr[Symbol.iterator] || arr[\"@@iterator\"];\n\n if (_i == null) return;\n var _arr = [];\n var _n = true;\n var _d = false;\n\n var _s, _e;\n\n try {\n for (_i = _i.call(arr); !(_n = (_s = _i.next()).done); _n = true) {\n _arr.push(_s.value);\n\n if (i && _arr.length === i) break;\n }\n } catch (err) {\n _d = true;\n _e = err;\n } finally {\n try {\n if (!_n && _i[\"return\"] != null) _i[\"return\"]();\n } finally {\n if (_d) throw _e;\n }\n }\n\n return _arr;\n}","export default function _nonIterableRest() {\n throw new TypeError(\"Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.\");\n}","export default function _extends() {\n _extends = Object.assign ? Object.assign.bind() : function (target) {\n for (var i = 1; i < arguments.length; i++) {\n var source = arguments[i];\n\n for (var key in source) {\n if (Object.prototype.hasOwnProperty.call(source, key)) {\n target[key] = source[key];\n }\n }\n }\n\n return target;\n };\n return _extends.apply(this, arguments);\n}","import * as React from \"react\";\nimport type { History, Location } from \"history\";\nimport { Action as NavigationType } from \"history\";\n\nimport type { RouteMatch } from \"./router\";\n\n/**\n * A Navigator is a \"location changer\"; it's how you get to different locations.\n *\n * Every history instance conforms to the Navigator interface, but the\n * distinction is useful primarily when it comes to the low-level {txt} {title} 1503014 1503014 1503014 1503014 1503014 1503014 {about[0].txt}
, the skeleton lines will all run together if\n // `width` is specified\n elements.push(React.createElement(React.Fragment, { key: i },\n skeletonSpan,\n React.createElement(\"br\", null)));\n }\n }\n return (React.createElement(\"span\", { className: containerClassName, \"data-testid\": containerTestId, \"aria-live\": \"polite\", \"aria-busy\": (_c = styleOptions.enableAnimation) !== null && _c !== void 0 ? _c : defaultEnableAnimation }, Wrapper\n ? elements.map((el, i) => React.createElement(Wrapper, { key: i }, el))\n : elements));\n}\n\nfunction SkeletonTheme({ children, ...styleOptions }) {\n return (React.createElement(SkeletonThemeContext.Provider, { value: styleOptions }, children));\n}\n\nexport { SkeletonTheme, Skeleton as default };\n","var _path;\n\nvar _excluded = [\"title\", \"titleId\"];\n\nfunction _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }\n\nfunction _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }\n\nfunction _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }\n\nimport * as React from \"react\";\n\nfunction SvgArrowLeftWhite(_ref, svgRef) {\n var title = _ref.title,\n titleId = _ref.titleId,\n props = _objectWithoutProperties(_ref, _excluded);\n\n return /*#__PURE__*/React.createElement(\"svg\", _extends({\n width: 15,\n height: 27,\n viewBox: \"0 0 15 27\",\n fill: \"none\",\n xmlns: \"http://www.w3.org/2000/svg\",\n ref: svgRef,\n \"aria-labelledby\": titleId\n }, props), title ? /*#__PURE__*/React.createElement(\"title\", {\n id: titleId\n }, title) : null, _path || (_path = /*#__PURE__*/React.createElement(\"path\", {\n d: \"M11.9311 26.625C11.651 26.6259 11.3742 26.5641 11.1212 26.4441C10.8681 26.324 10.6451 26.1488 10.4686 25.9312L1.41238 14.6812C1.1366 14.3457 0.98584 13.9249 0.98584 13.4906C0.98584 13.0563 1.1366 12.6355 1.41238 12.3L10.7874 1.05C11.1056 0.667094 11.563 0.426298 12.0588 0.380586C12.5546 0.334874 13.0482 0.48799 13.4311 0.80625C13.814 1.12451 14.0548 1.58184 14.1005 2.07764C14.1463 2.57344 13.9931 3.06709 13.6749 3.45L5.29363 13.5L13.3936 23.55C13.6229 23.8252 13.7686 24.1604 13.8133 24.5158C13.8581 24.8712 13.8001 25.232 13.6463 25.5555C13.4924 25.8789 13.2491 26.1516 12.9452 26.3411C12.6412 26.5307 12.2893 26.6292 11.9311 26.625Z\",\n fill: \"white\"\n })));\n}\n\nvar ForwardRef = /*#__PURE__*/React.forwardRef(SvgArrowLeftWhite);\nexport default __webpack_public_path__ + \"static/media/arrow-left-white.14644903323e17d2174454e9e496b1ca.svg\";\nexport { ForwardRef as ReactComponent };","var _path;\n\nvar _excluded = [\"title\", \"titleId\"];\n\nfunction _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }\n\nfunction _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }\n\nfunction _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }\n\nimport * as React from \"react\";\n\nfunction SvgArrowRightWhite(_ref, svgRef) {\n var title = _ref.title,\n titleId = _ref.titleId,\n props = _objectWithoutProperties(_ref, _excluded);\n\n return /*#__PURE__*/React.createElement(\"svg\", _extends({\n width: 15,\n height: 27,\n viewBox: \"0 0 15 27\",\n fill: \"none\",\n xmlns: \"http://www.w3.org/2000/svg\",\n ref: svgRef,\n \"aria-labelledby\": titleId\n }, props), title ? /*#__PURE__*/React.createElement(\"title\", {\n id: titleId\n }, title) : null, _path || (_path = /*#__PURE__*/React.createElement(\"path\", {\n d: \"M3.06875 0.375001C3.34887 0.374047 3.62564 0.43587 3.87872 0.555924C4.13181 0.675979 4.35478 0.851213 4.53125 1.06875L13.5875 12.3187C13.8633 12.6542 14.014 13.0751 14.014 13.5094C14.014 13.9437 13.8633 14.3645 13.5875 14.7L4.2125 25.95C3.89424 26.3329 3.43691 26.5737 2.94111 26.6194C2.44531 26.6651 1.95166 26.512 1.56875 26.1937C1.18584 25.8755 0.945049 25.4182 0.899338 24.9224C0.853625 24.4266 1.00674 23.9329 1.325 23.55L9.70625 13.5L1.60625 3.45C1.37697 3.17478 1.23133 2.83964 1.18655 2.48424C1.14178 2.12883 1.19975 1.76804 1.3536 1.44455C1.50746 1.12106 1.75076 0.848412 2.05472 0.658868C2.35867 0.469323 2.71056 0.370816 3.06875 0.375001Z\",\n fill: \"white\"\n })));\n}\n\nvar ForwardRef = /*#__PURE__*/React.forwardRef(SvgArrowRightWhite);\nexport default __webpack_public_path__ + \"static/media/arrow-right-white.5a7fa3b17a994216052a3d2bd4a1951e.svg\";\nexport { ForwardRef as ReactComponent };","export const hosting: string = \"http://tkf.com.tm\";\r\nexport const sliderDataUrl: string = hosting + \"/api/v1/sliders\";\r\nexport const partners: string = hosting + \"/api/v1/partners\";\r\nexport const postsMain: string =\r\n hosting + \"/api/v1/posts?locale=ru&per_page=6&sort_order=asc\";\r\n\r\nexport const postsAll: string =\r\n hosting + \"/api/v1/posts?locale=ru&per_page=15&sort_order=asc\";\r\n\r\nexport const postsAside: string =\r\n hosting + \"/api/v1/posts?locale=ru&per_page=4&sort_order=asc\";\r\n\r\nexport const post: string = hosting + \"/api/v1/posts\"; // /id ? locale\r\n\r\nexport const videos: string = hosting + \"/api/v1/videos\";\r\n\r\nexport const structure: string = hosting + \"/api/v1/structure\";\r\n\r\nexport const contacts: string = hosting + \"/api/v1/contact-info\";\r\n\r\nexport const about: string = hosting + \"/api/v1/about\";\r\n","// Modules\r\nimport { Link } from \"react-router-dom\";\r\n\r\n// Icons\r\nimport arrowNext from \"../../icons/arrow-right-white.svg\";\r\n\r\n// Types\r\nimport { SlideProps } from \"../../types/mainSliderSlide\";\r\n\r\n// URL\r\nimport { hosting } from \"../../links\";\r\n\r\nconst MainSliderSlide = ({ id, img, header, txt }: SlideProps) => {\r\n return (\r\n \r\n
{header}
\r\n \r\n
\r\n
\r\n
\r\n
{title}
\r\n \r\n \r\n {date}\r\n
\r\n
\r\n \r\n
\r\n \r\n \r\n {playersData.map((player, i) => {\r\n return (\r\n № \r\n ID \r\n Титул игрока \r\n Фамилия \r\n Имя \r\n Год рождения \r\n Классика \r\n Рапид \r\n Блиц \r\n \r\n {/* N_o */}\r\n \r\n );\r\n })}\r\n \r\n {i + 1} \r\n {player.id} \r\n {player.title} \r\n {player.surname} \r\n {player.name} \r\n {player.birth} \r\n {player.classical} \r\n {player.rapid} \r\n {player.blitz} \r\n \r\n
\r\n
\r\n
\r\n
\r\n
\r\n {\r\n setMonthSelect((initial) => !initial);\r\n setYearSelect(false);\r\n setSelectedDay({ day: -1, month: -1 });\r\n }}\r\n >\r\n {matchLocaleLang(currentMonth)}\r\n {\" \"}\r\n {\r\n setYearSelect((initial) => !initial);\r\n setMonthSelect(false);\r\n setSelectedDay({ day: -1, month: -1 });\r\n }}\r\n >\r\n {data[1] as number}\r\n \r\n
\r\n \r\n
\r\n \r\n
\r\n \r\n \r\n \r\n {sorted\r\n ? sorted.map((arr) => {\r\n if (arr.filter((x) => x === 0).length !== 7) {\r\n return (\r\n {daysLocale[0]} \r\n {daysLocale[1]} \r\n {daysLocale[2]} \r\n {daysLocale[3]} \r\n {daysLocale[4]} \r\n {daysLocale[5]} \r\n {daysLocale[6]} \r\n \r\n {arr.map((el) => {\r\n if (el !== 0) {\r\n if (\r\n today === el &&\r\n currentMonth === date.getMonth() &&\r\n currentYear === date.getFullYear()\r\n ) {\r\n return (\r\n \r\n );\r\n } else {\r\n return \"\";\r\n }\r\n })\r\n : \"\"}\r\n \r\n \r\n ) => {\r\n const target = e.target as HTMLElement;\r\n const span = target.innerText;\r\n setSelectedDay({\r\n day: parseInt(span),\r\n month: currentMonth,\r\n });\r\n }}\r\n >\r\n {el}\r\n \r\n );\r\n } else {\r\n return (\r\n \r\n
{`${el} ${matchLocaleLang(\r\n currentMonth\r\n )} ${currentYear}`}
\r\n Нет событий\r\n \r\n ) => {\r\n const target = e.target as HTMLElement;\r\n const span = target.innerText;\r\n setSelectedDay({\r\n day: parseInt(span),\r\n month: currentMonth,\r\n });\r\n }}\r\n >\r\n {el}\r\n \r\n );\r\n }\r\n } else {\r\n return \r\n
{`${el} ${matchLocaleLang(\r\n currentMonth\r\n )} ${currentYear}`}
\r\n Нет событий\r\n ;\r\n }\r\n })}\r\n \r\n
\r\n
Carlsen, Magnus
\r\n 2864
\r\n \r\n
Hou, Yifan
\r\n 2650
\r\n \r\n
Firouzja, Alireza
\r\n 2804
\r\n \r\n
Zhu, Jiner
\r\n 2464
\r\n \r\n
Carlsen, Magnus
\r\n Rating
\r\n {eventData.title}
\r\n \r\n
\r\n
\r\n
{about[0].header}
\r\n ) : (\r\n \r\n