{"id":1233,"date":"2023-04-09T18:44:21","date_gmt":"2023-04-09T15:44:21","guid":{"rendered":"https:\/\/notes.profidev.online\/?p=1233"},"modified":"2023-04-09T18:44:25","modified_gmt":"2023-04-09T15:44:25","slug":"rubiks-cube","status":"publish","type":"post","link":"https:\/\/notes.profidev.online\/ru\/other\/1233\/","title":{"rendered":"Rubik&#8217;s cube"},"content":{"rendered":"\n<figure class=\"wp-block-embed is-type-video is-provider-youtube wp-block-embed-youtube wp-embed-aspect-4-3 wp-has-aspect-ratio\"><div class=\"wp-block-embed__wrapper\">\n<iframe title=\"Rubik&#039;s cube\" width=\"640\" height=\"480\" src=\"https:\/\/www.youtube.com\/embed\/BK6AC8OJKBc?feature=oembed\" frameborder=\"0\" allow=\"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share\" referrerpolicy=\"strict-origin-when-cross-origin\" allowfullscreen><\/iframe>\n<\/div><\/figure>\n\n\n\n<div class=\"wp-block-codemirror-blocks-code-block code-block\"><pre class=\"CodeMirror\" data-setting=\"{&quot;showPanel&quot;:true,&quot;languageLabel&quot;:&quot;language&quot;,&quot;fullScreenButton&quot;:true,&quot;copyButton&quot;:true,&quot;mode&quot;:&quot;htmlmixed&quot;,&quot;mime&quot;:&quot;text\/html&quot;,&quot;theme&quot;:&quot;cobalt&quot;,&quot;lineNumbers&quot;:true,&quot;styleActiveLine&quot;:true,&quot;lineWrapping&quot;:true,&quot;readOnly&quot;:false,&quot;fileName&quot;:&quot;&quot;,&quot;TrpContentRestriction&quot;:{&quot;restriction_type&quot;:&quot;exclude&quot;,&quot;selected_languages&quot;:[],&quot;panel_open&quot;:true},&quot;language&quot;:&quot;HTML&quot;,&quot;maxHeight&quot;:&quot;400px&quot;,&quot;modeName&quot;:&quot;html&quot;}\">&lt;link rel=&quot;stylesheet&quot; href=&quot;https:\/\/fonts.googleapis.com\/icon?family=Material+Icons&quot;&gt;\n\n&lt;div class=&quot;body-wrapper&quot;&gt;\n\n    &lt;div class=&quot;cubetwo-help-component&quot;&gt;\n      &lt;div class=&quot;cubetwo-row&quot;&gt;\n        &lt;div class=&quot;cubetwo-device-info&quot;&gt;\n          &lt;i class=&quot;material-icons&quot;&gt;touch_app&lt;\/i&gt;\n          &lt;div&gt;tap or swipe with fingers&lt;\/div&gt;\n        &lt;\/div&gt;\n  \n        &lt;div class=&quot;cubetwo-device-info&quot;&gt;\n          &lt;i class=&quot;material-icons&quot;&gt;mouse&lt;\/i&gt;\n          &lt;div&gt;click or swipe with mouse&lt;\/div&gt;\n        &lt;\/div&gt;\n  \n        &lt;div class=&quot;cubetwo-device-info cubetwo-device-info--keyboard&quot;&gt;\n          &lt;i class=&quot;material-icons&quot;&gt;keyboard&lt;\/i&gt;\n          &lt;div&gt;keyboard keys&lt;\/div&gt;\n          &lt;div class=&quot;cubetwo-device-info-groups&quot;&gt;\n            &lt;div class=&quot;cubetwo-device-info-group&quot;&gt;\n              &lt;div&gt;\n                &lt;i class=&quot;material-icons&quot;&gt;keyboard_tab&lt;\/i&gt;\n                &lt;i class=&quot;material-icons&quot;&gt;keyboard_arrow_up&lt;\/i&gt;\n              &lt;\/div&gt;\n              &lt;div&gt;\n                &lt;i class=&quot;material-icons&quot;&gt;keyboard_arrow_left&lt;\/i&gt;\n                &lt;i class=&quot;material-icons&quot;&gt;keyboard_arrow_down&lt;\/i&gt;\n                &lt;i class=&quot;material-icons&quot;&gt;keyboard_arrow_right&lt;\/i&gt;\n              &lt;\/div&gt;\n            &lt;\/div&gt;\n  \n            &lt;div class=&quot;cubetwo-device-info-group&quot;&gt;\n              &lt;div&gt;\n                &lt;span&gt;q&lt;\/span&gt;\n                &lt;span&gt;w&lt;\/span&gt;\n                &lt;span&gt;e&lt;\/span&gt;\n              &lt;\/div&gt;\n              &lt;div&gt;\n                &lt;span&gt;a&lt;\/span&gt;\n                &lt;span&gt;s&lt;\/span&gt;\n                &lt;span&gt;d&lt;\/span&gt;\n              &lt;\/div&gt;\n              &lt;div&gt;\n                &lt;span&gt;x&lt;\/span&gt;\n                &lt;span&gt;y&lt;\/span&gt;\n                &lt;span&gt;z&lt;\/span&gt;\n              &lt;\/div&gt;\n  \n            &lt;\/div&gt;\n  \n          &lt;\/div&gt;\n        &lt;\/div&gt;\n      &lt;\/div&gt;\n  \n      &lt;a href=&quot;https:\/\/github.com\/kunukn\/cube-two&quot; target=&quot;_blank&quot; class=&quot;cubetwo-github-link&quot;&gt;github project&lt;\/a&gt;\n    &lt;\/div&gt;\n  \n    &lt;div class=&quot;cubetwo-menu-component&quot;&gt;\n      &lt;div class=&quot;cubetwo-row&quot;&gt;\n        &lt;button class=&quot;cubetwo-js cubetwo-btn cubetwo-btn-scramble&quot;&gt;scramble&lt;\/button&gt;\n        &lt;button class=&quot;cubetwo-js cubetwo-btn cubetwo-btn-spin&quot;&gt;spin&lt;\/button&gt;\n        &lt;button class=&quot;cubetwo-js cubetwo-btn cubetwo-btn-solve&quot;&gt;solve&lt;\/button&gt;\n      &lt;\/div&gt;\n    &lt;\/div&gt;\n \n    &lt;div class=&quot;cubetwo-component&quot; id=&quot;cubetwo-component-1&quot;&gt;\n  \n      &lt;div class=&quot;cubetwo-rotation-view&quot;&gt;\n  \n        &lt;div class=&quot;cubetwo-cube-group cubetwo-cube-group--1&quot;&gt;\n  \n          &lt;div class=&quot;cubetwo-cube-1&quot; tabindex=&quot;0&quot; data-type=&quot;cubetwo&quot;&gt;\n  \n            &lt;div class=&quot;cubetwo-cube&quot; data-type=&quot;cubetwo-display&quot; data-index=&quot;1&quot;&gt;\n              &lt;div data-type=&quot;front&quot;&gt;\n                &lt;div&gt;front&lt;\/div&gt;\n              &lt;\/div&gt;\n              &lt;div data-type=&quot;up&quot;&gt;\n                &lt;div&gt;up&lt;\/div&gt;\n              &lt;\/div&gt;\n              &lt;div data-type=&quot;right&quot;&gt;\n                &lt;div&gt;right&lt;\/div&gt;\n              &lt;\/div&gt;\n              &lt;div data-type=&quot;back&quot;&gt;\n                &lt;div&gt;back&lt;\/div&gt;\n              &lt;\/div&gt;\n              &lt;div data-type=&quot;down&quot;&gt;\n                &lt;div&gt;down&lt;\/div&gt;\n              &lt;\/div&gt;\n              &lt;div data-type=&quot;left&quot;&gt;\n                &lt;div&gt;left&lt;\/div&gt;\n              &lt;\/div&gt;\n            &lt;\/div&gt;\n            &lt;div class=&quot;cubetwo-cube&quot; data-type=&quot;cubetwo-touch&quot;&gt;\n              &lt;div data-type=&quot;front&quot;&gt;touch front&lt;\/div&gt;\n              &lt;div data-type=&quot;up&quot;&gt;touch up&lt;\/div&gt;\n              &lt;div data-type=&quot;left&quot;&gt;touch left&lt;\/div&gt;\n            &lt;\/div&gt;\n          &lt;\/div&gt;\n  \n          &lt;div class=&quot;cubetwo-cube-2&quot; tabindex=&quot;0&quot; data-type=&quot;cubetwo&quot;&gt;\n  \n            &lt;div class=&quot;cubetwo-cube&quot; data-type=&quot;cubetwo-display&quot; data-index=&quot;2&quot;&gt;\n              &lt;div data-type=&quot;front&quot;&gt;\n                &lt;div&gt;front&lt;\/div&gt;\n              &lt;\/div&gt;\n              &lt;div data-type=&quot;up&quot;&gt;\n                &lt;div&gt;up&lt;\/div&gt;\n              &lt;\/div&gt;\n              &lt;div data-type=&quot;right&quot;&gt;\n                &lt;div&gt;right&lt;\/div&gt;\n              &lt;\/div&gt;\n              &lt;div data-type=&quot;back&quot;&gt;\n                &lt;div&gt;back&lt;\/div&gt;\n              &lt;\/div&gt;\n              &lt;div data-type=&quot;down&quot;&gt;\n                &lt;div&gt;down&lt;\/div&gt;\n              &lt;\/div&gt;\n              &lt;div data-type=&quot;left&quot;&gt;\n                &lt;div&gt;left&lt;\/div&gt;\n              &lt;\/div&gt;\n            &lt;\/div&gt;\n            &lt;div class=&quot;cubetwo-cube&quot; data-type=&quot;cubetwo-touch&quot;&gt;\n              &lt;div data-type=&quot;front&quot;&gt;touch front&lt;\/div&gt;\n              &lt;div data-type=&quot;up&quot;&gt;touch up&lt;\/div&gt;\n              &lt;div data-type=&quot;right&quot;&gt;touch right&lt;\/div&gt;\n            &lt;\/div&gt;\n          &lt;\/div&gt;\n  \n          &lt;div class=&quot;cubetwo-cube-3&quot; tabindex=&quot;0&quot; data-type=&quot;cubetwo&quot;&gt;\n  \n            &lt;div class=&quot;cubetwo-cube&quot; data-type=&quot;cubetwo-display&quot; data-index=&quot;3&quot;&gt;\n              &lt;div data-type=&quot;front&quot;&gt;\n                &lt;div&gt;front&lt;\/div&gt;\n              &lt;\/div&gt;\n              &lt;div data-type=&quot;up&quot;&gt;\n                &lt;div&gt;up&lt;\/div&gt;\n              &lt;\/div&gt;\n              &lt;div data-type=&quot;right&quot;&gt;\n                &lt;div&gt;right&lt;\/div&gt;\n              &lt;\/div&gt;\n              &lt;div data-type=&quot;back&quot;&gt;\n                &lt;div&gt;back&lt;\/div&gt;\n              &lt;\/div&gt;\n              &lt;div data-type=&quot;down&quot;&gt;\n                &lt;div&gt;down&lt;\/div&gt;\n              &lt;\/div&gt;\n              &lt;div data-type=&quot;left&quot;&gt;\n                &lt;div&gt;left&lt;\/div&gt;\n              &lt;\/div&gt;\n            &lt;\/div&gt;\n            &lt;div class=&quot;cubetwo-cube&quot; data-type=&quot;cubetwo-touch&quot;&gt;\n              &lt;div data-type=&quot;front&quot;&gt;touch front&lt;\/div&gt;\n              &lt;div data-type=&quot;left&quot;&gt;touch left&lt;\/div&gt;\n              &lt;div data-type=&quot;down&quot;&gt;touch down&lt;\/div&gt;\n            &lt;\/div&gt;\n          &lt;\/div&gt;\n  \n          &lt;div class=&quot;cubetwo-cube-4&quot; tabindex=&quot;0&quot; data-type=&quot;cubetwo&quot;&gt;\n  \n            &lt;div class=&quot;cubetwo-cube&quot; data-type=&quot;cubetwo-display&quot; data-index=&quot;4&quot;&gt;\n              &lt;div data-type=&quot;front&quot;&gt;\n                &lt;div&gt;front&lt;\/div&gt;\n              &lt;\/div&gt;\n              &lt;div data-type=&quot;up&quot;&gt;\n                &lt;div&gt;up&lt;\/div&gt;\n              &lt;\/div&gt;\n              &lt;div data-type=&quot;right&quot;&gt;\n                &lt;div&gt;right&lt;\/div&gt;\n              &lt;\/div&gt;\n              &lt;div data-type=&quot;back&quot;&gt;\n                &lt;div&gt;back&lt;\/div&gt;\n              &lt;\/div&gt;\n              &lt;div data-type=&quot;down&quot;&gt;\n                &lt;div&gt;down&lt;\/div&gt;\n              &lt;\/div&gt;\n              &lt;div data-type=&quot;left&quot;&gt;\n                &lt;div&gt;left&lt;\/div&gt;\n              &lt;\/div&gt;\n            &lt;\/div&gt;\n            &lt;div class=&quot;cubetwo-cube&quot; data-type=&quot;cubetwo-touch&quot;&gt;\n              &lt;div data-type=&quot;front&quot;&gt;touch front&lt;\/div&gt;\n              &lt;div data-type=&quot;right&quot;&gt;touch right&lt;\/div&gt;\n              &lt;div data-type=&quot;down&quot;&gt;touch down&lt;\/div&gt;\n            &lt;\/div&gt;\n          &lt;\/div&gt;\n  \n        &lt;\/div&gt;\n  \n        &lt;div class=&quot;cubetwo-cube-group cubetwo-cube-group--2&quot;&gt;\n  \n          &lt;div class=&quot;cubetwo-cube-5&quot; tabindex=&quot;0&quot; data-type=&quot;cubetwo&quot;&gt;\n  \n            &lt;div class=&quot;cubetwo-cube&quot; data-type=&quot;cubetwo-display&quot; data-index=&quot;5&quot;&gt;\n              &lt;div data-type=&quot;front&quot;&gt;\n                &lt;div&gt;front&lt;\/div&gt;\n              &lt;\/div&gt;\n              &lt;div data-type=&quot;up&quot;&gt;\n                &lt;div&gt;up&lt;\/div&gt;\n              &lt;\/div&gt;\n              &lt;div data-type=&quot;right&quot;&gt;\n                &lt;div&gt;right&lt;\/div&gt;\n              &lt;\/div&gt;\n              &lt;div data-type=&quot;back&quot;&gt;\n                &lt;div&gt;back&lt;\/div&gt;\n              &lt;\/div&gt;\n              &lt;div data-type=&quot;down&quot;&gt;\n                &lt;div&gt;down&lt;\/div&gt;\n              &lt;\/div&gt;\n              &lt;div data-type=&quot;left&quot;&gt;\n                &lt;div&gt;left&lt;\/div&gt;\n              &lt;\/div&gt;\n            &lt;\/div&gt;\n            &lt;div class=&quot;cubetwo-cube&quot; data-type=&quot;cubetwo-touch&quot;&gt;\n              &lt;div data-type=&quot;up&quot;&gt;touch up&lt;\/div&gt;\n              &lt;div data-type=&quot;left&quot;&gt;touch left&lt;\/div&gt;\n              &lt;div data-type=&quot;back&quot;&gt;touch back&lt;\/div&gt;\n            &lt;\/div&gt;\n          &lt;\/div&gt;\n   \n          &lt;div class=&quot;cubetwo-cube-6&quot; tabindex=&quot;0&quot; data-type=&quot;cubetwo&quot;&gt;\n  \n            &lt;div class=&quot;cubetwo-cube&quot; data-type=&quot;cubetwo-display&quot; data-index=&quot;6&quot;&gt;\n              &lt;div data-type=&quot;front&quot;&gt;\n                &lt;div&gt;front&lt;\/div&gt;\n              &lt;\/div&gt;\n              &lt;div data-type=&quot;up&quot;&gt;\n                &lt;div&gt;up&lt;\/div&gt;\n              &lt;\/div&gt;\n              &lt;div data-type=&quot;right&quot;&gt;\n                &lt;div&gt;right&lt;\/div&gt;\n              &lt;\/div&gt;\n              &lt;div data-type=&quot;back&quot;&gt;\n                &lt;div&gt;back&lt;\/div&gt;\n              &lt;\/div&gt;\n              &lt;div data-type=&quot;down&quot;&gt;\n                &lt;div&gt;down&lt;\/div&gt;\n              &lt;\/div&gt;\n              &lt;div data-type=&quot;left&quot;&gt;\n                &lt;div&gt;left&lt;\/div&gt;\n              &lt;\/div&gt;\n            &lt;\/div&gt;\n            &lt;div class=&quot;cubetwo-cube&quot; data-type=&quot;cubetwo-touch&quot;&gt;\n              &lt;div data-type=&quot;up&quot;&gt;touch up&lt;\/div&gt;\n              &lt;div data-type=&quot;right&quot;&gt;touch right&lt;\/div&gt;\n              &lt;div data-type=&quot;back&quot;&gt;touch back&lt;\/div&gt;\n            &lt;\/div&gt;\n          &lt;\/div&gt;\n    \n          &lt;div class=&quot;cubetwo-cube-7&quot; tabindex=&quot;0&quot; data-type=&quot;cubetwo&quot;&gt;\n  \n            &lt;div class=&quot;cubetwo-cube&quot; data-type=&quot;cubetwo-display&quot; data-index=&quot;7&quot;&gt;\n              &lt;div data-type=&quot;front&quot;&gt;\n                &lt;div&gt;front&lt;\/div&gt;\n              &lt;\/div&gt;\n              &lt;div data-type=&quot;up&quot;&gt;\n                &lt;div&gt;up&lt;\/div&gt;\n              &lt;\/div&gt;\n              &lt;div data-type=&quot;right&quot;&gt;\n                &lt;div&gt;right&lt;\/div&gt;\n              &lt;\/div&gt;\n              &lt;div data-type=&quot;back&quot;&gt;\n                &lt;div&gt;back&lt;\/div&gt;\n              &lt;\/div&gt;\n              &lt;div data-type=&quot;down&quot;&gt;\n                &lt;div&gt;down&lt;\/div&gt;\n              &lt;\/div&gt;\n              &lt;div data-type=&quot;left&quot;&gt;\n                &lt;div&gt;left&lt;\/div&gt;\n              &lt;\/div&gt;\n            &lt;\/div&gt;\n            &lt;div class=&quot;cubetwo-cube&quot; data-type=&quot;cubetwo-touch&quot;&gt;\n              &lt;div data-type=&quot;left&quot;&gt;touch left&lt;\/div&gt;\n              &lt;div data-type=&quot;back&quot;&gt;touch back&lt;\/div&gt;\n              &lt;div data-type=&quot;down&quot;&gt;touch down&lt;\/div&gt;\n            &lt;\/div&gt;\n          &lt;\/div&gt;\n  \n  \n          &lt;div class=&quot;cubetwo-cube-8&quot; tabindex=&quot;0&quot; data-type=&quot;cubetwo&quot;&gt;\n  \n            &lt;div class=&quot;cubetwo-cube&quot; data-type=&quot;cubetwo-display&quot; data-index=&quot;8&quot;&gt;\n              &lt;div data-type=&quot;front&quot;&gt;\n                &lt;div&gt;front&lt;\/div&gt;\n              &lt;\/div&gt;\n              &lt;div data-type=&quot;up&quot;&gt;\n                &lt;div&gt;up&lt;\/div&gt;\n              &lt;\/div&gt;\n              &lt;div data-type=&quot;right&quot;&gt;\n                &lt;div&gt;right&lt;\/div&gt;\n              &lt;\/div&gt;\n              &lt;div data-type=&quot;back&quot;&gt;\n                &lt;div&gt;back&lt;\/div&gt;\n              &lt;\/div&gt;\n              &lt;div data-type=&quot;down&quot;&gt;\n                &lt;div&gt;down&lt;\/div&gt;\n              &lt;\/div&gt;\n              &lt;div data-type=&quot;left&quot;&gt;\n                &lt;div&gt;left&lt;\/div&gt;\n              &lt;\/div&gt;\n            &lt;\/div&gt;\n            &lt;div class=&quot;cubetwo-cube&quot; data-type=&quot;cubetwo-touch&quot;&gt;\n              &lt;div data-type=&quot;right&quot;&gt;touch right&lt;\/div&gt;\n              &lt;div data-type=&quot;back&quot;&gt;touch back&lt;\/div&gt;\n              &lt;div data-type=&quot;down&quot;&gt;touch down&lt;\/div&gt;\n            &lt;\/div&gt;\n          &lt;\/div&gt;\n  \n        &lt;\/div&gt;\n      &lt;\/div&gt;\n  \n      &lt;div class=&quot;cubetwo-button-grid cubetwo-row-top&quot;&gt;\n        &lt;button class=&quot;cubetwo-js cubetwo-btn-top-left cubetwo-btn-adjust&quot;&gt;&lt;i class=&quot;material-icons&quot; aria-hidden=&quot;true&quot;&gt;&amp;#xE39E;&lt;\/i&gt;&lt;\/button&gt;\n        &lt;button class=&quot;cubetwo-js cubetwo-btn-top-center&quot; aria-label=&quot;rotate up&quot;&gt;&lt;i class=&quot;material-icons&quot; aria-hidden=&quot;true&quot;&gt;&amp;#xE5D8;&lt;\/i&gt;&lt;\/button&gt;\n        &lt;button class=&quot;cubetwo-js cubetwo-btn-top-right cubetwo-btn-adjust&quot;&gt;&lt;i class=&quot;material-icons&quot; aria-hidden=&quot;true&quot;&gt;&amp;#xE39E;&lt;\/i&gt;&lt;\/button&gt;\n      &lt;\/div&gt;\n      &lt;div class=&quot;cubetwo-button-grid cubetwo-column-left&quot;&gt;\n        &lt;div&gt;&lt;\/div&gt;\n        &lt;div&gt;\n          &lt;button class=&quot;cubetwo-js cubetwo-btn-rotate-left-2x&quot; aria-label=&quot;rotate left 2&quot;&gt;&lt;i class=&quot;material-icons&quot; aria-hidden=&quot;true&quot;&gt;&amp;#xE419;&lt;\/i&gt;&lt;\/button&gt;\n          &lt;button class=&quot;cubetwo-js cubetwo-btn-rotate-left&quot; aria-label=&quot;rotate left&quot;&gt;&lt;i class=&quot;material-icons&quot; aria-hidden=&quot;true&quot;&gt;&amp;#xE5C4;&lt;\/i&gt;&lt;\/button&gt;\n          &lt;button class=&quot;cubetwo-js cubetwo-btn-toggle cubetwo-btn-help&quot;&gt;&lt;i class=&quot;material-icons&quot;&gt;&amp;#xE8FD;&lt;\/i&gt;&lt;\/button&gt;\n        &lt;\/div&gt;\n        &lt;div&gt;&lt;\/div&gt;\n      &lt;\/div&gt;\n      &lt;div class=&quot;cubetwo-button-grid cubetwo-column-right&quot;&gt;\n        &lt;div&gt;&lt;\/div&gt;\n        &lt;div&gt;\n          &lt;button class=&quot;cubetwo-js cubetwo-btn-rotate-right-2x&quot; aria-label=&quot;rotate right 2&quot;&gt;&lt;i class=&quot;material-icons&quot; aria-hidden=&quot;true&quot;&gt;&amp;#xE41A;&lt;\/i&gt;&lt;\/button&gt;\n          &lt;button class=&quot;cubetwo-js cubetwo-btn-rotate-right&quot; aria-label=&quot;rotate right&quot;&gt;&lt;i class=&quot;material-icons&quot; aria-hidden=&quot;true&quot;&gt;&amp;#xE5C8;&lt;\/i&gt;&lt;\/button&gt;\n          &lt;button class=&quot;cubetwo-js cubetwo-btn-toggle cubetwo-btn-menu&quot; aria-label=&quot;menu&quot;&gt;&lt;i class=&quot;material-icons&quot; aria-hidden=&quot;true&quot;&gt;&amp;#xE5D2;&lt;\/i&gt;&lt;\/button&gt;\n        &lt;\/div&gt;\n        &lt;div&gt;&lt;\/div&gt;\n      &lt;\/div&gt;\n   \n      &lt;div class=&quot;cubetwo-button-grid cubetwo-row-bottom&quot;&gt;\n        &lt;button class=&quot;cubetwo-js cubetwo-btn-bottom-left cubetwo-btn-adjust&quot;&gt;&lt;i class=&quot;material-icons&quot; aria-hidden=&quot;true&quot;&gt;&amp;#xE39E;&lt;\/i&gt;&lt;\/button&gt;\n        &lt;button class=&quot;cubetwo-js cubetwo-btn-bottom-center&quot; aria-label=&quot;rotate down&quot;&gt;&lt;i class=&quot;material-icons&quot; aria-hidden=&quot;true&quot;&gt;&amp;#xE5DB;&lt;\/i&gt;&lt;\/button&gt;\n        &lt;button class=&quot;cubetwo-js cubetwo-btn-bottom-right cubetwo-btn-adjust&quot;&gt;&lt;i class=&quot;material-icons&quot; aria-hidden=&quot;true&quot;&gt;&amp;#xE39E;&lt;\/i&gt;&lt;\/button&gt;\n      &lt;\/div&gt;\n  \n    &lt;\/div&gt;\n\n  &lt;script src=&quot;https:\/\/cdnjs.cloudflare.com\/ajax\/libs\/hammer.js\/2.0.8\/hammer.min.js&quot;&gt;&lt;\/script&gt;<\/pre><\/div>\n\n\n\n<div class=\"wp-block-codemirror-blocks-code-block code-block\"><pre class=\"CodeMirror\" data-setting=\"{&quot;showPanel&quot;:true,&quot;languageLabel&quot;:&quot;language&quot;,&quot;fullScreenButton&quot;:true,&quot;copyButton&quot;:true,&quot;mode&quot;:&quot;css&quot;,&quot;mime&quot;:&quot;text\/css&quot;,&quot;theme&quot;:&quot;cobalt&quot;,&quot;lineNumbers&quot;:true,&quot;styleActiveLine&quot;:true,&quot;lineWrapping&quot;:true,&quot;readOnly&quot;:false,&quot;fileName&quot;:&quot;&quot;,&quot;TrpContentRestriction&quot;:{&quot;restriction_type&quot;:&quot;exclude&quot;,&quot;selected_languages&quot;:[],&quot;panel_open&quot;:true},&quot;language&quot;:&quot;CSS&quot;,&quot;maxHeight&quot;:&quot;400px&quot;,&quot;modeName&quot;:&quot;css&quot;}\">*,\n:after,\n:before {\n  box-sizing: border-box\n}\n\na,\nbutton {\n  -webkit-tap-highlight-color: transparent;\n  cursor: pointer\n}\n\nbutton {\n  margin: 0;\n  padding: 4px;\n  background: #111;\n  border: 1px solid #add8e6;\n  border: 0;\n  color: #add8e6;\n  box-shadow: 2px 2px 4px gray;\n  outline: none;\n  transition: background .2s;\n  border-radius: 0;\n  font-size: 0;\n  box-shadow: none;\n  background: transparent;\n  border-radius: 50%\n}\n\nbutton:focus {\n  box-shadow: 2px 2px 1rem #add8e6\n}\n\nbutton.cubetwo-active {\n  background: hsla(0, 0%, 100%, .2)\n}\n\nbutton.cubetwo-btn-adjust {\n  opacity: .2\n}\n\n.cubetwo-help-component,\n.cubetwo-menu-component {\n  z-index: 2;\n  transition: transform .2s;\n  position: fixed;\n  display: flex;\n  transform: translateY(-50vh);\n  justify-content: center;\n  flex-direction: column;\n  top: 0;\n  left: 0;\n  width: 100%;\n  min-height: 25vh;\n  border-bottom: 1px solid hsla(0, 0%, 100%, .2);\n  padding: .5em 0 4em;\n  color: #fff;\n  background: hsla(0, 0%, 7%, .96);\n  font-size: .8rem\n}\n\n.cubetwo-help-component.cubetwo-show-dialog,\n.cubetwo-menu-component.cubetwo-show-dialog {\n  transform: translateY(0)\n}\n\n@media (min-width:600px) {\n  .cubetwo-help-component,\n  .cubetwo-menu-component {\n    font-size: 1.2rem\n  }\n}\n\n.cubetwo-help-component&gt;.cubetwo-github-link,\n.cubetwo-menu-component&gt;.cubetwo-github-link {\n  position: absolute;\n  bottom: 1rem;\n  right: 1rem;\n  transition: .2s;\n  color: hsla(0, 0%, 100%, .5)\n}\n\n.cubetwo-help-component&gt;.cubetwo-github-link:focus,\n.cubetwo-menu-component&gt;.cubetwo-github-link:focus {\n  color: #add8e6\n}\n\n.cubetwo-help-component .cubetwo-row,\n.cubetwo-menu-component .cubetwo-row {\n  padding: .1em 0;\n  margin: 0 auto;\n  max-width: 40rem;\n  display: flex;\n  justify-content: space-between;\n  align-items: flex-start;\n  flex-grow: 1;\n  width: 100%;\n  transition: .2s;\n  font-size: .8em\n}\n\n.cubetwo-help-component .cubetwo-device-info,\n.cubetwo-menu-component .cubetwo-device-info {\n  text-align: center\n}\n\n.cubetwo-help-component .cubetwo-device-info--keyboard .cubetwo-device-info-groups,\n.cubetwo-menu-component .cubetwo-device-info--keyboard .cubetwo-device-info-groups {\n  display: flex\n}\n\n.cubetwo-help-component .cubetwo-device-info--keyboard .cubetwo-device-info-group,\n.cubetwo-menu-component .cubetwo-device-info--keyboard .cubetwo-device-info-group {\n  display: flex;\n  flex-direction: column\n}\n\n.cubetwo-help-component .cubetwo-device-info--keyboard .cubetwo-device-info-group&gt;div,\n.cubetwo-menu-component .cubetwo-device-info--keyboard .cubetwo-device-info-group&gt;div {\n  display: flex;\n  flex-direction: row\n}\n\n.cubetwo-help-component .cubetwo-device-info--keyboard .cubetwo-device-info-group&gt;div i,\n.cubetwo-help-component .cubetwo-device-info--keyboard .cubetwo-device-info-group&gt;div span,\n.cubetwo-menu-component .cubetwo-device-info--keyboard .cubetwo-device-info-group&gt;div i,\n.cubetwo-menu-component .cubetwo-device-info--keyboard .cubetwo-device-info-group&gt;div span {\n  font-size: inherit;\n  display: inline-block;\n  position: relative;\n  min-width: 1.4em\n}\n\n.cubetwo-menu-component .cubetwo-row {\n  justify-content: center;\n  align-items: center\n}\n\n.cubetwo-menu-component .cubetwo-btn {\n  font-size: 1rem;\n  border-radius: 0;\n  border: 1px solid #add8e6;\n  margin: 0 1rem;\n  padding: .5rem;\n  border-radius: 2px\n}\n\n.cubetwo-component {\n  display: flex;\n  justify-content: center;\n  align-items: center;\n  width: 100vmin;\n  height: 100vmin;\n  max-width: 100%;\n  margin: 0 auto;\n  position: relative;\n  overflow-x: hidden\n}\n\n.cubetwo-component.cubetwo-border-on-display-cubes [data-type=cubetwo] [data-type=cubetwo-display]&gt;div {\n  border: 1px solid #111\n}\n\n.cubetwo-component.cubetwo-backface-visibility-hidden-on-display-cubes [data-type=cubetwo] [data-type=cubetwo-display]&gt;div {\n  backface-visibility: hidden\n}\n\n.cubetwo-component.cubetwo-background-blend-mode-on-display-cubes [data-type=cubetwo] [data-type=cubetwo-display]&gt;div&gt;div {\n  background-blend-mode: multiply\n}\n\n.cubetwo-component&gt;.cubetwo-button-grid {\n  padding: .5rem\n}\n\n.cubetwo-component&gt;.cubetwo-button-grid button {\n  display: block\n}\n\n.cubetwo-component&gt;.cubetwo-button-grid .cubetwo-button-space {\n  min-height: 32px;\n  margin-bottom: 1rem\n}\n\n.cubetwo-component&gt;.cubetwo-column-left,\n.cubetwo-component&gt;.cubetwo-column-right {\n  position: absolute;\n  top: 0;\n  left: 0;\n  height: 100%;\n  display: flex;\n  justify-content: space-between;\n  align-items: center\n}\n\n.cubetwo-component&gt;.cubetwo-column-left button,\n.cubetwo-component&gt;.cubetwo-column-right button {\n  margin-bottom: 1rem\n}\n\n@media (min-width:600px) {\n  .cubetwo-component&gt;.cubetwo-column-left button,\n  .cubetwo-component&gt;.cubetwo-column-right button {\n    margin-bottom: 2rem\n  }\n}\n\n.cubetwo-component&gt;.cubetwo-column-right {\n  left: auto;\n  right: 0\n}\n\n.cubetwo-component&gt;.cubetwo-row-bottom,\n.cubetwo-component&gt;.cubetwo-row-top {\n  z-index: 1;\n  position: absolute;\n  top: 0;\n  left: 0;\n  width: 100%;\n  display: flex;\n  justify-content: space-between;\n  align-items: center\n}\n\n.cubetwo-component&gt;.cubetwo-row-bottom {\n  top: auto;\n  bottom: 0\n}\n\n.cubetwo-rotation-view {\n  transition: transform .19s cubic-bezier(.4, 0, .2, 1);\n  width: 50vmin;\n  height: 50vmin;\n  max-width: 100%;\n  perspective: 5000px;\n  position: relative;\n  transform-style: preserve-3d;\n  transform: rotateX(-20deg) rotateY(-30deg) rotate(0deg)\n}\n\n.cubetwo-rotation-view.spin {\n  animation: spin-animation 16s linear infinite\n}\n\n.cubetwo-rotation-view .cubetwo-cube-group {\n  width: 50vmin;\n  height: 50vmin;\n  position: absolute;\n  top: 0;\n  left: 0;\n  transform-style: preserve-3d\n}\n\n.cubetwo-cube-1,\n.cubetwo-cube-5 {\n  position: absolute;\n  top: 0;\n  left: 0\n}\n\n.cubetwo-cube-2,\n.cubetwo-cube-6 {\n  position: absolute;\n  top: 0;\n  right: 0\n}\n\n.cubetwo-cube-3,\n.cubetwo-cube-7 {\n  position: absolute;\n  bottom: 0;\n  left: 0\n}\n\n.cubetwo-cube-4,\n.cubetwo-cube-8 {\n  position: absolute;\n  bottom: 0;\n  right: 0\n}\n\n[data-type=cubetwo] {\n  width: 25vmin;\n  height: 25vmin;\n  transform-style: preserve-3d;\n  font-size: 1rem\n}\n\n[data-type=cubetwo]:focus {\n  outline: none\n}\n\n[data-type=cubetwo]:focus .cubetwo-cube[data-type=cubetwo-display]&gt;div {\n  border-color: #add8e6\n}\n\n[data-type=cubetwo] .cubetwo-cube {\n  width: inherit;\n  height: inherit;\n  transform-style: preserve-3d\n}\n\n[data-type=cubetwo] .cubetwo-cube [data-type=front] {\n  transform: translateZ(25vmin)\n}\n\n[data-type=cubetwo] .cubetwo-cube [data-type=up] {\n  transform: rotateX(-90deg) rotateY(180deg) rotate(180deg);\n  transform-origin: top center\n}\n\n[data-type=cubetwo] .cubetwo-cube [data-type=right] {\n  transform: rotateY(-270deg);\n  transform-origin: top right\n}\n\n[data-type=cubetwo] .cubetwo-cube [data-type=back] {\n  transform: rotateY(180deg)\n}\n\n[data-type=cubetwo] .cubetwo-cube [data-type=down] {\n  transform: rotateX(90deg) rotateY(180deg) rotate(180deg);\n  transform-origin: bottom center\n}\n\n[data-type=cubetwo] .cubetwo-cube [data-type=left] {\n  transform: rotateY(270deg);\n  transform-origin: center left\n}\n\n[data-type=cubetwo] .cubetwo-cube[data-type=cubetwo-display] {\n  transition: transform .19s cubic-bezier(.4, 0, .2, 1);\n  user-select: none;\n  pointer-events: none;\n  position: relative\n}\n\n[data-type=cubetwo] .cubetwo-cube[data-type=cubetwo-display]&gt;div {\n  user-select: none;\n  position: absolute;\n  width: inherit;\n  height: inherit;\n  text-transform: uppercase;\n  display: flex;\n  justify-content: center;\n  align-items: center;\n  font-size: 0;\n  color: transparent\n}\n\n[data-type=cubetwo] .cubetwo-cube[data-type=cubetwo-display]&gt;div&gt;div {\n  color: #111;\n  position: absolute;\n  width: 100%;\n  height: 100%;\n  left: 0;\n  top: 0;\n  background-color: hsla(0, 0%, 100%, .9);\n  background-position: 50%;\n  background-size: contain;\n  background-repeat: no-repeat\n}\n\n[data-type=cubetwo] .cubetwo-cube[data-type=cubetwo-touch] {\n  width: inherit;\n  height: inherit;\n  position: absolute;\n  top: 0;\n  left: 0\n}\n\n[data-type=cubetwo] .cubetwo-cube[data-type=cubetwo-touch]&gt;div {\n  position: absolute;\n  top: 0;\n  left: 0;\n  width: inherit;\n  height: inherit;\n  backface-visibility: hidden;\n  z-index: 1;\n  display: flex;\n  justify-content: center;\n  align-items: start;\n  color: #222;\n  color: transparent;\n  cursor: pointer;\n  background: transparent;\n  font-size: 0;\n  user-select: none\n}\n\n[data-type=cubetwo].cubetwo-cube-5 .cubetwo-cube [data-type=front],\n[data-type=cubetwo].cubetwo-cube-6 .cubetwo-cube [data-type=front],\n[data-type=cubetwo].cubetwo-cube-7 .cubetwo-cube [data-type=front],\n[data-type=cubetwo].cubetwo-cube-8 .cubetwo-cube [data-type=front] {\n  transform: translateZ(0)\n}\n\n[data-type=cubetwo].cubetwo-cube-5 .cubetwo-cube [data-type=up],\n[data-type=cubetwo].cubetwo-cube-6 .cubetwo-cube [data-type=up],\n[data-type=cubetwo].cubetwo-cube-7 .cubetwo-cube [data-type=up],\n[data-type=cubetwo].cubetwo-cube-8 .cubetwo-cube [data-type=up] {\n  transform: translateZ(-25vmin) rotateX(-90deg) rotateY(180deg) rotate(180deg);\n  transform-origin: top center\n}\n\n[data-type=cubetwo].cubetwo-cube-5 .cubetwo-cube [data-type=right],\n[data-type=cubetwo].cubetwo-cube-6 .cubetwo-cube [data-type=right],\n[data-type=cubetwo].cubetwo-cube-7 .cubetwo-cube [data-type=right],\n[data-type=cubetwo].cubetwo-cube-8 .cubetwo-cube [data-type=right] {\n  transform: translateZ(-25vmin) rotateY(-270deg);\n  transform-origin: top right\n}\n\n[data-type=cubetwo].cubetwo-cube-5 .cubetwo-cube [data-type=back],\n[data-type=cubetwo].cubetwo-cube-6 .cubetwo-cube [data-type=back],\n[data-type=cubetwo].cubetwo-cube-7 .cubetwo-cube [data-type=back],\n[data-type=cubetwo].cubetwo-cube-8 .cubetwo-cube [data-type=back] {\n  transform: translateZ(-25vmin) rotateY(180deg)\n}\n\n[data-type=cubetwo].cubetwo-cube-5 .cubetwo-cube [data-type=down],\n[data-type=cubetwo].cubetwo-cube-6 .cubetwo-cube [data-type=down],\n[data-type=cubetwo].cubetwo-cube-7 .cubetwo-cube [data-type=down],\n[data-type=cubetwo].cubetwo-cube-8 .cubetwo-cube [data-type=down] {\n  transform: translateZ(-25vmin) rotateX(90deg) rotateY(180deg) rotate(180deg);\n  transform-origin: bottom center\n}\n\n[data-type=cubetwo].cubetwo-cube-5 .cubetwo-cube [data-type=left],\n[data-type=cubetwo].cubetwo-cube-6 .cubetwo-cube [data-type=left],\n[data-type=cubetwo].cubetwo-cube-7 .cubetwo-cube [data-type=left],\n[data-type=cubetwo].cubetwo-cube-8 .cubetwo-cube [data-type=left] {\n  transform: translateZ(-25vmin) rotateY(270deg);\n  transform-origin: center left\n}\n\n@keyframes spin-animation {\n  0% {\n    transform: rotateY(0turn) rotateX(0turn) rotate(0)\n  }\n  to {\n    transform: rotateY(3turn) rotateX(2turn) rotate(0)\n  }\n}\n\nhtml {\n  font-size: 100%\n}\n\nbody,\nhtml {\n  min-height: 100%;\n  min-height: 100vh\n}\n\nbody {\n  font-family: Helvetica, sans-serif;\n  color: #fff;\n  margin: 0;\n  background-color: #111\n}\n\n.body-wrapper {\n  position: relative;\n  min-height: 100vh;\n  display: flex;\n  flex-flow: row wrap;\n  justify-content: center;\n  align-items: center;\n  background-blend-mode: multiply;\n  animation: page-fade-in 2s\n}\n\n@keyframes page-fade-in {\n  0% {\n    opacity: 0\n  }\n  to {\n    opacity: 1\n  }\n}<\/pre><\/div>\n\n\n\n<div class=\"wp-block-codemirror-blocks-code-block code-block\"><pre class=\"CodeMirror\" data-setting=\"{&quot;showPanel&quot;:true,&quot;languageLabel&quot;:&quot;language&quot;,&quot;fullScreenButton&quot;:true,&quot;copyButton&quot;:true,&quot;mode&quot;:&quot;javascript&quot;,&quot;mime&quot;:&quot;text\/javascript&quot;,&quot;theme&quot;:&quot;cobalt&quot;,&quot;lineNumbers&quot;:true,&quot;styleActiveLine&quot;:true,&quot;lineWrapping&quot;:true,&quot;readOnly&quot;:false,&quot;fileName&quot;:&quot;&quot;,&quot;TrpContentRestriction&quot;:{&quot;restriction_type&quot;:&quot;exclude&quot;,&quot;selected_languages&quot;:[],&quot;panel_open&quot;:true},&quot;language&quot;:&quot;JavaScript&quot;,&quot;maxHeight&quot;:&quot;400px&quot;,&quot;modeName&quot;:&quot;js&quot;}\">var log = console.log.bind(console);\n \n\nvar cubetwo = new window.CubeTwo({\n  cubeComponent: document.getElementById('cubetwo-component-1'),\n \n \n  backgroundColors: { \/* optional *\/\n    u: 'rgba(255, 255, 255)',\n    d: 'yellow',\n    f: 'green',\n    b: 'blue',\n    r: 'red',\n    l: 'rgba(255, 88, 0)',\n    backface: 'transparent',\n  },\n});\ncubetwo.addCallbackForEvent('init', initCallback);\ncubetwo.addCallbackForEvent('statechange', statechangeCallback);\ncubetwo.addCallbackForEvent('beforerotate', beforerotateCallback);\ncubetwo.addCallbackForEvent('afterrotate', afterrotateCallback);\ncubetwo.addCallbackForEvent('issolved', issolvedCallback);\ncubetwo.init();\n\nfunction statechangeCallback(eventName, payload) {\n  \/\/ log(eventName);\n  \/\/ log(payload);\n}\n\nfunction initCallback(eventName, payload) {\n  \/\/ log(eventName);\n  \/\/ log(payload);\n}\n\nfunction beforerotateCallback(eventName, payload) {\n  \/\/ log(eventName);\n  \/\/ log(payload.action);\n}\n\nfunction afterrotateCallback(eventName, payload) {\n  \/\/ log(eventName);\n  \/\/ log(payload);\n}\n\nfunction issolvedCallback(eventName, payload) {\n  \/\/ log(eventName);\n  \/\/ log(payload);\n}\n\nwindow.addEventListener('keydown', cubetwo.handleGlobalKeyEvent, false);\n\nwindow.cubetwo = cubetwo;\n\nlog('cubetwo is available in console');\n\n\n\n\n\n\n\/\/Put the code below in a separate file!!!\n!function(e){function t(a){if(i[a])return i[a].exports;var n=i[a]={exports:{},id:a,loaded:!1};return e[a].call(n.exports,n,n.exports,t),n.loaded=!0,n.exports}var i={};return t.m=e,t.c=i,t.p=&quot;&quot;,t(0)}([function(e,t,i){e.exports=i(9)},function(e,t,i){&quot;use strict&quot;;function a(e){return e&amp;&amp;e.__esModule?e:{default:e}}Object.defineProperty(t,&quot;__esModule&quot;,{value:!0}),t.ROTATION_VIEW=t.EVENT_NAMES=t.KEY=t.LEFT=t.OPPOSITE=t.STATES_ARRAY=t.STATES=void 0;var n=i(3),s=a(n),r={X:20,Y:30};(0,s.default)(r);var o={uf:&quot;uf&quot;,ur:&quot;ur&quot;,ub:&quot;ub&quot;,ul:&quot;ul&quot;,fu:&quot;fu&quot;,fl:&quot;fl&quot;,fd:&quot;fd&quot;,fr:&quot;fr&quot;,ru:&quot;ru&quot;,rf:&quot;rf&quot;,rd:&quot;rd&quot;,rb:&quot;rb&quot;,df:&quot;df&quot;,dl:&quot;dl&quot;,db:&quot;db&quot;,dr:&quot;dr&quot;,bu:&quot;bu&quot;,br:&quot;br&quot;,bd:&quot;bd&quot;,bl:&quot;bl&quot;,lu:&quot;lu&quot;,lb:&quot;lb&quot;,ld:&quot;ld&quot;,lf:&quot;lf&quot;};(0,s.default)(o);var c=[];Object.keys(o).forEach(function(e,t){return c.push(e)}),(0,s.default)(c);var u={LEFT:37,UP:38,RIGHT:39,DOWN:40,a:65,d:68,e:69,q:81,s:83,w:87,x:88,y:89,z:90};(0,s.default)(u);var l={init:&quot;init&quot;,statechange:&quot;statechange&quot;,beforerotate:&quot;beforerotate&quot;,afterrotate:&quot;afterrotate&quot;,issolved:&quot;issolved&quot;};(0,s.default)(l);var d=[];d.u=&quot;d&quot;,d.d=&quot;u&quot;,d.r=&quot;l&quot;,d.l=&quot;r&quot;,d.f=&quot;b&quot;,d.b=&quot;f&quot;;var p=[];p.uf=&quot;l&quot;,p.ur=&quot;f&quot;,p.ub=&quot;r&quot;,p.ul=&quot;b&quot;,p.fu=&quot;r&quot;,p.fl=&quot;u&quot;,p.fd=&quot;l&quot;,p.fr=&quot;d&quot;,p.ru=&quot;b&quot;,p.rf=&quot;u&quot;,p.rd=&quot;f&quot;,p.rb=&quot;d&quot;,p.df=&quot;r&quot;,p.dl=&quot;f&quot;,p.db=&quot;l&quot;,p.dr=&quot;b&quot;,p.bu=&quot;l&quot;,p.br=&quot;u&quot;,p.bd=&quot;r&quot;,p.bl=&quot;d&quot;,p.lu=&quot;f&quot;,p.lb=&quot;u&quot;,p.ld=&quot;b&quot;,p.lf=&quot;d&quot;,t.STATES=o,t.STATES_ARRAY=c,t.OPPOSITE=d,t.LEFT=p,t.KEY=u,t.EVENT_NAMES=l,t.ROTATION_VIEW=r},function(e,t){&quot;use strict&quot;;Object.defineProperty(t,&quot;__esModule&quot;,{value:!0});t.log=console.log.bind(console),t.error=console.error.bind(console),t.debug=console.debug.bind(console)},function(e,t){e.exports=function e(t){return Object.freeze(t),Object.getOwnPropertyNames(t).forEach(function(i){!t.hasOwnProperty(i)||null===t[i]||&quot;object&quot;!=typeof t[i]&amp;&amp;&quot;function&quot;!=typeof t[i]||Object.isFrozen(t[i])||e(t[i])}),t}},function(e,t,i){&quot;use strict&quot;;function a(e){window.requestAnimationFrame(e)}function n(e){window.requestAnimationFrame(function(t){window.requestAnimationFrame(e)})}function s(e){return e[0]}function r(e){return e[1]}function o(e){return f.OPPOSITE}function c(e){return f.LEFT[e]}function u(e){return f.OPPOSITE[e[0]]}function l(e){return f.OPPOSITE[e[1]]}function d(e){return Object.assign({},e)}function p(){var e=f.STATES_ARRAY;this.first=f.STATES_ARRAY[0],this.last=f.STATES_ARRAY[f.STATES_ARRAY.length-1],this.stateCount=e.length,this.get=function(t){var i=e.indexOf(t);if(i&gt;=0)return i===e.length-1?{state:e[0],index:0}:{state:e[i+1],index:i+1}}}Object.defineProperty(t,&quot;__esModule&quot;,{value:!0}),t.nextState=void 0,t.rAF=a,t.nextFrame=n,t.getUp=s,t.getFront=r,t.getRight=o,t.getLeft=c,t.getDown=u,t.getBack=l,t.cloneObject=d;var f=i(1),b=(i(2),new p);t.nextState=b},function(e,t){&quot;use strict&quot;;Object.defineProperty(t,&quot;__esModule&quot;,{value:!0});t.qs=function(e,t){return(t||document).querySelector(e)},t.qsa=function(e,t){return[].slice.call((t||document).querySelectorAll(e),0)},t.byId=function(e){return document.getElementById(e)}},function(e,t,i){&quot;use strict&quot;;function a(e){return e&amp;&amp;e.__esModule?e:{default:e}}Object.defineProperty(t,&quot;__esModule&quot;,{value:!0});var n=i(1),s=i(3),r=a(s),o=[];Object.keys(n.STATES).forEach(function(e,t){return o[e]=[]}),o.lf.u={angle:90,dir:&quot;Z&quot;},o.rf.u={angle:-90,dir:&quot;Z&quot;},o.fl.u={angle:-90,dir:&quot;Z&quot;},o.fu.u={angle:180,dir:&quot;Z&quot;},o.fr.u={angle:90,dir:&quot;Z&quot;},o.bl.u={angle:90,dir:&quot;Z&quot;},o.dl.u={angle:-90,dir:&quot;Z&quot;},o.rb.u={angle:90,dir:&quot;Z&quot;},o.lu.u={angle:-90,dir:&quot;Z&quot;},o.lf.f={angle:90,dir:&quot;Z&quot;},o.rf.f={angle:-90,dir:&quot;Z&quot;},o.db.f={angle:180,dir:&quot;Z&quot;},o.fl.f={angle:-90,dir:&quot;Z&quot;},o.dl.f={angle:180,dir:&quot;Z&quot;},o.bl.f={angle:90,dir:&quot;Z&quot;},o.rd.f={angle:-90,dir:&quot;Z&quot;},o.ld.f={angle:90,dir:&quot;Z&quot;},o.bd.f={angle:180,dir:&quot;Z&quot;},o.br.f={angle:-90,dir:&quot;Z&quot;},o.fu.f={angle:180,dir:&quot;Z&quot;},o.lu.f={angle:90,dir:&quot;Z&quot;},o.ru.f={angle:-90,dir:&quot;Z&quot;},o.fr.f={angle:90,dir:&quot;Z&quot;},o.df.f={angle:180,dir:&quot;Z&quot;},o.dr.f={angle:180,dir:&quot;Z&quot;},o.rb.f={angle:90,dir:&quot;Z&quot;},o.lb.f={angle:-90,dir:&quot;Z&quot;},o.fd.r={angle:90,dir:&quot;Z&quot;},o.db.r={angle:180,dir:&quot;Z&quot;},o.bu.r={angle:-90,dir:&quot;Z&quot;},o.ld.r={angle:90,dir:&quot;Z&quot;},o.rd.r={angle:90,dir:&quot;Z&quot;},o.dl.r={angle:180,dir:&quot;Z&quot;},o.lu.r={angle:-90,dir:&quot;Z&quot;},o.lf.r={angle:90,dir:&quot;Z&quot;},o.rf.r={angle:-90,dir:&quot;Z&quot;},o.bd.r={angle:90,dir:&quot;Z&quot;},o.br.r={angle:180,dir:&quot;Z&quot;},o.lb.r={angle:90,dir:&quot;Z&quot;},o.fu.r={angle:-90,dir:&quot;Z&quot;},o.df.r={angle:180,dir:&quot;Z&quot;},o.fr.r={angle:180,dir:&quot;Z&quot;},o.ru.r={angle:-90,dir:&quot;Z&quot;},o.dr.r={angle:180,dir:&quot;Z&quot;},o.rb.r={angle:-90,dir:&quot;Z&quot;},o.fd.l={angle:-90,dir:&quot;Z&quot;},o.db.l={angle:180,dir:&quot;Z&quot;},o.bu.l={angle:90,dir:&quot;Z&quot;},o.rf.l={angle:-90,dir:&quot;Z&quot;},o.fl.l={angle:180,dir:&quot;Z&quot;},o.rd.l={angle:-90,dir:&quot;Z&quot;},o.bl.l={angle:180,dir:&quot;Z&quot;},o.bd.l={angle:-90,dir:&quot;Z&quot;},o.fu.l={angle:90,dir:&quot;Z&quot;},o.lf.l={angle:90,dir:&quot;Z&quot;},o.df.l={angle:180,dir:&quot;Z&quot;},o.rb.l={angle:-90,dir:&quot;Z&quot;},o.ru.l={angle:90,dir:&quot;Z&quot;},o.ld.l={angle:-90,dir:&quot;Z&quot;},o.dr.l={angle:180,dir:&quot;Z&quot;},o.lu.l={angle:90,dir:&quot;Z&quot;},o.dl.l={angle:180,dir:&quot;Z&quot;},o.lb.l={angle:90,dir:&quot;Z&quot;},o.ul.u={angle:-90,dir:&quot;Z&quot;},o.ur.u={angle:90,dir:&quot;Z&quot;},o.ub.u={angle:180,dir:&quot;Z&quot;},o.bu.u={angle:180,dir:&quot;Z&quot;},o.dr.u={angle:90,dir:&quot;Z&quot;},o.ru.u={angle:180,dir:&quot;Z&quot;},o.br.u={angle:-90,dir:&quot;Z&quot;},o.lb.u={angle:-90,dir:&quot;Z&quot;},o.lu.u={angle:180,dir:&quot;Z&quot;},o.df.u={angle:180,dir:&quot;Z&quot;},o.fd.b={angle:180,dir:&quot;Z&quot;},o.dr.b={angle:180,dir:&quot;Z&quot;},o.db.b={angle:180,dir:&quot;Z&quot;},o.bu.b={angle:180,dir:&quot;Z&quot;},o.bl.b={angle:-90,dir:&quot;Z&quot;},o.fl.b={angle:90,dir:&quot;Z&quot;},o.lb.b={angle:90,dir:&quot;Z&quot;},o.rd.b={angle:-90,dir:&quot;Z&quot;},o.ld.b={angle:90,dir:&quot;Z&quot;},o.ru.b={angle:-90,dir:&quot;Z&quot;},o.br.b={angle:90,dir:&quot;Z&quot;},o.fr.b={angle:-90,dir:&quot;Z&quot;},o.lf.b={angle:-90,dir:&quot;Z&quot;},o.df.b={angle:180,dir:&quot;Z&quot;},o.rf.b={angle:90,dir:&quot;Z&quot;},o.rb.b={angle:-90,dir:&quot;Z&quot;},o.dl.b={angle:180,dir:&quot;Z&quot;},o.lu.b={angle:90,dir:&quot;Z&quot;},o.lf.d={angle:90,dir:&quot;Z&quot;},o.fd.d={angle:180,dir:&quot;Z&quot;},o.dl.d={angle:90,dir:&quot;Z&quot;},o.ul.d={angle:90,dir:&quot;Z&quot;},o.bl.d={angle:90,dir:&quot;Z&quot;},o.ur.d={angle:-90,dir:&quot;Z&quot;},o.ub.d={angle:180,dir:&quot;Z&quot;},o.br.d={angle:-90,dir:&quot;Z&quot;},o.bd.d={angle:180,dir:&quot;Z&quot;},o.rf.d={angle:-90,dir:&quot;Z&quot;},o.df.d={angle:180,dir:&quot;Z&quot;},o.dr.d={angle:-90,dir:&quot;Z&quot;},o.ld.d={angle:180,dir:&quot;Z&quot;},o.fl.d={angle:-90,dir:&quot;Z&quot;},o.fr.d={angle:90,dir:&quot;Z&quot;},o.rd.d={angle:180,dir:&quot;Z&quot;},o.rb.d={angle:90,dir:&quot;Z&quot;},o.lb.d={angle:-90,dir:&quot;Z&quot;},(0,r.default)(o),t.default=o},function(e,t,i){&quot;use strict&quot;;function a(e){return e&amp;&amp;e.__esModule?e:{default:e}}Object.defineProperty(t,&quot;__esModule&quot;,{value:!0});var n=i(1),s=i(4),r=i(3),o=a(r),c=[];Object.keys(n.STATES).forEach(function(e,t){return c[e]=[]});var u=void 0,l=void 0,d=void 0,p=void 0,f=s.nextState.first;for(u=0;u&lt;s.nextState.stateCount;u++)l=f[0],d=f[1],c[f].x=&quot;&quot;+d+n.OPPOSITE[l],c[f][&quot;-x&quot;]=&quot;&quot;+n.OPPOSITE[d]+l,c[f].y=&quot;&quot;+l+(0,s.getLeft)(f),c[f][&quot;-y&quot;]=&quot;&quot;+l+(0,s.getRight)(f),c[f].z=&quot;&quot;+(0,s.getLeft)(f)+d,c[f][&quot;-z&quot;]=&quot;&quot;+(0,s.getRight)(f)+d,p=s.nextState.get(f),f=p.state;(0,o.default)(c),t.default=c},function(e,t){},function(e,t,i){&quot;use strict&quot;;i(8);var a=(i(2),i(5)),n=i(1),s=i(17),r=((0,a.qs)(&quot;.body-wrapper&quot;),(0,a.byId)(&quot;cubetwo-component-1&quot;)),o=(0,a.qs)(&quot;.cubetwo-rotation-view&quot;,r),c=(0,a.qs)(&quot;.cubetwo-js.cubetwo-btn-menu&quot;,r),u=(0,a.qs)(&quot;.cubetwo-menu-component&quot;),l=(0,a.qs)(&quot;.cubetwo-btn-solve&quot;,u),d=(0,a.qs)(&quot;.cubetwo-btn-scramble&quot;,u),p=(0,a.qs)(&quot;.cubetwo-btn-spin&quot;,u);c.addEventListener(&quot;click&quot;,function(e){u.classList.toggle(&quot;cubetwo-show-dialog&quot;),e.currentTarget.classList.toggle(&quot;cubetwo-active&quot;)}),l.addEventListener(&quot;click&quot;,function(e){return cubetwo.solve()}),d.addEventListener(&quot;click&quot;,function(e){return cubetwo.scramble()}),p.addEventListener(&quot;click&quot;,function(e){p.classList.toggle(&quot;cubetwo-active&quot;),o.classList.toggle(&quot;spin&quot;)});var f=(0,a.qs)(&quot;.cubetwo-js.cubetwo-btn-help&quot;,r),b=(0,a.qs)(&quot;.cubetwo-help-component&quot;);f.addEventListener(&quot;click&quot;,function(e){b.classList.toggle(&quot;cubetwo-show-dialog&quot;),e.currentTarget.classList.toggle(&quot;cubetwo-active&quot;)}),(0,a.qs)(&quot;.cubetwo-btn-top-left&quot;,r).addEventListener(&quot;click&quot;,function(e){return o.style.transform=&quot;rotateX(&quot;+n.ROTATION_VIEW.X+&quot;deg) rotateY(-&quot;+n.ROTATION_VIEW.Y+&quot;deg) rotateZ(0deg)&quot;}),(0,a.qs)(&quot;.cubetwo-btn-top-right&quot;,r).addEventListener(&quot;click&quot;,function(e){return o.style.transform=&quot;rotateX(&quot;+n.ROTATION_VIEW.X+&quot;deg) rotateY(&quot;+n.ROTATION_VIEW.Y+&quot;deg) rotateZ(0deg)&quot;}),(0,a.qs)(&quot;.cubetwo-btn-bottom-left&quot;,r).addEventListener(&quot;click&quot;,function(e){return o.style.transform=&quot;rotateX(-&quot;+n.ROTATION_VIEW.X+&quot;deg) rotateY(-&quot;+n.ROTATION_VIEW.Y+&quot;deg) rotateZ(0deg)&quot;}),(0,a.qs)(&quot;.cubetwo-btn-bottom-right&quot;,r).addEventListener(&quot;click&quot;,function(e){return o.style.transform=&quot;rotateX(-&quot;+n.ROTATION_VIEW.X+&quot;deg) rotateY(&quot;+n.ROTATION_VIEW.Y+&quot;deg) rotateZ(0deg)&quot;}),(0,a.qs)(&quot;.cubetwo-btn-top-center&quot;,r).addEventListener(&quot;click&quot;,function(e){return cubetwo.x()}),(0,a.qs)(&quot;.cubetwo-btn-bottom-center&quot;,r).addEventListener(&quot;click&quot;,function(e){return cubetwo.x_()}),(0,a.qs)(&quot;.cubetwo-js.cubetwo-btn-rotate-left&quot;,r).addEventListener(&quot;click&quot;,function(e){return cubetwo.y_()}),(0,a.qs)(&quot;.cubetwo-js.cubetwo-btn-rotate-left-2x&quot;,r).addEventListener(&quot;click&quot;,function(e){return cubetwo.z_()}),(0,a.qs)(&quot;.cubetwo-js.cubetwo-btn-rotate-right&quot;,r).addEventListener(&quot;click&quot;,function(e){return cubetwo.y()}),(0,a.qs)(&quot;.cubetwo-js.cubetwo-btn-rotate-right-2x&quot;,r).addEventListener(&quot;click&quot;,function(e){return cubetwo.z()}),window.CubeTwo=s.CubeTwo},,function(e,t){&quot;use strict&quot;;Object.defineProperty(t,&quot;__esModule&quot;,{value:!0});t.CUBE_COUNT=8,t.CUBE_SIZE_2X=&quot;50vmin&quot;},function(e,t,i){&quot;use strict&quot;;function a(e){switch(e.stopPropagation(),e.keyCode){case p.KEY.LEFT:case p.KEY.a:this.U();break;case p.KEY.UP:e.preventDefault();case p.KEY.w:this.L_();break;case p.KEY.RIGHT:case p.KEY.d:this.U_();break;case p.KEY.DOWN:e.preventDefault();case p.KEY.s:this.L();break;case p.KEY.q:this.F_();break;case p.KEY.e:this.F();break;case p.KEY.x:this.x();break;case p.KEY.y:this.y();break;case p.KEY.z:this.z()}}function n(e){switch(e.stopPropagation(),e.keyCode){case p.KEY.LEFT:case p.KEY.a:this.U();break;case p.KEY.UP:e.preventDefault();case p.KEY.w:this.R();break;case p.KEY.RIGHT:case p.KEY.d:this.U_();break;case p.KEY.DOWN:e.preventDefault();case p.KEY.s:this.R_();break;case p.KEY.q:this.F_();break;case p.KEY.e:this.F();break;case p.KEY.x:this.x();break;case p.KEY.y:this.y();break;case p.KEY.z:this.z()}}function s(e){switch(e.stopPropagation(),e.keyCode){case p.KEY.LEFT:case p.KEY.a:this.D_();break;case p.KEY.UP:e.preventDefault();case p.KEY.w:this.L_();break;case p.KEY.RIGHT:case p.KEY.d:this.D();break;case p.KEY.DOWN:e.preventDefault();case p.KEY.s:this.L();break;case p.KEY.q:this.F_();break;case p.KEY.e:this.F();break;case p.KEY.x:this.x();break;case p.KEY.y:this.y();break;case p.KEY.z:this.z()}}function r(e){switch(e.stopPropagation(),e.keyCode){case p.KEY.LEFT:case p.KEY.a:this.D_();break;case p.KEY.UP:e.preventDefault();case p.KEY.w:this.R();break;case p.KEY.RIGHT:case p.KEY.d:this.D();break;case p.KEY.DOWN:e.preventDefault();case p.KEY.s:this.R_();break;case p.KEY.q:this.F_();break;case p.KEY.e:this.F();break;case p.KEY.x:this.x();break;case p.KEY.y:this.y();break;case p.KEY.z:this.z()}}function o(e){switch(e.stopPropagation(),e.keyCode){case p.KEY.LEFT:case p.KEY.a:this.U();break;case p.KEY.UP:e.preventDefault();case p.KEY.w:this.L_();break;case p.KEY.RIGHT:case p.KEY.d:this.U_();break;case p.KEY.DOWN:e.preventDefault();case p.KEY.s:this.L();break;case p.KEY.q:this.B();break;case p.KEY.e:this.B_();break;case p.KEY.x:this.x();break;case p.KEY.y:this.y();break;case p.KEY.z:this.z()}}function c(e){switch(e.stopPropagation(),e.keyCode){case p.KEY.LEFT:case p.KEY.a:this.U();break;case p.KEY.UP:e.preventDefault();case p.KEY.w:this.R();break;case p.KEY.RIGHT:case p.KEY.d:this.U_();break;case p.KEY.DOWN:e.preventDefault();case p.KEY.s:this.R_();break;case p.KEY.q:this.B();break;case p.KEY.e:this.B_();break;case p.KEY.x:this.x();break;case p.KEY.y:this.y();break;case p.KEY.z:this.z()}}function u(e){switch(e.stopPropagation(),e.keyCode){case p.KEY.LEFT:case p.KEY.a:this.D_();break;case p.KEY.UP:e.preventDefault();case p.KEY.w:this.L_();break;case p.KEY.RIGHT:case p.KEY.d:this.D();break;case p.KEY.DOWN:e.preventDefault();case p.KEY.s:this.L();break;case p.KEY.q:this.B();break;case p.KEY.e:this.B_();break;case p.KEY.x:this.x();break;case p.KEY.y:this.y();break;case p.KEY.z:this.z()}}function l(e){switch(e.stopPropagation(),e.keyCode){case p.KEY.LEFT:case p.KEY.a:this.D_();break;case p.KEY.UP:e.preventDefault();case p.KEY.w:this.R();break;case p.KEY.RIGHT:case p.KEY.d:this.D();break;case p.KEY.DOWN:e.preventDefault();case p.KEY.s:this.R_();break;case p.KEY.q:this.B();break;case p.KEY.e:this.B_();break;case p.KEY.x:this.x();break;case p.KEY.y:this.y();break;case p.KEY.z:this.z()}}function d(e){switch(e.keyCode){case p.KEY.LEFT:case p.KEY.a:this.y_();break;case p.KEY.UP:e.preventDefault();case p.KEY.w:case p.KEY.x:this.x();break;case p.KEY.RIGHT:case p.KEY.d:case p.KEY.y:this.y();break;case p.KEY.DOWN:e.preventDefault();case p.KEY.s:this.x_();break;case p.KEY.q:this.z_();break;case p.KEY.e:case p.KEY.z:this.z()}}Object.defineProperty(t,&quot;__esModule&quot;,{value:!0}),t.handleKeyEventCube1=a,t.handleKeyEventCube2=n,t.handleKeyEventCube3=s,t.handleKeyEventCube4=r,t.handleKeyEventCube5=o,t.handleKeyEventCube6=c,t.handleKeyEventCube7=u,t.handleKeyEventCube8=l,t.handleGlobalKeyEvent=d;var p=i(1)},function(e,t,i){&quot;use strict&quot;;function a(e){return e&amp;&amp;e.__esModule?e:{default:e}}function n(e){function t(e,t,i,a,n){e.code=o.default[e.code][n],t.code=o.default[t.code][n],i.code=o.default[i.code][n],a.code=o.default[a.code][n]}function i(){var e=_[0],i=_[1],a=_[2],n=_[3];t(e,i,a,n,&quot;z&quot;);var r=(0,s.cloneObject)(e);_[0]=a,_[2]=n,_[3]=i,_[1]=r}function a(){var e=_[0],i=_[1],a=_[2],n=_[3];t(e,i,a,n,&quot;-z&quot;);var r=(0,s.cloneObject)(e);_[0]=i,_[1]=n,_[3]=a,_[2]=r}function n(){var e=_[4],i=_[5],a=_[6],n=_[7];t(e,i,a,n,&quot;z&quot;);var r=(0,s.cloneObject)(e);_[4]=a,_[6]=n,_[7]=i,_[5]=r}function r(){var e=_[4],i=_[5],a=_[6],n=_[7];t(e,i,a,n,&quot;-z&quot;);var r=(0,s.cloneObject)(e);_[4]=i,_[5]=n,_[7]=a,_[6]=r}function c(){var e=_[1],i=_[3],a=_[5],n=_[7];t(e,i,a,n,&quot;x&quot;);var r=(0,s.cloneObject)(e);_[1]=i,_[3]=n,_[7]=a,_[5]=r}function u(){var e=_[1],i=_[3],a=_[5],n=_[7];t(e,i,a,n,&quot;-x&quot;);var r=(0,s.cloneObject)(e);_[1]=a,_[5]=n,_[7]=i,_[3]=r}function l(){var e=_[0],i=_[2],a=_[4],n=_[6];t(e,i,a,n,&quot;-x&quot;);var r=(0,s.cloneObject)(e);_[0]=a,_[4]=n,_[6]=i,_[2]=r}function d(){var e=_[0],i=_[2],a=_[4],n=_[6];t(e,i,a,n,&quot;x&quot;);var r=(0,s.cloneObject)(e);_[0]=i,_[2]=n,_[6]=a,_[4]=r}function p(){var e=_[0],i=_[1],a=_[4],n=_[5];t(e,i,a,n,&quot;-y&quot;);var r=(0,s.cloneObject)(e);_[0]=i,_[1]=n,_[5]=a,_[4]=r}function f(){var e=_[0],i=_[1],a=_[4],n=_[5];t(e,i,a,n,&quot;y&quot;);var r=(0,s.cloneObject)(e);_[0]=a,_[4]=n,_[5]=i,_[1]=r}function b(){var e=_[2],i=_[3],a=_[6],n=_[7];t(e,i,a,n,&quot;y&quot;);var r=(0,s.cloneObject)(e);_[2]=a,_[6]=n,_[7]=i,_[3]=r}function g(){var e=_[2],i=_[3],a=_[6],n=_[7];t(e,i,a,n,&quot;-y&quot;);var r=(0,s.cloneObject)(e);_[2]=i,_[3]=n,_[7]=a,_[6]=r}var h=e.action,_=e.stateCodes;switch(h){case&quot;F&quot;:i();break;case&quot;F_&quot;:a();break;case&quot;B&quot;:r();break;case&quot;B_&quot;:n();break;case&quot;z&quot;:i(),n();break;case&quot;z2&quot;:i(),n(),i(),n();break;case&quot;z_&quot;:a(),r();break;case&quot;z2_&quot;:a(),r(),a(),r();break;case&quot;R&quot;:c();break;case&quot;R_&quot;:u();break;case&quot;L&quot;:l();break;case&quot;L_&quot;:d();break;case&quot;x&quot;:c(),d();break;case&quot;x2&quot;:c(),d(),c(),d();break;case&quot;x_&quot;:u(),l();break;case&quot;x2_&quot;:u(),l(),u(),l();break;case&quot;U&quot;:p();break;case&quot;U_&quot;:f();break;case&quot;D&quot;:b();break;case&quot;D_&quot;:g();break;case&quot;y&quot;:f(),b();break;case&quot;y2&quot;:f(),b(),f(),b();break;case&quot;y_&quot;:p(),g();break;case&quot;y2_&quot;:p(),g(),p(),g()}return _}Object.defineProperty(t,&quot;__esModule&quot;,{value:!0}),t.reducer=n;var s=(i(2),i(4)),r=i(7),o=a(r),c=i(6);a(c)},function(e,t,i){(function(e){&quot;use strict&quot;;function a(t){var i=this,a=t&amp;&amp;t.isTapEnabled,n=this._touchElements[1],s=(0,d.qs)('[data-type=&quot;up&quot;]',n),r=(0,d.qs)('[data-type=&quot;front&quot;]',n),o=(0,d.qs)('[data-type=&quot;left&quot;]',n),c=new e.Swipe;c.set({direction:e.DIRECTION_ALL});var u=new e.Manager(r,{});u.add(c),u.add(new e.Tap({event:&quot;singletab&quot;})),u.on(&quot;singletab swipeup swipedown swiperight swipeleft&quot;,function(e){var t=e.type;e.target;switch(t){case&quot;singletab&quot;:a&amp;&amp;i.L_();break;case&quot;swipeup&quot;:i.L_();break;case&quot;swiperight&quot;:i.U_();break;case&quot;swipedown&quot;:i.L();break;case&quot;swipeleft&quot;:i.U()}}),c=new e.Swipe,c.set({direction:e.DIRECTION_ALL}),u=new e.Manager(s,{}),u.add(c),u.add(new e.Tap({event:&quot;singletap&quot;})),u.on(&quot;singletap swipeup swipedown swiperight swipeleft&quot;,function(e){var t=e.type,n=e.target;switch(&quot;cubetwo&quot;!==n.dataset.type&amp;&amp;(n=n.parentElement,&quot;cubetwo&quot;!==n.dataset.type&amp;&amp;(n=n.parentElement)),t){case&quot;singletap&quot;:a&amp;&amp;i.F_();break;case&quot;swipeup&quot;:i.L_();break;case&quot;swiperight&quot;:i.F();break;case&quot;swipedown&quot;:i.L();break;case&quot;swipeleft&quot;:i.F_()}}),c=new e.Swipe,c.set({direction:e.DIRECTION_ALL}),u=new e.Manager(o,{}),u.add(c),u.add(new e.Tap({event:&quot;singletap&quot;})),u.on(&quot;singletap swipeup swipedown swiperight swipeleft&quot;,function(e){var t=e.type,n=e.target;switch(&quot;cubetwo&quot;!==n.dataset.type&amp;&amp;(n=n.parentElement,&quot;cubetwo&quot;!==n.dataset.type&amp;&amp;(n=n.parentElement)),t){case&quot;singletap&quot;:a&amp;&amp;i.U_();break;case&quot;swipeup&quot;:i.F();break;case&quot;swiperight&quot;:i.U_();break;case&quot;swipedown&quot;:i.F_();break;case&quot;swipeleft&quot;:i.U()}})}function n(t){var i=this,a=t&amp;&amp;t.isTapEnabled,n=this._touchElements[2],s=(0,d.qs)('[data-type=&quot;up&quot;]',n),r=(0,d.qs)('[data-type=&quot;front&quot;]',n),o=(0,d.qs)('[data-type=&quot;right&quot;]',n),c=new e.Swipe;c.set({direction:e.DIRECTION_ALL});var u=new e.Manager(r,{});u.add(c),u.add(new e.Tap({event:&quot;singletap&quot;})),u.on(&quot;singletap swipeup swipedown swiperight swipeleft&quot;,function(e){var t=e.type;e.target;switch(t){case&quot;singletap&quot;:a&amp;&amp;i.R();break;case&quot;swipeup&quot;:i.R();break;case&quot;swiperight&quot;:i.U_();break;case&quot;swipedown&quot;:i.R_();break;case&quot;swipeleft&quot;:i.U()}}),c=new e.Swipe,c.set({direction:e.DIRECTION_ALL}),u=new e.Manager(s,{}),u.add(c),u.add(new e.Tap({event:&quot;singletap&quot;})),u.on(&quot;singletap swipeup swipedown swiperight swipeleft&quot;,function(e){var t=e.type,n=e.target;switch(&quot;cubetwo&quot;!==n.dataset.type&amp;&amp;(n=n.parentElement,&quot;cubetwo&quot;!==n.dataset.type&amp;&amp;(n=n.parentElement)),t){case&quot;singletap&quot;:a&amp;&amp;i.F();break;case&quot;swipeup&quot;:i.R();break;case&quot;swiperight&quot;:i.F();break;case&quot;swipedown&quot;:i.R_();break;case&quot;swipeleft&quot;:i.F_()}}),c=new e.Swipe,c.set({direction:e.DIRECTION_ALL}),u=new e.Manager(o,{}),u.add(c),u.add(new e.Tap({event:&quot;singletap&quot;})),u.on(&quot;singletap swipeup swipedown swiperight swipeleft&quot;,function(e){var t=e.type,n=e.target;switch(&quot;cubetwo&quot;!==n.dataset.type&amp;&amp;(n=n.parentElement,&quot;cubetwo&quot;!==n.dataset.type&amp;&amp;(n=n.parentElement)),t){case&quot;singletap&quot;:a&amp;&amp;i.U();break;case&quot;swipeup&quot;:i.F_();break;case&quot;swiperight&quot;:i.U_();break;case&quot;swipedown&quot;:i.F();break;case&quot;swipeleft&quot;:i.U()}})}function s(t){var i=this,a=t&amp;&amp;t.isTapEnabled,n=this._touchElements[3],s=(0,d.qs)('[data-type=&quot;down&quot;]',n),r=(0,d.qs)('[data-type=&quot;front&quot;]',n),o=(0,d.qs)('[data-type=&quot;left&quot;]',n),c=new e.Swipe;c.set({direction:e.DIRECTION_ALL});var u=new e.Manager(r,{});u.add(c),u.add(new e.Tap({event:&quot;singletap&quot;})),u.on(&quot;singletap swipeup swipedown swiperight swipeleft&quot;,function(e){var t=e.type;e.target;switch(t){case&quot;singletap&quot;:a&amp;&amp;i.L();break;case&quot;swipeup&quot;:i.L_();break;case&quot;swiperight&quot;:i.D();break;case&quot;swipedown&quot;:i.L();break;case&quot;swipeleft&quot;:i.D_()}}),c=new e.Swipe,c.set({direction:e.DIRECTION_ALL}),u=new e.Manager(s,{}),u.add(c),u.add(new e.Tap({event:&quot;singletap&quot;})),u.on(&quot;singletap swipeup swipedown swiperight swipeleft&quot;,function(e){var t=e.type;e.target;switch(t){case&quot;singletap&quot;:a&amp;&amp;i.F();break;case&quot;swipeup&quot;:i.L_();break;case&quot;swiperight&quot;:i.F_();break;case&quot;swipedown&quot;:i.L();break;case&quot;swipeleft&quot;:i.F()}}),c=new e.Swipe,c.set({direction:e.DIRECTION_ALL}),u=new e.Manager(o,{}),u.add(c),u.add(new e.Tap({event:&quot;singletap&quot;})),u.on(&quot;singletap swipeup swipedown swiperight swipeleft&quot;,function(e){var t=e.type;e.target;switch(t){case&quot;singletap&quot;:a&amp;&amp;i.D();break;case&quot;swipeup&quot;:i.F();break;case&quot;swiperight&quot;:i.D();break;case&quot;swipedown&quot;:i.F_();break;case&quot;swipeleft&quot;:i.D_()}})}function r(t){var i=this,a=t&amp;&amp;t.isTapEnabled,n=this._touchElements[4],s=(0,d.qs)('[data-type=&quot;down&quot;]',n),r=(0,d.qs)('[data-type=&quot;front&quot;]',n),o=(0,d.qs)('[data-type=&quot;right&quot;]',n),c=new e.Swipe;c.set({direction:e.DIRECTION_ALL});var u=new e.Manager(r,{});u.add(c),u.add(new e.Tap({event:&quot;singletap&quot;})),u.on(&quot;singletap swipeup swipedown swiperight swipeleft&quot;,function(e){var t=e.type;e.target;switch(t){case&quot;singletap&quot;:a&amp;&amp;i.R_();break;case&quot;swipeup&quot;:i.R();break;case&quot;swiperight&quot;:i.D();break;case&quot;swipedown&quot;:i.R_();break;case&quot;swipeleft&quot;:i.D_()}}),c=new e.Swipe,c.set({direction:e.DIRECTION_ALL}),u=new e.Manager(s,{}),u.add(c),u.add(new e.Tap({event:&quot;singletap&quot;})),u.on(&quot;singletap swipeup swipedown swiperight swipeleft&quot;,function(e){var t=e.type;e.target;switch(t){case&quot;singletap&quot;:a&amp;&amp;i.F_();break;case&quot;swipeup&quot;:i.R();break;case&quot;swiperight&quot;:i.F_();break;case&quot;swipedown&quot;:i.R_();break;case&quot;swipeleft&quot;:i.F()}}),c=new e.Swipe,c.set({direction:e.DIRECTION_ALL}),u=new e.Manager(o,{}),u.add(c),u.add(new e.Tap({event:&quot;singletap&quot;})),u.on(&quot;singletap swipeup swipedown swiperight swipeleft&quot;,function(e){var t=e.type;e.target;switch(t){case&quot;singletap&quot;:a&amp;&amp;i.D_();break;case&quot;swipeup&quot;:i.F_();break;case&quot;swiperight&quot;:i.D();break;case&quot;swipedown&quot;:i.F();break;case&quot;swipeleft&quot;:i.D_()}})}function o(t){var i=this,a=t&amp;&amp;t.isTapEnabled,n=this._touchElements[5],s=(0,d.qs)('[data-type=&quot;up&quot;]',n),r=(0,d.qs)('[data-type=&quot;back&quot;]',n),o=(0,d.qs)('[data-type=&quot;left&quot;]',n),c=new e.Swipe;c.set({direction:e.DIRECTION_ALL});var u=new e.Manager(r,{});u.add(c),u.add(new e.Tap({event:&quot;singletap&quot;})),u.on(&quot;singletap swipeup swipedown swiperight swipeleft&quot;,function(e){var t=e.type;e.target;switch(t){case&quot;singletap&quot;:a&amp;&amp;i.L_();break;case&quot;swipeup&quot;:i.L_();break;case&quot;swiperight&quot;:i.U_();break;case&quot;swipedown&quot;:i.L();break;case&quot;swipeleft&quot;:i.U()}}),c=new e.Swipe,c.set({direction:e.DIRECTION_ALL}),u=new e.Manager(s,{}),u.add(c),u.add(new e.Tap({event:&quot;singletap&quot;})),u.on(&quot;singletap swipeup swipedown swiperight swipeleft&quot;,function(e){var t=e.type;e.target;switch(t){case&quot;singletap&quot;:a&amp;&amp;i.B();break;case&quot;swipeup&quot;:i.L_();break;case&quot;swiperight&quot;:i.B_();break;case&quot;swipedown&quot;:i.L();break;case&quot;swipeleft&quot;:i.B()}}),c=new e.Swipe,c.set({direction:e.DIRECTION_ALL}),u=new e.Manager(o,{}),u.add(c),u.add(new e.Tap({event:&quot;singletap&quot;})),u.on(&quot;singletap swipeup swipedown swiperight swipeleft&quot;,function(e){var t=e.type;e.target;switch(t){case&quot;singletap&quot;:a&amp;&amp;i.U();break;case&quot;swipeup&quot;:i.B_();break;case&quot;swiperight&quot;:i.U_();break;case&quot;swipedown&quot;:i.B();break;case&quot;swipeleft&quot;:i.U()}})}function c(t){var i=this,a=t&amp;&amp;t.isTapEnabled,n=this._touchElements[6],s=(0,d.qs)('[data-type=&quot;up&quot;]',n),r=(0,d.qs)('[data-type=&quot;back&quot;]',n),o=(0,d.qs)('[data-type=&quot;right&quot;]',n),c=new e.Swipe;c.set({direction:e.DIRECTION_ALL});var u=new e.Manager(r,{});u.add(c),u.add(new e.Tap({event:&quot;singletap&quot;})),u.on(&quot;singletap swipeup swipedown swiperight swipeleft&quot;,function(e){var t=e.type;e.target;switch(t){case&quot;singletap&quot;:break;case&quot;swipeup&quot;:i.R();break;case&quot;swiperight&quot;:i.U_();break;case&quot;swipedown&quot;:i.R_();break;case&quot;swipeleft&quot;:i.U()}}),c=new e.Swipe,c.set({direction:e.DIRECTION_ALL}),u=new e.Manager(s,{}),u.add(c),u.add(new e.Tap({event:&quot;singletap&quot;})),u.on(&quot;singletap swipeup swipedown swiperight swipeleft&quot;,function(e){var t=e.type;e.target;switch(t){case&quot;singletap&quot;:a&amp;&amp;i.B_();break;case&quot;swipeup&quot;:i.R();break;case&quot;swiperight&quot;:i.B_();break;case&quot;swipedown&quot;:i.R_();break;case&quot;swipeleft&quot;:i.B()}}),c=new e.Swipe,c.set({direction:e.DIRECTION_ALL}),u=new e.Manager(o,{}),u.add(c),u.add(new e.Tap({event:&quot;singletap&quot;})),u.on(&quot;singletap swipeup swipedown swiperight swipeleft&quot;,function(e){var t=e.type;e.target;switch(t){case&quot;singletap&quot;:a&amp;&amp;i.U_();break;case&quot;swipeup&quot;:i.B();break;case&quot;swiperight&quot;:i.U_();break;case&quot;swipedown&quot;:i.B_();break;case&quot;swipeleft&quot;:i.U()}})}function u(t){var i=this,a=(t&amp;&amp;t.isTapEnabled,this._touchElements[7]),n=(0,d.qs)('[data-type=&quot;down&quot;]',a),s=(0,d.qs)('[data-type=&quot;back&quot;]',a),r=(0,d.qs)('[data-type=&quot;left&quot;]',a),o=new e.Swipe;o.set({direction:e.DIRECTION_ALL});var c=new e.Manager(s,{});c.add(o),c.add(new e.Tap({event:&quot;singletap&quot;})),c.on(&quot;singletap swipeup swipedown swiperight swipeleft&quot;,function(e){var t=e.type;e.target;switch(t){case&quot;singletap&quot;:break;case&quot;swipeup&quot;:i.L_();break;case&quot;swiperight&quot;:i.D();break;case&quot;swipedown&quot;:i.L();break;case&quot;swipeleft&quot;:i.D_()}}),o=new e.Swipe,o.set({direction:e.DIRECTION_ALL}),c=new e.Manager(n,{}),c.add(o),c.add(new e.Tap({event:&quot;singletap&quot;})),c.on(&quot;singletap swipeup swipedown swiperight swipeleft&quot;,function(e){var t=e.type;e.target;switch(t){case&quot;singletap&quot;:i.B_();break;case&quot;swipeup&quot;:i.L_();break;case&quot;swiperight&quot;:i.B();break;case&quot;swipedown&quot;:i.L();break;case&quot;swipeleft&quot;:i.B_()}}),o=new e.Swipe,o.set({direction:e.DIRECTION_ALL}),c=new e.Manager(r,{}),c.add(o),c.add(new e.Tap({event:&quot;singletap&quot;})),c.on(&quot;singletap swipeup swipedown swiperight swipeleft&quot;,function(e){var t=e.type;e.target;switch(t){case&quot;singletap&quot;:i.D_();break;case&quot;swipeup&quot;:i.B_();break;case&quot;swiperight&quot;:i.D();break;case&quot;swipedown&quot;:i.B();break;case&quot;swipeleft&quot;:i.D_()}})}function l(t){var i=this,a=t&amp;&amp;t.isTapEnabled,n=this._touchElements[8],s=(0,d.qs)('[data-type=&quot;down&quot;]',n),r=(0,d.qs)('[data-type=&quot;back&quot;]',n),o=(0,d.qs)('[data-type=&quot;right&quot;]',n),c=new e.Swipe;c.set({direction:e.DIRECTION_ALL});var u=new e.Manager(r,{});u.add(c),u.add(new e.Tap({event:&quot;singletap&quot;})),u.on(&quot;singletap swipeup swipedown swiperight swipeleft&quot;,function(e){var t=e.type;e.target;switch(t){case&quot;singletap&quot;:a&amp;&amp;i.R_();break;case&quot;swipeup&quot;:i.R();break;case&quot;swiperight&quot;:i.D();break;case&quot;swipedown&quot;:i.R_();break;case&quot;swipeleft&quot;:i.D_()}}),c=new e.Swipe,c.set({direction:e.DIRECTION_ALL}),u=new e.Manager(s,{}),u.add(c),u.add(new e.Tap({event:&quot;singletap&quot;})),u.on(&quot;singletap swipeup swipedown swiperight swipeleft&quot;,function(e){var t=e.type;e.target;switch(t){case&quot;singletap&quot;:a&amp;&amp;i.B();break;case&quot;swipeup&quot;:i.R();break;case&quot;swiperight&quot;:i.B();break;case&quot;swipedown&quot;:i.R_();break;case&quot;swipeleft&quot;:i.B_()}}),c=new e.Swipe,c.set({direction:e.DIRECTION_ALL}),u=new e.Manager(o,{}),u.add(c),u.add(new e.Tap({event:&quot;singletap&quot;})),u.on(&quot;singletap swipeup swipedown swiperight swipeleft&quot;,function(e){var t=e.type;e.target;switch(t){case&quot;singletap&quot;:a&amp;&amp;i.D();break;case&quot;swipeup&quot;:i.B();break;case&quot;swiperight&quot;:i.D();break;case&quot;swipedown&quot;:i.B_();break;case&quot;swipeleft&quot;:i.D_()}})}Object.defineProperty(t,&quot;__esModule&quot;,{value:!0}),t.setupCube1=a,t.setupCube2=n,t.setupCube3=s,t.setupCube4=r,t.setupCube5=o,t.setupCube6=c,t.setupCube7=u,t.setupCube8=l;var d=i(5);i(2)}).call(t,i(20))},function(e,t,i){&quot;use strict&quot;;function a(e,t){if(!(e instanceof t))throw new TypeError(&quot;Cannot call a class as a function&quot;)}Object.defineProperty(t,&quot;__esModule&quot;,{value:!0}),t.CubeTwoUi=void 0;var n=function(){function e(e,t){for(var i=0;i&lt;t.length;i++){var a=t[i];a.enumerable=a.enumerable||!1,a.configurable=!0,&quot;value&quot;in a&amp;&amp;(a.writable=!0),Object.defineProperty(e,a.key,a)}}return function(t,i,a){return i&amp;&amp;e(t.prototype,i),a&amp;&amp;e(t,a),t}}();i(2),t.CubeTwoUi=function(){function e(t){a(this,e),this.displayElements=t}return n(e,[{key:&quot;uiF_Helper&quot;,value:function(e){this.displayElements[1].style.transformOrigin=&quot;100% 100%&quot;,this.displayElements[2].style.transformOrigin=&quot;0% 100%&quot;,this.displayElements[3].style.transformOrigin=&quot;100% 0%&quot;,this.displayElements[4].style.transformOrigin=&quot;0% 0%&quot;,this.displayElements[1].style.transform=&quot;rotateZ(&quot;+e+&quot;deg)&quot;,this.displayElements[2].style.transform=&quot;rotateZ(&quot;+e+&quot;deg)&quot;,this.displayElements[3].style.transform=&quot;rotateZ(&quot;+e+&quot;deg)&quot;,this.displayElements[4].style.transform=&quot;rotateZ(&quot;+e+&quot;deg)&quot;}},{key:&quot;uiF&quot;,value:function(){this.uiF_Helper(&quot;90&quot;)}},{key:&quot;uiF_&quot;,value:function(){this.uiF_Helper(&quot;-90&quot;)}},{key:&quot;uiF2&quot;,value:function(){this.uiF_Helper(&quot;180&quot;)}},{key:&quot;uiF2_&quot;,value:function(){this.uiF_Helper(&quot;-180&quot;)}},{key:&quot;uiB_Helper&quot;,value:function(e){this.displayElements[5].style.transformOrigin=&quot;100% 100%&quot;,this.displayElements[6].style.transformOrigin=&quot;0% 100%&quot;,this.displayElements[7].style.transformOrigin=&quot;100% 0%&quot;,this.displayElements[8].style.transformOrigin=&quot;0% 0%&quot;,this.displayElements[5].style.transform=&quot;rotateZ(&quot;+e+&quot;deg)&quot;,this.displayElements[6].style.transform=&quot;rotateZ(&quot;+e+&quot;deg)&quot;,this.displayElements[7].style.transform=&quot;rotateZ(&quot;+e+&quot;deg)&quot;,this.displayElements[8].style.transform=&quot;rotateZ(&quot;+e+&quot;deg)&quot;}},{key:&quot;uiB&quot;,value:function(){this.uiB_Helper(&quot;-90&quot;)}},{key:&quot;uiB_&quot;,value:function(){this.uiB_Helper(&quot;90&quot;)}},{key:&quot;uiB2&quot;,value:function(){this.uiB_Helper(&quot;-180&quot;)}},{key:&quot;uiB2_&quot;,value:function(){this.uiB_Helper(&quot;180&quot;)}},{key:&quot;uiU_Helper&quot;,value:function(e){this.displayElements[1].style.transformOrigin=&quot;100% 0%&quot;,this.displayElements[2].style.transformOrigin=&quot;0% 0%&quot;,this.displayElements[5].style.transformOrigin=&quot;100% 0%&quot;,this.displayElements[6].style.transformOrigin=&quot;0% 0%&quot;,this.displayElements[1].style.transform=&quot;rotateY(&quot;+e+&quot;deg)&quot;,this.displayElements[2].style.transform=&quot;rotateY(&quot;+e+&quot;deg)&quot;,this.displayElements[5].style.transform=&quot;rotateY(&quot;+e+&quot;deg)&quot;,this.displayElements[6].style.transform=&quot;rotateY(&quot;+e+&quot;deg)&quot;}},{key:&quot;uiU&quot;,value:function(){this.uiU_Helper(&quot;-90&quot;)}},{key:&quot;uiU_&quot;,value:function(){this.uiU_Helper(&quot;90&quot;)}},{key:&quot;uiU2&quot;,value:function(){this.uiU_Helper(&quot;-180&quot;)}},{key:&quot;uiU2_&quot;,value:function(){this.uiU_Helper(&quot;180&quot;)}},{key:&quot;uiD_Helper&quot;,value:function(e){this.displayElements[3].style.transformOrigin=&quot;100% 0%&quot;,this.displayElements[4].style.transformOrigin=&quot;0% 0%&quot;,this.displayElements[7].style.transformOrigin=&quot;100% 0%&quot;,this.displayElements[8].style.transformOrigin=&quot;0% 0%&quot;,this.displayElements[3].style.transform=&quot;rotateY(&quot;+e+&quot;deg)&quot;,this.displayElements[4].style.transform=&quot;rotateY(&quot;+e+&quot;deg)&quot;,this.displayElements[7].style.transform=&quot;rotateY(&quot;+e+&quot;deg)&quot;,this.displayElements[8].style.transform=&quot;rotateY(&quot;+e+&quot;deg)&quot;}},{key:&quot;uiD&quot;,value:function(){this.uiD_Helper(&quot;90&quot;)}},{key:&quot;uiD_&quot;,value:function(){this.uiD_Helper(&quot;-90&quot;)}},{key:&quot;uiD2&quot;,value:function(){this.uiD_Helper(&quot;180&quot;)}},{key:&quot;uiD2_&quot;,value:function(){this.uiD_Helper(&quot;-180&quot;)}},{key:&quot;uiR_Helper&quot;,value:function(e){this.displayElements[2].style.transformOrigin=&quot;0% 100%&quot;,this.displayElements[6].style.transformOrigin=&quot;0% 100%&quot;,this.displayElements[8].style.transformOrigin=&quot;0% 0%&quot;,this.displayElements[4].style.transformOrigin=&quot;0% 0%&quot;,this.displayElements[2].style.transform=&quot;rotateX(&quot;+e+&quot;deg)&quot;,this.displayElements[6].style.transform=&quot;rotateX(&quot;+e+&quot;deg)&quot;,this.displayElements[8].style.transform=&quot;rotateX(&quot;+e+&quot;deg)&quot;,this.displayElements[4].style.transform=&quot;rotateX(&quot;+e+&quot;deg)&quot;}},{key:&quot;uiR&quot;,value:function(){this.uiR_Helper(&quot;90&quot;)}},{key:&quot;uiR_&quot;,value:function(){this.uiR_Helper(&quot;-90&quot;)}},{key:&quot;uiR2&quot;,value:function(){this.uiR_Helper(&quot;180&quot;)}},{key:&quot;uiR2_&quot;,value:function(){this.uiR_Helper(&quot;-180&quot;)}},{key:&quot;uiL_Helper&quot;,value:function(e){this.displayElements[1].style.transformOrigin=&quot;0% 100%&quot;,this.displayElements[5].style.transformOrigin=&quot;0% 100%&quot;,this.displayElements[7].style.transformOrigin=&quot;0% 0%&quot;,this.displayElements[3].style.transformOrigin=&quot;0% 0%&quot;,this.displayElements[1].style.transform=&quot;rotateX(&quot;+e+&quot;deg)&quot;,this.displayElements[5].style.transform=&quot;rotateX(&quot;+e+&quot;deg)&quot;,this.displayElements[7].style.transform=&quot;rotateX(&quot;+e+&quot;deg)&quot;,this.displayElements[3].style.transform=&quot;rotateX(&quot;+e+&quot;deg)&quot;}},{key:&quot;uiL&quot;,value:function(){this.uiL_Helper(&quot;-90&quot;)}},{key:&quot;uiL_&quot;,value:function(){this.uiL_Helper(&quot;90&quot;)}},{key:&quot;uiL2&quot;,value:function(){this.uiL_Helper(&quot;-180&quot;)}},{key:&quot;uiL2_&quot;,value:function(){this.uiL_Helper(&quot;180&quot;)}},{key:&quot;uix&quot;,value:function(){this.uiR(),this.uiL_()}},{key:&quot;uix_&quot;,value:function(){this.uiR_(),this.uiL()}},{key:&quot;uix2&quot;,value:function(){this.uiR2(),this.uiL2_()}},{key:&quot;uix2_&quot;,value:function(){this.uiR2_(),this.uiL2()}},{key:&quot;uiy&quot;,value:function(){this.uiU_(),this.uiD()}},{key:&quot;uiy_&quot;,value:function(){this.uiU(),this.uiD_()}},{key:&quot;uiy2&quot;,value:function(){this.uiU2_(),this.uiD2()}},{key:&quot;uiy2_&quot;,value:function(){this.uiU2(),this.uiD2_()}},{key:&quot;uiz&quot;,value:function(){this.uiF(),this.uiB_()}},{key:&quot;uiz_&quot;,value:function(){this.uiF_(),this.uiB()}},{key:&quot;uiz2&quot;,value:function(){this.uiF2(),this.uiB2_()}},{key:&quot;uiz2_&quot;,value:function(){this.uiF2_(),this.uiB2()}}]),e}()},function(e,t,i){&quot;use strict&quot;;function a(e){return e&amp;&amp;e.__esModule?e:{default:e}}function n(e,t){if(!(e instanceof t))throw new TypeError(&quot;Cannot call a class as a function&quot;)}Object.defineProperty(t,&quot;__esModule&quot;,{value:!0}),t.CubeTwo=void 0;var s=function(){function e(e,t){for(var i=0;i&lt;t.length;i++){var a=t[i];a.enumerable=a.enumerable||!1,a.configurable=!0,&quot;value&quot;in a&amp;&amp;(a.writable=!0),Object.defineProperty(e,a.key,a)}}return function(t,i,a){return i&amp;&amp;e(t.prototype,i),\na&amp;&amp;e(t,a),t}}(),r=i(2),o=i(5),c=i(3),u=a(c),l=i(4),d=i(14),p=i(7),f=(a(p),i(6)),b=a(f),g=i(18),h=a(g),_=i(11),w=i(15),v=i(13),y=i(1),k=i(12),E=function(){function e(t){return n(this,e),t?t.cubeComponent?(this._cubeComponentEl=t.cubeComponent,this._appState={},this._ui=null,this._config=(0,l.cloneObject)(t),this._parseConfig(this._config,this._cubeComponentEl),this._updateEventBindings(),void this._initCallbacks()):void(0,r.error)(&quot;CubeTwo element was not provided: &quot;+t.cubeComponent):void(0,r.error)(&quot;config is invalid for CubeTwo, did you forgot to provide one?&quot;)}return s(e,[{key:&quot;_parseConfig&quot;,value:function(e,t){function i(e,t){e?l[t]={c1:n[t]+' url(&quot;'+r[t]+'&quot;) 0% 0% \/ '+_.CUBE_SIZE_2X+&quot; &quot;+_.CUBE_SIZE_2X+&quot; no-repeat&quot;,c2:n[t]+' url(&quot;'+r[t]+'&quot;) 100% 0% \/ '+_.CUBE_SIZE_2X+&quot; &quot;+_.CUBE_SIZE_2X+&quot; no-repeat&quot;,c3:n[t]+' url(&quot;'+r[t]+'&quot;) 0% 100% \/ '+_.CUBE_SIZE_2X+&quot; &quot;+_.CUBE_SIZE_2X+&quot; no-repeat&quot;,c4:n[t]+' url(&quot;'+r[t]+'&quot;) 100% 100% \/ '+_.CUBE_SIZE_2X+&quot; &quot;+_.CUBE_SIZE_2X+&quot; no-repeat&quot;}:l[t]={c1:n[t],c2:n[t],c3:n[t],c4:n[t]}}void 0===e.isRotateAnimationEnabled&amp;&amp;(e.isRotateAnimationEnabled=!0),void 0===e.isTapEnabled&amp;&amp;(e.isTapEnabled=!0),void 0===e.isAnimationLockEnabled&amp;&amp;(e.isAnimationLockEnabled=!0),void 0===e.borderOnTheCube&amp;&amp;(e.borderOnTheCube=!0),void 0===e.backgroundBlendModeOnTheCube&amp;&amp;(e.backgroundBlendModeOnTheCube=!0),e.transition&amp;&amp;(0,o.qsa)('[data-type=&quot;cubetwo-display&quot;]',t).forEach(function(t){t.style.transition=e.transition}),e.backgroundImages=e.backgroundImages||{},e.backgroundColors=e.backgroundColors||{};var a=e.backgroundColors,n={};n.backface=a.backface||a._||h.default.backface,n.f=a.f||h.default.f,n.b=a.b||h.default.b,n.u=a.u||h.default.u,n.d=a.d||h.default.d,n.r=a.r||h.default.r,n.l=a.l||h.default.l,e.backgroundColors=n;var s=n.backface,r=e.backgroundImages,c={cubes:[null,null,null,null,null,null,null,null,null],backface:s},l={};i(r.f,&quot;f&quot;),i(r.b,&quot;b&quot;),i(r.u,&quot;u&quot;),i(r.d,&quot;d&quot;),i(r.r,&quot;r&quot;),i(r.l,&quot;l&quot;),c.cubes[1]={u:l.u.c3,d:s,f:l.f.c1,b:s,r:s,l:l.l.c2},c.cubes[2]={u:l.u.c4,d:s,f:l.f.c2,b:s,r:l.r.c1,l:s},c.cubes[3]={u:s,d:l.d.c1,f:l.f.c3,b:s,r:s,l:l.l.c4},c.cubes[4]={u:s,d:l.d.c2,f:l.f.c4,b:s,r:l.r.c3,l:s},c.cubes[5]={u:l.u.c1,d:s,f:s,b:l.b.c2,r:s,l:l.l.c1},c.cubes[6]={u:l.u.c2,d:s,f:s,b:l.b.c1,r:l.r.c2,l:s},c.cubes[7]={u:s,d:l.d.c3,f:s,b:l.b.c4,r:s,l:l.l.c3},c.cubes[8]={u:s,d:l.d.c4,f:s,b:l.b.c3,r:l.r.c4,l:s},e.cubeSkins=c,(0,u.default)(e)}},{key:&quot;_updateEventBindings&quot;,value:function(){this._transitionEnd=this._transitionEnd.bind(this),this.handleGlobalKeyEvent=k.handleGlobalKeyEvent.bind(this)}},{key:&quot;_initCallbacks&quot;,value:function(){var e=this;this.callbacks={},Object.keys(y.EVENT_NAMES).forEach(function(t,i){return e.callbacks[t]=[]})}},{key:&quot;addCallbackForEvent&quot;,value:function(e,t){var i=this.callbacks[e=e.toLowerCase()];i&amp;&amp;&quot;function&quot;==typeof t&amp;&amp;i.push(t)}},{key:&quot;_triggerEvent&quot;,value:function(e,t){var i=this.callbacks[e]||[],a=void 0,n=void 0;for(a=0,n=i.length;a&lt;n;a++)i[a].call(this,e,t)}},{key:&quot;getState&quot;,value:function(){var e=this._appState.codes.map(function(e){return(0,l.cloneObject)(e)});return{codes:e,isRotateEnabled:!!this._appState.isRotateEnabled}}},{key:&quot;getStateCode&quot;,value:function(){return JSON.stringify(this.getState().codes)}},{key:&quot;isSolved&quot;,value:function(){return this._isSolved(this.getState().codes)}},{key:&quot;_isSolved&quot;,value:function(e){return!!e.reduce(function(e,t){return e.code===t.code?e:NaN})}},{key:&quot;_setState&quot;,value:function(e){var t=JSON.stringify(this._appState.codes),i=JSON.stringify(e.codes);void 0===e.isRotateEnabled&amp;&amp;(e.isRotateEnabled=!0),this._appState=e,t!==i&amp;&amp;(this._triggerEvent(&quot;statechange&quot;,{previousStateCode:t,currentStateCode:i,state:e}),this._isSolved(e.codes)&amp;&amp;this._triggerEvent(&quot;issolved&quot;,{state:e}))}},{key:&quot;_beforeRotateTriggerHelper&quot;,value:function(e){var t=e.action,i=e.config;i&amp;&amp;i.skipTriggerEvent||this._triggerEvent(&quot;beforerotate&quot;,{action:t,state:this.getState()})}},{key:&quot;F&quot;,value:function(e){var t=&quot;F&quot;;this._beforeRotateTriggerHelper({action:t,config:e}),this._actionInvoke({action:t,config:e,ui:this._ui.uiF})}},{key:&quot;F_&quot;,value:function(e){var t=&quot;F_&quot;;this._beforeRotateTriggerHelper({action:t,config:e}),this._actionInvoke({action:t,config:e,ui:this._ui.uiF_})}},{key:&quot;F2&quot;,value:function(e){var t=&quot;F2&quot;;this._beforeRotateTriggerHelper({action:t,config:e}),this._actionInvoke({action:t,config:e,ui:this._ui.uiF2})}},{key:&quot;F2_&quot;,value:function(e){var t=&quot;F2_&quot;;this._beforeRotateTriggerHelper({action:t,config:e}),this._actionInvoke({action:t,config:e,ui:this._ui.uiF2_})}},{key:&quot;B&quot;,value:function(e){var t=&quot;B&quot;;this._beforeRotateTriggerHelper({action:t,config:e}),this._actionInvoke({action:t,config:e,ui:this._ui.uiB})}},{key:&quot;B_&quot;,value:function(e){var t=&quot;B_&quot;;this._beforeRotateTriggerHelper({action:t,config:e}),this._actionInvoke({action:t,config:e,ui:this._ui.uiB_})}},{key:&quot;B2&quot;,value:function(e){var t=&quot;B2&quot;;this._beforeRotateTriggerHelper({action:t,config:e}),this._actionInvoke({action:t,config:e,ui:this._ui.uiB2})}},{key:&quot;B2_&quot;,value:function(e){var t=&quot;B2_&quot;;this._beforeRotateTriggerHelper({action:t,config:e}),this._actionInvoke({action:t,config:e,ui:this._ui.uiB2_})}},{key:&quot;U&quot;,value:function(e){var t=&quot;U&quot;;this._beforeRotateTriggerHelper({action:t,config:e}),this._actionInvoke({action:t,config:e,ui:this._ui.uiU})}},{key:&quot;U_&quot;,value:function(e){var t=&quot;U_&quot;;this._beforeRotateTriggerHelper({action:t,config:e}),this._actionInvoke({action:t,config:e,ui:this._ui.uiU_})}},{key:&quot;U2&quot;,value:function(e){var t=&quot;U2&quot;;this._beforeRotateTriggerHelper({action:t,config:e}),this._actionInvoke({action:t,config:e,ui:this._ui.uiU2})}},{key:&quot;U2_&quot;,value:function(e){var t=&quot;U2_&quot;;this._beforeRotateTriggerHelper({action:t,config:e}),this._actionInvoke({action:t,config:e,ui:this._ui.uiU2_})}},{key:&quot;D&quot;,value:function(e){var t=&quot;D&quot;;this._beforeRotateTriggerHelper({action:t,config:e}),this._actionInvoke({action:t,config:e,ui:this._ui.uiD})}},{key:&quot;D_&quot;,value:function(e){var t=&quot;D_&quot;;this._beforeRotateTriggerHelper({action:t,config:e}),this._actionInvoke({action:t,config:e,ui:this._ui.uiD_})}},{key:&quot;D2&quot;,value:function(e){var t=&quot;D2&quot;;this._beforeRotateTriggerHelper({action:t,config:e}),this._actionInvoke({action:t,config:e,ui:this._ui.uiD2})}},{key:&quot;D2_&quot;,value:function(e){var t=&quot;D2_&quot;;this._beforeRotateTriggerHelper({action:t,config:e}),this._actionInvoke({action:t,config:e,ui:this._ui.uiD2_})}},{key:&quot;R&quot;,value:function(e){var t=&quot;R&quot;;this._beforeRotateTriggerHelper({action:t,config:e}),this._actionInvoke({action:t,config:e,ui:this._ui.uiR})}},{key:&quot;R_&quot;,value:function(e){var t=&quot;R_&quot;;this._beforeRotateTriggerHelper({action:t,config:e}),this._actionInvoke({action:t,config:e,ui:this._ui.uiR_})}},{key:&quot;R2&quot;,value:function(e){var t=&quot;R2&quot;;this._beforeRotateTriggerHelper({action:t,config:e}),this._actionInvoke({action:t,config:e,ui:this._ui.uiR2})}},{key:&quot;R2_&quot;,value:function(e){var t=&quot;R2_&quot;;this._beforeRotateTriggerHelper({action:t,config:e}),this._actionInvoke({action:t,config:e,ui:this._ui.uiR2_})}},{key:&quot;L&quot;,value:function(e){var t=&quot;L&quot;;this._beforeRotateTriggerHelper({action:t,config:e}),this._actionInvoke({action:t,config:e,ui:this._ui.uiL})}},{key:&quot;L_&quot;,value:function(e){var t=&quot;L_&quot;;this._beforeRotateTriggerHelper({action:t,config:e}),this._actionInvoke({action:t,config:e,ui:this._ui.uiL_})}},{key:&quot;L2&quot;,value:function(e){var t=&quot;L2&quot;;this._beforeRotateTriggerHelper({action:t,config:e}),this._actionInvoke({action:t,config:e,ui:this._ui.uiL2})}},{key:&quot;L2_&quot;,value:function(e){var t=&quot;L2_&quot;;this._beforeRotateTriggerHelper({action:t,config:e}),this._actionInvoke({action:t,config:e,ui:this._ui.uiL2_})}},{key:&quot;x&quot;,value:function(e){var t=&quot;x&quot;;this._beforeRotateTriggerHelper({action:t,config:e}),this._actionInvoke({action:t,config:e,ui:this._ui.uix})}},{key:&quot;x_&quot;,value:function(e){var t=&quot;x_&quot;;this._beforeRotateTriggerHelper({action:t,config:e}),this._actionInvoke({action:t,config:e,ui:this._ui.uix_})}},{key:&quot;x2&quot;,value:function(e){var t=&quot;x2&quot;;this._beforeRotateTriggerHelper({action:t,config:e}),this._actionInvoke({action:t,config:e,ui:this._ui.uix2})}},{key:&quot;x2_&quot;,value:function(e){var t=&quot;x2_&quot;;this._beforeRotateTriggerHelper({action:t,config:e}),this._actionInvoke({action:t,config:e,ui:this._ui.uix2_})}},{key:&quot;y&quot;,value:function(e){var t=&quot;y&quot;;this._beforeRotateTriggerHelper({action:t,config:e}),this._actionInvoke({action:t,config:e,ui:this._ui.uiy})}},{key:&quot;y_&quot;,value:function(e){var t=&quot;y_&quot;;this._beforeRotateTriggerHelper({action:t,config:e}),this._actionInvoke({action:t,config:e,ui:this._ui.uiy_})}},{key:&quot;y2&quot;,value:function(e){var t=&quot;y2&quot;;this._beforeRotateTriggerHelper({action:t,config:e}),this._actionInvoke({action:t,config:e,ui:this._ui.uiy2})}},{key:&quot;y2_&quot;,value:function(e){var t=&quot;y2_&quot;;this._beforeRotateTriggerHelper({action:t,config:e}),this._actionInvoke({action:t,config:e,ui:this._ui.uiy2_})}},{key:&quot;z&quot;,value:function(e){var t=&quot;z&quot;;this._beforeRotateTriggerHelper({action:t,config:e}),this._actionInvoke({action:t,config:e,ui:this._ui.uiz})}},{key:&quot;z2&quot;,value:function(e){var t=&quot;z2&quot;;this._beforeRotateTriggerHelper({action:t,config:e}),this._actionInvoke({action:t,config:e,ui:this._ui.uiz2})}},{key:&quot;z_&quot;,value:function(e){var t=&quot;z_&quot;;this._beforeRotateTriggerHelper({action:t,config:e}),this._actionInvoke({action:t,config:e,ui:this._ui.uiz_})}},{key:&quot;z2_&quot;,value:function(e){var t=&quot;z2_&quot;;this._beforeRotateTriggerHelper({action:t,config:e}),this._actionInvoke({action:t,config:e,ui:this._ui.uiz2_})}},{key:&quot;_actionInvoke&quot;,value:function(e){var t=e.action,i=e.config,a=e.ui;i=i||{};var n=this.getState();if(i.noVisualUpdate){var s=(0,v.reducer)({action:t,stateCodes:n.codes});return n.codes=s,void this._setState(n)}if(!n.isRotateEnabled)return void(0,r.debug)(&quot;rotate is locked &quot;+new Date);var o=this._config,c=(0,v.reducer)({action:t,stateCodes:n.codes});n.codes=c,o.isRotateAnimationEnabled?(n.isRotateEnabled=!1,this._setState(n),a.bind(this._ui)()):(this._setState(n),this._updateUiFaces())}},{key:&quot;destroy&quot;,value:function(){}},{key:&quot;_transitionEnd&quot;,value:function(e){var t=this,i=e.currentTarget,a=this._config;i&amp;&amp;!function(){var e=i.style.transition;i.style.transition=&quot;0s&quot;,(0,l.nextFrame)(function(n){i.style.transformOrigin=&quot;&quot;,i.style.transform=&quot;&quot;,t._updateUiFaces(),(0,l.rAF)(function(n){if(i.style.transition=e,a.isAnimationLockEnabled){var s=t.getState();s.isRotateEnabled=!0,t._setState(s)}t._triggerEvent(&quot;afterrotate&quot;,{index:i.dataset.index})})})}()}},{key:&quot;init&quot;,value:function(){var e=l.nextState.first;this._setState({codes:[{cube:1,code:e},{cube:2,code:e},{cube:3,code:e},{cube:4,code:e},{cube:5,code:e},{cube:6,code:e},{cube:7,code:e},{cube:8,code:e}],isRotateEnabled:!0}),this._cubeElements=[&quot;&quot;],this._touchElements=[&quot;&quot;],this._displayElements=[{}];var t=this._config;t.borderOnTheCube&amp;&amp;this._cubeComponentEl.classList.add(&quot;cubetwo-border-on-display-cubes&quot;),t.backfaceVisibilityHiddenOnTheCube&amp;&amp;this._cubeComponentEl.classList.add(&quot;cubetwo-backface-visibility-hidden-on-display-cubes&quot;),t.backgroundBlendModeOnTheCube&amp;&amp;(t.backgroundBlendModeOnTheCube===!0||&quot;multiply&quot;===t.backgroundBlendModeOnTheCube?this._cubeComponentEl.classList.add(&quot;cubetwo-background-blend-mode-on-display-cubes&quot;):(0,o.qsa)('[data-type=&quot;cubetwo-display&quot;] &gt; div &gt; div',this._cubeComponentEl).forEach(function(e){e.style.backgroundBlendMode=t.backgroundBlendModeOnTheCube}));for(var i=1;i&lt;=_.CUBE_COUNT;i++){var a=(0,o.qs)(&quot;.cubetwo-cube-&quot;+i,this._cubeComponentEl),n=(0,o.qs)('[data-type=&quot;cubetwo-touch&quot;]',a),s=(0,o.qs)('[data-type=&quot;cubetwo-display&quot;]',a),r=(0,o.qs)('[data-type=&quot;front&quot;] &gt; div',s),c=(0,o.qs)('[data-type=&quot;back&quot;] &gt; div',s),p=(0,o.qs)('[data-type=&quot;up&quot;] &gt; div',s),f=(0,o.qs)('[data-type=&quot;down&quot;] &gt; div',s),b=(0,o.qs)('[data-type=&quot;right&quot;] &gt; div',s),g=(0,o.qs)('[data-type=&quot;left&quot;] &gt; div',s);this._cubeElements.push(a),this._displayElements.push({root:s,f:r,b:c,u:p,d:f,r:b,l:g}),this._touchElements.push(n)}(0,u.default)(this._cubeElements),(0,u.default)(this._touchElements),this._ui=new w.CubeTwoUi(this._displayElements.map(function(e){return e.root}));for(var i=1;i&lt;=_.CUBE_COUNT;i++){var h=this._displayElements[i].root;h&amp;&amp;h.addEventListener(&quot;transitionend&quot;,this._transitionEnd)}d.setupCube1.bind(this)(t),d.setupCube2.bind(this)(t),d.setupCube3.bind(this)(t),d.setupCube4.bind(this)(t),d.setupCube5.bind(this)(t),d.setupCube6.bind(this)(t),d.setupCube7.bind(this)(t),d.setupCube8.bind(this)(t),this._updateUiFaces(),this._cubeElements[1].addEventListener(&quot;keydown&quot;,k.handleKeyEventCube1.bind(this),!1),this._cubeElements[2].addEventListener(&quot;keydown&quot;,k.handleKeyEventCube2.bind(this),!1),this._cubeElements[3].addEventListener(&quot;keydown&quot;,k.handleKeyEventCube3.bind(this),!1),this._cubeElements[4].addEventListener(&quot;keydown&quot;,k.handleKeyEventCube4.bind(this),!1),this._cubeElements[5].addEventListener(&quot;keydown&quot;,k.handleKeyEventCube5.bind(this),!1),this._cubeElements[6].addEventListener(&quot;keydown&quot;,k.handleKeyEventCube6.bind(this),!1),this._cubeElements[7].addEventListener(&quot;keydown&quot;,k.handleKeyEventCube7.bind(this),!1),this._cubeElements[8].addEventListener(&quot;keydown&quot;,k.handleKeyEventCube8.bind(this),!1),this._triggerEvent(&quot;init&quot;,{state:this.getState()})}},{key:&quot;_updateUiFaces&quot;,value:function(){for(var e=this._config,t=e.cubeSkins.cubes,i=(e.cubeSkins.backface,this.getState()),a=void 0,n=void 0,s=void 0,r=void 0,o=void 0,c=void 0,u=void 0,d=void 0,p=void 0,f=void 0,g=1;g&lt;=_.CUBE_COUNT;g++)s=i.codes[g-1],c=(0,l.getUp)(s.code),u=(0,l.getDown)(s.code),r=(0,l.getFront)(s.code),o=(0,l.getBack)(s.code),d=(0,l.getRight)(s.code),p=(0,l.getLeft)(s.code),a=this._displayElements[g],n=t[s.cube],a.u.style.background=n,a.d.style.background=n[u],a.f.style.background=n[r],a.b.style.background=n[o],a.r.style.background=n[d],a.l.style.background=n[p],f=b.default[s.code].u,a.u.style.transform=f?&quot;rotate&quot;+f.dir+&quot;(&quot;+f.angle+&quot;deg)&quot;:&quot;&quot;,f=b.default[s.code].f,a.f.style.transform=f?&quot;rotate&quot;+f.dir+&quot;(&quot;+f.angle+&quot;deg)&quot;:&quot;&quot;,f=b.default[s.code].r,a.r.style.transform=f?&quot;rotate&quot;+f.dir+&quot;(&quot;+f.angle+&quot;deg)&quot;:&quot;&quot;,f=b.default[s.code].l,a.l.style.transform=f?&quot;rotate&quot;+f.dir+&quot;(&quot;+f.angle+&quot;deg)&quot;:&quot;&quot;,f=b.default[s.code].b,a.b.style.transform=f?&quot;rotate&quot;+f.dir+&quot;(&quot;+f.angle+&quot;deg)&quot;:&quot;&quot;,f=b.default[s.code].d,a.d.style.transform=f?&quot;rotate&quot;+f.dir+&quot;(&quot;+f.angle+&quot;deg)&quot;:&quot;&quot;}},{key:&quot;solve&quot;,value:function(){var e=l.nextState.first;this._setState({codes:[{cube:1,code:e},{cube:2,code:e},{cube:3,code:e},{cube:4,code:e},{cube:5,code:e},{cube:6,code:e},{cube:7,code:e},{cube:8,code:e}],isRotateEnabled:!0}),this._updateUiFaces()}},{key:&quot;scramble&quot;,value:function(){for(var e=[this.F,this.F_,this.B,this.B_,this.U,this.U_,this.D,this.D_,this.R,this.R_,this.L,this.L_,this.x,this.y,this.z,this.x_,this.y_,this.z_],t=e.length,i=void 0,a=void 0,n=0;n&lt;10;n++)a=Math.random()*t|0,(i=e[a].bind(this))({noVisualUpdate:!0});var s=this.getState();s.isRotateEnabled=!0,this._setState(s),this._updateUiFaces()}}]),e}();t.CubeTwo=E},function(e,t,i){&quot;use strict&quot;;Object.defineProperty(t,&quot;__esModule&quot;,{value:!0});var a=i(16);Object.defineProperty(t,&quot;CubeTwo&quot;,{enumerable:!0,get:function(){return a.CubeTwo}})},function(e,t,i){&quot;use strict&quot;;function a(e){return e&amp;&amp;e.__esModule?e:{default:e}}Object.defineProperty(t,&quot;__esModule&quot;,{value:!0});var n=i(3),s=a(n),r=[],o=.9;r._=r.backface=&quot;transparent&quot;,r.u=&quot;rgba(255, 255, 255, &quot;+o+&quot;)&quot;,r.f=&quot;rgba(0, 158, 96, &quot;+o+&quot;)&quot;,r.r=&quot;rgba(196, 30, 58, &quot;+o+&quot;)&quot;,r.l=&quot;rgba(255, 88, 0, &quot;+o+&quot;)&quot;,r.b=&quot;rgba(0, 81, 186, &quot;+o+&quot;)&quot;,r.d=&quot;rgba(255, 213, 0, &quot;+o+&quot;)&quot;,o=.3,r[&quot;u-dark&quot;]=&quot;rgba(255, 255, 255, &quot;+o+&quot;)&quot;,r[&quot;f-dark&quot;]=&quot;rgba(0, 158, 96, &quot;+o+&quot;)&quot;,r[&quot;r-dark&quot;]=&quot;rgba(196, 30, 58, &quot;+o+&quot;)&quot;,r[&quot;l-dark&quot;]=&quot;rgba(255, 88, 0, &quot;+o+&quot;)&quot;,r[&quot;b-dark&quot;]=&quot;rgba(0, 81, 186, &quot;+o+&quot;)&quot;,r[&quot;d-dark&quot;]=&quot;rgba(255, 213, 0, &quot;+o+&quot;)&quot;,(0,s.default)(r),t.default=r},,function(e,t){e.exports=Hammer}]);<\/pre><\/div>\n","protected":false},"excerpt":{"rendered":"","protected":false},"author":1,"featured_media":1234,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[67],"tags":[],"class_list":["post-1233","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-other"],"_links":{"self":[{"href":"https:\/\/notes.profidev.online\/ru\/wp-json\/wp\/v2\/posts\/1233","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/notes.profidev.online\/ru\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/notes.profidev.online\/ru\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/notes.profidev.online\/ru\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/notes.profidev.online\/ru\/wp-json\/wp\/v2\/comments?post=1233"}],"version-history":[{"count":1,"href":"https:\/\/notes.profidev.online\/ru\/wp-json\/wp\/v2\/posts\/1233\/revisions"}],"predecessor-version":[{"id":1235,"href":"https:\/\/notes.profidev.online\/ru\/wp-json\/wp\/v2\/posts\/1233\/revisions\/1235"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/notes.profidev.online\/ru\/wp-json\/wp\/v2\/media\/1234"}],"wp:attachment":[{"href":"https:\/\/notes.profidev.online\/ru\/wp-json\/wp\/v2\/media?parent=1233"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/notes.profidev.online\/ru\/wp-json\/wp\/v2\/categories?post=1233"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/notes.profidev.online\/ru\/wp-json\/wp\/v2\/tags?post=1233"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}