From 0f91ebbcf77ced76bd452fe2eae7193e2725946e Mon Sep 17 00:00:00 2001 From: bill-the-dev Date: Wed, 13 Apr 2022 12:23:47 -0400 Subject: [PATCH] Fix turn indicator sizing for live site --- dist/main.css | 681 +++++++++++++++++- dist/main.js | 1609 +++++++++++++++++++++++++++++++++++++++++- src/styles/main.scss | 6 +- 3 files changed, 2289 insertions(+), 7 deletions(-) diff --git a/dist/main.css b/dist/main.css index b74f9bd..5d14644 100644 --- a/dist/main.css +++ b/dist/main.css @@ -1,3 +1,680 @@ -html,body,div,span,applet,object,iframe,h1,h2,h3,h4,h5,h6,p,blockquote,pre,a,abbr,acronym,address,big,cite,code,del,dfn,em,img,ins,kbd,q,s,samp,small,strike,strong,sub,sup,tt,var,b,u,i,center,dl,dt,dd,ol,ul,li,fieldset,form,label,legend,table,caption,tbody,tfoot,thead,tr,th,td,article,aside,canvas,details,embed,figure,figcaption,footer,header,hgroup,menu,nav,output,ruby,section,summary,time,mark,audio,video{margin:0;padding:0;border:0;font-size:100%;font:inherit;vertical-align:baseline}article,aside,details,figcaption,figure,footer,header,hgroup,menu,nav,section{display:block}body{line-height:1}ol,ul{list-style:none}blockquote,q{quotes:none}blockquote:before,blockquote:after,q:before,q:after{content:"";content:none}table{border-collapse:collapse;border-spacing:0}*{margin:0px;padding:0}body{background-color:#aee1f9;background-image:linear-gradient(45deg, #aee1f9 0%, #f6ebe6 74%);background-size:400%;margin:0px;background-position:center;display:flex}.turn-blue{animation:bg-animationBlue 5s;animation-fill-mode:forwards}.turn-red{animation:bg-animationRed 5s;animation-fill-mode:forwards}.turn-null{animation:bg-animationNull 2s;animation-fill-mode:forwards}@keyframes bg-animationRed{100%{background-position:right}}@keyframes bg-animationBlue{100%{background-position:left}}@keyframes bg-animationNull{100%{background-position:center}}#container{width:100%;height:100vh;display:flex;flex-direction:column}#game{width:100%;height:100%;display:grid;grid-template-columns:20vw 50vh auto;grid-template-rows:10vh 20vh 50vh 20vh}header{margin-bottom:1em}.title{grid-column:2;grid-row:1;align-self:end;font-family:"Quicksand",sans-serif;font-size:5rem;font-weight:bold;text-align:center;margin:1rem,0,1rem,0}#board-container{justify-self:center;align-self:center;grid-column:2;grid-row:3;place-items:center}#board{display:grid;grid-template-columns:repeat(5, 9vh);grid-template-rows:repeat(5, 9vh);z-index:1}.opponent-row{grid-column:2;grid-row:2;display:flex;align-self:end;justify-content:center;margin:5px}.on-deck-row{grid-column:3;grid-row:3;display:flex;flex-direction:column;align-self:center;justify-self:start;margin:5px}.on-deck-row .turn-circle{display:flex;height:12vh;width:12vh;border-radius:50%;align-items:center;justify-content:center;margin:2.5vh;font-family:"Quicksand",sans-serif;font-size:1.1rem;font-weight:700;box-shadow:0px 3px 18px 3px rgba(0,0,0,.2)}.on-deck-row .turn-blue-circle{background-image:linear-gradient(to bottom, #0099f7 10%, #81eff9 100%);color:#fff;visibility:hidden}.on-deck-row .turn-red-circle{background-image:linear-gradient(to bottom, #f8a7a6 0%, #ce0502 100%);color:#fff;visibility:hidden}.player-row{grid-column:2;grid-row:4;display:flex;align-self:start;justify-content:center;margin:5px}.square.inactive{border:.5px solid #9a9a9a;display:flex;background:#dbe6f6;background:radial-gradient(circle, #DBE6F6 1%, #bdc3c7 100%);min-width:40px;min-height:40px;border-radius:3px;justify-content:center;align-items:center;box-shadow:0px,3px,18px,rgba(0,0,0,.5)}.square.active{border:2px dashed #8c8c8c;display:flex;background:radial-gradient(circle, #dfdfd4 0%, #f4f3b0 100%);min-width:40px;min-height:40px;border-radius:3px;justify-content:center;align-items:center;box-shadow:0px,3px,18px,rgba(0,0,0,.5);cursor:pointer}.square.inactive.shrine-red{background:radial-gradient(circle, #DBE6F6 1%, #e98e8c 100%)}.square.inactive.shrine-blue{background:radial-gradient(circle, #DBE6F6 1%, #8cb9e9 100%)}.modal__howTo{height:100%;max-width:100%;display:flex;position:fixed;background-color:rgba(0,0,0,.25);margin:0 auto;visibility:hidden;justify-content:center;align-items:center}.modal{display:flex;background-color:#fff;height:100%;width:60%;padding:1em}.modal__fill{font-family:"Quicksand",sans-serif;font-size:1rem;color:#302f2f;z-index:4;overflow:auto}.modal__fill-active{visibility:visible;z-index:3}.modal__win{border:3px outset #adadad;display:none;flex-direction:column;grid-column:2;grid-row:3;align-items:center;justify-content:space-around;padding:2rem;z-index:10;font-family:"Quicksand",sans-serif;background-color:#fffffc;background-image:linear-gradient(to bottom, #f0f0d7 0%, #dedacf 74%);border-radius:6px;box-shadow:0px,3px,18px,rgba(0,0,0,.5)}.win-color{z-index:10;font-size:3rem}.win-type{z-index:10;font-size:2.5rem}#btn-restart{z-index:10;display:flex;align-items:center;justify-content:center;height:6vh;width:25vh;font-size:1.5rem;background-color:#f0f8ff;border-radius:6px;box-shadow:0px,3px,18px,rgba(0,0,0,.8);cursor:pointer}.modal__howTo{height:100%;max-width:100%;display:flex;position:fixed;background-color:rgba(0,0,0,.25);margin:0 auto;visibility:hidden;justify-content:center;align-items:center}.modal{display:flex;background-color:#fff;height:100%;width:60%;padding:1em}.modal__fill{font-family:"Quicksand",sans-serif;font-size:1rem;color:#302f2f;z-index:4;overflow:auto}.modal__fill-active{visibility:visible;z-index:3}.how-to-play{padding:1rem}.htp-title{font-size:2.5rem;font-weight:500;margin:1rem}.htp-title-description{font-size:1.2rem;font-style:italic;margin:1rem;padding-top:.5rem}.section{padding:1rem}.htp-subtitle{font-size:1.5rem;font-weight:500;text-decoration:underline;margin-bottom:.5rem}ul{padding-left:1rem;list-style:circle}ul li{padding-top:.5rem}.win-types{padding-top:.5rem}.win-types #p-win-type{margin-top:.5rem;font-size:1.1rem;font-weight:500;text-decoration:underline}.win-types #p-win-type+p{font-style:italic;padding:.5rem}.gif-container{display:flex;align-items:center;justify-content:center;padding:.5rem}.gif-container .gif-container-img{max-width:40vw;max-height:40vw;object-fit:contain}.about{margin-left:1rem;margin-right:1rem;margin-bottom:3rem}.about p{padding-top:.5rem}.move-card{width:16vh;height:12vh;perspective:1000px;transition:transform 1s;transform-style:preserve-3d;cursor:pointer;position:relative;border-radius:6px;margin:1vh}.front,.back{height:100%;width:100%;display:flex;justify-content:center;align-items:center;border-radius:6px;position:absolute}.front{z-index:2;backface-visibility:hidden;font-family:"Comforter",cursive;font-size:1.5rem}.player-row .move-card .front{background-image:linear-gradient(to bottom, #0099f7 10%, #81eff9 100%);color:#fff}.opponent-row .move-card .front{background-image:linear-gradient(to bottom, #f8a7a6 0%, #ce0502 100%);color:#fff}.on-deck-row .move-card .front{background-image:linear-gradient(to top, #0099f7, #f11712);color:#fff}.back{background-color:#fffffc;background-image:linear-gradient(to bottom, #f0f0d7 0%, #dedacf 74%);z-index:1;transform:rotateX(180deg)}#back4 .grid-graphic,#back5 .grid-graphic{transform:rotate(180deg)}.grid-graphic{pointer-events:none;height:8vh;width:8vh}.back.is_inverted{transform:rotate(180deg)}.move-card.is_flipped{transform:rotateX(180deg)}.move-card .back.active-card{border:1px solid #faf337cb;box-shadow:0px 3px 18px 3px rgba(249,242,45,.845)}.move-card .back.inactive-card{box-shadow:0px 3px 18px 3px rgba(0,0,0,.25)}#pawn{box-shadow:0px 3px 18px 3px rgba(0,0,0,.25);cursor:pointer}.blue-student-piece.inactive-pawn{width:4vh;height:4vh;border-radius:50%;background-image:linear-gradient(to bottom left, #0099f7 10%, #81eff9 100%)}.blue-master-piece.inactive-pawn{width:5vh;height:5vh;background-image:linear-gradient(to bottom left, #0099f7 10%, #81eff9 100%)}.red-student-piece.inactive-pawn{width:4vh;height:4vh;border-radius:50%;background-image:linear-gradient(to bottom left, #f8a7a6 0%, #ce0502 100%)}.red-master-piece.inactive-pawn{width:5vh;height:5vh;background-image:linear-gradient(to bottom left, #f8a7a6 0%, #ce0502 100%)}.red-master-piece.active-pawn,.blue-master-piece.active-pawn{width:5vh;height:5vh;background-image:linear-gradient(to bottom left, #f8f5d7 10%, #efeb78 100%);transform:scale(1.2)}.red-student-piece.active-pawn,.blue-student-piece.active-pawn{width:4vh;height:4vh;border-radius:50%;background-image:linear-gradient(to bottom left, #f8f5d7 10%, #efeb78 100%);transform:scale(1.2)}.menu-container{font-family:"Quicksand",sans-serif;font-size:.75rem;color:#302f2f;display:flex;flex-wrap:wrap;justify-content:center;align-items:center;grid-column:1;grid-row:3;border-radius:2px;margin-top:4px;margin-bottom:4px;margin-left:2rem;margin:2px}.menu-box{display:flex;flex-direction:column;box-shadow:0px 3px 18px 3px rgba(0,0,0,.2);height:45vh;width:70%;justify-content:space-around}.menu{display:flex;border-radius:2px;box-shadow:0px 3px 18px 3px rgba(0,0,0,.2);width:90%;height:15%;margin:5%;text-align:center;align-items:center;justify-content:center;cursor:pointer;font-size:1rem}.link-tab{text-decoration:none;color:inherit} +/*!*************************************************************************************************************************************!*\ + !*** css ./node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[1].use[1]!./node_modules/sass-loader/dist/cjs.js!./src/index.scss ***! + \*************************************************************************************************************************************/ +/* http://meyerweb.com/eric/tools/css/reset/ + v2.0 | 20110126 + License: none (public domain) +*/ +html, +body, +div, +span, +applet, +object, +iframe, +h1, +h2, +h3, +h4, +h5, +h6, +p, +blockquote, +pre, +a, +abbr, +acronym, +address, +big, +cite, +code, +del, +dfn, +em, +img, +ins, +kbd, +q, +s, +samp, +small, +strike, +strong, +sub, +sup, +tt, +var, +b, +u, +i, +center, +dl, +dt, +dd, +ol, +ul, +li, +fieldset, +form, +label, +legend, +table, +caption, +tbody, +tfoot, +thead, +tr, +th, +td, +article, +aside, +canvas, +details, +embed, +figure, +figcaption, +footer, +header, +hgroup, +menu, +nav, +output, +ruby, +section, +summary, +time, +mark, +audio, +video { + margin: 0; + padding: 0; + border: 0; + font-size: 100%; + font: inherit; + vertical-align: baseline; +} -/*# sourceMappingURL=main.css.map*/ \ No newline at end of file +/* HTML5 display-role reset for older browsers */ +article, +aside, +details, +figcaption, +figure, +footer, +header, +hgroup, +menu, +nav, +section { + display: block; +} + +body { + line-height: 1; +} + +ol, +ul { + list-style: none; +} + +blockquote, +q { + quotes: none; +} + +blockquote:before, +blockquote:after, +q:before, +q:after { + content: ""; + content: none; +} + +table { + border-collapse: collapse; + border-spacing: 0; +} + +* { + margin: 0px; + padding: 0; +} + +body { + background-color: #aee1f9; + background-image: linear-gradient(45deg, #aee1f9 0%, #f6ebe6 74%); + background-size: 400%; + margin: 0px; + background-position: center; + display: flex; +} + +/* idea: animate 5s transition on turn flip */ +.turn-blue { + animation: bg-animationBlue 5s; + animation-fill-mode: forwards; +} + +.turn-red { + animation: bg-animationRed 5s; + animation-fill-mode: forwards; +} + +.turn-null { + animation: bg-animationNull 2s; + animation-fill-mode: forwards; +} + +@keyframes bg-animationRed { + 100% { + background-position: right; + } +} +@keyframes bg-animationBlue { + 100% { + background-position: left; + } +} +@keyframes bg-animationNull { + 100% { + background-position: center; + } +} +#container { + width: 100%; + height: 100vh; + display: flex; + flex-direction: column; +} + +#game { + width: 100%; + height: 100%; + display: grid; + grid-template-columns: 20vw 50vh auto; + grid-template-rows: 10vh 20vh 50vh 20vh; +} + +header { + margin-bottom: 1em; +} + +.title { + grid-column: 2; + grid-row: 1; + align-self: end; + font-family: "Quicksand", sans-serif; + font-size: 5rem; + font-weight: bold; + text-align: center; + margin: 1rem, 0, 1rem, 0; +} + +#board-container { + justify-self: center; + align-self: center; + grid-column: 2; + grid-row: 3; + place-items: center; +} + +#board { + display: grid; + grid-template-columns: repeat(5, 9vh); + grid-template-rows: repeat(5, 9vh); + z-index: 1; +} + +.opponent-row { + grid-column: 2; + grid-row: 2; + display: flex; + align-self: end; + justify-content: center; + margin: 5px; +} + +.on-deck-row { + grid-column: 3; + grid-row: 3; + display: flex; + flex-direction: column; + align-self: center; + justify-self: start; + margin: 5px; +} +.on-deck-row .turn-circle { + display: flex; + height: 13vh; + width: 13vh; + border-radius: 50%; + align-items: center; + justify-content: center; + margin: 2.5vh; + font-family: "Quicksand", sans-serif; + font-size: 1rem; + font-weight: 700; + box-shadow: 0px 3px 18px 3px rgba(0, 0, 0, 0.2); +} +.on-deck-row .turn-blue-circle { + background-image: linear-gradient(to bottom, #0099f7 10%, #81eff9 100%); + color: #FFF; + visibility: hidden; +} +.on-deck-row .turn-red-circle { + background-image: linear-gradient(to bottom, #f8a7a6 0%, #ce0502 100%); + color: #FFF; + visibility: hidden; +} + +.player-row { + grid-column: 2; + grid-row: 4; + display: flex; + align-self: start; + justify-content: center; + margin: 5px; +} + +.square.inactive { + border: 0.5px solid #9a9a9a; + display: flex; + /* background-color: rgb(172, 123, 59); */ + background: #DBE6F6; + background: radial-gradient(circle, #DBE6F6 1%, #bdc3c7 100%); + min-width: 40px; + min-height: 40px; + border-radius: 3px; + justify-content: center; + align-items: center; + box-shadow: 0px, 3px, 18px, rgba(0, 0, 0, 0.5); + /* opacity: 0; */ +} + +.square.active { + border: 2px dashed #8c8c8c; + display: flex; + /* background-color: rgb(172, 123, 59); */ + background: radial-gradient(circle, #dfdfd4 0%, #f4f3b0 100%); + min-width: 40px; + min-height: 40px; + border-radius: 3px; + justify-content: center; + align-items: center; + box-shadow: 0px, 3px, 18px, rgba(0, 0, 0, 0.5); + cursor: pointer; + /* opacity: 0; */ +} + +.square.inactive.shrine-red { + background: radial-gradient(circle, #DBE6F6 1%, #e98e8c 100%); +} + +.square.inactive.shrine-blue { + background: radial-gradient(circle, #DBE6F6 1%, #8cb9e9 100%); +} + +.modal__howTo { + height: 100%; + max-width: 100%; + display: flex; + position: fixed; + background-color: rgba(0, 0, 0, 0.25); + margin: 0 auto; + visibility: hidden; + justify-content: center; + align-items: center; +} + +.modal { + display: flex; + background-color: #FFF; + height: 100%; + width: 60%; + padding: 1em; +} + +.modal__fill { + font-family: "Quicksand", sans-serif; + /* font-family: 'Poppins', sans-serif; */ + font-size: 1rem; + color: #302f2f; + z-index: 4; + overflow: auto; +} + +.modal__fill-active { + visibility: visible; + z-index: 3; +} + +/* +Font families: +font-family: 'Poppins', sans-serif; +font-family: 'Quicksand', sans-serif; +*/ +/* Grid Layout help: https://developer.mozilla.org/en-US/docs/Web/CSS/CSS_Grid_Layout/Basic_Concepts_of_Grid_Layout */ +.modal__win { + border: 3px outset #adadad; + display: none; + flex-direction: column; + grid-column: 2; + grid-row: 3; + align-items: center; + justify-content: space-around; + padding: 2rem; + z-index: 10; + font-family: "Quicksand", sans-serif; + background-color: #fffffc; + background-image: linear-gradient(to bottom, #f0f0d7 0%, #dedacf 74%); + border-radius: 6px; + box-shadow: 0px, 3px, 18px, rgba(0, 0, 0, 0.5); +} + +.win-color { + z-index: 10; + font-size: 3rem; +} + +.win-type { + z-index: 10; + font-size: 2.5rem; +} + +#btn-restart { + z-index: 10; + display: flex; + align-items: center; + justify-content: center; + height: 6vh; + width: 25vh; + font-size: 1.5rem; + background-color: aliceblue; + border-radius: 6px; + box-shadow: 0px, 3px, 18px, rgba(0, 0, 0, 0.8); + cursor: pointer; +} + +.modal__howTo { + height: 100%; + max-width: 100%; + display: flex; + position: fixed; + background-color: rgba(0, 0, 0, 0.25); + margin: 0 auto; + visibility: hidden; + justify-content: center; + align-items: center; +} + +.modal { + display: flex; + background-color: #FFF; + height: 100%; + width: 60%; + padding: 1em; +} + +.modal__fill { + font-family: "Quicksand", sans-serif; + font-size: 1rem; + color: #302f2f; + z-index: 4; + overflow: auto; +} + +.modal__fill-active { + visibility: visible; + z-index: 3; +} + +.how-to-play { + padding: 1rem; +} + +.htp-title { + font-size: 2.5rem; + font-weight: 500; + margin: 1rem; +} + +.htp-title-description { + font-size: 1.2rem; + font-style: italic; + margin: 1rem; + padding-top: 0.5rem; +} + +.section { + padding: 1rem; +} + +.htp-subtitle { + font-size: 1.5rem; + font-weight: 500; + text-decoration: underline; + margin-bottom: 0.5rem; +} + +ul { + padding-left: 1rem; + list-style: circle; +} +ul li { + padding-top: 0.5rem; +} + +.win-types { + padding-top: 0.5rem; +} +.win-types #p-win-type { + margin-top: 0.5rem; + font-size: 1.1rem; + font-weight: 500; + text-decoration: underline; +} +.win-types #p-win-type + p { + font-style: italic; + padding: 0.5rem; +} + +.gif-container { + display: flex; + align-items: center; + justify-content: center; + padding: 0.5rem; +} +.gif-container .gif-container-img { + max-width: 40vw; + max-height: 40vw; + object-fit: contain; +} + +.about { + margin-left: 1rem; + margin-right: 1rem; + margin-bottom: 3rem; +} +.about p { + padding-top: 0.5rem; +} + +.move-card { + width: 16vh; + height: 12vh; + perspective: 1000px; + transition: transform 1s; + transform-style: preserve-3d; + cursor: pointer; + position: relative; + border-radius: 6px; + margin: 1vh; +} + +.front, +.back { + height: 100%; + width: 100%; + display: flex; + justify-content: center; + align-items: center; + border-radius: 6px; + position: absolute; +} + +.front { + z-index: 2; + backface-visibility: hidden; + font-family: "Comforter", cursive; + font-size: 1.5rem; +} + +.player-row .move-card .front { + background-image: linear-gradient(to bottom, #0099f7 10%, #81eff9 100%); + color: #FFF; +} + +.opponent-row .move-card .front { + background-image: linear-gradient(to bottom, #f8a7a6 0%, #ce0502 100%); + color: #FFF; +} + +.on-deck-row .move-card .front { + background-image: linear-gradient(to top, #0099f7, #f11712); + color: #FFF; +} + +.back { + background-color: #fffffc; + background-image: linear-gradient(to bottom, #f0f0d7 0%, #dedacf 74%); + z-index: 1; + transform: rotateX(180deg); +} + +/* inverts opponent graphic */ +#back4 .grid-graphic, +#back5 .grid-graphic { + transform: rotate(180deg); +} + +/* click-through */ +.grid-graphic { + pointer-events: none; + height: 8vh; + width: 8vh; +} + +/* Not using? Needs confirm */ +.back.is_inverted { + transform: rotate(180deg); +} + +/* Flip card on toggle */ +.move-card.is_flipped { + transform: rotateX(180deg); +} + +/* Highlight card on select */ +.move-card .back.active-card { + border: 1px solid #faf337cb; + box-shadow: 0px 3px 18px 3px rgba(249, 242, 45, 0.845); +} + +.move-card .back.inactive-card { + box-shadow: 0px 3px 18px 3px rgba(0, 0, 0, 0.25); +} + +#pawn { + box-shadow: 0px 3px 18px 3px rgba(0, 0, 0, 0.25); + cursor: pointer; +} + +.blue-student-piece.inactive-pawn { + width: 4vh; + height: 4vh; + border-radius: 50%; + background-image: linear-gradient(to bottom left, #0099f7 10%, #81eff9 100%); +} + +.blue-master-piece.inactive-pawn { + width: 5vh; + height: 5vh; + background-image: linear-gradient(to bottom left, #0099f7 10%, #81eff9 100%); +} + +.red-student-piece.inactive-pawn { + width: 4vh; + height: 4vh; + border-radius: 50%; + background-image: linear-gradient(to bottom left, #f8a7a6 0%, #ce0502 100%); +} + +.red-master-piece.inactive-pawn { + width: 5vh; + height: 5vh; + background-image: linear-gradient(to bottom left, #f8a7a6 0%, #ce0502 100%); +} + +.red-master-piece.active-pawn, +.blue-master-piece.active-pawn { + width: 5vh; + height: 5vh; + background-image: linear-gradient(to bottom left, #f8f5d7 10%, #efeb78 100%); + transform: scale(1.2); +} + +.red-student-piece.active-pawn, +.blue-student-piece.active-pawn { + width: 4vh; + height: 4vh; + border-radius: 50%; + background-image: linear-gradient(to bottom left, #f8f5d7 10%, #efeb78 100%); + transform: scale(1.2); +} + +.menu-container { + font-family: "Quicksand", sans-serif; + font-size: 0.75rem; + color: #302f2f; + display: flex; + flex-wrap: wrap; + justify-content: center; + align-items: center; + grid-column: 1; + grid-row: 3; + border-radius: 2px; + margin-top: 4px; + margin-bottom: 4px; + margin-left: 2rem; + margin: 2px; +} + +.menu-box { + display: flex; + flex-direction: column; + box-shadow: 0px 3px 18px 3px rgba(0, 0, 0, 0.2); + height: 45vh; + width: 70%; + justify-content: space-around; +} + +.menu { + display: flex; + border-radius: 2px; + box-shadow: 0px 3px 18px 3px rgba(0, 0, 0, 0.2); + width: 90%; + height: 15%; + margin: 5%; + text-align: center; + align-items: center; + justify-content: center; + cursor: pointer; + font-size: 1rem; +} + +/* doesn't work... tried on div, id, a */ +.link-tab { + text-decoration: none; + color: inherit; +} diff --git a/dist/main.js b/dist/main.js index bded82a..181a7fb 100644 --- a/dist/main.js +++ b/dist/main.js @@ -1,2 +1,1607 @@ -!function(){var t={9662:function(t,e,n){var r=n(7854),i=n(614),o=n(6330),a=r.TypeError;t.exports=function(t){if(i(t))return t;throw a(o(t)+" is not a function")}},9483:function(t,e,n){var r=n(7854),i=n(4411),o=n(6330),a=r.TypeError;t.exports=function(t){if(i(t))return t;throw a(o(t)+" is not a constructor")}},6077:function(t,e,n){var r=n(7854),i=n(614),o=r.String,a=r.TypeError;t.exports=function(t){if("object"==typeof t||i(t))return t;throw a("Can't set "+o(t)+" as a prototype")}},1223:function(t,e,n){var r=n(5112),i=n(30),o=n(3070),a=r("unscopables"),c=Array.prototype;null==c[a]&&o.f(c,a,{configurable:!0,value:i(null)}),t.exports=function(t){c[a][t]=!0}},1530:function(t,e,n){"use strict";var r=n(8710).charAt;t.exports=function(t,e,n){return e+(n?r(t,e).length:1)}},5787:function(t,e,n){var r=n(7854),i=n(7976),o=r.TypeError;t.exports=function(t,e){if(i(e,t))return t;throw o("Incorrect invocation")}},9670:function(t,e,n){var r=n(7854),i=n(111),o=r.String,a=r.TypeError;t.exports=function(t){if(i(t))return t;throw a(o(t)+" is not an object")}},8533:function(t,e,n){"use strict";var r=n(2092).forEach,i=n(9341)("forEach");t.exports=i?[].forEach:function(t){return r(this,t,arguments.length>1?arguments[1]:void 0)}},1318:function(t,e,n){var r=n(5656),i=n(1400),o=n(6244),a=function(t){return function(e,n,a){var c,u=r(e),s=o(u),l=i(a,s);if(t&&n!=n){for(;s>l;)if((c=u[l++])!=c)return!0}else for(;s>l;l++)if((t||l in u)&&u[l]===n)return t||l||0;return!t&&-1}};t.exports={includes:a(!0),indexOf:a(!1)}},2092:function(t,e,n){var r=n(9974),i=n(1702),o=n(8361),a=n(7908),c=n(6244),u=n(5417),s=i([].push),l=function(t){var e=1==t,n=2==t,i=3==t,l=4==t,f=6==t,p=7==t,v=5==t||f;return function(d,h,y,g){for(var m,w,b=a(d),x=o(b),S=r(h,y),E=c(x),k=0,P=g||u,L=e?P(d,E):n||p?P(d,0):void 0;E>k;k++)if((v||k in x)&&(w=S(m=x[k],k,b),t))if(e)L[k]=w;else if(w)switch(t){case 3:return!0;case 5:return m;case 6:return k;case 2:s(L,m)}else switch(t){case 4:return!1;case 7:s(L,m)}return f?-1:i||l?l:L}};t.exports={forEach:l(0),map:l(1),filter:l(2),some:l(3),every:l(4),find:l(5),findIndex:l(6),filterReject:l(7)}},1194:function(t,e,n){var r=n(7293),i=n(5112),o=n(7392),a=i("species");t.exports=function(t){return o>=51||!r((function(){var e=[];return(e.constructor={})[a]=function(){return{foo:1}},1!==e[t](Boolean).foo}))}},9341:function(t,e,n){"use strict";var r=n(7293);t.exports=function(t,e){var n=[][t];return!!n&&r((function(){n.call(null,e||function(){throw 1},1)}))}},1589:function(t,e,n){var r=n(7854),i=n(1400),o=n(6244),a=n(6135),c=r.Array,u=Math.max;t.exports=function(t,e,n){for(var r=o(t),s=i(e,r),l=i(void 0===n?r:n,r),f=c(u(l-s,0)),p=0;s0&&r[0]<4?1:+(r[0]+r[1])),!i&&a&&(!(r=a.match(/Edge\/(\d+)/))||r[1]>=74)&&(r=a.match(/Chrome\/(\d+)/))&&(i=+r[1]),t.exports=i},748:function(t){t.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},2109:function(t,e,n){var r=n(7854),i=n(1236).f,o=n(8880),a=n(1320),c=n(3505),u=n(9920),s=n(4705);t.exports=function(t,e){var n,l,f,p,v,d=t.target,h=t.global,y=t.stat;if(n=h?r:y?r[d]||c(d,{}):(r[d]||{}).prototype)for(l in e){if(p=e[l],f=t.noTargetGet?(v=i(n,l))&&v.value:n[l],!s(h?l:d+(y?".":"#")+l,t.forced)&&void 0!==f){if(typeof p==typeof f)continue;u(p,f)}(t.sham||f&&f.sham)&&o(p,"sham",!0),a(n,l,p,t)}}},7293:function(t){t.exports=function(t){try{return!!t()}catch(t){return!0}}},7007:function(t,e,n){"use strict";n(4916);var r=n(1702),i=n(1320),o=n(2261),a=n(7293),c=n(5112),u=n(8880),s=c("species"),l=RegExp.prototype;t.exports=function(t,e,n,f){var p=c(t),v=!a((function(){var e={};return e[p]=function(){return 7},7!=""[t](e)})),d=v&&!a((function(){var e=!1,n=/a/;return"split"===t&&((n={}).constructor={},n.constructor[s]=function(){return n},n.flags="",n[p]=/./[p]),n.exec=function(){return e=!0,null},n[p](""),!e}));if(!v||!d||n){var h=r(/./[p]),y=e(p,""[t],(function(t,e,n,i,a){var c=r(t),u=e.exec;return u===o||u===l.exec?v&&!a?{done:!0,value:h(e,n,i)}:{done:!0,value:c(n,e,i)}:{done:!1}}));i(String.prototype,t,y[0]),i(l,p,y[1])}f&&u(l[p],"sham",!0)}},2104:function(t,e,n){var r=n(4374),i=Function.prototype,o=i.apply,a=i.call;t.exports="object"==typeof Reflect&&Reflect.apply||(r?a.bind(o):function(){return a.apply(o,arguments)})},9974:function(t,e,n){var r=n(1702),i=n(9662),o=n(4374),a=r(r.bind);t.exports=function(t,e){return i(t),void 0===e?t:o?a(t,e):function(){return t.apply(e,arguments)}}},4374:function(t,e,n){var r=n(7293);t.exports=!r((function(){var t=function(){}.bind();return"function"!=typeof t||t.hasOwnProperty("prototype")}))},6916:function(t,e,n){var r=n(4374),i=Function.prototype.call;t.exports=r?i.bind(i):function(){return i.apply(i,arguments)}},6530:function(t,e,n){var r=n(9781),i=n(2597),o=Function.prototype,a=r&&Object.getOwnPropertyDescriptor,c=i(o,"name"),u=c&&"something"===function(){}.name,s=c&&(!r||r&&a(o,"name").configurable);t.exports={EXISTS:c,PROPER:u,CONFIGURABLE:s}},1702:function(t,e,n){var r=n(4374),i=Function.prototype,o=i.bind,a=i.call,c=r&&o.bind(a,a);t.exports=r?function(t){return t&&c(t)}:function(t){return t&&function(){return a.apply(t,arguments)}}},5005:function(t,e,n){var r=n(7854),i=n(614),o=function(t){return i(t)?t:void 0};t.exports=function(t,e){return arguments.length<2?o(r[t]):r[t]&&r[t][e]}},1246:function(t,e,n){var r=n(648),i=n(8173),o=n(7497),a=n(5112)("iterator");t.exports=function(t){if(null!=t)return i(t,a)||i(t,"@@iterator")||o[r(t)]}},8554:function(t,e,n){var r=n(7854),i=n(6916),o=n(9662),a=n(9670),c=n(6330),u=n(1246),s=r.TypeError;t.exports=function(t,e){var n=arguments.length<2?u(t):e;if(o(n))return a(i(n,t));throw s(c(t)+" is not iterable")}},8173:function(t,e,n){var r=n(9662);t.exports=function(t,e){var n=t[e];return null==n?void 0:r(n)}},647:function(t,e,n){var r=n(1702),i=n(7908),o=Math.floor,a=r("".charAt),c=r("".replace),u=r("".slice),s=/\$([$&'`]|\d{1,2}|<[^>]*>)/g,l=/\$([$&'`]|\d{1,2})/g;t.exports=function(t,e,n,r,f,p){var v=n+t.length,d=r.length,h=l;return void 0!==f&&(f=i(f),h=s),c(p,h,(function(i,c){var s;switch(a(c,0)){case"$":return"$";case"&":return t;case"`":return u(e,0,n);case"'":return u(e,v);case"<":s=f[u(c,1,-1)];break;default:var l=+c;if(0===l)return i;if(l>d){var p=o(l/10);return 0===p?i:p<=d?void 0===r[p-1]?a(c,1):r[p-1]+a(c,1):i}s=r[l-1]}return void 0===s?"":s}))}},7854:function(t,e,n){var r=function(t){return t&&t.Math==Math&&t};t.exports=r("object"==typeof globalThis&&globalThis)||r("object"==typeof window&&window)||r("object"==typeof self&&self)||r("object"==typeof n.g&&n.g)||function(){return this}()||Function("return this")()},2597:function(t,e,n){var r=n(1702),i=n(7908),o=r({}.hasOwnProperty);t.exports=Object.hasOwn||function(t,e){return o(i(t),e)}},3501:function(t){t.exports={}},842:function(t,e,n){var r=n(7854);t.exports=function(t,e){var n=r.console;n&&n.error&&(1==arguments.length?n.error(t):n.error(t,e))}},490:function(t,e,n){var r=n(5005);t.exports=r("document","documentElement")},4664:function(t,e,n){var r=n(9781),i=n(7293),o=n(317);t.exports=!r&&!i((function(){return 7!=Object.defineProperty(o("div"),"a",{get:function(){return 7}}).a}))},8361:function(t,e,n){var r=n(7854),i=n(1702),o=n(7293),a=n(4326),c=r.Object,u=i("".split);t.exports=o((function(){return!c("z").propertyIsEnumerable(0)}))?function(t){return"String"==a(t)?u(t,""):c(t)}:c},2788:function(t,e,n){var r=n(1702),i=n(614),o=n(5465),a=r(Function.toString);i(o.inspectSource)||(o.inspectSource=function(t){return a(t)}),t.exports=o.inspectSource},9909:function(t,e,n){var r,i,o,a=n(8536),c=n(7854),u=n(1702),s=n(111),l=n(8880),f=n(2597),p=n(5465),v=n(6200),d=n(3501),h="Object already initialized",y=c.TypeError,g=c.WeakMap;if(a||p.state){var m=p.state||(p.state=new g),w=u(m.get),b=u(m.has),x=u(m.set);r=function(t,e){if(b(m,t))throw new y(h);return e.facade=t,x(m,t,e),e},i=function(t){return w(m,t)||{}},o=function(t){return b(m,t)}}else{var S=v("state");d[S]=!0,r=function(t,e){if(f(t,S))throw new y(h);return e.facade=t,l(t,S,e),e},i=function(t){return f(t,S)?t[S]:{}},o=function(t){return f(t,S)}}t.exports={set:r,get:i,has:o,enforce:function(t){return o(t)?i(t):r(t,{})},getterFor:function(t){return function(e){var n;if(!s(e)||(n=i(e)).type!==t)throw y("Incompatible receiver, "+t+" required");return n}}}},7659:function(t,e,n){var r=n(5112),i=n(7497),o=r("iterator"),a=Array.prototype;t.exports=function(t){return void 0!==t&&(i.Array===t||a[o]===t)}},3157:function(t,e,n){var r=n(4326);t.exports=Array.isArray||function(t){return"Array"==r(t)}},614:function(t){t.exports=function(t){return"function"==typeof t}},4411:function(t,e,n){var r=n(1702),i=n(7293),o=n(614),a=n(648),c=n(5005),u=n(2788),s=function(){},l=[],f=c("Reflect","construct"),p=/^\s*(?:class|function)\b/,v=r(p.exec),d=!p.exec(s),h=function(t){if(!o(t))return!1;try{return f(s,l,t),!0}catch(t){return!1}},y=function(t){if(!o(t))return!1;switch(a(t)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}try{return d||!!v(p,u(t))}catch(t){return!0}};y.sham=!0,t.exports=!f||i((function(){var t;return h(h.call)||!h(Object)||!h((function(){t=!0}))||t}))?y:h},4705:function(t,e,n){var r=n(7293),i=n(614),o=/#|\.prototype\./,a=function(t,e){var n=u[c(t)];return n==l||n!=s&&(i(e)?r(e):!!e)},c=a.normalize=function(t){return String(t).replace(o,".").toLowerCase()},u=a.data={},s=a.NATIVE="N",l=a.POLYFILL="P";t.exports=a},111:function(t,e,n){var r=n(614);t.exports=function(t){return"object"==typeof t?null!==t:r(t)}},1913:function(t){t.exports=!1},7850:function(t,e,n){var r=n(111),i=n(4326),o=n(5112)("match");t.exports=function(t){var e;return r(t)&&(void 0!==(e=t[o])?!!e:"RegExp"==i(t))}},2190:function(t,e,n){var r=n(7854),i=n(5005),o=n(614),a=n(7976),c=n(3307),u=r.Object;t.exports=c?function(t){return"symbol"==typeof t}:function(t){var e=i("Symbol");return o(e)&&a(e.prototype,u(t))}},408:function(t,e,n){var r=n(7854),i=n(9974),o=n(6916),a=n(9670),c=n(6330),u=n(7659),s=n(6244),l=n(7976),f=n(8554),p=n(1246),v=n(9212),d=r.TypeError,h=function(t,e){this.stopped=t,this.result=e},y=h.prototype;t.exports=function(t,e,n){var r,g,m,w,b,x,S,E=n&&n.that,k=!(!n||!n.AS_ENTRIES),P=!(!n||!n.IS_ITERATOR),L=!(!n||!n.INTERRUPTED),T=i(e,E),O=function(t){return r&&v(r,"normal",t),new h(!0,t)},j=function(t){return k?(a(t),L?T(t[0],t[1],O):T(t[0],t[1])):L?T(t,O):T(t)};if(P)r=t;else{if(!(g=p(t)))throw d(c(t)+" is not iterable");if(u(g)){for(m=0,w=s(t);w>m;m++)if((b=j(t[m]))&&l(y,b))return b;return new h(!1)}r=f(t,g)}for(x=r.next;!(S=o(x,r)).done;){try{b=j(S.value)}catch(t){v(r,"throw",t)}if("object"==typeof b&&b&&l(y,b))return b}return new h(!1)}},9212:function(t,e,n){var r=n(6916),i=n(9670),o=n(8173);t.exports=function(t,e,n){var a,c;i(t);try{if(!(a=o(t,"return"))){if("throw"===e)throw n;return n}a=r(a,t)}catch(t){c=!0,a=t}if("throw"===e)throw n;if(c)throw a;return i(a),n}},7497:function(t){t.exports={}},6244:function(t,e,n){var r=n(7466);t.exports=function(t){return r(t.length)}},5948:function(t,e,n){var r,i,o,a,c,u,s,l,f=n(7854),p=n(9974),v=n(1236).f,d=n(261).set,h=n(6833),y=n(1528),g=n(1036),m=n(5268),w=f.MutationObserver||f.WebKitMutationObserver,b=f.document,x=f.process,S=f.Promise,E=v(f,"queueMicrotask"),k=E&&E.value;k||(r=function(){var t,e;for(m&&(t=x.domain)&&t.exit();i;){e=i.fn,i=i.next;try{e()}catch(t){throw i?a():o=void 0,t}}o=void 0,t&&t.enter()},h||m||g||!w||!b?!y&&S&&S.resolve?((s=S.resolve(void 0)).constructor=S,l=p(s.then,s),a=function(){l(r)}):m?a=function(){x.nextTick(r)}:(d=p(d,f),a=function(){d(r)}):(c=!0,u=b.createTextNode(""),new w(r).observe(u,{characterData:!0}),a=function(){u.data=c=!c})),t.exports=k||function(t){var e={fn:t,next:void 0};o&&(o.next=e),i||(i=e,a()),o=e}},3366:function(t,e,n){var r=n(7854);t.exports=r.Promise},133:function(t,e,n){var r=n(7392),i=n(7293);t.exports=!!Object.getOwnPropertySymbols&&!i((function(){var t=Symbol();return!String(t)||!(Object(t)instanceof Symbol)||!Symbol.sham&&r&&r<41}))},8536:function(t,e,n){var r=n(7854),i=n(614),o=n(2788),a=r.WeakMap;t.exports=i(a)&&/native code/.test(o(a))},8523:function(t,e,n){"use strict";var r=n(9662),i=function(t){var e,n;this.promise=new t((function(t,r){if(void 0!==e||void 0!==n)throw TypeError("Bad Promise constructor");e=t,n=r})),this.resolve=r(e),this.reject=r(n)};t.exports.f=function(t){return new i(t)}},3929:function(t,e,n){var r=n(7854),i=n(7850),o=r.TypeError;t.exports=function(t){if(i(t))throw o("The method doesn't accept regular expressions");return t}},30:function(t,e,n){var r,i=n(9670),o=n(6048),a=n(748),c=n(3501),u=n(490),s=n(317),l=n(6200)("IE_PROTO"),f=function(){},p=function(t){return"