@sticky-studio-npm/ui-core 1.0.2 → 1.0.3
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.
package/dist/ui-bundle.es.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
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}.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.hidden{display:none}.ui-footer .top-row{display:flex;align-items:center;width:82%;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:#f49f04cf;border:1.5px solid #FBDE38;border-radius:9px;color:#fff;font-weight:700;display:inline-flex;align-items:center;justify-content:center;width:140px;height:65px;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 .buy-bonus.disabled{opacity:.6;pointer-events:none}.ui-footer .left-group .balance-info{display:flex;gap:50px}.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;background:#88888817;border:1.33px solid #C9C5C9;padding:5px 10px;border-radius:5px;max-height:26px;width:170px;font-weight:900;cursor:pointer}.ui-footer .bet-control .bet-amount.ante-color{border:1.33px solid #F49F04}.ui-footer .bet-control .bet-amount.ante-color .bet-amount-icon{background-color:#f49f04;border:1.33px solid #F49F04}.ui-footer .bet-control .bet-amount.ante-color .bet-amount-text{color:#f49f04}.ui-footer .bet-control .bet-amount.ante-color.disabled{opacity:.7;pointer-events:none}.ui-footer .bet-control .bet-amount.ante-color.disabled .bet-amount-icon{background-color:#654200}.ui-footer .bet-control .bet-amount.disabled{opacity:.7;pointer-events:none}.ui-footer .bet-control .bet-amount.disabled .bet-amount-icon{background-color:#3e3c3c}.ui-footer .bet-control .bet-amount:hover,.ui-footer .bet-control .bet-amount:hover .bet-amount-icon{background-color:#2e2e2ed9}.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:#88888817;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:18px;font-weight:900;cursor:inherit}.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:#88888817;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 .bet-btn.disabled{opacity:.7;pointer-events:none}.ui-footer .bet-control .bet-box .bet-btn:hover{width:18px;height:18px}.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 #F49F04;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);border:2.21px solid #F49F04}.ui-footer .bet-control .bet-box .spin-btn.slam-stop{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_174_1558)'%3e%3cg%20filter='url(%23filter1_d_174_1558)'%3e%3crect%20x='11.3779'%20y='11.3779'%20width='256'%20height='256'%20rx='128'%20fill='%231C1B1E'%20fill-opacity='0.8'%20shape-rendering='crispEdges'/%3e%3crect%20x='13.3779'%20y='13.3779'%20width='252'%20height='252'%20rx='126'%20stroke='%23AEAAAF'%20stroke-width='4'%20shape-rendering='crispEdges'/%3e%3c/g%3e%3c/g%3e%3cpath%20d='M200.128%2066.1279H78.6279C75.0475%2066.1279%2071.6137%2067.5502%2069.082%2070.082C66.5502%2072.6137%2065.1279%2076.0475%2065.1279%2079.6279V201.128C65.1279%20204.708%2066.5502%20208.142%2069.082%20210.674C71.6137%20213.206%2075.0475%20214.628%2078.6279%20214.628H200.128C203.708%20214.628%20207.142%20213.206%20209.674%20210.674C212.206%20208.142%20213.628%20204.708%20213.628%20201.128V79.6279C213.628%2076.0475%20212.206%2072.6137%20209.674%2070.082C207.142%2067.5502%20203.708%2066.1279%20200.128%2066.1279ZM200.128%20201.128H78.6279V79.6279H200.128V201.128Z'%20fill='%23FFFBFF'/%3e%3cdefs%3e%3cfilter%20id='filter0_d_174_1558'%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_174_1558'/%3e%3cfeBlend%20mode='normal'%20in='SourceGraphic'%20in2='effect1_dropShadow_174_1558'%20result='shape'/%3e%3c/filter%3e%3cfilter%20id='filter1_d_174_1558'%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_174_1558'/%3e%3cfeBlend%20mode='normal'%20in='BackgroundImageFix'%20in2='effect1_dropShadow_174_1558'%20result='BackgroundImageFix'/%3e%3cfeBlend%20mode='normal'%20in='SourceGraphic'%20in2='BackgroundImageFix'%20result='shape'/%3e%3c/filter%3e%3c/defs%3e%3c/svg%3e")}.ui-footer .bet-control .bet-box .spin-btn.disabled{border:2.21px solid rgba(99,99,99,.96);background-size:115% 115%;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_302_1901)'%3e%3cg%20filter='url(%23filter1_d_302_1901)'%3e%3crect%20x='11.3779'%20y='11.3779'%20width='256'%20height='256'%20rx='128'%20fill='%23313033'%20fill-opacity='0.7'%20shape-rendering='crispEdges'/%3e%3crect%20x='13.3779'%20y='13.3779'%20width='252'%20height='252'%20rx='126'%20stroke='%23AEAAAF'%20stroke-width='4'%20shape-rendering='crispEdges'/%3e%3c/g%3e%3c/g%3e%3cmask%20id='mask0_302_1901'%20style='mask-type:alpha'%20maskUnits='userSpaceOnUse'%20x='-9'%20y='-13'%20width='292'%20height='291'%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M135.508%2059.3779V86.9534C135.508%2088.4841%20137.157%2089.4474%20138.49%2088.6953L170.961%2070.3779L203.264%2052.9351C204.212%2052.4234%20204.584%2051.2533%20204.107%2050.2881L187.953%2017.6509L172.87%20-11.8823C172.105%20-13.3817%20169.942%20-13.3218%20169.261%20-11.7823L162.461%203.57529C162.085%204.42497%20161.173%204.90268%20160.259%204.7347C153.976%203.57985%20147.547%202.64683%20140.281%202.64683C76.2132%202.64683%2022.1352%2048.6112%207.84209%20110.637C7.58673%20111.746%208.32178%20112.838%209.44255%20113.03L48.619%20119.768C49.5816%20119.933%2050.5213%20119.376%2050.8615%20118.461C63.7903%2083.6587%2097.4523%2059.3779%20135.508%2059.3779Z'%20fill='white'/%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M72.5203%20188.227L96.1006%20173.931C97.4095%20173.137%2097.3781%20171.227%2096.0438%20170.477L63.5466%20152.208L31.8834%20133.627C30.9546%20133.082%2029.761%20133.37%2029.1833%20134.279L9.64931%20165.013L-7.78566%20193.221C-8.67083%20194.653%20-7.49846%20196.471%20-5.82867%20196.256L10.829%20194.109C11.7507%20193.99%2012.6317%20194.522%2012.9619%20195.39C15.232%20201.362%2017.7671%20207.343%2021.534%20213.557C54.749%20268.342%20122.09%20290.755%20182.54%20270.821C183.62%20270.465%20184.172%20269.27%20183.756%20268.212L169.207%20231.219C168.849%20230.31%20167.886%20229.795%20166.927%20229.978C130.464%20236.965%2092.2496%20220.769%2072.5203%20188.227Z'%20fill='white'/%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M218.176%20174.833L194.083%20161.42C192.745%20160.675%20191.101%20161.648%20191.11%20163.179L191.32%20200.458L190.848%20237.168C190.834%20238.245%20191.675%20239.139%20192.751%20239.191L229.124%20240.953L262.265%20242.14C263.947%20242.2%20264.947%20240.282%20263.933%20238.937L253.822%20225.526C253.263%20224.784%20253.289%20223.755%20253.88%20223.038C257.945%20218.11%20261.888%20212.947%20265.422%20206.598C296.586%20150.621%20282.73%2081.0133%20235.488%2038.3546C234.644%2037.5924%20233.332%2037.7034%20232.619%2038.5889L207.676%2069.5415C207.063%2070.302%20207.093%2071.3939%20207.727%2072.1364C231.846%20100.361%20236.687%20141.583%20218.176%20174.833Z'%20fill='white'/%3e%3c/mask%3e%3cg%20mask='url(%23mask0_302_1901)'%3e%3cellipse%20cx='140.297'%20cy='140.725'%20rx='109.654'%20ry='109.883'%20fill='white'/%3e%3c/g%3e%3cdefs%3e%3cfilter%20id='filter0_d_302_1901'%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_302_1901'/%3e%3cfeBlend%20mode='normal'%20in='SourceGraphic'%20in2='effect1_dropShadow_302_1901'%20result='shape'/%3e%3c/filter%3e%3cfilter%20id='filter1_d_302_1901'%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_302_1901'/%3e%3cfeBlend%20mode='normal'%20in='SourceGraphic'%20in2='effect1_dropShadow_302_1901'%20result='shape'/%3e%3c/filter%3e%3c/defs%3e%3c/svg%3e");pointer-events:none}.ui-footer .bet-control .spin-btn_label{font-size:23px;font-weight:700;color:#f49f04}.ui-footer .bet-control .spin-btn_label.hidden{display:none}.ui-footer .bet-control .quick-spin,.ui-footer .bet-control .auto-spin{width:40px;height:40px;border-radius:50%;cursor:pointer;background-size:60% 60%;background-repeat:no-repeat;background-color:#88888817;background-position:center;border:1.33px solid #C9C5C9;flex-shrink:0}.ui-footer .bet-control .quick-spin.disabled,.ui-footer .bet-control .auto-spin.disabled{opacity:.6;pointer-events:none}.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;width:85px;height:50px;padding:6px 12px;font-size:13px;white-space:normal;overflow-wrap:anywhere;word-break:break-word;text-align:center}.ui-footer .top-row .buy-bonus-wrap .bonus-thumb{right:102px;bottom:82px;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%}.ui-footer .bet-control .bet-box .spin-btn .spin-btn_label{font-size:14px}.ui-footer .bet-control .bet-box .spin-btn{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}}@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}.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:1020px)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:37px;height:37px}.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 .spin-btn_label{font-size:13px}.ui-footer .bet-control .quick-spin,.ui-footer .bet-control .auto-spin{width:27px;height:27px;border-radius:50%}.ui-footer .bonus-thumb{width:45px;height:52px;bottom:53px}.ui-footer .left-group{gap:10px}.ui-footer .left-group .buy-bonus{width:100px;height:45px;font-size:14px}.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}}@media screen and (max-width:750px)and (orientation:landscape){.ui-footer{bottom:-3px}.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:33px;height:33px}.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 .spin-btn_label{font-size:13px}.ui-footer .bet-control .quick-spin,.ui-footer .bet-control .auto-spin{width:27px;height:27px;border-radius:50%}.ui-footer .bonus-thumb{width:45px;height:52px;bottom:53px}.ui-footer .left-group{gap:10px}.ui-footer .left-group .buy-bonus{width:80px;height:40px;font-size:12px}.ui-footer .left-group .balance-info{gap:10px}.ui-footer .left-group .balance-info .info .label{font-size:7px}.ui-footer .left-group .balance-info .info .value{font-size:10px}}.ui-footer .spin-btn:hover,.ui-footer .quick-spin:hover,.ui-footer .auto-spin:hover{background-color:#2e2e2ed9}.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;background-color:#3c3b3b80;border:2px solid #F49F04;background-size:100%;background-position:center;background-repeat:no-repeat;bottom:80px;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:170px;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-color:#1917178c;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")}@media screen and (max-width:1300px)and (orientation:landscape){.settings-section{position:absolute;top:20px;right:30px;display:flex;align-items:center;gap:12px}}@media screen and (max-width:950px)and (orientation:landscape){.settings-section{position:absolute;top:20px;right:32px;display:flex;align-items:center;gap:12px}.btn-sound,.btn-settings{width:30px;height:30px;border:1px solid #fff;transition:background-color .2s}.btn-sound:hover,.btn-settings:hover{background-color:#ffffff26}.slider{appearance:none;width:100px;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;font-size:13px;min-width:24px;text-align:center}}@media screen and (max-width:750px)and (orientation:portrait){.btn-sound,.btn-settings{width:30px;height:30px;border:1px solid #fff;transition:background-color .2s}.btn-sound:hover,.btn-settings:hover{background-color:#ffffff26}.slider{appearance:none;width:100px;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;font-size:13px;min-width:24px;text-align:center}.settings-section{position:absolute;top:20px;right:20px;display:flex;align-items:center;gap:12px}}@media screen and (max-width:1050px)and (orientation:portrait){.btn-sound,.btn-settings{width:35px;height:35px;border:1px solid #fff;transition:background-color .2s}.btn-sound:hover,.btn-settings:hover{background-color:#ffffff26}.slider{appearance:none;width:110px;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;font-size:15px;min-width:24px;text-align:center}.settings-section{position:absolute;top:20px;right:30px;display:flex;align-items:center;gap:12px}}.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;font-weight:700;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 .popup-title{position:absolute;color:#fff;top:50px;font-size:1.8rem;text-align:center}.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:1120px)and (orientation:landscape){.overlay .overlay-content{width:90%;max-height:calc(95vh - var(--overlay-padding-top, 100px) + 20px)}.overlay .overlay-close{width:2.7rem;height:1.4rem;top:60px}.overlay .overlay-close img{width:1rem;height:1rem}.overlay .overlay-bet-controller{width:210px;bottom:65px}.overlay .increase-bet,.overlay .decrease-bet{padding:10px 5px;border-radius:8px;border:1.698px solid #AEAAAF;width:28px;background-repeat:no-repeat;background-position:center;background-size:40%;background-color:#313033b3;cursor:pointer}.overlay .bet-amount{padding:7px 2px;width:200px;border-radius:8px;font-size:11px;border:1.698px solid #AEAAAF;text-align:center;font-weight:700;background-color:#313033b3;color:#fff}.overlay .popup-title{font-size:1.8rem;position:absolute;top:10px}}.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:-1px;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: 325px;--sf-card-image-w: 200px;--sf-card-image-h: 120px;--gap: -10px;--btn-overlap: 20px;--btn-h: 37px;--bottom-row-h: 52px;--title-fs: 16px;--desc-fs: 12px;--price-fs: 17px;--buy-fs: 20px;--max-description-height: 83px}.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:5px 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;display:flex;justify-content:center;align-items:center}.sf-card__title{position:absolute;top:calc(var(--btn-overlap) - 12px);width:100%;font-size:15px;font-weight:800;text-transform:uppercase;line-height:1.05;text-align:center;z-index:100;color:#fff}.sf-card__content{position:absolute;bottom:calc(var(--btn-overlap) + 25px);width:100%;max-height:247px;display:flex;flex-direction:column;align-items:center;gap:8px;padding:0 6px;box-sizing:border-box}.sf-card__description{margin-top:5px;width:100%;max-height:var(--max-description-height);overflow:hidden;mask-image:linear-gradient(to bottom,#000000 11%,#000000 90%,transparent 100%);-webkit-mask-image:linear-gradient(to bottom,#000000 11%,#000000 90%,transparent 100%);scrollbar-gutter:stable;font-size:13px;font-weight:initial;text-transform:none;padding:3px 8px;box-sizing:border-box;text-align:center;transition:max-height .3s linear,mask-image .2s linear}.sf-card__description.open{mask-image:none;-webkit-mask-image:none}.sf-card__description.expandable{cursor:pointer}.sf-card__description.expandable:after{display:block;font-size:11px;opacity:.6;margin-top:4px}.sf-card__description.open:after{content:""}.sf-card__image-wrap{flex:0 0 var(--sf-card-image-h);width:100%;max-height:150px;display:flex;align-items:center;justify-content:center;padding:0 10px;box-sizing:border-box}.sf-card__image-wrap.hidden{display:none}.sf-card__image-wrap img{max-width:100%;max-height:100%;object-fit:contain;display:block}.sf-card__bottom{position:absolute;left:8px;right:8px;bottom:calc(var(--btn-overlap) - 33px);height:var(--bottom-row-h)}.sf-card__price{font-weight:900;font-size:var(--price-fs);color:#fff;white-space:nowrap}.sf-card__toggle{position:relative;top:10px}.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:#fbde38;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:var(--buy-fs);cursor:pointer;z-index:2;box-sizing:border-box}@media(max-width:1200px)and (orientation:landscape){:root{--sf-card-w: 160px;--sf-card-h: 220px;--sf-card-image-h: 110px;--btn-overlap: 18px;--btn-h: 36px;--bottom-row-h: 48px;--title-fs: 15px;--desc-fs: 11px;--price-fs: 16px;--buy-fs: 18px;--max-description-height: 55px}.sf-card__description{font-size:10px}.sf-card__title{font-size:12px}.sf-card__image-wrap{max-height:78px}.sf-section-title{font-size:22px}.sf-grid{gap:calc(var(--gap) + var(--btn-overlap))}}@media(max-width:950px)and (orientation:landscape){:root{--sf-card-w: 160px;--sf-card-h: 220px;--sf-card-image-h: 110px;--btn-overlap: 18px;--btn-h: 36px;--bottom-row-h: 48px;--title-fs: 15px;--desc-fs: 11px;--price-fs: 16px;--buy-fs: 18px;--max-description-height: 56px}.sf-card__title{font-size:11px}.sf-card__description{font-size:10px}.sf-card__image-wrap{max-height:78px}.sf-section-title{font-size:22px}.sf-grid{gap:calc(var(--gap) + var(--btn-overlap))}}@media(max-width:750px)and (orientation:landscape){:root{--sf-card-w: 135px;--sf-card-h: 190px;--sf-card-image-h: 110px;--btn-overlap: 18px;--btn-h: 25px;--bottom-row-h: 31px;--title-fs: 15px;--desc-fs: 11px;--price-fs: 13px;--buy-fs: 16px;--max-description-height: 32px}.sf-card__description{font-size:9px}.sf-card__bottom{position:absolute;left:8px;right:8px;bottom:calc(var(--btn-overlap) - 15px);height:var(--bottom-row-h)}.sf-card__image-wrap{max-height:76px}.sf-card__title{font-size:10px}.sf-section-title{font-size:22px}.sf-grid{gap:calc(var(--gap) + var(--btn-overlap))}}@media(max-width:650px)and (orientation:portrait){:root{--sf-card-w: 135px;--sf-card-h: 190px;--sf-card-image-h: 110px;--btn-overlap: 18px;--btn-h: 36px;--bottom-row-h: 48px;--title-fs: 15px;--desc-fs: 11px;--price-fs: 16px;--buy-fs: 18px;--max-description-height: 32px}.sf-card__title{font-size:10px}.sf-card__description{font-size:9px}.sf-card__image-wrap{max-height:76px}.sf-section-title{font-size:22px}.sf-grid{gap:calc(var(--gap) + var(--btn-overlap))}}.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
2
|
import { jsxs as w, jsx as b, Fragment as ir } from "react/jsx-runtime";
|
|
3
|
-
import
|
|
3
|
+
import Ae, { useState as ge, forwardRef as zt, memo as Jt, useMemo as Qe, useCallback as or, useRef as et, useEffect as tt, useLayoutEffect as ni } from "react";
|
|
4
4
|
import { createRoot as ri } from "react-dom/client";
|
|
5
5
|
import { unstable_batchedUpdates as ii } from "react-dom";
|
|
6
6
|
var oi = {
|
|
@@ -92,7 +92,7 @@ var si = {};
|
|
|
92
92
|
function Dt() {
|
|
93
93
|
return typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : si;
|
|
94
94
|
}
|
|
95
|
-
var ar = Object.assign, gt = Object.getOwnPropertyDescriptor,
|
|
95
|
+
var ar = Object.assign, gt = Object.getOwnPropertyDescriptor, fe = Object.defineProperty, Vt = Object.prototype, yt = [];
|
|
96
96
|
Object.freeze(yt);
|
|
97
97
|
var sr = {};
|
|
98
98
|
Object.freeze(sr);
|
|
@@ -100,10 +100,10 @@ var ui = typeof Proxy < "u", li = /* @__PURE__ */ Object.toString();
|
|
|
100
100
|
function ur() {
|
|
101
101
|
ui || A(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");
|
|
102
102
|
}
|
|
103
|
-
function
|
|
103
|
+
function Ze(e) {
|
|
104
104
|
process.env.NODE_ENV !== "production" && g.verifyProxies && A("MobX is currently configured to be able to run in ES5 mode, but in ES5 MobX won't be able to " + e);
|
|
105
105
|
}
|
|
106
|
-
function
|
|
106
|
+
function oe() {
|
|
107
107
|
return ++g.mobxGuid;
|
|
108
108
|
}
|
|
109
109
|
function dn(e) {
|
|
@@ -113,12 +113,12 @@ function dn(e) {
|
|
|
113
113
|
return n = !0, e.apply(this, arguments);
|
|
114
114
|
};
|
|
115
115
|
}
|
|
116
|
-
var
|
|
116
|
+
var Ue = function() {
|
|
117
117
|
};
|
|
118
118
|
function M(e) {
|
|
119
119
|
return typeof e == "function";
|
|
120
120
|
}
|
|
121
|
-
function
|
|
121
|
+
function De(e) {
|
|
122
122
|
var n = typeof e;
|
|
123
123
|
switch (n) {
|
|
124
124
|
case "string":
|
|
@@ -144,8 +144,8 @@ function lr(e) {
|
|
|
144
144
|
var n = e?.constructor;
|
|
145
145
|
return n ? n.name === "GeneratorFunction" || n.displayName === "GeneratorFunction" : !1;
|
|
146
146
|
}
|
|
147
|
-
function
|
|
148
|
-
|
|
147
|
+
function ot(e, n, t) {
|
|
148
|
+
fe(e, n, {
|
|
149
149
|
enumerable: !1,
|
|
150
150
|
writable: !0,
|
|
151
151
|
configurable: !0,
|
|
@@ -153,27 +153,27 @@ function it(e, n, t) {
|
|
|
153
153
|
});
|
|
154
154
|
}
|
|
155
155
|
function cr(e, n, t) {
|
|
156
|
-
|
|
156
|
+
fe(e, n, {
|
|
157
157
|
enumerable: !1,
|
|
158
158
|
writable: !1,
|
|
159
159
|
configurable: !0,
|
|
160
160
|
value: t
|
|
161
161
|
});
|
|
162
162
|
}
|
|
163
|
-
function
|
|
163
|
+
function Pe(e, n) {
|
|
164
164
|
var t = "isMobX" + e;
|
|
165
165
|
return n.prototype[t] = !0, function(r) {
|
|
166
166
|
return Bt(r) && r[t] === !0;
|
|
167
167
|
};
|
|
168
168
|
}
|
|
169
|
-
function
|
|
169
|
+
function qe(e) {
|
|
170
170
|
return e != null && Object.prototype.toString.call(e) === "[object Map]";
|
|
171
171
|
}
|
|
172
172
|
function ci(e) {
|
|
173
173
|
var n = Object.getPrototypeOf(e), t = Object.getPrototypeOf(n), r = Object.getPrototypeOf(t);
|
|
174
174
|
return r === null;
|
|
175
175
|
}
|
|
176
|
-
function
|
|
176
|
+
function _e(e) {
|
|
177
177
|
return e != null && Object.prototype.toString.call(e) === "[object Set]";
|
|
178
178
|
}
|
|
179
179
|
var fr = typeof Object.getOwnPropertySymbols < "u";
|
|
@@ -198,7 +198,7 @@ function Qt(e) {
|
|
|
198
198
|
function dr(e) {
|
|
199
199
|
return e === null ? null : typeof e == "object" ? "" + e : e;
|
|
200
200
|
}
|
|
201
|
-
function
|
|
201
|
+
function J(e, n) {
|
|
202
202
|
return Vt.hasOwnProperty.call(e, n);
|
|
203
203
|
}
|
|
204
204
|
var di = Object.getOwnPropertyDescriptors || function(n) {
|
|
@@ -207,10 +207,10 @@ var di = Object.getOwnPropertyDescriptors || function(n) {
|
|
|
207
207
|
t[r] = gt(n, r);
|
|
208
208
|
}), t;
|
|
209
209
|
};
|
|
210
|
-
function
|
|
210
|
+
function F(e, n) {
|
|
211
211
|
return !!(e & n);
|
|
212
212
|
}
|
|
213
|
-
function
|
|
213
|
+
function U(e, n, t) {
|
|
214
214
|
return t ? e |= n : e &= ~n, e;
|
|
215
215
|
}
|
|
216
216
|
function Nn(e, n) {
|
|
@@ -224,7 +224,7 @@ function _i(e, n) {
|
|
|
224
224
|
r.enumerable = r.enumerable || !1, r.configurable = !0, "value" in r && (r.writable = !0), Object.defineProperty(e, vi(r.key), r);
|
|
225
225
|
}
|
|
226
226
|
}
|
|
227
|
-
function
|
|
227
|
+
function We(e, n, t) {
|
|
228
228
|
return n && _i(e.prototype, n), Object.defineProperty(e, "prototype", {
|
|
229
229
|
writable: !1
|
|
230
230
|
}), e;
|
|
@@ -247,14 +247,14 @@ function He(e, n) {
|
|
|
247
247
|
throw new TypeError(`Invalid attempt to iterate non-iterable instance.
|
|
248
248
|
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`);
|
|
249
249
|
}
|
|
250
|
-
function
|
|
251
|
-
return
|
|
250
|
+
function be() {
|
|
251
|
+
return be = Object.assign ? Object.assign.bind() : function(e) {
|
|
252
252
|
for (var n = 1; n < arguments.length; n++) {
|
|
253
253
|
var t = arguments[n];
|
|
254
254
|
for (var r in t) ({}).hasOwnProperty.call(t, r) && (e[r] = t[r]);
|
|
255
255
|
}
|
|
256
256
|
return e;
|
|
257
|
-
},
|
|
257
|
+
}, be.apply(null, arguments);
|
|
258
258
|
}
|
|
259
259
|
function _r(e, n) {
|
|
260
260
|
e.prototype = Object.create(n.prototype), e.prototype.constructor = e, en(e, n);
|
|
@@ -285,25 +285,25 @@ function hi(e, n) {
|
|
|
285
285
|
return t === "Object" && e.constructor && (t = e.constructor.name), t === "Map" || t === "Set" ? Array.from(e) : t === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t) ? Nn(e, n) : void 0;
|
|
286
286
|
}
|
|
287
287
|
}
|
|
288
|
-
var
|
|
289
|
-
function
|
|
288
|
+
var k = /* @__PURE__ */ Symbol("mobx-stored-annotations");
|
|
289
|
+
function de(e) {
|
|
290
290
|
function n(t, r) {
|
|
291
|
-
if (
|
|
291
|
+
if (st(r))
|
|
292
292
|
return e.decorate_20223_(t, r);
|
|
293
|
-
|
|
293
|
+
at(t, r, e);
|
|
294
294
|
}
|
|
295
295
|
return Object.assign(n, e);
|
|
296
296
|
}
|
|
297
|
-
function
|
|
298
|
-
if (
|
|
297
|
+
function at(e, n, t) {
|
|
298
|
+
if (J(e, k) || ot(e, k, be({}, e[k])), process.env.NODE_ENV !== "production" && Ot(t) && !J(e[k], n)) {
|
|
299
299
|
var r = e.constructor.name + ".prototype." + n.toString();
|
|
300
300
|
A("'" + r + "' is decorated with 'override', but no such decorated member was found on prototype.");
|
|
301
301
|
}
|
|
302
|
-
bi(e, t, n), Ot(t) || (e[
|
|
302
|
+
bi(e, t, n), Ot(t) || (e[k][n] = t);
|
|
303
303
|
}
|
|
304
304
|
function bi(e, n, t) {
|
|
305
|
-
if (process.env.NODE_ENV !== "production" && !Ot(n) &&
|
|
306
|
-
var r = e.constructor.name + ".prototype." + t.toString(), o = e[
|
|
305
|
+
if (process.env.NODE_ENV !== "production" && !Ot(n) && J(e[k], t)) {
|
|
306
|
+
var r = e.constructor.name + ".prototype." + t.toString(), o = e[k][t].annotationType_, s = n.annotationType_;
|
|
307
307
|
A("Cannot apply '@" + s + "' to '" + r + "':" + (`
|
|
308
308
|
The field is already decorated with '@` + o + "'.") + `
|
|
309
309
|
Re-decorating fields is not allowed.
|
|
@@ -311,17 +311,17 @@ Use '@override' decorator for methods overridden by subclass.`);
|
|
|
311
311
|
}
|
|
312
312
|
}
|
|
313
313
|
function mi(e) {
|
|
314
|
-
return
|
|
314
|
+
return J(e, k) || ot(e, k, be({}, e[k])), e[k];
|
|
315
315
|
}
|
|
316
|
-
function
|
|
316
|
+
function st(e) {
|
|
317
317
|
return typeof e == "object" && typeof e.kind == "string";
|
|
318
318
|
}
|
|
319
319
|
function Lt(e, n) {
|
|
320
320
|
process.env.NODE_ENV !== "production" && !n.includes(e.kind) && A("The decorator applied to '" + String(e.name) + "' cannot be used on a " + e.kind + " element");
|
|
321
321
|
}
|
|
322
|
-
var S = /* @__PURE__ */ Symbol("mobx administration"),
|
|
322
|
+
var S = /* @__PURE__ */ Symbol("mobx administration"), Oe = /* @__PURE__ */ (function() {
|
|
323
323
|
function e(t) {
|
|
324
|
-
t === void 0 && (t = process.env.NODE_ENV !== "production" ? "Atom@" +
|
|
324
|
+
t === void 0 && (t = process.env.NODE_ENV !== "production" ? "Atom@" + oe() : "Atom"), this.name_ = void 0, this.flags_ = 0, this.observers_ = /* @__PURE__ */ new Set(), this.lastAccessedBy_ = 0, this.lowestObserverState_ = N.NOT_TRACKING_, this.onBOL = void 0, this.onBUOL = void 0, this.name_ = t;
|
|
325
325
|
}
|
|
326
326
|
var n = e.prototype;
|
|
327
327
|
return n.onBO = function() {
|
|
@@ -335,43 +335,43 @@ var S = /* @__PURE__ */ Symbol("mobx administration"), Ae = /* @__PURE__ */ (fun
|
|
|
335
335
|
}, n.reportObserved = function() {
|
|
336
336
|
return xr(this);
|
|
337
337
|
}, n.reportChanged = function() {
|
|
338
|
-
|
|
338
|
+
Z(), Dr(this), Y();
|
|
339
339
|
}, n.toString = function() {
|
|
340
340
|
return this.name_;
|
|
341
|
-
},
|
|
341
|
+
}, We(e, [{
|
|
342
342
|
key: "isBeingObserved",
|
|
343
343
|
get: function() {
|
|
344
|
-
return
|
|
344
|
+
return F(this.flags_, e.isBeingObservedMask_);
|
|
345
345
|
},
|
|
346
346
|
set: function(r) {
|
|
347
|
-
this.flags_ =
|
|
347
|
+
this.flags_ = U(this.flags_, e.isBeingObservedMask_, r);
|
|
348
348
|
}
|
|
349
349
|
}, {
|
|
350
350
|
key: "isPendingUnobservation",
|
|
351
351
|
get: function() {
|
|
352
|
-
return
|
|
352
|
+
return F(this.flags_, e.isPendingUnobservationMask_);
|
|
353
353
|
},
|
|
354
354
|
set: function(r) {
|
|
355
|
-
this.flags_ =
|
|
355
|
+
this.flags_ = U(this.flags_, e.isPendingUnobservationMask_, r);
|
|
356
356
|
}
|
|
357
357
|
}, {
|
|
358
358
|
key: "diffValue",
|
|
359
359
|
get: function() {
|
|
360
|
-
return
|
|
360
|
+
return F(this.flags_, e.diffValueMask_) ? 1 : 0;
|
|
361
361
|
},
|
|
362
362
|
set: function(r) {
|
|
363
|
-
this.flags_ =
|
|
363
|
+
this.flags_ = U(this.flags_, e.diffValueMask_, r === 1);
|
|
364
364
|
}
|
|
365
365
|
}]);
|
|
366
366
|
})();
|
|
367
|
-
|
|
368
|
-
|
|
369
|
-
|
|
370
|
-
var _n = /* @__PURE__ */
|
|
367
|
+
Oe.isBeingObservedMask_ = 1;
|
|
368
|
+
Oe.isPendingUnobservationMask_ = 2;
|
|
369
|
+
Oe.diffValueMask_ = 4;
|
|
370
|
+
var _n = /* @__PURE__ */ Pe("Atom", Oe);
|
|
371
371
|
function pr(e, n, t) {
|
|
372
|
-
n === void 0 && (n =
|
|
373
|
-
var r = new
|
|
374
|
-
return n !==
|
|
372
|
+
n === void 0 && (n = Ue), t === void 0 && (t = Ue);
|
|
373
|
+
var r = new Oe(e);
|
|
374
|
+
return n !== Ue && Vo(r, n), t !== Ue && Ir(r, t), r;
|
|
375
375
|
}
|
|
376
376
|
function gi(e, n) {
|
|
377
377
|
return Zr(e, n);
|
|
@@ -383,19 +383,19 @@ var At = {
|
|
|
383
383
|
structural: gi,
|
|
384
384
|
default: yi
|
|
385
385
|
};
|
|
386
|
-
function
|
|
387
|
-
return
|
|
386
|
+
function Ve(e, n, t) {
|
|
387
|
+
return it(e) ? e : Array.isArray(e) ? C.array(e, {
|
|
388
388
|
name: t
|
|
389
389
|
}) : H(e) ? C.object(e, void 0, {
|
|
390
390
|
name: t
|
|
391
|
-
}) :
|
|
391
|
+
}) : qe(e) ? C.map(e, {
|
|
392
392
|
name: t
|
|
393
|
-
}) :
|
|
393
|
+
}) : _e(e) ? C.set(e, {
|
|
394
394
|
name: t
|
|
395
|
-
}) : typeof e == "function" && !
|
|
395
|
+
}) : typeof e == "function" && !Me(e) && !rt(e) ? lr(e) ? Ge(e) : nt(t, e) : e;
|
|
396
396
|
}
|
|
397
397
|
function Ai(e, n, t) {
|
|
398
|
-
if (e == null ||
|
|
398
|
+
if (e == null || Xe(e) || Rt(e) || Se(e) || le(e))
|
|
399
399
|
return e;
|
|
400
400
|
if (Array.isArray(e))
|
|
401
401
|
return C.array(e, {
|
|
@@ -407,12 +407,12 @@ function Ai(e, n, t) {
|
|
|
407
407
|
name: t,
|
|
408
408
|
deep: !1
|
|
409
409
|
});
|
|
410
|
-
if (
|
|
410
|
+
if (qe(e))
|
|
411
411
|
return C.map(e, {
|
|
412
412
|
name: t,
|
|
413
413
|
deep: !1
|
|
414
414
|
});
|
|
415
|
-
if (
|
|
415
|
+
if (_e(e))
|
|
416
416
|
return C.set(e, {
|
|
417
417
|
name: t,
|
|
418
418
|
deep: !1
|
|
@@ -423,13 +423,13 @@ function Mt(e) {
|
|
|
423
423
|
return e;
|
|
424
424
|
}
|
|
425
425
|
function Oi(e, n) {
|
|
426
|
-
return process.env.NODE_ENV !== "production" &&
|
|
426
|
+
return process.env.NODE_ENV !== "production" && it(e) && A("observable.struct should not be used with observable values"), Zr(e, n) ? n : e;
|
|
427
427
|
}
|
|
428
428
|
var Si = "override";
|
|
429
429
|
function Ot(e) {
|
|
430
430
|
return e.annotationType_ === Si;
|
|
431
431
|
}
|
|
432
|
-
function
|
|
432
|
+
function ut(e, n) {
|
|
433
433
|
return {
|
|
434
434
|
annotationType_: e,
|
|
435
435
|
options_: n,
|
|
@@ -444,10 +444,10 @@ function wi(e, n, t, r) {
|
|
|
444
444
|
return this.extend_(e, n, t, !1) === null ? 0 : 1;
|
|
445
445
|
if (r === e.target_)
|
|
446
446
|
return this.extend_(e, n, t, !1) === null ? 0 : 2;
|
|
447
|
-
if (
|
|
447
|
+
if (Me(t.value))
|
|
448
448
|
return 1;
|
|
449
449
|
var s = vr(e, this, n, t, !1);
|
|
450
|
-
return
|
|
450
|
+
return fe(r, n, s), 2;
|
|
451
451
|
}
|
|
452
452
|
function Ei(e, n, t, r) {
|
|
453
453
|
var o = vr(e, this, n, t);
|
|
@@ -457,16 +457,16 @@ function Ni(e, n) {
|
|
|
457
457
|
process.env.NODE_ENV !== "production" && Lt(n, ["method", "field"]);
|
|
458
458
|
var t = n.kind, r = n.name, o = n.addInitializer, s = this, u = function(p) {
|
|
459
459
|
var m, i, a, l;
|
|
460
|
-
return
|
|
460
|
+
return Be((m = (i = s.options_) == null ? void 0 : i.name) != null ? m : r.toString(), p, (a = (l = s.options_) == null ? void 0 : l.autoAction) != null ? a : !1);
|
|
461
461
|
};
|
|
462
462
|
if (t == "field")
|
|
463
463
|
return function(c) {
|
|
464
464
|
var p, m = c;
|
|
465
|
-
return
|
|
465
|
+
return Me(m) || (m = u(m)), (p = s.options_) != null && p.bound && (m = m.bind(this), m.isMobxAction = !0), m;
|
|
466
466
|
};
|
|
467
467
|
if (t == "method") {
|
|
468
468
|
var d;
|
|
469
|
-
return
|
|
469
|
+
return Me(e) || (e = u(e)), (d = this.options_) != null && d.bound && o(function() {
|
|
470
470
|
var c = this, p = c[r].bind(c);
|
|
471
471
|
p.isMobxAction = !0, c[r] = p;
|
|
472
472
|
}), e;
|
|
@@ -488,7 +488,7 @@ function vr(e, n, t, r, o) {
|
|
|
488
488
|
a = a.bind((l = e.proxy_) != null ? l : e.target_);
|
|
489
489
|
}
|
|
490
490
|
return {
|
|
491
|
-
value:
|
|
491
|
+
value: Be(
|
|
492
492
|
(u = (d = n.options_) == null ? void 0 : d.name) != null ? u : t.toString(),
|
|
493
493
|
a,
|
|
494
494
|
(c = (p = n.options_) == null ? void 0 : p.autoAction) != null ? c : !1,
|
|
@@ -518,12 +518,12 @@ function Ti(e, n, t, r) {
|
|
|
518
518
|
var o;
|
|
519
519
|
if (r === e.target_)
|
|
520
520
|
return this.extend_(e, n, t, !1) === null ? 0 : 2;
|
|
521
|
-
if ((o = this.options_) != null && o.bound && (!
|
|
521
|
+
if ((o = this.options_) != null && o.bound && (!J(e.target_, n) || !rt(e.target_[n])) && this.extend_(e, n, t, !1) === null)
|
|
522
522
|
return 0;
|
|
523
|
-
if (
|
|
523
|
+
if (rt(t.value))
|
|
524
524
|
return 1;
|
|
525
525
|
var s = br(e, this, n, t, !1, !1);
|
|
526
|
-
return
|
|
526
|
+
return fe(r, n, s), 2;
|
|
527
527
|
}
|
|
528
528
|
function xi(e, n, t, r) {
|
|
529
529
|
var o, s = br(e, this, n, t, (o = this.options_) == null ? void 0 : o.bound);
|
|
@@ -533,7 +533,7 @@ function Di(e, n) {
|
|
|
533
533
|
var t;
|
|
534
534
|
process.env.NODE_ENV !== "production" && Lt(n, ["method"]);
|
|
535
535
|
var r = n.name, o = n.addInitializer;
|
|
536
|
-
return
|
|
536
|
+
return rt(e) || (e = Ge(e)), (t = this.options_) != null && t.bound && o(function() {
|
|
537
537
|
var s = this, u = s[r].bind(s);
|
|
538
538
|
u.isMobXFlow = !0, s[r] = u;
|
|
539
539
|
}), e;
|
|
@@ -546,7 +546,7 @@ function Vi(e, n, t, r) {
|
|
|
546
546
|
function br(e, n, t, r, o, s) {
|
|
547
547
|
s === void 0 && (s = g.safeDescriptors), Vi(e, n, t, r);
|
|
548
548
|
var u = r.value;
|
|
549
|
-
if (
|
|
549
|
+
if (rt(u) || (u = Ge(u)), o) {
|
|
550
550
|
var d;
|
|
551
551
|
u = u.bind((d = e.proxy_) != null ? d : e.target_), u.isMobXFlow = !0;
|
|
552
552
|
}
|
|
@@ -575,7 +575,7 @@ function Bi(e, n, t) {
|
|
|
575
575
|
return this.extend_(e, n, t, !1) === null ? 0 : 1;
|
|
576
576
|
}
|
|
577
577
|
function Li(e, n, t, r) {
|
|
578
|
-
return Pi(e, this, n, t), e.defineComputedProperty_(n,
|
|
578
|
+
return Pi(e, this, n, t), e.defineComputedProperty_(n, be({}, this.options_, {
|
|
579
579
|
get: t.get,
|
|
580
580
|
set: t.set
|
|
581
581
|
}), r);
|
|
@@ -584,11 +584,11 @@ function Mi(e, n) {
|
|
|
584
584
|
process.env.NODE_ENV !== "production" && Lt(n, ["getter"]);
|
|
585
585
|
var t = this, r = n.name, o = n.addInitializer;
|
|
586
586
|
return o(function() {
|
|
587
|
-
var s =
|
|
587
|
+
var s = ke(this)[S], u = be({}, t.options_, {
|
|
588
588
|
get: e,
|
|
589
589
|
context: this
|
|
590
590
|
});
|
|
591
|
-
u.name || (u.name = process.env.NODE_ENV !== "production" ? s.name_ + "." + r.toString() : "ObservableObject." + r.toString()), s.values_.set(r, new
|
|
591
|
+
u.name || (u.name = process.env.NODE_ENV !== "production" ? s.name_ + "." + r.toString() : "ObservableObject." + r.toString()), s.values_.set(r, new ee(u));
|
|
592
592
|
}), function() {
|
|
593
593
|
return this[S].getObservablePropValue_(r);
|
|
594
594
|
};
|
|
@@ -602,17 +602,17 @@ function Pt(e, n) {
|
|
|
602
602
|
return {
|
|
603
603
|
annotationType_: e,
|
|
604
604
|
options_: n,
|
|
605
|
-
make_:
|
|
606
|
-
extend_:
|
|
605
|
+
make_: Ii,
|
|
606
|
+
extend_: Ri,
|
|
607
607
|
decorate_20223_: ki
|
|
608
608
|
};
|
|
609
609
|
}
|
|
610
|
-
function
|
|
610
|
+
function Ii(e, n, t) {
|
|
611
611
|
return this.extend_(e, n, t, !1) === null ? 0 : 1;
|
|
612
612
|
}
|
|
613
|
-
function
|
|
613
|
+
function Ri(e, n, t, r) {
|
|
614
614
|
var o, s;
|
|
615
|
-
return ji(e, this, n, t), e.defineObservableProperty_(n, t.value, (o = (s = this.options_) == null ? void 0 : s.enhancer) != null ? o :
|
|
615
|
+
return ji(e, this, n, t), e.defineObservableProperty_(n, t.value, (o = (s = this.options_) == null ? void 0 : s.enhancer) != null ? o : Ve, r);
|
|
616
616
|
}
|
|
617
617
|
function ki(e, n) {
|
|
618
618
|
if (process.env.NODE_ENV !== "production") {
|
|
@@ -622,7 +622,7 @@ function ki(e, n) {
|
|
|
622
622
|
}
|
|
623
623
|
var t = this, r = n.kind, o = n.name, s = /* @__PURE__ */ new WeakSet();
|
|
624
624
|
function u(d, c) {
|
|
625
|
-
var p, m, i =
|
|
625
|
+
var p, m, i = ke(d)[S], a = new xe(c, (p = (m = t.options_) == null ? void 0 : m.enhancer) != null ? p : Ve, process.env.NODE_ENV !== "production" ? i.name_ + "." + o.toString() : "ObservableObject." + o.toString(), !1);
|
|
626
626
|
i.values_.set(o, a), s.add(d);
|
|
627
627
|
}
|
|
628
628
|
if (r == "accessor")
|
|
@@ -643,26 +643,26 @@ function ji(e, n, t, r) {
|
|
|
643
643
|
process.env.NODE_ENV !== "production" && !("value" in r) && A("Cannot apply '" + o + "' to '" + e.name_ + "." + t.toString() + "':" + (`
|
|
644
644
|
'` + o + "' cannot be used on getter/setter properties"));
|
|
645
645
|
}
|
|
646
|
-
var Fi = "true",
|
|
646
|
+
var Fi = "true", Ui = /* @__PURE__ */ mr();
|
|
647
647
|
function mr(e) {
|
|
648
648
|
return {
|
|
649
649
|
annotationType_: Fi,
|
|
650
650
|
options_: e,
|
|
651
|
-
make_:
|
|
652
|
-
extend_:
|
|
651
|
+
make_: Hi,
|
|
652
|
+
extend_: $i,
|
|
653
653
|
decorate_20223_: Gi
|
|
654
654
|
};
|
|
655
655
|
}
|
|
656
|
-
function
|
|
656
|
+
function Hi(e, n, t, r) {
|
|
657
657
|
var o, s;
|
|
658
658
|
if (t.get)
|
|
659
|
-
return
|
|
659
|
+
return Te.make_(e, n, t, r);
|
|
660
660
|
if (t.set) {
|
|
661
|
-
var u =
|
|
661
|
+
var u = Me(t.set) ? t.set : Be(n.toString(), t.set);
|
|
662
662
|
return r === e.target_ ? e.defineProperty_(n, {
|
|
663
663
|
configurable: g.safeDescriptors ? e.isPlainObject_ : !0,
|
|
664
664
|
set: u
|
|
665
|
-
}) === null ? 0 : 2 : (
|
|
665
|
+
}) === null ? 0 : 2 : (fe(r, n, {
|
|
666
666
|
configurable: !0,
|
|
667
667
|
set: u
|
|
668
668
|
}), 2);
|
|
@@ -670,10 +670,10 @@ function $i(e, n, t, r) {
|
|
|
670
670
|
if (r !== e.target_ && typeof t.value == "function") {
|
|
671
671
|
var d;
|
|
672
672
|
if (lr(t.value)) {
|
|
673
|
-
var c, p = (c = this.options_) != null && c.autoBind ?
|
|
673
|
+
var c, p = (c = this.options_) != null && c.autoBind ? Ge.bound : Ge;
|
|
674
674
|
return p.make_(e, n, t, r);
|
|
675
675
|
}
|
|
676
|
-
var m = (d = this.options_) != null && d.autoBind ?
|
|
676
|
+
var m = (d = this.options_) != null && d.autoBind ? nt.bound : nt;
|
|
677
677
|
return m.make_(e, n, t, r);
|
|
678
678
|
}
|
|
679
679
|
var i = ((o = this.options_) == null ? void 0 : o.deep) === !1 ? C.ref : C;
|
|
@@ -683,14 +683,14 @@ function $i(e, n, t, r) {
|
|
|
683
683
|
}
|
|
684
684
|
return i.make_(e, n, t, r);
|
|
685
685
|
}
|
|
686
|
-
function
|
|
686
|
+
function $i(e, n, t, r) {
|
|
687
687
|
var o, s;
|
|
688
688
|
if (t.get)
|
|
689
|
-
return
|
|
689
|
+
return Te.extend_(e, n, t, r);
|
|
690
690
|
if (t.set)
|
|
691
691
|
return e.defineProperty_(n, {
|
|
692
692
|
configurable: g.safeDescriptors ? e.isPlainObject_ : !0,
|
|
693
|
-
set:
|
|
693
|
+
set: Be(n.toString(), t.set)
|
|
694
694
|
}, r);
|
|
695
695
|
if (typeof t.value == "function" && (o = this.options_) != null && o.autoBind) {
|
|
696
696
|
var u;
|
|
@@ -709,7 +709,7 @@ var Ki = "observable", qi = "observable.ref", Wi = "observable.shallow", Xi = "o
|
|
|
709
709
|
proxy: !0
|
|
710
710
|
};
|
|
711
711
|
Object.freeze(gr);
|
|
712
|
-
function
|
|
712
|
+
function ft(e) {
|
|
713
713
|
return e || gr;
|
|
714
714
|
}
|
|
715
715
|
var tn = /* @__PURE__ */ Pt(Ki), Zi = /* @__PURE__ */ Pt(qi, {
|
|
@@ -718,9 +718,9 @@ var tn = /* @__PURE__ */ Pt(Ki), Zi = /* @__PURE__ */ Pt(qi, {
|
|
|
718
718
|
enhancer: Ai
|
|
719
719
|
}), zi = /* @__PURE__ */ Pt(Xi, {
|
|
720
720
|
enhancer: Oi
|
|
721
|
-
}), yr = /* @__PURE__ */
|
|
722
|
-
function
|
|
723
|
-
return e.deep === !0 ?
|
|
721
|
+
}), yr = /* @__PURE__ */ de(tn);
|
|
722
|
+
function dt(e) {
|
|
723
|
+
return e.deep === !0 ? Ve : e.deep === !1 ? Mt : Qi(e.defaultDecorator);
|
|
724
724
|
}
|
|
725
725
|
function Ji(e) {
|
|
726
726
|
var n;
|
|
@@ -728,59 +728,59 @@ function Ji(e) {
|
|
|
728
728
|
}
|
|
729
729
|
function Qi(e) {
|
|
730
730
|
var n, t;
|
|
731
|
-
return e && (n = (t = e.options_) == null ? void 0 : t.enhancer) != null ? n :
|
|
731
|
+
return e && (n = (t = e.options_) == null ? void 0 : t.enhancer) != null ? n : Ve;
|
|
732
732
|
}
|
|
733
733
|
function Ar(e, n, t) {
|
|
734
|
-
if (
|
|
734
|
+
if (st(n))
|
|
735
735
|
return tn.decorate_20223_(e, n);
|
|
736
|
-
if (
|
|
737
|
-
|
|
736
|
+
if (De(n)) {
|
|
737
|
+
at(e, n, tn);
|
|
738
738
|
return;
|
|
739
739
|
}
|
|
740
|
-
return
|
|
740
|
+
return it(e) ? e : H(e) ? C.object(e, n, t) : Array.isArray(e) ? C.array(e, n) : qe(e) ? C.map(e, n) : _e(e) ? C.set(e, n) : typeof e == "object" && e !== null ? e : C.box(e, n);
|
|
741
741
|
}
|
|
742
742
|
ar(Ar, yr);
|
|
743
743
|
var eo = {
|
|
744
744
|
box: function(n, t) {
|
|
745
|
-
var r =
|
|
746
|
-
return new
|
|
745
|
+
var r = ft(t);
|
|
746
|
+
return new xe(n, dt(r), r.name, !0, r.equals);
|
|
747
747
|
},
|
|
748
748
|
array: function(n, t) {
|
|
749
|
-
var r =
|
|
750
|
-
return (g.useProxies === !1 || r.proxy === !1 ? ta : Ko)(n,
|
|
749
|
+
var r = ft(t);
|
|
750
|
+
return (g.useProxies === !1 || r.proxy === !1 ? ta : Ko)(n, dt(r), r.name);
|
|
751
751
|
},
|
|
752
752
|
map: function(n, t) {
|
|
753
|
-
var r =
|
|
754
|
-
return new
|
|
753
|
+
var r = ft(t);
|
|
754
|
+
return new $r(n, dt(r), r.name);
|
|
755
755
|
},
|
|
756
756
|
set: function(n, t) {
|
|
757
|
-
var r =
|
|
758
|
-
return new Gr(n,
|
|
757
|
+
var r = ft(t);
|
|
758
|
+
return new Gr(n, dt(r), r.name);
|
|
759
759
|
},
|
|
760
760
|
object: function(n, t, r) {
|
|
761
|
-
return
|
|
762
|
-
return kr(g.useProxies === !1 || r?.proxy === !1 ?
|
|
761
|
+
return we(function() {
|
|
762
|
+
return kr(g.useProxies === !1 || r?.proxy === !1 ? ke({}, r) : Ho({}, r), n, t);
|
|
763
763
|
});
|
|
764
764
|
},
|
|
765
|
-
ref: /* @__PURE__ */
|
|
766
|
-
shallow: /* @__PURE__ */
|
|
765
|
+
ref: /* @__PURE__ */ de(Zi),
|
|
766
|
+
shallow: /* @__PURE__ */ de(Yi),
|
|
767
767
|
deep: yr,
|
|
768
|
-
struct: /* @__PURE__ */
|
|
768
|
+
struct: /* @__PURE__ */ de(zi)
|
|
769
769
|
}, C = /* @__PURE__ */ ar(Ar, eo), Or = "computed", to = "computed.struct", nn = /* @__PURE__ */ pn(Or), no = /* @__PURE__ */ pn(to, {
|
|
770
770
|
equals: At.structural
|
|
771
|
-
}),
|
|
772
|
-
if (
|
|
771
|
+
}), Te = function(n, t) {
|
|
772
|
+
if (st(t))
|
|
773
773
|
return nn.decorate_20223_(n, t);
|
|
774
|
-
if (
|
|
775
|
-
return
|
|
774
|
+
if (De(t))
|
|
775
|
+
return at(n, t, nn);
|
|
776
776
|
if (H(n))
|
|
777
|
-
return
|
|
777
|
+
return de(pn(Or, n));
|
|
778
778
|
process.env.NODE_ENV !== "production" && (M(n) || A("First argument to `computed` should be an expression."), M(t) && A("A setter as second argument is no longer supported, use `{ set: fn }` option instead"));
|
|
779
779
|
var r = H(t) ? t : {};
|
|
780
|
-
return r.get = n, r.name || (r.name = n.name || ""), new
|
|
780
|
+
return r.get = n, r.name || (r.name = n.name || ""), new ee(r);
|
|
781
781
|
};
|
|
782
|
-
Object.assign(
|
|
783
|
-
|
|
782
|
+
Object.assign(Te, nn);
|
|
783
|
+
Te.struct = /* @__PURE__ */ de(no);
|
|
784
784
|
var Cn, Tn, St = 0, ro = 1, io = (Cn = (Tn = /* @__PURE__ */ gt(function() {
|
|
785
785
|
}, "name")) == null ? void 0 : Tn.configurable) != null ? Cn : !1, xn = {
|
|
786
786
|
value: "action",
|
|
@@ -788,14 +788,14 @@ var Cn, Tn, St = 0, ro = 1, io = (Cn = (Tn = /* @__PURE__ */ gt(function() {
|
|
|
788
788
|
writable: !1,
|
|
789
789
|
enumerable: !1
|
|
790
790
|
};
|
|
791
|
-
function
|
|
791
|
+
function Be(e, n, t, r) {
|
|
792
792
|
t === void 0 && (t = !1), process.env.NODE_ENV !== "production" && (M(n) || A("`action` can only be invoked on functions"), (typeof e != "string" || !e) && A("actions should have valid names, got: '" + e + "'"));
|
|
793
793
|
function o() {
|
|
794
794
|
return oo(e, t, n, r || this, arguments);
|
|
795
795
|
}
|
|
796
796
|
return o.isMobxAction = !0, o.toString = function() {
|
|
797
797
|
return n.toString();
|
|
798
|
-
}, io && (xn.value = e,
|
|
798
|
+
}, io && (xn.value = e, fe(o, "name", xn)), o;
|
|
799
799
|
}
|
|
800
800
|
function oo(e, n, t, r, o) {
|
|
801
801
|
var s = ao(e, n, r, o);
|
|
@@ -820,9 +820,9 @@ function ao(e, n, t, r) {
|
|
|
820
820
|
});
|
|
821
821
|
}
|
|
822
822
|
var d = g.trackingDerivation, c = !n || !d;
|
|
823
|
-
|
|
823
|
+
Z();
|
|
824
824
|
var p = g.allowStateChanges;
|
|
825
|
-
c && (
|
|
825
|
+
c && (Ie(), p = vn(!0));
|
|
826
826
|
var m = bn(!0), i = {
|
|
827
827
|
runAsAction_: c,
|
|
828
828
|
prevDerivation_: d,
|
|
@@ -836,7 +836,7 @@ function ao(e, n, t, r) {
|
|
|
836
836
|
return St = i.actionId_, i;
|
|
837
837
|
}
|
|
838
838
|
function so(e) {
|
|
839
|
-
St !== e.actionId_ && A(30), St = e.parentActionId_, e.error_ !== void 0 && (g.suppressReactionErrors = !0), hn(e.prevAllowStateChanges_),
|
|
839
|
+
St !== e.actionId_ && A(30), St = e.parentActionId_, e.error_ !== void 0 && (g.suppressReactionErrors = !0), hn(e.prevAllowStateChanges_), Je(e.prevAllowStateReads_), Y(), e.runAsAction_ && ve(e.prevDerivation_), process.env.NODE_ENV !== "production" && e.notifySpy_ && G({
|
|
840
840
|
time: Date.now() - e.startTime_
|
|
841
841
|
}), g.suppressReactionErrors = !1;
|
|
842
842
|
}
|
|
@@ -847,12 +847,12 @@ function vn(e) {
|
|
|
847
847
|
function hn(e) {
|
|
848
848
|
g.allowStateChanges = e;
|
|
849
849
|
}
|
|
850
|
-
var uo = "create",
|
|
850
|
+
var uo = "create", xe = /* @__PURE__ */ (function(e) {
|
|
851
851
|
function n(r, o, s, u, d) {
|
|
852
852
|
var c;
|
|
853
|
-
if (s === void 0 && (s = process.env.NODE_ENV !== "production" ? "ObservableValue@" +
|
|
853
|
+
if (s === void 0 && (s = process.env.NODE_ENV !== "production" ? "ObservableValue@" + oe() : "ObservableValue"), u === void 0 && (u = !0), d === void 0 && (d = At.default), c = e.call(this, s) || this, c.enhancer = void 0, c.name_ = void 0, c.equals = void 0, c.hasUnreportedChange_ = !1, c.interceptors_ = void 0, c.changeListeners_ = void 0, c.value_ = void 0, c.dehancer = void 0, c.enhancer = o, c.name_ = s, c.equals = d, c.value_ = o(r, void 0, s), process.env.NODE_ENV !== "production" && u && P()) {
|
|
854
854
|
var p;
|
|
855
|
-
|
|
855
|
+
Le({
|
|
856
856
|
type: uo,
|
|
857
857
|
object: c,
|
|
858
858
|
observableKind: "value",
|
|
@@ -871,19 +871,19 @@ var uo = "create", Te = /* @__PURE__ */ (function(e) {
|
|
|
871
871
|
if (o = this.prepareNewValue_(o), o !== g.UNCHANGED) {
|
|
872
872
|
var u = P();
|
|
873
873
|
process.env.NODE_ENV !== "production" && u && $({
|
|
874
|
-
type:
|
|
874
|
+
type: ne,
|
|
875
875
|
object: this,
|
|
876
876
|
observableKind: "value",
|
|
877
877
|
debugObjectName: this.name_,
|
|
878
878
|
newValue: o,
|
|
879
879
|
oldValue: s
|
|
880
|
-
}), this.setNewValue_(o), process.env.NODE_ENV !== "production" && u &&
|
|
880
|
+
}), this.setNewValue_(o), process.env.NODE_ENV !== "production" && u && G();
|
|
881
881
|
}
|
|
882
882
|
}, t.prepareNewValue_ = function(o) {
|
|
883
|
-
if (
|
|
884
|
-
var s =
|
|
883
|
+
if (ce(this), W(this)) {
|
|
884
|
+
var s = X(this, {
|
|
885
885
|
object: this,
|
|
886
|
-
type:
|
|
886
|
+
type: ne,
|
|
887
887
|
newValue: o
|
|
888
888
|
});
|
|
889
889
|
if (!s)
|
|
@@ -893,8 +893,8 @@ var uo = "create", Te = /* @__PURE__ */ (function(e) {
|
|
|
893
893
|
return o = this.enhancer(o, this.value_, this.name_), this.equals(this.value_, o) ? g.UNCHANGED : o;
|
|
894
894
|
}, t.setNewValue_ = function(o) {
|
|
895
895
|
var s = this.value_;
|
|
896
|
-
this.value_ = o, this.reportChanged(),
|
|
897
|
-
type:
|
|
896
|
+
this.value_ = o, this.reportChanged(), re(this) && ie(this, {
|
|
897
|
+
type: ne,
|
|
898
898
|
object: this,
|
|
899
899
|
newValue: o,
|
|
900
900
|
oldValue: s
|
|
@@ -902,16 +902,16 @@ var uo = "create", Te = /* @__PURE__ */ (function(e) {
|
|
|
902
902
|
}, t.get = function() {
|
|
903
903
|
return this.reportObserved(), this.dehanceValue(this.value_);
|
|
904
904
|
}, t.intercept_ = function(o) {
|
|
905
|
-
return
|
|
905
|
+
return lt(this, o);
|
|
906
906
|
}, t.observe_ = function(o, s) {
|
|
907
907
|
return s && o({
|
|
908
908
|
observableKind: "value",
|
|
909
909
|
debugObjectName: this.name_,
|
|
910
910
|
object: this,
|
|
911
|
-
type:
|
|
911
|
+
type: ne,
|
|
912
912
|
newValue: this.value_,
|
|
913
913
|
oldValue: void 0
|
|
914
|
-
}),
|
|
914
|
+
}), ct(this, o);
|
|
915
915
|
}, t.raw = function() {
|
|
916
916
|
return this.value_;
|
|
917
917
|
}, t.toJSON = function() {
|
|
@@ -923,9 +923,9 @@ var uo = "create", Te = /* @__PURE__ */ (function(e) {
|
|
|
923
923
|
}, t[Symbol.toPrimitive] = function() {
|
|
924
924
|
return this.valueOf();
|
|
925
925
|
}, n;
|
|
926
|
-
})(
|
|
926
|
+
})(Oe), ee = /* @__PURE__ */ (function() {
|
|
927
927
|
function e(t) {
|
|
928
|
-
this.dependenciesState_ = N.NOT_TRACKING_, this.observing_ = [], this.newObserving_ = null, this.observers_ = /* @__PURE__ */ new Set(), this.runId_ = 0, this.lastAccessedBy_ = 0, this.lowestObserverState_ = N.UP_TO_DATE_, this.unboundDepsCount_ = 0, this.value_ = new wt(null), this.name_ = void 0, this.triggeredBy_ = void 0, this.flags_ = 0, this.derivation = void 0, this.setter_ = void 0, this.isTracing_ =
|
|
928
|
+
this.dependenciesState_ = N.NOT_TRACKING_, this.observing_ = [], this.newObserving_ = null, this.observers_ = /* @__PURE__ */ new Set(), this.runId_ = 0, this.lastAccessedBy_ = 0, this.lowestObserverState_ = N.UP_TO_DATE_, this.unboundDepsCount_ = 0, this.value_ = new wt(null), this.name_ = void 0, this.triggeredBy_ = void 0, this.flags_ = 0, this.derivation = void 0, this.setter_ = void 0, this.isTracing_ = Q.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, t.get || A(31), this.derivation = t.get, this.name_ = t.name || (process.env.NODE_ENV !== "production" ? "ComputedValue@" + oe() : "ComputedValue"), t.set && (this.setter_ = Be(process.env.NODE_ENV !== "production" ? this.name_ + "-setter" : "ComputedValue-setter", t.set)), this.equals_ = t.equals || (t.compareStructural || t.struct ? At.structural : At.default), this.scope_ = t.context, this.requiresReaction_ = t.requiresReaction, this.keepAlive_ = !!t.keepAlive;
|
|
929
929
|
}
|
|
930
930
|
var n = e.prototype;
|
|
931
931
|
return n.onBecomeStale_ = function() {
|
|
@@ -941,7 +941,7 @@ var uo = "create", Te = /* @__PURE__ */ (function(e) {
|
|
|
941
941
|
}, n.get = function() {
|
|
942
942
|
if (this.isComputing && A(32, this.name_, this.derivation), g.inBatch === 0 && // !globalState.trackingDerivatpion &&
|
|
943
943
|
this.observers_.size === 0 && !this.keepAlive_)
|
|
944
|
-
rn(this) && (this.warnAboutUntrackedRead_(),
|
|
944
|
+
rn(this) && (this.warnAboutUntrackedRead_(), Z(), this.value_ = this.computeValue_(!1), Y());
|
|
945
945
|
else if (xr(this), rn(this)) {
|
|
946
946
|
var r = g.trackingContext;
|
|
947
947
|
this.keepAlive_ && !r && (g.trackingContext = this), this.trackAndCompute() && vo(this), g.trackingContext = r;
|
|
@@ -965,7 +965,7 @@ var uo = "create", Te = /* @__PURE__ */ (function(e) {
|
|
|
965
965
|
/* see #1208 */
|
|
966
966
|
this.dependenciesState_ === N.NOT_TRACKING_
|
|
967
967
|
), s = this.computeValue_(!0), u = o || vt(r) || vt(s) || !this.equals_(r, s);
|
|
968
|
-
return u && (this.value_ = s, process.env.NODE_ENV !== "production" && P() &&
|
|
968
|
+
return u && (this.value_ = s, process.env.NODE_ENV !== "production" && P() && Le({
|
|
969
969
|
observableKind: "computed",
|
|
970
970
|
debugObjectName: this.name_,
|
|
971
971
|
object: this.scope_,
|
|
@@ -988,87 +988,87 @@ var uo = "create", Te = /* @__PURE__ */ (function(e) {
|
|
|
988
988
|
}
|
|
989
989
|
return hn(o), this.isComputing = !1, s;
|
|
990
990
|
}, n.suspend_ = function() {
|
|
991
|
-
this.keepAlive_ || (on(this), this.value_ = void 0, process.env.NODE_ENV !== "production" && this.isTracing_ !==
|
|
991
|
+
this.keepAlive_ || (on(this), this.value_ = void 0, process.env.NODE_ENV !== "production" && this.isTracing_ !== Q.NONE && console.log("[mobx.trace] Computed value '" + this.name_ + "' was suspended and it will recompute on the next access."));
|
|
992
992
|
}, n.observe_ = function(r, o) {
|
|
993
993
|
var s = this, u = !0, d = void 0;
|
|
994
994
|
return No(function() {
|
|
995
995
|
var c = s.get();
|
|
996
996
|
if (!u || o) {
|
|
997
|
-
var p =
|
|
997
|
+
var p = Ie();
|
|
998
998
|
r({
|
|
999
999
|
observableKind: "computed",
|
|
1000
1000
|
debugObjectName: s.name_,
|
|
1001
|
-
type:
|
|
1001
|
+
type: ne,
|
|
1002
1002
|
object: s,
|
|
1003
1003
|
newValue: c,
|
|
1004
1004
|
oldValue: d
|
|
1005
|
-
}),
|
|
1005
|
+
}), ve(p);
|
|
1006
1006
|
}
|
|
1007
1007
|
u = !1, d = c;
|
|
1008
1008
|
});
|
|
1009
1009
|
}, n.warnAboutUntrackedRead_ = function() {
|
|
1010
|
-
process.env.NODE_ENV !== "production" && (this.isTracing_ !==
|
|
1010
|
+
process.env.NODE_ENV !== "production" && (this.isTracing_ !== Q.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_ : g.computedRequiresReaction) && console.warn("[mobx] Computed value '" + this.name_ + "' is being read outside a reactive context. Doing a full recompute."));
|
|
1011
1011
|
}, n.toString = function() {
|
|
1012
1012
|
return this.name_ + "[" + this.derivation.toString() + "]";
|
|
1013
1013
|
}, n.valueOf = function() {
|
|
1014
1014
|
return dr(this.get());
|
|
1015
1015
|
}, n[Symbol.toPrimitive] = function() {
|
|
1016
1016
|
return this.valueOf();
|
|
1017
|
-
},
|
|
1017
|
+
}, We(e, [{
|
|
1018
1018
|
key: "isComputing",
|
|
1019
1019
|
get: function() {
|
|
1020
|
-
return
|
|
1020
|
+
return F(this.flags_, e.isComputingMask_);
|
|
1021
1021
|
},
|
|
1022
1022
|
set: function(r) {
|
|
1023
|
-
this.flags_ =
|
|
1023
|
+
this.flags_ = U(this.flags_, e.isComputingMask_, r);
|
|
1024
1024
|
}
|
|
1025
1025
|
}, {
|
|
1026
1026
|
key: "isRunningSetter",
|
|
1027
1027
|
get: function() {
|
|
1028
|
-
return
|
|
1028
|
+
return F(this.flags_, e.isRunningSetterMask_);
|
|
1029
1029
|
},
|
|
1030
1030
|
set: function(r) {
|
|
1031
|
-
this.flags_ =
|
|
1031
|
+
this.flags_ = U(this.flags_, e.isRunningSetterMask_, r);
|
|
1032
1032
|
}
|
|
1033
1033
|
}, {
|
|
1034
1034
|
key: "isBeingObserved",
|
|
1035
1035
|
get: function() {
|
|
1036
|
-
return
|
|
1036
|
+
return F(this.flags_, e.isBeingObservedMask_);
|
|
1037
1037
|
},
|
|
1038
1038
|
set: function(r) {
|
|
1039
|
-
this.flags_ =
|
|
1039
|
+
this.flags_ = U(this.flags_, e.isBeingObservedMask_, r);
|
|
1040
1040
|
}
|
|
1041
1041
|
}, {
|
|
1042
1042
|
key: "isPendingUnobservation",
|
|
1043
1043
|
get: function() {
|
|
1044
|
-
return
|
|
1044
|
+
return F(this.flags_, e.isPendingUnobservationMask_);
|
|
1045
1045
|
},
|
|
1046
1046
|
set: function(r) {
|
|
1047
|
-
this.flags_ =
|
|
1047
|
+
this.flags_ = U(this.flags_, e.isPendingUnobservationMask_, r);
|
|
1048
1048
|
}
|
|
1049
1049
|
}, {
|
|
1050
1050
|
key: "diffValue",
|
|
1051
1051
|
get: function() {
|
|
1052
|
-
return
|
|
1052
|
+
return F(this.flags_, e.diffValueMask_) ? 1 : 0;
|
|
1053
1053
|
},
|
|
1054
1054
|
set: function(r) {
|
|
1055
|
-
this.flags_ =
|
|
1055
|
+
this.flags_ = U(this.flags_, e.diffValueMask_, r === 1);
|
|
1056
1056
|
}
|
|
1057
1057
|
}]);
|
|
1058
1058
|
})();
|
|
1059
|
-
|
|
1060
|
-
|
|
1061
|
-
|
|
1062
|
-
|
|
1063
|
-
|
|
1064
|
-
var
|
|
1059
|
+
ee.isComputingMask_ = 1;
|
|
1060
|
+
ee.isRunningSetterMask_ = 2;
|
|
1061
|
+
ee.isBeingObservedMask_ = 4;
|
|
1062
|
+
ee.isPendingUnobservationMask_ = 8;
|
|
1063
|
+
ee.diffValueMask_ = 16;
|
|
1064
|
+
var It = /* @__PURE__ */ Pe("ComputedValue", ee), N;
|
|
1065
1065
|
(function(e) {
|
|
1066
1066
|
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_";
|
|
1067
1067
|
})(N || (N = {}));
|
|
1068
|
-
var
|
|
1068
|
+
var Q;
|
|
1069
1069
|
(function(e) {
|
|
1070
1070
|
e[e.NONE = 0] = "NONE", e[e.LOG = 1] = "LOG", e[e.BREAK = 2] = "BREAK";
|
|
1071
|
-
})(
|
|
1071
|
+
})(Q || (Q = {}));
|
|
1072
1072
|
var wt = function(n) {
|
|
1073
1073
|
this.cause = void 0, this.cause = n;
|
|
1074
1074
|
};
|
|
@@ -1083,26 +1083,26 @@ function rn(e) {
|
|
|
1083
1083
|
case N.STALE_:
|
|
1084
1084
|
return !0;
|
|
1085
1085
|
case N.POSSIBLY_STALE_: {
|
|
1086
|
-
for (var n = bn(!0), t =
|
|
1086
|
+
for (var n = bn(!0), t = Ie(), r = e.observing_, o = r.length, s = 0; s < o; s++) {
|
|
1087
1087
|
var u = r[s];
|
|
1088
|
-
if (
|
|
1088
|
+
if (It(u)) {
|
|
1089
1089
|
if (g.disableErrorBoundaries)
|
|
1090
1090
|
u.get();
|
|
1091
1091
|
else
|
|
1092
1092
|
try {
|
|
1093
1093
|
u.get();
|
|
1094
1094
|
} catch {
|
|
1095
|
-
return
|
|
1095
|
+
return ve(t), Je(n), !0;
|
|
1096
1096
|
}
|
|
1097
1097
|
if (e.dependenciesState_ === N.STALE_)
|
|
1098
|
-
return
|
|
1098
|
+
return ve(t), Je(n), !0;
|
|
1099
1099
|
}
|
|
1100
1100
|
}
|
|
1101
|
-
return Er(e),
|
|
1101
|
+
return Er(e), ve(t), Je(n), !1;
|
|
1102
1102
|
}
|
|
1103
1103
|
}
|
|
1104
1104
|
}
|
|
1105
|
-
function
|
|
1105
|
+
function ce(e) {
|
|
1106
1106
|
if (process.env.NODE_ENV !== "production") {
|
|
1107
1107
|
var n = e.observers_.size > 0;
|
|
1108
1108
|
!g.allowStateChanges && (n || g.enforceActions === "always") && console.warn("[MobX] " + (g.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_);
|
|
@@ -1129,7 +1129,7 @@ function Sr(e, n, t) {
|
|
|
1129
1129
|
} catch (u) {
|
|
1130
1130
|
s = new wt(u);
|
|
1131
1131
|
}
|
|
1132
|
-
return g.inBatch--, g.trackingDerivation = o, fo(e), co(e),
|
|
1132
|
+
return g.inBatch--, g.trackingDerivation = o, fo(e), co(e), Je(r), s;
|
|
1133
1133
|
}
|
|
1134
1134
|
function co(e) {
|
|
1135
1135
|
process.env.NODE_ENV !== "production" && e.observing_.length === 0 && (typeof e.requiresObservable_ == "boolean" ? e.requiresObservable_ : g.reactionRequiresObservable) && console.warn("[mobx] Derivation '" + e.name_ + "' is created/updated without reading any observable value.");
|
|
@@ -1157,25 +1157,25 @@ function on(e) {
|
|
|
1157
1157
|
e.dependenciesState_ = N.NOT_TRACKING_;
|
|
1158
1158
|
}
|
|
1159
1159
|
function wr(e) {
|
|
1160
|
-
var n =
|
|
1160
|
+
var n = Ie();
|
|
1161
1161
|
try {
|
|
1162
1162
|
return e();
|
|
1163
1163
|
} finally {
|
|
1164
|
-
|
|
1164
|
+
ve(n);
|
|
1165
1165
|
}
|
|
1166
1166
|
}
|
|
1167
|
-
function
|
|
1167
|
+
function Ie() {
|
|
1168
1168
|
var e = g.trackingDerivation;
|
|
1169
1169
|
return g.trackingDerivation = null, e;
|
|
1170
1170
|
}
|
|
1171
|
-
function
|
|
1171
|
+
function ve(e) {
|
|
1172
1172
|
g.trackingDerivation = e;
|
|
1173
1173
|
}
|
|
1174
1174
|
function bn(e) {
|
|
1175
1175
|
var n = g.allowStateReads;
|
|
1176
1176
|
return g.allowStateReads = e, n;
|
|
1177
1177
|
}
|
|
1178
|
-
function
|
|
1178
|
+
function Je(e) {
|
|
1179
1179
|
g.allowStateReads = e;
|
|
1180
1180
|
}
|
|
1181
1181
|
function Er(e) {
|
|
@@ -1208,15 +1208,15 @@ function Cr(e, n) {
|
|
|
1208
1208
|
function Tr(e) {
|
|
1209
1209
|
e.isPendingUnobservation === !1 && (e.isPendingUnobservation = !0, g.pendingUnobservations.push(e));
|
|
1210
1210
|
}
|
|
1211
|
-
function
|
|
1211
|
+
function Z() {
|
|
1212
1212
|
g.inBatch++;
|
|
1213
1213
|
}
|
|
1214
|
-
function
|
|
1214
|
+
function Y() {
|
|
1215
1215
|
if (--g.inBatch === 0) {
|
|
1216
1216
|
Lr();
|
|
1217
1217
|
for (var e = g.pendingUnobservations, n = 0; n < e.length; n++) {
|
|
1218
1218
|
var t = e[n];
|
|
1219
|
-
t.isPendingUnobservation = !1, t.observers_.size === 0 && (t.isBeingObserved && (t.isBeingObserved = !1, t.onBUO()), t instanceof
|
|
1219
|
+
t.isPendingUnobservation = !1, t.observers_.size === 0 && (t.isBeingObserved && (t.isBeingObserved = !1, t.onBUO()), t instanceof ee && t.suspend_());
|
|
1220
1220
|
}
|
|
1221
1221
|
g.pendingUnobservations = [];
|
|
1222
1222
|
}
|
|
@@ -1228,12 +1228,12 @@ function xr(e) {
|
|
|
1228
1228
|
}
|
|
1229
1229
|
function Dr(e) {
|
|
1230
1230
|
e.lowestObserverState_ !== N.STALE_ && (e.lowestObserverState_ = N.STALE_, e.observers_.forEach(function(n) {
|
|
1231
|
-
n.dependenciesState_ === N.UP_TO_DATE_ && (process.env.NODE_ENV !== "production" && n.isTracing_ !==
|
|
1231
|
+
n.dependenciesState_ === N.UP_TO_DATE_ && (process.env.NODE_ENV !== "production" && n.isTracing_ !== Q.NONE && Vr(n, e), n.onBecomeStale_()), n.dependenciesState_ = N.STALE_;
|
|
1232
1232
|
}));
|
|
1233
1233
|
}
|
|
1234
1234
|
function vo(e) {
|
|
1235
1235
|
e.lowestObserverState_ !== N.STALE_ && (e.lowestObserverState_ = N.STALE_, e.observers_.forEach(function(n) {
|
|
1236
|
-
n.dependenciesState_ === N.POSSIBLY_STALE_ ? (n.dependenciesState_ = N.STALE_, process.env.NODE_ENV !== "production" && n.isTracing_ !==
|
|
1236
|
+
n.dependenciesState_ === N.POSSIBLY_STALE_ ? (n.dependenciesState_ = N.STALE_, process.env.NODE_ENV !== "production" && n.isTracing_ !== Q.NONE && Vr(n, e)) : n.dependenciesState_ === N.UP_TO_DATE_ && (e.lowestObserverState_ = N.UP_TO_DATE_);
|
|
1237
1237
|
}));
|
|
1238
1238
|
}
|
|
1239
1239
|
function ho(e) {
|
|
@@ -1242,7 +1242,7 @@ function ho(e) {
|
|
|
1242
1242
|
}));
|
|
1243
1243
|
}
|
|
1244
1244
|
function Vr(e, n) {
|
|
1245
|
-
if (console.log("[mobx.trace] '" + e.name_ + "' is invalidated due to a change in: '" + n.name_ + "'"), e.isTracing_ ===
|
|
1245
|
+
if (console.log("[mobx.trace] '" + e.name_ + "' is invalidated due to a change in: '" + n.name_ + "'"), e.isTracing_ === Q.BREAK) {
|
|
1246
1246
|
var t = [];
|
|
1247
1247
|
Br(jr(e), t, 1), new Function(`debugger;
|
|
1248
1248
|
/*
|
|
@@ -1252,7 +1252,7 @@ You are entering this break point because derivation '` + e.name_ + "' is being
|
|
|
1252
1252
|
Just follow the stacktrace you should now see in the devtools to see precisely what piece of your code is causing this update
|
|
1253
1253
|
The stackframe you are looking for is at least ~6-8 stack-frames up.
|
|
1254
1254
|
|
|
1255
|
-
` + (e instanceof
|
|
1255
|
+
` + (e instanceof ee ? e.derivation.toString().replace(/[*]\//g, "/") : "") + `
|
|
1256
1256
|
|
|
1257
1257
|
The dependencies for this derivation are:
|
|
1258
1258
|
|
|
@@ -1271,9 +1271,9 @@ function Br(e, n, t) {
|
|
|
1271
1271
|
return Br(r, n, t + 1);
|
|
1272
1272
|
});
|
|
1273
1273
|
}
|
|
1274
|
-
var
|
|
1274
|
+
var me = /* @__PURE__ */ (function() {
|
|
1275
1275
|
function e(t, r, o, s) {
|
|
1276
|
-
t === void 0 && (t = process.env.NODE_ENV !== "production" ? "Reaction@" +
|
|
1276
|
+
t === void 0 && (t = process.env.NODE_ENV !== "production" ? "Reaction@" + oe() : "Reaction"), this.name_ = void 0, this.onInvalidate_ = void 0, this.errorHandler_ = void 0, this.requiresObservable_ = void 0, this.observing_ = [], this.newObserving_ = [], this.dependenciesState_ = N.NOT_TRACKING_, this.runId_ = 0, this.unboundDepsCount_ = 0, this.flags_ = 0, this.isTracing_ = Q.NONE, this.name_ = t, this.onInvalidate_ = r, this.errorHandler_ = o, this.requiresObservable_ = s;
|
|
1277
1277
|
}
|
|
1278
1278
|
var n = e.prototype;
|
|
1279
1279
|
return n.onBecomeStale_ = function() {
|
|
@@ -1282,12 +1282,12 @@ var be = /* @__PURE__ */ (function() {
|
|
|
1282
1282
|
this.isScheduled || (this.isScheduled = !0, g.pendingReactions.push(this), Lr());
|
|
1283
1283
|
}, n.runReaction_ = function() {
|
|
1284
1284
|
if (!this.isDisposed) {
|
|
1285
|
-
|
|
1285
|
+
Z(), this.isScheduled = !1;
|
|
1286
1286
|
var r = g.trackingContext;
|
|
1287
1287
|
if (g.trackingContext = this, rn(this)) {
|
|
1288
1288
|
this.isTrackPending = !0;
|
|
1289
1289
|
try {
|
|
1290
|
-
this.onInvalidate_(), process.env.NODE_ENV !== "production" && this.isTrackPending && P() &&
|
|
1290
|
+
this.onInvalidate_(), process.env.NODE_ENV !== "production" && this.isTrackPending && P() && Le({
|
|
1291
1291
|
name: this.name_,
|
|
1292
1292
|
type: "scheduled-reaction"
|
|
1293
1293
|
});
|
|
@@ -1295,11 +1295,11 @@ var be = /* @__PURE__ */ (function() {
|
|
|
1295
1295
|
this.reportExceptionInDerivation_(o);
|
|
1296
1296
|
}
|
|
1297
1297
|
}
|
|
1298
|
-
g.trackingContext = r,
|
|
1298
|
+
g.trackingContext = r, Y();
|
|
1299
1299
|
}
|
|
1300
1300
|
}, n.track = function(r) {
|
|
1301
1301
|
if (!this.isDisposed) {
|
|
1302
|
-
|
|
1302
|
+
Z();
|
|
1303
1303
|
var o = P(), s;
|
|
1304
1304
|
process.env.NODE_ENV !== "production" && o && (s = Date.now(), $({
|
|
1305
1305
|
name: this.name_,
|
|
@@ -1308,9 +1308,9 @@ var be = /* @__PURE__ */ (function() {
|
|
|
1308
1308
|
var u = g.trackingContext;
|
|
1309
1309
|
g.trackingContext = this;
|
|
1310
1310
|
var d = Sr(this, r, void 0);
|
|
1311
|
-
g.trackingContext = u, this.isRunning = !1, this.isTrackPending = !1, this.isDisposed && on(this), vt(d) && this.reportExceptionInDerivation_(d.cause), process.env.NODE_ENV !== "production" && o &&
|
|
1311
|
+
g.trackingContext = u, this.isRunning = !1, this.isTrackPending = !1, this.isDisposed && on(this), vt(d) && this.reportExceptionInDerivation_(d.cause), process.env.NODE_ENV !== "production" && o && G({
|
|
1312
1312
|
time: Date.now() - s
|
|
1313
|
-
}),
|
|
1313
|
+
}), Y();
|
|
1314
1314
|
}
|
|
1315
1315
|
}, n.reportExceptionInDerivation_ = function(r) {
|
|
1316
1316
|
var o = this;
|
|
@@ -1321,7 +1321,7 @@ var be = /* @__PURE__ */ (function() {
|
|
|
1321
1321
|
if (g.disableErrorBoundaries)
|
|
1322
1322
|
throw r;
|
|
1323
1323
|
var s = 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 + "'";
|
|
1324
|
-
g.suppressReactionErrors ? process.env.NODE_ENV !== "production" && console.warn("[mobx] (error in reaction '" + this.name_ + "' suppressed, fix error of causing action below)") : console.error(s, r), process.env.NODE_ENV !== "production" && P() &&
|
|
1324
|
+
g.suppressReactionErrors ? process.env.NODE_ENV !== "production" && console.warn("[mobx] (error in reaction '" + this.name_ + "' suppressed, fix error of causing action below)") : console.error(s, r), process.env.NODE_ENV !== "production" && P() && Le({
|
|
1325
1325
|
type: "error",
|
|
1326
1326
|
name: this.name_,
|
|
1327
1327
|
message: s,
|
|
@@ -1330,7 +1330,7 @@ var be = /* @__PURE__ */ (function() {
|
|
|
1330
1330
|
return u(r, o);
|
|
1331
1331
|
});
|
|
1332
1332
|
}, n.dispose = function() {
|
|
1333
|
-
this.isDisposed || (this.isDisposed = !0, this.isRunning || (
|
|
1333
|
+
this.isDisposed || (this.isDisposed = !0, this.isRunning || (Z(), on(this), Y()));
|
|
1334
1334
|
}, n.getDisposer_ = function(r) {
|
|
1335
1335
|
var o = this, s = function u() {
|
|
1336
1336
|
o.dispose(), r == null || r.removeEventListener == null || r.removeEventListener("abort", u);
|
|
@@ -1340,53 +1340,53 @@ var be = /* @__PURE__ */ (function() {
|
|
|
1340
1340
|
return "Reaction[" + this.name_ + "]";
|
|
1341
1341
|
}, n.trace = function(r) {
|
|
1342
1342
|
r === void 0 && (r = !1), jo(this, r);
|
|
1343
|
-
},
|
|
1343
|
+
}, We(e, [{
|
|
1344
1344
|
key: "isDisposed",
|
|
1345
1345
|
get: function() {
|
|
1346
|
-
return
|
|
1346
|
+
return F(this.flags_, e.isDisposedMask_);
|
|
1347
1347
|
},
|
|
1348
1348
|
set: function(r) {
|
|
1349
|
-
this.flags_ =
|
|
1349
|
+
this.flags_ = U(this.flags_, e.isDisposedMask_, r);
|
|
1350
1350
|
}
|
|
1351
1351
|
}, {
|
|
1352
1352
|
key: "isScheduled",
|
|
1353
1353
|
get: function() {
|
|
1354
|
-
return
|
|
1354
|
+
return F(this.flags_, e.isScheduledMask_);
|
|
1355
1355
|
},
|
|
1356
1356
|
set: function(r) {
|
|
1357
|
-
this.flags_ =
|
|
1357
|
+
this.flags_ = U(this.flags_, e.isScheduledMask_, r);
|
|
1358
1358
|
}
|
|
1359
1359
|
}, {
|
|
1360
1360
|
key: "isTrackPending",
|
|
1361
1361
|
get: function() {
|
|
1362
|
-
return
|
|
1362
|
+
return F(this.flags_, e.isTrackPendingMask_);
|
|
1363
1363
|
},
|
|
1364
1364
|
set: function(r) {
|
|
1365
|
-
this.flags_ =
|
|
1365
|
+
this.flags_ = U(this.flags_, e.isTrackPendingMask_, r);
|
|
1366
1366
|
}
|
|
1367
1367
|
}, {
|
|
1368
1368
|
key: "isRunning",
|
|
1369
1369
|
get: function() {
|
|
1370
|
-
return
|
|
1370
|
+
return F(this.flags_, e.isRunningMask_);
|
|
1371
1371
|
},
|
|
1372
1372
|
set: function(r) {
|
|
1373
|
-
this.flags_ =
|
|
1373
|
+
this.flags_ = U(this.flags_, e.isRunningMask_, r);
|
|
1374
1374
|
}
|
|
1375
1375
|
}, {
|
|
1376
1376
|
key: "diffValue",
|
|
1377
1377
|
get: function() {
|
|
1378
|
-
return
|
|
1378
|
+
return F(this.flags_, e.diffValueMask_) ? 1 : 0;
|
|
1379
1379
|
},
|
|
1380
1380
|
set: function(r) {
|
|
1381
|
-
this.flags_ =
|
|
1381
|
+
this.flags_ = U(this.flags_, e.diffValueMask_, r === 1);
|
|
1382
1382
|
}
|
|
1383
1383
|
}]);
|
|
1384
1384
|
})();
|
|
1385
|
-
|
|
1386
|
-
|
|
1387
|
-
|
|
1388
|
-
|
|
1389
|
-
|
|
1385
|
+
me.isDisposedMask_ = 1;
|
|
1386
|
+
me.isScheduledMask_ = 2;
|
|
1387
|
+
me.isTrackPendingMask_ = 4;
|
|
1388
|
+
me.isRunningMask_ = 8;
|
|
1389
|
+
me.diffValueMask_ = 16;
|
|
1390
1390
|
var Dn = 100, an = function(n) {
|
|
1391
1391
|
return n();
|
|
1392
1392
|
};
|
|
@@ -1402,7 +1402,7 @@ function bo() {
|
|
|
1402
1402
|
}
|
|
1403
1403
|
g.isRunningReactions = !1;
|
|
1404
1404
|
}
|
|
1405
|
-
var Et = /* @__PURE__ */
|
|
1405
|
+
var Et = /* @__PURE__ */ Pe("Reaction", me);
|
|
1406
1406
|
function mo(e) {
|
|
1407
1407
|
var n = an;
|
|
1408
1408
|
an = function(r) {
|
|
@@ -1414,25 +1414,25 @@ function mo(e) {
|
|
|
1414
1414
|
function P() {
|
|
1415
1415
|
return process.env.NODE_ENV !== "production" && !!g.spyListeners.length;
|
|
1416
1416
|
}
|
|
1417
|
-
function
|
|
1417
|
+
function Le(e) {
|
|
1418
1418
|
if (process.env.NODE_ENV !== "production" && g.spyListeners.length)
|
|
1419
1419
|
for (var n = g.spyListeners, t = 0, r = n.length; t < r; t++)
|
|
1420
1420
|
n[t](e);
|
|
1421
1421
|
}
|
|
1422
1422
|
function $(e) {
|
|
1423
1423
|
if (process.env.NODE_ENV !== "production") {
|
|
1424
|
-
var n =
|
|
1424
|
+
var n = be({}, e, {
|
|
1425
1425
|
spyReportStart: !0
|
|
1426
1426
|
});
|
|
1427
|
-
|
|
1427
|
+
Le(n);
|
|
1428
1428
|
}
|
|
1429
1429
|
}
|
|
1430
1430
|
var go = {
|
|
1431
1431
|
type: "report-end",
|
|
1432
1432
|
spyReportEnd: !0
|
|
1433
1433
|
};
|
|
1434
|
-
function
|
|
1435
|
-
process.env.NODE_ENV !== "production" &&
|
|
1434
|
+
function G(e) {
|
|
1435
|
+
process.env.NODE_ENV !== "production" && Le(e ? be({}, e, {
|
|
1436
1436
|
type: "report-end",
|
|
1437
1437
|
spyReportEnd: !0
|
|
1438
1438
|
}) : go);
|
|
@@ -1445,26 +1445,26 @@ function yo(e) {
|
|
|
1445
1445
|
});
|
|
1446
1446
|
}));
|
|
1447
1447
|
}
|
|
1448
|
-
var mn = "action", Ao = "action.bound", Mr = "autoAction", Oo = "autoAction.bound", So = "<unnamed action>", sn = /* @__PURE__ */
|
|
1448
|
+
var mn = "action", Ao = "action.bound", Mr = "autoAction", Oo = "autoAction.bound", So = "<unnamed action>", sn = /* @__PURE__ */ ut(mn), wo = /* @__PURE__ */ ut(Ao, {
|
|
1449
1449
|
bound: !0
|
|
1450
|
-
}), un = /* @__PURE__ */
|
|
1450
|
+
}), un = /* @__PURE__ */ ut(Mr, {
|
|
1451
1451
|
autoAction: !0
|
|
1452
|
-
}), Eo = /* @__PURE__ */
|
|
1452
|
+
}), Eo = /* @__PURE__ */ ut(Oo, {
|
|
1453
1453
|
autoAction: !0,
|
|
1454
1454
|
bound: !0
|
|
1455
1455
|
});
|
|
1456
1456
|
function Pr(e) {
|
|
1457
1457
|
var n = function(r, o) {
|
|
1458
1458
|
if (M(r))
|
|
1459
|
-
return
|
|
1459
|
+
return Be(r.name || So, r, e);
|
|
1460
1460
|
if (M(o))
|
|
1461
|
-
return
|
|
1462
|
-
if (
|
|
1461
|
+
return Be(r, o, e);
|
|
1462
|
+
if (st(o))
|
|
1463
1463
|
return (e ? un : sn).decorate_20223_(r, o);
|
|
1464
|
-
if (
|
|
1465
|
-
return
|
|
1466
|
-
if (
|
|
1467
|
-
return
|
|
1464
|
+
if (De(o))
|
|
1465
|
+
return at(r, o, e ? un : sn);
|
|
1466
|
+
if (De(r))
|
|
1467
|
+
return de(ut(e ? Mr : mn, {
|
|
1468
1468
|
name: r,
|
|
1469
1469
|
autoAction: e
|
|
1470
1470
|
}));
|
|
@@ -1474,24 +1474,24 @@ function Pr(e) {
|
|
|
1474
1474
|
}
|
|
1475
1475
|
var B = /* @__PURE__ */ Pr(!1);
|
|
1476
1476
|
Object.assign(B, sn);
|
|
1477
|
-
var
|
|
1478
|
-
Object.assign(
|
|
1479
|
-
B.bound = /* @__PURE__ */
|
|
1480
|
-
|
|
1481
|
-
function
|
|
1477
|
+
var nt = /* @__PURE__ */ Pr(!0);
|
|
1478
|
+
Object.assign(nt, un);
|
|
1479
|
+
B.bound = /* @__PURE__ */ de(wo);
|
|
1480
|
+
nt.bound = /* @__PURE__ */ de(Eo);
|
|
1481
|
+
function Me(e) {
|
|
1482
1482
|
return M(e) && e.isMobxAction === !0;
|
|
1483
1483
|
}
|
|
1484
1484
|
function No(e, n) {
|
|
1485
1485
|
var t, r, o, s;
|
|
1486
|
-
n === void 0 && (n = sr), process.env.NODE_ENV !== "production" && (M(e) || A("Autorun expects a function as first argument"),
|
|
1487
|
-
var u = (t = (r = n) == null ? void 0 : r.name) != null ? t : process.env.NODE_ENV !== "production" ? e.name || "Autorun@" +
|
|
1486
|
+
n === void 0 && (n = sr), process.env.NODE_ENV !== "production" && (M(e) || A("Autorun expects a function as first argument"), Me(e) && A("Autorun does not accept actions since actions are untrackable"));
|
|
1487
|
+
var u = (t = (r = n) == null ? void 0 : r.name) != null ? t : process.env.NODE_ENV !== "production" ? e.name || "Autorun@" + oe() : "Autorun", d = !n.scheduler && !n.delay, c;
|
|
1488
1488
|
if (d)
|
|
1489
|
-
c = new
|
|
1489
|
+
c = new me(u, function() {
|
|
1490
1490
|
this.track(i);
|
|
1491
1491
|
}, n.onError, n.requiresObservable);
|
|
1492
1492
|
else {
|
|
1493
1493
|
var p = To(n), m = !1;
|
|
1494
|
-
c = new
|
|
1494
|
+
c = new me(u, function() {
|
|
1495
1495
|
m || (m = !0, p(function() {
|
|
1496
1496
|
m = !1, c.isDisposed || c.track(i);
|
|
1497
1497
|
}));
|
|
@@ -1512,35 +1512,35 @@ function To(e) {
|
|
|
1512
1512
|
}
|
|
1513
1513
|
var xo = "onBO", Do = "onBUO";
|
|
1514
1514
|
function Vo(e, n, t) {
|
|
1515
|
-
return
|
|
1515
|
+
return Rr(xo, e, n, t);
|
|
1516
1516
|
}
|
|
1517
|
-
function
|
|
1518
|
-
return
|
|
1517
|
+
function Ir(e, n, t) {
|
|
1518
|
+
return Rr(Do, e, n, t);
|
|
1519
1519
|
}
|
|
1520
|
-
function
|
|
1521
|
-
var o =
|
|
1520
|
+
function Rr(e, n, t, r) {
|
|
1521
|
+
var o = Ke(n), s = M(r) ? r : t, u = e + "L";
|
|
1522
1522
|
return o[u] ? o[u].add(s) : o[u] = /* @__PURE__ */ new Set([s]), function() {
|
|
1523
1523
|
var d = o[u];
|
|
1524
1524
|
d && (d.delete(s), d.size === 0 && delete o[u]);
|
|
1525
1525
|
};
|
|
1526
1526
|
}
|
|
1527
|
-
var Bo = "never",
|
|
1527
|
+
var Bo = "never", _t = "always", Lo = "observed";
|
|
1528
1528
|
function Mo(e) {
|
|
1529
1529
|
e.isolateGlobalState === !0 && _o();
|
|
1530
1530
|
var n = e.useProxies, t = e.enforceActions;
|
|
1531
|
-
if (n !== void 0 && (g.useProxies = n ===
|
|
1532
|
-
var r = t ===
|
|
1533
|
-
g.enforceActions = r, g.allowStateChanges = !(r === !0 || r ===
|
|
1531
|
+
if (n !== void 0 && (g.useProxies = n === _t ? !0 : n === Bo ? !1 : typeof Proxy < "u"), n === "ifavailable" && (g.verifyProxies = !0), t !== void 0) {
|
|
1532
|
+
var r = t === _t ? _t : t === Lo;
|
|
1533
|
+
g.enforceActions = r, g.allowStateChanges = !(r === !0 || r === _t);
|
|
1534
1534
|
}
|
|
1535
1535
|
["computedRequiresReaction", "reactionRequiresObservable", "observableRequiresReaction", "disableErrorBoundaries", "safeDescriptors"].forEach(function(o) {
|
|
1536
1536
|
o in e && (g[o] = !!e[o]);
|
|
1537
1537
|
}), g.allowStateReads = !g.observableRequiresReaction, process.env.NODE_ENV !== "production" && g.disableErrorBoundaries === !0 && console.warn("WARNING: Debug feature only. MobX will NOT recover from errors when `disableErrorBoundaries` is enabled."), e.reactionScheduler && mo(e.reactionScheduler);
|
|
1538
1538
|
}
|
|
1539
1539
|
function kr(e, n, t, r) {
|
|
1540
|
-
process.env.NODE_ENV !== "production" && (arguments.length > 4 && A("'extendObservable' expected 2-4 arguments"), typeof e != "object" && A("'extendObservable' expects an object as first argument"),
|
|
1540
|
+
process.env.NODE_ENV !== "production" && (arguments.length > 4 && A("'extendObservable' expected 2-4 arguments"), typeof e != "object" && A("'extendObservable' expects an object as first argument"), Se(e) && A("'extendObservable' should not be used on maps, use map.merge instead"), H(n) || A("'extendObservable' only accepts plain objects as second argument"), (it(n) || it(t)) && A("Extending an object with another observable (object) is not supported"));
|
|
1541
1541
|
var o = di(n);
|
|
1542
|
-
return
|
|
1543
|
-
var s =
|
|
1542
|
+
return we(function() {
|
|
1543
|
+
var s = ke(e, r)[S];
|
|
1544
1544
|
$e(o).forEach(function(u) {
|
|
1545
1545
|
s.extend_(
|
|
1546
1546
|
u,
|
|
@@ -1552,7 +1552,7 @@ function kr(e, n, t, r) {
|
|
|
1552
1552
|
}), e;
|
|
1553
1553
|
}
|
|
1554
1554
|
function jr(e, n) {
|
|
1555
|
-
return Fr(
|
|
1555
|
+
return Fr(Ke(e, n));
|
|
1556
1556
|
}
|
|
1557
1557
|
function Fr(e) {
|
|
1558
1558
|
var n = {
|
|
@@ -1563,21 +1563,21 @@ function Fr(e) {
|
|
|
1563
1563
|
function Po(e) {
|
|
1564
1564
|
return Array.from(new Set(e));
|
|
1565
1565
|
}
|
|
1566
|
-
var
|
|
1567
|
-
function
|
|
1566
|
+
var Io = 0;
|
|
1567
|
+
function Ur() {
|
|
1568
1568
|
this.message = "FLOW_CANCELLED";
|
|
1569
1569
|
}
|
|
1570
|
-
|
|
1571
|
-
var jt = /* @__PURE__ */ hr("flow"),
|
|
1570
|
+
Ur.prototype = /* @__PURE__ */ Object.create(Error.prototype);
|
|
1571
|
+
var jt = /* @__PURE__ */ hr("flow"), Ro = /* @__PURE__ */ hr("flow.bound", {
|
|
1572
1572
|
bound: !0
|
|
1573
|
-
}),
|
|
1574
|
-
if (
|
|
1573
|
+
}), Ge = /* @__PURE__ */ Object.assign(function(n, t) {
|
|
1574
|
+
if (st(t))
|
|
1575
1575
|
return jt.decorate_20223_(n, t);
|
|
1576
|
-
if (
|
|
1577
|
-
return
|
|
1576
|
+
if (De(t))
|
|
1577
|
+
return at(n, t, jt);
|
|
1578
1578
|
process.env.NODE_ENV !== "production" && arguments.length !== 1 && A("Flow expects single argument with generator function");
|
|
1579
1579
|
var r = n, o = r.name || "<unnamed flow>", s = function() {
|
|
1580
|
-
var d = this, c = arguments, p = ++
|
|
1580
|
+
var d = this, c = arguments, p = ++Io, m = B(o + " - runid: " + p + " - init", r).apply(d, c), i, a = void 0, l = new Promise(function(f, v) {
|
|
1581
1581
|
var h = 0;
|
|
1582
1582
|
i = v;
|
|
1583
1583
|
function _(O) {
|
|
@@ -1613,7 +1613,7 @@ var jt = /* @__PURE__ */ hr("flow"), Io = /* @__PURE__ */ hr("flow.bound", {
|
|
|
1613
1613
|
try {
|
|
1614
1614
|
a && Vn(a);
|
|
1615
1615
|
var f = m.return(void 0), v = Promise.resolve(f.value);
|
|
1616
|
-
v.then(
|
|
1616
|
+
v.then(Ue, Ue), Vn(v), i(new Ur());
|
|
1617
1617
|
} catch (h) {
|
|
1618
1618
|
i(h);
|
|
1619
1619
|
}
|
|
@@ -1621,17 +1621,17 @@ var jt = /* @__PURE__ */ hr("flow"), Io = /* @__PURE__ */ hr("flow.bound", {
|
|
|
1621
1621
|
};
|
|
1622
1622
|
return s.isMobXFlow = !0, s;
|
|
1623
1623
|
}, jt);
|
|
1624
|
-
|
|
1624
|
+
Ge.bound = /* @__PURE__ */ de(Ro);
|
|
1625
1625
|
function Vn(e) {
|
|
1626
1626
|
M(e.cancel) && e.cancel();
|
|
1627
1627
|
}
|
|
1628
|
-
function
|
|
1628
|
+
function rt(e) {
|
|
1629
1629
|
return e?.isMobXFlow === !0;
|
|
1630
1630
|
}
|
|
1631
1631
|
function ko(e, n) {
|
|
1632
|
-
return e ?
|
|
1632
|
+
return e ? Xe(e) || !!e[S] || _n(e) || Et(e) || It(e) : !1;
|
|
1633
1633
|
}
|
|
1634
|
-
function
|
|
1634
|
+
function it(e) {
|
|
1635
1635
|
return process.env.NODE_ENV !== "production" && arguments.length !== 1 && A("isObservable expects only 1 argument. Use isObservableProp to inspect the observability of a property"), ko(e);
|
|
1636
1636
|
}
|
|
1637
1637
|
function jo() {
|
|
@@ -1642,7 +1642,7 @@ function jo() {
|
|
|
1642
1642
|
var o = Fo(t);
|
|
1643
1643
|
if (!o)
|
|
1644
1644
|
return A("'trace(break?)' can only be used inside a tracked computed value or a Reaction. Consider passing in the computed value or reaction explicitly");
|
|
1645
|
-
o.isTracing_ ===
|
|
1645
|
+
o.isTracing_ === Q.NONE && console.log("[mobx.trace] '" + o.name_ + "' tracing enabled"), o.isTracing_ = e ? Q.BREAK : Q.LOG;
|
|
1646
1646
|
}
|
|
1647
1647
|
}
|
|
1648
1648
|
function Fo(e) {
|
|
@@ -1650,106 +1650,106 @@ function Fo(e) {
|
|
|
1650
1650
|
case 0:
|
|
1651
1651
|
return g.trackingDerivation;
|
|
1652
1652
|
case 1:
|
|
1653
|
-
return
|
|
1653
|
+
return Ke(e[0]);
|
|
1654
1654
|
case 2:
|
|
1655
|
-
return
|
|
1655
|
+
return Ke(e[0], e[1]);
|
|
1656
1656
|
}
|
|
1657
1657
|
}
|
|
1658
|
-
function
|
|
1659
|
-
n === void 0 && (n = void 0),
|
|
1658
|
+
function pe(e, n) {
|
|
1659
|
+
n === void 0 && (n = void 0), Z();
|
|
1660
1660
|
try {
|
|
1661
1661
|
return e.apply(n);
|
|
1662
1662
|
} finally {
|
|
1663
|
-
|
|
1663
|
+
Y();
|
|
1664
1664
|
}
|
|
1665
1665
|
}
|
|
1666
|
-
function
|
|
1666
|
+
function Ee(e) {
|
|
1667
1667
|
return e[S];
|
|
1668
1668
|
}
|
|
1669
|
-
var
|
|
1669
|
+
var Uo = {
|
|
1670
1670
|
has: function(n, t) {
|
|
1671
|
-
return process.env.NODE_ENV !== "production" && g.trackingDerivation &&
|
|
1671
|
+
return process.env.NODE_ENV !== "production" && g.trackingDerivation && Ze("detect new properties using the 'in' operator. Use 'has' from 'mobx' instead."), Ee(n).has_(t);
|
|
1672
1672
|
},
|
|
1673
1673
|
get: function(n, t) {
|
|
1674
|
-
return
|
|
1674
|
+
return Ee(n).get_(t);
|
|
1675
1675
|
},
|
|
1676
1676
|
set: function(n, t, r) {
|
|
1677
1677
|
var o;
|
|
1678
|
-
return
|
|
1678
|
+
return De(t) ? (process.env.NODE_ENV !== "production" && !Ee(n).values_.has(t) && Ze("add a new observable property through direct assignment. Use 'set' from 'mobx' instead."), (o = Ee(n).set_(t, r, !0)) != null ? o : !0) : !1;
|
|
1679
1679
|
},
|
|
1680
1680
|
deleteProperty: function(n, t) {
|
|
1681
1681
|
var r;
|
|
1682
|
-
return process.env.NODE_ENV !== "production" &&
|
|
1682
|
+
return process.env.NODE_ENV !== "production" && Ze("delete properties from an observable object. Use 'remove' from 'mobx' instead."), De(t) ? (r = Ee(n).delete_(t, !0)) != null ? r : !0 : !1;
|
|
1683
1683
|
},
|
|
1684
1684
|
defineProperty: function(n, t, r) {
|
|
1685
1685
|
var o;
|
|
1686
|
-
return process.env.NODE_ENV !== "production" &&
|
|
1686
|
+
return process.env.NODE_ENV !== "production" && Ze("define property on an observable object. Use 'defineProperty' from 'mobx' instead."), (o = Ee(n).defineProperty_(t, r)) != null ? o : !0;
|
|
1687
1687
|
},
|
|
1688
1688
|
ownKeys: function(n) {
|
|
1689
|
-
return process.env.NODE_ENV !== "production" && g.trackingDerivation &&
|
|
1689
|
+
return process.env.NODE_ENV !== "production" && g.trackingDerivation && Ze("iterate keys to detect added / removed properties. Use 'keys' from 'mobx' instead."), Ee(n).ownKeys_();
|
|
1690
1690
|
},
|
|
1691
1691
|
preventExtensions: function(n) {
|
|
1692
1692
|
A(13);
|
|
1693
1693
|
}
|
|
1694
1694
|
};
|
|
1695
|
-
function
|
|
1695
|
+
function Ho(e, n) {
|
|
1696
1696
|
var t, r;
|
|
1697
|
-
return ur(), e =
|
|
1697
|
+
return ur(), e = ke(e, n), (r = (t = e[S]).proxy_) != null ? r : t.proxy_ = new Proxy(e, Uo);
|
|
1698
1698
|
}
|
|
1699
|
-
function
|
|
1699
|
+
function W(e) {
|
|
1700
1700
|
return e.interceptors_ !== void 0 && e.interceptors_.length > 0;
|
|
1701
1701
|
}
|
|
1702
|
-
function
|
|
1702
|
+
function lt(e, n) {
|
|
1703
1703
|
var t = e.interceptors_ || (e.interceptors_ = []);
|
|
1704
1704
|
return t.push(n), dn(function() {
|
|
1705
1705
|
var r = t.indexOf(n);
|
|
1706
1706
|
r !== -1 && t.splice(r, 1);
|
|
1707
1707
|
});
|
|
1708
1708
|
}
|
|
1709
|
-
function
|
|
1710
|
-
var t =
|
|
1709
|
+
function X(e, n) {
|
|
1710
|
+
var t = Ie();
|
|
1711
1711
|
try {
|
|
1712
1712
|
for (var r = [].concat(e.interceptors_ || []), o = 0, s = r.length; o < s && (n = r[o](n), n && !n.type && A(14), !!n); o++)
|
|
1713
1713
|
;
|
|
1714
1714
|
return n;
|
|
1715
1715
|
} finally {
|
|
1716
|
-
|
|
1716
|
+
ve(t);
|
|
1717
1717
|
}
|
|
1718
1718
|
}
|
|
1719
|
-
function
|
|
1719
|
+
function re(e) {
|
|
1720
1720
|
return e.changeListeners_ !== void 0 && e.changeListeners_.length > 0;
|
|
1721
1721
|
}
|
|
1722
|
-
function
|
|
1722
|
+
function ct(e, n) {
|
|
1723
1723
|
var t = e.changeListeners_ || (e.changeListeners_ = []);
|
|
1724
1724
|
return t.push(n), dn(function() {
|
|
1725
1725
|
var r = t.indexOf(n);
|
|
1726
1726
|
r !== -1 && t.splice(r, 1);
|
|
1727
1727
|
});
|
|
1728
1728
|
}
|
|
1729
|
-
function
|
|
1730
|
-
var t =
|
|
1729
|
+
function ie(e, n) {
|
|
1730
|
+
var t = Ie(), r = e.changeListeners_;
|
|
1731
1731
|
if (r) {
|
|
1732
1732
|
r = r.slice();
|
|
1733
1733
|
for (var o = 0, s = r.length; o < s; o++)
|
|
1734
1734
|
r[o](n);
|
|
1735
|
-
|
|
1735
|
+
ve(t);
|
|
1736
1736
|
}
|
|
1737
1737
|
}
|
|
1738
1738
|
function gn(e, n, t) {
|
|
1739
|
-
return
|
|
1740
|
-
var r, o =
|
|
1741
|
-
process.env.NODE_ENV !== "production" && n && e[
|
|
1739
|
+
return we(function() {
|
|
1740
|
+
var r, o = ke(e, t)[S];
|
|
1741
|
+
process.env.NODE_ENV !== "production" && n && e[k] && A("makeObservable second arg must be nullish when using decorators. Mixing @decorator syntax with annotations is not supported."), (r = n) != null || (n = mi(e)), $e(n).forEach(function(s) {
|
|
1742
1742
|
return o.make_(s, n[s]);
|
|
1743
1743
|
});
|
|
1744
1744
|
}), e;
|
|
1745
1745
|
}
|
|
1746
1746
|
var Ft = /* @__PURE__ */ Symbol("mobx-keys");
|
|
1747
1747
|
function Re(e, n, t) {
|
|
1748
|
-
return process.env.NODE_ENV !== "production" && (!H(e) && !H(Object.getPrototypeOf(e)) && A("'makeAutoObservable' can only be used for classes that don't have a superclass"),
|
|
1749
|
-
var r =
|
|
1748
|
+
return process.env.NODE_ENV !== "production" && (!H(e) && !H(Object.getPrototypeOf(e)) && A("'makeAutoObservable' can only be used for classes that don't have a superclass"), Xe(e) && A("makeAutoObservable can only be used on objects not already made observable")), H(e) ? kr(e, e, n, t) : (we(function() {
|
|
1749
|
+
var r = ke(e, t)[S];
|
|
1750
1750
|
if (!e[Ft]) {
|
|
1751
1751
|
var o = Object.getPrototypeOf(e), s = new Set([].concat($e(e), $e(o)));
|
|
1752
|
-
s.delete("constructor"), s.delete(S),
|
|
1752
|
+
s.delete("constructor"), s.delete(S), ot(o, Ft, s);
|
|
1753
1753
|
}
|
|
1754
1754
|
e[Ft].forEach(function(u) {
|
|
1755
1755
|
return r.make_(
|
|
@@ -1760,10 +1760,10 @@ function Re(e, n, t) {
|
|
|
1760
1760
|
});
|
|
1761
1761
|
}), e);
|
|
1762
1762
|
}
|
|
1763
|
-
var Bn = "splice",
|
|
1763
|
+
var Bn = "splice", ne = "update", $o = 1e4, Go = {
|
|
1764
1764
|
get: function(n, t) {
|
|
1765
1765
|
var r = n[S];
|
|
1766
|
-
return t === S ? r : t === "length" ? r.getArrayLength_() : typeof t == "string" && !isNaN(t) ? r.get_(parseInt(t)) :
|
|
1766
|
+
return t === S ? r : t === "length" ? r.getArrayLength_() : typeof t == "string" && !isNaN(t) ? r.get_(parseInt(t)) : J(Nt, t) ? Nt[t] : n[t];
|
|
1767
1767
|
},
|
|
1768
1768
|
set: function(n, t, r) {
|
|
1769
1769
|
var o = n[S];
|
|
@@ -1774,7 +1774,7 @@ var Bn = "splice", te = "update", Uo = 1e4, Go = {
|
|
|
1774
1774
|
}
|
|
1775
1775
|
}, yn = /* @__PURE__ */ (function() {
|
|
1776
1776
|
function e(t, r, o, s) {
|
|
1777
|
-
t === void 0 && (t = process.env.NODE_ENV !== "production" ? "ObservableArray@" +
|
|
1777
|
+
t === void 0 && (t = process.env.NODE_ENV !== "production" ? "ObservableArray@" + oe() : "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_ = o, this.legacyMode_ = s, this.atom_ = new Oe(t), this.enhancer_ = function(u, d) {
|
|
1778
1778
|
return r(u, d, process.env.NODE_ENV !== "production" ? t + "[..]" : "ObservableArray[..]");
|
|
1779
1779
|
};
|
|
1780
1780
|
}
|
|
@@ -1784,7 +1784,7 @@ var Bn = "splice", te = "update", Uo = 1e4, Go = {
|
|
|
1784
1784
|
}, n.dehanceValues_ = function(r) {
|
|
1785
1785
|
return this.dehancer !== void 0 && r.length > 0 ? r.map(this.dehancer) : r;
|
|
1786
1786
|
}, n.intercept_ = function(r) {
|
|
1787
|
-
return
|
|
1787
|
+
return lt(this, r);
|
|
1788
1788
|
}, n.observe_ = function(r, o) {
|
|
1789
1789
|
return o === void 0 && (o = !1), o && r({
|
|
1790
1790
|
observableKind: "array",
|
|
@@ -1796,7 +1796,7 @@ var Bn = "splice", te = "update", Uo = 1e4, Go = {
|
|
|
1796
1796
|
addedCount: this.values_.length,
|
|
1797
1797
|
removed: [],
|
|
1798
1798
|
removedCount: 0
|
|
1799
|
-
}),
|
|
1799
|
+
}), ct(this, r);
|
|
1800
1800
|
}, n.getArrayLength_ = function() {
|
|
1801
1801
|
return this.atom_.reportObserved(), this.values_.length;
|
|
1802
1802
|
}, n.setArrayLength_ = function(r) {
|
|
@@ -1813,10 +1813,10 @@ var Bn = "splice", te = "update", Uo = 1e4, Go = {
|
|
|
1813
1813
|
r !== this.lastKnownLength_ && A(16), this.lastKnownLength_ += o, this.legacyMode_ && o > 0 && Wr(r + o + 1);
|
|
1814
1814
|
}, n.spliceWithArray_ = function(r, o, s) {
|
|
1815
1815
|
var u = this;
|
|
1816
|
-
|
|
1816
|
+
ce(this.atom_);
|
|
1817
1817
|
var d = this.values_.length;
|
|
1818
|
-
if (r === void 0 ? r = 0 : r > d ? r = d : r < 0 && (r = Math.max(0, d + r)), arguments.length === 1 ? o = d - r : o == null ? o = 0 : o = Math.max(0, Math.min(o, d - r)), s === void 0 && (s = yt),
|
|
1819
|
-
var c =
|
|
1818
|
+
if (r === void 0 ? r = 0 : r > d ? r = d : r < 0 && (r = Math.max(0, d + r)), arguments.length === 1 ? o = d - r : o == null ? o = 0 : o = Math.max(0, Math.min(o, d - r)), s === void 0 && (s = yt), W(this)) {
|
|
1819
|
+
var c = X(this, {
|
|
1820
1820
|
object: this.proxy_,
|
|
1821
1821
|
type: Bn,
|
|
1822
1822
|
index: r,
|
|
@@ -1836,7 +1836,7 @@ var Bn = "splice", te = "update", Uo = 1e4, Go = {
|
|
|
1836
1836
|
var m = this.spliceItemsIntoValues_(r, o, s);
|
|
1837
1837
|
return (o !== 0 || s.length !== 0) && this.notifyArraySplice_(r, s, m), this.dehanceValues_(m);
|
|
1838
1838
|
}, n.spliceItemsIntoValues_ = function(r, o, s) {
|
|
1839
|
-
if (s.length <
|
|
1839
|
+
if (s.length < $o) {
|
|
1840
1840
|
var u;
|
|
1841
1841
|
return (u = this.values_).splice.apply(u, [r, o].concat(s));
|
|
1842
1842
|
} else {
|
|
@@ -1849,18 +1849,18 @@ var Bn = "splice", te = "update", Uo = 1e4, Go = {
|
|
|
1849
1849
|
return d;
|
|
1850
1850
|
}
|
|
1851
1851
|
}, n.notifyArrayChildUpdate_ = function(r, o, s) {
|
|
1852
|
-
var u = !this.owned_ && P(), d =
|
|
1852
|
+
var u = !this.owned_ && P(), d = re(this), c = d || u ? {
|
|
1853
1853
|
observableKind: "array",
|
|
1854
1854
|
object: this.proxy_,
|
|
1855
|
-
type:
|
|
1855
|
+
type: ne,
|
|
1856
1856
|
debugObjectName: this.atom_.name_,
|
|
1857
1857
|
index: r,
|
|
1858
1858
|
newValue: o,
|
|
1859
1859
|
oldValue: s
|
|
1860
1860
|
} : null;
|
|
1861
|
-
process.env.NODE_ENV !== "production" && u && $(c), this.atom_.reportChanged(), d &&
|
|
1861
|
+
process.env.NODE_ENV !== "production" && u && $(c), this.atom_.reportChanged(), d && ie(this, c), process.env.NODE_ENV !== "production" && u && G();
|
|
1862
1862
|
}, n.notifyArraySplice_ = function(r, o, s) {
|
|
1863
|
-
var u = !this.owned_ && P(), d =
|
|
1863
|
+
var u = !this.owned_ && P(), d = re(this), c = d || u ? {
|
|
1864
1864
|
observableKind: "array",
|
|
1865
1865
|
object: this.proxy_,
|
|
1866
1866
|
debugObjectName: this.atom_.name_,
|
|
@@ -1871,7 +1871,7 @@ var Bn = "splice", te = "update", Uo = 1e4, Go = {
|
|
|
1871
1871
|
removedCount: s.length,
|
|
1872
1872
|
addedCount: o.length
|
|
1873
1873
|
} : null;
|
|
1874
|
-
process.env.NODE_ENV !== "production" && u && $(c), this.atom_.reportChanged(), d &&
|
|
1874
|
+
process.env.NODE_ENV !== "production" && u && $(c), this.atom_.reportChanged(), d && ie(this, c), process.env.NODE_ENV !== "production" && u && G();
|
|
1875
1875
|
}, n.get_ = function(r) {
|
|
1876
1876
|
if (this.legacyMode_ && r >= this.values_.length) {
|
|
1877
1877
|
console.warn(process.env.NODE_ENV !== "production" ? "[mobx.array] Attempt to read an array index (" + r + ") 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: " + r);
|
|
@@ -1881,11 +1881,11 @@ var Bn = "splice", te = "update", Uo = 1e4, Go = {
|
|
|
1881
1881
|
}, n.set_ = function(r, o) {
|
|
1882
1882
|
var s = this.values_;
|
|
1883
1883
|
if (this.legacyMode_ && r > s.length && A(17, r, s.length), r < s.length) {
|
|
1884
|
-
|
|
1884
|
+
ce(this.atom_);
|
|
1885
1885
|
var u = s[r];
|
|
1886
|
-
if (
|
|
1887
|
-
var d =
|
|
1888
|
-
type:
|
|
1886
|
+
if (W(this)) {
|
|
1887
|
+
var d = X(this, {
|
|
1888
|
+
type: ne,
|
|
1889
1889
|
object: this.proxy_,
|
|
1890
1890
|
// since "this" is the real array we need to pass its proxy
|
|
1891
1891
|
index: r,
|
|
@@ -1906,7 +1906,7 @@ var Bn = "splice", te = "update", Uo = 1e4, Go = {
|
|
|
1906
1906
|
}, e;
|
|
1907
1907
|
})();
|
|
1908
1908
|
function Ko(e, n, t, r) {
|
|
1909
|
-
return t === void 0 && (t = process.env.NODE_ENV !== "production" ? "ObservableArray@" +
|
|
1909
|
+
return t === void 0 && (t = process.env.NODE_ENV !== "production" ? "ObservableArray@" + oe() : "ObservableArray"), r === void 0 && (r = !1), ur(), we(function() {
|
|
1910
1910
|
var o = new yn(t, n, r, !1);
|
|
1911
1911
|
cr(o.values_, S, o);
|
|
1912
1912
|
var s = new Proxy(o.values_, Go);
|
|
@@ -1977,36 +1977,36 @@ var Nt = {
|
|
|
1977
1977
|
return r > -1 ? (this.splice(r, 1), !0) : !1;
|
|
1978
1978
|
}
|
|
1979
1979
|
};
|
|
1980
|
-
x("at",
|
|
1981
|
-
x("concat",
|
|
1982
|
-
x("flat",
|
|
1983
|
-
x("includes",
|
|
1984
|
-
x("indexOf",
|
|
1985
|
-
x("join",
|
|
1986
|
-
x("lastIndexOf",
|
|
1987
|
-
x("slice",
|
|
1988
|
-
x("toString",
|
|
1989
|
-
x("toLocaleString",
|
|
1990
|
-
x("toSorted",
|
|
1991
|
-
x("toSpliced",
|
|
1992
|
-
x("with",
|
|
1993
|
-
x("every",
|
|
1994
|
-
x("filter",
|
|
1995
|
-
x("find",
|
|
1996
|
-
x("findIndex",
|
|
1997
|
-
x("findLast",
|
|
1998
|
-
x("findLastIndex",
|
|
1999
|
-
x("flatMap",
|
|
2000
|
-
x("forEach",
|
|
2001
|
-
x("map",
|
|
2002
|
-
x("some",
|
|
2003
|
-
x("toReversed",
|
|
2004
|
-
x("reduce",
|
|
2005
|
-
x("reduceRight",
|
|
1980
|
+
x("at", K);
|
|
1981
|
+
x("concat", K);
|
|
1982
|
+
x("flat", K);
|
|
1983
|
+
x("includes", K);
|
|
1984
|
+
x("indexOf", K);
|
|
1985
|
+
x("join", K);
|
|
1986
|
+
x("lastIndexOf", K);
|
|
1987
|
+
x("slice", K);
|
|
1988
|
+
x("toString", K);
|
|
1989
|
+
x("toLocaleString", K);
|
|
1990
|
+
x("toSorted", K);
|
|
1991
|
+
x("toSpliced", K);
|
|
1992
|
+
x("with", K);
|
|
1993
|
+
x("every", ae);
|
|
1994
|
+
x("filter", ae);
|
|
1995
|
+
x("find", ae);
|
|
1996
|
+
x("findIndex", ae);
|
|
1997
|
+
x("findLast", ae);
|
|
1998
|
+
x("findLastIndex", ae);
|
|
1999
|
+
x("flatMap", ae);
|
|
2000
|
+
x("forEach", ae);
|
|
2001
|
+
x("map", ae);
|
|
2002
|
+
x("some", ae);
|
|
2003
|
+
x("toReversed", ae);
|
|
2004
|
+
x("reduce", Hr);
|
|
2005
|
+
x("reduceRight", Hr);
|
|
2006
2006
|
function x(e, n) {
|
|
2007
2007
|
typeof Array.prototype[e] == "function" && (Nt[e] = n(e));
|
|
2008
2008
|
}
|
|
2009
|
-
function
|
|
2009
|
+
function K(e) {
|
|
2010
2010
|
return function() {
|
|
2011
2011
|
var n = this[S];
|
|
2012
2012
|
n.atom_.reportObserved();
|
|
@@ -2014,7 +2014,7 @@ function G(e) {
|
|
|
2014
2014
|
return t[e].apply(t, arguments);
|
|
2015
2015
|
};
|
|
2016
2016
|
}
|
|
2017
|
-
function
|
|
2017
|
+
function ae(e) {
|
|
2018
2018
|
return function(n, t) {
|
|
2019
2019
|
var r = this, o = this[S];
|
|
2020
2020
|
o.atom_.reportObserved();
|
|
@@ -2024,7 +2024,7 @@ function oe(e) {
|
|
|
2024
2024
|
});
|
|
2025
2025
|
};
|
|
2026
2026
|
}
|
|
2027
|
-
function
|
|
2027
|
+
function Hr(e) {
|
|
2028
2028
|
return function() {
|
|
2029
2029
|
var n = this, t = this[S];
|
|
2030
2030
|
t.atom_.reportObserved();
|
|
@@ -2034,14 +2034,14 @@ function $r(e) {
|
|
|
2034
2034
|
}, r[e].apply(r, arguments);
|
|
2035
2035
|
};
|
|
2036
2036
|
}
|
|
2037
|
-
var qo = /* @__PURE__ */
|
|
2038
|
-
function
|
|
2037
|
+
var qo = /* @__PURE__ */ Pe("ObservableArrayAdministration", yn);
|
|
2038
|
+
function Rt(e) {
|
|
2039
2039
|
return Bt(e) && qo(e[S]);
|
|
2040
2040
|
}
|
|
2041
|
-
var Wo = {},
|
|
2041
|
+
var Wo = {}, ye = "add", Ct = "delete", $r = /* @__PURE__ */ (function() {
|
|
2042
2042
|
function e(t, r, o) {
|
|
2043
2043
|
var s = this;
|
|
2044
|
-
r === void 0 && (r =
|
|
2044
|
+
r === void 0 && (r = Ve), o === void 0 && (o = process.env.NODE_ENV !== "production" ? "ObservableMap@" + oe() : "ObservableMap"), this.enhancer_ = void 0, this.name_ = void 0, this[S] = Wo, 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_ = r, this.name_ = o, M(Map) || A(18), we(function() {
|
|
2045
2045
|
s.keysAtom_ = pr(process.env.NODE_ENV !== "production" ? s.name_ + ".keys()" : "ObservableMap.keys()"), s.data_ = /* @__PURE__ */ new Map(), s.hasMap_ = /* @__PURE__ */ new Map(), t && s.merge(t);
|
|
2046
2046
|
});
|
|
2047
2047
|
}
|
|
@@ -2054,17 +2054,17 @@ var Wo = {}, ge = "add", Ct = "delete", Ur = /* @__PURE__ */ (function() {
|
|
|
2054
2054
|
return this.has_(r);
|
|
2055
2055
|
var s = this.hasMap_.get(r);
|
|
2056
2056
|
if (!s) {
|
|
2057
|
-
var u = s = new
|
|
2058
|
-
this.hasMap_.set(r, u),
|
|
2057
|
+
var u = s = new xe(this.has_(r), Mt, process.env.NODE_ENV !== "production" ? this.name_ + "." + Qt(r) + "?" : "ObservableMap.key?", !1);
|
|
2058
|
+
this.hasMap_.set(r, u), Ir(u, function() {
|
|
2059
2059
|
return o.hasMap_.delete(r);
|
|
2060
2060
|
});
|
|
2061
2061
|
}
|
|
2062
2062
|
return s.get();
|
|
2063
2063
|
}, n.set = function(r, o) {
|
|
2064
2064
|
var s = this.has_(r);
|
|
2065
|
-
if (
|
|
2066
|
-
var u =
|
|
2067
|
-
type: s ?
|
|
2065
|
+
if (W(this)) {
|
|
2066
|
+
var u = X(this, {
|
|
2067
|
+
type: s ? ne : ye,
|
|
2068
2068
|
object: this,
|
|
2069
2069
|
newValue: o,
|
|
2070
2070
|
name: r
|
|
@@ -2076,8 +2076,8 @@ var Wo = {}, ge = "add", Ct = "delete", Ur = /* @__PURE__ */ (function() {
|
|
|
2076
2076
|
return s ? this.updateValue_(r, o) : this.addValue_(r, o), this;
|
|
2077
2077
|
}, n.delete = function(r) {
|
|
2078
2078
|
var o = this;
|
|
2079
|
-
if (
|
|
2080
|
-
var s =
|
|
2079
|
+
if (ce(this.keysAtom_), W(this)) {
|
|
2080
|
+
var s = X(this, {
|
|
2081
2081
|
type: Ct,
|
|
2082
2082
|
object: this,
|
|
2083
2083
|
name: r
|
|
@@ -2086,7 +2086,7 @@ var Wo = {}, ge = "add", Ct = "delete", Ur = /* @__PURE__ */ (function() {
|
|
|
2086
2086
|
return !1;
|
|
2087
2087
|
}
|
|
2088
2088
|
if (this.has_(r)) {
|
|
2089
|
-
var u = P(), d =
|
|
2089
|
+
var u = P(), d = re(this), c = d || u ? {
|
|
2090
2090
|
observableKind: "map",
|
|
2091
2091
|
debugObjectName: this.name_,
|
|
2092
2092
|
type: Ct,
|
|
@@ -2094,43 +2094,43 @@ var Wo = {}, ge = "add", Ct = "delete", Ur = /* @__PURE__ */ (function() {
|
|
|
2094
2094
|
oldValue: this.data_.get(r).value_,
|
|
2095
2095
|
name: r
|
|
2096
2096
|
} : null;
|
|
2097
|
-
return process.env.NODE_ENV !== "production" && u && $(c),
|
|
2097
|
+
return process.env.NODE_ENV !== "production" && u && $(c), pe(function() {
|
|
2098
2098
|
var p;
|
|
2099
2099
|
o.keysAtom_.reportChanged(), (p = o.hasMap_.get(r)) == null || p.setNewValue_(!1);
|
|
2100
2100
|
var m = o.data_.get(r);
|
|
2101
2101
|
m.setNewValue_(void 0), o.data_.delete(r);
|
|
2102
|
-
}), d &&
|
|
2102
|
+
}), d && ie(this, c), process.env.NODE_ENV !== "production" && u && G(), !0;
|
|
2103
2103
|
}
|
|
2104
2104
|
return !1;
|
|
2105
2105
|
}, n.updateValue_ = function(r, o) {
|
|
2106
2106
|
var s = this.data_.get(r);
|
|
2107
2107
|
if (o = s.prepareNewValue_(o), o !== g.UNCHANGED) {
|
|
2108
|
-
var u = P(), d =
|
|
2108
|
+
var u = P(), d = re(this), c = d || u ? {
|
|
2109
2109
|
observableKind: "map",
|
|
2110
2110
|
debugObjectName: this.name_,
|
|
2111
|
-
type:
|
|
2111
|
+
type: ne,
|
|
2112
2112
|
object: this,
|
|
2113
2113
|
oldValue: s.value_,
|
|
2114
2114
|
name: r,
|
|
2115
2115
|
newValue: o
|
|
2116
2116
|
} : null;
|
|
2117
|
-
process.env.NODE_ENV !== "production" && u && $(c), s.setNewValue_(o), d &&
|
|
2117
|
+
process.env.NODE_ENV !== "production" && u && $(c), s.setNewValue_(o), d && ie(this, c), process.env.NODE_ENV !== "production" && u && G();
|
|
2118
2118
|
}
|
|
2119
2119
|
}, n.addValue_ = function(r, o) {
|
|
2120
2120
|
var s = this;
|
|
2121
|
-
|
|
2122
|
-
var p, m = new
|
|
2121
|
+
ce(this.keysAtom_), pe(function() {
|
|
2122
|
+
var p, m = new xe(o, s.enhancer_, process.env.NODE_ENV !== "production" ? s.name_ + "." + Qt(r) : "ObservableMap.key", !1);
|
|
2123
2123
|
s.data_.set(r, m), o = m.value_, (p = s.hasMap_.get(r)) == null || p.setNewValue_(!0), s.keysAtom_.reportChanged();
|
|
2124
2124
|
});
|
|
2125
|
-
var u = P(), d =
|
|
2125
|
+
var u = P(), d = re(this), c = d || u ? {
|
|
2126
2126
|
observableKind: "map",
|
|
2127
2127
|
debugObjectName: this.name_,
|
|
2128
|
-
type:
|
|
2128
|
+
type: ye,
|
|
2129
2129
|
object: this,
|
|
2130
2130
|
name: r,
|
|
2131
2131
|
newValue: o
|
|
2132
2132
|
} : null;
|
|
2133
|
-
process.env.NODE_ENV !== "production" && u && $(c), d &&
|
|
2133
|
+
process.env.NODE_ENV !== "production" && u && $(c), d && ie(this, c), process.env.NODE_ENV !== "production" && u && G();
|
|
2134
2134
|
}, n.get = function(r) {
|
|
2135
2135
|
return this.has(r) ? this.dehanceValue_(this.data_.get(r).get()) : this.dehanceValue_(void 0);
|
|
2136
2136
|
}, n.dehanceValue_ = function(r) {
|
|
@@ -2168,19 +2168,19 @@ var Wo = {}, ge = "add", Ct = "delete", Ur = /* @__PURE__ */ (function() {
|
|
|
2168
2168
|
}
|
|
2169
2169
|
}, n.merge = function(r) {
|
|
2170
2170
|
var o = this;
|
|
2171
|
-
return
|
|
2171
|
+
return Se(r) && (r = new Map(r)), pe(function() {
|
|
2172
2172
|
H(r) ? fi(r).forEach(function(s) {
|
|
2173
2173
|
return o.set(s, r[s]);
|
|
2174
2174
|
}) : Array.isArray(r) ? r.forEach(function(s) {
|
|
2175
2175
|
var u = s[0], d = s[1];
|
|
2176
2176
|
return o.set(u, d);
|
|
2177
|
-
}) :
|
|
2177
|
+
}) : qe(r) ? (ci(r) || A(19, r), r.forEach(function(s, u) {
|
|
2178
2178
|
return o.set(u, s);
|
|
2179
2179
|
})) : r != null && A(20, r);
|
|
2180
2180
|
}), this;
|
|
2181
2181
|
}, n.clear = function() {
|
|
2182
2182
|
var r = this;
|
|
2183
|
-
|
|
2183
|
+
pe(function() {
|
|
2184
2184
|
wr(function() {
|
|
2185
2185
|
for (var o = He(r.keys()), s; !(s = o()).done; ) {
|
|
2186
2186
|
var u = s.value;
|
|
@@ -2190,7 +2190,7 @@ var Wo = {}, ge = "add", Ct = "delete", Ur = /* @__PURE__ */ (function() {
|
|
|
2190
2190
|
});
|
|
2191
2191
|
}, n.replace = function(r) {
|
|
2192
2192
|
var o = this;
|
|
2193
|
-
return
|
|
2193
|
+
return pe(function() {
|
|
2194
2194
|
for (var s = Xo(r), u = /* @__PURE__ */ new Map(), d = !1, c = He(o.data_.keys()), p; !(p = c()).done; ) {
|
|
2195
2195
|
var m = p.value;
|
|
2196
2196
|
if (!s.has(m)) {
|
|
@@ -2214,12 +2214,12 @@ var Wo = {}, ge = "add", Ct = "delete", Ur = /* @__PURE__ */ (function() {
|
|
|
2214
2214
|
if (o.data_.size !== u.size)
|
|
2215
2215
|
o.keysAtom_.reportChanged();
|
|
2216
2216
|
else
|
|
2217
|
-
for (var O = o.data_.keys(), T = u.keys(), V = O.next(),
|
|
2218
|
-
if (V.value !==
|
|
2217
|
+
for (var O = o.data_.keys(), T = u.keys(), V = O.next(), se = T.next(); !V.done; ) {
|
|
2218
|
+
if (V.value !== se.value) {
|
|
2219
2219
|
o.keysAtom_.reportChanged();
|
|
2220
2220
|
break;
|
|
2221
2221
|
}
|
|
2222
|
-
V = O.next(),
|
|
2222
|
+
V = O.next(), se = T.next();
|
|
2223
2223
|
}
|
|
2224
2224
|
o.data_ = u;
|
|
2225
2225
|
}), this;
|
|
@@ -2228,10 +2228,10 @@ var Wo = {}, ge = "add", Ct = "delete", Ur = /* @__PURE__ */ (function() {
|
|
|
2228
2228
|
}, n.toJSON = function() {
|
|
2229
2229
|
return Array.from(this);
|
|
2230
2230
|
}, n.observe_ = function(r, o) {
|
|
2231
|
-
return process.env.NODE_ENV !== "production" && o === !0 && A("`observe` doesn't support fireImmediately=true in combination with maps."),
|
|
2231
|
+
return process.env.NODE_ENV !== "production" && o === !0 && A("`observe` doesn't support fireImmediately=true in combination with maps."), ct(this, r);
|
|
2232
2232
|
}, n.intercept_ = function(r) {
|
|
2233
|
-
return
|
|
2234
|
-
},
|
|
2233
|
+
return lt(this, r);
|
|
2234
|
+
}, We(e, [{
|
|
2235
2235
|
key: "size",
|
|
2236
2236
|
get: function() {
|
|
2237
2237
|
return this.keysAtom_.reportObserved(), this.data_.size;
|
|
@@ -2242,12 +2242,12 @@ var Wo = {}, ge = "add", Ct = "delete", Ur = /* @__PURE__ */ (function() {
|
|
|
2242
2242
|
return "Map";
|
|
2243
2243
|
}
|
|
2244
2244
|
}]);
|
|
2245
|
-
})(),
|
|
2245
|
+
})(), Se = /* @__PURE__ */ Pe("ObservableMap", $r);
|
|
2246
2246
|
function Ln(e) {
|
|
2247
2247
|
return e[Symbol.toStringTag] = "MapIterator", On(e);
|
|
2248
2248
|
}
|
|
2249
2249
|
function Xo(e) {
|
|
2250
|
-
if (
|
|
2250
|
+
if (qe(e) || Se(e))
|
|
2251
2251
|
return e;
|
|
2252
2252
|
if (Array.isArray(e))
|
|
2253
2253
|
return new Map(e);
|
|
@@ -2262,9 +2262,9 @@ function Xo(e) {
|
|
|
2262
2262
|
var Zo = {}, Gr = /* @__PURE__ */ (function() {
|
|
2263
2263
|
function e(t, r, o) {
|
|
2264
2264
|
var s = this;
|
|
2265
|
-
r === void 0 && (r =
|
|
2265
|
+
r === void 0 && (r = Ve), o === void 0 && (o = process.env.NODE_ENV !== "production" ? "ObservableSet@" + oe() : "ObservableSet"), this.name_ = void 0, this[S] = Zo, this.data_ = /* @__PURE__ */ new Set(), this.atom_ = void 0, this.changeListeners_ = void 0, this.interceptors_ = void 0, this.dehancer = void 0, this.enhancer_ = void 0, this.name_ = o, M(Set) || A(22), this.enhancer_ = function(u, d) {
|
|
2266
2266
|
return r(u, d, o);
|
|
2267
|
-
},
|
|
2267
|
+
}, we(function() {
|
|
2268
2268
|
s.atom_ = pr(s.name_), t && s.replace(t);
|
|
2269
2269
|
});
|
|
2270
2270
|
}
|
|
@@ -2273,7 +2273,7 @@ var Zo = {}, Gr = /* @__PURE__ */ (function() {
|
|
|
2273
2273
|
return this.dehancer !== void 0 ? this.dehancer(r) : r;
|
|
2274
2274
|
}, n.clear = function() {
|
|
2275
2275
|
var r = this;
|
|
2276
|
-
|
|
2276
|
+
pe(function() {
|
|
2277
2277
|
wr(function() {
|
|
2278
2278
|
for (var o = He(r.data_.values()), s; !(s = o()).done; ) {
|
|
2279
2279
|
var u = s.value;
|
|
@@ -2288,9 +2288,9 @@ var Zo = {}, Gr = /* @__PURE__ */ (function() {
|
|
|
2288
2288
|
}
|
|
2289
2289
|
}, n.add = function(r) {
|
|
2290
2290
|
var o = this;
|
|
2291
|
-
if (
|
|
2292
|
-
var s =
|
|
2293
|
-
type:
|
|
2291
|
+
if (ce(this.atom_), W(this)) {
|
|
2292
|
+
var s = X(this, {
|
|
2293
|
+
type: ye,
|
|
2294
2294
|
object: this,
|
|
2295
2295
|
newValue: r
|
|
2296
2296
|
});
|
|
@@ -2299,23 +2299,23 @@ var Zo = {}, Gr = /* @__PURE__ */ (function() {
|
|
|
2299
2299
|
r = s.newValue;
|
|
2300
2300
|
}
|
|
2301
2301
|
if (!this.has(r)) {
|
|
2302
|
-
|
|
2302
|
+
pe(function() {
|
|
2303
2303
|
o.data_.add(o.enhancer_(r, void 0)), o.atom_.reportChanged();
|
|
2304
2304
|
});
|
|
2305
|
-
var u = process.env.NODE_ENV !== "production" && P(), d =
|
|
2305
|
+
var u = process.env.NODE_ENV !== "production" && P(), d = re(this), c = d || u ? {
|
|
2306
2306
|
observableKind: "set",
|
|
2307
2307
|
debugObjectName: this.name_,
|
|
2308
|
-
type:
|
|
2308
|
+
type: ye,
|
|
2309
2309
|
object: this,
|
|
2310
2310
|
newValue: r
|
|
2311
2311
|
} : null;
|
|
2312
|
-
u && process.env.NODE_ENV !== "production" && $(c), d &&
|
|
2312
|
+
u && process.env.NODE_ENV !== "production" && $(c), d && ie(this, c), u && process.env.NODE_ENV !== "production" && G();
|
|
2313
2313
|
}
|
|
2314
2314
|
return this;
|
|
2315
2315
|
}, n.delete = function(r) {
|
|
2316
2316
|
var o = this;
|
|
2317
|
-
if (
|
|
2318
|
-
var s =
|
|
2317
|
+
if (W(this)) {
|
|
2318
|
+
var s = X(this, {
|
|
2319
2319
|
type: Ct,
|
|
2320
2320
|
object: this,
|
|
2321
2321
|
oldValue: r
|
|
@@ -2324,16 +2324,16 @@ var Zo = {}, Gr = /* @__PURE__ */ (function() {
|
|
|
2324
2324
|
return !1;
|
|
2325
2325
|
}
|
|
2326
2326
|
if (this.has(r)) {
|
|
2327
|
-
var u = process.env.NODE_ENV !== "production" && P(), d =
|
|
2327
|
+
var u = process.env.NODE_ENV !== "production" && P(), d = re(this), c = d || u ? {
|
|
2328
2328
|
observableKind: "set",
|
|
2329
2329
|
debugObjectName: this.name_,
|
|
2330
2330
|
type: Ct,
|
|
2331
2331
|
object: this,
|
|
2332
2332
|
oldValue: r
|
|
2333
2333
|
} : null;
|
|
2334
|
-
return u && process.env.NODE_ENV !== "production" && $(c),
|
|
2334
|
+
return u && process.env.NODE_ENV !== "production" && $(c), pe(function() {
|
|
2335
2335
|
o.atom_.reportChanged(), o.data_.delete(r);
|
|
2336
|
-
}), d &&
|
|
2336
|
+
}), d && ie(this, c), u && process.env.NODE_ENV !== "production" && G(), !0;
|
|
2337
2337
|
}
|
|
2338
2338
|
return !1;
|
|
2339
2339
|
}, n.has = function(r) {
|
|
@@ -2370,19 +2370,19 @@ var Zo = {}, Gr = /* @__PURE__ */ (function() {
|
|
|
2370
2370
|
}
|
|
2371
2371
|
});
|
|
2372
2372
|
}, n.intersection = function(r) {
|
|
2373
|
-
if (
|
|
2373
|
+
if (_e(r) && !le(r))
|
|
2374
2374
|
return r.intersection(this);
|
|
2375
2375
|
var o = new Set(this);
|
|
2376
2376
|
return o.intersection(r);
|
|
2377
2377
|
}, n.union = function(r) {
|
|
2378
|
-
if (
|
|
2378
|
+
if (_e(r) && !le(r))
|
|
2379
2379
|
return r.union(this);
|
|
2380
2380
|
var o = new Set(this);
|
|
2381
2381
|
return o.union(r);
|
|
2382
2382
|
}, n.difference = function(r) {
|
|
2383
2383
|
return new Set(this).difference(r);
|
|
2384
2384
|
}, n.symmetricDifference = function(r) {
|
|
2385
|
-
if (
|
|
2385
|
+
if (_e(r) && !le(r))
|
|
2386
2386
|
return r.symmetricDifference(this);
|
|
2387
2387
|
var o = new Set(this);
|
|
2388
2388
|
return o.symmetricDifference(r);
|
|
@@ -2391,30 +2391,30 @@ var Zo = {}, Gr = /* @__PURE__ */ (function() {
|
|
|
2391
2391
|
}, n.isSupersetOf = function(r) {
|
|
2392
2392
|
return new Set(this).isSupersetOf(r);
|
|
2393
2393
|
}, n.isDisjointFrom = function(r) {
|
|
2394
|
-
if (
|
|
2394
|
+
if (_e(r) && !le(r))
|
|
2395
2395
|
return r.isDisjointFrom(this);
|
|
2396
2396
|
var o = new Set(this);
|
|
2397
2397
|
return o.isDisjointFrom(r);
|
|
2398
2398
|
}, n.replace = function(r) {
|
|
2399
2399
|
var o = this;
|
|
2400
|
-
return
|
|
2400
|
+
return le(r) && (r = new Set(r)), pe(function() {
|
|
2401
2401
|
Array.isArray(r) ? (o.clear(), r.forEach(function(s) {
|
|
2402
2402
|
return o.add(s);
|
|
2403
|
-
})) :
|
|
2403
|
+
})) : _e(r) ? (o.clear(), r.forEach(function(s) {
|
|
2404
2404
|
return o.add(s);
|
|
2405
2405
|
})) : r != null && A("Cannot initialize set from " + r);
|
|
2406
2406
|
}), this;
|
|
2407
2407
|
}, n.observe_ = function(r, o) {
|
|
2408
|
-
return process.env.NODE_ENV !== "production" && o === !0 && A("`observe` doesn't support fireImmediately=true in combination with sets."),
|
|
2408
|
+
return process.env.NODE_ENV !== "production" && o === !0 && A("`observe` doesn't support fireImmediately=true in combination with sets."), ct(this, r);
|
|
2409
2409
|
}, n.intercept_ = function(r) {
|
|
2410
|
-
return
|
|
2410
|
+
return lt(this, r);
|
|
2411
2411
|
}, n.toJSON = function() {
|
|
2412
2412
|
return Array.from(this);
|
|
2413
2413
|
}, n.toString = function() {
|
|
2414
2414
|
return "[object ObservableSet]";
|
|
2415
2415
|
}, n[Symbol.iterator] = function() {
|
|
2416
2416
|
return this.values();
|
|
2417
|
-
},
|
|
2417
|
+
}, We(e, [{
|
|
2418
2418
|
key: "size",
|
|
2419
2419
|
get: function() {
|
|
2420
2420
|
return this.atom_.reportObserved(), this.data_.size;
|
|
@@ -2425,24 +2425,24 @@ var Zo = {}, Gr = /* @__PURE__ */ (function() {
|
|
|
2425
2425
|
return "Set";
|
|
2426
2426
|
}
|
|
2427
2427
|
}]);
|
|
2428
|
-
})(),
|
|
2428
|
+
})(), le = /* @__PURE__ */ Pe("ObservableSet", Gr);
|
|
2429
2429
|
function Mn(e) {
|
|
2430
2430
|
return e[Symbol.toStringTag] = "SetIterator", On(e);
|
|
2431
2431
|
}
|
|
2432
|
-
var Pn = /* @__PURE__ */ Object.create(null),
|
|
2432
|
+
var Pn = /* @__PURE__ */ Object.create(null), In = "remove", ln = /* @__PURE__ */ (function() {
|
|
2433
2433
|
function e(t, r, o, s) {
|
|
2434
|
-
r === void 0 && (r = /* @__PURE__ */ new Map()), s === void 0 && (s =
|
|
2434
|
+
r === void 0 && (r = /* @__PURE__ */ new Map()), s === void 0 && (s = Ui), 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_ = t, this.values_ = r, this.name_ = o, this.defaultAnnotation_ = s, this.keysAtom_ = new Oe(process.env.NODE_ENV !== "production" ? this.name_ + ".keys" : "ObservableObject.keys"), this.isPlainObject_ = H(this.target_), process.env.NODE_ENV !== "production" && !Yr(this.defaultAnnotation_) && A("defaultAnnotation must be valid annotation"), process.env.NODE_ENV !== "production" && (this.appliedAnnotations_ = {});
|
|
2435
2435
|
}
|
|
2436
2436
|
var n = e.prototype;
|
|
2437
2437
|
return n.getObservablePropValue_ = function(r) {
|
|
2438
2438
|
return this.values_.get(r).get();
|
|
2439
2439
|
}, n.setObservablePropValue_ = function(r, o) {
|
|
2440
2440
|
var s = this.values_.get(r);
|
|
2441
|
-
if (s instanceof
|
|
2441
|
+
if (s instanceof ee)
|
|
2442
2442
|
return s.set(o), !0;
|
|
2443
|
-
if (
|
|
2444
|
-
var u =
|
|
2445
|
-
type:
|
|
2443
|
+
if (W(this)) {
|
|
2444
|
+
var u = X(this, {
|
|
2445
|
+
type: ne,
|
|
2446
2446
|
object: this.proxy_ || this.target_,
|
|
2447
2447
|
name: r,
|
|
2448
2448
|
newValue: o
|
|
@@ -2452,8 +2452,8 @@ var Pn = /* @__PURE__ */ Object.create(null), Rn = "remove", ln = /* @__PURE__ *
|
|
|
2452
2452
|
o = u.newValue;
|
|
2453
2453
|
}
|
|
2454
2454
|
if (o = s.prepareNewValue_(o), o !== g.UNCHANGED) {
|
|
2455
|
-
var d =
|
|
2456
|
-
type:
|
|
2455
|
+
var d = re(this), c = process.env.NODE_ENV !== "production" && P(), p = d || c ? {
|
|
2456
|
+
type: ne,
|
|
2457
2457
|
observableKind: "object",
|
|
2458
2458
|
debugObjectName: this.name_,
|
|
2459
2459
|
object: this.proxy_ || this.target_,
|
|
@@ -2461,13 +2461,13 @@ var Pn = /* @__PURE__ */ Object.create(null), Rn = "remove", ln = /* @__PURE__ *
|
|
|
2461
2461
|
name: r,
|
|
2462
2462
|
newValue: o
|
|
2463
2463
|
} : null;
|
|
2464
|
-
process.env.NODE_ENV !== "production" && c && $(p), s.setNewValue_(o), d &&
|
|
2464
|
+
process.env.NODE_ENV !== "production" && c && $(p), s.setNewValue_(o), d && ie(this, p), process.env.NODE_ENV !== "production" && c && G();
|
|
2465
2465
|
}
|
|
2466
2466
|
return !0;
|
|
2467
2467
|
}, n.get_ = function(r) {
|
|
2468
|
-
return g.trackingDerivation && !
|
|
2468
|
+
return g.trackingDerivation && !J(this.target_, r) && this.has_(r), this.target_[r];
|
|
2469
2469
|
}, n.set_ = function(r, o, s) {
|
|
2470
|
-
return s === void 0 && (s = !1),
|
|
2470
|
+
return s === void 0 && (s = !1), J(this.target_, r) ? this.values_.has(r) ? this.setObservablePropValue_(r, o) : s ? Reflect.set(this.target_, r, o) : (this.target_[r] = o, !0) : this.extend_(r, {
|
|
2471
2471
|
value: o,
|
|
2472
2472
|
enumerable: !0,
|
|
2473
2473
|
writable: !0,
|
|
@@ -2478,12 +2478,12 @@ var Pn = /* @__PURE__ */ Object.create(null), Rn = "remove", ln = /* @__PURE__ *
|
|
|
2478
2478
|
return r in this.target_;
|
|
2479
2479
|
this.pendingKeys_ || (this.pendingKeys_ = /* @__PURE__ */ new Map());
|
|
2480
2480
|
var o = this.pendingKeys_.get(r);
|
|
2481
|
-
return o || (o = new
|
|
2481
|
+
return o || (o = new xe(r in this.target_, Mt, process.env.NODE_ENV !== "production" ? this.name_ + "." + Qt(r) + "?" : "ObservableObject.key?", !1), this.pendingKeys_.set(r, o)), o.get();
|
|
2482
2482
|
}, n.make_ = function(r, o) {
|
|
2483
2483
|
if (o === !0 && (o = this.defaultAnnotation_), o !== !1) {
|
|
2484
2484
|
if (jn(this, o, r), !(r in this.target_)) {
|
|
2485
2485
|
var s;
|
|
2486
|
-
if ((s = this.target_[
|
|
2486
|
+
if ((s = this.target_[k]) != null && s[r])
|
|
2487
2487
|
return;
|
|
2488
2488
|
A(1, o.annotationType_, this.name_ + "." + r.toString());
|
|
2489
2489
|
}
|
|
@@ -2507,23 +2507,23 @@ var Pn = /* @__PURE__ */ Object.create(null), Rn = "remove", ln = /* @__PURE__ *
|
|
|
2507
2507
|
var d = s.extend_(this, r, o, u);
|
|
2508
2508
|
return d && kn(this, s, r), d;
|
|
2509
2509
|
}, n.defineProperty_ = function(r, o, s) {
|
|
2510
|
-
s === void 0 && (s = !1),
|
|
2510
|
+
s === void 0 && (s = !1), ce(this.keysAtom_);
|
|
2511
2511
|
try {
|
|
2512
|
-
|
|
2512
|
+
Z();
|
|
2513
2513
|
var u = this.delete_(r);
|
|
2514
2514
|
if (!u)
|
|
2515
2515
|
return u;
|
|
2516
|
-
if (
|
|
2517
|
-
var d =
|
|
2516
|
+
if (W(this)) {
|
|
2517
|
+
var d = X(this, {
|
|
2518
2518
|
object: this.proxy_ || this.target_,
|
|
2519
2519
|
name: r,
|
|
2520
|
-
type:
|
|
2520
|
+
type: ye,
|
|
2521
2521
|
newValue: o.value
|
|
2522
2522
|
});
|
|
2523
2523
|
if (!d)
|
|
2524
2524
|
return null;
|
|
2525
2525
|
var c = d.newValue;
|
|
2526
|
-
o.value !== c && (o =
|
|
2526
|
+
o.value !== c && (o = be({}, o, {
|
|
2527
2527
|
value: c
|
|
2528
2528
|
}));
|
|
2529
2529
|
}
|
|
@@ -2531,31 +2531,31 @@ var Pn = /* @__PURE__ */ Object.create(null), Rn = "remove", ln = /* @__PURE__ *
|
|
|
2531
2531
|
if (!Reflect.defineProperty(this.target_, r, o))
|
|
2532
2532
|
return !1;
|
|
2533
2533
|
} else
|
|
2534
|
-
|
|
2534
|
+
fe(this.target_, r, o);
|
|
2535
2535
|
this.notifyPropertyAddition_(r, o.value);
|
|
2536
2536
|
} finally {
|
|
2537
|
-
|
|
2537
|
+
Y();
|
|
2538
2538
|
}
|
|
2539
2539
|
return !0;
|
|
2540
2540
|
}, n.defineObservableProperty_ = function(r, o, s, u) {
|
|
2541
|
-
u === void 0 && (u = !1),
|
|
2541
|
+
u === void 0 && (u = !1), ce(this.keysAtom_);
|
|
2542
2542
|
try {
|
|
2543
|
-
|
|
2543
|
+
Z();
|
|
2544
2544
|
var d = this.delete_(r);
|
|
2545
2545
|
if (!d)
|
|
2546
2546
|
return d;
|
|
2547
|
-
if (
|
|
2548
|
-
var c =
|
|
2547
|
+
if (W(this)) {
|
|
2548
|
+
var c = X(this, {
|
|
2549
2549
|
object: this.proxy_ || this.target_,
|
|
2550
2550
|
name: r,
|
|
2551
|
-
type:
|
|
2551
|
+
type: ye,
|
|
2552
2552
|
newValue: o
|
|
2553
2553
|
});
|
|
2554
2554
|
if (!c)
|
|
2555
2555
|
return null;
|
|
2556
2556
|
o = c.newValue;
|
|
2557
2557
|
}
|
|
2558
|
-
var p =
|
|
2558
|
+
var p = Rn(r), m = {
|
|
2559
2559
|
configurable: g.safeDescriptors ? this.isPlainObject_ : !0,
|
|
2560
2560
|
enumerable: !0,
|
|
2561
2561
|
get: p.get,
|
|
@@ -2565,32 +2565,32 @@ var Pn = /* @__PURE__ */ Object.create(null), Rn = "remove", ln = /* @__PURE__ *
|
|
|
2565
2565
|
if (!Reflect.defineProperty(this.target_, r, m))
|
|
2566
2566
|
return !1;
|
|
2567
2567
|
} else
|
|
2568
|
-
|
|
2569
|
-
var i = new
|
|
2568
|
+
fe(this.target_, r, m);
|
|
2569
|
+
var i = new xe(o, s, process.env.NODE_ENV !== "production" ? this.name_ + "." + r.toString() : "ObservableObject.key", !1);
|
|
2570
2570
|
this.values_.set(r, i), this.notifyPropertyAddition_(r, i.value_);
|
|
2571
2571
|
} finally {
|
|
2572
|
-
|
|
2572
|
+
Y();
|
|
2573
2573
|
}
|
|
2574
2574
|
return !0;
|
|
2575
2575
|
}, n.defineComputedProperty_ = function(r, o, s) {
|
|
2576
|
-
s === void 0 && (s = !1),
|
|
2576
|
+
s === void 0 && (s = !1), ce(this.keysAtom_);
|
|
2577
2577
|
try {
|
|
2578
|
-
|
|
2578
|
+
Z();
|
|
2579
2579
|
var u = this.delete_(r);
|
|
2580
2580
|
if (!u)
|
|
2581
2581
|
return u;
|
|
2582
|
-
if (
|
|
2583
|
-
var d =
|
|
2582
|
+
if (W(this)) {
|
|
2583
|
+
var d = X(this, {
|
|
2584
2584
|
object: this.proxy_ || this.target_,
|
|
2585
2585
|
name: r,
|
|
2586
|
-
type:
|
|
2586
|
+
type: ye,
|
|
2587
2587
|
newValue: void 0
|
|
2588
2588
|
});
|
|
2589
2589
|
if (!d)
|
|
2590
2590
|
return null;
|
|
2591
2591
|
}
|
|
2592
2592
|
o.name || (o.name = process.env.NODE_ENV !== "production" ? this.name_ + "." + r.toString() : "ObservableObject.key"), o.context = this.proxy_ || this.target_;
|
|
2593
|
-
var c =
|
|
2593
|
+
var c = Rn(r), p = {
|
|
2594
2594
|
configurable: g.safeDescriptors ? this.isPlainObject_ : !0,
|
|
2595
2595
|
enumerable: !1,
|
|
2596
2596
|
get: c.get,
|
|
@@ -2600,28 +2600,28 @@ var Pn = /* @__PURE__ */ Object.create(null), Rn = "remove", ln = /* @__PURE__ *
|
|
|
2600
2600
|
if (!Reflect.defineProperty(this.target_, r, p))
|
|
2601
2601
|
return !1;
|
|
2602
2602
|
} else
|
|
2603
|
-
|
|
2604
|
-
this.values_.set(r, new
|
|
2603
|
+
fe(this.target_, r, p);
|
|
2604
|
+
this.values_.set(r, new ee(o)), this.notifyPropertyAddition_(r, void 0);
|
|
2605
2605
|
} finally {
|
|
2606
|
-
|
|
2606
|
+
Y();
|
|
2607
2607
|
}
|
|
2608
2608
|
return !0;
|
|
2609
2609
|
}, n.delete_ = function(r, o) {
|
|
2610
|
-
if (o === void 0 && (o = !1),
|
|
2610
|
+
if (o === void 0 && (o = !1), ce(this.keysAtom_), !J(this.target_, r))
|
|
2611
2611
|
return !0;
|
|
2612
|
-
if (
|
|
2613
|
-
var s =
|
|
2612
|
+
if (W(this)) {
|
|
2613
|
+
var s = X(this, {
|
|
2614
2614
|
object: this.proxy_ || this.target_,
|
|
2615
2615
|
name: r,
|
|
2616
|
-
type:
|
|
2616
|
+
type: In
|
|
2617
2617
|
});
|
|
2618
2618
|
if (!s)
|
|
2619
2619
|
return null;
|
|
2620
2620
|
}
|
|
2621
2621
|
try {
|
|
2622
2622
|
var u;
|
|
2623
|
-
|
|
2624
|
-
var d =
|
|
2623
|
+
Z();
|
|
2624
|
+
var d = re(this), c = process.env.NODE_ENV !== "production" && P(), p = this.values_.get(r), m = void 0;
|
|
2625
2625
|
if (!p && (d || c)) {
|
|
2626
2626
|
var i;
|
|
2627
2627
|
m = (i = gt(this.target_, r)) == null ? void 0 : i.value;
|
|
@@ -2631,37 +2631,37 @@ var Pn = /* @__PURE__ */ Object.create(null), Rn = "remove", ln = /* @__PURE__ *
|
|
|
2631
2631
|
return !1;
|
|
2632
2632
|
} else
|
|
2633
2633
|
delete this.target_[r];
|
|
2634
|
-
if (process.env.NODE_ENV !== "production" && delete this.appliedAnnotations_[r], p && (this.values_.delete(r), p instanceof
|
|
2634
|
+
if (process.env.NODE_ENV !== "production" && delete this.appliedAnnotations_[r], p && (this.values_.delete(r), p instanceof xe && (m = p.value_), Dr(p)), this.keysAtom_.reportChanged(), (u = this.pendingKeys_) == null || (u = u.get(r)) == null || u.set(r in this.target_), d || c) {
|
|
2635
2635
|
var a = {
|
|
2636
|
-
type:
|
|
2636
|
+
type: In,
|
|
2637
2637
|
observableKind: "object",
|
|
2638
2638
|
object: this.proxy_ || this.target_,
|
|
2639
2639
|
debugObjectName: this.name_,
|
|
2640
2640
|
oldValue: m,
|
|
2641
2641
|
name: r
|
|
2642
2642
|
};
|
|
2643
|
-
process.env.NODE_ENV !== "production" && c && $(a), d &&
|
|
2643
|
+
process.env.NODE_ENV !== "production" && c && $(a), d && ie(this, a), process.env.NODE_ENV !== "production" && c && G();
|
|
2644
2644
|
}
|
|
2645
2645
|
} finally {
|
|
2646
|
-
|
|
2646
|
+
Y();
|
|
2647
2647
|
}
|
|
2648
2648
|
return !0;
|
|
2649
2649
|
}, n.observe_ = function(r, o) {
|
|
2650
|
-
return process.env.NODE_ENV !== "production" && o === !0 && A("`observe` doesn't support the fire immediately property for observable objects."),
|
|
2650
|
+
return process.env.NODE_ENV !== "production" && o === !0 && A("`observe` doesn't support the fire immediately property for observable objects."), ct(this, r);
|
|
2651
2651
|
}, n.intercept_ = function(r) {
|
|
2652
|
-
return
|
|
2652
|
+
return lt(this, r);
|
|
2653
2653
|
}, n.notifyPropertyAddition_ = function(r, o) {
|
|
2654
|
-
var s, u =
|
|
2654
|
+
var s, u = re(this), d = process.env.NODE_ENV !== "production" && P();
|
|
2655
2655
|
if (u || d) {
|
|
2656
2656
|
var c = u || d ? {
|
|
2657
|
-
type:
|
|
2657
|
+
type: ye,
|
|
2658
2658
|
observableKind: "object",
|
|
2659
2659
|
debugObjectName: this.name_,
|
|
2660
2660
|
object: this.proxy_ || this.target_,
|
|
2661
2661
|
name: r,
|
|
2662
2662
|
newValue: o
|
|
2663
2663
|
} : null;
|
|
2664
|
-
process.env.NODE_ENV !== "production" && d && $(c), u &&
|
|
2664
|
+
process.env.NODE_ENV !== "production" && d && $(c), u && ie(this, c), process.env.NODE_ENV !== "production" && d && G();
|
|
2665
2665
|
}
|
|
2666
2666
|
(s = this.pendingKeys_) == null || (s = s.get(r)) == null || s.set(!0), this.keysAtom_.reportChanged();
|
|
2667
2667
|
}, n.ownKeys_ = function() {
|
|
@@ -2670,18 +2670,18 @@ var Pn = /* @__PURE__ */ Object.create(null), Rn = "remove", ln = /* @__PURE__ *
|
|
|
2670
2670
|
return this.keysAtom_.reportObserved(), Object.keys(this.target_);
|
|
2671
2671
|
}, e;
|
|
2672
2672
|
})();
|
|
2673
|
-
function
|
|
2673
|
+
function ke(e, n) {
|
|
2674
2674
|
var t;
|
|
2675
|
-
if (process.env.NODE_ENV !== "production" && n &&
|
|
2675
|
+
if (process.env.NODE_ENV !== "production" && n && Xe(e) && A("Options can't be provided for already observable objects."), J(e, S))
|
|
2676
2676
|
return process.env.NODE_ENV !== "production" && !(Xr(e) instanceof ln) && A("Cannot convert '" + Tt(e) + `' into observable object:
|
|
2677
2677
|
The target is already observable of different type.
|
|
2678
2678
|
Extending builtins is not supported.`), e;
|
|
2679
2679
|
process.env.NODE_ENV !== "production" && !Object.isExtensible(e) && A("Cannot make the designated object observable; it is not extensible");
|
|
2680
|
-
var r = (t = n?.name) != null ? t : process.env.NODE_ENV !== "production" ? (H(e) ? "ObservableObject" : e.constructor.name) + "@" +
|
|
2681
|
-
return
|
|
2680
|
+
var r = (t = n?.name) != null ? t : process.env.NODE_ENV !== "production" ? (H(e) ? "ObservableObject" : e.constructor.name) + "@" + oe() : "ObservableObject", o = new ln(e, /* @__PURE__ */ new Map(), String(r), Ji(n));
|
|
2681
|
+
return ot(e, S, o), e;
|
|
2682
2682
|
}
|
|
2683
|
-
var Yo = /* @__PURE__ */
|
|
2684
|
-
function
|
|
2683
|
+
var Yo = /* @__PURE__ */ Pe("ObservableObjectAdministration", ln);
|
|
2684
|
+
function Rn(e) {
|
|
2685
2685
|
return Pn[e] || (Pn[e] = {
|
|
2686
2686
|
get: function() {
|
|
2687
2687
|
return this[S].getObservablePropValue_(e);
|
|
@@ -2691,15 +2691,15 @@ function In(e) {
|
|
|
2691
2691
|
}
|
|
2692
2692
|
});
|
|
2693
2693
|
}
|
|
2694
|
-
function
|
|
2694
|
+
function Xe(e) {
|
|
2695
2695
|
return Bt(e) ? Yo(e[S]) : !1;
|
|
2696
2696
|
}
|
|
2697
2697
|
function kn(e, n, t) {
|
|
2698
2698
|
var r;
|
|
2699
|
-
process.env.NODE_ENV !== "production" && (e.appliedAnnotations_[t] = n), (r = e.target_[
|
|
2699
|
+
process.env.NODE_ENV !== "production" && (e.appliedAnnotations_[t] = n), (r = e.target_[k]) == null || delete r[t];
|
|
2700
2700
|
}
|
|
2701
2701
|
function jn(e, n, t) {
|
|
2702
|
-
if (process.env.NODE_ENV !== "production" && !Yr(n) && A("Cannot annotate '" + e.name_ + "." + t.toString() + "': Invalid annotation."), process.env.NODE_ENV !== "production" && !Ot(n) &&
|
|
2702
|
+
if (process.env.NODE_ENV !== "production" && !Yr(n) && A("Cannot annotate '" + e.name_ + "." + t.toString() + "': Invalid annotation."), process.env.NODE_ENV !== "production" && !Ot(n) && J(e.appliedAnnotations_, t)) {
|
|
2703
2703
|
var r = e.name_ + "." + t.toString(), o = e.appliedAnnotations_[t].annotationType_, s = n.annotationType_;
|
|
2704
2704
|
A("Cannot apply '" + s + "' to '" + r + "':" + (`
|
|
2705
2705
|
The field is already annotated with '` + o + "'.") + `
|
|
@@ -2714,7 +2714,7 @@ var zo = /* @__PURE__ */ qr(0), Jo = /* @__PURE__ */ (function() {
|
|
|
2714
2714
|
e = !0;
|
|
2715
2715
|
}
|
|
2716
2716
|
}), Object.create(n)[0] = 1, e === !1;
|
|
2717
|
-
})(),
|
|
2717
|
+
})(), Ut = 0, Kr = function() {
|
|
2718
2718
|
};
|
|
2719
2719
|
function Qo(e, n) {
|
|
2720
2720
|
Object.setPrototypeOf ? Object.setPrototypeOf(e.prototype, n) : e.prototype.__proto__ !== void 0 ? e.prototype.__proto__ = n : e.prototype = n;
|
|
@@ -2723,7 +2723,7 @@ Qo(Kr, Array.prototype);
|
|
|
2723
2723
|
var An = /* @__PURE__ */ (function(e) {
|
|
2724
2724
|
function n(r, o, s, u) {
|
|
2725
2725
|
var d;
|
|
2726
|
-
return s === void 0 && (s = process.env.NODE_ENV !== "production" ? "ObservableArray@" +
|
|
2726
|
+
return s === void 0 && (s = process.env.NODE_ENV !== "production" ? "ObservableArray@" + oe() : "ObservableArray"), u === void 0 && (u = !1), d = e.call(this) || this, we(function() {
|
|
2727
2727
|
var c = new yn(s, o, u, !0);
|
|
2728
2728
|
c.proxy_ = d, cr(d, S, c), r && r.length && d.spliceWithArray(0, 0, r), Jo && Object.defineProperty(d, "0", zo);
|
|
2729
2729
|
}), d;
|
|
@@ -2738,7 +2738,7 @@ var An = /* @__PURE__ */ (function(e) {
|
|
|
2738
2738
|
this.slice(),
|
|
2739
2739
|
//@ts-ignore
|
|
2740
2740
|
s.map(function(d) {
|
|
2741
|
-
return
|
|
2741
|
+
return Rt(d) ? d.slice() : d;
|
|
2742
2742
|
})
|
|
2743
2743
|
);
|
|
2744
2744
|
}, t[Symbol.iterator] = function() {
|
|
@@ -2754,7 +2754,7 @@ var An = /* @__PURE__ */ (function(e) {
|
|
|
2754
2754
|
};
|
|
2755
2755
|
}
|
|
2756
2756
|
});
|
|
2757
|
-
},
|
|
2757
|
+
}, We(n, [{
|
|
2758
2758
|
key: "length",
|
|
2759
2759
|
get: function() {
|
|
2760
2760
|
return this[S].getArrayLength_();
|
|
@@ -2771,7 +2771,7 @@ var An = /* @__PURE__ */ (function(e) {
|
|
|
2771
2771
|
})(Kr);
|
|
2772
2772
|
Object.entries(Nt).forEach(function(e) {
|
|
2773
2773
|
var n = e[0], t = e[1];
|
|
2774
|
-
n !== "concat" &&
|
|
2774
|
+
n !== "concat" && ot(An.prototype, n, t);
|
|
2775
2775
|
});
|
|
2776
2776
|
function qr(e) {
|
|
2777
2777
|
return {
|
|
@@ -2786,45 +2786,45 @@ function qr(e) {
|
|
|
2786
2786
|
};
|
|
2787
2787
|
}
|
|
2788
2788
|
function ea(e) {
|
|
2789
|
-
|
|
2789
|
+
fe(An.prototype, "" + e, qr(e));
|
|
2790
2790
|
}
|
|
2791
2791
|
function Wr(e) {
|
|
2792
|
-
if (e >
|
|
2793
|
-
for (var n =
|
|
2792
|
+
if (e > Ut) {
|
|
2793
|
+
for (var n = Ut; n < e + 100; n++)
|
|
2794
2794
|
ea(n);
|
|
2795
|
-
|
|
2795
|
+
Ut = e;
|
|
2796
2796
|
}
|
|
2797
2797
|
}
|
|
2798
2798
|
Wr(1e3);
|
|
2799
2799
|
function ta(e, n, t) {
|
|
2800
2800
|
return new An(e, n, t);
|
|
2801
2801
|
}
|
|
2802
|
-
function
|
|
2802
|
+
function Ke(e, n) {
|
|
2803
2803
|
if (typeof e == "object" && e !== null) {
|
|
2804
|
-
if (
|
|
2804
|
+
if (Rt(e))
|
|
2805
2805
|
return n !== void 0 && A(23), e[S].atom_;
|
|
2806
|
-
if (
|
|
2806
|
+
if (le(e))
|
|
2807
2807
|
return e.atom_;
|
|
2808
|
-
if (
|
|
2808
|
+
if (Se(e)) {
|
|
2809
2809
|
if (n === void 0)
|
|
2810
2810
|
return e.keysAtom_;
|
|
2811
2811
|
var t = e.data_.get(n) || e.hasMap_.get(n);
|
|
2812
2812
|
return t || A(25, n, Tt(e)), t;
|
|
2813
2813
|
}
|
|
2814
|
-
if (
|
|
2814
|
+
if (Xe(e)) {
|
|
2815
2815
|
if (!n)
|
|
2816
2816
|
return A(26);
|
|
2817
2817
|
var r = e[S].values_.get(n);
|
|
2818
2818
|
return r || A(27, n, Tt(e)), r;
|
|
2819
2819
|
}
|
|
2820
|
-
if (_n(e) ||
|
|
2820
|
+
if (_n(e) || It(e) || Et(e))
|
|
2821
2821
|
return e;
|
|
2822
2822
|
} else if (M(e) && Et(e[S]))
|
|
2823
2823
|
return e[S];
|
|
2824
2824
|
A(28);
|
|
2825
2825
|
}
|
|
2826
2826
|
function Xr(e, n) {
|
|
2827
|
-
if (e || A(29), _n(e) ||
|
|
2827
|
+
if (e || A(29), _n(e) || It(e) || Et(e) || Se(e) || le(e))
|
|
2828
2828
|
return e;
|
|
2829
2829
|
if (e[S])
|
|
2830
2830
|
return e[S];
|
|
@@ -2833,21 +2833,21 @@ function Xr(e, n) {
|
|
|
2833
2833
|
function Tt(e, n) {
|
|
2834
2834
|
var t;
|
|
2835
2835
|
if (n !== void 0)
|
|
2836
|
-
t =
|
|
2836
|
+
t = Ke(e, n);
|
|
2837
2837
|
else {
|
|
2838
|
-
if (
|
|
2838
|
+
if (Me(e))
|
|
2839
2839
|
return e.name;
|
|
2840
|
-
|
|
2840
|
+
Xe(e) || Se(e) || le(e) ? t = Xr(e) : t = Ke(e);
|
|
2841
2841
|
}
|
|
2842
2842
|
return t.name_;
|
|
2843
2843
|
}
|
|
2844
|
-
function
|
|
2845
|
-
var n =
|
|
2846
|
-
|
|
2844
|
+
function we(e) {
|
|
2845
|
+
var n = Ie(), t = vn(!0);
|
|
2846
|
+
Z();
|
|
2847
2847
|
try {
|
|
2848
2848
|
return e();
|
|
2849
2849
|
} finally {
|
|
2850
|
-
|
|
2850
|
+
Y(), hn(t), ve(n);
|
|
2851
2851
|
}
|
|
2852
2852
|
}
|
|
2853
2853
|
var Fn = Vt.toString;
|
|
@@ -2885,7 +2885,7 @@ function cn(e, n, t, r, o) {
|
|
|
2885
2885
|
t >= 0 && t++;
|
|
2886
2886
|
break;
|
|
2887
2887
|
}
|
|
2888
|
-
e =
|
|
2888
|
+
e = Un(e), n = Un(n);
|
|
2889
2889
|
var d = u === "[object Array]";
|
|
2890
2890
|
if (!d) {
|
|
2891
2891
|
if (typeof e != "object" || typeof n != "object")
|
|
@@ -2912,16 +2912,16 @@ function cn(e, n, t, r, o) {
|
|
|
2912
2912
|
return !1;
|
|
2913
2913
|
for (var l = 0; l < a; l++) {
|
|
2914
2914
|
var f = i[l];
|
|
2915
|
-
if (!(
|
|
2915
|
+
if (!(J(n, f) && cn(e[f], n[f], t - 1, r, o)))
|
|
2916
2916
|
return !1;
|
|
2917
2917
|
}
|
|
2918
2918
|
}
|
|
2919
2919
|
return r.pop(), o.pop(), !0;
|
|
2920
2920
|
}
|
|
2921
|
-
function
|
|
2922
|
-
return
|
|
2921
|
+
function Un(e) {
|
|
2922
|
+
return Rt(e) ? e.slice() : qe(e) || Se(e) || _e(e) || le(e) ? Array.from(e.entries()) : e;
|
|
2923
2923
|
}
|
|
2924
|
-
var
|
|
2924
|
+
var Hn, na = ((Hn = Dt().Iterator) == null ? void 0 : Hn.prototype) || {};
|
|
2925
2925
|
function On(e) {
|
|
2926
2926
|
return e[Symbol.iterator] = ra, Object.assign(Object.create(na), e);
|
|
2927
2927
|
}
|
|
@@ -2945,7 +2945,7 @@ typeof __MOBX_DEVTOOLS_GLOBAL_HOOK__ == "object" && __MOBX_DEVTOOLS_GLOBAL_HOOK_
|
|
|
2945
2945
|
},
|
|
2946
2946
|
$mobx: S
|
|
2947
2947
|
});
|
|
2948
|
-
if (!
|
|
2948
|
+
if (!ge)
|
|
2949
2949
|
throw new Error("mobx-react-lite requires React with Hooks support");
|
|
2950
2950
|
if (!gn)
|
|
2951
2951
|
throw new Error("mobx-react-lite@3 requires mobx at least version 6 to be available");
|
|
@@ -3027,12 +3027,12 @@ var sa = 1e4, ua = 1e4, la = (
|
|
|
3027
3027
|
), ca = typeof FinalizationRegistry < "u" ? FinalizationRegistry : la, fn = new ca(function(e) {
|
|
3028
3028
|
var n;
|
|
3029
3029
|
(n = e.reaction) === null || n === void 0 || n.dispose(), e.reaction = null;
|
|
3030
|
-
}),
|
|
3031
|
-
var
|
|
3030
|
+
}), Ye = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {}, pt = { exports: {} }, Ht = {};
|
|
3031
|
+
var $n;
|
|
3032
3032
|
function fa() {
|
|
3033
|
-
if (
|
|
3034
|
-
|
|
3035
|
-
var e =
|
|
3033
|
+
if ($n) return Ht;
|
|
3034
|
+
$n = 1;
|
|
3035
|
+
var e = Ae;
|
|
3036
3036
|
function n(i, a) {
|
|
3037
3037
|
return i === a && (i !== 0 || 1 / i === 1 / a) || i !== i && a !== a;
|
|
3038
3038
|
}
|
|
@@ -3067,9 +3067,9 @@ function fa() {
|
|
|
3067
3067
|
return a();
|
|
3068
3068
|
}
|
|
3069
3069
|
var m = typeof window > "u" || typeof window.document > "u" || typeof window.document.createElement > "u" ? p : d;
|
|
3070
|
-
return
|
|
3070
|
+
return Ht.useSyncExternalStore = e.useSyncExternalStore !== void 0 ? e.useSyncExternalStore : m, Ht;
|
|
3071
3071
|
}
|
|
3072
|
-
var
|
|
3072
|
+
var $t = {};
|
|
3073
3073
|
var Gn;
|
|
3074
3074
|
function da() {
|
|
3075
3075
|
return Gn || (Gn = 1, process.env.NODE_ENV !== "production" && (function() {
|
|
@@ -3119,24 +3119,24 @@ function da() {
|
|
|
3119
3119
|
return f();
|
|
3120
3120
|
}
|
|
3121
3121
|
typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ < "u" && typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart == "function" && __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(Error());
|
|
3122
|
-
var o =
|
|
3123
|
-
|
|
3124
|
-
})()),
|
|
3122
|
+
var o = Ae, s = typeof Object.is == "function" ? Object.is : e, u = o.useState, d = o.useEffect, c = o.useLayoutEffect, p = o.useDebugValue, m = !1, i = !1, a = typeof window > "u" || typeof window.document > "u" || typeof window.document.createElement > "u" ? r : n;
|
|
3123
|
+
$t.useSyncExternalStore = o.useSyncExternalStore !== void 0 ? o.useSyncExternalStore : a, typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ < "u" && typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop == "function" && __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(Error());
|
|
3124
|
+
})()), $t;
|
|
3125
3125
|
}
|
|
3126
3126
|
var Kn;
|
|
3127
3127
|
function _a() {
|
|
3128
|
-
return Kn || (Kn = 1, process.env.NODE_ENV === "production" ?
|
|
3128
|
+
return Kn || (Kn = 1, process.env.NODE_ENV === "production" ? pt.exports = fa() : pt.exports = da()), pt.exports;
|
|
3129
3129
|
}
|
|
3130
3130
|
var pa = _a();
|
|
3131
3131
|
function qn(e) {
|
|
3132
|
-
e.reaction = new
|
|
3132
|
+
e.reaction = new me("observer".concat(e.name), function() {
|
|
3133
3133
|
var n;
|
|
3134
3134
|
e.stateVersion = /* @__PURE__ */ Symbol(), (n = e.onStoreChange) === null || n === void 0 || n.call(e);
|
|
3135
3135
|
});
|
|
3136
3136
|
}
|
|
3137
3137
|
function va(e, n) {
|
|
3138
3138
|
n === void 0 && (n = "observed");
|
|
3139
|
-
var t =
|
|
3139
|
+
var t = Ae.useRef(null);
|
|
3140
3140
|
if (!t.current) {
|
|
3141
3141
|
var r = {
|
|
3142
3142
|
reaction: null,
|
|
@@ -3156,7 +3156,7 @@ function va(e, n) {
|
|
|
3156
3156
|
t.current = r;
|
|
3157
3157
|
}
|
|
3158
3158
|
var o = t.current;
|
|
3159
|
-
o.reaction || (qn(o), fn.register(t, o, o)),
|
|
3159
|
+
o.reaction || (qn(o), fn.register(t, o, o)), Ae.useDebugValue(o.reaction, aa), pa.useSyncExternalStore(
|
|
3160
3160
|
// Both of these must be stable, otherwise it would keep resubscribing every render.
|
|
3161
3161
|
o.subscribe,
|
|
3162
3162
|
o.getSnapshot,
|
|
@@ -3179,7 +3179,7 @@ var Gt, Kt, ha = !0, Wn = !0, zr = typeof Symbol == "function" && Symbol.for, ba
|
|
|
3179
3179
|
}).$$typeof, Zn = zr ? /* @__PURE__ */ Symbol.for("react.memo") : typeof Jt == "function" && Jt(function(e) {
|
|
3180
3180
|
return null;
|
|
3181
3181
|
}).$$typeof;
|
|
3182
|
-
function
|
|
3182
|
+
function q(e, n) {
|
|
3183
3183
|
var t;
|
|
3184
3184
|
if (process.env.NODE_ENV, Zn && e.$$typeof === Zn)
|
|
3185
3185
|
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.");
|
|
@@ -3227,7 +3227,7 @@ const ya = ({
|
|
|
3227
3227
|
isAnteBet: r,
|
|
3228
3228
|
isBonus: o
|
|
3229
3229
|
}) => {
|
|
3230
|
-
const s =
|
|
3230
|
+
const s = Qe(() => o ? "Active" : r ? "Disable" : "Buy Bonus", [o, r]);
|
|
3231
3231
|
return /* @__PURE__ */ w("div", { className: "buy-bonus-wrap", "aria-hidden": n ? "true" : "false", children: [
|
|
3232
3232
|
t && /* @__PURE__ */ b(
|
|
3233
3233
|
"div",
|
|
@@ -3255,7 +3255,7 @@ const ya = ({
|
|
|
3255
3255
|
}) => /* @__PURE__ */ w("div", { className: "info", children: [
|
|
3256
3256
|
/* @__PURE__ */ b("span", { className: "label", children: e }),
|
|
3257
3257
|
/* @__PURE__ */ b("span", { className: "value", children: n })
|
|
3258
|
-
] }),
|
|
3258
|
+
] }), j = {
|
|
3259
3259
|
bet: "bet",
|
|
3260
3260
|
autoplay: "autoplay",
|
|
3261
3261
|
settings: "settings",
|
|
@@ -3293,10 +3293,14 @@ const ya = ({
|
|
|
3293
3293
|
], Wt = {
|
|
3294
3294
|
ante: "ante",
|
|
3295
3295
|
buy: "buy"
|
|
3296
|
-
},
|
|
3296
|
+
}, R = {
|
|
3297
3297
|
SKIP_INTRO: "SKIP_INTRO",
|
|
3298
3298
|
SOUND_ON: "SOUND_ON",
|
|
3299
|
-
MUSIC_ON: "MUSIC_ON"
|
|
3299
|
+
MUSIC_ON: "MUSIC_ON",
|
|
3300
|
+
SPACE_TO_SPIN: "SPACE_TO_SPIN",
|
|
3301
|
+
SPACE_TO_SKIP: "SPACE_TO_SKIP",
|
|
3302
|
+
IS_TURBO: "IS_TURBO",
|
|
3303
|
+
VOLUME: "VOLUME"
|
|
3300
3304
|
}, Jr = {
|
|
3301
3305
|
Click: "click",
|
|
3302
3306
|
BuyBonusClick: "buyBonusClick"
|
|
@@ -3626,21 +3630,21 @@ function Sa() {
|
|
|
3626
3630
|
if (f && !_._paused)
|
|
3627
3631
|
return a || l._loadQueue("play"), _._id;
|
|
3628
3632
|
l._webAudio && t._autoResume();
|
|
3629
|
-
var E = Math.max(0, _._seek > 0 ? _._seek : l._sprite[i][0] / 1e3), O = Math.max(0, (l._sprite[i][0] + l._sprite[i][1]) / 1e3 - E), T = O * 1e3 / Math.abs(_._rate), V = l._sprite[i][0] / 1e3,
|
|
3633
|
+
var E = Math.max(0, _._seek > 0 ? _._seek : l._sprite[i][0] / 1e3), O = Math.max(0, (l._sprite[i][0] + l._sprite[i][1]) / 1e3 - E), T = O * 1e3 / Math.abs(_._rate), V = l._sprite[i][0] / 1e3, se = (l._sprite[i][0] + l._sprite[i][1]) / 1e3;
|
|
3630
3634
|
_._sprite = i, _._ended = !1;
|
|
3631
|
-
var
|
|
3632
|
-
_._paused = !1, _._seek = E, _._start = V, _._stop =
|
|
3635
|
+
var ue = function() {
|
|
3636
|
+
_._paused = !1, _._seek = E, _._start = V, _._stop = se, _._loop = !!(_._loop || l._sprite[i][2]);
|
|
3633
3637
|
};
|
|
3634
|
-
if (E >=
|
|
3638
|
+
if (E >= se) {
|
|
3635
3639
|
l._ended(_);
|
|
3636
3640
|
return;
|
|
3637
3641
|
}
|
|
3638
3642
|
var D = _._node;
|
|
3639
3643
|
if (l._webAudio) {
|
|
3640
3644
|
var Sn = function() {
|
|
3641
|
-
l._playLock = !1,
|
|
3642
|
-
var
|
|
3643
|
-
D.gain.setValueAtTime(
|
|
3645
|
+
l._playLock = !1, ue(), l._refreshBuffer(_);
|
|
3646
|
+
var je = _._muted || l._muted ? 0 : _._volume;
|
|
3647
|
+
D.gain.setValueAtTime(je, t.ctx.currentTime), _._playStart = t.ctx.currentTime, typeof D.bufferSource.start > "u" ? _._loop ? D.bufferSource.noteGrainOn(0, E, 86400) : D.bufferSource.noteGrainOn(0, E, O) : _._loop ? D.bufferSource.start(0, E, 86400) : D.bufferSource.start(0, E, O), T !== 1 / 0 && (l._endTimers[_._id] = setTimeout(l._ended.bind(l, _), T)), a || setTimeout(function() {
|
|
3644
3648
|
l._emit("play", _._id), l._loadQueue();
|
|
3645
3649
|
}, 0);
|
|
3646
3650
|
};
|
|
@@ -3649,12 +3653,12 @@ function Sa() {
|
|
|
3649
3653
|
var wn = function() {
|
|
3650
3654
|
D.currentTime = E, D.muted = _._muted || l._muted || t._muted || D.muted, D.volume = _._volume * t.volume(), D.playbackRate = _._rate;
|
|
3651
3655
|
try {
|
|
3652
|
-
var
|
|
3653
|
-
if (
|
|
3656
|
+
var je = D.play();
|
|
3657
|
+
if (je && typeof Promise < "u" && (je instanceof Promise || typeof je.then == "function") ? (l._playLock = !0, ue(), je.then(function() {
|
|
3654
3658
|
l._playLock = !1, D._unlocked = !0, a ? l._loadQueue() : l._emit("play", _._id);
|
|
3655
3659
|
}).catch(function() {
|
|
3656
3660
|
l._playLock = !1, l._emit("playerror", _._id, "Playback was unable to start. This is most commonly an issue on mobile devices and Chrome where playback was not within a user interaction."), _._ended = !0, _._paused = !0;
|
|
3657
|
-
})) : a || (l._playLock = !1,
|
|
3661
|
+
})) : a || (l._playLock = !1, ue(), l._emit("play", _._id)), D.playbackRate = _._rate, D.paused) {
|
|
3658
3662
|
l._emit("playerror", _._id, "Playback was unable to start. This is most commonly an issue on mobile devices and Chrome where playback was not within a user interaction.");
|
|
3659
3663
|
return;
|
|
3660
3664
|
}
|
|
@@ -3828,8 +3832,8 @@ function Sa() {
|
|
|
3828
3832
|
_startFadeInterval: function(i, a, l, f, v, h) {
|
|
3829
3833
|
var _ = this, y = a, E = l - a, O = Math.abs(E / 0.01), T = Math.max(4, O > 0 ? f / O : f), V = Date.now();
|
|
3830
3834
|
i._fadeTo = l, i._interval = setInterval(function() {
|
|
3831
|
-
var
|
|
3832
|
-
V = Date.now(), y += E *
|
|
3835
|
+
var se = (Date.now() - V) / f;
|
|
3836
|
+
V = Date.now(), y += E * se, y = Math.round(y * 100) / 100, E < 0 ? y = Math.max(l, y) : y = Math.min(l, y), _._webAudio ? i._volume = y : _.volume(y, i._id, !0), h && (_._volume = y), (l < a && y <= l || l > a && y >= l) && (clearInterval(i._interval), i._interval = null, i._fadeTo = null, _.volume(l, i._id), _._emit("fade", i._id));
|
|
3833
3837
|
}, T);
|
|
3834
3838
|
},
|
|
3835
3839
|
/**
|
|
@@ -4300,7 +4304,7 @@ function Sa() {
|
|
|
4300
4304
|
t.usingWebAudio && (t.masterGain = typeof t.ctx.createGain > "u" ? t.ctx.createGainNode() : t.ctx.createGain(), t.masterGain.gain.setValueAtTime(t._muted ? 0 : t._volume, t.ctx.currentTime), t.masterGain.connect(t.ctx.destination)), t._setup();
|
|
4301
4305
|
}
|
|
4302
4306
|
};
|
|
4303
|
-
e.Howler = t, e.Howl = r, typeof
|
|
4307
|
+
e.Howler = t, e.Howl = r, typeof Ye < "u" ? (Ye.HowlerGlobal = n, Ye.Howler = t, Ye.Howl = r, Ye.Sound = o) : typeof window < "u" && (window.HowlerGlobal = n, window.Howler = t, window.Howl = r, window.Sound = o);
|
|
4304
4308
|
})();
|
|
4305
4309
|
(function() {
|
|
4306
4310
|
HowlerGlobal.prototype._pos = [0, 0, 0], HowlerGlobal.prototype._orientation = [0, 0, -1, 0, 1, 0], HowlerGlobal.prototype.stereo = function(t) {
|
|
@@ -4483,7 +4487,7 @@ function Sa() {
|
|
|
4483
4487
|
})();
|
|
4484
4488
|
})(Xt)), Xt;
|
|
4485
4489
|
}
|
|
4486
|
-
var
|
|
4490
|
+
var Fe = Sa();
|
|
4487
4491
|
const Qn = "default";
|
|
4488
4492
|
class wa {
|
|
4489
4493
|
bgMusic = /* @__PURE__ */ new Map();
|
|
@@ -4511,9 +4515,9 @@ class wa {
|
|
|
4511
4515
|
registerBgMusicTrack(n, t, r) {
|
|
4512
4516
|
if (this.bgMusic.has(n)) return;
|
|
4513
4517
|
const o = this.clamp(r);
|
|
4514
|
-
this.bgBaseVolumes.set(n, o),
|
|
4518
|
+
this.bgBaseVolumes.set(n, o), Fe.Howler.volume(1), this.bgMusic.set(
|
|
4515
4519
|
n,
|
|
4516
|
-
new
|
|
4520
|
+
new Fe.Howl({
|
|
4517
4521
|
src: Array.isArray(t) ? t : [t],
|
|
4518
4522
|
loop: !0,
|
|
4519
4523
|
volume: o * this.masterVolume
|
|
@@ -4524,7 +4528,7 @@ class wa {
|
|
|
4524
4528
|
if (this.sfx.has(n)) return;
|
|
4525
4529
|
const o = this.clamp(r);
|
|
4526
4530
|
this.sfxBaseVolumes.set(n, o);
|
|
4527
|
-
const s = new
|
|
4531
|
+
const s = new Fe.Howl({
|
|
4528
4532
|
src: Array.isArray(t) ? t : [t],
|
|
4529
4533
|
volume: o * this.masterVolume
|
|
4530
4534
|
});
|
|
@@ -4579,7 +4583,7 @@ class wa {
|
|
|
4579
4583
|
}
|
|
4580
4584
|
setMasterVolume(n) {
|
|
4581
4585
|
let t = n / 100;
|
|
4582
|
-
t = this.clamp(t), this.masterVolume = t,
|
|
4586
|
+
t = this.clamp(t), this.masterVolume = t, Fe.Howler.volume(1), !this.allMuted && (this.bgMusic.forEach((r, o) => {
|
|
4583
4587
|
const s = this.bgBaseVolumes.get(o) ?? 1;
|
|
4584
4588
|
r.volume(s * this.masterVolume);
|
|
4585
4589
|
}), this.sfx.forEach((r, o) => {
|
|
@@ -4600,18 +4604,18 @@ class wa {
|
|
|
4600
4604
|
this.bgBaseVolumes.set(n, o), r.volume(o * this.masterVolume);
|
|
4601
4605
|
}
|
|
4602
4606
|
muteAll() {
|
|
4603
|
-
this.allMuted = !0,
|
|
4607
|
+
this.allMuted = !0, Fe.Howler.mute(!0);
|
|
4604
4608
|
}
|
|
4605
4609
|
unmuteAll() {
|
|
4606
|
-
this.allMuted = !1,
|
|
4610
|
+
this.allMuted = !1, Fe.Howler.mute(!1), this.setMasterVolume(this.masterVolume), this.musicMuted || this.playBgMusic();
|
|
4607
4611
|
}
|
|
4608
4612
|
clamp(n) {
|
|
4609
4613
|
return Math.max(0, Math.min(1, n));
|
|
4610
4614
|
}
|
|
4611
4615
|
}
|
|
4612
|
-
const
|
|
4616
|
+
const Ce = new wa();
|
|
4613
4617
|
function L() {
|
|
4614
|
-
|
|
4618
|
+
Ce.playSound(Jr.Click);
|
|
4615
4619
|
}
|
|
4616
4620
|
const Ea = ({
|
|
4617
4621
|
onClick: e,
|
|
@@ -4663,7 +4667,7 @@ class Na {
|
|
|
4663
4667
|
return this.activePopup !== null;
|
|
4664
4668
|
}
|
|
4665
4669
|
}
|
|
4666
|
-
const
|
|
4670
|
+
const I = new Na();
|
|
4667
4671
|
class Ca {
|
|
4668
4672
|
dialogs = Oa;
|
|
4669
4673
|
activeDialog = null;
|
|
@@ -4734,7 +4738,7 @@ class Ta {
|
|
|
4734
4738
|
this.balance = n;
|
|
4735
4739
|
}
|
|
4736
4740
|
}
|
|
4737
|
-
const
|
|
4741
|
+
const z = new Ta();
|
|
4738
4742
|
class xa {
|
|
4739
4743
|
countRange = [10, 25, 50, 70, 100, 500, 1e3];
|
|
4740
4744
|
limitsRange = [10, 20, 50];
|
|
@@ -4780,7 +4784,7 @@ class xa {
|
|
|
4780
4784
|
this.currentWinLimit = n;
|
|
4781
4785
|
}
|
|
4782
4786
|
}
|
|
4783
|
-
const
|
|
4787
|
+
const Ne = new xa();
|
|
4784
4788
|
class Da {
|
|
4785
4789
|
anteBets = [];
|
|
4786
4790
|
inReelFeatures = [];
|
|
@@ -4800,9 +4804,9 @@ class Da {
|
|
|
4800
4804
|
activeBonusFeature: C,
|
|
4801
4805
|
activeInReelFeature: C,
|
|
4802
4806
|
freeSpinsCount: C,
|
|
4803
|
-
isActiveBonus:
|
|
4804
|
-
isActiveInReelFeature:
|
|
4805
|
-
isActiveAnteBet:
|
|
4807
|
+
isActiveBonus: Te,
|
|
4808
|
+
isActiveInReelFeature: Te,
|
|
4809
|
+
isActiveAnteBet: Te,
|
|
4806
4810
|
setAnteBets: B,
|
|
4807
4811
|
setActiveAnteBet: B,
|
|
4808
4812
|
setActiveBonusFeature: B,
|
|
@@ -4854,44 +4858,55 @@ class Da {
|
|
|
4854
4858
|
this.handler?.(n);
|
|
4855
4859
|
}
|
|
4856
4860
|
}
|
|
4857
|
-
const
|
|
4861
|
+
const he = new Da();
|
|
4858
4862
|
class Va {
|
|
4859
|
-
introSkip =
|
|
4860
|
-
spaceToSpin = !
|
|
4861
|
-
spaceToSkip = !
|
|
4862
|
-
isTurbo = !1;
|
|
4863
|
-
volume = 50;
|
|
4864
|
-
musicOn = !0;
|
|
4865
|
-
soundsOn = !0;
|
|
4863
|
+
introSkip = this.getBooleanSetting(R.SKIP_INTRO, !1);
|
|
4864
|
+
spaceToSpin = this.getBooleanSetting(R.SPACE_TO_SPIN, !0);
|
|
4865
|
+
spaceToSkip = this.getBooleanSetting(R.SPACE_TO_SKIP, !0);
|
|
4866
|
+
isTurbo = this.getBooleanSetting(R.IS_TURBO, !1);
|
|
4867
|
+
volume = this.getNumberSetting(R.VOLUME, 50);
|
|
4868
|
+
musicOn = this.getBooleanSetting(R.MUSIC_ON, !0);
|
|
4869
|
+
soundsOn = this.getBooleanSetting(R.SOUND_ON, !0);
|
|
4866
4870
|
constructor() {
|
|
4867
4871
|
Re(this);
|
|
4868
4872
|
}
|
|
4873
|
+
getBooleanSetting(n, t) {
|
|
4874
|
+
const r = localStorage.getItem(n);
|
|
4875
|
+
return r === null ? t : r === "true";
|
|
4876
|
+
}
|
|
4877
|
+
getNumberSetting(n, t) {
|
|
4878
|
+
const r = localStorage.getItem(n);
|
|
4879
|
+
if (r === null)
|
|
4880
|
+
return t;
|
|
4881
|
+
const o = Number(r);
|
|
4882
|
+
return Number.isNaN(o) ? t : o;
|
|
4883
|
+
}
|
|
4869
4884
|
setMusicOn(n) {
|
|
4870
|
-
this.musicOn = n, localStorage.setItem(
|
|
4885
|
+
this.musicOn = n, localStorage.setItem(R.MUSIC_ON, n.toString()), n ? Ce.unmuteMusic() : Ce.muteMusic();
|
|
4871
4886
|
}
|
|
4872
4887
|
toggleMute() {
|
|
4873
4888
|
this.volume > 0 ? this.setVolume(0) : this.setVolume(50);
|
|
4874
4889
|
}
|
|
4875
4890
|
setVolume(n) {
|
|
4876
|
-
this.volume = n,
|
|
4891
|
+
this.volume = n, localStorage.setItem(R.VOLUME, n.toString()), Ce.setMasterVolume(n);
|
|
4877
4892
|
}
|
|
4878
4893
|
setIsTurbo(n) {
|
|
4879
|
-
this.isTurbo = n;
|
|
4894
|
+
this.isTurbo = n, localStorage.setItem(R.IS_TURBO, n.toString());
|
|
4880
4895
|
}
|
|
4881
4896
|
setSoundsOn(n) {
|
|
4882
|
-
this.soundsOn = n, localStorage.setItem(
|
|
4897
|
+
this.soundsOn = n, localStorage.setItem(R.SOUND_ON, n.toString()), n ? Ce.unmuteSounds() : Ce.muteSounds();
|
|
4883
4898
|
}
|
|
4884
4899
|
setIntroSkip(n) {
|
|
4885
|
-
this.introSkip = n, localStorage.setItem(
|
|
4900
|
+
this.introSkip = n, localStorage.setItem(R.SKIP_INTRO, n.toString());
|
|
4886
4901
|
}
|
|
4887
4902
|
setSpaceToSpin(n) {
|
|
4888
|
-
this.spaceToSpin = n;
|
|
4903
|
+
this.spaceToSpin = n, localStorage.setItem(R.SPACE_TO_SPIN, n.toString());
|
|
4889
4904
|
}
|
|
4890
4905
|
setSpaceToSkip(n) {
|
|
4891
|
-
this.spaceToSkip = n;
|
|
4906
|
+
this.spaceToSkip = n, localStorage.setItem(R.SPACE_TO_SKIP, n.toString());
|
|
4892
4907
|
}
|
|
4893
4908
|
}
|
|
4894
|
-
const
|
|
4909
|
+
const te = new Va();
|
|
4895
4910
|
class Ba {
|
|
4896
4911
|
data = [
|
|
4897
4912
|
{
|
|
@@ -5085,8 +5100,8 @@ class Pa {
|
|
|
5085
5100
|
this.lastWinAmount = n;
|
|
5086
5101
|
}
|
|
5087
5102
|
}
|
|
5088
|
-
const
|
|
5089
|
-
const { isDisabled: e, isRunning: n, clickHandler: t } = xt, { count: r, isStarted: o } =
|
|
5103
|
+
const Ia = new Pa(), Ra = q(() => {
|
|
5104
|
+
const { isDisabled: e, isRunning: n, clickHandler: t } = xt, { count: r, isStarted: o } = Ne, { freeSpinsCount: s } = he;
|
|
5090
5105
|
return /* @__PURE__ */ b(
|
|
5091
5106
|
"button",
|
|
5092
5107
|
{
|
|
@@ -5117,20 +5132,20 @@ const Ra = new Pa(), Ia = K(() => {
|
|
|
5117
5132
|
n || (L(), e());
|
|
5118
5133
|
} : void 0
|
|
5119
5134
|
}
|
|
5120
|
-
), ka =
|
|
5135
|
+
), ka = q(() => {
|
|
5121
5136
|
const {
|
|
5122
5137
|
balance: e,
|
|
5123
5138
|
betAmount: n,
|
|
5124
5139
|
displayCurrency: t,
|
|
5125
5140
|
setNextBetAmount: r,
|
|
5126
5141
|
setPrevBetAmount: o
|
|
5127
|
-
} =
|
|
5142
|
+
} = z, { lastWinAmount: s } = Ia, { setIsTurbo: u, isTurbo: d } = te, { open: c } = I, {
|
|
5128
5143
|
activeAnteBet: p,
|
|
5129
5144
|
activeBonusFeature: m,
|
|
5130
5145
|
activeInReelFeature: i,
|
|
5131
5146
|
setActiveAnteBet: a
|
|
5132
|
-
} =
|
|
5133
|
-
|
|
5147
|
+
} = he, { isUIVisible: l, isAutoPlayDisabled: f, isBuyBonusDisabled: v, isBetAmountLabelsDisabled: h } = xt, _ = Qe(() => p?.imagePath || i?.imagePath || m?.imagePath, [p, m, i]), y = or(() => {
|
|
5148
|
+
Ce.playSound(Jr.BuyBonusClick), p ? a.call(he, null) : c.call(I, j.buyBonus);
|
|
5134
5149
|
}, [p, a]);
|
|
5135
5150
|
return /* @__PURE__ */ b("div", { className: `ui-footer ${l ? "" : "hidden"}`, children: /* @__PURE__ */ w("div", { className: "top-row", children: [
|
|
5136
5151
|
/* @__PURE__ */ w("div", { className: "left-group", children: [
|
|
@@ -5154,10 +5169,10 @@ const Ra = new Pa(), Ia = K(() => {
|
|
|
5154
5169
|
Ea,
|
|
5155
5170
|
{
|
|
5156
5171
|
highlighted: !!p,
|
|
5157
|
-
value: p ? p.availableBets[
|
|
5172
|
+
value: p ? p.availableBets[z.betIndex] : n,
|
|
5158
5173
|
currency: t,
|
|
5159
5174
|
onClick: () => {
|
|
5160
|
-
c.call(
|
|
5175
|
+
c.call(I, j.bet);
|
|
5161
5176
|
},
|
|
5162
5177
|
disabled: h
|
|
5163
5178
|
}
|
|
@@ -5167,18 +5182,18 @@ const Ra = new Pa(), Ia = K(() => {
|
|
|
5167
5182
|
er,
|
|
5168
5183
|
{
|
|
5169
5184
|
onClick: () => {
|
|
5170
|
-
o.call(
|
|
5185
|
+
o.call(z);
|
|
5171
5186
|
},
|
|
5172
5187
|
className: "bet-btn minus",
|
|
5173
5188
|
disabled: h
|
|
5174
5189
|
}
|
|
5175
5190
|
),
|
|
5176
|
-
/* @__PURE__ */ b(
|
|
5191
|
+
/* @__PURE__ */ b(Ra, { onClick: () => console.log("Spin"), state: "active" }),
|
|
5177
5192
|
/* @__PURE__ */ b(
|
|
5178
5193
|
er,
|
|
5179
5194
|
{
|
|
5180
5195
|
onClick: () => {
|
|
5181
|
-
r.call(
|
|
5196
|
+
r.call(z);
|
|
5182
5197
|
},
|
|
5183
5198
|
className: "bet-btn plus",
|
|
5184
5199
|
disabled: h
|
|
@@ -5190,7 +5205,7 @@ const Ra = new Pa(), Ia = K(() => {
|
|
|
5190
5205
|
{
|
|
5191
5206
|
className: "quick-spin",
|
|
5192
5207
|
onClick: () => {
|
|
5193
|
-
u.call(
|
|
5208
|
+
u.call(te, !d);
|
|
5194
5209
|
},
|
|
5195
5210
|
isActive: d
|
|
5196
5211
|
}
|
|
@@ -5200,7 +5215,7 @@ const Ra = new Pa(), Ia = K(() => {
|
|
|
5200
5215
|
{
|
|
5201
5216
|
className: "auto-spin",
|
|
5202
5217
|
onClick: () => {
|
|
5203
|
-
c.call(
|
|
5218
|
+
c.call(I, j.autoplay);
|
|
5204
5219
|
},
|
|
5205
5220
|
isActive: !1,
|
|
5206
5221
|
disabled: f
|
|
@@ -5213,8 +5228,8 @@ const Ra = new Pa(), Ia = K(() => {
|
|
|
5213
5228
|
onUnmount: n,
|
|
5214
5229
|
className: t
|
|
5215
5230
|
}) => {
|
|
5216
|
-
const r =
|
|
5217
|
-
return
|
|
5231
|
+
const r = et(null);
|
|
5232
|
+
return tt(() => (r.current && e && e(r.current), () => {
|
|
5218
5233
|
n?.();
|
|
5219
5234
|
}), [e, n]), /* @__PURE__ */ b(
|
|
5220
5235
|
"div",
|
|
@@ -5230,8 +5245,8 @@ const Ra = new Pa(), Ia = K(() => {
|
|
|
5230
5245
|
);
|
|
5231
5246
|
};
|
|
5232
5247
|
function Fa(e) {
|
|
5233
|
-
const n =
|
|
5234
|
-
return
|
|
5248
|
+
const n = et(null);
|
|
5249
|
+
return tt(() => {
|
|
5235
5250
|
if (typeof e != "function") return;
|
|
5236
5251
|
const t = (r) => {
|
|
5237
5252
|
const o = n.current;
|
|
@@ -5244,9 +5259,9 @@ function Fa(e) {
|
|
|
5244
5259
|
};
|
|
5245
5260
|
}, [e]), n;
|
|
5246
5261
|
}
|
|
5247
|
-
const
|
|
5248
|
-
const { volume: e, setVolume: n } =
|
|
5249
|
-
L(),
|
|
5262
|
+
const Ua = q(() => {
|
|
5263
|
+
const { volume: e, setVolume: n } = te, [t, r] = Ae.useState(!1), o = Fa(() => r(!1)), s = or(() => {
|
|
5264
|
+
L(), te.toggleMute(), t || r(!0);
|
|
5250
5265
|
}, [t, r]);
|
|
5251
5266
|
return /* @__PURE__ */ w(ir, { children: [
|
|
5252
5267
|
t && /* @__PURE__ */ w("div", { className: "volume-control", ref: o, children: [
|
|
@@ -5257,7 +5272,7 @@ const Ha = K(() => {
|
|
|
5257
5272
|
min: 0,
|
|
5258
5273
|
max: 100,
|
|
5259
5274
|
value: e,
|
|
5260
|
-
onChange: (u) => n.call(
|
|
5275
|
+
onChange: (u) => n.call(te, Number(u.target.value)),
|
|
5261
5276
|
className: "slider",
|
|
5262
5277
|
"aria-label": "Volume"
|
|
5263
5278
|
}
|
|
@@ -5273,30 +5288,30 @@ const Ha = K(() => {
|
|
|
5273
5288
|
}
|
|
5274
5289
|
)
|
|
5275
5290
|
] });
|
|
5276
|
-
}),
|
|
5277
|
-
const { open: e } =
|
|
5291
|
+
}), Ha = q(() => {
|
|
5292
|
+
const { open: e } = I, { isUIVisible: n } = xt;
|
|
5278
5293
|
return n ? /* @__PURE__ */ w("div", { className: "settings-section", children: [
|
|
5279
|
-
/* @__PURE__ */ b(
|
|
5294
|
+
/* @__PURE__ */ b(Ua, {}),
|
|
5280
5295
|
/* @__PURE__ */ b(
|
|
5281
5296
|
"button",
|
|
5282
5297
|
{
|
|
5283
5298
|
className: "btn-settings",
|
|
5284
5299
|
"aria-label": "Open Settings",
|
|
5285
5300
|
onClick: () => {
|
|
5286
|
-
L(), e.call(
|
|
5301
|
+
L(), e.call(I, j.settings);
|
|
5287
5302
|
}
|
|
5288
5303
|
}
|
|
5289
5304
|
)
|
|
5290
5305
|
] }) : null;
|
|
5291
|
-
}), Ua = "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", Ga = K(() => {
|
|
5292
|
-
const { betAmount: e, displayCurrency: n, setNextBetAmount: t, setPrevBetAmount: r } =
|
|
5306
|
+
}), $a = "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", Ga = q(() => {
|
|
5307
|
+
const { betAmount: e, displayCurrency: n, setNextBetAmount: t, setPrevBetAmount: r } = z;
|
|
5293
5308
|
return /* @__PURE__ */ w("div", { className: "overlay-bet-controller", children: [
|
|
5294
5309
|
/* @__PURE__ */ b(
|
|
5295
5310
|
"div",
|
|
5296
5311
|
{
|
|
5297
5312
|
className: "decrease-bet",
|
|
5298
5313
|
onClick: () => {
|
|
5299
|
-
L(), r.call(
|
|
5314
|
+
L(), r.call(z);
|
|
5300
5315
|
}
|
|
5301
5316
|
}
|
|
5302
5317
|
),
|
|
@@ -5310,7 +5325,7 @@ const Ha = K(() => {
|
|
|
5310
5325
|
{
|
|
5311
5326
|
className: "increase-bet",
|
|
5312
5327
|
onClick: () => {
|
|
5313
|
-
L(), t.call(
|
|
5328
|
+
L(), t.call(z);
|
|
5314
5329
|
}
|
|
5315
5330
|
}
|
|
5316
5331
|
)
|
|
@@ -5328,8 +5343,8 @@ const Ha = K(() => {
|
|
|
5328
5343
|
},
|
|
5329
5344
|
children: /* @__PURE__ */ b("span", { children: e })
|
|
5330
5345
|
}
|
|
5331
|
-
), Ka =
|
|
5332
|
-
const { betAmountRange: e, setBet: n, betAmount: t } =
|
|
5346
|
+
), Ka = q(() => {
|
|
5347
|
+
const { betAmountRange: e, setBet: n, betAmount: t } = z, { activeAnteBet: r } = he, { close: o } = I;
|
|
5333
5348
|
return /* @__PURE__ */ b("div", { className: "bet-popup-container", children: e.map((s, u) => {
|
|
5334
5349
|
const d = t === s;
|
|
5335
5350
|
return /* @__PURE__ */ b(
|
|
@@ -5338,7 +5353,7 @@ const Ha = K(() => {
|
|
|
5338
5353
|
value: r ? r.availableBets[u] : s,
|
|
5339
5354
|
active: d,
|
|
5340
5355
|
onClick: () => {
|
|
5341
|
-
n.call(
|
|
5356
|
+
n.call(z, s), o.call(I);
|
|
5342
5357
|
}
|
|
5343
5358
|
},
|
|
5344
5359
|
u
|
|
@@ -5391,10 +5406,10 @@ const Ha = K(() => {
|
|
|
5391
5406
|
onSubmit: s,
|
|
5392
5407
|
onCancel: u
|
|
5393
5408
|
}) => {
|
|
5394
|
-
const [d, c] =
|
|
5395
|
-
|
|
5409
|
+
const [d, c] = ge(""), p = et(null), m = et(!1);
|
|
5410
|
+
tt(() => {
|
|
5396
5411
|
c(e ?? ""), m.current = !1;
|
|
5397
|
-
}, [e]),
|
|
5412
|
+
}, [e]), tt(() => {
|
|
5398
5413
|
o && setTimeout(() => {
|
|
5399
5414
|
p.current?.focus(), p.current?.select();
|
|
5400
5415
|
}, 0);
|
|
@@ -5421,7 +5436,7 @@ const Ha = K(() => {
|
|
|
5421
5436
|
"aria-label": "custom limit input"
|
|
5422
5437
|
}
|
|
5423
5438
|
);
|
|
5424
|
-
}, Wa =
|
|
5439
|
+
}, Wa = q(() => {
|
|
5425
5440
|
const {
|
|
5426
5441
|
specialFeatureSwitcherOn: e,
|
|
5427
5442
|
setSpecialFeatureSwitcher: n,
|
|
@@ -5434,8 +5449,8 @@ const Ha = K(() => {
|
|
|
5434
5449
|
limitsRange: c,
|
|
5435
5450
|
setWinLimit: p,
|
|
5436
5451
|
setIsStarted: m
|
|
5437
|
-
} =
|
|
5438
|
-
|
|
5452
|
+
} = Ne, [i, a] = Ae.useState(0), [l, f] = Ae.useState(!1), [v, h] = ge(""), _ = Qe(() => i ? u : s, [i, u, s]), y = Qe(() => i ? p.bind(Ne) : d.bind(Ne), [i, p, d]);
|
|
5453
|
+
tt(() => {
|
|
5439
5454
|
const O = _ && !c.includes(_);
|
|
5440
5455
|
h(O ? _ : 0);
|
|
5441
5456
|
}, [_, u]);
|
|
@@ -5447,7 +5462,7 @@ const Ha = K(() => {
|
|
|
5447
5462
|
{
|
|
5448
5463
|
value: O,
|
|
5449
5464
|
active: r === O,
|
|
5450
|
-
onClick: o.bind(
|
|
5465
|
+
onClick: o.bind(Ne, O)
|
|
5451
5466
|
},
|
|
5452
5467
|
T
|
|
5453
5468
|
)) }),
|
|
@@ -5457,7 +5472,7 @@ const Ha = K(() => {
|
|
|
5457
5472
|
kt,
|
|
5458
5473
|
{
|
|
5459
5474
|
checked: e,
|
|
5460
|
-
onChange: (O) => n.call(
|
|
5475
|
+
onChange: (O) => n.call(Ne, O)
|
|
5461
5476
|
}
|
|
5462
5477
|
) })
|
|
5463
5478
|
] }),
|
|
@@ -5513,7 +5528,7 @@ const Ha = K(() => {
|
|
|
5513
5528
|
{
|
|
5514
5529
|
className: `ap-start-btn ${E ? "" : "ap-start-btn--disabled"}`,
|
|
5515
5530
|
onClick: () => {
|
|
5516
|
-
L(), m.call(
|
|
5531
|
+
L(), m.call(Ne, !0);
|
|
5517
5532
|
},
|
|
5518
5533
|
type: "button",
|
|
5519
5534
|
disabled: !E,
|
|
@@ -5534,7 +5549,7 @@ const Ha = K(() => {
|
|
|
5534
5549
|
/* @__PURE__ */ b("span", { className: "sp-action__label", children: n })
|
|
5535
5550
|
]
|
|
5536
5551
|
}
|
|
5537
|
-
),
|
|
5552
|
+
), ze = ({ onToggle: e, label: n, checked: t = !1 }) => /* @__PURE__ */ w("div", { className: "sp-row", children: [
|
|
5538
5553
|
/* @__PURE__ */ b("div", { className: "sp-switch", children: /* @__PURE__ */ b(
|
|
5539
5554
|
kt,
|
|
5540
5555
|
{
|
|
@@ -5545,7 +5560,7 @@ const Ha = K(() => {
|
|
|
5545
5560
|
}
|
|
5546
5561
|
) }),
|
|
5547
5562
|
/* @__PURE__ */ b("div", { className: "sp-label", children: n })
|
|
5548
|
-
] }), Xa =
|
|
5563
|
+
] }), Xa = q(() => {
|
|
5549
5564
|
const {
|
|
5550
5565
|
introSkip: e,
|
|
5551
5566
|
spaceToSkip: n,
|
|
@@ -5557,13 +5572,13 @@ const Ha = K(() => {
|
|
|
5557
5572
|
setSpaceToSkip: d,
|
|
5558
5573
|
setSoundsOn: c,
|
|
5559
5574
|
setMusicOn: p
|
|
5560
|
-
} =
|
|
5575
|
+
} = te, { open: m } = I;
|
|
5561
5576
|
return /* @__PURE__ */ w("div", { className: "sp-wrap", children: [
|
|
5562
5577
|
/* @__PURE__ */ w("div", { className: "sp-actions", children: [
|
|
5563
5578
|
/* @__PURE__ */ b(
|
|
5564
5579
|
rr,
|
|
5565
5580
|
{
|
|
5566
|
-
onClick: m.bind(
|
|
5581
|
+
onClick: m.bind(I, j.history),
|
|
5567
5582
|
className: "sp-action--history",
|
|
5568
5583
|
label: "History"
|
|
5569
5584
|
}
|
|
@@ -5571,7 +5586,7 @@ const Ha = K(() => {
|
|
|
5571
5586
|
/* @__PURE__ */ b(
|
|
5572
5587
|
rr,
|
|
5573
5588
|
{
|
|
5574
|
-
onClick:
|
|
5589
|
+
onClick: I.open.bind(I, j.payTable),
|
|
5575
5590
|
className: "sp-action--paytable",
|
|
5576
5591
|
label: "Paytable"
|
|
5577
5592
|
}
|
|
@@ -5579,11 +5594,11 @@ const Ha = K(() => {
|
|
|
5579
5594
|
] }),
|
|
5580
5595
|
/* @__PURE__ */ b("h3", { className: "sp-section-title", children: "Audio" }),
|
|
5581
5596
|
/* @__PURE__ */ w("div", { className: "sp-rows", children: [
|
|
5582
|
-
/* @__PURE__ */ b(
|
|
5597
|
+
/* @__PURE__ */ b(ze, { onToggle: p.bind(te), checked: t, label: "Music" }),
|
|
5583
5598
|
/* @__PURE__ */ b(
|
|
5584
|
-
|
|
5599
|
+
ze,
|
|
5585
5600
|
{
|
|
5586
|
-
onToggle: c.bind(
|
|
5601
|
+
onToggle: c.bind(te),
|
|
5587
5602
|
checked: r,
|
|
5588
5603
|
label: "Sounds"
|
|
5589
5604
|
}
|
|
@@ -5591,9 +5606,9 @@ const Ha = K(() => {
|
|
|
5591
5606
|
] }),
|
|
5592
5607
|
/* @__PURE__ */ b("h3", { className: "sp-section-title", children: "Game launch" }),
|
|
5593
5608
|
/* @__PURE__ */ b("div", { className: "sp-rows", children: /* @__PURE__ */ b(
|
|
5594
|
-
|
|
5609
|
+
ze,
|
|
5595
5610
|
{
|
|
5596
|
-
onToggle: u.bind(
|
|
5611
|
+
onToggle: u.bind(te),
|
|
5597
5612
|
checked: e,
|
|
5598
5613
|
label: "Skip Intro"
|
|
5599
5614
|
}
|
|
@@ -5601,17 +5616,17 @@ const Ha = K(() => {
|
|
|
5601
5616
|
/* @__PURE__ */ b("h3", { className: "sp-section-title", children: "Keyboard" }),
|
|
5602
5617
|
/* @__PURE__ */ w("div", { className: "sp-rows", children: [
|
|
5603
5618
|
/* @__PURE__ */ b(
|
|
5604
|
-
|
|
5619
|
+
ze,
|
|
5605
5620
|
{
|
|
5606
|
-
onToggle: s.bind(
|
|
5621
|
+
onToggle: s.bind(te),
|
|
5607
5622
|
checked: o,
|
|
5608
5623
|
label: "Spacebar to Spin"
|
|
5609
5624
|
}
|
|
5610
5625
|
),
|
|
5611
5626
|
/* @__PURE__ */ b(
|
|
5612
|
-
|
|
5627
|
+
ze,
|
|
5613
5628
|
{
|
|
5614
|
-
onToggle: d.bind(
|
|
5629
|
+
onToggle: d.bind(te),
|
|
5615
5630
|
checked: n,
|
|
5616
5631
|
label: "Spacebar to Skip"
|
|
5617
5632
|
}
|
|
@@ -5619,7 +5634,7 @@ const Ha = K(() => {
|
|
|
5619
5634
|
] })
|
|
5620
5635
|
] });
|
|
5621
5636
|
}), Za = ({ date: e, currencyCode: n, betAmount: t, winAmount: r }) => {
|
|
5622
|
-
const [o, s] =
|
|
5637
|
+
const [o, s] = ge(!1);
|
|
5623
5638
|
return /* @__PURE__ */ w("div", { className: `history-item ${o ? "active" : ""}`, role: "row", children: [
|
|
5624
5639
|
/* @__PURE__ */ b("span", { className: "date-section", children: e }),
|
|
5625
5640
|
/* @__PURE__ */ w("span", { className: "bet-section", children: [
|
|
@@ -5671,7 +5686,7 @@ const Ha = K(() => {
|
|
|
5671
5686
|
)
|
|
5672
5687
|
] })
|
|
5673
5688
|
] });
|
|
5674
|
-
}, Ya =
|
|
5689
|
+
}, Ya = q(() => {
|
|
5675
5690
|
const { data: e } = La;
|
|
5676
5691
|
return /* @__PURE__ */ w("div", { className: "history-wrap", role: "list", "aria-label": "History list", children: [
|
|
5677
5692
|
/* @__PURE__ */ w("div", { className: "history-item history-item--head", role: "row", children: [
|
|
@@ -5691,9 +5706,9 @@ const Ha = K(() => {
|
|
|
5691
5706
|
t
|
|
5692
5707
|
))
|
|
5693
5708
|
] });
|
|
5694
|
-
}), za =
|
|
5695
|
-
const { betAmount: r } =
|
|
5696
|
-
`), [d, c] =
|
|
5709
|
+
}), za = q(({ item: e, type: n, onBuy: t }) => {
|
|
5710
|
+
const { betAmount: r } = z, { activeAnteBet: o, setActiveAnteBet: s } = he, u = e.title.split(`
|
|
5711
|
+
`), [d, c] = ge(!1), [p, m] = ge(84), [i, a] = ge(0), [l, f] = ge(!1), v = et(null);
|
|
5697
5712
|
ni(() => {
|
|
5698
5713
|
const _ = v.current;
|
|
5699
5714
|
if (!_) return;
|
|
@@ -5701,14 +5716,14 @@ const Ha = K(() => {
|
|
|
5701
5716
|
const O = getComputedStyle(_), T = O.getPropertyValue("--max-description-height").trim();
|
|
5702
5717
|
let V = 84;
|
|
5703
5718
|
if (T) {
|
|
5704
|
-
const
|
|
5705
|
-
|
|
5719
|
+
const ue = T.match(/^(-?\d+(\.\d+)?)(px)?$/);
|
|
5720
|
+
ue && (V = Number(ue[1]));
|
|
5706
5721
|
} else {
|
|
5707
|
-
const
|
|
5708
|
-
|
|
5722
|
+
const ue = O.getPropertyValue("max-height").trim();
|
|
5723
|
+
ue && ue.endsWith("px") && (V = Number(ue.replace("px", "")));
|
|
5709
5724
|
}
|
|
5710
|
-
const
|
|
5711
|
-
m(V), a(
|
|
5725
|
+
const se = _.scrollHeight;
|
|
5726
|
+
m(V), a(se), f(se > V + 1);
|
|
5712
5727
|
};
|
|
5713
5728
|
y();
|
|
5714
5729
|
const E = new ResizeObserver(y);
|
|
@@ -5736,15 +5751,15 @@ const Ha = K(() => {
|
|
|
5736
5751
|
/* @__PURE__ */ b("div", { className: "sf-card__content", children: /* @__PURE__ */ b("div", { className: `sf-card__image-wrap ${d ? "hidden" : ""}`, children: e.imagePath ? /* @__PURE__ */ b("img", { src: e.imagePath, alt: u[0] }) : /* @__PURE__ */ b("div", { className: "sf-card__image-placeholder" }) }) }),
|
|
5737
5752
|
/* @__PURE__ */ w("div", { className: `sf-card__bottom ${n}`, children: [
|
|
5738
5753
|
/* @__PURE__ */ w("div", { className: "sf-card__price", children: [
|
|
5739
|
-
e.availableBets[
|
|
5754
|
+
e.availableBets[z.betIndex],
|
|
5740
5755
|
" ",
|
|
5741
|
-
|
|
5756
|
+
z.displayCurrency
|
|
5742
5757
|
] }),
|
|
5743
5758
|
n === "ante" ? /* @__PURE__ */ b("div", { className: "sf-card__toggle", children: /* @__PURE__ */ b(
|
|
5744
5759
|
kt,
|
|
5745
5760
|
{
|
|
5746
5761
|
checked: o === e,
|
|
5747
|
-
onChange: (_) => s.call(
|
|
5762
|
+
onChange: (_) => s.call(he, _ ? e.id : null)
|
|
5748
5763
|
}
|
|
5749
5764
|
) }) : /* @__PURE__ */ b(
|
|
5750
5765
|
"button",
|
|
@@ -5773,7 +5788,7 @@ const Ha = K(() => {
|
|
|
5773
5788
|
inReelFeatures: n,
|
|
5774
5789
|
bonusFeatures: t,
|
|
5775
5790
|
buyHandler: r
|
|
5776
|
-
} =
|
|
5791
|
+
} = he;
|
|
5777
5792
|
return /* @__PURE__ */ w("div", { className: "sf-wrap", children: [
|
|
5778
5793
|
e.length ? /* @__PURE__ */ b(
|
|
5779
5794
|
Yt,
|
|
@@ -5790,7 +5805,7 @@ const Ha = K(() => {
|
|
|
5790
5805
|
features: n,
|
|
5791
5806
|
type: Wt.buy,
|
|
5792
5807
|
title: "Reel Features",
|
|
5793
|
-
onBuy: r.bind(
|
|
5808
|
+
onBuy: r.bind(he)
|
|
5794
5809
|
},
|
|
5795
5810
|
1
|
|
5796
5811
|
) : null,
|
|
@@ -5800,27 +5815,27 @@ const Ha = K(() => {
|
|
|
5800
5815
|
features: t,
|
|
5801
5816
|
type: Wt.buy,
|
|
5802
5817
|
title: "Bonus",
|
|
5803
|
-
onBuy: r.bind(
|
|
5818
|
+
onBuy: r.bind(he)
|
|
5804
5819
|
},
|
|
5805
5820
|
2
|
|
5806
5821
|
) : null
|
|
5807
5822
|
] });
|
|
5808
|
-
}, Qa =
|
|
5809
|
-
const { activePopup: n } =
|
|
5823
|
+
}, Qa = q(({ payTableComponent: e }) => {
|
|
5824
|
+
const { activePopup: n } = I;
|
|
5810
5825
|
if (!n) return null;
|
|
5811
|
-
const t =
|
|
5826
|
+
const t = Qe(() => {
|
|
5812
5827
|
switch (n) {
|
|
5813
|
-
case
|
|
5828
|
+
case j.bet:
|
|
5814
5829
|
return Ka;
|
|
5815
|
-
case
|
|
5830
|
+
case j.autoplay:
|
|
5816
5831
|
return Wa;
|
|
5817
|
-
case
|
|
5832
|
+
case j.settings:
|
|
5818
5833
|
return Xa;
|
|
5819
|
-
case
|
|
5834
|
+
case j.history:
|
|
5820
5835
|
return Ya;
|
|
5821
|
-
case
|
|
5836
|
+
case j.buyBonus:
|
|
5822
5837
|
return Ja;
|
|
5823
|
-
case
|
|
5838
|
+
case j.payTable:
|
|
5824
5839
|
return e;
|
|
5825
5840
|
default:
|
|
5826
5841
|
return null;
|
|
@@ -5841,7 +5856,7 @@ const Ha = K(() => {
|
|
|
5841
5856
|
} : void 0,
|
|
5842
5857
|
children: n
|
|
5843
5858
|
}
|
|
5844
|
-
), ts =
|
|
5859
|
+
), ts = q(() => {
|
|
5845
5860
|
const { activeDialog: e } = mt;
|
|
5846
5861
|
return e ? /* @__PURE__ */ w("div", { className: "dialogs-wrap", "aria-live": "polite", children: [
|
|
5847
5862
|
/* @__PURE__ */ b("span", { className: "title", children: e?.title }),
|
|
@@ -5863,13 +5878,13 @@ const Ha = K(() => {
|
|
|
5863
5878
|
),
|
|
5864
5879
|
/* @__PURE__ */ b("div", { className: "additional-btns", children: e?.buttons?.map((n, t) => /* @__PURE__ */ b(es, { configs: n.configs, text: n.text, onClick: n.onClick }, t)) })
|
|
5865
5880
|
] }) : null;
|
|
5866
|
-
}), ns =
|
|
5867
|
-
const n =
|
|
5881
|
+
}), ns = q(({ payTableComponent: e }) => {
|
|
5882
|
+
const n = I.activePopup, t = mt.activeDialog;
|
|
5868
5883
|
if (!n && !t) return null;
|
|
5869
5884
|
const r = (s) => {
|
|
5870
|
-
s.target === s.currentTarget && (L(),
|
|
5885
|
+
s.target === s.currentTarget && (L(), I.close(), mt.close());
|
|
5871
5886
|
}, o = () => {
|
|
5872
|
-
L(),
|
|
5887
|
+
L(), I.close(), mt.close();
|
|
5873
5888
|
};
|
|
5874
5889
|
return /* @__PURE__ */ w(
|
|
5875
5890
|
"div",
|
|
@@ -5883,8 +5898,8 @@ const Ha = K(() => {
|
|
|
5883
5898
|
t && /* @__PURE__ */ b(ts, {}),
|
|
5884
5899
|
!t && n && /* @__PURE__ */ b(Qa, { payTableComponent: e })
|
|
5885
5900
|
] }),
|
|
5886
|
-
!t && /* @__PURE__ */ b("div", { className: "overlay-close", "aria-label": "Close", onClick: o, children: /* @__PURE__ */ b("img", { src:
|
|
5887
|
-
n ===
|
|
5901
|
+
!t && /* @__PURE__ */ b("div", { className: "overlay-close", "aria-label": "Close", onClick: o, children: /* @__PURE__ */ b("img", { src: $a, alt: "Close" }) }),
|
|
5902
|
+
n === j.buyBonus && /* @__PURE__ */ b(Ga, {})
|
|
5888
5903
|
]
|
|
5889
5904
|
}
|
|
5890
5905
|
);
|
|
@@ -5893,7 +5908,7 @@ function rs({ payTableComponent: e }) {
|
|
|
5893
5908
|
return /* @__PURE__ */ w("div", { className: "app", children: [
|
|
5894
5909
|
/* @__PURE__ */ w("div", { className: "game-container", children: [
|
|
5895
5910
|
/* @__PURE__ */ b(ja, {}),
|
|
5896
|
-
/* @__PURE__ */ b(
|
|
5911
|
+
/* @__PURE__ */ b(Ha, {}),
|
|
5897
5912
|
/* @__PURE__ */ b(ka, {})
|
|
5898
5913
|
] }),
|
|
5899
5914
|
/* @__PURE__ */ b(ns, { payTableComponent: e })
|
|
@@ -5906,27 +5921,27 @@ function ls(e, n = is) {
|
|
|
5906
5921
|
return;
|
|
5907
5922
|
}
|
|
5908
5923
|
ri(e).render(
|
|
5909
|
-
/* @__PURE__ */ b(
|
|
5924
|
+
/* @__PURE__ */ b(Ae.StrictMode, { children: /* @__PURE__ */ b(rs, { payTableComponent: n }) })
|
|
5910
5925
|
);
|
|
5911
5926
|
}
|
|
5912
5927
|
export {
|
|
5913
5928
|
Jr as BASE_SOUND_NAMES,
|
|
5914
5929
|
Qn as DEFAULT_BG_MUSIC_KEY,
|
|
5915
|
-
|
|
5916
|
-
|
|
5917
|
-
|
|
5918
|
-
|
|
5930
|
+
R as LOCAL_STORAGE_ITEM_NAMES,
|
|
5931
|
+
j as PopupNames,
|
|
5932
|
+
Ne as autoplayStore,
|
|
5933
|
+
z as betStore,
|
|
5919
5934
|
Wt as bonusFeatureTypes,
|
|
5920
|
-
|
|
5935
|
+
he as bonusStore,
|
|
5921
5936
|
ls as createUi,
|
|
5922
5937
|
zn as defaultDialogButtonsConfigs,
|
|
5923
5938
|
Oa as defaultDialogs,
|
|
5924
5939
|
Aa as defaultDialogsNames,
|
|
5925
5940
|
mt as dialogStore,
|
|
5926
5941
|
La as historyStore,
|
|
5927
|
-
|
|
5928
|
-
|
|
5929
|
-
|
|
5930
|
-
|
|
5942
|
+
I as popupStore,
|
|
5943
|
+
Ia as resultStore,
|
|
5944
|
+
te as settingsStore,
|
|
5945
|
+
Ce as soundService,
|
|
5931
5946
|
xt as uiStore
|
|
5932
5947
|
};
|