text: /*! For license information please see main.4162e48f.js.LICENSE.txt */
  !function(){var e={5318:function(e){e.exports=function(e){return e&&e.__esModule?e:{default:e}},e.exports.__esModule=!0,e.exports.default=e.exports},7935:function(e,t,n){e.exports=function(){"use strict";function e(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function t(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function r(e,n,r){return n&&t(e.prototype,n),r&&t(e,r),e}function i(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function o(e,t){return o=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},o(e,t)}function a(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&o(e,t)}function s(e){return s="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},s(e)}function l(e,t){if(t&&("object"===s(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return i(e)}function c(e){return c=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},c(e)}!function(e,t){void 0===t&&(t={});var n=t.insertAt;if(e&&"undefined"!=typeof document){var r=document.head||document.getElementsByTagName("head")[0],i=document.createElement("style");i.type="text/css","top"===n&&r.firstChild?r.insertBefore(i,r.firstChild):r.appendChild(i),i.styleSheet?i.styleSheet.cssText=e:i.appendChild(document.createTextNode(e))}}('.art-video-player{zoom:1;-webkit-tap-highlight-color:rgba(0,0,0,0);-ms-high-contrast-adjust:none;background-color:#000;color:#eee;direction:ltr;display:flex;font-family:Roboto,Arial,Helvetica,sans-serif;font-size:14px;height:100%;line-height:1.3;margin:0 auto;outline:0;position:relative;text-align:left;touch-action:manipulation;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;width:100%;z-index:20}.art-video-player *{box-sizing:border-box;margin:0;padding:0}.art-video-player ::-webkit-scrollbar{height:5px;width:5px}.art-video-player ::-webkit-scrollbar-thumb{background-color:#666}.art-video-player ::-webkit-scrollbar-thumb:hover{background-color:#ccc}.art-video-player .art-icon{align-items:center;display:inline-flex;justify-content:center;line-height:1.5}.art-video-player .art-icon svg{fill:#fff}.art-video-player img{max-width:100%;vertical-align:top}@supports ((-webkit-backdrop-filter:initial) or (backdrop-filter:initial)){.art-video-player .art-backdrop-filter{-webkit-backdrop-filter:saturate(180%) blur(20px);backdrop-filter:saturate(180%) blur(20px);background-color:rgba(0,0,0,.7)!important}}.art-video-player .art-video{background-color:#000;cursor:pointer;z-index:10}.art-video-player .art-poster,.art-video-player .art-video{bottom:0;height:100%;left:0;position:absolute;right:0;top:0;width:100%}.art-video-player .art-poster{background-position:50%;background-repeat:no-repeat;background-size:cover;pointer-events:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;z-index:11}.art-video-player .art-subtitle{bottom:10px;color:#fff;display:none;font-size:20px;padding:0 20px;pointer-events:none;position:absolute;text-align:center;text-shadow:.5px .5px .5px rgba(0,0,0,.5);width:100%;z-index:20}.art-video-player .art-subtitle p{height:-webkit-fit-content;height:-moz-fit-content;height:fit-content;line-height:1.2;margin:5px 0 0;word-break:break-all}.art-video-player .art-bilingual p:nth-child(n+2){transform:scale(.6);transform-origin:center top}.art-video-player.art-subtitle-show .art-subtitle{display:block}.art-video-player.art-control-show .art-subtitle{bottom:50px}.art-video-player .art-danmuku{z-index:30}.art-video-player .art-danmuku,.art-video-player .art-layers{bottom:0;height:100%;left:0;overflow:hidden;pointer-events:none;position:absolute;right:0;top:0;width:100%}.art-video-player .art-layers{display:none;z-index:40}.art-video-player .art-layers .art-layer{pointer-events:auto}.art-video-player.art-layer-show .art-layers{display:block}.art-video-player .art-mask{align-items:center;bottom:0;display:none;height:100%;justify-content:center;left:0;overflow:hidden;pointer-events:none;position:absolute;right:0;top:0;width:100%;z-index:50}.art-video-player .art-mask .art-state{align-items:center;bottom:65px;display:flex;height:60px;justify-content:center;opacity:.6;position:absolute;right:30px;width:60px}.art-video-player.art-mask-show .art-mask{display:flex}.art-video-player .art-loading{align-items:center;bottom:0;display:none;height:100%;justify-content:center;left:0;pointer-events:none;position:absolute;right:0;top:0;width:100%;z-index:70}.art-video-player.art-loading-show .art-loading{display:flex}.art-video-player .art-bottom{background:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAADGCAYAAAAT+OqFAAAAdklEQVQoz42QQQ7AIAgEF/T/D+kbq/RWAlnQyyazA4aoAB4FsBSA/bFjuF1EOL7VbrIrBuusmrt4ZZORfb6ehbWdnRHEIiITaEUKa5EJqUakRSaEYBJSCY2dEstQY7AuxahwXFrvZmWl2rh4JZ07z9dLtesfNj5q0FU3A5ObbwAAAABJRU5ErkJggg==) repeat-x bottom;bottom:0;display:flex;flex-direction:column;height:100px;justify-content:space-between;left:0;opacity:0;padding:50px 10px 0;pointer-events:none;position:absolute;right:0;transition:all .2s ease-in-out;visibility:hidden;z-index:60}.art-video-player .art-bottom .art-progress{pointer-events:auto;position:relative;z-index:0}.art-video-player .art-bottom .art-progress .art-control-progress{align-items:center;cursor:pointer;display:flex;flex-direction:row;height:4px;position:relative}.art-video-player .art-bottom .art-progress .art-control-progress .art-control-progress-inner{align-items:center;background:hsla(0,0%,100%,.2);display:flex;height:50%;position:relative;width:100%}.art-video-player .art-bottom .art-progress .art-control-progress .art-control-progress-inner .art-progress-loaded{background:hsla(0,0%,100%,.4);bottom:0;height:100%;left:0;position:absolute;right:0;top:0;width:0;z-index:10}.art-video-player .art-bottom .art-progress .art-control-progress .art-control-progress-inner .art-progress-played{bottom:0;height:100%;left:0;position:absolute;right:0;top:0;width:0;z-index:20}.art-video-player .art-bottom .art-progress .art-control-progress .art-control-progress-inner .art-progress-highlight{bottom:0;height:100%;left:0;pointer-events:none;position:absolute;right:0;top:0;z-index:30}.art-video-player .art-bottom .art-progress .art-control-progress .art-control-progress-inner .art-progress-highlight span{background:#fff;display:inline-block;height:100%;left:0;pointer-events:auto;position:absolute;top:0;width:7px}.art-video-player .art-bottom .art-progress .art-control-progress .art-control-progress-inner .art-progress-indicator{align-items:center;border-radius:50%;justify-content:center;position:absolute;transform:scale(.1);transition:transform .1s ease-in-out;visibility:hidden;z-index:40}.art-video-player .art-bottom .art-progress .art-control-progress .art-control-progress-inner .art-progress-indicator .art-icon{height:100%;pointer-events:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;width:100%}.art-video-player .art-bottom .art-progress .art-control-progress .art-control-progress-inner .art-progress-tip{background:rgba(0,0,0,.7);border-radius:3px;color:#fff;display:none;font-size:12px;font-weight:700;height:20px;left:0;line-height:20px;padding:0 5px;position:absolute;text-align:center;top:-25px;white-space:nowrap;z-index:50}.art-video-player .art-bottom .art-progress .art-control-thumbnails{background-color:rgba(0,0,0,.7);bottom:8px;display:none;left:0;pointer-events:none;position:absolute}.art-video-player .art-bottom .art-progress .art-control-loop{bottom:0;display:none;height:100%;left:0;pointer-events:none;position:absolute;right:0;top:0;width:100%}.art-video-player .art-bottom .art-progress .art-control-loop .art-loop-point{background:hsla(0,0%,100%,.75);height:8px;left:0;position:absolute;top:-2px;width:2px}.art-video-player .art-bottom .art-controls{align-items:center;display:flex;height:45px;justify-content:space-between;pointer-events:auto;position:relative;z-index:1}.art-video-player .art-bottom .art-controls .art-controls-left,.art-video-player .art-bottom .art-controls .art-controls-right{display:flex}.art-video-player .art-bottom .art-controls .art-control{align-items:center;cursor:pointer;display:flex;font-size:12px;line-height:1;min-height:36px;min-width:36px;opacity:.9;text-align:center;white-space:nowrap}.art-video-player .art-bottom .art-controls .art-control .art-icon{align-items:center;display:flex;float:left;height:36px;justify-content:center;width:36px}.art-video-player .art-bottom .art-controls .art-control:hover{opacity:1}.art-video-player .art-bottom .art-controls .art-control-onlyText{padding:0 10px}.art-video-player .art-bottom .art-controls .art-control-volume .art-volume-panel{float:left;height:100%;overflow:hidden;position:relative;transition:margin .2s cubic-bezier(.4,0,1,1),width .2s cubic-bezier(.4,0,1,1);width:0}.art-video-player .art-bottom .art-controls .art-control-volume .art-volume-panel .art-volume-slider-handle{background:#fff;border-radius:12px;height:12px;left:0;margin-top:-6px;position:absolute;top:50%;width:12px}.art-video-player .art-bottom .art-controls .art-control-volume .art-volume-panel .art-volume-slider-handle:before{background:#fff;left:-54px}.art-video-player .art-bottom .art-controls .art-control-volume .art-volume-panel .art-volume-slider-handle:after{background:hsla(0,0%,100%,.2);left:6px}.art-video-player .art-bottom .art-controls .art-control-volume .art-volume-panel .art-volume-slider-handle:after,.art-video-player .art-bottom .art-controls .art-control-volume .art-volume-panel .art-volume-slider-handle:before{content:"";display:block;height:3px;margin-top:-2px;position:absolute;top:50%;width:60px}.art-video-player .art-bottom .art-controls .art-control-volume:hover .art-volume-panel{width:60px}.art-video-player .art-bottom .art-controls .art-control-quality{position:relative;z-index:30}.art-video-player .art-bottom .art-controls .art-control-quality .art-qualitys{background:rgba(0,0,0,.8);border-radius:3px;bottom:35px;color:#fff;display:none;padding:5px 0;position:absolute;text-align:center;width:100px}.art-video-player .art-bottom .art-controls .art-control-quality .art-qualitys .art-quality-item{height:30px;line-height:30px;overflow:hidden;text-overflow:ellipsis;text-shadow:0 0 2px rgba(0,0,0,.5);white-space:nowrap}.art-video-player .art-bottom .art-controls .art-control-quality .art-qualitys .art-quality-item:hover{background-color:hsla(0,0%,100%,.1)}.art-video-player .art-bottom .art-controls .art-control-quality:hover .art-qualitys{display:block}.art-video-player .art-bottom:hover .art-progress .art-control-progress .art-control-progress-inner{height:100%}.art-video-player .art-bottom:hover .art-progress .art-control-progress .art-control-progress-inner .art-progress-indicator{transform:scale(1);visibility:visible}.art-video-player.art-control-show .art-bottom,.art-video-player.art-hover .art-bottom{opacity:1;visibility:visible}.art-video-player.art-destroy .art-progress-indicator,.art-video-player.art-destroy .art-progress-tip,.art-video-player.art-error .art-progress-indicator,.art-video-player.art-error .art-progress-tip{display:none!important}.art-video-player.art-mobile .art-progress-indicator{transform:scale(1)!important;visibility:visible!important}.art-video-player .art-notice{display:none;font-size:14px;left:0;padding:10px;pointer-events:none;position:absolute;top:0;width:100%;z-index:80}.art-video-player .art-notice .art-notice-inner{background-color:rgba(0,0,0,.6);border-radius:3px;color:#fff;display:inline-block;padding:5px 10px}.art-video-player.art-notice-show .art-notice{display:flex}.art-video-player .art-contextmenus{background-color:rgba(0,0,0,.9);border-radius:3px;display:none;flex-direction:column;left:10px;min-width:200px;padding:5px 0;position:absolute;top:10px;z-index:120}.art-video-player .art-contextmenus .art-contextmenu{border-bottom:1px solid hsla(0,0%,100%,.1);color:#fff;cursor:pointer;display:block;font-size:12px;overflow:hidden;padding:10px 15px;text-overflow:ellipsis;text-shadow:0 0 2px rgba(0,0,0,.5);white-space:nowrap}.art-video-player .art-contextmenus .art-contextmenu a{color:#fff;text-decoration:none}.art-video-player .art-contextmenus .art-contextmenu span{display:inline-block;padding:0 7px}.art-video-player .art-contextmenus .art-contextmenu span.art-current,.art-video-player .art-contextmenus .art-contextmenu span:hover{color:#00c9ff}.art-video-player .art-contextmenus .art-contextmenu:hover{background-color:hsla(0,0%,100%,.1)}.art-video-player .art-contextmenus .art-contextmenu:last-child{border-bottom:none}.art-video-player.art-contextmenu-show .art-contextmenus{display:flex}.art-video-player .art-settings{align-items:center;display:flex;height:100%;justify-content:center;left:0;opacity:0;overflow:hidden;pointer-events:none;position:absolute;top:0;visibility:hidden;width:100%;z-index:90}.art-video-player .art-settings .art-setting-inner{background-color:rgba(0,0,0,.9);bottom:0;font-size:12px;height:100%;overflow:auto;position:absolute;right:-300px;top:0;transition:all .2s ease-in-out;width:300px}.art-video-player .art-settings .art-setting-inner .art-setting-body{height:100%;overflow-y:auto;width:100%}.art-video-player .art-settings .art-setting-inner .art-setting-body .art-setting{border-bottom:1px solid hsla(0,0%,100%,.1);padding:10px 15px}.art-video-player .art-settings .art-setting-inner .art-setting-body .art-setting .art-setting-header{margin-bottom:5px}.art-video-player .art-settings .art-setting-radio{display:flex}.art-video-player .art-settings .art-setting-radio .art-radio-item{flex:1;padding:0 2px}.art-video-player .art-settings .art-setting-radio .art-radio-item button{background-color:hsla(0,0%,100%,.2);border:none;border-radius:2px;color:#fff;height:22px;outline:none;width:100%}.art-video-player .art-settings .art-setting-radio .art-radio-item.current button,.art-video-player .art-settings .art-setting-radio .art-radio-item button:active{background-color:#00a1d6}.art-video-player .art-settings .art-setting-range input{-webkit-appearance:none;-moz-appearance:none;appearance:none;background-color:hsla(0,0%,100%,.5);height:3px;outline:none;width:100%}.art-video-player .art-settings .art-setting-checkbox{align-items:center;display:flex}.art-video-player .art-settings .art-setting-checkbox input{height:14px;margin-right:5px;width:14px}.art-video-player .art-settings .art-setting-upload{display:flex}.art-video-player .art-settings .art-setting-upload .art-upload-btn{background-color:hsla(0,0%,100%,.2);border:none;border-radius:2px;color:#fff;height:22px;line-height:22px;outline:none;text-align:center;width:80px}.art-video-player .art-settings .art-setting-upload .art-upload-value{flex:1;height:22px;line-height:22px;overflow:hidden;padding-left:10px;text-overflow:ellipsis;white-space:nowrap}.art-video-player.art-setting-show .art-settings{opacity:1;pointer-events:auto;visibility:visible}.art-video-player.art-setting-show .art-settings .art-setting-inner{right:0}.art-video-player .art-info{-webkit-font-smoothing:antialiased;background-color:rgba(0,0,0,.9);color:#fff;display:none;flex-direction:column;font-family:Noto Sans CJK SC DemiLight,Roboto,Segoe UI,Tahoma,Arial,Helvetica,sans-serif;font-size:12px;left:10px;padding:10px;position:absolute;top:10px;width:350px;z-index:100}.art-video-player .art-info .art-info-item{display:flex;margin-bottom:5px}.art-video-player .art-info .art-info-item .art-info-title{text-align:right;width:100px}.art-video-player .art-info .art-info-item .art-info-content{flex:1;overflow:hidden;padding-left:5px;text-overflow:ellipsis;white-space:nowrap}.art-video-player .art-info .art-info-item:last-child{margin-bottom:0}.art-video-player .art-info .art-info-close{cursor:pointer;position:absolute;right:5px;top:5px}.art-video-player.art-info-show .art-info{display:flex}.art-video-player.art-hide-cursor *{cursor:none!important}.art-video-player[data-aspect-ratio] video{box-sizing:content-box;-o-object-fit:fill;object-fit:fill}.art-video-player.art-fullscreen-web{bottom:0;height:100%!important;left:0;position:fixed;right:0;top:0;width:100%!important;z-index:9999}.art-fullscreen-rotate{background-color:#000;bottom:0;height:100%;left:0;position:fixed;right:0;top:0;width:100%;z-index:9999}.art-video-player .art-mini-header{align-items:center;background-color:rgba(0,0,0,.5);color:#fff;display:none;height:35px;justify-content:space-between;left:0;line-height:35px;opacity:0;position:absolute;right:0;top:0;transition:all .2s ease-in-out;visibility:hidden;z-index:110}.art-video-player .art-mini-header .art-mini-title{cursor:move;flex:1;overflow:hidden;padding:0 10px;text-overflow:ellipsis;white-space:nowrap}.art-video-player .art-mini-header .art-mini-close{cursor:pointer;font-size:22px;text-align:center;width:35px}.art-video-player.art-is-dragging{opacity:.7}.art-video-player.art-mini{box-shadow:0 2px 5px 0 rgba(0,0,0,.16),0 3px 6px 0 rgba(0,0,0,.2);height:225px;position:fixed;width:400px;z-index:9999}.art-video-player.art-mini .art-mini-header{display:flex;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.art-video-player.art-mini.art-hover .art-mini-header{opacity:1;visibility:visible}.art-video-player.art-mini .art-mask .art-state{position:static}.art-video-player.art-mini .art-bottom,.art-video-player.art-mini .art-contextmenu,.art-video-player.art-mini .art-danmu,.art-video-player.art-mini .art-info,.art-video-player.art-mini .art-layers,.art-video-player.art-mini .art-notice,.art-video-player.art-mini .art-setting,.art-video-player.art-mini .art-subtitle{display:none!important}.art-auto-size{align-items:center;display:flex;justify-content:center}.art-video-player[data-flip=horizontal] .art-video{transform:scaleX(-1)}.art-video-player[data-flip=vertical] .art-video{transform:scaleY(-1)}.art-video-player .art-layers .art-layer-log{background-color:rgba(0,0,0,.5);border-radius:3px;bottom:10px;color:#fff;display:none;font-size:13px;left:10px;padding:5px;pointer-events:none;position:absolute;text-shadow:0 0 2px rgba(0,0,0,.5);-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;width:120px}.art-video-player .art-layers .art-layer-log p{margin-bottom:0;word-break:break-all}.art-video-player .art-control-selector{position:relative}.art-video-player .art-control-selector .art-selector-list{background-color:rgba(0,0,0,.8);border-radius:3px;bottom:35px;color:#fff;display:none;max-height:200px;max-width:200px;min-width:100px;overflow:auto;padding:5px 0;position:absolute;text-align:center}.art-video-player .art-control-selector .art-selector-list .art-selector-item{height:30px;line-height:30px;overflow:hidden;padding:0 5px;text-overflow:ellipsis;text-shadow:0 0 2px rgba(0,0,0,.5);white-space:nowrap}.art-video-player .art-control-selector .art-selector-list .art-selector-item:hover{background-color:hsla(0,0%,100%,.1)}.art-video-player .art-control-selector .art-selector-list .art-selector-item.art-current,.art-video-player .art-control-selector .art-selector-list .art-selector-item:hover{color:#00c9ff}.art-video-player .art-control-selector:hover .art-selector-list{display:block}:root{--balloon-color:hsla(0,0%,6%,.95);--balloon-font-size:12px;--balloon-move:4px}button[aria-label][data-balloon-pos]{overflow:visible}[aria-label][data-balloon-pos]{cursor:pointer;position:relative}[aria-label][data-balloon-pos]:after{background:var(--balloon-color);border-radius:2px;color:#fff;content:attr(aria-label);font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen,Ubuntu,Cantarell,Open Sans,Helvetica Neue,sans-serif;font-size:var(--balloon-font-size);font-style:normal;font-weight:400;line-height:1.2;padding:.5em 1em;text-indent:0;text-shadow:none;white-space:nowrap}[aria-label][data-balloon-pos]:after,[aria-label][data-balloon-pos]:before{opacity:0;pointer-events:none;position:absolute;transition:all .18s ease-out .18s;z-index:10}[aria-label][data-balloon-pos]:before{border:5px solid transparent;border-top:5px solid var(--balloon-color);content:"";height:0;width:0}[aria-label][data-balloon-pos]:hover:after,[aria-label][data-balloon-pos]:hover:before{opacity:1;pointer-events:none}[aria-label][data-balloon-pos][data-balloon-pos=up]:after{margin-bottom:10px}[aria-label][data-balloon-pos][data-balloon-pos=up]:after,[aria-label][data-balloon-pos][data-balloon-pos=up]:before{bottom:100%;left:50%;transform:translate(-50%,var(--balloon-move));transform-origin:top}[aria-label][data-balloon-pos][data-balloon-pos=up]:hover:after,[aria-label][data-balloon-pos][data-balloon-pos=up]:hover:before{transform:translate(-50%)}'),"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof n.g?n.g:"undefined"!=typeof self&&self;var u={exports:{}};!function(e,t){e.exports=function(){function e(t){return(e="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(t)}var t=Object.prototype.toString,n=function(n){if(void 0===n)return"undefined";if(null===n)return"null";var i=e(n);if("boolean"===i)return"boolean";if("string"===i)return"string";if("number"===i)return"number";if("symbol"===i)return"symbol";if("function"===i)return function(e){return"GeneratorFunction"===r(e)}(n)?"generatorfunction":"function";if(function(e){return Array.isArray?Array.isArray(e):e instanceof Array}(n))return"array";if(function(e){return!(!e.constructor||"function"!=typeof e.constructor.isBuffer)&&e.constructor.isBuffer(e)}(n))return"buffer";if(function(e){try{if("number"==typeof e.length&&"function"==typeof e.callee)return!0}catch(e){if(-1!==e.message.indexOf("callee"))return!0}return!1}(n))return"arguments";if(function(e){return e instanceof Date||"function"==typeof e.toDateString&&"function"==typeof e.getDate&&"function"==typeof e.setDate}(n))return"date";if(function(e){return e instanceof Error||"string"==typeof e.message&&e.constructor&&"number"==typeof e.constructor.stackTraceLimit}(n))return"error";if(function(e){return e instanceof RegExp||"string"==typeof e.flags&&"boolean"==typeof e.ignoreCase&&"boolean"==typeof e.multiline&&"boolean"==typeof e.global}(n))return"regexp";switch(r(n)){case"Symbol":return"symbol";case"Promise":return"promise";case"WeakMap":return"weakmap";case"WeakSet":return"weakset";case"Map":return"map";case"Set":return"set";case"Int8Array":return"int8array";case"Uint8Array":return"uint8array";case"Uint8ClampedArray":return"uint8clampedarray";case"Int16Array":return"int16array";case"Uint16Array":return"uint16array";case"Int32Array":return"int32array";case"Uint32Array":return"uint32array";case"Float32Array":return"float32array";case"Float64Array":return"float64array"}if(function(e){return"function"==typeof e.throw&&"function"==typeof e.return&&"function"==typeof e.next}(n))return"generator";switch(i=t.call(n)){case"[object Object]":return"object";case"[object Map Iterator]":return"mapiterator";case"[object Set Iterator]":return"setiterator";case"[object String Iterator]":return"stringiterator";case"[object Array Iterator]":return"arrayiterator"}return i.slice(8,-1).toLowerCase().replace(/\s/g,"")};function r(e){return e.constructor?e.constructor.name:null}function i(e,t){var r=2<arguments.length&&void 0!==arguments[2]?arguments[2]:["option"];return o(e,t,r),a(e,t,r),function(e,t,r){var s=n(t),l=n(e);if("object"===s){if("object"!==l)throw new Error("[Type Error]: '".concat(r.join("."),"' require 'object' type, but got '").concat(l,"'"));Object.keys(t).forEach((function(n){var s=e[n],l=t[n],c=r.slice();c.push(n),o(s,l,c),a(s,l,c),i(s,l,c)}))}if("array"===s){if("array"!==l)throw new Error("[Type Error]: '".concat(r.join("."),"' require 'array' type, but got '").concat(l,"'"));e.forEach((function(n,s){var l=e[s],c=t[s]||t[0],u=r.slice();u.push(s),o(l,c,u),a(l,c,u),i(l,c,u)}))}}(e,t,r),e}function o(e,t,r){if("string"===n(t)){var i=n(e);if("?"===t[0]&&(t=t.slice(1)+"|undefined"),!(-1<t.indexOf("|")?t.split("|").map((function(e){return e.toLowerCase().trim()})).filter(Boolean).some((function(e){return i===e})):t.toLowerCase().trim()===i))throw new Error("[Type Error]: '".concat(r.join("."),"' require '").concat(t,"' type, but got '").concat(i,"'"))}}function a(e,t,r){if("function"===n(t)){var i=t(e,n(e),r);if(!0!==i){var o=n(i);throw"string"===o?new Error(i):"error"===o?i:new Error("[Validator Error]: The scheme for '".concat(r.join("."),"' validator require return true, but got '").concat(i,"'"))}}}return i.kindOf=n,i}()}(u);var d=u.exports,f=function(){function t(){e(this,t)}return r(t,[{key:"on",value:function(e,t,n){var r=this.e||(this.e={});return(r[e]||(r[e]=[])).push({fn:t,ctx:n}),this}},{key:"once",value:function(e,t,n){var r=this;function i(){r.off(e,i);for(var o=arguments.length,a=new Array(o),s=0;s<o;s++)a[s]=arguments[s];t.apply(n,a)}return i._=t,this.on(e,i,n)}},{key:"emit",value:function(e){for(var t=((this.e||(this.e={}))[e]||[]).slice(),n=arguments.length,r=new Array(n>1?n-1:0),i=1;i<n;i++)r[i-1]=arguments[i];for(var o=0;o<t.length;o+=1)t[o].fn.apply(t[o].ctx,r);return this}},{key:"off",value:function(e,t){var n=this.e||(this.e={}),r=n[e],i=[];if(r&&t)for(var o=0,a=r.length;o<a;o+=1)r[o].fn!==t&&r[o].fn._!==t&&i.push(r[o]);return i.length?n[e]=i:delete n[e],this}}]),t}(),p="undefined"!=typeof window?window.navigator.userAgent:"",h=/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(p),v=/^((?!chrome|android).)*safari/i.test(p),m=/MicroMessenger/i.test(p),g=/MSIE|Trident/i.test(p);function y(e){return(arguments.length>1&&void 0!==arguments[1]?arguments[1]:document).querySelector(e)}function b(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:document;return Array.from(t.querySelectorAll(e))}function w(e,t){return e.classList.add(t)}function x(e,t){return e.classList.remove(t)}function S(e,t){return e.classList.contains(t)}function E(e,t){return t instanceof Element?e.appendChild(t):e.insertAdjacentHTML("beforeend",String(t)),e.lastElementChild||e.lastChild}function k(e,t,n){return e.style[t]=n,e}function C(e,t){return Object.keys(t).forEach((function(n){k(e,n,t[n])})),e}function O(e,t){var n=!(arguments.length>2&&void 0!==arguments[2])||arguments[2],r=window.getComputedStyle(e,null).getPropertyValue(t);return n?parseFloat(r):r}function j(e){return Array.from(e.parentElement.children).filter((function(t){return t!==e}))}function T(e,t){j(e).forEach((function(e){return x(e,t)})),w(e,t)}function P(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"up";h||(e.setAttribute("aria-label",t),e.setAttribute("data-balloon-pos",n))}function N(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=e.getBoundingClientRect(),r=window.innerHeight||document.documentElement.clientHeight,i=window.innerWidth||document.documentElement.clientWidth,o=n.top-t<=r&&n.top+n.height+t>=0,a=n.left-t<=i+t&&n.left+n.width+t>=0;return o&&a}function _(e,t){return e.composedPath&&e.composedPath().indexOf(t)>-1}function R(e,t){return t.parentNode.replaceChild(e,t),e}function I(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}function L(e,t,n){return L=I()?Reflect.construct:function(e,t,n){var r=[null];r.push.apply(r,t);var i=new(Function.bind.apply(e,r));return n&&o(i,n.prototype),i},L.apply(null,arguments)}function M(e){var t="function"==typeof Map?new Map:void 0;return M=function(e){if(null===e||(n=e,-1===Function.toString.call(n).indexOf("[native code]")))return e;var n;if("function"!=typeof e)throw new TypeError("Super expression must either be null or a function");if(void 0!==t){if(t.has(e))return t.get(e);t.set(e,r)}function r(){return L(e,arguments,c(this).constructor)}return r.prototype=Object.create(e.prototype,{constructor:{value:r,enumerable:!1,writable:!0,configurable:!0}}),o(r,e)},M(e)}function D(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=c(e);if(t){var i=c(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return l(this,n)}}var A=function(t){a(r,t);var n=D(r);function r(t,o){var a;return e(this,r),a=n.call(this,t),"function"==typeof Error.captureStackTrace&&Error.captureStackTrace(i(a),o||a.constructor),a.name="ArtPlayerError",a}return r}(M(Error));function F(e,t){if(!e)throw new A(t);return e}function z(e){return"WEBVTT \r\n\r\n".concat(e.replace(/{[\s\S]*?}/g,"").replace(/\{\\([ibu])\}/g,"</$1>").replace(/\{\\([ibu])1\}/g,"<$1>").replace(/\{([ibu])\}/g,"<$1>").replace(/\{\/([ibu])\}/g,"</$1>").replace(/(\d\d:\d\d:\d\d),(\d\d\d)/g,"$1.$2").concat("\r\n\r\n"))}function B(e){return URL.createObjectURL(new Blob([e],{type:"text/vtt"}))}function V(e){var t=new RegExp("Dialogue:\\s\\d,(\\d+:\\d\\d:\\d\\d.\\d\\d),(\\d+:\\d\\d:\\d\\d.\\d\\d),([^,]*),([^,]*),(?:[^,]*,){4}([\\s\\S]*)$","i");function n(){return(arguments.length>0&&void 0!==arguments[0]?arguments[0]:"").split(/[:.]/).map((function(e,t,n){if(t===n.length-1){if(1===e.length)return".".concat(e,"00");if(2===e.length)return".".concat(e,"0")}else if(1===e.length)return(0===t?"0":":0")+e;return 0===t?e:t===n.length-1?".".concat(e):":".concat(e)})).join("")}return"WEBVTT\n\n".concat(e.split(/\r?\n/).map((function(e){var r=e.match(t);return r?{start:n(r[1].trim()),end:n(r[2].trim()),text:r[5].replace(/{[\s\S]*?}/g,"").replace(/(\\N)/g,"\n").trim().split(/\r?\n/).map((function(e){return e.trim()})).join("\n")}:null})).filter((function(e){return e})).map((function(e,t){return e?"".concat(t+1,"\n").concat(e.start," --\x3e ").concat(e.end,"\n").concat(e.text):""})).filter((function(e){return e.trim()})).join("\n\n"))}function U(e){return e.includes("?")?U(e.split("?")[0]):e.includes("#")?U(e.split("#")[0]):e.trim().toLowerCase().split(".").pop()}function W(e,t){var n=document.createElement("a");n.style.display="none",n.href=e,n.download=t,document.body.appendChild(n),n.click(),document.body.removeChild(n)}function H(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function K(e){return function(e){if(Array.isArray(e))return H(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,t){if(e){if("string"==typeof e)return H(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?H(e,t):void 0}}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}var Z=Object.defineProperty,G=Object.prototype.hasOwnProperty;function q(e,t){return G.call(e,t)}function X(e,t){return Object.getOwnPropertyDescriptor(e,t)}function $(){for(var e=function(e){return e&&"object"===s(e)&&!Array.isArray(e)},t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return n.reduce((function(t,n){return Object.keys(n).forEach((function(r){var i=t[r],o=n[r];Array.isArray(i)&&Array.isArray(o)?t[r]=i.concat.apply(i,K(o)):!e(i)||!e(o)||o instanceof Element?t[r]=o:t[r]=$(i,o)})),t}),{})}function Y(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0;return new Promise((function(t){return setTimeout(t,e)}))}function J(e,t){var n,r,i=!1;return function o(){for(var a=arguments.length,s=new Array(a),l=0;l<a;l++)s[l]=arguments[l];if(i)return n=s,void(r=this);i=!0,e.apply(this,s),setTimeout((function(){i=!1,n&&(o.apply(r,n),n=null,r=null)}),t)}}function Q(e,t,n){return Math.max(Math.min(e,Math.max(t,n)),Math.min(t,n))}function ee(e){var t=Math.floor(e/3600),n=Math.floor((e-3600*t)/60),r=Math.floor(e-3600*t-60*n);return(t>0?[t,n,r]:[n,r]).map((function(e){return e<10?"0".concat(e):String(e)})).join(":")}function te(e){return e.replace(/[&<>'"]/g,(function(e){return{"&":"&amp;","<":"&lt;",">":"&gt;","'":"&#39;",'"':"&quot;"}[e]||e}))}var ne=Object.freeze({__proto__:null,query:y,queryAll:b,addClass:w,removeClass:x,hasClass:S,append:E,remove:function(e){return e.parentNode.removeChild(e)},setStyle:k,setStyles:C,getStyle:O,sublings:j,inverseClass:T,tooltip:P,isInViewport:N,includeFromEvent:_,replaceElement:R,ArtPlayerError:A,errorHandle:F,srtToVtt:z,vttToBlob:B,assToVtt:V,getExt:U,download:W,def:Z,has:q,get:X,mergeDeep:$,sleep:Y,debounce:function(e,t,n){var r;function i(){for(var i=arguments.length,o=new Array(i),a=0;a<i;a++)o[a]=arguments[a];var s=function(){r=null,e.apply(n,o)};clearTimeout(r),r=setTimeout(s,t)}return i.clearTimeout=function(){clearTimeout(r)},i},throttle:J,clamp:Q,secondToTime:ee,escape:te,userAgent:p,isMobile:h,isSafari:v,isWechat:m,isIE:g});function re(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function ie(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function oe(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?ie(Object(n),!0).forEach((function(t){re(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):ie(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var ae="boolean",se="string",le="number",ce="object",ue="function";function de(e,t,n){return F(t===se||e instanceof Element,"".concat(n.join(".")," require '").concat(se,"' or 'Element' type"))}var fe={html:de,disable:"?".concat(ae),name:"?".concat(se),index:"?".concat(le),style:"?".concat(ce),click:"?".concat(ue),mounted:"?".concat(ue),tooltip:"?".concat(se),selector:"?".concat("array"),onSelect:"?".concat(ue)},pe={container:de,url:se,poster:se,title:se,type:se,theme:se,lang:se,volume:le,isLive:ae,muted:ae,autoplay:ae,autoSize:ae,autoMini:ae,loop:ae,flip:ae,rotate:ae,playbackRate:ae,aspectRatio:ae,screenshot:ae,setting:ae,hotkey:ae,pip:ae,mutex:ae,backdrop:ae,fullscreen:ae,fullscreenWeb:ae,subtitleOffset:ae,miniProgressBar:ae,localVideo:ae,localSubtitle:ae,useSSR:ae,ads:[{url:se}],plugins:[ue],whitelist:["".concat(se,"|").concat(ue,"|").concat("regexp")],layers:[fe],contextmenu:[fe],settings:[fe],controls:[oe(oe({},fe),{},{position:function(e,t,n){var r=["top","left","right"];return F(r.includes(e),"".concat(n.join(".")," only accept ").concat(r.toString()," as parameters"))}})],quality:[{default:"?".concat(ae),html:se,url:se}],highlight:[{time:le,text:se}],thumbnails:{url:se,number:le,column:le},subtitle:{url:se,type:se,style:ce,encoding:se,bilingual:ae},moreVideoAttr:ce,icons:ce,customType:ce},he={propertys:["audioTracks","autoplay","buffered","controller","controls","crossOrigin","currentSrc","currentTime","defaultMuted","defaultPlaybackRate","duration","ended","error","loop","mediaGroup","muted","networkState","paused","playbackRate","played","preload","readyState","seekable","seeking","src","startDate","textTracks","videoTracks","volume"],methods:["addTextTrack","canPlayType","load","play","pause"],events:["abort","canplay","canplaythrough","durationchange","emptied","ended","error","loadeddata","loadedmetadata","loadstart","pause","play","playing","progress","ratechange","seeked","seeking","stalled","suspend","timeupdate","volumechange","waiting"],prototypes:["width","height","videoWidth","videoHeight","poster","webkitDecodedFrameCount","webkitDroppedFrameCount","playsInline","webkitSupportsFullscreen","webkitDisplayingFullscreen","onenterpictureinpicture","onleavepictureinpicture","disablePictureInPicture","cancelVideoFrameCallback","requestVideoFrameCallback","getVideoPlaybackQuality","requestPictureInPicture","webkitEnterFullScreen","webkitEnterFullscreen","webkitExitFullScreen","webkitExitFullscreen"]},ve=function(){function t(n){e(this,t),this.art=n}return r(t,[{key:"state",get:function(){var e=this.art,t=e.option,n=e.constructor.kindOf;return!h||t.whitelist.some((function(e){switch(n(e)){case"string":return"*"===e||p.indexOf(e)>-1;case"function":return e(p);case"regexp":return e.test(p);default:return!1}}))}}]),t}(),me=function(){function t(n){var r=this;e(this,t),this.art=n;var i=n.option,o=n.constructor,a=n.whitelist;i.container instanceof Element?this.$container=i.container:(this.$container=y(i.container),F(this.$container,"No container element found by ".concat(i.container)));var s=this.$container.tagName.toLowerCase();F("div"===s,"Unsupported container element type, only support 'div' but got '".concat(s,"'")),F(o.instances.every((function(e){return e.template.$container!==r.$container})),"Cannot mount multiple instances on the same dom element"),this.query=this.query.bind(this),this.$container.dataset.artId=n.id,this.$original=this.$container.cloneNode(!0),a.state?this.desktop():this.mobile()}return r(t,[{key:"query",value:function(e){return y(e,this.$container)}},{key:"desktop",value:function(){var e=this.art.option;e.useSSR||(this.$container.innerHTML=t.html),this.$player=this.query(".art-video-player"),this.$video=this.query(".art-video"),this.$poster=this.query(".art-poster"),this.$subtitle=this.query(".art-subtitle"),this.$danmuku=this.query(".art-danmuku"),this.$bottom=this.query(".art-bottom"),this.$progress=this.query(".art-progress"),this.$controls=this.query(".art-controls"),this.$controlsLeft=this.query(".art-controls-left"),this.$controlsRight=this.query(".art-controls-right"),this.$layer=this.query(".art-layers"),this.$loading=this.query(".art-loading"),this.$notice=this.query(".art-notice"),this.$noticeInner=this.query(".art-notice-inner"),this.$mask=this.query(".art-mask"),this.$state=this.query(".art-state"),this.$setting=this.query(".art-settings"),this.$settingInner=this.query(".art-setting-inner"),this.$settingBody=this.query(".art-setting-body"),this.$info=this.query(".art-info"),this.$infoPanel=this.query(".art-info-panel"),this.$infoClose=this.query(".art-info-close"),this.$miniHeader=this.query(".art-mini-header"),this.$miniTitle=this.query(".art-mini-title"),this.$miniClose=this.query(".art-mini-close"),this.$contextmenu=this.query(".art-contextmenus"),e.backdrop&&(w(this.$settingInner,"art-backdrop-filter"),w(this.$contextmenu,"art-backdrop-filter"),w(this.$info,"art-backdrop-filter")),h&&w(this.$player,"art-mobile")}},{key:"mobile",value:function(){this.$container.innerHTML='<div class="art-video-player"><video class="art-video"></video></div>',this.$player=this.query(".art-video-player"),this.$video=this.query(".art-video")}},{key:"destroy",value:function(e){e?R(this.$original,this.$container):w(this.$player,"art-destroy")}}],[{key:"html",get:function(){return'<div class="art-video-player art-subtitle-show art-layer-show"><video class="art-video"></video><div class="art-poster"></div><div class="art-subtitle"></div><div class="art-danmuku"></div><div class="art-layers"></div><div class="art-mask"><div class="art-state"></div></div><div class="art-bottom"><div class="art-progress"></div><div class="art-controls"><div class="art-controls-left"></div><div class="art-controls-right"></div></div></div><div class="art-loading"></div><div class="art-notice"><div class="art-notice-inner"></div></div><div class="art-settings"><div class="art-setting-inner"><div class="art-setting-body"></div></div></div><div class="art-info"><div class="art-info-panel"><div class="art-info-item"><div class="art-info-title">Player version:</div><div class="art-info-content">4.2.6</div></div><div class="art-info-item"><div class="art-info-title">Video url:</div><div class="art-info-content" data-video="src"></div></div><div class="art-info-item"><div class="art-info-title">Video volume:</div><div class="art-info-content" data-video="volume"></div></div><div class="art-info-item"><div class="art-info-title">Video time:</div><div class="art-info-content" data-video="currentTime"></div></div><div class="art-info-item"><div class="art-info-title">Video duration:</div><div class="art-info-content" data-video="duration"></div></div><div class="art-info-item"><div class="art-info-title">Video resolution:</div><div class="art-info-content"><span data-video="videoWidth"></span> x <span data-video="videoHeight"></span></div></div></div><div class="art-info-close">[x]</div></div><div class="art-mini-header"><div class="art-mini-title"></div><div class="art-mini-close">xD7</div></div><div class="art-contextmenus"></div></div>'}}]),t}(),ge={"Video info":"\u7edf\u8ba1\u4fe1\u606f",Close:"\u5173\u95ed","Video load failed":"\u52a0\u8f7d\u5931\u8d25",Volume:"\u97f3\u91cf",Play:"\u64ad\u653e",Pause:"\u6682\u505c",Rate:"\u901f\u5ea6",Mute:"\u9759\u97f3",Flip:"\u7ffb\u8f6c",Rotate:"\u65cb\u8f6c",Horizontal:"\u6c34\u5e73",Vertical:"\u5782\u76f4",Reconnect:"\u91cd\u65b0\u8fde\u63a5","Hide subtitle":"\u9690\u85cf\u5b57\u5e55","Show subtitle":"\u663e\u793a\u5b57\u5e55","Hide danmu":"\u9690\u85cf\u5f39\u5e55","Show danmu":"\u663e\u793a\u5f39\u5e55","Show setting":"\u663e\u793a\u8bbe\u7f6e","Hide setting":"\u9690\u85cf\u8bbe\u7f6e",Screenshot:"\u622a\u56fe","Play speed":"\u64ad\u653e\u901f\u5ea6","Aspect ratio":"\u753b\u9762\u6bd4\u4f8b",Default:"\u9ed8\u8ba4",Normal:"\u6b63\u5e38",Open:"\u6253\u5f00","Switch video":"\u5207\u6362","Switch subtitle":"\u5207\u6362\u5b57\u5e55",Fullscreen:"\u5168\u5c4f","Exit fullscreen":"\u9000\u51fa\u5168\u5c4f","Web fullscreen":"\u7f51\u9875\u5168\u5c4f","Exit web fullscreen":"\u9000\u51fa\u7f51\u9875\u5168\u5c4f","Mini player":"\u8ff7\u4f60\u64ad\u653e\u5668","PIP mode":"\u753b\u4e2d\u753b\u6a21\u5f0f","Exit PIP mode":"\u9000\u51fa\u753b\u4e2d\u753b\u6a21\u5f0f","PIP not supported":"\u4e0d\u652f\u6301\u753b\u4e2d\u753b\u6a21\u5f0f","Fullscreen not supported":"\u4e0d\u652f\u6301\u5168\u5c4f\u6a21\u5f0f","Local Subtitle":"\u672c\u5730\u5b57\u5e55","Local Video":"\u672c\u5730\u89c6\u9891","Subtitle offset time":"\u5b57\u5e55\u504f\u79fb\u65f6\u95f4","No subtitles found":"\u672a\u53d1\u73b0\u5b57\u5e55"},ye={"Video info":"\u7d71\u8a08\u8a0a\u606f",Close:"\u95dc\u9589","Video load failed":"\u8f09\u5165\u5931\u6557",Volume:"\u97f3\u91cf",Play:"\u64ad\u653e",Pause:"\u66ab\u505c",Rate:"\u901f\u5ea6",Mute:"\u975c\u97f3",Flip:"\u7ffb\u8f49",Rotate:"\u65cb\u8f49",Horizontal:"\u6c34\u5e73",Vertical:"\u5782\u76f4",Reconnect:"\u91cd\u65b0\u9023\u63a5","Hide subtitle":"\u96b1\u85cf\u5b57\u5e55","Show subtitle":"\u986f\u793a\u5b57\u5e55","Hide danmu":"\u96b1\u85cf\u5f48\u5e55","Show danmu":"\u986f\u793a\u5f48\u5e55","Show setting":"\u986f\u793a\u8bbe\u7f6e","Hide setting":"\u96b1\u85cf\u8bbe\u7f6e",Screenshot:"\u622a\u5716","Play speed":"\u64ad\u653e\u901f\u5ea6","Aspect ratio":"\u756b\u9762\u6bd4\u4f8b",Default:"\u9ed8\u8a8d",Normal:"\u6b63\u5e38",Open:"\u6253\u958b","Switch video":"\u5207\u63db","Switch subtitle":"\u5207\u63db\u5b57\u5e55",Fullscreen:"\u5168\u5c4f","Exit fullscreen":"\u9000\u51fa\u5168\u5c4f","Web fullscreen":"\u7db2\u9801\u5168\u5c4f","Exit web fullscreen":"\u9000\u51fa\u7db2\u9801\u5168\u5c4f","Mini player":"\u8ff7\u4f60\u64ad\u653e\u5668","PIP mode":"\u756b\u4e2d\u756b\u6a21\u5f0f","Exit PIP mode":"\u9000\u51fa\u756b\u4e2d\u756b\u6a21\u5f0f","PIP not supported":"\u4e0d\u652f\u6301\u756b\u4e2d\u756b\u6a21\u5f0f","Fullscreen not supported":"\u4e0d\u652f\u6301\u5168\u5c4f\u6a21\u5f0f","Local Subtitle":"\u672c\u5730\u5b57\u5e55","Local Video":"\u672c\u5730\u8996\u983b","Subtitle offset time":"\u5b57\u5e55\u504f\u79fb\u6642\u9593","No subtitles found":"\u672a\u767c\u73fe\u5b57\u5e55"},be=function(){function t(n){e(this,t),this.art=n,this.languages={"zh-cn":ge,"zh-tw":ye},this.init()}return r(t,[{key:"init",value:function(){var e=this.art.option.lang.toLowerCase();this.language=this.languages[e]||{}}},{key:"get",value:function(e){return this.language[e]||e}},{key:"update",value:function(e){this.languages=$(this.languages,e),this.init()}}]),t}(),we={exports:{}};!function(e){!function(){var t="undefined"!=typeof window&&void 0!==window.document?window.document:{},n=e.exports,r=function(){for(var e,n=[["requestFullscreen","exitFullscreen","fullscreenElement","fullscreenEnabled","fullscreenchange","fullscreenerror"],["webkitRequestFullscreen","webkitExitFullscreen","webkitFullscreenElement","webkitFullscreenEnabled","webkitfullscreenchange","webkitfullscreenerror"],["webkitRequestFullScreen","webkitCancelFullScreen","webkitCurrentFullScreenElement","webkitCancelFullScreen","webkitfullscreenchange","webkitfullscreenerror"],["mozRequestFullScreen","mozCancelFullScreen","mozFullScreenElement","mozFullScreenEnabled","mozfullscreenchange","mozfullscreenerror"],["msRequestFullscreen","msExitFullscreen","msFullscreenElement","msFullscreenEnabled","MSFullscreenChange","MSFullscreenError"]],r=0,i=n.length,o={};r<i;r++)if((e=n[r])&&e[1]in t){for(r=0;r<e.length;r++)o[n[0][r]]=e[r];return o}return!1}(),i={change:r.fullscreenchange,error:r.fullscreenerror},o={request:function(e,n){return new Promise(function(i,o){var a=function(){this.off("change",a),i()}.bind(this);this.on("change",a);var s=(e=e||t.documentElement)[r.requestFullscreen](n);s instanceof Promise&&s.then(a).catch(o)}.bind(this))},exit:function(){return new Promise(function(e,n){if(this.isFullscreen){var i=function(){this.off("change",i),e()}.bind(this);this.on("change",i);var o=t[r.exitFullscreen]();o instanceof Promise&&o.then(i).catch(n)}else e()}.bind(this))},toggle:function(e,t){return this.isFullscreen?this.exit():this.request(e,t)},onchange:function(e){this.on("change",e)},onerror:function(e){this.on("error",e)},on:function(e,n){var r=i[e];r&&t.addEventListener(r,n,!1)},off:function(e,n){var r=i[e];r&&t.removeEventListener(r,n,!1)},raw:r};r?(Object.defineProperties(o,{isFullscreen:{get:function(){return Boolean(t[r.fullscreenElement])}},element:{enumerable:!0,get:function(){return t[r.fullscreenElement]}},isEnabled:{enumerable:!0,get:function(){return Boolean(t[r.fullscreenEnabled])}}}),n?e.exports=o:window.screenfull=o):n?e.exports={isEnabled:!1}:window.screenfull={isEnabled:!1}}()}(we);var xe=we.exports;function Se(e){var t=e.i18n,n=e.notice,r=e.template.$video;e.once("ready",(function(){xe.isEnabled?function(e){var t=e.template.$player;xe.on("change",(function(){return e.emit("fullscreen",xe.isFullscreen)})),Z(e,"fullscreen",{get:function(){return xe.isFullscreen},set:function(n){n?xe.request(t).then((function(){w(t,"art-fullscreen"),e.aspectRatioReset=!0,e.autoSize=!1,e.emit("resize"),e.emit("fullscreen",!0)})):xe.exit().then((function(){x(t,"art-fullscreen"),e.aspectRatioReset=!0,e.autoSize=e.option.autoSize,e.emit("resize"),e.emit("fullscreen")}))}})}(e):document.fullscreenEnabled||r.webkitSupportsFullscreen?function(e){var t=e.template.$video;Z(e,"fullscreen",{get:function(){return t.webkitDisplayingFullscreen},set:function(n){n?(t.webkitEnterFullscreen(),e.emit("fullscreen",!0)):(t.webkitExitFullscreen(),e.emit("fullscreen"))}})}(e):Z(e,"fullscreen",{get:function(){return!1},set:function(){n.show=t.get("Fullscreen not supported")}}),Z(e,"fullscreen",X(e,"fullscreen"))}))}function Ee(e){var t=e.i18n,n=e.notice,r=e.template.$video;document.pictureInPictureEnabled?function(e){var t=e.template.$video,n=e.events.proxy,r=e.notice;t.disablePictureInPicture=!1,Z(e,"pip",{get:function(){return document.pictureInPictureElement},set:function(e){e?t.requestPictureInPicture().catch((function(e){throw r.show=e,e})):document.exitPictureInPicture().catch((function(e){throw r.show=e,e}))}}),n(t,"enterpictureinpicture",(function(){e.emit("pip",!0)})),n(t,"leavepictureinpicture",(function(){e.emit("pip")}))}(e):r.webkitSupportsPresentationMode?function(e){var t=e.template.$video;t.webkitSetPresentationMode("inline"),Z(e,"pip",{get:function(){return"picture-in-picture"===t.webkitPresentationMode},set:function(n){n?(t.webkitSetPresentationMode("picture-in-picture"),e.emit("pip",!0)):(t.webkitSetPresentationMode("inline"),e.emit("pip"))}})}(e):Z(e,"pip",{get:function(){return!1},set:function(){n.show=t.get("PIP not supported")}})}var ke=function t(n){e(this,t),function(e){var t=e.option,n=e.template.$video;Z(e,"url",{get:function(){return n.currentSrc},set:function(r){var i=t.type||U(r),o=t.customType[i];i&&o?Y().then((function(){e.loading.show=!0,o.call(e,n,r,e)})):(e.url&&e.url!==r&&e.once("video:canplay",(function(){e.isReady&&e.emit("restart")})),n.src=r,e.option.url=r,e.emit("url",r))}})}(n),function(e){var t=e.template.$video;Z(e,"attr",{value:function(e,n){if(void 0===n)return t[e];t[e]=n}})}(n),function(e){var t=e.i18n,n=e.notice,r=e.option,i=e.constructor.instances,o=e.template.$video;Z(e,"play",{value:function(){var a=o.play();if(a&&a.then&&a.then().catch((function(e){throw n.show=e,e})),r.mutex)for(var s=0;s<i.length;s++){var l=i[s];l!==e&&l.pause()}return n.show=t.get("Play"),e.emit("play"),a}})}(n),function(e){var t=e.template.$video,n=e.i18n,r=e.notice;Z(e,"pause",{value:function(){var i=t.pause();return r.show=n.get("Pause"),e.emit("pause"),i}})}(n),function(e){Z(e,"toggle",{value:function(){return e.playing?e.pause():e.play()}})}(n),function(e){var t=e.notice;Z(e,"seek",{set:function(n){e.currentTime=n,e.emit("seek",e.currentTime),e.duration&&(t.show="".concat(ee(e.currentTime)," / ").concat(ee(e.duration)))}}),Z(e,"forward",{set:function(t){e.seek=e.currentTime+t}}),Z(e,"backward",{set:function(t){e.seek=e.currentTime-t}})}(n),function(e){var t=e.template.$video,n=e.i18n,r=e.notice,i=e.storage;Z(e,"volume",{get:function(){return t.volume||0},set:function(o){t.volume=Q(o,0,1),r.show="".concat(n.get("Volume"),": ").concat(parseInt(100*t.volume,10)),0!==t.volume&&i.set("volume",t.volume),e.emit("volume",t.volume)}}),Z(e,"muted",{get:function(){return t.muted},set:function(n){t.muted=n,e.emit("volume",t.volume)}})}(n),function(e){var t=e.template.$video;Z(e,"currentTime",{get:function(){return t.currentTime||0},set:function(n){n=parseFloat(n),Number.isNaN(n)||(t.currentTime=Q(n,0,e.duration))}})}(n),function(e){Z(e,"duration",{get:function(){var t=e.template.$video.duration;return t===1/0?0:t||0}})}(n),function(e){var t=e.i18n,n=e.option,r=e.notice;function i(i,o,a){return new Promise((function(s){if(i===e.url)return s(i);URL.revokeObjectURL(e.url),e.url=i,e.once("video:canplay",(function(){e.playbackRate=!1,e.aspectRatio=!1,e.flip="normal",e.autoSize=n.autoSize,e.currentTime=a,e.notice.show="",e.playing&&e.play(),o&&(r.show="".concat(t.get("Switch video"),": ").concat(o)),e.emit("switch",i),s(i)}))}))}Z(e,"switchQuality",{value:function(t,n){return i(t,n,e.currentTime)}}),Z(e,"switchUrl",{value:function(e,t){return i(e,t,0)}})}(n),function(e){var t=e.template,n=t.$video,r=t.$player,i=e.i18n,o=e.notice;Z(e,"playbackRate",{get:function(){return r.dataset.playbackRate},set:function(t){if(t){if(t===r.dataset.playbackRate)return;var a=[.5,.75,1,1.25,1.5,1.75,2];F(a.includes(t),"'playbackRate' only accept ".concat(a.toString()," as parameters")),n.playbackRate=t,r.dataset.playbackRate=t,o.show="".concat(i.get("Rate"),": ").concat(1===t?i.get("Normal"):"".concat(t,"x")),e.emit("playbackRate",t)}else e.playbackRate&&(e.playbackRate=1,delete r.dataset.playbackRate,e.emit("playbackRate"))}}),Z(e,"playbackRateReset",{set:function(t){if(t){var n=r.dataset.playbackRate;n&&(e.playbackRate=Number(n))}}})}(n),function(e){var t=e.template,n=t.$video,r=t.$player,i=e.i18n,o=e.notice;Z(e,"aspectRatio",{get:function(){return r.dataset.aspectRatio||""},set:function(t){t||(t="default");var a=["default","4:3","16:9"];if(F(a.includes(t),"'aspectRatio' only accept ".concat(a.toString()," as parameters")),"default"===t)k(n,"width",null),k(n,"height",null),k(n,"padding",null),delete r.dataset.aspectRatio;else{var s=t.split(":").map(Number),l=n.videoWidth,c=n.videoHeight,u=r.clientWidth,d=r.clientHeight,f=l/c,p=s[0]/s[1];if(f>p){var h=p*c/l;k(n,"width","".concat(100*h,"%")),k(n,"height","100%"),k(n,"padding","0 ".concat((u-u*h)/2,"px"))}else{var v=l/p/c;k(n,"width","100%"),k(n,"height","".concat(100*v,"%")),k(n,"padding","".concat((d-d*v)/2,"px 0"))}r.dataset.aspectRatio=t}o.show="".concat(i.get("Aspect ratio"),": ").concat("default"===t?i.get("Default"):t),e.emit("aspectRatio",t)}}),Z(e,"aspectRatioReset",{set:function(t){if(t&&e.aspectRatio){var n=e.aspectRatio;e.aspectRatio=n}}})}(n),function(e){var t=e.option,n=e.notice,r=e.template.$video,i=document.createElement("canvas");Z(e,"getDataURL",{value:function(){return new Promise((function(e,t){try{i.width=r.videoWidth,i.height=r.videoHeight,i.getContext("2d").drawImage(r,0,0),e(i.toDataURL("image/png"))}catch(e){n.show=e,t(e)}}))}}),Z(e,"getBlobUrl",{value:function(){return new Promise((function(e,t){try{i.width=r.videoWidth,i.height=r.videoHeight,i.getContext("2d").drawImage(r,0,0),i.toBlob((function(t){e(URL.createObjectURL(t))}))}catch(e){n.show=e,t(e)}}))}}),Z(e,"screenshot",{value:function(){return e.getDataURL().then((function(n){return W(n,"".concat(t.title||"artplayer","_").concat(ee(r.currentTime),".png")),e.emit("screenshot",n),n}))}})}(n),Se(n),function(e){var t=e.template.$player;Z(e,"fullscreenWeb",{get:function(){return S(t,"art-fullscreen-web")},set:function(n){n?(w(t,"art-fullscreen-web"),e.aspectRatioReset=!0,e.autoSize=!1,e.emit("resize"),e.emit("fullscreenWeb",!0)):(x(t,"art-fullscreen-web"),e.aspectRatioReset=!0,e.autoSize=e.option.autoSize,e.emit("resize"),e.emit("fullscreenWeb"))}})}(n),Ee(n),function(e){var t=e.template.$video;Z(e,"loaded",{get:function(){return e.loadedTime/t.duration}}),Z(e,"loadedTime",{get:function(){return t.buffered.length?t.buffered.end(t.buffered.length-1):0}})}(n),function(e){Z(e,"played",{get:function(){return e.currentTime/e.duration}})}(n),function(e){var t=e.template.$video;Z(e,"playing",{get:function(){return!!(t.currentTime>0&&!t.paused&&!t.ended&&t.readyState>2)}})}(n),function(e){var t=e.template,n=t.$container,r=t.$player,i=t.$video;Z(e,"autoSize",{get:function(){return S(n,"art-auto-size")},set:function(t){if(t){var o=i.videoWidth,a=i.videoHeight,s=n.getBoundingClientRect(),l=s.width,c=s.height,u=o/a,d=l/c;if(w(n,"art-auto-size"),d>u)k(r,"width","".concat(c*u/l*100,"%")),k(r,"height","100%");else{var f=l/u/c*100;k(r,"width","100%"),k(r,"height","".concat(f,"%"))}e.emit("autoSize",{width:e.width,height:e.height})}else x(n,"art-auto-size"),k(r,"width",null),k(r,"height",null),e.emit("autoSize")}})}(n),function(e){Z(e,"rect",{get:function(){return e.template.$player.getBoundingClientRect()}});for(var t=["bottom","height","left","right","top","width"],n=function(n){var r=t[n];Z(e,r,{get:function(){return e.rect[r]}})},r=0;r<t.length;r++)n(r);Z(e,"x",{get:function(){return e.left+window.pageXOffset}}),Z(e,"y",{get:function(){return e.top+window.pageYOffset}})}(n),function(e){var t=e.template.$player,n=e.i18n,r=e.notice;Z(e,"flip",{get:function(){return t.dataset.flip},set:function(i){i||(i="normal");var o=["normal","horizontal","vertical"];F(o.includes(i),"'flip' only accept ".concat(o.toString()," as parameters")),"normal"===i?delete t.dataset.flip:(e.rotate=!1,t.dataset.flip=i);var a=i.replace(i[0],i[0].toUpperCase());r.show="".concat(n.get("Flip"),": ").concat(n.get(a)),e.emit("flip",i)}}),Z(e,"flipReset",{set:function(t){if(t&&e.flip){var n=e.flip;e.flip=n}}})}(n),function(e){var t=e.i18n,n=e.option,r=e.storage,i=e.events.proxy,o=e.template,a=o.$player,s=o.$miniClose,l=o.$miniTitle,c=o.$miniHeader,u="",d=!1,f=0,p=0,h=0,v=0;i(c,"mousedown",(function(t){d=!0,f=t.pageX,p=t.pageY,h=e.left,v=e.top})),i(document,"mousemove",(function(e){if(d){w(a,"art-is-dragging");var t=v+e.pageY-p,n=h+e.pageX-f;k(a,"top","".concat(t,"px")),k(a,"left","".concat(n,"px")),r.set("top",t),r.set("left",n)}})),i(document,"mouseup",(function(){d=!1,x(a,"art-is-dragging")})),i(s,"click",(function(){e.mini=!1,d=!1,x(a,"art-is-dragging")})),E(l,n.title||t.get("Mini player")),Z(e,"mini",{get:function(){return S(a,"art-mini")},set:function(t){if(t){e.autoSize=!1,u=a.style.cssText,w(a,"art-mini");var i=r.get("top"),o=r.get("left");if(i&&o)k(a,"top","".concat(i,"px")),k(a,"left","".concat(o,"px")),N(c)||(r.del("top"),r.del("left"),e.mini=!0);else{var s=document.body,l=s.clientHeight-e.height-50,d=s.clientWidth-e.width-50;r.set("top",l),r.set("left",d),k(a,"top","".concat(l,"px")),k(a,"left","".concat(d,"px"))}e.aspectRatio=!1,e.playbackRate=!1,e.notice.show="",e.emit("mini",!0)}else a.style.cssText=u,x(a,"art-mini"),k(a,"top",null),k(a,"left",null),e.aspectRatio=!1,e.playbackRate=!1,e.autoSize=n.autoSize,e.notice.show="",e.emit("mini")}})}(n),function(e){var t=[];Z(e,"loop",{get:function(){return t},set:function(n){if(Array.isArray(n)&&"number"==typeof n[0]&&"number"==typeof n[1]){var r=Q(n[0],0,Math.min(n[1],e.duration)),i=Q(n[1],r,e.duration);i-r>=1?(t=[r,i],e.emit("loop",t)):(t=[],e.emit("loop"))}else t=[],e.emit("loop")}}),e.on("video:timeupdate",(function(){t.length&&(e.currentTime<t[0]||e.currentTime>t[1])&&(e.seek=t[0])}))}(n),function(e){var t=e.template,n=t.$video,r=t.$player,i=e.i18n,o=e.notice;Z(e,"rotate",{get:function(){return Number(r.dataset.rotate)||0},set:function(t){t||(t=0);var a=[-270,-180,-90,0,90,180,270];if(F(a.includes(t),"'rotate' only accept ".concat(a.toString()," as parameters")),0===t)delete r.dataset.rotate,k(n,"transform",null);else{e.flip=!1,e.autoSize=!0,r.dataset.rotate=t;var s=function(){var e=n.videoWidth,t=n.videoHeight;return e>t?t/e:e/t},l=0,c=1;switch(t){case-270:l=90,c=s();break;case-180:l=180;break;case-90:l=270,c=s();break;case 90:l=90,c=s();break;case 180:l=180;break;case 270:l=270,c=s()}k(n,"transform","rotate(".concat(l,"deg) scale(").concat(c,")"))}o.show="".concat(i.get("Rotate"),": ").concat(t,"\xb0"),e.emit("rotate",t)}}),Z(e,"rotateReset",{set:function(t){if(t&&e.rotate){var n=e.rotate;e.rotate=n}}})}(n),function(e){var t=e.option,n=e.template.$poster;Z(e,"poster",{get:function(){return t.poster},set:function(e){t.poster=e,k(n,"backgroundImage","url(".concat(e,")"))}})}(n),function(e){var t=e.option,n=e.template,r=n.$container,i=n.$video,o=r.style.height;Z(e,"autoHeight",{get:function(){return S(r,"art-auto-height")},set:function(n){if(n){var a=r.clientWidth,s=i.videoHeight*(a/i.videoWidth);k(r,"height",s+"px"),w(r,"art-auto-height"),e.autoSize=t.autoSize,e.emit("autoHeight",s)}else k(r,"height",o),x(r,"art-auto-height"),e.autoSize=t.autoSize,e.emit("autoHeight")}})}(n),function(e){var t=e.option,n=e.template.$player;Z(e,"theme",{get:function(){return getComputedStyle(n).getPropertyValue("--theme")},set:function(e){t.theme=e,n.style.setProperty("--theme",e)}})}(n),function(e){Z(e,"title",{get:function(){return e.option.title},set:function(t){e.option.title=t}})}(n),function(e){var t=["mini","pip","fullscreen","fullscreenWeb"];!function(t){for(var n=function(n){var r=t[n];e.on(r,(function(){e[r]&&t.filter((function(e){return e!==r})).forEach((function(t){e[t]&&(e[t]=!1)}))}))},r=0;r<t.length;r++)n(r)}(t),Z(e,"normalSize",{get:function(){return t.every((function(t){return!e[t]}))}})}(n),function(e){var t=e.option,n=e.events.proxy,r=e.template,i=r.$player,o=r.$video,a=r.$poster,s=e.i18n,l=e.notice,c=0;n(o,"click",(function(){e.toggle()})),n(o,"dblclick",(function(){e.fullscreen=!e.fullscreen}));for(var u=0;u<he.events.length;u++)n(o,he.events[u],(function(t){e.emit("video:".concat(t.type),t)}));e.on("video:canplay",(function(){c=0,e.loading.show=!1})),e.once("video:canplay",(function(){e.loading.show=!1,e.controls.show=!0,e.mask.show=!0,e.isReady=!0,e.emit("ready")})),e.on("video:ended",(function(){t.loop?(e.seek=0,e.play(),e.controls.show=!1,e.mask.show=!1):(e.controls.show=!0,e.mask.show=!0)})),e.on("video:error",(function(){c<5?Y(1e3).then((function(){c+=1,e.url=t.url,l.show="".concat(s.get("Reconnect"),": ").concat(c),e.emit("error",c)})):(e.loading.show=!1,e.controls.show=!1,w(i,"art-error"),Y(1e3).then((function(){l.show=s.get("Video load failed"),e.destroy(!1)})))})),e.once("video:loadedmetadata",(function(){e.autoSize=t.autoSize,h&&(e.loading.show=!1,e.controls.show=!0,e.mask.show=!0)})),e.on("video:loadstart",(function(){e.loading.show=!0})),e.on("video:pause",(function(){e.controls.show=!0,e.mask.show=!0})),e.on("video:play",(function(){e.mask.show=!1,k(a,"display","none")})),e.on("video:playing",(function(){e.mask.show=!1})),e.on("video:seeked",(function(){e.loading.show=!1})),e.on("video:seeking",(function(){e.loading.show=!0})),e.on("video:timeupdate",(function(){e.mask.show=!1})),e.on("video:waiting",(function(){e.loading.show=!0}))}(n),function(e){var t=e.option,n=e.storage,r=e.template,i=r.$video,o=r.$poster;Object.keys(t.moreVideoAttr).forEach((function(n){e.attr(n,t.moreVideoAttr[n])})),t.muted&&(e.muted=t.muted),t.volume&&(i.volume=Q(t.volume,0,1));var a=n.get("volume");"number"==typeof a&&(i.volume=Q(a,0,1)),t.poster&&k(o,"backgroundImage","url(".concat(t.poster,")")),t.autoplay&&(i.autoplay=t.autoplay),t.theme&&(e.theme=t.theme),0===t.ads.length&&(e.url=t.url)}(n)};function Ce(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&null!==(e=c(e)););return e}function Oe(){return Oe="undefined"!=typeof Reflect&&Reflect.get?Reflect.get:function(e,t,n){var r=Ce(e,t);if(r){var i=Object.getOwnPropertyDescriptor(r,t);return i.get?i.get.call(arguments.length<3?e:n):i.value}},Oe.apply(this,arguments)}var je=function(){function t(n){e(this,t),this.id=0,this.art=n,this.add=this.add.bind(this)}return r(t,[{key:"show",get:function(){return S(this.art.template.$player,"art-".concat(this.name,"-show"))},set:function(e){var t=this.art.template.$player,n="art-".concat(this.name,"-show");e?w(t,n):x(t,n),this.art.emit(this.name,e)}},{key:"toggle",set:function(e){e&&(this.show=!this.show)}},{key:"add",value:function(e){var t=this,n="function"==typeof e?e(this.art):e;if(n.html=n.html||"",d(n,fe),this.$parent&&this.name&&!n.disable){var r=n.name||"".concat(this.name).concat(this.id);F(!q(this,r),"Cannot add an existing name [".concat(r,"] to the [").concat(this.name,"]")),this.id+=1;var i=document.createElement("div");w(i,"art-".concat(this.name)),w(i,"art-".concat(this.name,"-").concat(r));var o=Array.from(this.$parent.children);i.dataset.index=n.index||this.id;var a=o.find((function(e){return Number(e.dataset.index)>=Number(i.dataset.index)}));return a?a.insertAdjacentElement("beforebegin",i):E(this.$parent,i),n.html&&E(i,n.html),n.style&&C(i,n.style),n.tooltip&&P(i,n.tooltip),n.click&&this.art.events.proxy(i,"click",(function(e){e.preventDefault(),n.click.call(t.art,t,e)})),n.selector&&["left","right"].includes(n.position)&&this.selector(n,i),n.mounted&&n.mounted.call(this.art,i),1===i.childNodes.length&&3===i.childNodes[0].nodeType&&w(i,"art-control-onlyText"),Z(this,r,{value:i}),i}}},{key:"selector",value:function(e,t){var n=this,r=this.art.events,i=r.hover,o=r.proxy;w(t,"art-control-selector");var a=document.createElement("div");w(a,"art-selector-value"),E(a,e.html),t.innerText="",E(t,a);var s=e.selector.map((function(e,t){return'<div class="art-selector-item '.concat(e.default?"art-current":"",'" data-index="').concat(t,'">').concat(e.html,"</div>")})).join(""),l=document.createElement("div");w(l,"art-selector-list"),E(l,s),E(t,l);var c=function(){var e=O(t,"width")/2-O(l,"width")/2;l.style.left="".concat(e,"px")};i(t,c),o(l,"click",(function(t){var r=(t.composedPath()||[]).find((function(e){return S(e,"art-selector-item")}));if(r){T(r,"art-current");var i=Number(r.dataset.index),o=e.selector[i]||{};if(a.innerText=r.innerText,e.onSelect){var s=e.onSelect.call(n.art,o,r);"string"==typeof s&&(a.innerHTML=s)}c(),n.art.emit("selector",o,r)}}))}}]),t}();function Te(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function Pe(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Te(Object(n),!0).forEach((function(t){re(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Te(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function Ne(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function _e(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Ne(Object(n),!0).forEach((function(t){re(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Ne(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function Re(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function Ie(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Re(Object(n),!0).forEach((function(t){re(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Re(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function Le(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function Me(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Le(Object(n),!0).forEach((function(t){re(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Le(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function De(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function Ae(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?De(Object(n),!0).forEach((function(t){re(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):De(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function Fe(e,t){var n=e.template.$progress,r=n.getBoundingClientRect().left,i=Q(("number"==typeof t.pageX?t.pageX:t.touches[0].clientX)-r,0,n.clientWidth),o=i/n.clientWidth*e.duration;return{second:o,time:ee(o),width:i,percentage:Q(i/n.clientWidth,0,1)}}function ze(e){return function(t){var n=t.icons,r=t.option,i=t.events.proxy;return Ae(Ae({},e),{},{html:'<div class="art-control-progress-inner"><div class="art-progress-loaded"></div><div class="art-progress-played"></div><div class="art-progress-highlight"></div><div class="art-progress-indicator"></div><div class="art-progress-tip"></div></div>',mounted:function(e){var o=!1,a=y(".art-progress-loaded",e),s=y(".art-progress-played",e),l=y(".art-progress-highlight",e),c=y(".art-progress-indicator",e),u=y(".art-progress-tip",e);k(s,"backgroundColor","var(--theme)");var d=14;function f(e,t){"loaded"===e&&k(a,"width","".concat(100*t,"%")),"played"===e&&(k(s,"width","".concat(100*t,"%")),k(c,"left","calc(".concat(100*t,"% - ").concat(d/2,"px)")))}n.indicator?(d=16,E(c,n.indicator)):C(c,{backgroundColor:"var(--theme)"}),C(c,{left:"-".concat(d/2,"px"),width:"".concat(d,"px"),height:"".concat(d,"px")});for(var p=0;p<r.highlight.length;p++){var h=r.highlight[p],v=Q(h.time,0,t.duration)/t.duration*100;E(l,'<span data-text="'.concat(h.text,'" data-time="').concat(h.time,'" style="left: ').concat(v,'%"></span>'))}f("loaded",t.loaded),t.on("video:progress",(function(){f("loaded",t.loaded)})),t.on("video:timeupdate",(function(){f("played",t.played)})),t.on("video:ended",(function(){f("played",1)})),i(e,"mousemove",(function(n){k(u,"display","block"),_(n,l)?function(n){var r=Fe(t,n).width,i=n.target.dataset.text;u.innerHTML=i;var o=u.clientWidth;r<=o/2?k(u,"left",0):r>e.clientWidth-o/2?k(u,"left","".concat(e.clientWidth-o,"px")):k(u,"left","".concat(r-o/2,"px"))}(n):function(n){var r=Fe(t,n),i=r.width,o=r.time;u.innerHTML=o;var a=u.clientWidth;i<=a/2?k(u,"left",0):i>e.clientWidth-a/2?k(u,"left","".concat(e.clientWidth-a,"px")):k(u,"left","".concat(i-a/2,"px"))}(n)})),i(e,"mouseout",(function(){k(u,"display","none")})),i(e,"click",(function(e){if(e.target!==c){var n=Fe(t,e),r=n.second;f("played",n.percentage),t.seek=r}})),i(c,"mousedown",(function(){o=!0})),i(document,"mousemove",(function(e){if(o){var n=Fe(t,e),r=n.second;f("played",n.percentage),t.seek=r}})),i(document,"mouseup",(function(){o&&(o=!1)})),i(c,"touchstart",(function(e){1===e.touches.length&&(o=!0)})),i(document,"touchmove",(function(e){if(1===e.touches.length&&o){var n=Fe(t,e),r=n.second;f("played",n.percentage),t.seek=r}})),i(document,"touchend",(function(){o&&(o=!1)}))}})}}function Be(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function Ve(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Be(Object(n),!0).forEach((function(t){re(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Be(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function Ue(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function We(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Ue(Object(n),!0).forEach((function(t){re(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Ue(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function He(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function Ke(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?He(Object(n),!0).forEach((function(t){re(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):He(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function Ze(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function Ge(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Ze(Object(n),!0).forEach((function(t){re(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Ze(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function qe(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function Xe(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?qe(Object(n),!0).forEach((function(t){re(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):qe(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function $e(e){return function(t){return Xe(Xe({},e),{},{mounted:function(e){var n=t.option,r=t.template,i=r.$progress,o=r.$video,a=t.events,s=a.proxy,l=a.loadImg,c=null,u=!1,d=!1;s(i,"mousemove",(function(r){u||(u=!0,l(n.thumbnails.url).then((function(e){c=e,d=!0}))),d&&(k(e,"display","block"),function(r){var a=Fe(t,r).width,s=n.thumbnails,l=s.url,u=s.number,d=s.column,f=c.naturalWidth/d,p=f/(o.videoWidth/o.videoHeight),h=i.clientWidth/u,v=Math.floor(a/h),m=Math.ceil(v/d)-1,g=v%d||d-1;k(e,"backgroundImage","url(".concat(l,")")),k(e,"height","".concat(p,"px")),k(e,"width","".concat(f,"px")),k(e,"backgroundPosition","-".concat(g*f,"px -").concat(m*p,"px")),a<=f/2?k(e,"left",0):a>i.clientWidth-f/2?k(e,"left","".concat(i.clientWidth-f,"px")):k(e,"left","".concat(a-f/2,"px"))}(r))})),s(i,"mouseout",(function(){k(e,"display","none")}))}})}}function Ye(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function Je(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Ye(Object(n),!0).forEach((function(t){re(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Ye(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function Qe(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function et(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Qe(Object(n),!0).forEach((function(t){re(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Qe(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function tt(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function nt(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?tt(Object(n),!0).forEach((function(t){re(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):tt(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function rt(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=c(e);if(t){var i=c(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return l(this,n)}}var it=function(t){a(i,t);var n=rt(i);function i(t){var r;e(this,i),(r=n.call(this,t)).name="control";var o=t.option,a=t.template.$player;return r.mouseMoveTime=Date.now(),t.on("mousemove",(function(){r.show=!0,x(a,"art-hide-cursor"),w(a,"art-hover"),r.mouseMoveTime=Date.now()})),t.on("video:timeupdate",(function(){t.playing&&r.show&&Date.now()-r.mouseMoveTime>=3e3&&(r.show=!1,w(a,"art-hide-cursor"),x(a,"art-hover"))})),t.once("ready",(function(){r.add(ze({name:"progress",disable:o.isLive,position:"top",index:10})),r.add($e({name:"thumbnails",disable:!o.thumbnails.url||o.isLive,position:"top",index:20})),r.add(function(e){return function(t){return nt(nt({},e),{},{mounted:function(e){var n=E(e,'<span class="art-loop-point"></span>'),r=E(e,'<span class="art-loop-point"></span>');t.on("loop",(function(i){i?(k(e,"display","block"),k(n,"left","calc(".concat(i[0]/t.duration*100,"% - ").concat(n.clientWidth,"px)")),k(r,"left","".concat(i[1]/t.duration*100,"%"))):k(e,"display","none")}))}})}}({name:"loop",disable:!1,position:"top",index:30})),r.add(function(e){return function(t){return Me(Me({},e),{},{mounted:function(e){var n=t.events.proxy,r=t.icons,i=t.i18n,o=E(e,r.play),a=E(e,r.pause);function s(){k(o,"display","flex"),k(a,"display","none")}function l(){k(o,"display","none"),k(a,"display","flex")}P(o,i.get("Play")),P(a,i.get("Pause")),n(o,"click",(function(){t.play()})),n(a,"click",(function(){t.pause()})),t.playing?l():s(),t.on("video:playing",(function(){l()})),t.on("video:pause",(function(){s()}))}})}}({name:"playAndPause",disable:!1,position:"left",index:10})),r.add(function(e){return function(t){return Ke(Ke({},e),{},{mounted:function(e){var n=t.events.proxy,r=t.icons,i=t.i18n,o=!1,a=E(e,r.volume),s=E(e,r.volumeClose),l=E(e,'<div class="art-volume-panel"></div>'),c=E(l,'<div class="art-volume-slider-handle"></div>');function u(e){var t=l.getBoundingClientRect().left;return Q(e.pageX-t-6,0,54)/48}function d(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:.7;if(t.muted||0===e)k(a,"display","none"),k(s,"display","flex"),k(c,"left","0");else{var n=48*e;k(a,"display","flex"),k(s,"display","none"),k(c,"left","".concat(n,"px"))}}P(a,i.get("Mute")),k(s,"display","none"),h&&k(l,"display","none"),d(t.volume),t.on("video:volumechange",(function(){d(t.volume)})),n(a,"click",(function(){t.muted=!0})),n(s,"click",(function(){t.muted=!1})),n(l,"click",(function(e){t.muted=!1,t.volume=u(e)})),n(c,"mousedown",(function(){o=!0})),n(e,"mousemove",(function(e){o&&(t.muted=!1,t.volume=u(e))})),n(document,"mouseup",(function(){o&&(o=!1)}))}})}}({name:"volume",disable:!1,position:"left",index:20})),r.add(function(e){return function(t){return We(We({},e),{},{mounted:function(e){function n(){var n="".concat(ee(t.currentTime)," / ").concat(ee(t.duration));n!==e.innerText&&(e.innerText=n)}n();for(var r=["video:loadedmetadata","video:timeupdate","video:progress"],i=0;i<r.length;i++)t.on(r[i],n)}})}}({name:"time",disable:o.isLive,position:"left",index:30})),r.add(function(e){return function(t){var n=t.option.quality,r=n.find((function(e){return e.default}))||n[0];return et(et({},e),{},{html:r?r.html:"",selector:n,onSelect:function(e){t.switchQuality(e.url,e.html)}})}}({name:"quality",disable:0===o.quality.length,position:"right",index:10})),r.add(function(e){return function(t){return Je(Je({},e),{},{tooltip:t.i18n.get("Screenshot"),mounted:function(e){var n=t.events.proxy;E(e,t.icons.screenshot),n(e,"click",(function(){t.screenshot()}))}})}}({name:"screenshot",disable:!o.screenshot,position:"right",index:20})),r.add(function(e){return function(t){return Ve(Ve({},e),{},{tooltip:t.i18n.get("Hide subtitle"),mounted:function(e){var n=t.events.proxy,r=t.icons,i=t.i18n,o=t.subtitle;E(e,r.subtitle),n(e,"click",(function(){o.toggle=!0})),t.on("subtitle",(function(t){P(e,i.get(t?"Hide subtitle":"Show subtitle"))}))}})}}({name:"subtitle",disable:!o.subtitle.url,position:"right",index:30})),r.add(function(e){return function(t){return Ge(Ge({},e),{},{tooltip:t.i18n.get("Show setting"),mounted:function(e){var n=t.events.proxy,r=t.icons,i=t.i18n,o=t.setting;E(e,r.setting),n(e,"click",(function(){o.toggle=!0})),t.on("setting",(function(t){P(e,i.get(t?"Hide setting":"Show setting"))}))}})}}({name:"setting",disable:!o.setting,position:"right",index:40})),r.add(function(e){return function(t){return Ie(Ie({},e),{},{tooltip:t.i18n.get("PIP mode"),mounted:function(e){var n=t.events.proxy,r=t.icons,i=t.i18n;E(e,r.pip),n(e,"click",(function(){t.pip=!t.pip})),t.on("pip",(function(t){P(e,i.get(t?"Exit PIP mode":"PIP mode"))}))}})}}({name:"pip",disable:!o.pip,position:"right",index:50})),r.add(function(e){return function(t){return _e(_e({},e),{},{tooltip:t.i18n.get("Web fullscreen"),mounted:function(e){var n=t.events.proxy,r=t.icons,i=t.i18n;E(e,r.fullscreenWeb),n(e,"click",(function(){t.fullscreenWeb=!t.fullscreenWeb})),t.on("fullscreenWeb",(function(t){P(e,i.get(t?"Exit web fullscreen":"Web fullscreen"))}))}})}}({name:"fullscreenWeb",disable:!o.fullscreenWeb,position:"right",index:60})),r.add(function(e){return function(t){return Pe(Pe({},e),{},{tooltip:t.i18n.get("Fullscreen"),mounted:function(e){var n=t.events.proxy,r=t.icons,i=t.i18n;E(e,r.fullscreen),n(e,"click",(function(){t.fullscreen=!t.fullscreen})),t.on("fullscreen",(function(t){P(e,i.get(t?"Exit fullscreen":"Fullscreen"))}))}})}}({name:"fullscreen",disable:!o.fullscreen,position:"right",index:70}));for(var e=0;e<o.controls.length;e++)r.add(o.controls[e])})),r}return r(i,[{key:"add",value:function(e){var t="function"==typeof e?e(this.art):e,n=this.art.template,r=n.$progress,o=n.$controlsLeft,a=n.$controlsRight;switch(t.position){case"top":this.$parent=r;break;case"left":this.$parent=o;break;case"right":this.$parent=a;break;default:F(!1,"Control option.position must one of 'top', 'left', 'right'")}Oe(c(i.prototype),"add",this).call(this,t)}}]),i}(je);function ot(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function at(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?ot(Object(n),!0).forEach((function(t){re(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):ot(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function st(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function lt(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?st(Object(n),!0).forEach((function(t){re(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):st(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function ct(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function ut(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?ct(Object(n),!0).forEach((function(t){re(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):ct(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function dt(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function ft(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?dt(Object(n),!0).forEach((function(t){re(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):dt(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function pt(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function ht(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?pt(Object(n),!0).forEach((function(t){re(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):pt(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function vt(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=c(e);if(t){var i=c(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return l(this,n)}}var mt=function(t){a(i,t);var n=vt(i);function i(t){var r;return e(this,i),(r=n.call(this,t)).art=t,r.name="contextmenu",r.$parent=t.template.$contextmenu,t.once("ready",(function(){h||r.init()})),r}return r(i,[{key:"init",value:function(){var e=this,t=this.art,n=t.option,r=t.template,i=r.$player,o=r.$contextmenu,a=t.events.proxy;this.add(function(e){return function(t){var n=t.i18n;return at(at({},e),{},{html:"".concat(n.get("Play speed"),':<span data-rate="0.5">0.5</span><span data-rate="0.75">0.75</span><span data-rate="1.0" class="art-current">').concat(n.get("Normal"),'</span><span data-rate="1.25">1.25</span><span data-rate="1.5">1.5</span><span data-rate="2.0">2.0</span>'),click:function(e,n){var r=n.target.dataset.rate;r&&(t.playbackRate=Number(r),e.show=!1)},mounted:function(e){t.on("playbackRate",(function(t){var n=b("span",e).find((function(e){return Number(e.dataset.rate)===t}));n&&T(n,"art-current")}))}})}}({disable:!n.playbackRate,name:"playbackRate",index:10})),this.add(function(e){return function(t){var n=t.i18n;return lt(lt({},e),{},{html:"".concat(n.get("Aspect ratio"),':<span data-ratio="default" class="art-current">').concat(n.get("Default"),'</span><span data-ratio="4:3">4:3</span><span data-ratio="16:9">16:9</span>'),click:function(e,n){var r=n.target.dataset.ratio;r&&(t.aspectRatio=r,e.show=!1)},mounted:function(e){t.on("aspectRatio",(function(t){var n=b("span",e).find((function(e){return e.dataset.ratio===t}));n&&T(n,"art-current")}))}})}}({disable:!n.aspectRatio,name:"aspectRatio",index:20})),this.add(function(e){return function(t){return ut(ut({},e),{},{html:t.i18n.get("Video info"),click:function(e){t.info.show=!0,e.show=!1}})}}({disable:!1,name:"info",index:30})),this.add(ft(ft({},{disable:!1,name:"version",index:40}),{},{html:'<a href="https://artplayer.org" target="_blank">ArtPlayer 4.2.6</a>'})),this.add(function(e){return function(t){return ht(ht({},e),{},{html:t.i18n.get("Close"),click:function(e){e.show=!1}})}}({disable:!1,name:"close",index:60}));for(var s=0;s<n.contextmenu.length;s++)this.add(n.contextmenu[s]);a(i,"contextmenu",(function(t){t.preventDefault(),e.show=!0;var n=t.clientX,r=t.clientY,a=i.getBoundingClientRect(),s=a.height,l=a.width,c=a.left,u=a.top,d=o.getBoundingClientRect(),f=d.height,p=d.width,h=n-c,v=r-u;n+p>c+l&&(h=l-p),r+f>u+s&&(v=s-f),C(o,{top:"".concat(v,"px"),left:"".concat(h,"px")})})),a(i,"click",(function(t){_(t,o)||(e.show=!1)})),this.art.on("blur",(function(){e.show=!1}))}}]),i}(je);function gt(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=c(e);if(t){var i=c(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return l(this,n)}}var yt=function(t){a(i,t);var n=gt(i);function i(t){var r;return e(this,i),(r=n.call(this,t)).name="info",t.once("ready",(function(){h||r.init()})),r}return r(i,[{key:"init",value:function(){var e=this,t=this.art,n=t.events.proxy,r=t.template,i=r.$infoPanel,o=r.$infoClose,a=r.$video;n(o,"click",(function(){e.show=!1}));var s=null,l=b("[data-video]",i)||[];this.art.on("destroy",(function(){clearTimeout(s)})),function e(){for(var t=0;t<l.length;t++){var n=l[t],r=a[n.dataset.video],i="number"==typeof r?r.toFixed(2):r;n.innerText!==i&&(n.innerText=i)}s=setTimeout(e,1e3)}()}}]),i}(je);function bt(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function wt(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?bt(Object(n),!0).forEach((function(t){re(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):bt(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function xt(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=c(e);if(t){var i=c(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return l(this,n)}}var St=function(t){a(i,t);var n=xt(i);function i(t){var r;return e(this,i),(r=n.call(this,t)).name="subtitle",t.once("ready",(function(){r.init(t.option.subtitle)})),r}return r(i,[{key:"url",get:function(){return this.art.template.$track.src},set:function(e){this.switch(e)}},{key:"textTrack",get:function(){return this.art.template.$video.textTracks[0]}},{key:"activeCue",get:function(){return this.textTrack.activeCues[0]}},{key:"bilingual",get:function(){return S(this.art.template.$subtitle,"art-bilingual")},set:function(e){var t=this.art.template.$subtitle;e?w(t,"art-bilingual"):x(t,"art-bilingual")}},{key:"style",value:function(e,t){var n=this.art.template.$subtitle;return"object"===s(e)?C(n,e):k(n,e,t)}},{key:"update",value:function(){var e=this.art.template.$subtitle;e.innerHTML="",this.activeCue&&(e.innerHTML=this.activeCue.text.split(/\r?\n/).map((function(e){return"<p>".concat(te(e),"</p>")})).join(""),this.art.emit("subtitleUpdate",this.activeCue.text))}},{key:"switch",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=this.art,r=n.i18n,i=n.notice,o=wt(wt(wt({},n.option.subtitle),t),{},{url:e});return this.init(o).then((function(e){return t.name&&(i.show="".concat(r.get("Switch subtitle"),": ").concat(t.name)),e}))}},{key:"init",value:function(e){var t=this;if(d(e,pe.subtitle),e.url){var n=this.art,r=n.notice,i=n.events.proxy,o=n.template,a=o.$subtitle,s=o.$video;if(!o.$track){var l=document.createElement("track");l.default=!0,l.kind="metadata",s.appendChild(l),this.art.template.$track=l,i(this.textTrack,"cuechange",this.update.bind(this))}return this.style(e.style),this.bilingual=e.bilingual,F(window.fetch,"fetch not support"),fetch(e.url).then((function(e){return e.arrayBuffer()})).then((function(n){F(window.TextDecoder,"TextDecoder not support");var r=new TextDecoder(e.encoding).decode(n);switch(t.art.emit("subtitleLoad",e.url),e.type||U(e.url)){case"srt":return B(z(r));case"ass":return B(V(r));case"vtt":return B(r);default:return e.url}})).then((function(e){return a.innerHTML="",t.url===e||(URL.revokeObjectURL(t.url),t.art.template.$track.src=e,t.art.emit("subtitleSwitch",e)),e})).catch((function(e){throw r.show=e,e}))}}}]),i}(je),Et=function(){function t(n){var r=this;e(this,t),this.destroyEvents=[],this.proxy=this.proxy.bind(this),this.hover=this.hover.bind(this),this.loadImg=this.loadImg.bind(this),n.whitelist.state&&n.once("ready",(function(){!function(e,t){var n=e.template.$player;t.proxy(document,["click","contextmenu"],(function(t){_(t,n)?(e.isFocus=!0,e.emit("focus")):(e.isFocus=!1,e.emit("blur"))}))}(n,r),function(e,t){var n=e.template.$player;t.hover(n,(function(){w(n,"art-hover"),e.emit("hover",!0)}),(function(){x(n,"art-hover"),e.emit("hover")}))}(n,r),function(e,t){var n=e.template.$player;t.proxy(n,"mousemove",(function(t){e.emit("mousemove",t)}))}(n,r),function(e,t){var n=e.option,r=J((function(){e.normalSize&&(e.autoSize=n.autoSize),e.aspectRatioReset=!0,e.emit("resize")}),500);t.proxy(window,["orientationchange","resize"],(function(){r()})),screen&&screen.orientation&&screen.orientation.onchange&&t.proxy(screen.orientation,"change",(function(){r()}))}(n,r),function(e,t){if(h&&!e.option.isLive){var n=e.notice,r=e.template.$video,i=!1,o=0,a=0;t.proxy(r,"touchstart",(function(e){1===e.touches.length&&(i=!0,o=e.touches[0].clientX)})),t.proxy(r,"touchmove",(function(t){if(1===t.touches.length&&i){var s=Q((t.touches[0].clientX-o)/r.clientWidth,-1,1);a=Q(e.currentTime+e.duration*s,0,e.duration),n.show="".concat(ee(a)," / ").concat(ee(e.duration))}})),t.proxy(document,"touchend",(function(){i&&a&&(e.seek=a),i=!1,o=0,a=0}))}}(n,r),function(e,t){var n=e.option,r=e.template.$container,i=J((function(){e.emit("view",N(r,50))}),200);t.proxy(window,"scroll",(function(){i()})),e.on("view",(function(t){n.autoMini&&(e.mini=!t)}))}(n,r)}))}return r(t,[{key:"proxy",value:function(e,t,n){var r=this,i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{};if(Array.isArray(t))return t.map((function(t){return r.proxy(e,t,n,i)}));e.addEventListener(t,n,i);var o=function(){return e.removeEventListener(t,n,i)};return this.destroyEvents.push(o),o}},{key:"hover",value:function(e,t,n){t&&this.proxy(e,"mouseenter",t),n&&this.proxy(e,"mouseleave",n)}},{key:"loadImg",value:function(e){var t=this;return new Promise((function(n,r){var i;if(e instanceof HTMLImageElement)i=e;else{if("string"!=typeof e)return r(new A("Unable to get Image"));(i=new Image).src=e}if(i.complete)return n(i);t.proxy(i,"load",(function(){return n(i)})),t.proxy(i,"error",(function(){return r(new A("Failed to load Image: ".concat(i.src)))}))}))}},{key:"destroy",value:function(){for(var e=0;e<this.destroyEvents.length;e++)this.destroyEvents[e]()}}]),t}(),kt=function(){function t(n){var r=this;e(this,t),this.art=n,this.keys={},n.once("ready",(function(){n.option.hotkey&&!h&&r.init()}))}return r(t,[{key:"init",value:function(){var e=this,t=this.art.events.proxy;this.add(27,(function(){e.art.fullscreenWeb&&(e.art.fullscreenWeb=!1)})),this.add(32,(function(){e.art.toggle()})),this.add(37,(function(){e.art.backward=5})),this.add(38,(function(){e.art.volume+=.1})),this.add(39,(function(){e.art.forward=5})),this.add(40,(function(){e.art.volume-=.1})),t(window,"keydown",(function(t){if(e.art.isFocus){var n=document.activeElement.tagName.toUpperCase(),r=document.activeElement.getAttribute("contenteditable");if("INPUT"!==n&&"TEXTAREA"!==n&&""!==r&&"true"!==r){var i=e.keys[t.keyCode];if(i){t.preventDefault();for(var o=0;o<i.length;o++)i[o].call(e.art,t);e.art.emit("hotkey",t)}}}}))}},{key:"add",value:function(e,t){return this.keys[e]?this.keys[e].push(t):this.keys[e]=[t],this}},{key:"remove",value:function(e,t){if(this.keys[e]){var n=this.keys[e].indexOf(t);-1!==n&&this.keys[e].splice(n,1)}return this}}]),t}();function Ct(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=c(e);if(t){var i=c(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return l(this,n)}}var Ot=function(t){a(r,t);var n=Ct(r);function r(t){var i;e(this,r),i=n.call(this,t);var o=t.option,a=t.template.$layer;return i.name="layer",i.$parent=a,t.once("ready",(function(){for(var e=0;e<o.layers.length;e++)i.add(o.layers[e])})),i}return r}(je);function jt(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=c(e);if(t){var i=c(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return l(this,n)}}var Tt=function(t){a(r,t);var n=jt(r);function r(t){var i;return e(this,r),(i=n.call(this,t)).name="loading",E(t.template.$loading,t.icons.loading),i}return r}(je),Pt=function(){function t(n){e(this,t),this.art=n,this.time=2e3,this.timer=null}return r(t,[{key:"show",set:function(e){var t=this.art.template,n=t.$player,r=t.$noticeInner;if(!e)return x(n,"art-notice-show");r.innerText=e instanceof Error?e.message.trim():e,w(n,"art-notice-show"),clearTimeout(this.timer),this.timer=setTimeout((function(){r.innerText="",x(n,"art-notice-show")}),this.time)}}]),t}();function Nt(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=c(e);if(t){var i=c(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return l(this,n)}}var _t=function(t){a(r,t);var n=Nt(r);function r(t){var i;return e(this,r),(i=n.call(this,t)).name="mask",E(t.template.$state,t.icons.state),i}return r}(je);function Rt(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}var It=function t(n){var r=this;e(this,t);var i=function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Rt(Object(n),!0).forEach((function(t){re(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Rt(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({loading:'<svg xmlns="http://www.w3.org/2000/svg" width="50px" height="50px" viewBox="0 0 100 100" preserveAspectRatio="xMidYMid" class="uil-default"><rect x="0" y="0" width="100" height="100" fill="none" class="bk"/><rect x="47" y="40" width="6" height="20" rx="5" ry="5" fill="#ffffff" transform="rotate(0 50 50) translate(0 -30)"><animate attributeName="opacity" from="1" to="0" dur="1s" begin="-1s" repeatCount="indefinite"/></rect><rect x="47" y="40" width="6" height="20" rx="5" ry="5" fill="#ffffff" transform="rotate(30 50 50) translate(0 -30)"><animate attributeName="opacity" from="1" to="0" dur="1s" begin="-0.9166666666666666s" repeatCount="indefinite"/></rect><rect x="47" y="40" width="6" height="20" rx="5" ry="5" fill="#ffffff" transform="rotate(60 50 50) translate(0 -30)"><animate attributeName="opacity" from="1" to="0" dur="1s" begin="-0.8333333333333334s" repeatCount="indefinite"/></rect><rect x="47" y="40" width="6" height="20" rx="5" ry="5" fill="#ffffff" transform="rotate(90 50 50) translate(0 -30)"><animate attributeName="opacity" from="1" to="0" dur="1s" begin="-0.75s" repeatCount="indefinite"/></rect><rect x="47" y="40" width="6" height="20" rx="5" ry="5" fill="#ffffff" transform="rotate(120 50 50) translate(0 -30)"><animate attributeName="opacity" from="1" to="0" dur="1s" begin="-0.6666666666666666s" repeatCount="indefinite"/></rect><rect x="47" y="40" width="6" height="20" rx="5" ry="5" fill="#ffffff" transform="rotate(150 50 50) translate(0 -30)"><animate attributeName="opacity" from="1" to="0" dur="1s" begin="-0.5833333333333334s" repeatCount="indefinite"/></rect><rect x="47" y="40" width="6" height="20" rx="5" ry="5" fill="#ffffff" transform="rotate(180 50 50) translate(0 -30)"><animate attributeName="opacity" from="1" to="0" dur="1s" begin="-0.5s" repeatCount="indefinite"/></rect><rect x="47" y="40" width="6" height="20" rx="5" ry="5" fill="#ffffff" transform="rotate(210 50 50) translate(0 -30)"><animate attributeName="opacity" from="1" to="0" dur="1s" begin="-0.4166666666666667s" repeatCount="indefinite"/></rect><rect x="47" y="40" width="6" height="20" rx="5" ry="5" fill="#ffffff" transform="rotate(240 50 50) translate(0 -30)"><animate attributeName="opacity" from="1" to="0" dur="1s" begin="-0.3333333333333333s" repeatCount="indefinite"/></rect><rect x="47" y="40" width="6" height="20" rx="5" ry="5" fill="#ffffff" transform="rotate(270 50 50) translate(0 -30)"><animate attributeName="opacity" from="1" to="0" dur="1s" begin="-0.25s" repeatCount="indefinite"/></rect><rect x="47" y="40" width="6" height="20" rx="5" ry="5" fill="#ffffff" transform="rotate(300 50 50) translate(0 -30)"><animate attributeName="opacity" from="1" to="0" dur="1s" begin="-0.16666666666666666s" repeatCount="indefinite"/></rect><rect x="47" y="40" width="6" height="20" rx="5" ry="5" fill="#ffffff" transform="rotate(330 50 50) translate(0 -30)"><animate attributeName="opacity" from="1" to="0" dur="1s" begin="-0.08333333333333333s" repeatCount="indefinite"/></rect></svg>',state:'<svg xmlns="http://www.w3.org/2000/svg" height="60" width="60" style="filter: drop-shadow(0px 1px 1px black);" viewBox="0 0 24 24"><path d="M20,2H4C1.8,2,0,3.8,0,6v12c0,2.2,1.8,4,4,4h16c2.2,0,4-1.8,4-4V6C24,3.8,22.2,2,20,2z M15.6,12.8L10.5,16 C9.9,16.5,9,16,9,15.2V8.8C9,8,9.9,7.5,10.5,8l5.1,3.2C16.3,11.5,16.3,12.5,15.6,12.8z"/></svg>',play:'<svg xmlns="http://www.w3.org/2000/svg" height="22" width="22" viewBox="0 0 22 22"><path d="M17.982 9.275L8.06 3.27A2.013 2.013 0 0 0 5 4.994v12.011a2.017 2.017 0 0 0 3.06 1.725l9.922-6.005a2.017 2.017 0 0 0 0-3.45z"></path></svg>',pause:'<svg xmlns="http://www.w3.org/2000/svg" height="22" width="22" viewBox="0 0 22 22"><path d="M7 3a2 2 0 0 0-2 2v12a2 2 0 1 0 4 0V5a2 2 0 0 0-2-2zM15 3a2 2 0 0 0-2 2v12a2 2 0 1 0 4 0V5a2 2 0 0 0-2-2z"></path></svg>',volume:'<svg xmlns="http://www.w3.org/2000/svg" height="22" width="22" viewBox="0 0 22 22"><path d="M10.188 4.65L6 8H5a2 2 0 0 0-2 2v2a2 2 0 0 0 2 2h1l4.188 3.35a.5.5 0 0 0 .812-.39V5.04a.498.498 0 0 0-.812-.39zM14.446 3.778a1 1 0 0 0-.862 1.804 6.002 6.002 0 0 1-.007 10.838 1 1 0 0 0 .86 1.806A8.001 8.001 0 0 0 19 11a8.001 8.001 0 0 0-4.554-7.222z"></path><path d="M15 11a3.998 3.998 0 0 0-2-3.465v6.93A3.998 3.998 0 0 0 15 11z"></path></svg>',volumeClose:'<svg xmlns="http://www.w3.org/2000/svg" height="22" width="22" viewBox="0 0 22 22"><path d="M15 11a3.998 3.998 0 0 0-2-3.465v2.636l1.865 1.865A4.02 4.02 0 0 0 15 11z"></path><path d="M13.583 5.583A5.998 5.998 0 0 1 17 11a6 6 0 0 1-.585 2.587l1.477 1.477a8.001 8.001 0 0 0-3.446-11.286 1 1 0 0 0-.863 1.805zM18.778 18.778l-2.121-2.121-1.414-1.414-1.415-1.415L13 13l-2-2-3.889-3.889-3.889-3.889a.999.999 0 1 0-1.414 1.414L5.172 8H5a2 2 0 0 0-2 2v2a2 2 0 0 0 2 2h1l4.188 3.35a.5.5 0 0 0 .812-.39v-3.131l2.587 2.587-.01.005a1 1 0 0 0 .86 1.806c.215-.102.424-.214.627-.333l2.3 2.3a1.001 1.001 0 0 0 1.414-1.416zM11 5.04a.5.5 0 0 0-.813-.39L8.682 5.854 11 8.172V5.04z"></path></svg>',subtitle:'<svg xmlns="http://www.w3.org/2000/svg" height="22" width="22" viewBox="0 0 48 48"><path d="M0 0h48v48H0z" fill="none"/><path d="M40 8H8c-2.21 0-4 1.79-4 4v24c0 2.21 1.79 4 4 4h32c2.21 0 4-1.79 4-4V12c0-2.21-1.79-4-4-4zM8 24h8v4H8v-4zm20 12H8v-4h20v4zm12 0h-8v-4h8v4zm0-8H20v-4h20v4z"/></svg>',screenshot:'<svg xmlns="http://www.w3.org/2000/svg" height="22" width="22" viewBox="0 0 50 50">\t<path d="M 19.402344 6 C 17.019531 6 14.96875 7.679688 14.5 10.011719 L 14.097656 12 L 9 12 C 6.238281 12 4 14.238281 4 17 L 4 38 C 4 40.761719 6.238281 43 9 43 L 41 43 C 43.761719 43 46 40.761719 46 38 L 46 17 C 46 14.238281 43.761719 12 41 12 L 35.902344 12 L 35.5 10.011719 C 35.03125 7.679688 32.980469 6 30.597656 6 Z M 25 17 C 30.519531 17 35 21.480469 35 27 C 35 32.519531 30.519531 37 25 37 C 19.480469 37 15 32.519531 15 27 C 15 21.480469 19.480469 17 25 17 Z M 25 19 C 20.589844 19 17 22.589844 17 27 C 17 31.410156 20.589844 35 25 35 C 29.410156 35 33 31.410156 33 27 C 33 22.589844 29.410156 19 25 19 Z "/></svg>',setting:'<svg xmlns="http://www.w3.org/2000/svg" height="22" width="22" viewBox="0 0 22 22"><circle cx="11" cy="11" r="2"></circle><path d="M19.164 8.861L17.6 8.6a6.978 6.978 0 0 0-1.186-2.099l.574-1.533a1 1 0 0 0-.436-1.217l-1.997-1.153a1.001 1.001 0 0 0-1.272.23l-1.008 1.225a7.04 7.04 0 0 0-2.55.001L8.716 2.829a1 1 0 0 0-1.272-.23L5.447 3.751a1 1 0 0 0-.436 1.217l.574 1.533A6.997 6.997 0 0 0 4.4 8.6l-1.564.261A.999.999 0 0 0 2 9.847v2.306c0 .489.353.906.836.986l1.613.269a7 7 0 0 0 1.228 2.075l-.558 1.487a1 1 0 0 0 .436 1.217l1.997 1.153c.423.244.961.147 1.272-.23l1.04-1.263a7.089 7.089 0 0 0 2.272 0l1.04 1.263a1 1 0 0 0 1.272.23l1.997-1.153a1 1 0 0 0 .436-1.217l-.557-1.487c.521-.61.94-1.31 1.228-2.075l1.613-.269a.999.999 0 0 0 .835-.986V9.847a.999.999 0 0 0-.836-.986zM11 15a4 4 0 1 1 0-8 4 4 0 0 1 0 8z"></path></svg>',fullscreen:'<svg xmlns="http://www.w3.org/2000/svg" height="36" width="36" viewBox="0 0 36 36">\t<path d="m 10,16 2,0 0,-4 4,0 0,-2 L 10,10 l 0,6 0,0 z"></path>\t<path d="m 20,10 0,2 4,0 0,4 2,0 L 26,10 l -6,0 0,0 z"></path>\t<path d="m 24,24 -4,0 0,2 L 26,26 l 0,-6 -2,0 0,4 0,0 z"></path>\t<path d="M 12,20 10,20 10,26 l 6,0 0,-2 -4,0 0,-4 0,0 z"></path></svg>',fullscreenWeb:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 36 36" height="36" width="36">\t<path d="m 28,11 0,14 -20,0 0,-14 z m -18,2 16,0 0,10 -16,0 0,-10 z" fill-rule="evenodd"></path></svg>',pip:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 36 36" height="32" width="32"><path d="M25,17 L17,17 L17,23 L25,23 L25,17 L25,17 Z M29,25 L29,10.98 C29,9.88 28.1,9 27,9 L9,9 C7.9,9 7,9.88 7,10.98 L7,25 C7,26.1 7.9,27 9,27 L27,27 C28.1,27 29,26.1 29,25 L29,25 Z M27,25.02 L9,25.02 L9,10.97 L27,10.97 L27,25.02 L27,25.02 Z"></path></svg>'},n.option.icons);Object.keys(i).forEach((function(e){Z(r,e,{get:function(){var t=document.createElement("i");return w(t,"art-icon"),w(t,"art-icon-".concat(e)),E(t,i[e]),t}})}))};function Lt(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function Mt(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Lt(Object(n),!0).forEach((function(t){re(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Lt(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function Dt(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function At(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Dt(Object(n),!0).forEach((function(t){re(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Dt(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function Ft(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function zt(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Ft(Object(n),!0).forEach((function(t){re(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Ft(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function Bt(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function Vt(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Bt(Object(n),!0).forEach((function(t){re(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Bt(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function Ut(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=c(e);if(t){var i=c(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return l(this,n)}}var Wt=function(t){a(r,t);var n=Ut(r);function r(t){var i;e(this,r),(i=n.call(this,t)).name="setting";var o=t.option,a=t.template,s=a.$setting,l=a.$settingBody,c=t.events.proxy;return i.$parent=l,o.setting&&(t.once("ready",(function(){c(s,"click",(function(e){e.target===s&&(i.show=!1)})),i.add(function(e){return function(t){var n=t.i18n;return Mt(Mt({},e),{},{html:'<div class="art-setting-header">'.concat(n.get("Flip"),'</div><div class="art-setting-radio"><div class="art-radio-item current"><button type="button" data-value="normal">').concat(n.get("Normal"),'</button></div><div class="art-radio-item"><button type="button" data-value="horizontal">').concat(n.get("Horizontal"),'</button></div><div class="art-radio-item"><button type="button" data-value="vertical">').concat(n.get("Vertical"),"</button></div></div>"),click:function(e,n){var r=n.target.dataset.value;r&&(t.flip=r)},mounted:function(e){t.on("flip",(function(t){var n=b("button",e).find((function(e){return e.dataset.value===t}));n&&T(n.parentElement,"current")}))}})}}({disable:!o.flip,name:"flip"})),i.add(function(e){return function(t){var n=t.i18n;return At(At({},e),{},{html:'<div class="art-setting-header">'.concat(n.get("Rotate"),': <span class="art-rotate-value">0\xb0</span></div><div class="art-setting-radio"><div class="art-radio-item"><button type="button" data-value="90">+90\xb0</button></div><div class="art-radio-item"><button type="button" data-value="-90">-90\xb0</button></div></div>'),click:function(e,n){var r=n.target.dataset.value;if(r){var i=t.rotate+Number(r);t.rotate=360===i||-360===i?0:i}else t.rotate=0},mounted:function(e){var n=y(".art-rotate-value",e);t.on("rotate",(function(e){n.innerText="".concat(e||0,"\xb0")}))}})}}({disable:!o.rotate,name:"rotate"})),i.add(function(e){return function(t){var n=t.i18n;return zt(zt({},e),{},{html:'<div class="art-setting-header">'.concat(n.get("Aspect ratio"),'</div><div class="art-setting-radio"><div class="art-radio-item current"><button type="button" data-value="default">').concat(n.get("Default"),'</button></div><div class="art-radio-item"><button type="button" data-value="4:3">4:3</button></div><div class="art-radio-item"><button type="button" data-value="16:9">16:9</button></div></div>'),click:function(e,n){var r=n.target.dataset.value;r&&(t.aspectRatio=r)},mounted:function(e){t.on("aspectRatio",(function(t){var n=b("button",e).find((function(e){return e.dataset.value===t}));n&&T(n.parentElement,"current")}))}})}}({disable:!o.aspectRatio,name:"aspectRatio"})),i.add(function(e){return function(t){var n=t.i18n,r=t.events.proxy;return Vt(Vt({},e),{},{html:'<div class="art-setting-header">'.concat(n.get("Play speed"),': <span class="art-subtitle-value">1.0</span>x</div><div class="art-setting-range"><input class="art-subtitle-range" value="1" type="range" min="0.5" max="2" step="0.25"></div>'),mounted:function(e){var n=y(".art-setting-range input",e),i=y(".art-subtitle-value",e);r(n,"change",(function(){var e=n.value;i.innerText=e,t.playbackRate=Number(e)})),t.on("playbackRate",(function(e){e&&n.value!==e&&(n.value=e,i.innerText=e)}))}})}}({disable:!o.playbackRate,name:"playbackRate"}));for(var e=0;e<o.settings.length;e++)i.add(o.settings[e])})),t.on("blur",(function(){i.show=!1}))),i}return r}(je),Ht=function(){function t(){e(this,t),this.name="artplayer_settings",this.settings={}}return r(t,[{key:"get",value:function(e){try{var t=JSON.parse(window.localStorage.getItem(this.name))||{};return e?t[e]:t}catch(t){return e?this.settings[e]:this.settings}}},{key:"set",value:function(e,t){try{var n=Object.assign({},this.get(),re({},e,t));window.localStorage.setItem(this.name,JSON.stringify(n))}catch(n){this.settings[e]=t}}},{key:"del",value:function(e){try{var t=this.get();delete t[e],window.localStorage.setItem(this.name,JSON.stringify(t))}catch(t){delete this.settings[e]}}},{key:"clean",value:function(){try{window.localStorage.removeItem(this.name)}catch(e){this.settings={}}}}]),t}();function Kt(e){var t=e.i18n,n=e.subtitle,r=e.events.proxy;return{title:"Subtitle",name:"subtitleOffset",index:20,html:'<div class="art-setting-header">'.concat(t.get("Subtitle offset time"),': <span class="art-subtitle-value">0</span>s</div><div class="art-setting-range"><input class="art-subtitle-range" value="0" type="range" min="-5" max="5" step="0.5"></div>'),mounted:function(t){var i=y(".art-setting-range input",t),o=y(".art-subtitle-value",t);r(i,"change",(function(){var t=i.value;o.innerText=t,e.plugins.subtitleOffset.offset(Number(t))})),e.on("subtitle:switch",(function(){i.value=0,o.innerText=0})),e.on("subtitleOffset",(function(e){n.update(),i.value!==e&&(i.value=e,o.innerText=e)}))}}}function Zt(e){var t=e.constructor.utils.clamp,n=e.setting,r=e.notice,i=e.template,o=e.i18n;n.add(Kt);var a=[];return e.on("subtitle:switch",(function(){a=[]})),{name:"subtitleOffset",offset:function(n){if(i.$track&&i.$track.track){for(var s=Array.from(i.$track.track.cues),l=t(n,-5,5),c=0;c<s.length;c++){var u=s[c];a[c]||(a[c]={startTime:u.startTime,endTime:u.endTime}),u.startTime=t(a[c].startTime+l,0,e.duration),u.endTime=t(a[c].endTime+l,0,e.duration)}r.show="".concat(o.get("Subtitle offset time"),": ").concat(n,"s"),e.emit("subtitleOffset",n)}else r.show="".concat(o.get("No subtitles found")),e.emit("subtitleOffset",0)}}}function Gt(e){var t=e.events.proxy,n=e.template,r=n.$video,i=n.$player,o=e.option,a=e.setting,s=e.i18n;function l(t){if(t){var n=r.canPlayType(t.type);if("maybe"===n||"probably"===n){var i=URL.createObjectURL(t);o.title=t.name,e.switchUrl(i,t.name),e.emit("localVideo",t)}else F(!1,"Playback of this file format is not supported")}}function c(e){var n=E(e,'<input type="file">');k(e,"position","relative"),C(n,{position:"absolute",width:"100%",height:"100%",left:"0",top:"0",opacity:"0"}),t(n,"change",(function(){l(n.files[0])}))}return t(i,"dragover",(function(e){e.preventDefault()})),t(i,"drop",(function(e){e.preventDefault(),l(e.dataTransfer.files[0])})),e.once("ready",(function(){a.add({title:"Local Video",name:"localVideo",index:30,html:'<div class="art-setting-header">'.concat(s.get("Local Video"),'</div><div class="art-setting-upload"><div class="art-upload-btn">').concat(s.get("Open"),'</div><div class="art-upload-value"></div></div>'),mounted:function(t){var n=y(".art-upload-btn",t),r=y(".art-upload-value",t);e.on("localVideo",(function(e){r.textContent=e.name,r.title=e.name})),c(n)}})})),{name:"localVideo",attach:c}}function qt(e){var t=e.events.proxy,n=e.subtitle,r=e.setting,i=e.i18n;function o(r){var i=E(r,'<input type="file">');k(r,"position","relative"),C(i,{position:"absolute",width:"100%",height:"100%",left:"0",top:"0",opacity:"0"}),t(i,"change",(function(){!function(t){if(t){var r=U(t.name);["ass","vtt","srt"].includes(r)?(n.switch(URL.createObjectURL(t),{name:t.name,ext:r}),e.emit("localSubtitle",t)):F(!1,"Only supports subtitle files in .ass, .vtt and .srt format")}}(i.files[0])}))}return e.once("ready",(function(){r.add({title:"Local Subtitle",name:"localSubtitle",index:40,html:'<div class="art-setting-header">'.concat(i.get("Local Subtitle"),'</div><div class="art-setting-upload"><div class="art-upload-btn">').concat(i.get("Open"),'</div><div class="art-upload-value"></div></div>'),mounted:function(t){var n=y(".art-upload-btn",t),r=y(".art-upload-value",t);e.on("localSubtitle",(function(e){r.textContent=e.name,r.title=e.name})),o(n)}})})),{name:"localSubtitle",attach:o}}function Xt(e){return e.layers.add({name:"miniProgressBar",style:{display:"none",position:"absolute",left:0,right:0,bottom:0,height:"2px",backgroundColor:"var(--theme)"},mounted:function(t){e.on("control",(function(e){t.style.display=e?"none":"block"})),e.on("destroy",(function(){t.style.display="none"})),e.on("video:timeupdate",(function(){t.style.width="".concat(100*e.played,"%")}))}}),{name:"miniProgressBar"}}var $t=function(){function t(n){e(this,t),this.art=n,this.id=0;var r=n.option;r.subtitle.url&&r.subtitleOffset&&this.add(Zt),!r.isLive&&r.miniProgressBar&&this.add(Xt),r.localVideo&&this.add(Gt),r.localSubtitle&&this.add(qt);for(var i=0;i<r.plugins.length;i++)this.add(r.plugins[i])}return r(t,[{key:"add",value:function(e){this.id+=1;var t=e.call(this,this.art),n=t&&t.name||e.name||"plugin".concat(this.id);return F(!q(this,n),"Cannot add a plugin that already has the same name: ".concat(n)),Z(this,n,{value:t}),this}}]),t}(),Yt=function(){function t(n){e(this,t),this.art=n,this.init()}return r(t,[{key:"current",get:function(){return this.art.option.ads[this.index]}},{key:"prev",get:function(){return this.art.option.ads[this.index-1]}},{key:"next",get:function(){return this.art.option.ads[this.index+1]}},{key:"init",value:function(){this.index=0,this.isEnd=!1,this.playing=!1,this.urlCache=this.art.option.url,this.current&&(this.playing=!0,this.play(this.current))}},{key:"play",value:function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this.isEnd||(this.art.switchUrl(t.url),this.art.once("video:timeupdate",(function(){e.art.emit("ads:start",t)})),this.art.once("video:ended",(function(){var t=e.next;t?(e.index+=1,e.play(t)):e.end()})))}},{key:"end",value:function(){this.isEnd||(this.isEnd=!0,this.playing=!1,this.art.option.url=this.urlCache,this.art.switchUrl(this.urlCache),this.art.emit("ads:end"))}}]),t}(),Jt=function t(n){e(this,t);for(var r=n.option,i=n.events.proxy,o=n.template.$video,a=0;a<he.events.length;a++)i(o,he.events[a],(function(e){n.emit("video:".concat(e.type),e)}));Object.keys(r.moreVideoAttr).forEach((function(e){o[e]=r.moreVideoAttr[e]})),r.muted&&(o.muted=r.muted),r.volume&&(o.volume=Q(r.volume,0,1)),r.poster&&(o.poster=r.poster),r.autoplay&&(o.autoplay=r.autoplay);var s=r.type||U(r.url),l=r.customType[s];s&&l?(l(o,r.url,n),n.emit("customType",s)):(o.src=r.url,n.emit("url",o.src))};function Qt(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=c(e);if(t){var i=c(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return l(this,n)}}var en=0,tn=[],nn=function(t){a(o,t);var n=Qt(o);function o(t){var r;e(this,o),(r=n.call(this)).id=++en;var a=$(o.option,t);return r.option=d(a,pe),r.isReady=!1,r.isFocus=!1,r.isDestroy=!1,r.whitelist=new ve(i(r)),r.template=new me(i(r)),r.events=new Et(i(r)),r.whitelist.state?(r.storage=new Ht(i(r)),r.icons=new It(i(r)),r.i18n=new be(i(r)),r.notice=new Pt(i(r)),r.player=new ke(i(r)),r.layers=new Ot(i(r)),r.controls=new it(i(r)),r.contextmenu=new mt(i(r)),r.subtitle=new St(i(r)),r.ads=new Yt(i(r)),r.info=new yt(i(r)),r.loading=new Tt(i(r)),r.hotkey=new kt(i(r)),r.mask=new _t(i(r)),r.setting=new Wt(i(r)),r.plugins=new $t(i(r))):r.mobile=new Jt(i(r)),tn.push(i(r)),r}return r(o,[{key:"proxy",get:function(){return this.events.proxy}},{key:"query",get:function(){return this.template.query}},{key:"destroy",value:function(){var e=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];this.events.destroy(),this.template.destroy(e),tn.splice(tn.indexOf(this),1),this.isDestroy=!0,this.emit("destroy")}}],[{key:"instances",get:function(){return tn}},{key:"version",get:function(){return"4.2.6"}},{key:"env",get:function(){return"production"}},{key:"build",get:function(){return"1642483742027"}},{key:"config",get:function(){return he}},{key:"utils",get:function(){return ne}},{key:"scheme",get:function(){return pe}},{key:"Emitter",get:function(){return f}},{key:"validator",get:function(){return d}},{key:"kindOf",get:function(){return d.kindOf}},{key:"html",get:function(){return me.html}},{key:"option",get:function(){return{container:"#artplayer",url:"",poster:"",title:"",type:"",theme:"#f00",volume:.7,isLive:!1,muted:!1,autoplay:!1,autoSize:!1,autoMini:!1,loop:!1,flip:!1,rotate:!1,playbackRate:!1,aspectRatio:!1,screenshot:!1,setting:!1,hotkey:!0,pip:!1,mutex:!0,backdrop:!0,fullscreen:!1,fullscreenWeb:!1,subtitleOffset:!1,miniProgressBar:!1,localVideo:!1,localSubtitle:!1,useSSR:!1,ads:[],layers:[],contextmenu:[],controls:[],settings:[],quality:[],highlight:[],plugins:[],whitelist:[],thumbnails:{url:"",number:60,column:10},subtitle:{url:"",type:"",style:{},encoding:"utf-8",bilingual:!1},moreVideoAttr:{controls:!1,preload:v?"auto":"metadata"},icons:{},customType:{},lang:navigator.language.toLowerCase()}}}]),o}(f);return console.log("%c ArtPlayer %c 4.2.6 %c https://artplayer.org","color: #fff; background: #5f5f5f","color: #fff; background: #4bc729",""),nn}()},5073:function(e,t,n){var r;r=function(e){return function(e){var t={};function n(r){if(t[r])return t[r].exports;var i=t[r]={i:r,l:!1,exports:{}};return e[r].call(i.exports,i,i.exports,n),i.l=!0,i.exports}return n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{configurable:!1,enumerable:!0,get:r})},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=0)}([function(e,t,n){e.exports=n(1)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.loadProgressBar=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:i.default,n=0,o=function(){t.interceptors.request.use((function(e){return n++,r.default.start(),e}))},s=function(){var e=function(e){return r.default.inc(a(e.loaded,e.total))};t.defaults.onDownloadProgress=e,t.defaults.onUploadProgress=e},l=function(){t.interceptors.response.use((function(e){return 0===--n&&r.default.done(),e}),(function(e){return 0===--n&&r.default.done(),Promise.reject(e)}))};r.default.configure(e),o(),s(),l()},n(2);var r=o(n(3)),i=o(n(4));function o(e){return e&&e.__esModule?e:{default:e}}var a=function(e,t){return Math.floor(1*e)/t}},function(e,t){},function(e,t,n){var r,i;r=function(){var e={version:"0.2.0"},t=e.settings={minimum:.08,easing:"ease",positionUsing:"",speed:200,trickle:!0,trickleRate:.02,trickleSpeed:800,showSpinner:!0,barSelector:'[role="bar"]',spinnerSelector:'[role="spinner"]',parent:"body",template:'<div class="bar" role="bar"><div class="peg"></div></div><div class="spinner" role="spinner"><div class="spinner-icon"></div></div>'};function n(e,t,n){return e<t?t:e>n?n:e}function r(e){return 100*(-1+e)}function i(e,n,i){var o;return(o="translate3d"===t.positionUsing?{transform:"translate3d("+r(e)+"%,0,0)"}:"translate"===t.positionUsing?{transform:"translate("+r(e)+"%,0)"}:{"margin-left":r(e)+"%"}).transition="all "+n+"ms "+i,o}e.configure=function(e){var n,r;for(n in e)void 0!==(r=e[n])&&e.hasOwnProperty(n)&&(t[n]=r);return this},e.status=null,e.set=function(r){var s=e.isStarted();r=n(r,t.minimum,1),e.status=1===r?null:r;var l=e.render(!s),c=l.querySelector(t.barSelector),u=t.speed,d=t.easing;return l.offsetWidth,o((function(n){""===t.positionUsing&&(t.positionUsing=e.getPositioningCSS()),a(c,i(r,u,d)),1===r?(a(l,{transition:"none",opacity:1}),l.offsetWidth,setTimeout((function(){a(l,{transition:"all "+u+"ms linear",opacity:0}),setTimeout((function(){e.remove(),n()}),u)}),u)):setTimeout(n,u)})),this},e.isStarted=function(){return"number"===typeof e.status},e.start=function(){e.status||e.set(0);var n=function n(){setTimeout((function(){e.status&&(e.trickle(),n())}),t.trickleSpeed)};return t.trickle&&n(),this},e.done=function(t){return t||e.status?e.inc(.3+.5*Math.random()).set(1):this},e.inc=function(t){var r=e.status;return r?("number"!==typeof t&&(t=(1-r)*n(Math.random()*r,.1,.95)),r=n(r+t,0,.994),e.set(r)):e.start()},e.trickle=function(){return e.inc(Math.random()*t.trickleRate)},function(){var t=0,n=0;e.promise=function(r){return r&&"resolved"!==r.state()?(0===n&&e.start(),t++,n++,r.always((function(){0===--n?(t=0,e.done()):e.set((t-n)/t)})),this):this}}(),e.render=function(n){if(e.isRendered())return document.getElementById("nprogress");l(document.documentElement,"nprogress-busy");var i=document.createElement("div");i.id="nprogress",i.innerHTML=t.template;var o,s=i.querySelector(t.barSelector),c=n?"-100":r(e.status||0),u=document.querySelector(t.parent);return a(s,{transition:"all 0 linear",transform:"translate3d("+c+"%,0,0)"}),t.showSpinner||(o=i.querySelector(t.spinnerSelector))&&d(o),u!=document.body&&l(u,"nprogress-custom-parent"),u.appendChild(i),i},e.remove=function(){c(document.documentElement,"nprogress-busy"),c(document.querySelector(t.parent),"nprogress-custom-parent");var e=document.getElementById("nprogress");e&&d(e)},e.isRendered=function(){return!!document.getElementById("nprogress")},e.getPositioningCSS=function(){var e=document.body.style,t="WebkitTransform"in e?"Webkit":"MozTransform"in e?"Moz":"msTransform"in e?"ms":"OTransform"in e?"O":"";return t+"Perspective"in e?"translate3d":t+"Transform"in e?"translate":"margin"};var o=function(){var e=[];function t(){var n=e.shift();n&&n(t)}return function(n){e.push(n),1==e.length&&t()}}(),a=function(){var e=["Webkit","O","Moz","ms"],t={};function n(e){return e.replace(/^-ms-/,"ms-").replace(/-([\da-z])/gi,(function(e,t){return t.toUpperCase()}))}function r(t){var n=document.body.style;if(t in n)return t;for(var r,i=e.length,o=t.charAt(0).toUpperCase()+t.slice(1);i--;)if((r=e[i]+o)in n)return r;return t}function i(e){return e=n(e),t[e]||(t[e]=r(e))}function o(e,t,n){t=i(t),e.style[t]=n}return function(e,t){var n,r,i=arguments;if(2==i.length)for(n in t)void 0!==(r=t[n])&&t.hasOwnProperty(n)&&o(e,n,r);else o(e,i[1],i[2])}}();function s(e,t){return("string"==typeof e?e:u(e)).indexOf(" "+t+" ")>=0}function l(e,t){var n=u(e),r=n+t;s(n,t)||(e.className=r.substring(1))}function c(e,t){var n,r=u(e);s(e,t)&&(n=r.replace(" "+t+" "," "),e.className=n.substring(1,n.length-1))}function u(e){return(" "+(e.className||"")+" ").replace(/\s+/gi," ")}function d(e){e&&e.parentNode&&e.parentNode.removeChild(e)}return e},void 0===(i="function"===typeof r?r.call(t,n,t,e):r)||(e.exports=i)},function(t,n){t.exports=e}])},e.exports=r(n(4569))},4569:function(e,t,n){e.exports=n(8036)},3381:function(e,t,n){"use strict";var r=n(3589),i=n(7297),o=n(9301),a=n(9774),s=n(1804),l=n(9145),c=n(5411),u=n(6467),d=n(221),f=n(9346);e.exports=function(e){return new Promise((function(t,n){var p,h=e.data,v=e.headers,m=e.responseType;function g(){e.cancelToken&&e.cancelToken.unsubscribe(p),e.signal&&e.signal.removeEventListener("abort",p)}r.isFormData(h)&&delete v["Content-Type"];var y=new XMLHttpRequest;if(e.auth){var b=e.auth.username||"",w=e.auth.password?unescape(encodeURIComponent(e.auth.password)):"";v.Authorization="Basic "+btoa(b+":"+w)}var x=s(e.baseURL,e.url);function S(){if(y){var r="getAllResponseHeaders"in y?l(y.getAllResponseHeaders()):null,o={data:m&&"text"!==m&&"json"!==m?y.response:y.responseText,status:y.status,statusText:y.statusText,headers:r,config:e,request:y};i((function(e){t(e),g()}),(function(e){n(e),g()}),o),y=null}}if(y.open(e.method.toUpperCase(),a(x,e.params,e.paramsSerializer),!0),y.timeout=e.timeout,"onloadend"in y?y.onloadend=S:y.onreadystatechange=function(){y&&4===y.readyState&&(0!==y.status||y.responseURL&&0===y.responseURL.indexOf("file:"))&&setTimeout(S)},y.onabort=function(){y&&(n(u("Request aborted",e,"ECONNABORTED",y)),y=null)},y.onerror=function(){n(u("Network Error",e,null,y)),y=null},y.ontimeout=function(){var t=e.timeout?"timeout of "+e.timeout+"ms exceeded":"timeout exceeded",r=e.transitional||d.transitional;e.timeoutErrorMessage&&(t=e.timeoutErrorMessage),n(u(t,e,r.clarifyTimeoutError?"ETIMEDOUT":"ECONNABORTED",y)),y=null},r.isStandardBrowserEnv()){var E=(e.withCredentials||c(x))&&e.xsrfCookieName?o.read(e.xsrfCookieName):void 0;E&&(v[e.xsrfHeaderName]=E)}"setRequestHeader"in y&&r.forEach(v,(function(e,t){"undefined"===typeof h&&"content-type"===t.toLowerCase()?delete v[t]:y.setRequestHeader(t,e)})),r.isUndefined(e.withCredentials)||(y.withCredentials=!!e.withCredentials),m&&"json"!==m&&(y.responseType=e.responseType),"function"===typeof e.onDownloadProgress&&y.addEventListener("progress",e.onDownloadProgress),"function"===typeof e.onUploadProgress&&y.upload&&y.upload.addEventListener("progress",e.onUploadProgress),(e.cancelToken||e.signal)&&(p=function(e){y&&(n(!e||e&&e.type?new f("canceled"):e),y.abort(),y=null)},e.cancelToken&&e.cancelToken.subscribe(p),e.signal&&(e.signal.aborted?p():e.signal.addEventListener("abort",p))),h||(h=null),y.send(h)}))}},8036:function(e,t,n){"use strict";var r=n(3589),i=n(4049),o=n(3773),a=n(777);var s=function e(t){var n=new o(t),s=i(o.prototype.request,n);return r.extend(s,o.prototype,n),r.extend(s,n),s.create=function(n){return e(a(t,n))},s}(n(221));s.Axios=o,s.Cancel=n(9346),s.CancelToken=n(6857),s.isCancel=n(5517),s.VERSION=n(7600).version,s.all=function(e){return Promise.all(e)},s.spread=n(8089),s.isAxiosError=n(9580),e.exports=s,e.exports.default=s},9346:function(e){"use strict";function t(e){this.message=e}t.prototype.toString=function(){return"Cancel"+(this.message?": "+this.message:"")},t.prototype.__CANCEL__=!0,e.exports=t},6857:function(e,t,n){"use strict";var r=n(9346);function i(e){if("function"!==typeof e)throw new TypeError("executor must be a function.");var t;this.promise=new Promise((function(e){t=e}));var n=this;this.promise.then((function(e){if(n._listeners){var t,r=n._listeners.length;for(t=0;t<r;t++)n._listeners[t](e);n._listeners=null}})),this.promise.then=function(e){var t,r=new Promise((function(e){n.subscribe(e),t=e})).then(e);return r.cancel=function(){n.unsubscribe(t)},r},e((function(e){n.reason||(n.reason=new r(e),t(n.reason))}))}i.prototype.throwIfRequested=function(){if(this.reason)throw this.reason},i.prototype.subscribe=function(e){this.reason?e(this.reason):this._listeners?this._listeners.push(e):this._listeners=[e]},i.prototype.unsubscribe=function(e){if(this._listeners){var t=this._listeners.indexOf(e);-1!==t&&this._listeners.splice(t,1)}},i.source=function(){var e;return{token:new i((function(t){e=t})),cancel:e}},e.exports=i},5517:function(e){"use strict";e.exports=function(e){return!(!e||!e.__CANCEL__)}},3773:function(e,t,n){"use strict";var r=n(3589),i=n(9774),o=n(7470),a=n(2733),s=n(777),l=n(7835),c=l.validators;function u(e){this.defaults=e,this.interceptors={request:new o,response:new o}}u.prototype.request=function(e,t){if("string"===typeof e?(t=t||{}).url=e:t=e||{},!t.url)throw new Error("Provided config url is not valid");(t=s(this.defaults,t)).method?t.method=t.method.toLowerCase():this.defaults.method?t.method=this.defaults.method.toLowerCase():t.method="get";var n=t.transitional;void 0!==n&&l.assertOptions(n,{silentJSONParsing:c.transitional(c.boolean),forcedJSONParsing:c.transitional(c.boolean),clarifyTimeoutError:c.transitional(c.boolean)},!1);var r=[],i=!0;this.interceptors.request.forEach((function(e){"function"===typeof e.runWhen&&!1===e.runWhen(t)||(i=i&&e.synchronous,r.unshift(e.fulfilled,e.rejected))}));var o,u=[];if(this.interceptors.response.forEach((function(e){u.push(e.fulfilled,e.rejected)})),!i){var d=[a,void 0];for(Array.prototype.unshift.apply(d,r),d=d.concat(u),o=Promise.resolve(t);d.length;)o=o.then(d.shift(),d.shift());return o}for(var f=t;r.length;){var p=r.shift(),h=r.shift();try{f=p(f)}catch(v){h(v);break}}try{o=a(f)}catch(v){return Promise.reject(v)}for(;u.length;)o=o.then(u.shift(),u.shift());return o},u.prototype.getUri=function(e){if(!e.url)throw new Error("Provided config url is not valid");return e=s(this.defaults,e),i(e.url,e.params,e.paramsSerializer).replace(/^\?/,"")},r.forEach(["delete","get","head","options"],(function(e){u.prototype[e]=function(t,n){return this.request(s(n||{},{method:e,url:t,data:(n||{}).data}))}})),r.forEach(["post","put","patch"],(function(e){u.prototype[e]=function(t,n,r){return this.request(s(r||{},{method:e,url:t,data:n}))}})),e.exports=u},7470:function(e,t,n){"use strict";var r=n(3589);function i(){this.handlers=[]}i.prototype.use=function(e,t,n){return this.handlers.push({fulfilled:e,rejected:t,synchronous:!!n&&n.synchronous,runWhen:n?n.runWhen:null}),this.handlers.length-1},i.prototype.eject=function(e){this.handlers[e]&&(this.handlers[e]=null)},i.prototype.forEach=function(e){r.forEach(this.handlers,(function(t){null!==t&&e(t)}))},e.exports=i},1804:function(e,t,n){"use strict";var r=n(4044),i=n(9549);e.exports=function(e,t){return e&&!r(t)?i(e,t):t}},6467:function(e,t,n){"use strict";var r=n(6460);e.exports=function(e,t,n,i,o){var a=new Error(e);return r(a,t,n,i,o)}},2733:function(e,t,n){"use strict";var r=n(3589),i=n(2693),o=n(5517),a=n(221),s=n(9346);function l(e){if(e.cancelToken&&e.cancelToken.throwIfRequested(),e.signal&&e.signal.aborted)throw new s("canceled")}e.exports=function(e){return l(e),e.headers=e.headers||{},e.data=i.call(e,e.data,e.headers,e.transformRequest),e.headers=r.merge(e.headers.common||{},e.headers[e.method]||{},e.headers),r.forEach(["delete","get","head","post","put","patch","common"],(function(t){delete e.headers[t]})),(e.adapter||a.adapter)(e).then((function(t){return l(e),t.data=i.call(e,t.data,t.headers,e.transformResponse),t}),(function(t){return o(t)||(l(e),t&&t.response&&(t.response.data=i.call(e,t.response.data,t.response.headers,e.transformResponse))),Promise.reject(t)}))}},6460:function(e){"use strict";e.exports=function(e,t,n,r,i){return e.config=t,n&&(e.code=n),e.request=r,e.response=i,e.isAxiosError=!0,e.toJSON=function(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:this.config,code:this.code,status:this.response&&this.response.status?this.response.status:null}},e}},777:function(e,t,n){"use strict";var r=n(3589);e.exports=function(e,t){t=t||{};var n={};function i(e,t){return r.isPlainObject(e)&&r.isPlainObject(t)?r.merge(e,t):r.isPlainObject(t)?r.merge({},t):r.isArray(t)?t.slice():t}function o(n){return r.isUndefined(t[n])?r.isUndefined(e[n])?void 0:i(void 0,e[n]):i(e[n],t[n])}function a(e){if(!r.isUndefined(t[e]))return i(void 0,t[e])}function s(n){return r.isUndefined(t[n])?r.isUndefined(e[n])?void 0:i(void 0,e[n]):i(void 0,t[n])}function l(n){return n in t?i(e[n],t[n]):n in e?i(void 0,e[n]):void 0}var c={url:a,method:a,data:a,baseURL:s,transformRequest:s,transformResponse:s,paramsSerializer:s,timeout:s,timeoutMessage:s,withCredentials:s,adapter:s,responseType:s,xsrfCookieName:s,xsrfHeaderName:s,onUploadProgress:s,onDownloadProgress:s,decompress:s,maxContentLength:s,maxBodyLength:s,transport:s,httpAgent:s,httpsAgent:s,cancelToken:s,socketPath:s,responseEncoding:s,validateStatus:l};return r.forEach(Object.keys(e).concat(Object.keys(t)),(function(e){var t=c[e]||o,i=t(e);r.isUndefined(i)&&t!==l||(n[e]=i)})),n}},7297:function(e,t,n){"use strict";var r=n(6467);e.exports=function(e,t,n){var i=n.config.validateStatus;n.status&&i&&!i(n.status)?t(r("Request failed with status code "+n.status,n.config,null,n.request,n)):e(n)}},2693:function(e,t,n){"use strict";var r=n(3589),i=n(221);e.exports=function(e,t,n){var o=this||i;return r.forEach(n,(function(n){e=n.call(o,e,t)})),e}},221:function(e,t,n){"use strict";var r=n(3589),i=n(4341),o=n(6460),a={"Content-Type":"application/x-www-form-urlencoded"};function s(e,t){!r.isUndefined(e)&&r.isUndefined(e["Content-Type"])&&(e["Content-Type"]=t)}var l={transitional:{silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},adapter:function(){var e;return("undefined"!==typeof XMLHttpRequest||"undefined"!==typeof process&&"[object process]"===Object.prototype.toString.call(process))&&(e=n(3381)),e}(),transformRequest:[function(e,t){return i(t,"Accept"),i(t,"Content-Type"),r.isFormData(e)||r.isArrayBuffer(e)||r.isBuffer(e)||r.isStream(e)||r.isFile(e)||r.isBlob(e)?e:r.isArrayBufferView(e)?e.buffer:r.isURLSearchParams(e)?(s(t,"application/x-www-form-urlencoded;charset=utf-8"),e.toString()):r.isObject(e)||t&&"application/json"===t["Content-Type"]?(s(t,"application/json"),function(e,t,n){if(r.isString(e))try{return(t||JSON.parse)(e),r.trim(e)}catch(i){if("SyntaxError"!==i.name)throw i}return(n||JSON.stringify)(e)}(e)):e}],transformResponse:[function(e){var t=this.transitional||l.transitional,n=t&&t.silentJSONParsing,i=t&&t.forcedJSONParsing,a=!n&&"json"===this.responseType;if(a||i&&r.isString(e)&&e.length)try{return JSON.parse(e)}catch(s){if(a){if("SyntaxError"===s.name)throw o(s,this,"E_JSON_PARSE");throw s}}return e}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,validateStatus:function(e){return e>=200&&e<300},headers:{common:{Accept:"application/json, text/plain, */*"}}};r.forEach(["delete","get","head"],(function(e){l.headers[e]={}})),r.forEach(["post","put","patch"],(function(e){l.headers[e]=r.merge(a)})),e.exports=l},7600:function(e){e.exports={version:"0.25.0"}},4049:function(e){"use strict";e.exports=function(e,t){return function(){for(var n=new Array(arguments.length),r=0;r<n.length;r++)n[r]=arguments[r];return e.apply(t,n)}}},9774:function(e,t,n){"use strict";var r=n(3589);function i(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}e.exports=function(e,t,n){if(!t)return e;var o;if(n)o=n(t);else if(r.isURLSearchParams(t))o=t.toString();else{var a=[];r.forEach(t,(function(e,t){null!==e&&"undefined"!==typeof e&&(r.isArray(e)?t+="[]":e=[e],r.forEach(e,(function(e){r.isDate(e)?e=e.toISOString():r.isObject(e)&&(e=JSON.stringify(e)),a.push(i(t)+"="+i(e))})))})),o=a.join("&")}if(o){var s=e.indexOf("#");-1!==s&&(e=e.slice(0,s)),e+=(-1===e.indexOf("?")?"?":"&")+o}return e}},9549:function(e){"use strict";e.exports=function(e,t){return t?e.replace(/\/+$/,"")+"/"+t.replace(/^\/+/,""):e}},9301:function(e,t,n){"use strict";var r=n(3589);e.exports=r.isStandardBrowserEnv()?{write:function(e,t,n,i,o,a){var s=[];s.push(e+"="+encodeURIComponent(t)),r.isNumber(n)&&s.push("expires="+new Date(n).toGMTString()),r.isString(i)&&s.push("path="+i),r.isString(o)&&s.push("domain="+o),!0===a&&s.push("secure"),document.cookie=s.join("; ")},read:function(e){var t=document.cookie.match(new RegExp("(^|;\\s*)("+e+")=([^;]*)"));return t?decodeURIComponent(t[3]):null},remove:function(e){this.write(e,"",Date.now()-864e5)}}:{write:function(){},read:function(){return null},remove:function(){}}},4044:function(e){"use strict";e.exports=function(e){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(e)}},9580:function(e,t,n){"use strict";var r=n(3589);e.exports=function(e){return r.isObject(e)&&!0===e.isAxiosError}},5411:function(e,t,n){"use strict";var r=n(3589);e.exports=r.isStandardBrowserEnv()?function(){var e,t=/(msie|trident)/i.test(navigator.userAgent),n=document.createElement("a");function i(e){var r=e;return t&&(n.setAttribute("href",r),r=n.href),n.setAttribute("href",r),{href:n.href,protocol:n.protocol?n.protocol.replace(/:$/,""):"",host:n.host,search:n.search?n.search.replace(/^\?/,""):"",hash:n.hash?n.hash.replace(/^#/,""):"",hostname:n.hostname,port:n.port,pathname:"/"===n.pathname.charAt(0)?n.pathname:"/"+n.pathname}}return e=i(window.location.href),function(t){var n=r.isString(t)?i(t):t;return n.protocol===e.protocol&&n.host===e.host}}():function(){return!0}},4341:function(e,t,n){"use strict";var r=n(3589);e.exports=function(e,t){r.forEach(e,(function(n,r){r!==t&&r.toUpperCase()===t.toUpperCase()&&(e[t]=n,delete e[r])}))}},9145:function(e,t,n){"use strict";var r=n(3589),i=["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"];e.exports=function(e){var t,n,o,a={};return e?(r.forEach(e.split("\n"),(function(e){if(o=e.indexOf(":"),t=r.trim(e.substr(0,o)).toLowerCase(),n=r.trim(e.substr(o+1)),t){if(a[t]&&i.indexOf(t)>=0)return;a[t]="set-cookie"===t?(a[t]?a[t]:[]).concat([n]):a[t]?a[t]+", "+n:n}})),a):a}},8089:function(e){"use strict";e.exports=function(e){return function(t){return e.apply(null,t)}}},7835:function(e,t,n){"use strict";var r=n(7600).version,i={};["object","boolean","number","function","string","symbol"].forEach((function(e,t){i[e]=function(n){return typeof n===e||"a"+(t<1?"n ":" ")+e}}));var o={};i.transitional=function(e,t,n){function i(e,t){return"[Axios v"+r+"] Transitional option '"+e+"'"+t+(n?". "+n:"")}return function(n,r,a){if(!1===e)throw new Error(i(r," has been removed"+(t?" in "+t:"")));return t&&!o[r]&&(o[r]=!0,console.warn(i(r," has been deprecated since v"+t+" and will be removed in the near future"))),!e||e(n,r,a)}},e.exports={assertOptions:function(e,t,n){if("object"!==typeof e)throw new TypeError("options must be an object");for(var r=Object.keys(e),i=r.length;i-- >0;){var o=r[i],a=t[o];if(a){var s=e[o],l=void 0===s||a(s,o,e);if(!0!==l)throw new TypeError("option "+o+" must be "+l)}else if(!0!==n)throw Error("Unknown option "+o)}},validators:i}},3589:function(e,t,n){"use strict";var r=n(4049),i=Object.prototype.toString;function o(e){return Array.isArray(e)}function a(e){return"undefined"===typeof e}function s(e){return"[object ArrayBuffer]"===i.call(e)}function l(e){return null!==e&&"object"===typeof e}function c(e){if("[object Object]"!==i.call(e))return!1;var t=Object.getPrototypeOf(e);return null===t||t===Object.prototype}function u(e){return"[object Function]"===i.call(e)}function d(e,t){if(null!==e&&"undefined"!==typeof e)if("object"!==typeof e&&(e=[e]),o(e))for(var n=0,r=e.length;n<r;n++)t.call(null,e[n],n,e);else for(var i in e)Object.prototype.hasOwnProperty.call(e,i)&&t.call(null,e[i],i,e)}e.exports={isArray:o,isArrayBuffer:s,isBuffer:function(e){return null!==e&&!a(e)&&null!==e.constructor&&!a(e.constructor)&&"function"===typeof e.constructor.isBuffer&&e.constructor.isBuffer(e)},isFormData:function(e){return"[object FormData]"===i.call(e)},isArrayBufferView:function(e){return"undefined"!==typeof ArrayBuffer&&ArrayBuffer.isView?ArrayBuffer.isView(e):e&&e.buffer&&s(e.buffer)},isString:function(e){return"string"===typeof e},isNumber:function(e){return"number"===typeof e},isObject:l,isPlainObject:c,isUndefined:a,isDate:function(e){return"[object Date]"===i.call(e)},isFile:function(e){return"[object File]"===i.call(e)},isBlob:function(e){return"[object Blob]"===i.call(e)},isFunction:u,isStream:function(e){return l(e)&&u(e.pipe)},isURLSearchParams:function(e){return"[object URLSearchParams]"===i.call(e)},isStandardBrowserEnv:function(){return("undefined"===typeof navigator||"ReactNative"!==navigator.product&&"NativeScript"!==navigator.product&&"NS"!==navigator.product)&&("undefined"!==typeof window&&"undefined"!==typeof document)},forEach:d,merge:function e(){var t={};function n(n,r){c(t[r])&&c(n)?t[r]=e(t[r],n):c(n)?t[r]=e({},n):o(n)?t[r]=n.slice():t[r]=n}for(var r=0,i=arguments.length;r<i;r++)d(arguments[r],n);return t},extend:function(e,t,n){return d(t,(function(t,i){e[i]=n&&"function"===typeof t?r(t,n):t})),e},trim:function(e){return e.trim?e.trim():e.replace(/^\s+|\s+$/g,"")},stripBOM:function(e){return 65279===e.charCodeAt(0)&&(e=e.slice(1)),e}}},1694:function(e,t){var n;!function(){"use strict";var r={}.hasOwnProperty;function i(){for(var e=[],t=0;t<arguments.length;t++){var n=arguments[t];if(n){var o=typeof n;if("string"===o||"number"===o)e.push(n);else if(Array.isArray(n)){if(n.length){var a=i.apply(null,n);a&&e.push(a)}}else if("object"===o)if(n.toString===Object.prototype.toString)for(var s in n)r.call(n,s)&&n[s]&&e.push(s);else e.push(n.toString())}}return e.join(" ")}e.exports?(i.default=i,e.exports=i):void 0===(n=function(){return i}.apply(t,[]))||(e.exports=n)}()},2176:function(e){"use strict";e.exports=function(e,t,n,r,i,o,a,s){if(!e){var l;if(void 0===t)l=new Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var c=[n,r,i,o,a,s],u=0;(l=new Error(t.replace(/%s/g,(function(){return c[u++]})))).name="Invariant Violation"}throw l.framesToPop=1,l}}},1725:function(e){"use strict";var t=Object.getOwnPropertySymbols,n=Object.prototype.hasOwnProperty,r=Object.prototype.propertyIsEnumerable;function i(e){if(null===e||void 0===e)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(e)}e.exports=function(){try{if(!Object.assign)return!1;var e=new String("abc");if(e[5]="de","5"===Object.getOwnPropertyNames(e)[0])return!1;for(var t={},n=0;n<10;n++)t["_"+String.fromCharCode(n)]=n;if("0123456789"!==Object.getOwnPropertyNames(t).map((function(e){return t[e]})).join(""))return!1;var r={};return"abcdefghijklmnopqrst".split("").forEach((function(e){r[e]=e})),"abcdefghijklmnopqrst"===Object.keys(Object.assign({},r)).join("")}catch(i){return!1}}()?Object.assign:function(e,o){for(var a,s,l=i(e),c=1;c<arguments.length;c++){for(var u in a=Object(arguments[c]))n.call(a,u)&&(l[u]=a[u]);if(t){s=t(a);for(var d=0;d<s.length;d++)r.call(a,s[d])&&(l[s[d]]=a[s[d]])}}return l}},3573:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];function r(){for(var e=arguments.length,n=Array(e),r=0;r<e;r++)n[r]=arguments[r];var i=null;return t.forEach((function(e){if(null==i){var t=e.apply(void 0,n);null!=t&&(i=t)}})),i}return(0,o.default)(r)};var r,i=n(6054),o=(r=i)&&r.__esModule?r:{default:r};e.exports=t.default},6054:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){function t(t,n,r,i,o,a){var s=i||"<<anonymous>>",l=a||r;if(null==n[r])return t?new Error("Required "+o+" `"+l+"` was not specified in `"+s+"`."):null;for(var c=arguments.length,u=Array(c>6?c-6:0),d=6;d<c;d++)u[d-6]=arguments[d];return e.apply(void 0,[n,r,s,o,l].concat(u))}var n=t.bind(null,!1);return n.isRequired=t.bind(null,!0),n},e.exports=t.default},888:function(e,t,n){"use strict";var r=n(9047);function i(){}function o(){}o.resetWarningCache=i,e.exports=function(){function e(e,t,n,i,o,a){if(a!==r){var s=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw s.name="Invariant Violation",s}}function t(){return e}e.isRequired=e;var n={array:e,bigint:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:o,resetWarningCache:i};return n.PropTypes=n,n}},2007:function(e,t,n){e.exports=n(888)()},9047:function(e){"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},4463:function(e,t,n){"use strict";var r=n(2791),i=n(1725),o=n(5296);function a(e){for(var t="https://reactjs.org/docs/error-decoder.html?invariant="+e,n=1;n<arguments.length;n++)t+="&args[]="+encodeURIComponent(arguments[n]);return"Minified React error #"+e+"; visit "+t+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}if(!r)throw Error(a(227));var s=new Set,l={};function c(e,t){u(e,t),u(e+"Capture",t)}function u(e,t){for(l[e]=t,e=0;e<t.length;e++)s.add(t[e])}var d=!("undefined"===typeof window||"undefined"===typeof window.document||"undefined"===typeof window.document.createElement),f=/^[:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD][:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\-.0-9\u00B7\u0300-\u036F\u203F-\u2040]*$/,p=Object.prototype.hasOwnProperty,h={},v={};function m(e,t,n,r,i,o,a){this.acceptsBooleans=2===t||3===t||4===t,this.attributeName=r,this.attributeNamespace=i,this.mustUseProperty=n,this.propertyName=e,this.type=t,this.sanitizeURL=o,this.removeEmptyString=a}var g={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach((function(e){g[e]=new m(e,0,!1,e,null,!1,!1)})),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach((function(e){var t=e[0];g[t]=new m(t,1,!1,e[1],null,!1,!1)})),["contentEditable","draggable","spellCheck","value"].forEach((function(e){g[e]=new m(e,2,!1,e.toLowerCase(),null,!1,!1)})),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach((function(e){g[e]=new m(e,2,!1,e,null,!1,!1)})),"allowFullScreen async autoFocus autoPlay controls default defer disabled disablePictureInPicture disableRemotePlayback formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope".split(" ").forEach((function(e){g[e]=new m(e,3,!1,e.toLowerCase(),null,!1,!1)})),["checked","multiple","muted","selected"].forEach((function(e){g[e]=new m(e,3,!0,e,null,!1,!1)})),["capture","download"].forEach((function(e){g[e]=new m(e,4,!1,e,null,!1,!1)})),["cols","rows","size","span"].forEach((function(e){g[e]=new m(e,6,!1,e,null,!1,!1)})),["rowSpan","start"].forEach((function(e){g[e]=new m(e,5,!1,e.toLowerCase(),null,!1,!1)}));var y=/[\-:]([a-z])/g;function b(e){return e[1].toUpperCase()}function w(e,t,n,r){var i=g.hasOwnProperty(t)?g[t]:null;(null!==i?0===i.type:!r&&(2<t.length&&("o"===t[0]||"O"===t[0])&&("n"===t[1]||"N"===t[1])))||(function(e,t,n,r){if(null===t||"undefined"===typeof t||function(e,t,n,r){if(null!==n&&0===n.type)return!1;switch(typeof t){case"function":case"symbol":return!0;case"boolean":return!r&&(null!==n?!n.acceptsBooleans:"data-"!==(e=e.toLowerCase().slice(0,5))&&"aria-"!==e);default:return!1}}(e,t,n,r))return!0;if(r)return!1;if(null!==n)switch(n.type){case 3:return!t;case 4:return!1===t;case 5:return isNaN(t);case 6:return isNaN(t)||1>t}return!1}(t,n,i,r)&&(n=null),r||null===i?function(e){return!!p.call(v,e)||!p.call(h,e)&&(f.test(e)?v[e]=!0:(h[e]=!0,!1))}(t)&&(null===n?e.removeAttribute(t):e.setAttribute(t,""+n)):i.mustUseProperty?e[i.propertyName]=null===n?3!==i.type&&"":n:(t=i.attributeName,r=i.attributeNamespace,null===n?e.removeAttribute(t):(n=3===(i=i.type)||4===i&&!0===n?"":""+n,r?e.setAttributeNS(r,t,n):e.setAttribute(t,n))))}"accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height".split(" ").forEach((function(e){var t=e.replace(y,b);g[t]=new m(t,1,!1,e,null,!1,!1)})),"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach((function(e){var t=e.replace(y,b);g[t]=new m(t,1,!1,e,"http://www.w3.org/1999/xlink",!1,!1)})),["xml:base","xml:lang","xml:space"].forEach((function(e){var t=e.replace(y,b);g[t]=new m(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)})),["tabIndex","crossOrigin"].forEach((function(e){g[e]=new m(e,1,!1,e.toLowerCase(),null,!1,!1)})),g.xlinkHref=new m("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1),["src","href","action","formAction"].forEach((function(e){g[e]=new m(e,1,!1,e.toLowerCase(),null,!0,!0)}));var x=r.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,S=60103,E=60106,k=60107,C=60108,O=60114,j=60109,T=60110,P=60112,N=60113,_=60120,R=60115,I=60116,L=60121,M=60128,D=60129,A=60130,F=60131;if("function"===typeof Symbol&&Symbol.for){var z=Symbol.for;S=z("react.element"),E=z("react.portal"),k=z("react.fragment"),C=z("react.strict_mode"),O=z("react.profiler"),j=z("react.provider"),T=z("react.context"),P=z("react.forward_ref"),N=z("react.suspense"),_=z("react.suspense_list"),R=z("react.memo"),I=z("react.lazy"),L=z("react.block"),z("react.scope"),M=z("react.opaque.id"),D=z("react.debug_trace_mode"),A=z("react.offscreen"),F=z("react.legacy_hidden")}var B,V="function"===typeof Symbol&&Symbol.iterator;function U(e){return null===e||"object"!==typeof e?null:"function"===typeof(e=V&&e[V]||e["@@iterator"])?e:null}function W(e){if(void 0===B)try{throw Error()}catch(n){var t=n.stack.trim().match(/\n( *(at )?)/);B=t&&t[1]||""}return"\n"+B+e}var H=!1;function K(e,t){if(!e||H)return"";H=!0;var n=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{if(t)if(t=function(){throw Error()},Object.defineProperty(t.prototype,"props",{set:function(){throw Error()}}),"object"===typeof Reflect&&Reflect.construct){try{Reflect.construct(t,[])}catch(l){var r=l}Reflect.construct(e,[],t)}else{try{t.call()}catch(l){r=l}e.call(t.prototype)}else{try{throw Error()}catch(l){r=l}e()}}catch(l){if(l&&r&&"string"===typeof l.stack){for(var i=l.stack.split("\n"),o=r.stack.split("\n"),a=i.length-1,s=o.length-1;1<=a&&0<=s&&i[a]!==o[s];)s--;for(;1<=a&&0<=s;a--,s--)if(i[a]!==o[s]){if(1!==a||1!==s)do{if(a--,0>--s||i[a]!==o[s])return"\n"+i[a].replace(" at new "," at ")}while(1<=a&&0<=s);break}}}finally{H=!1,Error.prepareStackTrace=n}return(e=e?e.displayName||e.name:"")?W(e):""}function Z(e){switch(e.tag){case 5:return W(e.type);case 16:return W("Lazy");case 13:return W("Suspense");case 19:return W("SuspenseList");case 0:case 2:case 15:return e=K(e.type,!1);case 11:return e=K(e.type.render,!1);case 22:return e=K(e.type._render,!1);case 1:return e=K(e.type,!0);default:return""}}function G(e){if(null==e)return null;if("function"===typeof e)return e.displayName||e.name||null;if("string"===typeof e)return e;switch(e){case k:return"Fragment";case E:return"Portal";case O:return"Profiler";case C:return"StrictMode";case N:return"Suspense";case _:return"SuspenseList"}if("object"===typeof e)switch(e.$$typeof){case T:return(e.displayName||"Context")+".Consumer";case j:return(e._context.displayName||"Context")+".Provider";case P:var t=e.render;return t=t.displayName||t.name||"",e.displayName||(""!==t?"ForwardRef("+t+")":"ForwardRef");case R:return G(e.type);case L:return G(e._render);case I:t=e._payload,e=e._init;try{return G(e(t))}catch(n){}}return null}function q(e){switch(typeof e){case"boolean":case"number":case"object":case"string":case"undefined":return e;default:return""}}function X(e){var t=e.type;return(e=e.nodeName)&&"input"===e.toLowerCase()&&("checkbox"===t||"radio"===t)}function $(e){e._valueTracker||(e._valueTracker=function(e){var t=X(e)?"checked":"value",n=Object.getOwnPropertyDescriptor(e.constructor.prototype,t),r=""+e[t];if(!e.hasOwnProperty(t)&&"undefined"!==typeof n&&"function"===typeof n.get&&"function"===typeof n.set){var i=n.get,o=n.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return i.call(this)},set:function(e){r=""+e,o.call(this,e)}}),Object.defineProperty(e,t,{enumerable:n.enumerable}),{getValue:function(){return r},setValue:function(e){r=""+e},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}(e))}function Y(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var n=t.getValue(),r="";return e&&(r=X(e)?e.checked?"true":"false":e.value),(e=r)!==n&&(t.setValue(e),!0)}function J(e){if("undefined"===typeof(e=e||("undefined"!==typeof document?document:void 0)))return null;try{return e.activeElement||e.body}catch(t){return e.body}}function Q(e,t){var n=t.checked;return i({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:null!=n?n:e._wrapperState.initialChecked})}function ee(e,t){var n=null==t.defaultValue?"":t.defaultValue,r=null!=t.checked?t.checked:t.defaultChecked;n=q(null!=t.value?t.value:n),e._wrapperState={initialChecked:r,initialValue:n,controlled:"checkbox"===t.type||"radio"===t.type?null!=t.checked:null!=t.value}}function te(e,t){null!=(t=t.checked)&&w(e,"checked",t,!1)}function ne(e,t){te(e,t);var n=q(t.value),r=t.type;if(null!=n)"number"===r?(0===n&&""===e.value||e.value!=n)&&(e.value=""+n):e.value!==""+n&&(e.value=""+n);else if("submit"===r||"reset"===r)return void e.removeAttribute("value");t.hasOwnProperty("value")?ie(e,t.type,n):t.hasOwnProperty("defaultValue")&&ie(e,t.type,q(t.defaultValue)),null==t.checked&&null!=t.defaultChecked&&(e.defaultChecked=!!t.defaultChecked)}function re(e,t,n){if(t.hasOwnProperty("value")||t.hasOwnProperty("defaultValue")){var r=t.type;if(!("submit"!==r&&"reset"!==r||void 0!==t.value&&null!==t.value))return;t=""+e._wrapperState.initialValue,n||t===e.value||(e.value=t),e.defaultValue=t}""!==(n=e.name)&&(e.name=""),e.defaultChecked=!!e._wrapperState.initialChecked,""!==n&&(e.name=n)}function ie(e,t,n){"number"===t&&J(e.ownerDocument)===e||(null==n?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+n&&(e.defaultValue=""+n))}function oe(e,t){return e=i({children:void 0},t),(t=function(e){var t="";return r.Children.forEach(e,(function(e){null!=e&&(t+=e)})),t}(t.children))&&(e.children=t),e}function ae(e,t,n,r){if(e=e.options,t){t={};for(var i=0;i<n.length;i++)t["$"+n[i]]=!0;for(n=0;n<e.length;n++)i=t.hasOwnProperty("$"+e[n].value),e[n].selected!==i&&(e[n].selected=i),i&&r&&(e[n].defaultSelected=!0)}else{for(n=""+q(n),t=null,i=0;i<e.length;i++){if(e[i].value===n)return e[i].selected=!0,void(r&&(e[i].defaultSelected=!0));null!==t||e[i].disabled||(t=e[i])}null!==t&&(t.selected=!0)}}function se(e,t){if(null!=t.dangerouslySetInnerHTML)throw Error(a(91));return i({},t,{value:void 0,defaultValue:void 0,children:""+e._wrapperState.initialValue})}function le(e,t){var n=t.value;if(null==n){if(n=t.children,t=t.defaultValue,null!=n){if(null!=t)throw Error(a(92));if(Array.isArray(n)){if(!(1>=n.length))throw Error(a(93));n=n[0]}t=n}null==t&&(t=""),n=t}e._wrapperState={initialValue:q(n)}}function ce(e,t){var n=q(t.value),r=q(t.defaultValue);null!=n&&((n=""+n)!==e.value&&(e.value=n),null==t.defaultValue&&e.defaultValue!==n&&(e.defaultValue=n)),null!=r&&(e.defaultValue=""+r)}function ue(e){var t=e.textContent;t===e._wrapperState.initialValue&&""!==t&&null!==t&&(e.value=t)}var de="http://www.w3.org/1999/xhtml",fe="http://www.w3.org/2000/svg";function pe(e){switch(e){case"svg":return"http://www.w3.org/2000/svg";case"math":return"http://www.w3.org/1998/Math/MathML";default:return"http://www.w3.org/1999/xhtml"}}function he(e,t){return null==e||"http://www.w3.org/1999/xhtml"===e?pe(t):"http://www.w3.org/2000/svg"===e&&"foreignObject"===t?"http://www.w3.org/1999/xhtml":e}var ve,me,ge=(me=function(e,t){if(e.namespaceURI!==fe||"innerHTML"in e)e.innerHTML=t;else{for((ve=ve||document.createElement("div")).innerHTML="<svg>"+t.valueOf().toString()+"</svg>",t=ve.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;t.firstChild;)e.appendChild(t.firstChild)}},"undefined"!==typeof MSApp&&MSApp.execUnsafeLocalFunction?function(e,t,n,r){MSApp.execUnsafeLocalFunction((function(){return me(e,t)}))}:me);function ye(e,t){if(t){var n=e.firstChild;if(n&&n===e.lastChild&&3===n.nodeType)return void(n.nodeValue=t)}e.textContent=t}var be={animationIterationCount:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridArea:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0},we=["Webkit","ms","Moz","O"];function xe(e,t,n){return null==t||"boolean"===typeof t||""===t?"":n||"number"!==typeof t||0===t||be.hasOwnProperty(e)&&be[e]?(""+t).trim():t+"px"}function Se(e,t){for(var n in e=e.style,t)if(t.hasOwnProperty(n)){var r=0===n.indexOf("--"),i=xe(n,t[n],r);"float"===n&&(n="cssFloat"),r?e.setProperty(n,i):e[n]=i}}Object.keys(be).forEach((function(e){we.forEach((function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),be[t]=be[e]}))}));var Ee=i({menuitem:!0},{area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0});function ke(e,t){if(t){if(Ee[e]&&(null!=t.children||null!=t.dangerouslySetInnerHTML))throw Error(a(137,e));if(null!=t.dangerouslySetInnerHTML){if(null!=t.children)throw Error(a(60));if("object"!==typeof t.dangerouslySetInnerHTML||!("__html"in t.dangerouslySetInnerHTML))throw Error(a(61))}if(null!=t.style&&"object"!==typeof t.style)throw Error(a(62))}}function Ce(e,t){if(-1===e.indexOf("-"))return"string"===typeof t.is;switch(e){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}function Oe(e){return(e=e.target||e.srcElement||window).correspondingUseElement&&(e=e.correspondingUseElement),3===e.nodeType?e.parentNode:e}var je=null,Te=null,Pe=null;function Ne(e){if(e=ri(e)){if("function"!==typeof je)throw Error(a(280));var t=e.stateNode;t&&(t=oi(t),je(e.stateNode,e.type,t))}}function _e(e){Te?Pe?Pe.push(e):Pe=[e]:Te=e}function Re(){if(Te){var e=Te,t=Pe;if(Pe=Te=null,Ne(e),t)for(e=0;e<t.length;e++)Ne(t[e])}}function Ie(e,t){return e(t)}function Le(e,t,n,r,i){return e(t,n,r,i)}function Me(){}var De=Ie,Ae=!1,Fe=!1;function ze(){null===Te&&null===Pe||(Me(),Re())}function Be(e,t){var n=e.stateNode;if(null===n)return null;var r=oi(n);if(null===r)return null;n=r[t];e:switch(t){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":(r=!r.disabled)||(r=!("button"===(e=e.type)||"input"===e||"select"===e||"textarea"===e)),e=!r;break e;default:e=!1}if(e)return null;if(n&&"function"!==typeof n)throw Error(a(231,t,typeof n));return n}var Ve=!1;if(d)try{var Ue={};Object.defineProperty(Ue,"passive",{get:function(){Ve=!0}}),window.addEventListener("test",Ue,Ue),window.removeEventListener("test",Ue,Ue)}catch(me){Ve=!1}function We(e,t,n,r,i,o,a,s,l){var c=Array.prototype.slice.call(arguments,3);try{t.apply(n,c)}catch(u){this.onError(u)}}var He=!1,Ke=null,Ze=!1,Ge=null,qe={onError:function(e){He=!0,Ke=e}};function Xe(e,t,n,r,i,o,a,s,l){He=!1,Ke=null,We.apply(qe,arguments)}function $e(e){var t=e,n=e;if(e.alternate)for(;t.return;)t=t.return;else{e=t;do{0!==(1026&(t=e).flags)&&(n=t.return),e=t.return}while(e)}return 3===t.tag?n:null}function Ye(e){if(13===e.tag){var t=e.memoizedState;if(null===t&&(null!==(e=e.alternate)&&(t=e.memoizedState)),null!==t)return t.dehydrated}return null}function Je(e){if($e(e)!==e)throw Error(a(188))}function Qe(e){if(e=function(e){var t=e.alternate;if(!t){if(null===(t=$e(e)))throw Error(a(188));return t!==e?null:e}for(var n=e,r=t;;){var i=n.return;if(null===i)break;var o=i.alternate;if(null===o){if(null!==(r=i.return)){n=r;continue}break}if(i.child===o.child){for(o=i.child;o;){if(o===n)return Je(i),e;if(o===r)return Je(i),t;o=o.sibling}throw Error(a(188))}if(n.return!==r.return)n=i,r=o;else{for(var s=!1,l=i.child;l;){if(l===n){s=!0,n=i,r=o;break}if(l===r){s=!0,r=i,n=o;break}l=l.sibling}if(!s){for(l=o.child;l;){if(l===n){s=!0,n=o,r=i;break}if(l===r){s=!0,r=o,n=i;break}l=l.sibling}if(!s)throw Error(a(189))}}if(n.alternate!==r)throw Error(a(190))}if(3!==n.tag)throw Error(a(188));return n.stateNode.current===n?e:t}(e),!e)return null;for(var t=e;;){if(5===t.tag||6===t.tag)return t;if(t.child)t.child.return=t,t=t.child;else{if(t===e)break;for(;!t.sibling;){if(!t.return||t.return===e)return null;t=t.return}t.sibling.return=t.return,t=t.sibling}}return null}function et(e,t){for(var n=e.alternate;null!==t;){if(t===e||t===n)return!0;t=t.return}return!1}var tt,nt,rt,it,ot=!1,at=[],st=null,lt=null,ct=null,ut=new Map,dt=new Map,ft=[],pt="mousedown mouseup touchcancel touchend touchstart auxclick dblclick pointercancel pointerdown pointerup dragend dragstart drop compositionend compositionstart keydown keypress keyup input textInput copy cut paste click change contextmenu reset submit".split(" ");function ht(e,t,n,r,i){return{blockedOn:e,domEventName:t,eventSystemFlags:16|n,nativeEvent:i,targetContainers:[r]}}function vt(e,t){switch(e){case"focusin":case"focusout":st=null;break;case"dragenter":case"dragleave":lt=null;break;case"mouseover":case"mouseout":ct=null;break;case"pointerover":case"pointerout":ut.delete(t.pointerId);break;case"gotpointercapture":case"lostpointercapture":dt.delete(t.pointerId)}}function mt(e,t,n,r,i,o){return null===e||e.nativeEvent!==o?(e=ht(t,n,r,i,o),null!==t&&(null!==(t=ri(t))&&nt(t)),e):(e.eventSystemFlags|=r,t=e.targetContainers,null!==i&&-1===t.indexOf(i)&&t.push(i),e)}function gt(e){var t=ni(e.target);if(null!==t){var n=$e(t);if(null!==n)if(13===(t=n.tag)){if(null!==(t=Ye(n)))return e.blockedOn=t,void it(e.lanePriority,(function(){o.unstable_runWithPriority(e.priority,(function(){rt(n)}))}))}else if(3===t&&n.stateNode.hydrate)return void(e.blockedOn=3===n.tag?n.stateNode.containerInfo:null)}e.blockedOn=null}function yt(e){if(null!==e.blockedOn)return!1;for(var t=e.targetContainers;0<t.length;){var n=Qt(e.domEventName,e.eventSystemFlags,t[0],e.nativeEvent);if(null!==n)return null!==(t=ri(n))&&nt(t),e.blockedOn=n,!1;t.shift()}return!0}function bt(e,t,n){yt(e)&&n.delete(t)}function wt(){for(ot=!1;0<at.length;){var e=at[0];if(null!==e.blockedOn){null!==(e=ri(e.blockedOn))&&tt(e);break}for(var t=e.targetContainers;0<t.length;){var n=Qt(e.domEventName,e.eventSystemFlags,t[0],e.nativeEvent);if(null!==n){e.blockedOn=n;break}t.shift()}null===e.blockedOn&&at.shift()}null!==st&&yt(st)&&(st=null),null!==lt&&yt(lt)&&(lt=null),null!==ct&&yt(ct)&&(ct=null),ut.forEach(bt),dt.forEach(bt)}function xt(e,t){e.blockedOn===t&&(e.blockedOn=null,ot||(ot=!0,o.unstable_scheduleCallback(o.unstable_NormalPriority,wt)))}function St(e){function t(t){return xt(t,e)}if(0<at.length){xt(at[0],e);for(var n=1;n<at.length;n++){var r=at[n];r.blockedOn===e&&(r.blockedOn=null)}}for(null!==st&&xt(st,e),null!==lt&&xt(lt,e),null!==ct&&xt(ct,e),ut.forEach(t),dt.forEach(t),n=0;n<ft.length;n++)(r=ft[n]).blockedOn===e&&(r.blockedOn=null);for(;0<ft.length&&null===(n=ft[0]).blockedOn;)gt(n),null===n.blockedOn&&ft.shift()}function Et(e,t){var n={};return n[e.toLowerCase()]=t.toLowerCase(),n["Webkit"+e]="webkit"+t,n["Moz"+e]="moz"+t,n}var kt={animationend:Et("Animation","AnimationEnd"),animationiteration:Et("Animation","AnimationIteration"),animationstart:Et("Animation","AnimationStart"),transitionend:Et("Transition","TransitionEnd")},Ct={},Ot={};function jt(e){if(Ct[e])return Ct[e];if(!kt[e])return e;var t,n=kt[e];for(t in n)if(n.hasOwnProperty(t)&&t in Ot)return Ct[e]=n[t];return e}d&&(Ot=document.createElement("div").style,"AnimationEvent"in window||(delete kt.animationend.animation,delete kt.animationiteration.animation,delete kt.animationstart.animation),"TransitionEvent"in window||delete kt.transitionend.transition);var Tt=jt("animationend"),Pt=jt("animationiteration"),Nt=jt("animationstart"),_t=jt("transitionend"),Rt=new Map,It=new Map,Lt=["abort","abort",Tt,"animationEnd",Pt,"animationIteration",Nt,"animationStart","canplay","canPlay","canplaythrough","canPlayThrough","durationchange","durationChange","emptied","emptied","encrypted","encrypted","ended","ended","error","error","gotpointercapture","gotPointerCapture","load","load","loadeddata","loadedData","loadedmetadata","loadedMetadata","loadstart","loadStart","lostpointercapture","lostPointerCapture","playing","playing","progress","progress","seeking","seeking","stalled","stalled","suspend","suspend","timeupdate","timeUpdate",_t,"transitionEnd","waiting","waiting"];function Mt(e,t){for(var n=0;n<e.length;n+=2){var r=e[n],i=e[n+1];i="on"+(i[0].toUpperCase()+i.slice(1)),It.set(r,t),Rt.set(r,i),c(i,[r])}}(0,o.unstable_now)();var Dt=8;function At(e){if(0!==(1&e))return Dt=15,1;if(0!==(2&e))return Dt=14,2;if(0!==(4&e))return Dt=13,4;var t=24&e;return 0!==t?(Dt=12,t):0!==(32&e)?(Dt=11,32):0!==(t=192&e)?(Dt=10,t):0!==(256&e)?(Dt=9,256):0!==(t=3584&e)?(Dt=8,t):0!==(4096&e)?(Dt=7,4096):0!==(t=4186112&e)?(Dt=6,t):0!==(t=62914560&e)?(Dt=5,t):67108864&e?(Dt=4,67108864):0!==(134217728&e)?(Dt=3,134217728):0!==(t=805306368&e)?(Dt=2,t):0!==(1073741824&e)?(Dt=1,1073741824):(Dt=8,e)}function Ft(e,t){var n=e.pendingLanes;if(0===n)return Dt=0;var r=0,i=0,o=e.expiredLanes,a=e.suspendedLanes,s=e.pingedLanes;if(0!==o)r=o,i=Dt=15;else if(0!==(o=134217727&n)){var l=o&~a;0!==l?(r=At(l),i=Dt):0!==(s&=o)&&(r=At(s),i=Dt)}else 0!==(o=n&~a)?(r=At(o),i=Dt):0!==s&&(r=At(s),i=Dt);if(0===r)return 0;if(r=n&((0>(r=31-Ht(r))?0:1<<r)<<1)-1,0!==t&&t!==r&&0===(t&a)){if(At(t),i<=Dt)return t;Dt=i}if(0!==(t=e.entangledLanes))for(e=e.entanglements,t&=r;0<t;)i=1<<(n=31-Ht(t)),r|=e[n],t&=~i;return r}function zt(e){return 0!==(e=-1073741825&e.pendingLanes)?e:1073741824&e?1073741824:0}function Bt(e,t){switch(e){case 15:return 1;case 14:return 2;case 12:return 0===(e=Vt(24&~t))?Bt(10,t):e;case 10:return 0===(e=Vt(192&~t))?Bt(8,t):e;case 8:return 0===(e=Vt(3584&~t))&&(0===(e=Vt(4186112&~t))&&(e=512)),e;case 2:return 0===(t=Vt(805306368&~t))&&(t=268435456),t}throw Error(a(358,e))}function Vt(e){return e&-e}function Ut(e){for(var t=[],n=0;31>n;n++)t.push(e);return t}function Wt(e,t,n){e.pendingLanes|=t;var r=t-1;e.suspendedLanes&=r,e.pingedLanes&=r,(e=e.eventTimes)[t=31-Ht(t)]=n}var Ht=Math.clz32?Math.clz32:function(e){return 0===e?32:31-(Kt(e)/Zt|0)|0},Kt=Math.log,Zt=Math.LN2;var Gt=o.unstable_UserBlockingPriority,qt=o.unstable_runWithPriority,Xt=!0;function $t(e,t,n,r){Ae||Me();var i=Jt,o=Ae;Ae=!0;try{Le(i,e,t,n,r)}finally{(Ae=o)||ze()}}function Yt(e,t,n,r){qt(Gt,Jt.bind(null,e,t,n,r))}function Jt(e,t,n,r){var i;if(Xt)if((i=0===(4&t))&&0<at.length&&-1<pt.indexOf(e))e=ht(null,e,t,n,r),at.push(e);else{var o=Qt(e,t,n,r);if(null===o)i&&vt(e,r);else{if(i){if(-1<pt.indexOf(e))return e=ht(o,e,t,n,r),void at.push(e);if(function(e,t,n,r,i){switch(t){case"focusin":return st=mt(st,e,t,n,r,i),!0;case"dragenter":return lt=mt(lt,e,t,n,r,i),!0;case"mouseover":return ct=mt(ct,e,t,n,r,i),!0;case"pointerover":var o=i.pointerId;return ut.set(o,mt(ut.get(o)||null,e,t,n,r,i)),!0;case"gotpointercapture":return o=i.pointerId,dt.set(o,mt(dt.get(o)||null,e,t,n,r,i)),!0}return!1}(o,e,t,n,r))return;vt(e,r)}Mr(e,t,r,null,n)}}}function Qt(e,t,n,r){var i=Oe(r);if(null!==(i=ni(i))){var o=$e(i);if(null===o)i=null;else{var a=o.tag;if(13===a){if(null!==(i=Ye(o)))return i;i=null}else if(3===a){if(o.stateNode.hydrate)return 3===o.tag?o.stateNode.containerInfo:null;i=null}else o!==i&&(i=null)}}return Mr(e,t,r,i,n),null}var en=null,tn=null,nn=null;function rn(){if(nn)return nn;var e,t,n=tn,r=n.length,i="value"in en?en.value:en.textContent,o=i.length;for(e=0;e<r&&n[e]===i[e];e++);var a=r-e;for(t=1;t<=a&&n[r-t]===i[o-t];t++);return nn=i.slice(e,1<t?1-t:void 0)}function on(e){var t=e.keyCode;return"charCode"in e?0===(e=e.charCode)&&13===t&&(e=13):e=t,10===e&&(e=13),32<=e||13===e?e:0}function an(){return!0}function sn(){return!1}function ln(e){function t(t,n,r,i,o){for(var a in this._reactName=t,this._targetInst=r,this.type=n,this.nativeEvent=i,this.target=o,this.currentTarget=null,e)e.hasOwnProperty(a)&&(t=e[a],this[a]=t?t(i):i[a]);return this.isDefaultPrevented=(null!=i.defaultPrevented?i.defaultPrevented:!1===i.returnValue)?an:sn,this.isPropagationStopped=sn,this}return i(t.prototype,{preventDefault:function(){this.defaultPrevented=!0;var e=this.nativeEvent;e&&(e.preventDefault?e.preventDefault():"unknown"!==typeof e.returnValue&&(e.returnValue=!1),this.isDefaultPrevented=an)},stopPropagation:function(){var e=this.nativeEvent;e&&(e.stopPropagation?e.stopPropagation():"unknown"!==typeof e.cancelBubble&&(e.cancelBubble=!0),this.isPropagationStopped=an)},persist:function(){},isPersistent:an}),t}var cn,un,dn,fn={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},pn=ln(fn),hn=i({},fn,{view:0,detail:0}),vn=ln(hn),mn=i({},hn,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:Tn,button:0,buttons:0,relatedTarget:function(e){return void 0===e.relatedTarget?e.fromElement===e.srcElement?e.toElement:e.fromElement:e.relatedTarget},movementX:function(e){return"movementX"in e?e.movementX:(e!==dn&&(dn&&"mousemove"===e.type?(cn=e.screenX-dn.screenX,un=e.screenY-dn.screenY):un=cn=0,dn=e),cn)},movementY:function(e){return"movementY"in e?e.movementY:un}}),gn=ln(mn),yn=ln(i({},mn,{dataTransfer:0})),bn=ln(i({},hn,{relatedTarget:0})),wn=ln(i({},fn,{animationName:0,elapsedTime:0,pseudoElement:0})),xn=i({},fn,{clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}}),Sn=ln(xn),En=ln(i({},fn,{data:0})),kn={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},Cn={8:"Backspace",9:"Tab",12:"Clear",13:"Enter",16:"Shift",17:"Control",18:"Alt",19:"Pause",20:"CapsLock",27:"Escape",32:" ",33:"PageUp",34:"PageDown",35:"End",36:"Home",37:"ArrowLeft",38:"ArrowUp",39:"ArrowRight",40:"ArrowDown",45:"Insert",46:"Delete",112:"F1",113:"F2",114:"F3",115:"F4",116:"F5",117:"F6",118:"F7",119:"F8",120:"F9",121:"F10",122:"F11",123:"F12",144:"NumLock",145:"ScrollLock",224:"Meta"},On={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function jn(e){var t=this.nativeEvent;return t.getModifierState?t.getModifierState(e):!!(e=On[e])&&!!t[e]}function Tn(){return jn}var Pn=i({},hn,{key:function(e){if(e.key){var t=kn[e.key]||e.key;if("Unidentified"!==t)return t}return"keypress"===e.type?13===(e=on(e))?"Enter":String.fromCharCode(e):"keydown"===e.type||"keyup"===e.type?Cn[e.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:Tn,charCode:function(e){return"keypress"===e.type?on(e):0},keyCode:function(e){return"keydown"===e.type||"keyup"===e.type?e.keyCode:0},which:function(e){return"keypress"===e.type?on(e):"keydown"===e.type||"keyup"===e.type?e.keyCode:0}}),Nn=ln(Pn),_n=ln(i({},mn,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0})),Rn=ln(i({},hn,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:Tn})),In=ln(i({},fn,{propertyName:0,elapsedTime:0,pseudoElement:0})),Ln=i({},mn,{deltaX:function(e){return"deltaX"in e?e.deltaX:"wheelDeltaX"in e?-e.wheelDeltaX:0},deltaY:function(e){return"deltaY"in e?e.deltaY:"wheelDeltaY"in e?-e.wheelDeltaY:"wheelDelta"in e?-e.wheelDelta:0},deltaZ:0,deltaMode:0}),Mn=ln(Ln),Dn=[9,13,27,32],An=d&&"CompositionEvent"in window,Fn=null;d&&"documentMode"in document&&(Fn=document.documentMode);var zn=d&&"TextEvent"in window&&!Fn,Bn=d&&(!An||Fn&&8<Fn&&11>=Fn),Vn=String.fromCharCode(32),Un=!1;function Wn(e,t){switch(e){case"keyup":return-1!==Dn.indexOf(t.keyCode);case"keydown":return 229!==t.keyCode;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function Hn(e){return"object"===typeof(e=e.detail)&&"data"in e?e.data:null}var Kn=!1;var Zn={color:!0,date:!0,datetime:!0,"datetime-local":!0,email:!0,month:!0,number:!0,password:!0,range:!0,search:!0,tel:!0,text:!0,time:!0,url:!0,week:!0};function Gn(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return"input"===t?!!Zn[e.type]:"textarea"===t}function qn(e,t,n,r){_e(r),0<(t=Ar(t,"onChange")).length&&(n=new pn("onChange","change",null,n,r),e.push({event:n,listeners:t}))}var Xn=null,$n=null;function Yn(e){Pr(e,0)}function Jn(e){if(Y(ii(e)))return e}function Qn(e,t){if("change"===e)return t}var er=!1;if(d){var tr;if(d){var nr="oninput"in document;if(!nr){var rr=document.createElement("div");rr.setAttribute("oninput","return;"),nr="function"===typeof rr.oninput}tr=nr}else tr=!1;er=tr&&(!document.documentMode||9<document.documentMode)}function ir(){Xn&&(Xn.detachEvent("onpropertychange",or),$n=Xn=null)}function or(e){if("value"===e.propertyName&&Jn($n)){var t=[];if(qn(t,$n,e,Oe(e)),e=Yn,Ae)e(t);else{Ae=!0;try{Ie(e,t)}finally{Ae=!1,ze()}}}}function ar(e,t,n){"focusin"===e?(ir(),$n=n,(Xn=t).attachEvent("onpropertychange",or)):"focusout"===e&&ir()}function sr(e){if("selectionchange"===e||"keyup"===e||"keydown"===e)return Jn($n)}function lr(e,t){if("click"===e)return Jn(t)}function cr(e,t){if("input"===e||"change"===e)return Jn(t)}var ur="function"===typeof Object.is?Object.is:function(e,t){return e===t&&(0!==e||1/e===1/t)||e!==e&&t!==t},dr=Object.prototype.hasOwnProperty;function fr(e,t){if(ur(e,t))return!0;if("object"!==typeof e||null===e||"object"!==typeof t||null===t)return!1;var n=Object.keys(e),r=Object.keys(t);if(n.length!==r.length)return!1;for(r=0;r<n.length;r++)if(!dr.call(t,n[r])||!ur(e[n[r]],t[n[r]]))return!1;return!0}function pr(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function hr(e,t){var n,r=pr(e);for(e=0;r;){if(3===r.nodeType){if(n=e+r.textContent.length,e<=t&&n>=t)return{node:r,offset:t-e};e=n}e:{for(;r;){if(r.nextSibling){r=r.nextSibling;break e}r=r.parentNode}r=void 0}r=pr(r)}}function vr(e,t){return!(!e||!t)&&(e===t||(!e||3!==e.nodeType)&&(t&&3===t.nodeType?vr(e,t.parentNode):"contains"in e?e.contains(t):!!e.compareDocumentPosition&&!!(16&e.compareDocumentPosition(t))))}function mr(){for(var e=window,t=J();t instanceof e.HTMLIFrameElement;){try{var n="string"===typeof t.contentWindow.location.href}catch(r){n=!1}if(!n)break;t=J((e=t.contentWindow).document)}return t}function gr(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t&&("input"===t&&("text"===e.type||"search"===e.type||"tel"===e.type||"url"===e.type||"password"===e.type)||"textarea"===t||"true"===e.contentEditable)}var yr=d&&"documentMode"in document&&11>=document.documentMode,br=null,wr=null,xr=null,Sr=!1;function Er(e,t,n){var r=n.window===n?n.document:9===n.nodeType?n:n.ownerDocument;Sr||null==br||br!==J(r)||("selectionStart"in(r=br)&&gr(r)?r={start:r.selectionStart,end:r.selectionEnd}:r={anchorNode:(r=(r.ownerDocument&&r.ownerDocument.defaultView||window).getSelection()).anchorNode,anchorOffset:r.anchorOffset,focusNode:r.focusNode,focusOffset:r.focusOffset},xr&&fr(xr,r)||(xr=r,0<(r=Ar(wr,"onSelect")).length&&(t=new pn("onSelect","select",null,t,n),e.push({event:t,listeners:r}),t.target=br)))}Mt("cancel cancel click click close close contextmenu contextMenu copy copy cut cut auxclick auxClick dblclick doubleClick dragend dragEnd dragstart dragStart drop drop focusin focus focusout blur input input invalid invalid keydown keyDown keypress keyPress keyup keyUp mousedown mouseDown mouseup mouseUp paste paste pause pause play play pointercancel pointerCancel pointerdown pointerDown pointerup pointerUp ratechange rateChange reset reset seeked seeked submit submit touchcancel touchCancel touchend touchEnd touchstart touchStart volumechange volumeChange".split(" "),0),Mt("drag drag dragenter dragEnter dragexit dragExit dragleave dragLeave dragover dragOver mousemove mouseMove mouseout mouseOut mouseover mouseOver pointermove pointerMove pointerout pointerOut pointerover pointerOver scroll scroll toggle toggle touchmove touchMove wheel wheel".split(" "),1),Mt(Lt,2);for(var kr="change selectionchange textInput compositionstart compositionend compositionupdate".split(" "),Cr=0;Cr<kr.length;Cr++)It.set(kr[Cr],0);u("onMouseEnter",["mouseout","mouseover"]),u("onMouseLeave",["mouseout","mouseover"]),u("onPointerEnter",["pointerout","pointerover"]),u("onPointerLeave",["pointerout","pointerover"]),c("onChange","change click focusin focusout input keydown keyup selectionchange".split(" ")),c("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" ")),c("onBeforeInput",["compositionend","keypress","textInput","paste"]),c("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" ")),c("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" ")),c("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var Or="abort canplay canplaythrough durationchange emptied encrypted ended error loadeddata loadedmetadata loadstart pause play playing progress ratechange seeked seeking stalled suspend timeupdate volumechange waiting".split(" "),jr=new Set("cancel close invalid load scroll toggle".split(" ").concat(Or));function Tr(e,t,n){var r=e.type||"unknown-event";e.currentTarget=n,function(e,t,n,r,i,o,s,l,c){if(Xe.apply(this,arguments),He){if(!He)throw Error(a(198));var u=Ke;He=!1,Ke=null,Ze||(Ze=!0,Ge=u)}}(r,t,void 0,e),e.currentTarget=null}function Pr(e,t){t=0!==(4&t);for(var n=0;n<e.length;n++){var r=e[n],i=r.event;r=r.listeners;e:{var o=void 0;if(t)for(var a=r.length-1;0<=a;a--){var s=r[a],l=s.instance,c=s.currentTarget;if(s=s.listener,l!==o&&i.isPropagationStopped())break e;Tr(i,s,c),o=l}else for(a=0;a<r.length;a++){if(l=(s=r[a]).instance,c=s.currentTarget,s=s.listener,l!==o&&i.isPropagationStopped())break e;Tr(i,s,c),o=l}}}if(Ze)throw e=Ge,Ze=!1,Ge=null,e}function Nr(e,t){var n=ai(t),r=e+"__bubble";n.has(r)||(Lr(t,e,2,!1),n.add(r))}var _r="_reactListening"+Math.random().toString(36).slice(2);function Rr(e){e[_r]||(e[_r]=!0,s.forEach((function(t){jr.has(t)||Ir(t,!1,e,null),Ir(t,!0,e,null)})))}function Ir(e,t,n,r){var i=4<arguments.length&&void 0!==arguments[4]?arguments[4]:0,o=n;if("selectionchange"===e&&9!==n.nodeType&&(o=n.ownerDocument),null!==r&&!t&&jr.has(e)){if("scroll"!==e)return;i|=2,o=r}var a=ai(o),s=e+"__"+(t?"capture":"bubble");a.has(s)||(t&&(i|=4),Lr(o,e,i,t),a.add(s))}function Lr(e,t,n,r){var i=It.get(t);switch(void 0===i?2:i){case 0:i=$t;break;case 1:i=Yt;break;default:i=Jt}n=i.bind(null,t,n,e),i=void 0,!Ve||"touchstart"!==t&&"touchmove"!==t&&"wheel"!==t||(i=!0),r?void 0!==i?e.addEventListener(t,n,{capture:!0,passive:i}):e.addEventListener(t,n,!0):void 0!==i?e.addEventListener(t,n,{passive:i}):e.addEventListener(t,n,!1)}function Mr(e,t,n,r,i){var o=r;if(0===(1&t)&&0===(2&t)&&null!==r)e:for(;;){if(null===r)return;var a=r.tag;if(3===a||4===a){var s=r.stateNode.containerInfo;if(s===i||8===s.nodeType&&s.parentNode===i)break;if(4===a)for(a=r.return;null!==a;){var l=a.tag;if((3===l||4===l)&&((l=a.stateNode.containerInfo)===i||8===l.nodeType&&l.parentNode===i))return;a=a.return}for(;null!==s;){if(null===(a=ni(s)))return;if(5===(l=a.tag)||6===l){r=o=a;continue e}s=s.parentNode}}r=r.return}!function(e,t,n){if(Fe)return e(t,n);Fe=!0;try{De(e,t,n)}finally{Fe=!1,ze()}}((function(){var r=o,i=Oe(n),a=[];e:{var s=Rt.get(e);if(void 0!==s){var l=pn,c=e;switch(e){case"keypress":if(0===on(n))break e;case"keydown":case"keyup":l=Nn;break;case"focusin":c="focus",l=bn;break;case"focusout":c="blur",l=bn;break;case"beforeblur":case"afterblur":l=bn;break;case"click":if(2===n.button)break e;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":l=gn;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":l=yn;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":l=Rn;break;case Tt:case Pt:case Nt:l=wn;break;case _t:l=In;break;case"scroll":l=vn;break;case"wheel":l=Mn;break;case"copy":case"cut":case"paste":l=Sn;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":l=_n}var u=0!==(4&t),d=!u&&"scroll"===e,f=u?null!==s?s+"Capture":null:s;u=[];for(var p,h=r;null!==h;){var v=(p=h).stateNode;if(5===p.tag&&null!==v&&(p=v,null!==f&&(null!=(v=Be(h,f))&&u.push(Dr(h,v,p)))),d)break;h=h.return}0<u.length&&(s=new l(s,c,null,n,i),a.push({event:s,listeners:u}))}}if(0===(7&t)){if(l="mouseout"===e||"pointerout"===e,(!(s="mouseover"===e||"pointerover"===e)||0!==(16&t)||!(c=n.relatedTarget||n.fromElement)||!ni(c)&&!c[ei])&&(l||s)&&(s=i.window===i?i:(s=i.ownerDocument)?s.defaultView||s.parentWindow:window,l?(l=r,null!==(c=(c=n.relatedTarget||n.toElement)?ni(c):null)&&(c!==(d=$e(c))||5!==c.tag&&6!==c.tag)&&(c=null)):(l=null,c=r),l!==c)){if(u=gn,v="onMouseLeave",f="onMouseEnter",h="mouse","pointerout"!==e&&"pointerover"!==e||(u=_n,v="onPointerLeave",f="onPointerEnter",h="pointer"),d=null==l?s:ii(l),p=null==c?s:ii(c),(s=new u(v,h+"leave",l,n,i)).target=d,s.relatedTarget=p,v=null,ni(i)===r&&((u=new u(f,h+"enter",c,n,i)).target=p,u.relatedTarget=d,v=u),d=v,l&&c)e:{for(f=c,h=0,p=u=l;p;p=Fr(p))h++;for(p=0,v=f;v;v=Fr(v))p++;for(;0<h-p;)u=Fr(u),h--;for(;0<p-h;)f=Fr(f),p--;for(;h--;){if(u===f||null!==f&&u===f.alternate)break e;u=Fr(u),f=Fr(f)}u=null}else u=null;null!==l&&zr(a,s,l,u,!1),null!==c&&null!==d&&zr(a,d,c,u,!0)}if("select"===(l=(s=r?ii(r):window).nodeName&&s.nodeName.toLowerCase())||"input"===l&&"file"===s.type)var m=Qn;else if(Gn(s))if(er)m=cr;else{m=sr;var g=ar}else(l=s.nodeName)&&"input"===l.toLowerCase()&&("checkbox"===s.type||"radio"===s.type)&&(m=lr);switch(m&&(m=m(e,r))?qn(a,m,n,i):(g&&g(e,s,r),"focusout"===e&&(g=s._wrapperState)&&g.controlled&&"number"===s.type&&ie(s,"number",s.value)),g=r?ii(r):window,e){case"focusin":(Gn(g)||"true"===g.contentEditable)&&(br=g,wr=r,xr=null);break;case"focusout":xr=wr=br=null;break;case"mousedown":Sr=!0;break;case"contextmenu":case"mouseup":case"dragend":Sr=!1,Er(a,n,i);break;case"selectionchange":if(yr)break;case"keydown":case"keyup":Er(a,n,i)}var y;if(An)e:{switch(e){case"compositionstart":var b="onCompositionStart";break e;case"compositionend":b="onCompositionEnd";break e;case"compositionupdate":b="onCompositionUpdate";break e}b=void 0}else Kn?Wn(e,n)&&(b="onCompositionEnd"):"keydown"===e&&229===n.keyCode&&(b="onCompositionStart");b&&(Bn&&"ko"!==n.locale&&(Kn||"onCompositionStart"!==b?"onCompositionEnd"===b&&Kn&&(y=rn()):(tn="value"in(en=i)?en.value:en.textContent,Kn=!0)),0<(g=Ar(r,b)).length&&(b=new En(b,e,null,n,i),a.push({event:b,listeners:g}),y?b.data=y:null!==(y=Hn(n))&&(b.data=y))),(y=zn?function(e,t){switch(e){case"compositionend":return Hn(t);case"keypress":return 32!==t.which?null:(Un=!0,Vn);case"textInput":return(e=t.data)===Vn&&Un?null:e;default:return null}}(e,n):function(e,t){if(Kn)return"compositionend"===e||!An&&Wn(e,t)?(e=rn(),nn=tn=en=null,Kn=!1,e):null;switch(e){case"paste":default:return null;case"keypress":if(!(t.ctrlKey||t.altKey||t.metaKey)||t.ctrlKey&&t.altKey){if(t.char&&1<t.char.length)return t.char;if(t.which)return String.fromCharCode(t.which)}return null;case"compositionend":return Bn&&"ko"!==t.locale?null:t.data}}(e,n))&&(0<(r=Ar(r,"onBeforeInput")).length&&(i=new En("onBeforeInput","beforeinput",null,n,i),a.push({event:i,listeners:r}),i.data=y))}Pr(a,t)}))}function Dr(e,t,n){return{instance:e,listener:t,currentTarget:n}}function Ar(e,t){for(var n=t+"Capture",r=[];null!==e;){var i=e,o=i.stateNode;5===i.tag&&null!==o&&(i=o,null!=(o=Be(e,n))&&r.unshift(Dr(e,o,i)),null!=(o=Be(e,t))&&r.push(Dr(e,o,i))),e=e.return}return r}function Fr(e){if(null===e)return null;do{e=e.return}while(e&&5!==e.tag);return e||null}function zr(e,t,n,r,i){for(var o=t._reactName,a=[];null!==n&&n!==r;){var s=n,l=s.alternate,c=s.stateNode;if(null!==l&&l===r)break;5===s.tag&&null!==c&&(s=c,i?null!=(l=Be(n,o))&&a.unshift(Dr(n,l,s)):i||null!=(l=Be(n,o))&&a.push(Dr(n,l,s))),n=n.return}0!==a.length&&e.push({event:t,listeners:a})}function Br(){}var Vr=null,Ur=null;function Wr(e,t){switch(e){case"button":case"input":case"select":case"textarea":return!!t.autoFocus}return!1}function Hr(e,t){return"textarea"===e||"option"===e||"noscript"===e||"string"===typeof t.children||"number"===typeof t.children||"object"===typeof t.dangerouslySetInnerHTML&&null!==t.dangerouslySetInnerHTML&&null!=t.dangerouslySetInnerHTML.__html}var Kr="function"===typeof setTimeout?setTimeout:void 0,Zr="function"===typeof clearTimeout?clearTimeout:void 0;function Gr(e){1===e.nodeType?e.textContent="":9===e.nodeType&&(null!=(e=e.body)&&(e.textContent=""))}function qr(e){for(;null!=e;e=e.nextSibling){var t=e.nodeType;if(1===t||3===t)break}return e}function Xr(e){e=e.previousSibling;for(var t=0;e;){if(8===e.nodeType){var n=e.data;if("$"===n||"$!"===n||"$?"===n){if(0===t)return e;t--}else"/$"===n&&t++}e=e.previousSibling}return null}var $r=0;var Yr=Math.random().toString(36).slice(2),Jr="__reactFiber$"+Yr,Qr="__reactProps$"+Yr,ei="__reactContainer$"+Yr,ti="__reactEvents$"+Yr;function ni(e){var t=e[Jr];if(t)return t;for(var n=e.parentNode;n;){if(t=n[ei]||n[Jr]){if(n=t.alternate,null!==t.child||null!==n&&null!==n.child)for(e=Xr(e);null!==e;){if(n=e[Jr])return n;e=Xr(e)}return t}n=(e=n).parentNode}return null}function ri(e){return!(e=e[Jr]||e[ei])||5!==e.tag&&6!==e.tag&&13!==e.tag&&3!==e.tag?null:e}function ii(e){if(5===e.tag||6===e.tag)return e.stateNode;throw Error(a(33))}function oi(e){return e[Qr]||null}function ai(e){var t=e[ti];return void 0===t&&(t=e[ti]=new Set),t}var si=[],li=-1;function ci(e){return{current:e}}function ui(e){0>li||(e.current=si[li],si[li]=null,li--)}function di(e,t){li++,si[li]=e.current,e.current=t}var fi={},pi=ci(fi),hi=ci(!1),vi=fi;function mi(e,t){var n=e.type.contextTypes;if(!n)return fi;var r=e.stateNode;if(r&&r.__reactInternalMemoizedUnmaskedChildContext===t)return r.__reactInternalMemoizedMaskedChildContext;var i,o={};for(i in n)o[i]=t[i];return r&&((e=e.stateNode).__reactInternalMemoizedUnmaskedChildContext=t,e.__reactInternalMemoizedMaskedChildContext=o),o}function gi(e){return null!==(e=e.childContextTypes)&&void 0!==e}function yi(){ui(hi),ui(pi)}function bi(e,t,n){if(pi.current!==fi)throw Error(a(168));di(pi,t),di(hi,n)}function wi(e,t,n){var r=e.stateNode;if(e=t.childContextTypes,"function"!==typeof r.getChildContext)return n;for(var o in r=r.getChildContext())if(!(o in e))throw Error(a(108,G(t)||"Unknown",o));return i({},n,r)}function xi(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||fi,vi=pi.current,di(pi,e),di(hi,hi.current),!0}function Si(e,t,n){var r=e.stateNode;if(!r)throw Error(a(169));n?(e=wi(e,t,vi),r.__reactInternalMemoizedMergedChildContext=e,ui(hi),ui(pi),di(pi,e)):ui(hi),di(hi,n)}var Ei=null,ki=null,Ci=o.unstable_runWithPriority,Oi=o.unstable_scheduleCallback,ji=o.unstable_cancelCallback,Ti=o.unstable_shouldYield,Pi=o.unstable_requestPaint,Ni=o.unstable_now,_i=o.unstable_getCurrentPriorityLevel,Ri=o.unstable_ImmediatePriority,Ii=o.unstable_UserBlockingPriority,Li=o.unstable_NormalPriority,Mi=o.unstable_LowPriority,Di=o.unstable_IdlePriority,Ai={},Fi=void 0!==Pi?Pi:function(){},zi=null,Bi=null,Vi=!1,Ui=Ni(),Wi=1e4>Ui?Ni:function(){return Ni()-Ui};function Hi(){switch(_i()){case Ri:return 99;case Ii:return 98;case Li:return 97;case Mi:return 96;case Di:return 95;default:throw Error(a(332))}}function Ki(e){switch(e){case 99:return Ri;case 98:return Ii;case 97:return Li;case 96:return Mi;case 95:return Di;default:throw Error(a(332))}}function Zi(e,t){return e=Ki(e),Ci(e,t)}function Gi(e,t,n){return e=Ki(e),Oi(e,t,n)}function qi(){if(null!==Bi){var e=Bi;Bi=null,ji(e)}Xi()}function Xi(){if(!Vi&&null!==zi){Vi=!0;var e=0;try{var t=zi;Zi(99,(function(){for(;e<t.length;e++){var n=t[e];do{n=n(!0)}while(null!==n)}})),zi=null}catch(n){throw null!==zi&&(zi=zi.slice(e+1)),Oi(Ri,qi),n}finally{Vi=!1}}}var $i=x.ReactCurrentBatchConfig;function Yi(e,t){if(e&&e.defaultProps){for(var n in t=i({},t),e=e.defaultProps)void 0===t[n]&&(t[n]=e[n]);return t}return t}var Ji=ci(null),Qi=null,eo=null,to=null;function no(){to=eo=Qi=null}function ro(e){var t=Ji.current;ui(Ji),e.type._context._currentValue=t}function io(e,t){for(;null!==e;){var n=e.alternate;if((e.childLanes&t)===t){if(null===n||(n.childLanes&t)===t)break;n.childLanes|=t}else e.childLanes|=t,null!==n&&(n.childLanes|=t);e=e.return}}function oo(e,t){Qi=e,to=eo=null,null!==(e=e.dependencies)&&null!==e.firstContext&&(0!==(e.lanes&t)&&(Aa=!0),e.firstContext=null)}function ao(e,t){if(to!==e&&!1!==t&&0!==t)if("number"===typeof t&&1073741823!==t||(to=e,t=1073741823),t={context:e,observedBits:t,next:null},null===eo){if(null===Qi)throw Error(a(308));eo=t,Qi.dependencies={lanes:0,firstContext:t,responders:null}}else eo=eo.next=t;return e._currentValue}var so=!1;function lo(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null},effects:null}}function co(e,t){e=e.updateQueue,t.updateQueue===e&&(t.updateQueue={baseState:e.baseState,firstBaseUpdate:e.firstBaseUpdate,lastBaseUpdate:e.lastBaseUpdate,shared:e.shared,effects:e.effects})}function uo(e,t){return{eventTime:e,lane:t,tag:0,payload:null,callback:null,next:null}}function fo(e,t){if(null!==(e=e.updateQueue)){var n=(e=e.shared).pending;null===n?t.next=t:(t.next=n.next,n.next=t),e.pending=t}}function po(e,t){var n=e.updateQueue,r=e.alternate;if(null!==r&&n===(r=r.updateQueue)){var i=null,o=null;if(null!==(n=n.firstBaseUpdate)){do{var a={eventTime:n.eventTime,lane:n.lane,tag:n.tag,payload:n.payload,callback:n.callback,next:null};null===o?i=o=a:o=o.next=a,n=n.next}while(null!==n);null===o?i=o=t:o=o.next=t}else i=o=t;return n={baseState:r.baseState,firstBaseUpdate:i,lastBaseUpdate:o,shared:r.shared,effects:r.effects},void(e.updateQueue=n)}null===(e=n.lastBaseUpdate)?n.firstBaseUpdate=t:e.next=t,n.lastBaseUpdate=t}function ho(e,t,n,r){var o=e.updateQueue;so=!1;var a=o.firstBaseUpdate,s=o.lastBaseUpdate,l=o.shared.pending;if(null!==l){o.shared.pending=null;var c=l,u=c.next;c.next=null,null===s?a=u:s.next=u,s=c;var d=e.alternate;if(null!==d){var f=(d=d.updateQueue).lastBaseUpdate;f!==s&&(null===f?d.firstBaseUpdate=u:f.next=u,d.lastBaseUpdate=c)}}if(null!==a){for(f=o.baseState,s=0,d=u=c=null;;){l=a.lane;var p=a.eventTime;if((r&l)===l){null!==d&&(d=d.next={eventTime:p,lane:0,tag:a.tag,payload:a.payload,callback:a.callback,next:null});e:{var h=e,v=a;switch(l=t,p=n,v.tag){case 1:if("function"===typeof(h=v.payload)){f=h.call(p,f,l);break e}f=h;break e;case 3:h.flags=-4097&h.flags|64;case 0:if(null===(l="function"===typeof(h=v.payload)?h.call(p,f,l):h)||void 0===l)break e;f=i({},f,l);break e;case 2:so=!0}}null!==a.callback&&(e.flags|=32,null===(l=o.effects)?o.effects=[a]:l.push(a))}else p={eventTime:p,lane:l,tag:a.tag,payload:a.payload,callback:a.callback,next:null},null===d?(u=d=p,c=f):d=d.next=p,s|=l;if(null===(a=a.next)){if(null===(l=o.shared.pending))break;a=l.next,l.next=null,o.lastBaseUpdate=l,o.shared.pending=null}}null===d&&(c=f),o.baseState=c,o.firstBaseUpdate=u,o.lastBaseUpdate=d,Vs|=s,e.lanes=s,e.memoizedState=f}}function vo(e,t,n){if(e=t.effects,t.effects=null,null!==e)for(t=0;t<e.length;t++){var r=e[t],i=r.callback;if(null!==i){if(r.callback=null,r=n,"function"!==typeof i)throw Error(a(191,i));i.call(r)}}}var mo=(new r.Component).refs;function go(e,t,n,r){n=null===(n=n(r,t=e.memoizedState))||void 0===n?t:i({},t,n),e.memoizedState=n,0===e.lanes&&(e.updateQueue.baseState=n)}var yo={isMounted:function(e){return!!(e=e._reactInternals)&&$e(e)===e},enqueueSetState:function(e,t,n){e=e._reactInternals;var r=fl(),i=pl(e),o=uo(r,i);o.payload=t,void 0!==n&&null!==n&&(o.callback=n),fo(e,o),hl(e,i,r)},enqueueReplaceState:function(e,t,n){e=e._reactInternals;var r=fl(),i=pl(e),o=uo(r,i);o.tag=1,o.payload=t,void 0!==n&&null!==n&&(o.callback=n),fo(e,o),hl(e,i,r)},enqueueForceUpdate:function(e,t){e=e._reactInternals;var n=fl(),r=pl(e),i=uo(n,r);i.tag=2,void 0!==t&&null!==t&&(i.callback=t),fo(e,i),hl(e,r,n)}};function bo(e,t,n,r,i,o,a){return"function"===typeof(e=e.stateNode).shouldComponentUpdate?e.shouldComponentUpdate(r,o,a):!t.prototype||!t.prototype.isPureReactComponent||(!fr(n,r)||!fr(i,o))}function wo(e,t,n){var r=!1,i=fi,o=t.contextType;return"object"===typeof o&&null!==o?o=ao(o):(i=gi(t)?vi:pi.current,o=(r=null!==(r=t.contextTypes)&&void 0!==r)?mi(e,i):fi),t=new t(n,o),e.memoizedState=null!==t.state&&void 0!==t.state?t.state:null,t.updater=yo,e.stateNode=t,t._reactInternals=e,r&&((e=e.stateNode).__reactInternalMemoizedUnmaskedChildContext=i,e.__reactInternalMemoizedMaskedChildContext=o),t}function xo(e,t,n,r){e=t.state,"function"===typeof t.componentWillReceiveProps&&t.componentWillReceiveProps(n,r),"function"===typeof t.UNSAFE_componentWillReceiveProps&&t.UNSAFE_componentWillReceiveProps(n,r),t.state!==e&&yo.enqueueReplaceState(t,t.state,null)}function So(e,t,n,r){var i=e.stateNode;i.props=n,i.state=e.memoizedState,i.refs=mo,lo(e);var o=t.contextType;"object"===typeof o&&null!==o?i.context=ao(o):(o=gi(t)?vi:pi.current,i.context=mi(e,o)),ho(e,n,i,r),i.state=e.memoizedState,"function"===typeof(o=t.getDerivedStateFromProps)&&(go(e,t,o,n),i.state=e.memoizedState),"function"===typeof t.getDerivedStateFromProps||"function"===typeof i.getSnapshotBeforeUpdate||"function"!==typeof i.UNSAFE_componentWillMount&&"function"!==typeof i.componentWillMount||(t=i.state,"function"===typeof i.componentWillMount&&i.componentWillMount(),"function"===typeof i.UNSAFE_componentWillMount&&i.UNSAFE_componentWillMount(),t!==i.state&&yo.enqueueReplaceState(i,i.state,null),ho(e,n,i,r),i.state=e.memoizedState),"function"===typeof i.componentDidMount&&(e.flags|=4)}var Eo=Array.isArray;function ko(e,t,n){if(null!==(e=n.ref)&&"function"!==typeof e&&"object"!==typeof e){if(n._owner){if(n=n._owner){if(1!==n.tag)throw Error(a(309));var r=n.stateNode}if(!r)throw Error(a(147,e));var i=""+e;return null!==t&&null!==t.ref&&"function"===typeof t.ref&&t.ref._stringRef===i?t.ref:(t=function(e){var t=r.refs;t===mo&&(t=r.refs={}),null===e?delete t[i]:t[i]=e},t._stringRef=i,t)}if("string"!==typeof e)throw Error(a(284));if(!n._owner)throw Error(a(290,e))}return e}function Co(e,t){if("textarea"!==e.type)throw Error(a(31,"[object Object]"===Object.prototype.toString.call(t)?"object with keys {"+Object.keys(t).join(", ")+"}":t))}function Oo(e){function t(t,n){if(e){var r=t.lastEffect;null!==r?(r.nextEffect=n,t.lastEffect=n):t.firstEffect=t.lastEffect=n,n.nextEffect=null,n.flags=8}}function n(n,r){if(!e)return null;for(;null!==r;)t(n,r),r=r.sibling;return null}function r(e,t){for(e=new Map;null!==t;)null!==t.key?e.set(t.key,t):e.set(t.index,t),t=t.sibling;return e}function i(e,t){return(e=Zl(e,t)).index=0,e.sibling=null,e}function o(t,n,r){return t.index=r,e?null!==(r=t.alternate)?(r=r.index)<n?(t.flags=2,n):r:(t.flags=2,n):n}function s(t){return e&&null===t.alternate&&(t.flags=2),t}function l(e,t,n,r){return null===t||6!==t.tag?((t=$l(n,e.mode,r)).return=e,t):((t=i(t,n)).return=e,t)}function c(e,t,n,r){return null!==t&&t.elementType===n.type?((r=i(t,n.props)).ref=ko(e,t,n),r.return=e,r):((r=Gl(n.type,n.key,n.props,null,e.mode,r)).ref=ko(e,t,n),r.return=e,r)}function u(e,t,n,r){return null===t||4!==t.tag||t.stateNode.containerInfo!==n.containerInfo||t.stateNode.implementation!==n.implementation?((t=Yl(n,e.mode,r)).return=e,t):((t=i(t,n.children||[])).return=e,t)}function d(e,t,n,r,o){return null===t||7!==t.tag?((t=ql(n,e.mode,r,o)).return=e,t):((t=i(t,n)).return=e,t)}function f(e,t,n){if("string"===typeof t||"number"===typeof t)return(t=$l(""+t,e.mode,n)).return=e,t;if("object"===typeof t&&null!==t){switch(t.$$typeof){case S:return(n=Gl(t.type,t.key,t.props,null,e.mode,n)).ref=ko(e,null,t),n.return=e,n;case E:return(t=Yl(t,e.mode,n)).return=e,t}if(Eo(t)||U(t))return(t=ql(t,e.mode,n,null)).return=e,t;Co(e,t)}return null}function p(e,t,n,r){var i=null!==t?t.key:null;if("string"===typeof n||"number"===typeof n)return null!==i?null:l(e,t,""+n,r);if("object"===typeof n&&null!==n){switch(n.$$typeof){case S:return n.key===i?n.type===k?d(e,t,n.props.children,r,i):c(e,t,n,r):null;case E:return n.key===i?u(e,t,n,r):null}if(Eo(n)||U(n))return null!==i?null:d(e,t,n,r,null);Co(e,n)}return null}function h(e,t,n,r,i){if("string"===typeof r||"number"===typeof r)return l(t,e=e.get(n)||null,""+r,i);if("object"===typeof r&&null!==r){switch(r.$$typeof){case S:return e=e.get(null===r.key?n:r.key)||null,r.type===k?d(t,e,r.props.children,i,r.key):c(t,e,r,i);case E:return u(t,e=e.get(null===r.key?n:r.key)||null,r,i)}if(Eo(r)||U(r))return d(t,e=e.get(n)||null,r,i,null);Co(t,r)}return null}function v(i,a,s,l){for(var c=null,u=null,d=a,v=a=0,m=null;null!==d&&v<s.length;v++){d.index>v?(m=d,d=null):m=d.sibling;var g=p(i,d,s[v],l);if(null===g){null===d&&(d=m);break}e&&d&&null===g.alternate&&t(i,d),a=o(g,a,v),null===u?c=g:u.sibling=g,u=g,d=m}if(v===s.length)return n(i,d),c;if(null===d){for(;v<s.length;v++)null!==(d=f(i,s[v],l))&&(a=o(d,a,v),null===u?c=d:u.sibling=d,u=d);return c}for(d=r(i,d);v<s.length;v++)null!==(m=h(d,i,v,s[v],l))&&(e&&null!==m.alternate&&d.delete(null===m.key?v:m.key),a=o(m,a,v),null===u?c=m:u.sibling=m,u=m);return e&&d.forEach((function(e){return t(i,e)})),c}function m(i,s,l,c){var u=U(l);if("function"!==typeof u)throw Error(a(150));if(null==(l=u.call(l)))throw Error(a(151));for(var d=u=null,v=s,m=s=0,g=null,y=l.next();null!==v&&!y.done;m++,y=l.next()){v.index>m?(g=v,v=null):g=v.sibling;var b=p(i,v,y.value,c);if(null===b){null===v&&(v=g);break}e&&v&&null===b.alternate&&t(i,v),s=o(b,s,m),null===d?u=b:d.sibling=b,d=b,v=g}if(y.done)return n(i,v),u;if(null===v){for(;!y.done;m++,y=l.next())null!==(y=f(i,y.value,c))&&(s=o(y,s,m),null===d?u=y:d.sibling=y,d=y);return u}for(v=r(i,v);!y.done;m++,y=l.next())null!==(y=h(v,i,m,y.value,c))&&(e&&null!==y.alternate&&v.delete(null===y.key?m:y.key),s=o(y,s,m),null===d?u=y:d.sibling=y,d=y);return e&&v.forEach((function(e){return t(i,e)})),u}return function(e,r,o,l){var c="object"===typeof o&&null!==o&&o.type===k&&null===o.key;c&&(o=o.props.children);var u="object"===typeof o&&null!==o;if(u)switch(o.$$typeof){case S:e:{for(u=o.key,c=r;null!==c;){if(c.key===u){if(7===c.tag){if(o.type===k){n(e,c.sibling),(r=i(c,o.props.children)).return=e,e=r;break e}}else if(c.elementType===o.type){n(e,c.sibling),(r=i(c,o.props)).ref=ko(e,c,o),r.return=e,e=r;break e}n(e,c);break}t(e,c),c=c.sibling}o.type===k?((r=ql(o.props.children,e.mode,l,o.key)).return=e,e=r):((l=Gl(o.type,o.key,o.props,null,e.mode,l)).ref=ko(e,r,o),l.return=e,e=l)}return s(e);case E:e:{for(c=o.key;null!==r;){if(r.key===c){if(4===r.tag&&r.stateNode.containerInfo===o.containerInfo&&r.stateNode.implementation===o.implementation){n(e,r.sibling),(r=i(r,o.children||[])).return=e,e=r;break e}n(e,r);break}t(e,r),r=r.sibling}(r=Yl(o,e.mode,l)).return=e,e=r}return s(e)}if("string"===typeof o||"number"===typeof o)return o=""+o,null!==r&&6===r.tag?(n(e,r.sibling),(r=i(r,o)).return=e,e=r):(n(e,r),(r=$l(o,e.mode,l)).return=e,e=r),s(e);if(Eo(o))return v(e,r,o,l);if(U(o))return m(e,r,o,l);if(u&&Co(e,o),"undefined"===typeof o&&!c)switch(e.tag){case 1:case 22:case 0:case 11:case 15:throw Error(a(152,G(e.type)||"Component"))}return n(e,r)}}var jo=Oo(!0),To=Oo(!1),Po={},No=ci(Po),_o=ci(Po),Ro=ci(Po);function Io(e){if(e===Po)throw Error(a(174));return e}function Lo(e,t){switch(di(Ro,t),di(_o,e),di(No,Po),e=t.nodeType){case 9:case 11:t=(t=t.documentElement)?t.namespaceURI:he(null,"");break;default:t=he(t=(e=8===e?t.parentNode:t).namespaceURI||null,e=e.tagName)}ui(No),di(No,t)}function Mo(){ui(No),ui(_o),ui(Ro)}function Do(e){Io(Ro.current);var t=Io(No.current),n=he(t,e.type);t!==n&&(di(_o,e),di(No,n))}function Ao(e){_o.current===e&&(ui(No),ui(_o))}var Fo=ci(0);function zo(e){for(var t=e;null!==t;){if(13===t.tag){var n=t.memoizedState;if(null!==n&&(null===(n=n.dehydrated)||"$?"===n.data||"$!"===n.data))return t}else if(19===t.tag&&void 0!==t.memoizedProps.revealOrder){if(0!==(64&t.flags))return t}else if(null!==t.child){t.child.return=t,t=t.child;continue}if(t===e)break;for(;null===t.sibling;){if(null===t.return||t.return===e)return null;t=t.return}t.sibling.return=t.return,t=t.sibling}return null}var Bo=null,Vo=null,Uo=!1;function Wo(e,t){var n=Hl(5,null,null,0);n.elementType="DELETED",n.type="DELETED",n.stateNode=t,n.return=e,n.flags=8,null!==e.lastEffect?(e.lastEffect.nextEffect=n,e.lastEffect=n):e.firstEffect=e.lastEffect=n}function Ho(e,t){switch(e.tag){case 5:var n=e.type;return null!==(t=1!==t.nodeType||n.toLowerCase()!==t.nodeName.toLowerCase()?null:t)&&(e.stateNode=t,!0);case 6:return null!==(t=""===e.pendingProps||3!==t.nodeType?null:t)&&(e.stateNode=t,!0);default:return!1}}function Ko(e){if(Uo){var t=Vo;if(t){var n=t;if(!Ho(e,t)){if(!(t=qr(n.nextSibling))||!Ho(e,t))return e.flags=-1025&e.flags|2,Uo=!1,void(Bo=e);Wo(Bo,n)}Bo=e,Vo=qr(t.firstChild)}else e.flags=-1025&e.flags|2,Uo=!1,Bo=e}}function Zo(e){for(e=e.return;null!==e&&5!==e.tag&&3!==e.tag&&13!==e.tag;)e=e.return;Bo=e}function Go(e){if(e!==Bo)return!1;if(!Uo)return Zo(e),Uo=!0,!1;var t=e.type;if(5!==e.tag||"head"!==t&&"body"!==t&&!Hr(t,e.memoizedProps))for(t=Vo;t;)Wo(e,t),t=qr(t.nextSibling);if(Zo(e),13===e.tag){if(!(e=null!==(e=e.memoizedState)?e.dehydrated:null))throw Error(a(317));e:{for(e=e.nextSibling,t=0;e;){if(8===e.nodeType){var n=e.data;if("/$"===n){if(0===t){Vo=qr(e.nextSibling);break e}t--}else"$"!==n&&"$!"!==n&&"$?"!==n||t++}e=e.nextSibling}Vo=null}}else Vo=Bo?qr(e.stateNode.nextSibling):null;return!0}function qo(){Vo=Bo=null,Uo=!1}var Xo=[];function $o(){for(var e=0;e<Xo.length;e++)Xo[e]._workInProgressVersionPrimary=null;Xo.length=0}var Yo=x.ReactCurrentDispatcher,Jo=x.ReactCurrentBatchConfig,Qo=0,ea=null,ta=null,na=null,ra=!1,ia=!1;function oa(){throw Error(a(321))}function aa(e,t){if(null===t)return!1;for(var n=0;n<t.length&&n<e.length;n++)if(!ur(e[n],t[n]))return!1;return!0}function sa(e,t,n,r,i,o){if(Qo=o,ea=t,t.memoizedState=null,t.updateQueue=null,t.lanes=0,Yo.current=null===e||null===e.memoizedState?Ia:La,e=n(r,i),ia){o=0;do{if(ia=!1,!(25>o))throw Error(a(301));o+=1,na=ta=null,t.updateQueue=null,Yo.current=Ma,e=n(r,i)}while(ia)}if(Yo.current=Ra,t=null!==ta&&null!==ta.next,Qo=0,na=ta=ea=null,ra=!1,t)throw Error(a(300));return e}function la(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return null===na?ea.memoizedState=na=e:na=na.next=e,na}function ca(){if(null===ta){var e=ea.alternate;e=null!==e?e.memoizedState:null}else e=ta.next;var t=null===na?ea.memoizedState:na.next;if(null!==t)na=t,ta=e;else{if(null===e)throw Error(a(310));e={memoizedState:(ta=e).memoizedState,baseState:ta.baseState,baseQueue:ta.baseQueue,queue:ta.queue,next:null},null===na?ea.memoizedState=na=e:na=na.next=e}return na}function ua(e,t){return"function"===typeof t?t(e):t}function da(e){var t=ca(),n=t.queue;if(null===n)throw Error(a(311));n.lastRenderedReducer=e;var r=ta,i=r.baseQueue,o=n.pending;if(null!==o){if(null!==i){var s=i.next;i.next=o.next,o.next=s}r.baseQueue=i=o,n.pending=null}if(null!==i){i=i.next,r=r.baseState;var l=s=o=null,c=i;do{var u=c.lane;if((Qo&u)===u)null!==l&&(l=l.next={lane:0,action:c.action,eagerReducer:c.eagerReducer,eagerState:c.eagerState,next:null}),r=c.eagerReducer===e?c.eagerState:e(r,c.action);else{var d={lane:u,action:c.action,eagerReducer:c.eagerReducer,eagerState:c.eagerState,next:null};null===l?(s=l=d,o=r):l=l.next=d,ea.lanes|=u,Vs|=u}c=c.next}while(null!==c&&c!==i);null===l?o=r:l.next=s,ur(r,t.memoizedState)||(Aa=!0),t.memoizedState=r,t.baseState=o,t.baseQueue=l,n.lastRenderedState=r}return[t.memoizedState,n.dispatch]}function fa(e){var t=ca(),n=t.queue;if(null===n)throw Error(a(311));n.lastRenderedReducer=e;var r=n.dispatch,i=n.pending,o=t.memoizedState;if(null!==i){n.pending=null;var s=i=i.next;do{o=e(o,s.action),s=s.next}while(s!==i);ur(o,t.memoizedState)||(Aa=!0),t.memoizedState=o,null===t.baseQueue&&(t.baseState=o),n.lastRenderedState=o}return[o,r]}function pa(e,t,n){var r=t._getVersion;r=r(t._source);var i=t._workInProgressVersionPrimary;if(null!==i?e=i===r:(e=e.mutableReadLanes,(e=(Qo&e)===e)&&(t._workInProgressVersionPrimary=r,Xo.push(t))),e)return n(t._source);throw Xo.push(t),Error(a(350))}function ha(e,t,n,r){var i=Is;if(null===i)throw Error(a(349));var o=t._getVersion,s=o(t._source),l=Yo.current,c=l.useState((function(){return pa(i,t,n)})),u=c[1],d=c[0];c=na;var f=e.memoizedState,p=f.refs,h=p.getSnapshot,v=f.source;f=f.subscribe;var m=ea;return e.memoizedState={refs:p,source:t,subscribe:r},l.useEffect((function(){p.getSnapshot=n,p.setSnapshot=u;var e=o(t._source);if(!ur(s,e)){e=n(t._source),ur(d,e)||(u(e),e=pl(m),i.mutableReadLanes|=e&i.pendingLanes),e=i.mutableReadLanes,i.entangledLanes|=e;for(var r=i.entanglements,a=e;0<a;){var l=31-Ht(a),c=1<<l;r[l]|=e,a&=~c}}}),[n,t,r]),l.useEffect((function(){return r(t._source,(function(){var e=p.getSnapshot,n=p.setSnapshot;try{n(e(t._source));var r=pl(m);i.mutableReadLanes|=r&i.pendingLanes}catch(o){n((function(){throw o}))}}))}),[t,r]),ur(h,n)&&ur(v,t)&&ur(f,r)||((e={pending:null,dispatch:null,lastRenderedReducer:ua,lastRenderedState:d}).dispatch=u=_a.bind(null,ea,e),c.queue=e,c.baseQueue=null,d=pa(i,t,n),c.memoizedState=c.baseState=d),d}function va(e,t,n){return ha(ca(),e,t,n)}function ma(e){var t=la();return"function"===typeof e&&(e=e()),t.memoizedState=t.baseState=e,e=(e=t.queue={pending:null,dispatch:null,lastRenderedReducer:ua,lastRenderedState:e}).dispatch=_a.bind(null,ea,e),[t.memoizedState,e]}function ga(e,t,n,r){return e={tag:e,create:t,destroy:n,deps:r,next:null},null===(t=ea.updateQueue)?(t={lastEffect:null},ea.updateQueue=t,t.lastEffect=e.next=e):null===(n=t.lastEffect)?t.lastEffect=e.next=e:(r=n.next,n.next=e,e.next=r,t.lastEffect=e),e}function ya(e){return e={current:e},la().memoizedState=e}function ba(){return ca().memoizedState}function wa(e,t,n,r){var i=la();ea.flags|=e,i.memoizedState=ga(1|t,n,void 0,void 0===r?null:r)}function xa(e,t,n,r){var i=ca();r=void 0===r?null:r;var o=void 0;if(null!==ta){var a=ta.memoizedState;if(o=a.destroy,null!==r&&aa(r,a.deps))return void ga(t,n,o,r)}ea.flags|=e,i.memoizedState=ga(1|t,n,o,r)}function Sa(e,t){return wa(516,4,e,t)}function Ea(e,t){return xa(516,4,e,t)}function ka(e,t){return xa(4,2,e,t)}function Ca(e,t){return"function"===typeof t?(e=e(),t(e),function(){t(null)}):null!==t&&void 0!==t?(e=e(),t.current=e,function(){t.current=null}):void 0}function Oa(e,t,n){return n=null!==n&&void 0!==n?n.concat([e]):null,xa(4,2,Ca.bind(null,t,e),n)}function ja(){}function Ta(e,t){var n=ca();t=void 0===t?null:t;var r=n.memoizedState;return null!==r&&null!==t&&aa(t,r[1])?r[0]:(n.memoizedState=[e,t],e)}function Pa(e,t){var n=ca();t=void 0===t?null:t;var r=n.memoizedState;return null!==r&&null!==t&&aa(t,r[1])?r[0]:(e=e(),n.memoizedState=[e,t],e)}function Na(e,t){var n=Hi();Zi(98>n?98:n,(function(){e(!0)})),Zi(97<n?97:n,(function(){var n=Jo.transition;Jo.transition=1;try{e(!1),t()}finally{Jo.transition=n}}))}function _a(e,t,n){var r=fl(),i=pl(e),o={lane:i,action:n,eagerReducer:null,eagerState:null,next:null},a=t.pending;if(null===a?o.next=o:(o.next=a.next,a.next=o),t.pending=o,a=e.alternate,e===ea||null!==a&&a===ea)ia=ra=!0;else{if(0===e.lanes&&(null===a||0===a.lanes)&&null!==(a=t.lastRenderedReducer))try{var s=t.lastRenderedState,l=a(s,n);if(o.eagerReducer=a,o.eagerState=l,ur(l,s))return}catch(c){}hl(e,i,r)}}var Ra={readContext:ao,useCallback:oa,useContext:oa,useEffect:oa,useImperativeHandle:oa,useLayoutEffect:oa,useMemo:oa,useReducer:oa,useRef:oa,useState:oa,useDebugValue:oa,useDeferredValue:oa,useTransition:oa,useMutableSource:oa,useOpaqueIdentifier:oa,unstable_isNewReconciler:!1},Ia={readContext:ao,useCallback:function(e,t){return la().memoizedState=[e,void 0===t?null:t],e},useContext:ao,useEffect:Sa,useImperativeHandle:function(e,t,n){return n=null!==n&&void 0!==n?n.concat([e]):null,wa(4,2,Ca.bind(null,t,e),n)},useLayoutEffect:function(e,t){return wa(4,2,e,t)},useMemo:function(e,t){var n=la();return t=void 0===t?null:t,e=e(),n.memoizedState=[e,t],e},useReducer:function(e,t,n){var r=la();return t=void 0!==n?n(t):t,r.memoizedState=r.baseState=t,e=(e=r.queue={pending:null,dispatch:null,lastRenderedReducer:e,lastRenderedState:t}).dispatch=_a.bind(null,ea,e),[r.memoizedState,e]},useRef:ya,useState:ma,useDebugValue:ja,useDeferredValue:function(e){var t=ma(e),n=t[0],r=t[1];return Sa((function(){var t=Jo.transition;Jo.transition=1;try{r(e)}finally{Jo.transition=t}}),[e]),n},useTransition:function(){var e=ma(!1),t=e[0];return ya(e=Na.bind(null,e[1])),[e,t]},useMutableSource:function(e,t,n){var r=la();return r.memoizedState={refs:{getSnapshot:t,setSnapshot:null},source:e,subscribe:n},ha(r,e,t,n)},useOpaqueIdentifier:function(){if(Uo){var e=!1,t=function(e){return{$$typeof:M,toString:e,valueOf:e}}((function(){throw e||(e=!0,n("r:"+($r++).toString(36))),Error(a(355))})),n=ma(t)[1];return 0===(2&ea.mode)&&(ea.flags|=516,ga(5,(function(){n("r:"+($r++).toString(36))}),void 0,null)),t}return ma(t="r:"+($r++).toString(36)),t},unstable_isNewReconciler:!1},La={readContext:ao,useCallback:Ta,useContext:ao,useEffect:Ea,useImperativeHandle:Oa,useLayoutEffect:ka,useMemo:Pa,useReducer:da,useRef:ba,useState:function(){return da(ua)},useDebugValue:ja,useDeferredValue:function(e){var t=da(ua),n=t[0],r=t[1];return Ea((function(){var t=Jo.transition;Jo.transition=1;try{r(e)}finally{Jo.transition=t}}),[e]),n},useTransition:function(){var e=da(ua)[0];return[ba().current,e]},useMutableSource:va,useOpaqueIdentifier:function(){return da(ua)[0]},unstable_isNewReconciler:!1},Ma={readContext:ao,useCallback:Ta,useContext:ao,useEffect:Ea,useImperativeHandle:Oa,useLayoutEffect:ka,useMemo:Pa,useReducer:fa,useRef:ba,useState:function(){return fa(ua)},useDebugValue:ja,useDeferredValue:function(e){var t=fa(ua),n=t[0],r=t[1];return Ea((function(){var t=Jo.transition;Jo.transition=1;try{r(e)}finally{Jo.transition=t}}),[e]),n},useTransition:function(){var e=fa(ua)[0];return[ba().current,e]},useMutableSource:va,useOpaqueIdentifier:function(){return fa(ua)[0]},unstable_isNewReconciler:!1},Da=x.ReactCurrentOwner,Aa=!1;function Fa(e,t,n,r){t.child=null===e?To(t,null,n,r):jo(t,e.child,n,r)}function za(e,t,n,r,i){n=n.render;var o=t.ref;return oo(t,i),r=sa(e,t,n,r,o,i),null===e||Aa?(t.flags|=1,Fa(e,t,r,i),t.child):(t.updateQueue=e.updateQueue,t.flags&=-517,e.lanes&=~i,os(e,t,i))}function Ba(e,t,n,r,i,o){if(null===e){var a=n.type;return"function"!==typeof a||Kl(a)||void 0!==a.defaultProps||null!==n.compare||void 0!==n.defaultProps?((e=Gl(n.type,null,r,t,t.mode,o)).ref=t.ref,e.return=t,t.child=e):(t.tag=15,t.type=a,Va(e,t,a,r,i,o))}return a=e.child,0===(i&o)&&(i=a.memoizedProps,(n=null!==(n=n.compare)?n:fr)(i,r)&&e.ref===t.ref)?os(e,t,o):(t.flags|=1,(e=Zl(a,r)).ref=t.ref,e.return=t,t.child=e)}function Va(e,t,n,r,i,o){if(null!==e&&fr(e.memoizedProps,r)&&e.ref===t.ref){if(Aa=!1,0===(o&i))return t.lanes=e.lanes,os(e,t,o);0!==(16384&e.flags)&&(Aa=!0)}return Ha(e,t,n,r,o)}function Ua(e,t,n){var r=t.pendingProps,i=r.children,o=null!==e?e.memoizedState:null;if("hidden"===r.mode||"unstable-defer-without-hiding"===r.mode)if(0===(4&t.mode))t.memoizedState={baseLanes:0},Sl(t,n);else{if(0===(1073741824&n))return e=null!==o?o.baseLanes|n:n,t.lanes=t.childLanes=1073741824,t.memoizedState={baseLanes:e},Sl(t,e),null;t.memoizedState={baseLanes:0},Sl(t,null!==o?o.baseLanes:n)}else null!==o?(r=o.baseLanes|n,t.memoizedState=null):r=n,Sl(t,r);return Fa(e,t,i,n),t.child}function Wa(e,t){var n=t.ref;(null===e&&null!==n||null!==e&&e.ref!==n)&&(t.flags|=128)}function Ha(e,t,n,r,i){var o=gi(n)?vi:pi.current;return o=mi(t,o),oo(t,i),n=sa(e,t,n,r,o,i),null===e||Aa?(t.flags|=1,Fa(e,t,n,i),t.child):(t.updateQueue=e.updateQueue,t.flags&=-517,e.lanes&=~i,os(e,t,i))}function Ka(e,t,n,r,i){if(gi(n)){var o=!0;xi(t)}else o=!1;if(oo(t,i),null===t.stateNode)null!==e&&(e.alternate=null,t.alternate=null,t.flags|=2),wo(t,n,r),So(t,n,r,i),r=!0;else if(null===e){var a=t.stateNode,s=t.memoizedProps;a.props=s;var l=a.context,c=n.contextType;"object"===typeof c&&null!==c?c=ao(c):c=mi(t,c=gi(n)?vi:pi.current);var u=n.getDerivedStateFromProps,d="function"===typeof u||"function"===typeof a.getSnapshotBeforeUpdate;d||"function"!==typeof a.UNSAFE_componentWillReceiveProps&&"function"!==typeof a.componentWillReceiveProps||(s!==r||l!==c)&&xo(t,a,r,c),so=!1;var f=t.memoizedState;a.state=f,ho(t,r,a,i),l=t.memoizedState,s!==r||f!==l||hi.current||so?("function"===typeof u&&(go(t,n,u,r),l=t.memoizedState),(s=so||bo(t,n,s,r,f,l,c))?(d||"function"!==typeof a.UNSAFE_componentWillMount&&"function"!==typeof a.componentWillMount||("function"===typeof a.componentWillMount&&a.componentWillMount(),"function"===typeof a.UNSAFE_componentWillMount&&a.UNSAFE_componentWillMount()),"function"===typeof a.componentDidMount&&(t.flags|=4)):("function"===typeof a.componentDidMount&&(t.flags|=4),t.memoizedProps=r,t.memoizedState=l),a.props=r,a.state=l,a.context=c,r=s):("function"===typeof a.componentDidMount&&(t.flags|=4),r=!1)}else{a=t.stateNode,co(e,t),s=t.memoizedProps,c=t.type===t.elementType?s:Yi(t.type,s),a.props=c,d=t.pendingProps,f=a.context,"object"===typeof(l=n.contextType)&&null!==l?l=ao(l):l=mi(t,l=gi(n)?vi:pi.current);var p=n.getDerivedStateFromProps;(u="function"===typeof p||"function"===typeof a.getSnapshotBeforeUpdate)||"function"!==typeof a.UNSAFE_componentWillReceiveProps&&"function"!==typeof a.componentWillReceiveProps||(s!==d||f!==l)&&xo(t,a,r,l),so=!1,f=t.memoizedState,a.state=f,ho(t,r,a,i);var h=t.memoizedState;s!==d||f!==h||hi.current||so?("function"===typeof p&&(go(t,n,p,r),h=t.memoizedState),(c=so||bo(t,n,c,r,f,h,l))?(u||"function"!==typeof a.UNSAFE_componentWillUpdate&&"function"!==typeof a.componentWillUpdate||("function"===typeof a.componentWillUpdate&&a.componentWillUpdate(r,h,l),"function"===typeof a.UNSAFE_componentWillUpdate&&a.UNSAFE_componentWillUpdate(r,h,l)),"function"===typeof a.componentDidUpdate&&(t.flags|=4),"function"===typeof a.getSnapshotBeforeUpdate&&(t.flags|=256)):("function"!==typeof a.componentDidUpdate||s===e.memoizedProps&&f===e.memoizedState||(t.flags|=4),"function"!==typeof a.getSnapshotBeforeUpdate||s===e.memoizedProps&&f===e.memoizedState||(t.flags|=256),t.memoizedProps=r,t.memoizedState=h),a.props=r,a.state=h,a.context=l,r=c):("function"!==typeof a.componentDidUpdate||s===e.memoizedProps&&f===e.memoizedState||(t.flags|=4),"function"!==typeof a.getSnapshotBeforeUpdate||s===e.memoizedProps&&f===e.memoizedState||(t.flags|=256),r=!1)}return Za(e,t,n,r,o,i)}function Za(e,t,n,r,i,o){Wa(e,t);var a=0!==(64&t.flags);if(!r&&!a)return i&&Si(t,n,!1),os(e,t,o);r=t.stateNode,Da.current=t;var s=a&&"function"!==typeof n.getDerivedStateFromError?null:r.render();return t.flags|=1,null!==e&&a?(t.child=jo(t,e.child,null,o),t.child=jo(t,null,s,o)):Fa(e,t,s,o),t.memoizedState=r.state,i&&Si(t,n,!0),t.child}function Ga(e){var t=e.stateNode;t.pendingContext?bi(0,t.pendingContext,t.pendingContext!==t.context):t.context&&bi(0,t.context,!1),Lo(e,t.containerInfo)}var qa,Xa,$a,Ya={dehydrated:null,retryLane:0};function Ja(e,t,n){var r,i=t.pendingProps,o=Fo.current,a=!1;return(r=0!==(64&t.flags))||(r=(null===e||null!==e.memoizedState)&&0!==(2&o)),r?(a=!0,t.flags&=-65):null!==e&&null===e.memoizedState||void 0===i.fallback||!0===i.unstable_avoidThisFallback||(o|=1),di(Fo,1&o),null===e?(void 0!==i.fallback&&Ko(t),e=i.children,o=i.fallback,a?(e=Qa(t,e,o,n),t.child.memoizedState={baseLanes:n},t.memoizedState=Ya,e):"number"===typeof i.unstable_expectedLoadTime?(e=Qa(t,e,o,n),t.child.memoizedState={baseLanes:n},t.memoizedState=Ya,t.lanes=33554432,e):((n=Xl({mode:"visible",children:e},t.mode,n,null)).return=t,t.child=n)):(e.memoizedState,a?(i=ts(e,t,i.children,i.fallback,n),a=t.child,o=e.child.memoizedState,a.memoizedState=null===o?{baseLanes:n}:{baseLanes:o.baseLanes|n},a.childLanes=e.childLanes&~n,t.memoizedState=Ya,i):(n=es(e,t,i.children,n),t.memoizedState=null,n))}function Qa(e,t,n,r){var i=e.mode,o=e.child;return t={mode:"hidden",children:t},0===(2&i)&&null!==o?(o.childLanes=0,o.pendingProps=t):o=Xl(t,i,0,null),n=ql(n,i,r,null),o.return=e,n.return=e,o.sibling=n,e.child=o,n}function es(e,t,n,r){var i=e.child;return e=i.sibling,n=Zl(i,{mode:"visible",children:n}),0===(2&t.mode)&&(n.lanes=r),n.return=t,n.sibling=null,null!==e&&(e.nextEffect=null,e.flags=8,t.firstEffect=t.lastEffect=e),t.child=n}function ts(e,t,n,r,i){var o=t.mode,a=e.child;e=a.sibling;var s={mode:"hidden",children:n};return 0===(2&o)&&t.child!==a?((n=t.child).childLanes=0,n.pendingProps=s,null!==(a=n.lastEffect)?(t.firstEffect=n.firstEffect,t.lastEffect=a,a.nextEffect=null):t.firstEffect=t.lastEffect=null):n=Zl(a,s),null!==e?r=Zl(e,r):(r=ql(r,o,i,null)).flags|=2,r.return=t,n.return=t,n.sibling=r,t.child=n,r}function ns(e,t){e.lanes|=t;var n=e.alternate;null!==n&&(n.lanes|=t),io(e.return,t)}function rs(e,t,n,r,i,o){var a=e.memoizedState;null===a?e.memoizedState={isBackwards:t,rendering:null,renderingStartTime:0,last:r,tail:n,tailMode:i,lastEffect:o}:(a.isBackwards=t,a.rendering=null,a.renderingStartTime=0,a.last=r,a.tail=n,a.tailMode=i,a.lastEffect=o)}function is(e,t,n){var r=t.pendingProps,i=r.revealOrder,o=r.tail;if(Fa(e,t,r.children,n),0!==(2&(r=Fo.current)))r=1&r|2,t.flags|=64;else{if(null!==e&&0!==(64&e.flags))e:for(e=t.child;null!==e;){if(13===e.tag)null!==e.memoizedState&&ns(e,n);else if(19===e.tag)ns(e,n);else if(null!==e.child){e.child.return=e,e=e.child;continue}if(e===t)break e;for(;null===e.sibling;){if(null===e.return||e.return===t)break e;e=e.return}e.sibling.return=e.return,e=e.sibling}r&=1}if(di(Fo,r),0===(2&t.mode))t.memoizedState=null;else switch(i){case"forwards":for(n=t.child,i=null;null!==n;)null!==(e=n.alternate)&&null===zo(e)&&(i=n),n=n.sibling;null===(n=i)?(i=t.child,t.child=null):(i=n.sibling,n.sibling=null),rs(t,!1,i,n,o,t.lastEffect);break;case"backwards":for(n=null,i=t.child,t.child=null;null!==i;){if(null!==(e=i.alternate)&&null===zo(e)){t.child=i;break}e=i.sibling,i.sibling=n,n=i,i=e}rs(t,!0,n,null,o,t.lastEffect);break;case"together":rs(t,!1,null,null,void 0,t.lastEffect);break;default:t.memoizedState=null}return t.child}function os(e,t,n){if(null!==e&&(t.dependencies=e.dependencies),Vs|=t.lanes,0!==(n&t.childLanes)){if(null!==e&&t.child!==e.child)throw Error(a(153));if(null!==t.child){for(n=Zl(e=t.child,e.pendingProps),t.child=n,n.return=t;null!==e.sibling;)e=e.sibling,(n=n.sibling=Zl(e,e.pendingProps)).return=t;n.sibling=null}return t.child}return null}function as(e,t){if(!Uo)switch(e.tailMode){case"hidden":t=e.tail;for(var n=null;null!==t;)null!==t.alternate&&(n=t),t=t.sibling;null===n?e.tail=null:n.sibling=null;break;case"collapsed":n=e.tail;for(var r=null;null!==n;)null!==n.alternate&&(r=n),n=n.sibling;null===r?t||null===e.tail?e.tail=null:e.tail.sibling=null:r.sibling=null}}function ss(e,t,n){var r=t.pendingProps;switch(t.tag){case 2:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return null;case 1:case 17:return gi(t.type)&&yi(),null;case 3:return Mo(),ui(hi),ui(pi),$o(),(r=t.stateNode).pendingContext&&(r.context=r.pendingContext,r.pendingContext=null),null!==e&&null!==e.child||(Go(t)?t.flags|=4:r.hydrate||(t.flags|=256)),null;case 5:Ao(t);var o=Io(Ro.current);if(n=t.type,null!==e&&null!=t.stateNode)Xa(e,t,n,r),e.ref!==t.ref&&(t.flags|=128);else{if(!r){if(null===t.stateNode)throw Error(a(166));return null}if(e=Io(No.current),Go(t)){r=t.stateNode,n=t.type;var s=t.memoizedProps;switch(r[Jr]=t,r[Qr]=s,n){case"dialog":Nr("cancel",r),Nr("close",r);break;case"iframe":case"object":case"embed":Nr("load",r);break;case"video":case"audio":for(e=0;e<Or.length;e++)Nr(Or[e],r);break;case"source":Nr("error",r);break;case"img":case"image":case"link":Nr("error",r),Nr("load",r);break;case"details":Nr("toggle",r);break;case"input":ee(r,s),Nr("invalid",r);break;case"select":r._wrapperState={wasMultiple:!!s.multiple},Nr("invalid",r);break;case"textarea":le(r,s),Nr("invalid",r)}for(var c in ke(n,s),e=null,s)s.hasOwnProperty(c)&&(o=s[c],"children"===c?"string"===typeof o?r.textContent!==o&&(e=["children",o]):"number"===typeof o&&r.textContent!==""+o&&(e=["children",""+o]):l.hasOwnProperty(c)&&null!=o&&"onScroll"===c&&Nr("scroll",r));switch(n){case"input":$(r),re(r,s,!0);break;case"textarea":$(r),ue(r);break;case"select":case"option":break;default:"function"===typeof s.onClick&&(r.onclick=Br)}r=e,t.updateQueue=r,null!==r&&(t.flags|=4)}else{switch(c=9===o.nodeType?o:o.ownerDocument,e===de&&(e=pe(n)),e===de?"script"===n?((e=c.createElement("div")).innerHTML="<script><\/script>",e=e.removeChild(e.firstChild)):"string"===typeof r.is?e=c.createElement(n,{is:r.is}):(e=c.createElement(n),"select"===n&&(c=e,r.multiple?c.multiple=!0:r.size&&(c.size=r.size))):e=c.createElementNS(e,n),e[Jr]=t,e[Qr]=r,qa(e,t),t.stateNode=e,c=Ce(n,r),n){case"dialog":Nr("cancel",e),Nr("close",e),o=r;break;case"iframe":case"object":case"embed":Nr("load",e),o=r;break;case"video":case"audio":for(o=0;o<Or.length;o++)Nr(Or[o],e);o=r;break;case"source":Nr("error",e),o=r;break;case"img":case"image":case"link":Nr("error",e),Nr("load",e),o=r;break;case"details":Nr("toggle",e),o=r;break;case"input":ee(e,r),o=Q(e,r),Nr("invalid",e);break;case"option":o=oe(e,r);break;case"select":e._wrapperState={wasMultiple:!!r.multiple},o=i({},r,{value:void 0}),Nr("invalid",e);break;case"textarea":le(e,r),o=se(e,r),Nr("invalid",e);break;default:o=r}ke(n,o);var u=o;for(s in u)if(u.hasOwnProperty(s)){var d=u[s];"style"===s?Se(e,d):"dangerouslySetInnerHTML"===s?null!=(d=d?d.__html:void 0)&&ge(e,d):"children"===s?"string"===typeof d?("textarea"!==n||""!==d)&&ye(e,d):"number"===typeof d&&ye(e,""+d):"suppressContentEditableWarning"!==s&&"suppressHydrationWarning"!==s&&"autoFocus"!==s&&(l.hasOwnProperty(s)?null!=d&&"onScroll"===s&&Nr("scroll",e):null!=d&&w(e,s,d,c))}switch(n){case"input":$(e),re(e,r,!1);break;case"textarea":$(e),ue(e);break;case"option":null!=r.value&&e.setAttribute("value",""+q(r.value));break;case"select":e.multiple=!!r.multiple,null!=(s=r.value)?ae(e,!!r.multiple,s,!1):null!=r.defaultValue&&ae(e,!!r.multiple,r.defaultValue,!0);break;default:"function"===typeof o.onClick&&(e.onclick=Br)}Wr(n,r)&&(t.flags|=4)}null!==t.ref&&(t.flags|=128)}return null;case 6:if(e&&null!=t.stateNode)$a(0,t,e.memoizedProps,r);else{if("string"!==typeof r&&null===t.stateNode)throw Error(a(166));n=Io(Ro.current),Io(No.current),Go(t)?(r=t.stateNode,n=t.memoizedProps,r[Jr]=t,r.nodeValue!==n&&(t.flags|=4)):((r=(9===n.nodeType?n:n.ownerDocument).createTextNode(r))[Jr]=t,t.stateNode=r)}return null;case 13:return ui(Fo),r=t.memoizedState,0!==(64&t.flags)?(t.lanes=n,t):(r=null!==r,n=!1,null===e?void 0!==t.memoizedProps.fallback&&Go(t):n=null!==e.memoizedState,r&&!n&&0!==(2&t.mode)&&(null===e&&!0!==t.memoizedProps.unstable_avoidThisFallback||0!==(1&Fo.current)?0===Fs&&(Fs=3):(0!==Fs&&3!==Fs||(Fs=4),null===Is||0===(134217727&Vs)&&0===(134217727&Us)||yl(Is,Ms))),(r||n)&&(t.flags|=4),null);case 4:return Mo(),null===e&&Rr(t.stateNode.containerInfo),null;case 10:return ro(t),null;case 19:if(ui(Fo),null===(r=t.memoizedState))return null;if(s=0!==(64&t.flags),null===(c=r.rendering))if(s)as(r,!1);else{if(0!==Fs||null!==e&&0!==(64&e.flags))for(e=t.child;null!==e;){if(null!==(c=zo(e))){for(t.flags|=64,as(r,!1),null!==(s=c.updateQueue)&&(t.updateQueue=s,t.flags|=4),null===r.lastEffect&&(t.firstEffect=null),t.lastEffect=r.lastEffect,r=n,n=t.child;null!==n;)e=r,(s=n).flags&=2,s.nextEffect=null,s.firstEffect=null,s.lastEffect=null,null===(c=s.alternate)?(s.childLanes=0,s.lanes=e,s.child=null,s.memoizedProps=null,s.memoizedState=null,s.updateQueue=null,s.dependencies=null,s.stateNode=null):(s.childLanes=c.childLanes,s.lanes=c.lanes,s.child=c.child,s.memoizedProps=c.memoizedProps,s.memoizedState=c.memoizedState,s.updateQueue=c.updateQueue,s.type=c.type,e=c.dependencies,s.dependencies=null===e?null:{lanes:e.lanes,firstContext:e.firstContext}),n=n.sibling;return di(Fo,1&Fo.current|2),t.child}e=e.sibling}null!==r.tail&&Wi()>Zs&&(t.flags|=64,s=!0,as(r,!1),t.lanes=33554432)}else{if(!s)if(null!==(e=zo(c))){if(t.flags|=64,s=!0,null!==(n=e.updateQueue)&&(t.updateQueue=n,t.flags|=4),as(r,!0),null===r.tail&&"hidden"===r.tailMode&&!c.alternate&&!Uo)return null!==(t=t.lastEffect=r.lastEffect)&&(t.nextEffect=null),null}else 2*Wi()-r.renderingStartTime>Zs&&1073741824!==n&&(t.flags|=64,s=!0,as(r,!1),t.lanes=33554432);r.isBackwards?(c.sibling=t.child,t.child=c):(null!==(n=r.last)?n.sibling=c:t.child=c,r.last=c)}return null!==r.tail?(n=r.tail,r.rendering=n,r.tail=n.sibling,r.lastEffect=t.lastEffect,r.renderingStartTime=Wi(),n.sibling=null,t=Fo.current,di(Fo,s?1&t|2:1&t),n):null;case 23:case 24:return El(),null!==e&&null!==e.memoizedState!==(null!==t.memoizedState)&&"unstable-defer-without-hiding"!==r.mode&&(t.flags|=4),null}throw Error(a(156,t.tag))}function ls(e){switch(e.tag){case 1:gi(e.type)&&yi();var t=e.flags;return 4096&t?(e.flags=-4097&t|64,e):null;case 3:if(Mo(),ui(hi),ui(pi),$o(),0!==(64&(t=e.flags)))throw Error(a(285));return e.flags=-4097&t|64,e;case 5:return Ao(e),null;case 13:return ui(Fo),4096&(t=e.flags)?(e.flags=-4097&t|64,e):null;case 19:return ui(Fo),null;case 4:return Mo(),null;case 10:return ro(e),null;case 23:case 24:return El(),null;default:return null}}function cs(e,t){try{var n="",r=t;do{n+=Z(r),r=r.return}while(r);var i=n}catch(o){i="\nError generating stack: "+o.message+"\n"+o.stack}return{value:e,source:t,stack:i}}function us(e,t){try{console.error(t.value)}catch(n){setTimeout((function(){throw n}))}}qa=function(e,t){for(var n=t.child;null!==n;){if(5===n.tag||6===n.tag)e.appendChild(n.stateNode);else if(4!==n.tag&&null!==n.child){n.child.return=n,n=n.child;continue}if(n===t)break;for(;null===n.sibling;){if(null===n.return||n.return===t)return;n=n.return}n.sibling.return=n.return,n=n.sibling}},Xa=function(e,t,n,r){var o=e.memoizedProps;if(o!==r){e=t.stateNode,Io(No.current);var a,s=null;switch(n){case"input":o=Q(e,o),r=Q(e,r),s=[];break;case"option":o=oe(e,o),r=oe(e,r),s=[];break;case"select":o=i({},o,{value:void 0}),r=i({},r,{value:void 0}),s=[];break;case"textarea":o=se(e,o),r=se(e,r),s=[];break;default:"function"!==typeof o.onClick&&"function"===typeof r.onClick&&(e.onclick=Br)}for(d in ke(n,r),n=null,o)if(!r.hasOwnProperty(d)&&o.hasOwnProperty(d)&&null!=o[d])if("style"===d){var c=o[d];for(a in c)c.hasOwnProperty(a)&&(n||(n={}),n[a]="")}else"dangerouslySetInnerHTML"!==d&&"children"!==d&&"suppressContentEditableWarning"!==d&&"suppressHydrationWarning"!==d&&"autoFocus"!==d&&(l.hasOwnProperty(d)?s||(s=[]):(s=s||[]).push(d,null));for(d in r){var u=r[d];if(c=null!=o?o[d]:void 0,r.hasOwnProperty(d)&&u!==c&&(null!=u||null!=c))if("style"===d)if(c){for(a in c)!c.hasOwnProperty(a)||u&&u.hasOwnProperty(a)||(n||(n={}),n[a]="");for(a in u)u.hasOwnProperty(a)&&c[a]!==u[a]&&(n||(n={}),n[a]=u[a])}else n||(s||(s=[]),s.push(d,n)),n=u;else"dangerouslySetInnerHTML"===d?(u=u?u.__html:void 0,c=c?c.__html:void 0,null!=u&&c!==u&&(s=s||[]).push(d,u)):"children"===d?"string"!==typeof u&&"number"!==typeof u||(s=s||[]).push(d,""+u):"suppressContentEditableWarning"!==d&&"suppressHydrationWarning"!==d&&(l.hasOwnProperty(d)?(null!=u&&"onScroll"===d&&Nr("scroll",e),s||c===u||(s=[])):"object"===typeof u&&null!==u&&u.$$typeof===M?u.toString():(s=s||[]).push(d,u))}n&&(s=s||[]).push("style",n);var d=s;(t.updateQueue=d)&&(t.flags|=4)}},$a=function(e,t,n,r){n!==r&&(t.flags|=4)};var ds="function"===typeof WeakMap?WeakMap:Map;function fs(e,t,n){(n=uo(-1,n)).tag=3,n.payload={element:null};var r=t.value;return n.callback=function(){$s||($s=!0,Ys=r),us(0,t)},n}function ps(e,t,n){(n=uo(-1,n)).tag=3;var r=e.type.getDerivedStateFromError;if("function"===typeof r){var i=t.value;n.payload=function(){return us(0,t),r(i)}}var o=e.stateNode;return null!==o&&"function"===typeof o.componentDidCatch&&(n.callback=function(){"function"!==typeof r&&(null===Js?Js=new Set([this]):Js.add(this),us(0,t));var e=t.stack;this.componentDidCatch(t.value,{componentStack:null!==e?e:""})}),n}var hs="function"===typeof WeakSet?WeakSet:Set;function vs(e){var t=e.ref;if(null!==t)if("function"===typeof t)try{t(null)}catch(n){Bl(e,n)}else t.current=null}function ms(e,t){switch(t.tag){case 0:case 11:case 15:case 22:case 5:case 6:case 4:case 17:return;case 1:if(256&t.flags&&null!==e){var n=e.memoizedProps,r=e.memoizedState;t=(e=t.stateNode).getSnapshotBeforeUpdate(t.elementType===t.type?n:Yi(t.type,n),r),e.__reactInternalSnapshotBeforeUpdate=t}return;case 3:return void(256&t.flags&&Gr(t.stateNode.containerInfo))}throw Error(a(163))}function gs(e,t,n){switch(n.tag){case 0:case 11:case 15:case 22:if(null!==(t=null!==(t=n.updateQueue)?t.lastEffect:null)){e=t=t.next;do{if(3===(3&e.tag)){var r=e.create;e.destroy=r()}e=e.next}while(e!==t)}if(null!==(t=null!==(t=n.updateQueue)?t.lastEffect:null)){e=t=t.next;do{var i=e;r=i.next,0!==(4&(i=i.tag))&&0!==(1&i)&&(Al(n,e),Dl(n,e)),e=r}while(e!==t)}return;case 1:return e=n.stateNode,4&n.flags&&(null===t?e.componentDidMount():(r=n.elementType===n.type?t.memoizedProps:Yi(n.type,t.memoizedProps),e.componentDidUpdate(r,t.memoizedState,e.__reactInternalSnapshotBeforeUpdate))),void(null!==(t=n.updateQueue)&&vo(n,t,e));case 3:if(null!==(t=n.updateQueue)){if(e=null,null!==n.child)switch(n.child.tag){case 5:case 1:e=n.child.stateNode}vo(n,t,e)}return;case 5:return e=n.stateNode,void(null===t&&4&n.flags&&Wr(n.type,n.memoizedProps)&&e.focus());case 6:case 4:case 12:case 19:case 17:case 20:case 21:case 23:case 24:return;case 13:return void(null===n.memoizedState&&(n=n.alternate,null!==n&&(n=n.memoizedState,null!==n&&(n=n.dehydrated,null!==n&&St(n)))))}throw Error(a(163))}function ys(e,t){for(var n=e;;){if(5===n.tag){var r=n.stateNode;if(t)"function"===typeof(r=r.style).setProperty?r.setProperty("display","none","important"):r.display="none";else{r=n.stateNode;var i=n.memoizedProps.style;i=void 0!==i&&null!==i&&i.hasOwnProperty("display")?i.display:null,r.style.display=xe("display",i)}}else if(6===n.tag)n.stateNode.nodeValue=t?"":n.memoizedProps;else if((23!==n.tag&&24!==n.tag||null===n.memoizedState||n===e)&&null!==n.child){n.child.return=n,n=n.child;continue}if(n===e)break;for(;null===n.sibling;){if(null===n.return||n.return===e)return;n=n.return}n.sibling.return=n.return,n=n.sibling}}function bs(e,t){if(ki&&"function"===typeof ki.onCommitFiberUnmount)try{ki.onCommitFiberUnmount(Ei,t)}catch(o){}switch(t.tag){case 0:case 11:case 14:case 15:case 22:if(null!==(e=t.updateQueue)&&null!==(e=e.lastEffect)){var n=e=e.next;do{var r=n,i=r.destroy;if(r=r.tag,void 0!==i)if(0!==(4&r))Al(t,n);else{r=t;try{i()}catch(o){Bl(r,o)}}n=n.next}while(n!==e)}break;case 1:if(vs(t),"function"===typeof(e=t.stateNode).componentWillUnmount)try{e.props=t.memoizedProps,e.state=t.memoizedState,e.componentWillUnmount()}catch(o){Bl(t,o)}break;case 5:vs(t);break;case 4:Cs(e,t)}}function ws(e){e.alternate=null,e.child=null,e.dependencies=null,e.firstEffect=null,e.lastEffect=null,e.memoizedProps=null,e.memoizedState=null,e.pendingProps=null,e.return=null,e.updateQueue=null}function xs(e){return 5===e.tag||3===e.tag||4===e.tag}function Ss(e){e:{for(var t=e.return;null!==t;){if(xs(t))break e;t=t.return}throw Error(a(160))}var n=t;switch(t=n.stateNode,n.tag){case 5:var r=!1;break;case 3:case 4:t=t.containerInfo,r=!0;break;default:throw Error(a(161))}16&n.flags&&(ye(t,""),n.flags&=-17);e:t:for(n=e;;){for(;null===n.sibling;){if(null===n.return||xs(n.return)){n=null;break e}n=n.return}for(n.sibling.return=n.return,n=n.sibling;5!==n.tag&&6!==n.tag&&18!==n.tag;){if(2&n.flags)continue t;if(null===n.child||4===n.tag)continue t;n.child.return=n,n=n.child}if(!(2&n.flags)){n=n.stateNode;break e}}r?Es(e,n,t):ks(e,n,t)}function Es(e,t,n){var r=e.tag,i=5===r||6===r;if(i)e=i?e.stateNode:e.stateNode.instance,t?8===n.nodeType?n.parentNode.insertBefore(e,t):n.insertBefore(e,t):(8===n.nodeType?(t=n.parentNode).insertBefore(e,n):(t=n).appendChild(e),null!==(n=n._reactRootContainer)&&void 0!==n||null!==t.onclick||(t.onclick=Br));else if(4!==r&&null!==(e=e.child))for(Es(e,t,n),e=e.sibling;null!==e;)Es(e,t,n),e=e.sibling}function ks(e,t,n){var r=e.tag,i=5===r||6===r;if(i)e=i?e.stateNode:e.stateNode.instance,t?n.insertBefore(e,t):n.appendChild(e);else if(4!==r&&null!==(e=e.child))for(ks(e,t,n),e=e.sibling;null!==e;)ks(e,t,n),e=e.sibling}function Cs(e,t){for(var n,r,i=t,o=!1;;){if(!o){o=i.return;e:for(;;){if(null===o)throw Error(a(160));switch(n=o.stateNode,o.tag){case 5:r=!1;break e;case 3:case 4:n=n.containerInfo,r=!0;break e}o=o.return}o=!0}if(5===i.tag||6===i.tag){e:for(var s=e,l=i,c=l;;)if(bs(s,c),null!==c.child&&4!==c.tag)c.child.return=c,c=c.child;else{if(c===l)break e;for(;null===c.sibling;){if(null===c.return||c.return===l)break e;c=c.return}c.sibling.return=c.return,c=c.sibling}r?(s=n,l=i.stateNode,8===s.nodeType?s.parentNode.removeChild(l):s.removeChild(l)):n.removeChild(i.stateNode)}else if(4===i.tag){if(null!==i.child){n=i.stateNode.containerInfo,r=!0,i.child.return=i,i=i.child;continue}}else if(bs(e,i),null!==i.child){i.child.return=i,i=i.child;continue}if(i===t)break;for(;null===i.sibling;){if(null===i.return||i.return===t)return;4===(i=i.return).tag&&(o=!1)}i.sibling.return=i.return,i=i.sibling}}function Os(e,t){switch(t.tag){case 0:case 11:case 14:case 15:case 22:var n=t.updateQueue;if(null!==(n=null!==n?n.lastEffect:null)){var r=n=n.next;do{3===(3&r.tag)&&(e=r.destroy,r.destroy=void 0,void 0!==e&&e()),r=r.next}while(r!==n)}return;case 1:case 12:case 17:return;case 5:if(null!=(n=t.stateNode)){r=t.memoizedProps;var i=null!==e?e.memoizedProps:r;e=t.type;var o=t.updateQueue;if(t.updateQueue=null,null!==o){for(n[Qr]=r,"input"===e&&"radio"===r.type&&null!=r.name&&te(n,r),Ce(e,i),t=Ce(e,r),i=0;i<o.length;i+=2){var s=o[i],l=o[i+1];"style"===s?Se(n,l):"dangerouslySetInnerHTML"===s?ge(n,l):"children"===s?ye(n,l):w(n,s,l,t)}switch(e){case"input":ne(n,r);break;case"textarea":ce(n,r);break;case"select":e=n._wrapperState.wasMultiple,n._wrapperState.wasMultiple=!!r.multiple,null!=(o=r.value)?ae(n,!!r.multiple,o,!1):e!==!!r.multiple&&(null!=r.defaultValue?ae(n,!!r.multiple,r.defaultValue,!0):ae(n,!!r.multiple,r.multiple?[]:"",!1))}}}return;case 6:if(null===t.stateNode)throw Error(a(162));return void(t.stateNode.nodeValue=t.memoizedProps);case 3:return void((n=t.stateNode).hydrate&&(n.hydrate=!1,St(n.containerInfo)));case 13:return null!==t.memoizedState&&(Ks=Wi(),ys(t.child,!0)),void js(t);case 19:return void js(t);case 23:case 24:return void ys(t,null!==t.memoizedState)}throw Error(a(163))}function js(e){var t=e.updateQueue;if(null!==t){e.updateQueue=null;var n=e.stateNode;null===n&&(n=e.stateNode=new hs),t.forEach((function(t){var r=Ul.bind(null,e,t);n.has(t)||(n.add(t),t.then(r,r))}))}}function Ts(e,t){return null!==e&&(null===(e=e.memoizedState)||null!==e.dehydrated)&&(null!==(t=t.memoizedState)&&null===t.dehydrated)}var Ps=Math.ceil,Ns=x.ReactCurrentDispatcher,_s=x.ReactCurrentOwner,Rs=0,Is=null,Ls=null,Ms=0,Ds=0,As=ci(0),Fs=0,zs=null,Bs=0,Vs=0,Us=0,Ws=0,Hs=null,Ks=0,Zs=1/0;function Gs(){Zs=Wi()+500}var qs,Xs=null,$s=!1,Ys=null,Js=null,Qs=!1,el=null,tl=90,nl=[],rl=[],il=null,ol=0,al=null,sl=-1,ll=0,cl=0,ul=null,dl=!1;function fl(){return 0!==(48&Rs)?Wi():-1!==sl?sl:sl=Wi()}function pl(e){if(0===(2&(e=e.mode)))return 1;if(0===(4&e))return 99===Hi()?1:2;if(0===ll&&(ll=Bs),0!==$i.transition){0!==cl&&(cl=null!==Hs?Hs.pendingLanes:0),e=ll;var t=4186112&~cl;return 0===(t&=-t)&&(0===(t=(e=4186112&~e)&-e)&&(t=8192)),t}return e=Hi(),0!==(4&Rs)&&98===e?e=Bt(12,ll):e=Bt(e=function(e){switch(e){case 99:return 15;case 98:return 10;case 97:case 96:return 8;case 95:return 2;default:return 0}}(e),ll),e}function hl(e,t,n){if(50<ol)throw ol=0,al=null,Error(a(185));if(null===(e=vl(e,t)))return null;Wt(e,t,n),e===Is&&(Us|=t,4===Fs&&yl(e,Ms));var r=Hi();1===t?0!==(8&Rs)&&0===(48&Rs)?bl(e):(ml(e,n),0===Rs&&(Gs(),qi())):(0===(4&Rs)||98!==r&&99!==r||(null===il?il=new Set([e]):il.add(e)),ml(e,n)),Hs=e}function vl(e,t){e.lanes|=t;var n=e.alternate;for(null!==n&&(n.lanes|=t),n=e,e=e.return;null!==e;)e.childLanes|=t,null!==(n=e.alternate)&&(n.childLanes|=t),n=e,e=e.return;return 3===n.tag?n.stateNode:null}function ml(e,t){for(var n=e.callbackNode,r=e.suspendedLanes,i=e.pingedLanes,o=e.expirationTimes,s=e.pendingLanes;0<s;){var l=31-Ht(s),c=1<<l,u=o[l];if(-1===u){if(0===(c&r)||0!==(c&i)){u=t,At(c);var d=Dt;o[l]=10<=d?u+250:6<=d?u+5e3:-1}}else u<=t&&(e.expiredLanes|=c);s&=~c}if(r=Ft(e,e===Is?Ms:0),t=Dt,0===r)null!==n&&(n!==Ai&&ji(n),e.callbackNode=null,e.callbackPriority=0);else{if(null!==n){if(e.callbackPriority===t)return;n!==Ai&&ji(n)}15===t?(n=bl.bind(null,e),null===zi?(zi=[n],Bi=Oi(Ri,Xi)):zi.push(n),n=Ai):14===t?n=Gi(99,bl.bind(null,e)):(n=function(e){switch(e){case 15:case 14:return 99;case 13:case 12:case 11:case 10:return 98;case 9:case 8:case 7:case 6:case 4:case 5:return 97;case 3:case 2:case 1:return 95;case 0:return 90;default:throw Error(a(358,e))}}(t),n=Gi(n,gl.bind(null,e))),e.callbackPriority=t,e.callbackNode=n}}function gl(e){if(sl=-1,cl=ll=0,0!==(48&Rs))throw Error(a(327));var t=e.callbackNode;if(Ml()&&e.callbackNode!==t)return null;var n=Ft(e,e===Is?Ms:0);if(0===n)return null;var r=n,i=Rs;Rs|=16;var o=Ol();for(Is===e&&Ms===r||(Gs(),kl(e,r));;)try{Pl();break}catch(l){Cl(e,l)}if(no(),Ns.current=o,Rs=i,null!==Ls?r=0:(Is=null,Ms=0,r=Fs),0!==(Bs&Us))kl(e,0);else if(0!==r){if(2===r&&(Rs|=64,e.hydrate&&(e.hydrate=!1,Gr(e.containerInfo)),0!==(n=zt(e))&&(r=jl(e,n))),1===r)throw t=zs,kl(e,0),yl(e,n),ml(e,Wi()),t;switch(e.finishedWork=e.current.alternate,e.finishedLanes=n,r){case 0:case 1:throw Error(a(345));case 2:case 5:Rl(e);break;case 3:if(yl(e,n),(62914560&n)===n&&10<(r=Ks+500-Wi())){if(0!==Ft(e,0))break;if(((i=e.suspendedLanes)&n)!==n){fl(),e.pingedLanes|=e.suspendedLanes&i;break}e.timeoutHandle=Kr(Rl.bind(null,e),r);break}Rl(e);break;case 4:if(yl(e,n),(4186112&n)===n)break;for(r=e.eventTimes,i=-1;0<n;){var s=31-Ht(n);o=1<<s,(s=r[s])>i&&(i=s),n&=~o}if(n=i,10<(n=(120>(n=Wi()-n)?120:480>n?480:1080>n?1080:1920>n?1920:3e3>n?3e3:4320>n?4320:1960*Ps(n/1960))-n)){e.timeoutHandle=Kr(Rl.bind(null,e),n);break}Rl(e);break;default:throw Error(a(329))}}return ml(e,Wi()),e.callbackNode===t?gl.bind(null,e):null}function yl(e,t){for(t&=~Ws,t&=~Us,e.suspendedLanes|=t,e.pingedLanes&=~t,e=e.expirationTimes;0<t;){var n=31-Ht(t),r=1<<n;e[n]=-1,t&=~r}}function bl(e){if(0!==(48&Rs))throw Error(a(327));if(Ml(),e===Is&&0!==(e.expiredLanes&Ms)){var t=Ms,n=jl(e,t);0!==(Bs&Us)&&(n=jl(e,t=Ft(e,t)))}else n=jl(e,t=Ft(e,0));if(0!==e.tag&&2===n&&(Rs|=64,e.hydrate&&(e.hydrate=!1,Gr(e.containerInfo)),0!==(t=zt(e))&&(n=jl(e,t))),1===n)throw n=zs,kl(e,0),yl(e,t),ml(e,Wi()),n;return e.finishedWork=e.current.alternate,e.finishedLanes=t,Rl(e),ml(e,Wi()),null}function wl(e,t){var n=Rs;Rs|=1;try{return e(t)}finally{0===(Rs=n)&&(Gs(),qi())}}function xl(e,t){var n=Rs;Rs&=-2,Rs|=8;try{return e(t)}finally{0===(Rs=n)&&(Gs(),qi())}}function Sl(e,t){di(As,Ds),Ds|=t,Bs|=t}function El(){Ds=As.current,ui(As)}function kl(e,t){e.finishedWork=null,e.finishedLanes=0;var n=e.timeoutHandle;if(-1!==n&&(e.timeoutHandle=-1,Zr(n)),null!==Ls)for(n=Ls.return;null!==n;){var r=n;switch(r.tag){case 1:null!==(r=r.type.childContextTypes)&&void 0!==r&&yi();break;case 3:Mo(),ui(hi),ui(pi),$o();break;case 5:Ao(r);break;case 4:Mo();break;case 13:case 19:ui(Fo);break;case 10:ro(r);break;case 23:case 24:El()}n=n.return}Is=e,Ls=Zl(e.current,null),Ms=Ds=Bs=t,Fs=0,zs=null,Ws=Us=Vs=0}function Cl(e,t){for(;;){var n=Ls;try{if(no(),Yo.current=Ra,ra){for(var r=ea.memoizedState;null!==r;){var i=r.queue;null!==i&&(i.pending=null),r=r.next}ra=!1}if(Qo=0,na=ta=ea=null,ia=!1,_s.current=null,null===n||null===n.return){Fs=1,zs=t,Ls=null;break}e:{var o=e,a=n.return,s=n,l=t;if(t=Ms,s.flags|=2048,s.firstEffect=s.lastEffect=null,null!==l&&"object"===typeof l&&"function"===typeof l.then){var c=l;if(0===(2&s.mode)){var u=s.alternate;u?(s.updateQueue=u.updateQueue,s.memoizedState=u.memoizedState,s.lanes=u.lanes):(s.updateQueue=null,s.memoizedState=null)}var d=0!==(1&Fo.current),f=a;do{var p;if(p=13===f.tag){var h=f.memoizedState;if(null!==h)p=null!==h.dehydrated;else{var v=f.memoizedProps;p=void 0!==v.fallback&&(!0!==v.unstable_avoidThisFallback||!d)}}if(p){var m=f.updateQueue;if(null===m){var g=new Set;g.add(c),f.updateQueue=g}else m.add(c);if(0===(2&f.mode)){if(f.flags|=64,s.flags|=16384,s.flags&=-2981,1===s.tag)if(null===s.alternate)s.tag=17;else{var y=uo(-1,1);y.tag=2,fo(s,y)}s.lanes|=1;break e}l=void 0,s=t;var b=o.pingCache;if(null===b?(b=o.pingCache=new ds,l=new Set,b.set(c,l)):void 0===(l=b.get(c))&&(l=new Set,b.set(c,l)),!l.has(s)){l.add(s);var w=Vl.bind(null,o,c,s);c.then(w,w)}f.flags|=4096,f.lanes=t;break e}f=f.return}while(null!==f);l=Error((G(s.type)||"A React component")+" suspended while rendering, but no fallback UI was specified.\n\nAdd a <Suspense fallback=...> component higher in the tree to provide a loading indicator or placeholder to display.")}5!==Fs&&(Fs=2),l=cs(l,s),f=a;do{switch(f.tag){case 3:o=l,f.flags|=4096,t&=-t,f.lanes|=t,po(f,fs(0,o,t));break e;case 1:o=l;var x=f.type,S=f.stateNode;if(0===(64&f.flags)&&("function"===typeof x.getDerivedStateFromError||null!==S&&"function"===typeof S.componentDidCatch&&(null===Js||!Js.has(S)))){f.flags|=4096,t&=-t,f.lanes|=t,po(f,ps(f,o,t));break e}}f=f.return}while(null!==f)}_l(n)}catch(E){t=E,Ls===n&&null!==n&&(Ls=n=n.return);continue}break}}function Ol(){var e=Ns.current;return Ns.current=Ra,null===e?Ra:e}function jl(e,t){var n=Rs;Rs|=16;var r=Ol();for(Is===e&&Ms===t||kl(e,t);;)try{Tl();break}catch(i){Cl(e,i)}if(no(),Rs=n,Ns.current=r,null!==Ls)throw Error(a(261));return Is=null,Ms=0,Fs}function Tl(){for(;null!==Ls;)Nl(Ls)}function Pl(){for(;null!==Ls&&!Ti();)Nl(Ls)}function Nl(e){var t=qs(e.alternate,e,Ds);e.memoizedProps=e.pendingProps,null===t?_l(e):Ls=t,_s.current=null}function _l(e){var t=e;do{var n=t.alternate;if(e=t.return,0===(2048&t.flags)){if(null!==(n=ss(n,t,Ds)))return void(Ls=n);if(24!==(n=t).tag&&23!==n.tag||null===n.memoizedState||0!==(1073741824&Ds)||0===(4&n.mode)){for(var r=0,i=n.child;null!==i;)r|=i.lanes|i.childLanes,i=i.sibling;n.childLanes=r}null!==e&&0===(2048&e.flags)&&(null===e.firstEffect&&(e.firstEffect=t.firstEffect),null!==t.lastEffect&&(null!==e.lastEffect&&(e.lastEffect.nextEffect=t.firstEffect),e.lastEffect=t.lastEffect),1<t.flags&&(null!==e.lastEffect?e.lastEffect.nextEffect=t:e.firstEffect=t,e.lastEffect=t))}else{if(null!==(n=ls(t)))return n.flags&=2047,void(Ls=n);null!==e&&(e.firstEffect=e.lastEffect=null,e.flags|=2048)}if(null!==(t=t.sibling))return void(Ls=t);Ls=t=e}while(null!==t);0===Fs&&(Fs=5)}function Rl(e){var t=Hi();return Zi(99,Il.bind(null,e,t)),null}function Il(e,t){do{Ml()}while(null!==el);if(0!==(48&Rs))throw Error(a(327));var n=e.finishedWork;if(null===n)return null;if(e.finishedWork=null,e.finishedLanes=0,n===e.current)throw Error(a(177));e.callbackNode=null;var r=n.lanes|n.childLanes,i=r,o=e.pendingLanes&~i;e.pendingLanes=i,e.suspendedLanes=0,e.pingedLanes=0,e.expiredLanes&=i,e.mutableReadLanes&=i,e.entangledLanes&=i,i=e.entanglements;for(var s=e.eventTimes,l=e.expirationTimes;0<o;){var c=31-Ht(o),u=1<<c;i[c]=0,s[c]=-1,l[c]=-1,o&=~u}if(null!==il&&0===(24&r)&&il.has(e)&&il.delete(e),e===Is&&(Ls=Is=null,Ms=0),1<n.flags?null!==n.lastEffect?(n.lastEffect.nextEffect=n,r=n.firstEffect):r=n:r=n.firstEffect,null!==r){if(i=Rs,Rs|=32,_s.current=null,Vr=Xt,gr(s=mr())){if("selectionStart"in s)l={start:s.selectionStart,end:s.selectionEnd};else e:if(l=(l=s.ownerDocument)&&l.defaultView||window,(u=l.getSelection&&l.getSelection())&&0!==u.rangeCount){l=u.anchorNode,o=u.anchorOffset,c=u.focusNode,u=u.focusOffset;try{l.nodeType,c.nodeType}catch(O){l=null;break e}var d=0,f=-1,p=-1,h=0,v=0,m=s,g=null;t:for(;;){for(var y;m!==l||0!==o&&3!==m.nodeType||(f=d+o),m!==c||0!==u&&3!==m.nodeType||(p=d+u),3===m.nodeType&&(d+=m.nodeValue.length),null!==(y=m.firstChild);)g=m,m=y;for(;;){if(m===s)break t;if(g===l&&++h===o&&(f=d),g===c&&++v===u&&(p=d),null!==(y=m.nextSibling))break;g=(m=g).parentNode}m=y}l=-1===f||-1===p?null:{start:f,end:p}}else l=null;l=l||{start:0,end:0}}else l=null;Ur={focusedElem:s,selectionRange:l},Xt=!1,ul=null,dl=!1,Xs=r;do{try{Ll()}catch(O){if(null===Xs)throw Error(a(330));Bl(Xs,O),Xs=Xs.nextEffect}}while(null!==Xs);ul=null,Xs=r;do{try{for(s=e;null!==Xs;){var b=Xs.flags;if(16&b&&ye(Xs.stateNode,""),128&b){var w=Xs.alternate;if(null!==w){var x=w.ref;null!==x&&("function"===typeof x?x(null):x.current=null)}}switch(1038&b){case 2:Ss(Xs),Xs.flags&=-3;break;case 6:Ss(Xs),Xs.flags&=-3,Os(Xs.alternate,Xs);break;case 1024:Xs.flags&=-1025;break;case 1028:Xs.flags&=-1025,Os(Xs.alternate,Xs);break;case 4:Os(Xs.alternate,Xs);break;case 8:Cs(s,l=Xs);var S=l.alternate;ws(l),null!==S&&ws(S)}Xs=Xs.nextEffect}}catch(O){if(null===Xs)throw Error(a(330));Bl(Xs,O),Xs=Xs.nextEffect}}while(null!==Xs);if(x=Ur,w=mr(),b=x.focusedElem,s=x.selectionRange,w!==b&&b&&b.ownerDocument&&vr(b.ownerDocument.documentElement,b)){null!==s&&gr(b)&&(w=s.start,void 0===(x=s.end)&&(x=w),"selectionStart"in b?(b.selectionStart=w,b.selectionEnd=Math.min(x,b.value.length)):(x=(w=b.ownerDocument||document)&&w.defaultView||window).getSelection&&(x=x.getSelection(),l=b.textContent.length,S=Math.min(s.start,l),s=void 0===s.end?S:Math.min(s.end,l),!x.extend&&S>s&&(l=s,s=S,S=l),l=hr(b,S),o=hr(b,s),l&&o&&(1!==x.rangeCount||x.anchorNode!==l.node||x.anchorOffset!==l.offset||x.focusNode!==o.node||x.focusOffset!==o.offset)&&((w=w.createRange()).setStart(l.node,l.offset),x.removeAllRanges(),S>s?(x.addRange(w),x.extend(o.node,o.offset)):(w.setEnd(o.node,o.offset),x.addRange(w))))),w=[];for(x=b;x=x.parentNode;)1===x.nodeType&&w.push({element:x,left:x.scrollLeft,top:x.scrollTop});for("function"===typeof b.focus&&b.focus(),b=0;b<w.length;b++)(x=w[b]).element.scrollLeft=x.left,x.element.scrollTop=x.top}Xt=!!Vr,Ur=Vr=null,e.current=n,Xs=r;do{try{for(b=e;null!==Xs;){var E=Xs.flags;if(36&E&&gs(b,Xs.alternate,Xs),128&E){w=void 0;var k=Xs.ref;if(null!==k){var C=Xs.stateNode;Xs.tag,w=C,"function"===typeof k?k(w):k.current=w}}Xs=Xs.nextEffect}}catch(O){if(null===Xs)throw Error(a(330));Bl(Xs,O),Xs=Xs.nextEffect}}while(null!==Xs);Xs=null,Fi(),Rs=i}else e.current=n;if(Qs)Qs=!1,el=e,tl=t;else for(Xs=r;null!==Xs;)t=Xs.nextEffect,Xs.nextEffect=null,8&Xs.flags&&((E=Xs).sibling=null,E.stateNode=null),Xs=t;if(0===(r=e.pendingLanes)&&(Js=null),1===r?e===al?ol++:(ol=0,al=e):ol=0,n=n.stateNode,ki&&"function"===typeof ki.onCommitFiberRoot)try{ki.onCommitFiberRoot(Ei,n,void 0,64===(64&n.current.flags))}catch(O){}if(ml(e,Wi()),$s)throw $s=!1,e=Ys,Ys=null,e;return 0!==(8&Rs)||qi(),null}function Ll(){for(;null!==Xs;){var e=Xs.alternate;dl||null===ul||(0!==(8&Xs.flags)?et(Xs,ul)&&(dl=!0):13===Xs.tag&&Ts(e,Xs)&&et(Xs,ul)&&(dl=!0));var t=Xs.flags;0!==(256&t)&&ms(e,Xs),0===(512&t)||Qs||(Qs=!0,Gi(97,(function(){return Ml(),null}))),Xs=Xs.nextEffect}}function Ml(){if(90!==tl){var e=97<tl?97:tl;return tl=90,Zi(e,Fl)}return!1}function Dl(e,t){nl.push(t,e),Qs||(Qs=!0,Gi(97,(function(){return Ml(),null})))}function Al(e,t){rl.push(t,e),Qs||(Qs=!0,Gi(97,(function(){return Ml(),null})))}function Fl(){if(null===el)return!1;var e=el;if(el=null,0!==(48&Rs))throw Error(a(331));var t=Rs;Rs|=32;var n=rl;rl=[];for(var r=0;r<n.length;r+=2){var i=n[r],o=n[r+1],s=i.destroy;if(i.destroy=void 0,"function"===typeof s)try{s()}catch(c){if(null===o)throw Error(a(330));Bl(o,c)}}for(n=nl,nl=[],r=0;r<n.length;r+=2){i=n[r],o=n[r+1];try{var l=i.create;i.destroy=l()}catch(c){if(null===o)throw Error(a(330));Bl(o,c)}}for(l=e.current.firstEffect;null!==l;)e=l.nextEffect,l.nextEffect=null,8&l.flags&&(l.sibling=null,l.stateNode=null),l=e;return Rs=t,qi(),!0}function zl(e,t,n){fo(e,t=fs(0,t=cs(n,t),1)),t=fl(),null!==(e=vl(e,1))&&(Wt(e,1,t),ml(e,t))}function Bl(e,t){if(3===e.tag)zl(e,e,t);else for(var n=e.return;null!==n;){if(3===n.tag){zl(n,e,t);break}if(1===n.tag){var r=n.stateNode;if("function"===typeof n.type.getDerivedStateFromError||"function"===typeof r.componentDidCatch&&(null===Js||!Js.has(r))){var i=ps(n,e=cs(t,e),1);if(fo(n,i),i=fl(),null!==(n=vl(n,1)))Wt(n,1,i),ml(n,i);else if("function"===typeof r.componentDidCatch&&(null===Js||!Js.has(r)))try{r.componentDidCatch(t,e)}catch(o){}break}}n=n.return}}function Vl(e,t,n){var r=e.pingCache;null!==r&&r.delete(t),t=fl(),e.pingedLanes|=e.suspendedLanes&n,Is===e&&(Ms&n)===n&&(4===Fs||3===Fs&&(62914560&Ms)===Ms&&500>Wi()-Ks?kl(e,0):Ws|=n),ml(e,t)}function Ul(e,t){var n=e.stateNode;null!==n&&n.delete(t),0===(t=0)&&(0===(2&(t=e.mode))?t=1:0===(4&t)?t=99===Hi()?1:2:(0===ll&&(ll=Bs),0===(t=Vt(62914560&~ll))&&(t=4194304))),n=fl(),null!==(e=vl(e,t))&&(Wt(e,t,n),ml(e,n))}function Wl(e,t,n,r){this.tag=e,this.key=n,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.ref=null,this.pendingProps=t,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=r,this.flags=0,this.lastEffect=this.firstEffect=this.nextEffect=null,this.childLanes=this.lanes=0,this.alternate=null}function Hl(e,t,n,r){return new Wl(e,t,n,r)}function Kl(e){return!(!(e=e.prototype)||!e.isReactComponent)}function Zl(e,t){var n=e.alternate;return null===n?((n=Hl(e.tag,t,e.key,e.mode)).elementType=e.elementType,n.type=e.type,n.stateNode=e.stateNode,n.alternate=e,e.alternate=n):(n.pendingProps=t,n.type=e.type,n.flags=0,n.nextEffect=null,n.firstEffect=null,n.lastEffect=null),n.childLanes=e.childLanes,n.lanes=e.lanes,n.child=e.child,n.memoizedProps=e.memoizedProps,n.memoizedState=e.memoizedState,n.updateQueue=e.updateQueue,t=e.dependencies,n.dependencies=null===t?null:{lanes:t.lanes,firstContext:t.firstContext},n.sibling=e.sibling,n.index=e.index,n.ref=e.ref,n}function Gl(e,t,n,r,i,o){var s=2;if(r=e,"function"===typeof e)Kl(e)&&(s=1);else if("string"===typeof e)s=5;else e:switch(e){case k:return ql(n.children,i,o,t);case D:s=8,i|=16;break;case C:s=8,i|=1;break;case O:return(e=Hl(12,n,t,8|i)).elementType=O,e.type=O,e.lanes=o,e;case N:return(e=Hl(13,n,t,i)).type=N,e.elementType=N,e.lanes=o,e;case _:return(e=Hl(19,n,t,i)).elementType=_,e.lanes=o,e;case A:return Xl(n,i,o,t);case F:return(e=Hl(24,n,t,i)).elementType=F,e.lanes=o,e;default:if("object"===typeof e&&null!==e)switch(e.$$typeof){case j:s=10;break e;case T:s=9;break e;case P:s=11;break e;case R:s=14;break e;case I:s=16,r=null;break e;case L:s=22;break e}throw Error(a(130,null==e?e:typeof e,""))}return(t=Hl(s,n,t,i)).elementType=e,t.type=r,t.lanes=o,t}function ql(e,t,n,r){return(e=Hl(7,e,r,t)).lanes=n,e}function Xl(e,t,n,r){return(e=Hl(23,e,r,t)).elementType=A,e.lanes=n,e}function $l(e,t,n){return(e=Hl(6,e,null,t)).lanes=n,e}function Yl(e,t,n){return(t=Hl(4,null!==e.children?e.children:[],e.key,t)).lanes=n,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function Jl(e,t,n){this.tag=t,this.containerInfo=e,this.finishedWork=this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.pendingContext=this.context=null,this.hydrate=n,this.callbackNode=null,this.callbackPriority=0,this.eventTimes=Ut(0),this.expirationTimes=Ut(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=Ut(0),this.mutableSourceEagerHydrationData=null}function Ql(e,t,n){var r=3<arguments.length&&void 0!==arguments[3]?arguments[3]:null;return{$$typeof:E,key:null==r?null:""+r,children:e,containerInfo:t,implementation:n}}function ec(e,t,n,r){var i=t.current,o=fl(),s=pl(i);e:if(n){t:{if($e(n=n._reactInternals)!==n||1!==n.tag)throw Error(a(170));var l=n;do{switch(l.tag){case 3:l=l.stateNode.context;break t;case 1:if(gi(l.type)){l=l.stateNode.__reactInternalMemoizedMergedChildContext;break t}}l=l.return}while(null!==l);throw Error(a(171))}if(1===n.tag){var c=n.type;if(gi(c)){n=wi(n,c,l);break e}}n=l}else n=fi;return null===t.context?t.context=n:t.pendingContext=n,(t=uo(o,s)).payload={element:e},null!==(r=void 0===r?null:r)&&(t.callback=r),fo(i,t),hl(i,s,o),s}function tc(e){return(e=e.current).child?(e.child.tag,e.child.stateNode):null}function nc(e,t){if(null!==(e=e.memoizedState)&&null!==e.dehydrated){var n=e.retryLane;e.retryLane=0!==n&&n<t?n:t}}function rc(e,t){nc(e,t),(e=e.alternate)&&nc(e,t)}function ic(e,t,n){var r=null!=n&&null!=n.hydrationOptions&&n.hydrationOptions.mutableSources||null;if(n=new Jl(e,t,null!=n&&!0===n.hydrate),t=Hl(3,null,null,2===t?7:1===t?3:0),n.current=t,t.stateNode=n,lo(t),e[ei]=n.current,Rr(8===e.nodeType?e.parentNode:e),r)for(e=0;e<r.length;e++){var i=(t=r[e])._getVersion;i=i(t._source),null==n.mutableSourceEagerHydrationData?n.mutableSourceEagerHydrationData=[t,i]:n.mutableSourceEagerHydrationData.push(t,i)}this._internalRoot=n}function oc(e){return!(!e||1!==e.nodeType&&9!==e.nodeType&&11!==e.nodeType&&(8!==e.nodeType||" react-mount-point-unstable "!==e.nodeValue))}function ac(e,t,n,r,i){var o=n._reactRootContainer;if(o){var a=o._internalRoot;if("function"===typeof i){var s=i;i=function(){var e=tc(a);s.call(e)}}ec(t,a,e,i)}else{if(o=n._reactRootContainer=function(e,t){if(t||(t=!(!(t=e?9===e.nodeType?e.documentElement:e.firstChild:null)||1!==t.nodeType||!t.hasAttribute("data-reactroot"))),!t)for(var n;n=e.lastChild;)e.removeChild(n);return new ic(e,0,t?{hydrate:!0}:void 0)}(n,r),a=o._internalRoot,"function"===typeof i){var l=i;i=function(){var e=tc(a);l.call(e)}}xl((function(){ec(t,a,e,i)}))}return tc(a)}function sc(e,t){var n=2<arguments.length&&void 0!==arguments[2]?arguments[2]:null;if(!oc(t))throw Error(a(200));return Ql(e,t,null,n)}qs=function(e,t,n){var r=t.lanes;if(null!==e)if(e.memoizedProps!==t.pendingProps||hi.current)Aa=!0;else{if(0===(n&r)){switch(Aa=!1,t.tag){case 3:Ga(t),qo();break;case 5:Do(t);break;case 1:gi(t.type)&&xi(t);break;case 4:Lo(t,t.stateNode.containerInfo);break;case 10:r=t.memoizedProps.value;var i=t.type._context;di(Ji,i._currentValue),i._currentValue=r;break;case 13:if(null!==t.memoizedState)return 0!==(n&t.child.childLanes)?Ja(e,t,n):(di(Fo,1&Fo.current),null!==(t=os(e,t,n))?t.sibling:null);di(Fo,1&Fo.current);break;case 19:if(r=0!==(n&t.childLanes),0!==(64&e.flags)){if(r)return is(e,t,n);t.flags|=64}if(null!==(i=t.memoizedState)&&(i.rendering=null,i.tail=null,i.lastEffect=null),di(Fo,Fo.current),r)break;return null;case 23:case 24:return t.lanes=0,Ua(e,t,n)}return os(e,t,n)}Aa=0!==(16384&e.flags)}else Aa=!1;switch(t.lanes=0,t.tag){case 2:if(r=t.type,null!==e&&(e.alternate=null,t.alternate=null,t.flags|=2),e=t.pendingProps,i=mi(t,pi.current),oo(t,n),i=sa(null,t,r,e,i,n),t.flags|=1,"object"===typeof i&&null!==i&&"function"===typeof i.render&&void 0===i.$$typeof){if(t.tag=1,t.memoizedState=null,t.updateQueue=null,gi(r)){var o=!0;xi(t)}else o=!1;t.memoizedState=null!==i.state&&void 0!==i.state?i.state:null,lo(t);var s=r.getDerivedStateFromProps;"function"===typeof s&&go(t,r,s,e),i.updater=yo,t.stateNode=i,i._reactInternals=t,So(t,r,e,n),t=Za(null,t,r,!0,o,n)}else t.tag=0,Fa(null,t,i,n),t=t.child;return t;case 16:i=t.elementType;e:{switch(null!==e&&(e.alternate=null,t.alternate=null,t.flags|=2),e=t.pendingProps,i=(o=i._init)(i._payload),t.type=i,o=t.tag=function(e){if("function"===typeof e)return Kl(e)?1:0;if(void 0!==e&&null!==e){if((e=e.$$typeof)===P)return 11;if(e===R)return 14}return 2}(i),e=Yi(i,e),o){case 0:t=Ha(null,t,i,e,n);break e;case 1:t=Ka(null,t,i,e,n);break e;case 11:t=za(null,t,i,e,n);break e;case 14:t=Ba(null,t,i,Yi(i.type,e),r,n);break e}throw Error(a(306,i,""))}return t;case 0:return r=t.type,i=t.pendingProps,Ha(e,t,r,i=t.elementType===r?i:Yi(r,i),n);case 1:return r=t.type,i=t.pendingProps,Ka(e,t,r,i=t.elementType===r?i:Yi(r,i),n);case 3:if(Ga(t),r=t.updateQueue,null===e||null===r)throw Error(a(282));if(r=t.pendingProps,i=null!==(i=t.memoizedState)?i.element:null,co(e,t),ho(t,r,null,n),(r=t.memoizedState.element)===i)qo(),t=os(e,t,n);else{if((o=(i=t.stateNode).hydrate)&&(Vo=qr(t.stateNode.containerInfo.firstChild),Bo=t,o=Uo=!0),o){if(null!=(e=i.mutableSourceEagerHydrationData))for(i=0;i<e.length;i+=2)(o=e[i])._workInProgressVersionPrimary=e[i+1],Xo.push(o);for(n=To(t,null,r,n),t.child=n;n;)n.flags=-3&n.flags|1024,n=n.sibling}else Fa(e,t,r,n),qo();t=t.child}return t;case 5:return Do(t),null===e&&Ko(t),r=t.type,i=t.pendingProps,o=null!==e?e.memoizedProps:null,s=i.children,Hr(r,i)?s=null:null!==o&&Hr(r,o)&&(t.flags|=16),Wa(e,t),Fa(e,t,s,n),t.child;case 6:return null===e&&Ko(t),null;case 13:return Ja(e,t,n);case 4:return Lo(t,t.stateNode.containerInfo),r=t.pendingProps,null===e?t.child=jo(t,null,r,n):Fa(e,t,r,n),t.child;case 11:return r=t.type,i=t.pendingProps,za(e,t,r,i=t.elementType===r?i:Yi(r,i),n);case 7:return Fa(e,t,t.pendingProps,n),t.child;case 8:case 12:return Fa(e,t,t.pendingProps.children,n),t.child;case 10:e:{r=t.type._context,i=t.pendingProps,s=t.memoizedProps,o=i.value;var l=t.type._context;if(di(Ji,l._currentValue),l._currentValue=o,null!==s)if(l=s.value,0===(o=ur(l,o)?0:0|("function"===typeof r._calculateChangedBits?r._calculateChangedBits(l,o):1073741823))){if(s.children===i.children&&!hi.current){t=os(e,t,n);break e}}else for(null!==(l=t.child)&&(l.return=t);null!==l;){var c=l.dependencies;if(null!==c){s=l.child;for(var u=c.firstContext;null!==u;){if(u.context===r&&0!==(u.observedBits&o)){1===l.tag&&((u=uo(-1,n&-n)).tag=2,fo(l,u)),l.lanes|=n,null!==(u=l.alternate)&&(u.lanes|=n),io(l.return,n),c.lanes|=n;break}u=u.next}}else s=10===l.tag&&l.type===t.type?null:l.child;if(null!==s)s.return=l;else for(s=l;null!==s;){if(s===t){s=null;break}if(null!==(l=s.sibling)){l.return=s.return,s=l;break}s=s.return}l=s}Fa(e,t,i.children,n),t=t.child}return t;case 9:return i=t.type,r=(o=t.pendingProps).children,oo(t,n),r=r(i=ao(i,o.unstable_observedBits)),t.flags|=1,Fa(e,t,r,n),t.child;case 14:return o=Yi(i=t.type,t.pendingProps),Ba(e,t,i,o=Yi(i.type,o),r,n);case 15:return Va(e,t,t.type,t.pendingProps,r,n);case 17:return r=t.type,i=t.pendingProps,i=t.elementType===r?i:Yi(r,i),null!==e&&(e.alternate=null,t.alternate=null,t.flags|=2),t.tag=1,gi(r)?(e=!0,xi(t)):e=!1,oo(t,n),wo(t,r,i),So(t,r,i,n),Za(null,t,r,!0,e,n);case 19:return is(e,t,n);case 23:case 24:return Ua(e,t,n)}throw Error(a(156,t.tag))},ic.prototype.render=function(e){ec(e,this._internalRoot,null,null)},ic.prototype.unmount=function(){var e=this._internalRoot,t=e.containerInfo;ec(null,e,null,(function(){t[ei]=null}))},tt=function(e){13===e.tag&&(hl(e,4,fl()),rc(e,4))},nt=function(e){13===e.tag&&(hl(e,67108864,fl()),rc(e,67108864))},rt=function(e){if(13===e.tag){var t=fl(),n=pl(e);hl(e,n,t),rc(e,n)}},it=function(e,t){return t()},je=function(e,t,n){switch(t){case"input":if(ne(e,n),t=n.name,"radio"===n.type&&null!=t){for(n=e;n.parentNode;)n=n.parentNode;for(n=n.querySelectorAll("input[name="+JSON.stringify(""+t)+'][type="radio"]'),t=0;t<n.length;t++){var r=n[t];if(r!==e&&r.form===e.form){var i=oi(r);if(!i)throw Error(a(90));Y(r),ne(r,i)}}}break;case"textarea":ce(e,n);break;case"select":null!=(t=n.value)&&ae(e,!!n.multiple,t,!1)}},Ie=wl,Le=function(e,t,n,r,i){var o=Rs;Rs|=4;try{return Zi(98,e.bind(null,t,n,r,i))}finally{0===(Rs=o)&&(Gs(),qi())}},Me=function(){0===(49&Rs)&&(function(){if(null!==il){var e=il;il=null,e.forEach((function(e){e.expiredLanes|=24&e.pendingLanes,ml(e,Wi())}))}qi()}(),Ml())},De=function(e,t){var n=Rs;Rs|=2;try{return e(t)}finally{0===(Rs=n)&&(Gs(),qi())}};var lc={Events:[ri,ii,oi,_e,Re,Ml,{current:!1}]},cc={findFiberByHostInstance:ni,bundleType:0,version:"17.0.2",rendererPackageName:"react-dom"},uc={bundleType:cc.bundleType,version:cc.version,rendererPackageName:cc.rendererPackageName,rendererConfig:cc.rendererConfig,overrideHookState:null,overrideHookStateDeletePath:null,overrideHookStateRenamePath:null,overrideProps:null,overridePropsDeletePath:null,overridePropsRenamePath:null,setSuspenseHandler:null,scheduleUpdate:null,currentDispatcherRef:x.ReactCurrentDispatcher,findHostInstanceByFiber:function(e){return null===(e=Qe(e))?null:e.stateNode},findFiberByHostInstance:cc.findFiberByHostInstance||function(){return null},findHostInstancesForRefresh:null,scheduleRefresh:null,scheduleRoot:null,setRefreshHandler:null,getCurrentFiber:null};if("undefined"!==typeof __REACT_DEVTOOLS_GLOBAL_HOOK__){var dc=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!dc.isDisabled&&dc.supportsFiber)try{Ei=dc.inject(uc),ki=dc}catch(me){}}t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=lc,t.createPortal=sc,t.findDOMNode=function(e){if(null==e)return null;if(1===e.nodeType)return e;var t=e._reactInternals;if(void 0===t){if("function"===typeof e.render)throw Error(a(188));throw Error(a(268,Object.keys(e)))}return e=null===(e=Qe(t))?null:e.stateNode},t.flushSync=function(e,t){var n=Rs;if(0!==(48&n))return e(t);Rs|=1;try{if(e)return Zi(99,e.bind(null,t))}finally{Rs=n,qi()}},t.hydrate=function(e,t,n){if(!oc(t))throw Error(a(200));return ac(null,e,t,!0,n)},t.render=function(e,t,n){if(!oc(t))throw Error(a(200));return ac(null,e,t,!1,n)},t.unmountComponentAtNode=function(e){if(!oc(e))throw Error(a(40));return!!e._reactRootContainer&&(xl((function(){ac(null,null,e,!1,(function(){e._reactRootContainer=null,e[ei]=null}))})),!0)},t.unstable_batchedUpdates=wl,t.unstable_createPortal=function(e,t){return sc(e,t,2<arguments.length&&void 0!==arguments[2]?arguments[2]:null)},t.unstable_renderSubtreeIntoContainer=function(e,t,n,r){if(!oc(n))throw Error(a(200));if(null==e||void 0===e._reactInternals)throw Error(a(38));return ac(e,t,n,!1,r)},t.version="17.0.2"},4164:function(e,t,n){"use strict";!function e(){if("undefined"!==typeof __REACT_DEVTOOLS_GLOBAL_HOOK__&&"function"===typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE)try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(e)}catch(t){console.error(t)}}(),e.exports=n(4463)},1707:function(e,t,n){"use strict";var r=n(5318);Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.FullScreenComponent=void 0;var i=n(2791),o=r(n(2007)),a=r(n(4251)),s=function(e){var t=e.children,n=e.onChange,r=e.onError,o=(0,i.useRef)();return(0,i.useEffect)((function(){a.default.onchange((function(){n&&n()})),a.default.on("error",(function(e){r&&r()}))}),[]),t({ref:o,isEnabled:a.default.isEnabled,onToggle:function(){a.default.toggle(o.current)},onRequest:function(){a.default.request(o.current)},onExit:function(){a.default.exit(o.current)}})};t.FullScreenComponent=s,s.propTypes={children:o.default.func,onChange:o.default.func,onError:o.default.func};var l=(0,i.memo)(s);t.default=l},633:function(e,t,n){"use strict";var r=n(5318);Object.defineProperty(t,"Z",{enumerable:!0,get:function(){return i.default}});var i=r(n(1707))},4251:function(e){!function(){"use strict";var t="undefined"!==typeof window&&"undefined"!==typeof window.document?window.document:{},n=e.exports,r=function(){for(var e,n=[["requestFullscreen","exitFullscreen","fullscreenElement","fullscreenEnabled","fullscreenchange","fullscreenerror"],["webkitRequestFullscreen","webkitExitFullscreen","webkitFullscreenElement","webkitFullscreenEnabled","webkitfullscreenchange","webkitfullscreenerror"],["webkitRequestFullScreen","webkitCancelFullScreen","webkitCurrentFullScreenElement","webkitCancelFullScreen","webkitfullscreenchange","webkitfullscreenerror"],["mozRequestFullScreen","mozCancelFullScreen","mozFullScreenElement","mozFullScreenEnabled","mozfullscreenchange","mozfullscreenerror"],["msRequestFullscreen","msExitFullscreen","msFullscreenElement","msFullscreenEnabled","MSFullscreenChange","MSFullscreenError"]],r=0,i=n.length,o={};r<i;r++)if((e=n[r])&&e[1]in t){for(r=0;r<e.length;r++)o[n[0][r]]=e[r];return o}return!1}(),i={change:r.fullscreenchange,error:r.fullscreenerror},o={request:function(e,n){return new Promise(function(i,o){var a=function(){this.off("change",a),i()}.bind(this);this.on("change",a);var s=(e=e||t.documentElement)[r.requestFullscreen](n);s instanceof Promise&&s.then(a).catch(o)}.bind(this))},exit:function(){return new Promise(function(e,n){if(this.isFullscreen){var i=function(){this.off("change",i),e()}.bind(this);this.on("change",i);var o=t[r.exitFullscreen]();o instanceof Promise&&o.then(i).catch(n)}else e()}.bind(this))},toggle:function(e,t){return this.isFullscreen?this.exit():this.request(e,t)},onchange:function(e){this.on("change",e)},onerror:function(e){this.on("error",e)},on:function(e,n){var r=i[e];r&&t.addEventListener(r,n,!1)},off:function(e,n){var r=i[e];r&&t.removeEventListener(r,n,!1)},raw:r};r?(Object.defineProperties(o,{isFullscreen:{get:function(){return Boolean(t[r.fullscreenElement])}},element:{enumerable:!0,get:function(){return t[r.fullscreenElement]}},isEnabled:{enumerable:!0,get:function(){return Boolean(t[r.fullscreenEnabled])}}}),n?e.exports=o:window.screenfull=o):n?e.exports={isEnabled:!1}:window.screenfull={isEnabled:!1}}()},5911:function(e,t,n){e.exports=function(e){var t={};function n(r){if(t[r])return t[r].exports;var i=t[r]={i:r,l:!1,exports:{}};return e[r].call(i.exports,i,i.exports,n),i.l=!0,i.exports}return n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var i in e)n.d(r,i,function(t){return e[t]}.bind(null,i));return r},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=1)}([function(e,t){e.exports=n(2791)},function(e,t,n){"use strict";n.r(t);var r=n(0),i=n.n(r);function o(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){if(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e)){var n=[],r=!0,i=!1,o=void 0;try{for(var a,s=e[Symbol.iterator]();!(r=(a=s.next()).done)&&(n.push(a.value),!t||n.length!==t);r=!0);}catch(e){i=!0,o=e}finally{try{r||null==s.return||s.return()}finally{if(i)throw o}}return n}}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}()}var a=function(e){var t=e.colors,n=e.activeMode,i=e.offlineStorageKey,a=Object.keys(t);if(-1===a.indexOf(n))throw Error("[react-switch-theme]: activeMode should be one of the key of colors");var s=function(e,t){var n=e;return t&&(n=function(e,t){var n=e;if(localStorage){var r=localStorage.getItem(t);r&&(n=r)}return n}(n,t)),n}(n,i),l=o(Object(r.useState)(s),2),c=l[0],u=l[1];return Object(r.useEffect)((function(){for(var e=t[c],n=0,r=Object.entries(e);n<r.length;n++){var i=o(r[n],2),a=i[0],s=i[1];document.documentElement.style.setProperty("--".concat(a),"".concat(s))}}),[c]),[c,function(){var e=a.indexOf(c),t=a[0===e?1:0];!function(e,t){localStorage&&e&&localStorage.setItem(e,t)}(i,t),u(t)}]};var s=Object(r.createContext)(["light",function(){}]);function l(e){var t=e.colors,n=e.activeMode,r=e.offlineStorageKey,o=function(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){if(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e)){var n=[],r=!0,i=!1,o=void 0;try{for(var a,s=e[Symbol.iterator]();!(r=(a=s.next()).done)&&(n.push(a.value),!t||n.length!==t);r=!0);}catch(e){i=!0,o=e}finally{try{r||null==s.return||s.return()}finally{if(i)throw o}}return n}}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}()}(a({colors:t,activeMode:n,offlineStorageKey:r}),2),l=o[0],c=o[1];return i.a.createElement(s.Provider,{value:[l,c]},i.a.Children.only(e.children))}n.d(t,"Theme",(function(){return s})),n.d(t,"ThemeProvider",(function(){return l})),t.default=a}])},6374:function(e,t,n){"use strict";n(1725);var r=n(2791),i=60103;if(t.Fragment=60107,"function"===typeof Symbol&&Symbol.for){var o=Symbol.for;i=o("react.element"),t.Fragment=o("react.fragment")}var a=r.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,s=Object.prototype.hasOwnProperty,l={key:!0,ref:!0,__self:!0,__source:!0};function c(e,t,n){var r,o={},c=null,u=null;for(r in void 0!==n&&(c=""+n),void 0!==t.key&&(c=""+t.key),void 0!==t.ref&&(u=t.ref),t)s.call(t,r)&&!l.hasOwnProperty(r)&&(o[r]=t[r]);if(e&&e.defaultProps)for(r in t=e.defaultProps)void 0===o[r]&&(o[r]=t[r]);return{$$typeof:i,type:e,key:c,ref:u,props:o,_owner:a.current}}t.jsx=c,t.jsxs=c},9117:function(e,t,n){"use strict";var r=n(1725),i=60103,o=60106;t.Fragment=60107,t.StrictMode=60108,t.Profiler=60114;var a=60109,s=60110,l=60112;t.Suspense=60113;var c=60115,u=60116;if("function"===typeof Symbol&&Symbol.for){var d=Symbol.for;i=d("react.element"),o=d("react.portal"),t.Fragment=d("react.fragment"),t.StrictMode=d("react.strict_mode"),t.Profiler=d("react.profiler"),a=d("react.provider"),s=d("react.context"),l=d("react.forward_ref"),t.Suspense=d("react.suspense"),c=d("react.memo"),u=d("react.lazy")}var f="function"===typeof Symbol&&Symbol.iterator;function p(e){for(var t="https://reactjs.org/docs/error-decoder.html?invariant="+e,n=1;n<arguments.length;n++)t+="&args[]="+encodeURIComponent(arguments[n]);return"Minified React error #"+e+"; visit "+t+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}var h={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},v={};function m(e,t,n){this.props=e,this.context=t,this.refs=v,this.updater=n||h}function g(){}function y(e,t,n){this.props=e,this.context=t,this.refs=v,this.updater=n||h}m.prototype.isReactComponent={},m.prototype.setState=function(e,t){if("object"!==typeof e&&"function"!==typeof e&&null!=e)throw Error(p(85));this.updater.enqueueSetState(this,e,t,"setState")},m.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")},g.prototype=m.prototype;var b=y.prototype=new g;b.constructor=y,r(b,m.prototype),b.isPureReactComponent=!0;var w={current:null},x=Object.prototype.hasOwnProperty,S={key:!0,ref:!0,__self:!0,__source:!0};function E(e,t,n){var r,o={},a=null,s=null;if(null!=t)for(r in void 0!==t.ref&&(s=t.ref),void 0!==t.key&&(a=""+t.key),t)x.call(t,r)&&!S.hasOwnProperty(r)&&(o[r]=t[r]);var l=arguments.length-2;if(1===l)o.children=n;else if(1<l){for(var c=Array(l),u=0;u<l;u++)c[u]=arguments[u+2];o.children=c}if(e&&e.defaultProps)for(r in l=e.defaultProps)void 0===o[r]&&(o[r]=l[r]);return{$$typeof:i,type:e,key:a,ref:s,props:o,_owner:w.current}}function k(e){return"object"===typeof e&&null!==e&&e.$$typeof===i}var C=/\/+/g;function O(e,t){return"object"===typeof e&&null!==e&&null!=e.key?function(e){var t={"=":"=0",":":"=2"};return"$"+e.replace(/[=:]/g,(function(e){return t[e]}))}(""+e.key):t.toString(36)}function j(e,t,n,r,a){var s=typeof e;"undefined"!==s&&"boolean"!==s||(e=null);var l=!1;if(null===e)l=!0;else switch(s){case"string":case"number":l=!0;break;case"object":switch(e.$$typeof){case i:case o:l=!0}}if(l)return a=a(l=e),e=""===r?"."+O(l,0):r,Array.isArray(a)?(n="",null!=e&&(n=e.replace(C,"$&/")+"/"),j(a,t,n,"",(function(e){return e}))):null!=a&&(k(a)&&(a=function(e,t){return{$$typeof:i,type:e.type,key:t,ref:e.ref,props:e.props,_owner:e._owner}}(a,n+(!a.key||l&&l.key===a.key?"":(""+a.key).replace(C,"$&/")+"/")+e)),t.push(a)),1;if(l=0,r=""===r?".":r+":",Array.isArray(e))for(var c=0;c<e.length;c++){var u=r+O(s=e[c],c);l+=j(s,t,n,u,a)}else if(u=function(e){return null===e||"object"!==typeof e?null:"function"===typeof(e=f&&e[f]||e["@@iterator"])?e:null}(e),"function"===typeof u)for(e=u.call(e),c=0;!(s=e.next()).done;)l+=j(s=s.value,t,n,u=r+O(s,c++),a);else if("object"===s)throw t=""+e,Error(p(31,"[object Object]"===t?"object with keys {"+Object.keys(e).join(", ")+"}":t));return l}function T(e,t,n){if(null==e)return e;var r=[],i=0;return j(e,r,"","",(function(e){return t.call(n,e,i++)})),r}function P(e){if(-1===e._status){var t=e._result;t=t(),e._status=0,e._result=t,t.then((function(t){0===e._status&&(t=t.default,e._status=1,e._result=t)}),(function(t){0===e._status&&(e._status=2,e._result=t)}))}if(1===e._status)return e._result;throw e._result}var N={current:null};function _(){var e=N.current;if(null===e)throw Error(p(321));return e}var R={ReactCurrentDispatcher:N,ReactCurrentBatchConfig:{transition:0},ReactCurrentOwner:w,IsSomeRendererActing:{current:!1},assign:r};t.Children={map:T,forEach:function(e,t,n){T(e,(function(){t.apply(this,arguments)}),n)},count:function(e){var t=0;return T(e,(function(){t++})),t},toArray:function(e){return T(e,(function(e){return e}))||[]},only:function(e){if(!k(e))throw Error(p(143));return e}},t.Component=m,t.PureComponent=y,t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=R,t.cloneElement=function(e,t,n){if(null===e||void 0===e)throw Error(p(267,e));var o=r({},e.props),a=e.key,s=e.ref,l=e._owner;if(null!=t){if(void 0!==t.ref&&(s=t.ref,l=w.current),void 0!==t.key&&(a=""+t.key),e.type&&e.type.defaultProps)var c=e.type.defaultProps;for(u in t)x.call(t,u)&&!S.hasOwnProperty(u)&&(o[u]=void 0===t[u]&&void 0!==c?c[u]:t[u])}var u=arguments.length-2;if(1===u)o.children=n;else if(1<u){c=Array(u);for(var d=0;d<u;d++)c[d]=arguments[d+2];o.children=c}return{$$typeof:i,type:e.type,key:a,ref:s,props:o,_owner:l}},t.createContext=function(e,t){return void 0===t&&(t=null),(e={$$typeof:s,_calculateChangedBits:t,_currentValue:e,_currentValue2:e,_threadCount:0,Provider:null,Consumer:null}).Provider={$$typeof:a,_context:e},e.Consumer=e},t.createElement=E,t.createFactory=function(e){var t=E.bind(null,e);return t.type=e,t},t.createRef=function(){return{current:null}},t.forwardRef=function(e){return{$$typeof:l,render:e}},t.isValidElement=k,t.lazy=function(e){return{$$typeof:u,_payload:{_status:-1,_result:e},_init:P}},t.memo=function(e,t){return{$$typeof:c,type:e,compare:void 0===t?null:t}},t.useCallback=function(e,t){return _().useCallback(e,t)},t.useContext=function(e,t){return _().useContext(e,t)},t.useDebugValue=function(){},t.useEffect=function(e,t){return _().useEffect(e,t)},t.useImperativeHandle=function(e,t,n){return _().useImperativeHandle(e,t,n)},t.useLayoutEffect=function(e,t){return _().useLayoutEffect(e,t)},t.useMemo=function(e,t){return _().useMemo(e,t)},t.useReducer=function(e,t,n){return _().useReducer(e,t,n)},t.useRef=function(e){return _().useRef(e)},t.useState=function(e){return _().useState(e)},t.version="17.0.2"},2791:function(e,t,n){"use strict";e.exports=n(9117)},184:function(e,t,n){"use strict";e.exports=n(6374)},6813:function(e,t){"use strict";var n,r,i,o;if("object"===typeof performance&&"function"===typeof performance.now){var a=performance;t.unstable_now=function(){return a.now()}}else{var s=Date,l=s.now();t.unstable_now=function(){return s.now()-l}}if("undefined"===typeof window||"function"!==typeof MessageChannel){var c=null,u=null,d=function e(){if(null!==c)try{var n=t.unstable_now();c(!0,n),c=null}catch(r){throw setTimeout(e,0),r}};n=function(e){null!==c?setTimeout(n,0,e):(c=e,setTimeout(d,0))},r=function(e,t){u=setTimeout(e,t)},i=function(){clearTimeout(u)},t.unstable_shouldYield=function(){return!1},o=t.unstable_forceFrameRate=function(){}}else{var f=window.setTimeout,p=window.clearTimeout;if("undefined"!==typeof console){var h=window.cancelAnimationFrame;"function"!==typeof window.requestAnimationFrame&&console.error("This browser doesn't support requestAnimationFrame. Make sure that you load a polyfill in older browsers. https://reactjs.org/link/react-polyfills"),"function"!==typeof h&&console.error("This browser doesn't support cancelAnimationFrame. Make sure that you load a polyfill in older browsers. https://reactjs.org/link/react-polyfills")}var v=!1,m=null,g=-1,y=5,b=0;t.unstable_shouldYield=function(){return t.unstable_now()>=b},o=function(){},t.unstable_forceFrameRate=function(e){0>e||125<e?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):y=0<e?Math.floor(1e3/e):5};var w=new MessageChannel,x=w.port2;w.port1.onmessage=function(){if(null!==m){var e=t.unstable_now();b=e+y;try{m(!0,e)?x.postMessage(null):(v=!1,m=null)}catch(n){throw x.postMessage(null),n}}else v=!1},n=function(e){m=e,v||(v=!0,x.postMessage(null))},r=function(e,n){g=f((function(){e(t.unstable_now())}),n)},i=function(){p(g),g=-1}}function S(e,t){var n=e.length;e.push(t);e:for(;;){var r=n-1>>>1,i=e[r];if(!(void 0!==i&&0<C(i,t)))break e;e[r]=t,e[n]=i,n=r}}function E(e){return void 0===(e=e[0])?null:e}function k(e){var t=e[0];if(void 0!==t){var n=e.pop();if(n!==t){e[0]=n;e:for(var r=0,i=e.length;r<i;){var o=2*(r+1)-1,a=e[o],s=o+1,l=e[s];if(void 0!==a&&0>C(a,n))void 0!==l&&0>C(l,a)?(e[r]=l,e[s]=n,r=s):(e[r]=a,e[o]=n,r=o);else{if(!(void 0!==l&&0>C(l,n)))break e;e[r]=l,e[s]=n,r=s}}}return t}return null}function C(e,t){var n=e.sortIndex-t.sortIndex;return 0!==n?n:e.id-t.id}var O=[],j=[],T=1,P=null,N=3,_=!1,R=!1,I=!1;function L(e){for(var t=E(j);null!==t;){if(null===t.callback)k(j);else{if(!(t.startTime<=e))break;k(j),t.sortIndex=t.expirationTime,S(O,t)}t=E(j)}}function M(e){if(I=!1,L(e),!R)if(null!==E(O))R=!0,n(D);else{var t=E(j);null!==t&&r(M,t.startTime-e)}}function D(e,n){R=!1,I&&(I=!1,i()),_=!0;var o=N;try{for(L(n),P=E(O);null!==P&&(!(P.expirationTime>n)||e&&!t.unstable_shouldYield());){var a=P.callback;if("function"===typeof a){P.callback=null,N=P.priorityLevel;var s=a(P.expirationTime<=n);n=t.unstable_now(),"function"===typeof s?P.callback=s:P===E(O)&&k(O),L(n)}else k(O);P=E(O)}if(null!==P)var l=!0;else{var c=E(j);null!==c&&r(M,c.startTime-n),l=!1}return l}finally{P=null,N=o,_=!1}}var A=o;t.unstable_IdlePriority=5,t.unstable_ImmediatePriority=1,t.unstable_LowPriority=4,t.unstable_NormalPriority=3,t.unstable_Profiling=null,t.unstable_UserBlockingPriority=2,t.unstable_cancelCallback=function(e){e.callback=null},t.unstable_continueExecution=function(){R||_||(R=!0,n(D))},t.unstable_getCurrentPriorityLevel=function(){return N},t.unstable_getFirstCallbackNode=function(){return E(O)},t.unstable_next=function(e){switch(N){case 1:case 2:case 3:var t=3;break;default:t=N}var n=N;N=t;try{return e()}finally{N=n}},t.unstable_pauseExecution=function(){},t.unstable_requestPaint=A,t.unstable_runWithPriority=function(e,t){switch(e){case 1:case 2:case 3:case 4:case 5:break;default:e=3}var n=N;N=e;try{return t()}finally{N=n}},t.unstable_scheduleCallback=function(e,o,a){var s=t.unstable_now();switch("object"===typeof a&&null!==a?a="number"===typeof(a=a.delay)&&0<a?s+a:s:a=s,e){case 1:var l=-1;break;case 2:l=250;break;case 5:l=1073741823;break;case 4:l=1e4;break;default:l=5e3}return e={id:T++,callback:o,priorityLevel:e,startTime:a,expirationTime:l=a+l,sortIndex:-1},a>s?(e.sortIndex=a,S(j,e),null===E(O)&&e===E(j)&&(I?i():I=!0,r(M,a-s))):(e.sortIndex=l,S(O,e),R||_||(R=!0,n(D))),e},t.unstable_wrapCallback=function(e){var t=N;return function(){var n=N;N=t;try{return e.apply(this,arguments)}finally{N=n}}}},5296:function(e,t,n){"use strict";e.exports=n(6813)},2391:function(e){"use strict";var t=function(){};e.exports=t}},t={};function n(r){var i=t[r];if(void 0!==i)return i.exports;var o=t[r]={exports:{}};return e[r].call(o.exports,o,o.exports,n),o.exports}n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,{a:t}),t},n.d=function(e,t){for(var r in t)n.o(t,r)&&!n.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},n.g=function(){if("object"===typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"===typeof window)return window}}(),n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="/",function(){"use strict";var e=n(2791),t=n(4164),r=function(e,t){return r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])},r(e,t)};var i=function(){return i=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var i in t=arguments[n])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e},i.apply(this,arguments)};function o(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"===typeof Object.getOwnPropertySymbols){var i=0;for(r=Object.getOwnPropertySymbols(e);i<r.length;i++)t.indexOf(r[i])<0&&Object.prototype.propertyIsEnumerable.call(e,r[i])&&(n[r[i]]=e[r[i]])}return n}function a(e,t,n,r){return new(n||(n=Promise))((function(i,o){function a(e){try{l(r.next(e))}catch(t){o(t)}}function s(e){try{l(r.throw(e))}catch(t){o(t)}}function l(e){e.done?i(e.value):function(e){return e instanceof n?e:new n((function(t){t(e)}))}(e.value).then(a,s)}l((r=r.apply(e,t||[])).next())}))}function s(e,t){var n,r,i,o,a={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]};return o={next:s(0),throw:s(1),return:s(2)},"function"===typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function s(o){return function(s){return function(o){if(n)throw new TypeError("Generator is already executing.");for(;a;)try{if(n=1,r&&(i=2&o[0]?r.return:o[0]?r.throw||((i=r.return)&&i.call(r),0):r.next)&&!(i=i.call(r,o[1])).done)return i;switch(r=0,i&&(o=[2&o[0],i.value]),o[0]){case 0:case 1:i=o;break;case 4:return a.label++,{value:o[1],done:!1};case 5:a.label++,r=o[1],o=[0];continue;case 7:o=a.ops.pop(),a.trys.pop();continue;default:if(!(i=(i=a.trys).length>0&&i[i.length-1])&&(6===o[0]||2===o[0])){a=0;continue}if(3===o[0]&&(!i||o[1]>i[0]&&o[1]<i[3])){a.label=o[1];break}if(6===o[0]&&a.label<i[1]){a.label=i[1],i=o;break}if(i&&a.label<i[2]){a.label=i[2],a.ops.push(o);break}i[2]&&a.ops.pop(),a.trys.pop();continue}o=t.call(e,a)}catch(s){o=[6,s],r=0}finally{n=i=0}if(5&o[0])throw o[1];return{value:o[0]?o[1]:void 0,done:!0}}([o,s])}}}var l=function(e,t){return(l=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(e,t)};function c(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}l(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}var u=function(){return(u=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var i in t=arguments[n])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e}).apply(this,arguments)};function d(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var i=0;for(r=Object.getOwnPropertySymbols(e);i<r.length;i++)t.indexOf(r[i])<0&&Object.prototype.propertyIsEnumerable.call(e,r[i])&&(n[r[i]]=e[r[i]])}return n}function f(e,t,n,r){return new(n||(n=Promise))((function(i,o){function a(e){try{l(r.next(e))}catch(e){o(e)}}function s(e){try{l(r.throw(e))}catch(e){o(e)}}function l(e){var t;e.done?i(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(a,s)}l((r=r.apply(e,t||[])).next())}))}function p(e,t){var n,r,i,o,a={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]};return o={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function s(o){return function(s){return function(o){if(n)throw new TypeError("Generator is already executing.");for(;a;)try{if(n=1,r&&(i=2&o[0]?r.return:o[0]?r.throw||((i=r.return)&&i.call(r),0):r.next)&&!(i=i.call(r,o[1])).done)return i;switch(r=0,i&&(o=[2&o[0],i.value]),o[0]){case 0:case 1:i=o;break;case 4:return a.label++,{value:o[1],done:!1};case 5:a.label++,r=o[1],o=[0];continue;case 7:o=a.ops.pop(),a.trys.pop();continue;default:if(!((i=(i=a.trys).length>0&&i[i.length-1])||6!==o[0]&&2!==o[0])){a=0;continue}if(3===o[0]&&(!i||o[1]>i[0]&&o[1]<i[3])){a.label=o[1];break}if(6===o[0]&&a.label<i[1]){a.label=i[1],i=o;break}if(i&&a.label<i[2]){a.label=i[2],a.ops.push(o);break}i[2]&&a.ops.pop(),a.trys.pop();continue}o=t.call(e,a)}catch(e){o=[6,e],r=0}finally{n=i=0}if(5&o[0])throw o[1];return{value:o[0]?o[1]:void 0,done:!0}}([o,s])}}}function h(e,t){var n="function"==typeof Symbol&&e[Symbol.iterator];if(!n)return e;var r,i,o=n.call(e),a=[];try{for(;(void 0===t||t-- >0)&&!(r=o.next()).done;)a.push(r.value)}catch(e){i={error:e}}finally{try{r&&!r.done&&(n=o.return)&&n.call(o)}finally{if(i)throw i.error}}return a}function v(e,t,n){if(n||2===arguments.length)for(var r,i=0,o=t.length;i<o;i++)!r&&i in t||(r||(r=Array.prototype.slice.call(t,0,i)),r[i]=t[i]);return e.concat(r||Array.prototype.slice.call(t))}var m="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof n.g?n.g:"undefined"!=typeof self?self:{};function g(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}function y(e,t){return e(t={exports:{}},t.exports),t.exports}var b,w,x=function(e){return e&&e.Math==Math&&e},S=x("object"==typeof globalThis&&globalThis)||x("object"==typeof window&&window)||x("object"==typeof self&&self)||x("object"==typeof m&&m)||function(){return this}()||Function("return this")(),E=function(e){try{return!!e()}catch(e){return!0}},k=!E((function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]})),C=Function.prototype.call,O=C.bind?C.bind(C):function(){return C.apply(C,arguments)},j={}.propertyIsEnumerable,T=Object.getOwnPropertyDescriptor,P={f:T&&!j.call({1:2},1)?function(e){var t=T(this,e);return!!t&&t.enumerable}:j},N=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}},_=Function.prototype,R=_.bind,I=_.call,L=R&&R.bind(I),M=R?function(e){return e&&L(I,e)}:function(e){return e&&function(){return I.apply(e,arguments)}},D=M({}.toString),A=M("".slice),F=function(e){return A(D(e),8,-1)},z=S.Object,B=M("".split),V=E((function(){return!z("z").propertyIsEnumerable(0)}))?function(e){return"String"==F(e)?B(e,""):z(e)}:z,U=S.TypeError,W=function(e){if(null==e)throw U("Can't call method on "+e);return e},H=function(e){return V(W(e))},K=function(e){return"function"==typeof e},Z=function(e){return"object"==typeof e?null!==e:K(e)},G=function(e){return K(e)?e:void 0},q=function(e,t){return arguments.length<2?G(S[e]):S[e]&&S[e][t]},X=M({}.isPrototypeOf),$=q("navigator","userAgent")||"",Y=S.process,J=S.Deno,Q=Y&&Y.versions||J&&J.version,ee=Q&&Q.v8;ee&&(w=(b=ee.split("."))[0]>0&&b[0]<4?1:+(b[0]+b[1])),!w&&$&&(!(b=$.match(/Edge\/(\d+)/))||b[1]>=74)&&(b=$.match(/Chrome\/(\d+)/))&&(w=+b[1]);var te=w,ne=!!Object.getOwnPropertySymbols&&!E((function(){var e=Symbol();return!String(e)||!(Object(e)instanceof Symbol)||!Symbol.sham&&te&&te<41})),re=ne&&!Symbol.sham&&"symbol"==typeof Symbol.iterator,ie=S.Object,oe=re?function(e){return"symbol"==typeof e}:function(e){var t=q("Symbol");return K(t)&&X(t.prototype,ie(e))},ae=S.String,se=function(e){try{return ae(e)}catch(e){return"Object"}},le=S.TypeError,ce=function(e){if(K(e))return e;throw le(se(e)+" is not a function")},ue=function(e,t){var n=e[t];return null==n?void 0:ce(n)},de=S.TypeError,fe=Object.defineProperty,pe=function(e,t){try{fe(S,e,{value:t,configurable:!0,writable:!0})}catch(n){S[e]=t}return t},he=S["__core-js_shared__"]||pe("__core-js_shared__",{}),ve=y((function(e){(e.exports=function(e,t){return he[e]||(he[e]=void 0!==t?t:{})})("versions",[]).push({version:"3.19.1",mode:"global",copyright:"\xa9 2021 Denis Pushkarev (zloirock.ru)"})})),me=S.Object,ge=function(e){return me(W(e))},ye=M({}.hasOwnProperty),be=Object.hasOwn||function(e,t){return ye(ge(e),t)},we=0,xe=Math.random(),Se=M(1..toString),Ee=function(e){return"Symbol("+(void 0===e?"":e)+")_"+Se(++we+xe,36)},ke=ve("wks"),Ce=S.Symbol,Oe=Ce&&Ce.for,je=re?Ce:Ce&&Ce.withoutSetter||Ee,Te=function(e){if(!be(ke,e)||!ne&&"string"!=typeof ke[e]){var t="Symbol."+e;ne&&be(Ce,e)?ke[e]=Ce[e]:ke[e]=re&&Oe?Oe(t):je(t)}return ke[e]},Pe=S.TypeError,Ne=Te("toPrimitive"),_e=function(e){var t=function(e,t){if(!Z(e)||oe(e))return e;var n,r=ue(e,Ne);if(r){if(void 0===t&&(t="default"),n=O(r,e,t),!Z(n)||oe(n))return n;throw Pe("Can't convert object to primitive value")}return void 0===t&&(t="number"),function(e,t){var n,r;if("string"===t&&K(n=e.toString)&&!Z(r=O(n,e)))return r;if(K(n=e.valueOf)&&!Z(r=O(n,e)))return r;if("string"!==t&&K(n=e.toString)&&!Z(r=O(n,e)))return r;throw de("Can't convert object to primitive value")}(e,t)}(e,"string");return oe(t)?t:t+""},Re=S.document,Ie=Z(Re)&&Z(Re.createElement),Le=function(e){return Ie?Re.createElement(e):{}},Me=!k&&!E((function(){return 7!=Object.defineProperty(Le("div"),"a",{get:function(){return 7}}).a})),De=Object.getOwnPropertyDescriptor,Ae={f:k?De:function(e,t){if(e=H(e),t=_e(t),Me)try{return De(e,t)}catch(e){}if(be(e,t))return N(!O(P.f,e,t),e[t])}},Fe=S.String,ze=S.TypeError,Be=function(e){if(Z(e))return e;throw ze(Fe(e)+" is not an object")},Ve=S.TypeError,Ue=Object.defineProperty,We={f:k?Ue:function(e,t,n){if(Be(e),t=_e(t),Be(n),Me)try{return Ue(e,t,n)}catch(e){}if("get"in n||"set"in n)throw Ve("Accessors not supported");return"value"in n&&(e[t]=n.value),e}},He=k?function(e,t,n){return We.f(e,t,N(1,n))}:function(e,t,n){return e[t]=n,e},Ke=M(Function.toString);K(he.inspectSource)||(he.inspectSource=function(e){return Ke(e)});var Ze,Ge,qe,Xe=he.inspectSource,$e=S.WeakMap,Ye=K($e)&&/native code/.test(Xe($e)),Je=ve("keys"),Qe=function(e){return Je[e]||(Je[e]=Ee(e))},et={},tt=S.TypeError,nt=S.WeakMap;if(Ye||he.state){var rt=he.state||(he.state=new nt),it=M(rt.get),ot=M(rt.has),at=M(rt.set);Ze=function(e,t){if(ot(rt,e))throw new tt("Object already initialized");return t.facade=e,at(rt,e,t),t},Ge=function(e){return it(rt,e)||{}},qe=function(e){return ot(rt,e)}}else{var st=Qe("state");et[st]=!0,Ze=function(e,t){if(be(e,st))throw new tt("Object already initialized");return t.facade=e,He(e,st,t),t},Ge=function(e){return be(e,st)?e[st]:{}},qe=function(e){return be(e,st)}}var lt={set:Ze,get:Ge,has:qe,enforce:function(e){return qe(e)?Ge(e):Ze(e,{})},getterFor:function(e){return function(t){var n;if(!Z(t)||(n=Ge(t)).type!==e)throw tt("Incompatible receiver, "+e+" required");return n}}},ct=Function.prototype,ut=k&&Object.getOwnPropertyDescriptor,dt=be(ct,"name"),ft={EXISTS:dt,PROPER:dt&&"something"===function(){}.name,CONFIGURABLE:dt&&(!k||k&&ut(ct,"name").configurable)},pt=y((function(e){var t=ft.CONFIGURABLE,n=lt.get,r=lt.enforce,i=String(String).split("String");(e.exports=function(e,n,o,a){var s,l=!!a&&!!a.unsafe,c=!!a&&!!a.enumerable,u=!!a&&!!a.noTargetGet,d=a&&void 0!==a.name?a.name:n;K(o)&&("Symbol("===String(d).slice(0,7)&&(d="["+String(d).replace(/^Symbol\(([^)]*)\)/,"$1")+"]"),(!be(o,"name")||t&&o.name!==d)&&He(o,"name",d),(s=r(o)).source||(s.source=i.join("string"==typeof d?d:""))),e!==S?(l?!u&&e[n]&&(c=!0):delete e[n],c?e[n]=o:He(e,n,o)):c?e[n]=o:pe(n,o)})(Function.prototype,"toString",(function(){return K(this)&&n(this).source||Xe(this)}))})),ht=Math.ceil,vt=Math.floor,mt=function(e){var t=+e;return t!=t||0===t?0:(t>0?vt:ht)(t)},gt=Math.max,yt=Math.min,bt=Math.min,wt=function(e){return e>0?bt(mt(e),9007199254740991):0},xt=function(e){return wt(e.length)},St=function(e){return function(t,n,r){var i,o=H(t),a=xt(o),s=function(e,t){var n=mt(e);return n<0?gt(n+t,0):yt(n,t)}(r,a);if(e&&n!=n){for(;a>s;)if((i=o[s++])!=i)return!0}else for(;a>s;s++)if((e||s in o)&&o[s]===n)return e||s||0;return!e&&-1}},Et={includes:St(!0),indexOf:St(!1)},kt=Et.indexOf,Ct=M([].push),Ot=function(e,t){var n,r=H(e),i=0,o=[];for(n in r)!be(et,n)&&be(r,n)&&Ct(o,n);for(;t.length>i;)be(r,n=t[i++])&&(~kt(o,n)||Ct(o,n));return o},jt=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"],Tt=jt.concat("length","prototype"),Pt={f:Object.getOwnPropertyNames||function(e){return Ot(e,Tt)}},Nt={f:Object.getOwnPropertySymbols},_t=M([].concat),Rt=q("Reflect","ownKeys")||function(e){var t=Pt.f(Be(e)),n=Nt.f;return n?_t(t,n(e)):t},It=function(e,t){for(var n=Rt(t),r=We.f,i=Ae.f,o=0;o<n.length;o++){var a=n[o];be(e,a)||r(e,a,i(t,a))}},Lt=/#|\.prototype\./,Mt=function(e,t){var n=At[Dt(e)];return n==zt||n!=Ft&&(K(t)?E(t):!!t)},Dt=Mt.normalize=function(e){return String(e).replace(Lt,".").toLowerCase()},At=Mt.data={},Ft=Mt.NATIVE="N",zt=Mt.POLYFILL="P",Bt=Mt,Vt=Ae.f,Ut=function(e,t){var n,r,i,o,a,s=e.target,l=e.global,c=e.stat;if(n=l?S:c?S[s]||pe(s,{}):(S[s]||{}).prototype)for(r in t){if(o=t[r],i=e.noTargetGet?(a=Vt(n,r))&&a.value:n[r],!Bt(l?r:s+(c?".":"#")+r,e.forced)&&void 0!==i){if(typeof o==typeof i)continue;It(o,i)}(e.sham||i&&i.sham)&&He(o,"sham",!0),pt(n,r,o,e)}},Wt={};Wt[Te("toStringTag")]="z";var Ht,Kt="[object z]"===String(Wt),Zt=Te("toStringTag"),Gt=S.Object,qt="Arguments"==F(function(){return arguments}()),Xt=Kt?F:function(e){var t,n,r;return void 0===e?"Undefined":null===e?"Null":"string"==typeof(n=function(e,t){try{return e[t]}catch(e){}}(t=Gt(e),Zt))?n:qt?F(t):"Object"==(r=F(t))&&K(t.callee)?"Arguments":r},$t=S.String,Yt=function(e){if("Symbol"===Xt(e))throw TypeError("Cannot convert a Symbol value to a string");return $t(e)},Jt=Te("match"),Qt=S.TypeError,en=function(e){if(function(e){var t;return Z(e)&&(void 0!==(t=e[Jt])?!!t:"RegExp"==F(e))}(e))throw Qt("The method doesn't accept regular expressions");return e},tn=Te("match"),nn=function(e){var t=/./;try{"/./"[e](t)}catch(n){try{return t[tn]=!1,"/./"[e](t)}catch(e){}}return!1},rn=Ae.f,on=M("".startsWith),an=M("".slice),sn=Math.min,ln=nn("startsWith"),cn=!(ln||(Ht=rn(String.prototype,"startsWith"),!Ht||Ht.writable));Ut({target:"String",proto:!0,forced:!cn&&!ln},{startsWith:function(e){var t=Yt(W(this));en(e);var n=wt(sn(arguments.length>1?arguments[1]:void 0,t.length)),r=Yt(e);return on?on(t,r,n):an(t,n,n+r.length)===r}});var un=function(e,t){return M(S[e].prototype[t])};un("String","startsWith");var dn=Array.isArray||function(e){return"Array"==F(e)},fn=function(e,t,n){var r=_e(t);r in e?We.f(e,r,N(0,n)):e[r]=n},pn=function(){},hn=[],vn=q("Reflect","construct"),mn=/^\s*(?:class|function)\b/,gn=M(mn.exec),yn=!mn.exec(pn),bn=function(e){if(!K(e))return!1;try{return vn(pn,hn,e),!0}catch(e){return!1}},wn=!vn||E((function(){var e;return bn(bn.call)||!bn(Object)||!bn((function(){e=!0}))||e}))?function(e){if(!K(e))return!1;switch(Xt(e)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}return yn||!!gn(mn,Xe(e))}:bn,xn=Te("species"),Sn=S.Array,En=function(e,t){return new(function(e){var t;return dn(e)&&(t=e.constructor,(wn(t)&&(t===Sn||dn(t.prototype))||Z(t)&&null===(t=t[xn]))&&(t=void 0)),void 0===t?Sn:t}(e))(0===t?0:t)},kn=Te("species"),Cn=Te("isConcatSpreadable"),On=S.TypeError,jn=te>=51||!E((function(){var e=[];return e[Cn]=!1,e.concat()[0]!==e})),Tn=("concat",te>=51||!E((function(){var e=[];return(e.constructor={})[kn]=function(){return{foo:1}},1!==e.concat(Boolean).foo}))),Pn=function(e){if(!Z(e))return!1;var t=e[Cn];return void 0!==t?!!t:dn(e)};Ut({target:"Array",proto:!0,forced:!jn||!Tn},{concat:function(e){var t,n,r,i,o,a=ge(this),s=En(a,0),l=0;for(t=-1,r=arguments.length;t<r;t++)if(Pn(o=-1===t?a:arguments[t])){if(l+(i=xt(o))>9007199254740991)throw On("Maximum allowed index exceeded");for(n=0;n<i;n++,l++)n in o&&fn(s,l,o[n])}else{if(l>=9007199254740991)throw On("Maximum allowed index exceeded");fn(s,l++,o)}return s.length=l,s}});var Nn=Kt?{}.toString:function(){return"[object "+Xt(this)+"]"};Kt||pt(Object.prototype,"toString",Nn,{unsafe:!0});var _n,Rn=Function.prototype,In=Rn.apply,Ln=Rn.bind,Mn=Rn.call,Dn="object"==typeof Reflect&&Reflect.apply||(Ln?Mn.bind(In):function(){return Mn.apply(In,arguments)}),An=Object.keys||function(e){return Ot(e,jt)},Fn=k?Object.defineProperties:function(e,t){Be(e);for(var n,r=H(t),i=An(t),o=i.length,a=0;o>a;)We.f(e,n=i[a++],r[n]);return e},zn=q("document","documentElement"),Bn=Qe("IE_PROTO"),Vn=function(){},Un=function(e){return"<script>"+e+"<\/script>"},Wn=function(e){e.write(Un("")),e.close();var t=e.parentWindow.Object;return e=null,t},Hn=function(){try{_n=new ActiveXObject("htmlfile")}catch(e){}var e,t;Hn="undefined"!=typeof document?document.domain&&_n?Wn(_n):((t=Le("iframe")).style.display="none",zn.appendChild(t),t.src=String("javascript:"),(e=t.contentWindow.document).open(),e.write(Un("document.F=Object")),e.close(),e.F):Wn(_n);for(var n=jt.length;n--;)delete Hn.prototype[jt[n]];return Hn()};et[Bn]=!0;var Kn=Object.create||function(e,t){var n;return null!==e?(Vn.prototype=Be(e),n=new Vn,Vn.prototype=null,n[Bn]=e):n=Hn(),void 0===t?n:Fn(n,t)},Zn=M([].slice),Gn=Pt.f,qn="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[],Xn={f:function(e){return qn&&"Window"==F(e)?function(e){try{return Gn(e)}catch(e){return Zn(qn)}}(e):Gn(H(e))}},$n={f:Te},Yn=S,Jn=We.f,Qn=function(e){var t=Yn.Symbol||(Yn.Symbol={});be(t,e)||Jn(t,e,{value:$n.f(e)})},er=We.f,tr=Te("toStringTag"),nr=function(e,t,n){e&&!be(e=n?e:e.prototype,tr)&&er(e,tr,{configurable:!0,value:t})},rr=M(M.bind),ir=function(e,t){return ce(e),void 0===t?e:rr?rr(e,t):function(){return e.apply(t,arguments)}},or=M([].push),ar=function(e){var t=1==e,n=2==e,r=3==e,i=4==e,o=6==e,a=7==e,s=5==e||o;return function(l,c,u,d){for(var f,p,h=ge(l),v=V(h),m=ir(c,u),g=xt(v),y=0,b=d||En,w=t?b(l,g):n||a?b(l,0):void 0;g>y;y++)if((s||y in v)&&(p=m(f=v[y],y,h),e))if(t)w[y]=p;else if(p)switch(e){case 3:return!0;case 5:return f;case 6:return y;case 2:or(w,f)}else switch(e){case 4:return!1;case 7:or(w,f)}return o?-1:r||i?i:w}},sr=[ar(0),ar(1),ar(2),ar(3),ar(4),ar(5),ar(6),ar(7)][0],lr=Qe("hidden"),cr=Te("toPrimitive"),ur=lt.set,dr=lt.getterFor("Symbol"),fr=Object.prototype,pr=S.Symbol,hr=pr&&pr.prototype,vr=S.TypeError,mr=S.QObject,gr=q("JSON","stringify"),yr=Ae.f,br=We.f,wr=Xn.f,xr=P.f,Sr=M([].push),Er=ve("symbols"),kr=ve("op-symbols"),Cr=ve("string-to-symbol-registry"),Or=ve("symbol-to-string-registry"),jr=ve("wks"),Tr=!mr||!mr.prototype||!mr.prototype.findChild,Pr=k&&E((function(){return 7!=Kn(br({},"a",{get:function(){return br(this,"a",{value:7}).a}})).a}))?function(e,t,n){var r=yr(fr,t);r&&delete fr[t],br(e,t,n),r&&e!==fr&&br(fr,t,r)}:br,Nr=function(e,t){var n=Er[e]=Kn(hr);return ur(n,{type:"Symbol",tag:e,description:t}),k||(n.description=t),n},_r=function e(t,n,r){t===fr&&e(kr,n,r),Be(t);var i=_e(n);return Be(r),be(Er,i)?(r.enumerable?(be(t,lr)&&t[lr][i]&&(t[lr][i]=!1),r=Kn(r,{enumerable:N(0,!1)})):(be(t,lr)||br(t,lr,N(1,{})),t[lr][i]=!0),Pr(t,i,r)):br(t,i,r)},Rr=function(e,t){Be(e);var n=H(t),r=An(n).concat(Dr(n));return sr(r,(function(t){k&&!O(Ir,n,t)||_r(e,t,n[t])})),e},Ir=function(e){var t=_e(e),n=O(xr,this,t);return!(this===fr&&be(Er,t)&&!be(kr,t))&&(!(n||!be(this,t)||!be(Er,t)||be(this,lr)&&this[lr][t])||n)},Lr=function(e,t){var n=H(e),r=_e(t);if(n!==fr||!be(Er,r)||be(kr,r)){var i=yr(n,r);return!i||!be(Er,r)||be(n,lr)&&n[lr][r]||(i.enumerable=!0),i}},Mr=function(e){var t=wr(H(e)),n=[];return sr(t,(function(e){be(Er,e)||be(et,e)||Sr(n,e)})),n},Dr=function(e){var t=e===fr,n=wr(t?kr:H(e)),r=[];return sr(n,(function(e){!be(Er,e)||t&&!be(fr,e)||Sr(r,Er[e])})),r};if(ne||(hr=(pr=function(){if(X(hr,this))throw vr("Symbol is not a constructor");var e=arguments.length&&void 0!==arguments[0]?Yt(arguments[0]):void 0,t=Ee(e),n=function e(n){this===fr&&O(e,kr,n),be(this,lr)&&be(this[lr],t)&&(this[lr][t]=!1),Pr(this,t,N(1,n))};return k&&Tr&&Pr(fr,t,{configurable:!0,set:n}),Nr(t,e)}).prototype,pt(hr,"toString",(function(){return dr(this).tag})),pt(pr,"withoutSetter",(function(e){return Nr(Ee(e),e)})),P.f=Ir,We.f=_r,Ae.f=Lr,Pt.f=Xn.f=Mr,Nt.f=Dr,$n.f=function(e){return Nr(Te(e),e)},k&&(br(hr,"description",{configurable:!0,get:function(){return dr(this).description}}),pt(fr,"propertyIsEnumerable",Ir,{unsafe:!0}))),Ut({global:!0,wrap:!0,forced:!ne,sham:!ne},{Symbol:pr}),sr(An(jr),(function(e){Qn(e)})),Ut({target:"Symbol",stat:!0,forced:!ne},{for:function(e){var t=Yt(e);if(be(Cr,t))return Cr[t];var n=pr(t);return Cr[t]=n,Or[n]=t,n},keyFor:function(e){if(!oe(e))throw vr(e+" is not a symbol");if(be(Or,e))return Or[e]},useSetter:function(){Tr=!0},useSimple:function(){Tr=!1}}),Ut({target:"Object",stat:!0,forced:!ne,sham:!k},{create:function(e,t){return void 0===t?Kn(e):Rr(Kn(e),t)},defineProperty:_r,defineProperties:Rr,getOwnPropertyDescriptor:Lr}),Ut({target:"Object",stat:!0,forced:!ne},{getOwnPropertyNames:Mr,getOwnPropertySymbols:Dr}),Ut({target:"Object",stat:!0,forced:E((function(){Nt.f(1)}))},{getOwnPropertySymbols:function(e){return Nt.f(ge(e))}}),gr){var Ar=!ne||E((function(){var e=pr();return"[null]"!=gr([e])||"{}"!=gr({a:e})||"{}"!=gr(Object(e))}));Ut({target:"JSON",stat:!0,forced:Ar},{stringify:function(e,t,n){var r=Zn(arguments),i=t;if((Z(t)||void 0!==e)&&!oe(e))return dn(t)||(t=function(e,t){if(K(i)&&(t=O(i,this,e,t)),!oe(t))return t}),r[1]=t,Dn(gr,null,r)}})}if(!hr[cr]){var Fr=hr.valueOf;pt(hr,cr,(function(e){return O(Fr,this)}))}nr(pr,"Symbol"),et[lr]=!0,Qn("asyncIterator");var zr=We.f,Br=S.Symbol,Vr=Br&&Br.prototype;if(k&&K(Br)&&(!("description"in Vr)||void 0!==Br().description)){var Ur={},Wr=function(){var e=arguments.length<1||void 0===arguments[0]?void 0:Yt(arguments[0]),t=X(Vr,this)?new Br(e):void 0===e?Br():Br(e);return""===e&&(Ur[t]=!0),t};It(Wr,Br),Wr.prototype=Vr,Vr.constructor=Wr;var Hr="Symbol(test)"==String(Br("test")),Kr=M(Vr.toString),Zr=M(Vr.valueOf),Gr=/^Symbol\((.*)\)[^)]+$/,qr=M("".replace),Xr=M("".slice);zr(Vr,"description",{configurable:!0,get:function(){var e=Zr(this),t=Kr(e);if(be(Ur,e))return"";var n=Hr?Xr(t,7,-1):qr(t,Gr,"$1");return""===n?void 0:n}}),Ut({global:!0,forced:!0},{Symbol:Wr})}Qn("hasInstance"),Qn("isConcatSpreadable"),Qn("iterator"),Qn("match"),Qn("matchAll"),Qn("replace"),Qn("search"),Qn("species"),Qn("split"),Qn("toPrimitive"),Qn("toStringTag"),Qn("unscopables"),nr(S.JSON,"JSON",!0),nr(Math,"Math",!0),Ut({global:!0},{Reflect:{}}),nr(S.Reflect,"Reflect",!0),Yn.Symbol;var $r,Yr,Jr,Qr=M("".charAt),ei=M("".charCodeAt),ti=M("".slice),ni=function(e){return function(t,n){var r,i,o=Yt(W(t)),a=mt(n),s=o.length;return a<0||a>=s?e?"":void 0:(r=ei(o,a))<55296||r>56319||a+1===s||(i=ei(o,a+1))<56320||i>57343?e?Qr(o,a):r:e?ti(o,a,a+2):i-56320+(r-55296<<10)+65536}},ri={codeAt:ni(!1),charAt:ni(!0)},ii=!E((function(){function e(){}return e.prototype.constructor=null,Object.getPrototypeOf(new e)!==e.prototype})),oi=Qe("IE_PROTO"),ai=S.Object,si=ai.prototype,li=ii?ai.getPrototypeOf:function(e){var t=ge(e);if(be(t,oi))return t[oi];var n=t.constructor;return K(n)&&t instanceof n?n.prototype:t instanceof ai?si:null},ci=Te("iterator"),ui=!1;[].keys&&("next"in(Jr=[].keys())?(Yr=li(li(Jr)))!==Object.prototype&&($r=Yr):ui=!0),(null==$r||E((function(){var e={};return $r[ci].call(e)!==e})))&&($r={}),K($r[ci])||pt($r,ci,(function(){return this}));var di={IteratorPrototype:$r,BUGGY_SAFARI_ITERATORS:ui},fi={},pi=di.IteratorPrototype,hi=function(){return this},vi=S.String,mi=S.TypeError,gi=Object.setPrototypeOf||("__proto__"in{}?function(){var e,t=!1,n={};try{(e=M(Object.getOwnPropertyDescriptor(Object.prototype,"__proto__").set))(n,[]),t=n instanceof Array}catch(e){}return function(n,r){return Be(n),function(e){if("object"==typeof e||K(e))return e;throw mi("Can't set "+vi(e)+" as a prototype")}(r),t?e(n,r):n.__proto__=r,n}}():void 0),yi=ft.PROPER,bi=ft.CONFIGURABLE,wi=di.IteratorPrototype,xi=di.BUGGY_SAFARI_ITERATORS,Si=Te("iterator"),Ei=function(){return this},ki=function(e,t,n,r,i,o,a){!function(e,t,n){var r=t+" Iterator";e.prototype=Kn(pi,{next:N(1,n)}),nr(e,r,!1),fi[r]=hi}(n,t,r);var s,l,c,u=function(e){if(e===i&&v)return v;if(!xi&&e in p)return p[e];switch(e){case"keys":case"values":case"entries":return function(){return new n(this,e)}}return function(){return new n(this)}},d=t+" Iterator",f=!1,p=e.prototype,h=p[Si]||p["@@iterator"]||i&&p[i],v=!xi&&h||u(i),m="Array"==t&&p.entries||h;if(m&&(s=li(m.call(new e)))!==Object.prototype&&s.next&&(li(s)!==wi&&(gi?gi(s,wi):K(s[Si])||pt(s,Si,Ei)),nr(s,d,!0)),yi&&"values"==i&&h&&"values"!==h.name&&(bi?He(p,"name","values"):(f=!0,v=function(){return O(h,this)})),i)if(l={values:u("values"),keys:o?v:u("keys"),entries:u("entries")},a)for(c in l)(xi||f||!(c in p))&&pt(p,c,l[c]);else Ut({target:t,proto:!0,forced:xi||f},l);return p[Si]!==v&&pt(p,Si,v,{name:i}),fi[t]=v,l},Ci=ri.charAt,Oi=lt.set,ji=lt.getterFor("String Iterator");ki(String,"String",(function(e){Oi(this,{type:"String Iterator",string:Yt(e),index:0})}),(function(){var e,t=ji(this),n=t.string,r=t.index;return r>=n.length?{value:void 0,done:!0}:(e=Ci(n,r),t.index+=e.length,{value:e,done:!1})}));var Ti=function(e,t,n){var r,i;Be(e);try{if(!(r=ue(e,"return"))){if("throw"===t)throw n;return n}r=O(r,e)}catch(e){i=!0,r=e}if("throw"===t)throw n;if(i)throw r;return Be(r),n},Pi=function(e,t,n,r){try{return r?t(Be(n)[0],n[1]):t(n)}catch(t){Ti(e,"throw",t)}},Ni=Te("iterator"),_i=Array.prototype,Ri=function(e){return void 0!==e&&(fi.Array===e||_i[Ni]===e)},Ii=Te("iterator"),Li=function(e){if(null!=e)return ue(e,Ii)||ue(e,"@@iterator")||fi[Xt(e)]},Mi=S.TypeError,Di=function(e,t){var n=arguments.length<2?Li(e):t;if(ce(n))return Be(O(n,e));throw Mi(se(e)+" is not iterable")},Ai=S.Array,Fi=Te("iterator"),zi=!1;try{var Bi=0,Vi={next:function(){return{done:!!Bi++}},return:function(){zi=!0}};Vi[Fi]=function(){return this},Array.from(Vi,(function(){throw 2}))}catch(ky){}var Ui=function(e,t){if(!t&&!zi)return!1;var n=!1;try{var r={};r[Fi]=function(){return{next:function(){return{done:n=!0}}}},e(r)}catch(e){}return n},Wi=!Ui((function(e){Array.from(e)}));Ut({target:"Array",stat:!0,forced:Wi},{from:function(e){var t=ge(e),n=wn(this),r=arguments.length,i=r>1?arguments[1]:void 0,o=void 0!==i;o&&(i=ir(i,r>2?arguments[2]:void 0));var a,s,l,c,u,d,f=Li(t),p=0;if(!f||this==Ai&&Ri(f))for(a=xt(t),s=n?new this(a):Ai(a);a>p;p++)d=o?i(t[p],p):t[p],fn(s,p,d);else for(u=(c=Di(t,f)).next,s=n?new this:[];!(l=O(u,c)).done;p++)d=o?Pi(c,i,[l.value,p],!0):l.value,fn(s,p,d);return s.length=p,s}}),Yn.Array.from;var Hi,Ki,Zi,Gi="undefined"!=typeof ArrayBuffer&&"undefined"!=typeof DataView,qi=We.f,Xi=S.Int8Array,$i=Xi&&Xi.prototype,Yi=S.Uint8ClampedArray,Ji=Yi&&Yi.prototype,Qi=Xi&&li(Xi),eo=$i&&li($i),to=Object.prototype,no=S.TypeError,ro=Te("toStringTag"),io=Ee("TYPED_ARRAY_TAG"),oo=Ee("TYPED_ARRAY_CONSTRUCTOR"),ao=Gi&&!!gi&&"Opera"!==Xt(S.opera),so=!1,lo={Int8Array:1,Uint8Array:1,Uint8ClampedArray:1,Int16Array:2,Uint16Array:2,Int32Array:4,Uint32Array:4,Float32Array:4,Float64Array:8},co={BigInt64Array:8,BigUint64Array:8},uo=function(e){if(!Z(e))return!1;var t=Xt(e);return be(lo,t)||be(co,t)};for(Hi in lo)(Zi=(Ki=S[Hi])&&Ki.prototype)?He(Zi,oo,Ki):ao=!1;for(Hi in co)(Zi=(Ki=S[Hi])&&Ki.prototype)&&He(Zi,oo,Ki);if((!ao||!K(Qi)||Qi===Function.prototype)&&(Qi=function(){throw no("Incorrect invocation")},ao))for(Hi in lo)S[Hi]&&gi(S[Hi],Qi);if((!ao||!eo||eo===to)&&(eo=Qi.prototype,ao))for(Hi in lo)S[Hi]&&gi(S[Hi].prototype,eo);if(ao&&li(Ji)!==eo&&gi(Ji,eo),k&&!be(eo,ro))for(Hi in so=!0,qi(eo,ro,{get:function(){return Z(this)?this[io]:void 0}}),lo)S[Hi]&&He(S[Hi],io,Hi);var fo={NATIVE_ARRAY_BUFFER_VIEWS:ao,TYPED_ARRAY_CONSTRUCTOR:oo,TYPED_ARRAY_TAG:so&&io,aTypedArray:function(e){if(uo(e))return e;throw no("Target is not a typed array")},aTypedArrayConstructor:function(e){if(K(e)&&(!gi||X(Qi,e)))return e;throw no(se(e)+" is not a typed array constructor")},exportTypedArrayMethod:function(e,t,n){if(k){if(n)for(var r in lo){var i=S[r];if(i&&be(i.prototype,e))try{delete i.prototype[e]}catch(e){}}eo[e]&&!n||pt(eo,e,n?t:ao&&$i[e]||t)}},exportTypedArrayStaticMethod:function(e,t,n){var r,i;if(k){if(gi){if(n)for(r in lo)if((i=S[r])&&be(i,e))try{delete i[e]}catch(e){}if(Qi[e]&&!n)return;try{return pt(Qi,e,n?t:ao&&Qi[e]||t)}catch(e){}}for(r in lo)!(i=S[r])||i[e]&&!n||pt(i,e,t)}},isView:function(e){if(!Z(e))return!1;var t=Xt(e);return"DataView"===t||be(lo,t)||be(co,t)},isTypedArray:uo,TypedArray:Qi,TypedArrayPrototype:eo},po=S.TypeError,ho=Te("species"),vo=fo.TYPED_ARRAY_CONSTRUCTOR,mo=fo.aTypedArrayConstructor,go=fo.aTypedArray;(0,fo.exportTypedArrayMethod)("slice",(function(e,t){for(var n=Zn(go(this),e,t),r=mo(function(e,t){var n,r=Be(e).constructor;return void 0===r||null==(n=Be(r)[ho])?t:function(e){if(wn(e))return e;throw po(se(e)+" is not a constructor")}(n)}(this,this[vo])),i=0,o=n.length,a=new r(o);o>i;)a[i]=n[i++];return a}),E((function(){new Int8Array(1).slice()})));var yo=Te("unscopables"),bo=Array.prototype;null==bo[yo]&&We.f(bo,yo,{configurable:!0,value:Kn(null)});var wo=function(e){bo[yo][e]=!0},xo=Et.includes;Ut({target:"Array",proto:!0},{includes:function(e){return xo(this,e,arguments.length>1?arguments[1]:void 0)}}),wo("includes"),un("Array","includes");var So=M("".indexOf);Ut({target:"String",proto:!0,forced:!nn("includes")},{includes:function(e){return!!~So(Yt(W(this)),Yt(en(e)),arguments.length>1?arguments[1]:void 0)}}),un("String","includes");var Eo=lt.set,ko=lt.getterFor("Array Iterator");ki(Array,"Array",(function(e,t){Eo(this,{type:"Array Iterator",target:H(e),index:0,kind:t})}),(function(){var e=ko(this),t=e.target,n=e.kind,r=e.index++;return!t||r>=t.length?(e.target=void 0,{value:void 0,done:!0}):"keys"==n?{value:r,done:!1}:"values"==n?{value:t[r],done:!1}:{value:[r,t[r]],done:!1}}),"values"),fi.Arguments=fi.Array,wo("keys"),wo("values"),wo("entries");var Co=E((function(){if("function"==typeof ArrayBuffer){var e=new ArrayBuffer(8);Object.isExtensible(e)&&Object.defineProperty(e,"a",{value:8})}})),Oo=Object.isExtensible,jo=E((function(){Oo(1)}))||Co?function(e){return!!Z(e)&&(!Co||"ArrayBuffer"!=F(e))&&(!Oo||Oo(e))}:Oo,To=!E((function(){return Object.isExtensible(Object.preventExtensions({}))})),Po=y((function(e){var t=We.f,n=!1,r=Ee("meta"),i=0,o=function(e){t(e,r,{value:{objectID:"O"+i++,weakData:{}}})},a=e.exports={enable:function(){a.enable=function(){},n=!0;var e=Pt.f,t=M([].splice),i={};i[r]=1,e(i).length&&(Pt.f=function(n){for(var i=e(n),o=0,a=i.length;o<a;o++)if(i[o]===r){t(i,o,1);break}return i},Ut({target:"Object",stat:!0,forced:!0},{getOwnPropertyNames:Xn.f}))},fastKey:function(e,t){if(!Z(e))return"symbol"==typeof e?e:("string"==typeof e?"S":"P")+e;if(!be(e,r)){if(!jo(e))return"F";if(!t)return"E";o(e)}return e[r].objectID},getWeakData:function(e,t){if(!be(e,r)){if(!jo(e))return!0;if(!t)return!1;o(e)}return e[r].weakData},onFreeze:function(e){return To&&n&&jo(e)&&!be(e,r)&&o(e),e}};et[r]=!0}));Po.enable,Po.fastKey,Po.getWeakData,Po.onFreeze;var No=S.TypeError,_o=function(e,t){this.stopped=e,this.result=t},Ro=_o.prototype,Io=function(e,t,n){var r,i,o,a,s,l,c,u=n&&n.that,d=!(!n||!n.AS_ENTRIES),f=!(!n||!n.IS_ITERATOR),p=!(!n||!n.INTERRUPTED),h=ir(t,u),v=function(e){return r&&Ti(r,"normal",e),new _o(!0,e)},m=function(e){return d?(Be(e),p?h(e[0],e[1],v):h(e[0],e[1])):p?h(e,v):h(e)};if(f)r=e;else{if(!(i=Li(e)))throw No(se(e)+" is not iterable");if(Ri(i)){for(o=0,a=xt(e);a>o;o++)if((s=m(e[o]))&&X(Ro,s))return s;return new _o(!1)}r=Di(e,i)}for(l=r.next;!(c=O(l,r)).done;){try{s=m(c.value)}catch(e){Ti(r,"throw",e)}if("object"==typeof s&&s&&X(Ro,s))return s}return new _o(!1)},Lo=S.TypeError,Mo=function(e,t){if(X(t,e))return e;throw Lo("Incorrect invocation")},Do=function(e,t,n){for(var r in t)pt(e,r,t[r],n);return e},Ao=Te("species"),Fo=We.f,zo=Po.fastKey,Bo=lt.set,Vo=lt.getterFor,Uo={getConstructor:function(e,t,n,r){var i=e((function(e,i){Mo(e,o),Bo(e,{type:t,index:Kn(null),first:void 0,last:void 0,size:0}),k||(e.size=0),null!=i&&Io(i,e[r],{that:e,AS_ENTRIES:n})})),o=i.prototype,a=Vo(t),s=function(e,t,n){var r,i,o=a(e),s=l(e,t);return s?s.value=n:(o.last=s={index:i=zo(t,!0),key:t,value:n,previous:r=o.last,next:void 0,removed:!1},o.first||(o.first=s),r&&(r.next=s),k?o.size++:e.size++,"F"!==i&&(o.index[i]=s)),e},l=function(e,t){var n,r=a(e),i=zo(t);if("F"!==i)return r.index[i];for(n=r.first;n;n=n.next)if(n.key==t)return n};return Do(o,{clear:function(){for(var e=a(this),t=e.index,n=e.first;n;)n.removed=!0,n.previous&&(n.previous=n.previous.next=void 0),delete t[n.index],n=n.next;e.first=e.last=void 0,k?e.size=0:this.size=0},delete:function(e){var t=this,n=a(t),r=l(t,e);if(r){var i=r.next,o=r.previous;delete n.index[r.index],r.removed=!0,o&&(o.next=i),i&&(i.previous=o),n.first==r&&(n.first=i),n.last==r&&(n.last=o),k?n.size--:t.size--}return!!r},forEach:function(e){for(var t,n=a(this),r=ir(e,arguments.length>1?arguments[1]:void 0);t=t?t.next:n.first;)for(r(t.value,t.key,this);t&&t.removed;)t=t.previous},has:function(e){return!!l(this,e)}}),Do(o,n?{get:function(e){var t=l(this,e);return t&&t.value},set:function(e,t){return s(this,0===e?0:e,t)}}:{add:function(e){return s(this,e=0===e?0:e,e)}}),k&&Fo(o,"size",{get:function(){return a(this).size}}),i},setStrong:function(e,t,n){var r=t+" Iterator",i=Vo(t),o=Vo(r);ki(e,t,(function(e,t){Bo(this,{type:r,target:e,state:i(e),kind:t,last:void 0})}),(function(){for(var e=o(this),t=e.kind,n=e.last;n&&n.removed;)n=n.previous;return e.target&&(e.last=n=n?n.next:e.state.first)?"keys"==t?{value:n.key,done:!1}:"values"==t?{value:n.value,done:!1}:{value:[n.key,n.value],done:!1}:(e.target=void 0,{value:void 0,done:!0})}),n?"entries":"values",!n,!0),function(e){var t=q(e),n=We.f;k&&t&&!t[Ao]&&n(t,Ao,{configurable:!0,get:function(){return this}})}(t)}};function Wo(e){var t=this.constructor;return this.then((function(n){return t.resolve(e()).then((function(){return n}))}),(function(n){return t.resolve(e()).then((function(){return t.reject(n)}))}))}function Ho(e){return new this((function(t,n){if(!e||void 0===e.length)return n(new TypeError(typeof e+" "+e+" is not iterable(cannot read property Symbol(Symbol.iterator))"));var r=Array.prototype.slice.call(e);if(0===r.length)return t([]);var i=r.length;function o(e,n){if(n&&("object"==typeof n||"function"==typeof n)){var a=n.then;if("function"==typeof a)return void a.call(n,(function(t){o(e,t)}),(function(n){r[e]={status:"rejected",reason:n},0==--i&&t(r)}))}r[e]={status:"fulfilled",value:n},0==--i&&t(r)}for(var a=0;a<r.length;a++)o(a,r[a])}))}!function(e,t,n){var r=-1!==e.indexOf("Map"),i=-1!==e.indexOf("Weak"),o=r?"set":"add",a=S[e],s=a&&a.prototype,l=a,c={},u=function(e){var t=M(s[e]);pt(s,e,"add"==e?function(e){return t(this,0===e?0:e),this}:"delete"==e?function(e){return!(i&&!Z(e))&&t(this,0===e?0:e)}:"get"==e?function(e){return i&&!Z(e)?void 0:t(this,0===e?0:e)}:"has"==e?function(e){return!(i&&!Z(e))&&t(this,0===e?0:e)}:function(e,n){return t(this,0===e?0:e,n),this})};if(Bt(e,!K(a)||!(i||s.forEach&&!E((function(){(new a).entries().next()})))))l=n.getConstructor(t,e,r,o),Po.enable();else if(Bt(e,!0)){var d=new l,f=d[o](i?{}:-0,1)!=d,p=E((function(){d.has(1)})),h=Ui((function(e){new a(e)})),v=!i&&E((function(){for(var e=new a,t=5;t--;)e[o](t,t);return!e.has(-0)}));h||((l=t((function(e,t){Mo(e,s);var n=function(e,t,n){var r,i;return gi&&K(r=t.constructor)&&r!==n&&Z(i=r.prototype)&&i!==n.prototype&&gi(e,i),e}(new a,e,l);return null!=t&&Io(t,n[o],{that:n,AS_ENTRIES:r}),n}))).prototype=s,s.constructor=l),(p||v)&&(u("delete"),u("has"),r&&u("get")),(v||f)&&u(o),i&&s.clear&&delete s.clear}c[e]=l,Ut({global:!0,forced:l!=a},c),nr(l,e),i||n.setStrong(l,e,r)}("Set",(function(e){return function(){return e(this,arguments.length?arguments[0]:void 0)}}),Uo),Yn.Set;var Ko=setTimeout,Zo="undefined"!=typeof setImmediate?setImmediate:null;function Go(e){return Boolean(e&&void 0!==e.length)}function qo(){}function Xo(e){if(!(this instanceof Xo))throw new TypeError("Promises must be constructed via new");if("function"!=typeof e)throw new TypeError("not a function");this._state=0,this._handled=!1,this._value=void 0,this._deferreds=[],ta(e,this)}function $o(e,t){for(;3===e._state;)e=e._value;0!==e._state?(e._handled=!0,Xo._immediateFn((function(){var n=1===e._state?t.onFulfilled:t.onRejected;if(null!==n){var r;try{r=n(e._value)}catch(e){return void Jo(t.promise,e)}Yo(t.promise,r)}else(1===e._state?Yo:Jo)(t.promise,e._value)}))):e._deferreds.push(t)}function Yo(e,t){try{if(t===e)throw new TypeError("A promise cannot be resolved with itself.");if(t&&("object"==typeof t||"function"==typeof t)){var n=t.then;if(t instanceof Xo)return e._state=3,e._value=t,void Qo(e);if("function"==typeof n)return void ta((r=n,i=t,function(){r.apply(i,arguments)}),e)}e._state=1,e._value=t,Qo(e)}catch(t){Jo(e,t)}var r,i}function Jo(e,t){e._state=2,e._value=t,Qo(e)}function Qo(e){2===e._state&&0===e._deferreds.length&&Xo._immediateFn((function(){e._handled||Xo._unhandledRejectionFn(e._value)}));for(var t=0,n=e._deferreds.length;t<n;t++)$o(e,e._deferreds[t]);e._deferreds=null}function ea(e,t,n){this.onFulfilled="function"==typeof e?e:null,this.onRejected="function"==typeof t?t:null,this.promise=n}function ta(e,t){var n=!1;try{e((function(e){n||(n=!0,Yo(t,e))}),(function(e){n||(n=!0,Jo(t,e))}))}catch(e){if(n)return;n=!0,Jo(t,e)}}Xo.prototype.catch=function(e){return this.then(null,e)},Xo.prototype.then=function(e,t){var n=new this.constructor(qo);return $o(this,new ea(e,t,n)),n},Xo.prototype.finally=Wo,Xo.all=function(e){return new Xo((function(t,n){if(!Go(e))return n(new TypeError("Promise.all accepts an array"));var r=Array.prototype.slice.call(e);if(0===r.length)return t([]);var i=r.length;function o(e,a){try{if(a&&("object"==typeof a||"function"==typeof a)){var s=a.then;if("function"==typeof s)return void s.call(a,(function(t){o(e,t)}),n)}r[e]=a,0==--i&&t(r)}catch(e){n(e)}}for(var a=0;a<r.length;a++)o(a,r[a])}))},Xo.allSettled=Ho,Xo.resolve=function(e){return e&&"object"==typeof e&&e.constructor===Xo?e:new Xo((function(t){t(e)}))},Xo.reject=function(e){return new Xo((function(t,n){n(e)}))},Xo.race=function(e){return new Xo((function(t,n){if(!Go(e))return n(new TypeError("Promise.race accepts an array"));for(var r=0,i=e.length;r<i;r++)Xo.resolve(e[r]).then(t,n)}))},Xo._immediateFn="function"==typeof Zo&&function(e){Zo(e)}||function(e){Ko(e,0)},Xo._unhandledRejectionFn=function(e){"undefined"!=typeof console&&console&&console.warn("Possible Unhandled Promise Rejection:",e)};var na=function(){if("undefined"!=typeof self)return self;if("undefined"!=typeof window)return window;if("undefined"!=typeof n.g)return n.g;throw new Error("unable to locate global object")}();"function"!=typeof na.Promise?na.Promise=Xo:(na.Promise.prototype.finally||(na.Promise.prototype.finally=Wo),na.Promise.allSettled||(na.Promise.allSettled=Ho)),function(e){function t(){}function n(e,t){if(e=void 0===e?"utf-8":e,t=void 0===t?{fatal:!1}:t,-1===i.indexOf(e.toLowerCase()))throw new RangeError("Failed to construct 'TextDecoder': The encoding label provided ('"+e+"') is invalid.");if(t.fatal)throw Error("Failed to construct 'TextDecoder': the 'fatal' option is unsupported.")}function r(e){for(var t=0,n=Math.min(65536,e.length+1),r=new Uint16Array(n),i=[],o=0;;){var a=t<e.length;if(!a||o>=n-1){if(i.push(String.fromCharCode.apply(null,r.subarray(0,o))),!a)return i.join("");e=e.subarray(t),o=t=0}if(0==(128&(a=e[t++])))r[o++]=a;else if(192==(224&a)){var s=63&e[t++];r[o++]=(31&a)<<6|s}else if(224==(240&a)){s=63&e[t++];var l=63&e[t++];r[o++]=(31&a)<<12|s<<6|l}else 240==(248&a)&&(65535<(a=(7&a)<<18|(s=63&e[t++])<<12|(l=63&e[t++])<<6|63&e[t++])&&(a-=65536,r[o++]=a>>>10&1023|55296,a=56320|1023&a),r[o++]=a)}}if(e.TextEncoder&&e.TextDecoder)return!1;var i=["utf-8","utf8","unicode-1-1-utf-8"];Object.defineProperty(t.prototype,"encoding",{value:"utf-8"}),t.prototype.encode=function(e,t){if((t=void 0===t?{stream:!1}:t).stream)throw Error("Failed to encode: the 'stream' option is unsupported.");t=0;for(var n=e.length,r=0,i=Math.max(32,n+(n>>>1)+7),o=new Uint8Array(i>>>3<<3);t<n;){var a=e.charCodeAt(t++);if(55296<=a&&56319>=a){if(t<n){var s=e.charCodeAt(t);56320==(64512&s)&&(++t,a=((1023&a)<<10)+(1023&s)+65536)}if(55296<=a&&56319>=a)continue}if(r+4>o.length&&(i+=8,i=(i*=1+t/e.length*2)>>>3<<3,(s=new Uint8Array(i)).set(o),o=s),0==(4294967168&a))o[r++]=a;else{if(0==(4294965248&a))o[r++]=a>>>6&31|192;else if(0==(4294901760&a))o[r++]=a>>>12&15|224,o[r++]=a>>>6&63|128;else{if(0!=(4292870144&a))continue;o[r++]=a>>>18&7|240,o[r++]=a>>>12&63|128,o[r++]=a>>>6&63|128}o[r++]=63&a|128}}return o.slice?o.slice(0,r):o.subarray(0,r)},Object.defineProperty(n.prototype,"encoding",{value:"utf-8"}),Object.defineProperty(n.prototype,"fatal",{value:!1}),Object.defineProperty(n.prototype,"ignoreBOM",{value:!1});var o=r;"function"==typeof Buffer&&Buffer.from?o=function(e){return Buffer.from(e.buffer,e.byteOffset,e.byteLength).toString("utf-8")}:"function"==typeof Blob&&"function"==typeof URL&&"function"==typeof URL.createObjectURL&&(o=function(e){var t=URL.createObjectURL(new Blob([e],{type:"text/plain;charset=UTF-8"}));try{var n=new XMLHttpRequest;return n.open("GET",t,!1),n.send(),n.responseText}catch(t){return r(e)}finally{URL.revokeObjectURL(t)}}),n.prototype.decode=function(e,t){if((t=void 0===t?{stream:!1}:t).stream)throw Error("Failed to decode: the 'stream' option is unsupported.");return e=e instanceof Uint8Array?e:e.buffer instanceof ArrayBuffer?new Uint8Array(e.buffer):new Uint8Array(e),o(e)},e.TextEncoder=t,e.TextDecoder=n}("undefined"!=typeof window?window:m),function(){function e(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function t(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function n(e,n,r){return n&&t(e.prototype,n),r&&t(e,r),e}function r(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&o(e,t)}function i(e){return(i=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function o(e,t){return(o=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function a(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function s(e,t){return!t||"object"!=typeof t&&"function"!=typeof t?a(e):t}function l(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=i(e);if(t){var o=i(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return s(this,n)}}function c(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&null!==(e=i(e)););return e}function u(e,t,n){return(u="undefined"!=typeof Reflect&&Reflect.get?Reflect.get:function(e,t,n){var r=c(e,t);if(r){var i=Object.getOwnPropertyDescriptor(r,t);return i.get?i.get.call(n):i.value}})(e,t,n||e)}var d=function(){function t(){e(this,t),Object.defineProperty(this,"listeners",{value:{},writable:!0,configurable:!0})}return n(t,[{key:"addEventListener",value:function(e,t,n){e in this.listeners||(this.listeners[e]=[]),this.listeners[e].push({callback:t,options:n})}},{key:"removeEventListener",value:function(e,t){if(e in this.listeners)for(var n=this.listeners[e],r=0,i=n.length;r<i;r++)if(n[r].callback===t)return void n.splice(r,1)}},{key:"dispatchEvent",value:function(e){if(e.type in this.listeners){for(var t=this.listeners[e.type].slice(),n=0,r=t.length;n<r;n++){var i=t[n];try{i.callback.call(this,e)}catch(e){Promise.resolve().then((function(){throw e}))}i.options&&i.options.once&&this.removeEventListener(e.type,i.callback)}return!e.defaultPrevented}}}]),t}(),f=function(t){r(s,t);var o=l(s);function s(){var t;return e(this,s),(t=o.call(this)).listeners||d.call(a(t)),Object.defineProperty(a(t),"aborted",{value:!1,writable:!0,configurable:!0}),Object.defineProperty(a(t),"onabort",{value:null,writable:!0,configurable:!0}),t}return n(s,[{key:"toString",value:function(){return"[object AbortSignal]"}},{key:"dispatchEvent",value:function(e){"abort"===e.type&&(this.aborted=!0,"function"==typeof this.onabort&&this.onabort.call(this,e)),u(i(s.prototype),"dispatchEvent",this).call(this,e)}}]),s}(d),p=function(){function t(){e(this,t),Object.defineProperty(this,"signal",{value:new f,writable:!0,configurable:!0})}return n(t,[{key:"abort",value:function(){var e;try{e=new Event("abort")}catch(t){"undefined"!=typeof document?document.createEvent?(e=document.createEvent("Event")).initEvent("abort",!1,!1):(e=document.createEventObject()).type="abort":e={type:"abort",bubbles:!1,cancelable:!1}}this.signal.dispatchEvent(e)}},{key:"toString",value:function(){return"[object AbortController]"}}]),t}();"undefined"!=typeof Symbol&&Symbol.toStringTag&&(p.prototype[Symbol.toStringTag]="AbortController",f.prototype[Symbol.toStringTag]="AbortSignal"),function(e){(function(e){return e.__FORCE_INSTALL_ABORTCONTROLLER_POLYFILL?(console.log("__FORCE_INSTALL_ABORTCONTROLLER_POLYFILL=true is set, will force install polyfill"),!0):"function"==typeof e.Request&&!e.Request.prototype.hasOwnProperty("signal")||!e.AbortController})(e)&&(e.AbortController=p,e.AbortSignal=f)}("undefined"!=typeof self?self:m)}();var ra=y((function(e,t){Object.defineProperty(t,"__esModule",{value:!0});var n=function(){function e(){var e=this;this.locked=new Map,this.addToLocked=function(t,n){var r=e.locked.get(t);void 0===r?void 0===n?e.locked.set(t,[]):e.locked.set(t,[n]):void 0!==n&&(r.unshift(n),e.locked.set(t,r))},this.isLocked=function(t){return e.locked.has(t)},this.lock=function(t){return new Promise((function(n,r){e.isLocked(t)?e.addToLocked(t,n):(e.addToLocked(t),n())}))},this.unlock=function(t){var n=e.locked.get(t);if(void 0!==n&&0!==n.length){var r=n.pop();e.locked.set(t,n),void 0!==r&&setTimeout(r,0)}else e.locked.delete(t)}}return e.getInstance=function(){return void 0===e.instance&&(e.instance=new e),e.instance},e}();t.default=function(){return n.getInstance()}}));g(ra);var ia=g(y((function(e,t){var n=m&&m.__awaiter||function(e,t,n,r){return new(n||(n=Promise))((function(i,o){function a(e){try{l(r.next(e))}catch(e){o(e)}}function s(e){try{l(r.throw(e))}catch(e){o(e)}}function l(e){e.done?i(e.value):new n((function(t){t(e.value)})).then(a,s)}l((r=r.apply(e,t||[])).next())}))},r=m&&m.__generator||function(e,t){var n,r,i,o,a={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]};return o={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function s(o){return function(s){return function(o){if(n)throw new TypeError("Generator is already executing.");for(;a;)try{if(n=1,r&&(i=2&o[0]?r.return:o[0]?r.throw||((i=r.return)&&i.call(r),0):r.next)&&!(i=i.call(r,o[1])).done)return i;switch(r=0,i&&(o=[2&o[0],i.value]),o[0]){case 0:case 1:i=o;break;case 4:return a.label++,{value:o[1],done:!1};case 5:a.label++,r=o[1],o=[0];continue;case 7:o=a.ops.pop(),a.trys.pop();continue;default:if(!((i=(i=a.trys).length>0&&i[i.length-1])||6!==o[0]&&2!==o[0])){a=0;continue}if(3===o[0]&&(!i||o[1]>i[0]&&o[1]<i[3])){a.label=o[1];break}if(6===o[0]&&a.label<i[1]){a.label=i[1],i=o;break}if(i&&a.label<i[2]){a.label=i[2],a.ops.push(o);break}i[2]&&a.ops.pop(),a.trys.pop();continue}o=t.call(e,a)}catch(e){o=[6,e],r=0}finally{n=i=0}if(5&o[0])throw o[1];return{value:o[0]?o[1]:void 0,done:!0}}([o,s])}}};Object.defineProperty(t,"__esModule",{value:!0});var i="browser-tabs-lock-key";function o(e){return new Promise((function(t){return setTimeout(t,e)}))}function a(e){for(var t="0123456789ABCDEFGHIJKLMNOPQRSTUVWXTZabcdefghiklmnopqrstuvwxyz",n="",r=0;r<e;r++)n+=t[Math.floor(Math.random()*t.length)];return n}var s=function(){function e(){this.acquiredIatSet=new Set,this.id=Date.now().toString()+a(15),this.acquireLock=this.acquireLock.bind(this),this.releaseLock=this.releaseLock.bind(this),this.releaseLock__private__=this.releaseLock__private__.bind(this),this.waitForSomethingToChange=this.waitForSomethingToChange.bind(this),this.refreshLockWhileAcquired=this.refreshLockWhileAcquired.bind(this),void 0===e.waiters&&(e.waiters=[])}return e.prototype.acquireLock=function(t,s){return void 0===s&&(s=5e3),n(this,void 0,void 0,(function(){var n,l,c,u,d,f;return r(this,(function(r){switch(r.label){case 0:n=Date.now()+a(4),l=Date.now()+s,c=i+"-"+t,u=window.localStorage,r.label=1;case 1:return Date.now()<l?[4,o(30)]:[3,8];case 2:return r.sent(),null!==u.getItem(c)?[3,5]:(d=this.id+"-"+t+"-"+n,[4,o(Math.floor(25*Math.random()))]);case 3:return r.sent(),u.setItem(c,JSON.stringify({id:this.id,iat:n,timeoutKey:d,timeAcquired:Date.now(),timeRefreshed:Date.now()})),[4,o(30)];case 4:return r.sent(),null!==(f=u.getItem(c))&&(f=JSON.parse(f)).id===this.id&&f.iat===n?(this.acquiredIatSet.add(n),this.refreshLockWhileAcquired(c,n),[2,!0]):[3,7];case 5:return e.lockCorrector(),[4,this.waitForSomethingToChange(l)];case 6:r.sent(),r.label=7;case 7:return n=Date.now()+a(4),[3,1];case 8:return[2,!1]}}))}))},e.prototype.refreshLockWhileAcquired=function(e,t){return n(this,void 0,void 0,(function(){var i=this;return r(this,(function(o){return setTimeout((function(){return n(i,void 0,void 0,(function(){var n,i;return r(this,(function(r){switch(r.label){case 0:return[4,ra.default().lock(t)];case 1:return r.sent(),this.acquiredIatSet.has(t)?(n=window.localStorage,null===(i=n.getItem(e))?(ra.default().unlock(t),[2]):((i=JSON.parse(i)).timeRefreshed=Date.now(),n.setItem(e,JSON.stringify(i)),ra.default().unlock(t),this.refreshLockWhileAcquired(e,t),[2])):(ra.default().unlock(t),[2])}}))}))}),1e3),[2]}))}))},e.prototype.waitForSomethingToChange=function(t){return n(this,void 0,void 0,(function(){return r(this,(function(n){switch(n.label){case 0:return[4,new Promise((function(n){var r=!1,i=Date.now(),o=!1;function a(){if(o||(window.removeEventListener("storage",a),e.removeFromWaiting(a),clearTimeout(s),o=!0),!r){r=!0;var t=50-(Date.now()-i);t>0?setTimeout(n,t):n()}}window.addEventListener("storage",a),e.addToWaiting(a);var s=setTimeout(a,Math.max(0,t-Date.now()))}))];case 1:return n.sent(),[2]}}))}))},e.addToWaiting=function(t){this.removeFromWaiting(t),void 0!==e.waiters&&e.waiters.push(t)},e.removeFromWaiting=function(t){void 0!==e.waiters&&(e.waiters=e.waiters.filter((function(e){return e!==t})))},e.notifyWaiters=function(){void 0!==e.waiters&&e.waiters.slice().forEach((function(e){return e()}))},e.prototype.releaseLock=function(e){return n(this,void 0,void 0,(function(){return r(this,(function(t){switch(t.label){case 0:return[4,this.releaseLock__private__(e)];case 1:return[2,t.sent()]}}))}))},e.prototype.releaseLock__private__=function(t){return n(this,void 0,void 0,(function(){var n,o,a;return r(this,(function(r){switch(r.label){case 0:return n=window.localStorage,o=i+"-"+t,null===(a=n.getItem(o))?[2]:(a=JSON.parse(a)).id!==this.id?[3,2]:[4,ra.default().lock(a.iat)];case 1:r.sent(),this.acquiredIatSet.delete(a.iat),n.removeItem(o),ra.default().unlock(a.iat),e.notifyWaiters(),r.label=2;case 2:return[2]}}))}))},e.lockCorrector=function(){for(var t=Date.now()-5e3,n=window.localStorage,r=Object.keys(n),o=!1,a=0;a<r.length;a++){var s=r[a];if(s.includes(i)){var l=n.getItem(s);null!==l&&(void 0===(l=JSON.parse(l)).timeRefreshed&&l.timeAcquired<t||void 0!==l.timeRefreshed&&l.timeRefreshed<t)&&(n.removeItem(s),o=!0)}}o&&e.notifyWaiters()},e.waiters=void 0,e}();t.default=s}))),oa={timeoutInSeconds:60},aa=["login_required","consent_required","interaction_required","account_selection_required","access_denied"],sa={name:"auth0-spa-js",version:"1.19.3"},la=function(){return Date.now()},ca=function(e){function t(n,r){var i=e.call(this,r)||this;return i.error=n,i.error_description=r,Object.setPrototypeOf(i,t.prototype),i}return c(t,e),t.fromPayload=function(e){return new t(e.error,e.error_description)},t}(Error),ua=function(e){function t(n,r,i,o){void 0===o&&(o=null);var a=e.call(this,n,r)||this;return a.state=i,a.appState=o,Object.setPrototypeOf(a,t.prototype),a}return c(t,e),t}(ca),da=function(e){function t(){var n=e.call(this,"timeout","Timeout")||this;return Object.setPrototypeOf(n,t.prototype),n}return c(t,e),t}(ca),fa=function(e){function t(n){var r=e.call(this)||this;return r.popup=n,Object.setPrototypeOf(r,t.prototype),r}return c(t,e),t}(da),pa=function(e){function t(n){var r=e.call(this,"cancelled","Popup closed")||this;return r.popup=n,Object.setPrototypeOf(r,t.prototype),r}return c(t,e),t}(ca),ha=function(e){function t(n,r,i){var o=e.call(this,n,r)||this;return o.mfa_token=i,Object.setPrototypeOf(o,t.prototype),o}return c(t,e),t}(ca),va=function(e){return new Promise((function(t,n){var r,i=setInterval((function(){e.popup&&e.popup.closed&&(clearInterval(i),clearTimeout(o),window.removeEventListener("message",r,!1),n(new pa(e.popup)))}),1e3),o=setTimeout((function(){clearInterval(i),n(new fa(e.popup)),window.removeEventListener("message",r,!1)}),1e3*(e.timeoutInSeconds||60));r=function(a){if(a.data&&"authorization_response"===a.data.type){if(clearTimeout(o),clearInterval(i),window.removeEventListener("message",r,!1),e.popup.close(),a.data.response.error)return n(ca.fromPayload(a.data.response));t(a.data.response)}},window.addEventListener("message",r)}))},ma=function(){return window.crypto||window.msCrypto},ga=function(){var e=ma();return e.subtle||e.webkitSubtle},ya=function(){var e="0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz-_~.",t="";return Array.from(ma().getRandomValues(new Uint8Array(43))).forEach((function(n){return t+=e[n%e.length]})),t},ba=function(e){return btoa(e)},wa=function(e){return Object.keys(e).filter((function(t){return void 0!==e[t]})).map((function(t){return encodeURIComponent(t)+"="+encodeURIComponent(e[t])})).join("&")},xa=function(e){return f(void 0,void 0,void 0,(function(){var t;return p(this,(function(n){switch(n.label){case 0:return t=ga().digest({name:"SHA-256"},(new TextEncoder).encode(e)),window.msCrypto?[2,new Promise((function(e,n){t.oncomplete=function(t){e(t.target.result)},t.onerror=function(e){n(e.error)},t.onabort=function(){n("The digest operation was aborted")}}))]:[4,t];case 1:return[2,n.sent()]}}))}))},Sa=function(e){return function(e){return decodeURIComponent(atob(e).split("").map((function(e){return"%"+("00"+e.charCodeAt(0).toString(16)).slice(-2)})).join(""))}(e.replace(/_/g,"/").replace(/-/g,"+"))},Ea=function(e){var t=new Uint8Array(e);return function(e){var t={"+":"-","/":"_","=":""};return e.replace(/[+/=]/g,(function(e){return t[e]}))}(window.btoa(String.fromCharCode.apply(String,v([],h(Array.from(t)),!1))))},ka=function(e,t){return f(void 0,void 0,void 0,(function(){var n,r;return p(this,(function(i){switch(i.label){case 0:return[4,(o=e,a=t,a=a||{},new Promise((function(e,t){var n=new XMLHttpRequest,r=[],i=[],s={},l=function e(){return{ok:2==(n.status/100|0),statusText:n.statusText,status:n.status,url:n.responseURL,text:function(){return Promise.resolve(n.responseText)},json:function(){return Promise.resolve(n.responseText).then(JSON.parse)},blob:function(){return Promise.resolve(new Blob([n.response]))},clone:e,headers:{keys:function(){return r},entries:function(){return i},get:function(e){return s[e.toLowerCase()]},has:function(e){return e.toLowerCase()in s}}}};for(var c in n.open(a.method||"get",o,!0),n.onload=function(){n.getAllResponseHeaders().replace(/^(.*?):[^\S\n]*([\s\S]*?)$/gm,(function(e,t,n){r.push(t=t.toLowerCase()),i.push([t,n]),s[t]=s[t]?s[t]+","+n:n})),e(l())},n.onerror=t,n.withCredentials="include"==a.credentials,a.headers)n.setRequestHeader(c,a.headers[c]);n.send(a.body||null)})))];case 1:return n=i.sent(),r={ok:n.ok},[4,n.json()];case 2:return[2,(r.json=i.sent(),r)]}var o,a}))}))},Ca=function(e,t,n){return f(void 0,void 0,void 0,(function(){var r,i;return p(this,(function(o){return r=new AbortController,t.signal=r.signal,[2,Promise.race([ka(e,t),new Promise((function(e,t){i=setTimeout((function(){r.abort(),t(new Error("Timeout when executing 'fetch'"))}),n)}))]).finally((function(){clearTimeout(i)}))]}))}))},Oa=function(e,t,n,r,i,o,a){return f(void 0,void 0,void 0,(function(){return p(this,(function(s){return[2,(l={auth:{audience:t,scope:n},timeout:i,fetchUrl:e,fetchOptions:r,useFormData:a},c=o,new Promise((function(e,t){var n=new MessageChannel;n.port1.onmessage=function(n){n.data.error?t(new Error(n.data.error)):e(n.data)},c.postMessage(l,[n.port2])})))];var l,c}))}))},ja=function(e,t,n,r,i,o,a){return void 0===a&&(a=1e4),f(void 0,void 0,void 0,(function(){return p(this,(function(s){return i?[2,Oa(e,t,n,r,a,i,o)]:[2,Ca(e,r,a)]}))}))};function Ta(e,t,n,r,i,o,a){return f(this,void 0,void 0,(function(){var s,l,c,u,f,h,v,m,g;return p(this,(function(p){switch(p.label){case 0:s=null,c=0,p.label=1;case 1:if(!(c<3))return[3,6];p.label=2;case 2:return p.trys.push([2,4,,5]),[4,ja(e,n,r,i,o,a,t)];case 3:return l=p.sent(),s=null,[3,6];case 4:return u=p.sent(),s=u,[3,5];case 5:return c++,[3,1];case 6:if(s)throw s.message=s.message||"Failed to fetch",s;if(f=l.json,h=f.error,v=f.error_description,m=d(f,["error","error_description"]),!l.ok){if(g=v||"HTTP error. Unable to fetch "+e,"mfa_required"===h)throw new ha(h,g,m.mfa_token);throw new ca(h||"request_error",g)}return[2,m]}}))}))}function Pa(e,t){var n=e.baseUrl,r=e.timeout,i=e.audience,o=e.scope,a=e.auth0Client,s=e.useFormData,l=d(e,["baseUrl","timeout","audience","scope","auth0Client","useFormData"]);return f(this,void 0,void 0,(function(){var e;return p(this,(function(c){switch(c.label){case 0:return e=s?wa(l):JSON.stringify(l),[4,Ta(n+"/oauth/token",r,i||"default",o,{method:"POST",body:e,headers:{"Content-Type":s?"application/x-www-form-urlencoded":"application/json","Auth0-Client":btoa(JSON.stringify(a||sa))}},t,s)];case 1:return[2,c.sent()]}}))}))}var Na=function(e){return Array.from(new Set(e))},_a=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return Na(e.join(" ").trim().split(/\s+/)).join(" ")},Ra=function(){function e(e,t){void 0===t&&(t="@@auth0spajs@@"),this.prefix=t,this.client_id=e.client_id,this.scope=e.scope,this.audience=e.audience}return e.prototype.toKey=function(){return this.prefix+"::"+this.client_id+"::"+this.audience+"::"+this.scope},e.fromKey=function(t){var n=h(t.split("::"),4),r=n[0],i=n[1],o=n[2];return new e({client_id:i,scope:n[3],audience:o},r)},e.fromCacheEntry=function(t){return new e({scope:t.scope,audience:t.audience,client_id:t.client_id})},e}(),Ia=function(){function e(){}return e.prototype.set=function(e,t){localStorage.setItem(e,JSON.stringify(t))},e.prototype.get=function(e){var t=window.localStorage.getItem(e);if(t)try{return JSON.parse(t)}catch(e){return}},e.prototype.remove=function(e){localStorage.removeItem(e)},e.prototype.allKeys=function(){return Object.keys(window.localStorage).filter((function(e){return e.startsWith("@@auth0spajs@@")}))},e}(),La=function(){var e;this.enclosedCache=(e={},{set:function(t,n){e[t]=n},get:function(t){var n=e[t];if(n)return n},remove:function(t){delete e[t]},allKeys:function(){return Object.keys(e)}})},Ma=function(){function e(e,t,n){this.cache=e,this.keyManifest=t,this.nowProvider=n,this.nowProvider=this.nowProvider||la}return e.prototype.get=function(e,t){var n;return void 0===t&&(t=0),f(this,void 0,void 0,(function(){var r,i,o,a,s;return p(this,(function(l){switch(l.label){case 0:return[4,this.cache.get(e.toKey())];case 1:return(r=l.sent())?[3,4]:[4,this.getCacheKeys()];case 2:return(i=l.sent())?(o=this.matchExistingCacheKey(e,i),[4,this.cache.get(o)]):[2];case 3:r=l.sent(),l.label=4;case 4:return r?[4,this.nowProvider()]:[2];case 5:return a=l.sent(),s=Math.floor(a/1e3),r.expiresAt-t<s?r.body.refresh_token?(r.body={refresh_token:r.body.refresh_token},[4,this.cache.set(e.toKey(),r)]):[3,7]:[3,10];case 6:return l.sent(),[2,r.body];case 7:return[4,this.cache.remove(e.toKey())];case 8:return l.sent(),[4,null===(n=this.keyManifest)||void 0===n?void 0:n.remove(e.toKey())];case 9:return l.sent(),[2];case 10:return[2,r.body]}}))}))},e.prototype.set=function(e){var t;return f(this,void 0,void 0,(function(){var n,r;return p(this,(function(i){switch(i.label){case 0:return n=new Ra({client_id:e.client_id,scope:e.scope,audience:e.audience}),[4,this.wrapCacheEntry(e)];case 1:return r=i.sent(),[4,this.cache.set(n.toKey(),r)];case 2:return i.sent(),[4,null===(t=this.keyManifest)||void 0===t?void 0:t.add(n.toKey())];case 3:return i.sent(),[2]}}))}))},e.prototype.clear=function(e){var t;return f(this,void 0,void 0,(function(){var n,r=this;return p(this,(function(i){switch(i.label){case 0:return[4,this.getCacheKeys()];case 1:return(n=i.sent())?[4,n.filter((function(t){return!e||t.includes(e)})).reduce((function(e,t){return f(r,void 0,void 0,(function(){return p(this,(function(n){switch(n.label){case 0:return[4,e];case 1:return n.sent(),[4,this.cache.remove(t)];case 2:return n.sent(),[2]}}))}))}),Promise.resolve())]:[2];case 2:return i.sent(),[4,null===(t=this.keyManifest)||void 0===t?void 0:t.clear()];case 3:return i.sent(),[2]}}))}))},e.prototype.clearSync=function(e){var t=this,n=this.cache.allKeys();n&&n.filter((function(t){return!e||t.includes(e)})).forEach((function(e){t.cache.remove(e)}))},e.prototype.wrapCacheEntry=function(e){return f(this,void 0,void 0,(function(){var t,n,r;return p(this,(function(i){switch(i.label){case 0:return[4,this.nowProvider()];case 1:return t=i.sent(),n=Math.floor(t/1e3)+e.expires_in,r=Math.min(n,e.decodedToken.claims.exp),[2,{body:e,expiresAt:r}]}}))}))},e.prototype.getCacheKeys=function(){var e;return f(this,void 0,void 0,(function(){var t;return p(this,(function(n){switch(n.label){case 0:return this.keyManifest?[4,this.keyManifest.get()]:[3,2];case 1:return t=null===(e=n.sent())||void 0===e?void 0:e.keys,[3,4];case 2:return[4,this.cache.allKeys()];case 3:t=n.sent(),n.label=4;case 4:return[2,t]}}))}))},e.prototype.matchExistingCacheKey=function(e,t){return t.filter((function(t){var n=Ra.fromKey(t),r=new Set(n.scope&&n.scope.split(" ")),i=e.scope.split(" "),o=n.scope&&i.reduce((function(e,t){return e&&r.has(t)}),!0);return"@@auth0spajs@@"===n.prefix&&n.client_id===e.client_id&&n.audience===e.audience&&o}))[0]},e}(),Da=function(){function e(e,t){this.storage=e,this.clientId=t,this.storageKey="a0.spajs.txs."+this.clientId,this.transaction=this.storage.get(this.storageKey)}return e.prototype.create=function(e){this.transaction=e,this.storage.save(this.storageKey,e,{daysUntilExpire:1})},e.prototype.get=function(){return this.transaction},e.prototype.remove=function(){delete this.transaction,this.storage.remove(this.storageKey)},e}(),Aa=function(e){return"number"==typeof e},Fa=["iss","aud","exp","nbf","iat","jti","azp","nonce","auth_time","at_hash","c_hash","acr","amr","sub_jwk","cnf","sip_from_tag","sip_date","sip_callid","sip_cseq_num","sip_via_branch","orig","dest","mky","events","toe","txn","rph","sid","vot","vtm"],za=function(e){if(!e.id_token)throw new Error("ID token is required but missing");var t=function(e){var t=e.split("."),n=h(t,3),r=n[0],i=n[1],o=n[2];if(3!==t.length||!r||!i||!o)throw new Error("ID token could not be decoded");var a=JSON.parse(Sa(i)),s={__raw:e},l={};return Object.keys(a).forEach((function(e){s[e]=a[e],Fa.includes(e)||(l[e]=a[e])})),{encoded:{header:r,payload:i,signature:o},header:JSON.parse(Sa(r)),claims:s,user:l}}(e.id_token);if(!t.claims.iss)throw new Error("Issuer (iss) claim must be a string present in the ID token");if(t.claims.iss!==e.iss)throw new Error('Issuer (iss) claim mismatch in the ID token; expected "'+e.iss+'", found "'+t.claims.iss+'"');if(!t.user.sub)throw new Error("Subject (sub) claim must be a string present in the ID token");if("RS256"!==t.header.alg)throw new Error('Signature algorithm of "'+t.header.alg+'" is not supported. Expected the ID token to be signed with "RS256".');if(!t.claims.aud||"string"!=typeof t.claims.aud&&!Array.isArray(t.claims.aud))throw new Error("Audience (aud) claim must be a string or array of strings present in the ID token");if(Array.isArray(t.claims.aud)){if(!t.claims.aud.includes(e.aud))throw new Error('Audience (aud) claim mismatch in the ID token; expected "'+e.aud+'" but was not one of "'+t.claims.aud.join(", ")+'"');if(t.claims.aud.length>1){if(!t.claims.azp)throw new Error("Authorized Party (azp) claim must be a string present in the ID token when Audience (aud) claim has multiple values");if(t.claims.azp!==e.aud)throw new Error('Authorized Party (azp) claim mismatch in the ID token; expected "'+e.aud+'", found "'+t.claims.azp+'"')}}else if(t.claims.aud!==e.aud)throw new Error('Audience (aud) claim mismatch in the ID token; expected "'+e.aud+'" but found "'+t.claims.aud+'"');if(e.nonce){if(!t.claims.nonce)throw new Error("Nonce (nonce) claim must be a string present in the ID token");if(t.claims.nonce!==e.nonce)throw new Error('Nonce (nonce) claim mismatch in the ID token; expected "'+e.nonce+'", found "'+t.claims.nonce+'"')}if(e.max_age&&!Aa(t.claims.auth_time))throw new Error("Authentication Time (auth_time) claim must be a number present in the ID token when Max Age (max_age) is specified");if(!Aa(t.claims.exp))throw new Error("Expiration Time (exp) claim must be a number present in the ID token");if(!Aa(t.claims.iat))throw new Error("Issued At (iat) claim must be a number present in the ID token");var n=e.leeway||60,r=new Date(e.now||Date.now()),i=new Date(0),o=new Date(0),a=new Date(0);if(a.setUTCSeconds(parseInt(t.claims.auth_time)+e.max_age+n),i.setUTCSeconds(t.claims.exp+n),o.setUTCSeconds(t.claims.nbf-n),r>i)throw new Error("Expiration Time (exp) claim error in the ID token; current time ("+r+") is after expiration time ("+i+")");if(Aa(t.claims.nbf)&&r<o)throw new Error("Not Before time (nbf) claim in the ID token indicates that this token can't be used just yet. Currrent time ("+r+") is before "+o);if(Aa(t.claims.auth_time)&&r>a)throw new Error("Authentication Time (auth_time) claim in the ID token indicates that too much time has passed since the last end-user authentication. Currrent time ("+r+") is after last auth at "+a);if(e.organizationId){if(!t.claims.org_id)throw new Error("Organization ID (org_id) claim must be a string present in the ID token");if(e.organizationId!==t.claims.org_id)throw new Error('Organization ID (org_id) claim mismatch in the ID token; expected "'+e.organizationId+'", found "'+t.claims.org_id+'"')}return t},Ba=y((function(e,t){var n=m&&m.__assign||function(){return(n=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var i in t=arguments[n])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e}).apply(this,arguments)};function r(e,t){if(!t)return"";var n="; "+e;return!0===t?n:n+"="+t}function i(e,t,n){return encodeURIComponent(e).replace(/%(23|24|26|2B|5E|60|7C)/g,decodeURIComponent).replace(/\(/g,"%28").replace(/\)/g,"%29")+"="+encodeURIComponent(t).replace(/%(23|24|26|2B|3A|3C|3E|3D|2F|3F|40|5B|5D|5E|60|7B|7D|7C)/g,decodeURIComponent)+function(e){if("number"==typeof e.expires){var t=new Date;t.setMilliseconds(t.getMilliseconds()+864e5*e.expires),e.expires=t}return r("Expires",e.expires?e.expires.toUTCString():"")+r("Domain",e.domain)+r("Path",e.path)+r("Secure",e.secure)+r("SameSite",e.sameSite)}(n)}function o(e){for(var t={},n=e?e.split("; "):[],r=/(%[\dA-F]{2})+/gi,i=0;i<n.length;i++){var o=n[i].split("="),a=o.slice(1).join("=");'"'===a.charAt(0)&&(a=a.slice(1,-1));try{t[o[0].replace(r,decodeURIComponent)]=a.replace(r,decodeURIComponent)}catch(e){}}return t}function a(){return o(document.cookie)}function s(e,t,r){document.cookie=i(e,t,n({path:"/"},r))}t.__esModule=!0,t.encode=i,t.parse=o,t.getAll=a,t.get=function(e){return a()[e]},t.set=s,t.remove=function(e,t){s(e,"",n(n({},t),{expires:-1}))}}));g(Ba),Ba.encode,Ba.parse,Ba.getAll;var Va=Ba.get,Ua=Ba.set,Wa=Ba.remove,Ha={get:function(e){var t=Va(e);if(void 0!==t)return JSON.parse(t)},save:function(e,t,n){var r={};"https:"===window.location.protocol&&(r={secure:!0,sameSite:"none"}),(null==n?void 0:n.daysUntilExpire)&&(r.expires=n.daysUntilExpire),Ua(e,JSON.stringify(t),r)},remove:function(e){Wa(e)}},Ka={get:function(e){return Ha.get(e)||Ha.get("_legacy_"+e)},save:function(e,t,n){var r={};"https:"===window.location.protocol&&(r={secure:!0}),(null==n?void 0:n.daysUntilExpire)&&(r.expires=n.daysUntilExpire),Ua("_legacy_"+e,JSON.stringify(t),r),Ha.save(e,t,n)},remove:function(e){Ha.remove(e),Ha.remove("_legacy_"+e)}},Za={get:function(e){if("undefined"!=typeof sessionStorage){var t=sessionStorage.getItem(e);if(void 0!==t)return JSON.parse(t)}},save:function(e,t){sessionStorage.setItem(e,JSON.stringify(t))},remove:function(e){sessionStorage.removeItem(e)}};var Ga,qa=("Lyogcm9sbHVwLXBsdWdpbi13ZWItd29ya2VyLWxvYWRlciAqLwohZnVuY3Rpb24oKXsidXNlIHN0cmljdCI7Ci8qISAqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKgogICAgQ29weXJpZ2h0IChjKSBNaWNyb3NvZnQgQ29ycG9yYXRpb24uCgogICAgUGVybWlzc2lvbiB0byB1c2UsIGNvcHksIG1vZGlmeSwgYW5kL29yIGRpc3RyaWJ1dGUgdGhpcyBzb2Z0d2FyZSBmb3IgYW55CiAgICBwdXJwb3NlIHdpdGggb3Igd2l0aG91dCBmZWUgaXMgaGVyZWJ5IGdyYW50ZWQuCgogICAgVEhFIFNPRlRXQVJFIElTIFBST1ZJREVEICJBUyBJUyIgQU5EIFRIRSBBVVRIT1IgRElTQ0xBSU1TIEFMTCBXQVJSQU5USUVTIFdJVEgKICAgIFJFR0FSRCBUTyBUSElTIFNPRlRXQVJFIElOQ0xVRElORyBBTEwgSU1QTElFRCBXQVJSQU5USUVTIE9GIE1FUkNIQU5UQUJJTElUWQogICAgQU5EIEZJVE5FU1MuIElOIE5PIEVWRU5UIFNIQUxMIFRIRSBBVVRIT1IgQkUgTElBQkxFIEZPUiBBTlkgU1BFQ0lBTCwgRElSRUNULAogICAgSU5ESVJFQ1QsIE9SIENPTlNFUVVFTlRJQUwgREFNQUdFUyBPUiBBTlkgREFNQUdFUyBXSEFUU09FVkVSIFJFU1VMVElORyBGUk9NCiAgICBMT1NTIE9GIFVTRSwgREFUQSBPUiBQUk9GSVRTLCBXSEVUSEVSIElOIEFOIEFDVElPTiBPRiBDT05UUkFDVCwgTkVHTElHRU5DRSBPUgogICAgT1RIRVIgVE9SVElPVVMgQUNUSU9OLCBBUklTSU5HIE9VVCBPRiBPUiBJTiBDT05ORUNUSU9OIFdJVEggVEhFIFVTRSBPUgogICAgUEVSRk9STUFOQ0UgT0YgVEhJUyBTT0ZUV0FSRS4KICAgICoqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqICovdmFyIGU9ZnVuY3Rpb24oKXtyZXR1cm4oZT1PYmplY3QuYXNzaWdufHxmdW5jdGlvbihlKXtmb3IodmFyIHIsdD0xLG49YXJndW1lbnRzLmxlbmd0aDt0PG47dCsrKWZvcih2YXIgbyBpbiByPWFyZ3VtZW50c1t0XSlPYmplY3QucHJvdG90eXBlLmhhc093blByb3BlcnR5LmNhbGwocixvKSYmKGVbb109cltvXSk7cmV0dXJuIGV9KS5hcHBseSh0aGlzLGFyZ3VtZW50cyl9O2Z1bmN0aW9uIHIoZSxyLHQsbil7cmV0dXJuIG5ldyh0fHwodD1Qcm9taXNlKSkoKGZ1bmN0aW9uKG8sYSl7ZnVuY3Rpb24gcyhlKXt0cnl7dShuLm5leHQoZSkpfWNhdGNoKGUpe2EoZSl9fWZ1bmN0aW9uIGkoZSl7dHJ5e3Uobi50aHJvdyhlKSl9Y2F0Y2goZSl7YShlKX19ZnVuY3Rpb24gdShlKXt2YXIgcjtlLmRvbmU/byhlLnZhbHVlKToocj1lLnZhbHVlLHIgaW5zdGFuY2VvZiB0P3I6bmV3IHQoKGZ1bmN0aW9uKGUpe2Uocil9KSkpLnRoZW4ocyxpKX11KChuPW4uYXBwbHkoZSxyfHxbXSkpLm5leHQoKSl9KSl9ZnVuY3Rpb24gdChlLHIpe3ZhciB0LG4sbyxhLHM9e2xhYmVsOjAsc2VudDpmdW5jdGlvbigpe2lmKDEmb1swXSl0aHJvdyBvWzFdO3JldHVybiBvWzFdfSx0cnlzOltdLG9wczpbXX07cmV0dXJuIGE9e25leHQ6aSgwKSx0aHJvdzppKDEpLHJldHVybjppKDIpfSwiZnVuY3Rpb24iPT10eXBlb2YgU3ltYm9sJiYoYVtTeW1ib2wuaXRlcmF0b3JdPWZ1bmN0aW9uKCl7cmV0dXJuIHRoaXN9KSxhO2Z1bmN0aW9uIGkoYSl7cmV0dXJuIGZ1bmN0aW9uKGkpe3JldHVybiBmdW5jdGlvbihhKXtpZih0KXRocm93IG5ldyBUeXBlRXJyb3IoIkdlbmVyYXRvciBpcyBhbHJlYWR5IGV4ZWN1dGluZy4iKTtmb3IoO3M7KXRyeXtpZih0PTEsbiYmKG89MiZhWzBdP24ucmV0dXJuOmFbMF0/bi50aHJvd3x8KChvPW4ucmV0dXJuKSYmby5jYWxsKG4pLDApOm4ubmV4dCkmJiEobz1vLmNhbGwobixhWzFdKSkuZG9uZSlyZXR1cm4gbztzd2l0Y2gobj0wLG8mJihhPVsyJmFbMF0sby52YWx1ZV0pLGFbMF0pe2Nhc2UgMDpjYXNlIDE6bz1hO2JyZWFrO2Nhc2UgNDpyZXR1cm4gcy5sYWJlbCsrLHt2YWx1ZTphWzFdLGRvbmU6ITF9O2Nhc2UgNTpzLmxhYmVsKyssbj1hWzFdLGE9WzBdO2NvbnRpbnVlO2Nhc2UgNzphPXMub3BzLnBvcCgpLHMudHJ5cy5wb3AoKTtjb250aW51ZTtkZWZhdWx0OmlmKCEobz1zLnRyeXMsKG89by5sZW5ndGg+MCYmb1tvLmxlbmd0aC0xXSl8fDYhPT1hWzBdJiYyIT09YVswXSkpe3M9MDtjb250aW51ZX1pZigzPT09YVswXSYmKCFvfHxhWzFdPm9bMF0mJmFbMV08b1szXSkpe3MubGFiZWw9YVsxXTticmVha31pZig2PT09YVswXSYmcy5sYWJlbDxvWzFdKXtzLmxhYmVsPW9bMV0sbz1hO2JyZWFrfWlmKG8mJnMubGFiZWw8b1syXSl7cy5sYWJlbD1vWzJdLHMub3BzLnB1c2goYSk7YnJlYWt9b1syXSYmcy5vcHMucG9wKCkscy50cnlzLnBvcCgpO2NvbnRpbnVlfWE9ci5jYWxsKGUscyl9Y2F0Y2goZSl7YT1bNixlXSxuPTB9ZmluYWxseXt0PW89MH1pZig1JmFbMF0pdGhyb3cgYVsxXTtyZXR1cm57dmFsdWU6YVswXT9hWzFdOnZvaWQgMCxkb25lOiEwfX0oW2EsaV0pfX19dmFyIG49e30sbz1mdW5jdGlvbihlLHIpe3JldHVybiBlKyJ8IityfTthZGRFdmVudExpc3RlbmVyKCJtZXNzYWdlIiwoZnVuY3Rpb24oYSl7dmFyIHM9YS5kYXRhLGk9cy50aW1lb3V0LHU9cy5hdXRoLGM9cy5mZXRjaFVybCxmPXMuZmV0Y2hPcHRpb25zLGw9cy51c2VGb3JtRGF0YSxoPWZ1bmN0aW9uKGUscil7dmFyIHQ9ImZ1bmN0aW9uIj09dHlwZW9mIFN5bWJvbCYmZVtTeW1ib2wuaXRlcmF0b3JdO2lmKCF0KXJldHVybiBlO3ZhciBuLG8sYT10LmNhbGwoZSkscz1bXTt0cnl7Zm9yKDsodm9pZCAwPT09cnx8ci0tID4wKSYmIShuPWEubmV4dCgpKS5kb25lOylzLnB1c2gobi52YWx1ZSl9Y2F0Y2goZSl7bz17ZXJyb3I6ZX19ZmluYWxseXt0cnl7biYmIW4uZG9uZSYmKHQ9YS5yZXR1cm4pJiZ0LmNhbGwoYSl9ZmluYWxseXtpZihvKXRocm93IG8uZXJyb3J9fXJldHVybiBzfShhLnBvcnRzLDEpWzBdO3JldHVybiByKHZvaWQgMCx2b2lkIDAsdm9pZCAwLChmdW5jdGlvbigpe3ZhciByLGEscyxwLHksYixkLHYsdyxnO3JldHVybiB0KHRoaXMsKGZ1bmN0aW9uKHQpe3N3aXRjaCh0LmxhYmVsKXtjYXNlIDA6cz0oYT11fHx7fSkuYXVkaWVuY2UscD1hLnNjb3BlLHQubGFiZWw9MTtjYXNlIDE6aWYodC50cnlzLnB1c2goWzEsNywsOF0pLCEoeT1sPyhrPWYuYm9keSxTPW5ldyBVUkxTZWFyY2hQYXJhbXMoayksXz17fSxTLmZvckVhY2goKGZ1bmN0aW9uKGUscil7X1tyXT1lfSkpLF8pOkpTT04ucGFyc2UoZi5ib2R5KSkucmVmcmVzaF90b2tlbiYmInJlZnJlc2hfdG9rZW4iPT09eS5ncmFudF90eXBlKXtpZighKGI9ZnVuY3Rpb24oZSxyKXtyZXR1cm4gbltvKGUscildfShzLHApKSl0aHJvdyBuZXcgRXJyb3IoIlRoZSB3ZWIgd29ya2VyIGlzIG1pc3NpbmcgdGhlIHJlZnJlc2ggdG9rZW4iKTtmLmJvZHk9bD9uZXcgVVJMU2VhcmNoUGFyYW1zKGUoZSh7fSx5KSx7cmVmcmVzaF90b2tlbjpifSkpLnRvU3RyaW5nKCk6SlNPTi5zdHJpbmdpZnkoZShlKHt9LHkpLHtyZWZyZXNoX3Rva2VuOmJ9KSl9ZD12b2lkIDAsImZ1bmN0aW9uIj09dHlwZW9mIEFib3J0Q29udHJvbGxlciYmKGQ9bmV3IEFib3J0Q29udHJvbGxlcixmLnNpZ25hbD1kLnNpZ25hbCksdj12b2lkIDAsdC5sYWJlbD0yO2Nhc2UgMjpyZXR1cm4gdC50cnlzLnB1c2goWzIsNCwsNV0pLFs0LFByb21pc2UucmFjZShbKG09aSxuZXcgUHJvbWlzZSgoZnVuY3Rpb24oZSl7cmV0dXJuIHNldFRpbWVvdXQoZSxtKX0pKSksZmV0Y2goYyxlKHt9LGYpKV0pXTtjYXNlIDM6cmV0dXJuIHY9dC5zZW50KCksWzMsNV07Y2FzZSA0OnJldHVybiB3PXQuc2VudCgpLGgucG9zdE1lc3NhZ2Uoe2Vycm9yOncubWVzc2FnZX0pLFsyXTtjYXNlIDU6cmV0dXJuIHY/WzQsdi5qc29uKCldOihkJiZkLmFib3J0KCksaC5wb3N0TWVzc2FnZSh7ZXJyb3I6IlRpbWVvdXQgd2hlbiBleGVjdXRpbmcgJ2ZldGNoJyJ9KSxbMl0pO2Nhc2UgNjpyZXR1cm4ocj10LnNlbnQoKSkucmVmcmVzaF90b2tlbj8oZnVuY3Rpb24oZSxyLHQpe25bbyhyLHQpXT1lfShyLnJlZnJlc2hfdG9rZW4scyxwKSxkZWxldGUgci5yZWZyZXNoX3Rva2VuKTpmdW5jdGlvbihlLHIpe2RlbGV0ZSBuW28oZSxyKV19KHMscCksaC5wb3N0TWVzc2FnZSh7b2s6di5vayxqc29uOnJ9KSxbMyw4XTtjYXNlIDc6cmV0dXJuIGc9dC5zZW50KCksaC5wb3N0TWVzc2FnZSh7b2s6ITEsanNvbjp7ZXJyb3JfZGVzY3JpcHRpb246Zy5tZXNzYWdlfX0pLFszLDhdO2Nhc2UgODpyZXR1cm5bMl19dmFyIG0sayxTLF99KSl9KSl9KSl9KCk7Cgo=",null,!1,function(e){return Ga=Ga||function(e,t,n){var r=void 0===t?null:t,i=function(e,t){var n=atob(e);if(t){for(var r=new Uint8Array(n.length),i=0,o=n.length;i<o;++i)r[i]=n.charCodeAt(i);return String.fromCharCode.apply(null,new Uint16Array(r.buffer))}return n}(e,void 0!==n&&n),o=i.indexOf("\n",10)+1,a=i.substring(o)+(r?"//# sourceMappingURL="+r:""),s=new Blob([a],{type:"application/javascript"});return URL.createObjectURL(s)}("Lyogcm9sbHVwLXBsdWdpbi13ZWItd29ya2VyLWxvYWRlciAqLwohZnVuY3Rpb24oKXsidXNlIHN0cmljdCI7Ci8qISAqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKgogICAgQ29weXJpZ2h0IChjKSBNaWNyb3NvZnQgQ29ycG9yYXRpb24uCgogICAgUGVybWlzc2lvbiB0byB1c2UsIGNvcHksIG1vZGlmeSwgYW5kL29yIGRpc3RyaWJ1dGUgdGhpcyBzb2Z0d2FyZSBmb3IgYW55CiAgICBwdXJwb3NlIHdpdGggb3Igd2l0aG91dCBmZWUgaXMgaGVyZWJ5IGdyYW50ZWQuCgogICAgVEhFIFNPRlRXQVJFIElTIFBST1ZJREVEICJBUyBJUyIgQU5EIFRIRSBBVVRIT1IgRElTQ0xBSU1TIEFMTCBXQVJSQU5USUVTIFdJVEgKICAgIFJFR0FSRCBUTyBUSElTIFNPRlRXQVJFIElOQ0xVRElORyBBTEwgSU1QTElFRCBXQVJSQU5USUVTIE9GIE1FUkNIQU5UQUJJTElUWQogICAgQU5EIEZJVE5FU1MuIElOIE5PIEVWRU5UIFNIQUxMIFRIRSBBVVRIT1IgQkUgTElBQkxFIEZPUiBBTlkgU1BFQ0lBTCwgRElSRUNULAogICAgSU5ESVJFQ1QsIE9SIENPTlNFUVVFTlRJQUwgREFNQUdFUyBPUiBBTlkgREFNQUdFUyBXSEFUU09FVkVSIFJFU1VMVElORyBGUk9NCiAgICBMT1NTIE9GIFVTRSwgREFUQSBPUiBQUk9GSVRTLCBXSEVUSEVSIElOIEFOIEFDVElPTiBPRiBDT05UUkFDVCwgTkVHTElHRU5DRSBPUgogICAgT1RIRVIgVE9SVElPVVMgQUNUSU9OLCBBUklTSU5HIE9VVCBPRiBPUiBJTiBDT05ORUNUSU9OIFdJVEggVEhFIFVTRSBPUgogICAgUEVSRk9STUFOQ0UgT0YgVEhJUyBTT0ZUV0FSRS4KICAgICoqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqICovdmFyIGU9ZnVuY3Rpb24oKXtyZXR1cm4oZT1PYmplY3QuYXNzaWdufHxmdW5jdGlvbihlKXtmb3IodmFyIHIsdD0xLG49YXJndW1lbnRzLmxlbmd0aDt0PG47dCsrKWZvcih2YXIgbyBpbiByPWFyZ3VtZW50c1t0XSlPYmplY3QucHJvdG90eXBlLmhhc093blByb3BlcnR5LmNhbGwocixvKSYmKGVbb109cltvXSk7cmV0dXJuIGV9KS5hcHBseSh0aGlzLGFyZ3VtZW50cyl9O2Z1bmN0aW9uIHIoZSxyLHQsbil7cmV0dXJuIG5ldyh0fHwodD1Qcm9taXNlKSkoKGZ1bmN0aW9uKG8sYSl7ZnVuY3Rpb24gcyhlKXt0cnl7dShuLm5leHQoZSkpfWNhdGNoKGUpe2EoZSl9fWZ1bmN0aW9uIGkoZSl7dHJ5e3Uobi50aHJvdyhlKSl9Y2F0Y2goZSl7YShlKX19ZnVuY3Rpb24gdShlKXt2YXIgcjtlLmRvbmU/byhlLnZhbHVlKToocj1lLnZhbHVlLHIgaW5zdGFuY2VvZiB0P3I6bmV3IHQoKGZ1bmN0aW9uKGUpe2Uocil9KSkpLnRoZW4ocyxpKX11KChuPW4uYXBwbHkoZSxyfHxbXSkpLm5leHQoKSl9KSl9ZnVuY3Rpb24gdChlLHIpe3ZhciB0LG4sbyxhLHM9e2xhYmVsOjAsc2VudDpmdW5jdGlvbigpe2lmKDEmb1swXSl0aHJvdyBvWzFdO3JldHVybiBvWzFdfSx0cnlzOltdLG9wczpbXX07cmV0dXJuIGE9e25leHQ6aSgwKSx0aHJvdzppKDEpLHJldHVybjppKDIpfSwiZnVuY3Rpb24iPT10eXBlb2YgU3ltYm9sJiYoYVtTeW1ib2wuaXRlcmF0b3JdPWZ1bmN0aW9uKCl7cmV0dXJuIHRoaXN9KSxhO2Z1bmN0aW9uIGkoYSl7cmV0dXJuIGZ1bmN0aW9uKGkpe3JldHVybiBmdW5jdGlvbihhKXtpZih0KXRocm93IG5ldyBUeXBlRXJyb3IoIkdlbmVyYXRvciBpcyBhbHJlYWR5IGV4ZWN1dGluZy4iKTtmb3IoO3M7KXRyeXtpZih0PTEsbiYmKG89MiZhWzBdP24ucmV0dXJuOmFbMF0/bi50aHJvd3x8KChvPW4ucmV0dXJuKSYmby5jYWxsKG4pLDApOm4ubmV4dCkmJiEobz1vLmNhbGwobixhWzFdKSkuZG9uZSlyZXR1cm4gbztzd2l0Y2gobj0wLG8mJihhPVsyJmFbMF0sby52YWx1ZV0pLGFbMF0pe2Nhc2UgMDpjYXNlIDE6bz1hO2JyZWFrO2Nhc2UgNDpyZXR1cm4gcy5sYWJlbCsrLHt2YWx1ZTphWzFdLGRvbmU6ITF9O2Nhc2UgNTpzLmxhYmVsKyssbj1hWzFdLGE9WzBdO2NvbnRpbnVlO2Nhc2UgNzphPXMub3BzLnBvcCgpLHMudHJ5cy5wb3AoKTtjb250aW51ZTtkZWZhdWx0OmlmKCEobz1zLnRyeXMsKG89by5sZW5ndGg+MCYmb1tvLmxlbmd0aC0xXSl8fDYhPT1hWzBdJiYyIT09YVswXSkpe3M9MDtjb250aW51ZX1pZigzPT09YVswXSYmKCFvfHxhWzFdPm9bMF0mJmFbMV08b1szXSkpe3MubGFiZWw9YVsxXTticmVha31pZig2PT09YVswXSYmcy5sYWJlbDxvWzFdKXtzLmxhYmVsPW9bMV0sbz1hO2JyZWFrfWlmKG8mJnMubGFiZWw8b1syXSl7cy5sYWJlbD1vWzJdLHMub3BzLnB1c2goYSk7YnJlYWt9b1syXSYmcy5vcHMucG9wKCkscy50cnlzLnBvcCgpO2NvbnRpbnVlfWE9ci5jYWxsKGUscyl9Y2F0Y2goZSl7YT1bNixlXSxuPTB9ZmluYWxseXt0PW89MH1pZig1JmFbMF0pdGhyb3cgYVsxXTtyZXR1cm57dmFsdWU6YVswXT9hWzFdOnZvaWQgMCxkb25lOiEwfX0oW2EsaV0pfX19dmFyIG49e30sbz1mdW5jdGlvbihlLHIpe3JldHVybiBlKyJ8IityfTthZGRFdmVudExpc3RlbmVyKCJtZXNzYWdlIiwoZnVuY3Rpb24oYSl7dmFyIHM9YS5kYXRhLGk9cy50aW1lb3V0LHU9cy5hdXRoLGM9cy5mZXRjaFVybCxmPXMuZmV0Y2hPcHRpb25zLGw9cy51c2VGb3JtRGF0YSxoPWZ1bmN0aW9uKGUscil7dmFyIHQ9ImZ1bmN0aW9uIj09dHlwZW9mIFN5bWJvbCYmZVtTeW1ib2wuaXRlcmF0b3JdO2lmKCF0KXJldHVybiBlO3ZhciBuLG8sYT10LmNhbGwoZSkscz1bXTt0cnl7Zm9yKDsodm9pZCAwPT09cnx8ci0tID4wKSYmIShuPWEubmV4dCgpKS5kb25lOylzLnB1c2gobi52YWx1ZSl9Y2F0Y2goZSl7bz17ZXJyb3I6ZX19ZmluYWxseXt0cnl7biYmIW4uZG9uZSYmKHQ9YS5yZXR1cm4pJiZ0LmNhbGwoYSl9ZmluYWxseXtpZihvKXRocm93IG8uZXJyb3J9fXJldHVybiBzfShhLnBvcnRzLDEpWzBdO3JldHVybiByKHZvaWQgMCx2b2lkIDAsdm9pZCAwLChmdW5jdGlvbigpe3ZhciByLGEscyxwLHksYixkLHYsdyxnO3JldHVybiB0KHRoaXMsKGZ1bmN0aW9uKHQpe3N3aXRjaCh0LmxhYmVsKXtjYXNlIDA6cz0oYT11fHx7fSkuYXVkaWVuY2UscD1hLnNjb3BlLHQubGFiZWw9MTtjYXNlIDE6aWYodC50cnlzLnB1c2goWzEsNywsOF0pLCEoeT1sPyhrPWYuYm9keSxTPW5ldyBVUkxTZWFyY2hQYXJhbXMoayksXz17fSxTLmZvckVhY2goKGZ1bmN0aW9uKGUscil7X1tyXT1lfSkpLF8pOkpTT04ucGFyc2UoZi5ib2R5KSkucmVmcmVzaF90b2tlbiYmInJlZnJlc2hfdG9rZW4iPT09eS5ncmFudF90eXBlKXtpZighKGI9ZnVuY3Rpb24oZSxyKXtyZXR1cm4gbltvKGUscildfShzLHApKSl0aHJvdyBuZXcgRXJyb3IoIlRoZSB3ZWIgd29ya2VyIGlzIG1pc3NpbmcgdGhlIHJlZnJlc2ggdG9rZW4iKTtmLmJvZHk9bD9uZXcgVVJMU2VhcmNoUGFyYW1zKGUoZSh7fSx5KSx7cmVmcmVzaF90b2tlbjpifSkpLnRvU3RyaW5nKCk6SlNPTi5zdHJpbmdpZnkoZShlKHt9LHkpLHtyZWZyZXNoX3Rva2VuOmJ9KSl9ZD12b2lkIDAsImZ1bmN0aW9uIj09dHlwZW9mIEFib3J0Q29udHJvbGxlciYmKGQ9bmV3IEFib3J0Q29udHJvbGxlcixmLnNpZ25hbD1kLnNpZ25hbCksdj12b2lkIDAsdC5sYWJlbD0yO2Nhc2UgMjpyZXR1cm4gdC50cnlzLnB1c2goWzIsNCwsNV0pLFs0LFByb21pc2UucmFjZShbKG09aSxuZXcgUHJvbWlzZSgoZnVuY3Rpb24oZSl7cmV0dXJuIHNldFRpbWVvdXQoZSxtKX0pKSksZmV0Y2goYyxlKHt9LGYpKV0pXTtjYXNlIDM6cmV0dXJuIHY9dC5zZW50KCksWzMsNV07Y2FzZSA0OnJldHVybiB3PXQuc2VudCgpLGgucG9zdE1lc3NhZ2Uoe2Vycm9yOncubWVzc2FnZX0pLFsyXTtjYXNlIDU6cmV0dXJuIHY/WzQsdi5qc29uKCldOihkJiZkLmFib3J0KCksaC5wb3N0TWVzc2FnZSh7ZXJyb3I6IlRpbWVvdXQgd2hlbiBleGVjdXRpbmcgJ2ZldGNoJyJ9KSxbMl0pO2Nhc2UgNjpyZXR1cm4ocj10LnNlbnQoKSkucmVmcmVzaF90b2tlbj8oZnVuY3Rpb24oZSxyLHQpe25bbyhyLHQpXT1lfShyLnJlZnJlc2hfdG9rZW4scyxwKSxkZWxldGUgci5yZWZyZXNoX3Rva2VuKTpmdW5jdGlvbihlLHIpe2RlbGV0ZSBuW28oZSxyKV19KHMscCksaC5wb3N0TWVzc2FnZSh7b2s6di5vayxqc29uOnJ9KSxbMyw4XTtjYXNlIDc6cmV0dXJuIGc9dC5zZW50KCksaC5wb3N0TWVzc2FnZSh7b2s6ITEsanNvbjp7ZXJyb3JfZGVzY3JpcHRpb246Zy5tZXNzYWdlfX0pLFszLDhdO2Nhc2UgODpyZXR1cm5bMl19dmFyIG0sayxTLF99KSl9KSl9KSl9KCk7Cgo=",null,false),new Worker(Ga,e)}),Xa={},$a=function(){function e(e,t){this.cache=e,this.clientId=t,this.manifestKey=this.createManifestKeyFrom(this.clientId)}return e.prototype.add=function(e){var t;return f(this,void 0,void 0,(function(){var n,r;return p(this,(function(i){switch(i.label){case 0:return r=Set.bind,[4,this.cache.get(this.manifestKey)];case 1:return(n=new(r.apply(Set,[void 0,(null===(t=i.sent())||void 0===t?void 0:t.keys)||[]]))).add(e),[4,this.cache.set(this.manifestKey,{keys:v([],h(n),!1)})];case 2:return i.sent(),[2]}}))}))},e.prototype.remove=function(e){return f(this,void 0,void 0,(function(){var t,n;return p(this,(function(r){switch(r.label){case 0:return[4,this.cache.get(this.manifestKey)];case 1:return(t=r.sent())?((n=new Set(t.keys)).delete(e),n.size>0?[4,this.cache.set(this.manifestKey,{keys:v([],h(n),!1)})]:[3,3]):[3,5];case 2:case 4:return[2,r.sent()];case 3:return[4,this.cache.remove(this.manifestKey)];case 5:return[2]}}))}))},e.prototype.get=function(){return this.cache.get(this.manifestKey)},e.prototype.clear=function(){return this.cache.remove(this.manifestKey)},e.prototype.createManifestKeyFrom=function(e){return"@@auth0spajs@@::"+e},e}(),Ya=new ia,Ja={memory:function(){return(new La).enclosedCache},localstorage:function(){return new Ia}},Qa=function(e){return Ja[e]},es=function(){function e(e){var t,n,r;if(this.options=e,"undefined"!=typeof window&&function(){if(!ma())throw new Error("For security reasons, `window.crypto` is required to run `auth0-spa-js`.");if(void 0===ga())throw new Error("\n      auth0-spa-js must run on a secure origin. See https://github.com/auth0/auth0-spa-js/blob/master/FAQ.md#why-do-i-get-auth0-spa-js-must-run-on-a-secure-origin for more information.\n    ")}(),e.cache&&e.cacheLocation&&console.warn("Both `cache` and `cacheLocation` options have been specified in the Auth0Client configuration; ignoring `cacheLocation` and using `cache`."),e.cache)r=e.cache;else{if(this.cacheLocation=e.cacheLocation||"memory",!Qa(this.cacheLocation))throw new Error('Invalid cache location "'+this.cacheLocation+'"');r=Qa(this.cacheLocation)()}this.cookieStorage=!1===e.legacySameSiteCookie?Ha:Ka,this.orgHintCookieName="auth0."+this.options.client_id+".organization_hint",this.isAuthenticatedCookieName=function(e){return"auth0."+e+".is.authenticated"}(this.options.client_id),this.sessionCheckExpiryDays=e.sessionCheckExpiryDays||1;var i,o=e.useCookiesForTransactions?this.cookieStorage:Za;this.scope=this.options.scope,this.transactionManager=new Da(o,this.options.client_id),this.nowProvider=this.options.nowProvider||la,this.cacheManager=new Ma(r,r.allKeys?null:new $a(r,this.options.client_id),this.nowProvider),this.domainUrl=(i=this.options.domain,/^https?:\/\//.test(i)?i:"https://"+i),this.tokenIssuer=function(e,t){return e?e.startsWith("https://")?e:"https://"+e+"/":t+"/"}(this.options.issuer,this.domainUrl),this.defaultScope=_a("openid",void 0!==(null===(n=null===(t=this.options)||void 0===t?void 0:t.advancedOptions)||void 0===n?void 0:n.defaultScope)?this.options.advancedOptions.defaultScope:"openid profile email"),this.options.useRefreshTokens&&(this.scope=_a(this.scope,"offline_access")),"undefined"!=typeof window&&window.Worker&&this.options.useRefreshTokens&&"memory"===this.cacheLocation&&!/Trident.*rv:11\.0/.test(navigator.userAgent)&&(this.worker=new qa),this.customOptions=function(e){return e.advancedOptions,e.audience,e.auth0Client,e.authorizeTimeoutInSeconds,e.cacheLocation,e.client_id,e.domain,e.issuer,e.leeway,e.max_age,e.redirect_uri,e.scope,e.useRefreshTokens,e.useCookiesForTransactions,e.useFormData,d(e,["advancedOptions","audience","auth0Client","authorizeTimeoutInSeconds","cacheLocation","client_id","domain","issuer","leeway","max_age","redirect_uri","scope","useRefreshTokens","useCookiesForTransactions","useFormData"])}(e)}return e.prototype._url=function(e){var t=encodeURIComponent(btoa(JSON.stringify(this.options.auth0Client||sa)));return""+this.domainUrl+e+"&auth0Client="+t},e.prototype._getParams=function(e,t,n,r,i){var o=this.options;o.useRefreshTokens,o.useCookiesForTransactions,o.useFormData,o.auth0Client,o.cacheLocation,o.advancedOptions,o.detailedResponse,o.nowProvider,o.authorizeTimeoutInSeconds,o.legacySameSiteCookie,o.sessionCheckExpiryDays,o.domain,o.leeway;var a=d(o,["useRefreshTokens","useCookiesForTransactions","useFormData","auth0Client","cacheLocation","advancedOptions","detailedResponse","nowProvider","authorizeTimeoutInSeconds","legacySameSiteCookie","sessionCheckExpiryDays","domain","leeway"]);return u(u(u({},a),e),{scope:_a(this.defaultScope,this.scope,e.scope),response_type:"code",response_mode:"query",state:t,nonce:n,redirect_uri:i||this.options.redirect_uri,code_challenge:r,code_challenge_method:"S256"})},e.prototype._authorizeUrl=function(e){return this._url("/authorize?"+wa(e))},e.prototype._verifyIdToken=function(e,t,n){return f(this,void 0,void 0,(function(){var r;return p(this,(function(i){switch(i.label){case 0:return[4,this.nowProvider()];case 1:return r=i.sent(),[2,za({iss:this.tokenIssuer,aud:this.options.client_id,id_token:e,nonce:t,organizationId:n,leeway:this.options.leeway,max_age:this._parseNumber(this.options.max_age),now:r})]}}))}))},e.prototype._parseNumber=function(e){return"string"!=typeof e?e:parseInt(e,10)||void 0},e.prototype._processOrgIdHint=function(e){e?this.cookieStorage.save(this.orgHintCookieName,e):this.cookieStorage.remove(this.orgHintCookieName)},e.prototype.buildAuthorizeUrl=function(e){return void 0===e&&(e={}),f(this,void 0,void 0,(function(){var t,n,r,i,o,a,s,l,c,f,h,v;return p(this,(function(p){switch(p.label){case 0:return t=e.redirect_uri,n=e.appState,r=d(e,["redirect_uri","appState"]),i=ba(ya()),o=ba(ya()),a=ya(),[4,xa(a)];case 1:return s=p.sent(),l=Ea(s),c=e.fragment?"#"+e.fragment:"",f=this._getParams(r,i,o,l,t),h=this._authorizeUrl(f),v=e.organization||this.options.organization,this.transactionManager.create(u({nonce:o,code_verifier:a,appState:n,scope:f.scope,audience:f.audience||"default",redirect_uri:f.redirect_uri,state:i},v&&{organizationId:v})),[2,h+c]}}))}))},e.prototype.loginWithPopup=function(e,t){return f(this,void 0,void 0,(function(){var n,r,i,o,a,s,l,c,f,h,v,m,g;return p(this,(function(p){switch(p.label){case 0:return e=e||{},(t=t||{}).popup||(t.popup=function(e){var t=window.screenX+(window.innerWidth-400)/2,n=window.screenY+(window.innerHeight-600)/2;return window.open("","auth0:authorize:popup","left="+t+",top="+n+",width=400,height=600,resizable,scrollbars=yes,status=1")}()),n=d(e,[]),r=ba(ya()),i=ba(ya()),o=ya(),[4,xa(o)];case 1:return a=p.sent(),s=Ea(a),l=this._getParams(n,r,i,s,this.options.redirect_uri||window.location.origin),c=this._authorizeUrl(u(u({},l),{response_mode:"web_message"})),t.popup.location.href=c,[4,va(u(u({},t),{timeoutInSeconds:t.timeoutInSeconds||this.options.authorizeTimeoutInSeconds||60}))];case 2:if(f=p.sent(),r!==f.state)throw new Error("Invalid state");return[4,Pa({audience:l.audience,scope:l.scope,baseUrl:this.domainUrl,client_id:this.options.client_id,code_verifier:o,code:f.code,grant_type:"authorization_code",redirect_uri:l.redirect_uri,auth0Client:this.options.auth0Client,useFormData:this.options.useFormData},this.worker)];case 3:return h=p.sent(),v=e.organization||this.options.organization,[4,this._verifyIdToken(h.id_token,i,v)];case 4:return m=p.sent(),g=u(u({},h),{decodedToken:m,scope:l.scope,audience:l.audience||"default",client_id:this.options.client_id}),[4,this.cacheManager.set(g)];case 5:return p.sent(),this.cookieStorage.save(this.isAuthenticatedCookieName,!0,{daysUntilExpire:this.sessionCheckExpiryDays}),this._processOrgIdHint(m.claims.org_id),[2]}}))}))},e.prototype.getUser=function(e){return void 0===e&&(e={}),f(this,void 0,void 0,(function(){var t,n,r;return p(this,(function(i){switch(i.label){case 0:return t=e.audience||this.options.audience||"default",n=_a(this.defaultScope,this.scope,e.scope),[4,this.cacheManager.get(new Ra({client_id:this.options.client_id,audience:t,scope:n}))];case 1:return[2,(r=i.sent())&&r.decodedToken&&r.decodedToken.user]}}))}))},e.prototype.getIdTokenClaims=function(e){return void 0===e&&(e={}),f(this,void 0,void 0,(function(){var t,n,r;return p(this,(function(i){switch(i.label){case 0:return t=e.audience||this.options.audience||"default",n=_a(this.defaultScope,this.scope,e.scope),[4,this.cacheManager.get(new Ra({client_id:this.options.client_id,audience:t,scope:n}))];case 1:return[2,(r=i.sent())&&r.decodedToken&&r.decodedToken.claims]}}))}))},e.prototype.loginWithRedirect=function(e){return void 0===e&&(e={}),f(this,void 0,void 0,(function(){var t,n,r;return p(this,(function(i){switch(i.label){case 0:return t=e.redirectMethod,n=d(e,["redirectMethod"]),[4,this.buildAuthorizeUrl(n)];case 1:return r=i.sent(),window.location[t||"assign"](r),[2]}}))}))},e.prototype.handleRedirectCallback=function(e){return void 0===e&&(e=window.location.href),f(this,void 0,void 0,(function(){var t,n,r,i,o,a,s,l,c,d;return p(this,(function(f){switch(f.label){case 0:if(0===(t=e.split("?").slice(1)).length)throw new Error("There are no query params available for parsing.");if(n=function(e){e.indexOf("#")>-1&&(e=e.substr(0,e.indexOf("#")));var t=e.split("&"),n={};return t.forEach((function(e){var t=h(e.split("="),2),r=t[0],i=t[1];n[r]=decodeURIComponent(i)})),n.expires_in&&(n.expires_in=parseInt(n.expires_in)),n}(t.join("")),r=n.state,i=n.code,o=n.error,a=n.error_description,!(s=this.transactionManager.get()))throw new Error("Invalid state");if(this.transactionManager.remove(),o)throw new ua(o,a,r,s.appState);if(!s.code_verifier||s.state&&s.state!==r)throw new Error("Invalid state");return l={audience:s.audience,scope:s.scope,baseUrl:this.domainUrl,client_id:this.options.client_id,code_verifier:s.code_verifier,grant_type:"authorization_code",code:i,auth0Client:this.options.auth0Client,useFormData:this.options.useFormData},void 0!==s.redirect_uri&&(l.redirect_uri=s.redirect_uri),[4,Pa(l,this.worker)];case 1:return c=f.sent(),[4,this._verifyIdToken(c.id_token,s.nonce,s.organizationId)];case 2:return d=f.sent(),[4,this.cacheManager.set(u(u(u(u({},c),{decodedToken:d,audience:s.audience,scope:s.scope}),c.scope?{oauthTokenScope:c.scope}:null),{client_id:this.options.client_id}))];case 3:return f.sent(),this.cookieStorage.save(this.isAuthenticatedCookieName,!0,{daysUntilExpire:this.sessionCheckExpiryDays}),this._processOrgIdHint(d.claims.org_id),[2,{appState:s.appState}]}}))}))},e.prototype.checkSession=function(e){return f(this,void 0,void 0,(function(){var t;return p(this,(function(n){switch(n.label){case 0:if(!this.cookieStorage.get(this.isAuthenticatedCookieName)){if(!this.cookieStorage.get("auth0.is.authenticated"))return[2];this.cookieStorage.save(this.isAuthenticatedCookieName,!0,{daysUntilExpire:this.sessionCheckExpiryDays}),this.cookieStorage.remove("auth0.is.authenticated")}n.label=1;case 1:return n.trys.push([1,3,,4]),[4,this.getTokenSilently(e)];case 2:return n.sent(),[3,4];case 3:if(t=n.sent(),!aa.includes(t.error))throw t;return[3,4];case 4:return[2]}}))}))},e.prototype.getTokenSilently=function(e){return void 0===e&&(e={}),f(this,void 0,void 0,(function(){var t,n,r,i=this;return p(this,(function(o){return t=u(u({audience:this.options.audience,ignoreCache:!1},e),{scope:_a(this.defaultScope,this.scope,e.scope)}),n=t.ignoreCache,r=d(t,["ignoreCache"]),[2,(a=function(){return i._getTokenSilently(u({ignoreCache:n},r))},s=this.options.client_id+"::"+r.audience+"::"+r.scope,l=Xa[s],l||(l=a().finally((function(){delete Xa[s],l=null})),Xa[s]=l),l)];var a,s,l}))}))},e.prototype._getTokenSilently=function(e){return void 0===e&&(e={}),f(this,void 0,void 0,(function(){var t,n,r,i,o,a,s,l,c;return p(this,(function(h){switch(h.label){case 0:return t=e.ignoreCache,n=d(e,["ignoreCache"]),t?[3,2]:[4,this._getEntryFromCache({scope:n.scope,audience:n.audience||"default",client_id:this.options.client_id,getDetailedEntry:e.detailedResponse})];case 1:if(r=h.sent())return[2,r];h.label=2;case 2:return[4,(v=function(){return Ya.acquireLock("auth0.lock.getTokenSilently",5e3)},m=10,void 0===m&&(m=3),f(void 0,void 0,void 0,(function(){var e;return p(this,(function(t){switch(t.label){case 0:e=0,t.label=1;case 1:return e<m?[4,v()]:[3,4];case 2:if(t.sent())return[2,!0];t.label=3;case 3:return e++,[3,1];case 4:return[2,!1]}}))})))];case 3:if(!h.sent())return[3,15];h.label=4;case 4:return h.trys.push([4,,12,14]),t?[3,6]:[4,this._getEntryFromCache({scope:n.scope,audience:n.audience||"default",client_id:this.options.client_id,getDetailedEntry:e.detailedResponse})];case 5:if(r=h.sent())return[2,r];h.label=6;case 6:return this.options.useRefreshTokens?[4,this._getTokenUsingRefreshToken(n)]:[3,8];case 7:return o=h.sent(),[3,10];case 8:return[4,this._getTokenFromIFrame(n)];case 9:o=h.sent(),h.label=10;case 10:return i=o,[4,this.cacheManager.set(u({client_id:this.options.client_id},i))];case 11:return h.sent(),this.cookieStorage.save(this.isAuthenticatedCookieName,!0,{daysUntilExpire:this.sessionCheckExpiryDays}),e.detailedResponse?(a=i.id_token,s=i.access_token,l=i.oauthTokenScope,c=i.expires_in,[2,u(u({id_token:a,access_token:s},l?{scope:l}:null),{expires_in:c})]):[2,i.access_token];case 12:return[4,Ya.releaseLock("auth0.lock.getTokenSilently")];case 13:return h.sent(),[7];case 14:return[3,16];case 15:throw new da;case 16:return[2]}var v,m}))}))},e.prototype.getTokenWithPopup=function(e,t){return void 0===e&&(e={}),void 0===t&&(t={}),f(this,void 0,void 0,(function(){return p(this,(function(n){switch(n.label){case 0:return e.audience=e.audience||this.options.audience,e.scope=_a(this.defaultScope,this.scope,e.scope),t=u(u({},oa),t),[4,this.loginWithPopup(e,t)];case 1:return n.sent(),[4,this.cacheManager.get(new Ra({scope:e.scope,audience:e.audience||"default",client_id:this.options.client_id}))];case 2:return[2,n.sent().access_token]}}))}))},e.prototype.isAuthenticated=function(){return f(this,void 0,void 0,(function(){return p(this,(function(e){switch(e.label){case 0:return[4,this.getUser()];case 1:return[2,!!e.sent()]}}))}))},e.prototype.buildLogoutUrl=function(e){void 0===e&&(e={}),null!==e.client_id?e.client_id=e.client_id||this.options.client_id:delete e.client_id;var t=e.federated,n=d(e,["federated"]),r=t?"&federated":"";return this._url("/v2/logout?"+wa(n))+r},e.prototype.logout=function(e){var t=this;void 0===e&&(e={});var n=e.localOnly,r=d(e,["localOnly"]);if(n&&r.federated)throw new Error("It is invalid to set both the `federated` and `localOnly` options to `true`");var i=function(){if(t.cookieStorage.remove(t.orgHintCookieName),t.cookieStorage.remove(t.isAuthenticatedCookieName),!n){var e=t.buildLogoutUrl(r);window.location.assign(e)}};if(this.options.cache)return this.cacheManager.clear().then((function(){return i()}));this.cacheManager.clearSync(),i()},e.prototype._getTokenFromIFrame=function(e){return f(this,void 0,void 0,(function(){var t,n,r,i,o,a,s,l,c,f,h,v,m,g,y,b,w;return p(this,(function(p){switch(p.label){case 0:return t=ba(ya()),n=ba(ya()),r=ya(),[4,xa(r)];case 1:i=p.sent(),o=Ea(i),a=d(e,["detailedResponse"]),s=this._getParams(a,t,n,o,e.redirect_uri||this.options.redirect_uri||window.location.origin),(l=this.cookieStorage.get(this.orgHintCookieName))&&!s.organization&&(s.organization=l),c=this._authorizeUrl(u(u({},s),{prompt:"none",response_mode:"web_message"})),f=e.timeoutInSeconds||this.options.authorizeTimeoutInSeconds,p.label=2;case 2:if(p.trys.push([2,6,,7]),window.crossOriginIsolated)throw new ca("login_required","The application is running in a Cross-Origin Isolated context, silently retrieving a token without refresh token is not possible.");return[4,(x=c,S=this.domainUrl,E=f,void 0===E&&(E=60),new Promise((function(e,t){var n=window.document.createElement("iframe");n.setAttribute("width","0"),n.setAttribute("height","0"),n.style.display="none";var r,i=function(){window.document.body.contains(n)&&(window.document.body.removeChild(n),window.removeEventListener("message",r,!1))},o=setTimeout((function(){t(new da),i()}),1e3*E);r=function(n){if(n.origin==S&&n.data&&"authorization_response"===n.data.type){var a=n.source;a&&a.close(),n.data.response.error?t(ca.fromPayload(n.data.response)):e(n.data.response),clearTimeout(o),window.removeEventListener("message",r,!1),setTimeout(i,2e3)}},window.addEventListener("message",r,!1),window.document.body.appendChild(n),n.setAttribute("src",x)})))];case 3:if(h=p.sent(),t!==h.state)throw new Error("Invalid state");return v=e.scope,m=e.audience,g=d(e,["scope","audience","redirect_uri","ignoreCache","timeoutInSeconds","detailedResponse"]),[4,Pa(u(u(u({},this.customOptions),g),{scope:v,audience:m,baseUrl:this.domainUrl,client_id:this.options.client_id,code_verifier:r,code:h.code,grant_type:"authorization_code",redirect_uri:s.redirect_uri,auth0Client:this.options.auth0Client,useFormData:this.options.useFormData}),this.worker)];case 4:return y=p.sent(),[4,this._verifyIdToken(y.id_token,n)];case 5:return b=p.sent(),this._processOrgIdHint(b.claims.org_id),[2,u(u({},y),{decodedToken:b,scope:s.scope,oauthTokenScope:y.scope,audience:s.audience||"default"})];case 6:throw"login_required"===(w=p.sent()).error&&this.logout({localOnly:!0}),w;case 7:return[2]}var x,S,E}))}))},e.prototype._getTokenUsingRefreshToken=function(e){return f(this,void 0,void 0,(function(){var t,n,r,i,o,a,s,l,c;return p(this,(function(f){switch(f.label){case 0:return e.scope=_a(this.defaultScope,this.options.scope,e.scope),[4,this.cacheManager.get(new Ra({scope:e.scope,audience:e.audience||"default",client_id:this.options.client_id}))];case 1:return(t=f.sent())&&t.refresh_token||this.worker?[3,3]:[4,this._getTokenFromIFrame(e)];case 2:return[2,f.sent()];case 3:n=e.redirect_uri||this.options.redirect_uri||window.location.origin,i=e.scope,o=e.audience,a=d(e,["scope","audience","ignoreCache","timeoutInSeconds","detailedResponse"]),s="number"==typeof e.timeoutInSeconds?1e3*e.timeoutInSeconds:null,f.label=4;case 4:return f.trys.push([4,6,,9]),[4,Pa(u(u(u(u(u({},this.customOptions),a),{audience:o,scope:i,baseUrl:this.domainUrl,client_id:this.options.client_id,grant_type:"refresh_token",refresh_token:t&&t.refresh_token,redirect_uri:n}),s&&{timeout:s}),{auth0Client:this.options.auth0Client,useFormData:this.options.useFormData}),this.worker)];case 5:return r=f.sent(),[3,9];case 6:return"The web worker is missing the refresh token"===(l=f.sent()).message||l.message&&l.message.indexOf("invalid refresh token")>-1?[4,this._getTokenFromIFrame(e)]:[3,8];case 7:return[2,f.sent()];case 8:throw l;case 9:return[4,this._verifyIdToken(r.id_token)];case 10:return c=f.sent(),[2,u(u({},r),{decodedToken:c,scope:e.scope,oauthTokenScope:r.scope,audience:e.audience||"default"})]}}))}))},e.prototype._getEntryFromCache=function(e){var t=e.scope,n=e.audience,r=e.client_id,i=e.getDetailedEntry,o=void 0!==i&&i;return f(this,void 0,void 0,(function(){var e,i,a,s,l;return p(this,(function(c){switch(c.label){case 0:return[4,this.cacheManager.get(new Ra({scope:t,audience:n,client_id:r}),60)];case 1:return(e=c.sent())&&e.access_token?o?(i=e.id_token,a=e.access_token,s=e.oauthTokenScope,l=e.expires_in,[2,u(u({id_token:i,access_token:a},s?{scope:s}:null),{expires_in:l})]):[2,e.access_token]:[2]}}))}))},e}(),ts={isAuthenticated:!1,isLoading:!0},ns=function(){throw new Error("You forgot to wrap your component in <Auth0Provider>.")},rs=i(i({},ts),{buildAuthorizeUrl:ns,buildLogoutUrl:ns,getAccessTokenSilently:ns,getAccessTokenWithPopup:ns,getIdTokenClaims:ns,loginWithRedirect:ns,loginWithPopup:ns,logout:ns,handleRedirectCallback:ns}),is=(0,e.createContext)(rs),os=function(e){function t(t,n){var r=e.call(this,n||t)||this;return r.error=t,r.error_description=n,r}return function(e,t){function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}(t,e),t}(Error),as=/[?&]code=[^&]+/,ss=/[?&]state=[^&]+/,ls=/[?&]error=[^&]+/,cs=function(e){return function(t){return"error"in t?new os(t.error,t.error_description):t instanceof Error?t:new Error(e)}},us=cs("Login failed"),ds=cs("Get access token failed"),fs=function(e,t){var n,r;switch(t.type){case"LOGIN_POPUP_STARTED":return i(i({},e),{isLoading:!0});case"LOGIN_POPUP_COMPLETE":case"INITIALISED":return i(i({},e),{isAuthenticated:!!t.user,user:t.user,isLoading:!1,error:void 0});case"HANDLE_REDIRECT_COMPLETE":case"GET_ACCESS_TOKEN_COMPLETE":return(null===(n=e.user)||void 0===n?void 0:n.updated_at)===(null===(r=t.user)||void 0===r?void 0:r.updated_at)?e:i(i({},e),{isAuthenticated:!!t.user,user:t.user});case"LOGOUT":return i(i({},e),{isAuthenticated:!1,user:void 0});case"ERROR":return i(i({},e),{isLoading:!1,error:t.error})}},ps=function(e){if(e){var t=e.redirectUri,n=o(e,["redirectUri"]);return i(i({},n),{redirect_uri:t})}},hs=function(e){window.history.replaceState({},document.title,(null===e||void 0===e?void 0:e.returnTo)||window.location.pathname)},vs=function(t){var n=t.children,r=t.skipRedirectCallback,l=t.onRedirectCallback,c=void 0===l?hs:l,u=o(t,["children","skipRedirectCallback","onRedirectCallback"]),d=(0,e.useState)((function(){return new es(function(e){var t=e.clientId,n=e.redirectUri,r=e.maxAge,a=o(e,["clientId","redirectUri","maxAge"]);return i(i({},a),{client_id:t,redirect_uri:n,max_age:r,auth0Client:{name:"auth0-react",version:"1.9.0"}})}(u))}))[0],f=(0,e.useReducer)(fs,ts),p=f[0],h=f[1];(0,e.useEffect)((function(){a(void 0,void 0,void 0,(function(){var e,t,n;return s(this,(function(i){switch(i.label){case 0:return i.trys.push([0,6,,7]),void 0===o&&(o=window.location.search),!as.test(o)&&!ls.test(o)||!ss.test(o)||r?[3,2]:[4,d.handleRedirectCallback()];case 1:return e=i.sent().appState,c(e),[3,4];case 2:return[4,d.checkSession()];case 3:i.sent(),i.label=4;case 4:return[4,d.getUser()];case 5:return t=i.sent(),h({type:"INITIALISED",user:t}),[3,7];case 6:return n=i.sent(),h({type:"ERROR",error:us(n)}),[3,7];case 7:return[2]}var o}))}))}),[d,c,r]);var v=(0,e.useCallback)((function(e){return d.buildAuthorizeUrl(ps(e))}),[d]),m=(0,e.useCallback)((function(e){return d.buildLogoutUrl(e)}),[d]),g=(0,e.useCallback)((function(e){return d.loginWithRedirect(ps(e))}),[d]),y=(0,e.useCallback)((function(e,t){return a(void 0,void 0,void 0,(function(){var n,r;return s(this,(function(i){switch(i.label){case 0:h({type:"LOGIN_POPUP_STARTED"}),i.label=1;case 1:return i.trys.push([1,3,,4]),[4,d.loginWithPopup(e,t)];case 2:return i.sent(),[3,4];case 3:return n=i.sent(),h({type:"ERROR",error:us(n)}),[2];case 4:return[4,d.getUser()];case 5:return r=i.sent(),h({type:"LOGIN_POPUP_COMPLETE",user:r}),[2]}}))}))}),[d]),b=(0,e.useCallback)((function(e){void 0===e&&(e={});var t=d.logout(e);if(e.localOnly){if(t&&"function"===typeof t.then)return t.then((function(){return h({type:"LOGOUT"})}));h({type:"LOGOUT"})}return t}),[d]),w=(0,e.useCallback)((function(e){return a(void 0,void 0,void 0,(function(){var t,n,r,i;return s(this,(function(o){switch(o.label){case 0:return o.trys.push([0,2,3,5]),[4,d.getTokenSilently(e)];case 1:return t=o.sent(),[3,5];case 2:throw n=o.sent(),ds(n);case 3:return r=h,i={type:"GET_ACCESS_TOKEN_COMPLETE"},[4,d.getUser()];case 4:return r.apply(void 0,[(i.user=o.sent(),i)]),[7];case 5:return[2,t]}}))}))}),[d]),x=(0,e.useCallback)((function(e,t){return a(void 0,void 0,void 0,(function(){var n,r,i,o;return s(this,(function(a){switch(a.label){case 0:return a.trys.push([0,2,3,5]),[4,d.getTokenWithPopup(e,t)];case 1:return n=a.sent(),[3,5];case 2:throw r=a.sent(),ds(r);case 3:return i=h,o={type:"GET_ACCESS_TOKEN_COMPLETE"},[4,d.getUser()];case 4:return i.apply(void 0,[(o.user=a.sent(),o)]),[7];case 5:return[2,n]}}))}))}),[d]),S=(0,e.useCallback)((function(e){return d.getIdTokenClaims(e)}),[d]),E=(0,e.useCallback)((function(e){return a(void 0,void 0,void 0,(function(){var t,n,r;return s(this,(function(i){switch(i.label){case 0:return i.trys.push([0,2,3,5]),[4,d.handleRedirectCallback(e)];case 1:return[2,i.sent()];case 2:throw t=i.sent(),ds(t);case 3:return n=h,r={type:"HANDLE_REDIRECT_COMPLETE"},[4,d.getUser()];case 4:return n.apply(void 0,[(r.user=i.sent(),r)]),[7];case 5:return[2]}}))}))}),[d]),k=(0,e.useMemo)((function(){return i(i({},p),{buildAuthorizeUrl:v,buildLogoutUrl:m,getAccessTokenSilently:w,getAccessTokenWithPopup:x,getIdTokenClaims:S,loginWithRedirect:g,loginWithPopup:y,logout:b,handleRedirectCallback:E})}),[p,v,m,w,x,S,g,y,b,E]);return e.createElement(is.Provider,{value:k},n)},ms=function(){return(0,e.useContext)(is)},gs=function(){return e.createElement(e.Fragment,null)},ys=function(){return"".concat(window.location.pathname).concat(window.location.search)};function bs(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function ws(e,t){if(e){if("string"===typeof e)return bs(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?bs(e,t):void 0}}function xs(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!==typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,i,o=[],a=!0,s=!1;try{for(n=n.call(e);!(a=(r=n.next()).done)&&(o.push(r.value),!t||o.length!==t);a=!0);}catch(l){s=!0,i=l}finally{try{a||null==n.return||n.return()}finally{if(s)throw i}}return o}}(e,t)||ws(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Ss(e,t){var n="undefined"!==typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=ws(e))||t&&e&&"number"===typeof e.length){n&&(e=n);var r=0,i=function(){};return{s:i,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:i}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var o,a=!0,s=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return a=e.done,e},e:function(e){s=!0,o=e},f:function(){try{a||null==n.return||n.return()}finally{if(s)throw o}}}}function Es(){return Es=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Es.apply(this,arguments)}var ks,Cs=ks||(ks={});Cs.Pop="POP",Cs.Push="PUSH",Cs.Replace="REPLACE";var Os=function(e){return e};function js(e){e.preventDefault(),e.returnValue=""}function Ts(){var e=[];return{get length(){return e.length},push:function(t){return e.push(t),function(){e=e.filter((function(e){return e!==t}))}},call:function(t){e.forEach((function(e){return e&&e(t)}))}}}function Ps(){return Math.random().toString(36).substr(2,8)}function Ns(e){var t=e.pathname;t=void 0===t?"/":t;var n=e.search;return n=void 0===n?"":n,e=void 0===(e=e.hash)?"":e,n&&"?"!==n&&(t+="?"===n.charAt(0)?n:"?"+n),e&&"#"!==e&&(t+="#"===e.charAt(0)?e:"#"+e),t}function _s(e){var t={};if(e){var n=e.indexOf("#");0<=n&&(t.hash=e.substr(n),e=e.substr(0,n)),0<=(n=e.indexOf("?"))&&(t.search=e.substr(n),e=e.substr(0,n)),e&&(t.pathname=e)}return t}function Rs(e,t){if(!e)throw new Error(t)}var Is=(0,e.createContext)(null);var Ls=(0,e.createContext)(null);var Ms=(0,e.createContext)({outlet:null,matches:[]});function Ds(t){return function(t){var n=(0,e.useContext)(Ms).outlet;if(n)return(0,e.createElement)(Hs.Provider,{value:t},n);return n}(t.context)}function As(e){Rs(!1)}function Fs(t){var n=t.basename,r=void 0===n?"/":n,i=t.children,o=void 0===i?null:i,a=t.location,s=t.navigationType,l=void 0===s?ks.Pop:s,c=t.navigator,u=t.static,d=void 0!==u&&u;Vs()&&Rs(!1);var f=rl(r),p=(0,e.useMemo)((function(){return{basename:f,navigator:c,static:d}}),[f,c,d]);"string"===typeof a&&(a=_s(a));var h=a,v=h.pathname,m=void 0===v?"/":v,g=h.search,y=void 0===g?"":g,b=h.hash,w=void 0===b?"":b,x=h.state,S=void 0===x?null:x,E=h.key,k=void 0===E?"default":E,C=(0,e.useMemo)((function(){var e=tl(m,f);return null==e?null:{pathname:e,search:y,hash:w,state:S,key:k}}),[f,m,y,w,S,k]);return null==C?null:(0,e.createElement)(Is.Provider,{value:p},(0,e.createElement)(Ls.Provider,{children:o,value:{location:C,navigationType:l}}))}function zs(t){var n=t.children,r=t.location;return function(t,n){Vs()||Rs(!1);var r=(0,e.useContext)(Ms).matches,i=r[r.length-1],o=i?i.params:{},a=(i&&i.pathname,i?i.pathnameBase:"/");i&&i.route;0;var s,l=Us();if(n){var c,u="string"===typeof n?_s(n):n;"/"===a||(null==(c=u.pathname)?void 0:c.startsWith(a))||Rs(!1),s=u}else s=l;var d=s.pathname||"/",f="/"===a?d:d.slice(a.length)||"/",p=function(e,t,n){void 0===n&&(n="/");var r=tl(("string"===typeof t?_s(t):t).pathname||"/",n);if(null==r)return null;var i=Gs(e);!function(e){e.sort((function(e,t){return e.score!==t.score?t.score-e.score:function(e,t){var n=e.length===t.length&&e.slice(0,-1).every((function(e,n){return e===t[n]}));return n?e[e.length-1]-t[t.length-1]:0}(e.routesMeta.map((function(e){return e.childrenIndex})),t.routesMeta.map((function(e){return e.childrenIndex})))}))}(i);for(var o=null,a=0;null==o&&a<i.length;++a)o=Ys(i[a],r);return o}(t,{pathname:f});0;return Js(p&&p.map((function(e){return Object.assign({},e,{params:Object.assign({},o,e.params),pathname:nl([a,e.pathname]),pathnameBase:"/"===e.pathnameBase?a:nl([a,e.pathnameBase])})})),r)}(Zs(n),r)}function Bs(t){Vs()||Rs(!1);var n=(0,e.useContext)(Is),r=n.basename,i=n.navigator,o=Ks(t),a=o.hash,s=o.pathname,l=o.search,c=s;if("/"!==r){var u=function(e){return""===e||""===e.pathname?"/":"string"===typeof e?_s(e).pathname:e.pathname}(t),d=null!=u&&u.endsWith("/");c="/"===s?r+(d?"/":""):nl([r,s])}return i.createHref({pathname:c,search:l,hash:a})}function Vs(){return null!=(0,e.useContext)(Ls)}function Us(){return Vs()||Rs(!1),(0,e.useContext)(Ls).location}function Ws(){Vs()||Rs(!1);var t=(0,e.useContext)(Is),n=t.basename,r=t.navigator,i=(0,e.useContext)(Ms).matches,o=Us().pathname,a=JSON.stringify(i.map((function(e){return e.pathnameBase}))),s=(0,e.useRef)(!1);(0,e.useEffect)((function(){s.current=!0}));var l=(0,e.useCallback)((function(e,t){if(void 0===t&&(t={}),s.current)if("number"!==typeof e){var i=el(e,JSON.parse(a),o);"/"!==n&&(i.pathname=nl([n,i.pathname])),(t.replace?r.replace:r.push)(i,t.state)}else r.go(e)}),[n,r,a,o]);return l}var Hs=(0,e.createContext)(null);function Ks(t){var n=(0,e.useContext)(Ms).matches,r=Us().pathname,i=JSON.stringify(n.map((function(e){return e.pathnameBase})));return(0,e.useMemo)((function(){return el(t,JSON.parse(i),r)}),[t,i,r])}function Zs(t){var n=[];return e.Children.forEach(t,(function(t){if((0,e.isValidElement)(t))if(t.type!==e.Fragment){t.type!==As&&Rs(!1);var r={caseSensitive:t.props.caseSensitive,element:t.props.element,index:t.props.index,path:t.props.path};t.props.children&&(r.children=Zs(t.props.children)),n.push(r)}else n.push.apply(n,Zs(t.props.children))})),n}function Gs(e,t,n,r){return void 0===t&&(t=[]),void 0===n&&(n=[]),void 0===r&&(r=""),e.forEach((function(e,i){var o={relativePath:e.path||"",caseSensitive:!0===e.caseSensitive,childrenIndex:i,route:e};o.relativePath.startsWith("/")&&(o.relativePath.startsWith(r)||Rs(!1),o.relativePath=o.relativePath.slice(r.length));var a=nl([r,o.relativePath]),s=n.concat(o);e.children&&e.children.length>0&&(!0===e.index&&Rs(!1),Gs(e.children,t,s,a)),(null!=e.path||e.index)&&t.push({path:a,score:$s(a,e.index),routesMeta:s})})),t}var qs=/^:\w+$/,Xs=function(e){return"*"===e};function $s(e,t){var n=e.split("/"),r=n.length;return n.some(Xs)&&(r+=-2),t&&(r+=2),n.filter((function(e){return!Xs(e)})).reduce((function(e,t){return e+(qs.test(t)?3:""===t?1:10)}),r)}function Ys(e,t){for(var n=e.routesMeta,r={},i="/",o=[],a=0;a<n.length;++a){var s=n[a],l=a===n.length-1,c="/"===i?t:t.slice(i.length)||"/",u=Qs({path:s.relativePath,caseSensitive:s.caseSensitive,end:l},c);if(!u)return null;Object.assign(r,u.params);var d=s.route;o.push({params:r,pathname:nl([i,u.pathname]),pathnameBase:nl([i,u.pathnameBase]),route:d}),"/"!==u.pathnameBase&&(i=nl([i,u.pathnameBase]))}return o}function Js(t,n){return void 0===n&&(n=[]),null==t?null:t.reduceRight((function(r,i,o){return(0,e.createElement)(Ms.Provider,{children:void 0!==i.route.element?i.route.element:(0,e.createElement)(Ds,null),value:{outlet:r,matches:n.concat(t.slice(0,o+1))}})}),null)}function Qs(e,t){"string"===typeof e&&(e={path:e,caseSensitive:!1,end:!0});var n=function(e,t,n){void 0===t&&(t=!1);void 0===n&&(n=!0);var r=[],i="^"+e.replace(/\/*\*?$/,"").replace(/^\/*/,"/").replace(/[\\.*+^$?{}|()[\]]/g,"\\$&").replace(/:(\w+)/g,(function(e,t){return r.push(t),"([^\\/]+)"}));e.endsWith("*")?(r.push("*"),i+="*"===e||"/*"===e?"(.*)$":"(?:\\/(.+)|\\/*)$"):i+=n?"\\/*$":"(?:\\b|\\/|$)";return[new RegExp(i,t?void 0:"i"),r]}(e.path,e.caseSensitive,e.end),r=xs(n,2),i=r[0],o=r[1],a=t.match(i);if(!a)return null;var s=a[0],l=s.replace(/(.)\/+$/,"$1"),c=a.slice(1),u=o.reduce((function(e,t,n){if("*"===t){var r=c[n]||"";l=s.slice(0,s.length-r.length).replace(/(.)\/+$/,"$1")}return e[t]=function(e,t){try{return decodeURIComponent(e)}catch(n){return e}}(c[n]||""),e}),{});return{params:u,pathname:s,pathnameBase:l,pattern:e}}function el(e,t,n){var r,i="string"===typeof e?_s(e):e,o=""===e||""===i.pathname?"/":i.pathname;if(null==o)r=n;else{var a=t.length-1;if(o.startsWith("..")){for(var s=o.split("/");".."===s[0];)s.shift(),a-=1;i.pathname=s.join("/")}r=a>=0?t[a]:"/"}var l=function(e,t){void 0===t&&(t="/");var n="string"===typeof e?_s(e):e,r=n.pathname,i=n.search,o=void 0===i?"":i,a=n.hash,s=void 0===a?"":a,l=r?r.startsWith("/")?r:function(e,t){var n=t.replace(/\/+$/,"").split("/");return e.split("/").forEach((function(e){".."===e?n.length>1&&n.pop():"."!==e&&n.push(e)})),n.length>1?n.join("/"):"/"}(r,t):t;return{pathname:l,search:il(o),hash:ol(s)}}(i,r);return o&&"/"!==o&&o.endsWith("/")&&!l.pathname.endsWith("/")&&(l.pathname+="/"),l}function tl(e,t){if("/"===t)return e;if(!e.toLowerCase().startsWith(t.toLowerCase()))return null;var n=e.charAt(t.length);return n&&"/"!==n?null:e.slice(t.length)||"/"}var nl=function(e){return e.join("/").replace(/\/\/+/g,"/")},rl=function(e){return e.replace(/\/+$/,"").replace(/^\/*/,"/")},il=function(e){return e&&"?"!==e?e.startsWith("?")?e:"?"+e:""},ol=function(e){return e&&"#"!==e?e.startsWith("#")?e:"#"+e:""};function al(){return al=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},al.apply(this,arguments)}function sl(e,t){if(null==e)return{};var n,r,i={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||(i[n]=e[n]);return i}var ll=["onClick","reloadDocument","replace","state","target","to"];function cl(t){var n=t.basename,r=t.children,i=t.window,o=(0,e.useRef)();null==o.current&&(o.current=function(e){function t(){var e=a.location,t=s.state||{};return[t.idx,Os({pathname:e.pathname,search:e.search,hash:e.hash,state:t.usr||null,key:t.key||"default"})]}function n(e){return"string"===typeof e?e:Ns(e)}function r(e,t){return void 0===t&&(t=null),Os(Es({pathname:d.pathname,hash:"",search:""},"string"===typeof e?_s(e):e,{state:t,key:Ps()}))}function i(e){c=e,e=t(),u=e[0],d=e[1],f.call({action:c,location:d})}function o(e){s.go(e)}void 0===e&&(e={});var a=void 0===(e=e.window)?document.defaultView:e,s=a.history,l=null;a.addEventListener("popstate",(function(){if(l)p.call(l),l=null;else{var e=ks.Pop,n=t(),r=n[0];if(n=n[1],p.length){if(null!=r){var a=u-r;a&&(l={action:e,location:n,retry:function(){o(-1*a)}},o(a))}}else i(e)}}));var c=ks.Pop,u=(e=t())[0],d=e[1],f=Ts(),p=Ts();return null==u&&(u=0,s.replaceState(Es({},s.state,{idx:u}),"")),{get action(){return c},get location(){return d},createHref:n,push:function e(t,o){var l=ks.Push,c=r(t,o);if(!p.length||(p.call({action:l,location:c,retry:function(){e(t,o)}}),0)){var d=[{usr:c.state,key:c.key,idx:u+1},n(c)];c=d[0],d=d[1];try{s.pushState(c,"",d)}catch(ne){a.location.assign(d)}i(l)}},replace:function e(t,o){var a=ks.Replace,l=r(t,o);p.length&&(p.call({action:a,location:l,retry:function(){e(t,o)}}),1)||(l=[{usr:l.state,key:l.key,idx:u},n(l)],s.replaceState(l[0],"",l[1]),i(a))},go:o,back:function(){o(-1)},forward:function(){o(1)},listen:function(e){return f.push(e)},block:function(e){var t=p.push(e);return 1===p.length&&a.addEventListener("beforeunload",js),function(){t(),p.length||a.removeEventListener("beforeunload",js)}}}}({window:i}));var a=o.current,s=xs((0,e.useState)({action:a.action,location:a.location}),2),l=s[0],c=s[1];return(0,e.useLayoutEffect)((function(){return a.listen(c)}),[a]),(0,e.createElement)(Fs,{basename:n,children:r,location:l.location,navigationType:l.action,navigator:a})}var ul=(0,e.forwardRef)((function(t,n){var r=t.onClick,i=t.reloadDocument,o=t.replace,a=void 0!==o&&o,s=t.state,l=t.target,c=t.to,u=sl(t,ll),d=Bs(c),f=function(t,n){var r=void 0===n?{}:n,i=r.target,o=r.replace,a=r.state,s=Ws(),l=Us(),c=Ks(t);return(0,e.useCallback)((function(e){if(0===e.button&&(!i||"_self"===i)&&!function(e){return!!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)}(e)){e.preventDefault();var n=!!o||Ns(l)===Ns(c);s(t,{replace:n,state:a})}}),[l,s,c,o,a,i,t])}(c,{replace:a,state:s,target:l});return(0,e.createElement)("a",al({},u,{href:d,onClick:function(e){r&&r(e),e.defaultPrevented||i||f(e)},ref:n,target:l}))}));function dl(t){var n=(0,e.useRef)(fl(t)),r=Us(),i=(0,e.useMemo)((function(){var e,t=fl(r.search),i=Ss(n.current.keys());try{var o=function(){var r=e.value;t.has(r)||n.current.getAll(r).forEach((function(e){t.append(r,e)}))};for(i.s();!(e=i.n()).done;)o()}catch(a){i.e(a)}finally{i.f()}return t}),[r.search]),o=Ws();return[i,(0,e.useCallback)((function(e,t){o("?"+fl(e),t)}),[o])]}function fl(e){return void 0===e&&(e=""),new URLSearchParams("string"===typeof e||Array.isArray(e)||e instanceof URLSearchParams?e:Object.keys(e).reduce((function(t,n){var r=e[n];return t.concat(Array.isArray(r)?r.map((function(e){return[n,e]})):[[n,r]])}),[]))}var pl={light:{logoStart:"#14dca0",logoEnd:"#262E31",logoFace:"#14dca0",logoGoggle:"#262E31",logoMouth:"#ffffff",logoShine:"#565c5e",logoShadow:"drop-shadow( 0px 0px 20px rgba(0, 0, 0, .2))",accent:"#14dca0",primary:"#14dca0",secondary:"#021f2b",glass:"#071a29d2",text:"#000000",text2:"#454545",contrast:"#ffffff",comp1:"#ff6347",bgPrimary:"#fafafa",bgSecondary:"#ffffff",carouselText:"#ffffff",loadingBg:"#162B45",loadingShine:"#2c5b94",carouselBg:"#001025e6",transistion:"0.3s ease-out",textGradiant:"linear-gradient(to right, #14dca0 0%, #008cff 100%)",nShadow:"rgba(255, 255, 255, 0.1) 0px 1px 1px 0px inset, rgba(50, 50, 93, 0.25) 0px 50px 100px -20px, rgba(0, 0, 0, 0.3) 0px 30px 60px -30px",tShadow:"rgba(17, 17, 26, 0.1) 0px 1px 0px, rgba(17, 17, 26, 0.1) 0px 8px 24px, rgba(17, 17, 26, 0.1) 0px 16px 48px"},dark:{logoStart:"#14dca0",logoEnd:"#ffffff",logoFace:"#14dca0",logoGoggle:"#ffffff",logoMouth:"#ffffff",logoShine:"#c5c5c5",logoShadow:"drop-shadow( 0px 0px 0px rgba(0, 0, 0, .1))",accent:"#14dca0",lightAccent:"rgba(20, 220, 160, 0.3)",primary:"#14dca0",secondary:"#79fcd5",glass:"#061624cc",text:"#ffffff",text2:"#c2c2c2",contrast:"#000000",comp1:"#ff6347",bgPrimary:"#031016",bgSecondary:"#0b2536",carouselText:"#ffffff",loadingBg:"#162B45",loadingShine:"#2c5b94",carouselBg:"#031016",transistion:"0.3s ease-out",textGradiant:"linear-gradient(to right, #14dca0 0%, #008cff 100%)",nShadow:"rgba(50, 50, 93, 0.25) 0px 30px 60px -12px, rgba(0, 0, 0, 0.3) 0px 18px 36px -18px",tShadow:"rgba(17, 17, 26, 0.1) 0px 1px 0px, rgba(17, 17, 26, 0.1) 0px 8px 24px, rgba(17, 17, 26, 0.1) 0px 16px 48px"}},hl=n(5911),vl=n.n(hl);function ml(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function gl(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function yl(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?gl(Object(n),!0).forEach((function(t){ml(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):gl(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function bl(e,t){if(null==e)return{};var n,r,i={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||(i[n]=e[n]);return i}function wl(e,t){if(null==e)return{};var n,r,i=bl(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}var xl=n(1694),Sl=n.n(xl),El=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;return null!=e?String(e):t||null},kl=e.createContext(null);n(2176);function Cl(e){return"default"+e.charAt(0).toUpperCase()+e.substr(1)}function Ol(e){var t=function(e,t){if("object"!==typeof e||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!==typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"===typeof t?t:String(t)}function jl(t,n,r){var i=(0,e.useRef)(void 0!==t),o=(0,e.useState)(n),a=o[0],s=o[1],l=void 0!==t,c=i.current;return i.current=l,!l&&c&&a!==n&&s(n),[l?t:a,(0,e.useCallback)((function(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),i=1;i<t;i++)n[i-1]=arguments[i];r&&r.apply(void 0,[e].concat(n)),s(e)}),[r])]}function Tl(e,t){return Object.keys(t).reduce((function(n,r){var i,o=n,a=o[Cl(r)],s=o[r],l=bl(o,[Cl(r),r].map(Ol)),c=t[r],u=jl(s,a,e[c]),d=u[0],f=u[1];return Es({},l,((i={})[r]=d,i[c]=f,i))}),e)}function Pl(){var e=this.constructor.getDerivedStateFromProps(this.props,this.state);null!==e&&void 0!==e&&this.setState(e)}function Nl(e){this.setState(function(t){var n=this.constructor.getDerivedStateFromProps(e,t);return null!==n&&void 0!==n?n:null}.bind(this))}function _l(e,t){try{var n=this.props,r=this.state;this.props=e,this.state=t,this.__reactInternalSnapshotFlag=!0,this.__reactInternalSnapshot=this.getSnapshotBeforeUpdate(n,r)}finally{this.props=n,this.state=r}}Pl.__suppressDeprecationWarning=!0,Nl.__suppressDeprecationWarning=!0,_l.__suppressDeprecationWarning=!0;var Rl=/-(.)/g;var Il=n(184),Ll=e.createContext({prefixes:{}});Ll.Consumer,Ll.Provider;function Ml(t,n){var r=(0,e.useContext)(Ll).prefixes;return t||r[n]||n}function Dl(){return"rtl"===(0,e.useContext)(Ll).dir}var Al=["className","bsPrefix","as"],Fl=function(e){return e[0].toUpperCase()+(t=e,t.replace(Rl,(function(e,t){return t.toUpperCase()}))).slice(1);var t};function zl(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=n.displayName,i=void 0===r?Fl(t):r,o=n.Component,a=n.defaultProps,s=e.forwardRef((function(e,n){var r=e.className,i=e.bsPrefix,a=e.as,s=void 0===a?o||"div":a,l=wl(e,Al),c=Ml(i,t);return(0,Il.jsx)(s,yl({ref:n,className:Sl()(r,c)},l))}));return s.defaultProps=a,s.displayName=i,s}var Bl=["bsPrefix","className","as"],Vl=e.forwardRef((function(e,t){var n=e.bsPrefix,r=e.className,i=e.as,o=wl(e,Bl);n=Ml(n,"navbar-brand");var a=i||(o.href?"a":"span");return(0,Il.jsx)(a,yl(yl({},o),{},{ref:t,className:Sl()(r,n)}))}));Vl.displayName="NavbarBrand";var Ul=Vl;function Wl(e){return e&&e.ownerDocument||document}function Hl(e,t){return function(e){var t=Wl(e);return t&&t.defaultView||window}(e).getComputedStyle(e,t)}var Kl=/([A-Z])/g;var Zl=/^ms-/;function Gl(e){return function(e){return e.replace(Kl,"-$1").toLowerCase()}(e).replace(Zl,"-ms-")}var ql=/^((translate|rotate|scale)(X|Y|Z|3d)?|matrix(3d)?|perspective|skew(X|Y)?)$/i;var Xl=function(e,t){var n="",r="";if("string"===typeof t)return e.style.getPropertyValue(Gl(t))||Hl(e).getPropertyValue(Gl(t));Object.keys(t).forEach((function(i){var o=t[i];o||0===o?!function(e){return!(!e||!ql.test(e))}(i)?n+=Gl(i)+": "+o+";":r+=i+"("+o+") ":e.style.removeProperty(Gl(i))})),r&&(n+="transform: "+r+";"),e.style.cssText+=";"+n};function $l(e,t){return $l=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},$l(e,t)}var Yl=!1,Jl=e.createContext(null),Ql="unmounted",ec="exited",tc="entering",nc="entered",rc="exiting",ic=function(n){var r,i;function o(e,t){var r;r=n.call(this,e,t)||this;var i,o=t&&!t.isMounting?e.enter:e.appear;return r.appearStatus=null,e.in?o?(i=ec,r.appearStatus=tc):i=nc:i=e.unmountOnExit||e.mountOnEnter?Ql:ec,r.state={status:i},r.nextCallback=null,r}i=n,(r=o).prototype=Object.create(i.prototype),r.prototype.constructor=r,$l(r,i),o.getDerivedStateFromProps=function(e,t){return e.in&&t.status===Ql?{status:ec}:null};var a=o.prototype;return a.componentDidMount=function(){this.updateStatus(!0,this.appearStatus)},a.componentDidUpdate=function(e){var t=null;if(e!==this.props){var n=this.state.status;this.props.in?n!==tc&&n!==nc&&(t=tc):n!==tc&&n!==nc||(t=rc)}this.updateStatus(!1,t)},a.componentWillUnmount=function(){this.cancelNextCallback()},a.getTimeouts=function(){var e,t,n,r=this.props.timeout;return e=t=n=r,null!=r&&"number"!==typeof r&&(e=r.exit,t=r.enter,n=void 0!==r.appear?r.appear:t),{exit:e,enter:t,appear:n}},a.updateStatus=function(e,t){void 0===e&&(e=!1),null!==t?(this.cancelNextCallback(),t===tc?this.performEnter(e):this.performExit()):this.props.unmountOnExit&&this.state.status===ec&&this.setState({status:Ql})},a.performEnter=function(e){var n=this,r=this.props.enter,i=this.context?this.context.isMounting:e,o=this.props.nodeRef?[i]:[t.findDOMNode(this),i],a=o[0],s=o[1],l=this.getTimeouts(),c=i?l.appear:l.enter;!e&&!r||Yl?this.safeSetState({status:nc},(function(){n.props.onEntered(a)})):(this.props.onEnter(a,s),this.safeSetState({status:tc},(function(){n.props.onEntering(a,s),n.onTransitionEnd(c,(function(){n.safeSetState({status:nc},(function(){n.props.onEntered(a,s)}))}))})))},a.performExit=function(){var e=this,n=this.props.exit,r=this.getTimeouts(),i=this.props.nodeRef?void 0:t.findDOMNode(this);n&&!Yl?(this.props.onExit(i),this.safeSetState({status:rc},(function(){e.props.onExiting(i),e.onTransitionEnd(r.exit,(function(){e.safeSetState({status:ec},(function(){e.props.onExited(i)}))}))}))):this.safeSetState({status:ec},(function(){e.props.onExited(i)}))},a.cancelNextCallback=function(){null!==this.nextCallback&&(this.nextCallback.cancel(),this.nextCallback=null)},a.safeSetState=function(e,t){t=this.setNextCallback(t),this.setState(e,t)},a.setNextCallback=function(e){var t=this,n=!0;return this.nextCallback=function(r){n&&(n=!1,t.nextCallback=null,e(r))},this.nextCallback.cancel=function(){n=!1},this.nextCallback},a.onTransitionEnd=function(e,n){this.setNextCallback(n);var r=this.props.nodeRef?this.props.nodeRef.current:t.findDOMNode(this),i=null==e&&!this.props.addEndListener;if(r&&!i){if(this.props.addEndListener){var o=this.props.nodeRef?[this.nextCallback]:[r,this.nextCallback],a=o[0],s=o[1];this.props.addEndListener(a,s)}null!=e&&setTimeout(this.nextCallback,e)}else setTimeout(this.nextCallback,0)},a.render=function(){var t=this.state.status;if(t===Ql)return null;var n=this.props,r=n.children,i=(n.in,n.mountOnEnter,n.unmountOnExit,n.appear,n.enter,n.exit,n.timeout,n.addEndListener,n.onEnter,n.onEntering,n.onEntered,n.onExit,n.onExiting,n.onExited,n.nodeRef,bl(n,["children","in","mountOnEnter","unmountOnExit","appear","enter","exit","timeout","addEndListener","onEnter","onEntering","onEntered","onExit","onExiting","onExited","nodeRef"]));return e.createElement(Jl.Provider,{value:null},"function"===typeof r?r(t,i):e.cloneElement(e.Children.only(r),i))},o}(e.Component);function oc(){}ic.contextType=Jl,ic.propTypes={},ic.defaultProps={in:!1,mountOnEnter:!1,unmountOnExit:!1,appear:!1,enter:!0,exit:!0,onEnter:oc,onEntering:oc,onEntered:oc,onExit:oc,onExiting:oc,onExited:oc},ic.UNMOUNTED=Ql,ic.EXITED=ec,ic.ENTERING=tc,ic.ENTERED=nc,ic.EXITING=rc;var ac=ic,sc=!("undefined"===typeof window||!window.document||!window.document.createElement),lc=!1,cc=!1;try{var uc={get passive(){return lc=!0},get once(){return cc=lc=!0}};sc&&(window.addEventListener("test",uc,uc),window.removeEventListener("test",uc,!0))}catch(ky){}var dc=function(e,t,n,r){if(r&&"boolean"!==typeof r&&!cc){var i=r.once,o=r.capture,a=n;!cc&&i&&(a=n.__once||function e(r){this.removeEventListener(t,e,o),n.call(this,r)},n.__once=a),e.addEventListener(t,a,lc?r:o)}e.addEventListener(t,n,r)};var fc=function(e,t,n,r){var i=r&&"boolean"!==typeof r?r.capture:r;e.removeEventListener(t,n,i),n.__once&&e.removeEventListener(t,n.__once,i)};var pc=function(e,t,n,r){return dc(e,t,n,r),function(){fc(e,t,n,r)}};function hc(e,t,n){void 0===n&&(n=5);var r=!1,i=setTimeout((function(){r||function(e,t,n,r){if(void 0===n&&(n=!1),void 0===r&&(r=!0),e){var i=document.createEvent("HTMLEvents");i.initEvent(t,n,r),e.dispatchEvent(i)}}(e,"transitionend",!0)}),t+n),o=pc(e,"transitionend",(function(){r=!0}),{once:!0});return function(){clearTimeout(i),o()}}function vc(e,t,n,r){null==n&&(n=function(e){var t=Xl(e,"transitionDuration")||"",n=-1===t.indexOf("ms")?1e3:1;return parseFloat(t)*n}(e)||0);var i=hc(e,n,r),o=pc(e,"transitionend",t);return function(){i(),o()}}function mc(e,t){var n=Xl(e,t)||"",r=-1===n.indexOf("ms")?1e3:1;return parseFloat(n)*r}function gc(e,t){var n=mc(e,"transitionDuration"),r=mc(e,"transitionDelay"),i=vc(e,(function(n){n.target===e&&(i(),t(n))}),n+r)}var yc=function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return t.filter((function(e){return null!=e})).reduce((function(e,t){if("function"!==typeof t)throw new Error("Invalid Argument Type, must only provide functions, undefined, or null.");return null===e?t:function(){for(var n=arguments.length,r=new Array(n),i=0;i<n;i++)r[i]=arguments[i];e.apply(this,r),t.apply(this,r)}}),null)};function bc(e){e.offsetHeight}var wc=function(e){return e&&"function"!==typeof e?function(t){e.current=t}:e};var xc=function(t,n){return(0,e.useMemo)((function(){return function(e,t){var n=wc(e),r=wc(t);return function(e){n&&n(e),r&&r(e)}}(t,n)}),[t,n])};function Sc(e){return e&&"setState"in e?t.findDOMNode(e):null!=e?e:null}var Ec,kc=["onEnter","onEntering","onEntered","onExit","onExiting","onExited","addEndListener","children","childRef"],Cc=e.forwardRef((function(t,n){var r=t.onEnter,i=t.onEntering,o=t.onEntered,a=t.onExit,s=t.onExiting,l=t.onExited,c=t.addEndListener,u=t.children,d=t.childRef,f=wl(t,kc),p=(0,e.useRef)(null),h=xc(p,d),v=function(e){h(Sc(e))},m=function(e){return function(t){e&&p.current&&e(p.current,t)}},g=(0,e.useCallback)(m(r),[r]),y=(0,e.useCallback)(m(i),[i]),b=(0,e.useCallback)(m(o),[o]),w=(0,e.useCallback)(m(a),[a]),x=(0,e.useCallback)(m(s),[s]),S=(0,e.useCallback)(m(l),[l]),E=(0,e.useCallback)(m(c),[c]);return(0,Il.jsx)(ac,yl(yl({ref:n},f),{},{onEnter:g,onEntered:b,onEntering:y,onExit:w,onExited:S,onExiting:x,addEndListener:E,nodeRef:p,children:"function"===typeof u?function(e,t){return u(e,yl(yl({},t),{},{ref:v}))}:e.cloneElement(u,{ref:v})}))})),Oc=Cc,jc=["onEnter","onEntering","onEntered","onExit","onExiting","className","children","dimension","getDimensionValue"],Tc={height:["marginTop","marginBottom"],width:["marginLeft","marginRight"]};function Pc(e,t){var n=t["offset".concat(e[0].toUpperCase()).concat(e.slice(1))],r=Tc[e];return n+parseInt(Xl(t,r[0]),10)+parseInt(Xl(t,r[1]),10)}var Nc=(ml(Ec={},ec,"collapse"),ml(Ec,rc,"collapsing"),ml(Ec,tc,"collapsing"),ml(Ec,nc,"collapse show"),Ec),_c={in:!1,timeout:300,mountOnEnter:!1,unmountOnExit:!1,appear:!1,getDimensionValue:Pc},Rc=e.forwardRef((function(t,n){var r=t.onEnter,i=t.onEntering,o=t.onEntered,a=t.onExit,s=t.onExiting,l=t.className,c=t.children,u=t.dimension,d=void 0===u?"height":u,f=t.getDimensionValue,p=void 0===f?Pc:f,h=wl(t,jc),v="function"===typeof d?d():d,m=(0,e.useMemo)((function(){return yc((function(e){e.style[v]="0"}),r)}),[v,r]),g=(0,e.useMemo)((function(){return yc((function(e){var t="scroll".concat(v[0].toUpperCase()).concat(v.slice(1));e.style[v]="".concat(e[t],"px")}),i)}),[v,i]),y=(0,e.useMemo)((function(){return yc((function(e){e.style[v]=null}),o)}),[v,o]),b=(0,e.useMemo)((function(){return yc((function(e){e.style[v]="".concat(p(v,e),"px"),bc(e)}),a)}),[a,p,v]),w=(0,e.useMemo)((function(){return yc((function(e){e.style[v]=null}),s)}),[v,s]);return(0,Il.jsx)(Oc,yl(yl({ref:n,addEndListener:gc},h),{},{"aria-expanded":h.role?h.in:null,onEnter:m,onEntering:g,onEntered:y,onExit:b,onExiting:w,childRef:c.ref,children:function(t,n){return e.cloneElement(c,yl(yl({},n),{},{className:Sl()(l,c.props.className,Nc[t],"width"===v&&"collapse-horizontal")}))}}))}));Rc.defaultProps=_c;var Ic=Rc,Lc=e.createContext(null);Lc.displayName="NavbarContext";var Mc=Lc,Dc=["children","bsPrefix"],Ac=e.forwardRef((function(t,n){var r=t.children,i=t.bsPrefix,o=wl(t,Dc);i=Ml(i,"navbar-collapse");var a=(0,e.useContext)(Mc);return(0,Il.jsx)(Ic,yl(yl({in:!(!a||!a.expanded)},o),{},{children:(0,Il.jsx)("div",{ref:n,className:i,children:r})}))}));Ac.displayName="NavbarCollapse";var Fc=Ac;var zc=function(t){var n=(0,e.useRef)(t);return(0,e.useEffect)((function(){n.current=t}),[t]),n};function Bc(t){var n=zc(t);return(0,e.useCallback)((function(){return n.current&&n.current.apply(n,arguments)}),[n])}var Vc=["bsPrefix","className","children","label","as","onClick"],Uc=e.forwardRef((function(t,n){var r=t.bsPrefix,i=t.className,o=t.children,a=t.label,s=t.as,l=void 0===s?"button":s,c=t.onClick,u=wl(t,Vc);r=Ml(r,"navbar-toggler");var d=(0,e.useContext)(Mc)||{},f=d.onToggle,p=d.expanded,h=Bc((function(e){c&&c(e),f&&f()}));return"button"===l&&(u.type="button"),(0,Il.jsx)(l,yl(yl({},u),{},{ref:n,onClick:h,"aria-label":a,className:Sl()(i,r,!p&&"collapsed"),children:o||(0,Il.jsx)("span",{className:"".concat(r,"-icon")})}))}));Uc.displayName="NavbarToggle",Uc.defaultProps={label:"Toggle navigation"};var Wc=Uc;function Hc(e){void 0===e&&(e=Wl());try{var t=e.activeElement;return t&&t.nodeName?t:null}catch(ky){return e.body}}function Kc(e,t){return e.contains?e.contains(t):e.compareDocumentPosition?e===t||!!(16&e.compareDocumentPosition(t)):void 0}function Zc(){var t=(0,e.useRef)(!0),n=(0,e.useRef)((function(){return t.current}));return(0,e.useEffect)((function(){return function(){t.current=!1}}),[]),n.current}function Gc(t){var n=function(t){var n=(0,e.useRef)(t);return n.current=t,n}(t);(0,e.useEffect)((function(){return function(){return n.current()}}),[])}function qc(t){var n=(0,e.useRef)(null);return(0,e.useEffect)((function(){n.current=t})),n.current}function Xc(e){return function(e){if(Array.isArray(e))return bs(e)}(e)||function(e){if("undefined"!==typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||ws(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function $c(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Yc(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function Jc(e,t,n){return t&&Yc(e.prototype,t),n&&Yc(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e}function Qc(e){return"".concat("data-rr-ui-").concat(e)}var eu=Qc("modal-open"),tu=function(){function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=t.ownerDocument,r=t.handleContainerOverflow,i=void 0===r||r,o=t.isRTL,a=void 0!==o&&o;$c(this,e),this.handleContainerOverflow=i,this.isRTL=a,this.modals=[],this.ownerDocument=n}return Jc(e,[{key:"getScrollbarWidth",value:function(){return function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:document,t=e.defaultView;return Math.abs(t.innerWidth-e.documentElement.clientWidth)}(this.ownerDocument)}},{key:"getElement",value:function(){return(this.ownerDocument||document).body}},{key:"setModalAttributes",value:function(e){}},{key:"removeModalAttributes",value:function(e){}},{key:"setContainerStyle",value:function(e){var t={overflow:"hidden"},n=this.isRTL?"paddingLeft":"paddingRight",r=this.getElement();e.style=ml({overflow:r.style.overflow},n,r.style[n]),e.scrollBarWidth&&(t[n]="".concat(parseInt(Xl(r,n)||"0",10)+e.scrollBarWidth,"px")),r.setAttribute(eu,""),Xl(r,t)}},{key:"reset",value:function(){var e=this;Xc(this.modals).forEach((function(t){return e.remove(t)}))}},{key:"removeContainerStyle",value:function(e){var t=this.getElement();t.removeAttribute(eu),Object.assign(t.style,e.style)}},{key:"add",value:function(e){var t=this.modals.indexOf(e);return-1!==t?t:(t=this.modals.length,this.modals.push(e),this.setModalAttributes(e),0!==t||(this.state={scrollBarWidth:this.getScrollbarWidth(),style:{}},this.handleContainerOverflow&&this.setContainerStyle(this.state)),t)}},{key:"remove",value:function(e){var t=this.modals.indexOf(e);-1!==t&&(this.modals.splice(t,1),!this.modals.length&&this.handleContainerOverflow&&this.removeContainerStyle(this.state),this.removeModalAttributes(e))}},{key:"isTopModal",value:function(e){return!!this.modals.length&&this.modals[this.modals.length-1]===e}}]),e}(),nu=tu,ru=(0,e.createContext)(sc?window:void 0);ru.Provider;function iu(){return(0,e.useContext)(ru)}var ou=function(e,t){var n;return sc?null==e?(t||Wl()).body:("function"===typeof e&&(e=e()),e&&"current"in e&&(e=e.current),null!=(n=e)&&n.nodeType&&e||null):null};function au(t,n){var r=iu(),i=xs((0,e.useState)((function(){return ou(t,null==r?void 0:r.document)})),2),o=i[0],a=i[1];if(!o){var s=ou(t);s&&a(s)}return(0,e.useEffect)((function(){n&&o&&n(o)}),[n,o]),(0,e.useEffect)((function(){var e=ou(t);e!==o&&a(e)}),[t,o]),o}var su,lu=["show","role","className","style","children","backdrop","keyboard","onBackdropClick","onEscapeKeyDown","transition","backdropTransition","autoFocus","enforceFocus","restoreFocus","restoreFocusOptions","renderDialog","renderBackdrop","manager","container","onShow","onHide","onExit","onExited","onExiting","onEnter","onEntering","onEntered"];function cu(t){var n=iu(),r=t||function(e){return su||(su=new nu({ownerDocument:null==e?void 0:e.document})),su}(n),i=(0,e.useRef)({dialog:null,backdrop:null});return Object.assign(i.current,{add:function(){return r.add(i.current)},remove:function(){return r.remove(i.current)},isTopModal:function(){return r.isTopModal(i.current)},setDialogRef:(0,e.useCallback)((function(e){i.current.dialog=e}),[]),setBackdropRef:(0,e.useCallback)((function(e){i.current.backdrop=e}),[])})}var uu=(0,e.forwardRef)((function(n,r){var i=n.show,o=void 0!==i&&i,a=n.role,s=void 0===a?"dialog":a,l=n.className,c=n.style,u=n.children,d=n.backdrop,f=void 0===d||d,p=n.keyboard,h=void 0===p||p,v=n.onBackdropClick,m=n.onEscapeKeyDown,g=n.transition,y=n.backdropTransition,b=n.autoFocus,w=void 0===b||b,x=n.enforceFocus,S=void 0===x||x,E=n.restoreFocus,k=void 0===E||E,C=n.restoreFocusOptions,O=n.renderDialog,j=n.renderBackdrop,T=void 0===j?function(e){return(0,Il.jsx)("div",Object.assign({},e))}:j,P=n.manager,N=n.container,_=n.onShow,R=n.onHide,I=void 0===R?function(){}:R,L=n.onExit,M=n.onExited,D=n.onExiting,A=n.onEnter,F=n.onEntering,z=n.onEntered,B=function(e,t){if(null==e)return{};var n,r,i={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||(i[n]=e[n]);return i}(n,lu),V=au(N),U=cu(P),W=Zc(),H=qc(o),K=xs((0,e.useState)(!o),2),Z=K[0],G=K[1],q=(0,e.useRef)(null);(0,e.useImperativeHandle)(r,(function(){return U}),[U]),sc&&!H&&o&&(q.current=Hc()),g||o||Z?o&&Z&&G(!1):G(!0);var X=Bc((function(){if(U.add(),te.current=pc(document,"keydown",Q),ee.current=pc(document,"focus",(function(){return setTimeout(Y)}),!0),_&&_(),w){var e=Hc(document);U.dialog&&e&&!Kc(U.dialog,e)&&(q.current=e,U.dialog.focus())}})),$=Bc((function(){var e;(U.remove(),null==te.current||te.current(),null==ee.current||ee.current(),k)&&(null==(e=q.current)||null==e.focus||e.focus(C),q.current=null)}));(0,e.useEffect)((function(){o&&V&&X()}),[o,V,X]),(0,e.useEffect)((function(){Z&&$()}),[Z,$]),Gc((function(){$()}));var Y=Bc((function(){if(S&&W()&&U.isTopModal()){var e=Hc();U.dialog&&e&&!Kc(U.dialog,e)&&U.dialog.focus()}})),J=Bc((function(e){e.target===e.currentTarget&&(null==v||v(e),!0===f&&I())})),Q=Bc((function(e){h&&27===e.keyCode&&U.isTopModal()&&(null==m||m(e),e.defaultPrevented||I())})),ee=(0,e.useRef)(),te=(0,e.useRef)(),ne=g;if(!V||!(o||ne&&!Z))return null;var re=Object.assign({role:s,ref:U.setDialogRef,"aria-modal":"dialog"===s||void 0},B,{style:c,className:l,tabIndex:-1}),ie=O?O(re):(0,Il.jsx)("div",Object.assign({},re,{children:e.cloneElement(u,{role:"document"})}));ne&&(ie=(0,Il.jsx)(ne,{appear:!0,unmountOnExit:!0,in:!!o,onExit:L,onExiting:D,onExited:function(){G(!0),null==M||M.apply(void 0,arguments)},onEnter:A,onEntering:F,onEntered:z,children:ie}));var oe=null;if(f){var ae=y;oe=T({ref:U.setBackdropRef,onClick:J}),ae&&(oe=(0,Il.jsx)(ae,{appear:!0,in:!!o,children:oe}))}return(0,Il.jsx)(Il.Fragment,{children:t.createPortal((0,Il.jsxs)(Il.Fragment,{children:[oe,ie]}),V)})}));uu.displayName="Modal";var du,fu=Object.assign(uu,{Manager:nu}),pu=["className","children","transitionClasses"],hu=(ml(du={},tc,"show"),ml(du,nc,"show"),du),vu=e.forwardRef((function(t,n){var r=t.className,i=t.children,o=t.transitionClasses,a=void 0===o?{}:o,s=wl(t,pu),l=(0,e.useCallback)((function(e,t){bc(e),null==s.onEnter||s.onEnter(e,t)}),[s]);return(0,Il.jsx)(Oc,yl(yl({ref:n,addEndListener:gc},s),{},{onEnter:l,childRef:i.ref,children:function(t,n){return e.cloneElement(i,yl(yl({},n),{},{className:Sl()("fade",r,i.props.className,hu[t],a[t])}))}}))}));vu.defaultProps={in:!1,timeout:300,mountOnEnter:!1,unmountOnExit:!1,appear:!1},vu.displayName="Fade";var mu,gu=vu,yu=zl("offcanvas-body"),bu=["bsPrefix","className","children"],wu=(ml(mu={},tc,"show"),ml(mu,nc,"show"),mu),xu=e.forwardRef((function(t,n){var r=t.bsPrefix,i=t.className,o=t.children,a=wl(t,bu);return r=Ml(r,"offcanvas"),(0,Il.jsx)(Oc,yl(yl({ref:n,addEndListener:gc},a),{},{childRef:o.ref,children:function(t,n){return e.cloneElement(o,yl(yl({},n),{},{className:Sl()(i,o.props.className,(t===tc||t===rc)&&"".concat(r,"-toggling"),wu[t])}))}}))}));xu.defaultProps={in:!1,mountOnEnter:!1,unmountOnExit:!1,appear:!1},xu.displayName="OffcanvasToggling";var Su=xu,Eu=e.createContext({onHide:function(){}}),ku=n(2007),Cu=n.n(ku),Ou=["className","variant"],ju={"aria-label":Cu().string,onClick:Cu().func,variant:Cu().oneOf(["white"])},Tu=e.forwardRef((function(e,t){var n=e.className,r=e.variant,i=wl(e,Ou);return(0,Il.jsx)("button",yl({ref:t,type:"button",className:Sl()("btn-close",r&&"btn-close-".concat(r),n)},i))}));Tu.displayName="CloseButton",Tu.propTypes=ju,Tu.defaultProps={"aria-label":"Close"};var Pu=Tu,Nu=["closeLabel","closeVariant","closeButton","onHide","children"],_u=e.forwardRef((function(t,n){var r=t.closeLabel,i=t.closeVariant,o=t.closeButton,a=t.onHide,s=t.children,l=wl(t,Nu),c=(0,e.useContext)(Eu),u=Bc((function(){null==c||c.onHide(),null==a||a()}));return(0,Il.jsxs)("div",yl(yl({ref:n},l),{},{children:[s,o&&(0,Il.jsx)(Pu,{"aria-label":r,variant:i,onClick:u})]}))}));_u.defaultProps={closeLabel:"Close",closeButton:!1};var Ru=_u,Iu=["bsPrefix","className"],Lu=e.forwardRef((function(e,t){var n=e.bsPrefix,r=e.className,i=wl(e,Iu);return n=Ml(n,"offcanvas-header"),(0,Il.jsx)(Ru,yl(yl({ref:t},i),{},{className:Sl()(r,n)}))}));Lu.displayName="OffcanvasHeader",Lu.defaultProps={closeLabel:"Close",closeButton:!1};var Mu=Lu,Du=function(t){return e.forwardRef((function(e,n){return(0,Il.jsx)("div",yl(yl({},e),{},{ref:n,className:Sl()(e.className,t)}))}))},Au=zl("offcanvas-title",{Component:Du("h5")});function Fu(e){return Fu=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},Fu(e)}function zu(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&null!==(e=Fu(e)););return e}function Bu(){return Bu="undefined"!==typeof Reflect&&Reflect.get?Reflect.get:function(e,t,n){var r=zu(e,t);if(r){var i=Object.getOwnPropertyDescriptor(r,t);return i.get?i.get.call(arguments.length<3?e:n):i.value}},Bu.apply(this,arguments)}function Vu(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&$l(e,t)}function Uu(e){return Uu="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Uu(e)}function Wu(e,t){if(t&&("object"===Uu(t)||"function"===typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}function Hu(e){var t=function(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(ky){return!1}}();return function(){var n,r=Fu(e);if(t){var i=Fu(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return Wu(this,n)}}function Ku(e,t){return e.classList?!!t&&e.classList.contains(t):-1!==(" "+(e.className.baseVal||e.className)+" ").indexOf(" "+t+" ")}var Zu=Function.prototype.bind.call(Function.prototype.call,[].slice);function Gu(e,t){return Zu(e.querySelectorAll(t))}function qu(e,t){return e.replace(new RegExp("(^|\\s)"+t+"(?:\\s|$)","g"),"$1").replace(/\s+/g," ").replace(/^\s*|\s*$/g,"")}var Xu,$u=".fixed-top, .fixed-bottom, .is-fixed, .sticky-top",Yu=".sticky-top",Ju=".navbar-toggler",Qu=function(e){Vu(n,e);var t=Hu(n);function n(){return $c(this,n),t.apply(this,arguments)}return Jc(n,[{key:"adjustAndStore",value:function(e,t,n){var r=t.style[e];t.dataset[e]=r,Xl(t,ml({},e,"".concat(parseFloat(Xl(t,e))+n,"px")))}},{key:"restore",value:function(e,t){var n=t.dataset[e];void 0!==n&&(delete t.dataset[e],Xl(t,ml({},e,n)))}},{key:"setContainerStyle",value:function(e){var t=this;Bu(Fu(n.prototype),"setContainerStyle",this).call(this,e);var r,i,o=this.getElement();if(i="modal-open",(r=o).classList?r.classList.add(i):Ku(r,i)||("string"===typeof r.className?r.className=r.className+" "+i:r.setAttribute("class",(r.className&&r.className.baseVal||"")+" "+i)),e.scrollBarWidth){var a=this.isRTL?"paddingLeft":"paddingRight",s=this.isRTL?"marginLeft":"marginRight";Gu(o,$u).forEach((function(n){return t.adjustAndStore(a,n,e.scrollBarWidth)})),Gu(o,Yu).forEach((function(n){return t.adjustAndStore(s,n,-e.scrollBarWidth)})),Gu(o,Ju).forEach((function(n){return t.adjustAndStore(s,n,e.scrollBarWidth)}))}}},{key:"removeContainerStyle",value:function(e){var t=this;Bu(Fu(n.prototype),"removeContainerStyle",this).call(this,e);var r,i,o=this.getElement();i="modal-open",(r=o).classList?r.classList.remove(i):"string"===typeof r.className?r.className=qu(r.className,i):r.setAttribute("class",qu(r.className&&r.className.baseVal||"",i));var a=this.isRTL?"paddingLeft":"paddingRight",s=this.isRTL?"marginLeft":"marginRight";Gu(o,$u).forEach((function(e){return t.restore(a,e)})),Gu(o,Yu).forEach((function(e){return t.restore(s,e)})),Gu(o,Ju).forEach((function(e){return t.restore(s,e)}))}}]),n}(nu);function ed(e){return Xu||(Xu=new Qu(e)),Xu}var td=Qu,nd=["bsPrefix","className","children","aria-labelledby","placement","show","backdrop","keyboard","scroll","onEscapeKeyDown","onShow","onHide","container","autoFocus","enforceFocus","restoreFocus","restoreFocusOptions","onEntered","onExit","onExiting","onEnter","onEntering","onExited","backdropClassName","manager"];function rd(e){return(0,Il.jsx)(Su,yl({},e))}function id(e){return(0,Il.jsx)(gu,yl({},e))}var od=e.forwardRef((function(t,n){var r=t.bsPrefix,i=t.className,o=t.children,a=t["aria-labelledby"],s=t.placement,l=t.show,c=t.backdrop,u=t.keyboard,d=t.scroll,f=t.onEscapeKeyDown,p=t.onShow,h=t.onHide,v=t.container,m=t.autoFocus,g=t.enforceFocus,y=t.restoreFocus,b=t.restoreFocusOptions,w=t.onEntered,x=t.onExit,S=t.onExiting,E=t.onEnter,k=t.onEntering,C=t.onExited,O=t.backdropClassName,j=t.manager,T=wl(t,nd),P=(0,e.useRef)();r=Ml(r,"offcanvas");var N=((0,e.useContext)(Mc)||{}).onToggle,_=Bc((function(){null==N||N(),null==h||h()})),R=(0,e.useMemo)((function(){return{onHide:_}}),[_]);var I=(0,e.useCallback)((function(e){return(0,Il.jsx)("div",yl(yl({},e),{},{className:Sl()("".concat(r,"-backdrop"),O)}))}),[O,r]);return(0,Il.jsx)(Eu.Provider,{value:R,children:(0,Il.jsx)(fu,{show:l,ref:n,backdrop:c,container:v,keyboard:u,autoFocus:m,enforceFocus:g&&!d,restoreFocus:y,restoreFocusOptions:b,onEscapeKeyDown:f,onShow:p,onHide:_,onEnter:function(e){e&&(e.style.visibility="visible");for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];null==E||E.apply(void 0,[e].concat(n))},onEntering:k,onEntered:w,onExit:x,onExiting:S,onExited:function(e){e&&(e.style.visibility="");for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];null==C||C.apply(void 0,n)},manager:j||(d?(P.current||(P.current=new td({handleContainerOverflow:!1})),P.current):ed()),transition:rd,backdropTransition:id,renderBackdrop:I,renderDialog:function(e){return(0,Il.jsx)("div",yl(yl(yl({role:"dialog"},e),T),{},{className:Sl()(i,r,"".concat(r,"-").concat(s)),"aria-labelledby":a,children:o}))}})})}));od.displayName="Offcanvas",od.defaultProps={show:!1,backdrop:!0,keyboard:!0,scroll:!1,autoFocus:!0,enforceFocus:!0,restoreFocus:!0,placement:"start"};var ad=Object.assign(od,{Body:yu,Header:Mu,Title:Au}),sd=e.forwardRef((function(t,n){var r=(0,e.useContext)(Mc);return(0,Il.jsx)(ad,yl({ref:n,show:!(null==r||!r.expanded)},t))}));sd.displayName="NavbarOffcanvas";var ld=sd,cd=["bsPrefix","expand","variant","bg","fixed","sticky","className","as","expanded","onToggle","onSelect","collapseOnSelect"],ud=zl("navbar-text",{Component:"span"}),dd=e.forwardRef((function(t,n){var r=Tl(t,{expanded:"onToggle"}),i=r.bsPrefix,o=r.expand,a=r.variant,s=r.bg,l=r.fixed,c=r.sticky,u=r.className,d=r.as,f=void 0===d?"nav":d,p=r.expanded,h=r.onToggle,v=r.onSelect,m=r.collapseOnSelect,g=wl(r,cd),y=Ml(i,"navbar"),b=(0,e.useCallback)((function(){null==v||v.apply(void 0,arguments),m&&p&&(null==h||h(!1))}),[v,m,p,h]);void 0===g.role&&"nav"!==f&&(g.role="navigation");var w="".concat(y,"-expand");"string"===typeof o&&(w="".concat(w,"-").concat(o));var x=(0,e.useMemo)((function(){return{onToggle:function(){return null==h?void 0:h(!p)},bsPrefix:y,expanded:!!p}}),[y,p,h]);return(0,Il.jsx)(Mc.Provider,{value:x,children:(0,Il.jsx)(kl.Provider,{value:b,children:(0,Il.jsx)(f,yl(yl({ref:n},g),{},{className:Sl()(u,y,o&&w,a&&"".concat(y,"-").concat(a),s&&"bg-".concat(s),c&&"sticky-".concat(c),l&&"fixed-".concat(l))}))})})}));dd.defaultProps={expand:!0,variant:"light",collapseOnSelect:!1},dd.displayName="Navbar";var fd=Object.assign(dd,{Brand:Ul,Collapse:Fc,Offcanvas:ld,Text:ud,Toggle:Wc}),pd=["bsPrefix","fluid","as","className"],hd=e.forwardRef((function(e,t){var n=e.bsPrefix,r=e.fluid,i=e.as,o=void 0===i?"div":i,a=e.className,s=wl(e,pd),l=Ml(n,"container"),c="string"===typeof r?"-".concat(r):"-fluid";return(0,Il.jsx)(o,yl(yl({ref:t},s),{},{className:Sl()(a,r?"".concat(l).concat(c):l)}))}));hd.displayName="Container",hd.defaultProps={fluid:!1};var vd=hd,md=["bsPrefix","bg","pill","text","className","as"],gd=e.forwardRef((function(e,t){var n=e.bsPrefix,r=e.bg,i=e.pill,o=e.text,a=e.className,s=e.as,l=void 0===s?"span":s,c=wl(e,md),u=Ml(n,"badge");return(0,Il.jsx)(l,yl(yl({ref:t},c),{},{className:Sl()(a,u,i&&"rounded-pill",o&&"text-".concat(o),r&&"bg-".concat(r))}))}));gd.displayName="Badge",gd.defaultProps={bg:"primary",pill:!1};var yd=gd;n(3573);function bd(){return(0,e.useReducer)((function(e){return!e}),!1)[1]}var wd=e.createContext(null);wd.displayName="NavContext";var xd=wd,Sd=e.createContext(null),Ed=["as","disabled"];function kd(e){var t=e.tagName,n=e.disabled,r=e.href,i=e.target,o=e.rel,a=e.onClick,s=e.tabIndex,l=void 0===s?0:s,c=e.type;t||(t=null!=r||null!=i||null!=o?"a":"button");var u={tagName:t};if("button"===t)return[{type:c||"button",disabled:n},u];var d=function(e){(n||"a"===t&&function(e){return!e||"#"===e.trim()}(r))&&e.preventDefault(),n?e.stopPropagation():null==a||a(e)};return"a"===t&&(r||(r="#"),n&&(r=void 0)),[{role:"button",disabled:void 0,tabIndex:n?void 0:l,href:r,target:"a"===t?i:void 0,"aria-disabled":n||void 0,rel:"a"===t?o:void 0,onClick:d,onKeyDown:function(e){" "===e.key&&(e.preventDefault(),d(e))}},u]}var Cd=e.forwardRef((function(e,t){var n=e.as,r=e.disabled,i=function(e,t){if(null==e)return{};var n,r,i={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||(i[n]=e[n]);return i}(e,Ed),o=xs(kd(Object.assign({tagName:n,disabled:r},i)),2),a=o[0],s=o[1].tagName;return(0,Il.jsx)(s,Object.assign({},i,a,{ref:t}))}));Cd.displayName="Button";var Od=Cd,jd=["as","active","eventKey"];function Td(t){var n=t.key,r=t.onClick,i=t.active,o=t.id,a=t.role,s=t.disabled,l=(0,e.useContext)(kl),c=(0,e.useContext)(xd),u=i,d={role:a};if(c){a||"tablist"!==c.role||(d.role="tab");var f=c.getControllerId(null!=n?n:null),p=c.getControlledId(null!=n?n:null);d[Qc("event-key")]=n,d.id=f||o,d["aria-controls"]=p,u=null==i&&null!=n?c.activeKey===n:i}return"tab"===d.role&&(s&&(d.tabIndex=-1,d["aria-disabled"]=!0),u?d["aria-selected"]=u:d.tabIndex=-1),d.onClick=Bc((function(e){s||(null==r||r(e),null!=n&&l&&!e.isPropagationStopped()&&l(n,e))})),[d,{isActive:u}]}var Pd=e.forwardRef((function(e,t){var n=e.as,r=void 0===n?Od:n,i=e.active,o=e.eventKey,a=function(e,t){if(null==e)return{};var n,r,i={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||(i[n]=e[n]);return i}(e,jd),s=xs(Td(Object.assign({key:El(o,a.href),active:i},a)),2),l=s[0],c=s[1];return l[Qc("active")]=c.isActive,(0,Il.jsx)(r,Object.assign({},a,l,{ref:t}))}));Pd.displayName="NavItem";var Nd=Pd,_d=["as","onSelect","activeKey","role","onKeyDown"];var Rd=function(){},Id=Qc("event-key"),Ld=e.forwardRef((function(t,n){var r,i,o=t.as,a=void 0===o?"div":o,s=t.onSelect,l=t.activeKey,c=t.role,u=t.onKeyDown,d=function(e,t){if(null==e)return{};var n,r,i={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||(i[n]=e[n]);return i}(t,_d),f=bd(),p=(0,e.useRef)(!1),h=(0,e.useContext)(kl),v=(0,e.useContext)(Sd);v&&(c=c||"tablist",l=v.activeKey,r=v.getControlledId,i=v.getControllerId);var m=(0,e.useRef)(null),g=function(e){var t=m.current;if(!t)return null;var n=Gu(t,"[".concat(Id,"]:not([aria-disabled=true])")),r=t.querySelector("[aria-selected=true]");if(!r)return null;var i=n.indexOf(r);if(-1===i)return null;var o=i+e;return o>=n.length&&(o=0),o<0&&(o=n.length-1),n[o]},y=function(e,t){null!=e&&(null==s||s(e,t),null==h||h(e,t))};(0,e.useEffect)((function(){if(m.current&&p.current){var e=m.current.querySelector("[".concat(Id,"][aria-selected=true]"));null==e||e.focus()}p.current=!1}));var b=xc(n,m);return(0,Il.jsx)(kl.Provider,{value:y,children:(0,Il.jsx)(xd.Provider,{value:{role:c,activeKey:El(l),getControlledId:r||Rd,getControllerId:i||Rd},children:(0,Il.jsx)(a,Object.assign({},d,{onKeyDown:function(e){if(null==u||u(e),v){var t,n;switch(e.key){case"ArrowLeft":case"ArrowUp":t=g(-1);break;case"ArrowRight":case"ArrowDown":t=g(1);break;default:return}if(t)e.preventDefault(),y(t.dataset[(n="EventKey","".concat("rrUi").concat(n))]||null,e),p.current=!0,f()}},ref:b,role:c}))})})}));Ld.displayName="Nav";var Md=Object.assign(Ld,{Item:Nd}),Dd=e.createContext(null);Dd.displayName="CardHeaderContext";var Ad=Dd,Fd=zl("nav-item");function zd(){return(0,e.useState)(null)}var Bd="undefined"!==typeof n.g&&n.g.navigator&&"ReactNative"===n.g.navigator.product,Vd="undefined"!==typeof document||Bd?e.useLayoutEffect:e.useEffect;new WeakMap;var Ud=["onKeyDown"];var Wd=e.forwardRef((function(e,t){var n,r=e.onKeyDown,i=function(e,t){if(null==e)return{};var n,r,i={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||(i[n]=e[n]);return i}(e,Ud),o=xs(kd(Object.assign({tagName:"a"},i)),1)[0],a=Bc((function(e){o.onKeyDown(e),null==r||r(e)}));return((n=i.href)&&"#"!==n.trim()||i.role)&&"button"!==i.role?(0,Il.jsx)("a",Object.assign({ref:t},i,{onKeyDown:r})):(0,Il.jsx)("a",Object.assign({ref:t},i,o,{onKeyDown:a}))}));Wd.displayName="Anchor";var Hd=Wd,Kd=["bsPrefix","className","as","active","eventKey"],Zd=e.forwardRef((function(e,t){var n=e.bsPrefix,r=e.className,i=e.as,o=void 0===i?Hd:i,a=e.active,s=e.eventKey,l=wl(e,Kd);n=Ml(n,"nav-link");var c=xs(Td(yl({key:El(s,l.href),active:a},l)),2),u=c[0],d=c[1];return(0,Il.jsx)(o,yl(yl(yl({},l),u),{},{ref:t,className:Sl()(r,n,l.disabled&&"disabled",d.isActive&&"active")}))}));Zd.displayName="NavLink",Zd.defaultProps={disabled:!1};var Gd=Zd,qd=["as","bsPrefix","variant","fill","justify","navbar","navbarScroll","className","activeKey"],Xd=e.forwardRef((function(t,n){var r,i,o,a=Tl(t,{activeKey:"onSelect"}),s=a.as,l=void 0===s?"div":s,c=a.bsPrefix,u=a.variant,d=a.fill,f=a.justify,p=a.navbar,h=a.navbarScroll,v=a.className,m=a.activeKey,g=wl(a,qd),y=Ml(c,"nav"),b=!1,w=(0,e.useContext)(Mc),x=(0,e.useContext)(Ad);return w?(i=w.bsPrefix,b=null==p||p):x&&(o=x.cardHeaderBsPrefix),(0,Il.jsx)(Md,yl({as:l,ref:n,activeKey:m,className:Sl()(v,(r={},ml(r,y,!b),ml(r,"".concat(i,"-nav"),b),ml(r,"".concat(i,"-nav-scroll"),b&&h),ml(r,"".concat(o,"-").concat(u),!!o),ml(r,"".concat(y,"-").concat(u),!!u),ml(r,"".concat(y,"-fill"),d),ml(r,"".concat(y,"-justified"),f),r))},g))}));Xd.displayName="Nav",Xd.defaultProps={justify:!1,fill:!1};var $d=Object.assign(Xd,{Item:Fd,Link:Gd}),Yd=e.createContext(null),Jd=Object.prototype.hasOwnProperty;function Qd(e,t,n){var r,i=Ss(e.keys());try{for(i.s();!(r=i.n()).done;)if(ef(n=r.value,t))return n}catch(o){i.e(o)}finally{i.f()}}function ef(e,t){var n,r,i;if(e===t)return!0;if(e&&t&&(n=e.constructor)===t.constructor){if(n===Date)return e.getTime()===t.getTime();if(n===RegExp)return e.toString()===t.toString();if(n===Array){if((r=e.length)===t.length)for(;r--&&ef(e[r],t[r]););return-1===r}if(n===Set){if(e.size!==t.size)return!1;var o,a=Ss(e);try{for(a.s();!(o=a.n()).done;){if((i=r=o.value)&&"object"===typeof i&&!(i=Qd(t,i)))return!1;if(!t.has(i))return!1}}catch(c){a.e(c)}finally{a.f()}return!0}if(n===Map){if(e.size!==t.size)return!1;var s,l=Ss(e);try{for(l.s();!(s=l.n()).done;){if((i=(r=s.value)[0])&&"object"===typeof i&&!(i=Qd(t,i)))return!1;if(!ef(r[1],t.get(i)))return!1}}catch(c){l.e(c)}finally{l.f()}return!0}if(n===ArrayBuffer)e=new Uint8Array(e),t=new Uint8Array(t);else if(n===DataView){if((r=e.byteLength)===t.byteLength)for(;r--&&e.getInt8(r)===t.getInt8(r););return-1===r}if(ArrayBuffer.isView(e)){if((r=e.byteLength)===t.byteLength)for(;r--&&e[r]===t[r];);return-1===r}if(!n||"object"===typeof e){for(n in r=0,e){if(Jd.call(e,n)&&++r&&!Jd.call(t,n))return!1;if(!(n in t)||!ef(e[n],t[n]))return!1}return Object.keys(t).length===r}}return e!==e&&t!==t}var tf=function(t){var n=Zc();return[t[0],(0,e.useCallback)((function(e){if(n())return t[1](e)}),[n,t[1]])]};function nf(e){return e.split("-")[0]}function rf(e){if(null==e)return window;if("[object Window]"!==e.toString()){var t=e.ownerDocument;return t&&t.defaultView||window}return e}function of(e){return e instanceof rf(e).Element||e instanceof Element}function af(e){return e instanceof rf(e).HTMLElement||e instanceof HTMLElement}function sf(e){return"undefined"!==typeof ShadowRoot&&(e instanceof rf(e).ShadowRoot||e instanceof ShadowRoot)}var lf=Math.max,cf=Math.min,uf=Math.round;function df(e,t){void 0===t&&(t=!1);var n=e.getBoundingClientRect(),r=1,i=1;if(af(e)&&t){var o=e.offsetHeight,a=e.offsetWidth;a>0&&(r=uf(n.width)/a||1),o>0&&(i=uf(n.height)/o||1)}return{width:n.width/r,height:n.height/i,top:n.top/i,right:n.right/r,bottom:n.bottom/i,left:n.left/r,x:n.left/r,y:n.top/i}}function ff(e){var t=df(e),n=e.offsetWidth,r=e.offsetHeight;return Math.abs(t.width-n)<=1&&(n=t.width),Math.abs(t.height-r)<=1&&(r=t.height),{x:e.offsetLeft,y:e.offsetTop,width:n,height:r}}function pf(e,t){var n=t.getRootNode&&t.getRootNode();if(e.contains(t))return!0;if(n&&sf(n)){var r=t;do{if(r&&e.isSameNode(r))return!0;r=r.parentNode||r.host}while(r)}return!1}function hf(e){return e?(e.nodeName||"").toLowerCase():null}function vf(e){return rf(e).getComputedStyle(e)}function mf(e){return["table","td","th"].indexOf(hf(e))>=0}function gf(e){return((of(e)?e.ownerDocument:e.document)||window.document).documentElement}function yf(e){return"html"===hf(e)?e:e.assignedSlot||e.parentNode||(sf(e)?e.host:null)||gf(e)}function bf(e){return af(e)&&"fixed"!==vf(e).position?e.offsetParent:null}function wf(e){for(var t=rf(e),n=bf(e);n&&mf(n)&&"static"===vf(n).position;)n=bf(n);return n&&("html"===hf(n)||"body"===hf(n)&&"static"===vf(n).position)?t:n||function(e){var t=-1!==navigator.userAgent.toLowerCase().indexOf("firefox");if(-1!==navigator.userAgent.indexOf("Trident")&&af(e)&&"fixed"===vf(e).position)return null;for(var n=yf(e);af(n)&&["html","body"].indexOf(hf(n))<0;){var r=vf(n);if("none"!==r.transform||"none"!==r.perspective||"paint"===r.contain||-1!==["transform","perspective"].indexOf(r.willChange)||t&&"filter"===r.willChange||t&&r.filter&&"none"!==r.filter)return n;n=n.parentNode}return null}(e)||t}function xf(e){return["top","bottom"].indexOf(e)>=0?"x":"y"}function Sf(e,t,n){return lf(e,cf(t,n))}function Ef(e){return Object.assign({},{top:0,right:0,bottom:0,left:0},e)}function kf(e,t){return t.reduce((function(t,n){return t[n]=e,t}),{})}var Cf="top",Of="bottom",jf="right",Tf="left",Pf="auto",Nf=[Cf,Of,jf,Tf],_f="start",Rf="end",If="viewport",Lf="popper",Mf=Nf.reduce((function(e,t){return e.concat([t+"-"+_f,t+"-"+Rf])}),[]),Df=[].concat(Nf,[Pf]).reduce((function(e,t){return e.concat([t,t+"-"+_f,t+"-"+Rf])}),[]),Af=["beforeRead","read","afterRead","beforeMain","main","afterMain","beforeWrite","write","afterWrite"];var Ff={name:"arrow",enabled:!0,phase:"main",fn:function(e){var t,n=e.state,r=e.name,i=e.options,o=n.elements.arrow,a=n.modifiersData.popperOffsets,s=nf(n.placement),l=xf(s),c=[Tf,jf].indexOf(s)>=0?"height":"width";if(o&&a){var u=function(e,t){return Ef("number"!==typeof(e="function"===typeof e?e(Object.assign({},t.rects,{placement:t.placement})):e)?e:kf(e,Nf))}(i.padding,n),d=ff(o),f="y"===l?Cf:Tf,p="y"===l?Of:jf,h=n.rects.reference[c]+n.rects.reference[l]-a[l]-n.rects.popper[c],v=a[l]-n.rects.reference[l],m=wf(o),g=m?"y"===l?m.clientHeight||0:m.clientWidth||0:0,y=h/2-v/2,b=u[f],w=g-d[c]-u[p],x=g/2-d[c]/2+y,S=Sf(b,x,w),E=l;n.modifiersData[r]=((t={})[E]=S,t.centerOffset=S-x,t)}},effect:function(e){var t=e.state,n=e.options.element,r=void 0===n?"[data-popper-arrow]":n;null!=r&&("string"!==typeof r||(r=t.elements.popper.querySelector(r)))&&pf(t.elements.popper,r)&&(t.elements.arrow=r)},requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function zf(e){return e.split("-")[1]}var Bf={top:"auto",right:"auto",bottom:"auto",left:"auto"};function Vf(e){var t,n=e.popper,r=e.popperRect,i=e.placement,o=e.variation,a=e.offsets,s=e.position,l=e.gpuAcceleration,c=e.adaptive,u=e.roundOffsets,d=e.isFixed,f=a.x,p=void 0===f?0:f,h=a.y,v=void 0===h?0:h,m="function"===typeof u?u({x:p,y:v}):{x:p,y:v};p=m.x,v=m.y;var g=a.hasOwnProperty("x"),y=a.hasOwnProperty("y"),b=Tf,w=Cf,x=window;if(c){var S=wf(n),E="clientHeight",k="clientWidth";if(S===rf(n)&&"static"!==vf(S=gf(n)).position&&"absolute"===s&&(E="scrollHeight",k="scrollWidth"),S=S,i===Cf||(i===Tf||i===jf)&&o===Rf)w=Of,v-=(d&&x.visualViewport?x.visualViewport.height:S[E])-r.height,v*=l?1:-1;if(i===Tf||(i===Cf||i===Of)&&o===Rf)b=jf,p-=(d&&x.visualViewport?x.visualViewport.width:S[k])-r.width,p*=l?1:-1}var C,O=Object.assign({position:s},c&&Bf),j=!0===u?function(e){var t=e.x,n=e.y,r=window.devicePixelRatio||1;return{x:uf(t*r)/r||0,y:uf(n*r)/r||0}}({x:p,y:v}):{x:p,y:v};return p=j.x,v=j.y,l?Object.assign({},O,((C={})[w]=y?"0":"",C[b]=g?"0":"",C.transform=(x.devicePixelRatio||1)<=1?"translate("+p+"px, "+v+"px)":"translate3d("+p+"px, "+v+"px, 0)",C)):Object.assign({},O,((t={})[w]=y?v+"px":"",t[b]=g?p+"px":"",t.transform="",t))}var Uf={name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:function(e){var t=e.state,n=e.options,r=n.gpuAcceleration,i=void 0===r||r,o=n.adaptive,a=void 0===o||o,s=n.roundOffsets,l=void 0===s||s,c={placement:nf(t.placement),variation:zf(t.placement),popper:t.elements.popper,popperRect:t.rects.popper,gpuAcceleration:i,isFixed:"fixed"===t.options.strategy};null!=t.modifiersData.popperOffsets&&(t.styles.popper=Object.assign({},t.styles.popper,Vf(Object.assign({},c,{offsets:t.modifiersData.popperOffsets,position:t.options.strategy,adaptive:a,roundOffsets:l})))),null!=t.modifiersData.arrow&&(t.styles.arrow=Object.assign({},t.styles.arrow,Vf(Object.assign({},c,{offsets:t.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:l})))),t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-placement":t.placement})},data:{}},Wf={passive:!0};var Hf={name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:function(e){var t=e.state,n=e.instance,r=e.options,i=r.scroll,o=void 0===i||i,a=r.resize,s=void 0===a||a,l=rf(t.elements.popper),c=[].concat(t.scrollParents.reference,t.scrollParents.popper);return o&&c.forEach((function(e){e.addEventListener("scroll",n.update,Wf)})),s&&l.addEventListener("resize",n.update,Wf),function(){o&&c.forEach((function(e){e.removeEventListener("scroll",n.update,Wf)})),s&&l.removeEventListener("resize",n.update,Wf)}},data:{}},Kf={left:"right",right:"left",bottom:"top",top:"bottom"};function Zf(e){return e.replace(/left|right|bottom|top/g,(function(e){return Kf[e]}))}var Gf={start:"end",end:"start"};function qf(e){return e.replace(/start|end/g,(function(e){return Gf[e]}))}function Xf(e){var t=rf(e);return{scrollLeft:t.pageXOffset,scrollTop:t.pageYOffset}}function $f(e){return df(gf(e)).left+Xf(e).scrollLeft}function Yf(e){var t=vf(e),n=t.overflow,r=t.overflowX,i=t.overflowY;return/auto|scroll|overlay|hidden/.test(n+i+r)}function Jf(e){return["html","body","#document"].indexOf(hf(e))>=0?e.ownerDocument.body:af(e)&&Yf(e)?e:Jf(yf(e))}function Qf(e,t){var n;void 0===t&&(t=[]);var r=Jf(e),i=r===(null==(n=e.ownerDocument)?void 0:n.body),o=rf(r),a=i?[o].concat(o.visualViewport||[],Yf(r)?r:[]):r,s=t.concat(a);return i?s:s.concat(Qf(yf(a)))}function ep(e){return Object.assign({},e,{left:e.x,top:e.y,right:e.x+e.width,bottom:e.y+e.height})}function tp(e,t){return t===If?ep(function(e){var t=rf(e),n=gf(e),r=t.visualViewport,i=n.clientWidth,o=n.clientHeight,a=0,s=0;return r&&(i=r.width,o=r.height,/^((?!chrome|android).)*safari/i.test(navigator.userAgent)||(a=r.offsetLeft,s=r.offsetTop)),{width:i,height:o,x:a+$f(e),y:s}}(e)):of(t)?function(e){var t=df(e);return t.top=t.top+e.clientTop,t.left=t.left+e.clientLeft,t.bottom=t.top+e.clientHeight,t.right=t.left+e.clientWidth,t.width=e.clientWidth,t.height=e.clientHeight,t.x=t.left,t.y=t.top,t}(t):ep(function(e){var t,n=gf(e),r=Xf(e),i=null==(t=e.ownerDocument)?void 0:t.body,o=lf(n.scrollWidth,n.clientWidth,i?i.scrollWidth:0,i?i.clientWidth:0),a=lf(n.scrollHeight,n.clientHeight,i?i.scrollHeight:0,i?i.clientHeight:0),s=-r.scrollLeft+$f(e),l=-r.scrollTop;return"rtl"===vf(i||n).direction&&(s+=lf(n.clientWidth,i?i.clientWidth:0)-o),{width:o,height:a,x:s,y:l}}(gf(e)))}function np(e,t,n){var r="clippingParents"===t?function(e){var t=Qf(yf(e)),n=["absolute","fixed"].indexOf(vf(e).position)>=0&&af(e)?wf(e):e;return of(n)?t.filter((function(e){return of(e)&&pf(e,n)&&"body"!==hf(e)})):[]}(e):[].concat(t),i=[].concat(r,[n]),o=i[0],a=i.reduce((function(t,n){var r=tp(e,n);return t.top=lf(r.top,t.top),t.right=cf(r.right,t.right),t.bottom=cf(r.bottom,t.bottom),t.left=lf(r.left,t.left),t}),tp(e,o));return a.width=a.right-a.left,a.height=a.bottom-a.top,a.x=a.left,a.y=a.top,a}function rp(e){var t,n=e.reference,r=e.element,i=e.placement,o=i?nf(i):null,a=i?zf(i):null,s=n.x+n.width/2-r.width/2,l=n.y+n.height/2-r.height/2;switch(o){case Cf:t={x:s,y:n.y-r.height};break;case Of:t={x:s,y:n.y+n.height};break;case jf:t={x:n.x+n.width,y:l};break;case Tf:t={x:n.x-r.width,y:l};break;default:t={x:n.x,y:n.y}}var c=o?xf(o):null;if(null!=c){var u="y"===c?"height":"width";switch(a){case _f:t[c]=t[c]-(n[u]/2-r[u]/2);break;case Rf:t[c]=t[c]+(n[u]/2-r[u]/2)}}return t}function ip(e,t){void 0===t&&(t={});var n=t,r=n.placement,i=void 0===r?e.placement:r,o=n.boundary,a=void 0===o?"clippingParents":o,s=n.rootBoundary,l=void 0===s?If:s,c=n.elementContext,u=void 0===c?Lf:c,d=n.altBoundary,f=void 0!==d&&d,p=n.padding,h=void 0===p?0:p,v=Ef("number"!==typeof h?h:kf(h,Nf)),m=u===Lf?"reference":Lf,g=e.rects.popper,y=e.elements[f?m:u],b=np(of(y)?y:y.contextElement||gf(e.elements.popper),a,l),w=df(e.elements.reference),x=rp({reference:w,element:g,strategy:"absolute",placement:i}),S=ep(Object.assign({},g,x)),E=u===Lf?S:w,k={top:b.top-E.top+v.top,bottom:E.bottom-b.bottom+v.bottom,left:b.left-E.left+v.left,right:E.right-b.right+v.right},C=e.modifiersData.offset;if(u===Lf&&C){var O=C[i];Object.keys(k).forEach((function(e){var t=[jf,Of].indexOf(e)>=0?1:-1,n=[Cf,Of].indexOf(e)>=0?"y":"x";k[e]+=O[n]*t}))}return k}var op={name:"flip",enabled:!0,phase:"main",fn:function(e){var t=e.state,n=e.options,r=e.name;if(!t.modifiersData[r]._skip){for(var i=n.mainAxis,o=void 0===i||i,a=n.altAxis,s=void 0===a||a,l=n.fallbackPlacements,c=n.padding,u=n.boundary,d=n.rootBoundary,f=n.altBoundary,p=n.flipVariations,h=void 0===p||p,v=n.allowedAutoPlacements,m=t.options.placement,g=nf(m),y=l||(g===m||!h?[Zf(m)]:function(e){if(nf(e)===Pf)return[];var t=Zf(e);return[qf(e),t,qf(t)]}(m)),b=[m].concat(y).reduce((function(e,n){return e.concat(nf(n)===Pf?function(e,t){void 0===t&&(t={});var n=t,r=n.placement,i=n.boundary,o=n.rootBoundary,a=n.padding,s=n.flipVariations,l=n.allowedAutoPlacements,c=void 0===l?Df:l,u=zf(r),d=u?s?Mf:Mf.filter((function(e){return zf(e)===u})):Nf,f=d.filter((function(e){return c.indexOf(e)>=0}));0===f.length&&(f=d);var p=f.reduce((function(t,n){return t[n]=ip(e,{placement:n,boundary:i,rootBoundary:o,padding:a})[nf(n)],t}),{});return Object.keys(p).sort((function(e,t){return p[e]-p[t]}))}(t,{placement:n,boundary:u,rootBoundary:d,padding:c,flipVariations:h,allowedAutoPlacements:v}):n)}),[]),w=t.rects.reference,x=t.rects.popper,S=new Map,E=!0,k=b[0],C=0;C<b.length;C++){var O=b[C],j=nf(O),T=zf(O)===_f,P=[Cf,Of].indexOf(j)>=0,N=P?"width":"height",_=ip(t,{placement:O,boundary:u,rootBoundary:d,altBoundary:f,padding:c}),R=P?T?jf:Tf:T?Of:Cf;w[N]>x[N]&&(R=Zf(R));var I=Zf(R),L=[];if(o&&L.push(_[j]<=0),s&&L.push(_[R]<=0,_[I]<=0),L.every((function(e){return e}))){k=O,E=!1;break}S.set(O,L)}if(E)for(var M=function(e){var t=b.find((function(t){var n=S.get(t);if(n)return n.slice(0,e).every((function(e){return e}))}));if(t)return k=t,"break"},D=h?3:1;D>0;D--){if("break"===M(D))break}t.placement!==k&&(t.modifiersData[r]._skip=!0,t.placement=k,t.reset=!0)}},requiresIfExists:["offset"],data:{_skip:!1}};function ap(e,t,n){return void 0===n&&(n={x:0,y:0}),{top:e.top-t.height-n.y,right:e.right-t.width+n.x,bottom:e.bottom-t.height+n.y,left:e.left-t.width-n.x}}function sp(e){return[Cf,jf,Of,Tf].some((function(t){return e[t]>=0}))}var lp={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:function(e){var t=e.state,n=e.options,r=e.name,i=n.offset,o=void 0===i?[0,0]:i,a=Df.reduce((function(e,n){return e[n]=function(e,t,n){var r=nf(e),i=[Tf,Cf].indexOf(r)>=0?-1:1,o="function"===typeof n?n(Object.assign({},t,{placement:e})):n,a=o[0],s=o[1];return a=a||0,s=(s||0)*i,[Tf,jf].indexOf(r)>=0?{x:s,y:a}:{x:a,y:s}}(n,t.rects,o),e}),{}),s=a[t.placement],l=s.x,c=s.y;null!=t.modifiersData.popperOffsets&&(t.modifiersData.popperOffsets.x+=l,t.modifiersData.popperOffsets.y+=c),t.modifiersData[r]=a}};var cp={name:"preventOverflow",enabled:!0,phase:"main",fn:function(e){var t=e.state,n=e.options,r=e.name,i=n.mainAxis,o=void 0===i||i,a=n.altAxis,s=void 0!==a&&a,l=n.boundary,c=n.rootBoundary,u=n.altBoundary,d=n.padding,f=n.tether,p=void 0===f||f,h=n.tetherOffset,v=void 0===h?0:h,m=ip(t,{boundary:l,rootBoundary:c,padding:d,altBoundary:u}),g=nf(t.placement),y=zf(t.placement),b=!y,w=xf(g),x="x"===w?"y":"x",S=t.modifiersData.popperOffsets,E=t.rects.reference,k=t.rects.popper,C="function"===typeof v?v(Object.assign({},t.rects,{placement:t.placement})):v,O="number"===typeof C?{mainAxis:C,altAxis:C}:Object.assign({mainAxis:0,altAxis:0},C),j=t.modifiersData.offset?t.modifiersData.offset[t.placement]:null,T={x:0,y:0};if(S){if(o){var P,N="y"===w?Cf:Tf,_="y"===w?Of:jf,R="y"===w?"height":"width",I=S[w],L=I+m[N],M=I-m[_],D=p?-k[R]/2:0,A=y===_f?E[R]:k[R],F=y===_f?-k[R]:-E[R],z=t.elements.arrow,B=p&&z?ff(z):{width:0,height:0},V=t.modifiersData["arrow#persistent"]?t.modifiersData["arrow#persistent"].padding:{top:0,right:0,bottom:0,left:0},U=V[N],W=V[_],H=Sf(0,E[R],B[R]),K=b?E[R]/2-D-H-U-O.mainAxis:A-H-U-O.mainAxis,Z=b?-E[R]/2+D+H+W+O.mainAxis:F+H+W+O.mainAxis,G=t.elements.arrow&&wf(t.elements.arrow),q=G?"y"===w?G.clientTop||0:G.clientLeft||0:0,X=null!=(P=null==j?void 0:j[w])?P:0,$=I+Z-X,Y=Sf(p?cf(L,I+K-X-q):L,I,p?lf(M,$):M);S[w]=Y,T[w]=Y-I}if(s){var J,Q="x"===w?Cf:Tf,ee="x"===w?Of:jf,te=S[x],ne="y"===x?"height":"width",re=te+m[Q],ie=te-m[ee],oe=-1!==[Cf,Tf].indexOf(g),ae=null!=(J=null==j?void 0:j[x])?J:0,se=oe?re:te-E[ne]-k[ne]-ae+O.altAxis,le=oe?te+E[ne]+k[ne]-ae-O.altAxis:ie,ce=p&&oe?function(e,t,n){var r=Sf(e,t,n);return r>n?n:r}(se,te,le):Sf(p?se:re,te,p?le:ie);S[x]=ce,T[x]=ce-te}t.modifiersData[r]=T}},requiresIfExists:["offset"]};function up(e,t,n){void 0===n&&(n=!1);var r=af(t),i=af(t)&&function(e){var t=e.getBoundingClientRect(),n=uf(t.width)/e.offsetWidth||1,r=uf(t.height)/e.offsetHeight||1;return 1!==n||1!==r}(t),o=gf(t),a=df(e,i),s={scrollLeft:0,scrollTop:0},l={x:0,y:0};return(r||!r&&!n)&&(("body"!==hf(t)||Yf(o))&&(s=function(e){return e!==rf(e)&&af(e)?{scrollLeft:(t=e).scrollLeft,scrollTop:t.scrollTop}:Xf(e);var t}(t)),af(t)?((l=df(t,!0)).x+=t.clientLeft,l.y+=t.clientTop):o&&(l.x=$f(o))),{x:a.left+s.scrollLeft-l.x,y:a.top+s.scrollTop-l.y,width:a.width,height:a.height}}function dp(e){var t=new Map,n=new Set,r=[];function i(e){n.add(e.name),[].concat(e.requires||[],e.requiresIfExists||[]).forEach((function(e){if(!n.has(e)){var r=t.get(e);r&&i(r)}})),r.push(e)}return e.forEach((function(e){t.set(e.name,e)})),e.forEach((function(e){n.has(e.name)||i(e)})),r}function fp(e){var t;return function(){return t||(t=new Promise((function(n){Promise.resolve().then((function(){t=void 0,n(e())}))}))),t}}var pp={placement:"bottom",modifiers:[],strategy:"absolute"};function hp(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return!t.some((function(e){return!(e&&"function"===typeof e.getBoundingClientRect)}))}function vp(e){void 0===e&&(e={});var t=e,n=t.defaultModifiers,r=void 0===n?[]:n,i=t.defaultOptions,o=void 0===i?pp:i;return function(e,t,n){void 0===n&&(n=o);var i={placement:"bottom",orderedModifiers:[],options:Object.assign({},pp,o),modifiersData:{},elements:{reference:e,popper:t},attributes:{},styles:{}},a=[],s=!1,l={state:i,setOptions:function(n){var s="function"===typeof n?n(i.options):n;c(),i.options=Object.assign({},o,i.options,s),i.scrollParents={reference:of(e)?Qf(e):e.contextElement?Qf(e.contextElement):[],popper:Qf(t)};var u=function(e){var t=dp(e);return Af.reduce((function(e,n){return e.concat(t.filter((function(e){return e.phase===n})))}),[])}(function(e){var t=e.reduce((function(e,t){var n=e[t.name];return e[t.name]=n?Object.assign({},n,t,{options:Object.assign({},n.options,t.options),data:Object.assign({},n.data,t.data)}):t,e}),{});return Object.keys(t).map((function(e){return t[e]}))}([].concat(r,i.options.modifiers)));return i.orderedModifiers=u.filter((function(e){return e.enabled})),i.orderedModifiers.forEach((function(e){var t=e.name,n=e.options,r=void 0===n?{}:n,o=e.effect;if("function"===typeof o){var s=o({state:i,name:t,instance:l,options:r}),c=function(){};a.push(s||c)}})),l.update()},forceUpdate:function(){if(!s){var e=i.elements,t=e.reference,n=e.popper;if(hp(t,n)){i.rects={reference:up(t,wf(n),"fixed"===i.options.strategy),popper:ff(n)},i.reset=!1,i.placement=i.options.placement,i.orderedModifiers.forEach((function(e){return i.modifiersData[e.name]=Object.assign({},e.data)}));for(var r=0;r<i.orderedModifiers.length;r++)if(!0!==i.reset){var o=i.orderedModifiers[r],a=o.fn,c=o.options,u=void 0===c?{}:c,d=o.name;"function"===typeof a&&(i=a({state:i,options:u,name:d,instance:l})||i)}else i.reset=!1,r=-1}}},update:fp((function(){return new Promise((function(e){l.forceUpdate(),e(i)}))})),destroy:function(){c(),s=!0}};if(!hp(e,t))return l;function c(){a.forEach((function(e){return e()})),a=[]}return l.setOptions(n).then((function(e){!s&&n.onFirstUpdate&&n.onFirstUpdate(e)})),l}}var mp=vp({defaultModifiers:[{name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:function(e){var t=e.state,n=e.name,r=t.rects.reference,i=t.rects.popper,o=t.modifiersData.preventOverflow,a=ip(t,{elementContext:"reference"}),s=ip(t,{altBoundary:!0}),l=ap(a,r),c=ap(s,i,o),u=sp(l),d=sp(c);t.modifiersData[n]={referenceClippingOffsets:l,popperEscapeOffsets:c,isReferenceHidden:u,hasPopperEscaped:d},t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-reference-hidden":u,"data-popper-escaped":d})}},{name:"popperOffsets",enabled:!0,phase:"read",fn:function(e){var t=e.state,n=e.name;t.modifiersData[n]=rp({reference:t.rects.reference,element:t.rects.popper,strategy:"absolute",placement:t.placement})},data:{}},Uf,Hf,lp,op,cp,Ff]}),gp=["enabled","placement","strategy","modifiers"];function yp(e,t){if(null==e)return{};var n,r,i={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||(i[n]=e[n]);return i}var bp={name:"applyStyles",enabled:!1,phase:"afterWrite",fn:function(){}},wp={name:"ariaDescribedBy",enabled:!0,phase:"afterWrite",effect:function(e){var t=e.state;return function(){var e=t.elements,n=e.reference,r=e.popper;if("removeAttribute"in n){var i=(n.getAttribute("aria-describedby")||"").split(",").filter((function(e){return e.trim()!==r.id}));i.length?n.setAttribute("aria-describedby",i.join(",")):n.removeAttribute("aria-describedby")}}},fn:function(e){var t,n=e.state.elements,r=n.popper,i=n.reference,o=null==(t=r.getAttribute("role"))?void 0:t.toLowerCase();if(r.id&&"tooltip"===o&&"setAttribute"in i){var a=i.getAttribute("aria-describedby");if(a&&-1!==a.split(",").indexOf(r.id))return;i.setAttribute("aria-describedby",a?"".concat(a,",").concat(r.id):r.id)}}},xp=[];var Sp=function(t,n){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},i=r.enabled,o=void 0===i||i,a=r.placement,s=void 0===a?"bottom":a,l=r.strategy,c=void 0===l?"absolute":l,u=r.modifiers,d=void 0===u?xp:u,f=yp(r,gp),p=(0,e.useRef)(d),h=(0,e.useRef)(),v=(0,e.useCallback)((function(){var e;null==(e=h.current)||e.update()}),[]),m=(0,e.useCallback)((function(){var e;null==(e=h.current)||e.forceUpdate()}),[]),g=tf((0,e.useState)({placement:s,update:v,forceUpdate:m,attributes:{},styles:{popper:{},arrow:{}}})),y=xs(g,2),b=y[0],w=y[1],x=(0,e.useMemo)((function(){return{name:"updateStateModifier",enabled:!0,phase:"write",requires:["computeStyles"],fn:function(e){var t=e.state,n={},r={};Object.keys(t.elements).forEach((function(e){n[e]=t.styles[e],r[e]=t.attributes[e]})),w({state:t,styles:n,attributes:r,update:v,forceUpdate:m,placement:t.placement})}}}),[v,m,w]),S=(0,e.useMemo)((function(){return ef(p.current,d)||(p.current=d),p.current}),[d]);return(0,e.useEffect)((function(){h.current&&o&&h.current.setOptions({placement:s,strategy:c,modifiers:[].concat(Xc(S),[x,bp])})}),[c,s,x,o,S]),(0,e.useEffect)((function(){if(o&&null!=t&&null!=n)return h.current=mp(t,n,Object.assign({},f,{placement:s,strategy:c,modifiers:[].concat(Xc(S),[wp,x])})),function(){null!=h.current&&(h.current.destroy(),h.current=void 0,w((function(e){return Object.assign({},e,{attributes:{},styles:{popper:{}}})})))}}),[o,t,n]),b},Ep=n(2391),kp=n.n(Ep),Cp=function(){};function Op(e){return 0===e.button}function jp(e){return!!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)}var Tp=function(e){return e&&("current"in e?e.current:e)};var Pp=function(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:Cp,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},i=r.disabled,o=r.clickTrigger,a=void 0===o?"click":o,s=(0,e.useRef)(!1),l=(0,e.useCallback)((function(e){var n=Tp(t);kp()(!!n,"ClickOutside captured a close event but does not have a ref to compare it to. useClickOutside(), should be passed a ref that resolves to a DOM node"),s.current=!n||jp(e)||!Op(e)||!!Kc(n,e.target)}),[t]),c=Bc((function(e){s.current||n(e)}));(0,e.useEffect)((function(){if(!i&&null!=t){var e=Wl(Tp(t)),n=(e.defaultView||window).event,r=pc(e,a,l,!0),o=pc(e,a,(function(e){e!==n?c(e):n=void 0})),s=[];return"ontouchstart"in e.documentElement&&(s=[].slice.call(e.body.children).map((function(e){return pc(e,"mousemove",Cp)}))),function(){r(),o(),s.forEach((function(e){return e()}))}}}),[t,i,a,l,c])};function Np(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return Array.isArray(e)?e:Object.keys(e).map((function(t){return e[t].name=t,e[t]}))}function _p(e){var t,n,r,i,o=e.enabled,a=e.enableEvents,s=e.placement,l=e.flip,c=e.offset,u=e.fixed,d=e.containerPadding,f=e.arrowElement,p=e.popperConfig,h=void 0===p?{}:p,v=function(e){var t={};return Array.isArray(e)?(null==e||e.forEach((function(e){t[e.name]=e})),t):e||t}(h.modifiers);return Object.assign({},h,{placement:s,enabled:o,strategy:u?"fixed":h.strategy,modifiers:Np(Object.assign({},v,{eventListeners:{enabled:a},preventOverflow:Object.assign({},v.preventOverflow,{options:d?Object.assign({padding:d},null==(t=v.preventOverflow)?void 0:t.options):null==(n=v.preventOverflow)?void 0:n.options}),offset:{options:Object.assign({offset:c},null==(r=v.offset)?void 0:r.options)},arrow:Object.assign({},v.arrow,{enabled:!!f,options:Object.assign({},null==(i=v.arrow)?void 0:i.options,{element:f})}),flip:Object.assign({enabled:!!l},v.flip)}))})}var Rp=["children"];var Ip=function(){};function Lp(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=(0,e.useContext)(Yd),r=zd(),i=xs(r,2),o=i[0],a=i[1],s=(0,e.useRef)(!1),l=t.flip,c=t.offset,u=t.rootCloseEvent,d=t.fixed,f=void 0!==d&&d,p=t.placement,h=t.popperConfig,v=void 0===h?{}:h,m=t.enableEventListeners,g=void 0===m||m,y=t.usePopper,b=void 0===y?!!n:y,w=null==(null==n?void 0:n.show)?!!t.show:n.show;w&&!s.current&&(s.current=!0);var x=function(e){null==n||n.toggle(!1,e)},S=n||{},E=S.placement,k=S.setMenu,C=S.menuElement,O=S.toggleElement,j=Sp(O,C,_p({placement:p||E||"bottom-start",enabled:b,enableEvents:null==g?w:g,offset:c,flip:l,fixed:f,arrowElement:o,popperConfig:v})),T=Object.assign({ref:k||Ip,"aria-labelledby":null==O?void 0:O.id},j.attributes.popper,{style:j.styles.popper}),P={show:w,placement:E,hasShown:s.current,toggle:null==n?void 0:n.toggle,popper:b?j:null,arrowProps:b?Object.assign({ref:a},j.attributes.arrow,{style:j.styles.arrow}):{}};return Pp(C,x,{clickTrigger:u,disabled:!w}),[T,P]}function Mp(e){var t=e.children,n=function(e,t){if(null==e)return{};var n,r,i={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||(i[n]=e[n]);return i}(e,Rp),r=xs(Lp(n),2),i=r[0],o=r[1];return(0,Il.jsx)(Il.Fragment,{children:t(i,o)})}Mp.displayName="DropdownMenu",Mp.defaultProps={usePopper:!0};var Dp=Mp,Ap={prefix:String(Math.round(1e10*Math.random())),current:0},Fp=e.createContext(Ap);var zp=Boolean("undefined"!==typeof window&&window.document&&window.document.createElement);var Bp=function(e){var t;return"menu"===(null==(t=e.getAttribute("role"))?void 0:t.toLowerCase())},Vp=function(){};function Up(){var t=function(t){var n=(0,e.useContext)(Fp);return n!==Ap||zp||console.warn("When server rendering, you must wrap your application in an <SSRProvider> to ensure consistent ids are generated between the client and server."),(0,e.useMemo)((function(){return t||"react-aria"+n.prefix+"-"+ ++n.current}),[t])}(),n=(0,e.useContext)(Yd)||{},r=n.show,i=void 0!==r&&r,o=n.toggle,a=void 0===o?Vp:o,s=n.setToggle,l=n.menuElement,c=(0,e.useCallback)((function(e){a(!i,e)}),[i,a]),u={id:t,ref:s||Vp,onClick:c,"aria-expanded":!!i};return l&&Bp(l)&&(u["aria-haspopup"]=!0),[u,{show:i,toggle:a}]}function Wp(e){var t=e.children,n=xs(Up(),2),r=n[0],i=n[1];return(0,Il.jsx)(Il.Fragment,{children:t(r,i)})}Wp.displayName="DropdownToggle";var Hp=Wp,Kp=["eventKey","disabled","onClick","active","as"];function Zp(t){var n=t.key,r=t.href,i=t.active,o=t.disabled,a=t.onClick,s=(0,e.useContext)(kl),l=((0,e.useContext)(xd)||{}).activeKey,c=El(n,r),u=null==i&&null!=n?El(l)===c:i;return[ml({onClick:Bc((function(e){o||(null==a||a(e),s&&!e.isPropagationStopped()&&s(c,e))})),"aria-disabled":o||void 0,"aria-selected":u},Qc("dropdown-item"),""),{isActive:u}]}var Gp=e.forwardRef((function(e,t){var n=e.eventKey,r=e.disabled,i=e.onClick,o=e.active,a=e.as,s=void 0===a?Od:a,l=function(e,t){if(null==e)return{};var n,r,i={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||(i[n]=e[n]);return i}(e,Kp),c=xs(Zp({key:n,href:l.href,disabled:r,onClick:i,active:o}),1)[0];return(0,Il.jsx)(s,Object.assign({},l,{ref:t},c))}));Gp.displayName="DropdownItem";var qp=Gp;function Xp(){var t=bd(),n=(0,e.useRef)(null),r=(0,e.useCallback)((function(e){n.current=e,t()}),[t]);return[n,r]}function $p(t){var n=t.defaultShow,r=t.show,i=t.onSelect,o=t.onToggle,a=t.itemSelector,s=void 0===a?"* [".concat(Qc("dropdown-item"),"]"):a,l=t.focusFirstItemOnShow,c=t.placement,u=void 0===c?"bottom-start":c,d=t.children,f=iu(),p=xs(jl(r,n,o),2),h=p[0],v=p[1],m=xs(Xp(),2),g=m[0],y=m[1],b=g.current,w=xs(Xp(),2),x=w[0],S=w[1],E=x.current,k=qc(h),C=(0,e.useRef)(null),O=(0,e.useRef)(!1),j=(0,e.useContext)(kl),T=(0,e.useCallback)((function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null==t?void 0:t.type;v(e,{originalEvent:t,source:n})}),[v]),P=Bc((function(e,t){null==i||i(e,t),T(!1,t,"select"),t.isPropagationStopped()||null==j||j(e,t)})),N=(0,e.useMemo)((function(){return{toggle:T,placement:u,show:h,menuElement:b,toggleElement:E,setMenu:y,setToggle:S}}),[T,u,h,b,E,y,S]);b&&k&&!h&&(O.current=b.contains(b.ownerDocument.activeElement));var _=Bc((function(){E&&E.focus&&E.focus()})),R=Bc((function(){var e=C.current,t=l;if(null==t&&(t=!(!g.current||!Bp(g.current))&&"keyboard"),!1!==t&&("keyboard"!==t||/^key.+$/.test(e))){var n=Gu(g.current,s)[0];n&&n.focus&&n.focus()}}));(0,e.useEffect)((function(){h?R():O.current&&(O.current=!1,_())}),[h,O,_,R]),(0,e.useEffect)((function(){C.current=null}));var I=function(e,t){if(!g.current)return null;var n=Gu(g.current,s),r=n.indexOf(e)+t;return n[r=Math.max(0,Math.min(r,n.length))]};return function(t,n,r,i){void 0===i&&(i=!1);var o=Bc(r);(0,e.useEffect)((function(){var e="function"===typeof t?t():t;return e.addEventListener(n,o,i),function(){return e.removeEventListener(n,o,i)}}),[t])}((0,e.useCallback)((function(){return f.document}),[f]),"keydown",(function(e){var t,n,r=e.key,i=e.target,o=null==(t=g.current)?void 0:t.contains(i),a=null==(n=x.current)?void 0:n.contains(i);if((!/input|textarea/i.test(i.tagName)||!(" "===r||"Escape"!==r&&o||"Escape"===r&&"search"===i.type))&&(o||a)&&("Tab"!==r||g.current&&h)){C.current=e.type;var s={originalEvent:e,source:e.type};switch(r){case"ArrowUp":var l=I(i,-1);return l&&l.focus&&l.focus(),void e.preventDefault();case"ArrowDown":if(e.preventDefault(),h){var c=I(i,1);c&&c.focus&&c.focus()}else v(!0,s);return;case"Tab":dc(i.ownerDocument,"keyup",(function(e){var t;("Tab"!==e.key||e.target)&&null!=(t=g.current)&&t.contains(e.target)||v(!1,s)}),{once:!0});break;case"Escape":"Escape"===r&&(e.preventDefault(),e.stopPropagation()),v(!1,s)}}})),(0,Il.jsx)(kl.Provider,{value:P,children:(0,Il.jsx)(Yd.Provider,{value:N,children:d})})}$p.displayName="Dropdown",$p.Menu=Dp,$p.Toggle=Hp,$p.Item=qp;var Yp=$p,Jp=e.createContext({});Jp.displayName="DropdownContext";var Qp=Jp,eh=["bsPrefix","className","eventKey","disabled","onClick","active","as"],th=e.forwardRef((function(e,t){var n=e.bsPrefix,r=e.className,i=e.eventKey,o=e.disabled,a=void 0!==o&&o,s=e.onClick,l=e.active,c=e.as,u=void 0===c?Hd:c,d=wl(e,eh),f=Ml(n,"dropdown-item"),p=xs(Zp({key:i,href:d.href,disabled:a,onClick:s,active:l}),2),h=p[0],v=p[1];return(0,Il.jsx)(u,yl(yl(yl({},d),h),{},{ref:t,className:Sl()(r,f,v.isActive&&"active",a&&"disabled")}))}));th.displayName="DropdownItem";var nh=th,rh=e.createContext(null);rh.displayName="InputGroupContext";var ih=rh;function oh(e,t){return e}var ah=["bsPrefix","className","align","rootCloseEvent","flip","show","renderOnMount","as","popperConfig","variant"];function sh(e,t,n){var r=e?n?"bottom-start":"bottom-end":n?"bottom-end":"bottom-start";return"up"===t?r=e?n?"top-start":"top-end":n?"top-end":"top-start":"end"===t?r=e?n?"left-end":"right-end":n?"left-start":"right-start":"start"===t&&(r=e?n?"right-end":"left-end":n?"right-start":"left-start"),r}var lh=e.forwardRef((function(t,n){var r=t.bsPrefix,i=t.className,o=t.align,a=t.rootCloseEvent,s=t.flip,l=t.show,c=t.renderOnMount,u=t.as,d=void 0===u?"div":u,f=t.popperConfig,p=t.variant,h=wl(t,ah),v=!1,m=(0,e.useContext)(Mc),g=Ml(r,"dropdown-menu"),y=(0,e.useContext)(Qp),b=y.align,w=y.drop,x=y.isRTL;o=o||b;var S=(0,e.useContext)(ih),E=[];if(o)if("object"===typeof o){var k=Object.keys(o);if(k.length){var C=k[0],O=o[C];v="start"===O,E.push("".concat(g,"-").concat(C,"-").concat(O))}}else"end"===o&&(v=!0);var j=sh(v,w,x),T=xs(Lp({flip:s,rootCloseEvent:a,show:l,usePopper:!m&&0===E.length,offset:[0,2],popperConfig:f,placement:j}),2),P=T[0],N=T[1],_=N.hasShown,R=N.popper,I=N.show,L=N.toggle;if(P.ref=xc(oh(n),P.ref),Vd((function(){I&&(null==R||R.update())}),[I]),!_&&!c&&!S)return null;"string"!==typeof d&&(P.show=I,P.close=function(){return null==L?void 0:L(!1)},P.align=o);var M=h.style;return null!=R&&R.placement&&(M=yl(yl({},h.style),P.style),h["x-placement"]=R.placement),(0,Il.jsx)(d,yl(yl(yl(yl({},h),P),{},{style:M},(E.length||m)&&{"data-bs-popper":"static"}),{},{className:Sl().apply(void 0,[i,g,I&&"show",v&&"".concat(g,"-end"),p&&"".concat(g,"-").concat(p)].concat(E))}))}));lh.displayName="DropdownMenu",lh.defaultProps={flip:!0};var ch=lh,uh=["as","bsPrefix","variant","size","active","className"],dh=e.forwardRef((function(e,t){var n=e.as,r=e.bsPrefix,i=e.variant,o=e.size,a=e.active,s=e.className,l=wl(e,uh),c=Ml(r,"btn"),u=xs(kd(yl({tagName:n},l)),2),d=u[0],f=u[1].tagName;return(0,Il.jsx)(f,yl(yl(yl({},d),l),{},{ref:t,className:Sl()(s,c,a&&"active",i&&"".concat(c,"-").concat(i),o&&"".concat(c,"-").concat(o),l.href&&l.disabled&&"disabled")}))}));dh.displayName="Button",dh.defaultProps={variant:"primary",active:!1,disabled:!1};var fh=dh,ph=["bsPrefix","split","className","childBsPrefix","as"],hh=e.forwardRef((function(t,n){var r=t.bsPrefix,i=t.split,o=t.className,a=t.childBsPrefix,s=t.as,l=void 0===s?fh:s,c=wl(t,ph),u=Ml(r,"dropdown-toggle"),d=(0,e.useContext)(Yd),f=(0,e.useContext)(ih);void 0!==a&&(c.bsPrefix=a);var p=xs(Up(),1)[0];return p.ref=xc(p.ref,oh(n)),(0,Il.jsx)(l,yl(yl({className:Sl()(o,u,i&&"".concat(u,"-split"),!!f&&(null==d?void 0:d.show)&&"show")},p),c))}));hh.displayName="DropdownToggle";var vh=hh,mh=["bsPrefix","drop","show","className","align","onSelect","onToggle","focusFirstItemOnShow","as","navbar","autoClose"],gh=zl("dropdown-header",{defaultProps:{role:"heading"}}),yh=zl("dropdown-divider",{Component:"hr",defaultProps:{role:"separator"}}),bh=zl("dropdown-item-text",{Component:"span"}),wh=e.forwardRef((function(t,n){var r=Tl(t,{show:"onToggle"}),i=r.bsPrefix,o=r.drop,a=r.show,s=r.className,l=r.align,c=r.onSelect,u=r.onToggle,d=r.focusFirstItemOnShow,f=r.as,p=void 0===f?"div":f,h=(r.navbar,r.autoClose),v=wl(r,mh),m=(0,e.useContext)(ih),g=Ml(i,"dropdown"),y=Dl(),b=Bc((function(e,t){var n;t.originalEvent.currentTarget!==document||"keydown"===t.source&&"Escape"!==t.originalEvent.key||(t.source="rootClose"),n=t.source,(!1===h?"click"===n:"inside"===h?"rootClose"!==n:"outside"!==h||"select"!==n)&&(null==u||u(e,t))})),w=sh("end"===l,o,y),x=(0,e.useMemo)((function(){return{align:l,drop:o,isRTL:y}}),[l,o,y]);return(0,Il.jsx)(Qp.Provider,{value:x,children:(0,Il.jsx)(Yp,{placement:w,show:a,onSelect:c,onToggle:b,focusFirstItemOnShow:d,itemSelector:".".concat(g,"-item:not(.disabled):not(:disabled)"),children:m?v.children:(0,Il.jsx)(p,yl(yl({},v),{},{ref:n,className:Sl()(s,a&&"show",(!o||"down"===o)&&g,"up"===o&&"dropup","end"===o&&"dropend","start"===o&&"dropstart")}))})})}));wh.displayName="Dropdown",wh.defaultProps={navbar:!1,align:"start",autoClose:!0};var xh=Object.assign(wh,{Toggle:vh,Menu:ch,Item:nh,ItemText:bh,Divider:yh,Header:gh}),Sh=["id","title","children","bsPrefix","className","rootCloseEvent","menuRole","disabled","active","renderMenuOnMount","menuVariant"],Eh=e.forwardRef((function(e,t){var n=e.id,r=e.title,i=e.children,o=e.bsPrefix,a=e.className,s=e.rootCloseEvent,l=e.menuRole,c=e.disabled,u=e.active,d=e.renderMenuOnMount,f=e.menuVariant,p=wl(e,Sh),h=Ml(void 0,"nav-item");return(0,Il.jsxs)(xh,yl(yl({ref:t},p),{},{className:Sl()(a,h),children:[(0,Il.jsx)(xh.Toggle,{id:n,eventKey:null,active:u,disabled:c,childBsPrefix:o,as:Gd,children:r}),(0,Il.jsx)(xh.Menu,{role:l,renderOnMount:d,rootCloseEvent:s,variant:f,children:i})]}))}));Eh.displayName="NavDropdown";var kh=Object.assign(Eh,{Item:xh.Item,ItemText:xh.ItemText,Divider:xh.Divider,Header:xh.Header});function Ch(){function e(e){var t=(Math.random().toString(16)+"000000000").substr(2,8);return e?"-"+t.substr(0,4)+"-"+t.substr(4,4):t}return e()+e(!0)+e(!0)+e()}var Oh=function(t){var n=t.type,r={colors:pl,activeMode:"dark",offlineStorageKey:"react-random-key"},i=xs(vl()(r),2),o=i[0],a=i[1],s=ms(),l=s.user,c=s.logout,u=(s.getAccessTokenSilently,xs((0,e.useState)(null),2));u[0],u[1];return(0,Il.jsxs)(Il.Fragment,{children:["desktop"===n&&(0,Il.jsx)(fd,{className:"navbar-desktop desktop-display",expand:"lg",children:(0,Il.jsxs)(vd,{children:[(0,Il.jsxs)(fd.Brand,{as:ul,to:"/",children:[(0,Il.jsx)("div",{className:"logo-full d-inline-block align-top",children:(0,Il.jsxs)("svg",{className:"logo-full-svg",viewBox:"0 0 1244 341",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[(0,Il.jsx)("path",{className:"logo-start-text",d:"M331.36 269C329.248 269 327.52 268.328 326.176 266.984C324.832 265.64 324.16 263.912 324.16 261.8V74.6C324.16 72.488 324.832 70.76 326.176 69.416C327.52 68.072 329.248 67.4 331.36 67.4H465.856C467.968 67.4 469.696 68.072 471.04 69.416C472.384 70.76 473.056 72.488 473.056 74.6V101.672C473.056 103.784 472.384 105.512 471.04 106.856C469.696 108.2 467.968 108.872 465.856 108.872H373.984V147.752H459.52C461.632 147.752 463.36 148.52 464.704 150.056C466.048 151.4 466.72 153.128 466.72 155.24V180.296C466.72 182.216 466.048 183.944 464.704 185.48C463.36 186.824 461.632 187.496 459.52 187.496H373.984V227.528H468.16C470.272 227.528 472 228.2 473.344 229.544C474.688 230.888 475.36 232.616 475.36 234.728V261.8C475.36 263.912 474.688 265.64 473.344 266.984C472 268.328 470.272 269 468.16 269H331.36ZM583.266 271.88C564.066 271.88 548.13 269.192 535.458 263.816C522.786 258.248 513.186 251.048 506.658 242.216C500.13 233.384 496.674 223.976 496.29 213.992C496.29 212.456 496.866 211.112 498.018 209.96C499.362 208.616 500.898 207.944 502.626 207.944H538.914C541.602 207.944 543.618 208.424 544.962 209.384C546.498 210.344 547.842 211.592 548.994 213.128C550.53 216.008 552.642 218.792 555.33 221.48C558.21 224.168 561.858 226.376 566.274 228.104C570.882 229.64 576.546 230.408 583.266 230.408C594.402 230.408 602.754 228.68 608.322 225.224C614.082 221.768 616.962 217.064 616.962 211.112C616.962 206.888 615.426 203.432 612.354 200.744C609.282 197.864 604.29 195.368 597.378 193.256C590.658 190.952 581.634 188.648 570.306 186.344C555.714 183.272 543.234 179.336 532.866 174.536C522.69 169.544 514.914 163.112 509.538 155.24C504.162 147.176 501.474 137.192 501.474 125.288C501.474 113.576 504.738 103.112 511.266 93.896C517.986 84.68 527.298 77.48 539.202 72.296C551.106 67.112 565.218 64.52 581.538 64.52C594.786 64.52 606.402 66.248 616.386 69.704C626.562 73.16 635.106 77.768 642.018 83.528C648.93 89.288 654.114 95.432 657.57 101.96C661.218 108.296 663.138 114.536 663.33 120.68C663.33 122.216 662.754 123.656 661.602 125C660.45 126.152 659.01 126.728 657.281 126.728H619.266C617.154 126.728 615.33 126.344 613.794 125.576C612.258 124.808 610.914 123.56 609.762 121.832C608.61 117.608 605.538 113.96 600.546 110.888C595.746 107.624 589.41 105.992 581.538 105.992C573.09 105.992 566.466 107.528 561.666 110.6C557.058 113.48 554.754 117.992 554.754 124.136C554.754 127.976 556.002 131.336 558.498 134.216C561.186 137.096 565.506 139.592 571.458 141.704C577.602 143.816 585.954 146.024 596.514 148.328C613.986 151.592 628.098 155.72 638.85 160.712C649.602 165.512 657.474 171.848 662.466 179.72C667.458 187.4 669.954 197.096 669.954 208.808C669.954 221.864 666.21 233.192 658.722 242.792C651.426 252.2 641.25 259.4 628.194 264.392C615.138 269.384 600.162 271.88 583.266 271.88Z"}),(0,Il.jsx)("path",{className:"logo-end-text",d:"M750.712 269C748.6 269 746.872 268.328 745.528 266.984C744.184 265.64 743.512 263.912 743.512 261.8V112.616H692.248C690.136 112.616 688.408 111.944 687.064 110.6C685.72 109.064 685.048 107.336 685.048 105.416V74.6C685.048 72.488 685.72 70.76 687.064 69.416C688.408 68.072 690.136 67.4 692.248 67.4H847.192C849.304 67.4 851.032 68.072 852.376 69.416C853.72 70.76 854.392 72.488 854.392 74.6V105.416C854.392 107.336 853.72 109.064 852.376 110.6C851.032 111.944 849.304 112.616 847.192 112.616H795.928V261.8C795.928 263.912 795.256 265.64 793.912 266.984C792.568 268.328 790.84 269 788.728 269H750.712ZM887.766 269C885.654 269 883.926 268.328 882.582 266.984C881.238 265.64 880.566 263.912 880.566 261.8V74.6C880.566 72.488 881.238 70.76 882.582 69.416C883.926 68.072 885.654 67.4 887.766 67.4H1022.26C1024.37 67.4 1026.1 68.072 1027.45 69.416C1028.79 70.76 1029.46 72.488 1029.46 74.6V101.672C1029.46 103.784 1028.79 105.512 1027.45 106.856C1026.1 108.2 1024.37 108.872 1022.26 108.872H930.39V147.752H1015.93C1018.04 147.752 1019.77 148.52 1021.11 150.056C1022.45 151.4 1023.13 153.128 1023.13 155.24V180.296C1023.13 182.216 1022.45 183.944 1021.11 185.48C1019.77 186.824 1018.04 187.496 1015.93 187.496H930.39V227.528H1024.57C1026.68 227.528 1028.41 228.2 1029.75 229.544C1031.09 230.888 1031.77 232.616 1031.77 234.728V261.8C1031.77 263.912 1031.09 265.64 1029.75 266.984C1028.41 268.328 1026.68 269 1024.57 269H887.766ZM1071.7 269C1069.59 269 1067.86 268.328 1066.52 266.984C1065.18 265.64 1064.5 263.912 1064.5 261.8V74.6C1064.5 72.488 1065.18 70.76 1066.52 69.416C1067.86 68.072 1069.59 67.4 1071.7 67.4H1150.04C1174.81 67.4 1194.3 73.16 1208.5 84.68C1222.9 96.008 1230.1 112.136 1230.1 133.064C1230.1 146.696 1226.74 158.216 1220.02 167.624C1213.5 177.032 1204.86 184.136 1194.1 188.936L1233.85 259.784C1234.42 260.936 1234.71 261.992 1234.71 262.952C1234.71 264.488 1234.04 265.928 1232.7 267.272C1231.54 268.424 1230.1 269 1228.38 269H1190.36C1186.71 269 1184.02 268.136 1182.3 266.408C1180.57 264.488 1179.32 262.76 1178.55 261.224L1145.72 197.864H1116.06V261.8C1116.06 263.912 1115.38 265.64 1114.04 266.984C1112.7 268.328 1110.97 269 1108.86 269H1071.7ZM1116.06 157.256H1149.46C1158.49 157.256 1165.21 155.048 1169.62 150.632C1174.23 146.216 1176.54 140.168 1176.54 132.488C1176.54 125 1174.33 118.952 1169.91 114.344C1165.69 109.736 1158.87 107.432 1149.46 107.432H1116.06V157.256Z"}),(0,Il.jsx)("path",{className:"logo-face",d:"M290 166.186C290 241.027 226.351 279 147.835 279C69.3196 279 77.5 235.342 77.5 160.5C77.5 85.6584 69.3196 51 147.835 51C226.351 51 290 91.3442 290 166.186Z"}),(0,Il.jsx)("path",{className:"logo-mouth",d:"M145 234.5C145 241.956 134.926 248 122.5 248C110.074 248 103.5 241.956 103.5 234.5C103.5 227.044 110.074 221 122.5 221C134.926 221 145 227.044 145 234.5Z"}),(0,Il.jsx)("g",{filter:"url(#filter0_d_18_2)",children:(0,Il.jsx)("rect",{className:"logo-goggle",x:"50",y:"120",width:"130",height:"64",rx:"32",fill:"#14dca0"})}),(0,Il.jsx)("path",{className:"logo-shine",d:"M77.5 152C77.5 162.493 78.1797 171 71 171C63.8203 171 58 162.493 58 152C58 141.507 63.8203 133 71 133C78.1797 133 77.5 141.507 77.5 152Z"}),(0,Il.jsx)("defs",{children:(0,Il.jsxs)("filter",{id:"filter0_d_18_2",x:"0",y:"70",width:"230",height:"164",filterUnits:"userSpaceOnUse",colorInterpolationFilters:"sRGB",children:[(0,Il.jsx)("feFlood",{floodOpacity:"0",result:"BackgroundImageFix"}),(0,Il.jsx)("feColorMatrix",{in:"SourceAlpha",type:"matrix",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0",result:"hardAlpha"}),(0,Il.jsx)("feOffset",{}),(0,Il.jsx)("feGaussianBlur",{stdDeviation:"25"}),(0,Il.jsx)("feComposite",{in2:"hardAlpha",operator:"out"}),(0,Il.jsx)("feColorMatrix",{type:"matrix",values:"0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 0.17 0"}),(0,Il.jsx)("feBlend",{mode:"normal",in2:"BackgroundImageFix",result:"effect1_dropShadow_18_2"}),(0,Il.jsx)("feBlend",{mode:"normal",in:"SourceGraphic",in2:"effect1_dropShadow_18_2",result:"shape"})]})})]})}),(0,Il.jsx)(yd,{className:"logo-badge",pill:!0,children:"v2"},Ch())]}),(0,Il.jsx)(fd.Toggle,{"aria-controls":"basic-navbar-nav"}),(0,Il.jsxs)(fd.Collapse,{id:"basic-navbar-nav",children:[(0,Il.jsxs)($d,{className:"me-auto",children:[(0,Il.jsxs)($d.Link,{as:ul,to:"/",children:[(0,Il.jsx)("i",{className:"icon-navbar color-1 bi bi-house"}),"Home"]}),(0,Il.jsxs)($d.Link,{as:ul,to:"/search",children:[(0,Il.jsx)("i",{className:"icon-navbar color-1 bi bi-search"}),"Search"]})]}),(0,Il.jsx)("button",{className:"Server-round-button",onClick:function(){return a()},children:"light"===o?(0,Il.jsx)("i",{className:"bi bi-moon-stars-fill"}):(0,Il.jsx)("i",{className:"bi bi-sun-fill"})}),l&&(0,Il.jsxs)(kh,{className:"user-profile-button",title:(0,Il.jsx)("div",{className:"profile-avatar-wrapper",children:(0,Il.jsx)("img",{className:"profile-avatar",src:l.picture,alt:""})}),children:[(0,Il.jsxs)(xh.Item,{href:"#/action-1",children:[(0,Il.jsx)("i",{class:"bi bi-person-fill"}),"\xa0",l.name]}),(0,Il.jsxs)(xh.Item,{href:"#/action-2",children:[(0,Il.jsx)("i",{className:"bi bi-gear-fill"}),"\xa0Settings"]}),(0,Il.jsxs)(xh.Item,{onClick:function(){return c({returnTo:window.location.origin})},href:"#/action-2",children:[(0,Il.jsx)("i",{class:"bi bi-box-arrow-left"}),"\xa0Log out"]})]}),!l&&(0,Il.jsx)(kh,{className:"user-profile-button",title:(0,Il.jsx)("i",{className:"bi bi-person-circle"}),children:(0,Il.jsxs)(xh.Item,{onClick:function(){return c({returnTo:window.location.origin})},href:"#/action-2",children:[(0,Il.jsx)("i",{class:"bi bi-box-arrow-right"}),"\xa0Log in"]})})]})]})}),"mobile"===n&&(0,Il.jsxs)($d,{className:"navbar-mobile mobile-display fixed-bottom justify-content-between",activeKey:"/home",children:[(0,Il.jsx)($d.Item,{children:(0,Il.jsx)($d.Link,{as:ul,to:"/",children:(0,Il.jsx)("div",{className:"logo-small",children:(0,Il.jsxs)("svg",{className:"logo-small-svg",viewBox:"0 0 290 228",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[(0,Il.jsx)("path",{className:"logo-face",d:"M290 115.186C290 190.027 226.351 228 147.835 228C69.3196 228 77.5 184.342 77.5 109.5C77.5 34.6584 69.3196 0 147.835 0C226.351 0 290 40.3442 290 115.186Z"}),(0,Il.jsx)("path",{className:"logo-mouth",d:"M144.5 184.5C144.5 191.956 134.426 198 122 198C109.574 198 103 191.956 103 184.5C103 177.044 109.574 171 122 171C134.426 171 144.5 177.044 144.5 184.5Z",fill:"white"}),(0,Il.jsx)("g",{filter:"url(#filter0_d_24_6)",children:(0,Il.jsx)("rect",{className:"logo-goggle",x:"50",y:"69",width:"130",height:"64",rx:"32"})}),(0,Il.jsx)("path",{className:"logo-shine",d:"M76.5 101C76.5 111.493 77.1797 120 70 120C62.8203 120 57 111.493 57 101C57 90.5066 62.8203 82 70 82C77.1797 82 76.5 90.5066 76.5 101Z"}),(0,Il.jsx)("defs",{children:(0,Il.jsxs)("filter",{id:"filter0_d_24_6",x:"0",y:"19",width:"230",height:"164",filterUnits:"userSpaceOnUse",colorInterpolationFilters:"sRGB",children:[(0,Il.jsx)("feFlood",{floodOpacity:"0",result:"BackgroundImageFix"}),(0,Il.jsx)("feColorMatrix",{in:"SourceAlpha",type:"matrix",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0",result:"hardAlpha"}),(0,Il.jsx)("feOffset",{}),(0,Il.jsx)("feGaussianBlur",{stdDeviation:"25"}),(0,Il.jsx)("feComposite",{in2:"hardAlpha",operator:"out"}),(0,Il.jsx)("feColorMatrix",{type:"matrix",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.12 0"}),(0,Il.jsx)("feBlend",{mode:"normal",in2:"BackgroundImageFix",result:"effect1_dropShadow_24_6"}),(0,Il.jsx)("feBlend",{mode:"normal",in:"SourceGraphic",in2:"effect1_dropShadow_24_6",result:"shape"})]})})]})})})}),(0,Il.jsx)($d.Item,{children:(0,Il.jsx)($d.Link,{as:ul,to:"/",children:(0,Il.jsx)("i",{className:"icon-navbar color-2 bi bi-search"})})}),(0,Il.jsx)($d.Item,{children:(0,Il.jsx)($d.Link,{as:ul,to:"/",children:(0,Il.jsx)("i",{className:"icon-navbar color-2 bi bi-collection-fill"})})}),(0,Il.jsx)($d.Item,{children:(0,Il.jsx)($d.Link,{as:ul,to:"/",children:(0,Il.jsx)("i",{className:"icon-navbar color-2 bi bi-gear-fill"})})})]}),"desktopPlaceholder"===n&&(0,Il.jsx)(fd,{className:"navbar-desktop desktop-display",expand:"lg",children:(0,Il.jsxs)(vd,{children:[(0,Il.jsxs)(fd.Brand,{href:"/",children:[(0,Il.jsx)("div",{className:"logo-full d-inline-block align-top",children:(0,Il.jsxs)("svg",{className:"logo-full-svg",viewBox:"0 0 1244 341",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[(0,Il.jsx)("path",{className:"logo-start-text",d:"M331.36 269C329.248 269 327.52 268.328 326.176 266.984C324.832 265.64 324.16 263.912 324.16 261.8V74.6C324.16 72.488 324.832 70.76 326.176 69.416C327.52 68.072 329.248 67.4 331.36 67.4H465.856C467.968 67.4 469.696 68.072 471.04 69.416C472.384 70.76 473.056 72.488 473.056 74.6V101.672C473.056 103.784 472.384 105.512 471.04 106.856C469.696 108.2 467.968 108.872 465.856 108.872H373.984V147.752H459.52C461.632 147.752 463.36 148.52 464.704 150.056C466.048 151.4 466.72 153.128 466.72 155.24V180.296C466.72 182.216 466.048 183.944 464.704 185.48C463.36 186.824 461.632 187.496 459.52 187.496H373.984V227.528H468.16C470.272 227.528 472 228.2 473.344 229.544C474.688 230.888 475.36 232.616 475.36 234.728V261.8C475.36 263.912 474.688 265.64 473.344 266.984C472 268.328 470.272 269 468.16 269H331.36ZM583.266 271.88C564.066 271.88 548.13 269.192 535.458 263.816C522.786 258.248 513.186 251.048 506.658 242.216C500.13 233.384 496.674 223.976 496.29 213.992C496.29 212.456 496.866 211.112 498.018 209.96C499.362 208.616 500.898 207.944 502.626 207.944H538.914C541.602 207.944 543.618 208.424 544.962 209.384C546.498 210.344 547.842 211.592 548.994 213.128C550.53 216.008 552.642 218.792 555.33 221.48C558.21 224.168 561.858 226.376 566.274 228.104C570.882 229.64 576.546 230.408 583.266 230.408C594.402 230.408 602.754 228.68 608.322 225.224C614.082 221.768 616.962 217.064 616.962 211.112C616.962 206.888 615.426 203.432 612.354 200.744C609.282 197.864 604.29 195.368 597.378 193.256C590.658 190.952 581.634 188.648 570.306 186.344C555.714 183.272 543.234 179.336 532.866 174.536C522.69 169.544 514.914 163.112 509.538 155.24C504.162 147.176 501.474 137.192 501.474 125.288C501.474 113.576 504.738 103.112 511.266 93.896C517.986 84.68 527.298 77.48 539.202 72.296C551.106 67.112 565.218 64.52 581.538 64.52C594.786 64.52 606.402 66.248 616.386 69.704C626.562 73.16 635.106 77.768 642.018 83.528C648.93 89.288 654.114 95.432 657.57 101.96C661.218 108.296 663.138 114.536 663.33 120.68C663.33 122.216 662.754 123.656 661.602 125C660.45 126.152 659.01 126.728 657.281 126.728H619.266C617.154 126.728 615.33 126.344 613.794 125.576C612.258 124.808 610.914 123.56 609.762 121.832C608.61 117.608 605.538 113.96 600.546 110.888C595.746 107.624 589.41 105.992 581.538 105.992C573.09 105.992 566.466 107.528 561.666 110.6C557.058 113.48 554.754 117.992 554.754 124.136C554.754 127.976 556.002 131.336 558.498 134.216C561.186 137.096 565.506 139.592 571.458 141.704C577.602 143.816 585.954 146.024 596.514 148.328C613.986 151.592 628.098 155.72 638.85 160.712C649.602 165.512 657.474 171.848 662.466 179.72C667.458 187.4 669.954 197.096 669.954 208.808C669.954 221.864 666.21 233.192 658.722 242.792C651.426 252.2 641.25 259.4 628.194 264.392C615.138 269.384 600.162 271.88 583.266 271.88Z"}),(0,Il.jsx)("path",{className:"logo-end-text",d:"M750.712 269C748.6 269 746.872 268.328 745.528 266.984C744.184 265.64 743.512 263.912 743.512 261.8V112.616H692.248C690.136 112.616 688.408 111.944 687.064 110.6C685.72 109.064 685.048 107.336 685.048 105.416V74.6C685.048 72.488 685.72 70.76 687.064 69.416C688.408 68.072 690.136 67.4 692.248 67.4H847.192C849.304 67.4 851.032 68.072 852.376 69.416C853.72 70.76 854.392 72.488 854.392 74.6V105.416C854.392 107.336 853.72 109.064 852.376 110.6C851.032 111.944 849.304 112.616 847.192 112.616H795.928V261.8C795.928 263.912 795.256 265.64 793.912 266.984C792.568 268.328 790.84 269 788.728 269H750.712ZM887.766 269C885.654 269 883.926 268.328 882.582 266.984C881.238 265.64 880.566 263.912 880.566 261.8V74.6C880.566 72.488 881.238 70.76 882.582 69.416C883.926 68.072 885.654 67.4 887.766 67.4H1022.26C1024.37 67.4 1026.1 68.072 1027.45 69.416C1028.79 70.76 1029.46 72.488 1029.46 74.6V101.672C1029.46 103.784 1028.79 105.512 1027.45 106.856C1026.1 108.2 1024.37 108.872 1022.26 108.872H930.39V147.752H1015.93C1018.04 147.752 1019.77 148.52 1021.11 150.056C1022.45 151.4 1023.13 153.128 1023.13 155.24V180.296C1023.13 182.216 1022.45 183.944 1021.11 185.48C1019.77 186.824 1018.04 187.496 1015.93 187.496H930.39V227.528H1024.57C1026.68 227.528 1028.41 228.2 1029.75 229.544C1031.09 230.888 1031.77 232.616 1031.77 234.728V261.8C1031.77 263.912 1031.09 265.64 1029.75 266.984C1028.41 268.328 1026.68 269 1024.57 269H887.766ZM1071.7 269C1069.59 269 1067.86 268.328 1066.52 266.984C1065.18 265.64 1064.5 263.912 1064.5 261.8V74.6C1064.5 72.488 1065.18 70.76 1066.52 69.416C1067.86 68.072 1069.59 67.4 1071.7 67.4H1150.04C1174.81 67.4 1194.3 73.16 1208.5 84.68C1222.9 96.008 1230.1 112.136 1230.1 133.064C1230.1 146.696 1226.74 158.216 1220.02 167.624C1213.5 177.032 1204.86 184.136 1194.1 188.936L1233.85 259.784C1234.42 260.936 1234.71 261.992 1234.71 262.952C1234.71 264.488 1234.04 265.928 1232.7 267.272C1231.54 268.424 1230.1 269 1228.38 269H1190.36C1186.71 269 1184.02 268.136 1182.3 266.408C1180.57 264.488 1179.32 262.76 1178.55 261.224L1145.72 197.864H1116.06V261.8C1116.06 263.912 1115.38 265.64 1114.04 266.984C1112.7 268.328 1110.97 269 1108.86 269H1071.7ZM1116.06 157.256H1149.46C1158.49 157.256 1165.21 155.048 1169.62 150.632C1174.23 146.216 1176.54 140.168 1176.54 132.488C1176.54 125 1174.33 118.952 1169.91 114.344C1165.69 109.736 1158.87 107.432 1149.46 107.432H1116.06V157.256Z"}),(0,Il.jsx)("path",{className:"logo-face",d:"M290 166.186C290 241.027 226.351 279 147.835 279C69.3196 279 77.5 235.342 77.5 160.5C77.5 85.6584 69.3196 51 147.835 51C226.351 51 290 91.3442 290 166.186Z"}),(0,Il.jsx)("path",{className:"logo-mouth",d:"M145 234.5C145 241.956 134.926 248 122.5 248C110.074 248 103.5 241.956 103.5 234.5C103.5 227.044 110.074 221 122.5 221C134.926 221 145 227.044 145 234.5Z"}),(0,Il.jsx)("g",{filter:"url(#filter0_d_18_2)",children:(0,Il.jsx)("rect",{className:"logo-goggle",x:"50",y:"120",width:"130",height:"64",rx:"32",fill:"#14dca0"})}),(0,Il.jsx)("path",{className:"logo-shine",d:"M77.5 152C77.5 162.493 78.1797 171 71 171C63.8203 171 58 162.493 58 152C58 141.507 63.8203 133 71 133C78.1797 133 77.5 141.507 77.5 152Z"}),(0,Il.jsx)("defs",{children:(0,Il.jsxs)("filter",{id:"filter0_d_18_2",x:"0",y:"70",width:"230",height:"164",filterUnits:"userSpaceOnUse",colorInterpolationFilters:"sRGB",children:[(0,Il.jsx)("feFlood",{floodOpacity:"0",result:"BackgroundImageFix"}),(0,Il.jsx)("feColorMatrix",{in:"SourceAlpha",type:"matrix",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0",result:"hardAlpha"}),(0,Il.jsx)("feOffset",{}),(0,Il.jsx)("feGaussianBlur",{stdDeviation:"25"}),(0,Il.jsx)("feComposite",{in2:"hardAlpha",operator:"out"}),(0,Il.jsx)("feColorMatrix",{type:"matrix",values:"0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 0.17 0"}),(0,Il.jsx)("feBlend",{mode:"normal",in2:"BackgroundImageFix",result:"effect1_dropShadow_18_2"}),(0,Il.jsx)("feBlend",{mode:"normal",in:"SourceGraphic",in2:"effect1_dropShadow_18_2",result:"shape"})]})})]})}),(0,Il.jsx)(yd,{className:"logo-badge",pill:!0,children:"v2"},Ch())]}),(0,Il.jsx)(fd.Toggle,{"aria-controls":"basic-navbar-nav"}),(0,Il.jsxs)(fd.Collapse,{id:"basic-navbar-nav",children:[(0,Il.jsxs)($d,{className:"me-auto",children:[(0,Il.jsxs)($d.Link,{href:"/",children:[(0,Il.jsx)("i",{className:"icon-navbar color-1 bi bi-house"}),"Home"]}),(0,Il.jsxs)($d.Link,{href:"/",children:[(0,Il.jsx)("i",{className:"icon-navbar color-1 bi bi-search"}),"Search"]})]}),(0,Il.jsx)("button",{className:"Server-round-button",onClick:function(){return a()},children:"light"===o?(0,Il.jsx)("i",{className:"bi bi-moon-stars-fill"}):(0,Il.jsx)("i",{className:"bi bi-sun-fill"})})]})]})}),"mobilePlaceholder"===n&&(0,Il.jsxs)($d,{className:"navbar-mobile mobile-display fixed-bottom justify-content-between",activeKey:"/home",children:[(0,Il.jsx)($d.Item,{children:(0,Il.jsx)($d.Link,{href:"/",children:(0,Il.jsx)("div",{className:"logo-small",children:(0,Il.jsxs)("svg",{className:"logo-small-svg",viewBox:"0 0 290 228",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[(0,Il.jsx)("path",{className:"logo-face",d:"M290 115.186C290 190.027 226.351 228 147.835 228C69.3196 228 77.5 184.342 77.5 109.5C77.5 34.6584 69.3196 0 147.835 0C226.351 0 290 40.3442 290 115.186Z"}),(0,Il.jsx)("path",{className:"logo-mouth",d:"M144.5 184.5C144.5 191.956 134.426 198 122 198C109.574 198 103 191.956 103 184.5C103 177.044 109.574 171 122 171C134.426 171 144.5 177.044 144.5 184.5Z",fill:"white"}),(0,Il.jsx)("g",{filter:"url(#filter0_d_24_6)",children:(0,Il.jsx)("rect",{className:"logo-goggle",x:"50",y:"69",width:"130",height:"64",rx:"32"})}),(0,Il.jsx)("path",{className:"logo-shine",d:"M76.5 101C76.5 111.493 77.1797 120 70 120C62.8203 120 57 111.493 57 101C57 90.5066 62.8203 82 70 82C77.1797 82 76.5 90.5066 76.5 101Z"}),(0,Il.jsx)("defs",{children:(0,Il.jsxs)("filter",{id:"filter0_d_24_6",x:"0",y:"19",width:"230",height:"164",filterUnits:"userSpaceOnUse",colorInterpolationFilters:"sRGB",children:[(0,Il.jsx)("feFlood",{floodOpacity:"0",result:"BackgroundImageFix"}),(0,Il.jsx)("feColorMatrix",{in:"SourceAlpha",type:"matrix",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0",result:"hardAlpha"}),(0,Il.jsx)("feOffset",{}),(0,Il.jsx)("feGaussianBlur",{stdDeviation:"25"}),(0,Il.jsx)("feComposite",{in2:"hardAlpha",operator:"out"}),(0,Il.jsx)("feColorMatrix",{type:"matrix",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.12 0"}),(0,Il.jsx)("feBlend",{mode:"normal",in2:"BackgroundImageFix",result:"effect1_dropShadow_24_6"}),(0,Il.jsx)("feBlend",{mode:"normal",in:"SourceGraphic",in2:"effect1_dropShadow_24_6",result:"shape"})]})})]})})})}),(0,Il.jsx)($d.Item,{children:(0,Il.jsx)($d.Link,{href:"/",children:(0,Il.jsx)("i",{className:"icon-navbar color-2 bi bi-search"})})}),(0,Il.jsx)($d.Item,{children:(0,Il.jsx)($d.Link,{href:"/",children:(0,Il.jsx)("i",{className:"icon-navbar color-2 bi bi-collection-fill"})})}),(0,Il.jsx)($d.Item,{children:(0,Il.jsx)($d.Link,{href:"/",children:(0,Il.jsx)("i",{className:"icon-navbar color-2 bi bi-gear-fill"})})})]})]})},jh=function(e){var t=e.type;return(0,Il.jsx)(Oh,{accounts:[],categories:[],type:t})},Th=function(){Ws();var e=Us(),t=e.pathname.split("/")[1],n=e.pathname.split("/")[2],r=e.pathname.split("/")[3];return(0,Il.jsx)(fd,{className:"mobile-navigation mobile-display",children:(0,Il.jsxs)(vd,{className:"navigation-back",children:[void 0===r&&(0,Il.jsx)(ul,{to:"/",children:(0,Il.jsx)(fh,{children:(0,Il.jsx)("i",{className:"bi bi-arrow-left-short"})})}),r&&(0,Il.jsx)(ul,{to:"/"+t+"/"+n,children:(0,Il.jsx)(fh,{children:(0,Il.jsx)("i",{className:"bi bi-arrow-left-short"})})})]})})},Ph=n(4569),Nh=n.n(Ph);var _h=function(t,n){var r=(0,e.useRef)(!0);(0,e.useEffect)((function(){if(!r.current)return t();r.current=!1}),n)},Rh=Math.pow(2,31)-1;function Ih(e,t,n){var r=n-Date.now();e.current=r<=Rh?setTimeout(t,r):setTimeout((function(){return Ih(e,t,n)}),Rh)}function Lh(){var t=Zc(),n=(0,e.useRef)();return Gc((function(){return clearTimeout(n.current)})),(0,e.useMemo)((function(){var e=function(){return clearTimeout(n.current)};return{set:function(r,i){void 0===i&&(i=0),t()&&(e(),i<=Rh?n.current=setTimeout(r,i):Ih(n,r,Date.now()+i))},clear:e}}),[])}var Mh=zl("carousel-caption"),Dh=["as","bsPrefix","className"],Ah=e.forwardRef((function(e,t){var n=e.as,r=void 0===n?"div":n,i=e.bsPrefix,o=e.className,a=wl(e,Dh),s=Sl()(o,Ml(i,"carousel-item"));return(0,Il.jsx)(r,yl(yl({ref:t},a),{},{className:s}))}));Ah.displayName="CarouselItem";var Fh=Ah;function zh(t,n){var r=0;return e.Children.map(t,(function(t){return e.isValidElement(t)?n(t,r++):t}))}var Bh=["as","bsPrefix","slide","fade","controls","indicators","indicatorLabels","activeIndex","onSelect","onSlide","onSlid","interval","keyboard","onKeyDown","pause","onMouseOver","onMouseOut","wrap","touch","onTouchStart","onTouchMove","onTouchEnd","prevIcon","prevLabel","nextIcon","nextLabel","variant","className","children"],Vh={slide:!0,fade:!1,controls:!0,indicators:!0,indicatorLabels:[],defaultActiveIndex:0,interval:5e3,keyboard:!0,pause:"hover",wrap:!0,touch:!0,prevIcon:(0,Il.jsx)("span",{"aria-hidden":"true",className:"carousel-control-prev-icon"}),prevLabel:"Previous",nextIcon:(0,Il.jsx)("span",{"aria-hidden":"true",className:"carousel-control-next-icon"}),nextLabel:"Next"};var Uh=e.forwardRef((function(t,n){var r=Tl(t,{activeIndex:"onSelect"}),i=r.as,o=void 0===i?"div":i,a=r.bsPrefix,s=r.slide,l=r.fade,c=r.controls,u=r.indicators,d=r.indicatorLabels,f=r.activeIndex,p=r.onSelect,h=r.onSlide,v=r.onSlid,m=r.interval,g=r.keyboard,y=r.onKeyDown,b=r.pause,w=r.onMouseOver,x=r.onMouseOut,S=r.wrap,E=r.touch,k=r.onTouchStart,C=r.onTouchMove,O=r.onTouchEnd,j=r.prevIcon,T=r.prevLabel,P=r.nextIcon,N=r.nextLabel,_=r.variant,R=r.className,I=r.children,L=wl(r,Bh),M=Ml(a,"carousel"),D=Dl(),A=(0,e.useRef)(null),F=xs((0,e.useState)("next"),2),z=F[0],B=F[1],V=xs((0,e.useState)(!1),2),U=V[0],W=V[1],H=xs((0,e.useState)(!1),2),K=H[0],Z=H[1],G=xs((0,e.useState)(f||0),2),q=G[0],X=G[1];K||f===q||(A.current?B(A.current):B((f||0)>q?"next":"prev"),s&&Z(!0),X(f||0)),(0,e.useEffect)((function(){A.current&&(A.current=null)}));var $,Y=0;!function(t,n){var r=0;e.Children.forEach(t,(function(t){e.isValidElement(t)&&n(t,r++)}))}(I,(function(e,t){++Y,t===f&&($=e.props.interval)}));var J=zc($),Q=(0,e.useCallback)((function(e){if(!K){var t=q-1;if(t<0){if(!S)return;t=Y-1}A.current="prev",null==p||p(t,e)}}),[K,q,p,S,Y]),ee=Bc((function(e){if(!K){var t=q+1;if(t>=Y){if(!S)return;t=0}A.current="next",null==p||p(t,e)}})),te=(0,e.useRef)();(0,e.useImperativeHandle)(n,(function(){return{element:te.current,prev:Q,next:ee}}));var ne=Bc((function(){!document.hidden&&function(e){if(!e||!e.style||!e.parentNode||!e.parentNode.style)return!1;var t=getComputedStyle(e);return"none"!==t.display&&"hidden"!==t.visibility&&"none"!==getComputedStyle(e.parentNode).display}(te.current)&&(D?Q():ee())})),re="next"===z?"start":"end";_h((function(){s||(null==h||h(q,re),null==v||v(q,re))}),[q]);var ie="".concat(M,"-item-").concat(z),oe="".concat(M,"-item-").concat(re),ae=(0,e.useCallback)((function(e){bc(e),null==h||h(q,re)}),[h,q,re]),se=(0,e.useCallback)((function(){Z(!1),null==v||v(q,re)}),[v,q,re]),le=(0,e.useCallback)((function(e){if(g&&!/input|textarea/i.test(e.target.tagName))switch(e.key){case"ArrowLeft":return e.preventDefault(),void(D?ee(e):Q(e));case"ArrowRight":return e.preventDefault(),void(D?Q(e):ee(e))}null==y||y(e)}),[g,y,Q,ee,D]),ce=(0,e.useCallback)((function(e){"hover"===b&&W(!0),null==w||w(e)}),[b,w]),ue=(0,e.useCallback)((function(e){W(!1),null==x||x(e)}),[x]),de=(0,e.useRef)(0),fe=(0,e.useRef)(0),pe=Lh(),he=(0,e.useCallback)((function(e){de.current=e.touches[0].clientX,fe.current=0,"hover"===b&&W(!0),null==k||k(e)}),[b,k]),ve=(0,e.useCallback)((function(e){e.touches&&e.touches.length>1?fe.current=0:fe.current=e.touches[0].clientX-de.current,null==C||C(e)}),[C]),me=(0,e.useCallback)((function(e){if(E){var t=fe.current;Math.abs(t)>40&&(t>0?Q(e):ee(e))}"hover"===b&&pe.set((function(){W(!1)}),m||void 0),null==O||O(e)}),[E,b,Q,ee,pe,m,O]),ge=null!=m&&!U&&!K,ye=(0,e.useRef)();(0,e.useEffect)((function(){var e,t;if(ge){var n=D?Q:ee;return ye.current=window.setInterval(document.visibilityState?ne:n,null!=(e=null!=(t=J.current)?t:m)?e:void 0),function(){null!==ye.current&&clearInterval(ye.current)}}}),[ge,Q,ee,J,m,ne,D]);var be=(0,e.useMemo)((function(){return u&&Array.from({length:Y},(function(e,t){return function(e){null==p||p(t,e)}}))}),[u,Y,p]);return(0,Il.jsxs)(o,yl(yl({ref:te},L),{},{onKeyDown:le,onMouseOver:ce,onMouseOut:ue,onTouchStart:he,onTouchMove:ve,onTouchEnd:me,className:Sl()(R,M,s&&"slide",l&&"".concat(M,"-fade"),_&&"".concat(M,"-").concat(_)),children:[u&&(0,Il.jsx)("div",{className:"".concat(M,"-indicators"),children:zh(I,(function(e,t){return(0,Il.jsx)("button",{type:"button","data-bs-target":"","aria-label":null!=d&&d.length?d[t]:"Slide ".concat(t+1),className:t===q?"active":void 0,onClick:be?be[t]:void 0,"aria-current":t===q},t)}))}),(0,Il.jsx)("div",{className:"".concat(M,"-inner"),children:zh(I,(function(t,n){var r=n===q;return s?(0,Il.jsx)(Oc,{in:r,onEnter:r?ae:void 0,onEntered:r?se:void 0,addEndListener:gc,children:function(n,i){return e.cloneElement(t,yl(yl({},i),{},{className:Sl()(t.props.className,r&&"entered"!==n&&ie,("entered"===n||"exiting"===n)&&"active",("entering"===n||"exiting"===n)&&oe)}))}}):e.cloneElement(t,{className:Sl()(t.props.className,r&&"active")})}))}),c&&(0,Il.jsxs)(Il.Fragment,{children:[(S||0!==f)&&(0,Il.jsxs)(Hd,{className:"".concat(M,"-control-prev"),onClick:Q,children:[j,T&&(0,Il.jsx)("span",{className:"visually-hidden",children:T})]}),(S||f!==Y-1)&&(0,Il.jsxs)(Hd,{className:"".concat(M,"-control-next"),onClick:ee,children:[P,N&&(0,Il.jsx)("span",{className:"visually-hidden",children:N})]})]})]}))}));Uh.displayName="Carousel",Uh.defaultProps=Vh;var Wh=Object.assign(Uh,{Caption:Mh,Item:Fh}),Hh=function(e){var t=e.metadata,n="",r="",i="",o="";return t&&t&&t.children&&(n=t.children),t&&t&&t.categoryInfo&&(r=t.categoryInfo),r&&"Movies"===r.type?(i="movie",o="Movie"):(i="serie",o="Serie"),(0,Il.jsx)(Wh,{fade:!0,style:{marginBottom:"25px"},children:n&&n.slice(0,5).map((function(e){return(0,Il.jsxs)(Wh.Item,{children:[(0,Il.jsx)(Wh.Caption,{style:{width:"100%"},children:(0,Il.jsxs)("div",{className:"container-home-info col-lg-6 g-0",children:[(0,Il.jsxs)("div",{className:"home-bg-info-0",children:[(0,Il.jsx)("img",{className:"img-fluid home-bg-logo hide",src:"",alt:""}),(0,Il.jsx)("h2",{className:"selectable",children:e.title})]}),(0,Il.jsxs)("div",{className:"home-bg-info-1",children:[(0,Il.jsx)("span",{className:"movie-year",children:e.releaseDate}),(0,Il.jsx)("span",{className:"break",children:"|"}),(0,Il.jsxs)("span",{className:"movie-age-rating",children:[e.adult?"R":"PG",(0,Il.jsx)("span",{className:"break",children:"|"}),o]})]}),(0,Il.jsx)("div",{className:"home-bg-info-2 hide",children:e.genres.map((function(e){return(0,Il.jsxs)("a",{href:"/#",children:["\xa0",(0,Il.jsxs)(yd,{pill:!0,text:"light",children:[(0,Il.jsx)("i",{className:"bi bi-record-circle-fill"}),e]})]},Ch())}))}),(0,Il.jsxs)("div",{className:"home-bg-info-3",children:[(0,Il.jsxs)(fh,{href:"/".concat(i,"/").concat(e.id),variant:"light",children:[(0,Il.jsx)("i",{className:"bi bi-play-fill"}),(0,Il.jsx)("span",{children:"Play Now"})]}),(0,Il.jsxs)(fh,{children:[(0,Il.jsx)("i",{className:"bi bi-plus-circle"}),(0,Il.jsx)("span",{children:"Add to List"})]})]})]})}),(0,Il.jsxs)("div",{className:"container-home-bg justify-content-center col-lg-8 g-0",children:[(0,Il.jsx)("div",{className:"item-bg-shadow-carousel"}),(0,Il.jsx)("img",{className:"img-fluid",src:e.backdropPath,alt:""})]})]},e.id)}))})};function Kh(e){return null!==e&&"object"===typeof e&&"constructor"in e&&e.constructor===Object}function Zh(e,t){void 0===e&&(e={}),void 0===t&&(t={}),Object.keys(t).forEach((function(n){"undefined"===typeof e[n]?e[n]=t[n]:Kh(t[n])&&Kh(e[n])&&Object.keys(t[n]).length>0&&Zh(e[n],t[n])}))}var Gh={body:{},addEventListener:function(){},removeEventListener:function(){},activeElement:{blur:function(){},nodeName:""},querySelector:function(){return null},querySelectorAll:function(){return[]},getElementById:function(){return null},createEvent:function(){return{initEvent:function(){}}},createElement:function(){return{children:[],childNodes:[],style:{},setAttribute:function(){},getElementsByTagName:function(){return[]}}},createElementNS:function(){return{}},importNode:function(){return null},location:{hash:"",host:"",hostname:"",href:"",origin:"",pathname:"",protocol:"",search:""}};function qh(){var e="undefined"!==typeof document?document:{};return Zh(e,Gh),e}var Xh={document:Gh,navigator:{userAgent:""},location:{hash:"",host:"",hostname:"",href:"",origin:"",pathname:"",protocol:"",search:""},history:{replaceState:function(){},pushState:function(){},go:function(){},back:function(){}},CustomEvent:function(){return this},addEventListener:function(){},removeEventListener:function(){},getComputedStyle:function(){return{getPropertyValue:function(){return""}}},Image:function(){},Date:function(){},screen:{},setTimeout:function(){},clearTimeout:function(){},matchMedia:function(){return{}},requestAnimationFrame:function(e){return"undefined"===typeof setTimeout?(e(),null):setTimeout(e,0)},cancelAnimationFrame:function(e){"undefined"!==typeof setTimeout&&clearTimeout(e)}};function $h(){var e="undefined"!==typeof window?window:{};return Zh(e,Xh),e}function Yh(e){return Yh=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},Yh(e)}function Jh(e,t){return Jh=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},Jh(e,t)}function Qh(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(ky){return!1}}function ev(e,t,n){return ev=Qh()?Reflect.construct:function(e,t,n){var r=[null];r.push.apply(r,t);var i=new(Function.bind.apply(e,r));return n&&Jh(i,n.prototype),i},ev.apply(null,arguments)}function tv(e){var t="function"===typeof Map?new Map:void 0;return tv=function(e){if(null===e||!function(e){return-1!==Function.toString.call(e).indexOf("[native code]")}(e))return e;if("function"!==typeof e)throw new TypeError("Super expression must either be null or a function");if("undefined"!==typeof t){if(t.has(e))return t.get(e);t.set(e,n)}function n(){return ev(e,arguments,Yh(this).constructor)}return n.prototype=Object.create(e.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}}),Jh(n,e)},tv(e)}var nv=function(e){var t,n;function r(t){var n;return function(e){var t=e.__proto__;Object.defineProperty(e,"__proto__",{get:function(){return t},set:function(e){t.__proto__=e}})}(function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(n=e.call.apply(e,[this].concat(t))||this)),n}return n=e,(t=r).prototype=Object.create(n.prototype),t.prototype.constructor=t,t.__proto__=n,r}(tv(Array));function rv(e){void 0===e&&(e=[]);var t=[];return e.forEach((function(e){Array.isArray(e)?t.push.apply(t,rv(e)):t.push(e)})),t}function iv(e,t){return Array.prototype.filter.call(e,t)}function ov(e,t){var n=$h(),r=qh(),i=[];if(!t&&e instanceof nv)return e;if(!e)return new nv(i);if("string"===typeof e){var o=e.trim();if(o.indexOf("<")>=0&&o.indexOf(">")>=0){var a="div";0===o.indexOf("<li")&&(a="ul"),0===o.indexOf("<tr")&&(a="tbody"),0!==o.indexOf("<td")&&0!==o.indexOf("<th")||(a="tr"),0===o.indexOf("<tbody")&&(a="table"),0===o.indexOf("<option")&&(a="select");var s=r.createElement(a);s.innerHTML=o;for(var l=0;l<s.childNodes.length;l+=1)i.push(s.childNodes[l])}else i=function(e,t){if("string"!==typeof e)return[e];for(var n=[],r=t.querySelectorAll(e),i=0;i<r.length;i+=1)n.push(r[i]);return n}(e.trim(),t||r)}else if(e.nodeType||e===n||e===r)i.push(e);else if(Array.isArray(e)){if(e instanceof nv)return e;i=e}return new nv(function(e){for(var t=[],n=0;n<e.length;n+=1)-1===t.indexOf(e[n])&&t.push(e[n]);return t}(i))}ov.fn=nv.prototype;var av="resize scroll".split(" ");function sv(e){return function(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];if("undefined"===typeof n[0]){for(var i=0;i<this.length;i+=1)av.indexOf(e)<0&&(e in this[i]?this[i][e]():ov(this[i]).trigger(e));return this}return this.on.apply(this,[e].concat(n))}}sv("click"),sv("blur"),sv("focus"),sv("focusin"),sv("focusout"),sv("keyup"),sv("keydown"),sv("keypress"),sv("submit"),sv("change"),sv("mousedown"),sv("mousemove"),sv("mouseup"),sv("mouseenter"),sv("mouseleave"),sv("mouseout"),sv("mouseover"),sv("touchstart"),sv("touchend"),sv("touchmove"),sv("resize"),sv("scroll");var lv={addClass:function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];var r=rv(t.map((function(e){return e.split(" ")})));return this.forEach((function(e){var t;(t=e.classList).add.apply(t,r)})),this},removeClass:function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];var r=rv(t.map((function(e){return e.split(" ")})));return this.forEach((function(e){var t;(t=e.classList).remove.apply(t,r)})),this},hasClass:function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];var r=rv(t.map((function(e){return e.split(" ")})));return iv(this,(function(e){return r.filter((function(t){return e.classList.contains(t)})).length>0})).length>0},toggleClass:function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];var r=rv(t.map((function(e){return e.split(" ")})));this.forEach((function(e){r.forEach((function(t){e.classList.toggle(t)}))}))},attr:function(e,t){if(1===arguments.length&&"string"===typeof e)return this[0]?this[0].getAttribute(e):void 0;for(var n=0;n<this.length;n+=1)if(2===arguments.length)this[n].setAttribute(e,t);else for(var r in e)this[n][r]=e[r],this[n].setAttribute(r,e[r]);return this},removeAttr:function(e){for(var t=0;t<this.length;t+=1)this[t].removeAttribute(e);return this},transform:function(e){for(var t=0;t<this.length;t+=1)this[t].style.transform=e;return this},transition:function(e){for(var t=0;t<this.length;t+=1)this[t].style.transitionDuration="string"!==typeof e?e+"ms":e;return this},on:function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];var r=t[0],i=t[1],o=t[2],a=t[3];function s(e){var t=e.target;if(t){var n=e.target.dom7EventData||[];if(n.indexOf(e)<0&&n.unshift(e),ov(t).is(i))o.apply(t,n);else for(var r=ov(t).parents(),a=0;a<r.length;a+=1)ov(r[a]).is(i)&&o.apply(r[a],n)}}function l(e){var t=e&&e.target&&e.target.dom7EventData||[];t.indexOf(e)<0&&t.unshift(e),o.apply(this,t)}"function"===typeof t[1]&&(r=t[0],o=t[1],a=t[2],i=void 0),a||(a=!1);for(var c,u=r.split(" "),d=0;d<this.length;d+=1){var f=this[d];if(i)for(c=0;c<u.length;c+=1){var p=u[c];f.dom7LiveListeners||(f.dom7LiveListeners={}),f.dom7LiveListeners[p]||(f.dom7LiveListeners[p]=[]),f.dom7LiveListeners[p].push({listener:o,proxyListener:s}),f.addEventListener(p,s,a)}else for(c=0;c<u.length;c+=1){var h=u[c];f.dom7Listeners||(f.dom7Listeners={}),f.dom7Listeners[h]||(f.dom7Listeners[h]=[]),f.dom7Listeners[h].push({listener:o,proxyListener:l}),f.addEventListener(h,l,a)}}return this},off:function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];var r=t[0],i=t[1],o=t[2],a=t[3];"function"===typeof t[1]&&(r=t[0],o=t[1],a=t[2],i=void 0),a||(a=!1);for(var s=r.split(" "),l=0;l<s.length;l+=1)for(var c=s[l],u=0;u<this.length;u+=1){var d=this[u],f=void 0;if(!i&&d.dom7Listeners?f=d.dom7Listeners[c]:i&&d.dom7LiveListeners&&(f=d.dom7LiveListeners[c]),f&&f.length)for(var p=f.length-1;p>=0;p-=1){var h=f[p];o&&h.listener===o||o&&h.listener&&h.listener.dom7proxy&&h.listener.dom7proxy===o?(d.removeEventListener(c,h.proxyListener,a),f.splice(p,1)):o||(d.removeEventListener(c,h.proxyListener,a),f.splice(p,1))}}return this},trigger:function(){for(var e=$h(),t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];for(var i=n[0].split(" "),o=n[1],a=0;a<i.length;a+=1)for(var s=i[a],l=0;l<this.length;l+=1){var c=this[l];if(e.CustomEvent){var u=new e.CustomEvent(s,{detail:o,bubbles:!0,cancelable:!0});c.dom7EventData=n.filter((function(e,t){return t>0})),c.dispatchEvent(u),c.dom7EventData=[],delete c.dom7EventData}}return this},transitionEnd:function(e){var t=this;return e&&t.on("transitionend",(function n(r){r.target===this&&(e.call(this,r),t.off("transitionend",n))})),this},outerWidth:function(e){if(this.length>0){if(e){var t=this.styles();return this[0].offsetWidth+parseFloat(t.getPropertyValue("margin-right"))+parseFloat(t.getPropertyValue("margin-left"))}return this[0].offsetWidth}return null},outerHeight:function(e){if(this.length>0){if(e){var t=this.styles();return this[0].offsetHeight+parseFloat(t.getPropertyValue("margin-top"))+parseFloat(t.getPropertyValue("margin-bottom"))}return this[0].offsetHeight}return null},styles:function(){var e=$h();return this[0]?e.getComputedStyle(this[0],null):{}},offset:function(){if(this.length>0){var e=$h(),t=qh(),n=this[0],r=n.getBoundingClientRect(),i=t.body,o=n.clientTop||i.clientTop||0,a=n.clientLeft||i.clientLeft||0,s=n===e?e.scrollY:n.scrollTop,l=n===e?e.scrollX:n.scrollLeft;return{top:r.top+s-o,left:r.left+l-a}}return null},css:function(e,t){var n,r=$h();if(1===arguments.length){if("string"!==typeof e){for(n=0;n<this.length;n+=1)for(var i in e)this[n].style[i]=e[i];return this}if(this[0])return r.getComputedStyle(this[0],null).getPropertyValue(e)}if(2===arguments.length&&"string"===typeof e){for(n=0;n<this.length;n+=1)this[n].style[e]=t;return this}return this},each:function(e){return e?(this.forEach((function(t,n){e.apply(t,[t,n])})),this):this},html:function(e){if("undefined"===typeof e)return this[0]?this[0].innerHTML:null;for(var t=0;t<this.length;t+=1)this[t].innerHTML=e;return this},text:function(e){if("undefined"===typeof e)return this[0]?this[0].textContent.trim():null;for(var t=0;t<this.length;t+=1)this[t].textContent=e;return this},is:function(e){var t,n,r=$h(),i=qh(),o=this[0];if(!o||"undefined"===typeof e)return!1;if("string"===typeof e){if(o.matches)return o.matches(e);if(o.webkitMatchesSelector)return o.webkitMatchesSelector(e);if(o.msMatchesSelector)return o.msMatchesSelector(e);for(t=ov(e),n=0;n<t.length;n+=1)if(t[n]===o)return!0;return!1}if(e===i)return o===i;if(e===r)return o===r;if(e.nodeType||e instanceof nv){for(t=e.nodeType?[e]:e,n=0;n<t.length;n+=1)if(t[n]===o)return!0;return!1}return!1},index:function(){var e,t=this[0];if(t){for(e=0;null!==(t=t.previousSibling);)1===t.nodeType&&(e+=1);return e}},eq:function(e){if("undefined"===typeof e)return this;var t=this.length;if(e>t-1)return ov([]);if(e<0){var n=t+e;return ov(n<0?[]:[this[n]])}return ov([this[e]])},append:function(){for(var e,t=qh(),n=0;n<arguments.length;n+=1){e=n<0||arguments.length<=n?void 0:arguments[n];for(var r=0;r<this.length;r+=1)if("string"===typeof e){var i=t.createElement("div");for(i.innerHTML=e;i.firstChild;)this[r].appendChild(i.firstChild)}else if(e instanceof nv)for(var o=0;o<e.length;o+=1)this[r].appendChild(e[o]);else this[r].appendChild(e)}return this},prepend:function(e){var t,n,r=qh();for(t=0;t<this.length;t+=1)if("string"===typeof e){var i=r.createElement("div");for(i.innerHTML=e,n=i.childNodes.length-1;n>=0;n-=1)this[t].insertBefore(i.childNodes[n],this[t].childNodes[0])}else if(e instanceof nv)for(n=0;n<e.length;n+=1)this[t].insertBefore(e[n],this[t].childNodes[0]);else this[t].insertBefore(e,this[t].childNodes[0]);return this},next:function(e){return this.length>0?e?this[0].nextElementSibling&&ov(this[0].nextElementSibling).is(e)?ov([this[0].nextElementSibling]):ov([]):this[0].nextElementSibling?ov([this[0].nextElementSibling]):ov([]):ov([])},nextAll:function(e){var t=[],n=this[0];if(!n)return ov([]);for(;n.nextElementSibling;){var r=n.nextElementSibling;e?ov(r).is(e)&&t.push(r):t.push(r),n=r}return ov(t)},prev:function(e){if(this.length>0){var t=this[0];return e?t.previousElementSibling&&ov(t.previousElementSibling).is(e)?ov([t.previousElementSibling]):ov([]):t.previousElementSibling?ov([t.previousElementSibling]):ov([])}return ov([])},prevAll:function(e){var t=[],n=this[0];if(!n)return ov([]);for(;n.previousElementSibling;){var r=n.previousElementSibling;e?ov(r).is(e)&&t.push(r):t.push(r),n=r}return ov(t)},parent:function(e){for(var t=[],n=0;n<this.length;n+=1)null!==this[n].parentNode&&(e?ov(this[n].parentNode).is(e)&&t.push(this[n].parentNode):t.push(this[n].parentNode));return ov(t)},parents:function(e){for(var t=[],n=0;n<this.length;n+=1)for(var r=this[n].parentNode;r;)e?ov(r).is(e)&&t.push(r):t.push(r),r=r.parentNode;return ov(t)},closest:function(e){var t=this;return"undefined"===typeof e?ov([]):(t.is(e)||(t=t.parents(e).eq(0)),t)},find:function(e){for(var t=[],n=0;n<this.length;n+=1)for(var r=this[n].querySelectorAll(e),i=0;i<r.length;i+=1)t.push(r[i]);return ov(t)},children:function(e){for(var t=[],n=0;n<this.length;n+=1)for(var r=this[n].children,i=0;i<r.length;i+=1)e&&!ov(r[i]).is(e)||t.push(r[i]);return ov(t)},filter:function(e){return ov(iv(this,e))},remove:function(){for(var e=0;e<this.length;e+=1)this[e].parentNode&&this[e].parentNode.removeChild(this[e]);return this}};Object.keys(lv).forEach((function(e){Object.defineProperty(ov.fn,e,{value:lv[e],writable:!0})}));var cv,uv,dv,fv=ov;function pv(e,t){return void 0===t&&(t=0),setTimeout(e,t)}function hv(){return Date.now()}function vv(e,t){void 0===t&&(t="x");var n,r,i,o=$h(),a=function(e){var t,n=$h();return n.getComputedStyle&&(t=n.getComputedStyle(e,null)),!t&&e.currentStyle&&(t=e.currentStyle),t||(t=e.style),t}(e);return o.WebKitCSSMatrix?((r=a.transform||a.webkitTransform).split(",").length>6&&(r=r.split(", ").map((function(e){return e.replace(",",".")})).join(", ")),i=new o.WebKitCSSMatrix("none"===r?"":r)):n=(i=a.MozTransform||a.OTransform||a.MsTransform||a.msTransform||a.transform||a.getPropertyValue("transform").replace("translate(","matrix(1, 0, 0, 1,")).toString().split(","),"x"===t&&(r=o.WebKitCSSMatrix?i.m41:16===n.length?parseFloat(n[12]):parseFloat(n[4])),"y"===t&&(r=o.WebKitCSSMatrix?i.m42:16===n.length?parseFloat(n[13]):parseFloat(n[5])),r||0}function mv(e){return"object"===typeof e&&null!==e&&e.constructor&&"Object"===Object.prototype.toString.call(e).slice(8,-1)}function gv(e){return"undefined"!==typeof window&&"undefined"!==typeof window.HTMLElement?e instanceof HTMLElement:e&&(1===e.nodeType||11===e.nodeType)}function yv(){for(var e=Object(arguments.length<=0?void 0:arguments[0]),t=["__proto__","constructor","prototype"],n=1;n<arguments.length;n+=1){var r=n<0||arguments.length<=n?void 0:arguments[n];if(void 0!==r&&null!==r&&!gv(r))for(var i=Object.keys(Object(r)).filter((function(e){return t.indexOf(e)<0})),o=0,a=i.length;o<a;o+=1){var s=i[o],l=Object.getOwnPropertyDescriptor(r,s);void 0!==l&&l.enumerable&&(mv(e[s])&&mv(r[s])?r[s].__swiper__?e[s]=r[s]:yv(e[s],r[s]):!mv(e[s])&&mv(r[s])?(e[s]={},r[s].__swiper__?e[s]=r[s]:yv(e[s],r[s])):e[s]=r[s])}}return e}function bv(e,t){Object.keys(t).forEach((function(n){mv(t[n])&&Object.keys(t[n]).forEach((function(r){"function"===typeof t[n][r]&&(t[n][r]=t[n][r].bind(e))})),e[n]=t[n]}))}function wv(e){return void 0===e&&(e=""),"."+e.trim().replace(/([\.:!\/])/g,"\\$1").replace(/ /g,".")}function xv(){return cv||(cv=function(){var e=$h(),t=qh();return{touch:!!("ontouchstart"in e||e.DocumentTouch&&t instanceof e.DocumentTouch),pointerEvents:!!e.PointerEvent&&"maxTouchPoints"in e.navigator&&e.navigator.maxTouchPoints>=0,observer:"MutationObserver"in e||"WebkitMutationObserver"in e,passiveListener:function(){var t=!1;try{var n=Object.defineProperty({},"passive",{get:function(){t=!0}});e.addEventListener("testPassiveListener",null,n)}catch(ky){}return t}(),gestures:"ongesturestart"in e}}()),cv}function Sv(e){return void 0===e&&(e={}),uv||(uv=function(e){var t=(void 0===e?{}:e).userAgent,n=xv(),r=$h(),i=r.navigator.platform,o=t||r.navigator.userAgent,a={ios:!1,android:!1},s=r.screen.width,l=r.screen.height,c=o.match(/(Android);?[\s\/]+([\d.]+)?/),u=o.match(/(iPad).*OS\s([\d_]+)/),d=o.match(/(iPod)(.*OS\s([\d_]+))?/),f=!u&&o.match(/(iPhone\sOS|iOS)\s([\d_]+)/),p="Win32"===i,h="MacIntel"===i;return!u&&h&&n.touch&&["1024x1366","1366x1024","834x1194","1194x834","834x1112","1112x834","768x1024","1024x768","820x1180","1180x820","810x1080","1080x810"].indexOf(s+"x"+l)>=0&&((u=o.match(/(Version)\/([\d.]+)/))||(u=[0,1,"13_0_0"]),h=!1),c&&!p&&(a.os="android",a.android=!0),(u||f||d)&&(a.os="ios",a.ios=!0),a}(e)),uv}function Ev(){return dv||(dv=function(){var e=$h();return{isEdge:!!e.navigator.userAgent.match(/Edge/g),isSafari:function(){var t=e.navigator.userAgent.toLowerCase();return t.indexOf("safari")>=0&&t.indexOf("chrome")<0&&t.indexOf("android")<0}(),isWebView:/(iPhone|iPod|iPad).*AppleWebKit(?!.*Safari)/i.test(e.navigator.userAgent)}}()),dv}var kv={name:"resize",create:function(){var e=this;yv(e,{resize:{observer:null,createObserver:function(){e&&!e.destroyed&&e.initialized&&(e.resize.observer=new ResizeObserver((function(t){var n=e.width,r=e.height,i=n,o=r;t.forEach((function(t){var n=t.contentBoxSize,r=t.contentRect,a=t.target;a&&a!==e.el||(i=r?r.width:(n[0]||n).inlineSize,o=r?r.height:(n[0]||n).blockSize)})),i===n&&o===r||e.resize.resizeHandler()})),e.resize.observer.observe(e.el))},removeObserver:function(){e.resize.observer&&e.resize.observer.unobserve&&e.el&&(e.resize.observer.unobserve(e.el),e.resize.observer=null)},resizeHandler:function(){e&&!e.destroyed&&e.initialized&&(e.emit("beforeResize"),e.emit("resize"))},orientationChangeHandler:function(){e&&!e.destroyed&&e.initialized&&e.emit("orientationchange")}}})},on:{init:function(e){var t=$h();e.params.resizeObserver&&"undefined"!==typeof $h().ResizeObserver?e.resize.createObserver():(t.addEventListener("resize",e.resize.resizeHandler),t.addEventListener("orientationchange",e.resize.orientationChangeHandler))},destroy:function(e){var t=$h();e.resize.removeObserver(),t.removeEventListener("resize",e.resize.resizeHandler),t.removeEventListener("orientationchange",e.resize.orientationChangeHandler)}}};function Cv(){return Cv=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Cv.apply(this,arguments)}var Ov={attach:function(e,t){void 0===t&&(t={});var n=$h(),r=this,i=new(n.MutationObserver||n.WebkitMutationObserver)((function(e){if(1!==e.length){var t=function(){r.emit("observerUpdate",e[0])};n.requestAnimationFrame?n.requestAnimationFrame(t):n.setTimeout(t,0)}else r.emit("observerUpdate",e[0])}));i.observe(e,{attributes:"undefined"===typeof t.attributes||t.attributes,childList:"undefined"===typeof t.childList||t.childList,characterData:"undefined"===typeof t.characterData||t.characterData}),r.observer.observers.push(i)},init:function(){var e=this;if(e.support.observer&&e.params.observer){if(e.params.observeParents)for(var t=e.$el.parents(),n=0;n<t.length;n+=1)e.observer.attach(t[n]);e.observer.attach(e.$el[0],{childList:e.params.observeSlideChildren}),e.observer.attach(e.$wrapperEl[0],{attributes:!1})}},destroy:function(){this.observer.observers.forEach((function(e){e.disconnect()})),this.observer.observers=[]}},jv={name:"observer",params:{observer:!1,observeParents:!1,observeSlideChildren:!1},create:function(){bv(this,{observer:Cv({},Ov,{observers:[]})})},on:{init:function(e){e.observer.init()},destroy:function(e){e.observer.destroy()}}},Tv={on:function(e,t,n){var r=this;if("function"!==typeof t)return r;var i=n?"unshift":"push";return e.split(" ").forEach((function(e){r.eventsListeners[e]||(r.eventsListeners[e]=[]),r.eventsListeners[e][i](t)})),r},once:function(e,t,n){var r=this;if("function"!==typeof t)return r;function i(){r.off(e,i),i.__emitterProxy&&delete i.__emitterProxy;for(var n=arguments.length,o=new Array(n),a=0;a<n;a++)o[a]=arguments[a];t.apply(r,o)}return i.__emitterProxy=t,r.on(e,i,n)},onAny:function(e,t){var n=this;if("function"!==typeof e)return n;var r=t?"unshift":"push";return n.eventsAnyListeners.indexOf(e)<0&&n.eventsAnyListeners[r](e),n},offAny:function(e){var t=this;if(!t.eventsAnyListeners)return t;var n=t.eventsAnyListeners.indexOf(e);return n>=0&&t.eventsAnyListeners.splice(n,1),t},off:function(e,t){var n=this;return n.eventsListeners?(e.split(" ").forEach((function(e){"undefined"===typeof t?n.eventsListeners[e]=[]:n.eventsListeners[e]&&n.eventsListeners[e].forEach((function(r,i){(r===t||r.__emitterProxy&&r.__emitterProxy===t)&&n.eventsListeners[e].splice(i,1)}))})),n):n},emit:function(){var e,t,n,r=this;if(!r.eventsListeners)return r;for(var i=arguments.length,o=new Array(i),a=0;a<i;a++)o[a]=arguments[a];"string"===typeof o[0]||Array.isArray(o[0])?(e=o[0],t=o.slice(1,o.length),n=r):(e=o[0].events,t=o[0].data,n=o[0].context||r),t.unshift(n);var s=Array.isArray(e)?e:e.split(" ");return s.forEach((function(e){r.eventsAnyListeners&&r.eventsAnyListeners.length&&r.eventsAnyListeners.forEach((function(r){r.apply(n,[e].concat(t))})),r.eventsListeners&&r.eventsListeners[e]&&r.eventsListeners[e].forEach((function(e){e.apply(n,t)}))})),r}};var Pv={updateSize:function(){var e,t,n=this,r=n.$el;e="undefined"!==typeof n.params.width&&null!==n.params.width?n.params.width:r[0].clientWidth,t="undefined"!==typeof n.params.height&&null!==n.params.height?n.params.height:r[0].clientHeight,0===e&&n.isHorizontal()||0===t&&n.isVertical()||(e=e-parseInt(r.css("padding-left")||0,10)-parseInt(r.css("padding-right")||0,10),t=t-parseInt(r.css("padding-top")||0,10)-parseInt(r.css("padding-bottom")||0,10),Number.isNaN(e)&&(e=0),Number.isNaN(t)&&(t=0),yv(n,{width:e,height:t,size:n.isHorizontal()?e:t}))},updateSlides:function(){var e=this;function t(t){return e.isHorizontal()?t:{width:"height","margin-top":"margin-left","margin-bottom ":"margin-right","margin-left":"margin-top","margin-right":"margin-bottom","padding-left":"padding-top","padding-right":"padding-bottom",marginRight:"marginBottom"}[t]}function n(e,n){return parseFloat(e.getPropertyValue(t(n))||0)}var r=e.params,i=e.$wrapperEl,o=e.size,a=e.rtlTranslate,s=e.wrongRTL,l=e.virtual&&r.virtual.enabled,c=l?e.virtual.slides.length:e.slides.length,u=i.children("."+e.params.slideClass),d=l?e.virtual.slides.length:u.length,f=[],p=[],h=[],v=r.slidesOffsetBefore;"function"===typeof v&&(v=r.slidesOffsetBefore.call(e));var m=r.slidesOffsetAfter;"function"===typeof m&&(m=r.slidesOffsetAfter.call(e));var g=e.snapGrid.length,y=e.slidesGrid.length,b=r.spaceBetween,w=-v,x=0,S=0;if("undefined"!==typeof o){var E,k;"string"===typeof b&&b.indexOf("%")>=0&&(b=parseFloat(b.replace("%",""))/100*o),e.virtualSize=-b,a?u.css({marginLeft:"",marginBottom:"",marginTop:""}):u.css({marginRight:"",marginBottom:"",marginTop:""}),r.slidesPerColumn>1&&(E=Math.floor(d/r.slidesPerColumn)===d/e.params.slidesPerColumn?d:Math.ceil(d/r.slidesPerColumn)*r.slidesPerColumn,"auto"!==r.slidesPerView&&"row"===r.slidesPerColumnFill&&(E=Math.max(E,r.slidesPerView*r.slidesPerColumn)));for(var C,O,j,T=r.slidesPerColumn,P=E/T,N=Math.floor(d/r.slidesPerColumn),_=0;_<d;_+=1){k=0;var R=u.eq(_);if(r.slidesPerColumn>1){var I=void 0,L=void 0,M=void 0;if("row"===r.slidesPerColumnFill&&r.slidesPerGroup>1){var D=Math.floor(_/(r.slidesPerGroup*r.slidesPerColumn)),A=_-r.slidesPerColumn*r.slidesPerGroup*D,F=0===D?r.slidesPerGroup:Math.min(Math.ceil((d-D*T*r.slidesPerGroup)/T),r.slidesPerGroup);I=(L=A-(M=Math.floor(A/F))*F+D*r.slidesPerGroup)+M*E/T,R.css({"-webkit-box-ordinal-group":I,"-moz-box-ordinal-group":I,"-ms-flex-order":I,"-webkit-order":I,order:I})}else"column"===r.slidesPerColumnFill?(M=_-(L=Math.floor(_/T))*T,(L>N||L===N&&M===T-1)&&(M+=1)>=T&&(M=0,L+=1)):L=_-(M=Math.floor(_/P))*P;R.css(t("margin-top"),0!==M?r.spaceBetween&&r.spaceBetween+"px":"")}if("none"!==R.css("display")){if("auto"===r.slidesPerView){var z=getComputedStyle(R[0]),B=R[0].style.transform,V=R[0].style.webkitTransform;if(B&&(R[0].style.transform="none"),V&&(R[0].style.webkitTransform="none"),r.roundLengths)k=e.isHorizontal()?R.outerWidth(!0):R.outerHeight(!0);else{var U=n(z,"width"),W=n(z,"padding-left"),H=n(z,"padding-right"),K=n(z,"margin-left"),Z=n(z,"margin-right"),G=z.getPropertyValue("box-sizing");if(G&&"border-box"===G)k=U+K+Z;else{var q=R[0],X=q.clientWidth;k=U+W+H+K+Z+(q.offsetWidth-X)}}B&&(R[0].style.transform=B),V&&(R[0].style.webkitTransform=V),r.roundLengths&&(k=Math.floor(k))}else k=(o-(r.slidesPerView-1)*b)/r.slidesPerView,r.roundLengths&&(k=Math.floor(k)),u[_]&&(u[_].style[t("width")]=k+"px");u[_]&&(u[_].swiperSlideSize=k),h.push(k),r.centeredSlides?(w=w+k/2+x/2+b,0===x&&0!==_&&(w=w-o/2-b),0===_&&(w=w-o/2-b),Math.abs(w)<.001&&(w=0),r.roundLengths&&(w=Math.floor(w)),S%r.slidesPerGroup===0&&f.push(w),p.push(w)):(r.roundLengths&&(w=Math.floor(w)),(S-Math.min(e.params.slidesPerGroupSkip,S))%e.params.slidesPerGroup===0&&f.push(w),p.push(w),w=w+k+b),e.virtualSize+=k+b,x=k,S+=1}}if(e.virtualSize=Math.max(e.virtualSize,o)+m,a&&s&&("slide"===r.effect||"coverflow"===r.effect)&&i.css({width:e.virtualSize+r.spaceBetween+"px"}),r.setWrapperSize)i.css(((O={})[t("width")]=e.virtualSize+r.spaceBetween+"px",O));if(r.slidesPerColumn>1)if(e.virtualSize=(k+r.spaceBetween)*E,e.virtualSize=Math.ceil(e.virtualSize/r.slidesPerColumn)-r.spaceBetween,i.css(((j={})[t("width")]=e.virtualSize+r.spaceBetween+"px",j)),r.centeredSlides){C=[];for(var $=0;$<f.length;$+=1){var Y=f[$];r.roundLengths&&(Y=Math.floor(Y)),f[$]<e.virtualSize+f[0]&&C.push(Y)}f=C}if(!r.centeredSlides){C=[];for(var J=0;J<f.length;J+=1){var Q=f[J];r.roundLengths&&(Q=Math.floor(Q)),f[J]<=e.virtualSize-o&&C.push(Q)}f=C,Math.floor(e.virtualSize-o)-Math.floor(f[f.length-1])>1&&f.push(e.virtualSize-o)}if(0===f.length&&(f=[0]),0!==r.spaceBetween){var ee,te=e.isHorizontal()&&a?"marginLeft":t("marginRight");u.filter((function(e,t){return!r.cssMode||t!==u.length-1})).css(((ee={})[te]=b+"px",ee))}if(r.centeredSlides&&r.centeredSlidesBounds){var ne=0;h.forEach((function(e){ne+=e+(r.spaceBetween?r.spaceBetween:0)}));var re=(ne-=r.spaceBetween)-o;f=f.map((function(e){return e<0?-v:e>re?re+m:e}))}if(r.centerInsufficientSlides){var ie=0;if(h.forEach((function(e){ie+=e+(r.spaceBetween?r.spaceBetween:0)})),(ie-=r.spaceBetween)<o){var oe=(o-ie)/2;f.forEach((function(e,t){f[t]=e-oe})),p.forEach((function(e,t){p[t]=e+oe}))}}yv(e,{slides:u,snapGrid:f,slidesGrid:p,slidesSizesGrid:h}),d!==c&&e.emit("slidesLengthChange"),f.length!==g&&(e.params.watchOverflow&&e.checkOverflow(),e.emit("snapGridLengthChange")),p.length!==y&&e.emit("slidesGridLengthChange"),(r.watchSlidesProgress||r.watchSlidesVisibility)&&e.updateSlidesOffset()}},updateAutoHeight:function(e){var t,n=this,r=[],i=n.virtual&&n.params.virtual.enabled,o=0;"number"===typeof e?n.setTransition(e):!0===e&&n.setTransition(n.params.speed);var a=function(e){return i?n.slides.filter((function(t){return parseInt(t.getAttribute("data-swiper-slide-index"),10)===e}))[0]:n.slides.eq(e)[0]};if("auto"!==n.params.slidesPerView&&n.params.slidesPerView>1)if(n.params.centeredSlides)n.visibleSlides.each((function(e){r.push(e)}));else for(t=0;t<Math.ceil(n.params.slidesPerView);t+=1){var s=n.activeIndex+t;if(s>n.slides.length&&!i)break;r.push(a(s))}else r.push(a(n.activeIndex));for(t=0;t<r.length;t+=1)if("undefined"!==typeof r[t]){var l=r[t].offsetHeight;o=l>o?l:o}o&&n.$wrapperEl.css("height",o+"px")},updateSlidesOffset:function(){for(var e=this.slides,t=0;t<e.length;t+=1)e[t].swiperSlideOffset=this.isHorizontal()?e[t].offsetLeft:e[t].offsetTop},updateSlidesProgress:function(e){void 0===e&&(e=this&&this.translate||0);var t=this,n=t.params,r=t.slides,i=t.rtlTranslate;if(0!==r.length){"undefined"===typeof r[0].swiperSlideOffset&&t.updateSlidesOffset();var o=-e;i&&(o=e),r.removeClass(n.slideVisibleClass),t.visibleSlidesIndexes=[],t.visibleSlides=[];for(var a=0;a<r.length;a+=1){var s=r[a],l=(o+(n.centeredSlides?t.minTranslate():0)-s.swiperSlideOffset)/(s.swiperSlideSize+n.spaceBetween);if(n.watchSlidesVisibility||n.centeredSlides&&n.autoHeight){var c=-(o-s.swiperSlideOffset),u=c+t.slidesSizesGrid[a];(c>=0&&c<t.size-1||u>1&&u<=t.size||c<=0&&u>=t.size)&&(t.visibleSlides.push(s),t.visibleSlidesIndexes.push(a),r.eq(a).addClass(n.slideVisibleClass))}s.progress=i?-l:l}t.visibleSlides=fv(t.visibleSlides)}},updateProgress:function(e){var t=this;if("undefined"===typeof e){var n=t.rtlTranslate?-1:1;e=t&&t.translate&&t.translate*n||0}var r=t.params,i=t.maxTranslate()-t.minTranslate(),o=t.progress,a=t.isBeginning,s=t.isEnd,l=a,c=s;0===i?(o=0,a=!0,s=!0):(a=(o=(e-t.minTranslate())/i)<=0,s=o>=1),yv(t,{progress:o,isBeginning:a,isEnd:s}),(r.watchSlidesProgress||r.watchSlidesVisibility||r.centeredSlides&&r.autoHeight)&&t.updateSlidesProgress(e),a&&!l&&t.emit("reachBeginning toEdge"),s&&!c&&t.emit("reachEnd toEdge"),(l&&!a||c&&!s)&&t.emit("fromEdge"),t.emit("progress",o)},updateSlidesClasses:function(){var e,t=this,n=t.slides,r=t.params,i=t.$wrapperEl,o=t.activeIndex,a=t.realIndex,s=t.virtual&&r.virtual.enabled;n.removeClass(r.slideActiveClass+" "+r.slideNextClass+" "+r.slidePrevClass+" "+r.slideDuplicateActiveClass+" "+r.slideDuplicateNextClass+" "+r.slideDuplicatePrevClass),(e=s?t.$wrapperEl.find("."+r.slideClass+'[data-swiper-slide-index="'+o+'"]'):n.eq(o)).addClass(r.slideActiveClass),r.loop&&(e.hasClass(r.slideDuplicateClass)?i.children("."+r.slideClass+":not(."+r.slideDuplicateClass+')[data-swiper-slide-index="'+a+'"]').addClass(r.slideDuplicateActiveClass):i.children("."+r.slideClass+"."+r.slideDuplicateClass+'[data-swiper-slide-index="'+a+'"]').addClass(r.slideDuplicateActiveClass));var l=e.nextAll("."+r.slideClass).eq(0).addClass(r.slideNextClass);r.loop&&0===l.length&&(l=n.eq(0)).addClass(r.slideNextClass);var c=e.prevAll("."+r.slideClass).eq(0).addClass(r.slidePrevClass);r.loop&&0===c.length&&(c=n.eq(-1)).addClass(r.slidePrevClass),r.loop&&(l.hasClass(r.slideDuplicateClass)?i.children("."+r.slideClass+":not(."+r.slideDuplicateClass+')[data-swiper-slide-index="'+l.attr("data-swiper-slide-index")+'"]').addClass(r.slideDuplicateNextClass):i.children("."+r.slideClass+"."+r.slideDuplicateClass+'[data-swiper-slide-index="'+l.attr("data-swiper-slide-index")+'"]').addClass(r.slideDuplicateNextClass),c.hasClass(r.slideDuplicateClass)?i.children("."+r.slideClass+":not(."+r.slideDuplicateClass+')[data-swiper-slide-index="'+c.attr("data-swiper-slide-index")+'"]').addClass(r.slideDuplicatePrevClass):i.children("."+r.slideClass+"."+r.slideDuplicateClass+'[data-swiper-slide-index="'+c.attr("data-swiper-slide-index")+'"]').addClass(r.slideDuplicatePrevClass)),t.emitSlidesClasses()},updateActiveIndex:function(e){var t,n=this,r=n.rtlTranslate?n.translate:-n.translate,i=n.slidesGrid,o=n.snapGrid,a=n.params,s=n.activeIndex,l=n.realIndex,c=n.snapIndex,u=e;if("undefined"===typeof u){for(var d=0;d<i.length;d+=1)"undefined"!==typeof i[d+1]?r>=i[d]&&r<i[d+1]-(i[d+1]-i[d])/2?u=d:r>=i[d]&&r<i[d+1]&&(u=d+1):r>=i[d]&&(u=d);a.normalizeSlideIndex&&(u<0||"undefined"===typeof u)&&(u=0)}if(o.indexOf(r)>=0)t=o.indexOf(r);else{var f=Math.min(a.slidesPerGroupSkip,u);t=f+Math.floor((u-f)/a.slidesPerGroup)}if(t>=o.length&&(t=o.length-1),u!==s){var p=parseInt(n.slides.eq(u).attr("data-swiper-slide-index")||u,10);yv(n,{snapIndex:t,realIndex:p,previousIndex:s,activeIndex:u}),n.emit("activeIndexChange"),n.emit("snapIndexChange"),l!==p&&n.emit("realIndexChange"),(n.initialized||n.params.runCallbacksOnInit)&&n.emit("slideChange")}else t!==c&&(n.snapIndex=t,n.emit("snapIndexChange"))},updateClickedSlide:function(e){var t,n=this,r=n.params,i=fv(e.target).closest("."+r.slideClass)[0],o=!1;if(i)for(var a=0;a<n.slides.length;a+=1)if(n.slides[a]===i){o=!0,t=a;break}if(!i||!o)return n.clickedSlide=void 0,void(n.clickedIndex=void 0);n.clickedSlide=i,n.virtual&&n.params.virtual.enabled?n.clickedIndex=parseInt(fv(i).attr("data-swiper-slide-index"),10):n.clickedIndex=t,r.slideToClickedSlide&&void 0!==n.clickedIndex&&n.clickedIndex!==n.activeIndex&&n.slideToClickedSlide()}};var Nv={getTranslate:function(e){void 0===e&&(e=this.isHorizontal()?"x":"y");var t=this,n=t.params,r=t.rtlTranslate,i=t.translate,o=t.$wrapperEl;if(n.virtualTranslate)return r?-i:i;if(n.cssMode)return i;var a=vv(o[0],e);return r&&(a=-a),a||0},setTranslate:function(e,t){var n=this,r=n.rtlTranslate,i=n.params,o=n.$wrapperEl,a=n.wrapperEl,s=n.progress,l=0,c=0;n.isHorizontal()?l=r?-e:e:c=e,i.roundLengths&&(l=Math.floor(l),c=Math.floor(c)),i.cssMode?a[n.isHorizontal()?"scrollLeft":"scrollTop"]=n.isHorizontal()?-l:-c:i.virtualTranslate||o.transform("translate3d("+l+"px, "+c+"px, 0px)"),n.previousTranslate=n.translate,n.translate=n.isHorizontal()?l:c;var u=n.maxTranslate()-n.minTranslate();(0===u?0:(e-n.minTranslate())/u)!==s&&n.updateProgress(e),n.emit("setTranslate",n.translate,t)},minTranslate:function(){return-this.snapGrid[0]},maxTranslate:function(){return-this.snapGrid[this.snapGrid.length-1]},translateTo:function(e,t,n,r,i){void 0===e&&(e=0),void 0===t&&(t=this.params.speed),void 0===n&&(n=!0),void 0===r&&(r=!0);var o=this,a=o.params,s=o.wrapperEl;if(o.animating&&a.preventInteractionOnTransition)return!1;var l,c=o.minTranslate(),u=o.maxTranslate();if(l=r&&e>c?c:r&&e<u?u:e,o.updateProgress(l),a.cssMode){var d,f=o.isHorizontal();if(0===t)s[f?"scrollLeft":"scrollTop"]=-l;else if(s.scrollTo)s.scrollTo(((d={})[f?"left":"top"]=-l,d.behavior="smooth",d));else s[f?"scrollLeft":"scrollTop"]=-l;return!0}return 0===t?(o.setTransition(0),o.setTranslate(l),n&&(o.emit("beforeTransitionStart",t,i),o.emit("transitionEnd"))):(o.setTransition(t),o.setTranslate(l),n&&(o.emit("beforeTransitionStart",t,i),o.emit("transitionStart")),o.animating||(o.animating=!0,o.onTranslateToWrapperTransitionEnd||(o.onTranslateToWrapperTransitionEnd=function(e){o&&!o.destroyed&&e.target===this&&(o.$wrapperEl[0].removeEventListener("transitionend",o.onTranslateToWrapperTransitionEnd),o.$wrapperEl[0].removeEventListener("webkitTransitionEnd",o.onTranslateToWrapperTransitionEnd),o.onTranslateToWrapperTransitionEnd=null,delete o.onTranslateToWrapperTransitionEnd,n&&o.emit("transitionEnd"))}),o.$wrapperEl[0].addEventListener("transitionend",o.onTranslateToWrapperTransitionEnd),o.$wrapperEl[0].addEventListener("webkitTransitionEnd",o.onTranslateToWrapperTransitionEnd))),!0}};var _v={slideTo:function(e,t,n,r,i){if(void 0===e&&(e=0),void 0===t&&(t=this.params.speed),void 0===n&&(n=!0),"number"!==typeof e&&"string"!==typeof e)throw new Error("The 'index' argument cannot have type other than 'number' or 'string'. ["+typeof e+"] given.");if("string"===typeof e){var o=parseInt(e,10);if(!isFinite(o))throw new Error("The passed-in 'index' (string) couldn't be converted to 'number'. ["+e+"] given.");e=o}var a=this,s=e;s<0&&(s=0);var l=a.params,c=a.snapGrid,u=a.slidesGrid,d=a.previousIndex,f=a.activeIndex,p=a.rtlTranslate,h=a.wrapperEl,v=a.enabled;if(a.animating&&l.preventInteractionOnTransition||!v&&!r&&!i)return!1;var m=Math.min(a.params.slidesPerGroupSkip,s),g=m+Math.floor((s-m)/a.params.slidesPerGroup);g>=c.length&&(g=c.length-1),(f||l.initialSlide||0)===(d||0)&&n&&a.emit("beforeSlideChangeStart");var y,b=-c[g];if(a.updateProgress(b),l.normalizeSlideIndex)for(var w=0;w<u.length;w+=1){var x=-Math.floor(100*b),S=Math.floor(100*u[w]),E=Math.floor(100*u[w+1]);"undefined"!==typeof u[w+1]?x>=S&&x<E-(E-S)/2?s=w:x>=S&&x<E&&(s=w+1):x>=S&&(s=w)}if(a.initialized&&s!==f){if(!a.allowSlideNext&&b<a.translate&&b<a.minTranslate())return!1;if(!a.allowSlidePrev&&b>a.translate&&b>a.maxTranslate()&&(f||0)!==s)return!1}if(y=s>f?"next":s<f?"prev":"reset",p&&-b===a.translate||!p&&b===a.translate)return a.updateActiveIndex(s),l.autoHeight&&a.updateAutoHeight(),a.updateSlidesClasses(),"slide"!==l.effect&&a.setTranslate(b),"reset"!==y&&(a.transitionStart(n,y),a.transitionEnd(n,y)),!1;if(l.cssMode){var k,C=a.isHorizontal(),O=-b;if(p&&(O=h.scrollWidth-h.offsetWidth-O),0===t)h[C?"scrollLeft":"scrollTop"]=O;else if(h.scrollTo)h.scrollTo(((k={})[C?"left":"top"]=O,k.behavior="smooth",k));else h[C?"scrollLeft":"scrollTop"]=O;return!0}return 0===t?(a.setTransition(0),a.setTranslate(b),a.updateActiveIndex(s),a.updateSlidesClasses(),a.emit("beforeTransitionStart",t,r),a.transitionStart(n,y),a.transitionEnd(n,y)):(a.setTransition(t),a.setTranslate(b),a.updateActiveIndex(s),a.updateSlidesClasses(),a.emit("beforeTransitionStart",t,r),a.transitionStart(n,y),a.animating||(a.animating=!0,a.onSlideToWrapperTransitionEnd||(a.onSlideToWrapperTransitionEnd=function(e){a&&!a.destroyed&&e.target===this&&(a.$wrapperEl[0].removeEventListener("transitionend",a.onSlideToWrapperTransitionEnd),a.$wrapperEl[0].removeEventListener("webkitTransitionEnd",a.onSlideToWrapperTransitionEnd),a.onSlideToWrapperTransitionEnd=null,delete a.onSlideToWrapperTransitionEnd,a.transitionEnd(n,y))}),a.$wrapperEl[0].addEventListener("transitionend",a.onSlideToWrapperTransitionEnd),a.$wrapperEl[0].addEventListener("webkitTransitionEnd",a.onSlideToWrapperTransitionEnd))),!0},slideToLoop:function(e,t,n,r){void 0===e&&(e=0),void 0===t&&(t=this.params.speed),void 0===n&&(n=!0);var i=this,o=e;return i.params.loop&&(o+=i.loopedSlides),i.slideTo(o,t,n,r)},slideNext:function(e,t,n){void 0===e&&(e=this.params.speed),void 0===t&&(t=!0);var r=this,i=r.params,o=r.animating;if(!r.enabled)return r;var a=r.activeIndex<i.slidesPerGroupSkip?1:i.slidesPerGroup;if(i.loop){if(o&&i.loopPreventsSlide)return!1;r.loopFix(),r._clientLeft=r.$wrapperEl[0].clientLeft}return r.slideTo(r.activeIndex+a,e,t,n)},slidePrev:function(e,t,n){void 0===e&&(e=this.params.speed),void 0===t&&(t=!0);var r=this,i=r.params,o=r.animating,a=r.snapGrid,s=r.slidesGrid,l=r.rtlTranslate;if(!r.enabled)return r;if(i.loop){if(o&&i.loopPreventsSlide)return!1;r.loopFix(),r._clientLeft=r.$wrapperEl[0].clientLeft}function c(e){return e<0?-Math.floor(Math.abs(e)):Math.floor(e)}var u,d=c(l?r.translate:-r.translate),f=a.map((function(e){return c(e)})),p=a[f.indexOf(d)-1];return"undefined"===typeof p&&i.cssMode&&a.forEach((function(e){!p&&d>=e&&(p=e)})),"undefined"!==typeof p&&(u=s.indexOf(p))<0&&(u=r.activeIndex-1),r.slideTo(u,e,t,n)},slideReset:function(e,t,n){return void 0===e&&(e=this.params.speed),void 0===t&&(t=!0),this.slideTo(this.activeIndex,e,t,n)},slideToClosest:function(e,t,n,r){void 0===e&&(e=this.params.speed),void 0===t&&(t=!0),void 0===r&&(r=.5);var i=this,o=i.activeIndex,a=Math.min(i.params.slidesPerGroupSkip,o),s=a+Math.floor((o-a)/i.params.slidesPerGroup),l=i.rtlTranslate?i.translate:-i.translate;if(l>=i.snapGrid[s]){var c=i.snapGrid[s];l-c>(i.snapGrid[s+1]-c)*r&&(o+=i.params.slidesPerGroup)}else{var u=i.snapGrid[s-1];l-u<=(i.snapGrid[s]-u)*r&&(o-=i.params.slidesPerGroup)}return o=Math.max(o,0),o=Math.min(o,i.slidesGrid.length-1),i.slideTo(o,e,t,n)},slideToClickedSlide:function(){var e,t=this,n=t.params,r=t.$wrapperEl,i="auto"===n.slidesPerView?t.slidesPerViewDynamic():n.slidesPerView,o=t.clickedIndex;if(n.loop){if(t.animating)return;e=parseInt(fv(t.clickedSlide).attr("data-swiper-slide-index"),10),n.centeredSlides?o<t.loopedSlides-i/2||o>t.slides.length-t.loopedSlides+i/2?(t.loopFix(),o=r.children("."+n.slideClass+'[data-swiper-slide-index="'+e+'"]:not(.'+n.slideDuplicateClass+")").eq(0).index(),pv((function(){t.slideTo(o)}))):t.slideTo(o):o>t.slides.length-i?(t.loopFix(),o=r.children("."+n.slideClass+'[data-swiper-slide-index="'+e+'"]:not(.'+n.slideDuplicateClass+")").eq(0).index(),pv((function(){t.slideTo(o)}))):t.slideTo(o)}else t.slideTo(o)}};var Rv={loopCreate:function(){var e=this,t=qh(),n=e.params,r=e.$wrapperEl;r.children("."+n.slideClass+"."+n.slideDuplicateClass).remove();var i=r.children("."+n.slideClass);if(n.loopFillGroupWithBlank){var o=n.slidesPerGroup-i.length%n.slidesPerGroup;if(o!==n.slidesPerGroup){for(var a=0;a<o;a+=1){var s=fv(t.createElement("div")).addClass(n.slideClass+" "+n.slideBlankClass);r.append(s)}i=r.children("."+n.slideClass)}}"auto"!==n.slidesPerView||n.loopedSlides||(n.loopedSlides=i.length),e.loopedSlides=Math.ceil(parseFloat(n.loopedSlides||n.slidesPerView,10)),e.loopedSlides+=n.loopAdditionalSlides,e.loopedSlides>i.length&&(e.loopedSlides=i.length);var l=[],c=[];i.each((function(t,n){var r=fv(t);n<e.loopedSlides&&c.push(t),n<i.length&&n>=i.length-e.loopedSlides&&l.push(t),r.attr("data-swiper-slide-index",n)}));for(var u=0;u<c.length;u+=1)r.append(fv(c[u].cloneNode(!0)).addClass(n.slideDuplicateClass));for(var d=l.length-1;d>=0;d-=1)r.prepend(fv(l[d].cloneNode(!0)).addClass(n.slideDuplicateClass))},loopFix:function(){var e=this;e.emit("beforeLoopFix");var t,n=e.activeIndex,r=e.slides,i=e.loopedSlides,o=e.allowSlidePrev,a=e.allowSlideNext,s=e.snapGrid,l=e.rtlTranslate;e.allowSlidePrev=!0,e.allowSlideNext=!0;var c=-s[n]-e.getTranslate();if(n<i)t=r.length-3*i+n,t+=i,e.slideTo(t,0,!1,!0)&&0!==c&&e.setTranslate((l?-e.translate:e.translate)-c);else if(n>=r.length-i){t=-r.length+n+i,t+=i,e.slideTo(t,0,!1,!0)&&0!==c&&e.setTranslate((l?-e.translate:e.translate)-c)}e.allowSlidePrev=o,e.allowSlideNext=a,e.emit("loopFix")},loopDestroy:function(){var e=this,t=e.$wrapperEl,n=e.params,r=e.slides;t.children("."+n.slideClass+"."+n.slideDuplicateClass+",."+n.slideClass+"."+n.slideBlankClass).remove(),r.removeAttr("data-swiper-slide-index")}};var Iv={appendSlide:function(e){var t=this,n=t.$wrapperEl,r=t.params;if(r.loop&&t.loopDestroy(),"object"===typeof e&&"length"in e)for(var i=0;i<e.length;i+=1)e[i]&&n.append(e[i]);else n.append(e);r.loop&&t.loopCreate(),r.observer&&t.support.observer||t.update()},prependSlide:function(e){var t=this,n=t.params,r=t.$wrapperEl,i=t.activeIndex;n.loop&&t.loopDestroy();var o=i+1;if("object"===typeof e&&"length"in e){for(var a=0;a<e.length;a+=1)e[a]&&r.prepend(e[a]);o=i+e.length}else r.prepend(e);n.loop&&t.loopCreate(),n.observer&&t.support.observer||t.update(),t.slideTo(o,0,!1)},addSlide:function(e,t){var n=this,r=n.$wrapperEl,i=n.params,o=n.activeIndex;i.loop&&(o-=n.loopedSlides,n.loopDestroy(),n.slides=r.children("."+i.slideClass));var a=n.slides.length;if(e<=0)n.prependSlide(t);else if(e>=a)n.appendSlide(t);else{for(var s=o>e?o+1:o,l=[],c=a-1;c>=e;c-=1){var u=n.slides.eq(c);u.remove(),l.unshift(u)}if("object"===typeof t&&"length"in t){for(var d=0;d<t.length;d+=1)t[d]&&r.append(t[d]);s=o>e?o+t.length:o}else r.append(t);for(var f=0;f<l.length;f+=1)r.append(l[f]);i.loop&&n.loopCreate(),i.observer&&n.support.observer||n.update(),i.loop?n.slideTo(s+n.loopedSlides,0,!1):n.slideTo(s,0,!1)}},removeSlide:function(e){var t=this,n=t.params,r=t.$wrapperEl,i=t.activeIndex;n.loop&&(i-=t.loopedSlides,t.loopDestroy(),t.slides=r.children("."+n.slideClass));var o,a=i;if("object"===typeof e&&"length"in e){for(var s=0;s<e.length;s+=1)o=e[s],t.slides[o]&&t.slides.eq(o).remove(),o<a&&(a-=1);a=Math.max(a,0)}else o=e,t.slides[o]&&t.slides.eq(o).remove(),o<a&&(a-=1),a=Math.max(a,0);n.loop&&t.loopCreate(),n.observer&&t.support.observer||t.update(),n.loop?t.slideTo(a+t.loopedSlides,0,!1):t.slideTo(a,0,!1)},removeAllSlides:function(){for(var e=[],t=0;t<this.slides.length;t+=1)e.push(t);this.removeSlide(e)}};function Lv(e){var t=this,n=qh(),r=$h(),i=t.touchEventsData,o=t.params,a=t.touches;if(t.enabled&&(!t.animating||!o.preventInteractionOnTransition)){var s=e;s.originalEvent&&(s=s.originalEvent);var l=fv(s.target);if(("wrapper"!==o.touchEventsTarget||l.closest(t.wrapperEl).length)&&(i.isTouchEvent="touchstart"===s.type,(i.isTouchEvent||!("which"in s)||3!==s.which)&&!(!i.isTouchEvent&&"button"in s&&s.button>0)&&(!i.isTouched||!i.isMoved))){!!o.noSwipingClass&&""!==o.noSwipingClass&&s.target&&s.target.shadowRoot&&e.path&&e.path[0]&&(l=fv(e.path[0]));var c=o.noSwipingSelector?o.noSwipingSelector:"."+o.noSwipingClass,u=!(!s.target||!s.target.shadowRoot);if(o.noSwiping&&(u?function(e,t){return void 0===t&&(t=this),function t(n){return n&&n!==qh()&&n!==$h()?(n.assignedSlot&&(n=n.assignedSlot),n.closest(e)||t(n.getRootNode().host)):null}(t)}(c,s.target):l.closest(c)[0]))t.allowClick=!0;else if(!o.swipeHandler||l.closest(o.swipeHandler)[0]){a.currentX="touchstart"===s.type?s.targetTouches[0].pageX:s.pageX,a.currentY="touchstart"===s.type?s.targetTouches[0].pageY:s.pageY;var d=a.currentX,f=a.currentY,p=o.edgeSwipeDetection||o.iOSEdgeSwipeDetection,h=o.edgeSwipeThreshold||o.iOSEdgeSwipeThreshold;if(p&&(d<=h||d>=r.innerWidth-h)){if("prevent"!==p)return;e.preventDefault()}if(yv(i,{isTouched:!0,isMoved:!1,allowTouchCallbacks:!0,isScrolling:void 0,startMoving:void 0}),a.startX=d,a.startY=f,i.touchStartTime=hv(),t.allowClick=!0,t.updateSize(),t.swipeDirection=void 0,o.threshold>0&&(i.allowThresholdMove=!1),"touchstart"!==s.type){var v=!0;l.is(i.focusableElements)&&(v=!1),n.activeElement&&fv(n.activeElement).is(i.focusableElements)&&n.activeElement!==l[0]&&n.activeElement.blur();var m=v&&t.allowTouchMove&&o.touchStartPreventDefault;!o.touchStartForcePreventDefault&&!m||l[0].isContentEditable||s.preventDefault()}t.emit("touchStart",s)}}}}function Mv(e){var t=qh(),n=this,r=n.touchEventsData,i=n.params,o=n.touches,a=n.rtlTranslate;if(n.enabled){var s=e;if(s.originalEvent&&(s=s.originalEvent),r.isTouched){if(!r.isTouchEvent||"touchmove"===s.type){var l="touchmove"===s.type&&s.targetTouches&&(s.targetTouches[0]||s.changedTouches[0]),c="touchmove"===s.type?l.pageX:s.pageX,u="touchmove"===s.type?l.pageY:s.pageY;if(s.preventedByNestedSwiper)return o.startX=c,void(o.startY=u);if(!n.allowTouchMove)return n.allowClick=!1,void(r.isTouched&&(yv(o,{startX:c,startY:u,currentX:c,currentY:u}),r.touchStartTime=hv()));if(r.isTouchEvent&&i.touchReleaseOnEdges&&!i.loop)if(n.isVertical()){if(u<o.startY&&n.translate<=n.maxTranslate()||u>o.startY&&n.translate>=n.minTranslate())return r.isTouched=!1,void(r.isMoved=!1)}else if(c<o.startX&&n.translate<=n.maxTranslate()||c>o.startX&&n.translate>=n.minTranslate())return;if(r.isTouchEvent&&t.activeElement&&s.target===t.activeElement&&fv(s.target).is(r.focusableElements))return r.isMoved=!0,void(n.allowClick=!1);if(r.allowTouchCallbacks&&n.emit("touchMove",s),!(s.targetTouches&&s.targetTouches.length>1)){o.currentX=c,o.currentY=u;var d=o.currentX-o.startX,f=o.currentY-o.startY;if(!(n.params.threshold&&Math.sqrt(Math.pow(d,2)+Math.pow(f,2))<n.params.threshold)){var p;if("undefined"===typeof r.isScrolling)n.isHorizontal()&&o.currentY===o.startY||n.isVertical()&&o.currentX===o.startX?r.isScrolling=!1:d*d+f*f>=25&&(p=180*Math.atan2(Math.abs(f),Math.abs(d))/Math.PI,r.isScrolling=n.isHorizontal()?p>i.touchAngle:90-p>i.touchAngle);if(r.isScrolling&&n.emit("touchMoveOpposite",s),"undefined"===typeof r.startMoving&&(o.currentX===o.startX&&o.currentY===o.startY||(r.startMoving=!0)),r.isScrolling)r.isTouched=!1;else if(r.startMoving){n.allowClick=!1,!i.cssMode&&s.cancelable&&s.preventDefault(),i.touchMoveStopPropagation&&!i.nested&&s.stopPropagation(),r.isMoved||(i.loop&&n.loopFix(),r.startTranslate=n.getTranslate(),n.setTransition(0),n.animating&&n.$wrapperEl.trigger("webkitTransitionEnd transitionend"),r.allowMomentumBounce=!1,!i.grabCursor||!0!==n.allowSlideNext&&!0!==n.allowSlidePrev||n.setGrabCursor(!0),n.emit("sliderFirstMove",s)),n.emit("sliderMove",s),r.isMoved=!0;var h=n.isHorizontal()?d:f;o.diff=h,h*=i.touchRatio,a&&(h=-h),n.swipeDirection=h>0?"prev":"next",r.currentTranslate=h+r.startTranslate;var v=!0,m=i.resistanceRatio;if(i.touchReleaseOnEdges&&(m=0),h>0&&r.currentTranslate>n.minTranslate()?(v=!1,i.resistance&&(r.currentTranslate=n.minTranslate()-1+Math.pow(-n.minTranslate()+r.startTranslate+h,m))):h<0&&r.currentTranslate<n.maxTranslate()&&(v=!1,i.resistance&&(r.currentTranslate=n.maxTranslate()+1-Math.pow(n.maxTranslate()-r.startTranslate-h,m))),v&&(s.preventedByNestedSwiper=!0),!n.allowSlideNext&&"next"===n.swipeDirection&&r.currentTranslate<r.startTranslate&&(r.currentTranslate=r.startTranslate),!n.allowSlidePrev&&"prev"===n.swipeDirection&&r.currentTranslate>r.startTranslate&&(r.currentTranslate=r.startTranslate),n.allowSlidePrev||n.allowSlideNext||(r.currentTranslate=r.startTranslate),i.threshold>0){if(!(Math.abs(h)>i.threshold||r.allowThresholdMove))return void(r.currentTranslate=r.startTranslate);if(!r.allowThresholdMove)return r.allowThresholdMove=!0,o.startX=o.currentX,o.startY=o.currentY,r.currentTranslate=r.startTranslate,void(o.diff=n.isHorizontal()?o.currentX-o.startX:o.currentY-o.startY)}i.followFinger&&!i.cssMode&&((i.freeMode||i.watchSlidesProgress||i.watchSlidesVisibility)&&(n.updateActiveIndex(),n.updateSlidesClasses()),i.freeMode&&(0===r.velocities.length&&r.velocities.push({position:o[n.isHorizontal()?"startX":"startY"],time:r.touchStartTime}),r.velocities.push({position:o[n.isHorizontal()?"currentX":"currentY"],time:hv()})),n.updateProgress(r.currentTranslate),n.setTranslate(r.currentTranslate))}}}}}else r.startMoving&&r.isScrolling&&n.emit("touchMoveOpposite",s)}}function Dv(e){var t=this,n=t.touchEventsData,r=t.params,i=t.touches,o=t.rtlTranslate,a=t.$wrapperEl,s=t.slidesGrid,l=t.snapGrid;if(t.enabled){var c=e;if(c.originalEvent&&(c=c.originalEvent),n.allowTouchCallbacks&&t.emit("touchEnd",c),n.allowTouchCallbacks=!1,!n.isTouched)return n.isMoved&&r.grabCursor&&t.setGrabCursor(!1),n.isMoved=!1,void(n.startMoving=!1);r.grabCursor&&n.isMoved&&n.isTouched&&(!0===t.allowSlideNext||!0===t.allowSlidePrev)&&t.setGrabCursor(!1);var u,d=hv(),f=d-n.touchStartTime;if(t.allowClick&&(t.updateClickedSlide(c),t.emit("tap click",c),f<300&&d-n.lastClickTime<300&&t.emit("doubleTap doubleClick",c)),n.lastClickTime=hv(),pv((function(){t.destroyed||(t.allowClick=!0)})),!n.isTouched||!n.isMoved||!t.swipeDirection||0===i.diff||n.currentTranslate===n.startTranslate)return n.isTouched=!1,n.isMoved=!1,void(n.startMoving=!1);if(n.isTouched=!1,n.isMoved=!1,n.startMoving=!1,u=r.followFinger?o?t.translate:-t.translate:-n.currentTranslate,!r.cssMode)if(r.freeMode){if(u<-t.minTranslate())return void t.slideTo(t.activeIndex);if(u>-t.maxTranslate())return void(t.slides.length<l.length?t.slideTo(l.length-1):t.slideTo(t.slides.length-1));if(r.freeModeMomentum){if(n.velocities.length>1){var p=n.velocities.pop(),h=n.velocities.pop(),v=p.position-h.position,m=p.time-h.time;t.velocity=v/m,t.velocity/=2,Math.abs(t.velocity)<r.freeModeMinimumVelocity&&(t.velocity=0),(m>150||hv()-p.time>300)&&(t.velocity=0)}else t.velocity=0;t.velocity*=r.freeModeMomentumVelocityRatio,n.velocities.length=0;var g=1e3*r.freeModeMomentumRatio,y=t.velocity*g,b=t.translate+y;o&&(b=-b);var w,x,S=!1,E=20*Math.abs(t.velocity)*r.freeModeMomentumBounceRatio;if(b<t.maxTranslate())r.freeModeMomentumBounce?(b+t.maxTranslate()<-E&&(b=t.maxTranslate()-E),w=t.maxTranslate(),S=!0,n.allowMomentumBounce=!0):b=t.maxTranslate(),r.loop&&r.centeredSlides&&(x=!0);else if(b>t.minTranslate())r.freeModeMomentumBounce?(b-t.minTranslate()>E&&(b=t.minTranslate()+E),w=t.minTranslate(),S=!0,n.allowMomentumBounce=!0):b=t.minTranslate(),r.loop&&r.centeredSlides&&(x=!0);else if(r.freeModeSticky){for(var k,C=0;C<l.length;C+=1)if(l[C]>-b){k=C;break}b=-(b=Math.abs(l[k]-b)<Math.abs(l[k-1]-b)||"next"===t.swipeDirection?l[k]:l[k-1])}if(x&&t.once("transitionEnd",(function(){t.loopFix()})),0!==t.velocity){if(g=o?Math.abs((-b-t.translate)/t.velocity):Math.abs((b-t.translate)/t.velocity),r.freeModeSticky){var O=Math.abs((o?-b:b)-t.translate),j=t.slidesSizesGrid[t.activeIndex];g=O<j?r.speed:O<2*j?1.5*r.speed:2.5*r.speed}}else if(r.freeModeSticky)return void t.slideToClosest();r.freeModeMomentumBounce&&S?(t.updateProgress(w),t.setTransition(g),t.setTranslate(b),t.transitionStart(!0,t.swipeDirection),t.animating=!0,a.transitionEnd((function(){t&&!t.destroyed&&n.allowMomentumBounce&&(t.emit("momentumBounce"),t.setTransition(r.speed),setTimeout((function(){t.setTranslate(w),a.transitionEnd((function(){t&&!t.destroyed&&t.transitionEnd()}))}),0))}))):t.velocity?(t.updateProgress(b),t.setTransition(g),t.setTranslate(b),t.transitionStart(!0,t.swipeDirection),t.animating||(t.animating=!0,a.transitionEnd((function(){t&&!t.destroyed&&t.transitionEnd()})))):(t.emit("_freeModeNoMomentumRelease"),t.updateProgress(b)),t.updateActiveIndex(),t.updateSlidesClasses()}else{if(r.freeModeSticky)return void t.slideToClosest();r.freeMode&&t.emit("_freeModeNoMomentumRelease")}(!r.freeModeMomentum||f>=r.longSwipesMs)&&(t.updateProgress(),t.updateActiveIndex(),t.updateSlidesClasses())}else{for(var T=0,P=t.slidesSizesGrid[0],N=0;N<s.length;N+=N<r.slidesPerGroupSkip?1:r.slidesPerGroup){var _=N<r.slidesPerGroupSkip-1?1:r.slidesPerGroup;"undefined"!==typeof s[N+_]?u>=s[N]&&u<s[N+_]&&(T=N,P=s[N+_]-s[N]):u>=s[N]&&(T=N,P=s[s.length-1]-s[s.length-2])}var R=(u-s[T])/P,I=T<r.slidesPerGroupSkip-1?1:r.slidesPerGroup;if(f>r.longSwipesMs){if(!r.longSwipes)return void t.slideTo(t.activeIndex);"next"===t.swipeDirection&&(R>=r.longSwipesRatio?t.slideTo(T+I):t.slideTo(T)),"prev"===t.swipeDirection&&(R>1-r.longSwipesRatio?t.slideTo(T+I):t.slideTo(T))}else{if(!r.shortSwipes)return void t.slideTo(t.activeIndex);t.navigation&&(c.target===t.navigation.nextEl||c.target===t.navigation.prevEl)?c.target===t.navigation.nextEl?t.slideTo(T+I):t.slideTo(T):("next"===t.swipeDirection&&t.slideTo(T+I),"prev"===t.swipeDirection&&t.slideTo(T))}}}}function Av(){var e=this,t=e.params,n=e.el;if(!n||0!==n.offsetWidth){t.breakpoints&&e.setBreakpoint();var r=e.allowSlideNext,i=e.allowSlidePrev,o=e.snapGrid;e.allowSlideNext=!0,e.allowSlidePrev=!0,e.updateSize(),e.updateSlides(),e.updateSlidesClasses(),("auto"===t.slidesPerView||t.slidesPerView>1)&&e.isEnd&&!e.isBeginning&&!e.params.centeredSlides?e.slideTo(e.slides.length-1,0,!1,!0):e.slideTo(e.activeIndex,0,!1,!0),e.autoplay&&e.autoplay.running&&e.autoplay.paused&&e.autoplay.run(),e.allowSlidePrev=i,e.allowSlideNext=r,e.params.watchOverflow&&o!==e.snapGrid&&e.checkOverflow()}}function Fv(e){var t=this;t.enabled&&(t.allowClick||(t.params.preventClicks&&e.preventDefault(),t.params.preventClicksPropagation&&t.animating&&(e.stopPropagation(),e.stopImmediatePropagation())))}function zv(){var e=this,t=e.wrapperEl,n=e.rtlTranslate;if(e.enabled){e.previousTranslate=e.translate,e.isHorizontal()?e.translate=n?t.scrollWidth-t.offsetWidth-t.scrollLeft:-t.scrollLeft:e.translate=-t.scrollTop,-0===e.translate&&(e.translate=0),e.updateActiveIndex(),e.updateSlidesClasses();var r=e.maxTranslate()-e.minTranslate();(0===r?0:(e.translate-e.minTranslate())/r)!==e.progress&&e.updateProgress(n?-e.translate:e.translate),e.emit("setTranslate",e.translate,!1)}}var Bv=!1;function Vv(){}var Uv={attachEvents:function(){var e=this,t=qh(),n=e.params,r=e.touchEvents,i=e.el,o=e.wrapperEl,a=e.device,s=e.support;e.onTouchStart=Lv.bind(e),e.onTouchMove=Mv.bind(e),e.onTouchEnd=Dv.bind(e),n.cssMode&&(e.onScroll=zv.bind(e)),e.onClick=Fv.bind(e);var l=!!n.nested;if(!s.touch&&s.pointerEvents)i.addEventListener(r.start,e.onTouchStart,!1),t.addEventListener(r.move,e.onTouchMove,l),t.addEventListener(r.end,e.onTouchEnd,!1);else{if(s.touch){var c=!("touchstart"!==r.start||!s.passiveListener||!n.passiveListeners)&&{passive:!0,capture:!1};i.addEventListener(r.start,e.onTouchStart,c),i.addEventListener(r.move,e.onTouchMove,s.passiveListener?{passive:!1,capture:l}:l),i.addEventListener(r.end,e.onTouchEnd,c),r.cancel&&i.addEventListener(r.cancel,e.onTouchEnd,c),Bv||(t.addEventListener("touchstart",Vv),Bv=!0)}(n.simulateTouch&&!a.ios&&!a.android||n.simulateTouch&&!s.touch&&a.ios)&&(i.addEventListener("mousedown",e.onTouchStart,!1),t.addEventListener("mousemove",e.onTouchMove,l),t.addEventListener("mouseup",e.onTouchEnd,!1))}(n.preventClicks||n.preventClicksPropagation)&&i.addEventListener("click",e.onClick,!0),n.cssMode&&o.addEventListener("scroll",e.onScroll),n.updateOnWindowResize?e.on(a.ios||a.android?"resize orientationchange observerUpdate":"resize observerUpdate",Av,!0):e.on("observerUpdate",Av,!0)},detachEvents:function(){var e=this,t=qh(),n=e.params,r=e.touchEvents,i=e.el,o=e.wrapperEl,a=e.device,s=e.support,l=!!n.nested;if(!s.touch&&s.pointerEvents)i.removeEventListener(r.start,e.onTouchStart,!1),t.removeEventListener(r.move,e.onTouchMove,l),t.removeEventListener(r.end,e.onTouchEnd,!1);else{if(s.touch){var c=!("onTouchStart"!==r.start||!s.passiveListener||!n.passiveListeners)&&{passive:!0,capture:!1};i.removeEventListener(r.start,e.onTouchStart,c),i.removeEventListener(r.move,e.onTouchMove,l),i.removeEventListener(r.end,e.onTouchEnd,c),r.cancel&&i.removeEventListener(r.cancel,e.onTouchEnd,c)}(n.simulateTouch&&!a.ios&&!a.android||n.simulateTouch&&!s.touch&&a.ios)&&(i.removeEventListener("mousedown",e.onTouchStart,!1),t.removeEventListener("mousemove",e.onTouchMove,l),t.removeEventListener("mouseup",e.onTouchEnd,!1))}(n.preventClicks||n.preventClicksPropagation)&&i.removeEventListener("click",e.onClick,!0),n.cssMode&&o.removeEventListener("scroll",e.onScroll),e.off(a.ios||a.android?"resize orientationchange observerUpdate":"resize observerUpdate",Av)}};var Wv={setBreakpoint:function(){var e=this,t=e.activeIndex,n=e.initialized,r=e.loopedSlides,i=void 0===r?0:r,o=e.params,a=e.$el,s=o.breakpoints;if(s&&(!s||0!==Object.keys(s).length)){var l=e.getBreakpoint(s,e.params.breakpointsBase,e.el);if(l&&e.currentBreakpoint!==l){var c=l in s?s[l]:void 0;c&&["slidesPerView","spaceBetween","slidesPerGroup","slidesPerGroupSkip","slidesPerColumn"].forEach((function(e){var t=c[e];"undefined"!==typeof t&&(c[e]="slidesPerView"!==e||"AUTO"!==t&&"auto"!==t?"slidesPerView"===e?parseFloat(t):parseInt(t,10):"auto")}));var u=c||e.originalParams,d=o.slidesPerColumn>1,f=u.slidesPerColumn>1,p=o.enabled;d&&!f?(a.removeClass(o.containerModifierClass+"multirow "+o.containerModifierClass+"multirow-column"),e.emitContainerClasses()):!d&&f&&(a.addClass(o.containerModifierClass+"multirow"),(u.slidesPerColumnFill&&"column"===u.slidesPerColumnFill||!u.slidesPerColumnFill&&"column"===o.slidesPerColumnFill)&&a.addClass(o.containerModifierClass+"multirow-column"),e.emitContainerClasses());var h=u.direction&&u.direction!==o.direction,v=o.loop&&(u.slidesPerView!==o.slidesPerView||h);h&&n&&e.changeDirection(),yv(e.params,u);var m=e.params.enabled;yv(e,{allowTouchMove:e.params.allowTouchMove,allowSlideNext:e.params.allowSlideNext,allowSlidePrev:e.params.allowSlidePrev}),p&&!m?e.disable():!p&&m&&e.enable(),e.currentBreakpoint=l,e.emit("_beforeBreakpoint",u),v&&n&&(e.loopDestroy(),e.loopCreate(),e.updateSlides(),e.slideTo(t-i+e.loopedSlides,0,!1)),e.emit("breakpoint",u)}}},getBreakpoint:function(e,t,n){if(void 0===t&&(t="window"),e&&("container"!==t||n)){var r=!1,i=$h(),o="window"===t?i.innerHeight:n.clientHeight,a=Object.keys(e).map((function(e){if("string"===typeof e&&0===e.indexOf("@")){var t=parseFloat(e.substr(1));return{value:o*t,point:e}}return{value:e,point:e}}));a.sort((function(e,t){return parseInt(e.value,10)-parseInt(t.value,10)}));for(var s=0;s<a.length;s+=1){var l=a[s],c=l.point,u=l.value;"window"===t?i.matchMedia("(min-width: "+u+"px)").matches&&(r=c):u<=n.clientWidth&&(r=c)}return r||"max"}}};var Hv={addClasses:function(){var e=this,t=e.classNames,n=e.params,r=e.rtl,i=e.$el,o=e.device,a=e.support,s=function(e,t){var n=[];return e.forEach((function(e){"object"===typeof e?Object.keys(e).forEach((function(r){e[r]&&n.push(t+r)})):"string"===typeof e&&n.push(t+e)})),n}(["initialized",n.direction,{"pointer-events":a.pointerEvents&&!a.touch},{"free-mode":n.freeMode},{autoheight:n.autoHeight},{rtl:r},{multirow:n.slidesPerColumn>1},{"multirow-column":n.slidesPerColumn>1&&"column"===n.slidesPerColumnFill},{android:o.android},{ios:o.ios},{"css-mode":n.cssMode}],n.containerModifierClass);t.push.apply(t,s),i.addClass([].concat(t).join(" ")),e.emitContainerClasses()},removeClasses:function(){var e=this,t=e.$el,n=e.classNames;t.removeClass(n.join(" ")),e.emitContainerClasses()}};var Kv={loadImage:function(e,t,n,r,i,o){var a,s=$h();function l(){o&&o()}fv(e).parent("picture")[0]||e.complete&&i?l():t?((a=new s.Image).onload=l,a.onerror=l,r&&(a.sizes=r),n&&(a.srcset=n),t&&(a.src=t)):l()},preloadImages:function(){var e=this;function t(){"undefined"!==typeof e&&null!==e&&e&&!e.destroyed&&(void 0!==e.imagesLoaded&&(e.imagesLoaded+=1),e.imagesLoaded===e.imagesToLoad.length&&(e.params.updateOnImagesReady&&e.update(),e.emit("imagesReady")))}e.imagesToLoad=e.$el.find("img");for(var n=0;n<e.imagesToLoad.length;n+=1){var r=e.imagesToLoad[n];e.loadImage(r,r.currentSrc||r.getAttribute("src"),r.srcset||r.getAttribute("srcset"),r.sizes||r.getAttribute("sizes"),!0,t)}}};var Zv={init:!0,direction:"horizontal",touchEventsTarget:"container",initialSlide:0,speed:300,cssMode:!1,updateOnWindowResize:!0,resizeObserver:!1,nested:!1,createElements:!1,enabled:!0,focusableElements:"input, select, option, textarea, button, video, label",width:null,height:null,preventInteractionOnTransition:!1,userAgent:null,url:null,edgeSwipeDetection:!1,edgeSwipeThreshold:20,freeMode:!1,freeModeMomentum:!0,freeModeMomentumRatio:1,freeModeMomentumBounce:!0,freeModeMomentumBounceRatio:1,freeModeMomentumVelocityRatio:1,freeModeSticky:!1,freeModeMinimumVelocity:.02,autoHeight:!1,setWrapperSize:!1,virtualTranslate:!1,effect:"slide",breakpoints:void 0,breakpointsBase:"window",spaceBetween:0,slidesPerView:1,slidesPerColumn:1,slidesPerColumnFill:"column",slidesPerGroup:1,slidesPerGroupSkip:0,centeredSlides:!1,centeredSlidesBounds:!1,slidesOffsetBefore:0,slidesOffsetAfter:0,normalizeSlideIndex:!0,centerInsufficientSlides:!1,watchOverflow:!1,roundLengths:!1,touchRatio:1,touchAngle:45,simulateTouch:!0,shortSwipes:!0,longSwipes:!0,longSwipesRatio:.5,longSwipesMs:300,followFinger:!0,allowTouchMove:!0,threshold:0,touchMoveStopPropagation:!1,touchStartPreventDefault:!0,touchStartForcePreventDefault:!1,touchReleaseOnEdges:!1,uniqueNavElements:!0,resistance:!0,resistanceRatio:.85,watchSlidesProgress:!1,watchSlidesVisibility:!1,grabCursor:!1,preventClicks:!0,preventClicksPropagation:!0,slideToClickedSlide:!1,preloadImages:!0,updateOnImagesReady:!0,loop:!1,loopAdditionalSlides:0,loopedSlides:null,loopFillGroupWithBlank:!1,loopPreventsSlide:!0,allowSlidePrev:!0,allowSlideNext:!0,swipeHandler:null,noSwiping:!0,noSwipingClass:"swiper-no-swiping",noSwipingSelector:null,passiveListeners:!0,containerModifierClass:"swiper-container-",slideClass:"swiper-slide",slideBlankClass:"swiper-slide-invisible-blank",slideActiveClass:"swiper-slide-active",slideDuplicateActiveClass:"swiper-slide-duplicate-active",slideVisibleClass:"swiper-slide-visible",slideDuplicateClass:"swiper-slide-duplicate",slideNextClass:"swiper-slide-next",slideDuplicateNextClass:"swiper-slide-duplicate-next",slidePrevClass:"swiper-slide-prev",slideDuplicatePrevClass:"swiper-slide-duplicate-prev",wrapperClass:"swiper-wrapper",runCallbacksOnInit:!0,_emitClasses:!1};function Gv(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}var qv={modular:{useParams:function(e){var t=this;t.modules&&Object.keys(t.modules).forEach((function(n){var r=t.modules[n];r.params&&yv(e,r.params)}))},useModules:function(e){void 0===e&&(e={});var t=this;t.modules&&Object.keys(t.modules).forEach((function(n){var r=t.modules[n],i=e[n]||{};r.on&&t.on&&Object.keys(r.on).forEach((function(e){t.on(e,r.on[e])})),r.create&&r.create.bind(t)(i)}))}},eventsEmitter:Tv,update:Pv,translate:Nv,transition:{setTransition:function(e,t){var n=this;n.params.cssMode||n.$wrapperEl.transition(e),n.emit("setTransition",e,t)},transitionStart:function(e,t){void 0===e&&(e=!0);var n=this,r=n.activeIndex,i=n.params,o=n.previousIndex;if(!i.cssMode){i.autoHeight&&n.updateAutoHeight();var a=t;if(a||(a=r>o?"next":r<o?"prev":"reset"),n.emit("transitionStart"),e&&r!==o){if("reset"===a)return void n.emit("slideResetTransitionStart");n.emit("slideChangeTransitionStart"),"next"===a?n.emit("slideNextTransitionStart"):n.emit("slidePrevTransitionStart")}}},transitionEnd:function(e,t){void 0===e&&(e=!0);var n=this,r=n.activeIndex,i=n.previousIndex,o=n.params;if(n.animating=!1,!o.cssMode){n.setTransition(0);var a=t;if(a||(a=r>i?"next":r<i?"prev":"reset"),n.emit("transitionEnd"),e&&r!==i){if("reset"===a)return void n.emit("slideResetTransitionEnd");n.emit("slideChangeTransitionEnd"),"next"===a?n.emit("slideNextTransitionEnd"):n.emit("slidePrevTransitionEnd")}}}},slide:_v,loop:Rv,grabCursor:{setGrabCursor:function(e){var t=this;if(!(t.support.touch||!t.params.simulateTouch||t.params.watchOverflow&&t.isLocked||t.params.cssMode)){var n=t.el;n.style.cursor="move",n.style.cursor=e?"-webkit-grabbing":"-webkit-grab",n.style.cursor=e?"-moz-grabbin":"-moz-grab",n.style.cursor=e?"grabbing":"grab"}},unsetGrabCursor:function(){var e=this;e.support.touch||e.params.watchOverflow&&e.isLocked||e.params.cssMode||(e.el.style.cursor="")}},manipulation:Iv,events:Uv,breakpoints:Wv,checkOverflow:{checkOverflow:function(){var e=this,t=e.params,n=e.isLocked,r=e.slides.length>0&&t.slidesOffsetBefore+t.spaceBetween*(e.slides.length-1)+e.slides[0].offsetWidth*e.slides.length;t.slidesOffsetBefore&&t.slidesOffsetAfter&&r?e.isLocked=r<=e.size:e.isLocked=1===e.snapGrid.length,e.allowSlideNext=!e.isLocked,e.allowSlidePrev=!e.isLocked,n!==e.isLocked&&e.emit(e.isLocked?"lock":"unlock"),n&&n!==e.isLocked&&(e.isEnd=!1,e.navigation&&e.navigation.update())}},classes:Hv,images:Kv},Xv={},$v=function(){function e(){for(var t,n,r=arguments.length,i=new Array(r),o=0;o<r;o++)i[o]=arguments[o];if(1===i.length&&i[0].constructor&&"Object"===Object.prototype.toString.call(i[0]).slice(8,-1)?n=i[0]:(t=i[0],n=i[1]),n||(n={}),n=yv({},n),t&&!n.el&&(n.el=t),n.el&&fv(n.el).length>1){var a=[];return fv(n.el).each((function(t){var r=yv({},n,{el:t});a.push(new e(r))})),a}var s=this;s.__swiper__=!0,s.support=xv(),s.device=Sv({userAgent:n.userAgent}),s.browser=Ev(),s.eventsListeners={},s.eventsAnyListeners=[],"undefined"===typeof s.modules&&(s.modules={}),Object.keys(s.modules).forEach((function(e){var t=s.modules[e];if(t.params){var r=Object.keys(t.params)[0],i=t.params[r];if("object"!==typeof i||null===i)return;if(["navigation","pagination","scrollbar"].indexOf(r)>=0&&!0===n[r]&&(n[r]={auto:!0}),!(r in n)||!("enabled"in i))return;!0===n[r]&&(n[r]={enabled:!0}),"object"!==typeof n[r]||"enabled"in n[r]||(n[r].enabled=!0),n[r]||(n[r]={enabled:!1})}}));var l=yv({},Zv);return s.useParams(l),s.params=yv({},l,Xv,n),s.originalParams=yv({},s.params),s.passedParams=yv({},n),s.params&&s.params.on&&Object.keys(s.params.on).forEach((function(e){s.on(e,s.params.on[e])})),s.params&&s.params.onAny&&s.onAny(s.params.onAny),s.$=fv,yv(s,{enabled:s.params.enabled,el:t,classNames:[],slides:fv(),slidesGrid:[],snapGrid:[],slidesSizesGrid:[],isHorizontal:function(){return"horizontal"===s.params.direction},isVertical:function(){return"vertical"===s.params.direction},activeIndex:0,realIndex:0,isBeginning:!0,isEnd:!1,translate:0,previousTranslate:0,progress:0,velocity:0,animating:!1,allowSlideNext:s.params.allowSlideNext,allowSlidePrev:s.params.allowSlidePrev,touchEvents:function(){var e=["touchstart","touchmove","touchend","touchcancel"],t=["mousedown","mousemove","mouseup"];return s.support.pointerEvents&&(t=["pointerdown","pointermove","pointerup"]),s.touchEventsTouch={start:e[0],move:e[1],end:e[2],cancel:e[3]},s.touchEventsDesktop={start:t[0],move:t[1],end:t[2]},s.support.touch||!s.params.simulateTouch?s.touchEventsTouch:s.touchEventsDesktop}(),touchEventsData:{isTouched:void 0,isMoved:void 0,allowTouchCallbacks:void 0,touchStartTime:void 0,isScrolling:void 0,currentTranslate:void 0,startTranslate:void 0,allowThresholdMove:void 0,focusableElements:s.params.focusableElements,lastClickTime:hv(),clickTimeout:void 0,velocities:[],allowMomentumBounce:void 0,isTouchEvent:void 0,startMoving:void 0},allowClick:!0,allowTouchMove:s.params.allowTouchMove,touches:{startX:0,startY:0,currentX:0,currentY:0,diff:0},imagesToLoad:[],imagesLoaded:0}),s.useModules(),s.emit("_swiper"),s.params.init&&s.init(),s}var t,n,r,i=e.prototype;return i.enable=function(){var e=this;e.enabled||(e.enabled=!0,e.params.grabCursor&&e.setGrabCursor(),e.emit("enable"))},i.disable=function(){var e=this;e.enabled&&(e.enabled=!1,e.params.grabCursor&&e.unsetGrabCursor(),e.emit("disable"))},i.setProgress=function(e,t){var n=this;e=Math.min(Math.max(e,0),1);var r=n.minTranslate(),i=(n.maxTranslate()-r)*e+r;n.translateTo(i,"undefined"===typeof t?0:t),n.updateActiveIndex(),n.updateSlidesClasses()},i.emitContainerClasses=function(){var e=this;if(e.params._emitClasses&&e.el){var t=e.el.className.split(" ").filter((function(t){return 0===t.indexOf("swiper-container")||0===t.indexOf(e.params.containerModifierClass)}));e.emit("_containerClasses",t.join(" "))}},i.getSlideClasses=function(e){var t=this;return e.className.split(" ").filter((function(e){return 0===e.indexOf("swiper-slide")||0===e.indexOf(t.params.slideClass)})).join(" ")},i.emitSlidesClasses=function(){var e=this;if(e.params._emitClasses&&e.el){var t=[];e.slides.each((function(n){var r=e.getSlideClasses(n);t.push({slideEl:n,classNames:r}),e.emit("_slideClass",n,r)})),e.emit("_slideClasses",t)}},i.slidesPerViewDynamic=function(){var e=this,t=e.params,n=e.slides,r=e.slidesGrid,i=e.size,o=e.activeIndex,a=1;if(t.centeredSlides){for(var s,l=n[o].swiperSlideSize,c=o+1;c<n.length;c+=1)n[c]&&!s&&(a+=1,(l+=n[c].swiperSlideSize)>i&&(s=!0));for(var u=o-1;u>=0;u-=1)n[u]&&!s&&(a+=1,(l+=n[u].swiperSlideSize)>i&&(s=!0))}else for(var d=o+1;d<n.length;d+=1)r[d]-r[o]<i&&(a+=1);return a},i.update=function(){var e=this;if(e&&!e.destroyed){var t=e.snapGrid,n=e.params;n.breakpoints&&e.setBreakpoint(),e.updateSize(),e.updateSlides(),e.updateProgress(),e.updateSlidesClasses(),e.params.freeMode?(r(),e.params.autoHeight&&e.updateAutoHeight()):(("auto"===e.params.slidesPerView||e.params.slidesPerView>1)&&e.isEnd&&!e.params.centeredSlides?e.slideTo(e.slides.length-1,0,!1,!0):e.slideTo(e.activeIndex,0,!1,!0))||r(),n.watchOverflow&&t!==e.snapGrid&&e.checkOverflow(),e.emit("update")}function r(){var t=e.rtlTranslate?-1*e.translate:e.translate,n=Math.min(Math.max(t,e.maxTranslate()),e.minTranslate());e.setTranslate(n),e.updateActiveIndex(),e.updateSlidesClasses()}},i.changeDirection=function(e,t){void 0===t&&(t=!0);var n=this,r=n.params.direction;return e||(e="horizontal"===r?"vertical":"horizontal"),e===r||"horizontal"!==e&&"vertical"!==e||(n.$el.removeClass(""+n.params.containerModifierClass+r).addClass(""+n.params.containerModifierClass+e),n.emitContainerClasses(),n.params.direction=e,n.slides.each((function(t){"vertical"===e?t.style.width="":t.style.height=""})),n.emit("changeDirection"),t&&n.update()),n},i.mount=function(e){var t=this;if(t.mounted)return!0;var n=fv(e||t.params.el);if(!(e=n[0]))return!1;e.swiper=t;var r=function(){return"."+(t.params.wrapperClass||"").trim().split(" ").join(".")},i=function(){if(e&&e.shadowRoot&&e.shadowRoot.querySelector){var t=fv(e.shadowRoot.querySelector(r()));return t.children=function(e){return n.children(e)},t}return n.children(r())}();if(0===i.length&&t.params.createElements){var o=qh().createElement("div");i=fv(o),o.className=t.params.wrapperClass,n.append(o),n.children("."+t.params.slideClass).each((function(e){i.append(e)}))}return yv(t,{$el:n,el:e,$wrapperEl:i,wrapperEl:i[0],mounted:!0,rtl:"rtl"===e.dir.toLowerCase()||"rtl"===n.css("direction"),rtlTranslate:"horizontal"===t.params.direction&&("rtl"===e.dir.toLowerCase()||"rtl"===n.css("direction")),wrongRTL:"-webkit-box"===i.css("display")}),!0},i.init=function(e){var t=this;return t.initialized||!1===t.mount(e)||(t.emit("beforeInit"),t.params.breakpoints&&t.setBreakpoint(),t.addClasses(),t.params.loop&&t.loopCreate(),t.updateSize(),t.updateSlides(),t.params.watchOverflow&&t.checkOverflow(),t.params.grabCursor&&t.enabled&&t.setGrabCursor(),t.params.preloadImages&&t.preloadImages(),t.params.loop?t.slideTo(t.params.initialSlide+t.loopedSlides,0,t.params.runCallbacksOnInit,!1,!0):t.slideTo(t.params.initialSlide,0,t.params.runCallbacksOnInit,!1,!0),t.attachEvents(),t.initialized=!0,t.emit("init"),t.emit("afterInit")),t},i.destroy=function(e,t){void 0===e&&(e=!0),void 0===t&&(t=!0);var n=this,r=n.params,i=n.$el,o=n.$wrapperEl,a=n.slides;return"undefined"===typeof n.params||n.destroyed||(n.emit("beforeDestroy"),n.initialized=!1,n.detachEvents(),r.loop&&n.loopDestroy(),t&&(n.removeClasses(),i.removeAttr("style"),o.removeAttr("style"),a&&a.length&&a.removeClass([r.slideVisibleClass,r.slideActiveClass,r.slideNextClass,r.slidePrevClass].join(" ")).removeAttr("style").removeAttr("data-swiper-slide-index")),n.emit("destroy"),Object.keys(n.eventsListeners).forEach((function(e){n.off(e)})),!1!==e&&(n.$el[0].swiper=null,function(e){var t=e;Object.keys(t).forEach((function(e){try{t[e]=null}catch(ky){}try{delete t[e]}catch(ky){}}))}(n)),n.destroyed=!0),null},e.extendDefaults=function(e){yv(Xv,e)},e.installModule=function(t){e.prototype.modules||(e.prototype.modules={});var n=t.name||Object.keys(e.prototype.modules).length+"_"+hv();e.prototype.modules[n]=t},e.use=function(t){return Array.isArray(t)?(t.forEach((function(t){return e.installModule(t)})),e):(e.installModule(t),e)},t=e,r=[{key:"extendedDefaults",get:function(){return Xv}},{key:"defaults",get:function(){return Zv}}],(n=null)&&Gv(t.prototype,n),r&&Gv(t,r),e}();Object.keys(qv).forEach((function(e){Object.keys(qv[e]).forEach((function(t){$v.prototype[t]=qv[e][t]}))})),$v.use([kv,jv]);var Yv=$v;function Jv(e){return"object"===typeof e&&null!==e&&e.constructor&&"Object"===Object.prototype.toString.call(e).slice(8,-1)}function Qv(e,t){var n=["__proto__","constructor","prototype"];Object.keys(t).filter((function(e){return n.indexOf(e)<0})).forEach((function(n){"undefined"===typeof e[n]?e[n]=t[n]:Jv(t[n])&&Jv(e[n])&&Object.keys(t[n]).length>0?t[n].__swiper__?e[n]=t[n]:Qv(e[n],t[n]):e[n]=t[n]}))}function em(e){return void 0===e&&(e={}),e.navigation&&"undefined"===typeof e.navigation.nextEl&&"undefined"===typeof e.navigation.prevEl}function tm(e){return void 0===e&&(e={}),e.pagination&&"undefined"===typeof e.pagination.el}function nm(e){return void 0===e&&(e={}),e.scrollbar&&"undefined"===typeof e.scrollbar.el}function rm(e){void 0===e&&(e="");var t=e.split(" ").map((function(e){return e.trim()})).filter((function(e){return!!e})),n=[];return t.forEach((function(e){n.indexOf(e)<0&&n.push(e)})),n.join(" ")}var im=["init","_direction","touchEventsTarget","initialSlide","_speed","cssMode","updateOnWindowResize","resizeObserver","nested","focusableElements","_enabled","_width","_height","preventInteractionOnTransition","userAgent","url","_edgeSwipeDetection","_edgeSwipeThreshold","_freeMode","_freeModeMomentum","_freeModeMomentumRatio","_freeModeMomentumBounce","_freeModeMomentumBounceRatio","_freeModeMomentumVelocityRatio","_freeModeSticky","_freeModeMinimumVelocity","_autoHeight","setWrapperSize","virtualTranslate","_effect","breakpoints","_spaceBetween","_slidesPerView","_slidesPerColumn","_slidesPerColumnFill","_slidesPerGroup","_slidesPerGroupSkip","_centeredSlides","_centeredSlidesBounds","_slidesOffsetBefore","_slidesOffsetAfter","normalizeSlideIndex","_centerInsufficientSlides","_watchOverflow","roundLengths","touchRatio","touchAngle","simulateTouch","_shortSwipes","_longSwipes","longSwipesRatio","longSwipesMs","_followFinger","allowTouchMove","_threshold","touchMoveStopPropagation","touchStartPreventDefault","touchStartForcePreventDefault","touchReleaseOnEdges","uniqueNavElements","_resistance","_resistanceRatio","_watchSlidesProgress","_watchSlidesVisibility","_grabCursor","preventClicks","preventClicksPropagation","_slideToClickedSlide","_preloadImages","updateOnImagesReady","_loop","_loopAdditionalSlides","_loopedSlides","_loopFillGroupWithBlank","loopPreventsSlide","_allowSlidePrev","_allowSlideNext","_swipeHandler","_noSwiping","noSwipingClass","noSwipingSelector","passiveListeners","containerModifierClass","slideClass","slideBlankClass","slideActiveClass","slideDuplicateActiveClass","slideVisibleClass","slideDuplicateClass","slideNextClass","slideDuplicateNextClass","slidePrevClass","slideDuplicatePrevClass","wrapperClass","runCallbacksOnInit","observer","observeParents","observeSlideChildren","a11y","autoplay","_controller","coverflowEffect","cubeEffect","fadeEffect","flipEffect","hashNavigation","history","keyboard","lazy","mousewheel","_navigation","_pagination","parallax","_scrollbar","_thumbs","virtual","zoom"];function om(e,t){var n=t.slidesPerView;if(t.breakpoints){var r=Yv.prototype.getBreakpoint(t.breakpoints),i=r in t.breakpoints?t.breakpoints[r]:void 0;i&&i.slidesPerView&&(n=i.slidesPerView)}var o=Math.ceil(parseFloat(t.loopedSlides||n,10));return(o+=t.loopAdditionalSlides)>e.length&&(o=e.length),o}function am(t){var n=[];return e.Children.toArray(t).forEach((function(e){e.type&&"SwiperSlide"===e.type.displayName?n.push(e):e.props&&e.props.children&&am(e.props.children).forEach((function(e){return n.push(e)}))})),n}function sm(t){var n=[],r={"container-start":[],"container-end":[],"wrapper-start":[],"wrapper-end":[]};return e.Children.toArray(t).forEach((function(e){if(e.type&&"SwiperSlide"===e.type.displayName)n.push(e);else if(e.props&&e.props.slot&&r[e.props.slot])r[e.props.slot].push(e);else if(e.props&&e.props.children){var t=am(e.props.children);t.length>0?t.forEach((function(e){return n.push(e)})):r["container-end"].push(e)}else r["container-end"].push(e)})),{slides:n,slots:r}}function lm(e){var t,n,r,i,o,a=e.swiper,s=e.slides,l=e.passedParams,c=e.changedParams,u=e.nextEl,d=e.prevEl,f=e.scrollbarEl,p=e.paginationEl,h=c.filter((function(e){return"children"!==e&&"direction"!==e})),v=a.params,m=a.pagination,g=a.navigation,y=a.scrollbar,b=a.virtual,w=a.thumbs;c.includes("thumbs")&&l.thumbs&&l.thumbs.swiper&&v.thumbs&&!v.thumbs.swiper&&(t=!0),c.includes("controller")&&l.controller&&l.controller.control&&v.controller&&!v.controller.control&&(n=!0),c.includes("pagination")&&l.pagination&&(l.pagination.el||p)&&(v.pagination||!1===v.pagination)&&m&&!m.el&&(r=!0),c.includes("scrollbar")&&l.scrollbar&&(l.scrollbar.el||f)&&(v.scrollbar||!1===v.scrollbar)&&y&&!y.el&&(i=!0),c.includes("navigation")&&l.navigation&&(l.navigation.prevEl||d)&&(l.navigation.nextEl||u)&&(v.navigation||!1===v.navigation)&&g&&!g.prevEl&&!g.nextEl&&(o=!0);(h.forEach((function(e){if(Jv(v[e])&&Jv(l[e]))Qv(v[e],l[e]);else{var t=l[e];!0!==t&&!1!==t||"navigation"!==e&&"pagination"!==e&&"scrollbar"!==e?v[e]=l[e]:!1===t&&a[n=e]&&(a[n].destroy(),"navigation"===n?(v[n].prevEl=void 0,v[n].nextEl=void 0,a[n].prevEl=void 0,a[n].nextEl=void 0):(v[n].el=void 0,a[n].el=void 0))}var n})),c.includes("children")&&b&&v.virtual.enabled?(b.slides=s,b.update(!0)):c.includes("children")&&a.lazy&&a.params.lazy.enabled&&a.lazy.load(),t)&&(w.init()&&w.update(!0));n&&(a.controller.control=v.controller.control),r&&(p&&(v.pagination.el=p),m.init(),m.render(),m.update()),i&&(f&&(v.scrollbar.el=f),y.init(),y.updateSize(),y.setTranslate()),o&&(u&&(v.navigation.nextEl=u),d&&(v.navigation.prevEl=d),g.init(),g.update()),c.includes("allowSlideNext")&&(a.allowSlideNext=l.allowSlideNext),c.includes("allowSlidePrev")&&(a.allowSlidePrev=l.allowSlidePrev),c.includes("direction")&&a.changeDirection(l.direction,!1),a.update()}function cm(t,n){return"undefined"===typeof window?(0,e.useEffect)(t,n):(0,e.useLayoutEffect)(t,n)}var um=["className","tag","wrapperTag","children","onSwiper"];function dm(){return dm=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},dm.apply(this,arguments)}var fm=(0,e.forwardRef)((function(t,n){var r=void 0===t?{}:t,i=r.className,o=r.tag,a=void 0===o?"div":o,s=r.wrapperTag,l=void 0===s?"div":s,c=r.children,u=r.onSwiper,d=function(e,t){if(null==e)return{};var n,r,i={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||(i[n]=e[n]);return i}(r,um),f=!1,p=(0,e.useState)("swiper-container"),h=p[0],v=p[1],m=(0,e.useState)(null),g=m[0],y=m[1],b=(0,e.useState)(!1),w=b[0],x=b[1],S=(0,e.useRef)(!1),E=(0,e.useRef)(null),k=(0,e.useRef)(null),C=(0,e.useRef)(null),O=(0,e.useRef)(null),j=(0,e.useRef)(null),T=(0,e.useRef)(null),P=(0,e.useRef)(null),N=(0,e.useRef)(null),_=function(e){void 0===e&&(e={});var t={on:{}},n={},r={};Qv(t,Yv.defaults),Qv(t,Yv.extendedDefaults),t._emitClasses=!0,t.init=!1;var i={},o=im.map((function(e){return e.replace(/_/,"")}));return Object.keys(e).forEach((function(a){o.indexOf(a)>=0?Jv(e[a])?(t[a]={},r[a]={},Qv(t[a],e[a]),Qv(r[a],e[a])):(t[a]=e[a],r[a]=e[a]):0===a.search(/on[A-Z]/)&&"function"===typeof e[a]?n[""+a[2].toLowerCase()+a.substr(3)]=e[a]:i[a]=e[a]})),["navigation","pagination","scrollbar"].forEach((function(e){!0===t[e]&&(t[e]={}),!1===t[e]&&delete t[e]})),{params:t,passedParams:r,rest:i,events:n}}(d),R=_.params,I=_.passedParams,L=_.rest,M=_.events,D=sm(c),A=D.slides,F=D.slots,z=function(){x(!w)};if(Object.assign(R.on,{_containerClasses:function(e,t){v(t)}}),!E.current&&(Object.assign(R.on,M),f=!0,k.current=function(e){return new Yv(e)}(R),k.current.loopCreate=function(){},k.current.loopDestroy=function(){},R.loop&&(k.current.loopedSlides=om(A,R)),k.current.virtual&&k.current.params.virtual.enabled)){k.current.virtual.slides=A;var B={cache:!1,renderExternal:y,renderExternalUpdate:!1};Qv(k.current.params.virtual,B),Qv(k.current.originalParams.virtual,B)}k.current&&k.current.on("_beforeBreakpoint",z);return(0,e.useEffect)((function(){return function(){k.current&&k.current.off("_beforeBreakpoint",z)}})),(0,e.useEffect)((function(){!S.current&&k.current&&(k.current.emitSlidesClasses(),S.current=!0)})),cm((function(){if(n&&(n.current=E.current),E.current)return function(e,t){var n=e.el,r=e.nextEl,i=e.prevEl,o=e.paginationEl,a=e.scrollbarEl,s=e.swiper;em(t)&&r&&i&&(s.params.navigation.nextEl=r,s.originalParams.navigation.nextEl=r,s.params.navigation.prevEl=i,s.originalParams.navigation.prevEl=i),tm(t)&&o&&(s.params.pagination.el=o,s.originalParams.pagination.el=o),nm(t)&&a&&(s.params.scrollbar.el=a,s.originalParams.scrollbar.el=a),s.init(n)}({el:E.current,nextEl:j.current,prevEl:T.current,paginationEl:P.current,scrollbarEl:N.current,swiper:k.current},R),u&&u(k.current),function(){k.current&&!k.current.destroyed&&k.current.destroy(!0,!1)}}),[]),cm((function(){!f&&M&&k.current&&Object.keys(M).forEach((function(e){k.current.on(e,M[e])}));var e=function(e,t,n,r){var i=[];if(!t)return i;var o=function(e){i.indexOf(e)<0&&i.push(e)},a=r.map((function(e){return e.key})),s=n.map((function(e){return e.key}));a.join("")!==s.join("")&&o("children"),r.length!==n.length&&o("children");var l=im.filter((function(e){return"_"===e[0]})).map((function(e){return e.replace(/_/,"")}));return l.forEach((function(n){if(n in e&&n in t)if(Jv(e[n])&&Jv(t[n])){var r=Object.keys(e[n]),i=Object.keys(t[n]);r.length!==i.length?o(n):(r.forEach((function(r){e[n][r]!==t[n][r]&&o(n)})),i.forEach((function(r){e[n][r]!==t[n][r]&&o(n)})))}else e[n]!==t[n]&&o(n)})),i}(I,C.current,A,O.current);return C.current=I,O.current=A,e.length&&k.current&&!k.current.destroyed&&lm({swiper:k.current,slides:A,passedParams:I,changedParams:e,nextEl:j.current,prevEl:T.current,scrollbarEl:N.current,paginationEl:P.current}),function(){M&&k.current&&Object.keys(M).forEach((function(e){k.current.off(e,M[e])}))}})),cm((function(){var e;!(e=k.current)||e.destroyed||!e.params.virtual||e.params.virtual&&!e.params.virtual.enabled||(e.updateSlides(),e.updateProgress(),e.updateSlidesClasses(),e.lazy&&e.params.lazy.enabled&&e.lazy.load(),e.parallax&&e.params.parallax&&e.params.parallax.enabled&&e.parallax.setTranslate())}),[g]),e.createElement(a,dm({ref:E,className:rm(h+(i?" "+i:""))},L),F["container-start"],em(R)&&e.createElement(e.Fragment,null,e.createElement("div",{ref:T,className:"swiper-button-prev"}),e.createElement("div",{ref:j,className:"swiper-button-next"})),nm(R)&&e.createElement("div",{ref:N,className:"swiper-scrollbar"}),tm(R)&&e.createElement("div",{ref:P,className:"swiper-pagination"}),e.createElement(l,{className:"swiper-wrapper"},F["wrapper-start"],R.virtual?function(t,n,r){var i;if(!r)return null;var o=t.isHorizontal()?((i={})[t.rtlTranslate?"right":"left"]=r.offset+"px",i):{top:r.offset+"px"};return n.filter((function(e,t){return t>=r.from&&t<=r.to})).map((function(n){return e.cloneElement(n,{swiper:t,style:o})}))}(k.current,A,g):!R.loop||k.current&&k.current.destroyed?A.map((function(t){return e.cloneElement(t,{swiper:k.current})})):function(t,n,r){var i=n.map((function(n,r){return e.cloneElement(n,{swiper:t,"data-swiper-slide-index":r})}));function o(t,n,i){return e.cloneElement(t,{key:t.key+"-duplicate-"+n+"-"+i,className:(t.props.className||"")+" "+r.slideDuplicateClass})}if(r.loopFillGroupWithBlank){var a=r.slidesPerGroup-i.length%r.slidesPerGroup;if(a!==r.slidesPerGroup)for(var s=0;s<a;s+=1){var l=e.createElement("div",{className:r.slideClass+" "+r.slideBlankClass});i.push(l)}}"auto"!==r.slidesPerView||r.loopedSlides||(r.loopedSlides=i.length);var c=om(i,r),u=[],d=[];return i.forEach((function(e,t){t<c&&d.push(o(e,t,"prepend")),t<i.length&&t>=i.length-c&&u.push(o(e,t,"append"))})),t&&(t.loopedSlides=c),[].concat(u,i,d)}(k.current,A,R),F["wrapper-end"]),F["container-end"])}));fm.displayName="Swiper";var pm=["tag","children","className","swiper","zoom","virtualIndex"];function hm(){return hm=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},hm.apply(this,arguments)}var vm=(0,e.forwardRef)((function(t,n){var r,i=void 0===t?{}:t,o=i.tag,a=void 0===o?"div":o,s=i.children,l=i.className,c=void 0===l?"":l,u=i.swiper,d=i.zoom,f=i.virtualIndex,p=function(e,t){if(null==e)return{};var n,r,i={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||(i[n]=e[n]);return i}(i,pm),h=(0,e.useRef)(null),v=(0,e.useState)("swiper-slide"),m=v[0],g=v[1];function y(e,t,n){t===h.current&&g(n)}cm((function(){if(n&&(n.current=h.current),h.current&&u){if(!u.destroyed)return u.on("_slideClass",y),function(){u&&u.off("_slideClass",y)};"swiper-slide"!==m&&g("swiper-slide")}})),cm((function(){u&&h.current&&g(u.getSlideClasses(h.current))}),[u]),"function"===typeof s&&(r={isActive:m.indexOf("swiper-slide-active")>=0||m.indexOf("swiper-slide-duplicate-active")>=0,isVisible:m.indexOf("swiper-slide-visible")>=0,isDuplicate:m.indexOf("swiper-slide-duplicate")>=0,isPrev:m.indexOf("swiper-slide-prev")>=0||m.indexOf("swiper-slide-duplicate-prev")>=0,isNext:m.indexOf("swiper-slide-next")>=0||m.indexOf("swiper-slide-duplicate-next")>=0});var b=function(){return"function"===typeof s?s(r):s};return e.createElement(a,hm({ref:h,className:rm(m+(c?" "+c:"")),"data-swiper-slide-index":f},p),d?e.createElement("div",{className:"swiper-zoom-container","data-swiper-zoom":"number"===typeof d?d:void 0},b()):b())}));function mm(){return mm=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},mm.apply(this,arguments)}vm.displayName="SwiperSlide";var gm={run:function(){var e=this,t=e.slides.eq(e.activeIndex),n=e.params.autoplay.delay;t.attr("data-swiper-autoplay")&&(n=t.attr("data-swiper-autoplay")||e.params.autoplay.delay),clearTimeout(e.autoplay.timeout),e.autoplay.timeout=pv((function(){var t;e.params.autoplay.reverseDirection?e.params.loop?(e.loopFix(),t=e.slidePrev(e.params.speed,!0,!0),e.emit("autoplay")):e.isBeginning?e.params.autoplay.stopOnLastSlide?e.autoplay.stop():(t=e.slideTo(e.slides.length-1,e.params.speed,!0,!0),e.emit("autoplay")):(t=e.slidePrev(e.params.speed,!0,!0),e.emit("autoplay")):e.params.loop?(e.loopFix(),t=e.slideNext(e.params.speed,!0,!0),e.emit("autoplay")):e.isEnd?e.params.autoplay.stopOnLastSlide?e.autoplay.stop():(t=e.slideTo(0,e.params.speed,!0,!0),e.emit("autoplay")):(t=e.slideNext(e.params.speed,!0,!0),e.emit("autoplay")),(e.params.cssMode&&e.autoplay.running||!1===t)&&e.autoplay.run()}),n)},start:function(){var e=this;return"undefined"===typeof e.autoplay.timeout&&(!e.autoplay.running&&(e.autoplay.running=!0,e.emit("autoplayStart"),e.autoplay.run(),!0))},stop:function(){var e=this;return!!e.autoplay.running&&("undefined"!==typeof e.autoplay.timeout&&(e.autoplay.timeout&&(clearTimeout(e.autoplay.timeout),e.autoplay.timeout=void 0),e.autoplay.running=!1,e.emit("autoplayStop"),!0))},pause:function(e){var t=this;t.autoplay.running&&(t.autoplay.paused||(t.autoplay.timeout&&clearTimeout(t.autoplay.timeout),t.autoplay.paused=!0,0!==e&&t.params.autoplay.waitForTransition?["transitionend","webkitTransitionEnd"].forEach((function(e){t.$wrapperEl[0].addEventListener(e,t.autoplay.onTransitionEnd)})):(t.autoplay.paused=!1,t.autoplay.run())))},onVisibilityChange:function(){var e=this,t=qh();"hidden"===t.visibilityState&&e.autoplay.running&&e.autoplay.pause(),"visible"===t.visibilityState&&e.autoplay.paused&&(e.autoplay.run(),e.autoplay.paused=!1)},onTransitionEnd:function(e){var t=this;t&&!t.destroyed&&t.$wrapperEl&&e.target===t.$wrapperEl[0]&&(["transitionend","webkitTransitionEnd"].forEach((function(e){t.$wrapperEl[0].removeEventListener(e,t.autoplay.onTransitionEnd)})),t.autoplay.paused=!1,t.autoplay.running?t.autoplay.run():t.autoplay.stop())},onMouseEnter:function(){var e=this;e.params.autoplay.disableOnInteraction?e.autoplay.stop():e.autoplay.pause(),["transitionend","webkitTransitionEnd"].forEach((function(t){e.$wrapperEl[0].removeEventListener(t,e.autoplay.onTransitionEnd)}))},onMouseLeave:function(){var e=this;e.params.autoplay.disableOnInteraction||(e.autoplay.paused=!1,e.autoplay.run())},attachMouseEvents:function(){var e=this;e.params.autoplay.pauseOnMouseEnter&&(e.$el.on("mouseenter",e.autoplay.onMouseEnter),e.$el.on("mouseleave",e.autoplay.onMouseLeave))},detachMouseEvents:function(){var e=this;e.$el.off("mouseenter",e.autoplay.onMouseEnter),e.$el.off("mouseleave",e.autoplay.onMouseLeave)}},ym={name:"autoplay",params:{autoplay:{enabled:!1,delay:3e3,waitForTransition:!0,disableOnInteraction:!0,stopOnLastSlide:!1,reverseDirection:!1,pauseOnMouseEnter:!1}},create:function(){bv(this,{autoplay:mm({},gm,{running:!1,paused:!1})})},on:{init:function(e){e.params.autoplay.enabled&&(e.autoplay.start(),qh().addEventListener("visibilitychange",e.autoplay.onVisibilityChange),e.autoplay.attachMouseEvents())},beforeTransitionStart:function(e,t,n){e.autoplay.running&&(n||!e.params.autoplay.disableOnInteraction?e.autoplay.pause(t):e.autoplay.stop())},sliderFirstMove:function(e){e.autoplay.running&&(e.params.autoplay.disableOnInteraction?e.autoplay.stop():e.autoplay.pause())},touchEnd:function(e){e.params.cssMode&&e.autoplay.paused&&!e.params.autoplay.disableOnInteraction&&e.autoplay.run()},destroy:function(e){e.autoplay.detachMouseEvents(),e.autoplay.running&&e.autoplay.stop(),qh().removeEventListener("visibilitychange",e.autoplay.onVisibilityChange)}}};function bm(){return bm=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},bm.apply(this,arguments)}var wm={toggleEl:function(e,t){e[t?"addClass":"removeClass"](this.params.navigation.disabledClass),e[0]&&"BUTTON"===e[0].tagName&&(e[0].disabled=t)},update:function(){var e=this,t=e.params.navigation,n=e.navigation.toggleEl;if(!e.params.loop){var r=e.navigation,i=r.$nextEl,o=r.$prevEl;o&&o.length>0&&(e.isBeginning?n(o,!0):n(o,!1),e.params.watchOverflow&&e.enabled&&o[e.isLocked?"addClass":"removeClass"](t.lockClass)),i&&i.length>0&&(e.isEnd?n(i,!0):n(i,!1),e.params.watchOverflow&&e.enabled&&i[e.isLocked?"addClass":"removeClass"](t.lockClass))}},onPrevClick:function(e){var t=this;e.preventDefault(),t.isBeginning&&!t.params.loop||t.slidePrev()},onNextClick:function(e){var t=this;e.preventDefault(),t.isEnd&&!t.params.loop||t.slideNext()},init:function(){var e,t,n=this,r=n.params.navigation;(n.params.navigation=function(e,t,n,r){var i=qh();return n&&Object.keys(r).forEach((function(n){if(!t[n]&&!0===t.auto){var o=i.createElement("div");o.className=r[n],e.append(o),t[n]=o}})),t}(n.$el,n.params.navigation,n.params.createElements,{nextEl:"swiper-button-next",prevEl:"swiper-button-prev"}),r.nextEl||r.prevEl)&&(r.nextEl&&(e=fv(r.nextEl),n.params.uniqueNavElements&&"string"===typeof r.nextEl&&e.length>1&&1===n.$el.find(r.nextEl).length&&(e=n.$el.find(r.nextEl))),r.prevEl&&(t=fv(r.prevEl),n.params.uniqueNavElements&&"string"===typeof r.prevEl&&t.length>1&&1===n.$el.find(r.prevEl).length&&(t=n.$el.find(r.prevEl))),e&&e.length>0&&e.on("click",n.navigation.onNextClick),t&&t.length>0&&t.on("click",n.navigation.onPrevClick),yv(n.navigation,{$nextEl:e,nextEl:e&&e[0],$prevEl:t,prevEl:t&&t[0]}),n.enabled||(e&&e.addClass(r.lockClass),t&&t.addClass(r.lockClass)))},destroy:function(){var e=this,t=e.navigation,n=t.$nextEl,r=t.$prevEl;n&&n.length&&(n.off("click",e.navigation.onNextClick),n.removeClass(e.params.navigation.disabledClass)),r&&r.length&&(r.off("click",e.navigation.onPrevClick),r.removeClass(e.params.navigation.disabledClass))}},xm={name:"navigation",params:{navigation:{nextEl:null,prevEl:null,hideOnClick:!1,disabledClass:"swiper-button-disabled",hiddenClass:"swiper-button-hidden",lockClass:"swiper-button-lock"}},create:function(){bv(this,{navigation:bm({},wm)})},on:{init:function(e){e.navigation.init(),e.navigation.update()},toEdge:function(e){e.navigation.update()},fromEdge:function(e){e.navigation.update()},destroy:function(e){e.navigation.destroy()},"enable disable":function(e){var t=e.navigation,n=t.$nextEl,r=t.$prevEl;n&&n[e.enabled?"removeClass":"addClass"](e.params.navigation.lockClass),r&&r[e.enabled?"removeClass":"addClass"](e.params.navigation.lockClass)},click:function(e,t){var n=e.navigation,r=n.$nextEl,i=n.$prevEl,o=t.target;if(e.params.navigation.hideOnClick&&!fv(o).is(i)&&!fv(o).is(r)){if(e.pagination&&e.params.pagination&&e.params.pagination.clickable&&(e.pagination.el===o||e.pagination.el.contains(o)))return;var a;r?a=r.hasClass(e.params.navigation.hiddenClass):i&&(a=i.hasClass(e.params.navigation.hiddenClass)),!0===a?e.emit("navigationShow"):e.emit("navigationHide"),r&&r.toggleClass(e.params.navigation.hiddenClass),i&&i.toggleClass(e.params.navigation.hiddenClass)}}}};function Sm(){return Sm=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Sm.apply(this,arguments)}var Em={getRandomNumber:function(e){void 0===e&&(e=16);return"x".repeat(e).replace(/x/g,(function(){return Math.round(16*Math.random()).toString(16)}))},makeElFocusable:function(e){return e.attr("tabIndex","0"),e},makeElNotFocusable:function(e){return e.attr("tabIndex","-1"),e},addElRole:function(e,t){return e.attr("role",t),e},addElRoleDescription:function(e,t){return e.attr("aria-roledescription",t),e},addElControls:function(e,t){return e.attr("aria-controls",t),e},addElLabel:function(e,t){return e.attr("aria-label",t),e},addElId:function(e,t){return e.attr("id",t),e},addElLive:function(e,t){return e.attr("aria-live",t),e},disableEl:function(e){return e.attr("aria-disabled",!0),e},enableEl:function(e){return e.attr("aria-disabled",!1),e},onEnterOrSpaceKey:function(e){if(13===e.keyCode||32===e.keyCode){var t=this,n=t.params.a11y,r=fv(e.target);t.navigation&&t.navigation.$nextEl&&r.is(t.navigation.$nextEl)&&(t.isEnd&&!t.params.loop||t.slideNext(),t.isEnd?t.a11y.notify(n.lastSlideMessage):t.a11y.notify(n.nextSlideMessage)),t.navigation&&t.navigation.$prevEl&&r.is(t.navigation.$prevEl)&&(t.isBeginning&&!t.params.loop||t.slidePrev(),t.isBeginning?t.a11y.notify(n.firstSlideMessage):t.a11y.notify(n.prevSlideMessage)),t.pagination&&r.is(wv(t.params.pagination.bulletClass))&&r[0].click()}},notify:function(e){var t=this.a11y.liveRegion;0!==t.length&&(t.html(""),t.html(e))},updateNavigation:function(){var e=this;if(!e.params.loop&&e.navigation){var t=e.navigation,n=t.$nextEl,r=t.$prevEl;r&&r.length>0&&(e.isBeginning?(e.a11y.disableEl(r),e.a11y.makeElNotFocusable(r)):(e.a11y.enableEl(r),e.a11y.makeElFocusable(r))),n&&n.length>0&&(e.isEnd?(e.a11y.disableEl(n),e.a11y.makeElNotFocusable(n)):(e.a11y.enableEl(n),e.a11y.makeElFocusable(n)))}},updatePagination:function(){var e=this,t=e.params.a11y;e.pagination&&e.params.pagination.clickable&&e.pagination.bullets&&e.pagination.bullets.length&&e.pagination.bullets.each((function(n){var r=fv(n);e.a11y.makeElFocusable(r),e.params.pagination.renderBullet||(e.a11y.addElRole(r,"button"),e.a11y.addElLabel(r,t.paginationBulletMessage.replace(/\{\{index\}\}/,r.index()+1)))}))},init:function(){var e=this,t=e.params.a11y;e.$el.append(e.a11y.liveRegion);var n=e.$el;t.containerRoleDescriptionMessage&&e.a11y.addElRoleDescription(n,t.containerRoleDescriptionMessage),t.containerMessage&&e.a11y.addElLabel(n,t.containerMessage);var r=e.$wrapperEl,i=r.attr("id")||"swiper-wrapper-"+e.a11y.getRandomNumber(16),o=e.params.autoplay&&e.params.autoplay.enabled?"off":"polite";e.a11y.addElId(r,i),e.a11y.addElLive(r,o),t.itemRoleDescriptionMessage&&e.a11y.addElRoleDescription(fv(e.slides),t.itemRoleDescriptionMessage),e.a11y.addElRole(fv(e.slides),t.slideRole);var a,s,l=e.params.loop?e.slides.filter((function(t){return!t.classList.contains(e.params.slideDuplicateClass)})).length:e.slides.length;e.slides.each((function(n,r){var i=fv(n),o=e.params.loop?parseInt(i.attr("data-swiper-slide-index"),10):r,a=t.slideLabelMessage.replace(/\{\{index\}\}/,o+1).replace(/\{\{slidesLength\}\}/,l);e.a11y.addElLabel(i,a)})),e.navigation&&e.navigation.$nextEl&&(a=e.navigation.$nextEl),e.navigation&&e.navigation.$prevEl&&(s=e.navigation.$prevEl),a&&a.length&&(e.a11y.makeElFocusable(a),"BUTTON"!==a[0].tagName&&(e.a11y.addElRole(a,"button"),a.on("keydown",e.a11y.onEnterOrSpaceKey)),e.a11y.addElLabel(a,t.nextSlideMessage),e.a11y.addElControls(a,i)),s&&s.length&&(e.a11y.makeElFocusable(s),"BUTTON"!==s[0].tagName&&(e.a11y.addElRole(s,"button"),s.on("keydown",e.a11y.onEnterOrSpaceKey)),e.a11y.addElLabel(s,t.prevSlideMessage),e.a11y.addElControls(s,i)),e.pagination&&e.params.pagination.clickable&&e.pagination.bullets&&e.pagination.bullets.length&&e.pagination.$el.on("keydown",wv(e.params.pagination.bulletClass),e.a11y.onEnterOrSpaceKey)},destroy:function(){var e,t,n=this;n.a11y.liveRegion&&n.a11y.liveRegion.length>0&&n.a11y.liveRegion.remove(),n.navigation&&n.navigation.$nextEl&&(e=n.navigation.$nextEl),n.navigation&&n.navigation.$prevEl&&(t=n.navigation.$prevEl),e&&e.off("keydown",n.a11y.onEnterOrSpaceKey),t&&t.off("keydown",n.a11y.onEnterOrSpaceKey),n.pagination&&n.params.pagination.clickable&&n.pagination.bullets&&n.pagination.bullets.length&&n.pagination.$el.off("keydown",wv(n.params.pagination.bulletClass),n.a11y.onEnterOrSpaceKey)}},km={name:"a11y",params:{a11y:{enabled:!0,notificationClass:"swiper-notification",prevSlideMessage:"Previous slide",nextSlideMessage:"Next slide",firstSlideMessage:"This is the first slide",lastSlideMessage:"This is the last slide",paginationBulletMessage:"Go to slide {{index}}",slideLabelMessage:"{{index}} / {{slidesLength}}",containerMessage:null,containerRoleDescriptionMessage:null,itemRoleDescriptionMessage:null,slideRole:"group"}},create:function(){bv(this,{a11y:Sm({},Em,{liveRegion:fv('<span class="'+this.params.a11y.notificationClass+'" aria-live="assertive" aria-atomic="true"></span>')})})},on:{afterInit:function(e){e.params.a11y.enabled&&(e.a11y.init(),e.a11y.updateNavigation())},toEdge:function(e){e.params.a11y.enabled&&e.a11y.updateNavigation()},fromEdge:function(e){e.params.a11y.enabled&&e.a11y.updateNavigation()},paginationUpdate:function(e){e.params.a11y.enabled&&e.a11y.updatePagination()},destroy:function(e){e.params.a11y.enabled&&e.a11y.destroy()}}},Cm=function(e,t){return Cm=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])},Cm(e,t)};function Om(t){var n=t.className,r=t.counterClockwise,i=t.dashRatio,o=t.pathRadius,a=t.strokeWidth,s=t.style;return(0,e.createElement)("path",{className:n,style:Object.assign({},s,Tm({pathRadius:o,dashRatio:i,counterClockwise:r})),d:jm({pathRadius:o,counterClockwise:r}),strokeWidth:a,fillOpacity:0})}function jm(e){var t=e.pathRadius,n=e.counterClockwise?1:0;return"\n      M 50,50\n      m 0,-"+t+"\n      a "+t+","+t+" "+n+" 1 1 0,"+2*t+"\n      a "+t+","+t+" "+n+" 1 1 0,-"+2*t+"\n    "}function Tm(e){var t=e.counterClockwise,n=e.dashRatio,r=e.pathRadius,i=2*Math.PI*r,o=(1-n)*i;return{strokeDasharray:i+"px "+i+"px",strokeDashoffset:(t?-o:o)+"px"}}var Pm=function(t){function n(){return null!==t&&t.apply(this,arguments)||this}return function(e,t){function n(){this.constructor=e}Cm(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}(n,t),n.prototype.getBackgroundPadding=function(){return this.props.background?this.props.backgroundPadding:0},n.prototype.getPathRadius=function(){return 50-this.props.strokeWidth/2-this.getBackgroundPadding()},n.prototype.getPathRatio=function(){var e=this.props,t=e.value,n=e.minValue,r=e.maxValue;return(Math.min(Math.max(t,n),r)-n)/(r-n)},n.prototype.render=function(){var t=this.props,n=t.circleRatio,r=t.className,i=t.classes,o=t.counterClockwise,a=t.styles,s=t.strokeWidth,l=t.text,c=this.getPathRadius(),u=this.getPathRatio();return(0,e.createElement)("svg",{className:i.root+" "+r,style:a.root,viewBox:"0 0 100 100","data-test-id":"CircularProgressbar"},this.props.background?(0,e.createElement)("circle",{className:i.background,style:a.background,cx:50,cy:50,r:50}):null,(0,e.createElement)(Om,{className:i.trail,counterClockwise:o,dashRatio:n,pathRadius:c,strokeWidth:s,style:a.trail}),(0,e.createElement)(Om,{className:i.path,counterClockwise:o,dashRatio:u*n,pathRadius:c,strokeWidth:s,style:a.path}),l?(0,e.createElement)("text",{className:i.text,style:a.text,x:50,y:50},l):null)},n.defaultProps={background:!1,backgroundPadding:0,circleRatio:1,classes:{root:"CircularProgressbar",trail:"CircularProgressbar-trail",path:"CircularProgressbar-path",text:"CircularProgressbar-text",background:"CircularProgressbar-background"},counterClockwise:!1,className:"",maxValue:100,minValue:0,strokeWidth:8,styles:{root:{},trail:{},path:{},text:{},background:{}},text:""},n}(e.Component);function Nm(e){var t=e.rotation,n=e.strokeLinecap,r=e.textColor,i=e.textSize,o=e.pathColor,a=e.pathTransition,s=e.pathTransitionDuration,l=e.trailColor,c=e.backgroundColor,u=null==t?void 0:"rotate("+t+"turn)",d=null==t?void 0:"center center";return{root:{},path:_m({stroke:o,strokeLinecap:n,transform:u,transformOrigin:d,transition:a,transitionDuration:null==s?void 0:s+"s"}),trail:_m({stroke:l,strokeLinecap:n,transform:u,transformOrigin:d}),text:_m({fill:r,fontSize:i}),background:_m({fill:c})}}function _m(e){return Object.keys(e).forEach((function(t){null==e[t]&&delete e[t]})),e}var Rm=function(){};var Im=function(t,n){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},i=r.disabled,o=r.clickTrigger,a=n||Rm;Pp(t,a,{disabled:i,clickTrigger:o});var s=Bc((function(e){27===e.keyCode&&a(e)}));(0,e.useEffect)((function(){if(!i&&null!=t){var e=Wl(Tp(t)),n=(e.defaultView||window).event,r=pc(e,"keyup",(function(e){e!==n?s(e):n=void 0}));return function(){r()}}}),[t,i,s])},Lm=e.forwardRef((function(n,r){var i=n.flip,o=n.offset,a=n.placement,s=n.containerPadding,l=n.popperConfig,c=void 0===l?{}:l,u=n.transition,d=xs(zd(),2),f=d[0],p=d[1],h=xs(zd(),2),v=h[0],m=h[1],g=xc(p,r),y=au(n.container),b=au(n.target),w=xs((0,e.useState)(!n.show),2),x=w[0],S=w[1],E=Sp(b,f,_p({placement:a,enableEvents:!!n.show,containerPadding:s||5,flip:i,offset:o,arrowElement:v,popperConfig:c}));n.show?x&&S(!1):n.transition||x||S(!0);var k=n.show||u&&!x;if(Im(f,n.onHide,{disabled:!n.rootClose||n.rootCloseDisabled,clickTrigger:n.rootCloseEvent}),!k)return null;var C=n.children(Object.assign({},E.attributes.popper,{style:E.styles.popper,ref:g}),{popper:E,placement:a,show:!!n.show,arrowProps:Object.assign({},E.attributes.arrow,{style:E.styles.arrow,ref:m})});if(u){var O=n.onExit,j=n.onExiting,T=n.onEnter,P=n.onEntering,N=n.onEntered;C=(0,Il.jsx)(u,{in:n.show,appear:!0,onExit:O,onExiting:j,onExited:function(){S(!0),n.onExited&&n.onExited.apply(n,arguments)},onEnter:T,onEntering:P,onEntered:N,children:C})}return y?t.createPortal(C,y):null}));Lm.displayName="Overlay";var Mm=Lm,Dm=zl("popover-header"),Am=zl("popover-body");e.Component;function Fm(e,t){var n=e;return"left"===e?n=t?"end":"start":"right"===e&&(n=t?"start":"end"),n}var zm=["bsPrefix","placement","className","style","children","body","arrowProps","popper","show"],Bm=e.forwardRef((function(e,t){var n=e.bsPrefix,r=e.placement,i=e.className,o=e.style,a=e.children,s=e.body,l=e.arrowProps,c=(e.popper,e.show,wl(e,zm)),u=Ml(n,"popover"),d=Dl(),f=xs((null==r?void 0:r.split("-"))||[],1)[0],p=Fm(f,d);return(0,Il.jsxs)("div",yl(yl({ref:t,role:"tooltip",style:o,"x-placement":f,className:Sl()(i,u,f&&"bs-popover-".concat(p))},c),{},{children:[(0,Il.jsx)("div",yl({className:"popover-arrow"},l)),s?(0,Il.jsx)(Am,{children:a}):a]}))}));Bm.defaultProps={placement:"right"};var Vm=Object.assign(Bm,{Header:Dm,Body:Am,POPPER_OFFSET:[0,8]});var Um=["children","transition","popperConfig"],Wm={transition:gu,rootClose:!1,show:!1,placement:"top"};var Hm=e.forwardRef((function(t,n){var r=t.children,i=t.transition,o=t.popperConfig,a=void 0===o?{}:o,s=wl(t,Um),l=(0,e.useRef)({}),c=function(){var t=(0,e.useRef)(null),n=Ml(void 0,"popover"),r=(0,e.useMemo)((function(){return{name:"offset",options:{offset:function(){return t.current&&Ku(t.current,n)?Vm.POPPER_OFFSET:[0,0]}}}}),[n]);return[t,[r]]}(),u=xs(c,2),d=u[0],f=u[1],p=xc(n,d),h=!0===i?gu:i||void 0;return(0,Il.jsx)(Mm,yl(yl({},s),{},{ref:p,popperConfig:yl(yl({},a),{},{modifiers:f.concat(a.modifiers||[])}),transition:h,children:function(t,n){var o,a,s=n.arrowProps,c=n.popper,u=n.show;!function(e,t){var n=e.ref,r=t.ref;e.ref=n.__wrapped||(n.__wrapped=function(e){return n(Sc(e))}),t.ref=r.__wrapped||(r.__wrapped=function(e){return r(Sc(e))})}(t,s);var d=null==c?void 0:c.placement,f=Object.assign(l.current,{state:null==c?void 0:c.state,scheduleUpdate:null==c?void 0:c.update,placement:d,outOfBoundaries:(null==c||null==(o=c.state)||null==(a=o.modifiersData.hide)?void 0:a.isReferenceHidden)||!1});return"function"===typeof r?r(yl(yl(yl({},t),{},{placement:d,show:u},!i&&u&&{className:"show"}),{},{popper:f,arrowProps:s})):e.cloneElement(r,yl(yl({},t),{},{placement:d,arrowProps:s,popper:f,className:Sl()(r.props.className,!i&&u&&"show"),style:yl(yl({},r.props.style),t.style)}))}}))}));Hm.displayName="Overlay",Hm.defaultProps=Wm;var Km=Hm,Zm=["trigger","overlay","children","popperConfig","show","defaultShow","onToggle","delay","placement","flip"];function Gm(e,t,n){var r=xs(t,1)[0],i=r.currentTarget,o=r.relatedTarget||r.nativeEvent[n];o&&o===i||Kc(i,o)||e.apply(void 0,Xc(t))}function qm(t){var n=t.trigger,r=t.overlay,i=t.children,o=t.popperConfig,a=void 0===o?{}:o,s=t.show,l=t.defaultShow,c=void 0!==l&&l,u=t.onToggle,d=t.delay,f=t.placement,p=t.flip,h=void 0===p?f&&-1!==f.indexOf("auto"):p,v=wl(t,Zm),m=(0,e.useRef)(null),g=xc(m,i.ref),y=Lh(),b=(0,e.useRef)(""),w=xs(jl(s,c,u),2),x=w[0],S=w[1],E=function(e){return e&&"object"===typeof e?e:{show:e,hide:e}}(d),k="function"!==typeof i?e.Children.only(i).props:{},C=k.onFocus,O=k.onBlur,j=k.onClick,T=(0,e.useCallback)((function(){y.clear(),b.current="show",E.show?y.set((function(){"show"===b.current&&S(!0)}),E.show):S(!0)}),[E.show,S,y]),P=(0,e.useCallback)((function(){y.clear(),b.current="hide",E.hide?y.set((function(){"hide"===b.current&&S(!1)}),E.hide):S(!1)}),[E.hide,S,y]),N=(0,e.useCallback)((function(){T(),null==C||C.apply(void 0,arguments)}),[T,C]),_=(0,e.useCallback)((function(){P(),null==O||O.apply(void 0,arguments)}),[P,O]),R=(0,e.useCallback)((function(){S(!x),null==j||j.apply(void 0,arguments)}),[j,S,x]),I=(0,e.useCallback)((function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];Gm(T,t,"fromElement")}),[T]),L=(0,e.useCallback)((function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];Gm(P,t,"toElement")}),[P]),M=null==n?[]:[].concat(n),D={ref:function(e){g(Sc(e))}};return-1!==M.indexOf("click")&&(D.onClick=R),-1!==M.indexOf("focus")&&(D.onFocus=N,D.onBlur=_),-1!==M.indexOf("hover")&&(D.onMouseOver=I,D.onMouseOut=L),(0,Il.jsxs)(Il.Fragment,{children:["function"===typeof i?i(D):(0,e.cloneElement)(i,D),(0,Il.jsx)(Km,yl(yl({},v),{},{show:x,onHide:P,flip:h,placement:f,popperConfig:a,target:m.current,children:r}))]})}qm.defaultProps={defaultShow:!1,trigger:["hover","focus"]};var Xm=qm,$m=["bsPrefix","placement","className","style","children","arrowProps","popper","show"],Ym=e.forwardRef((function(e,t){var n=e.bsPrefix,r=e.placement,i=e.className,o=e.style,a=e.children,s=e.arrowProps,l=(e.popper,e.show,wl(e,$m));n=Ml(n,"tooltip");var c=Dl(),u=xs((null==r?void 0:r.split("-"))||[],1)[0],d=Fm(u,c);return(0,Il.jsxs)("div",yl(yl({ref:t,style:o,role:"tooltip","x-placement":u,className:Sl()(i,n,"bs-tooltip-".concat(d))},l),{},{children:[(0,Il.jsx)("div",yl({className:"tooltip-arrow"},s)),(0,Il.jsx)("div",{className:"".concat(n,"-inner"),children:a})]}))}));Ym.defaultProps={placement:"right"},Ym.displayName="Tooltip";var Jm=Ym,Qm=["bsPrefix","className","fluid","rounded","roundedCircle","thumbnail"],eg={bsPrefix:Cu().string,fluid:Cu().bool,rounded:Cu().bool,roundedCircle:Cu().bool,thumbnail:Cu().bool},tg=e.forwardRef((function(e,t){var n=e.bsPrefix,r=e.className,i=e.fluid,o=e.rounded,a=e.roundedCircle,s=e.thumbnail,l=wl(e,Qm);return n=Ml(n,"img"),(0,Il.jsx)("img",yl(yl({ref:t},l),{},{className:Sl()(r,i&&"".concat(n,"-fluid"),o&&"rounded",a&&"rounded-circle",s&&"".concat(n,"-thumbnail"))}))}));tg.displayName="Image",tg.defaultProps={fluid:!1,rounded:!1,roundedCircle:!1,thumbnail:!1};var ng=tg,rg=["className"],ig=e.forwardRef((function(e,t){var n=e.className,r=wl(e,rg);return(0,Il.jsx)(ng,yl(yl({ref:t},r),{},{className:Sl()(n,"figure-img")}))}));ig.displayName="FigureImage",ig.propTypes=eg,ig.defaultProps={fluid:!0};var og=ig,ag=zl("figure-caption",{Component:"figcaption"}),sg=zl("figure",{Component:"figure"}),lg=Object.assign(sg,{Image:og,Caption:ag});n.p;n.p;var cg=n.p+"static/media/rectangle-poster.ffcc8a5ba9a624d36adb0b8a4f6c5d40.svg";var ug=n.p+"static/media/rectangle-backdrop.083640728631d72f4a28c57576374a7d.svg",dg=cg,fg=ug,pg=function(e){var t=e.metadata,n=e.type;return Yv.use([ym,xm,km]),(0,Il.jsx)(vd,{fluid:!0,className:"slider-container",children:"item"===n?(0,Il.jsx)(Il.Fragment,{children:t&&t.length?t.map((function(e){return e.children.length?(0,Il.jsxs)("div",{className:"slider-category",children:[(0,Il.jsx)("div",{className:"p-0 m-0",children:(0,Il.jsx)("div",{className:"p-0 m-0",children:(0,Il.jsx)(ul,{id:"".concat(e.categoryInfo.name),to:"/category/".concat(e.categoryInfo.name),className:"slider-category-title non-anchor",children:(0,Il.jsxs)("span",{className:"category-name selectable",children:[(0,Il.jsx)("i",{className:"bi bi-tags-fill"}),e.categoryInfo.name]})},Ch())})}),(0,Il.jsx)(fm,{className:"sslider sslider-landscape p-2 hide-navigation",navigation:!0,breakpoints:{240:{slidesPerView:2,spaceBetween:10},385:{slidesPerView:3,spaceBetween:10},470:{slidesPerView:3,spaceBetween:10},740:{slidesPerView:4,spaceBetween:20},1194:{slidesPerView:6,spaceBetween:20}},children:e.children.length?e.children.map((function(e,t){return(0,Il.jsx)(vm,{className:"slider-slide",children:(0,Il.jsx)(ul,{to:"/".concat("file"===e.type?"movie":"serie","/").concat(e.id),children:(0,Il.jsx)(Xm,{placement:"auto-end",overlay:(0,Il.jsx)(Jm,{className:"hover-overview",id:"tooltip-".concat(Ch()),children:(0,Il.jsxs)("div",{children:[(0,Il.jsx)("div",{className:"title",children:e.title}),(0,Il.jsx)("div",{className:"extra-info",children:"file"===e.type?"Movie":"Serie"}),(0,Il.jsx)("div",{className:"genre-badge-container",children:e.genres?e.genres.map((function(e){return(0,Il.jsx)(yd,{pill:!0,className:"genre-badge",children:e},Ch())})):(0,Il.jsx)(Il.Fragment,{})})]})}),children:(0,Il.jsxs)(lg,{className:"slider-figure",children:[(0,Il.jsxs)("div",{className:"card-img",children:[(0,Il.jsx)("div",{className:"card-rating",children:(0,Il.jsx)(Pm,{value:"tmdb"===e.api?parseInt(10*e.voteAverage):parseInt(e.voteAverage),text:"".concat("tmdb"===e.api?parseInt(10*e.voteAverage):parseInt(e.voteAverage),"%"),background:!0,backgroundPadding:5,maxValue:100,styles:Nm({rotation:.25,strokeLinecap:"butt",textSize:"25px",pathTransitionDuration:.5,pathColor:"rgb(20, 220, 160)",textColor:"#ffffff",trailColor:"#165764",backgroundColor:"#0a2b31"})})}),(0,Il.jsx)(lg.Image,{className:"collection-bg-image",src:null!==e.posterPath?e.posterPath:dg,alt:e.title})]}),(0,Il.jsx)(lg.Caption,{children:(0,Il.jsx)("span",{className:"selectable",children:e.title})})]})},Ch())},Ch())},Ch())})):null})]},Ch()):null})):null}):(0,Il.jsxs)("div",{className:"slider-category m-4",children:[(0,Il.jsx)("div",{className:"p-0 m-0",children:(0,Il.jsx)("div",{className:"p-0 m-0",children:(0,Il.jsxs)("span",{className:"category-name",children:[(0,Il.jsx)("i",{className:"bi bi-view-list"}),"Cast"]})})}),(0,Il.jsx)(fm,{className:"sslider sslider-landscape p-2 hide-navigation",navigation:!0,breakpoints:{240:{slidesPerView:2,spaceBetween:10},385:{slidesPerView:3,spaceBetween:10},470:{slidesPerView:4,spaceBetween:10},740:{slidesPerView:6,spaceBetween:20},1194:{slidesPerView:9,spaceBetween:20}},children:t.length?t.map((function(e){return(0,Il.jsx)(vm,{className:"slider-slide",children:(0,Il.jsxs)(lg,{className:"slider-figure",children:[(0,Il.jsx)("div",{className:"card-img",children:(0,Il.jsx)(lg.Image,{className:"collection-bg-image",src:"https://image.tmdb.org/t/p/original"+e.profile_path,onError:function(e){e.target.onerror=null,e.target.src=dg},alt:e.name,style:{borderRadius:"10px"}})}),(0,Il.jsx)(lg.Caption,{children:(0,Il.jsx)("span",{children:e.name})})]})},Ch())})):null})]},Ch())})},hg=function(t){var n=t.text,r=t.length,i=void 0===r?500:r,o=xs(e.useState(!0),2),a=o[0],s=o[1];return n.length<i?(0,Il.jsx)("p",{children:n}):(0,Il.jsxs)("div",{children:[(0,Il.jsx)("p",{children:a?"".concat(n.slice(0,i),"..."):n}),(0,Il.jsxs)("a",{style:{color:"tomato",cursor:"pointer"},onClick:function(){return s(!a)},children:["View ",a?"More":"Less"]})]})},vg=function(e){e.error;var t=e.errorType;return"globalError"===t?(0,Il.jsxs)("div",{className:"error-container",children:[(0,Il.jsx)("h3",{children:"Can't Connect to the backend. [503 - Service Unavailable]"}),(0,Il.jsx)("br",{}),(0,Il.jsx)("h3",{children:(0,Il.jsx)("span",{style:{marginTop:"20px"},children:"(\u256f`\u25a1\xb4\uff09\u256f\ufe35 \u253b\u2501\u253b"})})]}):"dataError"===t?(0,Il.jsxs)("div",{className:"error-container",children:[(0,Il.jsx)("h3",{children:"Can't find items. [404 - Nothing Here !]"}),(0,Il.jsx)("br",{}),(0,Il.jsx)("h3",{children:(0,Il.jsx)("span",{style:{marginTop:"20px"},children:"\u256e( \ua4aa\u0c6a\ua4aa)\u256d"})})]}):void 0},mg=["bsPrefix","className","as"],gg=["xxl","xl","lg","md","sm","xs"],yg=e.forwardRef((function(e,t){var n=e.bsPrefix,r=e.className,i=e.as,o=void 0===i?"div":i,a=wl(e,mg),s=Ml(n,"row"),l="".concat(s,"-cols"),c=[];return gg.forEach((function(e){var t,n=a[e];delete a[e],t=null!=n&&"object"===typeof n?n.cols:n;var r="xs"!==e?"-".concat(e):"";null!=t&&c.push("".concat(l).concat(r,"-").concat(t))})),(0,Il.jsx)(o,yl(yl({ref:t},a),{},{className:Sl().apply(void 0,[r,s].concat(c))}))}));yg.displayName="Row";var bg=yg,wg=["as","bsPrefix","className"],xg=["className"],Sg=["xxl","xl","lg","md","sm","xs"];var Eg=e.forwardRef((function(e,t){var n=function(e){var t=e.as,n=e.bsPrefix,r=e.className,i=wl(e,wg);n=Ml(n,"col");var o=[],a=[];return Sg.forEach((function(e){var t,r,s,l=i[e];delete i[e],"object"===typeof l&&null!=l?(t=l.span,r=l.offset,s=l.order):t=l;var c="xs"!==e?"-".concat(e):"";t&&o.push(!0===t?"".concat(n).concat(c):"".concat(n).concat(c,"-").concat(t)),null!=s&&a.push("order".concat(c,"-").concat(s)),null!=r&&a.push("offset".concat(c,"-").concat(r))})),[yl(yl({},i),{},{className:Sl().apply(void 0,[r].concat(o,a))}),{as:t,bsPrefix:n,spans:o}]}(e),r=xs(n,2),i=r[0],o=i.className,a=wl(i,xg),s=r[1],l=s.as,c=void 0===l?"div":l,u=s.bsPrefix,d=s.spans;return(0,Il.jsx)(c,yl(yl({},a),{},{ref:t,className:Sl()(o,!d.length&&u)}))}));Eg.displayName="Col";var kg=Eg;function Cg(e){return/\d/.test(e)}function Og(e,t){var n=e.split(" ")[0],r=e.split(" ")[1];return Cg(n.replace(/\D/g,"").replace(/^0+/,""))?n.replace(/\D/g,"").replace(/^0+/,""):Cg(r.replace(/\D/g,"").replace(/^0+/,""))?r.replace(/\D/g,"").replace(/^0+/,""):t}var jg,Tg=function(e){var t=e.parentName,n=e.apiId,r=e.parentId,i=e.seasons,o=e.tmdbSeasons;return console.log(i),(0,Il.jsxs)(bg,{className:"m-2 pt-2",children:[(0,Il.jsx)("h4",{style:{color:"var(--text)"},children:"Seasons"}),i&&o&&i.length>0&&o.length>0&&i.map((function(e,i){return(0,Il.jsx)(kg,{className:"p-lg-4 p-sm-3",xs:6,sm:4,md:3,lg:3,xl:2,children:(0,Il.jsx)(lg,{children:(0,Il.jsxs)("div",{className:"card-img mb-2",children:[(0,Il.jsx)("div",{className:"card-info-season",children:(0,Il.jsxs)(yd,{className:"three-side-rounded-badge",bg:"dark",children:["Season ",Og(e.name,i+1)]})}),(0,Il.jsx)(ul,{to:"/serie/".concat(r,"/season/").concat(e.id,"?index_no=").concat(i,"&season_no=").concat(Og(e.name,i+1),"&api_id=").concat(n,"&serie_name=").concat(t),children:(0,Il.jsxs)("div",{className:"item-trailer-video",children:[o[Og(e.name,i+1)]?(0,Il.jsx)(lg.Image,{className:"card-image",src:"https://image.tmdb.org/t/p/w500"+o[Og(e.name,i+1)].poster_path,onError:function(e){e.target.onerror=null,e.target.src=fg}}):(0,Il.jsx)(lg.Image,{className:"card-image",src:dg}),(0,Il.jsx)("div",{className:"middle",children:(0,Il.jsx)("span",{className:"round-button",children:(0,Il.jsx)("i",{className:"bi bi-play-fill"})})})]})}),(0,Il.jsxs)(xh,{children:[(0,Il.jsx)(xh.Toggle,{variant:"dark",id:"dropdown-basic",className:"additional-info-button",children:(0,Il.jsx)("i",{className:"bi bi-three-dots"})}),(0,Il.jsx)(xh.Menu,{children:(0,Il.jsx)(xh.Item,{children:e.name})})]})]})})},i)})),(!i||0===i.length)&&(0,Il.jsx)("h5",{className:"color-white",children:"No Seasons Found"})]})},Pg=function(e){e.showPlayer;var t=e.setShowPlayer,n=e.episodesData,r=e.episodesTmdbData,i=xs(dl(),2),o=i[0],a=(i[1],o.get("index_no")),s=o.get("season_no"),l=o.get("api_id"),c=o.get("serie_name"),u=Us(),d=u.pathname.split("/")[2],f=u.pathname.split("/")[4];return(0,Il.jsxs)(bg,{className:"p-4 m-0 page-bottom-margin",children:[(0,Il.jsx)("h2",{style:{color:"var(--text)",padding:"20px"},children:"Episodes"}),n&&n.length>0&&n.map((function(e,n){return(0,Il.jsx)(kg,{className:"p-lg-4 p-sm-3",xs:12,sm:6,md:4,lg:3,xl:3,children:e&&(0,Il.jsxs)(lg,{children:[(0,Il.jsxs)("div",{className:"item-trailer-video mb-2",children:[(0,Il.jsx)("div",{className:"card-info-episode",children:(0,Il.jsxs)(yd,{className:"three-side-rounded-badge",bg:"dark",children:["S-",r[n]?r[n].season_number:s," . E-",r[n]?r[n].episode_number:n+1]})}),(0,Il.jsx)(ul,{to:"/serie/".concat(d,"/season/").concat(f,"/episode/").concat(e.id,"?index_no=").concat(a,"&season_no=").concat(s,"&api_id=").concat(l,"&serie_name=").concat(c,"&episode_index=").concat(n),onClick:function(){return t(!0)},children:(0,Il.jsxs)("div",{className:"card-img-image",children:[(0,Il.jsx)(lg.Image,{className:"img-fluid card-image three-side-rounded-img",src:r[n]?"https://image.tmdb.org/t/p/w500"+r[n].still_path:fg,onError:function(e){e.target.onerror=null,e.target.src=fg}}),(0,Il.jsx)("div",{className:"middle",children:(0,Il.jsx)("span",{className:"round-button",children:(0,Il.jsx)("i",{className:"bi bi-play-fill"})})})]})}),(0,Il.jsxs)(xh,{children:[(0,Il.jsx)(xh.Toggle,{variant:"dark",id:"dropdown-basic",className:"additional-info-button",children:(0,Il.jsx)("i",{className:"bi bi-three-dots"})}),(0,Il.jsx)(xh.Menu,{children:(0,Il.jsx)(xh.Item,{children:e.name})})]})]}),(0,Il.jsx)(lg.Caption,{children:(0,Il.jsx)("span",{children:r[n]?r[n].name:e.name})})]})},n)})),(!n||0===n.length)&&(0,Il.jsx)("h5",{className:"color-white",children:"No Episodes Found"})]})},Ng=function(e){var t=e.carouselData,n=e.sliderData;return(0,Il.jsxs)("div",{className:"page-bottom-margin",children:[(0,Il.jsx)(Hh,{metadata:t}),(0,Il.jsx)(pg,{type:"item",metadata:n})]})},_g=function(e){var t=e.searchData;return console.log(t&&t.data&&t.data.content),(0,Il.jsx)("div",{children:"Search"})};function Rg(e){if((!jg&&0!==jg||e)&&sc){var t=document.createElement("div");t.style.position="absolute",t.style.top="-9999px",t.style.width="50px",t.style.height="50px",t.style.overflow="scroll",document.body.appendChild(t),jg=t.offsetWidth-t.clientWidth,document.body.removeChild(t)}return jg}var Ig=zl("modal-body"),Lg=["bsPrefix","className","contentClassName","centered","size","fullscreen","children","scrollable"],Mg=e.forwardRef((function(e,t){var n=e.bsPrefix,r=e.className,i=e.contentClassName,o=e.centered,a=e.size,s=e.fullscreen,l=e.children,c=e.scrollable,u=wl(e,Lg);n=Ml(n,"modal");var d="".concat(n,"-dialog"),f="string"===typeof s?"".concat(n,"-fullscreen-").concat(s):"".concat(n,"-fullscreen");return(0,Il.jsx)("div",yl(yl({},u),{},{ref:t,className:Sl()(d,r,a&&"".concat(n,"-").concat(a),o&&"".concat(d,"-centered"),c&&"".concat(d,"-scrollable"),s&&f),children:(0,Il.jsx)("div",{className:Sl()("".concat(n,"-content"),i),children:l})}))}));Mg.displayName="ModalDialog";var Dg=Mg,Ag=zl("modal-footer"),Fg=["bsPrefix","className"],zg=e.forwardRef((function(e,t){var n=e.bsPrefix,r=e.className,i=wl(e,Fg);return n=Ml(n,"modal-header"),(0,Il.jsx)(Ru,yl(yl({ref:t},i),{},{className:Sl()(r,n)}))}));zg.displayName="ModalHeader",zg.defaultProps={closeLabel:"Close",closeButton:!1};var Bg=zg,Vg=zl("modal-title",{Component:Du("h4")}),Ug=["bsPrefix","className","style","dialogClassName","contentClassName","children","dialogAs","aria-labelledby","show","animation","backdrop","keyboard","onEscapeKeyDown","onShow","onHide","container","autoFocus","enforceFocus","restoreFocus","restoreFocusOptions","onEntered","onExit","onExiting","onEnter","onEntering","onExited","backdropClassName","manager"],Wg={show:!1,backdrop:!0,keyboard:!0,autoFocus:!0,enforceFocus:!0,restoreFocus:!0,animation:!0,dialogAs:Dg};function Hg(e){return(0,Il.jsx)(gu,yl(yl({},e),{},{timeout:null}))}function Kg(e){return(0,Il.jsx)(gu,yl(yl({},e),{},{timeout:null}))}var Zg=e.forwardRef((function(t,n){var r=t.bsPrefix,i=t.className,o=t.style,a=t.dialogClassName,s=t.contentClassName,l=t.children,c=t.dialogAs,u=t["aria-labelledby"],d=t.show,f=t.animation,p=t.backdrop,h=t.keyboard,v=t.onEscapeKeyDown,m=t.onShow,g=t.onHide,y=t.container,b=t.autoFocus,w=t.enforceFocus,x=t.restoreFocus,S=t.restoreFocusOptions,E=t.onEntered,k=t.onExit,C=t.onExiting,O=t.onEnter,j=t.onEntering,T=t.onExited,P=t.backdropClassName,N=t.manager,_=wl(t,Ug),R=xs((0,e.useState)({}),2),I=R[0],L=R[1],M=xs((0,e.useState)(!1),2),D=M[0],A=M[1],F=(0,e.useRef)(!1),z=(0,e.useRef)(!1),B=(0,e.useRef)(null),V=xs(zd(),2),U=V[0],W=V[1],H=xc(n,W),K=Bc(g),Z=Dl();r=Ml(r,"modal");var G=(0,e.useMemo)((function(){return{onHide:K}}),[K]);function q(){return N||ed({isRTL:Z})}function X(e){if(sc){var t=q().getScrollbarWidth()>0,n=e.scrollHeight>Wl(e).documentElement.clientHeight;L({paddingRight:t&&!n?Rg():void 0,paddingLeft:!t&&n?Rg():void 0})}}var $=Bc((function(){U&&X(U.dialog)}));Gc((function(){fc(window,"resize",$),null==B.current||B.current()}));var Y=function(){F.current=!0},J=function(e){F.current&&U&&e.target===U.dialog&&(z.current=!0),F.current=!1},Q=function(){A(!0),B.current=vc(U.dialog,(function(){A(!1)}))},ee=function(e){"static"!==p?z.current||e.target!==e.currentTarget?z.current=!1:null==g||g():function(e){e.target===e.currentTarget&&Q()}(e)},te=(0,e.useCallback)((function(e){return(0,Il.jsx)("div",yl(yl({},e),{},{className:Sl()("".concat(r,"-backdrop"),P,!f&&"show")}))}),[f,P,r]),ne=yl(yl({},o),I);f||(ne.display="block");return(0,Il.jsx)(Eu.Provider,{value:G,children:(0,Il.jsx)(fu,{show:d,ref:H,backdrop:p,container:y,keyboard:!0,autoFocus:b,enforceFocus:w,restoreFocus:x,restoreFocusOptions:S,onEscapeKeyDown:function(e){h||"static"!==p?h&&v&&v(e):(e.preventDefault(),Q())},onShow:m,onHide:g,onEnter:function(e,t){e&&(e.style.display="block",X(e)),null==O||O(e,t)},onEntering:function(e,t){null==j||j(e,t),dc(window,"resize",$)},onEntered:E,onExit:function(e){null==B.current||B.current(),null==k||k(e)},onExiting:C,onExited:function(e){e&&(e.style.display=""),null==T||T(e),fc(window,"resize",$)},manager:q(),transition:f?Hg:void 0,backdropTransition:f?Kg:void 0,renderBackdrop:te,renderDialog:function(e){return(0,Il.jsx)("div",yl(yl({role:"dialog"},e),{},{style:ne,className:Sl()(i,r,D&&"".concat(r,"-static")),onClick:p?ee:void 0,onMouseUp:J,"aria-labelledby":u,children:(0,Il.jsx)(c,yl(yl({},_),{},{onMouseDown:Y,className:a,contentClassName:s,children:l}))}))}})})}));Zg.displayName="Modal",Zg.defaultProps=Wg;var Gg=Object.assign(Zg,{Body:Ig,Header:Bg,Title:Vg,Footer:Ag,Dialog:Dg,TRANSITION_DURATION:300,BACKDROP_TRANSITION_DURATION:150}),qg=["bsPrefix","className","children","aspectRatio","style"];var Xg=e.forwardRef((function(t,n){var r=t.bsPrefix,i=t.className,o=t.children,a=t.aspectRatio,s=t.style,l=wl(t,qg);r=Ml(r,"ratio");var c,u="number"===typeof a;return(0,Il.jsx)("div",yl(yl({ref:n},l),{},{style:yl(yl({},s),u&&{"--bs-aspect-ratio":(c=a,c<=0||c>100?"100%":"".concat(c<1?100*c:c,"%"))}),className:Sl()(r,i,!u&&"".concat(r,"-").concat(a)),children:e.Children.only(o)}))}));Xg.defaultProps={aspectRatio:"1x1"};var $g=Xg,Yg=n(7935),Jg=n.n(Yg),Qg=["option","getInstance"],ey=function(t){Vu(r,t);var n=Hu(r);function r(t){var i;return $c(this,r),(i=n.call(this,t)).instance=null,i.artRef=e.createRef(),i}return Jc(r,[{key:"componentDidMount",value:function(){var e=this.props,t=e.option,n=e.getInstance;this.instance=new(Jg())(yl(yl({},t),{},{container:this.artRef.current})),n&&"function"===typeof n&&n(this.instance)}},{key:"componentWillUnmount",value:function(){this.instance&&this.instance.destroy&&this.instance.destroy()}},{key:"render",value:function(){var t=this.props,n=(t.option,t.getInstance,wl(t,Qg));return e.createElement("div",yl({ref:this.artRef},n))}}]),r}(e.Component),ty=n(633),ny=function(n){var r=n.episodesData,i=n.itemType,o=n.itemData,a=n.tmdbData,s=n.showPlayer,l=n.setShowPlayer,c=xs((0,e.useState)({}),2),u=c[0],d=c[1],f=xs((0,e.useState)(null),2),p=f[0],h=f[1],v=xs(dl(),2),m=v[0],g=(v[1],m.get("episode_index")),y=+g+1;(0,e.useEffect)((function(){var e={NODE_ENV:"production",PUBLIC_URL:"",WDS_SOCKET_HOST:void 0,WDS_SOCKET_PATH:void 0,WDS_SOCKET_PORT:void 0,FAST_REFRESH:!0}.REACT_APP_BACKEND;"movie"===i?(Nh().get("".concat(e,"/api/v1/streammap?auth=0&id=").concat(o.id,"&name=").concat(o.name,"&server=").concat(e)).then((function(e){d(e.data.content)})),o.parentId=null):"tv"===i&&r&&r[g]&&Nh().get("".concat(e,"/api/v1/streammap?auth=0&id=").concat(r[g].id,"&parent=").concat(o.parentId,"&name=").concat(o.name,"&server=").concat(e)).then((function(e){d(e.data.content)}))}),[u,o.id,o.name,o.parentId]);var b=[];u&&u.videos&&(b=u.videos.map((function(e){return{html:e.name,url:e.url}})));var w="";w="movie"===i&&a.images&&a.images.logos&&a.images.logos.length>0?'<img class="video-player-logo" src="https://image.tmdb.org/t/p/w500'.concat(a.images.logos[0].file_path,'" alt="Video-Logo">'):'<svg style="max-width: 100px" version="1.1" id="L4" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" viewBox="0 0 100 100" enable-background="new 0 0 0 0" xml:space="preserve"> <circle fill="#fff" stroke="none" cx="6" cy="50" r="6"> <animate attributeName="opacity" dur="1s" values="0;1;0" repeatCount="indefinite" begin="0.1"/> </circle> <circle fill="#fff" stroke="none" cx="26" cy="50" r="6"> <animate attributeName="opacity" dur="1s" values="0;1;0" repeatCount="indefinite" begin="0.2"/> </circle> <circle fill="#fff" stroke="none" cx="46" cy="50" r="6"> <animate attributeName="opacity" dur="1s" values="0;1;0" repeatCount="indefinite" begin="0.3"/> </circle> </svg>';var x=function(e){var t=e.onExit;return(0,Il.jsxs)("div",{className:"video-player-header art-control",children:[(0,Il.jsx)(fh,{onClick:function(){return function(e){s&&l(!1),e()}(t)},children:(0,Il.jsx)("i",{className:"bi bi-arrow-left-short"})}),(0,Il.jsx)("div",{children:"movie"===i&&o.title}),a&&a[g]&&(0,Il.jsx)("div",{children:"tv"===i&&a[g].name})]})},S=function(){return(0,Il.jsxs)("div",{className:"video-player-episode-controls d-flex justify-content-between art-control",children:[(0,Il.jsxs)(fh,{className:"season-btn secondary-button",variant:"dark",children:[(0,Il.jsx)("i",{className:"bi bi-chevron-left"}),"Previous"]}),(0,Il.jsxs)(fh,{onClick:function(){return function(){var e={NODE_ENV:"production",PUBLIC_URL:"",WDS_SOCKET_HOST:void 0,WDS_SOCKET_PATH:void 0,WDS_SOCKET_PORT:void 0,FAST_REFRESH:!0}.REACT_APP_BACKEND;"tv"===i&&r&&r[g]&&Nh().get("".concat(e,"/api/v1/streammap?auth=0&id=").concat(r[y].id,"&parent=").concat(o.parentId,"&name=").concat(o.name,"&server=").concat(e)).then((function(e){d(e.data.content)}))}()},className:"season-btn secondary-button",variant:"dark",children:["Next",(0,Il.jsx)("i",{className:"bi bi-chevron-right"})]})]})};return(0,Il.jsx)(ty.Z,{children:function(e){var n=e.onExit,r=e.onToggle;return(0,Il.jsx)(vd,{fluid:!0,className:"current-video-player",children:u&&u.videos&&b&&(0,Il.jsxs)(Il.Fragment,{children:[(0,Il.jsx)(ey,{className:"video-player-style",option:{url:"".concat(u.videos[0].url),aspectRatio:!0,hotkey:!0,whitelist:["*"],playbackRate:!0,localSubtitle:!0,theme:"var(--accent)",quality:b,layers:[{html:"",name:"header"},{html:"",name:"controls"}],controls:[{position:"right",html:'<div class="art-control art-control-fullscreen ps-4" data-index="70"><i class="video-player-icon bi bi-arrows-fullscreen"></i></div>',tooltip:"Fullscreen",click:function(){r()}}],icons:{loading:"".concat(w),state:'<i class="video-player-state-icon bi bi-play-fill"></i>',play:'<i class="video-player-icon bi bi-play-fill"></i>',pause:'<i class="video-player-icon bi bi-pause-fill"></i>',volume:'<i class="video-player-icon bi bi-volume-down-fill"></i>',volumeClose:'<i class="video-player-icon bi bi-volume-mute-fill"></i>'}},getInstance:function(e){e.on("ready",(function(){return h(e)}))}}),p?(0,t.createPortal)((0,Il.jsx)(x,{onExit:n}),p.layers.header):null,p&&"tv"===i?(0,t.createPortal)((0,Il.jsx)(S,{}),p.layers.controls):null]})})}})},ry=["count","wrapper","className","containerClassName","containerTestId","circle","style"],iy=e.createContext({});function oy(t){for(var n,r,i=t.count,o=void 0===i?1:i,a=t.wrapper,s=t.className,l=t.containerClassName,c=t.containerTestId,u=t.circle,d=void 0!==u&&u,f=t.style,p=wl(t,ry),h=e.useContext(iy),v=yl({},p),m=0,g=Object.entries(p);m<g.length;m++){var y=xs(g[m],2),b=y[0];"undefined"===typeof y[1]&&delete v[b]}var w=yl(yl(yl({},h),v),{},{circle:d}),x=yl(yl({},f),function(e){var t=e.baseColor,n=e.highlightColor,r=e.width,i=e.height,o=e.borderRadius,a=e.circle,s=e.direction,l=e.duration,c=e.enableAnimation,u=void 0===c||c,d={};return"rtl"===s&&(d["--animation-direction"]="reverse"),"number"===typeof l&&(d["--animation-duration"]="".concat(l,"s")),u||(d["--pseudo-element-display"]="none"),"string"!==typeof r&&"number"!==typeof r||(d.width=r),"string"!==typeof i&&"number"!==typeof i||(d.height=i),"string"!==typeof o&&"number"!==typeof o||(d.borderRadius=o),a&&(d.borderRadius="50%"),"undefined"!==typeof t&&(d["--base-color"]=t),"undefined"!==typeof n&&(d["--highlight-color"]=n),d}(w)),S="react-loading-skeleton";s&&(S+=" ".concat(s));for(var E=null!==(n=w.inline)&&void 0!==n&&n,k=[],C=0;C<o;C++){var O=e.createElement("span",{className:S,style:x,key:C},"\u200c");E?k.push(O):k.push(e.createElement(e.Fragment,{key:C},O,e.createElement("br",null)))}return e.createElement("span",{className:l,"data-testid":c,"aria-live":"polite","aria-busy":null===(r=w.enableAnimation)||void 0===r||r},a?k.map((function(t,n){return e.createElement(a,{key:n},t)})):k)}var ay=function(){var e=[1,2,3,4,5,6,7,8,9,10];return Yv.use([ym,xm,km]),(0,Il.jsxs)(Il.Fragment,{children:[(0,Il.jsx)(Wh,{fade:!0,style:{marginBottom:"25px"},children:(0,Il.jsxs)(Wh.Item,{children:[(0,Il.jsx)(Wh.Caption,{style:{width:"100%"}}),(0,Il.jsxs)("div",{className:"container-home-bg justify-content-center col-lg-8 g-0",children:[(0,Il.jsx)("div",{className:"item-bg-shadow-carousel"}),(0,Il.jsx)("img",{className:"img-fluid",src:fg,alt:""})]})]})}),[1,2,3,4].map((function(t){return(0,Il.jsxs)(vd,{fluid:!0,children:[(0,Il.jsx)(vd,{fluid:!0,children:(0,Il.jsx)("h4",{className:"card-collection-title",children:(0,Il.jsx)(oy,{width:280,baseColor:"var(--loadingBg)",highlightColor:"var(--loadingShine)"})})}),(0,Il.jsx)(fm,{className:"sslider sslider-portrait p-2",navigation:!0,breakpoints:{240:{slidesPerView:2,spaceBetween:10},385:{slidesPerView:3,spaceBetween:10},470:{slidesPerView:3,spaceBetween:10},740:{slidesPerView:4,spaceBetween:20},1194:{slidesPerView:6,spaceBetween:20}},children:e.map((function(e){return(0,Il.jsx)(vm,{className:"sslider-slide",children:(0,Il.jsxs)(lg,{className:"show-hover-hidden",children:[(0,Il.jsx)("div",{className:"card-img",children:(0,Il.jsx)(lg.Image,{className:"collection-bg-image rounded img-fluid",alt:"PlaceHolder",src:dg})}),(0,Il.jsx)(lg.Caption,{children:(0,Il.jsx)(oy,{baseColor:"var(--loadingBg)",highlightColor:"var(--loadingShine)"})})]})},Ch())}))})]},Ch())}))]})},sy=function(t){var n=t.type,r=xs((0,e.useState)({}),2),i=r[0],o=r[1],a=xs((0,e.useState)({}),2),s=(a[0],a[1]),l=xs((0,e.useState)({}),2),c=l[0],u=l[1],d=xs((0,e.useState)({}),2),f=(d[0],d[1]),p=xs((0,e.useState)(!1),2),h=p[0],v=p[1],m=xs((0,e.useState)(!1),2),g=m[0],y=m[1],b=xs((0,e.useState)(!1),2),w=b[0],x=b[1],S=xs((0,e.useState)(!0),2),E=S[0],k=(S[1],xs((0,e.useState)({}),2)),C=k[0],O=k[1],j=xs((0,e.useState)({}),2),T=(j[0],j[1]),P=xs((0,e.useState)([]),2),N=P[0],_=P[1],R=xs((0,e.useState)([]),2),I=R[0],L=R[1],M=function(){return x(!0)},D={NODE_ENV:"production",PUBLIC_URL:"",WDS_SOCKET_HOST:void 0,WDS_SOCKET_PATH:void 0,WDS_SOCKET_PORT:void 0,FAST_REFRESH:!0}.REACT_APP_BACKEND,A={NODE_ENV:"production",PUBLIC_URL:"",WDS_SOCKET_HOST:void 0,WDS_SOCKET_PATH:void 0,WDS_SOCKET_PORT:void 0,FAST_REFRESH:!0}.REACT_APP_TMDB,F=Us().pathname.split("/")[2];return(0,e.useEffect)((function(){v(!0),Nh().get("".concat(D,"/api/v1/metadata?id=").concat(F)).then((function(e){if("undefined"!==e.data.content.apiId&&"tmdb"===e.data.content.api){var t=e.data.content.apiId;Nh().get("https://api.themoviedb.org/3/".concat(n,"/").concat(t,"?api_key=").concat(A,"&append_to_response=credits,images,episode_groups&include_image_language=en")).then((function(e){u(e.data)})).catch((function(e){f(e)}))}i&&(i.apiId,1)&&Nh().get("".concat(D,"/api/v1/trailer/").concat(i.apiId,"?a=0&t=").concat(n,"&api=").concat(i.api)).then((function(e){O(e.data)})).catch((function(e){T(e)})),"tv"===n&&i.children&&(_(i.children),i.children&&i.children.length>0&&Nh().get("".concat(D,"/api/v1/metadata?id=").concat(i.children[0].id)).then((function(e){L(e.data.content)}))),o(e.data.content),v(!1)})).catch((function(e){s(e)}))}),[D,F,A,n,i.apiId,i.api]),h?(0,Il.jsx)(ay,{isLoading:h}):(0,Il.jsx)(vd,{fluid:!0,className:"item-container p-0 page-bottom-margin",children:(Object.keys(i).length>0&&Object.keys(c).length>0||"anilist"===i.api)&&(0,Il.jsxs)(Il.Fragment,{children:[(0,Il.jsx)(Th,{}),(0,Il.jsxs)(bg,{className:"item-bg-container",style:{backgroundImage:'url("'.concat(i.backdropPath,'")'),backgroundSize:"anilist"===i.api?"cover":"contain",backgroundPosition:"anilist"===i.api?"center":"right"},children:[(0,Il.jsxs)(kg,{className:"item-shadow-container",lg:{span:8,order:2},children:[(0,Il.jsx)("img",{src:i.backdropPath,alt:""}),(0,Il.jsx)("div",{className:"item-bg-shadow"})]}),(0,Il.jsxs)(kg,{lg:{span:4,order:1},className:"item-info-container",children:[(0,Il.jsx)("span",{className:"item-logo-main",children:c.images&&c.images.logos&&c.images.logos.length>0?(0,Il.jsxs)("span",{children:[(0,Il.jsx)("img",{src:"https://image.tmdb.org/t/p/w500"+c.images.logos[0].file_path,alt:""}),(0,Il.jsx)("br",{}),(0,Il.jsx)("span",{style:{fontSize:"24px",color:"#ffffff"},children:i.title})]}):(0,Il.jsx)("span",{className:"item-title",children:i.title})}),(0,Il.jsxs)("div",{children:[(0,Il.jsx)("span",{className:"item-year",children:i.releaseDate.substring(0,4)}),(0,Il.jsx)("span",{className:"break",children:"|"}),(0,Il.jsx)("span",{className:"item-age-rating",children:i.adult?"R":"PG"})]}),(0,Il.jsx)("span",{className:"item-overview",children:i.overview}),(0,Il.jsxs)("div",{className:"button-actions-container",children:["movie"===n&&(0,Il.jsxs)(fh,{className:"primary-button mobile-display",onClick:function(){return M()},children:[(0,Il.jsx)("i",{className:"bi bi-play-fill"}),(0,Il.jsx)("span",{children:"Play Now"})]}),"tv"===n&&i&&N&&N[0]&&I&&I.parent_children&&I.parent_children[0]&&(0,Il.jsx)(ul,{className:"m-0",to:"/serie/"+F+"/season/"+N[0].id+"/episode/"+I.parent_children[0].id+"?index_no=0&season_no="+Og(N[0].name,1)+"&api_id="+i.apiId+"&serie_name="+i.name+"&episode_index=0",children:(0,Il.jsxs)(fh,{className:"primary-button mobile-display",children:[(0,Il.jsx)("i",{className:"bi bi-play-fill"}),(0,Il.jsx)("span",{children:"Start Watching S1.E1"})]})}),(0,Il.jsxs)("div",{className:"d-flex",children:["movie"===n&&(0,Il.jsxs)(fh,{className:"primary-button desktop-display",onClick:function(){return M()},children:[(0,Il.jsx)("i",{className:"bi bi-play-fill"}),(0,Il.jsx)("span",{children:"Play Now"})]}),"tv"===n&&i&&N&&N[0]&&I&&I.parent_children&&I.parent_children[0]&&(0,Il.jsx)(ul,{className:"me-3",to:"/serie/"+F+"/season/"+N[0].id+"/episode/"+I.parent_children[0].id+"?index_no=0&season_no="+Og(N[0].name,1)+"&api_id="+i.apiId+"&serie_name="+i.name+"&episode_index=0",children:(0,Il.jsxs)(fh,{className:"primary-button desktop-display",children:[(0,Il.jsx)("i",{className:"bi bi-play-fill"}),(0,Il.jsx)("span",{children:"Start Watching S1.E1"})]})}),(0,Il.jsxs)(fh,{className:"secondary-button",onClick:function(){return y(!0)},children:[(0,Il.jsx)("i",{className:"bi bi-youtube"}),(0,Il.jsx)("span",{children:"Trailer"})]}),(0,Il.jsxs)(fh,{className:"secondary-button",variant:"dark",children:[(0,Il.jsx)("i",{className:"bi bi-cloud-arrow-down-fill"}),(0,Il.jsx)("span",{children:"Download"})]}),(0,Il.jsx)(fh,{className:"secondary-button",disabled:!0,variant:"dark",children:(0,Il.jsx)("i",{className:"bi bi-plus-lg"})})]})]})]})]}),(0,Il.jsx)(Gg,{className:"video-player-modal",size:"xl",show:w,fullscreen:E,children:(0,Il.jsx)(Gg.Body,{children:(0,Il.jsx)(ny,{itemType:n,itemData:i,tmdbData:c,showPlayer:w,setShowPlayer:x})})}),i&&"tv"===n&&N&&(0,Il.jsx)(Tg,{parentName:i.name,apiId:i.apiId,parentId:i.id,seasons:N,tmdbSeasons:c.seasons}),(0,Il.jsxs)(bg,{className:"item-additional-info-container",children:[(0,Il.jsxs)(kg,{className:"info-container-left",lg:6,children:[(0,Il.jsx)("div",{className:"item-additional-info-title",children:(0,Il.jsxs)("span",{children:[(0,Il.jsx)("i",{className:"bi bi-info-square-fill me-2"}),"Info"]})}),(0,Il.jsxs)(bg,{children:[(0,Il.jsx)(kg,{className:"p-0",xs:4,children:(0,Il.jsx)("div",{className:"item-poster-container",children:(0,Il.jsx)("img",{className:"img-fluid",src:i.posterPath,alt:""})})}),(0,Il.jsxs)(kg,{xs:8,children:[(0,Il.jsx)("span",{className:"item-title",children:i.title}),(0,Il.jsx)("span",{className:"genre-group",children:i.genres.map((function(e){return(0,Il.jsx)("a",{href:"/#",children:(0,Il.jsxs)(yd,{pill:!0,text:"light",children:[(0,Il.jsx)("i",{className:"bi bi-record-circle-fill pe-1"}),e]})},Ch())}))}),(0,Il.jsxs)("span",{children:[(0,Il.jsx)("b",{children:"Release Date"})," - ",i.releaseDate]}),(0,Il.jsxs)("span",{className:"desktop-display",children:[(0,Il.jsx)("b",{children:"Overview"})," - ",(0,Il.jsx)(hg,{text:i.overview})]})]}),(0,Il.jsxs)("span",{className:"mobile-display",children:[(0,Il.jsx)("b",{children:"Overview"})," - ",(0,Il.jsx)(hg,{text:i.overview})]})]})]}),(0,Il.jsx)(kg,{className:"info-container-right",lg:6,children:(0,Il.jsxs)("div",{className:"item-trailer-container",children:[(0,Il.jsx)("div",{className:"item-additional-info-title",children:(0,Il.jsxs)("span",{children:[(0,Il.jsx)("i",{className:"bi bi-youtube me-2"}),"Trailer"]})}),(0,Il.jsx)(kg,{className:"item-trailer-video",children:(0,Il.jsx)($g,{aspectRatio:"16x9",children:(0,Il.jsx)("div",{children:(0,Il.jsx)("div",{className:"middle",children:(0,Il.jsx)("i",{className:"bi bi-play-fill"})})})})})]})})]}),(0,Il.jsx)(bg,{children:c&&c.credits&&(0,Il.jsx)(pg,{type:"people",metadata:c.credits.cast})}),(0,Il.jsxs)(Gg,{size:"xl",show:g,onHide:function(){return y(!1)},children:[(0,Il.jsx)(Gg.Header,{closeButton:!0,children:(0,Il.jsxs)(Gg.Title,{children:["Trailer ",(0,Il.jsx)("span",{className:"break",children:"|"})," ",i.title]})}),(0,Il.jsx)(Gg.Body,{children:C&&200===C.code&&C.content&&C.content.key?(0,Il.jsx)($g,{aspectRatio:"16x9",children:(0,Il.jsx)("iframe",{width:"100%",height:"500px",src:"https://www.youtube.com/embed/"+C.content.key,title:i.title,frameBorder:"0",allow:"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture",allowFullScreen:!0})}):(0,Il.jsx)("span",{children:"Sorry ! Trailer Not Found"})})]})]})})},ly=function(){var t=Us(),n=t.pathname.split("/")[2],r=t.pathname.split("/")[4],i=xs(dl(),2),o=i[0],a=(i[1],xs((0,e.useState)({}),2)),s=a[0],l=a[1],c=xs((0,e.useState)([]),2),u=c[0],d=c[1],f=xs((0,e.useState)({}),2),p=f[0],h=f[1],v=xs((0,e.useState)([]),2),m=v[0],g=v[1],y=xs((0,e.useState)(!1),2),b=y[0],w=y[1],x=o.get("index_no"),S=o.get("season_no"),E=o.get("api_id"),k=o.get("serie_name");return(0,e.useEffect)((function(){var e={NODE_ENV:"production",PUBLIC_URL:"",WDS_SOCKET_HOST:void 0,WDS_SOCKET_PATH:void 0,WDS_SOCKET_PORT:void 0,FAST_REFRESH:!0}.REACT_APP_BACKEND,t={NODE_ENV:"production",PUBLIC_URL:"",WDS_SOCKET_HOST:void 0,WDS_SOCKET_PATH:void 0,WDS_SOCKET_PORT:void 0,FAST_REFRESH:!0}.REACT_APP_TMDB;Nh().get("".concat(e,"/api/v1/metadata?id=").concat(r)).then((function(e){l(e.data.content),d(e.data.content.children)})).catch((function(e){console.log(e)})),Nh().get("https://api.themoviedb.org/3/tv/".concat(E,"/season/").concat(S,"?api_key=").concat(t)).then((function(e){h(e.data),g(e.data.episodes)})).catch((function(e){console.log(e)}))}),[E,S,r]),(0,Il.jsx)(Il.Fragment,{children:s&&s.parent_children&&(0,Il.jsxs)(vd,{fluid:!0,className:"p-0 page-bottom-margin",children:[(0,Il.jsx)(Th,{}),(0,Il.jsxs)(bg,{children:[(0,Il.jsx)(kg,{className:"info-container-left season-info-container",children:(0,Il.jsxs)(bg,{children:[(0,Il.jsx)(kg,{className:"p-0",xs:4,children:(0,Il.jsx)("div",{className:"item-poster-container",children:(0,Il.jsx)("img",{className:"img-fluid",src:"https://www.themoviedb.org/t/p/w500"+p.poster_path,alt:""})})}),(0,Il.jsxs)(kg,{className:"item-season-container",xs:8,children:[(0,Il.jsxs)(bg,{children:[(0,Il.jsxs)("span",{className:"item-title pb-2",children:[k," | Season ",S]}),(0,Il.jsxs)("span",{className:"item-season-overview desktop-display",children:[(0,Il.jsx)("b",{children:"Overview"})," - ",p.overview||"No Overview Available"]}),(0,Il.jsxs)("span",{children:["Available Episodes - ",s.children.length+"/"+p.episodes.length]})]}),(0,Il.jsx)(bg,{children:(0,Il.jsxs)("span",{className:"season-btn-container",children:[0===s.children.length&&(0,Il.jsxs)(fh,{className:"season-btn primary-button mt-3 mb-3",children:[(0,Il.jsx)("i",{className:"bi bi-play-fill pe-2"}),(0,Il.jsx)("span",{children:"No Episodes Found"})]}),s.children.length>0&&(0,Il.jsxs)(fh,{className:"season-btn primary-button mt-3 mb-3",children:[(0,Il.jsx)("i",{className:"bi bi-play-fill pe-2"}),1===s.children.length?(0,Il.jsxs)("span",{children:["Watch S",S,".E1"]}):(0,Il.jsxs)("span",{children:["Start Watching S",S,".E1"]})]}),(0,Il.jsx)(ul,{to:"/serie/"+n,children:(0,Il.jsxs)(fh,{className:"season-btn secondary-button",variant:"light",children:[(0,Il.jsx)("i",{className:"bi bi-chevron-left pe-2"}),(0,Il.jsx)("span",{children:"Bact to Details"})]})})]})})]}),(0,Il.jsxs)("div",{className:"season-buttons d-flex justify-content-between",children:[+x>0&&s&&s.parent_children&&s.parent_children[+x-1]&&s.parent_children[+x-1].id&&(0,Il.jsx)(ul,{to:"/serie/"+n+"/season/"+s.parent_children[+x-1].id+"?index_no="+(+x-1)+"&season_no="+Og(s.parent_children[+x-1].name,+x-1)+"&api_id="+E+"&serie_name="+k,children:(0,Il.jsxs)(fh,{className:"season-btn secondary-button",variant:"dark",children:[(0,Il.jsx)("i",{className:"bi bi-chevron-left pe-2"}),"Previous Season"]})}),s&&s.parent_children&&+x<s.parent_children.length&&s.parent_children[+x+1]&&(0,Il.jsx)(ul,{to:"/serie/"+n+"/season/"+s.parent_children[+x+1].id+"?index_no="+(+x+1)+"&season_no="+Og(s.parent_children[+x+1].name,+x+1)+"&api_id="+E+"&serie_name="+k,children:(0,Il.jsxs)(fh,{className:"season-btn secondary-button",variant:"dark",children:["Next Season",(0,Il.jsx)("i",{className:"bi bi-chevron-right ps-2"})]})})]}),(0,Il.jsxs)("span",{className:"item-season-overview mobile-display",children:[(0,Il.jsx)("b",{children:"Overview"})," - ",p.overview||"No Overview Available"]})]})}),p&&m&&(0,Il.jsx)(Pg,{showPlayer:b,setShowPlayer:w,episodesData:u,episodesTmdbData:m})]})]})})},cy=n(5073),uy={fullscreenEnabled:0,fullscreenElement:1,requestFullscreen:2,exitFullscreen:3,fullscreenchange:4,fullscreenerror:5,fullscreen:6},dy=["webkitFullscreenEnabled","webkitFullscreenElement","webkitRequestFullscreen","webkitExitFullscreen","webkitfullscreenchange","webkitfullscreenerror","-webkit-full-screen"],fy=["mozFullScreenEnabled","mozFullScreenElement","mozRequestFullScreen","mozCancelFullScreen","mozfullscreenchange","mozfullscreenerror","-moz-full-screen"],py=["msFullscreenEnabled","msFullscreenElement","msRequestFullscreen","msExitFullscreen","MSFullscreenChange","MSFullscreenError","-ms-fullscreen"],hy="undefined"!==typeof window&&"undefined"!==typeof window.document?window.document:{},vy="fullscreenEnabled"in hy&&Object.keys(uy)||dy[0]in hy&&dy||fy[0]in hy&&fy||py[0]in hy&&py||[],my={requestFullscreen:function(e){return e[vy[uy.requestFullscreen]]()},requestFullscreenFunction:function(e){return e[vy[uy.requestFullscreen]]},get exitFullscreen(){return hy[vy[uy.exitFullscreen]].bind(hy)},get fullscreenPseudoClass(){return":"+vy[uy.fullscreen]},addEventListener:function(e,t,n){return hy.addEventListener(vy[uy[e]],t,n)},removeEventListener:function(e,t,n){return hy.removeEventListener(vy[uy[e]],t,n)},get fullscreenEnabled(){return Boolean(hy[vy[uy.fullscreenEnabled]])},set fullscreenEnabled(e){},get fullscreenElement(){return hy[vy[uy.fullscreenElement]]},set fullscreenElement(e){},get onfullscreenchange(){return hy[("on"+vy[uy.fullscreenchange]).toLowerCase()]},set onfullscreenchange(e){return hy[("on"+vy[uy.fullscreenchange]).toLowerCase()]=e},get onfullscreenerror(){return hy[("on"+vy[uy.fullscreenerror]).toLowerCase()]},set onfullscreenerror(e){return hy[("on"+vy[uy.fullscreenerror]).toLowerCase()]=e}},gy=my;var yy=function(t){var n=t.handle,r=t.onChange,i=t.children,o=t.className,a=[];return o&&a.push(o),a.push("fullscreen"),n.active&&a.push("fullscreen-enabled"),(0,e.useEffect)((function(){r&&r(n.active,n)}),[n.active]),e.createElement("div",{className:a.join(" "),ref:n.node,style:n.active?{height:"100%",width:"100%"}:void 0},i)},by=function(){var n=xs((0,e.useState)(null),2),r=n[0],i=n[1],o=xs((0,e.useState)(!1),2),a=o[0],s=o[1],l=xs((0,e.useState)({}),2),c=(l[0],l[1]),u=xs((0,e.useState)({}),2),d=(u[0],u[1],xs((0,e.useState)([]),2)),f=d[0],p=d[1],h=xs((0,e.useState)([]),2),v=h[0],m=h[1],g=xs((0,e.useState)({}),2),y=g[0],b=g[1],w=function(){var t=(0,e.useState)(!1),n=t[0],r=t[1],i=(0,e.useRef)(null);(0,e.useEffect)((function(){var e=function(){r(gy.fullscreenElement===i.current)};return gy.addEventListener("fullscreenchange",e),function(){return gy.removeEventListener("fullscreenchange",e)}}),[]);var o=(0,e.useCallback)((function(){return gy.fullscreenElement?gy.exitFullscreen().then((function(){return gy.requestFullscreen(i.current)})):i.current?gy.requestFullscreen(i.current):void 0}),[]),a=(0,e.useCallback)((function(){return gy.fullscreenElement===i.current?gy.exitFullscreen():Promise.resolve()}),[]);return(0,e.useMemo)((function(){return{active:n,enter:o,exit:a,node:i}}),[n,o,a])}(),x=xs(dl(),2),S=x[0],E=(x[1],S.get("index_no")),k=S.get("season_no"),C=S.get("episode_index"),O=S.get("serie_name"),j=S.get("api_id"),T=Us(),P=T.pathname.split("/")[2],N=T.pathname.split("/")[4];T.pathname.split("/")[6];(0,e.useEffect)((function(){var e={NODE_ENV:"production",PUBLIC_URL:"",WDS_SOCKET_HOST:void 0,WDS_SOCKET_PATH:void 0,WDS_SOCKET_PORT:void 0,FAST_REFRESH:!0}.REACT_APP_BACKEND,t={NODE_ENV:"production",PUBLIC_URL:"",WDS_SOCKET_HOST:void 0,WDS_SOCKET_PATH:void 0,WDS_SOCKET_PORT:void 0,FAST_REFRESH:!0}.REACT_APP_TMDB;Nh().get("".concat(e,"/api/v1/metadata?id=").concat(N)).then((function(t){f.length>0&&Nh().get("".concat(e,"/api/v1/streammap?auth=0&id=").concat(f[+C].id,"&parent=").concat(P,"&name=").concat(O,"&server=").concat(e)).then((function(e){b(e.data.content)})),c(t.data.content),p(t.data.content.children)})).catch((function(e){console.log(e)})),Nh().get("https://api.themoviedb.org/3/tv/".concat(j,"/season/").concat(k,"?api_key=").concat(t)).then((function(e){m(e.data.episodes)})).catch((function(e){console.log(e)}))}),[j,C,f.length,N,k,P,O]);var _=[];y&&y.videos&&(_=y.videos.map((function(e){return{html:e.name,url:e.url}})));var R=function(){return(0,Il.jsxs)("div",{className:"video-player-header art-control",children:[(0,Il.jsx)(ul,{to:"/serie/"+P+"/season/"+N+"?index_no="+E+"&season_no="+k+"&api_id="+j+"&serie_name="+O,children:(0,Il.jsx)(fh,{children:(0,Il.jsx)("i",{className:"bi bi-arrow-left-short"})})}),(0,Il.jsx)("div",{children:(0,Il.jsxs)("h5",{children:["S",v[+C]?v[+C].season_number:k,".E",v[+C]?v[+C].episode_number:C," ",v[+C]?v[+C].name:f[+C].name," | ",O]})})]})},I=function(){return(0,Il.jsx)(Il.Fragment,{children:(0,Il.jsxs)("a",{href:"/serie/"+P+"/season/"+N+"/episode/"+f[+C-1].id+"?&season_no="+(v[+C]?v[+C].season_number:k)+"&api_id="+j+"&serie_name="+O+"&episode_index="+(v[+C]?v[+C].episode_number-2:C-2),className:"next-episode-control",children:[(0,Il.jsxs)(lg,{className:"d-flex next-episode-figure",children:[(0,Il.jsx)(lg.Image,{width:171,src:v[+C]?"https://www.themoviedb.org/t/p/w500"+v[+C-1].still_path:fg}),(0,Il.jsxs)(lg.Caption,{className:"ps-3 d-flex flex-column",children:[(0,Il.jsx)("span",{children:"Prev Episode"}),"E",v[+C-1]?v[+C-1].episode_number:C-1," ",v[+C-1]?v[+C-1].name:f[+C-1].name,(0,Il.jsxs)(yd,{bg:"dark",children:["S",v[+C-1].season_number,".E",v[+C-1].episode_number]})]})]}),(0,Il.jsx)("i",{className:"video-player-icon bi bi-skip-start-fill"})]})})},L=function(){return(0,Il.jsx)(Il.Fragment,{children:(0,Il.jsxs)("a",{href:"/serie/"+P+"/season/"+N+"/episode/"+f[+C+1].id+"?&season_no="+v[+C].season_number+"&api_id="+j+"&serie_name="+O+"&episode_index="+v[+C].episode_number,className:"next-episode-control",children:[(0,Il.jsxs)(lg,{className:"d-flex next-episode-figure",children:[(0,Il.jsx)(lg.Image,{width:171,src:v[+C]?"https://www.themoviedb.org/t/p/w500"+v[+C+1].still_path:fg}),(0,Il.jsxs)(lg.Caption,{className:"ps-3 d-flex flex-column",children:[(0,Il.jsx)("span",{children:"Next Episode"}),"E",v[+C+1].episode_number," ",v[+C+1].name,(0,Il.jsxs)(yd,{bg:"dark",children:["S",v[+C+1].season_number,".E",v[+C+1].episode_number]})]})]}),(0,Il.jsx)("i",{className:"video-player-icon bi bi-skip-end-fill"})]})})},M=function(){return(0,Il.jsx)(Il.Fragment,{children:a?(0,Il.jsx)(fh,{className:"plain-button",onClick:w.exit,children:(0,Il.jsx)("div",{className:"art-control art-control-fullscreen ps-4","data-index":"70",children:(0,Il.jsx)("i",{className:"video-player-icon bi bi-fullscreen-exit"})})}):(0,Il.jsx)(fh,{className:"plain-button",onClick:w.enter,children:(0,Il.jsx)("div",{className:"art-control art-control-fullscreen ps-4","data-index":"70",children:(0,Il.jsx)("i",{className:"video-player-icon bi bi-arrows-fullscreen"})})})})},D=(0,e.useCallback)((function(e,t){t&&!0===e&&s(!0),t&&!1===e&&s(!1)}),[]);return(0,Il.jsxs)("div",{className:"page-bottom-margin",children:[(0,Il.jsx)(yy,{className:"episode-container",handle:w,onChange:D,children:(0,Il.jsx)(vd,{fluid:!0,className:a?"episode-watch-video video-full-height":"episode-watch-video video-ratio ratio ratio-21x9",children:f.length>0&&y&&y.videos?(0,Il.jsxs)(Il.Fragment,{children:[(0,Il.jsx)(ey,{className:"video-player-style",option:{url:"".concat(y.videos[0].url),aspectRatio:!0,hotkey:!0,whitelist:["*"],playbackRate:!0,localSubtitle:!0,theme:"var(--accent)",quality:_,layers:[{html:"",name:"header"}],controls:[{position:"right",name:"fullscreen",html:""},{position:"left",name:"prev",html:""},{position:"left",name:"next",html:""}],icons:{state:'<i class="video-player-state-icon bi bi-play-fill"></i>',play:'<i class="video-player-icon bi bi-play-fill"></i>',pause:'<i class="video-player-icon bi bi-pause-fill"></i>',volume:'<i class="video-player-icon bi bi-volume-down-fill"></i>',volumeClose:'<i class="video-player-icon bi bi-volume-mute-fill"></i>'}},getInstance:function(e){e.on("ready",(function(){return i(e)}))}}),r?(0,t.createPortal)((0,Il.jsx)(R,{}),r.layers.header):null,r&&0!==+C&&f[+C-1]&&f[+C-1].id?(0,t.createPortal)((0,Il.jsx)(I,{}),r.controls.prev):null,r&&+C+1<f.length&&f[+C+1]&&f[+C+1].id?(0,t.createPortal)((0,Il.jsx)(L,{}),r.controls.next):null,r?(0,t.createPortal)((0,Il.jsx)(M,{}),r.controls.fullscreen):null]}):(0,Il.jsx)(Il.Fragment,{})})}),(0,Il.jsx)("div",{className:"episode-watch-info p-3 p-lg-4",children:(0,Il.jsx)(vd,{children:f&&v&&f.length>0&&v.length>0&&(0,Il.jsxs)(bg,{children:[(0,Il.jsxs)(kg,{className:"pt-2 pb-4",md:7,children:[(0,Il.jsx)("a",{href:"/#",children:(0,Il.jsx)("h6",{children:O})}),(0,Il.jsxs)("h4",{className:"episode-watch-title",children:["S",v[+C]?v[+C].season_number:k,".E",v[+C]?v[+C].episode_number:C," ",v[+C]?v[+C].name:f[+C].name]}),(0,Il.jsx)("span",{className:"episode-watch-overview",children:v[+C]&&v[+C].overview}),(0,Il.jsx)("br",{}),(0,Il.jsx)("span",{children:"TV-PG"}),(0,Il.jsx)("br",{}),(0,Il.jsx)("span",{children:"Subtitles Unavailable"})]}),+C+1<f.length?(0,Il.jsxs)(kg,{md:5,children:[(0,Il.jsx)("h5",{children:"Next Episode"}),(0,Il.jsx)("a",{href:"/serie/"+P+"/season/"+N+"/episode/"+f[+C+1].id+"?&season_no="+v[+C].season_number+"&api_id="+j+"&serie_name="+O+"&episode_index="+v[+C].episode_number,className:"next-episode-control",children:(0,Il.jsxs)(lg,{className:"d-flex episode-figure",children:[(0,Il.jsx)(lg.Image,{width:171,src:"https://www.themoviedb.org/t/p/w500"+v[+C+1].still_path}),(0,Il.jsxs)(lg.Caption,{className:"ps-3 d-flex flex-column",children:["E",v[+C+1].episode_number," - ",v[+C+1].name,(0,Il.jsxs)(yd,{bg:"dark",children:["S",v[+C+1].season_number,".E",v[+C+1].episode_number]})]})]})}),(0,Il.jsxs)(fh,{variant:"dark",children:[(0,Il.jsx)("i",{className:"bi bi-collection-play-fill me-2"}),"Show All Episodes"]})]}):(0,Il.jsxs)(kg,{md:5,children:[(0,Il.jsx)("h5",{children:"No Next Episode"}),(0,Il.jsxs)(fh,{variant:"dark",children:[(0,Il.jsx)("i",{className:"bi bi-collection-play-fill me-2"}),"Show All Episodes"]})]})]})})})]})},wy=n(4569),xy=function(t,n){return void 0===n&&(n={}),function(r){var o=this,l=ms(),c=l.user,u=l.isAuthenticated,d=l.isLoading,f=l.loginWithRedirect,p=n.returnTo,h=void 0===p?ys:p,v=n.onRedirecting,m=void 0===v?gs:v,g=n.claimCheck,y=void 0===g?function(){return!0}:g,b=n.loginOptions,w=u&&y(c);return(0,e.useEffect)((function(){if(!d&&!w){var e=i(i({},b),{appState:i(i({},b&&b.appState),{returnTo:"function"===typeof h?h():h})});a(o,void 0,void 0,(function(){return s(this,(function(t){switch(t.label){case 0:return[4,f(e)];case 1:return t.sent(),[2]}}))}))}}),[d,w,f,b,h]),w?e.createElement(t,i({},r)):m()}}((function(){var t={NODE_ENV:"production",PUBLIC_URL:"",WDS_SOCKET_HOST:void 0,WDS_SOCKET_PATH:void 0,WDS_SOCKET_PORT:void 0,FAST_REFRESH:!0}.REACT_APP_BACKEND,n=xs((0,e.useState)([]),2),r=n[0],i=n[1],o=xs((0,e.useState)({}),2),a=o[0],s=o[1],l=xs((0,e.useState)([]),2),c=l[0],u=l[1],d=xs((0,e.useState)([]),2),f=d[0],p=d[1];return(0,e.useEffect)((function(){wy.get(t+"/api/v1/metadata").then((function(e){i(e),p(e.data.content),u(e.data.content[0]||[])})).catch((function(e){s(e)}))}),[t]),0===r.length&&Object.keys(a).length>0?(console.log(r),console.log(a),(0,Il.jsx)(vg,{error:a,errorType:"globalError"})):((0===r.length&&0===Object.keys(a).length||0===r.length)&&(console.log(r),console.log(a),setTimeout((function(){return(0,Il.jsx)(vg,{error:a,errorType:"dataError"})}),1e3)),(0,cy.loadProgressBar)(),(0,Il.jsxs)(cl,{children:[(0,Il.jsx)(jh,{type:"desktop"}),(0,Il.jsxs)(zs,{children:[(0,Il.jsx)(As,{exact:!0,path:"/",element:(0,Il.jsx)(Ng,{carouselData:c,sliderData:f})}),(0,Il.jsx)(As,{exact:!0,path:"/search",element:(0,Il.jsx)(_g,{searchData:r})}),(0,Il.jsx)(As,{exact:!0,path:"/movie/:id",element:(0,Il.jsx)(sy,{type:"movie"})}),(0,Il.jsx)(As,{exact:!0,path:"/serie/:id",element:(0,Il.jsx)(sy,{type:"tv"})}),(0,Il.jsx)(As,{exact:!0,path:"/serie/:id/season/:id",element:(0,Il.jsx)(ly,{})}),(0,Il.jsx)(As,{exact:!0,path:"/serie/:id/season/:id/episode/:id",element:(0,Il.jsx)(by,{})}),(0,Il.jsx)(As,{path:"*",element:(0,Il.jsx)(Il.Fragment,{children:"Not Found..."})})]}),(0,Il.jsx)(jh,{type:"mobile"})]}))}),{onRedirecting:function(){return(0,Il.jsx)(ay,{})}}),Sy={NODE_ENV:"production",PUBLIC_URL:"",WDS_SOCKET_HOST:void 0,WDS_SOCKET_PATH:void 0,WDS_SOCKET_PORT:void 0,FAST_REFRESH:!0}.REACT_APP_AUTH0_DOMAIN,Ey={NODE_ENV:"production",PUBLIC_URL:"",WDS_SOCKET_HOST:void 0,WDS_SOCKET_PATH:void 0,WDS_SOCKET_PORT:void 0,FAST_REFRESH:!0}.REACT_APP_AUTH0_CLIENT_ID;t.render((0,Il.jsx)(vs,{domain:Sy,clientId:Ey,redirectUri:window.location.origin,audience:"https://"+Sy+"/api/v2/",scope:"read:current_user",children:(0,Il.jsx)(xy,{})}),document.getElementById("root"))}()}();
  //# sourceMappingURL=main.4162e48f.js.map