@sticky-studio-npm/ui-core 0.1.30 → 0.1.32

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -3807,19 +3807,18 @@ const Vs = new Ds(), Ls = M(() => {
3807
3807
  function Ps() {
3808
3808
  return m("div", { className: "app", children: [m("div", { className: "game-container", children: [c(vs, {}), c(bs, {}), c(ps, {})] }), m(Os, { children: [c(xs, {}), c(Ts, {})] })] });
3809
3809
  }
3810
- function Bs(e) {
3810
+ function Us(e) {
3811
3811
  if (!e) {
3812
3812
  console.error("element not found");
3813
3813
  return;
3814
3814
  }
3815
3815
  kr(e).render(c(de.StrictMode, { children: c(Ps, {}) }));
3816
3816
  }
3817
- Bs(document.body);
3818
3817
  export {
3819
3818
  ke as autoplayStore,
3820
3819
  oe as betStore,
3821
3820
  bt as bonusStore,
3822
- Bs as createUi,
3821
+ Us as createUi,
3823
3822
  it as dialogStore,
3824
3823
  Vs as historyStore,
3825
3824
  K as popupStore,
@@ -1,14 +1,14 @@
1
1
  (function(){"use strict";try{if(typeof document<"u"){var e=document.createElement("style");e.appendChild(document.createTextNode(`@charset "UTF-8";@import"https://fonts.googleapis.com/css2?family=Roboto:wght@300;400;500;700;900&display=swap";html,body,#root{font-family:Roboto,system-ui,-apple-system,Segoe UI,Helvetica Neue,Arial,sans-serif;margin:0;padding:0;background-color:#000;width:100%;height:100dvh;-webkit-tap-highlight-color:transparent;-webkit-touch-callout:none;touch-action:manipulation;overflow:hidden}.app{display:flex;flex-direction:column;width:100%;height:100dvh}.game-container{position:relative;flex:1;width:100%;height:100dvh}.game-container canvas{display:block;width:100dvw;height:100dvh;background-image:url(public/img.png);background-repeat:no-repeat;background-position:center;background-size:cover}.game-container .settings-section{position:absolute;top:20px;right:20px;z-index:10}.ui-footer{-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;text-rendering:optimizeLegibility;position:absolute;bottom:20px;left:50%;transform:translate(-50%);width:100%;display:flex;justify-content:center;align-items:center;padding:20px 40px;color:#fff;box-sizing:border-box}.ui-footer .top-row{display:flex;align-items:center;width:80%;gap:20px;justify-content:space-between;position:relative}.ui-footer .left-group{display:flex;align-items:center;gap:42px}.ui-footer .left-group .buy-bonus{background:#f49f0499;border:1.5px solid #FBDE38;border-radius:9px;color:#fff;font-weight:700;display:inline-flex;align-items:center;justify-content:center;min-height:55px;max-height:59px;max-width:140px;padding:5px 13px;cursor:pointer;flex-shrink:0;font-size:22px;white-space:normal;overflow-wrap:normal;word-break:normal;-webkit-hyphens:none;hyphens:none;text-align:center}.ui-footer .left-group .balance-info{display:flex;gap:20px}.ui-footer .left-group .balance-info .info{display:flex;flex-direction:column;align-items:center}.ui-footer .left-group .balance-info .info .label{font-size:18px;opacity:.8;margin-bottom:3px;word-break:manual;text-align:center;font-weight:900}.ui-footer .left-group .balance-info .info .value{font-size:19px;font-weight:700;word-break:manual;text-align:center}.ui-footer .bet-control{display:flex;align-items:center;gap:25px;margin-left:auto}.ui-footer .bet-control .bet-amount{display:flex;flex-direction:row;text-align:center;align-items:center;border:1.33px solid #C9C5C9;padding:5px 10px;border-radius:5px;max-height:26px;width:170px;font-weight:700;cursor:pointer}.ui-footer .bet-control .bet-amount-icon{width:48px;height:48px;border:1.33px solid #aaa;border-radius:50%;justify-self:flex-start;background-color:#80808017;backdrop-filter:blur(4px);-webkit-backdrop-filter:blur(4px);margin-left:-20px;background-image:url("data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='50'%20height='50'%20viewBox='0%200%2050%2050'%20fill='none'%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M31.5516%200.900861C27.2005%201.43926%2023.8412%202.77092%2021.6674%204.81927C20.3655%206.04605%2019.6801%207.43921%2019.677%208.86529C19.675%209.77964%2019.8165%2010.3684%2020.2321%2011.1748C22.4694%2015.5157%2030.8628%2018.0448%2038.632%2016.7189C42.2624%2016.0994%2045.1344%2014.8409%2047.0433%2013.0332C49.7617%2010.459%2049.756%207.32896%2047.0281%204.76994C46.1925%203.98599%2045.2757%203.39156%2043.8747%202.72505C42.1459%201.90263%2040.4429%201.39484%2038.2014%201.03318C37.0705%200.850772%2032.6653%200.76307%2031.5516%200.900861ZM19.6011%2013.0332C19.5966%2014.633%2019.7017%2015.5435%2019.9758%2016.2783C20.2341%2016.9704%2020.7796%2017.7861%2021.4238%2018.4436C22.2973%2019.335%2022.7971%2019.6415%2024.0884%2020.0777C25.3181%2020.4932%2026.9261%2021.2154%2027.7421%2021.7189C28.8608%2022.4093%2033.0498%2022.8942%2036.0368%2022.6791C42.6662%2022.2018%2047.7493%2019.5435%2048.8824%2015.9612C49.0452%2015.4463%2049.0871%2015.0144%2049.1192%2013.5129C49.1445%2012.3364%2049.1265%2011.7578%2049.0687%2011.8817C49.0193%2011.9873%2048.976%2012.1526%2048.9722%2012.2491C48.9601%2012.5672%2048.4645%2013.6953%2048.1008%2014.2326C46.5038%2016.5924%2042.6915%2018.5076%2038.2693%2019.1717C35.905%2019.5267%2032.8449%2019.527%2030.4832%2019.1724C26.0566%2018.5076%2022.2452%2016.5934%2020.6475%2014.2326C20.2838%2013.6953%2019.7882%2012.5672%2019.7761%2012.2491C19.7723%2012.1526%2019.7323%2011.9873%2019.6871%2011.8817C19.6358%2011.7621%2019.6035%2012.1959%2019.6011%2013.0332ZM48.9871%2017.8625C48.9499%2018.2485%2048.4728%2019.3442%2048.1024%2019.8939C47.6688%2020.5375%2046.5305%2021.6346%2045.7792%2022.1332C43.8524%2023.4117%2041.4676%2024.2943%2038.6243%2024.781C37.2855%2025.0102%2034.5523%2025.1949%2033.5624%2025.1233C33.1668%2025.0946%2032.5328%2025.0489%2032.1533%2025.0217L31.4633%2024.9722L31.859%2025.6236C32.2828%2026.3214%2032.7278%2027.3946%2032.8335%2027.9745C32.8912%2028.2912%2032.9371%2028.3379%2033.2485%2028.3965C33.7389%2028.4888%2036.3954%2028.3665%2037.7394%2028.1899C43.4686%2027.4366%2047.8976%2024.8237%2048.8753%2021.6202C49.0407%2021.0779%2049.0622%2020.7737%2049.0372%2019.3172C49.0214%2018.3942%2048.9988%2017.7396%2048.9871%2017.8625ZM13.9462%2021.5824C10.5784%2021.8801%208.23327%2022.4475%206.01729%2023.5005C1.66207%2025.5702%20-0.0830562%2028.6341%201.29437%2031.7923C2.08451%2033.6037%204.50993%2035.4571%207.48772%2036.5249C10.2522%2037.5161%2012.8915%2037.9007%2016.2904%2037.8076C19.7977%2037.7116%2022.5502%2037.1093%2025.1028%2035.8794C28.3824%2034.2993%2030.2141%2032.1175%2030.2258%2029.7773C30.2303%2028.878%2030.0849%2028.2726%2029.6725%2027.472C28.2085%2024.6308%2024.0906%2022.4556%2018.87%2021.7658C17.747%2021.6174%2014.7947%2021.5075%2013.9462%2021.5824ZM48.9643%2023.5941C48.2956%2026.8247%2044.2846%2029.4792%2038.6121%2030.4454C37.2019%2030.6856%2034.5895%2030.8722%2033.6864%2030.7974C32.8867%2030.731%2032.817%2030.8022%2032.9815%2031.5174C33.0344%2031.7478%2033.0788%2032.4286%2033.0802%2033.0303L33.0825%2034.1244L34.9243%2034.0645C35.9373%2034.0315%2037.2195%2033.942%2037.7737%2033.8655C43.611%2033.0598%2048.0187%2030.4041%2048.9385%2027.1385C49.0724%2026.6632%2049.2409%2023.0604%2049.1292%2023.0604C49.0993%2023.0604%2049.0251%2023.3006%2048.9643%2023.5941ZM48.9624%2029.2649C48.2429%2032.7408%2043.5319%2035.5858%2037.2924%2036.3124C36.7399%2036.3768%2035.5447%2036.4332%2034.6366%2036.4378C32.774%2036.4472%2032.8097%2036.4312%2032.9815%2037.1787C33.0344%2037.4091%2033.0788%2038.0898%2033.0802%2038.6915L33.0825%2039.7854L34.9722%2039.7274C38.0743%2039.6321%2040.5295%2039.1662%2042.9376%2038.2159C46.1149%2036.9621%2048.332%2034.9648%2048.9356%2032.8125C49.0721%2032.3255%2049.2427%2028.7218%2049.1292%2028.7218C49.0993%2028.7218%2049.0242%2028.9662%2048.9624%2029.2649ZM30.1755%2032.8469C30.0056%2033.9118%2029.1815%2035.33%2028.2065%2036.2352C23.9372%2040.1991%2014.6718%2041.4382%207.66636%2038.9818C4.04798%2037.7131%201.54601%2035.5676%200.98666%2033.2534C0.857395%2032.7188%200.853663%2032.7506%200.84687%2034.4311C0.838258%2036.5676%200.98953%2037.1651%201.84368%2038.3697C3.52327%2040.7385%207.16805%2042.5406%2011.765%2043.2749C13.3086%2043.5214%2017.737%2043.5222%2019.2767%2043.2761C21.5851%2042.9071%2023.2692%2042.4082%2025.0255%2041.5727C27.7121%2040.2947%2029.3303%2038.7595%2029.9939%2036.8594C30.2143%2036.228%2030.2434%2035.9744%2030.2865%2034.3111C30.333%2032.511%2030.2995%2032.0689%2030.1755%2032.8469ZM30.133%2038.6949C29.5614%2041.4704%2026.3137%2043.9786%2021.7968%2045.133C19.3824%2045.7501%2017.5284%2045.9436%2014.7595%2045.8678C11.1792%2045.7697%208.45027%2045.1521%205.76546%2043.8321C3.16934%2042.5558%201.4355%2040.7754%200.989626%2038.9281C0.856055%2038.3744%200.853663%2038.3933%200.84687%2040.0924C0.839789%2041.8485%200.883803%2042.1569%201.27026%2043.0648C2.29462%2045.4712%205.90343%2047.7339%2010.1631%2048.6404C12.3423%2049.1042%2015.9065%2049.2988%2018.067%2049.0719C23.3981%2048.5121%2027.5405%2046.5786%2029.3647%2043.7984C30.093%2042.6884%2030.2224%2042.149%2030.2829%2039.9724C30.3111%2038.9566%2030.3153%2038.1253%2030.2923%2038.1253C30.2691%2038.1253%2030.1975%2038.3816%2030.133%2038.6949Z'%20fill='white'/%3e%3c/svg%3e");background-repeat:no-repeat;background-position:center;background-size:60%;cursor:inherit}.ui-footer .bet-control .bet-amount-text{width:80%;font-size:17px;font-weight:500;cursor:inherit}.ui-footer .bet-control .bet-amount-text.ante-color{color:#ffd500}.ui-footer .bet-control .bet-box{position:relative;width:185px;height:38px;max-height:38px;min-height:unset;display:flex;justify-content:space-between;align-items:center;background:#ffffff14;border:1.33px solid #C9C5C9;border-radius:6px;padding:0 10px;box-sizing:border-box;overflow:visible}.ui-footer .bet-control .bet-box .bet-btn{width:16px;height:16px;background:none;border:none;color:#fff;cursor:pointer;z-index:4;flex-shrink:0}.ui-footer .bet-control .bet-box .minus{background-image:url("data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='30'%20height='30'%20viewBox='0%200%2030%2030'%20fill='none'%3e%3cpath%20d='M2.99902%2012.3335C1.52635%2012.3335%200.332163%2013.5277%200.332031%2015.0005C0.332031%2016.4731%201.52626%2017.6665%202.99902%2017.6665H26.999C28.4718%2017.6665%2029.666%2016.4731%2029.666%2015.0005C29.666%2013.5277%2028.4718%2012.3335%2026.999%2012.3335H2.99902Z'%20fill='%23FFFBFF'/%3e%3c/svg%3e");background-size:100% 100%;background-repeat:no-repeat;background-position:center}.ui-footer .bet-control .bet-box .plus{background-image:url("data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='30'%20height='30'%20viewBox='0%200%2030%2030'%20fill='none'%3e%3cpath%20d='M14.999%200.333496C16.4718%200.333496%2017.666%201.52773%2017.666%203.00049V12.3335H26.999C28.4718%2012.3335%2029.666%2013.5277%2029.666%2015.0005C29.6659%2016.4731%2028.4717%2017.6665%2026.999%2017.6665H17.666V27.0005C17.6659%2028.4731%2016.4717%2029.6665%2014.999%2029.6665C13.5263%2029.6665%2012.3322%2028.4731%2012.332%2027.0005V17.6665H2.99902C1.52635%2017.6665%200.332163%2016.4731%200.332031%2015.0005C0.332031%2013.5277%201.52626%2012.3335%202.99902%2012.3335H12.332V3.00049C12.332%201.52773%2013.5263%200.333496%2014.999%200.333496Z'%20fill='%23FFFBFF'/%3e%3c/svg%3e");background-size:100% 100%;background-repeat:no-repeat;background-position:center}.ui-footer .bet-control .bet-box .spin-btn{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);width:96px;height:96px;border-radius:50%;background-color:#22212140;border:2.21px solid rgba(253,193,0,.96);backdrop-filter:blur(4px);-webkit-backdrop-filter:blur(4px);background-image:url("data:image/svg+xml,%3csvg%20width='279'%20height='279'%20viewBox='0%200%20279%20279'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20filter='url(%23filter0_d_137_684)'%3e%3cg%20filter='url(%23filter1_d_137_684)'%3e%3crect%20x='11.3779'%20y='11.3779'%20width='256'%20height='256'%20rx='128'%20fill='%231C1B1E'%20shape-rendering='crispEdges'/%3e%3crect%20x='13.3779'%20y='13.3779'%20width='252'%20height='252'%20rx='126'%20stroke='%23FFC428'%20stroke-width='4'%20shape-rendering='crispEdges'/%3e%3c/g%3e%3c/g%3e%3cmask%20id='mask0_137_684'%20style='mask-type:alpha'%20maskUnits='userSpaceOnUse'%20x='-9'%20y='-15'%20width='292'%20height='291'%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M135.507%2057.3779V84.9534C135.507%2086.4841%20137.156%2087.4474%20138.489%2086.6953L170.96%2068.3779L203.264%2050.9351C204.211%2050.4234%20204.583%2049.2533%20204.106%2048.2881L187.952%2015.6509L172.869%20-13.8823C172.104%20-15.3817%20169.941%20-15.3218%20169.26%20-13.7823L162.46%201.57529C162.084%202.42497%20161.172%202.90268%20160.258%202.7347C153.975%201.57985%20147.546%200.646833%20140.28%200.646833C76.2122%200.646833%2022.1342%2046.6112%207.84112%20108.637C7.58575%20109.746%208.32081%20110.838%209.44157%20111.03L48.6181%20117.768C49.5806%20117.933%2050.5204%20117.376%2050.8605%20116.461C63.7894%2081.6587%2097.4513%2057.3779%20135.507%2057.3779Z'%20fill='white'/%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M72.5184%20186.227L96.0986%20171.931C97.4076%20171.137%2097.3762%20169.227%2096.0418%20168.477L63.5446%20150.208L31.8815%20131.627C30.9527%20131.082%2029.759%20131.37%2029.1813%20132.279L9.64736%20163.013L-7.78761%20191.221C-8.67278%20192.653%20-7.50041%20194.471%20-5.83063%20194.256L10.8271%20192.109C11.7487%20191.99%2012.6298%20192.522%2012.96%20193.39C15.23%20199.362%2017.7652%20205.343%2021.5321%20211.557C54.7471%20266.342%20122.088%20288.755%20182.538%20268.821C183.618%20268.465%20184.17%20267.27%20183.754%20266.212L169.205%20229.219C168.847%20228.31%20167.884%20227.795%20166.925%20227.978C130.462%20234.965%2092.2477%20218.769%2072.5184%20186.227Z'%20fill='white'/%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M218.174%20172.833L194.081%20159.42C192.743%20158.675%20191.099%20159.648%20191.108%20161.179L191.319%20198.458L190.846%20235.168C190.832%20236.245%20191.673%20237.139%20192.749%20237.191L229.122%20238.953L262.263%20240.14C263.945%20240.2%20264.945%20238.282%20263.931%20236.937L253.82%20223.526C253.261%20222.784%20253.287%20221.755%20253.878%20221.038C257.944%20216.11%20261.886%20210.947%20265.42%20204.598C296.584%20148.621%20282.728%2079.0133%20235.486%2036.3546C234.642%2035.5924%20233.33%2035.7034%20232.617%2036.5889L207.674%2067.5415C207.061%2068.302%20207.091%2069.3939%20207.725%2070.1364C231.844%2098.3609%20236.685%20139.583%20218.174%20172.833Z'%20fill='white'/%3e%3c/mask%3e%3cg%20mask='url(%23mask0_137_684)'%3e%3cellipse%20cx='140.296'%20cy='138.725'%20rx='109.654'%20ry='109.883'%20fill='white'/%3e%3c/g%3e%3cdefs%3e%3cfilter%20id='filter0_d_137_684'%20x='0.000152588'%20y='0.000152588'%20width='278.756'%20height='278.756'%20filterUnits='userSpaceOnUse'%20color-interpolation-filters='sRGB'%3e%3cfeFlood%20flood-opacity='0'%20result='BackgroundImageFix'/%3e%3cfeColorMatrix%20in='SourceAlpha'%20type='matrix'%20values='0%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%20127%200'%20result='hardAlpha'/%3e%3cfeOffset/%3e%3cfeGaussianBlur%20stdDeviation='5.68889'/%3e%3cfeComposite%20in2='hardAlpha'%20operator='out'/%3e%3cfeColorMatrix%20type='matrix'%20values='0%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200.52%200'/%3e%3cfeBlend%20mode='normal'%20in2='BackgroundImageFix'%20result='effect1_dropShadow_137_684'/%3e%3cfeBlend%20mode='normal'%20in='SourceGraphic'%20in2='effect1_dropShadow_137_684'%20result='shape'/%3e%3c/filter%3e%3cfilter%20id='filter1_d_137_684'%20x='0.000152588'%20y='0.000152588'%20width='278.756'%20height='278.756'%20filterUnits='userSpaceOnUse'%20color-interpolation-filters='sRGB'%3e%3cfeFlood%20flood-opacity='0'%20result='BackgroundImageFix'/%3e%3cfeColorMatrix%20in='SourceAlpha'%20type='matrix'%20values='0%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%20127%200'%20result='hardAlpha'/%3e%3cfeOffset/%3e%3cfeGaussianBlur%20stdDeviation='5.68889'/%3e%3cfeComposite%20in2='hardAlpha'%20operator='out'/%3e%3cfeColorMatrix%20type='matrix'%20values='0%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200.52%200'/%3e%3cfeBlend%20mode='normal'%20in2='BackgroundImageFix'%20result='effect1_dropShadow_137_684'/%3e%3cfeBlend%20mode='normal'%20in='BackgroundImageFix'%20in2='effect1_dropShadow_137_684'%20result='BackgroundImageFix'/%3e%3cfeBlend%20mode='normal'%20in='SourceGraphic'%20in2='BackgroundImageFix'%20result='shape'/%3e%3c/filter%3e%3c/defs%3e%3c/svg%3e");background-size:115% 115%;background-repeat:no-repeat;background-position:center;cursor:pointer;z-index:3;pointer-events:auto}.ui-footer .bet-control .bet-box .spin-btn:active{transform:translate(-50%,-50%) scale(.95)}.ui-footer .bet-control .bet-box .spin-btn.slam-stop{background-image:url("data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='150'%20height='150'%20viewBox='0%200%20150%20150'%20fill='none'%3e%3cpath%20d='M135.75%200.75H14.25C10.6696%200.75%207.2358%202.17232%204.70406%204.70406C2.17232%207.2358%200.75%2010.6696%200.75%2014.25V135.75C0.75%20139.33%202.17232%20142.764%204.70406%20145.296C7.2358%20147.828%2010.6696%20149.25%2014.25%20149.25H135.75C139.33%20149.25%20142.764%20147.828%20145.296%20145.296C147.828%20142.764%20149.25%20139.33%20149.25%20135.75V14.25C149.25%2010.6696%20147.828%207.2358%20145.296%204.70406C142.764%202.17232%20139.33%200.75%20135.75%200.75ZM135.75%20135.75H14.25V14.25H135.75V135.75Z'%20fill='%23FFFBFF'/%3e%3c/svg%3e");background-size:60% 60%}.ui-footer .bet-control .bet-box .spin-btn.disabled{opacity:.5;pointer-events:none}.ui-footer .bet-control .quick-spin,.ui-footer .bet-control .auto-spin{background:transparent;width:40px;height:40px;border-radius:50%;cursor:pointer;background-size:60% 60%;background-repeat:no-repeat;background-position:center;border:1.33px solid #C9C5C9;flex-shrink:0}.ui-footer .bet-control .quick-spin{background-image:url("data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='24'%20height='44'%20viewBox='0%200%2024%2044'%20fill='none'%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M17.2946%200.0969331C17.055%200.24276%2016.9809%200.342512%2015.5361%202.46264C14.806%203.53397%2013.2184%205.86296%2012.0082%207.63819C9.8895%2010.7459%209.15481%2011.8248%206.77898%2015.3171C6.17762%2016.2011%205.21984%2017.6059%204.65064%2018.4389C4.08144%2019.272%203.30357%2020.4137%202.92206%2020.976C2.5405%2021.5383%201.84762%2022.5585%201.38235%2023.2432C0.622589%2024.361%200.533722%2024.5152%200.510613%2024.7554C0.476642%2025.1081%200.518546%2025.2538%200.719496%2025.4823C1.04099%2025.8477%200.738452%2025.826%205.50028%2025.826C7.87388%2025.826%209.81586%2025.8453%209.81586%2025.869C9.81586%2025.9287%209.35358%2028.1417%208.69807%2031.2201C8.61091%2031.6293%208.4566%2032.3587%208.35512%2032.841C8.25363%2033.3233%208.03638%2034.3516%207.87228%2035.1262C7.70823%2035.9007%207.50467%2036.8693%207.41996%2037.2785C7.33524%2037.6877%207.19137%2038.3693%207.10032%2038.7931C7.00927%2039.2169%206.86556%2039.8985%206.78101%2040.3077C6.69645%2040.7169%206.54204%2041.4528%206.43784%2041.943C6.2322%2042.9103%206.20755%2043.2376%206.32352%2043.4592C6.40903%2043.6225%206.64534%2043.8534%206.81727%2043.9416C7.00331%2044.037%207.41644%2044.0123%207.66792%2043.8909C7.87654%2043.79%207.98138%2043.6482%208.87623%2042.2567C9.86123%2040.7248%2011.8219%2037.6682%2012.3592%2036.8268C12.5178%2036.5783%2012.8431%2036.0703%2013.082%2035.6978C13.3209%2035.3254%2013.9477%2034.3465%2014.4749%2033.5228C15.002%2032.6989%2015.5771%2031.8024%2015.7528%2031.5306C15.9285%2031.2588%2016.6952%2030.0632%2017.4566%2028.8737C18.2181%2027.6843%2018.9848%2026.4879%2019.1605%2026.2151C20.8911%2023.5278%2022.7394%2020.6395%2023.1938%2019.912C23.4673%2019.4743%2023.4999%2019.3917%2023.5%2019.137C23.5001%2018.7777%2023.3543%2018.5062%2023.0585%2018.3148L22.8398%2018.1732H18.9901C16.8728%2018.1732%2015.1404%2018.1529%2015.1404%2018.1279C15.1404%2018.0821%2015.6155%2015.8153%2016.3448%2012.3805C16.5652%2011.3429%2016.8145%2010.1591%2016.8989%209.74987C16.9834%209.34066%2017.1742%208.43189%2017.3229%207.73039C18.4987%202.18534%2018.7079%201.15429%2018.7079%200.904511C18.7079%200.579375%2018.4967%200.246534%2018.1991%200.102726C17.9203%20-0.0319413%2017.5107%20-0.0345454%2017.2946%200.0969331Z'%20fill='white'/%3e%3c/svg%3e")}.ui-footer .bet-control .quick-spin.active{background-image:url("data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='24'%20height='44'%20viewBox='0%200%2024%2044'%20fill='none'%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M17.2946%200.0969331C17.055%200.24276%2016.9809%200.342512%2015.5361%202.46264C14.806%203.53397%2013.2184%205.86296%2012.0082%207.63819C9.8895%2010.7459%209.15481%2011.8248%206.77898%2015.3171C6.17762%2016.2011%205.21984%2017.6059%204.65064%2018.4389C4.08144%2019.272%203.30357%2020.4137%202.92206%2020.976C2.5405%2021.5383%201.84762%2022.5585%201.38235%2023.2432C0.622589%2024.361%200.533722%2024.5152%200.510613%2024.7554C0.476642%2025.1081%200.518546%2025.2538%200.719496%2025.4823C1.04099%2025.8477%200.738452%2025.826%205.50028%2025.826C7.87388%2025.826%209.81586%2025.8453%209.81586%2025.869C9.81586%2025.9287%209.35358%2028.1417%208.69807%2031.2201C8.61091%2031.6293%208.4566%2032.3587%208.35512%2032.841C8.25363%2033.3233%208.03638%2034.3516%207.87228%2035.1262C7.70823%2035.9007%207.50467%2036.8693%207.41996%2037.2785C7.33524%2037.6877%207.19137%2038.3693%207.10032%2038.7931C7.00927%2039.2169%206.86556%2039.8985%206.78101%2040.3077C6.69645%2040.7169%206.54204%2041.4528%206.43784%2041.943C6.2322%2042.9103%206.20755%2043.2376%206.32352%2043.4592C6.40903%2043.6225%206.64534%2043.8534%206.81727%2043.9416C7.00331%2044.037%207.41644%2044.0123%207.66792%2043.8909C7.87654%2043.79%207.98138%2043.6482%208.87623%2042.2567C9.86123%2040.7248%2011.8219%2037.6682%2012.3592%2036.8268C12.5178%2036.5783%2012.8431%2036.0703%2013.082%2035.6978C13.3209%2035.3254%2013.9477%2034.3465%2014.4749%2033.5228C15.002%2032.6989%2015.5771%2031.8024%2015.7528%2031.5306C15.9285%2031.2588%2016.6952%2030.0632%2017.4566%2028.8737C18.2181%2027.6843%2018.9848%2026.4879%2019.1605%2026.2151C20.8911%2023.5278%2022.7394%2020.6395%2023.1938%2019.912C23.4673%2019.4743%2023.4999%2019.3917%2023.5%2019.137C23.5001%2018.7777%2023.3543%2018.5062%2023.0585%2018.3148L22.8398%2018.1732H18.9901C16.8728%2018.1732%2015.1404%2018.1529%2015.1404%2018.1279C15.1404%2018.0821%2015.6155%2015.8153%2016.3448%2012.3805C16.5652%2011.3429%2016.8145%2010.1591%2016.8989%209.74987C16.9834%209.34066%2017.1742%208.43189%2017.3229%207.73039C18.4987%202.18534%2018.7079%201.15429%2018.7079%200.904511C18.7079%200.579375%2018.4967%200.246534%2018.1991%200.102726C17.9203%20-0.0319413%2017.5107%20-0.0345454%2017.2946%200.0969331Z'%20fill='%23FBDE38'/%3e%3c/svg%3e")}.ui-footer .bet-control .auto-spin{background-image:url("data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='34'%20height='30'%20viewBox='0%200%2034%2030'%20fill='none'%3e%3cpath%20d='M0.74903%2015C0.752339%2012.0173%201.93867%209.15773%204.04773%207.04867C6.1568%204.9396%209.01636%203.75327%2011.999%203.74996H28.9818L27.3647%202.13434C27.1301%201.89979%2026.9983%201.58167%2026.9983%201.24996C26.9983%200.918258%2027.1301%200.600138%2027.3647%200.365588C27.5992%200.131037%2027.9173%20-0.000732414%2028.249%20-0.000732422C28.5807%20-0.00073243%2028.8989%200.131037%2029.1334%200.365588L32.8834%204.11559C32.9996%204.23168%2033.0918%204.36954%2033.1547%204.52129C33.2176%204.67303%2033.25%204.83569%2033.25%204.99996C33.25%205.16423%2033.2176%205.32689%2033.1547%205.47864C33.0918%205.63039%2032.9996%205.76825%2032.8834%205.88434L29.1334%209.63434C28.8989%209.86889%2028.5807%2010.0007%2028.249%2010.0007C27.9173%2010.0007%2027.5992%209.86889%2027.3647%209.63434C27.1301%209.39979%2026.9983%209.08167%2026.9983%208.74996C26.9983%208.41826%2027.1301%208.10014%2027.3647%207.86559L28.9818%206.24996H11.999C9.67915%206.25244%207.45499%207.17511%205.81459%208.81552C4.17418%2010.4559%203.25151%2012.6801%203.24903%2015C3.24903%2015.3315%203.11733%2015.6494%202.88291%2015.8838C2.64849%2016.1183%202.33055%2016.25%201.99903%2016.25C1.66751%2016.25%201.34957%2016.1183%201.11515%2015.8838C0.880726%2015.6494%200.74903%2015.3315%200.74903%2015ZM31.999%2013.75C31.6675%2013.75%2031.3496%2013.8817%2031.1151%2014.1161C30.8807%2014.3505%2030.749%2014.6684%2030.749%2015C30.7465%2017.3198%2029.8239%2019.544%2028.1835%2021.1844C26.5431%2022.8248%2024.3189%2023.7475%2021.999%2023.75H5.01622L6.6334%2022.1343C6.74954%2022.0182%206.84167%2021.8803%206.90452%2021.7286C6.96737%2021.5768%206.99973%2021.4142%206.99973%2021.25C6.99973%2021.0857%206.96737%2020.9231%206.90452%2020.7713C6.84167%2020.6196%206.74954%2020.4817%206.6334%2020.3656C6.51727%2020.2495%206.37939%2020.1573%206.22765%2020.0945C6.07591%2020.0316%205.91327%2019.9993%205.74903%2019.9993C5.58479%2019.9993%205.42215%2020.0316%205.27041%2020.0945C5.11867%2020.1573%204.98079%2020.2495%204.86466%2020.3656L1.11466%2024.1156C0.998435%2024.2317%200.906236%2024.3695%200.84333%2024.5213C0.780425%2024.673%200.748047%2024.8357%200.748047%2025C0.748047%2025.1642%200.780425%2025.3269%200.84333%2025.4786C0.906236%2025.6304%200.998435%2025.7682%201.11466%2025.8843L4.86466%2029.6343C4.98079%2029.7505%205.11867%2029.8426%205.27041%2029.9055C5.42215%2029.9683%205.58479%2030.0007%205.74903%2030.0007C5.91327%2030.0007%206.07591%2029.9683%206.22765%2029.9055C6.37939%2029.8426%206.51727%2029.7505%206.6334%2029.6343C6.74954%2029.5182%206.84167%2029.3803%206.90452%2029.2286C6.96737%2029.0768%206.99973%2028.9142%206.99973%2028.75C6.99973%2028.5857%206.96737%2028.4231%206.90452%2028.2713C6.84167%2028.1196%206.74954%2027.9817%206.6334%2027.8656L5.01622%2026.25H21.999C24.9817%2026.2467%2027.8413%2025.0603%2029.9503%2022.9513C32.0594%2020.8422%2033.2457%2017.9826%2033.249%2015C33.249%2014.6684%2033.1173%2014.3505%2032.8829%2014.1161C32.6485%2013.8817%2032.3305%2013.75%2031.999%2013.75Z'%20fill='%23FFFBFF'/%3e%3c/svg%3e")}.ui-footer .bottom-row{display:none}@media screen and (orientation: portrait){.ui-footer{width:100%;padding:10px 8px;left:0;transform:none;bottom:35px;display:flex;flex-direction:column;align-items:center;box-sizing:border-box;--betbox-w: 170px;--spin-size: 75px;--qa-size: 35px;--qa-gap: 25px}.ui-footer .top-row{width:100%;position:relative;display:block;height:calc(var(--spin-size) + 24px)}.ui-footer .top-row .buy-bonus-wrap{position:absolute;top:50%;left:calc(50% - var(--betbox-w) / 2 - var(--qa-gap) * .7)}.ui-footer .top-row .buy-bonus-wrap .buy-bonus{transform:translate(-100%,-50%);z-index:6;pointer-events:auto;min-height:45px;max-height:45px;padding:6px 12px;font-size:13px;white-space:normal;overflow-wrap:anywhere;word-break:break-word;text-align:center;max-width:calc(var(--betbox-w) * .5)}.ui-footer .top-row .buy-bonus-wrap .bonus-thumb{left:calc(50% - var(--betbox-w) / 2 - var(--qa-gap) * .6);bottom:75px;width:51px;height:61px}.ui-footer .left-group{justify-content:center}.ui-footer .left-group .balance-info{display:flex;position:absolute;width:85%;top:100px;justify-content:space-between}.ui-footer .left-group .balance-info .info{display:flex;flex-direction:column;align-items:center}.ui-footer .left-group .balance-info .info .label{font-size:13px;opacity:.8;text-align:center;font-weight:900}.ui-footer .left-group .balance-info .info .value{font-size:14px;font-weight:700;text-align:center}.ui-footer .bet-control{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);display:block;z-index:5;width:auto}.ui-footer .bet-control .bet-box{position:relative;width:var(--betbox-w);height:35px;max-height:35px;min-height:unset;margin:0 auto;display:flex;justify-content:space-between;align-items:center;padding:0 10px;background:#ffffff14;border:1.3px solid #C9C5C9;border-radius:6px;box-sizing:border-box;pointer-events:auto;overflow:visible}.ui-footer .bet-control .bet-box .bet-btn{width:16px;height:16px;z-index:4;background:none;border:none;cursor:pointer;pointer-events:auto;flex-shrink:0}.ui-footer .bet-control .bet-box .minus{background-image:url("data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='30'%20height='30'%20viewBox='0%200%2030%2030'%20fill='none'%3e%3cpath%20d='M2.99902%2012.3335C1.52635%2012.3335%200.332163%2013.5277%200.332031%2015.0005C0.332031%2016.4731%201.52626%2017.6665%202.99902%2017.6665H26.999C28.4718%2017.6665%2029.666%2016.4731%2029.666%2015.0005C29.666%2013.5277%2028.4718%2012.3335%2026.999%2012.3335H2.99902Z'%20fill='%23FFFBFF'/%3e%3c/svg%3e");background-size:100% 100%;background-repeat:no-repeat;background-position:center}.ui-footer .bet-control .bet-box .plus{background-image:url("data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='30'%20height='30'%20viewBox='0%200%2030%2030'%20fill='none'%3e%3cpath%20d='M14.999%200.333496C16.4718%200.333496%2017.666%201.52773%2017.666%203.00049V12.3335H26.999C28.4718%2012.3335%2029.666%2013.5277%2029.666%2015.0005C29.6659%2016.4731%2028.4717%2017.6665%2026.999%2017.6665H17.666V27.0005C17.6659%2028.4731%2016.4717%2029.6665%2014.999%2029.6665C13.5263%2029.6665%2012.3322%2028.4731%2012.332%2027.0005V17.6665H2.99902C1.52635%2017.6665%200.332163%2016.4731%200.332031%2015.0005C0.332031%2013.5277%201.52626%2012.3335%202.99902%2012.3335H12.332V3.00049C12.332%201.52773%2013.5263%200.333496%2014.999%200.333496Z'%20fill='%23FFFBFF'/%3e%3c/svg%3e");background-size:100% 100%;background-repeat:no-repeat;background-position:center}.ui-footer .bet-control .bet-box .spin-btn{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);width:var(--spin-size);height:var(--spin-size);border-radius:50%;z-index:3;pointer-events:auto}.ui-footer .bet-control .quick-spin,.ui-footer .bet-control .auto-spin{position:absolute;top:50%;transform:translateY(-50%);width:var(--qa-size);height:var(--qa-size);pointer-events:auto}.ui-footer .bet-control .quick-spin{left:calc(50% + var(--betbox-w) / 2 + var(--qa-gap) * .8)}.ui-footer .bet-control .auto-spin{left:calc(50% + var(--betbox-w) / 2 + var(--qa-gap) + var(--qa-size) + var(--qa-gap) * .6)}.ui-footer .bet-control .bet-amount{position:absolute;left:50%;top:calc(50% - var(--spin-size) / 2 + 85px);transform:translate(-50%);font-size:10px;min-width:calc(var(--spin-size) - 10px);text-align:center;max-height:20px;width:90px;color:#fff}.ui-footer .bet-control .bet-amount .bet-amount-icon{width:35px;height:35px}.ui-footer .bet-control .bet-amount .bet-amount-text{width:80%;font-size:12px}.ui-footer .bottom-row{display:flex;width:100%;justify-content:center;margin-top:8px;box-sizing:border-box}.ui-footer .bottom-row .balance-info{display:flex;gap:12px;justify-content:center}.ui-footer .bottom-row .balance-info .info{display:flex;flex-direction:column;align-items:center}.ui-footer .bottom-row .balance-info .info .label{font-size:12px;opacity:.8}.ui-footer .bottom-row .balance-info .info .value{font-size:16px;font-weight:700}}@media screen and (orientation: portrait) and (max-width: 420px){.ui-footer{--betbox-w: 140px;--spin-size: 73px;--qa-size: 32px;--qa-gap: 20px}.ui-footer .top-row .buy-bonus-wrap .bonus-thumb{left:calc(50% - var(--betbox-w) / 2 - (var(--qa-gap)));bottom:75px;width:40px;height:48px}}@media screen and (orientation: portrait) and (max-width: 360px){.ui-footer{--betbox-w: 130px;--spin-size: 60px;--qa-size: 28px;--qa-gap: 16px}.ui-footer .bet-control .bet-amount{top:calc(50% - var(--spin-size) / 2 + 73px)}.ui-footer .bet-control .bet-amount .bet-amount-icon{width:35px;height:35px}.ui-footer .bet-control .bet-amount .bet-amount-text{width:80%;font-size:11px}.ui-footer .left-group .balance-info{top:92px}.ui-footer .top-row .buy-bonus-wrap .buy-bonus{padding:5px 10px;font-size:12px;min-height:36px}.ui-footer .top-row .buy-bonus-wrap .bonus-thumb{left:calc(50% - var(--betbox-w) / 2 - (var(--qa-gap)) * 1.2);bottom:67px;width:40px;height:48px}.ui-footer .bottom-row .balance-info .info .label{font-size:10px}.ui-footer .bottom-row .balance-info .info .value{font-size:14px}}@media screen and (orientation: portrait) and (max-width: 320px){.ui-footer{--betbox-w: 120px;--spin-size: 52px;--qa-size: 24px;--qa-gap: 12px;padding:6px}.ui-footer .left-group .balance-info{top:80px}.ui-footer .bet-control .bet-amount{top:calc(50% - var(--spin-size) / 2 + 65px);width:70px}.ui-footer .bet-control .bet-amount .bet-amount-icon{width:30px;height:30px}.ui-footer .bet-control .bet-amount .bet-amount-text{width:80%;font-size:10px}.ui-footer .top-row .buy-bonus-wrap .buy-bonus{padding:4px 8px;font-size:11px;min-height:32px}.ui-footer .top-row .buy-bonus-wrap .bonus-thumb{left:calc(50% - var(--betbox-w) / 2 - (var(--qa-gap)) * 1.6);bottom:60px}}@media screen and (max-width: 935px) and (orientation: landscape){.ui-footer{bottom:2px}.ui-footer .left-group{gap:28px}.ui-footer .bet-control .bet-amount{max-height:16px;width:110px}.ui-footer .bet-control .bet-amount-icon{width:30px;height:30px}.ui-footer .bet-control .bet-amount-text{width:80%;font-size:12px;font-weight:500}.ui-footer .bet-control .bet-box{position:relative;width:130px;height:28px}.ui-footer .bet-control .bet-box .bet-btn{width:16px;height:16px}.ui-footer .bet-control .bet-box .spin-btn{width:55px;height:55px}.ui-footer .bet-control .quick-spin,.ui-footer .bet-control .auto-spin{width:27px;height:27px;border-radius:50%}.ui-footer .bonus-thumb{width:43px;height:51px;bottom:40px}.ui-footer .left-group{gap:10px}.ui-footer .left-group .buy-bonus{min-height:33px;max-height:38px;max-width:90px;font-size:12px}.ui-footer .left-group .balance-info{gap:15px}.ui-footer .left-group .balance-info .info .label{font-size:10px}.ui-footer .left-group .balance-info .info .value{font-size:12px}}@media screen and (max-width: 1150px) and (orientation: landscape){.ui-footer .bet-control{gap:15px}.ui-footer .bet-control .bet-amount{width:140px}.ui-footer .top-row{width:100%}.ui-footer .left-group{gap:28px}}.ui-footer .bet-amount:hover,.ui-footer .spin-btn:hover,.ui-footer .quick-spin:hover,.ui-footer .auto-spin:hover{background-color:#201f1fa1}.ui-footer .buy-bonus:hover{box-shadow:inset 0 0 0 1000px #0003}.buy-bonus-wrap{display:flex;flex-direction:column;align-items:center;position:relative;width:max-content;box-sizing:border-box}.bonus-thumb{position:absolute;width:64px;height:76px;border-radius:6px;border:1.2px solid rgba(255,215,18,.88);background-size:100%;background-position:center;background-repeat:no-repeat;bottom:60px;box-shadow:0 4px #00000003;box-sizing:border-box}.buy-bonus-wrap .bonus-thumb{background-clip:padding-box}.settings-section{position:absolute;top:20px;right:20px;display:flex;align-items:center;gap:12px}.volume-control{display:flex;align-items:center;background:#00000080;border-radius:999px;padding:4px 10px;gap:8px}.slider{appearance:none;width:120px;height:6px;border-radius:3px;background:#fff3;outline:none}.slider::-webkit-slider-thumb{appearance:none;width:14px;height:14px;border-radius:50%;background:#fff;cursor:pointer}.volume-value{color:#fff;font-weight:600;min-width:24px;text-align:center}.btn-sound,.btn-settings{width:40px;height:40px;border:1px solid #fff;border-radius:50%;background:transparent;background-size:80% auto;background-repeat:no-repeat;background-position:center;cursor:pointer;transition:background-color .2s}.btn-sound:hover,.btn-settings:hover{background-color:#ffffff26}.btn-sound{background-image:url("data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='46'%20height='46'%20viewBox='0%200%2046%2046'%20fill='none'%3e%3cpath%20d='M27.9432%204.458C27.7015%204.34021%2027.4315%204.29258%2027.1641%204.32053C26.8966%204.34848%2026.6424%204.45089%2026.4302%204.61613L13.8809%2014.375H5.75C4.9875%2014.375%204.25623%2014.6779%203.71707%2015.217C3.1779%2015.7562%202.875%2016.4875%202.875%2017.25V28.75C2.875%2029.5125%203.1779%2030.2437%203.71707%2030.7829C4.25623%2031.3221%204.9875%2031.625%205.75%2031.625H13.8809L26.4302%2041.3838C26.6426%2041.5489%2026.897%2041.6511%2027.1646%2041.6787C27.4321%2041.7064%2027.7021%2041.6585%2027.9437%2041.5404C28.1854%2041.4222%2028.3891%2041.2387%2028.5316%2041.0106C28.6741%2040.7825%2028.7498%2040.5189%2028.75%2040.25V5.74995C28.75%205.48065%2028.6744%205.21676%2028.5318%204.98834C28.3891%204.75991%2028.1852%204.57616%2027.9432%204.458ZM5.75%2017.25H12.9375V28.75H5.75V17.25ZM25.875%2037.3103L15.8125%2029.4849V16.515L25.875%208.68964V37.3103ZM35.5781%2018.249C36.7343%2019.5616%2037.3722%2021.2508%2037.3722%2023C37.3722%2024.7492%2036.7343%2026.4383%2035.5781%2027.7509C35.3242%2028.03%2034.9706%2028.198%2034.5939%2028.2187C34.2171%2028.2394%2033.8473%2028.1111%2033.5643%2027.8616C33.2813%2027.6121%2033.1077%2027.2613%2033.0811%2026.8849C33.0544%2026.5085%2033.1768%2026.1367%2033.4219%2025.8498C34.1152%2025.0623%2034.4977%2024.0491%2034.4977%2023C34.4977%2021.9508%2034.1152%2020.9376%2033.4219%2020.1501C33.1768%2019.8632%2033.0544%2019.4914%2033.0811%2019.115C33.1077%2018.7387%2033.2813%2018.3878%2033.5643%2018.1383C33.8473%2017.8888%2034.2171%2017.7605%2034.5939%2017.7812C34.9706%2017.8019%2035.3242%2017.97%2035.5781%2018.249ZM44.5625%2023C44.5646%2026.5366%2043.2612%2029.9495%2040.9023%2032.5845C40.6462%2032.8616%2040.2914%2033.0269%2039.9146%2033.0447C39.5377%2033.0626%2039.1689%2032.9315%2038.8878%2032.6799C38.6067%2032.4283%2038.4358%2032.0762%2038.4119%2031.6997C38.3881%2031.3231%2038.5133%2030.9523%2038.7604%2030.6672C40.6461%2028.5588%2041.6885%2025.8295%2041.6885%2023.0009C41.6885%2020.1723%2040.6461%2017.4429%2038.7604%2015.3345C38.631%2015.1944%2038.5307%2015.03%2038.4654%2014.8509C38.4001%2014.6717%2038.3712%2014.4813%2038.3802%2014.2908C38.3892%2014.1003%2038.4361%2013.9135%2038.518%2013.7413C38.5999%2013.5691%2038.7152%2013.4149%2038.8573%2013.2878C38.9994%2013.1606%2039.1654%2013.0629%2039.3456%2013.0005C39.5258%2012.9381%2039.7166%2012.9121%2039.9069%2012.9242C40.0972%2012.9362%2040.2832%2012.986%2040.4541%2013.0707C40.625%2013.1553%2040.7774%2013.2731%2040.9023%2013.4172C43.2618%2016.0511%2044.5653%2019.4637%2044.5625%2023Z'%20fill='%23FFFBFF'/%3e%3c/svg%3e")}.btn-sound.inactive{background-image:url("data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='46'%20height='46'%20viewBox='0%200%2046%2046'%20fill='none'%3e%3cpath%20d='M9.68875%206.22089C9.56251%206.07859%209.40928%205.96276%209.23795%205.88012C9.06662%205.79747%208.88058%205.74965%208.69063%205.73943C8.50068%205.72921%208.31059%205.7568%208.13138%205.82058C7.95217%205.88437%207.7874%205.98309%207.64662%206.11103C7.50584%206.23897%207.39186%206.39357%207.31127%206.56588C7.23069%206.7382%207.1851%206.92479%207.17716%207.11485C7.16922%207.30491%207.19908%207.49465%207.26501%207.67309C7.33094%207.85152%207.43164%208.0151%207.56125%208.15433L13.216%2014.3751H5.75C4.9875%2014.3751%204.25623%2014.678%203.71707%2015.2172C3.1779%2015.7563%202.875%2016.4876%202.875%2017.2501V28.7501C2.875%2029.5126%203.1779%2030.2439%203.71707%2030.783C4.25623%2031.3222%204.9875%2031.6251%205.75%2031.6251H13.8809L26.4302%2041.3839C26.6426%2041.549%2026.897%2041.6512%2027.1646%2041.6789C27.4321%2041.7066%2027.7021%2041.6586%2027.9437%2041.5405C28.1854%2041.4224%2028.3891%2041.2389%2028.5316%2041.0107C28.6741%2040.7826%2028.7498%2040.5191%2028.75%2040.2501V31.4616L36.3112%2039.7793C36.4375%2039.9216%2036.5907%2040.0375%2036.7621%2040.1201C36.9334%2040.2028%2037.1194%2040.2506%2037.3094%2040.2608C37.4993%2040.271%2037.6894%2040.2434%2037.8686%2040.1796C38.0478%2040.1159%2038.2126%2040.0171%2038.3534%2039.8892C38.4942%2039.7613%2038.6081%2039.6067%2038.6887%2039.4343C38.7693%2039.262%2038.8149%2039.0754%2038.8228%2038.8854C38.8308%2038.6953%2038.8009%2038.5056%2038.735%2038.3271C38.6691%2038.1487%2038.5684%2037.9851%2038.4388%2037.8459L9.68875%206.22089ZM5.75%2017.2501H12.9375V28.7501H5.75V17.2501ZM25.875%2037.3104L15.8125%2029.485V17.2303L25.875%2028.2991V37.3104ZM33.4219%2025.8518C34.1152%2025.0643%2034.4977%2024.0511%2034.4977%2023.0019C34.4977%2021.9527%2034.1152%2020.9395%2033.4219%2020.1521C33.2898%2020.0117%2033.1873%2019.8462%2033.1205%2019.6654C33.0537%2019.4846%2033.0239%2019.2922%2033.0329%2019.0997C33.042%2018.9072%2033.0896%2018.7184%2033.1731%2018.5447C33.2565%2018.3709%2033.3741%2018.2157%2033.5187%2018.0883C33.6633%2017.961%2033.8321%2017.8639%2034.015%2017.8031C34.1979%2017.7422%2034.3911%2017.7188%2034.5833%2017.7341C34.7754%2017.7495%2034.9625%2017.8033%2035.1334%2017.8924C35.3043%2017.9815%2035.4555%2018.104%2035.5781%2018.2528C36.7343%2019.5653%2037.3722%2021.2545%2037.3722%2023.0037C37.3722%2024.7529%2036.7343%2026.4421%2035.5781%2027.7546C35.4532%2027.8962%2035.3016%2028.0118%2035.132%2028.0948C34.9623%2028.1778%2034.778%2028.2266%2034.5896%2028.2383C34.4011%2028.2501%2034.2122%2028.2246%2034.0336%2028.1634C33.8549%2028.1021%2033.6901%2028.0063%2033.5486%2027.8813C33.407%2027.7564%2033.2914%2027.6048%2033.2084%2027.4352C33.1254%2027.2655%2033.0766%2027.0812%2033.0649%2026.8928C33.0531%2026.7043%2033.0786%2026.5154%2033.1398%2026.3368C33.2011%2026.1581%2033.2969%2025.9933%2033.4219%2025.8518ZM19.0181%2012.1955C18.9021%2012.0465%2018.8166%2011.8761%2018.7664%2011.6941C18.7162%2011.512%2018.7025%2011.3218%2018.7258%2011.1344C18.7492%2010.947%2018.8092%2010.7661%2018.9026%2010.6019C18.9959%2010.4377%2019.1206%2010.2936%2019.2697%2010.1776L26.4302%204.6073C26.6432%204.44174%2026.8985%204.33944%2027.1668%204.31209C27.4352%204.28475%2027.7058%204.33347%2027.9478%204.45268C28.1898%204.57189%2028.3933%204.75677%2028.5352%204.98621C28.677%205.21564%2028.7515%205.48037%2028.75%205.75011V19.1961C28.75%2019.5774%2028.5986%2019.943%2028.329%2020.2126C28.0594%2020.4822%2027.6937%2020.6336%2027.3125%2020.6336C26.9313%2020.6336%2026.5656%2020.4822%2026.296%2020.2126C26.0264%2019.943%2025.875%2019.5774%2025.875%2019.1961V8.6898L21.0342%2012.4632C20.7323%2012.696%2020.3503%2012.7993%2019.9722%2012.7505C19.5941%2012.7016%2019.2509%2012.5046%2019.0181%2012.2027V12.1955ZM44.5625%2023.0001C44.5646%2026.5367%2043.2612%2029.9497%2040.9023%2032.5846C40.6462%2032.8617%2040.2914%2033.027%2039.9146%2033.0449C39.5377%2033.0627%2039.1689%2032.9317%2038.8878%2032.6801C38.6067%2032.4284%2038.4358%2032.0763%2038.4119%2031.6998C38.3881%2031.3233%2038.5133%2030.9525%2038.7604%2030.6674C40.6461%2028.559%2041.6885%2025.8296%2041.6885%2023.001C41.6885%2020.1724%2040.6461%2017.443%2038.7604%2015.3346C38.631%2015.1946%2038.5307%2015.0302%2038.4654%2014.851C38.4001%2014.6718%2038.3712%2014.4815%2038.3802%2014.291C38.3892%2014.1005%2038.4361%2013.9137%2038.518%2013.7415C38.5999%2013.5693%2038.7152%2013.4151%2038.8573%2013.2879C38.9994%2013.1607%2039.1654%2013.0631%2039.3456%2013.0007C39.5258%2012.9382%2039.7166%2012.9123%2039.9069%2012.9244C40.0972%2012.9364%2040.2832%2012.9862%2040.4541%2013.0708C40.625%2013.1555%2040.7774%2013.2733%2040.9023%2013.4174C43.2618%2016.0513%2044.5653%2019.4639%2044.5625%2023.0001Z'%20fill='%23FFFBFF'/%3e%3c/svg%3e")}.btn-settings{background-image:url("data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='46'%20height='46'%20viewBox='0%200%2046%2046'%20fill='none'%3e%3cpath%20d='M22.9992%2014.375C21.2934%2014.375%2019.6258%2014.8809%2018.2074%2015.8286C16.7891%2016.7764%2015.6836%2018.1234%2015.0308%2019.6994C14.378%2021.2754%2014.2072%2023.0096%2014.54%2024.6827C14.8728%2026.3558%2015.6942%2027.8926%2016.9004%2029.0988C18.1067%2030.3051%2019.6435%2031.1265%2021.3166%2031.4593C22.9897%2031.7921%2024.7239%2031.6213%2026.2999%2030.9685C27.8759%2030.3157%2029.2229%2029.2102%2030.1707%2027.7918C31.1184%2026.3735%2031.6242%2024.7059%2031.6242%2023C31.6219%2020.7133%2030.7124%2018.5209%2029.0954%2016.9039C27.4784%2015.2869%2025.286%2014.3774%2022.9992%2014.375ZM22.9992%2028.75C21.862%2028.75%2020.7503%2028.4128%2019.8047%2027.781C18.8591%2027.1492%2018.1221%2026.2512%2017.6869%2025.2005C17.2517%2024.1498%2017.1379%2022.9937%2017.3597%2021.8783C17.5816%2020.7629%2018.1292%2019.7383%2018.9334%2018.9342C19.7375%2018.13%2020.7621%2017.5824%2021.8775%2017.3605C22.9929%2017.1387%2024.149%2017.2525%2025.1997%2017.6877C26.2503%2018.1229%2027.1484%2018.8599%2027.7802%2019.8055C28.412%2020.7511%2028.7492%2021.8628%2028.7492%2023C28.7492%2024.525%2028.1434%2025.9876%2027.0651%2027.0659C25.9868%2028.1442%2024.5242%2028.75%2022.9992%2028.75ZM42.7541%2019.2643C42.7141%2019.0619%2042.6309%2018.8705%2042.5103%2018.7031C42.3897%2018.5356%2042.2344%2018.3961%2042.0551%2018.294L36.695%2015.2393L36.6735%209.19825C36.6728%208.9902%2036.627%208.78476%2036.5392%208.59614C36.4514%208.40752%2036.3237%208.2402%2036.1649%208.10575C34.2206%206.46107%2031.9815%205.20068%2029.5668%204.39161C29.3767%204.32725%2029.1751%204.30343%2028.9752%204.32169C28.7753%204.33994%2028.5814%204.39988%2028.406%204.49763L22.9992%207.51997L17.5871%204.49223C17.4116%204.39394%2017.2175%204.33355%2017.0172%204.31498C16.8169%204.29641%2016.615%204.32007%2016.4245%204.38442C14.0115%205.19941%2011.775%206.4646%209.83354%208.11294C9.675%208.2472%209.54744%208.41422%209.45965%208.60251C9.37187%208.79081%209.32594%208.99589%209.32503%209.20364L9.29807%2015.2501L3.93799%2018.3048C3.75867%2018.4069%203.60342%2018.5464%203.48281%2018.7138C3.3622%2018.8813%203.27905%2019.0727%203.23901%2019.2751C2.74846%2021.7402%202.74846%2024.2778%203.23901%2026.7429C3.27905%2026.9454%203.3622%2027.1368%203.48281%2027.3042C3.60342%2027.4717%203.75867%2027.6112%203.93799%2027.7132L9.29807%2030.7679L9.31963%2036.809C9.32028%2037.0171%209.36609%2037.2225%209.45389%2037.4111C9.54168%2037.5998%209.66938%2037.7671%209.82815%2037.9015C11.7725%2039.5462%2014.0116%2040.8066%2016.4263%2041.6157C16.6164%2041.68%2016.818%2041.7039%2017.0179%2041.6856C17.2178%2041.6673%2017.4117%2041.6074%2017.5871%2041.5097L22.9992%2038.4801L28.4114%2041.5079C28.6256%2041.6272%2028.867%2041.6891%2029.1122%2041.6875C29.2692%2041.6875%2029.4252%2041.662%2029.574%2041.6121C31.9867%2040.7982%2034.2231%2039.5342%2036.1649%2037.8872C36.3235%2037.7529%2036.451%2037.5859%2036.5388%2037.3976C36.6266%2037.2093%2036.6726%2037.0042%2036.6735%2036.7965L36.7004%2030.75L42.0605%2027.6953C42.2398%2027.5932%2042.3951%2027.4537%2042.5157%2027.2863C42.6363%2027.1188%2042.7194%2026.9274%2042.7595%2026.725C43.2473%2024.2618%2043.2455%2021.7268%2042.7541%2019.2643ZM40.0588%2025.5372L34.9251%2028.4572C34.7002%2028.5851%2034.5139%2028.7713%2034.386%2028.9962C34.2818%2029.1759%2034.1722%2029.3664%2034.0608%2029.5461C33.9182%2029.7727%2033.8422%2030.0348%2033.8416%2030.3025L33.8146%2036.0975C32.4348%2037.1811%2030.8975%2038.0476%2029.256%2038.667L24.0774%2035.7812C23.8624%2035.6623%2023.6205%2035.6004%2023.3748%2035.6015H23.3406C23.1232%2035.6015%2022.904%2035.6015%2022.6866%2035.6015C22.4294%2035.5951%2022.1752%2035.6571%2021.9499%2035.7812L16.7677%2038.6742C15.1227%2038.0595%2013.5811%2037.1973%2012.1964%2036.1172L12.1767%2030.3313C12.1758%2030.063%2012.0998%2029.8004%2011.9574%2029.573C11.846%2029.3933%2011.7364%2029.2136%2011.634%2029.0232C11.507%2028.7948%2011.3208%2028.6048%2011.0949%2028.4733L5.95588%2025.5462C5.68995%2023.864%205.68995%2022.1505%205.95588%2020.4683L11.0806%2017.5429C11.3055%2017.415%2011.4917%2017.2288%2011.6196%2017.0039C11.7239%2016.8242%2011.8335%2016.6337%2011.9449%2016.454C12.0875%2016.2274%2012.1634%2015.9653%2012.1641%2015.6975L12.191%209.90263C13.5709%208.81901%2015.1082%207.95251%2016.7497%207.33309L21.9211%2010.2189C22.1462%2010.3436%2022.4006%2010.4057%2022.6578%2010.3986C22.8753%2010.3986%2023.0945%2010.3986%2023.3119%2010.3986C23.5691%2010.405%2023.8233%2010.343%2024.0486%2010.2189L29.2308%207.32591C30.8758%207.94057%2032.4173%208.80283%2033.8021%209.88286L33.8218%2015.6688C33.8227%2015.9371%2033.8986%2016.1997%2034.041%2016.4271C34.1524%2016.6068%2034.2621%2016.7865%2034.3645%2016.9769C34.4915%2017.2053%2034.6777%2017.3953%2034.9035%2017.5268L40.0426%2020.4539C40.3121%2022.1374%2040.3151%2023.8528%2040.0516%2025.5372H40.0588Z'%20fill='%23FFFBFF'/%3e%3c/svg%3e")}.overlay{position:fixed;top:0;left:0;width:100vw;height:100vh;background:var(--900, rgba(28, 27, 30, .67));display:flex;flex-direction:column;justify-content:center;align-content:center;align-items:center;padding-top:var(--overlay-padding-top, 50px);z-index:1000;gap:60px;user-select:none;-webkit-user-select:none;-ms-user-select:none;backdrop-filter:blur(18px);-webkit-backdrop-filter:blur(18px)}.overlay.dialog{background:var(--900, rgba(30, 30, 30, .67))}.popup-title{position:absolute;color:#fff;top:50px;font-size:2.7rem;text-align:center}.overlay-close{width:5rem;height:3rem;position:absolute;right:50px;top:65px;border-radius:50%;background-image:url("data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='248'%20height='121'%20viewBox='0%200%20248%20121'%20fill='none'%3e%3cg%20opacity='0.1'%20filter='url(%23filter0_f_811_7791)'%3e%3cellipse%20cx='134'%20cy='60.3962'%20rx='87'%20ry='13.3962'%20fill='%23D9D9D9'/%3e%3c/g%3e%3cg%20opacity='0.2'%20filter='url(%23filter1_f_811_7791)'%3e%3cellipse%20cx='134.001'%20cy='60.3961'%20rx='45.7585'%20ry='5.44679'%20fill='%23D9D9D9'/%3e%3c/g%3e%3cdefs%3e%3cfilter%20id='filter0_f_811_7791'%20x='0.400002'%20y='0.400002'%20width='267.2'%20height='119.992'%20filterUnits='userSpaceOnUse'%20color-interpolation-filters='sRGB'%3e%3cfeFlood%20flood-opacity='0'%20result='BackgroundImageFix'/%3e%3cfeBlend%20mode='normal'%20in='SourceGraphic'%20in2='BackgroundImageFix'%20result='shape'/%3e%3cfeGaussianBlur%20stdDeviation='23.3'%20result='effect1_foregroundBlur_811_7791'/%3e%3c/filter%3e%3cfilter%20id='filter1_f_811_7791'%20x='41.6422'%20y='8.34934'%20width='184.718'%20height='104.094'%20filterUnits='userSpaceOnUse'%20color-interpolation-filters='sRGB'%3e%3cfeFlood%20flood-opacity='0'%20result='BackgroundImageFix'/%3e%3cfeBlend%20mode='normal'%20in='SourceGraphic'%20in2='BackgroundImageFix'%20result='shape'/%3e%3cfeGaussianBlur%20stdDeviation='23.3'%20result='effect1_foregroundBlur_811_7791'/%3e%3c/filter%3e%3c/defs%3e%3c/svg%3e");background-repeat:no-repeat;background-position:center;background-size:150%;display:flex;align-items:center;justify-content:center;cursor:pointer;z-index:1005}.overlay-close img{width:1.8rem;height:1.8rem;display:block}.overlay-content{flex:1;display:flex;position:relative;z-index:1001;width:80%;max-height:calc(85vh - var(--overlay-padding-top, 100px));overflow-y:scroll;padding:10px;justify-content:center;margin-bottom:100px;scrollbar-color:#48464A #1C1B1E;box-sizing:border-box}.overlay-content::-webkit-scrollbar{width:10px}.overlay-content::-webkit-scrollbar-track{background:#0000000f}.overlay-content::-webkit-scrollbar-thumb{background:#ffffff2e;border-radius:30px}.overlay-bet-controller{width:300px;position:absolute;display:flex;gap:10px;bottom:80px;align-self:center}.bet-amount{padding:10px 5px;width:200px;border-radius:8px;border:1.698px solid #AEAAAF;text-align:center;background-color:#313033b3;color:#fff}.increase-bet,.decrease-bet{padding:10px 5px;border-radius:8px;border:1.698px solid #AEAAAF;width:40px;background-repeat:no-repeat;background-position:center;background-size:60%;background-color:#313033b3;cursor:pointer}.increase-bet{background-image:url("data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='30'%20height='30'%20viewBox='0%200%2030%2030'%20fill='none'%3e%3cpath%20d='M14.999%200.333496C16.4718%200.333496%2017.666%201.52773%2017.666%203.00049V12.3335H26.999C28.4718%2012.3335%2029.666%2013.5277%2029.666%2015.0005C29.6659%2016.4731%2028.4717%2017.6665%2026.999%2017.6665H17.666V27.0005C17.6659%2028.4731%2016.4717%2029.6665%2014.999%2029.6665C13.5263%2029.6665%2012.3322%2028.4731%2012.332%2027.0005V17.6665H2.99902C1.52635%2017.6665%200.332163%2016.4731%200.332031%2015.0005C0.332031%2013.5277%201.52626%2012.3335%202.99902%2012.3335H12.332V3.00049C12.332%201.52773%2013.5263%200.333496%2014.999%200.333496Z'%20fill='%23FFFBFF'/%3e%3c/svg%3e")}.decrease-bet{background-image:url("data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='30'%20height='30'%20viewBox='0%200%2030%2030'%20fill='none'%3e%3cpath%20d='M2.99902%2012.3335C1.52635%2012.3335%200.332163%2013.5277%200.332031%2015.0005C0.332031%2016.4731%201.52626%2017.6665%202.99902%2017.6665H26.999C28.4718%2017.6665%2029.666%2016.4731%2029.666%2015.0005C29.666%2013.5277%2028.4718%2012.3335%2026.999%2012.3335H2.99902Z'%20fill='%23FFFBFF'/%3e%3c/svg%3e")}@media screen and (orientation: portrait){.overlay{--overlay-bottom-gap: 50px}.overlay .overlay-content{width:90%;justify-self:flex-start;max-height:calc(72vh - var(--overlay-padding-top, 100px) + var(--overlay-bottom-gap) * .2);margin-bottom:calc(var(--overlay-bottom-gap) * 3)}.overlay .overlay-close{top:auto;bottom:calc(var(--overlay-bottom-gap) * 1.3);right:auto;z-index:1005}.overlay .overlay-bet-controller{bottom:calc(var(--overlay-bottom-gap) * 2.8)}}@media screen and (max-width: 935px) and (orientation: landscape){.overlay .overlay-content{margin-top:30px;width:90%;max-height:calc(95vh - var(--overlay-padding-top, 100px) - 40px)}.overlay .overlay-close{width:2.7rem;height:1.4rem;top:60px}.overlay .overlay-close img{width:1rem;height:1rem}.overlay .overlay-bet-controller{bottom:65px}.overlay .popup-title{font-size:1.8rem}}.bet-popup-container{display:flex;width:80%;height:max-content;flex-wrap:wrap;align-self:center;justify-self:center;justify-content:center;user-select:none;-webkit-user-select:none;-ms-user-select:none;gap:30px}@media screen and (orientation: portrait){.bet-popup-container{width:100%;gap:15px}}@media screen and (max-width: 935px) and (orientation: landscape){.bet-popup-container{gap:15px}}.rectLabel{width:100px;height:40px;color:#fff;background:var(--800, rgba(49, 48, 51, .7));border:1px solid rgba(255,255,255,.12);padding:5px;text-align:center;border-radius:5px;display:flex;align-items:center;justify-content:center;overflow:hidden;cursor:pointer;transition:background .16s ease,transform .16s ease,box-shadow .16s ease,border-color .16s ease;will-change:transform,box-shadow}.rectLabel:focus-visible{outline:none;box-shadow:0 0 0 4px #d4a0172e;border-color:#d4a017e6}.rectLabel:hover,.rectLabel:focus{background:#ffffff0f;transform:translateY(-4px) scale(1.03);border-color:#ffffffe6;box-shadow:0 8px 24px #00000073}.rectLabel:active{transform:translateY(0) scale(.985);box-shadow:0 4px 12px #00000059}.rectLabel span{display:block;font-size:22px;width:100%;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;transition:transform .16s ease}.rectLabel:hover span,.rectLabel:focus span{transform:scale(1.03)}.rectLabel.current-active{background:var(--Mustard-Yellow, #f6d923);color:#0c0c0c}@media (prefers-reduced-motion: reduce){.rectLabel{transition:none;transform:none}.rectLabel:hover{transform:none;box-shadow:none}.rectLabel span{transition:none;transform:none}}@media screen and (orientation: portrait){.rectLabel{width:70px;height:25px}.rectLabel span{font-size:14px;width:100%}}@media screen and (max-width: 935px) and (orientation: landscape){.rectLabel{width:70px;height:25px}.rectLabel span{font-size:14px;width:100%}}.autoplay-wrap{width:100%;max-width:760px;margin:0 auto;color:#fff;text-align:center;padding:18px 12px 28px;box-sizing:border-box;font-family:Helvetica Neue,Arial,sans-serif;--ap-limit-h: 48px}.ap-title{font-size:22px;font-weight:800;margin:4px 0 18px;color:#fff}.autoplay-count{display:flex;width:100%;flex-wrap:wrap;justify-content:center;gap:18px;margin-bottom:22px}.ap-switch-row{display:flex;align-items:center;justify-content:center;gap:18px;margin-bottom:18px;flex-wrap:wrap}.ap-switch-label{font-size:18px;font-weight:700}.ap-switch-control{display:flex;align-items:center;gap:10px}.ap-switch-text{font-weight:700;font-size:18px}.ap-tabs{display:flex;gap:8px;justify-content:center;margin:12px 0 6px}.ap-tab{background:#ffffff0f;color:#ddd;padding:10px 18px;border-radius:10px 10px 0 0;border:1px solid rgba(255,255,255,.12);font-weight:700;cursor:pointer;min-width:140px}.ap-tab--active{background:#f0d35c;color:#111;box-shadow:0 4px #00000014}.ap-limits-panel{display:flex;justify-content:center;margin-top:6px}.ap-limits-inner{width:100%;max-width:620px;border:2px solid rgba(255,255,255,.12);border-radius:12px;padding:18px;box-sizing:border-box;background:#00000059;position:relative}.ap-limits-inner:before{display:none;content:none}.ap-limit-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:14px;align-items:center;justify-items:center}.ap-limit-grid>*{min-width:0}.ap-limit{background:#00000073;color:#eee;border:2px solid rgba(255,255,255,.12);padding:0 18px;width:100%;max-width:200px;text-align:center;border-radius:12px;font-weight:800;cursor:pointer;transition:all .12s ease;box-shadow:inset 0 -6px #0000001f;-webkit-appearance:none;-moz-appearance:none;appearance:none;display:inline-flex;align-items:center;justify-content:center;box-sizing:border-box;font-family:inherit;font-size:14px;line-height:1;vertical-align:middle;outline:none;height:var(--ap-limit-h)}.ap-limit--active{background:linear-gradient(180deg,#f0d35c,#d4a017);color:#222;border-color:#00000026;transform:translateY(-2px)}button.ap-limit:focus,input.ap-limit:focus{outline:none;box-shadow:0 0 0 3px #d4a01726}input.ap-limit,input[type=number].ap-limit{-webkit-appearance:none;-moz-appearance:none;appearance:none;box-sizing:border-box;display:inline-flex;align-items:center;justify-content:center;width:100%;max-width:200px;padding:0 18px;background:#00000073;color:#eee;border:2px solid rgba(255,255,255,.12);border-radius:12px;font-weight:800;font-family:inherit;font-size:14px;line-height:1;text-align:center;outline:none;height:var(--ap-limit-h)}input.ap-limit::-webkit-outer-spin-button,input.ap-limit::-webkit-inner-spin-button,input[type=number].ap-limit::-webkit-outer-spin-button,input[type=number].ap-limit::-webkit-inner-spin-button{-webkit-appearance:none;margin:0}input.ap-limit::-ms-clear,input.ap-limit::-ms-expand,input[type=number].ap-limit::-ms-clear,input[type=number].ap-limit::-ms-expand{display:none}input.ap-limit.ap-limit--active{background:linear-gradient(180deg,#f0d35c,#d4a017);color:#222;border-color:#00000026;transform:translateY(-2px)}.ap-start-row{margin-top:22px;display:flex;justify-content:center}.ap-start-btn{background:linear-gradient(180deg,#f0d35c,#d4a017);color:#111;border:2px solid #c89b2f;padding:14px 48px;border-radius:14px;font-size:26px;font-weight:900;cursor:pointer;box-shadow:0 6px #00000047,inset 0 -6px #0000000f;transition:transform .08s ease,box-shadow .08s ease}.ap-start-btn:active{transform:translateY(2px);box-shadow:0 4px #0000003d}.ap-start-btn--disabled{opacity:.45;cursor:not-allowed;transform:none;box-shadow:none}@media (max-width: 880px){.autoplay-wrap{padding:14px 10px}.ap-title{font-size:20px}.ap-toggle{width:60px;height:34px}.ap-toggle__knob{width:28px;height:28px}.ap-tab{min-width:120px;padding:8px 12px}.ap-limit-grid{gap:10px}.ap-start-btn{font-size:22px;padding:12px 40px;border-radius:12px}}@media screen and (orientation: portrait) and (max-width: 420px){.ap-title{font-size:18px}.autoplay-count{gap:12px}.ap-limit-grid{grid-template-columns:repeat(2,1fr)}.ap-limit{font-size:13px;padding:10px 12px;border-radius:10px;height:44px}.ap-tab{min-width:110px;padding:8px 10px}.ap-start-btn{font-size:18px;padding:10px 28px;border-radius:10px}.autoplay-wrap{--ap-limit-h: 44px}}@media screen and (orientation: landscape) and (max-height: 420px),screen and (orientation: landscape) and (min-aspect-ratio: 2.2/1){.autoplay-wrap{padding:10px 6px}.ap-title{font-size:18px;margin-bottom:8px}.autoplay-count{gap:12px;margin-bottom:12px}.ap-toggle{width:56px;height:32px}.ap-toggle__knob{width:26px;height:26px}.ap-switch-text{font-size:16px}.ap-tab{padding:8px 10px;min-width:110px;font-size:13px}.ap-limits-inner{padding:12px}.ap-limit-grid{gap:8px}.ap-limit{padding:0 18px;font-size:12px;border-radius:9px}.ap-start-btn{padding:10px 36px;font-size:20px;border-radius:12px}.autoplay-wrap{--ap-limit-h: 40px}}@media screen and (orientation: landscape) and (max-height: 360px){.ap-title{display:none}.ap-limit-grid{grid-template-columns:repeat(3,1fr);gap:6px}.autoplay-count{gap:8px}.ap-limits-inner{padding:8px}.ap-limit{padding:0 12px;font-size:11px}.ap-start-btn{padding:8px 28px;font-size:16px;border-radius:10px}.autoplay-wrap{--ap-limit-h: 36px}}.ap-toggle{width:68px;height:38px;border-radius:999px;background:linear-gradient(180deg,#f0d35c,#d4a017);border:none;position:relative;padding:4px;display:inline-flex;align-items:center;transition:background .12s ease;cursor:pointer;box-shadow:inset 0 -6px #0000000f}.ap-toggle--off{background:linear-gradient(180deg,#efefef,#ddd)}.ap-toggle--on{background:linear-gradient(180deg,#f0d35c,#d4a017)}.ap-toggle--on .ap-toggle__knob{margin-left:auto}.ap-toggle__knob{width:30px;height:30px;border-radius:50%;background:#fff;box-shadow:0 4px 8px #00000040;display:block;transition:transform .12s ease}@media (max-width: 880px){.ap-toggle{width:60px;height:34px}.ap-toggle__knob{width:28px;height:28px}}@media (max-width: 1000px){.ap-toggle{width:50px;height:30px}.ap-toggle__knob{width:24px;height:24px}}@media (max-width: 750px){.ap-toggle{width:38px;height:23px}.ap-toggle__knob{width:18px;height:18px}}.sp-wrap{width:100%;max-width:760px;margin:0 auto;color:#fff;text-align:center;padding:20px 12px;box-sizing:border-box;font-family:Helvetica Neue,Arial,sans-serif;--sp-switch-w: 54px;--sp-switch-h: 54px;--action-width: 45%;--action-max: 280px;--action-bg: rgba(41, 40, 40, .3);--action-icon-size: 43px;--content-max: 620px;--row-gap: 6px}.sp-actions{display:flex;flex-direction:column;gap:10px;align-items:center;margin-bottom:18px}.sp-action{width:var(--action-width);max-width:var(--action-max);background:var(--action-bg);color:#fff;border-radius:6px;border:1.6px solid rgba(255,255,255,.12);padding:10px 12px;display:flex;align-items:center;justify-content:center;position:relative;cursor:pointer;box-sizing:border-box;transition:transform .08s ease,background .08s ease}.sp-action:hover{background:#1c1c1cde}.sp-action__icon{position:absolute;left:-1px;top:50%;transform:translateY(-50%);width:var(--action-icon-size);height:var(--action-icon-size);display:inline-flex;align-items:center;justify-content:center;border-radius:8px;border:2px solid rgba(255,255,255,.12);background:#0e0e0e59;box-sizing:border-box;background-repeat:no-repeat;background-position:center;background-size:60% 60%}.sp-action--history .sp-action__icon{background-image:url("data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='43'%20height='43'%20viewBox='0%200%2043%2043'%20fill='none'%3e%3cpath%20d='M22.7389%2013.6409V20.8183L28.7027%2024.3962C29.0031%2024.5766%2029.2195%2024.869%2029.3043%2025.209C29.3892%2025.549%2029.3355%2025.9087%2029.1551%2026.2091C28.9746%2026.5095%2028.6823%2026.7259%2028.3423%2026.8108C28.0023%2026.8956%2027.6425%2026.8419%2027.3421%2026.6615L20.7377%2022.6989C20.5423%2022.5814%2020.3805%2022.4154%2020.2683%2022.2169C20.156%2022.0184%2020.097%2021.7943%2020.0971%2021.5662V13.6409C20.0971%2013.2906%2020.2363%2012.9546%2020.484%2012.7069C20.7317%2012.4592%2021.0677%2012.32%2021.418%2012.32C21.7683%2012.32%2022.1043%2012.4592%2022.352%2012.7069C22.5997%2012.9546%2022.7389%2013.2906%2022.7389%2013.6409ZM37.2686%209.67828C36.9183%209.67828%2036.5823%209.81744%2036.3346%2010.0652C36.0869%2010.3129%2035.9477%2010.6488%2035.9477%2010.9992V13.9711C34.8993%2012.7559%2033.8293%2011.5853%2032.6257%2010.3668C30.4229%208.16373%2027.6197%206.65867%2024.5664%206.03966C21.5131%205.42066%2018.345%205.71516%2015.4581%206.88637C12.5713%208.05758%2010.0935%2010.0536%208.33454%2012.6249C6.57555%2015.1963%205.61332%2018.2289%205.56808%2021.344C5.52283%2024.4591%206.39658%2027.5185%208.08014%2030.1398C9.76371%2032.7612%2012.1824%2034.8283%2015.0341%2036.0828C17.8857%2037.3374%2021.0439%2037.7238%2024.1139%2037.1937C27.1839%2036.6636%2030.0296%2035.2406%2032.2955%2033.1025C32.4217%2032.9832%2032.5231%2032.8403%2032.5941%2032.6818C32.665%2032.5233%2032.7041%2032.3525%2032.709%2032.1789C32.7139%2032.0053%2032.6846%2031.8325%2032.6227%2031.6703C32.5608%2031.5081%2032.4675%2031.3596%2032.3483%2031.2334C32.229%2031.1072%2032.0861%2031.0058%2031.9276%2030.9348C31.7692%2030.8639%2031.5983%2030.8248%2031.4247%2030.8199C31.2512%2030.815%2031.0783%2030.8443%2030.9161%2030.9062C30.7539%2030.9681%2030.6054%2031.0613%2030.4792%2031.1806C28.5905%2032.9606%2026.2191%2034.1447%2023.6614%2034.5851C21.1036%2035.0255%2018.4728%2034.7026%2016.0975%2033.6568C13.7222%2032.611%2011.7075%2030.8885%2010.3053%2028.7046C8.90297%2026.5207%208.17513%2023.972%208.21265%2021.3769C8.25016%2018.7818%209.05136%2016.2553%2010.5162%2014.1128C11.981%2011.9703%2014.0446%2010.3068%2016.4492%209.33008C18.8537%208.35335%2021.4928%208.10665%2024.0367%208.62078C26.5807%209.13492%2028.9168%2010.3871%2030.7533%2012.221C32.0973%2013.5815%2033.2746%2014.8925%2034.4617%2016.2827H30.6642C30.3138%2016.2827%2029.9779%2016.4219%2029.7302%2016.6696C29.4824%2016.9173%2029.3433%2017.2533%2029.3433%2017.6036C29.3433%2017.9539%2029.4824%2018.2899%2029.7302%2018.5376C29.9779%2018.7853%2030.3138%2018.9245%2030.6642%2018.9245H37.2686C37.6189%2018.9245%2037.9549%2018.7853%2038.2026%2018.5376C38.4503%2018.2899%2038.5895%2017.9539%2038.5895%2017.6036V10.9992C38.5895%2010.6488%2038.4503%2010.3129%2038.2026%2010.0652C37.9549%209.81744%2037.6189%209.67828%2037.2686%209.67828Z'%20fill='%23FFFBFF'/%3e%3c/svg%3e")}.sp-action--paytable .sp-action__icon{background-image:url("data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='7'%20height='30'%20viewBox='0%200%207%2030'%20fill='none'%3e%3cpath%20d='M6.06088%2026.6397C6.06088%2027.1622%205.90594%2027.673%205.61566%2028.1074C5.32538%2028.5418%204.91279%2028.8804%204.43007%2029.0804C3.94735%2029.2803%203.41618%2029.3326%202.90373%2029.2307C2.39128%2029.1288%201.92056%2028.8772%201.5511%2028.5077C1.18164%2028.1383%200.930039%2027.6675%200.828106%2027.1551C0.726173%2026.6426%200.778488%2026.1115%200.978437%2025.6287C1.17839%2025.146%201.51699%2024.7334%201.95142%2024.4432C2.38586%2024.1529%202.89662%2023.9979%203.41911%2023.9979C4.11975%2023.9979%204.79169%2024.2763%205.28712%2024.7717C5.78255%2025.2671%206.06088%2025.9391%206.06088%2026.6397ZM3.41911%2020.0353C3.76943%2020.0353%204.1054%2019.8961%204.35312%2019.6484C4.60083%2019.4007%204.73999%2019.0647%204.73999%2018.7144V1.54293C4.73999%201.19261%204.60083%200.856637%204.35312%200.608924C4.1054%200.36121%203.76943%200.222046%203.41911%200.222046C3.06879%200.222046%202.73282%200.36121%202.48511%200.608924C2.23739%200.856637%202.09823%201.19261%202.09823%201.54293V18.7144C2.09823%2019.0647%202.23739%2019.4007%202.48511%2019.6484C2.73282%2019.8961%203.06879%2020.0353%203.41911%2020.0353Z'%20fill='%23FFFBFF'/%3e%3c/svg%3e")}.sp-action__label{display:inline-block;width:100%;font-weight:800;font-size:16px;letter-spacing:.3px;text-align:center;pointer-events:none}.sp-section-title{margin:18px 0 8px;font-size:23px;font-weight:800;color:#fff}.sp-rows{width:35%;max-width:var(--content-max);margin:0 auto;display:flex;flex-direction:column;box-sizing:border-box}.sp-row{display:grid;grid-template-columns:var(--sp-switch-w) 1fr;align-items:center;column-gap:var(--row-gap);width:100%;box-sizing:border-box}.sp-switch{width:var(--sp-switch-w);height:var(--sp-switch-h);min-height:var(--sp-switch-h);display:flex;align-items:center;justify-content:center;box-sizing:border-box;justify-self:end}.sp-label{font-size:16px;font-weight:700;color:#fff;display:flex;align-items:center;height:var(--sp-switch-h);min-height:var(--sp-switch-h);box-sizing:border-box;justify-content:flex-start;padding-left:8px;justify-self:start}@media (max-width: 880px){.sp-action{width:92%}.sp-action__icon{left:10px;width:44px;height:44px}.sp-action__label{font-size:18px}.sp-section-title{font-size:20px}.sp-label{font-size:16px}.sp-switch{width:60px;--sp-switch-h: 52px;justify-self:end}.sp-row{grid-template-columns:60px 1fr;column-gap:6px}}@media screen and (orientation: portrait) and (max-width: 420px){.sp-action{width:80%;max-width:360px;padding:10px}.sp-action__icon{left:-1px;width:40px;height:40px;border-radius:6px}.sp-action__label{font-size:16px}.sp-section-title{font-size:18px;margin-top:12px;margin-bottom:6px}.sp-label{font-size:15px}.sp-switch{width:56px;--sp-switch-h: 48px;justify-self:end}.sp-row{grid-template-columns:56px 1fr;column-gap:6px}.sp-rows{width:75%}}@media screen and (orientation: landscape) and (max-height: 420px),screen and (orientation: landscape) and (min-aspect-ratio: 2.2/1){.sp-action{width:60%;max-width:560px;padding:8px 10px}.sp-action__icon{left:-1px;width:40px;height:40px}.sp-action__label{font-size:18px}.sp-section-title{font-size:18px;margin-top:12px;margin-bottom:6px}.sp-label{font-size:15px}.sp-switch{width:56px;--sp-switch-h: 42px;justify-self:end}.sp-row{grid-template-columns:56px 1fr;column-gap:6px}}:root{--item-border: 1.6px solid rgba(49, 48, 51, .7);--bg: var(--800, rgba(49, 48, 51, .7));--muted: #aaaaaa;--accent: rgba(212,160,23,.12)}.history-wrap{width:90%;max-width:850px;margin:0 auto;display:flex;flex-direction:column;user-select:none;-webkit-user-select:none;-ms-user-select:none;box-sizing:border-box}.history-item{width:100%;display:grid;grid-template-columns:minmax(140px,35%) minmax(80px,1fr) minmax(80px,1fr) 36px;align-items:center;gap:8px;min-height:60px;padding:12px 14px;border-radius:8px;border:var(--item-border);color:var(--10, #FFFBFF);box-sizing:border-box;overflow:hidden;background-color:transparent;transition:min-height .33s;will-change:min-height}.history-item.active{min-height:120px;align-items:flex-start}.additional-info{position:absolute;justify-self:center;align-self:flex-end}.additional-button{width:90px;border-radius:8.185px;border:1.698px solid var(--300, #AEAAAF);background:#fbde38;cursor:pointer;font-weight:800;padding:10px 5px;margin:5px}.additional-button.replay{background:var(--900, #1C1B1E);box-shadow:0 0 1.395px #000;color:var(--10, #FFFBFF);font-style:normal;font-weight:800}.additional-button.replay:hover{background:#17171740}.additional-button:hover{background:#ffe116cc}.replay-icon{position:absolute;width:34px;height:34px;right:97%;bottom:15%;background-image:url("data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='43'%20height='46'%20viewBox='0%200%2043%2046'%20fill='none'%3e%3cpath%20d='M1.02539%2038.2767V6.98965C1.02539%204.40975%201.02539%203.11836%201.55901%202.35504C2.02474%201.68882%202.74259%201.2514%203.53954%201.14682C4.45233%201.02704%205.57185%201.63451%207.80768%202.84772L36.6373%2018.4912L36.6478%2018.4959C39.1187%2019.8367%2040.3547%2020.5074%2040.7601%2021.4013C41.1138%2022.1811%2041.1138%2023.0812%2040.7601%2023.861C40.3541%2024.7562%2039.1152%2025.4296%2036.6373%2026.7741L7.80768%2042.4177C5.57025%2043.6317%204.45265%2044.2369%203.53954%2044.117C2.74259%2044.0125%202.02474%2043.5751%201.55901%2042.9089C1.02539%2042.1456%201.02539%2040.8566%201.02539%2038.2767Z'%20stroke='white'%20stroke-width='2'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3c/svg%3e");background-size:60% 60%;background-repeat:no-repeat;background-position:center}.history-item--head{color:#ddd;font-weight:700;border:none;text-transform:uppercase;font-size:12px;letter-spacing:.6px}.history-item:nth-child(2n):not(.history-item--head){background-color:var(--bg)}.history-item:nth-child(odd):not(.history-item--head){background-color:transparent;border:none}.date-section{justify-self:start;text-align:left;font-size:14px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.bet-section,.win-section{justify-self:center;text-align:center;font-weight:700;font-size:14px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.currency{font-weight:400;margin-left:4px;color:var(--muted);font-size:13px}.vector{width:24px;height:24px;justify-self:end;background-image:url("data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='35'%20height='21'%20viewBox='0%200%2035%2021'%20fill='none'%3e%3cpath%20d='M17.2271%2013.6183L30.3907%200.694336L34.1517%204.38692L17.2271%2021.0037L0.302734%204.38692L4.06372%200.694336L17.2271%2013.6183Z'%20fill='%23FFFBFF'/%3e%3c/svg%3e");background-size:115% 115%;background-repeat:no-repeat;background-position:center;cursor:pointer}.vector.up{transform:rotate(180deg)}@media screen and (orientation: portrait) and (max-width: 850px){.history-wrap{width:100%}.history-item{grid-template-columns:1fr 88px 88px 10px;padding:9px 10px;border-radius:6px}.date-section,.bet-section,.win-section{font-size:12px}.vector{width:15px;height:15px}}@media screen and (orientation: portrait) and (max-width: 400px){.history-wrap{width:100%}.history-item{grid-template-columns:1fr 50px 80px 10px;padding:9px 10px;border-radius:6px}.date-section,.bet-section,.win-section{font-size:12px}.vector{width:15px;height:15px}}:root{--sf-card-w: 220px;--sf-card-h: 340px;--sf-card-image-w: 200px;--sf-card-image-h: 120px;--gap: -10px;--btn-overlap: 20px;--btn-h: 37px;--bottom-row-h: 56px}.sf-wrap{width:100%;margin:0 auto;color:#fff;padding:2px;box-sizing:border-box;text-align:center;font-family:Helvetica Neue,Arial,sans-serif}.sf-section-title{font-size:34px;font-weight:900;margin:18px 0 20px;color:#fff}.sf-grid{display:grid;grid-template-columns:repeat(auto-fit,var(--sf-card-w));justify-content:center;gap:calc(var(--gap) + var(--btn-overlap));margin-bottom:36px;row-gap:40px;box-sizing:border-box}.sf-card{position:relative;width:var(--sf-card-w);height:var(--sf-card-h);background:#21212270;border:1.6px solid rgba(255,255,255,.12);border-radius:10px;box-sizing:border-box;justify-content:center;display:flex;flex-direction:column;align-items:center;transition:transform .12s ease}.sf-card__content{width:100%;display:flex;flex-direction:column;align-items:center}.sf-card__description{width:100%;height:50%;padding:10px;font-size:12px;box-sizing:border-box;flex:0 1 auto;overflow:auto}.sf-card__title{font-weight:800;width:80%;position:absolute;left:18px;right:18px;top:calc(var(--btn-overlap) - 2px);font-size:16px;color:#fff;text-transform:uppercase;line-height:1.05;text-align:center;display:flex;flex-direction:column;gap:6px;flex:0 0 auto;padding:0 6px}.sf-card__image-wrap{width:var(--sf-card-image-w);height:max-content;min-height:var(--sf-card-image-h);display:flex;align-items:center;justify-content:center;padding:10px;flex:0 0 auto;box-sizing:border-box}.sf-card__image-wrap img{max-width:100%;max-height:100%;object-fit:contain;display:block;border-radius:2px}.sf-card__bottom{position:absolute;left:8px;right:8px;bottom:calc(var(--btn-overlap) - 22px);height:var(--bottom-row-h);display:block;align-items:center;justify-content:space-between;gap:10px;box-sizing:border-box;padding:6px 8px;background:transparent;z-index:1}.sf-card__bottom.ante{display:flex}.sf-card__price{font-weight:900;font-size:17px;color:#fff;white-space:nowrap}.sf-card__toggle{width:70px;display:flex;align-items:center;justify-content:center}.sf-buy-btn{position:absolute;left:50%;transform:translate(-50%);bottom:calc(-1 * var(--btn-overlap));width:calc(100% - 10px);height:var(--btn-h);display:inline-flex;align-items:center;justify-content:center;background:linear-gradient(180deg,#f0d35c,#d4a017);color:#111;border:1px solid rgba(200,155,47,.7);padding:0 28px;border-radius:calc(var(--btn-h) / 2);font-weight:900;font-size:20px;cursor:pointer;z-index:2;box-sizing:border-box}@media screen and (max-width: 1000px) and (orientation: landscape){:root{--sf-card-w: 177px;--sf-card-h: 250px;--sf-card-image-w: 150px;--sf-card-image-h: 100px;--btn-h: 52px;--btn-overlap: 18px;--bottom-row-h: 52px}.sf-section-title{font-size:20px}.sf-card__title{font-size:10px;left:7px;right:7px}.sf-card__price{font-size:12px}.sf-buy-btn{height:calc(var(--btn-h) - 20px);font-size:18px}}@media (max-width: 750px) and (orientation: landscape){:root{--sf-card-w: 125px;--sf-card-h: 195px;--sf-card-image-w: 120px;--sf-card-image-h: 80px;--btn-h: 52px;--btn-overlap: 18px;--bottom-row-h: 52px}.sf-section-title{font-size:20px}.sf-card__price{font-size:12px}.sf-card__bottom{left:5px;right:0}.sf-card__bottom.ante .sf-card__price{font-size:9px}.sf-buy-btn{height:calc(var(--btn-h) - 20px);font-size:18px}}@media (max-width: 750px) and (orientation: portrait){:root{--sf-card-w: 125px;--sf-card-h: 195px;--sf-card-image-w: 120px;--sf-card-image-h: 80px;--btn-h: 52px;--btn-overlap: 18px;--bottom-row-h: 52px}.sf-card__title{font-size:10px;left:7px;right:7px}.sf-section-title{font-size:20px}.sf-card__price{font-size:12px}.sf-card__bottom{left:5px;right:0}.sf-card__bottom.ante .sf-card__price{font-size:9px}.sf-buy-btn{height:calc(var(--btn-h) - 20px);font-size:18px}}.dialogs-wrap{display:flex;width:35%;padding:18px 20px;flex-wrap:wrap;align-self:center;border-radius:6px;border:1.3px solid var(--300, #AEAAAF);background:var(--90080, rgba(18, 16, 18, .36));justify-self:center;justify-content:center;user-select:none;-webkit-user-select:none;-ms-user-select:none;box-sizing:border-box;gap:12px}.title{font-size:25px;font-weight:700;color:#fff;width:100%;text-align:center}.dialog-image{max-width:100%;width:120px;height:auto;display:block;margin:6px auto;border-radius:6px}.message{font-size:15px;margin-top:6px;color:#fff;width:100%;text-align:center}.additional-btns{width:100%;display:flex;gap:12px;justify-content:center;flex-wrap:wrap}.additional-btn{--fallback-bg: transparent;--fallback-color: #fff;background:var(--btn-bg, var(--fallback-bg));color:var(--btn-color, var(--fallback-color));border:2px solid rgba(255,255,255,.08);padding:10px 18px;border-radius:8px;font-weight:700;cursor:pointer;min-width:96px;box-sizing:border-box;transition:transform .08s ease,box-shadow .08s ease,filter .08s ease;display:inline-flex;align-items:center;justify-content:center}.additional-btn:hover{background:var(--btn-bg);opacity:.8}.additional-btn[style*=transparent]{background:transparent;box-shadow:none}@media screen and (orientation: portrait){.dialogs-wrap{width:85%}.title{font-size:20px}.message{font-size:14px}.additional-btn{min-width:80px;padding:8px 12px}}@media screen and (max-width: 935px) and (orientation: landscape){.dialogs-wrap{width:45%}}`)),document.head.appendChild(e)}}catch(t){console.error("vite-plugin-css-injected-by-js",t)}})();
2
- (function(w,c){typeof exports=="object"&&typeof module<"u"?c(exports,require("react/jsx-runtime"),require("react"),require("react-dom/client"),require("react-dom")):typeof define=="function"&&define.amd?define(["exports","react/jsx-runtime","react","react-dom/client","react-dom"],c):(w=typeof globalThis<"u"?globalThis:w||self,c(w.UiCore={},w.jsxRuntime,w.React,w.ReactDOMClient,w.ReactDOM))})(this,(function(w,c,m,xr,Pr){"use strict";var Br={0:"Invalid value for configuration 'enforceActions', expected 'never', 'always' or 'observed'",1:function(t,r){return"Cannot apply '"+t+"' to '"+r.toString()+"': Field not found."},5:"'keys()' can only be used on observable objects, arrays, sets and maps",6:"'values()' can only be used on observable objects, arrays, sets and maps",7:"'entries()' can only be used on observable objects, arrays and maps",8:"'set()' can only be used on observable objects, arrays and maps",9:"'remove()' can only be used on observable objects, arrays and maps",10:"'has()' can only be used on observable objects, arrays and maps",11:"'get()' can only be used on observable objects, arrays and maps",12:"Invalid annotation",13:"Dynamic observable objects cannot be frozen. If you're passing observables to 3rd party component/function that calls Object.freeze, pass copy instead: toJS(observable)",14:"Intercept handlers should return nothing or a change object",15:"Observable arrays cannot be frozen. If you're passing observables to 3rd party component/function that calls Object.freeze, pass copy instead: toJS(observable)",16:"Modification exception: the internal structure of an observable array was changed.",17:function(t,r){return"[mobx.array] Index out of bounds, "+t+" is larger than "+r},18:"mobx.map requires Map polyfill for the current browser. Check babel-polyfill or core-js/es6/map.js",19:function(t){return"Cannot initialize from classes that inherit from Map: "+t.constructor.name},20:function(t){return"Cannot initialize map from "+t},21:function(t){return"Cannot convert to map from '"+t+"'"},22:"mobx.set requires Set polyfill for the current browser. Check babel-polyfill or core-js/es6/set.js",23:"It is not possible to get index atoms from arrays",24:function(t){return"Cannot obtain administration from "+t},25:function(t,r){return"the entry '"+t+"' does not exist in the observable map '"+r+"'"},26:"please specify a property",27:function(t,r){return"no observable property '"+t.toString()+"' found on the observable object '"+r+"'"},28:function(t){return"Cannot obtain atom from "+t},29:"Expecting some object",30:"invalid action stack. did you forget to finish an action?",31:"missing option for computed: get",32:function(t,r){return"Cycle detected in computation "+t+": "+r},33:function(t){return"The setter of computed value '"+t+"' is trying to update itself. Did you intend to update an _observable_ value, instead of the computed property?"},34:function(t){return"[ComputedValue '"+t+"'] It is not possible to assign a new value to a computed value."},35:"There are multiple, different versions of MobX active. Make sure MobX is loaded only once or use `configure({ isolateGlobalState: true })`",36:"isolateGlobalState should be called before MobX is running any reactions",37:function(t){return"[mobx] `observableArray."+t+"()` mutates the array in-place, which is not allowed inside a derivation. Use `array.slice()."+t+"()` instead"},38:"'ownKeys()' can only be used on observable objects",39:"'defineProperty()' can only be used on observable objects"},Mr=process.env.NODE_ENV!=="production"?Br:{};function p(e){for(var t=arguments.length,r=new Array(t>1?t-1:0),n=1;n<t;n++)r[n-1]=arguments[n];if(process.env.NODE_ENV!=="production"){var i=typeof e=="string"?e:Mr[e];throw typeof i=="function"&&(i=i.apply(null,r)),new Error("[MobX] "+i)}throw new Error(typeof e=="number"?"[MobX] minified error nr: "+e+(r.length?" "+r.map(String).join(","):"")+". Find the full error at: https://github.com/mobxjs/mobx/blob/main/packages/mobx/src/errors.ts":"[MobX] "+e)}var kr={};function Je(){return typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:kr}var on=Object.assign,Qe=Object.getOwnPropertyDescriptor,ne=Object.defineProperty,et=Object.prototype,tt=[];Object.freeze(tt);var sn={};Object.freeze(sn);var Ir=typeof Proxy<"u",Ur=Object.toString();function an(){Ir||p(process.env.NODE_ENV!=="production"?"`Proxy` objects are not available in the current environment. Please configure MobX to enable a fallback implementation.`":"Proxy not available")}function Ie(e){process.env.NODE_ENV!=="production"&&f.verifyProxies&&p("MobX is currently configured to be able to run in ES5 mode, but in ES5 MobX won't be able to "+e)}function W(){return++f.mobxGuid}function St(e){var t=!1;return function(){if(!t)return t=!0,e.apply(this,arguments)}}var we=function(){};function S(e){return typeof e=="function"}function be(e){var t=typeof e;switch(t){case"string":case"symbol":case"number":return!0}return!1}function nt(e){return e!==null&&typeof e=="object"}function T(e){if(!nt(e))return!1;var t=Object.getPrototypeOf(e);if(t==null)return!0;var r=Object.hasOwnProperty.call(t,"constructor")&&t.constructor;return typeof r=="function"&&r.toString()===Ur}function un(e){var t=e?.constructor;return t?t.name==="GeneratorFunction"||t.displayName==="GeneratorFunction":!1}function Ue(e,t,r){ne(e,t,{enumerable:!1,writable:!0,configurable:!0,value:r})}function cn(e,t,r){ne(e,t,{enumerable:!1,writable:!1,configurable:!0,value:r})}function ge(e,t){var r="isMobX"+e;return t.prototype[r]=!0,function(n){return nt(n)&&n[r]===!0}}function De(e){return e!=null&&Object.prototype.toString.call(e)==="[object Map]"}function $r(e){var t=Object.getPrototypeOf(e),r=Object.getPrototypeOf(t),n=Object.getPrototypeOf(r);return n===null}function ae(e){return e!=null&&Object.prototype.toString.call(e)==="[object Set]"}var ln=typeof Object.getOwnPropertySymbols<"u";function Fr(e){var t=Object.keys(e);if(!ln)return t;var r=Object.getOwnPropertySymbols(e);return r.length?[].concat(t,r.filter(function(n){return et.propertyIsEnumerable.call(e,n)})):t}var Ve=typeof Reflect<"u"&&Reflect.ownKeys?Reflect.ownKeys:ln?function(e){return Object.getOwnPropertyNames(e).concat(Object.getOwnPropertySymbols(e))}:Object.getOwnPropertyNames;function Ct(e){return typeof e=="string"?e:typeof e=="symbol"?e.toString():new String(e).toString()}function fn(e){return e===null?null:typeof e=="object"?""+e:e}function F(e,t){return et.hasOwnProperty.call(e,t)}var Kr=Object.getOwnPropertyDescriptors||function(t){var r={};return Ve(t).forEach(function(n){r[n]=Qe(t,n)}),r};function x(e,t){return!!(e&t)}function P(e,t,r){return r?e|=t:e&=~t,e}function dn(e,t){(t==null||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r<t;r++)n[r]=e[r];return n}function Gr(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,Hr(n.key),n)}}function Le(e,t,r){return t&&Gr(e.prototype,t),Object.defineProperty(e,"prototype",{writable:!1}),e}function je(e,t){var r=typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(r)return(r=r.call(e)).next.bind(r);if(Array.isArray(e)||(r=Rr(e))||t){r&&(e=r);var n=0;return function(){return n>=e.length?{done:!0}:{done:!1,value:e[n++]}}}throw new TypeError(`Invalid attempt to iterate non-iterable instance.
3
- In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function ue(){return ue=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)({}).hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},ue.apply(null,arguments)}function pn(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,wt(e,t)}function wt(e,t){return wt=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(r,n){return r.__proto__=n,r},wt(e,t)}function qr(e,t){if(typeof e!="object"||!e)return e;var r=e[Symbol.toPrimitive];if(r!==void 0){var n=r.call(e,t);if(typeof n!="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}function Hr(e){var t=qr(e,"string");return typeof t=="symbol"?t:t+""}function Rr(e,t){if(e){if(typeof e=="string")return dn(e,t);var r={}.toString.call(e).slice(8,-1);return r==="Object"&&e.constructor&&(r=e.constructor.name),r==="Map"||r==="Set"?Array.from(e):r==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?dn(e,t):void 0}}var j=Symbol("mobx-stored-annotations");function re(e){function t(r,n){if(Fe(n))return e.decorate_20223_(r,n);$e(r,n,e)}return Object.assign(t,e)}function $e(e,t,r){if(F(e,j)||Ue(e,j,ue({},e[j])),process.env.NODE_ENV!=="production"&&st(r)&&!F(e[j],t)){var n=e.constructor.name+".prototype."+t.toString();p("'"+n+"' is decorated with 'override', but no such decorated member was found on prototype.")}zr(e,r,t),st(r)||(e[j][t]=r)}function zr(e,t,r){if(process.env.NODE_ENV!=="production"&&!st(t)&&F(e[j],r)){var n=e.constructor.name+".prototype."+r.toString(),i=e[j][r].annotationType_,o=t.annotationType_;p("Cannot apply '@"+o+"' to '"+n+"':"+(`
2
+ (function(w,c){typeof exports=="object"&&typeof module<"u"?c(exports,require("react/jsx-runtime"),require("react"),require("react-dom/client"),require("react-dom")):typeof define=="function"&&define.amd?define(["exports","react/jsx-runtime","react","react-dom/client","react-dom"],c):(w=typeof globalThis<"u"?globalThis:w||self,c(w.UiCore={},w.jsxRuntime,w.React,w.ReactDOMClient,w.ReactDOM))})(this,(function(w,c,m,Tr,xr){"use strict";var Pr={0:"Invalid value for configuration 'enforceActions', expected 'never', 'always' or 'observed'",1:function(t,r){return"Cannot apply '"+t+"' to '"+r.toString()+"': Field not found."},5:"'keys()' can only be used on observable objects, arrays, sets and maps",6:"'values()' can only be used on observable objects, arrays, sets and maps",7:"'entries()' can only be used on observable objects, arrays and maps",8:"'set()' can only be used on observable objects, arrays and maps",9:"'remove()' can only be used on observable objects, arrays and maps",10:"'has()' can only be used on observable objects, arrays and maps",11:"'get()' can only be used on observable objects, arrays and maps",12:"Invalid annotation",13:"Dynamic observable objects cannot be frozen. If you're passing observables to 3rd party component/function that calls Object.freeze, pass copy instead: toJS(observable)",14:"Intercept handlers should return nothing or a change object",15:"Observable arrays cannot be frozen. If you're passing observables to 3rd party component/function that calls Object.freeze, pass copy instead: toJS(observable)",16:"Modification exception: the internal structure of an observable array was changed.",17:function(t,r){return"[mobx.array] Index out of bounds, "+t+" is larger than "+r},18:"mobx.map requires Map polyfill for the current browser. Check babel-polyfill or core-js/es6/map.js",19:function(t){return"Cannot initialize from classes that inherit from Map: "+t.constructor.name},20:function(t){return"Cannot initialize map from "+t},21:function(t){return"Cannot convert to map from '"+t+"'"},22:"mobx.set requires Set polyfill for the current browser. Check babel-polyfill or core-js/es6/set.js",23:"It is not possible to get index atoms from arrays",24:function(t){return"Cannot obtain administration from "+t},25:function(t,r){return"the entry '"+t+"' does not exist in the observable map '"+r+"'"},26:"please specify a property",27:function(t,r){return"no observable property '"+t.toString()+"' found on the observable object '"+r+"'"},28:function(t){return"Cannot obtain atom from "+t},29:"Expecting some object",30:"invalid action stack. did you forget to finish an action?",31:"missing option for computed: get",32:function(t,r){return"Cycle detected in computation "+t+": "+r},33:function(t){return"The setter of computed value '"+t+"' is trying to update itself. Did you intend to update an _observable_ value, instead of the computed property?"},34:function(t){return"[ComputedValue '"+t+"'] It is not possible to assign a new value to a computed value."},35:"There are multiple, different versions of MobX active. Make sure MobX is loaded only once or use `configure({ isolateGlobalState: true })`",36:"isolateGlobalState should be called before MobX is running any reactions",37:function(t){return"[mobx] `observableArray."+t+"()` mutates the array in-place, which is not allowed inside a derivation. Use `array.slice()."+t+"()` instead"},38:"'ownKeys()' can only be used on observable objects",39:"'defineProperty()' can only be used on observable objects"},Br=process.env.NODE_ENV!=="production"?Pr:{};function p(e){for(var t=arguments.length,r=new Array(t>1?t-1:0),n=1;n<t;n++)r[n-1]=arguments[n];if(process.env.NODE_ENV!=="production"){var i=typeof e=="string"?e:Br[e];throw typeof i=="function"&&(i=i.apply(null,r)),new Error("[MobX] "+i)}throw new Error(typeof e=="number"?"[MobX] minified error nr: "+e+(r.length?" "+r.map(String).join(","):"")+". Find the full error at: https://github.com/mobxjs/mobx/blob/main/packages/mobx/src/errors.ts":"[MobX] "+e)}var Mr={};function Je(){return typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:Mr}var on=Object.assign,Qe=Object.getOwnPropertyDescriptor,ne=Object.defineProperty,et=Object.prototype,tt=[];Object.freeze(tt);var sn={};Object.freeze(sn);var kr=typeof Proxy<"u",Ir=Object.toString();function an(){kr||p(process.env.NODE_ENV!=="production"?"`Proxy` objects are not available in the current environment. Please configure MobX to enable a fallback implementation.`":"Proxy not available")}function Ie(e){process.env.NODE_ENV!=="production"&&f.verifyProxies&&p("MobX is currently configured to be able to run in ES5 mode, but in ES5 MobX won't be able to "+e)}function W(){return++f.mobxGuid}function St(e){var t=!1;return function(){if(!t)return t=!0,e.apply(this,arguments)}}var we=function(){};function S(e){return typeof e=="function"}function be(e){var t=typeof e;switch(t){case"string":case"symbol":case"number":return!0}return!1}function nt(e){return e!==null&&typeof e=="object"}function T(e){if(!nt(e))return!1;var t=Object.getPrototypeOf(e);if(t==null)return!0;var r=Object.hasOwnProperty.call(t,"constructor")&&t.constructor;return typeof r=="function"&&r.toString()===Ir}function un(e){var t=e?.constructor;return t?t.name==="GeneratorFunction"||t.displayName==="GeneratorFunction":!1}function Ue(e,t,r){ne(e,t,{enumerable:!1,writable:!0,configurable:!0,value:r})}function cn(e,t,r){ne(e,t,{enumerable:!1,writable:!1,configurable:!0,value:r})}function ge(e,t){var r="isMobX"+e;return t.prototype[r]=!0,function(n){return nt(n)&&n[r]===!0}}function De(e){return e!=null&&Object.prototype.toString.call(e)==="[object Map]"}function Ur(e){var t=Object.getPrototypeOf(e),r=Object.getPrototypeOf(t),n=Object.getPrototypeOf(r);return n===null}function ae(e){return e!=null&&Object.prototype.toString.call(e)==="[object Set]"}var ln=typeof Object.getOwnPropertySymbols<"u";function $r(e){var t=Object.keys(e);if(!ln)return t;var r=Object.getOwnPropertySymbols(e);return r.length?[].concat(t,r.filter(function(n){return et.propertyIsEnumerable.call(e,n)})):t}var Ve=typeof Reflect<"u"&&Reflect.ownKeys?Reflect.ownKeys:ln?function(e){return Object.getOwnPropertyNames(e).concat(Object.getOwnPropertySymbols(e))}:Object.getOwnPropertyNames;function Ct(e){return typeof e=="string"?e:typeof e=="symbol"?e.toString():new String(e).toString()}function fn(e){return e===null?null:typeof e=="object"?""+e:e}function F(e,t){return et.hasOwnProperty.call(e,t)}var Fr=Object.getOwnPropertyDescriptors||function(t){var r={};return Ve(t).forEach(function(n){r[n]=Qe(t,n)}),r};function x(e,t){return!!(e&t)}function P(e,t,r){return r?e|=t:e&=~t,e}function dn(e,t){(t==null||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r<t;r++)n[r]=e[r];return n}function Kr(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,qr(n.key),n)}}function Le(e,t,r){return t&&Kr(e.prototype,t),Object.defineProperty(e,"prototype",{writable:!1}),e}function je(e,t){var r=typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(r)return(r=r.call(e)).next.bind(r);if(Array.isArray(e)||(r=Hr(e))||t){r&&(e=r);var n=0;return function(){return n>=e.length?{done:!0}:{done:!1,value:e[n++]}}}throw new TypeError(`Invalid attempt to iterate non-iterable instance.
3
+ In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function ue(){return ue=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)({}).hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},ue.apply(null,arguments)}function pn(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,wt(e,t)}function wt(e,t){return wt=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(r,n){return r.__proto__=n,r},wt(e,t)}function Gr(e,t){if(typeof e!="object"||!e)return e;var r=e[Symbol.toPrimitive];if(r!==void 0){var n=r.call(e,t);if(typeof n!="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}function qr(e){var t=Gr(e,"string");return typeof t=="symbol"?t:t+""}function Hr(e,t){if(e){if(typeof e=="string")return dn(e,t);var r={}.toString.call(e).slice(8,-1);return r==="Object"&&e.constructor&&(r=e.constructor.name),r==="Map"||r==="Set"?Array.from(e):r==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?dn(e,t):void 0}}var j=Symbol("mobx-stored-annotations");function re(e){function t(r,n){if(Fe(n))return e.decorate_20223_(r,n);$e(r,n,e)}return Object.assign(t,e)}function $e(e,t,r){if(F(e,j)||Ue(e,j,ue({},e[j])),process.env.NODE_ENV!=="production"&&st(r)&&!F(e[j],t)){var n=e.constructor.name+".prototype."+t.toString();p("'"+n+"' is decorated with 'override', but no such decorated member was found on prototype.")}Rr(e,r,t),st(r)||(e[j][t]=r)}function Rr(e,t,r){if(process.env.NODE_ENV!=="production"&&!st(t)&&F(e[j],r)){var n=e.constructor.name+".prototype."+r.toString(),i=e[j][r].annotationType_,o=t.annotationType_;p("Cannot apply '@"+o+"' to '"+n+"':"+(`
4
4
  The field is already decorated with '@`+i+"'.")+`
5
5
  Re-decorating fields is not allowed.
6
- Use '@override' decorator for methods overridden by subclass.`)}}function Wr(e){return F(e,j)||Ue(e,j,ue({},e[j])),e[j]}function Fe(e){return typeof e=="object"&&typeof e.kind=="string"}function rt(e,t){process.env.NODE_ENV!=="production"&&!t.includes(e.kind)&&p("The decorator applied to '"+String(e.name)+"' cannot be used on a "+e.kind+" element")}var _=Symbol("mobx administration"),de=(function(){function e(r){r===void 0&&(r=process.env.NODE_ENV!=="production"?"Atom@"+W():"Atom"),this.name_=void 0,this.flags_=0,this.observers_=new Set,this.lastAccessedBy_=0,this.lowestObserverState_=y.NOT_TRACKING_,this.onBOL=void 0,this.onBUOL=void 0,this.name_=r}var t=e.prototype;return t.onBO=function(){this.onBOL&&this.onBOL.forEach(function(n){return n()})},t.onBUO=function(){this.onBUOL&&this.onBUOL.forEach(function(n){return n()})},t.reportObserved=function(){return Tn(this)},t.reportChanged=function(){q(),xn(this),H()},t.toString=function(){return this.name_},Le(e,[{key:"isBeingObserved",get:function(){return x(this.flags_,e.isBeingObservedMask_)},set:function(n){this.flags_=P(this.flags_,e.isBeingObservedMask_,n)}},{key:"isPendingUnobservation",get:function(){return x(this.flags_,e.isPendingUnobservationMask_)},set:function(n){this.flags_=P(this.flags_,e.isPendingUnobservationMask_,n)}},{key:"diffValue",get:function(){return x(this.flags_,e.diffValueMask_)?1:0},set:function(n){this.flags_=P(this.flags_,e.diffValueMask_,n===1)}}])})();de.isBeingObservedMask_=1,de.isPendingUnobservationMask_=2,de.diffValueMask_=4;var Dt=ge("Atom",de);function vn(e,t,r){t===void 0&&(t=we),r===void 0&&(r=we);var n=new de(e);return t!==we&&so(n,t),r!==we&&$n(n,r),n}function Zr(e,t){return cr(e,t)}function Xr(e,t){return Object.is?Object.is(e,t):e===t?e!==0||1/e===1/t:e!==e&&t!==t}var it={structural:Zr,default:Xr};function me(e,t,r){return Re(e)?e:Array.isArray(e)?D.array(e,{name:r}):T(e)?D.object(e,void 0,{name:r}):De(e)?D.map(e,{name:r}):ae(e)?D.set(e,{name:r}):typeof e=="function"&&!xe(e)&&!He(e)?un(e)?Pe(e):qe(r,e):e}function Yr(e,t,r){if(e==null||Be(e)||yt(e)||he(e)||oe(e))return e;if(Array.isArray(e))return D.array(e,{name:r,deep:!1});if(T(e))return D.object(e,void 0,{name:r,deep:!1});if(De(e))return D.map(e,{name:r,deep:!1});if(ae(e))return D.set(e,{name:r,deep:!1});process.env.NODE_ENV!=="production"&&p("The shallow modifier / decorator can only used in combination with arrays, objects, maps and sets")}function ot(e){return e}function Jr(e,t){return process.env.NODE_ENV!=="production"&&Re(e)&&p("observable.struct should not be used with observable values"),cr(e,t)?t:e}var Qr="override";function st(e){return e.annotationType_===Qr}function Ke(e,t){return{annotationType_:e,options_:t,make_:ei,extend_:ti,decorate_20223_:ni}}function ei(e,t,r,n){var i;if((i=this.options_)!=null&&i.bound)return this.extend_(e,t,r,!1)===null?0:1;if(n===e.target_)return this.extend_(e,t,r,!1)===null?0:2;if(xe(r.value))return 1;var o=hn(e,this,t,r,!1);return ne(n,t,o),2}function ti(e,t,r,n){var i=hn(e,this,t,r);return e.defineProperty_(t,i,n)}function ni(e,t){process.env.NODE_ENV!=="production"&&rt(t,["method","field"]);var r=t.kind,n=t.name,i=t.addInitializer,o=this,s=function(l){var d,v,h,b;return ye((d=(v=o.options_)==null?void 0:v.name)!=null?d:n.toString(),l,(h=(b=o.options_)==null?void 0:b.autoAction)!=null?h:!1)};if(r=="field")return function(u){var l,d=u;return xe(d)||(d=s(d)),(l=o.options_)!=null&&l.bound&&(d=d.bind(this),d.isMobxAction=!0),d};if(r=="method"){var a;return xe(e)||(e=s(e)),(a=this.options_)!=null&&a.bound&&i(function(){var u=this,l=u[n].bind(u);l.isMobxAction=!0,u[n]=l}),e}p("Cannot apply '"+o.annotationType_+"' to '"+String(n)+"' (kind: "+r+"):"+(`
7
- '`+o.annotationType_+"' can only be used on properties with a function value."))}function ri(e,t,r,n){var i=t.annotationType_,o=n.value;process.env.NODE_ENV!=="production"&&!S(o)&&p("Cannot apply '"+i+"' to '"+e.name_+"."+r.toString()+"':"+(`
8
- '`+i+"' can only be used on properties with a function value."))}function hn(e,t,r,n,i){var o,s,a,u,l,d,v;i===void 0&&(i=f.safeDescriptors),ri(e,t,r,n);var h=n.value;if((o=t.options_)!=null&&o.bound){var b;h=h.bind((b=e.proxy_)!=null?b:e.target_)}return{value:ye((s=(a=t.options_)==null?void 0:a.name)!=null?s:r.toString(),h,(u=(l=t.options_)==null?void 0:l.autoAction)!=null?u:!1,(d=t.options_)!=null&&d.bound?(v=e.proxy_)!=null?v:e.target_:void 0),configurable:i?e.isPlainObject_:!0,enumerable:!1,writable:!i}}function _n(e,t){return{annotationType_:e,options_:t,make_:ii,extend_:oi,decorate_20223_:si}}function ii(e,t,r,n){var i;if(n===e.target_)return this.extend_(e,t,r,!1)===null?0:2;if((i=this.options_)!=null&&i.bound&&(!F(e.target_,t)||!He(e.target_[t]))&&this.extend_(e,t,r,!1)===null)return 0;if(He(r.value))return 1;var o=bn(e,this,t,r,!1,!1);return ne(n,t,o),2}function oi(e,t,r,n){var i,o=bn(e,this,t,r,(i=this.options_)==null?void 0:i.bound);return e.defineProperty_(t,o,n)}function si(e,t){var r;process.env.NODE_ENV!=="production"&&rt(t,["method"]);var n=t.name,i=t.addInitializer;return He(e)||(e=Pe(e)),(r=this.options_)!=null&&r.bound&&i(function(){var o=this,s=o[n].bind(o);s.isMobXFlow=!0,o[n]=s}),e}function ai(e,t,r,n){var i=t.annotationType_,o=n.value;process.env.NODE_ENV!=="production"&&!S(o)&&p("Cannot apply '"+i+"' to '"+e.name_+"."+r.toString()+"':"+(`
9
- '`+i+"' can only be used on properties with a generator function value."))}function bn(e,t,r,n,i,o){o===void 0&&(o=f.safeDescriptors),ai(e,t,r,n);var s=n.value;if(He(s)||(s=Pe(s)),i){var a;s=s.bind((a=e.proxy_)!=null?a:e.target_),s.isMobXFlow=!0}return{value:s,configurable:o?e.isPlainObject_:!0,enumerable:!1,writable:!o}}function Vt(e,t){return{annotationType_:e,options_:t,make_:ui,extend_:ci,decorate_20223_:li}}function ui(e,t,r){return this.extend_(e,t,r,!1)===null?0:1}function ci(e,t,r,n){return fi(e,this,t,r),e.defineComputedProperty_(t,ue({},this.options_,{get:r.get,set:r.set}),n)}function li(e,t){process.env.NODE_ENV!=="production"&&rt(t,["getter"]);var r=this,n=t.name,i=t.addInitializer;return i(function(){var o=Se(this)[_],s=ue({},r.options_,{get:e,context:this});s.name||(s.name=process.env.NODE_ENV!=="production"?o.name_+"."+n.toString():"ObservableObject."+n.toString()),o.values_.set(n,new K(s))}),function(){return this[_].getObservablePropValue_(n)}}function fi(e,t,r,n){var i=t.annotationType_,o=n.get;process.env.NODE_ENV!=="production"&&!o&&p("Cannot apply '"+i+"' to '"+e.name_+"."+r.toString()+"':"+(`
10
- '`+i+"' can only be used on getter(+setter) properties."))}function at(e,t){return{annotationType_:e,options_:t,make_:di,extend_:pi,decorate_20223_:vi}}function di(e,t,r){return this.extend_(e,t,r,!1)===null?0:1}function pi(e,t,r,n){var i,o;return hi(e,this,t,r),e.defineObservableProperty_(t,r.value,(i=(o=this.options_)==null?void 0:o.enhancer)!=null?i:me,n)}function vi(e,t){if(process.env.NODE_ENV!=="production"){if(t.kind==="field")throw p("Please use `@observable accessor "+String(t.name)+"` instead of `@observable "+String(t.name)+"`");rt(t,["accessor"])}var r=this,n=t.kind,i=t.name,o=new WeakSet;function s(a,u){var l,d,v=Se(a)[_],h=new Oe(u,(l=(d=r.options_)==null?void 0:d.enhancer)!=null?l:me,process.env.NODE_ENV!=="production"?v.name_+"."+i.toString():"ObservableObject."+i.toString(),!1);v.values_.set(i,h),o.add(a)}if(n=="accessor")return{get:function(){return o.has(this)||s(this,e.get.call(this)),this[_].getObservablePropValue_(i)},set:function(u){return o.has(this)||s(this,u),this[_].setObservablePropValue_(i,u)},init:function(u){return o.has(this)||s(this,u),u}}}function hi(e,t,r,n){var i=t.annotationType_;process.env.NODE_ENV!=="production"&&!("value"in n)&&p("Cannot apply '"+i+"' to '"+e.name_+"."+r.toString()+"':"+(`
11
- '`+i+"' cannot be used on getter/setter properties"))}var _i="true",bi=gn();function gn(e){return{annotationType_:_i,options_:e,make_:gi,extend_:mi,decorate_20223_:yi}}function gi(e,t,r,n){var i,o;if(r.get)return lt.make_(e,t,r,n);if(r.set){var s=ye(t.toString(),r.set);return n===e.target_?e.defineProperty_(t,{configurable:f.safeDescriptors?e.isPlainObject_:!0,set:s})===null?0:2:(ne(n,t,{configurable:!0,set:s}),2)}if(n!==e.target_&&typeof r.value=="function"){var a;if(un(r.value)){var u,l=(u=this.options_)!=null&&u.autoBind?Pe.bound:Pe;return l.make_(e,t,r,n)}var d=(a=this.options_)!=null&&a.autoBind?qe.bound:qe;return d.make_(e,t,r,n)}var v=((i=this.options_)==null?void 0:i.deep)===!1?D.ref:D;if(typeof r.value=="function"&&(o=this.options_)!=null&&o.autoBind){var h;r.value=r.value.bind((h=e.proxy_)!=null?h:e.target_)}return v.make_(e,t,r,n)}function mi(e,t,r,n){var i,o;if(r.get)return lt.extend_(e,t,r,n);if(r.set)return e.defineProperty_(t,{configurable:f.safeDescriptors?e.isPlainObject_:!0,set:ye(t.toString(),r.set)},n);if(typeof r.value=="function"&&(i=this.options_)!=null&&i.autoBind){var s;r.value=r.value.bind((s=e.proxy_)!=null?s:e.target_)}var a=((o=this.options_)==null?void 0:o.deep)===!1?D.ref:D;return a.extend_(e,t,r,n)}function yi(e,t){p("'"+this.annotationType_+"' cannot be used as a decorator")}var Oi="observable",Ei="observable.ref",Ni="observable.shallow",Ai="observable.struct",mn={deep:!0,name:void 0,defaultDecorator:void 0,proxy:!0};Object.freeze(mn);function ut(e){return e||mn}var Lt=at(Oi),Si=at(Ei,{enhancer:ot}),Ci=at(Ni,{enhancer:Yr}),wi=at(Ai,{enhancer:Jr}),yn=re(Lt);function ct(e){return e.deep===!0?me:e.deep===!1?ot:Vi(e.defaultDecorator)}function Di(e){var t;return e?(t=e.defaultDecorator)!=null?t:gn(e):void 0}function Vi(e){var t,r;return e&&(t=(r=e.options_)==null?void 0:r.enhancer)!=null?t:me}function On(e,t,r){if(Fe(t))return Lt.decorate_20223_(e,t);if(be(t)){$e(e,t,Lt);return}return Re(e)?e:T(e)?D.object(e,t,r):Array.isArray(e)?D.array(e,t):De(e)?D.map(e,t):ae(e)?D.set(e,t):typeof e=="object"&&e!==null?e:D.box(e,t)}on(On,yn);var Li={box:function(t,r){var n=ut(r);return new Oe(t,ct(n),n.name,!0,n.equals)},array:function(t,r){var n=ut(r);return(f.useProxies===!1||n.proxy===!1?To:Eo)(t,ct(n),n.name)},map:function(t,r){var n=ut(r);return new Zn(t,ct(n),n.name)},set:function(t,r){var n=ut(r);return new Yn(t,ct(n),n.name)},object:function(t,r,n){return _e(function(){return Kn(f.useProxies===!1||n?.proxy===!1?Se({},n):go({},n),t,r)})},ref:re(Si),shallow:re(Ci),deep:yn,struct:re(wi)},D=on(On,Li),En="computed",ji="computed.struct",jt=Vt(En),Ti=Vt(ji,{equals:it.structural}),lt=function(t,r){if(Fe(r))return jt.decorate_20223_(t,r);if(be(r))return $e(t,r,jt);if(T(t))return re(Vt(En,t));process.env.NODE_ENV!=="production"&&(S(t)||p("First argument to `computed` should be an expression."),S(r)&&p("A setter as second argument is no longer supported, use `{ set: fn }` option instead"));var n=T(r)?r:{};return n.get=t,n.name||(n.name=t.name||""),new K(n)};Object.assign(lt,jt),lt.struct=re(Ti);var Nn,An,ft=0,xi=1,Pi=(Nn=(An=Qe(function(){},"name"))==null?void 0:An.configurable)!=null?Nn:!1,Sn={value:"action",configurable:!0,writable:!1,enumerable:!1};function ye(e,t,r,n){r===void 0&&(r=!1),process.env.NODE_ENV!=="production"&&(S(t)||p("`action` can only be invoked on functions"),(typeof e!="string"||!e)&&p("actions should have valid names, got: '"+e+"'"));function i(){return Bi(e,r,t,n||this,arguments)}return i.isMobxAction=!0,i.toString=function(){return t.toString()},Pi&&(Sn.value=e,ne(i,"name",Sn)),i}function Bi(e,t,r,n,i){var o=Mi(e,t,n,i);try{return r.apply(n,i)}catch(s){throw o.error_=s,s}finally{ki(o)}}function Mi(e,t,r,n){var i=process.env.NODE_ENV!=="production"&&V()&&!!e,o=0;if(process.env.NODE_ENV!=="production"&&i){o=Date.now();var s=n?Array.from(n):tt;B({type:It,name:e,object:r,arguments:s})}var a=f.trackingDerivation,u=!t||!a;q();var l=f.allowStateChanges;u&&(Ee(),l=Tt(!0));var d=Mt(!0),v={runAsAction_:u,prevDerivation_:a,prevAllowStateChanges_:l,prevAllowStateReads_:d,notifySpy_:i,startTime_:o,actionId_:xi++,parentActionId_:ft};return ft=v.actionId_,v}function ki(e){ft!==e.actionId_&&p(30),ft=e.parentActionId_,e.error_!==void 0&&(f.suppressReactionErrors=!0),xt(e.prevAllowStateChanges_),Ge(e.prevAllowStateReads_),H(),e.runAsAction_&&ce(e.prevDerivation_),process.env.NODE_ENV!=="production"&&e.notifySpy_&&M({time:Date.now()-e.startTime_}),f.suppressReactionErrors=!1}function Tt(e){var t=f.allowStateChanges;return f.allowStateChanges=e,t}function xt(e){f.allowStateChanges=e}var Ii="create",Oe=(function(e){function t(n,i,o,s,a){var u;return o===void 0&&(o=process.env.NODE_ENV!=="production"?"ObservableValue@"+W():"ObservableValue"),s===void 0&&(s=!0),a===void 0&&(a=it.default),u=e.call(this,o)||this,u.enhancer=void 0,u.name_=void 0,u.equals=void 0,u.hasUnreportedChange_=!1,u.interceptors_=void 0,u.changeListeners_=void 0,u.value_=void 0,u.dehancer=void 0,u.enhancer=i,u.name_=o,u.equals=a,u.value_=i(n,void 0,o),process.env.NODE_ENV!=="production"&&s&&V()&&Ne({type:Ii,object:u,observableKind:"value",debugObjectName:u.name_,newValue:""+u.value_}),u}pn(t,e);var r=t.prototype;return r.dehanceValue=function(i){return this.dehancer!==void 0?this.dehancer(i):i},r.set=function(i){var o=this.value_;if(i=this.prepareNewValue_(i),i!==f.UNCHANGED){var s=V();process.env.NODE_ENV!=="production"&&s&&B({type:Y,object:this,observableKind:"value",debugObjectName:this.name_,newValue:i,oldValue:o}),this.setNewValue_(i),process.env.NODE_ENV!=="production"&&s&&M()}},r.prepareNewValue_=function(i){if(ie(this),R(this)){var o=z(this,{object:this,type:Y,newValue:i});if(!o)return f.UNCHANGED;i=o.newValue}return i=this.enhancer(i,this.value_,this.name_),this.equals(this.value_,i)?f.UNCHANGED:i},r.setNewValue_=function(i){var o=this.value_;this.value_=i,this.reportChanged(),Z(this)&&X(this,{type:Y,object:this,newValue:i,oldValue:o})},r.get=function(){return this.reportObserved(),this.dehanceValue(this.value_)},r.intercept_=function(i){return ze(this,i)},r.observe_=function(i,o){return o&&i({observableKind:"value",debugObjectName:this.name_,object:this,type:Y,newValue:this.value_,oldValue:void 0}),We(this,i)},r.raw=function(){return this.value_},r.toJSON=function(){return this.get()},r.toString=function(){return this.name_+"["+this.value_+"]"},r.valueOf=function(){return fn(this.get())},r[Symbol.toPrimitive]=function(){return this.valueOf()},t})(de),K=(function(){function e(r){this.dependenciesState_=y.NOT_TRACKING_,this.observing_=[],this.newObserving_=null,this.observers_=new Set,this.runId_=0,this.lastAccessedBy_=0,this.lowestObserverState_=y.UP_TO_DATE_,this.unboundDepsCount_=0,this.value_=new pt(null),this.name_=void 0,this.triggeredBy_=void 0,this.flags_=0,this.derivation=void 0,this.setter_=void 0,this.isTracing_=G.NONE,this.scope_=void 0,this.equals_=void 0,this.requiresReaction_=void 0,this.keepAlive_=void 0,this.onBOL=void 0,this.onBUOL=void 0,r.get||p(31),this.derivation=r.get,this.name_=r.name||(process.env.NODE_ENV!=="production"?"ComputedValue@"+W():"ComputedValue"),r.set&&(this.setter_=ye(process.env.NODE_ENV!=="production"?this.name_+"-setter":"ComputedValue-setter",r.set)),this.equals_=r.equals||(r.compareStructural||r.struct?it.structural:it.default),this.scope_=r.context,this.requiresReaction_=r.requiresReaction,this.keepAlive_=!!r.keepAlive}var t=e.prototype;return t.onBecomeStale_=function(){Hi(this)},t.onBO=function(){this.onBOL&&this.onBOL.forEach(function(n){return n()})},t.onBUO=function(){this.onBUOL&&this.onBUOL.forEach(function(n){return n()})},t.get=function(){if(this.isComputing&&p(32,this.name_,this.derivation),f.inBatch===0&&this.observers_.size===0&&!this.keepAlive_)Pt(this)&&(this.warnAboutUntrackedRead_(),q(),this.value_=this.computeValue_(!1),H());else if(Tn(this),Pt(this)){var n=f.trackingContext;this.keepAlive_&&!n&&(f.trackingContext=this),this.trackAndCompute()&&qi(this),f.trackingContext=n}var i=this.value_;if(vt(i))throw i.cause;return i},t.set=function(n){if(this.setter_){this.isRunningSetter&&p(33,this.name_),this.isRunningSetter=!0;try{this.setter_.call(this.scope_,n)}finally{this.isRunningSetter=!1}}else p(34,this.name_)},t.trackAndCompute=function(){var n=this.value_,i=this.dependenciesState_===y.NOT_TRACKING_,o=this.computeValue_(!0),s=i||vt(n)||vt(o)||!this.equals_(n,o);return s&&(this.value_=o,process.env.NODE_ENV!=="production"&&V()&&Ne({observableKind:"computed",debugObjectName:this.name_,object:this.scope_,type:"update",oldValue:n,newValue:o})),s},t.computeValue_=function(n){this.isComputing=!0;var i=Tt(!1),o;if(n)o=Cn(this,this.derivation,this.scope_);else if(f.disableErrorBoundaries===!0)o=this.derivation.call(this.scope_);else try{o=this.derivation.call(this.scope_)}catch(s){o=new pt(s)}return xt(i),this.isComputing=!1,o},t.suspend_=function(){this.keepAlive_||(Bt(this),this.value_=void 0,process.env.NODE_ENV!=="production"&&this.isTracing_!==G.NONE&&console.log("[mobx.trace] Computed value '"+this.name_+"' was suspended and it will recompute on the next access."))},t.observe_=function(n,i){var o=this,s=!0,a=void 0;return to(function(){var u=o.get();if(!s||i){var l=Ee();n({observableKind:"computed",debugObjectName:o.name_,type:Y,object:o,newValue:u,oldValue:a}),ce(l)}s=!1,a=u})},t.warnAboutUntrackedRead_=function(){process.env.NODE_ENV!=="production"&&(this.isTracing_!==G.NONE&&console.log("[mobx.trace] Computed value '"+this.name_+"' is being read outside a reactive context. Doing a full recompute."),(typeof this.requiresReaction_=="boolean"?this.requiresReaction_:f.computedRequiresReaction)&&console.warn("[mobx] Computed value '"+this.name_+"' is being read outside a reactive context. Doing a full recompute."))},t.toString=function(){return this.name_+"["+this.derivation.toString()+"]"},t.valueOf=function(){return fn(this.get())},t[Symbol.toPrimitive]=function(){return this.valueOf()},Le(e,[{key:"isComputing",get:function(){return x(this.flags_,e.isComputingMask_)},set:function(n){this.flags_=P(this.flags_,e.isComputingMask_,n)}},{key:"isRunningSetter",get:function(){return x(this.flags_,e.isRunningSetterMask_)},set:function(n){this.flags_=P(this.flags_,e.isRunningSetterMask_,n)}},{key:"isBeingObserved",get:function(){return x(this.flags_,e.isBeingObservedMask_)},set:function(n){this.flags_=P(this.flags_,e.isBeingObservedMask_,n)}},{key:"isPendingUnobservation",get:function(){return x(this.flags_,e.isPendingUnobservationMask_)},set:function(n){this.flags_=P(this.flags_,e.isPendingUnobservationMask_,n)}},{key:"diffValue",get:function(){return x(this.flags_,e.diffValueMask_)?1:0},set:function(n){this.flags_=P(this.flags_,e.diffValueMask_,n===1)}}])})();K.isComputingMask_=1,K.isRunningSetterMask_=2,K.isBeingObservedMask_=4,K.isPendingUnobservationMask_=8,K.diffValueMask_=16;var dt=ge("ComputedValue",K),y;(function(e){e[e.NOT_TRACKING_=-1]="NOT_TRACKING_",e[e.UP_TO_DATE_=0]="UP_TO_DATE_",e[e.POSSIBLY_STALE_=1]="POSSIBLY_STALE_",e[e.STALE_=2]="STALE_"})(y||(y={}));var G;(function(e){e[e.NONE=0]="NONE",e[e.LOG=1]="LOG",e[e.BREAK=2]="BREAK"})(G||(G={}));var pt=function(t){this.cause=void 0,this.cause=t};function vt(e){return e instanceof pt}function Pt(e){switch(e.dependenciesState_){case y.UP_TO_DATE_:return!1;case y.NOT_TRACKING_:case y.STALE_:return!0;case y.POSSIBLY_STALE_:{for(var t=Mt(!0),r=Ee(),n=e.observing_,i=n.length,o=0;o<i;o++){var s=n[o];if(dt(s)){if(f.disableErrorBoundaries)s.get();else try{s.get()}catch{return ce(r),Ge(t),!0}if(e.dependenciesState_===y.STALE_)return ce(r),Ge(t),!0}}return Dn(e),ce(r),Ge(t),!1}}}function ie(e){if(process.env.NODE_ENV!=="production"){var t=e.observers_.size>0;!f.allowStateChanges&&(t||f.enforceActions==="always")&&console.warn("[MobX] "+(f.enforceActions?"Since strict-mode is enabled, changing (observed) observable values without using an action is not allowed. Tried to modify: ":"Side effects like changing state are not allowed at this point. Are you trying to modify state from, for example, a computed value or the render function of a React component? You can wrap side effects in 'runInAction' (or decorate functions with 'action') if needed. Tried to modify: ")+e.name_)}}function Ui(e){process.env.NODE_ENV!=="production"&&!f.allowStateReads&&f.observableRequiresReaction&&console.warn("[mobx] Observable '"+e.name_+"' being read outside a reactive context.")}function Cn(e,t,r){var n=Mt(!0);Dn(e),e.newObserving_=new Array(e.runId_===0?100:e.observing_.length),e.unboundDepsCount_=0,e.runId_=++f.runId;var i=f.trackingDerivation;f.trackingDerivation=e,f.inBatch++;var o;if(f.disableErrorBoundaries===!0)o=t.call(r);else try{o=t.call(r)}catch(s){o=new pt(s)}return f.inBatch--,f.trackingDerivation=i,Fi(e),$i(e),Ge(n),o}function $i(e){process.env.NODE_ENV!=="production"&&e.observing_.length===0&&(typeof e.requiresObservable_=="boolean"?e.requiresObservable_:f.reactionRequiresObservable)&&console.warn("[mobx] Derivation '"+e.name_+"' is created/updated without reading any observable value.")}function Fi(e){for(var t=e.observing_,r=e.observing_=e.newObserving_,n=y.UP_TO_DATE_,i=0,o=e.unboundDepsCount_,s=0;s<o;s++){var a=r[s];a.diffValue===0&&(a.diffValue=1,i!==s&&(r[i]=a),i++),a.dependenciesState_>n&&(n=a.dependenciesState_)}for(r.length=i,e.newObserving_=null,o=t.length;o--;){var u=t[o];u.diffValue===0&&Ln(u,e),u.diffValue=0}for(;i--;){var l=r[i];l.diffValue===1&&(l.diffValue=0,Gi(l,e))}n!==y.UP_TO_DATE_&&(e.dependenciesState_=n,e.onBecomeStale_())}function Bt(e){var t=e.observing_;e.observing_=[];for(var r=t.length;r--;)Ln(t[r],e);e.dependenciesState_=y.NOT_TRACKING_}function wn(e){var t=Ee();try{return e()}finally{ce(t)}}function Ee(){var e=f.trackingDerivation;return f.trackingDerivation=null,e}function ce(e){f.trackingDerivation=e}function Mt(e){var t=f.allowStateReads;return f.allowStateReads=e,t}function Ge(e){f.allowStateReads=e}function Dn(e){if(e.dependenciesState_!==y.UP_TO_DATE_){e.dependenciesState_=y.UP_TO_DATE_;for(var t=e.observing_,r=t.length;r--;)t[r].lowestObserverState_=y.UP_TO_DATE_}}var ht=function(){this.version=6,this.UNCHANGED={},this.trackingDerivation=null,this.trackingContext=null,this.runId=0,this.mobxGuid=0,this.inBatch=0,this.pendingUnobservations=[],this.pendingReactions=[],this.isRunningReactions=!1,this.allowStateChanges=!1,this.allowStateReads=!0,this.enforceActions=!0,this.spyListeners=[],this.globalReactionErrorHandlers=[],this.computedRequiresReaction=!1,this.reactionRequiresObservable=!1,this.observableRequiresReaction=!1,this.disableErrorBoundaries=!1,this.suppressReactionErrors=!1,this.useProxies=!0,this.verifyProxies=!1,this.safeDescriptors=!0},_t=!0,Vn=!1,f=(function(){var e=Je();return e.__mobxInstanceCount>0&&!e.__mobxGlobals&&(_t=!1),e.__mobxGlobals&&e.__mobxGlobals.version!==new ht().version&&(_t=!1),_t?e.__mobxGlobals?(e.__mobxInstanceCount+=1,e.__mobxGlobals.UNCHANGED||(e.__mobxGlobals.UNCHANGED={}),e.__mobxGlobals):(e.__mobxInstanceCount=1,e.__mobxGlobals=new ht):(setTimeout(function(){Vn||p(35)},1),new ht)})();function Ki(){if((f.pendingReactions.length||f.inBatch||f.isRunningReactions)&&p(36),Vn=!0,_t){var e=Je();--e.__mobxInstanceCount===0&&(e.__mobxGlobals=void 0),f=new ht}}function Gi(e,t){e.observers_.add(t),e.lowestObserverState_>t.dependenciesState_&&(e.lowestObserverState_=t.dependenciesState_)}function Ln(e,t){e.observers_.delete(t),e.observers_.size===0&&jn(e)}function jn(e){e.isPendingUnobservation===!1&&(e.isPendingUnobservation=!0,f.pendingUnobservations.push(e))}function q(){f.inBatch++}function H(){if(--f.inBatch===0){kn();for(var e=f.pendingUnobservations,t=0;t<e.length;t++){var r=e[t];r.isPendingUnobservation=!1,r.observers_.size===0&&(r.isBeingObserved&&(r.isBeingObserved=!1,r.onBUO()),r instanceof K&&r.suspend_())}f.pendingUnobservations=[]}}function Tn(e){Ui(e);var t=f.trackingDerivation;return t!==null?(t.runId_!==e.lastAccessedBy_&&(e.lastAccessedBy_=t.runId_,t.newObserving_[t.unboundDepsCount_++]=e,!e.isBeingObserved&&f.trackingContext&&(e.isBeingObserved=!0,e.onBO())),e.isBeingObserved):(e.observers_.size===0&&f.inBatch>0&&jn(e),!1)}function xn(e){e.lowestObserverState_!==y.STALE_&&(e.lowestObserverState_=y.STALE_,e.observers_.forEach(function(t){t.dependenciesState_===y.UP_TO_DATE_&&(process.env.NODE_ENV!=="production"&&t.isTracing_!==G.NONE&&Pn(t,e),t.onBecomeStale_()),t.dependenciesState_=y.STALE_}))}function qi(e){e.lowestObserverState_!==y.STALE_&&(e.lowestObserverState_=y.STALE_,e.observers_.forEach(function(t){t.dependenciesState_===y.POSSIBLY_STALE_?(t.dependenciesState_=y.STALE_,process.env.NODE_ENV!=="production"&&t.isTracing_!==G.NONE&&Pn(t,e)):t.dependenciesState_===y.UP_TO_DATE_&&(e.lowestObserverState_=y.UP_TO_DATE_)}))}function Hi(e){e.lowestObserverState_===y.UP_TO_DATE_&&(e.lowestObserverState_=y.POSSIBLY_STALE_,e.observers_.forEach(function(t){t.dependenciesState_===y.UP_TO_DATE_&&(t.dependenciesState_=y.POSSIBLY_STALE_,t.onBecomeStale_())}))}function Pn(e,t){if(console.log("[mobx.trace] '"+e.name_+"' is invalidated due to a change in: '"+t.name_+"'"),e.isTracing_===G.BREAK){var r=[];Bn(Gn(e),r,1),new Function(`debugger;
6
+ Use '@override' decorator for methods overridden by subclass.`)}}function zr(e){return F(e,j)||Ue(e,j,ue({},e[j])),e[j]}function Fe(e){return typeof e=="object"&&typeof e.kind=="string"}function rt(e,t){process.env.NODE_ENV!=="production"&&!t.includes(e.kind)&&p("The decorator applied to '"+String(e.name)+"' cannot be used on a "+e.kind+" element")}var _=Symbol("mobx administration"),de=(function(){function e(r){r===void 0&&(r=process.env.NODE_ENV!=="production"?"Atom@"+W():"Atom"),this.name_=void 0,this.flags_=0,this.observers_=new Set,this.lastAccessedBy_=0,this.lowestObserverState_=y.NOT_TRACKING_,this.onBOL=void 0,this.onBUOL=void 0,this.name_=r}var t=e.prototype;return t.onBO=function(){this.onBOL&&this.onBOL.forEach(function(n){return n()})},t.onBUO=function(){this.onBUOL&&this.onBUOL.forEach(function(n){return n()})},t.reportObserved=function(){return Tn(this)},t.reportChanged=function(){q(),xn(this),H()},t.toString=function(){return this.name_},Le(e,[{key:"isBeingObserved",get:function(){return x(this.flags_,e.isBeingObservedMask_)},set:function(n){this.flags_=P(this.flags_,e.isBeingObservedMask_,n)}},{key:"isPendingUnobservation",get:function(){return x(this.flags_,e.isPendingUnobservationMask_)},set:function(n){this.flags_=P(this.flags_,e.isPendingUnobservationMask_,n)}},{key:"diffValue",get:function(){return x(this.flags_,e.diffValueMask_)?1:0},set:function(n){this.flags_=P(this.flags_,e.diffValueMask_,n===1)}}])})();de.isBeingObservedMask_=1,de.isPendingUnobservationMask_=2,de.diffValueMask_=4;var Dt=ge("Atom",de);function vn(e,t,r){t===void 0&&(t=we),r===void 0&&(r=we);var n=new de(e);return t!==we&&oo(n,t),r!==we&&$n(n,r),n}function Wr(e,t){return cr(e,t)}function Zr(e,t){return Object.is?Object.is(e,t):e===t?e!==0||1/e===1/t:e!==e&&t!==t}var it={structural:Wr,default:Zr};function me(e,t,r){return Re(e)?e:Array.isArray(e)?D.array(e,{name:r}):T(e)?D.object(e,void 0,{name:r}):De(e)?D.map(e,{name:r}):ae(e)?D.set(e,{name:r}):typeof e=="function"&&!xe(e)&&!He(e)?un(e)?Pe(e):qe(r,e):e}function Xr(e,t,r){if(e==null||Be(e)||yt(e)||he(e)||oe(e))return e;if(Array.isArray(e))return D.array(e,{name:r,deep:!1});if(T(e))return D.object(e,void 0,{name:r,deep:!1});if(De(e))return D.map(e,{name:r,deep:!1});if(ae(e))return D.set(e,{name:r,deep:!1});process.env.NODE_ENV!=="production"&&p("The shallow modifier / decorator can only used in combination with arrays, objects, maps and sets")}function ot(e){return e}function Yr(e,t){return process.env.NODE_ENV!=="production"&&Re(e)&&p("observable.struct should not be used with observable values"),cr(e,t)?t:e}var Jr="override";function st(e){return e.annotationType_===Jr}function Ke(e,t){return{annotationType_:e,options_:t,make_:Qr,extend_:ei,decorate_20223_:ti}}function Qr(e,t,r,n){var i;if((i=this.options_)!=null&&i.bound)return this.extend_(e,t,r,!1)===null?0:1;if(n===e.target_)return this.extend_(e,t,r,!1)===null?0:2;if(xe(r.value))return 1;var o=hn(e,this,t,r,!1);return ne(n,t,o),2}function ei(e,t,r,n){var i=hn(e,this,t,r);return e.defineProperty_(t,i,n)}function ti(e,t){process.env.NODE_ENV!=="production"&&rt(t,["method","field"]);var r=t.kind,n=t.name,i=t.addInitializer,o=this,s=function(l){var d,v,h,b;return ye((d=(v=o.options_)==null?void 0:v.name)!=null?d:n.toString(),l,(h=(b=o.options_)==null?void 0:b.autoAction)!=null?h:!1)};if(r=="field")return function(u){var l,d=u;return xe(d)||(d=s(d)),(l=o.options_)!=null&&l.bound&&(d=d.bind(this),d.isMobxAction=!0),d};if(r=="method"){var a;return xe(e)||(e=s(e)),(a=this.options_)!=null&&a.bound&&i(function(){var u=this,l=u[n].bind(u);l.isMobxAction=!0,u[n]=l}),e}p("Cannot apply '"+o.annotationType_+"' to '"+String(n)+"' (kind: "+r+"):"+(`
7
+ '`+o.annotationType_+"' can only be used on properties with a function value."))}function ni(e,t,r,n){var i=t.annotationType_,o=n.value;process.env.NODE_ENV!=="production"&&!S(o)&&p("Cannot apply '"+i+"' to '"+e.name_+"."+r.toString()+"':"+(`
8
+ '`+i+"' can only be used on properties with a function value."))}function hn(e,t,r,n,i){var o,s,a,u,l,d,v;i===void 0&&(i=f.safeDescriptors),ni(e,t,r,n);var h=n.value;if((o=t.options_)!=null&&o.bound){var b;h=h.bind((b=e.proxy_)!=null?b:e.target_)}return{value:ye((s=(a=t.options_)==null?void 0:a.name)!=null?s:r.toString(),h,(u=(l=t.options_)==null?void 0:l.autoAction)!=null?u:!1,(d=t.options_)!=null&&d.bound?(v=e.proxy_)!=null?v:e.target_:void 0),configurable:i?e.isPlainObject_:!0,enumerable:!1,writable:!i}}function _n(e,t){return{annotationType_:e,options_:t,make_:ri,extend_:ii,decorate_20223_:oi}}function ri(e,t,r,n){var i;if(n===e.target_)return this.extend_(e,t,r,!1)===null?0:2;if((i=this.options_)!=null&&i.bound&&(!F(e.target_,t)||!He(e.target_[t]))&&this.extend_(e,t,r,!1)===null)return 0;if(He(r.value))return 1;var o=bn(e,this,t,r,!1,!1);return ne(n,t,o),2}function ii(e,t,r,n){var i,o=bn(e,this,t,r,(i=this.options_)==null?void 0:i.bound);return e.defineProperty_(t,o,n)}function oi(e,t){var r;process.env.NODE_ENV!=="production"&&rt(t,["method"]);var n=t.name,i=t.addInitializer;return He(e)||(e=Pe(e)),(r=this.options_)!=null&&r.bound&&i(function(){var o=this,s=o[n].bind(o);s.isMobXFlow=!0,o[n]=s}),e}function si(e,t,r,n){var i=t.annotationType_,o=n.value;process.env.NODE_ENV!=="production"&&!S(o)&&p("Cannot apply '"+i+"' to '"+e.name_+"."+r.toString()+"':"+(`
9
+ '`+i+"' can only be used on properties with a generator function value."))}function bn(e,t,r,n,i,o){o===void 0&&(o=f.safeDescriptors),si(e,t,r,n);var s=n.value;if(He(s)||(s=Pe(s)),i){var a;s=s.bind((a=e.proxy_)!=null?a:e.target_),s.isMobXFlow=!0}return{value:s,configurable:o?e.isPlainObject_:!0,enumerable:!1,writable:!o}}function Vt(e,t){return{annotationType_:e,options_:t,make_:ai,extend_:ui,decorate_20223_:ci}}function ai(e,t,r){return this.extend_(e,t,r,!1)===null?0:1}function ui(e,t,r,n){return li(e,this,t,r),e.defineComputedProperty_(t,ue({},this.options_,{get:r.get,set:r.set}),n)}function ci(e,t){process.env.NODE_ENV!=="production"&&rt(t,["getter"]);var r=this,n=t.name,i=t.addInitializer;return i(function(){var o=Se(this)[_],s=ue({},r.options_,{get:e,context:this});s.name||(s.name=process.env.NODE_ENV!=="production"?o.name_+"."+n.toString():"ObservableObject."+n.toString()),o.values_.set(n,new K(s))}),function(){return this[_].getObservablePropValue_(n)}}function li(e,t,r,n){var i=t.annotationType_,o=n.get;process.env.NODE_ENV!=="production"&&!o&&p("Cannot apply '"+i+"' to '"+e.name_+"."+r.toString()+"':"+(`
10
+ '`+i+"' can only be used on getter(+setter) properties."))}function at(e,t){return{annotationType_:e,options_:t,make_:fi,extend_:di,decorate_20223_:pi}}function fi(e,t,r){return this.extend_(e,t,r,!1)===null?0:1}function di(e,t,r,n){var i,o;return vi(e,this,t,r),e.defineObservableProperty_(t,r.value,(i=(o=this.options_)==null?void 0:o.enhancer)!=null?i:me,n)}function pi(e,t){if(process.env.NODE_ENV!=="production"){if(t.kind==="field")throw p("Please use `@observable accessor "+String(t.name)+"` instead of `@observable "+String(t.name)+"`");rt(t,["accessor"])}var r=this,n=t.kind,i=t.name,o=new WeakSet;function s(a,u){var l,d,v=Se(a)[_],h=new Oe(u,(l=(d=r.options_)==null?void 0:d.enhancer)!=null?l:me,process.env.NODE_ENV!=="production"?v.name_+"."+i.toString():"ObservableObject."+i.toString(),!1);v.values_.set(i,h),o.add(a)}if(n=="accessor")return{get:function(){return o.has(this)||s(this,e.get.call(this)),this[_].getObservablePropValue_(i)},set:function(u){return o.has(this)||s(this,u),this[_].setObservablePropValue_(i,u)},init:function(u){return o.has(this)||s(this,u),u}}}function vi(e,t,r,n){var i=t.annotationType_;process.env.NODE_ENV!=="production"&&!("value"in n)&&p("Cannot apply '"+i+"' to '"+e.name_+"."+r.toString()+"':"+(`
11
+ '`+i+"' cannot be used on getter/setter properties"))}var hi="true",_i=gn();function gn(e){return{annotationType_:hi,options_:e,make_:bi,extend_:gi,decorate_20223_:mi}}function bi(e,t,r,n){var i,o;if(r.get)return lt.make_(e,t,r,n);if(r.set){var s=ye(t.toString(),r.set);return n===e.target_?e.defineProperty_(t,{configurable:f.safeDescriptors?e.isPlainObject_:!0,set:s})===null?0:2:(ne(n,t,{configurable:!0,set:s}),2)}if(n!==e.target_&&typeof r.value=="function"){var a;if(un(r.value)){var u,l=(u=this.options_)!=null&&u.autoBind?Pe.bound:Pe;return l.make_(e,t,r,n)}var d=(a=this.options_)!=null&&a.autoBind?qe.bound:qe;return d.make_(e,t,r,n)}var v=((i=this.options_)==null?void 0:i.deep)===!1?D.ref:D;if(typeof r.value=="function"&&(o=this.options_)!=null&&o.autoBind){var h;r.value=r.value.bind((h=e.proxy_)!=null?h:e.target_)}return v.make_(e,t,r,n)}function gi(e,t,r,n){var i,o;if(r.get)return lt.extend_(e,t,r,n);if(r.set)return e.defineProperty_(t,{configurable:f.safeDescriptors?e.isPlainObject_:!0,set:ye(t.toString(),r.set)},n);if(typeof r.value=="function"&&(i=this.options_)!=null&&i.autoBind){var s;r.value=r.value.bind((s=e.proxy_)!=null?s:e.target_)}var a=((o=this.options_)==null?void 0:o.deep)===!1?D.ref:D;return a.extend_(e,t,r,n)}function mi(e,t){p("'"+this.annotationType_+"' cannot be used as a decorator")}var yi="observable",Oi="observable.ref",Ei="observable.shallow",Ni="observable.struct",mn={deep:!0,name:void 0,defaultDecorator:void 0,proxy:!0};Object.freeze(mn);function ut(e){return e||mn}var Lt=at(yi),Ai=at(Oi,{enhancer:ot}),Si=at(Ei,{enhancer:Xr}),Ci=at(Ni,{enhancer:Yr}),yn=re(Lt);function ct(e){return e.deep===!0?me:e.deep===!1?ot:Di(e.defaultDecorator)}function wi(e){var t;return e?(t=e.defaultDecorator)!=null?t:gn(e):void 0}function Di(e){var t,r;return e&&(t=(r=e.options_)==null?void 0:r.enhancer)!=null?t:me}function On(e,t,r){if(Fe(t))return Lt.decorate_20223_(e,t);if(be(t)){$e(e,t,Lt);return}return Re(e)?e:T(e)?D.object(e,t,r):Array.isArray(e)?D.array(e,t):De(e)?D.map(e,t):ae(e)?D.set(e,t):typeof e=="object"&&e!==null?e:D.box(e,t)}on(On,yn);var Vi={box:function(t,r){var n=ut(r);return new Oe(t,ct(n),n.name,!0,n.equals)},array:function(t,r){var n=ut(r);return(f.useProxies===!1||n.proxy===!1?jo:Oo)(t,ct(n),n.name)},map:function(t,r){var n=ut(r);return new Zn(t,ct(n),n.name)},set:function(t,r){var n=ut(r);return new Yn(t,ct(n),n.name)},object:function(t,r,n){return _e(function(){return Kn(f.useProxies===!1||n?.proxy===!1?Se({},n):bo({},n),t,r)})},ref:re(Ai),shallow:re(Si),deep:yn,struct:re(Ci)},D=on(On,Vi),En="computed",Li="computed.struct",jt=Vt(En),ji=Vt(Li,{equals:it.structural}),lt=function(t,r){if(Fe(r))return jt.decorate_20223_(t,r);if(be(r))return $e(t,r,jt);if(T(t))return re(Vt(En,t));process.env.NODE_ENV!=="production"&&(S(t)||p("First argument to `computed` should be an expression."),S(r)&&p("A setter as second argument is no longer supported, use `{ set: fn }` option instead"));var n=T(r)?r:{};return n.get=t,n.name||(n.name=t.name||""),new K(n)};Object.assign(lt,jt),lt.struct=re(ji);var Nn,An,ft=0,Ti=1,xi=(Nn=(An=Qe(function(){},"name"))==null?void 0:An.configurable)!=null?Nn:!1,Sn={value:"action",configurable:!0,writable:!1,enumerable:!1};function ye(e,t,r,n){r===void 0&&(r=!1),process.env.NODE_ENV!=="production"&&(S(t)||p("`action` can only be invoked on functions"),(typeof e!="string"||!e)&&p("actions should have valid names, got: '"+e+"'"));function i(){return Pi(e,r,t,n||this,arguments)}return i.isMobxAction=!0,i.toString=function(){return t.toString()},xi&&(Sn.value=e,ne(i,"name",Sn)),i}function Pi(e,t,r,n,i){var o=Bi(e,t,n,i);try{return r.apply(n,i)}catch(s){throw o.error_=s,s}finally{Mi(o)}}function Bi(e,t,r,n){var i=process.env.NODE_ENV!=="production"&&V()&&!!e,o=0;if(process.env.NODE_ENV!=="production"&&i){o=Date.now();var s=n?Array.from(n):tt;B({type:It,name:e,object:r,arguments:s})}var a=f.trackingDerivation,u=!t||!a;q();var l=f.allowStateChanges;u&&(Ee(),l=Tt(!0));var d=Mt(!0),v={runAsAction_:u,prevDerivation_:a,prevAllowStateChanges_:l,prevAllowStateReads_:d,notifySpy_:i,startTime_:o,actionId_:Ti++,parentActionId_:ft};return ft=v.actionId_,v}function Mi(e){ft!==e.actionId_&&p(30),ft=e.parentActionId_,e.error_!==void 0&&(f.suppressReactionErrors=!0),xt(e.prevAllowStateChanges_),Ge(e.prevAllowStateReads_),H(),e.runAsAction_&&ce(e.prevDerivation_),process.env.NODE_ENV!=="production"&&e.notifySpy_&&M({time:Date.now()-e.startTime_}),f.suppressReactionErrors=!1}function Tt(e){var t=f.allowStateChanges;return f.allowStateChanges=e,t}function xt(e){f.allowStateChanges=e}var ki="create",Oe=(function(e){function t(n,i,o,s,a){var u;return o===void 0&&(o=process.env.NODE_ENV!=="production"?"ObservableValue@"+W():"ObservableValue"),s===void 0&&(s=!0),a===void 0&&(a=it.default),u=e.call(this,o)||this,u.enhancer=void 0,u.name_=void 0,u.equals=void 0,u.hasUnreportedChange_=!1,u.interceptors_=void 0,u.changeListeners_=void 0,u.value_=void 0,u.dehancer=void 0,u.enhancer=i,u.name_=o,u.equals=a,u.value_=i(n,void 0,o),process.env.NODE_ENV!=="production"&&s&&V()&&Ne({type:ki,object:u,observableKind:"value",debugObjectName:u.name_,newValue:""+u.value_}),u}pn(t,e);var r=t.prototype;return r.dehanceValue=function(i){return this.dehancer!==void 0?this.dehancer(i):i},r.set=function(i){var o=this.value_;if(i=this.prepareNewValue_(i),i!==f.UNCHANGED){var s=V();process.env.NODE_ENV!=="production"&&s&&B({type:Y,object:this,observableKind:"value",debugObjectName:this.name_,newValue:i,oldValue:o}),this.setNewValue_(i),process.env.NODE_ENV!=="production"&&s&&M()}},r.prepareNewValue_=function(i){if(ie(this),R(this)){var o=z(this,{object:this,type:Y,newValue:i});if(!o)return f.UNCHANGED;i=o.newValue}return i=this.enhancer(i,this.value_,this.name_),this.equals(this.value_,i)?f.UNCHANGED:i},r.setNewValue_=function(i){var o=this.value_;this.value_=i,this.reportChanged(),Z(this)&&X(this,{type:Y,object:this,newValue:i,oldValue:o})},r.get=function(){return this.reportObserved(),this.dehanceValue(this.value_)},r.intercept_=function(i){return ze(this,i)},r.observe_=function(i,o){return o&&i({observableKind:"value",debugObjectName:this.name_,object:this,type:Y,newValue:this.value_,oldValue:void 0}),We(this,i)},r.raw=function(){return this.value_},r.toJSON=function(){return this.get()},r.toString=function(){return this.name_+"["+this.value_+"]"},r.valueOf=function(){return fn(this.get())},r[Symbol.toPrimitive]=function(){return this.valueOf()},t})(de),K=(function(){function e(r){this.dependenciesState_=y.NOT_TRACKING_,this.observing_=[],this.newObserving_=null,this.observers_=new Set,this.runId_=0,this.lastAccessedBy_=0,this.lowestObserverState_=y.UP_TO_DATE_,this.unboundDepsCount_=0,this.value_=new pt(null),this.name_=void 0,this.triggeredBy_=void 0,this.flags_=0,this.derivation=void 0,this.setter_=void 0,this.isTracing_=G.NONE,this.scope_=void 0,this.equals_=void 0,this.requiresReaction_=void 0,this.keepAlive_=void 0,this.onBOL=void 0,this.onBUOL=void 0,r.get||p(31),this.derivation=r.get,this.name_=r.name||(process.env.NODE_ENV!=="production"?"ComputedValue@"+W():"ComputedValue"),r.set&&(this.setter_=ye(process.env.NODE_ENV!=="production"?this.name_+"-setter":"ComputedValue-setter",r.set)),this.equals_=r.equals||(r.compareStructural||r.struct?it.structural:it.default),this.scope_=r.context,this.requiresReaction_=r.requiresReaction,this.keepAlive_=!!r.keepAlive}var t=e.prototype;return t.onBecomeStale_=function(){qi(this)},t.onBO=function(){this.onBOL&&this.onBOL.forEach(function(n){return n()})},t.onBUO=function(){this.onBUOL&&this.onBUOL.forEach(function(n){return n()})},t.get=function(){if(this.isComputing&&p(32,this.name_,this.derivation),f.inBatch===0&&this.observers_.size===0&&!this.keepAlive_)Pt(this)&&(this.warnAboutUntrackedRead_(),q(),this.value_=this.computeValue_(!1),H());else if(Tn(this),Pt(this)){var n=f.trackingContext;this.keepAlive_&&!n&&(f.trackingContext=this),this.trackAndCompute()&&Gi(this),f.trackingContext=n}var i=this.value_;if(vt(i))throw i.cause;return i},t.set=function(n){if(this.setter_){this.isRunningSetter&&p(33,this.name_),this.isRunningSetter=!0;try{this.setter_.call(this.scope_,n)}finally{this.isRunningSetter=!1}}else p(34,this.name_)},t.trackAndCompute=function(){var n=this.value_,i=this.dependenciesState_===y.NOT_TRACKING_,o=this.computeValue_(!0),s=i||vt(n)||vt(o)||!this.equals_(n,o);return s&&(this.value_=o,process.env.NODE_ENV!=="production"&&V()&&Ne({observableKind:"computed",debugObjectName:this.name_,object:this.scope_,type:"update",oldValue:n,newValue:o})),s},t.computeValue_=function(n){this.isComputing=!0;var i=Tt(!1),o;if(n)o=Cn(this,this.derivation,this.scope_);else if(f.disableErrorBoundaries===!0)o=this.derivation.call(this.scope_);else try{o=this.derivation.call(this.scope_)}catch(s){o=new pt(s)}return xt(i),this.isComputing=!1,o},t.suspend_=function(){this.keepAlive_||(Bt(this),this.value_=void 0,process.env.NODE_ENV!=="production"&&this.isTracing_!==G.NONE&&console.log("[mobx.trace] Computed value '"+this.name_+"' was suspended and it will recompute on the next access."))},t.observe_=function(n,i){var o=this,s=!0,a=void 0;return eo(function(){var u=o.get();if(!s||i){var l=Ee();n({observableKind:"computed",debugObjectName:o.name_,type:Y,object:o,newValue:u,oldValue:a}),ce(l)}s=!1,a=u})},t.warnAboutUntrackedRead_=function(){process.env.NODE_ENV!=="production"&&(this.isTracing_!==G.NONE&&console.log("[mobx.trace] Computed value '"+this.name_+"' is being read outside a reactive context. Doing a full recompute."),(typeof this.requiresReaction_=="boolean"?this.requiresReaction_:f.computedRequiresReaction)&&console.warn("[mobx] Computed value '"+this.name_+"' is being read outside a reactive context. Doing a full recompute."))},t.toString=function(){return this.name_+"["+this.derivation.toString()+"]"},t.valueOf=function(){return fn(this.get())},t[Symbol.toPrimitive]=function(){return this.valueOf()},Le(e,[{key:"isComputing",get:function(){return x(this.flags_,e.isComputingMask_)},set:function(n){this.flags_=P(this.flags_,e.isComputingMask_,n)}},{key:"isRunningSetter",get:function(){return x(this.flags_,e.isRunningSetterMask_)},set:function(n){this.flags_=P(this.flags_,e.isRunningSetterMask_,n)}},{key:"isBeingObserved",get:function(){return x(this.flags_,e.isBeingObservedMask_)},set:function(n){this.flags_=P(this.flags_,e.isBeingObservedMask_,n)}},{key:"isPendingUnobservation",get:function(){return x(this.flags_,e.isPendingUnobservationMask_)},set:function(n){this.flags_=P(this.flags_,e.isPendingUnobservationMask_,n)}},{key:"diffValue",get:function(){return x(this.flags_,e.diffValueMask_)?1:0},set:function(n){this.flags_=P(this.flags_,e.diffValueMask_,n===1)}}])})();K.isComputingMask_=1,K.isRunningSetterMask_=2,K.isBeingObservedMask_=4,K.isPendingUnobservationMask_=8,K.diffValueMask_=16;var dt=ge("ComputedValue",K),y;(function(e){e[e.NOT_TRACKING_=-1]="NOT_TRACKING_",e[e.UP_TO_DATE_=0]="UP_TO_DATE_",e[e.POSSIBLY_STALE_=1]="POSSIBLY_STALE_",e[e.STALE_=2]="STALE_"})(y||(y={}));var G;(function(e){e[e.NONE=0]="NONE",e[e.LOG=1]="LOG",e[e.BREAK=2]="BREAK"})(G||(G={}));var pt=function(t){this.cause=void 0,this.cause=t};function vt(e){return e instanceof pt}function Pt(e){switch(e.dependenciesState_){case y.UP_TO_DATE_:return!1;case y.NOT_TRACKING_:case y.STALE_:return!0;case y.POSSIBLY_STALE_:{for(var t=Mt(!0),r=Ee(),n=e.observing_,i=n.length,o=0;o<i;o++){var s=n[o];if(dt(s)){if(f.disableErrorBoundaries)s.get();else try{s.get()}catch{return ce(r),Ge(t),!0}if(e.dependenciesState_===y.STALE_)return ce(r),Ge(t),!0}}return Dn(e),ce(r),Ge(t),!1}}}function ie(e){if(process.env.NODE_ENV!=="production"){var t=e.observers_.size>0;!f.allowStateChanges&&(t||f.enforceActions==="always")&&console.warn("[MobX] "+(f.enforceActions?"Since strict-mode is enabled, changing (observed) observable values without using an action is not allowed. Tried to modify: ":"Side effects like changing state are not allowed at this point. Are you trying to modify state from, for example, a computed value or the render function of a React component? You can wrap side effects in 'runInAction' (or decorate functions with 'action') if needed. Tried to modify: ")+e.name_)}}function Ii(e){process.env.NODE_ENV!=="production"&&!f.allowStateReads&&f.observableRequiresReaction&&console.warn("[mobx] Observable '"+e.name_+"' being read outside a reactive context.")}function Cn(e,t,r){var n=Mt(!0);Dn(e),e.newObserving_=new Array(e.runId_===0?100:e.observing_.length),e.unboundDepsCount_=0,e.runId_=++f.runId;var i=f.trackingDerivation;f.trackingDerivation=e,f.inBatch++;var o;if(f.disableErrorBoundaries===!0)o=t.call(r);else try{o=t.call(r)}catch(s){o=new pt(s)}return f.inBatch--,f.trackingDerivation=i,$i(e),Ui(e),Ge(n),o}function Ui(e){process.env.NODE_ENV!=="production"&&e.observing_.length===0&&(typeof e.requiresObservable_=="boolean"?e.requiresObservable_:f.reactionRequiresObservable)&&console.warn("[mobx] Derivation '"+e.name_+"' is created/updated without reading any observable value.")}function $i(e){for(var t=e.observing_,r=e.observing_=e.newObserving_,n=y.UP_TO_DATE_,i=0,o=e.unboundDepsCount_,s=0;s<o;s++){var a=r[s];a.diffValue===0&&(a.diffValue=1,i!==s&&(r[i]=a),i++),a.dependenciesState_>n&&(n=a.dependenciesState_)}for(r.length=i,e.newObserving_=null,o=t.length;o--;){var u=t[o];u.diffValue===0&&Ln(u,e),u.diffValue=0}for(;i--;){var l=r[i];l.diffValue===1&&(l.diffValue=0,Ki(l,e))}n!==y.UP_TO_DATE_&&(e.dependenciesState_=n,e.onBecomeStale_())}function Bt(e){var t=e.observing_;e.observing_=[];for(var r=t.length;r--;)Ln(t[r],e);e.dependenciesState_=y.NOT_TRACKING_}function wn(e){var t=Ee();try{return e()}finally{ce(t)}}function Ee(){var e=f.trackingDerivation;return f.trackingDerivation=null,e}function ce(e){f.trackingDerivation=e}function Mt(e){var t=f.allowStateReads;return f.allowStateReads=e,t}function Ge(e){f.allowStateReads=e}function Dn(e){if(e.dependenciesState_!==y.UP_TO_DATE_){e.dependenciesState_=y.UP_TO_DATE_;for(var t=e.observing_,r=t.length;r--;)t[r].lowestObserverState_=y.UP_TO_DATE_}}var ht=function(){this.version=6,this.UNCHANGED={},this.trackingDerivation=null,this.trackingContext=null,this.runId=0,this.mobxGuid=0,this.inBatch=0,this.pendingUnobservations=[],this.pendingReactions=[],this.isRunningReactions=!1,this.allowStateChanges=!1,this.allowStateReads=!0,this.enforceActions=!0,this.spyListeners=[],this.globalReactionErrorHandlers=[],this.computedRequiresReaction=!1,this.reactionRequiresObservable=!1,this.observableRequiresReaction=!1,this.disableErrorBoundaries=!1,this.suppressReactionErrors=!1,this.useProxies=!0,this.verifyProxies=!1,this.safeDescriptors=!0},_t=!0,Vn=!1,f=(function(){var e=Je();return e.__mobxInstanceCount>0&&!e.__mobxGlobals&&(_t=!1),e.__mobxGlobals&&e.__mobxGlobals.version!==new ht().version&&(_t=!1),_t?e.__mobxGlobals?(e.__mobxInstanceCount+=1,e.__mobxGlobals.UNCHANGED||(e.__mobxGlobals.UNCHANGED={}),e.__mobxGlobals):(e.__mobxInstanceCount=1,e.__mobxGlobals=new ht):(setTimeout(function(){Vn||p(35)},1),new ht)})();function Fi(){if((f.pendingReactions.length||f.inBatch||f.isRunningReactions)&&p(36),Vn=!0,_t){var e=Je();--e.__mobxInstanceCount===0&&(e.__mobxGlobals=void 0),f=new ht}}function Ki(e,t){e.observers_.add(t),e.lowestObserverState_>t.dependenciesState_&&(e.lowestObserverState_=t.dependenciesState_)}function Ln(e,t){e.observers_.delete(t),e.observers_.size===0&&jn(e)}function jn(e){e.isPendingUnobservation===!1&&(e.isPendingUnobservation=!0,f.pendingUnobservations.push(e))}function q(){f.inBatch++}function H(){if(--f.inBatch===0){kn();for(var e=f.pendingUnobservations,t=0;t<e.length;t++){var r=e[t];r.isPendingUnobservation=!1,r.observers_.size===0&&(r.isBeingObserved&&(r.isBeingObserved=!1,r.onBUO()),r instanceof K&&r.suspend_())}f.pendingUnobservations=[]}}function Tn(e){Ii(e);var t=f.trackingDerivation;return t!==null?(t.runId_!==e.lastAccessedBy_&&(e.lastAccessedBy_=t.runId_,t.newObserving_[t.unboundDepsCount_++]=e,!e.isBeingObserved&&f.trackingContext&&(e.isBeingObserved=!0,e.onBO())),e.isBeingObserved):(e.observers_.size===0&&f.inBatch>0&&jn(e),!1)}function xn(e){e.lowestObserverState_!==y.STALE_&&(e.lowestObserverState_=y.STALE_,e.observers_.forEach(function(t){t.dependenciesState_===y.UP_TO_DATE_&&(process.env.NODE_ENV!=="production"&&t.isTracing_!==G.NONE&&Pn(t,e),t.onBecomeStale_()),t.dependenciesState_=y.STALE_}))}function Gi(e){e.lowestObserverState_!==y.STALE_&&(e.lowestObserverState_=y.STALE_,e.observers_.forEach(function(t){t.dependenciesState_===y.POSSIBLY_STALE_?(t.dependenciesState_=y.STALE_,process.env.NODE_ENV!=="production"&&t.isTracing_!==G.NONE&&Pn(t,e)):t.dependenciesState_===y.UP_TO_DATE_&&(e.lowestObserverState_=y.UP_TO_DATE_)}))}function qi(e){e.lowestObserverState_===y.UP_TO_DATE_&&(e.lowestObserverState_=y.POSSIBLY_STALE_,e.observers_.forEach(function(t){t.dependenciesState_===y.UP_TO_DATE_&&(t.dependenciesState_=y.POSSIBLY_STALE_,t.onBecomeStale_())}))}function Pn(e,t){if(console.log("[mobx.trace] '"+e.name_+"' is invalidated due to a change in: '"+t.name_+"'"),e.isTracing_===G.BREAK){var r=[];Bn(Gn(e),r,1),new Function(`debugger;
12
12
  /*
13
13
  Tracing '`+e.name_+`'
14
14
 
@@ -23,12 +23,12 @@ The dependencies for this derivation are:
23
23
  `+r.join(`
24
24
  `)+`
25
25
  */
26
- `)()}}function Bn(e,t,r){if(t.length>=1e3){t.push("(and many more)");return}t.push(""+" ".repeat(r-1)+e.name),e.dependencies&&e.dependencies.forEach(function(n){return Bn(n,t,r+1)})}var le=(function(){function e(r,n,i,o){r===void 0&&(r=process.env.NODE_ENV!=="production"?"Reaction@"+W():"Reaction"),this.name_=void 0,this.onInvalidate_=void 0,this.errorHandler_=void 0,this.requiresObservable_=void 0,this.observing_=[],this.newObserving_=[],this.dependenciesState_=y.NOT_TRACKING_,this.runId_=0,this.unboundDepsCount_=0,this.flags_=0,this.isTracing_=G.NONE,this.name_=r,this.onInvalidate_=n,this.errorHandler_=i,this.requiresObservable_=o}var t=e.prototype;return t.onBecomeStale_=function(){this.schedule_()},t.schedule_=function(){this.isScheduled||(this.isScheduled=!0,f.pendingReactions.push(this),kn())},t.runReaction_=function(){if(!this.isDisposed){q(),this.isScheduled=!1;var n=f.trackingContext;if(f.trackingContext=this,Pt(this)){this.isTrackPending=!0;try{this.onInvalidate_(),process.env.NODE_ENV!=="production"&&this.isTrackPending&&V()&&Ne({name:this.name_,type:"scheduled-reaction"})}catch(i){this.reportExceptionInDerivation_(i)}}f.trackingContext=n,H()}},t.track=function(n){if(!this.isDisposed){q();var i=V(),o;process.env.NODE_ENV!=="production"&&i&&(o=Date.now(),B({name:this.name_,type:"reaction"})),this.isRunning=!0;var s=f.trackingContext;f.trackingContext=this;var a=Cn(this,n,void 0);f.trackingContext=s,this.isRunning=!1,this.isTrackPending=!1,this.isDisposed&&Bt(this),vt(a)&&this.reportExceptionInDerivation_(a.cause),process.env.NODE_ENV!=="production"&&i&&M({time:Date.now()-o}),H()}},t.reportExceptionInDerivation_=function(n){var i=this;if(this.errorHandler_){this.errorHandler_(n,this);return}if(f.disableErrorBoundaries)throw n;var o=process.env.NODE_ENV!=="production"?"[mobx] Encountered an uncaught exception that was thrown by a reaction or observer component, in: '"+this+"'":"[mobx] uncaught error in '"+this+"'";f.suppressReactionErrors?process.env.NODE_ENV!=="production"&&console.warn("[mobx] (error in reaction '"+this.name_+"' suppressed, fix error of causing action below)"):console.error(o,n),process.env.NODE_ENV!=="production"&&V()&&Ne({type:"error",name:this.name_,message:o,error:""+n}),f.globalReactionErrorHandlers.forEach(function(s){return s(n,i)})},t.dispose=function(){this.isDisposed||(this.isDisposed=!0,this.isRunning||(q(),Bt(this),H()))},t.getDisposer_=function(n){var i=this,o=function s(){i.dispose(),n==null||n.removeEventListener==null||n.removeEventListener("abort",s)};return n==null||n.addEventListener==null||n.addEventListener("abort",o),o[_]=this,o},t.toString=function(){return"Reaction["+this.name_+"]"},t.trace=function(n){n===void 0&&(n=!1),ho(this,n)},Le(e,[{key:"isDisposed",get:function(){return x(this.flags_,e.isDisposedMask_)},set:function(n){this.flags_=P(this.flags_,e.isDisposedMask_,n)}},{key:"isScheduled",get:function(){return x(this.flags_,e.isScheduledMask_)},set:function(n){this.flags_=P(this.flags_,e.isScheduledMask_,n)}},{key:"isTrackPending",get:function(){return x(this.flags_,e.isTrackPendingMask_)},set:function(n){this.flags_=P(this.flags_,e.isTrackPendingMask_,n)}},{key:"isRunning",get:function(){return x(this.flags_,e.isRunningMask_)},set:function(n){this.flags_=P(this.flags_,e.isRunningMask_,n)}},{key:"diffValue",get:function(){return x(this.flags_,e.diffValueMask_)?1:0},set:function(n){this.flags_=P(this.flags_,e.diffValueMask_,n===1)}}])})();le.isDisposedMask_=1,le.isScheduledMask_=2,le.isTrackPendingMask_=4,le.isRunningMask_=8,le.diffValueMask_=16;var Mn=100,kt=function(t){return t()};function kn(){f.inBatch>0||f.isRunningReactions||kt(Ri)}function Ri(){f.isRunningReactions=!0;for(var e=f.pendingReactions,t=0;e.length>0;){++t===Mn&&(console.error(process.env.NODE_ENV!=="production"?"Reaction doesn't converge to a stable state after "+Mn+" iterations."+(" Probably there is a cycle in the reactive function: "+e[0]):"[mobx] cycle in reaction: "+e[0]),e.splice(0));for(var r=e.splice(0),n=0,i=r.length;n<i;n++)r[n].runReaction_()}f.isRunningReactions=!1}var bt=ge("Reaction",le);function zi(e){var t=kt;kt=function(n){return e(function(){return t(n)})}}function V(){return process.env.NODE_ENV!=="production"&&!!f.spyListeners.length}function Ne(e){if(process.env.NODE_ENV!=="production"&&f.spyListeners.length)for(var t=f.spyListeners,r=0,n=t.length;r<n;r++)t[r](e)}function B(e){if(process.env.NODE_ENV!=="production"){var t=ue({},e,{spyReportStart:!0});Ne(t)}}var Wi={type:"report-end",spyReportEnd:!0};function M(e){process.env.NODE_ENV!=="production"&&Ne(e?ue({},e,{type:"report-end",spyReportEnd:!0}):Wi)}function Zi(e){return process.env.NODE_ENV==="production"?(console.warn("[mobx.spy] Is a no-op in production builds"),function(){}):(f.spyListeners.push(e),St(function(){f.spyListeners=f.spyListeners.filter(function(t){return t!==e})}))}var It="action",Xi="action.bound",In="autoAction",Yi="autoAction.bound",Ji="<unnamed action>",Ut=Ke(It),Qi=Ke(Xi,{bound:!0}),$t=Ke(In,{autoAction:!0}),eo=Ke(Yi,{autoAction:!0,bound:!0});function Un(e){var t=function(n,i){if(S(n))return ye(n.name||Ji,n,e);if(S(i))return ye(n,i,e);if(Fe(i))return(e?$t:Ut).decorate_20223_(n,i);if(be(i))return $e(n,i,e?$t:Ut);if(be(n))return re(Ke(e?In:It,{name:n,autoAction:e}));process.env.NODE_ENV!=="production"&&p("Invalid arguments for `action`")};return t}var Te=Un(!1);Object.assign(Te,Ut);var qe=Un(!0);Object.assign(qe,$t),Te.bound=re(Qi),qe.bound=re(eo);function xe(e){return S(e)&&e.isMobxAction===!0}function to(e,t){var r,n,i,o;t===void 0&&(t=sn),process.env.NODE_ENV!=="production"&&(S(e)||p("Autorun expects a function as first argument"),xe(e)&&p("Autorun does not accept actions since actions are untrackable"));var s=(r=(n=t)==null?void 0:n.name)!=null?r:process.env.NODE_ENV!=="production"?e.name||"Autorun@"+W():"Autorun",a=!t.scheduler&&!t.delay,u;if(a)u=new le(s,function(){this.track(v)},t.onError,t.requiresObservable);else{var l=ro(t),d=!1;u=new le(s,function(){d||(d=!0,l(function(){d=!1,u.isDisposed||u.track(v)}))},t.onError,t.requiresObservable)}function v(){e(u)}return(i=t)!=null&&(i=i.signal)!=null&&i.aborted||u.schedule_(),u.getDisposer_((o=t)==null?void 0:o.signal)}var no=function(t){return t()};function ro(e){return e.scheduler?e.scheduler:e.delay?function(t){return setTimeout(t,e.delay)}:no}var io="onBO",oo="onBUO";function so(e,t,r){return Fn(io,e,t,r)}function $n(e,t,r){return Fn(oo,e,t,r)}function Fn(e,t,r,n){var i=Me(t),o=S(n)?n:r,s=e+"L";return i[s]?i[s].add(o):i[s]=new Set([o]),function(){var a=i[s];a&&(a.delete(o),a.size===0&&delete i[s])}}var ao="never",gt="always",uo="observed";function co(e){e.isolateGlobalState===!0&&Ki();var t=e.useProxies,r=e.enforceActions;if(t!==void 0&&(f.useProxies=t===gt?!0:t===ao?!1:typeof Proxy<"u"),t==="ifavailable"&&(f.verifyProxies=!0),r!==void 0){var n=r===gt?gt:r===uo;f.enforceActions=n,f.allowStateChanges=!(n===!0||n===gt)}["computedRequiresReaction","reactionRequiresObservable","observableRequiresReaction","disableErrorBoundaries","safeDescriptors"].forEach(function(i){i in e&&(f[i]=!!e[i])}),f.allowStateReads=!f.observableRequiresReaction,process.env.NODE_ENV!=="production"&&f.disableErrorBoundaries===!0&&console.warn("WARNING: Debug feature only. MobX will NOT recover from errors when `disableErrorBoundaries` is enabled."),e.reactionScheduler&&zi(e.reactionScheduler)}function Kn(e,t,r,n){process.env.NODE_ENV!=="production"&&(arguments.length>4&&p("'extendObservable' expected 2-4 arguments"),typeof e!="object"&&p("'extendObservable' expects an object as first argument"),he(e)&&p("'extendObservable' should not be used on maps, use map.merge instead"),T(t)||p("'extendObservable' only accepts plain objects as second argument"),(Re(t)||Re(r))&&p("Extending an object with another observable (object) is not supported"));var i=Kr(t);return _e(function(){var o=Se(e,n)[_];Ve(i).forEach(function(s){o.extend_(s,i[s],r&&s in r?r[s]:!0)})}),e}function Gn(e,t){return qn(Me(e,t))}function qn(e){var t={name:e.name_};return e.observing_&&e.observing_.length>0&&(t.dependencies=lo(e.observing_).map(qn)),t}function lo(e){return Array.from(new Set(e))}var fo=0;function Hn(){this.message="FLOW_CANCELLED"}Hn.prototype=Object.create(Error.prototype);var Ft=_n("flow"),po=_n("flow.bound",{bound:!0}),Pe=Object.assign(function(t,r){if(Fe(r))return Ft.decorate_20223_(t,r);if(be(r))return $e(t,r,Ft);process.env.NODE_ENV!=="production"&&arguments.length!==1&&p("Flow expects single argument with generator function");var n=t,i=n.name||"<unnamed flow>",o=function(){var a=this,u=arguments,l=++fo,d=Te(i+" - runid: "+l+" - init",n).apply(a,u),v,h=void 0,b=new Promise(function(g,O){var E=0;v=O;function L(A){h=void 0;var $;try{$=Te(i+" - runid: "+l+" - yield "+E++,d.next).call(d,A)}catch(Ce){return O(Ce)}C($)}function se(A){h=void 0;var $;try{$=Te(i+" - runid: "+l+" - yield "+E++,d.throw).call(d,A)}catch(Ce){return O(Ce)}C($)}function C(A){if(S(A?.then)){A.then(C,O);return}return A.done?g(A.value):(h=Promise.resolve(A.value),h.then(L,se))}L(void 0)});return b.cancel=Te(i+" - runid: "+l+" - cancel",function(){try{h&&Rn(h);var g=d.return(void 0),O=Promise.resolve(g.value);O.then(we,we),Rn(O),v(new Hn)}catch(E){v(E)}}),b};return o.isMobXFlow=!0,o},Ft);Pe.bound=re(po);function Rn(e){S(e.cancel)&&e.cancel()}function He(e){return e?.isMobXFlow===!0}function vo(e,t){return e?Be(e)||!!e[_]||Dt(e)||bt(e)||dt(e):!1}function Re(e){return process.env.NODE_ENV!=="production"&&arguments.length!==1&&p("isObservable expects only 1 argument. Use isObservableProp to inspect the observability of a property"),vo(e)}function ho(){if(process.env.NODE_ENV!=="production"){for(var e=!1,t=arguments.length,r=new Array(t),n=0;n<t;n++)r[n]=arguments[n];typeof r[r.length-1]=="boolean"&&(e=r.pop());var i=_o(r);if(!i)return p("'trace(break?)' can only be used inside a tracked computed value or a Reaction. Consider passing in the computed value or reaction explicitly");i.isTracing_===G.NONE&&console.log("[mobx.trace] '"+i.name_+"' tracing enabled"),i.isTracing_=e?G.BREAK:G.LOG}}function _o(e){switch(e.length){case 0:return f.trackingDerivation;case 1:return Me(e[0]);case 2:return Me(e[0],e[1])}}function fe(e,t){t===void 0&&(t=void 0),q();try{return e.apply(t)}finally{H()}}function Ae(e){return e[_]}var bo={has:function(t,r){return process.env.NODE_ENV!=="production"&&f.trackingDerivation&&Ie("detect new properties using the 'in' operator. Use 'has' from 'mobx' instead."),Ae(t).has_(r)},get:function(t,r){return Ae(t).get_(r)},set:function(t,r,n){var i;return be(r)?(process.env.NODE_ENV!=="production"&&!Ae(t).values_.has(r)&&Ie("add a new observable property through direct assignment. Use 'set' from 'mobx' instead."),(i=Ae(t).set_(r,n,!0))!=null?i:!0):!1},deleteProperty:function(t,r){var n;return process.env.NODE_ENV!=="production"&&Ie("delete properties from an observable object. Use 'remove' from 'mobx' instead."),be(r)?(n=Ae(t).delete_(r,!0))!=null?n:!0:!1},defineProperty:function(t,r,n){var i;return process.env.NODE_ENV!=="production"&&Ie("define property on an observable object. Use 'defineProperty' from 'mobx' instead."),(i=Ae(t).defineProperty_(r,n))!=null?i:!0},ownKeys:function(t){return process.env.NODE_ENV!=="production"&&f.trackingDerivation&&Ie("iterate keys to detect added / removed properties. Use 'keys' from 'mobx' instead."),Ae(t).ownKeys_()},preventExtensions:function(t){p(13)}};function go(e,t){var r,n;return an(),e=Se(e,t),(n=(r=e[_]).proxy_)!=null?n:r.proxy_=new Proxy(e,bo)}function R(e){return e.interceptors_!==void 0&&e.interceptors_.length>0}function ze(e,t){var r=e.interceptors_||(e.interceptors_=[]);return r.push(t),St(function(){var n=r.indexOf(t);n!==-1&&r.splice(n,1)})}function z(e,t){var r=Ee();try{for(var n=[].concat(e.interceptors_||[]),i=0,o=n.length;i<o&&(t=n[i](t),t&&!t.type&&p(14),!!t);i++);return t}finally{ce(r)}}function Z(e){return e.changeListeners_!==void 0&&e.changeListeners_.length>0}function We(e,t){var r=e.changeListeners_||(e.changeListeners_=[]);return r.push(t),St(function(){var n=r.indexOf(t);n!==-1&&r.splice(n,1)})}function X(e,t){var r=Ee(),n=e.changeListeners_;if(n){n=n.slice();for(var i=0,o=n.length;i<o;i++)n[i](t);ce(r)}}function mo(e,t,r){return _e(function(){var n,i=Se(e,r)[_];process.env.NODE_ENV!=="production"&&t&&e[j]&&p("makeObservable second arg must be nullish when using decorators. Mixing @decorator syntax with annotations is not supported."),(n=t)!=null||(t=Wr(e)),Ve(t).forEach(function(o){return i.make_(o,t[o])})}),e}var Kt=Symbol("mobx-keys");function pe(e,t,r){return process.env.NODE_ENV!=="production"&&(!T(e)&&!T(Object.getPrototypeOf(e))&&p("'makeAutoObservable' can only be used for classes that don't have a superclass"),Be(e)&&p("makeAutoObservable can only be used on objects not already made observable")),T(e)?Kn(e,e,t,r):(_e(function(){var n=Se(e,r)[_];if(!e[Kt]){var i=Object.getPrototypeOf(e),o=new Set([].concat(Ve(e),Ve(i)));o.delete("constructor"),o.delete(_),Ue(i,Kt,o)}e[Kt].forEach(function(s){return n.make_(s,t&&s in t?t[s]:!0)})}),e)}var zn="splice",Y="update",yo=1e4,Oo={get:function(t,r){var n=t[_];return r===_?n:r==="length"?n.getArrayLength_():typeof r=="string"&&!isNaN(r)?n.get_(parseInt(r)):F(mt,r)?mt[r]:t[r]},set:function(t,r,n){var i=t[_];return r==="length"&&i.setArrayLength_(n),typeof r=="symbol"||isNaN(r)?t[r]=n:i.set_(parseInt(r),n),!0},preventExtensions:function(){p(15)}},Gt=(function(){function e(r,n,i,o){r===void 0&&(r=process.env.NODE_ENV!=="production"?"ObservableArray@"+W():"ObservableArray"),this.owned_=void 0,this.legacyMode_=void 0,this.atom_=void 0,this.values_=[],this.interceptors_=void 0,this.changeListeners_=void 0,this.enhancer_=void 0,this.dehancer=void 0,this.proxy_=void 0,this.lastKnownLength_=0,this.owned_=i,this.legacyMode_=o,this.atom_=new de(r),this.enhancer_=function(s,a){return n(s,a,process.env.NODE_ENV!=="production"?r+"[..]":"ObservableArray[..]")}}var t=e.prototype;return t.dehanceValue_=function(n){return this.dehancer!==void 0?this.dehancer(n):n},t.dehanceValues_=function(n){return this.dehancer!==void 0&&n.length>0?n.map(this.dehancer):n},t.intercept_=function(n){return ze(this,n)},t.observe_=function(n,i){return i===void 0&&(i=!1),i&&n({observableKind:"array",object:this.proxy_,debugObjectName:this.atom_.name_,type:"splice",index:0,added:this.values_.slice(),addedCount:this.values_.length,removed:[],removedCount:0}),We(this,n)},t.getArrayLength_=function(){return this.atom_.reportObserved(),this.values_.length},t.setArrayLength_=function(n){(typeof n!="number"||isNaN(n)||n<0)&&p("Out of range: "+n);var i=this.values_.length;if(n!==i)if(n>i){for(var o=new Array(n-i),s=0;s<n-i;s++)o[s]=void 0;this.spliceWithArray_(i,0,o)}else this.spliceWithArray_(n,i-n)},t.updateArrayLength_=function(n,i){n!==this.lastKnownLength_&&p(16),this.lastKnownLength_+=i,this.legacyMode_&&i>0&&sr(n+i+1)},t.spliceWithArray_=function(n,i,o){var s=this;ie(this.atom_);var a=this.values_.length;if(n===void 0?n=0:n>a?n=a:n<0&&(n=Math.max(0,a+n)),arguments.length===1?i=a-n:i==null?i=0:i=Math.max(0,Math.min(i,a-n)),o===void 0&&(o=tt),R(this)){var u=z(this,{object:this.proxy_,type:zn,index:n,removedCount:i,added:o});if(!u)return tt;i=u.removedCount,o=u.added}if(o=o.length===0?o:o.map(function(v){return s.enhancer_(v,void 0)}),this.legacyMode_||process.env.NODE_ENV!=="production"){var l=o.length-i;this.updateArrayLength_(a,l)}var d=this.spliceItemsIntoValues_(n,i,o);return(i!==0||o.length!==0)&&this.notifyArraySplice_(n,o,d),this.dehanceValues_(d)},t.spliceItemsIntoValues_=function(n,i,o){if(o.length<yo){var s;return(s=this.values_).splice.apply(s,[n,i].concat(o))}else{var a=this.values_.slice(n,n+i),u=this.values_.slice(n+i);this.values_.length+=o.length-i;for(var l=0;l<o.length;l++)this.values_[n+l]=o[l];for(var d=0;d<u.length;d++)this.values_[n+o.length+d]=u[d];return a}},t.notifyArrayChildUpdate_=function(n,i,o){var s=!this.owned_&&V(),a=Z(this),u=a||s?{observableKind:"array",object:this.proxy_,type:Y,debugObjectName:this.atom_.name_,index:n,newValue:i,oldValue:o}:null;process.env.NODE_ENV!=="production"&&s&&B(u),this.atom_.reportChanged(),a&&X(this,u),process.env.NODE_ENV!=="production"&&s&&M()},t.notifyArraySplice_=function(n,i,o){var s=!this.owned_&&V(),a=Z(this),u=a||s?{observableKind:"array",object:this.proxy_,debugObjectName:this.atom_.name_,type:zn,index:n,removed:o,added:i,removedCount:o.length,addedCount:i.length}:null;process.env.NODE_ENV!=="production"&&s&&B(u),this.atom_.reportChanged(),a&&X(this,u),process.env.NODE_ENV!=="production"&&s&&M()},t.get_=function(n){if(this.legacyMode_&&n>=this.values_.length){console.warn(process.env.NODE_ENV!=="production"?"[mobx.array] Attempt to read an array index ("+n+") that is out of bounds ("+this.values_.length+"). Please check length first. Out of bound indices will not be tracked by MobX":"[mobx] Out of bounds read: "+n);return}return this.atom_.reportObserved(),this.dehanceValue_(this.values_[n])},t.set_=function(n,i){var o=this.values_;if(this.legacyMode_&&n>o.length&&p(17,n,o.length),n<o.length){ie(this.atom_);var s=o[n];if(R(this)){var a=z(this,{type:Y,object:this.proxy_,index:n,newValue:i});if(!a)return;i=a.newValue}i=this.enhancer_(i,s);var u=i!==s;u&&(o[n]=i,this.notifyArrayChildUpdate_(n,i,s))}else{for(var l=new Array(n+1-o.length),d=0;d<l.length-1;d++)l[d]=void 0;l[l.length-1]=i,this.spliceWithArray_(o.length,0,l)}},e})();function Eo(e,t,r,n){return r===void 0&&(r=process.env.NODE_ENV!=="production"?"ObservableArray@"+W():"ObservableArray"),n===void 0&&(n=!1),an(),_e(function(){var i=new Gt(r,t,n,!1);cn(i.values_,_,i);var o=new Proxy(i.values_,Oo);return i.proxy_=o,e&&e.length&&i.spliceWithArray_(0,0,e),o})}var mt={clear:function(){return this.splice(0)},replace:function(t){var r=this[_];return r.spliceWithArray_(0,r.values_.length,t)},toJSON:function(){return this.slice()},splice:function(t,r){for(var n=arguments.length,i=new Array(n>2?n-2:0),o=2;o<n;o++)i[o-2]=arguments[o];var s=this[_];switch(arguments.length){case 0:return[];case 1:return s.spliceWithArray_(t);case 2:return s.spliceWithArray_(t,r)}return s.spliceWithArray_(t,r,i)},spliceWithArray:function(t,r,n){return this[_].spliceWithArray_(t,r,n)},push:function(){for(var t=this[_],r=arguments.length,n=new Array(r),i=0;i<r;i++)n[i]=arguments[i];return t.spliceWithArray_(t.values_.length,0,n),t.values_.length},pop:function(){return this.splice(Math.max(this[_].values_.length-1,0),1)[0]},shift:function(){return this.splice(0,1)[0]},unshift:function(){for(var t=this[_],r=arguments.length,n=new Array(r),i=0;i<r;i++)n[i]=arguments[i];return t.spliceWithArray_(0,0,n),t.values_.length},reverse:function(){return f.trackingDerivation&&p(37,"reverse"),this.replace(this.slice().reverse()),this},sort:function(){f.trackingDerivation&&p(37,"sort");var t=this.slice();return t.sort.apply(t,arguments),this.replace(t),this},remove:function(t){var r=this[_],n=r.dehanceValues_(r.values_).indexOf(t);return n>-1?(this.splice(n,1),!0):!1}};N("at",k),N("concat",k),N("flat",k),N("includes",k),N("indexOf",k),N("join",k),N("lastIndexOf",k),N("slice",k),N("toString",k),N("toLocaleString",k),N("toSorted",k),N("toSpliced",k),N("with",k),N("every",J),N("filter",J),N("find",J),N("findIndex",J),N("findLast",J),N("findLastIndex",J),N("flatMap",J),N("forEach",J),N("map",J),N("some",J),N("toReversed",J),N("reduce",Wn),N("reduceRight",Wn);function N(e,t){typeof Array.prototype[e]=="function"&&(mt[e]=t(e))}function k(e){return function(){var t=this[_];t.atom_.reportObserved();var r=t.dehanceValues_(t.values_);return r[e].apply(r,arguments)}}function J(e){return function(t,r){var n=this,i=this[_];i.atom_.reportObserved();var o=i.dehanceValues_(i.values_);return o[e](function(s,a){return t.call(r,s,a,n)})}}function Wn(e){return function(){var t=this,r=this[_];r.atom_.reportObserved();var n=r.dehanceValues_(r.values_),i=arguments[0];return arguments[0]=function(o,s,a){return i(o,s,a,t)},n[e].apply(n,arguments)}}var No=ge("ObservableArrayAdministration",Gt);function yt(e){return nt(e)&&No(e[_])}var Ao={},ve="add",Ot="delete",Zn=(function(){function e(r,n,i){var o=this;n===void 0&&(n=me),i===void 0&&(i=process.env.NODE_ENV!=="production"?"ObservableMap@"+W():"ObservableMap"),this.enhancer_=void 0,this.name_=void 0,this[_]=Ao,this.data_=void 0,this.hasMap_=void 0,this.keysAtom_=void 0,this.interceptors_=void 0,this.changeListeners_=void 0,this.dehancer=void 0,this.enhancer_=n,this.name_=i,S(Map)||p(18),_e(function(){o.keysAtom_=vn(process.env.NODE_ENV!=="production"?o.name_+".keys()":"ObservableMap.keys()"),o.data_=new Map,o.hasMap_=new Map,r&&o.merge(r)})}var t=e.prototype;return t.has_=function(n){return this.data_.has(n)},t.has=function(n){var i=this;if(!f.trackingDerivation)return this.has_(n);var o=this.hasMap_.get(n);if(!o){var s=o=new Oe(this.has_(n),ot,process.env.NODE_ENV!=="production"?this.name_+"."+Ct(n)+"?":"ObservableMap.key?",!1);this.hasMap_.set(n,s),$n(s,function(){return i.hasMap_.delete(n)})}return o.get()},t.set=function(n,i){var o=this.has_(n);if(R(this)){var s=z(this,{type:o?Y:ve,object:this,newValue:i,name:n});if(!s)return this;i=s.newValue}return o?this.updateValue_(n,i):this.addValue_(n,i),this},t.delete=function(n){var i=this;if(ie(this.keysAtom_),R(this)){var o=z(this,{type:Ot,object:this,name:n});if(!o)return!1}if(this.has_(n)){var s=V(),a=Z(this),u=a||s?{observableKind:"map",debugObjectName:this.name_,type:Ot,object:this,oldValue:this.data_.get(n).value_,name:n}:null;return process.env.NODE_ENV!=="production"&&s&&B(u),fe(function(){var l;i.keysAtom_.reportChanged(),(l=i.hasMap_.get(n))==null||l.setNewValue_(!1);var d=i.data_.get(n);d.setNewValue_(void 0),i.data_.delete(n)}),a&&X(this,u),process.env.NODE_ENV!=="production"&&s&&M(),!0}return!1},t.updateValue_=function(n,i){var o=this.data_.get(n);if(i=o.prepareNewValue_(i),i!==f.UNCHANGED){var s=V(),a=Z(this),u=a||s?{observableKind:"map",debugObjectName:this.name_,type:Y,object:this,oldValue:o.value_,name:n,newValue:i}:null;process.env.NODE_ENV!=="production"&&s&&B(u),o.setNewValue_(i),a&&X(this,u),process.env.NODE_ENV!=="production"&&s&&M()}},t.addValue_=function(n,i){var o=this;ie(this.keysAtom_),fe(function(){var l,d=new Oe(i,o.enhancer_,process.env.NODE_ENV!=="production"?o.name_+"."+Ct(n):"ObservableMap.key",!1);o.data_.set(n,d),i=d.value_,(l=o.hasMap_.get(n))==null||l.setNewValue_(!0),o.keysAtom_.reportChanged()});var s=V(),a=Z(this),u=a||s?{observableKind:"map",debugObjectName:this.name_,type:ve,object:this,name:n,newValue:i}:null;process.env.NODE_ENV!=="production"&&s&&B(u),a&&X(this,u),process.env.NODE_ENV!=="production"&&s&&M()},t.get=function(n){return this.has(n)?this.dehanceValue_(this.data_.get(n).get()):this.dehanceValue_(void 0)},t.dehanceValue_=function(n){return this.dehancer!==void 0?this.dehancer(n):n},t.keys=function(){return this.keysAtom_.reportObserved(),this.data_.keys()},t.values=function(){var n=this,i=this.keys();return Xn({next:function(){var s=i.next(),a=s.done,u=s.value;return{done:a,value:a?void 0:n.get(u)}}})},t.entries=function(){var n=this,i=this.keys();return Xn({next:function(){var s=i.next(),a=s.done,u=s.value;return{done:a,value:a?void 0:[u,n.get(u)]}}})},t[Symbol.iterator]=function(){return this.entries()},t.forEach=function(n,i){for(var o=je(this),s;!(s=o()).done;){var a=s.value,u=a[0],l=a[1];n.call(i,l,u,this)}},t.merge=function(n){var i=this;return he(n)&&(n=new Map(n)),fe(function(){T(n)?Fr(n).forEach(function(o){return i.set(o,n[o])}):Array.isArray(n)?n.forEach(function(o){var s=o[0],a=o[1];return i.set(s,a)}):De(n)?($r(n)||p(19,n),n.forEach(function(o,s){return i.set(s,o)})):n!=null&&p(20,n)}),this},t.clear=function(){var n=this;fe(function(){wn(function(){for(var i=je(n.keys()),o;!(o=i()).done;){var s=o.value;n.delete(s)}})})},t.replace=function(n){var i=this;return fe(function(){for(var o=So(n),s=new Map,a=!1,u=je(i.data_.keys()),l;!(l=u()).done;){var d=l.value;if(!o.has(d)){var v=i.delete(d);if(v)a=!0;else{var h=i.data_.get(d);s.set(d,h)}}}for(var b=je(o.entries()),g;!(g=b()).done;){var O=g.value,E=O[0],L=O[1],se=i.data_.has(E);if(i.set(E,L),i.data_.has(E)){var C=i.data_.get(E);s.set(E,C),se||(a=!0)}}if(!a)if(i.data_.size!==s.size)i.keysAtom_.reportChanged();else for(var A=i.data_.keys(),$=s.keys(),Ce=A.next(),Tr=$.next();!Ce.done;){if(Ce.value!==Tr.value){i.keysAtom_.reportChanged();break}Ce=A.next(),Tr=$.next()}i.data_=s}),this},t.toString=function(){return"[object ObservableMap]"},t.toJSON=function(){return Array.from(this)},t.observe_=function(n,i){return process.env.NODE_ENV!=="production"&&i===!0&&p("`observe` doesn't support fireImmediately=true in combination with maps."),We(this,n)},t.intercept_=function(n){return ze(this,n)},Le(e,[{key:"size",get:function(){return this.keysAtom_.reportObserved(),this.data_.size}},{key:Symbol.toStringTag,get:function(){return"Map"}}])})(),he=ge("ObservableMap",Zn);function Xn(e){return e[Symbol.toStringTag]="MapIterator",Wt(e)}function So(e){if(De(e)||he(e))return e;if(Array.isArray(e))return new Map(e);if(T(e)){var t=new Map;for(var r in e)t.set(r,e[r]);return t}else return p(21,e)}var Co={},Yn=(function(){function e(r,n,i){var o=this;n===void 0&&(n=me),i===void 0&&(i=process.env.NODE_ENV!=="production"?"ObservableSet@"+W():"ObservableSet"),this.name_=void 0,this[_]=Co,this.data_=new Set,this.atom_=void 0,this.changeListeners_=void 0,this.interceptors_=void 0,this.dehancer=void 0,this.enhancer_=void 0,this.name_=i,S(Set)||p(22),this.enhancer_=function(s,a){return n(s,a,i)},_e(function(){o.atom_=vn(o.name_),r&&o.replace(r)})}var t=e.prototype;return t.dehanceValue_=function(n){return this.dehancer!==void 0?this.dehancer(n):n},t.clear=function(){var n=this;fe(function(){wn(function(){for(var i=je(n.data_.values()),o;!(o=i()).done;){var s=o.value;n.delete(s)}})})},t.forEach=function(n,i){for(var o=je(this),s;!(s=o()).done;){var a=s.value;n.call(i,a,a,this)}},t.add=function(n){var i=this;if(ie(this.atom_),R(this)){var o=z(this,{type:ve,object:this,newValue:n});if(!o)return this;n=o.newValue}if(!this.has(n)){fe(function(){i.data_.add(i.enhancer_(n,void 0)),i.atom_.reportChanged()});var s=process.env.NODE_ENV!=="production"&&V(),a=Z(this),u=a||s?{observableKind:"set",debugObjectName:this.name_,type:ve,object:this,newValue:n}:null;s&&process.env.NODE_ENV!=="production"&&B(u),a&&X(this,u),s&&process.env.NODE_ENV!=="production"&&M()}return this},t.delete=function(n){var i=this;if(R(this)){var o=z(this,{type:Ot,object:this,oldValue:n});if(!o)return!1}if(this.has(n)){var s=process.env.NODE_ENV!=="production"&&V(),a=Z(this),u=a||s?{observableKind:"set",debugObjectName:this.name_,type:Ot,object:this,oldValue:n}:null;return s&&process.env.NODE_ENV!=="production"&&B(u),fe(function(){i.atom_.reportChanged(),i.data_.delete(n)}),a&&X(this,u),s&&process.env.NODE_ENV!=="production"&&M(),!0}return!1},t.has=function(n){return this.atom_.reportObserved(),this.data_.has(this.dehanceValue_(n))},t.entries=function(){var n=this.values();return Jn({next:function(){var o=n.next(),s=o.value,a=o.done;return a?{value:void 0,done:a}:{value:[s,s],done:a}}})},t.keys=function(){return this.values()},t.values=function(){this.atom_.reportObserved();var n=this,i=this.data_.values();return Jn({next:function(){var s=i.next(),a=s.value,u=s.done;return u?{value:void 0,done:u}:{value:n.dehanceValue_(a),done:u}}})},t.intersection=function(n){if(ae(n)&&!oe(n))return n.intersection(this);var i=new Set(this);return i.intersection(n)},t.union=function(n){if(ae(n)&&!oe(n))return n.union(this);var i=new Set(this);return i.union(n)},t.difference=function(n){return new Set(this).difference(n)},t.symmetricDifference=function(n){if(ae(n)&&!oe(n))return n.symmetricDifference(this);var i=new Set(this);return i.symmetricDifference(n)},t.isSubsetOf=function(n){return new Set(this).isSubsetOf(n)},t.isSupersetOf=function(n){return new Set(this).isSupersetOf(n)},t.isDisjointFrom=function(n){if(ae(n)&&!oe(n))return n.isDisjointFrom(this);var i=new Set(this);return i.isDisjointFrom(n)},t.replace=function(n){var i=this;return oe(n)&&(n=new Set(n)),fe(function(){Array.isArray(n)?(i.clear(),n.forEach(function(o){return i.add(o)})):ae(n)?(i.clear(),n.forEach(function(o){return i.add(o)})):n!=null&&p("Cannot initialize set from "+n)}),this},t.observe_=function(n,i){return process.env.NODE_ENV!=="production"&&i===!0&&p("`observe` doesn't support fireImmediately=true in combination with sets."),We(this,n)},t.intercept_=function(n){return ze(this,n)},t.toJSON=function(){return Array.from(this)},t.toString=function(){return"[object ObservableSet]"},t[Symbol.iterator]=function(){return this.values()},Le(e,[{key:"size",get:function(){return this.atom_.reportObserved(),this.data_.size}},{key:Symbol.toStringTag,get:function(){return"Set"}}])})(),oe=ge("ObservableSet",Yn);function Jn(e){return e[Symbol.toStringTag]="SetIterator",Wt(e)}var Qn=Object.create(null),er="remove",qt=(function(){function e(r,n,i,o){n===void 0&&(n=new Map),o===void 0&&(o=bi),this.target_=void 0,this.values_=void 0,this.name_=void 0,this.defaultAnnotation_=void 0,this.keysAtom_=void 0,this.changeListeners_=void 0,this.interceptors_=void 0,this.proxy_=void 0,this.isPlainObject_=void 0,this.appliedAnnotations_=void 0,this.pendingKeys_=void 0,this.target_=r,this.values_=n,this.name_=i,this.defaultAnnotation_=o,this.keysAtom_=new de(process.env.NODE_ENV!=="production"?this.name_+".keys":"ObservableObject.keys"),this.isPlainObject_=T(this.target_),process.env.NODE_ENV!=="production"&&!dr(this.defaultAnnotation_)&&p("defaultAnnotation must be valid annotation"),process.env.NODE_ENV!=="production"&&(this.appliedAnnotations_={})}var t=e.prototype;return t.getObservablePropValue_=function(n){return this.values_.get(n).get()},t.setObservablePropValue_=function(n,i){var o=this.values_.get(n);if(o instanceof K)return o.set(i),!0;if(R(this)){var s=z(this,{type:Y,object:this.proxy_||this.target_,name:n,newValue:i});if(!s)return null;i=s.newValue}if(i=o.prepareNewValue_(i),i!==f.UNCHANGED){var a=Z(this),u=process.env.NODE_ENV!=="production"&&V(),l=a||u?{type:Y,observableKind:"object",debugObjectName:this.name_,object:this.proxy_||this.target_,oldValue:o.value_,name:n,newValue:i}:null;process.env.NODE_ENV!=="production"&&u&&B(l),o.setNewValue_(i),a&&X(this,l),process.env.NODE_ENV!=="production"&&u&&M()}return!0},t.get_=function(n){return f.trackingDerivation&&!F(this.target_,n)&&this.has_(n),this.target_[n]},t.set_=function(n,i,o){return o===void 0&&(o=!1),F(this.target_,n)?this.values_.has(n)?this.setObservablePropValue_(n,i):o?Reflect.set(this.target_,n,i):(this.target_[n]=i,!0):this.extend_(n,{value:i,enumerable:!0,writable:!0,configurable:!0},this.defaultAnnotation_,o)},t.has_=function(n){if(!f.trackingDerivation)return n in this.target_;this.pendingKeys_||(this.pendingKeys_=new Map);var i=this.pendingKeys_.get(n);return i||(i=new Oe(n in this.target_,ot,process.env.NODE_ENV!=="production"?this.name_+"."+Ct(n)+"?":"ObservableObject.key?",!1),this.pendingKeys_.set(n,i)),i.get()},t.make_=function(n,i){if(i===!0&&(i=this.defaultAnnotation_),i!==!1){if(rr(this,i,n),!(n in this.target_)){var o;if((o=this.target_[j])!=null&&o[n])return;p(1,i.annotationType_,this.name_+"."+n.toString())}for(var s=this.target_;s&&s!==et;){var a=Qe(s,n);if(a){var u=i.make_(this,n,a,s);if(u===0)return;if(u===1)break}s=Object.getPrototypeOf(s)}nr(this,i,n)}},t.extend_=function(n,i,o,s){if(s===void 0&&(s=!1),o===!0&&(o=this.defaultAnnotation_),o===!1)return this.defineProperty_(n,i,s);rr(this,o,n);var a=o.extend_(this,n,i,s);return a&&nr(this,o,n),a},t.defineProperty_=function(n,i,o){o===void 0&&(o=!1),ie(this.keysAtom_);try{q();var s=this.delete_(n);if(!s)return s;if(R(this)){var a=z(this,{object:this.proxy_||this.target_,name:n,type:ve,newValue:i.value});if(!a)return null;var u=a.newValue;i.value!==u&&(i=ue({},i,{value:u}))}if(o){if(!Reflect.defineProperty(this.target_,n,i))return!1}else ne(this.target_,n,i);this.notifyPropertyAddition_(n,i.value)}finally{H()}return!0},t.defineObservableProperty_=function(n,i,o,s){s===void 0&&(s=!1),ie(this.keysAtom_);try{q();var a=this.delete_(n);if(!a)return a;if(R(this)){var u=z(this,{object:this.proxy_||this.target_,name:n,type:ve,newValue:i});if(!u)return null;i=u.newValue}var l=tr(n),d={configurable:f.safeDescriptors?this.isPlainObject_:!0,enumerable:!0,get:l.get,set:l.set};if(s){if(!Reflect.defineProperty(this.target_,n,d))return!1}else ne(this.target_,n,d);var v=new Oe(i,o,process.env.NODE_ENV!=="production"?this.name_+"."+n.toString():"ObservableObject.key",!1);this.values_.set(n,v),this.notifyPropertyAddition_(n,v.value_)}finally{H()}return!0},t.defineComputedProperty_=function(n,i,o){o===void 0&&(o=!1),ie(this.keysAtom_);try{q();var s=this.delete_(n);if(!s)return s;if(R(this)){var a=z(this,{object:this.proxy_||this.target_,name:n,type:ve,newValue:void 0});if(!a)return null}i.name||(i.name=process.env.NODE_ENV!=="production"?this.name_+"."+n.toString():"ObservableObject.key"),i.context=this.proxy_||this.target_;var u=tr(n),l={configurable:f.safeDescriptors?this.isPlainObject_:!0,enumerable:!1,get:u.get,set:u.set};if(o){if(!Reflect.defineProperty(this.target_,n,l))return!1}else ne(this.target_,n,l);this.values_.set(n,new K(i)),this.notifyPropertyAddition_(n,void 0)}finally{H()}return!0},t.delete_=function(n,i){if(i===void 0&&(i=!1),ie(this.keysAtom_),!F(this.target_,n))return!0;if(R(this)){var o=z(this,{object:this.proxy_||this.target_,name:n,type:er});if(!o)return null}try{var s;q();var a=Z(this),u=process.env.NODE_ENV!=="production"&&V(),l=this.values_.get(n),d=void 0;if(!l&&(a||u)){var v;d=(v=Qe(this.target_,n))==null?void 0:v.value}if(i){if(!Reflect.deleteProperty(this.target_,n))return!1}else delete this.target_[n];if(process.env.NODE_ENV!=="production"&&delete this.appliedAnnotations_[n],l&&(this.values_.delete(n),l instanceof Oe&&(d=l.value_),xn(l)),this.keysAtom_.reportChanged(),(s=this.pendingKeys_)==null||(s=s.get(n))==null||s.set(n in this.target_),a||u){var h={type:er,observableKind:"object",object:this.proxy_||this.target_,debugObjectName:this.name_,oldValue:d,name:n};process.env.NODE_ENV!=="production"&&u&&B(h),a&&X(this,h),process.env.NODE_ENV!=="production"&&u&&M()}}finally{H()}return!0},t.observe_=function(n,i){return process.env.NODE_ENV!=="production"&&i===!0&&p("`observe` doesn't support the fire immediately property for observable objects."),We(this,n)},t.intercept_=function(n){return ze(this,n)},t.notifyPropertyAddition_=function(n,i){var o,s=Z(this),a=process.env.NODE_ENV!=="production"&&V();if(s||a){var u=s||a?{type:ve,observableKind:"object",debugObjectName:this.name_,object:this.proxy_||this.target_,name:n,newValue:i}:null;process.env.NODE_ENV!=="production"&&a&&B(u),s&&X(this,u),process.env.NODE_ENV!=="production"&&a&&M()}(o=this.pendingKeys_)==null||(o=o.get(n))==null||o.set(!0),this.keysAtom_.reportChanged()},t.ownKeys_=function(){return this.keysAtom_.reportObserved(),Ve(this.target_)},t.keys_=function(){return this.keysAtom_.reportObserved(),Object.keys(this.target_)},e})();function Se(e,t){var r;if(process.env.NODE_ENV!=="production"&&t&&Be(e)&&p("Options can't be provided for already observable objects."),F(e,_))return process.env.NODE_ENV!=="production"&&!(ar(e)instanceof qt)&&p("Cannot convert '"+Et(e)+`' into observable object:
26
+ `)()}}function Bn(e,t,r){if(t.length>=1e3){t.push("(and many more)");return}t.push(""+" ".repeat(r-1)+e.name),e.dependencies&&e.dependencies.forEach(function(n){return Bn(n,t,r+1)})}var le=(function(){function e(r,n,i,o){r===void 0&&(r=process.env.NODE_ENV!=="production"?"Reaction@"+W():"Reaction"),this.name_=void 0,this.onInvalidate_=void 0,this.errorHandler_=void 0,this.requiresObservable_=void 0,this.observing_=[],this.newObserving_=[],this.dependenciesState_=y.NOT_TRACKING_,this.runId_=0,this.unboundDepsCount_=0,this.flags_=0,this.isTracing_=G.NONE,this.name_=r,this.onInvalidate_=n,this.errorHandler_=i,this.requiresObservable_=o}var t=e.prototype;return t.onBecomeStale_=function(){this.schedule_()},t.schedule_=function(){this.isScheduled||(this.isScheduled=!0,f.pendingReactions.push(this),kn())},t.runReaction_=function(){if(!this.isDisposed){q(),this.isScheduled=!1;var n=f.trackingContext;if(f.trackingContext=this,Pt(this)){this.isTrackPending=!0;try{this.onInvalidate_(),process.env.NODE_ENV!=="production"&&this.isTrackPending&&V()&&Ne({name:this.name_,type:"scheduled-reaction"})}catch(i){this.reportExceptionInDerivation_(i)}}f.trackingContext=n,H()}},t.track=function(n){if(!this.isDisposed){q();var i=V(),o;process.env.NODE_ENV!=="production"&&i&&(o=Date.now(),B({name:this.name_,type:"reaction"})),this.isRunning=!0;var s=f.trackingContext;f.trackingContext=this;var a=Cn(this,n,void 0);f.trackingContext=s,this.isRunning=!1,this.isTrackPending=!1,this.isDisposed&&Bt(this),vt(a)&&this.reportExceptionInDerivation_(a.cause),process.env.NODE_ENV!=="production"&&i&&M({time:Date.now()-o}),H()}},t.reportExceptionInDerivation_=function(n){var i=this;if(this.errorHandler_){this.errorHandler_(n,this);return}if(f.disableErrorBoundaries)throw n;var o=process.env.NODE_ENV!=="production"?"[mobx] Encountered an uncaught exception that was thrown by a reaction or observer component, in: '"+this+"'":"[mobx] uncaught error in '"+this+"'";f.suppressReactionErrors?process.env.NODE_ENV!=="production"&&console.warn("[mobx] (error in reaction '"+this.name_+"' suppressed, fix error of causing action below)"):console.error(o,n),process.env.NODE_ENV!=="production"&&V()&&Ne({type:"error",name:this.name_,message:o,error:""+n}),f.globalReactionErrorHandlers.forEach(function(s){return s(n,i)})},t.dispose=function(){this.isDisposed||(this.isDisposed=!0,this.isRunning||(q(),Bt(this),H()))},t.getDisposer_=function(n){var i=this,o=function s(){i.dispose(),n==null||n.removeEventListener==null||n.removeEventListener("abort",s)};return n==null||n.addEventListener==null||n.addEventListener("abort",o),o[_]=this,o},t.toString=function(){return"Reaction["+this.name_+"]"},t.trace=function(n){n===void 0&&(n=!1),vo(this,n)},Le(e,[{key:"isDisposed",get:function(){return x(this.flags_,e.isDisposedMask_)},set:function(n){this.flags_=P(this.flags_,e.isDisposedMask_,n)}},{key:"isScheduled",get:function(){return x(this.flags_,e.isScheduledMask_)},set:function(n){this.flags_=P(this.flags_,e.isScheduledMask_,n)}},{key:"isTrackPending",get:function(){return x(this.flags_,e.isTrackPendingMask_)},set:function(n){this.flags_=P(this.flags_,e.isTrackPendingMask_,n)}},{key:"isRunning",get:function(){return x(this.flags_,e.isRunningMask_)},set:function(n){this.flags_=P(this.flags_,e.isRunningMask_,n)}},{key:"diffValue",get:function(){return x(this.flags_,e.diffValueMask_)?1:0},set:function(n){this.flags_=P(this.flags_,e.diffValueMask_,n===1)}}])})();le.isDisposedMask_=1,le.isScheduledMask_=2,le.isTrackPendingMask_=4,le.isRunningMask_=8,le.diffValueMask_=16;var Mn=100,kt=function(t){return t()};function kn(){f.inBatch>0||f.isRunningReactions||kt(Hi)}function Hi(){f.isRunningReactions=!0;for(var e=f.pendingReactions,t=0;e.length>0;){++t===Mn&&(console.error(process.env.NODE_ENV!=="production"?"Reaction doesn't converge to a stable state after "+Mn+" iterations."+(" Probably there is a cycle in the reactive function: "+e[0]):"[mobx] cycle in reaction: "+e[0]),e.splice(0));for(var r=e.splice(0),n=0,i=r.length;n<i;n++)r[n].runReaction_()}f.isRunningReactions=!1}var bt=ge("Reaction",le);function Ri(e){var t=kt;kt=function(n){return e(function(){return t(n)})}}function V(){return process.env.NODE_ENV!=="production"&&!!f.spyListeners.length}function Ne(e){if(process.env.NODE_ENV!=="production"&&f.spyListeners.length)for(var t=f.spyListeners,r=0,n=t.length;r<n;r++)t[r](e)}function B(e){if(process.env.NODE_ENV!=="production"){var t=ue({},e,{spyReportStart:!0});Ne(t)}}var zi={type:"report-end",spyReportEnd:!0};function M(e){process.env.NODE_ENV!=="production"&&Ne(e?ue({},e,{type:"report-end",spyReportEnd:!0}):zi)}function Wi(e){return process.env.NODE_ENV==="production"?(console.warn("[mobx.spy] Is a no-op in production builds"),function(){}):(f.spyListeners.push(e),St(function(){f.spyListeners=f.spyListeners.filter(function(t){return t!==e})}))}var It="action",Zi="action.bound",In="autoAction",Xi="autoAction.bound",Yi="<unnamed action>",Ut=Ke(It),Ji=Ke(Zi,{bound:!0}),$t=Ke(In,{autoAction:!0}),Qi=Ke(Xi,{autoAction:!0,bound:!0});function Un(e){var t=function(n,i){if(S(n))return ye(n.name||Yi,n,e);if(S(i))return ye(n,i,e);if(Fe(i))return(e?$t:Ut).decorate_20223_(n,i);if(be(i))return $e(n,i,e?$t:Ut);if(be(n))return re(Ke(e?In:It,{name:n,autoAction:e}));process.env.NODE_ENV!=="production"&&p("Invalid arguments for `action`")};return t}var Te=Un(!1);Object.assign(Te,Ut);var qe=Un(!0);Object.assign(qe,$t),Te.bound=re(Ji),qe.bound=re(Qi);function xe(e){return S(e)&&e.isMobxAction===!0}function eo(e,t){var r,n,i,o;t===void 0&&(t=sn),process.env.NODE_ENV!=="production"&&(S(e)||p("Autorun expects a function as first argument"),xe(e)&&p("Autorun does not accept actions since actions are untrackable"));var s=(r=(n=t)==null?void 0:n.name)!=null?r:process.env.NODE_ENV!=="production"?e.name||"Autorun@"+W():"Autorun",a=!t.scheduler&&!t.delay,u;if(a)u=new le(s,function(){this.track(v)},t.onError,t.requiresObservable);else{var l=no(t),d=!1;u=new le(s,function(){d||(d=!0,l(function(){d=!1,u.isDisposed||u.track(v)}))},t.onError,t.requiresObservable)}function v(){e(u)}return(i=t)!=null&&(i=i.signal)!=null&&i.aborted||u.schedule_(),u.getDisposer_((o=t)==null?void 0:o.signal)}var to=function(t){return t()};function no(e){return e.scheduler?e.scheduler:e.delay?function(t){return setTimeout(t,e.delay)}:to}var ro="onBO",io="onBUO";function oo(e,t,r){return Fn(ro,e,t,r)}function $n(e,t,r){return Fn(io,e,t,r)}function Fn(e,t,r,n){var i=Me(t),o=S(n)?n:r,s=e+"L";return i[s]?i[s].add(o):i[s]=new Set([o]),function(){var a=i[s];a&&(a.delete(o),a.size===0&&delete i[s])}}var so="never",gt="always",ao="observed";function uo(e){e.isolateGlobalState===!0&&Fi();var t=e.useProxies,r=e.enforceActions;if(t!==void 0&&(f.useProxies=t===gt?!0:t===so?!1:typeof Proxy<"u"),t==="ifavailable"&&(f.verifyProxies=!0),r!==void 0){var n=r===gt?gt:r===ao;f.enforceActions=n,f.allowStateChanges=!(n===!0||n===gt)}["computedRequiresReaction","reactionRequiresObservable","observableRequiresReaction","disableErrorBoundaries","safeDescriptors"].forEach(function(i){i in e&&(f[i]=!!e[i])}),f.allowStateReads=!f.observableRequiresReaction,process.env.NODE_ENV!=="production"&&f.disableErrorBoundaries===!0&&console.warn("WARNING: Debug feature only. MobX will NOT recover from errors when `disableErrorBoundaries` is enabled."),e.reactionScheduler&&Ri(e.reactionScheduler)}function Kn(e,t,r,n){process.env.NODE_ENV!=="production"&&(arguments.length>4&&p("'extendObservable' expected 2-4 arguments"),typeof e!="object"&&p("'extendObservable' expects an object as first argument"),he(e)&&p("'extendObservable' should not be used on maps, use map.merge instead"),T(t)||p("'extendObservable' only accepts plain objects as second argument"),(Re(t)||Re(r))&&p("Extending an object with another observable (object) is not supported"));var i=Fr(t);return _e(function(){var o=Se(e,n)[_];Ve(i).forEach(function(s){o.extend_(s,i[s],r&&s in r?r[s]:!0)})}),e}function Gn(e,t){return qn(Me(e,t))}function qn(e){var t={name:e.name_};return e.observing_&&e.observing_.length>0&&(t.dependencies=co(e.observing_).map(qn)),t}function co(e){return Array.from(new Set(e))}var lo=0;function Hn(){this.message="FLOW_CANCELLED"}Hn.prototype=Object.create(Error.prototype);var Ft=_n("flow"),fo=_n("flow.bound",{bound:!0}),Pe=Object.assign(function(t,r){if(Fe(r))return Ft.decorate_20223_(t,r);if(be(r))return $e(t,r,Ft);process.env.NODE_ENV!=="production"&&arguments.length!==1&&p("Flow expects single argument with generator function");var n=t,i=n.name||"<unnamed flow>",o=function(){var a=this,u=arguments,l=++lo,d=Te(i+" - runid: "+l+" - init",n).apply(a,u),v,h=void 0,b=new Promise(function(g,O){var E=0;v=O;function L(A){h=void 0;var $;try{$=Te(i+" - runid: "+l+" - yield "+E++,d.next).call(d,A)}catch(Ce){return O(Ce)}C($)}function se(A){h=void 0;var $;try{$=Te(i+" - runid: "+l+" - yield "+E++,d.throw).call(d,A)}catch(Ce){return O(Ce)}C($)}function C(A){if(S(A?.then)){A.then(C,O);return}return A.done?g(A.value):(h=Promise.resolve(A.value),h.then(L,se))}L(void 0)});return b.cancel=Te(i+" - runid: "+l+" - cancel",function(){try{h&&Rn(h);var g=d.return(void 0),O=Promise.resolve(g.value);O.then(we,we),Rn(O),v(new Hn)}catch(E){v(E)}}),b};return o.isMobXFlow=!0,o},Ft);Pe.bound=re(fo);function Rn(e){S(e.cancel)&&e.cancel()}function He(e){return e?.isMobXFlow===!0}function po(e,t){return e?Be(e)||!!e[_]||Dt(e)||bt(e)||dt(e):!1}function Re(e){return process.env.NODE_ENV!=="production"&&arguments.length!==1&&p("isObservable expects only 1 argument. Use isObservableProp to inspect the observability of a property"),po(e)}function vo(){if(process.env.NODE_ENV!=="production"){for(var e=!1,t=arguments.length,r=new Array(t),n=0;n<t;n++)r[n]=arguments[n];typeof r[r.length-1]=="boolean"&&(e=r.pop());var i=ho(r);if(!i)return p("'trace(break?)' can only be used inside a tracked computed value or a Reaction. Consider passing in the computed value or reaction explicitly");i.isTracing_===G.NONE&&console.log("[mobx.trace] '"+i.name_+"' tracing enabled"),i.isTracing_=e?G.BREAK:G.LOG}}function ho(e){switch(e.length){case 0:return f.trackingDerivation;case 1:return Me(e[0]);case 2:return Me(e[0],e[1])}}function fe(e,t){t===void 0&&(t=void 0),q();try{return e.apply(t)}finally{H()}}function Ae(e){return e[_]}var _o={has:function(t,r){return process.env.NODE_ENV!=="production"&&f.trackingDerivation&&Ie("detect new properties using the 'in' operator. Use 'has' from 'mobx' instead."),Ae(t).has_(r)},get:function(t,r){return Ae(t).get_(r)},set:function(t,r,n){var i;return be(r)?(process.env.NODE_ENV!=="production"&&!Ae(t).values_.has(r)&&Ie("add a new observable property through direct assignment. Use 'set' from 'mobx' instead."),(i=Ae(t).set_(r,n,!0))!=null?i:!0):!1},deleteProperty:function(t,r){var n;return process.env.NODE_ENV!=="production"&&Ie("delete properties from an observable object. Use 'remove' from 'mobx' instead."),be(r)?(n=Ae(t).delete_(r,!0))!=null?n:!0:!1},defineProperty:function(t,r,n){var i;return process.env.NODE_ENV!=="production"&&Ie("define property on an observable object. Use 'defineProperty' from 'mobx' instead."),(i=Ae(t).defineProperty_(r,n))!=null?i:!0},ownKeys:function(t){return process.env.NODE_ENV!=="production"&&f.trackingDerivation&&Ie("iterate keys to detect added / removed properties. Use 'keys' from 'mobx' instead."),Ae(t).ownKeys_()},preventExtensions:function(t){p(13)}};function bo(e,t){var r,n;return an(),e=Se(e,t),(n=(r=e[_]).proxy_)!=null?n:r.proxy_=new Proxy(e,_o)}function R(e){return e.interceptors_!==void 0&&e.interceptors_.length>0}function ze(e,t){var r=e.interceptors_||(e.interceptors_=[]);return r.push(t),St(function(){var n=r.indexOf(t);n!==-1&&r.splice(n,1)})}function z(e,t){var r=Ee();try{for(var n=[].concat(e.interceptors_||[]),i=0,o=n.length;i<o&&(t=n[i](t),t&&!t.type&&p(14),!!t);i++);return t}finally{ce(r)}}function Z(e){return e.changeListeners_!==void 0&&e.changeListeners_.length>0}function We(e,t){var r=e.changeListeners_||(e.changeListeners_=[]);return r.push(t),St(function(){var n=r.indexOf(t);n!==-1&&r.splice(n,1)})}function X(e,t){var r=Ee(),n=e.changeListeners_;if(n){n=n.slice();for(var i=0,o=n.length;i<o;i++)n[i](t);ce(r)}}function go(e,t,r){return _e(function(){var n,i=Se(e,r)[_];process.env.NODE_ENV!=="production"&&t&&e[j]&&p("makeObservable second arg must be nullish when using decorators. Mixing @decorator syntax with annotations is not supported."),(n=t)!=null||(t=zr(e)),Ve(t).forEach(function(o){return i.make_(o,t[o])})}),e}var Kt=Symbol("mobx-keys");function pe(e,t,r){return process.env.NODE_ENV!=="production"&&(!T(e)&&!T(Object.getPrototypeOf(e))&&p("'makeAutoObservable' can only be used for classes that don't have a superclass"),Be(e)&&p("makeAutoObservable can only be used on objects not already made observable")),T(e)?Kn(e,e,t,r):(_e(function(){var n=Se(e,r)[_];if(!e[Kt]){var i=Object.getPrototypeOf(e),o=new Set([].concat(Ve(e),Ve(i)));o.delete("constructor"),o.delete(_),Ue(i,Kt,o)}e[Kt].forEach(function(s){return n.make_(s,t&&s in t?t[s]:!0)})}),e)}var zn="splice",Y="update",mo=1e4,yo={get:function(t,r){var n=t[_];return r===_?n:r==="length"?n.getArrayLength_():typeof r=="string"&&!isNaN(r)?n.get_(parseInt(r)):F(mt,r)?mt[r]:t[r]},set:function(t,r,n){var i=t[_];return r==="length"&&i.setArrayLength_(n),typeof r=="symbol"||isNaN(r)?t[r]=n:i.set_(parseInt(r),n),!0},preventExtensions:function(){p(15)}},Gt=(function(){function e(r,n,i,o){r===void 0&&(r=process.env.NODE_ENV!=="production"?"ObservableArray@"+W():"ObservableArray"),this.owned_=void 0,this.legacyMode_=void 0,this.atom_=void 0,this.values_=[],this.interceptors_=void 0,this.changeListeners_=void 0,this.enhancer_=void 0,this.dehancer=void 0,this.proxy_=void 0,this.lastKnownLength_=0,this.owned_=i,this.legacyMode_=o,this.atom_=new de(r),this.enhancer_=function(s,a){return n(s,a,process.env.NODE_ENV!=="production"?r+"[..]":"ObservableArray[..]")}}var t=e.prototype;return t.dehanceValue_=function(n){return this.dehancer!==void 0?this.dehancer(n):n},t.dehanceValues_=function(n){return this.dehancer!==void 0&&n.length>0?n.map(this.dehancer):n},t.intercept_=function(n){return ze(this,n)},t.observe_=function(n,i){return i===void 0&&(i=!1),i&&n({observableKind:"array",object:this.proxy_,debugObjectName:this.atom_.name_,type:"splice",index:0,added:this.values_.slice(),addedCount:this.values_.length,removed:[],removedCount:0}),We(this,n)},t.getArrayLength_=function(){return this.atom_.reportObserved(),this.values_.length},t.setArrayLength_=function(n){(typeof n!="number"||isNaN(n)||n<0)&&p("Out of range: "+n);var i=this.values_.length;if(n!==i)if(n>i){for(var o=new Array(n-i),s=0;s<n-i;s++)o[s]=void 0;this.spliceWithArray_(i,0,o)}else this.spliceWithArray_(n,i-n)},t.updateArrayLength_=function(n,i){n!==this.lastKnownLength_&&p(16),this.lastKnownLength_+=i,this.legacyMode_&&i>0&&sr(n+i+1)},t.spliceWithArray_=function(n,i,o){var s=this;ie(this.atom_);var a=this.values_.length;if(n===void 0?n=0:n>a?n=a:n<0&&(n=Math.max(0,a+n)),arguments.length===1?i=a-n:i==null?i=0:i=Math.max(0,Math.min(i,a-n)),o===void 0&&(o=tt),R(this)){var u=z(this,{object:this.proxy_,type:zn,index:n,removedCount:i,added:o});if(!u)return tt;i=u.removedCount,o=u.added}if(o=o.length===0?o:o.map(function(v){return s.enhancer_(v,void 0)}),this.legacyMode_||process.env.NODE_ENV!=="production"){var l=o.length-i;this.updateArrayLength_(a,l)}var d=this.spliceItemsIntoValues_(n,i,o);return(i!==0||o.length!==0)&&this.notifyArraySplice_(n,o,d),this.dehanceValues_(d)},t.spliceItemsIntoValues_=function(n,i,o){if(o.length<mo){var s;return(s=this.values_).splice.apply(s,[n,i].concat(o))}else{var a=this.values_.slice(n,n+i),u=this.values_.slice(n+i);this.values_.length+=o.length-i;for(var l=0;l<o.length;l++)this.values_[n+l]=o[l];for(var d=0;d<u.length;d++)this.values_[n+o.length+d]=u[d];return a}},t.notifyArrayChildUpdate_=function(n,i,o){var s=!this.owned_&&V(),a=Z(this),u=a||s?{observableKind:"array",object:this.proxy_,type:Y,debugObjectName:this.atom_.name_,index:n,newValue:i,oldValue:o}:null;process.env.NODE_ENV!=="production"&&s&&B(u),this.atom_.reportChanged(),a&&X(this,u),process.env.NODE_ENV!=="production"&&s&&M()},t.notifyArraySplice_=function(n,i,o){var s=!this.owned_&&V(),a=Z(this),u=a||s?{observableKind:"array",object:this.proxy_,debugObjectName:this.atom_.name_,type:zn,index:n,removed:o,added:i,removedCount:o.length,addedCount:i.length}:null;process.env.NODE_ENV!=="production"&&s&&B(u),this.atom_.reportChanged(),a&&X(this,u),process.env.NODE_ENV!=="production"&&s&&M()},t.get_=function(n){if(this.legacyMode_&&n>=this.values_.length){console.warn(process.env.NODE_ENV!=="production"?"[mobx.array] Attempt to read an array index ("+n+") that is out of bounds ("+this.values_.length+"). Please check length first. Out of bound indices will not be tracked by MobX":"[mobx] Out of bounds read: "+n);return}return this.atom_.reportObserved(),this.dehanceValue_(this.values_[n])},t.set_=function(n,i){var o=this.values_;if(this.legacyMode_&&n>o.length&&p(17,n,o.length),n<o.length){ie(this.atom_);var s=o[n];if(R(this)){var a=z(this,{type:Y,object:this.proxy_,index:n,newValue:i});if(!a)return;i=a.newValue}i=this.enhancer_(i,s);var u=i!==s;u&&(o[n]=i,this.notifyArrayChildUpdate_(n,i,s))}else{for(var l=new Array(n+1-o.length),d=0;d<l.length-1;d++)l[d]=void 0;l[l.length-1]=i,this.spliceWithArray_(o.length,0,l)}},e})();function Oo(e,t,r,n){return r===void 0&&(r=process.env.NODE_ENV!=="production"?"ObservableArray@"+W():"ObservableArray"),n===void 0&&(n=!1),an(),_e(function(){var i=new Gt(r,t,n,!1);cn(i.values_,_,i);var o=new Proxy(i.values_,yo);return i.proxy_=o,e&&e.length&&i.spliceWithArray_(0,0,e),o})}var mt={clear:function(){return this.splice(0)},replace:function(t){var r=this[_];return r.spliceWithArray_(0,r.values_.length,t)},toJSON:function(){return this.slice()},splice:function(t,r){for(var n=arguments.length,i=new Array(n>2?n-2:0),o=2;o<n;o++)i[o-2]=arguments[o];var s=this[_];switch(arguments.length){case 0:return[];case 1:return s.spliceWithArray_(t);case 2:return s.spliceWithArray_(t,r)}return s.spliceWithArray_(t,r,i)},spliceWithArray:function(t,r,n){return this[_].spliceWithArray_(t,r,n)},push:function(){for(var t=this[_],r=arguments.length,n=new Array(r),i=0;i<r;i++)n[i]=arguments[i];return t.spliceWithArray_(t.values_.length,0,n),t.values_.length},pop:function(){return this.splice(Math.max(this[_].values_.length-1,0),1)[0]},shift:function(){return this.splice(0,1)[0]},unshift:function(){for(var t=this[_],r=arguments.length,n=new Array(r),i=0;i<r;i++)n[i]=arguments[i];return t.spliceWithArray_(0,0,n),t.values_.length},reverse:function(){return f.trackingDerivation&&p(37,"reverse"),this.replace(this.slice().reverse()),this},sort:function(){f.trackingDerivation&&p(37,"sort");var t=this.slice();return t.sort.apply(t,arguments),this.replace(t),this},remove:function(t){var r=this[_],n=r.dehanceValues_(r.values_).indexOf(t);return n>-1?(this.splice(n,1),!0):!1}};N("at",k),N("concat",k),N("flat",k),N("includes",k),N("indexOf",k),N("join",k),N("lastIndexOf",k),N("slice",k),N("toString",k),N("toLocaleString",k),N("toSorted",k),N("toSpliced",k),N("with",k),N("every",J),N("filter",J),N("find",J),N("findIndex",J),N("findLast",J),N("findLastIndex",J),N("flatMap",J),N("forEach",J),N("map",J),N("some",J),N("toReversed",J),N("reduce",Wn),N("reduceRight",Wn);function N(e,t){typeof Array.prototype[e]=="function"&&(mt[e]=t(e))}function k(e){return function(){var t=this[_];t.atom_.reportObserved();var r=t.dehanceValues_(t.values_);return r[e].apply(r,arguments)}}function J(e){return function(t,r){var n=this,i=this[_];i.atom_.reportObserved();var o=i.dehanceValues_(i.values_);return o[e](function(s,a){return t.call(r,s,a,n)})}}function Wn(e){return function(){var t=this,r=this[_];r.atom_.reportObserved();var n=r.dehanceValues_(r.values_),i=arguments[0];return arguments[0]=function(o,s,a){return i(o,s,a,t)},n[e].apply(n,arguments)}}var Eo=ge("ObservableArrayAdministration",Gt);function yt(e){return nt(e)&&Eo(e[_])}var No={},ve="add",Ot="delete",Zn=(function(){function e(r,n,i){var o=this;n===void 0&&(n=me),i===void 0&&(i=process.env.NODE_ENV!=="production"?"ObservableMap@"+W():"ObservableMap"),this.enhancer_=void 0,this.name_=void 0,this[_]=No,this.data_=void 0,this.hasMap_=void 0,this.keysAtom_=void 0,this.interceptors_=void 0,this.changeListeners_=void 0,this.dehancer=void 0,this.enhancer_=n,this.name_=i,S(Map)||p(18),_e(function(){o.keysAtom_=vn(process.env.NODE_ENV!=="production"?o.name_+".keys()":"ObservableMap.keys()"),o.data_=new Map,o.hasMap_=new Map,r&&o.merge(r)})}var t=e.prototype;return t.has_=function(n){return this.data_.has(n)},t.has=function(n){var i=this;if(!f.trackingDerivation)return this.has_(n);var o=this.hasMap_.get(n);if(!o){var s=o=new Oe(this.has_(n),ot,process.env.NODE_ENV!=="production"?this.name_+"."+Ct(n)+"?":"ObservableMap.key?",!1);this.hasMap_.set(n,s),$n(s,function(){return i.hasMap_.delete(n)})}return o.get()},t.set=function(n,i){var o=this.has_(n);if(R(this)){var s=z(this,{type:o?Y:ve,object:this,newValue:i,name:n});if(!s)return this;i=s.newValue}return o?this.updateValue_(n,i):this.addValue_(n,i),this},t.delete=function(n){var i=this;if(ie(this.keysAtom_),R(this)){var o=z(this,{type:Ot,object:this,name:n});if(!o)return!1}if(this.has_(n)){var s=V(),a=Z(this),u=a||s?{observableKind:"map",debugObjectName:this.name_,type:Ot,object:this,oldValue:this.data_.get(n).value_,name:n}:null;return process.env.NODE_ENV!=="production"&&s&&B(u),fe(function(){var l;i.keysAtom_.reportChanged(),(l=i.hasMap_.get(n))==null||l.setNewValue_(!1);var d=i.data_.get(n);d.setNewValue_(void 0),i.data_.delete(n)}),a&&X(this,u),process.env.NODE_ENV!=="production"&&s&&M(),!0}return!1},t.updateValue_=function(n,i){var o=this.data_.get(n);if(i=o.prepareNewValue_(i),i!==f.UNCHANGED){var s=V(),a=Z(this),u=a||s?{observableKind:"map",debugObjectName:this.name_,type:Y,object:this,oldValue:o.value_,name:n,newValue:i}:null;process.env.NODE_ENV!=="production"&&s&&B(u),o.setNewValue_(i),a&&X(this,u),process.env.NODE_ENV!=="production"&&s&&M()}},t.addValue_=function(n,i){var o=this;ie(this.keysAtom_),fe(function(){var l,d=new Oe(i,o.enhancer_,process.env.NODE_ENV!=="production"?o.name_+"."+Ct(n):"ObservableMap.key",!1);o.data_.set(n,d),i=d.value_,(l=o.hasMap_.get(n))==null||l.setNewValue_(!0),o.keysAtom_.reportChanged()});var s=V(),a=Z(this),u=a||s?{observableKind:"map",debugObjectName:this.name_,type:ve,object:this,name:n,newValue:i}:null;process.env.NODE_ENV!=="production"&&s&&B(u),a&&X(this,u),process.env.NODE_ENV!=="production"&&s&&M()},t.get=function(n){return this.has(n)?this.dehanceValue_(this.data_.get(n).get()):this.dehanceValue_(void 0)},t.dehanceValue_=function(n){return this.dehancer!==void 0?this.dehancer(n):n},t.keys=function(){return this.keysAtom_.reportObserved(),this.data_.keys()},t.values=function(){var n=this,i=this.keys();return Xn({next:function(){var s=i.next(),a=s.done,u=s.value;return{done:a,value:a?void 0:n.get(u)}}})},t.entries=function(){var n=this,i=this.keys();return Xn({next:function(){var s=i.next(),a=s.done,u=s.value;return{done:a,value:a?void 0:[u,n.get(u)]}}})},t[Symbol.iterator]=function(){return this.entries()},t.forEach=function(n,i){for(var o=je(this),s;!(s=o()).done;){var a=s.value,u=a[0],l=a[1];n.call(i,l,u,this)}},t.merge=function(n){var i=this;return he(n)&&(n=new Map(n)),fe(function(){T(n)?$r(n).forEach(function(o){return i.set(o,n[o])}):Array.isArray(n)?n.forEach(function(o){var s=o[0],a=o[1];return i.set(s,a)}):De(n)?(Ur(n)||p(19,n),n.forEach(function(o,s){return i.set(s,o)})):n!=null&&p(20,n)}),this},t.clear=function(){var n=this;fe(function(){wn(function(){for(var i=je(n.keys()),o;!(o=i()).done;){var s=o.value;n.delete(s)}})})},t.replace=function(n){var i=this;return fe(function(){for(var o=Ao(n),s=new Map,a=!1,u=je(i.data_.keys()),l;!(l=u()).done;){var d=l.value;if(!o.has(d)){var v=i.delete(d);if(v)a=!0;else{var h=i.data_.get(d);s.set(d,h)}}}for(var b=je(o.entries()),g;!(g=b()).done;){var O=g.value,E=O[0],L=O[1],se=i.data_.has(E);if(i.set(E,L),i.data_.has(E)){var C=i.data_.get(E);s.set(E,C),se||(a=!0)}}if(!a)if(i.data_.size!==s.size)i.keysAtom_.reportChanged();else for(var A=i.data_.keys(),$=s.keys(),Ce=A.next(),jr=$.next();!Ce.done;){if(Ce.value!==jr.value){i.keysAtom_.reportChanged();break}Ce=A.next(),jr=$.next()}i.data_=s}),this},t.toString=function(){return"[object ObservableMap]"},t.toJSON=function(){return Array.from(this)},t.observe_=function(n,i){return process.env.NODE_ENV!=="production"&&i===!0&&p("`observe` doesn't support fireImmediately=true in combination with maps."),We(this,n)},t.intercept_=function(n){return ze(this,n)},Le(e,[{key:"size",get:function(){return this.keysAtom_.reportObserved(),this.data_.size}},{key:Symbol.toStringTag,get:function(){return"Map"}}])})(),he=ge("ObservableMap",Zn);function Xn(e){return e[Symbol.toStringTag]="MapIterator",Wt(e)}function Ao(e){if(De(e)||he(e))return e;if(Array.isArray(e))return new Map(e);if(T(e)){var t=new Map;for(var r in e)t.set(r,e[r]);return t}else return p(21,e)}var So={},Yn=(function(){function e(r,n,i){var o=this;n===void 0&&(n=me),i===void 0&&(i=process.env.NODE_ENV!=="production"?"ObservableSet@"+W():"ObservableSet"),this.name_=void 0,this[_]=So,this.data_=new Set,this.atom_=void 0,this.changeListeners_=void 0,this.interceptors_=void 0,this.dehancer=void 0,this.enhancer_=void 0,this.name_=i,S(Set)||p(22),this.enhancer_=function(s,a){return n(s,a,i)},_e(function(){o.atom_=vn(o.name_),r&&o.replace(r)})}var t=e.prototype;return t.dehanceValue_=function(n){return this.dehancer!==void 0?this.dehancer(n):n},t.clear=function(){var n=this;fe(function(){wn(function(){for(var i=je(n.data_.values()),o;!(o=i()).done;){var s=o.value;n.delete(s)}})})},t.forEach=function(n,i){for(var o=je(this),s;!(s=o()).done;){var a=s.value;n.call(i,a,a,this)}},t.add=function(n){var i=this;if(ie(this.atom_),R(this)){var o=z(this,{type:ve,object:this,newValue:n});if(!o)return this;n=o.newValue}if(!this.has(n)){fe(function(){i.data_.add(i.enhancer_(n,void 0)),i.atom_.reportChanged()});var s=process.env.NODE_ENV!=="production"&&V(),a=Z(this),u=a||s?{observableKind:"set",debugObjectName:this.name_,type:ve,object:this,newValue:n}:null;s&&process.env.NODE_ENV!=="production"&&B(u),a&&X(this,u),s&&process.env.NODE_ENV!=="production"&&M()}return this},t.delete=function(n){var i=this;if(R(this)){var o=z(this,{type:Ot,object:this,oldValue:n});if(!o)return!1}if(this.has(n)){var s=process.env.NODE_ENV!=="production"&&V(),a=Z(this),u=a||s?{observableKind:"set",debugObjectName:this.name_,type:Ot,object:this,oldValue:n}:null;return s&&process.env.NODE_ENV!=="production"&&B(u),fe(function(){i.atom_.reportChanged(),i.data_.delete(n)}),a&&X(this,u),s&&process.env.NODE_ENV!=="production"&&M(),!0}return!1},t.has=function(n){return this.atom_.reportObserved(),this.data_.has(this.dehanceValue_(n))},t.entries=function(){var n=this.values();return Jn({next:function(){var o=n.next(),s=o.value,a=o.done;return a?{value:void 0,done:a}:{value:[s,s],done:a}}})},t.keys=function(){return this.values()},t.values=function(){this.atom_.reportObserved();var n=this,i=this.data_.values();return Jn({next:function(){var s=i.next(),a=s.value,u=s.done;return u?{value:void 0,done:u}:{value:n.dehanceValue_(a),done:u}}})},t.intersection=function(n){if(ae(n)&&!oe(n))return n.intersection(this);var i=new Set(this);return i.intersection(n)},t.union=function(n){if(ae(n)&&!oe(n))return n.union(this);var i=new Set(this);return i.union(n)},t.difference=function(n){return new Set(this).difference(n)},t.symmetricDifference=function(n){if(ae(n)&&!oe(n))return n.symmetricDifference(this);var i=new Set(this);return i.symmetricDifference(n)},t.isSubsetOf=function(n){return new Set(this).isSubsetOf(n)},t.isSupersetOf=function(n){return new Set(this).isSupersetOf(n)},t.isDisjointFrom=function(n){if(ae(n)&&!oe(n))return n.isDisjointFrom(this);var i=new Set(this);return i.isDisjointFrom(n)},t.replace=function(n){var i=this;return oe(n)&&(n=new Set(n)),fe(function(){Array.isArray(n)?(i.clear(),n.forEach(function(o){return i.add(o)})):ae(n)?(i.clear(),n.forEach(function(o){return i.add(o)})):n!=null&&p("Cannot initialize set from "+n)}),this},t.observe_=function(n,i){return process.env.NODE_ENV!=="production"&&i===!0&&p("`observe` doesn't support fireImmediately=true in combination with sets."),We(this,n)},t.intercept_=function(n){return ze(this,n)},t.toJSON=function(){return Array.from(this)},t.toString=function(){return"[object ObservableSet]"},t[Symbol.iterator]=function(){return this.values()},Le(e,[{key:"size",get:function(){return this.atom_.reportObserved(),this.data_.size}},{key:Symbol.toStringTag,get:function(){return"Set"}}])})(),oe=ge("ObservableSet",Yn);function Jn(e){return e[Symbol.toStringTag]="SetIterator",Wt(e)}var Qn=Object.create(null),er="remove",qt=(function(){function e(r,n,i,o){n===void 0&&(n=new Map),o===void 0&&(o=_i),this.target_=void 0,this.values_=void 0,this.name_=void 0,this.defaultAnnotation_=void 0,this.keysAtom_=void 0,this.changeListeners_=void 0,this.interceptors_=void 0,this.proxy_=void 0,this.isPlainObject_=void 0,this.appliedAnnotations_=void 0,this.pendingKeys_=void 0,this.target_=r,this.values_=n,this.name_=i,this.defaultAnnotation_=o,this.keysAtom_=new de(process.env.NODE_ENV!=="production"?this.name_+".keys":"ObservableObject.keys"),this.isPlainObject_=T(this.target_),process.env.NODE_ENV!=="production"&&!dr(this.defaultAnnotation_)&&p("defaultAnnotation must be valid annotation"),process.env.NODE_ENV!=="production"&&(this.appliedAnnotations_={})}var t=e.prototype;return t.getObservablePropValue_=function(n){return this.values_.get(n).get()},t.setObservablePropValue_=function(n,i){var o=this.values_.get(n);if(o instanceof K)return o.set(i),!0;if(R(this)){var s=z(this,{type:Y,object:this.proxy_||this.target_,name:n,newValue:i});if(!s)return null;i=s.newValue}if(i=o.prepareNewValue_(i),i!==f.UNCHANGED){var a=Z(this),u=process.env.NODE_ENV!=="production"&&V(),l=a||u?{type:Y,observableKind:"object",debugObjectName:this.name_,object:this.proxy_||this.target_,oldValue:o.value_,name:n,newValue:i}:null;process.env.NODE_ENV!=="production"&&u&&B(l),o.setNewValue_(i),a&&X(this,l),process.env.NODE_ENV!=="production"&&u&&M()}return!0},t.get_=function(n){return f.trackingDerivation&&!F(this.target_,n)&&this.has_(n),this.target_[n]},t.set_=function(n,i,o){return o===void 0&&(o=!1),F(this.target_,n)?this.values_.has(n)?this.setObservablePropValue_(n,i):o?Reflect.set(this.target_,n,i):(this.target_[n]=i,!0):this.extend_(n,{value:i,enumerable:!0,writable:!0,configurable:!0},this.defaultAnnotation_,o)},t.has_=function(n){if(!f.trackingDerivation)return n in this.target_;this.pendingKeys_||(this.pendingKeys_=new Map);var i=this.pendingKeys_.get(n);return i||(i=new Oe(n in this.target_,ot,process.env.NODE_ENV!=="production"?this.name_+"."+Ct(n)+"?":"ObservableObject.key?",!1),this.pendingKeys_.set(n,i)),i.get()},t.make_=function(n,i){if(i===!0&&(i=this.defaultAnnotation_),i!==!1){if(rr(this,i,n),!(n in this.target_)){var o;if((o=this.target_[j])!=null&&o[n])return;p(1,i.annotationType_,this.name_+"."+n.toString())}for(var s=this.target_;s&&s!==et;){var a=Qe(s,n);if(a){var u=i.make_(this,n,a,s);if(u===0)return;if(u===1)break}s=Object.getPrototypeOf(s)}nr(this,i,n)}},t.extend_=function(n,i,o,s){if(s===void 0&&(s=!1),o===!0&&(o=this.defaultAnnotation_),o===!1)return this.defineProperty_(n,i,s);rr(this,o,n);var a=o.extend_(this,n,i,s);return a&&nr(this,o,n),a},t.defineProperty_=function(n,i,o){o===void 0&&(o=!1),ie(this.keysAtom_);try{q();var s=this.delete_(n);if(!s)return s;if(R(this)){var a=z(this,{object:this.proxy_||this.target_,name:n,type:ve,newValue:i.value});if(!a)return null;var u=a.newValue;i.value!==u&&(i=ue({},i,{value:u}))}if(o){if(!Reflect.defineProperty(this.target_,n,i))return!1}else ne(this.target_,n,i);this.notifyPropertyAddition_(n,i.value)}finally{H()}return!0},t.defineObservableProperty_=function(n,i,o,s){s===void 0&&(s=!1),ie(this.keysAtom_);try{q();var a=this.delete_(n);if(!a)return a;if(R(this)){var u=z(this,{object:this.proxy_||this.target_,name:n,type:ve,newValue:i});if(!u)return null;i=u.newValue}var l=tr(n),d={configurable:f.safeDescriptors?this.isPlainObject_:!0,enumerable:!0,get:l.get,set:l.set};if(s){if(!Reflect.defineProperty(this.target_,n,d))return!1}else ne(this.target_,n,d);var v=new Oe(i,o,process.env.NODE_ENV!=="production"?this.name_+"."+n.toString():"ObservableObject.key",!1);this.values_.set(n,v),this.notifyPropertyAddition_(n,v.value_)}finally{H()}return!0},t.defineComputedProperty_=function(n,i,o){o===void 0&&(o=!1),ie(this.keysAtom_);try{q();var s=this.delete_(n);if(!s)return s;if(R(this)){var a=z(this,{object:this.proxy_||this.target_,name:n,type:ve,newValue:void 0});if(!a)return null}i.name||(i.name=process.env.NODE_ENV!=="production"?this.name_+"."+n.toString():"ObservableObject.key"),i.context=this.proxy_||this.target_;var u=tr(n),l={configurable:f.safeDescriptors?this.isPlainObject_:!0,enumerable:!1,get:u.get,set:u.set};if(o){if(!Reflect.defineProperty(this.target_,n,l))return!1}else ne(this.target_,n,l);this.values_.set(n,new K(i)),this.notifyPropertyAddition_(n,void 0)}finally{H()}return!0},t.delete_=function(n,i){if(i===void 0&&(i=!1),ie(this.keysAtom_),!F(this.target_,n))return!0;if(R(this)){var o=z(this,{object:this.proxy_||this.target_,name:n,type:er});if(!o)return null}try{var s;q();var a=Z(this),u=process.env.NODE_ENV!=="production"&&V(),l=this.values_.get(n),d=void 0;if(!l&&(a||u)){var v;d=(v=Qe(this.target_,n))==null?void 0:v.value}if(i){if(!Reflect.deleteProperty(this.target_,n))return!1}else delete this.target_[n];if(process.env.NODE_ENV!=="production"&&delete this.appliedAnnotations_[n],l&&(this.values_.delete(n),l instanceof Oe&&(d=l.value_),xn(l)),this.keysAtom_.reportChanged(),(s=this.pendingKeys_)==null||(s=s.get(n))==null||s.set(n in this.target_),a||u){var h={type:er,observableKind:"object",object:this.proxy_||this.target_,debugObjectName:this.name_,oldValue:d,name:n};process.env.NODE_ENV!=="production"&&u&&B(h),a&&X(this,h),process.env.NODE_ENV!=="production"&&u&&M()}}finally{H()}return!0},t.observe_=function(n,i){return process.env.NODE_ENV!=="production"&&i===!0&&p("`observe` doesn't support the fire immediately property for observable objects."),We(this,n)},t.intercept_=function(n){return ze(this,n)},t.notifyPropertyAddition_=function(n,i){var o,s=Z(this),a=process.env.NODE_ENV!=="production"&&V();if(s||a){var u=s||a?{type:ve,observableKind:"object",debugObjectName:this.name_,object:this.proxy_||this.target_,name:n,newValue:i}:null;process.env.NODE_ENV!=="production"&&a&&B(u),s&&X(this,u),process.env.NODE_ENV!=="production"&&a&&M()}(o=this.pendingKeys_)==null||(o=o.get(n))==null||o.set(!0),this.keysAtom_.reportChanged()},t.ownKeys_=function(){return this.keysAtom_.reportObserved(),Ve(this.target_)},t.keys_=function(){return this.keysAtom_.reportObserved(),Object.keys(this.target_)},e})();function Se(e,t){var r;if(process.env.NODE_ENV!=="production"&&t&&Be(e)&&p("Options can't be provided for already observable objects."),F(e,_))return process.env.NODE_ENV!=="production"&&!(ar(e)instanceof qt)&&p("Cannot convert '"+Et(e)+`' into observable object:
27
27
  The target is already observable of different type.
28
- Extending builtins is not supported.`),e;process.env.NODE_ENV!=="production"&&!Object.isExtensible(e)&&p("Cannot make the designated object observable; it is not extensible");var n=(r=t?.name)!=null?r:process.env.NODE_ENV!=="production"?(T(e)?"ObservableObject":e.constructor.name)+"@"+W():"ObservableObject",i=new qt(e,new Map,String(n),Di(t));return Ue(e,_,i),e}var wo=ge("ObservableObjectAdministration",qt);function tr(e){return Qn[e]||(Qn[e]={get:function(){return this[_].getObservablePropValue_(e)},set:function(r){return this[_].setObservablePropValue_(e,r)}})}function Be(e){return nt(e)?wo(e[_]):!1}function nr(e,t,r){var n;process.env.NODE_ENV!=="production"&&(e.appliedAnnotations_[r]=t),(n=e.target_[j])==null||delete n[r]}function rr(e,t,r){if(process.env.NODE_ENV!=="production"&&!dr(t)&&p("Cannot annotate '"+e.name_+"."+r.toString()+"': Invalid annotation."),process.env.NODE_ENV!=="production"&&!st(t)&&F(e.appliedAnnotations_,r)){var n=e.name_+"."+r.toString(),i=e.appliedAnnotations_[r].annotationType_,o=t.annotationType_;p("Cannot apply '"+o+"' to '"+n+"':"+(`
28
+ Extending builtins is not supported.`),e;process.env.NODE_ENV!=="production"&&!Object.isExtensible(e)&&p("Cannot make the designated object observable; it is not extensible");var n=(r=t?.name)!=null?r:process.env.NODE_ENV!=="production"?(T(e)?"ObservableObject":e.constructor.name)+"@"+W():"ObservableObject",i=new qt(e,new Map,String(n),wi(t));return Ue(e,_,i),e}var Co=ge("ObservableObjectAdministration",qt);function tr(e){return Qn[e]||(Qn[e]={get:function(){return this[_].getObservablePropValue_(e)},set:function(r){return this[_].setObservablePropValue_(e,r)}})}function Be(e){return nt(e)?Co(e[_]):!1}function nr(e,t,r){var n;process.env.NODE_ENV!=="production"&&(e.appliedAnnotations_[r]=t),(n=e.target_[j])==null||delete n[r]}function rr(e,t,r){if(process.env.NODE_ENV!=="production"&&!dr(t)&&p("Cannot annotate '"+e.name_+"."+r.toString()+"': Invalid annotation."),process.env.NODE_ENV!=="production"&&!st(t)&&F(e.appliedAnnotations_,r)){var n=e.name_+"."+r.toString(),i=e.appliedAnnotations_[r].annotationType_,o=t.annotationType_;p("Cannot apply '"+o+"' to '"+n+"':"+(`
29
29
  The field is already annotated with '`+i+"'.")+`
30
30
  Re-annotating fields is not allowed.
31
- Use 'override' annotation for methods overridden by subclass.`)}}var Do=or(0),Vo=(function(){var e=!1,t={};return Object.defineProperty(t,"0",{set:function(){e=!0}}),Object.create(t)[0]=1,e===!1})(),Ht=0,ir=function(){};function Lo(e,t){Object.setPrototypeOf?Object.setPrototypeOf(e.prototype,t):e.prototype.__proto__!==void 0?e.prototype.__proto__=t:e.prototype=t}Lo(ir,Array.prototype);var Rt=(function(e){function t(n,i,o,s){var a;return o===void 0&&(o=process.env.NODE_ENV!=="production"?"ObservableArray@"+W():"ObservableArray"),s===void 0&&(s=!1),a=e.call(this)||this,_e(function(){var u=new Gt(o,i,s,!0);u.proxy_=a,cn(a,_,u),n&&n.length&&a.spliceWithArray(0,0,n),Vo&&Object.defineProperty(a,"0",Do)}),a}pn(t,e);var r=t.prototype;return r.concat=function(){this[_].atom_.reportObserved();for(var i=arguments.length,o=new Array(i),s=0;s<i;s++)o[s]=arguments[s];return Array.prototype.concat.apply(this.slice(),o.map(function(a){return yt(a)?a.slice():a}))},r[Symbol.iterator]=function(){var n=this,i=0;return Wt({next:function(){return i<n.length?{value:n[i++],done:!1}:{done:!0,value:void 0}}})},Le(t,[{key:"length",get:function(){return this[_].getArrayLength_()},set:function(i){this[_].setArrayLength_(i)}},{key:Symbol.toStringTag,get:function(){return"Array"}}])})(ir);Object.entries(mt).forEach(function(e){var t=e[0],r=e[1];t!=="concat"&&Ue(Rt.prototype,t,r)});function or(e){return{enumerable:!1,configurable:!0,get:function(){return this[_].get_(e)},set:function(r){this[_].set_(e,r)}}}function jo(e){ne(Rt.prototype,""+e,or(e))}function sr(e){if(e>Ht){for(var t=Ht;t<e+100;t++)jo(t);Ht=e}}sr(1e3);function To(e,t,r){return new Rt(e,t,r)}function Me(e,t){if(typeof e=="object"&&e!==null){if(yt(e))return t!==void 0&&p(23),e[_].atom_;if(oe(e))return e.atom_;if(he(e)){if(t===void 0)return e.keysAtom_;var r=e.data_.get(t)||e.hasMap_.get(t);return r||p(25,t,Et(e)),r}if(Be(e)){if(!t)return p(26);var n=e[_].values_.get(t);return n||p(27,t,Et(e)),n}if(Dt(e)||dt(e)||bt(e))return e}else if(S(e)&&bt(e[_]))return e[_];p(28)}function ar(e,t){if(e||p(29),Dt(e)||dt(e)||bt(e)||he(e)||oe(e))return e;if(e[_])return e[_];p(24,e)}function Et(e,t){var r;if(t!==void 0)r=Me(e,t);else{if(xe(e))return e.name;Be(e)||he(e)||oe(e)?r=ar(e):r=Me(e)}return r.name_}function _e(e){var t=Ee(),r=Tt(!0);q();try{return e()}finally{H(),xt(r),ce(t)}}var ur=et.toString;function cr(e,t,r){return r===void 0&&(r=-1),zt(e,t,r)}function zt(e,t,r,n,i){if(e===t)return e!==0||1/e===1/t;if(e==null||t==null)return!1;if(e!==e)return t!==t;var o=typeof e;if(o!=="function"&&o!=="object"&&typeof t!="object")return!1;var s=ur.call(e);if(s!==ur.call(t))return!1;switch(s){case"[object RegExp]":case"[object String]":return""+e==""+t;case"[object Number]":return+e!=+e?+t!=+t:+e==0?1/+e===1/t:+e==+t;case"[object Date]":case"[object Boolean]":return+e==+t;case"[object Symbol]":return typeof Symbol<"u"&&Symbol.valueOf.call(e)===Symbol.valueOf.call(t);case"[object Map]":case"[object Set]":r>=0&&r++;break}e=lr(e),t=lr(t);var a=s==="[object Array]";if(!a){if(typeof e!="object"||typeof t!="object")return!1;var u=e.constructor,l=t.constructor;if(u!==l&&!(S(u)&&u instanceof u&&S(l)&&l instanceof l)&&"constructor"in e&&"constructor"in t)return!1}if(r===0)return!1;r<0&&(r=-1),n=n||[],i=i||[];for(var d=n.length;d--;)if(n[d]===e)return i[d]===t;if(n.push(e),i.push(t),a){if(d=e.length,d!==t.length)return!1;for(;d--;)if(!zt(e[d],t[d],r-1,n,i))return!1}else{var v=Object.keys(e),h=v.length;if(Object.keys(t).length!==h)return!1;for(var b=0;b<h;b++){var g=v[b];if(!(F(t,g)&&zt(e[g],t[g],r-1,n,i)))return!1}}return n.pop(),i.pop(),!0}function lr(e){return yt(e)?e.slice():De(e)||he(e)||ae(e)||oe(e)?Array.from(e.entries()):e}var fr,xo=((fr=Je().Iterator)==null?void 0:fr.prototype)||{};function Wt(e){return e[Symbol.iterator]=Po,Object.assign(Object.create(xo),e)}function Po(){return this}function dr(e){return e instanceof Object&&typeof e.annotationType_=="string"&&S(e.make_)&&S(e.extend_)}if(["Symbol","Map","Set"].forEach(function(e){var t=Je();typeof t[e]>"u"&&p("MobX requires global '"+e+"' to be available or polyfilled")}),typeof __MOBX_DEVTOOLS_GLOBAL_HOOK__=="object"&&__MOBX_DEVTOOLS_GLOBAL_HOOK__.injectMobx({spy:Zi,extras:{getDebugName:Et},$mobx:_}),!m.useState)throw new Error("mobx-react-lite requires React with Hooks support");if(!mo)throw new Error("mobx-react-lite@3 requires mobx at least version 6 to be available");function Bo(e){e()}function Mo(e){e||(e=Bo,process.env.NODE_ENV!=="production"&&console.warn("[MobX] Failed to get unstable_batched updates from react-dom / react-native")),co({reactionScheduler:e})}function ko(e){return Gn(e)}var Io=1e4,Uo=1e4,$o=(function(){function e(t){var r=this;Object.defineProperty(this,"finalize",{enumerable:!0,configurable:!0,writable:!0,value:t}),Object.defineProperty(this,"registrations",{enumerable:!0,configurable:!0,writable:!0,value:new Map}),Object.defineProperty(this,"sweepTimeout",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"sweep",{enumerable:!0,configurable:!0,writable:!0,value:function(n){n===void 0&&(n=Io),clearTimeout(r.sweepTimeout),r.sweepTimeout=void 0;var i=Date.now();r.registrations.forEach(function(o,s){i-o.registeredAt>=n&&(r.finalize(o.value),r.registrations.delete(s))}),r.registrations.size>0&&r.scheduleSweep()}}),Object.defineProperty(this,"finalizeAllImmediately",{enumerable:!0,configurable:!0,writable:!0,value:function(){r.sweep(0)}})}return Object.defineProperty(e.prototype,"register",{enumerable:!1,configurable:!0,writable:!0,value:function(t,r,n){this.registrations.set(n,{value:r,registeredAt:Date.now()}),this.scheduleSweep()}}),Object.defineProperty(e.prototype,"unregister",{enumerable:!1,configurable:!0,writable:!0,value:function(t){this.registrations.delete(t)}}),Object.defineProperty(e.prototype,"scheduleSweep",{enumerable:!1,configurable:!0,writable:!0,value:function(){this.sweepTimeout===void 0&&(this.sweepTimeout=setTimeout(this.sweep,Uo))}}),e})(),Fo=typeof FinalizationRegistry<"u"?FinalizationRegistry:$o,Zt=new Fo(function(e){var t;(t=e.reaction)===null||t===void 0||t.dispose(),e.reaction=null}),Nt={exports:{}},Xt={};/**
31
+ Use 'override' annotation for methods overridden by subclass.`)}}var wo=or(0),Do=(function(){var e=!1,t={};return Object.defineProperty(t,"0",{set:function(){e=!0}}),Object.create(t)[0]=1,e===!1})(),Ht=0,ir=function(){};function Vo(e,t){Object.setPrototypeOf?Object.setPrototypeOf(e.prototype,t):e.prototype.__proto__!==void 0?e.prototype.__proto__=t:e.prototype=t}Vo(ir,Array.prototype);var Rt=(function(e){function t(n,i,o,s){var a;return o===void 0&&(o=process.env.NODE_ENV!=="production"?"ObservableArray@"+W():"ObservableArray"),s===void 0&&(s=!1),a=e.call(this)||this,_e(function(){var u=new Gt(o,i,s,!0);u.proxy_=a,cn(a,_,u),n&&n.length&&a.spliceWithArray(0,0,n),Do&&Object.defineProperty(a,"0",wo)}),a}pn(t,e);var r=t.prototype;return r.concat=function(){this[_].atom_.reportObserved();for(var i=arguments.length,o=new Array(i),s=0;s<i;s++)o[s]=arguments[s];return Array.prototype.concat.apply(this.slice(),o.map(function(a){return yt(a)?a.slice():a}))},r[Symbol.iterator]=function(){var n=this,i=0;return Wt({next:function(){return i<n.length?{value:n[i++],done:!1}:{done:!0,value:void 0}}})},Le(t,[{key:"length",get:function(){return this[_].getArrayLength_()},set:function(i){this[_].setArrayLength_(i)}},{key:Symbol.toStringTag,get:function(){return"Array"}}])})(ir);Object.entries(mt).forEach(function(e){var t=e[0],r=e[1];t!=="concat"&&Ue(Rt.prototype,t,r)});function or(e){return{enumerable:!1,configurable:!0,get:function(){return this[_].get_(e)},set:function(r){this[_].set_(e,r)}}}function Lo(e){ne(Rt.prototype,""+e,or(e))}function sr(e){if(e>Ht){for(var t=Ht;t<e+100;t++)Lo(t);Ht=e}}sr(1e3);function jo(e,t,r){return new Rt(e,t,r)}function Me(e,t){if(typeof e=="object"&&e!==null){if(yt(e))return t!==void 0&&p(23),e[_].atom_;if(oe(e))return e.atom_;if(he(e)){if(t===void 0)return e.keysAtom_;var r=e.data_.get(t)||e.hasMap_.get(t);return r||p(25,t,Et(e)),r}if(Be(e)){if(!t)return p(26);var n=e[_].values_.get(t);return n||p(27,t,Et(e)),n}if(Dt(e)||dt(e)||bt(e))return e}else if(S(e)&&bt(e[_]))return e[_];p(28)}function ar(e,t){if(e||p(29),Dt(e)||dt(e)||bt(e)||he(e)||oe(e))return e;if(e[_])return e[_];p(24,e)}function Et(e,t){var r;if(t!==void 0)r=Me(e,t);else{if(xe(e))return e.name;Be(e)||he(e)||oe(e)?r=ar(e):r=Me(e)}return r.name_}function _e(e){var t=Ee(),r=Tt(!0);q();try{return e()}finally{H(),xt(r),ce(t)}}var ur=et.toString;function cr(e,t,r){return r===void 0&&(r=-1),zt(e,t,r)}function zt(e,t,r,n,i){if(e===t)return e!==0||1/e===1/t;if(e==null||t==null)return!1;if(e!==e)return t!==t;var o=typeof e;if(o!=="function"&&o!=="object"&&typeof t!="object")return!1;var s=ur.call(e);if(s!==ur.call(t))return!1;switch(s){case"[object RegExp]":case"[object String]":return""+e==""+t;case"[object Number]":return+e!=+e?+t!=+t:+e==0?1/+e===1/t:+e==+t;case"[object Date]":case"[object Boolean]":return+e==+t;case"[object Symbol]":return typeof Symbol<"u"&&Symbol.valueOf.call(e)===Symbol.valueOf.call(t);case"[object Map]":case"[object Set]":r>=0&&r++;break}e=lr(e),t=lr(t);var a=s==="[object Array]";if(!a){if(typeof e!="object"||typeof t!="object")return!1;var u=e.constructor,l=t.constructor;if(u!==l&&!(S(u)&&u instanceof u&&S(l)&&l instanceof l)&&"constructor"in e&&"constructor"in t)return!1}if(r===0)return!1;r<0&&(r=-1),n=n||[],i=i||[];for(var d=n.length;d--;)if(n[d]===e)return i[d]===t;if(n.push(e),i.push(t),a){if(d=e.length,d!==t.length)return!1;for(;d--;)if(!zt(e[d],t[d],r-1,n,i))return!1}else{var v=Object.keys(e),h=v.length;if(Object.keys(t).length!==h)return!1;for(var b=0;b<h;b++){var g=v[b];if(!(F(t,g)&&zt(e[g],t[g],r-1,n,i)))return!1}}return n.pop(),i.pop(),!0}function lr(e){return yt(e)?e.slice():De(e)||he(e)||ae(e)||oe(e)?Array.from(e.entries()):e}var fr,To=((fr=Je().Iterator)==null?void 0:fr.prototype)||{};function Wt(e){return e[Symbol.iterator]=xo,Object.assign(Object.create(To),e)}function xo(){return this}function dr(e){return e instanceof Object&&typeof e.annotationType_=="string"&&S(e.make_)&&S(e.extend_)}if(["Symbol","Map","Set"].forEach(function(e){var t=Je();typeof t[e]>"u"&&p("MobX requires global '"+e+"' to be available or polyfilled")}),typeof __MOBX_DEVTOOLS_GLOBAL_HOOK__=="object"&&__MOBX_DEVTOOLS_GLOBAL_HOOK__.injectMobx({spy:Wi,extras:{getDebugName:Et},$mobx:_}),!m.useState)throw new Error("mobx-react-lite requires React with Hooks support");if(!go)throw new Error("mobx-react-lite@3 requires mobx at least version 6 to be available");function Po(e){e()}function Bo(e){e||(e=Po,process.env.NODE_ENV!=="production"&&console.warn("[MobX] Failed to get unstable_batched updates from react-dom / react-native")),uo({reactionScheduler:e})}function Mo(e){return Gn(e)}var ko=1e4,Io=1e4,Uo=(function(){function e(t){var r=this;Object.defineProperty(this,"finalize",{enumerable:!0,configurable:!0,writable:!0,value:t}),Object.defineProperty(this,"registrations",{enumerable:!0,configurable:!0,writable:!0,value:new Map}),Object.defineProperty(this,"sweepTimeout",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"sweep",{enumerable:!0,configurable:!0,writable:!0,value:function(n){n===void 0&&(n=ko),clearTimeout(r.sweepTimeout),r.sweepTimeout=void 0;var i=Date.now();r.registrations.forEach(function(o,s){i-o.registeredAt>=n&&(r.finalize(o.value),r.registrations.delete(s))}),r.registrations.size>0&&r.scheduleSweep()}}),Object.defineProperty(this,"finalizeAllImmediately",{enumerable:!0,configurable:!0,writable:!0,value:function(){r.sweep(0)}})}return Object.defineProperty(e.prototype,"register",{enumerable:!1,configurable:!0,writable:!0,value:function(t,r,n){this.registrations.set(n,{value:r,registeredAt:Date.now()}),this.scheduleSweep()}}),Object.defineProperty(e.prototype,"unregister",{enumerable:!1,configurable:!0,writable:!0,value:function(t){this.registrations.delete(t)}}),Object.defineProperty(e.prototype,"scheduleSweep",{enumerable:!1,configurable:!0,writable:!0,value:function(){this.sweepTimeout===void 0&&(this.sweepTimeout=setTimeout(this.sweep,Io))}}),e})(),$o=typeof FinalizationRegistry<"u"?FinalizationRegistry:Uo,Zt=new $o(function(e){var t;(t=e.reaction)===null||t===void 0||t.dispose(),e.reaction=null}),Nt={exports:{}},Xt={};/**
32
32
  * @license React
33
33
  * use-sync-external-store-shim.production.js
34
34
  *
@@ -36,7 +36,7 @@ Use 'override' annotation for methods overridden by subclass.`)}}var Do=or(0),Vo
36
36
  *
37
37
  * This source code is licensed under the MIT license found in the
38
38
  * LICENSE file in the root directory of this source tree.
39
- */var pr;function Ko(){if(pr)return Xt;pr=1;var e=m;function t(v,h){return v===h&&(v!==0||1/v===1/h)||v!==v&&h!==h}var r=typeof Object.is=="function"?Object.is:t,n=e.useState,i=e.useEffect,o=e.useLayoutEffect,s=e.useDebugValue;function a(v,h){var b=h(),g=n({inst:{value:b,getSnapshot:h}}),O=g[0].inst,E=g[1];return o(function(){O.value=b,O.getSnapshot=h,u(O)&&E({inst:O})},[v,b,h]),i(function(){return u(O)&&E({inst:O}),v(function(){u(O)&&E({inst:O})})},[v]),s(b),b}function u(v){var h=v.getSnapshot;v=v.value;try{var b=h();return!r(v,b)}catch{return!0}}function l(v,h){return h()}var d=typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"?l:a;return Xt.useSyncExternalStore=e.useSyncExternalStore!==void 0?e.useSyncExternalStore:d,Xt}var Yt={};/**
39
+ */var pr;function Fo(){if(pr)return Xt;pr=1;var e=m;function t(v,h){return v===h&&(v!==0||1/v===1/h)||v!==v&&h!==h}var r=typeof Object.is=="function"?Object.is:t,n=e.useState,i=e.useEffect,o=e.useLayoutEffect,s=e.useDebugValue;function a(v,h){var b=h(),g=n({inst:{value:b,getSnapshot:h}}),O=g[0].inst,E=g[1];return o(function(){O.value=b,O.getSnapshot=h,u(O)&&E({inst:O})},[v,b,h]),i(function(){return u(O)&&E({inst:O}),v(function(){u(O)&&E({inst:O})})},[v]),s(b),b}function u(v){var h=v.getSnapshot;v=v.value;try{var b=h();return!r(v,b)}catch{return!0}}function l(v,h){return h()}var d=typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"?l:a;return Xt.useSyncExternalStore=e.useSyncExternalStore!==void 0?e.useSyncExternalStore:d,Xt}var Yt={};/**
40
40
  * @license React
41
41
  * use-sync-external-store-shim.development.js
42
42
  *
@@ -44,9 +44,9 @@ Use 'override' annotation for methods overridden by subclass.`)}}var Do=or(0),Vo
44
44
  *
45
45
  * This source code is licensed under the MIT license found in the
46
46
  * LICENSE file in the root directory of this source tree.
47
- */var vr;function Go(){return vr||(vr=1,process.env.NODE_ENV!=="production"&&(function(){function e(b,g){return b===g&&(b!==0||1/b===1/g)||b!==b&&g!==g}function t(b,g){d||i.startTransition===void 0||(d=!0,console.error("You are using an outdated, pre-release alpha of React 18 that does not support useSyncExternalStore. The use-sync-external-store shim will not work correctly. Upgrade to a newer pre-release."));var O=g();if(!v){var E=g();o(O,E)||(console.error("The result of getSnapshot should be cached to avoid an infinite loop"),v=!0)}E=s({inst:{value:O,getSnapshot:g}});var L=E[0].inst,se=E[1];return u(function(){L.value=O,L.getSnapshot=g,r(L)&&se({inst:L})},[b,O,g]),a(function(){return r(L)&&se({inst:L}),b(function(){r(L)&&se({inst:L})})},[b]),l(O),O}function r(b){var g=b.getSnapshot;b=b.value;try{var O=g();return!o(b,O)}catch{return!0}}function n(b,g){return g()}typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(Error());var i=m,o=typeof Object.is=="function"?Object.is:e,s=i.useState,a=i.useEffect,u=i.useLayoutEffect,l=i.useDebugValue,d=!1,v=!1,h=typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"?n:t;Yt.useSyncExternalStore=i.useSyncExternalStore!==void 0?i.useSyncExternalStore:h,typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(Error())})()),Yt}var hr;function qo(){return hr||(hr=1,process.env.NODE_ENV==="production"?Nt.exports=Ko():Nt.exports=Go()),Nt.exports}var Ho=qo();function _r(e){e.reaction=new le("observer".concat(e.name),function(){var t;e.stateVersion=Symbol(),(t=e.onStoreChange)===null||t===void 0||t.call(e)})}function Ro(e,t){t===void 0&&(t="observed");var r=m.useRef(null);if(!r.current){var n={reaction:null,onStoreChange:null,stateVersion:Symbol(),name:t,subscribe:function(a){return Zt.unregister(n),n.onStoreChange=a,n.reaction||(_r(n),n.stateVersion=Symbol()),function(){var u;n.onStoreChange=null,(u=n.reaction)===null||u===void 0||u.dispose(),n.reaction=null}},getSnapshot:function(){return n.stateVersion}};r.current=n}var i=r.current;i.reaction||(_r(i),Zt.register(r,i,i)),m.useDebugValue(i.reaction,ko),Ho.useSyncExternalStore(i.subscribe,i.getSnapshot,i.getSnapshot);var o,s;if(i.reaction.track(function(){try{o=e()}catch(a){s=a}}),s)throw s;return o}var Jt,Qt,zo=!0,br=!0,gr=typeof Symbol=="function"&&Symbol.for,Wo=(Qt=(Jt=Object.getOwnPropertyDescriptor(function(){},"name"))===null||Jt===void 0?void 0:Jt.configurable)!==null&&Qt!==void 0?Qt:!1,mr=gr?Symbol.for("react.forward_ref"):typeof m.forwardRef=="function"&&m.forwardRef(function(e){return null}).$$typeof,yr=gr?Symbol.for("react.memo"):typeof m.memo=="function"&&m.memo(function(e){return null}).$$typeof;function I(e,t){var r;if(process.env.NODE_ENV,yr&&e.$$typeof===yr)throw new Error("[mobx-react-lite] You are trying to use `observer` on a function component wrapped in either another `observer` or `React.memo`. The observer already applies 'React.memo' for you.");var n=(r=void 0)!==null&&r!==void 0?r:!1,i=e,o=e.displayName||e.name;if(mr&&e.$$typeof===mr&&(n=!0,i=e.render,typeof i!="function"))throw new Error("[mobx-react-lite] `render` property of ForwardRef was not a function");var s=function(a,u){return Ro(function(){return i(a,u)},o)};return s.displayName=e.displayName,Wo&&Object.defineProperty(s,"name",{value:e.name,writable:!0,configurable:!0}),e.contextTypes&&(s.contextTypes=e.contextTypes,process.env.NODE_ENV!=="production"&&br&&(br=!1,console.warn("[mobx-react-lite] Support for Legacy Context in function components will be removed in the next major release."))),n&&(s=m.forwardRef(s)),s=m.memo(s),Xo(e,s),process.env.NODE_ENV!=="production"&&Object.defineProperty(s,"contextTypes",{set:function(){var a,u;throw new Error("[mobx-react-lite] `".concat(this.displayName||((a=this.type)===null||a===void 0?void 0:a.displayName)||((u=this.type)===null||u===void 0?void 0:u.name)||"Component",".contextTypes` must be set before applying `observer`."))}}),s}var Zo={$$typeof:!0,render:!0,compare:!0,type:!0,displayName:!0};function Xo(e,t){Object.keys(e).forEach(function(r){Zo[r]||Object.defineProperty(t,r,Object.getOwnPropertyDescriptor(e,r))})}process.env.NODE_ENV;var en;Mo(Pr.unstable_batchedUpdates),en=Zt.finalizeAllImmediately;const Yo=({onClick:e,disabled:t=!1,imagePath:r})=>c.jsxs("div",{className:"buy-bonus-wrap","aria-hidden":t?"true":"false",children:[r&&c.jsx("div",{className:"bonus-thumb",role:"img","aria-label":"bonus thumbnail",style:{backgroundImage:`url(${r})`}}),c.jsx("button",{className:`buy-bonus ${t?"buy-bonus--disabled":""}`,onClick:e,disabled:t,"aria-pressed":t,children:r?"Disable":"Buy Bonus"})]}),Or=({label:e,value:t})=>c.jsxs("div",{className:"info",children:[c.jsx("span",{className:"label",children:e}),c.jsx("span",{className:"value",children:t})]}),Jo=({onClick:e,disabled:t=!1,value:r,activeAnteBet:n=!1})=>c.jsxs("div",{className:`bet-amount ${t?"disabled":""}`,onClick:e,children:[c.jsx("div",{className:"bet-amount-icon"}),c.jsxs("label",{className:`bet-amount-text ${n?"ante-color":""}`,children:[r," FUN"]})]}),Er=({onClick:e,disabled:t=!1,className:r})=>c.jsx("button",{className:`${r} ${t?"disabled":""}`,onClick:e});class Qo{isRunning=!1;isDisabled=!0;isSlamStop=!1;constructor(){pe(this)}setIsRunning(t){this.isRunning=t}setIsDisabled(t){this.isDisabled=t}setIsSlamStop(t){this.isSlamStop=t}}const Nr=new Qo,es=I(({onClick:e})=>{const{isDisabled:t,isSlamStop:r,isRunning:n}=Nr;return c.jsx("button",{className:`spin-btn
47
+ */var vr;function Ko(){return vr||(vr=1,process.env.NODE_ENV!=="production"&&(function(){function e(b,g){return b===g&&(b!==0||1/b===1/g)||b!==b&&g!==g}function t(b,g){d||i.startTransition===void 0||(d=!0,console.error("You are using an outdated, pre-release alpha of React 18 that does not support useSyncExternalStore. The use-sync-external-store shim will not work correctly. Upgrade to a newer pre-release."));var O=g();if(!v){var E=g();o(O,E)||(console.error("The result of getSnapshot should be cached to avoid an infinite loop"),v=!0)}E=s({inst:{value:O,getSnapshot:g}});var L=E[0].inst,se=E[1];return u(function(){L.value=O,L.getSnapshot=g,r(L)&&se({inst:L})},[b,O,g]),a(function(){return r(L)&&se({inst:L}),b(function(){r(L)&&se({inst:L})})},[b]),l(O),O}function r(b){var g=b.getSnapshot;b=b.value;try{var O=g();return!o(b,O)}catch{return!0}}function n(b,g){return g()}typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(Error());var i=m,o=typeof Object.is=="function"?Object.is:e,s=i.useState,a=i.useEffect,u=i.useLayoutEffect,l=i.useDebugValue,d=!1,v=!1,h=typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"?n:t;Yt.useSyncExternalStore=i.useSyncExternalStore!==void 0?i.useSyncExternalStore:h,typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(Error())})()),Yt}var hr;function Go(){return hr||(hr=1,process.env.NODE_ENV==="production"?Nt.exports=Fo():Nt.exports=Ko()),Nt.exports}var qo=Go();function _r(e){e.reaction=new le("observer".concat(e.name),function(){var t;e.stateVersion=Symbol(),(t=e.onStoreChange)===null||t===void 0||t.call(e)})}function Ho(e,t){t===void 0&&(t="observed");var r=m.useRef(null);if(!r.current){var n={reaction:null,onStoreChange:null,stateVersion:Symbol(),name:t,subscribe:function(a){return Zt.unregister(n),n.onStoreChange=a,n.reaction||(_r(n),n.stateVersion=Symbol()),function(){var u;n.onStoreChange=null,(u=n.reaction)===null||u===void 0||u.dispose(),n.reaction=null}},getSnapshot:function(){return n.stateVersion}};r.current=n}var i=r.current;i.reaction||(_r(i),Zt.register(r,i,i)),m.useDebugValue(i.reaction,Mo),qo.useSyncExternalStore(i.subscribe,i.getSnapshot,i.getSnapshot);var o,s;if(i.reaction.track(function(){try{o=e()}catch(a){s=a}}),s)throw s;return o}var Jt,Qt,Ro=!0,br=!0,gr=typeof Symbol=="function"&&Symbol.for,zo=(Qt=(Jt=Object.getOwnPropertyDescriptor(function(){},"name"))===null||Jt===void 0?void 0:Jt.configurable)!==null&&Qt!==void 0?Qt:!1,mr=gr?Symbol.for("react.forward_ref"):typeof m.forwardRef=="function"&&m.forwardRef(function(e){return null}).$$typeof,yr=gr?Symbol.for("react.memo"):typeof m.memo=="function"&&m.memo(function(e){return null}).$$typeof;function I(e,t){var r;if(process.env.NODE_ENV,yr&&e.$$typeof===yr)throw new Error("[mobx-react-lite] You are trying to use `observer` on a function component wrapped in either another `observer` or `React.memo`. The observer already applies 'React.memo' for you.");var n=(r=void 0)!==null&&r!==void 0?r:!1,i=e,o=e.displayName||e.name;if(mr&&e.$$typeof===mr&&(n=!0,i=e.render,typeof i!="function"))throw new Error("[mobx-react-lite] `render` property of ForwardRef was not a function");var s=function(a,u){return Ho(function(){return i(a,u)},o)};return s.displayName=e.displayName,zo&&Object.defineProperty(s,"name",{value:e.name,writable:!0,configurable:!0}),e.contextTypes&&(s.contextTypes=e.contextTypes,process.env.NODE_ENV!=="production"&&br&&(br=!1,console.warn("[mobx-react-lite] Support for Legacy Context in function components will be removed in the next major release."))),n&&(s=m.forwardRef(s)),s=m.memo(s),Zo(e,s),process.env.NODE_ENV!=="production"&&Object.defineProperty(s,"contextTypes",{set:function(){var a,u;throw new Error("[mobx-react-lite] `".concat(this.displayName||((a=this.type)===null||a===void 0?void 0:a.displayName)||((u=this.type)===null||u===void 0?void 0:u.name)||"Component",".contextTypes` must be set before applying `observer`."))}}),s}var Wo={$$typeof:!0,render:!0,compare:!0,type:!0,displayName:!0};function Zo(e,t){Object.keys(e).forEach(function(r){Wo[r]||Object.defineProperty(t,r,Object.getOwnPropertyDescriptor(e,r))})}process.env.NODE_ENV;var en;Bo(xr.unstable_batchedUpdates),en=Zt.finalizeAllImmediately;const Xo=({onClick:e,disabled:t=!1,imagePath:r})=>c.jsxs("div",{className:"buy-bonus-wrap","aria-hidden":t?"true":"false",children:[r&&c.jsx("div",{className:"bonus-thumb",role:"img","aria-label":"bonus thumbnail",style:{backgroundImage:`url(${r})`}}),c.jsx("button",{className:`buy-bonus ${t?"buy-bonus--disabled":""}`,onClick:e,disabled:t,"aria-pressed":t,children:r?"Disable":"Buy Bonus"})]}),Or=({label:e,value:t})=>c.jsxs("div",{className:"info",children:[c.jsx("span",{className:"label",children:e}),c.jsx("span",{className:"value",children:t})]}),Yo=({onClick:e,disabled:t=!1,value:r,activeAnteBet:n=!1})=>c.jsxs("div",{className:`bet-amount ${t?"disabled":""}`,onClick:e,children:[c.jsx("div",{className:"bet-amount-icon"}),c.jsxs("label",{className:`bet-amount-text ${n?"ante-color":""}`,children:[r," FUN"]})]}),Er=({onClick:e,disabled:t=!1,className:r})=>c.jsx("button",{className:`${r} ${t?"disabled":""}`,onClick:e});class Jo{isRunning=!1;isDisabled=!0;isSlamStop=!1;constructor(){pe(this)}setIsRunning(t){this.isRunning=t}setIsDisabled(t){this.isDisabled=t}setIsSlamStop(t){this.isSlamStop=t}}const Nr=new Jo,Qo=I(({onClick:e})=>{const{isDisabled:t,isSlamStop:r,isRunning:n}=Nr;return c.jsx("button",{className:`spin-btn
48
48
  ${t?"disabled":""}
49
49
  ${r?"slam-stop":""}
50
50
  ${n?"active":""}
51
- `,onClick:e})}),Ar=({onClick:e,disabled:t=!1,className:r,isActive:n})=>c.jsx("button",{className:`${r} ${t?"disabled":""} ${n?"active":""}`,onClick:e});class ts{balance=1e4;betAmount=10;betIndex=0;lastWin=0;volume=50;betAmountRange=[10,20,50,100,500,1e3,5e3,1e4,25e3,5e5,65e3,8e4,1e5,15e4,2e5];maxBetAmount=this.betAmountRange[0];minBetAmount=this.betAmountRange[this.betAmountRange.length-1];displayCurrency="FUN";constructor(){pe(this)}setBet(t){this.betAmount=t}setNextBetAmount(){if(this.betIndex===this.betAmountRange.length-1)return console.error("Bet Index must be less than BetStore.betAmountRange.length");this.betIndex+=1,this.betAmount=this.betAmountRange[this.betIndex]}setPrevBetAmount(){if(this.betIndex<1)return console.error("Bet Index must be more than 0");this.betIndex-=1,this.betAmount=this.betAmountRange[this.betIndex]}setBetAmountRange(t){this.betAmountRange=t,t.length>0&&(this.maxBetAmount=t[0],this.minBetAmount=t[t.length-1])}setDisplayCurrency(t){this.displayCurrency=t}setBalance(t){this.balance=t}setLastWin(t){this.lastWin=t}setVolume(t){this.volume=Math.max(0,Math.min(100,t))}}const Q=new ts;class ns{activePopup=null;constructor(){pe(this)}open(t){this.activePopup=t}close(){this.activePopup=null}get isOpen(){return this.activePopup!==null}}const U=new ns,ee={bet:"bet",autoplay:"autoplay",settings:"settings",history:"history",buyBonus:"buy_bonus"},rs={insufficientFunds:"insufficient funds"},Sr={primary:{background:"#FBDE38",color:"#1C1B1E"},secondary:{background:"#1C1B1E",color:"#FFFFFF"}},is=[{name:rs.insufficientFunds,title:"Insufficient Funds",imagePath:"/img_1.png",message:"Your balance is low, please make a deposit",buttons:[{text:"Back",configs:Sr.secondary},{text:"Ok",configs:Sr.primary}]}],tn={ante:"ante",buy:"buy"};class os{introSkip=!1;spaceToSpin=!1;spaceToSkip=!1;isTurbo=!1;volume=50;musicOn=!0;soundsOn=!0;constructor(){pe(this)}setMusicOn(t){this.musicOn=t}setVolume(t){this.volume=t}setIsTurbo(t){this.isTurbo=t}setSoundsOn(t){this.soundsOn=t}setIntroSkip(t){this.introSkip=t}setSpaceToSpin(t){this.spaceToSpin=t}setSpaceToSkip(t){this.spaceToSkip=t}}const te=new os;class ss{anteBets=[{title:"Ante 1",imagePath:"/img_1.png",costMultiplier:50},{title:"Ante 2",imagePath:"/img_1.png",costMultiplier:3},{title:"Ante 3",imagePath:"/img_1.png",costMultiplier:4},{title:"Ante 4",costMultiplier:4}];inReelFeatures=[{title:"ReelFeature 1",costMultiplier:500},{title:"ReelFeature 2",costMultiplier:6},{title:"ReelFeature 3",costMultiplier:7}];bonusFeatures=[{title:"Bonus 1",costMultiplier:50},{title:"Bonus 2",costMultiplier:100},{title:"Bonus 3",costMultiplier:200},{title:"Bonus 4",costMultiplier:500}];activeAnteBet=null;activeBonusFeature=null;activeInReelFeature=null;constructor(){pe(this)}setAnteBets(t){this.anteBets=t}setActiveAnteBet(t){this.activeAnteBet=t}setActiveBonusFeature(t){this.activeBonusFeature=t}setActiveInReelFeature(t){this.activeInReelFeature=t}setInReelFeatures(t){this.inReelFeatures=t}setBonusFeatures(t){this.bonusFeatures=t}get isActiveBonus(){return!!this.activeBonusFeature}get isActiveInReelFeature(){return!!this.activeInReelFeature}get isActiveAnteBet(){return!!this.activeAnteBet}}const Ze=new ss,as=I(()=>{const{lastWin:e,balance:t,betAmount:r,displayCurrency:n,setNextBetAmount:i,setPrevBetAmount:o}=Q,{setIsTurbo:s,isTurbo:a}=te,{open:u}=U,{activeAnteBet:l,activeBonusFeature:d,activeInReelFeature:v,setActiveAnteBet:h}=Ze,b=m.useMemo(()=>l?.imagePath||v?.imagePath||d?.imagePath,[l,d,v]),g=m.useCallback(()=>{l?h(null):u.bind(U,ee.buyBonus)},[l,h]);return c.jsx("div",{className:"ui-footer",children:c.jsxs("div",{className:"top-row",children:[c.jsxs("div",{className:"left-group",children:[c.jsx(Yo,{imagePath:b,onClick:g}),c.jsxs("div",{className:"balance-info",children:[c.jsx(Or,{label:"LAST WIN",value:`${e} ${n}`}),c.jsx(Or,{label:"BALANCE",value:`${t} ${n}`})]})]}),c.jsxs("div",{className:"bet-control",children:[c.jsx(Jo,{activeAnteBet:!!l,value:r,onClick:u.bind(U,ee.bet)}),c.jsxs("div",{className:"bet-box",children:[c.jsx(Er,{onClick:()=>o.call(Q),className:"bet-btn minus"}),c.jsx(es,{onClick:()=>console.log("Spin"),state:"active"}),c.jsx(Er,{onClick:()=>i.call(Q),className:"bet-btn plus"})]}),c.jsx(Ar,{className:"quick-spin",onClick:s.bind(te,!a),isActive:a}),c.jsx(Ar,{className:"auto-spin",onClick:u.bind(U,ee.autoplay),isActive:!1})]})]})})}),us=({onMount:e,onUnmount:t,className:r})=>{const n=m.useRef(null);return m.useEffect(()=>(n.current&&e&&e(n.current),()=>{t?.()}),[e,t]),c.jsx("div",{ref:n,className:r,style:{width:"100%",height:"100%",position:"relative"}})};function cs(e){const t=m.useRef(null);return m.useEffect(()=>{if(typeof e!="function")return;const r=n=>{const i=t.current;if(!i)return;const o=n.target;o&&(i.contains(o)||e(n))};return document.addEventListener("mousedown",r),document.addEventListener("touchstart",r),()=>{document.removeEventListener("mousedown",r),document.removeEventListener("touchstart",r)}},[e]),t}const ls=I(()=>{const{volume:e,setVolume:t}=te,[r,n]=m.useState(!1),i=cs(()=>n(!1)),o=m.useCallback(()=>{r||n(!0)},[r,n]);return c.jsxs(c.Fragment,{children:[r&&c.jsxs("div",{className:"volume-control",ref:i,children:[c.jsx("input",{type:"range",min:0,max:100,value:e,onChange:s=>t.call(te,Number(s.target.value)),className:"slider","aria-label":"Volume"}),c.jsx("span",{className:"volume-value",children:e})]}),c.jsx("button",{className:`btn-sound ${e===0?"inactive":""}`,"aria-label":"Toggle Sound",onClick:o})]})}),fs=I(()=>{const{open:e}=U;return c.jsxs("div",{className:"settings-section",children:[c.jsx(ls,{}),c.jsx("button",{className:"btn-settings","aria-label":"Open Settings",onClick:e.bind(U,ee.settings)})]})}),ds="data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='34'%20height='45'%20viewBox='0%200%2034%2045'%20fill='none'%3e%3cpath%20d='M7.69062%2031.7333H7.06121L9.3091%2028.0889L11.9167%2024C12.636%2022.9333%2012.666%2021.8074%2012.0066%2020.6222C11.527%2019.6741%2011.0475%2018.8148%2010.5679%2018.0444L11.1973%2017.6889C11.1973%2017.6296%2011.1674%2017.5704%2011.1074%2017.5111L10.3881%2017.6889C10.2083%2017.6296%2010.0284%2017.4222%209.8486%2017.0667C9.72871%2016.7111%209.63879%2016.5037%209.57885%2016.4444C9.15924%2016.1481%208.85952%2015.7037%208.67969%2015.1111L9.12927%2014.5778C8.94944%2014.4%208.88949%2014.2815%208.94944%2014.2222C9.06933%2013.4518%209.33907%2012.9185%209.75868%2012.6222C10.0584%2012.563%2010.0284%2012.3556%209.66877%2012L8.40994%2014.5778C7.93039%2013.9852%207.66065%2013.6%207.6007%2013.4222C7.6007%2013.1852%207.8105%2012.7704%208.23011%2012.1778C8.40994%2012%208.5598%2011.7926%208.67969%2011.5556C8.85952%2011.1407%208.94944%2010.6963%208.94944%2010.2222L8.40994%2011.3778C8.11022%2011.8519%207.69062%2011.9704%207.15112%2011.7333C7.15112%2011.4963%207.18109%2011.3481%207.24104%2011.2889C7.36093%2011.1704%207.51079%2011.0815%207.69062%2011.0222C7.87045%2010.9037%208.02031%2010.7852%208.1402%2010.6667L7.78053%2010.4C7.78053%2010.3407%207.81051%2010.2815%207.87045%2010.2222C7.87045%209.98518%207.90042%209.83704%207.96036%209.77778C7.54076%2010.1926%207.12115%2010.2222%206.70154%209.86667C6.82143%209.51111%206.88137%209.3037%206.88137%209.24444L6.97129%209.06666L7.15112%208.8C6.97129%208.85926%206.73151%208.88889%206.43179%208.88889C6.43179%208.53333%206.46177%208.32592%206.52171%208.26666C6.70154%207.79259%206.70154%207.34815%206.52171%206.93333L6.07213%207.28889C5.77241%207.46667%205.23292%207.46667%204.45365%207.28889C4.15393%206.6963%204.30379%206.13333%204.90322%205.6C4.84328%205.6%204.66345%205.62963%204.36373%205.68889C4.12395%205.68889%203.94412%205.68889%203.82423%205.68889C3.82423%206.22222%203.79426%206.60741%203.73432%206.84444C3.37465%206.25185%203.19482%205.86666%203.19482%205.68889C3.13488%205.62963%203.07494%205.6%203.01499%205.6L2.74524%205.33333L1.21667%202.66666L1.03684%202.13333C0.677179%201.00741%201.09679%200.355554%202.29566%200.177775H3.73432C3.97409%200.177775%204.42367%200.207404%205.08306%200.266663C5.80238%200.266663%206.25196%200.266663%206.43179%200.266663C7.33095%200.148146%208.05028%200.503704%208.58978%201.33333C9.18921%202.16296%2010.2982%203.94074%2011.9167%206.66667C12.0366%206.78518%2012.0965%207.05185%2012.0965%207.46666C12.8158%207.58518%2013.2354%208.14815%2013.3553%209.15555L14.0746%2010.0444L15.6032%2012.8C15.6032%2012.9185%2015.6332%2013.0074%2015.6931%2013.0667L16.5923%2014.4L17.7612%2014.0444L18.3906%2013.6C18.8102%2013.1852%2019.2298%2012.6519%2019.6494%2012L21.5377%209.06666L23.336%206.4C24.2951%204.97778%2025.0144%203.82222%2025.494%202.93333L26.0335%201.86667C26.573%201.80741%2026.8727%201.74815%2026.9326%201.68889C27.0525%201.57037%2027.0525%201.24444%2026.9326%200.71111C27.5321%200.355554%2028.5211%200.177775%2029.8998%200.177775C31.4584%200.0592581%2032.2676%200%2032.3276%200L32.5074%200.62222L32.8671%200.266663L32.957%200.35555C33.0169%200.414812%2033.0769%200.444444%2033.1368%200.444444C33.8561%200.799999%2034.0959%201.27407%2033.8561%201.86667C33.7362%202.28148%2033.3766%203.05185%2032.7771%204.17777L32.3276%204.35555L31.878%205.51111C31.0987%206.45926%2030.0497%208%2028.7309%2010.1333C27.5321%2012.0296%2026.6928%2013.3333%2026.2133%2014.0444C25.9136%2014.4%2024.6547%2016.4148%2022.4368%2020.0889L21.8973%2021.0667C21.5976%2021.7778%2021.6575%2022.4296%2022.0772%2023.0222L23.6956%2025.8667C23.6956%2025.9852%2023.7556%2026.1037%2023.8755%2026.2222C23.9954%2026.3407%2023.9654%2026.4889%2023.7856%2026.6667L24.3251%2026.9333C24.5648%2027.4074%2025.0744%2028.237%2025.8536%2029.4222C26.6329%2030.6074%2027.0525%2031.2593%2027.1124%2031.3778C27.1124%2031.4963%2027.1424%2031.5852%2027.2024%2031.6444C26.543%2031.9407%2026.4231%2032.2963%2026.8427%2032.7111C26.8427%2032.7704%2026.8127%2032.8296%2026.7528%2032.8889C26.7528%2032.9481%2026.7528%2033.0074%2026.7528%2033.0667C26.7528%2033.2444%2026.8427%2033.4222%2027.0225%2033.6C27.2024%2033.4222%2027.4122%2033.037%2027.6519%2032.4444C28.1914%2033.037%2028.4012%2033.5704%2028.2814%2034.0444C28.9407%2034.4%2029.2704%2034.9037%2029.2704%2035.5556C29.2704%2035.6741%2029.3004%2035.7333%2029.3603%2035.7333C29.6001%2035.9704%2029.9898%2036.5037%2030.5292%2037.3333L31.6082%2039.0222L31.9679%2039.5556C32.1477%2039.9704%2032.0878%2040.237%2031.7881%2040.3556H31.9679L32.5074%2040.1778L33.6763%2042.4C34.3956%2044%2033.9161%2044.8%2032.2376%2044.8C32.1777%2044.8%2032.1477%2044.7704%2032.1477%2044.7111C32.1477%2044.3556%2032.0878%2044.1778%2031.9679%2044.1778C31.7881%2044.1778%2031.6682%2044.2074%2031.6082%2044.2667C31.6082%2044.3259%2031.6082%2044.4444%2031.6082%2044.6222C31.6682%2044.7407%2031.6982%2044.8296%2031.6982%2044.8889H28.3713C27.5321%2044.8889%2026.7828%2044.4741%2026.1234%2043.6444L24.9545%2041.7778L21.8973%2036.8889L20.9082%2035.0222L20.0091%2033.5111L18.4805%2031.2C18.4805%2031.1407%2018.3307%2030.9037%2018.0309%2030.4889C17.6113%2029.9556%2017.1618%2029.8074%2016.6822%2030.0444C16.2626%2030.2222%2015.9029%2030.4593%2015.6032%2030.7556C15.3634%2031.0519%2015.1536%2031.3778%2014.9738%2031.7333L11.1973%2037.6L9.3091%2040.4444L9.12927%2040.7111V40.3556C9.06933%2040.1185%209.03935%2039.9407%209.03935%2039.8222C8.5598%2040.1185%208.40994%2040.4444%208.58978%2040.8C8.58978%2040.8593%208.67969%2040.8889%208.85952%2040.8889L7.51079%2043.2L6.70154%2042.7556C6.70154%2042.8148%206.70154%2043.0222%206.70154%2043.3778C6.76149%2043.7333%206.79146%2043.9704%206.79146%2044.0889C6.43179%2044.6815%205.80238%2044.9778%204.90322%2044.9778C4.06401%2045.037%202.92508%2044.9778%201.48642%2044.8C0.107712%2044.6222%20-0.311896%2043.8519%200.2276%2042.4889L0.407431%2042.1333L3.19482%2037.6L3.91415%2038.4889C4.03404%2037.9556%203.91415%2037.5111%203.55449%2037.1556L4.45365%2035.9111L5.17297%2034.8444L6.16205%2033.9556C6.1021%2033.5407%206.40182%2032.7704%207.06121%2031.6444V31.8222L7.42087%2032.2667L7.51079%2032.0889C7.51079%2032.0296%207.54076%2031.9407%207.6007%2031.8222V31.7333C7.90042%2031.7926%208.05028%2031.763%208.05028%2031.6444C8.11022%2031.4667%208.11022%2031.2889%208.05028%2031.1111C7.8105%2031.1111%207.69062%2031.3185%207.69062%2031.7333ZM9.03935%2030.5778C9.45896%2030.637%209.69874%2030.637%209.75868%2030.5778C9.81863%2030.5185%209.78865%2030.2519%209.66877%2029.7778H8.85952C8.97941%2030.2519%209.03935%2030.5481%209.03935%2030.6667C8.79958%2030.6667%208.61975%2030.7259%208.49986%2030.8444C8.49986%2030.9037%208.52983%2030.9926%208.58978%2031.1111C8.64972%2031.1704%208.70966%2031.1704%208.76961%2031.1111C8.8895%2031.1111%208.97941%2030.9333%209.03935%2030.5778ZM21.2679%2012.8L20.9982%2012.3556L20.099%2012.7111C20.2189%2012.9481%2020.3987%2013.2148%2020.6385%2013.5111C21.0581%2013.4518%2021.2679%2013.2148%2021.2679%2012.8ZM30.6192%2040.8C30.0797%2041.0963%2030.0197%2041.5407%2030.4393%2042.1333C30.739%2041.4815%2030.799%2041.037%2030.6192%2040.8ZM22.5267%2012.1778C22.9463%2011.7037%2023.0363%2011.2593%2022.7965%2010.8444C22.3169%2011.2593%2022.227%2011.7037%2022.5267%2012.1778ZM3.46457%205.06666L4.63348%204.44444L3.91415%204.17777L3.37466%204.97778C3.37466%205.03704%203.40463%205.06666%203.46457%205.06666ZM22.3469%2026.4L22.1671%2026.1333C21.9872%2026.4889%2021.8973%2026.7259%2021.8973%2026.8444L22.0772%2027.0222L22.257%2027.1111C22.257%2027.0519%2022.3169%2026.963%2022.4368%2026.8444C22.6167%2026.6667%2022.5867%2026.5185%2022.3469%2026.4ZM24.1452%2012.1778V11.5556C24.1452%2011.437%2024.0553%2011.3778%2023.8755%2011.3778L23.6057%2011.4667C23.6057%2011.9407%2023.7856%2012.1778%2024.1452%2012.1778ZM6.25196%2035.2889C6.25196%2035.5852%206.28194%2035.8222%206.34188%2036C6.52171%2035.7037%206.49174%2035.4667%206.25196%2035.2889ZM10.0284%208.88889L9.39902%209.77778C9.81863%209.6%2010.0284%209.3037%2010.0284%208.88889ZM28.1015%2039.5556C28.3413%2039.2%2028.3113%2038.8741%2028.0116%2038.5778C27.9517%2038.6963%2027.9217%2038.8741%2027.9217%2039.1111C27.9217%2039.1704%2027.9517%2039.2296%2028.0116%2039.2889C28.0116%2039.4074%2028.0416%2039.4963%2028.1015%2039.5556ZM29.8099%2037.0667C29.75%2037.4815%2029.8699%2037.7185%2030.1696%2037.7778C30.2895%2037.4222%2030.1696%2037.1852%2029.8099%2037.0667ZM3.01499%2042.4889C3.07494%2042.4296%203.16485%2042.4%203.28474%2042.4L3.19482%2042.2222C3.19482%2042.0444%203.19482%2041.8963%203.19482%2041.7778L3.10491%2041.8667H2.92508L3.01499%2042.0444C3.01499%2042.2222%203.01499%2042.3704%203.01499%2042.4889ZM11.2873%208.17778H11.4671C11.587%208.05926%2011.6469%207.91111%2011.6469%207.73333L11.3772%207.64444C11.3772%207.7037%2011.3472%207.79259%2011.2873%207.91111C11.2873%208.02963%2011.2873%208.11852%2011.2873%208.17778ZM29.5402%2038.8444L29.72%2038.4889V38.1333C29.6001%2038.1333%2029.5102%2038.1037%2029.4503%2038.0444C29.3304%2038.3407%2029.3603%2038.6074%2029.5402%2038.8444ZM28.641%206.31111H28.4612C28.4012%206.37037%2028.3713%206.51852%2028.3713%206.75555C28.4312%206.81481%2028.4912%206.84444%2028.5511%206.84444V6.57778L28.641%206.31111ZM28.0116%2037.1556C28.1914%2036.9185%2028.1615%2036.7111%2027.9217%2036.5333C27.9217%2036.6519%2027.9517%2036.7704%2028.0116%2036.8889V37.1556ZM24.7746%2032.7111C24.7147%2032.6518%2024.6248%2032.6222%2024.5049%2032.6222C24.5049%2032.8593%2024.4749%2033.0074%2024.415%2033.0667H24.6847C24.6847%2033.0074%2024.6847%2032.9481%2024.6847%2032.8889C24.7447%2032.8296%2024.7746%2032.7704%2024.7746%2032.7111ZM25.404%2033.9556H25.5839C25.5839%2033.8963%2025.5539%2033.8074%2025.494%2033.6889C25.494%2033.5704%2025.494%2033.5111%2025.494%2033.5111H25.404C25.3441%2033.5704%2025.2842%2033.6%2025.2242%2033.6C25.3441%2033.7185%2025.404%2033.837%2025.404%2033.9556ZM9.66877%2030.8444H9.48893V31.2889H9.57885C9.63879%2031.2296%209.66877%2031.0815%209.66877%2030.8444ZM6.52171%2041.8667L6.43179%2042.1333C6.43179%2042.1926%206.49174%2042.2815%206.61163%2042.4L6.79146%2042.2222C6.79146%2042.163%206.70154%2042.0444%206.52171%2041.8667ZM5.3528%2039.1111H5.53264C5.53264%2038.8148%205.44272%2038.637%205.26289%2038.5778C5.32283%2038.6963%205.3528%2038.8741%205.3528%2039.1111ZM29.9897%206.48889H30.2595V5.95555H30.0797L29.9897%206.22222V6.48889ZM27.2024%209.6H27.3822C27.3822%209.36296%2027.3522%209.21481%2027.2923%209.15555H27.1124C27.1124%209.39259%2027.1424%209.54074%2027.2024%209.6ZM11.3772%2027.6444V28.3556C11.557%2028.1185%2011.557%2027.8815%2011.3772%2027.6444ZM4.54356%208.08889L5.53264%207.46666L6.07213%207.28889C6.13207%207.22963%206.25196%207.2%206.43179%207.2C6.49174%207.67407%206.34188%208%205.98222%208.17778C5.62255%208.35555%205.143%208.32592%204.54356%208.08889ZM6.43179%208.88889C6.73151%208.88889%206.97129%208.85926%207.15112%208.8L6.97129%209.06666L6.88137%209.24444L6.52171%209.6C6.22199%209.77778%205.98222%209.68889%205.80238%209.33333L6.07213%209.06666H5.98222C6.04216%209.06666%206.1021%209.03703%206.16205%208.97778C6.22199%208.97778%206.31191%208.94815%206.43179%208.88889ZM6.34188%2011.0222V10.2222L7.24104%2010.4C7.06121%2010.8741%206.76149%2011.0815%206.34188%2011.0222ZM5.98222%209.06666H6.07213C5.59258%209.06666%205.29286%208.97778%205.17297%208.8C5.29286%208.8%205.44272%208.74074%205.62255%208.62222C5.80238%208.5037%205.92227%208.41481%205.98222%208.35555V9.06666Z'%20fill='white'/%3e%3c/svg%3e";class ps{dialogs=is;activeDialog=null;constructor(){pe(this)}add(t){this.dialogs.push(t)}open(t){const r=this.dialogs.find(n=>t===n.name);r?this.activeDialog=r:console.error(`Couldn't find dialog named ${t}`)}close(){this.activeDialog=null}get isOpen(){return this.activeDialog!==null}}const Xe=new ps,vs=I(()=>{const{betAmount:e,displayCurrency:t,setNextBetAmount:r,setPrevBetAmount:n}=Q;return c.jsxs("div",{className:"overlay-bet-controller",children:[c.jsx("div",{className:"decrease-bet",onClick:n.bind(Q)}),c.jsxs("div",{className:"bet-amount",children:[e," ",t]}),c.jsx("div",{className:"increase-bet",onClick:r.bind(Q)})]})}),hs=I(({children:e})=>{const t=U.activePopup,r=Xe.activeDialog;if(!t&&!r)return null;const n=o=>{o.target===o.currentTarget&&(U.close(),Xe.close())},i=()=>{U.close(),Xe.close()};return c.jsxs("div",{className:`overlay ${r?"dialog":""}`,onClick:n,role:"presentation",children:[typeof t=="string"&&c.jsx("span",{className:"popup-title",children:t.toUpperCase()}),c.jsx("div",{className:"overlay-content",role:"dialog","aria-modal":"true",children:e}),!r&&c.jsx("div",{className:"overlay-close","aria-label":"Close",onClick:i,children:c.jsx("img",{src:ds,alt:"Close"})}),t===ee.buyBonus&&c.jsx(vs,{})]})}),Cr=({value:e,onClick:t,active:r})=>c.jsx("div",{className:`rectLabel ${r?"current-active":""}`,onClick:()=>t(e),children:c.jsx("span",{children:e})}),_s=I(()=>{const{betAmountRange:e,setBet:t,betAmount:r}=Q;return c.jsx("div",{className:"bet-popup-container",children:e.map((n,i)=>{const o=r===n;return c.jsx(Cr,{value:n,active:o,onClick:t.bind(Q,n)},i)})})});class bs{countRange=[10,25,50,70,100,500,1e3];limitsRange=[10,20,50];count=0;specialFeatureSwitcherOn=!1;lossLimit=null;winLimit=null;constructor(){pe(this)}setCount(t){this.count=t}setLimitsRange(t){this.limitsRange=t}setCountRange(t){this.countRange=t}setSpecialFeatureSwitcher(t){this.specialFeatureSwitcherOn=t}setLossLimit(t){console.log(t),this.lossLimit=t}setWinLimit(t){console.log(t),this.winLimit=t}start(){}}const ke=new bs,At=({checked:e,onChange:t})=>c.jsx("button",{className:`ap-toggle ${e?"ap-toggle--on":"ap-toggle--off"}`,"aria-pressed":e,onClick:()=>t(!e),type:"button",children:c.jsx("span",{className:"ap-toggle__knob"})}),nn=({active:e,onClick:t,children:r})=>c.jsx("button",{className:`ap-limit ${e?"ap-limit--active":""}`,onClick:t,type:"button",children:r}),wr=({active:e,onClick:t,children:r})=>c.jsx("button",{className:`ap-tab ${e?"ap-tab--active":""}`,onClick:t,type:"button",children:r}),gs=({value:e,placeholder:t,inputType:r="text",className:n="",autoFocus:i=!0,onSubmit:o,onCancel:s})=>{const[a,u]=m.useState(""),l=m.useRef(null),d=m.useRef(!1);m.useEffect(()=>{u(e??""),d.current=!1},[e]),m.useEffect(()=>{i&&setTimeout(()=>{l.current?.focus(),l.current?.select()},0)},[i]);const v=()=>{d.current||(d.current=!0,o(a.trim()))},h=()=>{v()},b=g=>{g.key==="Enter"?(g.preventDefault(),v(),l.current?.blur()):g.key==="Escape"&&(u(e??""),s?.(),l.current?.blur())};return c.jsx("input",{ref:l,className:`ap-limit ${n}`,type:"number",value:a,placeholder:t,onChange:g=>u(g.target.value),onBlur:h,onKeyDown:b,inputMode:r==="number"?"numeric":void 0,"aria-label":"custom limit input"})},ms=I(()=>{const{specialFeatureSwitcherOn:e,setSpecialFeatureSwitcher:t,countRange:r,count:n,setCount:i,lossLimit:o,winLimit:s,setLossLimit:a,limitsRange:u,setWinLimit:l}=ke,[d,v]=m.useState(0),[h,b]=m.useState(!1),[g,O]=m.useState(""),E=m.useMemo(()=>d?s:o,[d,s,o]),L=m.useMemo(()=>d?l.bind(ke):a.bind(ke),[d,l,a]);m.useEffect(()=>{const C=E&&!u.includes(E);O(C?E:0)},[E,s]);const se=!!n&&n>0;return c.jsxs("div",{className:"autoplay-wrap",children:[c.jsx("h3",{className:"ap-title",children:"Number of spins"}),c.jsx("div",{className:"autoplay-count",children:r.map((C,A)=>{const $=n===C;return c.jsx(Cr,{value:C,active:$,onClick:i.bind(ke,C)},A)})}),c.jsxs("div",{className:"ap-switch-row",children:[c.jsx("div",{className:"ap-switch-label",children:"Stop on special feature WIN"}),c.jsx("div",{className:"ap-switch-control",children:c.jsx(At,{checked:e,onChange:C=>t.call(ke,C)})})]}),c.jsxs("div",{className:"ap-tabs",children:[c.jsx(wr,{active:!d,onClick:()=>v(0),children:"Loss limit"}),c.jsx(wr,{active:!!d,onClick:()=>v(1),children:"Single WIN limit"})]}),c.jsx("div",{className:"ap-limits-panel",children:c.jsx("div",{className:"ap-limits-inner",children:c.jsxs("div",{className:"ap-limit-grid",children:[u.map((C,A)=>c.jsxs(nn,{active:E===C,onClick:()=>L(C),children:[C,"X BET"]},A)),c.jsx(nn,{active:!E,onClick:()=>L(null),children:"NO LIMIT"}),h?c.jsx(gs,{value:""+g,inputType:"number",onSubmit:C=>{const A=C.trim();if(A===""){b(!1);return}const $=Number(A);O($??0),L($),b(!1)},onCancel:()=>{b(!1)}}):c.jsx(nn,{onClick:()=>{b(!0)},active:!!E&&E===Number(g),children:g?`${g}X BET`:"CUSTOM"})]})})}),c.jsx("div",{className:"ap-start-row",children:c.jsx("button",{className:`ap-start-btn ${se?"":"ap-start-btn--disabled"}`,onClick:()=>{},type:"button",disabled:!se,children:"Start Autoplay"})})]})}),Dr=({onClick:e,label:t,className:r})=>c.jsxs("button",{className:`sp-action ${r}`,type:"button",onClick:e,children:[c.jsx("span",{className:"sp-action__icon","aria-hidden":"true"}),c.jsx("span",{className:"sp-action__label",children:t})]}),Ye=({onToggle:e,label:t,checked:r=!1})=>c.jsxs("div",{className:"sp-row",children:[c.jsx("div",{className:"sp-switch",children:c.jsx(At,{checked:r,onChange:()=>e(!r)})}),c.jsx("div",{className:"sp-label",children:t})]}),ys=I(()=>{const{introSkip:e,spaceToSkip:t,musicOn:r,soundsOn:n,spaceToSpin:i,setSpaceToSpin:o,setIntroSkip:s,setSpaceToSkip:a,setSoundsOn:u,setMusicOn:l}=te,{open:d}=U;return c.jsxs("div",{className:"sp-wrap",children:[c.jsxs("div",{className:"sp-actions",children:[c.jsx(Dr,{onClick:d.bind(U,ee.history),className:"sp-action--history",label:"History"}),c.jsx(Dr,{onClick:()=>{},className:"sp-action--paytable",label:"Paytable"})]}),c.jsx("h3",{className:"sp-section-title",children:"Audio"}),c.jsxs("div",{className:"sp-rows",children:[c.jsx(Ye,{onToggle:l.bind(te),checked:r,label:"Music"}),c.jsx(Ye,{onToggle:u.bind(te),checked:n,label:"Sounds"})]}),c.jsx("h3",{className:"sp-section-title",children:"Game launch"}),c.jsx("div",{className:"sp-rows",children:c.jsx(Ye,{onToggle:s.bind(te),checked:e,label:"Skip Intro"})}),c.jsx("h3",{className:"sp-section-title",children:"Keyboard"}),c.jsxs("div",{className:"sp-rows",children:[c.jsx(Ye,{onToggle:o.bind(te),checked:i,label:"Spacebar to Spin"}),c.jsx(Ye,{onToggle:a.bind(te),checked:t,label:"Spacebar to Skip"})]})]})}),Os=({date:e,currencyCode:t,betAmount:r,winAmount:n})=>{const[i,o]=m.useState(!1);return c.jsxs("div",{className:`history-item ${i?"active":""}`,role:"row",children:[c.jsx("span",{className:"date-section",children:e}),c.jsxs("span",{className:"bet-section",children:[r,c.jsx("span",{className:"currency",children:t})]}),c.jsxs("span",{className:"win-section",children:[n,c.jsxs("span",{className:"currency",children:[" ",t]})]}),c.jsx("div",{className:`vector ${i?"up":"down"}`,"aria-hidden":"true",onClick:()=>o(!i)}),i&&c.jsxs("div",{className:"additional-info",children:[c.jsxs("button",{className:"additional-button replay",children:[c.jsx("div",{className:"replay-icon"}),"REPLAY"]}),c.jsx("button",{className:"additional-button",children:"LINK"})]})]})};class Es{data=[{date:"26.11.2024 00:16",betAmount:1011,winAmount:20,currencyCode:"USD"},{date:"26.11.2024 00:16",betAmount:10,winAmount:20,currencyCode:"USD"},{date:"26.11.2024 00:16",betAmount:1,winAmount:2e4,currencyCode:"USD"},{date:"26.11.2024 00:16",betAmount:10,winAmount:2002,currencyCode:"USD"},{date:"26.11.2024 00:16",betAmount:10,winAmount:2002,currencyCode:"USD"},{date:"26.11.2024 00:16",betAmount:10,winAmount:2002,currencyCode:"USD"},{date:"26.11.2024 00:16",betAmount:10,winAmount:2002,currencyCode:"USD"},{date:"26.11.2024 00:16",betAmount:10,winAmount:2002,currencyCode:"USD"},{date:"26.11.2024 00:16",betAmount:10,winAmount:2002,currencyCode:"USD"},{date:"26.11.2024 00:16",betAmount:10,winAmount:2002,currencyCode:"USD"},{date:"26.11.2024 00:16",betAmount:10,winAmount:2002,currencyCode:"USD"},{date:"26.11.2024 00:16",betAmount:10,winAmount:2002,currencyCode:"USD"},{date:"26.11.2024 00:16",betAmount:10,winAmount:2002,currencyCode:"USD"},{date:"26.11.2024 00:16",betAmount:10,winAmount:2002,currencyCode:"USD"},{date:"26.11.2024 00:16",betAmount:10,winAmount:2002,currencyCode:"USD"},{date:"26.11.2024 00:16",betAmount:10,winAmount:2002,currencyCode:"USD"},{date:"26.11.2024 00:16",betAmount:10,winAmount:2002,currencyCode:"USD"}];constructor(){pe(this)}setData(t){this.data=t}}const Vr=new Es,Ns=I(()=>{const{data:e}=Vr;return c.jsxs("div",{className:"history-wrap",role:"list","aria-label":"History list",children:[c.jsxs("div",{className:"history-item history-item--head",role:"row",children:[c.jsx("span",{className:"date-section",children:"Date"}),c.jsx("span",{className:"bet-section",children:"Bet"}),c.jsx("span",{className:"win-section",children:"Win"})]}),e.map((t,r)=>c.jsx(Os,{date:t.date,betAmount:t.betAmount,winAmount:t.winAmount,currencyCode:t.currencyCode,id:"aa"},r))]})}),Lr=I(({item:e,type:t,onToggle:r,onBuy:n})=>{const{betAmount:i}=Q,{activeAnteBet:o,setActiveAnteBet:s}=Ze,a=e.title.split(`
52
- `);return c.jsxs("div",{className:"sf-card",role:"group","aria-label":a.join(" "),children:[c.jsx("div",{className:"sf-card__title",children:a.map((u,l)=>c.jsx("span",{children:u},l))}),c.jsxs("div",{className:"sf-card__content",children:[c.jsx("div",{className:"sf-card__image-wrap",children:e.imagePath?c.jsx("img",{src:e.imagePath,alt:a[0]}):c.jsx("div",{className:"sf-card__image-placeholder"})}),e.description&&c.jsx("div",{className:"sf-card__description",children:e.description})]}),c.jsxs("div",{className:`sf-card__bottom ${t}`,children:[c.jsxs("div",{className:"sf-card__price",children:[e.costMultiplier*i," ",Q.displayCurrency]}),t==="ante"?c.jsx("div",{className:"sf-card__toggle",children:c.jsx(At,{checked:o===e,onChange:u=>s.call(Ze,u?e:null)})}):c.jsx("button",{className:"sf-buy-btn",type:"button",onClick:()=>n&&n(e.title),children:"BUY"})]})]})}),rn=({features:e,type:t,title:r})=>c.jsxs(c.Fragment,{children:[c.jsx("h2",{className:"sf-section-title",children:r}),c.jsx("div",{className:"sf-grid",children:e.map((n,i)=>c.jsx(Lr,{item:n,type:t,onToggle:()=>{}},i))})]}),As=()=>{const e=i=>{console.log("buy",i)},{anteBets:t,inReelFeatures:r,bonusFeatures:n}=Ze;return c.jsxs("div",{className:"sf-wrap",children:[t.length&&c.jsx(rn,{features:t,type:tn.ante,title:"Ante Bets"},0),r.length&&c.jsx(rn,{features:r,type:tn.buy,title:"Reel Features"},1),n.length&&c.jsx(rn,{features:n,type:tn.buy,title:"Bonus"},2),c.jsx("h2",{className:"sf-section-title",children:"Bonus"}),c.jsx("div",{className:"sf-grid sf-grid--three",children:n.map((i,o)=>c.jsx(Lr,{item:i,type:"buy",onBuy:e},o))})]})},Ss=I(()=>{const{activePopup:e}=U;if(!e)return null;const t=m.useMemo(()=>{switch(e){case ee.bet:return _s;case ee.autoplay:return ms;case ee.settings:return ys;case ee.history:return Ns;case ee.buyBonus:return As;default:return null}},[e]);return t?c.jsx(t,{}):null}),Cs=({configs:e,text:t,onClick:r})=>c.jsx("button",{type:"button",className:"additional-btn",style:{"--btn-bg":e?.background??"transparent","--btn-color":e?.color??"inherit"},onClick:typeof r=="function"?r:void 0,children:t}),ws=I(()=>{const{activeDialog:e}=Xe;return e?c.jsxs("div",{className:"dialogs-wrap","aria-live":"polite",children:[c.jsx("span",{className:"title",children:e?.title}),e?.imagePath&&c.jsx("img",{className:"dialog-image",src:e.imagePath,alt:e.title??"dialog image"}),c.jsx("span",{className:"message",children:e?.message}),e.toggle&&c.jsx(At,{checked:e.toggle.value,onChange:()=>e.toggle?.onClick()}),c.jsx("div",{className:"additional-btns",children:e?.buttons?.map((t,r)=>c.jsx(Cs,{configs:t.configs,text:t.text,onClick:t.onClick},r))})]}):null});function Ds(){return c.jsxs("div",{className:"app",children:[c.jsxs("div",{className:"game-container",children:[c.jsx(us,{}),c.jsx(fs,{}),c.jsx(as,{})]}),c.jsxs(hs,{children:[c.jsx(Ss,{}),c.jsx(ws,{})]})]})}function jr(e){if(!e){console.error("element not found");return}xr.createRoot(e).render(c.jsx(m.StrictMode,{children:c.jsx(Ds,{})}))}jr(document.body),w.autoplayStore=ke,w.betStore=Q,w.bonusStore=Ze,w.createUi=jr,w.dialogStore=Xe,w.historyStore=Vr,w.popupStore=U,w.settingsStore=te,w.spinButtonStore=Nr,Object.defineProperty(w,Symbol.toStringTag,{value:"Module"})}));
51
+ `,onClick:e})}),Ar=({onClick:e,disabled:t=!1,className:r,isActive:n})=>c.jsx("button",{className:`${r} ${t?"disabled":""} ${n?"active":""}`,onClick:e});class es{balance=1e4;betAmount=10;betIndex=0;lastWin=0;volume=50;betAmountRange=[10,20,50,100,500,1e3,5e3,1e4,25e3,5e5,65e3,8e4,1e5,15e4,2e5];maxBetAmount=this.betAmountRange[0];minBetAmount=this.betAmountRange[this.betAmountRange.length-1];displayCurrency="FUN";constructor(){pe(this)}setBet(t){this.betAmount=t}setNextBetAmount(){if(this.betIndex===this.betAmountRange.length-1)return console.error("Bet Index must be less than BetStore.betAmountRange.length");this.betIndex+=1,this.betAmount=this.betAmountRange[this.betIndex]}setPrevBetAmount(){if(this.betIndex<1)return console.error("Bet Index must be more than 0");this.betIndex-=1,this.betAmount=this.betAmountRange[this.betIndex]}setBetAmountRange(t){this.betAmountRange=t,t.length>0&&(this.maxBetAmount=t[0],this.minBetAmount=t[t.length-1])}setDisplayCurrency(t){this.displayCurrency=t}setBalance(t){this.balance=t}setLastWin(t){this.lastWin=t}setVolume(t){this.volume=Math.max(0,Math.min(100,t))}}const Q=new es;class ts{activePopup=null;constructor(){pe(this)}open(t){this.activePopup=t}close(){this.activePopup=null}get isOpen(){return this.activePopup!==null}}const U=new ts,ee={bet:"bet",autoplay:"autoplay",settings:"settings",history:"history",buyBonus:"buy_bonus"},ns={insufficientFunds:"insufficient funds"},Sr={primary:{background:"#FBDE38",color:"#1C1B1E"},secondary:{background:"#1C1B1E",color:"#FFFFFF"}},rs=[{name:ns.insufficientFunds,title:"Insufficient Funds",imagePath:"/img_1.png",message:"Your balance is low, please make a deposit",buttons:[{text:"Back",configs:Sr.secondary},{text:"Ok",configs:Sr.primary}]}],tn={ante:"ante",buy:"buy"};class is{introSkip=!1;spaceToSpin=!1;spaceToSkip=!1;isTurbo=!1;volume=50;musicOn=!0;soundsOn=!0;constructor(){pe(this)}setMusicOn(t){this.musicOn=t}setVolume(t){this.volume=t}setIsTurbo(t){this.isTurbo=t}setSoundsOn(t){this.soundsOn=t}setIntroSkip(t){this.introSkip=t}setSpaceToSpin(t){this.spaceToSpin=t}setSpaceToSkip(t){this.spaceToSkip=t}}const te=new is;class os{anteBets=[{title:"Ante 1",imagePath:"/img_1.png",costMultiplier:50},{title:"Ante 2",imagePath:"/img_1.png",costMultiplier:3},{title:"Ante 3",imagePath:"/img_1.png",costMultiplier:4},{title:"Ante 4",costMultiplier:4}];inReelFeatures=[{title:"ReelFeature 1",costMultiplier:500},{title:"ReelFeature 2",costMultiplier:6},{title:"ReelFeature 3",costMultiplier:7}];bonusFeatures=[{title:"Bonus 1",costMultiplier:50},{title:"Bonus 2",costMultiplier:100},{title:"Bonus 3",costMultiplier:200},{title:"Bonus 4",costMultiplier:500}];activeAnteBet=null;activeBonusFeature=null;activeInReelFeature=null;constructor(){pe(this)}setAnteBets(t){this.anteBets=t}setActiveAnteBet(t){this.activeAnteBet=t}setActiveBonusFeature(t){this.activeBonusFeature=t}setActiveInReelFeature(t){this.activeInReelFeature=t}setInReelFeatures(t){this.inReelFeatures=t}setBonusFeatures(t){this.bonusFeatures=t}get isActiveBonus(){return!!this.activeBonusFeature}get isActiveInReelFeature(){return!!this.activeInReelFeature}get isActiveAnteBet(){return!!this.activeAnteBet}}const Ze=new os,ss=I(()=>{const{lastWin:e,balance:t,betAmount:r,displayCurrency:n,setNextBetAmount:i,setPrevBetAmount:o}=Q,{setIsTurbo:s,isTurbo:a}=te,{open:u}=U,{activeAnteBet:l,activeBonusFeature:d,activeInReelFeature:v,setActiveAnteBet:h}=Ze,b=m.useMemo(()=>l?.imagePath||v?.imagePath||d?.imagePath,[l,d,v]),g=m.useCallback(()=>{l?h(null):u.bind(U,ee.buyBonus)},[l,h]);return c.jsx("div",{className:"ui-footer",children:c.jsxs("div",{className:"top-row",children:[c.jsxs("div",{className:"left-group",children:[c.jsx(Xo,{imagePath:b,onClick:g}),c.jsxs("div",{className:"balance-info",children:[c.jsx(Or,{label:"LAST WIN",value:`${e} ${n}`}),c.jsx(Or,{label:"BALANCE",value:`${t} ${n}`})]})]}),c.jsxs("div",{className:"bet-control",children:[c.jsx(Yo,{activeAnteBet:!!l,value:r,onClick:u.bind(U,ee.bet)}),c.jsxs("div",{className:"bet-box",children:[c.jsx(Er,{onClick:()=>o.call(Q),className:"bet-btn minus"}),c.jsx(Qo,{onClick:()=>console.log("Spin"),state:"active"}),c.jsx(Er,{onClick:()=>i.call(Q),className:"bet-btn plus"})]}),c.jsx(Ar,{className:"quick-spin",onClick:s.bind(te,!a),isActive:a}),c.jsx(Ar,{className:"auto-spin",onClick:u.bind(U,ee.autoplay),isActive:!1})]})]})})}),as=({onMount:e,onUnmount:t,className:r})=>{const n=m.useRef(null);return m.useEffect(()=>(n.current&&e&&e(n.current),()=>{t?.()}),[e,t]),c.jsx("div",{ref:n,className:r,style:{width:"100%",height:"100%",position:"relative"}})};function us(e){const t=m.useRef(null);return m.useEffect(()=>{if(typeof e!="function")return;const r=n=>{const i=t.current;if(!i)return;const o=n.target;o&&(i.contains(o)||e(n))};return document.addEventListener("mousedown",r),document.addEventListener("touchstart",r),()=>{document.removeEventListener("mousedown",r),document.removeEventListener("touchstart",r)}},[e]),t}const cs=I(()=>{const{volume:e,setVolume:t}=te,[r,n]=m.useState(!1),i=us(()=>n(!1)),o=m.useCallback(()=>{r||n(!0)},[r,n]);return c.jsxs(c.Fragment,{children:[r&&c.jsxs("div",{className:"volume-control",ref:i,children:[c.jsx("input",{type:"range",min:0,max:100,value:e,onChange:s=>t.call(te,Number(s.target.value)),className:"slider","aria-label":"Volume"}),c.jsx("span",{className:"volume-value",children:e})]}),c.jsx("button",{className:`btn-sound ${e===0?"inactive":""}`,"aria-label":"Toggle Sound",onClick:o})]})}),ls=I(()=>{const{open:e}=U;return c.jsxs("div",{className:"settings-section",children:[c.jsx(cs,{}),c.jsx("button",{className:"btn-settings","aria-label":"Open Settings",onClick:e.bind(U,ee.settings)})]})}),fs="data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='34'%20height='45'%20viewBox='0%200%2034%2045'%20fill='none'%3e%3cpath%20d='M7.69062%2031.7333H7.06121L9.3091%2028.0889L11.9167%2024C12.636%2022.9333%2012.666%2021.8074%2012.0066%2020.6222C11.527%2019.6741%2011.0475%2018.8148%2010.5679%2018.0444L11.1973%2017.6889C11.1973%2017.6296%2011.1674%2017.5704%2011.1074%2017.5111L10.3881%2017.6889C10.2083%2017.6296%2010.0284%2017.4222%209.8486%2017.0667C9.72871%2016.7111%209.63879%2016.5037%209.57885%2016.4444C9.15924%2016.1481%208.85952%2015.7037%208.67969%2015.1111L9.12927%2014.5778C8.94944%2014.4%208.88949%2014.2815%208.94944%2014.2222C9.06933%2013.4518%209.33907%2012.9185%209.75868%2012.6222C10.0584%2012.563%2010.0284%2012.3556%209.66877%2012L8.40994%2014.5778C7.93039%2013.9852%207.66065%2013.6%207.6007%2013.4222C7.6007%2013.1852%207.8105%2012.7704%208.23011%2012.1778C8.40994%2012%208.5598%2011.7926%208.67969%2011.5556C8.85952%2011.1407%208.94944%2010.6963%208.94944%2010.2222L8.40994%2011.3778C8.11022%2011.8519%207.69062%2011.9704%207.15112%2011.7333C7.15112%2011.4963%207.18109%2011.3481%207.24104%2011.2889C7.36093%2011.1704%207.51079%2011.0815%207.69062%2011.0222C7.87045%2010.9037%208.02031%2010.7852%208.1402%2010.6667L7.78053%2010.4C7.78053%2010.3407%207.81051%2010.2815%207.87045%2010.2222C7.87045%209.98518%207.90042%209.83704%207.96036%209.77778C7.54076%2010.1926%207.12115%2010.2222%206.70154%209.86667C6.82143%209.51111%206.88137%209.3037%206.88137%209.24444L6.97129%209.06666L7.15112%208.8C6.97129%208.85926%206.73151%208.88889%206.43179%208.88889C6.43179%208.53333%206.46177%208.32592%206.52171%208.26666C6.70154%207.79259%206.70154%207.34815%206.52171%206.93333L6.07213%207.28889C5.77241%207.46667%205.23292%207.46667%204.45365%207.28889C4.15393%206.6963%204.30379%206.13333%204.90322%205.6C4.84328%205.6%204.66345%205.62963%204.36373%205.68889C4.12395%205.68889%203.94412%205.68889%203.82423%205.68889C3.82423%206.22222%203.79426%206.60741%203.73432%206.84444C3.37465%206.25185%203.19482%205.86666%203.19482%205.68889C3.13488%205.62963%203.07494%205.6%203.01499%205.6L2.74524%205.33333L1.21667%202.66666L1.03684%202.13333C0.677179%201.00741%201.09679%200.355554%202.29566%200.177775H3.73432C3.97409%200.177775%204.42367%200.207404%205.08306%200.266663C5.80238%200.266663%206.25196%200.266663%206.43179%200.266663C7.33095%200.148146%208.05028%200.503704%208.58978%201.33333C9.18921%202.16296%2010.2982%203.94074%2011.9167%206.66667C12.0366%206.78518%2012.0965%207.05185%2012.0965%207.46666C12.8158%207.58518%2013.2354%208.14815%2013.3553%209.15555L14.0746%2010.0444L15.6032%2012.8C15.6032%2012.9185%2015.6332%2013.0074%2015.6931%2013.0667L16.5923%2014.4L17.7612%2014.0444L18.3906%2013.6C18.8102%2013.1852%2019.2298%2012.6519%2019.6494%2012L21.5377%209.06666L23.336%206.4C24.2951%204.97778%2025.0144%203.82222%2025.494%202.93333L26.0335%201.86667C26.573%201.80741%2026.8727%201.74815%2026.9326%201.68889C27.0525%201.57037%2027.0525%201.24444%2026.9326%200.71111C27.5321%200.355554%2028.5211%200.177775%2029.8998%200.177775C31.4584%200.0592581%2032.2676%200%2032.3276%200L32.5074%200.62222L32.8671%200.266663L32.957%200.35555C33.0169%200.414812%2033.0769%200.444444%2033.1368%200.444444C33.8561%200.799999%2034.0959%201.27407%2033.8561%201.86667C33.7362%202.28148%2033.3766%203.05185%2032.7771%204.17777L32.3276%204.35555L31.878%205.51111C31.0987%206.45926%2030.0497%208%2028.7309%2010.1333C27.5321%2012.0296%2026.6928%2013.3333%2026.2133%2014.0444C25.9136%2014.4%2024.6547%2016.4148%2022.4368%2020.0889L21.8973%2021.0667C21.5976%2021.7778%2021.6575%2022.4296%2022.0772%2023.0222L23.6956%2025.8667C23.6956%2025.9852%2023.7556%2026.1037%2023.8755%2026.2222C23.9954%2026.3407%2023.9654%2026.4889%2023.7856%2026.6667L24.3251%2026.9333C24.5648%2027.4074%2025.0744%2028.237%2025.8536%2029.4222C26.6329%2030.6074%2027.0525%2031.2593%2027.1124%2031.3778C27.1124%2031.4963%2027.1424%2031.5852%2027.2024%2031.6444C26.543%2031.9407%2026.4231%2032.2963%2026.8427%2032.7111C26.8427%2032.7704%2026.8127%2032.8296%2026.7528%2032.8889C26.7528%2032.9481%2026.7528%2033.0074%2026.7528%2033.0667C26.7528%2033.2444%2026.8427%2033.4222%2027.0225%2033.6C27.2024%2033.4222%2027.4122%2033.037%2027.6519%2032.4444C28.1914%2033.037%2028.4012%2033.5704%2028.2814%2034.0444C28.9407%2034.4%2029.2704%2034.9037%2029.2704%2035.5556C29.2704%2035.6741%2029.3004%2035.7333%2029.3603%2035.7333C29.6001%2035.9704%2029.9898%2036.5037%2030.5292%2037.3333L31.6082%2039.0222L31.9679%2039.5556C32.1477%2039.9704%2032.0878%2040.237%2031.7881%2040.3556H31.9679L32.5074%2040.1778L33.6763%2042.4C34.3956%2044%2033.9161%2044.8%2032.2376%2044.8C32.1777%2044.8%2032.1477%2044.7704%2032.1477%2044.7111C32.1477%2044.3556%2032.0878%2044.1778%2031.9679%2044.1778C31.7881%2044.1778%2031.6682%2044.2074%2031.6082%2044.2667C31.6082%2044.3259%2031.6082%2044.4444%2031.6082%2044.6222C31.6682%2044.7407%2031.6982%2044.8296%2031.6982%2044.8889H28.3713C27.5321%2044.8889%2026.7828%2044.4741%2026.1234%2043.6444L24.9545%2041.7778L21.8973%2036.8889L20.9082%2035.0222L20.0091%2033.5111L18.4805%2031.2C18.4805%2031.1407%2018.3307%2030.9037%2018.0309%2030.4889C17.6113%2029.9556%2017.1618%2029.8074%2016.6822%2030.0444C16.2626%2030.2222%2015.9029%2030.4593%2015.6032%2030.7556C15.3634%2031.0519%2015.1536%2031.3778%2014.9738%2031.7333L11.1973%2037.6L9.3091%2040.4444L9.12927%2040.7111V40.3556C9.06933%2040.1185%209.03935%2039.9407%209.03935%2039.8222C8.5598%2040.1185%208.40994%2040.4444%208.58978%2040.8C8.58978%2040.8593%208.67969%2040.8889%208.85952%2040.8889L7.51079%2043.2L6.70154%2042.7556C6.70154%2042.8148%206.70154%2043.0222%206.70154%2043.3778C6.76149%2043.7333%206.79146%2043.9704%206.79146%2044.0889C6.43179%2044.6815%205.80238%2044.9778%204.90322%2044.9778C4.06401%2045.037%202.92508%2044.9778%201.48642%2044.8C0.107712%2044.6222%20-0.311896%2043.8519%200.2276%2042.4889L0.407431%2042.1333L3.19482%2037.6L3.91415%2038.4889C4.03404%2037.9556%203.91415%2037.5111%203.55449%2037.1556L4.45365%2035.9111L5.17297%2034.8444L6.16205%2033.9556C6.1021%2033.5407%206.40182%2032.7704%207.06121%2031.6444V31.8222L7.42087%2032.2667L7.51079%2032.0889C7.51079%2032.0296%207.54076%2031.9407%207.6007%2031.8222V31.7333C7.90042%2031.7926%208.05028%2031.763%208.05028%2031.6444C8.11022%2031.4667%208.11022%2031.2889%208.05028%2031.1111C7.8105%2031.1111%207.69062%2031.3185%207.69062%2031.7333ZM9.03935%2030.5778C9.45896%2030.637%209.69874%2030.637%209.75868%2030.5778C9.81863%2030.5185%209.78865%2030.2519%209.66877%2029.7778H8.85952C8.97941%2030.2519%209.03935%2030.5481%209.03935%2030.6667C8.79958%2030.6667%208.61975%2030.7259%208.49986%2030.8444C8.49986%2030.9037%208.52983%2030.9926%208.58978%2031.1111C8.64972%2031.1704%208.70966%2031.1704%208.76961%2031.1111C8.8895%2031.1111%208.97941%2030.9333%209.03935%2030.5778ZM21.2679%2012.8L20.9982%2012.3556L20.099%2012.7111C20.2189%2012.9481%2020.3987%2013.2148%2020.6385%2013.5111C21.0581%2013.4518%2021.2679%2013.2148%2021.2679%2012.8ZM30.6192%2040.8C30.0797%2041.0963%2030.0197%2041.5407%2030.4393%2042.1333C30.739%2041.4815%2030.799%2041.037%2030.6192%2040.8ZM22.5267%2012.1778C22.9463%2011.7037%2023.0363%2011.2593%2022.7965%2010.8444C22.3169%2011.2593%2022.227%2011.7037%2022.5267%2012.1778ZM3.46457%205.06666L4.63348%204.44444L3.91415%204.17777L3.37466%204.97778C3.37466%205.03704%203.40463%205.06666%203.46457%205.06666ZM22.3469%2026.4L22.1671%2026.1333C21.9872%2026.4889%2021.8973%2026.7259%2021.8973%2026.8444L22.0772%2027.0222L22.257%2027.1111C22.257%2027.0519%2022.3169%2026.963%2022.4368%2026.8444C22.6167%2026.6667%2022.5867%2026.5185%2022.3469%2026.4ZM24.1452%2012.1778V11.5556C24.1452%2011.437%2024.0553%2011.3778%2023.8755%2011.3778L23.6057%2011.4667C23.6057%2011.9407%2023.7856%2012.1778%2024.1452%2012.1778ZM6.25196%2035.2889C6.25196%2035.5852%206.28194%2035.8222%206.34188%2036C6.52171%2035.7037%206.49174%2035.4667%206.25196%2035.2889ZM10.0284%208.88889L9.39902%209.77778C9.81863%209.6%2010.0284%209.3037%2010.0284%208.88889ZM28.1015%2039.5556C28.3413%2039.2%2028.3113%2038.8741%2028.0116%2038.5778C27.9517%2038.6963%2027.9217%2038.8741%2027.9217%2039.1111C27.9217%2039.1704%2027.9517%2039.2296%2028.0116%2039.2889C28.0116%2039.4074%2028.0416%2039.4963%2028.1015%2039.5556ZM29.8099%2037.0667C29.75%2037.4815%2029.8699%2037.7185%2030.1696%2037.7778C30.2895%2037.4222%2030.1696%2037.1852%2029.8099%2037.0667ZM3.01499%2042.4889C3.07494%2042.4296%203.16485%2042.4%203.28474%2042.4L3.19482%2042.2222C3.19482%2042.0444%203.19482%2041.8963%203.19482%2041.7778L3.10491%2041.8667H2.92508L3.01499%2042.0444C3.01499%2042.2222%203.01499%2042.3704%203.01499%2042.4889ZM11.2873%208.17778H11.4671C11.587%208.05926%2011.6469%207.91111%2011.6469%207.73333L11.3772%207.64444C11.3772%207.7037%2011.3472%207.79259%2011.2873%207.91111C11.2873%208.02963%2011.2873%208.11852%2011.2873%208.17778ZM29.5402%2038.8444L29.72%2038.4889V38.1333C29.6001%2038.1333%2029.5102%2038.1037%2029.4503%2038.0444C29.3304%2038.3407%2029.3603%2038.6074%2029.5402%2038.8444ZM28.641%206.31111H28.4612C28.4012%206.37037%2028.3713%206.51852%2028.3713%206.75555C28.4312%206.81481%2028.4912%206.84444%2028.5511%206.84444V6.57778L28.641%206.31111ZM28.0116%2037.1556C28.1914%2036.9185%2028.1615%2036.7111%2027.9217%2036.5333C27.9217%2036.6519%2027.9517%2036.7704%2028.0116%2036.8889V37.1556ZM24.7746%2032.7111C24.7147%2032.6518%2024.6248%2032.6222%2024.5049%2032.6222C24.5049%2032.8593%2024.4749%2033.0074%2024.415%2033.0667H24.6847C24.6847%2033.0074%2024.6847%2032.9481%2024.6847%2032.8889C24.7447%2032.8296%2024.7746%2032.7704%2024.7746%2032.7111ZM25.404%2033.9556H25.5839C25.5839%2033.8963%2025.5539%2033.8074%2025.494%2033.6889C25.494%2033.5704%2025.494%2033.5111%2025.494%2033.5111H25.404C25.3441%2033.5704%2025.2842%2033.6%2025.2242%2033.6C25.3441%2033.7185%2025.404%2033.837%2025.404%2033.9556ZM9.66877%2030.8444H9.48893V31.2889H9.57885C9.63879%2031.2296%209.66877%2031.0815%209.66877%2030.8444ZM6.52171%2041.8667L6.43179%2042.1333C6.43179%2042.1926%206.49174%2042.2815%206.61163%2042.4L6.79146%2042.2222C6.79146%2042.163%206.70154%2042.0444%206.52171%2041.8667ZM5.3528%2039.1111H5.53264C5.53264%2038.8148%205.44272%2038.637%205.26289%2038.5778C5.32283%2038.6963%205.3528%2038.8741%205.3528%2039.1111ZM29.9897%206.48889H30.2595V5.95555H30.0797L29.9897%206.22222V6.48889ZM27.2024%209.6H27.3822C27.3822%209.36296%2027.3522%209.21481%2027.2923%209.15555H27.1124C27.1124%209.39259%2027.1424%209.54074%2027.2024%209.6ZM11.3772%2027.6444V28.3556C11.557%2028.1185%2011.557%2027.8815%2011.3772%2027.6444ZM4.54356%208.08889L5.53264%207.46666L6.07213%207.28889C6.13207%207.22963%206.25196%207.2%206.43179%207.2C6.49174%207.67407%206.34188%208%205.98222%208.17778C5.62255%208.35555%205.143%208.32592%204.54356%208.08889ZM6.43179%208.88889C6.73151%208.88889%206.97129%208.85926%207.15112%208.8L6.97129%209.06666L6.88137%209.24444L6.52171%209.6C6.22199%209.77778%205.98222%209.68889%205.80238%209.33333L6.07213%209.06666H5.98222C6.04216%209.06666%206.1021%209.03703%206.16205%208.97778C6.22199%208.97778%206.31191%208.94815%206.43179%208.88889ZM6.34188%2011.0222V10.2222L7.24104%2010.4C7.06121%2010.8741%206.76149%2011.0815%206.34188%2011.0222ZM5.98222%209.06666H6.07213C5.59258%209.06666%205.29286%208.97778%205.17297%208.8C5.29286%208.8%205.44272%208.74074%205.62255%208.62222C5.80238%208.5037%205.92227%208.41481%205.98222%208.35555V9.06666Z'%20fill='white'/%3e%3c/svg%3e";class ds{dialogs=rs;activeDialog=null;constructor(){pe(this)}add(t){this.dialogs.push(t)}open(t){const r=this.dialogs.find(n=>t===n.name);r?this.activeDialog=r:console.error(`Couldn't find dialog named ${t}`)}close(){this.activeDialog=null}get isOpen(){return this.activeDialog!==null}}const Xe=new ds,ps=I(()=>{const{betAmount:e,displayCurrency:t,setNextBetAmount:r,setPrevBetAmount:n}=Q;return c.jsxs("div",{className:"overlay-bet-controller",children:[c.jsx("div",{className:"decrease-bet",onClick:n.bind(Q)}),c.jsxs("div",{className:"bet-amount",children:[e," ",t]}),c.jsx("div",{className:"increase-bet",onClick:r.bind(Q)})]})}),vs=I(({children:e})=>{const t=U.activePopup,r=Xe.activeDialog;if(!t&&!r)return null;const n=o=>{o.target===o.currentTarget&&(U.close(),Xe.close())},i=()=>{U.close(),Xe.close()};return c.jsxs("div",{className:`overlay ${r?"dialog":""}`,onClick:n,role:"presentation",children:[typeof t=="string"&&c.jsx("span",{className:"popup-title",children:t.toUpperCase()}),c.jsx("div",{className:"overlay-content",role:"dialog","aria-modal":"true",children:e}),!r&&c.jsx("div",{className:"overlay-close","aria-label":"Close",onClick:i,children:c.jsx("img",{src:fs,alt:"Close"})}),t===ee.buyBonus&&c.jsx(ps,{})]})}),Cr=({value:e,onClick:t,active:r})=>c.jsx("div",{className:`rectLabel ${r?"current-active":""}`,onClick:()=>t(e),children:c.jsx("span",{children:e})}),hs=I(()=>{const{betAmountRange:e,setBet:t,betAmount:r}=Q;return c.jsx("div",{className:"bet-popup-container",children:e.map((n,i)=>{const o=r===n;return c.jsx(Cr,{value:n,active:o,onClick:t.bind(Q,n)},i)})})});class _s{countRange=[10,25,50,70,100,500,1e3];limitsRange=[10,20,50];count=0;specialFeatureSwitcherOn=!1;lossLimit=null;winLimit=null;constructor(){pe(this)}setCount(t){this.count=t}setLimitsRange(t){this.limitsRange=t}setCountRange(t){this.countRange=t}setSpecialFeatureSwitcher(t){this.specialFeatureSwitcherOn=t}setLossLimit(t){console.log(t),this.lossLimit=t}setWinLimit(t){console.log(t),this.winLimit=t}start(){}}const ke=new _s,At=({checked:e,onChange:t})=>c.jsx("button",{className:`ap-toggle ${e?"ap-toggle--on":"ap-toggle--off"}`,"aria-pressed":e,onClick:()=>t(!e),type:"button",children:c.jsx("span",{className:"ap-toggle__knob"})}),nn=({active:e,onClick:t,children:r})=>c.jsx("button",{className:`ap-limit ${e?"ap-limit--active":""}`,onClick:t,type:"button",children:r}),wr=({active:e,onClick:t,children:r})=>c.jsx("button",{className:`ap-tab ${e?"ap-tab--active":""}`,onClick:t,type:"button",children:r}),bs=({value:e,placeholder:t,inputType:r="text",className:n="",autoFocus:i=!0,onSubmit:o,onCancel:s})=>{const[a,u]=m.useState(""),l=m.useRef(null),d=m.useRef(!1);m.useEffect(()=>{u(e??""),d.current=!1},[e]),m.useEffect(()=>{i&&setTimeout(()=>{l.current?.focus(),l.current?.select()},0)},[i]);const v=()=>{d.current||(d.current=!0,o(a.trim()))},h=()=>{v()},b=g=>{g.key==="Enter"?(g.preventDefault(),v(),l.current?.blur()):g.key==="Escape"&&(u(e??""),s?.(),l.current?.blur())};return c.jsx("input",{ref:l,className:`ap-limit ${n}`,type:"number",value:a,placeholder:t,onChange:g=>u(g.target.value),onBlur:h,onKeyDown:b,inputMode:r==="number"?"numeric":void 0,"aria-label":"custom limit input"})},gs=I(()=>{const{specialFeatureSwitcherOn:e,setSpecialFeatureSwitcher:t,countRange:r,count:n,setCount:i,lossLimit:o,winLimit:s,setLossLimit:a,limitsRange:u,setWinLimit:l}=ke,[d,v]=m.useState(0),[h,b]=m.useState(!1),[g,O]=m.useState(""),E=m.useMemo(()=>d?s:o,[d,s,o]),L=m.useMemo(()=>d?l.bind(ke):a.bind(ke),[d,l,a]);m.useEffect(()=>{const C=E&&!u.includes(E);O(C?E:0)},[E,s]);const se=!!n&&n>0;return c.jsxs("div",{className:"autoplay-wrap",children:[c.jsx("h3",{className:"ap-title",children:"Number of spins"}),c.jsx("div",{className:"autoplay-count",children:r.map((C,A)=>{const $=n===C;return c.jsx(Cr,{value:C,active:$,onClick:i.bind(ke,C)},A)})}),c.jsxs("div",{className:"ap-switch-row",children:[c.jsx("div",{className:"ap-switch-label",children:"Stop on special feature WIN"}),c.jsx("div",{className:"ap-switch-control",children:c.jsx(At,{checked:e,onChange:C=>t.call(ke,C)})})]}),c.jsxs("div",{className:"ap-tabs",children:[c.jsx(wr,{active:!d,onClick:()=>v(0),children:"Loss limit"}),c.jsx(wr,{active:!!d,onClick:()=>v(1),children:"Single WIN limit"})]}),c.jsx("div",{className:"ap-limits-panel",children:c.jsx("div",{className:"ap-limits-inner",children:c.jsxs("div",{className:"ap-limit-grid",children:[u.map((C,A)=>c.jsxs(nn,{active:E===C,onClick:()=>L(C),children:[C,"X BET"]},A)),c.jsx(nn,{active:!E,onClick:()=>L(null),children:"NO LIMIT"}),h?c.jsx(bs,{value:""+g,inputType:"number",onSubmit:C=>{const A=C.trim();if(A===""){b(!1);return}const $=Number(A);O($??0),L($),b(!1)},onCancel:()=>{b(!1)}}):c.jsx(nn,{onClick:()=>{b(!0)},active:!!E&&E===Number(g),children:g?`${g}X BET`:"CUSTOM"})]})})}),c.jsx("div",{className:"ap-start-row",children:c.jsx("button",{className:`ap-start-btn ${se?"":"ap-start-btn--disabled"}`,onClick:()=>{},type:"button",disabled:!se,children:"Start Autoplay"})})]})}),Dr=({onClick:e,label:t,className:r})=>c.jsxs("button",{className:`sp-action ${r}`,type:"button",onClick:e,children:[c.jsx("span",{className:"sp-action__icon","aria-hidden":"true"}),c.jsx("span",{className:"sp-action__label",children:t})]}),Ye=({onToggle:e,label:t,checked:r=!1})=>c.jsxs("div",{className:"sp-row",children:[c.jsx("div",{className:"sp-switch",children:c.jsx(At,{checked:r,onChange:()=>e(!r)})}),c.jsx("div",{className:"sp-label",children:t})]}),ms=I(()=>{const{introSkip:e,spaceToSkip:t,musicOn:r,soundsOn:n,spaceToSpin:i,setSpaceToSpin:o,setIntroSkip:s,setSpaceToSkip:a,setSoundsOn:u,setMusicOn:l}=te,{open:d}=U;return c.jsxs("div",{className:"sp-wrap",children:[c.jsxs("div",{className:"sp-actions",children:[c.jsx(Dr,{onClick:d.bind(U,ee.history),className:"sp-action--history",label:"History"}),c.jsx(Dr,{onClick:()=>{},className:"sp-action--paytable",label:"Paytable"})]}),c.jsx("h3",{className:"sp-section-title",children:"Audio"}),c.jsxs("div",{className:"sp-rows",children:[c.jsx(Ye,{onToggle:l.bind(te),checked:r,label:"Music"}),c.jsx(Ye,{onToggle:u.bind(te),checked:n,label:"Sounds"})]}),c.jsx("h3",{className:"sp-section-title",children:"Game launch"}),c.jsx("div",{className:"sp-rows",children:c.jsx(Ye,{onToggle:s.bind(te),checked:e,label:"Skip Intro"})}),c.jsx("h3",{className:"sp-section-title",children:"Keyboard"}),c.jsxs("div",{className:"sp-rows",children:[c.jsx(Ye,{onToggle:o.bind(te),checked:i,label:"Spacebar to Spin"}),c.jsx(Ye,{onToggle:a.bind(te),checked:t,label:"Spacebar to Skip"})]})]})}),ys=({date:e,currencyCode:t,betAmount:r,winAmount:n})=>{const[i,o]=m.useState(!1);return c.jsxs("div",{className:`history-item ${i?"active":""}`,role:"row",children:[c.jsx("span",{className:"date-section",children:e}),c.jsxs("span",{className:"bet-section",children:[r,c.jsx("span",{className:"currency",children:t})]}),c.jsxs("span",{className:"win-section",children:[n,c.jsxs("span",{className:"currency",children:[" ",t]})]}),c.jsx("div",{className:`vector ${i?"up":"down"}`,"aria-hidden":"true",onClick:()=>o(!i)}),i&&c.jsxs("div",{className:"additional-info",children:[c.jsxs("button",{className:"additional-button replay",children:[c.jsx("div",{className:"replay-icon"}),"REPLAY"]}),c.jsx("button",{className:"additional-button",children:"LINK"})]})]})};class Os{data=[{date:"26.11.2024 00:16",betAmount:1011,winAmount:20,currencyCode:"USD"},{date:"26.11.2024 00:16",betAmount:10,winAmount:20,currencyCode:"USD"},{date:"26.11.2024 00:16",betAmount:1,winAmount:2e4,currencyCode:"USD"},{date:"26.11.2024 00:16",betAmount:10,winAmount:2002,currencyCode:"USD"},{date:"26.11.2024 00:16",betAmount:10,winAmount:2002,currencyCode:"USD"},{date:"26.11.2024 00:16",betAmount:10,winAmount:2002,currencyCode:"USD"},{date:"26.11.2024 00:16",betAmount:10,winAmount:2002,currencyCode:"USD"},{date:"26.11.2024 00:16",betAmount:10,winAmount:2002,currencyCode:"USD"},{date:"26.11.2024 00:16",betAmount:10,winAmount:2002,currencyCode:"USD"},{date:"26.11.2024 00:16",betAmount:10,winAmount:2002,currencyCode:"USD"},{date:"26.11.2024 00:16",betAmount:10,winAmount:2002,currencyCode:"USD"},{date:"26.11.2024 00:16",betAmount:10,winAmount:2002,currencyCode:"USD"},{date:"26.11.2024 00:16",betAmount:10,winAmount:2002,currencyCode:"USD"},{date:"26.11.2024 00:16",betAmount:10,winAmount:2002,currencyCode:"USD"},{date:"26.11.2024 00:16",betAmount:10,winAmount:2002,currencyCode:"USD"},{date:"26.11.2024 00:16",betAmount:10,winAmount:2002,currencyCode:"USD"},{date:"26.11.2024 00:16",betAmount:10,winAmount:2002,currencyCode:"USD"}];constructor(){pe(this)}setData(t){this.data=t}}const Vr=new Os,Es=I(()=>{const{data:e}=Vr;return c.jsxs("div",{className:"history-wrap",role:"list","aria-label":"History list",children:[c.jsxs("div",{className:"history-item history-item--head",role:"row",children:[c.jsx("span",{className:"date-section",children:"Date"}),c.jsx("span",{className:"bet-section",children:"Bet"}),c.jsx("span",{className:"win-section",children:"Win"})]}),e.map((t,r)=>c.jsx(ys,{date:t.date,betAmount:t.betAmount,winAmount:t.winAmount,currencyCode:t.currencyCode,id:"aa"},r))]})}),Lr=I(({item:e,type:t,onToggle:r,onBuy:n})=>{const{betAmount:i}=Q,{activeAnteBet:o,setActiveAnteBet:s}=Ze,a=e.title.split(`
52
+ `);return c.jsxs("div",{className:"sf-card",role:"group","aria-label":a.join(" "),children:[c.jsx("div",{className:"sf-card__title",children:a.map((u,l)=>c.jsx("span",{children:u},l))}),c.jsxs("div",{className:"sf-card__content",children:[c.jsx("div",{className:"sf-card__image-wrap",children:e.imagePath?c.jsx("img",{src:e.imagePath,alt:a[0]}):c.jsx("div",{className:"sf-card__image-placeholder"})}),e.description&&c.jsx("div",{className:"sf-card__description",children:e.description})]}),c.jsxs("div",{className:`sf-card__bottom ${t}`,children:[c.jsxs("div",{className:"sf-card__price",children:[e.costMultiplier*i," ",Q.displayCurrency]}),t==="ante"?c.jsx("div",{className:"sf-card__toggle",children:c.jsx(At,{checked:o===e,onChange:u=>s.call(Ze,u?e:null)})}):c.jsx("button",{className:"sf-buy-btn",type:"button",onClick:()=>n&&n(e.title),children:"BUY"})]})]})}),rn=({features:e,type:t,title:r})=>c.jsxs(c.Fragment,{children:[c.jsx("h2",{className:"sf-section-title",children:r}),c.jsx("div",{className:"sf-grid",children:e.map((n,i)=>c.jsx(Lr,{item:n,type:t,onToggle:()=>{}},i))})]}),Ns=()=>{const e=i=>{console.log("buy",i)},{anteBets:t,inReelFeatures:r,bonusFeatures:n}=Ze;return c.jsxs("div",{className:"sf-wrap",children:[t.length&&c.jsx(rn,{features:t,type:tn.ante,title:"Ante Bets"},0),r.length&&c.jsx(rn,{features:r,type:tn.buy,title:"Reel Features"},1),n.length&&c.jsx(rn,{features:n,type:tn.buy,title:"Bonus"},2),c.jsx("h2",{className:"sf-section-title",children:"Bonus"}),c.jsx("div",{className:"sf-grid sf-grid--three",children:n.map((i,o)=>c.jsx(Lr,{item:i,type:"buy",onBuy:e},o))})]})},As=I(()=>{const{activePopup:e}=U;if(!e)return null;const t=m.useMemo(()=>{switch(e){case ee.bet:return hs;case ee.autoplay:return gs;case ee.settings:return ms;case ee.history:return Es;case ee.buyBonus:return Ns;default:return null}},[e]);return t?c.jsx(t,{}):null}),Ss=({configs:e,text:t,onClick:r})=>c.jsx("button",{type:"button",className:"additional-btn",style:{"--btn-bg":e?.background??"transparent","--btn-color":e?.color??"inherit"},onClick:typeof r=="function"?r:void 0,children:t}),Cs=I(()=>{const{activeDialog:e}=Xe;return e?c.jsxs("div",{className:"dialogs-wrap","aria-live":"polite",children:[c.jsx("span",{className:"title",children:e?.title}),e?.imagePath&&c.jsx("img",{className:"dialog-image",src:e.imagePath,alt:e.title??"dialog image"}),c.jsx("span",{className:"message",children:e?.message}),e.toggle&&c.jsx(At,{checked:e.toggle.value,onChange:()=>e.toggle?.onClick()}),c.jsx("div",{className:"additional-btns",children:e?.buttons?.map((t,r)=>c.jsx(Ss,{configs:t.configs,text:t.text,onClick:t.onClick},r))})]}):null});function ws(){return c.jsxs("div",{className:"app",children:[c.jsxs("div",{className:"game-container",children:[c.jsx(as,{}),c.jsx(ls,{}),c.jsx(ss,{})]}),c.jsxs(vs,{children:[c.jsx(As,{}),c.jsx(Cs,{})]})]})}function Ds(e){if(!e){console.error("element not found");return}Tr.createRoot(e).render(c.jsx(m.StrictMode,{children:c.jsx(ws,{})}))}w.autoplayStore=ke,w.betStore=Q,w.bonusStore=Ze,w.createUi=Ds,w.dialogStore=Xe,w.historyStore=Vr,w.popupStore=U,w.settingsStore=te,w.spinButtonStore=Nr,Object.defineProperty(w,Symbol.toStringTag,{value:"Module"})}));
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sticky-studio-npm/ui-core",
3
- "version": "0.1.30",
3
+ "version": "0.1.32",
4
4
  "private": false,
5
5
  "type": "module",
6
6
  "main": "dist/ui-bundle.umd.js",