- スキャンID:
- 0f2816ca-3446-466b-a7fb-a99f677c7543終了
- 送信済みURL:
- https://recruit.crews2u.com.au/
- レポート終了日:
リンク · 3件検出
ページから特定された発信リンク
リンク | テキスト |
---|---|
https://www.facebook.com/share/8UmsLEdahCSgi6qC/?mibextid=LQQJ4d | |
https://instagram.com/mycompany | |
https://www.tiktok.com/@crews2u |
JavaScript変数 · 38件検出
ページのウィンドウオブジェクトにロードされたグローバルのJavaScript変数は関数以外の場所で宣言された変数で、現在のスコープ内であればコードのどこからでもアクセス可能です
名前 | 規模 |
---|---|
0 | object |
1 | object |
2 | object |
onbeforetoggle | object |
documentPictureInPicture | object |
onscrollend | object |
SoftrPageRenderer | object |
webpackChunkStripeJSouter | object |
noop | function |
Stripe | function |
コンソールログメッセージ · 7件検出
Webコンソールにログ記録されたメッセージ
規模 | 分類 | ログ |
---|---|---|
warning | other |
|
debug | other |
|
debug | other |
|
debug | other |
|
debug | other |
|
debug | other |
|
debug | other |
|
HTML
未加工のHTMLページ本文
<!DOCTYPE html><!-- Last Published: Fri, November 15 2024 00:21:03 --><html lang="en"><head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="user-scalable=no, initial-scale=1, maximum-scale=1, minimum-scale=1, width=device-width, height=device-height, target-densitydpi=device-dpi, shrink-to-fit=no">
<script>
const reactDefaultThemes = {defaultBaseTextSize: '16px',defaultBodyFont: 'Inter',defaultBodyFontWeight: '400',defaultBodyTextColor: '#152237',defaultButtonBackgroundColor: '#3278ff',defaultButtonRoundness: '.25rem',defaultButtonTextColor: '#ffffff',defaultContainerStyle: 'container',defaultTitleFont: 'Inter',defaultTitleFontWeight: '600',defaultTitleTextColor: '#152237',defaultSize: 'L',defaultBackgroundColor: '#ffffff',defaultShadow: true,defaultBackgroundStyle: 'HIGHLIGHTED'};
</script>
<script src="https://assets.softr-files.com/softr-blocks/prod/libs/softr-page-renderer/softr-page-renderer.min.js"></script>
<meta name="twitter:title" content="C2U Recruit"><meta property="twitter:title" content="C2U Recruit"><meta property="og:title" content="C2U Recruit">
<title>C2U Recruit</title>
<link rel="icon" type="image/x-icon" href="https://assets.softr-files.com/applications/506ef524-5a44-4638-be02-9e237e8fc242/assets/771ba64e-29a1-45d0-918a-faa4ca3c2039.jpeg?rnd=1729677133778">
<link rel="canonical" href="https://recruit.crews2u.com.au/">
<link href="https://fonts.softr-files.com/google/api/css?family=Inter:100,200,300,400,500,600,700,800,900,100i,200i,300i,400i,500i,600i,700i,800i,900i&display=swap" rel="stylesheet">
<link href="https://assets.softr-files.com/libs/bootstrap/4.3.1/css/bootstrap.min.css" rel="stylesheet">
<link href="https://assets.softr-files.com/libs/font-awesome/6.5.0/css/all.min.css" rel="stylesheet">
<style type="text/css">
html {
scroll-behavior: smooth;
font-size: 16px;
overflow-x: hidden;
background-color: #ffffff;
}
body {
/* fallback for devices that do not support dvh units */
min-height: 100vh;
min-height: 100dvh;
}
.container {
max-width: 100%;
}
@media (min-width: 576px) {
.container {
max-width: 540px;
}
}
@media (max-width: 576px) {
.navbar-brand img {
max-width: 15rem !important;
}
}
@media (min-width: 768px) {
.container {
max-width: 720px;
}
}
@media (min-width: 992px) {
.container {
max-width: 960px;
}
}
@media (min-width: 1200px) {
.container {
max-width: 1140px;
}
}
p, h1, h2, h3, h4, h5, small {
white-space: pre-line;
}
@media screen and (max-width: 768px) {
input, select, textarea {
font-size: 16px !important;
}
}
h1.sw-font-family-default,
h2.sw-font-family-default,
h3.sw-font-family-default {
font-family: "Inter";
}
h1.sw-font-weight-default,
h2.sw-font-weight-default,
h3.sw-font-family-default {
font-weight: 600;
}
h1.sw-text-color-default,
h2.sw-text-color-default,
h3.sw-font-family-default {
color: #152237;
}
section.sw-font-family-default,
header.sw-font-family-default,
nav.sw-font-family-default,
footer.sw-font-family-default,
div.sw-font-family-default,
span.sw-font-family-default,
small.sw-font-family-default,
pre.sw-font-family-default,
p.sw-font-family-default,
b.sw-font-family-default,
li.sw-font-family-default,
ul.sw-font-family-default,
a.sw-font-family-default,
h4.sw-font-family-default,
h5.sw-font-family-default,
h6.sw-font-family-default {
font-family: "Inter";
}
span.sw-font-weight-default,
li.sw-font-weight-default span,
small.sw-font-weight-default,
li.sw-font-weight-default small,
pre.sw-font-weight-default,
p.sw-font-weight-default,
h4.sw-font-weight-default,
h5.sw-font-weight-default,
h6.sw-font-weight-default {
font-weight: 400;
}
span.sw-text-color-default,
li.sw-text-color-default span,
small.sw-text-color-default,
li.sw-text-color-default small,
pre.sw-text-color-default,
p.sw-text-color-default,
div.sw-text-color-default,
h4.sw-text-color-default,
h5.sw-text-color-default,
h6.sw-text-color-default {
color: #152237;
}
input.sw-font-family-default,
textarea.sw-font-family-default {
font-family: "Inter";
}
input.sw-font-weight-default,
textarea.sw-font-weight-default {
font-weight: 400;
}
.sw-font-family-default::-webkit-input-placeholder,
.sw-font-family-default::-moz-placeholder,
.sw-font-family-default:-ms-input-placeholder,
.sw-font-family-default:-moz-placeholder {
font-family: "Inter";
}
.sw-font-family-default::-webkit-input-placeholder,
.sw-font-family-default::-moz-placeholder,
.sw-font-family-default:-ms-input-placeholder,
.sw-font-family-default:-moz-placeholder {
font-weight: 400;
}
.sw-text-color-default[data-element='button'] {
color: #ffffff;
}
.sw-background-color-default[data-element='button'] {
background-color: #3278ff;
}
.sw-border-radius-default[data-element='button'] {
border-radius: .25rem;
}
/* Micromodal styles */
.sw-modal {
display: none;
}
.sw-modal.is-open {
display: block;
}
.sw-modal .sw-modal-overlay {
position: fixed;
top: 0;
left: 0;
right: 0;
bottom: 0;
background: rgba(0, 0, 0, 0.6);
display: flex;
justify-content: center;
align-items: center;
z-index: 9999;
}
.sw-modal .sw-modal-container {
background-color: #FFFFFF;
padding: 40px 10px 10px 10px;
overflow-y: auto;
box-sizing: border-box;
position: relative;
margin: auto;
border-radius: 16px;
}
.sw-modal #sw-modal-content {
display: flex;
align-items: center;
justify-content: center;
}
.sw-modal .sw-modal-close {
background: transparent;
border: 0;
position: absolute;
right: 10px;
top: 10px;
}
.sw-modal-close:focus {
outline: none;
}
.sw-modal .sw-modal-iframe {
border: none;
}
.sw-modal-size-sm {
width: 464px;
height: 350px;
max-width: 95vw;
max-height: 95vh;
}
.sw-modal-size-md {
width: 755px;
height: 600px;
max-width: 95vw;
max-height: 95vh;
}
.sw-modal-size-lg {
width: 1196px;
height: 780px;
max-width: 95vw;
max-height: 95vh;
}
.sw-modal-size-xl {
width: 95vw;
height: 95vh;
}
.sw-modal-container > div, #sw-modal-content, #sw-modal-content iframe {
width: 100%;
height: 100%;
}
.sw-modal-close:before {
content: "\2715";
}
@keyframes rotation {
from {
transform: rotate(0deg);
}
to {
transform: rotate(359deg);
}
}
</style>
<!-- App Integrations -->
<!-- Stripe --><script src="https://js.stripe.com/v3/"></script><script>var stripePublishableKey = 'pk_test_IYInh88v5cf0tKWoF6cnNZch';var stripe = Stripe('pk_test_IYInh88v5cf0tKWoF6cnNZch');</script><!-- End Stripe -->
<!-- End Integrations -->
<script>window['application_context'] = {}; window['application_context']['policies'] ={"numberOfSupportedDomains":2,"canDisableSoftrBranding":true,"hasSoftrBrandingFooterBoundSupport":true,"numberOfDatasourceRecordsPerTable":25000,"numberOfInternalUsers":50,"numberOfExternalUsers":5000,"supportedNumberOfMembershipUsers":100000,"hasGoogleAuthenticationSupport":true,"hasSamlAuthenticationSupport":false,"hasOpenIdAuthenticationSupport":false,"hasUserLastSeenSupport":false,"hasUserAuthOneTimeCodeSupport":true,"numberOfDaysApplicationHistory":30,"hasCustomCodeSupport":true,"hasEmbedBlockSupport":true,"hasTransferApplicationsAcrossWorkspace":true,"hasPwaSupport":false,"hasSignatureFieldSupport":true,"hasFormConditionsSupport":true,"hasTransferOwnershipSupport":null,"hasActionButtonRecordLevelVisibilitySupport":true,"hasActionButtonCustomUserGroupVisibilitySupport":false,"numberOfUsersInWorkspace":null,"numberOfCustomUserGroups":null,"numberOfPublishedApplications":null,"restrictedDataSources":["HUBSPOT","GOOGLE_BIGQUERY","MYSQL","POSTGRESQL","SQL_SERVER","MARIADB"],"restrictedBlocks":["org-chart","Timeline","signin-with-phone"],"hasInlineEditingSupport":true,"hasFilteredUserSyncSupport":true,"restrictedActions":[],"hasEditAddFormOptionFilterSupport":null,"hasCustomEmailSenderSupport":true,"hasSoftrApiSupport":true,"hasDomainRestrictedSignUpSupport":true,"supportedDataRestrictionOperations":["VIEW"],"hasHideBlockOnDetailsPageSupport":null,"hasOptionFilterSupport":null,"hasCustomDomainAddOnSupport":true,"hasUserAddOnSupport":false}; window['application_context']['date_and_time_settings'] = {"formatSettings":{"type":"LOCAL","localSettings":{"localizeDayAndMonth":true},"fixedSettings":null},"timezoneSettings":{"type":"LOCAL","fixedTimezone":null}}; </script>
<style>
.sw-font-size-5xl {
font-size: 3rem;
}
.sw-font-size-4xl {
font-size: 2.25rem;
}
</style>
<script>
document.addEventListener("DOMContentLoaded", () => {
if($(window).width() < 768) {
$('h1.sw-font-size-10xl').removeClass('sw-font-size-10xl').addClass('sw-font-size-5xl');
$('h1.sw-font-size-9xl').removeClass('sw-font-size-9xl').addClass('sw-font-size-5xl');
$('h1.sw-font-size-8xl').removeClass('sw-font-size-8xl').addClass('sw-font-size-5xl');
$('h1.sw-font-size-7xl').removeClass('sw-font-size-7xl').addClass('sw-font-size-5xl');
$('h1.sw-font-size-6xl').removeClass('sw-font-size-6xl').addClass('sw-font-size-4xl');
$('h2.sw-font-size-10xl').removeClass('sw-font-size-10xl').addClass('sw-font-size-5xl');
$('h2.sw-font-size-9xl').removeClass('sw-font-size-9xl').addClass('sw-font-size-5xl');
$('h2.sw-font-size-8xl').removeClass('sw-font-size-8xl').addClass('sw-font-size-5xl');
$('h2.sw-font-size-7xl').removeClass('sw-font-size-7xl').addClass('sw-font-size-5xl');
$('h2.sw-font-size-6xl').removeClass('sw-font-size-6xl').addClass('sw-font-size-4xl');
$('div.sw-font-size-10xl').removeClass('sw-font-size-10xl').addClass('sw-font-size-5xl');
$('div.sw-font-size-9xl').removeClass('sw-font-size-9xl').addClass('sw-font-size-5xl');
$('div.sw-font-size-8xl').removeClass('sw-font-size-8xl').addClass('sw-font-size-5xl');
$('div.sw-font-size-7xl').removeClass('sw-font-size-7xl').addClass('sw-font-size-5xl');
$('div.sw-font-size-6xl').removeClass('sw-font-size-6xl').addClass('sw-font-size-4xl');
$('p.sw-font-size-10xl').removeClass('sw-font-size-10xl').addClass('sw-font-size-5xl');
$('p.sw-font-size-9xl').removeClass('sw-font-size-9xl').addClass('sw-font-size-5xl');
$('p.sw-font-size-8xl').removeClass('sw-font-size-8xl').addClass('sw-font-size-5xl');
$('p.sw-font-size-7xl').removeClass('sw-font-size-7xl').addClass('sw-font-size-5xl');
$('p.sw-font-size-6xl').removeClass('sw-font-size-6xl').addClass('sw-font-size-4xl');
$('span.sw-font-size-10xl').removeClass('sw-font-size-10xl').addClass('sw-font-size-5xl');
$('span.sw-font-size-9xl').removeClass('sw-font-size-9xl').addClass('sw-font-size-5xl');
$('span.sw-font-size-8xl').removeClass('sw-font-size-8xl').addClass('sw-font-size-5xl');
$('span.sw-font-size-7xl').removeClass('sw-font-size-7xl').addClass('sw-font-size-5xl');
$('span.sw-font-size-6xl').removeClass('sw-font-size-6xl').addClass('sw-font-size-4xl');
}
});
</script>
<script>window['is401Page'] = false; </script>
<script>
const BlocksRenderedEventName = "@softr/page-content-loaded";
</script>
<script>
/** Image lineup on mobile **/
window.addEventListener(BlocksRenderedEventName, function () {
function changeImageDirectionsOnMobile() {
const classListSection = $('body>div>section')?.attr('class')?.split(/\s+/);
const textClassSection = classListSection?.find(cls => cls.startsWith('feature'));
const classListHeader = $('body>div>header')?.attr('class')?.split(/\s+/);
const textClassHeader = classListHeader?.find(cls => cls.startsWith('hero'));
/*If FEATURE block*/
if (textClassSection) {
findRowsWidthImageAndReverse(textClassSection)
}
/*If HERO block*/
if (textClassHeader) {
findRowsWidthImageAndReverse(textClassHeader)
}
}
function findRowsWidthImageAndReverse(textClass) {
const rowsWithImages = $('.' + textClass + ' .row.align-items-center').has('img').toArray();
const rowsWithLeftSideImages = rowsWithImages.filter(row => {
return $(row).children().first().children().first().prop("tagName") === 'IMG';
});
rowsWithLeftSideImages.forEach(row => {
if ($(window).width() <= 768) {
row.classList.add('flex-column-reverse')
}
});
}
if ($(window).width() <= 768) {
changeImageDirectionsOnMobile();
}
window.parent.postMessage({ name: 'previewIframeLoaded' }, '*');
});
/** BG Size on mobile **/
window.addEventListener(BlocksRenderedEventName, function () {
if ($(window).width() <= 768) {
var element = $('section.sw-background-size-auto, header.sw-background-size-auto');
element.removeClass('sw-background-size-auto');
element.css('background-size', 'cover');
$('section.sw-background-attachment-fixed, header.sw-background-attachment-fixed').removeClass('sw-background-attachment-fixed');
}
});
/** Disable zoom on mobile **/
window.addEventListener(BlocksRenderedEventName, function () {
if ($(window).width() <= 768) {
$('input.sw-font-size-s').removeClass('sw-font-size-s');
$('textarea.sw-font-size-s').removeClass('sw-font-size-s');
$('select.sw-font-size-s').removeClass('sw-font-size-s');
}
});
window.addEventListener('user-sign-out', (e) => {
const message = {
name: 'user-sign-out-triggered',
};
window.parent.postMessage(message, '*');
});
</script>
<style data-trace="React18Block.tsx">[data-spr-block-parent-id="405a0576-7b99-44ec-ad7d-61661cf96b6a"] .MuiButtonBase-root{box-shadow:none!important}[data-spr-block-parent-id="405a0576-7b99-44ec-ad7d-61661cf96b6a"] .success-icon{color:inherit;font-size:inherit;margin-left:10px}[data-spr-block-parent-id="405a0576-7b99-44ec-ad7d-61661cf96b6a"] .MuiButton-root{display:inline-flex;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}</style><style data-trace="React18Block.tsx">[data-spr-block-parent-id="eff2e511-ea33-4337-a8be-e2db76f3037c"] video{-webkit-backface-visibility:hidden!important;-moz-backface-visibility:hidden!important;-webkit-mask-image:-webkit-radial-gradient(#fff,#000)!important}[data-spr-block-parent-id="eff2e511-ea33-4337-a8be-e2db76f3037c"] .success-icon{color:inherit;font-size:inherit;margin-left:10px}[data-spr-block-parent-id="eff2e511-ea33-4337-a8be-e2db76f3037c"] .MuiButton-root{display:inline-flex;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}</style><style data-trace="React18Block.tsx">[data-spr-block-parent-id="5a89fe04-9d0e-4b9f-b43e-4464d63e9e4d"] .form-input-holder{display:flex;flex-direction:column;margin:8px auto;width:100%}[data-spr-block-parent-id="5a89fe04-9d0e-4b9f-b43e-4464d63e9e4d"] .form-input-label{color:#616161;font:600 12px/18px var(--font,"Inter")}[data-spr-block-parent-id="5a89fe04-9d0e-4b9f-b43e-4464d63e9e4d"] .form-error-text{color:#de350b;display:flex;font-family:var(--font,"Inter");font-size:12px;gap:5px}[data-spr-block-parent-id="5a89fe04-9d0e-4b9f-b43e-4464d63e9e4d"] .rich-text-editor h1,[data-spr-block-parent-id="5a89fe04-9d0e-4b9f-b43e-4464d63e9e4d"] .rich-text-editor h2,[data-spr-block-parent-id="5a89fe04-9d0e-4b9f-b43e-4464d63e9e4d"] .rich-text-editor h3,[data-spr-block-parent-id="5a89fe04-9d0e-4b9f-b43e-4464d63e9e4d"] .rich-text-editor h4,[data-spr-block-parent-id="5a89fe04-9d0e-4b9f-b43e-4464d63e9e4d"] .rich-text-editor h5,[data-spr-block-parent-id="5a89fe04-9d0e-4b9f-b43e-4464d63e9e4d"] .rich-text-editor h6,[data-spr-block-parent-id="5a89fe04-9d0e-4b9f-b43e-4464d63e9e4d"] .rich-text-editor p,[data-spr-block-parent-id="5a89fe04-9d0e-4b9f-b43e-4464d63e9e4d"] .rich-text-editor small{white-space:pre-wrap}[data-spr-block-parent-id="5a89fe04-9d0e-4b9f-b43e-4464d63e9e4d"] .sonner-toast [data-icon]{display:none!important}[data-spr-block-parent-id="5a89fe04-9d0e-4b9f-b43e-4464d63e9e4d"] .sonner-toast [data-close-button]{background-color:#fcfcfc;border:1px solid #ededed;border-radius:50%;left:unset;right:-15px!important}[data-spr-block-parent-id="5a89fe04-9d0e-4b9f-b43e-4464d63e9e4d"] .sonner-toast{background-repeat:no-repeat;border-radius:8px;color:#5a5d63;font-size:13px;list-style-type:none;margin:0 0 6px;padding:15px 15px 15px 50px;width:400px}[data-spr-block-parent-id="5a89fe04-9d0e-4b9f-b43e-4464d63e9e4d"] .sonner-toast-success{background-color:#e9f6f2;background-image:url(https://softr-assets-eu-shared.s3.eu-central-1.amazonaws.com/studio/blocks/assets/success.svg);background-position:16px 15px;border:1px solid #d3f0e7}[data-spr-block-parent-id="5a89fe04-9d0e-4b9f-b43e-4464d63e9e4d"] .sonner-toast-error{background-color:#fcefef;background-image:url(https://softr-assets-eu-shared.s3.eu-central-1.amazonaws.com/studio/blocks/assets/error.svg);background-position:16px 17px;border:1px solid #f4dbdb;color:#383b3d}[data-spr-block-parent-id="5a89fe04-9d0e-4b9f-b43e-4464d63e9e4d"] .sonner-toast-info{background-color:#edf3fb;background-image:url(https://softr-assets-eu-shared.s3.eu-central-1.amazonaws.com/studio/blocks/assets/info.svg);border:1px solid #c9daf2}[data-spr-block-parent-id="5a89fe04-9d0e-4b9f-b43e-4464d63e9e4d"] .sonner-toast-info,[data-spr-block-parent-id="5a89fe04-9d0e-4b9f-b43e-4464d63e9e4d"] .sonner-toast-warning{background-position:16px 15px;color:#383b3d}[data-spr-block-parent-id="5a89fe04-9d0e-4b9f-b43e-4464d63e9e4d"] .sonner-toast-warning{background-color:#fceed9;background-image:url(https://softr-assets-eu-shared.s3.eu-central-1.amazonaws.com/studio/blocks/assets/warning1.svg);border:1px solid #fae5c6}[data-spr-block-parent-id="5a89fe04-9d0e-4b9f-b43e-4464d63e9e4d"] .sonner-toast[data-y-position=bottom]{bottom:25px;left:-12px}@media(max-width:576px){[data-spr-block-parent-id="5a89fe04-9d0e-4b9f-b43e-4464d63e9e4d"] .sonner-toast,[data-spr-block-parent-id="5a89fe04-9d0e-4b9f-b43e-4464d63e9e4d"] .sonner-toast-error{width:300px}}[data-spr-block-parent-id="5a89fe04-9d0e-4b9f-b43e-4464d63e9e4d"] .checkbox-holder{align-items:center;display:flex;margin-bottom:var(--ch-m-b);margin-top:var(--ch-m-t)}[data-spr-block-parent-id="5a89fe04-9d0e-4b9f-b43e-4464d63e9e4d"] .checkbox-holder input{-moz-appearance:none;appearance:none;-webkit-appearance:none;background-color:var(--ch-bg);border-color:var(--ch-border-c,#c2c2c2);border-radius:var(--ch-border-r,4px);border-style:var(--ch-border-s,solid);border-width:var(--ch-border-w,1px);box-shadow:var(--ch-box-shadow);display:inline-block;flex-shrink:0;font-family:inherit;font-size:100%;font-weight:inherit;height:var(--ch-font-size);line-height:inherit;margin:0 10px 0 0;padding:0;position:relative;transition:border-color .4s,background-image .4s ease-in-out,background-color .4s;-webkit-user-select:none;-moz-user-select:none;user-select:none;vertical-align:middle;width:var(--ch-font-size)}[data-spr-block-parent-id="5a89fe04-9d0e-4b9f-b43e-4464d63e9e4d"] .checkbox-holder input:hover{background-color:var(--ch-bg-hover);border-color:var(--ch-border-c-hover,#c2c2c2);border-style:var(--ch-border-s-hover,solid);border-width:var(--ch-border-w-hover,1px)}[data-spr-block-parent-id="5a89fe04-9d0e-4b9f-b43e-4464d63e9e4d"] .checkbox-holder input:checked{background-color:var(--ch-bg-c);border-color:var(--ch-border-c-hover,#c2c2c2);outline:1px solid var(--ch-outline)}[data-spr-block-parent-id="5a89fe04-9d0e-4b9f-b43e-4464d63e9e4d"] .checkbox-holder input:checked:after{color:var(--check-color);content:"✓";font-size:var(--ch-font-size);font-weight:300;left:50%;position:absolute;top:50%;transform:translate(-50%,-52%) scale(.8)}[data-spr-block-parent-id="5a89fe04-9d0e-4b9f-b43e-4464d63e9e4d"] .checkbox-holder>label{color:var(--ch-color);display:flex;font-family:var(--ch-font-family);font-size:var(--ch-font-size);font-weight:400;margin:0}[data-spr-block-parent-id="5a89fe04-9d0e-4b9f-b43e-4464d63e9e4d"] .date-time-picker-holder{display:flex;gap:10px;justify-content:space-between}[data-spr-block-parent-id="5a89fe04-9d0e-4b9f-b43e-4464d63e9e4d"] .date-time-picker-holder>div:first-child{flex:2}[data-spr-block-parent-id="5a89fe04-9d0e-4b9f-b43e-4464d63e9e4d"] .date-time-picker-holder>div:last-child{flex:1}[data-spr-block-parent-id="5a89fe04-9d0e-4b9f-b43e-4464d63e9e4d"] .rdrCalendarWrapper{align-self:center;display:flex;flex-direction:column;font-size:14px;padding:16px 24px}[data-spr-block-parent-id="5a89fe04-9d0e-4b9f-b43e-4464d63e9e4d"] .rdrCalendarWrapper *{transition:background .2s,border-color .2s,opacity .2s}[data-spr-block-parent-id="5a89fe04-9d0e-4b9f-b43e-4464d63e9e4d"] .rdrMonthAndYearWrapper{display:grid;grid-template-columns:auto 1fr auto;position:relative;z-index:10}[data-spr-block-parent-id="5a89fe04-9d0e-4b9f-b43e-4464d63e9e4d"] .rdrDateRangeWrapper .rdrMonthAndYearWrapper{margin:0 0 -30px}[data-spr-block-parent-id="5a89fe04-9d0e-4b9f-b43e-4464d63e9e4d"] .rdrDateRangeWrapper .rdrMonthAndYearWrapper .rdrMonthAndYearPickers{color:transparent}[data-spr-block-parent-id="5a89fe04-9d0e-4b9f-b43e-4464d63e9e4d"] .rdrMonthAndYearPickers{pointer-events:none}[data-spr-block-parent-id="5a89fe04-9d0e-4b9f-b43e-4464d63e9e4d"] .rdrMonths{display:flex;justify-content:center}[data-spr-block-parent-id="5a89fe04-9d0e-4b9f-b43e-4464d63e9e4d"] .rdrMonths.rdrMonthsHorizontal{grid-column-gap:48px;display:grid;grid-template-columns:repeat(2,1fr)}[data-spr-block-parent-id="5a89fe04-9d0e-4b9f-b43e-4464d63e9e4d"] .rdrWeekDays{color:#9e9e9e;margin:16px 0 14px}[data-spr-block-parent-id="5a89fe04-9d0e-4b9f-b43e-4464d63e9e4d"] .rdrWeekDays>span{font-size:12px;line-height:18px;position:relative;text-align:center}[data-spr-block-parent-id="5a89fe04-9d0e-4b9f-b43e-4464d63e9e4d"] .rdrMonth>div:not(.rdrMonthName){grid-column-gap:20px;grid-row-gap:18px;display:grid;grid-template-columns:repeat(7,28px)}[data-spr-block-parent-id="5a89fe04-9d0e-4b9f-b43e-4464d63e9e4d"] .rdrDay{background:none;border:none;cursor:pointer;font:inherit;outline:none;position:relative}[data-spr-block-parent-id="5a89fe04-9d0e-4b9f-b43e-4464d63e9e4d"] .rdrDayNumber{display:block;position:relative}[data-spr-block-parent-id="5a89fe04-9d0e-4b9f-b43e-4464d63e9e4d"] .rdrDayNumber span{color:#424242}[data-spr-block-parent-id="5a89fe04-9d0e-4b9f-b43e-4464d63e9e4d"] .rdrDayDisabled{cursor:not-allowed}[data-spr-block-parent-id="5a89fe04-9d0e-4b9f-b43e-4464d63e9e4d"] .rdrDayEndPreview,[data-spr-block-parent-id="5a89fe04-9d0e-4b9f-b43e-4464d63e9e4d"] .rdrDayInPreview,[data-spr-block-parent-id="5a89fe04-9d0e-4b9f-b43e-4464d63e9e4d"] .rdrDayStartPreview,[data-spr-block-parent-id="5a89fe04-9d0e-4b9f-b43e-4464d63e9e4d"] .rdrEndEdge,[data-spr-block-parent-id="5a89fe04-9d0e-4b9f-b43e-4464d63e9e4d"] .rdrInRange,[data-spr-block-parent-id="5a89fe04-9d0e-4b9f-b43e-4464d63e9e4d"] .rdrSelected,[data-spr-block-parent-id="5a89fe04-9d0e-4b9f-b43e-4464d63e9e4d"] .rdrStartEdge{pointer-events:none}[data-spr-block-parent-id="5a89fe04-9d0e-4b9f-b43e-4464d63e9e4d"] .rdrDateRangePickerWrapper{display:flex}[data-spr-block-parent-id="5a89fe04-9d0e-4b9f-b43e-4464d63e9e4d"] .disable-days-starting-today,[data-spr-block-parent-id="5a89fe04-9d0e-4b9f-b43e-4464d63e9e4d"] .disable-days-up-to-today{display:none}[data-spr-block-parent-id="5a89fe04-9d0e-4b9f-b43e-4464d63e9e4d"] .rdrDayEndPreview,[data-spr-block-parent-id="5a89fe04-9d0e-4b9f-b43e-4464d63e9e4d"] .rdrDayInPreview,[data-spr-block-parent-id="5a89fe04-9d0e-4b9f-b43e-4464d63e9e4d"] .rdrDayStartPreview{color:#f6c944}[data-spr-block-parent-id="5a89fe04-9d0e-4b9f-b43e-4464d63e9e4d"] .rdrDay{font-size:12px;height:28px;line-height:18px;text-align:center}[data-spr-block-parent-id="5a89fe04-9d0e-4b9f-b43e-4464d63e9e4d"] .rdrDay:before{bottom:-8px;content:"";display:block;left:-8px;position:absolute;right:-8px;top:-8px}[data-spr-block-parent-id="5a89fe04-9d0e-4b9f-b43e-4464d63e9e4d"] .rdrDayNumber{align-items:center;bottom:0;display:flex;justify-content:center;left:0;position:absolute;right:0;top:0}[data-spr-block-parent-id="5a89fe04-9d0e-4b9f-b43e-4464d63e9e4d"] .rdrDayToday .rdrDayNumber span:after{background:#424242;border-radius:100%;bottom:-4px;content:"";display:block;height:4px;left:50%;position:absolute;transform:translate(-50%);width:4px}[data-spr-block-parent-id="5a89fe04-9d0e-4b9f-b43e-4464d63e9e4d"] .rdrDayToday .rdrEndEdge~.rdrDayNumber span:after,[data-spr-block-parent-id="5a89fe04-9d0e-4b9f-b43e-4464d63e9e4d"] .rdrDayToday .rdrInRange~.rdrDayNumber span:after,[data-spr-block-parent-id="5a89fe04-9d0e-4b9f-b43e-4464d63e9e4d"] .rdrDayToday .rdrSelected~.rdrDayNumber span:after,[data-spr-block-parent-id="5a89fe04-9d0e-4b9f-b43e-4464d63e9e4d"] .rdrDayToday .rdrStartEdge~.rdrDayNumber span:after{background:#f6c944}[data-spr-block-parent-id="5a89fe04-9d0e-4b9f-b43e-4464d63e9e4d"] .rdrDay:not(.rdrDayPassive) .rdrEndEdge~.rdrDayNumber span,[data-spr-block-parent-id="5a89fe04-9d0e-4b9f-b43e-4464d63e9e4d"] .rdrDay:not(.rdrDayPassive) .rdrInRange~.rdrDayNumber span,[data-spr-block-parent-id="5a89fe04-9d0e-4b9f-b43e-4464d63e9e4d"] .rdrDay:not(.rdrDayPassive) .rdrSelected~.rdrDayNumber span,[data-spr-block-parent-id="5a89fe04-9d0e-4b9f-b43e-4464d63e9e4d"] .rdrDay:not(.rdrDayPassive) .rdrStartEdge~.rdrDayNumber span{color:#424242}[data-spr-block-parent-id="5a89fe04-9d0e-4b9f-b43e-4464d63e9e4d"] .rdrEndEdge,[data-spr-block-parent-id="5a89fe04-9d0e-4b9f-b43e-4464d63e9e4d"] .rdrInRange,[data-spr-block-parent-id="5a89fe04-9d0e-4b9f-b43e-4464d63e9e4d"] .rdrSelected,[data-spr-block-parent-id="5a89fe04-9d0e-4b9f-b43e-4464d63e9e4d"] .rdrStartEdge{background:currentColor;bottom:-8px;left:-8px;position:absolute;right:-8px;top:-8px}[data-spr-block-parent-id="5a89fe04-9d0e-4b9f-b43e-4464d63e9e4d"] .rdrStartEdge{border-bottom-left-radius:28px;border-top-left-radius:28px;left:-8px}[data-spr-block-parent-id="5a89fe04-9d0e-4b9f-b43e-4464d63e9e4d"] .rdrEndEdge{border-bottom-right-radius:28px;border-top-right-radius:28px;right:-8px}[data-spr-block-parent-id="5a89fe04-9d0e-4b9f-b43e-4464d63e9e4d"] .rdrSelected{border-radius:28px}[data-spr-block-parent-id="5a89fe04-9d0e-4b9f-b43e-4464d63e9e4d"] .rdrDayStartOfMonth .rdrEndEdge,[data-spr-block-parent-id="5a89fe04-9d0e-4b9f-b43e-4464d63e9e4d"] .rdrDayStartOfMonth .rdrInRange,[data-spr-block-parent-id="5a89fe04-9d0e-4b9f-b43e-4464d63e9e4d"] .rdrDayStartOfWeek .rdrEndEdge,[data-spr-block-parent-id="5a89fe04-9d0e-4b9f-b43e-4464d63e9e4d"] .rdrDayStartOfWeek .rdrInRange{border-bottom-left-radius:28px;border-top-left-radius:28px;left:-8px}[data-spr-block-parent-id="5a89fe04-9d0e-4b9f-b43e-4464d63e9e4d"] .rdrDayEndOfMonth .rdrInRange,[data-spr-block-parent-id="5a89fe04-9d0e-4b9f-b43e-4464d63e9e4d"] .rdrDayEndOfMonth .rdrStartEdge,[data-spr-block-parent-id="5a89fe04-9d0e-4b9f-b43e-4464d63e9e4d"] .rdrDayEndOfWeek .rdrInRange,[data-spr-block-parent-id="5a89fe04-9d0e-4b9f-b43e-4464d63e9e4d"] .rdrDayEndOfWeek .rdrStartEdge{border-bottom-right-radius:28px;border-top-right-radius:28px;right:-8px}[data-spr-block-parent-id="5a89fe04-9d0e-4b9f-b43e-4464d63e9e4d"] .rdrDayStartOfMonth .rdrDayEndPreview,[data-spr-block-parent-id="5a89fe04-9d0e-4b9f-b43e-4464d63e9e4d"] .rdrDayStartOfMonth .rdrDayInPreview,[data-spr-block-parent-id="5a89fe04-9d0e-4b9f-b43e-4464d63e9e4d"] .rdrDayStartOfWeek .rdrDayEndPreview,[data-spr-block-parent-id="5a89fe04-9d0e-4b9f-b43e-4464d63e9e4d"] .rdrDayStartOfWeek .rdrDayInPreview{border-bottom-left-radius:28px;border-left-width:1px;border-top-left-radius:28px;left:-8px}[data-spr-block-parent-id="5a89fe04-9d0e-4b9f-b43e-4464d63e9e4d"] .rdrDayEndOfMonth .rdrDayInPreview,[data-spr-block-parent-id="5a89fe04-9d0e-4b9f-b43e-4464d63e9e4d"] .rdrDayEndOfMonth .rdrDayStartPreview,[data-spr-block-parent-id="5a89fe04-9d0e-4b9f-b43e-4464d63e9e4d"] .rdrDayEndOfWeek .rdrDayInPreview,[data-spr-block-parent-id="5a89fe04-9d0e-4b9f-b43e-4464d63e9e4d"] .rdrDayEndOfWeek .rdrDayStartPreview{border-bottom-right-radius:28px;border-right-width:1px;border-top-right-radius:28px;right:-8px}[data-spr-block-parent-id="5a89fe04-9d0e-4b9f-b43e-4464d63e9e4d"] .rdrDayEndPreview,[data-spr-block-parent-id="5a89fe04-9d0e-4b9f-b43e-4464d63e9e4d"] .rdrDayInPreview,[data-spr-block-parent-id="5a89fe04-9d0e-4b9f-b43e-4464d63e9e4d"] .rdrDayStartPreview{background:#fef9ec;border:0 solid;bottom:-8px;left:-8px;pointer-events:none;position:absolute;right:-8px;top:-8px}[data-spr-block-parent-id="5a89fe04-9d0e-4b9f-b43e-4464d63e9e4d"] .rdrDayEndPreview>.rdrDayNumber>span,[data-spr-block-parent-id="5a89fe04-9d0e-4b9f-b43e-4464d63e9e4d"] .rdrDayInPreview>.rdrDayNumber>span,[data-spr-block-parent-id="5a89fe04-9d0e-4b9f-b43e-4464d63e9e4d"] .rdrDayStartPreview>.rdrDayNumber>span{color:#424242}[data-spr-block-parent-id="5a89fe04-9d0e-4b9f-b43e-4464d63e9e4d"] .rdrDayStartPreview{border-bottom-left-radius:28px;border-bottom-width:1px;border-left-width:1px;border-top-left-radius:28px;border-top-width:1px;left:-8px}[data-spr-block-parent-id="5a89fe04-9d0e-4b9f-b43e-4464d63e9e4d"] .rdrDayInPreview{border-bottom-width:1px;border-top-width:1px}[data-spr-block-parent-id="5a89fe04-9d0e-4b9f-b43e-4464d63e9e4d"] .rdrDayEndPreview{border-bottom-right-radius:28px;border-bottom-width:1px;border-right-width:1px;border-top-right-radius:28px;border-top-width:1px;right:-8px}[data-spr-block-parent-id="5a89fe04-9d0e-4b9f-b43e-4464d63e9e4d"] .rdrCalendarWrapper:not(.rdrDateRangeWrapper) .rdrDayHovered .rdrDayNumber:after{background:transparent;border:1px solid;border-radius:28px;bottom:-8px;content:"";left:-8px;position:absolute;right:-8px;top:-8px}[data-spr-block-parent-id="5a89fe04-9d0e-4b9f-b43e-4464d63e9e4d"] .rdrDayPassive{pointer-events:none}[data-spr-block-parent-id="5a89fe04-9d0e-4b9f-b43e-4464d63e9e4d"] .rdrDayPassive .rdrDayNumber span{color:#aeaeb5}[data-spr-block-parent-id="5a89fe04-9d0e-4b9f-b43e-4464d63e9e4d"] .rdrDayDisabled:before{background:#f5f5f5;border-radius:100%}[data-spr-block-parent-id="5a89fe04-9d0e-4b9f-b43e-4464d63e9e4d"] .rdrDayDisabled .rdrDayNumber span{color:#aeaeb5}[data-spr-block-parent-id="5a89fe04-9d0e-4b9f-b43e-4464d63e9e4d"] .rdrDayDisabled .rdrDayEndPreview,[data-spr-block-parent-id="5a89fe04-9d0e-4b9f-b43e-4464d63e9e4d"] .rdrDayDisabled .rdrDayInPreview,[data-spr-block-parent-id="5a89fe04-9d0e-4b9f-b43e-4464d63e9e4d"] .rdrDayDisabled .rdrDayStartPreview,[data-spr-block-parent-id="5a89fe04-9d0e-4b9f-b43e-4464d63e9e4d"] .rdrDayDisabled .rdrEndEdge,[data-spr-block-parent-id="5a89fe04-9d0e-4b9f-b43e-4464d63e9e4d"] .rdrDayDisabled .rdrInRange,[data-spr-block-parent-id="5a89fe04-9d0e-4b9f-b43e-4464d63e9e4d"] .rdrDayDisabled .rdrSelected,[data-spr-block-parent-id="5a89fe04-9d0e-4b9f-b43e-4464d63e9e4d"] .rdrDayDisabled .rdrStartEdge{filter:grayscale(100%) opacity(60%)}[data-spr-block-parent-id="5a89fe04-9d0e-4b9f-b43e-4464d63e9e4d"] .rdrDateDisplayWrapper,[data-spr-block-parent-id="5a89fe04-9d0e-4b9f-b43e-4464d63e9e4d"] .rdrDayPassive .rdrDayEndPreview,[data-spr-block-parent-id="5a89fe04-9d0e-4b9f-b43e-4464d63e9e4d"] .rdrDayPassive .rdrDayInPreview,[data-spr-block-parent-id="5a89fe04-9d0e-4b9f-b43e-4464d63e9e4d"] .rdrDayPassive .rdrDayStartPreview,[data-spr-block-parent-id="5a89fe04-9d0e-4b9f-b43e-4464d63e9e4d"] .rdrDayPassive .rdrEndEdge,[data-spr-block-parent-id="5a89fe04-9d0e-4b9f-b43e-4464d63e9e4d"] .rdrDayPassive .rdrInRange,[data-spr-block-parent-id="5a89fe04-9d0e-4b9f-b43e-4464d63e9e4d"] .rdrDayPassive .rdrSelected,[data-spr-block-parent-id="5a89fe04-9d0e-4b9f-b43e-4464d63e9e4d"] .rdrDayPassive .rdrStartEdge{display:none}[data-spr-block-parent-id="5a89fe04-9d0e-4b9f-b43e-4464d63e9e4d"] .month-year-header{align-items:center;color:#383b3d;font-size:16px;font-weight:400;line-height:24px;list-style-type:none;margin:0;padding:12px 0 0;transition:color .3s}[data-spr-block-parent-id="5a89fe04-9d0e-4b9f-b43e-4464d63e9e4d"] .month-year-header,[data-spr-block-parent-id="5a89fe04-9d0e-4b9f-b43e-4464d63e9e4d"] .month-year-header>li{display:flex;justify-content:space-between}[data-spr-block-parent-id="5a89fe04-9d0e-4b9f-b43e-4464d63e9e4d"] .month-year-header>li,[data-spr-block-parent-id="5a89fe04-9d0e-4b9f-b43e-4464d63e9e4d"] .month-year-header>li>i{cursor:pointer}[data-spr-block-parent-id="5a89fe04-9d0e-4b9f-b43e-4464d63e9e4d"] .month-year-header>li>i:hover{color:#36393b}[data-spr-block-parent-id="5a89fe04-9d0e-4b9f-b43e-4464d63e9e4d"] .month-year-header>li>i:first-child{margin-right:10px}@media(max-width:576px){[data-spr-block-parent-id="5a89fe04-9d0e-4b9f-b43e-4464d63e9e4d"] .date-picker-popover{left:50%!important;max-height:100vh;max-width:100vw!important;min-width:auto!important;overflow:auto;top:50%!important;transform:translateX(-50%) translateY(-50%)!important;width:auto!important}[data-spr-block-parent-id="5a89fe04-9d0e-4b9f-b43e-4464d63e9e4d"] .rdrMonths{display:initial;justify-content:normal}}[data-spr-block-parent-id="5a89fe04-9d0e-4b9f-b43e-4464d63e9e4d"] .time-picker-holder{display:flex;margin:0;padding:0;width:100%}[data-spr-block-parent-id="5a89fe04-9d0e-4b9f-b43e-4464d63e9e4d"] .time-picker-holder>li{max-height:242px;overflow-x:hidden;overflow-y:auto;padding:6px 0;width:50%}[data-spr-block-parent-id="5a89fe04-9d0e-4b9f-b43e-4464d63e9e4d"] .time-picker-holder>li+li{border-left:1px solid #ececf1}[data-spr-block-parent-id="5a89fe04-9d0e-4b9f-b43e-4464d63e9e4d"] .time-picker-item{align-items:center;cursor:pointer;display:flex;font-size:12px;justify-content:center;transition:background .4s,color .4s;width:100%}[data-spr-block-parent-id="5a89fe04-9d0e-4b9f-b43e-4464d63e9e4d"] .time-picker-item:hover{background:#f2f3f6}[data-spr-block-parent-id="5a89fe04-9d0e-4b9f-b43e-4464d63e9e4d"] .time-picker-item.active{font-weight:600;pointer-events:none}@media screen and (max-width:1199px){[data-spr-block-parent-id="5a89fe04-9d0e-4b9f-b43e-4464d63e9e4d"] .date-time-picker-holder .MuiInputBase-adornedEnd,[data-spr-block-parent-id="5a89fe04-9d0e-4b9f-b43e-4464d63e9e4d"] .date-time-picker-holder .MuiInputBase-inputAdornedEnd{padding-right:0}[data-spr-block-parent-id="5a89fe04-9d0e-4b9f-b43e-4464d63e9e4d"] .date-time-picker-holder .MuiInputAdornment-root{margin-left:0}[data-spr-block-parent-id="5a89fe04-9d0e-4b9f-b43e-4464d63e9e4d"] .date-time-picker-holder .clear-time-btn{padding-right:8px}[data-spr-block-parent-id="5a89fe04-9d0e-4b9f-b43e-4464d63e9e4d"] .date-time-picker-holder .clear-time-btn>button{padding:8px}}@media screen and (max-width:768px){[data-spr-block-parent-id="5a89fe04-9d0e-4b9f-b43e-4464d63e9e4d"] .date-time-picker-holder .MuiInputBase-adornedEnd,[data-spr-block-parent-id="5a89fe04-9d0e-4b9f-b43e-4464d63e9e4d"] .date-time-picker-holder .MuiInputBase-inputAdornedEnd{padding-left:5px}[data-spr-block-parent-id="5a89fe04-9d0e-4b9f-b43e-4464d63e9e4d"] .date-time-picker-holder .MuiInputAdornment-root{margin-left:0}[data-spr-block-parent-id="5a89fe04-9d0e-4b9f-b43e-4464d63e9e4d"] .date-time-picker-holder .clear-time-btn{padding-right:5px}[data-spr-block-parent-id="5a89fe04-9d0e-4b9f-b43e-4464d63e9e4d"] .date-time-picker-holder .clear-time-btn>button{padding:3px}}[data-spr-block-parent-id="5a89fe04-9d0e-4b9f-b43e-4464d63e9e4d"] .file-holder>ul{display:flex;flex-direction:column;margin:0;padding:4px 0 0}[data-spr-block-parent-id="5a89fe04-9d0e-4b9f-b43e-4464d63e9e4d"] .file-holder>ul>li{align-items:center;background:#f5f5f5;border-radius:8px;color:#616161;display:flex;font-size:12px;font-weight:400;justify-content:space-between;line-height:18px;padding:3px 8px}[data-spr-block-parent-id="5a89fe04-9d0e-4b9f-b43e-4464d63e9e4d"] .file-holder>ul>li>i[class*=trash]{transition:transform .3s,color .3s}[data-spr-block-parent-id="5a89fe04-9d0e-4b9f-b43e-4464d63e9e4d"] .file-holder>ul>li>i[class*=trash]:hover{color:#ff5630;transform:scale(1.2)}[data-spr-block-parent-id="5a89fe04-9d0e-4b9f-b43e-4464d63e9e4d"] .file-holder>ul>li:not(:last-child){margin-bottom:4px}[data-spr-block-parent-id="5a89fe04-9d0e-4b9f-b43e-4464d63e9e4d"] .file-holder>ul .url{cursor:pointer;transition:box-shadow .3s}[data-spr-block-parent-id="5a89fe04-9d0e-4b9f-b43e-4464d63e9e4d"] .file-holder>ul .url:hover{box-shadow:0 4px 8px rgba(33,33,33,.04),0 0 6px rgba(33,33,33,.04)}[data-spr-block-parent-id="5a89fe04-9d0e-4b9f-b43e-4464d63e9e4d"] .gallery-container{border:none!important;display:flex}[data-spr-block-parent-id="5a89fe04-9d0e-4b9f-b43e-4464d63e9e4d"] .centered-position{left:50%;position:relative;top:50%;transform:translate(-50%,-50%)}[data-spr-block-parent-id="5a89fe04-9d0e-4b9f-b43e-4464d63e9e4d"] div.carousel>div{height:100%!important}[data-spr-block-parent-id="5a89fe04-9d0e-4b9f-b43e-4464d63e9e4d"] .carousel img{cursor:pointer}[data-spr-block-parent-id="5a89fe04-9d0e-4b9f-b43e-4464d63e9e4d"] .carousel * div,[data-spr-block-parent-id="5a89fe04-9d0e-4b9f-b43e-4464d63e9e4d"] .carousel img{height:inherit}[data-spr-block-parent-id="5a89fe04-9d0e-4b9f-b43e-4464d63e9e4d"] .carousel>div:last-of-type .line{background-color:#9e9e9e;border-radius:8px;height:3px;margin:0 8px;opacity:.9;transition:all .3s;width:30px}[data-spr-block-parent-id="5a89fe04-9d0e-4b9f-b43e-4464d63e9e4d"] .carousel>div:last-of-type .line:hover{background-color:#f6c944;transform:scale(1.1)}[data-spr-block-parent-id="5a89fe04-9d0e-4b9f-b43e-4464d63e9e4d"] .carousel>div:last-of-type button:focus{outline:none}[data-spr-block-parent-id="5a89fe04-9d0e-4b9f-b43e-4464d63e9e4d"] .carousel>div:last-of-type .active .line{background-color:#f6c944}[data-spr-block-parent-id="5a89fe04-9d0e-4b9f-b43e-4464d63e9e4d"] .gallery-item img{cursor:pointer;height:inherit;-o-object-fit:cover;object-fit:cover}[data-spr-block-parent-id="5a89fe04-9d0e-4b9f-b43e-4464d63e9e4d"] .gallery-item{width:800px}[data-spr-block-parent-id="5a89fe04-9d0e-4b9f-b43e-4464d63e9e4d"] .gallery-item>div:last-of-type .line{background-color:#9e9e9e;border-radius:8px;height:3px;margin:0 8px;opacity:.9;transition:all .3s;width:30px}[data-spr-block-parent-id="5a89fe04-9d0e-4b9f-b43e-4464d63e9e4d"] .gallery-item * div{height:inherit}[data-spr-block-parent-id="5a89fe04-9d0e-4b9f-b43e-4464d63e9e4d"] .gallery-item>div:last-of-type .line:hover{background-color:#f6c944;transform:scale(1.1)}[data-spr-block-parent-id="5a89fe04-9d0e-4b9f-b43e-4464d63e9e4d"] .gallery-item>div:last-of-type button:focus{outline:none}[data-spr-block-parent-id="5a89fe04-9d0e-4b9f-b43e-4464d63e9e4d"] .gallery-item>div:last-of-type .active .line{background-color:#f6c944}[data-spr-block-parent-id="5a89fe04-9d0e-4b9f-b43e-4464d63e9e4d"] .image-holder>ul{display:flex;flex-direction:column;margin:0;padding:4px 0 0}[data-spr-block-parent-id="5a89fe04-9d0e-4b9f-b43e-4464d63e9e4d"] .image-holder>ul>li{align-items:center;background:#f5f5f5;border-radius:8px;color:#616161;display:flex;font-size:12px;font-weight:400;justify-content:space-between;line-height:18px;padding:3px 8px}[data-spr-block-parent-id="5a89fe04-9d0e-4b9f-b43e-4464d63e9e4d"] .image-holder>ul>li>i[class*=trash]{transition:transform .3s,color .3s}[data-spr-block-parent-id="5a89fe04-9d0e-4b9f-b43e-4464d63e9e4d"] .image-holder>ul>li>i[class*=trash]:hover{color:#ff5630;transform:scale(1.2)}[data-spr-block-parent-id="5a89fe04-9d0e-4b9f-b43e-4464d63e9e4d"] .image-holder>ul>li:not(:last-child){margin-bottom:4px}[data-spr-block-parent-id="5a89fe04-9d0e-4b9f-b43e-4464d63e9e4d"] .image-holder>ul .url{cursor:pointer;transition:box-shadow .3s}[data-spr-block-parent-id="5a89fe04-9d0e-4b9f-b43e-4464d63e9e4d"] .image-holder>ul .url:hover{box-shadow:0 4px 8px rgba(33,33,33,.04),0 0 6px rgba(33,33,33,.04)}[data-spr-block-parent-id="5a89fe04-9d0e-4b9f-b43e-4464d63e9e4d"] .image-view-part .delete-file{display:none}[data-spr-block-parent-id="5a89fe04-9d0e-4b9f-b43e-4464d63e9e4d"] .image-view-part:hover .delete-file{display:block}[data-spr-block-parent-id="5a89fe04-9d0e-4b9f-b43e-4464d63e9e4d"] .iti{display:inline-block;position:relative}[data-spr-block-parent-id="5a89fe04-9d0e-4b9f-b43e-4464d63e9e4d"] .iti *{box-sizing:border-box;-moz-box-sizing:border-box}[data-spr-block-parent-id="5a89fe04-9d0e-4b9f-b43e-4464d63e9e4d"] .iti__hide{display:none}[data-spr-block-parent-id="5a89fe04-9d0e-4b9f-b43e-4464d63e9e4d"] .iti__v-hide{visibility:hidden}[data-spr-block-parent-id="5a89fe04-9d0e-4b9f-b43e-4464d63e9e4d"] .iti input,[data-spr-block-parent-id="5a89fe04-9d0e-4b9f-b43e-4464d63e9e4d"] .iti input[type=tel],[data-spr-block-parent-id="5a89fe04-9d0e-4b9f-b43e-4464d63e9e4d"] .iti input[type=text]{margin-bottom:0!important;margin-right:0;margin-top:0!important;padding-right:36px;position:relative;z-index:0}[data-spr-block-parent-id="5a89fe04-9d0e-4b9f-b43e-4464d63e9e4d"] .iti__flag-container{bottom:0;padding:1px;position:absolute;right:0;top:0}[data-spr-block-parent-id="5a89fe04-9d0e-4b9f-b43e-4464d63e9e4d"] .iti__selected-flag{align-items:center;display:flex;height:100%;padding:0 6px 0 8px;position:relative;z-index:1}[data-spr-block-parent-id="5a89fe04-9d0e-4b9f-b43e-4464d63e9e4d"] .iti__arrow{border-left:3px solid transparent;border-right:3px solid transparent;border-top:4px solid #555;height:0;margin-left:6px;width:0}[data-spr-block-parent-id="5a89fe04-9d0e-4b9f-b43e-4464d63e9e4d"] .iti__arrow--up{border-bottom:4px solid #555;border-top:none}[data-spr-block-parent-id="5a89fe04-9d0e-4b9f-b43e-4464d63e9e4d"] .iti__country-list{-webkit-overflow-scrolling:touch;background-color:#fff;border:1px solid #ccc;box-shadow:1px 1px 4px rgba(0,0,0,.2);list-style:none;margin:0 0 0 -1px;max-height:200px;overflow-y:scroll;padding:0;position:absolute;text-align:left;white-space:nowrap;z-index:2}[data-spr-block-parent-id="5a89fe04-9d0e-4b9f-b43e-4464d63e9e4d"] .iti__country-list--dropup{bottom:100%;margin-bottom:-1px}@media(max-width:500px){[data-spr-block-parent-id="5a89fe04-9d0e-4b9f-b43e-4464d63e9e4d"] .iti__country-list{white-space:normal}}[data-spr-block-parent-id="5a89fe04-9d0e-4b9f-b43e-4464d63e9e4d"] .iti__flag-box{display:inline-block;width:20px}[data-spr-block-parent-id="5a89fe04-9d0e-4b9f-b43e-4464d63e9e4d"] .iti__divider{border-bottom:1px solid #ccc;margin-bottom:5px;padding-bottom:5px}[data-spr-block-parent-id="5a89fe04-9d0e-4b9f-b43e-4464d63e9e4d"] .iti__country{outline:none;padding:5px 10px}[data-spr-block-parent-id="5a89fe04-9d0e-4b9f-b43e-4464d63e9e4d"] .iti__dial-code{color:#999}[data-spr-block-parent-id="5a89fe04-9d0e-4b9f-b43e-4464d63e9e4d"] .iti__country.iti__highlight{background-color:rgba(0,0,0,.05)}[data-spr-block-parent-id="5a89fe04-9d0e-4b9f-b43e-4464d63e9e4d"] .iti__country-name,[data-spr-block-parent-id="5a89fe04-9d0e-4b9f-b43e-4464d63e9e4d"] .iti__dial-code,[data-spr-block-parent-id="5a89fe04-9d0e-4b9f-b43e-4464d63e9e4d"] .iti__flag-box{vertical-align:middle}[data-spr-block-parent-id="5a89fe04-9d0e-4b9f-b43e-4464d63e9e4d"] .iti__country-name,[data-spr-block-parent-id="5a89fe04-9d0e-4b9f-b43e-4464d63e9e4d"] .iti__flag-box{margin-right:6px}[data-spr-block-parent-id="5a89fe04-9d0e-4b9f-b43e-4464d63e9e4d"] .iti--allow-dropdown input,[data-spr-block-parent-id="5a89fe04-9d0e-4b9f-b43e-4464d63e9e4d"] .iti--allow-dropdown input[type=tel],[data-spr-block-parent-id="5a89fe04-9d0e-4b9f-b43e-4464d63e9e4d"] .iti--allow-dropdown input[type=text],[data-spr-block-parent-id="5a89fe04-9d0e-4b9f-b43e-4464d63e9e4d"] .iti--separate-dial-code input,[data-spr-block-parent-id="5a89fe04-9d0e-4b9f-b43e-4464d63e9e4d"] .iti--separate-dial-code input[type=tel],[data-spr-block-parent-id="5a89fe04-9d0e-4b9f-b43e-4464d63e9e4d"] .iti--separate-dial-code input[type=text]{margin-left:0;padding-left:52px;padding-right:6px}[data-spr-block-parent-id="5a89fe04-9d0e-4b9f-b43e-4464d63e9e4d"] .iti--allow-dropdown .iti__flag-container,[data-spr-block-parent-id="5a89fe04-9d0e-4b9f-b43e-4464d63e9e4d"] .iti--separate-dial-code .iti__flag-container{left:0;right:auto}[data-spr-block-parent-id="5a89fe04-9d0e-4b9f-b43e-4464d63e9e4d"] .iti--allow-dropdown .iti__flag-container:hover{cursor:pointer}[data-spr-block-parent-id="5a89fe04-9d0e-4b9f-b43e-4464d63e9e4d"] .iti--allow-dropdown .iti__flag-container:hover .iti__selected-flag{background-color:rgba(0,0,0,.05)}[data-spr-block-parent-id="5a89fe04-9d0e-4b9f-b43e-4464d63e9e4d"] .iti--allow-dropdown input[disabled]+.iti__flag-container:hover,[data-spr-block-parent-id="5a89fe04-9d0e-4b9f-b43e-4464d63e9e4d"] .iti--allow-dropdown input[readonly]+.iti__flag-container:hover{cursor:default}[data-spr-block-parent-id="5a89fe04-9d0e-4b9f-b43e-4464d63e9e4d"] .iti--allow-dropdown input[disabled]+.iti__flag-container:hover .iti__selected-flag,[data-spr-block-parent-id="5a89fe04-9d0e-4b9f-b43e-4464d63e9e4d"] .iti--allow-dropdown input[readonly]+.iti__flag-container:hover .iti__selected-flag{background-color:transparent}[data-spr-block-parent-id="5a89fe04-9d0e-4b9f-b43e-4464d63e9e4d"] .iti--separate-dial-code .iti__selected-flag{background-color:rgba(0,0,0,.05)}[data-spr-block-parent-id="5a89fe04-9d0e-4b9f-b43e-4464d63e9e4d"] .iti--separate-dial-code .iti__selected-dial-code{margin-left:6px}[data-spr-block-parent-id="5a89fe04-9d0e-4b9f-b43e-4464d63e9e4d"] .iti--container{left:-1000px;padding:1px;position:absolute;top:-1000px;z-index:1060}[data-spr-block-parent-id="5a89fe04-9d0e-4b9f-b43e-4464d63e9e4d"] .iti--container:hover{cursor:pointer}[data-spr-block-parent-id="5a89fe04-9d0e-4b9f-b43e-4464d63e9e4d"] .iti-mobile .iti--container{bottom:30px;left:30px;position:fixed;right:30px;top:30px}[data-spr-block-parent-id="5a89fe04-9d0e-4b9f-b43e-4464d63e9e4d"] .iti-mobile .iti__country-list{max-height:100%;width:100%}[data-spr-block-parent-id="5a89fe04-9d0e-4b9f-b43e-4464d63e9e4d"] .iti-mobile .iti__country{line-height:1.5em;padding:10px}[data-spr-block-parent-id="5a89fe04-9d0e-4b9f-b43e-4464d63e9e4d"] .iti__flag{width:20px}[data-spr-block-parent-id="5a89fe04-9d0e-4b9f-b43e-4464d63e9e4d"] .iti__flag.iti__be{width:18px}[data-spr-block-parent-id="5a89fe04-9d0e-4b9f-b43e-4464d63e9e4d"] .iti__flag.iti__ch{width:15px}[data-spr-block-parent-id="5a89fe04-9d0e-4b9f-b43e-4464d63e9e4d"] .iti__flag.iti__mc{width:19px}[data-spr-block-parent-id="5a89fe04-9d0e-4b9f-b43e-4464d63e9e4d"] .iti__flag.iti__ne{width:18px}[data-spr-block-parent-id="5a89fe04-9d0e-4b9f-b43e-4464d63e9e4d"] .iti__flag.iti__np{width:13px}[data-spr-block-parent-id="5a89fe04-9d0e-4b9f-b43e-4464d63e9e4d"] .iti__flag.iti__va{width:15px}@media(-webkit-min-device-pixel-ratio:2),(min-resolution:192dpi){[data-spr-block-parent-id="5a89fe04-9d0e-4b9f-b43e-4464d63e9e4d"] .iti__flag{background-size:5652px 15px}}[data-spr-block-parent-id="5a89fe04-9d0e-4b9f-b43e-4464d63e9e4d"] .iti__flag.iti__ac{background-position:0 0;height:10px}[data-spr-block-parent-id="5a89fe04-9d0e-4b9f-b43e-4464d63e9e4d"] .iti__flag.iti__ad{background-position:-22px 0;height:14px}[data-spr-block-parent-id="5a89fe04-9d0e-4b9f-b43e-4464d63e9e4d"] .iti__flag.iti__ae{background-position:-44px 0;height:10px}[data-spr-block-parent-id="5a89fe04-9d0e-4b9f-b43e-4464d63e9e4d"] .iti__flag.iti__af{background-position:-66px 0;height:14px}[data-spr-block-parent-id="5a89fe04-9d0e-4b9f-b43e-4464d63e9e4d"] .iti__flag.iti__ag{background-position:-88px 0;height:14px}[data-spr-block-parent-id="5a89fe04-9d0e-4b9f-b43e-4464d63e9e4d"] .iti__flag.iti__ai{background-position:-110px 0;height:10px}[data-spr-block-parent-id="5a89fe04-9d0e-4b9f-b43e-4464d63e9e4d"] .iti__flag.iti__al{background-position:-132px 0;height:15px}[data-spr-block-parent-id="5a89fe04-9d0e-4b9f-b43e-4464d63e9e4d"] .iti__flag.iti__am{background-position:-154px 0;height:10px}[data-spr-block-parent-id="5a89fe04-9d0e-4b9f-b43e-4464d63e9e4d"] .iti__flag.iti__ao{background-position:-176px 0;height:14px}[data-spr-block-parent-id="5a89fe04-9d0e-4b9f-b43e-4464d63e9e4d"] .iti__flag.iti__aq{background-position:-198px 0;height:14px}[data-spr-block-parent-id="5a89fe04-9d0e-4b9f-b43e-4464d63e9e4d"] .iti__flag.iti__ar{background-position:-220px 0;height:13px}[data-spr-block-parent-id="5a89fe04-9d0e-4b9f-b43e-4464d63e9e4d"] .iti__flag.iti__as{background-position:-242px 0;height:10px}[data-spr-block-parent-id="5a89fe04-9d0e-4b9f-b43e-4464d63e9e4d"] .iti__flag.iti__at{background-position:-264px 0;height:14px}[data-spr-block-parent-id="5a89fe04-9d0e-4b9f-b43e-4464d63e9e4d"] .iti__flag.iti__au{background-position:-286px 0;height:10px}[data-spr-block-parent-id="5a89fe04-9d0e-4b9f-b43e-4464d63e9e4d"] .iti__flag.iti__aw{background-position:-308px 0;height:14px}[data-spr-block-parent-id="5a89fe04-9d0e-4b9f-b43e-4464d63e9e4d"] .iti__flag.iti__ax{background-position:-330px 0;height:13px}[data-spr-block-parent-id="5a89fe04-9d0e-4b9f-b43e-4464d63e9e4d"] .iti__flag.iti__az{background-position:-352px 0;height:10px}[data-spr-block-parent-id="5a89fe04-9d0e-4b9f-b43e-4464d63e9e4d"] .iti__flag.iti__ba{background-position:-374px 0;height:10px}[data-spr-block-parent-id="5a89fe04-9d0e-4b9f-b43e-4464d63e9e4d"] .iti__flag.iti__bb{background-position:-396px 0;height:14px}[data-spr-block-parent-id="5a89fe04-9d0e-4b9f-b43e-4464d63e9e4d"] .iti__flag.iti__bd{background-position:-418px 0;height:12px}[data-spr-block-parent-id="5a89fe04-9d0e-4b9f-b43e-4464d63e9e4d"] .iti__flag.iti__be{background-position:-440px 0;height:15px}[data-spr-block-parent-id="5a89fe04-9d0e-4b9f-b43e-4464d63e9e4d"] .iti__flag.iti__bf{background-position:-460px 0;height:14px}[data-spr-block-parent-id="5a89fe04-9d0e-4b9f-b43e-4464d63e9e4d"] .iti__flag.iti__bg{background-position:-482px 0;height:12px}[data-spr-block-parent-id="5a89fe04-9d0e-4b9f-b43e-4464d63e9e4d"] .iti__flag.iti__bh{background-position:-504px 0;height:12px}[data-spr-block-parent-id="5a89fe04-9d0e-4b9f-b43e-4464d63e9e4d"] .iti__flag.iti__bi{background-position:-526px 0;height:12px}[data-spr-block-parent-id="5a89fe04-9d0e-4b9f-b43e-4464d63e9e4d"] .iti__flag.iti__bj{background-position:-548px 0;height:14px}[data-spr-block-parent-id="5a89fe04-9d0e-4b9f-b43e-4464d63e9e4d"] .iti__flag.iti__bl{background-position:-570px 0;height:14px}[data-spr-block-parent-id="5a89fe04-9d0e-4b9f-b43e-4464d63e9e4d"] .iti__flag.iti__bm{background-position:-592px 0;height:10px}[data-spr-block-parent-id="5a89fe04-9d0e-4b9f-b43e-4464d63e9e4d"] .iti__flag.iti__bn{background-position:-614px 0;height:10px}[data-spr-block-parent-id="5a89fe04-9d0e-4b9f-b43e-4464d63e9e4d"] .iti__flag.iti__bo{background-position:-636px 0;height:14px}[data-spr-block-parent-id="5a89fe04-9d0e-4b9f-b43e-4464d63e9e4d"] .iti__flag.iti__bq{background-position:-658px 0;height:14px}[data-spr-block-parent-id="5a89fe04-9d0e-4b9f-b43e-4464d63e9e4d"] .iti__flag.iti__br{background-position:-680px 0;height:14px}[data-spr-block-parent-id="5a89fe04-9d0e-4b9f-b43e-4464d63e9e4d"] .iti__flag.iti__bs{background-position:-702px 0;height:10px}[data-spr-block-parent-id="5a89fe04-9d0e-4b9f-b43e-4464d63e9e4d"] .iti__flag.iti__bt{background-position:-724px 0;height:14px}[data-spr-block-parent-id="5a89fe04-9d0e-4b9f-b43e-4464d63e9e4d"] .iti__flag.iti__bv{background-position:-746px 0;height:15px}[data-spr-block-parent-id="5a89fe04-9d0e-4b9f-b43e-4464d63e9e4d"] .iti__flag.iti__bw{background-position:-768px 0;height:14px}[data-spr-block-parent-id="5a89fe04-9d0e-4b9f-b43e-4464d63e9e4d"] .iti__flag.iti__by{background-position:-790px 0;height:10px}[data-spr-block-parent-id="5a89fe04-9d0e-4b9f-b43e-4464d63e9e4d"] .iti__flag.iti__bz{background-position:-812px 0;height:14px}[data-spr-block-parent-id="5a89fe04-9d0e-4b9f-b43e-4464d63e9e4d"] .iti__flag.iti__ca{background-position:-834px 0;height:10px}[data-spr-block-parent-id="5a89fe04-9d0e-4b9f-b43e-4464d63e9e4d"] .iti__flag.iti__cc{background-position:-856px 0;height:10px}[data-spr-block-parent-id="5a89fe04-9d0e-4b9f-b43e-4464d63e9e4d"] .iti__flag.iti__cd{background-position:-878px 0;height:15px}[data-spr-block-parent-id="5a89fe04-9d0e-4b9f-b43e-4464d63e9e4d"] .iti__flag.iti__cf{background-position:-900px 0;height:14px}[data-spr-block-parent-id="5a89fe04-9d0e-4b9f-b43e-4464d63e9e4d"] .iti__flag.iti__cg{background-position:-922px 0;height:14px}[data-spr-block-parent-id="5a89fe04-9d0e-4b9f-b43e-4464d63e9e4d"] .iti__flag.iti__ch{background-position:-944px 0;height:15px}[data-spr-block-parent-id="5a89fe04-9d0e-4b9f-b43e-4464d63e9e4d"] .iti__flag.iti__ci{background-position:-961px 0;height:14px}[data-spr-block-parent-id="5a89fe04-9d0e-4b9f-b43e-4464d63e9e4d"] .iti__flag.iti__ck{background-position:-983px 0;height:10px}[data-spr-block-parent-id="5a89fe04-9d0e-4b9f-b43e-4464d63e9e4d"] .iti__flag.iti__cl{background-position:-1005px 0;height:14px}[data-spr-block-parent-id="5a89fe04-9d0e-4b9f-b43e-4464d63e9e4d"] .iti__flag.iti__cm{background-position:-1027px 0;height:14px}[data-spr-block-parent-id="5a89fe04-9d0e-4b9f-b43e-4464d63e9e4d"] .iti__flag.iti__cn{background-position:-1049px 0;height:14px}[data-spr-block-parent-id="5a89fe04-9d0e-4b9f-b43e-4464d63e9e4d"] .iti__flag.iti__co{background-position:-1071px 0;height:14px}[data-spr-block-parent-id="5a89fe04-9d0e-4b9f-b43e-4464d63e9e4d"] .iti__flag.iti__cp{background-position:-1093px 0;height:14px}[data-spr-block-parent-id="5a89fe04-9d0e-4b9f-b43e-4464d63e9e4d"] .iti__flag.iti__cr{background-position:-1115px 0;height:12px}[data-spr-block-parent-id="5a89fe04-9d0e-4b9f-b43e-4464d63e9e4d"] .iti__flag.iti__cu{background-position:-1137px 0;height:10px}[data-spr-block-parent-id="5a89fe04-9d0e-4b9f-b43e-4464d63e9e4d"] .iti__flag.iti__cv{background-position:-1159px 0;height:12px}[data-spr-block-parent-id="5a89fe04-9d0e-4b9f-b43e-4464d63e9e4d"] .iti__flag.iti__cw{background-position:-1181px 0;height:14px}[data-spr-block-parent-id="5a89fe04-9d0e-4b9f-b43e-4464d63e9e4d"] .iti__flag.iti__cx{background-position:-1203px 0;height:10px}[data-spr-block-parent-id="5a89fe04-9d0e-4b9f-b43e-4464d63e9e4d"] .iti__flag.iti__cy{background-position:-1225px 0;height:14px}[data-spr-block-parent-id="5a89fe04-9d0e-4b9f-b43e-4464d63e9e4d"] .iti__flag.iti__cz{background-position:-1247px 0;height:14px}[data-spr-block-parent-id="5a89fe04-9d0e-4b9f-b43e-4464d63e9e4d"] .iti__flag.iti__de{background-position:-1269px 0;height:12px}[data-spr-block-parent-id="5a89fe04-9d0e-4b9f-b43e-4464d63e9e4d"] .iti__flag.iti__dg{background-position:-1291px 0;height:10px}[data-spr-block-parent-id="5a89fe04-9d0e-4b9f-b43e-4464d63e9e4d"] .iti__flag.iti__dj{background-position:-1313px 0;height:14px}[data-spr-block-parent-id="5a89fe04-9d0e-4b9f-b43e-4464d63e9e4d"] .iti__flag.iti__dk{background-position:-1335px 0;height:15px}[data-spr-block-parent-id="5a89fe04-9d0e-4b9f-b43e-4464d63e9e4d"] .iti__flag.iti__dm{background-position:-1357px 0;height:10px}[data-spr-block-parent-id="5a89fe04-9d0e-4b9f-b43e-4464d63e9e4d"] .iti__flag.iti__do{background-position:-1379px 0;height:14px}[data-spr-block-parent-id="5a89fe04-9d0e-4b9f-b43e-4464d63e9e4d"] .iti__flag.iti__dz{background-position:-1401px 0;height:14px}[data-spr-block-parent-id="5a89fe04-9d0e-4b9f-b43e-4464d63e9e4d"] .iti__flag.iti__ea{background-position:-1423px 0;height:14px}[data-spr-block-parent-id="5a89fe04-9d0e-4b9f-b43e-4464d63e9e4d"] .iti__flag.iti__ec{background-position:-1445px 0;height:14px}[data-spr-block-parent-id="5a89fe04-9d0e-4b9f-b43e-4464d63e9e4d"] .iti__flag.iti__ee{background-position:-1467px 0;height:13px}[data-spr-block-parent-id="5a89fe04-9d0e-4b9f-b43e-4464d63e9e4d"] .iti__flag.iti__eg{background-position:-1489px 0;height:14px}[data-spr-block-parent-id="5a89fe04-9d0e-4b9f-b43e-4464d63e9e4d"] .iti__flag.iti__eh{background-position:-1511px 0;height:10px}[data-spr-block-parent-id="5a89fe04-9d0e-4b9f-b43e-4464d63e9e4d"] .iti__flag.iti__er{background-position:-1533px 0;height:10px}[data-spr-block-parent-id="5a89fe04-9d0e-4b9f-b43e-4464d63e9e4d"] .iti__flag.iti__es{background-position:-1555px 0;height:14px}[data-spr-block-parent-id="5a89fe04-9d0e-4b9f-b43e-4464d63e9e4d"] .iti__flag.iti__et{background-position:-1577px 0;height:10px}[data-spr-block-parent-id="5a89fe04-9d0e-4b9f-b43e-4464d63e9e4d"] .iti__flag.iti__eu{background-position:-1599px 0;height:14px}[data-spr-block-parent-id="5a89fe04-9d0e-4b9f-b43e-4464d63e9e4d"] .iti__flag.iti__fi{background-position:-1621px 0;height:12px}[data-spr-block-parent-id="5a89fe04-9d0e-4b9f-b43e-4464d63e9e4d"] .iti__flag.iti__fj{background-position:-1643px 0;height:10px}[data-spr-block-parent-id="5a89fe04-9d0e-4b9f-b43e-4464d63e9e4d"] .iti__flag.iti__fk{background-position:-1665px 0;height:10px}[data-spr-block-parent-id="5a89fe04-9d0e-4b9f-b43e-4464d63e9e4d"] .iti__flag.iti__fm{background-position:-1687px 0;height:11px}[data-spr-block-parent-id="5a89fe04-9d0e-4b9f-b43e-4464d63e9e4d"] .iti__flag.iti__fo{background-position:-1709px 0;height:15px}[data-spr-block-parent-id="5a89fe04-9d0e-4b9f-b43e-4464d63e9e4d"] .iti__flag.iti__fr{background-position:-1731px 0;height:14px}[data-spr-block-parent-id="5a89fe04-9d0e-4b9f-b43e-4464d63e9e4d"] .iti__flag.iti__ga{background-position:-1753px 0;height:15px}[data-spr-block-parent-id="5a89fe04-9d0e-4b9f-b43e-4464d63e9e4d"] .iti__flag.iti__gb{background-position:-1775px 0;height:10px}[data-spr-block-parent-id="5a89fe04-9d0e-4b9f-b43e-4464d63e9e4d"] .iti__flag.iti__gd{background-position:-1797px 0;height:12px}[data-spr-block-parent-id="5a89fe04-9d0e-4b9f-b43e-4464d63e9e4d"] .iti__flag.iti__ge{background-position:-1819px 0;height:14px}[data-spr-block-parent-id="5a89fe04-9d0e-4b9f-b43e-4464d63e9e4d"] .iti__flag.iti__gf{background-position:-1841px 0;height:14px}[data-spr-block-parent-id="5a89fe04-9d0e-4b9f-b43e-4464d63e9e4d"] .iti__flag.iti__gg{background-position:-1863px 0;height:14px}[data-spr-block-parent-id="5a89fe04-9d0e-4b9f-b43e-4464d63e9e4d"] .iti__flag.iti__gh{background-position:-1885px 0;height:14px}[data-spr-block-parent-id="5a89fe04-9d0e-4b9f-b43e-4464d63e9e4d"] .iti__flag.iti__gi{background-position:-1907px 0;height:10px}[data-spr-block-parent-id="5a89fe04-9d0e-4b9f-b43e-4464d63e9e4d"] .iti__flag.iti__gl{background-position:-1929px 0;height:14px}[data-spr-block-parent-id="5a89fe04-9d0e-4b9f-b43e-4464d63e9e4d"] .iti__flag.iti__gm{background-position:-1951px 0;height:14px}[data-spr-block-parent-id="5a89fe04-9d0e-4b9f-b43e-4464d63e9e4d"] .iti__flag.iti__gn{background-position:-1973px 0;height:14px}[data-spr-block-parent-id="5a89fe04-9d0e-4b9f-b43e-4464d63e9e4d"] .iti__flag.iti__gp{background-position:-1995px 0;height:14px}[data-spr-block-parent-id="5a89fe04-9d0e-4b9f-b43e-4464d63e9e4d"] .iti__flag.iti__gq{background-position:-2017px 0;height:14px}[data-spr-block-parent-id="5a89fe04-9d0e-4b9f-b43e-4464d63e9e4d"] .iti__flag.iti__gr{background-position:-2039px 0;height:14px}[data-spr-block-parent-id="5a89fe04-9d0e-4b9f-b43e-4464d63e9e4d"] .iti__flag.iti__gs{background-position:-2061px 0;height:10px}[data-spr-block-parent-id="5a89fe04-9d0e-4b9f-b43e-4464d63e9e4d"] .iti__flag.iti__gt{background-position:-2083px 0;height:13px}[data-spr-block-parent-id="5a89fe04-9d0e-4b9f-b43e-4464d63e9e4d"] .iti__flag.iti__gu{background-position:-2105px 0;height:11px}[data-spr-block-parent-id="5a89fe04-9d0e-4b9f-b43e-4464d63e9e4d"] .iti__flag.iti__gw{background-position:-2127px 0;height:10px}[data-spr-block-parent-id="5a89fe04-9d0e-4b9f-b43e-4464d63e9e4d"] .iti__flag.iti__gy{background-position:-2149px 0;height:12px}[data-spr-block-parent-id="5a89fe04-9d0e-4b9f-b43e-4464d63e9e4d"] .iti__flag.iti__hk{background-position:-2171px 0;height:14px}[data-spr-block-parent-id="5a89fe04-9d0e-4b9f-b43e-4464d63e9e4d"] .iti__flag.iti__hm{background-position:-2193px 0;height:10px}[data-spr-block-parent-id="5a89fe04-9d0e-4b9f-b43e-4464d63e9e4d"] .iti__flag.iti__hn{background-position:-2215px 0;height:10px}[data-spr-block-parent-id="5a89fe04-9d0e-4b9f-b43e-4464d63e9e4d"] .iti__flag.iti__hr{background-position:-2237px 0;height:10px}[data-spr-block-parent-id="5a89fe04-9d0e-4b9f-b43e-4464d63e9e4d"] .iti__flag.iti__ht{background-position:-2259px 0;height:12px}[data-spr-block-parent-id="5a89fe04-9d0e-4b9f-b43e-4464d63e9e4d"] .iti__flag.iti__hu{background-position:-2281px 0;height:10px}[data-spr-block-parent-id="5a89fe04-9d0e-4b9f-b43e-4464d63e9e4d"] .iti__flag.iti__ic{background-position:-2303px 0;height:14px}[data-spr-block-parent-id="5a89fe04-9d0e-4b9f-b43e-4464d63e9e4d"] .iti__flag.iti__id{background-position:-2325px 0;height:14px}[data-spr-block-parent-id="5a89fe04-9d0e-4b9f-b43e-4464d63e9e4d"] .iti__flag.iti__ie{background-position:-2347px 0;height:10px}[data-spr-block-parent-id="5a89fe04-9d0e-4b9f-b43e-4464d63e9e4d"] .iti__flag.iti__il{background-position:-2369px 0;height:15px}[data-spr-block-parent-id="5a89fe04-9d0e-4b9f-b43e-4464d63e9e4d"] .iti__flag.iti__im{background-position:-2391px 0;height:10px}[data-spr-block-parent-id="5a89fe04-9d0e-4b9f-b43e-4464d63e9e4d"] .iti__flag.iti__in{background-position:-2413px 0;height:14px}[data-spr-block-parent-id="5a89fe04-9d0e-4b9f-b43e-4464d63e9e4d"] .iti__flag.iti__io{background-position:-2435px 0;height:10px}[data-spr-block-parent-id="5a89fe04-9d0e-4b9f-b43e-4464d63e9e4d"] .iti__flag.iti__iq{background-position:-2457px 0;height:14px}[data-spr-block-parent-id="5a89fe04-9d0e-4b9f-b43e-4464d63e9e4d"] .iti__flag.iti__ir{background-position:-2479px 0;height:12px}[data-spr-block-parent-id="5a89fe04-9d0e-4b9f-b43e-4464d63e9e4d"] .iti__flag.iti__is{background-position:-2501px 0;height:15px}[data-spr-block-parent-id="5a89fe04-9d0e-4b9f-b43e-4464d63e9e4d"] .iti__flag.iti__it{background-position:-2523px 0;height:14px}[data-spr-block-parent-id="5a89fe04-9d0e-4b9f-b43e-4464d63e9e4d"] .iti__flag.iti__je{background-position:-2545px 0;height:12px}[data-spr-block-parent-id="5a89fe04-9d0e-4b9f-b43e-4464d63e9e4d"] .iti__flag.iti__jm{background-position:-2567px 0;height:10px}[data-spr-block-parent-id="5a89fe04-9d0e-4b9f-b43e-4464d63e9e4d"] .iti__flag.iti__jo{background-position:-2589px 0;height:10px}[data-spr-block-parent-id="5a89fe04-9d0e-4b9f-b43e-4464d63e9e4d"] .iti__flag.iti__jp{background-position:-2611px 0;height:14px}[data-spr-block-parent-id="5a89fe04-9d0e-4b9f-b43e-4464d63e9e4d"] .iti__flag.iti__ke{background-position:-2633px 0;height:14px}[data-spr-block-parent-id="5a89fe04-9d0e-4b9f-b43e-4464d63e9e4d"] .iti__flag.iti__kg{background-position:-2655px 0;height:12px}[data-spr-block-parent-id="5a89fe04-9d0e-4b9f-b43e-4464d63e9e4d"] .iti__flag.iti__kh{background-position:-2677px 0;height:13px}[data-spr-block-parent-id="5a89fe04-9d0e-4b9f-b43e-4464d63e9e4d"] .iti__flag.iti__ki{background-position:-2699px 0;height:10px}[data-spr-block-parent-id="5a89fe04-9d0e-4b9f-b43e-4464d63e9e4d"] .iti__flag.iti__km{background-position:-2721px 0;height:12px}[data-spr-block-parent-id="5a89fe04-9d0e-4b9f-b43e-4464d63e9e4d"] .iti__flag.iti__kn{background-position:-2743px 0;height:14px}[data-spr-block-parent-id="5a89fe04-9d0e-4b9f-b43e-4464d63e9e4d"] .iti__flag.iti__kp{background-position:-2765px 0;height:10px}[data-spr-block-parent-id="5a89fe04-9d0e-4b9f-b43e-4464d63e9e4d"] .iti__flag.iti__kr{background-position:-2787px 0;height:14px}[data-spr-block-parent-id="5a89fe04-9d0e-4b9f-b43e-4464d63e9e4d"] .iti__flag.iti__kw{background-position:-2809px 0;height:10px}[data-spr-block-parent-id="5a89fe04-9d0e-4b9f-b43e-4464d63e9e4d"] .iti__flag.iti__ky{background-position:-2831px 0;height:10px}[data-spr-block-parent-id="5a89fe04-9d0e-4b9f-b43e-4464d63e9e4d"] .iti__flag.iti__kz{background-position:-2853px 0;height:10px}[data-spr-block-parent-id="5a89fe04-9d0e-4b9f-b43e-4464d63e9e4d"] .iti__flag.iti__la{background-position:-2875px 0;height:14px}[data-spr-block-parent-id="5a89fe04-9d0e-4b9f-b43e-4464d63e9e4d"] .iti__flag.iti__lb{background-position:-2897px 0;height:14px}[data-spr-block-parent-id="5a89fe04-9d0e-4b9f-b43e-4464d63e9e4d"] .iti__flag.iti__lc{background-position:-2919px 0;height:10px}[data-spr-block-parent-id="5a89fe04-9d0e-4b9f-b43e-4464d63e9e4d"] .iti__flag.iti__li{background-position:-2941px 0;height:12px}[data-spr-block-parent-id="5a89fe04-9d0e-4b9f-b43e-4464d63e9e4d"] .iti__flag.iti__lk{background-position:-2963px 0;height:10px}[data-spr-block-parent-id="5a89fe04-9d0e-4b9f-b43e-4464d63e9e4d"] .iti__flag.iti__lr{background-position:-2985px 0;height:11px}[data-spr-block-parent-id="5a89fe04-9d0e-4b9f-b43e-4464d63e9e4d"] .iti__flag.iti__ls{background-position:-3007px 0;height:14px}[data-spr-block-parent-id="5a89fe04-9d0e-4b9f-b43e-4464d63e9e4d"] .iti__flag.iti__lt{background-position:-3029px 0;height:12px}[data-spr-block-parent-id="5a89fe04-9d0e-4b9f-b43e-4464d63e9e4d"] .iti__flag.iti__lu{background-position:-3051px 0;height:12px}[data-spr-block-parent-id="5a89fe04-9d0e-4b9f-b43e-4464d63e9e4d"] .iti__flag.iti__lv{background-position:-3073px 0;height:10px}[data-spr-block-parent-id="5a89fe04-9d0e-4b9f-b43e-4464d63e9e4d"] .iti__flag.iti__ly{background-position:-3095px 0;height:10px}[data-spr-block-parent-id="5a89fe04-9d0e-4b9f-b43e-4464d63e9e4d"] .iti__flag.iti__ma{background-position:-3117px 0;height:14px}[data-spr-block-parent-id="5a89fe04-9d0e-4b9f-b43e-4464d63e9e4d"] .iti__flag.iti__mc{background-position:-3139px 0;height:15px}[data-spr-block-parent-id="5a89fe04-9d0e-4b9f-b43e-4464d63e9e4d"] .iti__flag.iti__md{background-position:-3160px 0;height:10px}[data-spr-block-parent-id="5a89fe04-9d0e-4b9f-b43e-4464d63e9e4d"] .iti__flag.iti__me{background-position:-3182px 0;height:10px}[data-spr-block-parent-id="5a89fe04-9d0e-4b9f-b43e-4464d63e9e4d"] .iti__flag.iti__mf{background-position:-3204px 0;height:14px}[data-spr-block-parent-id="5a89fe04-9d0e-4b9f-b43e-4464d63e9e4d"] .iti__flag.iti__mg{background-position:-3226px 0;height:14px}[data-spr-block-parent-id="5a89fe04-9d0e-4b9f-b43e-4464d63e9e4d"] .iti__flag.iti__mh{background-position:-3248px 0;height:11px}[data-spr-block-parent-id="5a89fe04-9d0e-4b9f-b43e-4464d63e9e4d"] .iti__flag.iti__mk{background-position:-3270px 0;height:10px}[data-spr-block-parent-id="5a89fe04-9d0e-4b9f-b43e-4464d63e9e4d"] .iti__flag.iti__ml{background-position:-3292px 0;height:14px}[data-spr-block-parent-id="5a89fe04-9d0e-4b9f-b43e-4464d63e9e4d"] .iti__flag.iti__mm{background-position:-3314px 0;height:14px}[data-spr-block-parent-id="5a89fe04-9d0e-4b9f-b43e-4464d63e9e4d"] .iti__flag.iti__mn{background-position:-3336px 0;height:10px}[data-spr-block-parent-id="5a89fe04-9d0e-4b9f-b43e-4464d63e9e4d"] .iti__flag.iti__mo{background-position:-3358px 0;height:14px}[data-spr-block-parent-id="5a89fe04-9d0e-4b9f-b43e-4464d63e9e4d"] .iti__flag.iti__mp{background-position:-3380px 0;height:10px}[data-spr-block-parent-id="5a89fe04-9d0e-4b9f-b43e-4464d63e9e4d"] .iti__flag.iti__mq{background-position:-3402px 0;height:14px}[data-spr-block-parent-id="5a89fe04-9d0e-4b9f-b43e-4464d63e9e4d"] .iti__flag.iti__mr{background-position:-3424px 0;height:14px}[data-spr-block-parent-id="5a89fe04-9d0e-4b9f-b43e-4464d63e9e4d"] .iti__flag.iti__ms{background-position:-3446px 0;height:10px}[data-spr-block-parent-id="5a89fe04-9d0e-4b9f-b43e-4464d63e9e4d"] .iti__flag.iti__mt{background-position:-3468px 0;height:14px}[data-spr-block-parent-id="5a89fe04-9d0e-4b9f-b43e-4464d63e9e4d"] .iti__flag.iti__mu{background-position:-3490px 0;height:14px}[data-spr-block-parent-id="5a89fe04-9d0e-4b9f-b43e-4464d63e9e4d"] .iti__flag.iti__mv{background-position:-3512px 0;height:14px}[data-spr-block-parent-id="5a89fe04-9d0e-4b9f-b43e-4464d63e9e4d"] .iti__flag.iti__mw{background-position:-3534px 0;height:14px}[data-spr-block-parent-id="5a89fe04-9d0e-4b9f-b43e-4464d63e9e4d"] .iti__flag.iti__mx{background-position:-3556px 0;height:12px}[data-spr-block-parent-id="5a89fe04-9d0e-4b9f-b43e-4464d63e9e4d"] .iti__flag.iti__my{background-position:-3578px 0;height:10px}[data-spr-block-parent-id="5a89fe04-9d0e-4b9f-b43e-4464d63e9e4d"] .iti__flag.iti__mz{background-position:-3600px 0;height:14px}[data-spr-block-parent-id="5a89fe04-9d0e-4b9f-b43e-4464d63e9e4d"] .iti__flag.iti__na{background-position:-3622px 0;height:14px}[data-spr-block-parent-id="5a89fe04-9d0e-4b9f-b43e-4464d63e9e4d"] .iti__flag.iti__nc{background-position:-3644px 0;height:10px}[data-spr-block-parent-id="5a89fe04-9d0e-4b9f-b43e-4464d63e9e4d"] .iti__flag.iti__ne{background-position:-3666px 0;height:15px}[data-spr-block-parent-id="5a89fe04-9d0e-4b9f-b43e-4464d63e9e4d"] .iti__flag.iti__nf{background-position:-3686px 0;height:10px}[data-spr-block-parent-id="5a89fe04-9d0e-4b9f-b43e-4464d63e9e4d"] .iti__flag.iti__ng{background-position:-3708px 0;height:10px}[data-spr-block-parent-id="5a89fe04-9d0e-4b9f-b43e-4464d63e9e4d"] .iti__flag.iti__ni{background-position:-3730px 0;height:12px}[data-spr-block-parent-id="5a89fe04-9d0e-4b9f-b43e-4464d63e9e4d"] .iti__flag.iti__nl{background-position:-3752px 0;height:14px}[data-spr-block-parent-id="5a89fe04-9d0e-4b9f-b43e-4464d63e9e4d"] .iti__flag.iti__no{background-position:-3774px 0;height:15px}[data-spr-block-parent-id="5a89fe04-9d0e-4b9f-b43e-4464d63e9e4d"] .iti__flag.iti__np{background-position:-3796px 0;height:15px}[data-spr-block-parent-id="5a89fe04-9d0e-4b9f-b43e-4464d63e9e4d"] .iti__flag.iti__nr{background-position:-3811px 0;height:10px}[data-spr-block-parent-id="5a89fe04-9d0e-4b9f-b43e-4464d63e9e4d"] .iti__flag.iti__nu{background-position:-3833px 0;height:10px}[data-spr-block-parent-id="5a89fe04-9d0e-4b9f-b43e-4464d63e9e4d"] .iti__flag.iti__nz{background-position:-3855px 0;height:10px}[data-spr-block-parent-id="5a89fe04-9d0e-4b9f-b43e-4464d63e9e4d"] .iti__flag.iti__om{background-position:-3877px 0;height:10px}[data-spr-block-parent-id="5a89fe04-9d0e-4b9f-b43e-4464d63e9e4d"] .iti__flag.iti__pa{background-position:-3899px 0;height:14px}[data-spr-block-parent-id="5a89fe04-9d0e-4b9f-b43e-4464d63e9e4d"] .iti__flag.iti__pe{background-position:-3921px 0;height:14px}[data-spr-block-parent-id="5a89fe04-9d0e-4b9f-b43e-4464d63e9e4d"] .iti__flag.iti__pf{background-position:-3943px 0;height:14px}[data-spr-block-parent-id="5a89fe04-9d0e-4b9f-b43e-4464d63e9e4d"] .iti__flag.iti__pg{background-position:-3965px 0;height:15px}[data-spr-block-parent-id="5a89fe04-9d0e-4b9f-b43e-4464d63e9e4d"] .iti__flag.iti__ph{background-position:-3987px 0;height:10px}[data-spr-block-parent-id="5a89fe04-9d0e-4b9f-b43e-4464d63e9e4d"] .iti__flag.iti__pk{background-position:-4009px 0;height:14px}[data-spr-block-parent-id="5a89fe04-9d0e-4b9f-b43e-4464d63e9e4d"] .iti__flag.iti__pl{background-position:-4031px 0;height:13px}[data-spr-block-parent-id="5a89fe04-9d0e-4b9f-b43e-4464d63e9e4d"] .iti__flag.iti__pm{background-position:-4053px 0;height:14px}[data-spr-block-parent-id="5a89fe04-9d0e-4b9f-b43e-4464d63e9e4d"] .iti__flag.iti__pn{background-position:-4075px 0;height:10px}[data-spr-block-parent-id="5a89fe04-9d0e-4b9f-b43e-4464d63e9e4d"] .iti__flag.iti__pr{background-position:-4097px 0;height:14px}[data-spr-block-parent-id="5a89fe04-9d0e-4b9f-b43e-4464d63e9e4d"] .iti__flag.iti__ps{background-position:-4119px 0;height:10px}[data-spr-block-parent-id="5a89fe04-9d0e-4b9f-b43e-4464d63e9e4d"] .iti__flag.iti__pt{background-position:-4141px 0;height:14px}[data-spr-block-parent-id="5a89fe04-9d0e-4b9f-b43e-4464d63e9e4d"] .iti__flag.iti__pw{background-position:-4163px 0;height:13px}[data-spr-block-parent-id="5a89fe04-9d0e-4b9f-b43e-4464d63e9e4d"] .iti__flag.iti__py{background-position:-4185px 0;height:11px}[data-spr-block-parent-id="5a89fe04-9d0e-4b9f-b43e-4464d63e9e4d"] .iti__flag.iti__qa{background-position:-4207px 0;height:8px}[data-spr-block-parent-id="5a89fe04-9d0e-4b9f-b43e-4464d63e9e4d"] .iti__flag.iti__re{background-position:-4229px 0;height:14px}[data-spr-block-parent-id="5a89fe04-9d0e-4b9f-b43e-4464d63e9e4d"] .iti__flag.iti__ro{background-position:-4251px 0;height:14px}[data-spr-block-parent-id="5a89fe04-9d0e-4b9f-b43e-4464d63e9e4d"] .iti__flag.iti__rs{background-position:-4273px 0;height:14px}[data-spr-block-parent-id="5a89fe04-9d0e-4b9f-b43e-4464d63e9e4d"] .iti__flag.iti__ru{background-position:-4295px 0;height:14px}[data-spr-block-parent-id="5a89fe04-9d0e-4b9f-b43e-4464d63e9e4d"] .iti__flag.iti__rw{background-position:-4317px 0;height:14px}[data-spr-block-parent-id="5a89fe04-9d0e-4b9f-b43e-4464d63e9e4d"] .iti__flag.iti__sa{background-position:-4339px 0;height:14px}[data-spr-block-parent-id="5a89fe04-9d0e-4b9f-b43e-4464d63e9e4d"] .iti__flag.iti__sb{background-position:-4361px 0;height:10px}[data-spr-block-parent-id="5a89fe04-9d0e-4b9f-b43e-4464d63e9e4d"] .iti__flag.iti__sc{background-position:-4383px 0;height:10px}[data-spr-block-parent-id="5a89fe04-9d0e-4b9f-b43e-4464d63e9e4d"] .iti__flag.iti__sd{background-position:-4405px 0;height:10px}[data-spr-block-parent-id="5a89fe04-9d0e-4b9f-b43e-4464d63e9e4d"] .iti__flag.iti__se{background-position:-4427px 0;height:13px}[data-spr-block-parent-id="5a89fe04-9d0e-4b9f-b43e-4464d63e9e4d"] .iti__flag.iti__sg{background-position:-4449px 0;height:14px}[data-spr-block-parent-id="5a89fe04-9d0e-4b9f-b43e-4464d63e9e4d"] .iti__flag.iti__sh{background-position:-4471px 0;height:10px}[data-spr-block-parent-id="5a89fe04-9d0e-4b9f-b43e-4464d63e9e4d"] .iti__flag.iti__si{background-position:-4493px 0;height:10px}[data-spr-block-parent-id="5a89fe04-9d0e-4b9f-b43e-4464d63e9e4d"] .iti__flag.iti__sj{background-position:-4515px 0;height:15px}[data-spr-block-parent-id="5a89fe04-9d0e-4b9f-b43e-4464d63e9e4d"] .iti__flag.iti__sk{background-position:-4537px 0;height:14px}[data-spr-block-parent-id="5a89fe04-9d0e-4b9f-b43e-4464d63e9e4d"] .iti__flag.iti__sl{background-position:-4559px 0;height:14px}[data-spr-block-parent-id="5a89fe04-9d0e-4b9f-b43e-4464d63e9e4d"] .iti__flag.iti__sm{background-position:-4581px 0;height:15px}[data-spr-block-parent-id="5a89fe04-9d0e-4b9f-b43e-4464d63e9e4d"] .iti__flag.iti__sn{background-position:-4603px 0;height:14px}[data-spr-block-parent-id="5a89fe04-9d0e-4b9f-b43e-4464d63e9e4d"] .iti__flag.iti__so{background-position:-4625px 0;height:14px}[data-spr-block-parent-id="5a89fe04-9d0e-4b9f-b43e-4464d63e9e4d"] .iti__flag.iti__sr{background-position:-4647px 0;height:14px}[data-spr-block-parent-id="5a89fe04-9d0e-4b9f-b43e-4464d63e9e4d"] .iti__flag.iti__ss{background-position:-4669px 0;height:10px}[data-spr-block-parent-id="5a89fe04-9d0e-4b9f-b43e-4464d63e9e4d"] .iti__flag.iti__st{background-position:-4691px 0;height:10px}[data-spr-block-parent-id="5a89fe04-9d0e-4b9f-b43e-4464d63e9e4d"] .iti__flag.iti__sv{background-position:-4713px 0;height:12px}[data-spr-block-parent-id="5a89fe04-9d0e-4b9f-b43e-4464d63e9e4d"] .iti__flag.iti__sx{background-position:-4735px 0;height:14px}[data-spr-block-parent-id="5a89fe04-9d0e-4b9f-b43e-4464d63e9e4d"] .iti__flag.iti__sy{background-position:-4757px 0;height:14px}[data-spr-block-parent-id="5a89fe04-9d0e-4b9f-b43e-4464d63e9e4d"] .iti__flag.iti__sz{background-position:-4779px 0;height:14px}[data-spr-block-parent-id="5a89fe04-9d0e-4b9f-b43e-4464d63e9e4d"] .iti__flag.iti__ta{background-position:-4801px 0;height:10px}[data-spr-block-parent-id="5a89fe04-9d0e-4b9f-b43e-4464d63e9e4d"] .iti__flag.iti__tc{background-position:-4823px 0;height:10px}[data-spr-block-parent-id="5a89fe04-9d0e-4b9f-b43e-4464d63e9e4d"] .iti__flag.iti__td{background-position:-4845px 0;height:14px}[data-spr-block-parent-id="5a89fe04-9d0e-4b9f-b43e-4464d63e9e4d"] .iti__flag.iti__tf{background-position:-4867px 0;height:14px}[data-spr-block-parent-id="5a89fe04-9d0e-4b9f-b43e-4464d63e9e4d"] .iti__flag.iti__tg{background-position:-4889px 0;height:13px}[data-spr-block-parent-id="5a89fe04-9d0e-4b9f-b43e-4464d63e9e4d"] .iti__flag.iti__th{background-position:-4911px 0;height:14px}[data-spr-block-parent-id="5a89fe04-9d0e-4b9f-b43e-4464d63e9e4d"] .iti__flag.iti__tj{background-position:-4933px 0;height:10px}[data-spr-block-parent-id="5a89fe04-9d0e-4b9f-b43e-4464d63e9e4d"] .iti__flag.iti__tk{background-position:-4955px 0;height:10px}[data-spr-block-parent-id="5a89fe04-9d0e-4b9f-b43e-4464d63e9e4d"] .iti__flag.iti__tl{background-position:-4977px 0;height:10px}[data-spr-block-parent-id="5a89fe04-9d0e-4b9f-b43e-4464d63e9e4d"] .iti__flag.iti__tm{background-position:-4999px 0;height:14px}[data-spr-block-parent-id="5a89fe04-9d0e-4b9f-b43e-4464d63e9e4d"] .iti__flag.iti__tn{background-position:-5021px 0;height:14px}[data-spr-block-parent-id="5a89fe04-9d0e-4b9f-b43e-4464d63e9e4d"] .iti__flag.iti__to{background-position:-5043px 0;height:10px}[data-spr-block-parent-id="5a89fe04-9d0e-4b9f-b43e-4464d63e9e4d"] .iti__flag.iti__tr{background-position:-5065px 0;height:14px}[data-spr-block-parent-id="5a89fe04-9d0e-4b9f-b43e-4464d63e9e4d"] .iti__flag.iti__tt{background-position:-5087px 0;height:12px}[data-spr-block-parent-id="5a89fe04-9d0e-4b9f-b43e-4464d63e9e4d"] .iti__flag.iti__tv{background-position:-5109px 0;height:10px}[data-spr-block-parent-id="5a89fe04-9d0e-4b9f-b43e-4464d63e9e4d"] .iti__flag.iti__tw{background-position:-5131px 0;height:14px}[data-spr-block-parent-id="5a89fe04-9d0e-4b9f-b43e-4464d63e9e4d"] .iti__flag.iti__tz{background-position:-5153px 0;height:14px}[data-spr-block-parent-id="5a89fe04-9d0e-4b9f-b43e-4464d63e9e4d"] .iti__flag.iti__ua{background-position:-5175px 0;height:14px}[data-spr-block-parent-id="5a89fe04-9d0e-4b9f-b43e-4464d63e9e4d"] .iti__flag.iti__ug{background-position:-5197px 0;height:14px}[data-spr-block-parent-id="5a89fe04-9d0e-4b9f-b43e-4464d63e9e4d"] .iti__flag.iti__um{background-position:-5219px 0;height:11px}[data-spr-block-parent-id="5a89fe04-9d0e-4b9f-b43e-4464d63e9e4d"] .iti__flag.iti__un{background-position:-5241px 0;height:14px}[data-spr-block-parent-id="5a89fe04-9d0e-4b9f-b43e-4464d63e9e4d"] .iti__flag.iti__us{background-position:-5263px 0;height:11px}[data-spr-block-parent-id="5a89fe04-9d0e-4b9f-b43e-4464d63e9e4d"] .iti__flag.iti__uy{background-position:-5285px 0;height:14px}[data-spr-block-parent-id="5a89fe04-9d0e-4b9f-b43e-4464d63e9e4d"] .iti__flag.iti__uz{background-position:-5307px 0;height:10px}[data-spr-block-parent-id="5a89fe04-9d0e-4b9f-b43e-4464d63e9e4d"] .iti__flag.iti__va{background-position:-5329px 0;height:15px}[data-spr-block-parent-id="5a89fe04-9d0e-4b9f-b43e-4464d63e9e4d"] .iti__flag.iti__vc{background-position:-5346px 0;height:14px}[data-spr-block-parent-id="5a89fe04-9d0e-4b9f-b43e-4464d63e9e4d"] .iti__flag.iti__ve{background-position:-5368px 0;height:14px}[data-spr-block-parent-id="5a89fe04-9d0e-4b9f-b43e-4464d63e9e4d"] .iti__flag.iti__vg{background-position:-5390px 0;height:10px}[data-spr-block-parent-id="5a89fe04-9d0e-4b9f-b43e-4464d63e9e4d"] .iti__flag.iti__vi{background-position:-5412px 0;height:14px}[data-spr-block-parent-id="5a89fe04-9d0e-4b9f-b43e-4464d63e9e4d"] .iti__flag.iti__vn{background-position:-5434px 0;height:14px}[data-spr-block-parent-id="5a89fe04-9d0e-4b9f-b43e-4464d63e9e4d"] .iti__flag.iti__vu{background-position:-5456px 0;height:12px}[data-spr-block-parent-id="5a89fe04-9d0e-4b9f-b43e-4464d63e9e4d"] .iti__flag.iti__wf{background-position:-5478px 0;height:14px}[data-spr-block-parent-id="5a89fe04-9d0e-4b9f-b43e-4464d63e9e4d"] .iti__flag.iti__ws{background-position:-5500px 0;height:10px}[data-spr-block-parent-id="5a89fe04-9d0e-4b9f-b43e-4464d63e9e4d"] .iti__flag.iti__xk{background-position:-5522px 0;height:15px}[data-spr-block-parent-id="5a89fe04-9d0e-4b9f-b43e-4464d63e9e4d"] .iti__flag.iti__ye{background-position:-5544px 0;height:14px}[data-spr-block-parent-id="5a89fe04-9d0e-4b9f-b43e-4464d63e9e4d"] .iti__flag.iti__yt{background-position:-5566px 0;height:14px}[data-spr-block-parent-id="5a89fe04-9d0e-4b9f-b43e-4464d63e9e4d"] .iti__flag.iti__za{background-position:-5588px 0;height:14px}[data-spr-block-parent-id="5a89fe04-9d0e-4b9f-b43e-4464d63e9e4d"] .iti__flag.iti__zm{background-position:-5610px 0;height:14px}[data-spr-block-parent-id="5a89fe04-9d0e-4b9f-b43e-4464d63e9e4d"] .iti__flag.iti__zw{background-position:-5632px 0;height:10px}[data-spr-block-parent-id="5a89fe04-9d0e-4b9f-b43e-4464d63e9e4d"] .iti__flag{background-color:#dbdbdb;background-image:url(007b2705c0a8f69dfdf6ea1bfa0341c9.png);background-position:20px 0;background-repeat:no-repeat;box-shadow:0 0 1px 0 #888;height:15px}@media(-webkit-min-device-pixel-ratio:2),(min-resolution:192dpi){[data-spr-block-parent-id="5a89fe04-9d0e-4b9f-b43e-4464d63e9e4d"] .iti__flag{background-image:url(9d5328fb490cddd43f6698012123404b.png)}}[data-spr-block-parent-id="5a89fe04-9d0e-4b9f-b43e-4464d63e9e4d"] .iti__flag.iti__np{background-color:transparent}[data-spr-block-parent-id="5a89fe04-9d0e-4b9f-b43e-4464d63e9e4d"] .iti__country-list{border:none;border-radius:8px;box-shadow:0 8px 32px rgba(33,33,33,.08),0 2px 4px rgba(33,33,33,.04)}[data-spr-block-parent-id="5a89fe04-9d0e-4b9f-b43e-4464d63e9e4d"] .iti__flag{background-color:transparent;background-image:url(https://cdnjs.cloudflare.com/ajax/libs/intl-tel-input/17.0.15/img/flags.png);box-shadow:none;transform:scale(1.2)}[data-spr-block-parent-id="5a89fe04-9d0e-4b9f-b43e-4464d63e9e4d"] .iti__{background-color:#f5f5f5}[data-spr-block-parent-id="5a89fe04-9d0e-4b9f-b43e-4464d63e9e4d"] .iti__selected-flag{padding-left:16px;padding-right:8px}[data-spr-block-parent-id="5a89fe04-9d0e-4b9f-b43e-4464d63e9e4d"] .iti--allow-dropdown .iti__flag-container:hover .iti__selected-flag{background-color:unset;opacity:1}[data-spr-block-parent-id="5a89fe04-9d0e-4b9f-b43e-4464d63e9e4d"] .iti__country{font-size:12px;padding:8px 16px}[data-spr-block-parent-id="5a89fe04-9d0e-4b9f-b43e-4464d63e9e4d"] .MuiAutocomplete-noOptions{display:none}[data-spr-block-parent-id="5a89fe04-9d0e-4b9f-b43e-4464d63e9e4d"] .autocomplete-option{cursor:pointer;display:flex;flex-direction:column;padding:8px 16px;transition:background .2s}[data-spr-block-parent-id="5a89fe04-9d0e-4b9f-b43e-4464d63e9e4d"] .autocomplete-option:hover{background:#f2f3f6}[data-spr-block-parent-id="5a89fe04-9d0e-4b9f-b43e-4464d63e9e4d"] .autocomplete-option>p{font-size:14px;margin:0;padding:0}[data-spr-block-parent-id="5a89fe04-9d0e-4b9f-b43e-4464d63e9e4d"] .autocomplete-option>p:last-child{font-size:12px}[data-spr-block-parent-id="5a89fe04-9d0e-4b9f-b43e-4464d63e9e4d"] .success-icon{color:inherit;font-size:inherit;margin-left:10px}[data-spr-block-parent-id="5a89fe04-9d0e-4b9f-b43e-4464d63e9e4d"] .MuiButton-root{display:inline-flex;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}</style><style data-trace="React18Block.tsx">[data-spr-block-parent-id="d360d1b5-8b77-42b4-a7f7-856f6b31d7ae"] .links{display:flex;flex-direction:row;list-style:none;margin-bottom:0;padding-bottom:.5rem;padding-left:0}[data-spr-block-parent-id="d360d1b5-8b77-42b4-a7f7-856f6b31d7ae"] .links .single-link{display:block;padding:.5rem 1rem}@media(max-width:900px){[data-spr-block-parent-id="d360d1b5-8b77-42b4-a7f7-856f6b31d7ae"] .link-group{margin-top:16px}}</style><style data-trace="React18Block.tsx">[data-spr-block-parent-id="cf3a79d4-0aec-4936-9c53-eb7019927fee"] a:focus-visible{outline:none}</style><style data-spr-role="head-styles-sentinel"></style><!--Stick footer to the bottom when the page content is smaller than the viewport--><style>
.spr-content-root {
background-color: #ffffff;
}
.spr-content-root {
display: flex;
flex-direction: column;
min-height: 100vh;
min-height: 100dvh;
}
/**
* Blocks have a data-block="blockname-vx-y-z" attribute,
* so the following will select all the footer blocks.
*/
.spr-content-root > [data-block^="footer"] {
margin-top: auto;
}
.spr-content-root > .dynamic-height {
flex: 1;
display: flex;
flex-direction: column;
}
/**
* Hack for v2 header block
*
* It always has #vertical-holder and #data-content-vertical that
* should be displayed in a flex row
*/
.spr-content-root:has(#vertical-holder) {
flex-direction: row;
}
</style><style type="text/css">:where(html[dir="ltr"]),:where([data-sonner-toaster][dir="ltr"]){--toast-icon-margin-start: -3px;--toast-icon-margin-end: 4px;--toast-svg-margin-start: -1px;--toast-svg-margin-end: 0px;--toast-button-margin-start: auto;--toast-button-margin-end: 0;--toast-close-button-start: 0;--toast-close-button-end: unset;--toast-close-button-transform: translate(-35%, -35%)}:where(html[dir="rtl"]),:where([data-sonner-toaster][dir="rtl"]){--toast-icon-margin-start: 4px;--toast-icon-margin-end: -3px;--toast-svg-margin-start: 0px;--toast-svg-margin-end: -1px;--toast-button-margin-start: 0;--toast-button-margin-end: auto;--toast-close-button-start: unset;--toast-close-button-end: 0;--toast-close-button-transform: translate(35%, -35%)}:where([data-sonner-toaster]){position:fixed;width:var(--width);font-family:ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,Noto Sans,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol,Noto Color Emoji;--gray1: hsl(0, 0%, 99%);--gray2: hsl(0, 0%, 97.3%);--gray3: hsl(0, 0%, 95.1%);--gray4: hsl(0, 0%, 93%);--gray5: hsl(0, 0%, 90.9%);--gray6: hsl(0, 0%, 88.7%);--gray7: hsl(0, 0%, 85.8%);--gray8: hsl(0, 0%, 78%);--gray9: hsl(0, 0%, 56.1%);--gray10: hsl(0, 0%, 52.3%);--gray11: hsl(0, 0%, 43.5%);--gray12: hsl(0, 0%, 9%);--border-radius: 8px;box-sizing:border-box;padding:0;margin:0;list-style:none;outline:none;z-index:999999999}:where([data-sonner-toaster][data-x-position="right"]){right:max(var(--offset),env(safe-area-inset-right))}:where([data-sonner-toaster][data-x-position="left"]){left:max(var(--offset),env(safe-area-inset-left))}:where([data-sonner-toaster][data-x-position="center"]){left:50%;transform:translate(-50%)}:where([data-sonner-toaster][data-y-position="top"]){top:max(var(--offset),env(safe-area-inset-top))}:where([data-sonner-toaster][data-y-position="bottom"]){bottom:max(var(--offset),env(safe-area-inset-bottom))}:where([data-sonner-toast]){--y: translateY(100%);--lift-amount: calc(var(--lift) * var(--gap));z-index:var(--z-index);position:absolute;opacity:0;transform:var(--y);filter:blur(0);touch-action:none;transition:transform .4s,opacity .4s,height .4s,box-shadow .2s;box-sizing:border-box;outline:none;overflow-wrap:anywhere}:where([data-sonner-toast][data-styled="true"]){padding:16px;background:var(--normal-bg);border:1px solid var(--normal-border);color:var(--normal-text);border-radius:var(--border-radius);box-shadow:0 4px 12px #0000001a;width:var(--width);font-size:13px;display:flex;align-items:center;gap:6px}:where([data-sonner-toast]:focus-visible){box-shadow:0 4px 12px #0000001a,0 0 0 2px #0003}:where([data-sonner-toast][data-y-position="top"]){top:0;--y: translateY(-100%);--lift: 1;--lift-amount: calc(1 * var(--gap))}:where([data-sonner-toast][data-y-position="bottom"]){bottom:0;--y: translateY(100%);--lift: -1;--lift-amount: calc(var(--lift) * var(--gap))}:where([data-sonner-toast]) :where([data-description]){font-weight:400;line-height:1.4;color:inherit}:where([data-sonner-toast]) :where([data-title]){font-weight:500;line-height:1.5;color:inherit}:where([data-sonner-toast]) :where([data-icon]){display:flex;height:16px;width:16px;position:relative;justify-content:flex-start;align-items:center;flex-shrink:0;margin-left:var(--toast-icon-margin-start);margin-right:var(--toast-icon-margin-end)}:where([data-sonner-toast][data-promise="true"]) :where([data-icon])>svg{opacity:0;transform:scale(.8);transform-origin:center;animation:sonner-fade-in .3s ease forwards}:where([data-sonner-toast]) :where([data-icon])>*{flex-shrink:0}:where([data-sonner-toast]) :where([data-icon]) svg{margin-left:var(--toast-svg-margin-start);margin-right:var(--toast-svg-margin-end)}:where([data-sonner-toast]) :where([data-content]){display:flex;flex-direction:column;gap:2px}[data-sonner-toast][data-styled=true] [data-button]{border-radius:4px;padding-left:8px;padding-right:8px;height:24px;font-size:12px;color:var(--normal-bg);background:var(--normal-text);margin-left:var(--toast-button-margin-start);margin-right:var(--toast-button-margin-end);border:none;cursor:pointer;outline:none;display:flex;align-items:center;flex-shrink:0;transition:opacity .4s,box-shadow .2s}:where([data-sonner-toast]) :where([data-button]):focus-visible{box-shadow:0 0 0 2px #0006}:where([data-sonner-toast]) :where([data-button]):first-of-type{margin-left:var(--toast-button-margin-start);margin-right:var(--toast-button-margin-end)}:where([data-sonner-toast]) :where([data-cancel]){color:var(--normal-text);background:rgba(0,0,0,.08)}:where([data-sonner-toast][data-theme="dark"]) :where([data-cancel]){background:rgba(255,255,255,.3)}:where([data-sonner-toast]) :where([data-close-button]){position:absolute;left:var(--toast-close-button-start);right:var(--toast-close-button-end);top:0;height:20px;width:20px;display:flex;justify-content:center;align-items:center;padding:0;background:var(--gray1);color:var(--gray12);border:1px solid var(--gray4);transform:var(--toast-close-button-transform);border-radius:50%;cursor:pointer;z-index:1;transition:opacity .1s,background .2s,border-color .2s}:where([data-sonner-toast]) :where([data-close-button]):focus-visible{box-shadow:0 4px 12px #0000001a,0 0 0 2px #0003}:where([data-sonner-toast]) :where([data-disabled="true"]){cursor:not-allowed}:where([data-sonner-toast]):hover :where([data-close-button]):hover{background:var(--gray2);border-color:var(--gray5)}:where([data-sonner-toast][data-swiping="true"]):before{content:"";position:absolute;left:0;right:0;height:100%;z-index:-1}:where([data-sonner-toast][data-y-position="top"][data-swiping="true"]):before{bottom:50%;transform:scaleY(3) translateY(50%)}:where([data-sonner-toast][data-y-position="bottom"][data-swiping="true"]):before{top:50%;transform:scaleY(3) translateY(-50%)}:where([data-sonner-toast][data-swiping="false"][data-removed="true"]):before{content:"";position:absolute;inset:0;transform:scaleY(2)}:where([data-sonner-toast]):after{content:"";position:absolute;left:0;height:calc(var(--gap) + 1px);bottom:100%;width:100%}:where([data-sonner-toast][data-mounted="true"]){--y: translateY(0);opacity:1}:where([data-sonner-toast][data-expanded="false"][data-front="false"]){--scale: var(--toasts-before) * .05 + 1;--y: translateY(calc(var(--lift-amount) * var(--toasts-before))) scale(calc(-1 * var(--scale)));height:var(--front-toast-height)}:where([data-sonner-toast])>*{transition:opacity .4s}:where([data-sonner-toast][data-expanded="false"][data-front="false"][data-styled="true"])>*{opacity:0}:where([data-sonner-toast][data-visible="false"]){opacity:0;pointer-events:none}:where([data-sonner-toast][data-mounted="true"][data-expanded="true"]){--y: translateY(calc(var(--lift) * var(--offset)));height:var(--initial-height)}:where([data-sonner-toast][data-removed="true"][data-front="true"][data-swipe-out="false"]){--y: translateY(calc(var(--lift) * -100%));opacity:0}:where([data-sonner-toast][data-removed="true"][data-front="false"][data-swipe-out="false"][data-expanded="true"]){--y: translateY(calc(var(--lift) * var(--offset) + var(--lift) * -100%));opacity:0}:where([data-sonner-toast][data-removed="true"][data-front="false"][data-swipe-out="false"][data-expanded="false"]){--y: translateY(40%);opacity:0;transition:transform .5s,opacity .2s}:where([data-sonner-toast][data-removed="true"][data-front="false"]):before{height:calc(var(--initial-height) + 20%)}[data-sonner-toast][data-swiping=true]{transform:var(--y) translateY(var(--swipe-amount, 0px));transition:none}[data-sonner-toast][data-swipe-out=true][data-y-position=bottom],[data-sonner-toast][data-swipe-out=true][data-y-position=top]{animation:swipe-out .2s ease-out forwards}@keyframes swipe-out{0%{transform:translateY(calc(var(--lift) * var(--offset) + var(--swipe-amount)));opacity:1}to{transform:translateY(calc(var(--lift) * var(--offset) + var(--swipe-amount) + var(--lift) * -100%));opacity:0}}@media (max-width: 600px){[data-sonner-toaster]{position:fixed;--mobile-offset: 16px;right:var(--mobile-offset);left:var(--mobile-offset);width:100%}[data-sonner-toaster] [data-sonner-toast]{left:0;right:0;width:calc(100% - var(--mobile-offset) * 2)}[data-sonner-toaster][data-x-position=left]{left:var(--mobile-offset)}[data-sonner-toaster][data-y-position=bottom]{bottom:20px}[data-sonner-toaster][data-y-position=top]{top:20px}[data-sonner-toaster][data-x-position=center]{left:var(--mobile-offset);right:var(--mobile-offset);transform:none}}[data-sonner-toaster][data-theme=light]{--normal-bg: #fff;--normal-border: var(--gray4);--normal-text: var(--gray12);--success-bg: hsl(143, 85%, 96%);--success-border: hsl(145, 92%, 91%);--success-text: hsl(140, 100%, 27%);--info-bg: hsl(208, 100%, 97%);--info-border: hsl(221, 91%, 91%);--info-text: hsl(210, 92%, 45%);--warning-bg: hsl(49, 100%, 97%);--warning-border: hsl(49, 91%, 91%);--warning-text: hsl(31, 92%, 45%);--error-bg: hsl(359, 100%, 97%);--error-border: hsl(359, 100%, 94%);--error-text: hsl(360, 100%, 45%)}[data-sonner-toaster][data-theme=light] [data-sonner-toast][data-invert=true]{--normal-bg: #000;--normal-border: hsl(0, 0%, 20%);--normal-text: var(--gray1)}[data-sonner-toaster][data-theme=dark] [data-sonner-toast][data-invert=true]{--normal-bg: #fff;--normal-border: var(--gray3);--normal-text: var(--gray12)}[data-sonner-toaster][data-theme=dark]{--normal-bg: #000;--normal-border: hsl(0, 0%, 20%);--normal-text: var(--gray1);--success-bg: hsl(150, 100%, 6%);--success-border: hsl(147, 100%, 12%);--success-text: hsl(150, 86%, 65%);--info-bg: hsl(215, 100%, 6%);--info-border: hsl(223, 100%, 12%);--info-text: hsl(216, 87%, 65%);--warning-bg: hsl(64, 100%, 6%);--warning-border: hsl(60, 100%, 12%);--warning-text: hsl(46, 87%, 65%);--error-bg: hsl(358, 76%, 10%);--error-border: hsl(357, 89%, 16%);--error-text: hsl(358, 100%, 81%)}[data-rich-colors=true][data-sonner-toast][data-type=success],[data-rich-colors=true][data-sonner-toast][data-type=success] [data-close-button]{background:var(--success-bg);border-color:var(--success-border);color:var(--success-text)}[data-rich-colors=true][data-sonner-toast][data-type=info],[data-rich-colors=true][data-sonner-toast][data-type=info] [data-close-button]{background:var(--info-bg);border-color:var(--info-border);color:var(--info-text)}[data-rich-colors=true][data-sonner-toast][data-type=warning],[data-rich-colors=true][data-sonner-toast][data-type=warning] [data-close-button]{background:var(--warning-bg);border-color:var(--warning-border);color:var(--warning-text)}[data-rich-colors=true][data-sonner-toast][data-type=error],[data-rich-colors=true][data-sonner-toast][data-type=error] [data-close-button]{background:var(--error-bg);border-color:var(--error-border);color:var(--error-text)}.sonner-loading-wrapper{--size: 16px;height:var(--size);width:var(--size);position:absolute;inset:0;z-index:10}.sonner-loading-wrapper[data-visible=false]{transform-origin:center;animation:sonner-fade-out .2s ease forwards}.sonner-spinner{position:relative;top:50%;left:50%;height:var(--size);width:var(--size)}.sonner-loading-bar{animation:sonner-spin 1.2s linear infinite;background:var(--gray11);border-radius:6px;height:8%;left:-10%;position:absolute;top:-3.9%;width:24%}.sonner-loading-bar:nth-child(1){animation-delay:-1.2s;transform:rotate(.0001deg) translate(146%)}.sonner-loading-bar:nth-child(2){animation-delay:-1.1s;transform:rotate(30deg) translate(146%)}.sonner-loading-bar:nth-child(3){animation-delay:-1s;transform:rotate(60deg) translate(146%)}.sonner-loading-bar:nth-child(4){animation-delay:-.9s;transform:rotate(90deg) translate(146%)}.sonner-loading-bar:nth-child(5){animation-delay:-.8s;transform:rotate(120deg) translate(146%)}.sonner-loading-bar:nth-child(6){animation-delay:-.7s;transform:rotate(150deg) translate(146%)}.sonner-loading-bar:nth-child(7){animation-delay:-.6s;transform:rotate(180deg) translate(146%)}.sonner-loading-bar:nth-child(8){animation-delay:-.5s;transform:rotate(210deg) translate(146%)}.sonner-loading-bar:nth-child(9){animation-delay:-.4s;transform:rotate(240deg) translate(146%)}.sonner-loading-bar:nth-child(10){animation-delay:-.3s;transform:rotate(270deg) translate(146%)}.sonner-loading-bar:nth-child(11){animation-delay:-.2s;transform:rotate(300deg) translate(146%)}.sonner-loading-bar:nth-child(12){animation-delay:-.1s;transform:rotate(330deg) translate(146%)}@keyframes sonner-fade-in{0%{opacity:0;transform:scale(.8)}to{opacity:1;transform:scale(1)}}@keyframes sonner-fade-out{0%{opacity:1;transform:scale(1)}to{opacity:0;transform:scale(.8)}}@keyframes sonner-spin{0%{opacity:1}to{opacity:.15}}@media (prefers-reduced-motion){[data-sonner-toast],[data-sonner-toast]>*,.sonner-loading-bar{transition:none!important;animation:none!important}}.sonner-loader{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);transform-origin:center;transition:opacity .2s,transform .2s}.sonner-loader[data-visible=false]{opacity:0;transform:scale(.8) translate(-50%,-50%)}
</style><style data-for="[data-spr-block-parent-id="405a0576-7b99-44ec-ad7d-61661cf96b6a"]">[data-spr-block-parent-id="405a0576-7b99-44ec-ad7d-61661cf96b6a"] .sw-font-size-m { font-size: 1rem!important; } [data-spr-block-parent-id="405a0576-7b99-44ec-ad7d-61661cf96b6a"] .sw-text-color-424242 { color: #424242!important; } [data-spr-block-parent-id="405a0576-7b99-44ec-ad7d-61661cf96b6a"] .sw-font-family-default { } [data-spr-block-parent-id="405a0576-7b99-44ec-ad7d-61661cf96b6a"] .sw-font-weight-normal { font-weight: 400!important; } [data-spr-block-parent-id="405a0576-7b99-44ec-ad7d-61661cf96b6a"] .sw-letter-spacing-normal { letter-spacing: 0rem!important; } [data-spr-block-parent-id="405a0576-7b99-44ec-ad7d-61661cf96b6a"] .sw-text-color-EAB10B { color: #EAB10B!important; } [data-spr-block-parent-id="405a0576-7b99-44ec-ad7d-61661cf96b6a"] .sw-width-11xs { width: 2rem!important; } [data-spr-block-parent-id="405a0576-7b99-44ec-ad7d-61661cf96b6a"] .sw-text-color-default { } [data-spr-block-parent-id="405a0576-7b99-44ec-ad7d-61661cf96b6a"] .sw-border-radius-default { } [data-spr-block-parent-id="405a0576-7b99-44ec-ad7d-61661cf96b6a"] .sw-background-color-default { } [data-spr-block-parent-id="405a0576-7b99-44ec-ad7d-61661cf96b6a"] .sw-padding-left-4xs { padding-left: 1rem!important; } [data-spr-block-parent-id="405a0576-7b99-44ec-ad7d-61661cf96b6a"] .sw-padding-right-4xs { padding-right: 1rem!important; } [data-spr-block-parent-id="405a0576-7b99-44ec-ad7d-61661cf96b6a"] .sw-padding-top-6xs { padding-top: 0.5rem!important; } [data-spr-block-parent-id="405a0576-7b99-44ec-ad7d-61661cf96b6a"] .sw-padding-bottom-6xs { padding-bottom: 0.5rem!important; } [data-spr-block-parent-id="405a0576-7b99-44ec-ad7d-61661cf96b6a"] .sw-border-color-212121 { border-color: #212121!important; } [data-spr-block-parent-id="405a0576-7b99-44ec-ad7d-61661cf96b6a"] .sw-border-style-none { border-style: none!important; } [data-spr-block-parent-id="405a0576-7b99-44ec-ad7d-61661cf96b6a"] .sw-border-width-xs { border-width: 1px!important; } [data-spr-block-parent-id="405a0576-7b99-44ec-ad7d-61661cf96b6a"] .sw-background-color-ffffff { background-color: #ffffff!important; } [data-spr-block-parent-id="405a0576-7b99-44ec-ad7d-61661cf96b6a"] .sw-padding-top-5xs { padding-top: 0.75rem!important; } [data-spr-block-parent-id="405a0576-7b99-44ec-ad7d-61661cf96b6a"] .sw-padding-bottom-5xs { padding-bottom: 0.75rem!important; } [data-spr-block-parent-id="405a0576-7b99-44ec-ad7d-61661cf96b6a"] .sw-border-top-style-none { border-top-style: none!important; } [data-spr-block-parent-id="405a0576-7b99-44ec-ad7d-61661cf96b6a"] .sw-border-top-width-xs { border-top-width: 1px!important; } [data-spr-block-parent-id="405a0576-7b99-44ec-ad7d-61661cf96b6a"] .sw-border-top-color-000000 { border-top-color: #000000!important; } [data-spr-block-parent-id="405a0576-7b99-44ec-ad7d-61661cf96b6a"] .sw-border-bottom-style-none { border-bottom-style: none!important; } [data-spr-block-parent-id="405a0576-7b99-44ec-ad7d-61661cf96b6a"] .sw-border-bottom-width-xs { border-bottom-width: 1px!important; } [data-spr-block-parent-id="405a0576-7b99-44ec-ad7d-61661cf96b6a"] .sw-border-bottom-color-000000 { border-bottom-color: #000000!important; } [data-spr-block-parent-id="405a0576-7b99-44ec-ad7d-61661cf96b6a"] .sw-width-8xs { width: 5rem!important; } [data-spr-block-parent-id="405a0576-7b99-44ec-ad7d-61661cf96b6a"] .sw-text-color-212121 { color: #212121!important; } [data-spr-block-parent-id="405a0576-7b99-44ec-ad7d-61661cf96b6a"] .sw-border-style-solid { border-style: solid!important; } [data-spr-block-parent-id="405a0576-7b99-44ec-ad7d-61661cf96b6a"] .sw-text-color-ffffff { color: #ffffff!important; } [data-spr-block-parent-id="405a0576-7b99-44ec-ad7d-61661cf96b6a"] .sw-background-color-9ea5b4 { background-color: #9ea5b4!important; } [data-spr-block-parent-id="405a0576-7b99-44ec-ad7d-61661cf96b6a"] .sw-border-color-9ea5b4 { border-color: #9ea5b4!important; } </style><style data-for="[data-spr-block-parent-id="405a0576-7b99-44ec-ad7d-61661cf96b6a"]-show-vertical"></style><style data-emotion="css" data-s=""></style><style type="text/css">:where(html[dir="ltr"]),:where([data-sonner-toaster][dir="ltr"]){--toast-icon-margin-start: -3px;--toast-icon-margin-end: 4px;--toast-svg-margin-start: -1px;--toast-svg-margin-end: 0px;--toast-button-margin-start: auto;--toast-button-margin-end: 0;--toast-close-button-start: 0;--toast-close-button-end: unset;--toast-close-button-transform: translate(-35%, -35%)}:where(html[dir="rtl"]),:where([data-sonner-toaster][dir="rtl"]){--toast-icon-margin-start: 4px;--toast-icon-margin-end: -3px;--toast-svg-margin-start: 0px;--toast-svg-margin-end: -1px;--toast-button-margin-start: 0;--toast-button-margin-end: auto;--toast-close-button-start: unset;--toast-close-button-end: 0;--toast-close-button-transform: translate(35%, -35%)}:where([data-sonner-toaster]){position:fixed;width:var(--width);font-family:ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,Noto Sans,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol,Noto Color Emoji;--gray1: hsl(0, 0%, 99%);--gray2: hsl(0, 0%, 97.3%);--gray3: hsl(0, 0%, 95.1%);--gray4: hsl(0, 0%, 93%);--gray5: hsl(0, 0%, 90.9%);--gray6: hsl(0, 0%, 88.7%);--gray7: hsl(0, 0%, 85.8%);--gray8: hsl(0, 0%, 78%);--gray9: hsl(0, 0%, 56.1%);--gray10: hsl(0, 0%, 52.3%);--gray11: hsl(0, 0%, 43.5%);--gray12: hsl(0, 0%, 9%);--border-radius: 8px;box-sizing:border-box;padding:0;margin:0;list-style:none;outline:none;z-index:999999999}:where([data-sonner-toaster][data-x-position="right"]){right:max(var(--offset),env(safe-area-inset-right))}:where([data-sonner-toaster][data-x-position="left"]){left:max(var(--offset),env(safe-area-inset-left))}:where([data-sonner-toaster][data-x-position="center"]){left:50%;transform:translate(-50%)}:where([data-sonner-toaster][data-y-position="top"]){top:max(var(--offset),env(safe-area-inset-top))}:where([data-sonner-toaster][data-y-position="bottom"]){bottom:max(var(--offset),env(safe-area-inset-bottom))}:where([data-sonner-toast]){--y: translateY(100%);--lift-amount: calc(var(--lift) * var(--gap));z-index:var(--z-index);position:absolute;opacity:0;transform:var(--y);filter:blur(0);touch-action:none;transition:transform .4s,opacity .4s,height .4s,box-shadow .2s;box-sizing:border-box;outline:none;overflow-wrap:anywhere}:where([data-sonner-toast][data-styled="true"]){padding:16px;background:var(--normal-bg);border:1px solid var(--normal-border);color:var(--normal-text);border-radius:var(--border-radius);box-shadow:0 4px 12px #0000001a;width:var(--width);font-size:13px;display:flex;align-items:center;gap:6px}:where([data-sonner-toast]:focus-visible){box-shadow:0 4px 12px #0000001a,0 0 0 2px #0003}:where([data-sonner-toast][data-y-position="top"]){top:0;--y: translateY(-100%);--lift: 1;--lift-amount: calc(1 * var(--gap))}:where([data-sonner-toast][data-y-position="bottom"]){bottom:0;--y: translateY(100%);--lift: -1;--lift-amount: calc(var(--lift) * var(--gap))}:where([data-sonner-toast]) :where([data-description]){font-weight:400;line-height:1.4;color:inherit}:where([data-sonner-toast]) :where([data-title]){font-weight:500;line-height:1.5;color:inherit}:where([data-sonner-toast]) :where([data-icon]){display:flex;height:16px;width:16px;position:relative;justify-content:flex-start;align-items:center;flex-shrink:0;margin-left:var(--toast-icon-margin-start);margin-right:var(--toast-icon-margin-end)}:where([data-sonner-toast][data-promise="true"]) :where([data-icon])>svg{opacity:0;transform:scale(.8);transform-origin:center;animation:sonner-fade-in .3s ease forwards}:where([data-sonner-toast]) :where([data-icon])>*{flex-shrink:0}:where([data-sonner-toast]) :where([data-icon]) svg{margin-left:var(--toast-svg-margin-start);margin-right:var(--toast-svg-margin-end)}:where([data-sonner-toast]) :where([data-content]){display:flex;flex-direction:column;gap:2px}[data-sonner-toast][data-styled=true] [data-button]{border-radius:4px;padding-left:8px;padding-right:8px;height:24px;font-size:12px;color:var(--normal-bg);background:var(--normal-text);margin-left:var(--toast-button-margin-start);margin-right:var(--toast-button-margin-end);border:none;cursor:pointer;outline:none;display:flex;align-items:center;flex-shrink:0;transition:opacity .4s,box-shadow .2s}:where([data-sonner-toast]) :where([data-button]):focus-visible{box-shadow:0 0 0 2px #0006}:where([data-sonner-toast]) :where([data-button]):first-of-type{margin-left:var(--toast-button-margin-start);margin-right:var(--toast-button-margin-end)}:where([data-sonner-toast]) :where([data-cancel]){color:var(--normal-text);background:rgba(0,0,0,.08)}:where([data-sonner-toast][data-theme="dark"]) :where([data-cancel]){background:rgba(255,255,255,.3)}:where([data-sonner-toast]) :where([data-close-button]){position:absolute;left:var(--toast-close-button-start);right:var(--toast-close-button-end);top:0;height:20px;width:20px;display:flex;justify-content:center;align-items:center;padding:0;background:var(--gray1);color:var(--gray12);border:1px solid var(--gray4);transform:var(--toast-close-button-transform);border-radius:50%;cursor:pointer;z-index:1;transition:opacity .1s,background .2s,border-color .2s}:where([data-sonner-toast]) :where([data-close-button]):focus-visible{box-shadow:0 4px 12px #0000001a,0 0 0 2px #0003}:where([data-sonner-toast]) :where([data-disabled="true"]){cursor:not-allowed}:where([data-sonner-toast]):hover :where([data-close-button]):hover{background:var(--gray2);border-color:var(--gray5)}:where([data-sonner-toast][data-swiping="true"]):before{content:"";position:absolute;left:0;right:0;height:100%;z-index:-1}:where([data-sonner-toast][data-y-position="top"][data-swiping="true"]):before{bottom:50%;transform:scaleY(3) translateY(50%)}:where([data-sonner-toast][data-y-position="bottom"][data-swiping="true"]):before{top:50%;transform:scaleY(3) translateY(-50%)}:where([data-sonner-toast][data-swiping="false"][data-removed="true"]):before{content:"";position:absolute;inset:0;transform:scaleY(2)}:where([data-sonner-toast]):after{content:"";position:absolute;left:0;height:calc(var(--gap) + 1px);bottom:100%;width:100%}:where([data-sonner-toast][data-mounted="true"]){--y: translateY(0);opacity:1}:where([data-sonner-toast][data-expanded="false"][data-front="false"]){--scale: var(--toasts-before) * .05 + 1;--y: translateY(calc(var(--lift-amount) * var(--toasts-before))) scale(calc(-1 * var(--scale)));height:var(--front-toast-height)}:where([data-sonner-toast])>*{transition:opacity .4s}:where([data-sonner-toast][data-expanded="false"][data-front="false"][data-styled="true"])>*{opacity:0}:where([data-sonner-toast][data-visible="false"]){opacity:0;pointer-events:none}:where([data-sonner-toast][data-mounted="true"][data-expanded="true"]){--y: translateY(calc(var(--lift) * var(--offset)));height:var(--initial-height)}:where([data-sonner-toast][data-removed="true"][data-front="true"][data-swipe-out="false"]){--y: translateY(calc(var(--lift) * -100%));opacity:0}:where([data-sonner-toast][data-removed="true"][data-front="false"][data-swipe-out="false"][data-expanded="true"]){--y: translateY(calc(var(--lift) * var(--offset) + var(--lift) * -100%));opacity:0}:where([data-sonner-toast][data-removed="true"][data-front="false"][data-swipe-out="false"][data-expanded="false"]){--y: translateY(40%);opacity:0;transition:transform .5s,opacity .2s}:where([data-sonner-toast][data-removed="true"][data-front="false"]):before{height:calc(var(--initial-height) + 20%)}[data-sonner-toast][data-swiping=true]{transform:var(--y) translateY(var(--swipe-amount, 0px));transition:none}[data-sonner-toast][data-swipe-out=true][data-y-position=bottom],[data-sonner-toast][data-swipe-out=true][data-y-position=top]{animation:swipe-out .2s ease-out forwards}@keyframes swipe-out{0%{transform:translateY(calc(var(--lift) * var(--offset) + var(--swipe-amount)));opacity:1}to{transform:translateY(calc(var(--lift) * var(--offset) + var(--swipe-amount) + var(--lift) * -100%));opacity:0}}@media (max-width: 600px){[data-sonner-toaster]{position:fixed;--mobile-offset: 16px;right:var(--mobile-offset);left:var(--mobile-offset);width:100%}[data-sonner-toaster] [data-sonner-toast]{left:0;right:0;width:calc(100% - var(--mobile-offset) * 2)}[data-sonner-toaster][data-x-position=left]{left:var(--mobile-offset)}[data-sonner-toaster][data-y-position=bottom]{bottom:20px}[data-sonner-toaster][data-y-position=top]{top:20px}[data-sonner-toaster][data-x-position=center]{left:var(--mobile-offset);right:var(--mobile-offset);transform:none}}[data-sonner-toaster][data-theme=light]{--normal-bg: #fff;--normal-border: var(--gray4);--normal-text: var(--gray12);--success-bg: hsl(143, 85%, 96%);--success-border: hsl(145, 92%, 91%);--success-text: hsl(140, 100%, 27%);--info-bg: hsl(208, 100%, 97%);--info-border: hsl(221, 91%, 91%);--info-text: hsl(210, 92%, 45%);--warning-bg: hsl(49, 100%, 97%);--warning-border: hsl(49, 91%, 91%);--warning-text: hsl(31, 92%, 45%);--error-bg: hsl(359, 100%, 97%);--error-border: hsl(359, 100%, 94%);--error-text: hsl(360, 100%, 45%)}[data-sonner-toaster][data-theme=light] [data-sonner-toast][data-invert=true]{--normal-bg: #000;--normal-border: hsl(0, 0%, 20%);--normal-text: var(--gray1)}[data-sonner-toaster][data-theme=dark] [data-sonner-toast][data-invert=true]{--normal-bg: #fff;--normal-border: var(--gray3);--normal-text: var(--gray12)}[data-sonner-toaster][data-theme=dark]{--normal-bg: #000;--normal-border: hsl(0, 0%, 20%);--normal-text: var(--gray1);--success-bg: hsl(150, 100%, 6%);--success-border: hsl(147, 100%, 12%);--success-text: hsl(150, 86%, 65%);--info-bg: hsl(215, 100%, 6%);--info-border: hsl(223, 100%, 12%);--info-text: hsl(216, 87%, 65%);--warning-bg: hsl(64, 100%, 6%);--warning-border: hsl(60, 100%, 12%);--warning-text: hsl(46, 87%, 65%);--error-bg: hsl(358, 76%, 10%);--error-border: hsl(357, 89%, 16%);--error-text: hsl(358, 100%, 81%)}[data-rich-colors=true] [data-sonner-toast][data-type=success],[data-rich-colors=true] [data-sonner-toast][data-type=success] [data-close-button]{background:var(--success-bg);border-color:var(--success-border);color:var(--success-text)}[data-rich-colors=true] [data-sonner-toast][data-type=info],[data-rich-colors=true] [data-sonner-toast][data-type=info] [data-close-button]{background:var(--info-bg);border-color:var(--info-border);color:var(--info-text)}[data-rich-colors=true] [data-sonner-toast][data-type=warning],[data-rich-colors=true] [data-sonner-toast][data-type=warning] [data-close-button]{background:var(--warning-bg);border-color:var(--warning-border);color:var(--warning-text)}[data-rich-colors=true] [data-sonner-toast][data-type=error],[data-rich-colors=true] [data-sonner-toast][data-type=error] [data-close-button]{background:var(--error-bg);border-color:var(--error-border);color:var(--error-text)}.sonner-loading-wrapper{--size: 16px;height:var(--size);width:var(--size);position:absolute;inset:0;z-index:10}.sonner-loading-wrapper[data-visible=false]{transform-origin:center;animation:sonner-fade-out .2s ease forwards}.sonner-spinner{position:relative;top:50%;left:50%;height:var(--size);width:var(--size)}.sonner-loading-bar{animation:sonner-spin 1.2s linear infinite;background:var(--gray11);border-radius:6px;height:8%;left:-10%;position:absolute;top:-3.9%;width:24%}.sonner-loading-bar:nth-child(1){animation-delay:-1.2s;transform:rotate(.0001deg) translate(146%)}.sonner-loading-bar:nth-child(2){animation-delay:-1.1s;transform:rotate(30deg) translate(146%)}.sonner-loading-bar:nth-child(3){animation-delay:-1s;transform:rotate(60deg) translate(146%)}.sonner-loading-bar:nth-child(4){animation-delay:-.9s;transform:rotate(90deg) translate(146%)}.sonner-loading-bar:nth-child(5){animation-delay:-.8s;transform:rotate(120deg) translate(146%)}.sonner-loading-bar:nth-child(6){animation-delay:-.7s;transform:rotate(150deg) translate(146%)}.sonner-loading-bar:nth-child(7){animation-delay:-.6s;transform:rotate(180deg) translate(146%)}.sonner-loading-bar:nth-child(8){animation-delay:-.5s;transform:rotate(210deg) translate(146%)}.sonner-loading-bar:nth-child(9){animation-delay:-.4s;transform:rotate(240deg) translate(146%)}.sonner-loading-bar:nth-child(10){animation-delay:-.3s;transform:rotate(270deg) translate(146%)}.sonner-loading-bar:nth-child(11){animation-delay:-.2s;transform:rotate(300deg) translate(146%)}.sonner-loading-bar:nth-child(12){animation-delay:-.1s;transform:rotate(330deg) translate(146%)}@keyframes sonner-fade-in{0%{opacity:0;transform:scale(.8)}to{opacity:1;transform:scale(1)}}@keyframes sonner-fade-out{0%{opacity:1;transform:scale(1)}to{opacity:0;transform:scale(.8)}}@keyframes sonner-spin{0%{opacity:1}to{opacity:.15}}@media (prefers-reduced-motion){[data-sonner-toast],[data-sonner-toast]>*,.sonner-loading-bar{transition:none!important;animation:none!important}}.sonner-loader{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);transform-origin:center;transition:opacity .2s,transform .2s}.sonner-loader[data-visible=false]{opacity:0;transform:scale(.8) translate(-50%,-50%)}
</style><style type="text/css">:where(html[dir="ltr"]),:where([data-sonner-toaster][dir="ltr"]){--toast-icon-margin-start: -3px;--toast-icon-margin-end: 4px;--toast-svg-margin-start: -1px;--toast-svg-margin-end: 0px;--toast-button-margin-start: auto;--toast-button-margin-end: 0;--toast-close-button-start: 0;--toast-close-button-end: unset;--toast-close-button-transform: translate(-35%, -35%)}:where(html[dir="rtl"]),:where([data-sonner-toaster][dir="rtl"]){--toast-icon-margin-start: 4px;--toast-icon-margin-end: -3px;--toast-svg-margin-start: 0px;--toast-svg-margin-end: -1px;--toast-button-margin-start: 0;--toast-button-margin-end: auto;--toast-close-button-start: unset;--toast-close-button-end: 0;--toast-close-button-transform: translate(35%, -35%)}:where([data-sonner-toaster]){position:fixed;width:var(--width);font-family:ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,Noto Sans,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol,Noto Color Emoji;--gray1: hsl(0, 0%, 99%);--gray2: hsl(0, 0%, 97.3%);--gray3: hsl(0, 0%, 95.1%);--gray4: hsl(0, 0%, 93%);--gray5: hsl(0, 0%, 90.9%);--gray6: hsl(0, 0%, 88.7%);--gray7: hsl(0, 0%, 85.8%);--gray8: hsl(0, 0%, 78%);--gray9: hsl(0, 0%, 56.1%);--gray10: hsl(0, 0%, 52.3%);--gray11: hsl(0, 0%, 43.5%);--gray12: hsl(0, 0%, 9%);--border-radius: 8px;box-sizing:border-box;padding:0;margin:0;list-style:none;outline:none;z-index:999999999}:where([data-sonner-toaster][data-x-position="right"]){right:max(var(--offset),env(safe-area-inset-right))}:where([data-sonner-toaster][data-x-position="left"]){left:max(var(--offset),env(safe-area-inset-left))}:where([data-sonner-toaster][data-x-position="center"]){left:50%;transform:translate(-50%)}:where([data-sonner-toaster][data-y-position="top"]){top:max(var(--offset),env(safe-area-inset-top))}:where([data-sonner-toaster][data-y-position="bottom"]){bottom:max(var(--offset),env(safe-area-inset-bottom))}:where([data-sonner-toast]){--y: translateY(100%);--lift-amount: calc(var(--lift) * var(--gap));z-index:var(--z-index);position:absolute;opacity:0;transform:var(--y);filter:blur(0);touch-action:none;transition:transform .4s,opacity .4s,height .4s,box-shadow .2s;box-sizing:border-box;outline:none;overflow-wrap:anywhere}:where([data-sonner-toast][data-styled="true"]){padding:16px;background:var(--normal-bg);border:1px solid var(--normal-border);color:var(--normal-text);border-radius:var(--border-radius);box-shadow:0 4px 12px #0000001a;width:var(--width);font-size:13px;display:flex;align-items:center;gap:6px}:where([data-sonner-toast]:focus-visible){box-shadow:0 4px 12px #0000001a,0 0 0 2px #0003}:where([data-sonner-toast][data-y-position="top"]){top:0;--y: translateY(-100%);--lift: 1;--lift-amount: calc(1 * var(--gap))}:where([data-sonner-toast][data-y-position="bottom"]){bottom:0;--y: translateY(100%);--lift: -1;--lift-amount: calc(var(--lift) * var(--gap))}:where([data-sonner-toast]) :where([data-description]){font-weight:400;line-height:1.4;color:inherit}:where([data-sonner-toast]) :where([data-title]){font-weight:500;line-height:1.5;color:inherit}:where([data-sonner-toast]) :where([data-icon]){display:flex;height:16px;width:16px;position:relative;justify-content:flex-start;align-items:center;flex-shrink:0;margin-left:var(--toast-icon-margin-start);margin-right:var(--toast-icon-margin-end)}:where([data-sonner-toast][data-promise="true"]) :where([data-icon])>svg{opacity:0;transform:scale(.8);transform-origin:center;animation:sonner-fade-in .3s ease forwards}:where([data-sonner-toast]) :where([data-icon])>*{flex-shrink:0}:where([data-sonner-toast]) :where([data-icon]) svg{margin-left:var(--toast-svg-margin-start);margin-right:var(--toast-svg-margin-end)}:where([data-sonner-toast]) :where([data-content]){display:flex;flex-direction:column;gap:2px}[data-sonner-toast][data-styled=true] [data-button]{border-radius:4px;padding-left:8px;padding-right:8px;height:24px;font-size:12px;color:var(--normal-bg);background:var(--normal-text);margin-left:var(--toast-button-margin-start);margin-right:var(--toast-button-margin-end);border:none;cursor:pointer;outline:none;display:flex;align-items:center;flex-shrink:0;transition:opacity .4s,box-shadow .2s}:where([data-sonner-toast]) :where([data-button]):focus-visible{box-shadow:0 0 0 2px #0006}:where([data-sonner-toast]) :where([data-button]):first-of-type{margin-left:var(--toast-button-margin-start);margin-right:var(--toast-button-margin-end)}:where([data-sonner-toast]) :where([data-cancel]){color:var(--normal-text);background:rgba(0,0,0,.08)}:where([data-sonner-toast][data-theme="dark"]) :where([data-cancel]){background:rgba(255,255,255,.3)}:where([data-sonner-toast]) :where([data-close-button]){position:absolute;left:var(--toast-close-button-start);right:var(--toast-close-button-end);top:0;height:20px;width:20px;display:flex;justify-content:center;align-items:center;padding:0;background:var(--gray1);color:var(--gray12);border:1px solid var(--gray4);transform:var(--toast-close-button-transform);border-radius:50%;cursor:pointer;z-index:1;transition:opacity .1s,background .2s,border-color .2s}:where([data-sonner-toast]) :where([data-close-button]):focus-visible{box-shadow:0 4px 12px #0000001a,0 0 0 2px #0003}:where([data-sonner-toast]) :where([data-disabled="true"]){cursor:not-allowed}:where([data-sonner-toast]):hover :where([data-close-button]):hover{background:var(--gray2);border-color:var(--gray5)}:where([data-sonner-toast][data-swiping="true"]):before{content:"";position:absolute;left:0;right:0;height:100%;z-index:-1}:where([data-sonner-toast][data-y-position="top"][data-swiping="true"]):before{bottom:50%;transform:scaleY(3) translateY(50%)}:where([data-sonner-toast][data-y-position="bottom"][data-swiping="true"]):before{top:50%;transform:scaleY(3) translateY(-50%)}:where([data-sonner-toast][data-swiping="false"][data-removed="true"]):before{content:"";position:absolute;inset:0;transform:scaleY(2)}:where([data-sonner-toast]):after{content:"";position:absolute;left:0;height:calc(var(--gap) + 1px);bottom:100%;width:100%}:where([data-sonner-toast][data-mounted="true"]){--y: translateY(0);opacity:1}:where([data-sonner-toast][data-expanded="false"][data-front="false"]){--scale: var(--toasts-before) * .05 + 1;--y: translateY(calc(var(--lift-amount) * var(--toasts-before))) scale(calc(-1 * var(--scale)));height:var(--front-toast-height)}:where([data-sonner-toast])>*{transition:opacity .4s}:where([data-sonner-toast][data-expanded="false"][data-front="false"][data-styled="true"])>*{opacity:0}:where([data-sonner-toast][data-visible="false"]){opacity:0;pointer-events:none}:where([data-sonner-toast][data-mounted="true"][data-expanded="true"]){--y: translateY(calc(var(--lift) * var(--offset)));height:var(--initial-height)}:where([data-sonner-toast][data-removed="true"][data-front="true"][data-swipe-out="false"]){--y: translateY(calc(var(--lift) * -100%));opacity:0}:where([data-sonner-toast][data-removed="true"][data-front="false"][data-swipe-out="false"][data-expanded="true"]){--y: translateY(calc(var(--lift) * var(--offset) + var(--lift) * -100%));opacity:0}:where([data-sonner-toast][data-removed="true"][data-front="false"][data-swipe-out="false"][data-expanded="false"]){--y: translateY(40%);opacity:0;transition:transform .5s,opacity .2s}:where([data-sonner-toast][data-removed="true"][data-front="false"]):before{height:calc(var(--initial-height) + 20%)}[data-sonner-toast][data-swiping=true]{transform:var(--y) translateY(var(--swipe-amount, 0px));transition:none}[data-sonner-toast][data-swipe-out=true][data-y-position=bottom],[data-sonner-toast][data-swipe-out=true][data-y-position=top]{animation:swipe-out .2s ease-out forwards}@keyframes swipe-out{0%{transform:translateY(calc(var(--lift) * var(--offset) + var(--swipe-amount)));opacity:1}to{transform:translateY(calc(var(--lift) * var(--offset) + var(--swipe-amount) + var(--lift) * -100%));opacity:0}}@media (max-width: 600px){[data-sonner-toaster]{position:fixed;--mobile-offset: 16px;right:var(--mobile-offset);left:var(--mobile-offset);width:100%}[data-sonner-toaster] [data-sonner-toast]{left:0;right:0;width:calc(100% - var(--mobile-offset) * 2)}[data-sonner-toaster][data-x-position=left]{left:var(--mobile-offset)}[data-sonner-toaster][data-y-position=bottom]{bottom:20px}[data-sonner-toaster][data-y-position=top]{top:20px}[data-sonner-toaster][data-x-position=center]{left:var(--mobile-offset);right:var(--mobile-offset);transform:none}}[data-sonner-toaster][data-theme=light]{--normal-bg: #fff;--normal-border: var(--gray4);--normal-text: var(--gray12);--success-bg: hsl(143, 85%, 96%);--success-border: hsl(145, 92%, 91%);--success-text: hsl(140, 100%, 27%);--info-bg: hsl(208, 100%, 97%);--info-border: hsl(221, 91%, 91%);--info-text: hsl(210, 92%, 45%);--warning-bg: hsl(49, 100%, 97%);--warning-border: hsl(49, 91%, 91%);--warning-text: hsl(31, 92%, 45%);--error-bg: hsl(359, 100%, 97%);--error-border: hsl(359, 100%, 94%);--error-text: hsl(360, 100%, 45%)}[data-sonner-toaster][data-theme=light] [data-sonner-toast][data-invert=true]{--normal-bg: #000;--normal-border: hsl(0, 0%, 20%);--normal-text: var(--gray1)}[data-sonner-toaster][data-theme=dark] [data-sonner-toast][data-invert=true]{--normal-bg: #fff;--normal-border: var(--gray3);--normal-text: var(--gray12)}[data-sonner-toaster][data-theme=dark]{--normal-bg: #000;--normal-border: hsl(0, 0%, 20%);--normal-text: var(--gray1);--success-bg: hsl(150, 100%, 6%);--success-border: hsl(147, 100%, 12%);--success-text: hsl(150, 86%, 65%);--info-bg: hsl(215, 100%, 6%);--info-border: hsl(223, 100%, 12%);--info-text: hsl(216, 87%, 65%);--warning-bg: hsl(64, 100%, 6%);--warning-border: hsl(60, 100%, 12%);--warning-text: hsl(46, 87%, 65%);--error-bg: hsl(358, 76%, 10%);--error-border: hsl(357, 89%, 16%);--error-text: hsl(358, 100%, 81%)}[data-rich-colors=true] [data-sonner-toast][data-type=success],[data-rich-colors=true] [data-sonner-toast][data-type=success] [data-close-button]{background:var(--success-bg);border-color:var(--success-border);color:var(--success-text)}[data-rich-colors=true] [data-sonner-toast][data-type=info],[data-rich-colors=true] [data-sonner-toast][data-type=info] [data-close-button]{background:var(--info-bg);border-color:var(--info-border);color:var(--info-text)}[data-rich-colors=true] [data-sonner-toast][data-type=warning],[data-rich-colors=true] [data-sonner-toast][data-type=warning] [data-close-button]{background:var(--warning-bg);border-color:var(--warning-border);color:var(--warning-text)}[data-rich-colors=true] [data-sonner-toast][data-type=error],[data-rich-colors=true] [data-sonner-toast][data-type=error] [data-close-button]{background:var(--error-bg);border-color:var(--error-border);color:var(--error-text)}.sonner-loading-wrapper{--size: 16px;height:var(--size);width:var(--size);position:absolute;inset:0;z-index:10}.sonner-loading-wrapper[data-visible=false]{transform-origin:center;animation:sonner-fade-out .2s ease forwards}.sonner-spinner{position:relative;top:50%;left:50%;height:var(--size);width:var(--size)}.sonner-loading-bar{animation:sonner-spin 1.2s linear infinite;background:var(--gray11);border-radius:6px;height:8%;left:-10%;position:absolute;top:-3.9%;width:24%}.sonner-loading-bar:nth-child(1){animation-delay:-1.2s;transform:rotate(.0001deg) translate(146%)}.sonner-loading-bar:nth-child(2){animation-delay:-1.1s;transform:rotate(30deg) translate(146%)}.sonner-loading-bar:nth-child(3){animation-delay:-1s;transform:rotate(60deg) translate(146%)}.sonner-loading-bar:nth-child(4){animation-delay:-.9s;transform:rotate(90deg) translate(146%)}.sonner-loading-bar:nth-child(5){animation-delay:-.8s;transform:rotate(120deg) translate(146%)}.sonner-loading-bar:nth-child(6){animation-delay:-.7s;transform:rotate(150deg) translate(146%)}.sonner-loading-bar:nth-child(7){animation-delay:-.6s;transform:rotate(180deg) translate(146%)}.sonner-loading-bar:nth-child(8){animation-delay:-.5s;transform:rotate(210deg) translate(146%)}.sonner-loading-bar:nth-child(9){animation-delay:-.4s;transform:rotate(240deg) translate(146%)}.sonner-loading-bar:nth-child(10){animation-delay:-.3s;transform:rotate(270deg) translate(146%)}.sonner-loading-bar:nth-child(11){animation-delay:-.2s;transform:rotate(300deg) translate(146%)}.sonner-loading-bar:nth-child(12){animation-delay:-.1s;transform:rotate(330deg) translate(146%)}@keyframes sonner-fade-in{0%{opacity:0;transform:scale(.8)}to{opacity:1;transform:scale(1)}}@keyframes sonner-fade-out{0%{opacity:1;transform:scale(1)}to{opacity:0;transform:scale(.8)}}@keyframes sonner-spin{0%{opacity:1}to{opacity:.15}}@media (prefers-reduced-motion){[data-sonner-toast],[data-sonner-toast]>*,.sonner-loading-bar{transition:none!important;animation:none!important}}.sonner-loader{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);transform-origin:center;transition:opacity .2s,transform .2s}.sonner-loader[data-visible=false]{opacity:0;transform:scale(.8) translate(-50%,-50%)}
</style><style type="text/css">:where(html[dir="ltr"]),:where([data-sonner-toaster][dir="ltr"]){--toast-icon-margin-start: -3px;--toast-icon-margin-end: 4px;--toast-svg-margin-start: -1px;--toast-svg-margin-end: 0px;--toast-button-margin-start: auto;--toast-button-margin-end: 0;--toast-close-button-start: 0;--toast-close-button-end: unset;--toast-close-button-transform: translate(-35%, -35%)}:where(html[dir="rtl"]),:where([data-sonner-toaster][dir="rtl"]){--toast-icon-margin-start: 4px;--toast-icon-margin-end: -3px;--toast-svg-margin-start: 0px;--toast-svg-margin-end: -1px;--toast-button-margin-start: 0;--toast-button-margin-end: auto;--toast-close-button-start: unset;--toast-close-button-end: 0;--toast-close-button-transform: translate(35%, -35%)}:where([data-sonner-toaster]){position:fixed;width:var(--width);font-family:ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,Noto Sans,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol,Noto Color Emoji;--gray1: hsl(0, 0%, 99%);--gray2: hsl(0, 0%, 97.3%);--gray3: hsl(0, 0%, 95.1%);--gray4: hsl(0, 0%, 93%);--gray5: hsl(0, 0%, 90.9%);--gray6: hsl(0, 0%, 88.7%);--gray7: hsl(0, 0%, 85.8%);--gray8: hsl(0, 0%, 78%);--gray9: hsl(0, 0%, 56.1%);--gray10: hsl(0, 0%, 52.3%);--gray11: hsl(0, 0%, 43.5%);--gray12: hsl(0, 0%, 9%);--border-radius: 8px;box-sizing:border-box;padding:0;margin:0;list-style:none;outline:none;z-index:999999999}:where([data-sonner-toaster][data-x-position="right"]){right:max(var(--offset),env(safe-area-inset-right))}:where([data-sonner-toaster][data-x-position="left"]){left:max(var(--offset),env(safe-area-inset-left))}:where([data-sonner-toaster][data-x-position="center"]){left:50%;transform:translate(-50%)}:where([data-sonner-toaster][data-y-position="top"]){top:max(var(--offset),env(safe-area-inset-top))}:where([data-sonner-toaster][data-y-position="bottom"]){bottom:max(var(--offset),env(safe-area-inset-bottom))}:where([data-sonner-toast]){--y: translateY(100%);--lift-amount: calc(var(--lift) * var(--gap));z-index:var(--z-index);position:absolute;opacity:0;transform:var(--y);filter:blur(0);touch-action:none;transition:transform .4s,opacity .4s,height .4s,box-shadow .2s;box-sizing:border-box;outline:none;overflow-wrap:anywhere}:where([data-sonner-toast][data-styled="true"]){padding:16px;background:var(--normal-bg);border:1px solid var(--normal-border);color:var(--normal-text);border-radius:var(--border-radius);box-shadow:0 4px 12px #0000001a;width:var(--width);font-size:13px;display:flex;align-items:center;gap:6px}:where([data-sonner-toast]:focus-visible){box-shadow:0 4px 12px #0000001a,0 0 0 2px #0003}:where([data-sonner-toast][data-y-position="top"]){top:0;--y: translateY(-100%);--lift: 1;--lift-amount: calc(1 * var(--gap))}:where([data-sonner-toast][data-y-position="bottom"]){bottom:0;--y: translateY(100%);--lift: -1;--lift-amount: calc(var(--lift) * var(--gap))}:where([data-sonner-toast]) :where([data-description]){font-weight:400;line-height:1.4;color:inherit}:where([data-sonner-toast]) :where([data-title]){font-weight:500;line-height:1.5;color:inherit}:where([data-sonner-toast]) :where([data-icon]){display:flex;height:16px;width:16px;position:relative;justify-content:flex-start;align-items:center;flex-shrink:0;margin-left:var(--toast-icon-margin-start);margin-right:var(--toast-icon-margin-end)}:where([data-sonner-toast][data-promise="true"]) :where([data-icon])>svg{opacity:0;transform:scale(.8);transform-origin:center;animation:sonner-fade-in .3s ease forwards}:where([data-sonner-toast]) :where([data-icon])>*{flex-shrink:0}:where([data-sonner-toast]) :where([data-icon]) svg{margin-left:var(--toast-svg-margin-start);margin-right:var(--toast-svg-margin-end)}:where([data-sonner-toast]) :where([data-content]){display:flex;flex-direction:column;gap:2px}[data-sonner-toast][data-styled=true] [data-button]{border-radius:4px;padding-left:8px;padding-right:8px;height:24px;font-size:12px;color:var(--normal-bg);background:var(--normal-text);margin-left:var(--toast-button-margin-start);margin-right:var(--toast-button-margin-end);border:none;cursor:pointer;outline:none;display:flex;align-items:center;flex-shrink:0;transition:opacity .4s,box-shadow .2s}:where([data-sonner-toast]) :where([data-button]):focus-visible{box-shadow:0 0 0 2px #0006}:where([data-sonner-toast]) :where([data-button]):first-of-type{margin-left:var(--toast-button-margin-start);margin-right:var(--toast-button-margin-end)}:where([data-sonner-toast]) :where([data-cancel]){color:var(--normal-text);background:rgba(0,0,0,.08)}:where([data-sonner-toast][data-theme="dark"]) :where([data-cancel]){background:rgba(255,255,255,.3)}:where([data-sonner-toast]) :where([data-close-button]){position:absolute;left:var(--toast-close-button-start);right:var(--toast-close-button-end);top:0;height:20px;width:20px;display:flex;justify-content:center;align-items:center;padding:0;background:var(--gray1);color:var(--gray12);border:1px solid var(--gray4);transform:var(--toast-close-button-transform);border-radius:50%;cursor:pointer;z-index:1;transition:opacity .1s,background .2s,border-color .2s}:where([data-sonner-toast]) :where([data-close-button]):focus-visible{box-shadow:0 4px 12px #0000001a,0 0 0 2px #0003}:where([data-sonner-toast]) :where([data-disabled="true"]){cursor:not-allowed}:where([data-sonner-toast]):hover :where([data-close-button]):hover{background:var(--gray2);border-color:var(--gray5)}:where([data-sonner-toast][data-swiping="true"]):before{content:"";position:absolute;left:0;right:0;height:100%;z-index:-1}:where([data-sonner-toast][data-y-position="top"][data-swiping="true"]):before{bottom:50%;transform:scaleY(3) translateY(50%)}:where([data-sonner-toast][data-y-position="bottom"][data-swiping="true"]):before{top:50%;transform:scaleY(3) translateY(-50%)}:where([data-sonner-toast][data-swiping="false"][data-removed="true"]):before{content:"";position:absolute;inset:0;transform:scaleY(2)}:where([data-sonner-toast]):after{content:"";position:absolute;left:0;height:calc(var(--gap) + 1px);bottom:100%;width:100%}:where([data-sonner-toast][data-mounted="true"]){--y: translateY(0);opacity:1}:where([data-sonner-toast][data-expanded="false"][data-front="false"]){--scale: var(--toasts-before) * .05 + 1;--y: translateY(calc(var(--lift-amount) * var(--toasts-before))) scale(calc(-1 * var(--scale)));height:var(--front-toast-height)}:where([data-sonner-toast])>*{transition:opacity .4s}:where([data-sonner-toast][data-expanded="false"][data-front="false"][data-styled="true"])>*{opacity:0}:where([data-sonner-toast][data-visible="false"]){opacity:0;pointer-events:none}:where([data-sonner-toast][data-mounted="true"][data-expanded="true"]){--y: translateY(calc(var(--lift) * var(--offset)));height:var(--initial-height)}:where([data-sonner-toast][data-removed="true"][data-front="true"][data-swipe-out="false"]){--y: translateY(calc(var(--lift) * -100%));opacity:0}:where([data-sonner-toast][data-removed="true"][data-front="false"][data-swipe-out="false"][data-expanded="true"]){--y: translateY(calc(var(--lift) * var(--offset) + var(--lift) * -100%));opacity:0}:where([data-sonner-toast][data-removed="true"][data-front="false"][data-swipe-out="false"][data-expanded="false"]){--y: translateY(40%);opacity:0;transition:transform .5s,opacity .2s}:where([data-sonner-toast][data-removed="true"][data-front="false"]):before{height:calc(var(--initial-height) + 20%)}[data-sonner-toast][data-swiping=true]{transform:var(--y) translateY(var(--swipe-amount, 0px));transition:none}[data-sonner-toast][data-swipe-out=true][data-y-position=bottom],[data-sonner-toast][data-swipe-out=true][data-y-position=top]{animation:swipe-out .2s ease-out forwards}@keyframes swipe-out{0%{transform:translateY(calc(var(--lift) * var(--offset) + var(--swipe-amount)));opacity:1}to{transform:translateY(calc(var(--lift) * var(--offset) + var(--swipe-amount) + var(--lift) * -100%));opacity:0}}@media (max-width: 600px){[data-sonner-toaster]{position:fixed;--mobile-offset: 16px;right:var(--mobile-offset);left:var(--mobile-offset);width:100%}[data-sonner-toaster] [data-sonner-toast]{left:0;right:0;width:calc(100% - var(--mobile-offset) * 2)}[data-sonner-toaster][data-x-position=left]{left:var(--mobile-offset)}[data-sonner-toaster][data-y-position=bottom]{bottom:20px}[data-sonner-toaster][data-y-position=top]{top:20px}[data-sonner-toaster][data-x-position=center]{left:var(--mobile-offset);right:var(--mobile-offset);transform:none}}[data-sonner-toaster][data-theme=light]{--normal-bg: #fff;--normal-border: var(--gray4);--normal-text: var(--gray12);--success-bg: hsl(143, 85%, 96%);--success-border: hsl(145, 92%, 91%);--success-text: hsl(140, 100%, 27%);--info-bg: hsl(208, 100%, 97%);--info-border: hsl(221, 91%, 91%);--info-text: hsl(210, 92%, 45%);--warning-bg: hsl(49, 100%, 97%);--warning-border: hsl(49, 91%, 91%);--warning-text: hsl(31, 92%, 45%);--error-bg: hsl(359, 100%, 97%);--error-border: hsl(359, 100%, 94%);--error-text: hsl(360, 100%, 45%)}[data-sonner-toaster][data-theme=light] [data-sonner-toast][data-invert=true]{--normal-bg: #000;--normal-border: hsl(0, 0%, 20%);--normal-text: var(--gray1)}[data-sonner-toaster][data-theme=dark] [data-sonner-toast][data-invert=true]{--normal-bg: #fff;--normal-border: var(--gray3);--normal-text: var(--gray12)}[data-sonner-toaster][data-theme=dark]{--normal-bg: #000;--normal-border: hsl(0, 0%, 20%);--normal-text: var(--gray1);--success-bg: hsl(150, 100%, 6%);--success-border: hsl(147, 100%, 12%);--success-text: hsl(150, 86%, 65%);--info-bg: hsl(215, 100%, 6%);--info-border: hsl(223, 100%, 12%);--info-text: hsl(216, 87%, 65%);--warning-bg: hsl(64, 100%, 6%);--warning-border: hsl(60, 100%, 12%);--warning-text: hsl(46, 87%, 65%);--error-bg: hsl(358, 76%, 10%);--error-border: hsl(357, 89%, 16%);--error-text: hsl(358, 100%, 81%)}[data-rich-colors=true] [data-sonner-toast][data-type=success],[data-rich-colors=true] [data-sonner-toast][data-type=success] [data-close-button]{background:var(--success-bg);border-color:var(--success-border);color:var(--success-text)}[data-rich-colors=true] [data-sonner-toast][data-type=info],[data-rich-colors=true] [data-sonner-toast][data-type=info] [data-close-button]{background:var(--info-bg);border-color:var(--info-border);color:var(--info-text)}[data-rich-colors=true] [data-sonner-toast][data-type=warning],[data-rich-colors=true] [data-sonner-toast][data-type=warning] [data-close-button]{background:var(--warning-bg);border-color:var(--warning-border);color:var(--warning-text)}[data-rich-colors=true] [data-sonner-toast][data-type=error],[data-rich-colors=true] [data-sonner-toast][data-type=error] [data-close-button]{background:var(--error-bg);border-color:var(--error-border);color:var(--error-text)}.sonner-loading-wrapper{--size: 16px;height:var(--size);width:var(--size);position:absolute;inset:0;z-index:10}.sonner-loading-wrapper[data-visible=false]{transform-origin:center;animation:sonner-fade-out .2s ease forwards}.sonner-spinner{position:relative;top:50%;left:50%;height:var(--size);width:var(--size)}.sonner-loading-bar{animation:sonner-spin 1.2s linear infinite;background:var(--gray11);border-radius:6px;height:8%;left:-10%;position:absolute;top:-3.9%;width:24%}.sonner-loading-bar:nth-child(1){animation-delay:-1.2s;transform:rotate(.0001deg) translate(146%)}.sonner-loading-bar:nth-child(2){animation-delay:-1.1s;transform:rotate(30deg) translate(146%)}.sonner-loading-bar:nth-child(3){animation-delay:-1s;transform:rotate(60deg) translate(146%)}.sonner-loading-bar:nth-child(4){animation-delay:-.9s;transform:rotate(90deg) translate(146%)}.sonner-loading-bar:nth-child(5){animation-delay:-.8s;transform:rotate(120deg) translate(146%)}.sonner-loading-bar:nth-child(6){animation-delay:-.7s;transform:rotate(150deg) translate(146%)}.sonner-loading-bar:nth-child(7){animation-delay:-.6s;transform:rotate(180deg) translate(146%)}.sonner-loading-bar:nth-child(8){animation-delay:-.5s;transform:rotate(210deg) translate(146%)}.sonner-loading-bar:nth-child(9){animation-delay:-.4s;transform:rotate(240deg) translate(146%)}.sonner-loading-bar:nth-child(10){animation-delay:-.3s;transform:rotate(270deg) translate(146%)}.sonner-loading-bar:nth-child(11){animation-delay:-.2s;transform:rotate(300deg) translate(146%)}.sonner-loading-bar:nth-child(12){animation-delay:-.1s;transform:rotate(330deg) translate(146%)}@keyframes sonner-fade-in{0%{opacity:0;transform:scale(.8)}to{opacity:1;transform:scale(1)}}@keyframes sonner-fade-out{0%{opacity:1;transform:scale(1)}to{opacity:0;transform:scale(.8)}}@keyframes sonner-spin{0%{opacity:1}to{opacity:.15}}@media (prefers-reduced-motion){[data-sonner-toast],[data-sonner-toast]>*,.sonner-loading-bar{transition:none!important;animation:none!important}}.sonner-loader{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);transform-origin:center;transition:opacity .2s,transform .2s}.sonner-loader[data-visible=false]{opacity:0;transform:scale(.8) translate(-50%,-50%)}
</style><style type="text/css">:where(html[dir="ltr"]),:where([data-sonner-toaster][dir="ltr"]){--toast-icon-margin-start: -3px;--toast-icon-margin-end: 4px;--toast-svg-margin-start: -1px;--toast-svg-margin-end: 0px;--toast-button-margin-start: auto;--toast-button-margin-end: 0;--toast-close-button-start: 0;--toast-close-button-end: unset;--toast-close-button-transform: translate(-35%, -35%)}:where(html[dir="rtl"]),:where([data-sonner-toaster][dir="rtl"]){--toast-icon-margin-start: 4px;--toast-icon-margin-end: -3px;--toast-svg-margin-start: 0px;--toast-svg-margin-end: -1px;--toast-button-margin-start: 0;--toast-button-margin-end: auto;--toast-close-button-start: unset;--toast-close-button-end: 0;--toast-close-button-transform: translate(35%, -35%)}:where([data-sonner-toaster]){position:fixed;width:var(--width);font-family:ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,Noto Sans,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol,Noto Color Emoji;--gray1: hsl(0, 0%, 99%);--gray2: hsl(0, 0%, 97.3%);--gray3: hsl(0, 0%, 95.1%);--gray4: hsl(0, 0%, 93%);--gray5: hsl(0, 0%, 90.9%);--gray6: hsl(0, 0%, 88.7%);--gray7: hsl(0, 0%, 85.8%);--gray8: hsl(0, 0%, 78%);--gray9: hsl(0, 0%, 56.1%);--gray10: hsl(0, 0%, 52.3%);--gray11: hsl(0, 0%, 43.5%);--gray12: hsl(0, 0%, 9%);--border-radius: 8px;box-sizing:border-box;padding:0;margin:0;list-style:none;outline:none;z-index:999999999}:where([data-sonner-toaster][data-x-position="right"]){right:max(var(--offset),env(safe-area-inset-right))}:where([data-sonner-toaster][data-x-position="left"]){left:max(var(--offset),env(safe-area-inset-left))}:where([data-sonner-toaster][data-x-position="center"]){left:50%;transform:translate(-50%)}:where([data-sonner-toaster][data-y-position="top"]){top:max(var(--offset),env(safe-area-inset-top))}:where([data-sonner-toaster][data-y-position="bottom"]){bottom:max(var(--offset),env(safe-area-inset-bottom))}:where([data-sonner-toast]){--y: translateY(100%);--lift-amount: calc(var(--lift) * var(--gap));z-index:var(--z-index);position:absolute;opacity:0;transform:var(--y);filter:blur(0);touch-action:none;transition:transform .4s,opacity .4s,height .4s,box-shadow .2s;box-sizing:border-box;outline:none;overflow-wrap:anywhere}:where([data-sonner-toast][data-styled="true"]){padding:16px;background:var(--normal-bg);border:1px solid var(--normal-border);color:var(--normal-text);border-radius:var(--border-radius);box-shadow:0 4px 12px #0000001a;width:var(--width);font-size:13px;display:flex;align-items:center;gap:6px}:where([data-sonner-toast]:focus-visible){box-shadow:0 4px 12px #0000001a,0 0 0 2px #0003}:where([data-sonner-toast][data-y-position="top"]){top:0;--y: translateY(-100%);--lift: 1;--lift-amount: calc(1 * var(--gap))}:where([data-sonner-toast][data-y-position="bottom"]){bottom:0;--y: translateY(100%);--lift: -1;--lift-amount: calc(var(--lift) * var(--gap))}:where([data-sonner-toast]) :where([data-description]){font-weight:400;line-height:1.4;color:inherit}:where([data-sonner-toast]) :where([data-title]){font-weight:500;line-height:1.5;color:inherit}:where([data-sonner-toast]) :where([data-icon]){display:flex;height:16px;width:16px;position:relative;justify-content:flex-start;align-items:center;flex-shrink:0;margin-left:var(--toast-icon-margin-start);margin-right:var(--toast-icon-margin-end)}:where([data-sonner-toast][data-promise="true"]) :where([data-icon])>svg{opacity:0;transform:scale(.8);transform-origin:center;animation:sonner-fade-in .3s ease forwards}:where([data-sonner-toast]) :where([data-icon])>*{flex-shrink:0}:where([data-sonner-toast]) :where([data-icon]) svg{margin-left:var(--toast-svg-margin-start);margin-right:var(--toast-svg-margin-end)}:where([data-sonner-toast]) :where([data-content]){display:flex;flex-direction:column;gap:2px}[data-sonner-toast][data-styled=true] [data-button]{border-radius:4px;padding-left:8px;padding-right:8px;height:24px;font-size:12px;color:var(--normal-bg);background:var(--normal-text);margin-left:var(--toast-button-margin-start);margin-right:var(--toast-button-margin-end);border:none;cursor:pointer;outline:none;display:flex;align-items:center;flex-shrink:0;transition:opacity .4s,box-shadow .2s}:where([data-sonner-toast]) :where([data-button]):focus-visible{box-shadow:0 0 0 2px #0006}:where([data-sonner-toast]) :where([data-button]):first-of-type{margin-left:var(--toast-button-margin-start);margin-right:var(--toast-button-margin-end)}:where([data-sonner-toast]) :where([data-cancel]){color:var(--normal-text);background:rgba(0,0,0,.08)}:where([data-sonner-toast][data-theme="dark"]) :where([data-cancel]){background:rgba(255,255,255,.3)}:where([data-sonner-toast]) :where([data-close-button]){position:absolute;left:var(--toast-close-button-start);right:var(--toast-close-button-end);top:0;height:20px;width:20px;display:flex;justify-content:center;align-items:center;padding:0;background:var(--gray1);color:var(--gray12);border:1px solid var(--gray4);transform:var(--toast-close-button-transform);border-radius:50%;cursor:pointer;z-index:1;transition:opacity .1s,background .2s,border-color .2s}:where([data-sonner-toast]) :where([data-close-button]):focus-visible{box-shadow:0 4px 12px #0000001a,0 0 0 2px #0003}:where([data-sonner-toast]) :where([data-disabled="true"]){cursor:not-allowed}:where([data-sonner-toast]):hover :where([data-close-button]):hover{background:var(--gray2);border-color:var(--gray5)}:where([data-sonner-toast][data-swiping="true"]):before{content:"";position:absolute;left:0;right:0;height:100%;z-index:-1}:where([data-sonner-toast][data-y-position="top"][data-swiping="true"]):before{bottom:50%;transform:scaleY(3) translateY(50%)}:where([data-sonner-toast][data-y-position="bottom"][data-swiping="true"]):before{top:50%;transform:scaleY(3) translateY(-50%)}:where([data-sonner-toast][data-swiping="false"][data-removed="true"]):before{content:"";position:absolute;inset:0;transform:scaleY(2)}:where([data-sonner-toast]):after{content:"";position:absolute;left:0;height:calc(var(--gap) + 1px);bottom:100%;width:100%}:where([data-sonner-toast][data-mounted="true"]){--y: translateY(0);opacity:1}:where([data-sonner-toast][data-expanded="false"][data-front="false"]){--scale: var(--toasts-before) * .05 + 1;--y: translateY(calc(var(--lift-amount) * var(--toasts-before))) scale(calc(-1 * var(--scale)));height:var(--front-toast-height)}:where([data-sonner-toast])>*{transition:opacity .4s}:where([data-sonner-toast][data-expanded="false"][data-front="false"][data-styled="true"])>*{opacity:0}:where([data-sonner-toast][data-visible="false"]){opacity:0;pointer-events:none}:where([data-sonner-toast][data-mounted="true"][data-expanded="true"]){--y: translateY(calc(var(--lift) * var(--offset)));height:var(--initial-height)}:where([data-sonner-toast][data-removed="true"][data-front="true"][data-swipe-out="false"]){--y: translateY(calc(var(--lift) * -100%));opacity:0}:where([data-sonner-toast][data-removed="true"][data-front="false"][data-swipe-out="false"][data-expanded="true"]){--y: translateY(calc(var(--lift) * var(--offset) + var(--lift) * -100%));opacity:0}:where([data-sonner-toast][data-removed="true"][data-front="false"][data-swipe-out="false"][data-expanded="false"]){--y: translateY(40%);opacity:0;transition:transform .5s,opacity .2s}:where([data-sonner-toast][data-removed="true"][data-front="false"]):before{height:calc(var(--initial-height) + 20%)}[data-sonner-toast][data-swiping=true]{transform:var(--y) translateY(var(--swipe-amount, 0px));transition:none}[data-sonner-toast][data-swipe-out=true][data-y-position=bottom],[data-sonner-toast][data-swipe-out=true][data-y-position=top]{animation:swipe-out .2s ease-out forwards}@keyframes swipe-out{0%{transform:translateY(calc(var(--lift) * var(--offset) + var(--swipe-amount)));opacity:1}to{transform:translateY(calc(var(--lift) * var(--offset) + var(--swipe-amount) + var(--lift) * -100%));opacity:0}}@media (max-width: 600px){[data-sonner-toaster]{position:fixed;--mobile-offset: 16px;right:var(--mobile-offset);left:var(--mobile-offset);width:100%}[data-sonner-toaster] [data-sonner-toast]{left:0;right:0;width:calc(100% - var(--mobile-offset) * 2)}[data-sonner-toaster][data-x-position=left]{left:var(--mobile-offset)}[data-sonner-toaster][data-y-position=bottom]{bottom:20px}[data-sonner-toaster][data-y-position=top]{top:20px}[data-sonner-toaster][data-x-position=center]{left:var(--mobile-offset);right:var(--mobile-offset);transform:none}}[data-sonner-toaster][data-theme=light]{--normal-bg: #fff;--normal-border: var(--gray4);--normal-text: var(--gray12);--success-bg: hsl(143, 85%, 96%);--success-border: hsl(145, 92%, 91%);--success-text: hsl(140, 100%, 27%);--info-bg: hsl(208, 100%, 97%);--info-border: hsl(221, 91%, 91%);--info-text: hsl(210, 92%, 45%);--warning-bg: hsl(49, 100%, 97%);--warning-border: hsl(49, 91%, 91%);--warning-text: hsl(31, 92%, 45%);--error-bg: hsl(359, 100%, 97%);--error-border: hsl(359, 100%, 94%);--error-text: hsl(360, 100%, 45%)}[data-sonner-toaster][data-theme=light] [data-sonner-toast][data-invert=true]{--normal-bg: #000;--normal-border: hsl(0, 0%, 20%);--normal-text: var(--gray1)}[data-sonner-toaster][data-theme=dark] [data-sonner-toast][data-invert=true]{--normal-bg: #fff;--normal-border: var(--gray3);--normal-text: var(--gray12)}[data-sonner-toaster][data-theme=dark]{--normal-bg: #000;--normal-border: hsl(0, 0%, 20%);--normal-text: var(--gray1);--success-bg: hsl(150, 100%, 6%);--success-border: hsl(147, 100%, 12%);--success-text: hsl(150, 86%, 65%);--info-bg: hsl(215, 100%, 6%);--info-border: hsl(223, 100%, 12%);--info-text: hsl(216, 87%, 65%);--warning-bg: hsl(64, 100%, 6%);--warning-border: hsl(60, 100%, 12%);--warning-text: hsl(46, 87%, 65%);--error-bg: hsl(358, 76%, 10%);--error-border: hsl(357, 89%, 16%);--error-text: hsl(358, 100%, 81%)}[data-rich-colors=true] [data-sonner-toast][data-type=success],[data-rich-colors=true] [data-sonner-toast][data-type=success] [data-close-button]{background:var(--success-bg);border-color:var(--success-border);color:var(--success-text)}[data-rich-colors=true] [data-sonner-toast][data-type=info],[data-rich-colors=true] [data-sonner-toast][data-type=info] [data-close-button]{background:var(--info-bg);border-color:var(--info-border);color:var(--info-text)}[data-rich-colors=true] [data-sonner-toast][data-type=warning],[data-rich-colors=true] [data-sonner-toast][data-type=warning] [data-close-button]{background:var(--warning-bg);border-color:var(--warning-border);color:var(--warning-text)}[data-rich-colors=true] [data-sonner-toast][data-type=error],[data-rich-colors=true] [data-sonner-toast][data-type=error] [data-close-button]{background:var(--error-bg);border-color:var(--error-border);color:var(--error-text)}.sonner-loading-wrapper{--size: 16px;height:var(--size);width:var(--size);position:absolute;inset:0;z-index:10}.sonner-loading-wrapper[data-visible=false]{transform-origin:center;animation:sonner-fade-out .2s ease forwards}.sonner-spinner{position:relative;top:50%;left:50%;height:var(--size);width:var(--size)}.sonner-loading-bar{animation:sonner-spin 1.2s linear infinite;background:var(--gray11);border-radius:6px;height:8%;left:-10%;position:absolute;top:-3.9%;width:24%}.sonner-loading-bar:nth-child(1){animation-delay:-1.2s;transform:rotate(.0001deg) translate(146%)}.sonner-loading-bar:nth-child(2){animation-delay:-1.1s;transform:rotate(30deg) translate(146%)}.sonner-loading-bar:nth-child(3){animation-delay:-1s;transform:rotate(60deg) translate(146%)}.sonner-loading-bar:nth-child(4){animation-delay:-.9s;transform:rotate(90deg) translate(146%)}.sonner-loading-bar:nth-child(5){animation-delay:-.8s;transform:rotate(120deg) translate(146%)}.sonner-loading-bar:nth-child(6){animation-delay:-.7s;transform:rotate(150deg) translate(146%)}.sonner-loading-bar:nth-child(7){animation-delay:-.6s;transform:rotate(180deg) translate(146%)}.sonner-loading-bar:nth-child(8){animation-delay:-.5s;transform:rotate(210deg) translate(146%)}.sonner-loading-bar:nth-child(9){animation-delay:-.4s;transform:rotate(240deg) translate(146%)}.sonner-loading-bar:nth-child(10){animation-delay:-.3s;transform:rotate(270deg) translate(146%)}.sonner-loading-bar:nth-child(11){animation-delay:-.2s;transform:rotate(300deg) translate(146%)}.sonner-loading-bar:nth-child(12){animation-delay:-.1s;transform:rotate(330deg) translate(146%)}@keyframes sonner-fade-in{0%{opacity:0;transform:scale(.8)}to{opacity:1;transform:scale(1)}}@keyframes sonner-fade-out{0%{opacity:1;transform:scale(1)}to{opacity:0;transform:scale(.8)}}@keyframes sonner-spin{0%{opacity:1}to{opacity:.15}}@media (prefers-reduced-motion){[data-sonner-toast],[data-sonner-toast]>*,.sonner-loading-bar{transition:none!important;animation:none!important}}.sonner-loader{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);transform-origin:center;transition:opacity .2s,transform .2s}.sonner-loader[data-visible=false]{opacity:0;transform:scale(.8) translate(-50%,-50%)}
</style><link type="text/css" rel="Stylesheet" href="https://uicdn.toast.com/editor/3.2.1/toastui-editor.min.css"><style data-for="[data-spr-block-parent-id="eff2e511-ea33-4337-a8be-e2db76f3037c"]">[data-spr-block-parent-id="eff2e511-ea33-4337-a8be-e2db76f3037c"] .sw-font-size-m { font-size: 1rem!important; } [data-spr-block-parent-id="eff2e511-ea33-4337-a8be-e2db76f3037c"] .sw-text-color-default { } [data-spr-block-parent-id="eff2e511-ea33-4337-a8be-e2db76f3037c"] .sw-font-family-default { } [data-spr-block-parent-id="eff2e511-ea33-4337-a8be-e2db76f3037c"] .sw-font-weight-normal { font-weight: 400!important; } [data-spr-block-parent-id="eff2e511-ea33-4337-a8be-e2db76f3037c"] .sw-border-radius-default { } [data-spr-block-parent-id="eff2e511-ea33-4337-a8be-e2db76f3037c"] .sw-background-color-default { } [data-spr-block-parent-id="eff2e511-ea33-4337-a8be-e2db76f3037c"] .sw-padding-left-2xs { padding-left: 1.5rem!important; } [data-spr-block-parent-id="eff2e511-ea33-4337-a8be-e2db76f3037c"] .sw-padding-right-2xs { padding-right: 1.5rem!important; } [data-spr-block-parent-id="eff2e511-ea33-4337-a8be-e2db76f3037c"] .sw-padding-top-5xs { padding-top: 0.75rem!important; } [data-spr-block-parent-id="eff2e511-ea33-4337-a8be-e2db76f3037c"] .sw-padding-bottom-5xs { padding-bottom: 0.75rem!important; } [data-spr-block-parent-id="eff2e511-ea33-4337-a8be-e2db76f3037c"] .sw-border-style-none { border-style: none!important; } [data-spr-block-parent-id="eff2e511-ea33-4337-a8be-e2db76f3037c"] .sw-border-width-xs { border-width: 1px!important; } [data-spr-block-parent-id="eff2e511-ea33-4337-a8be-e2db76f3037c"] .sw-border-color-000000 { border-color: #000000!important; } [data-spr-block-parent-id="eff2e511-ea33-4337-a8be-e2db76f3037c"] .sw-letter-spacing-normal { letter-spacing: 0rem!important; } [data-spr-block-parent-id="eff2e511-ea33-4337-a8be-e2db76f3037c"] .sw-background-color-ffffff { background-color: #ffffff!important; } [data-spr-block-parent-id="eff2e511-ea33-4337-a8be-e2db76f3037c"] .sw-padding-top-2xl { padding-top: 6rem!important; } [data-spr-block-parent-id="eff2e511-ea33-4337-a8be-e2db76f3037c"] .sw-padding-bottom-3xs { padding-bottom: 1.25rem!important; } [data-spr-block-parent-id="eff2e511-ea33-4337-a8be-e2db76f3037c"] .sw-border-top-style-none { border-top-style: none!important; } [data-spr-block-parent-id="eff2e511-ea33-4337-a8be-e2db76f3037c"] .sw-border-top-width-xs { border-top-width: 1px!important; } [data-spr-block-parent-id="eff2e511-ea33-4337-a8be-e2db76f3037c"] .sw-border-top-color-000000 { border-top-color: #000000!important; } [data-spr-block-parent-id="eff2e511-ea33-4337-a8be-e2db76f3037c"] .sw-border-bottom-style-none { border-bottom-style: none!important; } [data-spr-block-parent-id="eff2e511-ea33-4337-a8be-e2db76f3037c"] .sw-border-bottom-width-xs { border-bottom-width: 1px!important; } [data-spr-block-parent-id="eff2e511-ea33-4337-a8be-e2db76f3037c"] .sw-border-bottom-color-000000 { border-bottom-color: #000000!important; } [data-spr-block-parent-id="eff2e511-ea33-4337-a8be-e2db76f3037c"] .sw-font-size-5xl { font-size: 3rem!important; } [data-spr-block-parent-id="eff2e511-ea33-4337-a8be-e2db76f3037c"] .sw-font-weight-default { } [data-spr-block-parent-id="eff2e511-ea33-4337-a8be-e2db76f3037c"] .sw-padding-top-none { padding-top: 0rem!important; } [data-spr-block-parent-id="eff2e511-ea33-4337-a8be-e2db76f3037c"] .sw-padding-bottom-2xs { padding-bottom: 1.5rem!important; } [data-spr-block-parent-id="eff2e511-ea33-4337-a8be-e2db76f3037c"] .sw-line-height-normal { line-height: 1.5!important; } [data-spr-block-parent-id="eff2e511-ea33-4337-a8be-e2db76f3037c"] .sw-padding-bottom-xs { padding-bottom: 2rem!important; } [data-spr-block-parent-id="eff2e511-ea33-4337-a8be-e2db76f3037c"] .sw-percentage-width-full { width: 100%!important; } [data-spr-block-parent-id="eff2e511-ea33-4337-a8be-e2db76f3037c"] .sw-border-radius-none { border-radius: 0rem!important; } [data-spr-block-parent-id="eff2e511-ea33-4337-a8be-e2db76f3037c"] .sw-background-repeat-no-repeat { background-repeat: no-repeat!important; } [data-spr-block-parent-id="eff2e511-ea33-4337-a8be-e2db76f3037c"] .sw-background-size-cover { background-size: cover!important; } [data-spr-block-parent-id="eff2e511-ea33-4337-a8be-e2db76f3037c"] .sw-background-position-center { background-position: center!important; } [data-spr-block-parent-id="eff2e511-ea33-4337-a8be-e2db76f3037c"] .sw-background-attachment-scroll { background-attachment: scroll!important; } </style><style data-for="[data-spr-block-parent-id="5a89fe04-9d0e-4b9f-b43e-4464d63e9e4d"]">[data-spr-block-parent-id="5a89fe04-9d0e-4b9f-b43e-4464d63e9e4d"] .sw-font-size-m { font-size: 1rem!important; } [data-spr-block-parent-id="5a89fe04-9d0e-4b9f-b43e-4464d63e9e4d"] .sw-text-color-default { } [data-spr-block-parent-id="5a89fe04-9d0e-4b9f-b43e-4464d63e9e4d"] .sw-font-family-default { } [data-spr-block-parent-id="5a89fe04-9d0e-4b9f-b43e-4464d63e9e4d"] .sw-font-weight-normal { font-weight: 400!important; } [data-spr-block-parent-id="5a89fe04-9d0e-4b9f-b43e-4464d63e9e4d"] .sw-border-radius-default { } [data-spr-block-parent-id="5a89fe04-9d0e-4b9f-b43e-4464d63e9e4d"] .sw-background-color-default { } [data-spr-block-parent-id="5a89fe04-9d0e-4b9f-b43e-4464d63e9e4d"] .sw-padding-left-4xs { padding-left: 1rem!important; } [data-spr-block-parent-id="5a89fe04-9d0e-4b9f-b43e-4464d63e9e4d"] .sw-padding-right-4xs { padding-right: 1rem!important; } [data-spr-block-parent-id="5a89fe04-9d0e-4b9f-b43e-4464d63e9e4d"] .sw-padding-top-6xs { padding-top: 0.5rem!important; } [data-spr-block-parent-id="5a89fe04-9d0e-4b9f-b43e-4464d63e9e4d"] .sw-padding-bottom-6xs { padding-bottom: 0.5rem!important; } [data-spr-block-parent-id="5a89fe04-9d0e-4b9f-b43e-4464d63e9e4d"] .sw-border-style-none { border-style: none!important; } [data-spr-block-parent-id="5a89fe04-9d0e-4b9f-b43e-4464d63e9e4d"] .sw-border-width-xs { border-width: 1px!important; } [data-spr-block-parent-id="5a89fe04-9d0e-4b9f-b43e-4464d63e9e4d"] .sw-border-color-000000 { border-color: #000000!important; } [data-spr-block-parent-id="5a89fe04-9d0e-4b9f-b43e-4464d63e9e4d"] .sw-letter-spacing-normal { letter-spacing: 0rem!important; } [data-spr-block-parent-id="5a89fe04-9d0e-4b9f-b43e-4464d63e9e4d"] .sw-background-color-dff4ff { background-color: #dff4ff!important; } [data-spr-block-parent-id="5a89fe04-9d0e-4b9f-b43e-4464d63e9e4d"] .sw-padding-top-xs { padding-top: 2rem!important; } [data-spr-block-parent-id="5a89fe04-9d0e-4b9f-b43e-4464d63e9e4d"] .sw-padding-bottom-xs { padding-bottom: 2rem!important; } [data-spr-block-parent-id="5a89fe04-9d0e-4b9f-b43e-4464d63e9e4d"] .sw-border-top-style-none { border-top-style: none!important; } [data-spr-block-parent-id="5a89fe04-9d0e-4b9f-b43e-4464d63e9e4d"] .sw-border-top-width-none { border-top-width: 0px!important; } [data-spr-block-parent-id="5a89fe04-9d0e-4b9f-b43e-4464d63e9e4d"] .sw-border-top-color-000000 { border-top-color: #000000!important; } [data-spr-block-parent-id="5a89fe04-9d0e-4b9f-b43e-4464d63e9e4d"] .sw-border-bottom-style-none { border-bottom-style: none!important; } [data-spr-block-parent-id="5a89fe04-9d0e-4b9f-b43e-4464d63e9e4d"] .sw-border-bottom-width-none { border-bottom-width: 0px!important; } [data-spr-block-parent-id="5a89fe04-9d0e-4b9f-b43e-4464d63e9e4d"] .sw-border-bottom-color-000000 { border-bottom-color: #000000!important; } [data-spr-block-parent-id="5a89fe04-9d0e-4b9f-b43e-4464d63e9e4d"] .sw-background-color-none { background-color: #none!important; } [data-spr-block-parent-id="5a89fe04-9d0e-4b9f-b43e-4464d63e9e4d"] .sw-border-radius-none { border-radius: 0rem!important; } [data-spr-block-parent-id="5a89fe04-9d0e-4b9f-b43e-4464d63e9e4d"] .sw-box-shadow-none { box-shadow: none!important; } [data-spr-block-parent-id="5a89fe04-9d0e-4b9f-b43e-4464d63e9e4d"] .sw-padding-top-none { padding-top: 0rem!important; } [data-spr-block-parent-id="5a89fe04-9d0e-4b9f-b43e-4464d63e9e4d"] .sw-padding-bottom-none { padding-bottom: 0rem!important; } [data-spr-block-parent-id="5a89fe04-9d0e-4b9f-b43e-4464d63e9e4d"] .sw-background-repeat-no-repeat { background-repeat: no-repeat!important; } [data-spr-block-parent-id="5a89fe04-9d0e-4b9f-b43e-4464d63e9e4d"] .sw-background-size-cover { background-size: cover!important; } [data-spr-block-parent-id="5a89fe04-9d0e-4b9f-b43e-4464d63e9e4d"] .sw-background-position-center { background-position: center!important; } [data-spr-block-parent-id="5a89fe04-9d0e-4b9f-b43e-4464d63e9e4d"] .sw-background-attachment-scroll { background-attachment: scroll!important; } [data-spr-block-parent-id="5a89fe04-9d0e-4b9f-b43e-4464d63e9e4d"] .sw-font-size-3xl { font-size: 1.875rem!important; } [data-spr-block-parent-id="5a89fe04-9d0e-4b9f-b43e-4464d63e9e4d"] .sw-font-weight-default { } [data-spr-block-parent-id="5a89fe04-9d0e-4b9f-b43e-4464d63e9e4d"] .sw-padding-bottom-5xs { padding-bottom: 0.75rem!important; } [data-spr-block-parent-id="5a89fe04-9d0e-4b9f-b43e-4464d63e9e4d"] .sw-line-height-normal { line-height: 1.5!important; } [data-spr-block-parent-id="5a89fe04-9d0e-4b9f-b43e-4464d63e9e4d"] .sw-padding-bottom-3xs { padding-bottom: 1.25rem!important; } [data-spr-block-parent-id="5a89fe04-9d0e-4b9f-b43e-4464d63e9e4d"] .sw-background-color-ffffff { background-color: #ffffff!important; } [data-spr-block-parent-id="5a89fe04-9d0e-4b9f-b43e-4464d63e9e4d"] .sw-text-color-616161 { color: #616161!important; } [data-spr-block-parent-id="5a89fe04-9d0e-4b9f-b43e-4464d63e9e4d"] .sw-border-radius-m { border-radius: 0.25rem!important; } [data-spr-block-parent-id="5a89fe04-9d0e-4b9f-b43e-4464d63e9e4d"] .sw-width-s { width: 24rem!important; } [data-spr-block-parent-id="5a89fe04-9d0e-4b9f-b43e-4464d63e9e4d"] .sw-border-style-solid { border-style: solid!important; } [data-spr-block-parent-id="5a89fe04-9d0e-4b9f-b43e-4464d63e9e4d"] .sw-border-color-C2C2C2 { border-color: #C2C2C2!important; } [data-spr-block-parent-id="5a89fe04-9d0e-4b9f-b43e-4464d63e9e4d"] .sw-font-size-xl { font-size: 1.25rem!important; } </style><style data-for="[data-spr-block-parent-id="d360d1b5-8b77-42b4-a7f7-856f6b31d7ae"]">[data-spr-block-parent-id="d360d1b5-8b77-42b4-a7f7-856f6b31d7ae"] .sw-font-size-m { font-size: 1rem!important; } [data-spr-block-parent-id="d360d1b5-8b77-42b4-a7f7-856f6b31d7ae"] .sw-text-color-616161 { color: #616161!important; } [data-spr-block-parent-id="d360d1b5-8b77-42b4-a7f7-856f6b31d7ae"] .sw-width-11xs { width: 2rem!important; } [data-spr-block-parent-id="d360d1b5-8b77-42b4-a7f7-856f6b31d7ae"] .sw-display-inline-block { display: inline-block!important; } [data-spr-block-parent-id="d360d1b5-8b77-42b4-a7f7-856f6b31d7ae"] .sw-min-width-6xs { min-width: 2rem!important; } [data-spr-block-parent-id="d360d1b5-8b77-42b4-a7f7-856f6b31d7ae"] .sw-margin-right-7xs { margin-right: 0.25rem!important; } [data-spr-block-parent-id="d360d1b5-8b77-42b4-a7f7-856f6b31d7ae"] .sw-text-align-center { text-align: center!important; } [data-spr-block-parent-id="d360d1b5-8b77-42b4-a7f7-856f6b31d7ae"] .sw-border-radius-s { border-radius: 0.125rem!important; } [data-spr-block-parent-id="d360d1b5-8b77-42b4-a7f7-856f6b31d7ae"] .sw-border-color-eaeff4 { border-color: #eaeff4!important; } [data-spr-block-parent-id="d360d1b5-8b77-42b4-a7f7-856f6b31d7ae"] .sw-border-style-solid { border-style: solid!important; } [data-spr-block-parent-id="d360d1b5-8b77-42b4-a7f7-856f6b31d7ae"] .sw-border-width-xs { border-width: 1px!important; } [data-spr-block-parent-id="d360d1b5-8b77-42b4-a7f7-856f6b31d7ae"] .sw-padding-right-7xs { padding-right: 0.25rem!important; } [data-spr-block-parent-id="d360d1b5-8b77-42b4-a7f7-856f6b31d7ae"] .sw-padding-left-7xs { padding-left: 0.25rem!important; } [data-spr-block-parent-id="d360d1b5-8b77-42b4-a7f7-856f6b31d7ae"] .sw-padding-top-7xs { padding-top: 0.25rem!important; } [data-spr-block-parent-id="d360d1b5-8b77-42b4-a7f7-856f6b31d7ae"] .sw-padding-bottom-7xs { padding-bottom: 0.25rem!important; } [data-spr-block-parent-id="d360d1b5-8b77-42b4-a7f7-856f6b31d7ae"] .sw-opacity-2xs { opacity: 0.8!important; } [data-spr-block-parent-id="d360d1b5-8b77-42b4-a7f7-856f6b31d7ae"] .sw-font-size-xs { font-size: 0.75rem!important; } [data-spr-block-parent-id="d360d1b5-8b77-42b4-a7f7-856f6b31d7ae"] .sw-font-family-default { } [data-spr-block-parent-id="d360d1b5-8b77-42b4-a7f7-856f6b31d7ae"] .sw-font-weight-semibold { font-weight: 600!important; } [data-spr-block-parent-id="d360d1b5-8b77-42b4-a7f7-856f6b31d7ae"] .sw-line-height-tight { line-height: 1.25!important; } [data-spr-block-parent-id="d360d1b5-8b77-42b4-a7f7-856f6b31d7ae"] .sw-font-weight-normal { font-weight: 400!important; } [data-spr-block-parent-id="d360d1b5-8b77-42b4-a7f7-856f6b31d7ae"] .sw-letter-spacing-normal { letter-spacing: 0rem!important; } [data-spr-block-parent-id="d360d1b5-8b77-42b4-a7f7-856f6b31d7ae"] .sw-padding-left-none { padding-left: 0rem!important; } [data-spr-block-parent-id="d360d1b5-8b77-42b4-a7f7-856f6b31d7ae"] @media (hover: hover) { .hover\:sw-text-decoration-no-underline:hover { text-decoration: none!important; } } [data-spr-block-parent-id="d360d1b5-8b77-42b4-a7f7-856f6b31d7ae"] .sw-background-color-ffffff { background-color: #ffffff!important; } [data-spr-block-parent-id="d360d1b5-8b77-42b4-a7f7-856f6b31d7ae"] .sw-padding-top-l { padding-top: 4rem!important; } [data-spr-block-parent-id="d360d1b5-8b77-42b4-a7f7-856f6b31d7ae"] .sw-padding-bottom-l { padding-bottom: 4rem!important; } [data-spr-block-parent-id="d360d1b5-8b77-42b4-a7f7-856f6b31d7ae"] .sw-border-top-style-none { border-top-style: none!important; } [data-spr-block-parent-id="d360d1b5-8b77-42b4-a7f7-856f6b31d7ae"] .sw-border-top-width-xs { border-top-width: 1px!important; } [data-spr-block-parent-id="d360d1b5-8b77-42b4-a7f7-856f6b31d7ae"] .sw-border-top-color-000000 { border-top-color: #000000!important; } [data-spr-block-parent-id="d360d1b5-8b77-42b4-a7f7-856f6b31d7ae"] .sw-border-bottom-style-none { border-bottom-style: none!important; } [data-spr-block-parent-id="d360d1b5-8b77-42b4-a7f7-856f6b31d7ae"] .sw-border-bottom-width-xs { border-bottom-width: 1px!important; } [data-spr-block-parent-id="d360d1b5-8b77-42b4-a7f7-856f6b31d7ae"] .sw-border-bottom-color-000000 { border-bottom-color: #000000!important; } [data-spr-block-parent-id="d360d1b5-8b77-42b4-a7f7-856f6b31d7ae"] .sw-margin-top-3xs { margin-top: 1.25rem!important; } [data-spr-block-parent-id="d360d1b5-8b77-42b4-a7f7-856f6b31d7ae"] .sw-margin-bottom-3xs { margin-bottom: 1.25rem!important; } [data-spr-block-parent-id="d360d1b5-8b77-42b4-a7f7-856f6b31d7ae"] .sw-border-top-style-solid { border-top-style: solid!important; } [data-spr-block-parent-id="d360d1b5-8b77-42b4-a7f7-856f6b31d7ae"] .sw-border-top-color-ededed { border-top-color: #ededed!important; } [data-spr-block-parent-id="d360d1b5-8b77-42b4-a7f7-856f6b31d7ae"] .sw-text-color-default { } [data-spr-block-parent-id="d360d1b5-8b77-42b4-a7f7-856f6b31d7ae"] .sw-font-weight-default { } [data-spr-block-parent-id="d360d1b5-8b77-42b4-a7f7-856f6b31d7ae"] .sw-padding-top-none { padding-top: 0rem!important; } [data-spr-block-parent-id="d360d1b5-8b77-42b4-a7f7-856f6b31d7ae"] .sw-padding-bottom-none { padding-bottom: 0rem!important; } [data-spr-block-parent-id="d360d1b5-8b77-42b4-a7f7-856f6b31d7ae"] .sw-display-block { display: block!important; } </style><style data-emotion="css" data-s=""></style><style data-emotion="css-global" data-s=""></style><style data-emotion="css" data-s=""></style><style data-emotion="css" data-s=""></style><style data-for="[data-spr-block-parent-id="cf3a79d4-0aec-4936-9c53-eb7019927fee"]">[data-spr-block-parent-id="cf3a79d4-0aec-4936-9c53-eb7019927fee"] .sw-border-style-none { border-style: none!important; } [data-spr-block-parent-id="cf3a79d4-0aec-4936-9c53-eb7019927fee"] .sw-border-width-xs { border-width: 1px!important; } [data-spr-block-parent-id="cf3a79d4-0aec-4936-9c53-eb7019927fee"] .sw-border-color-000000 { border-color: #000000!important; } [data-spr-block-parent-id="cf3a79d4-0aec-4936-9c53-eb7019927fee"] .sw-border-radius-none { border-radius: 0rem!important; } [data-spr-block-parent-id="cf3a79d4-0aec-4936-9c53-eb7019927fee"] .sw-width-8xs { width: 5rem!important; } [data-spr-block-parent-id="cf3a79d4-0aec-4936-9c53-eb7019927fee"] .sw-background-color-ffffff { background-color: #ffffff!important; } [data-spr-block-parent-id="cf3a79d4-0aec-4936-9c53-eb7019927fee"] .sw-padding-top-2xl { padding-top: 6rem!important; } [data-spr-block-parent-id="cf3a79d4-0aec-4936-9c53-eb7019927fee"] .sw-padding-bottom-2xl { padding-bottom: 6rem!important; } [data-spr-block-parent-id="cf3a79d4-0aec-4936-9c53-eb7019927fee"] .sw-border-top-style-none { border-top-style: none!important; } [data-spr-block-parent-id="cf3a79d4-0aec-4936-9c53-eb7019927fee"] .sw-border-top-width-xs { border-top-width: 1px!important; } [data-spr-block-parent-id="cf3a79d4-0aec-4936-9c53-eb7019927fee"] .sw-border-top-color-000000 { border-top-color: #000000!important; } [data-spr-block-parent-id="cf3a79d4-0aec-4936-9c53-eb7019927fee"] .sw-border-bottom-style-none { border-bottom-style: none!important; } [data-spr-block-parent-id="cf3a79d4-0aec-4936-9c53-eb7019927fee"] .sw-border-bottom-width-xs { border-bottom-width: 1px!important; } [data-spr-block-parent-id="cf3a79d4-0aec-4936-9c53-eb7019927fee"] .sw-border-bottom-color-000000 { border-bottom-color: #000000!important; } [data-spr-block-parent-id="cf3a79d4-0aec-4936-9c53-eb7019927fee"] .sw-text-color-default { } [data-spr-block-parent-id="cf3a79d4-0aec-4936-9c53-eb7019927fee"] .sw-font-size-4xl { font-size: 2.25rem!important; } [data-spr-block-parent-id="cf3a79d4-0aec-4936-9c53-eb7019927fee"] .sw-font-family-default { } [data-spr-block-parent-id="cf3a79d4-0aec-4936-9c53-eb7019927fee"] .sw-font-weight-default { } [data-spr-block-parent-id="cf3a79d4-0aec-4936-9c53-eb7019927fee"] .sw-padding-top-none { padding-top: 0rem!important; } [data-spr-block-parent-id="cf3a79d4-0aec-4936-9c53-eb7019927fee"] .sw-padding-bottom-4xs { padding-bottom: 1rem!important; } [data-spr-block-parent-id="cf3a79d4-0aec-4936-9c53-eb7019927fee"] .sw-letter-spacing-normal { letter-spacing: 0rem!important; } [data-spr-block-parent-id="cf3a79d4-0aec-4936-9c53-eb7019927fee"] .sw-line-height-normal { line-height: 1.5!important; } [data-spr-block-parent-id="cf3a79d4-0aec-4936-9c53-eb7019927fee"] .sw-font-size-xl { font-size: 1.25rem!important; } [data-spr-block-parent-id="cf3a79d4-0aec-4936-9c53-eb7019927fee"] .sw-padding-bottom-3xs { padding-bottom: 1.25rem!important; } </style><style data-emotion="css" data-s=""></style></head>
<body>
<div id="page-content" data-appsubdomain="cu2.softr.app" data-appid="506ef524-5a44-4638-be02-9e237e8fc242" data-pageid="a4a08984-b870-40e0-8098-38b9c9ac1d42" data-workspaceid="710f981e-ebe4-4102-aa31-4033c1238fdd" data-paymentplan="price_1MWTnPIWZwIztnHlUmbZwapp" class="content spr-content-root" data-spr-role="content-root"><div id="home-header2" class="block-405a0576-7b99-44ec-ad7d-61661cf96b6a" category="Header" data-block="header2-v3-1-0" data-spr-block-id="405a0576-7b99-44ec-ad7d-61661cf96b6a" data-spr-role="block-root" data-spr-block-hrid="home-header2" data-spr-block-parent-id="405a0576-7b99-44ec-ad7d-61661cf96b6a"><header class="MuiPaper-root MuiPaper-elevation MuiPaper-elevation4 MuiAppBar-root MuiAppBar-colorPrimary MuiAppBar-positionFixed header2-405a0576-7b99-44ec-ad7d-61661cf96b6a sw-background-color-ffffff sw-padding-top-5xs sw-padding-bottom-5xs sw-border-top-style-none sw-border-top-width-xs sw-border-top-color-000000 sw-border-bottom-style-none sw-border-bottom-width-xs sw-border-bottom-color-000000 MuiBox-root mui-fixed css-19gozzv" data-block-version="3.1.0" data-block-id="405a0576-7b99-44ec-ad7d-61661cf96b6a" data-block-updated="" data-block-created-at="2024-08-03T07:28:36.137"><div class="container MuiBox-root css-0"><div class="MuiToolbar-root MuiToolbar-dense css-1jmxd2t"><a class="navbar-brand" href="/" style="margin-right: 2rem;"><img src="https://assets.softr-files.com/applications/506ef524-5a44-4638-be02-9e237e8fc242/assets/90bff78f-9cab-4637-a670-0c94463cc748.jpeg" alt="" style="width: 5rem;"></a><div class="MuiStack-root css-1gqi8mp"><a class="MuiButtonBase-root MuiButton-root MuiButton-text MuiButton-textPrimary MuiButton-sizeMedium MuiButton-textSizeMedium MuiButton-root MuiButton-text MuiButton-textPrimary MuiButton-sizeMedium MuiButton-textSizeMedium sw-font-size-m sw-text-color-424242 sw-font-family-default sw-font-weight-normal sw-letter-spacing-normal css-z89m3k" tabindex="0" target="_self" href="/jobs"><span class="MuiBox-root css-0">Jobs</span></a><div style="display: flex; align-items: center;"><a class="MuiButtonBase-root MuiButton-root MuiButton-contained MuiButton-containedPrimary MuiButton-sizeMedium MuiButton-containedSizeMedium MuiButton-root MuiButton-contained MuiButton-containedPrimary MuiButton-sizeMedium MuiButton-containedSizeMedium css-r2q58y" tabindex="0" data-element="button" target="" href="/sign-in" style="height: fit-content;"><span class="MuiBox-root css-jf8tht">Sign in</span><span class="MuiTouchRipple-root css-w0pj6f"></span></a><a class="MuiButtonBase-root MuiButton-root MuiButton-contained MuiButton-containedPrimary MuiButton-sizeMedium MuiButton-containedSizeMedium MuiButton-root MuiButton-contained MuiButton-containedPrimary MuiButton-sizeMedium MuiButton-containedSizeMedium css-1mgp0lm" tabindex="0" data-element="button" target="" href="/sign-up" style="height: fit-content;"><span class="MuiBox-root css-jf8tht">Sign up</span><span class="MuiTouchRipple-root css-w0pj6f"></span></a></div></div><div class="MuiStack-root css-ftw35o"><button class="MuiButtonBase-root MuiIconButton-root MuiIconButton-sizeMedium css-wsvuba" tabindex="0" type="button"><svg xmlns="http://www.w3.org/2000/svg" width="32" height="32" fill="#424242" viewBox="0 0 256 256"><rect width="256" height="256" fill="none"></rect><line x1="40" y1="128" x2="216" y2="128" stroke="#424242" stroke-linecap="round" stroke-linejoin="round" stroke-width="16"></line><line x1="40" y1="64" x2="216" y2="64" stroke="#424242" stroke-linecap="round" stroke-linejoin="round" stroke-width="16"></line><line x1="40" y1="192" x2="216" y2="192" stroke="#424242" stroke-linecap="round" stroke-linejoin="round" stroke-width="16"></line></svg></button></div></div></div></header><div class="MuiBox-root css-1j1sh05"></div></div><div id="hero1" class="block-eff2e511-ea33-4337-a8be-e2db76f3037c" category="Hero" data-block="hero1-v3-0-2" data-spr-block-id="eff2e511-ea33-4337-a8be-e2db76f3037c" data-spr-role="block-root" data-spr-block-hrid="hero1" data-spr-block-parent-id="eff2e511-ea33-4337-a8be-e2db76f3037c"><section class="hero1-eff2e511-ea33-4337-a8be-e2db76f3037c sw-background-color-ffffff sw-padding-top-2xl sw-padding-bottom-3xs sw-border-top-style-none sw-border-top-width-xs sw-border-top-color-000000 sw-border-bottom-style-none sw-border-bottom-width-xs sw-border-bottom-color-000000 sw-background-repeat-no-repeat sw-background-size-cover sw-background-position-center sw-background-attachment-scroll MuiBox-root css-0" data-block-version="3.0.2" data-block-id="eff2e511-ea33-4337-a8be-e2db76f3037c" data-block-updated="" data-block-created-at="2024-08-02T11:29:54.452"><div class="container MuiBox-root css-0"><div class="MuiGrid-root MuiGrid-container css-tq05a3"><div class="MuiGrid-root MuiGrid-item MuiGrid-grid-xs-12 MuiGrid-grid-md-5 css-1hyzizf" style="max-width: 100%;"><h1 class="sw-font-size-5xl sw-text-color-default sw-font-family-default sw-font-weight-default sw-padding-top-none sw-padding-bottom-2xs sw-letter-spacing-normal sw-line-height-normal MuiBox-root css-7kxapo">The simplest way to contract and hire</h1><p class="sw-font-size-m sw-text-color-default sw-font-family-default sw-font-weight-default sw-padding-top-none sw-padding-bottom-xs sw-letter-spacing-normal sw-line-height-normal MuiBox-root css-7kxapo">Crews2U Recruit - better than a recruitment agency, we connect you with the best Tradies and Subbies in the industry.</p><div class="MuiBox-root css-4ohxfj"><a class="MuiButtonBase-root MuiButton-root MuiButton-contained MuiButton-containedPrimary MuiButton-sizeMedium MuiButton-containedSizeMedium MuiButton-root MuiButton-contained MuiButton-containedPrimary MuiButton-sizeMedium MuiButton-containedSizeMedium css-1tolafm" tabindex="0" data-element="button" target="_self" href="/sign-up" style="display: flex;"><span class="MuiBox-root css-jf8tht">Sign Up Now</span><span class="MuiTouchRipple-root css-w0pj6f"></span></a><a class="MuiButtonBase-root MuiButton-root MuiButton-contained MuiButton-containedPrimary MuiButton-sizeMedium MuiButton-containedSizeMedium MuiButton-root MuiButton-contained MuiButton-containedPrimary MuiButton-sizeMedium MuiButton-containedSizeMedium css-1tolafm" tabindex="0" data-element="button" target="_self" href="/jobs" style="display: flex;"><span class="MuiBox-root css-jf8tht">See Jobs</span><span class="MuiTouchRipple-root css-w0pj6f"></span></a></div></div><div class="MuiGrid-root MuiGrid-item MuiGrid-grid-xs-12 MuiGrid-grid-md-6 css-1pdy5ci" style="display: flex; justify-content: center; width: 100%;"><img class="sw-percentage-width-full sw-border-style-none sw-border-width-xs sw-border-color-000000 sw-border-radius-none" src="https://assets.softr-files.com/applications/506ef524-5a44-4638-be02-9e237e8fc242/assets/771ba64e-29a1-45d0-918a-faa4ca3c2039.jpeg" alt=""></div></div></div></section></div><div id="cta1" class="block-5a89fe04-9d0e-4b9f-b43e-4464d63e9e4d" category="CTA" data-block="cta3-v3-0-2" data-spr-block-id="5a89fe04-9d0e-4b9f-b43e-4464d63e9e4d" data-spr-role="block-root" data-spr-block-hrid="cta1" data-spr-block-parent-id="5a89fe04-9d0e-4b9f-b43e-4464d63e9e4d"><section class="cta3-5a89fe04-9d0e-4b9f-b43e-4464d63e9e4d sw-background-color-dff4ff sw-padding-top-xs sw-padding-bottom-xs sw-border-top-style-none sw-border-top-width-none sw-border-top-color-000000 sw-border-bottom-style-none sw-border-bottom-width-none sw-border-bottom-color-000000 sw-background-repeat-no-repeat sw-background-size-cover sw-background-position-center sw-background-attachment-scroll MuiBox-root css-0" data-block-version="3.0.2" data-block-id="5a89fe04-9d0e-4b9f-b43e-4464d63e9e4d" data-block-updated="" data-block-created-at="2024-11-14T22:28:47.252"><div class="container MuiBox-root css-0"><div class="MuiGrid-root sw-background-color-none sw-border-style-none sw-border-width-xs sw-border-color-000000 sw-border-radius-none sw-box-shadow-none sw-padding-top-none sw-padding-bottom-none css-1wnhg9f"><div><h2 class="sw-font-size-3xl sw-text-color-default sw-font-family-default sw-font-weight-default sw-padding-top-none sw-padding-bottom-5xs sw-letter-spacing-normal sw-line-height-normal MuiBox-root css-0" style="margin-bottom: 0px;">Join The Community — It's Free</h2><p class="sw-font-size-m sw-text-color-default sw-font-family-default sw-font-weight-default sw-padding-top-none sw-padding-bottom-3xs sw-letter-spacing-normal sw-line-height-normal MuiBox-root css-dpoqzr">Receive information about events, industry updates and more.</p></div><form class="form-inputs MuiBox-root css-y4effa" id="form"><div id="cta1-input" style="width: 24rem;"><div class="form-input-holder"><div class="form-input-component-wrapper"><div class="MuiFormControl-root MuiFormControl-fullWidth MuiTextField-root css-1xagwrm" style="margin-bottom: 16px;"><div class="MuiInputBase-root MuiOutlinedInput-root MuiInputBase-colorPrimary MuiInputBase-fullWidth MuiInputBase-formControl css-1wa7t26"><input aria-invalid="false" id=":r0:" placeholder="Your email" type="text" class="MuiInputBase-input MuiOutlinedInput-input css-q1sikp" value="" name="6ba9fb92"><fieldset aria-hidden="true" class="MuiOutlinedInput-notchedOutline css-igs3ac"><legend class="css-ihdtdm"><span class="notranslate"></span></legend></fieldset></div></div></div></div></div><button class="MuiButtonBase-root MuiButton-root MuiButton-contained MuiButton-containedPrimary MuiButton-sizeMedium MuiButton-containedSizeMedium MuiButton-root MuiButton-contained MuiButton-containedPrimary MuiButton-sizeMedium MuiButton-containedSizeMedium sw-font-size-m sw-text-color-default sw-font-family-default sw-font-weight-normal sw-border-radius-default sw-background-color-default sw-padding-left-4xs sw-padding-right-4xs sw-padding-top-6xs sw-padding-bottom-6xs sw-border-style-none sw-border-width-xs sw-border-color-000000 sw-letter-spacing-normal css-12idv6w" tabindex="0" type="submit" tag="a" label="Join now" id="cta1-button"><span class="MuiBox-root css-jf8tht">Join now</span><span class="MuiTouchRipple-root css-w0pj6f"></span></button></form><p class="sw-font-size-xl sw-text-color-default sw-font-family-default sw-font-weight-default sw-padding-top-none sw-padding-bottom-none sw-letter-spacing-normal" style="visibility: hidden;">Thank you for subscribing!</p></div></div></section></div><div id="partner1" class="block-cf3a79d4-0aec-4936-9c53-eb7019927fee" category="Partner" data-block="partner1-v3-0-1" data-spr-block-id="cf3a79d4-0aec-4936-9c53-eb7019927fee" data-spr-role="block-root" data-spr-block-hrid="partner1" data-spr-block-parent-id="cf3a79d4-0aec-4936-9c53-eb7019927fee"><section class="partner1-cf3a79d4-0aec-4936-9c53-eb7019927fee sw-background-color-ffffff sw-padding-top-2xl sw-padding-bottom-2xl sw-border-top-style-none sw-border-top-width-xs sw-border-top-color-000000 sw-border-bottom-style-none sw-border-bottom-width-xs sw-border-bottom-color-000000 MuiBox-root css-0" data-block-version="3.0.1" data-block-id="cf3a79d4-0aec-4936-9c53-eb7019927fee" data-block-updated="" data-block-created-at="2024-10-29T05:17:04.500"><div class="container MuiBox-root css-0"><div class="MuiBox-root css-xi606m"><h2 class="sw-text-color-default sw-font-size-4xl sw-font-family-default sw-font-weight-default sw-padding-top-none sw-padding-bottom-4xs sw-letter-spacing-normal sw-line-height-normal MuiBox-root css-0">Supported by</h2><p class="sw-text-color-default sw-font-size-xl sw-font-family-default sw-font-weight-default sw-padding-top-none sw-padding-bottom-3xs sw-letter-spacing-normal sw-line-height-normal MuiBox-root css-0">.</p></div><div class="MuiGrid-root MuiGrid-container MuiGrid-spacing-xs-3 css-b5x8ma"><div class="MuiGrid-root MuiGrid-item MuiGrid-grid-xs-12 MuiGrid-grid-md-4 MuiGrid-grid-lg-4 css-56bxt" style="text-align: center;"><a href="/" target=""><img src="https://assets.softr-files.com/applications/506ef524-5a44-4638-be02-9e237e8fc242/assets/545b97a5-a5f0-4146-a8b9-89d5a23573f0.png" class="sw-border-style-none sw-border-width-xs sw-border-color-000000 sw-border-radius-none sw-width-8xs"></a></div><div class="MuiGrid-root MuiGrid-item MuiGrid-grid-xs-12 MuiGrid-grid-md-4 MuiGrid-grid-lg-4 css-56bxt" style="text-align: center;"><a href="/" target=""><img src="https://assets.softr-files.com/applications/506ef524-5a44-4638-be02-9e237e8fc242/assets/d2b34ad3-1b67-4d28-8b08-29cf934edc7b.png" class="sw-border-style-none sw-border-width-xs sw-border-color-000000 sw-border-radius-none sw-width-8xs"></a></div></div></div></section></div><div id="customers-footer1" class="block-d360d1b5-8b77-42b4-a7f7-856f6b31d7ae" category="Footer" data-block="footer3-v3-2-0" data-spr-block-id="d360d1b5-8b77-42b4-a7f7-856f6b31d7ae" data-spr-role="block-root" data-spr-block-hrid="customers-footer1" data-spr-block-parent-id="d360d1b5-8b77-42b4-a7f7-856f6b31d7ae"><section class="footer3-d360d1b5-8b77-42b4-a7f7-856f6b31d7ae sw-background-color-ffffff sw-padding-top-l sw-padding-bottom-l sw-border-top-style-none sw-border-top-width-xs sw-border-top-color-000000 sw-border-bottom-style-none sw-border-bottom-width-xs sw-border-bottom-color-000000 MuiBox-root css-0" data-block-version="3.2.0" data-block-id="d360d1b5-8b77-42b4-a7f7-856f6b31d7ae" data-block-updated="" data-block-created-at="2024-08-02T11:23:29.669"><div class="MuiGrid-root container css-rfnosa"><div class="MuiGrid-root MuiGrid-container css-1d3bbye"><div class="MuiGrid-root MuiGrid-item MuiGrid-grid-xs-12 MuiGrid-grid-md-6 css-1pdy5ci"><p class="sw-font-size-xs sw-text-color-default sw-font-family-default sw-font-weight-default sw-padding-top-none sw-padding-bottom-none sw-display-block">© 2024 C2U Tradie. All rights reserved.</p><a target="_blank" class="sw-font-size-m sw-text-color-616161 sw-width-11xs sw-display-inline-block sw-min-width-6xs sw-margin-right-7xs sw-text-align-center sw-border-radius-s sw-border-color-eaeff4 sw-border-style-solid sw-border-width-xs sw-padding-right-7xs sw-padding-left-7xs sw-padding-top-7xs sw-padding-bottom-7xs sw-opacity-2xs" href="https://www.facebook.com/share/8UmsLEdahCSgi6qC/?mibextid=LQQJ4d" rel="noreferrer" style="max-width: 100%;"><i class="fab fa-facebook-f"></i></a><a target="_blank" class="sw-font-size-m sw-text-color-616161 sw-width-11xs sw-display-inline-block sw-min-width-6xs sw-margin-right-7xs sw-text-align-center sw-border-radius-s sw-border-color-eaeff4 sw-border-style-solid sw-border-width-xs sw-padding-right-7xs sw-padding-left-7xs sw-padding-top-7xs sw-padding-bottom-7xs sw-opacity-2xs" href="https://instagram.com/mycompany" rel="noreferrer" style="max-width: 100%;"><i class="fab fa-instagram"></i></a><a target="_blank" class="sw-font-size-m sw-text-color-616161 sw-width-11xs sw-display-inline-block sw-min-width-6xs sw-margin-right-7xs sw-text-align-center sw-border-radius-s sw-border-color-eaeff4 sw-border-style-solid sw-border-width-xs sw-padding-right-7xs sw-padding-left-7xs sw-padding-top-7xs sw-padding-bottom-7xs sw-opacity-2xs" href="https://www.tiktok.com/@crews2u" rel="noreferrer" style="max-width: 100%;"><i class="fab fa-tiktok"></i></a></div><div class="MuiGrid-root MuiGrid-item MuiGrid-grid-xs-12 MuiGrid-grid-md-6 links css-1pdy5ci"><div class="MuiGrid-root MuiGrid-container css-1d3bbye"><div class="MuiGrid-root MuiGrid-item MuiGrid-grid-xs-6 MuiGrid-grid-sm-6 link-group css-bek0ej" style="overflow: hidden;"><h6 class="sw-font-size-xs sw-text-color-616161 sw-font-family-default sw-font-weight-semibold sw-line-height-tight">Product</h6><a target="" class="single-link sw-font-size-xs sw-text-color-616161 sw-font-family-default sw-font-weight-normal sw-letter-spacing-normal sw-padding-left-none sw-padding-top-7xs sw-padding-bottom-7xs hover:sw-text-decoration-no-underline" href="/">Features</a><a target="" class="single-link sw-font-size-xs sw-text-color-616161 sw-font-family-default sw-font-weight-normal sw-letter-spacing-normal sw-padding-left-none sw-padding-top-7xs sw-padding-bottom-7xs hover:sw-text-decoration-no-underline" href="#pricing1">Pricing</a></div><div class="MuiGrid-root MuiGrid-item MuiGrid-grid-xs-6 MuiGrid-grid-sm-6 link-group css-bek0ej" style="overflow: hidden;"><h6 class="sw-font-size-xs sw-text-color-616161 sw-font-family-default sw-font-weight-semibold sw-line-height-tight">Support</h6><a target="" class="single-link sw-font-size-xs sw-text-color-616161 sw-font-family-default sw-font-weight-normal sw-letter-spacing-normal sw-padding-left-none sw-padding-top-7xs sw-padding-bottom-7xs hover:sw-text-decoration-no-underline" href="/">Help Center</a></div></div></div></div><div class="MuiGrid-root MuiGrid-item MuiGrid-grid-xs-12 css-1wxaqej"><hr class="sw-margin-top-3xs sw-margin-bottom-3xs sw-border-top-style-solid sw-border-top-width-xs sw-border-top-color-ededed"></div><div class="MuiGrid-root MuiGrid-container css-1d3bbye"><div class="MuiGrid-root MuiGrid-item MuiGrid-grid-xs-12 MuiGrid-grid-md-6 css-1pdy5ci"><small class="sw-font-size-xs sw-text-color-616161 sw-font-family-default sw-font-weight-normal ">Made in AU.</small></div><div class="MuiGrid-root MuiGrid-item MuiGrid-grid-xs-12 MuiGrid-grid-md-6 links css-1pdy5ci"><div class="MuiGrid-root MuiGrid-item MuiGrid-grid-xs-6 MuiGrid-grid-sm-4 link-group css-1sril11"><a target="" class="single-link sw-font-size-xs sw-text-color-616161 sw-font-family-default sw-font-weight-normal sw-letter-spacing-normal sw-padding-left-none sw-padding-top-7xs sw-padding-bottom-7xs hover:sw-text-decoration-no-underline" href="/privacy">Terms of Service</a></div><div class="MuiGrid-root MuiGrid-item MuiGrid-grid-xs-6 MuiGrid-grid-sm-4 link-group css-1sril11"><a target="" class="single-link sw-font-size-xs sw-text-color-616161 sw-font-family-default sw-font-weight-normal sw-letter-spacing-normal sw-padding-left-none sw-padding-top-7xs sw-padding-bottom-7xs hover:sw-text-decoration-no-underline" href="/privacy">Privacy Policy</a></div></div></div></div></section></div>
</div>
<!-- Scripts -->
<script src="https://assets.softr-files.com/libs/jquery/3.7.0/jquery.min.js"></script>
<script src="https://assets.softr-files.com/libs/popper.js/1.14.7/umd/popper.min.js"></script>
<script src="https://assets.softr-files.com/libs/bootstrap/4.3.1/js/bootstrap.min.js"></script>
<script src="https://assets.softr-files.com/libs/micromodal/0.4.10/micromodal.min.js"></script>
<script>
/** this function is called from list blocks (do not delete) **/
function openSwModal(url, size) {
MicroModal.init({
disableScroll: true,
awaitOpenAnimation: true,
awaitCloseAnimation: true
});
MicroModal.show("sw-modal");
const iframeElem = document.querySelector(".sw-modal-iframe");
const modalContainer = document.querySelector(".sw-modal-container");
const viewModeParam = "viewMode=modal";
const urlIsLocal = url.startsWith('#') || url.startsWith('/') || url.startsWith(window.location.origin);
const modalUrl = urlIsLocal ? (url.indexOf("?") !== -1 ? url + "&" + viewModeParam : url + "?" + viewModeParam) : url;
iframeElem.setAttribute("src", modalUrl);
modalContainer.classList.remove('sw-modal-size-sm', 'sw-modal-size-md', 'sw-modal-size-lg', 'sw-modal-size-xl');
modalContainer.classList.add('sw-modal-size-' + size);
setTimeout(() => {
// Add event listener to detect when the modal is closed
const closeButton = document.querySelector('.sw-modal-close');
const backdrop = document.querySelector('.sw-modal-overlay');
closeButton.addEventListener('click', resetIframe);
backdrop.addEventListener('click', resetIframe);
}, 1000)
}
const resetIframe = () => {
const iframeElem = document.querySelector('.sw-modal-iframe');
iframeElem.removeAttribute('src');
}
</script>
<script>
/** Bugfix on multiple ?recordId= issue **/
setInterval(function () {
$('section a').each(function () {
const href = $(this).attr('href');
if (href && href.includes('?recordId=')) {
const countOfRecords = (href.match(/\?recordId=/g) || []).length;
if (countOfRecords > 1) {
const index = href.lastIndexOf('?recordId=');
const cleanedHref = href.substring(0, index);
$(this).attr('href', cleanedHref);
}
}
});
}, 1000);
</script>
<script type="text/javascript">
if (window.jQuery && window.jQuery.ajaxSetup) {
window.jQuery.ajaxSetup({
beforeSend: function (xhr, settings) {
if (settings && settings.url && (
settings.url.includes('/integrations/airtable/')
|| settings.url.includes('/v1/applications/506ef524-5a44-4638-be02-9e237e8fc242')
|| settings.url.includes('/v1/comments')
|| settings.url.includes('/forms/form-to-email'))
) {
xhr.setRequestHeader('softr-page-id', 'a4a08984-b870-40e0-8098-38b9c9ac1d42');
}
}
});
}
window['home-header2'] = {}; const block_405a05767b9944ecad7d61661cf96b6a_defJson = {"id":"405a0576-7b99-44ec-ad7d-61661cf96b6a","version":"3.1.0","hrid":"home-header2","name":"header2","title":"Header with links and buttons","image":"https://softr-assets-eu-shared.s3.eu-central-1.amazonaws.com/studio/blocks/assets/header2.png","category":"Header","keywords":"header, simple","elements":{"definitions":{"link":{"tag":"a","type":"link","primaryStyles":[{"name":"size-color","label":"Text Size/Color","isPrimary":true,"classes":["sw-font-size-m","sw-text-color-424242"]},{"name":"font-family","label":"Font family","isPrimary":true,"classes":["sw-font-family-default"]},{"name":"font-weight","label":"Font weight","isPrimary":true,"classes":["sw-font-weight-normal"]},{"name":"letter-spacing","label":"Letter spacing","isPrimary":true,"classes":["sw-letter-spacing-normal"]}],"value":"Link name","action":{"type":"navigate","options":{"url":{"destination":"","target":""},"modalOptions":{"modalSize":"md"}}}},"profileLink":{"link":{"tag":"a","type":"link","primaryStyles":[{"name":"size-color","label":"Text Size/Color","isPrimary":true,"classes":["sw-font-size-m","sw-text-color-424242"]},{"name":"font-family","label":"Font family","isPrimary":true,"classes":["sw-font-family-default"]},{"name":"font-weight","label":"Font weight","isPrimary":true,"classes":["sw-font-weight-normal"]},{"name":"letter-spacing","label":"Letter spacing","isPrimary":true,"classes":["sw-letter-spacing-normal"]}],"value":"Link name","action":{"type":"navigate","options":{"url":{"destination":"","target":""},"modalOptions":{"modalSize":"md"}}}},"icon":{"tag":"i","type":"icon","primaryStyles":[{"name":"size-color","label":"Icon Size/Color","isPrimary":true,"showFor":"icon","classes":["sw-font-size-m","sw-text-color-EAB10B"]},{"name":"width","label":"Icon Size","isPrimary":true,"showFor":"image","classes":["sw-width-11xs"]}],"provider":"font-awesome","value":"fas fa-shield-alt","src":""}},"compositeLink":{"link":{"tag":"a","type":"link","primaryStyles":[{"name":"size-color","label":"Text Size/Color","isPrimary":true,"classes":["sw-font-size-m","sw-text-color-424242"]},{"name":"font-family","label":"Font family","isPrimary":true,"classes":["sw-font-family-default"]},{"name":"font-weight","label":"Font weight","isPrimary":true,"classes":["sw-font-weight-normal"]},{"name":"letter-spacing","label":"Letter spacing","isPrimary":true,"classes":["sw-letter-spacing-normal"]}],"value":"Link name","action":{"type":"navigate","options":{"url":{"destination":"","target":""},"modalOptions":{"modalSize":"md"}}}},"subLinks":{"type":"array","item_type":"#/elements/definitions/link","items":[]}},"button":{"tag":"a","type":"button","primaryStyles":[{"name":"size-color","label":"Text Size/Color","isPrimary":true,"classes":["sw-font-size-m","sw-text-color-default"]},{"name":"font-family","label":"Font family","isPrimary":true,"classes":["sw-font-family-default"]},{"name":"font-weight","label":"Font weight","isPrimary":true,"classes":["sw-font-weight-normal"]},{"name":"border-radius","label":"Roundness","isPrimary":true,"classes":["sw-border-radius-default"]},{"name":"background-color","label":"Background color","isPrimary":true,"classes":["sw-background-color-default"]},{"name":"padding-left-right","label":"Padding left/right","isPrimary":true,"classes":["sw-padding-left-4xs","sw-padding-right-4xs"]},{"name":"padding-top-bottom","label":"Padding top/bottom","isPrimary":true,"classes":["sw-padding-top-6xs","sw-padding-bottom-6xs"]},{"name":"border-style","label":"Border Style","isPrimary":true,"classes":["sw-border-color-212121","sw-border-style-none","sw-border-width-xs"]},{"name":"letter-spacing","label":"Letter spacing","isPrimary":true,"classes":["sw-letter-spacing-normal"]}],"label":"Button label","action":{"type":"navigate","options":{"url":{"destination":"","target":""},"modalOptions":{"modalSize":"md"}}}}},"sticky":true,"profileEnabled":false,"verticalEnabled":false,"container":{"tag":"nav","type":"container","primaryStyles":[{"name":"background-color","label":"Background color","isPrimary":true,"classes":["sw-background-color-ffffff"]},{"name":"padding-top","label":"Padding top","isPrimary":true,"classes":["sw-padding-top-5xs"]},{"name":"padding-bottom","label":"Padding bottom","isPrimary":true,"classes":["sw-padding-bottom-5xs"]},{"name":"border-top","label":"Border top","isPrimary":true,"classes":["sw-border-top-style-none","sw-border-top-width-xs","sw-border-top-color-000000"]},{"name":"border-bottom","label":"Border bottom","isPrimary":true,"classes":["sw-border-bottom-style-none","sw-border-bottom-width-xs","sw-border-bottom-color-000000"]}]},"logo":{"tag":"img","type":"image-with-link","primaryStyles":[{"name":"width","label":"Width","isPrimary":true,"classes":["sw-width-8xs"]}],"src":"https://assets.softr-files.com/applications/506ef524-5a44-4638-be02-9e237e8fc242/assets/90bff78f-9cab-4637-a670-0c94463cc748.jpeg","alt":""},"links":{"type":"array","item_type":"#/elements/definitions/compositeLink","items":[{"link":{"tag":"a","type":"link","primaryStyles":[{"name":"size-color","label":"Text Size/Color","isPrimary":true,"classes":["sw-font-size-m","sw-text-color-424242"]},{"name":"font-family","label":"Font family","isPrimary":true,"classes":["sw-font-family-default"]},{"name":"font-weight","label":"Font weight","isPrimary":true,"classes":["sw-font-weight-normal"]},{"name":"letter-spacing","label":"Letter spacing","isPrimary":true,"classes":["sw-letter-spacing-normal"]}],"value":"Jobs","action":{"type":"navigate","options":{"url":{"destination":"/jobs","target":""},"modalOptions":{"modalSize":"md"}},"action":"Open page > Jobs"}},"subLinks":{"type":"array","item_type":"#/elements/definitions/link","items":[]}}]},"buttons":{"type":"array","item_type":"#/elements/definitions/button","items":[{"tag":"a","type":"button","primaryStyles":[{"name":"size-color","label":"Text Size/Color","isPrimary":true,"classes":["sw-font-size-m","sw-text-color-212121"]},{"name":"font-family","label":"Font family","isPrimary":true,"classes":["sw-font-family-default"]},{"name":"font-weight","label":"Font weight","isPrimary":true,"classes":["sw-font-weight-normal"]},{"name":"border-radius","label":"Roundness","isPrimary":true,"classes":["sw-border-radius-default"]},{"name":"background-color","label":"Background color","isPrimary":true,"classes":["sw-background-color-ffffff"]},{"name":"padding-left-right","label":"Padding left/right","isPrimary":true,"classes":["sw-padding-left-4xs","sw-padding-right-4xs"]},{"name":"padding-top-bottom","label":"Padding top/bottom","isPrimary":true,"classes":["sw-padding-top-6xs","sw-padding-bottom-6xs"]},{"name":"border-style","label":"Border Style","isPrimary":true,"classes":["sw-border-color-212121","sw-border-style-solid","sw-border-width-xs"]},{"name":"letter-spacing","label":"Letter spacing","isPrimary":true,"classes":["sw-letter-spacing-normal"]}],"label":"Sign in","action":{"type":"navigate","options":{"url":{"destination":"/sign-in","target":""},"modalOptions":{"modalSize":"md"}},"action":"Open page > Sign in"}},{"tag":"a","type":"button","primaryStyles":[{"name":"size-color","label":"Text Size/Color","isPrimary":true,"classes":["sw-font-size-m","sw-text-color-default"]},{"name":"font-family","label":"Font family","isPrimary":true,"classes":["sw-font-family-default"]},{"name":"font-weight","label":"Font weight","isPrimary":true,"classes":["sw-font-weight-normal"]},{"name":"border-radius","label":"Roundness","isPrimary":true,"classes":["sw-border-radius-default"]},{"name":"background-color","label":"Background color","isPrimary":true,"classes":["sw-background-color-default"]},{"name":"padding-left-right","label":"Padding left/right","isPrimary":true,"classes":["sw-padding-left-4xs","sw-padding-right-4xs"]},{"name":"padding-top-bottom","label":"Padding top/bottom","isPrimary":true,"classes":["sw-padding-top-6xs","sw-padding-bottom-6xs"]},{"name":"border-style","label":"Border Style","isPrimary":true,"classes":["sw-border-color-212121","sw-border-style-none","sw-border-width-xs"]},{"name":"letter-spacing","label":"Letter spacing","isPrimary":true,"classes":["sw-letter-spacing-normal"]}],"label":"Sign up","action":{"type":"navigate","options":{"url":{"destination":"/sign-up","target":""},"modalOptions":{"modalSize":"md"}},"action":"Open page > Sign up"}}]},"profileLinks":{"type":"array","item_type":"#/elements/definitions/profileLink","items":[{"link":{"tag":"a","type":"link","primaryStyles":[{"name":"size-color","label":"Text Size/Color","isPrimary":true,"classes":["sw-font-size-m","sw-text-color-424242"]},{"name":"font-family","label":"Font family","isPrimary":true,"classes":["sw-font-family-default"]},{"name":"font-weight","label":"Font weight","isPrimary":true,"classes":["sw-font-weight-normal"]},{"name":"letter-spacing","label":"Letter spacing","isPrimary":true,"classes":["sw-letter-spacing-normal"]}],"value":"Sign Out","action":{"type":"navigate","options":{"url":{"destination":"action:signout","target":""},"modalOptions":{"modalSize":"md"}},"action":"Sign Out"}},"icon":{"tag":"i","type":"icon","primaryStyles":[{"name":"size-color","label":"Icon Size/Color","isPrimary":true,"showFor":"icon","classes":["sw-font-size-m","sw-text-color-EAB10B"]},{"name":"width","label":"Icon Size","isPrimary":true,"showFor":"image","classes":["sw-width-11xs"]}],"provider":"font-awesome","value":"fas fa-power-off","src":""}}]},"profileIcon":{"tag":"img","primaryStyles":[{"name":"size-color","label":"Icon Size/Color","isPrimary":true,"showFor":"icon","classes":["sw-font-size-m","sw-text-color-ffffff"]},{"name":"background-color","label":"Background color","isPrimary":true,"classes":["sw-background-color-9ea5b4"]},{"name":"border","label":"Border","isPrimary":true,"classes":["sw-border-style-solid","sw-border-width-xs","sw-border-color-9ea5b4"]}],"src":"https://softr-assets-eu-shared.s3.eu-central-1.amazonaws.com/studio/blocks/assets/user_profile1.jpg","value":""},"modalSizeOptions":[{"className":"sw-letter-s","key":"sm"},{"className":"sw-letter-m","key":"md"},{"className":"sw-letter-l","key":"lg"},{"className":"sw-letter-xl","key":"xl"}]},"type":"static","collection":null,"enabled":"true","order":"null","updated":[],"visibility":{"userGroup":{"predefinedUserGroupType":"NON_LOGGED_IN_USERS","customUserGroupIds":[],"enabledPredefinedUserGroupTypes":["ALL_USERS","LOGGED_IN_USERS","NON_LOGGED_IN_USERS"]},"devices":["laptop","tablet","mobile"],"detailsPageRecordCondition":null},"settings":{},"container":null,"presets":null,"created_at":"2024-08-03T07:28:36.137"};
window['hero1'] = {}; const block_eff2e511ea334337a8bee2db76f3037c_defJson = {"id":"eff2e511-ea33-4337-a8be-e2db76f3037c","version":"3.0.2","hrid":"hero1","name":"hero1","title":"Hero with call to action","image":"https://softr-assets-eu-shared.s3.eu-central-1.amazonaws.com/studio/blocks/assets/hero1.png","category":"Hero","keywords":"hero, simple, CTA Hero","elements":{"imagePosition":["LEFT","RIGHT","TOP","BOTTOM"],"selectedImagePosition":"RIGHT","definitions":{"button":{"tag":"a","type":"button","primaryStyles":[{"name":"size-color","label":"Text Size/Color","isPrimary":true,"classes":["sw-font-size-m","sw-text-color-default"]},{"name":"font-family","label":"Font family","isPrimary":true,"classes":["sw-font-family-default"]},{"name":"font-weight","label":"Font weight","isPrimary":true,"classes":["sw-font-weight-normal"]},{"name":"border-radius","label":"Roundness","isPrimary":true,"classes":["sw-border-radius-default"]},{"name":"background-color","label":"Background color","isPrimary":true,"classes":["sw-background-color-default"]},{"name":"padding-left-right","label":"Padding left/right","isPrimary":true,"classes":["sw-padding-left-2xs","sw-padding-right-2xs"]},{"name":"padding-top-bottom","label":"Padding top/bottom","isPrimary":true,"classes":["sw-padding-top-5xs","sw-padding-bottom-5xs"]},{"name":"border","label":"Border","isPrimary":true,"classes":["sw-border-style-none","sw-border-width-xs","sw-border-color-000000"]},{"name":"letter-spacing","label":"Letter spacing","isPrimary":true,"classes":["sw-letter-spacing-normal"]}],"label":"Button label","action":{"type":"navigate","options":{"url":{"destination":"","target":""},"modalOptions":{"modalSize":"md","modalType":"center"},"isModelTypeEnabled":true}}}},"container":{"tag":"header","type":"container","primaryStyles":[{"name":"background-color","label":"Background color","isPrimary":true,"classes":["sw-background-color-ffffff"]},{"name":"padding-top","label":"Padding top","isPrimary":true,"classes":["sw-padding-top-2xl"]},{"name":"padding-bottom","label":"Padding bottom","isPrimary":true,"classes":["sw-padding-bottom-3xs"]},{"name":"border-top","label":"Border top","isPrimary":true,"classes":["sw-border-top-style-none","sw-border-top-width-xs","sw-border-top-color-000000"]},{"name":"border-bottom","label":"Border bottom","isPrimary":true,"classes":["sw-border-bottom-style-none","sw-border-bottom-width-xs","sw-border-bottom-color-000000"]}]},"header":{"htmlTag":"h1","primaryStyles":[{"name":"size-color","label":"Text Size/Color","isPrimary":true,"classes":["sw-font-size-5xl","sw-text-color-default"]},{"name":"font-family","label":"Font family","isPrimary":true,"classes":["sw-font-family-default"]},{"name":"font-weight","label":"Font weight","isPrimary":true,"classes":["sw-font-weight-default"]},{"name":"padding-top","label":"Padding top","isPrimary":true,"classes":["sw-padding-top-none"]},{"name":"padding-bottom","label":"Padding bottom","isPrimary":true,"classes":["sw-padding-bottom-2xs"]},{"name":"letter-spacing","label":"Letter spacing","isPrimary":true,"classes":["sw-letter-spacing-normal"]},{"name":"line-height","label":"Line height","isPrimary":true,"classes":["sw-line-height-normal"]}],"value":"The simplest way to contract and hire"},"text":{"tag":"p","primaryStyles":[{"name":"size-color","label":"Text Size/Color","isPrimary":true,"classes":["sw-font-size-m","sw-text-color-default"]},{"name":"font-family","label":"Font family","isPrimary":true,"classes":["sw-font-family-default"]},{"name":"font-weight","label":"Font weight","isPrimary":true,"classes":["sw-font-weight-default"]},{"name":"padding-top","label":"Padding top","isPrimary":true,"classes":["sw-padding-top-none"]},{"name":"padding-bottom","label":"Padding bottom","isPrimary":true,"classes":["sw-padding-bottom-xs"]},{"name":"letter-spacing","label":"Letter spacing","isPrimary":true,"classes":["sw-letter-spacing-normal"]},{"name":"line-height","label":"Line height","isPrimary":true,"classes":["sw-line-height-normal"]}],"value":"Crews2U Recruit - better than a recruitment agency, we connect you with the best Tradies and Subbies in the industry."},"buttons":{"type":"array","item_type":"#/elements/definitions/button","items":[{"tag":"a","type":"button","primaryStyles":[{"name":"size-color","label":"Text Size/Color","isPrimary":true,"classes":["sw-font-size-m","sw-text-color-default"]},{"name":"font-family","label":"Font family","isPrimary":true,"classes":["sw-font-family-default"]},{"name":"font-weight","label":"Font weight","isPrimary":true,"classes":["sw-font-weight-normal"]},{"name":"border-radius","label":"Roundness","isPrimary":true,"classes":["sw-border-radius-default"]},{"name":"background-color","label":"Background color","isPrimary":true,"classes":["sw-background-color-default"]},{"name":"padding-left-right","label":"Padding left/right","isPrimary":true,"classes":["sw-padding-left-2xs","sw-padding-right-2xs"]},{"name":"padding-top-bottom","label":"Padding top/bottom","isPrimary":true,"classes":["sw-padding-top-5xs","sw-padding-bottom-5xs"]},{"name":"border","label":"Border","isPrimary":true,"classes":["sw-border-style-none","sw-border-width-xs","sw-border-color-000000"]},{"name":"letter-spacing","label":"Letter spacing","isPrimary":true,"classes":["sw-letter-spacing-normal"]}],"label":"Sign Up Now","action":{"type":"navigate","options":{"url":{"destination":"/sign-up","target":""},"modalOptions":{"modalSize":"md","modalType":"center"},"isModelTypeEnabled":true},"action":"Open page > Sign up"}},{"tag":"a","type":"button","primaryStyles":[{"name":"size-color","label":"Text Size/Color","isPrimary":true,"classes":["sw-font-size-m","sw-text-color-default"]},{"name":"font-family","label":"Font family","isPrimary":true,"classes":["sw-font-family-default"]},{"name":"font-weight","label":"Font weight","isPrimary":true,"classes":["sw-font-weight-normal"]},{"name":"border-radius","label":"Roundness","isPrimary":true,"classes":["sw-border-radius-default"]},{"name":"background-color","label":"Background color","isPrimary":true,"classes":["sw-background-color-default"]},{"name":"padding-left-right","label":"Padding left/right","isPrimary":true,"classes":["sw-padding-left-2xs","sw-padding-right-2xs"]},{"name":"padding-top-bottom","label":"Padding top/bottom","isPrimary":true,"classes":["sw-padding-top-5xs","sw-padding-bottom-5xs"]},{"name":"border","label":"Border","isPrimary":true,"classes":["sw-border-style-none","sw-border-width-xs","sw-border-color-000000"]},{"name":"letter-spacing","label":"Letter spacing","isPrimary":true,"classes":["sw-letter-spacing-normal"]}],"label":"See Jobs","action":{"type":"navigate","options":{"url":{"destination":"/jobs","target":""},"modalOptions":{"modalSize":"md","modalType":"center"},"isModelTypeEnabled":true},"action":"Open page > Jobs"}}]},"imageOrVideo":{"tag":"img","primaryStyles":[{"name":"percentage-width","label":"Size","isPrimary":true,"classes":["sw-percentage-width-full"]},{"name":"border","label":"Border","isPrimary":true,"classes":["sw-border-style-none","sw-border-width-xs","sw-border-color-000000"]},{"name":"border-radius","label":"Roundness","isPrimary":true,"classes":["sw-border-radius-none"]}],"src":"https://assets.softr-files.com/applications/506ef524-5a44-4638-be02-9e237e8fc242/assets/771ba64e-29a1-45d0-918a-faa4ca3c2039.jpeg","alt":"","controls":false,"autoplay":true,"loop":true},"backgroundImage":{"tag":"img","primaryStyles":[{"name":"background-repeat","label":"Repeat","isPrimary":true,"classes":["sw-background-repeat-no-repeat"]},{"name":"background-size","label":"Size","isPrimary":true,"classes":["sw-background-size-cover"]},{"name":"background-position","label":"Position","isPrimary":true,"classes":["sw-background-position-center"]},{"name":"background-attachment","label":"Behaviour","isPrimary":true,"classes":["sw-background-attachment-scroll"]}],"src":""},"modalSizeOptions":[{"className":"sw-letter-s","key":"sm"},{"className":"sw-letter-m","key":"md"},{"className":"sw-letter-l","key":"lg"},{"className":"sw-letter-xl","key":"xl"}],"modalTypeOptions":[{"className":"sw-modal-type-side","key":"side"},{"className":"sw-modal-type-center","key":"center"}]},"type":"static","collection":null,"enabled":"true","order":"null","updated":[],"visibility":{"userGroup":{"predefinedUserGroupType":"ALL_USERS","customUserGroupIds":[],"enabledPredefinedUserGroupTypes":["ALL_USERS","LOGGED_IN_USERS","NON_LOGGED_IN_USERS"]},"devices":["laptop","tablet","mobile"],"detailsPageRecordCondition":null},"settings":{},"container":null,"presets":null,"created_at":"2024-08-02T11:29:54.452"};
window['cta1'] = {}; const block_5a89fe049d0e4b9fb43e4464d63e9e4d_defJson = {"id":"5a89fe04-9d0e-4b9f-b43e-4464d63e9e4d","version":"3.0.2","hrid":"cta1","name":"cta3","title":"Call to action with email capture","image":"https://softr-assets-eu-shared.s3.eu-central-1.amazonaws.com/studio/blocks/assets/cta3.png","category":"CTA","keywords":"call to action, cta, simple","elements":{"definitions":{"button":{"tag":"a","type":"button","primaryStyles":[{"name":"size-color","label":"Text Size/Color","isPrimary":true,"classes":["sw-font-size-m","sw-text-color-default"]},{"name":"font-family","label":"Font family","isPrimary":true,"classes":["sw-font-family-default"]},{"name":"font-weight","label":"Font weight","isPrimary":true,"classes":["sw-font-weight-normal"]},{"name":"border-radius","label":"Roundness","isPrimary":true,"classes":["sw-border-radius-default"]},{"name":"background-color","label":"Background color","isPrimary":true,"classes":["sw-background-color-default"]},{"name":"padding-left-right","label":"Padding left/right","isPrimary":true,"classes":["sw-padding-left-4xs","sw-padding-right-4xs"]},{"name":"padding-top-bottom","label":"Padding top/bottom","isPrimary":true,"classes":["sw-padding-top-6xs","sw-padding-bottom-6xs"]},{"name":"border","label":"Border","isPrimary":true,"classes":["sw-border-style-none","sw-border-width-xs","sw-border-color-000000"]},{"name":"letter-spacing","label":"Letter spacing","isPrimary":true,"classes":["sw-letter-spacing-normal"]}],"label":"Join now","action":{"type":"request","options":{"mailchimp":{"url":""},"mailerlite":{"url":""},"zapierWebhook":{"url":""},"integromatWebhook":{"url":""},"email":{"value":""}}}}},"container":{"tag":"section","type":"container","primaryStyles":[{"name":"background-color","label":"Background color","isPrimary":true,"classes":["sw-background-color-dff4ff"]},{"name":"padding-top","label":"Padding top","isPrimary":true,"classes":["sw-padding-top-xs"]},{"name":"padding-bottom","label":"Padding bottom","isPrimary":true,"classes":["sw-padding-bottom-xs"]},{"name":"border-top","label":"Border top","isPrimary":true,"classes":["sw-border-top-style-none","sw-border-top-width-none","sw-border-top-color-000000"]},{"name":"border-bottom","label":"Border bottom","isPrimary":true,"classes":["sw-border-bottom-style-none","sw-border-bottom-width-none","sw-border-bottom-color-000000"]}]},"box":{"tag":"div","type":"container","primaryStyles":[{"name":"background-color","label":"Background color","isPrimary":true,"classes":["sw-background-color-none"]},{"name":"border","label":"Border","isPrimary":true,"classes":["sw-border-style-none","sw-border-width-xs","sw-border-color-000000"]},{"name":"border-radius","label":"Roundness","isPrimary":true,"classes":["sw-border-radius-none"]},{"name":"shadow","label":"Shadow","isPrimary":true,"classes":["sw-box-shadow-none"]},{"name":"padding-top-bottom","label":"Padding top/bottom","isPrimary":true,"classes":["sw-padding-top-none","sw-padding-bottom-none"]}]},"backgroundImage":{"tag":"img","primaryStyles":[{"name":"background-repeat","label":"Repeat","isPrimary":true,"classes":["sw-background-repeat-no-repeat"]},{"name":"background-size","label":"Size","isPrimary":true,"classes":["sw-background-size-cover"]},{"name":"background-position","label":"Position","isPrimary":true,"classes":["sw-background-position-center"]},{"name":"background-attachment","label":"Behaviour","isPrimary":true,"classes":["sw-background-attachment-scroll"]}],"src":""},"header":{"htmlTag":"h2","primaryStyles":[{"name":"size-color","label":"Text Size/Color","isPrimary":true,"classes":["sw-font-size-3xl","sw-text-color-default"]},{"name":"font-family","label":"Font family","isPrimary":true,"classes":["sw-font-family-default"]},{"name":"font-weight","label":"Font weight","isPrimary":true,"classes":["sw-font-weight-default"]},{"name":"padding-top","label":"Padding top","isPrimary":true,"classes":["sw-padding-top-none"]},{"name":"padding-bottom","label":"Padding bottom","isPrimary":true,"classes":["sw-padding-bottom-5xs"]},{"name":"letter-spacing","label":"Letter spacing","isPrimary":true,"classes":["sw-letter-spacing-normal"]},{"name":"line-height","label":"Line height","isPrimary":true,"classes":["sw-line-height-normal"]}],"value":"Join The Community — It's Free"},"text":{"tag":"p","primaryStyles":[{"name":"size-color","label":"Text Size/Color","isPrimary":true,"classes":["sw-font-size-m","sw-text-color-default"]},{"name":"font-family","label":"Font family","isPrimary":true,"classes":["sw-font-family-default"]},{"name":"font-weight","label":"Font weight","isPrimary":true,"classes":["sw-font-weight-default"]},{"name":"padding-top","label":"Padding top","isPrimary":true,"classes":["sw-padding-top-none"]},{"name":"padding-bottom","label":"Padding bottom","isPrimary":true,"classes":["sw-padding-bottom-3xs"]},{"name":"letter-spacing","label":"Letter spacing","isPrimary":true,"classes":["sw-letter-spacing-normal"]},{"name":"line-height","label":"Line height","isPrimary":true,"classes":["sw-line-height-normal"]}],"value":"Receive information about events, industry updates and more."},"form":{"type":"email_capture","emailInput":{"tag":"input","type":"text","format":"email","primaryStyles":[{"name":"background-color","label":"Background color","isPrimary":true,"classes":["sw-background-color-ffffff"]},{"name":"size-color","label":"Text Size/Color","isPrimary":true,"classes":["sw-font-size-m","sw-text-color-616161"]},{"name":"font-family","label":"Font family","isPrimary":true,"classes":["sw-font-family-default"]},{"name":"border-radius","label":"Roundness","isPrimary":true,"classes":["sw-border-radius-m"]},{"name":"width","label":"Width","isPrimary":true,"classes":["sw-width-s"]},{"name":"padding-top-bottom","label":"Padding top/bottom","isPrimary":true,"classes":["sw-padding-top-6xs","sw-padding-bottom-6xs"]},{"name":"border","label":"Border","isPrimary":true,"classes":["sw-border-style-solid","sw-border-width-xs","sw-border-color-C2C2C2"]},{"name":"shadow","label":"Shadow","isPrimary":true,"classes":["sw-box-shadow-none"]}],"placeholder":"Your email"},"button":{"tag":"a","type":"button","primaryStyles":[{"name":"size-color","label":"Text Size/Color","isPrimary":true,"classes":["sw-font-size-m","sw-text-color-default"]},{"name":"font-family","label":"Font family","isPrimary":true,"classes":["sw-font-family-default"]},{"name":"font-weight","label":"Font weight","isPrimary":true,"classes":["sw-font-weight-normal"]},{"name":"border-radius","label":"Roundness","isPrimary":true,"classes":["sw-border-radius-default"]},{"name":"background-color","label":"Background color","isPrimary":true,"classes":["sw-background-color-default"]},{"name":"padding-left-right","label":"Padding left/right","isPrimary":true,"classes":["sw-padding-left-4xs","sw-padding-right-4xs"]},{"name":"padding-top-bottom","label":"Padding top/bottom","isPrimary":true,"classes":["sw-padding-top-6xs","sw-padding-bottom-6xs"]},{"name":"border","label":"Border","isPrimary":true,"classes":["sw-border-style-none","sw-border-width-xs","sw-border-color-000000"]},{"name":"letter-spacing","label":"Letter spacing","isPrimary":true,"classes":["sw-letter-spacing-normal"]}],"label":"Join now","action":{"type":"request","options":{"mailchimp":{"url":""},"mailerlite":{"url":""},"zapierWebhook":{"url":""},"integromatWebhook":{"url":""},"email":{"value":"[email protected]"}},"action":"Forward to your email"}}},"success_action":{"selectedState":"SHOW_MESSAGE","path":"NO_ACTION","message":{"value":"Thank you for subscribing!","primaryStyles":[{"name":"size-color","label":"Text Size/Color","classes":["sw-font-size-xl","sw-text-color-default"]},{"name":"font-family","label":"Font family","classes":["sw-font-family-default"]},{"name":"font-weight","label":"Font weight","classes":["sw-font-weight-default"]},{"name":"padding-top","label":"Padding top","isPrimary":true,"classes":["sw-padding-top-none"]},{"name":"padding-bottom","label":"Padding bottom","classes":["sw-padding-bottom-none"]},{"name":"letter-spacing","label":"Letter spacing","isPrimary":true,"classes":["sw-letter-spacing-normal"]}]}}},"type":"static","collection":null,"enabled":"true","order":"null","updated":[],"visibility":{"userGroup":{"predefinedUserGroupType":"ALL_USERS","customUserGroupIds":[],"enabledPredefinedUserGroupTypes":["ALL_USERS","LOGGED_IN_USERS","NON_LOGGED_IN_USERS"]},"devices":["laptop","tablet","mobile"],"detailsPageRecordCondition":null},"settings":{},"container":null,"presets":null,"created_at":"2024-11-14T22:28:47.252"};
window['partner1'] = {}; const block_cf3a79d40aec49369c53eb7019927fee_defJson = {"id":"cf3a79d4-0aec-4936-9c53-eb7019927fee","version":"3.0.1","hrid":"partner1","name":"partner1","title":"Partner with fixed logos","image":"https://softr-assets-eu-shared.s3.eu-central-1.amazonaws.com/studio/blocks/assets/partner1.png","category":"Partner","keywords":"partner, simple, social proof, testimonials, brands list","elements":{"definitions":{"partner":{"picture":{"tag":"img","type":"image","primaryStyles":[{"name":"border","label":"Border","isPrimary":true,"classes":["sw-border-style-none","sw-border-width-xs","sw-border-color-000000"]},{"name":"border-radius","label":"Roundness","classes":["sw-border-radius-none"]},{"name":"width","label":"Size","isPrimary":true,"classes":["sw-width-8xs"]}],"src":"https://softr-assets-eu-shared.s3.eu-central-1.amazonaws.com/studio/blocks/assets/logo-placeholder.png"},"link":{"tag":"a","primaryStyles":[],"action":{"type":"navigate","options":{"url":{"destination":"","target":""},"modalOptions":{"modalSize":"md","modalType":"center"},"isModelTypeEnabled":true}}}}},"container":{"tag":"section","type":"container","primaryStyles":[{"name":"background-color","label":"Background color","classes":["sw-background-color-ffffff"]},{"name":"padding-top","label":"Padding top","classes":["sw-padding-top-2xl"]},{"name":"padding-bottom","label":"Padding bottom","classes":["sw-padding-bottom-2xl"]},{"name":"border-top","label":"Border top","classes":["sw-border-top-style-none","sw-border-top-width-xs","sw-border-top-color-000000"]},{"name":"border-bottom","label":"Border bottom","classes":["sw-border-bottom-style-none","sw-border-bottom-width-xs","sw-border-bottom-color-000000"]}]},"header":{"htmlTag":"h2","type":"text","primaryStyles":[{"name":"size-color","label":"Text Size/Color","classes":["sw-text-color-default","sw-font-size-4xl"]},{"name":"font-family","label":"Font family","classes":["sw-font-family-default"]},{"name":"font-weight","label":"Font weight","classes":["sw-font-weight-default"]},{"name":"padding-top","label":"Padding top","isPrimary":true,"classes":["sw-padding-top-none"]},{"name":"padding-bottom","label":"Padding bottom","isPrimary":true,"classes":["sw-padding-bottom-4xs"]},{"name":"letter-spacing","label":"Letter spacing","isPrimary":true,"classes":["sw-letter-spacing-normal"]},{"name":"line-height","label":"Line height","isPrimary":true,"classes":["sw-line-height-normal"]}],"value":"Supported by"},"text":{"tag":"p","type":"text","primaryStyles":[{"name":"size-color","label":"Text Size/Color","classes":["sw-text-color-default","sw-font-size-xl"]},{"name":"font-family","label":"Font family","classes":["sw-font-family-default"]},{"name":"font-weight","label":"Font weight","classes":["sw-font-weight-default"]},{"name":"padding-top","label":"Padding top","classes":["sw-padding-top-none"]},{"name":"padding-bottom","label":"Padding bottom","classes":["sw-padding-bottom-3xs"]},{"name":"letter-spacing","label":"Letter spacing","isPrimary":true,"classes":["sw-letter-spacing-normal"]},{"name":"line-height","label":"Line height","isPrimary":true,"classes":["sw-line-height-normal"]}],"value":"."},"partners":{"type":"array","minItems":4,"item_type":"#/elements/definitions/partner","items":[{"picture":{"tag":"img","type":"image","primaryStyles":[{"name":"border","label":"Border","isPrimary":true,"classes":["sw-border-style-none","sw-border-width-xs","sw-border-color-000000"]},{"name":"border-radius","label":"Roundness","classes":["sw-border-radius-none"]},{"name":"width","label":"Size","isPrimary":true,"classes":["sw-width-8xs"]}],"src":"https://assets.softr-files.com/applications/506ef524-5a44-4638-be02-9e237e8fc242/assets/545b97a5-a5f0-4146-a8b9-89d5a23573f0.png"},"link":{"tag":"a","primaryStyles":[],"action":{"type":"navigate","options":{"url":{"destination":"","target":""},"modalOptions":{"modalSize":"md","modalType":"center"},"isModelTypeEnabled":true},"action":""}}},{"picture":{"tag":"img","type":"image","primaryStyles":[{"name":"border","label":"Border","isPrimary":true,"classes":["sw-border-style-none","sw-border-width-xs","sw-border-color-000000"]},{"name":"border-radius","label":"Roundness","classes":["sw-border-radius-none"]},{"name":"width","label":"Size","isPrimary":true,"classes":["sw-width-8xs"]}],"src":"https://assets.softr-files.com/applications/506ef524-5a44-4638-be02-9e237e8fc242/assets/d2b34ad3-1b67-4d28-8b08-29cf934edc7b.png"},"link":{"tag":"a","primaryStyles":[],"action":{"type":"navigate","options":{"url":{"destination":"","target":""},"modalOptions":{"modalSize":"md","modalType":"center"},"isModelTypeEnabled":true},"action":""}}}]},"modalSizeOptions":[{"className":"sw-letter-s","key":"sm"},{"className":"sw-letter-m","key":"md"},{"className":"sw-letter-l","key":"lg"},{"className":"sw-letter-xl","key":"xl"}],"modalTypeOptions":[{"className":"sw-modal-type-side","key":"side"},{"className":"sw-modal-type-center","key":"center"}]},"type":"static","collection":null,"enabled":"true","order":"null","updated":[],"visibility":{"userGroup":{"predefinedUserGroupType":"ALL_USERS","customUserGroupIds":[],"enabledPredefinedUserGroupTypes":["ALL_USERS","LOGGED_IN_USERS","NON_LOGGED_IN_USERS"]},"devices":["laptop","tablet","mobile"],"detailsPageRecordCondition":null},"settings":{},"container":null,"presets":null,"created_at":"2024-10-29T05:17:04.500"};
window['customers-footer1'] = {}; const block_d360d1b58b7742b4a7f7856f6b31d7ae_defJson = {"id":"d360d1b5-8b77-42b4-a7f7-856f6b31d7ae","version":"3.2.0","hrid":"customers-footer1","name":"footer3","title":"Footer with link groups, description and secondary footer","image":"https://softr-assets-eu-shared.s3.eu-central-1.amazonaws.com/studio/blocks/assets/footer3.png","category":"Footer","keywords":"footer, simple, Navigation footer","elements":{"definitions":{"socialLink":{"tag":"a","type":"social-icon","value":"fab fa-facebook-f","url":"https://facebook.com/mycompany","primaryStyles":[{"name":"size-color","label":"Icon Size/Color","isPrimary":true,"classes":["sw-font-size-m","sw-text-color-616161"]},{"name":"width","label":"Width","isPrimary":true,"classes":["sw-width-11xs"]}],"otherStyles":[{"name":"others","label":"Others","classes":["sw-display-inline-block","sw-min-width-6xs","sw-margin-right-7xs","sw-text-align-center","sw-border-radius-s","sw-border-color-eaeff4","sw-border-style-solid","sw-border-width-xs","sw-padding-right-7xs","sw-padding-left-7xs","sw-padding-top-7xs","sw-padding-bottom-7xs","sw-opacity-2xs"]}]},"linkGroup":{"title":{"tag":"h6","type":"text","primaryStyles":[{"name":"size-color","label":"Text Size/Color","isPrimary":true,"classes":["sw-font-size-xs","sw-text-color-616161"]},{"name":"font-family","label":"Font family","isPrimary":true,"classes":["sw-font-family-default"]},{"name":"font-weight","label":"Font weight","isPrimary":true,"classes":["sw-font-weight-semibold"]},{"name":"line-height","label":"Line height","isPrimary":true,"classes":["sw-line-height-tight"]}],"value":"Group title"},"links":{"type":"array","item_type":"#/elements/definitions/link","items":[]}},"link":{"tag":"a","type":"link","primaryStyles":[{"name":"size-color","label":"Text Size/Color","isPrimary":true,"classes":["sw-font-size-xs","sw-text-color-616161"]},{"name":"font-family","label":"Font family","isPrimary":true,"classes":["sw-font-family-default"]},{"name":"font-weight","label":"Font weight","isPrimary":true,"classes":["sw-font-weight-normal"]},{"name":"letter-spacing","label":"Letter spacing","isPrimary":true,"classes":["sw-letter-spacing-normal"]}],"otherStyles":[{"name":"others","label":"Others","isPrimary":true,"classes":["sw-padding-left-none","sw-padding-top-7xs","sw-padding-bottom-7xs","hover:sw-text-decoration-no-underline"]}],"value":"LINK NAME","action":{"type":"navigate","options":{"url":{"destination":"","target":""},"modalOptions":{"modalSize":"md"}}}}},"container":{"tag":"footer","type":"container","primaryStyles":[{"name":"background-color","label":"Background color","isPrimary":true,"classes":["sw-background-color-ffffff"]},{"name":"padding-top","label":"Padding top","isPrimary":true,"classes":["sw-padding-top-l"]},{"name":"padding-bottom","label":"Padding bottom","isPrimary":true,"classes":["sw-padding-bottom-l"]},{"name":"border-top","label":"Border top","isPrimary":true,"classes":["sw-border-top-style-none","sw-border-top-width-xs","sw-border-top-color-000000"]},{"name":"border-bottom","label":"Border bottom","isPrimary":true,"classes":["sw-border-bottom-style-none","sw-border-bottom-width-xs","sw-border-bottom-color-000000"]}]},"horizontalLine":{"tag":"hr","type":"horizontal-line","primaryStyles":[{"name":"margin-top-bottom","label":"Margin top/bottom","isPrimary":true,"classes":["sw-margin-top-3xs","sw-margin-bottom-3xs"]},{"name":"border-top","label":"Border top","isPrimary":true,"classes":["sw-border-top-style-solid","sw-border-top-width-xs","sw-border-top-color-ededed"]}]},"copyrightText":{"tag":"p","type":"text","primaryStyles":[{"name":"size-color","label":"Text Size/Color","isPrimary":true,"classes":["sw-font-size-xs","sw-text-color-default"]},{"name":"font-family","label":"Font family","isPrimary":true,"classes":["sw-font-family-default"]},{"name":"font-weight","label":"Font weight","isPrimary":true,"classes":["sw-font-weight-default"]},{"name":"padding-top","label":"Padding top","isPrimary":true,"classes":["sw-padding-top-none"]},{"name":"padding-bottom","label":"Padding bottom","isPrimary":true,"classes":["sw-padding-bottom-none"]}],"otherStyles":[{"name":"others","label":"Others","classes":["sw-display-block"]}],"value":"© 2024 C2U Tradie. All rights reserved."},"linkGroups":{"type":"array","minItems":2,"maxItems":4,"item_type":"#/elements/definitions/linkGroup","items":[{"title":{"tag":"h6","type":"text","primaryStyles":[{"name":"size-color","label":"Text Size/Color","isPrimary":true,"classes":["sw-font-size-xs","sw-text-color-616161"]},{"name":"font-family","label":"Font family","isPrimary":true,"classes":["sw-font-family-default"]},{"name":"font-weight","label":"Font weight","isPrimary":true,"classes":["sw-font-weight-semibold"]},{"name":"line-height","label":"Line height","isPrimary":true,"classes":["sw-line-height-tight"]}],"value":"Product"},"links":{"type":"array","item_type":"#/elements/definitions/link","items":[{"tag":"a","type":"link","primaryStyles":[{"name":"size-color","label":"Text Size/Color","isPrimary":true,"classes":["sw-font-size-xs","sw-text-color-616161"]},{"name":"font-family","label":"Font family","isPrimary":true,"classes":["sw-font-family-default"]},{"name":"font-weight","label":"Font weight","isPrimary":true,"classes":["sw-font-weight-normal"]},{"name":"letter-spacing","label":"Letter spacing","isPrimary":true,"classes":["sw-letter-spacing-normal"]}],"otherStyles":[{"name":"others","label":"Others","isPrimary":true,"classes":["sw-padding-left-none","sw-padding-top-7xs","sw-padding-bottom-7xs","hover:sw-text-decoration-no-underline"]}],"value":"Features","action":{"type":"navigate","options":{"url":{"destination":"","target":""},"modalOptions":{"modalSize":"md"}},"action":""}},{"tag":"a","type":"link","primaryStyles":[{"name":"size-color","label":"Text Size/Color","isPrimary":true,"classes":["sw-font-size-xs","sw-text-color-616161"]},{"name":"font-family","label":"Font family","isPrimary":true,"classes":["sw-font-family-default"]},{"name":"font-weight","label":"Font weight","isPrimary":true,"classes":["sw-font-weight-normal"]},{"name":"letter-spacing","label":"Letter spacing","isPrimary":true,"classes":["sw-letter-spacing-normal"]}],"otherStyles":[{"name":"others","label":"Others","isPrimary":true,"classes":["sw-padding-left-none","sw-padding-top-7xs","sw-padding-bottom-7xs","hover:sw-text-decoration-no-underline"]}],"value":"Pricing","action":{"type":"navigate","options":{"url":{"destination":"/#pricing1","target":""},"modalOptions":{"modalSize":"md"}},"action":"Scroll to section > C2U Tradie/#pricing1"}}]}},{"title":{"tag":"h6","type":"text","primaryStyles":[{"name":"size-color","label":"Text Size/Color","isPrimary":true,"classes":["sw-font-size-xs","sw-text-color-616161"]},{"name":"font-family","label":"Font family","isPrimary":true,"classes":["sw-font-family-default"]},{"name":"font-weight","label":"Font weight","isPrimary":true,"classes":["sw-font-weight-semibold"]},{"name":"line-height","label":"Line height","isPrimary":true,"classes":["sw-line-height-tight"]}],"value":"Support"},"links":{"type":"array","item_type":"#/elements/definitions/link","items":[{"tag":"a","type":"link","primaryStyles":[{"name":"size-color","label":"Text Size/Color","isPrimary":true,"classes":["sw-font-size-xs","sw-text-color-616161"]},{"name":"font-family","label":"Font family","isPrimary":true,"classes":["sw-font-family-default"]},{"name":"font-weight","label":"Font weight","isPrimary":true,"classes":["sw-font-weight-normal"]},{"name":"letter-spacing","label":"Letter spacing","isPrimary":true,"classes":["sw-letter-spacing-normal"]}],"otherStyles":[{"name":"others","label":"Others","isPrimary":true,"classes":["sw-padding-left-none","sw-padding-top-7xs","sw-padding-bottom-7xs","hover:sw-text-decoration-no-underline"]}],"value":"Help Center","action":{"type":"navigate","options":{"url":{"destination":"","target":""},"modalOptions":{"modalSize":"md"}},"action":""}}]}}]},"socialLinks":{"type":"array","item_type":"#/elements/definitions/socialLink","items":[{"tag":"a","type":"social-icon","value":"fab fa-facebook-f","url":"https://www.facebook.com/share/8UmsLEdahCSgi6qC/?mibextid=LQQJ4d","primaryStyles":[{"name":"size-color","label":"Icon Size/Color","isPrimary":true,"classes":["sw-font-size-m","sw-text-color-616161"]},{"name":"width","label":"Width","isPrimary":true,"classes":["sw-width-11xs"]}],"otherStyles":[{"name":"others","label":"Others","classes":["sw-display-inline-block","sw-min-width-6xs","sw-margin-right-7xs","sw-text-align-center","sw-border-radius-s","sw-border-color-eaeff4","sw-border-style-solid","sw-border-width-xs","sw-padding-right-7xs","sw-padding-left-7xs","sw-padding-top-7xs","sw-padding-bottom-7xs","sw-opacity-2xs"]}]},{"tag":"a","type":"social-icon","value":"fab fa-instagram","url":"https://instagram.com/mycompany","primaryStyles":[{"name":"size-color","label":"Icon Size/Color","isPrimary":true,"classes":["sw-font-size-m","sw-text-color-616161"]},{"name":"width","label":"Width","isPrimary":true,"classes":["sw-width-11xs"]}],"otherStyles":[{"name":"others","label":"Others","classes":["sw-display-inline-block","sw-min-width-6xs","sw-margin-right-7xs","sw-text-align-center","sw-border-radius-s","sw-border-color-eaeff4","sw-border-style-solid","sw-border-width-xs","sw-padding-right-7xs","sw-padding-left-7xs","sw-padding-top-7xs","sw-padding-bottom-7xs","sw-opacity-2xs"]}]},{"tag":"a","type":"social-icon","value":"fab fa-tiktok","url":"https://www.tiktok.com/@crews2u","primaryStyles":[{"name":"size-color","label":"Icon Size/Color","isPrimary":true,"classes":["sw-font-size-m","sw-text-color-616161"]},{"name":"width","label":"Width","isPrimary":true,"classes":["sw-width-11xs"]}],"otherStyles":[{"name":"others","label":"Others","classes":["sw-display-inline-block","sw-min-width-6xs","sw-margin-right-7xs","sw-text-align-center","sw-border-radius-s","sw-border-color-eaeff4","sw-border-style-solid","sw-border-width-xs","sw-padding-right-7xs","sw-padding-left-7xs","sw-padding-top-7xs","sw-padding-bottom-7xs","sw-opacity-2xs"]}]}]},"madeIn":{"tag":"small","type":"text","primaryStyles":[{"name":"size-color","label":"Text Size/Color","isPrimary":true,"classes":["sw-font-size-xs","sw-text-color-616161"]},{"name":"font-family","label":"Font family","isPrimary":true,"classes":["sw-font-family-default"]},{"name":"font-weight","label":"Font weight","isPrimary":true,"classes":["sw-font-weight-normal"]}],"otherStyles":[{"name":"others","label":"Others","classes":[]}],"value":"Made in AU."},"termsAndPolicies":{"type":"array","minItems":0,"maxItems":4,"item_type":"#/elements/definitions/link","items":[{"tag":"a","type":"link","primaryStyles":[{"name":"size-color","label":"Text Size/Color","isPrimary":true,"classes":["sw-font-size-xs","sw-text-color-616161"]},{"name":"font-family","label":"Font family","isPrimary":true,"classes":["sw-font-family-default"]},{"name":"font-weight","label":"Font weight","isPrimary":true,"classes":["sw-font-weight-normal"]},{"name":"letter-spacing","label":"Letter spacing","isPrimary":true,"classes":["sw-letter-spacing-normal"]}],"otherStyles":[{"name":"others","label":"Others","isPrimary":true,"classes":["sw-padding-left-none","sw-padding-top-7xs","sw-padding-bottom-7xs","hover:sw-text-decoration-no-underline"]}],"value":"Terms of Service","action":{"type":"navigate","options":{"url":{"destination":"/privacy","target":""},"modalOptions":{"modalSize":"md"}},"action":"Open page > Privacy"}},{"tag":"a","type":"link","primaryStyles":[{"name":"size-color","label":"Text Size/Color","isPrimary":true,"classes":["sw-font-size-xs","sw-text-color-616161"]},{"name":"font-family","label":"Font family","isPrimary":true,"classes":["sw-font-family-default"]},{"name":"font-weight","label":"Font weight","isPrimary":true,"classes":["sw-font-weight-normal"]},{"name":"letter-spacing","label":"Letter spacing","isPrimary":true,"classes":["sw-letter-spacing-normal"]}],"otherStyles":[{"name":"others","label":"Others","isPrimary":true,"classes":["sw-padding-left-none","sw-padding-top-7xs","sw-padding-bottom-7xs","hover:sw-text-decoration-no-underline"]}],"value":"Privacy Policy","action":{"type":"navigate","options":{"url":{"destination":"/privacy","target":""},"modalOptions":{"modalSize":"md"}},"action":"Open page > Privacy"}}]},"modalSizeOptions":[{"className":"sw-letter-s","key":"sm"},{"className":"sw-letter-m","key":"md"},{"className":"sw-letter-l","key":"lg"},{"className":"sw-letter-xl","key":"xl"}]},"type":"static","collection":null,"enabled":"true","order":"null","updated":[],"visibility":{"userGroup":{"predefinedUserGroupType":"ALL_USERS","customUserGroupIds":[],"enabledPredefinedUserGroupTypes":["ALL_USERS","LOGGED_IN_USERS","NON_LOGGED_IN_USERS"]},"devices":["laptop","tablet","mobile"],"detailsPageRecordCondition":null},"settings":{},"container":null,"presets":null,"created_at":"2024-08-02T11:23:29.669"};
SoftrPageRenderer.render({blocks: [{"id":"405a0576-7b99-44ec-ad7d-61661cf96b6a","version":"3.1.0","hrid":"home-header2","name":"header2","title":"Header with links and buttons","image":"https://softr-assets-eu-shared.s3.eu-central-1.amazonaws.com/studio/blocks/assets/header2.png","category":"Header","keywords":"header, simple","elements":{"definitions":{"link":{"tag":"a","type":"link","primaryStyles":[{"name":"size-color","label":"Text Size/Color","isPrimary":true,"classes":["sw-font-size-m","sw-text-color-424242"]},{"name":"font-family","label":"Font family","isPrimary":true,"classes":["sw-font-family-default"]},{"name":"font-weight","label":"Font weight","isPrimary":true,"classes":["sw-font-weight-normal"]},{"name":"letter-spacing","label":"Letter spacing","isPrimary":true,"classes":["sw-letter-spacing-normal"]}],"value":"Link name","action":{"type":"navigate","options":{"url":{"destination":"","target":""},"modalOptions":{"modalSize":"md"}}}},"profileLink":{"link":{"tag":"a","type":"link","primaryStyles":[{"name":"size-color","label":"Text Size/Color","isPrimary":true,"classes":["sw-font-size-m","sw-text-color-424242"]},{"name":"font-family","label":"Font family","isPrimary":true,"classes":["sw-font-family-default"]},{"name":"font-weight","label":"Font weight","isPrimary":true,"classes":["sw-font-weight-normal"]},{"name":"letter-spacing","label":"Letter spacing","isPrimary":true,"classes":["sw-letter-spacing-normal"]}],"value":"Link name","action":{"type":"navigate","options":{"url":{"destination":"","target":""},"modalOptions":{"modalSize":"md"}}}},"icon":{"tag":"i","type":"icon","primaryStyles":[{"name":"size-color","label":"Icon Size/Color","isPrimary":true,"showFor":"icon","classes":["sw-font-size-m","sw-text-color-EAB10B"]},{"name":"width","label":"Icon Size","isPrimary":true,"showFor":"image","classes":["sw-width-11xs"]}],"provider":"font-awesome","value":"fas fa-shield-alt","src":""}},"compositeLink":{"link":{"tag":"a","type":"link","primaryStyles":[{"name":"size-color","label":"Text Size/Color","isPrimary":true,"classes":["sw-font-size-m","sw-text-color-424242"]},{"name":"font-family","label":"Font family","isPrimary":true,"classes":["sw-font-family-default"]},{"name":"font-weight","label":"Font weight","isPrimary":true,"classes":["sw-font-weight-normal"]},{"name":"letter-spacing","label":"Letter spacing","isPrimary":true,"classes":["sw-letter-spacing-normal"]}],"value":"Link name","action":{"type":"navigate","options":{"url":{"destination":"","target":""},"modalOptions":{"modalSize":"md"}}}},"subLinks":{"type":"array","item_type":"#/elements/definitions/link","items":[]}},"button":{"tag":"a","type":"button","primaryStyles":[{"name":"size-color","label":"Text Size/Color","isPrimary":true,"classes":["sw-font-size-m","sw-text-color-default"]},{"name":"font-family","label":"Font family","isPrimary":true,"classes":["sw-font-family-default"]},{"name":"font-weight","label":"Font weight","isPrimary":true,"classes":["sw-font-weight-normal"]},{"name":"border-radius","label":"Roundness","isPrimary":true,"classes":["sw-border-radius-default"]},{"name":"background-color","label":"Background color","isPrimary":true,"classes":["sw-background-color-default"]},{"name":"padding-left-right","label":"Padding left/right","isPrimary":true,"classes":["sw-padding-left-4xs","sw-padding-right-4xs"]},{"name":"padding-top-bottom","label":"Padding top/bottom","isPrimary":true,"classes":["sw-padding-top-6xs","sw-padding-bottom-6xs"]},{"name":"border-style","label":"Border Style","isPrimary":true,"classes":["sw-border-color-212121","sw-border-style-none","sw-border-width-xs"]},{"name":"letter-spacing","label":"Letter spacing","isPrimary":true,"classes":["sw-letter-spacing-normal"]}],"label":"Button label","action":{"type":"navigate","options":{"url":{"destination":"","target":""},"modalOptions":{"modalSize":"md"}}}}},"sticky":true,"profileEnabled":false,"verticalEnabled":false,"container":{"tag":"nav","type":"container","primaryStyles":[{"name":"background-color","label":"Background color","isPrimary":true,"classes":["sw-background-color-ffffff"]},{"name":"padding-top","label":"Padding top","isPrimary":true,"classes":["sw-padding-top-5xs"]},{"name":"padding-bottom","label":"Padding bottom","isPrimary":true,"classes":["sw-padding-bottom-5xs"]},{"name":"border-top","label":"Border top","isPrimary":true,"classes":["sw-border-top-style-none","sw-border-top-width-xs","sw-border-top-color-000000"]},{"name":"border-bottom","label":"Border bottom","isPrimary":true,"classes":["sw-border-bottom-style-none","sw-border-bottom-width-xs","sw-border-bottom-color-000000"]}]},"logo":{"tag":"img","type":"image-with-link","primaryStyles":[{"name":"width","label":"Width","isPrimary":true,"classes":["sw-width-8xs"]}],"src":"https://assets.softr-files.com/applications/506ef524-5a44-4638-be02-9e237e8fc242/assets/90bff78f-9cab-4637-a670-0c94463cc748.jpeg","alt":""},"links":{"type":"array","item_type":"#/elements/definitions/compositeLink","items":[{"link":{"tag":"a","type":"link","primaryStyles":[{"name":"size-color","label":"Text Size/Color","isPrimary":true,"classes":["sw-font-size-m","sw-text-color-424242"]},{"name":"font-family","label":"Font family","isPrimary":true,"classes":["sw-font-family-default"]},{"name":"font-weight","label":"Font weight","isPrimary":true,"classes":["sw-font-weight-normal"]},{"name":"letter-spacing","label":"Letter spacing","isPrimary":true,"classes":["sw-letter-spacing-normal"]}],"value":"Jobs","action":{"type":"navigate","options":{"url":{"destination":"/jobs","target":""},"modalOptions":{"modalSize":"md"}},"action":"Open page > Jobs"}},"subLinks":{"type":"array","item_type":"#/elements/definitions/link","items":[]}}]},"buttons":{"type":"array","item_type":"#/elements/definitions/button","items":[{"tag":"a","type":"button","primaryStyles":[{"name":"size-color","label":"Text Size/Color","isPrimary":true,"classes":["sw-font-size-m","sw-text-color-212121"]},{"name":"font-family","label":"Font family","isPrimary":true,"classes":["sw-font-family-default"]},{"name":"font-weight","label":"Font weight","isPrimary":true,"classes":["sw-font-weight-normal"]},{"name":"border-radius","label":"Roundness","isPrimary":true,"classes":["sw-border-radius-default"]},{"name":"background-color","label":"Background color","isPrimary":true,"classes":["sw-background-color-ffffff"]},{"name":"padding-left-right","label":"Padding left/right","isPrimary":true,"classes":["sw-padding-left-4xs","sw-padding-right-4xs"]},{"name":"padding-top-bottom","label":"Padding top/bottom","isPrimary":true,"classes":["sw-padding-top-6xs","sw-padding-bottom-6xs"]},{"name":"border-style","label":"Border Style","isPrimary":true,"classes":["sw-border-color-212121","sw-border-style-solid","sw-border-width-xs"]},{"name":"letter-spacing","label":"Letter spacing","isPrimary":true,"classes":["sw-letter-spacing-normal"]}],"label":"Sign in","action":{"type":"navigate","options":{"url":{"destination":"/sign-in","target":""},"modalOptions":{"modalSize":"md"}},"action":"Open page > Sign in"}},{"tag":"a","type":"button","primaryStyles":[{"name":"size-color","label":"Text Size/Color","isPrimary":true,"classes":["sw-font-size-m","sw-text-color-default"]},{"name":"font-family","label":"Font family","isPrimary":true,"classes":["sw-font-family-default"]},{"name":"font-weight","label":"Font weight","isPrimary":true,"classes":["sw-font-weight-normal"]},{"name":"border-radius","label":"Roundness","isPrimary":true,"classes":["sw-border-radius-default"]},{"name":"background-color","label":"Background color","isPrimary":true,"classes":["sw-background-color-default"]},{"name":"padding-left-right","label":"Padding left/right","isPrimary":true,"classes":["sw-padding-left-4xs","sw-padding-right-4xs"]},{"name":"padding-top-bottom","label":"Padding top/bottom","isPrimary":true,"classes":["sw-padding-top-6xs","sw-padding-bottom-6xs"]},{"name":"border-style","label":"Border Style","isPrimary":true,"classes":["sw-border-color-212121","sw-border-style-none","sw-border-width-xs"]},{"name":"letter-spacing","label":"Letter spacing","isPrimary":true,"classes":["sw-letter-spacing-normal"]}],"label":"Sign up","action":{"type":"navigate","options":{"url":{"destination":"/sign-up","target":""},"modalOptions":{"modalSize":"md"}},"action":"Open page > Sign up"}}]},"profileLinks":{"type":"array","item_type":"#/elements/definitions/profileLink","items":[{"link":{"tag":"a","type":"link","primaryStyles":[{"name":"size-color","label":"Text Size/Color","isPrimary":true,"classes":["sw-font-size-m","sw-text-color-424242"]},{"name":"font-family","label":"Font family","isPrimary":true,"classes":["sw-font-family-default"]},{"name":"font-weight","label":"Font weight","isPrimary":true,"classes":["sw-font-weight-normal"]},{"name":"letter-spacing","label":"Letter spacing","isPrimary":true,"classes":["sw-letter-spacing-normal"]}],"value":"Sign Out","action":{"type":"navigate","options":{"url":{"destination":"action:signout","target":""},"modalOptions":{"modalSize":"md"}},"action":"Sign Out"}},"icon":{"tag":"i","type":"icon","primaryStyles":[{"name":"size-color","label":"Icon Size/Color","isPrimary":true,"showFor":"icon","classes":["sw-font-size-m","sw-text-color-EAB10B"]},{"name":"width","label":"Icon Size","isPrimary":true,"showFor":"image","classes":["sw-width-11xs"]}],"provider":"font-awesome","value":"fas fa-power-off","src":""}}]},"profileIcon":{"tag":"img","primaryStyles":[{"name":"size-color","label":"Icon Size/Color","isPrimary":true,"showFor":"icon","classes":["sw-font-size-m","sw-text-color-ffffff"]},{"name":"background-color","label":"Background color","isPrimary":true,"classes":["sw-background-color-9ea5b4"]},{"name":"border","label":"Border","isPrimary":true,"classes":["sw-border-style-solid","sw-border-width-xs","sw-border-color-9ea5b4"]}],"src":"https://softr-assets-eu-shared.s3.eu-central-1.amazonaws.com/studio/blocks/assets/user_profile1.jpg","value":""},"modalSizeOptions":[{"className":"sw-letter-s","key":"sm"},{"className":"sw-letter-m","key":"md"},{"className":"sw-letter-l","key":"lg"},{"className":"sw-letter-xl","key":"xl"}]},"type":"static","collection":null,"enabled":"true","order":"null","updated":[],"visibility":{"userGroup":{"predefinedUserGroupType":"NON_LOGGED_IN_USERS","customUserGroupIds":[],"enabledPredefinedUserGroupTypes":["ALL_USERS","LOGGED_IN_USERS","NON_LOGGED_IN_USERS"]},"devices":["laptop","tablet","mobile"],"detailsPageRecordCondition":null},"settings":{},"container":null,"presets":null,"created_at":"2024-08-03T07:28:36.137"},{"id":"eff2e511-ea33-4337-a8be-e2db76f3037c","version":"3.0.2","hrid":"hero1","name":"hero1","title":"Hero with call to action","image":"https://softr-assets-eu-shared.s3.eu-central-1.amazonaws.com/studio/blocks/assets/hero1.png","category":"Hero","keywords":"hero, simple, CTA Hero","elements":{"imagePosition":["LEFT","RIGHT","TOP","BOTTOM"],"selectedImagePosition":"RIGHT","definitions":{"button":{"tag":"a","type":"button","primaryStyles":[{"name":"size-color","label":"Text Size/Color","isPrimary":true,"classes":["sw-font-size-m","sw-text-color-default"]},{"name":"font-family","label":"Font family","isPrimary":true,"classes":["sw-font-family-default"]},{"name":"font-weight","label":"Font weight","isPrimary":true,"classes":["sw-font-weight-normal"]},{"name":"border-radius","label":"Roundness","isPrimary":true,"classes":["sw-border-radius-default"]},{"name":"background-color","label":"Background color","isPrimary":true,"classes":["sw-background-color-default"]},{"name":"padding-left-right","label":"Padding left/right","isPrimary":true,"classes":["sw-padding-left-2xs","sw-padding-right-2xs"]},{"name":"padding-top-bottom","label":"Padding top/bottom","isPrimary":true,"classes":["sw-padding-top-5xs","sw-padding-bottom-5xs"]},{"name":"border","label":"Border","isPrimary":true,"classes":["sw-border-style-none","sw-border-width-xs","sw-border-color-000000"]},{"name":"letter-spacing","label":"Letter spacing","isPrimary":true,"classes":["sw-letter-spacing-normal"]}],"label":"Button label","action":{"type":"navigate","options":{"url":{"destination":"","target":""},"modalOptions":{"modalSize":"md","modalType":"center"},"isModelTypeEnabled":true}}}},"container":{"tag":"header","type":"container","primaryStyles":[{"name":"background-color","label":"Background color","isPrimary":true,"classes":["sw-background-color-ffffff"]},{"name":"padding-top","label":"Padding top","isPrimary":true,"classes":["sw-padding-top-2xl"]},{"name":"padding-bottom","label":"Padding bottom","isPrimary":true,"classes":["sw-padding-bottom-3xs"]},{"name":"border-top","label":"Border top","isPrimary":true,"classes":["sw-border-top-style-none","sw-border-top-width-xs","sw-border-top-color-000000"]},{"name":"border-bottom","label":"Border bottom","isPrimary":true,"classes":["sw-border-bottom-style-none","sw-border-bottom-width-xs","sw-border-bottom-color-000000"]}]},"header":{"htmlTag":"h1","primaryStyles":[{"name":"size-color","label":"Text Size/Color","isPrimary":true,"classes":["sw-font-size-5xl","sw-text-color-default"]},{"name":"font-family","label":"Font family","isPrimary":true,"classes":["sw-font-family-default"]},{"name":"font-weight","label":"Font weight","isPrimary":true,"classes":["sw-font-weight-default"]},{"name":"padding-top","label":"Padding top","isPrimary":true,"classes":["sw-padding-top-none"]},{"name":"padding-bottom","label":"Padding bottom","isPrimary":true,"classes":["sw-padding-bottom-2xs"]},{"name":"letter-spacing","label":"Letter spacing","isPrimary":true,"classes":["sw-letter-spacing-normal"]},{"name":"line-height","label":"Line height","isPrimary":true,"classes":["sw-line-height-normal"]}],"value":"The simplest way to contract and hire"},"text":{"tag":"p","primaryStyles":[{"name":"size-color","label":"Text Size/Color","isPrimary":true,"classes":["sw-font-size-m","sw-text-color-default"]},{"name":"font-family","label":"Font family","isPrimary":true,"classes":["sw-font-family-default"]},{"name":"font-weight","label":"Font weight","isPrimary":true,"classes":["sw-font-weight-default"]},{"name":"padding-top","label":"Padding top","isPrimary":true,"classes":["sw-padding-top-none"]},{"name":"padding-bottom","label":"Padding bottom","isPrimary":true,"classes":["sw-padding-bottom-xs"]},{"name":"letter-spacing","label":"Letter spacing","isPrimary":true,"classes":["sw-letter-spacing-normal"]},{"name":"line-height","label":"Line height","isPrimary":true,"classes":["sw-line-height-normal"]}],"value":"Crews2U Recruit - better than a recruitment agency, we connect you with the best Tradies and Subbies in the industry."},"buttons":{"type":"array","item_type":"#/elements/definitions/button","items":[{"tag":"a","type":"button","primaryStyles":[{"name":"size-color","label":"Text Size/Color","isPrimary":true,"classes":["sw-font-size-m","sw-text-color-default"]},{"name":"font-family","label":"Font family","isPrimary":true,"classes":["sw-font-family-default"]},{"name":"font-weight","label":"Font weight","isPrimary":true,"classes":["sw-font-weight-normal"]},{"name":"border-radius","label":"Roundness","isPrimary":true,"classes":["sw-border-radius-default"]},{"name":"background-color","label":"Background color","isPrimary":true,"classes":["sw-background-color-default"]},{"name":"padding-left-right","label":"Padding left/right","isPrimary":true,"classes":["sw-padding-left-2xs","sw-padding-right-2xs"]},{"name":"padding-top-bottom","label":"Padding top/bottom","isPrimary":true,"classes":["sw-padding-top-5xs","sw-padding-bottom-5xs"]},{"name":"border","label":"Border","isPrimary":true,"classes":["sw-border-style-none","sw-border-width-xs","sw-border-color-000000"]},{"name":"letter-spacing","label":"Letter spacing","isPrimary":true,"classes":["sw-letter-spacing-normal"]}],"label":"Sign Up Now","action":{"type":"navigate","options":{"url":{"destination":"/sign-up","target":""},"modalOptions":{"modalSize":"md","modalType":"center"},"isModelTypeEnabled":true},"action":"Open page > Sign up"}},{"tag":"a","type":"button","primaryStyles":[{"name":"size-color","label":"Text Size/Color","isPrimary":true,"classes":["sw-font-size-m","sw-text-color-default"]},{"name":"font-family","label":"Font family","isPrimary":true,"classes":["sw-font-family-default"]},{"name":"font-weight","label":"Font weight","isPrimary":true,"classes":["sw-font-weight-normal"]},{"name":"border-radius","label":"Roundness","isPrimary":true,"classes":["sw-border-radius-default"]},{"name":"background-color","label":"Background color","isPrimary":true,"classes":["sw-background-color-default"]},{"name":"padding-left-right","label":"Padding left/right","isPrimary":true,"classes":["sw-padding-left-2xs","sw-padding-right-2xs"]},{"name":"padding-top-bottom","label":"Padding top/bottom","isPrimary":true,"classes":["sw-padding-top-5xs","sw-padding-bottom-5xs"]},{"name":"border","label":"Border","isPrimary":true,"classes":["sw-border-style-none","sw-border-width-xs","sw-border-color-000000"]},{"name":"letter-spacing","label":"Letter spacing","isPrimary":true,"classes":["sw-letter-spacing-normal"]}],"label":"See Jobs","action":{"type":"navigate","options":{"url":{"destination":"/jobs","target":""},"modalOptions":{"modalSize":"md","modalType":"center"},"isModelTypeEnabled":true},"action":"Open page > Jobs"}}]},"imageOrVideo":{"tag":"img","primaryStyles":[{"name":"percentage-width","label":"Size","isPrimary":true,"classes":["sw-percentage-width-full"]},{"name":"border","label":"Border","isPrimary":true,"classes":["sw-border-style-none","sw-border-width-xs","sw-border-color-000000"]},{"name":"border-radius","label":"Roundness","isPrimary":true,"classes":["sw-border-radius-none"]}],"src":"https://assets.softr-files.com/applications/506ef524-5a44-4638-be02-9e237e8fc242/assets/771ba64e-29a1-45d0-918a-faa4ca3c2039.jpeg","alt":"","controls":false,"autoplay":true,"loop":true},"backgroundImage":{"tag":"img","primaryStyles":[{"name":"background-repeat","label":"Repeat","isPrimary":true,"classes":["sw-background-repeat-no-repeat"]},{"name":"background-size","label":"Size","isPrimary":true,"classes":["sw-background-size-cover"]},{"name":"background-position","label":"Position","isPrimary":true,"classes":["sw-background-position-center"]},{"name":"background-attachment","label":"Behaviour","isPrimary":true,"classes":["sw-background-attachment-scroll"]}],"src":""},"modalSizeOptions":[{"className":"sw-letter-s","key":"sm"},{"className":"sw-letter-m","key":"md"},{"className":"sw-letter-l","key":"lg"},{"className":"sw-letter-xl","key":"xl"}],"modalTypeOptions":[{"className":"sw-modal-type-side","key":"side"},{"className":"sw-modal-type-center","key":"center"}]},"type":"static","collection":null,"enabled":"true","order":"null","updated":[],"visibility":{"userGroup":{"predefinedUserGroupType":"ALL_USERS","customUserGroupIds":[],"enabledPredefinedUserGroupTypes":["ALL_USERS","LOGGED_IN_USERS","NON_LOGGED_IN_USERS"]},"devices":["laptop","tablet","mobile"],"detailsPageRecordCondition":null},"settings":{},"container":null,"presets":null,"created_at":"2024-08-02T11:29:54.452"},{"id":"5a89fe04-9d0e-4b9f-b43e-4464d63e9e4d","version":"3.0.2","hrid":"cta1","name":"cta3","title":"Call to action with email capture","image":"https://softr-assets-eu-shared.s3.eu-central-1.amazonaws.com/studio/blocks/assets/cta3.png","category":"CTA","keywords":"call to action, cta, simple","elements":{"definitions":{"button":{"tag":"a","type":"button","primaryStyles":[{"name":"size-color","label":"Text Size/Color","isPrimary":true,"classes":["sw-font-size-m","sw-text-color-default"]},{"name":"font-family","label":"Font family","isPrimary":true,"classes":["sw-font-family-default"]},{"name":"font-weight","label":"Font weight","isPrimary":true,"classes":["sw-font-weight-normal"]},{"name":"border-radius","label":"Roundness","isPrimary":true,"classes":["sw-border-radius-default"]},{"name":"background-color","label":"Background color","isPrimary":true,"classes":["sw-background-color-default"]},{"name":"padding-left-right","label":"Padding left/right","isPrimary":true,"classes":["sw-padding-left-4xs","sw-padding-right-4xs"]},{"name":"padding-top-bottom","label":"Padding top/bottom","isPrimary":true,"classes":["sw-padding-top-6xs","sw-padding-bottom-6xs"]},{"name":"border","label":"Border","isPrimary":true,"classes":["sw-border-style-none","sw-border-width-xs","sw-border-color-000000"]},{"name":"letter-spacing","label":"Letter spacing","isPrimary":true,"classes":["sw-letter-spacing-normal"]}],"label":"Join now","action":{"type":"request","options":{"mailchimp":{"url":""},"mailerlite":{"url":""},"zapierWebhook":{"url":""},"integromatWebhook":{"url":""},"email":{"value":""}}}}},"container":{"tag":"section","type":"container","primaryStyles":[{"name":"background-color","label":"Background color","isPrimary":true,"classes":["sw-background-color-dff4ff"]},{"name":"padding-top","label":"Padding top","isPrimary":true,"classes":["sw-padding-top-xs"]},{"name":"padding-bottom","label":"Padding bottom","isPrimary":true,"classes":["sw-padding-bottom-xs"]},{"name":"border-top","label":"Border top","isPrimary":true,"classes":["sw-border-top-style-none","sw-border-top-width-none","sw-border-top-color-000000"]},{"name":"border-bottom","label":"Border bottom","isPrimary":true,"classes":["sw-border-bottom-style-none","sw-border-bottom-width-none","sw-border-bottom-color-000000"]}]},"box":{"tag":"div","type":"container","primaryStyles":[{"name":"background-color","label":"Background color","isPrimary":true,"classes":["sw-background-color-none"]},{"name":"border","label":"Border","isPrimary":true,"classes":["sw-border-style-none","sw-border-width-xs","sw-border-color-000000"]},{"name":"border-radius","label":"Roundness","isPrimary":true,"classes":["sw-border-radius-none"]},{"name":"shadow","label":"Shadow","isPrimary":true,"classes":["sw-box-shadow-none"]},{"name":"padding-top-bottom","label":"Padding top/bottom","isPrimary":true,"classes":["sw-padding-top-none","sw-padding-bottom-none"]}]},"backgroundImage":{"tag":"img","primaryStyles":[{"name":"background-repeat","label":"Repeat","isPrimary":true,"classes":["sw-background-repeat-no-repeat"]},{"name":"background-size","label":"Size","isPrimary":true,"classes":["sw-background-size-cover"]},{"name":"background-position","label":"Position","isPrimary":true,"classes":["sw-background-position-center"]},{"name":"background-attachment","label":"Behaviour","isPrimary":true,"classes":["sw-background-attachment-scroll"]}],"src":""},"header":{"htmlTag":"h2","primaryStyles":[{"name":"size-color","label":"Text Size/Color","isPrimary":true,"classes":["sw-font-size-3xl","sw-text-color-default"]},{"name":"font-family","label":"Font family","isPrimary":true,"classes":["sw-font-family-default"]},{"name":"font-weight","label":"Font weight","isPrimary":true,"classes":["sw-font-weight-default"]},{"name":"padding-top","label":"Padding top","isPrimary":true,"classes":["sw-padding-top-none"]},{"name":"padding-bottom","label":"Padding bottom","isPrimary":true,"classes":["sw-padding-bottom-5xs"]},{"name":"letter-spacing","label":"Letter spacing","isPrimary":true,"classes":["sw-letter-spacing-normal"]},{"name":"line-height","label":"Line height","isPrimary":true,"classes":["sw-line-height-normal"]}],"value":"Join The Community — It's Free"},"text":{"tag":"p","primaryStyles":[{"name":"size-color","label":"Text Size/Color","isPrimary":true,"classes":["sw-font-size-m","sw-text-color-default"]},{"name":"font-family","label":"Font family","isPrimary":true,"classes":["sw-font-family-default"]},{"name":"font-weight","label":"Font weight","isPrimary":true,"classes":["sw-font-weight-default"]},{"name":"padding-top","label":"Padding top","isPrimary":true,"classes":["sw-padding-top-none"]},{"name":"padding-bottom","label":"Padding bottom","isPrimary":true,"classes":["sw-padding-bottom-3xs"]},{"name":"letter-spacing","label":"Letter spacing","isPrimary":true,"classes":["sw-letter-spacing-normal"]},{"name":"line-height","label":"Line height","isPrimary":true,"classes":["sw-line-height-normal"]}],"value":"Receive information about events, industry updates and more."},"form":{"type":"email_capture","emailInput":{"tag":"input","type":"text","format":"email","primaryStyles":[{"name":"background-color","label":"Background color","isPrimary":true,"classes":["sw-background-color-ffffff"]},{"name":"size-color","label":"Text Size/Color","isPrimary":true,"classes":["sw-font-size-m","sw-text-color-616161"]},{"name":"font-family","label":"Font family","isPrimary":true,"classes":["sw-font-family-default"]},{"name":"border-radius","label":"Roundness","isPrimary":true,"classes":["sw-border-radius-m"]},{"name":"width","label":"Width","isPrimary":true,"classes":["sw-width-s"]},{"name":"padding-top-bottom","label":"Padding top/bottom","isPrimary":true,"classes":["sw-padding-top-6xs","sw-padding-bottom-6xs"]},{"name":"border","label":"Border","isPrimary":true,"classes":["sw-border-style-solid","sw-border-width-xs","sw-border-color-C2C2C2"]},{"name":"shadow","label":"Shadow","isPrimary":true,"classes":["sw-box-shadow-none"]}],"placeholder":"Your email"},"button":{"tag":"a","type":"button","primaryStyles":[{"name":"size-color","label":"Text Size/Color","isPrimary":true,"classes":["sw-font-size-m","sw-text-color-default"]},{"name":"font-family","label":"Font family","isPrimary":true,"classes":["sw-font-family-default"]},{"name":"font-weight","label":"Font weight","isPrimary":true,"classes":["sw-font-weight-normal"]},{"name":"border-radius","label":"Roundness","isPrimary":true,"classes":["sw-border-radius-default"]},{"name":"background-color","label":"Background color","isPrimary":true,"classes":["sw-background-color-default"]},{"name":"padding-left-right","label":"Padding left/right","isPrimary":true,"classes":["sw-padding-left-4xs","sw-padding-right-4xs"]},{"name":"padding-top-bottom","label":"Padding top/bottom","isPrimary":true,"classes":["sw-padding-top-6xs","sw-padding-bottom-6xs"]},{"name":"border","label":"Border","isPrimary":true,"classes":["sw-border-style-none","sw-border-width-xs","sw-border-color-000000"]},{"name":"letter-spacing","label":"Letter spacing","isPrimary":true,"classes":["sw-letter-spacing-normal"]}],"label":"Join now","action":{"type":"request","options":{"mailchimp":{"url":""},"mailerlite":{"url":""},"zapierWebhook":{"url":""},"integromatWebhook":{"url":""},"email":{"value":"[email protected]"}},"action":"Forward to your email"}}},"success_action":{"selectedState":"SHOW_MESSAGE","path":"NO_ACTION","message":{"value":"Thank you for subscribing!","primaryStyles":[{"name":"size-color","label":"Text Size/Color","classes":["sw-font-size-xl","sw-text-color-default"]},{"name":"font-family","label":"Font family","classes":["sw-font-family-default"]},{"name":"font-weight","label":"Font weight","classes":["sw-font-weight-default"]},{"name":"padding-top","label":"Padding top","isPrimary":true,"classes":["sw-padding-top-none"]},{"name":"padding-bottom","label":"Padding bottom","classes":["sw-padding-bottom-none"]},{"name":"letter-spacing","label":"Letter spacing","isPrimary":true,"classes":["sw-letter-spacing-normal"]}]}}},"type":"static","collection":null,"enabled":"true","order":"null","updated":[],"visibility":{"userGroup":{"predefinedUserGroupType":"ALL_USERS","customUserGroupIds":[],"enabledPredefinedUserGroupTypes":["ALL_USERS","LOGGED_IN_USERS","NON_LOGGED_IN_USERS"]},"devices":["laptop","tablet","mobile"],"detailsPageRecordCondition":null},"settings":{},"container":null,"presets":null,"created_at":"2024-11-14T22:28:47.252"},{"id":"cf3a79d4-0aec-4936-9c53-eb7019927fee","version":"3.0.1","hrid":"partner1","name":"partner1","title":"Partner with fixed logos","image":"https://softr-assets-eu-shared.s3.eu-central-1.amazonaws.com/studio/blocks/assets/partner1.png","category":"Partner","keywords":"partner, simple, social proof, testimonials, brands list","elements":{"definitions":{"partner":{"picture":{"tag":"img","type":"image","primaryStyles":[{"name":"border","label":"Border","isPrimary":true,"classes":["sw-border-style-none","sw-border-width-xs","sw-border-color-000000"]},{"name":"border-radius","label":"Roundness","classes":["sw-border-radius-none"]},{"name":"width","label":"Size","isPrimary":true,"classes":["sw-width-8xs"]}],"src":"https://softr-assets-eu-shared.s3.eu-central-1.amazonaws.com/studio/blocks/assets/logo-placeholder.png"},"link":{"tag":"a","primaryStyles":[],"action":{"type":"navigate","options":{"url":{"destination":"","target":""},"modalOptions":{"modalSize":"md","modalType":"center"},"isModelTypeEnabled":true}}}}},"container":{"tag":"section","type":"container","primaryStyles":[{"name":"background-color","label":"Background color","classes":["sw-background-color-ffffff"]},{"name":"padding-top","label":"Padding top","classes":["sw-padding-top-2xl"]},{"name":"padding-bottom","label":"Padding bottom","classes":["sw-padding-bottom-2xl"]},{"name":"border-top","label":"Border top","classes":["sw-border-top-style-none","sw-border-top-width-xs","sw-border-top-color-000000"]},{"name":"border-bottom","label":"Border bottom","classes":["sw-border-bottom-style-none","sw-border-bottom-width-xs","sw-border-bottom-color-000000"]}]},"header":{"htmlTag":"h2","type":"text","primaryStyles":[{"name":"size-color","label":"Text Size/Color","classes":["sw-text-color-default","sw-font-size-4xl"]},{"name":"font-family","label":"Font family","classes":["sw-font-family-default"]},{"name":"font-weight","label":"Font weight","classes":["sw-font-weight-default"]},{"name":"padding-top","label":"Padding top","isPrimary":true,"classes":["sw-padding-top-none"]},{"name":"padding-bottom","label":"Padding bottom","isPrimary":true,"classes":["sw-padding-bottom-4xs"]},{"name":"letter-spacing","label":"Letter spacing","isPrimary":true,"classes":["sw-letter-spacing-normal"]},{"name":"line-height","label":"Line height","isPrimary":true,"classes":["sw-line-height-normal"]}],"value":"Supported by"},"text":{"tag":"p","type":"text","primaryStyles":[{"name":"size-color","label":"Text Size/Color","classes":["sw-text-color-default","sw-font-size-xl"]},{"name":"font-family","label":"Font family","classes":["sw-font-family-default"]},{"name":"font-weight","label":"Font weight","classes":["sw-font-weight-default"]},{"name":"padding-top","label":"Padding top","classes":["sw-padding-top-none"]},{"name":"padding-bottom","label":"Padding bottom","classes":["sw-padding-bottom-3xs"]},{"name":"letter-spacing","label":"Letter spacing","isPrimary":true,"classes":["sw-letter-spacing-normal"]},{"name":"line-height","label":"Line height","isPrimary":true,"classes":["sw-line-height-normal"]}],"value":"."},"partners":{"type":"array","minItems":4,"item_type":"#/elements/definitions/partner","items":[{"picture":{"tag":"img","type":"image","primaryStyles":[{"name":"border","label":"Border","isPrimary":true,"classes":["sw-border-style-none","sw-border-width-xs","sw-border-color-000000"]},{"name":"border-radius","label":"Roundness","classes":["sw-border-radius-none"]},{"name":"width","label":"Size","isPrimary":true,"classes":["sw-width-8xs"]}],"src":"https://assets.softr-files.com/applications/506ef524-5a44-4638-be02-9e237e8fc242/assets/545b97a5-a5f0-4146-a8b9-89d5a23573f0.png"},"link":{"tag":"a","primaryStyles":[],"action":{"type":"navigate","options":{"url":{"destination":"","target":""},"modalOptions":{"modalSize":"md","modalType":"center"},"isModelTypeEnabled":true},"action":""}}},{"picture":{"tag":"img","type":"image","primaryStyles":[{"name":"border","label":"Border","isPrimary":true,"classes":["sw-border-style-none","sw-border-width-xs","sw-border-color-000000"]},{"name":"border-radius","label":"Roundness","classes":["sw-border-radius-none"]},{"name":"width","label":"Size","isPrimary":true,"classes":["sw-width-8xs"]}],"src":"https://assets.softr-files.com/applications/506ef524-5a44-4638-be02-9e237e8fc242/assets/d2b34ad3-1b67-4d28-8b08-29cf934edc7b.png"},"link":{"tag":"a","primaryStyles":[],"action":{"type":"navigate","options":{"url":{"destination":"","target":""},"modalOptions":{"modalSize":"md","modalType":"center"},"isModelTypeEnabled":true},"action":""}}}]},"modalSizeOptions":[{"className":"sw-letter-s","key":"sm"},{"className":"sw-letter-m","key":"md"},{"className":"sw-letter-l","key":"lg"},{"className":"sw-letter-xl","key":"xl"}],"modalTypeOptions":[{"className":"sw-modal-type-side","key":"side"},{"className":"sw-modal-type-center","key":"center"}]},"type":"static","collection":null,"enabled":"true","order":"null","updated":[],"visibility":{"userGroup":{"predefinedUserGroupType":"ALL_USERS","customUserGroupIds":[],"enabledPredefinedUserGroupTypes":["ALL_USERS","LOGGED_IN_USERS","NON_LOGGED_IN_USERS"]},"devices":["laptop","tablet","mobile"],"detailsPageRecordCondition":null},"settings":{},"container":null,"presets":null,"created_at":"2024-10-29T05:17:04.500"},{"id":"d360d1b5-8b77-42b4-a7f7-856f6b31d7ae","version":"3.2.0","hrid":"customers-footer1","name":"footer3","title":"Footer with link groups, description and secondary footer","image":"https://softr-assets-eu-shared.s3.eu-central-1.amazonaws.com/studio/blocks/assets/footer3.png","category":"Footer","keywords":"footer, simple, Navigation footer","elements":{"definitions":{"socialLink":{"tag":"a","type":"social-icon","value":"fab fa-facebook-f","url":"https://facebook.com/mycompany","primaryStyles":[{"name":"size-color","label":"Icon Size/Color","isPrimary":true,"classes":["sw-font-size-m","sw-text-color-616161"]},{"name":"width","label":"Width","isPrimary":true,"classes":["sw-width-11xs"]}],"otherStyles":[{"name":"others","label":"Others","classes":["sw-display-inline-block","sw-min-width-6xs","sw-margin-right-7xs","sw-text-align-center","sw-border-radius-s","sw-border-color-eaeff4","sw-border-style-solid","sw-border-width-xs","sw-padding-right-7xs","sw-padding-left-7xs","sw-padding-top-7xs","sw-padding-bottom-7xs","sw-opacity-2xs"]}]},"linkGroup":{"title":{"tag":"h6","type":"text","primaryStyles":[{"name":"size-color","label":"Text Size/Color","isPrimary":true,"classes":["sw-font-size-xs","sw-text-color-616161"]},{"name":"font-family","label":"Font family","isPrimary":true,"classes":["sw-font-family-default"]},{"name":"font-weight","label":"Font weight","isPrimary":true,"classes":["sw-font-weight-semibold"]},{"name":"line-height","label":"Line height","isPrimary":true,"classes":["sw-line-height-tight"]}],"value":"Group title"},"links":{"type":"array","item_type":"#/elements/definitions/link","items":[]}},"link":{"tag":"a","type":"link","primaryStyles":[{"name":"size-color","label":"Text Size/Color","isPrimary":true,"classes":["sw-font-size-xs","sw-text-color-616161"]},{"name":"font-family","label":"Font family","isPrimary":true,"classes":["sw-font-family-default"]},{"name":"font-weight","label":"Font weight","isPrimary":true,"classes":["sw-font-weight-normal"]},{"name":"letter-spacing","label":"Letter spacing","isPrimary":true,"classes":["sw-letter-spacing-normal"]}],"otherStyles":[{"name":"others","label":"Others","isPrimary":true,"classes":["sw-padding-left-none","sw-padding-top-7xs","sw-padding-bottom-7xs","hover:sw-text-decoration-no-underline"]}],"value":"LINK NAME","action":{"type":"navigate","options":{"url":{"destination":"","target":""},"modalOptions":{"modalSize":"md"}}}}},"container":{"tag":"footer","type":"container","primaryStyles":[{"name":"background-color","label":"Background color","isPrimary":true,"classes":["sw-background-color-ffffff"]},{"name":"padding-top","label":"Padding top","isPrimary":true,"classes":["sw-padding-top-l"]},{"name":"padding-bottom","label":"Padding bottom","isPrimary":true,"classes":["sw-padding-bottom-l"]},{"name":"border-top","label":"Border top","isPrimary":true,"classes":["sw-border-top-style-none","sw-border-top-width-xs","sw-border-top-color-000000"]},{"name":"border-bottom","label":"Border bottom","isPrimary":true,"classes":["sw-border-bottom-style-none","sw-border-bottom-width-xs","sw-border-bottom-color-000000"]}]},"horizontalLine":{"tag":"hr","type":"horizontal-line","primaryStyles":[{"name":"margin-top-bottom","label":"Margin top/bottom","isPrimary":true,"classes":["sw-margin-top-3xs","sw-margin-bottom-3xs"]},{"name":"border-top","label":"Border top","isPrimary":true,"classes":["sw-border-top-style-solid","sw-border-top-width-xs","sw-border-top-color-ededed"]}]},"copyrightText":{"tag":"p","type":"text","primaryStyles":[{"name":"size-color","label":"Text Size/Color","isPrimary":true,"classes":["sw-font-size-xs","sw-text-color-default"]},{"name":"font-family","label":"Font family","isPrimary":true,"classes":["sw-font-family-default"]},{"name":"font-weight","label":"Font weight","isPrimary":true,"classes":["sw-font-weight-default"]},{"name":"padding-top","label":"Padding top","isPrimary":true,"classes":["sw-padding-top-none"]},{"name":"padding-bottom","label":"Padding bottom","isPrimary":true,"classes":["sw-padding-bottom-none"]}],"otherStyles":[{"name":"others","label":"Others","classes":["sw-display-block"]}],"value":"© 2024 C2U Tradie. All rights reserved."},"linkGroups":{"type":"array","minItems":2,"maxItems":4,"item_type":"#/elements/definitions/linkGroup","items":[{"title":{"tag":"h6","type":"text","primaryStyles":[{"name":"size-color","label":"Text Size/Color","isPrimary":true,"classes":["sw-font-size-xs","sw-text-color-616161"]},{"name":"font-family","label":"Font family","isPrimary":true,"classes":["sw-font-family-default"]},{"name":"font-weight","label":"Font weight","isPrimary":true,"classes":["sw-font-weight-semibold"]},{"name":"line-height","label":"Line height","isPrimary":true,"classes":["sw-line-height-tight"]}],"value":"Product"},"links":{"type":"array","item_type":"#/elements/definitions/link","items":[{"tag":"a","type":"link","primaryStyles":[{"name":"size-color","label":"Text Size/Color","isPrimary":true,"classes":["sw-font-size-xs","sw-text-color-616161"]},{"name":"font-family","label":"Font family","isPrimary":true,"classes":["sw-font-family-default"]},{"name":"font-weight","label":"Font weight","isPrimary":true,"classes":["sw-font-weight-normal"]},{"name":"letter-spacing","label":"Letter spacing","isPrimary":true,"classes":["sw-letter-spacing-normal"]}],"otherStyles":[{"name":"others","label":"Others","isPrimary":true,"classes":["sw-padding-left-none","sw-padding-top-7xs","sw-padding-bottom-7xs","hover:sw-text-decoration-no-underline"]}],"value":"Features","action":{"type":"navigate","options":{"url":{"destination":"","target":""},"modalOptions":{"modalSize":"md"}},"action":""}},{"tag":"a","type":"link","primaryStyles":[{"name":"size-color","label":"Text Size/Color","isPrimary":true,"classes":["sw-font-size-xs","sw-text-color-616161"]},{"name":"font-family","label":"Font family","isPrimary":true,"classes":["sw-font-family-default"]},{"name":"font-weight","label":"Font weight","isPrimary":true,"classes":["sw-font-weight-normal"]},{"name":"letter-spacing","label":"Letter spacing","isPrimary":true,"classes":["sw-letter-spacing-normal"]}],"otherStyles":[{"name":"others","label":"Others","isPrimary":true,"classes":["sw-padding-left-none","sw-padding-top-7xs","sw-padding-bottom-7xs","hover:sw-text-decoration-no-underline"]}],"value":"Pricing","action":{"type":"navigate","options":{"url":{"destination":"/#pricing1","target":""},"modalOptions":{"modalSize":"md"}},"action":"Scroll to section > C2U Tradie/#pricing1"}}]}},{"title":{"tag":"h6","type":"text","primaryStyles":[{"name":"size-color","label":"Text Size/Color","isPrimary":true,"classes":["sw-font-size-xs","sw-text-color-616161"]},{"name":"font-family","label":"Font family","isPrimary":true,"classes":["sw-font-family-default"]},{"name":"font-weight","label":"Font weight","isPrimary":true,"classes":["sw-font-weight-semibold"]},{"name":"line-height","label":"Line height","isPrimary":true,"classes":["sw-line-height-tight"]}],"value":"Support"},"links":{"type":"array","item_type":"#/elements/definitions/link","items":[{"tag":"a","type":"link","primaryStyles":[{"name":"size-color","label":"Text Size/Color","isPrimary":true,"classes":["sw-font-size-xs","sw-text-color-616161"]},{"name":"font-family","label":"Font family","isPrimary":true,"classes":["sw-font-family-default"]},{"name":"font-weight","label":"Font weight","isPrimary":true,"classes":["sw-font-weight-normal"]},{"name":"letter-spacing","label":"Letter spacing","isPrimary":true,"classes":["sw-letter-spacing-normal"]}],"otherStyles":[{"name":"others","label":"Others","isPrimary":true,"classes":["sw-padding-left-none","sw-padding-top-7xs","sw-padding-bottom-7xs","hover:sw-text-decoration-no-underline"]}],"value":"Help Center","action":{"type":"navigate","options":{"url":{"destination":"","target":""},"modalOptions":{"modalSize":"md"}},"action":""}}]}}]},"socialLinks":{"type":"array","item_type":"#/elements/definitions/socialLink","items":[{"tag":"a","type":"social-icon","value":"fab fa-facebook-f","url":"https://www.facebook.com/share/8UmsLEdahCSgi6qC/?mibextid=LQQJ4d","primaryStyles":[{"name":"size-color","label":"Icon Size/Color","isPrimary":true,"classes":["sw-font-size-m","sw-text-color-616161"]},{"name":"width","label":"Width","isPrimary":true,"classes":["sw-width-11xs"]}],"otherStyles":[{"name":"others","label":"Others","classes":["sw-display-inline-block","sw-min-width-6xs","sw-margin-right-7xs","sw-text-align-center","sw-border-radius-s","sw-border-color-eaeff4","sw-border-style-solid","sw-border-width-xs","sw-padding-right-7xs","sw-padding-left-7xs","sw-padding-top-7xs","sw-padding-bottom-7xs","sw-opacity-2xs"]}]},{"tag":"a","type":"social-icon","value":"fab fa-instagram","url":"https://instagram.com/mycompany","primaryStyles":[{"name":"size-color","label":"Icon Size/Color","isPrimary":true,"classes":["sw-font-size-m","sw-text-color-616161"]},{"name":"width","label":"Width","isPrimary":true,"classes":["sw-width-11xs"]}],"otherStyles":[{"name":"others","label":"Others","classes":["sw-display-inline-block","sw-min-width-6xs","sw-margin-right-7xs","sw-text-align-center","sw-border-radius-s","sw-border-color-eaeff4","sw-border-style-solid","sw-border-width-xs","sw-padding-right-7xs","sw-padding-left-7xs","sw-padding-top-7xs","sw-padding-bottom-7xs","sw-opacity-2xs"]}]},{"tag":"a","type":"social-icon","value":"fab fa-tiktok","url":"https://www.tiktok.com/@crews2u","primaryStyles":[{"name":"size-color","label":"Icon Size/Color","isPrimary":true,"classes":["sw-font-size-m","sw-text-color-616161"]},{"name":"width","label":"Width","isPrimary":true,"classes":["sw-width-11xs"]}],"otherStyles":[{"name":"others","label":"Others","classes":["sw-display-inline-block","sw-min-width-6xs","sw-margin-right-7xs","sw-text-align-center","sw-border-radius-s","sw-border-color-eaeff4","sw-border-style-solid","sw-border-width-xs","sw-padding-right-7xs","sw-padding-left-7xs","sw-padding-top-7xs","sw-padding-bottom-7xs","sw-opacity-2xs"]}]}]},"madeIn":{"tag":"small","type":"text","primaryStyles":[{"name":"size-color","label":"Text Size/Color","isPrimary":true,"classes":["sw-font-size-xs","sw-text-color-616161"]},{"name":"font-family","label":"Font family","isPrimary":true,"classes":["sw-font-family-default"]},{"name":"font-weight","label":"Font weight","isPrimary":true,"classes":["sw-font-weight-normal"]}],"otherStyles":[{"name":"others","label":"Others","classes":[]}],"value":"Made in AU."},"termsAndPolicies":{"type":"array","minItems":0,"maxItems":4,"item_type":"#/elements/definitions/link","items":[{"tag":"a","type":"link","primaryStyles":[{"name":"size-color","label":"Text Size/Color","isPrimary":true,"classes":["sw-font-size-xs","sw-text-color-616161"]},{"name":"font-family","label":"Font family","isPrimary":true,"classes":["sw-font-family-default"]},{"name":"font-weight","label":"Font weight","isPrimary":true,"classes":["sw-font-weight-normal"]},{"name":"letter-spacing","label":"Letter spacing","isPrimary":true,"classes":["sw-letter-spacing-normal"]}],"otherStyles":[{"name":"others","label":"Others","isPrimary":true,"classes":["sw-padding-left-none","sw-padding-top-7xs","sw-padding-bottom-7xs","hover:sw-text-decoration-no-underline"]}],"value":"Terms of Service","action":{"type":"navigate","options":{"url":{"destination":"/privacy","target":""},"modalOptions":{"modalSize":"md"}},"action":"Open page > Privacy"}},{"tag":"a","type":"link","primaryStyles":[{"name":"size-color","label":"Text Size/Color","isPrimary":true,"classes":["sw-font-size-xs","sw-text-color-616161"]},{"name":"font-family","label":"Font family","isPrimary":true,"classes":["sw-font-family-default"]},{"name":"font-weight","label":"Font weight","isPrimary":true,"classes":["sw-font-weight-normal"]},{"name":"letter-spacing","label":"Letter spacing","isPrimary":true,"classes":["sw-letter-spacing-normal"]}],"otherStyles":[{"name":"others","label":"Others","isPrimary":true,"classes":["sw-padding-left-none","sw-padding-top-7xs","sw-padding-bottom-7xs","hover:sw-text-decoration-no-underline"]}],"value":"Privacy Policy","action":{"type":"navigate","options":{"url":{"destination":"/privacy","target":""},"modalOptions":{"modalSize":"md"}},"action":"Open page > Privacy"}}]},"modalSizeOptions":[{"className":"sw-letter-s","key":"sm"},{"className":"sw-letter-m","key":"md"},{"className":"sw-letter-l","key":"lg"},{"className":"sw-letter-xl","key":"xl"}]},"type":"static","collection":null,"enabled":"true","order":"null","updated":[],"visibility":{"userGroup":{"predefinedUserGroupType":"ALL_USERS","customUserGroupIds":[],"enabledPredefinedUserGroupTypes":["ALL_USERS","LOGGED_IN_USERS","NON_LOGGED_IN_USERS"]},"devices":["laptop","tablet","mobile"],"detailsPageRecordCondition":null},"settings":{},"container":null,"presets":null,"created_at":"2024-08-02T11:23:29.669"}], targetElement: document.getElementById('page-content'), workspaceId: "710f981e-ebe4-4102-aa31-4033c1238fdd", appId: "506ef524-5a44-4638-be02-9e237e8fc242", pageId: "a4a08984-b870-40e0-8098-38b9c9ac1d42", paymentPlan: "price_1MWTnPIWZwIztnHlUmbZwapp", baseUrl: "https://assets.softr-files.com/softr-blocks/prod/blocks",theme: reactDefaultThemes, appCustomHeaderCode: "", pageCustomHeaderCode: "", appCustomFooterCode: "", pageCustomFooterCode: ""}).then(() => window.dispatchEvent(new Event("@softr/page-content-loaded")));
</script><div data-spr-role="react-root"></div>
<script src="https://assets.softr-files.com/libs/iframe-resizer/4.2.11/iframeResizer.contentWindow.min.js" crossorigin="anonymous"></script>
<!-- Localhost -->
<script type="text/javascript">
if (window.location.hostname === 'localhost') {
if (getUrlParam('domain')) {
setCookie('serverName', getUrlParam('domain'), 30);
}
}
function setCookie(name, value, days) {
var date = new Date();
date.setTime(date.getTime() + (days * 24 * 60 * 60 * 1000));
var expires = "expires=" + date.toUTCString();
document.cookie = name + "=" + value + ";" + expires + ";path=/;" + "SameSite=None; Secure";
}
function getUrlParam(name) {
const url = new URL(window.location.href);
let param;
for (var key of url.searchParams.keys()) {
if (key.toLowerCase() === name.toLowerCase()) {
param = url.searchParams.get(name);
break;
}
}
return param;
}
</script>
<!-- Modal HTML -->
<div id="sw-modal" class="sw-modal" aria-hidden="true">
<div class="sw-modal-overlay" data-micromodal-close="">
<div tabindex="-1" class="sw-modal-container">
<div role="dialog" aria-modal="true" aria-labelledby="micromodal-title">
<button aria-label="Close modal" class="sw-modal-close" onclick="MicroModal.close('sw-modal')"></button>
<div id="sw-modal-content">
<iframe class="sw-modal-iframe"></iframe>
</div>
</div>
</div>
</div>
</div>
<!--move fixed header under template bar if needed-->
<!--Scroll to section-->
<script>
window.addEventListener(BlocksRenderedEventName, function () {
$('a').each(function (index, el) {
let href = $(el).attr('href');
let path = cleanSlugFromPath(location.pathname);
if (href && href.startsWith(path + '#')) {
const scrollTo = href.split('#')[1];
$(this).attr('href', '#' + scrollTo);
}
});
function cleanSlugFromPath(pagePath) {
if (pagePath.includes("/r/rec")) {
pagePath = pagePath.substring(0, pagePath.indexOf("/r/rec"));
pagePath = pagePath.substring(0, pagePath.lastIndexOf("/"));
}
return pagePath + (pagePath.endsWith('/') ? '' : '/');
}
});
</script>
<iframe name="__privateStripeController3221" frameborder="0" allowtransparency="true" scrolling="no" role="presentation" allow="payment *" src="https://js.stripe.com/v3/controller-with-preconnect-a1b7bd2c69f677c12456278c10d82c2d.html#apiKey=pk_test_IYInh88v5cf0tKWoF6cnNZch&stripeJsId=c1f3a155-3ada-40b8-8adc-9a1d4fd84ce3&controllerCount=1&isCheckout=false&stripeJsLoadTime=1731631149624&manualBrowserDeprecationRollout=false&mids[guid]=NA&mids[muid]=NA&mids[sid]=NA&referrer=https%3A%2F%2Frecruit.crews2u.com.au%2F&controllerId=__privateStripeController3221" aria-hidden="true" tabindex="-1" style="border: none !important; margin: 0px !important; padding: 0px !important; width: 1px !important; min-width: 100% !important; overflow: hidden !important; display: block !important; visibility: hidden !important; position: fixed !important; height: 1px !important; pointer-events: none !important; user-select: none !important;"></iframe><script data-for-block-name="header2" data-for-block-version="3.1.0">
{
// React 18 blocks expect react and react-dom to be available
// as variables with this name
var react18 = window.react18;
var react_dom18 = window.react_dom18;
var renderBlock;(()=>{var e={54697:(e,t,r)=>{"use strict";r.d(t,{Z:()=>v});var n=r(11526),o=r(46411),i=r(26686),a=r(27563),s=r(20211),l=r(88160),c=r(92190),u=function(e,t,r){for(var n=0,i=0;n=i,i=(0,o.fj)(),38===n&&12===i&&(t[r]=1),!(0,o.r)(i);)(0,o.lp)();return(0,o.tP)(e,o.FK)},d=function(e,t){return(0,o.cE)(function(e,t){var r=-1,n=44;do{switch((0,o.r)(n)){case 0:38===n&&12===(0,o.fj)()&&(t[r]=1),e[r]+=u(o.FK-1,t,r);break;case 2:e[r]+=(0,o.iF)(n);break;case 4:if(44===n){e[++r]=58===(0,o.fj)()?"&\f":"",t[r]=e[r].length;break}default:e[r]+=(0,i.Dp)(n)}}while(n=(0,o.lp)());return e}((0,o.un)(e),t))},p=new WeakMap,f=function(e){if("rule"===e.type&&e.parent&&!(e.length<1)){for(var t=e.value,r=e.parent,n=e.column===r.column&&e.line===r.line;"rule"!==r.type;)if(!(r=r.parent))return;if((1!==e.props.length||58===t.charCodeAt(0)||p.get(r))&&!n){p.set(e,!0);for(var o=[],i=d(t,o),a=r.props,s=0,l=0;s<i.length;s++)for(var c=0;c<a.length;c++,l++)e.props[l]=o[s]?i[s].replace(/&\f/g,a[c]):a[c]+" "+i[s]}}},h=function(e){if("decl"===e.type){var t=e.value;108===t.charCodeAt(0)&&98===t.charCodeAt(2)&&(e.return="",e.value="")}};function m(e,t){switch((0,i.vp)(e,t)){case 5103:return a.G$+"print-"+e+e;case 5737:case 4201:case 3177:case 3433:case 1641:case 4457:case 2921:case 5572:case 6356:case 5844:case 3191:case 6645:case 3005:case 6391:case 5879:case 5623:case 6135:case 4599:case 4855:case 4215:case 6389:case 5109:case 5365:case 5621:case 3829:return a.G$+e+e;case 5349:case 4246:case 4810:case 6968:case 2756:return a.G$+e+a.uj+e+a.MS+e+e;case 6828:case 4268:return a.G$+e+a.MS+e+e;case 6165:return a.G$+e+a.MS+"flex-"+e+e;case 5187:return a.G$+e+(0,i.gx)(e,/(\w+).+(:[^]+)/,a.G$+"box-$1$2"+a.MS+"flex-$1$2")+e;case 5443:return a.G$+e+a.MS+"flex-item-"+(0,i.gx)(e,/flex-|-self/,"")+e;case 4675:return a.G$+e+a.MS+"flex-line-pack"+(0,i.gx)(e,/align-content|flex-|-self/,"")+e;case 5548:return a.G$+e+a.MS+(0,i.gx)(e,"shrink","negative")+e;case 5292:return a.G$+e+a.MS+(0,i.gx)(e,"basis","preferred-size")+e;case 6060:return a.G$+"box-"+(0,i.gx)(e,"-grow","")+a.G$+e+a.MS+(0,i.gx)(e,"grow","positive")+e;case 4554:return a.G$+(0,i.gx)(e,/([^-])(transform)/g,"$1"+a.G$+"$2")+e;case 6187:return(0,i.gx)((0,i.gx)((0,i.gx)(e,/(zoom-|grab)/,a.G$+"$1"),/(image-set)/,a.G$+"$1"),e,"")+e;case 5495:case 3959:return(0,i.gx)(e,/(image-set\([^]*)/,a.G$+"$1$`$1");case 4968:return(0,i.gx)((0,i.gx)(e,/(.+:)(flex-)?(.*)/,a.G$+"box-pack:$3"+a.MS+"flex-pack:$3"),/s.+-b[^;]+/,"justify")+a.G$+e+e;case 4095:case 3583:case 4068:case 2532:return(0,i.gx)(e,/(.+)-inline(.+)/,a.G$+"$1$2")+e;case 8116:case 7059:case 5753:case 5535:case 5445:case 5701:case 4933:case 4677:case 5533:case 5789:case 5021:case 4765:if((0,i.to)(e)-1-t>6)switch((0,i.uO)(e,t+1)){case 109:if(45!==(0,i.uO)(e,t+4))break;case 102:return(0,i.gx)(e,/(.+:)(.+)-([^]+)/,"$1"+a.G$+"$2-$3$1"+a.uj+(108==(0,i.uO)(e,t+3)?"$3":"$2-$3"))+e;case 115:return~(0,i.Cw)(e,"stretch")?m((0,i.gx)(e,"stretch","fill-available"),t)+e:e}break;case 4949:if(115!==(0,i.uO)(e,t+1))break;case 6444:switch((0,i.uO)(e,(0,i.to)(e)-3-(~(0,i.Cw)(e,"!important")&&10))){case 107:return(0,i.gx)(e,":",":"+a.G$)+e;case 101:return(0,i.gx)(e,/(.+:)([^;!]+)(;|!.+)?/,"$1"+a.G$+(45===(0,i.uO)(e,14)?"inline-":"")+"box$3$1"+a.G$+"$2$3$1"+a.MS+"$2box$3")+e}break;case 5936:switch((0,i.uO)(e,t+11)){case 114:return a.G$+e+a.MS+(0,i.gx)(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return a.G$+e+a.MS+(0,i.gx)(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return a.G$+e+a.MS+(0,i.gx)(e,/[svh]\w+-[tblr]{2}/,"lr")+e}return a.G$+e+a.MS+e+e}return e}var g=[function(e,t,r,n){if(e.length>-1&&!e.return)switch(e.type){case a.h5:e.return=m(e.value,e.length);break;case a.lK:return(0,s.q)([(0,o.JG)(e,{value:(0,i.gx)(e.value,"@","@"+a.G$)})],n);case a.Fr:if(e.length)return(0,i.$e)(e.props,(function(t){switch((0,i.EQ)(t,/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":return(0,s.q)([(0,o.JG)(e,{props:[(0,i.gx)(t,/:(read-\w+)/,":"+a.uj+"$1")]})],n);case"::placeholder":return(0,s.q)([(0,o.JG)(e,{props:[(0,i.gx)(t,/:(plac\w+)/,":"+a.G$+"input-$1")]}),(0,o.JG)(e,{props:[(0,i.gx)(t,/:(plac\w+)/,":"+a.uj+"$1")]}),(0,o.JG)(e,{props:[(0,i.gx)(t,/:(plac\w+)/,a.MS+"input-$1")]})],n)}return""}))}}],v=function(e){var t=e.key;if("css"===t){var r=document.querySelectorAll("style[data-emotion]:not([data-s])");Array.prototype.forEach.call(r,(function(e){-1!==e.getAttribute("data-emotion").indexOf(" ")&&(document.head.appendChild(e),e.setAttribute("data-s",""))}))}var o=e.stylisPlugins||g;var i,a,u={},d=[];i=e.container||document.head,Array.prototype.forEach.call(document.querySelectorAll('style[data-emotion^="'+t+' "]'),(function(e){for(var t=e.getAttribute("data-emotion").split(" "),r=1;r<t.length;r++)u[t[r]]=!0;d.push(e)}));var p=[f,h];var m,v=[s.P,(0,l.cD)((function(e){m.insert(e)}))],b=(0,l.qR)(p.concat(o,v));a=function(e,t,r,n){var o;m=r,o=e?e+"{"+t.styles+"}":t.styles,(0,s.q)((0,c.MY)(o),b),n&&(y.inserted[t.name]=!0)};var y={key:t,sheet:new n.m({key:t,container:i,nonce:e.nonce,speedy:e.speedy,prepend:e.prepend,insertionPoint:e.insertionPoint}),nonce:e.nonce,inserted:u,registered:{},insert:a};return y.sheet.hydrate(d),y}},66292:(e,t,r)=>{"use strict";function n(e){for(var t,r=0,n=0,o=e.length;o>=4;++n,o-=4)t=1540483477*(65535&(t=255&e.charCodeAt(n)|(255&e.charCodeAt(++n))<<8|(255&e.charCodeAt(++n))<<16|(255&e.charCodeAt(++n))<<24))+(59797*(t>>>16)<<16),r=1540483477*(65535&(t^=t>>>24))+(59797*(t>>>16)<<16)^1540483477*(65535&r)+(59797*(r>>>16)<<16);switch(o){case 3:r^=(255&e.charCodeAt(n+2))<<16;case 2:r^=(255&e.charCodeAt(n+1))<<8;case 1:r=1540483477*(65535&(r^=255&e.charCodeAt(n)))+(59797*(r>>>16)<<16)}return(((r=1540483477*(65535&(r^=r>>>13))+(59797*(r>>>16)<<16))^r>>>15)>>>0).toString(36)}r.d(t,{Z:()=>n})},71068:(e,t,r)=>{"use strict";r.d(t,{Z:()=>i});var n=r(45042),o=/^((children|dangerouslySetInnerHTML|key|ref|autoFocus|defaultValue|defaultChecked|innerHTML|suppressContentEditableWarning|suppressHydrationWarning|valueLink|abbr|accept|acceptCharset|accessKey|action|allow|allowUserMedia|allowPaymentRequest|allowFullScreen|allowTransparency|alt|async|autoComplete|autoPlay|capture|cellPadding|cellSpacing|challenge|charSet|checked|cite|classID|className|cols|colSpan|content|contentEditable|contextMenu|controls|controlsList|coords|crossOrigin|data|dateTime|decoding|default|defer|dir|disabled|disablePictureInPicture|download|draggable|encType|enterKeyHint|form|formAction|formEncType|formMethod|formNoValidate|formTarget|frameBorder|headers|height|hidden|high|href|hrefLang|htmlFor|httpEquiv|id|inputMode|integrity|is|keyParams|keyType|kind|label|lang|list|loading|loop|low|marginHeight|marginWidth|max|maxLength|media|mediaGroup|method|min|minLength|multiple|muted|name|nonce|noValidate|open|optimum|pattern|placeholder|playsInline|poster|preload|profile|radioGroup|readOnly|referrerPolicy|rel|required|reversed|role|rows|rowSpan|sandbox|scope|scoped|scrolling|seamless|selected|shape|size|sizes|slot|span|spellCheck|src|srcDoc|srcLang|srcSet|start|step|style|summary|tabIndex|target|title|translate|type|useMap|value|width|wmode|wrap|about|datatype|inlist|prefix|property|resource|typeof|vocab|autoCapitalize|autoCorrect|autoSave|color|incremental|fallback|inert|itemProp|itemScope|itemType|itemID|itemRef|on|option|results|security|unselectable|accentHeight|accumulate|additive|alignmentBaseline|allowReorder|alphabetic|amplitude|arabicForm|ascent|attributeName|attributeType|autoReverse|azimuth|baseFrequency|baselineShift|baseProfile|bbox|begin|bias|by|calcMode|capHeight|clip|clipPathUnits|clipPath|clipRule|colorInterpolation|colorInterpolationFilters|colorProfile|colorRendering|contentScriptType|contentStyleType|cursor|cx|cy|d|decelerate|descent|diffuseConstant|direction|display|divisor|dominantBaseline|dur|dx|dy|edgeMode|elevation|enableBackground|end|exponent|externalResourcesRequired|fill|fillOpacity|fillRule|filter|filterRes|filterUnits|floodColor|floodOpacity|focusable|fontFamily|fontSize|fontSizeAdjust|fontStretch|fontStyle|fontVariant|fontWeight|format|from|fr|fx|fy|g1|g2|glyphName|glyphOrientationHorizontal|glyphOrientationVertical|glyphRef|gradientTransform|gradientUnits|hanging|horizAdvX|horizOriginX|ideographic|imageRendering|in|in2|intercept|k|k1|k2|k3|k4|kernelMatrix|kernelUnitLength|kerning|keyPoints|keySplines|keyTimes|lengthAdjust|letterSpacing|lightingColor|limitingConeAngle|local|markerEnd|markerMid|markerStart|markerHeight|markerUnits|markerWidth|mask|maskContentUnits|maskUnits|mathematical|mode|numOctaves|offset|opacity|operator|order|orient|orientation|origin|overflow|overlinePosition|overlineThickness|panose1|paintOrder|pathLength|patternContentUnits|patternTransform|patternUnits|pointerEvents|points|pointsAtX|pointsAtY|pointsAtZ|preserveAlpha|preserveAspectRatio|primitiveUnits|r|radius|refX|refY|renderingIntent|repeatCount|repeatDur|requiredExtensions|requiredFeatures|restart|result|rotate|rx|ry|scale|seed|shapeRendering|slope|spacing|specularConstant|specularExponent|speed|spreadMethod|startOffset|stdDeviation|stemh|stemv|stitchTiles|stopColor|stopOpacity|strikethroughPosition|strikethroughThickness|string|stroke|strokeDasharray|strokeDashoffset|strokeLinecap|strokeLinejoin|strokeMiterlimit|strokeOpacity|strokeWidth|surfaceScale|systemLanguage|tableValues|targetX|targetY|textAnchor|textDecoration|textRendering|textLength|to|transform|u1|u2|underlinePosition|underlineThickness|unicode|unicodeBidi|unicodeRange|unitsPerEm|vAlphabetic|vHanging|vIdeographic|vMathematical|values|vectorEffect|version|vertAdvY|vertOriginX|vertOriginY|viewBox|viewTarget|visibility|widths|wordSpacing|writingMode|x|xHeight|x1|x2|xChannelSelector|xlinkActuate|xlinkArcrole|xlinkHref|xlinkRole|xlinkShow|xlinkTitle|xlinkType|xmlBase|xmlns|xmlnsXlink|xmlLang|xmlSpace|y|y1|y2|yChannelSelector|z|zoomAndPan|for|class|autofocus)|(([Dd][Aa][Tt][Aa]|[Aa][Rr][Ii][Aa]|x)-.*))$/,i=(0,n.Z)((function(e){return o.test(e)||111===e.charCodeAt(0)&&110===e.charCodeAt(1)&&e.charCodeAt(2)<91}))},45042:(e,t,r)=>{"use strict";function n(e){var t=Object.create(null);return function(r){return void 0===t[r]&&(t[r]=e(r)),t[r]}}r.d(t,{Z:()=>n})},75260:(e,t,r)=>{"use strict";r.d(t,{E:()=>m,T:()=>d,c:()=>f,h:()=>l,w:()=>u});var n=r(74570),o=r(54697),i=r(70444),a=r(30302),s=r(27278),l={}.hasOwnProperty,c=n.createContext("undefined"!=typeof HTMLElement?(0,o.Z)({key:"css"}):null);c.Provider;var u=function(e){return(0,n.forwardRef)((function(t,r){var o=(0,n.useContext)(c);return e(t,o,r)}))};var d=n.createContext({});var p="__EMOTION_TYPE_PLEASE_DO_NOT_USE__",f=function(e,t){var r={};for(var n in t)l.call(t,n)&&(r[n]=t[n]);return r[p]=e,r},h=function(e){var t=e.cache,r=e.serialized,n=e.isStringTag;return(0,i.hC)(t,r,n),(0,s.L)((function(){return(0,i.My)(t,r,n)})),null};var m=u((function(e,t,r){var o=e.css;"string"==typeof o&&void 0!==t.registered[o]&&(o=t.registered[o]);var s=e[p],c=[o],u="";"string"==typeof e.className?u=(0,i.fp)(t.registered,c,e.className):null!=e.className&&(u=e.className+" ");var f=(0,a.O)(c,void 0,n.useContext(d));u+=t.key+"-"+f.name;var m={};for(var g in e)l.call(e,g)&&"css"!==g&&g!==p&&(m[g]=e[g]);return m.ref=r,m.className=u,n.createElement(n.Fragment,null,n.createElement(h,{cache:t,serialized:f,isStringTag:"string"==typeof s}),n.createElement(s,m))}))},30302:(e,t,r)=>{"use strict";r.d(t,{O:()=>m});var n=r(66292),o=r(94371),i=r(45042),a=/[A-Z]|^ms/g,s=/_EMO_([^_]+?)_([^]*?)_EMO_/g,l=function(e){return 45===e.charCodeAt(1)},c=function(e){return null!=e&&"boolean"!=typeof e},u=(0,i.Z)((function(e){return l(e)?e:e.replace(a,"-$&").toLowerCase()})),d=function(e,t){switch(e){case"animation":case"animationName":if("string"==typeof t)return t.replace(s,(function(e,t,r){return f={name:t,styles:r,next:f},t}))}return 1===o.Z[e]||l(e)||"number"!=typeof t||0===t?t:t+"px"};function p(e,t,r){if(null==r)return"";if(void 0!==r.__emotion_styles)return r;switch(typeof r){case"boolean":return"";case"object":if(1===r.anim)return f={name:r.name,styles:r.styles,next:f},r.name;if(void 0!==r.styles){var n=r.next;if(void 0!==n)for(;void 0!==n;)f={name:n.name,styles:n.styles,next:f},n=n.next;return r.styles+";"}return function(e,t,r){var n="";if(Array.isArray(r))for(var o=0;o<r.length;o++)n+=p(e,t,r[o])+";";else for(var i in r){var a=r[i];if("object"!=typeof a)null!=t&&void 0!==t[a]?n+=i+"{"+t[a]+"}":c(a)&&(n+=u(i)+":"+d(i,a)+";");else if(!Array.isArray(a)||"string"!=typeof a[0]||null!=t&&void 0!==t[a[0]]){var s=p(e,t,a);switch(i){case"animation":case"animationName":n+=u(i)+":"+s+";";break;default:n+=i+"{"+s+"}"}}else for(var l=0;l<a.length;l++)c(a[l])&&(n+=u(i)+":"+d(i,a[l])+";")}return n}(e,t,r);case"function":if(void 0!==e){var o=f,i=r(e);return f=o,p(e,t,i)}}if(null==t)return r;var a=t[r];return void 0!==a?a:r}var f,h=/label:\s*([^\s;\n{]+)\s*(;|$)/g;var m=function(e,t,r){if(1===e.length&&"object"==typeof e[0]&&null!==e[0]&&void 0!==e[0].styles)return e[0];var o=!0,i="";f=void 0;var a=e[0];null==a||void 0===a.raw?(o=!1,i+=p(r,t,a)):i+=a[0];for(var s=1;s<e.length;s++)i+=p(r,t,e[s]),o&&(i+=a[s]);h.lastIndex=0;for(var l,c="";null!==(l=h.exec(i));)c+="-"+l[1];return{name:(0,n.Z)(i)+c,styles:i,next:f}}},11526:(e,t,r)=>{"use strict";r.d(t,{m:()=>n});var n=function(){function e(e){var t=this;this._insertTag=function(e){var r;r=0===t.tags.length?t.insertionPoint?t.insertionPoint.nextSibling:t.prepend?t.container.firstChild:t.before:t.tags[t.tags.length-1].nextSibling,t.container.insertBefore(e,r),t.tags.push(e)},this.isSpeedy=void 0===e.speedy||e.speedy,this.tags=[],this.ctr=0,this.nonce=e.nonce,this.key=e.key,this.container=e.container,this.prepend=e.prepend,this.insertionPoint=e.insertionPoint,this.before=null}var t=e.prototype;return t.hydrate=function(e){e.forEach(this._insertTag)},t.insert=function(e){this.ctr%(this.isSpeedy?65e3:1)==0&&this._insertTag(function(e){var t=document.createElement("style");return t.setAttribute("data-emotion",e.key),void 0!==e.nonce&&t.setAttribute("nonce",e.nonce),t.appendChild(document.createTextNode("")),t.setAttribute("data-s",""),t}(this));var t=this.tags[this.tags.length-1];if(this.isSpeedy){var r=function(e){if(e.sheet)return e.sheet;for(var t=0;t<document.styleSheets.length;t++)if(document.styleSheets[t].ownerNode===e)return document.styleSheets[t]}(t);try{r.insertRule(e,r.cssRules.length)}catch(n){0}}else t.appendChild(document.createTextNode(e));this.ctr++},t.flush=function(){this.tags.forEach((function(e){return e.parentNode&&e.parentNode.removeChild(e)})),this.tags=[],this.ctr=0},e}()},55319:(e,t,r)=>{"use strict";r.d(t,{Z:()=>m});var n=r(87462),o=r(74570),i=r(71068),a=r(75260),s=r(70444),l=r(30302),c=r(27278),u=i.Z,d=function(e){return"theme"!==e},p=function(e){return"string"==typeof e&&e.charCodeAt(0)>96?u:d},f=function(e,t,r){var n;if(t){var o=t.shouldForwardProp;n=e.__emotion_forwardProp&&o?function(t){return e.__emotion_forwardProp(t)&&o(t)}:o}return"function"!=typeof n&&r&&(n=e.__emotion_forwardProp),n},h=function(e){var t=e.cache,r=e.serialized,n=e.isStringTag;return(0,s.hC)(t,r,n),(0,c.L)((function(){return(0,s.My)(t,r,n)})),null},m=function e(t,r){var i,c,u=t.__emotion_real===t,d=u&&t.__emotion_base||t;void 0!==r&&(i=r.label,c=r.target);var m=f(t,r,u),g=m||p(d),v=!g("as");return function(){var b=arguments,y=u&&void 0!==t.__emotion_styles?t.__emotion_styles.slice(0):[];if(void 0!==i&&y.push("label:"+i+";"),null==b[0]||void 0===b[0].raw)y.push.apply(y,b);else{0,y.push(b[0][0]);for(var x=b.length,w=1;w<x;w++)y.push(b[w],b[0][w])}var k=(0,a.w)((function(e,t,r){var n=v&&e.as||d,i="",u=[],f=e;if(null==e.theme){for(var b in f={},e)f[b]=e[b];f.theme=o.useContext(a.T)}"string"==typeof e.className?i=(0,s.fp)(t.registered,u,e.className):null!=e.className&&(i=e.className+" ");var x=(0,l.O)(y.concat(u),t.registered,f);i+=t.key+"-"+x.name,void 0!==c&&(i+=" "+c);var w=v&&void 0===m?p(n):g,k={};for(var S in e)v&&"as"===S||w(S)&&(k[S]=e[S]);return k.className=i,k.ref=r,o.createElement(o.Fragment,null,o.createElement(h,{cache:t,serialized:x,isStringTag:"string"==typeof n}),o.createElement(n,k))}));return k.displayName=void 0!==i?i:"Styled("+("string"==typeof d?d:d.displayName||d.name||"Component")+")",k.defaultProps=t.defaultProps,k.__emotion_real=k,k.__emotion_base=d,k.__emotion_styles=y,k.__emotion_forwardProp=m,Object.defineProperty(k,"toString",{value:function(){return"."+c}}),k.withComponent=function(t,o){return e(t,(0,n.Z)({},r,o,{shouldForwardProp:f(k,o,!0)})).apply(void 0,y)},k}}},37337:(e,t,r)=>{"use strict";r.d(t,{Z:()=>o});var n=r(55319),o=(r(74570),r(30302),r(27278),n.Z.bind());["a","abbr","address","area","article","aside","audio","b","base","bdi","bdo","big","blockquote","body","br","button","canvas","caption","cite","code","col","colgroup","data","datalist","dd","del","details","dfn","dialog","div","dl","dt","em","embed","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","iframe","img","input","ins","kbd","keygen","label","legend","li","link","main","map","mark","marquee","menu","menuitem","meta","meter","nav","noscript","object","ol","optgroup","option","output","p","param","picture","pre","progress","q","rp","rt","ruby","s","samp","script","section","select","small","source","span","strong","style","sub","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","title","tr","track","u","ul","var","video","wbr","circle","clipPath","defs","ellipse","foreignObject","g","image","line","linearGradient","mask","path","pattern","polygon","polyline","radialGradient","rect","stop","svg","text","tspan"].forEach((function(e){o[e]=o(e)}))},94371:(e,t,r)=>{"use strict";r.d(t,{Z:()=>n});var n={animationIterationCount:1,aspectRatio:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,boxFlex:1,boxFlexGroup:1,boxOrdinalGroup:1,columnCount:1,columns:1,flex:1,flexGrow:1,flexPositive:1,flexShrink:1,flexNegative:1,flexOrder:1,gridRow:1,gridRowEnd:1,gridRowSpan:1,gridRowStart:1,gridColumn:1,gridColumnEnd:1,gridColumnSpan:1,gridColumnStart:1,msGridRow:1,msGridRowSpan:1,msGridColumn:1,msGridColumnSpan:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans:1,tabSize:1,widows:1,zIndex:1,zoom:1,WebkitLineClamp:1,fillOpacity:1,floodOpacity:1,stopOpacity:1,strokeDasharray:1,strokeDashoffset:1,strokeMiterlimit:1,strokeOpacity:1,strokeWidth:1}},27278:(e,t,r)=>{"use strict";r.d(t,{L:()=>i});var n=r(74570),o=!!n.useInsertionEffect&&n.useInsertionEffect,i=o||function(e){return e()};o||n.useLayoutEffect},70444:(e,t,r)=>{"use strict";r.d(t,{My:()=>i,fp:()=>n,hC:()=>o});function n(e,t,r){var n="";return r.split(" ").forEach((function(r){void 0!==e[r]?t.push(e[r]+";"):n+=r+" "})),n}var o=function(e,t,r){var n=e.key+"-"+t.name;!1===r&&void 0===e.registered[n]&&(e.registered[n]=t.styles)},i=function(e,t,r){o(e,t,r);var n=e.key+"-"+t.name;if(void 0===e.inserted[t.name]){var i=t;do{e.insert(t===i?"."+n:"",i,e.sheet,!0),i=i.next}while(void 0!==i)}}},60181:(e,t,r)=>{"use strict";var n=r(64836);t.Z=void 0;var o=n(r(64938)),i=r(85893),a=(0,o.default)((0,i.jsx)("path",{d:"m12 8-6 6 1.41 1.41L12 10.83l4.59 4.58L18 14z"}),"ExpandLess");t.Z=a},23508:(e,t,r)=>{"use strict";var n=r(64836);t.Z=void 0;var o=n(r(64938)),i=r(85893),a=(0,o.default)((0,i.jsx)("path",{d:"M16.59 8.59 12 13.17 7.41 8.59 6 10l6 6 6-6z"}),"ExpandMore");t.Z=a},64938:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return n.createSvgIcon}});var n=r(64298)},2373:(e,t,r)=>{"use strict";r.d(t,{Z:()=>g});var n=r(87462),o=r(63366),i=r(74570),a=r(90512),s=r(94780),l=r(98216),c=r(71657),u=r(90948),d=r(62994),p=r(85893);const f=["children","className","color","component","fontSize","htmlColor","inheritViewBox","titleAccess","viewBox"],h=(0,u.ZP)("svg",{name:"MuiSvgIcon",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.root,"inherit"!==r.color&&t[`color${(0,l.Z)(r.color)}`],t[`fontSize${(0,l.Z)(r.fontSize)}`]]}})((({theme:e,ownerState:t})=>{var r,n,o,i,a,s,l,c,u,d,p,f,h;return{userSelect:"none",width:"1em",height:"1em",display:"inline-block",fill:t.hasSvgAsChild?void 0:"currentColor",flexShrink:0,transition:null==(r=e.transitions)||null==(n=r.create)?void 0:n.call(r,"fill",{duration:null==(o=e.transitions)||null==(o=o.duration)?void 0:o.shorter}),fontSize:{inherit:"inherit",small:(null==(i=e.typography)||null==(a=i.pxToRem)?void 0:a.call(i,20))||"1.25rem",medium:(null==(s=e.typography)||null==(l=s.pxToRem)?void 0:l.call(s,24))||"1.5rem",large:(null==(c=e.typography)||null==(u=c.pxToRem)?void 0:u.call(c,35))||"2.1875rem"}[t.fontSize],color:null!=(d=null==(p=(e.vars||e).palette)||null==(p=p[t.color])?void 0:p.main)?d:{action:null==(f=(e.vars||e).palette)||null==(f=f.action)?void 0:f.active,disabled:null==(h=(e.vars||e).palette)||null==(h=h.action)?void 0:h.disabled,inherit:void 0}[t.color]}})),m=i.forwardRef((function(e,t){const r=(0,c.Z)({props:e,name:"MuiSvgIcon"}),{children:u,className:m,color:g="inherit",component:v="svg",fontSize:b="medium",htmlColor:y,inheritViewBox:x=!1,titleAccess:w,viewBox:k="0 0 24 24"}=r,S=(0,o.Z)(r,f),E=i.isValidElement(u)&&"svg"===u.type,Z=(0,n.Z)({},r,{color:g,component:v,fontSize:b,instanceFontSize:e.fontSize,inheritViewBox:x,viewBox:k,hasSvgAsChild:E}),O={};x||(O.viewBox=k);const C=(e=>{const{color:t,fontSize:r,classes:n}=e,o={root:["root","inherit"!==t&&`color${(0,l.Z)(t)}`,`fontSize${(0,l.Z)(r)}`]};return(0,s.Z)(o,d.h,n)})(Z);return(0,p.jsxs)(h,(0,n.Z)({as:v,className:(0,a.Z)(C.root,m),focusable:"false",color:y,"aria-hidden":!w||void 0,role:w?"img":void 0,ref:t},O,S,E&&u.props,{ownerState:Z,children:[E?u.props.children:u,w?(0,p.jsx)("title",{children:w}):null]}))}));m.muiName="SvgIcon";const g=m},62994:(e,t,r)=>{"use strict";r.d(t,{h:()=>i});var n=r(1588),o=r(34867);function i(e){return(0,o.Z)("MuiSvgIcon",e)}(0,n.Z)("MuiSvgIcon",["root","colorPrimary","colorSecondary","colorAction","colorError","colorDisabled","fontSizeInherit","fontSizeSmall","fontSizeMedium","fontSizeLarge"])},6949:(e,t,r)=>{"use strict";r.d(t,{Z:()=>n});const n={50:"#e3f2fd",100:"#bbdefb",200:"#90caf9",300:"#64b5f6",400:"#42a5f5",500:"#2196f3",600:"#1e88e5",700:"#1976d2",800:"#1565c0",900:"#0d47a1",A100:"#82b1ff",A200:"#448aff",A400:"#2979ff",A700:"#2962ff"}},16115:(e,t,r)=>{"use strict";r.d(t,{Z:()=>n});const n={black:"#000",white:"#fff"}},13486:(e,t,r)=>{"use strict";r.d(t,{Z:()=>n});const n={50:"#e8f5e9",100:"#c8e6c9",200:"#a5d6a7",300:"#81c784",400:"#66bb6a",500:"#4caf50",600:"#43a047",700:"#388e3c",800:"#2e7d32",900:"#1b5e20",A100:"#b9f6ca",A200:"#69f0ae",A400:"#00e676",A700:"#00c853"}},47036:(e,t,r)=>{"use strict";r.d(t,{Z:()=>n});const n={50:"#fafafa",100:"#f5f5f5",200:"#eeeeee",300:"#e0e0e0",400:"#bdbdbd",500:"#9e9e9e",600:"#757575",700:"#616161",800:"#424242",900:"#212121",A100:"#f5f5f5",A200:"#eeeeee",A400:"#bdbdbd",A700:"#616161"}},5621:(e,t,r)=>{"use strict";r.d(t,{Z:()=>n});const n={50:"#e1f5fe",100:"#b3e5fc",200:"#81d4fa",300:"#4fc3f7",400:"#29b6f6",500:"#03a9f4",600:"#039be5",700:"#0288d1",800:"#0277bd",900:"#01579b",A100:"#80d8ff",A200:"#40c4ff",A400:"#00b0ff",A700:"#0091ea"}},55137:(e,t,r)=>{"use strict";r.d(t,{Z:()=>n});const n={50:"#fff3e0",100:"#ffe0b2",200:"#ffcc80",300:"#ffb74d",400:"#ffa726",500:"#ff9800",600:"#fb8c00",700:"#f57c00",800:"#ef6c00",900:"#e65100",A100:"#ffd180",A200:"#ffab40",A400:"#ff9100",A700:"#ff6d00"}},94518:(e,t,r)=>{"use strict";r.d(t,{Z:()=>n});const n={50:"#f3e5f5",100:"#e1bee7",200:"#ce93d8",300:"#ba68c8",400:"#ab47bc",500:"#9c27b0",600:"#8e24aa",700:"#7b1fa2",800:"#6a1b9a",900:"#4a148c",A100:"#ea80fc",A200:"#e040fb",A400:"#d500f9",A700:"#aa00ff"}},60265:(e,t,r)=>{"use strict";r.d(t,{Z:()=>n});const n={50:"#ffebee",100:"#ffcdd2",200:"#ef9a9a",300:"#e57373",400:"#ef5350",500:"#f44336",600:"#e53935",700:"#d32f2f",800:"#c62828",900:"#b71c1c",A100:"#ff8a80",A200:"#ff5252",A400:"#ff1744",A700:"#d50000"}},15584:(e,t,r)=>{"use strict";r.d(t,{Z:()=>o});var n=r(87462);function o(e,t){return(0,n.Z)({toolbar:{minHeight:56,[e.up("xs")]:{"@media (orientation: landscape)":{minHeight:48}},[e.up("sm")]:{minHeight:64}}},t)}},57625:(e,t,r)=>{"use strict";r.d(t,{ZP:()=>x});var n=r(87462),o=r(63366),i=r(71387),a=r(59766),s=r(41796),l=r(16115),c=r(47036),u=r(94518),d=r(60265),p=r(55137),f=r(6949),h=r(5621),m=r(13486);const g=["mode","contrastThreshold","tonalOffset"],v={text:{primary:"rgba(0, 0, 0, 0.87)",secondary:"rgba(0, 0, 0, 0.6)",disabled:"rgba(0, 0, 0, 0.38)"},divider:"rgba(0, 0, 0, 0.12)",background:{paper:l.Z.white,default:l.Z.white},action:{active:"rgba(0, 0, 0, 0.54)",hover:"rgba(0, 0, 0, 0.04)",hoverOpacity:.04,selected:"rgba(0, 0, 0, 0.08)",selectedOpacity:.08,disabled:"rgba(0, 0, 0, 0.26)",disabledBackground:"rgba(0, 0, 0, 0.12)",disabledOpacity:.38,focus:"rgba(0, 0, 0, 0.12)",focusOpacity:.12,activatedOpacity:.12}},b={text:{primary:l.Z.white,secondary:"rgba(255, 255, 255, 0.7)",disabled:"rgba(255, 255, 255, 0.5)",icon:"rgba(255, 255, 255, 0.5)"},divider:"rgba(255, 255, 255, 0.12)",background:{paper:"#121212",default:"#121212"},action:{active:l.Z.white,hover:"rgba(255, 255, 255, 0.08)",hoverOpacity:.08,selected:"rgba(255, 255, 255, 0.16)",selectedOpacity:.16,disabled:"rgba(255, 255, 255, 0.3)",disabledBackground:"rgba(255, 255, 255, 0.12)",disabledOpacity:.38,focus:"rgba(255, 255, 255, 0.12)",focusOpacity:.12,activatedOpacity:.24}};function y(e,t,r,n){const o=n.light||n,i=n.dark||1.5*n;e[t]||(e.hasOwnProperty(r)?e[t]=e[r]:"light"===t?e.light=(0,s.$n)(e.main,o):"dark"===t&&(e.dark=(0,s._j)(e.main,i)))}function x(e){const{mode:t="light",contrastThreshold:r=3,tonalOffset:x=.2}=e,w=(0,o.Z)(e,g),k=e.primary||function(e="light"){return"dark"===e?{main:f.Z[200],light:f.Z[50],dark:f.Z[400]}:{main:f.Z[700],light:f.Z[400],dark:f.Z[800]}}(t),S=e.secondary||function(e="light"){return"dark"===e?{main:u.Z[200],light:u.Z[50],dark:u.Z[400]}:{main:u.Z[500],light:u.Z[300],dark:u.Z[700]}}(t),E=e.error||function(e="light"){return"dark"===e?{main:d.Z[500],light:d.Z[300],dark:d.Z[700]}:{main:d.Z[700],light:d.Z[400],dark:d.Z[800]}}(t),Z=e.info||function(e="light"){return"dark"===e?{main:h.Z[400],light:h.Z[300],dark:h.Z[700]}:{main:h.Z[700],light:h.Z[500],dark:h.Z[900]}}(t),O=e.success||function(e="light"){return"dark"===e?{main:m.Z[400],light:m.Z[300],dark:m.Z[700]}:{main:m.Z[800],light:m.Z[500],dark:m.Z[900]}}(t),C=e.warning||function(e="light"){return"dark"===e?{main:p.Z[400],light:p.Z[300],dark:p.Z[700]}:{main:"#ed6c02",light:p.Z[500],dark:p.Z[900]}}(t);function M(e){return(0,s.mi)(e,b.text.primary)>=r?b.text.primary:v.text.primary}const R=({color:e,name:t,mainShade:r=500,lightShade:o=300,darkShade:a=700})=>{if(!(e=(0,n.Z)({},e)).main&&e[r]&&(e.main=e[r]),!e.hasOwnProperty("main"))throw new Error((0,i.Z)(11,t?` (${t})`:"",r));if("string"!=typeof e.main)throw new Error((0,i.Z)(12,t?` (${t})`:"",JSON.stringify(e.main)));return y(e,"light",o,x),y(e,"dark",a,x),e.contrastText||(e.contrastText=M(e.main)),e},P={dark:b,light:v};return(0,a.Z)((0,n.Z)({common:(0,n.Z)({},l.Z),mode:t,primary:R({color:k,name:"primary"}),secondary:R({color:S,name:"secondary",mainShade:"A400",lightShade:"A200",darkShade:"A700"}),error:R({color:E,name:"error"}),warning:R({color:C,name:"warning"}),info:R({color:Z,name:"info"}),success:R({color:O,name:"success"}),grey:c.Z,contrastThreshold:r,getContrastText:M,augmentColor:R,tonalOffset:x},P[t]),w)}},10185:(e,t,r)=>{"use strict";r.d(t,{Z:()=>b});var n=r(87462),o=r(63366),i=r(71387),a=r(59766),s=r(10360),l=r(85265),c=r(86523),u=r(15584),d=r(57625),p=r(71445),f=r(41692),h=r(96067),m=r(8369);const g=["breakpoints","mixins","spacing","palette","transitions","typography","shape"];function v(e={},...t){const{mixins:r={},palette:v={},transitions:b={},typography:y={}}=e,x=(0,o.Z)(e,g);if(e.vars)throw new Error((0,i.Z)(18));const w=(0,d.ZP)(v),k=(0,s.Z)(e);let S=(0,a.Z)(k,{mixins:(0,u.Z)(k.breakpoints,r),palette:w,shadows:f.Z.slice(),typography:(0,p.Z)(w,y),transitions:(0,h.ZP)(b),zIndex:(0,n.Z)({},m.Z)});return S=(0,a.Z)(S,x),S=t.reduce(((e,t)=>(0,a.Z)(e,t)),S),S.unstable_sxConfig=(0,n.Z)({},l.Z,null==x?void 0:x.unstable_sxConfig),S.unstable_sx=function(e){return(0,c.Z)({sx:e,theme:this})},S}const b=v},96067:(e,t,r)=>{"use strict";r.d(t,{ZP:()=>u,x9:()=>s});var n=r(63366),o=r(87462);const i=["duration","easing","delay"],a={easeInOut:"cubic-bezier(0.4, 0, 0.2, 1)",easeOut:"cubic-bezier(0.0, 0, 0.2, 1)",easeIn:"cubic-bezier(0.4, 0, 1, 1)",sharp:"cubic-bezier(0.4, 0, 0.6, 1)"},s={shortest:150,shorter:200,short:250,standard:300,complex:375,enteringScreen:225,leavingScreen:195};function l(e){return`${Math.round(e)}ms`}function c(e){if(!e)return 0;const t=e/36;return Math.round(10*(4+15*t**.25+t/5))}function u(e){const t=(0,o.Z)({},a,e.easing),r=(0,o.Z)({},s,e.duration);return(0,o.Z)({getAutoHeightDuration:c,create:(e=["all"],o={})=>{const{duration:a=r.standard,easing:s=t.easeInOut,delay:c=0}=o;(0,n.Z)(o,i);return(Array.isArray(e)?e:[e]).map((e=>`${e} ${"string"==typeof a?a:l(a)} ${s} ${"string"==typeof c?c:l(c)}`)).join(",")}},e,{easing:t,duration:r})}},71445:(e,t,r)=>{"use strict";r.d(t,{Z:()=>c});var n=r(87462),o=r(63366),i=r(59766);const a=["fontFamily","fontSize","fontWeightLight","fontWeightRegular","fontWeightMedium","fontWeightBold","htmlFontSize","allVariants","pxToRem"];const s={textTransform:"uppercase"},l='"Roboto", "Helvetica", "Arial", sans-serif';function c(e,t){const r="function"==typeof t?t(e):t,{fontFamily:c=l,fontSize:u=14,fontWeightLight:d=300,fontWeightRegular:p=400,fontWeightMedium:f=500,fontWeightBold:h=700,htmlFontSize:m=16,allVariants:g,pxToRem:v}=r,b=(0,o.Z)(r,a);const y=u/14,x=v||(e=>e/m*y+"rem"),w=(e,t,r,o,i)=>{return(0,n.Z)({fontFamily:c,fontWeight:e,fontSize:x(t),lineHeight:r},c===l?{letterSpacing:(a=o/t,Math.round(1e5*a)/1e5)+"em"}:{},i,g);var a},k={h1:w(d,96,1.167,-1.5),h2:w(d,60,1.2,-.5),h3:w(p,48,1.167,0),h4:w(p,34,1.235,.25),h5:w(p,24,1.334,0),h6:w(f,20,1.6,.15),subtitle1:w(p,16,1.75,.15),subtitle2:w(f,14,1.57,.1),body1:w(p,16,1.5,.15),body2:w(p,14,1.43,.15),button:w(f,14,1.75,.4,s),caption:w(p,12,1.66,.4),overline:w(p,12,2.66,1,s),inherit:{fontFamily:"inherit",fontWeight:"inherit",fontSize:"inherit",lineHeight:"inherit",letterSpacing:"inherit"}};return(0,i.Z)((0,n.Z)({htmlFontSize:m,pxToRem:x,fontFamily:c,fontSize:u,fontWeightLight:d,fontWeightRegular:p,fontWeightMedium:f,fontWeightBold:h},k),b,{clone:!1})}},90247:(e,t,r)=>{"use strict";r.d(t,{Z:()=>n});const n=(0,r(10185).Z)()},10606:(e,t,r)=>{"use strict";r.d(t,{Z:()=>n});const n="$$material"},41692:(e,t,r)=>{"use strict";r.d(t,{Z:()=>o});function n(...e){return[`${e[0]}px ${e[1]}px ${e[2]}px ${e[3]}px rgba(0,0,0,0.2)`,`${e[4]}px ${e[5]}px ${e[6]}px ${e[7]}px rgba(0,0,0,0.14)`,`${e[8]}px ${e[9]}px ${e[10]}px ${e[11]}px rgba(0,0,0,0.12)`].join(",")}const o=["none",n(0,2,1,-1,0,1,1,0,0,1,3,0),n(0,3,1,-2,0,2,2,0,0,1,5,0),n(0,3,3,-2,0,3,4,0,0,1,8,0),n(0,2,4,-1,0,4,5,0,0,1,10,0),n(0,3,5,-1,0,5,8,0,0,1,14,0),n(0,3,5,-1,0,6,10,0,0,1,18,0),n(0,4,5,-2,0,7,10,1,0,2,16,1),n(0,5,5,-3,0,8,10,1,0,3,14,2),n(0,5,6,-3,0,9,12,1,0,3,16,2),n(0,6,6,-3,0,10,14,1,0,4,18,3),n(0,6,7,-4,0,11,15,1,0,4,20,3),n(0,7,8,-4,0,12,17,2,0,5,22,4),n(0,7,8,-4,0,13,19,2,0,5,24,4),n(0,7,9,-4,0,14,21,2,0,5,26,4),n(0,8,9,-5,0,15,22,2,0,6,28,5),n(0,8,10,-5,0,16,24,2,0,6,30,5),n(0,8,11,-5,0,17,26,2,0,6,32,5),n(0,9,11,-5,0,18,28,2,0,7,34,6),n(0,9,12,-6,0,19,29,2,0,7,36,6),n(0,10,13,-6,0,20,31,3,0,8,38,7),n(0,10,13,-6,0,21,33,3,0,8,40,7),n(0,10,14,-6,0,22,35,3,0,8,42,7),n(0,11,14,-7,0,23,36,3,0,9,44,8),n(0,11,15,-7,0,24,38,3,0,9,46,8)]},90948:(e,t,r)=>{"use strict";r.d(t,{FO:()=>a,ZP:()=>s});var n=r(86154),o=r(90247),i=r(10606);const a=e=>(0,n.x9)(e)&&"classes"!==e,s=(0,n.ZP)({themeId:i.Z,defaultTheme:o.Z,rootShouldForwardProp:a})},71657:(e,t,r)=>{"use strict";r.d(t,{Z:()=>a});var n=r(29628),o=r(90247),i=r(10606);function a({props:e,name:t}){return(0,n.Z)({props:e,name:t,defaultTheme:o.Z,themeId:i.Z})}},8369:(e,t,r)=>{"use strict";r.d(t,{Z:()=>n});const n={mobileStepper:1e3,fab:1050,speedDial:1050,appBar:1100,drawer:1200,modal:1300,snackbar:1400,tooltip:1500}},98216:(e,t,r)=>{"use strict";r.d(t,{Z:()=>n});const n=r(14142).Z},35893:(e,t,r)=>{"use strict";r.d(t,{Z:()=>n});const n=r(49064).Z},82066:(e,t,r)=>{"use strict";r.d(t,{Z:()=>s});var n=r(87462),o=r(74570),i=r(2373),a=r(85893);function s(e,t){function r(r,o){return(0,a.jsx)(i.Z,(0,n.Z)({"data-testid":`${t}Icon`,ref:o},r,{children:e}))}return r.muiName=i.Z.muiName,o.memo(o.forwardRef(r))}},57144:(e,t,r)=>{"use strict";r.d(t,{Z:()=>n});const n=r(39336).Z},64298:(e,t,r)=>{"use strict";r.r(t),r.d(t,{capitalize:()=>o.Z,createChainedFunction:()=>i.Z,createSvgIcon:()=>a.Z,debounce:()=>s.Z,deprecatedPropType:()=>l,isMuiElement:()=>c.Z,ownerDocument:()=>u.Z,ownerWindow:()=>d.Z,requirePropFactory:()=>p,setRef:()=>f,unstable_ClassNameGenerator:()=>w,unstable_useEnhancedEffect:()=>h.Z,unstable_useId:()=>m.Z,unsupportedProp:()=>g,useControlled:()=>v.Z,useEventCallback:()=>b.Z,useForkRef:()=>y.Z,useIsFocusVisible:()=>x.Z});var n=r(37078),o=r(98216),i=r(35893),a=r(82066),s=r(57144);const l=function(e,t){return()=>null};var c=r(96798),u=r(8038),d=r(5340);r(87462);const p=function(e,t){return()=>null};const f=r(7960).Z;var h=r(58974),m=r(27909);const g=function(e,t,r,n,o){return null};var v=r(49299),b=r(2068),y=r(51705),x=r(79674);const w={configure:e=>{n.Z.configure(e)}}},96798:(e,t,r)=>{"use strict";r.d(t,{Z:()=>n});const n=r(18719).Z},8038:(e,t,r)=>{"use strict";r.d(t,{Z:()=>n});const n=r(82690).Z},5340:(e,t,r)=>{"use strict";r.d(t,{Z:()=>n});const n=r(74161).Z},49299:(e,t,r)=>{"use strict";r.d(t,{Z:()=>n});const n=r(19032).Z},58974:(e,t,r)=>{"use strict";r.d(t,{Z:()=>n});const n=r(73546).Z},2068:(e,t,r)=>{"use strict";r.d(t,{Z:()=>n});const n=r(59948).Z},51705:(e,t,r)=>{"use strict";r.d(t,{Z:()=>n});const n=r(33703).Z},27909:(e,t,r)=>{"use strict";r.d(t,{Z:()=>n});const n=r(92996).Z},79674:(e,t,r)=>{"use strict";r.d(t,{Z:()=>n});const n=r(99962).Z},78883:(e,t,r)=>{"use strict";r.d(t,{Co:()=>i,ZP:()=>o});var n=r(37337);function o(e,t){return(0,n.Z)(e,t)}const i=(e,t)=>{Array.isArray(e.__emotion_styles)&&(e.__emotion_styles=t(e.__emotion_styles))}},73019:(e,t,r)=>{"use strict";r.d(t,{E0:()=>b,NL:()=>s});var n=r(54844),o=r(22428),i=r(44472),a=r(95408);function s(e){return"number"!=typeof e?e:`${e}px solid`}const l=(0,n.ZP)({prop:"border",themeKey:"borders",transform:s}),c=(0,n.ZP)({prop:"borderTop",themeKey:"borders",transform:s}),u=(0,n.ZP)({prop:"borderRight",themeKey:"borders",transform:s}),d=(0,n.ZP)({prop:"borderBottom",themeKey:"borders",transform:s}),p=(0,n.ZP)({prop:"borderLeft",themeKey:"borders",transform:s}),f=(0,n.ZP)({prop:"borderColor",themeKey:"palette"}),h=(0,n.ZP)({prop:"borderTopColor",themeKey:"palette"}),m=(0,n.ZP)({prop:"borderRightColor",themeKey:"palette"}),g=(0,n.ZP)({prop:"borderBottomColor",themeKey:"palette"}),v=(0,n.ZP)({prop:"borderLeftColor",themeKey:"palette"}),b=e=>{if(void 0!==e.borderRadius&&null!==e.borderRadius){const t=(0,i.eI)(e.theme,"shape.borderRadius",4,"borderRadius"),r=e=>({borderRadius:(0,i.NA)(t,e)});return(0,a.k9)(e,e.borderRadius,r)}return null};b.propTypes={},b.filterProps=["borderRadius"];(0,o.Z)(l,c,u,d,p,f,h,m,g,v,b)},95408:(e,t,r)=>{"use strict";r.d(t,{L7:()=>l,P$:()=>u,VO:()=>o,W8:()=>s,dt:()=>c,k9:()=>a});var n=r(59766);const o={xs:0,sm:600,md:900,lg:1200,xl:1536},i={keys:["xs","sm","md","lg","xl"],up:e=>`@media (min-width:${o[e]}px)`};function a(e,t,r){const n=e.theme||{};if(Array.isArray(t)){const e=n.breakpoints||i;return t.reduce(((n,o,i)=>(n[e.up(e.keys[i])]=r(t[i]),n)),{})}if("object"==typeof t){const e=n.breakpoints||i;return Object.keys(t).reduce(((n,i)=>{if(-1!==Object.keys(e.values||o).indexOf(i)){n[e.up(i)]=r(t[i],i)}else{const e=i;n[e]=t[e]}return n}),{})}return r(t)}function s(e={}){var t;return(null==(t=e.keys)?void 0:t.reduce(((t,r)=>(t[e.up(r)]={},t)),{}))||{}}function l(e,t){return e.reduce(((e,t)=>{const r=e[t];return(!r||0===Object.keys(r).length)&&delete e[t],e}),t)}function c(e,...t){const r=s(e),o=[r,...t].reduce(((e,t)=>(0,n.Z)(e,t)),{});return l(Object.keys(r),o)}function u({values:e,breakpoints:t,base:r}){const n=r||function(e,t){if("object"!=typeof e)return{};const r={},n=Object.keys(t);return Array.isArray(e)?n.forEach(((t,n)=>{n<e.length&&(r[t]=!0)})):n.forEach((t=>{null!=e[t]&&(r[t]=!0)})),r}(e,t),o=Object.keys(n);if(0===o.length)return e;let i;return o.reduce(((t,r,n)=>(Array.isArray(e)?(t[r]=null!=e[n]?e[n]:e[i],i=n):"object"==typeof e?(t[r]=null!=e[r]?e[r]:e[i],i=r):t[r]=e,t)),{})}},41796:(e,t,r)=>{"use strict";r.d(t,{$n:()=>d,Fq:()=>c,_j:()=>u,mi:()=>l});var n=r(71387);function o(e,t=0,r=1){return Math.min(Math.max(t,e),r)}function i(e){if(e.type)return e;if("#"===e.charAt(0))return i(function(e){e=e.slice(1);const t=new RegExp(`.{1,${e.length>=6?2:1}}`,"g");let r=e.match(t);return r&&1===r[0].length&&(r=r.map((e=>e+e))),r?`rgb${4===r.length?"a":""}(${r.map(((e,t)=>t<3?parseInt(e,16):Math.round(parseInt(e,16)/255*1e3)/1e3)).join(", ")})`:""}(e));const t=e.indexOf("("),r=e.substring(0,t);if(-1===["rgb","rgba","hsl","hsla","color"].indexOf(r))throw new Error((0,n.Z)(9,e));let o,a=e.substring(t+1,e.length-1);if("color"===r){if(a=a.split(" "),o=a.shift(),4===a.length&&"/"===a[3].charAt(0)&&(a[3]=a[3].slice(1)),-1===["srgb","display-p3","a98-rgb","prophoto-rgb","rec-2020"].indexOf(o))throw new Error((0,n.Z)(10,o))}else a=a.split(",");return a=a.map((e=>parseFloat(e))),{type:r,values:a,colorSpace:o}}function a(e){const{type:t,colorSpace:r}=e;let{values:n}=e;return-1!==t.indexOf("rgb")?n=n.map(((e,t)=>t<3?parseInt(e,10):e)):-1!==t.indexOf("hsl")&&(n[1]=`${n[1]}%`,n[2]=`${n[2]}%`),n=-1!==t.indexOf("color")?`${r} ${n.join(" ")}`:`${n.join(", ")}`,`${t}(${n})`}function s(e){let t="hsl"===(e=i(e)).type||"hsla"===e.type?i(function(e){e=i(e);const{values:t}=e,r=t[0],n=t[1]/100,o=t[2]/100,s=n*Math.min(o,1-o),l=(e,t=(e+r/30)%12)=>o-s*Math.max(Math.min(t-3,9-t,1),-1);let c="rgb";const u=[Math.round(255*l(0)),Math.round(255*l(8)),Math.round(255*l(4))];return"hsla"===e.type&&(c+="a",u.push(t[3])),a({type:c,values:u})}(e)).values:e.values;return t=t.map((t=>("color"!==e.type&&(t/=255),t<=.03928?t/12.92:((t+.055)/1.055)**2.4))),Number((.2126*t[0]+.7152*t[1]+.0722*t[2]).toFixed(3))}function l(e,t){const r=s(e),n=s(t);return(Math.max(r,n)+.05)/(Math.min(r,n)+.05)}function c(e,t){return e=i(e),t=o(t),"rgb"!==e.type&&"hsl"!==e.type||(e.type+="a"),"color"===e.type?e.values[3]=`/${t}`:e.values[3]=t,a(e)}function u(e,t){if(e=i(e),t=o(t),-1!==e.type.indexOf("hsl"))e.values[2]*=1-t;else if(-1!==e.type.indexOf("rgb")||-1!==e.type.indexOf("color"))for(let r=0;r<3;r+=1)e.values[r]*=1-t;return a(e)}function d(e,t){if(e=i(e),t=o(t),-1!==e.type.indexOf("hsl"))e.values[2]+=(100-e.values[2])*t;else if(-1!==e.type.indexOf("rgb"))for(let r=0;r<3;r+=1)e.values[r]+=(255-e.values[r])*t;else if(-1!==e.type.indexOf("color"))for(let r=0;r<3;r+=1)e.values[r]+=(1-e.values[r])*t;return a(e)}},22428:(e,t,r)=>{"use strict";r.d(t,{Z:()=>o});var n=r(47730);const o=function(...e){const t=e.reduce(((e,t)=>(t.filterProps.forEach((r=>{e[r]=t})),e)),{}),r=e=>Object.keys(e).reduce(((r,o)=>t[o]?(0,n.Z)(r,t[o](e)):r),{});return r.propTypes={},r.filterProps=e.reduce(((e,t)=>e.concat(t.filterProps)),[]),r}},86154:(e,t,r)=>{"use strict";r.d(t,{ZP:()=>b,x9:()=>f});var n=r(63366),o=r(87462),i=r(78883),a=r(10360),s=r(40559),l=r(86523);const c=["name","slot","skipVariantsResolver","skipSx","overridesResolver"];const u=(e,t)=>t.components&&t.components[e]&&t.components[e].styleOverrides?t.components[e].styleOverrides:null,d=(e,t)=>{let r=[];t&&t.components&&t.components[e]&&t.components[e].variants&&(r=t.components[e].variants);const n={};return r.forEach((e=>{const t=(0,s.Z)(e.props);n[t]=e.style})),n},p=(e,t,r,n)=>{var o;const{ownerState:i={}}=e,a=[],l=null==r||null==(o=r.components)||null==(o=o[n])?void 0:o.variants;return l&&l.forEach((r=>{let n=!0;Object.keys(r.props).forEach((t=>{i[t]!==r.props[t]&&e[t]!==r.props[t]&&(n=!1)})),n&&a.push(t[(0,s.Z)(r.props)])})),a};function f(e){return"ownerState"!==e&&"theme"!==e&&"sx"!==e&&"as"!==e}const h=(0,a.Z)(),m=e=>e?e.charAt(0).toLowerCase()+e.slice(1):e;function g({defaultTheme:e,theme:t,themeId:r}){return n=t,0===Object.keys(n).length?e:t[r]||t;var n}function v(e){return e?(t,r)=>r[e]:null}function b(e={}){const{themeId:t,defaultTheme:r=h,rootShouldForwardProp:a=f,slotShouldForwardProp:s=f}=e,b=e=>(0,l.Z)((0,o.Z)({},e,{theme:g((0,o.Z)({},e,{defaultTheme:r,themeId:t}))}));return b.__mui_systemSx=!0,(e,l={})=>{(0,i.Co)(e,(e=>e.filter((e=>!(null!=e&&e.__mui_systemSx)))));const{name:h,slot:y,skipVariantsResolver:x,skipSx:w,overridesResolver:k=v(m(y))}=l,S=(0,n.Z)(l,c),E=void 0!==x?x:y&&"Root"!==y&&"root"!==y||!1,Z=w||!1;let O=f;"Root"===y||"root"===y?O=a:y?O=s:function(e){return"string"==typeof e&&e.charCodeAt(0)>96}(e)&&(O=void 0);const C=(0,i.ZP)(e,(0,o.Z)({shouldForwardProp:O,label:undefined},S)),M=(n,...i)=>{const a=i?i.map((e=>"function"==typeof e&&e.__emotion_real!==e?n=>e((0,o.Z)({},n,{theme:g((0,o.Z)({},n,{defaultTheme:r,themeId:t}))})):e)):[];let s=n;h&&k&&a.push((e=>{const n=g((0,o.Z)({},e,{defaultTheme:r,themeId:t})),i=u(h,n);if(i){const t={};return Object.entries(i).forEach((([r,i])=>{t[r]="function"==typeof i?i((0,o.Z)({},e,{theme:n})):i})),k(e,t)}return null})),h&&!E&&a.push((e=>{const n=g((0,o.Z)({},e,{defaultTheme:r,themeId:t}));return p(e,d(h,n),n,h)})),Z||a.push(b);const l=a.length-i.length;if(Array.isArray(n)&&l>0){const e=new Array(l).fill("");s=[...n,...e],s.raw=[...n.raw,...e]}else"function"==typeof n&&n.__emotion_real!==n&&(s=e=>n((0,o.Z)({},e,{theme:g((0,o.Z)({},e,{defaultTheme:r,themeId:t}))})));const c=C(s,...a);return e.muiName&&(c.muiName=e.muiName),c};return C.withConfig&&(M.withConfig=C.withConfig),M}}},41512:(e,t,r)=>{"use strict";r.d(t,{Z:()=>s});var n=r(63366),o=r(87462);const i=["values","unit","step"],a=e=>{const t=Object.keys(e).map((t=>({key:t,val:e[t]})))||[];return t.sort(((e,t)=>e.val-t.val)),t.reduce(((e,t)=>(0,o.Z)({},e,{[t.key]:t.val})),{})};function s(e){const{values:t={xs:0,sm:600,md:900,lg:1200,xl:1536},unit:r="px",step:s=5}=e,l=(0,n.Z)(e,i),c=a(t),u=Object.keys(c);function d(e){return`@media (min-width:${"number"==typeof t[e]?t[e]:e}${r})`}function p(e){return`@media (max-width:${("number"==typeof t[e]?t[e]:e)-s/100}${r})`}function f(e,n){const o=u.indexOf(n);return`@media (min-width:${"number"==typeof t[e]?t[e]:e}${r}) and (max-width:${(-1!==o&&"number"==typeof t[u[o]]?t[u[o]]:n)-s/100}${r})`}return(0,o.Z)({keys:u,values:c,up:d,down:p,between:f,only:function(e){return u.indexOf(e)+1<u.length?f(e,u[u.indexOf(e)+1]):d(e)},not:function(e){const t=u.indexOf(e);return 0===t?d(u[1]):t===u.length-1?p(u[t]):f(e,u[u.indexOf(e)+1]).replace("@media","@media not all and")},unit:r},l)}},98373:(e,t,r)=>{"use strict";r.d(t,{Z:()=>o});var n=r(44472);function o(e=8){if(e.mui)return e;const t=(0,n.hB)({spacing:e}),r=(...e)=>{return(0===e.length?[1]:e).map((e=>{const r=t(e);return"number"==typeof r?`${r}px`:r})).join(" ")};return r.mui=!0,r}},10360:(e,t,r)=>{"use strict";r.d(t,{Z:()=>p});var n=r(87462),o=r(63366),i=r(59766),a=r(41512),s=r(23101),l=r(98373),c=r(86523),u=r(85265);const d=["breakpoints","palette","spacing","shape"];const p=function(e={},...t){const{breakpoints:r={},palette:p={},spacing:f,shape:h={}}=e,m=(0,o.Z)(e,d),g=(0,a.Z)(r),v=(0,l.Z)(f);let b=(0,i.Z)({breakpoints:g,direction:"ltr",components:{},palette:(0,n.Z)({mode:"light"},p),spacing:v,shape:(0,n.Z)({},s.Z,h)},m);return b=t.reduce(((e,t)=>(0,i.Z)(e,t)),b),b.unstable_sxConfig=(0,n.Z)({},u.Z,null==m?void 0:m.unstable_sxConfig),b.unstable_sx=function(e){return(0,c.Z)({sx:e,theme:this})},b}},23101:(e,t,r)=>{"use strict";r.d(t,{Z:()=>n});const n={borderRadius:4}},72053:(e,t,r)=>{"use strict";r.d(t,{SG:()=>s,e$:()=>l,s2:()=>c});var n=r(54844),o=r(22428),i=r(44472),a=r(95408);const s=e=>{if(void 0!==e.gap&&null!==e.gap){const t=(0,i.eI)(e.theme,"spacing",8,"gap"),r=e=>({gap:(0,i.NA)(t,e)});return(0,a.k9)(e,e.gap,r)}return null};s.propTypes={},s.filterProps=["gap"];const l=e=>{if(void 0!==e.columnGap&&null!==e.columnGap){const t=(0,i.eI)(e.theme,"spacing",8,"columnGap"),r=e=>({columnGap:(0,i.NA)(t,e)});return(0,a.k9)(e,e.columnGap,r)}return null};l.propTypes={},l.filterProps=["columnGap"];const c=e=>{if(void 0!==e.rowGap&&null!==e.rowGap){const t=(0,i.eI)(e.theme,"spacing",8,"rowGap"),r=e=>({rowGap:(0,i.NA)(t,e)});return(0,a.k9)(e,e.rowGap,r)}return null};c.propTypes={},c.filterProps=["rowGap"];const u=(0,n.ZP)({prop:"gridColumn"}),d=(0,n.ZP)({prop:"gridRow"}),p=(0,n.ZP)({prop:"gridAutoFlow"}),f=(0,n.ZP)({prop:"gridAutoColumns"}),h=(0,n.ZP)({prop:"gridAutoRows"}),m=(0,n.ZP)({prop:"gridTemplateColumns"}),g=(0,n.ZP)({prop:"gridTemplateRows"}),v=(0,n.ZP)({prop:"gridTemplateAreas"}),b=(0,n.ZP)({prop:"gridArea"});(0,o.Z)(s,l,c,u,d,p,f,h,m,g,v,b)},1135:(e,t,r)=>{"use strict";function n(e){const t={};return r=>(void 0===t[r]&&(t[r]=e(r)),t[r])}r.d(t,{Z:()=>n})},47730:(e,t,r)=>{"use strict";r.d(t,{Z:()=>o});var n=r(59766);const o=function(e,t){return t?(0,n.Z)(e,t,{clone:!1}):e}},84126:(e,t,r)=>{"use strict";r.d(t,{Sh:()=>i});var n=r(54844),o=r(22428);function i(e,t){return"grey"===t?t:e}const a=(0,n.ZP)({prop:"color",themeKey:"palette",transform:i}),s=(0,n.ZP)({prop:"bgcolor",cssProperty:"backgroundColor",themeKey:"palette",transform:i}),l=(0,n.ZP)({prop:"backgroundColor",themeKey:"palette",transform:i});(0,o.Z)(a,s,l)},40559:(e,t,r)=>{"use strict";r.d(t,{Z:()=>s});var n=r(63366),o=r(14142);const i=["variant"];function a(e){return 0===e.length}function s(e){const{variant:t}=e,r=(0,n.Z)(e,i);let s=t||"";return Object.keys(r).sort().forEach((t=>{s+="color"===t?a(s)?e[t]:(0,o.Z)(e[t]):`${a(s)?t:(0,o.Z)(t)}${(0,o.Z)(e[t].toString())}`})),s}},78241:(e,t,r)=>{"use strict";r.d(t,{EB:()=>a,kk:()=>l});var n=r(54844),o=r(22428),i=r(95408);function a(e){return e<=1&&0!==e?100*e+"%":e}const s=(0,n.ZP)({prop:"width",transform:a}),l=e=>{if(void 0!==e.maxWidth&&null!==e.maxWidth){const t=t=>{var r,n;const o=(null==(r=e.theme)||null==(r=r.breakpoints)||null==(r=r.values)?void 0:r[t])||i.VO[t];return o?"px"!==(null==(n=e.theme)||null==(n=n.breakpoints)?void 0:n.unit)?{maxWidth:`${o}${e.theme.breakpoints.unit}`}:{maxWidth:o}:{maxWidth:a(t)}};return(0,i.k9)(e,e.maxWidth,t)}return null};l.filterProps=["maxWidth"];const c=(0,n.ZP)({prop:"minWidth",transform:a}),u=(0,n.ZP)({prop:"height",transform:a}),d=(0,n.ZP)({prop:"maxHeight",transform:a}),p=(0,n.ZP)({prop:"minHeight",transform:a}),f=((0,n.ZP)({prop:"size",cssProperty:"width",transform:a}),(0,n.ZP)({prop:"size",cssProperty:"height",transform:a}),(0,n.ZP)({prop:"boxSizing"}));(0,o.Z)(s,l,c,u,d,p,f)},44472:(e,t,r)=>{"use strict";r.d(t,{NA:()=>g,e6:()=>y,eI:()=>h,hB:()=>m,o3:()=>x});var n=r(95408),o=r(54844),i=r(47730),a=r(1135);const s={m:"margin",p:"padding"},l={t:"Top",r:"Right",b:"Bottom",l:"Left",x:["Left","Right"],y:["Top","Bottom"]},c={marginX:"mx",marginY:"my",paddingX:"px",paddingY:"py"},u=(0,a.Z)((e=>{if(e.length>2){if(!c[e])return[e];e=c[e]}const[t,r]=e.split(""),n=s[t],o=l[r]||"";return Array.isArray(o)?o.map((e=>n+e)):[n+o]})),d=["m","mt","mr","mb","ml","mx","my","margin","marginTop","marginRight","marginBottom","marginLeft","marginX","marginY","marginInline","marginInlineStart","marginInlineEnd","marginBlock","marginBlockStart","marginBlockEnd"],p=["p","pt","pr","pb","pl","px","py","padding","paddingTop","paddingRight","paddingBottom","paddingLeft","paddingX","paddingY","paddingInline","paddingInlineStart","paddingInlineEnd","paddingBlock","paddingBlockStart","paddingBlockEnd"],f=[...d,...p];function h(e,t,r,n){var i;const a=null!=(i=(0,o.DW)(e,t,!1))?i:r;return"number"==typeof a?e=>"string"==typeof e?e:a*e:Array.isArray(a)?e=>"string"==typeof e?e:a[e]:"function"==typeof a?a:()=>{}}function m(e){return h(e,"spacing",8)}function g(e,t){if("string"==typeof t||null==t)return t;const r=e(Math.abs(t));return t>=0?r:"number"==typeof r?-r:`-${r}`}function v(e,t,r,o){if(-1===t.indexOf(r))return null;const i=function(e,t){return r=>e.reduce(((e,n)=>(e[n]=g(t,r),e)),{})}(u(r),o),a=e[r];return(0,n.k9)(e,a,i)}function b(e,t){const r=m(e.theme);return Object.keys(e).map((n=>v(e,t,n,r))).reduce(i.Z,{})}function y(e){return b(e,d)}function x(e){return b(e,p)}function w(e){return b(e,f)}y.propTypes={},y.filterProps=d,x.propTypes={},x.filterProps=p,w.propTypes={},w.filterProps=f},54844:(e,t,r)=>{"use strict";r.d(t,{DW:()=>i,Jq:()=>a,ZP:()=>s});var n=r(14142),o=r(95408);function i(e,t,r=!0){if(!t||"string"!=typeof t)return null;if(e&&e.vars&&r){const r=`vars.${t}`.split(".").reduce(((e,t)=>e&&e[t]?e[t]:null),e);if(null!=r)return r}return t.split(".").reduce(((e,t)=>e&&null!=e[t]?e[t]:null),e)}function a(e,t,r,n=r){let o;return o="function"==typeof e?e(r):Array.isArray(e)?e[r]||n:i(e,r)||n,t&&(o=t(o,n,e)),o}const s=function(e){const{prop:t,cssProperty:r=e.prop,themeKey:s,transform:l}=e,c=e=>{if(null==e[t])return null;const c=e[t],u=i(e.theme,s)||{};return(0,o.k9)(e,c,(e=>{let o=a(u,l,e);return e===o&&"string"==typeof e&&(o=a(u,l,`${t}${"default"===e?"":(0,n.Z)(e)}`,e)),!1===r?o:{[r]:o}}))};return c.propTypes={},c.filterProps=[t],c}},85265:(e,t,r)=>{"use strict";r.d(t,{Z:()=>l});var n=r(44472),o=r(73019),i=r(72053),a=r(84126),s=r(78241);const l={border:{themeKey:"borders",transform:o.NL},borderTop:{themeKey:"borders",transform:o.NL},borderRight:{themeKey:"borders",transform:o.NL},borderBottom:{themeKey:"borders",transform:o.NL},borderLeft:{themeKey:"borders",transform:o.NL},borderColor:{themeKey:"palette"},borderTopColor:{themeKey:"palette"},borderRightColor:{themeKey:"palette"},borderBottomColor:{themeKey:"palette"},borderLeftColor:{themeKey:"palette"},borderRadius:{themeKey:"shape.borderRadius",style:o.E0},color:{themeKey:"palette",transform:a.Sh},bgcolor:{themeKey:"palette",cssProperty:"backgroundColor",transform:a.Sh},backgroundColor:{themeKey:"palette",transform:a.Sh},p:{style:n.o3},pt:{style:n.o3},pr:{style:n.o3},pb:{style:n.o3},pl:{style:n.o3},px:{style:n.o3},py:{style:n.o3},padding:{style:n.o3},paddingTop:{style:n.o3},paddingRight:{style:n.o3},paddingBottom:{style:n.o3},paddingLeft:{style:n.o3},paddingX:{style:n.o3},paddingY:{style:n.o3},paddingInline:{style:n.o3},paddingInlineStart:{style:n.o3},paddingInlineEnd:{style:n.o3},paddingBlock:{style:n.o3},paddingBlockStart:{style:n.o3},paddingBlockEnd:{style:n.o3},m:{style:n.e6},mt:{style:n.e6},mr:{style:n.e6},mb:{style:n.e6},ml:{style:n.e6},mx:{style:n.e6},my:{style:n.e6},margin:{style:n.e6},marginTop:{style:n.e6},marginRight:{style:n.e6},marginBottom:{style:n.e6},marginLeft:{style:n.e6},marginX:{style:n.e6},marginY:{style:n.e6},marginInline:{style:n.e6},marginInlineStart:{style:n.e6},marginInlineEnd:{style:n.e6},marginBlock:{style:n.e6},marginBlockStart:{style:n.e6},marginBlockEnd:{style:n.e6},displayPrint:{cssProperty:!1,transform:e=>({"@media print":{display:e}})},display:{},overflow:{},textOverflow:{},visibility:{},whiteSpace:{},flexBasis:{},flexDirection:{},flexWrap:{},justifyContent:{},alignItems:{},alignContent:{},order:{},flex:{},flexGrow:{},flexShrink:{},alignSelf:{},justifyItems:{},justifySelf:{},gap:{style:i.SG},rowGap:{style:i.s2},columnGap:{style:i.e$},gridColumn:{},gridRow:{},gridAutoFlow:{},gridAutoColumns:{},gridAutoRows:{},gridTemplateColumns:{},gridTemplateRows:{},gridTemplateAreas:{},gridArea:{},position:{},zIndex:{themeKey:"zIndex"},top:{},right:{},bottom:{},left:{},boxShadow:{themeKey:"shadows"},width:{transform:s.EB},maxWidth:{style:s.kk},minWidth:{transform:s.EB},height:{transform:s.EB},maxHeight:{transform:s.EB},minHeight:{transform:s.EB},boxSizing:{},fontFamily:{themeKey:"typography"},fontSize:{themeKey:"typography"},fontStyle:{themeKey:"typography"},fontWeight:{themeKey:"typography"},letterSpacing:{},textTransform:{},lineHeight:{},textAlign:{},typography:{cssProperty:!1,themeKey:"typography"}}},86523:(e,t,r)=>{"use strict";r.d(t,{Z:()=>c});var n=r(14142),o=r(47730),i=r(54844),a=r(95408),s=r(85265);const l=function(){function e(e,t,r,o){const s={[e]:t,theme:r},l=o[e];if(!l)return{[e]:t};const{cssProperty:c=e,themeKey:u,transform:d,style:p}=l;if(null==t)return null;if("typography"===u&&"inherit"===t)return{[e]:t};const f=(0,i.DW)(r,u)||{};if(p)return p(s);return(0,a.k9)(s,t,(t=>{let r=(0,i.Jq)(f,d,t);return t===r&&"string"==typeof t&&(r=(0,i.Jq)(f,d,`${e}${"default"===t?"":(0,n.Z)(t)}`,t)),!1===c?r:{[c]:r}}))}return function t(r){var n;const{sx:i,theme:l={}}=r||{};if(!i)return null;const c=null!=(n=l.unstable_sxConfig)?n:s.Z;function u(r){let n=r;if("function"==typeof r)n=r(l);else if("object"!=typeof r)return r;if(!n)return null;const i=(0,a.W8)(l.breakpoints),s=Object.keys(i);let u=i;return Object.keys(n).forEach((r=>{const i=(s=n[r],d=l,"function"==typeof s?s(d):s);var s,d;if(null!=i)if("object"==typeof i)if(c[r])u=(0,o.Z)(u,e(r,i,l,c));else{const e=(0,a.k9)({theme:l},i,(e=>({[r]:e})));!function(...e){const t=e.reduce(((e,t)=>e.concat(Object.keys(t))),[]),r=new Set(t);return e.every((e=>r.size===Object.keys(e).length))}(e,i)?u=(0,o.Z)(u,e):u[r]=t({sx:i,theme:l})}else u=(0,o.Z)(u,e(r,i,l,c))})),(0,a.L7)(s,u)}return Array.isArray(i)?i.map(u):u(i)}}();l.filterProps=["sx"];const c=l},96682:(e,t,r)=>{"use strict";r.d(t,{Z:()=>a});var n=r(10360),o=r(34168);const i=(0,n.Z)();const a=function(e=i){return(0,o.Z)(e)}},20539:(e,t,r)=>{"use strict";r.d(t,{Z:()=>o});var n=r(47925);function o(e){const{theme:t,name:r,props:o}=e;return t&&t.components&&t.components[r]&&t.components[r].defaultProps?(0,n.Z)(t.components[r].defaultProps,o):o}},29628:(e,t,r)=>{"use strict";r.d(t,{Z:()=>i});var n=r(20539),o=r(96682);function i({props:e,name:t,defaultTheme:r,themeId:i}){let a=(0,o.Z)(r);i&&(a=a[i]||a);return(0,n.Z)({theme:a,name:t,props:e})}},34168:(e,t,r)=>{"use strict";r.d(t,{Z:()=>i});var n=r(74570),o=r(75260);const i=function(e=null){const t=n.useContext(o.T);return t&&(r=t,0!==Object.keys(r).length)?t:e;var r}},37078:(e,t,r)=>{"use strict";r.d(t,{Z:()=>o});const n=e=>e,o=(()=>{let e=n;return{configure(t){e=t},generate:t=>e(t),reset(){e=n}}})()},14142:(e,t,r)=>{"use strict";r.d(t,{Z:()=>o});var n=r(71387);function o(e){if("string"!=typeof e)throw new Error((0,n.Z)(7));return e.charAt(0).toUpperCase()+e.slice(1)}},94780:(e,t,r)=>{"use strict";function n(e,t,r=void 0){const n={};return Object.keys(e).forEach((o=>{n[o]=e[o].reduce(((e,n)=>{if(n){const o=t(n);""!==o&&e.push(o),r&&r[n]&&e.push(r[n])}return e}),[]).join(" ")})),n}r.d(t,{Z:()=>n})},49064:(e,t,r)=>{"use strict";function n(...e){return e.reduce(((e,t)=>null==t?e:function(...r){e.apply(this,r),t.apply(this,r)}),(()=>{}))}r.d(t,{Z:()=>n})},39336:(e,t,r)=>{"use strict";function n(e,t=166){let r;function n(...n){clearTimeout(r),r=setTimeout((()=>{e.apply(this,n)}),t)}return n.clear=()=>{clearTimeout(r)},n}r.d(t,{Z:()=>n})},59766:(e,t,r)=>{"use strict";r.d(t,{P:()=>o,Z:()=>a});var n=r(87462);function o(e){return null!==e&&"object"==typeof e&&e.constructor===Object}function i(e){if(!o(e))return e;const t={};return Object.keys(e).forEach((r=>{t[r]=i(e[r])})),t}function a(e,t,r={clone:!0}){const s=r.clone?(0,n.Z)({},e):e;return o(e)&&o(t)&&Object.keys(t).forEach((n=>{"__proto__"!==n&&(o(t[n])&&n in e&&o(e[n])?s[n]=a(e[n],t[n],r):r.clone?s[n]=o(t[n])?i(t[n]):t[n]:s[n]=t[n])})),s}},71387:(e,t,r)=>{"use strict";function n(e){let t="https://mui.com/production-error/?code="+e;for(let r=1;r<arguments.length;r+=1)t+="&args[]="+encodeURIComponent(arguments[r]);return"Minified MUI error #"+e+"; visit "+t+" for the full message."}r.d(t,{Z:()=>n})},34867:(e,t,r)=>{"use strict";r.d(t,{Z:()=>i});var n=r(37078);const o={active:"active",checked:"checked",completed:"completed",disabled:"disabled",error:"error",expanded:"expanded",focused:"focused",focusVisible:"focusVisible",open:"open",readOnly:"readOnly",required:"required",selected:"selected"};function i(e,t,r="Mui"){const i=o[t];return i?`${r}-${i}`:`${n.Z.generate(e)}-${t}`}},1588:(e,t,r)=>{"use strict";r.d(t,{Z:()=>o});var n=r(34867);function o(e,t,r="Mui"){const o={};return t.forEach((t=>{o[t]=(0,n.Z)(e,t,r)})),o}},18719:(e,t,r)=>{"use strict";r.d(t,{Z:()=>o});var n=r(74570);function o(e,t){return n.isValidElement(e)&&-1!==t.indexOf(e.type.muiName)}},82690:(e,t,r)=>{"use strict";function n(e){return e&&e.ownerDocument||document}r.d(t,{Z:()=>n})},74161:(e,t,r)=>{"use strict";r.d(t,{Z:()=>o});var n=r(82690);function o(e){return(0,n.Z)(e).defaultView||window}},47925:(e,t,r)=>{"use strict";r.d(t,{Z:()=>o});var n=r(87462);function o(e,t){const r=(0,n.Z)({},t);return Object.keys(e).forEach((i=>{if(i.toString().match(/^(components|slots)$/))r[i]=(0,n.Z)({},e[i],r[i]);else if(i.toString().match(/^(componentsProps|slotProps)$/)){const a=e[i]||{},s=t[i];r[i]={},s&&Object.keys(s)?a&&Object.keys(a)?(r[i]=(0,n.Z)({},s),Object.keys(a).forEach((e=>{r[i][e]=o(a[e],s[e])}))):r[i]=s:r[i]=a}else void 0===r[i]&&(r[i]=e[i])})),r}},7960:(e,t,r)=>{"use strict";function n(e,t){"function"==typeof e?e(t):e&&(e.current=t)}r.d(t,{Z:()=>n})},19032:(e,t,r)=>{"use strict";r.d(t,{Z:()=>o});var n=r(74570);function o({controlled:e,default:t,name:r,state:o="value"}){const{current:i}=n.useRef(void 0!==e),[a,s]=n.useState(t);return[i?e:a,n.useCallback((e=>{i||s(e)}),[])]}},73546:(e,t,r)=>{"use strict";r.d(t,{Z:()=>o});var n=r(74570);const o="undefined"!=typeof window?n.useLayoutEffect:n.useEffect},59948:(e,t,r)=>{"use strict";r.d(t,{Z:()=>i});var n=r(74570),o=r(73546);const i=function(e){const t=n.useRef(e);return(0,o.Z)((()=>{t.current=e})),n.useCallback(((...e)=>(0,t.current)(...e)),[])}},33703:(e,t,r)=>{"use strict";r.d(t,{Z:()=>i});var n=r(74570),o=r(7960);function i(...e){return n.useMemo((()=>e.every((e=>null==e))?null:t=>{e.forEach((e=>{(0,o.Z)(e,t)}))}),e)}},92996:(e,t,r)=>{"use strict";r.d(t,{Z:()=>a});var n=r(74570);let o=0;const i=n["useId".toString()];function a(e){if(void 0!==i){const t=i();return null!=e?e:t}return function(e){const[t,r]=n.useState(e),i=e||t;return n.useEffect((()=>{null==t&&(o+=1,r(`mui-${o}`))}),[t]),i}(e)}},99962:(e,t,r)=>{"use strict";r.d(t,{Z:()=>p});var n=r(74570);let o,i=!0,a=!1;const s={text:!0,search:!0,url:!0,tel:!0,email:!0,password:!0,number:!0,date:!0,month:!0,week:!0,time:!0,datetime:!0,"datetime-local":!0};function l(e){e.metaKey||e.altKey||e.ctrlKey||(i=!0)}function c(){i=!1}function u(){"hidden"===this.visibilityState&&a&&(i=!0)}function d(e){const{target:t}=e;try{return t.matches(":focus-visible")}catch(r){}return i||function(e){const{type:t,tagName:r}=e;return!("INPUT"!==r||!s[t]||e.readOnly)||"TEXTAREA"===r&&!e.readOnly||!!e.isContentEditable}(t)}function p(){const e=n.useCallback((e=>{var t;null!=e&&((t=e.ownerDocument).addEventListener("keydown",l,!0),t.addEventListener("mousedown",c,!0),t.addEventListener("pointerdown",c,!0),t.addEventListener("touchstart",c,!0),t.addEventListener("visibilitychange",u,!0))}),[]),t=n.useRef(!1);return{isFocusVisibleRef:t,onFocus:function(e){return!!d(e)&&(t.current=!0,!0)},onBlur:function(){return!!t.current&&(a=!0,window.clearTimeout(o),o=window.setTimeout((()=>{a=!1}),100),t.current=!1,!0)},ref:e}}},9669:(e,t,r)=>{e.exports=r(51609)},55448:(e,t,r)=>{"use strict";var n=r(64867),o=r(36026),i=r(4372),a=r(15327),s=r(94097),l=r(84109),c=r(67985),u=r(77874),d=r(82648),p=r(60644),f=r(90205);e.exports=function(e){return new Promise((function(t,r){var h,m=e.data,g=e.headers,v=e.responseType;function b(){e.cancelToken&&e.cancelToken.unsubscribe(h),e.signal&&e.signal.removeEventListener("abort",h)}n.isFormData(m)&&n.isStandardBrowserEnv()&&delete g["Content-Type"];var y=new XMLHttpRequest;if(e.auth){var x=e.auth.username||"",w=e.auth.password?unescape(encodeURIComponent(e.auth.password)):"";g.Authorization="Basic "+btoa(x+":"+w)}var k=s(e.baseURL,e.url);function S(){if(y){var n="getAllResponseHeaders"in y?l(y.getAllResponseHeaders()):null,i={data:v&&"text"!==v&&"json"!==v?y.response:y.responseText,status:y.status,statusText:y.statusText,headers:n,config:e,request:y};o((function(e){t(e),b()}),(function(e){r(e),b()}),i),y=null}}if(y.open(e.method.toUpperCase(),a(k,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&&(r(new d("Request aborted",d.ECONNABORTED,e,y)),y=null)},y.onerror=function(){r(new d("Network Error",d.ERR_NETWORK,e,y,y)),y=null},y.ontimeout=function(){var t=e.timeout?"timeout of "+e.timeout+"ms exceeded":"timeout exceeded",n=e.transitional||u;e.timeoutErrorMessage&&(t=e.timeoutErrorMessage),r(new d(t,n.clarifyTimeoutError?d.ETIMEDOUT:d.ECONNABORTED,e,y)),y=null},n.isStandardBrowserEnv()){var E=(e.withCredentials||c(k))&&e.xsrfCookieName?i.read(e.xsrfCookieName):void 0;E&&(g[e.xsrfHeaderName]=E)}"setRequestHeader"in y&&n.forEach(g,(function(e,t){void 0===m&&"content-type"===t.toLowerCase()?delete g[t]:y.setRequestHeader(t,e)})),n.isUndefined(e.withCredentials)||(y.withCredentials=!!e.withCredentials),v&&"json"!==v&&(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)&&(h=function(e){y&&(r(!e||e&&e.type?new p:e),y.abort(),y=null)},e.cancelToken&&e.cancelToken.subscribe(h),e.signal&&(e.signal.aborted?h():e.signal.addEventListener("abort",h))),m||(m=null);var Z=f(k);Z&&-1===["http","https","file"].indexOf(Z)?r(new d("Unsupported protocol "+Z+":",d.ERR_BAD_REQUEST,e)):y.send(m)}))}},51609:(e,t,r)=>{"use strict";var n=r(64867),o=r(91849),i=r(30321),a=r(47185);var s=function e(t){var r=new i(t),s=o(i.prototype.request,r);return n.extend(s,i.prototype,r),n.extend(s,r),s.create=function(r){return e(a(t,r))},s}(r(45546));s.Axios=i,s.CanceledError=r(60644),s.CancelToken=r(14972),s.isCancel=r(26502),s.VERSION=r(97288).version,s.toFormData=r(47675),s.AxiosError=r(82648),s.Cancel=s.CanceledError,s.all=function(e){return Promise.all(e)},s.spread=r(8713),s.isAxiosError=r(16268),e.exports=s,e.exports.default=s},14972:(e,t,r)=>{"use strict";var n=r(60644);function o(e){if("function"!=typeof e)throw new TypeError("executor must be a function.");var t;this.promise=new Promise((function(e){t=e}));var r=this;this.promise.then((function(e){if(r._listeners){var t,n=r._listeners.length;for(t=0;t<n;t++)r._listeners[t](e);r._listeners=null}})),this.promise.then=function(e){var t,n=new Promise((function(e){r.subscribe(e),t=e})).then(e);return n.cancel=function(){r.unsubscribe(t)},n},e((function(e){r.reason||(r.reason=new n(e),t(r.reason))}))}o.prototype.throwIfRequested=function(){if(this.reason)throw this.reason},o.prototype.subscribe=function(e){this.reason?e(this.reason):this._listeners?this._listeners.push(e):this._listeners=[e]},o.prototype.unsubscribe=function(e){if(this._listeners){var t=this._listeners.indexOf(e);-1!==t&&this._listeners.splice(t,1)}},o.source=function(){var e;return{token:new o((function(t){e=t})),cancel:e}},e.exports=o},60644:(e,t,r)=>{"use strict";var n=r(82648);function o(e){n.call(this,null==e?"canceled":e,n.ERR_CANCELED),this.name="CanceledError"}r(64867).inherits(o,n,{__CANCEL__:!0}),e.exports=o},26502:e=>{"use strict";e.exports=function(e){return!(!e||!e.__CANCEL__)}},30321:(e,t,r)=>{"use strict";var n=r(64867),o=r(15327),i=r(80782),a=r(13572),s=r(47185),l=r(94097),c=r(54875),u=c.validators;function d(e){this.defaults=e,this.interceptors={request:new i,response:new i}}d.prototype.request=function(e,t){"string"==typeof e?(t=t||{}).url=e:t=e||{},(t=s(this.defaults,t)).method?t.method=t.method.toLowerCase():this.defaults.method?t.method=this.defaults.method.toLowerCase():t.method="get";var r=t.transitional;void 0!==r&&c.assertOptions(r,{silentJSONParsing:u.transitional(u.boolean),forcedJSONParsing:u.transitional(u.boolean),clarifyTimeoutError:u.transitional(u.boolean)},!1);var n=[],o=!0;this.interceptors.request.forEach((function(e){"function"==typeof e.runWhen&&!1===e.runWhen(t)||(o=o&&e.synchronous,n.unshift(e.fulfilled,e.rejected))}));var i,l=[];if(this.interceptors.response.forEach((function(e){l.push(e.fulfilled,e.rejected)})),!o){var d=[a,void 0];for(Array.prototype.unshift.apply(d,n),d=d.concat(l),i=Promise.resolve(t);d.length;)i=i.then(d.shift(),d.shift());return i}for(var p=t;n.length;){var f=n.shift(),h=n.shift();try{p=f(p)}catch(m){h(m);break}}try{i=a(p)}catch(m){return Promise.reject(m)}for(;l.length;)i=i.then(l.shift(),l.shift());return i},d.prototype.getUri=function(e){e=s(this.defaults,e);var t=l(e.baseURL,e.url);return o(t,e.params,e.paramsSerializer)},n.forEach(["delete","get","head","options"],(function(e){d.prototype[e]=function(t,r){return this.request(s(r||{},{method:e,url:t,data:(r||{}).data}))}})),n.forEach(["post","put","patch"],(function(e){function t(t){return function(r,n,o){return this.request(s(o||{},{method:e,headers:t?{"Content-Type":"multipart/form-data"}:{},url:r,data:n}))}}d.prototype[e]=t(),d.prototype[e+"Form"]=t(!0)})),e.exports=d},82648:(e,t,r)=>{"use strict";var n=r(64867);function o(e,t,r,n,o){Error.call(this),this.message=e,this.name="AxiosError",t&&(this.code=t),r&&(this.config=r),n&&(this.request=n),o&&(this.response=o)}n.inherits(o,Error,{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}}});var i=o.prototype,a={};["ERR_BAD_OPTION_VALUE","ERR_BAD_OPTION","ECONNABORTED","ETIMEDOUT","ERR_NETWORK","ERR_FR_TOO_MANY_REDIRECTS","ERR_DEPRECATED","ERR_BAD_RESPONSE","ERR_BAD_REQUEST","ERR_CANCELED"].forEach((function(e){a[e]={value:e}})),Object.defineProperties(o,a),Object.defineProperty(i,"isAxiosError",{value:!0}),o.from=function(e,t,r,a,s,l){var c=Object.create(i);return n.toFlatObject(e,c,(function(e){return e!==Error.prototype})),o.call(c,e.message,t,r,a,s),c.name=e.name,l&&Object.assign(c,l),c},e.exports=o},80782:(e,t,r)=>{"use strict";var n=r(64867);function o(){this.handlers=[]}o.prototype.use=function(e,t,r){return this.handlers.push({fulfilled:e,rejected:t,synchronous:!!r&&r.synchronous,runWhen:r?r.runWhen:null}),this.handlers.length-1},o.prototype.eject=function(e){this.handlers[e]&&(this.handlers[e]=null)},o.prototype.forEach=function(e){n.forEach(this.handlers,(function(t){null!==t&&e(t)}))},e.exports=o},94097:(e,t,r)=>{"use strict";var n=r(91793),o=r(7303);e.exports=function(e,t){return e&&!n(t)?o(e,t):t}},13572:(e,t,r)=>{"use strict";var n=r(64867),o=r(18527),i=r(26502),a=r(45546),s=r(60644);function l(e){if(e.cancelToken&&e.cancelToken.throwIfRequested(),e.signal&&e.signal.aborted)throw new s}e.exports=function(e){return l(e),e.headers=e.headers||{},e.data=o.call(e,e.data,e.headers,e.transformRequest),e.headers=n.merge(e.headers.common||{},e.headers[e.method]||{},e.headers),n.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=o.call(e,t.data,t.headers,e.transformResponse),t}),(function(t){return i(t)||(l(e),t&&t.response&&(t.response.data=o.call(e,t.response.data,t.response.headers,e.transformResponse))),Promise.reject(t)}))}},47185:(e,t,r)=>{"use strict";var n=r(64867);e.exports=function(e,t){t=t||{};var r={};function o(e,t){return n.isPlainObject(e)&&n.isPlainObject(t)?n.merge(e,t):n.isPlainObject(t)?n.merge({},t):n.isArray(t)?t.slice():t}function i(r){return n.isUndefined(t[r])?n.isUndefined(e[r])?void 0:o(void 0,e[r]):o(e[r],t[r])}function a(e){if(!n.isUndefined(t[e]))return o(void 0,t[e])}function s(r){return n.isUndefined(t[r])?n.isUndefined(e[r])?void 0:o(void 0,e[r]):o(void 0,t[r])}function l(r){return r in t?o(e[r],t[r]):r in e?o(void 0,e[r]):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,beforeRedirect:s,transport:s,httpAgent:s,httpsAgent:s,cancelToken:s,socketPath:s,responseEncoding:s,validateStatus:l};return n.forEach(Object.keys(e).concat(Object.keys(t)),(function(e){var t=c[e]||i,o=t(e);n.isUndefined(o)&&t!==l||(r[e]=o)})),r}},36026:(e,t,r)=>{"use strict";var n=r(82648);e.exports=function(e,t,r){var o=r.config.validateStatus;r.status&&o&&!o(r.status)?t(new n("Request failed with status code "+r.status,[n.ERR_BAD_REQUEST,n.ERR_BAD_RESPONSE][Math.floor(r.status/100)-4],r.config,r.request,r)):e(r)}},18527:(e,t,r)=>{"use strict";var n=r(64867),o=r(45546);e.exports=function(e,t,r){var i=this||o;return n.forEach(r,(function(r){e=r.call(i,e,t)})),e}},45546:(e,t,r)=>{"use strict";var n=r(64867),o=r(16016),i=r(82648),a=r(77874),s=r(47675),l={"Content-Type":"application/x-www-form-urlencoded"};function c(e,t){!n.isUndefined(e)&&n.isUndefined(e["Content-Type"])&&(e["Content-Type"]=t)}var u,d={transitional:a,adapter:(("undefined"!=typeof XMLHttpRequest||"undefined"!=typeof process&&"[object process]"===Object.prototype.toString.call(process))&&(u=r(55448)),u),transformRequest:[function(e,t){if(o(t,"Accept"),o(t,"Content-Type"),n.isFormData(e)||n.isArrayBuffer(e)||n.isBuffer(e)||n.isStream(e)||n.isFile(e)||n.isBlob(e))return e;if(n.isArrayBufferView(e))return e.buffer;if(n.isURLSearchParams(e))return c(t,"application/x-www-form-urlencoded;charset=utf-8"),e.toString();var r,i=n.isObject(e),a=t&&t["Content-Type"];if((r=n.isFileList(e))||i&&"multipart/form-data"===a){var l=this.env&&this.env.FormData;return s(r?{"files[]":e}:e,l&&new l)}return i||"application/json"===a?(c(t,"application/json"),function(e,t,r){if(n.isString(e))try{return(t||JSON.parse)(e),n.trim(e)}catch(o){if("SyntaxError"!==o.name)throw o}return(r||JSON.stringify)(e)}(e)):e}],transformResponse:[function(e){var t=this.transitional||d.transitional,r=t&&t.silentJSONParsing,o=t&&t.forcedJSONParsing,a=!r&&"json"===this.responseType;if(a||o&&n.isString(e)&&e.length)try{return JSON.parse(e)}catch(s){if(a){if("SyntaxError"===s.name)throw i.from(s,i.ERR_BAD_RESPONSE,this,null,this.response);throw s}}return e}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:r(91623)},validateStatus:function(e){return e>=200&&e<300},headers:{common:{Accept:"application/json, text/plain, */*"}}};n.forEach(["delete","get","head"],(function(e){d.headers[e]={}})),n.forEach(["post","put","patch"],(function(e){d.headers[e]=n.merge(l)})),e.exports=d},77874:e=>{"use strict";e.exports={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1}},97288:e=>{e.exports={version:"0.27.2"}},91849:e=>{"use strict";e.exports=function(e,t){return function(){for(var r=new Array(arguments.length),n=0;n<r.length;n++)r[n]=arguments[n];return e.apply(t,r)}}},15327:(e,t,r)=>{"use strict";var n=r(64867);function o(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,r){if(!t)return e;var i;if(r)i=r(t);else if(n.isURLSearchParams(t))i=t.toString();else{var a=[];n.forEach(t,(function(e,t){null!=e&&(n.isArray(e)?t+="[]":e=[e],n.forEach(e,(function(e){n.isDate(e)?e=e.toISOString():n.isObject(e)&&(e=JSON.stringify(e)),a.push(o(t)+"="+o(e))})))})),i=a.join("&")}if(i){var s=e.indexOf("#");-1!==s&&(e=e.slice(0,s)),e+=(-1===e.indexOf("?")?"?":"&")+i}return e}},7303:e=>{"use strict";e.exports=function(e,t){return t?e.replace(/\/+$/,"")+"/"+t.replace(/^\/+/,""):e}},4372:(e,t,r)=>{"use strict";var n=r(64867);e.exports=n.isStandardBrowserEnv()?{write:function(e,t,r,o,i,a){var s=[];s.push(e+"="+encodeURIComponent(t)),n.isNumber(r)&&s.push("expires="+new Date(r).toGMTString()),n.isString(o)&&s.push("path="+o),n.isString(i)&&s.push("domain="+i),!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(){}}},91793:e=>{"use strict";e.exports=function(e){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(e)}},16268:(e,t,r)=>{"use strict";var n=r(64867);e.exports=function(e){return n.isObject(e)&&!0===e.isAxiosError}},67985:(e,t,r)=>{"use strict";var n=r(64867);e.exports=n.isStandardBrowserEnv()?function(){var e,t=/(msie|trident)/i.test(navigator.userAgent),r=document.createElement("a");function o(e){var n=e;return t&&(r.setAttribute("href",n),n=r.href),r.setAttribute("href",n),{href:r.href,protocol:r.protocol?r.protocol.replace(/:$/,""):"",host:r.host,search:r.search?r.search.replace(/^\?/,""):"",hash:r.hash?r.hash.replace(/^#/,""):"",hostname:r.hostname,port:r.port,pathname:"/"===r.pathname.charAt(0)?r.pathname:"/"+r.pathname}}return e=o(window.location.href),function(t){var r=n.isString(t)?o(t):t;return r.protocol===e.protocol&&r.host===e.host}}():function(){return!0}},16016:(e,t,r)=>{"use strict";var n=r(64867);e.exports=function(e,t){n.forEach(e,(function(r,n){n!==t&&n.toUpperCase()===t.toUpperCase()&&(e[t]=r,delete e[n])}))}},91623:e=>{e.exports=null},84109:(e,t,r)=>{"use strict";var n=r(64867),o=["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,r,i,a={};return e?(n.forEach(e.split("\n"),(function(e){if(i=e.indexOf(":"),t=n.trim(e.substr(0,i)).toLowerCase(),r=n.trim(e.substr(i+1)),t){if(a[t]&&o.indexOf(t)>=0)return;a[t]="set-cookie"===t?(a[t]?a[t]:[]).concat([r]):a[t]?a[t]+", "+r:r}})),a):a}},90205:e=>{"use strict";e.exports=function(e){var t=/^([-+\w]{1,25})(:?\/\/|:)/.exec(e);return t&&t[1]||""}},8713:e=>{"use strict";e.exports=function(e){return function(t){return e.apply(null,t)}}},47675:(e,t,r)=>{"use strict";var n=r(64867);e.exports=function(e,t){t=t||new FormData;var r=[];function o(e){return null===e?"":n.isDate(e)?e.toISOString():n.isArrayBuffer(e)||n.isTypedArray(e)?"function"==typeof Blob?new Blob([e]):Buffer.from(e):e}return function e(i,a){if(n.isPlainObject(i)||n.isArray(i)){if(-1!==r.indexOf(i))throw Error("Circular reference detected in "+a);r.push(i),n.forEach(i,(function(r,i){if(!n.isUndefined(r)){var s,l=a?a+"."+i:i;if(r&&!a&&"object"==typeof r)if(n.endsWith(i,"{}"))r=JSON.stringify(r);else if(n.endsWith(i,"[]")&&(s=n.toArray(r)))return void s.forEach((function(e){!n.isUndefined(e)&&t.append(l,o(e))}));e(r,l)}})),r.pop()}else t.append(a,o(i))}(e),t}},54875:(e,t,r)=>{"use strict";var n=r(97288).version,o=r(82648),i={};["object","boolean","number","function","string","symbol"].forEach((function(e,t){i[e]=function(r){return typeof r===e||"a"+(t<1?"n ":" ")+e}}));var a={};i.transitional=function(e,t,r){function i(e,t){return"[Axios v"+n+"] Transitional option '"+e+"'"+t+(r?". "+r:"")}return function(r,n,s){if(!1===e)throw new o(i(n," has been removed"+(t?" in "+t:"")),o.ERR_DEPRECATED);return t&&!a[n]&&(a[n]=!0,console.warn(i(n," has been deprecated since v"+t+" and will be removed in the near future"))),!e||e(r,n,s)}},e.exports={assertOptions:function(e,t,r){if("object"!=typeof e)throw new o("options must be an object",o.ERR_BAD_OPTION_VALUE);for(var n=Object.keys(e),i=n.length;i-- >0;){var a=n[i],s=t[a];if(s){var l=e[a],c=void 0===l||s(l,a,e);if(!0!==c)throw new o("option "+a+" must be "+c,o.ERR_BAD_OPTION_VALUE)}else if(!0!==r)throw new o("Unknown option "+a,o.ERR_BAD_OPTION)}},validators:i}},64867:(e,t,r)=>{"use strict";var n,o=r(91849),i=Object.prototype.toString,a=(n=Object.create(null),function(e){var t=i.call(e);return n[t]||(n[t]=t.slice(8,-1).toLowerCase())});function s(e){return e=e.toLowerCase(),function(t){return a(t)===e}}function l(e){return Array.isArray(e)}function c(e){return void 0===e}var u=s("ArrayBuffer");function d(e){return null!==e&&"object"==typeof e}function p(e){if("object"!==a(e))return!1;var t=Object.getPrototypeOf(e);return null===t||t===Object.prototype}var f=s("Date"),h=s("File"),m=s("Blob"),g=s("FileList");function v(e){return"[object Function]"===i.call(e)}var b=s("URLSearchParams");function y(e,t){if(null!=e)if("object"!=typeof e&&(e=[e]),l(e))for(var r=0,n=e.length;r<n;r++)t.call(null,e[r],r,e);else for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&t.call(null,e[o],o,e)}var x,w=(x="undefined"!=typeof Uint8Array&&Object.getPrototypeOf(Uint8Array),function(e){return x&&e instanceof x});e.exports={isArray:l,isArrayBuffer:u,isBuffer:function(e){return null!==e&&!c(e)&&null!==e.constructor&&!c(e.constructor)&&"function"==typeof e.constructor.isBuffer&&e.constructor.isBuffer(e)},isFormData:function(e){var t="[object FormData]";return e&&("function"==typeof FormData&&e instanceof FormData||i.call(e)===t||v(e.toString)&&e.toString()===t)},isArrayBufferView:function(e){return"undefined"!=typeof ArrayBuffer&&ArrayBuffer.isView?ArrayBuffer.isView(e):e&&e.buffer&&u(e.buffer)},isString:function(e){return"string"==typeof e},isNumber:function(e){return"number"==typeof e},isObject:d,isPlainObject:p,isUndefined:c,isDate:f,isFile:h,isBlob:m,isFunction:v,isStream:function(e){return d(e)&&v(e.pipe)},isURLSearchParams:b,isStandardBrowserEnv:function(){return("undefined"==typeof navigator||"ReactNative"!==navigator.product&&"NativeScript"!==navigator.product&&"NS"!==navigator.product)&&("undefined"!=typeof window&&"undefined"!=typeof document)},forEach:y,merge:function e(){var t={};function r(r,n){p(t[n])&&p(r)?t[n]=e(t[n],r):p(r)?t[n]=e({},r):l(r)?t[n]=r.slice():t[n]=r}for(var n=0,o=arguments.length;n<o;n++)y(arguments[n],r);return t},extend:function(e,t,r){return y(t,(function(t,n){e[n]=r&&"function"==typeof t?o(t,r):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},inherits:function(e,t,r,n){e.prototype=Object.create(t.prototype,n),e.prototype.constructor=e,r&&Object.assign(e.prototype,r)},toFlatObject:function(e,t,r){var n,o,i,a={};t=t||{};do{for(o=(n=Object.getOwnPropertyNames(e)).length;o-- >0;)a[i=n[o]]||(t[i]=e[i],a[i]=!0);e=Object.getPrototypeOf(e)}while(e&&(!r||r(e,t))&&e!==Object.prototype);return t},kindOf:a,kindOfTest:s,endsWith:function(e,t,r){e=String(e),(void 0===r||r>e.length)&&(r=e.length),r-=t.length;var n=e.indexOf(t,r);return-1!==n&&n===r},toArray:function(e){if(!e)return null;var t=e.length;if(c(t))return null;for(var r=new Array(t);t-- >0;)r[t]=e[t];return r},isTypedArray:w,isFileList:g}},94184:(e,t)=>{var r;!function(){"use strict";var n={}.hasOwnProperty;function o(){for(var e=[],t=0;t<arguments.length;t++){var r=arguments[t];if(r){var i=typeof r;if("string"===i||"number"===i)e.push(r);else if(Array.isArray(r)){if(r.length){var a=o.apply(null,r);a&&e.push(a)}}else if("object"===i)if(r.toString===Object.prototype.toString)for(var s in r)n.call(r,s)&&r[s]&&e.push(s);else e.push(r.toString())}}return e.join(" ")}e.exports?(o.default=o,e.exports=o):void 0===(r=function(){return o}.apply(t,[]))||(e.exports=r)}()},8679:(e,t,r)=>{"use strict";var n=r(21296),o={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},i={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},a={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},s={};function l(e){return n.isMemo(e)?a:s[e.$$typeof]||o}s[n.ForwardRef]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},s[n.Memo]=a;var c=Object.defineProperty,u=Object.getOwnPropertyNames,d=Object.getOwnPropertySymbols,p=Object.getOwnPropertyDescriptor,f=Object.getPrototypeOf,h=Object.prototype;e.exports=function e(t,r,n){if("string"!=typeof r){if(h){var o=f(r);o&&o!==h&&e(t,o,n)}var a=u(r);d&&(a=a.concat(d(r)));for(var s=l(t),m=l(r),g=0;g<a.length;++g){var v=a[g];if(!(i[v]||n&&n[v]||m&&m[v]||s&&s[v])){var b=p(r,v);try{c(t,v,b)}catch(y){}}}}return t}},96103:(e,t)=>{"use strict";var r="function"==typeof Symbol&&Symbol.for,n=r?Symbol.for("react.element"):60103,o=r?Symbol.for("react.portal"):60106,i=r?Symbol.for("react.fragment"):60107,a=r?Symbol.for("react.strict_mode"):60108,s=r?Symbol.for("react.profiler"):60114,l=r?Symbol.for("react.provider"):60109,c=r?Symbol.for("react.context"):60110,u=r?Symbol.for("react.async_mode"):60111,d=r?Symbol.for("react.concurrent_mode"):60111,p=r?Symbol.for("react.forward_ref"):60112,f=r?Symbol.for("react.suspense"):60113,h=r?Symbol.for("react.suspense_list"):60120,m=r?Symbol.for("react.memo"):60115,g=r?Symbol.for("react.lazy"):60116,v=r?Symbol.for("react.block"):60121,b=r?Symbol.for("react.fundamental"):60117,y=r?Symbol.for("react.responder"):60118,x=r?Symbol.for("react.scope"):60119;function w(e){if("object"==typeof e&&null!==e){var t=e.$$typeof;switch(t){case n:switch(e=e.type){case u:case d:case i:case s:case a:case f:return e;default:switch(e=e&&e.$$typeof){case c:case p:case g:case m:case l:return e;default:return t}}case o:return t}}}function k(e){return w(e)===d}t.AsyncMode=u,t.ConcurrentMode=d,t.ContextConsumer=c,t.ContextProvider=l,t.Element=n,t.ForwardRef=p,t.Fragment=i,t.Lazy=g,t.Memo=m,t.Portal=o,t.Profiler=s,t.StrictMode=a,t.Suspense=f,t.isAsyncMode=function(e){return k(e)||w(e)===u},t.isConcurrentMode=k,t.isContextConsumer=function(e){return w(e)===c},t.isContextProvider=function(e){return w(e)===l},t.isElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===n},t.isForwardRef=function(e){return w(e)===p},t.isFragment=function(e){return w(e)===i},t.isLazy=function(e){return w(e)===g},t.isMemo=function(e){return w(e)===m},t.isPortal=function(e){return w(e)===o},t.isProfiler=function(e){return w(e)===s},t.isStrictMode=function(e){return w(e)===a},t.isSuspense=function(e){return w(e)===f},t.isValidElementType=function(e){return"string"==typeof e||"function"==typeof e||e===i||e===d||e===s||e===a||e===f||e===h||"object"==typeof e&&null!==e&&(e.$$typeof===g||e.$$typeof===m||e.$$typeof===l||e.$$typeof===c||e.$$typeof===p||e.$$typeof===b||e.$$typeof===y||e.$$typeof===x||e.$$typeof===v)},t.typeOf=w},21296:(e,t,r)=>{"use strict";e.exports=r(96103)},69921:(e,t)=>{"use strict";var r,n=Symbol.for("react.element"),o=Symbol.for("react.portal"),i=Symbol.for("react.fragment"),a=Symbol.for("react.strict_mode"),s=Symbol.for("react.profiler"),l=Symbol.for("react.provider"),c=Symbol.for("react.context"),u=Symbol.for("react.server_context"),d=Symbol.for("react.forward_ref"),p=Symbol.for("react.suspense"),f=Symbol.for("react.suspense_list"),h=Symbol.for("react.memo"),m=Symbol.for("react.lazy"),g=Symbol.for("react.offscreen");function v(e){if("object"==typeof e&&null!==e){var t=e.$$typeof;switch(t){case n:switch(e=e.type){case i:case s:case a:case p:case f:return e;default:switch(e=e&&e.$$typeof){case u:case c:case d:case m:case h:case l:return e;default:return t}}case o:return t}}}r=Symbol.for("react.module.reference")},59864:(e,t,r)=>{"use strict";r(69921)},75251:(e,t,r)=>{"use strict";var n=r(74570),o=Symbol.for("react.element"),i=Symbol.for("react.fragment"),a=Object.prototype.hasOwnProperty,s=n.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,l={key:!0,ref:!0,__self:!0,__source:!0};function c(e,t,r){var n,i={},c=null,u=null;for(n in void 0!==r&&(c=""+r),void 0!==t.key&&(c=""+t.key),void 0!==t.ref&&(u=t.ref),t)a.call(t,n)&&!l.hasOwnProperty(n)&&(i[n]=t[n]);if(e&&e.defaultProps)for(n in t=e.defaultProps)void 0===i[n]&&(i[n]=t[n]);return{$$typeof:o,type:e,key:c,ref:u,props:i,_owner:s.current}}t.Fragment=i,t.jsx=c,t.jsxs=c},85893:(e,t,r)=>{"use strict";e.exports=r(75251)},74570:e=>{"use strict";e.exports=react18},64836:e=>{e.exports=function(e){return e&&e.__esModule?e:{default:e}},e.exports.__esModule=!0,e.exports.default=e.exports},87462:(e,t,r)=>{"use strict";function n(){return n=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},n.apply(this,arguments)}r.d(t,{Z:()=>n})},63366:(e,t,r)=>{"use strict";function n(e,t){if(null==e)return{};var r,n,o={},i=Object.keys(e);for(n=0;n<i.length;n++)r=i[n],t.indexOf(r)>=0||(o[r]=e[r]);return o}r.d(t,{Z:()=>n})},90512:(e,t,r)=>{"use strict";function n(e){var t,r,o="";if("string"==typeof e||"number"==typeof e)o+=e;else if("object"==typeof e)if(Array.isArray(e)){var i=e.length;for(t=0;t<i;t++)e[t]&&(r=n(e[t]))&&(o&&(o+=" "),o+=r)}else for(r in e)e[r]&&(o&&(o+=" "),o+=r);return o}r.d(t,{Z:()=>o});const o=function(){for(var e,t,r=0,o="",i=arguments.length;r<i;r++)(e=arguments[r])&&(t=n(e))&&(o&&(o+=" "),o+=t);return o}},27563:(e,t,r)=>{"use strict";r.d(t,{Ab:()=>a,Fr:()=>s,G$:()=>i,JM:()=>d,K$:()=>c,MS:()=>n,h5:()=>l,lK:()=>u,uj:()=>o});var n="-ms-",o="-moz-",i="-webkit-",a="comm",s="rule",l="decl",c="@import",u="@keyframes",d="@layer"},88160:(e,t,r)=>{"use strict";r.d(t,{cD:()=>i,qR:()=>o});var n=r(26686);function o(e){var t=(0,n.Ei)(e);return function(r,n,o,i){for(var a="",s=0;s<t;s++)a+=e[s](r,n,o,i)||"";return a}}function i(e){return function(t){t.root||(t=t.return)&&e(t)}}},92190:(e,t,r)=>{"use strict";r.d(t,{MY:()=>a});var n=r(27563),o=r(26686),i=r(46411);function a(e){return(0,i.cE)(s("",null,null,null,[""],e=(0,i.un)(e),0,[0],e))}function s(e,t,r,n,a,d,p,f,h){for(var m=0,g=0,v=p,b=0,y=0,x=0,w=1,k=1,S=1,E=0,Z="",O=a,C=d,M=n,R=Z;k;)switch(x=E,E=(0,i.lp)()){case 40:if(108!=x&&58==(0,o.uO)(R,v-1)){-1!=(0,o.Cw)(R+=(0,o.gx)((0,i.iF)(E),"&","&\f"),"&\f")&&(S=-1);break}case 34:case 39:case 91:R+=(0,i.iF)(E);break;case 9:case 10:case 13:case 32:R+=(0,i.Qb)(x);break;case 92:R+=(0,i.kq)((0,i.Ud)()-1,7);continue;case 47:switch((0,i.fj)()){case 42:case 47:(0,o.R3)(c((0,i.q6)((0,i.lp)(),(0,i.Ud)()),t,r),h);break;default:R+="/"}break;case 123*w:f[m++]=(0,o.to)(R)*S;case 125*w:case 59:case 0:switch(E){case 0:case 125:k=0;case 59+g:-1==S&&(R=(0,o.gx)(R,/\f/g,"")),y>0&&(0,o.to)(R)-v&&(0,o.R3)(y>32?u(R+";",n,r,v-1):u((0,o.gx)(R," ","")+";",n,r,v-2),h);break;case 59:R+=";";default:if((0,o.R3)(M=l(R,t,r,m,g,a,f,Z,O=[],C=[],v),d),123===E)if(0===g)s(R,t,M,M,O,d,v,f,C);else switch(99===b&&110===(0,o.uO)(R,3)?100:b){case 100:case 108:case 109:case 115:s(e,M,M,n&&(0,o.R3)(l(e,M,M,0,0,a,f,Z,a,O=[],v),C),a,C,v,f,n?O:C);break;default:s(R,M,M,M,[""],C,0,f,C)}}m=g=y=0,w=S=1,Z=R="",v=p;break;case 58:v=1+(0,o.to)(R),y=x;default:if(w<1)if(123==E)--w;else if(125==E&&0==w++&&125==(0,i.mp)())continue;switch(R+=(0,o.Dp)(E),E*w){case 38:S=g>0?1:(R+="\f",-1);break;case 44:f[m++]=((0,o.to)(R)-1)*S,S=1;break;case 64:45===(0,i.fj)()&&(R+=(0,i.iF)((0,i.lp)())),b=(0,i.fj)(),g=v=(0,o.to)(Z=R+=(0,i.QU)((0,i.Ud)())),E++;break;case 45:45===x&&2==(0,o.to)(R)&&(w=0)}}return d}function l(e,t,r,a,s,l,c,u,d,p,f){for(var h=s-1,m=0===s?l:[""],g=(0,o.Ei)(m),v=0,b=0,y=0;v<a;++v)for(var x=0,w=(0,o.tb)(e,h+1,h=(0,o.Wn)(b=c[v])),k=e;x<g;++x)(k=(0,o.fy)(b>0?m[x]+" "+w:(0,o.gx)(w,/&\f/g,m[x])))&&(d[y++]=k);return(0,i.dH)(e,t,r,0===s?n.Fr:u,d,p,f)}function c(e,t,r){return(0,i.dH)(e,t,r,n.Ab,(0,o.Dp)((0,i.Tb)()),(0,o.tb)(e,2,-2),0)}function u(e,t,r,a){return(0,i.dH)(e,t,r,n.h5,(0,o.tb)(e,0,a),(0,o.tb)(e,a+1,-1),a)}},20211:(e,t,r)=>{"use strict";r.d(t,{P:()=>a,q:()=>i});var n=r(27563),o=r(26686);function i(e,t){for(var r="",n=(0,o.Ei)(e),i=0;i<n;i++)r+=t(e[i],i,e,t)||"";return r}function a(e,t,r,a){switch(e.type){case n.JM:if(e.children.length)break;case n.K$:case n.h5:return e.return=e.return||e.value;case n.Ab:return"";case n.lK:return e.return=e.value+"{"+i(e.children,a)+"}";case n.Fr:e.value=e.props.join(",")}return(0,o.to)(r=i(e.children,a))?e.return=e.value+"{"+r+"}":""}},46411:(e,t,r)=>{"use strict";r.d(t,{FK:()=>s,JG:()=>d,QU:()=>O,Qb:()=>k,Tb:()=>p,Ud:()=>g,cE:()=>x,dH:()=>u,fj:()=>m,iF:()=>w,kq:()=>S,lp:()=>h,mp:()=>f,q6:()=>Z,r:()=>b,tP:()=>v,un:()=>y});var n=r(26686),o=1,i=1,a=0,s=0,l=0,c="";function u(e,t,r,n,a,s,l){return{value:e,root:t,parent:r,type:n,props:a,children:s,line:o,column:i,length:l,return:""}}function d(e,t){return(0,n.f0)(u("",null,null,"",null,null,0),e,{length:-e.length},t)}function p(){return l}function f(){return l=s>0?(0,n.uO)(c,--s):0,i--,10===l&&(i=1,o--),l}function h(){return l=s<a?(0,n.uO)(c,s++):0,i++,10===l&&(i=1,o++),l}function m(){return(0,n.uO)(c,s)}function g(){return s}function v(e,t){return(0,n.tb)(c,e,t)}function b(e){switch(e){case 0:case 9:case 10:case 13:case 32:return 5;case 33:case 43:case 44:case 47:case 62:case 64:case 126:case 59:case 123:case 125:return 4;case 58:return 3;case 34:case 39:case 40:case 91:return 2;case 41:case 93:return 1}return 0}function y(e){return o=i=1,a=(0,n.to)(c=e),s=0,[]}function x(e){return c="",e}function w(e){return(0,n.fy)(v(s-1,E(91===e?e+2:40===e?e+1:e)))}function k(e){for(;(l=m())&&l<33;)h();return b(e)>2||b(l)>3?"":" "}function S(e,t){for(;--t&&h()&&!(l<48||l>102||l>57&&l<65||l>70&&l<97););return v(e,g()+(t<6&&32==m()&&32==h()))}function E(e){for(;h();)switch(l){case e:return s;case 34:case 39:34!==e&&39!==e&&E(l);break;case 40:41===e&&E(e);break;case 92:h()}return s}function Z(e,t){for(;h()&&e+l!==57&&(e+l!==84||47!==m()););return"/*"+v(t,s-1)+"*"+(0,n.Dp)(47===e?e:h())}function O(e){for(;!b(m());)h();return v(e,s)}},26686:(e,t,r)=>{"use strict";r.d(t,{$e:()=>g,Cw:()=>u,Dp:()=>o,EQ:()=>l,Ei:()=>h,R3:()=>m,Wn:()=>n,f0:()=>i,fy:()=>s,gx:()=>c,tb:()=>p,to:()=>f,uO:()=>d,vp:()=>a});var n=Math.abs,o=String.fromCharCode,i=Object.assign;function a(e,t){return 45^d(e,0)?(((t<<2^d(e,0))<<2^d(e,1))<<2^d(e,2))<<2^d(e,3):0}function s(e){return e.trim()}function l(e,t){return(e=t.exec(e))?e[0]:e}function c(e,t,r){return e.replace(t,r)}function u(e,t){return e.indexOf(t)}function d(e,t){return 0|e.charCodeAt(t)}function p(e,t,r){return e.slice(t,r)}function f(e){return e.length}function h(e){return e.length}function m(e,t){return t.push(e),e}function g(e,t){return e.map(t).join("")}}},t={};function r(n){var o=t[n];if(void 0!==o)return o.exports;var i=t[n]={exports:{}};return e[n](i,i.exports,r),i.exports}r.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return r.d(t,{a:t}),t},r.d=(e,t)=>{for(var n in t)r.o(t,n)&&!r.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},r.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),r.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var n={};(()=>{"use strict";r.d(n,{default:()=>Lp});var e=r(85893),t=r(75260),o=r(74570),i=r.n(o),a=(r(54697),r(8679),r(30302)),s=(r(27278),e.Fragment);function l(r,n,o){return t.h.call(n,"css")?e.jsx(t.E,(0,t.c)(r,n),o):e.jsx(r,n,o)}function c(r,n,o){return t.h.call(n,"css")?e.jsxs(t.E,(0,t.c)(r,n),o):e.jsxs(r,n,o)}const u=i().createContext({id:"",elements:{},blockSelector:"",category:""});var d;!function(e){e.Enum="Enum",e.MappedEnum="MappedEnum",e.DynamicFont="DynamicFont",e.DynamicColor="DynamicColor"}(d||(d={}));var p,f={name:"font-weight",attribute:"font-weight",values:{hairline:100,thin:200,light:300,normal:400,medium:500,semibold:600,bold:700,extrabold:800,black:900},type:d.MappedEnum,unit:"",picker:"drop-down-with-default"},h={name:"font-size",attribute:"font-size",values:{"3xs":.5,"2xs":.625,xs:.75,s:.875,m:1,l:1.125,xl:1.25,"2xl":1.5,"3xl":1.875,"4xl":2.25,"5xl":3,"6xl":4,"7xl":5,"8xl":6,"9xl":7,"10xl":8},unit:"rem",type:d.MappedEnum,picker:"value-picker"},m={name:"font-family",attribute:"font-family",unit:"",type:d.DynamicFont,picker:"font-picker"},g={name:"letter-spacing",attribute:"letter-spacing",values:{tighter:-.05,tight:-.025,normal:0,wide:.025,wider:.05,widest:.1},type:d.MappedEnum,unit:"rem",picker:"drop-down"},v={name:"line-height",attribute:"line-height",values:{compact:1,tight:1.25,normal:1.5,loose:2},type:d.MappedEnum,unit:"",picker:"drop-down"},b={name:"text-decoration",attribute:"text-decoration",values:{underline:"underline","line-through":"line-through","no-underline":"none"},type:d.MappedEnum,unit:""},y={name:"text-transform",attribute:"text-transform",values:{uppercase:"uppercase",lowercase:"lowercase",capitalize:"capitalize",default:"none"},type:d.MappedEnum,unit:""},x={name:"text-align",attribute:"text-align",values:{left:"left",center:"center",right:"right",justify:"justify"},type:d.MappedEnum,unit:"",picker:"drop-down"},w={name:"padding-top",attribute:"padding-top",values:{none:0,"7xs":.25,"6xs":.5,"5xs":.75,"4xs":1,"3xs":1.25,"2xs":1.5,xs:2,s:2.5,m:3,l:4,xl:5,"2xl":6,"3xl":8,"4xl":10,"5xl":12,"6xl":14,"7xl":16},type:d.MappedEnum,unit:"rem",picker:"value-picker"},k={name:"padding-bottom",attribute:"padding-bottom",values:{none:0,"7xs":.25,"6xs":.5,"5xs":.75,"4xs":1,"3xs":1.25,"2xs":1.5,xs:2,s:2.5,m:3,l:4,xl:5,"2xl":6,"3xl":8,"4xl":10,"5xl":12,"6xl":14,"7xl":16},type:d.MappedEnum,unit:"rem",picker:"value-picker"},S={name:"padding-left",attribute:"padding-left",values:{none:0,"7xs":.25,"6xs":.5,"5xs":.75,"4xs":1,"3xs":1.25,"2xs":1.5,xs:2,s:2.5,m:3,l:4,xl:5,"2xl":6,"3xl":8,"4xl":10,"5xl":12,"6xl":14,"7xl":16},type:d.MappedEnum,unit:"rem",picker:"value-picker"},E={name:"padding-right",attribute:"padding-right",values:{none:0,"7xs":.25,"6xs":.5,"5xs":.75,"4xs":1,"3xs":1.25,"2xs":1.5,xs:2,s:2.5,m:3,l:4,xl:5,"2xl":6,"3xl":8,"4xl":10,"5xl":12,"6xl":14,"7xl":16},type:d.MappedEnum,unit:"rem",picker:"value-picker"},Z={name:"margin-top",attribute:"margin-top",values:{none:0,"7xs":.25,"6xs":.5,"5xs":.75,"4xs":1,"3xs":1.25,"2xs":1.5,xs:2,s:2.5,m:3,l:4,xl:5,"2xl":6,"3xl":8,"4xl":10,"5xl":12,"6xl":14,"7xl":16},type:d.MappedEnum,unit:"rem",picker:"value-picker"},O={name:"margin-bottom",attribute:"margin-bottom",values:{none:0,"7xs":.25,"6xs":.5,"5xs":.75,"4xs":1,"3xs":1.25,"2xs":1.5,xs:2,s:2.5,m:3,l:4,xl:5,"2xl":6,"3xl":8,"4xl":10,"5xl":12,"6xl":14,"7xl":16},type:d.MappedEnum,unit:"rem",picker:"value-picker"},C={name:"margin-left",attribute:"margin-left",values:{none:0,"7xs":.25,"6xs":.5,"5xs":.75,"4xs":1,"3xs":1.25,"2xs":1.5,xs:2,s:2.5,m:3,l:4,xl:5,"2xl":6,"3xl":8,"4xl":10,"5xl":12,"6xl":14,"7xl":16},type:d.MappedEnum,unit:"rem",picker:"value-picker"},M={name:"margin-right",attribute:"margin-right",values:{none:0,"7xs":.25,"6xs":.5,"5xs":.75,"4xs":1,"3xs":1.25,"2xs":1.5,xs:2,s:2.5,m:3,l:4,xl:5,"2xl":6,"3xl":8,"4xl":10,"5xl":12,"6xl":14,"7xl":16},type:d.MappedEnum,unit:"rem",picker:"value-picker"},R={name:"background-color",attribute:"background-color",type:d.DynamicColor,unit:"",picker:"color-picker"},P={name:"text-color",attribute:"color",unit:"",type:d.DynamicColor,picker:"color-picker"},T={name:"placeholder-color",attribute:"color",pseudo:"::placeholder",unit:"",type:d.DynamicColor,picker:"color-picker"},A={name:"border-radius",attribute:"border-radius",values:{none:0,s:.125,m:.25,l:.5,xl:.75,"2xl":1,"3xl":1.5,"4xl":2,full:9999},type:d.MappedEnum,unit:"rem",picker:"value-picker"},j={name:"border-style",attribute:"border-style",values:{solid:"solid",dashed:"dashed",dotted:"dotted",none:"none"},type:d.MappedEnum,unit:"",picker:"drop-down"},N={name:"border-top-style",attribute:"border-top-style",values:{solid:"solid",dashed:"dashed",dotted:"dotted",none:"none"},type:d.MappedEnum,unit:"",picker:"drop-down"},_={name:"border-bottom-style",attribute:"border-bottom-style",values:{solid:"solid",dashed:"dashed",dotted:"dotted",none:"none"},type:d.MappedEnum,unit:"",picker:"drop-down"},L={name:"border-left-style",attribute:"border-left-style",values:{solid:"solid",dashed:"dashed",dotted:"dotted",none:"none"},type:d.MappedEnum,unit:"",picker:"drop-down"},I={name:"border-right-style",attribute:"border-right-style",values:{solid:"solid",dashed:"dashed",dotted:"dotted",none:"none"},type:d.MappedEnum,unit:"",picker:"drop-down"},F={name:"outline",attribute:"outline",values:{none:"none"},type:d.MappedEnum,unit:""},$={name:"border-width",attribute:"border-width",values:{none:0,xs:1,s:2,m:4,l:8,xl:16},type:d.MappedEnum,unit:"px",picker:"value-picker"},z={name:"border-top-width",attribute:"border-top-width",values:{none:0,xs:1,s:2,m:4,l:8,xl:16},type:d.MappedEnum,unit:"px",picker:"value-picker"},B={name:"border-bottom-width",attribute:"border-bottom-width",values:{none:0,xs:1,s:2,m:4,l:8,xl:16},type:d.MappedEnum,unit:"px",picker:"value-picker"},D={name:"border-left-width",attribute:"border-left-width",values:{none:0,xs:1,s:2,m:4,l:8,xl:16},type:d.MappedEnum,unit:"px",picker:"value-picker"},W={name:"border-right-width",attribute:"border-right-width",values:{none:0,xs:1,s:2,m:4,l:8,xl:16},type:d.MappedEnum,unit:"px",picker:"value-picker"},H={name:"border-color",attribute:"border-color",type:d.DynamicColor,unit:"",picker:"color-picker"},q={name:"border-top-color",attribute:"border-top-color",type:d.DynamicColor,unit:"",picker:"color-picker"},U={name:"border-bottom-color",attribute:"border-bottom-color",type:d.DynamicColor,unit:"",picker:"color-picker"},G={name:"border-left-color",attribute:"border-left-color",type:d.DynamicColor,unit:"",picker:"color-picker"},V={name:"border-right-color",attribute:"border-right-color",type:d.DynamicColor,unit:"",picker:"color-picker"},K={name:"background-size",attribute:"background-size",values:{auto:"auto",cover:"cover",contain:"contain"},type:d.MappedEnum,unit:"",picker:"drop-down"},Y={name:"background-attachment",attribute:"background-attachment",values:{scroll:"scroll",fixed:"fixed",local:"local"},type:d.MappedEnum,unit:"",picker:"drop-down"},X={name:"background-position",attribute:"background-position",values:{center:"center",bottom:"bottom",left:"left","left-bottom":"left bottom","left-top":"left top",right:"right","right-bottom":"right bottom","right-top":"right top",top:"top"},type:d.MappedEnum,unit:"",picker:"drop-down"},J={name:"background-repeat",attribute:"background-repeat",values:{repeat:"repeat","no-repeat":"no-repeat","repeat-x":"repeat-x","repeat-y":"repeat-y"},type:d.MappedEnum,unit:"",picker:"drop-down"},Q={name:"max-width",attribute:"max-width",values:{"6xs":"2rem","5xs":"4rem","4xs":"8rem","3xs":"12rem","2xs":"16rem",xs:"20rem",s:"24rem",m:"28rem",l:"32rem",xl:"36rem","2xl":"42rem","3xl":"48rem","4xl":"56rem","5xl":"64rem","6xl":"72rem",full:"100%"},unit:"",type:d.MappedEnum,picker:"value-picker"},ee={name:"min-width",attribute:"min-width",values:{"6xs":"2rem","5xs":"4rem","4xs":"8rem","3xs":"12rem","2xs":"16rem",xs:"20rem",s:"24rem",m:"28rem",l:"32rem",xl:"36rem","2xl":"42rem","3xl":"48rem","4xl":"56rem","5xl":"64rem","6xl":"72rem",full:"100%"},unit:"",type:d.MappedEnum,picker:"value-picker"},te={name:"width",attribute:"width",values:{"12xs":"1rem","11xs":"2rem","10xs":"3rem","9xs":"4rem","8xs":"5rem","7xs":"6rem","6xs":"7rem","5xs":"8rem","4xs":"10rem","3xs":"12rem","2xs":"16rem",xs:"20rem",s:"24rem",m:"28rem",l:"32rem",xl:"36rem","2xl":"42rem","3xl":"48rem","4xl":"56rem","5xl":"64rem","6xl":"72rem",full:"100%"},unit:"",type:d.MappedEnum,picker:"value-picker"},re={name:"percentage-width",attribute:"width",values:{"10xs":"5%","9xs":"10%","8xs":"15%","7xs":"20%","6xs":"25%","5xs":"30%","4xs":"35%","3xs":"40%","2xs":"45%",xs:"50%",s:"55%",m:"60%",l:"65%",xl:"70%","2xl":"75%","3xl":"80%","4xl":"85%","5xl":"90%","6xl":"95%",full:"100%"},unit:"",type:d.MappedEnum,picker:"value-picker"},ne={name:"max-height",attribute:"max-height",values:{"6xs":"2rem","5xs":"4rem","4xs":"8rem","3xs":"12rem","2xs":"16rem",xs:"20rem",s:"24rem",m:"28rem",l:"32rem",xl:"36rem","2xl":"42rem","3xl":"48rem","4xl":"56rem","5xl":"64rem","6xl":"72rem",full:"100%"},unit:"",type:d.MappedEnum,picker:"value-picker"},oe={name:"min-height",attribute:"min-height",values:{"6xs":"2rem","5xs":"4rem","4xs":"8rem","3xs":"12rem","2xs":"16rem",xs:"20rem",s:"24rem",m:"28rem",l:"32rem",xl:"36rem","2xl":"42rem","3xl":"48rem","4xl":"56rem","5xl":"64rem","6xl":"72rem",full:"100%"},unit:"",type:d.MappedEnum,picker:"value-picker"},ie={name:"height",attribute:"height",values:{"12xs":"1rem","11xs":"2rem","10xs":"3rem","9xs":"4rem","8xs":"5rem","7xs":"6rem","6xs":"7rem","5xs":"8rem","4xs":"10rem","3xs":"12rem","2xs":"16rem",xs:"20rem",s:"24rem",m:"28rem",l:"32rem",xl:"36rem","2xl":"42rem","3xl":"48rem","4xl":"56rem","5xl":"64rem","6xl":"72rem",full:"100%"},unit:"",type:d.MappedEnum,picker:"value-picker"},ae={name:"box-shadow",attribute:"box-shadow",values:{none:"none",s:"0px 0px 6px 0px rgba(17, 17, 17, 0.04), 0px 4px 8px 0px rgba(17, 17, 17, 0.04)",m:"0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06)",l:"0px 2px 4px 0px rgba(17, 17, 17, 0.04), 0px 8px 32px 0px rgba(33, 33, 33, 0.08)",xl:"0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04)","2xl":"0 25px 50px -12px rgba(0, 0, 0, 0.25)"},type:d.MappedEnum,unit:"",picker:"value-picker"},se={name:"cursor",attribute:"cursor",values:{default:"default",pointer:"pointer",wait:"wait",text:"relative",move:"sticky",grab:"grab",help:"help",crosshair:"crosshair","zoom-in":"zoom-in","zoom-out":"zoom-out","not-allowed":"not-allowed",none:"none"},type:d.MappedEnum,unit:""},le={name:"position",attribute:"position",values:{static:"static",fixed:"fixed",absolute:"absolute",relative:"relative",sticky:"sticky"},type:d.MappedEnum,unit:""},ce={name:"opacity",attribute:"opacity",values:{full:0,"3xl":.1,"2xl":.2,xl:.3,l:.4,m:.5,s:.6,xs:.7,"2xs":.8,"3xs":.9,none:1},type:d.MappedEnum,unit:""},ue={name:"display",attribute:"display",values:{block:"block","inline-block":"inline-block",inline:"inline",flex:"flex","inline-flex":"inline-flex",none:"none"},type:d.MappedEnum,unit:""},de={name:"align-items",attribute:"align-items",values:{stretch:"stretch",start:"start",center:"center",end:"flex",baseline:"inline-flex"},type:d.MappedEnum,unit:""},pe=["hover","focus","active","visited"],fe={xs:"0",s:"576px",m:"768px",l:"992px",xl:"1200px"},he="sw",me="-",ge=(p={},[f,h,m,v,g,b,y,x,w,k,S,E,Z,O,C,M,P,R,T,A,j,F,$,B,z,D,W,H,U,q,G,V,_,N,L,I,Y,X,J,K,Q,ee,te,re,ne,oe,ie,ae,se,le,ce,ue,de].forEach((function(e){p[e.name]=e})),p);function ve(e){var t,r=we(e),n=ke(e),o=function(e){var t=Object.keys(fe).find((function(t){return e.startsWith(t+":")}));return void 0!==t}(e),i=function(e){return Object.keys(fe).find((function(t){return e.startsWith(t+":")}))}(e);r&&(e=Se(e)),o&&(e=function(e){var t=Object.keys(fe).find((function(t){return e.startsWith(t+":")}));return t?e.replace(t+":",""):e}(e));var a=ye(e,ge);if(!a)throw new Error("Can't find the style: "+e);var s=be(e,a);if(!s||void 0===s)throw new Error("Can't find a value for the style: "+e);r&&(e=function(e,t){return"".concat(t,"\\:").concat(e,":").concat(t)}(e,n)),o&&(e=function(e,t){return"".concat(t,"\\:").concat(e)}(e,i));var l,c=function(e){return void 0!==e.pseudo}(a);switch(c&&(e=function(e,t){return"".concat(e).concat(t.pseudo)}(e,a)),a.type){case d.Enum:l=".".concat(e," { ").concat(a.attribute,": ").concat(s).concat(a.unit,"!important; }");break;case d.MappedEnum:if(s.includes("default")){l=".".concat(e," { }");break}var u=null===(t=a.values)||void 0===t?void 0:t[s];if(void 0===u)throw new Error("Can't find a value for the style: "+e);l=".".concat(e," { ").concat(a.attribute,": ").concat(u).concat(a.unit,"!important; }");break;case d.DynamicColor:if(s.includes("default")){l=".".concat(e," { }");break}if("transparent"===s){l=".".concat(e," { ").concat(a.attribute,": ").concat(s,"!important; }");break}l=".".concat(e," { ").concat(a.attribute,": #").concat(s,"!important; }");break;case d.DynamicFont:if(s.includes("default")){l=".".concat(e," { }");break}var p=xe(s);l=".".concat(e," { ").concat(a.attribute,': "').concat(p,'"!important; }')}if(void 0===l)throw new Error("Can't generate css for the name: "+e);if(o){var f=fe[i];return"@media (min-width: ".concat(f,") { ").concat(l," }")}return r&&"hover"===n?"@media (hover: hover) { ".concat(l," }"):l}function be(e,t){return e.replace(he+me+t.name+me,"")}function ye(e,t){return t[Object.keys(t).find((function(t){return e.startsWith(he+me+t+me)}))]}function xe(e){return e.split("_").map((function(e){return"string"!=typeof(t=e)?"":t.charAt(0).toUpperCase()+t.slice(1);var t})).join(" ")}function we(e){return!!pe.find((function(t){return e.startsWith(t)}))}function ke(e){return pe.find((function(t){return e.startsWith(t)}))}function Se(e){var t=pe.find((function(t){return e.startsWith(t)}));return t?e.replace(t+":",""):e}var Ee=function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(n=Object.getOwnPropertySymbols(e);o<n.length;o++)t.indexOf(n[o])<0&&Object.prototype.propertyIsEnumerable.call(e,n[o])&&(r[n[o]]=e[n[o]])}return r},Ze=function(e,t){var r="function"==typeof Symbol&&e[Symbol.iterator];if(!r)return e;var n,o,i=r.call(e),a=[];try{for(;(void 0===t||t-- >0)&&!(n=i.next()).done;)a.push(n.value)}catch(s){o={error:s}}finally{try{n&&!n.done&&(r=i.return)&&r.call(i)}finally{if(o)throw o.error}}return a},Oe=function(e,t,r){if(r||2===arguments.length)for(var n,o=0,i=t.length;o<i;o++)!n&&o in t||(n||(n=Array.prototype.slice.call(t,0,o)),n[o]=t[o]);return e.concat(n||Array.prototype.slice.call(t))},Ce=function(e){var t="function"==typeof Symbol&&Symbol.iterator,r=t&&e[t],n=0;if(r)return r.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&n>=e.length&&(e=void 0),{value:e&&e[n++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")},Me=function(e){var t={};return e.forEach((function(e){var r=Ze(function(e){var t=ke(e);t&&(e=Se(e));var r,n=Object.keys(ge).find((function(t){return e.startsWith(he+me+t+me)}))||"",o=ge[n],i=n.replace(/-([a-z])/g,(function(e){return e[1].toUpperCase()})),a=t?t.charAt(0).toUpperCase()+t.slice(1):"",s=e.replace("sw-".concat(o.name,"-"),"");if("default"===s)return["".concat(i).concat(a),void 0];switch(o.type){case d.Enum:r="".concat(s).concat(o.unit);break;case d.MappedEnum:r="".concat(o.values[s]).concat(o.unit);break;case d.DynamicColor:r="transparent"!==s?"#".concat(s):s;break;case d.DynamicFont:r=xe(s);break;default:r=s}return["".concat(i).concat(a),r]}(e),2),n=r[0],o=r[1];t[n]=o})),t};function Re(e,t){var r,n,o=e.primaryStyles,i=e.otherStyles,a=Ee(e,["primaryStyles","otherStyles"]),s={},l=[],c=[];(o||[]).forEach((function(e){var t=e.classes;return l.push.apply(l,Oe([],Ze(t),!1))})),l.forEach(t.add,t),(i||[]).forEach((function(e){var t=e.classes;return c.push.apply(c,Oe([],Ze(t),!1))})),c.forEach(t.add,t),s.className=Oe(Oe([],Ze(l),!1),Ze(c),!1).join(" "),s.styles=Me(l);try{for(var u=Ce(Object.keys(a)),d=u.next();!d.done;d=u.next()){var p=d.value,f=a[p];Array.isArray(f)?s[p]=f.map((function(e){return"object"==typeof e?Re(e,t):e})):s[p]="object"==typeof f?f?Re(f,t):"":f}}catch(h){r={error:h}}finally{try{d&&!d.done&&(n=u.return)&&n.call(u)}finally{if(r)throw r.error}}return s}var Pe=r(94184),Te=r.n(Pe),Ae=function(e,t){var r=(0,o.useMemo)((function(){var e=document.createElement("style");return t&&e.setAttribute("data-for",t),document.head.append(e),e}),[t]);(0,o.useEffect)((function(){return function(){return r&&r.remove()}}),[r]),r.innerHTML=e,(0,o.useEffect)((function(){r.innerHTML=e}),[e,r])},je=r(10185),Ne=r(87462),_e=r(63366);const Le=o.createContext(null);function Ie(){return o.useContext(Le)}const Fe="function"==typeof Symbol&&Symbol.for?Symbol.for("mui.nested"):"__THEME_NESTED__";const $e=function(t){const{children:r,theme:n}=t,i=Ie(),a=o.useMemo((()=>{const e=null===i?n:function(e,t){if("function"==typeof t)return t(e);return(0,Ne.Z)({},e,t)}(i,n);return null!=e&&(e[Fe]=null!==i),e}),[n,i]);return(0,e.jsx)(Le.Provider,{value:a,children:r})};var ze=r(34168);const Be={};function De(e,t,r,n=!1){return o.useMemo((()=>{const o=e&&t[e]||t;if("function"==typeof r){const i=r(o),a=e?(0,Ne.Z)({},t,{[e]:i}):i;return n?()=>a:a}return e?(0,Ne.Z)({},t,{[e]:r}):(0,Ne.Z)({},t,r)}),[e,t,r,n])}const We=function(r){const{children:n,theme:o,themeId:i}=r,a=(0,ze.Z)(Be),s=Ie()||Be,l=De(i,a,o),c=De(i,s,o,!0);return(0,e.jsx)($e,{theme:c,children:(0,e.jsx)(t.T.Provider,{value:l,children:n})})};var He=r(10606);const qe=["theme"];function Ue(t){let{theme:r}=t,n=(0,_e.Z)(t,qe);const o=r[He.Z];return(0,e.jsx)(We,(0,Ne.Z)({},n,{themeId:o?He.Z:void 0,theme:o||r}))}var Ge=Array(25).fill("none");Ge[1]="0px 0px 6px 0px rgba(17, 17, 17, 0.04) 0px 4px 8px 0px rgba(17, 17, 17, 0.04)",Ge[2]="0px 2px 4px 0px rgba(17, 17, 17, 0.04), 0px 8px 32px 0px rgba(33, 33, 33, 0.08)",Ge[3]="0px 2px 4px 0px rgba(17, 17, 17, 0.02), 0px 4px 8px 0px rgba(17, 17, 17, 0.03), 0px 8px 24px 0px rgba(17, 17, 17, 0.04), 0px 32px 80px 0px rgba(17, 17, 17, 0.08)";var Ve={container:"fixed","container-fluid":"full",custom:"custom"};const Ke=function(e){var t=e.defaultBaseTextSize,r=e.defaultBodyFont,n=(e.defaultBodyFontWeight,e.defaultBodyTextColor),o=e.defaultButtonBackgroundColor,i=e.defaultButtonRoundness,a=e.defaultButtonTextColor,s=e.defaultContainerStyle,l=(e.defaultTitleFont,e.defaultTitleFontWeight,o||"#F6C944"),c=a||"#424242",u=e.defaultTitleTextColor||"#424242",d=n||"#424242",p=parseInt((t||"16").replace("px",""),10);return{breakpoints:{values:{xs:0,sm:576,md:768,lg:992,xl:1200}},palette:{primary:{main:o||"#F6C944",dark:l,light:l,contrastText:c},secondary:{main:"#C2C2C2",contrastText:"#424242"},error:{main:"#BF2600"},text:{primary:u,secondary:d,disabled:"#C2C2C2"}},width:Ve[s],typography:{fontFamily:r||"Inter",fontSize:p,remToPx:function(e){return e*p}},shape:{borderRadius:8},shadows:Ge,components:{MuiPaper:{styleOverrides:{root:{boxShadow:"0px 8px 32px rgba(33, 33, 33, 0.08), 0px 2px 4px rgba(33, 33, 33, 0.04)"}}},MuiButtonBase:{styleOverrides:{root:{"&:focus":{outline:"none"}}}},MuiButton:{styleOverrides:{root:{borderRadius:i||8,padding:"8px 16px",lineHeight:"unset",fontFamily:r,textTransform:"none","&:focus":{outline:"none"},"&:hover":{},"&:active":{outline:"none"}},sizeLarge:{padding:"12px 24px"},outlinedSecondary:{borderColor:"#C2C2C2",color:"#424242"}}},MuiInputAdornment:{styleOverrides:{root:{"& .MuiButton-root":{borderRadius:"50%"}}}},MuiAutocomplete:{styleOverrides:{root:{"& .MuiInputBase-root":{padding:"1px 10px"},"& .MuiAutocomplete-popupIndicator":{"&:hover":{background:"none"},cursor:"default",fontSize:"16px"}},endAdornment:{"&&&":{right:"12px",paddingTop:"2px"}},popper:{paddingTop:"4px"},listbox:{"& .MuiAutocomplete-option":{padding:"8px 16px"}}}},MuiChip:{styleOverrides:{root:{borderRadius:4},label:{fontSize:"12px",padding:"3px 4px"}}},MuiSelect:{styleOverrides:{select:{"&":{paddingLeft:"0.5rem",paddingRight:"2rem"}}}},MuiRating:{styleOverrides:{iconEmpty:{"& svg":{fill:"#FFC400"}}}},MuiToolbar:{styleOverrides:{dense:{minHeight:32}}},MuiAccordion:{styleOverrides:{root:{"&:before":{display:"none"}}}},MuiInputBase:{styleOverrides:{root:{"& fieldset.MuiOutlinedInput-notchedOutline":{borderColor:"#C2C2C2","& legend":{width:"auto"}},"&:hover .MuiOutlinedInput-notchedOutline":{borderColor:"#616161"},"&:active fieldset.MuiOutlinedInput-notchedOutline":{borderColor:"#0A0A0A",borderWidth:1},"&.Mui-focused fieldset.MuiOutlinedInput-notchedOutline":{borderColor:"#0A0A0A",borderWidth:1},"& input":{padding:"8px 12px"},"&.MuiInputBase-adornedStart input":{paddingLeft:0},"&.Mui-error fieldset.MuiOutlinedInput-notchedOutline":{borderColor:"#BF2600"},"&.Mui-error:hover fieldset.MuiOutlinedInput-notchedOutline":{borderColor:"#BF2600"},"&.Mui-error:active .MuiOutlinedInput-notchedOutline":{borderColor:"#BF2600",borderWidth:1},"&.Mui-error.Mui-focused .MuiOutlinedInput-notchedOutline":{borderColor:"#BF2600",borderWidth:1}},multiline:{"&&&":{padding:"8px 12px"}},input:{color:"#424242",textOverflow:"ellipsis","&::placeholder":{color:"#9E9E9E"}}}}}}},Ye=react_dom18;var Xe=r.n(Ye),Je=Array(12).fill(0),Qe=({visible:e})=>o.createElement("div",{className:"sonner-loading-wrapper","data-visible":e},o.createElement("div",{className:"sonner-spinner"},Je.map(((e,t)=>o.createElement("div",{className:"sonner-loading-bar",key:`spinner-bar-${t}`}))))),et=o.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor",height:"20",width:"20"},o.createElement("path",{fillRule:"evenodd",d:"M10 18a8 8 0 100-16 8 8 0 000 16zm3.857-9.809a.75.75 0 00-1.214-.882l-3.483 4.79-1.88-1.88a.75.75 0 10-1.06 1.061l2.5 2.5a.75.75 0 001.137-.089l4-5.5z",clipRule:"evenodd"})),tt=o.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor",height:"20",width:"20"},o.createElement("path",{fillRule:"evenodd",d:"M9.401 3.003c1.155-2 4.043-2 5.197 0l7.355 12.748c1.154 2-.29 4.5-2.599 4.5H4.645c-2.309 0-3.752-2.5-2.598-4.5L9.4 3.003zM12 8.25a.75.75 0 01.75.75v3.75a.75.75 0 01-1.5 0V9a.75.75 0 01.75-.75zm0 8.25a.75.75 0 100-1.5.75.75 0 000 1.5z",clipRule:"evenodd"})),rt=o.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor",height:"20",width:"20"},o.createElement("path",{fillRule:"evenodd",d:"M18 10a8 8 0 11-16 0 8 8 0 0116 0zm-7-4a1 1 0 11-2 0 1 1 0 012 0zM9 9a.75.75 0 000 1.5h.253a.25.25 0 01.244.304l-.459 2.066A1.75 1.75 0 0010.747 15H11a.75.75 0 000-1.5h-.253a.25.25 0 01-.244-.304l.459-2.066A1.75 1.75 0 009.253 9H9z",clipRule:"evenodd"})),nt=o.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor",height:"20",width:"20"},o.createElement("path",{fillRule:"evenodd",d:"M18 10a8 8 0 11-16 0 8 8 0 0116 0zm-8-5a.75.75 0 01.75.75v4.5a.75.75 0 01-1.5 0v-4.5A.75.75 0 0110 5zm0 10a1 1 0 100-2 1 1 0 000 2z",clipRule:"evenodd"})),ot=1,it=new class{constructor(){this.subscribe=e=>(this.subscribers.push(e),()=>{let t=this.subscribers.indexOf(e);this.subscribers.splice(t,1)}),this.publish=e=>{this.subscribers.forEach((t=>t(e)))},this.addToast=e=>{this.publish(e),this.toasts=[...this.toasts,e]},this.create=e=>{var t;let{message:r,...n}=e,o="number"==typeof(null==e?void 0:e.id)||(null==(t=e.id)?void 0:t.length)>0?e.id:ot++,i=this.toasts.find((e=>e.id===o)),a=void 0===e.dismissible||e.dismissible;return i?this.toasts=this.toasts.map((t=>t.id===o?(this.publish({...t,...e,id:o,title:r}),{...t,...e,id:o,dismissible:a,title:r}):t)):this.addToast({title:r,...n,dismissible:a,id:o}),o},this.dismiss=e=>(e||this.toasts.forEach((e=>{this.subscribers.forEach((t=>t({id:e.id,dismiss:!0})))})),this.subscribers.forEach((t=>t({id:e,dismiss:!0}))),e),this.message=(e,t)=>this.create({...t,message:e}),this.error=(e,t)=>this.create({...t,message:e,type:"error"}),this.success=(e,t)=>this.create({...t,type:"success",message:e}),this.info=(e,t)=>this.create({...t,type:"info",message:e}),this.warning=(e,t)=>this.create({...t,type:"warning",message:e}),this.loading=(e,t)=>this.create({...t,type:"loading",message:e}),this.promise=(e,t)=>{if(!t)return;let r;void 0!==t.loading&&(r=this.create({...t,promise:e,type:"loading",message:t.loading,description:"function"!=typeof t.description?t.description:void 0}));let n=e instanceof Promise?e:e(),o=void 0!==r;return n.then((async e=>{if(at(e)&&!e.ok){o=!1;let n="function"==typeof t.error?await t.error(`HTTP error! status: ${e.status}`):t.error,i="function"==typeof t.description?await t.description(`HTTP error! status: ${e.status}`):t.description;this.create({id:r,type:"error",message:n,description:i})}else if(void 0!==t.success){o=!1;let n="function"==typeof t.success?await t.success(e):t.success,i="function"==typeof t.description?await t.description(e):t.description;this.create({id:r,type:"success",message:n,description:i})}})).catch((async e=>{if(void 0!==t.error){o=!1;let n="function"==typeof t.error?await t.error(e):t.error,i="function"==typeof t.description?await t.description(e):t.description;this.create({id:r,type:"error",message:n,description:i})}})).finally((()=>{var e;o&&(this.dismiss(r),r=void 0),null==(e=t.finally)||e.call(t)})),r},this.custom=(e,t)=>{let r=(null==t?void 0:t.id)||ot++;return this.create({jsx:e(r),id:r,...t}),r},this.subscribers=[],this.toasts=[]}},at=e=>e&&"object"==typeof e&&"ok"in e&&"boolean"==typeof e.ok&&"status"in e&&"number"==typeof e.status,st=(e,t)=>{let r=(null==t?void 0:t.id)||ot++;return it.addToast({title:e,...t,id:r}),r};Object.assign(st,{success:it.success,info:it.info,warning:it.warning,error:it.error,custom:it.custom,message:it.message,promise:it.promise,dismiss:it.dismiss,loading:it.loading},{getHistory:()=>it.toasts});function lt(e){return void 0!==e.label}!function(e,{insertAt:t}={}){if(!e||"undefined"==typeof document)return;let r=document.head||document.getElementsByTagName("head")[0],n=document.createElement("style");n.type="text/css","top"===t&&r.firstChild?r.insertBefore(n,r.firstChild):r.appendChild(n),n.styleSheet?n.styleSheet.cssText=e:n.appendChild(document.createTextNode(e))}(':where(html[dir="ltr"]),:where([data-sonner-toaster][dir="ltr"]){--toast-icon-margin-start: -3px;--toast-icon-margin-end: 4px;--toast-svg-margin-start: -1px;--toast-svg-margin-end: 0px;--toast-button-margin-start: auto;--toast-button-margin-end: 0;--toast-close-button-start: 0;--toast-close-button-end: unset;--toast-close-button-transform: translate(-35%, -35%)}:where(html[dir="rtl"]),:where([data-sonner-toaster][dir="rtl"]){--toast-icon-margin-start: 4px;--toast-icon-margin-end: -3px;--toast-svg-margin-start: 0px;--toast-svg-margin-end: -1px;--toast-button-margin-start: 0;--toast-button-margin-end: auto;--toast-close-button-start: unset;--toast-close-button-end: 0;--toast-close-button-transform: translate(35%, -35%)}:where([data-sonner-toaster]){position:fixed;width:var(--width);font-family:ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,Noto Sans,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol,Noto Color Emoji;--gray1: hsl(0, 0%, 99%);--gray2: hsl(0, 0%, 97.3%);--gray3: hsl(0, 0%, 95.1%);--gray4: hsl(0, 0%, 93%);--gray5: hsl(0, 0%, 90.9%);--gray6: hsl(0, 0%, 88.7%);--gray7: hsl(0, 0%, 85.8%);--gray8: hsl(0, 0%, 78%);--gray9: hsl(0, 0%, 56.1%);--gray10: hsl(0, 0%, 52.3%);--gray11: hsl(0, 0%, 43.5%);--gray12: hsl(0, 0%, 9%);--border-radius: 8px;box-sizing:border-box;padding:0;margin:0;list-style:none;outline:none;z-index:999999999}:where([data-sonner-toaster][data-x-position="right"]){right:max(var(--offset),env(safe-area-inset-right))}:where([data-sonner-toaster][data-x-position="left"]){left:max(var(--offset),env(safe-area-inset-left))}:where([data-sonner-toaster][data-x-position="center"]){left:50%;transform:translate(-50%)}:where([data-sonner-toaster][data-y-position="top"]){top:max(var(--offset),env(safe-area-inset-top))}:where([data-sonner-toaster][data-y-position="bottom"]){bottom:max(var(--offset),env(safe-area-inset-bottom))}:where([data-sonner-toast]){--y: translateY(100%);--lift-amount: calc(var(--lift) * var(--gap));z-index:var(--z-index);position:absolute;opacity:0;transform:var(--y);filter:blur(0);touch-action:none;transition:transform .4s,opacity .4s,height .4s,box-shadow .2s;box-sizing:border-box;outline:none;overflow-wrap:anywhere}:where([data-sonner-toast][data-styled="true"]){padding:16px;background:var(--normal-bg);border:1px solid var(--normal-border);color:var(--normal-text);border-radius:var(--border-radius);box-shadow:0 4px 12px #0000001a;width:var(--width);font-size:13px;display:flex;align-items:center;gap:6px}:where([data-sonner-toast]:focus-visible){box-shadow:0 4px 12px #0000001a,0 0 0 2px #0003}:where([data-sonner-toast][data-y-position="top"]){top:0;--y: translateY(-100%);--lift: 1;--lift-amount: calc(1 * var(--gap))}:where([data-sonner-toast][data-y-position="bottom"]){bottom:0;--y: translateY(100%);--lift: -1;--lift-amount: calc(var(--lift) * var(--gap))}:where([data-sonner-toast]) :where([data-description]){font-weight:400;line-height:1.4;color:inherit}:where([data-sonner-toast]) :where([data-title]){font-weight:500;line-height:1.5;color:inherit}:where([data-sonner-toast]) :where([data-icon]){display:flex;height:16px;width:16px;position:relative;justify-content:flex-start;align-items:center;flex-shrink:0;margin-left:var(--toast-icon-margin-start);margin-right:var(--toast-icon-margin-end)}:where([data-sonner-toast][data-promise="true"]) :where([data-icon])>svg{opacity:0;transform:scale(.8);transform-origin:center;animation:sonner-fade-in .3s ease forwards}:where([data-sonner-toast]) :where([data-icon])>*{flex-shrink:0}:where([data-sonner-toast]) :where([data-icon]) svg{margin-left:var(--toast-svg-margin-start);margin-right:var(--toast-svg-margin-end)}:where([data-sonner-toast]) :where([data-content]){display:flex;flex-direction:column;gap:2px}[data-sonner-toast][data-styled=true] [data-button]{border-radius:4px;padding-left:8px;padding-right:8px;height:24px;font-size:12px;color:var(--normal-bg);background:var(--normal-text);margin-left:var(--toast-button-margin-start);margin-right:var(--toast-button-margin-end);border:none;cursor:pointer;outline:none;display:flex;align-items:center;flex-shrink:0;transition:opacity .4s,box-shadow .2s}:where([data-sonner-toast]) :where([data-button]):focus-visible{box-shadow:0 0 0 2px #0006}:where([data-sonner-toast]) :where([data-button]):first-of-type{margin-left:var(--toast-button-margin-start);margin-right:var(--toast-button-margin-end)}:where([data-sonner-toast]) :where([data-cancel]){color:var(--normal-text);background:rgba(0,0,0,.08)}:where([data-sonner-toast][data-theme="dark"]) :where([data-cancel]){background:rgba(255,255,255,.3)}:where([data-sonner-toast]) :where([data-close-button]){position:absolute;left:var(--toast-close-button-start);right:var(--toast-close-button-end);top:0;height:20px;width:20px;display:flex;justify-content:center;align-items:center;padding:0;background:var(--gray1);color:var(--gray12);border:1px solid var(--gray4);transform:var(--toast-close-button-transform);border-radius:50%;cursor:pointer;z-index:1;transition:opacity .1s,background .2s,border-color .2s}:where([data-sonner-toast]) :where([data-close-button]):focus-visible{box-shadow:0 4px 12px #0000001a,0 0 0 2px #0003}:where([data-sonner-toast]) :where([data-disabled="true"]){cursor:not-allowed}:where([data-sonner-toast]):hover :where([data-close-button]):hover{background:var(--gray2);border-color:var(--gray5)}:where([data-sonner-toast][data-swiping="true"]):before{content:"";position:absolute;left:0;right:0;height:100%;z-index:-1}:where([data-sonner-toast][data-y-position="top"][data-swiping="true"]):before{bottom:50%;transform:scaleY(3) translateY(50%)}:where([data-sonner-toast][data-y-position="bottom"][data-swiping="true"]):before{top:50%;transform:scaleY(3) translateY(-50%)}:where([data-sonner-toast][data-swiping="false"][data-removed="true"]):before{content:"";position:absolute;inset:0;transform:scaleY(2)}:where([data-sonner-toast]):after{content:"";position:absolute;left:0;height:calc(var(--gap) + 1px);bottom:100%;width:100%}:where([data-sonner-toast][data-mounted="true"]){--y: translateY(0);opacity:1}:where([data-sonner-toast][data-expanded="false"][data-front="false"]){--scale: var(--toasts-before) * .05 + 1;--y: translateY(calc(var(--lift-amount) * var(--toasts-before))) scale(calc(-1 * var(--scale)));height:var(--front-toast-height)}:where([data-sonner-toast])>*{transition:opacity .4s}:where([data-sonner-toast][data-expanded="false"][data-front="false"][data-styled="true"])>*{opacity:0}:where([data-sonner-toast][data-visible="false"]){opacity:0;pointer-events:none}:where([data-sonner-toast][data-mounted="true"][data-expanded="true"]){--y: translateY(calc(var(--lift) * var(--offset)));height:var(--initial-height)}:where([data-sonner-toast][data-removed="true"][data-front="true"][data-swipe-out="false"]){--y: translateY(calc(var(--lift) * -100%));opacity:0}:where([data-sonner-toast][data-removed="true"][data-front="false"][data-swipe-out="false"][data-expanded="true"]){--y: translateY(calc(var(--lift) * var(--offset) + var(--lift) * -100%));opacity:0}:where([data-sonner-toast][data-removed="true"][data-front="false"][data-swipe-out="false"][data-expanded="false"]){--y: translateY(40%);opacity:0;transition:transform .5s,opacity .2s}:where([data-sonner-toast][data-removed="true"][data-front="false"]):before{height:calc(var(--initial-height) + 20%)}[data-sonner-toast][data-swiping=true]{transform:var(--y) translateY(var(--swipe-amount, 0px));transition:none}[data-sonner-toast][data-swipe-out=true][data-y-position=bottom],[data-sonner-toast][data-swipe-out=true][data-y-position=top]{animation:swipe-out .2s ease-out forwards}@keyframes swipe-out{0%{transform:translateY(calc(var(--lift) * var(--offset) + var(--swipe-amount)));opacity:1}to{transform:translateY(calc(var(--lift) * var(--offset) + var(--swipe-amount) + var(--lift) * -100%));opacity:0}}@media (max-width: 600px){[data-sonner-toaster]{position:fixed;--mobile-offset: 16px;right:var(--mobile-offset);left:var(--mobile-offset);width:100%}[data-sonner-toaster] [data-sonner-toast]{left:0;right:0;width:calc(100% - var(--mobile-offset) * 2)}[data-sonner-toaster][data-x-position=left]{left:var(--mobile-offset)}[data-sonner-toaster][data-y-position=bottom]{bottom:20px}[data-sonner-toaster][data-y-position=top]{top:20px}[data-sonner-toaster][data-x-position=center]{left:var(--mobile-offset);right:var(--mobile-offset);transform:none}}[data-sonner-toaster][data-theme=light]{--normal-bg: #fff;--normal-border: var(--gray4);--normal-text: var(--gray12);--success-bg: hsl(143, 85%, 96%);--success-border: hsl(145, 92%, 91%);--success-text: hsl(140, 100%, 27%);--info-bg: hsl(208, 100%, 97%);--info-border: hsl(221, 91%, 91%);--info-text: hsl(210, 92%, 45%);--warning-bg: hsl(49, 100%, 97%);--warning-border: hsl(49, 91%, 91%);--warning-text: hsl(31, 92%, 45%);--error-bg: hsl(359, 100%, 97%);--error-border: hsl(359, 100%, 94%);--error-text: hsl(360, 100%, 45%)}[data-sonner-toaster][data-theme=light] [data-sonner-toast][data-invert=true]{--normal-bg: #000;--normal-border: hsl(0, 0%, 20%);--normal-text: var(--gray1)}[data-sonner-toaster][data-theme=dark] [data-sonner-toast][data-invert=true]{--normal-bg: #fff;--normal-border: var(--gray3);--normal-text: var(--gray12)}[data-sonner-toaster][data-theme=dark]{--normal-bg: #000;--normal-border: hsl(0, 0%, 20%);--normal-text: var(--gray1);--success-bg: hsl(150, 100%, 6%);--success-border: hsl(147, 100%, 12%);--success-text: hsl(150, 86%, 65%);--info-bg: hsl(215, 100%, 6%);--info-border: hsl(223, 100%, 12%);--info-text: hsl(216, 87%, 65%);--warning-bg: hsl(64, 100%, 6%);--warning-border: hsl(60, 100%, 12%);--warning-text: hsl(46, 87%, 65%);--error-bg: hsl(358, 76%, 10%);--error-border: hsl(357, 89%, 16%);--error-text: hsl(358, 100%, 81%)}[data-rich-colors=true][data-sonner-toast][data-type=success],[data-rich-colors=true][data-sonner-toast][data-type=success] [data-close-button]{background:var(--success-bg);border-color:var(--success-border);color:var(--success-text)}[data-rich-colors=true][data-sonner-toast][data-type=info],[data-rich-colors=true][data-sonner-toast][data-type=info] [data-close-button]{background:var(--info-bg);border-color:var(--info-border);color:var(--info-text)}[data-rich-colors=true][data-sonner-toast][data-type=warning],[data-rich-colors=true][data-sonner-toast][data-type=warning] [data-close-button]{background:var(--warning-bg);border-color:var(--warning-border);color:var(--warning-text)}[data-rich-colors=true][data-sonner-toast][data-type=error],[data-rich-colors=true][data-sonner-toast][data-type=error] [data-close-button]{background:var(--error-bg);border-color:var(--error-border);color:var(--error-text)}.sonner-loading-wrapper{--size: 16px;height:var(--size);width:var(--size);position:absolute;inset:0;z-index:10}.sonner-loading-wrapper[data-visible=false]{transform-origin:center;animation:sonner-fade-out .2s ease forwards}.sonner-spinner{position:relative;top:50%;left:50%;height:var(--size);width:var(--size)}.sonner-loading-bar{animation:sonner-spin 1.2s linear infinite;background:var(--gray11);border-radius:6px;height:8%;left:-10%;position:absolute;top:-3.9%;width:24%}.sonner-loading-bar:nth-child(1){animation-delay:-1.2s;transform:rotate(.0001deg) translate(146%)}.sonner-loading-bar:nth-child(2){animation-delay:-1.1s;transform:rotate(30deg) translate(146%)}.sonner-loading-bar:nth-child(3){animation-delay:-1s;transform:rotate(60deg) translate(146%)}.sonner-loading-bar:nth-child(4){animation-delay:-.9s;transform:rotate(90deg) translate(146%)}.sonner-loading-bar:nth-child(5){animation-delay:-.8s;transform:rotate(120deg) translate(146%)}.sonner-loading-bar:nth-child(6){animation-delay:-.7s;transform:rotate(150deg) translate(146%)}.sonner-loading-bar:nth-child(7){animation-delay:-.6s;transform:rotate(180deg) translate(146%)}.sonner-loading-bar:nth-child(8){animation-delay:-.5s;transform:rotate(210deg) translate(146%)}.sonner-loading-bar:nth-child(9){animation-delay:-.4s;transform:rotate(240deg) translate(146%)}.sonner-loading-bar:nth-child(10){animation-delay:-.3s;transform:rotate(270deg) translate(146%)}.sonner-loading-bar:nth-child(11){animation-delay:-.2s;transform:rotate(300deg) translate(146%)}.sonner-loading-bar:nth-child(12){animation-delay:-.1s;transform:rotate(330deg) translate(146%)}@keyframes sonner-fade-in{0%{opacity:0;transform:scale(.8)}to{opacity:1;transform:scale(1)}}@keyframes sonner-fade-out{0%{opacity:1;transform:scale(1)}to{opacity:0;transform:scale(.8)}}@keyframes sonner-spin{0%{opacity:1}to{opacity:.15}}@media (prefers-reduced-motion){[data-sonner-toast],[data-sonner-toast]>*,.sonner-loading-bar{transition:none!important;animation:none!important}}.sonner-loader{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);transform-origin:center;transition:opacity .2s,transform .2s}.sonner-loader[data-visible=false]{opacity:0;transform:scale(.8) translate(-50%,-50%)}\n');var ct=3,ut=14;function dt(...e){return e.filter(Boolean).join(" ")}var pt=e=>{var t,r,n,i,a,s,l,c,u,d;let{invert:p,toast:f,unstyled:h,interacting:m,setHeights:g,visibleToasts:v,heights:b,index:y,toasts:x,expanded:w,removeToast:k,defaultRichColors:S,closeButton:E,style:Z,cancelButtonStyle:O,actionButtonStyle:C,className:M="",descriptionClassName:R="",duration:P,position:T,gap:A,loadingIcon:j,expandByDefault:N,classNames:_,icons:L,closeButtonAriaLabel:I="Close toast",pauseWhenPageIsHidden:F,cn:$}=e,[z,B]=o.useState(!1),[D,W]=o.useState(!1),[H,q]=o.useState(!1),[U,G]=o.useState(!1),[V,K]=o.useState(0),[Y,X]=o.useState(0),J=o.useRef(null),Q=o.useRef(null),ee=0===y,te=y+1<=v,re=f.type,ne=!1!==f.dismissible,oe=f.className||"",ie=f.descriptionClassName||"",ae=o.useMemo((()=>b.findIndex((e=>e.toastId===f.id))||0),[b,f.id]),se=o.useMemo((()=>{var e;return null!=(e=f.closeButton)?e:E}),[f.closeButton,E]),le=o.useMemo((()=>f.duration||P||4e3),[f.duration,P]),ce=o.useRef(0),ue=o.useRef(0),de=o.useRef(0),pe=o.useRef(null),[fe,he]=T.split("-"),me=o.useMemo((()=>b.reduce(((e,t,r)=>r>=ae?e:e+t.height),0)),[b,ae]),ge=(()=>{let[e,t]=o.useState(document.hidden);return o.useEffect((()=>{let e=()=>{t(document.hidden)};return document.addEventListener("visibilitychange",e),()=>window.removeEventListener("visibilitychange",e)}),[]),e})(),ve=f.invert||p,be="loading"===re;ue.current=o.useMemo((()=>ae*A+me),[ae,me]),o.useEffect((()=>{B(!0)}),[]),o.useLayoutEffect((()=>{if(!z)return;let e=Q.current,t=e.style.height;e.style.height="auto";let r=e.getBoundingClientRect().height;e.style.height=t,X(r),g((e=>e.find((e=>e.toastId===f.id))?e.map((e=>e.toastId===f.id?{...e,height:r}:e)):[{toastId:f.id,height:r,position:f.position},...e]))}),[z,f.title,f.description,g,f.id]);let ye=o.useCallback((()=>{W(!0),K(ue.current),g((e=>e.filter((e=>e.toastId!==f.id)))),setTimeout((()=>{k(f)}),200)}),[f,k,g,ue]);return o.useEffect((()=>{if(f.promise&&"loading"===re||f.duration===1/0||"loading"===f.type)return;let e,t=le;return w||m||F&&ge?(()=>{if(de.current<ce.current){let e=(new Date).getTime()-ce.current;t-=e}de.current=(new Date).getTime()})():t!==1/0&&(ce.current=(new Date).getTime(),e=setTimeout((()=>{var e;null==(e=f.onAutoClose)||e.call(f,f),ye()}),t)),()=>clearTimeout(e)}),[w,m,N,f,le,ye,f.promise,re,F,ge]),o.useEffect((()=>{let e=Q.current;if(e){let t=e.getBoundingClientRect().height;return X(t),g((e=>[{toastId:f.id,height:t,position:f.position},...e])),()=>g((e=>e.filter((e=>e.toastId!==f.id))))}}),[g,f.id]),o.useEffect((()=>{f.delete&&ye()}),[ye,f.delete]),o.createElement("li",{"aria-live":f.important?"assertive":"polite","aria-atomic":"true",role:"status",tabIndex:0,ref:Q,className:$(M,oe,null==_?void 0:_.toast,null==(t=null==f?void 0:f.classNames)?void 0:t.toast,null==_?void 0:_.default,null==_?void 0:_[re],null==(r=null==f?void 0:f.classNames)?void 0:r[re]),"data-sonner-toast":"","data-rich-colors":null!=(n=f.richColors)?n:S,"data-styled":!(f.jsx||f.unstyled||h),"data-mounted":z,"data-promise":!!f.promise,"data-removed":D,"data-visible":te,"data-y-position":fe,"data-x-position":he,"data-index":y,"data-front":ee,"data-swiping":H,"data-dismissible":ne,"data-type":re,"data-invert":ve,"data-swipe-out":U,"data-expanded":!!(w||N&&z),style:{"--index":y,"--toasts-before":y,"--z-index":x.length-y,"--offset":`${D?V:ue.current}px`,"--initial-height":N?"auto":`${Y}px`,...Z,...f.style},onPointerDown:e=>{be||!ne||(J.current=new Date,K(ue.current),e.target.setPointerCapture(e.pointerId),"BUTTON"!==e.target.tagName&&(q(!0),pe.current={x:e.clientX,y:e.clientY}))},onPointerUp:()=>{var e,t,r,n;if(U||!ne)return;pe.current=null;let o=Number((null==(e=Q.current)?void 0:e.style.getPropertyValue("--swipe-amount").replace("px",""))||0),i=(new Date).getTime()-(null==(t=J.current)?void 0:t.getTime()),a=Math.abs(o)/i;if(Math.abs(o)>=20||a>.11)return K(ue.current),null==(r=f.onDismiss)||r.call(f,f),ye(),void G(!0);null==(n=Q.current)||n.style.setProperty("--swipe-amount","0px"),q(!1)},onPointerMove:e=>{var t;if(!pe.current||!ne)return;let r=e.clientY-pe.current.y,n=e.clientX-pe.current.x,o=("top"===fe?Math.min:Math.max)(0,r),i="touch"===e.pointerType?10:2;Math.abs(o)>i?null==(t=Q.current)||t.style.setProperty("--swipe-amount",`${r}px`):Math.abs(n)>i&&(pe.current=null)}},se&&!f.jsx?o.createElement("button",{"aria-label":I,"data-disabled":be,"data-close-button":!0,onClick:be||!ne?()=>{}:()=>{var e;ye(),null==(e=f.onDismiss)||e.call(f,f)},className:$(null==_?void 0:_.closeButton,null==(i=null==f?void 0:f.classNames)?void 0:i.closeButton)},o.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"12",height:"12",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"},o.createElement("line",{x1:"18",y1:"6",x2:"6",y2:"18"}),o.createElement("line",{x1:"6",y1:"6",x2:"18",y2:"18"}))):null,f.jsx||o.isValidElement(f.title)?f.jsx||f.title:o.createElement(o.Fragment,null,re||f.icon||f.promise?o.createElement("div",{"data-icon":"",className:$(null==_?void 0:_.icon,null==(a=null==f?void 0:f.classNames)?void 0:a.icon)},f.promise||"loading"===f.type&&!f.icon?f.icon||(null!=L&&L.loading?o.createElement("div",{className:"sonner-loader","data-visible":"loading"===re},L.loading):j?o.createElement("div",{className:"sonner-loader","data-visible":"loading"===re},j):o.createElement(Qe,{visible:"loading"===re})):null,"loading"!==f.type?f.icon||(null==L?void 0:L[re])||(e=>{switch(e){case"success":return et;case"info":return rt;case"warning":return tt;case"error":return nt;default:return null}})(re):null):null,o.createElement("div",{"data-content":"",className:$(null==_?void 0:_.content,null==(s=null==f?void 0:f.classNames)?void 0:s.content)},o.createElement("div",{"data-title":"",className:$(null==_?void 0:_.title,null==(l=null==f?void 0:f.classNames)?void 0:l.title)},f.title),f.description?o.createElement("div",{"data-description":"",className:$(R,ie,null==_?void 0:_.description,null==(c=null==f?void 0:f.classNames)?void 0:c.description)},f.description):null),o.isValidElement(f.cancel)?f.cancel:f.cancel&<(f.cancel)?o.createElement("button",{"data-button":!0,"data-cancel":!0,style:f.cancelButtonStyle||O,onClick:e=>{var t,r;lt(f.cancel)&&ne&&(null==(r=(t=f.cancel).onClick)||r.call(t,e),ye())},className:$(null==_?void 0:_.cancelButton,null==(u=null==f?void 0:f.classNames)?void 0:u.cancelButton)},f.cancel.label):null,o.isValidElement(f.action)?f.action:f.action&<(f.action)?o.createElement("button",{"data-button":!0,"data-action":!0,style:f.actionButtonStyle||C,onClick:e=>{var t,r;lt(f.action)&&(e.defaultPrevented||(null==(r=(t=f.action).onClick)||r.call(t,e),ye()))},className:$(null==_?void 0:_.actionButton,null==(d=null==f?void 0:f.classNames)?void 0:d.actionButton)},f.action.label):null))};function ft(){if("undefined"==typeof window||"undefined"==typeof document)return"ltr";let e=document.documentElement.getAttribute("dir");return"auto"!==e&&e?e:window.getComputedStyle(document.documentElement).direction}var ht=e=>{let{invert:t,position:r="bottom-right",hotkey:n=["altKey","KeyT"],expand:i,closeButton:a,className:s,offset:l,theme:c="light",richColors:u,duration:d,style:p,visibleToasts:f=ct,toastOptions:h,dir:m=ft(),gap:g=ut,loadingIcon:v,icons:b,containerAriaLabel:y="Notifications",pauseWhenPageIsHidden:x,cn:w=dt}=e,[k,S]=o.useState([]),E=o.useMemo((()=>Array.from(new Set([r].concat(k.filter((e=>e.position)).map((e=>e.position)))))),[k,r]),[Z,O]=o.useState([]),[C,M]=o.useState(!1),[R,P]=o.useState(!1),[T,A]=o.useState("system"!==c?c:"undefined"!=typeof window&&window.matchMedia&&window.matchMedia("(prefers-color-scheme: dark)").matches?"dark":"light"),j=o.useRef(null),N=n.join("+").replace(/Key/g,"").replace(/Digit/g,""),_=o.useRef(null),L=o.useRef(!1),I=o.useCallback((e=>{var t;null!=(t=k.find((t=>t.id===e.id)))&&t.delete||it.dismiss(e.id),S((t=>t.filter((({id:t})=>t!==e.id))))}),[k]);return o.useEffect((()=>it.subscribe((e=>{e.dismiss?S((t=>t.map((t=>t.id===e.id?{...t,delete:!0}:t)))):setTimeout((()=>{Ye.flushSync((()=>{S((t=>{let r=t.findIndex((t=>t.id===e.id));return-1!==r?[...t.slice(0,r),{...t[r],...e},...t.slice(r+1)]:[e,...t]}))}))}))}))),[]),o.useEffect((()=>{"system"===c?("system"===c&&(window.matchMedia&&window.matchMedia("(prefers-color-scheme: dark)").matches?A("dark"):A("light")),"undefined"!=typeof window&&window.matchMedia("(prefers-color-scheme: dark)").addEventListener("change",(({matches:e})=>{A(e?"dark":"light")}))):A(c)}),[c]),o.useEffect((()=>{k.length<=1&&M(!1)}),[k]),o.useEffect((()=>{let e=e=>{var t,r;n.every((t=>e[t]||e.code===t))&&(M(!0),null==(t=j.current)||t.focus()),"Escape"===e.code&&(document.activeElement===j.current||null!=(r=j.current)&&r.contains(document.activeElement))&&M(!1)};return document.addEventListener("keydown",e),()=>document.removeEventListener("keydown",e)}),[n]),o.useEffect((()=>{if(j.current)return()=>{_.current&&(_.current.focus({preventScroll:!0}),_.current=null,L.current=!1)}}),[j.current]),k.length?o.createElement("section",{"aria-label":`${y} ${N}`,tabIndex:-1},E.map(((e,r)=>{var n;let[c,y]=e.split("-");return o.createElement("ol",{key:e,dir:"auto"===m?ft():m,tabIndex:-1,ref:j,className:s,"data-sonner-toaster":!0,"data-theme":T,"data-y-position":c,"data-x-position":y,style:{"--front-toast-height":`${(null==(n=Z[0])?void 0:n.height)||0}px`,"--offset":"number"==typeof l?`${l}px`:l||"32px","--width":"356px","--gap":`${g}px`,...p},onBlur:e=>{L.current&&!e.currentTarget.contains(e.relatedTarget)&&(L.current=!1,_.current&&(_.current.focus({preventScroll:!0}),_.current=null))},onFocus:e=>{e.target instanceof HTMLElement&&"false"===e.target.dataset.dismissible||L.current||(L.current=!0,_.current=e.relatedTarget)},onMouseEnter:()=>M(!0),onMouseMove:()=>M(!0),onMouseLeave:()=>{R||M(!1)},onPointerDown:e=>{e.target instanceof HTMLElement&&"false"===e.target.dataset.dismissible||P(!0)},onPointerUp:()=>P(!1)},k.filter((t=>!t.position&&0===r||t.position===e)).map(((r,n)=>{var s,l;return o.createElement(pt,{key:r.id,icons:b,index:n,toast:r,defaultRichColors:u,duration:null!=(s=null==h?void 0:h.duration)?s:d,className:null==h?void 0:h.className,descriptionClassName:null==h?void 0:h.descriptionClassName,invert:t,visibleToasts:f,closeButton:null!=(l=null==h?void 0:h.closeButton)?l:a,interacting:R,position:e,style:null==h?void 0:h.style,unstyled:null==h?void 0:h.unstyled,classNames:null==h?void 0:h.classNames,cancelButtonStyle:null==h?void 0:h.cancelButtonStyle,actionButtonStyle:null==h?void 0:h.actionButtonStyle,removeToast:I,toasts:k.filter((e=>e.position==r.position)),heights:Z.filter((e=>e.position==r.position)),setHeights:O,expandByDefault:i,gap:g,loadingIcon:v,expanded:C,pauseWhenPageIsHidden:x,cn:w})})))}))):null},mt=function(e){var t=e.children,r=e.defaultTheme,n=e.withToaster,i=void 0===n||n;return c(Ue,{theme:(0,o.useMemo)((function(){return(0,je.Z)(Ke(r))}),[r]),children:[i&&l(ht,{position:"bottom-left",closeButton:!0}),t]})},gt=r(90512),vt=r(78883),bt=r(86523),yt=r(59766),xt=r(85265);const wt=["sx"],kt=e=>{var t,r;const n={systemProps:{},otherProps:{}},o=null!=(t=null==e||null==(r=e.theme)?void 0:r.unstable_sxConfig)?t:xt.Z;return Object.keys(e).forEach((t=>{o[t]?n.systemProps[t]=e[t]:n.otherProps[t]=e[t]})),n};function St(e){const{sx:t}=e,r=(0,_e.Z)(e,wt),{systemProps:n,otherProps:o}=kt(r);let i;return i=Array.isArray(t)?[n,...t]:"function"==typeof t?(...e)=>{const r=t(...e);return(0,yt.P)(r)?(0,Ne.Z)({},n,r):n}:(0,Ne.Z)({},n,t),(0,Ne.Z)({},o,{sx:i})}var Et=r(96682);const Zt=["className","component"];var Ot=r(37078);const Ct=(0,je.Z)(),Mt=function(t={}){const{themeId:r,defaultTheme:n,defaultClassName:i="MuiBox-root",generateClassName:a}=t,s=(0,vt.ZP)("div",{shouldForwardProp:e=>"theme"!==e&&"sx"!==e&&"as"!==e})(bt.Z);return o.forwardRef((function(t,o){const l=(0,Et.Z)(n),c=St(t),{className:u,component:d="div"}=c,p=(0,_e.Z)(c,Zt);return(0,e.jsx)(s,(0,Ne.Z)({as:d,ref:o,className:(0,gt.Z)(u,a?a(i):i),theme:r&&l[r]||l},p))}))}({themeId:He.Z,defaultTheme:Ct,defaultClassName:"MuiBox-root",generateClassName:Ot.Z.generate}),Rt=Mt,Pt=()=>{throw new Error("useMediaQuery is a client-only hook")};function Tt(e){const t=(0,o.useCallback)((t=>{const r=window.matchMedia(e);return r.addEventListener("change",t),()=>{r.removeEventListener("change",t)}}),[e]);return(0,o.useSyncExternalStore)(t,(()=>window.matchMedia(e).matches),Pt)}var At;!function(e){e[e.mobile=576]="mobile",e[e.tablet=770]="tablet"}(At||(At={}));var jt=function(){var e=Tt("screen and (max-width: ".concat(At.mobile-1,"px)")),t=Tt("screen and (min-width: ".concat(At.mobile,"px) and (max-width: ").concat(At.tablet,"px)")),r=Tt("(orientation: portrait)")?"portrait":"landscape";return{isMobile:e,isTablet:t,orientation:r,isDesktop:!e&&!t,isMobileLandscape:e&&"landscape"===r,isMobilePortrait:e&&"portrait"===r,isTabletLandscape:t&&"landscape"===r,isTabletPortrait:t&&"portrait"===r}},Nt=function(){return window.location.href.startsWith("http://localhost:4200")||window.location.href.startsWith("https://studio-staging")||window.location.href.startsWith("https://studio.softr.io/")};const _t=()=>{try{return window.parent.location.origin===window.location.origin}catch{return!1}};Object.defineProperty;const Lt=({controlType:e,allowed:t,label:r})=>(n,o={})=>(((e,t,r)=>{if(t.some((e=>!r.includes(e.controlType))))throw new Error(`${e} may only contain ${r.map((e=>JSON.stringify(e))).join(", ")} controls inside styles`)})(e,n,t),{type:"control",controlType:e,label:r,styles:n,...o});Lt({controlType:"border",allowed:["borderStyle","borderWidth","color"],label:"Border"}),Lt({controlType:"background",allowed:["select","color","image"],label:"Background"}),Lt({controlType:"font",allowed:["fontFamily","color","fontWeight"],label:"Font"});var It={colors:{primary:"#152237",accent:"#3278FF",background:"#FFFFFF"},typography:{headingFontFamily:"Inter, sans-serif",headingFontWeight:600,bodyFontFamily:"Inter, sans-serif",bodyFontWeight:400},size:"M",roundness:"STANDARD",backgroundStyle:"HIGHLIGHTED",shadow:!0,containerMaxWidth:"1852px"},Ft=function(){var e={config:It,tokens:{colors:{background:{default:"#FFFFFF",complementary:"#f3f5f8",skeleton:"#f2f2f2"},text:{heading:"#152237",description:"#434e5f",ui:"#152237"},border:{primary:"#e5e5e5",secondary:"#f3f5f8"},action:{highlight:"#3278FF",primary:{text:"#f4f8ff",background:{idle:"#3278FF",hover:"#2860cc",press:"#1e4899"}},secondary:{background:{idle:"#FFFFFF",hover:"#f2f2f2",press:"#e5e5e5"},text:"#152237"},dialogSecondary:{background:{idle:"#f2f2f2",hover:"#e5e5e5",press:"#ccc"},text:"#152237"},ghost:{text:"#152237",background:{idle:"#FFFFFF",hover:"#f2f2f2",press:"#e5e5e5"},border:{active:"#3278FF"}},disabled:{background:"#F2F2F2",text:"#898989"}},dialog:{background:{idle:"#FFFFFF",hover:"#f2f2f2",press:"#e5e5e5"}},input:{background:{idle:"#f2f2f2",hover:"#e5e5e5",focus:"#f2f2f2"},text:"#152237",placeholder:"#727a87",border:{focus:"#3278FF",error:"#c52c26"},message:{error:"#c52c26",hint:"#727a87"}},rating:{fill:"#e5e5e5",star:{color:"#FFB92D",borderColor:"#CFA042"},heart:{color:"#DA486B",borderColor:"#AC475D"}},layerCard:{layer1Background:"#f2f2f2",layer2Background:"#e5e5e5"},icon:"#727a87",system:{alert:{background:"#FFFFFF",title:"#232323",description:"#595959",icon:{success:"#00A352",warning:"#F68A0B",error:"#E90C17"}}}},typography:{heading:{fontFamily:"Inter, sans-serif",fontWeight:"600",size:{1:{fontSize:"22px",lineHeight:"32px"},2:{fontSize:"20px",lineHeight:"28px"},3:{fontSize:"18px",lineHeight:"24px"},title:{fontSize:"24px",lineHeight:"32px"}}},body:{fontFamily:"Inter, sans-serif",fontWeight:"400",fontSize:"14px",lineHeight:"20px"},text:{action:{fontSize:"14px",lineHeight:"24px"},hint:{fontSize:"12px",lineHeight:"15px"},label:{fontSize:"14px",lineHeight:"20px"},link:{fontSize:"14px",lineHeight:"20px"},tag:{fontSize:"13px",lineHeight:"16px"},footnote:{fontSize:"11px",lineHeight:"14px"}}},iconSize:{tiny:"14px",small:"16px",regular:"20px",large:"24px",extraLarge:"40px"},roundness:{1:"4px",2:"6px",3:"8px",4:"12px",5:"16px",full:"9999px"},space:{0:"0px",1:"2px",2:"4px",3:"6px",4:"8px",5:"10px",6:"12px",7:"16px",8:"20px",9:"24px",10:"32px",11:"48px",12:"64px",13:"72px",14:"96px",15:"144px"},gap:void 0,shadow:{none:"0 0 #0000",subtle:"0px 2px 3px -2px rgba(0,0,0,0.12), 0px 2px 5px -2px rgba(0,0,0,0.08)",raised:"0px 16px 28px -4px rgba(0,0,0,0.02), 0px 5px 12px -3px rgba(0,0,0,0.08), 0px 2px 3px -2px rgba(0,0,0,0.06), 0px 0.5px 1px -1px rgba(0,0,0,0.06)",floating:"0px 10px 10px 0 rgba(0,0,0,0.04), 0px 20px 25px 0 rgba(0,0,0,0.06)"},containerMaxWidth:"1852px"}};return e.tokens.gap=e.tokens.space,e}();function $t(){return $t=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},$t.apply(this,arguments)}function zt(e,t){return zt=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},zt(e,t)}function Bt(e){return(Bt=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function Dt(e,t,r){return Dt=function(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch{return!1}}()?Reflect.construct.bind():function(e,t,r){var n=[null];n.push.apply(n,t);var o=new(Function.bind.apply(e,n));return r&&zt(o,r.prototype),o},Dt.apply(null,arguments)}function Wt(e){var t="function"==typeof Map?new Map:void 0;return Wt=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(typeof t<"u"){if(t.has(e))return t.get(e);t.set(e,r)}function r(){return Dt(e,arguments,Bt(this).constructor)}return r.prototype=Object.create(e.prototype,{constructor:{value:r,enumerable:!1,writable:!0,configurable:!0}}),zt(r,e)},Wt(e)}var Ht=function(e){function t(t){return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e.call(this,"An error occurred. See https://github.com/styled-components/polished/blob/main/src/internalHelpers/errors.md#"+t+" for more information.")||this)}return function(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,zt(e,t)}(t,e),t}(Wt(Error));function qt(e){return Math.round(255*e)}function Ut(e,t,r){return qt(e)+","+qt(t)+","+qt(r)}function Gt(e,t,r,n){if(void 0===n&&(n=Ut),0===t)return n(r,r,r);var o=(e%360+360)%360/60,i=(1-Math.abs(2*r-1))*t,a=i*(1-Math.abs(o%2-1)),s=0,l=0,c=0;o>=0&&o<1?(s=i,l=a):o>=1&&o<2?(s=a,l=i):o>=2&&o<3?(l=i,c=a):o>=3&&o<4?(l=a,c=i):o>=4&&o<5?(s=a,c=i):o>=5&&o<6&&(s=i,c=a);var u=r-i/2;return n(s+u,l+u,c+u)}var Vt={aliceblue:"f0f8ff",antiquewhite:"faebd7",aqua:"00ffff",aquamarine:"7fffd4",azure:"f0ffff",beige:"f5f5dc",bisque:"ffe4c4",black:"000",blanchedalmond:"ffebcd",blue:"0000ff",blueviolet:"8a2be2",brown:"a52a2a",burlywood:"deb887",cadetblue:"5f9ea0",chartreuse:"7fff00",chocolate:"d2691e",coral:"ff7f50",cornflowerblue:"6495ed",cornsilk:"fff8dc",crimson:"dc143c",cyan:"00ffff",darkblue:"00008b",darkcyan:"008b8b",darkgoldenrod:"b8860b",darkgray:"a9a9a9",darkgreen:"006400",darkgrey:"a9a9a9",darkkhaki:"bdb76b",darkmagenta:"8b008b",darkolivegreen:"556b2f",darkorange:"ff8c00",darkorchid:"9932cc",darkred:"8b0000",darksalmon:"e9967a",darkseagreen:"8fbc8f",darkslateblue:"483d8b",darkslategray:"2f4f4f",darkslategrey:"2f4f4f",darkturquoise:"00ced1",darkviolet:"9400d3",deeppink:"ff1493",deepskyblue:"00bfff",dimgray:"696969",dimgrey:"696969",dodgerblue:"1e90ff",firebrick:"b22222",floralwhite:"fffaf0",forestgreen:"228b22",fuchsia:"ff00ff",gainsboro:"dcdcdc",ghostwhite:"f8f8ff",gold:"ffd700",goldenrod:"daa520",gray:"808080",green:"008000",greenyellow:"adff2f",grey:"808080",honeydew:"f0fff0",hotpink:"ff69b4",indianred:"cd5c5c",indigo:"4b0082",ivory:"fffff0",khaki:"f0e68c",lavender:"e6e6fa",lavenderblush:"fff0f5",lawngreen:"7cfc00",lemonchiffon:"fffacd",lightblue:"add8e6",lightcoral:"f08080",lightcyan:"e0ffff",lightgoldenrodyellow:"fafad2",lightgray:"d3d3d3",lightgreen:"90ee90",lightgrey:"d3d3d3",lightpink:"ffb6c1",lightsalmon:"ffa07a",lightseagreen:"20b2aa",lightskyblue:"87cefa",lightslategray:"789",lightslategrey:"789",lightsteelblue:"b0c4de",lightyellow:"ffffe0",lime:"0f0",limegreen:"32cd32",linen:"faf0e6",magenta:"f0f",maroon:"800000",mediumaquamarine:"66cdaa",mediumblue:"0000cd",mediumorchid:"ba55d3",mediumpurple:"9370db",mediumseagreen:"3cb371",mediumslateblue:"7b68ee",mediumspringgreen:"00fa9a",mediumturquoise:"48d1cc",mediumvioletred:"c71585",midnightblue:"191970",mintcream:"f5fffa",mistyrose:"ffe4e1",moccasin:"ffe4b5",navajowhite:"ffdead",navy:"000080",oldlace:"fdf5e6",olive:"808000",olivedrab:"6b8e23",orange:"ffa500",orangered:"ff4500",orchid:"da70d6",palegoldenrod:"eee8aa",palegreen:"98fb98",paleturquoise:"afeeee",palevioletred:"db7093",papayawhip:"ffefd5",peachpuff:"ffdab9",peru:"cd853f",pink:"ffc0cb",plum:"dda0dd",powderblue:"b0e0e6",purple:"800080",rebeccapurple:"639",red:"f00",rosybrown:"bc8f8f",royalblue:"4169e1",saddlebrown:"8b4513",salmon:"fa8072",sandybrown:"f4a460",seagreen:"2e8b57",seashell:"fff5ee",sienna:"a0522d",silver:"c0c0c0",skyblue:"87ceeb",slateblue:"6a5acd",slategray:"708090",slategrey:"708090",snow:"fffafa",springgreen:"00ff7f",steelblue:"4682b4",tan:"d2b48c",teal:"008080",thistle:"d8bfd8",tomato:"ff6347",turquoise:"40e0d0",violet:"ee82ee",wheat:"f5deb3",white:"fff",whitesmoke:"f5f5f5",yellow:"ff0",yellowgreen:"9acd32"};var Kt=/^#[a-fA-F0-9]{6}$/,Yt=/^#[a-fA-F0-9]{8}$/,Xt=/^#[a-fA-F0-9]{3}$/,Jt=/^#[a-fA-F0-9]{4}$/,Qt=/^rgb\(\s*(\d{1,3})\s*(?:,)?\s*(\d{1,3})\s*(?:,)?\s*(\d{1,3})\s*\)$/i,er=/^rgb(?:a)?\(\s*(\d{1,3})\s*(?:,)?\s*(\d{1,3})\s*(?:,)?\s*(\d{1,3})\s*(?:,|\/)\s*([-+]?\d*[.]?\d+[%]?)\s*\)$/i,tr=/^hsl\(\s*(\d{0,3}[.]?[0-9]+(?:deg)?)\s*(?:,)?\s*(\d{1,3}[.]?[0-9]?)%\s*(?:,)?\s*(\d{1,3}[.]?[0-9]?)%\s*\)$/i,rr=/^hsl(?:a)?\(\s*(\d{0,3}[.]?[0-9]+(?:deg)?)\s*(?:,)?\s*(\d{1,3}[.]?[0-9]?)%\s*(?:,)?\s*(\d{1,3}[.]?[0-9]?)%\s*(?:,|\/)\s*([-+]?\d*[.]?\d+[%]?)\s*\)$/i;function nr(e){if("string"!=typeof e)throw new Ht(3);var t=function(e){if("string"!=typeof e)return e;var t=e.toLowerCase();return Vt[t]?"#"+Vt[t]:e}(e);if(t.match(Kt))return{red:parseInt(""+t[1]+t[2],16),green:parseInt(""+t[3]+t[4],16),blue:parseInt(""+t[5]+t[6],16)};if(t.match(Yt)){var r=parseFloat((parseInt(""+t[7]+t[8],16)/255).toFixed(2));return{red:parseInt(""+t[1]+t[2],16),green:parseInt(""+t[3]+t[4],16),blue:parseInt(""+t[5]+t[6],16),alpha:r}}if(t.match(Xt))return{red:parseInt(""+t[1]+t[1],16),green:parseInt(""+t[2]+t[2],16),blue:parseInt(""+t[3]+t[3],16)};if(t.match(Jt)){var n=parseFloat((parseInt(""+t[4]+t[4],16)/255).toFixed(2));return{red:parseInt(""+t[1]+t[1],16),green:parseInt(""+t[2]+t[2],16),blue:parseInt(""+t[3]+t[3],16),alpha:n}}var o=Qt.exec(t);if(o)return{red:parseInt(""+o[1],10),green:parseInt(""+o[2],10),blue:parseInt(""+o[3],10)};var i=er.exec(t.substring(0,50));if(i)return{red:parseInt(""+i[1],10),green:parseInt(""+i[2],10),blue:parseInt(""+i[3],10),alpha:parseFloat(""+i[4])>1?parseFloat(""+i[4])/100:parseFloat(""+i[4])};var a=tr.exec(t);if(a){var s="rgb("+Gt(parseInt(""+a[1],10),parseInt(""+a[2],10)/100,parseInt(""+a[3],10)/100)+")",l=Qt.exec(s);if(!l)throw new Ht(4,t,s);return{red:parseInt(""+l[1],10),green:parseInt(""+l[2],10),blue:parseInt(""+l[3],10)}}var c=rr.exec(t.substring(0,50));if(c){var u="rgb("+Gt(parseInt(""+c[1],10),parseInt(""+c[2],10)/100,parseInt(""+c[3],10)/100)+")",d=Qt.exec(u);if(!d)throw new Ht(4,t,u);return{red:parseInt(""+d[1],10),green:parseInt(""+d[2],10),blue:parseInt(""+d[3],10),alpha:parseFloat(""+c[4])>1?parseFloat(""+c[4])/100:parseFloat(""+c[4])}}throw new Ht(5)}function or(e){return function(e){var t=e.red/255,r=e.green/255,n=e.blue/255,o=Math.max(t,r,n),i=Math.min(t,r,n),a=(o+i)/2;if(o===i)return void 0!==e.alpha?{hue:0,saturation:0,lightness:a,alpha:e.alpha}:{hue:0,saturation:0,lightness:a};var s,l=o-i,c=a>.5?l/(2-o-i):l/(o+i);switch(o){case t:s=(r-n)/l+(r<n?6:0);break;case r:s=(n-t)/l+2;break;default:s=(t-r)/l+4}return s*=60,void 0!==e.alpha?{hue:s,saturation:c,lightness:a,alpha:e.alpha}:{hue:s,saturation:c,lightness:a}}(nr(e))}var ir=function(e){return 7===e.length&&e[1]===e[2]&&e[3]===e[4]&&e[5]===e[6]?"#"+e[1]+e[3]+e[5]:e};function ar(e){var t=e.toString(16);return 1===t.length?"0"+t:t}function sr(e){return ar(Math.round(255*e))}function lr(e,t,r){return ir("#"+sr(e)+sr(t)+sr(r))}function cr(e,t,r){return Gt(e,t,r,lr)}function ur(e,t,r){if("number"==typeof e&&"number"==typeof t&&"number"==typeof r)return ir("#"+ar(e)+ar(t)+ar(r));if("object"==typeof e&&void 0===t&&void 0===r)return ir("#"+ar(e.red)+ar(e.green)+ar(e.blue));throw new Ht(6)}function dr(e,t,r,n){if("string"==typeof e&&"number"==typeof t){var o=nr(e);return"rgba("+o.red+","+o.green+","+o.blue+","+t+")"}if("number"==typeof e&&"number"==typeof t&&"number"==typeof r&&"number"==typeof n)return n>=1?ur(e,t,r):"rgba("+e+","+t+","+r+","+n+")";if("object"==typeof e&&void 0===t&&void 0===r&&void 0===n)return e.alpha>=1?ur(e.red,e.green,e.blue):"rgba("+e.red+","+e.green+","+e.blue+","+e.alpha+")";throw new Ht(7)}var pr=function(e){return"number"==typeof e.red&&"number"==typeof e.green&&"number"==typeof e.blue&&("number"!=typeof e.alpha||typeof e.alpha>"u")},fr=function(e){return"number"==typeof e.red&&"number"==typeof e.green&&"number"==typeof e.blue&&"number"==typeof e.alpha},hr=function(e){return"number"==typeof e.hue&&"number"==typeof e.saturation&&"number"==typeof e.lightness&&("number"!=typeof e.alpha||typeof e.alpha>"u")},mr=function(e){return"number"==typeof e.hue&&"number"==typeof e.saturation&&"number"==typeof e.lightness&&"number"==typeof e.alpha};function gr(e){if("object"!=typeof e)throw new Ht(8);if(fr(e))return dr(e);if(pr(e))return ur(e);if(mr(e))return function(e,t,r,n){if("number"==typeof e&&"number"==typeof t&&"number"==typeof r&&"number"==typeof n)return n>=1?cr(e,t,r):"rgba("+Gt(e,t,r)+","+n+")";if("object"==typeof e&&void 0===t&&void 0===r&&void 0===n)return e.alpha>=1?cr(e.hue,e.saturation,e.lightness):"rgba("+Gt(e.hue,e.saturation,e.lightness)+","+e.alpha+")";throw new Ht(2)}(e);if(hr(e))return function(e,t,r){if("number"==typeof e&&"number"==typeof t&&"number"==typeof r)return cr(e,t,r);if("object"==typeof e&&void 0===t&&void 0===r)return cr(e.hue,e.saturation,e.lightness);throw new Ht(1)}(e);throw new Ht(8)}function vr(e,t,r){return function(){var n=r.concat(Array.prototype.slice.call(arguments));return n.length>=t?e.apply(this,n):vr(e,t,n)}}function br(e){return vr(e,e.length,[])}function yr(e,t,r){return Math.max(e,Math.min(t,r))}br((function(e,t){if("transparent"===t)return t;var r=or(t);return gr($t({},r,{hue:r.hue+parseFloat(e)}))})),br((function(e,t){if("transparent"===t)return t;var r=or(t);return gr($t({},r,{lightness:yr(0,1,r.lightness-parseFloat(e))}))})),br((function(e,t){if("transparent"===t)return t;var r=or(t);return gr($t({},r,{saturation:yr(0,1,r.saturation-parseFloat(e))}))}));br((function(e,t){if("transparent"===t)return t;var r=or(t);return gr($t({},r,{lightness:yr(0,1,r.lightness+parseFloat(e))}))}));var xr=br((function(e,t,r){if("transparent"===t)return r;if("transparent"===r)return t;if(0===e)return r;var n=nr(t),o=$t({},n,{alpha:"number"==typeof n.alpha?n.alpha:1}),i=nr(r),a=$t({},i,{alpha:"number"==typeof i.alpha?i.alpha:1}),s=o.alpha-a.alpha,l=2*parseFloat(e)-1,c=((l*s==-1?l:l+s)/(1+l*s)+1)/2,u=1-c;return dr({red:Math.floor(o.red*c+a.red*u),green:Math.floor(o.green*c+a.green*u),blue:Math.floor(o.blue*c+a.blue*u),alpha:o.alpha*parseFloat(e)+a.alpha*(1-parseFloat(e))})})),wr=xr;br((function(e,t){if("transparent"===t)return t;var r=nr(t);return dr($t({},r,{alpha:yr(0,1,(100*("number"==typeof r.alpha?r.alpha:1)+100*parseFloat(e))/100)}))})),br((function(e,t){if("transparent"===t)return t;var r=or(t);return gr($t({},r,{saturation:yr(0,1,r.saturation+parseFloat(e))}))})),br((function(e,t){return"transparent"===t?t:gr($t({},or(t),{hue:parseFloat(e)}))})),br((function(e,t){return"transparent"===t?t:gr($t({},or(t),{lightness:parseFloat(e)}))})),br((function(e,t){return"transparent"===t?t:gr($t({},or(t),{saturation:parseFloat(e)}))}));var kr=br((function(e,t){return"transparent"===t?t:wr(parseFloat(e),"rgb(0, 0, 0)",t)}));var Sr=br((function(e,t){return"transparent"===t?t:wr(parseFloat(e),"rgb(255, 255, 255)",t)}));br((function(e,t){if("transparent"===t)return t;var r=nr(t);return dr($t({},r,{alpha:yr(0,1,+(100*("number"==typeof r.alpha?r.alpha:1)-100*parseFloat(e)).toFixed(2)/100)}))}));const Er=e=>({0:Sr(1,e),25:Sr(.95,e),50:Sr(.9,e),100:Sr(.8,e),150:Sr(.7,e),200:Sr(.6,e),300:Sr(.4,e),350:Sr(.3,e),400:Sr(.2,e),450:Sr(.1,e),475:Sr(.05,e),500:e,525:kr(.05,e),550:kr(.1,e),600:kr(.2,e),700:kr(.4,e),800:kr(.6,e),850:kr(.7,e),900:kr(.8,e),950:kr(.9,e),1e3:kr(1,e)}),Zr="#41D33E",Or="#F8D313",Cr=(Er("#F73730"),Er(Zr),Er(Or),(e,t)=>{const r={};for(const n of Object.keys(e)){const o=e[n];r[n]="object"==typeof o?Cr(o,t?`${t}.${n}`:n):{themeKey:t?`${t}.${n}`:n}}return r});Cr(Ft);var Mr=function(){return Mr=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++)for(var o in t=arguments[r])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},Mr.apply(this,arguments)},Rr=function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(n=Object.getOwnPropertySymbols(e);o<n.length;o++)t.indexOf(n[o])<0&&Object.prototype.propertyIsEnumerable.call(e,n[o])&&(r[n[o]]=e[n[o]])}return r},Pr=function(e,t){var r="function"==typeof Symbol&&e[Symbol.iterator];if(!r)return e;var n,o,i=r.call(e),a=[];try{for(;(void 0===t||t-- >0)&&!(n=i.next()).done;)a.push(n.value)}catch(s){o={error:s}}finally{try{n&&!n.done&&(r=i.return)&&r.call(i)}finally{if(o)throw o.error}}return a},Tr=function(e){var t,r=e.children,n=e.parentSelector,i=e.defaultTheme,a=void 0===i?{}:i,s=e.component,d=e.withoutBoxWrapper,p=e.withToaster,f=void 0===p||p,h=e.style,m=Rr(e,["children","parentSelector","defaultTheme","component","withoutBoxWrapper","withToaster","style"]),g=JSON.stringify(m.elements),v=JSON.stringify(m.collection),b=Pr((0,o.useMemo)((function(){var e=new Set,t={elements:Re(m.elements,e),collection:m.collection,id:m.id,hrid:m.hrid,blockSelector:n,options:m.options,settings:m.settings,category:m.category},r=function(e,t){void 0===t&&(t="");var r="";return e.forEach((function(e){var n=ve(e);r+=t?"".concat(t," ").concat(n," "):"".concat(n," ")})),r}(e,n);return[t,r]}),[g,v,m.id,m.hrid,m.options,n]),2),y=b[0],x=b[1],w=jt().isDesktop,k=m.hrid,S=m.version,E=m.id,Z=m.name,O=m.updated,C=m.created_at,M=O&&O.length?O.pop():"",R=y.elements,P=R.container,T=void 0===P?{}:P,A=R.backgroundImage,j=void 0===A?{}:A,N=R.sideImage;return(0,o.useEffect)((function(){k&&(e=>{_t()&&window.parent!==window&&window.parent.dispatchEvent(e),window.dispatchEvent(e)})((e=>new CustomEvent(`block-loaded-${e}`))(k))}),[k]),Ae(x,n),l(u.Provider,{value:y,children:c(mt,{defaultTheme:a,withToaster:f,children:[!d&&l(Rt,{component:s||"section","data-block-version":S,"data-block-id":E,"data-block-updated":M,"data-block-created-at":C,style:Mr(Mr(Mr({},!N&&(null==j?void 0:j.src)?{backgroundImage:"url(".concat(j.src,")")}:{}),N&&w&&Nt()?{height:"950px"}:{}),h),className:"".concat(Z,"-").concat(E," ").concat(null==T?void 0:T.className," ").concat(N?"":(null==j?void 0:j.className)||""," ").concat(null!==(t=m.className)&&void 0!==t?t:""),children:r}),d?r:null]})})},Ar=r(94780),jr=r(90948),Nr=r(71657),_r=r(98216),Lr=r(41796);const Ir=e=>{let t;return t=e<1?5.11916*e**2:4.5*Math.log(e+1)+2,(t/100).toFixed(2)};var Fr=r(1588),$r=r(34867);function zr(e){return(0,$r.Z)("MuiPaper",e)}(0,Fr.Z)("MuiPaper",["root","rounded","outlined","elevation","elevation0","elevation1","elevation2","elevation3","elevation4","elevation5","elevation6","elevation7","elevation8","elevation9","elevation10","elevation11","elevation12","elevation13","elevation14","elevation15","elevation16","elevation17","elevation18","elevation19","elevation20","elevation21","elevation22","elevation23","elevation24"]);const Br=["className","component","elevation","square","variant"],Dr=(0,jr.ZP)("div",{name:"MuiPaper",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.root,t[r.variant],!r.square&&t.rounded,"elevation"===r.variant&&t[`elevation${r.elevation}`]]}})((({theme:e,ownerState:t})=>{var r;return(0,Ne.Z)({backgroundColor:(e.vars||e).palette.background.paper,color:(e.vars||e).palette.text.primary,transition:e.transitions.create("box-shadow")},!t.square&&{borderRadius:e.shape.borderRadius},"outlined"===t.variant&&{border:`1px solid ${(e.vars||e).palette.divider}`},"elevation"===t.variant&&(0,Ne.Z)({boxShadow:(e.vars||e).shadows[t.elevation]},!e.vars&&"dark"===e.palette.mode&&{backgroundImage:`linear-gradient(${(0,Lr.Fq)("#fff",Ir(t.elevation))}, ${(0,Lr.Fq)("#fff",Ir(t.elevation))})`},e.vars&&{backgroundImage:null==(r=e.vars.overlays)?void 0:r[t.elevation]}))})),Wr=o.forwardRef((function(t,r){const n=(0,Nr.Z)({props:t,name:"MuiPaper"}),{className:o,component:i="div",elevation:a=1,square:s=!1,variant:l="elevation"}=n,c=(0,_e.Z)(n,Br),u=(0,Ne.Z)({},n,{component:i,elevation:a,square:s,variant:l}),d=(e=>{const{square:t,elevation:r,variant:n,classes:o}=e,i={root:["root",n,!t&&"rounded","elevation"===n&&`elevation${r}`]};return(0,Ar.Z)(i,zr,o)})(u);return(0,e.jsx)(Dr,(0,Ne.Z)({as:i,ownerState:u,className:(0,gt.Z)(d.root,o),ref:r},c))})),Hr=Wr;function qr(e){return(0,$r.Z)("MuiAppBar",e)}(0,Fr.Z)("MuiAppBar",["root","positionFixed","positionAbsolute","positionSticky","positionStatic","positionRelative","colorDefault","colorPrimary","colorSecondary","colorInherit","colorTransparent"]);const Ur=["className","color","enableColorOnDark","position"],Gr=(e,t)=>e?`${null==e?void 0:e.replace(")","")}, ${t})`:t,Vr=(0,jr.ZP)(Hr,{name:"MuiAppBar",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.root,t[`position${(0,_r.Z)(r.position)}`],t[`color${(0,_r.Z)(r.color)}`]]}})((({theme:e,ownerState:t})=>{const r="light"===e.palette.mode?e.palette.grey[100]:e.palette.grey[900];return(0,Ne.Z)({display:"flex",flexDirection:"column",width:"100%",boxSizing:"border-box",flexShrink:0},"fixed"===t.position&&{position:"fixed",zIndex:(e.vars||e).zIndex.appBar,top:0,left:"auto",right:0,"@media print":{position:"absolute"}},"absolute"===t.position&&{position:"absolute",zIndex:(e.vars||e).zIndex.appBar,top:0,left:"auto",right:0},"sticky"===t.position&&{position:"sticky",zIndex:(e.vars||e).zIndex.appBar,top:0,left:"auto",right:0},"static"===t.position&&{position:"static"},"relative"===t.position&&{position:"relative"},!e.vars&&(0,Ne.Z)({},"default"===t.color&&{backgroundColor:r,color:e.palette.getContrastText(r)},t.color&&"default"!==t.color&&"inherit"!==t.color&&"transparent"!==t.color&&{backgroundColor:e.palette[t.color].main,color:e.palette[t.color].contrastText},"inherit"===t.color&&{color:"inherit"},"dark"===e.palette.mode&&!t.enableColorOnDark&&{backgroundColor:null,color:null},"transparent"===t.color&&(0,Ne.Z)({backgroundColor:"transparent",color:"inherit"},"dark"===e.palette.mode&&{backgroundImage:"none"})),e.vars&&(0,Ne.Z)({},"default"===t.color&&{"--AppBar-background":t.enableColorOnDark?e.vars.palette.AppBar.defaultBg:Gr(e.vars.palette.AppBar.darkBg,e.vars.palette.AppBar.defaultBg),"--AppBar-color":t.enableColorOnDark?e.vars.palette.text.primary:Gr(e.vars.palette.AppBar.darkColor,e.vars.palette.text.primary)},t.color&&!t.color.match(/^(default|inherit|transparent)$/)&&{"--AppBar-background":t.enableColorOnDark?e.vars.palette[t.color].main:Gr(e.vars.palette.AppBar.darkBg,e.vars.palette[t.color].main),"--AppBar-color":t.enableColorOnDark?e.vars.palette[t.color].contrastText:Gr(e.vars.palette.AppBar.darkColor,e.vars.palette[t.color].contrastText)},{backgroundColor:"var(--AppBar-background)",color:"inherit"===t.color?"inherit":"var(--AppBar-color)"},"transparent"===t.color&&{backgroundImage:"none",backgroundColor:"transparent",color:"inherit"}))})),Kr=o.forwardRef((function(t,r){const n=(0,Nr.Z)({props:t,name:"MuiAppBar"}),{className:o,color:i="primary",enableColorOnDark:a=!1,position:s="fixed"}=n,l=(0,_e.Z)(n,Ur),c=(0,Ne.Z)({},n,{color:i,position:s,enableColorOnDark:a}),u=(e=>{const{color:t,position:r,classes:n}=e,o={root:["root",`color${(0,_r.Z)(t)}`,`position${(0,_r.Z)(r)}`]};return(0,Ar.Z)(o,qr,n)})(c);return(0,e.jsx)(Vr,(0,Ne.Z)({square:!0,component:"header",ownerState:c,elevation:4,className:(0,gt.Z)(u.root,o,"fixed"===s&&"mui-fixed"),ref:r},l))})),Yr=Kr;var Xr=function(e){var t=(0,o.useContext)(u).elements;return e?e.split(".").reduce((function(e,t){return e&&e[t]?e[t]:null}),t):t},Jr=r(90247);function Qr(){const e=(0,Et.Z)(Jr.Z);return e[He.Z]||e}var en=r(20539),tn=r(58974);function rn(e,t,r,n,i){const[a,s]=o.useState((()=>i&&r?r(e).matches:n?n(e).matches:t));return(0,tn.Z)((()=>{let t=!0;if(!r)return;const n=r(e),o=()=>{t&&s(n.matches)};return o(),n.addListener(o),()=>{t=!1,n.removeListener(o)}}),[e,r]),a}const nn=o.useSyncExternalStore;function on(e,t,r,n,i){const a=o.useCallback((()=>t),[t]),s=o.useMemo((()=>{if(i&&r)return()=>r(e).matches;if(null!==n){const{matches:t}=n(e);return()=>t}return a}),[a,e,n,i,r]),[l,c]=o.useMemo((()=>{if(null===r)return[a,()=>()=>{}];const t=r(e);return[()=>t.matches,e=>(t.addListener(e),()=>{t.removeListener(e)})]}),[a,r,e]);return nn(c,l,s)}function an(e,t={}){const r=(0,ze.Z)(),n="undefined"!=typeof window&&void 0!==window.matchMedia,{defaultMatches:o=!1,matchMedia:i=(n?window.matchMedia:null),ssrMatchMedia:a=null,noSsr:s=!1}=(0,en.Z)({name:"MuiUseMediaQuery",props:t,theme:r});let l="function"==typeof e?e(r):e;l=l.replace(/^@media( ?)/m,"");return(void 0!==nn?on:rn)(l,o,i,a,s)}function sn(e){return sn="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},sn(e)}var ln=/^\s+/,cn=/\s+$/;function un(e,t){if(t=t||{},(e=e||"")instanceof un)return e;if(!(this instanceof un))return new un(e,t);var r=function(e){var t={r:0,g:0,b:0},r=1,n=null,o=null,i=null,a=!1,s=!1;"string"==typeof e&&(e=function(e){e=e.replace(ln,"").replace(cn,"").toLowerCase();var t,r=!1;if(Cn[e])e=Cn[e],r=!0;else if("transparent"==e)return{r:0,g:0,b:0,a:0,format:"name"};if(t=zn.rgb.exec(e))return{r:t[1],g:t[2],b:t[3]};if(t=zn.rgba.exec(e))return{r:t[1],g:t[2],b:t[3],a:t[4]};if(t=zn.hsl.exec(e))return{h:t[1],s:t[2],l:t[3]};if(t=zn.hsla.exec(e))return{h:t[1],s:t[2],l:t[3],a:t[4]};if(t=zn.hsv.exec(e))return{h:t[1],s:t[2],v:t[3]};if(t=zn.hsva.exec(e))return{h:t[1],s:t[2],v:t[3],a:t[4]};if(t=zn.hex8.exec(e))return{r:An(t[1]),g:An(t[2]),b:An(t[3]),a:Ln(t[4]),format:r?"name":"hex8"};if(t=zn.hex6.exec(e))return{r:An(t[1]),g:An(t[2]),b:An(t[3]),format:r?"name":"hex"};if(t=zn.hex4.exec(e))return{r:An(t[1]+""+t[1]),g:An(t[2]+""+t[2]),b:An(t[3]+""+t[3]),a:Ln(t[4]+""+t[4]),format:r?"name":"hex8"};if(t=zn.hex3.exec(e))return{r:An(t[1]+""+t[1]),g:An(t[2]+""+t[2]),b:An(t[3]+""+t[3]),format:r?"name":"hex"};return!1}(e));"object"==sn(e)&&(Bn(e.r)&&Bn(e.g)&&Bn(e.b)?(t=function(e,t,r){return{r:255*Pn(e,255),g:255*Pn(t,255),b:255*Pn(r,255)}}(e.r,e.g,e.b),a=!0,s="%"===String(e.r).substr(-1)?"prgb":"rgb"):Bn(e.h)&&Bn(e.s)&&Bn(e.v)?(n=Nn(e.s),o=Nn(e.v),t=function(e,t,r){e=6*Pn(e,360),t=Pn(t,100),r=Pn(r,100);var n=Math.floor(e),o=e-n,i=r*(1-t),a=r*(1-o*t),s=r*(1-(1-o)*t),l=n%6,c=[r,a,i,i,s,r][l],u=[s,r,r,a,i,i][l],d=[i,i,s,r,r,a][l];return{r:255*c,g:255*u,b:255*d}}(e.h,n,o),a=!0,s="hsv"):Bn(e.h)&&Bn(e.s)&&Bn(e.l)&&(n=Nn(e.s),i=Nn(e.l),t=function(e,t,r){var n,o,i;function a(e,t,r){return r<0&&(r+=1),r>1&&(r-=1),r<1/6?e+6*(t-e)*r:r<.5?t:r<2/3?e+(t-e)*(2/3-r)*6:e}if(e=Pn(e,360),t=Pn(t,100),r=Pn(r,100),0===t)n=o=i=r;else{var s=r<.5?r*(1+t):r+t-r*t,l=2*r-s;n=a(l,s,e+1/3),o=a(l,s,e),i=a(l,s,e-1/3)}return{r:255*n,g:255*o,b:255*i}}(e.h,n,i),a=!0,s="hsl"),e.hasOwnProperty("a")&&(r=e.a));return r=Rn(r),{ok:a,format:e.format||s,r:Math.min(255,Math.max(t.r,0)),g:Math.min(255,Math.max(t.g,0)),b:Math.min(255,Math.max(t.b,0)),a:r}}(e);this._originalInput=e,this._r=r.r,this._g=r.g,this._b=r.b,this._a=r.a,this._roundA=Math.round(100*this._a)/100,this._format=t.format||r.format,this._gradientType=t.gradientType,this._r<1&&(this._r=Math.round(this._r)),this._g<1&&(this._g=Math.round(this._g)),this._b<1&&(this._b=Math.round(this._b)),this._ok=r.ok}function dn(e,t,r){e=Pn(e,255),t=Pn(t,255),r=Pn(r,255);var n,o,i=Math.max(e,t,r),a=Math.min(e,t,r),s=(i+a)/2;if(i==a)n=o=0;else{var l=i-a;switch(o=s>.5?l/(2-i-a):l/(i+a),i){case e:n=(t-r)/l+(t<r?6:0);break;case t:n=(r-e)/l+2;break;case r:n=(e-t)/l+4}n/=6}return{h:n,s:o,l:s}}function pn(e,t,r){e=Pn(e,255),t=Pn(t,255),r=Pn(r,255);var n,o,i=Math.max(e,t,r),a=Math.min(e,t,r),s=i,l=i-a;if(o=0===i?0:l/i,i==a)n=0;else{switch(i){case e:n=(t-r)/l+(t<r?6:0);break;case t:n=(r-e)/l+2;break;case r:n=(e-t)/l+4}n/=6}return{h:n,s:o,v:s}}function fn(e,t,r,n){var o=[jn(Math.round(e).toString(16)),jn(Math.round(t).toString(16)),jn(Math.round(r).toString(16))];return n&&o[0].charAt(0)==o[0].charAt(1)&&o[1].charAt(0)==o[1].charAt(1)&&o[2].charAt(0)==o[2].charAt(1)?o[0].charAt(0)+o[1].charAt(0)+o[2].charAt(0):o.join("")}function hn(e,t,r,n){return[jn(_n(n)),jn(Math.round(e).toString(16)),jn(Math.round(t).toString(16)),jn(Math.round(r).toString(16))].join("")}function mn(e,t){t=0===t?0:t||10;var r=un(e).toHsl();return r.s-=t/100,r.s=Tn(r.s),un(r)}function gn(e,t){t=0===t?0:t||10;var r=un(e).toHsl();return r.s+=t/100,r.s=Tn(r.s),un(r)}function vn(e){return un(e).desaturate(100)}function bn(e,t){t=0===t?0:t||10;var r=un(e).toHsl();return r.l+=t/100,r.l=Tn(r.l),un(r)}function yn(e,t){t=0===t?0:t||10;var r=un(e).toRgb();return r.r=Math.max(0,Math.min(255,r.r-Math.round(-t/100*255))),r.g=Math.max(0,Math.min(255,r.g-Math.round(-t/100*255))),r.b=Math.max(0,Math.min(255,r.b-Math.round(-t/100*255))),un(r)}function xn(e,t){t=0===t?0:t||10;var r=un(e).toHsl();return r.l-=t/100,r.l=Tn(r.l),un(r)}function wn(e,t){var r=un(e).toHsl(),n=(r.h+t)%360;return r.h=n<0?360+n:n,un(r)}function kn(e){var t=un(e).toHsl();return t.h=(t.h+180)%360,un(t)}function Sn(e,t){if(isNaN(t)||t<=0)throw new Error("Argument to polyad must be a positive number");for(var r=un(e).toHsl(),n=[un(e)],o=360/t,i=1;i<t;i++)n.push(un({h:(r.h+i*o)%360,s:r.s,l:r.l}));return n}function En(e){var t=un(e).toHsl(),r=t.h;return[un(e),un({h:(r+72)%360,s:t.s,l:t.l}),un({h:(r+216)%360,s:t.s,l:t.l})]}function Zn(e,t,r){t=t||6,r=r||30;var n=un(e).toHsl(),o=360/r,i=[un(e)];for(n.h=(n.h-(o*t>>1)+720)%360;--t;)n.h=(n.h+o)%360,i.push(un(n));return i}function On(e,t){t=t||6;for(var r=un(e).toHsv(),n=r.h,o=r.s,i=r.v,a=[],s=1/t;t--;)a.push(un({h:n,s:o,v:i})),i=(i+s)%1;return a}un.prototype={isDark:function(){return this.getBrightness()<128},isLight:function(){return!this.isDark()},isValid:function(){return this._ok},getOriginalInput:function(){return this._originalInput},getFormat:function(){return this._format},getAlpha:function(){return this._a},getBrightness:function(){var e=this.toRgb();return(299*e.r+587*e.g+114*e.b)/1e3},getLuminance:function(){var e,t,r,n=this.toRgb();return e=n.r/255,t=n.g/255,r=n.b/255,.2126*(e<=.03928?e/12.92:Math.pow((e+.055)/1.055,2.4))+.7152*(t<=.03928?t/12.92:Math.pow((t+.055)/1.055,2.4))+.0722*(r<=.03928?r/12.92:Math.pow((r+.055)/1.055,2.4))},setAlpha:function(e){return this._a=Rn(e),this._roundA=Math.round(100*this._a)/100,this},toHsv:function(){var e=pn(this._r,this._g,this._b);return{h:360*e.h,s:e.s,v:e.v,a:this._a}},toHsvString:function(){var e=pn(this._r,this._g,this._b),t=Math.round(360*e.h),r=Math.round(100*e.s),n=Math.round(100*e.v);return 1==this._a?"hsv("+t+", "+r+"%, "+n+"%)":"hsva("+t+", "+r+"%, "+n+"%, "+this._roundA+")"},toHsl:function(){var e=dn(this._r,this._g,this._b);return{h:360*e.h,s:e.s,l:e.l,a:this._a}},toHslString:function(){var e=dn(this._r,this._g,this._b),t=Math.round(360*e.h),r=Math.round(100*e.s),n=Math.round(100*e.l);return 1==this._a?"hsl("+t+", "+r+"%, "+n+"%)":"hsla("+t+", "+r+"%, "+n+"%, "+this._roundA+")"},toHex:function(e){return fn(this._r,this._g,this._b,e)},toHexString:function(e){return"#"+this.toHex(e)},toHex8:function(e){return function(e,t,r,n,o){var i=[jn(Math.round(e).toString(16)),jn(Math.round(t).toString(16)),jn(Math.round(r).toString(16)),jn(_n(n))];if(o&&i[0].charAt(0)==i[0].charAt(1)&&i[1].charAt(0)==i[1].charAt(1)&&i[2].charAt(0)==i[2].charAt(1)&&i[3].charAt(0)==i[3].charAt(1))return i[0].charAt(0)+i[1].charAt(0)+i[2].charAt(0)+i[3].charAt(0);return i.join("")}(this._r,this._g,this._b,this._a,e)},toHex8String:function(e){return"#"+this.toHex8(e)},toRgb:function(){return{r:Math.round(this._r),g:Math.round(this._g),b:Math.round(this._b),a:this._a}},toRgbString:function(){return 1==this._a?"rgb("+Math.round(this._r)+", "+Math.round(this._g)+", "+Math.round(this._b)+")":"rgba("+Math.round(this._r)+", "+Math.round(this._g)+", "+Math.round(this._b)+", "+this._roundA+")"},toPercentageRgb:function(){return{r:Math.round(100*Pn(this._r,255))+"%",g:Math.round(100*Pn(this._g,255))+"%",b:Math.round(100*Pn(this._b,255))+"%",a:this._a}},toPercentageRgbString:function(){return 1==this._a?"rgb("+Math.round(100*Pn(this._r,255))+"%, "+Math.round(100*Pn(this._g,255))+"%, "+Math.round(100*Pn(this._b,255))+"%)":"rgba("+Math.round(100*Pn(this._r,255))+"%, "+Math.round(100*Pn(this._g,255))+"%, "+Math.round(100*Pn(this._b,255))+"%, "+this._roundA+")"},toName:function(){return 0===this._a?"transparent":!(this._a<1)&&(Mn[fn(this._r,this._g,this._b,!0)]||!1)},toFilter:function(e){var t="#"+hn(this._r,this._g,this._b,this._a),r=t,n=this._gradientType?"GradientType = 1, ":"";if(e){var o=un(e);r="#"+hn(o._r,o._g,o._b,o._a)}return"progid:DXImageTransform.Microsoft.gradient("+n+"startColorstr="+t+",endColorstr="+r+")"},toString:function(e){var t=!!e;e=e||this._format;var r=!1,n=this._a<1&&this._a>=0;return t||!n||"hex"!==e&&"hex6"!==e&&"hex3"!==e&&"hex4"!==e&&"hex8"!==e&&"name"!==e?("rgb"===e&&(r=this.toRgbString()),"prgb"===e&&(r=this.toPercentageRgbString()),"hex"!==e&&"hex6"!==e||(r=this.toHexString()),"hex3"===e&&(r=this.toHexString(!0)),"hex4"===e&&(r=this.toHex8String(!0)),"hex8"===e&&(r=this.toHex8String()),"name"===e&&(r=this.toName()),"hsl"===e&&(r=this.toHslString()),"hsv"===e&&(r=this.toHsvString()),r||this.toHexString()):"name"===e&&0===this._a?this.toName():this.toRgbString()},clone:function(){return un(this.toString())},_applyModification:function(e,t){var r=e.apply(null,[this].concat([].slice.call(t)));return this._r=r._r,this._g=r._g,this._b=r._b,this.setAlpha(r._a),this},lighten:function(){return this._applyModification(bn,arguments)},brighten:function(){return this._applyModification(yn,arguments)},darken:function(){return this._applyModification(xn,arguments)},desaturate:function(){return this._applyModification(mn,arguments)},saturate:function(){return this._applyModification(gn,arguments)},greyscale:function(){return this._applyModification(vn,arguments)},spin:function(){return this._applyModification(wn,arguments)},_applyCombination:function(e,t){return e.apply(null,[this].concat([].slice.call(t)))},analogous:function(){return this._applyCombination(Zn,arguments)},complement:function(){return this._applyCombination(kn,arguments)},monochromatic:function(){return this._applyCombination(On,arguments)},splitcomplement:function(){return this._applyCombination(En,arguments)},triad:function(){return this._applyCombination(Sn,[3])},tetrad:function(){return this._applyCombination(Sn,[4])}},un.fromRatio=function(e,t){if("object"==sn(e)){var r={};for(var n in e)e.hasOwnProperty(n)&&(r[n]="a"===n?e[n]:Nn(e[n]));e=r}return un(e,t)},un.equals=function(e,t){return!(!e||!t)&&un(e).toRgbString()==un(t).toRgbString()},un.random=function(){return un.fromRatio({r:Math.random(),g:Math.random(),b:Math.random()})},un.mix=function(e,t,r){r=0===r?0:r||50;var n=un(e).toRgb(),o=un(t).toRgb(),i=r/100;return un({r:(o.r-n.r)*i+n.r,g:(o.g-n.g)*i+n.g,b:(o.b-n.b)*i+n.b,a:(o.a-n.a)*i+n.a})},un.readability=function(e,t){var r=un(e),n=un(t);return(Math.max(r.getLuminance(),n.getLuminance())+.05)/(Math.min(r.getLuminance(),n.getLuminance())+.05)},un.isReadable=function(e,t,r){var n,o,i=un.readability(e,t);switch(o=!1,(n=function(e){var t,r;t=((e=e||{level:"AA",size:"small"}).level||"AA").toUpperCase(),r=(e.size||"small").toLowerCase(),"AA"!==t&&"AAA"!==t&&(t="AA");"small"!==r&&"large"!==r&&(r="small");return{level:t,size:r}}(r)).level+n.size){case"AAsmall":case"AAAlarge":o=i>=4.5;break;case"AAlarge":o=i>=3;break;case"AAAsmall":o=i>=7}return o},un.mostReadable=function(e,t,r){var n,o,i,a,s=null,l=0;o=(r=r||{}).includeFallbackColors,i=r.level,a=r.size;for(var c=0;c<t.length;c++)(n=un.readability(e,t[c]))>l&&(l=n,s=un(t[c]));return un.isReadable(e,s,{level:i,size:a})||!o?s:(r.includeFallbackColors=!1,un.mostReadable(e,["#fff","#000"],r))};var Cn=un.names={aliceblue:"f0f8ff",antiquewhite:"faebd7",aqua:"0ff",aquamarine:"7fffd4",azure:"f0ffff",beige:"f5f5dc",bisque:"ffe4c4",black:"000",blanchedalmond:"ffebcd",blue:"00f",blueviolet:"8a2be2",brown:"a52a2a",burlywood:"deb887",burntsienna:"ea7e5d",cadetblue:"5f9ea0",chartreuse:"7fff00",chocolate:"d2691e",coral:"ff7f50",cornflowerblue:"6495ed",cornsilk:"fff8dc",crimson:"dc143c",cyan:"0ff",darkblue:"00008b",darkcyan:"008b8b",darkgoldenrod:"b8860b",darkgray:"a9a9a9",darkgreen:"006400",darkgrey:"a9a9a9",darkkhaki:"bdb76b",darkmagenta:"8b008b",darkolivegreen:"556b2f",darkorange:"ff8c00",darkorchid:"9932cc",darkred:"8b0000",darksalmon:"e9967a",darkseagreen:"8fbc8f",darkslateblue:"483d8b",darkslategray:"2f4f4f",darkslategrey:"2f4f4f",darkturquoise:"00ced1",darkviolet:"9400d3",deeppink:"ff1493",deepskyblue:"00bfff",dimgray:"696969",dimgrey:"696969",dodgerblue:"1e90ff",firebrick:"b22222",floralwhite:"fffaf0",forestgreen:"228b22",fuchsia:"f0f",gainsboro:"dcdcdc",ghostwhite:"f8f8ff",gold:"ffd700",goldenrod:"daa520",gray:"808080",green:"008000",greenyellow:"adff2f",grey:"808080",honeydew:"f0fff0",hotpink:"ff69b4",indianred:"cd5c5c",indigo:"4b0082",ivory:"fffff0",khaki:"f0e68c",lavender:"e6e6fa",lavenderblush:"fff0f5",lawngreen:"7cfc00",lemonchiffon:"fffacd",lightblue:"add8e6",lightcoral:"f08080",lightcyan:"e0ffff",lightgoldenrodyellow:"fafad2",lightgray:"d3d3d3",lightgreen:"90ee90",lightgrey:"d3d3d3",lightpink:"ffb6c1",lightsalmon:"ffa07a",lightseagreen:"20b2aa",lightskyblue:"87cefa",lightslategray:"789",lightslategrey:"789",lightsteelblue:"b0c4de",lightyellow:"ffffe0",lime:"0f0",limegreen:"32cd32",linen:"faf0e6",magenta:"f0f",maroon:"800000",mediumaquamarine:"66cdaa",mediumblue:"0000cd",mediumorchid:"ba55d3",mediumpurple:"9370db",mediumseagreen:"3cb371",mediumslateblue:"7b68ee",mediumspringgreen:"00fa9a",mediumturquoise:"48d1cc",mediumvioletred:"c71585",midnightblue:"191970",mintcream:"f5fffa",mistyrose:"ffe4e1",moccasin:"ffe4b5",navajowhite:"ffdead",navy:"000080",oldlace:"fdf5e6",olive:"808000",olivedrab:"6b8e23",orange:"ffa500",orangered:"ff4500",orchid:"da70d6",palegoldenrod:"eee8aa",palegreen:"98fb98",paleturquoise:"afeeee",palevioletred:"db7093",papayawhip:"ffefd5",peachpuff:"ffdab9",peru:"cd853f",pink:"ffc0cb",plum:"dda0dd",powderblue:"b0e0e6",purple:"800080",rebeccapurple:"663399",red:"f00",rosybrown:"bc8f8f",royalblue:"4169e1",saddlebrown:"8b4513",salmon:"fa8072",sandybrown:"f4a460",seagreen:"2e8b57",seashell:"fff5ee",sienna:"a0522d",silver:"c0c0c0",skyblue:"87ceeb",slateblue:"6a5acd",slategray:"708090",slategrey:"708090",snow:"fffafa",springgreen:"00ff7f",steelblue:"4682b4",tan:"d2b48c",teal:"008080",thistle:"d8bfd8",tomato:"ff6347",turquoise:"40e0d0",violet:"ee82ee",wheat:"f5deb3",white:"fff",whitesmoke:"f5f5f5",yellow:"ff0",yellowgreen:"9acd32"},Mn=un.hexNames=function(e){var t={};for(var r in e)e.hasOwnProperty(r)&&(t[e[r]]=r);return t}(Cn);function Rn(e){return e=parseFloat(e),(isNaN(e)||e<0||e>1)&&(e=1),e}function Pn(e,t){(function(e){return"string"==typeof e&&-1!=e.indexOf(".")&&1===parseFloat(e)})(e)&&(e="100%");var r=function(e){return"string"==typeof e&&-1!=e.indexOf("%")}(e);return e=Math.min(t,Math.max(0,parseFloat(e))),r&&(e=parseInt(e*t,10)/100),Math.abs(e-t)<1e-6?1:e%t/parseFloat(t)}function Tn(e){return Math.min(1,Math.max(0,e))}function An(e){return parseInt(e,16)}function jn(e){return 1==e.length?"0"+e:""+e}function Nn(e){return e<=1&&(e=100*e+"%"),e}function _n(e){return Math.round(255*parseFloat(e)).toString(16)}function Ln(e){return An(e)/255}var In,Fn,$n,zn=(Fn="[\\s|\\(]+("+(In="(?:[-\\+]?\\d*\\.\\d+%?)|(?:[-\\+]?\\d+%?)")+")[,|\\s]+("+In+")[,|\\s]+("+In+")\\s*\\)?",$n="[\\s|\\(]+("+In+")[,|\\s]+("+In+")[,|\\s]+("+In+")[,|\\s]+("+In+")\\s*\\)?",{CSS_UNIT:new RegExp(In),rgb:new RegExp("rgb"+Fn),rgba:new RegExp("rgba"+$n),hsl:new RegExp("hsl"+Fn),hsla:new RegExp("hsla"+$n),hsv:new RegExp("hsv"+Fn),hsva:new RegExp("hsva"+$n),hex3:/^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex6:/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/,hex4:/^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex8:/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/});function Bn(e){return!!zn.CSS_UNIT.exec(e)}var Dn=function(e){for(var t="".concat(e,"="),r=decodeURIComponent(document.cookie).split(";"),n=0;n<r.length;n++){for(var o=r[n];" "===o.charAt(0);)o=o.substring(1);if(0===o.indexOf(t))return o.substring(t.length,o.length)}return""},Wn=function(e){if(!e)return"/";var t;t=e.startsWith("https")||e.startsWith("http")||e.startsWith("mailto")||e.startsWith("#")||e.startsWith("/")||e.startsWith("tel")||e.startsWith("sms")?e:-1!==e.indexOf(".")?"https://"+e:"";var r,n=((r=window.location.pathname).includes("/r/")&&(r=(r=r.substring(0,r.indexOf("/r/"))).substring(0,r.lastIndexOf("/"))),r+(r.endsWith("/")?"":"/"));return t&&t.startsWith(n+"#")?"#"+t.split("#")[1]:t},Hn=function(e,t){return e.endsWith("decoratedLink")?t.map((function(e){return Gn(e)})):e.endsWith("link")?t.map((function(e){return Un(e)})):[]},qn=function(e){return e.map((function(e){var t,r,n,o,i,a;return{name:e.name,className:e.className,styles:e.styles,categoryLink:{action:e.categoryLink.action.action,modalSize:(null===(n=null===(r=null===(t=e.categoryLink.action)||void 0===t?void 0:t.options)||void 0===r?void 0:r.modalOptions)||void 0===n?void 0:n.modalSize)?null===(a=null===(i=null===(o=e.categoryLink.action)||void 0===o?void 0:o.options)||void 0===i?void 0:i.modalOptions)||void 0===a?void 0:a.modalSize:"md",value:e.categoryLink.value,enabled:e.categoryLink.enabled,className:e.categoryLink.className,styles:e.categoryLink.styles,href:Wn(e.categoryLink.action.options.url.destination),signOut:"action:signout"===e.categoryLink.action.options.url.destination,target:e.categoryLink.action.options.url.target||"_self"},subLinks:e.subLinks&&e.subLinks.items?Hn(e.subLinks.item_type,e.subLinks.items):[]}}))},Un=function(e,t,r){var n,o,i,a;return{value:e.value,className:e.className,styles:e.styles,href:Wn(e.action.options.url.destination),action:e.action.action,modalSize:(null===(o=null===(n=e.action.options)||void 0===n?void 0:n.modalOptions)||void 0===o?void 0:o.modalSize)?null===(a=null===(i=e.action.options)||void 0===i?void 0:i.modalOptions)||void 0===a?void 0:a.modalSize:"md",signOut:"action:signout"===e.action.options.url.destination,target:e.action.options.url.target||"_self",subLinks:t&&t.items?Hn(t.item_type,t.items):[],categories:r&&r.items?qn(r.items):[]}},Gn=function(e){var t,r,n,o,i=e.link,a=e.icon,s=e.description;return{value:i.value,className:i.className,styles:i.styles,href:Wn(i.action.options.url.destination),action:i.action.action,modalSize:(null===(r=null===(t=i.action.options)||void 0===t?void 0:t.modalOptions)||void 0===r?void 0:r.modalSize)?null===(o=null===(n=i.action.options)||void 0===n?void 0:n.modalOptions)||void 0===o?void 0:o.modalSize:"md",signOut:"action:signout"===i.action.options.url.destination,target:i.action.options.url.target||"_self",description:{value:s.value,className:s.className||"",styles:s.styles||{}},icon:{value:a.value,src:a.src,className:a.className||"",styles:a.styles||{}}}},Vn=function(e){void 0===e&&(e="links");var t=Xr(e);return(0,o.useMemo)((function(){return function(e){return e.items.map((function(e){var t=e.link,r=e.subLinks,n=e.categories;return Un(t,r,n)}))}(t)}),[t])},Kn=function(){return window.location.href.includes("viewMode=modal")},Yn=function(){return"function"==typeof window.openSwModal},Xn=r(9669),Jn=r.n(Xn);function Qn(e){return"function"==typeof e}function eo(e){return function(t){if(function(e){return Qn(null==e?void 0:e.lift)}(t))return t.lift((function(t){try{return e(t,this)}catch(r){this.error(r)}}));throw new TypeError("Unable to lift unknown Observable type")}}var to=function(e,t){return to=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])},to(e,t)};function ro(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function r(){this.constructor=e}to(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)}function no(e,t,r,n){return new(r||(r=Promise))((function(o,i){function a(e){try{l(n.next(e))}catch(t){i(t)}}function s(e){try{l(n.throw(e))}catch(t){i(t)}}function l(e){var t;e.done?o(e.value):(t=e.value,t instanceof r?t:new r((function(e){e(t)}))).then(a,s)}l((n=n.apply(e,t||[])).next())}))}function oo(e,t){var r,n,o,i,a={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return i={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function s(s){return function(l){return function(s){if(r)throw new TypeError("Generator is already executing.");for(;i&&(i=0,s[0]&&(a=0)),a;)try{if(r=1,n&&(o=2&s[0]?n.return:s[0]?n.throw||((o=n.return)&&o.call(n),0):n.next)&&!(o=o.call(n,s[1])).done)return o;switch(n=0,o&&(s=[2&s[0],o.value]),s[0]){case 0:case 1:o=s;break;case 4:return a.label++,{value:s[1],done:!1};case 5:a.label++,n=s[1],s=[0];continue;case 7:s=a.ops.pop(),a.trys.pop();continue;default:if(!(o=a.trys,(o=o.length>0&&o[o.length-1])||6!==s[0]&&2!==s[0])){a=0;continue}if(3===s[0]&&(!o||s[1]>o[0]&&s[1]<o[3])){a.label=s[1];break}if(6===s[0]&&a.label<o[1]){a.label=o[1],o=s;break}if(o&&a.label<o[2]){a.label=o[2],a.ops.push(s);break}o[2]&&a.ops.pop(),a.trys.pop();continue}s=t.call(e,a)}catch(l){s=[6,l],n=0}finally{r=o=0}if(5&s[0])throw s[1];return{value:s[0]?s[1]:void 0,done:!0}}([s,l])}}}Object.create;function io(e){var t="function"==typeof Symbol&&Symbol.iterator,r=t&&e[t],n=0;if(r)return r.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&n>=e.length&&(e=void 0),{value:e&&e[n++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")}function ao(e,t){var r="function"==typeof Symbol&&e[Symbol.iterator];if(!r)return e;var n,o,i=r.call(e),a=[];try{for(;(void 0===t||t-- >0)&&!(n=i.next()).done;)a.push(n.value)}catch(s){o={error:s}}finally{try{n&&!n.done&&(r=i.return)&&r.call(i)}finally{if(o)throw o.error}}return a}function so(e,t,r){if(r||2===arguments.length)for(var n,o=0,i=t.length;o<i;o++)!n&&o in t||(n||(n=Array.prototype.slice.call(t,0,o)),n[o]=t[o]);return e.concat(n||Array.prototype.slice.call(t))}function lo(e){return this instanceof lo?(this.v=e,this):new lo(e)}function co(e,t,r){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var n,o=r.apply(e,t||[]),i=[];return n={},a("next"),a("throw"),a("return"),n[Symbol.asyncIterator]=function(){return this},n;function a(e){o[e]&&(n[e]=function(t){return new Promise((function(r,n){i.push([e,t,r,n])>1||s(e,t)}))})}function s(e,t){try{(r=o[e](t)).value instanceof lo?Promise.resolve(r.value.v).then(l,c):u(i[0][2],r)}catch(n){u(i[0][3],n)}var r}function l(e){s("next",e)}function c(e){s("throw",e)}function u(e,t){e(t),i.shift(),i.length&&s(i[0][0],i[0][1])}}function uo(e){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var t,r=e[Symbol.asyncIterator];return r?r.call(e):(e=io(e),t={},n("next"),n("throw"),n("return"),t[Symbol.asyncIterator]=function(){return this},t);function n(r){t[r]=e[r]&&function(t){return new Promise((function(n,o){(function(e,t,r,n){Promise.resolve(n).then((function(t){e({value:t,done:r})}),t)})(n,o,(t=e[r](t)).done,t.value)}))}}}Object.create;"function"==typeof SuppressedError&&SuppressedError;var po=function(e){return e&&"number"==typeof e.length&&"function"!=typeof e};function fo(e){return Qn(null==e?void 0:e.then)}function ho(e){var t=e((function(e){Error.call(e),e.stack=(new Error).stack}));return t.prototype=Object.create(Error.prototype),t.prototype.constructor=t,t}var mo=ho((function(e){return function(t){e(this),this.message=t?t.length+" errors occurred during unsubscription:\n"+t.map((function(e,t){return t+1+") "+e.toString()})).join("\n "):"",this.name="UnsubscriptionError",this.errors=t}}));function go(e,t){if(e){var r=e.indexOf(t);0<=r&&e.splice(r,1)}}var vo=function(){function e(e){this.initialTeardown=e,this.closed=!1,this._parentage=null,this._finalizers=null}return e.prototype.unsubscribe=function(){var e,t,r,n,o;if(!this.closed){this.closed=!0;var i=this._parentage;if(i)if(this._parentage=null,Array.isArray(i))try{for(var a=io(i),s=a.next();!s.done;s=a.next()){s.value.remove(this)}}catch(f){e={error:f}}finally{try{s&&!s.done&&(t=a.return)&&t.call(a)}finally{if(e)throw e.error}}else i.remove(this);var l=this.initialTeardown;if(Qn(l))try{l()}catch(h){o=h instanceof mo?h.errors:[h]}var c=this._finalizers;if(c){this._finalizers=null;try{for(var u=io(c),d=u.next();!d.done;d=u.next()){var p=d.value;try{yo(p)}catch(m){o=null!=o?o:[],m instanceof mo?o=so(so([],ao(o)),ao(m.errors)):o.push(m)}}}catch(g){r={error:g}}finally{try{d&&!d.done&&(n=u.return)&&n.call(u)}finally{if(r)throw r.error}}}if(o)throw new mo(o)}},e.prototype.add=function(t){var r;if(t&&t!==this)if(this.closed)yo(t);else{if(t instanceof e){if(t.closed||t._hasParent(this))return;t._addParent(this)}(this._finalizers=null!==(r=this._finalizers)&&void 0!==r?r:[]).push(t)}},e.prototype._hasParent=function(e){var t=this._parentage;return t===e||Array.isArray(t)&&t.includes(e)},e.prototype._addParent=function(e){var t=this._parentage;this._parentage=Array.isArray(t)?(t.push(e),t):t?[t,e]:e},e.prototype._removeParent=function(e){var t=this._parentage;t===e?this._parentage=null:Array.isArray(t)&&go(t,e)},e.prototype.remove=function(t){var r=this._finalizers;r&&go(r,t),t instanceof e&&t._removeParent(this)},e.EMPTY=function(){var t=new e;return t.closed=!0,t}(),e}();vo.EMPTY;function bo(e){return e instanceof vo||e&&"closed"in e&&Qn(e.remove)&&Qn(e.add)&&Qn(e.unsubscribe)}function yo(e){Qn(e)?e():e.unsubscribe()}var xo={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1},wo={setTimeout:function(e,t){for(var r=[],n=2;n<arguments.length;n++)r[n-2]=arguments[n];var o=wo.delegate;return(null==o?void 0:o.setTimeout)?o.setTimeout.apply(o,so([e,t],ao(r))):setTimeout.apply(void 0,so([e,t],ao(r)))},clearTimeout:function(e){var t=wo.delegate;return((null==t?void 0:t.clearTimeout)||clearTimeout)(e)},delegate:void 0};function ko(e){wo.setTimeout((function(){var t=xo.onUnhandledError;if(!t)throw e;t(e)}))}function So(){}var Eo=Zo("C",void 0,void 0);function Zo(e,t,r){return{kind:e,value:t,error:r}}var Oo=null;var Co=function(e){function t(t){var r=e.call(this)||this;return r.isStopped=!1,t?(r.destination=t,bo(t)&&t.add(r)):r.destination=No,r}return ro(t,e),t.create=function(e,t,r){return new To(e,t,r)},t.prototype.next=function(e){this.isStopped?jo(function(e){return Zo("N",e,void 0)}(e),this):this._next(e)},t.prototype.error=function(e){this.isStopped?jo(Zo("E",void 0,e),this):(this.isStopped=!0,this._error(e))},t.prototype.complete=function(){this.isStopped?jo(Eo,this):(this.isStopped=!0,this._complete())},t.prototype.unsubscribe=function(){this.closed||(this.isStopped=!0,e.prototype.unsubscribe.call(this),this.destination=null)},t.prototype._next=function(e){this.destination.next(e)},t.prototype._error=function(e){try{this.destination.error(e)}finally{this.unsubscribe()}},t.prototype._complete=function(){try{this.destination.complete()}finally{this.unsubscribe()}},t}(vo),Mo=Function.prototype.bind;function Ro(e,t){return Mo.call(e,t)}var Po=function(){function e(e){this.partialObserver=e}return e.prototype.next=function(e){var t=this.partialObserver;if(t.next)try{t.next(e)}catch(r){Ao(r)}},e.prototype.error=function(e){var t=this.partialObserver;if(t.error)try{t.error(e)}catch(r){Ao(r)}else Ao(e)},e.prototype.complete=function(){var e=this.partialObserver;if(e.complete)try{e.complete()}catch(t){Ao(t)}},e}(),To=function(e){function t(t,r,n){var o,i,a=e.call(this)||this;Qn(t)||!t?o={next:null!=t?t:void 0,error:null!=r?r:void 0,complete:null!=n?n:void 0}:a&&xo.useDeprecatedNextContext?((i=Object.create(t)).unsubscribe=function(){return a.unsubscribe()},o={next:t.next&&Ro(t.next,i),error:t.error&&Ro(t.error,i),complete:t.complete&&Ro(t.complete,i)}):o=t;return a.destination=new Po(o),a}return ro(t,e),t}(Co);function Ao(e){var t;xo.useDeprecatedSynchronousErrorHandling?(t=e,xo.useDeprecatedSynchronousErrorHandling&&Oo&&(Oo.errorThrown=!0,Oo.error=t)):ko(e)}function jo(e,t){var r=xo.onStoppedNotification;r&&wo.setTimeout((function(){return r(e,t)}))}var No={closed:!0,next:So,error:function(e){throw e},complete:So},_o="function"==typeof Symbol&&Symbol.observable||"@@observable";function Lo(e){return e}function Io(e){return 0===e.length?Lo:1===e.length?e[0]:function(t){return e.reduce((function(e,t){return t(e)}),t)}}var Fo=function(){function e(e){e&&(this._subscribe=e)}return e.prototype.lift=function(t){var r=new e;return r.source=this,r.operator=t,r},e.prototype.subscribe=function(e,t,r){var n,o=this,i=(n=e)&&n instanceof Co||function(e){return e&&Qn(e.next)&&Qn(e.error)&&Qn(e.complete)}(n)&&bo(n)?e:new To(e,t,r);return function(e){if(xo.useDeprecatedSynchronousErrorHandling){var t=!Oo;if(t&&(Oo={errorThrown:!1,error:null}),e(),t){var r=Oo,n=r.errorThrown,o=r.error;if(Oo=null,n)throw o}}else e()}((function(){var e=o,t=e.operator,r=e.source;i.add(t?t.call(i,r):r?o._subscribe(i):o._trySubscribe(i))})),i},e.prototype._trySubscribe=function(e){try{return this._subscribe(e)}catch(t){e.error(t)}},e.prototype.forEach=function(e,t){var r=this;return new(t=$o(t))((function(t,n){var o=new To({next:function(t){try{e(t)}catch(r){n(r),o.unsubscribe()}},error:n,complete:t});r.subscribe(o)}))},e.prototype._subscribe=function(e){var t;return null===(t=this.source)||void 0===t?void 0:t.subscribe(e)},e.prototype[_o]=function(){return this},e.prototype.pipe=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return Io(e)(this)},e.prototype.toPromise=function(e){var t=this;return new(e=$o(e))((function(e,r){var n;t.subscribe((function(e){return n=e}),(function(e){return r(e)}),(function(){return e(n)}))}))},e.create=function(t){return new e(t)},e}();function $o(e){var t;return null!==(t=null!=e?e:xo.Promise)&&void 0!==t?t:Promise}function zo(e){return Qn(e[_o])}function Bo(e){return Symbol.asyncIterator&&Qn(null==e?void 0:e[Symbol.asyncIterator])}function Do(e){return new TypeError("You provided "+(null!==e&&"object"==typeof e?"an invalid object":"'"+e+"'")+" where a stream was expected. You can provide an Observable, Promise, ReadableStream, Array, AsyncIterable, or Iterable.")}var Wo="function"==typeof Symbol&&Symbol.iterator?Symbol.iterator:"@@iterator";function Ho(e){return Qn(null==e?void 0:e[Wo])}function qo(e){return co(this,arguments,(function(){var t,r,n;return oo(this,(function(o){switch(o.label){case 0:t=e.getReader(),o.label=1;case 1:o.trys.push([1,,9,10]),o.label=2;case 2:return[4,lo(t.read())];case 3:return r=o.sent(),n=r.value,r.done?[4,lo(void 0)]:[3,5];case 4:return[2,o.sent()];case 5:return[4,lo(n)];case 6:return[4,o.sent()];case 7:return o.sent(),[3,2];case 8:return[3,10];case 9:return t.releaseLock(),[7];case 10:return[2]}}))}))}function Uo(e){return Qn(null==e?void 0:e.getReader)}function Go(e){if(e instanceof Fo)return e;if(null!=e){if(zo(e))return o=e,new Fo((function(e){var t=o[_o]();if(Qn(t.subscribe))return t.subscribe(e);throw new TypeError("Provided object does not correctly implement Symbol.observable")}));if(po(e))return n=e,new Fo((function(e){for(var t=0;t<n.length&&!e.closed;t++)e.next(n[t]);e.complete()}));if(fo(e))return r=e,new Fo((function(e){r.then((function(t){e.closed||(e.next(t),e.complete())}),(function(t){return e.error(t)})).then(null,ko)}));if(Bo(e))return Vo(e);if(Ho(e))return t=e,new Fo((function(e){var r,n;try{for(var o=io(t),i=o.next();!i.done;i=o.next()){var a=i.value;if(e.next(a),e.closed)return}}catch(s){r={error:s}}finally{try{i&&!i.done&&(n=o.return)&&n.call(o)}finally{if(r)throw r.error}}e.complete()}));if(Uo(e))return Vo(qo(e))}var t,r,n,o;throw Do(e)}function Vo(e){return new Fo((function(t){(function(e,t){var r,n,o,i;return no(this,void 0,void 0,(function(){var a,s;return oo(this,(function(l){switch(l.label){case 0:l.trys.push([0,5,6,11]),r=uo(e),l.label=1;case 1:return[4,r.next()];case 2:if((n=l.sent()).done)return[3,4];if(a=n.value,t.next(a),t.closed)return[2];l.label=3;case 3:return[3,1];case 4:return[3,11];case 5:return s=l.sent(),o={error:s},[3,11];case 6:return l.trys.push([6,,9,10]),n&&!n.done&&(i=r.return)?[4,i.call(r)]:[3,8];case 7:l.sent(),l.label=8;case 8:return[3,10];case 9:if(o)throw o.error;return[7];case 10:return[7];case 11:return t.complete(),[2]}}))}))})(e,t).catch((function(e){return t.error(e)}))}))}function Ko(e,t,r,n,o){void 0===n&&(n=0),void 0===o&&(o=!1);var i=t.schedule((function(){r(),o?e.add(this.schedule(null,n)):this.unsubscribe()}),n);if(e.add(i),!o)return i}function Yo(e,t,r,n,o){return new Xo(e,t,r,n,o)}var Xo=function(e){function t(t,r,n,o,i,a){var s=e.call(this,t)||this;return s.onFinalize=i,s.shouldUnsubscribe=a,s._next=r?function(e){try{r(e)}catch(n){t.error(n)}}:e.prototype._next,s._error=o?function(e){try{o(e)}catch(e){t.error(e)}finally{this.unsubscribe()}}:e.prototype._error,s._complete=n?function(){try{n()}catch(e){t.error(e)}finally{this.unsubscribe()}}:e.prototype._complete,s}return ro(t,e),t.prototype.unsubscribe=function(){var t;if(!this.shouldUnsubscribe||this.shouldUnsubscribe()){var r=this.closed;e.prototype.unsubscribe.call(this),!r&&(null===(t=this.onFinalize)||void 0===t||t.call(this))}},t}(Co);function Jo(e,t,r){return void 0===t&&(t=1/0),t=(t||0)<1?1/0:t,eo((function(n,o){return function(e,t,r,n,o,i,a,s){var l=[],c=0,u=0,d=!1,p=function(){!d||l.length||c||t.complete()},f=function(e){return c<n?h(e):l.push(e)},h=function(e){i&&t.next(e),c++;var s=!1;Go(r(e,u++)).subscribe(Yo(t,(function(e){null==o||o(e),i?f(e):t.next(e)}),(function(){s=!0}),void 0,(function(){if(s)try{c--;for(var e=function(){var e=l.shift();a?Ko(t,a,(function(){return h(e)})):h(e)};l.length&&c<n;)e();p()}catch(r){t.error(r)}})))};return e.subscribe(Yo(t,f,(function(){d=!0,p()}))),function(){null==s||s()}}(n,o,e,t,void 0,!0,r)}))}function Qo(e,t){return eo((function(r,n){var o=0;r.subscribe(Yo(n,(function(r){n.next(e.call(t,r,o++))})))}))}var ei=new Fo((function(e){return e.complete()}));var ti=ho((function(e){return function(){e(this),this.name="EmptyError",this.message="no elements in sequence"}}));function ri(){return new ti}function ni(e,t){var r=arguments.length>=2;return function(n){return n.pipe(e?function(e,t){return eo((function(r,n){var o=0;r.subscribe(Yo(n,(function(r){return e.call(t,r,o++)&&n.next(r)})))}))}((function(t,r){return e(t,r,n)})):Lo,(i=1)<=0?function(){return ei}:eo((function(e,t){var r=[];e.subscribe(Yo(t,(function(e){r.push(e),i<r.length&&r.shift()}),(function(){var e,n;try{for(var o=io(r),i=o.next();!i.done;i=o.next()){var a=i.value;t.next(a)}}catch(s){e={error:s}}finally{try{i&&!i.done&&(n=o.return)&&n.call(o)}finally{if(e)throw e.error}}t.complete()}),void 0,(function(){r=null})))})),r?function(e){return eo((function(t,r){var n=!1;t.subscribe(Yo(r,(function(e){n=!0,r.next(e)}),(function(){n||r.next(e),r.complete()})))}))}(t):(void 0===(o=function(){return new ti})&&(o=ri),eo((function(e,t){var r=!1;e.subscribe(Yo(t,(function(e){r=!0,t.next(e)}),(function(){return r?t.complete():t.error(o())})))}))));var o,i}}function oi(e,t){return void 0===t&&(t=0),eo((function(r,n){r.subscribe(Yo(n,(function(r){return Ko(n,e,(function(){return n.next(r)}),t)}),(function(){return Ko(n,e,(function(){return n.complete()}),t)}),(function(r){return Ko(n,e,(function(){return n.error(r)}),t)})))}))}function ii(e,t){return void 0===t&&(t=0),eo((function(r,n){n.add(e.schedule((function(){return r.subscribe(n)}),t))}))}function ai(e,t){if(!e)throw new Error("Iterable cannot be null");return new Fo((function(r){Ko(r,t,(function(){var n=e[Symbol.asyncIterator]();Ko(r,t,(function(){n.next().then((function(e){e.done?r.complete():r.next(e.value)}))}),0,!0)}))}))}function si(e,t){if(null!=e){if(zo(e))return function(e,t){return Go(e).pipe(ii(t),oi(t))}(e,t);if(po(e))return function(e,t){return new Fo((function(r){var n=0;return t.schedule((function(){n===e.length?r.complete():(r.next(e[n++]),r.closed||this.schedule())}))}))}(e,t);if(fo(e))return function(e,t){return Go(e).pipe(ii(t),oi(t))}(e,t);if(Bo(e))return ai(e,t);if(Ho(e))return function(e,t){return new Fo((function(r){var n;return Ko(r,t,(function(){n=e[Wo](),Ko(r,t,(function(){var e,t,o;try{t=(e=n.next()).value,o=e.done}catch(i){return void r.error(i)}o?r.complete():r.next(t)}),0,!0)})),function(){return Qn(null==n?void 0:n.return)&&n.return()}}))}(e,t);if(Uo(e))return function(e,t){return ai(qo(e),t)}(e,t)}throw Do(e)}function li(e,t){return t?si(e,t):Go(e)}function ci(e){return eo((function(t,r){var n,o=null,i=!1;o=t.subscribe(Yo(r,void 0,void 0,(function(a){n=Go(e(a,ci(e)(t))),o?(o.unsubscribe(),o=null,n.subscribe(r)):i=!0}))),i&&(o.unsubscribe(),o=null,n.subscribe(r))}))}function ui(e){return e[e.length-1]}function di(e){return(t=ui(e))&&Qn(t.schedule)?e.pop():void 0;var t}var pi=function(){var e,t;switch(!0){case window.location.href.startsWith("file:///"):case window.location.href.startsWith("http://localhost:8082"):case window.location.href.startsWith("http://localhost:4200"):return"http://localhost:8082/v1/";case window.location.href.startsWith("http://localhost:6006"):return"https://studio-api-staging02.softr.io/v1/";case!!(null===(e=window.location.href.match(/^https?:\/\/\w+\.softr\.io\//))||void 0===e?void 0:e[0]):return"".concat(null===(t=window.location.href.match(/^https?:\/\/\w+\.softr\.io\//))||void 0===t?void 0:t[0].replace("studio","studio-api"),"v1/");default:return"".concat(window.location.protocol,"//").concat(window.location.hostname,":").concat(window.location.port,"/v1/")}},fi=function(e){return li(e).pipe(Qo((function(e){return[200,201,202,204].includes(e.status)?{data:e.data,error:null}:{data:null,error:e}})),ci((function(e){return function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return li(e,di(e))}({data:null,error:e})})))},hi=function(){return hi=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++)for(var o in t=arguments[r])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},hi.apply(this,arguments)},mi=function(e,t){var r="function"==typeof Symbol&&e[Symbol.iterator];if(!r)return e;var n,o,i=r.call(e),a=[];try{for(;(void 0===t||t-- >0)&&!(n=i.next()).done;)a.push(n.value)}catch(s){o={error:s}}finally{try{n&&!n.done&&(r=i.return)&&r.call(i)}finally{if(o)throw o.error}}return a},gi=function(e,t,r){if(r||2===arguments.length)for(var n,o=0,i=t.length;o<i;o++)!n&&o in t||(n||(n=Array.prototype.slice.call(t,0,o)),n[o]=t[o]);return e.concat(n||Array.prototype.slice.call(t))},vi=function(){function e(){var e=Nt()&&(Dn("jwtToken")||localStorage.getItem("jwtToken"));this.axios=Jn().create({baseURL:pi(),withCredentials:!0,headers:hi({},e?{authorization:"Bearer ".concat(e)}:{})})}return e.prototype.getData=function(e,t,r){return void 0===t&&(t={}),void 0===r&&(r={}),fi(this.axios.get(e,hi({params:t},r||{})))},e.prototype.postData=function(e,t,r){var n;void 0===t&&(t={}),void 0===r&&(r={});var o=null===(n=document.body)||void 0===n?void 0:n.querySelector("[data-appid]");return fi(this.axios.post(e,t,hi(hi({},r),{headers:hi(hi(hi({},(null==r?void 0:r.headers)||{}),this.axios.defaults.headers.common||{}),o?{"softr-page-id":"".concat(o.getAttribute("data-pageid"))}:{})})))},e.prototype.putData=function(e,t){return void 0===t&&(t={}),fi(this.axios.put(e,t))},e.prototype.patchData=function(e,t,r){var n;void 0===t&&(t={}),void 0===r&&(r={});var o=null===(n=document.body)||void 0===n?void 0:n.querySelector("[data-appid]");return fi(this.axios.patch(e,t,hi(hi({},r),{headers:hi(hi(hi({},(null==r?void 0:r.headers)||{}),this.axios.defaults.headers.common||{}),o?{"softr-page-id":"".concat(o.getAttribute("data-pageid"))}:{}),withCredentials:!0})))},e.prototype.deleteData=function(e,t){return void 0===t&&(t={}),fi(this.axios.delete(e,t))},e.prototype.postDataWithoutOffset=function(e,t,r){var n=this;return void 0===t&&(t={}),void 0===r&&(r={}),fi(this.axios.post(e,t,r)).pipe(Jo((function(o){var i=o.data,a=i.offset,s=i.records;return a?fi(n.axios.post(e,hi(hi({},t),{offset:a}),r)).pipe(Qo((function(e){return hi(hi({},e),{data:hi(hi({},e.data),{records:gi(gi([],mi(s),!1),mi(e.data.records),!1)})})}))):ei})),ni())},e}();const bi=new vi;var yi=function(){window.dispatchEvent(new CustomEvent("user-sign-out",{})),setTimeout((function(){var e="/",t=Dn("signOutRedirectionUrl");t&&(e=t);var r,n,o=(n=document.querySelector("body > div.content"),(null===(r=null==n?void 0:n.dataset)||void 0===r?void 0:r.appid)||""),i="applications/".concat(o,"/users/sign-out");bi.postData(i,{}).subscribe((function(){var t;t="jwtToken",document.cookie=t+"=;path=/; expires=Thu, 01 Jan 1970 00:00:00 UTC; Secure",window.location.href=e}))}),300)},xi=function(e,t){var r="function"==typeof Symbol&&e[Symbol.iterator];if(!r)return e;var n,o,i=r.call(e),a=[];try{for(;(void 0===t||t-- >0)&&!(n=i.next()).done;)a.push(n.value)}catch(s){o={error:s}}finally{try{n&&!n.done&&(r=i.return)&&r.call(i)}finally{if(o)throw o.error}}return a},wi=function(){var e=an(Qr().breakpoints.up("lg"));return Xr("verticalEnabled")&&e&&!Nt()},ki=function(){var e=(0,o.useContext)(u).hrid||"",t=xi((0,o.useState)("/"),2),r=t[0],n=t[1];return(0,o.useEffect)((function(){var t=function(e){n(e.detail.link)};return window.addEventListener("set-logo-link-".concat(e),t),function(){window.removeEventListener("set-logo-link-".concat(e),t)}}),[e]),r},Si=function(e){var t=Kn(),r=Yn();return e.action&&e.action.startsWith("Open modal")&&!t&&r},Ei=function(e,t){t.signOut&&yi(),Si(t)&&(e.preventDefault(),window.openSwModal(t.href,t.modalSize))},Zi=function(){return Zi=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++)for(var o in t=arguments[r])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},Zi.apply(this,arguments)},Oi=function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(n=Object.getOwnPropertySymbols(e);o<n.length;o++)t.indexOf(n[o])<0&&Object.prototype.propertyIsEnumerable.call(e,n[o])&&(r[n[o]]=e[n[o]])}return r},Ci=function(e,t){var r="function"==typeof Symbol&&e[Symbol.iterator];if(!r)return e;var n,o,i=r.call(e),a=[];try{for(;(void 0===t||t-- >0)&&!(n=i.next()).done;)a.push(n.value)}catch(s){o={error:s}}finally{try{n&&!n.done&&(r=i.return)&&r.call(i)}finally{if(o)throw o.error}}return a},Mi=function(e){var t="function"==typeof Symbol&&Symbol.iterator,r=t&&e[t],n=0;if(r)return r.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&n>=e.length&&(e=void 0),{value:e&&e[n++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")},Ri=function(e){var t=e.children,r=e.className,n=Oi(e,["children","className"]),i=(0,o.useContext)(u).blockSelector,a=wi(),d=Xr("sticky"),p=Xr("container"),f=Ci((0,o.useState)(0),2),h=f[0],m=f[1],g=(0,o.useRef)(null);Ae(a?"\n .content[data-appid] > * {\n margin-left: 300px;\n }\n .content[data-appid] > ".concat(i," {\n margin-left: 0;\n width: 300px;\n position: fixed;\n z-index: 200;\n height: 100vh;\n overflow-y: auto;\n overflow-x: hidden;\n top: 0;\n }\n "):"","".concat(i,"-show-vertical")),(0,o.useEffect)((function(){g.current&&window.ResizeObserver&&new window.ResizeObserver((function(e){var t,r;try{for(var n=Mi(e),o=n.next();!o.done;o=n.next()){var i=o.value;m(i.target.offsetHeight)}}catch(a){t={error:a}}finally{try{o&&!o.done&&(r=n.return)&&r.call(n)}finally{if(t)throw t.error}}})).observe(g.current)}),[p.styles]);var v=r.split(" ").filter((function(e){return!e.startsWith("sw-border-bottom")&&!e.startsWith("sw-border-top")}));return a?l(Rt,Zi({component:"div",className:v,sx:{p:4,height:1,overflowY:"auto",borderRightColor:p.styles.borderBottomColor,borderRightStyle:p.styles.borderBottomStyle,borderRightWidth:p.styles.borderBottomWidth,borderLeftColor:p.styles.borderTopColor,borderLeftStyle:p.styles.borderTopStyle,borderLeftWidth:p.styles.borderTopWidth}},n,{children:t})):c(s,{children:[l(Yr,Zi({ref:g,sx:{boxShadow:"none",zIndex:200},className:r,position:d?"fixed":"initial"},n,{children:t})),d&&l(Rt,{sx:{visibility:"hidden",height:h}})]})},Pi=function(e){void 0===e&&(e="profileLinks");var t=Xr(e);return(0,o.useMemo)((function(){return t.items.map((function(e){var t,r,n,o,i=e.link,a=e.icon;return{value:i.value,className:i.className,styles:i.styles,href:Wn(i.action.options.url.destination)||"#",action:i.action.action,modalSize:(null===(r=null===(t=i.action.options)||void 0===t?void 0:t.modalOptions)||void 0===r?void 0:r.modalSize)?null===(o=null===(n=i.action.options)||void 0===n?void 0:n.modalOptions)||void 0===o?void 0:o.modalSize:"md",signOut:"action:signout"===i.action.options.url.destination,target:i.action.options.url.target||"_self",icon:{value:a.value,src:a.src,className:a.className||"",styles:a.styles||{}}}}))}),[t])},Ti=r(51705),Ai=r(2068),ji=r(79674);function Ni(e,t){return Ni=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},Ni(e,t)}function _i(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,Ni(e,t)}const Li=i().createContext(null);function Ii(e,t){var r=Object.create(null);return e&&o.Children.map(e,(function(e){return e})).forEach((function(e){r[e.key]=function(e){return t&&(0,o.isValidElement)(e)?t(e):e}(e)})),r}function Fi(e,t,r){return null!=r[t]?r[t]:e.props[t]}function $i(e,t,r){var n=Ii(e.children),i=function(e,t){function r(r){return r in t?t[r]:e[r]}e=e||{},t=t||{};var n,o=Object.create(null),i=[];for(var a in e)a in t?i.length&&(o[a]=i,i=[]):i.push(a);var s={};for(var l in t){if(o[l])for(n=0;n<o[l].length;n++){var c=o[l][n];s[o[l][n]]=r(c)}s[l]=r(l)}for(n=0;n<i.length;n++)s[i[n]]=r(i[n]);return s}(t,n);return Object.keys(i).forEach((function(a){var s=i[a];if((0,o.isValidElement)(s)){var l=a in t,c=a in n,u=t[a],d=(0,o.isValidElement)(u)&&!u.props.in;!c||l&&!d?c||!l||d?c&&l&&(0,o.isValidElement)(u)&&(i[a]=(0,o.cloneElement)(s,{onExited:r.bind(null,s),in:u.props.in,exit:Fi(s,"exit",e),enter:Fi(s,"enter",e)})):i[a]=(0,o.cloneElement)(s,{in:!1}):i[a]=(0,o.cloneElement)(s,{onExited:r.bind(null,s),in:!0,exit:Fi(s,"exit",e),enter:Fi(s,"enter",e)})}})),i}var zi=Object.values||function(e){return Object.keys(e).map((function(t){return e[t]}))},Bi=function(e){function t(t,r){var n,o=(n=e.call(this,t,r)||this).handleExited.bind(function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(n));return n.state={contextValue:{isMounting:!0},handleExited:o,firstRender:!0},n}_i(t,e);var r=t.prototype;return r.componentDidMount=function(){this.mounted=!0,this.setState({contextValue:{isMounting:!1}})},r.componentWillUnmount=function(){this.mounted=!1},t.getDerivedStateFromProps=function(e,t){var r,n,i=t.children,a=t.handleExited;return{children:t.firstRender?(r=e,n=a,Ii(r.children,(function(e){return(0,o.cloneElement)(e,{onExited:n.bind(null,e),in:!0,appear:Fi(e,"appear",r),enter:Fi(e,"enter",r),exit:Fi(e,"exit",r)})}))):$i(e,i,a),firstRender:!1}},r.handleExited=function(e,t){var r=Ii(this.props.children);e.key in r||(e.props.onExited&&e.props.onExited(t),this.mounted&&this.setState((function(t){var r=(0,Ne.Z)({},t.children);return delete r[e.key],{children:r}})))},r.render=function(){var e=this.props,t=e.component,r=e.childFactory,n=(0,_e.Z)(e,["component","childFactory"]),o=this.state.contextValue,a=zi(this.state.children).map(r);return delete n.appear,delete n.enter,delete n.exit,null===t?i().createElement(Li.Provider,{value:o},a):i().createElement(Li.Provider,{value:o},i().createElement(t,n,a))},t}(i().Component);Bi.propTypes={},Bi.defaultProps={component:"div",childFactory:function(e){return e}};const Di=Bi;function Wi(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return(0,a.O)(t)}var Hi=function(){var e=Wi.apply(void 0,arguments),t="animation-"+e.name;return{name:t,styles:"@keyframes "+t+"{"+e.styles+"}",anim:1,toString:function(){return"_EMO_"+this.name+"_"+this.styles+"_EMO_"}}};const qi=function(t){const{className:r,classes:n,pulsate:i=!1,rippleX:a,rippleY:s,rippleSize:l,in:c,onExited:u,timeout:d}=t,[p,f]=o.useState(!1),h=(0,gt.Z)(r,n.ripple,n.rippleVisible,i&&n.ripplePulsate),m={width:l,height:l,top:-l/2+s,left:-l/2+a},g=(0,gt.Z)(n.child,p&&n.childLeaving,i&&n.childPulsate);return c||p||f(!0),o.useEffect((()=>{if(!c&&null!=u){const e=setTimeout(u,d);return()=>{clearTimeout(e)}}}),[u,c,d]),(0,e.jsx)("span",{className:h,style:m,children:(0,e.jsx)("span",{className:g})})};const Ui=(0,Fr.Z)("MuiTouchRipple",["root","ripple","rippleVisible","ripplePulsate","child","childLeaving","childPulsate"]),Gi=["center","classes","className"];let Vi,Ki,Yi,Xi,Ji=e=>e;const Qi=Hi(Vi||(Vi=Ji`
0% {
transform: scale(0);
opacity: 0.1;
}
100% {
transform: scale(1);
opacity: 0.3;
}
`)),ea=Hi(Ki||(Ki=Ji`
0% {
opacity: 1;
}
100% {
opacity: 0;
}
`)),ta=Hi(Yi||(Yi=Ji`
0% {
transform: scale(1);
}
50% {
transform: scale(0.92);
}
100% {
transform: scale(1);
}
`)),ra=(0,jr.ZP)("span",{name:"MuiTouchRipple",slot:"Root"})({overflow:"hidden",pointerEvents:"none",position:"absolute",zIndex:0,top:0,right:0,bottom:0,left:0,borderRadius:"inherit"}),na=(0,jr.ZP)(qi,{name:"MuiTouchRipple",slot:"Ripple"})(Xi||(Xi=Ji`
opacity: 0;
position: absolute;
&.${0} {
opacity: 0.3;
transform: scale(1);
animation-name: ${0};
animation-duration: ${0}ms;
animation-timing-function: ${0};
}
&.${0} {
animation-duration: ${0}ms;
}
& .${0} {
opacity: 1;
display: block;
width: 100%;
height: 100%;
border-radius: 50%;
background-color: currentColor;
}
& .${0} {
opacity: 0;
animation-name: ${0};
animation-duration: ${0}ms;
animation-timing-function: ${0};
}
& .${0} {
position: absolute;
/* @noflip */
left: 0px;
top: 0;
animation-name: ${0};
animation-duration: 2500ms;
animation-timing-function: ${0};
animation-iteration-count: infinite;
animation-delay: 200ms;
}
`),Ui.rippleVisible,Qi,550,(({theme:e})=>e.transitions.easing.easeInOut),Ui.ripplePulsate,(({theme:e})=>e.transitions.duration.shorter),Ui.child,Ui.childLeaving,ea,550,(({theme:e})=>e.transitions.easing.easeInOut),Ui.childPulsate,ta,(({theme:e})=>e.transitions.easing.easeInOut)),oa=o.forwardRef((function(t,r){const n=(0,Nr.Z)({props:t,name:"MuiTouchRipple"}),{center:i=!1,classes:a={},className:s}=n,l=(0,_e.Z)(n,Gi),[c,u]=o.useState([]),d=o.useRef(0),p=o.useRef(null);o.useEffect((()=>{p.current&&(p.current(),p.current=null)}),[c]);const f=o.useRef(!1),h=o.useRef(0),m=o.useRef(null),g=o.useRef(null);o.useEffect((()=>()=>{h.current&&clearTimeout(h.current)}),[]);const v=o.useCallback((t=>{const{pulsate:r,rippleX:n,rippleY:o,rippleSize:i,cb:s}=t;u((t=>[...t,(0,e.jsx)(na,{classes:{ripple:(0,gt.Z)(a.ripple,Ui.ripple),rippleVisible:(0,gt.Z)(a.rippleVisible,Ui.rippleVisible),ripplePulsate:(0,gt.Z)(a.ripplePulsate,Ui.ripplePulsate),child:(0,gt.Z)(a.child,Ui.child),childLeaving:(0,gt.Z)(a.childLeaving,Ui.childLeaving),childPulsate:(0,gt.Z)(a.childPulsate,Ui.childPulsate)},timeout:550,pulsate:r,rippleX:n,rippleY:o,rippleSize:i},d.current)])),d.current+=1,p.current=s}),[a]),b=o.useCallback(((e={},t={},r=(()=>{}))=>{const{pulsate:n=!1,center:o=i||t.pulsate,fakeElement:a=!1}=t;if("mousedown"===(null==e?void 0:e.type)&&f.current)return void(f.current=!1);"touchstart"===(null==e?void 0:e.type)&&(f.current=!0);const s=a?null:g.current,l=s?s.getBoundingClientRect():{width:0,height:0,left:0,top:0};let c,u,d;if(o||void 0===e||0===e.clientX&&0===e.clientY||!e.clientX&&!e.touches)c=Math.round(l.width/2),u=Math.round(l.height/2);else{const{clientX:t,clientY:r}=e.touches&&e.touches.length>0?e.touches[0]:e;c=Math.round(t-l.left),u=Math.round(r-l.top)}if(o)d=Math.sqrt((2*l.width**2+l.height**2)/3),d%2==0&&(d+=1);else{const e=2*Math.max(Math.abs((s?s.clientWidth:0)-c),c)+2,t=2*Math.max(Math.abs((s?s.clientHeight:0)-u),u)+2;d=Math.sqrt(e**2+t**2)}null!=e&&e.touches?null===m.current&&(m.current=()=>{v({pulsate:n,rippleX:c,rippleY:u,rippleSize:d,cb:r})},h.current=setTimeout((()=>{m.current&&(m.current(),m.current=null)}),80)):v({pulsate:n,rippleX:c,rippleY:u,rippleSize:d,cb:r})}),[i,v]),y=o.useCallback((()=>{b({},{pulsate:!0})}),[b]),x=o.useCallback(((e,t)=>{if(clearTimeout(h.current),"touchend"===(null==e?void 0:e.type)&&m.current)return m.current(),m.current=null,void(h.current=setTimeout((()=>{x(e,t)})));m.current=null,u((e=>e.length>0?e.slice(1):e)),p.current=t}),[]);return o.useImperativeHandle(r,(()=>({pulsate:y,start:b,stop:x})),[y,b,x]),(0,e.jsx)(ra,(0,Ne.Z)({className:(0,gt.Z)(Ui.root,a.root,s),ref:g},l,{children:(0,e.jsx)(Di,{component:null,exit:!0,children:c})}))})),ia=oa;function aa(e){return(0,$r.Z)("MuiButtonBase",e)}const sa=(0,Fr.Z)("MuiButtonBase",["root","disabled","focusVisible"]),la=["action","centerRipple","children","className","component","disabled","disableRipple","disableTouchRipple","focusRipple","focusVisibleClassName","LinkComponent","onBlur","onClick","onContextMenu","onDragLeave","onFocus","onFocusVisible","onKeyDown","onKeyUp","onMouseDown","onMouseLeave","onMouseUp","onTouchEnd","onTouchMove","onTouchStart","tabIndex","TouchRippleProps","touchRippleRef","type"],ca=(0,jr.ZP)("button",{name:"MuiButtonBase",slot:"Root",overridesResolver:(e,t)=>t.root})({display:"inline-flex",alignItems:"center",justifyContent:"center",position:"relative",boxSizing:"border-box",WebkitTapHighlightColor:"transparent",backgroundColor:"transparent",outline:0,border:0,margin:0,borderRadius:0,padding:0,cursor:"pointer",userSelect:"none",verticalAlign:"middle",MozAppearance:"none",WebkitAppearance:"none",textDecoration:"none",color:"inherit","&::-moz-focus-inner":{borderStyle:"none"},[`&.${sa.disabled}`]:{pointerEvents:"none",cursor:"default"},"@media print":{colorAdjust:"exact"}}),ua=o.forwardRef((function(t,r){const n=(0,Nr.Z)({props:t,name:"MuiButtonBase"}),{action:i,centerRipple:a=!1,children:s,className:l,component:c="button",disabled:u=!1,disableRipple:d=!1,disableTouchRipple:p=!1,focusRipple:f=!1,LinkComponent:h="a",onBlur:m,onClick:g,onContextMenu:v,onDragLeave:b,onFocus:y,onFocusVisible:x,onKeyDown:w,onKeyUp:k,onMouseDown:S,onMouseLeave:E,onMouseUp:Z,onTouchEnd:O,onTouchMove:C,onTouchStart:M,tabIndex:R=0,TouchRippleProps:P,touchRippleRef:T,type:A}=n,j=(0,_e.Z)(n,la),N=o.useRef(null),_=o.useRef(null),L=(0,Ti.Z)(_,T),{isFocusVisibleRef:I,onFocus:F,onBlur:$,ref:z}=(0,ji.Z)(),[B,D]=o.useState(!1);u&&B&&D(!1),o.useImperativeHandle(i,(()=>({focusVisible:()=>{D(!0),N.current.focus()}})),[]);const[W,H]=o.useState(!1);o.useEffect((()=>{H(!0)}),[]);const q=W&&!d&&!u;function U(e,t,r=p){return(0,Ai.Z)((n=>{t&&t(n);return!r&&_.current&&_.current[e](n),!0}))}o.useEffect((()=>{B&&f&&!d&&W&&_.current.pulsate()}),[d,f,B,W]);const G=U("start",S),V=U("stop",v),K=U("stop",b),Y=U("stop",Z),X=U("stop",(e=>{B&&e.preventDefault(),E&&E(e)})),J=U("start",M),Q=U("stop",O),ee=U("stop",C),te=U("stop",(e=>{$(e),!1===I.current&&D(!1),m&&m(e)}),!1),re=(0,Ai.Z)((e=>{N.current||(N.current=e.currentTarget),F(e),!0===I.current&&(D(!0),x&&x(e)),y&&y(e)})),ne=()=>{const e=N.current;return c&&"button"!==c&&!("A"===e.tagName&&e.href)},oe=o.useRef(!1),ie=(0,Ai.Z)((e=>{f&&!oe.current&&B&&_.current&&" "===e.key&&(oe.current=!0,_.current.stop(e,(()=>{_.current.start(e)}))),e.target===e.currentTarget&&ne()&&" "===e.key&&e.preventDefault(),w&&w(e),e.target===e.currentTarget&&ne()&&"Enter"===e.key&&!u&&(e.preventDefault(),g&&g(e))})),ae=(0,Ai.Z)((e=>{f&&" "===e.key&&_.current&&B&&!e.defaultPrevented&&(oe.current=!1,_.current.stop(e,(()=>{_.current.pulsate(e)}))),k&&k(e),g&&e.target===e.currentTarget&&ne()&&" "===e.key&&!e.defaultPrevented&&g(e)}));let se=c;"button"===se&&(j.href||j.to)&&(se=h);const le={};"button"===se?(le.type=void 0===A?"button":A,le.disabled=u):(j.href||j.to||(le.role="button"),u&&(le["aria-disabled"]=u));const ce=(0,Ti.Z)(r,z,N);const ue=(0,Ne.Z)({},n,{centerRipple:a,component:c,disabled:u,disableRipple:d,disableTouchRipple:p,focusRipple:f,tabIndex:R,focusVisible:B}),de=(e=>{const{disabled:t,focusVisible:r,focusVisibleClassName:n,classes:o}=e,i={root:["root",t&&"disabled",r&&"focusVisible"]},a=(0,Ar.Z)(i,aa,o);return r&&n&&(a.root+=` ${n}`),a})(ue);return(0,e.jsxs)(ca,(0,Ne.Z)({as:se,className:(0,gt.Z)(de.root,l),ownerState:ue,onBlur:te,onClick:g,onContextMenu:V,onFocus:re,onKeyDown:ie,onKeyUp:ae,onMouseDown:G,onMouseLeave:X,onMouseUp:Y,onDragLeave:K,onTouchEnd:Q,onTouchMove:ee,onTouchStart:J,ref:ce,tabIndex:u?-1:R,type:A},le,j,{children:[s,q?(0,e.jsx)(ia,(0,Ne.Z)({ref:L,center:a},P)):null]}))})),da=ua;function pa(e){return(0,$r.Z)("MuiIconButton",e)}const fa=(0,Fr.Z)("MuiIconButton",["root","disabled","colorInherit","colorPrimary","colorSecondary","colorError","colorInfo","colorSuccess","colorWarning","edgeStart","edgeEnd","sizeSmall","sizeMedium","sizeLarge"]),ha=["edge","children","className","color","disabled","disableFocusRipple","size"],ma=(0,jr.ZP)(da,{name:"MuiIconButton",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.root,"default"!==r.color&&t[`color${(0,_r.Z)(r.color)}`],r.edge&&t[`edge${(0,_r.Z)(r.edge)}`],t[`size${(0,_r.Z)(r.size)}`]]}})((({theme:e,ownerState:t})=>(0,Ne.Z)({textAlign:"center",flex:"0 0 auto",fontSize:e.typography.pxToRem(24),padding:8,borderRadius:"50%",overflow:"visible",color:(e.vars||e).palette.action.active,transition:e.transitions.create("background-color",{duration:e.transitions.duration.shortest})},!t.disableRipple&&{"&:hover":{backgroundColor:e.vars?`rgba(${e.vars.palette.action.activeChannel} / ${e.vars.palette.action.hoverOpacity})`:(0,Lr.Fq)(e.palette.action.active,e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}}},"start"===t.edge&&{marginLeft:"small"===t.size?-3:-12},"end"===t.edge&&{marginRight:"small"===t.size?-3:-12})),(({theme:e,ownerState:t})=>{var r;const n=null==(r=(e.vars||e).palette)?void 0:r[t.color];return(0,Ne.Z)({},"inherit"===t.color&&{color:"inherit"},"inherit"!==t.color&&"default"!==t.color&&(0,Ne.Z)({color:null==n?void 0:n.main},!t.disableRipple&&{"&:hover":(0,Ne.Z)({},n&&{backgroundColor:e.vars?`rgba(${n.mainChannel} / ${e.vars.palette.action.hoverOpacity})`:(0,Lr.Fq)(n.main,e.palette.action.hoverOpacity)},{"@media (hover: none)":{backgroundColor:"transparent"}})}),"small"===t.size&&{padding:5,fontSize:e.typography.pxToRem(18)},"large"===t.size&&{padding:12,fontSize:e.typography.pxToRem(28)},{[`&.${fa.disabled}`]:{backgroundColor:"transparent",color:(e.vars||e).palette.action.disabled}})})),ga=o.forwardRef((function(t,r){const n=(0,Nr.Z)({props:t,name:"MuiIconButton"}),{edge:o=!1,children:i,className:a,color:s="default",disabled:l=!1,disableFocusRipple:c=!1,size:u="medium"}=n,d=(0,_e.Z)(n,ha),p=(0,Ne.Z)({},n,{edge:o,color:s,disabled:l,disableFocusRipple:c,size:u}),f=(e=>{const{classes:t,disabled:r,color:n,edge:o,size:i}=e,a={root:["root",r&&"disabled","default"!==n&&`color${(0,_r.Z)(n)}`,o&&`edge${(0,_r.Z)(o)}`,`size${(0,_r.Z)(i)}`]};return(0,Ar.Z)(a,pa,t)})(p);return(0,e.jsx)(ma,(0,Ne.Z)({className:(0,gt.Z)(f.root,a),centerRipple:!0,focusRipple:!c,disabled:l,ref:r,ownerState:p},d,{children:i}))})),va=ga;const ba=(0,r(82066).Z)((0,e.jsx)("path",{d:"M12 12c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm0 2c-2.67 0-8 1.34-8 4v2h16v-2c0-2.66-5.33-4-8-4z"}),"Person");function ya(e){return(0,$r.Z)("MuiAvatar",e)}(0,Fr.Z)("MuiAvatar",["root","colorDefault","circular","rounded","square","img","fallback"]);const xa=["alt","children","className","component","imgProps","sizes","src","srcSet","variant"],wa=(0,jr.ZP)("div",{name:"MuiAvatar",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.root,t[r.variant],r.colorDefault&&t.colorDefault]}})((({theme:e,ownerState:t})=>(0,Ne.Z)({position:"relative",display:"flex",alignItems:"center",justifyContent:"center",flexShrink:0,width:40,height:40,fontFamily:e.typography.fontFamily,fontSize:e.typography.pxToRem(20),lineHeight:1,borderRadius:"50%",overflow:"hidden",userSelect:"none"},"rounded"===t.variant&&{borderRadius:(e.vars||e).shape.borderRadius},"square"===t.variant&&{borderRadius:0},t.colorDefault&&(0,Ne.Z)({color:(e.vars||e).palette.background.default},e.vars?{backgroundColor:e.vars.palette.Avatar.defaultBg}:{backgroundColor:"light"===e.palette.mode?e.palette.grey[400]:e.palette.grey[600]})))),ka=(0,jr.ZP)("img",{name:"MuiAvatar",slot:"Img",overridesResolver:(e,t)=>t.img})({width:"100%",height:"100%",textAlign:"center",objectFit:"cover",color:"transparent",textIndent:1e4}),Sa=(0,jr.ZP)(ba,{name:"MuiAvatar",slot:"Fallback",overridesResolver:(e,t)=>t.fallback})({width:"75%",height:"75%"});const Ea=o.forwardRef((function(t,r){const n=(0,Nr.Z)({props:t,name:"MuiAvatar"}),{alt:i,children:a,className:s,component:l="div",imgProps:c,sizes:u,src:d,srcSet:p,variant:f="circular"}=n,h=(0,_e.Z)(n,xa);let m=null;const g=function({crossOrigin:e,referrerPolicy:t,src:r,srcSet:n}){const[i,a]=o.useState(!1);return o.useEffect((()=>{if(!r&&!n)return;a(!1);let o=!0;const i=new Image;return i.onload=()=>{o&&a("loaded")},i.onerror=()=>{o&&a("error")},i.crossOrigin=e,i.referrerPolicy=t,i.src=r,n&&(i.srcset=n),()=>{o=!1}}),[e,t,r,n]),i}((0,Ne.Z)({},c,{src:d,srcSet:p})),v=d||p,b=v&&"error"!==g,y=(0,Ne.Z)({},n,{colorDefault:!b,component:l,variant:f}),x=(e=>{const{classes:t,variant:r,colorDefault:n}=e,o={root:["root",r,n&&"colorDefault"],img:["img"],fallback:["fallback"]};return(0,Ar.Z)(o,ya,t)})(y);return m=b?(0,e.jsx)(ka,(0,Ne.Z)({alt:i,srcSet:p,src:d,sizes:u,ownerState:y,className:x.img},c)):null!=a?a:v&&i?i[0]:(0,e.jsx)(Sa,{ownerState:y,className:x.fallback}),(0,e.jsx)(wa,(0,Ne.Z)({as:l,ownerState:y,className:(0,gt.Z)(x.root,s),ref:r},h,{children:m}))})),Za=Ea;const Oa=function(e){var t=e.fullName,r=void 0===t?"":t,n=e.onClick,o=e.src||"",i=function(e){var t=e.trim().replace(/\s+/g," ").split(" "),r=new RegExp("^[a-z]+","i"),n=t.filter((function(e){return r.test(e)}));return 1===(n=0===n.length?t:n).length?n[0].length<2?n[0][0]:n[0][0]+n[0][1]:n[0][0]+n[1][0]}(r);return l(va,{onClick:n,sx:{p:0},children:l(Za,{sx:{width:32,height:32},alt:r,src:o,children:i})})};const Ca=o.createContext({});const Ma=(0,Fr.Z)("MuiDivider",["root","absolute","fullWidth","inset","middle","flexItem","light","vertical","withChildren","withChildrenVertical","textAlignRight","textAlignLeft","wrapper","wrapperVertical"]);const Ra=(0,Fr.Z)("MuiListItemIcon",["root","alignItemsFlexStart"]);const Pa=(0,Fr.Z)("MuiListItemText",["root","multiline","dense","inset","primary","secondary"]);function Ta(e){return(0,$r.Z)("MuiMenuItem",e)}const Aa=(0,Fr.Z)("MuiMenuItem",["root","focusVisible","dense","disabled","divider","gutters","selected"]),ja=["autoFocus","component","dense","divider","disableGutters","focusVisibleClassName","role","tabIndex","className"],Na=(0,jr.ZP)(da,{shouldForwardProp:e=>(0,jr.FO)(e)||"classes"===e,name:"MuiMenuItem",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.root,r.dense&&t.dense,r.divider&&t.divider,!r.disableGutters&&t.gutters]}})((({theme:e,ownerState:t})=>(0,Ne.Z)({},e.typography.body1,{display:"flex",justifyContent:"flex-start",alignItems:"center",position:"relative",textDecoration:"none",minHeight:48,paddingTop:6,paddingBottom:6,boxSizing:"border-box",whiteSpace:"nowrap"},!t.disableGutters&&{paddingLeft:16,paddingRight:16},t.divider&&{borderBottom:`1px solid ${(e.vars||e).palette.divider}`,backgroundClip:"padding-box"},{"&:hover":{textDecoration:"none",backgroundColor:(e.vars||e).palette.action.hover,"@media (hover: none)":{backgroundColor:"transparent"}},[`&.${Aa.selected}`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / ${e.vars.palette.action.selectedOpacity})`:(0,Lr.Fq)(e.palette.primary.main,e.palette.action.selectedOpacity),[`&.${Aa.focusVisible}`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / calc(${e.vars.palette.action.selectedOpacity} + ${e.vars.palette.action.focusOpacity}))`:(0,Lr.Fq)(e.palette.primary.main,e.palette.action.selectedOpacity+e.palette.action.focusOpacity)}},[`&.${Aa.selected}:hover`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / calc(${e.vars.palette.action.selectedOpacity} + ${e.vars.palette.action.hoverOpacity}))`:(0,Lr.Fq)(e.palette.primary.main,e.palette.action.selectedOpacity+e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / ${e.vars.palette.action.selectedOpacity})`:(0,Lr.Fq)(e.palette.primary.main,e.palette.action.selectedOpacity)}},[`&.${Aa.focusVisible}`]:{backgroundColor:(e.vars||e).palette.action.focus},[`&.${Aa.disabled}`]:{opacity:(e.vars||e).palette.action.disabledOpacity},[`& + .${Ma.root}`]:{marginTop:e.spacing(1),marginBottom:e.spacing(1)},[`& + .${Ma.inset}`]:{marginLeft:52},[`& .${Pa.root}`]:{marginTop:0,marginBottom:0},[`& .${Pa.inset}`]:{paddingLeft:36},[`& .${Ra.root}`]:{minWidth:36}},!t.dense&&{[e.breakpoints.up("sm")]:{minHeight:"auto"}},t.dense&&(0,Ne.Z)({minHeight:32,paddingTop:4,paddingBottom:4},e.typography.body2,{[`& .${Ra.root} svg`]:{fontSize:"1.25rem"}})))),_a=o.forwardRef((function(t,r){const n=(0,Nr.Z)({props:t,name:"MuiMenuItem"}),{autoFocus:i=!1,component:a="li",dense:s=!1,divider:l=!1,disableGutters:c=!1,focusVisibleClassName:u,role:d="menuitem",tabIndex:p,className:f}=n,h=(0,_e.Z)(n,ja),m=o.useContext(Ca),g=o.useMemo((()=>({dense:s||m.dense||!1,disableGutters:c})),[m.dense,s,c]),v=o.useRef(null);(0,tn.Z)((()=>{i&&v.current&&v.current.focus()}),[i]);const b=(0,Ne.Z)({},n,{dense:g.dense,divider:l,disableGutters:c}),y=(e=>{const{disabled:t,dense:r,divider:n,disableGutters:o,selected:i,classes:a}=e,s={root:["root",r&&"dense",t&&"disabled",!o&&"gutters",n&&"divider",i&&"selected"]},l=(0,Ar.Z)(s,Ta,a);return(0,Ne.Z)({},a,l)})(n),x=(0,Ti.Z)(v,r);let w;return n.disabled||(w=void 0!==p?p:-1),(0,e.jsx)(Ca.Provider,{value:g,children:(0,e.jsx)(Na,(0,Ne.Z)({ref:x,role:d,tabIndex:w,component:a,focusVisibleClassName:(0,gt.Z)(y.focusVisible,u),className:(0,gt.Z)(y.root,f)},h,{ownerState:b,classes:y}))})})),La=_a;const Ia=function(e){var t=e.className,r=e.style,n=e.href,o=e.target,i=e.icon,a=e.dangerouslySetInnerHTML,u=e.textSx,d=e.onClick;return c(La,{component:"a",href:n,target:o,onClick:d,style:r,children:[i&&c(s,{children:[i.value&&l(Rt,{component:"div",style:{margin:"4px"},sx:{"& > i":{"&:before":{display:"flex"}}},children:l("i",{className:i.value,style:{color:i.styles.textColor,fontSize:i.styles.fontSize,textAlign:"center"}})}),i.src&&l(Rt,{component:"img",sx:{p:.5,width:"2rem",color:i.styles.textColor},className:i.className,src:i.src,alt:""})]}),l(Rt,{component:"span",sx:u,className:t,dangerouslySetInnerHTML:{__html:a}})]})};var Fa=r(47925);function $a(e){return(0,$r.Z)("MuiButton",e)}const za=(0,Fr.Z)("MuiButton",["root","text","textInherit","textPrimary","textSecondary","textSuccess","textError","textInfo","textWarning","outlined","outlinedInherit","outlinedPrimary","outlinedSecondary","outlinedSuccess","outlinedError","outlinedInfo","outlinedWarning","contained","containedInherit","containedPrimary","containedSecondary","containedSuccess","containedError","containedInfo","containedWarning","disableElevation","focusVisible","disabled","colorInherit","textSizeSmall","textSizeMedium","textSizeLarge","outlinedSizeSmall","outlinedSizeMedium","outlinedSizeLarge","containedSizeSmall","containedSizeMedium","containedSizeLarge","sizeMedium","sizeSmall","sizeLarge","fullWidth","startIcon","endIcon","iconSizeSmall","iconSizeMedium","iconSizeLarge"]);const Ba=o.createContext({});const Da=o.createContext(void 0),Wa=["children","color","component","className","disabled","disableElevation","disableFocusRipple","endIcon","focusVisibleClassName","fullWidth","size","startIcon","type","variant"],Ha=e=>(0,Ne.Z)({},"small"===e.size&&{"& > *:nth-of-type(1)":{fontSize:18}},"medium"===e.size&&{"& > *:nth-of-type(1)":{fontSize:20}},"large"===e.size&&{"& > *:nth-of-type(1)":{fontSize:22}}),qa=(0,jr.ZP)(da,{shouldForwardProp:e=>(0,jr.FO)(e)||"classes"===e,name:"MuiButton",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.root,t[r.variant],t[`${r.variant}${(0,_r.Z)(r.color)}`],t[`size${(0,_r.Z)(r.size)}`],t[`${r.variant}Size${(0,_r.Z)(r.size)}`],"inherit"===r.color&&t.colorInherit,r.disableElevation&&t.disableElevation,r.fullWidth&&t.fullWidth]}})((({theme:e,ownerState:t})=>{var r,n;const o="light"===e.palette.mode?e.palette.grey[300]:e.palette.grey[800],i="light"===e.palette.mode?e.palette.grey.A100:e.palette.grey[700];return(0,Ne.Z)({},e.typography.button,{minWidth:64,padding:"6px 16px",borderRadius:(e.vars||e).shape.borderRadius,transition:e.transitions.create(["background-color","box-shadow","border-color","color"],{duration:e.transitions.duration.short}),"&:hover":(0,Ne.Z)({textDecoration:"none",backgroundColor:e.vars?`rgba(${e.vars.palette.text.primaryChannel} / ${e.vars.palette.action.hoverOpacity})`:(0,Lr.Fq)(e.palette.text.primary,e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}},"text"===t.variant&&"inherit"!==t.color&&{backgroundColor:e.vars?`rgba(${e.vars.palette[t.color].mainChannel} / ${e.vars.palette.action.hoverOpacity})`:(0,Lr.Fq)(e.palette[t.color].main,e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}},"outlined"===t.variant&&"inherit"!==t.color&&{border:`1px solid ${(e.vars||e).palette[t.color].main}`,backgroundColor:e.vars?`rgba(${e.vars.palette[t.color].mainChannel} / ${e.vars.palette.action.hoverOpacity})`:(0,Lr.Fq)(e.palette[t.color].main,e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}},"contained"===t.variant&&{backgroundColor:e.vars?e.vars.palette.Button.inheritContainedHoverBg:i,boxShadow:(e.vars||e).shadows[4],"@media (hover: none)":{boxShadow:(e.vars||e).shadows[2],backgroundColor:(e.vars||e).palette.grey[300]}},"contained"===t.variant&&"inherit"!==t.color&&{backgroundColor:(e.vars||e).palette[t.color].dark,"@media (hover: none)":{backgroundColor:(e.vars||e).palette[t.color].main}}),"&:active":(0,Ne.Z)({},"contained"===t.variant&&{boxShadow:(e.vars||e).shadows[8]}),[`&.${za.focusVisible}`]:(0,Ne.Z)({},"contained"===t.variant&&{boxShadow:(e.vars||e).shadows[6]}),[`&.${za.disabled}`]:(0,Ne.Z)({color:(e.vars||e).palette.action.disabled},"outlined"===t.variant&&{border:`1px solid ${(e.vars||e).palette.action.disabledBackground}`},"contained"===t.variant&&{color:(e.vars||e).palette.action.disabled,boxShadow:(e.vars||e).shadows[0],backgroundColor:(e.vars||e).palette.action.disabledBackground})},"text"===t.variant&&{padding:"6px 8px"},"text"===t.variant&&"inherit"!==t.color&&{color:(e.vars||e).palette[t.color].main},"outlined"===t.variant&&{padding:"5px 15px",border:"1px solid currentColor"},"outlined"===t.variant&&"inherit"!==t.color&&{color:(e.vars||e).palette[t.color].main,border:e.vars?`1px solid rgba(${e.vars.palette[t.color].mainChannel} / 0.5)`:`1px solid ${(0,Lr.Fq)(e.palette[t.color].main,.5)}`},"contained"===t.variant&&{color:e.vars?e.vars.palette.text.primary:null==(r=(n=e.palette).getContrastText)?void 0:r.call(n,e.palette.grey[300]),backgroundColor:e.vars?e.vars.palette.Button.inheritContainedBg:o,boxShadow:(e.vars||e).shadows[2]},"contained"===t.variant&&"inherit"!==t.color&&{color:(e.vars||e).palette[t.color].contrastText,backgroundColor:(e.vars||e).palette[t.color].main},"inherit"===t.color&&{color:"inherit",borderColor:"currentColor"},"small"===t.size&&"text"===t.variant&&{padding:"4px 5px",fontSize:e.typography.pxToRem(13)},"large"===t.size&&"text"===t.variant&&{padding:"8px 11px",fontSize:e.typography.pxToRem(15)},"small"===t.size&&"outlined"===t.variant&&{padding:"3px 9px",fontSize:e.typography.pxToRem(13)},"large"===t.size&&"outlined"===t.variant&&{padding:"7px 21px",fontSize:e.typography.pxToRem(15)},"small"===t.size&&"contained"===t.variant&&{padding:"4px 10px",fontSize:e.typography.pxToRem(13)},"large"===t.size&&"contained"===t.variant&&{padding:"8px 22px",fontSize:e.typography.pxToRem(15)},t.fullWidth&&{width:"100%"})}),(({ownerState:e})=>e.disableElevation&&{boxShadow:"none","&:hover":{boxShadow:"none"},[`&.${za.focusVisible}`]:{boxShadow:"none"},"&:active":{boxShadow:"none"},[`&.${za.disabled}`]:{boxShadow:"none"}})),Ua=(0,jr.ZP)("span",{name:"MuiButton",slot:"StartIcon",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.startIcon,t[`iconSize${(0,_r.Z)(r.size)}`]]}})((({ownerState:e})=>(0,Ne.Z)({display:"inherit",marginRight:8,marginLeft:-4},"small"===e.size&&{marginLeft:-2},Ha(e)))),Ga=(0,jr.ZP)("span",{name:"MuiButton",slot:"EndIcon",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.endIcon,t[`iconSize${(0,_r.Z)(r.size)}`]]}})((({ownerState:e})=>(0,Ne.Z)({display:"inherit",marginRight:-4,marginLeft:8},"small"===e.size&&{marginRight:-2},Ha(e)))),Va=o.forwardRef((function(t,r){const n=o.useContext(Ba),i=o.useContext(Da),a=(0,Fa.Z)(n,t),s=(0,Nr.Z)({props:a,name:"MuiButton"}),{children:l,color:c="primary",component:u="button",className:d,disabled:p=!1,disableElevation:f=!1,disableFocusRipple:h=!1,endIcon:m,focusVisibleClassName:g,fullWidth:v=!1,size:b="medium",startIcon:y,type:x,variant:w="text"}=s,k=(0,_e.Z)(s,Wa),S=(0,Ne.Z)({},s,{color:c,component:u,disabled:p,disableElevation:f,disableFocusRipple:h,fullWidth:v,size:b,type:x,variant:w}),E=(e=>{const{color:t,disableElevation:r,fullWidth:n,size:o,variant:i,classes:a}=e,s={root:["root",i,`${i}${(0,_r.Z)(t)}`,`size${(0,_r.Z)(o)}`,`${i}Size${(0,_r.Z)(o)}`,"inherit"===t&&"colorInherit",r&&"disableElevation",n&&"fullWidth"],label:["label"],startIcon:["startIcon",`iconSize${(0,_r.Z)(o)}`],endIcon:["endIcon",`iconSize${(0,_r.Z)(o)}`]},l=(0,Ar.Z)(s,$a,a);return(0,Ne.Z)({},a,l)})(S),Z=y&&(0,e.jsx)(Ua,{className:E.startIcon,ownerState:S,children:y}),O=m&&(0,e.jsx)(Ga,{className:E.endIcon,ownerState:S,children:m}),C=i||"";return(0,e.jsxs)(qa,(0,Ne.Z)({ownerState:S,className:(0,gt.Z)(n.className,E.root,d,C),component:u,disabled:p,focusRipple:!h,focusVisibleClassName:(0,gt.Z)(E.focusVisible,g),ref:r,type:x},k,{classes:E,children:[Z,l,O]}))})),Ka=Va;var Ya=r(60181),Xa=r(23508);const Ja=(0,o.forwardRef)((function(e,t){var r=e.className,n=e.href,o=e.target,i=e.expandable,a=e.expandableOnMobile,u=e.onClick,d=e.dangerouslySetInnerHTML,p=e.open;return c(Ka,{ref:t,component:"a",onClick:u,target:o,href:i||!n||a?void 0:n,className:r,disableRipple:!0,sx:{"&:hover":{background:"transparent"},justifyContent:"flex-start",px:0,minWidth:0},children:[l(Rt,{component:"span",dangerouslySetInnerHTML:{__html:d}}),i&&l(s,{children:l(p?Ya.Z:Xa.Z,{style:{marginLeft:6}})})]})}));function Qa(e){return String(e).match(/[\d.\-+]*\s*(.*)/)[1]||""}function es(e){return parseFloat(e)}function ts(e){return(0,$r.Z)("MuiSkeleton",e)}(0,Fr.Z)("MuiSkeleton",["root","text","rectangular","rounded","circular","pulse","wave","withChildren","fitContent","heightAuto"]);const rs=["animation","className","component","height","style","variant","width"];let ns,os,is,as,ss=e=>e;const ls=Hi(ns||(ns=ss`
0% {
opacity: 1;
}
50% {
opacity: 0.4;
}
100% {
opacity: 1;
}
`)),cs=Hi(os||(os=ss`
0% {
transform: translateX(-100%);
}
50% {
/* +0.5s of delay between each loop */
transform: translateX(100%);
}
100% {
transform: translateX(100%);
}
`)),us=(0,jr.ZP)("span",{name:"MuiSkeleton",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.root,t[r.variant],!1!==r.animation&&t[r.animation],r.hasChildren&&t.withChildren,r.hasChildren&&!r.width&&t.fitContent,r.hasChildren&&!r.height&&t.heightAuto]}})((({theme:e,ownerState:t})=>{const r=Qa(e.shape.borderRadius)||"px",n=es(e.shape.borderRadius);return(0,Ne.Z)({display:"block",backgroundColor:e.vars?e.vars.palette.Skeleton.bg:(0,Lr.Fq)(e.palette.text.primary,"light"===e.palette.mode?.11:.13),height:"1.2em"},"text"===t.variant&&{marginTop:0,marginBottom:0,height:"auto",transformOrigin:"0 55%",transform:"scale(1, 0.60)",borderRadius:`${n}${r}/${Math.round(n/.6*10)/10}${r}`,"&:empty:before":{content:'"\\00a0"'}},"circular"===t.variant&&{borderRadius:"50%"},"rounded"===t.variant&&{borderRadius:(e.vars||e).shape.borderRadius},t.hasChildren&&{"& > *":{visibility:"hidden"}},t.hasChildren&&!t.width&&{maxWidth:"fit-content"},t.hasChildren&&!t.height&&{height:"auto"})}),(({ownerState:e})=>"pulse"===e.animation&&Wi(is||(is=ss`
animation: ${0} 2s ease-in-out 0.5s infinite;
`),ls)),(({ownerState:e,theme:t})=>"wave"===e.animation&&Wi(as||(as=ss`
position: relative;
overflow: hidden;
/* Fix bug in Safari https://bugs.webkit.org/show_bug.cgi?id=68196 */
-webkit-mask-image: -webkit-radial-gradient(white, black);
&::after {
animation: ${0} 2s linear 0.5s infinite;
background: linear-gradient(
90deg,
transparent,
${0},
transparent
);
content: '';
position: absolute;
transform: translateX(-100%); /* Avoid flash during server-side hydration */
bottom: 0;
left: 0;
right: 0;
top: 0;
}
`),cs,(t.vars||t).palette.action.hover))),ds=o.forwardRef((function(t,r){const n=(0,Nr.Z)({props:t,name:"MuiSkeleton"}),{animation:o="pulse",className:i,component:a="span",height:s,style:l,variant:c="text",width:u}=n,d=(0,_e.Z)(n,rs),p=(0,Ne.Z)({},n,{animation:o,component:a,variant:c,hasChildren:Boolean(d.children)}),f=(e=>{const{classes:t,variant:r,animation:n,hasChildren:o,width:i,height:a}=e,s={root:["root",r,n,o&&"withChildren",o&&!i&&"fitContent",o&&!a&&"heightAuto"]};return(0,Ar.Z)(s,ts,t)})(p);return(0,e.jsx)(us,(0,Ne.Z)({as:a,ref:r,className:(0,gt.Z)(f.root,i),ownerState:p},d,{style:(0,Ne.Z)({width:u,height:s},l)}))})),ps=ds;function fs(e){return(0,$r.Z)("MuiCircularProgress",e)}(0,Fr.Z)("MuiCircularProgress",["root","determinate","indeterminate","colorPrimary","colorSecondary","svg","circle","circleDeterminate","circleIndeterminate","circleDisableShrink"]);const hs=["className","color","disableShrink","size","style","thickness","value","variant"];let ms,gs,vs,bs,ys=e=>e;const xs=44,ws=Hi(ms||(ms=ys`
0% {
transform: rotate(0deg);
}
100% {
transform: rotate(360deg);
}
`)),ks=Hi(gs||(gs=ys`
0% {
stroke-dasharray: 1px, 200px;
stroke-dashoffset: 0;
}
50% {
stroke-dasharray: 100px, 200px;
stroke-dashoffset: -15px;
}
100% {
stroke-dasharray: 100px, 200px;
stroke-dashoffset: -125px;
}
`)),Ss=(0,jr.ZP)("span",{name:"MuiCircularProgress",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.root,t[r.variant],t[`color${(0,_r.Z)(r.color)}`]]}})((({ownerState:e,theme:t})=>(0,Ne.Z)({display:"inline-block"},"determinate"===e.variant&&{transition:t.transitions.create("transform")},"inherit"!==e.color&&{color:(t.vars||t).palette[e.color].main})),(({ownerState:e})=>"indeterminate"===e.variant&&Wi(vs||(vs=ys`
animation: ${0} 1.4s linear infinite;
`),ws))),Es=(0,jr.ZP)("svg",{name:"MuiCircularProgress",slot:"Svg",overridesResolver:(e,t)=>t.svg})({display:"block"}),Zs=(0,jr.ZP)("circle",{name:"MuiCircularProgress",slot:"Circle",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.circle,t[`circle${(0,_r.Z)(r.variant)}`],r.disableShrink&&t.circleDisableShrink]}})((({ownerState:e,theme:t})=>(0,Ne.Z)({stroke:"currentColor"},"determinate"===e.variant&&{transition:t.transitions.create("stroke-dashoffset")},"indeterminate"===e.variant&&{strokeDasharray:"80px, 200px",strokeDashoffset:0})),(({ownerState:e})=>"indeterminate"===e.variant&&!e.disableShrink&&Wi(bs||(bs=ys`
animation: ${0} 1.4s ease-in-out infinite;
`),ks))),Os=o.forwardRef((function(t,r){const n=(0,Nr.Z)({props:t,name:"MuiCircularProgress"}),{className:o,color:i="primary",disableShrink:a=!1,size:s=40,style:l,thickness:c=3.6,value:u=0,variant:d="indeterminate"}=n,p=(0,_e.Z)(n,hs),f=(0,Ne.Z)({},n,{color:i,disableShrink:a,size:s,thickness:c,value:u,variant:d}),h=(e=>{const{classes:t,variant:r,color:n,disableShrink:o}=e,i={root:["root",r,`color${(0,_r.Z)(n)}`],svg:["svg"],circle:["circle",`circle${(0,_r.Z)(r)}`,o&&"circleDisableShrink"]};return(0,Ar.Z)(i,fs,t)})(f),m={},g={},v={};if("determinate"===d){const e=2*Math.PI*((xs-c)/2);m.strokeDasharray=e.toFixed(3),v["aria-valuenow"]=Math.round(u),m.strokeDashoffset=`${((100-u)/100*e).toFixed(3)}px`,g.transform="rotate(-90deg)"}return(0,e.jsx)(Ss,(0,Ne.Z)({className:(0,gt.Z)(h.root,o),style:(0,Ne.Z)({width:s,height:s},g,l),ownerState:f,ref:r,role:"progressbar"},v,p,{children:(0,e.jsx)(Es,{className:h.svg,ownerState:f,viewBox:"22 22 44 44",children:(0,e.jsx)(Zs,{className:h.circle,style:m,ownerState:f,cx:xs,cy:xs,r:(xs-c)/2,fill:"none",strokeWidth:c})})}))})),Cs=Os;var Ms=function(){return Ms=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++)for(var o in t=arguments[r])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},Ms.apply(this,arguments)},Rs=function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(n=Object.getOwnPropertySymbols(e);o<n.length;o++)t.indexOf(n[o])<0&&Object.prototype.propertyIsEnumerable.call(e,n[o])&&(r[n[o]]=e[n[o]])}return r};const Ps=function(e){var t=e.color,r=e.size,n=(e.style,e.classes),o=e.className,i=e.sx,a=void 0===i?{}:i,c=e.onClick,u=e.containerClassName,d=void 0===u?"":u;e.weight,e.mirrored,e.alt,Rs(e,["color","size","style","classes","className","sx","onClick","containerClassName","weight","mirrored","alt"]);return l(s,{children:Array.isArray(n)&&n.length?n.map((function(e){return o===e&&l(Rt,{component:"div",sx:a,onClick:c,className:d,style:Ms(Ms({},r?{fontSize:r}:{}),t?{color:t}:{}),children:l("i",{className:e})},e)})):l(Rt,{component:"div",sx:a,className:d,onClick:c,style:Ms(Ms({},r?{fontSize:r}:{}),t?{color:t}:{}),children:l("i",{className:o})})})};var Ts=function(){return Ts=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++)for(var o in t=arguments[r])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},Ts.apply(this,arguments)},As=function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(n=Object.getOwnPropertySymbols(e);o<n.length;o++)t.indexOf(n[o])<0&&Object.prototype.propertyIsEnumerable.call(e,n[o])&&(r[n[o]]=e[n[o]])}return r};const js=function(e){var t=e.styles,r=void 0===t?{}:t,n=e.sx,o=e.success,i=e.children,a=e.breakText,u=void 0===a?!!e.fullWidth:a,d=e.showSkeleton,p=e.buttonType,f=e.dangerouslySetInnerHTML,h=e.enableHTML,m=void 0!==h&&h,g=As(e,["styles","sx","success","children","breakText","showSkeleton","buttonType","dangerouslySetInnerHTML","enableHTML"]),v=Qr(),b=r.fontSize,y=r.fontFamily,x=r.fontWeight,w=r.letterSpacing,k=r.textColor,S=r.textAlign,E=r.backgroundColor,Z=r.paddingLeft,O=r.paddingRight,C=r.paddingTop,M=r.paddingBottom,R=r.marginTop,P=r.marginBottom,T=r.marginRight,A=r.marginLeft,j=r.borderStyle,N=r.borderWidth,_=r.borderColor,L=r.borderRadius,I=r.backgroundColorHover,F=r.boxShadowHover,$=r.boxShadow,z=r.borderStyleHover,B=r.borderWidthHover,D=r.borderColorHover;return d?l(ps,{variant:"rectangular",sx:Ts(Ts({},r),{minWidth:"120px",minHeight:"39px"})}):l(Ka,Ts({variant:"contained",color:"primary"},g,{type:p,href:g.href,fullWidth:g.fullWidth,sx:Ts(Ts(Ts(Ts(Ts({},n),{pt:C,pr:O,pb:M,pl:Z,mt:R,mb:P,mr:T,ml:A,backgroundColor:E,color:k,align:S}),g.loading&&{pointerEvents:"none"}),o&&{backgroundColor:"#36B37E"}),{borderStyle:j,borderWidth:N,borderColor:_,borderRadius:L,fontSize:b,fontFamily:y,fontWeight:x,letterSpacing:w,whiteSpace:u?"wrap":"nowrap",boxShadow:$,":hover":Ts(Ts({backgroundColor:(I||E)+"!important"},o&&{backgroundColor:"#36B37E"}),{color:k||(I||E?v.palette.getContrastText(I||E):"primary.contrastText"),boxShadow:F+"!important",borderStyle:z,borderWidth:B,borderColor:D})}),children:m?l(Rt,{component:"span",sx:{maxWidth:"100%",textOverflow:"ellipsis",overflow:"hidden"},dangerouslySetInnerHTML:{__html:f}}):c(s,{children:[i,o&&l("div",{className:"success-icon",children:l(Ps,{className:"CheckCircle"})}),g.loading&&l(Cs,{color:"inherit",size:15,sx:{marginLeft:"10px"}})]})}))};var Ns=function(){return Ns=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++)for(var o in t=arguments[r])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},Ns.apply(this,arguments)},_s=function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(n=Object.getOwnPropertySymbols(e);o<n.length;o++)t.indexOf(n[o])<0&&Object.prototype.propertyIsEnumerable.call(e,n[o])&&(r[n[o]]=e[n[o]])}return r},Ls=function(e){var t=e.children,r=e.className,n=e.justifyContent,o=e.styles,i=_s(e,["children","className","justifyContent","styles"]),a=Ns(Ns({},n?{display:"flex",justifyContent:n}:{}),o||{});return l(Rt,Ns({component:"div",className:Te()(r,"container"),sx:a},i,{children:t}))};Ls.defaultProps={};const Is=Ls;var Fs=r(33703),$s=r(73546),zs=r(82690);function Bs(e){if(null==e)return window;if("[object Window]"!==e.toString()){var t=e.ownerDocument;return t&&t.defaultView||window}return e}function Ds(e){return e instanceof Bs(e).Element||e instanceof Element}function Ws(e){return e instanceof Bs(e).HTMLElement||e instanceof HTMLElement}function Hs(e){return"undefined"!=typeof ShadowRoot&&(e instanceof Bs(e).ShadowRoot||e instanceof ShadowRoot)}var qs=Math.max,Us=Math.min,Gs=Math.round;function Vs(){var e=navigator.userAgentData;return null!=e&&e.brands&&Array.isArray(e.brands)?e.brands.map((function(e){return e.brand+"/"+e.version})).join(" "):navigator.userAgent}function Ks(){return!/^((?!chrome|android).)*safari/i.test(Vs())}function Ys(e,t,r){void 0===t&&(t=!1),void 0===r&&(r=!1);var n=e.getBoundingClientRect(),o=1,i=1;t&&Ws(e)&&(o=e.offsetWidth>0&&Gs(n.width)/e.offsetWidth||1,i=e.offsetHeight>0&&Gs(n.height)/e.offsetHeight||1);var a=(Ds(e)?Bs(e):window).visualViewport,s=!Ks()&&r,l=(n.left+(s&&a?a.offsetLeft:0))/o,c=(n.top+(s&&a?a.offsetTop:0))/i,u=n.width/o,d=n.height/i;return{width:u,height:d,top:c,right:l+u,bottom:c+d,left:l,x:l,y:c}}function Xs(e){var t=Bs(e);return{scrollLeft:t.pageXOffset,scrollTop:t.pageYOffset}}function Js(e){return e?(e.nodeName||"").toLowerCase():null}function Qs(e){return((Ds(e)?e.ownerDocument:e.document)||window.document).documentElement}function el(e){return Ys(Qs(e)).left+Xs(e).scrollLeft}function tl(e){return Bs(e).getComputedStyle(e)}function rl(e){var t=tl(e),r=t.overflow,n=t.overflowX,o=t.overflowY;return/auto|scroll|overlay|hidden/.test(r+o+n)}function nl(e,t,r){void 0===r&&(r=!1);var n,o,i=Ws(t),a=Ws(t)&&function(e){var t=e.getBoundingClientRect(),r=Gs(t.width)/e.offsetWidth||1,n=Gs(t.height)/e.offsetHeight||1;return 1!==r||1!==n}(t),s=Qs(t),l=Ys(e,a,r),c={scrollLeft:0,scrollTop:0},u={x:0,y:0};return(i||!i&&!r)&&(("body"!==Js(t)||rl(s))&&(c=(n=t)!==Bs(n)&&Ws(n)?{scrollLeft:(o=n).scrollLeft,scrollTop:o.scrollTop}:Xs(n)),Ws(t)?((u=Ys(t,!0)).x+=t.clientLeft,u.y+=t.clientTop):s&&(u.x=el(s))),{x:l.left+c.scrollLeft-u.x,y:l.top+c.scrollTop-u.y,width:l.width,height:l.height}}function ol(e){var t=Ys(e),r=e.offsetWidth,n=e.offsetHeight;return Math.abs(t.width-r)<=1&&(r=t.width),Math.abs(t.height-n)<=1&&(n=t.height),{x:e.offsetLeft,y:e.offsetTop,width:r,height:n}}function il(e){return"html"===Js(e)?e:e.assignedSlot||e.parentNode||(Hs(e)?e.host:null)||Qs(e)}function al(e){return["html","body","#document"].indexOf(Js(e))>=0?e.ownerDocument.body:Ws(e)&&rl(e)?e:al(il(e))}function sl(e,t){var r;void 0===t&&(t=[]);var n=al(e),o=n===(null==(r=e.ownerDocument)?void 0:r.body),i=Bs(n),a=o?[i].concat(i.visualViewport||[],rl(n)?n:[]):n,s=t.concat(a);return o?s:s.concat(sl(il(a)))}function ll(e){return["table","td","th"].indexOf(Js(e))>=0}function cl(e){return Ws(e)&&"fixed"!==tl(e).position?e.offsetParent:null}function ul(e){for(var t=Bs(e),r=cl(e);r&&ll(r)&&"static"===tl(r).position;)r=cl(r);return r&&("html"===Js(r)||"body"===Js(r)&&"static"===tl(r).position)?t:r||function(e){var t=/firefox/i.test(Vs());if(/Trident/i.test(Vs())&&Ws(e)&&"fixed"===tl(e).position)return null;var r=il(e);for(Hs(r)&&(r=r.host);Ws(r)&&["html","body"].indexOf(Js(r))<0;){var n=tl(r);if("none"!==n.transform||"none"!==n.perspective||"paint"===n.contain||-1!==["transform","perspective"].indexOf(n.willChange)||t&&"filter"===n.willChange||t&&n.filter&&"none"!==n.filter)return r;r=r.parentNode}return null}(e)||t}var dl="top",pl="bottom",fl="right",hl="left",ml="auto",gl=[dl,pl,fl,hl],vl="start",bl="end",yl="clippingParents",xl="viewport",wl="popper",kl="reference",Sl=gl.reduce((function(e,t){return e.concat([t+"-"+vl,t+"-"+bl])}),[]),El=[].concat(gl,[ml]).reduce((function(e,t){return e.concat([t,t+"-"+vl,t+"-"+bl])}),[]),Zl=["beforeRead","read","afterRead","beforeMain","main","afterMain","beforeWrite","write","afterWrite"];function Ol(e){var t=new Map,r=new Set,n=[];function o(e){r.add(e.name),[].concat(e.requires||[],e.requiresIfExists||[]).forEach((function(e){if(!r.has(e)){var n=t.get(e);n&&o(n)}})),n.push(e)}return e.forEach((function(e){t.set(e.name,e)})),e.forEach((function(e){r.has(e.name)||o(e)})),n}var Cl={placement:"bottom",modifiers:[],strategy:"absolute"};function Ml(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return!t.some((function(e){return!(e&&"function"==typeof e.getBoundingClientRect)}))}function Rl(e){void 0===e&&(e={});var t=e,r=t.defaultModifiers,n=void 0===r?[]:r,o=t.defaultOptions,i=void 0===o?Cl:o;return function(e,t,r){void 0===r&&(r=i);var o,a,s={placement:"bottom",orderedModifiers:[],options:Object.assign({},Cl,i),modifiersData:{},elements:{reference:e,popper:t},attributes:{},styles:{}},l=[],c=!1,u={state:s,setOptions:function(r){var o="function"==typeof r?r(s.options):r;d(),s.options=Object.assign({},i,s.options,o),s.scrollParents={reference:Ds(e)?sl(e):e.contextElement?sl(e.contextElement):[],popper:sl(t)};var a,c,p=function(e){var t=Ol(e);return Zl.reduce((function(e,r){return e.concat(t.filter((function(e){return e.phase===r})))}),[])}((a=[].concat(n,s.options.modifiers),c=a.reduce((function(e,t){var r=e[t.name];return e[t.name]=r?Object.assign({},r,t,{options:Object.assign({},r.options,t.options),data:Object.assign({},r.data,t.data)}):t,e}),{}),Object.keys(c).map((function(e){return c[e]}))));return s.orderedModifiers=p.filter((function(e){return e.enabled})),s.orderedModifiers.forEach((function(e){var t=e.name,r=e.options,n=void 0===r?{}:r,o=e.effect;if("function"==typeof o){var i=o({state:s,name:t,instance:u,options:n}),a=function(){};l.push(i||a)}})),u.update()},forceUpdate:function(){if(!c){var e=s.elements,t=e.reference,r=e.popper;if(Ml(t,r)){s.rects={reference:nl(t,ul(r),"fixed"===s.options.strategy),popper:ol(r)},s.reset=!1,s.placement=s.options.placement,s.orderedModifiers.forEach((function(e){return s.modifiersData[e.name]=Object.assign({},e.data)}));for(var n=0;n<s.orderedModifiers.length;n++)if(!0!==s.reset){var o=s.orderedModifiers[n],i=o.fn,a=o.options,l=void 0===a?{}:a,d=o.name;"function"==typeof i&&(s=i({state:s,options:l,name:d,instance:u})||s)}else s.reset=!1,n=-1}}},update:(o=function(){return new Promise((function(e){u.forceUpdate(),e(s)}))},function(){return a||(a=new Promise((function(e){Promise.resolve().then((function(){a=void 0,e(o())}))}))),a}),destroy:function(){d(),c=!0}};if(!Ml(e,t))return u;function d(){l.forEach((function(e){return e()})),l=[]}return u.setOptions(r).then((function(e){!c&&r.onFirstUpdate&&r.onFirstUpdate(e)})),u}}var Pl={passive:!0};function Tl(e){return e.split("-")[0]}function Al(e){return e.split("-")[1]}function jl(e){return["top","bottom"].indexOf(e)>=0?"x":"y"}function Nl(e){var t,r=e.reference,n=e.element,o=e.placement,i=o?Tl(o):null,a=o?Al(o):null,s=r.x+r.width/2-n.width/2,l=r.y+r.height/2-n.height/2;switch(i){case dl:t={x:s,y:r.y-n.height};break;case pl:t={x:s,y:r.y+r.height};break;case fl:t={x:r.x+r.width,y:l};break;case hl:t={x:r.x-n.width,y:l};break;default:t={x:r.x,y:r.y}}var c=i?jl(i):null;if(null!=c){var u="y"===c?"height":"width";switch(a){case vl:t[c]=t[c]-(r[u]/2-n[u]/2);break;case bl:t[c]=t[c]+(r[u]/2-n[u]/2)}}return t}var _l={top:"auto",right:"auto",bottom:"auto",left:"auto"};function Ll(e){var t,r=e.popper,n=e.popperRect,o=e.placement,i=e.variation,a=e.offsets,s=e.position,l=e.gpuAcceleration,c=e.adaptive,u=e.roundOffsets,d=e.isFixed,p=a.x,f=void 0===p?0:p,h=a.y,m=void 0===h?0:h,g="function"==typeof u?u({x:f,y:m}):{x:f,y:m};f=g.x,m=g.y;var v=a.hasOwnProperty("x"),b=a.hasOwnProperty("y"),y=hl,x=dl,w=window;if(c){var k=ul(r),S="clientHeight",E="clientWidth";if(k===Bs(r)&&"static"!==tl(k=Qs(r)).position&&"absolute"===s&&(S="scrollHeight",E="scrollWidth"),o===dl||(o===hl||o===fl)&&i===bl)x=pl,m-=(d&&k===w&&w.visualViewport?w.visualViewport.height:k[S])-n.height,m*=l?1:-1;if(o===hl||(o===dl||o===pl)&&i===bl)y=fl,f-=(d&&k===w&&w.visualViewport?w.visualViewport.width:k[E])-n.width,f*=l?1:-1}var Z,O=Object.assign({position:s},c&&_l),C=!0===u?function(e,t){var r=e.x,n=e.y,o=t.devicePixelRatio||1;return{x:Gs(r*o)/o||0,y:Gs(n*o)/o||0}}({x:f,y:m},Bs(r)):{x:f,y:m};return f=C.x,m=C.y,l?Object.assign({},O,((Z={})[x]=b?"0":"",Z[y]=v?"0":"",Z.transform=(w.devicePixelRatio||1)<=1?"translate("+f+"px, "+m+"px)":"translate3d("+f+"px, "+m+"px, 0)",Z)):Object.assign({},O,((t={})[x]=b?m+"px":"",t[y]=v?f+"px":"",t.transform="",t))}const Il={name:"applyStyles",enabled:!0,phase:"write",fn:function(e){var t=e.state;Object.keys(t.elements).forEach((function(e){var r=t.styles[e]||{},n=t.attributes[e]||{},o=t.elements[e];Ws(o)&&Js(o)&&(Object.assign(o.style,r),Object.keys(n).forEach((function(e){var t=n[e];!1===t?o.removeAttribute(e):o.setAttribute(e,!0===t?"":t)})))}))},effect:function(e){var t=e.state,r={popper:{position:t.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(t.elements.popper.style,r.popper),t.styles=r,t.elements.arrow&&Object.assign(t.elements.arrow.style,r.arrow),function(){Object.keys(t.elements).forEach((function(e){var n=t.elements[e],o=t.attributes[e]||{},i=Object.keys(t.styles.hasOwnProperty(e)?t.styles[e]:r[e]).reduce((function(e,t){return e[t]="",e}),{});Ws(n)&&Js(n)&&(Object.assign(n.style,i),Object.keys(o).forEach((function(e){n.removeAttribute(e)})))}))}},requires:["computeStyles"]};const Fl={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:function(e){var t=e.state,r=e.options,n=e.name,o=r.offset,i=void 0===o?[0,0]:o,a=El.reduce((function(e,r){return e[r]=function(e,t,r){var n=Tl(e),o=[hl,dl].indexOf(n)>=0?-1:1,i="function"==typeof r?r(Object.assign({},t,{placement:e})):r,a=i[0],s=i[1];return a=a||0,s=(s||0)*o,[hl,fl].indexOf(n)>=0?{x:s,y:a}:{x:a,y:s}}(r,t.rects,i),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[n]=a}};var $l={left:"right",right:"left",bottom:"top",top:"bottom"};function zl(e){return e.replace(/left|right|bottom|top/g,(function(e){return $l[e]}))}var Bl={start:"end",end:"start"};function Dl(e){return e.replace(/start|end/g,(function(e){return Bl[e]}))}function Wl(e,t){var r=t.getRootNode&&t.getRootNode();if(e.contains(t))return!0;if(r&&Hs(r)){var n=t;do{if(n&&e.isSameNode(n))return!0;n=n.parentNode||n.host}while(n)}return!1}function Hl(e){return Object.assign({},e,{left:e.x,top:e.y,right:e.x+e.width,bottom:e.y+e.height})}function ql(e,t,r){return t===xl?Hl(function(e,t){var r=Bs(e),n=Qs(e),o=r.visualViewport,i=n.clientWidth,a=n.clientHeight,s=0,l=0;if(o){i=o.width,a=o.height;var c=Ks();(c||!c&&"fixed"===t)&&(s=o.offsetLeft,l=o.offsetTop)}return{width:i,height:a,x:s+el(e),y:l}}(e,r)):Ds(t)?function(e,t){var r=Ys(e,!1,"fixed"===t);return r.top=r.top+e.clientTop,r.left=r.left+e.clientLeft,r.bottom=r.top+e.clientHeight,r.right=r.left+e.clientWidth,r.width=e.clientWidth,r.height=e.clientHeight,r.x=r.left,r.y=r.top,r}(t,r):Hl(function(e){var t,r=Qs(e),n=Xs(e),o=null==(t=e.ownerDocument)?void 0:t.body,i=qs(r.scrollWidth,r.clientWidth,o?o.scrollWidth:0,o?o.clientWidth:0),a=qs(r.scrollHeight,r.clientHeight,o?o.scrollHeight:0,o?o.clientHeight:0),s=-n.scrollLeft+el(e),l=-n.scrollTop;return"rtl"===tl(o||r).direction&&(s+=qs(r.clientWidth,o?o.clientWidth:0)-i),{width:i,height:a,x:s,y:l}}(Qs(e)))}function Ul(e,t,r,n){var o="clippingParents"===t?function(e){var t=sl(il(e)),r=["absolute","fixed"].indexOf(tl(e).position)>=0&&Ws(e)?ul(e):e;return Ds(r)?t.filter((function(e){return Ds(e)&&Wl(e,r)&&"body"!==Js(e)})):[]}(e):[].concat(t),i=[].concat(o,[r]),a=i[0],s=i.reduce((function(t,r){var o=ql(e,r,n);return t.top=qs(o.top,t.top),t.right=Us(o.right,t.right),t.bottom=Us(o.bottom,t.bottom),t.left=qs(o.left,t.left),t}),ql(e,a,n));return s.width=s.right-s.left,s.height=s.bottom-s.top,s.x=s.left,s.y=s.top,s}function Gl(e){return Object.assign({},{top:0,right:0,bottom:0,left:0},e)}function Vl(e,t){return t.reduce((function(t,r){return t[r]=e,t}),{})}function Kl(e,t){void 0===t&&(t={});var r=t,n=r.placement,o=void 0===n?e.placement:n,i=r.strategy,a=void 0===i?e.strategy:i,s=r.boundary,l=void 0===s?yl:s,c=r.rootBoundary,u=void 0===c?xl:c,d=r.elementContext,p=void 0===d?wl:d,f=r.altBoundary,h=void 0!==f&&f,m=r.padding,g=void 0===m?0:m,v=Gl("number"!=typeof g?g:Vl(g,gl)),b=p===wl?kl:wl,y=e.rects.popper,x=e.elements[h?b:p],w=Ul(Ds(x)?x:x.contextElement||Qs(e.elements.popper),l,u,a),k=Ys(e.elements.reference),S=Nl({reference:k,element:y,strategy:"absolute",placement:o}),E=Hl(Object.assign({},y,S)),Z=p===wl?E:k,O={top:w.top-Z.top+v.top,bottom:Z.bottom-w.bottom+v.bottom,left:w.left-Z.left+v.left,right:Z.right-w.right+v.right},C=e.modifiersData.offset;if(p===wl&&C){var M=C[o];Object.keys(O).forEach((function(e){var t=[fl,pl].indexOf(e)>=0?1:-1,r=[dl,pl].indexOf(e)>=0?"y":"x";O[e]+=M[r]*t}))}return O}const Yl={name:"flip",enabled:!0,phase:"main",fn:function(e){var t=e.state,r=e.options,n=e.name;if(!t.modifiersData[n]._skip){for(var o=r.mainAxis,i=void 0===o||o,a=r.altAxis,s=void 0===a||a,l=r.fallbackPlacements,c=r.padding,u=r.boundary,d=r.rootBoundary,p=r.altBoundary,f=r.flipVariations,h=void 0===f||f,m=r.allowedAutoPlacements,g=t.options.placement,v=Tl(g),b=l||(v===g||!h?[zl(g)]:function(e){if(Tl(e)===ml)return[];var t=zl(e);return[Dl(e),t,Dl(t)]}(g)),y=[g].concat(b).reduce((function(e,r){return e.concat(Tl(r)===ml?function(e,t){void 0===t&&(t={});var r=t,n=r.placement,o=r.boundary,i=r.rootBoundary,a=r.padding,s=r.flipVariations,l=r.allowedAutoPlacements,c=void 0===l?El:l,u=Al(n),d=u?s?Sl:Sl.filter((function(e){return Al(e)===u})):gl,p=d.filter((function(e){return c.indexOf(e)>=0}));0===p.length&&(p=d);var f=p.reduce((function(t,r){return t[r]=Kl(e,{placement:r,boundary:o,rootBoundary:i,padding:a})[Tl(r)],t}),{});return Object.keys(f).sort((function(e,t){return f[e]-f[t]}))}(t,{placement:r,boundary:u,rootBoundary:d,padding:c,flipVariations:h,allowedAutoPlacements:m}):r)}),[]),x=t.rects.reference,w=t.rects.popper,k=new Map,S=!0,E=y[0],Z=0;Z<y.length;Z++){var O=y[Z],C=Tl(O),M=Al(O)===vl,R=[dl,pl].indexOf(C)>=0,P=R?"width":"height",T=Kl(t,{placement:O,boundary:u,rootBoundary:d,altBoundary:p,padding:c}),A=R?M?fl:hl:M?pl:dl;x[P]>w[P]&&(A=zl(A));var j=zl(A),N=[];if(i&&N.push(T[C]<=0),s&&N.push(T[A]<=0,T[j]<=0),N.every((function(e){return e}))){E=O,S=!1;break}k.set(O,N)}if(S)for(var _=function(e){var t=y.find((function(t){var r=k.get(t);if(r)return r.slice(0,e).every((function(e){return e}))}));if(t)return E=t,"break"},L=h?3:1;L>0;L--){if("break"===_(L))break}t.placement!==E&&(t.modifiersData[n]._skip=!0,t.placement=E,t.reset=!0)}},requiresIfExists:["offset"],data:{_skip:!1}};function Xl(e,t,r){return qs(e,Us(t,r))}const Jl={name:"preventOverflow",enabled:!0,phase:"main",fn:function(e){var t=e.state,r=e.options,n=e.name,o=r.mainAxis,i=void 0===o||o,a=r.altAxis,s=void 0!==a&&a,l=r.boundary,c=r.rootBoundary,u=r.altBoundary,d=r.padding,p=r.tether,f=void 0===p||p,h=r.tetherOffset,m=void 0===h?0:h,g=Kl(t,{boundary:l,rootBoundary:c,padding:d,altBoundary:u}),v=Tl(t.placement),b=Al(t.placement),y=!b,x=jl(v),w="x"===x?"y":"x",k=t.modifiersData.popperOffsets,S=t.rects.reference,E=t.rects.popper,Z="function"==typeof m?m(Object.assign({},t.rects,{placement:t.placement})):m,O="number"==typeof Z?{mainAxis:Z,altAxis:Z}:Object.assign({mainAxis:0,altAxis:0},Z),C=t.modifiersData.offset?t.modifiersData.offset[t.placement]:null,M={x:0,y:0};if(k){if(i){var R,P="y"===x?dl:hl,T="y"===x?pl:fl,A="y"===x?"height":"width",j=k[x],N=j+g[P],_=j-g[T],L=f?-E[A]/2:0,I=b===vl?S[A]:E[A],F=b===vl?-E[A]:-S[A],$=t.elements.arrow,z=f&&$?ol($):{width:0,height:0},B=t.modifiersData["arrow#persistent"]?t.modifiersData["arrow#persistent"].padding:{top:0,right:0,bottom:0,left:0},D=B[P],W=B[T],H=Xl(0,S[A],z[A]),q=y?S[A]/2-L-H-D-O.mainAxis:I-H-D-O.mainAxis,U=y?-S[A]/2+L+H+W+O.mainAxis:F+H+W+O.mainAxis,G=t.elements.arrow&&ul(t.elements.arrow),V=G?"y"===x?G.clientTop||0:G.clientLeft||0:0,K=null!=(R=null==C?void 0:C[x])?R:0,Y=j+U-K,X=Xl(f?Us(N,j+q-K-V):N,j,f?qs(_,Y):_);k[x]=X,M[x]=X-j}if(s){var J,Q="x"===x?dl:hl,ee="x"===x?pl:fl,te=k[w],re="y"===w?"height":"width",ne=te+g[Q],oe=te-g[ee],ie=-1!==[dl,hl].indexOf(v),ae=null!=(J=null==C?void 0:C[w])?J:0,se=ie?ne:te-S[re]-E[re]-ae+O.altAxis,le=ie?te+S[re]+E[re]-ae-O.altAxis:oe,ce=f&&ie?function(e,t,r){var n=Xl(e,t,r);return n>r?r:n}(se,te,le):Xl(f?se:ne,te,f?le:oe);k[w]=ce,M[w]=ce-te}t.modifiersData[n]=M}},requiresIfExists:["offset"]};const Ql={name:"arrow",enabled:!0,phase:"main",fn:function(e){var t,r=e.state,n=e.name,o=e.options,i=r.elements.arrow,a=r.modifiersData.popperOffsets,s=Tl(r.placement),l=jl(s),c=[hl,fl].indexOf(s)>=0?"height":"width";if(i&&a){var u=function(e,t){return Gl("number"!=typeof(e="function"==typeof e?e(Object.assign({},t.rects,{placement:t.placement})):e)?e:Vl(e,gl))}(o.padding,r),d=ol(i),p="y"===l?dl:hl,f="y"===l?pl:fl,h=r.rects.reference[c]+r.rects.reference[l]-a[l]-r.rects.popper[c],m=a[l]-r.rects.reference[l],g=ul(i),v=g?"y"===l?g.clientHeight||0:g.clientWidth||0:0,b=h/2-m/2,y=u[p],x=v-d[c]-u[f],w=v/2-d[c]/2+b,k=Xl(y,w,x),S=l;r.modifiersData[n]=((t={})[S]=k,t.centerOffset=k-w,t)}},effect:function(e){var t=e.state,r=e.options.element,n=void 0===r?"[data-popper-arrow]":r;null!=n&&("string"!=typeof n||(n=t.elements.popper.querySelector(n)))&&Wl(t.elements.popper,n)&&(t.elements.arrow=n)},requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function ec(e,t,r){return void 0===r&&(r={x:0,y:0}),{top:e.top-t.height-r.y,right:e.right-t.width+r.x,bottom:e.bottom-t.height+r.y,left:e.left-t.width-r.x}}function tc(e){return[dl,fl,pl,hl].some((function(t){return e[t]>=0}))}var rc=Rl({defaultModifiers:[{name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:function(e){var t=e.state,r=e.instance,n=e.options,o=n.scroll,i=void 0===o||o,a=n.resize,s=void 0===a||a,l=Bs(t.elements.popper),c=[].concat(t.scrollParents.reference,t.scrollParents.popper);return i&&c.forEach((function(e){e.addEventListener("scroll",r.update,Pl)})),s&&l.addEventListener("resize",r.update,Pl),function(){i&&c.forEach((function(e){e.removeEventListener("scroll",r.update,Pl)})),s&&l.removeEventListener("resize",r.update,Pl)}},data:{}},{name:"popperOffsets",enabled:!0,phase:"read",fn:function(e){var t=e.state,r=e.name;t.modifiersData[r]=Nl({reference:t.rects.reference,element:t.rects.popper,strategy:"absolute",placement:t.placement})},data:{}},{name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:function(e){var t=e.state,r=e.options,n=r.gpuAcceleration,o=void 0===n||n,i=r.adaptive,a=void 0===i||i,s=r.roundOffsets,l=void 0===s||s,c={placement:Tl(t.placement),variation:Al(t.placement),popper:t.elements.popper,popperRect:t.rects.popper,gpuAcceleration:o,isFixed:"fixed"===t.options.strategy};null!=t.modifiersData.popperOffsets&&(t.styles.popper=Object.assign({},t.styles.popper,Ll(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,Ll(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:{}},Il,Fl,Yl,Jl,Ql,{name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:function(e){var t=e.state,r=e.name,n=t.rects.reference,o=t.rects.popper,i=t.modifiersData.preventOverflow,a=Kl(t,{elementContext:"reference"}),s=Kl(t,{altBoundary:!0}),l=ec(a,n),c=ec(s,o,i),u=tc(l),d=tc(c);t.modifiersData[r]={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})}}]}),nc=r(7960);const oc=o.forwardRef((function(t,r){const{children:n,container:i,disablePortal:a=!1}=t,[s,l]=o.useState(null),c=(0,Fs.Z)(o.isValidElement(n)?n.ref:null,r);if((0,$s.Z)((()=>{a||l(function(e){return"function"==typeof e?e():e}(i)||document.body)}),[i,a]),(0,$s.Z)((()=>{if(s&&!a)return(0,nc.Z)(r,s),()=>{(0,nc.Z)(r,null)}}),[r,s,a]),a){if(o.isValidElement(n)){const e={ref:c};return o.cloneElement(n,e)}return(0,e.jsx)(o.Fragment,{children:n})}return(0,e.jsx)(o.Fragment,{children:s?Ye.createPortal(n,s):s})}));function ic(e){return(0,$r.Z)("MuiPopper",e)}(0,Fr.Z)("MuiPopper",["root"]);function ac(e){return"string"==typeof e}function sc(e,t=[]){if(void 0===e)return{};const r={};return Object.keys(e).filter((r=>r.match(/^on[A-Z]/)&&"function"==typeof e[r]&&!t.includes(r))).forEach((t=>{r[t]=e[t]})),r}function lc(e){if(void 0===e)return{};const t={};return Object.keys(e).filter((t=>!(t.match(/^on[A-Z]/)&&"function"==typeof e[t]))).forEach((r=>{t[r]=e[r]})),t}const cc=["elementType","externalSlotProps","ownerState","skipResolvingSlotProps"];function uc(e){var t;const{elementType:r,externalSlotProps:n,ownerState:o,skipResolvingSlotProps:i=!1}=e,a=(0,_e.Z)(e,cc),s=i?{}:function(e,t,r){return"function"==typeof e?e(t,r):e}(n,o),{props:l,internalRef:c}=function(e){const{getSlotProps:t,additionalProps:r,externalSlotProps:n,externalForwardedProps:o,className:i}=e;if(!t){const e=(0,gt.Z)(null==o?void 0:o.className,null==n?void 0:n.className,i,null==r?void 0:r.className),t=(0,Ne.Z)({},null==r?void 0:r.style,null==o?void 0:o.style,null==n?void 0:n.style),a=(0,Ne.Z)({},r,o,n);return e.length>0&&(a.className=e),Object.keys(t).length>0&&(a.style=t),{props:a,internalRef:void 0}}const a=sc((0,Ne.Z)({},o,n)),s=lc(n),l=lc(o),c=t(a),u=(0,gt.Z)(null==c?void 0:c.className,null==r?void 0:r.className,i,null==o?void 0:o.className,null==n?void 0:n.className),d=(0,Ne.Z)({},null==c?void 0:c.style,null==r?void 0:r.style,null==o?void 0:o.style,null==n?void 0:n.style),p=(0,Ne.Z)({},c,r,l,s);return u.length>0&&(p.className=u),Object.keys(d).length>0&&(p.style=d),{props:p,internalRef:c.ref}}((0,Ne.Z)({},a,{externalSlotProps:s})),u=(0,Fs.Z)(c,null==s?void 0:s.ref,null==(t=e.additionalProps)?void 0:t.ref),d=function(e,t,r){return void 0===e||ac(e)?t:(0,Ne.Z)({},t,{ownerState:(0,Ne.Z)({},t.ownerState,r)})}(r,(0,Ne.Z)({},l,{ref:u}),o);return d}const dc={disableDefaultClasses:!1},pc=o.createContext(dc);const fc=["anchorEl","children","direction","disablePortal","modifiers","open","placement","popperOptions","popperRef","slotProps","slots","TransitionProps","ownerState"],hc=["anchorEl","children","container","direction","disablePortal","keepMounted","modifiers","open","placement","popperOptions","popperRef","style","transition","slotProps","slots"];function mc(e){return"function"==typeof e?e():e}function gc(e){return void 0!==e.nodeType}const vc=()=>(0,Ar.Z)({root:["root"]},function(e){const{disableDefaultClasses:t}=o.useContext(pc);return r=>t?"":e(r)}(ic)),bc={},yc=o.forwardRef((function(t,r){var n;const{anchorEl:i,children:a,direction:s,disablePortal:l,modifiers:c,open:u,placement:d,popperOptions:p,popperRef:f,slotProps:h={},slots:m={},TransitionProps:g}=t,v=(0,_e.Z)(t,fc),b=o.useRef(null),y=(0,Fs.Z)(b,r),x=o.useRef(null),w=(0,Fs.Z)(x,f),k=o.useRef(w);(0,$s.Z)((()=>{k.current=w}),[w]),o.useImperativeHandle(f,(()=>x.current),[]);const S=function(e,t){if("ltr"===t)return e;switch(e){case"bottom-end":return"bottom-start";case"bottom-start":return"bottom-end";case"top-end":return"top-start";case"top-start":return"top-end";default:return e}}(d,s),[E,Z]=o.useState(S),[O,C]=o.useState(mc(i));o.useEffect((()=>{x.current&&x.current.forceUpdate()})),o.useEffect((()=>{i&&C(mc(i))}),[i]),(0,$s.Z)((()=>{if(!O||!u)return;let e=[{name:"preventOverflow",options:{altBoundary:l}},{name:"flip",options:{altBoundary:l}},{name:"onUpdate",enabled:!0,phase:"afterWrite",fn:({state:e})=>{Z(e.placement)}}];null!=c&&(e=e.concat(c)),p&&null!=p.modifiers&&(e=e.concat(p.modifiers));const t=rc(O,b.current,(0,Ne.Z)({placement:S},p,{modifiers:e}));return k.current(t),()=>{t.destroy(),k.current(null)}}),[O,l,c,u,p,S]);const M={placement:E};null!==g&&(M.TransitionProps=g);const R=vc(),P=null!=(n=m.root)?n:"div",T=uc({elementType:P,externalSlotProps:h.root,externalForwardedProps:v,additionalProps:{role:"tooltip",ref:y},ownerState:t,className:R.root});return(0,e.jsx)(P,(0,Ne.Z)({},T,{children:"function"==typeof a?a(M):a}))})),xc=o.forwardRef((function(t,r){const{anchorEl:n,children:i,container:a,direction:s="ltr",disablePortal:l=!1,keepMounted:c=!1,modifiers:u,open:d,placement:p="bottom",popperOptions:f=bc,popperRef:h,style:m,transition:g=!1,slotProps:v={},slots:b={}}=t,y=(0,_e.Z)(t,hc),[x,w]=o.useState(!0);if(!c&&!d&&(!g||x))return null;let k;if(a)k=a;else if(n){const e=mc(n);k=e&&gc(e)?(0,zs.Z)(e).body:(0,zs.Z)(null).body}const S=d||!c||g&&!x?void 0:"none",E=g?{in:d,onEnter:()=>{w(!1)},onExited:()=>{w(!0)}}:void 0;return(0,e.jsx)(oc,{disablePortal:l,container:k,children:(0,e.jsx)(yc,(0,Ne.Z)({anchorEl:n,direction:s,disablePortal:l,modifiers:u,ref:r,open:g?!x:d,placement:p,popperOptions:f,popperRef:h,slotProps:v,slots:b},y,{style:(0,Ne.Z)({position:"fixed",top:0,left:0,display:S},m),TransitionProps:E,children:i}))})})),wc=["anchorEl","component","components","componentsProps","container","disablePortal","keepMounted","modifiers","open","placement","popperOptions","popperRef","transition","slots","slotProps"],kc=(0,jr.ZP)(xc,{name:"MuiPopper",slot:"Root",overridesResolver:(e,t)=>t.root})({}),Sc=o.forwardRef((function(t,r){var n;const o=(0,ze.Z)(),i=(0,Nr.Z)({props:t,name:"MuiPopper"}),{anchorEl:a,component:s,components:l,componentsProps:c,container:u,disablePortal:d,keepMounted:p,modifiers:f,open:h,placement:m,popperOptions:g,popperRef:v,transition:b,slots:y,slotProps:x}=i,w=(0,_e.Z)(i,wc),k=null!=(n=null==y?void 0:y.root)?n:null==l?void 0:l.Root,S=(0,Ne.Z)({anchorEl:a,container:u,disablePortal:d,keepMounted:p,modifiers:f,open:h,placement:m,popperOptions:g,popperRef:v,transition:b},w);return(0,e.jsx)(kc,(0,Ne.Z)({as:s,direction:null==o?void 0:o.direction,slots:{root:k},slotProps:null!=x?x:c},S,{ref:r}))})),Ec=Sc;var Zc=r(59948);function Oc(e){return e.substring(2).toLowerCase()}function Cc(t){const{children:r,disableReactTree:n=!1,mouseEvent:i="onClick",onClickAway:a,touchEvent:s="onTouchEnd"}=t,l=o.useRef(!1),c=o.useRef(null),u=o.useRef(!1),d=o.useRef(!1);o.useEffect((()=>(setTimeout((()=>{u.current=!0}),0),()=>{u.current=!1})),[]);const p=(0,Fs.Z)(r.ref,c),f=(0,Zc.Z)((e=>{const t=d.current;d.current=!1;const r=(0,zs.Z)(c.current);if(!u.current||!c.current||"clientX"in e&&function(e,t){return t.documentElement.clientWidth<e.clientX||t.documentElement.clientHeight<e.clientY}(e,r))return;if(l.current)return void(l.current=!1);let o;o=e.composedPath?e.composedPath().indexOf(c.current)>-1:!r.documentElement.contains(e.target)||c.current.contains(e.target),o||!n&&t||a(e)})),h=e=>t=>{d.current=!0;const n=r.props[e];n&&n(t)},m={ref:p};return!1!==s&&(m[s]=h(s)),o.useEffect((()=>{if(!1!==s){const e=Oc(s),t=(0,zs.Z)(c.current),r=()=>{l.current=!0};return t.addEventListener(e,f),t.addEventListener("touchmove",r),()=>{t.removeEventListener(e,f),t.removeEventListener("touchmove",r)}}}),[f,s]),!1!==i&&(m[i]=h(i)),o.useEffect((()=>{if(!1!==i){const e=Oc(i),t=(0,zs.Z)(c.current);return t.addEventListener(e,f),()=>{t.removeEventListener(e,f)}}}),[f,i]),(0,e.jsx)(o.Fragment,{children:o.cloneElement(r,m)})}var Mc=function(){return Mc=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++)for(var o in t=arguments[r])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},Mc.apply(this,arguments)};const Rc=function(e){var t=e.children,r=e.open,n=e.anchorRef,o=e.onClose,i=e.paperProps,a=void 0===i?{}:i,s=e.containerProps,c=void 0===s?{}:s,u=e.boxProps,d=void 0===u?{}:u,p=e.className;return l(Ec,Mc({className:p,open:r,anchorEl:n,role:void 0,placement:"bottom-start",disablePortal:!0},c,{children:l(Hr,Mc({},a,{elevation:24,children:l(Cc,{onClickAway:function(){return r&&o()},children:l(Rt,Mc({},d,{children:t}))})}))}))};var Pc=function(){return Pc=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++)for(var o in t=arguments[r])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},Pc.apply(this,arguments)},Tc=function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(n=Object.getOwnPropertySymbols(e);o<n.length;o++)t.indexOf(n[o])<0&&Object.prototype.propertyIsEnumerable.call(e,n[o])&&(r[n[o]]=e[n[o]])}return r};const Ac=function(e){var t=e.styles,r=void 0===t?{}:t,n=e.children,o=e.sx,i=void 0===o?{}:o,a=Tc(e,["styles","children","sx"]),s=r.fontSize,c=r.fontFamily,u=r.fontWeight,d=r.letterSpacing,p=r.textColor,f=r.backgroundColor,h=r.paddingLeft,m=r.paddingRight,g=r.paddingTop,v=r.paddingBottom,b=r.marginTop,y=r.marginBottom,x=r.borderStyle,w=r.borderWidth,k=r.borderColor,S=r.borderRadius,E=r.backgroundColorHover,Z=r.boxShadowHover,O=r.borderStyleHover,C=r.borderWidthHover,M=r.borderColorHover;return l(va,Pc({},a,{disableRipple:!0,sx:Pc(Pc({minWidth:"40px",padding:1},i),{pt:g,pr:m,pb:v,pl:h,mt:b,mb:y,backgroundColor:f,color:p,borderStyle:x,borderWidth:w,borderColor:k,borderRadius:S,fontSize:s,fontFamily:c,fontWeight:u,letterSpacing:d,":hover":Pc(Pc({},i[":hover"]?Pc({},i[":hover"]):{}),{backgroundColor:E,boxShadow:Z,borderStyle:O,borderWidth:C,borderColor:M})}),children:n}))};var jc=(0,o.createContext)({color:"currentColor",size:"1em",weight:"regular",mirrored:!1}),Nc=function(e,t,r){var n=r.get(e);return n?n(t):(console.error('Unsupported icon weight. Choose from "thin", "light", "regular", "bold", "fill", or "duotone".'),null)};function _c(e,t){if(null==e)return{};var r,n,o={},i=Object.keys(e);for(n=0;n<i.length;n++)r=i[n],t.indexOf(r)>=0||(o[r]=e[r]);return o}var Lc=(0,o.forwardRef)((function(e,t){var r=e.alt,n=e.color,a=e.size,s=e.weight,l=e.mirrored,c=e.children,u=e.renderPath,d=_c(e,["alt","color","size","weight","mirrored","children","renderPath"]),p=(0,o.useContext)(jc),f=p.color,h=void 0===f?"currentColor":f,m=p.size,g=p.weight,v=void 0===g?"regular":g,b=p.mirrored,y=void 0!==b&&b,x=_c(p,["color","size","weight","mirrored"]);return i().createElement("svg",Object.assign({ref:t,xmlns:"http://www.w3.org/2000/svg",width:null!=a?a:m,height:null!=a?a:m,fill:null!=n?n:h,viewBox:"0 0 256 256",transform:l||y?"scale(-1, 1)":void 0},x,d),!!r&&i().createElement("title",null,r),c,i().createElement("rect",{width:"256",height:"256",fill:"none"}),u(null!=s?s:v,null!=n?n:h))}));Lc.displayName="IconBase";const Ic=Lc;var Fc=new Map;Fc.set("bold",(function(e){return i().createElement(i().Fragment,null,i().createElement("polyline",{points:"208 96 128 176 48 96",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"24"}))})),Fc.set("duotone",(function(e){return i().createElement(i().Fragment,null,i().createElement("polygon",{points:"208 96 128 176 48 96 208 96",opacity:"0.2"}),i().createElement("polygon",{points:"208 96 128 176 48 96 208 96",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"16"}))})),Fc.set("fill",(function(){return i().createElement(i().Fragment,null,i().createElement("path",{d:"M215.4,92.9A8,8,0,0,0,208,88H48a8,8,0,0,0-7.4,4.9,8.4,8.4,0,0,0,1.7,8.8l80,80a8.2,8.2,0,0,0,11.4,0l80-80A8.4,8.4,0,0,0,215.4,92.9Z"}))})),Fc.set("light",(function(e){return i().createElement(i().Fragment,null,i().createElement("polyline",{points:"208 96 128 176 48 96",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"12"}))})),Fc.set("thin",(function(e){return i().createElement(i().Fragment,null,i().createElement("polyline",{points:"208 96 128 176 48 96",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"8"}))})),Fc.set("regular",(function(e){return i().createElement(i().Fragment,null,i().createElement("polyline",{points:"208 96 128 176 48 96",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"16"}))}));var $c=function(e,t){return Nc(e,t,Fc)},zc=(0,o.forwardRef)((function(e,t){return i().createElement(Ic,Object.assign({ref:t},e,{renderPath:$c}))}));zc.displayName="CaretDown";const Bc=zc;var Dc=new Map;Dc.set("bold",(function(e){return i().createElement(i().Fragment,null,i().createElement("line",{x1:"40",y1:"128",x2:"216",y2:"128",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"24"}),i().createElement("line",{x1:"40",y1:"64",x2:"216",y2:"64",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"24"}),i().createElement("line",{x1:"40",y1:"192",x2:"216",y2:"192",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"24"}))})),Dc.set("duotone",(function(e){return i().createElement(i().Fragment,null,i().createElement("line",{x1:"40",y1:"128",x2:"216",y2:"128",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"16"}),i().createElement("line",{x1:"40",y1:"64",x2:"216",y2:"64",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"16"}),i().createElement("line",{x1:"40",y1:"192",x2:"216",y2:"192",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"16"}))})),Dc.set("fill",(function(){return i().createElement(i().Fragment,null,i().createElement("path",{d:"M216,120H40a8,8,0,0,0,0,16H216a8,8,0,0,0,0-16Z"}),i().createElement("path",{d:"M40,72H216a8,8,0,0,0,0-16H40a8,8,0,0,0,0,16Z"}),i().createElement("path",{d:"M216,184H40a8,8,0,0,0,0,16H216a8,8,0,0,0,0-16Z"}))})),Dc.set("light",(function(e){return i().createElement(i().Fragment,null,i().createElement("line",{x1:"40",y1:"128",x2:"216",y2:"128",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"12"}),i().createElement("line",{x1:"40",y1:"64",x2:"216",y2:"64",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"12"}),i().createElement("line",{x1:"40",y1:"192",x2:"216",y2:"192",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"12"}))})),Dc.set("thin",(function(e){return i().createElement(i().Fragment,null,i().createElement("line",{x1:"40",y1:"128",x2:"216",y2:"128",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"8"}),i().createElement("line",{x1:"40",y1:"64",x2:"216",y2:"64",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"8"}),i().createElement("line",{x1:"40",y1:"192",x2:"216",y2:"192",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"8"}))})),Dc.set("regular",(function(e){return i().createElement(i().Fragment,null,i().createElement("line",{x1:"40",y1:"128",x2:"216",y2:"128",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"16"}),i().createElement("line",{x1:"40",y1:"64",x2:"216",y2:"64",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"16"}),i().createElement("line",{x1:"40",y1:"192",x2:"216",y2:"192",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"16"}))}));var Wc=function(e,t){return Nc(e,t,Dc)},Hc=(0,o.forwardRef)((function(e,t){return i().createElement(Ic,Object.assign({ref:t},e,{renderPath:Wc}))}));Hc.displayName="List";const qc=Hc;var Uc=new Map;Uc.set("bold",(function(e){return i().createElement(i().Fragment,null,i().createElement("line",{x1:"200",y1:"56",x2:"56",y2:"200",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"24"}),i().createElement("line",{x1:"200",y1:"200",x2:"56",y2:"56",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"24"}))})),Uc.set("duotone",(function(e){return i().createElement(i().Fragment,null,i().createElement("line",{x1:"200",y1:"56",x2:"56",y2:"200",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"16"}),i().createElement("line",{x1:"200",y1:"200",x2:"56",y2:"56",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"16"}))})),Uc.set("fill",(function(){return i().createElement(i().Fragment,null,i().createElement("path",{d:"M139.3,128l66.4-66.3a8.1,8.1,0,0,0-11.4-11.4L128,116.7,61.7,50.3A8.1,8.1,0,0,0,50.3,61.7L116.7,128,50.3,194.3a8.1,8.1,0,0,0,0,11.4,8.2,8.2,0,0,0,11.4,0L128,139.3l66.3,66.4a8.2,8.2,0,0,0,11.4,0,8.1,8.1,0,0,0,0-11.4Z"}))})),Uc.set("light",(function(e){return i().createElement(i().Fragment,null,i().createElement("line",{x1:"200",y1:"56",x2:"56",y2:"200",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"12"}),i().createElement("line",{x1:"200",y1:"200",x2:"56",y2:"56",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"12"}))})),Uc.set("thin",(function(e){return i().createElement(i().Fragment,null,i().createElement("line",{x1:"200",y1:"56",x2:"56",y2:"200",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"8"}),i().createElement("line",{x1:"200",y1:"200",x2:"56",y2:"56",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"8"}))})),Uc.set("regular",(function(e){return i().createElement(i().Fragment,null,i().createElement("line",{x1:"200",y1:"56",x2:"56",y2:"200",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"16"}),i().createElement("line",{x1:"200",y1:"200",x2:"56",y2:"56",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"16"}))}));var Gc=function(e,t){return Nc(e,t,Uc)},Vc=(0,o.forwardRef)((function(e,t){return i().createElement(Ic,Object.assign({ref:t},e,{renderPath:Gc}))}));Vc.displayName="X";const Kc=Vc;const Yc=(0,r(86154).ZP)();var Xc=r(29628),Jc=r(10360),Qc=r(95408),eu=r(44472);const tu=["component","direction","spacing","divider","children","className","useFlexGap"],ru=(0,Jc.Z)(),nu=Yc("div",{name:"MuiStack",slot:"Root",overridesResolver:(e,t)=>t.root});function ou(e){return(0,Xc.Z)({props:e,name:"MuiStack",defaultTheme:ru})}function iu(e,t){const r=o.Children.toArray(e).filter(Boolean);return r.reduce(((e,n,i)=>(e.push(n),i<r.length-1&&e.push(o.cloneElement(t,{key:`separator-${i}`})),e)),[])}const au=({ownerState:e,theme:t})=>{let r=(0,Ne.Z)({display:"flex",flexDirection:"column"},(0,Qc.k9)({theme:t},(0,Qc.P$)({values:e.direction,breakpoints:t.breakpoints.values}),(e=>({flexDirection:e}))));if(e.spacing){const n=(0,eu.hB)(t),o=Object.keys(t.breakpoints.values).reduce(((t,r)=>(("object"==typeof e.spacing&&null!=e.spacing[r]||"object"==typeof e.direction&&null!=e.direction[r])&&(t[r]=!0),t)),{}),i=(0,Qc.P$)({values:e.direction,base:o}),a=(0,Qc.P$)({values:e.spacing,base:o});"object"==typeof i&&Object.keys(i).forEach(((e,t,r)=>{if(!i[e]){const n=t>0?i[r[t-1]]:"column";i[e]=n}}));const s=(t,r)=>{return e.useFlexGap?{gap:(0,eu.NA)(n,t)}:{"& > :not(style):not(style)":{margin:0},"& > :not(style) ~ :not(style)":{[`margin${o=r?i[r]:e.direction,{row:"Left","row-reverse":"Right",column:"Top","column-reverse":"Bottom"}[o]}`]:(0,eu.NA)(n,t)}};var o};r=(0,yt.Z)(r,(0,Qc.k9)({theme:t},a,s))}return r=(0,Qc.dt)(t.breakpoints,r),r};const su=function(t={}){const{createStyledComponent:r=nu,useThemeProps:n=ou,componentName:i="MuiStack"}=t,a=r(au),s=o.forwardRef((function(t,r){const o=St(n(t)),{component:s="div",direction:l="column",spacing:c=0,divider:u,children:d,className:p,useFlexGap:f=!1}=o,h=(0,_e.Z)(o,tu),m={direction:l,spacing:c,useFlexGap:f},g=(0,Ar.Z)({root:["root"]},(e=>(0,$r.Z)(i,e)),{});return(0,e.jsx)(a,(0,Ne.Z)({as:s,ownerState:m,ref:r,className:(0,gt.Z)(g.root,p)},h,{children:u?iu(d,u):d}))}));return s}({createStyledComponent:(0,jr.ZP)("div",{name:"MuiStack",slot:"Root",overridesResolver:(e,t)=>t.root}),useThemeProps:e=>(0,Nr.Z)({props:e,name:"MuiStack"})}),lu=su;r(59864);var cu=r(8038);function uu(e){return(0,$r.Z)("MuiList",e)}(0,Fr.Z)("MuiList",["root","padding","dense","subheader"]);const du=["children","className","component","dense","disablePadding","subheader"],pu=(0,jr.ZP)("ul",{name:"MuiList",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.root,!r.disablePadding&&t.padding,r.dense&&t.dense,r.subheader&&t.subheader]}})((({ownerState:e})=>(0,Ne.Z)({listStyle:"none",margin:0,padding:0,position:"relative"},!e.disablePadding&&{paddingTop:8,paddingBottom:8},e.subheader&&{paddingTop:0}))),fu=o.forwardRef((function(t,r){const n=(0,Nr.Z)({props:t,name:"MuiList"}),{children:i,className:a,component:s="ul",dense:l=!1,disablePadding:c=!1,subheader:u}=n,d=(0,_e.Z)(n,du),p=o.useMemo((()=>({dense:l})),[l]),f=(0,Ne.Z)({},n,{component:s,dense:l,disablePadding:c}),h=(e=>{const{classes:t,disablePadding:r,dense:n,subheader:o}=e,i={root:["root",!r&&"padding",n&&"dense",o&&"subheader"]};return(0,Ar.Z)(i,uu,t)})(f);return(0,e.jsx)(Ca.Provider,{value:p,children:(0,e.jsxs)(pu,(0,Ne.Z)({as:s,className:(0,gt.Z)(h.root,a),ref:r,ownerState:f},d,{children:[u,i]}))})})),hu=fu;function mu(e){const t=e.documentElement.clientWidth;return Math.abs(window.innerWidth-t)}const gu=mu,vu=["actions","autoFocus","autoFocusItem","children","className","disabledItemsFocusable","disableListWrap","onKeyDown","variant"];function bu(e,t,r){return e===t?e.firstChild:t&&t.nextElementSibling?t.nextElementSibling:r?null:e.firstChild}function yu(e,t,r){return e===t?r?e.firstChild:e.lastChild:t&&t.previousElementSibling?t.previousElementSibling:r?null:e.lastChild}function xu(e,t){if(void 0===t)return!0;let r=e.innerText;return void 0===r&&(r=e.textContent),r=r.trim().toLowerCase(),0!==r.length&&(t.repeating?r[0]===t.keys[0]:0===r.indexOf(t.keys.join("")))}function wu(e,t,r,n,o,i){let a=!1,s=o(e,t,!!t&&r);for(;s;){if(s===e.firstChild){if(a)return!1;a=!0}const t=!n&&(s.disabled||"true"===s.getAttribute("aria-disabled"));if(s.hasAttribute("tabindex")&&xu(s,i)&&!t)return s.focus(),!0;s=o(e,s,r)}return!1}const ku=o.forwardRef((function(t,r){const{actions:n,autoFocus:i=!1,autoFocusItem:a=!1,children:s,className:l,disabledItemsFocusable:c=!1,disableListWrap:u=!1,onKeyDown:d,variant:p="selectedMenu"}=t,f=(0,_e.Z)(t,vu),h=o.useRef(null),m=o.useRef({keys:[],repeating:!0,previousKeyMatched:!0,lastTime:null});(0,tn.Z)((()=>{i&&h.current.focus()}),[i]),o.useImperativeHandle(n,(()=>({adjustStyleForScrollbar:(e,t)=>{const r=!h.current.style.width;if(e.clientHeight<h.current.clientHeight&&r){const r=`${gu((0,cu.Z)(e))}px`;h.current.style["rtl"===t.direction?"paddingLeft":"paddingRight"]=r,h.current.style.width=`calc(100% + ${r})`}return h.current}})),[]);const g=(0,Ti.Z)(h,r);let v=-1;o.Children.forEach(s,((e,t)=>{o.isValidElement(e)?(e.props.disabled||("selectedMenu"===p&&e.props.selected||-1===v)&&(v=t),v===t&&(e.props.disabled||e.props.muiSkipListHighlight||e.type.muiSkipListHighlight)&&(v+=1,v>=s.length&&(v=-1))):v===t&&(v+=1,v>=s.length&&(v=-1))}));const b=o.Children.map(s,((e,t)=>{if(t===v){const t={};return a&&(t.autoFocus=!0),void 0===e.props.tabIndex&&"selectedMenu"===p&&(t.tabIndex=0),o.cloneElement(e,t)}return e}));return(0,e.jsx)(hu,(0,Ne.Z)({role:"menu",ref:g,className:l,onKeyDown:e=>{const t=h.current,r=e.key,n=(0,cu.Z)(t).activeElement;if("ArrowDown"===r)e.preventDefault(),wu(t,n,u,c,bu);else if("ArrowUp"===r)e.preventDefault(),wu(t,n,u,c,yu);else if("Home"===r)e.preventDefault(),wu(t,null,u,c,bu);else if("End"===r)e.preventDefault(),wu(t,null,u,c,yu);else if(1===r.length){const o=m.current,i=r.toLowerCase(),a=performance.now();o.keys.length>0&&(a-o.lastTime>500?(o.keys=[],o.repeating=!0,o.previousKeyMatched=!0):o.repeating&&i!==o.keys[0]&&(o.repeating=!1)),o.lastTime=a,o.keys.push(i);const s=n&&!o.repeating&&xu(n,o);o.previousKeyMatched&&(s||wu(t,n,!1,c,bu,o))?e.preventDefault():o.previousKeyMatched=!1}d&&d(e)},tabIndex:i?0:-1},f,{children:b}))}));var Su=r(57144),Eu=r(5340);const Zu=!1;var Ou="unmounted",Cu="exited",Mu="entering",Ru="entered",Pu="exiting",Tu=function(e){function t(t,r){var n;n=e.call(this,t,r)||this;var o,i=r&&!r.isMounting?t.enter:t.appear;return n.appearStatus=null,t.in?i?(o=Cu,n.appearStatus=Mu):o=Ru:o=t.unmountOnExit||t.mountOnEnter?Ou:Cu,n.state={status:o},n.nextCallback=null,n}_i(t,e),t.getDerivedStateFromProps=function(e,t){return e.in&&t.status===Ou?{status:Cu}:null};var r=t.prototype;return r.componentDidMount=function(){this.updateStatus(!0,this.appearStatus)},r.componentDidUpdate=function(e){var t=null;if(e!==this.props){var r=this.state.status;this.props.in?r!==Mu&&r!==Ru&&(t=Mu):r!==Mu&&r!==Ru||(t=Pu)}this.updateStatus(!1,t)},r.componentWillUnmount=function(){this.cancelNextCallback()},r.getTimeouts=function(){var e,t,r,n=this.props.timeout;return e=t=r=n,null!=n&&"number"!=typeof n&&(e=n.exit,t=n.enter,r=void 0!==n.appear?n.appear:t),{exit:e,enter:t,appear:r}},r.updateStatus=function(e,t){if(void 0===e&&(e=!1),null!==t)if(this.cancelNextCallback(),t===Mu){if(this.props.unmountOnExit||this.props.mountOnEnter){var r=this.props.nodeRef?this.props.nodeRef.current:Xe().findDOMNode(this);r&&function(e){e.scrollTop}(r)}this.performEnter(e)}else this.performExit();else this.props.unmountOnExit&&this.state.status===Cu&&this.setState({status:Ou})},r.performEnter=function(e){var t=this,r=this.props.enter,n=this.context?this.context.isMounting:e,o=this.props.nodeRef?[n]:[Xe().findDOMNode(this),n],i=o[0],a=o[1],s=this.getTimeouts(),l=n?s.appear:s.enter;!e&&!r||Zu?this.safeSetState({status:Ru},(function(){t.props.onEntered(i)})):(this.props.onEnter(i,a),this.safeSetState({status:Mu},(function(){t.props.onEntering(i,a),t.onTransitionEnd(l,(function(){t.safeSetState({status:Ru},(function(){t.props.onEntered(i,a)}))}))})))},r.performExit=function(){var e=this,t=this.props.exit,r=this.getTimeouts(),n=this.props.nodeRef?void 0:Xe().findDOMNode(this);t&&!Zu?(this.props.onExit(n),this.safeSetState({status:Pu},(function(){e.props.onExiting(n),e.onTransitionEnd(r.exit,(function(){e.safeSetState({status:Cu},(function(){e.props.onExited(n)}))}))}))):this.safeSetState({status:Cu},(function(){e.props.onExited(n)}))},r.cancelNextCallback=function(){null!==this.nextCallback&&(this.nextCallback.cancel(),this.nextCallback=null)},r.safeSetState=function(e,t){t=this.setNextCallback(t),this.setState(e,t)},r.setNextCallback=function(e){var t=this,r=!0;return this.nextCallback=function(n){r&&(r=!1,t.nextCallback=null,e(n))},this.nextCallback.cancel=function(){r=!1},this.nextCallback},r.onTransitionEnd=function(e,t){this.setNextCallback(t);var r=this.props.nodeRef?this.props.nodeRef.current:Xe().findDOMNode(this),n=null==e&&!this.props.addEndListener;if(r&&!n){if(this.props.addEndListener){var o=this.props.nodeRef?[this.nextCallback]:[r,this.nextCallback],i=o[0],a=o[1];this.props.addEndListener(i,a)}null!=e&&setTimeout(this.nextCallback,e)}else setTimeout(this.nextCallback,0)},r.render=function(){var e=this.state.status;if(e===Ou)return null;var t=this.props,r=t.children,n=(t.in,t.mountOnEnter,t.unmountOnExit,t.appear,t.enter,t.exit,t.timeout,t.addEndListener,t.onEnter,t.onEntering,t.onEntered,t.onExit,t.onExiting,t.onExited,t.nodeRef,(0,_e.Z)(t,["children","in","mountOnEnter","unmountOnExit","appear","enter","exit","timeout","addEndListener","onEnter","onEntering","onEntered","onExit","onExiting","onExited","nodeRef"]));return i().createElement(Li.Provider,{value:null},"function"==typeof r?r(e,n):i().cloneElement(i().Children.only(r),n))},t}(i().Component);function Au(){}Tu.contextType=Li,Tu.propTypes={},Tu.defaultProps={in:!1,mountOnEnter:!1,unmountOnExit:!1,appear:!1,enter:!0,exit:!0,onEnter:Au,onEntering:Au,onEntered:Au,onExit:Au,onExiting:Au,onExited:Au},Tu.UNMOUNTED=Ou,Tu.EXITED=Cu,Tu.ENTERING=Mu,Tu.ENTERED=Ru,Tu.EXITING=Pu;const ju=Tu,Nu=e=>e.scrollTop;function _u(e,t){var r,n;const{timeout:o,easing:i,style:a={}}=e;return{duration:null!=(r=a.transitionDuration)?r:"number"==typeof o?o:o[t.mode]||0,easing:null!=(n=a.transitionTimingFunction)?n:"object"==typeof i?i[t.mode]:i,delay:a.transitionDelay}}const Lu=["addEndListener","appear","children","easing","in","onEnter","onEntered","onEntering","onExit","onExited","onExiting","style","timeout","TransitionComponent"];function Iu(e){return`scale(${e}, ${e**2})`}const Fu={entering:{opacity:1,transform:Iu(1)},entered:{opacity:1,transform:"none"}},$u="undefined"!=typeof navigator&&/^((?!chrome|android).)*(safari|mobile)/i.test(navigator.userAgent)&&/(os |version\/)15(.|_)4/i.test(navigator.userAgent),zu=o.forwardRef((function(t,r){const{addEndListener:n,appear:i=!0,children:a,easing:s,in:l,onEnter:c,onEntered:u,onEntering:d,onExit:p,onExited:f,onExiting:h,style:m,timeout:g="auto",TransitionComponent:v=ju}=t,b=(0,_e.Z)(t,Lu),y=o.useRef(),x=o.useRef(),w=Qr(),k=o.useRef(null),S=(0,Ti.Z)(k,a.ref,r),E=e=>t=>{if(e){const r=k.current;void 0===t?e(r):e(r,t)}},Z=E(d),O=E(((e,t)=>{Nu(e);const{duration:r,delay:n,easing:o}=_u({style:m,timeout:g,easing:s},{mode:"enter"});let i;"auto"===g?(i=w.transitions.getAutoHeightDuration(e.clientHeight),x.current=i):i=r,e.style.transition=[w.transitions.create("opacity",{duration:i,delay:n}),w.transitions.create("transform",{duration:$u?i:.666*i,delay:n,easing:o})].join(","),c&&c(e,t)})),C=E(u),M=E(h),R=E((e=>{const{duration:t,delay:r,easing:n}=_u({style:m,timeout:g,easing:s},{mode:"exit"});let o;"auto"===g?(o=w.transitions.getAutoHeightDuration(e.clientHeight),x.current=o):o=t,e.style.transition=[w.transitions.create("opacity",{duration:o,delay:r}),w.transitions.create("transform",{duration:$u?o:.666*o,delay:$u?r:r||.333*o,easing:n})].join(","),e.style.opacity=0,e.style.transform=Iu(.75),p&&p(e)})),P=E(f);return o.useEffect((()=>()=>{clearTimeout(y.current)}),[]),(0,e.jsx)(v,(0,Ne.Z)({appear:i,in:l,nodeRef:k,onEnter:O,onEntered:C,onEntering:Z,onExit:R,onExited:P,onExiting:M,addEndListener:e=>{"auto"===g&&(y.current=setTimeout(e,x.current||0)),n&&n(k.current,e)},timeout:"auto"===g?null:g},b,{children:(e,t)=>o.cloneElement(a,(0,Ne.Z)({style:(0,Ne.Z)({opacity:0,transform:Iu(.75),visibility:"exited"!==e||l?void 0:"hidden"},Fu[e],m,a.props.style),ref:S},t))}))}));zu.muiSupportAuto=!0;const Bu=zu;var Du=r(49064),Wu=r(74161);function Hu(e,t){t?e.setAttribute("aria-hidden","true"):e.removeAttribute("aria-hidden")}function qu(e){return parseInt((0,Wu.Z)(e).getComputedStyle(e).paddingRight,10)||0}function Uu(e,t,r,n,o){const i=[t,r,...n];[].forEach.call(e.children,(e=>{const t=-1===i.indexOf(e),r=!function(e){const t=-1!==["TEMPLATE","SCRIPT","STYLE","LINK","MAP","META","NOSCRIPT","PICTURE","COL","COLGROUP","PARAM","SLOT","SOURCE","TRACK"].indexOf(e.tagName),r="INPUT"===e.tagName&&"hidden"===e.getAttribute("type");return t||r}(e);t&&r&&Hu(e,o)}))}function Gu(e,t){let r=-1;return e.some(((e,n)=>!!t(e)&&(r=n,!0))),r}function Vu(e,t){const r=[],n=e.container;if(!t.disableScrollLock){if(function(e){const t=(0,zs.Z)(e);return t.body===e?(0,Wu.Z)(e).innerWidth>t.documentElement.clientWidth:e.scrollHeight>e.clientHeight}(n)){const e=mu((0,zs.Z)(n));r.push({value:n.style.paddingRight,property:"padding-right",el:n}),n.style.paddingRight=`${qu(n)+e}px`;const t=(0,zs.Z)(n).querySelectorAll(".mui-fixed");[].forEach.call(t,(t=>{r.push({value:t.style.paddingRight,property:"padding-right",el:t}),t.style.paddingRight=`${qu(t)+e}px`}))}let e;if(n.parentNode instanceof DocumentFragment)e=(0,zs.Z)(n).body;else{const t=n.parentElement,r=(0,Wu.Z)(n);e="HTML"===(null==t?void 0:t.nodeName)&&"scroll"===r.getComputedStyle(t).overflowY?t:n}r.push({value:e.style.overflow,property:"overflow",el:e},{value:e.style.overflowX,property:"overflow-x",el:e},{value:e.style.overflowY,property:"overflow-y",el:e}),e.style.overflow="hidden"}return()=>{r.forEach((({value:e,el:t,property:r})=>{e?t.style.setProperty(r,e):t.style.removeProperty(r)}))}}const Ku=new class{constructor(){this.containers=void 0,this.modals=void 0,this.modals=[],this.containers=[]}add(e,t){let r=this.modals.indexOf(e);if(-1!==r)return r;r=this.modals.length,this.modals.push(e),e.modalRef&&Hu(e.modalRef,!1);const n=function(e){const t=[];return[].forEach.call(e.children,(e=>{"true"===e.getAttribute("aria-hidden")&&t.push(e)})),t}(t);Uu(t,e.mount,e.modalRef,n,!0);const o=Gu(this.containers,(e=>e.container===t));return-1!==o?(this.containers[o].modals.push(e),r):(this.containers.push({modals:[e],container:t,restore:null,hiddenSiblings:n}),r)}mount(e,t){const r=Gu(this.containers,(t=>-1!==t.modals.indexOf(e))),n=this.containers[r];n.restore||(n.restore=Vu(n,t))}remove(e,t=!0){const r=this.modals.indexOf(e);if(-1===r)return r;const n=Gu(this.containers,(t=>-1!==t.modals.indexOf(e))),o=this.containers[n];if(o.modals.splice(o.modals.indexOf(e),1),this.modals.splice(r,1),0===o.modals.length)o.restore&&o.restore(),e.modalRef&&Hu(e.modalRef,t),Uu(o.container,e.mount,e.modalRef,o.hiddenSiblings,!1),this.containers.splice(n,1);else{const e=o.modals[o.modals.length-1];e.modalRef&&Hu(e.modalRef,!1)}return r}isTopModal(e){return this.modals.length>0&&this.modals[this.modals.length-1]===e}};function Yu(e){const{container:t,disableEscapeKeyDown:r=!1,disableScrollLock:n=!1,manager:i=Ku,closeAfterTransition:a=!1,onTransitionEnter:s,onTransitionExited:l,children:c,onClose:u,open:d,rootRef:p}=e,f=o.useRef({}),h=o.useRef(null),m=o.useRef(null),g=(0,Fs.Z)(m,p),[v,b]=o.useState(!d),y=function(e){return!!e&&e.props.hasOwnProperty("in")}(c);let x=!0;"false"!==e["aria-hidden"]&&!1!==e["aria-hidden"]||(x=!1);const w=()=>(f.current.modalRef=m.current,f.current.mount=h.current,f.current),k=()=>{i.mount(w(),{disableScrollLock:n}),m.current&&(m.current.scrollTop=0)},S=(0,Zc.Z)((()=>{const e=function(e){return"function"==typeof e?e():e}(t)||(0,zs.Z)(h.current).body;i.add(w(),e),m.current&&k()})),E=o.useCallback((()=>i.isTopModal(w())),[i]),Z=(0,Zc.Z)((e=>{h.current=e,e&&(d&&E()?k():m.current&&Hu(m.current,x))})),O=o.useCallback((()=>{i.remove(w(),x)}),[x,i]);o.useEffect((()=>()=>{O()}),[O]),o.useEffect((()=>{d?S():y&&a||O()}),[d,O,y,a,S]);const C=e=>t=>{var n;null==(n=e.onKeyDown)||n.call(e,t),"Escape"===t.key&&E()&&(r||(t.stopPropagation(),u&&u(t,"escapeKeyDown")))},M=e=>t=>{var r;null==(r=e.onClick)||r.call(e,t),t.target===t.currentTarget&&u&&u(t,"backdropClick")};return{getRootProps:(t={})=>{const r=sc(e);delete r.onTransitionEnter,delete r.onTransitionExited;const n=(0,Ne.Z)({},r,t);return(0,Ne.Z)({role:"presentation"},n,{onKeyDown:C(n),ref:g})},getBackdropProps:(e={})=>{const t=e;return(0,Ne.Z)({"aria-hidden":!0},t,{onClick:M(t),open:d})},getTransitionProps:()=>({onEnter:(0,Du.Z)((()=>{b(!1),s&&s()}),null==c?void 0:c.props.onEnter),onExited:(0,Du.Z)((()=>{b(!0),l&&l(),a&&O()}),null==c?void 0:c.props.onExited)}),rootRef:g,portalRef:Z,isTopModal:E,exited:v,hasTransition:y}}const Xu=["input","select","textarea","a[href]","button","[tabindex]","audio[controls]","video[controls]",'[contenteditable]:not([contenteditable="false"])'].join(",");function Ju(e){const t=[],r=[];return Array.from(e.querySelectorAll(Xu)).forEach(((e,n)=>{const o=function(e){const t=parseInt(e.getAttribute("tabindex")||"",10);return Number.isNaN(t)?"true"===e.contentEditable||("AUDIO"===e.nodeName||"VIDEO"===e.nodeName||"DETAILS"===e.nodeName)&&null===e.getAttribute("tabindex")?0:e.tabIndex:t}(e);-1!==o&&function(e){return!(e.disabled||"INPUT"===e.tagName&&"hidden"===e.type||function(e){if("INPUT"!==e.tagName||"radio"!==e.type)return!1;if(!e.name)return!1;const t=t=>e.ownerDocument.querySelector(`input[type="radio"]${t}`);let r=t(`[name="${e.name}"]:checked`);return r||(r=t(`[name="${e.name}"]`)),r!==e}(e))}(e)&&(0===o?t.push(e):r.push({documentOrder:n,tabIndex:o,node:e}))})),r.sort(((e,t)=>e.tabIndex===t.tabIndex?e.documentOrder-t.documentOrder:e.tabIndex-t.tabIndex)).map((e=>e.node)).concat(t)}function Qu(){return!0}function ed(t){const{children:r,disableAutoFocus:n=!1,disableEnforceFocus:i=!1,disableRestoreFocus:a=!1,getTabbable:s=Ju,isEnabled:l=Qu,open:c}=t,u=o.useRef(!1),d=o.useRef(null),p=o.useRef(null),f=o.useRef(null),h=o.useRef(null),m=o.useRef(!1),g=o.useRef(null),v=(0,Fs.Z)(r.ref,g),b=o.useRef(null);o.useEffect((()=>{c&&g.current&&(m.current=!n)}),[n,c]),o.useEffect((()=>{if(!c||!g.current)return;const e=(0,zs.Z)(g.current);return g.current.contains(e.activeElement)||(g.current.hasAttribute("tabIndex")||g.current.setAttribute("tabIndex","-1"),m.current&&g.current.focus()),()=>{a||(f.current&&f.current.focus&&(u.current=!0,f.current.focus()),f.current=null)}}),[c]),o.useEffect((()=>{if(!c||!g.current)return;const e=(0,zs.Z)(g.current),t=t=>{b.current=t,!i&&l()&&"Tab"===t.key&&e.activeElement===g.current&&t.shiftKey&&(u.current=!0,p.current&&p.current.focus())},r=()=>{const t=g.current;if(null===t)return;if(!e.hasFocus()||!l()||u.current)return void(u.current=!1);if(t.contains(e.activeElement))return;if(i&&e.activeElement!==d.current&&e.activeElement!==p.current)return;if(e.activeElement!==h.current)h.current=null;else if(null!==h.current)return;if(!m.current)return;let r=[];if(e.activeElement!==d.current&&e.activeElement!==p.current||(r=s(g.current)),r.length>0){var n,o;const e=Boolean((null==(n=b.current)?void 0:n.shiftKey)&&"Tab"===(null==(o=b.current)?void 0:o.key)),t=r[0],i=r[r.length-1];"string"!=typeof t&&"string"!=typeof i&&(e?i.focus():t.focus())}else t.focus()};e.addEventListener("focusin",r),e.addEventListener("keydown",t,!0);const n=setInterval((()=>{e.activeElement&&"BODY"===e.activeElement.tagName&&r()}),50);return()=>{clearInterval(n),e.removeEventListener("focusin",r),e.removeEventListener("keydown",t,!0)}}),[n,i,a,l,c,s]);const y=e=>{null===f.current&&(f.current=e.relatedTarget),m.current=!0};return(0,e.jsxs)(o.Fragment,{children:[(0,e.jsx)("div",{tabIndex:c?0:-1,onFocus:y,ref:d,"data-testid":"sentinelStart"}),o.cloneElement(r,{ref:v,onFocus:e=>{null===f.current&&(f.current=e.relatedTarget),m.current=!0,h.current=e.target;const t=r.props.onFocus;t&&t(e)}}),(0,e.jsx)("div",{tabIndex:c?0:-1,onFocus:y,ref:p,"data-testid":"sentinelEnd"})]})}const td=["addEndListener","appear","children","easing","in","onEnter","onEntered","onEntering","onExit","onExited","onExiting","style","timeout","TransitionComponent"],rd={entering:{opacity:1},entered:{opacity:1}},nd=o.forwardRef((function(t,r){const n=Qr(),i={enter:n.transitions.duration.enteringScreen,exit:n.transitions.duration.leavingScreen},{addEndListener:a,appear:s=!0,children:l,easing:c,in:u,onEnter:d,onEntered:p,onEntering:f,onExit:h,onExited:m,onExiting:g,style:v,timeout:b=i,TransitionComponent:y=ju}=t,x=(0,_e.Z)(t,td),w=o.useRef(null),k=(0,Ti.Z)(w,l.ref,r),S=e=>t=>{if(e){const r=w.current;void 0===t?e(r):e(r,t)}},E=S(f),Z=S(((e,t)=>{Nu(e);const r=_u({style:v,timeout:b,easing:c},{mode:"enter"});e.style.webkitTransition=n.transitions.create("opacity",r),e.style.transition=n.transitions.create("opacity",r),d&&d(e,t)})),O=S(p),C=S(g),M=S((e=>{const t=_u({style:v,timeout:b,easing:c},{mode:"exit"});e.style.webkitTransition=n.transitions.create("opacity",t),e.style.transition=n.transitions.create("opacity",t),h&&h(e)})),R=S(m);return(0,e.jsx)(y,(0,Ne.Z)({appear:s,in:u,nodeRef:w,onEnter:Z,onEntered:O,onEntering:E,onExit:M,onExited:R,onExiting:C,addEndListener:e=>{a&&a(w.current,e)},timeout:b},x,{children:(e,t)=>o.cloneElement(l,(0,Ne.Z)({style:(0,Ne.Z)({opacity:0,visibility:"exited"!==e||u?void 0:"hidden"},rd[e],v,l.props.style),ref:k},t))}))})),od=nd;function id(e){return(0,$r.Z)("MuiBackdrop",e)}(0,Fr.Z)("MuiBackdrop",["root","invisible"]);const ad=["children","className","component","components","componentsProps","invisible","open","slotProps","slots","TransitionComponent","transitionDuration"],sd=(0,jr.ZP)("div",{name:"MuiBackdrop",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.root,r.invisible&&t.invisible]}})((({ownerState:e})=>(0,Ne.Z)({position:"fixed",display:"flex",alignItems:"center",justifyContent:"center",right:0,bottom:0,top:0,left:0,backgroundColor:"rgba(0, 0, 0, 0.5)",WebkitTapHighlightColor:"transparent"},e.invisible&&{backgroundColor:"transparent"}))),ld=o.forwardRef((function(t,r){var n,o,i;const a=(0,Nr.Z)({props:t,name:"MuiBackdrop"}),{children:s,className:l,component:c="div",components:u={},componentsProps:d={},invisible:p=!1,open:f,slotProps:h={},slots:m={},TransitionComponent:g=od,transitionDuration:v}=a,b=(0,_e.Z)(a,ad),y=(0,Ne.Z)({},a,{component:c,invisible:p}),x=(e=>{const{classes:t,invisible:r}=e,n={root:["root",r&&"invisible"]};return(0,Ar.Z)(n,id,t)})(y),w=null!=(n=h.root)?n:d.root;return(0,e.jsx)(g,(0,Ne.Z)({in:f,timeout:v},b,{children:(0,e.jsx)(sd,(0,Ne.Z)({"aria-hidden":!0},w,{as:null!=(o=null!=(i=m.root)?i:u.Root)?o:c,className:(0,gt.Z)(x.root,l,null==w?void 0:w.className),ownerState:(0,Ne.Z)({},y,null==w?void 0:w.ownerState),classes:x,ref:r,children:s}))}))})),cd=ld;function ud(e){return(0,$r.Z)("MuiModal",e)}(0,Fr.Z)("MuiModal",["root","hidden","backdrop"]);const dd=["BackdropComponent","BackdropProps","classes","className","closeAfterTransition","children","container","component","components","componentsProps","disableAutoFocus","disableEnforceFocus","disableEscapeKeyDown","disablePortal","disableRestoreFocus","disableScrollLock","hideBackdrop","keepMounted","onBackdropClick","onClose","onTransitionEnter","onTransitionExited","open","slotProps","slots","theme"],pd=(0,jr.ZP)("div",{name:"MuiModal",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.root,!r.open&&r.exited&&t.hidden]}})((({theme:e,ownerState:t})=>(0,Ne.Z)({position:"fixed",zIndex:(e.vars||e).zIndex.modal,right:0,bottom:0,top:0,left:0},!t.open&&t.exited&&{visibility:"hidden"}))),fd=(0,jr.ZP)(cd,{name:"MuiModal",slot:"Backdrop",overridesResolver:(e,t)=>t.backdrop})({zIndex:-1}),hd=o.forwardRef((function(t,r){var n,i,a,s,l,c;const u=(0,Nr.Z)({name:"MuiModal",props:t}),{BackdropComponent:d=fd,BackdropProps:p,className:f,closeAfterTransition:h=!1,children:m,container:g,component:v,components:b={},componentsProps:y={},disableAutoFocus:x=!1,disableEnforceFocus:w=!1,disableEscapeKeyDown:k=!1,disablePortal:S=!1,disableRestoreFocus:E=!1,disableScrollLock:Z=!1,hideBackdrop:O=!1,keepMounted:C=!1,onBackdropClick:M,open:R,slotProps:P,slots:T}=u,A=(0,_e.Z)(u,dd),j=(0,Ne.Z)({},u,{closeAfterTransition:h,disableAutoFocus:x,disableEnforceFocus:w,disableEscapeKeyDown:k,disablePortal:S,disableRestoreFocus:E,disableScrollLock:Z,hideBackdrop:O,keepMounted:C}),{getRootProps:N,getBackdropProps:_,getTransitionProps:L,portalRef:I,isTopModal:F,exited:$,hasTransition:z}=Yu((0,Ne.Z)({},j,{rootRef:r})),B=(0,Ne.Z)({},j,{exited:$}),D=(e=>{const{open:t,exited:r,classes:n}=e,o={root:["root",!t&&r&&"hidden"],backdrop:["backdrop"]};return(0,Ar.Z)(o,ud,n)})(B),W={};if(void 0===m.props.tabIndex&&(W.tabIndex="-1"),z){const{onEnter:e,onExited:t}=L();W.onEnter=e,W.onExited=t}const H=null!=(n=null!=(i=null==T?void 0:T.root)?i:b.Root)?n:pd,q=null!=(a=null!=(s=null==T?void 0:T.backdrop)?s:b.Backdrop)?a:d,U=null!=(l=null==P?void 0:P.root)?l:y.root,G=null!=(c=null==P?void 0:P.backdrop)?c:y.backdrop,V=uc({elementType:H,externalSlotProps:U,externalForwardedProps:A,getSlotProps:N,additionalProps:{ref:r,as:v},ownerState:B,className:(0,gt.Z)(f,null==U?void 0:U.className,null==D?void 0:D.root,!B.open&&B.exited&&(null==D?void 0:D.hidden))}),K=uc({elementType:q,externalSlotProps:G,additionalProps:p,getSlotProps:e=>_((0,Ne.Z)({},e,{onClick:t=>{M&&M(t),null!=e&&e.onClick&&e.onClick(t)}})),className:(0,gt.Z)(null==G?void 0:G.className,null==p?void 0:p.className,null==D?void 0:D.backdrop),ownerState:B});return C||R||z&&!$?(0,e.jsx)(oc,{ref:I,container:g,disablePortal:S,children:(0,e.jsxs)(H,(0,Ne.Z)({},V,{children:[!O&&d?(0,e.jsx)(q,(0,Ne.Z)({},K)):null,(0,e.jsx)(ed,{disableEnforceFocus:w,disableAutoFocus:x,disableRestoreFocus:E,isEnabled:F,open:R,children:o.cloneElement(m,W)})]}))}):null})),md=hd;function gd(e){return(0,$r.Z)("MuiPopover",e)}(0,Fr.Z)("MuiPopover",["root","paper"]);const vd=["onEntering"],bd=["action","anchorEl","anchorOrigin","anchorPosition","anchorReference","children","className","container","elevation","marginThreshold","open","PaperProps","slots","slotProps","transformOrigin","TransitionComponent","transitionDuration","TransitionProps","disableScrollLock"],yd=["slotProps"];function xd(e,t){let r=0;return"number"==typeof t?r=t:"center"===t?r=e.height/2:"bottom"===t&&(r=e.height),r}function wd(e,t){let r=0;return"number"==typeof t?r=t:"center"===t?r=e.width/2:"right"===t&&(r=e.width),r}function kd(e){return[e.horizontal,e.vertical].map((e=>"number"==typeof e?`${e}px`:e)).join(" ")}function Sd(e){return"function"==typeof e?e():e}const Ed=(0,jr.ZP)(md,{name:"MuiPopover",slot:"Root",overridesResolver:(e,t)=>t.root})({}),Zd=(0,jr.ZP)(Hr,{name:"MuiPopover",slot:"Paper",overridesResolver:(e,t)=>t.paper})({position:"absolute",overflowY:"auto",overflowX:"hidden",minWidth:16,minHeight:16,maxWidth:"calc(100% - 32px)",maxHeight:"calc(100% - 32px)",outline:0}),Od=o.forwardRef((function(t,r){var n,i,a;const s=(0,Nr.Z)({props:t,name:"MuiPopover"}),{action:l,anchorEl:c,anchorOrigin:u={vertical:"top",horizontal:"left"},anchorPosition:d,anchorReference:p="anchorEl",children:f,className:h,container:m,elevation:g=8,marginThreshold:v=16,open:b,PaperProps:y={},slots:x,slotProps:w,transformOrigin:k={vertical:"top",horizontal:"left"},TransitionComponent:S=Bu,transitionDuration:E="auto",TransitionProps:{onEntering:Z}={},disableScrollLock:O=!1}=s,C=(0,_e.Z)(s.TransitionProps,vd),M=(0,_e.Z)(s,bd),R=null!=(n=null==w?void 0:w.paper)?n:y,P=o.useRef(),T=(0,Ti.Z)(P,R.ref),A=(0,Ne.Z)({},s,{anchorOrigin:u,anchorReference:p,elevation:g,marginThreshold:v,externalPaperSlotProps:R,transformOrigin:k,TransitionComponent:S,transitionDuration:E,TransitionProps:C}),j=(e=>{const{classes:t}=e;return(0,Ar.Z)({root:["root"],paper:["paper"]},gd,t)})(A),N=o.useCallback((()=>{if("anchorPosition"===p)return d;const e=Sd(c),t=(e&&1===e.nodeType?e:(0,cu.Z)(P.current).body).getBoundingClientRect();return{top:t.top+xd(t,u.vertical),left:t.left+wd(t,u.horizontal)}}),[c,u.horizontal,u.vertical,d,p]),_=o.useCallback((e=>({vertical:xd(e,k.vertical),horizontal:wd(e,k.horizontal)})),[k.horizontal,k.vertical]),L=o.useCallback((e=>{const t={width:e.offsetWidth,height:e.offsetHeight},r=_(t);if("none"===p)return{top:null,left:null,transformOrigin:kd(r)};const n=N();let o=n.top-r.vertical,i=n.left-r.horizontal;const a=o+t.height,s=i+t.width,l=(0,Eu.Z)(Sd(c)),u=l.innerHeight-v,d=l.innerWidth-v;if(null!==v&&o<v){const e=o-v;o-=e,r.vertical+=e}else if(null!==v&&a>u){const e=a-u;o-=e,r.vertical+=e}if(null!==v&&i<v){const e=i-v;i-=e,r.horizontal+=e}else if(s>d){const e=s-d;i-=e,r.horizontal+=e}return{top:`${Math.round(o)}px`,left:`${Math.round(i)}px`,transformOrigin:kd(r)}}),[c,p,N,_,v]),[I,F]=o.useState(b),$=o.useCallback((()=>{const e=P.current;if(!e)return;const t=L(e);null!==t.top&&(e.style.top=t.top),null!==t.left&&(e.style.left=t.left),e.style.transformOrigin=t.transformOrigin,F(!0)}),[L]);o.useEffect((()=>(O&&window.addEventListener("scroll",$),()=>window.removeEventListener("scroll",$))),[c,O,$]);o.useEffect((()=>{b&&$()})),o.useImperativeHandle(l,(()=>b?{updatePosition:()=>{$()}}:null),[b,$]),o.useEffect((()=>{if(!b)return;const e=(0,Su.Z)((()=>{$()})),t=(0,Eu.Z)(c);return t.addEventListener("resize",e),()=>{e.clear(),t.removeEventListener("resize",e)}}),[c,b,$]);let z=E;"auto"!==E||S.muiSupportAuto||(z=void 0);const B=m||(c?(0,cu.Z)(Sd(c)).body:void 0),D=null!=(i=null==x?void 0:x.root)?i:Ed,W=null!=(a=null==x?void 0:x.paper)?a:Zd,H=uc({elementType:W,externalSlotProps:(0,Ne.Z)({},R,{style:I?R.style:(0,Ne.Z)({},R.style,{opacity:0})}),additionalProps:{elevation:g,ref:T},ownerState:A,className:(0,gt.Z)(j.paper,null==R?void 0:R.className)}),q=uc({elementType:D,externalSlotProps:(null==w?void 0:w.root)||{},externalForwardedProps:M,additionalProps:{ref:r,slotProps:{backdrop:{invisible:!0}},container:B,open:b},ownerState:A,className:(0,gt.Z)(j.root,h)}),{slotProps:U}=q,G=(0,_e.Z)(q,yd);return(0,e.jsx)(D,(0,Ne.Z)({},G,!ac(D)&&{slotProps:U,disableScrollLock:O},{children:(0,e.jsx)(S,(0,Ne.Z)({appear:!0,in:b,onEntering:(e,t)=>{Z&&Z(e,t),$()},onExited:()=>{F(!1)},timeout:z},C,{children:(0,e.jsx)(W,(0,Ne.Z)({},H,{children:f}))}))}))})),Cd=Od;function Md(e){return(0,$r.Z)("MuiMenu",e)}(0,Fr.Z)("MuiMenu",["root","paper","list"]);const Rd=["onEntering"],Pd=["autoFocus","children","className","disableAutoFocusItem","MenuListProps","onClose","open","PaperProps","PopoverClasses","transitionDuration","TransitionProps","variant","slots","slotProps"],Td={vertical:"top",horizontal:"right"},Ad={vertical:"top",horizontal:"left"},jd=(0,jr.ZP)(Cd,{shouldForwardProp:e=>(0,jr.FO)(e)||"classes"===e,name:"MuiMenu",slot:"Root",overridesResolver:(e,t)=>t.root})({}),Nd=(0,jr.ZP)(Zd,{name:"MuiMenu",slot:"Paper",overridesResolver:(e,t)=>t.paper})({maxHeight:"calc(100% - 96px)",WebkitOverflowScrolling:"touch"}),_d=(0,jr.ZP)(ku,{name:"MuiMenu",slot:"List",overridesResolver:(e,t)=>t.list})({outline:0}),Ld=o.forwardRef((function(t,r){var n,i;const a=(0,Nr.Z)({props:t,name:"MuiMenu"}),{autoFocus:s=!0,children:l,className:c,disableAutoFocusItem:u=!1,MenuListProps:d={},onClose:p,open:f,PaperProps:h={},PopoverClasses:m,transitionDuration:g="auto",TransitionProps:{onEntering:v}={},variant:b="selectedMenu",slots:y={},slotProps:x={}}=a,w=(0,_e.Z)(a.TransitionProps,Rd),k=(0,_e.Z)(a,Pd),S=Qr(),E="rtl"===S.direction,Z=(0,Ne.Z)({},a,{autoFocus:s,disableAutoFocusItem:u,MenuListProps:d,onEntering:v,PaperProps:h,transitionDuration:g,TransitionProps:w,variant:b}),O=(e=>{const{classes:t}=e;return(0,Ar.Z)({root:["root"],paper:["paper"],list:["list"]},Md,t)})(Z),C=s&&!u&&f,M=o.useRef(null);let R=-1;o.Children.map(l,((e,t)=>{o.isValidElement(e)&&(e.props.disabled||("selectedMenu"===b&&e.props.selected||-1===R)&&(R=t))}));const P=null!=(n=y.paper)?n:Nd,T=null!=(i=x.paper)?i:h,A=uc({elementType:y.root,externalSlotProps:x.root,ownerState:Z,className:[O.root,c]}),j=uc({elementType:P,externalSlotProps:T,ownerState:Z,className:O.paper});return(0,e.jsx)(jd,(0,Ne.Z)({onClose:p,anchorOrigin:{vertical:"bottom",horizontal:E?"right":"left"},transformOrigin:E?Td:Ad,slots:{paper:P,root:y.root},slotProps:{root:A,paper:j},open:f,ref:r,transitionDuration:g,TransitionProps:(0,Ne.Z)({onEntering:(e,t)=>{M.current&&M.current.adjustStyleForScrollbar(e,S),v&&v(e,t)}},w),ownerState:Z},k,{classes:m,children:(0,e.jsx)(_d,(0,Ne.Z)({onKeyDown:e=>{"Tab"===e.key&&(e.preventDefault(),p&&p(e,"tabKeyDown"))},actions:M,autoFocus:s&&(-1===R||u),autoFocusItem:C,variant:b},d,{className:(0,gt.Z)(O.list,d.className),children:l}))}))})),Id=Ld;var Fd=r(96067);function $d(e){return(0,$r.Z)("MuiCollapse",e)}(0,Fr.Z)("MuiCollapse",["root","horizontal","vertical","entered","hidden","wrapper","wrapperInner"]);const zd=["addEndListener","children","className","collapsedSize","component","easing","in","onEnter","onEntered","onEntering","onExit","onExited","onExiting","orientation","style","timeout","TransitionComponent"],Bd=(0,jr.ZP)("div",{name:"MuiCollapse",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.root,t[r.orientation],"entered"===r.state&&t.entered,"exited"===r.state&&!r.in&&"0px"===r.collapsedSize&&t.hidden]}})((({theme:e,ownerState:t})=>(0,Ne.Z)({height:0,overflow:"hidden",transition:e.transitions.create("height")},"horizontal"===t.orientation&&{height:"auto",width:0,transition:e.transitions.create("width")},"entered"===t.state&&(0,Ne.Z)({height:"auto",overflow:"visible"},"horizontal"===t.orientation&&{width:"auto"}),"exited"===t.state&&!t.in&&"0px"===t.collapsedSize&&{visibility:"hidden"}))),Dd=(0,jr.ZP)("div",{name:"MuiCollapse",slot:"Wrapper",overridesResolver:(e,t)=>t.wrapper})((({ownerState:e})=>(0,Ne.Z)({display:"flex",width:"100%"},"horizontal"===e.orientation&&{width:"auto",height:"100%"}))),Wd=(0,jr.ZP)("div",{name:"MuiCollapse",slot:"WrapperInner",overridesResolver:(e,t)=>t.wrapperInner})((({ownerState:e})=>(0,Ne.Z)({width:"100%"},"horizontal"===e.orientation&&{width:"auto",height:"100%"}))),Hd=o.forwardRef((function(t,r){const n=(0,Nr.Z)({props:t,name:"MuiCollapse"}),{addEndListener:i,children:a,className:s,collapsedSize:l="0px",component:c,easing:u,in:d,onEnter:p,onEntered:f,onEntering:h,onExit:m,onExited:g,onExiting:v,orientation:b="vertical",style:y,timeout:x=Fd.x9.standard,TransitionComponent:w=ju}=n,k=(0,_e.Z)(n,zd),S=(0,Ne.Z)({},n,{orientation:b,collapsedSize:l}),E=(e=>{const{orientation:t,classes:r}=e,n={root:["root",`${t}`],entered:["entered"],hidden:["hidden"],wrapper:["wrapper",`${t}`],wrapperInner:["wrapperInner",`${t}`]};return(0,Ar.Z)(n,$d,r)})(S),Z=Qr(),O=o.useRef(),C=o.useRef(null),M=o.useRef(),R="number"==typeof l?`${l}px`:l,P="horizontal"===b,T=P?"width":"height";o.useEffect((()=>()=>{clearTimeout(O.current)}),[]);const A=o.useRef(null),j=(0,Ti.Z)(r,A),N=e=>t=>{if(e){const r=A.current;void 0===t?e(r):e(r,t)}},_=()=>C.current?C.current[P?"clientWidth":"clientHeight"]:0,L=N(((e,t)=>{C.current&&P&&(C.current.style.position="absolute"),e.style[T]=R,p&&p(e,t)})),I=N(((e,t)=>{const r=_();C.current&&P&&(C.current.style.position="");const{duration:n,easing:o}=_u({style:y,timeout:x,easing:u},{mode:"enter"});if("auto"===x){const t=Z.transitions.getAutoHeightDuration(r);e.style.transitionDuration=`${t}ms`,M.current=t}else e.style.transitionDuration="string"==typeof n?n:`${n}ms`;e.style[T]=`${r}px`,e.style.transitionTimingFunction=o,h&&h(e,t)})),F=N(((e,t)=>{e.style[T]="auto",f&&f(e,t)})),$=N((e=>{e.style[T]=`${_()}px`,m&&m(e)})),z=N(g),B=N((e=>{const t=_(),{duration:r,easing:n}=_u({style:y,timeout:x,easing:u},{mode:"exit"});if("auto"===x){const r=Z.transitions.getAutoHeightDuration(t);e.style.transitionDuration=`${r}ms`,M.current=r}else e.style.transitionDuration="string"==typeof r?r:`${r}ms`;e.style[T]=R,e.style.transitionTimingFunction=n,v&&v(e)}));return(0,e.jsx)(w,(0,Ne.Z)({in:d,onEnter:L,onEntered:F,onEntering:I,onExit:$,onExited:z,onExiting:B,addEndListener:e=>{"auto"===x&&(O.current=setTimeout(e,M.current||0)),i&&i(A.current,e)},nodeRef:A,timeout:"auto"===x?null:x},k,{children:(t,r)=>(0,e.jsx)(Bd,(0,Ne.Z)({as:c,className:(0,gt.Z)(E.root,s,{entered:E.entered,exited:!d&&"0px"===R&&E.hidden}[t]),style:(0,Ne.Z)({[P?"minWidth":"minHeight"]:R},y),ownerState:(0,Ne.Z)({},S,{state:t}),ref:j},r,{children:(0,e.jsx)(Dd,{ownerState:(0,Ne.Z)({},S,{state:t}),className:E.wrapper,ref:C,children:(0,e.jsx)(Wd,{ownerState:(0,Ne.Z)({},S,{state:t}),className:E.wrapperInner,children:a})})}))}))}));Hd.muiSupportAuto=!0;const qd=Hd;const Ud=o.createContext({});var Gd=r(49299);function Vd(e){return(0,$r.Z)("MuiAccordion",e)}const Kd=(0,Fr.Z)("MuiAccordion",["root","rounded","expanded","disabled","gutters","region"]),Yd=["children","className","defaultExpanded","disabled","disableGutters","expanded","onChange","square","TransitionComponent","TransitionProps"],Xd=(0,jr.ZP)(Hr,{name:"MuiAccordion",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[{[`& .${Kd.region}`]:t.region},t.root,!r.square&&t.rounded,!r.disableGutters&&t.gutters]}})((({theme:e})=>{const t={duration:e.transitions.duration.shortest};return{position:"relative",transition:e.transitions.create(["margin"],t),overflowAnchor:"none","&:before":{position:"absolute",left:0,top:-1,right:0,height:1,content:'""',opacity:1,backgroundColor:(e.vars||e).palette.divider,transition:e.transitions.create(["opacity","background-color"],t)},"&:first-of-type":{"&:before":{display:"none"}},[`&.${Kd.expanded}`]:{"&:before":{opacity:0},"&:first-of-type":{marginTop:0},"&:last-of-type":{marginBottom:0},"& + &":{"&:before":{display:"none"}}},[`&.${Kd.disabled}`]:{backgroundColor:(e.vars||e).palette.action.disabledBackground}}}),(({theme:e,ownerState:t})=>(0,Ne.Z)({},!t.square&&{borderRadius:0,"&:first-of-type":{borderTopLeftRadius:(e.vars||e).shape.borderRadius,borderTopRightRadius:(e.vars||e).shape.borderRadius},"&:last-of-type":{borderBottomLeftRadius:(e.vars||e).shape.borderRadius,borderBottomRightRadius:(e.vars||e).shape.borderRadius,"@supports (-ms-ime-align: auto)":{borderBottomLeftRadius:0,borderBottomRightRadius:0}}},!t.disableGutters&&{[`&.${Kd.expanded}`]:{margin:"16px 0"}}))),Jd=o.forwardRef((function(t,r){const n=(0,Nr.Z)({props:t,name:"MuiAccordion"}),{children:i,className:a,defaultExpanded:s=!1,disabled:l=!1,disableGutters:c=!1,expanded:u,onChange:d,square:p=!1,TransitionComponent:f=qd,TransitionProps:h}=n,m=(0,_e.Z)(n,Yd),[g,v]=(0,Gd.Z)({controlled:u,default:s,name:"Accordion",state:"expanded"}),b=o.useCallback((e=>{v(!g),d&&d(e,!g)}),[g,d,v]),[y,...x]=o.Children.toArray(i),w=o.useMemo((()=>({expanded:g,disabled:l,disableGutters:c,toggle:b})),[g,l,c,b]),k=(0,Ne.Z)({},n,{square:p,disabled:l,disableGutters:c,expanded:g}),S=(e=>{const{classes:t,square:r,expanded:n,disabled:o,disableGutters:i}=e,a={root:["root",!r&&"rounded",n&&"expanded",o&&"disabled",!i&&"gutters"],region:["region"]};return(0,Ar.Z)(a,Vd,t)})(k);return(0,e.jsxs)(Xd,(0,Ne.Z)({className:(0,gt.Z)(S.root,a),ref:r,ownerState:k,square:p},m,{children:[(0,e.jsx)(Ud.Provider,{value:w,children:y}),(0,e.jsx)(f,(0,Ne.Z)({in:g,timeout:"auto"},h,{children:(0,e.jsx)("div",{"aria-labelledby":y.props.id,id:y.props["aria-controls"],role:"region",className:S.region,children:x})}))]}))})),Qd=Jd;function ep(e){return(0,$r.Z)("MuiAccordionSummary",e)}const tp=(0,Fr.Z)("MuiAccordionSummary",["root","expanded","focusVisible","disabled","gutters","contentGutters","content","expandIconWrapper"]),rp=["children","className","expandIcon","focusVisibleClassName","onClick"],np=(0,jr.ZP)(da,{name:"MuiAccordionSummary",slot:"Root",overridesResolver:(e,t)=>t.root})((({theme:e,ownerState:t})=>{const r={duration:e.transitions.duration.shortest};return(0,Ne.Z)({display:"flex",minHeight:48,padding:e.spacing(0,2),transition:e.transitions.create(["min-height","background-color"],r),[`&.${tp.focusVisible}`]:{backgroundColor:(e.vars||e).palette.action.focus},[`&.${tp.disabled}`]:{opacity:(e.vars||e).palette.action.disabledOpacity},[`&:hover:not(.${tp.disabled})`]:{cursor:"pointer"}},!t.disableGutters&&{[`&.${tp.expanded}`]:{minHeight:64}})})),op=(0,jr.ZP)("div",{name:"MuiAccordionSummary",slot:"Content",overridesResolver:(e,t)=>t.content})((({theme:e,ownerState:t})=>(0,Ne.Z)({display:"flex",flexGrow:1,margin:"12px 0"},!t.disableGutters&&{transition:e.transitions.create(["margin"],{duration:e.transitions.duration.shortest}),[`&.${tp.expanded}`]:{margin:"20px 0"}}))),ip=(0,jr.ZP)("div",{name:"MuiAccordionSummary",slot:"ExpandIconWrapper",overridesResolver:(e,t)=>t.expandIconWrapper})((({theme:e})=>({display:"flex",color:(e.vars||e).palette.action.active,transform:"rotate(0deg)",transition:e.transitions.create("transform",{duration:e.transitions.duration.shortest}),[`&.${tp.expanded}`]:{transform:"rotate(180deg)"}}))),ap=o.forwardRef((function(t,r){const n=(0,Nr.Z)({props:t,name:"MuiAccordionSummary"}),{children:i,className:a,expandIcon:s,focusVisibleClassName:l,onClick:c}=n,u=(0,_e.Z)(n,rp),{disabled:d=!1,disableGutters:p,expanded:f,toggle:h}=o.useContext(Ud),m=(0,Ne.Z)({},n,{expanded:f,disabled:d,disableGutters:p}),g=(e=>{const{classes:t,expanded:r,disabled:n,disableGutters:o}=e,i={root:["root",r&&"expanded",n&&"disabled",!o&&"gutters"],focusVisible:["focusVisible"],content:["content",r&&"expanded",!o&&"contentGutters"],expandIconWrapper:["expandIconWrapper",r&&"expanded"]};return(0,Ar.Z)(i,ep,t)})(m);return(0,e.jsxs)(np,(0,Ne.Z)({focusRipple:!1,disableRipple:!0,disabled:d,component:"div","aria-expanded":f,className:(0,gt.Z)(g.root,a),focusVisibleClassName:(0,gt.Z)(g.focusVisible,l),onClick:e=>{h&&h(e),c&&c(e)},ref:r,ownerState:m},u,{children:[(0,e.jsx)(op,{className:g.content,ownerState:m,children:i}),s&&(0,e.jsx)(ip,{className:g.expandIconWrapper,ownerState:m,children:s})]}))})),sp=ap;function lp(e){return(0,$r.Z)("MuiAccordionDetails",e)}(0,Fr.Z)("MuiAccordionDetails",["root"]);const cp=["className"],up=(0,jr.ZP)("div",{name:"MuiAccordionDetails",slot:"Root",overridesResolver:(e,t)=>t.root})((({theme:e})=>({padding:e.spacing(1,2,2)}))),dp=o.forwardRef((function(t,r){const n=(0,Nr.Z)({props:t,name:"MuiAccordionDetails"}),{className:o}=n,i=(0,_e.Z)(n,cp),a=n,s=(e=>{const{classes:t}=e;return(0,Ar.Z)({root:["root"]},lp,t)})(a);return(0,e.jsx)(up,(0,Ne.Z)({className:(0,gt.Z)(s.root,o),ref:r,ownerState:a},i))})),pp=dp;function fp(e){return(0,$r.Z)("MuiToolbar",e)}(0,Fr.Z)("MuiToolbar",["root","gutters","regular","dense"]);const hp=["className","component","disableGutters","variant"],mp=(0,jr.ZP)("div",{name:"MuiToolbar",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.root,!r.disableGutters&&t.gutters,t[r.variant]]}})((({theme:e,ownerState:t})=>(0,Ne.Z)({position:"relative",display:"flex",alignItems:"center"},!t.disableGutters&&{paddingLeft:e.spacing(2),paddingRight:e.spacing(2),[e.breakpoints.up("sm")]:{paddingLeft:e.spacing(3),paddingRight:e.spacing(3)}},"dense"===t.variant&&{minHeight:48})),(({theme:e,ownerState:t})=>"regular"===t.variant&&e.mixins.toolbar)),gp=o.forwardRef((function(t,r){const n=(0,Nr.Z)({props:t,name:"MuiToolbar"}),{className:o,component:i="div",disableGutters:a=!1,variant:s="regular"}=n,l=(0,_e.Z)(n,hp),c=(0,Ne.Z)({},n,{component:i,disableGutters:a,variant:s}),u=(e=>{const{classes:t,disableGutters:r,variant:n}=e,o={root:["root",!r&&"gutters",n]};return(0,Ar.Z)(o,fp,t)})(c);return(0,e.jsx)(mp,(0,Ne.Z)({as:i,className:(0,gt.Z)(u.root,o),ref:r,ownerState:c},l))})),vp=gp,bp=["addEndListener","appear","children","container","direction","easing","in","onEnter","onEntered","onEntering","onExit","onExited","onExiting","style","timeout","TransitionComponent"];function yp(e,t,r){var n;const o=function(e,t,r){const n=t.getBoundingClientRect(),o=r&&r.getBoundingClientRect(),i=(0,Eu.Z)(t);let a;if(t.fakeTransform)a=t.fakeTransform;else{const e=i.getComputedStyle(t);a=e.getPropertyValue("-webkit-transform")||e.getPropertyValue("transform")}let s=0,l=0;if(a&&"none"!==a&&"string"==typeof a){const e=a.split("(")[1].split(")")[0].split(",");s=parseInt(e[4],10),l=parseInt(e[5],10)}return"left"===e?o?`translateX(${o.right+s-n.left}px)`:`translateX(${i.innerWidth+s-n.left}px)`:"right"===e?o?`translateX(-${n.right-o.left-s}px)`:`translateX(-${n.left+n.width-s}px)`:"up"===e?o?`translateY(${o.bottom+l-n.top}px)`:`translateY(${i.innerHeight+l-n.top}px)`:o?`translateY(-${n.top-o.top+n.height-l}px)`:`translateY(-${n.top+n.height-l}px)`}(e,t,"function"==typeof(n=r)?n():n);o&&(t.style.webkitTransform=o,t.style.transform=o)}const xp=o.forwardRef((function(t,r){const n=Qr(),i={enter:n.transitions.easing.easeOut,exit:n.transitions.easing.sharp},a={enter:n.transitions.duration.enteringScreen,exit:n.transitions.duration.leavingScreen},{addEndListener:s,appear:l=!0,children:c,container:u,direction:d="down",easing:p=i,in:f,onEnter:h,onEntered:m,onEntering:g,onExit:v,onExited:b,onExiting:y,style:x,timeout:w=a,TransitionComponent:k=ju}=t,S=(0,_e.Z)(t,bp),E=o.useRef(null),Z=(0,Ti.Z)(c.ref,E,r),O=e=>t=>{e&&(void 0===t?e(E.current):e(E.current,t))},C=O(((e,t)=>{yp(d,e,u),Nu(e),h&&h(e,t)})),M=O(((e,t)=>{const r=_u({timeout:w,style:x,easing:p},{mode:"enter"});e.style.webkitTransition=n.transitions.create("-webkit-transform",(0,Ne.Z)({},r)),e.style.transition=n.transitions.create("transform",(0,Ne.Z)({},r)),e.style.webkitTransform="none",e.style.transform="none",g&&g(e,t)})),R=O(m),P=O(y),T=O((e=>{const t=_u({timeout:w,style:x,easing:p},{mode:"exit"});e.style.webkitTransition=n.transitions.create("-webkit-transform",t),e.style.transition=n.transitions.create("transform",t),yp(d,e,u),v&&v(e)})),A=O((e=>{e.style.webkitTransition="",e.style.transition="",b&&b(e)})),j=o.useCallback((()=>{E.current&&yp(d,E.current,u)}),[d,u]);return o.useEffect((()=>{if(f||"down"===d||"right"===d)return;const e=(0,Su.Z)((()=>{E.current&&yp(d,E.current,u)})),t=(0,Eu.Z)(E.current);return t.addEventListener("resize",e),()=>{e.clear(),t.removeEventListener("resize",e)}}),[d,f,u]),o.useEffect((()=>{f||j()}),[f,j]),(0,e.jsx)(k,(0,Ne.Z)({nodeRef:E,onEnter:C,onEntered:R,onEntering:M,onExit:T,onExited:A,onExiting:P,addEndListener:e=>{s&&s(E.current,e)},appear:l,in:f,timeout:w},S,{children:(e,t)=>o.cloneElement(c,(0,Ne.Z)({ref:Z,style:(0,Ne.Z)({visibility:"exited"!==e||f?void 0:"hidden"},x,c.props.style)},t))}))})),wp=xp;function kp(e){return(0,$r.Z)("MuiDrawer",e)}(0,Fr.Z)("MuiDrawer",["root","docked","paper","paperAnchorLeft","paperAnchorRight","paperAnchorTop","paperAnchorBottom","paperAnchorDockedLeft","paperAnchorDockedRight","paperAnchorDockedTop","paperAnchorDockedBottom","modal"]);const Sp=["BackdropProps"],Ep=["anchor","BackdropProps","children","className","elevation","hideBackdrop","ModalProps","onClose","open","PaperProps","SlideProps","TransitionComponent","transitionDuration","variant"],Zp=(e,t)=>{const{ownerState:r}=e;return[t.root,("permanent"===r.variant||"persistent"===r.variant)&&t.docked,t.modal]},Op=(0,jr.ZP)(md,{name:"MuiDrawer",slot:"Root",overridesResolver:Zp})((({theme:e})=>({zIndex:(e.vars||e).zIndex.drawer}))),Cp=(0,jr.ZP)("div",{shouldForwardProp:jr.FO,name:"MuiDrawer",slot:"Docked",skipVariantsResolver:!1,overridesResolver:Zp})({flex:"0 0 auto"}),Mp=(0,jr.ZP)(Hr,{name:"MuiDrawer",slot:"Paper",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.paper,t[`paperAnchor${(0,_r.Z)(r.anchor)}`],"temporary"!==r.variant&&t[`paperAnchorDocked${(0,_r.Z)(r.anchor)}`]]}})((({theme:e,ownerState:t})=>(0,Ne.Z)({overflowY:"auto",display:"flex",flexDirection:"column",height:"100%",flex:"1 0 auto",zIndex:(e.vars||e).zIndex.drawer,WebkitOverflowScrolling:"touch",position:"fixed",top:0,outline:0},"left"===t.anchor&&{left:0},"top"===t.anchor&&{top:0,left:0,right:0,height:"auto",maxHeight:"100%"},"right"===t.anchor&&{right:0},"bottom"===t.anchor&&{top:"auto",left:0,bottom:0,right:0,height:"auto",maxHeight:"100%"},"left"===t.anchor&&"temporary"!==t.variant&&{borderRight:`1px solid ${(e.vars||e).palette.divider}`},"top"===t.anchor&&"temporary"!==t.variant&&{borderBottom:`1px solid ${(e.vars||e).palette.divider}`},"right"===t.anchor&&"temporary"!==t.variant&&{borderLeft:`1px solid ${(e.vars||e).palette.divider}`},"bottom"===t.anchor&&"temporary"!==t.variant&&{borderTop:`1px solid ${(e.vars||e).palette.divider}`}))),Rp={left:"right",right:"left",top:"down",bottom:"up"};const Pp=o.forwardRef((function(t,r){const n=(0,Nr.Z)({props:t,name:"MuiDrawer"}),i=Qr(),a={enter:i.transitions.duration.enteringScreen,exit:i.transitions.duration.leavingScreen},{anchor:s="left",BackdropProps:l,children:c,className:u,elevation:d=16,hideBackdrop:p=!1,ModalProps:{BackdropProps:f}={},onClose:h,open:m=!1,PaperProps:g={},SlideProps:v,TransitionComponent:b=wp,transitionDuration:y=a,variant:x="temporary"}=n,w=(0,_e.Z)(n.ModalProps,Sp),k=(0,_e.Z)(n,Ep),S=o.useRef(!1);o.useEffect((()=>{S.current=!0}),[]);const E=function(e,t){return"rtl"===e.direction&&function(e){return-1!==["left","right"].indexOf(e)}(t)?Rp[t]:t}(i,s),Z=s,O=(0,Ne.Z)({},n,{anchor:Z,elevation:d,open:m,variant:x},k),C=(e=>{const{classes:t,anchor:r,variant:n}=e,o={root:["root"],docked:[("permanent"===n||"persistent"===n)&&"docked"],modal:["modal"],paper:["paper",`paperAnchor${(0,_r.Z)(r)}`,"temporary"!==n&&`paperAnchorDocked${(0,_r.Z)(r)}`]};return(0,Ar.Z)(o,kp,t)})(O),M=(0,e.jsx)(Mp,(0,Ne.Z)({elevation:"temporary"===x?d:0,square:!0},g,{className:(0,gt.Z)(C.paper,g.className),ownerState:O,children:c}));if("permanent"===x)return(0,e.jsx)(Cp,(0,Ne.Z)({className:(0,gt.Z)(C.root,C.docked,u),ownerState:O,ref:r},k,{children:M}));const R=(0,e.jsx)(b,(0,Ne.Z)({in:m,direction:Rp[E],timeout:y,appear:S.current},v,{children:M}));return"persistent"===x?(0,e.jsx)(Cp,(0,Ne.Z)({className:(0,gt.Z)(C.root,C.docked,u),ownerState:O,ref:r},k,{children:R})):(0,e.jsx)(Op,(0,Ne.Z)({BackdropProps:(0,Ne.Z)({},l,f,{transitionDuration:y}),className:(0,gt.Z)(C.root,C.modal,u),open:m,ownerState:O,onClose:h,hideBackdrop:p,ref:r},k,w,{children:R}))})),Tp=Pp;var Ap=function(e,t){var r="function"==typeof Symbol&&e[Symbol.iterator];if(!r)return e;var n,o,i=r.call(e),a=[];try{for(;(void 0===t||t-- >0)&&!(n=i.next()).done;)a.push(n.value)}catch(s){o={error:s}}finally{try{n&&!n.done&&(r=i.return)&&r.call(i)}finally{if(o)throw o.error}}return a},jp=Kn();const Np=function(){var e,t,r,n,a,d=(a=(0,o.useContext)(u).blockSelector,(0,o.useMemo)((function(){return document.querySelector(a)||document.body}),[a])),p=Xr("container").styles,f=Xr("logo"),h=Xr("logo").styles,m=ki(),g=Vn(),v=i().useRef([]),b=Ap(i().useState(null),2),y=b[0],x=b[1],w=Xr("buttons"),k=window.logged_in_user&&window.logged_in_user.softr_user_full_name?window.logged_in_user.softr_user_full_name:"",S=function(){var e,t,r,n=window.logged_in_user;if(n&&n.softr_user_profile_picture_mapped_field&&n[n.softr_user_profile_picture_mapped_field]){var o=n[n.softr_user_profile_picture_mapped_field];if("string"==typeof o)return o;if(Array.isArray(o))return(null===(e=null==o?void 0:o[0])||void 0===e?void 0:e.thumbnails)&&(null===(r=null===(t=o[0].thumbnails)||void 0===t?void 0:t.large)||void 0===r?void 0:r.url)||(null==o?void 0:o[0].url)}}(),E=Xr("profileEnabled"),Z=Pi(),O=Ap(i().useState(null),2),C=O[0],M=O[1],R=wi(),P=function(){var e,t=Qr(),r=an(t.breakpoints.up("lg")),n=an(t.breakpoints.up("md")),o=an(t.breakpoints.up("xs")),i=Xr("buttons"),a=Vn(),s=((null===(e=null==i?void 0:i.items)||void 0===e?void 0:e.length)||0)+a.length<2;return!(r||n&&s||o&&s)}(),T=Ap((0,o.useState)(!1),2),A=T[0],j=T[1],N=function(){var e=Qr(),t=Vn(),r=Xr("container").styles;return t.length?t[0].styles.textColor||e.palette.text.secondary:e.palette.getContrastText(r.backgroundColor)}(),_=jt().isMobile,L=((null===(e=null==w?void 0:w.items)||void 0===e?void 0:e.length)||0)+g.length<2,I=Yn();return c(s,{children:[R?c(lu,{justifyContent:"space-between",sx:{height:1},children:[c(lu,{direction:"row",justifyContent:"space-between",children:[f.src&&l(Rt,{children:l("a",{className:"navbar-brand",href:m,style:{paddingTop:0},children:l("img",{src:f.src,alt:f.alt,style:{width:parseFloat(h.width)>=16?"11rem":h.width}})})}),!!E&&c(Rt,{sx:{display:"flex",alignItems:"center",flexGrow:0,pl:2},children:[l(Oa,{onClick:function(e){return M(e.currentTarget)},fullName:k,src:S}),l(Id,{PaperProps:{sx:{backgroundColor:p.backgroundColor,minWidth:"180px"}},container:d,anchorEl:C,anchorOrigin:{vertical:"bottom",horizontal:"right"},keepMounted:!0,disableScrollLock:!0,transformOrigin:{vertical:"top",horizontal:"left"},open:!!C,onClose:function(){return M(null)},children:Z.map((function(e,t){return l(Ia,{icon:e.icon,className:e.className,dangerouslySetInnerHTML:e.value,target:e.target,href:Si(e)||e.signOut?void 0:Wn(e.href),onClick:function(t){M(null),Ei(t,e)},textSx:{p:.5}},t)}))})]})]}),c(lu,{justifyContent:"space-between",sx:{flex:1},children:[l(lu,{alignItems:"flex-start",children:g.map((function(e,t){return l(i().Fragment,{children:e.subLinks.length?c(Qd,{sx:{boxShadow:0,background:"transparent",width:"100%"},square:!0,disableGutters:!0,children:[l(sp,{sx:{".MuiAccordionSummary-content":{my:0},p:0,minHeight:"unset"},expandIcon:l(Bc,{className:e.className}),children:l(Ja,{ref:function(e){return v.current[t]=e},href:Si(e)||e.signOut?void 0:Wn(e.href),target:e.target,className:e.className,expandable:!1,expandableOnMobile:!0,onClick:function(r){x(t),Ei(r,e)},open:y===t,dangerouslySetInnerHTML:e.value})}),l(pp,{sx:{p:0},children:e.subLinks.map((function(e,t){return l(Ia,{className:e.className,dangerouslySetInnerHTML:e.value,target:e.target,href:e.signOut||Si(e)?void 0:Wn(e.href),onClick:function(t){x(null),Ei(t,e)}},t)}))})]}):l(Ja,{target:e.target,className:e.className,sx:{p:0},dangerouslySetInnerHTML:e.value,href:Si(e)||e.signOut?void 0:Wn(e.href),onClick:function(t){return Ei(t,e)}},t)},t)}))}),l(lu,{spacing:2,children:!!(null===(t=null==w?void 0:w.items)||void 0===t?void 0:t.length)&&w.items.map((function(e,t){return l(js,{"data-element":"button",target:e.action.options.url.target,href:"action:signout"===e.action.options.url.destination||e.action.action&&e.action.action.startsWith("Open modal")&&!jp&&I?void 0:Wn(e.action.options.url.destination),style:{height:"fit-content",textAlign:"center"},className:e.className,sx:{lineHeight:"normal"},onClick:function(t){var r;"action:signout"===e.action.options.url.destination&&yi(),e.action.action&&e.action.action.startsWith("Open modal")&&!jp&&I&&(t.preventDefault(),window.openSwModal(null===(r=e.action)||void 0===r?void 0:r.options.url.destination,e.action.options.modalOptions.modalSize))},enableHTML:!0,dangerouslySetInnerHTML:e.label},t)}))})]})]}):l(Is,{children:c(vp,{disableGutters:!0,variant:"dense",children:[f.src&&l("a",{className:"navbar-brand",href:m,style:{marginRight:"2rem"},children:l("img",{src:f.src,alt:f.alt,style:{width:_&&!L&&parseFloat(h.width)>=13?"12rem":_&&L&&parseFloat(h.width)>11?"30vw":h.width}})}),c(lu,{direction:"row",justifyContent:"flex-end",alignItems:"center",spacing:4,sx:{flexGrow:1,display:P?"none":"flex"},children:[g.map((function(e,t){return c(i().Fragment,{children:[l(Ja,{ref:function(e){return v.current[t]=e},href:Si(e)||e.signOut?void 0:Wn(e.href),target:e.target,className:e.className,expandable:!!e.subLinks.length,onClick:function(r){x(t),Ei(r,e)},open:y===t,dangerouslySetInnerHTML:e.value}),!!e.subLinks.length&&l(Rc,{anchorRef:v.current[t],open:y===t,onClose:function(){return x(null)},paperProps:{sx:{backgroundColor:p.backgroundColor}},containerProps:{sx:{py:1,zIndex:"1299"}},children:e.subLinks.map((function(e,t){return l(Ia,{className:e.className,dangerouslySetInnerHTML:e.value,target:e.target,href:e.signOut||Si(e)?void 0:Wn(e.href),onClick:function(t){x(null),Ei(t,e)},sx:{px:2}},t)}))})]},t)})),!!(null===(r=null==w?void 0:w.items)||void 0===r?void 0:r.length)&&l("div",{style:{display:"flex",alignItems:"center"},children:w.items.map((function(e,t){return l(js,{"data-element":"button",target:e.action.options.url.target,href:"action:signout"===e.action.options.url.destination||e.action.action&&e.action.action.startsWith("Open modal")&&!jp&&I?void 0:Wn(e.action.options.url.destination),style:{height:"fit-content",maxWidth:_&&L&&!E?"40vw":_&&L&&E?"30vw":""},styles:e.styles,sx:{lineHeight:"normal",marginLeft:"8px"},onClick:function(t){var r;"action:signout"===e.action.options.url.destination&&yi(),e.action.action&&e.action.action.startsWith("Open modal")&&!jp&&I&&(t.preventDefault(),window.openSwModal(null===(r=e.action)||void 0===r?void 0:r.options.url.destination,e.action.options.modalOptions.modalSize))},enableHTML:!0,dangerouslySetInnerHTML:e.label},t)}))})]}),E&&c(Rt,{sx:{flexGrow:0,display:P?"none":"flex",ml:3},children:[l(Oa,{onClick:function(e){return M(e.currentTarget)},fullName:k,src:S}),l(Id,{PaperProps:{sx:{backgroundColor:p.backgroundColor,minWidth:"180px",paddingTop:"2px",paddingBottom:"2px"}},container:d,anchorEl:C,anchorOrigin:{vertical:"bottom",horizontal:"right"},keepMounted:!0,disableScrollLock:!0,transformOrigin:{vertical:"top",horizontal:"right"},open:!!C,onClose:function(){return M(null)},children:Z.map((function(e,t){return l(Ia,{icon:e.icon,className:e.className,dangerouslySetInnerHTML:e.value,target:e.target,href:Si(e)||e.signOut?void 0:Wn(e.href),onClick:function(t){M(null),Ei(t,e)},textSx:{p:.5}},t)}))})]}),P&&c(lu,{justifyContent:"flex-end",direction:"row",sx:{flex:1},spacing:3,children:[E&&c(Rt,{sx:{flexGrow:0,display:P?"flex":"none",ml:3},children:[l(Oa,{onClick:function(e){return M(e.currentTarget)},fullName:k,src:S}),l(Id,{PaperProps:{sx:{backgroundColor:p.backgroundColor,minWidth:"180px"}},container:d,anchorEl:C,anchorOrigin:{vertical:"bottom",horizontal:"right"},keepMounted:!0,disableScrollLock:!0,transformOrigin:{vertical:"top",horizontal:"right"},open:!!C,onClose:function(){return M(null)},children:Z.map((function(e,t){return l(Ia,{icon:e.icon,className:e.className,dangerouslySetInnerHTML:e.value,target:e.target,href:Si(e)||e.signOut?void 0:Wn(e.href),onClick:function(t){M(null),Ei(t,e)},textSx:{p:.5}},t)}))})]}),l(Ac,{onClick:function(){return j(!0)},children:l(qc,{color:N,size:32})})]})]})}),l(Tp,{anchor:"right",open:A,onClose:function(){return j(!1)},ModalProps:{container:d},PaperProps:{sx:{backgroundColor:p.backgroundColor,height:"100vh"}},children:l(Rt,{sx:{width:"100vw",backgroundColor:p.backgroundColor},role:"presentation",children:c(lu,{sx:{height:1,p:1},children:[c(lu,{direction:"row",justifyContent:"space-between",sx:{ml:2},children:[f.src?l("a",{className:"navbar-brand",href:m,children:l("img",{src:f.src,alt:f.alt,style:{width:parseFloat(h.width)>=16?"12rem":h.width}})}):l("div",{}),l(Ac,{onClick:function(){return j(!1)},children:l(Kc,{color:N})})]}),c(lu,{justifyContent:"space-between",sx:{flex:1,py:2,px:1},children:[l(lu,{children:g.map((function(e,t){return l(i().Fragment,{children:e.subLinks.length?c(Qd,{sx:{boxShadow:0,background:"transparent",width:"100%"},square:!0,disableGutters:!0,className:e.className,children:[l(sp,{sx:{".MuiAccordionSummary-content":{my:0},p:0,minHeight:"unset"},expandIcon:l(Bc,{className:e.className}),children:l(Ja,{ref:function(e){return v.current[t]=e},href:Si(e)||e.signOut?void 0:Wn(e.href),target:e.target,className:e.className,expandable:!1,expandableOnMobile:!0,onClick:function(r){x(t),Ei(r,e)},open:y===t,dangerouslySetInnerHTML:e.value},t)}),l(pp,{sx:{p:0},children:e.subLinks.map((function(e,t){return l(Ia,{className:e.className,dangerouslySetInnerHTML:e.value,target:e.target,href:e.signOut||Si(e)?void 0:Wn(e.href),onClick:function(t){x(null),j(!1),Ei(t,e)}},t)}))})]}):l(Ja,{href:Si(e)||e.signOut?void 0:Wn(e.href),target:e.target,className:e.className,dangerouslySetInnerHTML:e.value,onClick:function(t){j(!1),Ei(t,e)}})},t)}))}),l(lu,{spacing:2,children:!!(null===(n=null==w?void 0:w.items)||void 0===n?void 0:n.length)&&l("div",{style:{display:"flex",flexDirection:window.innerWidth<600?"column":"row",marginTop:"48px",alignItems:"center"},children:w.items.map((function(e,t){return l(js,{"data-element":"button",target:e.action.options.url.target,href:"action:signout"===e.action.options.url.destination||e.action.action&&e.action.action.startsWith("Open modal")&&!jp&&I?void 0:Wn(e.action.options.url.destination),style:{height:"fit-content",width:window.innerWidth<600?"100%":"fit-content",textAlign:window.innerWidth<600?"center":"",marginRight:window.innerWidth<600?"0":"8px",marginBottom:window.innerWidth<600?"16px":"0"},styles:e.styles,sx:{lineHeight:"normal"},onClick:function(t){var r;e.action.options.url.destination.startsWith("/#")&&j(!1),"action:signout"===e.action.options.url.destination&&yi(),e.action.action&&e.action.action.startsWith("Open modal")&&!jp&&I&&(t.preventDefault(),window.openSwModal(null===(r=e.action)||void 0===r?void 0:r.options.url.destination,e.action.options.modalOptions.modalSize))},enableHTML:!0,dangerouslySetInnerHTML:e.label},t)}))})})]})]})})})]})};var _p=function(){return _p=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++)for(var o in t=arguments[r])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},_p.apply(this,arguments)};const Lp=function(e){return l(Tr,_p({component:Ri},e,{children:l(Np,{})}))}})(),renderBlock=n.default})();;
if (typeof renderBlock !== "function") {
throw new Error("No renderBlock function found", {"name":"header2","version":"3.1.0"});
}
// webpack builds expose a single global named renderBlock
window["SoftrBlock_header2_3.1.0"] = renderBlock;
}
</script><script data-for-block-name="partner1" data-for-block-version="3.0.1">
{
// React 18 blocks expect react and react-dom to be available
// as variables with this name
var react18 = window.react18;
var react_dom18 = window.react_dom18;
var renderBlock;(()=>{var e={94184:(e,t)=>{var r;!function(){"use strict";var n={}.hasOwnProperty;function a(){for(var e=[],t=0;t<arguments.length;t++){var r=arguments[t];if(r){var o=typeof r;if("string"===o||"number"===o)e.push(r);else if(Array.isArray(r)){if(r.length){var i=a.apply(null,r);i&&e.push(i)}}else if("object"===o)if(r.toString===Object.prototype.toString)for(var s in r)n.call(r,s)&&r[s]&&e.push(s);else e.push(r.toString())}}return e.join(" ")}e.exports?(a.default=a,e.exports=a):void 0===(r=function(){return a}.apply(t,[]))||(e.exports=r)}()},8679:(e,t,r)=>{"use strict";var n=r(21296),a={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},o={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},i={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},s={};function l(e){return n.isMemo(e)?i:s[e.$$typeof]||a}s[n.ForwardRef]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},s[n.Memo]=i;var c=Object.defineProperty,u=Object.getOwnPropertyNames,d=Object.getOwnPropertySymbols,p=Object.getOwnPropertyDescriptor,f=Object.getPrototypeOf,m=Object.prototype;e.exports=function e(t,r,n){if("string"!=typeof r){if(m){var a=f(r);a&&a!==m&&e(t,a,n)}var i=u(r);d&&(i=i.concat(d(r)));for(var s=l(t),h=l(r),g=0;g<i.length;++g){var b=i[g];if(!(o[b]||n&&n[b]||h&&h[b]||s&&s[b])){var y=p(r,b);try{c(t,b,y)}catch(x){}}}}return t}},96103:(e,t)=>{"use strict";var r="function"==typeof Symbol&&Symbol.for,n=r?Symbol.for("react.element"):60103,a=r?Symbol.for("react.portal"):60106,o=r?Symbol.for("react.fragment"):60107,i=r?Symbol.for("react.strict_mode"):60108,s=r?Symbol.for("react.profiler"):60114,l=r?Symbol.for("react.provider"):60109,c=r?Symbol.for("react.context"):60110,u=r?Symbol.for("react.async_mode"):60111,d=r?Symbol.for("react.concurrent_mode"):60111,p=r?Symbol.for("react.forward_ref"):60112,f=r?Symbol.for("react.suspense"):60113,m=r?Symbol.for("react.suspense_list"):60120,h=r?Symbol.for("react.memo"):60115,g=r?Symbol.for("react.lazy"):60116,b=r?Symbol.for("react.block"):60121,y=r?Symbol.for("react.fundamental"):60117,x=r?Symbol.for("react.responder"):60118,v=r?Symbol.for("react.scope"):60119;function w(e){if("object"==typeof e&&null!==e){var t=e.$$typeof;switch(t){case n:switch(e=e.type){case u:case d:case o:case s:case i:case f:return e;default:switch(e=e&&e.$$typeof){case c:case p:case g:case h:case l:return e;default:return t}}case a:return t}}}function k(e){return w(e)===d}t.AsyncMode=u,t.ConcurrentMode=d,t.ContextConsumer=c,t.ContextProvider=l,t.Element=n,t.ForwardRef=p,t.Fragment=o,t.Lazy=g,t.Memo=h,t.Portal=a,t.Profiler=s,t.StrictMode=i,t.Suspense=f,t.isAsyncMode=function(e){return k(e)||w(e)===u},t.isConcurrentMode=k,t.isContextConsumer=function(e){return w(e)===c},t.isContextProvider=function(e){return w(e)===l},t.isElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===n},t.isForwardRef=function(e){return w(e)===p},t.isFragment=function(e){return w(e)===o},t.isLazy=function(e){return w(e)===g},t.isMemo=function(e){return w(e)===h},t.isPortal=function(e){return w(e)===a},t.isProfiler=function(e){return w(e)===s},t.isStrictMode=function(e){return w(e)===i},t.isSuspense=function(e){return w(e)===f},t.isValidElementType=function(e){return"string"==typeof e||"function"==typeof e||e===o||e===d||e===s||e===i||e===f||e===m||"object"==typeof e&&null!==e&&(e.$$typeof===g||e.$$typeof===h||e.$$typeof===l||e.$$typeof===c||e.$$typeof===p||e.$$typeof===y||e.$$typeof===x||e.$$typeof===v||e.$$typeof===b)},t.typeOf=w},21296:(e,t,r)=>{"use strict";e.exports=r(96103)},75251:(e,t,r)=>{"use strict";var n=r(74570),a=Symbol.for("react.element"),o=Symbol.for("react.fragment"),i=Object.prototype.hasOwnProperty,s=n.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,l={key:!0,ref:!0,__self:!0,__source:!0};function c(e,t,r){var n,o={},c=null,u=null;for(n in void 0!==r&&(c=""+r),void 0!==t.key&&(c=""+t.key),void 0!==t.ref&&(u=t.ref),t)i.call(t,n)&&!l.hasOwnProperty(n)&&(o[n]=t[n]);if(e&&e.defaultProps)for(n in t=e.defaultProps)void 0===o[n]&&(o[n]=t[n]);return{$$typeof:a,type:e,key:c,ref:u,props:o,_owner:s.current}}t.Fragment=o,t.jsx=c,t.jsxs=c},85893:(e,t,r)=>{"use strict";e.exports=r(75251)},74570:e=>{"use strict";e.exports=react18}},t={};function r(n){var a=t[n];if(void 0!==a)return a.exports;var o=t[n]={exports:{}};return e[n](o,o.exports,r),o.exports}r.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return r.d(t,{a:t}),t},r.d=(e,t)=>{for(var n in t)r.o(t,n)&&!r.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},r.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t);var n={};(()=>{"use strict";r.d(n,{default:()=>xl});var e=r(85893),t=r(74570),a=r.n(t);var o=function(){function e(e){var t=this;this._insertTag=function(e){var r;r=0===t.tags.length?t.insertionPoint?t.insertionPoint.nextSibling:t.prepend?t.container.firstChild:t.before:t.tags[t.tags.length-1].nextSibling,t.container.insertBefore(e,r),t.tags.push(e)},this.isSpeedy=void 0===e.speedy||e.speedy,this.tags=[],this.ctr=0,this.nonce=e.nonce,this.key=e.key,this.container=e.container,this.prepend=e.prepend,this.insertionPoint=e.insertionPoint,this.before=null}var t=e.prototype;return t.hydrate=function(e){e.forEach(this._insertTag)},t.insert=function(e){this.ctr%(this.isSpeedy?65e3:1)==0&&this._insertTag(function(e){var t=document.createElement("style");return t.setAttribute("data-emotion",e.key),void 0!==e.nonce&&t.setAttribute("nonce",e.nonce),t.appendChild(document.createTextNode("")),t.setAttribute("data-s",""),t}(this));var t=this.tags[this.tags.length-1];if(this.isSpeedy){var r=function(e){if(e.sheet)return e.sheet;for(var t=0;t<document.styleSheets.length;t++)if(document.styleSheets[t].ownerNode===e)return document.styleSheets[t]}(t);try{r.insertRule(e,r.cssRules.length)}catch(n){0}}else t.appendChild(document.createTextNode(e));this.ctr++},t.flush=function(){this.tags.forEach((function(e){return e.parentNode&&e.parentNode.removeChild(e)})),this.tags=[],this.ctr=0},e}(),i=Math.abs,s=String.fromCharCode,l=Object.assign;function c(e){return e.trim()}function u(e,t,r){return e.replace(t,r)}function d(e,t){return e.indexOf(t)}function p(e,t){return 0|e.charCodeAt(t)}function f(e,t,r){return e.slice(t,r)}function m(e){return e.length}function h(e){return e.length}function g(e,t){return t.push(e),e}var b=1,y=1,x=0,v=0,w=0,k="";function S(e,t,r,n,a,o,i){return{value:e,root:t,parent:r,type:n,props:a,children:o,line:b,column:y,length:i,return:""}}function E(e,t){return l(S("",null,null,"",null,null,0),e,{length:-e.length},t)}function A(){return w=v>0?p(k,--v):0,y--,10===w&&(y=1,b--),w}function _(){return w=v<x?p(k,v++):0,y++,10===w&&(y=1,b++),w}function M(){return p(k,v)}function T(){return v}function O(e,t){return f(k,e,t)}function C(e){switch(e){case 0:case 9:case 10:case 13:case 32:return 5;case 33:case 43:case 44:case 47:case 62:case 64:case 126:case 59:case 123:case 125:return 4;case 58:return 3;case 34:case 39:case 40:case 91:return 2;case 41:case 93:return 1}return 0}function N(e){return b=y=1,x=m(k=e),v=0,[]}function R(e){return k="",e}function I(e){return c(O(v-1,$(91===e?e+2:40===e?e+1:e)))}function F(e){for(;(w=M())&&w<33;)_();return C(e)>2||C(w)>3?"":" "}function P(e,t){for(;--t&&_()&&!(w<48||w>102||w>57&&w<65||w>70&&w<97););return O(e,T()+(t<6&&32==M()&&32==_()))}function $(e){for(;_();)switch(w){case e:return v;case 34:case 39:34!==e&&39!==e&&$(w);break;case 40:41===e&&$(e);break;case 92:_()}return v}function L(e,t){for(;_()&&e+w!==57&&(e+w!==84||47!==M()););return"/*"+O(t,v-1)+"*"+s(47===e?e:_())}function j(e){for(;!C(M());)_();return O(e,v)}var D="-ms-",z="-moz-",B="-webkit-",H="comm",W="rule",U="decl",G="@keyframes";function Y(e,t){for(var r="",n=h(e),a=0;a<n;a++)r+=t(e[a],a,e,t)||"";return r}function K(e,t,r,n){switch(e.type){case"@layer":if(e.children.length)break;case"@import":case U:return e.return=e.return||e.value;case H:return"";case G:return e.return=e.value+"{"+Y(e.children,n)+"}";case W:e.value=e.props.join(",")}return m(r=Y(e.children,n))?e.return=e.value+"{"+r+"}":""}function q(e){return R(X("",null,null,null,[""],e=N(e),0,[0],e))}function X(e,t,r,n,a,o,i,l,c){for(var f=0,h=0,b=i,y=0,x=0,v=0,w=1,k=1,S=1,E=0,O="",C=a,N=o,R=n,$=O;k;)switch(v=E,E=_()){case 40:if(108!=v&&58==p($,b-1)){-1!=d($+=u(I(E),"&","&\f"),"&\f")&&(S=-1);break}case 34:case 39:case 91:$+=I(E);break;case 9:case 10:case 13:case 32:$+=F(v);break;case 92:$+=P(T()-1,7);continue;case 47:switch(M()){case 42:case 47:g(J(L(_(),T()),t,r),c);break;default:$+="/"}break;case 123*w:l[f++]=m($)*S;case 125*w:case 59:case 0:switch(E){case 0:case 125:k=0;case 59+h:-1==S&&($=u($,/\f/g,"")),x>0&&m($)-b&&g(x>32?Z($+";",n,r,b-1):Z(u($," ","")+";",n,r,b-2),c);break;case 59:$+=";";default:if(g(R=V($,t,r,f,h,a,l,O,C=[],N=[],b),o),123===E)if(0===h)X($,t,R,R,C,o,b,l,N);else switch(99===y&&110===p($,3)?100:y){case 100:case 108:case 109:case 115:X(e,R,R,n&&g(V(e,R,R,0,0,a,l,O,a,C=[],b),N),a,N,b,l,n?C:N);break;default:X($,R,R,R,[""],N,0,l,N)}}f=h=x=0,w=S=1,O=$="",b=i;break;case 58:b=1+m($),x=v;default:if(w<1)if(123==E)--w;else if(125==E&&0==w++&&125==A())continue;switch($+=s(E),E*w){case 38:S=h>0?1:($+="\f",-1);break;case 44:l[f++]=(m($)-1)*S,S=1;break;case 64:45===M()&&($+=I(_())),y=M(),h=b=m(O=$+=j(T())),E++;break;case 45:45===v&&2==m($)&&(w=0)}}return o}function V(e,t,r,n,a,o,s,l,d,p,m){for(var g=a-1,b=0===a?o:[""],y=h(b),x=0,v=0,w=0;x<n;++x)for(var k=0,E=f(e,g+1,g=i(v=s[x])),A=e;k<y;++k)(A=c(v>0?b[k]+" "+E:u(E,/&\f/g,b[k])))&&(d[w++]=A);return S(e,t,r,0===a?W:l,d,p,m)}function J(e,t,r){return S(e,t,r,H,s(w),f(e,2,-2),0)}function Z(e,t,r,n){return S(e,t,r,U,f(e,0,n),f(e,n+1,-1),n)}var Q=function(e,t,r){for(var n=0,a=0;n=a,a=M(),38===n&&12===a&&(t[r]=1),!C(a);)_();return O(e,v)},ee=function(e,t){return R(function(e,t){var r=-1,n=44;do{switch(C(n)){case 0:38===n&&12===M()&&(t[r]=1),e[r]+=Q(v-1,t,r);break;case 2:e[r]+=I(n);break;case 4:if(44===n){e[++r]=58===M()?"&\f":"",t[r]=e[r].length;break}default:e[r]+=s(n)}}while(n=_());return e}(N(e),t))},te=new WeakMap,re=function(e){if("rule"===e.type&&e.parent&&!(e.length<1)){for(var t=e.value,r=e.parent,n=e.column===r.column&&e.line===r.line;"rule"!==r.type;)if(!(r=r.parent))return;if((1!==e.props.length||58===t.charCodeAt(0)||te.get(r))&&!n){te.set(e,!0);for(var a=[],o=ee(t,a),i=r.props,s=0,l=0;s<o.length;s++)for(var c=0;c<i.length;c++,l++)e.props[l]=a[s]?o[s].replace(/&\f/g,i[c]):i[c]+" "+o[s]}}},ne=function(e){if("decl"===e.type){var t=e.value;108===t.charCodeAt(0)&&98===t.charCodeAt(2)&&(e.return="",e.value="")}};function ae(e,t){switch(function(e,t){return 45^p(e,0)?(((t<<2^p(e,0))<<2^p(e,1))<<2^p(e,2))<<2^p(e,3):0}(e,t)){case 5103:return B+"print-"+e+e;case 5737:case 4201:case 3177:case 3433:case 1641:case 4457:case 2921:case 5572:case 6356:case 5844:case 3191:case 6645:case 3005:case 6391:case 5879:case 5623:case 6135:case 4599:case 4855:case 4215:case 6389:case 5109:case 5365:case 5621:case 3829:return B+e+e;case 5349:case 4246:case 4810:case 6968:case 2756:return B+e+z+e+D+e+e;case 6828:case 4268:return B+e+D+e+e;case 6165:return B+e+D+"flex-"+e+e;case 5187:return B+e+u(e,/(\w+).+(:[^]+)/,B+"box-$1$2"+D+"flex-$1$2")+e;case 5443:return B+e+D+"flex-item-"+u(e,/flex-|-self/,"")+e;case 4675:return B+e+D+"flex-line-pack"+u(e,/align-content|flex-|-self/,"")+e;case 5548:return B+e+D+u(e,"shrink","negative")+e;case 5292:return B+e+D+u(e,"basis","preferred-size")+e;case 6060:return B+"box-"+u(e,"-grow","")+B+e+D+u(e,"grow","positive")+e;case 4554:return B+u(e,/([^-])(transform)/g,"$1"+B+"$2")+e;case 6187:return u(u(u(e,/(zoom-|grab)/,B+"$1"),/(image-set)/,B+"$1"),e,"")+e;case 5495:case 3959:return u(e,/(image-set\([^]*)/,B+"$1$`$1");case 4968:return u(u(e,/(.+:)(flex-)?(.*)/,B+"box-pack:$3"+D+"flex-pack:$3"),/s.+-b[^;]+/,"justify")+B+e+e;case 4095:case 3583:case 4068:case 2532:return u(e,/(.+)-inline(.+)/,B+"$1$2")+e;case 8116:case 7059:case 5753:case 5535:case 5445:case 5701:case 4933:case 4677:case 5533:case 5789:case 5021:case 4765:if(m(e)-1-t>6)switch(p(e,t+1)){case 109:if(45!==p(e,t+4))break;case 102:return u(e,/(.+:)(.+)-([^]+)/,"$1"+B+"$2-$3$1"+z+(108==p(e,t+3)?"$3":"$2-$3"))+e;case 115:return~d(e,"stretch")?ae(u(e,"stretch","fill-available"),t)+e:e}break;case 4949:if(115!==p(e,t+1))break;case 6444:switch(p(e,m(e)-3-(~d(e,"!important")&&10))){case 107:return u(e,":",":"+B)+e;case 101:return u(e,/(.+:)([^;!]+)(;|!.+)?/,"$1"+B+(45===p(e,14)?"inline-":"")+"box$3$1"+B+"$2$3$1"+D+"$2box$3")+e}break;case 5936:switch(p(e,t+11)){case 114:return B+e+D+u(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return B+e+D+u(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return B+e+D+u(e,/[svh]\w+-[tblr]{2}/,"lr")+e}return B+e+D+e+e}return e}var oe=[function(e,t,r,n){if(e.length>-1&&!e.return)switch(e.type){case U:e.return=ae(e.value,e.length);break;case G:return Y([E(e,{value:u(e.value,"@","@"+B)})],n);case W:if(e.length)return function(e,t){return e.map(t).join("")}(e.props,(function(t){switch(function(e,t){return(e=t.exec(e))?e[0]:e}(t,/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":return Y([E(e,{props:[u(t,/:(read-\w+)/,":-moz-$1")]})],n);case"::placeholder":return Y([E(e,{props:[u(t,/:(plac\w+)/,":"+B+"input-$1")]}),E(e,{props:[u(t,/:(plac\w+)/,":-moz-$1")]}),E(e,{props:[u(t,/:(plac\w+)/,D+"input-$1")]})],n)}return""}))}}],ie=function(e){var t=e.key;if("css"===t){var r=document.querySelectorAll("style[data-emotion]:not([data-s])");Array.prototype.forEach.call(r,(function(e){-1!==e.getAttribute("data-emotion").indexOf(" ")&&(document.head.appendChild(e),e.setAttribute("data-s",""))}))}var n=e.stylisPlugins||oe;var a,i,s={},l=[];a=e.container||document.head,Array.prototype.forEach.call(document.querySelectorAll('style[data-emotion^="'+t+' "]'),(function(e){for(var t=e.getAttribute("data-emotion").split(" "),r=1;r<t.length;r++)s[t[r]]=!0;l.push(e)}));var c,u,d,p,f=[K,(p=function(e){c.insert(e)},function(e){e.root||(e=e.return)&&p(e)})],m=(u=[re,ne].concat(n,f),d=h(u),function(e,t,r,n){for(var a="",o=0;o<d;o++)a+=u[o](e,t,r,n)||"";return a});i=function(e,t,r,n){c=r,Y(q(e?e+"{"+t.styles+"}":t.styles),m),n&&(g.inserted[t.name]=!0)};var g={key:t,sheet:new o({key:t,container:a,nonce:e.nonce,speedy:e.speedy,prepend:e.prepend,insertionPoint:e.insertionPoint}),nonce:e.nonce,inserted:s,registered:{},insert:i};return g.sheet.hydrate(l),g};function se(e,t,r){var n="";return r.split(" ").forEach((function(r){void 0!==e[r]?t.push(e[r]+";"):n+=r+" "})),n}var le=function(e,t,r){var n=e.key+"-"+t.name;!1===r&&void 0===e.registered[n]&&(e.registered[n]=t.styles)},ce=function(e,t,r){le(e,t,r);var n=e.key+"-"+t.name;if(void 0===e.inserted[t.name]){var a=t;do{e.insert(t===a?"."+n:"",a,e.sheet,!0),a=a.next}while(void 0!==a)}};var ue={animationIterationCount:1,aspectRatio:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,boxFlex:1,boxFlexGroup:1,boxOrdinalGroup:1,columnCount:1,columns:1,flex:1,flexGrow:1,flexPositive:1,flexShrink:1,flexNegative:1,flexOrder:1,gridRow:1,gridRowEnd:1,gridRowSpan:1,gridRowStart:1,gridColumn:1,gridColumnEnd:1,gridColumnSpan:1,gridColumnStart:1,msGridRow:1,msGridRowSpan:1,msGridColumn:1,msGridColumnSpan:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans:1,tabSize:1,widows:1,zIndex:1,zoom:1,WebkitLineClamp:1,fillOpacity:1,floodOpacity:1,stopOpacity:1,strokeDasharray:1,strokeDashoffset:1,strokeMiterlimit:1,strokeOpacity:1,strokeWidth:1};function de(e){var t=Object.create(null);return function(r){return void 0===t[r]&&(t[r]=e(r)),t[r]}}var pe=/[A-Z]|^ms/g,fe=/_EMO_([^_]+?)_([^]*?)_EMO_/g,me=function(e){return 45===e.charCodeAt(1)},he=function(e){return null!=e&&"boolean"!=typeof e},ge=de((function(e){return me(e)?e:e.replace(pe,"-$&").toLowerCase()})),be=function(e,t){switch(e){case"animation":case"animationName":if("string"==typeof t)return t.replace(fe,(function(e,t,r){return xe={name:t,styles:r,next:xe},t}))}return 1===ue[e]||me(e)||"number"!=typeof t||0===t?t:t+"px"};function ye(e,t,r){if(null==r)return"";if(void 0!==r.__emotion_styles)return r;switch(typeof r){case"boolean":return"";case"object":if(1===r.anim)return xe={name:r.name,styles:r.styles,next:xe},r.name;if(void 0!==r.styles){var n=r.next;if(void 0!==n)for(;void 0!==n;)xe={name:n.name,styles:n.styles,next:xe},n=n.next;return r.styles+";"}return function(e,t,r){var n="";if(Array.isArray(r))for(var a=0;a<r.length;a++)n+=ye(e,t,r[a])+";";else for(var o in r){var i=r[o];if("object"!=typeof i)null!=t&&void 0!==t[i]?n+=o+"{"+t[i]+"}":he(i)&&(n+=ge(o)+":"+be(o,i)+";");else if(!Array.isArray(i)||"string"!=typeof i[0]||null!=t&&void 0!==t[i[0]]){var s=ye(e,t,i);switch(o){case"animation":case"animationName":n+=ge(o)+":"+s+";";break;default:n+=o+"{"+s+"}"}}else for(var l=0;l<i.length;l++)he(i[l])&&(n+=ge(o)+":"+be(o,i[l])+";")}return n}(e,t,r);case"function":if(void 0!==e){var a=xe,o=r(e);return xe=a,ye(e,t,o)}}if(null==t)return r;var i=t[r];return void 0!==i?i:r}var xe,ve=/label:\s*([^\s;\n{]+)\s*(;|$)/g;var we=function(e,t,r){if(1===e.length&&"object"==typeof e[0]&&null!==e[0]&&void 0!==e[0].styles)return e[0];var n=!0,a="";xe=void 0;var o=e[0];null==o||void 0===o.raw?(n=!1,a+=ye(r,t,o)):a+=o[0];for(var i=1;i<e.length;i++)a+=ye(r,t,e[i]),n&&(a+=o[i]);ve.lastIndex=0;for(var s,l="";null!==(s=ve.exec(a));)l+="-"+s[1];var c=function(e){for(var t,r=0,n=0,a=e.length;a>=4;++n,a-=4)t=1540483477*(65535&(t=255&e.charCodeAt(n)|(255&e.charCodeAt(++n))<<8|(255&e.charCodeAt(++n))<<16|(255&e.charCodeAt(++n))<<24))+(59797*(t>>>16)<<16),r=1540483477*(65535&(t^=t>>>24))+(59797*(t>>>16)<<16)^1540483477*(65535&r)+(59797*(r>>>16)<<16);switch(a){case 3:r^=(255&e.charCodeAt(n+2))<<16;case 2:r^=(255&e.charCodeAt(n+1))<<8;case 1:r=1540483477*(65535&(r^=255&e.charCodeAt(n)))+(59797*(r>>>16)<<16)}return(((r=1540483477*(65535&(r^=r>>>13))+(59797*(r>>>16)<<16))^r>>>15)>>>0).toString(36)}(a)+l;return{name:c,styles:a,next:xe}},ke=!!t.useInsertionEffect&&t.useInsertionEffect,Se=ke||function(e){return e()},Ee=(ke||t.useLayoutEffect,{}.hasOwnProperty),Ae=t.createContext("undefined"!=typeof HTMLElement?ie({key:"css"}):null);Ae.Provider;var _e=function(e){return(0,t.forwardRef)((function(r,n){var a=(0,t.useContext)(Ae);return e(r,a,n)}))};var Me=t.createContext({});var Te="__EMOTION_TYPE_PLEASE_DO_NOT_USE__",Oe=function(e,t){var r={};for(var n in t)Ee.call(t,n)&&(r[n]=t[n]);return r[Te]=e,r},Ce=function(e){var t=e.cache,r=e.serialized,n=e.isStringTag;return le(t,r,n),Se((function(){return ce(t,r,n)})),null};var Ne=_e((function(e,r,n){var a=e.css;"string"==typeof a&&void 0!==r.registered[a]&&(a=r.registered[a]);var o=e[Te],i=[a],s="";"string"==typeof e.className?s=se(r.registered,i,e.className):null!=e.className&&(s=e.className+" ");var l=we(i,void 0,t.useContext(Me));s+=r.key+"-"+l.name;var c={};for(var u in e)Ee.call(e,u)&&"css"!==u&&u!==Te&&(c[u]=e[u]);return c.ref=n,c.className=s,t.createElement(t.Fragment,null,t.createElement(Ce,{cache:r,serialized:l,isStringTag:"string"==typeof o}),t.createElement(o,c))}));r(8679),e.Fragment;function Re(t,r,n){return Ee.call(r,"css")?e.jsx(Ne,Oe(t,r),n):e.jsx(t,r,n)}function Ie(t,r,n){return Ee.call(r,"css")?e.jsxs(Ne,Oe(t,r),n):e.jsxs(t,r,n)}const Fe=a().createContext({id:"",elements:{},blockSelector:"",category:""});var Pe;!function(e){e.Enum="Enum",e.MappedEnum="MappedEnum",e.DynamicFont="DynamicFont",e.DynamicColor="DynamicColor"}(Pe||(Pe={}));var $e,Le={name:"font-weight",attribute:"font-weight",values:{hairline:100,thin:200,light:300,normal:400,medium:500,semibold:600,bold:700,extrabold:800,black:900},type:Pe.MappedEnum,unit:"",picker:"drop-down-with-default"},je={name:"font-size",attribute:"font-size",values:{"3xs":.5,"2xs":.625,xs:.75,s:.875,m:1,l:1.125,xl:1.25,"2xl":1.5,"3xl":1.875,"4xl":2.25,"5xl":3,"6xl":4,"7xl":5,"8xl":6,"9xl":7,"10xl":8},unit:"rem",type:Pe.MappedEnum,picker:"value-picker"},De={name:"font-family",attribute:"font-family",unit:"",type:Pe.DynamicFont,picker:"font-picker"},ze={name:"letter-spacing",attribute:"letter-spacing",values:{tighter:-.05,tight:-.025,normal:0,wide:.025,wider:.05,widest:.1},type:Pe.MappedEnum,unit:"rem",picker:"drop-down"},Be={name:"line-height",attribute:"line-height",values:{compact:1,tight:1.25,normal:1.5,loose:2},type:Pe.MappedEnum,unit:"",picker:"drop-down"},He={name:"text-decoration",attribute:"text-decoration",values:{underline:"underline","line-through":"line-through","no-underline":"none"},type:Pe.MappedEnum,unit:""},We={name:"text-transform",attribute:"text-transform",values:{uppercase:"uppercase",lowercase:"lowercase",capitalize:"capitalize",default:"none"},type:Pe.MappedEnum,unit:""},Ue={name:"text-align",attribute:"text-align",values:{left:"left",center:"center",right:"right",justify:"justify"},type:Pe.MappedEnum,unit:"",picker:"drop-down"},Ge={name:"padding-top",attribute:"padding-top",values:{none:0,"7xs":.25,"6xs":.5,"5xs":.75,"4xs":1,"3xs":1.25,"2xs":1.5,xs:2,s:2.5,m:3,l:4,xl:5,"2xl":6,"3xl":8,"4xl":10,"5xl":12,"6xl":14,"7xl":16},type:Pe.MappedEnum,unit:"rem",picker:"value-picker"},Ye={name:"padding-bottom",attribute:"padding-bottom",values:{none:0,"7xs":.25,"6xs":.5,"5xs":.75,"4xs":1,"3xs":1.25,"2xs":1.5,xs:2,s:2.5,m:3,l:4,xl:5,"2xl":6,"3xl":8,"4xl":10,"5xl":12,"6xl":14,"7xl":16},type:Pe.MappedEnum,unit:"rem",picker:"value-picker"},Ke={name:"padding-left",attribute:"padding-left",values:{none:0,"7xs":.25,"6xs":.5,"5xs":.75,"4xs":1,"3xs":1.25,"2xs":1.5,xs:2,s:2.5,m:3,l:4,xl:5,"2xl":6,"3xl":8,"4xl":10,"5xl":12,"6xl":14,"7xl":16},type:Pe.MappedEnum,unit:"rem",picker:"value-picker"},qe={name:"padding-right",attribute:"padding-right",values:{none:0,"7xs":.25,"6xs":.5,"5xs":.75,"4xs":1,"3xs":1.25,"2xs":1.5,xs:2,s:2.5,m:3,l:4,xl:5,"2xl":6,"3xl":8,"4xl":10,"5xl":12,"6xl":14,"7xl":16},type:Pe.MappedEnum,unit:"rem",picker:"value-picker"},Xe={name:"margin-top",attribute:"margin-top",values:{none:0,"7xs":.25,"6xs":.5,"5xs":.75,"4xs":1,"3xs":1.25,"2xs":1.5,xs:2,s:2.5,m:3,l:4,xl:5,"2xl":6,"3xl":8,"4xl":10,"5xl":12,"6xl":14,"7xl":16},type:Pe.MappedEnum,unit:"rem",picker:"value-picker"},Ve={name:"margin-bottom",attribute:"margin-bottom",values:{none:0,"7xs":.25,"6xs":.5,"5xs":.75,"4xs":1,"3xs":1.25,"2xs":1.5,xs:2,s:2.5,m:3,l:4,xl:5,"2xl":6,"3xl":8,"4xl":10,"5xl":12,"6xl":14,"7xl":16},type:Pe.MappedEnum,unit:"rem",picker:"value-picker"},Je={name:"margin-left",attribute:"margin-left",values:{none:0,"7xs":.25,"6xs":.5,"5xs":.75,"4xs":1,"3xs":1.25,"2xs":1.5,xs:2,s:2.5,m:3,l:4,xl:5,"2xl":6,"3xl":8,"4xl":10,"5xl":12,"6xl":14,"7xl":16},type:Pe.MappedEnum,unit:"rem",picker:"value-picker"},Ze={name:"margin-right",attribute:"margin-right",values:{none:0,"7xs":.25,"6xs":.5,"5xs":.75,"4xs":1,"3xs":1.25,"2xs":1.5,xs:2,s:2.5,m:3,l:4,xl:5,"2xl":6,"3xl":8,"4xl":10,"5xl":12,"6xl":14,"7xl":16},type:Pe.MappedEnum,unit:"rem",picker:"value-picker"},Qe={name:"background-color",attribute:"background-color",type:Pe.DynamicColor,unit:"",picker:"color-picker"},et={name:"text-color",attribute:"color",unit:"",type:Pe.DynamicColor,picker:"color-picker"},tt={name:"placeholder-color",attribute:"color",pseudo:"::placeholder",unit:"",type:Pe.DynamicColor,picker:"color-picker"},rt={name:"border-radius",attribute:"border-radius",values:{none:0,s:.125,m:.25,l:.5,xl:.75,"2xl":1,"3xl":1.5,"4xl":2,full:9999},type:Pe.MappedEnum,unit:"rem",picker:"value-picker"},nt={name:"border-style",attribute:"border-style",values:{solid:"solid",dashed:"dashed",dotted:"dotted",none:"none"},type:Pe.MappedEnum,unit:"",picker:"drop-down"},at={name:"border-top-style",attribute:"border-top-style",values:{solid:"solid",dashed:"dashed",dotted:"dotted",none:"none"},type:Pe.MappedEnum,unit:"",picker:"drop-down"},ot={name:"border-bottom-style",attribute:"border-bottom-style",values:{solid:"solid",dashed:"dashed",dotted:"dotted",none:"none"},type:Pe.MappedEnum,unit:"",picker:"drop-down"},it={name:"border-left-style",attribute:"border-left-style",values:{solid:"solid",dashed:"dashed",dotted:"dotted",none:"none"},type:Pe.MappedEnum,unit:"",picker:"drop-down"},st={name:"border-right-style",attribute:"border-right-style",values:{solid:"solid",dashed:"dashed",dotted:"dotted",none:"none"},type:Pe.MappedEnum,unit:"",picker:"drop-down"},lt={name:"outline",attribute:"outline",values:{none:"none"},type:Pe.MappedEnum,unit:""},ct={name:"border-width",attribute:"border-width",values:{none:0,xs:1,s:2,m:4,l:8,xl:16},type:Pe.MappedEnum,unit:"px",picker:"value-picker"},ut={name:"border-top-width",attribute:"border-top-width",values:{none:0,xs:1,s:2,m:4,l:8,xl:16},type:Pe.MappedEnum,unit:"px",picker:"value-picker"},dt={name:"border-bottom-width",attribute:"border-bottom-width",values:{none:0,xs:1,s:2,m:4,l:8,xl:16},type:Pe.MappedEnum,unit:"px",picker:"value-picker"},pt={name:"border-left-width",attribute:"border-left-width",values:{none:0,xs:1,s:2,m:4,l:8,xl:16},type:Pe.MappedEnum,unit:"px",picker:"value-picker"},ft={name:"border-right-width",attribute:"border-right-width",values:{none:0,xs:1,s:2,m:4,l:8,xl:16},type:Pe.MappedEnum,unit:"px",picker:"value-picker"},mt={name:"border-color",attribute:"border-color",type:Pe.DynamicColor,unit:"",picker:"color-picker"},ht={name:"border-top-color",attribute:"border-top-color",type:Pe.DynamicColor,unit:"",picker:"color-picker"},gt={name:"border-bottom-color",attribute:"border-bottom-color",type:Pe.DynamicColor,unit:"",picker:"color-picker"},bt={name:"border-left-color",attribute:"border-left-color",type:Pe.DynamicColor,unit:"",picker:"color-picker"},yt={name:"border-right-color",attribute:"border-right-color",type:Pe.DynamicColor,unit:"",picker:"color-picker"},xt={name:"background-size",attribute:"background-size",values:{auto:"auto",cover:"cover",contain:"contain"},type:Pe.MappedEnum,unit:"",picker:"drop-down"},vt={name:"background-attachment",attribute:"background-attachment",values:{scroll:"scroll",fixed:"fixed",local:"local"},type:Pe.MappedEnum,unit:"",picker:"drop-down"},wt={name:"background-position",attribute:"background-position",values:{center:"center",bottom:"bottom",left:"left","left-bottom":"left bottom","left-top":"left top",right:"right","right-bottom":"right bottom","right-top":"right top",top:"top"},type:Pe.MappedEnum,unit:"",picker:"drop-down"},kt={name:"background-repeat",attribute:"background-repeat",values:{repeat:"repeat","no-repeat":"no-repeat","repeat-x":"repeat-x","repeat-y":"repeat-y"},type:Pe.MappedEnum,unit:"",picker:"drop-down"},St={name:"max-width",attribute:"max-width",values:{"6xs":"2rem","5xs":"4rem","4xs":"8rem","3xs":"12rem","2xs":"16rem",xs:"20rem",s:"24rem",m:"28rem",l:"32rem",xl:"36rem","2xl":"42rem","3xl":"48rem","4xl":"56rem","5xl":"64rem","6xl":"72rem",full:"100%"},unit:"",type:Pe.MappedEnum,picker:"value-picker"},Et={name:"min-width",attribute:"min-width",values:{"6xs":"2rem","5xs":"4rem","4xs":"8rem","3xs":"12rem","2xs":"16rem",xs:"20rem",s:"24rem",m:"28rem",l:"32rem",xl:"36rem","2xl":"42rem","3xl":"48rem","4xl":"56rem","5xl":"64rem","6xl":"72rem",full:"100%"},unit:"",type:Pe.MappedEnum,picker:"value-picker"},At={name:"width",attribute:"width",values:{"12xs":"1rem","11xs":"2rem","10xs":"3rem","9xs":"4rem","8xs":"5rem","7xs":"6rem","6xs":"7rem","5xs":"8rem","4xs":"10rem","3xs":"12rem","2xs":"16rem",xs:"20rem",s:"24rem",m:"28rem",l:"32rem",xl:"36rem","2xl":"42rem","3xl":"48rem","4xl":"56rem","5xl":"64rem","6xl":"72rem",full:"100%"},unit:"",type:Pe.MappedEnum,picker:"value-picker"},_t={name:"percentage-width",attribute:"width",values:{"10xs":"5%","9xs":"10%","8xs":"15%","7xs":"20%","6xs":"25%","5xs":"30%","4xs":"35%","3xs":"40%","2xs":"45%",xs:"50%",s:"55%",m:"60%",l:"65%",xl:"70%","2xl":"75%","3xl":"80%","4xl":"85%","5xl":"90%","6xl":"95%",full:"100%"},unit:"",type:Pe.MappedEnum,picker:"value-picker"},Mt={name:"max-height",attribute:"max-height",values:{"6xs":"2rem","5xs":"4rem","4xs":"8rem","3xs":"12rem","2xs":"16rem",xs:"20rem",s:"24rem",m:"28rem",l:"32rem",xl:"36rem","2xl":"42rem","3xl":"48rem","4xl":"56rem","5xl":"64rem","6xl":"72rem",full:"100%"},unit:"",type:Pe.MappedEnum,picker:"value-picker"},Tt={name:"min-height",attribute:"min-height",values:{"6xs":"2rem","5xs":"4rem","4xs":"8rem","3xs":"12rem","2xs":"16rem",xs:"20rem",s:"24rem",m:"28rem",l:"32rem",xl:"36rem","2xl":"42rem","3xl":"48rem","4xl":"56rem","5xl":"64rem","6xl":"72rem",full:"100%"},unit:"",type:Pe.MappedEnum,picker:"value-picker"},Ot={name:"height",attribute:"height",values:{"12xs":"1rem","11xs":"2rem","10xs":"3rem","9xs":"4rem","8xs":"5rem","7xs":"6rem","6xs":"7rem","5xs":"8rem","4xs":"10rem","3xs":"12rem","2xs":"16rem",xs:"20rem",s:"24rem",m:"28rem",l:"32rem",xl:"36rem","2xl":"42rem","3xl":"48rem","4xl":"56rem","5xl":"64rem","6xl":"72rem",full:"100%"},unit:"",type:Pe.MappedEnum,picker:"value-picker"},Ct={name:"box-shadow",attribute:"box-shadow",values:{none:"none",s:"0px 0px 6px 0px rgba(17, 17, 17, 0.04), 0px 4px 8px 0px rgba(17, 17, 17, 0.04)",m:"0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06)",l:"0px 2px 4px 0px rgba(17, 17, 17, 0.04), 0px 8px 32px 0px rgba(33, 33, 33, 0.08)",xl:"0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04)","2xl":"0 25px 50px -12px rgba(0, 0, 0, 0.25)"},type:Pe.MappedEnum,unit:"",picker:"value-picker"},Nt={name:"cursor",attribute:"cursor",values:{default:"default",pointer:"pointer",wait:"wait",text:"relative",move:"sticky",grab:"grab",help:"help",crosshair:"crosshair","zoom-in":"zoom-in","zoom-out":"zoom-out","not-allowed":"not-allowed",none:"none"},type:Pe.MappedEnum,unit:""},Rt={name:"position",attribute:"position",values:{static:"static",fixed:"fixed",absolute:"absolute",relative:"relative",sticky:"sticky"},type:Pe.MappedEnum,unit:""},It={name:"opacity",attribute:"opacity",values:{full:0,"3xl":.1,"2xl":.2,xl:.3,l:.4,m:.5,s:.6,xs:.7,"2xs":.8,"3xs":.9,none:1},type:Pe.MappedEnum,unit:""},Ft={name:"display",attribute:"display",values:{block:"block","inline-block":"inline-block",inline:"inline",flex:"flex","inline-flex":"inline-flex",none:"none"},type:Pe.MappedEnum,unit:""},Pt={name:"align-items",attribute:"align-items",values:{stretch:"stretch",start:"start",center:"center",end:"flex",baseline:"inline-flex"},type:Pe.MappedEnum,unit:""},$t=["hover","focus","active","visited"],Lt={xs:"0",s:"576px",m:"768px",l:"992px",xl:"1200px"},jt="sw",Dt="-",zt=($e={},[Le,je,De,Be,ze,He,We,Ue,Ge,Ye,Ke,qe,Xe,Ve,Je,Ze,et,Qe,tt,rt,nt,lt,ct,dt,ut,pt,ft,mt,gt,ht,bt,yt,ot,at,it,st,vt,wt,kt,xt,St,Et,At,_t,Mt,Tt,Ot,Ct,Nt,Rt,It,Ft,Pt].forEach((function(e){$e[e.name]=e})),$e);function Bt(e){var t,r=Gt(e),n=Yt(e),a=function(e){var t=Object.keys(Lt).find((function(t){return e.startsWith(t+":")}));return void 0!==t}(e),o=function(e){return Object.keys(Lt).find((function(t){return e.startsWith(t+":")}))}(e);r&&(e=Kt(e)),a&&(e=function(e){var t=Object.keys(Lt).find((function(t){return e.startsWith(t+":")}));return t?e.replace(t+":",""):e}(e));var i=Wt(e,zt);if(!i)throw new Error("Can't find the style: "+e);var s=Ht(e,i);if(!s||void 0===s)throw new Error("Can't find a value for the style: "+e);r&&(e=function(e,t){return"".concat(t,"\\:").concat(e,":").concat(t)}(e,n)),a&&(e=function(e,t){return"".concat(t,"\\:").concat(e)}(e,o));var l,c=function(e){return void 0!==e.pseudo}(i);switch(c&&(e=function(e,t){return"".concat(e).concat(t.pseudo)}(e,i)),i.type){case Pe.Enum:l=".".concat(e," { ").concat(i.attribute,": ").concat(s).concat(i.unit,"!important; }");break;case Pe.MappedEnum:if(s.includes("default")){l=".".concat(e," { }");break}var u=null===(t=i.values)||void 0===t?void 0:t[s];if(void 0===u)throw new Error("Can't find a value for the style: "+e);l=".".concat(e," { ").concat(i.attribute,": ").concat(u).concat(i.unit,"!important; }");break;case Pe.DynamicColor:if(s.includes("default")){l=".".concat(e," { }");break}if("transparent"===s){l=".".concat(e," { ").concat(i.attribute,": ").concat(s,"!important; }");break}l=".".concat(e," { ").concat(i.attribute,": #").concat(s,"!important; }");break;case Pe.DynamicFont:if(s.includes("default")){l=".".concat(e," { }");break}var d=Ut(s);l=".".concat(e," { ").concat(i.attribute,': "').concat(d,'"!important; }')}if(void 0===l)throw new Error("Can't generate css for the name: "+e);if(a){var p=Lt[o];return"@media (min-width: ".concat(p,") { ").concat(l," }")}return r&&"hover"===n?"@media (hover: hover) { ".concat(l," }"):l}function Ht(e,t){return e.replace(jt+Dt+t.name+Dt,"")}function Wt(e,t){return t[Object.keys(t).find((function(t){return e.startsWith(jt+Dt+t+Dt)}))]}function Ut(e){return e.split("_").map((function(e){return"string"!=typeof(t=e)?"":t.charAt(0).toUpperCase()+t.slice(1);var t})).join(" ")}function Gt(e){return!!$t.find((function(t){return e.startsWith(t)}))}function Yt(e){return $t.find((function(t){return e.startsWith(t)}))}function Kt(e){var t=$t.find((function(t){return e.startsWith(t)}));return t?e.replace(t+":",""):e}var qt=function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var a=0;for(n=Object.getOwnPropertySymbols(e);a<n.length;a++)t.indexOf(n[a])<0&&Object.prototype.propertyIsEnumerable.call(e,n[a])&&(r[n[a]]=e[n[a]])}return r},Xt=function(e,t){var r="function"==typeof Symbol&&e[Symbol.iterator];if(!r)return e;var n,a,o=r.call(e),i=[];try{for(;(void 0===t||t-- >0)&&!(n=o.next()).done;)i.push(n.value)}catch(s){a={error:s}}finally{try{n&&!n.done&&(r=o.return)&&r.call(o)}finally{if(a)throw a.error}}return i},Vt=function(e,t,r){if(r||2===arguments.length)for(var n,a=0,o=t.length;a<o;a++)!n&&a in t||(n||(n=Array.prototype.slice.call(t,0,a)),n[a]=t[a]);return e.concat(n||Array.prototype.slice.call(t))},Jt=function(e){var t="function"==typeof Symbol&&Symbol.iterator,r=t&&e[t],n=0;if(r)return r.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&n>=e.length&&(e=void 0),{value:e&&e[n++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")},Zt=function(e){var t={};return e.forEach((function(e){var r=Xt(function(e){var t=Yt(e);t&&(e=Kt(e));var r,n=Object.keys(zt).find((function(t){return e.startsWith(jt+Dt+t+Dt)}))||"",a=zt[n],o=n.replace(/-([a-z])/g,(function(e){return e[1].toUpperCase()})),i=t?t.charAt(0).toUpperCase()+t.slice(1):"",s=e.replace("sw-".concat(a.name,"-"),"");if("default"===s)return["".concat(o).concat(i),void 0];switch(a.type){case Pe.Enum:r="".concat(s).concat(a.unit);break;case Pe.MappedEnum:r="".concat(a.values[s]).concat(a.unit);break;case Pe.DynamicColor:r="transparent"!==s?"#".concat(s):s;break;case Pe.DynamicFont:r=Ut(s);break;default:r=s}return["".concat(o).concat(i),r]}(e),2),n=r[0],a=r[1];t[n]=a})),t};function Qt(e,t){var r,n,a=e.primaryStyles,o=e.otherStyles,i=qt(e,["primaryStyles","otherStyles"]),s={},l=[],c=[];(a||[]).forEach((function(e){var t=e.classes;return l.push.apply(l,Vt([],Xt(t),!1))})),l.forEach(t.add,t),(o||[]).forEach((function(e){var t=e.classes;return c.push.apply(c,Vt([],Xt(t),!1))})),c.forEach(t.add,t),s.className=Vt(Vt([],Xt(l),!1),Xt(c),!1).join(" "),s.styles=Zt(l);try{for(var u=Jt(Object.keys(i)),d=u.next();!d.done;d=u.next()){var p=d.value,f=i[p];Array.isArray(f)?s[p]=f.map((function(e){return"object"==typeof e?Qt(e,t):e})):s[p]="object"==typeof f?f?Qt(f,t):"":f}}catch(m){r={error:m}}finally{try{d&&!d.done&&(n=u.return)&&n.call(u)}finally{if(r)throw r.error}}return s}var er,tr,rr,nr,ar,or,ir,sr,lr,cr,ur,dr=r(94184),pr=r.n(dr);!function(e){e.Header="Header",e.Hero="Hero",e.FAQ="FAQ",e.Chart="Chart",e.CustomCode="Custom Code",e.ListDetails="List Details",e.List="List",e.Other="Other",e.Footer="Footer",e.Form="Form",e.OrganizationalChart="Organizational Chart",e.Payment="Payment"}(er||(er={})),function(e){e.Static="static",e.Dynamic="dynamic"}(tr||(tr={})),function(e){e.View="VIEW",e.Edit="EDIT"}(rr||(rr={})),function(e){e.Left="LEFT",e.Right="RIGHT",e.Center="CENTER",e.Top="TOP",e.Bottom="BOTTOM"}(nr||(nr={})),function(e){e.AllUsers="ALL_USERS"}(ar||(ar={})),function(e){e.Array="array"}(or||(or={})),function(e){e.Airtable="airtable",e.Softr="softr",e.Gsheet="gsheet"}(ir||(ir={})),function(e){e.PASSWORD="password",e.ADDRESS="address",e.RATING="rating",e.HEADING1="heading1",e.HEADING2="heading2",e.HEADING3="heading3",e.BUTTON="button",e.URL="url",e.TAG="tag",e.SHORT_TEXT="short_text",e.EMAIL="email",e.PHONE_NUMBER="phone_number",e.DIVIDER="divider",e.DROPDOWN="dropdown",e.LONG_TEXT="long_text",e.MULTI_SELECT="multi_select",e.STATIC_IMAGE="staticImage",e.IMAGE="image",e.DATE="date",e.DATETIME="dateTime",e.CHECKBOX="checkbox",e.HIDDEN="hidden",e.FILE="file",e.TEXT="text",e.RICH_TEXT="rich_text",e.UPVOTE_BUTTON="upvoteButton",e.GMAPS="gmaps",e.EMBED="embed",e.AUDIO="audio",e.VIDEO="video",e.GALLERY="gallery",e.IMAGE_OR_VIDEO="imageOrVideo",e.PDF="pdf"}(sr||(sr={})),function(e){e.heading1="h1",e.heading2="h2",e.heading3="h3",e.heading4="h4",e.heading5="h5",e.heading6="h6",e.text="p"}(lr||(lr={})),function(e){e.ShowMessage="SHOW_MESSAGE",e.OpenPage="OPEN_PAGE",e.NoAction="NO_ACTION"}(cr||(cr={})),function(e){e.UPDATE_RECORD_SUCCESS="UPDATE_RECORD_SUCCESS"}(ur||(ur={}));function fr(){return fr=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},fr.apply(this,arguments)}function mr(e,t){if(null==e)return{};var r,n,a={},o=Object.keys(e);for(n=0;n<o.length;n++)r=o[n],t.indexOf(r)>=0||(a[r]=e[r]);return a}function hr(e){let t="https://mui.com/production-error/?code="+e;for(let r=1;r<arguments.length;r+=1)t+="&args[]="+encodeURIComponent(arguments[r]);return"Minified MUI error #"+e+"; visit "+t+" for the full message."}function gr(e){return null!==e&&"object"==typeof e&&e.constructor===Object}function br(e){if(!gr(e))return e;const t={};return Object.keys(e).forEach((r=>{t[r]=br(e[r])})),t}function yr(e,t,r={clone:!0}){const n=r.clone?fr({},e):e;return gr(e)&&gr(t)&&Object.keys(t).forEach((a=>{"__proto__"!==a&&(gr(t[a])&&a in e&&gr(e[a])?n[a]=yr(e[a],t[a],r):r.clone?n[a]=gr(t[a])?br(t[a]):t[a]:n[a]=t[a])})),n}const xr=["values","unit","step"],vr=e=>{const t=Object.keys(e).map((t=>({key:t,val:e[t]})))||[];return t.sort(((e,t)=>e.val-t.val)),t.reduce(((e,t)=>fr({},e,{[t.key]:t.val})),{})};const wr={borderRadius:4},kr={xs:0,sm:600,md:900,lg:1200,xl:1536},Sr={keys:["xs","sm","md","lg","xl"],up:e=>`@media (min-width:${kr[e]}px)`};function Er(e,t,r){const n=e.theme||{};if(Array.isArray(t)){const e=n.breakpoints||Sr;return t.reduce(((n,a,o)=>(n[e.up(e.keys[o])]=r(t[o]),n)),{})}if("object"==typeof t){const e=n.breakpoints||Sr;return Object.keys(t).reduce(((n,a)=>{if(-1!==Object.keys(e.values||kr).indexOf(a)){n[e.up(a)]=r(t[a],a)}else{const e=a;n[e]=t[e]}return n}),{})}return r(t)}function Ar(e={}){var t;return(null==(t=e.keys)?void 0:t.reduce(((t,r)=>(t[e.up(r)]={},t)),{}))||{}}function _r(e,t){return e.reduce(((e,t)=>{const r=e[t];return(!r||0===Object.keys(r).length)&&delete e[t],e}),t)}function Mr({values:e,breakpoints:t,base:r}){const n=r||function(e,t){if("object"!=typeof e)return{};const r={},n=Object.keys(t);return Array.isArray(e)?n.forEach(((t,n)=>{n<e.length&&(r[t]=!0)})):n.forEach((t=>{null!=e[t]&&(r[t]=!0)})),r}(e,t),a=Object.keys(n);if(0===a.length)return e;let o;return a.reduce(((t,r,n)=>(Array.isArray(e)?(t[r]=null!=e[n]?e[n]:e[o],o=n):"object"==typeof e?(t[r]=null!=e[r]?e[r]:e[o],o=r):t[r]=e,t)),{})}function Tr(e){if("string"!=typeof e)throw new Error(hr(7));return e.charAt(0).toUpperCase()+e.slice(1)}function Or(e,t,r=!0){if(!t||"string"!=typeof t)return null;if(e&&e.vars&&r){const r=`vars.${t}`.split(".").reduce(((e,t)=>e&&e[t]?e[t]:null),e);if(null!=r)return r}return t.split(".").reduce(((e,t)=>e&&null!=e[t]?e[t]:null),e)}function Cr(e,t,r,n=r){let a;return a="function"==typeof e?e(r):Array.isArray(e)?e[r]||n:Or(e,r)||n,t&&(a=t(a,n,e)),a}const Nr=function(e){const{prop:t,cssProperty:r=e.prop,themeKey:n,transform:a}=e,o=e=>{if(null==e[t])return null;const o=e[t],i=Or(e.theme,n)||{};return Er(e,o,(e=>{let n=Cr(i,a,e);return e===n&&"string"==typeof e&&(n=Cr(i,a,`${t}${"default"===e?"":Tr(e)}`,e)),!1===r?n:{[r]:n}}))};return o.propTypes={},o.filterProps=[t],o};const Rr=function(e,t){return t?yr(e,t,{clone:!1}):e};const Ir={m:"margin",p:"padding"},Fr={t:"Top",r:"Right",b:"Bottom",l:"Left",x:["Left","Right"],y:["Top","Bottom"]},Pr={marginX:"mx",marginY:"my",paddingX:"px",paddingY:"py"},$r=function(e){const t={};return r=>(void 0===t[r]&&(t[r]=e(r)),t[r])}((e=>{if(e.length>2){if(!Pr[e])return[e];e=Pr[e]}const[t,r]=e.split(""),n=Ir[t],a=Fr[r]||"";return Array.isArray(a)?a.map((e=>n+e)):[n+a]})),Lr=["m","mt","mr","mb","ml","mx","my","margin","marginTop","marginRight","marginBottom","marginLeft","marginX","marginY","marginInline","marginInlineStart","marginInlineEnd","marginBlock","marginBlockStart","marginBlockEnd"],jr=["p","pt","pr","pb","pl","px","py","padding","paddingTop","paddingRight","paddingBottom","paddingLeft","paddingX","paddingY","paddingInline","paddingInlineStart","paddingInlineEnd","paddingBlock","paddingBlockStart","paddingBlockEnd"],Dr=[...Lr,...jr];function zr(e,t,r,n){var a;const o=null!=(a=Or(e,t,!1))?a:r;return"number"==typeof o?e=>"string"==typeof e?e:o*e:Array.isArray(o)?e=>"string"==typeof e?e:o[e]:"function"==typeof o?o:()=>{}}function Br(e){return zr(e,"spacing",8)}function Hr(e,t){if("string"==typeof t||null==t)return t;const r=e(Math.abs(t));return t>=0?r:"number"==typeof r?-r:`-${r}`}function Wr(e,t,r,n){if(-1===t.indexOf(r))return null;const a=function(e,t){return r=>e.reduce(((e,n)=>(e[n]=Hr(t,r),e)),{})}($r(r),n);return Er(e,e[r],a)}function Ur(e,t){const r=Br(e.theme);return Object.keys(e).map((n=>Wr(e,t,n,r))).reduce(Rr,{})}function Gr(e){return Ur(e,Lr)}function Yr(e){return Ur(e,jr)}function Kr(e){return Ur(e,Dr)}Gr.propTypes={},Gr.filterProps=Lr,Yr.propTypes={},Yr.filterProps=jr,Kr.propTypes={},Kr.filterProps=Dr;const qr=function(...e){const t=e.reduce(((e,t)=>(t.filterProps.forEach((r=>{e[r]=t})),e)),{}),r=e=>Object.keys(e).reduce(((r,n)=>t[n]?Rr(r,t[n](e)):r),{});return r.propTypes={},r.filterProps=e.reduce(((e,t)=>e.concat(t.filterProps)),[]),r};function Xr(e){return"number"!=typeof e?e:`${e}px solid`}const Vr=Nr({prop:"border",themeKey:"borders",transform:Xr}),Jr=Nr({prop:"borderTop",themeKey:"borders",transform:Xr}),Zr=Nr({prop:"borderRight",themeKey:"borders",transform:Xr}),Qr=Nr({prop:"borderBottom",themeKey:"borders",transform:Xr}),en=Nr({prop:"borderLeft",themeKey:"borders",transform:Xr}),tn=Nr({prop:"borderColor",themeKey:"palette"}),rn=Nr({prop:"borderTopColor",themeKey:"palette"}),nn=Nr({prop:"borderRightColor",themeKey:"palette"}),an=Nr({prop:"borderBottomColor",themeKey:"palette"}),on=Nr({prop:"borderLeftColor",themeKey:"palette"}),sn=e=>{if(void 0!==e.borderRadius&&null!==e.borderRadius){const t=zr(e.theme,"shape.borderRadius",4),r=e=>({borderRadius:Hr(t,e)});return Er(e,e.borderRadius,r)}return null};sn.propTypes={},sn.filterProps=["borderRadius"];qr(Vr,Jr,Zr,Qr,en,tn,rn,nn,an,on,sn);const ln=e=>{if(void 0!==e.gap&&null!==e.gap){const t=zr(e.theme,"spacing",8),r=e=>({gap:Hr(t,e)});return Er(e,e.gap,r)}return null};ln.propTypes={},ln.filterProps=["gap"];const cn=e=>{if(void 0!==e.columnGap&&null!==e.columnGap){const t=zr(e.theme,"spacing",8),r=e=>({columnGap:Hr(t,e)});return Er(e,e.columnGap,r)}return null};cn.propTypes={},cn.filterProps=["columnGap"];const un=e=>{if(void 0!==e.rowGap&&null!==e.rowGap){const t=zr(e.theme,"spacing",8),r=e=>({rowGap:Hr(t,e)});return Er(e,e.rowGap,r)}return null};un.propTypes={},un.filterProps=["rowGap"];qr(ln,cn,un,Nr({prop:"gridColumn"}),Nr({prop:"gridRow"}),Nr({prop:"gridAutoFlow"}),Nr({prop:"gridAutoColumns"}),Nr({prop:"gridAutoRows"}),Nr({prop:"gridTemplateColumns"}),Nr({prop:"gridTemplateRows"}),Nr({prop:"gridTemplateAreas"}),Nr({prop:"gridArea"}));function dn(e,t){return"grey"===t?t:e}qr(Nr({prop:"color",themeKey:"palette",transform:dn}),Nr({prop:"bgcolor",cssProperty:"backgroundColor",themeKey:"palette",transform:dn}),Nr({prop:"backgroundColor",themeKey:"palette",transform:dn}));function pn(e){return e<=1&&0!==e?100*e+"%":e}const fn=Nr({prop:"width",transform:pn}),mn=e=>{if(void 0!==e.maxWidth&&null!==e.maxWidth){const t=t=>{var r,n;const a=(null==(r=e.theme)||null==(r=r.breakpoints)||null==(r=r.values)?void 0:r[t])||kr[t];return a?"px"!==(null==(n=e.theme)||null==(n=n.breakpoints)?void 0:n.unit)?{maxWidth:`${a}${e.theme.breakpoints.unit}`}:{maxWidth:a}:{maxWidth:pn(t)}};return Er(e,e.maxWidth,t)}return null};mn.filterProps=["maxWidth"];const hn=Nr({prop:"minWidth",transform:pn}),gn=Nr({prop:"height",transform:pn}),bn=Nr({prop:"maxHeight",transform:pn}),yn=Nr({prop:"minHeight",transform:pn}),xn=(Nr({prop:"size",cssProperty:"width",transform:pn}),Nr({prop:"size",cssProperty:"height",transform:pn}),qr(fn,mn,hn,gn,bn,yn,Nr({prop:"boxSizing"})),{border:{themeKey:"borders",transform:Xr},borderTop:{themeKey:"borders",transform:Xr},borderRight:{themeKey:"borders",transform:Xr},borderBottom:{themeKey:"borders",transform:Xr},borderLeft:{themeKey:"borders",transform:Xr},borderColor:{themeKey:"palette"},borderTopColor:{themeKey:"palette"},borderRightColor:{themeKey:"palette"},borderBottomColor:{themeKey:"palette"},borderLeftColor:{themeKey:"palette"},borderRadius:{themeKey:"shape.borderRadius",style:sn},color:{themeKey:"palette",transform:dn},bgcolor:{themeKey:"palette",cssProperty:"backgroundColor",transform:dn},backgroundColor:{themeKey:"palette",transform:dn},p:{style:Yr},pt:{style:Yr},pr:{style:Yr},pb:{style:Yr},pl:{style:Yr},px:{style:Yr},py:{style:Yr},padding:{style:Yr},paddingTop:{style:Yr},paddingRight:{style:Yr},paddingBottom:{style:Yr},paddingLeft:{style:Yr},paddingX:{style:Yr},paddingY:{style:Yr},paddingInline:{style:Yr},paddingInlineStart:{style:Yr},paddingInlineEnd:{style:Yr},paddingBlock:{style:Yr},paddingBlockStart:{style:Yr},paddingBlockEnd:{style:Yr},m:{style:Gr},mt:{style:Gr},mr:{style:Gr},mb:{style:Gr},ml:{style:Gr},mx:{style:Gr},my:{style:Gr},margin:{style:Gr},marginTop:{style:Gr},marginRight:{style:Gr},marginBottom:{style:Gr},marginLeft:{style:Gr},marginX:{style:Gr},marginY:{style:Gr},marginInline:{style:Gr},marginInlineStart:{style:Gr},marginInlineEnd:{style:Gr},marginBlock:{style:Gr},marginBlockStart:{style:Gr},marginBlockEnd:{style:Gr},displayPrint:{cssProperty:!1,transform:e=>({"@media print":{display:e}})},display:{},overflow:{},textOverflow:{},visibility:{},whiteSpace:{},flexBasis:{},flexDirection:{},flexWrap:{},justifyContent:{},alignItems:{},alignContent:{},order:{},flex:{},flexGrow:{},flexShrink:{},alignSelf:{},justifyItems:{},justifySelf:{},gap:{style:ln},rowGap:{style:un},columnGap:{style:cn},gridColumn:{},gridRow:{},gridAutoFlow:{},gridAutoColumns:{},gridAutoRows:{},gridTemplateColumns:{},gridTemplateRows:{},gridTemplateAreas:{},gridArea:{},position:{},zIndex:{themeKey:"zIndex"},top:{},right:{},bottom:{},left:{},boxShadow:{themeKey:"shadows"},width:{transform:pn},maxWidth:{style:mn},minWidth:{transform:pn},height:{transform:pn},maxHeight:{transform:pn},minHeight:{transform:pn},boxSizing:{},fontFamily:{themeKey:"typography"},fontSize:{themeKey:"typography"},fontStyle:{themeKey:"typography"},fontWeight:{themeKey:"typography"},letterSpacing:{},textTransform:{},lineHeight:{},textAlign:{},typography:{cssProperty:!1,themeKey:"typography"}});const vn=function(){function e(e,t,r,n){const a={[e]:t,theme:r},o=n[e];if(!o)return{[e]:t};const{cssProperty:i=e,themeKey:s,transform:l,style:c}=o;if(null==t)return null;if("typography"===s&&"inherit"===t)return{[e]:t};const u=Or(r,s)||{};if(c)return c(a);return Er(a,t,(t=>{let r=Cr(u,l,t);return t===r&&"string"==typeof t&&(r=Cr(u,l,`${e}${"default"===t?"":Tr(t)}`,t)),!1===i?r:{[i]:r}}))}return function t(r){var n;const{sx:a,theme:o={}}=r||{};if(!a)return null;const i=null!=(n=o.unstable_sxConfig)?n:xn;function s(r){let n=r;if("function"==typeof r)n=r(o);else if("object"!=typeof r)return r;if(!n)return null;const a=Ar(o.breakpoints),s=Object.keys(a);let l=a;return Object.keys(n).forEach((r=>{const a=(s=n[r],c=o,"function"==typeof s?s(c):s);var s,c;if(null!=a)if("object"==typeof a)if(i[r])l=Rr(l,e(r,a,o,i));else{const e=Er({theme:o},a,(e=>({[r]:e})));!function(...e){const t=e.reduce(((e,t)=>e.concat(Object.keys(t))),[]),r=new Set(t);return e.every((e=>r.size===Object.keys(e).length))}(e,a)?l=Rr(l,e):l[r]=t({sx:a,theme:o})}else l=Rr(l,e(r,a,o,i))})),_r(s,l)}return Array.isArray(a)?a.map(s):s(a)}}();vn.filterProps=["sx"];const wn=vn,kn=["breakpoints","palette","spacing","shape"];const Sn=function(e={},...t){const{breakpoints:r={},palette:n={},spacing:a,shape:o={}}=e,i=mr(e,kn),s=function(e){const{values:t={xs:0,sm:600,md:900,lg:1200,xl:1536},unit:r="px",step:n=5}=e,a=mr(e,xr),o=vr(t),i=Object.keys(o);function s(e){return`@media (min-width:${"number"==typeof t[e]?t[e]:e}${r})`}function l(e){return`@media (max-width:${("number"==typeof t[e]?t[e]:e)-n/100}${r})`}function c(e,a){const o=i.indexOf(a);return`@media (min-width:${"number"==typeof t[e]?t[e]:e}${r}) and (max-width:${(-1!==o&&"number"==typeof t[i[o]]?t[i[o]]:a)-n/100}${r})`}return fr({keys:i,values:o,up:s,down:l,between:c,only:function(e){return i.indexOf(e)+1<i.length?c(e,i[i.indexOf(e)+1]):s(e)},not:function(e){const t=i.indexOf(e);return 0===t?s(i[1]):t===i.length-1?l(i[t]):c(e,i[i.indexOf(e)+1]).replace("@media","@media not all and")},unit:r},a)}(r),l=function(e=8){if(e.mui)return e;const t=Br({spacing:e}),r=(...e)=>(0===e.length?[1]:e).map((e=>{const r=t(e);return"number"==typeof r?`${r}px`:r})).join(" ");return r.mui=!0,r}(a);let c=yr({breakpoints:s,direction:"ltr",components:{},palette:fr({mode:"light"},n),spacing:l,shape:fr({},wr,o)},i);return c=t.reduce(((e,t)=>yr(e,t)),c),c.unstable_sxConfig=fr({},xn,null==i?void 0:i.unstable_sxConfig),c.unstable_sx=function(e){return wn({sx:e,theme:this})},c};function En(e,t){return fr({toolbar:{minHeight:56,[e.up("xs")]:{"@media (orientation: landscape)":{minHeight:48}},[e.up("sm")]:{minHeight:64}}},t)}function An(e,t=0,r=1){return Math.min(Math.max(t,e),r)}function _n(e){if(e.type)return e;if("#"===e.charAt(0))return _n(function(e){e=e.slice(1);const t=new RegExp(`.{1,${e.length>=6?2:1}}`,"g");let r=e.match(t);return r&&1===r[0].length&&(r=r.map((e=>e+e))),r?`rgb${4===r.length?"a":""}(${r.map(((e,t)=>t<3?parseInt(e,16):Math.round(parseInt(e,16)/255*1e3)/1e3)).join(", ")})`:""}(e));const t=e.indexOf("("),r=e.substring(0,t);if(-1===["rgb","rgba","hsl","hsla","color"].indexOf(r))throw new Error(hr(9,e));let n,a=e.substring(t+1,e.length-1);if("color"===r){if(a=a.split(" "),n=a.shift(),4===a.length&&"/"===a[3].charAt(0)&&(a[3]=a[3].slice(1)),-1===["srgb","display-p3","a98-rgb","prophoto-rgb","rec-2020"].indexOf(n))throw new Error(hr(10,n))}else a=a.split(",");return a=a.map((e=>parseFloat(e))),{type:r,values:a,colorSpace:n}}function Mn(e){const{type:t,colorSpace:r}=e;let{values:n}=e;return-1!==t.indexOf("rgb")?n=n.map(((e,t)=>t<3?parseInt(e,10):e)):-1!==t.indexOf("hsl")&&(n[1]=`${n[1]}%`,n[2]=`${n[2]}%`),n=-1!==t.indexOf("color")?`${r} ${n.join(" ")}`:`${n.join(", ")}`,`${t}(${n})`}function Tn(e){let t="hsl"===(e=_n(e)).type||"hsla"===e.type?_n(function(e){e=_n(e);const{values:t}=e,r=t[0],n=t[1]/100,a=t[2]/100,o=n*Math.min(a,1-a),i=(e,t=(e+r/30)%12)=>a-o*Math.max(Math.min(t-3,9-t,1),-1);let s="rgb";const l=[Math.round(255*i(0)),Math.round(255*i(8)),Math.round(255*i(4))];return"hsla"===e.type&&(s+="a",l.push(t[3])),Mn({type:s,values:l})}(e)).values:e.values;return t=t.map((t=>("color"!==e.type&&(t/=255),t<=.03928?t/12.92:((t+.055)/1.055)**2.4))),Number((.2126*t[0]+.7152*t[1]+.0722*t[2]).toFixed(3))}function On(e,t){if(e=_n(e),t=An(t),-1!==e.type.indexOf("hsl"))e.values[2]*=1-t;else if(-1!==e.type.indexOf("rgb")||-1!==e.type.indexOf("color"))for(let r=0;r<3;r+=1)e.values[r]*=1-t;return Mn(e)}function Cn(e,t){if(e=_n(e),t=An(t),-1!==e.type.indexOf("hsl"))e.values[2]+=(100-e.values[2])*t;else if(-1!==e.type.indexOf("rgb"))for(let r=0;r<3;r+=1)e.values[r]+=(255-e.values[r])*t;else if(-1!==e.type.indexOf("color"))for(let r=0;r<3;r+=1)e.values[r]+=(1-e.values[r])*t;return Mn(e)}const Nn={black:"#000",white:"#fff"},Rn={50:"#fafafa",100:"#f5f5f5",200:"#eeeeee",300:"#e0e0e0",400:"#bdbdbd",500:"#9e9e9e",600:"#757575",700:"#616161",800:"#424242",900:"#212121",A100:"#f5f5f5",A200:"#eeeeee",A400:"#bdbdbd",A700:"#616161"},In={50:"#f3e5f5",100:"#e1bee7",200:"#ce93d8",300:"#ba68c8",400:"#ab47bc",500:"#9c27b0",600:"#8e24aa",700:"#7b1fa2",800:"#6a1b9a",900:"#4a148c",A100:"#ea80fc",A200:"#e040fb",A400:"#d500f9",A700:"#aa00ff"},Fn={50:"#ffebee",100:"#ffcdd2",200:"#ef9a9a",300:"#e57373",400:"#ef5350",500:"#f44336",600:"#e53935",700:"#d32f2f",800:"#c62828",900:"#b71c1c",A100:"#ff8a80",A200:"#ff5252",A400:"#ff1744",A700:"#d50000"},Pn={50:"#fff3e0",100:"#ffe0b2",200:"#ffcc80",300:"#ffb74d",400:"#ffa726",500:"#ff9800",600:"#fb8c00",700:"#f57c00",800:"#ef6c00",900:"#e65100",A100:"#ffd180",A200:"#ffab40",A400:"#ff9100",A700:"#ff6d00"},$n={50:"#e3f2fd",100:"#bbdefb",200:"#90caf9",300:"#64b5f6",400:"#42a5f5",500:"#2196f3",600:"#1e88e5",700:"#1976d2",800:"#1565c0",900:"#0d47a1",A100:"#82b1ff",A200:"#448aff",A400:"#2979ff",A700:"#2962ff"},Ln={50:"#e1f5fe",100:"#b3e5fc",200:"#81d4fa",300:"#4fc3f7",400:"#29b6f6",500:"#03a9f4",600:"#039be5",700:"#0288d1",800:"#0277bd",900:"#01579b",A100:"#80d8ff",A200:"#40c4ff",A400:"#00b0ff",A700:"#0091ea"},jn={50:"#e8f5e9",100:"#c8e6c9",200:"#a5d6a7",300:"#81c784",400:"#66bb6a",500:"#4caf50",600:"#43a047",700:"#388e3c",800:"#2e7d32",900:"#1b5e20",A100:"#b9f6ca",A200:"#69f0ae",A400:"#00e676",A700:"#00c853"},Dn=["mode","contrastThreshold","tonalOffset"],zn={text:{primary:"rgba(0, 0, 0, 0.87)",secondary:"rgba(0, 0, 0, 0.6)",disabled:"rgba(0, 0, 0, 0.38)"},divider:"rgba(0, 0, 0, 0.12)",background:{paper:Nn.white,default:Nn.white},action:{active:"rgba(0, 0, 0, 0.54)",hover:"rgba(0, 0, 0, 0.04)",hoverOpacity:.04,selected:"rgba(0, 0, 0, 0.08)",selectedOpacity:.08,disabled:"rgba(0, 0, 0, 0.26)",disabledBackground:"rgba(0, 0, 0, 0.12)",disabledOpacity:.38,focus:"rgba(0, 0, 0, 0.12)",focusOpacity:.12,activatedOpacity:.12}},Bn={text:{primary:Nn.white,secondary:"rgba(255, 255, 255, 0.7)",disabled:"rgba(255, 255, 255, 0.5)",icon:"rgba(255, 255, 255, 0.5)"},divider:"rgba(255, 255, 255, 0.12)",background:{paper:"#121212",default:"#121212"},action:{active:Nn.white,hover:"rgba(255, 255, 255, 0.08)",hoverOpacity:.08,selected:"rgba(255, 255, 255, 0.16)",selectedOpacity:.16,disabled:"rgba(255, 255, 255, 0.3)",disabledBackground:"rgba(255, 255, 255, 0.12)",disabledOpacity:.38,focus:"rgba(255, 255, 255, 0.12)",focusOpacity:.12,activatedOpacity:.24}};function Hn(e,t,r,n){const a=n.light||n,o=n.dark||1.5*n;e[t]||(e.hasOwnProperty(r)?e[t]=e[r]:"light"===t?e.light=Cn(e.main,a):"dark"===t&&(e.dark=On(e.main,o)))}function Wn(e){const{mode:t="light",contrastThreshold:r=3,tonalOffset:n=.2}=e,a=mr(e,Dn),o=e.primary||function(e="light"){return"dark"===e?{main:$n[200],light:$n[50],dark:$n[400]}:{main:$n[700],light:$n[400],dark:$n[800]}}(t),i=e.secondary||function(e="light"){return"dark"===e?{main:In[200],light:In[50],dark:In[400]}:{main:In[500],light:In[300],dark:In[700]}}(t),s=e.error||function(e="light"){return"dark"===e?{main:Fn[500],light:Fn[300],dark:Fn[700]}:{main:Fn[700],light:Fn[400],dark:Fn[800]}}(t),l=e.info||function(e="light"){return"dark"===e?{main:Ln[400],light:Ln[300],dark:Ln[700]}:{main:Ln[700],light:Ln[500],dark:Ln[900]}}(t),c=e.success||function(e="light"){return"dark"===e?{main:jn[400],light:jn[300],dark:jn[700]}:{main:jn[800],light:jn[500],dark:jn[900]}}(t),u=e.warning||function(e="light"){return"dark"===e?{main:Pn[400],light:Pn[300],dark:Pn[700]}:{main:"#ed6c02",light:Pn[500],dark:Pn[900]}}(t);function d(e){const t=function(e,t){const r=Tn(e),n=Tn(t);return(Math.max(r,n)+.05)/(Math.min(r,n)+.05)}(e,Bn.text.primary)>=r?Bn.text.primary:zn.text.primary;return t}const p=({color:e,name:t,mainShade:r=500,lightShade:a=300,darkShade:o=700})=>{if(!(e=fr({},e)).main&&e[r]&&(e.main=e[r]),!e.hasOwnProperty("main"))throw new Error(hr(11,t?` (${t})`:"",r));if("string"!=typeof e.main)throw new Error(hr(12,t?` (${t})`:"",JSON.stringify(e.main)));return Hn(e,"light",a,n),Hn(e,"dark",o,n),e.contrastText||(e.contrastText=d(e.main)),e},f={dark:Bn,light:zn};return yr(fr({common:fr({},Nn),mode:t,primary:p({color:o,name:"primary"}),secondary:p({color:i,name:"secondary",mainShade:"A400",lightShade:"A200",darkShade:"A700"}),error:p({color:s,name:"error"}),warning:p({color:u,name:"warning"}),info:p({color:l,name:"info"}),success:p({color:c,name:"success"}),grey:Rn,contrastThreshold:r,getContrastText:d,augmentColor:p,tonalOffset:n},f[t]),a)}const Un=["fontFamily","fontSize","fontWeightLight","fontWeightRegular","fontWeightMedium","fontWeightBold","htmlFontSize","allVariants","pxToRem"];const Gn={textTransform:"uppercase"},Yn='"Roboto", "Helvetica", "Arial", sans-serif';function Kn(e,t){const r="function"==typeof t?t(e):t,{fontFamily:n=Yn,fontSize:a=14,fontWeightLight:o=300,fontWeightRegular:i=400,fontWeightMedium:s=500,fontWeightBold:l=700,htmlFontSize:c=16,allVariants:u,pxToRem:d}=r,p=mr(r,Un);const f=a/14,m=d||(e=>e/c*f+"rem"),h=(e,t,r,a,o)=>{return fr({fontFamily:n,fontWeight:e,fontSize:m(t),lineHeight:r},n===Yn?{letterSpacing:(i=a/t,Math.round(1e5*i)/1e5)+"em"}:{},o,u);var i},g={h1:h(o,96,1.167,-1.5),h2:h(o,60,1.2,-.5),h3:h(i,48,1.167,0),h4:h(i,34,1.235,.25),h5:h(i,24,1.334,0),h6:h(s,20,1.6,.15),subtitle1:h(i,16,1.75,.15),subtitle2:h(s,14,1.57,.1),body1:h(i,16,1.5,.15),body2:h(i,14,1.43,.15),button:h(s,14,1.75,.4,Gn),caption:h(i,12,1.66,.4),overline:h(i,12,2.66,1,Gn),inherit:{fontFamily:"inherit",fontWeight:"inherit",fontSize:"inherit",lineHeight:"inherit",letterSpacing:"inherit"}};return yr(fr({htmlFontSize:c,pxToRem:m,fontFamily:n,fontSize:a,fontWeightLight:o,fontWeightRegular:i,fontWeightMedium:s,fontWeightBold:l},g),p,{clone:!1})}function qn(...e){return[`${e[0]}px ${e[1]}px ${e[2]}px ${e[3]}px rgba(0,0,0,0.2)`,`${e[4]}px ${e[5]}px ${e[6]}px ${e[7]}px rgba(0,0,0,0.14)`,`${e[8]}px ${e[9]}px ${e[10]}px ${e[11]}px rgba(0,0,0,0.12)`].join(",")}const Xn=["none",qn(0,2,1,-1,0,1,1,0,0,1,3,0),qn(0,3,1,-2,0,2,2,0,0,1,5,0),qn(0,3,3,-2,0,3,4,0,0,1,8,0),qn(0,2,4,-1,0,4,5,0,0,1,10,0),qn(0,3,5,-1,0,5,8,0,0,1,14,0),qn(0,3,5,-1,0,6,10,0,0,1,18,0),qn(0,4,5,-2,0,7,10,1,0,2,16,1),qn(0,5,5,-3,0,8,10,1,0,3,14,2),qn(0,5,6,-3,0,9,12,1,0,3,16,2),qn(0,6,6,-3,0,10,14,1,0,4,18,3),qn(0,6,7,-4,0,11,15,1,0,4,20,3),qn(0,7,8,-4,0,12,17,2,0,5,22,4),qn(0,7,8,-4,0,13,19,2,0,5,24,4),qn(0,7,9,-4,0,14,21,2,0,5,26,4),qn(0,8,9,-5,0,15,22,2,0,6,28,5),qn(0,8,10,-5,0,16,24,2,0,6,30,5),qn(0,8,11,-5,0,17,26,2,0,6,32,5),qn(0,9,11,-5,0,18,28,2,0,7,34,6),qn(0,9,12,-6,0,19,29,2,0,7,36,6),qn(0,10,13,-6,0,20,31,3,0,8,38,7),qn(0,10,13,-6,0,21,33,3,0,8,40,7),qn(0,10,14,-6,0,22,35,3,0,8,42,7),qn(0,11,14,-7,0,23,36,3,0,9,44,8),qn(0,11,15,-7,0,24,38,3,0,9,46,8)],Vn=["duration","easing","delay"],Jn={easeInOut:"cubic-bezier(0.4, 0, 0.2, 1)",easeOut:"cubic-bezier(0.0, 0, 0.2, 1)",easeIn:"cubic-bezier(0.4, 0, 1, 1)",sharp:"cubic-bezier(0.4, 0, 0.6, 1)"},Zn={shortest:150,shorter:200,short:250,standard:300,complex:375,enteringScreen:225,leavingScreen:195};function Qn(e){return`${Math.round(e)}ms`}function ea(e){if(!e)return 0;const t=e/36;return Math.round(10*(4+15*t**.25+t/5))}function ta(e){const t=fr({},Jn,e.easing),r=fr({},Zn,e.duration);return fr({getAutoHeightDuration:ea,create:(e=["all"],n={})=>{const{duration:a=r.standard,easing:o=t.easeInOut,delay:i=0}=n;mr(n,Vn);return(Array.isArray(e)?e:[e]).map((e=>`${e} ${"string"==typeof a?a:Qn(a)} ${o} ${"string"==typeof i?i:Qn(i)}`)).join(",")}},e,{easing:t,duration:r})}const ra={mobileStepper:1e3,fab:1050,speedDial:1050,appBar:1100,drawer:1200,modal:1300,snackbar:1400,tooltip:1500},na=["breakpoints","mixins","spacing","palette","transitions","typography","shape"];function aa(e={},...t){const{mixins:r={},palette:n={},transitions:a={},typography:o={}}=e,i=mr(e,na);if(e.vars)throw new Error(hr(18));const s=Wn(n),l=Sn(e);let c=yr(l,{mixins:En(l.breakpoints,r),palette:s,shadows:Xn.slice(),typography:Kn(s,o),transitions:ta(a),zIndex:fr({},ra)});return c=yr(c,i),c=t.reduce(((e,t)=>yr(e,t)),c),c.unstable_sxConfig=fr({},xn,null==i?void 0:i.unstable_sxConfig),c.unstable_sx=function(e){return wn({sx:e,theme:this})},c}const oa=aa;const ia=t.createContext(null);function sa(){return t.useContext(ia)}const la="function"==typeof Symbol&&Symbol.for?Symbol.for("mui.nested"):"__THEME_NESTED__";const ca=function(r){const{children:n,theme:a}=r,o=sa(),i=t.useMemo((()=>{const e=null===o?a:function(e,t){if("function"==typeof t)return t(e);return fr({},e,t)}(o,a);return null!=e&&(e[la]=null!==o),e}),[a,o]);return(0,e.jsx)(ia.Provider,{value:i,children:n})};const ua=function(e=null){const r=t.useContext(Me);return r&&(n=r,0!==Object.keys(n).length)?r:e;var n},da={};function pa(e,r,n,a=!1){return t.useMemo((()=>{const t=e&&r[e]||r;if("function"==typeof n){const o=n(t),i=e?fr({},r,{[e]:o}):o;return a?()=>i:i}return fr({},r,e?{[e]:n}:n)}),[e,r,n,a])}const fa=function(t){const{children:r,theme:n,themeId:a}=t,o=ua(da),i=sa()||da,s=pa(a,o,n),l=pa(a,i,n,!0);return(0,e.jsx)(ca,{theme:l,children:(0,e.jsx)(Me.Provider,{value:s,children:r})})},ma="$$material",ha=["theme"];function ga(t){let{theme:r}=t,n=mr(t,ha);const a=r[ma];return(0,e.jsx)(fa,fr({},n,{themeId:a?ma:void 0,theme:a||r}))}var ba=Array(25).fill("none");ba[1]="0px 0px 6px 0px rgba(17, 17, 17, 0.04) 0px 4px 8px 0px rgba(17, 17, 17, 0.04)",ba[2]="0px 2px 4px 0px rgba(17, 17, 17, 0.04), 0px 8px 32px 0px rgba(33, 33, 33, 0.08)",ba[3]="0px 2px 4px 0px rgba(17, 17, 17, 0.02), 0px 4px 8px 0px rgba(17, 17, 17, 0.03), 0px 8px 24px 0px rgba(17, 17, 17, 0.04), 0px 32px 80px 0px rgba(17, 17, 17, 0.08)";var ya={container:"fixed","container-fluid":"full",custom:"custom"};const xa=function(e){var t=e.defaultBaseTextSize,r=e.defaultBodyFont,n=(e.defaultBodyFontWeight,e.defaultBodyTextColor),a=e.defaultButtonBackgroundColor,o=e.defaultButtonRoundness,i=e.defaultButtonTextColor,s=e.defaultContainerStyle,l=(e.defaultTitleFont,e.defaultTitleFontWeight,a||"#F6C944"),c=i||"#424242",u=e.defaultTitleTextColor||"#424242",d=n||"#424242",p=parseInt((t||"16").replace("px",""),10);return{breakpoints:{values:{xs:0,sm:576,md:768,lg:992,xl:1200}},palette:{primary:{main:a||"#F6C944",dark:l,light:l,contrastText:c},secondary:{main:"#C2C2C2",contrastText:"#424242"},error:{main:"#BF2600"},text:{primary:u,secondary:d,disabled:"#C2C2C2"}},width:ya[s],typography:{fontFamily:r||"Inter",fontSize:p,remToPx:function(e){return e*p}},shape:{borderRadius:8},shadows:ba,components:{MuiPaper:{styleOverrides:{root:{boxShadow:"0px 8px 32px rgba(33, 33, 33, 0.08), 0px 2px 4px rgba(33, 33, 33, 0.04)"}}},MuiButtonBase:{styleOverrides:{root:{"&:focus":{outline:"none"}}}},MuiButton:{styleOverrides:{root:{borderRadius:o||8,padding:"8px 16px",lineHeight:"unset",fontFamily:r,textTransform:"none","&:focus":{outline:"none"},"&:hover":{},"&:active":{outline:"none"}},sizeLarge:{padding:"12px 24px"},outlinedSecondary:{borderColor:"#C2C2C2",color:"#424242"}}},MuiInputAdornment:{styleOverrides:{root:{"& .MuiButton-root":{borderRadius:"50%"}}}},MuiAutocomplete:{styleOverrides:{root:{"& .MuiInputBase-root":{padding:"1px 10px"},"& .MuiAutocomplete-popupIndicator":{"&:hover":{background:"none"},cursor:"default",fontSize:"16px"}},endAdornment:{"&&&":{right:"12px",paddingTop:"2px"}},popper:{paddingTop:"4px"},listbox:{"& .MuiAutocomplete-option":{padding:"8px 16px"}}}},MuiChip:{styleOverrides:{root:{borderRadius:4},label:{fontSize:"12px",padding:"3px 4px"}}},MuiSelect:{styleOverrides:{select:{"&":{paddingLeft:"0.5rem",paddingRight:"2rem"}}}},MuiRating:{styleOverrides:{iconEmpty:{"& svg":{fill:"#FFC400"}}}},MuiToolbar:{styleOverrides:{dense:{minHeight:32}}},MuiAccordion:{styleOverrides:{root:{"&:before":{display:"none"}}}},MuiInputBase:{styleOverrides:{root:{"& fieldset.MuiOutlinedInput-notchedOutline":{borderColor:"#C2C2C2","& legend":{width:"auto"}},"&:hover .MuiOutlinedInput-notchedOutline":{borderColor:"#616161"},"&:active fieldset.MuiOutlinedInput-notchedOutline":{borderColor:"#0A0A0A",borderWidth:1},"&.Mui-focused fieldset.MuiOutlinedInput-notchedOutline":{borderColor:"#0A0A0A",borderWidth:1},"& input":{padding:"8px 12px"},"&.MuiInputBase-adornedStart input":{paddingLeft:0},"&.Mui-error fieldset.MuiOutlinedInput-notchedOutline":{borderColor:"#BF2600"},"&.Mui-error:hover fieldset.MuiOutlinedInput-notchedOutline":{borderColor:"#BF2600"},"&.Mui-error:active .MuiOutlinedInput-notchedOutline":{borderColor:"#BF2600",borderWidth:1},"&.Mui-error.Mui-focused .MuiOutlinedInput-notchedOutline":{borderColor:"#BF2600",borderWidth:1}},multiline:{"&&&":{padding:"8px 12px"}},input:{color:"#424242",textOverflow:"ellipsis","&::placeholder":{color:"#9E9E9E"}}}}}}},va=react_dom18;var{entries:wa,setPrototypeOf:ka,isFrozen:Sa,getPrototypeOf:Ea,getOwnPropertyDescriptor:Aa}=Object,{freeze:_a,seal:Ma,create:Ta}=Object,{apply:Oa,construct:Ca}="undefined"!=typeof Reflect&&Reflect;_a||(_a=function(e){return e}),Ma||(Ma=function(e){return e}),Oa||(Oa=function(e,t,r){return e.apply(t,r)}),Ca||(Ca=function(e,t){return new e(...t)});var Na=Wa(Array.prototype.forEach),Ra=Wa(Array.prototype.pop),Ia=Wa(Array.prototype.push),Fa=Wa(String.prototype.toLowerCase),Pa=Wa(String.prototype.toString),$a=Wa(String.prototype.match),La=Wa(String.prototype.replace),ja=Wa(String.prototype.indexOf),Da=Wa(String.prototype.trim),za=Wa(Object.prototype.hasOwnProperty),Ba=Wa(RegExp.prototype.test),Ha=function(e){return function(){for(var t=arguments.length,r=new Array(t),n=0;n<t;n++)r[n]=arguments[n];return Ca(e,r)}}(TypeError);function Wa(e){return function(t){for(var r=arguments.length,n=new Array(r>1?r-1:0),a=1;a<r;a++)n[a-1]=arguments[a];return Oa(e,t,n)}}function Ua(e,t){let r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:Fa;ka&&ka(e,null);let n=t.length;for(;n--;){let a=t[n];if("string"==typeof a){let e=r(a);e!==a&&(Sa(t)||(t[n]=e),a=e)}e[a]=!0}return e}function Ga(e){for(let t=0;t<e.length;t++)za(e,t)||(e[t]=null);return e}function Ya(e){let t=Ta(null);for(let[r,n]of wa(e))za(e,r)&&(Array.isArray(n)?t[r]=Ga(n):n&&"object"==typeof n&&n.constructor===Object?t[r]=Ya(n):t[r]=n);return t}function Ka(e,t){for(;null!==e;){let r=Aa(e,t);if(r){if(r.get)return Wa(r.get);if("function"==typeof r.value)return Wa(r.value)}e=Ea(e)}return function(){return null}}var qa=_a(["a","abbr","acronym","address","area","article","aside","audio","b","bdi","bdo","big","blink","blockquote","body","br","button","canvas","caption","center","cite","code","col","colgroup","content","data","datalist","dd","decorator","del","details","dfn","dialog","dir","div","dl","dt","element","em","fieldset","figcaption","figure","font","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","img","input","ins","kbd","label","legend","li","main","map","mark","marquee","menu","menuitem","meter","nav","nobr","ol","optgroup","option","output","p","picture","pre","progress","q","rp","rt","ruby","s","samp","section","select","shadow","small","source","spacer","span","strike","strong","style","sub","summary","sup","table","tbody","td","template","textarea","tfoot","th","thead","time","tr","track","tt","u","ul","var","video","wbr"]),Xa=_a(["svg","a","altglyph","altglyphdef","altglyphitem","animatecolor","animatemotion","animatetransform","circle","clippath","defs","desc","ellipse","filter","font","g","glyph","glyphref","hkern","image","line","lineargradient","marker","mask","metadata","mpath","path","pattern","polygon","polyline","radialgradient","rect","stop","style","switch","symbol","text","textpath","title","tref","tspan","view","vkern"]),Va=_a(["feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feDropShadow","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence"]),Ja=_a(["animate","color-profile","cursor","discard","font-face","font-face-format","font-face-name","font-face-src","font-face-uri","foreignobject","hatch","hatchpath","mesh","meshgradient","meshpatch","meshrow","missing-glyph","script","set","solidcolor","unknown","use"]),Za=_a(["math","menclose","merror","mfenced","mfrac","mglyph","mi","mlabeledtr","mmultiscripts","mn","mo","mover","mpadded","mphantom","mroot","mrow","ms","mspace","msqrt","mstyle","msub","msup","msubsup","mtable","mtd","mtext","mtr","munder","munderover","mprescripts"]),Qa=_a(["maction","maligngroup","malignmark","mlongdiv","mscarries","mscarry","msgroup","mstack","msline","msrow","semantics","annotation","annotation-xml","mprescripts","none"]),eo=_a(["#text"]),to=_a(["accept","action","align","alt","autocapitalize","autocomplete","autopictureinpicture","autoplay","background","bgcolor","border","capture","cellpadding","cellspacing","checked","cite","class","clear","color","cols","colspan","controls","controlslist","coords","crossorigin","datetime","decoding","default","dir","disabled","disablepictureinpicture","disableremoteplayback","download","draggable","enctype","enterkeyhint","face","for","headers","height","hidden","high","href","hreflang","id","inputmode","integrity","ismap","kind","label","lang","list","loading","loop","low","max","maxlength","media","method","min","minlength","multiple","muted","name","nonce","noshade","novalidate","nowrap","open","optimum","pattern","placeholder","playsinline","poster","preload","pubdate","radiogroup","readonly","rel","required","rev","reversed","role","rows","rowspan","spellcheck","scope","selected","shape","size","sizes","span","srclang","start","src","srcset","step","style","summary","tabindex","title","translate","type","usemap","valign","value","width","xmlns","slot"]),ro=_a(["accent-height","accumulate","additive","alignment-baseline","ascent","attributename","attributetype","azimuth","basefrequency","baseline-shift","begin","bias","by","class","clip","clippathunits","clip-path","clip-rule","color","color-interpolation","color-interpolation-filters","color-profile","color-rendering","cx","cy","d","dx","dy","diffuseconstant","direction","display","divisor","dur","edgemode","elevation","end","fill","fill-opacity","fill-rule","filter","filterunits","flood-color","flood-opacity","font-family","font-size","font-size-adjust","font-stretch","font-style","font-variant","font-weight","fx","fy","g1","g2","glyph-name","glyphref","gradientunits","gradienttransform","height","href","id","image-rendering","in","in2","k","k1","k2","k3","k4","kerning","keypoints","keysplines","keytimes","lang","lengthadjust","letter-spacing","kernelmatrix","kernelunitlength","lighting-color","local","marker-end","marker-mid","marker-start","markerheight","markerunits","markerwidth","maskcontentunits","maskunits","max","mask","media","method","mode","min","name","numoctaves","offset","operator","opacity","order","orient","orientation","origin","overflow","paint-order","path","pathlength","patterncontentunits","patterntransform","patternunits","points","preservealpha","preserveaspectratio","primitiveunits","r","rx","ry","radius","refx","refy","repeatcount","repeatdur","restart","result","rotate","scale","seed","shape-rendering","specularconstant","specularexponent","spreadmethod","startoffset","stddeviation","stitchtiles","stop-color","stop-opacity","stroke-dasharray","stroke-dashoffset","stroke-linecap","stroke-linejoin","stroke-miterlimit","stroke-opacity","stroke","stroke-width","style","surfacescale","systemlanguage","tabindex","targetx","targety","transform","transform-origin","text-anchor","text-decoration","text-rendering","textlength","type","u1","u2","unicode","values","viewbox","visibility","version","vert-adv-y","vert-origin-x","vert-origin-y","width","word-spacing","wrap","writing-mode","xchannelselector","ychannelselector","x","x1","x2","xmlns","y","y1","y2","z","zoomandpan"]),no=_a(["accent","accentunder","align","bevelled","close","columnsalign","columnlines","columnspan","denomalign","depth","dir","display","displaystyle","encoding","fence","frame","height","href","id","largeop","length","linethickness","lspace","lquote","mathbackground","mathcolor","mathsize","mathvariant","maxsize","minsize","movablelimits","notation","numalign","open","rowalign","rowlines","rowspacing","rowspan","rspace","rquote","scriptlevel","scriptminsize","scriptsizemultiplier","selection","separator","separators","stretchy","subscriptshift","supscriptshift","symmetric","voffset","width","xmlns"]),ao=_a(["xlink:href","xml:id","xlink:title","xml:space","xmlns:xlink"]),oo=Ma(/\{\{[\w\W]*|[\w\W]*\}\}/gm),io=Ma(/<%[\w\W]*|[\w\W]*%>/gm),so=Ma(/\${[\w\W]*}/gm),lo=Ma(/^data-[\-\w.\u00B7-\uFFFF]/),co=Ma(/^aria-[\-\w]+$/),uo=Ma(/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|sms|cid|xmpp):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i),po=Ma(/^(?:\w+script|data):/i),fo=Ma(/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g),mo=Ma(/^html$/i),ho=Ma(/^[a-z][a-z\d]*(-[a-z\d]+)+$/i),go=Object.freeze({__proto__:null,MUSTACHE_EXPR:oo,ERB_EXPR:io,TMPLIT_EXPR:so,DATA_ATTR:lo,ARIA_ATTR:co,IS_ALLOWED_URI:uo,IS_SCRIPT_OR_DATA:po,ATTR_WHITESPACE:fo,DOCTYPE_NAME:mo,CUSTOM_ELEMENT:ho});var bo=function e(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"undefined"==typeof window?null:window,r=t=>e(t);if(r.version="3.0.10",r.removed=[],!t||!t.document||9!==t.document.nodeType)return r.isSupported=!1,r;let{document:n}=t,a=n,o=a.currentScript,{DocumentFragment:i,HTMLTemplateElement:s,Node:l,Element:c,NodeFilter:u,NamedNodeMap:d=t.NamedNodeMap||t.MozNamedAttrMap,HTMLFormElement:p,DOMParser:f,trustedTypes:m}=t,h=c.prototype,g=Ka(h,"cloneNode"),b=Ka(h,"nextSibling"),y=Ka(h,"childNodes"),x=Ka(h,"parentNode");if("function"==typeof s){let e=n.createElement("template");e.content&&e.content.ownerDocument&&(n=e.content.ownerDocument)}let v,w="",{implementation:k,createNodeIterator:S,createDocumentFragment:E,getElementsByTagName:A}=n,{importNode:_}=a,M={};r.isSupported="function"==typeof wa&&"function"==typeof x&&k&&void 0!==k.createHTMLDocument;let{MUSTACHE_EXPR:T,ERB_EXPR:O,TMPLIT_EXPR:C,DATA_ATTR:N,ARIA_ATTR:R,IS_SCRIPT_OR_DATA:I,ATTR_WHITESPACE:F,CUSTOM_ELEMENT:P}=go,{IS_ALLOWED_URI:$}=go,L=null,j=Ua({},[...qa,...Xa,...Va,...Za,...eo]),D=null,z=Ua({},[...to,...ro,...no,...ao]),B=Object.seal(Ta(null,{tagNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},attributeNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},allowCustomizedBuiltInElements:{writable:!0,configurable:!1,enumerable:!0,value:!1}})),H=null,W=null,U=!0,G=!0,Y=!1,K=!0,q=!1,X=!1,V=!1,J=!1,Z=!1,Q=!1,ee=!1,te=!0,re=!1,ne=!0,ae=!1,oe={},ie=null,se=Ua({},["annotation-xml","audio","colgroup","desc","foreignobject","head","iframe","math","mi","mn","mo","ms","mtext","noembed","noframes","noscript","plaintext","script","style","svg","template","thead","title","video","xmp"]),le=null,ce=Ua({},["audio","video","img","source","image","track"]),ue=null,de=Ua({},["alt","class","for","id","label","name","pattern","placeholder","role","summary","title","value","style","xmlns"]),pe="http://www.w3.org/1998/Math/MathML",fe="http://www.w3.org/2000/svg",me="http://www.w3.org/1999/xhtml",he=me,ge=!1,be=null,ye=Ua({},[pe,fe,me],Pa),xe=null,ve=["application/xhtml+xml","text/html"],we=null,ke=null,Se=n.createElement("form"),Ee=function(e){return e instanceof RegExp||e instanceof Function},Ae=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};if(!ke||ke!==e){if((!e||"object"!=typeof e)&&(e={}),e=Ya(e),xe=-1===ve.indexOf(e.PARSER_MEDIA_TYPE)?"text/html":e.PARSER_MEDIA_TYPE,we="application/xhtml+xml"===xe?Pa:Fa,L=za(e,"ALLOWED_TAGS")?Ua({},e.ALLOWED_TAGS,we):j,D=za(e,"ALLOWED_ATTR")?Ua({},e.ALLOWED_ATTR,we):z,be=za(e,"ALLOWED_NAMESPACES")?Ua({},e.ALLOWED_NAMESPACES,Pa):ye,ue=za(e,"ADD_URI_SAFE_ATTR")?Ua(Ya(de),e.ADD_URI_SAFE_ATTR,we):de,le=za(e,"ADD_DATA_URI_TAGS")?Ua(Ya(ce),e.ADD_DATA_URI_TAGS,we):ce,ie=za(e,"FORBID_CONTENTS")?Ua({},e.FORBID_CONTENTS,we):se,H=za(e,"FORBID_TAGS")?Ua({},e.FORBID_TAGS,we):{},W=za(e,"FORBID_ATTR")?Ua({},e.FORBID_ATTR,we):{},oe=!!za(e,"USE_PROFILES")&&e.USE_PROFILES,U=!1!==e.ALLOW_ARIA_ATTR,G=!1!==e.ALLOW_DATA_ATTR,Y=e.ALLOW_UNKNOWN_PROTOCOLS||!1,K=!1!==e.ALLOW_SELF_CLOSE_IN_ATTR,q=e.SAFE_FOR_TEMPLATES||!1,X=e.WHOLE_DOCUMENT||!1,Z=e.RETURN_DOM||!1,Q=e.RETURN_DOM_FRAGMENT||!1,ee=e.RETURN_TRUSTED_TYPE||!1,J=e.FORCE_BODY||!1,te=!1!==e.SANITIZE_DOM,re=e.SANITIZE_NAMED_PROPS||!1,ne=!1!==e.KEEP_CONTENT,ae=e.IN_PLACE||!1,$=e.ALLOWED_URI_REGEXP||uo,he=e.NAMESPACE||me,B=e.CUSTOM_ELEMENT_HANDLING||{},e.CUSTOM_ELEMENT_HANDLING&&Ee(e.CUSTOM_ELEMENT_HANDLING.tagNameCheck)&&(B.tagNameCheck=e.CUSTOM_ELEMENT_HANDLING.tagNameCheck),e.CUSTOM_ELEMENT_HANDLING&&Ee(e.CUSTOM_ELEMENT_HANDLING.attributeNameCheck)&&(B.attributeNameCheck=e.CUSTOM_ELEMENT_HANDLING.attributeNameCheck),e.CUSTOM_ELEMENT_HANDLING&&"boolean"==typeof e.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements&&(B.allowCustomizedBuiltInElements=e.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements),q&&(G=!1),Q&&(Z=!0),oe&&(L=Ua({},eo),D=[],!0===oe.html&&(Ua(L,qa),Ua(D,to)),!0===oe.svg&&(Ua(L,Xa),Ua(D,ro),Ua(D,ao)),!0===oe.svgFilters&&(Ua(L,Va),Ua(D,ro),Ua(D,ao)),!0===oe.mathMl&&(Ua(L,Za),Ua(D,no),Ua(D,ao))),e.ADD_TAGS&&(L===j&&(L=Ya(L)),Ua(L,e.ADD_TAGS,we)),e.ADD_ATTR&&(D===z&&(D=Ya(D)),Ua(D,e.ADD_ATTR,we)),e.ADD_URI_SAFE_ATTR&&Ua(ue,e.ADD_URI_SAFE_ATTR,we),e.FORBID_CONTENTS&&(ie===se&&(ie=Ya(ie)),Ua(ie,e.FORBID_CONTENTS,we)),ne&&(L["#text"]=!0),X&&Ua(L,["html","head","body"]),L.table&&(Ua(L,["tbody"]),delete H.tbody),e.TRUSTED_TYPES_POLICY){if("function"!=typeof e.TRUSTED_TYPES_POLICY.createHTML)throw Ha('TRUSTED_TYPES_POLICY configuration option must provide a "createHTML" hook.');if("function"!=typeof e.TRUSTED_TYPES_POLICY.createScriptURL)throw Ha('TRUSTED_TYPES_POLICY configuration option must provide a "createScriptURL" hook.');v=e.TRUSTED_TYPES_POLICY,w=v.createHTML("")}else void 0===v&&(v=function(e,t){if("object"!=typeof e||"function"!=typeof e.createPolicy)return null;let r=null,n="data-tt-policy-suffix";t&&t.hasAttribute(n)&&(r=t.getAttribute(n));let a="dompurify"+(r?"#"+r:"");try{return e.createPolicy(a,{createHTML:e=>e,createScriptURL:e=>e})}catch(s){return console.warn("TrustedTypes policy "+a+" could not be created."),null}}(m,o)),null!==v&&"string"==typeof w&&(w=v.createHTML(""));_a&&_a(e),ke=e}},_e=Ua({},["mi","mo","mn","ms","mtext"]),Me=Ua({},["foreignobject","desc","title","annotation-xml"]),Te=Ua({},["title","style","font","a","script"]),Oe=Ua({},[...Xa,...Va,...Ja]),Ce=Ua({},[...Za,...Qa]),Ne=function(e){Ia(r.removed,{element:e});try{e.parentNode.removeChild(e)}catch(t){e.remove()}},Re=function(e,t){try{Ia(r.removed,{attribute:t.getAttributeNode(e),from:t})}catch(n){Ia(r.removed,{attribute:null,from:t})}if(t.removeAttribute(e),"is"===e&&!D[e])if(Z||Q)try{Ne(t)}catch(n){}else try{t.setAttribute(e,"")}catch(n){}},Ie=function(e){let t=null,r=null;if(J)e="<remove></remove>"+e;else{let t=$a(e,/^[\r\n\t ]+/);r=t&&t[0]}"application/xhtml+xml"===xe&&he===me&&(e='<html xmlns="http://www.w3.org/1999/xhtml"><head></head><body>'+e+"</body></html>");let a=v?v.createHTML(e):e;if(he===me)try{t=(new f).parseFromString(a,xe)}catch(i){}if(!t||!t.documentElement){t=k.createDocument(he,"template",null);try{t.documentElement.innerHTML=ge?w:a}catch(i){}}let o=t.body||t.documentElement;return e&&r&&o.insertBefore(n.createTextNode(r),o.childNodes[0]||null),he===me?A.call(t,X?"html":"body")[0]:X?t.documentElement:o},Fe=function(e){return S.call(e.ownerDocument||e,e,u.SHOW_ELEMENT|u.SHOW_COMMENT|u.SHOW_TEXT|u.SHOW_PROCESSING_INSTRUCTION,null)},Pe=function(e){return"function"==typeof l&&e instanceof l},$e=function(e,t,n){M[e]&&Na(M[e],(e=>{e.call(r,t,n,ke)}))},Le=function(e){let t=null;if($e("beforeSanitizeElements",e,null),function(e){return e instanceof p&&("string"!=typeof e.nodeName||"string"!=typeof e.textContent||"function"!=typeof e.removeChild||!(e.attributes instanceof d)||"function"!=typeof e.removeAttribute||"function"!=typeof e.setAttribute||"string"!=typeof e.namespaceURI||"function"!=typeof e.insertBefore||"function"!=typeof e.hasChildNodes)}(e))return Ne(e),!0;let n=we(e.nodeName);if($e("uponSanitizeElement",e,{tagName:n,allowedTags:L}),e.hasChildNodes()&&!Pe(e.firstElementChild)&&Ba(/<[/\w]/g,e.innerHTML)&&Ba(/<[/\w]/g,e.textContent))return Ne(e),!0;if(!L[n]||H[n]){if(!H[n]&&De(n)&&(B.tagNameCheck instanceof RegExp&&Ba(B.tagNameCheck,n)||B.tagNameCheck instanceof Function&&B.tagNameCheck(n)))return!1;if(ne&&!ie[n]){let t=x(e)||e.parentNode,r=y(e)||e.childNodes;if(r&&t){for(let n=r.length-1;n>=0;--n)t.insertBefore(g(r[n],!0),b(e))}}return Ne(e),!0}return e instanceof c&&!function(e){let t=x(e);(!t||!t.tagName)&&(t={namespaceURI:he,tagName:"template"});let r=Fa(e.tagName),n=Fa(t.tagName);return!!be[e.namespaceURI]&&(e.namespaceURI===fe?t.namespaceURI===me?"svg"===r:t.namespaceURI===pe?"svg"===r&&("annotation-xml"===n||_e[n]):!!Oe[r]:e.namespaceURI===pe?t.namespaceURI===me?"math"===r:t.namespaceURI===fe?"math"===r&&Me[n]:!!Ce[r]:e.namespaceURI===me?!(t.namespaceURI===fe&&!Me[n]||t.namespaceURI===pe&&!_e[n])&&!Ce[r]&&(Te[r]||!Oe[r]):!("application/xhtml+xml"!==xe||!be[e.namespaceURI]))}(e)||("noscript"===n||"noembed"===n||"noframes"===n)&&Ba(/<\/no(script|embed|frames)/i,e.innerHTML)?(Ne(e),!0):(q&&3===e.nodeType&&(t=e.textContent,Na([T,O,C],(e=>{t=La(t,e," ")})),e.textContent!==t&&(Ia(r.removed,{element:e.cloneNode()}),e.textContent=t)),$e("afterSanitizeElements",e,null),!1)},je=function(e,t,r){if(te&&("id"===t||"name"===t)&&(r in n||r in Se))return!1;if((!G||W[t]||!Ba(N,t))&&(!U||!Ba(R,t)))if(!D[t]||W[t]){if(!(De(e)&&(B.tagNameCheck instanceof RegExp&&Ba(B.tagNameCheck,e)||B.tagNameCheck instanceof Function&&B.tagNameCheck(e))&&(B.attributeNameCheck instanceof RegExp&&Ba(B.attributeNameCheck,t)||B.attributeNameCheck instanceof Function&&B.attributeNameCheck(t))||"is"===t&&B.allowCustomizedBuiltInElements&&(B.tagNameCheck instanceof RegExp&&Ba(B.tagNameCheck,r)||B.tagNameCheck instanceof Function&&B.tagNameCheck(r))))return!1}else if(!ue[t]&&!Ba($,La(r,F,""))&&("src"!==t&&"xlink:href"!==t&&"href"!==t||"script"===e||0!==ja(r,"data:")||!le[e])&&(!Y||Ba(I,La(r,F,"")))&&r)return!1;return!0},De=function(e){return"annotation-xml"!==e&&$a(e,P)},ze=function(e){$e("beforeSanitizeAttributes",e,null);let{attributes:t}=e;if(!t)return;let n={attrName:"",attrValue:"",keepAttr:!0,allowedAttributes:D},a=t.length;for(;a--;){let i=t[a],{name:s,namespaceURI:l,value:c}=i,u=we(s),d="value"===s?c:Da(c);if(n.attrName=u,n.attrValue=d,n.keepAttr=!0,n.forceKeepAttr=void 0,$e("uponSanitizeAttribute",e,n),d=n.attrValue,n.forceKeepAttr||(Re(s,e),!n.keepAttr))continue;if(!K&&Ba(/\/>/i,d)){Re(s,e);continue}q&&Na([T,O,C],(e=>{d=La(d,e," ")}));let p=we(e.nodeName);if(je(p,u,d)){if(re&&("id"===u||"name"===u)&&(Re(s,e),d="user-content-"+d),v&&"object"==typeof m&&"function"==typeof m.getAttributeType&&!l)switch(m.getAttributeType(p,u)){case"TrustedHTML":d=v.createHTML(d);break;case"TrustedScriptURL":d=v.createScriptURL(d)}try{l?e.setAttributeNS(l,s,d):e.setAttribute(s,d),Ra(r.removed)}catch(o){}}}$e("afterSanitizeAttributes",e,null)},Be=function e(t){let r=null,n=Fe(t);for($e("beforeSanitizeShadowDOM",t,null);r=n.nextNode();)$e("uponSanitizeShadowNode",r,null),!Le(r)&&(r.content instanceof i&&e(r.content),ze(r));$e("afterSanitizeShadowDOM",t,null)};return r.sanitize=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=null,o=null,s=null,c=null;if(ge=!e,ge&&(e="\x3c!--\x3e"),"string"!=typeof e&&!Pe(e)){if("function"!=typeof e.toString)throw Ha("toString is not a function");if("string"!=typeof(e=e.toString()))throw Ha("dirty is not a string, aborting")}if(!r.isSupported)return e;if(V||Ae(t),r.removed=[],"string"==typeof e&&(ae=!1),ae){if(e.nodeName){let t=we(e.nodeName);if(!L[t]||H[t])throw Ha("root node is forbidden and cannot be sanitized in-place")}}else if(e instanceof l)n=Ie("\x3c!----\x3e"),o=n.ownerDocument.importNode(e,!0),1===o.nodeType&&"BODY"===o.nodeName||"HTML"===o.nodeName?n=o:n.appendChild(o);else{if(!Z&&!q&&!X&&-1===e.indexOf("<"))return v&&ee?v.createHTML(e):e;if(n=Ie(e),!n)return Z?null:ee?w:""}n&&J&&Ne(n.firstChild);let u=Fe(ae?e:n);for(;s=u.nextNode();)Le(s)||(s.content instanceof i&&Be(s.content),ze(s));if(ae)return e;if(Z){if(Q)for(c=E.call(n.ownerDocument);n.firstChild;)c.appendChild(n.firstChild);else c=n;return(D.shadowroot||D.shadowrootmode)&&(c=_.call(a,c,!0)),c}let d=X?n.outerHTML:n.innerHTML;return X&&L["!doctype"]&&n.ownerDocument&&n.ownerDocument.doctype&&n.ownerDocument.doctype.name&&Ba(mo,n.ownerDocument.doctype.name)&&(d="<!DOCTYPE "+n.ownerDocument.doctype.name+">\n"+d),q&&Na([T,O,C],(e=>{d=La(d,e," ")})),v&&ee?v.createHTML(d):d},r.setConfig=function(){Ae(arguments.length>0&&void 0!==arguments[0]?arguments[0]:{}),V=!0},r.clearConfig=function(){ke=null,V=!1},r.isValidAttribute=function(e,t,r){ke||Ae({});let n=we(e),a=we(t);return je(n,a,r)},r.addHook=function(e,t){"function"==typeof t&&(M[e]=M[e]||[],Ia(M[e],t))},r.removeHook=function(e){if(M[e])return Ra(M[e])},r.removeHooks=function(e){M[e]&&(M[e]=[])},r.removeAllHooks=function(){M={}},r}(),yo=Array(12).fill(0),xo=({visible:e})=>t.createElement("div",{className:"sonner-loading-wrapper","data-visible":e},t.createElement("div",{className:"sonner-spinner"},yo.map(((e,r)=>t.createElement("div",{className:"sonner-loading-bar",key:`spinner-bar-${r}`}))))),vo=t.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor",height:"20",width:"20"},t.createElement("path",{fillRule:"evenodd",d:"M10 18a8 8 0 100-16 8 8 0 000 16zm3.857-9.809a.75.75 0 00-1.214-.882l-3.483 4.79-1.88-1.88a.75.75 0 10-1.06 1.061l2.5 2.5a.75.75 0 001.137-.089l4-5.5z",clipRule:"evenodd"})),wo=t.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor",height:"20",width:"20"},t.createElement("path",{fillRule:"evenodd",d:"M9.401 3.003c1.155-2 4.043-2 5.197 0l7.355 12.748c1.154 2-.29 4.5-2.599 4.5H4.645c-2.309 0-3.752-2.5-2.598-4.5L9.4 3.003zM12 8.25a.75.75 0 01.75.75v3.75a.75.75 0 01-1.5 0V9a.75.75 0 01.75-.75zm0 8.25a.75.75 0 100-1.5.75.75 0 000 1.5z",clipRule:"evenodd"})),ko=t.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor",height:"20",width:"20"},t.createElement("path",{fillRule:"evenodd",d:"M18 10a8 8 0 11-16 0 8 8 0 0116 0zm-7-4a1 1 0 11-2 0 1 1 0 012 0zM9 9a.75.75 0 000 1.5h.253a.25.25 0 01.244.304l-.459 2.066A1.75 1.75 0 0010.747 15H11a.75.75 0 000-1.5h-.253a.25.25 0 01-.244-.304l.459-2.066A1.75 1.75 0 009.253 9H9z",clipRule:"evenodd"})),So=t.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor",height:"20",width:"20"},t.createElement("path",{fillRule:"evenodd",d:"M18 10a8 8 0 11-16 0 8 8 0 0116 0zm-8-5a.75.75 0 01.75.75v4.5a.75.75 0 01-1.5 0v-4.5A.75.75 0 0110 5zm0 10a1 1 0 100-2 1 1 0 000 2z",clipRule:"evenodd"})),Eo=1,Ao=new class{constructor(){this.subscribe=e=>(this.subscribers.push(e),()=>{let t=this.subscribers.indexOf(e);this.subscribers.splice(t,1)}),this.publish=e=>{this.subscribers.forEach((t=>t(e)))},this.addToast=e=>{this.publish(e),this.toasts=[...this.toasts,e]},this.create=e=>{var t;let{message:r,...n}=e,a="number"==typeof(null==e?void 0:e.id)||(null==(t=e.id)?void 0:t.length)>0?e.id:Eo++,o=this.toasts.find((e=>e.id===a)),i=void 0===e.dismissible||e.dismissible;return o?this.toasts=this.toasts.map((t=>t.id===a?(this.publish({...t,...e,id:a,title:r}),{...t,...e,id:a,dismissible:i,title:r}):t)):this.addToast({title:r,...n,dismissible:i,id:a}),a},this.dismiss=e=>(e||this.toasts.forEach((e=>{this.subscribers.forEach((t=>t({id:e.id,dismiss:!0})))})),this.subscribers.forEach((t=>t({id:e,dismiss:!0}))),e),this.message=(e,t)=>this.create({...t,message:e}),this.error=(e,t)=>this.create({...t,message:e,type:"error"}),this.success=(e,t)=>this.create({...t,type:"success",message:e}),this.info=(e,t)=>this.create({...t,type:"info",message:e}),this.warning=(e,t)=>this.create({...t,type:"warning",message:e}),this.loading=(e,t)=>this.create({...t,type:"loading",message:e}),this.promise=(e,t)=>{if(!t)return;let r;void 0!==t.loading&&(r=this.create({...t,promise:e,type:"loading",message:t.loading,description:"function"!=typeof t.description?t.description:void 0}));let n=e instanceof Promise?e:e(),a=void 0!==r;return n.then((e=>{if(e&&"boolean"==typeof e.ok&&!e.ok){a=!1;let n="function"==typeof t.error?t.error(`HTTP error! status: ${e.status}`):t.error,o="function"==typeof t.description?t.description(`HTTP error! status: ${e.status}`):t.description;this.create({id:r,type:"error",message:n,description:o})}else if(void 0!==t.success){a=!1;let n="function"==typeof t.success?t.success(e):t.success,o="function"==typeof t.description?t.description(e):t.description;this.create({id:r,type:"success",message:n,description:o})}})).catch((e=>{if(void 0!==t.error){a=!1;let n="function"==typeof t.error?t.error(e):t.error,o="function"==typeof t.description?t.description(e):t.description;this.create({id:r,type:"error",message:n,description:o})}})).finally((()=>{var e;a&&(this.dismiss(r),r=void 0),null==(e=t.finally)||e.call(t)})),r},this.custom=(e,t)=>{let r=(null==t?void 0:t.id)||Eo++;return this.create({jsx:e(r),id:r,...t}),r},this.subscribers=[],this.toasts=[]}},_o=(e,t)=>{let r=(null==t?void 0:t.id)||Eo++;return Ao.addToast({title:e,...t,id:r}),r};Object.assign(_o,{success:Ao.success,info:Ao.info,warning:Ao.warning,error:Ao.error,custom:Ao.custom,message:Ao.message,promise:Ao.promise,dismiss:Ao.dismiss,loading:Ao.loading});!function(e,{insertAt:t}={}){if(!e||"undefined"==typeof document)return;let r=document.head||document.getElementsByTagName("head")[0],n=document.createElement("style");n.type="text/css","top"===t&&r.firstChild?r.insertBefore(n,r.firstChild):r.appendChild(n),n.styleSheet?n.styleSheet.cssText=e:n.appendChild(document.createTextNode(e))}(':where(html[dir="ltr"]),:where([data-sonner-toaster][dir="ltr"]){--toast-icon-margin-start: -3px;--toast-icon-margin-end: 4px;--toast-svg-margin-start: -1px;--toast-svg-margin-end: 0px;--toast-button-margin-start: auto;--toast-button-margin-end: 0;--toast-close-button-start: 0;--toast-close-button-end: unset;--toast-close-button-transform: translate(-35%, -35%)}:where(html[dir="rtl"]),:where([data-sonner-toaster][dir="rtl"]){--toast-icon-margin-start: 4px;--toast-icon-margin-end: -3px;--toast-svg-margin-start: 0px;--toast-svg-margin-end: -1px;--toast-button-margin-start: 0;--toast-button-margin-end: auto;--toast-close-button-start: unset;--toast-close-button-end: 0;--toast-close-button-transform: translate(35%, -35%)}:where([data-sonner-toaster]){position:fixed;width:var(--width);font-family:ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,Noto Sans,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol,Noto Color Emoji;--gray1: hsl(0, 0%, 99%);--gray2: hsl(0, 0%, 97.3%);--gray3: hsl(0, 0%, 95.1%);--gray4: hsl(0, 0%, 93%);--gray5: hsl(0, 0%, 90.9%);--gray6: hsl(0, 0%, 88.7%);--gray7: hsl(0, 0%, 85.8%);--gray8: hsl(0, 0%, 78%);--gray9: hsl(0, 0%, 56.1%);--gray10: hsl(0, 0%, 52.3%);--gray11: hsl(0, 0%, 43.5%);--gray12: hsl(0, 0%, 9%);--border-radius: 8px;box-sizing:border-box;padding:0;margin:0;list-style:none;outline:none;z-index:999999999}:where([data-sonner-toaster][data-x-position="right"]){right:max(var(--offset),env(safe-area-inset-right))}:where([data-sonner-toaster][data-x-position="left"]){left:max(var(--offset),env(safe-area-inset-left))}:where([data-sonner-toaster][data-x-position="center"]){left:50%;transform:translate(-50%)}:where([data-sonner-toaster][data-y-position="top"]){top:max(var(--offset),env(safe-area-inset-top))}:where([data-sonner-toaster][data-y-position="bottom"]){bottom:max(var(--offset),env(safe-area-inset-bottom))}:where([data-sonner-toast]){--y: translateY(100%);--lift-amount: calc(var(--lift) * var(--gap));z-index:var(--z-index);position:absolute;opacity:0;transform:var(--y);filter:blur(0);touch-action:none;transition:transform .4s,opacity .4s,height .4s,box-shadow .2s;box-sizing:border-box;outline:none;overflow-wrap:anywhere}:where([data-sonner-toast][data-styled="true"]){padding:16px;background:var(--normal-bg);border:1px solid var(--normal-border);color:var(--normal-text);border-radius:var(--border-radius);box-shadow:0 4px 12px #0000001a;width:var(--width);font-size:13px;display:flex;align-items:center;gap:6px}:where([data-sonner-toast]:focus-visible){box-shadow:0 4px 12px #0000001a,0 0 0 2px #0003}:where([data-sonner-toast][data-y-position="top"]){top:0;--y: translateY(-100%);--lift: 1;--lift-amount: calc(1 * var(--gap))}:where([data-sonner-toast][data-y-position="bottom"]){bottom:0;--y: translateY(100%);--lift: -1;--lift-amount: calc(var(--lift) * var(--gap))}:where([data-sonner-toast]) :where([data-description]){font-weight:400;line-height:1.4;color:inherit}:where([data-sonner-toast]) :where([data-title]){font-weight:500;line-height:1.5;color:inherit}:where([data-sonner-toast]) :where([data-icon]){display:flex;height:16px;width:16px;position:relative;justify-content:flex-start;align-items:center;flex-shrink:0;margin-left:var(--toast-icon-margin-start);margin-right:var(--toast-icon-margin-end)}:where([data-sonner-toast][data-promise="true"]) :where([data-icon])>svg{opacity:0;transform:scale(.8);transform-origin:center;animation:sonner-fade-in .3s ease forwards}:where([data-sonner-toast]) :where([data-icon])>*{flex-shrink:0}:where([data-sonner-toast]) :where([data-icon]) svg{margin-left:var(--toast-svg-margin-start);margin-right:var(--toast-svg-margin-end)}:where([data-sonner-toast]) :where([data-content]){display:flex;flex-direction:column;gap:2px}[data-sonner-toast][data-styled=true] [data-button]{border-radius:4px;padding-left:8px;padding-right:8px;height:24px;font-size:12px;color:var(--normal-bg);background:var(--normal-text);margin-left:var(--toast-button-margin-start);margin-right:var(--toast-button-margin-end);border:none;cursor:pointer;outline:none;display:flex;align-items:center;flex-shrink:0;transition:opacity .4s,box-shadow .2s}:where([data-sonner-toast]) :where([data-button]):focus-visible{box-shadow:0 0 0 2px #0006}:where([data-sonner-toast]) :where([data-button]):first-of-type{margin-left:var(--toast-button-margin-start);margin-right:var(--toast-button-margin-end)}:where([data-sonner-toast]) :where([data-cancel]){color:var(--normal-text);background:rgba(0,0,0,.08)}:where([data-sonner-toast][data-theme="dark"]) :where([data-cancel]){background:rgba(255,255,255,.3)}:where([data-sonner-toast]) :where([data-close-button]){position:absolute;left:var(--toast-close-button-start);right:var(--toast-close-button-end);top:0;height:20px;width:20px;display:flex;justify-content:center;align-items:center;padding:0;background:var(--gray1);color:var(--gray12);border:1px solid var(--gray4);transform:var(--toast-close-button-transform);border-radius:50%;cursor:pointer;z-index:1;transition:opacity .1s,background .2s,border-color .2s}:where([data-sonner-toast]) :where([data-close-button]):focus-visible{box-shadow:0 4px 12px #0000001a,0 0 0 2px #0003}:where([data-sonner-toast]) :where([data-disabled="true"]){cursor:not-allowed}:where([data-sonner-toast]):hover :where([data-close-button]):hover{background:var(--gray2);border-color:var(--gray5)}:where([data-sonner-toast][data-swiping="true"]):before{content:"";position:absolute;left:0;right:0;height:100%;z-index:-1}:where([data-sonner-toast][data-y-position="top"][data-swiping="true"]):before{bottom:50%;transform:scaleY(3) translateY(50%)}:where([data-sonner-toast][data-y-position="bottom"][data-swiping="true"]):before{top:50%;transform:scaleY(3) translateY(-50%)}:where([data-sonner-toast][data-swiping="false"][data-removed="true"]):before{content:"";position:absolute;inset:0;transform:scaleY(2)}:where([data-sonner-toast]):after{content:"";position:absolute;left:0;height:calc(var(--gap) + 1px);bottom:100%;width:100%}:where([data-sonner-toast][data-mounted="true"]){--y: translateY(0);opacity:1}:where([data-sonner-toast][data-expanded="false"][data-front="false"]){--scale: var(--toasts-before) * .05 + 1;--y: translateY(calc(var(--lift-amount) * var(--toasts-before))) scale(calc(-1 * var(--scale)));height:var(--front-toast-height)}:where([data-sonner-toast])>*{transition:opacity .4s}:where([data-sonner-toast][data-expanded="false"][data-front="false"][data-styled="true"])>*{opacity:0}:where([data-sonner-toast][data-visible="false"]){opacity:0;pointer-events:none}:where([data-sonner-toast][data-mounted="true"][data-expanded="true"]){--y: translateY(calc(var(--lift) * var(--offset)));height:var(--initial-height)}:where([data-sonner-toast][data-removed="true"][data-front="true"][data-swipe-out="false"]){--y: translateY(calc(var(--lift) * -100%));opacity:0}:where([data-sonner-toast][data-removed="true"][data-front="false"][data-swipe-out="false"][data-expanded="true"]){--y: translateY(calc(var(--lift) * var(--offset) + var(--lift) * -100%));opacity:0}:where([data-sonner-toast][data-removed="true"][data-front="false"][data-swipe-out="false"][data-expanded="false"]){--y: translateY(40%);opacity:0;transition:transform .5s,opacity .2s}:where([data-sonner-toast][data-removed="true"][data-front="false"]):before{height:calc(var(--initial-height) + 20%)}[data-sonner-toast][data-swiping=true]{transform:var(--y) translateY(var(--swipe-amount, 0px));transition:none}[data-sonner-toast][data-swipe-out=true][data-y-position=bottom],[data-sonner-toast][data-swipe-out=true][data-y-position=top]{animation:swipe-out .2s ease-out forwards}@keyframes swipe-out{0%{transform:translateY(calc(var(--lift) * var(--offset) + var(--swipe-amount)));opacity:1}to{transform:translateY(calc(var(--lift) * var(--offset) + var(--swipe-amount) + var(--lift) * -100%));opacity:0}}@media (max-width: 600px){[data-sonner-toaster]{position:fixed;--mobile-offset: 16px;right:var(--mobile-offset);left:var(--mobile-offset);width:100%}[data-sonner-toaster] [data-sonner-toast]{left:0;right:0;width:calc(100% - var(--mobile-offset) * 2)}[data-sonner-toaster][data-x-position=left]{left:var(--mobile-offset)}[data-sonner-toaster][data-y-position=bottom]{bottom:20px}[data-sonner-toaster][data-y-position=top]{top:20px}[data-sonner-toaster][data-x-position=center]{left:var(--mobile-offset);right:var(--mobile-offset);transform:none}}[data-sonner-toaster][data-theme=light]{--normal-bg: #fff;--normal-border: var(--gray4);--normal-text: var(--gray12);--success-bg: hsl(143, 85%, 96%);--success-border: hsl(145, 92%, 91%);--success-text: hsl(140, 100%, 27%);--info-bg: hsl(208, 100%, 97%);--info-border: hsl(221, 91%, 91%);--info-text: hsl(210, 92%, 45%);--warning-bg: hsl(49, 100%, 97%);--warning-border: hsl(49, 91%, 91%);--warning-text: hsl(31, 92%, 45%);--error-bg: hsl(359, 100%, 97%);--error-border: hsl(359, 100%, 94%);--error-text: hsl(360, 100%, 45%)}[data-sonner-toaster][data-theme=light] [data-sonner-toast][data-invert=true]{--normal-bg: #000;--normal-border: hsl(0, 0%, 20%);--normal-text: var(--gray1)}[data-sonner-toaster][data-theme=dark] [data-sonner-toast][data-invert=true]{--normal-bg: #fff;--normal-border: var(--gray3);--normal-text: var(--gray12)}[data-sonner-toaster][data-theme=dark]{--normal-bg: #000;--normal-border: hsl(0, 0%, 20%);--normal-text: var(--gray1);--success-bg: hsl(150, 100%, 6%);--success-border: hsl(147, 100%, 12%);--success-text: hsl(150, 86%, 65%);--info-bg: hsl(215, 100%, 6%);--info-border: hsl(223, 100%, 12%);--info-text: hsl(216, 87%, 65%);--warning-bg: hsl(64, 100%, 6%);--warning-border: hsl(60, 100%, 12%);--warning-text: hsl(46, 87%, 65%);--error-bg: hsl(358, 76%, 10%);--error-border: hsl(357, 89%, 16%);--error-text: hsl(358, 100%, 81%)}[data-rich-colors=true] [data-sonner-toast][data-type=success],[data-rich-colors=true] [data-sonner-toast][data-type=success] [data-close-button]{background:var(--success-bg);border-color:var(--success-border);color:var(--success-text)}[data-rich-colors=true] [data-sonner-toast][data-type=info],[data-rich-colors=true] [data-sonner-toast][data-type=info] [data-close-button]{background:var(--info-bg);border-color:var(--info-border);color:var(--info-text)}[data-rich-colors=true] [data-sonner-toast][data-type=warning],[data-rich-colors=true] [data-sonner-toast][data-type=warning] [data-close-button]{background:var(--warning-bg);border-color:var(--warning-border);color:var(--warning-text)}[data-rich-colors=true] [data-sonner-toast][data-type=error],[data-rich-colors=true] [data-sonner-toast][data-type=error] [data-close-button]{background:var(--error-bg);border-color:var(--error-border);color:var(--error-text)}.sonner-loading-wrapper{--size: 16px;height:var(--size);width:var(--size);position:absolute;inset:0;z-index:10}.sonner-loading-wrapper[data-visible=false]{transform-origin:center;animation:sonner-fade-out .2s ease forwards}.sonner-spinner{position:relative;top:50%;left:50%;height:var(--size);width:var(--size)}.sonner-loading-bar{animation:sonner-spin 1.2s linear infinite;background:var(--gray11);border-radius:6px;height:8%;left:-10%;position:absolute;top:-3.9%;width:24%}.sonner-loading-bar:nth-child(1){animation-delay:-1.2s;transform:rotate(.0001deg) translate(146%)}.sonner-loading-bar:nth-child(2){animation-delay:-1.1s;transform:rotate(30deg) translate(146%)}.sonner-loading-bar:nth-child(3){animation-delay:-1s;transform:rotate(60deg) translate(146%)}.sonner-loading-bar:nth-child(4){animation-delay:-.9s;transform:rotate(90deg) translate(146%)}.sonner-loading-bar:nth-child(5){animation-delay:-.8s;transform:rotate(120deg) translate(146%)}.sonner-loading-bar:nth-child(6){animation-delay:-.7s;transform:rotate(150deg) translate(146%)}.sonner-loading-bar:nth-child(7){animation-delay:-.6s;transform:rotate(180deg) translate(146%)}.sonner-loading-bar:nth-child(8){animation-delay:-.5s;transform:rotate(210deg) translate(146%)}.sonner-loading-bar:nth-child(9){animation-delay:-.4s;transform:rotate(240deg) translate(146%)}.sonner-loading-bar:nth-child(10){animation-delay:-.3s;transform:rotate(270deg) translate(146%)}.sonner-loading-bar:nth-child(11){animation-delay:-.2s;transform:rotate(300deg) translate(146%)}.sonner-loading-bar:nth-child(12){animation-delay:-.1s;transform:rotate(330deg) translate(146%)}@keyframes sonner-fade-in{0%{opacity:0;transform:scale(.8)}to{opacity:1;transform:scale(1)}}@keyframes sonner-fade-out{0%{opacity:1;transform:scale(1)}to{opacity:0;transform:scale(.8)}}@keyframes sonner-spin{0%{opacity:1}to{opacity:.15}}@media (prefers-reduced-motion){[data-sonner-toast],[data-sonner-toast]>*,.sonner-loading-bar{transition:none!important;animation:none!important}}.sonner-loader{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);transform-origin:center;transition:opacity .2s,transform .2s}.sonner-loader[data-visible=false]{opacity:0;transform:scale(.8) translate(-50%,-50%)}\n');var Mo=3,To=14;function Oo(...e){return e.filter(Boolean).join(" ")}var Co=e=>{var r,n,a,o,i,s,l;let{invert:c,toast:u,unstyled:d,interacting:p,setHeights:f,visibleToasts:m,heights:h,index:g,toasts:b,expanded:y,removeToast:x,closeButton:v,style:w,cancelButtonStyle:k,actionButtonStyle:S,className:E="",descriptionClassName:A="",duration:_,position:M,gap:T=To,loadingIcon:O,expandByDefault:C,classNames:N,icons:R,closeButtonAriaLabel:I="Close toast",pauseWhenPageIsHidden:F,cn:P}=e,[$,L]=t.useState(!1),[j,D]=t.useState(!1),[z,B]=t.useState(!1),[H,W]=t.useState(!1),[U,G]=t.useState(0),[Y,K]=t.useState(0),q=t.useRef(null),X=t.useRef(null),V=0===g,J=g+1<=m,Z=u.type,Q=!1!==u.dismissible,ee=u.className||"",te=u.descriptionClassName||"",re=t.useMemo((()=>h.findIndex((e=>e.toastId===u.id))||0),[h,u.id]),ne=t.useMemo((()=>{var e;return null!=(e=u.closeButton)?e:v}),[u.closeButton,v]),ae=t.useMemo((()=>u.duration||_||4e3),[u.duration,_]),oe=t.useRef(0),ie=t.useRef(0),se=t.useRef(0),le=t.useRef(null),[ce,ue]=M.split("-"),de=t.useMemo((()=>h.reduce(((e,t,r)=>r>=re?e:e+t.height),0)),[h,re]),pe=(()=>{let[e,r]=t.useState(!1);return t.useEffect((()=>{let e=()=>{r(document.hidden)};return document.addEventListener("visibilitychange",e),()=>window.removeEventListener("visibilitychange",e)}),[]),e})(),fe=u.invert||c,me="loading"===Z;ie.current=t.useMemo((()=>re*T+de),[re,de]),t.useEffect((()=>{L(!0)}),[]),t.useLayoutEffect((()=>{if(!$)return;let e=X.current,t=e.style.height;e.style.height="auto";let r=e.getBoundingClientRect().height;e.style.height=t,K(r),f((e=>e.find((e=>e.toastId===u.id))?e.map((e=>e.toastId===u.id?{...e,height:r}:e)):[{toastId:u.id,height:r,position:u.position},...e]))}),[$,u.title,u.description,f,u.id]);let he=t.useCallback((()=>{D(!0),G(ie.current),f((e=>e.filter((e=>e.toastId!==u.id)))),setTimeout((()=>{x(u)}),200)}),[u,x,f,ie]);function ge(e){return{__html:bo.sanitize(e)}}return t.useEffect((()=>{if(u.promise&&"loading"===Z||u.duration===1/0||"loading"===u.type)return;let e,t=ae;return y||p||F&&pe?(()=>{if(se.current<oe.current){let e=(new Date).getTime()-oe.current;t-=e}se.current=(new Date).getTime()})():(oe.current=(new Date).getTime(),e=setTimeout((()=>{var e;null==(e=u.onAutoClose)||e.call(u,u),he()}),t)),()=>clearTimeout(e)}),[y,p,C,u,ae,he,u.promise,Z,F,pe]),t.useEffect((()=>{let e=X.current;if(e){let t=e.getBoundingClientRect().height;return K(t),f((e=>[{toastId:u.id,height:t,position:u.position},...e])),()=>f((e=>e.filter((e=>e.toastId!==u.id))))}}),[f,u.id]),t.useEffect((()=>{u.delete&&he()}),[he,u.delete]),t.createElement("li",{"aria-live":u.important?"assertive":"polite","aria-atomic":"true",role:"status",tabIndex:0,ref:X,className:P(E,ee,null==N?void 0:N.toast,null==(r=null==u?void 0:u.classNames)?void 0:r.toast,null==N?void 0:N.default,null==N?void 0:N[Z],null==(n=null==u?void 0:u.classNames)?void 0:n[Z]),"data-sonner-toast":"","data-styled":!(u.jsx||u.unstyled||d),"data-mounted":$,"data-promise":!!u.promise,"data-removed":j,"data-visible":J,"data-y-position":ce,"data-x-position":ue,"data-index":g,"data-front":V,"data-swiping":z,"data-dismissible":Q,"data-type":Z,"data-invert":fe,"data-swipe-out":H,"data-expanded":!!(y||C&&$),style:{"--index":g,"--toasts-before":g,"--z-index":b.length-g,"--offset":`${j?U:ie.current}px`,"--initial-height":C?"auto":`${Y}px`,...w,...u.style},onPointerDown:e=>{me||!Q||(q.current=new Date,G(ie.current),e.target.setPointerCapture(e.pointerId),"BUTTON"!==e.target.tagName&&(B(!0),le.current={x:e.clientX,y:e.clientY}))},onPointerUp:()=>{var e,t,r,n;if(H||!Q)return;le.current=null;let a=Number((null==(e=X.current)?void 0:e.style.getPropertyValue("--swipe-amount").replace("px",""))||0),o=(new Date).getTime()-(null==(t=q.current)?void 0:t.getTime()),i=Math.abs(a)/o;if(Math.abs(a)>=20||i>.11)return G(ie.current),null==(r=u.onDismiss)||r.call(u,u),he(),void W(!0);null==(n=X.current)||n.style.setProperty("--swipe-amount","0px"),B(!1)},onPointerMove:e=>{var t;if(!le.current||!Q)return;let r=e.clientY-le.current.y,n=e.clientX-le.current.x,a=("top"===ce?Math.min:Math.max)(0,r),o="touch"===e.pointerType?10:2;Math.abs(a)>o?null==(t=X.current)||t.style.setProperty("--swipe-amount",`${r}px`):Math.abs(n)>o&&(le.current=null)}},ne&&!u.jsx?t.createElement("button",{"aria-label":I,"data-disabled":me,"data-close-button":!0,onClick:me||!Q?()=>{}:()=>{var e;he(),null==(e=u.onDismiss)||e.call(u,u)},className:P(null==N?void 0:N.closeButton,null==(a=null==u?void 0:u.classNames)?void 0:a.closeButton)},t.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"12",height:"12",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"},t.createElement("line",{x1:"18",y1:"6",x2:"6",y2:"18"}),t.createElement("line",{x1:"6",y1:"6",x2:"18",y2:"18"}))):null,u.jsx||t.isValidElement(u.title)?u.jsx||u.title:t.createElement(t.Fragment,null,Z||u.icon||u.promise?t.createElement("div",{"data-icon":"",className:P(null==N?void 0:N.icon)},u.promise||"loading"===u.type&&!u.icon?u.icon||(null!=R&&R.loading?t.createElement("div",{className:"sonner-loader","data-visible":"loading"===Z},R.loading):O?t.createElement("div",{className:"sonner-loader","data-visible":"loading"===Z},O):t.createElement(xo,{visible:"loading"===Z})):null,"loading"!==u.type?u.icon||(null==R?void 0:R[Z])||(e=>{switch(e){case"success":return vo;case"info":return ko;case"warning":return wo;case"error":return So;default:return null}})(Z):null):null,t.createElement("div",{"data-content":"",className:P(null==N?void 0:N.content)},t.createElement("div",{"data-title":"",className:P(null==N?void 0:N.title,null==(o=null==u?void 0:u.classNames)?void 0:o.title),dangerouslySetInnerHTML:ge(u.title)}),u.description?t.createElement("div",{"data-description":"",className:P(A,te,null==N?void 0:N.description,null==(i=null==u?void 0:u.classNames)?void 0:i.description),dangerouslySetInnerHTML:ge(u.description)}):null),u.cancel?t.createElement("button",{"data-button":!0,"data-cancel":!0,style:u.cancelButtonStyle||k,onClick:e=>{var t;Q&&(he(),null!=(t=u.cancel)&&t.onClick&&u.cancel.onClick(e))},className:P(null==N?void 0:N.cancelButton,null==(s=null==u?void 0:u.classNames)?void 0:s.cancelButton)},u.cancel.label):null,u.action?t.createElement("button",{"data-button":"",style:u.actionButtonStyle||S,onClick:e=>{var t;null==(t=u.action)||t.onClick(e),!e.defaultPrevented&&he()},className:P(null==N?void 0:N.actionButton,null==(l=null==u?void 0:u.classNames)?void 0:l.actionButton)},u.action.label):null))};function No(){if("undefined"==typeof window||"undefined"==typeof document)return"ltr";let e=document.documentElement.getAttribute("dir");return"auto"!==e&&e?e:window.getComputedStyle(document.documentElement).direction}var Ro=e=>{let{invert:r,position:n="bottom-right",hotkey:a=["altKey","KeyT"],expand:o,closeButton:i,className:s,offset:l,theme:c="light",richColors:u,duration:d,style:p,visibleToasts:f=Mo,toastOptions:m,dir:h=No(),gap:g,loadingIcon:b,icons:y,containerAriaLabel:x="Notifications",pauseWhenPageIsHidden:v,cn:w=Oo}=e,[k,S]=t.useState([]),E=t.useMemo((()=>Array.from(new Set([n].concat(k.filter((e=>e.position)).map((e=>e.position)))))),[k,n]),[A,_]=t.useState([]),[M,T]=t.useState(!1),[O,C]=t.useState(!1),[N,R]=t.useState("system"!==c?c:"undefined"!=typeof window&&window.matchMedia&&window.matchMedia("(prefers-color-scheme: dark)").matches?"dark":"light"),I=t.useRef(null),F=a.join("+").replace(/Key/g,"").replace(/Digit/g,""),P=t.useRef(null),$=t.useRef(!1),L=t.useCallback((e=>S((t=>t.filter((({id:t})=>t!==e.id))))),[]);return t.useEffect((()=>Ao.subscribe((e=>{e.dismiss?S((t=>t.map((t=>t.id===e.id?{...t,delete:!0}:t)))):setTimeout((()=>{va.flushSync((()=>{S((t=>{let r=t.findIndex((t=>t.id===e.id));return-1!==r?[...t.slice(0,r),{...t[r],...e},...t.slice(r+1)]:[e,...t]}))}))}))}))),[]),t.useEffect((()=>{"system"===c?("system"===c&&(window.matchMedia&&window.matchMedia("(prefers-color-scheme: dark)").matches?R("dark"):R("light")),"undefined"!=typeof window&&window.matchMedia("(prefers-color-scheme: dark)").addEventListener("change",(({matches:e})=>{R(e?"dark":"light")}))):R(c)}),[c]),t.useEffect((()=>{k.length<=1&&T(!1)}),[k]),t.useEffect((()=>{let e=e=>{var t,r;a.every((t=>e[t]||e.code===t))&&(T(!0),null==(t=I.current)||t.focus()),"Escape"===e.code&&(document.activeElement===I.current||null!=(r=I.current)&&r.contains(document.activeElement))&&T(!1)};return document.addEventListener("keydown",e),()=>document.removeEventListener("keydown",e)}),[a]),t.useEffect((()=>{if(I.current)return()=>{P.current&&(P.current.focus({preventScroll:!0}),P.current=null,$.current=!1)}}),[I.current]),k.length?t.createElement("section",{"aria-label":`${x} ${F}`,tabIndex:-1},E.map(((e,n)=>{var a;let[c,x]=e.split("-");return t.createElement("ol",{key:e,dir:"auto"===h?No():h,tabIndex:-1,ref:I,className:s,"data-sonner-toaster":!0,"data-theme":N,"data-rich-colors":u,"data-y-position":c,"data-x-position":x,style:{"--front-toast-height":`${(null==(a=A[0])?void 0:a.height)||0}px`,"--offset":"number"==typeof l?`${l}px`:l||"32px","--width":"356px","--gap":`${To}px`,...p},onBlur:e=>{$.current&&!e.currentTarget.contains(e.relatedTarget)&&($.current=!1,P.current&&(P.current.focus({preventScroll:!0}),P.current=null))},onFocus:e=>{e.target instanceof HTMLElement&&"false"===e.target.dataset.dismissible||$.current||($.current=!0,P.current=e.relatedTarget)},onMouseEnter:()=>T(!0),onMouseMove:()=>T(!0),onMouseLeave:()=>{O||T(!1)},onPointerDown:e=>{e.target instanceof HTMLElement&&"false"===e.target.dataset.dismissible||C(!0)},onPointerUp:()=>C(!1)},k.filter((t=>!t.position&&0===n||t.position===e)).map(((n,a)=>{var s,l;return t.createElement(Co,{key:n.id,icons:y,index:a,toast:n,duration:null!=(s=null==m?void 0:m.duration)?s:d,className:null==m?void 0:m.className,descriptionClassName:null==m?void 0:m.descriptionClassName,invert:r,visibleToasts:f,closeButton:null!=(l=null==m?void 0:m.closeButton)?l:i,interacting:O,position:e,style:null==m?void 0:m.style,unstyled:null==m?void 0:m.unstyled,classNames:null==m?void 0:m.classNames,cancelButtonStyle:null==m?void 0:m.cancelButtonStyle,actionButtonStyle:null==m?void 0:m.actionButtonStyle,removeToast:L,toasts:k.filter((e=>e.position==n.position)),heights:A.filter((e=>e.position==n.position)),setHeights:_,expandByDefault:o,gap:g,loadingIcon:b,expanded:M,pauseWhenPageIsHidden:v,cn:w})})))}))):null},Io=function(e){var r=e.children,n=e.defaultTheme;return Ie(ga,{theme:(0,t.useMemo)((function(){return oa(xa(n))}),[n]),children:[Re(Ro,{closeButton:!0,position:"bottom-left"}),r]})};function Fo(e){var t,r,n="";if("string"==typeof e||"number"==typeof e)n+=e;else if("object"==typeof e)if(Array.isArray(e)){var a=e.length;for(t=0;t<a;t++)e[t]&&(r=Fo(e[t]))&&(n&&(n+=" "),n+=r)}else for(r in e)e[r]&&(n&&(n+=" "),n+=r);return n}const Po=function(){for(var e,t,r=0,n="",a=arguments.length;r<a;r++)(e=arguments[r])&&(t=Fo(e))&&(n&&(n+=" "),n+=t);return n};var $o=/^((children|dangerouslySetInnerHTML|key|ref|autoFocus|defaultValue|defaultChecked|innerHTML|suppressContentEditableWarning|suppressHydrationWarning|valueLink|abbr|accept|acceptCharset|accessKey|action|allow|allowUserMedia|allowPaymentRequest|allowFullScreen|allowTransparency|alt|async|autoComplete|autoPlay|capture|cellPadding|cellSpacing|challenge|charSet|checked|cite|classID|className|cols|colSpan|content|contentEditable|contextMenu|controls|controlsList|coords|crossOrigin|data|dateTime|decoding|default|defer|dir|disabled|disablePictureInPicture|download|draggable|encType|enterKeyHint|form|formAction|formEncType|formMethod|formNoValidate|formTarget|frameBorder|headers|height|hidden|high|href|hrefLang|htmlFor|httpEquiv|id|inputMode|integrity|is|keyParams|keyType|kind|label|lang|list|loading|loop|low|marginHeight|marginWidth|max|maxLength|media|mediaGroup|method|min|minLength|multiple|muted|name|nonce|noValidate|open|optimum|pattern|placeholder|playsInline|poster|preload|profile|radioGroup|readOnly|referrerPolicy|rel|required|reversed|role|rows|rowSpan|sandbox|scope|scoped|scrolling|seamless|selected|shape|size|sizes|slot|span|spellCheck|src|srcDoc|srcLang|srcSet|start|step|style|summary|tabIndex|target|title|translate|type|useMap|value|width|wmode|wrap|about|datatype|inlist|prefix|property|resource|typeof|vocab|autoCapitalize|autoCorrect|autoSave|color|incremental|fallback|inert|itemProp|itemScope|itemType|itemID|itemRef|on|option|results|security|unselectable|accentHeight|accumulate|additive|alignmentBaseline|allowReorder|alphabetic|amplitude|arabicForm|ascent|attributeName|attributeType|autoReverse|azimuth|baseFrequency|baselineShift|baseProfile|bbox|begin|bias|by|calcMode|capHeight|clip|clipPathUnits|clipPath|clipRule|colorInterpolation|colorInterpolationFilters|colorProfile|colorRendering|contentScriptType|contentStyleType|cursor|cx|cy|d|decelerate|descent|diffuseConstant|direction|display|divisor|dominantBaseline|dur|dx|dy|edgeMode|elevation|enableBackground|end|exponent|externalResourcesRequired|fill|fillOpacity|fillRule|filter|filterRes|filterUnits|floodColor|floodOpacity|focusable|fontFamily|fontSize|fontSizeAdjust|fontStretch|fontStyle|fontVariant|fontWeight|format|from|fr|fx|fy|g1|g2|glyphName|glyphOrientationHorizontal|glyphOrientationVertical|glyphRef|gradientTransform|gradientUnits|hanging|horizAdvX|horizOriginX|ideographic|imageRendering|in|in2|intercept|k|k1|k2|k3|k4|kernelMatrix|kernelUnitLength|kerning|keyPoints|keySplines|keyTimes|lengthAdjust|letterSpacing|lightingColor|limitingConeAngle|local|markerEnd|markerMid|markerStart|markerHeight|markerUnits|markerWidth|mask|maskContentUnits|maskUnits|mathematical|mode|numOctaves|offset|opacity|operator|order|orient|orientation|origin|overflow|overlinePosition|overlineThickness|panose1|paintOrder|pathLength|patternContentUnits|patternTransform|patternUnits|pointerEvents|points|pointsAtX|pointsAtY|pointsAtZ|preserveAlpha|preserveAspectRatio|primitiveUnits|r|radius|refX|refY|renderingIntent|repeatCount|repeatDur|requiredExtensions|requiredFeatures|restart|result|rotate|rx|ry|scale|seed|shapeRendering|slope|spacing|specularConstant|specularExponent|speed|spreadMethod|startOffset|stdDeviation|stemh|stemv|stitchTiles|stopColor|stopOpacity|strikethroughPosition|strikethroughThickness|string|stroke|strokeDasharray|strokeDashoffset|strokeLinecap|strokeLinejoin|strokeMiterlimit|strokeOpacity|strokeWidth|surfaceScale|systemLanguage|tableValues|targetX|targetY|textAnchor|textDecoration|textRendering|textLength|to|transform|u1|u2|underlinePosition|underlineThickness|unicode|unicodeBidi|unicodeRange|unitsPerEm|vAlphabetic|vHanging|vIdeographic|vMathematical|values|vectorEffect|version|vertAdvY|vertOriginX|vertOriginY|viewBox|viewTarget|visibility|widths|wordSpacing|writingMode|x|xHeight|x1|x2|xChannelSelector|xlinkActuate|xlinkArcrole|xlinkHref|xlinkRole|xlinkShow|xlinkTitle|xlinkType|xmlBase|xmlns|xmlnsXlink|xmlLang|xmlSpace|y|y1|y2|yChannelSelector|z|zoomAndPan|for|class|autofocus)|(([Dd][Aa][Tt][Aa]|[Aa][Rr][Ii][Aa]|x)-.*))$/,Lo=de((function(e){return $o.test(e)||111===e.charCodeAt(0)&&110===e.charCodeAt(1)&&e.charCodeAt(2)<91})),jo=function(e){return"theme"!==e},Do=function(e){return"string"==typeof e&&e.charCodeAt(0)>96?Lo:jo},zo=function(e,t,r){var n;if(t){var a=t.shouldForwardProp;n=e.__emotion_forwardProp&&a?function(t){return e.__emotion_forwardProp(t)&&a(t)}:a}return"function"!=typeof n&&r&&(n=e.__emotion_forwardProp),n},Bo=function(e){var t=e.cache,r=e.serialized,n=e.isStringTag;return le(t,r,n),Se((function(){return ce(t,r,n)})),null},Ho=function e(r,n){var a,o,i=r.__emotion_real===r,s=i&&r.__emotion_base||r;void 0!==n&&(a=n.label,o=n.target);var l=zo(r,n,i),c=l||Do(s),u=!c("as");return function(){var d=arguments,p=i&&void 0!==r.__emotion_styles?r.__emotion_styles.slice(0):[];if(void 0!==a&&p.push("label:"+a+";"),null==d[0]||void 0===d[0].raw)p.push.apply(p,d);else{0,p.push(d[0][0]);for(var f=d.length,m=1;m<f;m++)p.push(d[m],d[0][m])}var h=_e((function(e,r,n){var a=u&&e.as||s,i="",d=[],f=e;if(null==e.theme){for(var m in f={},e)f[m]=e[m];f.theme=t.useContext(Me)}"string"==typeof e.className?i=se(r.registered,d,e.className):null!=e.className&&(i=e.className+" ");var h=we(p.concat(d),r.registered,f);i+=r.key+"-"+h.name,void 0!==o&&(i+=" "+o);var g=u&&void 0===l?Do(a):c,b={};for(var y in e)u&&"as"===y||g(y)&&(b[y]=e[y]);return b.className=i,b.ref=n,t.createElement(t.Fragment,null,t.createElement(Bo,{cache:r,serialized:h,isStringTag:"string"==typeof a}),t.createElement(a,b))}));return h.displayName=void 0!==a?a:"Styled("+("string"==typeof s?s:s.displayName||s.name||"Component")+")",h.defaultProps=r.defaultProps,h.__emotion_real=h,h.__emotion_base=s,h.__emotion_styles=p,h.__emotion_forwardProp=l,Object.defineProperty(h,"toString",{value:function(){return"."+o}}),h.withComponent=function(t,r){return e(t,fr({},n,r,{shouldForwardProp:zo(h,r,!0)})).apply(void 0,p)},h}}.bind();function Wo(e,t){return Ho(e,t)}["a","abbr","address","area","article","aside","audio","b","base","bdi","bdo","big","blockquote","body","br","button","canvas","caption","cite","code","col","colgroup","data","datalist","dd","del","details","dfn","dialog","div","dl","dt","em","embed","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","iframe","img","input","ins","kbd","keygen","label","legend","li","link","main","map","mark","marquee","menu","menuitem","meta","meter","nav","noscript","object","ol","optgroup","option","output","p","param","picture","pre","progress","q","rp","rt","ruby","s","samp","script","section","select","small","source","span","strong","style","sub","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","title","tr","track","u","ul","var","video","wbr","circle","clipPath","defs","ellipse","foreignObject","g","image","line","linearGradient","mask","path","pattern","polygon","polyline","radialGradient","rect","stop","svg","text","tspan"].forEach((function(e){Ho[e]=Ho(e)}));const Uo=["sx"],Go=e=>{var t,r;const n={systemProps:{},otherProps:{}},a=null!=(t=null==e||null==(r=e.theme)?void 0:r.unstable_sxConfig)?t:xn;return Object.keys(e).forEach((t=>{a[t]?n.systemProps[t]=e[t]:n.otherProps[t]=e[t]})),n};function Yo(e){const{sx:t}=e,r=mr(e,Uo),{systemProps:n,otherProps:a}=Go(r);let o;return o=Array.isArray(t)?[n,...t]:"function"==typeof t?(...e)=>{const r=t(...e);return gr(r)?fr({},n,r):n}:fr({},n,t),fr({},a,{sx:o})}const Ko=Sn();const qo=function(e=Ko){return ua(e)},Xo=["className","component"];const Vo=e=>e,Jo=(()=>{let e=Vo;return{configure(t){e=t},generate:t=>e(t),reset(){e=Vo}}})(),Zo=oa(),Qo=function(r={}){const{themeId:n,defaultTheme:a,defaultClassName:o="MuiBox-root",generateClassName:i}=r,s=Wo("div",{shouldForwardProp:e=>"theme"!==e&&"sx"!==e&&"as"!==e})(wn);return t.forwardRef((function(t,r){const l=qo(a),c=Yo(t),{className:u,component:d="div"}=c,p=mr(c,Xo);return(0,e.jsx)(s,fr({as:d,ref:r,className:Po(u,i?i(o):o),theme:n&&l[n]||l},p))}))}({themeId:ma,defaultTheme:Zo,defaultClassName:"MuiBox-root",generateClassName:Jo.generate}),ei=Qo,ti=()=>{throw new Error("useMediaQuery is a client-only hook")};function ri(e){const r=(0,t.useCallback)((t=>{const r=window.matchMedia(e);return r.addEventListener("change",t),()=>{r.removeEventListener("change",t)}}),[e]);return(0,t.useSyncExternalStore)(r,(()=>window.matchMedia(e).matches),ti)}var ni;!function(e){e[e.mobile=576]="mobile",e[e.tablet=770]="tablet"}(ni||(ni={}));const ai=()=>{try{return window.parent.location.origin===window.location.origin}catch{return!1}};const oi=({controlType:e,allowed:t,label:r})=>(n,a={})=>(((e,t,r)=>{if(t.some((e=>!r.includes(e.controlType))))throw new Error(`${e} may only contain ${r.map((e=>JSON.stringify(e))).join(", ")} controls inside styles`)})(e,n,t),{type:"control",controlType:e,label:r,styles:n,...a});oi({controlType:"border",allowed:["borderStyle","borderWidth","color"],label:"Border"}),oi({controlType:"background",allowed:["select","color","image"],label:"Background"}),oi({controlType:"font",allowed:["fontFamily","color","fontWeight"],label:"Font"});var ii={colors:{primary:"#152237",accent:"#3278FF",background:"#FFFFFF"},typography:{headingFontFamily:"Inter, sans-serif",headingFontWeight:600,bodyFontFamily:"Inter, sans-serif",bodyFontWeight:400},size:"M",roundness:"STANDARD",backgroundStyle:"HIGHLIGHTED",shadow:!0,containerMaxWidth:"1852px"},si={config:ii,tokens:{colors:{background:{default:"#FFFFFF",complementary:"#f3f5f8",skeleton:"#f2f2f2"},text:{heading:"#152237",description:"#727a87",ui:"#152237"},border:{primary:"#e5e5e5",secondary:"#f3f5f8"},action:{highlight:"#3278FF",primary:{text:"#f4f8ff",background:{idle:"#3278FF",hover:"#2860cc",press:"#1e4899"}},secondary:{background:{idle:"#FFFFFF",hover:"#f2f2f2",press:"#e5e5e5"},text:"#152237"},dialogSecondary:{background:{idle:"#f2f2f2",hover:"#e5e5e5",press:"#ccc"},text:"#152237"},ghost:{text:"#152237",background:{idle:"#FFFFFF",hover:"#f2f2f2",press:"#e5e5e5"},border:{active:"#3278FF"}},disabled:{background:"#F2F2F2",text:"#898989"}},dialog:{background:{idle:"#FFFFFF",hover:"#f2f2f2",press:"#e5e5e5"}},input:{background:{idle:"#f2f2f2",hover:"#e5e5e5",focus:"#f2f2f2"},text:"#152237",placeholder:"#727a87",border:{focus:"#3278FF",error:"#c52c26"},message:{error:"#c52c26",hint:"#727a87"}},rating:{fill:"#e5e5e5",stroke:{hover:"#999"}}},typography:{heading:{fontFamily:"Inter, sans-serif",fontWeight:"600",size:{1:{fontSize:"22px",lineHeight:"32px"},2:{fontSize:"20px",lineHeight:"28px"},3:{fontSize:"18px",lineHeight:"24px"},title:{fontSize:"24px",lineHeight:"32px"}}},body:{fontFamily:"Inter, sans-serif",fontWeight:"400",fontSize:"14px",lineHeight:"20px"},text:{action:{fontSize:"14px",lineHeight:"24px"},hint:{fontSize:"12px",lineHeight:"normal"},label:{fontSize:"14px",lineHeight:"20px"},link:{fontSize:"14px",lineHeight:"20px"}}},iconSize:{1:"20px",5:"40px",rating:"24px"},roundness:{1:"4px",2:"6px",3:"8px",4:"12px",5:"16px",full:"9999px"},space:{0:"0px",1:"2px",2:"4px",3:"6px",4:"8px",5:"10px",6:"12px",7:"16px",8:"20px",9:"24px",10:"32px",11:"48px",12:"64px",13:"72px",14:"96px",15:"160px"},shadow:{none:"0 0 #0000",subtle:"0px 2px 4px -2px rgba(0, 0, 0, 0.06), 0px 4px 12px -2px rgba(0, 0, 0, 0.08)",subtleBorder:"0px 4px 12px -2px rgba(0, 0, 0, 0.08)",raised:"0px 4px 6px -2px rgba(0, 0, 0, 0.02), 0px 12px 24px -4px rgba(0, 0, 0, 0.08)",floating:"0px 8px 8px -4px rgba(0, 0, 0, 0.03), 0px 20px 30px -4px rgba(0, 0, 0, 0.10)"},containerMaxWidth:"1852px"}};function li(){return li=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},li.apply(this,arguments)}function ci(e,t){return ci=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},ci(e,t)}function ui(e){return ui=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},ui(e)}function di(e,t,r){return di=function(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch{return!1}}()?Reflect.construct.bind():function(e,t,r){var n=[null];n.push.apply(n,t);var a=new(Function.bind.apply(e,n));return r&&ci(a,r.prototype),a},di.apply(null,arguments)}function pi(e){var t="function"==typeof Map?new Map:void 0;return pi=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(typeof t<"u"){if(t.has(e))return t.get(e);t.set(e,r)}function r(){return di(e,arguments,ui(this).constructor)}return r.prototype=Object.create(e.prototype,{constructor:{value:r,enumerable:!1,writable:!0,configurable:!0}}),ci(r,e)},pi(e)}var fi=function(e){function t(t){return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e.call(this,"An error occurred. See https://github.com/styled-components/polished/blob/main/src/internalHelpers/errors.md#"+t+" for more information.")||this)}return function(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,ci(e,t)}(t,e),t}(pi(Error));function mi(e){return Math.round(255*e)}function hi(e,t,r){return mi(e)+","+mi(t)+","+mi(r)}function gi(e,t,r,n){if(void 0===n&&(n=hi),0===t)return n(r,r,r);var a=(e%360+360)%360/60,o=(1-Math.abs(2*r-1))*t,i=o*(1-Math.abs(a%2-1)),s=0,l=0,c=0;a>=0&&a<1?(s=o,l=i):a>=1&&a<2?(s=i,l=o):a>=2&&a<3?(l=o,c=i):a>=3&&a<4?(l=i,c=o):a>=4&&a<5?(s=i,c=o):a>=5&&a<6&&(s=o,c=i);var u=r-o/2;return n(s+u,l+u,c+u)}var bi={aliceblue:"f0f8ff",antiquewhite:"faebd7",aqua:"00ffff",aquamarine:"7fffd4",azure:"f0ffff",beige:"f5f5dc",bisque:"ffe4c4",black:"000",blanchedalmond:"ffebcd",blue:"0000ff",blueviolet:"8a2be2",brown:"a52a2a",burlywood:"deb887",cadetblue:"5f9ea0",chartreuse:"7fff00",chocolate:"d2691e",coral:"ff7f50",cornflowerblue:"6495ed",cornsilk:"fff8dc",crimson:"dc143c",cyan:"00ffff",darkblue:"00008b",darkcyan:"008b8b",darkgoldenrod:"b8860b",darkgray:"a9a9a9",darkgreen:"006400",darkgrey:"a9a9a9",darkkhaki:"bdb76b",darkmagenta:"8b008b",darkolivegreen:"556b2f",darkorange:"ff8c00",darkorchid:"9932cc",darkred:"8b0000",darksalmon:"e9967a",darkseagreen:"8fbc8f",darkslateblue:"483d8b",darkslategray:"2f4f4f",darkslategrey:"2f4f4f",darkturquoise:"00ced1",darkviolet:"9400d3",deeppink:"ff1493",deepskyblue:"00bfff",dimgray:"696969",dimgrey:"696969",dodgerblue:"1e90ff",firebrick:"b22222",floralwhite:"fffaf0",forestgreen:"228b22",fuchsia:"ff00ff",gainsboro:"dcdcdc",ghostwhite:"f8f8ff",gold:"ffd700",goldenrod:"daa520",gray:"808080",green:"008000",greenyellow:"adff2f",grey:"808080",honeydew:"f0fff0",hotpink:"ff69b4",indianred:"cd5c5c",indigo:"4b0082",ivory:"fffff0",khaki:"f0e68c",lavender:"e6e6fa",lavenderblush:"fff0f5",lawngreen:"7cfc00",lemonchiffon:"fffacd",lightblue:"add8e6",lightcoral:"f08080",lightcyan:"e0ffff",lightgoldenrodyellow:"fafad2",lightgray:"d3d3d3",lightgreen:"90ee90",lightgrey:"d3d3d3",lightpink:"ffb6c1",lightsalmon:"ffa07a",lightseagreen:"20b2aa",lightskyblue:"87cefa",lightslategray:"789",lightslategrey:"789",lightsteelblue:"b0c4de",lightyellow:"ffffe0",lime:"0f0",limegreen:"32cd32",linen:"faf0e6",magenta:"f0f",maroon:"800000",mediumaquamarine:"66cdaa",mediumblue:"0000cd",mediumorchid:"ba55d3",mediumpurple:"9370db",mediumseagreen:"3cb371",mediumslateblue:"7b68ee",mediumspringgreen:"00fa9a",mediumturquoise:"48d1cc",mediumvioletred:"c71585",midnightblue:"191970",mintcream:"f5fffa",mistyrose:"ffe4e1",moccasin:"ffe4b5",navajowhite:"ffdead",navy:"000080",oldlace:"fdf5e6",olive:"808000",olivedrab:"6b8e23",orange:"ffa500",orangered:"ff4500",orchid:"da70d6",palegoldenrod:"eee8aa",palegreen:"98fb98",paleturquoise:"afeeee",palevioletred:"db7093",papayawhip:"ffefd5",peachpuff:"ffdab9",peru:"cd853f",pink:"ffc0cb",plum:"dda0dd",powderblue:"b0e0e6",purple:"800080",rebeccapurple:"639",red:"f00",rosybrown:"bc8f8f",royalblue:"4169e1",saddlebrown:"8b4513",salmon:"fa8072",sandybrown:"f4a460",seagreen:"2e8b57",seashell:"fff5ee",sienna:"a0522d",silver:"c0c0c0",skyblue:"87ceeb",slateblue:"6a5acd",slategray:"708090",slategrey:"708090",snow:"fffafa",springgreen:"00ff7f",steelblue:"4682b4",tan:"d2b48c",teal:"008080",thistle:"d8bfd8",tomato:"ff6347",turquoise:"40e0d0",violet:"ee82ee",wheat:"f5deb3",white:"fff",whitesmoke:"f5f5f5",yellow:"ff0",yellowgreen:"9acd32"};var yi=/^#[a-fA-F0-9]{6}$/,xi=/^#[a-fA-F0-9]{8}$/,vi=/^#[a-fA-F0-9]{3}$/,wi=/^#[a-fA-F0-9]{4}$/,ki=/^rgb\(\s*(\d{1,3})\s*(?:,)?\s*(\d{1,3})\s*(?:,)?\s*(\d{1,3})\s*\)$/i,Si=/^rgb(?:a)?\(\s*(\d{1,3})\s*(?:,)?\s*(\d{1,3})\s*(?:,)?\s*(\d{1,3})\s*(?:,|\/)\s*([-+]?\d*[.]?\d+[%]?)\s*\)$/i,Ei=/^hsl\(\s*(\d{0,3}[.]?[0-9]+(?:deg)?)\s*(?:,)?\s*(\d{1,3}[.]?[0-9]?)%\s*(?:,)?\s*(\d{1,3}[.]?[0-9]?)%\s*\)$/i,Ai=/^hsl(?:a)?\(\s*(\d{0,3}[.]?[0-9]+(?:deg)?)\s*(?:,)?\s*(\d{1,3}[.]?[0-9]?)%\s*(?:,)?\s*(\d{1,3}[.]?[0-9]?)%\s*(?:,|\/)\s*([-+]?\d*[.]?\d+[%]?)\s*\)$/i;function _i(e){if("string"!=typeof e)throw new fi(3);var t=function(e){if("string"!=typeof e)return e;var t=e.toLowerCase();return bi[t]?"#"+bi[t]:e}(e);if(t.match(yi))return{red:parseInt(""+t[1]+t[2],16),green:parseInt(""+t[3]+t[4],16),blue:parseInt(""+t[5]+t[6],16)};if(t.match(xi)){var r=parseFloat((parseInt(""+t[7]+t[8],16)/255).toFixed(2));return{red:parseInt(""+t[1]+t[2],16),green:parseInt(""+t[3]+t[4],16),blue:parseInt(""+t[5]+t[6],16),alpha:r}}if(t.match(vi))return{red:parseInt(""+t[1]+t[1],16),green:parseInt(""+t[2]+t[2],16),blue:parseInt(""+t[3]+t[3],16)};if(t.match(wi)){var n=parseFloat((parseInt(""+t[4]+t[4],16)/255).toFixed(2));return{red:parseInt(""+t[1]+t[1],16),green:parseInt(""+t[2]+t[2],16),blue:parseInt(""+t[3]+t[3],16),alpha:n}}var a=ki.exec(t);if(a)return{red:parseInt(""+a[1],10),green:parseInt(""+a[2],10),blue:parseInt(""+a[3],10)};var o=Si.exec(t.substring(0,50));if(o)return{red:parseInt(""+o[1],10),green:parseInt(""+o[2],10),blue:parseInt(""+o[3],10),alpha:parseFloat(""+o[4])>1?parseFloat(""+o[4])/100:parseFloat(""+o[4])};var i=Ei.exec(t);if(i){var s="rgb("+gi(parseInt(""+i[1],10),parseInt(""+i[2],10)/100,parseInt(""+i[3],10)/100)+")",l=ki.exec(s);if(!l)throw new fi(4,t,s);return{red:parseInt(""+l[1],10),green:parseInt(""+l[2],10),blue:parseInt(""+l[3],10)}}var c=Ai.exec(t.substring(0,50));if(c){var u="rgb("+gi(parseInt(""+c[1],10),parseInt(""+c[2],10)/100,parseInt(""+c[3],10)/100)+")",d=ki.exec(u);if(!d)throw new fi(4,t,u);return{red:parseInt(""+d[1],10),green:parseInt(""+d[2],10),blue:parseInt(""+d[3],10),alpha:parseFloat(""+c[4])>1?parseFloat(""+c[4])/100:parseFloat(""+c[4])}}throw new fi(5)}function Mi(e){return function(e){var t=e.red/255,r=e.green/255,n=e.blue/255,a=Math.max(t,r,n),o=Math.min(t,r,n),i=(a+o)/2;if(a===o)return void 0!==e.alpha?{hue:0,saturation:0,lightness:i,alpha:e.alpha}:{hue:0,saturation:0,lightness:i};var s,l=a-o,c=i>.5?l/(2-a-o):l/(a+o);switch(a){case t:s=(r-n)/l+(r<n?6:0);break;case r:s=(n-t)/l+2;break;default:s=(t-r)/l+4}return s*=60,void 0!==e.alpha?{hue:s,saturation:c,lightness:i,alpha:e.alpha}:{hue:s,saturation:c,lightness:i}}(_i(e))}var Ti=function(e){return 7===e.length&&e[1]===e[2]&&e[3]===e[4]&&e[5]===e[6]?"#"+e[1]+e[3]+e[5]:e};function Oi(e){var t=e.toString(16);return 1===t.length?"0"+t:t}function Ci(e){return Oi(Math.round(255*e))}function Ni(e,t,r){return Ti("#"+Ci(e)+Ci(t)+Ci(r))}function Ri(e,t,r){return gi(e,t,r,Ni)}function Ii(e,t,r){if("number"==typeof e&&"number"==typeof t&&"number"==typeof r)return Ti("#"+Oi(e)+Oi(t)+Oi(r));if("object"==typeof e&&void 0===t&&void 0===r)return Ti("#"+Oi(e.red)+Oi(e.green)+Oi(e.blue));throw new fi(6)}function Fi(e,t,r,n){if("string"==typeof e&&"number"==typeof t){var a=_i(e);return"rgba("+a.red+","+a.green+","+a.blue+","+t+")"}if("number"==typeof e&&"number"==typeof t&&"number"==typeof r&&"number"==typeof n)return n>=1?Ii(e,t,r):"rgba("+e+","+t+","+r+","+n+")";if("object"==typeof e&&void 0===t&&void 0===r&&void 0===n)return e.alpha>=1?Ii(e.red,e.green,e.blue):"rgba("+e.red+","+e.green+","+e.blue+","+e.alpha+")";throw new fi(7)}var Pi=function(e){return"number"==typeof e.red&&"number"==typeof e.green&&"number"==typeof e.blue&&("number"!=typeof e.alpha||typeof e.alpha>"u")},$i=function(e){return"number"==typeof e.red&&"number"==typeof e.green&&"number"==typeof e.blue&&"number"==typeof e.alpha},Li=function(e){return"number"==typeof e.hue&&"number"==typeof e.saturation&&"number"==typeof e.lightness&&("number"!=typeof e.alpha||typeof e.alpha>"u")},ji=function(e){return"number"==typeof e.hue&&"number"==typeof e.saturation&&"number"==typeof e.lightness&&"number"==typeof e.alpha};function Di(e){if("object"!=typeof e)throw new fi(8);if($i(e))return Fi(e);if(Pi(e))return Ii(e);if(ji(e))return function(e,t,r,n){if("number"==typeof e&&"number"==typeof t&&"number"==typeof r&&"number"==typeof n)return n>=1?Ri(e,t,r):"rgba("+gi(e,t,r)+","+n+")";if("object"==typeof e&&void 0===t&&void 0===r&&void 0===n)return e.alpha>=1?Ri(e.hue,e.saturation,e.lightness):"rgba("+gi(e.hue,e.saturation,e.lightness)+","+e.alpha+")";throw new fi(2)}(e);if(Li(e))return function(e,t,r){if("number"==typeof e&&"number"==typeof t&&"number"==typeof r)return Ri(e,t,r);if("object"==typeof e&&void 0===t&&void 0===r)return Ri(e.hue,e.saturation,e.lightness);throw new fi(1)}(e);throw new fi(8)}function zi(e,t,r){return function(){var n=r.concat(Array.prototype.slice.call(arguments));return n.length>=t?e.apply(this,n):zi(e,t,n)}}function Bi(e){return zi(e,e.length,[])}function Hi(e,t,r){return Math.max(e,Math.min(t,r))}Bi((function(e,t){if("transparent"===t)return t;var r=Mi(t);return Di(li({},r,{hue:r.hue+parseFloat(e)}))})),Bi((function(e,t){if("transparent"===t)return t;var r=Mi(t);return Di(li({},r,{lightness:Hi(0,1,r.lightness-parseFloat(e))}))})),Bi((function(e,t){if("transparent"===t)return t;var r=Mi(t);return Di(li({},r,{saturation:Hi(0,1,r.saturation-parseFloat(e))}))}));Bi((function(e,t){if("transparent"===t)return t;var r=Mi(t);return Di(li({},r,{lightness:Hi(0,1,r.lightness+parseFloat(e))}))}));var Wi=Bi((function(e,t,r){if("transparent"===t)return r;if("transparent"===r)return t;if(0===e)return r;var n=_i(t),a=li({},n,{alpha:"number"==typeof n.alpha?n.alpha:1}),o=_i(r),i=li({},o,{alpha:"number"==typeof o.alpha?o.alpha:1}),s=a.alpha-i.alpha,l=2*parseFloat(e)-1,c=((l*s==-1?l:l+s)/(1+l*s)+1)/2,u=1-c;return Fi({red:Math.floor(a.red*c+i.red*u),green:Math.floor(a.green*c+i.green*u),blue:Math.floor(a.blue*c+i.blue*u),alpha:a.alpha*parseFloat(e)+i.alpha*(1-parseFloat(e))})})),Ui=Wi;Bi((function(e,t){if("transparent"===t)return t;var r=_i(t);return Fi(li({},r,{alpha:Hi(0,1,(100*("number"==typeof r.alpha?r.alpha:1)+100*parseFloat(e))/100)}))})),Bi((function(e,t){if("transparent"===t)return t;var r=Mi(t);return Di(li({},r,{saturation:Hi(0,1,r.saturation+parseFloat(e))}))})),Bi((function(e,t){return"transparent"===t?t:Di(li({},Mi(t),{hue:parseFloat(e)}))})),Bi((function(e,t){return"transparent"===t?t:Di(li({},Mi(t),{lightness:parseFloat(e)}))})),Bi((function(e,t){return"transparent"===t?t:Di(li({},Mi(t),{saturation:parseFloat(e)}))}));var Gi=Bi((function(e,t){return"transparent"===t?t:Ui(parseFloat(e),"rgb(0, 0, 0)",t)}));var Yi=Bi((function(e,t){return"transparent"===t?t:Ui(parseFloat(e),"rgb(255, 255, 255)",t)}));Bi((function(e,t){if("transparent"===t)return t;var r=_i(t);return Fi(li({},r,{alpha:Hi(0,1,+(100*("number"==typeof r.alpha?r.alpha:1)-100*parseFloat(e)).toFixed(2)/100)}))}));const Ki=e=>({0:Yi(1,e),25:Yi(.95,e),50:Yi(.9,e),100:Yi(.8,e),150:Yi(.7,e),200:Yi(.6,e),300:Yi(.4,e),350:Yi(.3,e),400:Yi(.2,e),450:Yi(.1,e),475:Yi(.05,e),500:e,525:Gi(.05,e),550:Gi(.1,e),600:Gi(.2,e),700:Gi(.4,e),800:Gi(.6,e),850:Gi(.7,e),900:Gi(.8,e),950:Gi(.9,e),1e3:Gi(1,e)}),qi="#41D33E",Xi="#F8D313",Vi=(Ki("#F73730"),Ki(qi),Ki(Xi),(e,t)=>{const r={};for(const n of Object.keys(e)){const a=e[n];r[n]="object"==typeof a?Vi(a,t?`${t}.${n}`:n):{themeKey:t?`${t}.${n}`:n}}return r});Vi(si);var Ji=function(){return Ji=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++)for(var a in t=arguments[r])Object.prototype.hasOwnProperty.call(t,a)&&(e[a]=t[a]);return e},Ji.apply(this,arguments)},Zi=function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var a=0;for(n=Object.getOwnPropertySymbols(e);a<n.length;a++)t.indexOf(n[a])<0&&Object.prototype.propertyIsEnumerable.call(e,n[a])&&(r[n[a]]=e[n[a]])}return r},Qi=function(e,t){var r="function"==typeof Symbol&&e[Symbol.iterator];if(!r)return e;var n,a,o=r.call(e),i=[];try{for(;(void 0===t||t-- >0)&&!(n=o.next()).done;)i.push(n.value)}catch(s){a={error:s}}finally{try{n&&!n.done&&(r=o.return)&&r.call(o)}finally{if(a)throw a.error}}return i},es=function(e){var r,n,a,o,i,s,l=e.children,c=e.parentSelector,u=e.defaultTheme,d=void 0===u?{}:u,p=e.component,f=e.withoutBoxWrapper,m=Zi(e,["children","parentSelector","defaultTheme","component","withoutBoxWrapper"]),h=JSON.stringify(m.elements),g=JSON.stringify(m.collection),b=Qi((0,t.useMemo)((function(){var e=new Set,t={elements:Qt(m.elements,e),collection:m.collection,id:m.id,hrid:m.hrid,blockSelector:c,options:m.options,settings:m.settings,category:m.category},r=function(e,t){void 0===t&&(t="");var r="";return e.forEach((function(e){var n=Bt(e);r+=t?"".concat(t," ").concat(n," "):"".concat(n," ")})),r}(e,c);return[t,r]}),[h,g,m.id,m.hrid,m.options,c]),2),y=b[0],x=b[1],v=(r=ri("screen and (max-width: ".concat(ni.mobile-1,"px)")),n=ri("screen and (min-width: ".concat(ni.mobile,"px) and (max-width: ").concat(ni.tablet,"px)")),a=ri("(orientation: portrait)")?"portrait":"landscape",{isMobile:r,isTablet:n,orientation:a,isDesktop:!r&&!n,isMobileLandscape:r&&"landscape"===a,isMobilePortrait:r&&"portrait"===a,isTabletLandscape:n&&"landscape"===a,isTabletPortrait:n&&"portrait"===a}).isDesktop,w=m.hrid,k=m.version,S=m.id,E=m.name,A=m.updated,_=m.created_at,M=A&&A.length?A.pop():"",T=y.elements,O=T.container,C=void 0===O?{}:O,N=T.backgroundImage,R=void 0===N?{}:N,I=T.sideImage;return(0,t.useEffect)((function(){w&&(e=>{ai()&&window.parent!==window&&window.parent.dispatchEvent(e),window.dispatchEvent(e)})(new CustomEvent(`block-loaded-${w}`))}),[w]),o=x,i=c,s=(0,t.useMemo)((function(){var e=document.createElement("style");return i&&e.setAttribute("data-for",i),document.head.append(e),e}),[i]),(0,t.useEffect)((function(){return function(){return s&&s.remove()}}),[s]),s.innerHTML=o,(0,t.useEffect)((function(){s.innerHTML=o}),[o,s]),Re(Fe.Provider,{value:y,children:Ie(Io,{defaultTheme:d,children:[!f&&Re(ei,{component:p||"section","data-block-version":k,"data-block-id":S,"data-block-updated":M,"data-block-created-at":_,style:Ji(Ji({},!I&&(null==R?void 0:R.src)?{backgroundImage:"url(".concat(R.src,")")}:{}),I&&v&&(window.location.href.startsWith("http://localhost:4200")||window.location.href.startsWith("https://studio-staging")||window.location.href.startsWith("https://studio.softr.io/"))?{height:"950px"}:{}),className:"".concat(E,"-").concat(S," ").concat(null==C?void 0:C.className," ").concat(I?"":(null==R?void 0:R.className)||""),children:l}),f?l:null]})})};const ts=["variant"];function rs(e){return 0===e.length}function ns(e){const{variant:t}=e,r=mr(e,ts);let n=t||"";return Object.keys(r).sort().forEach((t=>{n+="color"===t?rs(n)?e[t]:Tr(e[t]):`${rs(n)?t:Tr(t)}${Tr(e[t].toString())}`})),n}const as=["name","slot","skipVariantsResolver","skipSx","overridesResolver"];function os(e){return"ownerState"!==e&&"theme"!==e&&"sx"!==e&&"as"!==e}const is=Sn(),ss=e=>e?e.charAt(0).toLowerCase()+e.slice(1):e;function ls({defaultTheme:e,theme:t,themeId:r}){return n=t,0===Object.keys(n).length?e:t[r]||t;var n}function cs(e){return e?(t,r)=>r[e]:null}const us=oa(),ds=function(e={}){const{themeId:t,defaultTheme:r=is,rootShouldForwardProp:n=os,slotShouldForwardProp:a=os}=e,o=e=>wn(fr({},e,{theme:ls(fr({},e,{defaultTheme:r,themeId:t}))}));return o.__mui_systemSx=!0,(e,i={})=>{((e,t)=>{Array.isArray(e.__emotion_styles)&&(e.__emotion_styles=t(e.__emotion_styles))})(e,(e=>e.filter((e=>!(null!=e&&e.__mui_systemSx)))));const{name:s,slot:l,skipVariantsResolver:c,skipSx:u,overridesResolver:d=cs(ss(l))}=i,p=mr(i,as),f=void 0!==c?c:l&&"Root"!==l&&"root"!==l||!1,m=u||!1;let h=os;"Root"===l||"root"===l?h=n:l?h=a:function(e){return"string"==typeof e&&e.charCodeAt(0)>96}(e)&&(h=void 0);const g=Wo(e,fr({shouldForwardProp:h,label:undefined},p)),b=(n,...a)=>{const i=a?a.map((e=>"function"==typeof e&&e.__emotion_real!==e?n=>e(fr({},n,{theme:ls(fr({},n,{defaultTheme:r,themeId:t}))})):e)):[];let l=n;s&&d&&i.push((e=>{const n=ls(fr({},e,{defaultTheme:r,themeId:t})),a=((e,t)=>t.components&&t.components[e]&&t.components[e].styleOverrides?t.components[e].styleOverrides:null)(s,n);if(a){const t={};return Object.entries(a).forEach((([r,a])=>{t[r]="function"==typeof a?a(fr({},e,{theme:n})):a})),d(e,t)}return null})),s&&!f&&i.push((e=>{const n=ls(fr({},e,{defaultTheme:r,themeId:t}));return((e,t,r,n)=>{var a;const{ownerState:o={}}=e,i=[],s=null==r||null==(a=r.components)||null==(a=a[n])?void 0:a.variants;return s&&s.forEach((r=>{let n=!0;Object.keys(r.props).forEach((t=>{o[t]!==r.props[t]&&e[t]!==r.props[t]&&(n=!1)})),n&&i.push(t[ns(r.props)])})),i})(e,((e,t)=>{let r=[];t&&t.components&&t.components[e]&&t.components[e].variants&&(r=t.components[e].variants);const n={};return r.forEach((e=>{const t=ns(e.props);n[t]=e.style})),n})(s,n),n,s)})),m||i.push(o);const c=i.length-a.length;if(Array.isArray(n)&&c>0){const e=new Array(c).fill("");l=[...n,...e],l.raw=[...n.raw,...e]}else"function"==typeof n&&n.__emotion_real!==n&&(l=e=>n(fr({},e,{theme:ls(fr({},e,{defaultTheme:r,themeId:t}))})));const u=g(l,...i);return e.muiName&&(u.muiName=e.muiName),u};return g.withConfig&&(b.withConfig=g.withConfig),b}}({themeId:ma,defaultTheme:us,rootShouldForwardProp:e=>os(e)&&"classes"!==e}),ps=ds;function fs(e,t){const r=fr({},t);return Object.keys(e).forEach((n=>{if(n.toString().match(/^(components|slots)$/))r[n]=fr({},e[n],r[n]);else if(n.toString().match(/^(componentsProps|slotProps)$/)){const a=e[n]||{},o=t[n];r[n]={},o&&Object.keys(o)?a&&Object.keys(a)?(r[n]=fr({},o),Object.keys(a).forEach((e=>{r[n][e]=fs(a[e],o[e])}))):r[n]=o:r[n]=a}else void 0===r[n]&&(r[n]=e[n])})),r}function ms(e){const{theme:t,name:r,props:n}=e;return t&&t.components&&t.components[r]&&t.components[r].defaultProps?fs(t.components[r].defaultProps,n):n}function hs({props:e,name:t}){return function({props:e,name:t,defaultTheme:r,themeId:n}){let a=qo(r);return n&&(a=a[n]||a),ms({theme:a,name:t,props:e})}({props:e,name:t,defaultTheme:us,themeId:ma})}const gs=t.createContext(),bs={active:"active",checked:"checked",completed:"completed",disabled:"disabled",error:"error",expanded:"expanded",focused:"focused",focusVisible:"focusVisible",open:"open",readOnly:"readOnly",required:"required",selected:"selected"};function ys(e,t,r="Mui"){const n=bs[t];return n?`${r}-${n}`:`${Jo.generate(e)}-${t}`}function xs(e){return ys("MuiGrid",e)}const vs=["auto",!0,1,2,3,4,5,6,7,8,9,10,11,12],ws=function(e,t,r="Mui"){const n={};return t.forEach((t=>{n[t]=ys(e,t,r)})),n}("MuiGrid",["root","container","item","zeroMinWidth",...[0,1,2,3,4,5,6,7,8,9,10].map((e=>`spacing-xs-${e}`)),...["column-reverse","column","row-reverse","row"].map((e=>`direction-xs-${e}`)),...["nowrap","wrap-reverse","wrap"].map((e=>`wrap-xs-${e}`)),...vs.map((e=>`grid-xs-${e}`)),...vs.map((e=>`grid-sm-${e}`)),...vs.map((e=>`grid-md-${e}`)),...vs.map((e=>`grid-lg-${e}`)),...vs.map((e=>`grid-xl-${e}`))]),ks=ws,Ss=["className","columns","columnSpacing","component","container","direction","item","rowSpacing","spacing","wrap","zeroMinWidth"];function Es(e){const t=parseFloat(e);return`${t}${String(e).replace(String(t),"")||"px"}`}function As({breakpoints:e,values:t}){let r="";Object.keys(t).forEach((e=>{""===r&&0!==t[e]&&(r=e)}));const n=Object.keys(e).sort(((t,r)=>e[t]-e[r]));return n.slice(0,n.indexOf(r))}const _s=ps("div",{name:"MuiGrid",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:r}=e,{container:n,direction:a,item:o,spacing:i,wrap:s,zeroMinWidth:l,breakpoints:c}=r;let u=[];n&&(u=function(e,t,r={}){if(!e||e<=0)return[];if("string"==typeof e&&!Number.isNaN(Number(e))||"number"==typeof e)return[r[`spacing-xs-${String(e)}`]];const n=[];return t.forEach((t=>{const a=e[t];Number(a)>0&&n.push(r[`spacing-${t}-${String(a)}`])})),n}(i,c,t));const d=[];return c.forEach((e=>{const n=r[e];n&&d.push(t[`grid-${e}-${String(n)}`])})),[t.root,n&&t.container,o&&t.item,l&&t.zeroMinWidth,...u,"row"!==a&&t[`direction-xs-${String(a)}`],"wrap"!==s&&t[`wrap-xs-${String(s)}`],...d]}})((({ownerState:e})=>fr({boxSizing:"border-box"},e.container&&{display:"flex",flexWrap:"wrap",width:"100%"},e.item&&{margin:0},e.zeroMinWidth&&{minWidth:0},"wrap"!==e.wrap&&{flexWrap:e.wrap})),(function({theme:e,ownerState:t}){return Er({theme:e},Mr({values:t.direction,breakpoints:e.breakpoints.values}),(e=>{const t={flexDirection:e};return 0===e.indexOf("column")&&(t[`& > .${ks.item}`]={maxWidth:"none"}),t}))}),(function({theme:e,ownerState:t}){const{container:r,rowSpacing:n}=t;let a={};if(r&&0!==n){const t=Mr({values:n,breakpoints:e.breakpoints.values});let r;"object"==typeof t&&(r=As({breakpoints:e.breakpoints.values,values:t})),a=Er({theme:e},t,((t,n)=>{var a;const o=e.spacing(t);return"0px"!==o?{marginTop:`-${Es(o)}`,[`& > .${ks.item}`]:{paddingTop:Es(o)}}:null!=(a=r)&&a.includes(n)?{}:{marginTop:0,[`& > .${ks.item}`]:{paddingTop:0}}}))}return a}),(function({theme:e,ownerState:t}){const{container:r,columnSpacing:n}=t;let a={};if(r&&0!==n){const t=Mr({values:n,breakpoints:e.breakpoints.values});let r;"object"==typeof t&&(r=As({breakpoints:e.breakpoints.values,values:t})),a=Er({theme:e},t,((t,n)=>{var a;const o=e.spacing(t);return"0px"!==o?{width:`calc(100% + ${Es(o)})`,marginLeft:`-${Es(o)}`,[`& > .${ks.item}`]:{paddingLeft:Es(o)}}:null!=(a=r)&&a.includes(n)?{}:{width:"100%",marginLeft:0,[`& > .${ks.item}`]:{paddingLeft:0}}}))}return a}),(function({theme:e,ownerState:t}){let r;return e.breakpoints.keys.reduce(((n,a)=>{let o={};if(t[a]&&(r=t[a]),!r)return n;if(!0===r)o={flexBasis:0,flexGrow:1,maxWidth:"100%"};else if("auto"===r)o={flexBasis:"auto",flexGrow:0,flexShrink:0,maxWidth:"none",width:"auto"};else{const i=Mr({values:t.columns,breakpoints:e.breakpoints.values}),s="object"==typeof i?i[a]:i;if(null==s)return n;const l=Math.round(r/s*1e8)/1e6+"%";let c={};if(t.container&&t.item&&0!==t.columnSpacing){const r=e.spacing(t.columnSpacing);if("0px"!==r){const e=`calc(${l} + ${Es(r)})`;c={flexBasis:e,maxWidth:e}}}o=fr({flexBasis:l,flexGrow:0,maxWidth:l},c)}return 0===e.breakpoints.values[a]?Object.assign(n,o):n[e.breakpoints.up(a)]=o,n}),{})}));const Ms=e=>{const{classes:t,container:r,direction:n,item:a,spacing:o,wrap:i,zeroMinWidth:s,breakpoints:l}=e;let c=[];r&&(c=function(e,t){if(!e||e<=0)return[];if("string"==typeof e&&!Number.isNaN(Number(e))||"number"==typeof e)return[`spacing-xs-${String(e)}`];const r=[];return t.forEach((t=>{const n=e[t];if(Number(n)>0){const e=`spacing-${t}-${String(n)}`;r.push(e)}})),r}(o,l));const u=[];l.forEach((t=>{const r=e[t];r&&u.push(`grid-${t}-${String(r)}`)}));return function(e,t,r){const n={};return Object.keys(e).forEach((a=>{n[a]=e[a].reduce(((e,n)=>{if(n){const a=t(n);""!==a&&e.push(a),r&&r[n]&&e.push(r[n])}return e}),[]).join(" ")})),n}({root:["root",r&&"container",a&&"item",s&&"zeroMinWidth",...c,"row"!==n&&`direction-xs-${String(n)}`,"wrap"!==i&&`wrap-xs-${String(i)}`,...u]},xs,t)},Ts=t.forwardRef((function(r,n){const a=hs({props:r,name:"MuiGrid"}),{breakpoints:o}=function(){const e=qo(us);return e[ma]||e}(),i=Yo(a),{className:s,columns:l,columnSpacing:c,component:u="div",container:d=!1,direction:p="row",item:f=!1,rowSpacing:m,spacing:h=0,wrap:g="wrap",zeroMinWidth:b=!1}=i,y=mr(i,Ss),x=m||h,v=c||h,w=t.useContext(gs),k=d?l||12:w,S={},E=fr({},y);o.keys.forEach((e=>{null!=y[e]&&(S[e]=y[e],delete E[e])}));const A=fr({},i,{columns:k,container:d,direction:p,item:f,rowSpacing:x,columnSpacing:v,wrap:g,zeroMinWidth:b,spacing:h},S,{breakpoints:o.keys}),_=Ms(A);return(0,e.jsx)(gs.Provider,{value:k,children:(0,e.jsx)(_s,fr({ownerState:A,className:Po(_.root,s),as:u,ref:n},E))})}));const Os=Ts;var Cs=function(){return Cs=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++)for(var a in t=arguments[r])Object.prototype.hasOwnProperty.call(t,a)&&(e[a]=t[a]);return e},Cs.apply(this,arguments)},Ns=function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var a=0;for(n=Object.getOwnPropertySymbols(e);a<n.length;a++)t.indexOf(n[a])<0&&Object.prototype.propertyIsEnumerable.call(e,n[a])&&(r[n[a]]=e[n[a]])}return r},Rs=function(e){var t=e.children,r=e.className,n=e.justifyContent,a=e.styles,o=Ns(e,["children","className","justifyContent","styles"]),i=Cs(Cs({},n?{display:"flex",justifyContent:n}:{}),a||{});return Re(ei,Cs({component:"div",className:pr()(r,"container"),sx:i},o,{children:t}))};Rs.defaultProps={};const Is=Rs;function Fs(e){return Fs="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},Fs(e)}var Ps=/^\s+/,$s=/\s+$/;function Ls(e,t){if(t=t||{},(e=e||"")instanceof Ls)return e;if(!(this instanceof Ls))return new Ls(e,t);var r=function(e){var t={r:0,g:0,b:0},r=1,n=null,a=null,o=null,i=!1,s=!1;"string"==typeof e&&(e=function(e){e=e.replace(Ps,"").replace($s,"").toLowerCase();var t,r=!1;if(el[e])e=el[e],r=!0;else if("transparent"==e)return{r:0,g:0,b:0,a:0,format:"name"};if(t=fl.rgb.exec(e))return{r:t[1],g:t[2],b:t[3]};if(t=fl.rgba.exec(e))return{r:t[1],g:t[2],b:t[3],a:t[4]};if(t=fl.hsl.exec(e))return{h:t[1],s:t[2],l:t[3]};if(t=fl.hsla.exec(e))return{h:t[1],s:t[2],l:t[3],a:t[4]};if(t=fl.hsv.exec(e))return{h:t[1],s:t[2],v:t[3]};if(t=fl.hsva.exec(e))return{h:t[1],s:t[2],v:t[3],a:t[4]};if(t=fl.hex8.exec(e))return{r:ol(t[1]),g:ol(t[2]),b:ol(t[3]),a:cl(t[4]),format:r?"name":"hex8"};if(t=fl.hex6.exec(e))return{r:ol(t[1]),g:ol(t[2]),b:ol(t[3]),format:r?"name":"hex"};if(t=fl.hex4.exec(e))return{r:ol(t[1]+""+t[1]),g:ol(t[2]+""+t[2]),b:ol(t[3]+""+t[3]),a:cl(t[4]+""+t[4]),format:r?"name":"hex8"};if(t=fl.hex3.exec(e))return{r:ol(t[1]+""+t[1]),g:ol(t[2]+""+t[2]),b:ol(t[3]+""+t[3]),format:r?"name":"hex"};return!1}(e));"object"==Fs(e)&&(ml(e.r)&&ml(e.g)&&ml(e.b)?(t=function(e,t,r){return{r:255*nl(e,255),g:255*nl(t,255),b:255*nl(r,255)}}(e.r,e.g,e.b),i=!0,s="%"===String(e.r).substr(-1)?"prgb":"rgb"):ml(e.h)&&ml(e.s)&&ml(e.v)?(n=sl(e.s),a=sl(e.v),t=function(e,t,r){e=6*nl(e,360),t=nl(t,100),r=nl(r,100);var n=Math.floor(e),a=e-n,o=r*(1-t),i=r*(1-a*t),s=r*(1-(1-a)*t),l=n%6,c=[r,i,o,o,s,r][l],u=[s,r,r,i,o,o][l],d=[o,o,s,r,r,i][l];return{r:255*c,g:255*u,b:255*d}}(e.h,n,a),i=!0,s="hsv"):ml(e.h)&&ml(e.s)&&ml(e.l)&&(n=sl(e.s),o=sl(e.l),t=function(e,t,r){var n,a,o;function i(e,t,r){return r<0&&(r+=1),r>1&&(r-=1),r<1/6?e+6*(t-e)*r:r<.5?t:r<2/3?e+(t-e)*(2/3-r)*6:e}if(e=nl(e,360),t=nl(t,100),r=nl(r,100),0===t)n=a=o=r;else{var s=r<.5?r*(1+t):r+t-r*t,l=2*r-s;n=i(l,s,e+1/3),a=i(l,s,e),o=i(l,s,e-1/3)}return{r:255*n,g:255*a,b:255*o}}(e.h,n,o),i=!0,s="hsl"),e.hasOwnProperty("a")&&(r=e.a));return r=rl(r),{ok:i,format:e.format||s,r:Math.min(255,Math.max(t.r,0)),g:Math.min(255,Math.max(t.g,0)),b:Math.min(255,Math.max(t.b,0)),a:r}}(e);this._originalInput=e,this._r=r.r,this._g=r.g,this._b=r.b,this._a=r.a,this._roundA=Math.round(100*this._a)/100,this._format=t.format||r.format,this._gradientType=t.gradientType,this._r<1&&(this._r=Math.round(this._r)),this._g<1&&(this._g=Math.round(this._g)),this._b<1&&(this._b=Math.round(this._b)),this._ok=r.ok}function js(e,t,r){e=nl(e,255),t=nl(t,255),r=nl(r,255);var n,a,o=Math.max(e,t,r),i=Math.min(e,t,r),s=(o+i)/2;if(o==i)n=a=0;else{var l=o-i;switch(a=s>.5?l/(2-o-i):l/(o+i),o){case e:n=(t-r)/l+(t<r?6:0);break;case t:n=(r-e)/l+2;break;case r:n=(e-t)/l+4}n/=6}return{h:n,s:a,l:s}}function Ds(e,t,r){e=nl(e,255),t=nl(t,255),r=nl(r,255);var n,a,o=Math.max(e,t,r),i=Math.min(e,t,r),s=o,l=o-i;if(a=0===o?0:l/o,o==i)n=0;else{switch(o){case e:n=(t-r)/l+(t<r?6:0);break;case t:n=(r-e)/l+2;break;case r:n=(e-t)/l+4}n/=6}return{h:n,s:a,v:s}}function zs(e,t,r,n){var a=[il(Math.round(e).toString(16)),il(Math.round(t).toString(16)),il(Math.round(r).toString(16))];return n&&a[0].charAt(0)==a[0].charAt(1)&&a[1].charAt(0)==a[1].charAt(1)&&a[2].charAt(0)==a[2].charAt(1)?a[0].charAt(0)+a[1].charAt(0)+a[2].charAt(0):a.join("")}function Bs(e,t,r,n){return[il(ll(n)),il(Math.round(e).toString(16)),il(Math.round(t).toString(16)),il(Math.round(r).toString(16))].join("")}function Hs(e,t){t=0===t?0:t||10;var r=Ls(e).toHsl();return r.s-=t/100,r.s=al(r.s),Ls(r)}function Ws(e,t){t=0===t?0:t||10;var r=Ls(e).toHsl();return r.s+=t/100,r.s=al(r.s),Ls(r)}function Us(e){return Ls(e).desaturate(100)}function Gs(e,t){t=0===t?0:t||10;var r=Ls(e).toHsl();return r.l+=t/100,r.l=al(r.l),Ls(r)}function Ys(e,t){t=0===t?0:t||10;var r=Ls(e).toRgb();return r.r=Math.max(0,Math.min(255,r.r-Math.round(-t/100*255))),r.g=Math.max(0,Math.min(255,r.g-Math.round(-t/100*255))),r.b=Math.max(0,Math.min(255,r.b-Math.round(-t/100*255))),Ls(r)}function Ks(e,t){t=0===t?0:t||10;var r=Ls(e).toHsl();return r.l-=t/100,r.l=al(r.l),Ls(r)}function qs(e,t){var r=Ls(e).toHsl(),n=(r.h+t)%360;return r.h=n<0?360+n:n,Ls(r)}function Xs(e){var t=Ls(e).toHsl();return t.h=(t.h+180)%360,Ls(t)}function Vs(e,t){if(isNaN(t)||t<=0)throw new Error("Argument to polyad must be a positive number");for(var r=Ls(e).toHsl(),n=[Ls(e)],a=360/t,o=1;o<t;o++)n.push(Ls({h:(r.h+o*a)%360,s:r.s,l:r.l}));return n}function Js(e){var t=Ls(e).toHsl(),r=t.h;return[Ls(e),Ls({h:(r+72)%360,s:t.s,l:t.l}),Ls({h:(r+216)%360,s:t.s,l:t.l})]}function Zs(e,t,r){t=t||6,r=r||30;var n=Ls(e).toHsl(),a=360/r,o=[Ls(e)];for(n.h=(n.h-(a*t>>1)+720)%360;--t;)n.h=(n.h+a)%360,o.push(Ls(n));return o}function Qs(e,t){t=t||6;for(var r=Ls(e).toHsv(),n=r.h,a=r.s,o=r.v,i=[],s=1/t;t--;)i.push(Ls({h:n,s:a,v:o})),o=(o+s)%1;return i}Ls.prototype={isDark:function(){return this.getBrightness()<128},isLight:function(){return!this.isDark()},isValid:function(){return this._ok},getOriginalInput:function(){return this._originalInput},getFormat:function(){return this._format},getAlpha:function(){return this._a},getBrightness:function(){var e=this.toRgb();return(299*e.r+587*e.g+114*e.b)/1e3},getLuminance:function(){var e,t,r,n=this.toRgb();return e=n.r/255,t=n.g/255,r=n.b/255,.2126*(e<=.03928?e/12.92:Math.pow((e+.055)/1.055,2.4))+.7152*(t<=.03928?t/12.92:Math.pow((t+.055)/1.055,2.4))+.0722*(r<=.03928?r/12.92:Math.pow((r+.055)/1.055,2.4))},setAlpha:function(e){return this._a=rl(e),this._roundA=Math.round(100*this._a)/100,this},toHsv:function(){var e=Ds(this._r,this._g,this._b);return{h:360*e.h,s:e.s,v:e.v,a:this._a}},toHsvString:function(){var e=Ds(this._r,this._g,this._b),t=Math.round(360*e.h),r=Math.round(100*e.s),n=Math.round(100*e.v);return 1==this._a?"hsv("+t+", "+r+"%, "+n+"%)":"hsva("+t+", "+r+"%, "+n+"%, "+this._roundA+")"},toHsl:function(){var e=js(this._r,this._g,this._b);return{h:360*e.h,s:e.s,l:e.l,a:this._a}},toHslString:function(){var e=js(this._r,this._g,this._b),t=Math.round(360*e.h),r=Math.round(100*e.s),n=Math.round(100*e.l);return 1==this._a?"hsl("+t+", "+r+"%, "+n+"%)":"hsla("+t+", "+r+"%, "+n+"%, "+this._roundA+")"},toHex:function(e){return zs(this._r,this._g,this._b,e)},toHexString:function(e){return"#"+this.toHex(e)},toHex8:function(e){return function(e,t,r,n,a){var o=[il(Math.round(e).toString(16)),il(Math.round(t).toString(16)),il(Math.round(r).toString(16)),il(ll(n))];if(a&&o[0].charAt(0)==o[0].charAt(1)&&o[1].charAt(0)==o[1].charAt(1)&&o[2].charAt(0)==o[2].charAt(1)&&o[3].charAt(0)==o[3].charAt(1))return o[0].charAt(0)+o[1].charAt(0)+o[2].charAt(0)+o[3].charAt(0);return o.join("")}(this._r,this._g,this._b,this._a,e)},toHex8String:function(e){return"#"+this.toHex8(e)},toRgb:function(){return{r:Math.round(this._r),g:Math.round(this._g),b:Math.round(this._b),a:this._a}},toRgbString:function(){return 1==this._a?"rgb("+Math.round(this._r)+", "+Math.round(this._g)+", "+Math.round(this._b)+")":"rgba("+Math.round(this._r)+", "+Math.round(this._g)+", "+Math.round(this._b)+", "+this._roundA+")"},toPercentageRgb:function(){return{r:Math.round(100*nl(this._r,255))+"%",g:Math.round(100*nl(this._g,255))+"%",b:Math.round(100*nl(this._b,255))+"%",a:this._a}},toPercentageRgbString:function(){return 1==this._a?"rgb("+Math.round(100*nl(this._r,255))+"%, "+Math.round(100*nl(this._g,255))+"%, "+Math.round(100*nl(this._b,255))+"%)":"rgba("+Math.round(100*nl(this._r,255))+"%, "+Math.round(100*nl(this._g,255))+"%, "+Math.round(100*nl(this._b,255))+"%, "+this._roundA+")"},toName:function(){return 0===this._a?"transparent":!(this._a<1)&&(tl[zs(this._r,this._g,this._b,!0)]||!1)},toFilter:function(e){var t="#"+Bs(this._r,this._g,this._b,this._a),r=t,n=this._gradientType?"GradientType = 1, ":"";if(e){var a=Ls(e);r="#"+Bs(a._r,a._g,a._b,a._a)}return"progid:DXImageTransform.Microsoft.gradient("+n+"startColorstr="+t+",endColorstr="+r+")"},toString:function(e){var t=!!e;e=e||this._format;var r=!1,n=this._a<1&&this._a>=0;return t||!n||"hex"!==e&&"hex6"!==e&&"hex3"!==e&&"hex4"!==e&&"hex8"!==e&&"name"!==e?("rgb"===e&&(r=this.toRgbString()),"prgb"===e&&(r=this.toPercentageRgbString()),"hex"!==e&&"hex6"!==e||(r=this.toHexString()),"hex3"===e&&(r=this.toHexString(!0)),"hex4"===e&&(r=this.toHex8String(!0)),"hex8"===e&&(r=this.toHex8String()),"name"===e&&(r=this.toName()),"hsl"===e&&(r=this.toHslString()),"hsv"===e&&(r=this.toHsvString()),r||this.toHexString()):"name"===e&&0===this._a?this.toName():this.toRgbString()},clone:function(){return Ls(this.toString())},_applyModification:function(e,t){var r=e.apply(null,[this].concat([].slice.call(t)));return this._r=r._r,this._g=r._g,this._b=r._b,this.setAlpha(r._a),this},lighten:function(){return this._applyModification(Gs,arguments)},brighten:function(){return this._applyModification(Ys,arguments)},darken:function(){return this._applyModification(Ks,arguments)},desaturate:function(){return this._applyModification(Hs,arguments)},saturate:function(){return this._applyModification(Ws,arguments)},greyscale:function(){return this._applyModification(Us,arguments)},spin:function(){return this._applyModification(qs,arguments)},_applyCombination:function(e,t){return e.apply(null,[this].concat([].slice.call(t)))},analogous:function(){return this._applyCombination(Zs,arguments)},complement:function(){return this._applyCombination(Xs,arguments)},monochromatic:function(){return this._applyCombination(Qs,arguments)},splitcomplement:function(){return this._applyCombination(Js,arguments)},triad:function(){return this._applyCombination(Vs,[3])},tetrad:function(){return this._applyCombination(Vs,[4])}},Ls.fromRatio=function(e,t){if("object"==Fs(e)){var r={};for(var n in e)e.hasOwnProperty(n)&&(r[n]="a"===n?e[n]:sl(e[n]));e=r}return Ls(e,t)},Ls.equals=function(e,t){return!(!e||!t)&&Ls(e).toRgbString()==Ls(t).toRgbString()},Ls.random=function(){return Ls.fromRatio({r:Math.random(),g:Math.random(),b:Math.random()})},Ls.mix=function(e,t,r){r=0===r?0:r||50;var n=Ls(e).toRgb(),a=Ls(t).toRgb(),o=r/100;return Ls({r:(a.r-n.r)*o+n.r,g:(a.g-n.g)*o+n.g,b:(a.b-n.b)*o+n.b,a:(a.a-n.a)*o+n.a})},Ls.readability=function(e,t){var r=Ls(e),n=Ls(t);return(Math.max(r.getLuminance(),n.getLuminance())+.05)/(Math.min(r.getLuminance(),n.getLuminance())+.05)},Ls.isReadable=function(e,t,r){var n,a,o=Ls.readability(e,t);switch(a=!1,(n=function(e){var t,r;t=((e=e||{level:"AA",size:"small"}).level||"AA").toUpperCase(),r=(e.size||"small").toLowerCase(),"AA"!==t&&"AAA"!==t&&(t="AA");"small"!==r&&"large"!==r&&(r="small");return{level:t,size:r}}(r)).level+n.size){case"AAsmall":case"AAAlarge":a=o>=4.5;break;case"AAlarge":a=o>=3;break;case"AAAsmall":a=o>=7}return a},Ls.mostReadable=function(e,t,r){var n,a,o,i,s=null,l=0;a=(r=r||{}).includeFallbackColors,o=r.level,i=r.size;for(var c=0;c<t.length;c++)(n=Ls.readability(e,t[c]))>l&&(l=n,s=Ls(t[c]));return Ls.isReadable(e,s,{level:o,size:i})||!a?s:(r.includeFallbackColors=!1,Ls.mostReadable(e,["#fff","#000"],r))};var el=Ls.names={aliceblue:"f0f8ff",antiquewhite:"faebd7",aqua:"0ff",aquamarine:"7fffd4",azure:"f0ffff",beige:"f5f5dc",bisque:"ffe4c4",black:"000",blanchedalmond:"ffebcd",blue:"00f",blueviolet:"8a2be2",brown:"a52a2a",burlywood:"deb887",burntsienna:"ea7e5d",cadetblue:"5f9ea0",chartreuse:"7fff00",chocolate:"d2691e",coral:"ff7f50",cornflowerblue:"6495ed",cornsilk:"fff8dc",crimson:"dc143c",cyan:"0ff",darkblue:"00008b",darkcyan:"008b8b",darkgoldenrod:"b8860b",darkgray:"a9a9a9",darkgreen:"006400",darkgrey:"a9a9a9",darkkhaki:"bdb76b",darkmagenta:"8b008b",darkolivegreen:"556b2f",darkorange:"ff8c00",darkorchid:"9932cc",darkred:"8b0000",darksalmon:"e9967a",darkseagreen:"8fbc8f",darkslateblue:"483d8b",darkslategray:"2f4f4f",darkslategrey:"2f4f4f",darkturquoise:"00ced1",darkviolet:"9400d3",deeppink:"ff1493",deepskyblue:"00bfff",dimgray:"696969",dimgrey:"696969",dodgerblue:"1e90ff",firebrick:"b22222",floralwhite:"fffaf0",forestgreen:"228b22",fuchsia:"f0f",gainsboro:"dcdcdc",ghostwhite:"f8f8ff",gold:"ffd700",goldenrod:"daa520",gray:"808080",green:"008000",greenyellow:"adff2f",grey:"808080",honeydew:"f0fff0",hotpink:"ff69b4",indianred:"cd5c5c",indigo:"4b0082",ivory:"fffff0",khaki:"f0e68c",lavender:"e6e6fa",lavenderblush:"fff0f5",lawngreen:"7cfc00",lemonchiffon:"fffacd",lightblue:"add8e6",lightcoral:"f08080",lightcyan:"e0ffff",lightgoldenrodyellow:"fafad2",lightgray:"d3d3d3",lightgreen:"90ee90",lightgrey:"d3d3d3",lightpink:"ffb6c1",lightsalmon:"ffa07a",lightseagreen:"20b2aa",lightskyblue:"87cefa",lightslategray:"789",lightslategrey:"789",lightsteelblue:"b0c4de",lightyellow:"ffffe0",lime:"0f0",limegreen:"32cd32",linen:"faf0e6",magenta:"f0f",maroon:"800000",mediumaquamarine:"66cdaa",mediumblue:"0000cd",mediumorchid:"ba55d3",mediumpurple:"9370db",mediumseagreen:"3cb371",mediumslateblue:"7b68ee",mediumspringgreen:"00fa9a",mediumturquoise:"48d1cc",mediumvioletred:"c71585",midnightblue:"191970",mintcream:"f5fffa",mistyrose:"ffe4e1",moccasin:"ffe4b5",navajowhite:"ffdead",navy:"000080",oldlace:"fdf5e6",olive:"808000",olivedrab:"6b8e23",orange:"ffa500",orangered:"ff4500",orchid:"da70d6",palegoldenrod:"eee8aa",palegreen:"98fb98",paleturquoise:"afeeee",palevioletred:"db7093",papayawhip:"ffefd5",peachpuff:"ffdab9",peru:"cd853f",pink:"ffc0cb",plum:"dda0dd",powderblue:"b0e0e6",purple:"800080",rebeccapurple:"663399",red:"f00",rosybrown:"bc8f8f",royalblue:"4169e1",saddlebrown:"8b4513",salmon:"fa8072",sandybrown:"f4a460",seagreen:"2e8b57",seashell:"fff5ee",sienna:"a0522d",silver:"c0c0c0",skyblue:"87ceeb",slateblue:"6a5acd",slategray:"708090",slategrey:"708090",snow:"fffafa",springgreen:"00ff7f",steelblue:"4682b4",tan:"d2b48c",teal:"008080",thistle:"d8bfd8",tomato:"ff6347",turquoise:"40e0d0",violet:"ee82ee",wheat:"f5deb3",white:"fff",whitesmoke:"f5f5f5",yellow:"ff0",yellowgreen:"9acd32"},tl=Ls.hexNames=function(e){var t={};for(var r in e)e.hasOwnProperty(r)&&(t[e[r]]=r);return t}(el);function rl(e){return e=parseFloat(e),(isNaN(e)||e<0||e>1)&&(e=1),e}function nl(e,t){(function(e){return"string"==typeof e&&-1!=e.indexOf(".")&&1===parseFloat(e)})(e)&&(e="100%");var r=function(e){return"string"==typeof e&&-1!=e.indexOf("%")}(e);return e=Math.min(t,Math.max(0,parseFloat(e))),r&&(e=parseInt(e*t,10)/100),Math.abs(e-t)<1e-6?1:e%t/parseFloat(t)}function al(e){return Math.min(1,Math.max(0,e))}function ol(e){return parseInt(e,16)}function il(e){return 1==e.length?"0"+e:""+e}function sl(e){return e<=1&&(e=100*e+"%"),e}function ll(e){return Math.round(255*parseFloat(e)).toString(16)}function cl(e){return ol(e)/255}var ul,dl,pl,fl=(dl="[\\s|\\(]+("+(ul="(?:[-\\+]?\\d*\\.\\d+%?)|(?:[-\\+]?\\d+%?)")+")[,|\\s]+("+ul+")[,|\\s]+("+ul+")\\s*\\)?",pl="[\\s|\\(]+("+ul+")[,|\\s]+("+ul+")[,|\\s]+("+ul+")[,|\\s]+("+ul+")\\s*\\)?",{CSS_UNIT:new RegExp(ul),rgb:new RegExp("rgb"+dl),rgba:new RegExp("rgba"+pl),hsl:new RegExp("hsl"+dl),hsla:new RegExp("hsla"+pl),hsv:new RegExp("hsv"+dl),hsva:new RegExp("hsva"+pl),hex3:/^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex6:/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/,hex4:/^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex8:/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/});function ml(e){return!!fl.CSS_UNIT.exec(e)}var hl=function(e){if(!e)return"/";var t;t=e.startsWith("https")||e.startsWith("http")||e.startsWith("mailto")||e.startsWith("#")||e.startsWith("/")||e.startsWith("tel")||e.startsWith("sms")?e:-1!==e.indexOf(".")?"https://"+e:"";var r,n=((r=window.location.pathname).includes("/r/")&&(r=(r=r.substring(0,r.indexOf("/r/"))).substring(0,r.lastIndexOf("/"))),r+(r.endsWith("/")?"":"/"));return t&&t.startsWith(n+"#")?"#"+t.split("#")[1]:t},gl=function(){return window.location.href.includes("viewMode=modal")};const bl=function(){var e,r,n=(r=(0,t.useContext)(Fe).elements,e?e.split(".").reduce((function(e,t){return e&&e[t]?e[t]:null}),r):r),a=n.header,o=n.text,i=n.partners;return Ie(Is,{children:[Ie(ei,{component:"div",textAlign:"center",children:[a.value&&Re(ei,{component:(null==a?void 0:a.htmlTag)||"h4",className:a.className,dangerouslySetInnerHTML:{__html:a.value}}),o.value&&Re(ei,{component:"p",className:o.className,dangerouslySetInnerHTML:{__html:o.value}})]}),Re(Os,{container:!0,spacing:3,alignItems:"center",children:i.items.map((function(e,t){return Re(Os,{item:!0,style:{textAlign:"center"},lg:i.items.length%6==0?2:i.items.length%4==0?3:4,md:i.items.length%4==0?3:4,xs:12,children:Re("a",{href:e.link.action.action&&e.link.action.action.startsWith("Open modal")&&!gl()&&"function"==typeof window.openSwModal?void 0:hl(e.link.action.options.url.destination),target:e.link.action.options.url.target,onClick:function(t){var r,n,a,o;(null===(a=null===(n=null===(r=e.link)||void 0===r?void 0:r.action)||void 0===n?void 0:n.options)||void 0===a?void 0:a.url.destination)||t.preventDefault(),e.link.action.action&&e.link.action.action.startsWith("Open modal")&&!gl()&&"function"==typeof window.openSwModal&&window.openSwModal(null===(o=e.link.action)||void 0===o?void 0:o.options.url.destination,e.link.action.options.modalOptions.modalSize)},children:Re("img",{src:e.picture.src,className:e.picture.className})})},t)}))})]})};var yl=function(){return yl=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++)for(var a in t=arguments[r])Object.prototype.hasOwnProperty.call(t,a)&&(e[a]=t[a]);return e},yl.apply(this,arguments)};const xl=function(e){return Re(es,yl({},e,{children:Re(bl,{})}))}})(),renderBlock=n.default})();;
if (typeof renderBlock !== "function") {
throw new Error("No renderBlock function found", {"name":"partner1","version":"3.0.1"});
}
// webpack builds expose a single global named renderBlock
window["SoftrBlock_partner1_3.0.1"] = renderBlock;
}
</script><script data-for-block-name="footer3" data-for-block-version="3.2.0">
{
// React 18 blocks expect react and react-dom to be available
// as variables with this name
var react18 = window.react18;
var react_dom18 = window.react_dom18;
var renderBlock;(()=>{var e={94184:(e,t)=>{var r;!function(){"use strict";var n={}.hasOwnProperty;function a(){for(var e=[],t=0;t<arguments.length;t++){var r=arguments[t];if(r){var o=typeof r;if("string"===o||"number"===o)e.push(r);else if(Array.isArray(r)){if(r.length){var i=a.apply(null,r);i&&e.push(i)}}else if("object"===o)if(r.toString===Object.prototype.toString)for(var s in r)n.call(r,s)&&r[s]&&e.push(s);else e.push(r.toString())}}return e.join(" ")}e.exports?(a.default=a,e.exports=a):void 0===(r=function(){return a}.apply(t,[]))||(e.exports=r)}()},8679:(e,t,r)=>{"use strict";var n=r(21296),a={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},o={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},i={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},s={};function l(e){return n.isMemo(e)?i:s[e.$$typeof]||a}s[n.ForwardRef]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},s[n.Memo]=i;var c=Object.defineProperty,u=Object.getOwnPropertyNames,d=Object.getOwnPropertySymbols,f=Object.getOwnPropertyDescriptor,p=Object.getPrototypeOf,m=Object.prototype;e.exports=function e(t,r,n){if("string"!=typeof r){if(m){var a=p(r);a&&a!==m&&e(t,a,n)}var i=u(r);d&&(i=i.concat(d(r)));for(var s=l(t),h=l(r),g=0;g<i.length;++g){var b=i[g];if(!(o[b]||n&&n[b]||h&&h[b]||s&&s[b])){var y=f(r,b);try{c(t,b,y)}catch(x){}}}}return t}},96103:(e,t)=>{"use strict";var r="function"==typeof Symbol&&Symbol.for,n=r?Symbol.for("react.element"):60103,a=r?Symbol.for("react.portal"):60106,o=r?Symbol.for("react.fragment"):60107,i=r?Symbol.for("react.strict_mode"):60108,s=r?Symbol.for("react.profiler"):60114,l=r?Symbol.for("react.provider"):60109,c=r?Symbol.for("react.context"):60110,u=r?Symbol.for("react.async_mode"):60111,d=r?Symbol.for("react.concurrent_mode"):60111,f=r?Symbol.for("react.forward_ref"):60112,p=r?Symbol.for("react.suspense"):60113,m=r?Symbol.for("react.suspense_list"):60120,h=r?Symbol.for("react.memo"):60115,g=r?Symbol.for("react.lazy"):60116,b=r?Symbol.for("react.block"):60121,y=r?Symbol.for("react.fundamental"):60117,x=r?Symbol.for("react.responder"):60118,v=r?Symbol.for("react.scope"):60119;function w(e){if("object"==typeof e&&null!==e){var t=e.$$typeof;switch(t){case n:switch(e=e.type){case u:case d:case o:case s:case i:case p:return e;default:switch(e=e&&e.$$typeof){case c:case f:case g:case h:case l:return e;default:return t}}case a:return t}}}function k(e){return w(e)===d}t.AsyncMode=u,t.ConcurrentMode=d,t.ContextConsumer=c,t.ContextProvider=l,t.Element=n,t.ForwardRef=f,t.Fragment=o,t.Lazy=g,t.Memo=h,t.Portal=a,t.Profiler=s,t.StrictMode=i,t.Suspense=p,t.isAsyncMode=function(e){return k(e)||w(e)===u},t.isConcurrentMode=k,t.isContextConsumer=function(e){return w(e)===c},t.isContextProvider=function(e){return w(e)===l},t.isElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===n},t.isForwardRef=function(e){return w(e)===f},t.isFragment=function(e){return w(e)===o},t.isLazy=function(e){return w(e)===g},t.isMemo=function(e){return w(e)===h},t.isPortal=function(e){return w(e)===a},t.isProfiler=function(e){return w(e)===s},t.isStrictMode=function(e){return w(e)===i},t.isSuspense=function(e){return w(e)===p},t.isValidElementType=function(e){return"string"==typeof e||"function"==typeof e||e===o||e===d||e===s||e===i||e===p||e===m||"object"==typeof e&&null!==e&&(e.$$typeof===g||e.$$typeof===h||e.$$typeof===l||e.$$typeof===c||e.$$typeof===f||e.$$typeof===y||e.$$typeof===x||e.$$typeof===v||e.$$typeof===b)},t.typeOf=w},21296:(e,t,r)=>{"use strict";e.exports=r(96103)},75251:(e,t,r)=>{"use strict";var n=r(74570),a=Symbol.for("react.element"),o=Symbol.for("react.fragment"),i=Object.prototype.hasOwnProperty,s=n.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,l={key:!0,ref:!0,__self:!0,__source:!0};function c(e,t,r){var n,o={},c=null,u=null;for(n in void 0!==r&&(c=""+r),void 0!==t.key&&(c=""+t.key),void 0!==t.ref&&(u=t.ref),t)i.call(t,n)&&!l.hasOwnProperty(n)&&(o[n]=t[n]);if(e&&e.defaultProps)for(n in t=e.defaultProps)void 0===o[n]&&(o[n]=t[n]);return{$$typeof:a,type:e,key:c,ref:u,props:o,_owner:s.current}}t.Fragment=o,t.jsx=c,t.jsxs=c},85893:(e,t,r)=>{"use strict";e.exports=r(75251)},74570:e=>{"use strict";e.exports=react18}},t={};function r(n){var a=t[n];if(void 0!==a)return a.exports;var o=t[n]={exports:{}};return e[n](o,o.exports,r),o.exports}r.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return r.d(t,{a:t}),t},r.d=(e,t)=>{for(var n in t)r.o(t,n)&&!r.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},r.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t);var n={};(()=>{"use strict";r.d(n,{default:()=>vl});var e=r(85893),t=r(74570),a=r.n(t);var o=function(){function e(e){var t=this;this._insertTag=function(e){var r;r=0===t.tags.length?t.insertionPoint?t.insertionPoint.nextSibling:t.prepend?t.container.firstChild:t.before:t.tags[t.tags.length-1].nextSibling,t.container.insertBefore(e,r),t.tags.push(e)},this.isSpeedy=void 0===e.speedy||e.speedy,this.tags=[],this.ctr=0,this.nonce=e.nonce,this.key=e.key,this.container=e.container,this.prepend=e.prepend,this.insertionPoint=e.insertionPoint,this.before=null}var t=e.prototype;return t.hydrate=function(e){e.forEach(this._insertTag)},t.insert=function(e){this.ctr%(this.isSpeedy?65e3:1)==0&&this._insertTag(function(e){var t=document.createElement("style");return t.setAttribute("data-emotion",e.key),void 0!==e.nonce&&t.setAttribute("nonce",e.nonce),t.appendChild(document.createTextNode("")),t.setAttribute("data-s",""),t}(this));var t=this.tags[this.tags.length-1];if(this.isSpeedy){var r=function(e){if(e.sheet)return e.sheet;for(var t=0;t<document.styleSheets.length;t++)if(document.styleSheets[t].ownerNode===e)return document.styleSheets[t]}(t);try{r.insertRule(e,r.cssRules.length)}catch(n){0}}else t.appendChild(document.createTextNode(e));this.ctr++},t.flush=function(){this.tags.forEach((function(e){return e.parentNode&&e.parentNode.removeChild(e)})),this.tags=[],this.ctr=0},e}(),i=Math.abs,s=String.fromCharCode,l=Object.assign;function c(e){return e.trim()}function u(e,t,r){return e.replace(t,r)}function d(e,t){return e.indexOf(t)}function f(e,t){return 0|e.charCodeAt(t)}function p(e,t,r){return e.slice(t,r)}function m(e){return e.length}function h(e){return e.length}function g(e,t){return t.push(e),e}var b=1,y=1,x=0,v=0,w=0,k="";function S(e,t,r,n,a,o,i){return{value:e,root:t,parent:r,type:n,props:a,children:o,line:b,column:y,length:i,return:""}}function E(e,t){return l(S("",null,null,"",null,null,0),e,{length:-e.length},t)}function _(){return w=v>0?f(k,--v):0,y--,10===w&&(y=1,b--),w}function A(){return w=v<x?f(k,v++):0,y++,10===w&&(y=1,b++),w}function M(){return f(k,v)}function T(){return v}function O(e,t){return p(k,e,t)}function C(e){switch(e){case 0:case 9:case 10:case 13:case 32:return 5;case 33:case 43:case 44:case 47:case 62:case 64:case 126:case 59:case 123:case 125:return 4;case 58:return 3;case 34:case 39:case 40:case 91:return 2;case 41:case 93:return 1}return 0}function N(e){return b=y=1,x=m(k=e),v=0,[]}function R(e){return k="",e}function I(e){return c(O(v-1,L(91===e?e+2:40===e?e+1:e)))}function F(e){for(;(w=M())&&w<33;)A();return C(e)>2||C(w)>3?"":" "}function P(e,t){for(;--t&&A()&&!(w<48||w>102||w>57&&w<65||w>70&&w<97););return O(e,T()+(t<6&&32==M()&&32==A()))}function L(e){for(;A();)switch(w){case e:return v;case 34:case 39:34!==e&&39!==e&&L(w);break;case 40:41===e&&L(e);break;case 92:A()}return v}function $(e,t){for(;A()&&e+w!==57&&(e+w!==84||47!==M()););return"/*"+O(t,v-1)+"*"+s(47===e?e:A())}function j(e){for(;!C(M());)A();return O(e,v)}var D="-ms-",z="-moz-",H="-webkit-",B="comm",W="rule",U="decl",G="@keyframes";function Y(e,t){for(var r="",n=h(e),a=0;a<n;a++)r+=t(e[a],a,e,t)||"";return r}function K(e,t,r,n){switch(e.type){case"@layer":if(e.children.length)break;case"@import":case U:return e.return=e.return||e.value;case B:return"";case G:return e.return=e.value+"{"+Y(e.children,n)+"}";case W:e.value=e.props.join(",")}return m(r=Y(e.children,n))?e.return=e.value+"{"+r+"}":""}function q(e){return R(X("",null,null,null,[""],e=N(e),0,[0],e))}function X(e,t,r,n,a,o,i,l,c){for(var p=0,h=0,b=i,y=0,x=0,v=0,w=1,k=1,S=1,E=0,O="",C=a,N=o,R=n,L=O;k;)switch(v=E,E=A()){case 40:if(108!=v&&58==f(L,b-1)){-1!=d(L+=u(I(E),"&","&\f"),"&\f")&&(S=-1);break}case 34:case 39:case 91:L+=I(E);break;case 9:case 10:case 13:case 32:L+=F(v);break;case 92:L+=P(T()-1,7);continue;case 47:switch(M()){case 42:case 47:g(J($(A(),T()),t,r),c);break;default:L+="/"}break;case 123*w:l[p++]=m(L)*S;case 125*w:case 59:case 0:switch(E){case 0:case 125:k=0;case 59+h:-1==S&&(L=u(L,/\f/g,"")),x>0&&m(L)-b&&g(x>32?Z(L+";",n,r,b-1):Z(u(L," ","")+";",n,r,b-2),c);break;case 59:L+=";";default:if(g(R=V(L,t,r,p,h,a,l,O,C=[],N=[],b),o),123===E)if(0===h)X(L,t,R,R,C,o,b,l,N);else switch(99===y&&110===f(L,3)?100:y){case 100:case 108:case 109:case 115:X(e,R,R,n&&g(V(e,R,R,0,0,a,l,O,a,C=[],b),N),a,N,b,l,n?C:N);break;default:X(L,R,R,R,[""],N,0,l,N)}}p=h=x=0,w=S=1,O=L="",b=i;break;case 58:b=1+m(L),x=v;default:if(w<1)if(123==E)--w;else if(125==E&&0==w++&&125==_())continue;switch(L+=s(E),E*w){case 38:S=h>0?1:(L+="\f",-1);break;case 44:l[p++]=(m(L)-1)*S,S=1;break;case 64:45===M()&&(L+=I(A())),y=M(),h=b=m(O=L+=j(T())),E++;break;case 45:45===v&&2==m(L)&&(w=0)}}return o}function V(e,t,r,n,a,o,s,l,d,f,m){for(var g=a-1,b=0===a?o:[""],y=h(b),x=0,v=0,w=0;x<n;++x)for(var k=0,E=p(e,g+1,g=i(v=s[x])),_=e;k<y;++k)(_=c(v>0?b[k]+" "+E:u(E,/&\f/g,b[k])))&&(d[w++]=_);return S(e,t,r,0===a?W:l,d,f,m)}function J(e,t,r){return S(e,t,r,B,s(w),p(e,2,-2),0)}function Z(e,t,r,n){return S(e,t,r,U,p(e,0,n),p(e,n+1,-1),n)}var Q=function(e,t,r){for(var n=0,a=0;n=a,a=M(),38===n&&12===a&&(t[r]=1),!C(a);)A();return O(e,v)},ee=function(e,t){return R(function(e,t){var r=-1,n=44;do{switch(C(n)){case 0:38===n&&12===M()&&(t[r]=1),e[r]+=Q(v-1,t,r);break;case 2:e[r]+=I(n);break;case 4:if(44===n){e[++r]=58===M()?"&\f":"",t[r]=e[r].length;break}default:e[r]+=s(n)}}while(n=A());return e}(N(e),t))},te=new WeakMap,re=function(e){if("rule"===e.type&&e.parent&&!(e.length<1)){for(var t=e.value,r=e.parent,n=e.column===r.column&&e.line===r.line;"rule"!==r.type;)if(!(r=r.parent))return;if((1!==e.props.length||58===t.charCodeAt(0)||te.get(r))&&!n){te.set(e,!0);for(var a=[],o=ee(t,a),i=r.props,s=0,l=0;s<o.length;s++)for(var c=0;c<i.length;c++,l++)e.props[l]=a[s]?o[s].replace(/&\f/g,i[c]):i[c]+" "+o[s]}}},ne=function(e){if("decl"===e.type){var t=e.value;108===t.charCodeAt(0)&&98===t.charCodeAt(2)&&(e.return="",e.value="")}};function ae(e,t){switch(function(e,t){return 45^f(e,0)?(((t<<2^f(e,0))<<2^f(e,1))<<2^f(e,2))<<2^f(e,3):0}(e,t)){case 5103:return H+"print-"+e+e;case 5737:case 4201:case 3177:case 3433:case 1641:case 4457:case 2921:case 5572:case 6356:case 5844:case 3191:case 6645:case 3005:case 6391:case 5879:case 5623:case 6135:case 4599:case 4855:case 4215:case 6389:case 5109:case 5365:case 5621:case 3829:return H+e+e;case 5349:case 4246:case 4810:case 6968:case 2756:return H+e+z+e+D+e+e;case 6828:case 4268:return H+e+D+e+e;case 6165:return H+e+D+"flex-"+e+e;case 5187:return H+e+u(e,/(\w+).+(:[^]+)/,H+"box-$1$2"+D+"flex-$1$2")+e;case 5443:return H+e+D+"flex-item-"+u(e,/flex-|-self/,"")+e;case 4675:return H+e+D+"flex-line-pack"+u(e,/align-content|flex-|-self/,"")+e;case 5548:return H+e+D+u(e,"shrink","negative")+e;case 5292:return H+e+D+u(e,"basis","preferred-size")+e;case 6060:return H+"box-"+u(e,"-grow","")+H+e+D+u(e,"grow","positive")+e;case 4554:return H+u(e,/([^-])(transform)/g,"$1"+H+"$2")+e;case 6187:return u(u(u(e,/(zoom-|grab)/,H+"$1"),/(image-set)/,H+"$1"),e,"")+e;case 5495:case 3959:return u(e,/(image-set\([^]*)/,H+"$1$`$1");case 4968:return u(u(e,/(.+:)(flex-)?(.*)/,H+"box-pack:$3"+D+"flex-pack:$3"),/s.+-b[^;]+/,"justify")+H+e+e;case 4095:case 3583:case 4068:case 2532:return u(e,/(.+)-inline(.+)/,H+"$1$2")+e;case 8116:case 7059:case 5753:case 5535:case 5445:case 5701:case 4933:case 4677:case 5533:case 5789:case 5021:case 4765:if(m(e)-1-t>6)switch(f(e,t+1)){case 109:if(45!==f(e,t+4))break;case 102:return u(e,/(.+:)(.+)-([^]+)/,"$1"+H+"$2-$3$1"+z+(108==f(e,t+3)?"$3":"$2-$3"))+e;case 115:return~d(e,"stretch")?ae(u(e,"stretch","fill-available"),t)+e:e}break;case 4949:if(115!==f(e,t+1))break;case 6444:switch(f(e,m(e)-3-(~d(e,"!important")&&10))){case 107:return u(e,":",":"+H)+e;case 101:return u(e,/(.+:)([^;!]+)(;|!.+)?/,"$1"+H+(45===f(e,14)?"inline-":"")+"box$3$1"+H+"$2$3$1"+D+"$2box$3")+e}break;case 5936:switch(f(e,t+11)){case 114:return H+e+D+u(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return H+e+D+u(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return H+e+D+u(e,/[svh]\w+-[tblr]{2}/,"lr")+e}return H+e+D+e+e}return e}var oe=[function(e,t,r,n){if(e.length>-1&&!e.return)switch(e.type){case U:e.return=ae(e.value,e.length);break;case G:return Y([E(e,{value:u(e.value,"@","@"+H)})],n);case W:if(e.length)return function(e,t){return e.map(t).join("")}(e.props,(function(t){switch(function(e,t){return(e=t.exec(e))?e[0]:e}(t,/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":return Y([E(e,{props:[u(t,/:(read-\w+)/,":-moz-$1")]})],n);case"::placeholder":return Y([E(e,{props:[u(t,/:(plac\w+)/,":"+H+"input-$1")]}),E(e,{props:[u(t,/:(plac\w+)/,":-moz-$1")]}),E(e,{props:[u(t,/:(plac\w+)/,D+"input-$1")]})],n)}return""}))}}],ie=function(e){var t=e.key;if("css"===t){var r=document.querySelectorAll("style[data-emotion]:not([data-s])");Array.prototype.forEach.call(r,(function(e){-1!==e.getAttribute("data-emotion").indexOf(" ")&&(document.head.appendChild(e),e.setAttribute("data-s",""))}))}var n=e.stylisPlugins||oe;var a,i,s={},l=[];a=e.container||document.head,Array.prototype.forEach.call(document.querySelectorAll('style[data-emotion^="'+t+' "]'),(function(e){for(var t=e.getAttribute("data-emotion").split(" "),r=1;r<t.length;r++)s[t[r]]=!0;l.push(e)}));var c,u,d,f,p=[K,(f=function(e){c.insert(e)},function(e){e.root||(e=e.return)&&f(e)})],m=(u=[re,ne].concat(n,p),d=h(u),function(e,t,r,n){for(var a="",o=0;o<d;o++)a+=u[o](e,t,r,n)||"";return a});i=function(e,t,r,n){c=r,Y(q(e?e+"{"+t.styles+"}":t.styles),m),n&&(g.inserted[t.name]=!0)};var g={key:t,sheet:new o({key:t,container:a,nonce:e.nonce,speedy:e.speedy,prepend:e.prepend,insertionPoint:e.insertionPoint}),nonce:e.nonce,inserted:s,registered:{},insert:i};return g.sheet.hydrate(l),g};function se(e,t,r){var n="";return r.split(" ").forEach((function(r){void 0!==e[r]?t.push(e[r]+";"):n+=r+" "})),n}var le=function(e,t,r){var n=e.key+"-"+t.name;!1===r&&void 0===e.registered[n]&&(e.registered[n]=t.styles)},ce=function(e,t,r){le(e,t,r);var n=e.key+"-"+t.name;if(void 0===e.inserted[t.name]){var a=t;do{e.insert(t===a?"."+n:"",a,e.sheet,!0),a=a.next}while(void 0!==a)}};var ue={animationIterationCount:1,aspectRatio:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,boxFlex:1,boxFlexGroup:1,boxOrdinalGroup:1,columnCount:1,columns:1,flex:1,flexGrow:1,flexPositive:1,flexShrink:1,flexNegative:1,flexOrder:1,gridRow:1,gridRowEnd:1,gridRowSpan:1,gridRowStart:1,gridColumn:1,gridColumnEnd:1,gridColumnSpan:1,gridColumnStart:1,msGridRow:1,msGridRowSpan:1,msGridColumn:1,msGridColumnSpan:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans:1,tabSize:1,widows:1,zIndex:1,zoom:1,WebkitLineClamp:1,fillOpacity:1,floodOpacity:1,stopOpacity:1,strokeDasharray:1,strokeDashoffset:1,strokeMiterlimit:1,strokeOpacity:1,strokeWidth:1};function de(e){var t=Object.create(null);return function(r){return void 0===t[r]&&(t[r]=e(r)),t[r]}}var fe=/[A-Z]|^ms/g,pe=/_EMO_([^_]+?)_([^]*?)_EMO_/g,me=function(e){return 45===e.charCodeAt(1)},he=function(e){return null!=e&&"boolean"!=typeof e},ge=de((function(e){return me(e)?e:e.replace(fe,"-$&").toLowerCase()})),be=function(e,t){switch(e){case"animation":case"animationName":if("string"==typeof t)return t.replace(pe,(function(e,t,r){return xe={name:t,styles:r,next:xe},t}))}return 1===ue[e]||me(e)||"number"!=typeof t||0===t?t:t+"px"};function ye(e,t,r){if(null==r)return"";if(void 0!==r.__emotion_styles)return r;switch(typeof r){case"boolean":return"";case"object":if(1===r.anim)return xe={name:r.name,styles:r.styles,next:xe},r.name;if(void 0!==r.styles){var n=r.next;if(void 0!==n)for(;void 0!==n;)xe={name:n.name,styles:n.styles,next:xe},n=n.next;return r.styles+";"}return function(e,t,r){var n="";if(Array.isArray(r))for(var a=0;a<r.length;a++)n+=ye(e,t,r[a])+";";else for(var o in r){var i=r[o];if("object"!=typeof i)null!=t&&void 0!==t[i]?n+=o+"{"+t[i]+"}":he(i)&&(n+=ge(o)+":"+be(o,i)+";");else if(!Array.isArray(i)||"string"!=typeof i[0]||null!=t&&void 0!==t[i[0]]){var s=ye(e,t,i);switch(o){case"animation":case"animationName":n+=ge(o)+":"+s+";";break;default:n+=o+"{"+s+"}"}}else for(var l=0;l<i.length;l++)he(i[l])&&(n+=ge(o)+":"+be(o,i[l])+";")}return n}(e,t,r);case"function":if(void 0!==e){var a=xe,o=r(e);return xe=a,ye(e,t,o)}}if(null==t)return r;var i=t[r];return void 0!==i?i:r}var xe,ve=/label:\s*([^\s;\n{]+)\s*(;|$)/g;var we=function(e,t,r){if(1===e.length&&"object"==typeof e[0]&&null!==e[0]&&void 0!==e[0].styles)return e[0];var n=!0,a="";xe=void 0;var o=e[0];null==o||void 0===o.raw?(n=!1,a+=ye(r,t,o)):a+=o[0];for(var i=1;i<e.length;i++)a+=ye(r,t,e[i]),n&&(a+=o[i]);ve.lastIndex=0;for(var s,l="";null!==(s=ve.exec(a));)l+="-"+s[1];var c=function(e){for(var t,r=0,n=0,a=e.length;a>=4;++n,a-=4)t=1540483477*(65535&(t=255&e.charCodeAt(n)|(255&e.charCodeAt(++n))<<8|(255&e.charCodeAt(++n))<<16|(255&e.charCodeAt(++n))<<24))+(59797*(t>>>16)<<16),r=1540483477*(65535&(t^=t>>>24))+(59797*(t>>>16)<<16)^1540483477*(65535&r)+(59797*(r>>>16)<<16);switch(a){case 3:r^=(255&e.charCodeAt(n+2))<<16;case 2:r^=(255&e.charCodeAt(n+1))<<8;case 1:r=1540483477*(65535&(r^=255&e.charCodeAt(n)))+(59797*(r>>>16)<<16)}return(((r=1540483477*(65535&(r^=r>>>13))+(59797*(r>>>16)<<16))^r>>>15)>>>0).toString(36)}(a)+l;return{name:c,styles:a,next:xe}},ke=!!t.useInsertionEffect&&t.useInsertionEffect,Se=ke||function(e){return e()},Ee=(ke||t.useLayoutEffect,{}.hasOwnProperty),_e=t.createContext("undefined"!=typeof HTMLElement?ie({key:"css"}):null);_e.Provider;var Ae=function(e){return(0,t.forwardRef)((function(r,n){var a=(0,t.useContext)(_e);return e(r,a,n)}))};var Me=t.createContext({});var Te="__EMOTION_TYPE_PLEASE_DO_NOT_USE__",Oe=function(e,t){var r={};for(var n in t)Ee.call(t,n)&&(r[n]=t[n]);return r[Te]=e,r},Ce=function(e){var t=e.cache,r=e.serialized,n=e.isStringTag;return le(t,r,n),Se((function(){return ce(t,r,n)})),null};var Ne=Ae((function(e,r,n){var a=e.css;"string"==typeof a&&void 0!==r.registered[a]&&(a=r.registered[a]);var o=e[Te],i=[a],s="";"string"==typeof e.className?s=se(r.registered,i,e.className):null!=e.className&&(s=e.className+" ");var l=we(i,void 0,t.useContext(Me));s+=r.key+"-"+l.name;var c={};for(var u in e)Ee.call(e,u)&&"css"!==u&&u!==Te&&(c[u]=e[u]);return c.ref=n,c.className=s,t.createElement(t.Fragment,null,t.createElement(Ce,{cache:r,serialized:l,isStringTag:"string"==typeof o}),t.createElement(o,c))})),Re=(r(8679),e.Fragment);function Ie(t,r,n){return Ee.call(r,"css")?e.jsx(Ne,Oe(t,r),n):e.jsx(t,r,n)}function Fe(t,r,n){return Ee.call(r,"css")?e.jsxs(Ne,Oe(t,r),n):e.jsxs(t,r,n)}var Pe,Le,$e,je,De,ze,He,Be,We,Ue,Ge,Ye;r(94184);!function(e){e.Header="Header",e.Hero="Hero",e.FAQ="FAQ",e.Chart="Chart",e.CustomCode="Custom Code",e.ListDetails="List Details",e.List="List",e.Other="Other",e.Footer="Footer",e.Form="Form",e.OrganizationalChart="Organizational Chart",e.Payment="Payment"}(Pe||(Pe={})),function(e){e.Static="static",e.Dynamic="dynamic"}(Le||(Le={})),function(e){e.View="VIEW",e.Edit="EDIT"}($e||($e={})),function(e){e.Left="LEFT",e.Right="RIGHT",e.Center="CENTER",e.Top="TOP",e.Bottom="BOTTOM"}(je||(je={})),function(e){e.AllUsers="ALL_USERS"}(De||(De={})),function(e){e.Array="array"}(ze||(ze={})),function(e){e.Airtable="airtable",e.Softr="softr",e.Gsheet="gsheet"}(He||(He={})),function(e){e.PASSWORD="password",e.ADDRESS="address",e.RATING="rating",e.HEADING1="heading1",e.HEADING2="heading2",e.HEADING3="heading3",e.BUTTON="button",e.URL="url",e.TAG="tag",e.SHORT_TEXT="short_text",e.EMAIL="email",e.PHONE_NUMBER="phone_number",e.DIVIDER="divider",e.DROPDOWN="dropdown",e.LONG_TEXT="long_text",e.MULTI_SELECT="multi_select",e.STATIC_IMAGE="staticImage",e.IMAGE="image",e.DATE="date",e.DATETIME="dateTime",e.CHECKBOX="checkbox",e.HIDDEN="hidden",e.FILE="file",e.TEXT="text",e.RICH_TEXT="rich_text",e.UPVOTE_BUTTON="upvoteButton",e.GMAPS="gmaps",e.EMBED="embed",e.AUDIO="audio",e.VIDEO="video",e.GALLERY="gallery",e.IMAGE_OR_VIDEO="imageOrVideo",e.PDF="pdf"}(Be||(Be={})),function(e){e.heading1="h1",e.heading2="h2",e.heading3="h3",e.heading4="h4",e.heading5="h5",e.heading6="h6",e.text="p"}(We||(We={})),function(e){e.ShowMessage="SHOW_MESSAGE",e.OpenPage="OPEN_PAGE",e.NoAction="NO_ACTION"}(Ue||(Ue={})),function(e){e.UPDATE_RECORD_SUCCESS="UPDATE_RECORD_SUCCESS"}(Ge||(Ge={})),function(e){e.Enum="Enum",e.MappedEnum="MappedEnum",e.DynamicFont="DynamicFont",e.DynamicColor="DynamicColor"}(Ye||(Ye={}));var Ke,qe={name:"font-weight",attribute:"font-weight",values:{hairline:100,thin:200,light:300,normal:400,medium:500,semibold:600,bold:700,extrabold:800,black:900},type:Ye.MappedEnum,unit:"",picker:"drop-down-with-default"},Xe={name:"font-size",attribute:"font-size",values:{"3xs":.5,"2xs":.625,xs:.75,s:.875,m:1,l:1.125,xl:1.25,"2xl":1.5,"3xl":1.875,"4xl":2.25,"5xl":3,"6xl":4,"7xl":5,"8xl":6,"9xl":7,"10xl":8},unit:"rem",type:Ye.MappedEnum,picker:"value-picker"},Ve={name:"font-family",attribute:"font-family",unit:"",type:Ye.DynamicFont,picker:"font-picker"},Je={name:"letter-spacing",attribute:"letter-spacing",values:{tighter:-.05,tight:-.025,normal:0,wide:.025,wider:.05,widest:.1},type:Ye.MappedEnum,unit:"rem",picker:"drop-down"},Ze={name:"line-height",attribute:"line-height",values:{compact:1,tight:1.25,normal:1.5,loose:2},type:Ye.MappedEnum,unit:"",picker:"drop-down"},Qe={name:"text-decoration",attribute:"text-decoration",values:{underline:"underline","line-through":"line-through","no-underline":"none"},type:Ye.MappedEnum,unit:""},et={name:"text-transform",attribute:"text-transform",values:{uppercase:"uppercase",lowercase:"lowercase",capitalize:"capitalize",default:"none"},type:Ye.MappedEnum,unit:""},tt={name:"text-align",attribute:"text-align",values:{left:"left",center:"center",right:"right",justify:"justify"},type:Ye.MappedEnum,unit:"",picker:"drop-down"},rt={name:"padding-top",attribute:"padding-top",values:{none:0,"7xs":.25,"6xs":.5,"5xs":.75,"4xs":1,"3xs":1.25,"2xs":1.5,xs:2,s:2.5,m:3,l:4,xl:5,"2xl":6,"3xl":8,"4xl":10,"5xl":12,"6xl":14,"7xl":16},type:Ye.MappedEnum,unit:"rem",picker:"value-picker"},nt={name:"padding-bottom",attribute:"padding-bottom",values:{none:0,"7xs":.25,"6xs":.5,"5xs":.75,"4xs":1,"3xs":1.25,"2xs":1.5,xs:2,s:2.5,m:3,l:4,xl:5,"2xl":6,"3xl":8,"4xl":10,"5xl":12,"6xl":14,"7xl":16},type:Ye.MappedEnum,unit:"rem",picker:"value-picker"},at={name:"padding-left",attribute:"padding-left",values:{none:0,"7xs":.25,"6xs":.5,"5xs":.75,"4xs":1,"3xs":1.25,"2xs":1.5,xs:2,s:2.5,m:3,l:4,xl:5,"2xl":6,"3xl":8,"4xl":10,"5xl":12,"6xl":14,"7xl":16},type:Ye.MappedEnum,unit:"rem",picker:"value-picker"},ot={name:"padding-right",attribute:"padding-right",values:{none:0,"7xs":.25,"6xs":.5,"5xs":.75,"4xs":1,"3xs":1.25,"2xs":1.5,xs:2,s:2.5,m:3,l:4,xl:5,"2xl":6,"3xl":8,"4xl":10,"5xl":12,"6xl":14,"7xl":16},type:Ye.MappedEnum,unit:"rem",picker:"value-picker"},it={name:"margin-top",attribute:"margin-top",values:{none:0,"7xs":.25,"6xs":.5,"5xs":.75,"4xs":1,"3xs":1.25,"2xs":1.5,xs:2,s:2.5,m:3,l:4,xl:5,"2xl":6,"3xl":8,"4xl":10,"5xl":12,"6xl":14,"7xl":16},type:Ye.MappedEnum,unit:"rem",picker:"value-picker"},st={name:"margin-bottom",attribute:"margin-bottom",values:{none:0,"7xs":.25,"6xs":.5,"5xs":.75,"4xs":1,"3xs":1.25,"2xs":1.5,xs:2,s:2.5,m:3,l:4,xl:5,"2xl":6,"3xl":8,"4xl":10,"5xl":12,"6xl":14,"7xl":16},type:Ye.MappedEnum,unit:"rem",picker:"value-picker"},lt={name:"margin-left",attribute:"margin-left",values:{none:0,"7xs":.25,"6xs":.5,"5xs":.75,"4xs":1,"3xs":1.25,"2xs":1.5,xs:2,s:2.5,m:3,l:4,xl:5,"2xl":6,"3xl":8,"4xl":10,"5xl":12,"6xl":14,"7xl":16},type:Ye.MappedEnum,unit:"rem",picker:"value-picker"},ct={name:"margin-right",attribute:"margin-right",values:{none:0,"7xs":.25,"6xs":.5,"5xs":.75,"4xs":1,"3xs":1.25,"2xs":1.5,xs:2,s:2.5,m:3,l:4,xl:5,"2xl":6,"3xl":8,"4xl":10,"5xl":12,"6xl":14,"7xl":16},type:Ye.MappedEnum,unit:"rem",picker:"value-picker"},ut={name:"background-color",attribute:"background-color",type:Ye.DynamicColor,unit:"",picker:"color-picker"},dt={name:"text-color",attribute:"color",unit:"",type:Ye.DynamicColor,picker:"color-picker"},ft={name:"placeholder-color",attribute:"color",pseudo:"::placeholder",unit:"",type:Ye.DynamicColor,picker:"color-picker"},pt={name:"border-radius",attribute:"border-radius",values:{none:0,s:.125,m:.25,l:.5,xl:.75,"2xl":1,"3xl":1.5,"4xl":2,full:9999},type:Ye.MappedEnum,unit:"rem",picker:"value-picker"},mt={name:"border-style",attribute:"border-style",values:{solid:"solid",dashed:"dashed",dotted:"dotted",none:"none"},type:Ye.MappedEnum,unit:"",picker:"drop-down"},ht={name:"border-top-style",attribute:"border-top-style",values:{solid:"solid",dashed:"dashed",dotted:"dotted",none:"none"},type:Ye.MappedEnum,unit:"",picker:"drop-down"},gt={name:"border-bottom-style",attribute:"border-bottom-style",values:{solid:"solid",dashed:"dashed",dotted:"dotted",none:"none"},type:Ye.MappedEnum,unit:"",picker:"drop-down"},bt={name:"border-left-style",attribute:"border-left-style",values:{solid:"solid",dashed:"dashed",dotted:"dotted",none:"none"},type:Ye.MappedEnum,unit:"",picker:"drop-down"},yt={name:"border-right-style",attribute:"border-right-style",values:{solid:"solid",dashed:"dashed",dotted:"dotted",none:"none"},type:Ye.MappedEnum,unit:"",picker:"drop-down"},xt={name:"outline",attribute:"outline",values:{none:"none"},type:Ye.MappedEnum,unit:""},vt={name:"border-width",attribute:"border-width",values:{none:0,xs:1,s:2,m:4,l:8,xl:16},type:Ye.MappedEnum,unit:"px",picker:"value-picker"},wt={name:"border-top-width",attribute:"border-top-width",values:{none:0,xs:1,s:2,m:4,l:8,xl:16},type:Ye.MappedEnum,unit:"px",picker:"value-picker"},kt={name:"border-bottom-width",attribute:"border-bottom-width",values:{none:0,xs:1,s:2,m:4,l:8,xl:16},type:Ye.MappedEnum,unit:"px",picker:"value-picker"},St={name:"border-left-width",attribute:"border-left-width",values:{none:0,xs:1,s:2,m:4,l:8,xl:16},type:Ye.MappedEnum,unit:"px",picker:"value-picker"},Et={name:"border-right-width",attribute:"border-right-width",values:{none:0,xs:1,s:2,m:4,l:8,xl:16},type:Ye.MappedEnum,unit:"px",picker:"value-picker"},_t={name:"border-color",attribute:"border-color",type:Ye.DynamicColor,unit:"",picker:"color-picker"},At={name:"border-top-color",attribute:"border-top-color",type:Ye.DynamicColor,unit:"",picker:"color-picker"},Mt={name:"border-bottom-color",attribute:"border-bottom-color",type:Ye.DynamicColor,unit:"",picker:"color-picker"},Tt={name:"border-left-color",attribute:"border-left-color",type:Ye.DynamicColor,unit:"",picker:"color-picker"},Ot={name:"border-right-color",attribute:"border-right-color",type:Ye.DynamicColor,unit:"",picker:"color-picker"},Ct={name:"background-size",attribute:"background-size",values:{auto:"auto",cover:"cover",contain:"contain"},type:Ye.MappedEnum,unit:"",picker:"drop-down"},Nt={name:"background-attachment",attribute:"background-attachment",values:{scroll:"scroll",fixed:"fixed",local:"local"},type:Ye.MappedEnum,unit:"",picker:"drop-down"},Rt={name:"background-position",attribute:"background-position",values:{center:"center",bottom:"bottom",left:"left","left-bottom":"left bottom","left-top":"left top",right:"right","right-bottom":"right bottom","right-top":"right top",top:"top"},type:Ye.MappedEnum,unit:"",picker:"drop-down"},It={name:"background-repeat",attribute:"background-repeat",values:{repeat:"repeat","no-repeat":"no-repeat","repeat-x":"repeat-x","repeat-y":"repeat-y"},type:Ye.MappedEnum,unit:"",picker:"drop-down"},Ft={name:"max-width",attribute:"max-width",values:{"6xs":"2rem","5xs":"4rem","4xs":"8rem","3xs":"12rem","2xs":"16rem",xs:"20rem",s:"24rem",m:"28rem",l:"32rem",xl:"36rem","2xl":"42rem","3xl":"48rem","4xl":"56rem","5xl":"64rem","6xl":"72rem",full:"100%"},unit:"",type:Ye.MappedEnum,picker:"value-picker"},Pt={name:"min-width",attribute:"min-width",values:{"6xs":"2rem","5xs":"4rem","4xs":"8rem","3xs":"12rem","2xs":"16rem",xs:"20rem",s:"24rem",m:"28rem",l:"32rem",xl:"36rem","2xl":"42rem","3xl":"48rem","4xl":"56rem","5xl":"64rem","6xl":"72rem",full:"100%"},unit:"",type:Ye.MappedEnum,picker:"value-picker"},Lt={name:"width",attribute:"width",values:{"12xs":"1rem","11xs":"2rem","10xs":"3rem","9xs":"4rem","8xs":"5rem","7xs":"6rem","6xs":"7rem","5xs":"8rem","4xs":"10rem","3xs":"12rem","2xs":"16rem",xs:"20rem",s:"24rem",m:"28rem",l:"32rem",xl:"36rem","2xl":"42rem","3xl":"48rem","4xl":"56rem","5xl":"64rem","6xl":"72rem",full:"100%"},unit:"",type:Ye.MappedEnum,picker:"value-picker"},$t={name:"percentage-width",attribute:"width",values:{"10xs":"5%","9xs":"10%","8xs":"15%","7xs":"20%","6xs":"25%","5xs":"30%","4xs":"35%","3xs":"40%","2xs":"45%",xs:"50%",s:"55%",m:"60%",l:"65%",xl:"70%","2xl":"75%","3xl":"80%","4xl":"85%","5xl":"90%","6xl":"95%",full:"100%"},unit:"",type:Ye.MappedEnum,picker:"value-picker"},jt={name:"max-height",attribute:"max-height",values:{"6xs":"2rem","5xs":"4rem","4xs":"8rem","3xs":"12rem","2xs":"16rem",xs:"20rem",s:"24rem",m:"28rem",l:"32rem",xl:"36rem","2xl":"42rem","3xl":"48rem","4xl":"56rem","5xl":"64rem","6xl":"72rem",full:"100%"},unit:"",type:Ye.MappedEnum,picker:"value-picker"},Dt={name:"min-height",attribute:"min-height",values:{"6xs":"2rem","5xs":"4rem","4xs":"8rem","3xs":"12rem","2xs":"16rem",xs:"20rem",s:"24rem",m:"28rem",l:"32rem",xl:"36rem","2xl":"42rem","3xl":"48rem","4xl":"56rem","5xl":"64rem","6xl":"72rem",full:"100%"},unit:"",type:Ye.MappedEnum,picker:"value-picker"},zt={name:"height",attribute:"height",values:{"12xs":"1rem","11xs":"2rem","10xs":"3rem","9xs":"4rem","8xs":"5rem","7xs":"6rem","6xs":"7rem","5xs":"8rem","4xs":"10rem","3xs":"12rem","2xs":"16rem",xs:"20rem",s:"24rem",m:"28rem",l:"32rem",xl:"36rem","2xl":"42rem","3xl":"48rem","4xl":"56rem","5xl":"64rem","6xl":"72rem",full:"100%"},unit:"",type:Ye.MappedEnum,picker:"value-picker"},Ht={name:"box-shadow",attribute:"box-shadow",values:{none:"none",s:"0px 0px 6px 0px rgba(17, 17, 17, 0.04), 0px 4px 8px 0px rgba(17, 17, 17, 0.04)",m:"0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06)",l:"0px 2px 4px 0px rgba(17, 17, 17, 0.04), 0px 8px 32px 0px rgba(33, 33, 33, 0.08)",xl:"0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04)","2xl":"0 25px 50px -12px rgba(0, 0, 0, 0.25)"},type:Ye.MappedEnum,unit:"",picker:"value-picker"},Bt={name:"cursor",attribute:"cursor",values:{default:"default",pointer:"pointer",wait:"wait",text:"relative",move:"sticky",grab:"grab",help:"help",crosshair:"crosshair","zoom-in":"zoom-in","zoom-out":"zoom-out","not-allowed":"not-allowed",none:"none"},type:Ye.MappedEnum,unit:""},Wt={name:"position",attribute:"position",values:{static:"static",fixed:"fixed",absolute:"absolute",relative:"relative",sticky:"sticky"},type:Ye.MappedEnum,unit:""},Ut={name:"opacity",attribute:"opacity",values:{full:0,"3xl":.1,"2xl":.2,xl:.3,l:.4,m:.5,s:.6,xs:.7,"2xs":.8,"3xs":.9,none:1},type:Ye.MappedEnum,unit:""},Gt={name:"display",attribute:"display",values:{block:"block","inline-block":"inline-block",inline:"inline",flex:"flex","inline-flex":"inline-flex",none:"none"},type:Ye.MappedEnum,unit:""},Yt={name:"align-items",attribute:"align-items",values:{stretch:"stretch",start:"start",center:"center",end:"flex",baseline:"inline-flex"},type:Ye.MappedEnum,unit:""},Kt=["hover","focus","active","visited"],qt={xs:"0",s:"576px",m:"768px",l:"992px",xl:"1200px"},Xt="sw",Vt="-",Jt=(Ke={},[qe,Xe,Ve,Ze,Je,Qe,et,tt,rt,nt,at,ot,it,st,lt,ct,dt,ut,ft,pt,mt,xt,vt,kt,wt,St,Et,_t,Mt,At,Tt,Ot,gt,ht,bt,yt,Nt,Rt,It,Ct,Ft,Pt,Lt,$t,jt,Dt,zt,Ht,Bt,Wt,Ut,Gt,Yt].forEach((function(e){Ke[e.name]=e})),Ke);function Zt(e){var t,r=rr(e),n=nr(e),a=function(e){var t=Object.keys(qt).find((function(t){return e.startsWith(t+":")}));return void 0!==t}(e),o=function(e){return Object.keys(qt).find((function(t){return e.startsWith(t+":")}))}(e);r&&(e=ar(e)),a&&(e=function(e){var t=Object.keys(qt).find((function(t){return e.startsWith(t+":")}));return t?e.replace(t+":",""):e}(e));var i=er(e,Jt);if(!i)throw new Error("Can't find the style: "+e);var s=Qt(e,i);if(!s||void 0===s)throw new Error("Can't find a value for the style: "+e);r&&(e=function(e,t){return"".concat(t,"\\:").concat(e,":").concat(t)}(e,n)),a&&(e=function(e,t){return"".concat(t,"\\:").concat(e)}(e,o));var l,c=function(e){return void 0!==e.pseudo}(i);switch(c&&(e=function(e,t){return"".concat(e).concat(t.pseudo)}(e,i)),i.type){case Ye.Enum:l=".".concat(e," { ").concat(i.attribute,": ").concat(s).concat(i.unit,"!important; }");break;case Ye.MappedEnum:if(s.includes("default")){l=".".concat(e," { }");break}var u=null===(t=i.values)||void 0===t?void 0:t[s];if(void 0===u)throw new Error("Can't find a value for the style: "+e);l=".".concat(e," { ").concat(i.attribute,": ").concat(u).concat(i.unit,"!important; }");break;case Ye.DynamicColor:if(s.includes("default")){l=".".concat(e," { }");break}if("transparent"===s){l=".".concat(e," { ").concat(i.attribute,": ").concat(s,"!important; }");break}l=".".concat(e," { ").concat(i.attribute,": #").concat(s,"!important; }");break;case Ye.DynamicFont:if(s.includes("default")){l=".".concat(e," { }");break}var d=tr(s);l=".".concat(e," { ").concat(i.attribute,': "').concat(d,'"!important; }')}if(void 0===l)throw new Error("Can't generate css for the name: "+e);if(a){var f=qt[o];return"@media (min-width: ".concat(f,") { ").concat(l," }")}return r&&"hover"===n?"@media (hover: hover) { ".concat(l," }"):l}function Qt(e,t){return e.replace(Xt+Vt+t.name+Vt,"")}function er(e,t){return t[Object.keys(t).find((function(t){return e.startsWith(Xt+Vt+t+Vt)}))]}function tr(e){return e.split("_").map((function(e){return"string"!=typeof(t=e)?"":t.charAt(0).toUpperCase()+t.slice(1);var t})).join(" ")}function rr(e){return!!Kt.find((function(t){return e.startsWith(t)}))}function nr(e){return Kt.find((function(t){return e.startsWith(t)}))}function ar(e){var t=Kt.find((function(t){return e.startsWith(t)}));return t?e.replace(t+":",""):e}var or=function(e,t,r){if(void 0===t&&(t=" "),void 0===r&&(r=""),!e)return"";var n=[];return null==e||e.forEach((function(e){r&&e.showFor&&e.showFor!==r||e.classes.forEach((function(e){return n.push(e)}))})),n.join(t)},ir=function(e){var t=[];return(null==e?void 0:e.primaryStyles)&&t.push(or(e.primaryStyles)),(null==e?void 0:e.otherStyles)&&t.push(or(e.otherStyles)),t.join(" ")},sr=function(){return sr=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++)for(var a in t=arguments[r])Object.prototype.hasOwnProperty.call(t,a)&&(e[a]=t[a]);return e},sr.apply(this,arguments)},lr=function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var a=0;for(n=Object.getOwnPropertySymbols(e);a<n.length;a++)t.indexOf(n[a])<0&&Object.prototype.propertyIsEnumerable.call(e,n[a])&&(r[n[a]]=e[n[a]])}return r},cr=function(e,t){var r="function"==typeof Symbol&&e[Symbol.iterator];if(!r)return e;var n,a,o=r.call(e),i=[];try{for(;(void 0===t||t-- >0)&&!(n=o.next()).done;)i.push(n.value)}catch(s){a={error:s}}finally{try{n&&!n.done&&(r=o.return)&&r.call(o)}finally{if(a)throw a.error}}return i},ur=function(e){if("object"!=typeof e||null===e)return e;if(Array.isArray(e))return e.map((function(e){return ur(e)}));var t=e.primaryStyles,r=e.otherStyles,n=lr(e,["primaryStyles","otherStyles"]);return sr(sr({},Object.entries(n).reduce((function(e,t){var r,n=cr(t,2),a=n[0],o=n[1];return sr(sr({},e),((r={})[a]=ur(o),r))}),{})),t||r?{classNames:ir(e)}:{})};function dr(e,t){if(null==e)return{};var r,n,a={},o=Object.keys(e);for(n=0;n<o.length;n++)r=o[n],t.indexOf(r)>=0||(a[r]=e[r]);return a}function fr(){return fr=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},fr.apply(this,arguments)}function pr(e){var t,r,n="";if("string"==typeof e||"number"==typeof e)n+=e;else if("object"==typeof e)if(Array.isArray(e)){var a=e.length;for(t=0;t<a;t++)e[t]&&(r=pr(e[t]))&&(n&&(n+=" "),n+=r)}else for(r in e)e[r]&&(n&&(n+=" "),n+=r);return n}const mr=function(){for(var e,t,r=0,n="",a=arguments.length;r<a;r++)(e=arguments[r])&&(t=pr(e))&&(n&&(n+=" "),n+=t);return n},hr={xs:0,sm:600,md:900,lg:1200,xl:1536},gr={keys:["xs","sm","md","lg","xl"],up:e=>`@media (min-width:${hr[e]}px)`};function br(e,t,r){const n=e.theme||{};if(Array.isArray(t)){const e=n.breakpoints||gr;return t.reduce(((n,a,o)=>(n[e.up(e.keys[o])]=r(t[o]),n)),{})}if("object"==typeof t){const e=n.breakpoints||gr;return Object.keys(t).reduce(((n,a)=>{if(-1!==Object.keys(e.values||hr).indexOf(a)){n[e.up(a)]=r(t[a],a)}else{const e=a;n[e]=t[e]}return n}),{})}return r(t)}function yr(e={}){var t;return(null==(t=e.keys)?void 0:t.reduce(((t,r)=>(t[e.up(r)]={},t)),{}))||{}}function xr(e,t){return e.reduce(((e,t)=>{const r=e[t];return(!r||0===Object.keys(r).length)&&delete e[t],e}),t)}function vr({values:e,breakpoints:t,base:r}){const n=r||function(e,t){if("object"!=typeof e)return{};const r={},n=Object.keys(t);return Array.isArray(e)?n.forEach(((t,n)=>{n<e.length&&(r[t]=!0)})):n.forEach((t=>{null!=e[t]&&(r[t]=!0)})),r}(e,t),a=Object.keys(n);if(0===a.length)return e;let o;return a.reduce(((t,r,n)=>(Array.isArray(e)?(t[r]=null!=e[n]?e[n]:e[o],o=n):"object"==typeof e?(t[r]=null!=e[r]?e[r]:e[o],o=r):t[r]=e,t)),{})}function wr(e){return null!==e&&"object"==typeof e&&e.constructor===Object}function kr(e){if(!wr(e))return e;const t={};return Object.keys(e).forEach((r=>{t[r]=kr(e[r])})),t}function Sr(e,t,r={clone:!0}){const n=r.clone?fr({},e):e;return wr(e)&&wr(t)&&Object.keys(t).forEach((a=>{"__proto__"!==a&&(wr(t[a])&&a in e&&wr(e[a])?n[a]=Sr(e[a],t[a],r):r.clone?n[a]=wr(t[a])?kr(t[a]):t[a]:n[a]=t[a])})),n}function Er(e){let t="https://mui.com/production-error/?code="+e;for(let r=1;r<arguments.length;r+=1)t+="&args[]="+encodeURIComponent(arguments[r]);return"Minified MUI error #"+e+"; visit "+t+" for the full message."}function _r(e){if("string"!=typeof e)throw new Error(Er(7));return e.charAt(0).toUpperCase()+e.slice(1)}function Ar(e,t,r=!0){if(!t||"string"!=typeof t)return null;if(e&&e.vars&&r){const r=`vars.${t}`.split(".").reduce(((e,t)=>e&&e[t]?e[t]:null),e);if(null!=r)return r}return t.split(".").reduce(((e,t)=>e&&null!=e[t]?e[t]:null),e)}function Mr(e,t,r,n=r){let a;return a="function"==typeof e?e(r):Array.isArray(e)?e[r]||n:Ar(e,r)||n,t&&(a=t(a,n,e)),a}const Tr=function(e){const{prop:t,cssProperty:r=e.prop,themeKey:n,transform:a}=e,o=e=>{if(null==e[t])return null;const o=e[t],i=Ar(e.theme,n)||{};return br(e,o,(e=>{let n=Mr(i,a,e);return e===n&&"string"==typeof e&&(n=Mr(i,a,`${t}${"default"===e?"":_r(e)}`,e)),!1===r?n:{[r]:n}}))};return o.propTypes={},o.filterProps=[t],o};const Or=function(e,t){return t?Sr(e,t,{clone:!1}):e};const Cr={m:"margin",p:"padding"},Nr={t:"Top",r:"Right",b:"Bottom",l:"Left",x:["Left","Right"],y:["Top","Bottom"]},Rr={marginX:"mx",marginY:"my",paddingX:"px",paddingY:"py"},Ir=function(e){const t={};return r=>(void 0===t[r]&&(t[r]=e(r)),t[r])}((e=>{if(e.length>2){if(!Rr[e])return[e];e=Rr[e]}const[t,r]=e.split(""),n=Cr[t],a=Nr[r]||"";return Array.isArray(a)?a.map((e=>n+e)):[n+a]})),Fr=["m","mt","mr","mb","ml","mx","my","margin","marginTop","marginRight","marginBottom","marginLeft","marginX","marginY","marginInline","marginInlineStart","marginInlineEnd","marginBlock","marginBlockStart","marginBlockEnd"],Pr=["p","pt","pr","pb","pl","px","py","padding","paddingTop","paddingRight","paddingBottom","paddingLeft","paddingX","paddingY","paddingInline","paddingInlineStart","paddingInlineEnd","paddingBlock","paddingBlockStart","paddingBlockEnd"],Lr=[...Fr,...Pr];function $r(e,t,r,n){var a;const o=null!=(a=Ar(e,t,!1))?a:r;return"number"==typeof o?e=>"string"==typeof e?e:o*e:Array.isArray(o)?e=>"string"==typeof e?e:o[e]:"function"==typeof o?o:()=>{}}function jr(e){return $r(e,"spacing",8)}function Dr(e,t){if("string"==typeof t||null==t)return t;const r=e(Math.abs(t));return t>=0?r:"number"==typeof r?-r:`-${r}`}function zr(e,t,r,n){if(-1===t.indexOf(r))return null;const a=function(e,t){return r=>e.reduce(((e,n)=>(e[n]=Dr(t,r),e)),{})}(Ir(r),n);return br(e,e[r],a)}function Hr(e,t){const r=jr(e.theme);return Object.keys(e).map((n=>zr(e,t,n,r))).reduce(Or,{})}function Br(e){return Hr(e,Fr)}function Wr(e){return Hr(e,Pr)}function Ur(e){return Hr(e,Lr)}Br.propTypes={},Br.filterProps=Fr,Wr.propTypes={},Wr.filterProps=Pr,Ur.propTypes={},Ur.filterProps=Lr;const Gr=function(...e){const t=e.reduce(((e,t)=>(t.filterProps.forEach((r=>{e[r]=t})),e)),{}),r=e=>Object.keys(e).reduce(((r,n)=>t[n]?Or(r,t[n](e)):r),{});return r.propTypes={},r.filterProps=e.reduce(((e,t)=>e.concat(t.filterProps)),[]),r};function Yr(e){return"number"!=typeof e?e:`${e}px solid`}const Kr=Tr({prop:"border",themeKey:"borders",transform:Yr}),qr=Tr({prop:"borderTop",themeKey:"borders",transform:Yr}),Xr=Tr({prop:"borderRight",themeKey:"borders",transform:Yr}),Vr=Tr({prop:"borderBottom",themeKey:"borders",transform:Yr}),Jr=Tr({prop:"borderLeft",themeKey:"borders",transform:Yr}),Zr=Tr({prop:"borderColor",themeKey:"palette"}),Qr=Tr({prop:"borderTopColor",themeKey:"palette"}),en=Tr({prop:"borderRightColor",themeKey:"palette"}),tn=Tr({prop:"borderBottomColor",themeKey:"palette"}),rn=Tr({prop:"borderLeftColor",themeKey:"palette"}),nn=e=>{if(void 0!==e.borderRadius&&null!==e.borderRadius){const t=$r(e.theme,"shape.borderRadius",4),r=e=>({borderRadius:Dr(t,e)});return br(e,e.borderRadius,r)}return null};nn.propTypes={},nn.filterProps=["borderRadius"];Gr(Kr,qr,Xr,Vr,Jr,Zr,Qr,en,tn,rn,nn);const an=e=>{if(void 0!==e.gap&&null!==e.gap){const t=$r(e.theme,"spacing",8),r=e=>({gap:Dr(t,e)});return br(e,e.gap,r)}return null};an.propTypes={},an.filterProps=["gap"];const on=e=>{if(void 0!==e.columnGap&&null!==e.columnGap){const t=$r(e.theme,"spacing",8),r=e=>({columnGap:Dr(t,e)});return br(e,e.columnGap,r)}return null};on.propTypes={},on.filterProps=["columnGap"];const sn=e=>{if(void 0!==e.rowGap&&null!==e.rowGap){const t=$r(e.theme,"spacing",8),r=e=>({rowGap:Dr(t,e)});return br(e,e.rowGap,r)}return null};sn.propTypes={},sn.filterProps=["rowGap"];Gr(an,on,sn,Tr({prop:"gridColumn"}),Tr({prop:"gridRow"}),Tr({prop:"gridAutoFlow"}),Tr({prop:"gridAutoColumns"}),Tr({prop:"gridAutoRows"}),Tr({prop:"gridTemplateColumns"}),Tr({prop:"gridTemplateRows"}),Tr({prop:"gridTemplateAreas"}),Tr({prop:"gridArea"}));function ln(e,t){return"grey"===t?t:e}Gr(Tr({prop:"color",themeKey:"palette",transform:ln}),Tr({prop:"bgcolor",cssProperty:"backgroundColor",themeKey:"palette",transform:ln}),Tr({prop:"backgroundColor",themeKey:"palette",transform:ln}));function cn(e){return e<=1&&0!==e?100*e+"%":e}const un=Tr({prop:"width",transform:cn}),dn=e=>{if(void 0!==e.maxWidth&&null!==e.maxWidth){const t=t=>{var r,n;const a=(null==(r=e.theme)||null==(r=r.breakpoints)||null==(r=r.values)?void 0:r[t])||hr[t];return a?"px"!==(null==(n=e.theme)||null==(n=n.breakpoints)?void 0:n.unit)?{maxWidth:`${a}${e.theme.breakpoints.unit}`}:{maxWidth:a}:{maxWidth:cn(t)}};return br(e,e.maxWidth,t)}return null};dn.filterProps=["maxWidth"];const fn=Tr({prop:"minWidth",transform:cn}),pn=Tr({prop:"height",transform:cn}),mn=Tr({prop:"maxHeight",transform:cn}),hn=Tr({prop:"minHeight",transform:cn}),gn=(Tr({prop:"size",cssProperty:"width",transform:cn}),Tr({prop:"size",cssProperty:"height",transform:cn}),Gr(un,dn,fn,pn,mn,hn,Tr({prop:"boxSizing"})),{border:{themeKey:"borders",transform:Yr},borderTop:{themeKey:"borders",transform:Yr},borderRight:{themeKey:"borders",transform:Yr},borderBottom:{themeKey:"borders",transform:Yr},borderLeft:{themeKey:"borders",transform:Yr},borderColor:{themeKey:"palette"},borderTopColor:{themeKey:"palette"},borderRightColor:{themeKey:"palette"},borderBottomColor:{themeKey:"palette"},borderLeftColor:{themeKey:"palette"},borderRadius:{themeKey:"shape.borderRadius",style:nn},color:{themeKey:"palette",transform:ln},bgcolor:{themeKey:"palette",cssProperty:"backgroundColor",transform:ln},backgroundColor:{themeKey:"palette",transform:ln},p:{style:Wr},pt:{style:Wr},pr:{style:Wr},pb:{style:Wr},pl:{style:Wr},px:{style:Wr},py:{style:Wr},padding:{style:Wr},paddingTop:{style:Wr},paddingRight:{style:Wr},paddingBottom:{style:Wr},paddingLeft:{style:Wr},paddingX:{style:Wr},paddingY:{style:Wr},paddingInline:{style:Wr},paddingInlineStart:{style:Wr},paddingInlineEnd:{style:Wr},paddingBlock:{style:Wr},paddingBlockStart:{style:Wr},paddingBlockEnd:{style:Wr},m:{style:Br},mt:{style:Br},mr:{style:Br},mb:{style:Br},ml:{style:Br},mx:{style:Br},my:{style:Br},margin:{style:Br},marginTop:{style:Br},marginRight:{style:Br},marginBottom:{style:Br},marginLeft:{style:Br},marginX:{style:Br},marginY:{style:Br},marginInline:{style:Br},marginInlineStart:{style:Br},marginInlineEnd:{style:Br},marginBlock:{style:Br},marginBlockStart:{style:Br},marginBlockEnd:{style:Br},displayPrint:{cssProperty:!1,transform:e=>({"@media print":{display:e}})},display:{},overflow:{},textOverflow:{},visibility:{},whiteSpace:{},flexBasis:{},flexDirection:{},flexWrap:{},justifyContent:{},alignItems:{},alignContent:{},order:{},flex:{},flexGrow:{},flexShrink:{},alignSelf:{},justifyItems:{},justifySelf:{},gap:{style:an},rowGap:{style:sn},columnGap:{style:on},gridColumn:{},gridRow:{},gridAutoFlow:{},gridAutoColumns:{},gridAutoRows:{},gridTemplateColumns:{},gridTemplateRows:{},gridTemplateAreas:{},gridArea:{},position:{},zIndex:{themeKey:"zIndex"},top:{},right:{},bottom:{},left:{},boxShadow:{themeKey:"shadows"},width:{transform:cn},maxWidth:{style:dn},minWidth:{transform:cn},height:{transform:cn},maxHeight:{transform:cn},minHeight:{transform:cn},boxSizing:{},fontFamily:{themeKey:"typography"},fontSize:{themeKey:"typography"},fontStyle:{themeKey:"typography"},fontWeight:{themeKey:"typography"},letterSpacing:{},textTransform:{},lineHeight:{},textAlign:{},typography:{cssProperty:!1,themeKey:"typography"}}),bn=["sx"],yn=e=>{var t,r;const n={systemProps:{},otherProps:{}},a=null!=(t=null==e||null==(r=e.theme)?void 0:r.unstable_sxConfig)?t:gn;return Object.keys(e).forEach((t=>{a[t]?n.systemProps[t]=e[t]:n.otherProps[t]=e[t]})),n};function xn(e){const{sx:t}=e,r=dr(e,bn),{systemProps:n,otherProps:a}=yn(r);let o;return o=Array.isArray(t)?[n,...t]:"function"==typeof t?(...e)=>{const r=t(...e);return wr(r)?fr({},n,r):n}:fr({},n,t),fr({},a,{sx:o})}var vn=/^((children|dangerouslySetInnerHTML|key|ref|autoFocus|defaultValue|defaultChecked|innerHTML|suppressContentEditableWarning|suppressHydrationWarning|valueLink|abbr|accept|acceptCharset|accessKey|action|allow|allowUserMedia|allowPaymentRequest|allowFullScreen|allowTransparency|alt|async|autoComplete|autoPlay|capture|cellPadding|cellSpacing|challenge|charSet|checked|cite|classID|className|cols|colSpan|content|contentEditable|contextMenu|controls|controlsList|coords|crossOrigin|data|dateTime|decoding|default|defer|dir|disabled|disablePictureInPicture|download|draggable|encType|enterKeyHint|form|formAction|formEncType|formMethod|formNoValidate|formTarget|frameBorder|headers|height|hidden|high|href|hrefLang|htmlFor|httpEquiv|id|inputMode|integrity|is|keyParams|keyType|kind|label|lang|list|loading|loop|low|marginHeight|marginWidth|max|maxLength|media|mediaGroup|method|min|minLength|multiple|muted|name|nonce|noValidate|open|optimum|pattern|placeholder|playsInline|poster|preload|profile|radioGroup|readOnly|referrerPolicy|rel|required|reversed|role|rows|rowSpan|sandbox|scope|scoped|scrolling|seamless|selected|shape|size|sizes|slot|span|spellCheck|src|srcDoc|srcLang|srcSet|start|step|style|summary|tabIndex|target|title|translate|type|useMap|value|width|wmode|wrap|about|datatype|inlist|prefix|property|resource|typeof|vocab|autoCapitalize|autoCorrect|autoSave|color|incremental|fallback|inert|itemProp|itemScope|itemType|itemID|itemRef|on|option|results|security|unselectable|accentHeight|accumulate|additive|alignmentBaseline|allowReorder|alphabetic|amplitude|arabicForm|ascent|attributeName|attributeType|autoReverse|azimuth|baseFrequency|baselineShift|baseProfile|bbox|begin|bias|by|calcMode|capHeight|clip|clipPathUnits|clipPath|clipRule|colorInterpolation|colorInterpolationFilters|colorProfile|colorRendering|contentScriptType|contentStyleType|cursor|cx|cy|d|decelerate|descent|diffuseConstant|direction|display|divisor|dominantBaseline|dur|dx|dy|edgeMode|elevation|enableBackground|end|exponent|externalResourcesRequired|fill|fillOpacity|fillRule|filter|filterRes|filterUnits|floodColor|floodOpacity|focusable|fontFamily|fontSize|fontSizeAdjust|fontStretch|fontStyle|fontVariant|fontWeight|format|from|fr|fx|fy|g1|g2|glyphName|glyphOrientationHorizontal|glyphOrientationVertical|glyphRef|gradientTransform|gradientUnits|hanging|horizAdvX|horizOriginX|ideographic|imageRendering|in|in2|intercept|k|k1|k2|k3|k4|kernelMatrix|kernelUnitLength|kerning|keyPoints|keySplines|keyTimes|lengthAdjust|letterSpacing|lightingColor|limitingConeAngle|local|markerEnd|markerMid|markerStart|markerHeight|markerUnits|markerWidth|mask|maskContentUnits|maskUnits|mathematical|mode|numOctaves|offset|opacity|operator|order|orient|orientation|origin|overflow|overlinePosition|overlineThickness|panose1|paintOrder|pathLength|patternContentUnits|patternTransform|patternUnits|pointerEvents|points|pointsAtX|pointsAtY|pointsAtZ|preserveAlpha|preserveAspectRatio|primitiveUnits|r|radius|refX|refY|renderingIntent|repeatCount|repeatDur|requiredExtensions|requiredFeatures|restart|result|rotate|rx|ry|scale|seed|shapeRendering|slope|spacing|specularConstant|specularExponent|speed|spreadMethod|startOffset|stdDeviation|stemh|stemv|stitchTiles|stopColor|stopOpacity|strikethroughPosition|strikethroughThickness|string|stroke|strokeDasharray|strokeDashoffset|strokeLinecap|strokeLinejoin|strokeMiterlimit|strokeOpacity|strokeWidth|surfaceScale|systemLanguage|tableValues|targetX|targetY|textAnchor|textDecoration|textRendering|textLength|to|transform|u1|u2|underlinePosition|underlineThickness|unicode|unicodeBidi|unicodeRange|unitsPerEm|vAlphabetic|vHanging|vIdeographic|vMathematical|values|vectorEffect|version|vertAdvY|vertOriginX|vertOriginY|viewBox|viewTarget|visibility|widths|wordSpacing|writingMode|x|xHeight|x1|x2|xChannelSelector|xlinkActuate|xlinkArcrole|xlinkHref|xlinkRole|xlinkShow|xlinkTitle|xlinkType|xmlBase|xmlns|xmlnsXlink|xmlLang|xmlSpace|y|y1|y2|yChannelSelector|z|zoomAndPan|for|class|autofocus)|(([Dd][Aa][Tt][Aa]|[Aa][Rr][Ii][Aa]|x)-.*))$/,wn=de((function(e){return vn.test(e)||111===e.charCodeAt(0)&&110===e.charCodeAt(1)&&e.charCodeAt(2)<91})),kn=function(e){return"theme"!==e},Sn=function(e){return"string"==typeof e&&e.charCodeAt(0)>96?wn:kn},En=function(e,t,r){var n;if(t){var a=t.shouldForwardProp;n=e.__emotion_forwardProp&&a?function(t){return e.__emotion_forwardProp(t)&&a(t)}:a}return"function"!=typeof n&&r&&(n=e.__emotion_forwardProp),n},_n=function(e){var t=e.cache,r=e.serialized,n=e.isStringTag;return le(t,r,n),Se((function(){return ce(t,r,n)})),null},An=function e(r,n){var a,o,i=r.__emotion_real===r,s=i&&r.__emotion_base||r;void 0!==n&&(a=n.label,o=n.target);var l=En(r,n,i),c=l||Sn(s),u=!c("as");return function(){var d=arguments,f=i&&void 0!==r.__emotion_styles?r.__emotion_styles.slice(0):[];if(void 0!==a&&f.push("label:"+a+";"),null==d[0]||void 0===d[0].raw)f.push.apply(f,d);else{0,f.push(d[0][0]);for(var p=d.length,m=1;m<p;m++)f.push(d[m],d[0][m])}var h=Ae((function(e,r,n){var a=u&&e.as||s,i="",d=[],p=e;if(null==e.theme){for(var m in p={},e)p[m]=e[m];p.theme=t.useContext(Me)}"string"==typeof e.className?i=se(r.registered,d,e.className):null!=e.className&&(i=e.className+" ");var h=we(f.concat(d),r.registered,p);i+=r.key+"-"+h.name,void 0!==o&&(i+=" "+o);var g=u&&void 0===l?Sn(a):c,b={};for(var y in e)u&&"as"===y||g(y)&&(b[y]=e[y]);return b.className=i,b.ref=n,t.createElement(t.Fragment,null,t.createElement(_n,{cache:r,serialized:h,isStringTag:"string"==typeof a}),t.createElement(a,b))}));return h.displayName=void 0!==a?a:"Styled("+("string"==typeof s?s:s.displayName||s.name||"Component")+")",h.defaultProps=r.defaultProps,h.__emotion_real=h,h.__emotion_base=s,h.__emotion_styles=f,h.__emotion_forwardProp=l,Object.defineProperty(h,"toString",{value:function(){return"."+o}}),h.withComponent=function(t,r){return e(t,fr({},n,r,{shouldForwardProp:En(h,r,!0)})).apply(void 0,f)},h}}.bind();function Mn(e,t){return An(e,t)}["a","abbr","address","area","article","aside","audio","b","base","bdi","bdo","big","blockquote","body","br","button","canvas","caption","cite","code","col","colgroup","data","datalist","dd","del","details","dfn","dialog","div","dl","dt","em","embed","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","iframe","img","input","ins","kbd","keygen","label","legend","li","link","main","map","mark","marquee","menu","menuitem","meta","meter","nav","noscript","object","ol","optgroup","option","output","p","param","picture","pre","progress","q","rp","rt","ruby","s","samp","script","section","select","small","source","span","strong","style","sub","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","title","tr","track","u","ul","var","video","wbr","circle","clipPath","defs","ellipse","foreignObject","g","image","line","linearGradient","mask","path","pattern","polygon","polyline","radialGradient","rect","stop","svg","text","tspan"].forEach((function(e){An[e]=An(e)}));const Tn=["values","unit","step"],On=e=>{const t=Object.keys(e).map((t=>({key:t,val:e[t]})))||[];return t.sort(((e,t)=>e.val-t.val)),t.reduce(((e,t)=>fr({},e,{[t.key]:t.val})),{})};const Cn={borderRadius:4};const Nn=function(){function e(e,t,r,n){const a={[e]:t,theme:r},o=n[e];if(!o)return{[e]:t};const{cssProperty:i=e,themeKey:s,transform:l,style:c}=o;if(null==t)return null;if("typography"===s&&"inherit"===t)return{[e]:t};const u=Ar(r,s)||{};if(c)return c(a);return br(a,t,(t=>{let r=Mr(u,l,t);return t===r&&"string"==typeof t&&(r=Mr(u,l,`${e}${"default"===t?"":_r(t)}`,t)),!1===i?r:{[i]:r}}))}return function t(r){var n;const{sx:a,theme:o={}}=r||{};if(!a)return null;const i=null!=(n=o.unstable_sxConfig)?n:gn;function s(r){let n=r;if("function"==typeof r)n=r(o);else if("object"!=typeof r)return r;if(!n)return null;const a=yr(o.breakpoints),s=Object.keys(a);let l=a;return Object.keys(n).forEach((r=>{const a=(s=n[r],c=o,"function"==typeof s?s(c):s);var s,c;if(null!=a)if("object"==typeof a)if(i[r])l=Or(l,e(r,a,o,i));else{const e=br({theme:o},a,(e=>({[r]:e})));!function(...e){const t=e.reduce(((e,t)=>e.concat(Object.keys(t))),[]),r=new Set(t);return e.every((e=>r.size===Object.keys(e).length))}(e,a)?l=Or(l,e):l[r]=t({sx:a,theme:o})}else l=Or(l,e(r,a,o,i))})),xr(s,l)}return Array.isArray(a)?a.map(s):s(a)}}();Nn.filterProps=["sx"];const Rn=Nn,In=["breakpoints","palette","spacing","shape"];const Fn=function(e={},...t){const{breakpoints:r={},palette:n={},spacing:a,shape:o={}}=e,i=dr(e,In),s=function(e){const{values:t={xs:0,sm:600,md:900,lg:1200,xl:1536},unit:r="px",step:n=5}=e,a=dr(e,Tn),o=On(t),i=Object.keys(o);function s(e){return`@media (min-width:${"number"==typeof t[e]?t[e]:e}${r})`}function l(e){return`@media (max-width:${("number"==typeof t[e]?t[e]:e)-n/100}${r})`}function c(e,a){const o=i.indexOf(a);return`@media (min-width:${"number"==typeof t[e]?t[e]:e}${r}) and (max-width:${(-1!==o&&"number"==typeof t[i[o]]?t[i[o]]:a)-n/100}${r})`}return fr({keys:i,values:o,up:s,down:l,between:c,only:function(e){return i.indexOf(e)+1<i.length?c(e,i[i.indexOf(e)+1]):s(e)},not:function(e){const t=i.indexOf(e);return 0===t?s(i[1]):t===i.length-1?l(i[t]):c(e,i[i.indexOf(e)+1]).replace("@media","@media not all and")},unit:r},a)}(r),l=function(e=8){if(e.mui)return e;const t=jr({spacing:e}),r=(...e)=>(0===e.length?[1]:e).map((e=>{const r=t(e);return"number"==typeof r?`${r}px`:r})).join(" ");return r.mui=!0,r}(a);let c=Sr({breakpoints:s,direction:"ltr",components:{},palette:fr({mode:"light"},n),spacing:l,shape:fr({},Cn,o)},i);return c=t.reduce(((e,t)=>Sr(e,t)),c),c.unstable_sxConfig=fr({},gn,null==i?void 0:i.unstable_sxConfig),c.unstable_sx=function(e){return Rn({sx:e,theme:this})},c},Pn=["variant"];function Ln(e){return 0===e.length}function $n(e){const{variant:t}=e,r=dr(e,Pn);let n=t||"";return Object.keys(r).sort().forEach((t=>{n+="color"===t?Ln(n)?e[t]:_r(e[t]):`${Ln(n)?t:_r(t)}${_r(e[t].toString())}`})),n}const jn=["name","slot","skipVariantsResolver","skipSx","overridesResolver"];function Dn(e){return"ownerState"!==e&&"theme"!==e&&"sx"!==e&&"as"!==e}const zn=Fn(),Hn=e=>e?e.charAt(0).toLowerCase()+e.slice(1):e;function Bn({defaultTheme:e,theme:t,themeId:r}){return n=t,0===Object.keys(n).length?e:t[r]||t;var n}function Wn(e){return e?(t,r)=>r[e]:null}function Un(e,t){return fr({toolbar:{minHeight:56,[e.up("xs")]:{"@media (orientation: landscape)":{minHeight:48}},[e.up("sm")]:{minHeight:64}}},t)}function Gn(e,t=0,r=1){return Math.min(Math.max(t,e),r)}function Yn(e){if(e.type)return e;if("#"===e.charAt(0))return Yn(function(e){e=e.slice(1);const t=new RegExp(`.{1,${e.length>=6?2:1}}`,"g");let r=e.match(t);return r&&1===r[0].length&&(r=r.map((e=>e+e))),r?`rgb${4===r.length?"a":""}(${r.map(((e,t)=>t<3?parseInt(e,16):Math.round(parseInt(e,16)/255*1e3)/1e3)).join(", ")})`:""}(e));const t=e.indexOf("("),r=e.substring(0,t);if(-1===["rgb","rgba","hsl","hsla","color"].indexOf(r))throw new Error(Er(9,e));let n,a=e.substring(t+1,e.length-1);if("color"===r){if(a=a.split(" "),n=a.shift(),4===a.length&&"/"===a[3].charAt(0)&&(a[3]=a[3].slice(1)),-1===["srgb","display-p3","a98-rgb","prophoto-rgb","rec-2020"].indexOf(n))throw new Error(Er(10,n))}else a=a.split(",");return a=a.map((e=>parseFloat(e))),{type:r,values:a,colorSpace:n}}function Kn(e){const{type:t,colorSpace:r}=e;let{values:n}=e;return-1!==t.indexOf("rgb")?n=n.map(((e,t)=>t<3?parseInt(e,10):e)):-1!==t.indexOf("hsl")&&(n[1]=`${n[1]}%`,n[2]=`${n[2]}%`),n=-1!==t.indexOf("color")?`${r} ${n.join(" ")}`:`${n.join(", ")}`,`${t}(${n})`}function qn(e){let t="hsl"===(e=Yn(e)).type||"hsla"===e.type?Yn(function(e){e=Yn(e);const{values:t}=e,r=t[0],n=t[1]/100,a=t[2]/100,o=n*Math.min(a,1-a),i=(e,t=(e+r/30)%12)=>a-o*Math.max(Math.min(t-3,9-t,1),-1);let s="rgb";const l=[Math.round(255*i(0)),Math.round(255*i(8)),Math.round(255*i(4))];return"hsla"===e.type&&(s+="a",l.push(t[3])),Kn({type:s,values:l})}(e)).values:e.values;return t=t.map((t=>("color"!==e.type&&(t/=255),t<=.03928?t/12.92:((t+.055)/1.055)**2.4))),Number((.2126*t[0]+.7152*t[1]+.0722*t[2]).toFixed(3))}function Xn(e,t){if(e=Yn(e),t=Gn(t),-1!==e.type.indexOf("hsl"))e.values[2]*=1-t;else if(-1!==e.type.indexOf("rgb")||-1!==e.type.indexOf("color"))for(let r=0;r<3;r+=1)e.values[r]*=1-t;return Kn(e)}function Vn(e,t){if(e=Yn(e),t=Gn(t),-1!==e.type.indexOf("hsl"))e.values[2]+=(100-e.values[2])*t;else if(-1!==e.type.indexOf("rgb"))for(let r=0;r<3;r+=1)e.values[r]+=(255-e.values[r])*t;else if(-1!==e.type.indexOf("color"))for(let r=0;r<3;r+=1)e.values[r]+=(1-e.values[r])*t;return Kn(e)}const Jn={black:"#000",white:"#fff"},Zn={50:"#fafafa",100:"#f5f5f5",200:"#eeeeee",300:"#e0e0e0",400:"#bdbdbd",500:"#9e9e9e",600:"#757575",700:"#616161",800:"#424242",900:"#212121",A100:"#f5f5f5",A200:"#eeeeee",A400:"#bdbdbd",A700:"#616161"},Qn={50:"#f3e5f5",100:"#e1bee7",200:"#ce93d8",300:"#ba68c8",400:"#ab47bc",500:"#9c27b0",600:"#8e24aa",700:"#7b1fa2",800:"#6a1b9a",900:"#4a148c",A100:"#ea80fc",A200:"#e040fb",A400:"#d500f9",A700:"#aa00ff"},ea={50:"#ffebee",100:"#ffcdd2",200:"#ef9a9a",300:"#e57373",400:"#ef5350",500:"#f44336",600:"#e53935",700:"#d32f2f",800:"#c62828",900:"#b71c1c",A100:"#ff8a80",A200:"#ff5252",A400:"#ff1744",A700:"#d50000"},ta={50:"#fff3e0",100:"#ffe0b2",200:"#ffcc80",300:"#ffb74d",400:"#ffa726",500:"#ff9800",600:"#fb8c00",700:"#f57c00",800:"#ef6c00",900:"#e65100",A100:"#ffd180",A200:"#ffab40",A400:"#ff9100",A700:"#ff6d00"},ra={50:"#e3f2fd",100:"#bbdefb",200:"#90caf9",300:"#64b5f6",400:"#42a5f5",500:"#2196f3",600:"#1e88e5",700:"#1976d2",800:"#1565c0",900:"#0d47a1",A100:"#82b1ff",A200:"#448aff",A400:"#2979ff",A700:"#2962ff"},na={50:"#e1f5fe",100:"#b3e5fc",200:"#81d4fa",300:"#4fc3f7",400:"#29b6f6",500:"#03a9f4",600:"#039be5",700:"#0288d1",800:"#0277bd",900:"#01579b",A100:"#80d8ff",A200:"#40c4ff",A400:"#00b0ff",A700:"#0091ea"},aa={50:"#e8f5e9",100:"#c8e6c9",200:"#a5d6a7",300:"#81c784",400:"#66bb6a",500:"#4caf50",600:"#43a047",700:"#388e3c",800:"#2e7d32",900:"#1b5e20",A100:"#b9f6ca",A200:"#69f0ae",A400:"#00e676",A700:"#00c853"},oa=["mode","contrastThreshold","tonalOffset"],ia={text:{primary:"rgba(0, 0, 0, 0.87)",secondary:"rgba(0, 0, 0, 0.6)",disabled:"rgba(0, 0, 0, 0.38)"},divider:"rgba(0, 0, 0, 0.12)",background:{paper:Jn.white,default:Jn.white},action:{active:"rgba(0, 0, 0, 0.54)",hover:"rgba(0, 0, 0, 0.04)",hoverOpacity:.04,selected:"rgba(0, 0, 0, 0.08)",selectedOpacity:.08,disabled:"rgba(0, 0, 0, 0.26)",disabledBackground:"rgba(0, 0, 0, 0.12)",disabledOpacity:.38,focus:"rgba(0, 0, 0, 0.12)",focusOpacity:.12,activatedOpacity:.12}},sa={text:{primary:Jn.white,secondary:"rgba(255, 255, 255, 0.7)",disabled:"rgba(255, 255, 255, 0.5)",icon:"rgba(255, 255, 255, 0.5)"},divider:"rgba(255, 255, 255, 0.12)",background:{paper:"#121212",default:"#121212"},action:{active:Jn.white,hover:"rgba(255, 255, 255, 0.08)",hoverOpacity:.08,selected:"rgba(255, 255, 255, 0.16)",selectedOpacity:.16,disabled:"rgba(255, 255, 255, 0.3)",disabledBackground:"rgba(255, 255, 255, 0.12)",disabledOpacity:.38,focus:"rgba(255, 255, 255, 0.12)",focusOpacity:.12,activatedOpacity:.24}};function la(e,t,r,n){const a=n.light||n,o=n.dark||1.5*n;e[t]||(e.hasOwnProperty(r)?e[t]=e[r]:"light"===t?e.light=Vn(e.main,a):"dark"===t&&(e.dark=Xn(e.main,o)))}function ca(e){const{mode:t="light",contrastThreshold:r=3,tonalOffset:n=.2}=e,a=dr(e,oa),o=e.primary||function(e="light"){return"dark"===e?{main:ra[200],light:ra[50],dark:ra[400]}:{main:ra[700],light:ra[400],dark:ra[800]}}(t),i=e.secondary||function(e="light"){return"dark"===e?{main:Qn[200],light:Qn[50],dark:Qn[400]}:{main:Qn[500],light:Qn[300],dark:Qn[700]}}(t),s=e.error||function(e="light"){return"dark"===e?{main:ea[500],light:ea[300],dark:ea[700]}:{main:ea[700],light:ea[400],dark:ea[800]}}(t),l=e.info||function(e="light"){return"dark"===e?{main:na[400],light:na[300],dark:na[700]}:{main:na[700],light:na[500],dark:na[900]}}(t),c=e.success||function(e="light"){return"dark"===e?{main:aa[400],light:aa[300],dark:aa[700]}:{main:aa[800],light:aa[500],dark:aa[900]}}(t),u=e.warning||function(e="light"){return"dark"===e?{main:ta[400],light:ta[300],dark:ta[700]}:{main:"#ed6c02",light:ta[500],dark:ta[900]}}(t);function d(e){const t=function(e,t){const r=qn(e),n=qn(t);return(Math.max(r,n)+.05)/(Math.min(r,n)+.05)}(e,sa.text.primary)>=r?sa.text.primary:ia.text.primary;return t}const f=({color:e,name:t,mainShade:r=500,lightShade:a=300,darkShade:o=700})=>{if(!(e=fr({},e)).main&&e[r]&&(e.main=e[r]),!e.hasOwnProperty("main"))throw new Error(Er(11,t?` (${t})`:"",r));if("string"!=typeof e.main)throw new Error(Er(12,t?` (${t})`:"",JSON.stringify(e.main)));return la(e,"light",a,n),la(e,"dark",o,n),e.contrastText||(e.contrastText=d(e.main)),e},p={dark:sa,light:ia};return Sr(fr({common:fr({},Jn),mode:t,primary:f({color:o,name:"primary"}),secondary:f({color:i,name:"secondary",mainShade:"A400",lightShade:"A200",darkShade:"A700"}),error:f({color:s,name:"error"}),warning:f({color:u,name:"warning"}),info:f({color:l,name:"info"}),success:f({color:c,name:"success"}),grey:Zn,contrastThreshold:r,getContrastText:d,augmentColor:f,tonalOffset:n},p[t]),a)}const ua=["fontFamily","fontSize","fontWeightLight","fontWeightRegular","fontWeightMedium","fontWeightBold","htmlFontSize","allVariants","pxToRem"];const da={textTransform:"uppercase"},fa='"Roboto", "Helvetica", "Arial", sans-serif';function pa(e,t){const r="function"==typeof t?t(e):t,{fontFamily:n=fa,fontSize:a=14,fontWeightLight:o=300,fontWeightRegular:i=400,fontWeightMedium:s=500,fontWeightBold:l=700,htmlFontSize:c=16,allVariants:u,pxToRem:d}=r,f=dr(r,ua);const p=a/14,m=d||(e=>e/c*p+"rem"),h=(e,t,r,a,o)=>{return fr({fontFamily:n,fontWeight:e,fontSize:m(t),lineHeight:r},n===fa?{letterSpacing:(i=a/t,Math.round(1e5*i)/1e5)+"em"}:{},o,u);var i},g={h1:h(o,96,1.167,-1.5),h2:h(o,60,1.2,-.5),h3:h(i,48,1.167,0),h4:h(i,34,1.235,.25),h5:h(i,24,1.334,0),h6:h(s,20,1.6,.15),subtitle1:h(i,16,1.75,.15),subtitle2:h(s,14,1.57,.1),body1:h(i,16,1.5,.15),body2:h(i,14,1.43,.15),button:h(s,14,1.75,.4,da),caption:h(i,12,1.66,.4),overline:h(i,12,2.66,1,da),inherit:{fontFamily:"inherit",fontWeight:"inherit",fontSize:"inherit",lineHeight:"inherit",letterSpacing:"inherit"}};return Sr(fr({htmlFontSize:c,pxToRem:m,fontFamily:n,fontSize:a,fontWeightLight:o,fontWeightRegular:i,fontWeightMedium:s,fontWeightBold:l},g),f,{clone:!1})}function ma(...e){return[`${e[0]}px ${e[1]}px ${e[2]}px ${e[3]}px rgba(0,0,0,0.2)`,`${e[4]}px ${e[5]}px ${e[6]}px ${e[7]}px rgba(0,0,0,0.14)`,`${e[8]}px ${e[9]}px ${e[10]}px ${e[11]}px rgba(0,0,0,0.12)`].join(",")}const ha=["none",ma(0,2,1,-1,0,1,1,0,0,1,3,0),ma(0,3,1,-2,0,2,2,0,0,1,5,0),ma(0,3,3,-2,0,3,4,0,0,1,8,0),ma(0,2,4,-1,0,4,5,0,0,1,10,0),ma(0,3,5,-1,0,5,8,0,0,1,14,0),ma(0,3,5,-1,0,6,10,0,0,1,18,0),ma(0,4,5,-2,0,7,10,1,0,2,16,1),ma(0,5,5,-3,0,8,10,1,0,3,14,2),ma(0,5,6,-3,0,9,12,1,0,3,16,2),ma(0,6,6,-3,0,10,14,1,0,4,18,3),ma(0,6,7,-4,0,11,15,1,0,4,20,3),ma(0,7,8,-4,0,12,17,2,0,5,22,4),ma(0,7,8,-4,0,13,19,2,0,5,24,4),ma(0,7,9,-4,0,14,21,2,0,5,26,4),ma(0,8,9,-5,0,15,22,2,0,6,28,5),ma(0,8,10,-5,0,16,24,2,0,6,30,5),ma(0,8,11,-5,0,17,26,2,0,6,32,5),ma(0,9,11,-5,0,18,28,2,0,7,34,6),ma(0,9,12,-6,0,19,29,2,0,7,36,6),ma(0,10,13,-6,0,20,31,3,0,8,38,7),ma(0,10,13,-6,0,21,33,3,0,8,40,7),ma(0,10,14,-6,0,22,35,3,0,8,42,7),ma(0,11,14,-7,0,23,36,3,0,9,44,8),ma(0,11,15,-7,0,24,38,3,0,9,46,8)],ga=["duration","easing","delay"],ba={easeInOut:"cubic-bezier(0.4, 0, 0.2, 1)",easeOut:"cubic-bezier(0.0, 0, 0.2, 1)",easeIn:"cubic-bezier(0.4, 0, 1, 1)",sharp:"cubic-bezier(0.4, 0, 0.6, 1)"},ya={shortest:150,shorter:200,short:250,standard:300,complex:375,enteringScreen:225,leavingScreen:195};function xa(e){return`${Math.round(e)}ms`}function va(e){if(!e)return 0;const t=e/36;return Math.round(10*(4+15*t**.25+t/5))}function wa(e){const t=fr({},ba,e.easing),r=fr({},ya,e.duration);return fr({getAutoHeightDuration:va,create:(e=["all"],n={})=>{const{duration:a=r.standard,easing:o=t.easeInOut,delay:i=0}=n;dr(n,ga);return(Array.isArray(e)?e:[e]).map((e=>`${e} ${"string"==typeof a?a:xa(a)} ${o} ${"string"==typeof i?i:xa(i)}`)).join(",")}},e,{easing:t,duration:r})}const ka={mobileStepper:1e3,fab:1050,speedDial:1050,appBar:1100,drawer:1200,modal:1300,snackbar:1400,tooltip:1500},Sa=["breakpoints","mixins","spacing","palette","transitions","typography","shape"];function Ea(e={},...t){const{mixins:r={},palette:n={},transitions:a={},typography:o={}}=e,i=dr(e,Sa);if(e.vars)throw new Error(Er(18));const s=ca(n),l=Fn(e);let c=Sr(l,{mixins:Un(l.breakpoints,r),palette:s,shadows:ha.slice(),typography:pa(s,o),transitions:wa(a),zIndex:fr({},ka)});return c=Sr(c,i),c=t.reduce(((e,t)=>Sr(e,t)),c),c.unstable_sxConfig=fr({},gn,null==i?void 0:i.unstable_sxConfig),c.unstable_sx=function(e){return Rn({sx:e,theme:this})},c}const _a=Ea,Aa=_a(),Ma="$$material",Ta=function(e={}){const{themeId:t,defaultTheme:r=zn,rootShouldForwardProp:n=Dn,slotShouldForwardProp:a=Dn}=e,o=e=>Rn(fr({},e,{theme:Bn(fr({},e,{defaultTheme:r,themeId:t}))}));return o.__mui_systemSx=!0,(e,i={})=>{((e,t)=>{Array.isArray(e.__emotion_styles)&&(e.__emotion_styles=t(e.__emotion_styles))})(e,(e=>e.filter((e=>!(null!=e&&e.__mui_systemSx)))));const{name:s,slot:l,skipVariantsResolver:c,skipSx:u,overridesResolver:d=Wn(Hn(l))}=i,f=dr(i,jn),p=void 0!==c?c:l&&"Root"!==l&&"root"!==l||!1,m=u||!1;let h=Dn;"Root"===l||"root"===l?h=n:l?h=a:function(e){return"string"==typeof e&&e.charCodeAt(0)>96}(e)&&(h=void 0);const g=Mn(e,fr({shouldForwardProp:h,label:undefined},f)),b=(n,...a)=>{const i=a?a.map((e=>"function"==typeof e&&e.__emotion_real!==e?n=>e(fr({},n,{theme:Bn(fr({},n,{defaultTheme:r,themeId:t}))})):e)):[];let l=n;s&&d&&i.push((e=>{const n=Bn(fr({},e,{defaultTheme:r,themeId:t})),a=((e,t)=>t.components&&t.components[e]&&t.components[e].styleOverrides?t.components[e].styleOverrides:null)(s,n);if(a){const t={};return Object.entries(a).forEach((([r,a])=>{t[r]="function"==typeof a?a(fr({},e,{theme:n})):a})),d(e,t)}return null})),s&&!p&&i.push((e=>{const n=Bn(fr({},e,{defaultTheme:r,themeId:t}));return((e,t,r,n)=>{var a;const{ownerState:o={}}=e,i=[],s=null==r||null==(a=r.components)||null==(a=a[n])?void 0:a.variants;return s&&s.forEach((r=>{let n=!0;Object.keys(r.props).forEach((t=>{o[t]!==r.props[t]&&e[t]!==r.props[t]&&(n=!1)})),n&&i.push(t[$n(r.props)])})),i})(e,((e,t)=>{let r=[];t&&t.components&&t.components[e]&&t.components[e].variants&&(r=t.components[e].variants);const n={};return r.forEach((e=>{const t=$n(e.props);n[t]=e.style})),n})(s,n),n,s)})),m||i.push(o);const c=i.length-a.length;if(Array.isArray(n)&&c>0){const e=new Array(c).fill("");l=[...n,...e],l.raw=[...n.raw,...e]}else"function"==typeof n&&n.__emotion_real!==n&&(l=e=>n(fr({},e,{theme:Bn(fr({},e,{defaultTheme:r,themeId:t}))})));const u=g(l,...i);return e.muiName&&(u.muiName=e.muiName),u};return g.withConfig&&(b.withConfig=g.withConfig),b}}({themeId:Ma,defaultTheme:Aa,rootShouldForwardProp:e=>Dn(e)&&"classes"!==e}),Oa=Ta;function Ca(e,t){const r=fr({},t);return Object.keys(e).forEach((n=>{if(n.toString().match(/^(components|slots)$/))r[n]=fr({},e[n],r[n]);else if(n.toString().match(/^(componentsProps|slotProps)$/)){const a=e[n]||{},o=t[n];r[n]={},o&&Object.keys(o)?a&&Object.keys(a)?(r[n]=fr({},o),Object.keys(a).forEach((e=>{r[n][e]=Ca(a[e],o[e])}))):r[n]=o:r[n]=a}else void 0===r[n]&&(r[n]=e[n])})),r}function Na(e){const{theme:t,name:r,props:n}=e;return t&&t.components&&t.components[r]&&t.components[r].defaultProps?Ca(t.components[r].defaultProps,n):n}const Ra=function(e=null){const r=t.useContext(Me);return r&&(n=r,0!==Object.keys(n).length)?r:e;var n},Ia=Fn();const Fa=function(e=Ia){return Ra(e)};function Pa({props:e,name:t}){return function({props:e,name:t,defaultTheme:r,themeId:n}){let a=Fa(r);return n&&(a=a[n]||a),Na({theme:a,name:t,props:e})}({props:e,name:t,defaultTheme:Aa,themeId:Ma})}const La=t.createContext(),$a=e=>e,ja=(()=>{let e=$a;return{configure(t){e=t},generate:t=>e(t),reset(){e=$a}}})(),Da={active:"active",checked:"checked",completed:"completed",disabled:"disabled",error:"error",expanded:"expanded",focused:"focused",focusVisible:"focusVisible",open:"open",readOnly:"readOnly",required:"required",selected:"selected"};function za(e,t,r="Mui"){const n=Da[t];return n?`${r}-${n}`:`${ja.generate(e)}-${t}`}function Ha(e){return za("MuiGrid",e)}const Ba=["auto",!0,1,2,3,4,5,6,7,8,9,10,11,12],Wa=function(e,t,r="Mui"){const n={};return t.forEach((t=>{n[t]=za(e,t,r)})),n}("MuiGrid",["root","container","item","zeroMinWidth",...[0,1,2,3,4,5,6,7,8,9,10].map((e=>`spacing-xs-${e}`)),...["column-reverse","column","row-reverse","row"].map((e=>`direction-xs-${e}`)),...["nowrap","wrap-reverse","wrap"].map((e=>`wrap-xs-${e}`)),...Ba.map((e=>`grid-xs-${e}`)),...Ba.map((e=>`grid-sm-${e}`)),...Ba.map((e=>`grid-md-${e}`)),...Ba.map((e=>`grid-lg-${e}`)),...Ba.map((e=>`grid-xl-${e}`))]),Ua=Wa,Ga=["className","columns","columnSpacing","component","container","direction","item","rowSpacing","spacing","wrap","zeroMinWidth"];function Ya(e){const t=parseFloat(e);return`${t}${String(e).replace(String(t),"")||"px"}`}function Ka({breakpoints:e,values:t}){let r="";Object.keys(t).forEach((e=>{""===r&&0!==t[e]&&(r=e)}));const n=Object.keys(e).sort(((t,r)=>e[t]-e[r]));return n.slice(0,n.indexOf(r))}const qa=Oa("div",{name:"MuiGrid",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:r}=e,{container:n,direction:a,item:o,spacing:i,wrap:s,zeroMinWidth:l,breakpoints:c}=r;let u=[];n&&(u=function(e,t,r={}){if(!e||e<=0)return[];if("string"==typeof e&&!Number.isNaN(Number(e))||"number"==typeof e)return[r[`spacing-xs-${String(e)}`]];const n=[];return t.forEach((t=>{const a=e[t];Number(a)>0&&n.push(r[`spacing-${t}-${String(a)}`])})),n}(i,c,t));const d=[];return c.forEach((e=>{const n=r[e];n&&d.push(t[`grid-${e}-${String(n)}`])})),[t.root,n&&t.container,o&&t.item,l&&t.zeroMinWidth,...u,"row"!==a&&t[`direction-xs-${String(a)}`],"wrap"!==s&&t[`wrap-xs-${String(s)}`],...d]}})((({ownerState:e})=>fr({boxSizing:"border-box"},e.container&&{display:"flex",flexWrap:"wrap",width:"100%"},e.item&&{margin:0},e.zeroMinWidth&&{minWidth:0},"wrap"!==e.wrap&&{flexWrap:e.wrap})),(function({theme:e,ownerState:t}){return br({theme:e},vr({values:t.direction,breakpoints:e.breakpoints.values}),(e=>{const t={flexDirection:e};return 0===e.indexOf("column")&&(t[`& > .${Ua.item}`]={maxWidth:"none"}),t}))}),(function({theme:e,ownerState:t}){const{container:r,rowSpacing:n}=t;let a={};if(r&&0!==n){const t=vr({values:n,breakpoints:e.breakpoints.values});let r;"object"==typeof t&&(r=Ka({breakpoints:e.breakpoints.values,values:t})),a=br({theme:e},t,((t,n)=>{var a;const o=e.spacing(t);return"0px"!==o?{marginTop:`-${Ya(o)}`,[`& > .${Ua.item}`]:{paddingTop:Ya(o)}}:null!=(a=r)&&a.includes(n)?{}:{marginTop:0,[`& > .${Ua.item}`]:{paddingTop:0}}}))}return a}),(function({theme:e,ownerState:t}){const{container:r,columnSpacing:n}=t;let a={};if(r&&0!==n){const t=vr({values:n,breakpoints:e.breakpoints.values});let r;"object"==typeof t&&(r=Ka({breakpoints:e.breakpoints.values,values:t})),a=br({theme:e},t,((t,n)=>{var a;const o=e.spacing(t);return"0px"!==o?{width:`calc(100% + ${Ya(o)})`,marginLeft:`-${Ya(o)}`,[`& > .${Ua.item}`]:{paddingLeft:Ya(o)}}:null!=(a=r)&&a.includes(n)?{}:{width:"100%",marginLeft:0,[`& > .${Ua.item}`]:{paddingLeft:0}}}))}return a}),(function({theme:e,ownerState:t}){let r;return e.breakpoints.keys.reduce(((n,a)=>{let o={};if(t[a]&&(r=t[a]),!r)return n;if(!0===r)o={flexBasis:0,flexGrow:1,maxWidth:"100%"};else if("auto"===r)o={flexBasis:"auto",flexGrow:0,flexShrink:0,maxWidth:"none",width:"auto"};else{const i=vr({values:t.columns,breakpoints:e.breakpoints.values}),s="object"==typeof i?i[a]:i;if(null==s)return n;const l=Math.round(r/s*1e8)/1e6+"%";let c={};if(t.container&&t.item&&0!==t.columnSpacing){const r=e.spacing(t.columnSpacing);if("0px"!==r){const e=`calc(${l} + ${Ya(r)})`;c={flexBasis:e,maxWidth:e}}}o=fr({flexBasis:l,flexGrow:0,maxWidth:l},c)}return 0===e.breakpoints.values[a]?Object.assign(n,o):n[e.breakpoints.up(a)]=o,n}),{})}));const Xa=e=>{const{classes:t,container:r,direction:n,item:a,spacing:o,wrap:i,zeroMinWidth:s,breakpoints:l}=e;let c=[];r&&(c=function(e,t){if(!e||e<=0)return[];if("string"==typeof e&&!Number.isNaN(Number(e))||"number"==typeof e)return[`spacing-xs-${String(e)}`];const r=[];return t.forEach((t=>{const n=e[t];if(Number(n)>0){const e=`spacing-${t}-${String(n)}`;r.push(e)}})),r}(o,l));const u=[];l.forEach((t=>{const r=e[t];r&&u.push(`grid-${t}-${String(r)}`)}));return function(e,t,r){const n={};return Object.keys(e).forEach((a=>{n[a]=e[a].reduce(((e,n)=>{if(n){const a=t(n);""!==a&&e.push(a),r&&r[n]&&e.push(r[n])}return e}),[]).join(" ")})),n}({root:["root",r&&"container",a&&"item",s&&"zeroMinWidth",...c,"row"!==n&&`direction-xs-${String(n)}`,"wrap"!==i&&`wrap-xs-${String(i)}`,...u]},Ha,t)},Va=t.forwardRef((function(r,n){const a=Pa({props:r,name:"MuiGrid"}),{breakpoints:o}=function(){const e=Fa(Aa);return e[Ma]||e}(),i=xn(a),{className:s,columns:l,columnSpacing:c,component:u="div",container:d=!1,direction:f="row",item:p=!1,rowSpacing:m,spacing:h=0,wrap:g="wrap",zeroMinWidth:b=!1}=i,y=dr(i,Ga),x=m||h,v=c||h,w=t.useContext(La),k=d?l||12:w,S={},E=fr({},y);o.keys.forEach((e=>{null!=y[e]&&(S[e]=y[e],delete E[e])}));const _=fr({},i,{columns:k,container:d,direction:f,item:p,rowSpacing:x,columnSpacing:v,wrap:g,zeroMinWidth:b,spacing:h},S,{breakpoints:o.keys}),A=Xa(_);return(0,e.jsx)(La.Provider,{value:k,children:(0,e.jsx)(qa,fr({ownerState:_,className:mr(A.root,s),as:u,ref:n},E))})}));const Ja=Va;function Za(e){return Za="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},Za(e)}var Qa=/^\s+/,eo=/\s+$/;function to(e,t){if(t=t||{},(e=e||"")instanceof to)return e;if(!(this instanceof to))return new to(e,t);var r=function(e){var t={r:0,g:0,b:0},r=1,n=null,a=null,o=null,i=!1,s=!1;"string"==typeof e&&(e=function(e){e=e.replace(Qa,"").replace(eo,"").toLowerCase();var t,r=!1;if(xo[e])e=xo[e],r=!0;else if("transparent"==e)return{r:0,g:0,b:0,a:0,format:"name"};if(t=Ro.rgb.exec(e))return{r:t[1],g:t[2],b:t[3]};if(t=Ro.rgba.exec(e))return{r:t[1],g:t[2],b:t[3],a:t[4]};if(t=Ro.hsl.exec(e))return{h:t[1],s:t[2],l:t[3]};if(t=Ro.hsla.exec(e))return{h:t[1],s:t[2],l:t[3],a:t[4]};if(t=Ro.hsv.exec(e))return{h:t[1],s:t[2],v:t[3]};if(t=Ro.hsva.exec(e))return{h:t[1],s:t[2],v:t[3],a:t[4]};if(t=Ro.hex8.exec(e))return{r:Eo(t[1]),g:Eo(t[2]),b:Eo(t[3]),a:To(t[4]),format:r?"name":"hex8"};if(t=Ro.hex6.exec(e))return{r:Eo(t[1]),g:Eo(t[2]),b:Eo(t[3]),format:r?"name":"hex"};if(t=Ro.hex4.exec(e))return{r:Eo(t[1]+""+t[1]),g:Eo(t[2]+""+t[2]),b:Eo(t[3]+""+t[3]),a:To(t[4]+""+t[4]),format:r?"name":"hex8"};if(t=Ro.hex3.exec(e))return{r:Eo(t[1]+""+t[1]),g:Eo(t[2]+""+t[2]),b:Eo(t[3]+""+t[3]),format:r?"name":"hex"};return!1}(e));"object"==Za(e)&&(Io(e.r)&&Io(e.g)&&Io(e.b)?(t=function(e,t,r){return{r:255*ko(e,255),g:255*ko(t,255),b:255*ko(r,255)}}(e.r,e.g,e.b),i=!0,s="%"===String(e.r).substr(-1)?"prgb":"rgb"):Io(e.h)&&Io(e.s)&&Io(e.v)?(n=Ao(e.s),a=Ao(e.v),t=function(e,t,r){e=6*ko(e,360),t=ko(t,100),r=ko(r,100);var n=Math.floor(e),a=e-n,o=r*(1-t),i=r*(1-a*t),s=r*(1-(1-a)*t),l=n%6,c=[r,i,o,o,s,r][l],u=[s,r,r,i,o,o][l],d=[o,o,s,r,r,i][l];return{r:255*c,g:255*u,b:255*d}}(e.h,n,a),i=!0,s="hsv"):Io(e.h)&&Io(e.s)&&Io(e.l)&&(n=Ao(e.s),o=Ao(e.l),t=function(e,t,r){var n,a,o;function i(e,t,r){return r<0&&(r+=1),r>1&&(r-=1),r<1/6?e+6*(t-e)*r:r<.5?t:r<2/3?e+(t-e)*(2/3-r)*6:e}if(e=ko(e,360),t=ko(t,100),r=ko(r,100),0===t)n=a=o=r;else{var s=r<.5?r*(1+t):r+t-r*t,l=2*r-s;n=i(l,s,e+1/3),a=i(l,s,e),o=i(l,s,e-1/3)}return{r:255*n,g:255*a,b:255*o}}(e.h,n,o),i=!0,s="hsl"),e.hasOwnProperty("a")&&(r=e.a));return r=wo(r),{ok:i,format:e.format||s,r:Math.min(255,Math.max(t.r,0)),g:Math.min(255,Math.max(t.g,0)),b:Math.min(255,Math.max(t.b,0)),a:r}}(e);this._originalInput=e,this._r=r.r,this._g=r.g,this._b=r.b,this._a=r.a,this._roundA=Math.round(100*this._a)/100,this._format=t.format||r.format,this._gradientType=t.gradientType,this._r<1&&(this._r=Math.round(this._r)),this._g<1&&(this._g=Math.round(this._g)),this._b<1&&(this._b=Math.round(this._b)),this._ok=r.ok}function ro(e,t,r){e=ko(e,255),t=ko(t,255),r=ko(r,255);var n,a,o=Math.max(e,t,r),i=Math.min(e,t,r),s=(o+i)/2;if(o==i)n=a=0;else{var l=o-i;switch(a=s>.5?l/(2-o-i):l/(o+i),o){case e:n=(t-r)/l+(t<r?6:0);break;case t:n=(r-e)/l+2;break;case r:n=(e-t)/l+4}n/=6}return{h:n,s:a,l:s}}function no(e,t,r){e=ko(e,255),t=ko(t,255),r=ko(r,255);var n,a,o=Math.max(e,t,r),i=Math.min(e,t,r),s=o,l=o-i;if(a=0===o?0:l/o,o==i)n=0;else{switch(o){case e:n=(t-r)/l+(t<r?6:0);break;case t:n=(r-e)/l+2;break;case r:n=(e-t)/l+4}n/=6}return{h:n,s:a,v:s}}function ao(e,t,r,n){var a=[_o(Math.round(e).toString(16)),_o(Math.round(t).toString(16)),_o(Math.round(r).toString(16))];return n&&a[0].charAt(0)==a[0].charAt(1)&&a[1].charAt(0)==a[1].charAt(1)&&a[2].charAt(0)==a[2].charAt(1)?a[0].charAt(0)+a[1].charAt(0)+a[2].charAt(0):a.join("")}function oo(e,t,r,n){return[_o(Mo(n)),_o(Math.round(e).toString(16)),_o(Math.round(t).toString(16)),_o(Math.round(r).toString(16))].join("")}function io(e,t){t=0===t?0:t||10;var r=to(e).toHsl();return r.s-=t/100,r.s=So(r.s),to(r)}function so(e,t){t=0===t?0:t||10;var r=to(e).toHsl();return r.s+=t/100,r.s=So(r.s),to(r)}function lo(e){return to(e).desaturate(100)}function co(e,t){t=0===t?0:t||10;var r=to(e).toHsl();return r.l+=t/100,r.l=So(r.l),to(r)}function uo(e,t){t=0===t?0:t||10;var r=to(e).toRgb();return r.r=Math.max(0,Math.min(255,r.r-Math.round(-t/100*255))),r.g=Math.max(0,Math.min(255,r.g-Math.round(-t/100*255))),r.b=Math.max(0,Math.min(255,r.b-Math.round(-t/100*255))),to(r)}function fo(e,t){t=0===t?0:t||10;var r=to(e).toHsl();return r.l-=t/100,r.l=So(r.l),to(r)}function po(e,t){var r=to(e).toHsl(),n=(r.h+t)%360;return r.h=n<0?360+n:n,to(r)}function mo(e){var t=to(e).toHsl();return t.h=(t.h+180)%360,to(t)}function ho(e,t){if(isNaN(t)||t<=0)throw new Error("Argument to polyad must be a positive number");for(var r=to(e).toHsl(),n=[to(e)],a=360/t,o=1;o<t;o++)n.push(to({h:(r.h+o*a)%360,s:r.s,l:r.l}));return n}function go(e){var t=to(e).toHsl(),r=t.h;return[to(e),to({h:(r+72)%360,s:t.s,l:t.l}),to({h:(r+216)%360,s:t.s,l:t.l})]}function bo(e,t,r){t=t||6,r=r||30;var n=to(e).toHsl(),a=360/r,o=[to(e)];for(n.h=(n.h-(a*t>>1)+720)%360;--t;)n.h=(n.h+a)%360,o.push(to(n));return o}function yo(e,t){t=t||6;for(var r=to(e).toHsv(),n=r.h,a=r.s,o=r.v,i=[],s=1/t;t--;)i.push(to({h:n,s:a,v:o})),o=(o+s)%1;return i}to.prototype={isDark:function(){return this.getBrightness()<128},isLight:function(){return!this.isDark()},isValid:function(){return this._ok},getOriginalInput:function(){return this._originalInput},getFormat:function(){return this._format},getAlpha:function(){return this._a},getBrightness:function(){var e=this.toRgb();return(299*e.r+587*e.g+114*e.b)/1e3},getLuminance:function(){var e,t,r,n=this.toRgb();return e=n.r/255,t=n.g/255,r=n.b/255,.2126*(e<=.03928?e/12.92:Math.pow((e+.055)/1.055,2.4))+.7152*(t<=.03928?t/12.92:Math.pow((t+.055)/1.055,2.4))+.0722*(r<=.03928?r/12.92:Math.pow((r+.055)/1.055,2.4))},setAlpha:function(e){return this._a=wo(e),this._roundA=Math.round(100*this._a)/100,this},toHsv:function(){var e=no(this._r,this._g,this._b);return{h:360*e.h,s:e.s,v:e.v,a:this._a}},toHsvString:function(){var e=no(this._r,this._g,this._b),t=Math.round(360*e.h),r=Math.round(100*e.s),n=Math.round(100*e.v);return 1==this._a?"hsv("+t+", "+r+"%, "+n+"%)":"hsva("+t+", "+r+"%, "+n+"%, "+this._roundA+")"},toHsl:function(){var e=ro(this._r,this._g,this._b);return{h:360*e.h,s:e.s,l:e.l,a:this._a}},toHslString:function(){var e=ro(this._r,this._g,this._b),t=Math.round(360*e.h),r=Math.round(100*e.s),n=Math.round(100*e.l);return 1==this._a?"hsl("+t+", "+r+"%, "+n+"%)":"hsla("+t+", "+r+"%, "+n+"%, "+this._roundA+")"},toHex:function(e){return ao(this._r,this._g,this._b,e)},toHexString:function(e){return"#"+this.toHex(e)},toHex8:function(e){return function(e,t,r,n,a){var o=[_o(Math.round(e).toString(16)),_o(Math.round(t).toString(16)),_o(Math.round(r).toString(16)),_o(Mo(n))];if(a&&o[0].charAt(0)==o[0].charAt(1)&&o[1].charAt(0)==o[1].charAt(1)&&o[2].charAt(0)==o[2].charAt(1)&&o[3].charAt(0)==o[3].charAt(1))return o[0].charAt(0)+o[1].charAt(0)+o[2].charAt(0)+o[3].charAt(0);return o.join("")}(this._r,this._g,this._b,this._a,e)},toHex8String:function(e){return"#"+this.toHex8(e)},toRgb:function(){return{r:Math.round(this._r),g:Math.round(this._g),b:Math.round(this._b),a:this._a}},toRgbString:function(){return 1==this._a?"rgb("+Math.round(this._r)+", "+Math.round(this._g)+", "+Math.round(this._b)+")":"rgba("+Math.round(this._r)+", "+Math.round(this._g)+", "+Math.round(this._b)+", "+this._roundA+")"},toPercentageRgb:function(){return{r:Math.round(100*ko(this._r,255))+"%",g:Math.round(100*ko(this._g,255))+"%",b:Math.round(100*ko(this._b,255))+"%",a:this._a}},toPercentageRgbString:function(){return 1==this._a?"rgb("+Math.round(100*ko(this._r,255))+"%, "+Math.round(100*ko(this._g,255))+"%, "+Math.round(100*ko(this._b,255))+"%)":"rgba("+Math.round(100*ko(this._r,255))+"%, "+Math.round(100*ko(this._g,255))+"%, "+Math.round(100*ko(this._b,255))+"%, "+this._roundA+")"},toName:function(){return 0===this._a?"transparent":!(this._a<1)&&(vo[ao(this._r,this._g,this._b,!0)]||!1)},toFilter:function(e){var t="#"+oo(this._r,this._g,this._b,this._a),r=t,n=this._gradientType?"GradientType = 1, ":"";if(e){var a=to(e);r="#"+oo(a._r,a._g,a._b,a._a)}return"progid:DXImageTransform.Microsoft.gradient("+n+"startColorstr="+t+",endColorstr="+r+")"},toString:function(e){var t=!!e;e=e||this._format;var r=!1,n=this._a<1&&this._a>=0;return t||!n||"hex"!==e&&"hex6"!==e&&"hex3"!==e&&"hex4"!==e&&"hex8"!==e&&"name"!==e?("rgb"===e&&(r=this.toRgbString()),"prgb"===e&&(r=this.toPercentageRgbString()),"hex"!==e&&"hex6"!==e||(r=this.toHexString()),"hex3"===e&&(r=this.toHexString(!0)),"hex4"===e&&(r=this.toHex8String(!0)),"hex8"===e&&(r=this.toHex8String()),"name"===e&&(r=this.toName()),"hsl"===e&&(r=this.toHslString()),"hsv"===e&&(r=this.toHsvString()),r||this.toHexString()):"name"===e&&0===this._a?this.toName():this.toRgbString()},clone:function(){return to(this.toString())},_applyModification:function(e,t){var r=e.apply(null,[this].concat([].slice.call(t)));return this._r=r._r,this._g=r._g,this._b=r._b,this.setAlpha(r._a),this},lighten:function(){return this._applyModification(co,arguments)},brighten:function(){return this._applyModification(uo,arguments)},darken:function(){return this._applyModification(fo,arguments)},desaturate:function(){return this._applyModification(io,arguments)},saturate:function(){return this._applyModification(so,arguments)},greyscale:function(){return this._applyModification(lo,arguments)},spin:function(){return this._applyModification(po,arguments)},_applyCombination:function(e,t){return e.apply(null,[this].concat([].slice.call(t)))},analogous:function(){return this._applyCombination(bo,arguments)},complement:function(){return this._applyCombination(mo,arguments)},monochromatic:function(){return this._applyCombination(yo,arguments)},splitcomplement:function(){return this._applyCombination(go,arguments)},triad:function(){return this._applyCombination(ho,[3])},tetrad:function(){return this._applyCombination(ho,[4])}},to.fromRatio=function(e,t){if("object"==Za(e)){var r={};for(var n in e)e.hasOwnProperty(n)&&(r[n]="a"===n?e[n]:Ao(e[n]));e=r}return to(e,t)},to.equals=function(e,t){return!(!e||!t)&&to(e).toRgbString()==to(t).toRgbString()},to.random=function(){return to.fromRatio({r:Math.random(),g:Math.random(),b:Math.random()})},to.mix=function(e,t,r){r=0===r?0:r||50;var n=to(e).toRgb(),a=to(t).toRgb(),o=r/100;return to({r:(a.r-n.r)*o+n.r,g:(a.g-n.g)*o+n.g,b:(a.b-n.b)*o+n.b,a:(a.a-n.a)*o+n.a})},to.readability=function(e,t){var r=to(e),n=to(t);return(Math.max(r.getLuminance(),n.getLuminance())+.05)/(Math.min(r.getLuminance(),n.getLuminance())+.05)},to.isReadable=function(e,t,r){var n,a,o=to.readability(e,t);switch(a=!1,(n=function(e){var t,r;t=((e=e||{level:"AA",size:"small"}).level||"AA").toUpperCase(),r=(e.size||"small").toLowerCase(),"AA"!==t&&"AAA"!==t&&(t="AA");"small"!==r&&"large"!==r&&(r="small");return{level:t,size:r}}(r)).level+n.size){case"AAsmall":case"AAAlarge":a=o>=4.5;break;case"AAlarge":a=o>=3;break;case"AAAsmall":a=o>=7}return a},to.mostReadable=function(e,t,r){var n,a,o,i,s=null,l=0;a=(r=r||{}).includeFallbackColors,o=r.level,i=r.size;for(var c=0;c<t.length;c++)(n=to.readability(e,t[c]))>l&&(l=n,s=to(t[c]));return to.isReadable(e,s,{level:o,size:i})||!a?s:(r.includeFallbackColors=!1,to.mostReadable(e,["#fff","#000"],r))};var xo=to.names={aliceblue:"f0f8ff",antiquewhite:"faebd7",aqua:"0ff",aquamarine:"7fffd4",azure:"f0ffff",beige:"f5f5dc",bisque:"ffe4c4",black:"000",blanchedalmond:"ffebcd",blue:"00f",blueviolet:"8a2be2",brown:"a52a2a",burlywood:"deb887",burntsienna:"ea7e5d",cadetblue:"5f9ea0",chartreuse:"7fff00",chocolate:"d2691e",coral:"ff7f50",cornflowerblue:"6495ed",cornsilk:"fff8dc",crimson:"dc143c",cyan:"0ff",darkblue:"00008b",darkcyan:"008b8b",darkgoldenrod:"b8860b",darkgray:"a9a9a9",darkgreen:"006400",darkgrey:"a9a9a9",darkkhaki:"bdb76b",darkmagenta:"8b008b",darkolivegreen:"556b2f",darkorange:"ff8c00",darkorchid:"9932cc",darkred:"8b0000",darksalmon:"e9967a",darkseagreen:"8fbc8f",darkslateblue:"483d8b",darkslategray:"2f4f4f",darkslategrey:"2f4f4f",darkturquoise:"00ced1",darkviolet:"9400d3",deeppink:"ff1493",deepskyblue:"00bfff",dimgray:"696969",dimgrey:"696969",dodgerblue:"1e90ff",firebrick:"b22222",floralwhite:"fffaf0",forestgreen:"228b22",fuchsia:"f0f",gainsboro:"dcdcdc",ghostwhite:"f8f8ff",gold:"ffd700",goldenrod:"daa520",gray:"808080",green:"008000",greenyellow:"adff2f",grey:"808080",honeydew:"f0fff0",hotpink:"ff69b4",indianred:"cd5c5c",indigo:"4b0082",ivory:"fffff0",khaki:"f0e68c",lavender:"e6e6fa",lavenderblush:"fff0f5",lawngreen:"7cfc00",lemonchiffon:"fffacd",lightblue:"add8e6",lightcoral:"f08080",lightcyan:"e0ffff",lightgoldenrodyellow:"fafad2",lightgray:"d3d3d3",lightgreen:"90ee90",lightgrey:"d3d3d3",lightpink:"ffb6c1",lightsalmon:"ffa07a",lightseagreen:"20b2aa",lightskyblue:"87cefa",lightslategray:"789",lightslategrey:"789",lightsteelblue:"b0c4de",lightyellow:"ffffe0",lime:"0f0",limegreen:"32cd32",linen:"faf0e6",magenta:"f0f",maroon:"800000",mediumaquamarine:"66cdaa",mediumblue:"0000cd",mediumorchid:"ba55d3",mediumpurple:"9370db",mediumseagreen:"3cb371",mediumslateblue:"7b68ee",mediumspringgreen:"00fa9a",mediumturquoise:"48d1cc",mediumvioletred:"c71585",midnightblue:"191970",mintcream:"f5fffa",mistyrose:"ffe4e1",moccasin:"ffe4b5",navajowhite:"ffdead",navy:"000080",oldlace:"fdf5e6",olive:"808000",olivedrab:"6b8e23",orange:"ffa500",orangered:"ff4500",orchid:"da70d6",palegoldenrod:"eee8aa",palegreen:"98fb98",paleturquoise:"afeeee",palevioletred:"db7093",papayawhip:"ffefd5",peachpuff:"ffdab9",peru:"cd853f",pink:"ffc0cb",plum:"dda0dd",powderblue:"b0e0e6",purple:"800080",rebeccapurple:"663399",red:"f00",rosybrown:"bc8f8f",royalblue:"4169e1",saddlebrown:"8b4513",salmon:"fa8072",sandybrown:"f4a460",seagreen:"2e8b57",seashell:"fff5ee",sienna:"a0522d",silver:"c0c0c0",skyblue:"87ceeb",slateblue:"6a5acd",slategray:"708090",slategrey:"708090",snow:"fffafa",springgreen:"00ff7f",steelblue:"4682b4",tan:"d2b48c",teal:"008080",thistle:"d8bfd8",tomato:"ff6347",turquoise:"40e0d0",violet:"ee82ee",wheat:"f5deb3",white:"fff",whitesmoke:"f5f5f5",yellow:"ff0",yellowgreen:"9acd32"},vo=to.hexNames=function(e){var t={};for(var r in e)e.hasOwnProperty(r)&&(t[e[r]]=r);return t}(xo);function wo(e){return e=parseFloat(e),(isNaN(e)||e<0||e>1)&&(e=1),e}function ko(e,t){(function(e){return"string"==typeof e&&-1!=e.indexOf(".")&&1===parseFloat(e)})(e)&&(e="100%");var r=function(e){return"string"==typeof e&&-1!=e.indexOf("%")}(e);return e=Math.min(t,Math.max(0,parseFloat(e))),r&&(e=parseInt(e*t,10)/100),Math.abs(e-t)<1e-6?1:e%t/parseFloat(t)}function So(e){return Math.min(1,Math.max(0,e))}function Eo(e){return parseInt(e,16)}function _o(e){return 1==e.length?"0"+e:""+e}function Ao(e){return e<=1&&(e=100*e+"%"),e}function Mo(e){return Math.round(255*parseFloat(e)).toString(16)}function To(e){return Eo(e)/255}var Oo,Co,No,Ro=(Co="[\\s|\\(]+("+(Oo="(?:[-\\+]?\\d*\\.\\d+%?)|(?:[-\\+]?\\d+%?)")+")[,|\\s]+("+Oo+")[,|\\s]+("+Oo+")\\s*\\)?",No="[\\s|\\(]+("+Oo+")[,|\\s]+("+Oo+")[,|\\s]+("+Oo+")[,|\\s]+("+Oo+")\\s*\\)?",{CSS_UNIT:new RegExp(Oo),rgb:new RegExp("rgb"+Co),rgba:new RegExp("rgba"+No),hsl:new RegExp("hsl"+Co),hsla:new RegExp("hsla"+No),hsv:new RegExp("hsv"+Co),hsva:new RegExp("hsva"+No),hex3:/^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex6:/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/,hex4:/^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex8:/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/});function Io(e){return!!Ro.CSS_UNIT.exec(e)}var Fo=function(e){if(!e)return"/";var t;t=e.startsWith("https")||e.startsWith("http")||e.startsWith("mailto")||e.startsWith("#")||e.startsWith("/")||e.startsWith("tel")||e.startsWith("sms")?e:-1!==e.indexOf(".")?"https://"+e:"";var r,n=((r=window.location.pathname).includes("/r/")&&(r=(r=r.substring(0,r.indexOf("/r/"))).substring(0,r.lastIndexOf("/"))),r+(r.endsWith("/")?"":"/"));return t&&t.startsWith(n+"#")?"#"+t.split("#")[1]:t},Po=function(){return window.location.href.includes("viewMode=modal")};const Lo=function(e){var r=(0,t.useMemo)((function(){return ur(e)}),[JSON.stringify(e)]).elements,n=r.horizontalLine,a=r.copyrightText,o=r.linkGroups,i=r.socialLinks,s=r.madeIn,l=r.termsAndPolicies;return Ie(Re,{children:Fe(Ja,{className:"container",spacing:2,children:[Fe(Ja,{container:!0,children:[Fe(Ja,{item:!0,xs:12,md:6,children:[Ie("p",{className:a.classNames,dangerouslySetInnerHTML:{__html:a.value}}),i.items.map((function(e,t){return Ie("a",{target:"_blank",className:e.classNames,style:{maxWidth:"100%"},href:"fas fa-phone-square-alt"===e.value?"tel:".concat(e.url):"fab fa-whatsapp"===e.value?"https://wa.me/".concat(e.url):"fas fa-envelope"===e.value?"mailto:".concat(e.url):Fo(e.url),rel:"noreferrer",children:Ie("i",{className:e.value})},t)}))]}),Ie(Ja,{item:!0,className:"links",xs:12,md:6,children:Ie(Ja,{container:!0,children:o.items.map((function(e,t){return Fe(Ja,{item:!0,xs:6,sm:4===o.items.length?3:2===o.items.length?6:4,className:"link-group",style:{overflow:"hidden"},children:[Ie("h6",{className:e.title.classNames,dangerouslySetInnerHTML:{__html:e.title.value}}),e.links.items.map((function(e,t){return Ie("a",{target:e.action.options.url.target,className:"single-link ".concat(e.classNames),href:e.action.action&&e.action.action.startsWith("Open modal")&&!Po()&&"function"==typeof window.openSwModal?"javascript:void(0);":Fo(e.action.options.url.destination),onClick:function(t){var r,n,a;(null===(n=null===(r=null==e?void 0:e.action)||void 0===r?void 0:r.options)||void 0===n?void 0:n.url.destination)||t.preventDefault(),e.action.action&&e.action.action.startsWith("Open modal")&&!Po()&&"function"==typeof window.openSwModal&&window.openSwModal(e.action.options.url.destination,null===(a=e.action.options.modalOptions)||void 0===a?void 0:a.modalSize)},dangerouslySetInnerHTML:{__html:e.value}},t)}))]},t)}))})})]}),Ie(Ja,{item:!0,xs:12,children:Ie("hr",{className:n.classNames})}),Fe(Ja,{container:!0,children:[Ie(Ja,{item:!0,xs:12,md:6,children:Ie("small",{dangerouslySetInnerHTML:{__html:s.value},className:s.classNames})}),Ie(Ja,{item:!0,xs:12,md:6,className:"links",children:l.items.map((function(e,t){return Ie(Ja,{item:!0,xs:6,sm:4===l.items.length?3:4,className:"link-group",children:Ie("a",{target:e.action.options.url.target,className:"single-link ".concat(e.classNames),href:Fo(e.action.options.url.destination),dangerouslySetInnerHTML:{__html:e.value}},t)},t)}))})]})]})})};const $o=a().createContext({id:"",elements:{},blockSelector:"",category:""});var jo=function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var a=0;for(n=Object.getOwnPropertySymbols(e);a<n.length;a++)t.indexOf(n[a])<0&&Object.prototype.propertyIsEnumerable.call(e,n[a])&&(r[n[a]]=e[n[a]])}return r},Do=function(e,t){var r="function"==typeof Symbol&&e[Symbol.iterator];if(!r)return e;var n,a,o=r.call(e),i=[];try{for(;(void 0===t||t-- >0)&&!(n=o.next()).done;)i.push(n.value)}catch(s){a={error:s}}finally{try{n&&!n.done&&(r=o.return)&&r.call(o)}finally{if(a)throw a.error}}return i},zo=function(e,t,r){if(r||2===arguments.length)for(var n,a=0,o=t.length;a<o;a++)!n&&a in t||(n||(n=Array.prototype.slice.call(t,0,a)),n[a]=t[a]);return e.concat(n||Array.prototype.slice.call(t))},Ho=function(e){var t="function"==typeof Symbol&&Symbol.iterator,r=t&&e[t],n=0;if(r)return r.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&n>=e.length&&(e=void 0),{value:e&&e[n++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")},Bo=function(e){var t={};return e.forEach((function(e){var r=Do(function(e){var t=nr(e);t&&(e=ar(e));var r,n=Object.keys(Jt).find((function(t){return e.startsWith(Xt+Vt+t+Vt)}))||"",a=Jt[n],o=n.replace(/-([a-z])/g,(function(e){return e[1].toUpperCase()})),i=t?t.charAt(0).toUpperCase()+t.slice(1):"",s=e.replace("sw-".concat(a.name,"-"),"");if("default"===s)return["".concat(o).concat(i),void 0];switch(a.type){case Ye.Enum:r="".concat(s).concat(a.unit);break;case Ye.MappedEnum:r="".concat(a.values[s]).concat(a.unit);break;case Ye.DynamicColor:r="transparent"!==s?"#".concat(s):s;break;case Ye.DynamicFont:r=tr(s);break;default:r=s}return["".concat(o).concat(i),r]}(e),2),n=r[0],a=r[1];t[n]=a})),t};function Wo(e,t){var r,n,a=e.primaryStyles,o=e.otherStyles,i=jo(e,["primaryStyles","otherStyles"]),s={},l=[],c=[];(a||[]).forEach((function(e){var t=e.classes;return l.push.apply(l,zo([],Do(t),!1))})),l.forEach(t.add,t),(o||[]).forEach((function(e){var t=e.classes;return c.push.apply(c,zo([],Do(t),!1))})),c.forEach(t.add,t),s.className=zo(zo([],Do(l),!1),Do(c),!1).join(" "),s.styles=Bo(l);try{for(var u=Ho(Object.keys(i)),d=u.next();!d.done;d=u.next()){var f=d.value,p=i[f];Array.isArray(p)?s[f]=p.map((function(e){return"object"==typeof e?Wo(e,t):e})):s[f]="object"==typeof p?p?Wo(p,t):"":p}}catch(m){r={error:m}}finally{try{d&&!d.done&&(n=u.return)&&n.call(u)}finally{if(r)throw r.error}}return s}const Uo=t.createContext(null);function Go(){return t.useContext(Uo)}const Yo="function"==typeof Symbol&&Symbol.for?Symbol.for("mui.nested"):"__THEME_NESTED__";const Ko=function(r){const{children:n,theme:a}=r,o=Go(),i=t.useMemo((()=>{const e=null===o?a:function(e,t){if("function"==typeof t)return t(e);return fr({},e,t)}(o,a);return null!=e&&(e[Yo]=null!==o),e}),[a,o]);return(0,e.jsx)(Uo.Provider,{value:i,children:n})},qo={};function Xo(e,r,n,a=!1){return t.useMemo((()=>{const t=e&&r[e]||r;if("function"==typeof n){const o=n(t),i=e?fr({},r,{[e]:o}):o;return a?()=>i:i}return fr({},r,e?{[e]:n}:n)}),[e,r,n,a])}const Vo=function(t){const{children:r,theme:n,themeId:a}=t,o=Ra(qo),i=Go()||qo,s=Xo(a,o,n),l=Xo(a,i,n,!0);return(0,e.jsx)(Ko,{theme:l,children:(0,e.jsx)(Me.Provider,{value:s,children:r})})},Jo=["theme"];function Zo(t){let{theme:r}=t,n=dr(t,Jo);const a=r[Ma];return(0,e.jsx)(Vo,fr({},n,{themeId:a?Ma:void 0,theme:a||r}))}var Qo=Array(25).fill("none");Qo[1]="0px 0px 6px 0px rgba(17, 17, 17, 0.04) 0px 4px 8px 0px rgba(17, 17, 17, 0.04)",Qo[2]="0px 2px 4px 0px rgba(17, 17, 17, 0.04), 0px 8px 32px 0px rgba(33, 33, 33, 0.08)",Qo[3]="0px 2px 4px 0px rgba(17, 17, 17, 0.02), 0px 4px 8px 0px rgba(17, 17, 17, 0.03), 0px 8px 24px 0px rgba(17, 17, 17, 0.04), 0px 32px 80px 0px rgba(17, 17, 17, 0.08)";var ei={container:"fixed","container-fluid":"full",custom:"custom"};const ti=function(e){var t=e.defaultBaseTextSize,r=e.defaultBodyFont,n=(e.defaultBodyFontWeight,e.defaultBodyTextColor),a=e.defaultButtonBackgroundColor,o=e.defaultButtonRoundness,i=e.defaultButtonTextColor,s=e.defaultContainerStyle,l=(e.defaultTitleFont,e.defaultTitleFontWeight,a||"#F6C944"),c=i||"#424242",u=e.defaultTitleTextColor||"#424242",d=n||"#424242",f=parseInt((t||"16").replace("px",""),10);return{breakpoints:{values:{xs:0,sm:576,md:768,lg:992,xl:1200}},palette:{primary:{main:a||"#F6C944",dark:l,light:l,contrastText:c},secondary:{main:"#C2C2C2",contrastText:"#424242"},error:{main:"#BF2600"},text:{primary:u,secondary:d,disabled:"#C2C2C2"}},width:ei[s],typography:{fontFamily:r||"Inter",fontSize:f,remToPx:function(e){return e*f}},shape:{borderRadius:8},shadows:Qo,components:{MuiPaper:{styleOverrides:{root:{boxShadow:"0px 8px 32px rgba(33, 33, 33, 0.08), 0px 2px 4px rgba(33, 33, 33, 0.04)"}}},MuiButtonBase:{styleOverrides:{root:{"&:focus":{outline:"none"}}}},MuiButton:{styleOverrides:{root:{borderRadius:o||8,padding:"8px 16px",lineHeight:"unset",fontFamily:r,textTransform:"none","&:focus":{outline:"none"},"&:hover":{},"&:active":{outline:"none"}},sizeLarge:{padding:"12px 24px"},outlinedSecondary:{borderColor:"#C2C2C2",color:"#424242"}}},MuiInputAdornment:{styleOverrides:{root:{"& .MuiButton-root":{borderRadius:"50%"}}}},MuiAutocomplete:{styleOverrides:{root:{"& .MuiInputBase-root":{padding:"1px 10px"},"& .MuiAutocomplete-popupIndicator":{"&:hover":{background:"none"},cursor:"default",fontSize:"16px"}},endAdornment:{"&&&":{right:"12px",paddingTop:"2px"}},popper:{paddingTop:"4px"},listbox:{"& .MuiAutocomplete-option":{padding:"8px 16px"}}}},MuiChip:{styleOverrides:{root:{borderRadius:4},label:{fontSize:"12px",padding:"3px 4px"}}},MuiSelect:{styleOverrides:{select:{"&":{paddingLeft:"0.5rem",paddingRight:"2rem"}}}},MuiRating:{styleOverrides:{iconEmpty:{"& svg":{fill:"#FFC400"}}}},MuiToolbar:{styleOverrides:{dense:{minHeight:32}}},MuiAccordion:{styleOverrides:{root:{"&:before":{display:"none"}}}},MuiInputBase:{styleOverrides:{root:{"& fieldset.MuiOutlinedInput-notchedOutline":{borderColor:"#C2C2C2","& legend":{width:"auto"}},"&:hover .MuiOutlinedInput-notchedOutline":{borderColor:"#616161"},"&:active fieldset.MuiOutlinedInput-notchedOutline":{borderColor:"#0A0A0A",borderWidth:1},"&.Mui-focused fieldset.MuiOutlinedInput-notchedOutline":{borderColor:"#0A0A0A",borderWidth:1},"& input":{padding:"8px 12px"},"&.MuiInputBase-adornedStart input":{paddingLeft:0},"&.Mui-error fieldset.MuiOutlinedInput-notchedOutline":{borderColor:"#BF2600"},"&.Mui-error:hover fieldset.MuiOutlinedInput-notchedOutline":{borderColor:"#BF2600"},"&.Mui-error:active .MuiOutlinedInput-notchedOutline":{borderColor:"#BF2600",borderWidth:1},"&.Mui-error.Mui-focused .MuiOutlinedInput-notchedOutline":{borderColor:"#BF2600",borderWidth:1}},multiline:{"&&&":{padding:"8px 12px"}},input:{color:"#424242",textOverflow:"ellipsis","&::placeholder":{color:"#9E9E9E"}}}}}}},ri=react_dom18;var{entries:ni,setPrototypeOf:ai,isFrozen:oi,getPrototypeOf:ii,getOwnPropertyDescriptor:si}=Object,{freeze:li,seal:ci,create:ui}=Object,{apply:di,construct:fi}="undefined"!=typeof Reflect&&Reflect;li||(li=function(e){return e}),ci||(ci=function(e){return e}),di||(di=function(e,t,r){return e.apply(t,r)}),fi||(fi=function(e,t){return new e(...t)});var pi=_i(Array.prototype.forEach),mi=_i(Array.prototype.pop),hi=_i(Array.prototype.push),gi=_i(String.prototype.toLowerCase),bi=_i(String.prototype.toString),yi=_i(String.prototype.match),xi=_i(String.prototype.replace),vi=_i(String.prototype.indexOf),wi=_i(String.prototype.trim),ki=_i(Object.prototype.hasOwnProperty),Si=_i(RegExp.prototype.test),Ei=function(e){return function(){for(var t=arguments.length,r=new Array(t),n=0;n<t;n++)r[n]=arguments[n];return fi(e,r)}}(TypeError);function _i(e){return function(t){for(var r=arguments.length,n=new Array(r>1?r-1:0),a=1;a<r;a++)n[a-1]=arguments[a];return di(e,t,n)}}function Ai(e,t){let r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:gi;ai&&ai(e,null);let n=t.length;for(;n--;){let a=t[n];if("string"==typeof a){let e=r(a);e!==a&&(oi(t)||(t[n]=e),a=e)}e[a]=!0}return e}function Mi(e){for(let t=0;t<e.length;t++)ki(e,t)||(e[t]=null);return e}function Ti(e){let t=ui(null);for(let[r,n]of ni(e))ki(e,r)&&(Array.isArray(n)?t[r]=Mi(n):n&&"object"==typeof n&&n.constructor===Object?t[r]=Ti(n):t[r]=n);return t}function Oi(e,t){for(;null!==e;){let r=si(e,t);if(r){if(r.get)return _i(r.get);if("function"==typeof r.value)return _i(r.value)}e=ii(e)}return function(){return null}}var Ci=li(["a","abbr","acronym","address","area","article","aside","audio","b","bdi","bdo","big","blink","blockquote","body","br","button","canvas","caption","center","cite","code","col","colgroup","content","data","datalist","dd","decorator","del","details","dfn","dialog","dir","div","dl","dt","element","em","fieldset","figcaption","figure","font","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","img","input","ins","kbd","label","legend","li","main","map","mark","marquee","menu","menuitem","meter","nav","nobr","ol","optgroup","option","output","p","picture","pre","progress","q","rp","rt","ruby","s","samp","section","select","shadow","small","source","spacer","span","strike","strong","style","sub","summary","sup","table","tbody","td","template","textarea","tfoot","th","thead","time","tr","track","tt","u","ul","var","video","wbr"]),Ni=li(["svg","a","altglyph","altglyphdef","altglyphitem","animatecolor","animatemotion","animatetransform","circle","clippath","defs","desc","ellipse","filter","font","g","glyph","glyphref","hkern","image","line","lineargradient","marker","mask","metadata","mpath","path","pattern","polygon","polyline","radialgradient","rect","stop","style","switch","symbol","text","textpath","title","tref","tspan","view","vkern"]),Ri=li(["feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feDropShadow","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence"]),Ii=li(["animate","color-profile","cursor","discard","font-face","font-face-format","font-face-name","font-face-src","font-face-uri","foreignobject","hatch","hatchpath","mesh","meshgradient","meshpatch","meshrow","missing-glyph","script","set","solidcolor","unknown","use"]),Fi=li(["math","menclose","merror","mfenced","mfrac","mglyph","mi","mlabeledtr","mmultiscripts","mn","mo","mover","mpadded","mphantom","mroot","mrow","ms","mspace","msqrt","mstyle","msub","msup","msubsup","mtable","mtd","mtext","mtr","munder","munderover","mprescripts"]),Pi=li(["maction","maligngroup","malignmark","mlongdiv","mscarries","mscarry","msgroup","mstack","msline","msrow","semantics","annotation","annotation-xml","mprescripts","none"]),Li=li(["#text"]),$i=li(["accept","action","align","alt","autocapitalize","autocomplete","autopictureinpicture","autoplay","background","bgcolor","border","capture","cellpadding","cellspacing","checked","cite","class","clear","color","cols","colspan","controls","controlslist","coords","crossorigin","datetime","decoding","default","dir","disabled","disablepictureinpicture","disableremoteplayback","download","draggable","enctype","enterkeyhint","face","for","headers","height","hidden","high","href","hreflang","id","inputmode","integrity","ismap","kind","label","lang","list","loading","loop","low","max","maxlength","media","method","min","minlength","multiple","muted","name","nonce","noshade","novalidate","nowrap","open","optimum","pattern","placeholder","playsinline","poster","preload","pubdate","radiogroup","readonly","rel","required","rev","reversed","role","rows","rowspan","spellcheck","scope","selected","shape","size","sizes","span","srclang","start","src","srcset","step","style","summary","tabindex","title","translate","type","usemap","valign","value","width","xmlns","slot"]),ji=li(["accent-height","accumulate","additive","alignment-baseline","ascent","attributename","attributetype","azimuth","basefrequency","baseline-shift","begin","bias","by","class","clip","clippathunits","clip-path","clip-rule","color","color-interpolation","color-interpolation-filters","color-profile","color-rendering","cx","cy","d","dx","dy","diffuseconstant","direction","display","divisor","dur","edgemode","elevation","end","fill","fill-opacity","fill-rule","filter","filterunits","flood-color","flood-opacity","font-family","font-size","font-size-adjust","font-stretch","font-style","font-variant","font-weight","fx","fy","g1","g2","glyph-name","glyphref","gradientunits","gradienttransform","height","href","id","image-rendering","in","in2","k","k1","k2","k3","k4","kerning","keypoints","keysplines","keytimes","lang","lengthadjust","letter-spacing","kernelmatrix","kernelunitlength","lighting-color","local","marker-end","marker-mid","marker-start","markerheight","markerunits","markerwidth","maskcontentunits","maskunits","max","mask","media","method","mode","min","name","numoctaves","offset","operator","opacity","order","orient","orientation","origin","overflow","paint-order","path","pathlength","patterncontentunits","patterntransform","patternunits","points","preservealpha","preserveaspectratio","primitiveunits","r","rx","ry","radius","refx","refy","repeatcount","repeatdur","restart","result","rotate","scale","seed","shape-rendering","specularconstant","specularexponent","spreadmethod","startoffset","stddeviation","stitchtiles","stop-color","stop-opacity","stroke-dasharray","stroke-dashoffset","stroke-linecap","stroke-linejoin","stroke-miterlimit","stroke-opacity","stroke","stroke-width","style","surfacescale","systemlanguage","tabindex","targetx","targety","transform","transform-origin","text-anchor","text-decoration","text-rendering","textlength","type","u1","u2","unicode","values","viewbox","visibility","version","vert-adv-y","vert-origin-x","vert-origin-y","width","word-spacing","wrap","writing-mode","xchannelselector","ychannelselector","x","x1","x2","xmlns","y","y1","y2","z","zoomandpan"]),Di=li(["accent","accentunder","align","bevelled","close","columnsalign","columnlines","columnspan","denomalign","depth","dir","display","displaystyle","encoding","fence","frame","height","href","id","largeop","length","linethickness","lspace","lquote","mathbackground","mathcolor","mathsize","mathvariant","maxsize","minsize","movablelimits","notation","numalign","open","rowalign","rowlines","rowspacing","rowspan","rspace","rquote","scriptlevel","scriptminsize","scriptsizemultiplier","selection","separator","separators","stretchy","subscriptshift","supscriptshift","symmetric","voffset","width","xmlns"]),zi=li(["xlink:href","xml:id","xlink:title","xml:space","xmlns:xlink"]),Hi=ci(/\{\{[\w\W]*|[\w\W]*\}\}/gm),Bi=ci(/<%[\w\W]*|[\w\W]*%>/gm),Wi=ci(/\${[\w\W]*}/gm),Ui=ci(/^data-[\-\w.\u00B7-\uFFFF]/),Gi=ci(/^aria-[\-\w]+$/),Yi=ci(/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|sms|cid|xmpp):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i),Ki=ci(/^(?:\w+script|data):/i),qi=ci(/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g),Xi=ci(/^html$/i),Vi=ci(/^[a-z][a-z\d]*(-[a-z\d]+)+$/i),Ji=Object.freeze({__proto__:null,MUSTACHE_EXPR:Hi,ERB_EXPR:Bi,TMPLIT_EXPR:Wi,DATA_ATTR:Ui,ARIA_ATTR:Gi,IS_ALLOWED_URI:Yi,IS_SCRIPT_OR_DATA:Ki,ATTR_WHITESPACE:qi,DOCTYPE_NAME:Xi,CUSTOM_ELEMENT:Vi});var Zi=function e(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"undefined"==typeof window?null:window,r=t=>e(t);if(r.version="3.0.10",r.removed=[],!t||!t.document||9!==t.document.nodeType)return r.isSupported=!1,r;let{document:n}=t,a=n,o=a.currentScript,{DocumentFragment:i,HTMLTemplateElement:s,Node:l,Element:c,NodeFilter:u,NamedNodeMap:d=t.NamedNodeMap||t.MozNamedAttrMap,HTMLFormElement:f,DOMParser:p,trustedTypes:m}=t,h=c.prototype,g=Oi(h,"cloneNode"),b=Oi(h,"nextSibling"),y=Oi(h,"childNodes"),x=Oi(h,"parentNode");if("function"==typeof s){let e=n.createElement("template");e.content&&e.content.ownerDocument&&(n=e.content.ownerDocument)}let v,w="",{implementation:k,createNodeIterator:S,createDocumentFragment:E,getElementsByTagName:_}=n,{importNode:A}=a,M={};r.isSupported="function"==typeof ni&&"function"==typeof x&&k&&void 0!==k.createHTMLDocument;let{MUSTACHE_EXPR:T,ERB_EXPR:O,TMPLIT_EXPR:C,DATA_ATTR:N,ARIA_ATTR:R,IS_SCRIPT_OR_DATA:I,ATTR_WHITESPACE:F,CUSTOM_ELEMENT:P}=Ji,{IS_ALLOWED_URI:L}=Ji,$=null,j=Ai({},[...Ci,...Ni,...Ri,...Fi,...Li]),D=null,z=Ai({},[...$i,...ji,...Di,...zi]),H=Object.seal(ui(null,{tagNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},attributeNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},allowCustomizedBuiltInElements:{writable:!0,configurable:!1,enumerable:!0,value:!1}})),B=null,W=null,U=!0,G=!0,Y=!1,K=!0,q=!1,X=!1,V=!1,J=!1,Z=!1,Q=!1,ee=!1,te=!0,re=!1,ne=!0,ae=!1,oe={},ie=null,se=Ai({},["annotation-xml","audio","colgroup","desc","foreignobject","head","iframe","math","mi","mn","mo","ms","mtext","noembed","noframes","noscript","plaintext","script","style","svg","template","thead","title","video","xmp"]),le=null,ce=Ai({},["audio","video","img","source","image","track"]),ue=null,de=Ai({},["alt","class","for","id","label","name","pattern","placeholder","role","summary","title","value","style","xmlns"]),fe="http://www.w3.org/1998/Math/MathML",pe="http://www.w3.org/2000/svg",me="http://www.w3.org/1999/xhtml",he=me,ge=!1,be=null,ye=Ai({},[fe,pe,me],bi),xe=null,ve=["application/xhtml+xml","text/html"],we=null,ke=null,Se=n.createElement("form"),Ee=function(e){return e instanceof RegExp||e instanceof Function},_e=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};if(!ke||ke!==e){if((!e||"object"!=typeof e)&&(e={}),e=Ti(e),xe=-1===ve.indexOf(e.PARSER_MEDIA_TYPE)?"text/html":e.PARSER_MEDIA_TYPE,we="application/xhtml+xml"===xe?bi:gi,$=ki(e,"ALLOWED_TAGS")?Ai({},e.ALLOWED_TAGS,we):j,D=ki(e,"ALLOWED_ATTR")?Ai({},e.ALLOWED_ATTR,we):z,be=ki(e,"ALLOWED_NAMESPACES")?Ai({},e.ALLOWED_NAMESPACES,bi):ye,ue=ki(e,"ADD_URI_SAFE_ATTR")?Ai(Ti(de),e.ADD_URI_SAFE_ATTR,we):de,le=ki(e,"ADD_DATA_URI_TAGS")?Ai(Ti(ce),e.ADD_DATA_URI_TAGS,we):ce,ie=ki(e,"FORBID_CONTENTS")?Ai({},e.FORBID_CONTENTS,we):se,B=ki(e,"FORBID_TAGS")?Ai({},e.FORBID_TAGS,we):{},W=ki(e,"FORBID_ATTR")?Ai({},e.FORBID_ATTR,we):{},oe=!!ki(e,"USE_PROFILES")&&e.USE_PROFILES,U=!1!==e.ALLOW_ARIA_ATTR,G=!1!==e.ALLOW_DATA_ATTR,Y=e.ALLOW_UNKNOWN_PROTOCOLS||!1,K=!1!==e.ALLOW_SELF_CLOSE_IN_ATTR,q=e.SAFE_FOR_TEMPLATES||!1,X=e.WHOLE_DOCUMENT||!1,Z=e.RETURN_DOM||!1,Q=e.RETURN_DOM_FRAGMENT||!1,ee=e.RETURN_TRUSTED_TYPE||!1,J=e.FORCE_BODY||!1,te=!1!==e.SANITIZE_DOM,re=e.SANITIZE_NAMED_PROPS||!1,ne=!1!==e.KEEP_CONTENT,ae=e.IN_PLACE||!1,L=e.ALLOWED_URI_REGEXP||Yi,he=e.NAMESPACE||me,H=e.CUSTOM_ELEMENT_HANDLING||{},e.CUSTOM_ELEMENT_HANDLING&&Ee(e.CUSTOM_ELEMENT_HANDLING.tagNameCheck)&&(H.tagNameCheck=e.CUSTOM_ELEMENT_HANDLING.tagNameCheck),e.CUSTOM_ELEMENT_HANDLING&&Ee(e.CUSTOM_ELEMENT_HANDLING.attributeNameCheck)&&(H.attributeNameCheck=e.CUSTOM_ELEMENT_HANDLING.attributeNameCheck),e.CUSTOM_ELEMENT_HANDLING&&"boolean"==typeof e.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements&&(H.allowCustomizedBuiltInElements=e.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements),q&&(G=!1),Q&&(Z=!0),oe&&($=Ai({},Li),D=[],!0===oe.html&&(Ai($,Ci),Ai(D,$i)),!0===oe.svg&&(Ai($,Ni),Ai(D,ji),Ai(D,zi)),!0===oe.svgFilters&&(Ai($,Ri),Ai(D,ji),Ai(D,zi)),!0===oe.mathMl&&(Ai($,Fi),Ai(D,Di),Ai(D,zi))),e.ADD_TAGS&&($===j&&($=Ti($)),Ai($,e.ADD_TAGS,we)),e.ADD_ATTR&&(D===z&&(D=Ti(D)),Ai(D,e.ADD_ATTR,we)),e.ADD_URI_SAFE_ATTR&&Ai(ue,e.ADD_URI_SAFE_ATTR,we),e.FORBID_CONTENTS&&(ie===se&&(ie=Ti(ie)),Ai(ie,e.FORBID_CONTENTS,we)),ne&&($["#text"]=!0),X&&Ai($,["html","head","body"]),$.table&&(Ai($,["tbody"]),delete B.tbody),e.TRUSTED_TYPES_POLICY){if("function"!=typeof e.TRUSTED_TYPES_POLICY.createHTML)throw Ei('TRUSTED_TYPES_POLICY configuration option must provide a "createHTML" hook.');if("function"!=typeof e.TRUSTED_TYPES_POLICY.createScriptURL)throw Ei('TRUSTED_TYPES_POLICY configuration option must provide a "createScriptURL" hook.');v=e.TRUSTED_TYPES_POLICY,w=v.createHTML("")}else void 0===v&&(v=function(e,t){if("object"!=typeof e||"function"!=typeof e.createPolicy)return null;let r=null,n="data-tt-policy-suffix";t&&t.hasAttribute(n)&&(r=t.getAttribute(n));let a="dompurify"+(r?"#"+r:"");try{return e.createPolicy(a,{createHTML:e=>e,createScriptURL:e=>e})}catch(s){return console.warn("TrustedTypes policy "+a+" could not be created."),null}}(m,o)),null!==v&&"string"==typeof w&&(w=v.createHTML(""));li&&li(e),ke=e}},Ae=Ai({},["mi","mo","mn","ms","mtext"]),Me=Ai({},["foreignobject","desc","title","annotation-xml"]),Te=Ai({},["title","style","font","a","script"]),Oe=Ai({},[...Ni,...Ri,...Ii]),Ce=Ai({},[...Fi,...Pi]),Ne=function(e){hi(r.removed,{element:e});try{e.parentNode.removeChild(e)}catch(t){e.remove()}},Re=function(e,t){try{hi(r.removed,{attribute:t.getAttributeNode(e),from:t})}catch(n){hi(r.removed,{attribute:null,from:t})}if(t.removeAttribute(e),"is"===e&&!D[e])if(Z||Q)try{Ne(t)}catch(n){}else try{t.setAttribute(e,"")}catch(n){}},Ie=function(e){let t=null,r=null;if(J)e="<remove></remove>"+e;else{let t=yi(e,/^[\r\n\t ]+/);r=t&&t[0]}"application/xhtml+xml"===xe&&he===me&&(e='<html xmlns="http://www.w3.org/1999/xhtml"><head></head><body>'+e+"</body></html>");let a=v?v.createHTML(e):e;if(he===me)try{t=(new p).parseFromString(a,xe)}catch(i){}if(!t||!t.documentElement){t=k.createDocument(he,"template",null);try{t.documentElement.innerHTML=ge?w:a}catch(i){}}let o=t.body||t.documentElement;return e&&r&&o.insertBefore(n.createTextNode(r),o.childNodes[0]||null),he===me?_.call(t,X?"html":"body")[0]:X?t.documentElement:o},Fe=function(e){return S.call(e.ownerDocument||e,e,u.SHOW_ELEMENT|u.SHOW_COMMENT|u.SHOW_TEXT|u.SHOW_PROCESSING_INSTRUCTION,null)},Pe=function(e){return"function"==typeof l&&e instanceof l},Le=function(e,t,n){M[e]&&pi(M[e],(e=>{e.call(r,t,n,ke)}))},$e=function(e){let t=null;if(Le("beforeSanitizeElements",e,null),function(e){return e instanceof f&&("string"!=typeof e.nodeName||"string"!=typeof e.textContent||"function"!=typeof e.removeChild||!(e.attributes instanceof d)||"function"!=typeof e.removeAttribute||"function"!=typeof e.setAttribute||"string"!=typeof e.namespaceURI||"function"!=typeof e.insertBefore||"function"!=typeof e.hasChildNodes)}(e))return Ne(e),!0;let n=we(e.nodeName);if(Le("uponSanitizeElement",e,{tagName:n,allowedTags:$}),e.hasChildNodes()&&!Pe(e.firstElementChild)&&Si(/<[/\w]/g,e.innerHTML)&&Si(/<[/\w]/g,e.textContent))return Ne(e),!0;if(!$[n]||B[n]){if(!B[n]&&De(n)&&(H.tagNameCheck instanceof RegExp&&Si(H.tagNameCheck,n)||H.tagNameCheck instanceof Function&&H.tagNameCheck(n)))return!1;if(ne&&!ie[n]){let t=x(e)||e.parentNode,r=y(e)||e.childNodes;if(r&&t){for(let n=r.length-1;n>=0;--n)t.insertBefore(g(r[n],!0),b(e))}}return Ne(e),!0}return e instanceof c&&!function(e){let t=x(e);(!t||!t.tagName)&&(t={namespaceURI:he,tagName:"template"});let r=gi(e.tagName),n=gi(t.tagName);return!!be[e.namespaceURI]&&(e.namespaceURI===pe?t.namespaceURI===me?"svg"===r:t.namespaceURI===fe?"svg"===r&&("annotation-xml"===n||Ae[n]):!!Oe[r]:e.namespaceURI===fe?t.namespaceURI===me?"math"===r:t.namespaceURI===pe?"math"===r&&Me[n]:!!Ce[r]:e.namespaceURI===me?!(t.namespaceURI===pe&&!Me[n]||t.namespaceURI===fe&&!Ae[n])&&!Ce[r]&&(Te[r]||!Oe[r]):!("application/xhtml+xml"!==xe||!be[e.namespaceURI]))}(e)||("noscript"===n||"noembed"===n||"noframes"===n)&&Si(/<\/no(script|embed|frames)/i,e.innerHTML)?(Ne(e),!0):(q&&3===e.nodeType&&(t=e.textContent,pi([T,O,C],(e=>{t=xi(t,e," ")})),e.textContent!==t&&(hi(r.removed,{element:e.cloneNode()}),e.textContent=t)),Le("afterSanitizeElements",e,null),!1)},je=function(e,t,r){if(te&&("id"===t||"name"===t)&&(r in n||r in Se))return!1;if((!G||W[t]||!Si(N,t))&&(!U||!Si(R,t)))if(!D[t]||W[t]){if(!(De(e)&&(H.tagNameCheck instanceof RegExp&&Si(H.tagNameCheck,e)||H.tagNameCheck instanceof Function&&H.tagNameCheck(e))&&(H.attributeNameCheck instanceof RegExp&&Si(H.attributeNameCheck,t)||H.attributeNameCheck instanceof Function&&H.attributeNameCheck(t))||"is"===t&&H.allowCustomizedBuiltInElements&&(H.tagNameCheck instanceof RegExp&&Si(H.tagNameCheck,r)||H.tagNameCheck instanceof Function&&H.tagNameCheck(r))))return!1}else if(!ue[t]&&!Si(L,xi(r,F,""))&&("src"!==t&&"xlink:href"!==t&&"href"!==t||"script"===e||0!==vi(r,"data:")||!le[e])&&(!Y||Si(I,xi(r,F,"")))&&r)return!1;return!0},De=function(e){return"annotation-xml"!==e&&yi(e,P)},ze=function(e){Le("beforeSanitizeAttributes",e,null);let{attributes:t}=e;if(!t)return;let n={attrName:"",attrValue:"",keepAttr:!0,allowedAttributes:D},a=t.length;for(;a--;){let i=t[a],{name:s,namespaceURI:l,value:c}=i,u=we(s),d="value"===s?c:wi(c);if(n.attrName=u,n.attrValue=d,n.keepAttr=!0,n.forceKeepAttr=void 0,Le("uponSanitizeAttribute",e,n),d=n.attrValue,n.forceKeepAttr||(Re(s,e),!n.keepAttr))continue;if(!K&&Si(/\/>/i,d)){Re(s,e);continue}q&&pi([T,O,C],(e=>{d=xi(d,e," ")}));let f=we(e.nodeName);if(je(f,u,d)){if(re&&("id"===u||"name"===u)&&(Re(s,e),d="user-content-"+d),v&&"object"==typeof m&&"function"==typeof m.getAttributeType&&!l)switch(m.getAttributeType(f,u)){case"TrustedHTML":d=v.createHTML(d);break;case"TrustedScriptURL":d=v.createScriptURL(d)}try{l?e.setAttributeNS(l,s,d):e.setAttribute(s,d),mi(r.removed)}catch(o){}}}Le("afterSanitizeAttributes",e,null)},He=function e(t){let r=null,n=Fe(t);for(Le("beforeSanitizeShadowDOM",t,null);r=n.nextNode();)Le("uponSanitizeShadowNode",r,null),!$e(r)&&(r.content instanceof i&&e(r.content),ze(r));Le("afterSanitizeShadowDOM",t,null)};return r.sanitize=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=null,o=null,s=null,c=null;if(ge=!e,ge&&(e="\x3c!--\x3e"),"string"!=typeof e&&!Pe(e)){if("function"!=typeof e.toString)throw Ei("toString is not a function");if("string"!=typeof(e=e.toString()))throw Ei("dirty is not a string, aborting")}if(!r.isSupported)return e;if(V||_e(t),r.removed=[],"string"==typeof e&&(ae=!1),ae){if(e.nodeName){let t=we(e.nodeName);if(!$[t]||B[t])throw Ei("root node is forbidden and cannot be sanitized in-place")}}else if(e instanceof l)n=Ie("\x3c!----\x3e"),o=n.ownerDocument.importNode(e,!0),1===o.nodeType&&"BODY"===o.nodeName||"HTML"===o.nodeName?n=o:n.appendChild(o);else{if(!Z&&!q&&!X&&-1===e.indexOf("<"))return v&&ee?v.createHTML(e):e;if(n=Ie(e),!n)return Z?null:ee?w:""}n&&J&&Ne(n.firstChild);let u=Fe(ae?e:n);for(;s=u.nextNode();)$e(s)||(s.content instanceof i&&He(s.content),ze(s));if(ae)return e;if(Z){if(Q)for(c=E.call(n.ownerDocument);n.firstChild;)c.appendChild(n.firstChild);else c=n;return(D.shadowroot||D.shadowrootmode)&&(c=A.call(a,c,!0)),c}let d=X?n.outerHTML:n.innerHTML;return X&&$["!doctype"]&&n.ownerDocument&&n.ownerDocument.doctype&&n.ownerDocument.doctype.name&&Si(Xi,n.ownerDocument.doctype.name)&&(d="<!DOCTYPE "+n.ownerDocument.doctype.name+">\n"+d),q&&pi([T,O,C],(e=>{d=xi(d,e," ")})),v&&ee?v.createHTML(d):d},r.setConfig=function(){_e(arguments.length>0&&void 0!==arguments[0]?arguments[0]:{}),V=!0},r.clearConfig=function(){ke=null,V=!1},r.isValidAttribute=function(e,t,r){ke||_e({});let n=we(e),a=we(t);return je(n,a,r)},r.addHook=function(e,t){"function"==typeof t&&(M[e]=M[e]||[],hi(M[e],t))},r.removeHook=function(e){if(M[e])return mi(M[e])},r.removeHooks=function(e){M[e]&&(M[e]=[])},r.removeAllHooks=function(){M={}},r}(),Qi=Array(12).fill(0),es=({visible:e})=>t.createElement("div",{className:"sonner-loading-wrapper","data-visible":e},t.createElement("div",{className:"sonner-spinner"},Qi.map(((e,r)=>t.createElement("div",{className:"sonner-loading-bar",key:`spinner-bar-${r}`}))))),ts=t.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor",height:"20",width:"20"},t.createElement("path",{fillRule:"evenodd",d:"M10 18a8 8 0 100-16 8 8 0 000 16zm3.857-9.809a.75.75 0 00-1.214-.882l-3.483 4.79-1.88-1.88a.75.75 0 10-1.06 1.061l2.5 2.5a.75.75 0 001.137-.089l4-5.5z",clipRule:"evenodd"})),rs=t.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor",height:"20",width:"20"},t.createElement("path",{fillRule:"evenodd",d:"M9.401 3.003c1.155-2 4.043-2 5.197 0l7.355 12.748c1.154 2-.29 4.5-2.599 4.5H4.645c-2.309 0-3.752-2.5-2.598-4.5L9.4 3.003zM12 8.25a.75.75 0 01.75.75v3.75a.75.75 0 01-1.5 0V9a.75.75 0 01.75-.75zm0 8.25a.75.75 0 100-1.5.75.75 0 000 1.5z",clipRule:"evenodd"})),ns=t.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor",height:"20",width:"20"},t.createElement("path",{fillRule:"evenodd",d:"M18 10a8 8 0 11-16 0 8 8 0 0116 0zm-7-4a1 1 0 11-2 0 1 1 0 012 0zM9 9a.75.75 0 000 1.5h.253a.25.25 0 01.244.304l-.459 2.066A1.75 1.75 0 0010.747 15H11a.75.75 0 000-1.5h-.253a.25.25 0 01-.244-.304l.459-2.066A1.75 1.75 0 009.253 9H9z",clipRule:"evenodd"})),as=t.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor",height:"20",width:"20"},t.createElement("path",{fillRule:"evenodd",d:"M18 10a8 8 0 11-16 0 8 8 0 0116 0zm-8-5a.75.75 0 01.75.75v4.5a.75.75 0 01-1.5 0v-4.5A.75.75 0 0110 5zm0 10a1 1 0 100-2 1 1 0 000 2z",clipRule:"evenodd"})),os=1,is=new class{constructor(){this.subscribe=e=>(this.subscribers.push(e),()=>{let t=this.subscribers.indexOf(e);this.subscribers.splice(t,1)}),this.publish=e=>{this.subscribers.forEach((t=>t(e)))},this.addToast=e=>{this.publish(e),this.toasts=[...this.toasts,e]},this.create=e=>{var t;let{message:r,...n}=e,a="number"==typeof(null==e?void 0:e.id)||(null==(t=e.id)?void 0:t.length)>0?e.id:os++,o=this.toasts.find((e=>e.id===a)),i=void 0===e.dismissible||e.dismissible;return o?this.toasts=this.toasts.map((t=>t.id===a?(this.publish({...t,...e,id:a,title:r}),{...t,...e,id:a,dismissible:i,title:r}):t)):this.addToast({title:r,...n,dismissible:i,id:a}),a},this.dismiss=e=>(e||this.toasts.forEach((e=>{this.subscribers.forEach((t=>t({id:e.id,dismiss:!0})))})),this.subscribers.forEach((t=>t({id:e,dismiss:!0}))),e),this.message=(e,t)=>this.create({...t,message:e}),this.error=(e,t)=>this.create({...t,message:e,type:"error"}),this.success=(e,t)=>this.create({...t,type:"success",message:e}),this.info=(e,t)=>this.create({...t,type:"info",message:e}),this.warning=(e,t)=>this.create({...t,type:"warning",message:e}),this.loading=(e,t)=>this.create({...t,type:"loading",message:e}),this.promise=(e,t)=>{if(!t)return;let r;void 0!==t.loading&&(r=this.create({...t,promise:e,type:"loading",message:t.loading,description:"function"!=typeof t.description?t.description:void 0}));let n=e instanceof Promise?e:e(),a=void 0!==r;return n.then((e=>{if(e&&"boolean"==typeof e.ok&&!e.ok){a=!1;let n="function"==typeof t.error?t.error(`HTTP error! status: ${e.status}`):t.error,o="function"==typeof t.description?t.description(`HTTP error! status: ${e.status}`):t.description;this.create({id:r,type:"error",message:n,description:o})}else if(void 0!==t.success){a=!1;let n="function"==typeof t.success?t.success(e):t.success,o="function"==typeof t.description?t.description(e):t.description;this.create({id:r,type:"success",message:n,description:o})}})).catch((e=>{if(void 0!==t.error){a=!1;let n="function"==typeof t.error?t.error(e):t.error,o="function"==typeof t.description?t.description(e):t.description;this.create({id:r,type:"error",message:n,description:o})}})).finally((()=>{var e;a&&(this.dismiss(r),r=void 0),null==(e=t.finally)||e.call(t)})),r},this.custom=(e,t)=>{let r=(null==t?void 0:t.id)||os++;return this.create({jsx:e(r),id:r,...t}),r},this.subscribers=[],this.toasts=[]}},ss=(e,t)=>{let r=(null==t?void 0:t.id)||os++;return is.addToast({title:e,...t,id:r}),r};Object.assign(ss,{success:is.success,info:is.info,warning:is.warning,error:is.error,custom:is.custom,message:is.message,promise:is.promise,dismiss:is.dismiss,loading:is.loading});!function(e,{insertAt:t}={}){if(!e||"undefined"==typeof document)return;let r=document.head||document.getElementsByTagName("head")[0],n=document.createElement("style");n.type="text/css","top"===t&&r.firstChild?r.insertBefore(n,r.firstChild):r.appendChild(n),n.styleSheet?n.styleSheet.cssText=e:n.appendChild(document.createTextNode(e))}(':where(html[dir="ltr"]),:where([data-sonner-toaster][dir="ltr"]){--toast-icon-margin-start: -3px;--toast-icon-margin-end: 4px;--toast-svg-margin-start: -1px;--toast-svg-margin-end: 0px;--toast-button-margin-start: auto;--toast-button-margin-end: 0;--toast-close-button-start: 0;--toast-close-button-end: unset;--toast-close-button-transform: translate(-35%, -35%)}:where(html[dir="rtl"]),:where([data-sonner-toaster][dir="rtl"]){--toast-icon-margin-start: 4px;--toast-icon-margin-end: -3px;--toast-svg-margin-start: 0px;--toast-svg-margin-end: -1px;--toast-button-margin-start: 0;--toast-button-margin-end: auto;--toast-close-button-start: unset;--toast-close-button-end: 0;--toast-close-button-transform: translate(35%, -35%)}:where([data-sonner-toaster]){position:fixed;width:var(--width);font-family:ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,Noto Sans,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol,Noto Color Emoji;--gray1: hsl(0, 0%, 99%);--gray2: hsl(0, 0%, 97.3%);--gray3: hsl(0, 0%, 95.1%);--gray4: hsl(0, 0%, 93%);--gray5: hsl(0, 0%, 90.9%);--gray6: hsl(0, 0%, 88.7%);--gray7: hsl(0, 0%, 85.8%);--gray8: hsl(0, 0%, 78%);--gray9: hsl(0, 0%, 56.1%);--gray10: hsl(0, 0%, 52.3%);--gray11: hsl(0, 0%, 43.5%);--gray12: hsl(0, 0%, 9%);--border-radius: 8px;box-sizing:border-box;padding:0;margin:0;list-style:none;outline:none;z-index:999999999}:where([data-sonner-toaster][data-x-position="right"]){right:max(var(--offset),env(safe-area-inset-right))}:where([data-sonner-toaster][data-x-position="left"]){left:max(var(--offset),env(safe-area-inset-left))}:where([data-sonner-toaster][data-x-position="center"]){left:50%;transform:translate(-50%)}:where([data-sonner-toaster][data-y-position="top"]){top:max(var(--offset),env(safe-area-inset-top))}:where([data-sonner-toaster][data-y-position="bottom"]){bottom:max(var(--offset),env(safe-area-inset-bottom))}:where([data-sonner-toast]){--y: translateY(100%);--lift-amount: calc(var(--lift) * var(--gap));z-index:var(--z-index);position:absolute;opacity:0;transform:var(--y);filter:blur(0);touch-action:none;transition:transform .4s,opacity .4s,height .4s,box-shadow .2s;box-sizing:border-box;outline:none;overflow-wrap:anywhere}:where([data-sonner-toast][data-styled="true"]){padding:16px;background:var(--normal-bg);border:1px solid var(--normal-border);color:var(--normal-text);border-radius:var(--border-radius);box-shadow:0 4px 12px #0000001a;width:var(--width);font-size:13px;display:flex;align-items:center;gap:6px}:where([data-sonner-toast]:focus-visible){box-shadow:0 4px 12px #0000001a,0 0 0 2px #0003}:where([data-sonner-toast][data-y-position="top"]){top:0;--y: translateY(-100%);--lift: 1;--lift-amount: calc(1 * var(--gap))}:where([data-sonner-toast][data-y-position="bottom"]){bottom:0;--y: translateY(100%);--lift: -1;--lift-amount: calc(var(--lift) * var(--gap))}:where([data-sonner-toast]) :where([data-description]){font-weight:400;line-height:1.4;color:inherit}:where([data-sonner-toast]) :where([data-title]){font-weight:500;line-height:1.5;color:inherit}:where([data-sonner-toast]) :where([data-icon]){display:flex;height:16px;width:16px;position:relative;justify-content:flex-start;align-items:center;flex-shrink:0;margin-left:var(--toast-icon-margin-start);margin-right:var(--toast-icon-margin-end)}:where([data-sonner-toast][data-promise="true"]) :where([data-icon])>svg{opacity:0;transform:scale(.8);transform-origin:center;animation:sonner-fade-in .3s ease forwards}:where([data-sonner-toast]) :where([data-icon])>*{flex-shrink:0}:where([data-sonner-toast]) :where([data-icon]) svg{margin-left:var(--toast-svg-margin-start);margin-right:var(--toast-svg-margin-end)}:where([data-sonner-toast]) :where([data-content]){display:flex;flex-direction:column;gap:2px}[data-sonner-toast][data-styled=true] [data-button]{border-radius:4px;padding-left:8px;padding-right:8px;height:24px;font-size:12px;color:var(--normal-bg);background:var(--normal-text);margin-left:var(--toast-button-margin-start);margin-right:var(--toast-button-margin-end);border:none;cursor:pointer;outline:none;display:flex;align-items:center;flex-shrink:0;transition:opacity .4s,box-shadow .2s}:where([data-sonner-toast]) :where([data-button]):focus-visible{box-shadow:0 0 0 2px #0006}:where([data-sonner-toast]) :where([data-button]):first-of-type{margin-left:var(--toast-button-margin-start);margin-right:var(--toast-button-margin-end)}:where([data-sonner-toast]) :where([data-cancel]){color:var(--normal-text);background:rgba(0,0,0,.08)}:where([data-sonner-toast][data-theme="dark"]) :where([data-cancel]){background:rgba(255,255,255,.3)}:where([data-sonner-toast]) :where([data-close-button]){position:absolute;left:var(--toast-close-button-start);right:var(--toast-close-button-end);top:0;height:20px;width:20px;display:flex;justify-content:center;align-items:center;padding:0;background:var(--gray1);color:var(--gray12);border:1px solid var(--gray4);transform:var(--toast-close-button-transform);border-radius:50%;cursor:pointer;z-index:1;transition:opacity .1s,background .2s,border-color .2s}:where([data-sonner-toast]) :where([data-close-button]):focus-visible{box-shadow:0 4px 12px #0000001a,0 0 0 2px #0003}:where([data-sonner-toast]) :where([data-disabled="true"]){cursor:not-allowed}:where([data-sonner-toast]):hover :where([data-close-button]):hover{background:var(--gray2);border-color:var(--gray5)}:where([data-sonner-toast][data-swiping="true"]):before{content:"";position:absolute;left:0;right:0;height:100%;z-index:-1}:where([data-sonner-toast][data-y-position="top"][data-swiping="true"]):before{bottom:50%;transform:scaleY(3) translateY(50%)}:where([data-sonner-toast][data-y-position="bottom"][data-swiping="true"]):before{top:50%;transform:scaleY(3) translateY(-50%)}:where([data-sonner-toast][data-swiping="false"][data-removed="true"]):before{content:"";position:absolute;inset:0;transform:scaleY(2)}:where([data-sonner-toast]):after{content:"";position:absolute;left:0;height:calc(var(--gap) + 1px);bottom:100%;width:100%}:where([data-sonner-toast][data-mounted="true"]){--y: translateY(0);opacity:1}:where([data-sonner-toast][data-expanded="false"][data-front="false"]){--scale: var(--toasts-before) * .05 + 1;--y: translateY(calc(var(--lift-amount) * var(--toasts-before))) scale(calc(-1 * var(--scale)));height:var(--front-toast-height)}:where([data-sonner-toast])>*{transition:opacity .4s}:where([data-sonner-toast][data-expanded="false"][data-front="false"][data-styled="true"])>*{opacity:0}:where([data-sonner-toast][data-visible="false"]){opacity:0;pointer-events:none}:where([data-sonner-toast][data-mounted="true"][data-expanded="true"]){--y: translateY(calc(var(--lift) * var(--offset)));height:var(--initial-height)}:where([data-sonner-toast][data-removed="true"][data-front="true"][data-swipe-out="false"]){--y: translateY(calc(var(--lift) * -100%));opacity:0}:where([data-sonner-toast][data-removed="true"][data-front="false"][data-swipe-out="false"][data-expanded="true"]){--y: translateY(calc(var(--lift) * var(--offset) + var(--lift) * -100%));opacity:0}:where([data-sonner-toast][data-removed="true"][data-front="false"][data-swipe-out="false"][data-expanded="false"]){--y: translateY(40%);opacity:0;transition:transform .5s,opacity .2s}:where([data-sonner-toast][data-removed="true"][data-front="false"]):before{height:calc(var(--initial-height) + 20%)}[data-sonner-toast][data-swiping=true]{transform:var(--y) translateY(var(--swipe-amount, 0px));transition:none}[data-sonner-toast][data-swipe-out=true][data-y-position=bottom],[data-sonner-toast][data-swipe-out=true][data-y-position=top]{animation:swipe-out .2s ease-out forwards}@keyframes swipe-out{0%{transform:translateY(calc(var(--lift) * var(--offset) + var(--swipe-amount)));opacity:1}to{transform:translateY(calc(var(--lift) * var(--offset) + var(--swipe-amount) + var(--lift) * -100%));opacity:0}}@media (max-width: 600px){[data-sonner-toaster]{position:fixed;--mobile-offset: 16px;right:var(--mobile-offset);left:var(--mobile-offset);width:100%}[data-sonner-toaster] [data-sonner-toast]{left:0;right:0;width:calc(100% - var(--mobile-offset) * 2)}[data-sonner-toaster][data-x-position=left]{left:var(--mobile-offset)}[data-sonner-toaster][data-y-position=bottom]{bottom:20px}[data-sonner-toaster][data-y-position=top]{top:20px}[data-sonner-toaster][data-x-position=center]{left:var(--mobile-offset);right:var(--mobile-offset);transform:none}}[data-sonner-toaster][data-theme=light]{--normal-bg: #fff;--normal-border: var(--gray4);--normal-text: var(--gray12);--success-bg: hsl(143, 85%, 96%);--success-border: hsl(145, 92%, 91%);--success-text: hsl(140, 100%, 27%);--info-bg: hsl(208, 100%, 97%);--info-border: hsl(221, 91%, 91%);--info-text: hsl(210, 92%, 45%);--warning-bg: hsl(49, 100%, 97%);--warning-border: hsl(49, 91%, 91%);--warning-text: hsl(31, 92%, 45%);--error-bg: hsl(359, 100%, 97%);--error-border: hsl(359, 100%, 94%);--error-text: hsl(360, 100%, 45%)}[data-sonner-toaster][data-theme=light] [data-sonner-toast][data-invert=true]{--normal-bg: #000;--normal-border: hsl(0, 0%, 20%);--normal-text: var(--gray1)}[data-sonner-toaster][data-theme=dark] [data-sonner-toast][data-invert=true]{--normal-bg: #fff;--normal-border: var(--gray3);--normal-text: var(--gray12)}[data-sonner-toaster][data-theme=dark]{--normal-bg: #000;--normal-border: hsl(0, 0%, 20%);--normal-text: var(--gray1);--success-bg: hsl(150, 100%, 6%);--success-border: hsl(147, 100%, 12%);--success-text: hsl(150, 86%, 65%);--info-bg: hsl(215, 100%, 6%);--info-border: hsl(223, 100%, 12%);--info-text: hsl(216, 87%, 65%);--warning-bg: hsl(64, 100%, 6%);--warning-border: hsl(60, 100%, 12%);--warning-text: hsl(46, 87%, 65%);--error-bg: hsl(358, 76%, 10%);--error-border: hsl(357, 89%, 16%);--error-text: hsl(358, 100%, 81%)}[data-rich-colors=true] [data-sonner-toast][data-type=success],[data-rich-colors=true] [data-sonner-toast][data-type=success] [data-close-button]{background:var(--success-bg);border-color:var(--success-border);color:var(--success-text)}[data-rich-colors=true] [data-sonner-toast][data-type=info],[data-rich-colors=true] [data-sonner-toast][data-type=info] [data-close-button]{background:var(--info-bg);border-color:var(--info-border);color:var(--info-text)}[data-rich-colors=true] [data-sonner-toast][data-type=warning],[data-rich-colors=true] [data-sonner-toast][data-type=warning] [data-close-button]{background:var(--warning-bg);border-color:var(--warning-border);color:var(--warning-text)}[data-rich-colors=true] [data-sonner-toast][data-type=error],[data-rich-colors=true] [data-sonner-toast][data-type=error] [data-close-button]{background:var(--error-bg);border-color:var(--error-border);color:var(--error-text)}.sonner-loading-wrapper{--size: 16px;height:var(--size);width:var(--size);position:absolute;inset:0;z-index:10}.sonner-loading-wrapper[data-visible=false]{transform-origin:center;animation:sonner-fade-out .2s ease forwards}.sonner-spinner{position:relative;top:50%;left:50%;height:var(--size);width:var(--size)}.sonner-loading-bar{animation:sonner-spin 1.2s linear infinite;background:var(--gray11);border-radius:6px;height:8%;left:-10%;position:absolute;top:-3.9%;width:24%}.sonner-loading-bar:nth-child(1){animation-delay:-1.2s;transform:rotate(.0001deg) translate(146%)}.sonner-loading-bar:nth-child(2){animation-delay:-1.1s;transform:rotate(30deg) translate(146%)}.sonner-loading-bar:nth-child(3){animation-delay:-1s;transform:rotate(60deg) translate(146%)}.sonner-loading-bar:nth-child(4){animation-delay:-.9s;transform:rotate(90deg) translate(146%)}.sonner-loading-bar:nth-child(5){animation-delay:-.8s;transform:rotate(120deg) translate(146%)}.sonner-loading-bar:nth-child(6){animation-delay:-.7s;transform:rotate(150deg) translate(146%)}.sonner-loading-bar:nth-child(7){animation-delay:-.6s;transform:rotate(180deg) translate(146%)}.sonner-loading-bar:nth-child(8){animation-delay:-.5s;transform:rotate(210deg) translate(146%)}.sonner-loading-bar:nth-child(9){animation-delay:-.4s;transform:rotate(240deg) translate(146%)}.sonner-loading-bar:nth-child(10){animation-delay:-.3s;transform:rotate(270deg) translate(146%)}.sonner-loading-bar:nth-child(11){animation-delay:-.2s;transform:rotate(300deg) translate(146%)}.sonner-loading-bar:nth-child(12){animation-delay:-.1s;transform:rotate(330deg) translate(146%)}@keyframes sonner-fade-in{0%{opacity:0;transform:scale(.8)}to{opacity:1;transform:scale(1)}}@keyframes sonner-fade-out{0%{opacity:1;transform:scale(1)}to{opacity:0;transform:scale(.8)}}@keyframes sonner-spin{0%{opacity:1}to{opacity:.15}}@media (prefers-reduced-motion){[data-sonner-toast],[data-sonner-toast]>*,.sonner-loading-bar{transition:none!important;animation:none!important}}.sonner-loader{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);transform-origin:center;transition:opacity .2s,transform .2s}.sonner-loader[data-visible=false]{opacity:0;transform:scale(.8) translate(-50%,-50%)}\n');var ls=3,cs=14;function us(...e){return e.filter(Boolean).join(" ")}var ds=e=>{var r,n,a,o,i,s,l;let{invert:c,toast:u,unstyled:d,interacting:f,setHeights:p,visibleToasts:m,heights:h,index:g,toasts:b,expanded:y,removeToast:x,closeButton:v,style:w,cancelButtonStyle:k,actionButtonStyle:S,className:E="",descriptionClassName:_="",duration:A,position:M,gap:T=cs,loadingIcon:O,expandByDefault:C,classNames:N,icons:R,closeButtonAriaLabel:I="Close toast",pauseWhenPageIsHidden:F,cn:P}=e,[L,$]=t.useState(!1),[j,D]=t.useState(!1),[z,H]=t.useState(!1),[B,W]=t.useState(!1),[U,G]=t.useState(0),[Y,K]=t.useState(0),q=t.useRef(null),X=t.useRef(null),V=0===g,J=g+1<=m,Z=u.type,Q=!1!==u.dismissible,ee=u.className||"",te=u.descriptionClassName||"",re=t.useMemo((()=>h.findIndex((e=>e.toastId===u.id))||0),[h,u.id]),ne=t.useMemo((()=>{var e;return null!=(e=u.closeButton)?e:v}),[u.closeButton,v]),ae=t.useMemo((()=>u.duration||A||4e3),[u.duration,A]),oe=t.useRef(0),ie=t.useRef(0),se=t.useRef(0),le=t.useRef(null),[ce,ue]=M.split("-"),de=t.useMemo((()=>h.reduce(((e,t,r)=>r>=re?e:e+t.height),0)),[h,re]),fe=(()=>{let[e,r]=t.useState(!1);return t.useEffect((()=>{let e=()=>{r(document.hidden)};return document.addEventListener("visibilitychange",e),()=>window.removeEventListener("visibilitychange",e)}),[]),e})(),pe=u.invert||c,me="loading"===Z;ie.current=t.useMemo((()=>re*T+de),[re,de]),t.useEffect((()=>{$(!0)}),[]),t.useLayoutEffect((()=>{if(!L)return;let e=X.current,t=e.style.height;e.style.height="auto";let r=e.getBoundingClientRect().height;e.style.height=t,K(r),p((e=>e.find((e=>e.toastId===u.id))?e.map((e=>e.toastId===u.id?{...e,height:r}:e)):[{toastId:u.id,height:r,position:u.position},...e]))}),[L,u.title,u.description,p,u.id]);let he=t.useCallback((()=>{D(!0),G(ie.current),p((e=>e.filter((e=>e.toastId!==u.id)))),setTimeout((()=>{x(u)}),200)}),[u,x,p,ie]);function ge(e){return{__html:Zi.sanitize(e)}}return t.useEffect((()=>{if(u.promise&&"loading"===Z||u.duration===1/0||"loading"===u.type)return;let e,t=ae;return y||f||F&&fe?(()=>{if(se.current<oe.current){let e=(new Date).getTime()-oe.current;t-=e}se.current=(new Date).getTime()})():(oe.current=(new Date).getTime(),e=setTimeout((()=>{var e;null==(e=u.onAutoClose)||e.call(u,u),he()}),t)),()=>clearTimeout(e)}),[y,f,C,u,ae,he,u.promise,Z,F,fe]),t.useEffect((()=>{let e=X.current;if(e){let t=e.getBoundingClientRect().height;return K(t),p((e=>[{toastId:u.id,height:t,position:u.position},...e])),()=>p((e=>e.filter((e=>e.toastId!==u.id))))}}),[p,u.id]),t.useEffect((()=>{u.delete&&he()}),[he,u.delete]),t.createElement("li",{"aria-live":u.important?"assertive":"polite","aria-atomic":"true",role:"status",tabIndex:0,ref:X,className:P(E,ee,null==N?void 0:N.toast,null==(r=null==u?void 0:u.classNames)?void 0:r.toast,null==N?void 0:N.default,null==N?void 0:N[Z],null==(n=null==u?void 0:u.classNames)?void 0:n[Z]),"data-sonner-toast":"","data-styled":!(u.jsx||u.unstyled||d),"data-mounted":L,"data-promise":!!u.promise,"data-removed":j,"data-visible":J,"data-y-position":ce,"data-x-position":ue,"data-index":g,"data-front":V,"data-swiping":z,"data-dismissible":Q,"data-type":Z,"data-invert":pe,"data-swipe-out":B,"data-expanded":!!(y||C&&L),style:{"--index":g,"--toasts-before":g,"--z-index":b.length-g,"--offset":`${j?U:ie.current}px`,"--initial-height":C?"auto":`${Y}px`,...w,...u.style},onPointerDown:e=>{me||!Q||(q.current=new Date,G(ie.current),e.target.setPointerCapture(e.pointerId),"BUTTON"!==e.target.tagName&&(H(!0),le.current={x:e.clientX,y:e.clientY}))},onPointerUp:()=>{var e,t,r,n;if(B||!Q)return;le.current=null;let a=Number((null==(e=X.current)?void 0:e.style.getPropertyValue("--swipe-amount").replace("px",""))||0),o=(new Date).getTime()-(null==(t=q.current)?void 0:t.getTime()),i=Math.abs(a)/o;if(Math.abs(a)>=20||i>.11)return G(ie.current),null==(r=u.onDismiss)||r.call(u,u),he(),void W(!0);null==(n=X.current)||n.style.setProperty("--swipe-amount","0px"),H(!1)},onPointerMove:e=>{var t;if(!le.current||!Q)return;let r=e.clientY-le.current.y,n=e.clientX-le.current.x,a=("top"===ce?Math.min:Math.max)(0,r),o="touch"===e.pointerType?10:2;Math.abs(a)>o?null==(t=X.current)||t.style.setProperty("--swipe-amount",`${r}px`):Math.abs(n)>o&&(le.current=null)}},ne&&!u.jsx?t.createElement("button",{"aria-label":I,"data-disabled":me,"data-close-button":!0,onClick:me||!Q?()=>{}:()=>{var e;he(),null==(e=u.onDismiss)||e.call(u,u)},className:P(null==N?void 0:N.closeButton,null==(a=null==u?void 0:u.classNames)?void 0:a.closeButton)},t.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"12",height:"12",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"},t.createElement("line",{x1:"18",y1:"6",x2:"6",y2:"18"}),t.createElement("line",{x1:"6",y1:"6",x2:"18",y2:"18"}))):null,u.jsx||t.isValidElement(u.title)?u.jsx||u.title:t.createElement(t.Fragment,null,Z||u.icon||u.promise?t.createElement("div",{"data-icon":"",className:P(null==N?void 0:N.icon)},u.promise||"loading"===u.type&&!u.icon?u.icon||(null!=R&&R.loading?t.createElement("div",{className:"sonner-loader","data-visible":"loading"===Z},R.loading):O?t.createElement("div",{className:"sonner-loader","data-visible":"loading"===Z},O):t.createElement(es,{visible:"loading"===Z})):null,"loading"!==u.type?u.icon||(null==R?void 0:R[Z])||(e=>{switch(e){case"success":return ts;case"info":return ns;case"warning":return rs;case"error":return as;default:return null}})(Z):null):null,t.createElement("div",{"data-content":"",className:P(null==N?void 0:N.content)},t.createElement("div",{"data-title":"",className:P(null==N?void 0:N.title,null==(o=null==u?void 0:u.classNames)?void 0:o.title),dangerouslySetInnerHTML:ge(u.title)}),u.description?t.createElement("div",{"data-description":"",className:P(_,te,null==N?void 0:N.description,null==(i=null==u?void 0:u.classNames)?void 0:i.description),dangerouslySetInnerHTML:ge(u.description)}):null),u.cancel?t.createElement("button",{"data-button":!0,"data-cancel":!0,style:u.cancelButtonStyle||k,onClick:e=>{var t;Q&&(he(),null!=(t=u.cancel)&&t.onClick&&u.cancel.onClick(e))},className:P(null==N?void 0:N.cancelButton,null==(s=null==u?void 0:u.classNames)?void 0:s.cancelButton)},u.cancel.label):null,u.action?t.createElement("button",{"data-button":"",style:u.actionButtonStyle||S,onClick:e=>{var t;null==(t=u.action)||t.onClick(e),!e.defaultPrevented&&he()},className:P(null==N?void 0:N.actionButton,null==(l=null==u?void 0:u.classNames)?void 0:l.actionButton)},u.action.label):null))};function fs(){if("undefined"==typeof window||"undefined"==typeof document)return"ltr";let e=document.documentElement.getAttribute("dir");return"auto"!==e&&e?e:window.getComputedStyle(document.documentElement).direction}var ps=e=>{let{invert:r,position:n="bottom-right",hotkey:a=["altKey","KeyT"],expand:o,closeButton:i,className:s,offset:l,theme:c="light",richColors:u,duration:d,style:f,visibleToasts:p=ls,toastOptions:m,dir:h=fs(),gap:g,loadingIcon:b,icons:y,containerAriaLabel:x="Notifications",pauseWhenPageIsHidden:v,cn:w=us}=e,[k,S]=t.useState([]),E=t.useMemo((()=>Array.from(new Set([n].concat(k.filter((e=>e.position)).map((e=>e.position)))))),[k,n]),[_,A]=t.useState([]),[M,T]=t.useState(!1),[O,C]=t.useState(!1),[N,R]=t.useState("system"!==c?c:"undefined"!=typeof window&&window.matchMedia&&window.matchMedia("(prefers-color-scheme: dark)").matches?"dark":"light"),I=t.useRef(null),F=a.join("+").replace(/Key/g,"").replace(/Digit/g,""),P=t.useRef(null),L=t.useRef(!1),$=t.useCallback((e=>S((t=>t.filter((({id:t})=>t!==e.id))))),[]);return t.useEffect((()=>is.subscribe((e=>{e.dismiss?S((t=>t.map((t=>t.id===e.id?{...t,delete:!0}:t)))):setTimeout((()=>{ri.flushSync((()=>{S((t=>{let r=t.findIndex((t=>t.id===e.id));return-1!==r?[...t.slice(0,r),{...t[r],...e},...t.slice(r+1)]:[e,...t]}))}))}))}))),[]),t.useEffect((()=>{"system"===c?("system"===c&&(window.matchMedia&&window.matchMedia("(prefers-color-scheme: dark)").matches?R("dark"):R("light")),"undefined"!=typeof window&&window.matchMedia("(prefers-color-scheme: dark)").addEventListener("change",(({matches:e})=>{R(e?"dark":"light")}))):R(c)}),[c]),t.useEffect((()=>{k.length<=1&&T(!1)}),[k]),t.useEffect((()=>{let e=e=>{var t,r;a.every((t=>e[t]||e.code===t))&&(T(!0),null==(t=I.current)||t.focus()),"Escape"===e.code&&(document.activeElement===I.current||null!=(r=I.current)&&r.contains(document.activeElement))&&T(!1)};return document.addEventListener("keydown",e),()=>document.removeEventListener("keydown",e)}),[a]),t.useEffect((()=>{if(I.current)return()=>{P.current&&(P.current.focus({preventScroll:!0}),P.current=null,L.current=!1)}}),[I.current]),k.length?t.createElement("section",{"aria-label":`${x} ${F}`,tabIndex:-1},E.map(((e,n)=>{var a;let[c,x]=e.split("-");return t.createElement("ol",{key:e,dir:"auto"===h?fs():h,tabIndex:-1,ref:I,className:s,"data-sonner-toaster":!0,"data-theme":N,"data-rich-colors":u,"data-y-position":c,"data-x-position":x,style:{"--front-toast-height":`${(null==(a=_[0])?void 0:a.height)||0}px`,"--offset":"number"==typeof l?`${l}px`:l||"32px","--width":"356px","--gap":`${cs}px`,...f},onBlur:e=>{L.current&&!e.currentTarget.contains(e.relatedTarget)&&(L.current=!1,P.current&&(P.current.focus({preventScroll:!0}),P.current=null))},onFocus:e=>{e.target instanceof HTMLElement&&"false"===e.target.dataset.dismissible||L.current||(L.current=!0,P.current=e.relatedTarget)},onMouseEnter:()=>T(!0),onMouseMove:()=>T(!0),onMouseLeave:()=>{O||T(!1)},onPointerDown:e=>{e.target instanceof HTMLElement&&"false"===e.target.dataset.dismissible||C(!0)},onPointerUp:()=>C(!1)},k.filter((t=>!t.position&&0===n||t.position===e)).map(((n,a)=>{var s,l;return t.createElement(ds,{key:n.id,icons:y,index:a,toast:n,duration:null!=(s=null==m?void 0:m.duration)?s:d,className:null==m?void 0:m.className,descriptionClassName:null==m?void 0:m.descriptionClassName,invert:r,visibleToasts:p,closeButton:null!=(l=null==m?void 0:m.closeButton)?l:i,interacting:O,position:e,style:null==m?void 0:m.style,unstyled:null==m?void 0:m.unstyled,classNames:null==m?void 0:m.classNames,cancelButtonStyle:null==m?void 0:m.cancelButtonStyle,actionButtonStyle:null==m?void 0:m.actionButtonStyle,removeToast:$,toasts:k.filter((e=>e.position==n.position)),heights:_.filter((e=>e.position==n.position)),setHeights:A,expandByDefault:o,gap:g,loadingIcon:b,expanded:M,pauseWhenPageIsHidden:v,cn:w})})))}))):null},ms=function(e){var r=e.children,n=e.defaultTheme;return Fe(Zo,{theme:(0,t.useMemo)((function(){return _a(ti(n))}),[n]),children:[Ie(ps,{closeButton:!0,position:"bottom-left"}),r]})};const hs=["className","component"];const gs=_a(),bs=function(r={}){const{themeId:n,defaultTheme:a,defaultClassName:o="MuiBox-root",generateClassName:i}=r,s=Mn("div",{shouldForwardProp:e=>"theme"!==e&&"sx"!==e&&"as"!==e})(Rn);return t.forwardRef((function(t,r){const l=Fa(a),c=xn(t),{className:u,component:d="div"}=c,f=dr(c,hs);return(0,e.jsx)(s,fr({as:d,ref:r,className:mr(u,i?i(o):o),theme:n&&l[n]||l},f))}))}({themeId:Ma,defaultTheme:gs,defaultClassName:"MuiBox-root",generateClassName:ja.generate}),ys=bs,xs=()=>{throw new Error("useMediaQuery is a client-only hook")};function vs(e){const r=(0,t.useCallback)((t=>{const r=window.matchMedia(e);return r.addEventListener("change",t),()=>{r.removeEventListener("change",t)}}),[e]);return(0,t.useSyncExternalStore)(r,(()=>window.matchMedia(e).matches),xs)}var ws;!function(e){e[e.mobile=576]="mobile",e[e.tablet=770]="tablet"}(ws||(ws={}));const ks=()=>{try{return window.parent.location.origin===window.location.origin}catch{return!1}};const Ss=({controlType:e,allowed:t,label:r})=>(n,a={})=>(((e,t,r)=>{if(t.some((e=>!r.includes(e.controlType))))throw new Error(`${e} may only contain ${r.map((e=>JSON.stringify(e))).join(", ")} controls inside styles`)})(e,n,t),{type:"control",controlType:e,label:r,styles:n,...a});Ss({controlType:"border",allowed:["borderStyle","borderWidth","color"],label:"Border"}),Ss({controlType:"background",allowed:["select","color","image"],label:"Background"}),Ss({controlType:"font",allowed:["fontFamily","color","fontWeight"],label:"Font"});var Es={colors:{primary:"#152237",accent:"#3278FF",background:"#FFFFFF"},typography:{headingFontFamily:"Inter, sans-serif",headingFontWeight:600,bodyFontFamily:"Inter, sans-serif",bodyFontWeight:400},size:"M",roundness:"STANDARD",backgroundStyle:"HIGHLIGHTED",shadow:!0,containerMaxWidth:"1852px"},_s={config:Es,tokens:{colors:{background:{default:"#FFFFFF",complementary:"#f3f5f8",skeleton:"#f2f2f2"},text:{heading:"#152237",description:"#727a87",ui:"#152237"},border:{primary:"#e5e5e5",secondary:"#f3f5f8"},action:{highlight:"#3278FF",primary:{text:"#f4f8ff",background:{idle:"#3278FF",hover:"#2860cc",press:"#1e4899"}},secondary:{background:{idle:"#FFFFFF",hover:"#f2f2f2",press:"#e5e5e5"},text:"#152237"},dialogSecondary:{background:{idle:"#f2f2f2",hover:"#e5e5e5",press:"#ccc"},text:"#152237"},ghost:{text:"#152237",background:{idle:"#FFFFFF",hover:"#f2f2f2",press:"#e5e5e5"},border:{active:"#3278FF"}},disabled:{background:"#F2F2F2",text:"#898989"}},dialog:{background:{idle:"#FFFFFF",hover:"#f2f2f2",press:"#e5e5e5"}},input:{background:{idle:"#f2f2f2",hover:"#e5e5e5",focus:"#f2f2f2"},text:"#152237",placeholder:"#727a87",border:{focus:"#3278FF",error:"#c52c26"},message:{error:"#c52c26",hint:"#727a87"}},rating:{fill:"#e5e5e5",stroke:{hover:"#999"}}},typography:{heading:{fontFamily:"Inter, sans-serif",fontWeight:"600",size:{1:{fontSize:"22px",lineHeight:"32px"},2:{fontSize:"20px",lineHeight:"28px"},3:{fontSize:"18px",lineHeight:"24px"},title:{fontSize:"24px",lineHeight:"32px"}}},body:{fontFamily:"Inter, sans-serif",fontWeight:"400",fontSize:"14px",lineHeight:"20px"},text:{action:{fontSize:"14px",lineHeight:"24px"},hint:{fontSize:"12px",lineHeight:"normal"},label:{fontSize:"14px",lineHeight:"20px"},link:{fontSize:"14px",lineHeight:"20px"}}},iconSize:{1:"20px",5:"40px",rating:"24px"},roundness:{1:"4px",2:"6px",3:"8px",4:"12px",5:"16px",full:"9999px"},space:{0:"0px",1:"2px",2:"4px",3:"6px",4:"8px",5:"10px",6:"12px",7:"16px",8:"20px",9:"24px",10:"32px",11:"48px",12:"64px",13:"72px",14:"96px",15:"160px"},shadow:{none:"0 0 #0000",subtle:"0px 2px 4px -2px rgba(0, 0, 0, 0.06), 0px 4px 12px -2px rgba(0, 0, 0, 0.08)",subtleBorder:"0px 4px 12px -2px rgba(0, 0, 0, 0.08)",raised:"0px 4px 6px -2px rgba(0, 0, 0, 0.02), 0px 12px 24px -4px rgba(0, 0, 0, 0.08)",floating:"0px 8px 8px -4px rgba(0, 0, 0, 0.03), 0px 20px 30px -4px rgba(0, 0, 0, 0.10)"},containerMaxWidth:"1852px"}};function As(){return As=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},As.apply(this,arguments)}function Ms(e,t){return Ms=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},Ms(e,t)}function Ts(e){return Ts=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},Ts(e)}function Os(e,t,r){return Os=function(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch{return!1}}()?Reflect.construct.bind():function(e,t,r){var n=[null];n.push.apply(n,t);var a=new(Function.bind.apply(e,n));return r&&Ms(a,r.prototype),a},Os.apply(null,arguments)}function Cs(e){var t="function"==typeof Map?new Map:void 0;return Cs=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(typeof t<"u"){if(t.has(e))return t.get(e);t.set(e,r)}function r(){return Os(e,arguments,Ts(this).constructor)}return r.prototype=Object.create(e.prototype,{constructor:{value:r,enumerable:!1,writable:!0,configurable:!0}}),Ms(r,e)},Cs(e)}var Ns=function(e){function t(t){return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e.call(this,"An error occurred. See https://github.com/styled-components/polished/blob/main/src/internalHelpers/errors.md#"+t+" for more information.")||this)}return function(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,Ms(e,t)}(t,e),t}(Cs(Error));function Rs(e){return Math.round(255*e)}function Is(e,t,r){return Rs(e)+","+Rs(t)+","+Rs(r)}function Fs(e,t,r,n){if(void 0===n&&(n=Is),0===t)return n(r,r,r);var a=(e%360+360)%360/60,o=(1-Math.abs(2*r-1))*t,i=o*(1-Math.abs(a%2-1)),s=0,l=0,c=0;a>=0&&a<1?(s=o,l=i):a>=1&&a<2?(s=i,l=o):a>=2&&a<3?(l=o,c=i):a>=3&&a<4?(l=i,c=o):a>=4&&a<5?(s=i,c=o):a>=5&&a<6&&(s=o,c=i);var u=r-o/2;return n(s+u,l+u,c+u)}var Ps={aliceblue:"f0f8ff",antiquewhite:"faebd7",aqua:"00ffff",aquamarine:"7fffd4",azure:"f0ffff",beige:"f5f5dc",bisque:"ffe4c4",black:"000",blanchedalmond:"ffebcd",blue:"0000ff",blueviolet:"8a2be2",brown:"a52a2a",burlywood:"deb887",cadetblue:"5f9ea0",chartreuse:"7fff00",chocolate:"d2691e",coral:"ff7f50",cornflowerblue:"6495ed",cornsilk:"fff8dc",crimson:"dc143c",cyan:"00ffff",darkblue:"00008b",darkcyan:"008b8b",darkgoldenrod:"b8860b",darkgray:"a9a9a9",darkgreen:"006400",darkgrey:"a9a9a9",darkkhaki:"bdb76b",darkmagenta:"8b008b",darkolivegreen:"556b2f",darkorange:"ff8c00",darkorchid:"9932cc",darkred:"8b0000",darksalmon:"e9967a",darkseagreen:"8fbc8f",darkslateblue:"483d8b",darkslategray:"2f4f4f",darkslategrey:"2f4f4f",darkturquoise:"00ced1",darkviolet:"9400d3",deeppink:"ff1493",deepskyblue:"00bfff",dimgray:"696969",dimgrey:"696969",dodgerblue:"1e90ff",firebrick:"b22222",floralwhite:"fffaf0",forestgreen:"228b22",fuchsia:"ff00ff",gainsboro:"dcdcdc",ghostwhite:"f8f8ff",gold:"ffd700",goldenrod:"daa520",gray:"808080",green:"008000",greenyellow:"adff2f",grey:"808080",honeydew:"f0fff0",hotpink:"ff69b4",indianred:"cd5c5c",indigo:"4b0082",ivory:"fffff0",khaki:"f0e68c",lavender:"e6e6fa",lavenderblush:"fff0f5",lawngreen:"7cfc00",lemonchiffon:"fffacd",lightblue:"add8e6",lightcoral:"f08080",lightcyan:"e0ffff",lightgoldenrodyellow:"fafad2",lightgray:"d3d3d3",lightgreen:"90ee90",lightgrey:"d3d3d3",lightpink:"ffb6c1",lightsalmon:"ffa07a",lightseagreen:"20b2aa",lightskyblue:"87cefa",lightslategray:"789",lightslategrey:"789",lightsteelblue:"b0c4de",lightyellow:"ffffe0",lime:"0f0",limegreen:"32cd32",linen:"faf0e6",magenta:"f0f",maroon:"800000",mediumaquamarine:"66cdaa",mediumblue:"0000cd",mediumorchid:"ba55d3",mediumpurple:"9370db",mediumseagreen:"3cb371",mediumslateblue:"7b68ee",mediumspringgreen:"00fa9a",mediumturquoise:"48d1cc",mediumvioletred:"c71585",midnightblue:"191970",mintcream:"f5fffa",mistyrose:"ffe4e1",moccasin:"ffe4b5",navajowhite:"ffdead",navy:"000080",oldlace:"fdf5e6",olive:"808000",olivedrab:"6b8e23",orange:"ffa500",orangered:"ff4500",orchid:"da70d6",palegoldenrod:"eee8aa",palegreen:"98fb98",paleturquoise:"afeeee",palevioletred:"db7093",papayawhip:"ffefd5",peachpuff:"ffdab9",peru:"cd853f",pink:"ffc0cb",plum:"dda0dd",powderblue:"b0e0e6",purple:"800080",rebeccapurple:"639",red:"f00",rosybrown:"bc8f8f",royalblue:"4169e1",saddlebrown:"8b4513",salmon:"fa8072",sandybrown:"f4a460",seagreen:"2e8b57",seashell:"fff5ee",sienna:"a0522d",silver:"c0c0c0",skyblue:"87ceeb",slateblue:"6a5acd",slategray:"708090",slategrey:"708090",snow:"fffafa",springgreen:"00ff7f",steelblue:"4682b4",tan:"d2b48c",teal:"008080",thistle:"d8bfd8",tomato:"ff6347",turquoise:"40e0d0",violet:"ee82ee",wheat:"f5deb3",white:"fff",whitesmoke:"f5f5f5",yellow:"ff0",yellowgreen:"9acd32"};var Ls=/^#[a-fA-F0-9]{6}$/,$s=/^#[a-fA-F0-9]{8}$/,js=/^#[a-fA-F0-9]{3}$/,Ds=/^#[a-fA-F0-9]{4}$/,zs=/^rgb\(\s*(\d{1,3})\s*(?:,)?\s*(\d{1,3})\s*(?:,)?\s*(\d{1,3})\s*\)$/i,Hs=/^rgb(?:a)?\(\s*(\d{1,3})\s*(?:,)?\s*(\d{1,3})\s*(?:,)?\s*(\d{1,3})\s*(?:,|\/)\s*([-+]?\d*[.]?\d+[%]?)\s*\)$/i,Bs=/^hsl\(\s*(\d{0,3}[.]?[0-9]+(?:deg)?)\s*(?:,)?\s*(\d{1,3}[.]?[0-9]?)%\s*(?:,)?\s*(\d{1,3}[.]?[0-9]?)%\s*\)$/i,Ws=/^hsl(?:a)?\(\s*(\d{0,3}[.]?[0-9]+(?:deg)?)\s*(?:,)?\s*(\d{1,3}[.]?[0-9]?)%\s*(?:,)?\s*(\d{1,3}[.]?[0-9]?)%\s*(?:,|\/)\s*([-+]?\d*[.]?\d+[%]?)\s*\)$/i;function Us(e){if("string"!=typeof e)throw new Ns(3);var t=function(e){if("string"!=typeof e)return e;var t=e.toLowerCase();return Ps[t]?"#"+Ps[t]:e}(e);if(t.match(Ls))return{red:parseInt(""+t[1]+t[2],16),green:parseInt(""+t[3]+t[4],16),blue:parseInt(""+t[5]+t[6],16)};if(t.match($s)){var r=parseFloat((parseInt(""+t[7]+t[8],16)/255).toFixed(2));return{red:parseInt(""+t[1]+t[2],16),green:parseInt(""+t[3]+t[4],16),blue:parseInt(""+t[5]+t[6],16),alpha:r}}if(t.match(js))return{red:parseInt(""+t[1]+t[1],16),green:parseInt(""+t[2]+t[2],16),blue:parseInt(""+t[3]+t[3],16)};if(t.match(Ds)){var n=parseFloat((parseInt(""+t[4]+t[4],16)/255).toFixed(2));return{red:parseInt(""+t[1]+t[1],16),green:parseInt(""+t[2]+t[2],16),blue:parseInt(""+t[3]+t[3],16),alpha:n}}var a=zs.exec(t);if(a)return{red:parseInt(""+a[1],10),green:parseInt(""+a[2],10),blue:parseInt(""+a[3],10)};var o=Hs.exec(t.substring(0,50));if(o)return{red:parseInt(""+o[1],10),green:parseInt(""+o[2],10),blue:parseInt(""+o[3],10),alpha:parseFloat(""+o[4])>1?parseFloat(""+o[4])/100:parseFloat(""+o[4])};var i=Bs.exec(t);if(i){var s="rgb("+Fs(parseInt(""+i[1],10),parseInt(""+i[2],10)/100,parseInt(""+i[3],10)/100)+")",l=zs.exec(s);if(!l)throw new Ns(4,t,s);return{red:parseInt(""+l[1],10),green:parseInt(""+l[2],10),blue:parseInt(""+l[3],10)}}var c=Ws.exec(t.substring(0,50));if(c){var u="rgb("+Fs(parseInt(""+c[1],10),parseInt(""+c[2],10)/100,parseInt(""+c[3],10)/100)+")",d=zs.exec(u);if(!d)throw new Ns(4,t,u);return{red:parseInt(""+d[1],10),green:parseInt(""+d[2],10),blue:parseInt(""+d[3],10),alpha:parseFloat(""+c[4])>1?parseFloat(""+c[4])/100:parseFloat(""+c[4])}}throw new Ns(5)}function Gs(e){return function(e){var t=e.red/255,r=e.green/255,n=e.blue/255,a=Math.max(t,r,n),o=Math.min(t,r,n),i=(a+o)/2;if(a===o)return void 0!==e.alpha?{hue:0,saturation:0,lightness:i,alpha:e.alpha}:{hue:0,saturation:0,lightness:i};var s,l=a-o,c=i>.5?l/(2-a-o):l/(a+o);switch(a){case t:s=(r-n)/l+(r<n?6:0);break;case r:s=(n-t)/l+2;break;default:s=(t-r)/l+4}return s*=60,void 0!==e.alpha?{hue:s,saturation:c,lightness:i,alpha:e.alpha}:{hue:s,saturation:c,lightness:i}}(Us(e))}var Ys=function(e){return 7===e.length&&e[1]===e[2]&&e[3]===e[4]&&e[5]===e[6]?"#"+e[1]+e[3]+e[5]:e};function Ks(e){var t=e.toString(16);return 1===t.length?"0"+t:t}function qs(e){return Ks(Math.round(255*e))}function Xs(e,t,r){return Ys("#"+qs(e)+qs(t)+qs(r))}function Vs(e,t,r){return Fs(e,t,r,Xs)}function Js(e,t,r){if("number"==typeof e&&"number"==typeof t&&"number"==typeof r)return Ys("#"+Ks(e)+Ks(t)+Ks(r));if("object"==typeof e&&void 0===t&&void 0===r)return Ys("#"+Ks(e.red)+Ks(e.green)+Ks(e.blue));throw new Ns(6)}function Zs(e,t,r,n){if("string"==typeof e&&"number"==typeof t){var a=Us(e);return"rgba("+a.red+","+a.green+","+a.blue+","+t+")"}if("number"==typeof e&&"number"==typeof t&&"number"==typeof r&&"number"==typeof n)return n>=1?Js(e,t,r):"rgba("+e+","+t+","+r+","+n+")";if("object"==typeof e&&void 0===t&&void 0===r&&void 0===n)return e.alpha>=1?Js(e.red,e.green,e.blue):"rgba("+e.red+","+e.green+","+e.blue+","+e.alpha+")";throw new Ns(7)}var Qs=function(e){return"number"==typeof e.red&&"number"==typeof e.green&&"number"==typeof e.blue&&("number"!=typeof e.alpha||typeof e.alpha>"u")},el=function(e){return"number"==typeof e.red&&"number"==typeof e.green&&"number"==typeof e.blue&&"number"==typeof e.alpha},tl=function(e){return"number"==typeof e.hue&&"number"==typeof e.saturation&&"number"==typeof e.lightness&&("number"!=typeof e.alpha||typeof e.alpha>"u")},rl=function(e){return"number"==typeof e.hue&&"number"==typeof e.saturation&&"number"==typeof e.lightness&&"number"==typeof e.alpha};function nl(e){if("object"!=typeof e)throw new Ns(8);if(el(e))return Zs(e);if(Qs(e))return Js(e);if(rl(e))return function(e,t,r,n){if("number"==typeof e&&"number"==typeof t&&"number"==typeof r&&"number"==typeof n)return n>=1?Vs(e,t,r):"rgba("+Fs(e,t,r)+","+n+")";if("object"==typeof e&&void 0===t&&void 0===r&&void 0===n)return e.alpha>=1?Vs(e.hue,e.saturation,e.lightness):"rgba("+Fs(e.hue,e.saturation,e.lightness)+","+e.alpha+")";throw new Ns(2)}(e);if(tl(e))return function(e,t,r){if("number"==typeof e&&"number"==typeof t&&"number"==typeof r)return Vs(e,t,r);if("object"==typeof e&&void 0===t&&void 0===r)return Vs(e.hue,e.saturation,e.lightness);throw new Ns(1)}(e);throw new Ns(8)}function al(e,t,r){return function(){var n=r.concat(Array.prototype.slice.call(arguments));return n.length>=t?e.apply(this,n):al(e,t,n)}}function ol(e){return al(e,e.length,[])}function il(e,t,r){return Math.max(e,Math.min(t,r))}ol((function(e,t){if("transparent"===t)return t;var r=Gs(t);return nl(As({},r,{hue:r.hue+parseFloat(e)}))})),ol((function(e,t){if("transparent"===t)return t;var r=Gs(t);return nl(As({},r,{lightness:il(0,1,r.lightness-parseFloat(e))}))})),ol((function(e,t){if("transparent"===t)return t;var r=Gs(t);return nl(As({},r,{saturation:il(0,1,r.saturation-parseFloat(e))}))}));ol((function(e,t){if("transparent"===t)return t;var r=Gs(t);return nl(As({},r,{lightness:il(0,1,r.lightness+parseFloat(e))}))}));var sl=ol((function(e,t,r){if("transparent"===t)return r;if("transparent"===r)return t;if(0===e)return r;var n=Us(t),a=As({},n,{alpha:"number"==typeof n.alpha?n.alpha:1}),o=Us(r),i=As({},o,{alpha:"number"==typeof o.alpha?o.alpha:1}),s=a.alpha-i.alpha,l=2*parseFloat(e)-1,c=((l*s==-1?l:l+s)/(1+l*s)+1)/2,u=1-c;return Zs({red:Math.floor(a.red*c+i.red*u),green:Math.floor(a.green*c+i.green*u),blue:Math.floor(a.blue*c+i.blue*u),alpha:a.alpha*parseFloat(e)+i.alpha*(1-parseFloat(e))})})),ll=sl;ol((function(e,t){if("transparent"===t)return t;var r=Us(t);return Zs(As({},r,{alpha:il(0,1,(100*("number"==typeof r.alpha?r.alpha:1)+100*parseFloat(e))/100)}))})),ol((function(e,t){if("transparent"===t)return t;var r=Gs(t);return nl(As({},r,{saturation:il(0,1,r.saturation+parseFloat(e))}))})),ol((function(e,t){return"transparent"===t?t:nl(As({},Gs(t),{hue:parseFloat(e)}))})),ol((function(e,t){return"transparent"===t?t:nl(As({},Gs(t),{lightness:parseFloat(e)}))})),ol((function(e,t){return"transparent"===t?t:nl(As({},Gs(t),{saturation:parseFloat(e)}))}));var cl=ol((function(e,t){return"transparent"===t?t:ll(parseFloat(e),"rgb(0, 0, 0)",t)}));var ul=ol((function(e,t){return"transparent"===t?t:ll(parseFloat(e),"rgb(255, 255, 255)",t)}));ol((function(e,t){if("transparent"===t)return t;var r=Us(t);return Zs(As({},r,{alpha:il(0,1,+(100*("number"==typeof r.alpha?r.alpha:1)-100*parseFloat(e)).toFixed(2)/100)}))}));const dl=e=>({0:ul(1,e),25:ul(.95,e),50:ul(.9,e),100:ul(.8,e),150:ul(.7,e),200:ul(.6,e),300:ul(.4,e),350:ul(.3,e),400:ul(.2,e),450:ul(.1,e),475:ul(.05,e),500:e,525:cl(.05,e),550:cl(.1,e),600:cl(.2,e),700:cl(.4,e),800:cl(.6,e),850:cl(.7,e),900:cl(.8,e),950:cl(.9,e),1e3:cl(1,e)}),fl="#41D33E",pl="#F8D313",ml=(dl("#F73730"),dl(fl),dl(pl),(e,t)=>{const r={};for(const n of Object.keys(e)){const a=e[n];r[n]="object"==typeof a?ml(a,t?`${t}.${n}`:n):{themeKey:t?`${t}.${n}`:n}}return r});ml(_s);var hl=function(){return hl=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++)for(var a in t=arguments[r])Object.prototype.hasOwnProperty.call(t,a)&&(e[a]=t[a]);return e},hl.apply(this,arguments)},gl=function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var a=0;for(n=Object.getOwnPropertySymbols(e);a<n.length;a++)t.indexOf(n[a])<0&&Object.prototype.propertyIsEnumerable.call(e,n[a])&&(r[n[a]]=e[n[a]])}return r},bl=function(e,t){var r="function"==typeof Symbol&&e[Symbol.iterator];if(!r)return e;var n,a,o=r.call(e),i=[];try{for(;(void 0===t||t-- >0)&&!(n=o.next()).done;)i.push(n.value)}catch(s){a={error:s}}finally{try{n&&!n.done&&(r=o.return)&&r.call(o)}finally{if(a)throw a.error}}return i},yl=function(e){var r,n,a,o,i,s,l=e.children,c=e.parentSelector,u=e.defaultTheme,d=void 0===u?{}:u,f=e.component,p=e.withoutBoxWrapper,m=gl(e,["children","parentSelector","defaultTheme","component","withoutBoxWrapper"]),h=JSON.stringify(m.elements),g=JSON.stringify(m.collection),b=bl((0,t.useMemo)((function(){var e=new Set,t={elements:Wo(m.elements,e),collection:m.collection,id:m.id,hrid:m.hrid,blockSelector:c,options:m.options,settings:m.settings,category:m.category},r=function(e,t){void 0===t&&(t="");var r="";return e.forEach((function(e){var n=Zt(e);r+=t?"".concat(t," ").concat(n," "):"".concat(n," ")})),r}(e,c);return[t,r]}),[h,g,m.id,m.hrid,m.options,c]),2),y=b[0],x=b[1],v=(r=vs("screen and (max-width: ".concat(ws.mobile-1,"px)")),n=vs("screen and (min-width: ".concat(ws.mobile,"px) and (max-width: ").concat(ws.tablet,"px)")),a=vs("(orientation: portrait)")?"portrait":"landscape",{isMobile:r,isTablet:n,orientation:a,isDesktop:!r&&!n,isMobileLandscape:r&&"landscape"===a,isMobilePortrait:r&&"portrait"===a,isTabletLandscape:n&&"landscape"===a,isTabletPortrait:n&&"portrait"===a}).isDesktop,w=m.hrid,k=m.version,S=m.id,E=m.name,_=m.updated,A=m.created_at,M=_&&_.length?_.pop():"",T=y.elements,O=T.container,C=void 0===O?{}:O,N=T.backgroundImage,R=void 0===N?{}:N,I=T.sideImage;return(0,t.useEffect)((function(){w&&(e=>{ks()&&window.parent!==window&&window.parent.dispatchEvent(e),window.dispatchEvent(e)})(new CustomEvent(`block-loaded-${w}`))}),[w]),o=x,i=c,s=(0,t.useMemo)((function(){var e=document.createElement("style");return i&&e.setAttribute("data-for",i),document.head.append(e),e}),[i]),(0,t.useEffect)((function(){return function(){return s&&s.remove()}}),[s]),s.innerHTML=o,(0,t.useEffect)((function(){s.innerHTML=o}),[o,s]),Ie($o.Provider,{value:y,children:Fe(ms,{defaultTheme:d,children:[!p&&Ie(ys,{component:f||"section","data-block-version":k,"data-block-id":S,"data-block-updated":M,"data-block-created-at":A,style:hl(hl({},!I&&(null==R?void 0:R.src)?{backgroundImage:"url(".concat(R.src,")")}:{}),I&&v&&(window.location.href.startsWith("http://localhost:4200")||window.location.href.startsWith("https://studio-staging")||window.location.href.startsWith("https://studio.softr.io/"))?{height:"950px"}:{}),className:"".concat(E,"-").concat(S," ").concat(null==C?void 0:C.className," ").concat(I?"":(null==R?void 0:R.className)||""),children:l}),p?l:null]})})},xl=function(){return xl=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++)for(var a in t=arguments[r])Object.prototype.hasOwnProperty.call(t,a)&&(e[a]=t[a]);return e},xl.apply(this,arguments)};const vl=function(e){return Ie(yl,xl({},e,{children:Ie(Lo,xl({},e))}))}})(),renderBlock=n.default})();;
if (typeof renderBlock !== "function") {
throw new Error("No renderBlock function found", {"name":"footer3","version":"3.2.0"});
}
// webpack builds expose a single global named renderBlock
window["SoftrBlock_footer3_3.2.0"] = renderBlock;
}
</script><script data-for-block-name="hero1" data-for-block-version="3.0.2">
{
// React 18 blocks expect react and react-dom to be available
// as variables with this name
var react18 = window.react18;
var react_dom18 = window.react_dom18;
var renderBlock;(()=>{var e={94184:(e,t)=>{var r;!function(){"use strict";var n={}.hasOwnProperty;function o(){for(var e=[],t=0;t<arguments.length;t++){var r=arguments[t];if(r){var a=typeof r;if("string"===a||"number"===a)e.push(r);else if(Array.isArray(r)){if(r.length){var i=o.apply(null,r);i&&e.push(i)}}else if("object"===a)if(r.toString===Object.prototype.toString)for(var s in r)n.call(r,s)&&r[s]&&e.push(s);else e.push(r.toString())}}return e.join(" ")}e.exports?(o.default=o,e.exports=o):void 0===(r=function(){return o}.apply(t,[]))||(e.exports=r)}()},8679:(e,t,r)=>{"use strict";var n=r(21296),o={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},a={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},i={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},s={};function l(e){return n.isMemo(e)?i:s[e.$$typeof]||o}s[n.ForwardRef]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},s[n.Memo]=i;var c=Object.defineProperty,u=Object.getOwnPropertyNames,d=Object.getOwnPropertySymbols,p=Object.getOwnPropertyDescriptor,f=Object.getPrototypeOf,m=Object.prototype;e.exports=function e(t,r,n){if("string"!=typeof r){if(m){var o=f(r);o&&o!==m&&e(t,o,n)}var i=u(r);d&&(i=i.concat(d(r)));for(var s=l(t),h=l(r),g=0;g<i.length;++g){var y=i[g];if(!(a[y]||n&&n[y]||h&&h[y]||s&&s[y])){var b=p(r,y);try{c(t,y,b)}catch(v){}}}}return t}},96103:(e,t)=>{"use strict";var r="function"==typeof Symbol&&Symbol.for,n=r?Symbol.for("react.element"):60103,o=r?Symbol.for("react.portal"):60106,a=r?Symbol.for("react.fragment"):60107,i=r?Symbol.for("react.strict_mode"):60108,s=r?Symbol.for("react.profiler"):60114,l=r?Symbol.for("react.provider"):60109,c=r?Symbol.for("react.context"):60110,u=r?Symbol.for("react.async_mode"):60111,d=r?Symbol.for("react.concurrent_mode"):60111,p=r?Symbol.for("react.forward_ref"):60112,f=r?Symbol.for("react.suspense"):60113,m=r?Symbol.for("react.suspense_list"):60120,h=r?Symbol.for("react.memo"):60115,g=r?Symbol.for("react.lazy"):60116,y=r?Symbol.for("react.block"):60121,b=r?Symbol.for("react.fundamental"):60117,v=r?Symbol.for("react.responder"):60118,x=r?Symbol.for("react.scope"):60119;function w(e){if("object"==typeof e&&null!==e){var t=e.$$typeof;switch(t){case n:switch(e=e.type){case u:case d:case a:case s:case i:case f:return e;default:switch(e=e&&e.$$typeof){case c:case p:case g:case h:case l:return e;default:return t}}case o:return t}}}function k(e){return w(e)===d}t.AsyncMode=u,t.ConcurrentMode=d,t.ContextConsumer=c,t.ContextProvider=l,t.Element=n,t.ForwardRef=p,t.Fragment=a,t.Lazy=g,t.Memo=h,t.Portal=o,t.Profiler=s,t.StrictMode=i,t.Suspense=f,t.isAsyncMode=function(e){return k(e)||w(e)===u},t.isConcurrentMode=k,t.isContextConsumer=function(e){return w(e)===c},t.isContextProvider=function(e){return w(e)===l},t.isElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===n},t.isForwardRef=function(e){return w(e)===p},t.isFragment=function(e){return w(e)===a},t.isLazy=function(e){return w(e)===g},t.isMemo=function(e){return w(e)===h},t.isPortal=function(e){return w(e)===o},t.isProfiler=function(e){return w(e)===s},t.isStrictMode=function(e){return w(e)===i},t.isSuspense=function(e){return w(e)===f},t.isValidElementType=function(e){return"string"==typeof e||"function"==typeof e||e===a||e===d||e===s||e===i||e===f||e===m||"object"==typeof e&&null!==e&&(e.$$typeof===g||e.$$typeof===h||e.$$typeof===l||e.$$typeof===c||e.$$typeof===p||e.$$typeof===b||e.$$typeof===v||e.$$typeof===x||e.$$typeof===y)},t.typeOf=w},21296:(e,t,r)=>{"use strict";e.exports=r(96103)},75251:(e,t,r)=>{"use strict";var n=r(74570),o=Symbol.for("react.element"),a=Symbol.for("react.fragment"),i=Object.prototype.hasOwnProperty,s=n.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,l={key:!0,ref:!0,__self:!0,__source:!0};function c(e,t,r){var n,a={},c=null,u=null;for(n in void 0!==r&&(c=""+r),void 0!==t.key&&(c=""+t.key),void 0!==t.ref&&(u=t.ref),t)i.call(t,n)&&!l.hasOwnProperty(n)&&(a[n]=t[n]);if(e&&e.defaultProps)for(n in t=e.defaultProps)void 0===a[n]&&(a[n]=t[n]);return{$$typeof:o,type:e,key:c,ref:u,props:a,_owner:s.current}}t.Fragment=a,t.jsx=c,t.jsxs=c},85893:(e,t,r)=>{"use strict";e.exports=r(75251)},74570:e=>{"use strict";e.exports=react18}},t={};function r(n){var o=t[n];if(void 0!==o)return o.exports;var a=t[n]={exports:{}};return e[n](a,a.exports,r),a.exports}r.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return r.d(t,{a:t}),t},r.d=(e,t)=>{for(var n in t)r.o(t,n)&&!r.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},r.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t);var n={};(()=>{"use strict";r.d(n,{default:()=>Nc});var e=r(85893),t=r(74570),o=r.n(t);var a=function(){function e(e){var t=this;this._insertTag=function(e){var r;r=0===t.tags.length?t.insertionPoint?t.insertionPoint.nextSibling:t.prepend?t.container.firstChild:t.before:t.tags[t.tags.length-1].nextSibling,t.container.insertBefore(e,r),t.tags.push(e)},this.isSpeedy=void 0===e.speedy||e.speedy,this.tags=[],this.ctr=0,this.nonce=e.nonce,this.key=e.key,this.container=e.container,this.prepend=e.prepend,this.insertionPoint=e.insertionPoint,this.before=null}var t=e.prototype;return t.hydrate=function(e){e.forEach(this._insertTag)},t.insert=function(e){this.ctr%(this.isSpeedy?65e3:1)==0&&this._insertTag(function(e){var t=document.createElement("style");return t.setAttribute("data-emotion",e.key),void 0!==e.nonce&&t.setAttribute("nonce",e.nonce),t.appendChild(document.createTextNode("")),t.setAttribute("data-s",""),t}(this));var t=this.tags[this.tags.length-1];if(this.isSpeedy){var r=function(e){if(e.sheet)return e.sheet;for(var t=0;t<document.styleSheets.length;t++)if(document.styleSheets[t].ownerNode===e)return document.styleSheets[t]}(t);try{r.insertRule(e,r.cssRules.length)}catch(n){0}}else t.appendChild(document.createTextNode(e));this.ctr++},t.flush=function(){this.tags.forEach((function(e){return e.parentNode&&e.parentNode.removeChild(e)})),this.tags=[],this.ctr=0},e}(),i=Math.abs,s=String.fromCharCode,l=Object.assign;function c(e){return e.trim()}function u(e,t,r){return e.replace(t,r)}function d(e,t){return e.indexOf(t)}function p(e,t){return 0|e.charCodeAt(t)}function f(e,t,r){return e.slice(t,r)}function m(e){return e.length}function h(e){return e.length}function g(e,t){return t.push(e),e}var y=1,b=1,v=0,x=0,w=0,k="";function S(e,t,r,n,o,a,i){return{value:e,root:t,parent:r,type:n,props:o,children:a,line:y,column:b,length:i,return:""}}function E(e,t){return l(S("",null,null,"",null,null,0),e,{length:-e.length},t)}function T(){return w=x>0?p(k,--x):0,b--,10===w&&(b=1,y--),w}function O(){return w=x<v?p(k,x++):0,b++,10===w&&(b=1,y++),w}function C(){return p(k,x)}function M(){return x}function A(e,t){return f(k,e,t)}function R(e){switch(e){case 0:case 9:case 10:case 13:case 32:return 5;case 33:case 43:case 44:case 47:case 62:case 64:case 126:case 59:case 123:case 125:return 4;case 58:return 3;case 34:case 39:case 40:case 91:return 2;case 41:case 93:return 1}return 0}function N(e){return y=b=1,v=m(k=e),x=0,[]}function _(e){return k="",e}function I(e){return c(A(x-1,F(91===e?e+2:40===e?e+1:e)))}function P(e){for(;(w=C())&&w<33;)O();return R(e)>2||R(w)>3?"":" "}function $(e,t){for(;--t&&O()&&!(w<48||w>102||w>57&&w<65||w>70&&w<97););return A(e,M()+(t<6&&32==C()&&32==O()))}function F(e){for(;O();)switch(w){case e:return x;case 34:case 39:34!==e&&39!==e&&F(w);break;case 40:41===e&&F(e);break;case 92:O()}return x}function L(e,t){for(;O()&&e+w!==57&&(e+w!==84||47!==C()););return"/*"+A(t,x-1)+"*"+s(47===e?e:O())}function z(e){for(;!R(C());)O();return A(e,x)}var j="-ms-",D="-moz-",B="-webkit-",W="comm",H="rule",U="decl",G="@keyframes";function V(e,t){for(var r="",n=h(e),o=0;o<n;o++)r+=t(e[o],o,e,t)||"";return r}function Y(e,t,r,n){switch(e.type){case"@layer":if(e.children.length)break;case"@import":case U:return e.return=e.return||e.value;case W:return"";case G:return e.return=e.value+"{"+V(e.children,n)+"}";case H:e.value=e.props.join(",")}return m(r=V(e.children,n))?e.return=e.value+"{"+r+"}":""}function K(e){return _(X("",null,null,null,[""],e=N(e),0,[0],e))}function X(e,t,r,n,o,a,i,l,c){for(var f=0,h=0,y=i,b=0,v=0,x=0,w=1,k=1,S=1,E=0,A="",R=o,N=a,_=n,F=A;k;)switch(x=E,E=O()){case 40:if(108!=x&&58==p(F,y-1)){-1!=d(F+=u(I(E),"&","&\f"),"&\f")&&(S=-1);break}case 34:case 39:case 91:F+=I(E);break;case 9:case 10:case 13:case 32:F+=P(x);break;case 92:F+=$(M()-1,7);continue;case 47:switch(C()){case 42:case 47:g(J(L(O(),M()),t,r),c);break;default:F+="/"}break;case 123*w:l[f++]=m(F)*S;case 125*w:case 59:case 0:switch(E){case 0:case 125:k=0;case 59+h:-1==S&&(F=u(F,/\f/g,"")),v>0&&m(F)-y&&g(v>32?Z(F+";",n,r,y-1):Z(u(F," ","")+";",n,r,y-2),c);break;case 59:F+=";";default:if(g(_=q(F,t,r,f,h,o,l,A,R=[],N=[],y),a),123===E)if(0===h)X(F,t,_,_,R,a,y,l,N);else switch(99===b&&110===p(F,3)?100:b){case 100:case 108:case 109:case 115:X(e,_,_,n&&g(q(e,_,_,0,0,o,l,A,o,R=[],y),N),o,N,y,l,n?R:N);break;default:X(F,_,_,_,[""],N,0,l,N)}}f=h=v=0,w=S=1,A=F="",y=i;break;case 58:y=1+m(F),v=x;default:if(w<1)if(123==E)--w;else if(125==E&&0==w++&&125==T())continue;switch(F+=s(E),E*w){case 38:S=h>0?1:(F+="\f",-1);break;case 44:l[f++]=(m(F)-1)*S,S=1;break;case 64:45===C()&&(F+=I(O())),b=C(),h=y=m(A=F+=z(M())),E++;break;case 45:45===x&&2==m(F)&&(w=0)}}return a}function q(e,t,r,n,o,a,s,l,d,p,m){for(var g=o-1,y=0===o?a:[""],b=h(y),v=0,x=0,w=0;v<n;++v)for(var k=0,E=f(e,g+1,g=i(x=s[v])),T=e;k<b;++k)(T=c(x>0?y[k]+" "+E:u(E,/&\f/g,y[k])))&&(d[w++]=T);return S(e,t,r,0===o?H:l,d,p,m)}function J(e,t,r){return S(e,t,r,W,s(w),f(e,2,-2),0)}function Z(e,t,r,n){return S(e,t,r,U,f(e,0,n),f(e,n+1,-1),n)}var Q=function(e,t,r){for(var n=0,o=0;n=o,o=C(),38===n&&12===o&&(t[r]=1),!R(o);)O();return A(e,x)},ee=function(e,t){return _(function(e,t){var r=-1,n=44;do{switch(R(n)){case 0:38===n&&12===C()&&(t[r]=1),e[r]+=Q(x-1,t,r);break;case 2:e[r]+=I(n);break;case 4:if(44===n){e[++r]=58===C()?"&\f":"",t[r]=e[r].length;break}default:e[r]+=s(n)}}while(n=O());return e}(N(e),t))},te=new WeakMap,re=function(e){if("rule"===e.type&&e.parent&&!(e.length<1)){for(var t=e.value,r=e.parent,n=e.column===r.column&&e.line===r.line;"rule"!==r.type;)if(!(r=r.parent))return;if((1!==e.props.length||58===t.charCodeAt(0)||te.get(r))&&!n){te.set(e,!0);for(var o=[],a=ee(t,o),i=r.props,s=0,l=0;s<a.length;s++)for(var c=0;c<i.length;c++,l++)e.props[l]=o[s]?a[s].replace(/&\f/g,i[c]):i[c]+" "+a[s]}}},ne=function(e){if("decl"===e.type){var t=e.value;108===t.charCodeAt(0)&&98===t.charCodeAt(2)&&(e.return="",e.value="")}};function oe(e,t){switch(function(e,t){return 45^p(e,0)?(((t<<2^p(e,0))<<2^p(e,1))<<2^p(e,2))<<2^p(e,3):0}(e,t)){case 5103:return B+"print-"+e+e;case 5737:case 4201:case 3177:case 3433:case 1641:case 4457:case 2921:case 5572:case 6356:case 5844:case 3191:case 6645:case 3005:case 6391:case 5879:case 5623:case 6135:case 4599:case 4855:case 4215:case 6389:case 5109:case 5365:case 5621:case 3829:return B+e+e;case 5349:case 4246:case 4810:case 6968:case 2756:return B+e+D+e+j+e+e;case 6828:case 4268:return B+e+j+e+e;case 6165:return B+e+j+"flex-"+e+e;case 5187:return B+e+u(e,/(\w+).+(:[^]+)/,B+"box-$1$2"+j+"flex-$1$2")+e;case 5443:return B+e+j+"flex-item-"+u(e,/flex-|-self/,"")+e;case 4675:return B+e+j+"flex-line-pack"+u(e,/align-content|flex-|-self/,"")+e;case 5548:return B+e+j+u(e,"shrink","negative")+e;case 5292:return B+e+j+u(e,"basis","preferred-size")+e;case 6060:return B+"box-"+u(e,"-grow","")+B+e+j+u(e,"grow","positive")+e;case 4554:return B+u(e,/([^-])(transform)/g,"$1"+B+"$2")+e;case 6187:return u(u(u(e,/(zoom-|grab)/,B+"$1"),/(image-set)/,B+"$1"),e,"")+e;case 5495:case 3959:return u(e,/(image-set\([^]*)/,B+"$1$`$1");case 4968:return u(u(e,/(.+:)(flex-)?(.*)/,B+"box-pack:$3"+j+"flex-pack:$3"),/s.+-b[^;]+/,"justify")+B+e+e;case 4095:case 3583:case 4068:case 2532:return u(e,/(.+)-inline(.+)/,B+"$1$2")+e;case 8116:case 7059:case 5753:case 5535:case 5445:case 5701:case 4933:case 4677:case 5533:case 5789:case 5021:case 4765:if(m(e)-1-t>6)switch(p(e,t+1)){case 109:if(45!==p(e,t+4))break;case 102:return u(e,/(.+:)(.+)-([^]+)/,"$1"+B+"$2-$3$1"+D+(108==p(e,t+3)?"$3":"$2-$3"))+e;case 115:return~d(e,"stretch")?oe(u(e,"stretch","fill-available"),t)+e:e}break;case 4949:if(115!==p(e,t+1))break;case 6444:switch(p(e,m(e)-3-(~d(e,"!important")&&10))){case 107:return u(e,":",":"+B)+e;case 101:return u(e,/(.+:)([^;!]+)(;|!.+)?/,"$1"+B+(45===p(e,14)?"inline-":"")+"box$3$1"+B+"$2$3$1"+j+"$2box$3")+e}break;case 5936:switch(p(e,t+11)){case 114:return B+e+j+u(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return B+e+j+u(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return B+e+j+u(e,/[svh]\w+-[tblr]{2}/,"lr")+e}return B+e+j+e+e}return e}var ae=[function(e,t,r,n){if(e.length>-1&&!e.return)switch(e.type){case U:e.return=oe(e.value,e.length);break;case G:return V([E(e,{value:u(e.value,"@","@"+B)})],n);case H:if(e.length)return function(e,t){return e.map(t).join("")}(e.props,(function(t){switch(function(e,t){return(e=t.exec(e))?e[0]:e}(t,/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":return V([E(e,{props:[u(t,/:(read-\w+)/,":-moz-$1")]})],n);case"::placeholder":return V([E(e,{props:[u(t,/:(plac\w+)/,":"+B+"input-$1")]}),E(e,{props:[u(t,/:(plac\w+)/,":-moz-$1")]}),E(e,{props:[u(t,/:(plac\w+)/,j+"input-$1")]})],n)}return""}))}}],ie=function(e){var t=e.key;if("css"===t){var r=document.querySelectorAll("style[data-emotion]:not([data-s])");Array.prototype.forEach.call(r,(function(e){-1!==e.getAttribute("data-emotion").indexOf(" ")&&(document.head.appendChild(e),e.setAttribute("data-s",""))}))}var n=e.stylisPlugins||ae;var o,i,s={},l=[];o=e.container||document.head,Array.prototype.forEach.call(document.querySelectorAll('style[data-emotion^="'+t+' "]'),(function(e){for(var t=e.getAttribute("data-emotion").split(" "),r=1;r<t.length;r++)s[t[r]]=!0;l.push(e)}));var c,u,d,p,f=[Y,(p=function(e){c.insert(e)},function(e){e.root||(e=e.return)&&p(e)})],m=(u=[re,ne].concat(n,f),d=h(u),function(e,t,r,n){for(var o="",a=0;a<d;a++)o+=u[a](e,t,r,n)||"";return o});i=function(e,t,r,n){c=r,V(K(e?e+"{"+t.styles+"}":t.styles),m),n&&(g.inserted[t.name]=!0)};var g={key:t,sheet:new a({key:t,container:o,nonce:e.nonce,speedy:e.speedy,prepend:e.prepend,insertionPoint:e.insertionPoint}),nonce:e.nonce,inserted:s,registered:{},insert:i};return g.sheet.hydrate(l),g};function se(e,t,r){var n="";return r.split(" ").forEach((function(r){void 0!==e[r]?t.push(e[r]+";"):n+=r+" "})),n}var le=function(e,t,r){var n=e.key+"-"+t.name;!1===r&&void 0===e.registered[n]&&(e.registered[n]=t.styles)},ce=function(e,t,r){le(e,t,r);var n=e.key+"-"+t.name;if(void 0===e.inserted[t.name]){var o=t;do{e.insert(t===o?"."+n:"",o,e.sheet,!0),o=o.next}while(void 0!==o)}};var ue={animationIterationCount:1,aspectRatio:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,boxFlex:1,boxFlexGroup:1,boxOrdinalGroup:1,columnCount:1,columns:1,flex:1,flexGrow:1,flexPositive:1,flexShrink:1,flexNegative:1,flexOrder:1,gridRow:1,gridRowEnd:1,gridRowSpan:1,gridRowStart:1,gridColumn:1,gridColumnEnd:1,gridColumnSpan:1,gridColumnStart:1,msGridRow:1,msGridRowSpan:1,msGridColumn:1,msGridColumnSpan:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans:1,tabSize:1,widows:1,zIndex:1,zoom:1,WebkitLineClamp:1,fillOpacity:1,floodOpacity:1,stopOpacity:1,strokeDasharray:1,strokeDashoffset:1,strokeMiterlimit:1,strokeOpacity:1,strokeWidth:1};function de(e){var t=Object.create(null);return function(r){return void 0===t[r]&&(t[r]=e(r)),t[r]}}var pe=/[A-Z]|^ms/g,fe=/_EMO_([^_]+?)_([^]*?)_EMO_/g,me=function(e){return 45===e.charCodeAt(1)},he=function(e){return null!=e&&"boolean"!=typeof e},ge=de((function(e){return me(e)?e:e.replace(pe,"-$&").toLowerCase()})),ye=function(e,t){switch(e){case"animation":case"animationName":if("string"==typeof t)return t.replace(fe,(function(e,t,r){return ve={name:t,styles:r,next:ve},t}))}return 1===ue[e]||me(e)||"number"!=typeof t||0===t?t:t+"px"};function be(e,t,r){if(null==r)return"";if(void 0!==r.__emotion_styles)return r;switch(typeof r){case"boolean":return"";case"object":if(1===r.anim)return ve={name:r.name,styles:r.styles,next:ve},r.name;if(void 0!==r.styles){var n=r.next;if(void 0!==n)for(;void 0!==n;)ve={name:n.name,styles:n.styles,next:ve},n=n.next;return r.styles+";"}return function(e,t,r){var n="";if(Array.isArray(r))for(var o=0;o<r.length;o++)n+=be(e,t,r[o])+";";else for(var a in r){var i=r[a];if("object"!=typeof i)null!=t&&void 0!==t[i]?n+=a+"{"+t[i]+"}":he(i)&&(n+=ge(a)+":"+ye(a,i)+";");else if(!Array.isArray(i)||"string"!=typeof i[0]||null!=t&&void 0!==t[i[0]]){var s=be(e,t,i);switch(a){case"animation":case"animationName":n+=ge(a)+":"+s+";";break;default:n+=a+"{"+s+"}"}}else for(var l=0;l<i.length;l++)he(i[l])&&(n+=ge(a)+":"+ye(a,i[l])+";")}return n}(e,t,r);case"function":if(void 0!==e){var o=ve,a=r(e);return ve=o,be(e,t,a)}}if(null==t)return r;var i=t[r];return void 0!==i?i:r}var ve,xe=/label:\s*([^\s;\n{]+)\s*(;|$)/g;var we=function(e,t,r){if(1===e.length&&"object"==typeof e[0]&&null!==e[0]&&void 0!==e[0].styles)return e[0];var n=!0,o="";ve=void 0;var a=e[0];null==a||void 0===a.raw?(n=!1,o+=be(r,t,a)):o+=a[0];for(var i=1;i<e.length;i++)o+=be(r,t,e[i]),n&&(o+=a[i]);xe.lastIndex=0;for(var s,l="";null!==(s=xe.exec(o));)l+="-"+s[1];var c=function(e){for(var t,r=0,n=0,o=e.length;o>=4;++n,o-=4)t=1540483477*(65535&(t=255&e.charCodeAt(n)|(255&e.charCodeAt(++n))<<8|(255&e.charCodeAt(++n))<<16|(255&e.charCodeAt(++n))<<24))+(59797*(t>>>16)<<16),r=1540483477*(65535&(t^=t>>>24))+(59797*(t>>>16)<<16)^1540483477*(65535&r)+(59797*(r>>>16)<<16);switch(o){case 3:r^=(255&e.charCodeAt(n+2))<<16;case 2:r^=(255&e.charCodeAt(n+1))<<8;case 1:r=1540483477*(65535&(r^=255&e.charCodeAt(n)))+(59797*(r>>>16)<<16)}return(((r=1540483477*(65535&(r^=r>>>13))+(59797*(r>>>16)<<16))^r>>>15)>>>0).toString(36)}(o)+l;return{name:c,styles:o,next:ve}},ke=!!t.useInsertionEffect&&t.useInsertionEffect,Se=ke||function(e){return e()},Ee=(ke||t.useLayoutEffect,{}.hasOwnProperty),Te=t.createContext("undefined"!=typeof HTMLElement?ie({key:"css"}):null);Te.Provider;var Oe=function(e){return(0,t.forwardRef)((function(r,n){var o=(0,t.useContext)(Te);return e(r,o,n)}))};var Ce=t.createContext({});var Me="__EMOTION_TYPE_PLEASE_DO_NOT_USE__",Ae=function(e,t){var r={};for(var n in t)Ee.call(t,n)&&(r[n]=t[n]);return r[Me]=e,r},Re=function(e){var t=e.cache,r=e.serialized,n=e.isStringTag;return le(t,r,n),Se((function(){return ce(t,r,n)})),null};var Ne=Oe((function(e,r,n){var o=e.css;"string"==typeof o&&void 0!==r.registered[o]&&(o=r.registered[o]);var a=e[Me],i=[o],s="";"string"==typeof e.className?s=se(r.registered,i,e.className):null!=e.className&&(s=e.className+" ");var l=we(i,void 0,t.useContext(Ce));s+=r.key+"-"+l.name;var c={};for(var u in e)Ee.call(e,u)&&"css"!==u&&u!==Me&&(c[u]=e[u]);return c.ref=n,c.className=s,t.createElement(t.Fragment,null,t.createElement(Re,{cache:r,serialized:l,isStringTag:"string"==typeof a}),t.createElement(a,c))})),_e=(r(8679),e.Fragment);function Ie(t,r,n){return Ee.call(r,"css")?e.jsx(Ne,Ae(t,r),n):e.jsx(t,r,n)}function Pe(t,r,n){return Ee.call(r,"css")?e.jsxs(Ne,Ae(t,r),n):e.jsxs(t,r,n)}const $e=o().createContext({id:"",elements:{},blockSelector:"",category:""});var Fe;!function(e){e.Enum="Enum",e.MappedEnum="MappedEnum",e.DynamicFont="DynamicFont",e.DynamicColor="DynamicColor"}(Fe||(Fe={}));var Le,ze={name:"font-weight",attribute:"font-weight",values:{hairline:100,thin:200,light:300,normal:400,medium:500,semibold:600,bold:700,extrabold:800,black:900},type:Fe.MappedEnum,unit:"",picker:"drop-down-with-default"},je={name:"font-size",attribute:"font-size",values:{"3xs":.5,"2xs":.625,xs:.75,s:.875,m:1,l:1.125,xl:1.25,"2xl":1.5,"3xl":1.875,"4xl":2.25,"5xl":3,"6xl":4,"7xl":5,"8xl":6,"9xl":7,"10xl":8},unit:"rem",type:Fe.MappedEnum,picker:"value-picker"},De={name:"font-family",attribute:"font-family",unit:"",type:Fe.DynamicFont,picker:"font-picker"},Be={name:"letter-spacing",attribute:"letter-spacing",values:{tighter:-.05,tight:-.025,normal:0,wide:.025,wider:.05,widest:.1},type:Fe.MappedEnum,unit:"rem",picker:"drop-down"},We={name:"line-height",attribute:"line-height",values:{compact:1,tight:1.25,normal:1.5,loose:2},type:Fe.MappedEnum,unit:"",picker:"drop-down"},He={name:"text-decoration",attribute:"text-decoration",values:{underline:"underline","line-through":"line-through","no-underline":"none"},type:Fe.MappedEnum,unit:""},Ue={name:"text-transform",attribute:"text-transform",values:{uppercase:"uppercase",lowercase:"lowercase",capitalize:"capitalize",default:"none"},type:Fe.MappedEnum,unit:""},Ge={name:"text-align",attribute:"text-align",values:{left:"left",center:"center",right:"right",justify:"justify"},type:Fe.MappedEnum,unit:"",picker:"drop-down"},Ve={name:"padding-top",attribute:"padding-top",values:{none:0,"7xs":.25,"6xs":.5,"5xs":.75,"4xs":1,"3xs":1.25,"2xs":1.5,xs:2,s:2.5,m:3,l:4,xl:5,"2xl":6,"3xl":8,"4xl":10,"5xl":12,"6xl":14,"7xl":16},type:Fe.MappedEnum,unit:"rem",picker:"value-picker"},Ye={name:"padding-bottom",attribute:"padding-bottom",values:{none:0,"7xs":.25,"6xs":.5,"5xs":.75,"4xs":1,"3xs":1.25,"2xs":1.5,xs:2,s:2.5,m:3,l:4,xl:5,"2xl":6,"3xl":8,"4xl":10,"5xl":12,"6xl":14,"7xl":16},type:Fe.MappedEnum,unit:"rem",picker:"value-picker"},Ke={name:"padding-left",attribute:"padding-left",values:{none:0,"7xs":.25,"6xs":.5,"5xs":.75,"4xs":1,"3xs":1.25,"2xs":1.5,xs:2,s:2.5,m:3,l:4,xl:5,"2xl":6,"3xl":8,"4xl":10,"5xl":12,"6xl":14,"7xl":16},type:Fe.MappedEnum,unit:"rem",picker:"value-picker"},Xe={name:"padding-right",attribute:"padding-right",values:{none:0,"7xs":.25,"6xs":.5,"5xs":.75,"4xs":1,"3xs":1.25,"2xs":1.5,xs:2,s:2.5,m:3,l:4,xl:5,"2xl":6,"3xl":8,"4xl":10,"5xl":12,"6xl":14,"7xl":16},type:Fe.MappedEnum,unit:"rem",picker:"value-picker"},qe={name:"margin-top",attribute:"margin-top",values:{none:0,"7xs":.25,"6xs":.5,"5xs":.75,"4xs":1,"3xs":1.25,"2xs":1.5,xs:2,s:2.5,m:3,l:4,xl:5,"2xl":6,"3xl":8,"4xl":10,"5xl":12,"6xl":14,"7xl":16},type:Fe.MappedEnum,unit:"rem",picker:"value-picker"},Je={name:"margin-bottom",attribute:"margin-bottom",values:{none:0,"7xs":.25,"6xs":.5,"5xs":.75,"4xs":1,"3xs":1.25,"2xs":1.5,xs:2,s:2.5,m:3,l:4,xl:5,"2xl":6,"3xl":8,"4xl":10,"5xl":12,"6xl":14,"7xl":16},type:Fe.MappedEnum,unit:"rem",picker:"value-picker"},Ze={name:"margin-left",attribute:"margin-left",values:{none:0,"7xs":.25,"6xs":.5,"5xs":.75,"4xs":1,"3xs":1.25,"2xs":1.5,xs:2,s:2.5,m:3,l:4,xl:5,"2xl":6,"3xl":8,"4xl":10,"5xl":12,"6xl":14,"7xl":16},type:Fe.MappedEnum,unit:"rem",picker:"value-picker"},Qe={name:"margin-right",attribute:"margin-right",values:{none:0,"7xs":.25,"6xs":.5,"5xs":.75,"4xs":1,"3xs":1.25,"2xs":1.5,xs:2,s:2.5,m:3,l:4,xl:5,"2xl":6,"3xl":8,"4xl":10,"5xl":12,"6xl":14,"7xl":16},type:Fe.MappedEnum,unit:"rem",picker:"value-picker"},et={name:"background-color",attribute:"background-color",type:Fe.DynamicColor,unit:"",picker:"color-picker"},tt={name:"text-color",attribute:"color",unit:"",type:Fe.DynamicColor,picker:"color-picker"},rt={name:"placeholder-color",attribute:"color",pseudo:"::placeholder",unit:"",type:Fe.DynamicColor,picker:"color-picker"},nt={name:"border-radius",attribute:"border-radius",values:{none:0,s:.125,m:.25,l:.5,xl:.75,"2xl":1,"3xl":1.5,"4xl":2,full:9999},type:Fe.MappedEnum,unit:"rem",picker:"value-picker"},ot={name:"border-style",attribute:"border-style",values:{solid:"solid",dashed:"dashed",dotted:"dotted",none:"none"},type:Fe.MappedEnum,unit:"",picker:"drop-down"},at={name:"border-top-style",attribute:"border-top-style",values:{solid:"solid",dashed:"dashed",dotted:"dotted",none:"none"},type:Fe.MappedEnum,unit:"",picker:"drop-down"},it={name:"border-bottom-style",attribute:"border-bottom-style",values:{solid:"solid",dashed:"dashed",dotted:"dotted",none:"none"},type:Fe.MappedEnum,unit:"",picker:"drop-down"},st={name:"border-left-style",attribute:"border-left-style",values:{solid:"solid",dashed:"dashed",dotted:"dotted",none:"none"},type:Fe.MappedEnum,unit:"",picker:"drop-down"},lt={name:"border-right-style",attribute:"border-right-style",values:{solid:"solid",dashed:"dashed",dotted:"dotted",none:"none"},type:Fe.MappedEnum,unit:"",picker:"drop-down"},ct={name:"outline",attribute:"outline",values:{none:"none"},type:Fe.MappedEnum,unit:""},ut={name:"border-width",attribute:"border-width",values:{none:0,xs:1,s:2,m:4,l:8,xl:16},type:Fe.MappedEnum,unit:"px",picker:"value-picker"},dt={name:"border-top-width",attribute:"border-top-width",values:{none:0,xs:1,s:2,m:4,l:8,xl:16},type:Fe.MappedEnum,unit:"px",picker:"value-picker"},pt={name:"border-bottom-width",attribute:"border-bottom-width",values:{none:0,xs:1,s:2,m:4,l:8,xl:16},type:Fe.MappedEnum,unit:"px",picker:"value-picker"},ft={name:"border-left-width",attribute:"border-left-width",values:{none:0,xs:1,s:2,m:4,l:8,xl:16},type:Fe.MappedEnum,unit:"px",picker:"value-picker"},mt={name:"border-right-width",attribute:"border-right-width",values:{none:0,xs:1,s:2,m:4,l:8,xl:16},type:Fe.MappedEnum,unit:"px",picker:"value-picker"},ht={name:"border-color",attribute:"border-color",type:Fe.DynamicColor,unit:"",picker:"color-picker"},gt={name:"border-top-color",attribute:"border-top-color",type:Fe.DynamicColor,unit:"",picker:"color-picker"},yt={name:"border-bottom-color",attribute:"border-bottom-color",type:Fe.DynamicColor,unit:"",picker:"color-picker"},bt={name:"border-left-color",attribute:"border-left-color",type:Fe.DynamicColor,unit:"",picker:"color-picker"},vt={name:"border-right-color",attribute:"border-right-color",type:Fe.DynamicColor,unit:"",picker:"color-picker"},xt={name:"background-size",attribute:"background-size",values:{auto:"auto",cover:"cover",contain:"contain"},type:Fe.MappedEnum,unit:"",picker:"drop-down"},wt={name:"background-attachment",attribute:"background-attachment",values:{scroll:"scroll",fixed:"fixed",local:"local"},type:Fe.MappedEnum,unit:"",picker:"drop-down"},kt={name:"background-position",attribute:"background-position",values:{center:"center",bottom:"bottom",left:"left","left-bottom":"left bottom","left-top":"left top",right:"right","right-bottom":"right bottom","right-top":"right top",top:"top"},type:Fe.MappedEnum,unit:"",picker:"drop-down"},St={name:"background-repeat",attribute:"background-repeat",values:{repeat:"repeat","no-repeat":"no-repeat","repeat-x":"repeat-x","repeat-y":"repeat-y"},type:Fe.MappedEnum,unit:"",picker:"drop-down"},Et={name:"max-width",attribute:"max-width",values:{"6xs":"2rem","5xs":"4rem","4xs":"8rem","3xs":"12rem","2xs":"16rem",xs:"20rem",s:"24rem",m:"28rem",l:"32rem",xl:"36rem","2xl":"42rem","3xl":"48rem","4xl":"56rem","5xl":"64rem","6xl":"72rem",full:"100%"},unit:"",type:Fe.MappedEnum,picker:"value-picker"},Tt={name:"min-width",attribute:"min-width",values:{"6xs":"2rem","5xs":"4rem","4xs":"8rem","3xs":"12rem","2xs":"16rem",xs:"20rem",s:"24rem",m:"28rem",l:"32rem",xl:"36rem","2xl":"42rem","3xl":"48rem","4xl":"56rem","5xl":"64rem","6xl":"72rem",full:"100%"},unit:"",type:Fe.MappedEnum,picker:"value-picker"},Ot={name:"width",attribute:"width",values:{"12xs":"1rem","11xs":"2rem","10xs":"3rem","9xs":"4rem","8xs":"5rem","7xs":"6rem","6xs":"7rem","5xs":"8rem","4xs":"10rem","3xs":"12rem","2xs":"16rem",xs:"20rem",s:"24rem",m:"28rem",l:"32rem",xl:"36rem","2xl":"42rem","3xl":"48rem","4xl":"56rem","5xl":"64rem","6xl":"72rem",full:"100%"},unit:"",type:Fe.MappedEnum,picker:"value-picker"},Ct={name:"percentage-width",attribute:"width",values:{"10xs":"5%","9xs":"10%","8xs":"15%","7xs":"20%","6xs":"25%","5xs":"30%","4xs":"35%","3xs":"40%","2xs":"45%",xs:"50%",s:"55%",m:"60%",l:"65%",xl:"70%","2xl":"75%","3xl":"80%","4xl":"85%","5xl":"90%","6xl":"95%",full:"100%"},unit:"",type:Fe.MappedEnum,picker:"value-picker"},Mt={name:"max-height",attribute:"max-height",values:{"6xs":"2rem","5xs":"4rem","4xs":"8rem","3xs":"12rem","2xs":"16rem",xs:"20rem",s:"24rem",m:"28rem",l:"32rem",xl:"36rem","2xl":"42rem","3xl":"48rem","4xl":"56rem","5xl":"64rem","6xl":"72rem",full:"100%"},unit:"",type:Fe.MappedEnum,picker:"value-picker"},At={name:"min-height",attribute:"min-height",values:{"6xs":"2rem","5xs":"4rem","4xs":"8rem","3xs":"12rem","2xs":"16rem",xs:"20rem",s:"24rem",m:"28rem",l:"32rem",xl:"36rem","2xl":"42rem","3xl":"48rem","4xl":"56rem","5xl":"64rem","6xl":"72rem",full:"100%"},unit:"",type:Fe.MappedEnum,picker:"value-picker"},Rt={name:"height",attribute:"height",values:{"12xs":"1rem","11xs":"2rem","10xs":"3rem","9xs":"4rem","8xs":"5rem","7xs":"6rem","6xs":"7rem","5xs":"8rem","4xs":"10rem","3xs":"12rem","2xs":"16rem",xs:"20rem",s:"24rem",m:"28rem",l:"32rem",xl:"36rem","2xl":"42rem","3xl":"48rem","4xl":"56rem","5xl":"64rem","6xl":"72rem",full:"100%"},unit:"",type:Fe.MappedEnum,picker:"value-picker"},Nt={name:"box-shadow",attribute:"box-shadow",values:{none:"none",s:"0px 0px 6px 0px rgba(17, 17, 17, 0.04), 0px 4px 8px 0px rgba(17, 17, 17, 0.04)",m:"0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06)",l:"0px 2px 4px 0px rgba(17, 17, 17, 0.04), 0px 8px 32px 0px rgba(33, 33, 33, 0.08)",xl:"0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04)","2xl":"0 25px 50px -12px rgba(0, 0, 0, 0.25)"},type:Fe.MappedEnum,unit:"",picker:"value-picker"},_t={name:"cursor",attribute:"cursor",values:{default:"default",pointer:"pointer",wait:"wait",text:"relative",move:"sticky",grab:"grab",help:"help",crosshair:"crosshair","zoom-in":"zoom-in","zoom-out":"zoom-out","not-allowed":"not-allowed",none:"none"},type:Fe.MappedEnum,unit:""},It={name:"position",attribute:"position",values:{static:"static",fixed:"fixed",absolute:"absolute",relative:"relative",sticky:"sticky"},type:Fe.MappedEnum,unit:""},Pt={name:"opacity",attribute:"opacity",values:{full:0,"3xl":.1,"2xl":.2,xl:.3,l:.4,m:.5,s:.6,xs:.7,"2xs":.8,"3xs":.9,none:1},type:Fe.MappedEnum,unit:""},$t={name:"display",attribute:"display",values:{block:"block","inline-block":"inline-block",inline:"inline",flex:"flex","inline-flex":"inline-flex",none:"none"},type:Fe.MappedEnum,unit:""},Ft={name:"align-items",attribute:"align-items",values:{stretch:"stretch",start:"start",center:"center",end:"flex",baseline:"inline-flex"},type:Fe.MappedEnum,unit:""},Lt=["hover","focus","active","visited"],zt={xs:"0",s:"576px",m:"768px",l:"992px",xl:"1200px"},jt="sw",Dt="-",Bt=(Le={},[ze,je,De,We,Be,He,Ue,Ge,Ve,Ye,Ke,Xe,qe,Je,Ze,Qe,tt,et,rt,nt,ot,ct,ut,pt,dt,ft,mt,ht,yt,gt,bt,vt,it,at,st,lt,wt,kt,St,xt,Et,Tt,Ot,Ct,Mt,At,Rt,Nt,_t,It,Pt,$t,Ft].forEach((function(e){Le[e.name]=e})),Le);function Wt(e){var t,r=Vt(e),n=Yt(e),o=function(e){var t=Object.keys(zt).find((function(t){return e.startsWith(t+":")}));return void 0!==t}(e),a=function(e){return Object.keys(zt).find((function(t){return e.startsWith(t+":")}))}(e);r&&(e=Kt(e)),o&&(e=function(e){var t=Object.keys(zt).find((function(t){return e.startsWith(t+":")}));return t?e.replace(t+":",""):e}(e));var i=Ut(e,Bt);if(!i)throw new Error("Can't find the style: "+e);var s=Ht(e,i);if(!s||void 0===s)throw new Error("Can't find a value for the style: "+e);r&&(e=function(e,t){return"".concat(t,"\\:").concat(e,":").concat(t)}(e,n)),o&&(e=function(e,t){return"".concat(t,"\\:").concat(e)}(e,a));var l,c=function(e){return void 0!==e.pseudo}(i);switch(c&&(e=function(e,t){return"".concat(e).concat(t.pseudo)}(e,i)),i.type){case Fe.Enum:l=".".concat(e," { ").concat(i.attribute,": ").concat(s).concat(i.unit,"!important; }");break;case Fe.MappedEnum:if(s.includes("default")){l=".".concat(e," { }");break}var u=null===(t=i.values)||void 0===t?void 0:t[s];if(void 0===u)throw new Error("Can't find a value for the style: "+e);l=".".concat(e," { ").concat(i.attribute,": ").concat(u).concat(i.unit,"!important; }");break;case Fe.DynamicColor:if(s.includes("default")){l=".".concat(e," { }");break}if("transparent"===s){l=".".concat(e," { ").concat(i.attribute,": ").concat(s,"!important; }");break}l=".".concat(e," { ").concat(i.attribute,": #").concat(s,"!important; }");break;case Fe.DynamicFont:if(s.includes("default")){l=".".concat(e," { }");break}var d=Gt(s);l=".".concat(e," { ").concat(i.attribute,': "').concat(d,'"!important; }')}if(void 0===l)throw new Error("Can't generate css for the name: "+e);if(o){var p=zt[a];return"@media (min-width: ".concat(p,") { ").concat(l," }")}return r&&"hover"===n?"@media (hover: hover) { ".concat(l," }"):l}function Ht(e,t){return e.replace(jt+Dt+t.name+Dt,"")}function Ut(e,t){return t[Object.keys(t).find((function(t){return e.startsWith(jt+Dt+t+Dt)}))]}function Gt(e){return e.split("_").map((function(e){return"string"!=typeof(t=e)?"":t.charAt(0).toUpperCase()+t.slice(1);var t})).join(" ")}function Vt(e){return!!Lt.find((function(t){return e.startsWith(t)}))}function Yt(e){return Lt.find((function(t){return e.startsWith(t)}))}function Kt(e){var t=Lt.find((function(t){return e.startsWith(t)}));return t?e.replace(t+":",""):e}var Xt=function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(n=Object.getOwnPropertySymbols(e);o<n.length;o++)t.indexOf(n[o])<0&&Object.prototype.propertyIsEnumerable.call(e,n[o])&&(r[n[o]]=e[n[o]])}return r},qt=function(e,t){var r="function"==typeof Symbol&&e[Symbol.iterator];if(!r)return e;var n,o,a=r.call(e),i=[];try{for(;(void 0===t||t-- >0)&&!(n=a.next()).done;)i.push(n.value)}catch(s){o={error:s}}finally{try{n&&!n.done&&(r=a.return)&&r.call(a)}finally{if(o)throw o.error}}return i},Jt=function(e,t,r){if(r||2===arguments.length)for(var n,o=0,a=t.length;o<a;o++)!n&&o in t||(n||(n=Array.prototype.slice.call(t,0,o)),n[o]=t[o]);return e.concat(n||Array.prototype.slice.call(t))},Zt=function(e){var t="function"==typeof Symbol&&Symbol.iterator,r=t&&e[t],n=0;if(r)return r.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&n>=e.length&&(e=void 0),{value:e&&e[n++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")},Qt=function(e){var t={};return e.forEach((function(e){var r=qt(function(e){var t=Yt(e);t&&(e=Kt(e));var r,n=Object.keys(Bt).find((function(t){return e.startsWith(jt+Dt+t+Dt)}))||"",o=Bt[n],a=n.replace(/-([a-z])/g,(function(e){return e[1].toUpperCase()})),i=t?t.charAt(0).toUpperCase()+t.slice(1):"",s=e.replace("sw-".concat(o.name,"-"),"");if("default"===s)return["".concat(a).concat(i),void 0];switch(o.type){case Fe.Enum:r="".concat(s).concat(o.unit);break;case Fe.MappedEnum:r="".concat(o.values[s]).concat(o.unit);break;case Fe.DynamicColor:r="transparent"!==s?"#".concat(s):s;break;case Fe.DynamicFont:r=Gt(s);break;default:r=s}return["".concat(a).concat(i),r]}(e),2),n=r[0],o=r[1];t[n]=o})),t};function er(e,t){var r,n,o=e.primaryStyles,a=e.otherStyles,i=Xt(e,["primaryStyles","otherStyles"]),s={},l=[],c=[];(o||[]).forEach((function(e){var t=e.classes;return l.push.apply(l,Jt([],qt(t),!1))})),l.forEach(t.add,t),(a||[]).forEach((function(e){var t=e.classes;return c.push.apply(c,Jt([],qt(t),!1))})),c.forEach(t.add,t),s.className=Jt(Jt([],qt(l),!1),qt(c),!1).join(" "),s.styles=Qt(l);try{for(var u=Zt(Object.keys(i)),d=u.next();!d.done;d=u.next()){var p=d.value,f=i[p];Array.isArray(f)?s[p]=f.map((function(e){return"object"==typeof e?er(e,t):e})):s[p]="object"==typeof f?f?er(f,t):"":f}}catch(m){r={error:m}}finally{try{d&&!d.done&&(n=u.return)&&n.call(u)}finally{if(r)throw r.error}}return s}var tr,rr,nr,or,ar,ir,sr,lr,cr,ur,dr,pr=r(94184),fr=r.n(pr);!function(e){e.Header="Header",e.Hero="Hero",e.FAQ="FAQ",e.Chart="Chart",e.CustomCode="Custom Code",e.ListDetails="List Details",e.List="List",e.Other="Other",e.Footer="Footer",e.Form="Form",e.OrganizationalChart="Organizational Chart",e.Payment="Payment"}(tr||(tr={})),function(e){e.Static="static",e.Dynamic="dynamic"}(rr||(rr={})),function(e){e.View="VIEW",e.Edit="EDIT"}(nr||(nr={})),function(e){e.Left="LEFT",e.Right="RIGHT",e.Center="CENTER",e.Top="TOP",e.Bottom="BOTTOM"}(or||(or={})),function(e){e.AllUsers="ALL_USERS"}(ar||(ar={})),function(e){e.Array="array"}(ir||(ir={})),function(e){e.Airtable="airtable",e.Softr="softr",e.Gsheet="gsheet"}(sr||(sr={})),function(e){e.PASSWORD="password",e.ADDRESS="address",e.RATING="rating",e.HEADING1="heading1",e.HEADING2="heading2",e.HEADING3="heading3",e.BUTTON="button",e.URL="url",e.TAG="tag",e.SHORT_TEXT="short_text",e.EMAIL="email",e.PHONE_NUMBER="phone_number",e.DIVIDER="divider",e.DROPDOWN="dropdown",e.LONG_TEXT="long_text",e.MULTI_SELECT="multi_select",e.STATIC_IMAGE="staticImage",e.IMAGE="image",e.DATE="date",e.DATETIME="dateTime",e.CHECKBOX="checkbox",e.HIDDEN="hidden",e.FILE="file",e.TEXT="text",e.RICH_TEXT="rich_text",e.UPVOTE_BUTTON="upvoteButton",e.GMAPS="gmaps",e.EMBED="embed",e.AUDIO="audio",e.VIDEO="video",e.GALLERY="gallery",e.IMAGE_OR_VIDEO="imageOrVideo",e.PDF="pdf"}(lr||(lr={})),function(e){e.heading1="h1",e.heading2="h2",e.heading3="h3",e.heading4="h4",e.heading5="h5",e.heading6="h6",e.text="p"}(cr||(cr={})),function(e){e.ShowMessage="SHOW_MESSAGE",e.OpenPage="OPEN_PAGE",e.NoAction="NO_ACTION"}(ur||(ur={})),function(e){e.UPDATE_RECORD_SUCCESS="UPDATE_RECORD_SUCCESS"}(dr||(dr={}));function mr(){return mr=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},mr.apply(this,arguments)}function hr(e,t){if(null==e)return{};var r,n,o={},a=Object.keys(e);for(n=0;n<a.length;n++)r=a[n],t.indexOf(r)>=0||(o[r]=e[r]);return o}function gr(e){let t="https://mui.com/production-error/?code="+e;for(let r=1;r<arguments.length;r+=1)t+="&args[]="+encodeURIComponent(arguments[r]);return"Minified MUI error #"+e+"; visit "+t+" for the full message."}function yr(e){return null!==e&&"object"==typeof e&&e.constructor===Object}function br(e){if(!yr(e))return e;const t={};return Object.keys(e).forEach((r=>{t[r]=br(e[r])})),t}function vr(e,t,r={clone:!0}){const n=r.clone?mr({},e):e;return yr(e)&&yr(t)&&Object.keys(t).forEach((o=>{"__proto__"!==o&&(yr(t[o])&&o in e&&yr(e[o])?n[o]=vr(e[o],t[o],r):r.clone?n[o]=yr(t[o])?br(t[o]):t[o]:n[o]=t[o])})),n}const xr=["values","unit","step"],wr=e=>{const t=Object.keys(e).map((t=>({key:t,val:e[t]})))||[];return t.sort(((e,t)=>e.val-t.val)),t.reduce(((e,t)=>mr({},e,{[t.key]:t.val})),{})};const kr={borderRadius:4},Sr={xs:0,sm:600,md:900,lg:1200,xl:1536},Er={keys:["xs","sm","md","lg","xl"],up:e=>`@media (min-width:${Sr[e]}px)`};function Tr(e,t,r){const n=e.theme||{};if(Array.isArray(t)){const e=n.breakpoints||Er;return t.reduce(((n,o,a)=>(n[e.up(e.keys[a])]=r(t[a]),n)),{})}if("object"==typeof t){const e=n.breakpoints||Er;return Object.keys(t).reduce(((n,o)=>{if(-1!==Object.keys(e.values||Sr).indexOf(o)){n[e.up(o)]=r(t[o],o)}else{const e=o;n[e]=t[e]}return n}),{})}return r(t)}function Or(e={}){var t;return(null==(t=e.keys)?void 0:t.reduce(((t,r)=>(t[e.up(r)]={},t)),{}))||{}}function Cr(e,t){return e.reduce(((e,t)=>{const r=e[t];return(!r||0===Object.keys(r).length)&&delete e[t],e}),t)}function Mr({values:e,breakpoints:t,base:r}){const n=r||function(e,t){if("object"!=typeof e)return{};const r={},n=Object.keys(t);return Array.isArray(e)?n.forEach(((t,n)=>{n<e.length&&(r[t]=!0)})):n.forEach((t=>{null!=e[t]&&(r[t]=!0)})),r}(e,t),o=Object.keys(n);if(0===o.length)return e;let a;return o.reduce(((t,r,n)=>(Array.isArray(e)?(t[r]=null!=e[n]?e[n]:e[a],a=n):"object"==typeof e?(t[r]=null!=e[r]?e[r]:e[a],a=r):t[r]=e,t)),{})}function Ar(e){if("string"!=typeof e)throw new Error(gr(7));return e.charAt(0).toUpperCase()+e.slice(1)}function Rr(e,t,r=!0){if(!t||"string"!=typeof t)return null;if(e&&e.vars&&r){const r=`vars.${t}`.split(".").reduce(((e,t)=>e&&e[t]?e[t]:null),e);if(null!=r)return r}return t.split(".").reduce(((e,t)=>e&&null!=e[t]?e[t]:null),e)}function Nr(e,t,r,n=r){let o;return o="function"==typeof e?e(r):Array.isArray(e)?e[r]||n:Rr(e,r)||n,t&&(o=t(o,n,e)),o}const _r=function(e){const{prop:t,cssProperty:r=e.prop,themeKey:n,transform:o}=e,a=e=>{if(null==e[t])return null;const a=e[t],i=Rr(e.theme,n)||{};return Tr(e,a,(e=>{let n=Nr(i,o,e);return e===n&&"string"==typeof e&&(n=Nr(i,o,`${t}${"default"===e?"":Ar(e)}`,e)),!1===r?n:{[r]:n}}))};return a.propTypes={},a.filterProps=[t],a};const Ir=function(e,t){return t?vr(e,t,{clone:!1}):e};const Pr={m:"margin",p:"padding"},$r={t:"Top",r:"Right",b:"Bottom",l:"Left",x:["Left","Right"],y:["Top","Bottom"]},Fr={marginX:"mx",marginY:"my",paddingX:"px",paddingY:"py"},Lr=function(e){const t={};return r=>(void 0===t[r]&&(t[r]=e(r)),t[r])}((e=>{if(e.length>2){if(!Fr[e])return[e];e=Fr[e]}const[t,r]=e.split(""),n=Pr[t],o=$r[r]||"";return Array.isArray(o)?o.map((e=>n+e)):[n+o]})),zr=["m","mt","mr","mb","ml","mx","my","margin","marginTop","marginRight","marginBottom","marginLeft","marginX","marginY","marginInline","marginInlineStart","marginInlineEnd","marginBlock","marginBlockStart","marginBlockEnd"],jr=["p","pt","pr","pb","pl","px","py","padding","paddingTop","paddingRight","paddingBottom","paddingLeft","paddingX","paddingY","paddingInline","paddingInlineStart","paddingInlineEnd","paddingBlock","paddingBlockStart","paddingBlockEnd"],Dr=[...zr,...jr];function Br(e,t,r,n){var o;const a=null!=(o=Rr(e,t,!1))?o:r;return"number"==typeof a?e=>"string"==typeof e?e:a*e:Array.isArray(a)?e=>"string"==typeof e?e:a[e]:"function"==typeof a?a:()=>{}}function Wr(e){return Br(e,"spacing",8)}function Hr(e,t){if("string"==typeof t||null==t)return t;const r=e(Math.abs(t));return t>=0?r:"number"==typeof r?-r:`-${r}`}function Ur(e,t,r,n){if(-1===t.indexOf(r))return null;const o=function(e,t){return r=>e.reduce(((e,n)=>(e[n]=Hr(t,r),e)),{})}(Lr(r),n);return Tr(e,e[r],o)}function Gr(e,t){const r=Wr(e.theme);return Object.keys(e).map((n=>Ur(e,t,n,r))).reduce(Ir,{})}function Vr(e){return Gr(e,zr)}function Yr(e){return Gr(e,jr)}function Kr(e){return Gr(e,Dr)}Vr.propTypes={},Vr.filterProps=zr,Yr.propTypes={},Yr.filterProps=jr,Kr.propTypes={},Kr.filterProps=Dr;const Xr=function(...e){const t=e.reduce(((e,t)=>(t.filterProps.forEach((r=>{e[r]=t})),e)),{}),r=e=>Object.keys(e).reduce(((r,n)=>t[n]?Ir(r,t[n](e)):r),{});return r.propTypes={},r.filterProps=e.reduce(((e,t)=>e.concat(t.filterProps)),[]),r};function qr(e){return"number"!=typeof e?e:`${e}px solid`}const Jr=_r({prop:"border",themeKey:"borders",transform:qr}),Zr=_r({prop:"borderTop",themeKey:"borders",transform:qr}),Qr=_r({prop:"borderRight",themeKey:"borders",transform:qr}),en=_r({prop:"borderBottom",themeKey:"borders",transform:qr}),tn=_r({prop:"borderLeft",themeKey:"borders",transform:qr}),rn=_r({prop:"borderColor",themeKey:"palette"}),nn=_r({prop:"borderTopColor",themeKey:"palette"}),on=_r({prop:"borderRightColor",themeKey:"palette"}),an=_r({prop:"borderBottomColor",themeKey:"palette"}),sn=_r({prop:"borderLeftColor",themeKey:"palette"}),ln=e=>{if(void 0!==e.borderRadius&&null!==e.borderRadius){const t=Br(e.theme,"shape.borderRadius",4),r=e=>({borderRadius:Hr(t,e)});return Tr(e,e.borderRadius,r)}return null};ln.propTypes={},ln.filterProps=["borderRadius"];Xr(Jr,Zr,Qr,en,tn,rn,nn,on,an,sn,ln);const cn=e=>{if(void 0!==e.gap&&null!==e.gap){const t=Br(e.theme,"spacing",8),r=e=>({gap:Hr(t,e)});return Tr(e,e.gap,r)}return null};cn.propTypes={},cn.filterProps=["gap"];const un=e=>{if(void 0!==e.columnGap&&null!==e.columnGap){const t=Br(e.theme,"spacing",8),r=e=>({columnGap:Hr(t,e)});return Tr(e,e.columnGap,r)}return null};un.propTypes={},un.filterProps=["columnGap"];const dn=e=>{if(void 0!==e.rowGap&&null!==e.rowGap){const t=Br(e.theme,"spacing",8),r=e=>({rowGap:Hr(t,e)});return Tr(e,e.rowGap,r)}return null};dn.propTypes={},dn.filterProps=["rowGap"];Xr(cn,un,dn,_r({prop:"gridColumn"}),_r({prop:"gridRow"}),_r({prop:"gridAutoFlow"}),_r({prop:"gridAutoColumns"}),_r({prop:"gridAutoRows"}),_r({prop:"gridTemplateColumns"}),_r({prop:"gridTemplateRows"}),_r({prop:"gridTemplateAreas"}),_r({prop:"gridArea"}));function pn(e,t){return"grey"===t?t:e}Xr(_r({prop:"color",themeKey:"palette",transform:pn}),_r({prop:"bgcolor",cssProperty:"backgroundColor",themeKey:"palette",transform:pn}),_r({prop:"backgroundColor",themeKey:"palette",transform:pn}));function fn(e){return e<=1&&0!==e?100*e+"%":e}const mn=_r({prop:"width",transform:fn}),hn=e=>{if(void 0!==e.maxWidth&&null!==e.maxWidth){const t=t=>{var r,n;const o=(null==(r=e.theme)||null==(r=r.breakpoints)||null==(r=r.values)?void 0:r[t])||Sr[t];return o?"px"!==(null==(n=e.theme)||null==(n=n.breakpoints)?void 0:n.unit)?{maxWidth:`${o}${e.theme.breakpoints.unit}`}:{maxWidth:o}:{maxWidth:fn(t)}};return Tr(e,e.maxWidth,t)}return null};hn.filterProps=["maxWidth"];const gn=_r({prop:"minWidth",transform:fn}),yn=_r({prop:"height",transform:fn}),bn=_r({prop:"maxHeight",transform:fn}),vn=_r({prop:"minHeight",transform:fn}),xn=(_r({prop:"size",cssProperty:"width",transform:fn}),_r({prop:"size",cssProperty:"height",transform:fn}),Xr(mn,hn,gn,yn,bn,vn,_r({prop:"boxSizing"})),{border:{themeKey:"borders",transform:qr},borderTop:{themeKey:"borders",transform:qr},borderRight:{themeKey:"borders",transform:qr},borderBottom:{themeKey:"borders",transform:qr},borderLeft:{themeKey:"borders",transform:qr},borderColor:{themeKey:"palette"},borderTopColor:{themeKey:"palette"},borderRightColor:{themeKey:"palette"},borderBottomColor:{themeKey:"palette"},borderLeftColor:{themeKey:"palette"},borderRadius:{themeKey:"shape.borderRadius",style:ln},color:{themeKey:"palette",transform:pn},bgcolor:{themeKey:"palette",cssProperty:"backgroundColor",transform:pn},backgroundColor:{themeKey:"palette",transform:pn},p:{style:Yr},pt:{style:Yr},pr:{style:Yr},pb:{style:Yr},pl:{style:Yr},px:{style:Yr},py:{style:Yr},padding:{style:Yr},paddingTop:{style:Yr},paddingRight:{style:Yr},paddingBottom:{style:Yr},paddingLeft:{style:Yr},paddingX:{style:Yr},paddingY:{style:Yr},paddingInline:{style:Yr},paddingInlineStart:{style:Yr},paddingInlineEnd:{style:Yr},paddingBlock:{style:Yr},paddingBlockStart:{style:Yr},paddingBlockEnd:{style:Yr},m:{style:Vr},mt:{style:Vr},mr:{style:Vr},mb:{style:Vr},ml:{style:Vr},mx:{style:Vr},my:{style:Vr},margin:{style:Vr},marginTop:{style:Vr},marginRight:{style:Vr},marginBottom:{style:Vr},marginLeft:{style:Vr},marginX:{style:Vr},marginY:{style:Vr},marginInline:{style:Vr},marginInlineStart:{style:Vr},marginInlineEnd:{style:Vr},marginBlock:{style:Vr},marginBlockStart:{style:Vr},marginBlockEnd:{style:Vr},displayPrint:{cssProperty:!1,transform:e=>({"@media print":{display:e}})},display:{},overflow:{},textOverflow:{},visibility:{},whiteSpace:{},flexBasis:{},flexDirection:{},flexWrap:{},justifyContent:{},alignItems:{},alignContent:{},order:{},flex:{},flexGrow:{},flexShrink:{},alignSelf:{},justifyItems:{},justifySelf:{},gap:{style:cn},rowGap:{style:dn},columnGap:{style:un},gridColumn:{},gridRow:{},gridAutoFlow:{},gridAutoColumns:{},gridAutoRows:{},gridTemplateColumns:{},gridTemplateRows:{},gridTemplateAreas:{},gridArea:{},position:{},zIndex:{themeKey:"zIndex"},top:{},right:{},bottom:{},left:{},boxShadow:{themeKey:"shadows"},width:{transform:fn},maxWidth:{style:hn},minWidth:{transform:fn},height:{transform:fn},maxHeight:{transform:fn},minHeight:{transform:fn},boxSizing:{},fontFamily:{themeKey:"typography"},fontSize:{themeKey:"typography"},fontStyle:{themeKey:"typography"},fontWeight:{themeKey:"typography"},letterSpacing:{},textTransform:{},lineHeight:{},textAlign:{},typography:{cssProperty:!1,themeKey:"typography"}});const wn=function(){function e(e,t,r,n){const o={[e]:t,theme:r},a=n[e];if(!a)return{[e]:t};const{cssProperty:i=e,themeKey:s,transform:l,style:c}=a;if(null==t)return null;if("typography"===s&&"inherit"===t)return{[e]:t};const u=Rr(r,s)||{};if(c)return c(o);return Tr(o,t,(t=>{let r=Nr(u,l,t);return t===r&&"string"==typeof t&&(r=Nr(u,l,`${e}${"default"===t?"":Ar(t)}`,t)),!1===i?r:{[i]:r}}))}return function t(r){var n;const{sx:o,theme:a={}}=r||{};if(!o)return null;const i=null!=(n=a.unstable_sxConfig)?n:xn;function s(r){let n=r;if("function"==typeof r)n=r(a);else if("object"!=typeof r)return r;if(!n)return null;const o=Or(a.breakpoints),s=Object.keys(o);let l=o;return Object.keys(n).forEach((r=>{const o=(s=n[r],c=a,"function"==typeof s?s(c):s);var s,c;if(null!=o)if("object"==typeof o)if(i[r])l=Ir(l,e(r,o,a,i));else{const e=Tr({theme:a},o,(e=>({[r]:e})));!function(...e){const t=e.reduce(((e,t)=>e.concat(Object.keys(t))),[]),r=new Set(t);return e.every((e=>r.size===Object.keys(e).length))}(e,o)?l=Ir(l,e):l[r]=t({sx:o,theme:a})}else l=Ir(l,e(r,o,a,i))})),Cr(s,l)}return Array.isArray(o)?o.map(s):s(o)}}();wn.filterProps=["sx"];const kn=wn,Sn=["breakpoints","palette","spacing","shape"];const En=function(e={},...t){const{breakpoints:r={},palette:n={},spacing:o,shape:a={}}=e,i=hr(e,Sn),s=function(e){const{values:t={xs:0,sm:600,md:900,lg:1200,xl:1536},unit:r="px",step:n=5}=e,o=hr(e,xr),a=wr(t),i=Object.keys(a);function s(e){return`@media (min-width:${"number"==typeof t[e]?t[e]:e}${r})`}function l(e){return`@media (max-width:${("number"==typeof t[e]?t[e]:e)-n/100}${r})`}function c(e,o){const a=i.indexOf(o);return`@media (min-width:${"number"==typeof t[e]?t[e]:e}${r}) and (max-width:${(-1!==a&&"number"==typeof t[i[a]]?t[i[a]]:o)-n/100}${r})`}return mr({keys:i,values:a,up:s,down:l,between:c,only:function(e){return i.indexOf(e)+1<i.length?c(e,i[i.indexOf(e)+1]):s(e)},not:function(e){const t=i.indexOf(e);return 0===t?s(i[1]):t===i.length-1?l(i[t]):c(e,i[i.indexOf(e)+1]).replace("@media","@media not all and")},unit:r},o)}(r),l=function(e=8){if(e.mui)return e;const t=Wr({spacing:e}),r=(...e)=>(0===e.length?[1]:e).map((e=>{const r=t(e);return"number"==typeof r?`${r}px`:r})).join(" ");return r.mui=!0,r}(o);let c=vr({breakpoints:s,direction:"ltr",components:{},palette:mr({mode:"light"},n),spacing:l,shape:mr({},kr,a)},i);return c=t.reduce(((e,t)=>vr(e,t)),c),c.unstable_sxConfig=mr({},xn,null==i?void 0:i.unstable_sxConfig),c.unstable_sx=function(e){return kn({sx:e,theme:this})},c};function Tn(e,t){return mr({toolbar:{minHeight:56,[e.up("xs")]:{"@media (orientation: landscape)":{minHeight:48}},[e.up("sm")]:{minHeight:64}}},t)}function On(e,t=0,r=1){return Math.min(Math.max(t,e),r)}function Cn(e){if(e.type)return e;if("#"===e.charAt(0))return Cn(function(e){e=e.slice(1);const t=new RegExp(`.{1,${e.length>=6?2:1}}`,"g");let r=e.match(t);return r&&1===r[0].length&&(r=r.map((e=>e+e))),r?`rgb${4===r.length?"a":""}(${r.map(((e,t)=>t<3?parseInt(e,16):Math.round(parseInt(e,16)/255*1e3)/1e3)).join(", ")})`:""}(e));const t=e.indexOf("("),r=e.substring(0,t);if(-1===["rgb","rgba","hsl","hsla","color"].indexOf(r))throw new Error(gr(9,e));let n,o=e.substring(t+1,e.length-1);if("color"===r){if(o=o.split(" "),n=o.shift(),4===o.length&&"/"===o[3].charAt(0)&&(o[3]=o[3].slice(1)),-1===["srgb","display-p3","a98-rgb","prophoto-rgb","rec-2020"].indexOf(n))throw new Error(gr(10,n))}else o=o.split(",");return o=o.map((e=>parseFloat(e))),{type:r,values:o,colorSpace:n}}function Mn(e){const{type:t,colorSpace:r}=e;let{values:n}=e;return-1!==t.indexOf("rgb")?n=n.map(((e,t)=>t<3?parseInt(e,10):e)):-1!==t.indexOf("hsl")&&(n[1]=`${n[1]}%`,n[2]=`${n[2]}%`),n=-1!==t.indexOf("color")?`${r} ${n.join(" ")}`:`${n.join(", ")}`,`${t}(${n})`}function An(e){let t="hsl"===(e=Cn(e)).type||"hsla"===e.type?Cn(function(e){e=Cn(e);const{values:t}=e,r=t[0],n=t[1]/100,o=t[2]/100,a=n*Math.min(o,1-o),i=(e,t=(e+r/30)%12)=>o-a*Math.max(Math.min(t-3,9-t,1),-1);let s="rgb";const l=[Math.round(255*i(0)),Math.round(255*i(8)),Math.round(255*i(4))];return"hsla"===e.type&&(s+="a",l.push(t[3])),Mn({type:s,values:l})}(e)).values:e.values;return t=t.map((t=>("color"!==e.type&&(t/=255),t<=.03928?t/12.92:((t+.055)/1.055)**2.4))),Number((.2126*t[0]+.7152*t[1]+.0722*t[2]).toFixed(3))}function Rn(e,t){return e=Cn(e),t=On(t),"rgb"!==e.type&&"hsl"!==e.type||(e.type+="a"),"color"===e.type?e.values[3]=`/${t}`:e.values[3]=t,Mn(e)}function Nn(e,t){if(e=Cn(e),t=On(t),-1!==e.type.indexOf("hsl"))e.values[2]*=1-t;else if(-1!==e.type.indexOf("rgb")||-1!==e.type.indexOf("color"))for(let r=0;r<3;r+=1)e.values[r]*=1-t;return Mn(e)}function _n(e,t){if(e=Cn(e),t=On(t),-1!==e.type.indexOf("hsl"))e.values[2]+=(100-e.values[2])*t;else if(-1!==e.type.indexOf("rgb"))for(let r=0;r<3;r+=1)e.values[r]+=(255-e.values[r])*t;else if(-1!==e.type.indexOf("color"))for(let r=0;r<3;r+=1)e.values[r]+=(1-e.values[r])*t;return Mn(e)}const In={black:"#000",white:"#fff"},Pn={50:"#fafafa",100:"#f5f5f5",200:"#eeeeee",300:"#e0e0e0",400:"#bdbdbd",500:"#9e9e9e",600:"#757575",700:"#616161",800:"#424242",900:"#212121",A100:"#f5f5f5",A200:"#eeeeee",A400:"#bdbdbd",A700:"#616161"},$n={50:"#f3e5f5",100:"#e1bee7",200:"#ce93d8",300:"#ba68c8",400:"#ab47bc",500:"#9c27b0",600:"#8e24aa",700:"#7b1fa2",800:"#6a1b9a",900:"#4a148c",A100:"#ea80fc",A200:"#e040fb",A400:"#d500f9",A700:"#aa00ff"},Fn={50:"#ffebee",100:"#ffcdd2",200:"#ef9a9a",300:"#e57373",400:"#ef5350",500:"#f44336",600:"#e53935",700:"#d32f2f",800:"#c62828",900:"#b71c1c",A100:"#ff8a80",A200:"#ff5252",A400:"#ff1744",A700:"#d50000"},Ln={50:"#fff3e0",100:"#ffe0b2",200:"#ffcc80",300:"#ffb74d",400:"#ffa726",500:"#ff9800",600:"#fb8c00",700:"#f57c00",800:"#ef6c00",900:"#e65100",A100:"#ffd180",A200:"#ffab40",A400:"#ff9100",A700:"#ff6d00"},zn={50:"#e3f2fd",100:"#bbdefb",200:"#90caf9",300:"#64b5f6",400:"#42a5f5",500:"#2196f3",600:"#1e88e5",700:"#1976d2",800:"#1565c0",900:"#0d47a1",A100:"#82b1ff",A200:"#448aff",A400:"#2979ff",A700:"#2962ff"},jn={50:"#e1f5fe",100:"#b3e5fc",200:"#81d4fa",300:"#4fc3f7",400:"#29b6f6",500:"#03a9f4",600:"#039be5",700:"#0288d1",800:"#0277bd",900:"#01579b",A100:"#80d8ff",A200:"#40c4ff",A400:"#00b0ff",A700:"#0091ea"},Dn={50:"#e8f5e9",100:"#c8e6c9",200:"#a5d6a7",300:"#81c784",400:"#66bb6a",500:"#4caf50",600:"#43a047",700:"#388e3c",800:"#2e7d32",900:"#1b5e20",A100:"#b9f6ca",A200:"#69f0ae",A400:"#00e676",A700:"#00c853"},Bn=["mode","contrastThreshold","tonalOffset"],Wn={text:{primary:"rgba(0, 0, 0, 0.87)",secondary:"rgba(0, 0, 0, 0.6)",disabled:"rgba(0, 0, 0, 0.38)"},divider:"rgba(0, 0, 0, 0.12)",background:{paper:In.white,default:In.white},action:{active:"rgba(0, 0, 0, 0.54)",hover:"rgba(0, 0, 0, 0.04)",hoverOpacity:.04,selected:"rgba(0, 0, 0, 0.08)",selectedOpacity:.08,disabled:"rgba(0, 0, 0, 0.26)",disabledBackground:"rgba(0, 0, 0, 0.12)",disabledOpacity:.38,focus:"rgba(0, 0, 0, 0.12)",focusOpacity:.12,activatedOpacity:.12}},Hn={text:{primary:In.white,secondary:"rgba(255, 255, 255, 0.7)",disabled:"rgba(255, 255, 255, 0.5)",icon:"rgba(255, 255, 255, 0.5)"},divider:"rgba(255, 255, 255, 0.12)",background:{paper:"#121212",default:"#121212"},action:{active:In.white,hover:"rgba(255, 255, 255, 0.08)",hoverOpacity:.08,selected:"rgba(255, 255, 255, 0.16)",selectedOpacity:.16,disabled:"rgba(255, 255, 255, 0.3)",disabledBackground:"rgba(255, 255, 255, 0.12)",disabledOpacity:.38,focus:"rgba(255, 255, 255, 0.12)",focusOpacity:.12,activatedOpacity:.24}};function Un(e,t,r,n){const o=n.light||n,a=n.dark||1.5*n;e[t]||(e.hasOwnProperty(r)?e[t]=e[r]:"light"===t?e.light=_n(e.main,o):"dark"===t&&(e.dark=Nn(e.main,a)))}function Gn(e){const{mode:t="light",contrastThreshold:r=3,tonalOffset:n=.2}=e,o=hr(e,Bn),a=e.primary||function(e="light"){return"dark"===e?{main:zn[200],light:zn[50],dark:zn[400]}:{main:zn[700],light:zn[400],dark:zn[800]}}(t),i=e.secondary||function(e="light"){return"dark"===e?{main:$n[200],light:$n[50],dark:$n[400]}:{main:$n[500],light:$n[300],dark:$n[700]}}(t),s=e.error||function(e="light"){return"dark"===e?{main:Fn[500],light:Fn[300],dark:Fn[700]}:{main:Fn[700],light:Fn[400],dark:Fn[800]}}(t),l=e.info||function(e="light"){return"dark"===e?{main:jn[400],light:jn[300],dark:jn[700]}:{main:jn[700],light:jn[500],dark:jn[900]}}(t),c=e.success||function(e="light"){return"dark"===e?{main:Dn[400],light:Dn[300],dark:Dn[700]}:{main:Dn[800],light:Dn[500],dark:Dn[900]}}(t),u=e.warning||function(e="light"){return"dark"===e?{main:Ln[400],light:Ln[300],dark:Ln[700]}:{main:"#ed6c02",light:Ln[500],dark:Ln[900]}}(t);function d(e){const t=function(e,t){const r=An(e),n=An(t);return(Math.max(r,n)+.05)/(Math.min(r,n)+.05)}(e,Hn.text.primary)>=r?Hn.text.primary:Wn.text.primary;return t}const p=({color:e,name:t,mainShade:r=500,lightShade:o=300,darkShade:a=700})=>{if(!(e=mr({},e)).main&&e[r]&&(e.main=e[r]),!e.hasOwnProperty("main"))throw new Error(gr(11,t?` (${t})`:"",r));if("string"!=typeof e.main)throw new Error(gr(12,t?` (${t})`:"",JSON.stringify(e.main)));return Un(e,"light",o,n),Un(e,"dark",a,n),e.contrastText||(e.contrastText=d(e.main)),e},f={dark:Hn,light:Wn};return vr(mr({common:mr({},In),mode:t,primary:p({color:a,name:"primary"}),secondary:p({color:i,name:"secondary",mainShade:"A400",lightShade:"A200",darkShade:"A700"}),error:p({color:s,name:"error"}),warning:p({color:u,name:"warning"}),info:p({color:l,name:"info"}),success:p({color:c,name:"success"}),grey:Pn,contrastThreshold:r,getContrastText:d,augmentColor:p,tonalOffset:n},f[t]),o)}const Vn=["fontFamily","fontSize","fontWeightLight","fontWeightRegular","fontWeightMedium","fontWeightBold","htmlFontSize","allVariants","pxToRem"];const Yn={textTransform:"uppercase"},Kn='"Roboto", "Helvetica", "Arial", sans-serif';function Xn(e,t){const r="function"==typeof t?t(e):t,{fontFamily:n=Kn,fontSize:o=14,fontWeightLight:a=300,fontWeightRegular:i=400,fontWeightMedium:s=500,fontWeightBold:l=700,htmlFontSize:c=16,allVariants:u,pxToRem:d}=r,p=hr(r,Vn);const f=o/14,m=d||(e=>e/c*f+"rem"),h=(e,t,r,o,a)=>{return mr({fontFamily:n,fontWeight:e,fontSize:m(t),lineHeight:r},n===Kn?{letterSpacing:(i=o/t,Math.round(1e5*i)/1e5)+"em"}:{},a,u);var i},g={h1:h(a,96,1.167,-1.5),h2:h(a,60,1.2,-.5),h3:h(i,48,1.167,0),h4:h(i,34,1.235,.25),h5:h(i,24,1.334,0),h6:h(s,20,1.6,.15),subtitle1:h(i,16,1.75,.15),subtitle2:h(s,14,1.57,.1),body1:h(i,16,1.5,.15),body2:h(i,14,1.43,.15),button:h(s,14,1.75,.4,Yn),caption:h(i,12,1.66,.4),overline:h(i,12,2.66,1,Yn),inherit:{fontFamily:"inherit",fontWeight:"inherit",fontSize:"inherit",lineHeight:"inherit",letterSpacing:"inherit"}};return vr(mr({htmlFontSize:c,pxToRem:m,fontFamily:n,fontSize:o,fontWeightLight:a,fontWeightRegular:i,fontWeightMedium:s,fontWeightBold:l},g),p,{clone:!1})}function qn(...e){return[`${e[0]}px ${e[1]}px ${e[2]}px ${e[3]}px rgba(0,0,0,0.2)`,`${e[4]}px ${e[5]}px ${e[6]}px ${e[7]}px rgba(0,0,0,0.14)`,`${e[8]}px ${e[9]}px ${e[10]}px ${e[11]}px rgba(0,0,0,0.12)`].join(",")}const Jn=["none",qn(0,2,1,-1,0,1,1,0,0,1,3,0),qn(0,3,1,-2,0,2,2,0,0,1,5,0),qn(0,3,3,-2,0,3,4,0,0,1,8,0),qn(0,2,4,-1,0,4,5,0,0,1,10,0),qn(0,3,5,-1,0,5,8,0,0,1,14,0),qn(0,3,5,-1,0,6,10,0,0,1,18,0),qn(0,4,5,-2,0,7,10,1,0,2,16,1),qn(0,5,5,-3,0,8,10,1,0,3,14,2),qn(0,5,6,-3,0,9,12,1,0,3,16,2),qn(0,6,6,-3,0,10,14,1,0,4,18,3),qn(0,6,7,-4,0,11,15,1,0,4,20,3),qn(0,7,8,-4,0,12,17,2,0,5,22,4),qn(0,7,8,-4,0,13,19,2,0,5,24,4),qn(0,7,9,-4,0,14,21,2,0,5,26,4),qn(0,8,9,-5,0,15,22,2,0,6,28,5),qn(0,8,10,-5,0,16,24,2,0,6,30,5),qn(0,8,11,-5,0,17,26,2,0,6,32,5),qn(0,9,11,-5,0,18,28,2,0,7,34,6),qn(0,9,12,-6,0,19,29,2,0,7,36,6),qn(0,10,13,-6,0,20,31,3,0,8,38,7),qn(0,10,13,-6,0,21,33,3,0,8,40,7),qn(0,10,14,-6,0,22,35,3,0,8,42,7),qn(0,11,14,-7,0,23,36,3,0,9,44,8),qn(0,11,15,-7,0,24,38,3,0,9,46,8)],Zn=["duration","easing","delay"],Qn={easeInOut:"cubic-bezier(0.4, 0, 0.2, 1)",easeOut:"cubic-bezier(0.0, 0, 0.2, 1)",easeIn:"cubic-bezier(0.4, 0, 1, 1)",sharp:"cubic-bezier(0.4, 0, 0.6, 1)"},eo={shortest:150,shorter:200,short:250,standard:300,complex:375,enteringScreen:225,leavingScreen:195};function to(e){return`${Math.round(e)}ms`}function ro(e){if(!e)return 0;const t=e/36;return Math.round(10*(4+15*t**.25+t/5))}function no(e){const t=mr({},Qn,e.easing),r=mr({},eo,e.duration);return mr({getAutoHeightDuration:ro,create:(e=["all"],n={})=>{const{duration:o=r.standard,easing:a=t.easeInOut,delay:i=0}=n;hr(n,Zn);return(Array.isArray(e)?e:[e]).map((e=>`${e} ${"string"==typeof o?o:to(o)} ${a} ${"string"==typeof i?i:to(i)}`)).join(",")}},e,{easing:t,duration:r})}const oo={mobileStepper:1e3,fab:1050,speedDial:1050,appBar:1100,drawer:1200,modal:1300,snackbar:1400,tooltip:1500},ao=["breakpoints","mixins","spacing","palette","transitions","typography","shape"];function io(e={},...t){const{mixins:r={},palette:n={},transitions:o={},typography:a={}}=e,i=hr(e,ao);if(e.vars)throw new Error(gr(18));const s=Gn(n),l=En(e);let c=vr(l,{mixins:Tn(l.breakpoints,r),palette:s,shadows:Jn.slice(),typography:Xn(s,a),transitions:no(o),zIndex:mr({},oo)});return c=vr(c,i),c=t.reduce(((e,t)=>vr(e,t)),c),c.unstable_sxConfig=mr({},xn,null==i?void 0:i.unstable_sxConfig),c.unstable_sx=function(e){return kn({sx:e,theme:this})},c}const so=io;const lo=t.createContext(null);function co(){return t.useContext(lo)}const uo="function"==typeof Symbol&&Symbol.for?Symbol.for("mui.nested"):"__THEME_NESTED__";const po=function(r){const{children:n,theme:o}=r,a=co(),i=t.useMemo((()=>{const e=null===a?o:function(e,t){if("function"==typeof t)return t(e);return mr({},e,t)}(a,o);return null!=e&&(e[uo]=null!==a),e}),[o,a]);return(0,e.jsx)(lo.Provider,{value:i,children:n})};const fo=function(e=null){const r=t.useContext(Ce);return r&&(n=r,0!==Object.keys(n).length)?r:e;var n},mo={};function ho(e,r,n,o=!1){return t.useMemo((()=>{const t=e&&r[e]||r;if("function"==typeof n){const a=n(t),i=e?mr({},r,{[e]:a}):a;return o?()=>i:i}return mr({},r,e?{[e]:n}:n)}),[e,r,n,o])}const go=function(t){const{children:r,theme:n,themeId:o}=t,a=fo(mo),i=co()||mo,s=ho(o,a,n),l=ho(o,i,n,!0);return(0,e.jsx)(po,{theme:l,children:(0,e.jsx)(Ce.Provider,{value:s,children:r})})},yo="$$material",bo=["theme"];function vo(t){let{theme:r}=t,n=hr(t,bo);const o=r[yo];return(0,e.jsx)(go,mr({},n,{themeId:o?yo:void 0,theme:o||r}))}var xo=Array(25).fill("none");xo[1]="0px 0px 6px 0px rgba(17, 17, 17, 0.04) 0px 4px 8px 0px rgba(17, 17, 17, 0.04)",xo[2]="0px 2px 4px 0px rgba(17, 17, 17, 0.04), 0px 8px 32px 0px rgba(33, 33, 33, 0.08)",xo[3]="0px 2px 4px 0px rgba(17, 17, 17, 0.02), 0px 4px 8px 0px rgba(17, 17, 17, 0.03), 0px 8px 24px 0px rgba(17, 17, 17, 0.04), 0px 32px 80px 0px rgba(17, 17, 17, 0.08)";var wo={container:"fixed","container-fluid":"full",custom:"custom"};const ko=function(e){var t=e.defaultBaseTextSize,r=e.defaultBodyFont,n=(e.defaultBodyFontWeight,e.defaultBodyTextColor),o=e.defaultButtonBackgroundColor,a=e.defaultButtonRoundness,i=e.defaultButtonTextColor,s=e.defaultContainerStyle,l=(e.defaultTitleFont,e.defaultTitleFontWeight,o||"#F6C944"),c=i||"#424242",u=e.defaultTitleTextColor||"#424242",d=n||"#424242",p=parseInt((t||"16").replace("px",""),10);return{breakpoints:{values:{xs:0,sm:576,md:768,lg:992,xl:1200}},palette:{primary:{main:o||"#F6C944",dark:l,light:l,contrastText:c},secondary:{main:"#C2C2C2",contrastText:"#424242"},error:{main:"#BF2600"},text:{primary:u,secondary:d,disabled:"#C2C2C2"}},width:wo[s],typography:{fontFamily:r||"Inter",fontSize:p,remToPx:function(e){return e*p}},shape:{borderRadius:8},shadows:xo,components:{MuiPaper:{styleOverrides:{root:{boxShadow:"0px 8px 32px rgba(33, 33, 33, 0.08), 0px 2px 4px rgba(33, 33, 33, 0.04)"}}},MuiButtonBase:{styleOverrides:{root:{"&:focus":{outline:"none"}}}},MuiButton:{styleOverrides:{root:{borderRadius:a||8,padding:"8px 16px",lineHeight:"unset",fontFamily:r,textTransform:"none","&:focus":{outline:"none"},"&:hover":{},"&:active":{outline:"none"}},sizeLarge:{padding:"12px 24px"},outlinedSecondary:{borderColor:"#C2C2C2",color:"#424242"}}},MuiInputAdornment:{styleOverrides:{root:{"& .MuiButton-root":{borderRadius:"50%"}}}},MuiAutocomplete:{styleOverrides:{root:{"& .MuiInputBase-root":{padding:"1px 10px"},"& .MuiAutocomplete-popupIndicator":{"&:hover":{background:"none"},cursor:"default",fontSize:"16px"}},endAdornment:{"&&&":{right:"12px",paddingTop:"2px"}},popper:{paddingTop:"4px"},listbox:{"& .MuiAutocomplete-option":{padding:"8px 16px"}}}},MuiChip:{styleOverrides:{root:{borderRadius:4},label:{fontSize:"12px",padding:"3px 4px"}}},MuiSelect:{styleOverrides:{select:{"&":{paddingLeft:"0.5rem",paddingRight:"2rem"}}}},MuiRating:{styleOverrides:{iconEmpty:{"& svg":{fill:"#FFC400"}}}},MuiToolbar:{styleOverrides:{dense:{minHeight:32}}},MuiAccordion:{styleOverrides:{root:{"&:before":{display:"none"}}}},MuiInputBase:{styleOverrides:{root:{"& fieldset.MuiOutlinedInput-notchedOutline":{borderColor:"#C2C2C2","& legend":{width:"auto"}},"&:hover .MuiOutlinedInput-notchedOutline":{borderColor:"#616161"},"&:active fieldset.MuiOutlinedInput-notchedOutline":{borderColor:"#0A0A0A",borderWidth:1},"&.Mui-focused fieldset.MuiOutlinedInput-notchedOutline":{borderColor:"#0A0A0A",borderWidth:1},"& input":{padding:"8px 12px"},"&.MuiInputBase-adornedStart input":{paddingLeft:0},"&.Mui-error fieldset.MuiOutlinedInput-notchedOutline":{borderColor:"#BF2600"},"&.Mui-error:hover fieldset.MuiOutlinedInput-notchedOutline":{borderColor:"#BF2600"},"&.Mui-error:active .MuiOutlinedInput-notchedOutline":{borderColor:"#BF2600",borderWidth:1},"&.Mui-error.Mui-focused .MuiOutlinedInput-notchedOutline":{borderColor:"#BF2600",borderWidth:1}},multiline:{"&&&":{padding:"8px 12px"}},input:{color:"#424242",textOverflow:"ellipsis","&::placeholder":{color:"#9E9E9E"}}}}}}},So=react_dom18;var{entries:Eo,setPrototypeOf:To,isFrozen:Oo,getPrototypeOf:Co,getOwnPropertyDescriptor:Mo}=Object,{freeze:Ao,seal:Ro,create:No}=Object,{apply:_o,construct:Io}="undefined"!=typeof Reflect&&Reflect;Ao||(Ao=function(e){return e}),Ro||(Ro=function(e){return e}),_o||(_o=function(e,t,r){return e.apply(t,r)}),Io||(Io=function(e,t){return new e(...t)});var Po=Vo(Array.prototype.forEach),$o=Vo(Array.prototype.pop),Fo=Vo(Array.prototype.push),Lo=Vo(String.prototype.toLowerCase),zo=Vo(String.prototype.toString),jo=Vo(String.prototype.match),Do=Vo(String.prototype.replace),Bo=Vo(String.prototype.indexOf),Wo=Vo(String.prototype.trim),Ho=Vo(Object.prototype.hasOwnProperty),Uo=Vo(RegExp.prototype.test),Go=function(e){return function(){for(var t=arguments.length,r=new Array(t),n=0;n<t;n++)r[n]=arguments[n];return Io(e,r)}}(TypeError);function Vo(e){return function(t){for(var r=arguments.length,n=new Array(r>1?r-1:0),o=1;o<r;o++)n[o-1]=arguments[o];return _o(e,t,n)}}function Yo(e,t){let r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:Lo;To&&To(e,null);let n=t.length;for(;n--;){let o=t[n];if("string"==typeof o){let e=r(o);e!==o&&(Oo(t)||(t[n]=e),o=e)}e[o]=!0}return e}function Ko(e){for(let t=0;t<e.length;t++)Ho(e,t)||(e[t]=null);return e}function Xo(e){let t=No(null);for(let[r,n]of Eo(e))Ho(e,r)&&(Array.isArray(n)?t[r]=Ko(n):n&&"object"==typeof n&&n.constructor===Object?t[r]=Xo(n):t[r]=n);return t}function qo(e,t){for(;null!==e;){let r=Mo(e,t);if(r){if(r.get)return Vo(r.get);if("function"==typeof r.value)return Vo(r.value)}e=Co(e)}return function(){return null}}var Jo=Ao(["a","abbr","acronym","address","area","article","aside","audio","b","bdi","bdo","big","blink","blockquote","body","br","button","canvas","caption","center","cite","code","col","colgroup","content","data","datalist","dd","decorator","del","details","dfn","dialog","dir","div","dl","dt","element","em","fieldset","figcaption","figure","font","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","img","input","ins","kbd","label","legend","li","main","map","mark","marquee","menu","menuitem","meter","nav","nobr","ol","optgroup","option","output","p","picture","pre","progress","q","rp","rt","ruby","s","samp","section","select","shadow","small","source","spacer","span","strike","strong","style","sub","summary","sup","table","tbody","td","template","textarea","tfoot","th","thead","time","tr","track","tt","u","ul","var","video","wbr"]),Zo=Ao(["svg","a","altglyph","altglyphdef","altglyphitem","animatecolor","animatemotion","animatetransform","circle","clippath","defs","desc","ellipse","filter","font","g","glyph","glyphref","hkern","image","line","lineargradient","marker","mask","metadata","mpath","path","pattern","polygon","polyline","radialgradient","rect","stop","style","switch","symbol","text","textpath","title","tref","tspan","view","vkern"]),Qo=Ao(["feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feDropShadow","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence"]),ea=Ao(["animate","color-profile","cursor","discard","font-face","font-face-format","font-face-name","font-face-src","font-face-uri","foreignobject","hatch","hatchpath","mesh","meshgradient","meshpatch","meshrow","missing-glyph","script","set","solidcolor","unknown","use"]),ta=Ao(["math","menclose","merror","mfenced","mfrac","mglyph","mi","mlabeledtr","mmultiscripts","mn","mo","mover","mpadded","mphantom","mroot","mrow","ms","mspace","msqrt","mstyle","msub","msup","msubsup","mtable","mtd","mtext","mtr","munder","munderover","mprescripts"]),ra=Ao(["maction","maligngroup","malignmark","mlongdiv","mscarries","mscarry","msgroup","mstack","msline","msrow","semantics","annotation","annotation-xml","mprescripts","none"]),na=Ao(["#text"]),oa=Ao(["accept","action","align","alt","autocapitalize","autocomplete","autopictureinpicture","autoplay","background","bgcolor","border","capture","cellpadding","cellspacing","checked","cite","class","clear","color","cols","colspan","controls","controlslist","coords","crossorigin","datetime","decoding","default","dir","disabled","disablepictureinpicture","disableremoteplayback","download","draggable","enctype","enterkeyhint","face","for","headers","height","hidden","high","href","hreflang","id","inputmode","integrity","ismap","kind","label","lang","list","loading","loop","low","max","maxlength","media","method","min","minlength","multiple","muted","name","nonce","noshade","novalidate","nowrap","open","optimum","pattern","placeholder","playsinline","poster","preload","pubdate","radiogroup","readonly","rel","required","rev","reversed","role","rows","rowspan","spellcheck","scope","selected","shape","size","sizes","span","srclang","start","src","srcset","step","style","summary","tabindex","title","translate","type","usemap","valign","value","width","xmlns","slot"]),aa=Ao(["accent-height","accumulate","additive","alignment-baseline","ascent","attributename","attributetype","azimuth","basefrequency","baseline-shift","begin","bias","by","class","clip","clippathunits","clip-path","clip-rule","color","color-interpolation","color-interpolation-filters","color-profile","color-rendering","cx","cy","d","dx","dy","diffuseconstant","direction","display","divisor","dur","edgemode","elevation","end","fill","fill-opacity","fill-rule","filter","filterunits","flood-color","flood-opacity","font-family","font-size","font-size-adjust","font-stretch","font-style","font-variant","font-weight","fx","fy","g1","g2","glyph-name","glyphref","gradientunits","gradienttransform","height","href","id","image-rendering","in","in2","k","k1","k2","k3","k4","kerning","keypoints","keysplines","keytimes","lang","lengthadjust","letter-spacing","kernelmatrix","kernelunitlength","lighting-color","local","marker-end","marker-mid","marker-start","markerheight","markerunits","markerwidth","maskcontentunits","maskunits","max","mask","media","method","mode","min","name","numoctaves","offset","operator","opacity","order","orient","orientation","origin","overflow","paint-order","path","pathlength","patterncontentunits","patterntransform","patternunits","points","preservealpha","preserveaspectratio","primitiveunits","r","rx","ry","radius","refx","refy","repeatcount","repeatdur","restart","result","rotate","scale","seed","shape-rendering","specularconstant","specularexponent","spreadmethod","startoffset","stddeviation","stitchtiles","stop-color","stop-opacity","stroke-dasharray","stroke-dashoffset","stroke-linecap","stroke-linejoin","stroke-miterlimit","stroke-opacity","stroke","stroke-width","style","surfacescale","systemlanguage","tabindex","targetx","targety","transform","transform-origin","text-anchor","text-decoration","text-rendering","textlength","type","u1","u2","unicode","values","viewbox","visibility","version","vert-adv-y","vert-origin-x","vert-origin-y","width","word-spacing","wrap","writing-mode","xchannelselector","ychannelselector","x","x1","x2","xmlns","y","y1","y2","z","zoomandpan"]),ia=Ao(["accent","accentunder","align","bevelled","close","columnsalign","columnlines","columnspan","denomalign","depth","dir","display","displaystyle","encoding","fence","frame","height","href","id","largeop","length","linethickness","lspace","lquote","mathbackground","mathcolor","mathsize","mathvariant","maxsize","minsize","movablelimits","notation","numalign","open","rowalign","rowlines","rowspacing","rowspan","rspace","rquote","scriptlevel","scriptminsize","scriptsizemultiplier","selection","separator","separators","stretchy","subscriptshift","supscriptshift","symmetric","voffset","width","xmlns"]),sa=Ao(["xlink:href","xml:id","xlink:title","xml:space","xmlns:xlink"]),la=Ro(/\{\{[\w\W]*|[\w\W]*\}\}/gm),ca=Ro(/<%[\w\W]*|[\w\W]*%>/gm),ua=Ro(/\${[\w\W]*}/gm),da=Ro(/^data-[\-\w.\u00B7-\uFFFF]/),pa=Ro(/^aria-[\-\w]+$/),fa=Ro(/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|sms|cid|xmpp):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i),ma=Ro(/^(?:\w+script|data):/i),ha=Ro(/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g),ga=Ro(/^html$/i),ya=Ro(/^[a-z][a-z\d]*(-[a-z\d]+)+$/i),ba=Object.freeze({__proto__:null,MUSTACHE_EXPR:la,ERB_EXPR:ca,TMPLIT_EXPR:ua,DATA_ATTR:da,ARIA_ATTR:pa,IS_ALLOWED_URI:fa,IS_SCRIPT_OR_DATA:ma,ATTR_WHITESPACE:ha,DOCTYPE_NAME:ga,CUSTOM_ELEMENT:ya});var va=function e(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"undefined"==typeof window?null:window,r=t=>e(t);if(r.version="3.0.10",r.removed=[],!t||!t.document||9!==t.document.nodeType)return r.isSupported=!1,r;let{document:n}=t,o=n,a=o.currentScript,{DocumentFragment:i,HTMLTemplateElement:s,Node:l,Element:c,NodeFilter:u,NamedNodeMap:d=t.NamedNodeMap||t.MozNamedAttrMap,HTMLFormElement:p,DOMParser:f,trustedTypes:m}=t,h=c.prototype,g=qo(h,"cloneNode"),y=qo(h,"nextSibling"),b=qo(h,"childNodes"),v=qo(h,"parentNode");if("function"==typeof s){let e=n.createElement("template");e.content&&e.content.ownerDocument&&(n=e.content.ownerDocument)}let x,w="",{implementation:k,createNodeIterator:S,createDocumentFragment:E,getElementsByTagName:T}=n,{importNode:O}=o,C={};r.isSupported="function"==typeof Eo&&"function"==typeof v&&k&&void 0!==k.createHTMLDocument;let{MUSTACHE_EXPR:M,ERB_EXPR:A,TMPLIT_EXPR:R,DATA_ATTR:N,ARIA_ATTR:_,IS_SCRIPT_OR_DATA:I,ATTR_WHITESPACE:P,CUSTOM_ELEMENT:$}=ba,{IS_ALLOWED_URI:F}=ba,L=null,z=Yo({},[...Jo,...Zo,...Qo,...ta,...na]),j=null,D=Yo({},[...oa,...aa,...ia,...sa]),B=Object.seal(No(null,{tagNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},attributeNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},allowCustomizedBuiltInElements:{writable:!0,configurable:!1,enumerable:!0,value:!1}})),W=null,H=null,U=!0,G=!0,V=!1,Y=!0,K=!1,X=!1,q=!1,J=!1,Z=!1,Q=!1,ee=!1,te=!0,re=!1,ne=!0,oe=!1,ae={},ie=null,se=Yo({},["annotation-xml","audio","colgroup","desc","foreignobject","head","iframe","math","mi","mn","mo","ms","mtext","noembed","noframes","noscript","plaintext","script","style","svg","template","thead","title","video","xmp"]),le=null,ce=Yo({},["audio","video","img","source","image","track"]),ue=null,de=Yo({},["alt","class","for","id","label","name","pattern","placeholder","role","summary","title","value","style","xmlns"]),pe="http://www.w3.org/1998/Math/MathML",fe="http://www.w3.org/2000/svg",me="http://www.w3.org/1999/xhtml",he=me,ge=!1,ye=null,be=Yo({},[pe,fe,me],zo),ve=null,xe=["application/xhtml+xml","text/html"],we=null,ke=null,Se=n.createElement("form"),Ee=function(e){return e instanceof RegExp||e instanceof Function},Te=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};if(!ke||ke!==e){if((!e||"object"!=typeof e)&&(e={}),e=Xo(e),ve=-1===xe.indexOf(e.PARSER_MEDIA_TYPE)?"text/html":e.PARSER_MEDIA_TYPE,we="application/xhtml+xml"===ve?zo:Lo,L=Ho(e,"ALLOWED_TAGS")?Yo({},e.ALLOWED_TAGS,we):z,j=Ho(e,"ALLOWED_ATTR")?Yo({},e.ALLOWED_ATTR,we):D,ye=Ho(e,"ALLOWED_NAMESPACES")?Yo({},e.ALLOWED_NAMESPACES,zo):be,ue=Ho(e,"ADD_URI_SAFE_ATTR")?Yo(Xo(de),e.ADD_URI_SAFE_ATTR,we):de,le=Ho(e,"ADD_DATA_URI_TAGS")?Yo(Xo(ce),e.ADD_DATA_URI_TAGS,we):ce,ie=Ho(e,"FORBID_CONTENTS")?Yo({},e.FORBID_CONTENTS,we):se,W=Ho(e,"FORBID_TAGS")?Yo({},e.FORBID_TAGS,we):{},H=Ho(e,"FORBID_ATTR")?Yo({},e.FORBID_ATTR,we):{},ae=!!Ho(e,"USE_PROFILES")&&e.USE_PROFILES,U=!1!==e.ALLOW_ARIA_ATTR,G=!1!==e.ALLOW_DATA_ATTR,V=e.ALLOW_UNKNOWN_PROTOCOLS||!1,Y=!1!==e.ALLOW_SELF_CLOSE_IN_ATTR,K=e.SAFE_FOR_TEMPLATES||!1,X=e.WHOLE_DOCUMENT||!1,Z=e.RETURN_DOM||!1,Q=e.RETURN_DOM_FRAGMENT||!1,ee=e.RETURN_TRUSTED_TYPE||!1,J=e.FORCE_BODY||!1,te=!1!==e.SANITIZE_DOM,re=e.SANITIZE_NAMED_PROPS||!1,ne=!1!==e.KEEP_CONTENT,oe=e.IN_PLACE||!1,F=e.ALLOWED_URI_REGEXP||fa,he=e.NAMESPACE||me,B=e.CUSTOM_ELEMENT_HANDLING||{},e.CUSTOM_ELEMENT_HANDLING&&Ee(e.CUSTOM_ELEMENT_HANDLING.tagNameCheck)&&(B.tagNameCheck=e.CUSTOM_ELEMENT_HANDLING.tagNameCheck),e.CUSTOM_ELEMENT_HANDLING&&Ee(e.CUSTOM_ELEMENT_HANDLING.attributeNameCheck)&&(B.attributeNameCheck=e.CUSTOM_ELEMENT_HANDLING.attributeNameCheck),e.CUSTOM_ELEMENT_HANDLING&&"boolean"==typeof e.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements&&(B.allowCustomizedBuiltInElements=e.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements),K&&(G=!1),Q&&(Z=!0),ae&&(L=Yo({},na),j=[],!0===ae.html&&(Yo(L,Jo),Yo(j,oa)),!0===ae.svg&&(Yo(L,Zo),Yo(j,aa),Yo(j,sa)),!0===ae.svgFilters&&(Yo(L,Qo),Yo(j,aa),Yo(j,sa)),!0===ae.mathMl&&(Yo(L,ta),Yo(j,ia),Yo(j,sa))),e.ADD_TAGS&&(L===z&&(L=Xo(L)),Yo(L,e.ADD_TAGS,we)),e.ADD_ATTR&&(j===D&&(j=Xo(j)),Yo(j,e.ADD_ATTR,we)),e.ADD_URI_SAFE_ATTR&&Yo(ue,e.ADD_URI_SAFE_ATTR,we),e.FORBID_CONTENTS&&(ie===se&&(ie=Xo(ie)),Yo(ie,e.FORBID_CONTENTS,we)),ne&&(L["#text"]=!0),X&&Yo(L,["html","head","body"]),L.table&&(Yo(L,["tbody"]),delete W.tbody),e.TRUSTED_TYPES_POLICY){if("function"!=typeof e.TRUSTED_TYPES_POLICY.createHTML)throw Go('TRUSTED_TYPES_POLICY configuration option must provide a "createHTML" hook.');if("function"!=typeof e.TRUSTED_TYPES_POLICY.createScriptURL)throw Go('TRUSTED_TYPES_POLICY configuration option must provide a "createScriptURL" hook.');x=e.TRUSTED_TYPES_POLICY,w=x.createHTML("")}else void 0===x&&(x=function(e,t){if("object"!=typeof e||"function"!=typeof e.createPolicy)return null;let r=null,n="data-tt-policy-suffix";t&&t.hasAttribute(n)&&(r=t.getAttribute(n));let o="dompurify"+(r?"#"+r:"");try{return e.createPolicy(o,{createHTML:e=>e,createScriptURL:e=>e})}catch(s){return console.warn("TrustedTypes policy "+o+" could not be created."),null}}(m,a)),null!==x&&"string"==typeof w&&(w=x.createHTML(""));Ao&&Ao(e),ke=e}},Oe=Yo({},["mi","mo","mn","ms","mtext"]),Ce=Yo({},["foreignobject","desc","title","annotation-xml"]),Me=Yo({},["title","style","font","a","script"]),Ae=Yo({},[...Zo,...Qo,...ea]),Re=Yo({},[...ta,...ra]),Ne=function(e){Fo(r.removed,{element:e});try{e.parentNode.removeChild(e)}catch(t){e.remove()}},_e=function(e,t){try{Fo(r.removed,{attribute:t.getAttributeNode(e),from:t})}catch(n){Fo(r.removed,{attribute:null,from:t})}if(t.removeAttribute(e),"is"===e&&!j[e])if(Z||Q)try{Ne(t)}catch(n){}else try{t.setAttribute(e,"")}catch(n){}},Ie=function(e){let t=null,r=null;if(J)e="<remove></remove>"+e;else{let t=jo(e,/^[\r\n\t ]+/);r=t&&t[0]}"application/xhtml+xml"===ve&&he===me&&(e='<html xmlns="http://www.w3.org/1999/xhtml"><head></head><body>'+e+"</body></html>");let o=x?x.createHTML(e):e;if(he===me)try{t=(new f).parseFromString(o,ve)}catch(i){}if(!t||!t.documentElement){t=k.createDocument(he,"template",null);try{t.documentElement.innerHTML=ge?w:o}catch(i){}}let a=t.body||t.documentElement;return e&&r&&a.insertBefore(n.createTextNode(r),a.childNodes[0]||null),he===me?T.call(t,X?"html":"body")[0]:X?t.documentElement:a},Pe=function(e){return S.call(e.ownerDocument||e,e,u.SHOW_ELEMENT|u.SHOW_COMMENT|u.SHOW_TEXT|u.SHOW_PROCESSING_INSTRUCTION,null)},$e=function(e){return"function"==typeof l&&e instanceof l},Fe=function(e,t,n){C[e]&&Po(C[e],(e=>{e.call(r,t,n,ke)}))},Le=function(e){let t=null;if(Fe("beforeSanitizeElements",e,null),function(e){return e instanceof p&&("string"!=typeof e.nodeName||"string"!=typeof e.textContent||"function"!=typeof e.removeChild||!(e.attributes instanceof d)||"function"!=typeof e.removeAttribute||"function"!=typeof e.setAttribute||"string"!=typeof e.namespaceURI||"function"!=typeof e.insertBefore||"function"!=typeof e.hasChildNodes)}(e))return Ne(e),!0;let n=we(e.nodeName);if(Fe("uponSanitizeElement",e,{tagName:n,allowedTags:L}),e.hasChildNodes()&&!$e(e.firstElementChild)&&Uo(/<[/\w]/g,e.innerHTML)&&Uo(/<[/\w]/g,e.textContent))return Ne(e),!0;if(!L[n]||W[n]){if(!W[n]&&je(n)&&(B.tagNameCheck instanceof RegExp&&Uo(B.tagNameCheck,n)||B.tagNameCheck instanceof Function&&B.tagNameCheck(n)))return!1;if(ne&&!ie[n]){let t=v(e)||e.parentNode,r=b(e)||e.childNodes;if(r&&t){for(let n=r.length-1;n>=0;--n)t.insertBefore(g(r[n],!0),y(e))}}return Ne(e),!0}return e instanceof c&&!function(e){let t=v(e);(!t||!t.tagName)&&(t={namespaceURI:he,tagName:"template"});let r=Lo(e.tagName),n=Lo(t.tagName);return!!ye[e.namespaceURI]&&(e.namespaceURI===fe?t.namespaceURI===me?"svg"===r:t.namespaceURI===pe?"svg"===r&&("annotation-xml"===n||Oe[n]):!!Ae[r]:e.namespaceURI===pe?t.namespaceURI===me?"math"===r:t.namespaceURI===fe?"math"===r&&Ce[n]:!!Re[r]:e.namespaceURI===me?!(t.namespaceURI===fe&&!Ce[n]||t.namespaceURI===pe&&!Oe[n])&&!Re[r]&&(Me[r]||!Ae[r]):!("application/xhtml+xml"!==ve||!ye[e.namespaceURI]))}(e)||("noscript"===n||"noembed"===n||"noframes"===n)&&Uo(/<\/no(script|embed|frames)/i,e.innerHTML)?(Ne(e),!0):(K&&3===e.nodeType&&(t=e.textContent,Po([M,A,R],(e=>{t=Do(t,e," ")})),e.textContent!==t&&(Fo(r.removed,{element:e.cloneNode()}),e.textContent=t)),Fe("afterSanitizeElements",e,null),!1)},ze=function(e,t,r){if(te&&("id"===t||"name"===t)&&(r in n||r in Se))return!1;if((!G||H[t]||!Uo(N,t))&&(!U||!Uo(_,t)))if(!j[t]||H[t]){if(!(je(e)&&(B.tagNameCheck instanceof RegExp&&Uo(B.tagNameCheck,e)||B.tagNameCheck instanceof Function&&B.tagNameCheck(e))&&(B.attributeNameCheck instanceof RegExp&&Uo(B.attributeNameCheck,t)||B.attributeNameCheck instanceof Function&&B.attributeNameCheck(t))||"is"===t&&B.allowCustomizedBuiltInElements&&(B.tagNameCheck instanceof RegExp&&Uo(B.tagNameCheck,r)||B.tagNameCheck instanceof Function&&B.tagNameCheck(r))))return!1}else if(!ue[t]&&!Uo(F,Do(r,P,""))&&("src"!==t&&"xlink:href"!==t&&"href"!==t||"script"===e||0!==Bo(r,"data:")||!le[e])&&(!V||Uo(I,Do(r,P,"")))&&r)return!1;return!0},je=function(e){return"annotation-xml"!==e&&jo(e,$)},De=function(e){Fe("beforeSanitizeAttributes",e,null);let{attributes:t}=e;if(!t)return;let n={attrName:"",attrValue:"",keepAttr:!0,allowedAttributes:j},o=t.length;for(;o--;){let i=t[o],{name:s,namespaceURI:l,value:c}=i,u=we(s),d="value"===s?c:Wo(c);if(n.attrName=u,n.attrValue=d,n.keepAttr=!0,n.forceKeepAttr=void 0,Fe("uponSanitizeAttribute",e,n),d=n.attrValue,n.forceKeepAttr||(_e(s,e),!n.keepAttr))continue;if(!Y&&Uo(/\/>/i,d)){_e(s,e);continue}K&&Po([M,A,R],(e=>{d=Do(d,e," ")}));let p=we(e.nodeName);if(ze(p,u,d)){if(re&&("id"===u||"name"===u)&&(_e(s,e),d="user-content-"+d),x&&"object"==typeof m&&"function"==typeof m.getAttributeType&&!l)switch(m.getAttributeType(p,u)){case"TrustedHTML":d=x.createHTML(d);break;case"TrustedScriptURL":d=x.createScriptURL(d)}try{l?e.setAttributeNS(l,s,d):e.setAttribute(s,d),$o(r.removed)}catch(a){}}}Fe("afterSanitizeAttributes",e,null)},Be=function e(t){let r=null,n=Pe(t);for(Fe("beforeSanitizeShadowDOM",t,null);r=n.nextNode();)Fe("uponSanitizeShadowNode",r,null),!Le(r)&&(r.content instanceof i&&e(r.content),De(r));Fe("afterSanitizeShadowDOM",t,null)};return r.sanitize=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=null,a=null,s=null,c=null;if(ge=!e,ge&&(e="\x3c!--\x3e"),"string"!=typeof e&&!$e(e)){if("function"!=typeof e.toString)throw Go("toString is not a function");if("string"!=typeof(e=e.toString()))throw Go("dirty is not a string, aborting")}if(!r.isSupported)return e;if(q||Te(t),r.removed=[],"string"==typeof e&&(oe=!1),oe){if(e.nodeName){let t=we(e.nodeName);if(!L[t]||W[t])throw Go("root node is forbidden and cannot be sanitized in-place")}}else if(e instanceof l)n=Ie("\x3c!----\x3e"),a=n.ownerDocument.importNode(e,!0),1===a.nodeType&&"BODY"===a.nodeName||"HTML"===a.nodeName?n=a:n.appendChild(a);else{if(!Z&&!K&&!X&&-1===e.indexOf("<"))return x&&ee?x.createHTML(e):e;if(n=Ie(e),!n)return Z?null:ee?w:""}n&&J&&Ne(n.firstChild);let u=Pe(oe?e:n);for(;s=u.nextNode();)Le(s)||(s.content instanceof i&&Be(s.content),De(s));if(oe)return e;if(Z){if(Q)for(c=E.call(n.ownerDocument);n.firstChild;)c.appendChild(n.firstChild);else c=n;return(j.shadowroot||j.shadowrootmode)&&(c=O.call(o,c,!0)),c}let d=X?n.outerHTML:n.innerHTML;return X&&L["!doctype"]&&n.ownerDocument&&n.ownerDocument.doctype&&n.ownerDocument.doctype.name&&Uo(ga,n.ownerDocument.doctype.name)&&(d="<!DOCTYPE "+n.ownerDocument.doctype.name+">\n"+d),K&&Po([M,A,R],(e=>{d=Do(d,e," ")})),x&&ee?x.createHTML(d):d},r.setConfig=function(){Te(arguments.length>0&&void 0!==arguments[0]?arguments[0]:{}),q=!0},r.clearConfig=function(){ke=null,q=!1},r.isValidAttribute=function(e,t,r){ke||Te({});let n=we(e),o=we(t);return ze(n,o,r)},r.addHook=function(e,t){"function"==typeof t&&(C[e]=C[e]||[],Fo(C[e],t))},r.removeHook=function(e){if(C[e])return $o(C[e])},r.removeHooks=function(e){C[e]&&(C[e]=[])},r.removeAllHooks=function(){C={}},r}(),xa=Array(12).fill(0),wa=({visible:e})=>t.createElement("div",{className:"sonner-loading-wrapper","data-visible":e},t.createElement("div",{className:"sonner-spinner"},xa.map(((e,r)=>t.createElement("div",{className:"sonner-loading-bar",key:`spinner-bar-${r}`}))))),ka=t.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor",height:"20",width:"20"},t.createElement("path",{fillRule:"evenodd",d:"M10 18a8 8 0 100-16 8 8 0 000 16zm3.857-9.809a.75.75 0 00-1.214-.882l-3.483 4.79-1.88-1.88a.75.75 0 10-1.06 1.061l2.5 2.5a.75.75 0 001.137-.089l4-5.5z",clipRule:"evenodd"})),Sa=t.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor",height:"20",width:"20"},t.createElement("path",{fillRule:"evenodd",d:"M9.401 3.003c1.155-2 4.043-2 5.197 0l7.355 12.748c1.154 2-.29 4.5-2.599 4.5H4.645c-2.309 0-3.752-2.5-2.598-4.5L9.4 3.003zM12 8.25a.75.75 0 01.75.75v3.75a.75.75 0 01-1.5 0V9a.75.75 0 01.75-.75zm0 8.25a.75.75 0 100-1.5.75.75 0 000 1.5z",clipRule:"evenodd"})),Ea=t.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor",height:"20",width:"20"},t.createElement("path",{fillRule:"evenodd",d:"M18 10a8 8 0 11-16 0 8 8 0 0116 0zm-7-4a1 1 0 11-2 0 1 1 0 012 0zM9 9a.75.75 0 000 1.5h.253a.25.25 0 01.244.304l-.459 2.066A1.75 1.75 0 0010.747 15H11a.75.75 0 000-1.5h-.253a.25.25 0 01-.244-.304l.459-2.066A1.75 1.75 0 009.253 9H9z",clipRule:"evenodd"})),Ta=t.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor",height:"20",width:"20"},t.createElement("path",{fillRule:"evenodd",d:"M18 10a8 8 0 11-16 0 8 8 0 0116 0zm-8-5a.75.75 0 01.75.75v4.5a.75.75 0 01-1.5 0v-4.5A.75.75 0 0110 5zm0 10a1 1 0 100-2 1 1 0 000 2z",clipRule:"evenodd"})),Oa=1,Ca=new class{constructor(){this.subscribe=e=>(this.subscribers.push(e),()=>{let t=this.subscribers.indexOf(e);this.subscribers.splice(t,1)}),this.publish=e=>{this.subscribers.forEach((t=>t(e)))},this.addToast=e=>{this.publish(e),this.toasts=[...this.toasts,e]},this.create=e=>{var t;let{message:r,...n}=e,o="number"==typeof(null==e?void 0:e.id)||(null==(t=e.id)?void 0:t.length)>0?e.id:Oa++,a=this.toasts.find((e=>e.id===o)),i=void 0===e.dismissible||e.dismissible;return a?this.toasts=this.toasts.map((t=>t.id===o?(this.publish({...t,...e,id:o,title:r}),{...t,...e,id:o,dismissible:i,title:r}):t)):this.addToast({title:r,...n,dismissible:i,id:o}),o},this.dismiss=e=>(e||this.toasts.forEach((e=>{this.subscribers.forEach((t=>t({id:e.id,dismiss:!0})))})),this.subscribers.forEach((t=>t({id:e,dismiss:!0}))),e),this.message=(e,t)=>this.create({...t,message:e}),this.error=(e,t)=>this.create({...t,message:e,type:"error"}),this.success=(e,t)=>this.create({...t,type:"success",message:e}),this.info=(e,t)=>this.create({...t,type:"info",message:e}),this.warning=(e,t)=>this.create({...t,type:"warning",message:e}),this.loading=(e,t)=>this.create({...t,type:"loading",message:e}),this.promise=(e,t)=>{if(!t)return;let r;void 0!==t.loading&&(r=this.create({...t,promise:e,type:"loading",message:t.loading,description:"function"!=typeof t.description?t.description:void 0}));let n=e instanceof Promise?e:e(),o=void 0!==r;return n.then((e=>{if(e&&"boolean"==typeof e.ok&&!e.ok){o=!1;let n="function"==typeof t.error?t.error(`HTTP error! status: ${e.status}`):t.error,a="function"==typeof t.description?t.description(`HTTP error! status: ${e.status}`):t.description;this.create({id:r,type:"error",message:n,description:a})}else if(void 0!==t.success){o=!1;let n="function"==typeof t.success?t.success(e):t.success,a="function"==typeof t.description?t.description(e):t.description;this.create({id:r,type:"success",message:n,description:a})}})).catch((e=>{if(void 0!==t.error){o=!1;let n="function"==typeof t.error?t.error(e):t.error,a="function"==typeof t.description?t.description(e):t.description;this.create({id:r,type:"error",message:n,description:a})}})).finally((()=>{var e;o&&(this.dismiss(r),r=void 0),null==(e=t.finally)||e.call(t)})),r},this.custom=(e,t)=>{let r=(null==t?void 0:t.id)||Oa++;return this.create({jsx:e(r),id:r,...t}),r},this.subscribers=[],this.toasts=[]}},Ma=(e,t)=>{let r=(null==t?void 0:t.id)||Oa++;return Ca.addToast({title:e,...t,id:r}),r};Object.assign(Ma,{success:Ca.success,info:Ca.info,warning:Ca.warning,error:Ca.error,custom:Ca.custom,message:Ca.message,promise:Ca.promise,dismiss:Ca.dismiss,loading:Ca.loading});!function(e,{insertAt:t}={}){if(!e||"undefined"==typeof document)return;let r=document.head||document.getElementsByTagName("head")[0],n=document.createElement("style");n.type="text/css","top"===t&&r.firstChild?r.insertBefore(n,r.firstChild):r.appendChild(n),n.styleSheet?n.styleSheet.cssText=e:n.appendChild(document.createTextNode(e))}(':where(html[dir="ltr"]),:where([data-sonner-toaster][dir="ltr"]){--toast-icon-margin-start: -3px;--toast-icon-margin-end: 4px;--toast-svg-margin-start: -1px;--toast-svg-margin-end: 0px;--toast-button-margin-start: auto;--toast-button-margin-end: 0;--toast-close-button-start: 0;--toast-close-button-end: unset;--toast-close-button-transform: translate(-35%, -35%)}:where(html[dir="rtl"]),:where([data-sonner-toaster][dir="rtl"]){--toast-icon-margin-start: 4px;--toast-icon-margin-end: -3px;--toast-svg-margin-start: 0px;--toast-svg-margin-end: -1px;--toast-button-margin-start: 0;--toast-button-margin-end: auto;--toast-close-button-start: unset;--toast-close-button-end: 0;--toast-close-button-transform: translate(35%, -35%)}:where([data-sonner-toaster]){position:fixed;width:var(--width);font-family:ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,Noto Sans,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol,Noto Color Emoji;--gray1: hsl(0, 0%, 99%);--gray2: hsl(0, 0%, 97.3%);--gray3: hsl(0, 0%, 95.1%);--gray4: hsl(0, 0%, 93%);--gray5: hsl(0, 0%, 90.9%);--gray6: hsl(0, 0%, 88.7%);--gray7: hsl(0, 0%, 85.8%);--gray8: hsl(0, 0%, 78%);--gray9: hsl(0, 0%, 56.1%);--gray10: hsl(0, 0%, 52.3%);--gray11: hsl(0, 0%, 43.5%);--gray12: hsl(0, 0%, 9%);--border-radius: 8px;box-sizing:border-box;padding:0;margin:0;list-style:none;outline:none;z-index:999999999}:where([data-sonner-toaster][data-x-position="right"]){right:max(var(--offset),env(safe-area-inset-right))}:where([data-sonner-toaster][data-x-position="left"]){left:max(var(--offset),env(safe-area-inset-left))}:where([data-sonner-toaster][data-x-position="center"]){left:50%;transform:translate(-50%)}:where([data-sonner-toaster][data-y-position="top"]){top:max(var(--offset),env(safe-area-inset-top))}:where([data-sonner-toaster][data-y-position="bottom"]){bottom:max(var(--offset),env(safe-area-inset-bottom))}:where([data-sonner-toast]){--y: translateY(100%);--lift-amount: calc(var(--lift) * var(--gap));z-index:var(--z-index);position:absolute;opacity:0;transform:var(--y);filter:blur(0);touch-action:none;transition:transform .4s,opacity .4s,height .4s,box-shadow .2s;box-sizing:border-box;outline:none;overflow-wrap:anywhere}:where([data-sonner-toast][data-styled="true"]){padding:16px;background:var(--normal-bg);border:1px solid var(--normal-border);color:var(--normal-text);border-radius:var(--border-radius);box-shadow:0 4px 12px #0000001a;width:var(--width);font-size:13px;display:flex;align-items:center;gap:6px}:where([data-sonner-toast]:focus-visible){box-shadow:0 4px 12px #0000001a,0 0 0 2px #0003}:where([data-sonner-toast][data-y-position="top"]){top:0;--y: translateY(-100%);--lift: 1;--lift-amount: calc(1 * var(--gap))}:where([data-sonner-toast][data-y-position="bottom"]){bottom:0;--y: translateY(100%);--lift: -1;--lift-amount: calc(var(--lift) * var(--gap))}:where([data-sonner-toast]) :where([data-description]){font-weight:400;line-height:1.4;color:inherit}:where([data-sonner-toast]) :where([data-title]){font-weight:500;line-height:1.5;color:inherit}:where([data-sonner-toast]) :where([data-icon]){display:flex;height:16px;width:16px;position:relative;justify-content:flex-start;align-items:center;flex-shrink:0;margin-left:var(--toast-icon-margin-start);margin-right:var(--toast-icon-margin-end)}:where([data-sonner-toast][data-promise="true"]) :where([data-icon])>svg{opacity:0;transform:scale(.8);transform-origin:center;animation:sonner-fade-in .3s ease forwards}:where([data-sonner-toast]) :where([data-icon])>*{flex-shrink:0}:where([data-sonner-toast]) :where([data-icon]) svg{margin-left:var(--toast-svg-margin-start);margin-right:var(--toast-svg-margin-end)}:where([data-sonner-toast]) :where([data-content]){display:flex;flex-direction:column;gap:2px}[data-sonner-toast][data-styled=true] [data-button]{border-radius:4px;padding-left:8px;padding-right:8px;height:24px;font-size:12px;color:var(--normal-bg);background:var(--normal-text);margin-left:var(--toast-button-margin-start);margin-right:var(--toast-button-margin-end);border:none;cursor:pointer;outline:none;display:flex;align-items:center;flex-shrink:0;transition:opacity .4s,box-shadow .2s}:where([data-sonner-toast]) :where([data-button]):focus-visible{box-shadow:0 0 0 2px #0006}:where([data-sonner-toast]) :where([data-button]):first-of-type{margin-left:var(--toast-button-margin-start);margin-right:var(--toast-button-margin-end)}:where([data-sonner-toast]) :where([data-cancel]){color:var(--normal-text);background:rgba(0,0,0,.08)}:where([data-sonner-toast][data-theme="dark"]) :where([data-cancel]){background:rgba(255,255,255,.3)}:where([data-sonner-toast]) :where([data-close-button]){position:absolute;left:var(--toast-close-button-start);right:var(--toast-close-button-end);top:0;height:20px;width:20px;display:flex;justify-content:center;align-items:center;padding:0;background:var(--gray1);color:var(--gray12);border:1px solid var(--gray4);transform:var(--toast-close-button-transform);border-radius:50%;cursor:pointer;z-index:1;transition:opacity .1s,background .2s,border-color .2s}:where([data-sonner-toast]) :where([data-close-button]):focus-visible{box-shadow:0 4px 12px #0000001a,0 0 0 2px #0003}:where([data-sonner-toast]) :where([data-disabled="true"]){cursor:not-allowed}:where([data-sonner-toast]):hover :where([data-close-button]):hover{background:var(--gray2);border-color:var(--gray5)}:where([data-sonner-toast][data-swiping="true"]):before{content:"";position:absolute;left:0;right:0;height:100%;z-index:-1}:where([data-sonner-toast][data-y-position="top"][data-swiping="true"]):before{bottom:50%;transform:scaleY(3) translateY(50%)}:where([data-sonner-toast][data-y-position="bottom"][data-swiping="true"]):before{top:50%;transform:scaleY(3) translateY(-50%)}:where([data-sonner-toast][data-swiping="false"][data-removed="true"]):before{content:"";position:absolute;inset:0;transform:scaleY(2)}:where([data-sonner-toast]):after{content:"";position:absolute;left:0;height:calc(var(--gap) + 1px);bottom:100%;width:100%}:where([data-sonner-toast][data-mounted="true"]){--y: translateY(0);opacity:1}:where([data-sonner-toast][data-expanded="false"][data-front="false"]){--scale: var(--toasts-before) * .05 + 1;--y: translateY(calc(var(--lift-amount) * var(--toasts-before))) scale(calc(-1 * var(--scale)));height:var(--front-toast-height)}:where([data-sonner-toast])>*{transition:opacity .4s}:where([data-sonner-toast][data-expanded="false"][data-front="false"][data-styled="true"])>*{opacity:0}:where([data-sonner-toast][data-visible="false"]){opacity:0;pointer-events:none}:where([data-sonner-toast][data-mounted="true"][data-expanded="true"]){--y: translateY(calc(var(--lift) * var(--offset)));height:var(--initial-height)}:where([data-sonner-toast][data-removed="true"][data-front="true"][data-swipe-out="false"]){--y: translateY(calc(var(--lift) * -100%));opacity:0}:where([data-sonner-toast][data-removed="true"][data-front="false"][data-swipe-out="false"][data-expanded="true"]){--y: translateY(calc(var(--lift) * var(--offset) + var(--lift) * -100%));opacity:0}:where([data-sonner-toast][data-removed="true"][data-front="false"][data-swipe-out="false"][data-expanded="false"]){--y: translateY(40%);opacity:0;transition:transform .5s,opacity .2s}:where([data-sonner-toast][data-removed="true"][data-front="false"]):before{height:calc(var(--initial-height) + 20%)}[data-sonner-toast][data-swiping=true]{transform:var(--y) translateY(var(--swipe-amount, 0px));transition:none}[data-sonner-toast][data-swipe-out=true][data-y-position=bottom],[data-sonner-toast][data-swipe-out=true][data-y-position=top]{animation:swipe-out .2s ease-out forwards}@keyframes swipe-out{0%{transform:translateY(calc(var(--lift) * var(--offset) + var(--swipe-amount)));opacity:1}to{transform:translateY(calc(var(--lift) * var(--offset) + var(--swipe-amount) + var(--lift) * -100%));opacity:0}}@media (max-width: 600px){[data-sonner-toaster]{position:fixed;--mobile-offset: 16px;right:var(--mobile-offset);left:var(--mobile-offset);width:100%}[data-sonner-toaster] [data-sonner-toast]{left:0;right:0;width:calc(100% - var(--mobile-offset) * 2)}[data-sonner-toaster][data-x-position=left]{left:var(--mobile-offset)}[data-sonner-toaster][data-y-position=bottom]{bottom:20px}[data-sonner-toaster][data-y-position=top]{top:20px}[data-sonner-toaster][data-x-position=center]{left:var(--mobile-offset);right:var(--mobile-offset);transform:none}}[data-sonner-toaster][data-theme=light]{--normal-bg: #fff;--normal-border: var(--gray4);--normal-text: var(--gray12);--success-bg: hsl(143, 85%, 96%);--success-border: hsl(145, 92%, 91%);--success-text: hsl(140, 100%, 27%);--info-bg: hsl(208, 100%, 97%);--info-border: hsl(221, 91%, 91%);--info-text: hsl(210, 92%, 45%);--warning-bg: hsl(49, 100%, 97%);--warning-border: hsl(49, 91%, 91%);--warning-text: hsl(31, 92%, 45%);--error-bg: hsl(359, 100%, 97%);--error-border: hsl(359, 100%, 94%);--error-text: hsl(360, 100%, 45%)}[data-sonner-toaster][data-theme=light] [data-sonner-toast][data-invert=true]{--normal-bg: #000;--normal-border: hsl(0, 0%, 20%);--normal-text: var(--gray1)}[data-sonner-toaster][data-theme=dark] [data-sonner-toast][data-invert=true]{--normal-bg: #fff;--normal-border: var(--gray3);--normal-text: var(--gray12)}[data-sonner-toaster][data-theme=dark]{--normal-bg: #000;--normal-border: hsl(0, 0%, 20%);--normal-text: var(--gray1);--success-bg: hsl(150, 100%, 6%);--success-border: hsl(147, 100%, 12%);--success-text: hsl(150, 86%, 65%);--info-bg: hsl(215, 100%, 6%);--info-border: hsl(223, 100%, 12%);--info-text: hsl(216, 87%, 65%);--warning-bg: hsl(64, 100%, 6%);--warning-border: hsl(60, 100%, 12%);--warning-text: hsl(46, 87%, 65%);--error-bg: hsl(358, 76%, 10%);--error-border: hsl(357, 89%, 16%);--error-text: hsl(358, 100%, 81%)}[data-rich-colors=true] [data-sonner-toast][data-type=success],[data-rich-colors=true] [data-sonner-toast][data-type=success] [data-close-button]{background:var(--success-bg);border-color:var(--success-border);color:var(--success-text)}[data-rich-colors=true] [data-sonner-toast][data-type=info],[data-rich-colors=true] [data-sonner-toast][data-type=info] [data-close-button]{background:var(--info-bg);border-color:var(--info-border);color:var(--info-text)}[data-rich-colors=true] [data-sonner-toast][data-type=warning],[data-rich-colors=true] [data-sonner-toast][data-type=warning] [data-close-button]{background:var(--warning-bg);border-color:var(--warning-border);color:var(--warning-text)}[data-rich-colors=true] [data-sonner-toast][data-type=error],[data-rich-colors=true] [data-sonner-toast][data-type=error] [data-close-button]{background:var(--error-bg);border-color:var(--error-border);color:var(--error-text)}.sonner-loading-wrapper{--size: 16px;height:var(--size);width:var(--size);position:absolute;inset:0;z-index:10}.sonner-loading-wrapper[data-visible=false]{transform-origin:center;animation:sonner-fade-out .2s ease forwards}.sonner-spinner{position:relative;top:50%;left:50%;height:var(--size);width:var(--size)}.sonner-loading-bar{animation:sonner-spin 1.2s linear infinite;background:var(--gray11);border-radius:6px;height:8%;left:-10%;position:absolute;top:-3.9%;width:24%}.sonner-loading-bar:nth-child(1){animation-delay:-1.2s;transform:rotate(.0001deg) translate(146%)}.sonner-loading-bar:nth-child(2){animation-delay:-1.1s;transform:rotate(30deg) translate(146%)}.sonner-loading-bar:nth-child(3){animation-delay:-1s;transform:rotate(60deg) translate(146%)}.sonner-loading-bar:nth-child(4){animation-delay:-.9s;transform:rotate(90deg) translate(146%)}.sonner-loading-bar:nth-child(5){animation-delay:-.8s;transform:rotate(120deg) translate(146%)}.sonner-loading-bar:nth-child(6){animation-delay:-.7s;transform:rotate(150deg) translate(146%)}.sonner-loading-bar:nth-child(7){animation-delay:-.6s;transform:rotate(180deg) translate(146%)}.sonner-loading-bar:nth-child(8){animation-delay:-.5s;transform:rotate(210deg) translate(146%)}.sonner-loading-bar:nth-child(9){animation-delay:-.4s;transform:rotate(240deg) translate(146%)}.sonner-loading-bar:nth-child(10){animation-delay:-.3s;transform:rotate(270deg) translate(146%)}.sonner-loading-bar:nth-child(11){animation-delay:-.2s;transform:rotate(300deg) translate(146%)}.sonner-loading-bar:nth-child(12){animation-delay:-.1s;transform:rotate(330deg) translate(146%)}@keyframes sonner-fade-in{0%{opacity:0;transform:scale(.8)}to{opacity:1;transform:scale(1)}}@keyframes sonner-fade-out{0%{opacity:1;transform:scale(1)}to{opacity:0;transform:scale(.8)}}@keyframes sonner-spin{0%{opacity:1}to{opacity:.15}}@media (prefers-reduced-motion){[data-sonner-toast],[data-sonner-toast]>*,.sonner-loading-bar{transition:none!important;animation:none!important}}.sonner-loader{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);transform-origin:center;transition:opacity .2s,transform .2s}.sonner-loader[data-visible=false]{opacity:0;transform:scale(.8) translate(-50%,-50%)}\n');var Aa=3,Ra=14;function Na(...e){return e.filter(Boolean).join(" ")}var _a=e=>{var r,n,o,a,i,s,l;let{invert:c,toast:u,unstyled:d,interacting:p,setHeights:f,visibleToasts:m,heights:h,index:g,toasts:y,expanded:b,removeToast:v,closeButton:x,style:w,cancelButtonStyle:k,actionButtonStyle:S,className:E="",descriptionClassName:T="",duration:O,position:C,gap:M=Ra,loadingIcon:A,expandByDefault:R,classNames:N,icons:_,closeButtonAriaLabel:I="Close toast",pauseWhenPageIsHidden:P,cn:$}=e,[F,L]=t.useState(!1),[z,j]=t.useState(!1),[D,B]=t.useState(!1),[W,H]=t.useState(!1),[U,G]=t.useState(0),[V,Y]=t.useState(0),K=t.useRef(null),X=t.useRef(null),q=0===g,J=g+1<=m,Z=u.type,Q=!1!==u.dismissible,ee=u.className||"",te=u.descriptionClassName||"",re=t.useMemo((()=>h.findIndex((e=>e.toastId===u.id))||0),[h,u.id]),ne=t.useMemo((()=>{var e;return null!=(e=u.closeButton)?e:x}),[u.closeButton,x]),oe=t.useMemo((()=>u.duration||O||4e3),[u.duration,O]),ae=t.useRef(0),ie=t.useRef(0),se=t.useRef(0),le=t.useRef(null),[ce,ue]=C.split("-"),de=t.useMemo((()=>h.reduce(((e,t,r)=>r>=re?e:e+t.height),0)),[h,re]),pe=(()=>{let[e,r]=t.useState(!1);return t.useEffect((()=>{let e=()=>{r(document.hidden)};return document.addEventListener("visibilitychange",e),()=>window.removeEventListener("visibilitychange",e)}),[]),e})(),fe=u.invert||c,me="loading"===Z;ie.current=t.useMemo((()=>re*M+de),[re,de]),t.useEffect((()=>{L(!0)}),[]),t.useLayoutEffect((()=>{if(!F)return;let e=X.current,t=e.style.height;e.style.height="auto";let r=e.getBoundingClientRect().height;e.style.height=t,Y(r),f((e=>e.find((e=>e.toastId===u.id))?e.map((e=>e.toastId===u.id?{...e,height:r}:e)):[{toastId:u.id,height:r,position:u.position},...e]))}),[F,u.title,u.description,f,u.id]);let he=t.useCallback((()=>{j(!0),G(ie.current),f((e=>e.filter((e=>e.toastId!==u.id)))),setTimeout((()=>{v(u)}),200)}),[u,v,f,ie]);function ge(e){return{__html:va.sanitize(e)}}return t.useEffect((()=>{if(u.promise&&"loading"===Z||u.duration===1/0||"loading"===u.type)return;let e,t=oe;return b||p||P&&pe?(()=>{if(se.current<ae.current){let e=(new Date).getTime()-ae.current;t-=e}se.current=(new Date).getTime()})():(ae.current=(new Date).getTime(),e=setTimeout((()=>{var e;null==(e=u.onAutoClose)||e.call(u,u),he()}),t)),()=>clearTimeout(e)}),[b,p,R,u,oe,he,u.promise,Z,P,pe]),t.useEffect((()=>{let e=X.current;if(e){let t=e.getBoundingClientRect().height;return Y(t),f((e=>[{toastId:u.id,height:t,position:u.position},...e])),()=>f((e=>e.filter((e=>e.toastId!==u.id))))}}),[f,u.id]),t.useEffect((()=>{u.delete&&he()}),[he,u.delete]),t.createElement("li",{"aria-live":u.important?"assertive":"polite","aria-atomic":"true",role:"status",tabIndex:0,ref:X,className:$(E,ee,null==N?void 0:N.toast,null==(r=null==u?void 0:u.classNames)?void 0:r.toast,null==N?void 0:N.default,null==N?void 0:N[Z],null==(n=null==u?void 0:u.classNames)?void 0:n[Z]),"data-sonner-toast":"","data-styled":!(u.jsx||u.unstyled||d),"data-mounted":F,"data-promise":!!u.promise,"data-removed":z,"data-visible":J,"data-y-position":ce,"data-x-position":ue,"data-index":g,"data-front":q,"data-swiping":D,"data-dismissible":Q,"data-type":Z,"data-invert":fe,"data-swipe-out":W,"data-expanded":!!(b||R&&F),style:{"--index":g,"--toasts-before":g,"--z-index":y.length-g,"--offset":`${z?U:ie.current}px`,"--initial-height":R?"auto":`${V}px`,...w,...u.style},onPointerDown:e=>{me||!Q||(K.current=new Date,G(ie.current),e.target.setPointerCapture(e.pointerId),"BUTTON"!==e.target.tagName&&(B(!0),le.current={x:e.clientX,y:e.clientY}))},onPointerUp:()=>{var e,t,r,n;if(W||!Q)return;le.current=null;let o=Number((null==(e=X.current)?void 0:e.style.getPropertyValue("--swipe-amount").replace("px",""))||0),a=(new Date).getTime()-(null==(t=K.current)?void 0:t.getTime()),i=Math.abs(o)/a;if(Math.abs(o)>=20||i>.11)return G(ie.current),null==(r=u.onDismiss)||r.call(u,u),he(),void H(!0);null==(n=X.current)||n.style.setProperty("--swipe-amount","0px"),B(!1)},onPointerMove:e=>{var t;if(!le.current||!Q)return;let r=e.clientY-le.current.y,n=e.clientX-le.current.x,o=("top"===ce?Math.min:Math.max)(0,r),a="touch"===e.pointerType?10:2;Math.abs(o)>a?null==(t=X.current)||t.style.setProperty("--swipe-amount",`${r}px`):Math.abs(n)>a&&(le.current=null)}},ne&&!u.jsx?t.createElement("button",{"aria-label":I,"data-disabled":me,"data-close-button":!0,onClick:me||!Q?()=>{}:()=>{var e;he(),null==(e=u.onDismiss)||e.call(u,u)},className:$(null==N?void 0:N.closeButton,null==(o=null==u?void 0:u.classNames)?void 0:o.closeButton)},t.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"12",height:"12",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"},t.createElement("line",{x1:"18",y1:"6",x2:"6",y2:"18"}),t.createElement("line",{x1:"6",y1:"6",x2:"18",y2:"18"}))):null,u.jsx||t.isValidElement(u.title)?u.jsx||u.title:t.createElement(t.Fragment,null,Z||u.icon||u.promise?t.createElement("div",{"data-icon":"",className:$(null==N?void 0:N.icon)},u.promise||"loading"===u.type&&!u.icon?u.icon||(null!=_&&_.loading?t.createElement("div",{className:"sonner-loader","data-visible":"loading"===Z},_.loading):A?t.createElement("div",{className:"sonner-loader","data-visible":"loading"===Z},A):t.createElement(wa,{visible:"loading"===Z})):null,"loading"!==u.type?u.icon||(null==_?void 0:_[Z])||(e=>{switch(e){case"success":return ka;case"info":return Ea;case"warning":return Sa;case"error":return Ta;default:return null}})(Z):null):null,t.createElement("div",{"data-content":"",className:$(null==N?void 0:N.content)},t.createElement("div",{"data-title":"",className:$(null==N?void 0:N.title,null==(a=null==u?void 0:u.classNames)?void 0:a.title),dangerouslySetInnerHTML:ge(u.title)}),u.description?t.createElement("div",{"data-description":"",className:$(T,te,null==N?void 0:N.description,null==(i=null==u?void 0:u.classNames)?void 0:i.description),dangerouslySetInnerHTML:ge(u.description)}):null),u.cancel?t.createElement("button",{"data-button":!0,"data-cancel":!0,style:u.cancelButtonStyle||k,onClick:e=>{var t;Q&&(he(),null!=(t=u.cancel)&&t.onClick&&u.cancel.onClick(e))},className:$(null==N?void 0:N.cancelButton,null==(s=null==u?void 0:u.classNames)?void 0:s.cancelButton)},u.cancel.label):null,u.action?t.createElement("button",{"data-button":"",style:u.actionButtonStyle||S,onClick:e=>{var t;null==(t=u.action)||t.onClick(e),!e.defaultPrevented&&he()},className:$(null==N?void 0:N.actionButton,null==(l=null==u?void 0:u.classNames)?void 0:l.actionButton)},u.action.label):null))};function Ia(){if("undefined"==typeof window||"undefined"==typeof document)return"ltr";let e=document.documentElement.getAttribute("dir");return"auto"!==e&&e?e:window.getComputedStyle(document.documentElement).direction}var Pa=e=>{let{invert:r,position:n="bottom-right",hotkey:o=["altKey","KeyT"],expand:a,closeButton:i,className:s,offset:l,theme:c="light",richColors:u,duration:d,style:p,visibleToasts:f=Aa,toastOptions:m,dir:h=Ia(),gap:g,loadingIcon:y,icons:b,containerAriaLabel:v="Notifications",pauseWhenPageIsHidden:x,cn:w=Na}=e,[k,S]=t.useState([]),E=t.useMemo((()=>Array.from(new Set([n].concat(k.filter((e=>e.position)).map((e=>e.position)))))),[k,n]),[T,O]=t.useState([]),[C,M]=t.useState(!1),[A,R]=t.useState(!1),[N,_]=t.useState("system"!==c?c:"undefined"!=typeof window&&window.matchMedia&&window.matchMedia("(prefers-color-scheme: dark)").matches?"dark":"light"),I=t.useRef(null),P=o.join("+").replace(/Key/g,"").replace(/Digit/g,""),$=t.useRef(null),F=t.useRef(!1),L=t.useCallback((e=>S((t=>t.filter((({id:t})=>t!==e.id))))),[]);return t.useEffect((()=>Ca.subscribe((e=>{e.dismiss?S((t=>t.map((t=>t.id===e.id?{...t,delete:!0}:t)))):setTimeout((()=>{So.flushSync((()=>{S((t=>{let r=t.findIndex((t=>t.id===e.id));return-1!==r?[...t.slice(0,r),{...t[r],...e},...t.slice(r+1)]:[e,...t]}))}))}))}))),[]),t.useEffect((()=>{"system"===c?("system"===c&&(window.matchMedia&&window.matchMedia("(prefers-color-scheme: dark)").matches?_("dark"):_("light")),"undefined"!=typeof window&&window.matchMedia("(prefers-color-scheme: dark)").addEventListener("change",(({matches:e})=>{_(e?"dark":"light")}))):_(c)}),[c]),t.useEffect((()=>{k.length<=1&&M(!1)}),[k]),t.useEffect((()=>{let e=e=>{var t,r;o.every((t=>e[t]||e.code===t))&&(M(!0),null==(t=I.current)||t.focus()),"Escape"===e.code&&(document.activeElement===I.current||null!=(r=I.current)&&r.contains(document.activeElement))&&M(!1)};return document.addEventListener("keydown",e),()=>document.removeEventListener("keydown",e)}),[o]),t.useEffect((()=>{if(I.current)return()=>{$.current&&($.current.focus({preventScroll:!0}),$.current=null,F.current=!1)}}),[I.current]),k.length?t.createElement("section",{"aria-label":`${v} ${P}`,tabIndex:-1},E.map(((e,n)=>{var o;let[c,v]=e.split("-");return t.createElement("ol",{key:e,dir:"auto"===h?Ia():h,tabIndex:-1,ref:I,className:s,"data-sonner-toaster":!0,"data-theme":N,"data-rich-colors":u,"data-y-position":c,"data-x-position":v,style:{"--front-toast-height":`${(null==(o=T[0])?void 0:o.height)||0}px`,"--offset":"number"==typeof l?`${l}px`:l||"32px","--width":"356px","--gap":`${Ra}px`,...p},onBlur:e=>{F.current&&!e.currentTarget.contains(e.relatedTarget)&&(F.current=!1,$.current&&($.current.focus({preventScroll:!0}),$.current=null))},onFocus:e=>{e.target instanceof HTMLElement&&"false"===e.target.dataset.dismissible||F.current||(F.current=!0,$.current=e.relatedTarget)},onMouseEnter:()=>M(!0),onMouseMove:()=>M(!0),onMouseLeave:()=>{A||M(!1)},onPointerDown:e=>{e.target instanceof HTMLElement&&"false"===e.target.dataset.dismissible||R(!0)},onPointerUp:()=>R(!1)},k.filter((t=>!t.position&&0===n||t.position===e)).map(((n,o)=>{var s,l;return t.createElement(_a,{key:n.id,icons:b,index:o,toast:n,duration:null!=(s=null==m?void 0:m.duration)?s:d,className:null==m?void 0:m.className,descriptionClassName:null==m?void 0:m.descriptionClassName,invert:r,visibleToasts:f,closeButton:null!=(l=null==m?void 0:m.closeButton)?l:i,interacting:A,position:e,style:null==m?void 0:m.style,unstyled:null==m?void 0:m.unstyled,classNames:null==m?void 0:m.classNames,cancelButtonStyle:null==m?void 0:m.cancelButtonStyle,actionButtonStyle:null==m?void 0:m.actionButtonStyle,removeToast:L,toasts:k.filter((e=>e.position==n.position)),heights:T.filter((e=>e.position==n.position)),setHeights:O,expandByDefault:a,gap:g,loadingIcon:y,expanded:C,pauseWhenPageIsHidden:x,cn:w})})))}))):null},$a=function(e){var r=e.children,n=e.defaultTheme;return Pe(vo,{theme:(0,t.useMemo)((function(){return so(ko(n))}),[n]),children:[Ie(Pa,{closeButton:!0,position:"bottom-left"}),r]})};function Fa(e){var t,r,n="";if("string"==typeof e||"number"==typeof e)n+=e;else if("object"==typeof e)if(Array.isArray(e)){var o=e.length;for(t=0;t<o;t++)e[t]&&(r=Fa(e[t]))&&(n&&(n+=" "),n+=r)}else for(r in e)e[r]&&(n&&(n+=" "),n+=r);return n}const La=function(){for(var e,t,r=0,n="",o=arguments.length;r<o;r++)(e=arguments[r])&&(t=Fa(e))&&(n&&(n+=" "),n+=t);return n};var za=/^((children|dangerouslySetInnerHTML|key|ref|autoFocus|defaultValue|defaultChecked|innerHTML|suppressContentEditableWarning|suppressHydrationWarning|valueLink|abbr|accept|acceptCharset|accessKey|action|allow|allowUserMedia|allowPaymentRequest|allowFullScreen|allowTransparency|alt|async|autoComplete|autoPlay|capture|cellPadding|cellSpacing|challenge|charSet|checked|cite|classID|className|cols|colSpan|content|contentEditable|contextMenu|controls|controlsList|coords|crossOrigin|data|dateTime|decoding|default|defer|dir|disabled|disablePictureInPicture|download|draggable|encType|enterKeyHint|form|formAction|formEncType|formMethod|formNoValidate|formTarget|frameBorder|headers|height|hidden|high|href|hrefLang|htmlFor|httpEquiv|id|inputMode|integrity|is|keyParams|keyType|kind|label|lang|list|loading|loop|low|marginHeight|marginWidth|max|maxLength|media|mediaGroup|method|min|minLength|multiple|muted|name|nonce|noValidate|open|optimum|pattern|placeholder|playsInline|poster|preload|profile|radioGroup|readOnly|referrerPolicy|rel|required|reversed|role|rows|rowSpan|sandbox|scope|scoped|scrolling|seamless|selected|shape|size|sizes|slot|span|spellCheck|src|srcDoc|srcLang|srcSet|start|step|style|summary|tabIndex|target|title|translate|type|useMap|value|width|wmode|wrap|about|datatype|inlist|prefix|property|resource|typeof|vocab|autoCapitalize|autoCorrect|autoSave|color|incremental|fallback|inert|itemProp|itemScope|itemType|itemID|itemRef|on|option|results|security|unselectable|accentHeight|accumulate|additive|alignmentBaseline|allowReorder|alphabetic|amplitude|arabicForm|ascent|attributeName|attributeType|autoReverse|azimuth|baseFrequency|baselineShift|baseProfile|bbox|begin|bias|by|calcMode|capHeight|clip|clipPathUnits|clipPath|clipRule|colorInterpolation|colorInterpolationFilters|colorProfile|colorRendering|contentScriptType|contentStyleType|cursor|cx|cy|d|decelerate|descent|diffuseConstant|direction|display|divisor|dominantBaseline|dur|dx|dy|edgeMode|elevation|enableBackground|end|exponent|externalResourcesRequired|fill|fillOpacity|fillRule|filter|filterRes|filterUnits|floodColor|floodOpacity|focusable|fontFamily|fontSize|fontSizeAdjust|fontStretch|fontStyle|fontVariant|fontWeight|format|from|fr|fx|fy|g1|g2|glyphName|glyphOrientationHorizontal|glyphOrientationVertical|glyphRef|gradientTransform|gradientUnits|hanging|horizAdvX|horizOriginX|ideographic|imageRendering|in|in2|intercept|k|k1|k2|k3|k4|kernelMatrix|kernelUnitLength|kerning|keyPoints|keySplines|keyTimes|lengthAdjust|letterSpacing|lightingColor|limitingConeAngle|local|markerEnd|markerMid|markerStart|markerHeight|markerUnits|markerWidth|mask|maskContentUnits|maskUnits|mathematical|mode|numOctaves|offset|opacity|operator|order|orient|orientation|origin|overflow|overlinePosition|overlineThickness|panose1|paintOrder|pathLength|patternContentUnits|patternTransform|patternUnits|pointerEvents|points|pointsAtX|pointsAtY|pointsAtZ|preserveAlpha|preserveAspectRatio|primitiveUnits|r|radius|refX|refY|renderingIntent|repeatCount|repeatDur|requiredExtensions|requiredFeatures|restart|result|rotate|rx|ry|scale|seed|shapeRendering|slope|spacing|specularConstant|specularExponent|speed|spreadMethod|startOffset|stdDeviation|stemh|stemv|stitchTiles|stopColor|stopOpacity|strikethroughPosition|strikethroughThickness|string|stroke|strokeDasharray|strokeDashoffset|strokeLinecap|strokeLinejoin|strokeMiterlimit|strokeOpacity|strokeWidth|surfaceScale|systemLanguage|tableValues|targetX|targetY|textAnchor|textDecoration|textRendering|textLength|to|transform|u1|u2|underlinePosition|underlineThickness|unicode|unicodeBidi|unicodeRange|unitsPerEm|vAlphabetic|vHanging|vIdeographic|vMathematical|values|vectorEffect|version|vertAdvY|vertOriginX|vertOriginY|viewBox|viewTarget|visibility|widths|wordSpacing|writingMode|x|xHeight|x1|x2|xChannelSelector|xlinkActuate|xlinkArcrole|xlinkHref|xlinkRole|xlinkShow|xlinkTitle|xlinkType|xmlBase|xmlns|xmlnsXlink|xmlLang|xmlSpace|y|y1|y2|yChannelSelector|z|zoomAndPan|for|class|autofocus)|(([Dd][Aa][Tt][Aa]|[Aa][Rr][Ii][Aa]|x)-.*))$/,ja=de((function(e){return za.test(e)||111===e.charCodeAt(0)&&110===e.charCodeAt(1)&&e.charCodeAt(2)<91})),Da=function(e){return"theme"!==e},Ba=function(e){return"string"==typeof e&&e.charCodeAt(0)>96?ja:Da},Wa=function(e,t,r){var n;if(t){var o=t.shouldForwardProp;n=e.__emotion_forwardProp&&o?function(t){return e.__emotion_forwardProp(t)&&o(t)}:o}return"function"!=typeof n&&r&&(n=e.__emotion_forwardProp),n},Ha=function(e){var t=e.cache,r=e.serialized,n=e.isStringTag;return le(t,r,n),Se((function(){return ce(t,r,n)})),null},Ua=function e(r,n){var o,a,i=r.__emotion_real===r,s=i&&r.__emotion_base||r;void 0!==n&&(o=n.label,a=n.target);var l=Wa(r,n,i),c=l||Ba(s),u=!c("as");return function(){var d=arguments,p=i&&void 0!==r.__emotion_styles?r.__emotion_styles.slice(0):[];if(void 0!==o&&p.push("label:"+o+";"),null==d[0]||void 0===d[0].raw)p.push.apply(p,d);else{0,p.push(d[0][0]);for(var f=d.length,m=1;m<f;m++)p.push(d[m],d[0][m])}var h=Oe((function(e,r,n){var o=u&&e.as||s,i="",d=[],f=e;if(null==e.theme){for(var m in f={},e)f[m]=e[m];f.theme=t.useContext(Ce)}"string"==typeof e.className?i=se(r.registered,d,e.className):null!=e.className&&(i=e.className+" ");var h=we(p.concat(d),r.registered,f);i+=r.key+"-"+h.name,void 0!==a&&(i+=" "+a);var g=u&&void 0===l?Ba(o):c,y={};for(var b in e)u&&"as"===b||g(b)&&(y[b]=e[b]);return y.className=i,y.ref=n,t.createElement(t.Fragment,null,t.createElement(Ha,{cache:r,serialized:h,isStringTag:"string"==typeof o}),t.createElement(o,y))}));return h.displayName=void 0!==o?o:"Styled("+("string"==typeof s?s:s.displayName||s.name||"Component")+")",h.defaultProps=r.defaultProps,h.__emotion_real=h,h.__emotion_base=s,h.__emotion_styles=p,h.__emotion_forwardProp=l,Object.defineProperty(h,"toString",{value:function(){return"."+a}}),h.withComponent=function(t,r){return e(t,mr({},n,r,{shouldForwardProp:Wa(h,r,!0)})).apply(void 0,p)},h}}.bind();function Ga(e,t){return Ua(e,t)}["a","abbr","address","area","article","aside","audio","b","base","bdi","bdo","big","blockquote","body","br","button","canvas","caption","cite","code","col","colgroup","data","datalist","dd","del","details","dfn","dialog","div","dl","dt","em","embed","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","iframe","img","input","ins","kbd","keygen","label","legend","li","link","main","map","mark","marquee","menu","menuitem","meta","meter","nav","noscript","object","ol","optgroup","option","output","p","param","picture","pre","progress","q","rp","rt","ruby","s","samp","script","section","select","small","source","span","strong","style","sub","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","title","tr","track","u","ul","var","video","wbr","circle","clipPath","defs","ellipse","foreignObject","g","image","line","linearGradient","mask","path","pattern","polygon","polyline","radialGradient","rect","stop","svg","text","tspan"].forEach((function(e){Ua[e]=Ua(e)}));const Va=["sx"],Ya=e=>{var t,r;const n={systemProps:{},otherProps:{}},o=null!=(t=null==e||null==(r=e.theme)?void 0:r.unstable_sxConfig)?t:xn;return Object.keys(e).forEach((t=>{o[t]?n.systemProps[t]=e[t]:n.otherProps[t]=e[t]})),n};function Ka(e){const{sx:t}=e,r=hr(e,Va),{systemProps:n,otherProps:o}=Ya(r);let a;return a=Array.isArray(t)?[n,...t]:"function"==typeof t?(...e)=>{const r=t(...e);return yr(r)?mr({},n,r):n}:mr({},n,t),mr({},o,{sx:a})}const Xa=En();const qa=function(e=Xa){return fo(e)},Ja=["className","component"];const Za=e=>e,Qa=(()=>{let e=Za;return{configure(t){e=t},generate:t=>e(t),reset(){e=Za}}})(),ei=so(),ti=function(r={}){const{themeId:n,defaultTheme:o,defaultClassName:a="MuiBox-root",generateClassName:i}=r,s=Ga("div",{shouldForwardProp:e=>"theme"!==e&&"sx"!==e&&"as"!==e})(kn);return t.forwardRef((function(t,r){const l=qa(o),c=Ka(t),{className:u,component:d="div"}=c,p=hr(c,Ja);return(0,e.jsx)(s,mr({as:d,ref:r,className:La(u,i?i(a):a),theme:n&&l[n]||l},p))}))}({themeId:yo,defaultTheme:ei,defaultClassName:"MuiBox-root",generateClassName:Qa.generate}),ri=ti,ni=()=>{throw new Error("useMediaQuery is a client-only hook")};function oi(e){const r=(0,t.useCallback)((t=>{const r=window.matchMedia(e);return r.addEventListener("change",t),()=>{r.removeEventListener("change",t)}}),[e]);return(0,t.useSyncExternalStore)(r,(()=>window.matchMedia(e).matches),ni)}var ai;!function(e){e[e.mobile=576]="mobile",e[e.tablet=770]="tablet"}(ai||(ai={}));var ii=function(){var e=oi("screen and (max-width: ".concat(ai.mobile-1,"px)")),t=oi("screen and (min-width: ".concat(ai.mobile,"px) and (max-width: ").concat(ai.tablet,"px)")),r=oi("(orientation: portrait)")?"portrait":"landscape";return{isMobile:e,isTablet:t,orientation:r,isDesktop:!e&&!t,isMobileLandscape:e&&"landscape"===r,isMobilePortrait:e&&"portrait"===r,isTabletLandscape:t&&"landscape"===r,isTabletPortrait:t&&"portrait"===r}};const si=()=>{try{return window.parent.location.origin===window.location.origin}catch{return!1}};const li=({controlType:e,allowed:t,label:r})=>(n,o={})=>(((e,t,r)=>{if(t.some((e=>!r.includes(e.controlType))))throw new Error(`${e} may only contain ${r.map((e=>JSON.stringify(e))).join(", ")} controls inside styles`)})(e,n,t),{type:"control",controlType:e,label:r,styles:n,...o});li({controlType:"border",allowed:["borderStyle","borderWidth","color"],label:"Border"}),li({controlType:"background",allowed:["select","color","image"],label:"Background"}),li({controlType:"font",allowed:["fontFamily","color","fontWeight"],label:"Font"});var ci={colors:{primary:"#152237",accent:"#3278FF",background:"#FFFFFF"},typography:{headingFontFamily:"Inter, sans-serif",headingFontWeight:600,bodyFontFamily:"Inter, sans-serif",bodyFontWeight:400},size:"M",roundness:"STANDARD",backgroundStyle:"HIGHLIGHTED",shadow:!0,containerMaxWidth:"1852px"},ui={config:ci,tokens:{colors:{background:{default:"#FFFFFF",complementary:"#f3f5f8",skeleton:"#f2f2f2"},text:{heading:"#152237",description:"#727a87",ui:"#152237"},border:{primary:"#e5e5e5",secondary:"#f3f5f8"},action:{highlight:"#3278FF",primary:{text:"#f4f8ff",background:{idle:"#3278FF",hover:"#2860cc",press:"#1e4899"}},secondary:{background:{idle:"#FFFFFF",hover:"#f2f2f2",press:"#e5e5e5"},text:"#152237"},dialogSecondary:{background:{idle:"#f2f2f2",hover:"#e5e5e5",press:"#ccc"},text:"#152237"},ghost:{text:"#152237",background:{idle:"#FFFFFF",hover:"#f2f2f2",press:"#e5e5e5"},border:{active:"#3278FF"}},disabled:{background:"#F2F2F2",text:"#898989"}},dialog:{background:{idle:"#FFFFFF",hover:"#f2f2f2",press:"#e5e5e5"}},input:{background:{idle:"#f2f2f2",hover:"#e5e5e5",focus:"#f2f2f2"},text:"#152237",placeholder:"#727a87",border:{focus:"#3278FF",error:"#c52c26"},message:{error:"#c52c26",hint:"#727a87"}},rating:{fill:"#e5e5e5",stroke:{hover:"#999"}}},typography:{heading:{fontFamily:"Inter, sans-serif",fontWeight:"600",size:{1:{fontSize:"22px",lineHeight:"32px"},2:{fontSize:"20px",lineHeight:"28px"},3:{fontSize:"18px",lineHeight:"24px"},title:{fontSize:"24px",lineHeight:"32px"}}},body:{fontFamily:"Inter, sans-serif",fontWeight:"400",fontSize:"14px",lineHeight:"20px"},text:{action:{fontSize:"14px",lineHeight:"24px"},hint:{fontSize:"12px",lineHeight:"normal"},label:{fontSize:"14px",lineHeight:"20px"},link:{fontSize:"14px",lineHeight:"20px"}}},iconSize:{1:"20px",5:"40px",rating:"24px"},roundness:{1:"4px",2:"6px",3:"8px",4:"12px",5:"16px",full:"9999px"},space:{0:"0px",1:"2px",2:"4px",3:"6px",4:"8px",5:"10px",6:"12px",7:"16px",8:"20px",9:"24px",10:"32px",11:"48px",12:"64px",13:"72px",14:"96px",15:"160px"},shadow:{none:"0 0 #0000",subtle:"0px 2px 4px -2px rgba(0, 0, 0, 0.06), 0px 4px 12px -2px rgba(0, 0, 0, 0.08)",subtleBorder:"0px 4px 12px -2px rgba(0, 0, 0, 0.08)",raised:"0px 4px 6px -2px rgba(0, 0, 0, 0.02), 0px 12px 24px -4px rgba(0, 0, 0, 0.08)",floating:"0px 8px 8px -4px rgba(0, 0, 0, 0.03), 0px 20px 30px -4px rgba(0, 0, 0, 0.10)"},containerMaxWidth:"1852px"}};function di(){return di=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},di.apply(this,arguments)}function pi(e,t){return pi=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},pi(e,t)}function fi(e){return fi=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},fi(e)}function mi(e,t,r){return mi=function(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch{return!1}}()?Reflect.construct.bind():function(e,t,r){var n=[null];n.push.apply(n,t);var o=new(Function.bind.apply(e,n));return r&&pi(o,r.prototype),o},mi.apply(null,arguments)}function hi(e){var t="function"==typeof Map?new Map:void 0;return hi=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(typeof t<"u"){if(t.has(e))return t.get(e);t.set(e,r)}function r(){return mi(e,arguments,fi(this).constructor)}return r.prototype=Object.create(e.prototype,{constructor:{value:r,enumerable:!1,writable:!0,configurable:!0}}),pi(r,e)},hi(e)}var gi=function(e){function t(t){return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e.call(this,"An error occurred. See https://github.com/styled-components/polished/blob/main/src/internalHelpers/errors.md#"+t+" for more information.")||this)}return function(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,pi(e,t)}(t,e),t}(hi(Error));function yi(e){return Math.round(255*e)}function bi(e,t,r){return yi(e)+","+yi(t)+","+yi(r)}function vi(e,t,r,n){if(void 0===n&&(n=bi),0===t)return n(r,r,r);var o=(e%360+360)%360/60,a=(1-Math.abs(2*r-1))*t,i=a*(1-Math.abs(o%2-1)),s=0,l=0,c=0;o>=0&&o<1?(s=a,l=i):o>=1&&o<2?(s=i,l=a):o>=2&&o<3?(l=a,c=i):o>=3&&o<4?(l=i,c=a):o>=4&&o<5?(s=i,c=a):o>=5&&o<6&&(s=a,c=i);var u=r-a/2;return n(s+u,l+u,c+u)}var xi={aliceblue:"f0f8ff",antiquewhite:"faebd7",aqua:"00ffff",aquamarine:"7fffd4",azure:"f0ffff",beige:"f5f5dc",bisque:"ffe4c4",black:"000",blanchedalmond:"ffebcd",blue:"0000ff",blueviolet:"8a2be2",brown:"a52a2a",burlywood:"deb887",cadetblue:"5f9ea0",chartreuse:"7fff00",chocolate:"d2691e",coral:"ff7f50",cornflowerblue:"6495ed",cornsilk:"fff8dc",crimson:"dc143c",cyan:"00ffff",darkblue:"00008b",darkcyan:"008b8b",darkgoldenrod:"b8860b",darkgray:"a9a9a9",darkgreen:"006400",darkgrey:"a9a9a9",darkkhaki:"bdb76b",darkmagenta:"8b008b",darkolivegreen:"556b2f",darkorange:"ff8c00",darkorchid:"9932cc",darkred:"8b0000",darksalmon:"e9967a",darkseagreen:"8fbc8f",darkslateblue:"483d8b",darkslategray:"2f4f4f",darkslategrey:"2f4f4f",darkturquoise:"00ced1",darkviolet:"9400d3",deeppink:"ff1493",deepskyblue:"00bfff",dimgray:"696969",dimgrey:"696969",dodgerblue:"1e90ff",firebrick:"b22222",floralwhite:"fffaf0",forestgreen:"228b22",fuchsia:"ff00ff",gainsboro:"dcdcdc",ghostwhite:"f8f8ff",gold:"ffd700",goldenrod:"daa520",gray:"808080",green:"008000",greenyellow:"adff2f",grey:"808080",honeydew:"f0fff0",hotpink:"ff69b4",indianred:"cd5c5c",indigo:"4b0082",ivory:"fffff0",khaki:"f0e68c",lavender:"e6e6fa",lavenderblush:"fff0f5",lawngreen:"7cfc00",lemonchiffon:"fffacd",lightblue:"add8e6",lightcoral:"f08080",lightcyan:"e0ffff",lightgoldenrodyellow:"fafad2",lightgray:"d3d3d3",lightgreen:"90ee90",lightgrey:"d3d3d3",lightpink:"ffb6c1",lightsalmon:"ffa07a",lightseagreen:"20b2aa",lightskyblue:"87cefa",lightslategray:"789",lightslategrey:"789",lightsteelblue:"b0c4de",lightyellow:"ffffe0",lime:"0f0",limegreen:"32cd32",linen:"faf0e6",magenta:"f0f",maroon:"800000",mediumaquamarine:"66cdaa",mediumblue:"0000cd",mediumorchid:"ba55d3",mediumpurple:"9370db",mediumseagreen:"3cb371",mediumslateblue:"7b68ee",mediumspringgreen:"00fa9a",mediumturquoise:"48d1cc",mediumvioletred:"c71585",midnightblue:"191970",mintcream:"f5fffa",mistyrose:"ffe4e1",moccasin:"ffe4b5",navajowhite:"ffdead",navy:"000080",oldlace:"fdf5e6",olive:"808000",olivedrab:"6b8e23",orange:"ffa500",orangered:"ff4500",orchid:"da70d6",palegoldenrod:"eee8aa",palegreen:"98fb98",paleturquoise:"afeeee",palevioletred:"db7093",papayawhip:"ffefd5",peachpuff:"ffdab9",peru:"cd853f",pink:"ffc0cb",plum:"dda0dd",powderblue:"b0e0e6",purple:"800080",rebeccapurple:"639",red:"f00",rosybrown:"bc8f8f",royalblue:"4169e1",saddlebrown:"8b4513",salmon:"fa8072",sandybrown:"f4a460",seagreen:"2e8b57",seashell:"fff5ee",sienna:"a0522d",silver:"c0c0c0",skyblue:"87ceeb",slateblue:"6a5acd",slategray:"708090",slategrey:"708090",snow:"fffafa",springgreen:"00ff7f",steelblue:"4682b4",tan:"d2b48c",teal:"008080",thistle:"d8bfd8",tomato:"ff6347",turquoise:"40e0d0",violet:"ee82ee",wheat:"f5deb3",white:"fff",whitesmoke:"f5f5f5",yellow:"ff0",yellowgreen:"9acd32"};var wi=/^#[a-fA-F0-9]{6}$/,ki=/^#[a-fA-F0-9]{8}$/,Si=/^#[a-fA-F0-9]{3}$/,Ei=/^#[a-fA-F0-9]{4}$/,Ti=/^rgb\(\s*(\d{1,3})\s*(?:,)?\s*(\d{1,3})\s*(?:,)?\s*(\d{1,3})\s*\)$/i,Oi=/^rgb(?:a)?\(\s*(\d{1,3})\s*(?:,)?\s*(\d{1,3})\s*(?:,)?\s*(\d{1,3})\s*(?:,|\/)\s*([-+]?\d*[.]?\d+[%]?)\s*\)$/i,Ci=/^hsl\(\s*(\d{0,3}[.]?[0-9]+(?:deg)?)\s*(?:,)?\s*(\d{1,3}[.]?[0-9]?)%\s*(?:,)?\s*(\d{1,3}[.]?[0-9]?)%\s*\)$/i,Mi=/^hsl(?:a)?\(\s*(\d{0,3}[.]?[0-9]+(?:deg)?)\s*(?:,)?\s*(\d{1,3}[.]?[0-9]?)%\s*(?:,)?\s*(\d{1,3}[.]?[0-9]?)%\s*(?:,|\/)\s*([-+]?\d*[.]?\d+[%]?)\s*\)$/i;function Ai(e){if("string"!=typeof e)throw new gi(3);var t=function(e){if("string"!=typeof e)return e;var t=e.toLowerCase();return xi[t]?"#"+xi[t]:e}(e);if(t.match(wi))return{red:parseInt(""+t[1]+t[2],16),green:parseInt(""+t[3]+t[4],16),blue:parseInt(""+t[5]+t[6],16)};if(t.match(ki)){var r=parseFloat((parseInt(""+t[7]+t[8],16)/255).toFixed(2));return{red:parseInt(""+t[1]+t[2],16),green:parseInt(""+t[3]+t[4],16),blue:parseInt(""+t[5]+t[6],16),alpha:r}}if(t.match(Si))return{red:parseInt(""+t[1]+t[1],16),green:parseInt(""+t[2]+t[2],16),blue:parseInt(""+t[3]+t[3],16)};if(t.match(Ei)){var n=parseFloat((parseInt(""+t[4]+t[4],16)/255).toFixed(2));return{red:parseInt(""+t[1]+t[1],16),green:parseInt(""+t[2]+t[2],16),blue:parseInt(""+t[3]+t[3],16),alpha:n}}var o=Ti.exec(t);if(o)return{red:parseInt(""+o[1],10),green:parseInt(""+o[2],10),blue:parseInt(""+o[3],10)};var a=Oi.exec(t.substring(0,50));if(a)return{red:parseInt(""+a[1],10),green:parseInt(""+a[2],10),blue:parseInt(""+a[3],10),alpha:parseFloat(""+a[4])>1?parseFloat(""+a[4])/100:parseFloat(""+a[4])};var i=Ci.exec(t);if(i){var s="rgb("+vi(parseInt(""+i[1],10),parseInt(""+i[2],10)/100,parseInt(""+i[3],10)/100)+")",l=Ti.exec(s);if(!l)throw new gi(4,t,s);return{red:parseInt(""+l[1],10),green:parseInt(""+l[2],10),blue:parseInt(""+l[3],10)}}var c=Mi.exec(t.substring(0,50));if(c){var u="rgb("+vi(parseInt(""+c[1],10),parseInt(""+c[2],10)/100,parseInt(""+c[3],10)/100)+")",d=Ti.exec(u);if(!d)throw new gi(4,t,u);return{red:parseInt(""+d[1],10),green:parseInt(""+d[2],10),blue:parseInt(""+d[3],10),alpha:parseFloat(""+c[4])>1?parseFloat(""+c[4])/100:parseFloat(""+c[4])}}throw new gi(5)}function Ri(e){return function(e){var t=e.red/255,r=e.green/255,n=e.blue/255,o=Math.max(t,r,n),a=Math.min(t,r,n),i=(o+a)/2;if(o===a)return void 0!==e.alpha?{hue:0,saturation:0,lightness:i,alpha:e.alpha}:{hue:0,saturation:0,lightness:i};var s,l=o-a,c=i>.5?l/(2-o-a):l/(o+a);switch(o){case t:s=(r-n)/l+(r<n?6:0);break;case r:s=(n-t)/l+2;break;default:s=(t-r)/l+4}return s*=60,void 0!==e.alpha?{hue:s,saturation:c,lightness:i,alpha:e.alpha}:{hue:s,saturation:c,lightness:i}}(Ai(e))}var Ni=function(e){return 7===e.length&&e[1]===e[2]&&e[3]===e[4]&&e[5]===e[6]?"#"+e[1]+e[3]+e[5]:e};function _i(e){var t=e.toString(16);return 1===t.length?"0"+t:t}function Ii(e){return _i(Math.round(255*e))}function Pi(e,t,r){return Ni("#"+Ii(e)+Ii(t)+Ii(r))}function $i(e,t,r){return vi(e,t,r,Pi)}function Fi(e,t,r){if("number"==typeof e&&"number"==typeof t&&"number"==typeof r)return Ni("#"+_i(e)+_i(t)+_i(r));if("object"==typeof e&&void 0===t&&void 0===r)return Ni("#"+_i(e.red)+_i(e.green)+_i(e.blue));throw new gi(6)}function Li(e,t,r,n){if("string"==typeof e&&"number"==typeof t){var o=Ai(e);return"rgba("+o.red+","+o.green+","+o.blue+","+t+")"}if("number"==typeof e&&"number"==typeof t&&"number"==typeof r&&"number"==typeof n)return n>=1?Fi(e,t,r):"rgba("+e+","+t+","+r+","+n+")";if("object"==typeof e&&void 0===t&&void 0===r&&void 0===n)return e.alpha>=1?Fi(e.red,e.green,e.blue):"rgba("+e.red+","+e.green+","+e.blue+","+e.alpha+")";throw new gi(7)}var zi=function(e){return"number"==typeof e.red&&"number"==typeof e.green&&"number"==typeof e.blue&&("number"!=typeof e.alpha||typeof e.alpha>"u")},ji=function(e){return"number"==typeof e.red&&"number"==typeof e.green&&"number"==typeof e.blue&&"number"==typeof e.alpha},Di=function(e){return"number"==typeof e.hue&&"number"==typeof e.saturation&&"number"==typeof e.lightness&&("number"!=typeof e.alpha||typeof e.alpha>"u")},Bi=function(e){return"number"==typeof e.hue&&"number"==typeof e.saturation&&"number"==typeof e.lightness&&"number"==typeof e.alpha};function Wi(e){if("object"!=typeof e)throw new gi(8);if(ji(e))return Li(e);if(zi(e))return Fi(e);if(Bi(e))return function(e,t,r,n){if("number"==typeof e&&"number"==typeof t&&"number"==typeof r&&"number"==typeof n)return n>=1?$i(e,t,r):"rgba("+vi(e,t,r)+","+n+")";if("object"==typeof e&&void 0===t&&void 0===r&&void 0===n)return e.alpha>=1?$i(e.hue,e.saturation,e.lightness):"rgba("+vi(e.hue,e.saturation,e.lightness)+","+e.alpha+")";throw new gi(2)}(e);if(Di(e))return function(e,t,r){if("number"==typeof e&&"number"==typeof t&&"number"==typeof r)return $i(e,t,r);if("object"==typeof e&&void 0===t&&void 0===r)return $i(e.hue,e.saturation,e.lightness);throw new gi(1)}(e);throw new gi(8)}function Hi(e,t,r){return function(){var n=r.concat(Array.prototype.slice.call(arguments));return n.length>=t?e.apply(this,n):Hi(e,t,n)}}function Ui(e){return Hi(e,e.length,[])}function Gi(e,t,r){return Math.max(e,Math.min(t,r))}Ui((function(e,t){if("transparent"===t)return t;var r=Ri(t);return Wi(di({},r,{hue:r.hue+parseFloat(e)}))})),Ui((function(e,t){if("transparent"===t)return t;var r=Ri(t);return Wi(di({},r,{lightness:Gi(0,1,r.lightness-parseFloat(e))}))})),Ui((function(e,t){if("transparent"===t)return t;var r=Ri(t);return Wi(di({},r,{saturation:Gi(0,1,r.saturation-parseFloat(e))}))}));Ui((function(e,t){if("transparent"===t)return t;var r=Ri(t);return Wi(di({},r,{lightness:Gi(0,1,r.lightness+parseFloat(e))}))}));var Vi=Ui((function(e,t,r){if("transparent"===t)return r;if("transparent"===r)return t;if(0===e)return r;var n=Ai(t),o=di({},n,{alpha:"number"==typeof n.alpha?n.alpha:1}),a=Ai(r),i=di({},a,{alpha:"number"==typeof a.alpha?a.alpha:1}),s=o.alpha-i.alpha,l=2*parseFloat(e)-1,c=((l*s==-1?l:l+s)/(1+l*s)+1)/2,u=1-c;return Li({red:Math.floor(o.red*c+i.red*u),green:Math.floor(o.green*c+i.green*u),blue:Math.floor(o.blue*c+i.blue*u),alpha:o.alpha*parseFloat(e)+i.alpha*(1-parseFloat(e))})})),Yi=Vi;Ui((function(e,t){if("transparent"===t)return t;var r=Ai(t);return Li(di({},r,{alpha:Gi(0,1,(100*("number"==typeof r.alpha?r.alpha:1)+100*parseFloat(e))/100)}))})),Ui((function(e,t){if("transparent"===t)return t;var r=Ri(t);return Wi(di({},r,{saturation:Gi(0,1,r.saturation+parseFloat(e))}))})),Ui((function(e,t){return"transparent"===t?t:Wi(di({},Ri(t),{hue:parseFloat(e)}))})),Ui((function(e,t){return"transparent"===t?t:Wi(di({},Ri(t),{lightness:parseFloat(e)}))})),Ui((function(e,t){return"transparent"===t?t:Wi(di({},Ri(t),{saturation:parseFloat(e)}))}));var Ki=Ui((function(e,t){return"transparent"===t?t:Yi(parseFloat(e),"rgb(0, 0, 0)",t)}));var Xi=Ui((function(e,t){return"transparent"===t?t:Yi(parseFloat(e),"rgb(255, 255, 255)",t)}));Ui((function(e,t){if("transparent"===t)return t;var r=Ai(t);return Li(di({},r,{alpha:Gi(0,1,+(100*("number"==typeof r.alpha?r.alpha:1)-100*parseFloat(e)).toFixed(2)/100)}))}));const qi=e=>({0:Xi(1,e),25:Xi(.95,e),50:Xi(.9,e),100:Xi(.8,e),150:Xi(.7,e),200:Xi(.6,e),300:Xi(.4,e),350:Xi(.3,e),400:Xi(.2,e),450:Xi(.1,e),475:Xi(.05,e),500:e,525:Ki(.05,e),550:Ki(.1,e),600:Ki(.2,e),700:Ki(.4,e),800:Ki(.6,e),850:Ki(.7,e),900:Ki(.8,e),950:Ki(.9,e),1e3:Ki(1,e)}),Ji="#41D33E",Zi="#F8D313",Qi=(qi("#F73730"),qi(Ji),qi(Zi),(e,t)=>{const r={};for(const n of Object.keys(e)){const o=e[n];r[n]="object"==typeof o?Qi(o,t?`${t}.${n}`:n):{themeKey:t?`${t}.${n}`:n}}return r});Qi(ui);var es=function(){return es=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++)for(var o in t=arguments[r])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},es.apply(this,arguments)},ts=function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(n=Object.getOwnPropertySymbols(e);o<n.length;o++)t.indexOf(n[o])<0&&Object.prototype.propertyIsEnumerable.call(e,n[o])&&(r[n[o]]=e[n[o]])}return r},rs=function(e,t){var r="function"==typeof Symbol&&e[Symbol.iterator];if(!r)return e;var n,o,a=r.call(e),i=[];try{for(;(void 0===t||t-- >0)&&!(n=a.next()).done;)i.push(n.value)}catch(s){o={error:s}}finally{try{n&&!n.done&&(r=a.return)&&r.call(a)}finally{if(o)throw o.error}}return i},ns=function(e){var r,n,o,a=e.children,i=e.parentSelector,s=e.defaultTheme,l=void 0===s?{}:s,c=e.component,u=e.withoutBoxWrapper,d=ts(e,["children","parentSelector","defaultTheme","component","withoutBoxWrapper"]),p=JSON.stringify(d.elements),f=JSON.stringify(d.collection),m=rs((0,t.useMemo)((function(){var e=new Set,t={elements:er(d.elements,e),collection:d.collection,id:d.id,hrid:d.hrid,blockSelector:i,options:d.options,settings:d.settings,category:d.category},r=function(e,t){void 0===t&&(t="");var r="";return e.forEach((function(e){var n=Wt(e);r+=t?"".concat(t," ").concat(n," "):"".concat(n," ")})),r}(e,i);return[t,r]}),[p,f,d.id,d.hrid,d.options,i]),2),h=m[0],g=m[1],y=ii().isDesktop,b=d.hrid,v=d.version,x=d.id,w=d.name,k=d.updated,S=d.created_at,E=k&&k.length?k.pop():"",T=h.elements,O=T.container,C=void 0===O?{}:O,M=T.backgroundImage,A=void 0===M?{}:M,R=T.sideImage;return(0,t.useEffect)((function(){b&&(e=>{si()&&window.parent!==window&&window.parent.dispatchEvent(e),window.dispatchEvent(e)})(new CustomEvent(`block-loaded-${b}`))}),[b]),r=g,n=i,o=(0,t.useMemo)((function(){var e=document.createElement("style");return n&&e.setAttribute("data-for",n),document.head.append(e),e}),[n]),(0,t.useEffect)((function(){return function(){return o&&o.remove()}}),[o]),o.innerHTML=r,(0,t.useEffect)((function(){o.innerHTML=r}),[r,o]),Ie($e.Provider,{value:h,children:Pe($a,{defaultTheme:l,children:[!u&&Ie(ri,{component:c||"section","data-block-version":v,"data-block-id":x,"data-block-updated":E,"data-block-created-at":S,style:es(es({},!R&&(null==A?void 0:A.src)?{backgroundImage:"url(".concat(A.src,")")}:{}),R&&y&&(window.location.href.startsWith("http://localhost:4200")||window.location.href.startsWith("https://studio-staging")||window.location.href.startsWith("https://studio.softr.io/"))?{height:"950px"}:{}),className:"".concat(w,"-").concat(x," ").concat(null==C?void 0:C.className," ").concat(R?"":(null==A?void 0:A.className)||""),children:a}),u?a:null]})})},os=function(){return os=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++)for(var o in t=arguments[r])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},os.apply(this,arguments)},as=function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(n=Object.getOwnPropertySymbols(e);o<n.length;o++)t.indexOf(n[o])<0&&Object.prototype.propertyIsEnumerable.call(e,n[o])&&(r[n[o]]=e[n[o]])}return r},is=function(e){var t=e.children,r=e.className,n=e.justifyContent,o=e.styles,a=as(e,["children","className","justifyContent","styles"]),i=os(os({},n?{display:"flex",justifyContent:n}:{}),o||{});return Ie(ri,os({component:"div",className:fr()(r,"container"),sx:i},a,{children:t}))};is.defaultProps={};const ss=is,ls=so();function cs(){const e=qa(ls);return e[yo]||e}function us(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return we(t)}var ds=function(){var e=us.apply(void 0,arguments),t="animation-"+e.name;return{name:t,styles:"@keyframes "+t+"{"+e.styles+"}",anim:1,toString:function(){return"_EMO_"+this.name+"_"+this.styles+"_EMO_"}}};function ps(e,t,r=void 0){const n={};return Object.keys(e).forEach((o=>{n[o]=e[o].reduce(((e,n)=>{if(n){const o=t(n);""!==o&&e.push(o),r&&r[n]&&e.push(r[n])}return e}),[]).join(" ")})),n}function fs(e){return String(e).match(/[\d.\-+]*\s*(.*)/)[1]||""}function ms(e){return parseFloat(e)}const hs=["variant"];function gs(e){return 0===e.length}function ys(e){const{variant:t}=e,r=hr(e,hs);let n=t||"";return Object.keys(r).sort().forEach((t=>{n+="color"===t?gs(n)?e[t]:Ar(e[t]):`${gs(n)?t:Ar(t)}${Ar(e[t].toString())}`})),n}const bs=["name","slot","skipVariantsResolver","skipSx","overridesResolver"];function vs(e){return"ownerState"!==e&&"theme"!==e&&"sx"!==e&&"as"!==e}const xs=En(),ws=e=>e?e.charAt(0).toLowerCase()+e.slice(1):e;function ks({defaultTheme:e,theme:t,themeId:r}){return n=t,0===Object.keys(n).length?e:t[r]||t;var n}function Ss(e){return e?(t,r)=>r[e]:null}const Es=e=>vs(e)&&"classes"!==e,Ts=function(e={}){const{themeId:t,defaultTheme:r=xs,rootShouldForwardProp:n=vs,slotShouldForwardProp:o=vs}=e,a=e=>kn(mr({},e,{theme:ks(mr({},e,{defaultTheme:r,themeId:t}))}));return a.__mui_systemSx=!0,(e,i={})=>{((e,t)=>{Array.isArray(e.__emotion_styles)&&(e.__emotion_styles=t(e.__emotion_styles))})(e,(e=>e.filter((e=>!(null!=e&&e.__mui_systemSx)))));const{name:s,slot:l,skipVariantsResolver:c,skipSx:u,overridesResolver:d=Ss(ws(l))}=i,p=hr(i,bs),f=void 0!==c?c:l&&"Root"!==l&&"root"!==l||!1,m=u||!1;let h=vs;"Root"===l||"root"===l?h=n:l?h=o:function(e){return"string"==typeof e&&e.charCodeAt(0)>96}(e)&&(h=void 0);const g=Ga(e,mr({shouldForwardProp:h,label:undefined},p)),y=(n,...o)=>{const i=o?o.map((e=>"function"==typeof e&&e.__emotion_real!==e?n=>e(mr({},n,{theme:ks(mr({},n,{defaultTheme:r,themeId:t}))})):e)):[];let l=n;s&&d&&i.push((e=>{const n=ks(mr({},e,{defaultTheme:r,themeId:t})),o=((e,t)=>t.components&&t.components[e]&&t.components[e].styleOverrides?t.components[e].styleOverrides:null)(s,n);if(o){const t={};return Object.entries(o).forEach((([r,o])=>{t[r]="function"==typeof o?o(mr({},e,{theme:n})):o})),d(e,t)}return null})),s&&!f&&i.push((e=>{const n=ks(mr({},e,{defaultTheme:r,themeId:t}));return((e,t,r,n)=>{var o;const{ownerState:a={}}=e,i=[],s=null==r||null==(o=r.components)||null==(o=o[n])?void 0:o.variants;return s&&s.forEach((r=>{let n=!0;Object.keys(r.props).forEach((t=>{a[t]!==r.props[t]&&e[t]!==r.props[t]&&(n=!1)})),n&&i.push(t[ys(r.props)])})),i})(e,((e,t)=>{let r=[];t&&t.components&&t.components[e]&&t.components[e].variants&&(r=t.components[e].variants);const n={};return r.forEach((e=>{const t=ys(e.props);n[t]=e.style})),n})(s,n),n,s)})),m||i.push(a);const c=i.length-o.length;if(Array.isArray(n)&&c>0){const e=new Array(c).fill("");l=[...n,...e],l.raw=[...n.raw,...e]}else"function"==typeof n&&n.__emotion_real!==n&&(l=e=>n(mr({},e,{theme:ks(mr({},e,{defaultTheme:r,themeId:t}))})));const u=g(l,...i);return e.muiName&&(u.muiName=e.muiName),u};return g.withConfig&&(y.withConfig=g.withConfig),y}}({themeId:yo,defaultTheme:ls,rootShouldForwardProp:Es}),Os=Ts;function Cs(e,t){const r=mr({},t);return Object.keys(e).forEach((n=>{if(n.toString().match(/^(components|slots)$/))r[n]=mr({},e[n],r[n]);else if(n.toString().match(/^(componentsProps|slotProps)$/)){const o=e[n]||{},a=t[n];r[n]={},a&&Object.keys(a)?o&&Object.keys(o)?(r[n]=mr({},a),Object.keys(o).forEach((e=>{r[n][e]=Cs(o[e],a[e])}))):r[n]=a:r[n]=o}else void 0===r[n]&&(r[n]=e[n])})),r}function Ms({props:e,name:t,defaultTheme:r,themeId:n}){let o=qa(r);n&&(o=o[n]||o);const a=function(e){const{theme:t,name:r,props:n}=e;return t&&t.components&&t.components[r]&&t.components[r].defaultProps?Cs(t.components[r].defaultProps,n):n}({theme:o,name:t,props:e});return a}function As({props:e,name:t}){return Ms({props:e,name:t,defaultTheme:ls,themeId:yo})}const Rs={active:"active",checked:"checked",completed:"completed",disabled:"disabled",error:"error",expanded:"expanded",focused:"focused",focusVisible:"focusVisible",open:"open",readOnly:"readOnly",required:"required",selected:"selected"};function Ns(e,t,r="Mui"){const n=Rs[t];return n?`${r}-${n}`:`${Qa.generate(e)}-${t}`}function _s(e,t,r="Mui"){const n={};return t.forEach((t=>{n[t]=Ns(e,t,r)})),n}function Is(e){return Ns("MuiSkeleton",e)}_s("MuiSkeleton",["root","text","rectangular","rounded","circular","pulse","wave","withChildren","fitContent","heightAuto"]);const Ps=["animation","className","component","height","style","variant","width"];let $s,Fs,Ls,zs,js=e=>e;const Ds=ds($s||($s=js`
0% {
opacity: 1;
}
50% {
opacity: 0.4;
}
100% {
opacity: 1;
}
`)),Bs=ds(Fs||(Fs=js`
0% {
transform: translateX(-100%);
}
50% {
/* +0.5s of delay between each loop */
transform: translateX(100%);
}
100% {
transform: translateX(100%);
}
`)),Ws=Os("span",{name:"MuiSkeleton",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.root,t[r.variant],!1!==r.animation&&t[r.animation],r.hasChildren&&t.withChildren,r.hasChildren&&!r.width&&t.fitContent,r.hasChildren&&!r.height&&t.heightAuto]}})((({theme:e,ownerState:t})=>{const r=fs(e.shape.borderRadius)||"px",n=ms(e.shape.borderRadius);return mr({display:"block",backgroundColor:e.vars?e.vars.palette.Skeleton.bg:Rn(e.palette.text.primary,"light"===e.palette.mode?.11:.13),height:"1.2em"},"text"===t.variant&&{marginTop:0,marginBottom:0,height:"auto",transformOrigin:"0 55%",transform:"scale(1, 0.60)",borderRadius:`${n}${r}/${Math.round(n/.6*10)/10}${r}`,"&:empty:before":{content:'"\\00a0"'}},"circular"===t.variant&&{borderRadius:"50%"},"rounded"===t.variant&&{borderRadius:(e.vars||e).shape.borderRadius},t.hasChildren&&{"& > *":{visibility:"hidden"}},t.hasChildren&&!t.width&&{maxWidth:"fit-content"},t.hasChildren&&!t.height&&{height:"auto"})}),(({ownerState:e})=>"pulse"===e.animation&&us(Ls||(Ls=js`
animation: ${0} 2s ease-in-out 0.5s infinite;
`),Ds)),(({ownerState:e,theme:t})=>"wave"===e.animation&&us(zs||(zs=js`
position: relative;
overflow: hidden;
/* Fix bug in Safari https://bugs.webkit.org/show_bug.cgi?id=68196 */
-webkit-mask-image: -webkit-radial-gradient(white, black);
&::after {
animation: ${0} 2s linear 0.5s infinite;
background: linear-gradient(
90deg,
transparent,
${0},
transparent
);
content: '';
position: absolute;
transform: translateX(-100%); /* Avoid flash during server-side hydration */
bottom: 0;
left: 0;
right: 0;
top: 0;
}
`),Bs,(t.vars||t).palette.action.hover))),Hs=t.forwardRef((function(t,r){const n=As({props:t,name:"MuiSkeleton"}),{animation:o="pulse",className:a,component:i="span",height:s,style:l,variant:c="text",width:u}=n,d=hr(n,Ps),p=mr({},n,{animation:o,component:i,variant:c,hasChildren:Boolean(d.children)}),f=(e=>{const{classes:t,variant:r,animation:n,hasChildren:o,width:a,height:i}=e;return ps({root:["root",r,n,o&&"withChildren",o&&!a&&"fitContent",o&&!i&&"heightAuto"]},Is,t)})(p);return(0,e.jsx)(Ws,mr({as:i,ref:r,className:La(f.root,a),ownerState:p},d,{style:mr({width:u,height:s},l)}))})),Us=Hs;const Gs=function(...e){return t.useMemo((()=>e.every((e=>null==e))?null:t=>{e.forEach((e=>{!function(e,t){"function"==typeof e?e(t):e&&(e.current=t)}(e,t)}))}),e)},Vs="undefined"!=typeof window?t.useLayoutEffect:t.useEffect;const Ys=function(e){const r=t.useRef(e);return Vs((()=>{r.current=e})),t.useCallback(((...e)=>(0,r.current)(...e)),[])},Ks=Ys;let Xs,qs=!0,Js=!1;const Zs={text:!0,search:!0,url:!0,tel:!0,email:!0,password:!0,number:!0,date:!0,month:!0,week:!0,time:!0,datetime:!0,"datetime-local":!0};function Qs(e){e.metaKey||e.altKey||e.ctrlKey||(qs=!0)}function el(){qs=!1}function tl(){"hidden"===this.visibilityState&&Js&&(qs=!0)}function rl(e){const{target:t}=e;try{return t.matches(":focus-visible")}catch(r){}return qs||function(e){const{type:t,tagName:r}=e;return!("INPUT"!==r||!Zs[t]||e.readOnly)||"TEXTAREA"===r&&!e.readOnly||!!e.isContentEditable}(t)}const nl=function(){const e=t.useCallback((e=>{var t;null!=e&&((t=e.ownerDocument).addEventListener("keydown",Qs,!0),t.addEventListener("mousedown",el,!0),t.addEventListener("pointerdown",el,!0),t.addEventListener("touchstart",el,!0),t.addEventListener("visibilitychange",tl,!0))}),[]),r=t.useRef(!1);return{isFocusVisibleRef:r,onFocus:function(e){return!!rl(e)&&(r.current=!0,!0)},onBlur:function(){return!!r.current&&(Js=!0,window.clearTimeout(Xs),Xs=window.setTimeout((()=>{Js=!1}),100),r.current=!1,!0)},ref:e}};function ol(e,t){return ol=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},ol(e,t)}const al=o().createContext(null);function il(e,r){var n=Object.create(null);return e&&t.Children.map(e,(function(e){return e})).forEach((function(e){n[e.key]=function(e){return r&&(0,t.isValidElement)(e)?r(e):e}(e)})),n}function sl(e,t,r){return null!=r[t]?r[t]:e.props[t]}function ll(e,r,n){var o=il(e.children),a=function(e,t){function r(r){return r in t?t[r]:e[r]}e=e||{},t=t||{};var n,o=Object.create(null),a=[];for(var i in e)i in t?a.length&&(o[i]=a,a=[]):a.push(i);var s={};for(var l in t){if(o[l])for(n=0;n<o[l].length;n++){var c=o[l][n];s[o[l][n]]=r(c)}s[l]=r(l)}for(n=0;n<a.length;n++)s[a[n]]=r(a[n]);return s}(r,o);return Object.keys(a).forEach((function(i){var s=a[i];if((0,t.isValidElement)(s)){var l=i in r,c=i in o,u=r[i],d=(0,t.isValidElement)(u)&&!u.props.in;!c||l&&!d?c||!l||d?c&&l&&(0,t.isValidElement)(u)&&(a[i]=(0,t.cloneElement)(s,{onExited:n.bind(null,s),in:u.props.in,exit:sl(s,"exit",e),enter:sl(s,"enter",e)})):a[i]=(0,t.cloneElement)(s,{in:!1}):a[i]=(0,t.cloneElement)(s,{onExited:n.bind(null,s),in:!0,exit:sl(s,"exit",e),enter:sl(s,"enter",e)})}})),a}var cl=Object.values||function(e){return Object.keys(e).map((function(t){return e[t]}))},ul=function(e){var r,n;function a(t,r){var n,o=(n=e.call(this,t,r)||this).handleExited.bind(function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(n));return n.state={contextValue:{isMounting:!0},handleExited:o,firstRender:!0},n}n=e,(r=a).prototype=Object.create(n.prototype),r.prototype.constructor=r,ol(r,n);var i=a.prototype;return i.componentDidMount=function(){this.mounted=!0,this.setState({contextValue:{isMounting:!1}})},i.componentWillUnmount=function(){this.mounted=!1},a.getDerivedStateFromProps=function(e,r){var n,o,a=r.children,i=r.handleExited;return{children:r.firstRender?(n=e,o=i,il(n.children,(function(e){return(0,t.cloneElement)(e,{onExited:o.bind(null,e),in:!0,appear:sl(e,"appear",n),enter:sl(e,"enter",n),exit:sl(e,"exit",n)})}))):ll(e,a,i),firstRender:!1}},i.handleExited=function(e,t){var r=il(this.props.children);e.key in r||(e.props.onExited&&e.props.onExited(t),this.mounted&&this.setState((function(t){var r=mr({},t.children);return delete r[e.key],{children:r}})))},i.render=function(){var e=this.props,t=e.component,r=e.childFactory,n=hr(e,["component","childFactory"]),a=this.state.contextValue,i=cl(this.state.children).map(r);return delete n.appear,delete n.enter,delete n.exit,null===t?o().createElement(al.Provider,{value:a},i):o().createElement(al.Provider,{value:a},o().createElement(t,n,i))},a}(o().Component);ul.propTypes={},ul.defaultProps={component:"div",childFactory:function(e){return e}};const dl=ul;const pl=function(r){const{className:n,classes:o,pulsate:a=!1,rippleX:i,rippleY:s,rippleSize:l,in:c,onExited:u,timeout:d}=r,[p,f]=t.useState(!1),m=La(n,o.ripple,o.rippleVisible,a&&o.ripplePulsate),h={width:l,height:l,top:-l/2+s,left:-l/2+i},g=La(o.child,p&&o.childLeaving,a&&o.childPulsate);return c||p||f(!0),t.useEffect((()=>{if(!c&&null!=u){const e=setTimeout(u,d);return()=>{clearTimeout(e)}}}),[u,c,d]),(0,e.jsx)("span",{className:m,style:h,children:(0,e.jsx)("span",{className:g})})};const fl=_s("MuiTouchRipple",["root","ripple","rippleVisible","ripplePulsate","child","childLeaving","childPulsate"]),ml=["center","classes","className"];let hl,gl,yl,bl,vl=e=>e;const xl=ds(hl||(hl=vl`
0% {
transform: scale(0);
opacity: 0.1;
}
100% {
transform: scale(1);
opacity: 0.3;
}
`)),wl=ds(gl||(gl=vl`
0% {
opacity: 1;
}
100% {
opacity: 0;
}
`)),kl=ds(yl||(yl=vl`
0% {
transform: scale(1);
}
50% {
transform: scale(0.92);
}
100% {
transform: scale(1);
}
`)),Sl=Os("span",{name:"MuiTouchRipple",slot:"Root"})({overflow:"hidden",pointerEvents:"none",position:"absolute",zIndex:0,top:0,right:0,bottom:0,left:0,borderRadius:"inherit"}),El=Os(pl,{name:"MuiTouchRipple",slot:"Ripple"})(bl||(bl=vl`
opacity: 0;
position: absolute;
&.${0} {
opacity: 0.3;
transform: scale(1);
animation-name: ${0};
animation-duration: ${0}ms;
animation-timing-function: ${0};
}
&.${0} {
animation-duration: ${0}ms;
}
& .${0} {
opacity: 1;
display: block;
width: 100%;
height: 100%;
border-radius: 50%;
background-color: currentColor;
}
& .${0} {
opacity: 0;
animation-name: ${0};
animation-duration: ${0}ms;
animation-timing-function: ${0};
}
& .${0} {
position: absolute;
/* @noflip */
left: 0px;
top: 0;
animation-name: ${0};
animation-duration: 2500ms;
animation-timing-function: ${0};
animation-iteration-count: infinite;
animation-delay: 200ms;
}
`),fl.rippleVisible,xl,550,(({theme:e})=>e.transitions.easing.easeInOut),fl.ripplePulsate,(({theme:e})=>e.transitions.duration.shorter),fl.child,fl.childLeaving,wl,550,(({theme:e})=>e.transitions.easing.easeInOut),fl.childPulsate,kl,(({theme:e})=>e.transitions.easing.easeInOut)),Tl=t.forwardRef((function(r,n){const o=As({props:r,name:"MuiTouchRipple"}),{center:a=!1,classes:i={},className:s}=o,l=hr(o,ml),[c,u]=t.useState([]),d=t.useRef(0),p=t.useRef(null);t.useEffect((()=>{p.current&&(p.current(),p.current=null)}),[c]);const f=t.useRef(!1),m=t.useRef(0),h=t.useRef(null),g=t.useRef(null);t.useEffect((()=>()=>{m.current&&clearTimeout(m.current)}),[]);const y=t.useCallback((t=>{const{pulsate:r,rippleX:n,rippleY:o,rippleSize:a,cb:s}=t;u((t=>[...t,(0,e.jsx)(El,{classes:{ripple:La(i.ripple,fl.ripple),rippleVisible:La(i.rippleVisible,fl.rippleVisible),ripplePulsate:La(i.ripplePulsate,fl.ripplePulsate),child:La(i.child,fl.child),childLeaving:La(i.childLeaving,fl.childLeaving),childPulsate:La(i.childPulsate,fl.childPulsate)},timeout:550,pulsate:r,rippleX:n,rippleY:o,rippleSize:a},d.current)])),d.current+=1,p.current=s}),[i]),b=t.useCallback(((e={},t={},r=(()=>{}))=>{const{pulsate:n=!1,center:o=a||t.pulsate,fakeElement:i=!1}=t;if("mousedown"===(null==e?void 0:e.type)&&f.current)return void(f.current=!1);"touchstart"===(null==e?void 0:e.type)&&(f.current=!0);const s=i?null:g.current,l=s?s.getBoundingClientRect():{width:0,height:0,left:0,top:0};let c,u,d;if(o||void 0===e||0===e.clientX&&0===e.clientY||!e.clientX&&!e.touches)c=Math.round(l.width/2),u=Math.round(l.height/2);else{const{clientX:t,clientY:r}=e.touches&&e.touches.length>0?e.touches[0]:e;c=Math.round(t-l.left),u=Math.round(r-l.top)}if(o)d=Math.sqrt((2*l.width**2+l.height**2)/3),d%2==0&&(d+=1);else{const e=2*Math.max(Math.abs((s?s.clientWidth:0)-c),c)+2,t=2*Math.max(Math.abs((s?s.clientHeight:0)-u),u)+2;d=Math.sqrt(e**2+t**2)}null!=e&&e.touches?null===h.current&&(h.current=()=>{y({pulsate:n,rippleX:c,rippleY:u,rippleSize:d,cb:r})},m.current=setTimeout((()=>{h.current&&(h.current(),h.current=null)}),80)):y({pulsate:n,rippleX:c,rippleY:u,rippleSize:d,cb:r})}),[a,y]),v=t.useCallback((()=>{b({},{pulsate:!0})}),[b]),x=t.useCallback(((e,t)=>{if(clearTimeout(m.current),"touchend"===(null==e?void 0:e.type)&&h.current)return h.current(),h.current=null,void(m.current=setTimeout((()=>{x(e,t)})));h.current=null,u((e=>e.length>0?e.slice(1):e)),p.current=t}),[]);return t.useImperativeHandle(n,(()=>({pulsate:v,start:b,stop:x})),[v,b,x]),(0,e.jsx)(Sl,mr({className:La(fl.root,i.root,s),ref:g},l,{children:(0,e.jsx)(dl,{component:null,exit:!0,children:c})}))})),Ol=Tl;function Cl(e){return Ns("MuiButtonBase",e)}const Ml=_s("MuiButtonBase",["root","disabled","focusVisible"]),Al=["action","centerRipple","children","className","component","disabled","disableRipple","disableTouchRipple","focusRipple","focusVisibleClassName","LinkComponent","onBlur","onClick","onContextMenu","onDragLeave","onFocus","onFocusVisible","onKeyDown","onKeyUp","onMouseDown","onMouseLeave","onMouseUp","onTouchEnd","onTouchMove","onTouchStart","tabIndex","TouchRippleProps","touchRippleRef","type"],Rl=Os("button",{name:"MuiButtonBase",slot:"Root",overridesResolver:(e,t)=>t.root})({display:"inline-flex",alignItems:"center",justifyContent:"center",position:"relative",boxSizing:"border-box",WebkitTapHighlightColor:"transparent",backgroundColor:"transparent",outline:0,border:0,margin:0,borderRadius:0,padding:0,cursor:"pointer",userSelect:"none",verticalAlign:"middle",MozAppearance:"none",WebkitAppearance:"none",textDecoration:"none",color:"inherit","&::-moz-focus-inner":{borderStyle:"none"},[`&.${Ml.disabled}`]:{pointerEvents:"none",cursor:"default"},"@media print":{colorAdjust:"exact"}}),Nl=t.forwardRef((function(r,n){const o=As({props:r,name:"MuiButtonBase"}),{action:a,centerRipple:i=!1,children:s,className:l,component:c="button",disabled:u=!1,disableRipple:d=!1,disableTouchRipple:p=!1,focusRipple:f=!1,LinkComponent:m="a",onBlur:h,onClick:g,onContextMenu:y,onDragLeave:b,onFocus:v,onFocusVisible:x,onKeyDown:w,onKeyUp:k,onMouseDown:S,onMouseLeave:E,onMouseUp:T,onTouchEnd:O,onTouchMove:C,onTouchStart:M,tabIndex:A=0,TouchRippleProps:R,touchRippleRef:N,type:_}=o,I=hr(o,Al),P=t.useRef(null),$=t.useRef(null),F=Gs($,N),{isFocusVisibleRef:L,onFocus:z,onBlur:j,ref:D}=nl(),[B,W]=t.useState(!1);u&&B&&W(!1),t.useImperativeHandle(a,(()=>({focusVisible:()=>{W(!0),P.current.focus()}})),[]);const[H,U]=t.useState(!1);t.useEffect((()=>{U(!0)}),[]);const G=H&&!d&&!u;function V(e,t,r=p){return Ks((n=>{t&&t(n);return!r&&$.current&&$.current[e](n),!0}))}t.useEffect((()=>{B&&f&&!d&&H&&$.current.pulsate()}),[d,f,B,H]);const Y=V("start",S),K=V("stop",y),X=V("stop",b),q=V("stop",T),J=V("stop",(e=>{B&&e.preventDefault(),E&&E(e)})),Z=V("start",M),Q=V("stop",O),ee=V("stop",C),te=V("stop",(e=>{j(e),!1===L.current&&W(!1),h&&h(e)}),!1),re=Ks((e=>{P.current||(P.current=e.currentTarget),z(e),!0===L.current&&(W(!0),x&&x(e)),v&&v(e)})),ne=()=>{const e=P.current;return c&&"button"!==c&&!("A"===e.tagName&&e.href)},oe=t.useRef(!1),ae=Ks((e=>{f&&!oe.current&&B&&$.current&&" "===e.key&&(oe.current=!0,$.current.stop(e,(()=>{$.current.start(e)}))),e.target===e.currentTarget&&ne()&&" "===e.key&&e.preventDefault(),w&&w(e),e.target===e.currentTarget&&ne()&&"Enter"===e.key&&!u&&(e.preventDefault(),g&&g(e))})),ie=Ks((e=>{f&&" "===e.key&&$.current&&B&&!e.defaultPrevented&&(oe.current=!1,$.current.stop(e,(()=>{$.current.pulsate(e)}))),k&&k(e),g&&e.target===e.currentTarget&&ne()&&" "===e.key&&!e.defaultPrevented&&g(e)}));let se=c;"button"===se&&(I.href||I.to)&&(se=m);const le={};"button"===se?(le.type=void 0===_?"button":_,le.disabled=u):(I.href||I.to||(le.role="button"),u&&(le["aria-disabled"]=u));const ce=Gs(n,D,P);const ue=mr({},o,{centerRipple:i,component:c,disabled:u,disableRipple:d,disableTouchRipple:p,focusRipple:f,tabIndex:A,focusVisible:B}),de=(e=>{const{disabled:t,focusVisible:r,focusVisibleClassName:n,classes:o}=e,a=ps({root:["root",t&&"disabled",r&&"focusVisible"]},Cl,o);return r&&n&&(a.root+=` ${n}`),a})(ue);return(0,e.jsxs)(Rl,mr({as:se,className:La(de.root,l),ownerState:ue,onBlur:te,onClick:g,onContextMenu:K,onFocus:re,onKeyDown:ae,onKeyUp:ie,onMouseDown:Y,onMouseLeave:J,onMouseUp:q,onDragLeave:X,onTouchEnd:Q,onTouchMove:ee,onTouchStart:Z,ref:ce,tabIndex:u?-1:A,type:_},le,I,{children:[s,G?(0,e.jsx)(Ol,mr({ref:F,center:i},R)):null]}))})),_l=Nl,Il=Ar;function Pl(e){return Ns("MuiButton",e)}const $l=_s("MuiButton",["root","text","textInherit","textPrimary","textSecondary","textSuccess","textError","textInfo","textWarning","outlined","outlinedInherit","outlinedPrimary","outlinedSecondary","outlinedSuccess","outlinedError","outlinedInfo","outlinedWarning","contained","containedInherit","containedPrimary","containedSecondary","containedSuccess","containedError","containedInfo","containedWarning","disableElevation","focusVisible","disabled","colorInherit","textSizeSmall","textSizeMedium","textSizeLarge","outlinedSizeSmall","outlinedSizeMedium","outlinedSizeLarge","containedSizeSmall","containedSizeMedium","containedSizeLarge","sizeMedium","sizeSmall","sizeLarge","fullWidth","startIcon","endIcon","iconSizeSmall","iconSizeMedium","iconSizeLarge"]);const Fl=t.createContext({});const Ll=t.createContext(void 0),zl=["children","color","component","className","disabled","disableElevation","disableFocusRipple","endIcon","focusVisibleClassName","fullWidth","size","startIcon","type","variant"],jl=e=>mr({},"small"===e.size&&{"& > *:nth-of-type(1)":{fontSize:18}},"medium"===e.size&&{"& > *:nth-of-type(1)":{fontSize:20}},"large"===e.size&&{"& > *:nth-of-type(1)":{fontSize:22}}),Dl=Os(_l,{shouldForwardProp:e=>Es(e)||"classes"===e,name:"MuiButton",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.root,t[r.variant],t[`${r.variant}${Il(r.color)}`],t[`size${Il(r.size)}`],t[`${r.variant}Size${Il(r.size)}`],"inherit"===r.color&&t.colorInherit,r.disableElevation&&t.disableElevation,r.fullWidth&&t.fullWidth]}})((({theme:e,ownerState:t})=>{var r,n;const o="light"===e.palette.mode?e.palette.grey[300]:e.palette.grey[800],a="light"===e.palette.mode?e.palette.grey.A100:e.palette.grey[700];return mr({},e.typography.button,{minWidth:64,padding:"6px 16px",borderRadius:(e.vars||e).shape.borderRadius,transition:e.transitions.create(["background-color","box-shadow","border-color","color"],{duration:e.transitions.duration.short}),"&:hover":mr({textDecoration:"none",backgroundColor:e.vars?`rgba(${e.vars.palette.text.primaryChannel} / ${e.vars.palette.action.hoverOpacity})`:Rn(e.palette.text.primary,e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}},"text"===t.variant&&"inherit"!==t.color&&{backgroundColor:e.vars?`rgba(${e.vars.palette[t.color].mainChannel} / ${e.vars.palette.action.hoverOpacity})`:Rn(e.palette[t.color].main,e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}},"outlined"===t.variant&&"inherit"!==t.color&&{border:`1px solid ${(e.vars||e).palette[t.color].main}`,backgroundColor:e.vars?`rgba(${e.vars.palette[t.color].mainChannel} / ${e.vars.palette.action.hoverOpacity})`:Rn(e.palette[t.color].main,e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}},"contained"===t.variant&&{backgroundColor:e.vars?e.vars.palette.Button.inheritContainedHoverBg:a,boxShadow:(e.vars||e).shadows[4],"@media (hover: none)":{boxShadow:(e.vars||e).shadows[2],backgroundColor:(e.vars||e).palette.grey[300]}},"contained"===t.variant&&"inherit"!==t.color&&{backgroundColor:(e.vars||e).palette[t.color].dark,"@media (hover: none)":{backgroundColor:(e.vars||e).palette[t.color].main}}),"&:active":mr({},"contained"===t.variant&&{boxShadow:(e.vars||e).shadows[8]}),[`&.${$l.focusVisible}`]:mr({},"contained"===t.variant&&{boxShadow:(e.vars||e).shadows[6]}),[`&.${$l.disabled}`]:mr({color:(e.vars||e).palette.action.disabled},"outlined"===t.variant&&{border:`1px solid ${(e.vars||e).palette.action.disabledBackground}`},"contained"===t.variant&&{color:(e.vars||e).palette.action.disabled,boxShadow:(e.vars||e).shadows[0],backgroundColor:(e.vars||e).palette.action.disabledBackground})},"text"===t.variant&&{padding:"6px 8px"},"text"===t.variant&&"inherit"!==t.color&&{color:(e.vars||e).palette[t.color].main},"outlined"===t.variant&&{padding:"5px 15px",border:"1px solid currentColor"},"outlined"===t.variant&&"inherit"!==t.color&&{color:(e.vars||e).palette[t.color].main,border:e.vars?`1px solid rgba(${e.vars.palette[t.color].mainChannel} / 0.5)`:`1px solid ${Rn(e.palette[t.color].main,.5)}`},"contained"===t.variant&&{color:e.vars?e.vars.palette.text.primary:null==(r=(n=e.palette).getContrastText)?void 0:r.call(n,e.palette.grey[300]),backgroundColor:e.vars?e.vars.palette.Button.inheritContainedBg:o,boxShadow:(e.vars||e).shadows[2]},"contained"===t.variant&&"inherit"!==t.color&&{color:(e.vars||e).palette[t.color].contrastText,backgroundColor:(e.vars||e).palette[t.color].main},"inherit"===t.color&&{color:"inherit",borderColor:"currentColor"},"small"===t.size&&"text"===t.variant&&{padding:"4px 5px",fontSize:e.typography.pxToRem(13)},"large"===t.size&&"text"===t.variant&&{padding:"8px 11px",fontSize:e.typography.pxToRem(15)},"small"===t.size&&"outlined"===t.variant&&{padding:"3px 9px",fontSize:e.typography.pxToRem(13)},"large"===t.size&&"outlined"===t.variant&&{padding:"7px 21px",fontSize:e.typography.pxToRem(15)},"small"===t.size&&"contained"===t.variant&&{padding:"4px 10px",fontSize:e.typography.pxToRem(13)},"large"===t.size&&"contained"===t.variant&&{padding:"8px 22px",fontSize:e.typography.pxToRem(15)},t.fullWidth&&{width:"100%"})}),(({ownerState:e})=>e.disableElevation&&{boxShadow:"none","&:hover":{boxShadow:"none"},[`&.${$l.focusVisible}`]:{boxShadow:"none"},"&:active":{boxShadow:"none"},[`&.${$l.disabled}`]:{boxShadow:"none"}})),Bl=Os("span",{name:"MuiButton",slot:"StartIcon",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.startIcon,t[`iconSize${Il(r.size)}`]]}})((({ownerState:e})=>mr({display:"inherit",marginRight:8,marginLeft:-4},"small"===e.size&&{marginLeft:-2},jl(e)))),Wl=Os("span",{name:"MuiButton",slot:"EndIcon",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.endIcon,t[`iconSize${Il(r.size)}`]]}})((({ownerState:e})=>mr({display:"inherit",marginRight:-4,marginLeft:8},"small"===e.size&&{marginRight:-2},jl(e)))),Hl=t.forwardRef((function(r,n){const o=t.useContext(Fl),a=t.useContext(Ll),i=As({props:Cs(o,r),name:"MuiButton"}),{children:s,color:l="primary",component:c="button",className:u,disabled:d=!1,disableElevation:p=!1,disableFocusRipple:f=!1,endIcon:m,focusVisibleClassName:h,fullWidth:g=!1,size:y="medium",startIcon:b,type:v,variant:x="text"}=i,w=hr(i,zl),k=mr({},i,{color:l,component:c,disabled:d,disableElevation:p,disableFocusRipple:f,fullWidth:g,size:y,type:v,variant:x}),S=(e=>{const{color:t,disableElevation:r,fullWidth:n,size:o,variant:a,classes:i}=e;return mr({},i,ps({root:["root",a,`${a}${Il(t)}`,`size${Il(o)}`,`${a}Size${Il(o)}`,"inherit"===t&&"colorInherit",r&&"disableElevation",n&&"fullWidth"],label:["label"],startIcon:["startIcon",`iconSize${Il(o)}`],endIcon:["endIcon",`iconSize${Il(o)}`]},Pl,i))})(k),E=b&&(0,e.jsx)(Bl,{className:S.startIcon,ownerState:k,children:b}),T=m&&(0,e.jsx)(Wl,{className:S.endIcon,ownerState:k,children:m}),O=a||"";return(0,e.jsxs)(Dl,mr({ownerState:k,className:La(o.className,S.root,u,O),component:c,disabled:d,focusRipple:!f,focusVisibleClassName:La(S.focusVisible,h),ref:n,type:v},w,{classes:S,children:[E,s,T]}))})),Ul=Hl;function Gl(e){return Ns("MuiCircularProgress",e)}_s("MuiCircularProgress",["root","determinate","indeterminate","colorPrimary","colorSecondary","svg","circle","circleDeterminate","circleIndeterminate","circleDisableShrink"]);const Vl=["className","color","disableShrink","size","style","thickness","value","variant"];let Yl,Kl,Xl,ql,Jl=e=>e;const Zl=44,Ql=ds(Yl||(Yl=Jl`
0% {
transform: rotate(0deg);
}
100% {
transform: rotate(360deg);
}
`)),ec=ds(Kl||(Kl=Jl`
0% {
stroke-dasharray: 1px, 200px;
stroke-dashoffset: 0;
}
50% {
stroke-dasharray: 100px, 200px;
stroke-dashoffset: -15px;
}
100% {
stroke-dasharray: 100px, 200px;
stroke-dashoffset: -125px;
}
`)),tc=Os("span",{name:"MuiCircularProgress",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.root,t[r.variant],t[`color${Il(r.color)}`]]}})((({ownerState:e,theme:t})=>mr({display:"inline-block"},"determinate"===e.variant&&{transition:t.transitions.create("transform")},"inherit"!==e.color&&{color:(t.vars||t).palette[e.color].main})),(({ownerState:e})=>"indeterminate"===e.variant&&us(Xl||(Xl=Jl`
animation: ${0} 1.4s linear infinite;
`),Ql))),rc=Os("svg",{name:"MuiCircularProgress",slot:"Svg",overridesResolver:(e,t)=>t.svg})({display:"block"}),nc=Os("circle",{name:"MuiCircularProgress",slot:"Circle",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.circle,t[`circle${Il(r.variant)}`],r.disableShrink&&t.circleDisableShrink]}})((({ownerState:e,theme:t})=>mr({stroke:"currentColor"},"determinate"===e.variant&&{transition:t.transitions.create("stroke-dashoffset")},"indeterminate"===e.variant&&{strokeDasharray:"80px, 200px",strokeDashoffset:0})),(({ownerState:e})=>"indeterminate"===e.variant&&!e.disableShrink&&us(ql||(ql=Jl`
animation: ${0} 1.4s ease-in-out infinite;
`),ec))),oc=t.forwardRef((function(t,r){const n=As({props:t,name:"MuiCircularProgress"}),{className:o,color:a="primary",disableShrink:i=!1,size:s=40,style:l,thickness:c=3.6,value:u=0,variant:d="indeterminate"}=n,p=hr(n,Vl),f=mr({},n,{color:a,disableShrink:i,size:s,thickness:c,value:u,variant:d}),m=(e=>{const{classes:t,variant:r,color:n,disableShrink:o}=e;return ps({root:["root",r,`color${Il(n)}`],svg:["svg"],circle:["circle",`circle${Il(r)}`,o&&"circleDisableShrink"]},Gl,t)})(f),h={},g={},y={};if("determinate"===d){const e=2*Math.PI*((Zl-c)/2);h.strokeDasharray=e.toFixed(3),y["aria-valuenow"]=Math.round(u),h.strokeDashoffset=`${((100-u)/100*e).toFixed(3)}px`,g.transform="rotate(-90deg)"}return(0,e.jsx)(tc,mr({className:La(m.root,o),style:mr({width:s,height:s},g,l),ownerState:f,ref:r,role:"progressbar"},y,p,{children:(0,e.jsx)(rc,{className:m.svg,ownerState:f,viewBox:"22 22 44 44",children:(0,e.jsx)(nc,{className:m.circle,style:h,ownerState:f,cx:Zl,cy:Zl,r:(Zl-c)/2,fill:"none",strokeWidth:c})})}))})),ac=oc;var ic=function(){return ic=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++)for(var o in t=arguments[r])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},ic.apply(this,arguments)},sc=function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(n=Object.getOwnPropertySymbols(e);o<n.length;o++)t.indexOf(n[o])<0&&Object.prototype.propertyIsEnumerable.call(e,n[o])&&(r[n[o]]=e[n[o]])}return r};const lc=function(e){var t=e.color,r=e.size,n=(e.style,e.classes),o=e.className,a=e.sx,i=void 0===a?{}:a,s=e.onClick,l=e.containerClassName,c=void 0===l?"":l;e.weight,e.mirrored,e.alt,sc(e,["color","size","style","classes","className","sx","onClick","containerClassName","weight","mirrored","alt"]);return Ie(_e,{children:Array.isArray(n)&&n.length?n.map((function(e){return o===e&&Ie(ri,{component:"div",sx:i,onClick:s,className:c,style:ic(ic({},r?{fontSize:r}:{}),t?{color:t}:{}),children:Ie("i",{className:e})},e)})):Ie(ri,{component:"div",sx:i,className:c,onClick:s,style:ic(ic({},r?{fontSize:r}:{}),t?{color:t}:{}),children:Ie("i",{className:o})})})};var cc=function(){return cc=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++)for(var o in t=arguments[r])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},cc.apply(this,arguments)},uc=function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(n=Object.getOwnPropertySymbols(e);o<n.length;o++)t.indexOf(n[o])<0&&Object.prototype.propertyIsEnumerable.call(e,n[o])&&(r[n[o]]=e[n[o]])}return r};const dc=function(e){var t=e.styles,r=void 0===t?{}:t,n=e.sx,o=e.success,a=e.children,i=e.breakText,s=void 0===i?!!e.fullWidth:i,l=e.showSkeleton,c=e.buttonType,u=e.dangerouslySetInnerHTML,d=e.enableHTML,p=void 0!==d&&d,f=uc(e,["styles","sx","success","children","breakText","showSkeleton","buttonType","dangerouslySetInnerHTML","enableHTML"]),m=cs(),h=r.fontSize,g=r.fontFamily,y=r.fontWeight,b=r.letterSpacing,v=r.textColor,x=r.textAlign,w=r.backgroundColor,k=r.paddingLeft,S=r.paddingRight,E=r.paddingTop,T=r.paddingBottom,O=r.marginTop,C=r.marginBottom,M=r.marginRight,A=r.marginLeft,R=r.borderStyle,N=r.borderWidth,_=r.borderColor,I=r.borderRadius,P=r.backgroundColorHover,$=r.boxShadowHover,F=r.boxShadow,L=r.borderStyleHover,z=r.borderWidthHover,j=r.borderColorHover;return l?Ie(Us,{variant:"rectangular",sx:cc(cc({},r),{minWidth:"120px",minHeight:"39px"})}):Ie(Ul,cc({variant:"contained",color:"primary"},f,{type:c,href:f.href,fullWidth:f.fullWidth,sx:cc(cc(cc(cc(cc({},n),{pt:E,pr:S,pb:T,pl:k,mt:O,mb:C,mr:M,ml:A,backgroundColor:w,color:v,align:x}),f.loading&&{pointerEvents:"none"}),o&&{backgroundColor:"#36B37E"}),{borderStyle:R,borderWidth:N,borderColor:_,borderRadius:I,fontSize:h,fontFamily:g,fontWeight:y,letterSpacing:b,whiteSpace:s?"wrap":"nowrap",boxShadow:F,":hover":cc(cc({backgroundColor:(P||w)+"!important"},o&&{backgroundColor:"#36B37E"}),{color:v||(P||w?m.palette.getContrastText(P||w):"primary.contrastText"),boxShadow:$+"!important",borderStyle:L,borderWidth:z,borderColor:j})}),children:p?Ie(ri,{component:"span",sx:{maxWidth:"100%",textOverflow:"ellipsis",overflow:"hidden"},dangerouslySetInnerHTML:{__html:u}}):Pe(_e,{children:[a,o&&Ie("div",{className:"success-icon",children:Ie(lc,{className:"CheckCircle"})}),f.loading&&Ie(ac,{color:"inherit",size:15,sx:{marginLeft:"10px"}})]})}))};const pc=t.createContext();function fc(e){return Ns("MuiGrid",e)}const mc=["auto",!0,1,2,3,4,5,6,7,8,9,10,11,12],hc=_s("MuiGrid",["root","container","item","zeroMinWidth",...[0,1,2,3,4,5,6,7,8,9,10].map((e=>`spacing-xs-${e}`)),...["column-reverse","column","row-reverse","row"].map((e=>`direction-xs-${e}`)),...["nowrap","wrap-reverse","wrap"].map((e=>`wrap-xs-${e}`)),...mc.map((e=>`grid-xs-${e}`)),...mc.map((e=>`grid-sm-${e}`)),...mc.map((e=>`grid-md-${e}`)),...mc.map((e=>`grid-lg-${e}`)),...mc.map((e=>`grid-xl-${e}`))]),gc=hc,yc=["className","columns","columnSpacing","component","container","direction","item","rowSpacing","spacing","wrap","zeroMinWidth"];function bc(e){const t=parseFloat(e);return`${t}${String(e).replace(String(t),"")||"px"}`}function vc({breakpoints:e,values:t}){let r="";Object.keys(t).forEach((e=>{""===r&&0!==t[e]&&(r=e)}));const n=Object.keys(e).sort(((t,r)=>e[t]-e[r]));return n.slice(0,n.indexOf(r))}const xc=Os("div",{name:"MuiGrid",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:r}=e,{container:n,direction:o,item:a,spacing:i,wrap:s,zeroMinWidth:l,breakpoints:c}=r;let u=[];n&&(u=function(e,t,r={}){if(!e||e<=0)return[];if("string"==typeof e&&!Number.isNaN(Number(e))||"number"==typeof e)return[r[`spacing-xs-${String(e)}`]];const n=[];return t.forEach((t=>{const o=e[t];Number(o)>0&&n.push(r[`spacing-${t}-${String(o)}`])})),n}(i,c,t));const d=[];return c.forEach((e=>{const n=r[e];n&&d.push(t[`grid-${e}-${String(n)}`])})),[t.root,n&&t.container,a&&t.item,l&&t.zeroMinWidth,...u,"row"!==o&&t[`direction-xs-${String(o)}`],"wrap"!==s&&t[`wrap-xs-${String(s)}`],...d]}})((({ownerState:e})=>mr({boxSizing:"border-box"},e.container&&{display:"flex",flexWrap:"wrap",width:"100%"},e.item&&{margin:0},e.zeroMinWidth&&{minWidth:0},"wrap"!==e.wrap&&{flexWrap:e.wrap})),(function({theme:e,ownerState:t}){return Tr({theme:e},Mr({values:t.direction,breakpoints:e.breakpoints.values}),(e=>{const t={flexDirection:e};return 0===e.indexOf("column")&&(t[`& > .${gc.item}`]={maxWidth:"none"}),t}))}),(function({theme:e,ownerState:t}){const{container:r,rowSpacing:n}=t;let o={};if(r&&0!==n){const t=Mr({values:n,breakpoints:e.breakpoints.values});let r;"object"==typeof t&&(r=vc({breakpoints:e.breakpoints.values,values:t})),o=Tr({theme:e},t,((t,n)=>{var o;const a=e.spacing(t);return"0px"!==a?{marginTop:`-${bc(a)}`,[`& > .${gc.item}`]:{paddingTop:bc(a)}}:null!=(o=r)&&o.includes(n)?{}:{marginTop:0,[`& > .${gc.item}`]:{paddingTop:0}}}))}return o}),(function({theme:e,ownerState:t}){const{container:r,columnSpacing:n}=t;let o={};if(r&&0!==n){const t=Mr({values:n,breakpoints:e.breakpoints.values});let r;"object"==typeof t&&(r=vc({breakpoints:e.breakpoints.values,values:t})),o=Tr({theme:e},t,((t,n)=>{var o;const a=e.spacing(t);return"0px"!==a?{width:`calc(100% + ${bc(a)})`,marginLeft:`-${bc(a)}`,[`& > .${gc.item}`]:{paddingLeft:bc(a)}}:null!=(o=r)&&o.includes(n)?{}:{width:"100%",marginLeft:0,[`& > .${gc.item}`]:{paddingLeft:0}}}))}return o}),(function({theme:e,ownerState:t}){let r;return e.breakpoints.keys.reduce(((n,o)=>{let a={};if(t[o]&&(r=t[o]),!r)return n;if(!0===r)a={flexBasis:0,flexGrow:1,maxWidth:"100%"};else if("auto"===r)a={flexBasis:"auto",flexGrow:0,flexShrink:0,maxWidth:"none",width:"auto"};else{const i=Mr({values:t.columns,breakpoints:e.breakpoints.values}),s="object"==typeof i?i[o]:i;if(null==s)return n;const l=Math.round(r/s*1e8)/1e6+"%";let c={};if(t.container&&t.item&&0!==t.columnSpacing){const r=e.spacing(t.columnSpacing);if("0px"!==r){const e=`calc(${l} + ${bc(r)})`;c={flexBasis:e,maxWidth:e}}}a=mr({flexBasis:l,flexGrow:0,maxWidth:l},c)}return 0===e.breakpoints.values[o]?Object.assign(n,a):n[e.breakpoints.up(o)]=a,n}),{})}));const wc=e=>{const{classes:t,container:r,direction:n,item:o,spacing:a,wrap:i,zeroMinWidth:s,breakpoints:l}=e;let c=[];r&&(c=function(e,t){if(!e||e<=0)return[];if("string"==typeof e&&!Number.isNaN(Number(e))||"number"==typeof e)return[`spacing-xs-${String(e)}`];const r=[];return t.forEach((t=>{const n=e[t];if(Number(n)>0){const e=`spacing-${t}-${String(n)}`;r.push(e)}})),r}(a,l));const u=[];l.forEach((t=>{const r=e[t];r&&u.push(`grid-${t}-${String(r)}`)}));return ps({root:["root",r&&"container",o&&"item",s&&"zeroMinWidth",...c,"row"!==n&&`direction-xs-${String(n)}`,"wrap"!==i&&`wrap-xs-${String(i)}`,...u]},fc,t)},kc=t.forwardRef((function(r,n){const o=As({props:r,name:"MuiGrid"}),{breakpoints:a}=cs(),i=Ka(o),{className:s,columns:l,columnSpacing:c,component:u="div",container:d=!1,direction:p="row",item:f=!1,rowSpacing:m,spacing:h=0,wrap:g="wrap",zeroMinWidth:y=!1}=i,b=hr(i,yc),v=m||h,x=c||h,w=t.useContext(pc),k=d?l||12:w,S={},E=mr({},b);a.keys.forEach((e=>{null!=b[e]&&(S[e]=b[e],delete E[e])}));const T=mr({},i,{columns:k,container:d,direction:p,item:f,rowSpacing:v,columnSpacing:x,wrap:g,zeroMinWidth:y,spacing:h},S,{breakpoints:a.keys}),O=wc(T);return(0,e.jsx)(pc.Provider,{value:k,children:(0,e.jsx)(xc,mr({ownerState:T,className:La(O.root,s),as:u,ref:n},E))})}));const Sc=kc;var Ec=function(e,t){var r="function"==typeof Symbol&&e[Symbol.iterator];if(!r)return e;var n,o,a=r.call(e),i=[];try{for(;(void 0===t||t-- >0)&&!(n=a.next()).done;)i.push(n.value)}catch(s){o={error:s}}finally{try{n&&!n.done&&(r=a.return)&&r.call(a)}finally{if(o)throw o.error}}return i},Tc=function(e,t){if(!e||!e.length)return"#";if(Array.isArray(e)&&(e=e[0]),e.startsWith("mailto")||e.startsWith("tel")||e.startsWith("sms"))return e;var r="";e.startsWith("http")||e.startsWith("#")||e.startsWith("/")?r=e:-1!==e.indexOf(".")&&(r="https://"+e);var n,o=((n=window.location.pathname).includes("/r/")&&(n=(n=n.substring(0,n.indexOf("/r/"))).substring(0,n.lastIndexOf("/"))),n+(n.endsWith("/")?"":"/"));if(r&&r.startsWith(o+"#")&&(r="#"+r.split("#")[1]),t&&!r.startsWith("#"))try{var a=new URL(r,"".concat(window.location.origin,"/").concat(window.location.pathname));return Object.entries(t).forEach((function(e){var t=Ec(e,2),r=t[0],n=t[1];a.searchParams.append(r,n)})),a.href}catch(i){console.log("Can't add url params to '".concat(r,"' url."))}return r},Oc=function(){return window.location.href.includes("viewMode=modal")},Cc=function(e,t){var r="function"==typeof Symbol&&e[Symbol.iterator];if(!r)return e;var n,o,a=r.call(e),i=[];try{for(;(void 0===t||t-- >0)&&!(n=a.next()).done;)i.push(n.value)}catch(s){o={error:s}}finally{try{n&&!n.done&&(r=a.return)&&r.call(a)}finally{if(o)throw o.error}}return i},Mc=Oc();const Ac=function(){var e,r,n,a,i=(a=(0,t.useContext)($e).elements,n?n.split(".").reduce((function(e,t){return e&&e[t]?e[t]:null}),a):a),s=i.header,l=i.text,c=i.buttons,u=i.imageOrVideo,d=i.selectedImagePosition,p=u.src,f=Cc(o().useState(!!u.autoplay),2),m=f[0],h=f[1],g=(0,t.useRef)();ii().isMobile;return Ie(ss,{children:Pe(Sc,{container:!0,justifyContent:"space-between",alignItems:"center",gap:4,direction:"LEFT"===d?"row-reverse":"BOTTOM"===d?"column":"TOP"===d?"column-reverse":"RIGHT"===d?"row":"",children:[!!(s.value||l.value||(null===(e=c.items)||void 0===e?void 0:e.length))&&Pe(Sc,{item:!0,xs:12,md:p?5:7,style:{maxWidth:"100%"},children:[s.value&&Ie(ri,{component:(null==s?void 0:s.htmlTag)||"h4",className:s.className,sx:{textAlign:{xs:"center",md:"TOP"===d||"BOTTOM"===d?"center":"left"},margin:"0, 8px"},dangerouslySetInnerHTML:{__html:s.value}}),l.value&&Ie(ri,{component:"p",className:l.className,sx:{textAlign:{xs:"center",md:"TOP"===d||"BOTTOM"===d?"center":"left"},margin:"0, 8px"},dangerouslySetInnerHTML:{__html:l.value}}),!!(null===(r=null==c?void 0:c.items)||void 0===r?void 0:r.length)&&Ie(ri,{component:"div",sx:{display:"flex",flexWrap:"wrap",justifyContent:{xs:"center",md:"TOP"===d||"BOTTOM"===d?"center":"start"}},children:c.items.map((function(e,t){var r,n=e.action,o=(null===(r=n.action)||void 0===r?void 0:r.startsWith("Open modal"))||!1,a=function(e){var t,r,n=(null===(t=e.action)||void 0===t?void 0:t.startsWith("Open modal"))||!1,o=(null===(r=e.action)||void 0===r?void 0:r.startsWith("Open external url"))||!1;if(Oc()){if(n)return"_self";if(o)return"_blank";if(["","_self"].includes(e.options.url.target))return si()?"_parent":"_self"}return e.options.url.target||"_self"}(n),i=Tc(e.action.options.url.destination,Mc&&"_self"===a?{viewMode:"modal"}:void 0);return Ie(dc,{"data-element":"button",target:a,href:i,onClick:function(e){o&&!Mc&&(e.preventDefault(),window.openSwModal(null==n?void 0:n.options.url.destination,n.options.modalOptions.modalSize))},styles:e.styles,sx:{lineHeight:"normal",marginRight:"RIGHT"===d||"LEFT"===d?"16px":"8px",marginLeft:"RIGHT"===d||"LEFT"===d?"0":"8px",marginBottom:"16px"},style:{display:"flex"},enableHTML:!0,dangerouslySetInnerHTML:e.label},t)}))})]}),!!p&&Ie(Sc,{item:!0,xs:12,md:6,style:{display:"flex",justifyContent:"center",width:"100%"},children:p.endsWith(".mp4")?Ie(_e,{children:Ie("video",{ref:g,id:"video",className:u.className,width:"100%",muted:!0,loop:!!u.loop,autoPlay:!!u.autoplay,controls:!!u.controls,src:u.src,onClick:function(){h(!m),m?g.current.pause():g.current.play()}})}):Ie("img",{className:u.className,src:u.src,alt:u.alt})})]})})};var Rc=function(){return Rc=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++)for(var o in t=arguments[r])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},Rc.apply(this,arguments)};const Nc=function(e){return Ie(ns,Rc({},e,{children:Ie(Ac,{})}))}})(),renderBlock=n.default})();;
if (typeof renderBlock !== "function") {
throw new Error("No renderBlock function found", {"name":"hero1","version":"3.0.2"});
}
// webpack builds expose a single global named renderBlock
window["SoftrBlock_hero1_3.0.2"] = renderBlock;
}
</script><script data-for-block-name="cta3" data-for-block-version="3.0.2">
{
// React 18 blocks expect react and react-dom to be available
// as variables with this name
var react18 = window.react18;
var react_dom18 = window.react_dom18;
var renderBlock;(()=>{var e={54697:(e,t,n)=>{"use strict";n.d(t,{Z:()=>g});var r=n(11526),o=n(46411),i=n(26686),a=n(27563),s=n(20211),l=n(88160),c=n(92190),u=function(e,t,n){for(var r=0,i=0;r=i,i=(0,o.fj)(),38===r&&12===i&&(t[n]=1),!(0,o.r)(i);)(0,o.lp)();return(0,o.tP)(e,o.FK)},d=function(e,t){return(0,o.cE)(function(e,t){var n=-1,r=44;do{switch((0,o.r)(r)){case 0:38===r&&12===(0,o.fj)()&&(t[n]=1),e[n]+=u(o.FK-1,t,n);break;case 2:e[n]+=(0,o.iF)(r);break;case 4:if(44===r){e[++n]=58===(0,o.fj)()?"&\f":"",t[n]=e[n].length;break}default:e[n]+=(0,i.Dp)(r)}}while(r=(0,o.lp)());return e}((0,o.un)(e),t))},p=new WeakMap,f=function(e){if("rule"===e.type&&e.parent&&!(e.length<1)){for(var t=e.value,n=e.parent,r=e.column===n.column&&e.line===n.line;"rule"!==n.type;)if(!(n=n.parent))return;if((1!==e.props.length||58===t.charCodeAt(0)||p.get(n))&&!r){p.set(e,!0);for(var o=[],i=d(t,o),a=n.props,s=0,l=0;s<i.length;s++)for(var c=0;c<a.length;c++,l++)e.props[l]=o[s]?i[s].replace(/&\f/g,a[c]):a[c]+" "+i[s]}}},h=function(e){if("decl"===e.type){var t=e.value;108===t.charCodeAt(0)&&98===t.charCodeAt(2)&&(e.return="",e.value="")}};function m(e,t){switch((0,i.vp)(e,t)){case 5103:return a.G$+"print-"+e+e;case 5737:case 4201:case 3177:case 3433:case 1641:case 4457:case 2921:case 5572:case 6356:case 5844:case 3191:case 6645:case 3005:case 6391:case 5879:case 5623:case 6135:case 4599:case 4855:case 4215:case 6389:case 5109:case 5365:case 5621:case 3829:return a.G$+e+e;case 5349:case 4246:case 4810:case 6968:case 2756:return a.G$+e+a.uj+e+a.MS+e+e;case 6828:case 4268:return a.G$+e+a.MS+e+e;case 6165:return a.G$+e+a.MS+"flex-"+e+e;case 5187:return a.G$+e+(0,i.gx)(e,/(\w+).+(:[^]+)/,a.G$+"box-$1$2"+a.MS+"flex-$1$2")+e;case 5443:return a.G$+e+a.MS+"flex-item-"+(0,i.gx)(e,/flex-|-self/,"")+e;case 4675:return a.G$+e+a.MS+"flex-line-pack"+(0,i.gx)(e,/align-content|flex-|-self/,"")+e;case 5548:return a.G$+e+a.MS+(0,i.gx)(e,"shrink","negative")+e;case 5292:return a.G$+e+a.MS+(0,i.gx)(e,"basis","preferred-size")+e;case 6060:return a.G$+"box-"+(0,i.gx)(e,"-grow","")+a.G$+e+a.MS+(0,i.gx)(e,"grow","positive")+e;case 4554:return a.G$+(0,i.gx)(e,/([^-])(transform)/g,"$1"+a.G$+"$2")+e;case 6187:return(0,i.gx)((0,i.gx)((0,i.gx)(e,/(zoom-|grab)/,a.G$+"$1"),/(image-set)/,a.G$+"$1"),e,"")+e;case 5495:case 3959:return(0,i.gx)(e,/(image-set\([^]*)/,a.G$+"$1$`$1");case 4968:return(0,i.gx)((0,i.gx)(e,/(.+:)(flex-)?(.*)/,a.G$+"box-pack:$3"+a.MS+"flex-pack:$3"),/s.+-b[^;]+/,"justify")+a.G$+e+e;case 4095:case 3583:case 4068:case 2532:return(0,i.gx)(e,/(.+)-inline(.+)/,a.G$+"$1$2")+e;case 8116:case 7059:case 5753:case 5535:case 5445:case 5701:case 4933:case 4677:case 5533:case 5789:case 5021:case 4765:if((0,i.to)(e)-1-t>6)switch((0,i.uO)(e,t+1)){case 109:if(45!==(0,i.uO)(e,t+4))break;case 102:return(0,i.gx)(e,/(.+:)(.+)-([^]+)/,"$1"+a.G$+"$2-$3$1"+a.uj+(108==(0,i.uO)(e,t+3)?"$3":"$2-$3"))+e;case 115:return~(0,i.Cw)(e,"stretch")?m((0,i.gx)(e,"stretch","fill-available"),t)+e:e}break;case 4949:if(115!==(0,i.uO)(e,t+1))break;case 6444:switch((0,i.uO)(e,(0,i.to)(e)-3-(~(0,i.Cw)(e,"!important")&&10))){case 107:return(0,i.gx)(e,":",":"+a.G$)+e;case 101:return(0,i.gx)(e,/(.+:)([^;!]+)(;|!.+)?/,"$1"+a.G$+(45===(0,i.uO)(e,14)?"inline-":"")+"box$3$1"+a.G$+"$2$3$1"+a.MS+"$2box$3")+e}break;case 5936:switch((0,i.uO)(e,t+11)){case 114:return a.G$+e+a.MS+(0,i.gx)(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return a.G$+e+a.MS+(0,i.gx)(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return a.G$+e+a.MS+(0,i.gx)(e,/[svh]\w+-[tblr]{2}/,"lr")+e}return a.G$+e+a.MS+e+e}return e}var v=[function(e,t,n,r){if(e.length>-1&&!e.return)switch(e.type){case a.h5:e.return=m(e.value,e.length);break;case a.lK:return(0,s.q)([(0,o.JG)(e,{value:(0,i.gx)(e.value,"@","@"+a.G$)})],r);case a.Fr:if(e.length)return(0,i.$e)(e.props,(function(t){switch((0,i.EQ)(t,/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":return(0,s.q)([(0,o.JG)(e,{props:[(0,i.gx)(t,/:(read-\w+)/,":"+a.uj+"$1")]})],r);case"::placeholder":return(0,s.q)([(0,o.JG)(e,{props:[(0,i.gx)(t,/:(plac\w+)/,":"+a.G$+"input-$1")]}),(0,o.JG)(e,{props:[(0,i.gx)(t,/:(plac\w+)/,":"+a.uj+"$1")]}),(0,o.JG)(e,{props:[(0,i.gx)(t,/:(plac\w+)/,a.MS+"input-$1")]})],r)}return""}))}}],g=function(e){var t=e.key;if("css"===t){var n=document.querySelectorAll("style[data-emotion]:not([data-s])");Array.prototype.forEach.call(n,(function(e){-1!==e.getAttribute("data-emotion").indexOf(" ")&&(document.head.appendChild(e),e.setAttribute("data-s",""))}))}var o=e.stylisPlugins||v;var i,a,u={},d=[];i=e.container||document.head,Array.prototype.forEach.call(document.querySelectorAll('style[data-emotion^="'+t+' "]'),(function(e){for(var t=e.getAttribute("data-emotion").split(" "),n=1;n<t.length;n++)u[t[n]]=!0;d.push(e)}));var p=[f,h];var m,g=[s.P,(0,l.cD)((function(e){m.insert(e)}))],y=(0,l.qR)(p.concat(o,g));a=function(e,t,n,r){var o;m=n,o=e?e+"{"+t.styles+"}":t.styles,(0,s.q)((0,c.MY)(o),y),r&&(b.inserted[t.name]=!0)};var b={key:t,sheet:new r.m({key:t,container:i,nonce:e.nonce,speedy:e.speedy,prepend:e.prepend,insertionPoint:e.insertionPoint}),nonce:e.nonce,inserted:u,registered:{},insert:a};return b.sheet.hydrate(d),b}},66292:(e,t,n)=>{"use strict";function r(e){for(var t,n=0,r=0,o=e.length;o>=4;++r,o-=4)t=1540483477*(65535&(t=255&e.charCodeAt(r)|(255&e.charCodeAt(++r))<<8|(255&e.charCodeAt(++r))<<16|(255&e.charCodeAt(++r))<<24))+(59797*(t>>>16)<<16),n=1540483477*(65535&(t^=t>>>24))+(59797*(t>>>16)<<16)^1540483477*(65535&n)+(59797*(n>>>16)<<16);switch(o){case 3:n^=(255&e.charCodeAt(r+2))<<16;case 2:n^=(255&e.charCodeAt(r+1))<<8;case 1:n=1540483477*(65535&(n^=255&e.charCodeAt(r)))+(59797*(n>>>16)<<16)}return(((n=1540483477*(65535&(n^=n>>>13))+(59797*(n>>>16)<<16))^n>>>15)>>>0).toString(36)}n.d(t,{Z:()=>r})},71068:(e,t,n)=>{"use strict";n.d(t,{Z:()=>i});var r=n(45042),o=/^((children|dangerouslySetInnerHTML|key|ref|autoFocus|defaultValue|defaultChecked|innerHTML|suppressContentEditableWarning|suppressHydrationWarning|valueLink|abbr|accept|acceptCharset|accessKey|action|allow|allowUserMedia|allowPaymentRequest|allowFullScreen|allowTransparency|alt|async|autoComplete|autoPlay|capture|cellPadding|cellSpacing|challenge|charSet|checked|cite|classID|className|cols|colSpan|content|contentEditable|contextMenu|controls|controlsList|coords|crossOrigin|data|dateTime|decoding|default|defer|dir|disabled|disablePictureInPicture|download|draggable|encType|enterKeyHint|form|formAction|formEncType|formMethod|formNoValidate|formTarget|frameBorder|headers|height|hidden|high|href|hrefLang|htmlFor|httpEquiv|id|inputMode|integrity|is|keyParams|keyType|kind|label|lang|list|loading|loop|low|marginHeight|marginWidth|max|maxLength|media|mediaGroup|method|min|minLength|multiple|muted|name|nonce|noValidate|open|optimum|pattern|placeholder|playsInline|poster|preload|profile|radioGroup|readOnly|referrerPolicy|rel|required|reversed|role|rows|rowSpan|sandbox|scope|scoped|scrolling|seamless|selected|shape|size|sizes|slot|span|spellCheck|src|srcDoc|srcLang|srcSet|start|step|style|summary|tabIndex|target|title|translate|type|useMap|value|width|wmode|wrap|about|datatype|inlist|prefix|property|resource|typeof|vocab|autoCapitalize|autoCorrect|autoSave|color|incremental|fallback|inert|itemProp|itemScope|itemType|itemID|itemRef|on|option|results|security|unselectable|accentHeight|accumulate|additive|alignmentBaseline|allowReorder|alphabetic|amplitude|arabicForm|ascent|attributeName|attributeType|autoReverse|azimuth|baseFrequency|baselineShift|baseProfile|bbox|begin|bias|by|calcMode|capHeight|clip|clipPathUnits|clipPath|clipRule|colorInterpolation|colorInterpolationFilters|colorProfile|colorRendering|contentScriptType|contentStyleType|cursor|cx|cy|d|decelerate|descent|diffuseConstant|direction|display|divisor|dominantBaseline|dur|dx|dy|edgeMode|elevation|enableBackground|end|exponent|externalResourcesRequired|fill|fillOpacity|fillRule|filter|filterRes|filterUnits|floodColor|floodOpacity|focusable|fontFamily|fontSize|fontSizeAdjust|fontStretch|fontStyle|fontVariant|fontWeight|format|from|fr|fx|fy|g1|g2|glyphName|glyphOrientationHorizontal|glyphOrientationVertical|glyphRef|gradientTransform|gradientUnits|hanging|horizAdvX|horizOriginX|ideographic|imageRendering|in|in2|intercept|k|k1|k2|k3|k4|kernelMatrix|kernelUnitLength|kerning|keyPoints|keySplines|keyTimes|lengthAdjust|letterSpacing|lightingColor|limitingConeAngle|local|markerEnd|markerMid|markerStart|markerHeight|markerUnits|markerWidth|mask|maskContentUnits|maskUnits|mathematical|mode|numOctaves|offset|opacity|operator|order|orient|orientation|origin|overflow|overlinePosition|overlineThickness|panose1|paintOrder|pathLength|patternContentUnits|patternTransform|patternUnits|pointerEvents|points|pointsAtX|pointsAtY|pointsAtZ|preserveAlpha|preserveAspectRatio|primitiveUnits|r|radius|refX|refY|renderingIntent|repeatCount|repeatDur|requiredExtensions|requiredFeatures|restart|result|rotate|rx|ry|scale|seed|shapeRendering|slope|spacing|specularConstant|specularExponent|speed|spreadMethod|startOffset|stdDeviation|stemh|stemv|stitchTiles|stopColor|stopOpacity|strikethroughPosition|strikethroughThickness|string|stroke|strokeDasharray|strokeDashoffset|strokeLinecap|strokeLinejoin|strokeMiterlimit|strokeOpacity|strokeWidth|surfaceScale|systemLanguage|tableValues|targetX|targetY|textAnchor|textDecoration|textRendering|textLength|to|transform|u1|u2|underlinePosition|underlineThickness|unicode|unicodeBidi|unicodeRange|unitsPerEm|vAlphabetic|vHanging|vIdeographic|vMathematical|values|vectorEffect|version|vertAdvY|vertOriginX|vertOriginY|viewBox|viewTarget|visibility|widths|wordSpacing|writingMode|x|xHeight|x1|x2|xChannelSelector|xlinkActuate|xlinkArcrole|xlinkHref|xlinkRole|xlinkShow|xlinkTitle|xlinkType|xmlBase|xmlns|xmlnsXlink|xmlLang|xmlSpace|y|y1|y2|yChannelSelector|z|zoomAndPan|for|class|autofocus)|(([Dd][Aa][Tt][Aa]|[Aa][Rr][Ii][Aa]|x)-.*))$/,i=(0,r.Z)((function(e){return o.test(e)||111===e.charCodeAt(0)&&110===e.charCodeAt(1)&&e.charCodeAt(2)<91}))},45042:(e,t,n)=>{"use strict";function r(e){var t=Object.create(null);return function(n){return void 0===t[n]&&(t[n]=e(n)),t[n]}}n.d(t,{Z:()=>r})},75260:(e,t,n)=>{"use strict";n.d(t,{C:()=>d,E:()=>g,T:()=>f,c:()=>m,h:()=>c,i:()=>l,w:()=>p});var r=n(74570),o=n(54697),i=n(70444),a=n(30302),s=n(27278),l=!0,c={}.hasOwnProperty,u=r.createContext("undefined"!=typeof HTMLElement?(0,o.Z)({key:"css"}):null);var d=u.Provider,p=function(e){return(0,r.forwardRef)((function(t,n){var o=(0,r.useContext)(u);return e(t,o,n)}))};l||(p=function(e){return function(t){var n=(0,r.useContext)(u);return null===n?(n=(0,o.Z)({key:"css"}),r.createElement(u.Provider,{value:n},e(t,n))):e(t,n)}});var f=r.createContext({});var h="__EMOTION_TYPE_PLEASE_DO_NOT_USE__",m=function(e,t){var n={};for(var r in t)c.call(t,r)&&(n[r]=t[r]);return n[h]=e,n},v=function(e){var t=e.cache,n=e.serialized,r=e.isStringTag;return(0,i.hC)(t,n,r),(0,s.L)((function(){return(0,i.My)(t,n,r)})),null};var g=p((function(e,t,n){var o=e.css;"string"==typeof o&&void 0!==t.registered[o]&&(o=t.registered[o]);var s=e[h],l=[o],u="";"string"==typeof e.className?u=(0,i.fp)(t.registered,l,e.className):null!=e.className&&(u=e.className+" ");var d=(0,a.O)(l,void 0,r.useContext(f));u+=t.key+"-"+d.name;var p={};for(var m in e)c.call(e,m)&&"css"!==m&&m!==h&&(p[m]=e[m]);return p.ref=n,p.className=u,r.createElement(r.Fragment,null,r.createElement(v,{cache:t,serialized:d,isStringTag:"string"==typeof s}),r.createElement(s,p))}))},70917:(e,t,n)=>{"use strict";n.d(t,{F4:()=>d,az:()=>l,iv:()=>u,xB:()=>c});var r=n(75260),o=n(74570),i=n(70444),a=n(27278),s=n(30302),l=(n(54697),n(8679),function(e,t){var n=arguments;if(null==t||!r.h.call(t,"css"))return o.createElement.apply(void 0,n);var i=n.length,a=new Array(i);a[0]=r.E,a[1]=(0,r.c)(e,t);for(var s=2;s<i;s++)a[s]=n[s];return o.createElement.apply(null,a)}),c=(0,r.w)((function(e,t){var n=e.styles,l=(0,s.O)([n],void 0,o.useContext(r.T));if(!r.i){for(var c,u=l.name,d=l.styles,p=l.next;void 0!==p;)u+=" "+p.name,d+=p.styles,p=p.next;var f=!0===t.compat,h=t.insert("",{name:u,styles:d},t.sheet,f);return f?null:o.createElement("style",((c={})["data-emotion"]=t.key+"-global "+u,c.dangerouslySetInnerHTML={__html:h},c.nonce=t.sheet.nonce,c))}var m=o.useRef();return(0,a.j)((function(){var e=t.key+"-global",n=new t.sheet.constructor({key:e,nonce:t.sheet.nonce,container:t.sheet.container,speedy:t.sheet.isSpeedy}),r=!1,o=document.querySelector('style[data-emotion="'+e+" "+l.name+'"]');return t.sheet.tags.length&&(n.before=t.sheet.tags[0]),null!==o&&(r=!0,o.setAttribute("data-emotion",e),n.hydrate([o])),m.current=[n,r],function(){n.flush()}}),[t]),(0,a.j)((function(){var e=m.current,n=e[0];if(e[1])e[1]=!1;else{if(void 0!==l.next&&(0,i.My)(t,l.next,!0),n.tags.length){var r=n.tags[n.tags.length-1].nextElementSibling;n.before=r,n.flush()}t.insert("",l,n,!1)}}),[t,l.name]),null}));function u(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return(0,s.O)(t)}var d=function(){var e=u.apply(void 0,arguments),t="animation-"+e.name;return{name:t,styles:"@keyframes "+t+"{"+e.styles+"}",anim:1,toString:function(){return"_EMO_"+this.name+"_"+this.styles+"_EMO_"}}}},30302:(e,t,n)=>{"use strict";n.d(t,{O:()=>m});var r=n(66292),o=n(94371),i=n(45042),a=/[A-Z]|^ms/g,s=/_EMO_([^_]+?)_([^]*?)_EMO_/g,l=function(e){return 45===e.charCodeAt(1)},c=function(e){return null!=e&&"boolean"!=typeof e},u=(0,i.Z)((function(e){return l(e)?e:e.replace(a,"-$&").toLowerCase()})),d=function(e,t){switch(e){case"animation":case"animationName":if("string"==typeof t)return t.replace(s,(function(e,t,n){return f={name:t,styles:n,next:f},t}))}return 1===o.Z[e]||l(e)||"number"!=typeof t||0===t?t:t+"px"};function p(e,t,n){if(null==n)return"";if(void 0!==n.__emotion_styles)return n;switch(typeof n){case"boolean":return"";case"object":if(1===n.anim)return f={name:n.name,styles:n.styles,next:f},n.name;if(void 0!==n.styles){var r=n.next;if(void 0!==r)for(;void 0!==r;)f={name:r.name,styles:r.styles,next:f},r=r.next;return n.styles+";"}return function(e,t,n){var r="";if(Array.isArray(n))for(var o=0;o<n.length;o++)r+=p(e,t,n[o])+";";else for(var i in n){var a=n[i];if("object"!=typeof a)null!=t&&void 0!==t[a]?r+=i+"{"+t[a]+"}":c(a)&&(r+=u(i)+":"+d(i,a)+";");else if(!Array.isArray(a)||"string"!=typeof a[0]||null!=t&&void 0!==t[a[0]]){var s=p(e,t,a);switch(i){case"animation":case"animationName":r+=u(i)+":"+s+";";break;default:r+=i+"{"+s+"}"}}else for(var l=0;l<a.length;l++)c(a[l])&&(r+=u(i)+":"+d(i,a[l])+";")}return r}(e,t,n);case"function":if(void 0!==e){var o=f,i=n(e);return f=o,p(e,t,i)}}if(null==t)return n;var a=t[n];return void 0!==a?a:n}var f,h=/label:\s*([^\s;\n{]+)\s*(;|$)/g;var m=function(e,t,n){if(1===e.length&&"object"==typeof e[0]&&null!==e[0]&&void 0!==e[0].styles)return e[0];var o=!0,i="";f=void 0;var a=e[0];null==a||void 0===a.raw?(o=!1,i+=p(n,t,a)):i+=a[0];for(var s=1;s<e.length;s++)i+=p(n,t,e[s]),o&&(i+=a[s]);h.lastIndex=0;for(var l,c="";null!==(l=h.exec(i));)c+="-"+l[1];return{name:(0,r.Z)(i)+c,styles:i,next:f}}},11526:(e,t,n)=>{"use strict";n.d(t,{m:()=>r});var r=function(){function e(e){var t=this;this._insertTag=function(e){var n;n=0===t.tags.length?t.insertionPoint?t.insertionPoint.nextSibling:t.prepend?t.container.firstChild:t.before:t.tags[t.tags.length-1].nextSibling,t.container.insertBefore(e,n),t.tags.push(e)},this.isSpeedy=void 0===e.speedy||e.speedy,this.tags=[],this.ctr=0,this.nonce=e.nonce,this.key=e.key,this.container=e.container,this.prepend=e.prepend,this.insertionPoint=e.insertionPoint,this.before=null}var t=e.prototype;return t.hydrate=function(e){e.forEach(this._insertTag)},t.insert=function(e){this.ctr%(this.isSpeedy?65e3:1)==0&&this._insertTag(function(e){var t=document.createElement("style");return t.setAttribute("data-emotion",e.key),void 0!==e.nonce&&t.setAttribute("nonce",e.nonce),t.appendChild(document.createTextNode("")),t.setAttribute("data-s",""),t}(this));var t=this.tags[this.tags.length-1];if(this.isSpeedy){var n=function(e){if(e.sheet)return e.sheet;for(var t=0;t<document.styleSheets.length;t++)if(document.styleSheets[t].ownerNode===e)return document.styleSheets[t]}(t);try{n.insertRule(e,n.cssRules.length)}catch(r){0}}else t.appendChild(document.createTextNode(e));this.ctr++},t.flush=function(){this.tags.forEach((function(e){return e.parentNode&&e.parentNode.removeChild(e)})),this.tags=[],this.ctr=0},e}()},55319:(e,t,n)=>{"use strict";n.d(t,{Z:()=>m});var r=n(87462),o=n(74570),i=n(71068),a=n(75260),s=n(70444),l=n(30302),c=n(27278),u=i.Z,d=function(e){return"theme"!==e},p=function(e){return"string"==typeof e&&e.charCodeAt(0)>96?u:d},f=function(e,t,n){var r;if(t){var o=t.shouldForwardProp;r=e.__emotion_forwardProp&&o?function(t){return e.__emotion_forwardProp(t)&&o(t)}:o}return"function"!=typeof r&&n&&(r=e.__emotion_forwardProp),r},h=function(e){var t=e.cache,n=e.serialized,r=e.isStringTag;return(0,s.hC)(t,n,r),(0,c.L)((function(){return(0,s.My)(t,n,r)})),null},m=function e(t,n){var i,c,u=t.__emotion_real===t,d=u&&t.__emotion_base||t;void 0!==n&&(i=n.label,c=n.target);var m=f(t,n,u),v=m||p(d),g=!v("as");return function(){var y=arguments,b=u&&void 0!==t.__emotion_styles?t.__emotion_styles.slice(0):[];if(void 0!==i&&b.push("label:"+i+";"),null==y[0]||void 0===y[0].raw)b.push.apply(b,y);else{0,b.push(y[0][0]);for(var w=y.length,x=1;x<w;x++)b.push(y[x],y[0][x])}var k=(0,a.w)((function(e,t,n){var r=g&&e.as||d,i="",u=[],f=e;if(null==e.theme){for(var y in f={},e)f[y]=e[y];f.theme=o.useContext(a.T)}"string"==typeof e.className?i=(0,s.fp)(t.registered,u,e.className):null!=e.className&&(i=e.className+" ");var w=(0,l.O)(b.concat(u),t.registered,f);i+=t.key+"-"+w.name,void 0!==c&&(i+=" "+c);var x=g&&void 0===m?p(r):v,k={};for(var S in e)g&&"as"===S||x(S)&&(k[S]=e[S]);return k.className=i,k.ref=n,o.createElement(o.Fragment,null,o.createElement(h,{cache:t,serialized:w,isStringTag:"string"==typeof r}),o.createElement(r,k))}));return k.displayName=void 0!==i?i:"Styled("+("string"==typeof d?d:d.displayName||d.name||"Component")+")",k.defaultProps=t.defaultProps,k.__emotion_real=k,k.__emotion_base=d,k.__emotion_styles=b,k.__emotion_forwardProp=m,Object.defineProperty(k,"toString",{value:function(){return"."+c}}),k.withComponent=function(t,o){return e(t,(0,r.Z)({},n,o,{shouldForwardProp:f(k,o,!0)})).apply(void 0,b)},k}}},37337:(e,t,n)=>{"use strict";n.d(t,{Z:()=>o});var r=n(55319),o=(n(74570),n(30302),n(27278),r.Z.bind());["a","abbr","address","area","article","aside","audio","b","base","bdi","bdo","big","blockquote","body","br","button","canvas","caption","cite","code","col","colgroup","data","datalist","dd","del","details","dfn","dialog","div","dl","dt","em","embed","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","iframe","img","input","ins","kbd","keygen","label","legend","li","link","main","map","mark","marquee","menu","menuitem","meta","meter","nav","noscript","object","ol","optgroup","option","output","p","param","picture","pre","progress","q","rp","rt","ruby","s","samp","script","section","select","small","source","span","strong","style","sub","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","title","tr","track","u","ul","var","video","wbr","circle","clipPath","defs","ellipse","foreignObject","g","image","line","linearGradient","mask","path","pattern","polygon","polyline","radialGradient","rect","stop","svg","text","tspan"].forEach((function(e){o[e]=o(e)}))},94371:(e,t,n)=>{"use strict";n.d(t,{Z:()=>r});var r={animationIterationCount:1,aspectRatio:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,boxFlex:1,boxFlexGroup:1,boxOrdinalGroup:1,columnCount:1,columns:1,flex:1,flexGrow:1,flexPositive:1,flexShrink:1,flexNegative:1,flexOrder:1,gridRow:1,gridRowEnd:1,gridRowSpan:1,gridRowStart:1,gridColumn:1,gridColumnEnd:1,gridColumnSpan:1,gridColumnStart:1,msGridRow:1,msGridRowSpan:1,msGridColumn:1,msGridColumnSpan:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans:1,tabSize:1,widows:1,zIndex:1,zoom:1,WebkitLineClamp:1,fillOpacity:1,floodOpacity:1,stopOpacity:1,strokeDasharray:1,strokeDashoffset:1,strokeMiterlimit:1,strokeOpacity:1,strokeWidth:1}},27278:(e,t,n)=>{"use strict";n.d(t,{L:()=>i,j:()=>a});var r=n(74570),o=!!r.useInsertionEffect&&r.useInsertionEffect,i=o||function(e){return e()},a=o||r.useLayoutEffect},70444:(e,t,n)=>{"use strict";n.d(t,{My:()=>i,fp:()=>r,hC:()=>o});function r(e,t,n){var r="";return n.split(" ").forEach((function(n){void 0!==e[n]?t.push(e[n]+";"):r+=n+" "})),r}var o=function(e,t,n){var r=e.key+"-"+t.name;!1===n&&void 0===e.registered[r]&&(e.registered[r]=t.styles)},i=function(e,t,n){o(e,t,n);var r=e.key+"-"+t.name;if(void 0===e.inserted[t.name]){var i=t;do{e.insert(t===i?"."+r:"",i,e.sheet,!0),i=i.next}while(void 0!==i)}}},93470:(e,t,n)=>{"use strict";n.d(t,{i:()=>u});var r=n(74570),o=n(33703),i=n(82690),a=n(85893);const s=["input","select","textarea","a[href]","button","[tabindex]","audio[controls]","video[controls]",'[contenteditable]:not([contenteditable="false"])'].join(",");function l(e){const t=[],n=[];return Array.from(e.querySelectorAll(s)).forEach(((e,r)=>{const o=function(e){const t=parseInt(e.getAttribute("tabindex")||"",10);return Number.isNaN(t)?"true"===e.contentEditable||("AUDIO"===e.nodeName||"VIDEO"===e.nodeName||"DETAILS"===e.nodeName)&&null===e.getAttribute("tabindex")?0:e.tabIndex:t}(e);-1!==o&&function(e){return!(e.disabled||"INPUT"===e.tagName&&"hidden"===e.type||function(e){if("INPUT"!==e.tagName||"radio"!==e.type)return!1;if(!e.name)return!1;const t=t=>e.ownerDocument.querySelector(`input[type="radio"]${t}`);let n=t(`[name="${e.name}"]:checked`);return n||(n=t(`[name="${e.name}"]`)),n!==e}(e))}(e)&&(0===o?t.push(e):n.push({documentOrder:r,tabIndex:o,node:e}))})),n.sort(((e,t)=>e.tabIndex===t.tabIndex?e.documentOrder-t.documentOrder:e.tabIndex-t.tabIndex)).map((e=>e.node)).concat(t)}function c(){return!0}function u(e){const{children:t,disableAutoFocus:n=!1,disableEnforceFocus:s=!1,disableRestoreFocus:u=!1,getTabbable:d=l,isEnabled:p=c,open:f}=e,h=r.useRef(!1),m=r.useRef(null),v=r.useRef(null),g=r.useRef(null),y=r.useRef(null),b=r.useRef(!1),w=r.useRef(null),x=(0,o.Z)(t.ref,w),k=r.useRef(null);r.useEffect((()=>{f&&w.current&&(b.current=!n)}),[n,f]),r.useEffect((()=>{if(!f||!w.current)return;const e=(0,i.Z)(w.current);return w.current.contains(e.activeElement)||(w.current.hasAttribute("tabIndex")||w.current.setAttribute("tabIndex","-1"),b.current&&w.current.focus()),()=>{u||(g.current&&g.current.focus&&(h.current=!0,g.current.focus()),g.current=null)}}),[f]),r.useEffect((()=>{if(!f||!w.current)return;const e=(0,i.Z)(w.current),t=t=>{k.current=t,!s&&p()&&"Tab"===t.key&&e.activeElement===w.current&&t.shiftKey&&(h.current=!0,v.current&&v.current.focus())},n=()=>{const t=w.current;if(null===t)return;if(!e.hasFocus()||!p()||h.current)return void(h.current=!1);if(t.contains(e.activeElement))return;if(s&&e.activeElement!==m.current&&e.activeElement!==v.current)return;if(e.activeElement!==y.current)y.current=null;else if(null!==y.current)return;if(!b.current)return;let n=[];if(e.activeElement!==m.current&&e.activeElement!==v.current||(n=d(w.current)),n.length>0){var r,o;const e=Boolean((null==(r=k.current)?void 0:r.shiftKey)&&"Tab"===(null==(o=k.current)?void 0:o.key)),t=n[0],i=n[n.length-1];"string"!=typeof t&&"string"!=typeof i&&(e?i.focus():t.focus())}else t.focus()};e.addEventListener("focusin",n),e.addEventListener("keydown",t,!0);const r=setInterval((()=>{e.activeElement&&"BODY"===e.activeElement.tagName&&n()}),50);return()=>{clearInterval(r),e.removeEventListener("focusin",n),e.removeEventListener("keydown",t,!0)}}),[n,s,u,p,f,d]);const S=e=>{null===g.current&&(g.current=e.relatedTarget),b.current=!0};return(0,a.jsxs)(r.Fragment,{children:[(0,a.jsx)("div",{tabIndex:f?0:-1,onFocus:S,ref:m,"data-testid":"sentinelStart"}),r.cloneElement(t,{ref:x,onFocus:e=>{null===g.current&&(g.current=e.relatedTarget),b.current=!0,y.current=e.target;const n=t.props.onFocus;n&&n(e)}}),(0,a.jsx)("div",{tabIndex:f?0:-1,onFocus:S,ref:v,"data-testid":"sentinelEnd"})]})}},65561:(e,t,n)=>{"use strict";n.d(t,{r:()=>k});var r=n(87462),o=n(63366),i=n(74570),a=n(33703),s=n(73546),l=n(82690),c=n(20804),u=n(94780),d=n(78385),p=n(91516),f=n(7293),h=n(31873),m=n(85893);const v=["anchorEl","children","direction","disablePortal","modifiers","open","placement","popperOptions","popperRef","slotProps","slots","TransitionProps","ownerState"],g=["anchorEl","children","container","direction","disablePortal","keepMounted","modifiers","open","placement","popperOptions","popperRef","style","transition","slotProps","slots"];function y(e){return"function"==typeof e?e():e}function b(e){return void 0!==e.nodeType}const w={},x=i.forwardRef((function(e,t){var n;const{anchorEl:l,children:d,direction:g,disablePortal:b,modifiers:w,open:x,placement:k,popperOptions:S,popperRef:C,slotProps:E={},slots:T={},TransitionProps:O}=e,$=(0,o.Z)(e,v),M=i.useRef(null),A=(0,a.Z)(M,t),D=i.useRef(null),L=(0,a.Z)(D,C),N=i.useRef(L);(0,s.Z)((()=>{N.current=L}),[L]),i.useImperativeHandle(C,(()=>D.current),[]);const R=function(e,t){if("ltr"===t)return e;switch(e){case"bottom-end":return"bottom-start";case"bottom-start":return"bottom-end";case"top-end":return"top-start";case"top-start":return"top-end";default:return e}}(k,g),[I,P]=i.useState(R),[Z,_]=i.useState(y(l));i.useEffect((()=>{D.current&&D.current.forceUpdate()})),i.useEffect((()=>{l&&_(y(l))}),[l]),(0,s.Z)((()=>{if(!Z||!x)return;let e=[{name:"preventOverflow",options:{altBoundary:b}},{name:"flip",options:{altBoundary:b}},{name:"onUpdate",enabled:!0,phase:"afterWrite",fn:({state:e})=>{P(e.placement)}}];null!=w&&(e=e.concat(w)),S&&null!=S.modifiers&&(e=e.concat(S.modifiers));const t=(0,c.fi)(Z,M.current,(0,r.Z)({placement:R},S,{modifiers:e}));return N.current(t),()=>{t.destroy(),N.current(null)}}),[Z,b,w,x,S,R]);const F={placement:I};null!==O&&(F.TransitionProps=O);const j=(0,u.Z)({root:["root"]},(0,h.T)(p.i)),B=null!=(n=T.root)?n:"div",z=(0,f.y)({elementType:B,externalSlotProps:E.root,externalForwardedProps:$,additionalProps:{role:"tooltip",ref:A},ownerState:e,className:j.root});return(0,m.jsx)(B,(0,r.Z)({},z,{children:"function"==typeof d?d(F):d}))})),k=i.forwardRef((function(e,t){const{anchorEl:n,children:a,container:s,direction:c="ltr",disablePortal:u=!1,keepMounted:p=!1,modifiers:f,open:h,placement:v="bottom",popperOptions:k=w,popperRef:S,style:C,transition:E=!1,slotProps:T={},slots:O={}}=e,$=(0,o.Z)(e,g),[M,A]=i.useState(!0);if(!p&&!h&&(!E||M))return null;let D;if(s)D=s;else if(n){const e=y(n);D=e&&b(e)?(0,l.Z)(e).body:(0,l.Z)(null).body}const L=h||!p||E&&!M?void 0:"none",N=E?{in:h,onEnter:()=>{A(!1)},onExited:()=>{A(!0)}}:void 0;return(0,m.jsx)(d.h,{disablePortal:u,container:D,children:(0,m.jsx)(x,(0,r.Z)({anchorEl:n,direction:c,disablePortal:u,modifiers:f,ref:t,open:E?!M:h,placement:v,popperOptions:k,popperRef:S,slotProps:T,slots:O},$,{style:(0,r.Z)({position:"fixed",top:0,left:0,display:L},C),TransitionProps:N,children:a}))})}))},91516:(e,t,n)=>{"use strict";n.d(t,{i:()=>o});var r=n(34867);function o(e){return(0,r.Z)("MuiPopper",e)}(0,n(1588).Z)("MuiPopper",["root"])},78385:(e,t,n)=>{"use strict";n.d(t,{h:()=>c});var r=n(74570),o=n(91311),i=n(33703),a=n(73546),s=n(7960),l=n(85893);const c=r.forwardRef((function(e,t){const{children:n,container:c,disablePortal:u=!1}=e,[d,p]=r.useState(null),f=(0,i.Z)(r.isValidElement(n)?n.ref:null,t);if((0,a.Z)((()=>{u||p(function(e){return"function"==typeof e?e():e}(c)||document.body)}),[c,u]),(0,a.Z)((()=>{if(d&&!u)return(0,s.Z)(t,d),()=>{(0,s.Z)(t,null)}}),[t,d,u]),u){if(r.isValidElement(n)){const e={ref:f};return r.cloneElement(n,e)}return(0,l.jsx)(r.Fragment,{children:n})}return(0,l.jsx)(r.Fragment,{children:d?o.createPortal(n,d):d})}))},37598:(e,t,n)=>{"use strict";n.d(t,{u:()=>v});var r=n(87462),o=n(63366),i=n(74570),a=n(91311),s=n(33703),l=n(74161),c=n(39336),u=n(73546),d=n(85893);const p=["onChange","maxRows","minRows","style","value"];function f(e){return parseInt(e,10)||0}const h={visibility:"hidden",position:"absolute",overflow:"hidden",height:0,top:0,left:0,transform:"translateZ(0)"};function m(e){return null==e||0===Object.keys(e).length||0===e.outerHeightStyle&&!e.overflow}const v=i.forwardRef((function(e,t){const{onChange:n,maxRows:v,minRows:g=1,style:y,value:b}=e,w=(0,o.Z)(e,p),{current:x}=i.useRef(null!=b),k=i.useRef(null),S=(0,s.Z)(t,k),C=i.useRef(null),E=i.useRef(0),[T,O]=i.useState({outerHeightStyle:0}),$=i.useCallback((()=>{const t=k.current,n=(0,l.Z)(t).getComputedStyle(t);if("0px"===n.width)return{outerHeightStyle:0};const r=C.current;r.style.width=n.width,r.value=t.value||e.placeholder||"x","\n"===r.value.slice(-1)&&(r.value+=" ");const o=n.boxSizing,i=f(n.paddingBottom)+f(n.paddingTop),a=f(n.borderBottomWidth)+f(n.borderTopWidth),s=r.scrollHeight;r.value="x";const c=r.scrollHeight;let u=s;g&&(u=Math.max(Number(g)*c,u)),v&&(u=Math.min(Number(v)*c,u)),u=Math.max(u,c);return{outerHeightStyle:u+("border-box"===o?i+a:0),overflow:Math.abs(u-s)<=1}}),[v,g,e.placeholder]),M=(e,t)=>{const{outerHeightStyle:n,overflow:r}=t;return E.current<20&&(n>0&&Math.abs((e.outerHeightStyle||0)-n)>1||e.overflow!==r)?(E.current+=1,{overflow:r,outerHeightStyle:n}):e},A=i.useCallback((()=>{const e=$();m(e)||O((t=>M(t,e)))}),[$]),D=()=>{const e=$();m(e)||a.flushSync((()=>{O((t=>M(t,e)))}))};i.useEffect((()=>{const e=()=>{E.current=0,k.current&&D()},t=(0,c.Z)((()=>{E.current=0,k.current&&D()}));let n;const r=k.current,o=(0,l.Z)(r);return o.addEventListener("resize",t),"undefined"!=typeof ResizeObserver&&(n=new ResizeObserver(e),n.observe(r)),()=>{t.clear(),o.removeEventListener("resize",t),n&&n.disconnect()}})),(0,u.Z)((()=>{A()})),i.useEffect((()=>{E.current=0}),[b]);return(0,d.jsxs)(i.Fragment,{children:[(0,d.jsx)("textarea",(0,r.Z)({value:b,onChange:e=>{E.current=0,x||A(),n&&n(e)},ref:S,rows:g,style:(0,r.Z)({height:T.outerHeightStyle,overflow:T.overflow?"hidden":void 0},y)},w)),(0,d.jsx)("textarea",{"aria-hidden":!0,className:e.className,readOnly:!0,ref:C,tabIndex:-1,style:(0,r.Z)({},h,y,{paddingTop:0,paddingBottom:0})})]})}))},31710:(e,t,n)=>{"use strict";n.d(t,{G:()=>a,g:()=>d});var r=n(82690),o=n(74161),i=n(95806);function a(e,t){t?e.setAttribute("aria-hidden","true"):e.removeAttribute("aria-hidden")}function s(e){return parseInt((0,o.Z)(e).getComputedStyle(e).paddingRight,10)||0}function l(e,t,n,r,o){const i=[t,n,...r];[].forEach.call(e.children,(e=>{const t=-1===i.indexOf(e),n=!function(e){const t=-1!==["TEMPLATE","SCRIPT","STYLE","LINK","MAP","META","NOSCRIPT","PICTURE","COL","COLGROUP","PARAM","SLOT","SOURCE","TRACK"].indexOf(e.tagName),n="INPUT"===e.tagName&&"hidden"===e.getAttribute("type");return t||n}(e);t&&n&&a(e,o)}))}function c(e,t){let n=-1;return e.some(((e,r)=>!!t(e)&&(n=r,!0))),n}function u(e,t){const n=[],a=e.container;if(!t.disableScrollLock){if(function(e){const t=(0,r.Z)(e);return t.body===e?(0,o.Z)(e).innerWidth>t.documentElement.clientWidth:e.scrollHeight>e.clientHeight}(a)){const e=(0,i.Z)((0,r.Z)(a));n.push({value:a.style.paddingRight,property:"padding-right",el:a}),a.style.paddingRight=`${s(a)+e}px`;const t=(0,r.Z)(a).querySelectorAll(".mui-fixed");[].forEach.call(t,(t=>{n.push({value:t.style.paddingRight,property:"padding-right",el:t}),t.style.paddingRight=`${s(t)+e}px`}))}let e;if(a.parentNode instanceof DocumentFragment)e=(0,r.Z)(a).body;else{const t=a.parentElement,n=(0,o.Z)(a);e="HTML"===(null==t?void 0:t.nodeName)&&"scroll"===n.getComputedStyle(t).overflowY?t:a}n.push({value:e.style.overflow,property:"overflow",el:e},{value:e.style.overflowX,property:"overflow-x",el:e},{value:e.style.overflowY,property:"overflow-y",el:e}),e.style.overflow="hidden"}return()=>{n.forEach((({value:e,el:t,property:n})=>{e?t.style.setProperty(n,e):t.style.removeProperty(n)}))}}class d{constructor(){this.containers=void 0,this.modals=void 0,this.modals=[],this.containers=[]}add(e,t){let n=this.modals.indexOf(e);if(-1!==n)return n;n=this.modals.length,this.modals.push(e),e.modalRef&&a(e.modalRef,!1);const r=function(e){const t=[];return[].forEach.call(e.children,(e=>{"true"===e.getAttribute("aria-hidden")&&t.push(e)})),t}(t);l(t,e.mount,e.modalRef,r,!0);const o=c(this.containers,(e=>e.container===t));return-1!==o?(this.containers[o].modals.push(e),n):(this.containers.push({modals:[e],container:t,restore:null,hiddenSiblings:r}),n)}mount(e,t){const n=c(this.containers,(t=>-1!==t.modals.indexOf(e))),r=this.containers[n];r.restore||(r.restore=u(r,t))}remove(e,t=!0){const n=this.modals.indexOf(e);if(-1===n)return n;const r=c(this.containers,(t=>-1!==t.modals.indexOf(e))),o=this.containers[r];if(o.modals.splice(o.modals.indexOf(e),1),this.modals.splice(n,1),0===o.modals.length)o.restore&&o.restore(),e.modalRef&&a(e.modalRef,t),l(o.container,e.mount,e.modalRef,o.hiddenSiblings,!1),this.containers.splice(r,1);else{const e=o.modals[o.modals.length-1];e.modalRef&&a(e.modalRef,!1)}return n}isTopModal(e){return this.modals.length>0&&this.modals[this.modals.length-1]===e}}},86118:(e,t,n)=>{"use strict";n.d(t,{d:()=>p});var r=n(87462),o=n(74570),i=n(33703),a=n(82690),s=n(59948),l=n(49064),c=n(30437),u=n(31710);const d=new u.g;function p(e){const{container:t,disableEscapeKeyDown:n=!1,disableScrollLock:p=!1,manager:f=d,closeAfterTransition:h=!1,onTransitionEnter:m,onTransitionExited:v,children:g,onClose:y,open:b,rootRef:w}=e,x=o.useRef({}),k=o.useRef(null),S=o.useRef(null),C=(0,i.Z)(S,w),[E,T]=o.useState(!b),O=function(e){return!!e&&e.props.hasOwnProperty("in")}(g);let $=!0;"false"!==e["aria-hidden"]&&!1!==e["aria-hidden"]||($=!1);const M=()=>(x.current.modalRef=S.current,x.current.mount=k.current,x.current),A=()=>{f.mount(M(),{disableScrollLock:p}),S.current&&(S.current.scrollTop=0)},D=(0,s.Z)((()=>{const e=function(e){return"function"==typeof e?e():e}(t)||(0,a.Z)(k.current).body;f.add(M(),e),S.current&&A()})),L=o.useCallback((()=>f.isTopModal(M())),[f]),N=(0,s.Z)((e=>{k.current=e,e&&(b&&L()?A():S.current&&(0,u.G)(S.current,$))})),R=o.useCallback((()=>{f.remove(M(),$)}),[$,f]);o.useEffect((()=>()=>{R()}),[R]),o.useEffect((()=>{b?D():O&&h||R()}),[b,R,O,h,D]);const I=e=>t=>{var r;null==(r=e.onKeyDown)||r.call(e,t),"Escape"===t.key&&L()&&(n||(t.stopPropagation(),y&&y(t,"escapeKeyDown")))},P=e=>t=>{var n;null==(n=e.onClick)||n.call(e,t),t.target===t.currentTarget&&y&&y(t,"backdropClick")};return{getRootProps:(t={})=>{const n=(0,c._)(e);delete n.onTransitionEnter,delete n.onTransitionExited;const o=(0,r.Z)({},n,t);return(0,r.Z)({role:"presentation"},o,{onKeyDown:I(o),ref:C})},getBackdropProps:(e={})=>{const t=e;return(0,r.Z)({"aria-hidden":!0},t,{onClick:P(t),open:b})},getTransitionProps:()=>({onEnter:(0,l.Z)((()=>{T(!1),m&&m()}),null==g?void 0:g.props.onEnter),onExited:(0,l.Z)((()=>{T(!0),v&&v(),h&&R()}),null==g?void 0:g.props.onExited)}),rootRef:C,portalRef:N,isTopModal:L,exited:E,hasTransition:O}}},93362:(e,t,n)=>{"use strict";n.d(t,{D:()=>d,o:()=>v});var r=n(87462),o=n(74570),i=n(92996),a=n(19032),s=n(2097),l=n(59948),c=n(7960);function u(e){return void 0!==e.normalize?e.normalize("NFD").replace(/[\u0300-\u036f]/g,""):e}function d(e={}){const{ignoreAccents:t=!0,ignoreCase:n=!0,limit:r,matchFrom:o="any",stringify:i,trim:a=!1}=e;return(e,{inputValue:s,getOptionLabel:l})=>{let c=a?s.trim():s;n&&(c=c.toLowerCase()),t&&(c=u(c));const d=c?e.filter((e=>{let r=(i||l)(e);return n&&(r=r.toLowerCase()),t&&(r=u(r)),"start"===o?0===r.indexOf(c):r.indexOf(c)>-1})):e;return"number"==typeof r?d.slice(0,r):d}}function p(e,t){for(let n=0;n<e.length;n+=1)if(t(e[n]))return n;return-1}const f=d(),h=5,m=e=>{var t;return null!==e.current&&(null==(t=e.current.parentElement)?void 0:t.contains(document.activeElement))};function v(e){const{unstable_isActiveElementInListbox:t=m,unstable_classNamePrefix:n="Mui",autoComplete:u=!1,autoHighlight:d=!1,autoSelect:v=!1,blurOnSelect:g=!1,clearOnBlur:y=!e.freeSolo,clearOnEscape:b=!1,componentName:w="useAutocomplete",defaultValue:x=(e.multiple?[]:null),disableClearable:k=!1,disableCloseOnSelect:S=!1,disabled:C,disabledItemsFocusable:E=!1,disableListWrap:T=!1,filterOptions:O=f,filterSelectedOptions:$=!1,freeSolo:M=!1,getOptionDisabled:A,getOptionLabel:D=(e=>{var t;return null!=(t=e.label)?t:e}),groupBy:L,handleHomeEndKeys:N=!e.freeSolo,id:R,includeInputInList:I=!1,inputValue:P,isOptionEqualToValue:Z=((e,t)=>e===t),multiple:_=!1,onChange:F,onClose:j,onHighlightChange:B,onInputChange:z,onOpen:H,open:U,openOnFocus:W=!1,options:V,readOnly:q=!1,selectOnFocus:G=!e.freeSolo,value:K}=e,Y=(0,i.Z)(R);let X=D;X=e=>{const t=D(e);return"string"!=typeof t?String(t):t};const J=o.useRef(!1),Q=o.useRef(!0),ee=o.useRef(null),te=o.useRef(null),[ne,re]=o.useState(null),[oe,ie]=o.useState(-1),ae=d?0:-1,se=o.useRef(ae),[le,ce]=(0,a.Z)({controlled:K,default:x,name:w}),[ue,de]=(0,a.Z)({controlled:P,default:"",name:w,state:"inputValue"}),[pe,fe]=o.useState(!1),he=o.useCallback(((e,t)=>{if(!(_?le.length<t.length:null!==t)&&!y)return;let n;if(_)n="";else if(null==t)n="";else{const e=X(t);n="string"==typeof e?e:""}ue!==n&&(de(n),z&&z(e,n,"reset"))}),[X,ue,_,z,de,y,le]),[me,ve]=(0,a.Z)({controlled:U,default:!1,name:w,state:"open"}),[ge,ye]=o.useState(!0),be=!_&&null!=le&&ue===X(le),we=me&&!q,xe=we?O(V.filter((e=>!$||!(_?le:[le]).some((t=>null!==t&&Z(e,t))))),{inputValue:be&&ge?"":ue,getOptionLabel:X}):[],ke=(0,s.Z)({filteredOptions:xe,value:le,inputValue:ue});o.useEffect((()=>{const e=le!==ke.value;pe&&!e||M&&!e||he(null,le)}),[le,he,pe,ke.value,M]);const Se=me&&xe.length>0&&!q;const Ce=(0,l.Z)((e=>{-1===e?ee.current.focus():ne.querySelector(`[data-tag-index="${e}"]`).focus()}));o.useEffect((()=>{_&&oe>le.length-1&&(ie(-1),Ce(-1))}),[le,_,oe,Ce]);const Ee=(0,l.Z)((({event:e,index:t,reason:r="auto"})=>{if(se.current=t,-1===t?ee.current.removeAttribute("aria-activedescendant"):ee.current.setAttribute("aria-activedescendant",`${Y}-option-${t}`),B&&B(e,-1===t?null:xe[t],r),!te.current)return;const o=te.current.querySelector(`[role="option"].${n}-focused`);o&&(o.classList.remove(`${n}-focused`),o.classList.remove(`${n}-focusVisible`));let i=te.current;if("listbox"!==te.current.getAttribute("role")&&(i=te.current.parentElement.querySelector('[role="listbox"]')),!i)return;if(-1===t)return void(i.scrollTop=0);const a=te.current.querySelector(`[data-option-index="${t}"]`);if(a&&(a.classList.add(`${n}-focused`),"keyboard"===r&&a.classList.add(`${n}-focusVisible`),i.scrollHeight>i.clientHeight&&"mouse"!==r&&"touch"!==r)){const e=a,t=i.clientHeight+i.scrollTop,n=e.offsetTop+e.offsetHeight;n>t?i.scrollTop=n-i.clientHeight:e.offsetTop-e.offsetHeight*(L?1.3:0)<i.scrollTop&&(i.scrollTop=e.offsetTop-e.offsetHeight*(L?1.3:0))}})),Te=(0,l.Z)((({event:e,diff:t,direction:n="next",reason:r="auto"})=>{if(!we)return;const o=function(e,t){if(!te.current||-1===e)return-1;let n=e;for(;;){if("next"===t&&n===xe.length||"previous"===t&&-1===n)return-1;const e=te.current.querySelector(`[data-option-index="${n}"]`),r=!E&&(!e||e.disabled||"true"===e.getAttribute("aria-disabled"));if(!(e&&!e.hasAttribute("tabindex")||r))return n;n+="next"===t?1:-1}}((()=>{const e=xe.length-1;if("reset"===t)return ae;if("start"===t)return 0;if("end"===t)return e;const n=se.current+t;return n<0?-1===n&&I?-1:T&&-1!==se.current||Math.abs(t)>1?0:e:n>e?n===e+1&&I?-1:T||Math.abs(t)>1?e:0:n})(),n);if(Ee({index:o,reason:r,event:e}),u&&"reset"!==t)if(-1===o)ee.current.value=ue;else{const e=X(xe[o]);ee.current.value=e;0===e.toLowerCase().indexOf(ue.toLowerCase())&&ue.length>0&&ee.current.setSelectionRange(ue.length,e.length)}})),Oe=o.useCallback((()=>{if(!we)return;if((()=>{if(-1!==se.current&&ke.filteredOptions&&ke.filteredOptions.length!==xe.length&&ke.inputValue===ue&&(_?le.length===ke.value.length&&ke.value.every(((e,t)=>X(le[t])===X(e))):(e=ke.value,t=le,(e?X(e):"")===(t?X(t):"")))){const e=ke.filteredOptions[se.current];if(e&&xe.some((t=>X(t)===X(e))))return!0}var e,t;return!1})())return;const e=_?le[0]:le;if(0!==xe.length&&null!=e){if(te.current)if(null==e)se.current>=xe.length-1?Ee({index:xe.length-1}):Ee({index:se.current});else{const t=xe[se.current];if(_&&t&&-1!==p(le,(e=>Z(t,e))))return;const n=p(xe,(t=>Z(t,e)));-1===n?Te({diff:"reset"}):Ee({index:n})}}else Te({diff:"reset"})}),[xe.length,!_&&le,$,Te,Ee,we,ue,_]),$e=(0,l.Z)((e=>{(0,c.Z)(te,e),e&&Oe()}));o.useEffect((()=>{Oe()}),[Oe]);const Me=e=>{me||(ve(!0),ye(!0),H&&H(e))},Ae=(e,t)=>{me&&(ve(!1),j&&j(e,t))},De=(e,t,n,r)=>{if(_){if(le.length===t.length&&le.every(((e,n)=>e===t[n])))return}else if(le===t)return;F&&F(e,t,n,r),ce(t)},Le=o.useRef(!1),Ne=(e,t,n="selectOption",r="options")=>{let o=n,i=t;if(_){i=Array.isArray(le)?le.slice():[];const e=p(i,(e=>Z(t,e)));-1===e?i.push(t):"freeSolo"!==r&&(i.splice(e,1),o="removeOption")}he(e,i),De(e,i,o,{option:t}),S||e&&(e.ctrlKey||e.metaKey)||Ae(e,o),(!0===g||"touch"===g&&Le.current||"mouse"===g&&!Le.current)&&ee.current.blur()};const Re=(e,t)=>{if(!_)return;""===ue&&Ae(e,"toggleInput");let n=oe;-1===oe?""===ue&&"previous"===t&&(n=le.length-1):(n+="next"===t?1:-1,n<0&&(n=0),n===le.length&&(n=-1)),n=function(e,t){if(-1===e)return-1;let n=e;for(;;){if("next"===t&&n===le.length||"previous"===t&&-1===n)return-1;const e=ne.querySelector(`[data-tag-index="${n}"]`);if(e&&e.hasAttribute("tabindex")&&!e.disabled&&"true"!==e.getAttribute("aria-disabled"))return n;n+="next"===t?1:-1}}(n,t),ie(n),Ce(n)},Ie=e=>{J.current=!0,de(""),z&&z(e,"","clear"),De(e,_?[]:null,"clear")},Pe=e=>t=>{if(e.onKeyDown&&e.onKeyDown(t),!t.defaultMuiPrevented&&(-1!==oe&&-1===["ArrowLeft","ArrowRight"].indexOf(t.key)&&(ie(-1),Ce(-1)),229!==t.which))switch(t.key){case"Home":we&&N&&(t.preventDefault(),Te({diff:"start",direction:"next",reason:"keyboard",event:t}));break;case"End":we&&N&&(t.preventDefault(),Te({diff:"end",direction:"previous",reason:"keyboard",event:t}));break;case"PageUp":t.preventDefault(),Te({diff:-h,direction:"previous",reason:"keyboard",event:t}),Me(t);break;case"PageDown":t.preventDefault(),Te({diff:h,direction:"next",reason:"keyboard",event:t}),Me(t);break;case"ArrowDown":t.preventDefault(),Te({diff:1,direction:"next",reason:"keyboard",event:t}),Me(t);break;case"ArrowUp":t.preventDefault(),Te({diff:-1,direction:"previous",reason:"keyboard",event:t}),Me(t);break;case"ArrowLeft":Re(t,"previous");break;case"ArrowRight":Re(t,"next");break;case"Enter":if(-1!==se.current&&we){const e=xe[se.current],n=!!A&&A(e);if(t.preventDefault(),n)return;Ne(t,e,"selectOption"),u&&ee.current.setSelectionRange(ee.current.value.length,ee.current.value.length)}else M&&""!==ue&&!1===be&&(_&&t.preventDefault(),Ne(t,ue,"createOption","freeSolo"));break;case"Escape":we?(t.preventDefault(),t.stopPropagation(),Ae(t,"escape")):b&&(""!==ue||_&&le.length>0)&&(t.preventDefault(),t.stopPropagation(),Ie(t));break;case"Backspace":if(_&&!q&&""===ue&&le.length>0){const e=-1===oe?le.length-1:oe,n=le.slice();n.splice(e,1),De(t,n,"removeOption",{option:le[e]})}break;case"Delete":if(_&&!q&&""===ue&&le.length>0&&-1!==oe){const e=oe,n=le.slice();n.splice(e,1),De(t,n,"removeOption",{option:le[e]})}}},Ze=e=>{fe(!0),W&&!J.current&&Me(e)},_e=e=>{t(te)?ee.current.focus():(fe(!1),Q.current=!0,J.current=!1,v&&-1!==se.current&&we?Ne(e,xe[se.current],"blur"):v&&M&&""!==ue?Ne(e,ue,"blur","freeSolo"):y&&he(e,le),Ae(e,"blur"))},Fe=e=>{const t=e.target.value;ue!==t&&(de(t),ye(!1),z&&z(e,t,"input")),""===t?k||_||De(e,null,"clear"):Me(e)},je=e=>{const t=Number(e.currentTarget.getAttribute("data-option-index"));se.current!==t&&Ee({event:e,index:t,reason:"mouse"})},Be=e=>{Ee({event:e,index:Number(e.currentTarget.getAttribute("data-option-index")),reason:"touch"}),Le.current=!0},ze=e=>{const t=Number(e.currentTarget.getAttribute("data-option-index"));Ne(e,xe[t],"selectOption"),Le.current=!1},He=e=>t=>{const n=le.slice();n.splice(e,1),De(t,n,"removeOption",{option:le[e]})},Ue=e=>{me?Ae(e,"toggleInput"):Me(e)},We=e=>{e.currentTarget.contains(e.target)&&e.target.getAttribute("id")!==Y&&e.preventDefault()},Ve=e=>{e.currentTarget.contains(e.target)&&(ee.current.focus(),G&&Q.current&&ee.current.selectionEnd-ee.current.selectionStart==0&&ee.current.select(),Q.current=!1)},qe=e=>{C||""!==ue&&me||Ue(e)};let Ge=M&&ue.length>0;Ge=Ge||(_?le.length>0:null!==le);let Ke=xe;if(L){new Map;Ke=xe.reduce(((e,t,n)=>{const r=L(t);return e.length>0&&e[e.length-1].group===r?e[e.length-1].options.push(t):e.push({key:n,index:n,group:r,options:[t]}),e}),[])}return C&&pe&&_e(),{getRootProps:(e={})=>(0,r.Z)({"aria-owns":Se?`${Y}-listbox`:null},e,{onKeyDown:Pe(e),onMouseDown:We,onClick:Ve}),getInputLabelProps:()=>({id:`${Y}-label`,htmlFor:Y}),getInputProps:()=>({id:Y,value:ue,onBlur:_e,onFocus:Ze,onChange:Fe,onMouseDown:qe,"aria-activedescendant":we?"":null,"aria-autocomplete":u?"both":"list","aria-controls":Se?`${Y}-listbox`:void 0,"aria-expanded":Se,autoComplete:"off",ref:ee,autoCapitalize:"none",spellCheck:"false",role:"combobox",disabled:C}),getClearProps:()=>({tabIndex:-1,onClick:Ie}),getPopupIndicatorProps:()=>({tabIndex:-1,onClick:Ue}),getTagProps:({index:e})=>(0,r.Z)({key:e,"data-tag-index":e,tabIndex:-1},!q&&{onDelete:He(e)}),getListboxProps:()=>({role:"listbox",id:`${Y}-listbox`,"aria-labelledby":`${Y}-label`,ref:$e,onMouseDown:e=>{e.preventDefault()}}),getOptionProps:({index:e,option:t})=>{const n=(_?le:[le]).some((e=>null!=e&&Z(t,e))),r=!!A&&A(t);return{key:X(t),tabIndex:-1,role:"option",id:`${Y}-option-${e}`,onMouseMove:je,onClick:ze,onTouchStart:Be,"data-option-index":e,"aria-disabled":r,"aria-selected":n}},id:Y,inputValue:ue,value:le,dirty:Ge,expanded:we&&ne,popupOpen:we,focused:pe||-1!==oe,anchorEl:ne,setAnchorEl:re,focusedTag:oe,groupedOptions:Ke}}},31873:(e,t,n)=>{"use strict";n.d(t,{T:()=>a});var r=n(74570);n(85893);const o={disableDefaultClasses:!1},i=r.createContext(o);function a(e){const{disableDefaultClasses:t}=r.useContext(i);return n=>t?"":e(n)}},10238:(e,t,n)=>{"use strict";n.d(t,{$:()=>i});var r=n(87462),o=n(28442);function i(e,t,n){return void 0===e||(0,o.X)(e)?t:(0,r.Z)({},t,{ownerState:(0,r.Z)({},t.ownerState,n)})}},30437:(e,t,n)=>{"use strict";function r(e,t=[]){if(void 0===e)return{};const n={};return Object.keys(e).filter((n=>n.match(/^on[A-Z]/)&&"function"==typeof e[n]&&!t.includes(n))).forEach((t=>{n[t]=e[t]})),n}n.d(t,{_:()=>r})},28442:(e,t,n)=>{"use strict";function r(e){return"string"==typeof e}n.d(t,{X:()=>r})},26704:(e,t,n)=>{"use strict";n.d(t,{L:()=>s});var r=n(87462),o=n(90512),i=n(30437),a=n(30291);function s(e){const{getSlotProps:t,additionalProps:n,externalSlotProps:s,externalForwardedProps:l,className:c}=e;if(!t){const e=(0,o.Z)(null==l?void 0:l.className,null==s?void 0:s.className,c,null==n?void 0:n.className),t=(0,r.Z)({},null==n?void 0:n.style,null==l?void 0:l.style,null==s?void 0:s.style),i=(0,r.Z)({},n,l,s);return e.length>0&&(i.className=e),Object.keys(t).length>0&&(i.style=t),{props:i,internalRef:void 0}}const u=(0,i._)((0,r.Z)({},l,s)),d=(0,a.k)(s),p=(0,a.k)(l),f=t(u),h=(0,o.Z)(null==f?void 0:f.className,null==n?void 0:n.className,c,null==l?void 0:l.className,null==s?void 0:s.className),m=(0,r.Z)({},null==f?void 0:f.style,null==n?void 0:n.style,null==l?void 0:l.style,null==s?void 0:s.style),v=(0,r.Z)({},f,n,p,d);return h.length>0&&(v.className=h),Object.keys(m).length>0&&(v.style=m),{props:v,internalRef:f.ref}}},30291:(e,t,n)=>{"use strict";function r(e){if(void 0===e)return{};const t={};return Object.keys(e).filter((t=>!(t.match(/^on[A-Z]/)&&"function"==typeof e[t]))).forEach((n=>{t[n]=e[n]})),t}n.d(t,{k:()=>r})},71276:(e,t,n)=>{"use strict";function r(e,t,n){return"function"==typeof e?e(t,n):e}n.d(t,{x:()=>r})},7293:(e,t,n)=>{"use strict";n.d(t,{y:()=>u});var r=n(87462),o=n(63366),i=n(33703),a=n(10238),s=n(26704),l=n(71276);const c=["elementType","externalSlotProps","ownerState","skipResolvingSlotProps"];function u(e){var t;const{elementType:n,externalSlotProps:u,ownerState:d,skipResolvingSlotProps:p=!1}=e,f=(0,o.Z)(e,c),h=p?{}:(0,l.x)(u,d),{props:m,internalRef:v}=(0,s.L)((0,r.Z)({},f,{externalSlotProps:h})),g=(0,i.Z)(v,null==h?void 0:h.ref,null==(t=e.additionalProps)?void 0:t.ref);return(0,a.$)(n,(0,r.Z)({},m,{ref:g}),d)}},82019:(e,t,n)=>{"use strict";var r=n(64836);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=r(n(64938)),i=n(85893),a=(0,o.default)((0,i.jsx)("circle",{cx:"12",cy:"12",r:"8"}),"FiberManualRecord");t.default=a},61659:(e,t,n)=>{"use strict";var r=n(64836);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=r(n(64938)),i=n(85893),a=(0,o.default)((0,i.jsx)("path",{d:"M15.41 7.41 14 6l-6 6 6 6 1.41-1.41L10.83 12z"}),"NavigateBefore");t.default=a},37958:(e,t,n)=>{"use strict";var r=n(64836);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=r(n(64938)),i=n(85893),a=(0,o.default)((0,i.jsx)("path",{d:"M10 6 8.59 7.41 13.17 12l-4.58 4.59L10 18l6-6z"}),"NavigateNext");t.default=a},64938:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return r.createSvgIcon}});var r=n(64298)},23776:(e,t,n)=>{"use strict";n.d(t,{Z:()=>z});var r,o,i=n(63366),a=n(87462),s=n(74570),l=n(90512),c=n(94780),u=n(93362),d=n(41796),p=n(38584),f=n(17075),h=n(21987),m=n(54799),v=n(14723),g=n(7021),y=n(55827),b=n(54656),w=n(24707),x=n(34484),k=n(60224),S=n(71657),C=n(90948),E=n(80482),T=n(98216),O=n(51705),$=n(85893);const M=["autoComplete","autoHighlight","autoSelect","blurOnSelect","ChipProps","className","clearIcon","clearOnBlur","clearOnEscape","clearText","closeText","componentsProps","defaultValue","disableClearable","disableCloseOnSelect","disabled","disabledItemsFocusable","disableListWrap","disablePortal","filterOptions","filterSelectedOptions","forcePopupIcon","freeSolo","fullWidth","getLimitTagsText","getOptionDisabled","getOptionLabel","isOptionEqualToValue","groupBy","handleHomeEndKeys","id","includeInputInList","inputValue","limitTags","ListboxComponent","ListboxProps","loading","loadingText","multiple","noOptionsText","onChange","onClose","onHighlightChange","onInputChange","onOpen","open","openOnFocus","openText","options","PaperComponent","PopperComponent","popupIcon","readOnly","renderGroup","renderInput","renderOption","renderTags","selectOnFocus","size","slotProps","value"],A=["ref"],D=(0,C.ZP)("div",{name:"MuiAutocomplete",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e,{fullWidth:r,hasClearIcon:o,hasPopupIcon:i,inputFocused:a,size:s}=n;return[{[`& .${E.Z.tag}`]:t.tag},{[`& .${E.Z.tag}`]:t[`tagSize${(0,T.Z)(s)}`]},{[`& .${E.Z.inputRoot}`]:t.inputRoot},{[`& .${E.Z.input}`]:t.input},{[`& .${E.Z.input}`]:a&&t.inputFocused},t.root,r&&t.fullWidth,i&&t.hasPopupIcon,o&&t.hasClearIcon]}})((({ownerState:e})=>(0,a.Z)({[`&.${E.Z.focused} .${E.Z.clearIndicator}`]:{visibility:"visible"},"@media (pointer: fine)":{[`&:hover .${E.Z.clearIndicator}`]:{visibility:"visible"}}},e.fullWidth&&{width:"100%"},{[`& .${E.Z.tag}`]:(0,a.Z)({margin:3,maxWidth:"calc(100% - 6px)"},"small"===e.size&&{margin:2,maxWidth:"calc(100% - 4px)"}),[`& .${E.Z.inputRoot}`]:{flexWrap:"wrap",[`.${E.Z.hasPopupIcon}&, .${E.Z.hasClearIcon}&`]:{paddingRight:30},[`.${E.Z.hasPopupIcon}.${E.Z.hasClearIcon}&`]:{paddingRight:56},[`& .${E.Z.input}`]:{width:0,minWidth:30}},[`& .${g.Z.root}`]:{paddingBottom:1,"& .MuiInput-input":{padding:"4px 4px 4px 0px"}},[`& .${g.Z.root}.${y.Z.sizeSmall}`]:{[`& .${g.Z.input}`]:{padding:"2px 4px 3px 0"}},[`& .${b.Z.root}`]:{padding:9,[`.${E.Z.hasPopupIcon}&, .${E.Z.hasClearIcon}&`]:{paddingRight:39},[`.${E.Z.hasPopupIcon}.${E.Z.hasClearIcon}&`]:{paddingRight:65},[`& .${E.Z.input}`]:{padding:"7.5px 4px 7.5px 5px"},[`& .${E.Z.endAdornment}`]:{right:9}},[`& .${b.Z.root}.${y.Z.sizeSmall}`]:{paddingTop:6,paddingBottom:6,paddingLeft:6,[`& .${E.Z.input}`]:{padding:"2.5px 4px 2.5px 8px"}},[`& .${w.Z.root}`]:{paddingTop:19,paddingLeft:8,[`.${E.Z.hasPopupIcon}&, .${E.Z.hasClearIcon}&`]:{paddingRight:39},[`.${E.Z.hasPopupIcon}.${E.Z.hasClearIcon}&`]:{paddingRight:65},[`& .${w.Z.input}`]:{padding:"7px 4px"},[`& .${E.Z.endAdornment}`]:{right:9}},[`& .${w.Z.root}.${y.Z.sizeSmall}`]:{paddingBottom:1,[`& .${w.Z.input}`]:{padding:"2.5px 4px"}},[`& .${y.Z.hiddenLabel}`]:{paddingTop:8},[`& .${w.Z.root}.${y.Z.hiddenLabel}`]:{paddingTop:0,paddingBottom:0,[`& .${E.Z.input}`]:{paddingTop:16,paddingBottom:17}},[`& .${w.Z.root}.${y.Z.hiddenLabel}.${y.Z.sizeSmall}`]:{[`& .${E.Z.input}`]:{paddingTop:8,paddingBottom:9}},[`& .${E.Z.input}`]:(0,a.Z)({flexGrow:1,textOverflow:"ellipsis",opacity:0},e.inputFocused&&{opacity:1})}))),L=(0,C.ZP)("div",{name:"MuiAutocomplete",slot:"EndAdornment",overridesResolver:(e,t)=>t.endAdornment})({position:"absolute",right:0,top:"calc(50% - 14px)"}),N=(0,C.ZP)(m.Z,{name:"MuiAutocomplete",slot:"ClearIndicator",overridesResolver:(e,t)=>t.clearIndicator})({marginRight:-2,padding:4,visibility:"hidden"}),R=(0,C.ZP)(m.Z,{name:"MuiAutocomplete",slot:"PopupIndicator",overridesResolver:({ownerState:e},t)=>(0,a.Z)({},t.popupIndicator,e.popupOpen&&t.popupIndicatorOpen)})((({ownerState:e})=>(0,a.Z)({padding:2,marginRight:-2},e.popupOpen&&{transform:"rotate(180deg)"}))),I=(0,C.ZP)(p.Z,{name:"MuiAutocomplete",slot:"Popper",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[{[`& .${E.Z.option}`]:t.option},t.popper,n.disablePortal&&t.popperDisablePortal]}})((({theme:e,ownerState:t})=>(0,a.Z)({zIndex:(e.vars||e).zIndex.modal},t.disablePortal&&{position:"absolute"}))),P=(0,C.ZP)(h.Z,{name:"MuiAutocomplete",slot:"Paper",overridesResolver:(e,t)=>t.paper})((({theme:e})=>(0,a.Z)({},e.typography.body1,{overflow:"auto"}))),Z=(0,C.ZP)("div",{name:"MuiAutocomplete",slot:"Loading",overridesResolver:(e,t)=>t.loading})((({theme:e})=>({color:(e.vars||e).palette.text.secondary,padding:"14px 16px"}))),_=(0,C.ZP)("div",{name:"MuiAutocomplete",slot:"NoOptions",overridesResolver:(e,t)=>t.noOptions})((({theme:e})=>({color:(e.vars||e).palette.text.secondary,padding:"14px 16px"}))),F=(0,C.ZP)("div",{name:"MuiAutocomplete",slot:"Listbox",overridesResolver:(e,t)=>t.listbox})((({theme:e})=>({listStyle:"none",margin:0,padding:"8px 0",maxHeight:"40vh",overflow:"auto",position:"relative",[`& .${E.Z.option}`]:{minHeight:48,display:"flex",overflow:"hidden",justifyContent:"flex-start",alignItems:"center",cursor:"pointer",paddingTop:6,boxSizing:"border-box",outline:"0",WebkitTapHighlightColor:"transparent",paddingBottom:6,paddingLeft:16,paddingRight:16,[e.breakpoints.up("sm")]:{minHeight:"auto"},[`&.${E.Z.focused}`]:{backgroundColor:(e.vars||e).palette.action.hover,"@media (hover: none)":{backgroundColor:"transparent"}},'&[aria-disabled="true"]':{opacity:(e.vars||e).palette.action.disabledOpacity,pointerEvents:"none"},[`&.${E.Z.focusVisible}`]:{backgroundColor:(e.vars||e).palette.action.focus},'&[aria-selected="true"]':{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / ${e.vars.palette.action.selectedOpacity})`:(0,d.Fq)(e.palette.primary.main,e.palette.action.selectedOpacity),[`&.${E.Z.focused}`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / calc(${e.vars.palette.action.selectedOpacity} + ${e.vars.palette.action.hoverOpacity}))`:(0,d.Fq)(e.palette.primary.main,e.palette.action.selectedOpacity+e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:(e.vars||e).palette.action.selected}},[`&.${E.Z.focusVisible}`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / calc(${e.vars.palette.action.selectedOpacity} + ${e.vars.palette.action.focusOpacity}))`:(0,d.Fq)(e.palette.primary.main,e.palette.action.selectedOpacity+e.palette.action.focusOpacity)}}}}))),j=(0,C.ZP)(f.Z,{name:"MuiAutocomplete",slot:"GroupLabel",overridesResolver:(e,t)=>t.groupLabel})((({theme:e})=>({backgroundColor:(e.vars||e).palette.background.paper,top:-8}))),B=(0,C.ZP)("ul",{name:"MuiAutocomplete",slot:"GroupUl",overridesResolver:(e,t)=>t.groupUl})({padding:0,[`& .${E.Z.option}`]:{paddingLeft:24}}),z=s.forwardRef((function(e,t){var n,d,f,m;const g=(0,S.Z)({props:e,name:"MuiAutocomplete"}),{autoComplete:y=!1,autoHighlight:b=!1,autoSelect:w=!1,blurOnSelect:C=!1,ChipProps:z,className:H,clearIcon:U=r||(r=(0,$.jsx)(x.Z,{fontSize:"small"})),clearOnBlur:W=!g.freeSolo,clearOnEscape:V=!1,clearText:q="Clear",closeText:G="Close",componentsProps:K={},defaultValue:Y=(g.multiple?[]:null),disableClearable:X=!1,disableCloseOnSelect:J=!1,disabled:Q=!1,disabledItemsFocusable:ee=!1,disableListWrap:te=!1,disablePortal:ne=!1,filterSelectedOptions:re=!1,forcePopupIcon:oe="auto",freeSolo:ie=!1,fullWidth:ae=!1,getLimitTagsText:se=(e=>`+${e}`),getOptionLabel:le,groupBy:ce,handleHomeEndKeys:ue=!g.freeSolo,includeInputInList:de=!1,limitTags:pe=-1,ListboxComponent:fe="ul",ListboxProps:he,loading:me=!1,loadingText:ve="Loading…",multiple:ge=!1,noOptionsText:ye="No options",openOnFocus:be=!1,openText:we="Open",PaperComponent:xe=h.Z,PopperComponent:ke=p.Z,popupIcon:Se=o||(o=(0,$.jsx)(k.Z,{})),readOnly:Ce=!1,renderGroup:Ee,renderInput:Te,renderOption:Oe,renderTags:$e,selectOnFocus:Me=!g.freeSolo,size:Ae="medium",slotProps:De={}}=g,Le=(0,i.Z)(g,M),{getRootProps:Ne,getInputProps:Re,getInputLabelProps:Ie,getPopupIndicatorProps:Pe,getClearProps:Ze,getTagProps:_e,getListboxProps:Fe,getOptionProps:je,value:Be,dirty:ze,expanded:He,id:Ue,popupOpen:We,focused:Ve,focusedTag:qe,anchorEl:Ge,setAnchorEl:Ke,inputValue:Ye,groupedOptions:Xe}=(0,u.o)((0,a.Z)({},g,{componentName:"Autocomplete"})),Je=!X&&!Q&&ze&&!Ce,Qe=(!ie||!0===oe)&&!1!==oe,{onMouseDown:et}=Re(),{ref:tt}=null!=he?he:{},nt=Fe(),{ref:rt}=nt,ot=(0,i.Z)(nt,A),it=(0,O.Z)(rt,tt),at=le||(e=>{var t;return null!=(t=e.label)?t:e}),st=(0,a.Z)({},g,{disablePortal:ne,expanded:He,focused:Ve,fullWidth:ae,getOptionLabel:at,hasClearIcon:Je,hasPopupIcon:Qe,inputFocused:-1===qe,popupOpen:We,size:Ae}),lt=(e=>{const{classes:t,disablePortal:n,expanded:r,focused:o,fullWidth:i,hasClearIcon:a,hasPopupIcon:s,inputFocused:l,popupOpen:u,size:d}=e,p={root:["root",r&&"expanded",o&&"focused",i&&"fullWidth",a&&"hasClearIcon",s&&"hasPopupIcon"],inputRoot:["inputRoot"],input:["input",l&&"inputFocused"],tag:["tag",`tagSize${(0,T.Z)(d)}`],endAdornment:["endAdornment"],clearIndicator:["clearIndicator"],popupIndicator:["popupIndicator",u&&"popupIndicatorOpen"],popper:["popper",n&&"popperDisablePortal"],paper:["paper"],listbox:["listbox"],loading:["loading"],noOptions:["noOptions"],option:["option"],groupLabel:["groupLabel"],groupUl:["groupUl"]};return(0,c.Z)(p,E.q,t)})(st);let ct;if(ge&&Be.length>0){const e=e=>(0,a.Z)({className:lt.tag,disabled:Q},_e(e));ct=$e?$e(Be,e,st):Be.map(((t,n)=>(0,$.jsx)(v.Z,(0,a.Z)({label:at(t),size:Ae},e({index:n}),z))))}if(pe>-1&&Array.isArray(ct)){const e=ct.length-pe;!Ve&&e>0&&(ct=ct.splice(0,pe),ct.push((0,$.jsx)("span",{className:lt.tag,children:se(e)},ct.length)))}const ut=Ee||(e=>(0,$.jsxs)("li",{children:[(0,$.jsx)(j,{className:lt.groupLabel,ownerState:st,component:"div",children:e.group}),(0,$.jsx)(B,{className:lt.groupUl,ownerState:st,children:e.children})]},e.key)),dt=Oe||((e,t)=>(0,$.jsx)("li",(0,a.Z)({},e,{children:at(t)}))),pt=(e,t)=>{const n=je({option:e,index:t});return dt((0,a.Z)({},n,{className:lt.option}),e,{selected:n["aria-selected"],index:t,inputValue:Ye},st)},ft=null!=(n=De.clearIndicator)?n:K.clearIndicator,ht=null!=(d=De.paper)?d:K.paper,mt=null!=(f=De.popper)?f:K.popper,vt=null!=(m=De.popupIndicator)?m:K.popupIndicator;return(0,$.jsxs)(s.Fragment,{children:[(0,$.jsx)(D,(0,a.Z)({ref:t,className:(0,l.Z)(lt.root,H),ownerState:st},Ne(Le),{children:Te({id:Ue,disabled:Q,fullWidth:!0,size:"small"===Ae?"small":void 0,InputLabelProps:Ie(),InputProps:(0,a.Z)({ref:Ke,className:lt.inputRoot,startAdornment:ct,onClick:e=>{e.target===e.currentTarget&&et(e)}},(Je||Qe)&&{endAdornment:(0,$.jsxs)(L,{className:lt.endAdornment,ownerState:st,children:[Je?(0,$.jsx)(N,(0,a.Z)({},Ze(),{"aria-label":q,title:q,ownerState:st},ft,{className:(0,l.Z)(lt.clearIndicator,null==ft?void 0:ft.className),children:U})):null,Qe?(0,$.jsx)(R,(0,a.Z)({},Pe(),{disabled:Q,"aria-label":We?G:we,title:We?G:we,ownerState:st},vt,{className:(0,l.Z)(lt.popupIndicator,null==vt?void 0:vt.className),children:Se})):null]})}),inputProps:(0,a.Z)({className:lt.input,disabled:Q,readOnly:Ce},Re())})})),Ge?(0,$.jsx)(I,(0,a.Z)({as:ke,disablePortal:ne,style:{width:Ge?Ge.clientWidth:null},ownerState:st,role:"presentation",anchorEl:Ge,open:We},mt,{className:(0,l.Z)(lt.popper,null==mt?void 0:mt.className),children:(0,$.jsxs)(P,(0,a.Z)({ownerState:st,as:xe},ht,{className:(0,l.Z)(lt.paper,null==ht?void 0:ht.className),children:[me&&0===Xe.length?(0,$.jsx)(Z,{className:lt.loading,ownerState:st,children:ve}):null,0!==Xe.length||ie||me?null:(0,$.jsx)(_,{className:lt.noOptions,ownerState:st,role:"presentation",onMouseDown:e=>{e.preventDefault()},children:ye}),Xe.length>0?(0,$.jsx)(F,(0,a.Z)({as:fe,className:lt.listbox,ownerState:st},ot,he,{ref:it,children:Xe.map(((e,t)=>ce?ut({key:e.key,group:e.group,children:e.options.map(((t,n)=>pt(t,e.index+n)))}):pt(e,t)))})):null]}))})):null]})}))},80482:(e,t,n)=>{"use strict";n.d(t,{Z:()=>a,q:()=>i});var r=n(1588),o=n(34867);function i(e){return(0,o.Z)("MuiAutocomplete",e)}const a=(0,r.Z)("MuiAutocomplete",["root","expanded","fullWidth","focused","focusVisible","tag","tagSizeSmall","tagSizeMedium","hasPopupIcon","hasClearIcon","inputRoot","input","inputFocused","endAdornment","clearIndicator","popupIndicator","popupIndicatorOpen","popper","popperDisablePortal","paper","listbox","loading","noOptions","option","groupLabel","groupUl"])},27995:(e,t,n)=>{"use strict";n.d(t,{Z:()=>g});var r=n(63366),o=n(87462),i=n(74570),a=n(90512),s=n(94780),l=n(90948),c=n(71657),u=n(5218),d=n(54801),p=n(85893);const f=["alt","children","className","component","imgProps","sizes","src","srcSet","variant"],h=(0,l.ZP)("div",{name:"MuiAvatar",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,t[n.variant],n.colorDefault&&t.colorDefault]}})((({theme:e,ownerState:t})=>(0,o.Z)({position:"relative",display:"flex",alignItems:"center",justifyContent:"center",flexShrink:0,width:40,height:40,fontFamily:e.typography.fontFamily,fontSize:e.typography.pxToRem(20),lineHeight:1,borderRadius:"50%",overflow:"hidden",userSelect:"none"},"rounded"===t.variant&&{borderRadius:(e.vars||e).shape.borderRadius},"square"===t.variant&&{borderRadius:0},t.colorDefault&&(0,o.Z)({color:(e.vars||e).palette.background.default},e.vars?{backgroundColor:e.vars.palette.Avatar.defaultBg}:{backgroundColor:"light"===e.palette.mode?e.palette.grey[400]:e.palette.grey[600]})))),m=(0,l.ZP)("img",{name:"MuiAvatar",slot:"Img",overridesResolver:(e,t)=>t.img})({width:"100%",height:"100%",textAlign:"center",objectFit:"cover",color:"transparent",textIndent:1e4}),v=(0,l.ZP)(u.Z,{name:"MuiAvatar",slot:"Fallback",overridesResolver:(e,t)=>t.fallback})({width:"75%",height:"75%"});const g=i.forwardRef((function(e,t){const n=(0,c.Z)({props:e,name:"MuiAvatar"}),{alt:l,children:u,className:g,component:y="div",imgProps:b,sizes:w,src:x,srcSet:k,variant:S="circular"}=n,C=(0,r.Z)(n,f);let E=null;const T=function({crossOrigin:e,referrerPolicy:t,src:n,srcSet:r}){const[o,a]=i.useState(!1);return i.useEffect((()=>{if(!n&&!r)return;a(!1);let o=!0;const i=new Image;return i.onload=()=>{o&&a("loaded")},i.onerror=()=>{o&&a("error")},i.crossOrigin=e,i.referrerPolicy=t,i.src=n,r&&(i.srcset=r),()=>{o=!1}}),[e,t,n,r]),o}((0,o.Z)({},b,{src:x,srcSet:k})),O=x||k,$=O&&"error"!==T,M=(0,o.Z)({},n,{colorDefault:!$,component:y,variant:S}),A=(e=>{const{classes:t,variant:n,colorDefault:r}=e,o={root:["root",n,r&&"colorDefault"],img:["img"],fallback:["fallback"]};return(0,s.Z)(o,d.$,t)})(M);return E=$?(0,p.jsx)(m,(0,o.Z)({alt:l,srcSet:k,src:x,sizes:w,ownerState:M,className:A.img},b)):null!=u?u:O&&l?l[0]:(0,p.jsx)(v,{ownerState:M,className:A.fallback}),(0,p.jsx)(h,(0,o.Z)({as:y,ownerState:M,className:(0,a.Z)(A.root,g),ref:t},C,{children:E}))}))},54801:(e,t,n)=>{"use strict";n.d(t,{$:()=>i,Z:()=>a});var r=n(1588),o=n(34867);function i(e){return(0,o.Z)("MuiAvatar",e)}const a=(0,r.Z)("MuiAvatar",["root","colorDefault","circular","rounded","square","img","fallback"])},45889:(e,t,n)=>{"use strict";n.d(t,{Z:()=>m});var r=n(63366),o=n(87462),i=n(74570),a=n(90512),s=n(94780),l=n(90948),c=n(71657),u=n(16628),d=n(6496),p=n(85893);const f=["children","className","component","components","componentsProps","invisible","open","slotProps","slots","TransitionComponent","transitionDuration"],h=(0,l.ZP)("div",{name:"MuiBackdrop",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.invisible&&t.invisible]}})((({ownerState:e})=>(0,o.Z)({position:"fixed",display:"flex",alignItems:"center",justifyContent:"center",right:0,bottom:0,top:0,left:0,backgroundColor:"rgba(0, 0, 0, 0.5)",WebkitTapHighlightColor:"transparent"},e.invisible&&{backgroundColor:"transparent"}))),m=i.forwardRef((function(e,t){var n,i,l;const m=(0,c.Z)({props:e,name:"MuiBackdrop"}),{children:v,className:g,component:y="div",components:b={},componentsProps:w={},invisible:x=!1,open:k,slotProps:S={},slots:C={},TransitionComponent:E=u.Z,transitionDuration:T}=m,O=(0,r.Z)(m,f),$=(0,o.Z)({},m,{component:y,invisible:x}),M=(e=>{const{classes:t,invisible:n}=e,r={root:["root",n&&"invisible"]};return(0,s.Z)(r,d.s,t)})($),A=null!=(n=S.root)?n:w.root;return(0,p.jsx)(E,(0,o.Z)({in:k,timeout:T},O,{children:(0,p.jsx)(h,(0,o.Z)({"aria-hidden":!0},A,{as:null!=(i=null!=(l=C.root)?l:b.Root)?i:y,className:(0,a.Z)(M.root,g,null==A?void 0:A.className),ownerState:(0,o.Z)({},$,null==A?void 0:A.ownerState),classes:M,ref:t,children:v}))}))}))},6496:(e,t,n)=>{"use strict";n.d(t,{Z:()=>a,s:()=>i});var r=n(1588),o=n(34867);function i(e){return(0,o.Z)("MuiBackdrop",e)}const a=(0,r.Z)("MuiBackdrop",["root","invisible"])},99226:(e,t,n)=>{"use strict";n.d(t,{Z:()=>l});var r=n(61354),o=n(37078),i=n(10185),a=n(10606);const s=(0,i.Z)(),l=(0,r.Z)({themeId:a.Z,defaultTheme:s,defaultClassName:"MuiBox-root",generateClassName:o.Z.generate})},69397:(e,t,n)=>{"use strict";n.d(t,{Z:()=>S});var r=n(63366),o=n(87462),i=n(74570),a=n(90512),s=n(47925),l=n(94780),c=n(41796),u=n(90948),d=n(71657),p=n(62308),f=n(98216),h=n(97933),m=n(98363),v=n(93326),g=n(85893);const y=["children","color","component","className","disabled","disableElevation","disableFocusRipple","endIcon","focusVisibleClassName","fullWidth","size","startIcon","type","variant"],b=e=>(0,o.Z)({},"small"===e.size&&{"& > *:nth-of-type(1)":{fontSize:18}},"medium"===e.size&&{"& > *:nth-of-type(1)":{fontSize:20}},"large"===e.size&&{"& > *:nth-of-type(1)":{fontSize:22}}),w=(0,u.ZP)(p.Z,{shouldForwardProp:e=>(0,u.FO)(e)||"classes"===e,name:"MuiButton",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,t[n.variant],t[`${n.variant}${(0,f.Z)(n.color)}`],t[`size${(0,f.Z)(n.size)}`],t[`${n.variant}Size${(0,f.Z)(n.size)}`],"inherit"===n.color&&t.colorInherit,n.disableElevation&&t.disableElevation,n.fullWidth&&t.fullWidth]}})((({theme:e,ownerState:t})=>{var n,r;const i="light"===e.palette.mode?e.palette.grey[300]:e.palette.grey[800],a="light"===e.palette.mode?e.palette.grey.A100:e.palette.grey[700];return(0,o.Z)({},e.typography.button,{minWidth:64,padding:"6px 16px",borderRadius:(e.vars||e).shape.borderRadius,transition:e.transitions.create(["background-color","box-shadow","border-color","color"],{duration:e.transitions.duration.short}),"&:hover":(0,o.Z)({textDecoration:"none",backgroundColor:e.vars?`rgba(${e.vars.palette.text.primaryChannel} / ${e.vars.palette.action.hoverOpacity})`:(0,c.Fq)(e.palette.text.primary,e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}},"text"===t.variant&&"inherit"!==t.color&&{backgroundColor:e.vars?`rgba(${e.vars.palette[t.color].mainChannel} / ${e.vars.palette.action.hoverOpacity})`:(0,c.Fq)(e.palette[t.color].main,e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}},"outlined"===t.variant&&"inherit"!==t.color&&{border:`1px solid ${(e.vars||e).palette[t.color].main}`,backgroundColor:e.vars?`rgba(${e.vars.palette[t.color].mainChannel} / ${e.vars.palette.action.hoverOpacity})`:(0,c.Fq)(e.palette[t.color].main,e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}},"contained"===t.variant&&{backgroundColor:e.vars?e.vars.palette.Button.inheritContainedHoverBg:a,boxShadow:(e.vars||e).shadows[4],"@media (hover: none)":{boxShadow:(e.vars||e).shadows[2],backgroundColor:(e.vars||e).palette.grey[300]}},"contained"===t.variant&&"inherit"!==t.color&&{backgroundColor:(e.vars||e).palette[t.color].dark,"@media (hover: none)":{backgroundColor:(e.vars||e).palette[t.color].main}}),"&:active":(0,o.Z)({},"contained"===t.variant&&{boxShadow:(e.vars||e).shadows[8]}),[`&.${h.Z.focusVisible}`]:(0,o.Z)({},"contained"===t.variant&&{boxShadow:(e.vars||e).shadows[6]}),[`&.${h.Z.disabled}`]:(0,o.Z)({color:(e.vars||e).palette.action.disabled},"outlined"===t.variant&&{border:`1px solid ${(e.vars||e).palette.action.disabledBackground}`},"contained"===t.variant&&{color:(e.vars||e).palette.action.disabled,boxShadow:(e.vars||e).shadows[0],backgroundColor:(e.vars||e).palette.action.disabledBackground})},"text"===t.variant&&{padding:"6px 8px"},"text"===t.variant&&"inherit"!==t.color&&{color:(e.vars||e).palette[t.color].main},"outlined"===t.variant&&{padding:"5px 15px",border:"1px solid currentColor"},"outlined"===t.variant&&"inherit"!==t.color&&{color:(e.vars||e).palette[t.color].main,border:e.vars?`1px solid rgba(${e.vars.palette[t.color].mainChannel} / 0.5)`:`1px solid ${(0,c.Fq)(e.palette[t.color].main,.5)}`},"contained"===t.variant&&{color:e.vars?e.vars.palette.text.primary:null==(n=(r=e.palette).getContrastText)?void 0:n.call(r,e.palette.grey[300]),backgroundColor:e.vars?e.vars.palette.Button.inheritContainedBg:i,boxShadow:(e.vars||e).shadows[2]},"contained"===t.variant&&"inherit"!==t.color&&{color:(e.vars||e).palette[t.color].contrastText,backgroundColor:(e.vars||e).palette[t.color].main},"inherit"===t.color&&{color:"inherit",borderColor:"currentColor"},"small"===t.size&&"text"===t.variant&&{padding:"4px 5px",fontSize:e.typography.pxToRem(13)},"large"===t.size&&"text"===t.variant&&{padding:"8px 11px",fontSize:e.typography.pxToRem(15)},"small"===t.size&&"outlined"===t.variant&&{padding:"3px 9px",fontSize:e.typography.pxToRem(13)},"large"===t.size&&"outlined"===t.variant&&{padding:"7px 21px",fontSize:e.typography.pxToRem(15)},"small"===t.size&&"contained"===t.variant&&{padding:"4px 10px",fontSize:e.typography.pxToRem(13)},"large"===t.size&&"contained"===t.variant&&{padding:"8px 22px",fontSize:e.typography.pxToRem(15)},t.fullWidth&&{width:"100%"})}),(({ownerState:e})=>e.disableElevation&&{boxShadow:"none","&:hover":{boxShadow:"none"},[`&.${h.Z.focusVisible}`]:{boxShadow:"none"},"&:active":{boxShadow:"none"},[`&.${h.Z.disabled}`]:{boxShadow:"none"}})),x=(0,u.ZP)("span",{name:"MuiButton",slot:"StartIcon",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.startIcon,t[`iconSize${(0,f.Z)(n.size)}`]]}})((({ownerState:e})=>(0,o.Z)({display:"inherit",marginRight:8,marginLeft:-4},"small"===e.size&&{marginLeft:-2},b(e)))),k=(0,u.ZP)("span",{name:"MuiButton",slot:"EndIcon",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.endIcon,t[`iconSize${(0,f.Z)(n.size)}`]]}})((({ownerState:e})=>(0,o.Z)({display:"inherit",marginRight:-4,marginLeft:8},"small"===e.size&&{marginRight:-2},b(e)))),S=i.forwardRef((function(e,t){const n=i.useContext(m.Z),c=i.useContext(v.Z),u=(0,s.Z)(n,e),p=(0,d.Z)({props:u,name:"MuiButton"}),{children:b,color:S="primary",component:C="button",className:E,disabled:T=!1,disableElevation:O=!1,disableFocusRipple:$=!1,endIcon:M,focusVisibleClassName:A,fullWidth:D=!1,size:L="medium",startIcon:N,type:R,variant:I="text"}=p,P=(0,r.Z)(p,y),Z=(0,o.Z)({},p,{color:S,component:C,disabled:T,disableElevation:O,disableFocusRipple:$,fullWidth:D,size:L,type:R,variant:I}),_=(e=>{const{color:t,disableElevation:n,fullWidth:r,size:i,variant:a,classes:s}=e,c={root:["root",a,`${a}${(0,f.Z)(t)}`,`size${(0,f.Z)(i)}`,`${a}Size${(0,f.Z)(i)}`,"inherit"===t&&"colorInherit",n&&"disableElevation",r&&"fullWidth"],label:["label"],startIcon:["startIcon",`iconSize${(0,f.Z)(i)}`],endIcon:["endIcon",`iconSize${(0,f.Z)(i)}`]},u=(0,l.Z)(c,h.F,s);return(0,o.Z)({},s,u)})(Z),F=N&&(0,g.jsx)(x,{className:_.startIcon,ownerState:Z,children:N}),j=M&&(0,g.jsx)(k,{className:_.endIcon,ownerState:Z,children:M}),B=c||"";return(0,g.jsxs)(w,(0,o.Z)({ownerState:Z,className:(0,a.Z)(n.className,_.root,E,B),component:C,disabled:T,focusRipple:!$,focusVisibleClassName:(0,a.Z)(_.focusVisible,A),ref:t,type:R},P,{classes:_,children:[F,b,j]}))}))},97933:(e,t,n)=>{"use strict";n.d(t,{F:()=>i,Z:()=>a});var r=n(1588),o=n(34867);function i(e){return(0,o.Z)("MuiButton",e)}const a=(0,r.Z)("MuiButton",["root","text","textInherit","textPrimary","textSecondary","textSuccess","textError","textInfo","textWarning","outlined","outlinedInherit","outlinedPrimary","outlinedSecondary","outlinedSuccess","outlinedError","outlinedInfo","outlinedWarning","contained","containedInherit","containedPrimary","containedSecondary","containedSuccess","containedError","containedInfo","containedWarning","disableElevation","focusVisible","disabled","colorInherit","textSizeSmall","textSizeMedium","textSizeLarge","outlinedSizeSmall","outlinedSizeMedium","outlinedSizeLarge","containedSizeSmall","containedSizeMedium","containedSizeLarge","sizeMedium","sizeSmall","sizeLarge","fullWidth","startIcon","endIcon","iconSizeSmall","iconSizeMedium","iconSizeLarge"])},62308:(e,t,n)=>{"use strict";n.d(t,{Z:()=>y});var r=n(87462),o=n(63366),i=n(74570),a=n(90512),s=n(94780),l=n(90948),c=n(71657),u=n(51705),d=n(2068),p=n(79674),f=n(99728),h=n(45063),m=n(85893);const v=["action","centerRipple","children","className","component","disabled","disableRipple","disableTouchRipple","focusRipple","focusVisibleClassName","LinkComponent","onBlur","onClick","onContextMenu","onDragLeave","onFocus","onFocusVisible","onKeyDown","onKeyUp","onMouseDown","onMouseLeave","onMouseUp","onTouchEnd","onTouchMove","onTouchStart","tabIndex","TouchRippleProps","touchRippleRef","type"],g=(0,l.ZP)("button",{name:"MuiButtonBase",slot:"Root",overridesResolver:(e,t)=>t.root})({display:"inline-flex",alignItems:"center",justifyContent:"center",position:"relative",boxSizing:"border-box",WebkitTapHighlightColor:"transparent",backgroundColor:"transparent",outline:0,border:0,margin:0,borderRadius:0,padding:0,cursor:"pointer",userSelect:"none",verticalAlign:"middle",MozAppearance:"none",WebkitAppearance:"none",textDecoration:"none",color:"inherit","&::-moz-focus-inner":{borderStyle:"none"},[`&.${h.Z.disabled}`]:{pointerEvents:"none",cursor:"default"},"@media print":{colorAdjust:"exact"}}),y=i.forwardRef((function(e,t){const n=(0,c.Z)({props:e,name:"MuiButtonBase"}),{action:l,centerRipple:y=!1,children:b,className:w,component:x="button",disabled:k=!1,disableRipple:S=!1,disableTouchRipple:C=!1,focusRipple:E=!1,LinkComponent:T="a",onBlur:O,onClick:$,onContextMenu:M,onDragLeave:A,onFocus:D,onFocusVisible:L,onKeyDown:N,onKeyUp:R,onMouseDown:I,onMouseLeave:P,onMouseUp:Z,onTouchEnd:_,onTouchMove:F,onTouchStart:j,tabIndex:B=0,TouchRippleProps:z,touchRippleRef:H,type:U}=n,W=(0,o.Z)(n,v),V=i.useRef(null),q=i.useRef(null),G=(0,u.Z)(q,H),{isFocusVisibleRef:K,onFocus:Y,onBlur:X,ref:J}=(0,p.Z)(),[Q,ee]=i.useState(!1);k&&Q&&ee(!1),i.useImperativeHandle(l,(()=>({focusVisible:()=>{ee(!0),V.current.focus()}})),[]);const[te,ne]=i.useState(!1);i.useEffect((()=>{ne(!0)}),[]);const re=te&&!S&&!k;function oe(e,t,n=C){return(0,d.Z)((r=>{t&&t(r);return!n&&q.current&&q.current[e](r),!0}))}i.useEffect((()=>{Q&&E&&!S&&te&&q.current.pulsate()}),[S,E,Q,te]);const ie=oe("start",I),ae=oe("stop",M),se=oe("stop",A),le=oe("stop",Z),ce=oe("stop",(e=>{Q&&e.preventDefault(),P&&P(e)})),ue=oe("start",j),de=oe("stop",_),pe=oe("stop",F),fe=oe("stop",(e=>{X(e),!1===K.current&&ee(!1),O&&O(e)}),!1),he=(0,d.Z)((e=>{V.current||(V.current=e.currentTarget),Y(e),!0===K.current&&(ee(!0),L&&L(e)),D&&D(e)})),me=()=>{const e=V.current;return x&&"button"!==x&&!("A"===e.tagName&&e.href)},ve=i.useRef(!1),ge=(0,d.Z)((e=>{E&&!ve.current&&Q&&q.current&&" "===e.key&&(ve.current=!0,q.current.stop(e,(()=>{q.current.start(e)}))),e.target===e.currentTarget&&me()&&" "===e.key&&e.preventDefault(),N&&N(e),e.target===e.currentTarget&&me()&&"Enter"===e.key&&!k&&(e.preventDefault(),$&&$(e))})),ye=(0,d.Z)((e=>{E&&" "===e.key&&q.current&&Q&&!e.defaultPrevented&&(ve.current=!1,q.current.stop(e,(()=>{q.current.pulsate(e)}))),R&&R(e),$&&e.target===e.currentTarget&&me()&&" "===e.key&&!e.defaultPrevented&&$(e)}));let be=x;"button"===be&&(W.href||W.to)&&(be=T);const we={};"button"===be?(we.type=void 0===U?"button":U,we.disabled=k):(W.href||W.to||(we.role="button"),k&&(we["aria-disabled"]=k));const xe=(0,u.Z)(t,J,V);const ke=(0,r.Z)({},n,{centerRipple:y,component:x,disabled:k,disableRipple:S,disableTouchRipple:C,focusRipple:E,tabIndex:B,focusVisible:Q}),Se=(e=>{const{disabled:t,focusVisible:n,focusVisibleClassName:r,classes:o}=e,i={root:["root",t&&"disabled",n&&"focusVisible"]},a=(0,s.Z)(i,h.$,o);return n&&r&&(a.root+=` ${r}`),a})(ke);return(0,m.jsxs)(g,(0,r.Z)({as:be,className:(0,a.Z)(Se.root,w),ownerState:ke,onBlur:fe,onClick:$,onContextMenu:ae,onFocus:he,onKeyDown:ge,onKeyUp:ye,onMouseDown:ie,onMouseLeave:ce,onMouseUp:le,onDragLeave:se,onTouchEnd:de,onTouchMove:pe,onTouchStart:ue,ref:xe,tabIndex:k?-1:B,type:U},we,W,{children:[b,re?(0,m.jsx)(f.ZP,(0,r.Z)({ref:G,center:y},z)):null]}))}))},94147:(e,t,n)=>{"use strict";n.d(t,{Z:()=>a});var r=n(74570),o=n(90512),i=n(85893);const a=function(e){const{className:t,classes:n,pulsate:a=!1,rippleX:s,rippleY:l,rippleSize:c,in:u,onExited:d,timeout:p}=e,[f,h]=r.useState(!1),m=(0,o.Z)(t,n.ripple,n.rippleVisible,a&&n.ripplePulsate),v={width:c,height:c,top:-c/2+l,left:-c/2+s},g=(0,o.Z)(n.child,f&&n.childLeaving,a&&n.childPulsate);return u||f||h(!0),r.useEffect((()=>{if(!u&&null!=d){const e=setTimeout(d,p);return()=>{clearTimeout(e)}}}),[d,u,p]),(0,i.jsx)("span",{className:m,style:v,children:(0,i.jsx)("span",{className:g})})}},99728:(e,t,n)=>{"use strict";n.d(t,{ZP:()=>E});var r=n(87462),o=n(63366),i=n(74570),a=n(74004),s=n(90512),l=n(70917),c=n(90948),u=n(71657),d=n(94147),p=n(42615),f=n(85893);const h=["center","classes","className"];let m,v,g,y,b=e=>e;const w=(0,l.F4)(m||(m=b`
0% {
transform: scale(0);
opacity: 0.1;
}
100% {
transform: scale(1);
opacity: 0.3;
}
`)),x=(0,l.F4)(v||(v=b`
0% {
opacity: 1;
}
100% {
opacity: 0;
}
`)),k=(0,l.F4)(g||(g=b`
0% {
transform: scale(1);
}
50% {
transform: scale(0.92);
}
100% {
transform: scale(1);
}
`)),S=(0,c.ZP)("span",{name:"MuiTouchRipple",slot:"Root"})({overflow:"hidden",pointerEvents:"none",position:"absolute",zIndex:0,top:0,right:0,bottom:0,left:0,borderRadius:"inherit"}),C=(0,c.ZP)(d.Z,{name:"MuiTouchRipple",slot:"Ripple"})(y||(y=b`
opacity: 0;
position: absolute;
&.${0} {
opacity: 0.3;
transform: scale(1);
animation-name: ${0};
animation-duration: ${0}ms;
animation-timing-function: ${0};
}
&.${0} {
animation-duration: ${0}ms;
}
& .${0} {
opacity: 1;
display: block;
width: 100%;
height: 100%;
border-radius: 50%;
background-color: currentColor;
}
& .${0} {
opacity: 0;
animation-name: ${0};
animation-duration: ${0}ms;
animation-timing-function: ${0};
}
& .${0} {
position: absolute;
/* @noflip */
left: 0px;
top: 0;
animation-name: ${0};
animation-duration: 2500ms;
animation-timing-function: ${0};
animation-iteration-count: infinite;
animation-delay: 200ms;
}
`),p.Z.rippleVisible,w,550,(({theme:e})=>e.transitions.easing.easeInOut),p.Z.ripplePulsate,(({theme:e})=>e.transitions.duration.shorter),p.Z.child,p.Z.childLeaving,x,550,(({theme:e})=>e.transitions.easing.easeInOut),p.Z.childPulsate,k,(({theme:e})=>e.transitions.easing.easeInOut)),E=i.forwardRef((function(e,t){const n=(0,u.Z)({props:e,name:"MuiTouchRipple"}),{center:l=!1,classes:c={},className:d}=n,m=(0,o.Z)(n,h),[v,g]=i.useState([]),y=i.useRef(0),b=i.useRef(null);i.useEffect((()=>{b.current&&(b.current(),b.current=null)}),[v]);const w=i.useRef(!1),x=i.useRef(0),k=i.useRef(null),E=i.useRef(null);i.useEffect((()=>()=>{x.current&&clearTimeout(x.current)}),[]);const T=i.useCallback((e=>{const{pulsate:t,rippleX:n,rippleY:r,rippleSize:o,cb:i}=e;g((e=>[...e,(0,f.jsx)(C,{classes:{ripple:(0,s.Z)(c.ripple,p.Z.ripple),rippleVisible:(0,s.Z)(c.rippleVisible,p.Z.rippleVisible),ripplePulsate:(0,s.Z)(c.ripplePulsate,p.Z.ripplePulsate),child:(0,s.Z)(c.child,p.Z.child),childLeaving:(0,s.Z)(c.childLeaving,p.Z.childLeaving),childPulsate:(0,s.Z)(c.childPulsate,p.Z.childPulsate)},timeout:550,pulsate:t,rippleX:n,rippleY:r,rippleSize:o},y.current)])),y.current+=1,b.current=i}),[c]),O=i.useCallback(((e={},t={},n=(()=>{}))=>{const{pulsate:r=!1,center:o=l||t.pulsate,fakeElement:i=!1}=t;if("mousedown"===(null==e?void 0:e.type)&&w.current)return void(w.current=!1);"touchstart"===(null==e?void 0:e.type)&&(w.current=!0);const a=i?null:E.current,s=a?a.getBoundingClientRect():{width:0,height:0,left:0,top:0};let c,u,d;if(o||void 0===e||0===e.clientX&&0===e.clientY||!e.clientX&&!e.touches)c=Math.round(s.width/2),u=Math.round(s.height/2);else{const{clientX:t,clientY:n}=e.touches&&e.touches.length>0?e.touches[0]:e;c=Math.round(t-s.left),u=Math.round(n-s.top)}if(o)d=Math.sqrt((2*s.width**2+s.height**2)/3),d%2==0&&(d+=1);else{const e=2*Math.max(Math.abs((a?a.clientWidth:0)-c),c)+2,t=2*Math.max(Math.abs((a?a.clientHeight:0)-u),u)+2;d=Math.sqrt(e**2+t**2)}null!=e&&e.touches?null===k.current&&(k.current=()=>{T({pulsate:r,rippleX:c,rippleY:u,rippleSize:d,cb:n})},x.current=setTimeout((()=>{k.current&&(k.current(),k.current=null)}),80)):T({pulsate:r,rippleX:c,rippleY:u,rippleSize:d,cb:n})}),[l,T]),$=i.useCallback((()=>{O({},{pulsate:!0})}),[O]),M=i.useCallback(((e,t)=>{if(clearTimeout(x.current),"touchend"===(null==e?void 0:e.type)&&k.current)return k.current(),k.current=null,void(x.current=setTimeout((()=>{M(e,t)})));k.current=null,g((e=>e.length>0?e.slice(1):e)),b.current=t}),[]);return i.useImperativeHandle(t,(()=>({pulsate:$,start:O,stop:M})),[$,O,M]),(0,f.jsx)(S,(0,r.Z)({className:(0,s.Z)(p.Z.root,c.root,d),ref:E},m,{children:(0,f.jsx)(a.Z,{component:null,exit:!0,children:v})}))}))},45063:(e,t,n)=>{"use strict";n.d(t,{$:()=>i,Z:()=>a});var r=n(1588),o=n(34867);function i(e){return(0,o.Z)("MuiButtonBase",e)}const a=(0,r.Z)("MuiButtonBase",["root","disabled","focusVisible"])},42615:(e,t,n)=>{"use strict";n.d(t,{H:()=>i,Z:()=>a});var r=n(1588),o=n(34867);function i(e){return(0,o.Z)("MuiTouchRipple",e)}const a=(0,r.Z)("MuiTouchRipple",["root","ripple","rippleVisible","ripplePulsate","child","childLeaving","childPulsate"])},93326:(e,t,n)=>{"use strict";n.d(t,{Z:()=>o});var r=n(74570);const o=r.createContext(void 0)},98363:(e,t,n)=>{"use strict";n.d(t,{Z:()=>o});var r=n(74570);const o=r.createContext({})},44781:(e,t,n)=>{"use strict";n.d(t,{Z:()=>v});var r=n(63366),o=n(87462),i=n(74570),a=n(90512),s=n(94780),l=n(71657),c=n(90948),u=n(23639),d=n(85893);const p=["children","className","component","image","src","style"],f=(0,c.ZP)("div",{name:"MuiCardMedia",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e,{isMediaComponent:r,isImageComponent:o}=n;return[t.root,r&&t.media,o&&t.img]}})((({ownerState:e})=>(0,o.Z)({display:"block",backgroundSize:"cover",backgroundRepeat:"no-repeat",backgroundPosition:"center"},e.isMediaComponent&&{width:"100%"},e.isImageComponent&&{objectFit:"cover"}))),h=["video","audio","picture","iframe","img"],m=["picture","img"],v=i.forwardRef((function(e,t){const n=(0,l.Z)({props:e,name:"MuiCardMedia"}),{children:i,className:c,component:v="div",image:g,src:y,style:b}=n,w=(0,r.Z)(n,p),x=-1!==h.indexOf(v),k=!x&&g?(0,o.Z)({backgroundImage:`url("${g}")`},b):b,S=(0,o.Z)({},n,{component:v,isMediaComponent:x,isImageComponent:-1!==m.indexOf(v)}),C=(e=>{const{classes:t,isMediaComponent:n,isImageComponent:r}=e,o={root:["root",n&&"media",r&&"img"]};return(0,s.Z)(o,u.a,t)})(S);return(0,d.jsx)(f,(0,o.Z)({className:(0,a.Z)(C.root,c),as:v,role:!x&&g?"img":void 0,ref:t,style:k,ownerState:S,src:x?g||y:void 0},w,{children:i}))}))},23639:(e,t,n)=>{"use strict";n.d(t,{Z:()=>a,a:()=>i});var r=n(1588),o=n(34867);function i(e){return(0,o.Z)("MuiCardMedia",e)}const a=(0,r.Z)("MuiCardMedia",["root","media","img"])},14723:(e,t,n)=>{"use strict";n.d(t,{Z:()=>k});var r=n(63366),o=n(87462),i=n(74570),a=n(90512),s=n(94780),l=n(41796),c=n(82066),u=n(85893);const d=(0,c.Z)((0,u.jsx)("path",{d:"M12 2C6.47 2 2 6.47 2 12s4.47 10 10 10 10-4.47 10-10S17.53 2 12 2zm5 13.59L15.59 17 12 13.41 8.41 17 7 15.59 10.59 12 7 8.41 8.41 7 12 10.59 15.59 7 17 8.41 13.41 12 17 15.59z"}),"Cancel");var p=n(51705),f=n(98216),h=n(62308),m=n(71657),v=n(90948),g=n(52072);const y=["avatar","className","clickable","color","component","deleteIcon","disabled","icon","label","onClick","onDelete","onKeyDown","onKeyUp","size","variant","tabIndex","skipFocusWhenDisabled"],b=(0,v.ZP)("div",{name:"MuiChip",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e,{color:r,iconColor:o,clickable:i,onDelete:a,size:s,variant:l}=n;return[{[`& .${g.Z.avatar}`]:t.avatar},{[`& .${g.Z.avatar}`]:t[`avatar${(0,f.Z)(s)}`]},{[`& .${g.Z.avatar}`]:t[`avatarColor${(0,f.Z)(r)}`]},{[`& .${g.Z.icon}`]:t.icon},{[`& .${g.Z.icon}`]:t[`icon${(0,f.Z)(s)}`]},{[`& .${g.Z.icon}`]:t[`iconColor${(0,f.Z)(o)}`]},{[`& .${g.Z.deleteIcon}`]:t.deleteIcon},{[`& .${g.Z.deleteIcon}`]:t[`deleteIcon${(0,f.Z)(s)}`]},{[`& .${g.Z.deleteIcon}`]:t[`deleteIconColor${(0,f.Z)(r)}`]},{[`& .${g.Z.deleteIcon}`]:t[`deleteIcon${(0,f.Z)(l)}Color${(0,f.Z)(r)}`]},t.root,t[`size${(0,f.Z)(s)}`],t[`color${(0,f.Z)(r)}`],i&&t.clickable,i&&"default"!==r&&t[`clickableColor${(0,f.Z)(r)})`],a&&t.deletable,a&&"default"!==r&&t[`deletableColor${(0,f.Z)(r)}`],t[l],t[`${l}${(0,f.Z)(r)}`]]}})((({theme:e,ownerState:t})=>{const n="light"===e.palette.mode?e.palette.grey[700]:e.palette.grey[300];return(0,o.Z)({maxWidth:"100%",fontFamily:e.typography.fontFamily,fontSize:e.typography.pxToRem(13),display:"inline-flex",alignItems:"center",justifyContent:"center",height:32,color:(e.vars||e).palette.text.primary,backgroundColor:(e.vars||e).palette.action.selected,borderRadius:16,whiteSpace:"nowrap",transition:e.transitions.create(["background-color","box-shadow"]),cursor:"unset",outline:0,textDecoration:"none",border:0,padding:0,verticalAlign:"middle",boxSizing:"border-box",[`&.${g.Z.disabled}`]:{opacity:(e.vars||e).palette.action.disabledOpacity,pointerEvents:"none"},[`& .${g.Z.avatar}`]:{marginLeft:5,marginRight:-6,width:24,height:24,color:e.vars?e.vars.palette.Chip.defaultAvatarColor:n,fontSize:e.typography.pxToRem(12)},[`& .${g.Z.avatarColorPrimary}`]:{color:(e.vars||e).palette.primary.contrastText,backgroundColor:(e.vars||e).palette.primary.dark},[`& .${g.Z.avatarColorSecondary}`]:{color:(e.vars||e).palette.secondary.contrastText,backgroundColor:(e.vars||e).palette.secondary.dark},[`& .${g.Z.avatarSmall}`]:{marginLeft:4,marginRight:-4,width:18,height:18,fontSize:e.typography.pxToRem(10)},[`& .${g.Z.icon}`]:(0,o.Z)({marginLeft:5,marginRight:-6},"small"===t.size&&{fontSize:18,marginLeft:4,marginRight:-4},t.iconColor===t.color&&(0,o.Z)({color:e.vars?e.vars.palette.Chip.defaultIconColor:n},"default"!==t.color&&{color:"inherit"})),[`& .${g.Z.deleteIcon}`]:(0,o.Z)({WebkitTapHighlightColor:"transparent",color:e.vars?`rgba(${e.vars.palette.text.primaryChannel} / 0.26)`:(0,l.Fq)(e.palette.text.primary,.26),fontSize:22,cursor:"pointer",margin:"0 5px 0 -6px","&:hover":{color:e.vars?`rgba(${e.vars.palette.text.primaryChannel} / 0.4)`:(0,l.Fq)(e.palette.text.primary,.4)}},"small"===t.size&&{fontSize:16,marginRight:4,marginLeft:-4},"default"!==t.color&&{color:e.vars?`rgba(${e.vars.palette[t.color].contrastTextChannel} / 0.7)`:(0,l.Fq)(e.palette[t.color].contrastText,.7),"&:hover, &:active":{color:(e.vars||e).palette[t.color].contrastText}})},"small"===t.size&&{height:24},"default"!==t.color&&{backgroundColor:(e.vars||e).palette[t.color].main,color:(e.vars||e).palette[t.color].contrastText},t.onDelete&&{[`&.${g.Z.focusVisible}`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.action.selectedChannel} / calc(${e.vars.palette.action.selectedOpacity} + ${e.vars.palette.action.focusOpacity}))`:(0,l.Fq)(e.palette.action.selected,e.palette.action.selectedOpacity+e.palette.action.focusOpacity)}},t.onDelete&&"default"!==t.color&&{[`&.${g.Z.focusVisible}`]:{backgroundColor:(e.vars||e).palette[t.color].dark}})}),(({theme:e,ownerState:t})=>(0,o.Z)({},t.clickable&&{userSelect:"none",WebkitTapHighlightColor:"transparent",cursor:"pointer","&:hover":{backgroundColor:e.vars?`rgba(${e.vars.palette.action.selectedChannel} / calc(${e.vars.palette.action.selectedOpacity} + ${e.vars.palette.action.hoverOpacity}))`:(0,l.Fq)(e.palette.action.selected,e.palette.action.selectedOpacity+e.palette.action.hoverOpacity)},[`&.${g.Z.focusVisible}`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.action.selectedChannel} / calc(${e.vars.palette.action.selectedOpacity} + ${e.vars.palette.action.focusOpacity}))`:(0,l.Fq)(e.palette.action.selected,e.palette.action.selectedOpacity+e.palette.action.focusOpacity)},"&:active":{boxShadow:(e.vars||e).shadows[1]}},t.clickable&&"default"!==t.color&&{[`&:hover, &.${g.Z.focusVisible}`]:{backgroundColor:(e.vars||e).palette[t.color].dark}})),(({theme:e,ownerState:t})=>(0,o.Z)({},"outlined"===t.variant&&{backgroundColor:"transparent",border:e.vars?`1px solid ${e.vars.palette.Chip.defaultBorder}`:`1px solid ${"light"===e.palette.mode?e.palette.grey[400]:e.palette.grey[700]}`,[`&.${g.Z.clickable}:hover`]:{backgroundColor:(e.vars||e).palette.action.hover},[`&.${g.Z.focusVisible}`]:{backgroundColor:(e.vars||e).palette.action.focus},[`& .${g.Z.avatar}`]:{marginLeft:4},[`& .${g.Z.avatarSmall}`]:{marginLeft:2},[`& .${g.Z.icon}`]:{marginLeft:4},[`& .${g.Z.iconSmall}`]:{marginLeft:2},[`& .${g.Z.deleteIcon}`]:{marginRight:5},[`& .${g.Z.deleteIconSmall}`]:{marginRight:3}},"outlined"===t.variant&&"default"!==t.color&&{color:(e.vars||e).palette[t.color].main,border:`1px solid ${e.vars?`rgba(${e.vars.palette[t.color].mainChannel} / 0.7)`:(0,l.Fq)(e.palette[t.color].main,.7)}`,[`&.${g.Z.clickable}:hover`]:{backgroundColor:e.vars?`rgba(${e.vars.palette[t.color].mainChannel} / ${e.vars.palette.action.hoverOpacity})`:(0,l.Fq)(e.palette[t.color].main,e.palette.action.hoverOpacity)},[`&.${g.Z.focusVisible}`]:{backgroundColor:e.vars?`rgba(${e.vars.palette[t.color].mainChannel} / ${e.vars.palette.action.focusOpacity})`:(0,l.Fq)(e.palette[t.color].main,e.palette.action.focusOpacity)},[`& .${g.Z.deleteIcon}`]:{color:e.vars?`rgba(${e.vars.palette[t.color].mainChannel} / 0.7)`:(0,l.Fq)(e.palette[t.color].main,.7),"&:hover, &:active":{color:(e.vars||e).palette[t.color].main}}}))),w=(0,v.ZP)("span",{name:"MuiChip",slot:"Label",overridesResolver:(e,t)=>{const{ownerState:n}=e,{size:r}=n;return[t.label,t[`label${(0,f.Z)(r)}`]]}})((({ownerState:e})=>(0,o.Z)({overflow:"hidden",textOverflow:"ellipsis",paddingLeft:12,paddingRight:12,whiteSpace:"nowrap"},"small"===e.size&&{paddingLeft:8,paddingRight:8})));function x(e){return"Backspace"===e.key||"Delete"===e.key}const k=i.forwardRef((function(e,t){const n=(0,m.Z)({props:e,name:"MuiChip"}),{avatar:l,className:c,clickable:v,color:k="default",component:S,deleteIcon:C,disabled:E=!1,icon:T,label:O,onClick:$,onDelete:M,onKeyDown:A,onKeyUp:D,size:L="medium",variant:N="filled",tabIndex:R,skipFocusWhenDisabled:I=!1}=n,P=(0,r.Z)(n,y),Z=i.useRef(null),_=(0,p.Z)(Z,t),F=e=>{e.stopPropagation(),M&&M(e)},j=!(!1===v||!$)||v,B=j||M?h.Z:S||"div",z=(0,o.Z)({},n,{component:B,disabled:E,size:L,color:k,iconColor:i.isValidElement(T)&&T.props.color||k,onDelete:!!M,clickable:j,variant:N}),H=(e=>{const{classes:t,disabled:n,size:r,color:o,iconColor:i,onDelete:a,clickable:l,variant:c}=e,u={root:["root",c,n&&"disabled",`size${(0,f.Z)(r)}`,`color${(0,f.Z)(o)}`,l&&"clickable",l&&`clickableColor${(0,f.Z)(o)}`,a&&"deletable",a&&`deletableColor${(0,f.Z)(o)}`,`${c}${(0,f.Z)(o)}`],label:["label",`label${(0,f.Z)(r)}`],avatar:["avatar",`avatar${(0,f.Z)(r)}`,`avatarColor${(0,f.Z)(o)}`],icon:["icon",`icon${(0,f.Z)(r)}`,`iconColor${(0,f.Z)(i)}`],deleteIcon:["deleteIcon",`deleteIcon${(0,f.Z)(r)}`,`deleteIconColor${(0,f.Z)(o)}`,`deleteIcon${(0,f.Z)(c)}Color${(0,f.Z)(o)}`]};return(0,s.Z)(u,g.z,t)})(z),U=B===h.Z?(0,o.Z)({component:S||"div",focusVisibleClassName:H.focusVisible},M&&{disableRipple:!0}):{};let W=null;M&&(W=C&&i.isValidElement(C)?i.cloneElement(C,{className:(0,a.Z)(C.props.className,H.deleteIcon),onClick:F}):(0,u.jsx)(d,{className:(0,a.Z)(H.deleteIcon),onClick:F}));let V=null;l&&i.isValidElement(l)&&(V=i.cloneElement(l,{className:(0,a.Z)(H.avatar,l.props.className)}));let q=null;return T&&i.isValidElement(T)&&(q=i.cloneElement(T,{className:(0,a.Z)(H.icon,T.props.className)})),(0,u.jsxs)(b,(0,o.Z)({as:B,className:(0,a.Z)(H.root,c),disabled:!(!j||!E)||void 0,onClick:$,onKeyDown:e=>{e.currentTarget===e.target&&x(e)&&e.preventDefault(),A&&A(e)},onKeyUp:e=>{e.currentTarget===e.target&&(M&&x(e)?M(e):"Escape"===e.key&&Z.current&&Z.current.blur()),D&&D(e)},ref:_,tabIndex:I&&E?-1:R,ownerState:z},U,P,{children:[V||q,(0,u.jsx)(w,{className:(0,a.Z)(H.label),ownerState:z,children:O}),W]}))}))},52072:(e,t,n)=>{"use strict";n.d(t,{Z:()=>a,z:()=>i});var r=n(1588),o=n(34867);function i(e){return(0,o.Z)("MuiChip",e)}const a=(0,r.Z)("MuiChip",["root","sizeSmall","sizeMedium","colorError","colorInfo","colorPrimary","colorSecondary","colorSuccess","colorWarning","disabled","clickable","clickableColorPrimary","clickableColorSecondary","deletable","deletableColorPrimary","deletableColorSecondary","outlined","filled","outlinedPrimary","outlinedSecondary","filledPrimary","filledSecondary","avatar","avatarSmall","avatarMedium","avatarColorPrimary","avatarColorSecondary","icon","iconSmall","iconMedium","iconColorPrimary","iconColorSecondary","label","labelSmall","labelMedium","deleteIcon","deleteIconSmall","deleteIconMedium","deleteIconColorPrimary","deleteIconColorSecondary","deleteIconOutlinedColorPrimary","deleteIconOutlinedColorSecondary","deleteIconFilledColorPrimary","deleteIconFilledColorSecondary","focusVisible"])},66489:(e,t,n)=>{"use strict";n.d(t,{Z:()=>T});var r=n(63366),o=n(87462),i=n(74570),a=n(90512),s=n(94780),l=n(70917),c=n(98216),u=n(71657),d=n(90948),p=n(22346),f=n(85893);const h=["className","color","disableShrink","size","style","thickness","value","variant"];let m,v,g,y,b=e=>e;const w=44,x=(0,l.F4)(m||(m=b`
0% {
transform: rotate(0deg);
}
100% {
transform: rotate(360deg);
}
`)),k=(0,l.F4)(v||(v=b`
0% {
stroke-dasharray: 1px, 200px;
stroke-dashoffset: 0;
}
50% {
stroke-dasharray: 100px, 200px;
stroke-dashoffset: -15px;
}
100% {
stroke-dasharray: 100px, 200px;
stroke-dashoffset: -125px;
}
`)),S=(0,d.ZP)("span",{name:"MuiCircularProgress",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,t[n.variant],t[`color${(0,c.Z)(n.color)}`]]}})((({ownerState:e,theme:t})=>(0,o.Z)({display:"inline-block"},"determinate"===e.variant&&{transition:t.transitions.create("transform")},"inherit"!==e.color&&{color:(t.vars||t).palette[e.color].main})),(({ownerState:e})=>"indeterminate"===e.variant&&(0,l.iv)(g||(g=b`
animation: ${0} 1.4s linear infinite;
`),x))),C=(0,d.ZP)("svg",{name:"MuiCircularProgress",slot:"Svg",overridesResolver:(e,t)=>t.svg})({display:"block"}),E=(0,d.ZP)("circle",{name:"MuiCircularProgress",slot:"Circle",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.circle,t[`circle${(0,c.Z)(n.variant)}`],n.disableShrink&&t.circleDisableShrink]}})((({ownerState:e,theme:t})=>(0,o.Z)({stroke:"currentColor"},"determinate"===e.variant&&{transition:t.transitions.create("stroke-dashoffset")},"indeterminate"===e.variant&&{strokeDasharray:"80px, 200px",strokeDashoffset:0})),(({ownerState:e})=>"indeterminate"===e.variant&&!e.disableShrink&&(0,l.iv)(y||(y=b`
animation: ${0} 1.4s ease-in-out infinite;
`),k))),T=i.forwardRef((function(e,t){const n=(0,u.Z)({props:e,name:"MuiCircularProgress"}),{className:i,color:l="primary",disableShrink:d=!1,size:m=40,style:v,thickness:g=3.6,value:y=0,variant:b="indeterminate"}=n,x=(0,r.Z)(n,h),k=(0,o.Z)({},n,{color:l,disableShrink:d,size:m,thickness:g,value:y,variant:b}),T=(e=>{const{classes:t,variant:n,color:r,disableShrink:o}=e,i={root:["root",n,`color${(0,c.Z)(r)}`],svg:["svg"],circle:["circle",`circle${(0,c.Z)(n)}`,o&&"circleDisableShrink"]};return(0,s.Z)(i,p.C,t)})(k),O={},$={},M={};if("determinate"===b){const e=2*Math.PI*((w-g)/2);O.strokeDasharray=e.toFixed(3),M["aria-valuenow"]=Math.round(y),O.strokeDashoffset=`${((100-y)/100*e).toFixed(3)}px`,$.transform="rotate(-90deg)"}return(0,f.jsx)(S,(0,o.Z)({className:(0,a.Z)(T.root,i),style:(0,o.Z)({width:m,height:m},$,v),ownerState:k,ref:t,role:"progressbar"},M,x,{children:(0,f.jsx)(C,{className:T.svg,ownerState:k,viewBox:"22 22 44 44",children:(0,f.jsx)(E,{className:T.circle,style:O,ownerState:k,cx:w,cy:w,r:(w-g)/2,fill:"none",strokeWidth:g})})}))}))},22346:(e,t,n)=>{"use strict";n.d(t,{C:()=>i,Z:()=>a});var r=n(1588),o=n(34867);function i(e){return(0,o.Z)("MuiCircularProgress",e)}const a=(0,r.Z)("MuiCircularProgress",["root","determinate","indeterminate","colorPrimary","colorSecondary","svg","circle","circleDeterminate","circleIndeterminate","circleDisableShrink"])},64666:(e,t,n)=>{"use strict";n.d(t,{Z:()=>E});var r=n(63366),o=n(87462),i=n(74570),a=n(90512),s=n(94780),l=n(92996),c=n(98216),u=n(25827),d=n(16628),p=n(21987),f=n(71657),h=n(90948),m=n(77620),v=n(34182),g=n(45889),y=n(2734),b=n(85893);const w=["aria-describedby","aria-labelledby","BackdropComponent","BackdropProps","children","className","disableEscapeKeyDown","fullScreen","fullWidth","maxWidth","onBackdropClick","onClose","open","PaperComponent","PaperProps","scroll","TransitionComponent","transitionDuration","TransitionProps"],x=(0,h.ZP)(g.Z,{name:"MuiDialog",slot:"Backdrop",overrides:(e,t)=>t.backdrop})({zIndex:-1}),k=(0,h.ZP)(u.Z,{name:"MuiDialog",slot:"Root",overridesResolver:(e,t)=>t.root})({"@media print":{position:"absolute !important"}}),S=(0,h.ZP)("div",{name:"MuiDialog",slot:"Container",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.container,t[`scroll${(0,c.Z)(n.scroll)}`]]}})((({ownerState:e})=>(0,o.Z)({height:"100%","@media print":{height:"auto"},outline:0},"paper"===e.scroll&&{display:"flex",justifyContent:"center",alignItems:"center"},"body"===e.scroll&&{overflowY:"auto",overflowX:"hidden",textAlign:"center","&:after":{content:'""',display:"inline-block",verticalAlign:"middle",height:"100%",width:"0"}}))),C=(0,h.ZP)(p.Z,{name:"MuiDialog",slot:"Paper",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.paper,t[`scrollPaper${(0,c.Z)(n.scroll)}`],t[`paperWidth${(0,c.Z)(String(n.maxWidth))}`],n.fullWidth&&t.paperFullWidth,n.fullScreen&&t.paperFullScreen]}})((({theme:e,ownerState:t})=>(0,o.Z)({margin:32,position:"relative",overflowY:"auto","@media print":{overflowY:"visible",boxShadow:"none"}},"paper"===t.scroll&&{display:"flex",flexDirection:"column",maxHeight:"calc(100% - 64px)"},"body"===t.scroll&&{display:"inline-block",verticalAlign:"middle",textAlign:"left"},!t.maxWidth&&{maxWidth:"calc(100% - 64px)"},"xs"===t.maxWidth&&{maxWidth:"px"===e.breakpoints.unit?Math.max(e.breakpoints.values.xs,444):`max(${e.breakpoints.values.xs}${e.breakpoints.unit}, 444px)`,[`&.${m.Z.paperScrollBody}`]:{[e.breakpoints.down(Math.max(e.breakpoints.values.xs,444)+64)]:{maxWidth:"calc(100% - 64px)"}}},t.maxWidth&&"xs"!==t.maxWidth&&{maxWidth:`${e.breakpoints.values[t.maxWidth]}${e.breakpoints.unit}`,[`&.${m.Z.paperScrollBody}`]:{[e.breakpoints.down(e.breakpoints.values[t.maxWidth]+64)]:{maxWidth:"calc(100% - 64px)"}}},t.fullWidth&&{width:"calc(100% - 64px)"},t.fullScreen&&{margin:0,width:"100%",maxWidth:"100%",height:"100%",maxHeight:"none",borderRadius:0,[`&.${m.Z.paperScrollBody}`]:{margin:0,maxWidth:"100%"}}))),E=i.forwardRef((function(e,t){const n=(0,f.Z)({props:e,name:"MuiDialog"}),u=(0,y.Z)(),h={enter:u.transitions.duration.enteringScreen,exit:u.transitions.duration.leavingScreen},{"aria-describedby":g,"aria-labelledby":E,BackdropComponent:T,BackdropProps:O,children:$,className:M,disableEscapeKeyDown:A=!1,fullScreen:D=!1,fullWidth:L=!1,maxWidth:N="sm",onBackdropClick:R,onClose:I,open:P,PaperComponent:Z=p.Z,PaperProps:_={},scroll:F="paper",TransitionComponent:j=d.Z,transitionDuration:B=h,TransitionProps:z}=n,H=(0,r.Z)(n,w),U=(0,o.Z)({},n,{disableEscapeKeyDown:A,fullScreen:D,fullWidth:L,maxWidth:N,scroll:F}),W=(e=>{const{classes:t,scroll:n,maxWidth:r,fullWidth:o,fullScreen:i}=e,a={root:["root"],container:["container",`scroll${(0,c.Z)(n)}`],paper:["paper",`paperScroll${(0,c.Z)(n)}`,`paperWidth${(0,c.Z)(String(r))}`,o&&"paperFullWidth",i&&"paperFullScreen"]};return(0,s.Z)(a,m.D,t)})(U),V=i.useRef(),q=(0,l.Z)(E),G=i.useMemo((()=>({titleId:q})),[q]);return(0,b.jsx)(k,(0,o.Z)({className:(0,a.Z)(W.root,M),closeAfterTransition:!0,components:{Backdrop:x},componentsProps:{backdrop:(0,o.Z)({transitionDuration:B,as:T},O)},disableEscapeKeyDown:A,onClose:I,open:P,ref:t,onClick:e=>{V.current&&(V.current=null,R&&R(e),I&&I(e,"backdropClick"))},ownerState:U},H,{children:(0,b.jsx)(j,(0,o.Z)({appear:!0,in:P,timeout:B,role:"presentation"},z,{children:(0,b.jsx)(S,{className:(0,a.Z)(W.container),onMouseDown:e=>{V.current=e.target===e.currentTarget},ownerState:U,children:(0,b.jsx)(C,(0,o.Z)({as:Z,elevation:24,role:"dialog","aria-describedby":g,"aria-labelledby":q},_,{className:(0,a.Z)(W.paper,_.className),ownerState:U,children:(0,b.jsx)(v.Z.Provider,{value:G,children:$})}))})}))}))}))},34182:(e,t,n)=>{"use strict";n.d(t,{Z:()=>o});var r=n(74570);const o=r.createContext({})},77620:(e,t,n)=>{"use strict";n.d(t,{D:()=>i,Z:()=>a});var r=n(1588),o=n(34867);function i(e){return(0,o.Z)("MuiDialog",e)}const a=(0,r.Z)("MuiDialog",["root","scrollPaper","scrollBody","container","paper","paperScrollPaper","paperScrollBody","paperWidthFalse","paperWidthXs","paperWidthSm","paperWidthMd","paperWidthLg","paperWidthXl","paperFullWidth","paperFullScreen"])},91894:(e,t,n)=>{"use strict";n.d(t,{Z:()=>h});var r=n(63366),o=n(87462),i=n(74570),a=n(90512),s=n(94780),l=n(90948),c=n(71657),u=n(19341),d=n(85893);const p=["className","disableSpacing"],f=(0,l.ZP)("div",{name:"MuiDialogActions",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,!n.disableSpacing&&t.spacing]}})((({ownerState:e})=>(0,o.Z)({display:"flex",alignItems:"center",padding:8,justifyContent:"flex-end",flex:"0 0 auto"},!e.disableSpacing&&{"& > :not(:first-of-type)":{marginLeft:8}}))),h=i.forwardRef((function(e,t){const n=(0,c.Z)({props:e,name:"MuiDialogActions"}),{className:i,disableSpacing:l=!1}=n,h=(0,r.Z)(n,p),m=(0,o.Z)({},n,{disableSpacing:l}),v=(e=>{const{classes:t,disableSpacing:n}=e,r={root:["root",!n&&"spacing"]};return(0,s.Z)(r,u.d,t)})(m);return(0,d.jsx)(f,(0,o.Z)({className:(0,a.Z)(v.root,i),ownerState:m,ref:t},h))}))},19341:(e,t,n)=>{"use strict";n.d(t,{Z:()=>a,d:()=>i});var r=n(1588),o=n(34867);function i(e){return(0,o.Z)("MuiDialogActions",e)}const a=(0,r.Z)("MuiDialogActions",["root","spacing"])},35713:(e,t,n)=>{"use strict";n.d(t,{Z:()=>m});var r=n(63366),o=n(87462),i=n(74570),a=n(90512),s=n(94780),l=n(90948),c=n(71657),u=n(96618),d=n(4472),p=n(85893);const f=["className","dividers"],h=(0,l.ZP)("div",{name:"MuiDialogContent",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.dividers&&t.dividers]}})((({theme:e,ownerState:t})=>(0,o.Z)({flex:"1 1 auto",WebkitOverflowScrolling:"touch",overflowY:"auto",padding:"20px 24px"},t.dividers?{padding:"16px 24px",borderTop:`1px solid ${(e.vars||e).palette.divider}`,borderBottom:`1px solid ${(e.vars||e).palette.divider}`}:{[`.${d.Z.root} + &`]:{paddingTop:0}}))),m=i.forwardRef((function(e,t){const n=(0,c.Z)({props:e,name:"MuiDialogContent"}),{className:i,dividers:l=!1}=n,d=(0,r.Z)(n,f),m=(0,o.Z)({},n,{dividers:l}),v=(e=>{const{classes:t,dividers:n}=e,r={root:["root",n&&"dividers"]};return(0,s.Z)(r,u.G,t)})(m);return(0,p.jsx)(h,(0,o.Z)({className:(0,a.Z)(v.root,i),ownerState:m,ref:t},d))}))},96618:(e,t,n)=>{"use strict";n.d(t,{G:()=>i,Z:()=>a});var r=n(1588),o=n(34867);function i(e){return(0,o.Z)("MuiDialogContent",e)}const a=(0,r.Z)("MuiDialogContent",["root","dividers"])},37645:(e,t,n)=>{"use strict";n.d(t,{Z:()=>v});var r=n(87462),o=n(63366),i=n(74570),a=n(90512),s=n(94780),l=n(23972),c=n(90948),u=n(71657),d=n(4472),p=n(34182),f=n(85893);const h=["className","id"],m=(0,c.ZP)(l.Z,{name:"MuiDialogTitle",slot:"Root",overridesResolver:(e,t)=>t.root})({padding:"16px 24px",flex:"0 0 auto"}),v=i.forwardRef((function(e,t){const n=(0,u.Z)({props:e,name:"MuiDialogTitle"}),{className:l,id:c}=n,v=(0,o.Z)(n,h),g=n,y=(e=>{const{classes:t}=e;return(0,s.Z)({root:["root"]},d.a,t)})(g),{titleId:b=c}=i.useContext(p.Z);return(0,f.jsx)(m,(0,r.Z)({component:"h2",className:(0,a.Z)(y.root,l),ownerState:g,ref:t,variant:"h6",id:null!=c?c:b},v))}))},4472:(e,t,n)=>{"use strict";n.d(t,{Z:()=>a,a:()=>i});var r=n(1588),o=n(34867);function i(e){return(0,o.Z)("MuiDialogTitle",e)}const a=(0,r.Z)("MuiDialogTitle",["root"])},35097:(e,t,n)=>{"use strict";n.d(t,{V:()=>i,Z:()=>a});var r=n(1588),o=n(34867);function i(e){return(0,o.Z)("MuiDivider",e)}const a=(0,r.Z)("MuiDivider",["root","absolute","fullWidth","inset","middle","flexItem","light","vertical","withChildren","withChildrenVertical","textAlignRight","textAlignLeft","wrapper","wrapperVertical"])},19058:(e,t,n)=>{"use strict";n.d(t,{ZP:()=>T,ni:()=>E,wE:()=>C});var r=n(63366),o=n(87462),i=n(74570),a=n(90512),s=n(94780),l=n(25827),c=n(54776),u=n(21987),d=n(98216),p=n(2734),f=n(71657),h=n(90948),m=n(66697),v=n(85893);const g=["BackdropProps"],y=["anchor","BackdropProps","children","className","elevation","hideBackdrop","ModalProps","onClose","open","PaperProps","SlideProps","TransitionComponent","transitionDuration","variant"],b=(e,t)=>{const{ownerState:n}=e;return[t.root,("permanent"===n.variant||"persistent"===n.variant)&&t.docked,t.modal]},w=(0,h.ZP)(l.Z,{name:"MuiDrawer",slot:"Root",overridesResolver:b})((({theme:e})=>({zIndex:(e.vars||e).zIndex.drawer}))),x=(0,h.ZP)("div",{shouldForwardProp:h.FO,name:"MuiDrawer",slot:"Docked",skipVariantsResolver:!1,overridesResolver:b})({flex:"0 0 auto"}),k=(0,h.ZP)(u.Z,{name:"MuiDrawer",slot:"Paper",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.paper,t[`paperAnchor${(0,d.Z)(n.anchor)}`],"temporary"!==n.variant&&t[`paperAnchorDocked${(0,d.Z)(n.anchor)}`]]}})((({theme:e,ownerState:t})=>(0,o.Z)({overflowY:"auto",display:"flex",flexDirection:"column",height:"100%",flex:"1 0 auto",zIndex:(e.vars||e).zIndex.drawer,WebkitOverflowScrolling:"touch",position:"fixed",top:0,outline:0},"left"===t.anchor&&{left:0},"top"===t.anchor&&{top:0,left:0,right:0,height:"auto",maxHeight:"100%"},"right"===t.anchor&&{right:0},"bottom"===t.anchor&&{top:"auto",left:0,bottom:0,right:0,height:"auto",maxHeight:"100%"},"left"===t.anchor&&"temporary"!==t.variant&&{borderRight:`1px solid ${(e.vars||e).palette.divider}`},"top"===t.anchor&&"temporary"!==t.variant&&{borderBottom:`1px solid ${(e.vars||e).palette.divider}`},"right"===t.anchor&&"temporary"!==t.variant&&{borderLeft:`1px solid ${(e.vars||e).palette.divider}`},"bottom"===t.anchor&&"temporary"!==t.variant&&{borderTop:`1px solid ${(e.vars||e).palette.divider}`}))),S={left:"right",right:"left",top:"down",bottom:"up"};function C(e){return-1!==["left","right"].indexOf(e)}function E(e,t){return"rtl"===e.direction&&C(t)?S[t]:t}const T=i.forwardRef((function(e,t){const n=(0,f.Z)({props:e,name:"MuiDrawer"}),l=(0,p.Z)(),u={enter:l.transitions.duration.enteringScreen,exit:l.transitions.duration.leavingScreen},{anchor:h="left",BackdropProps:b,children:C,className:T,elevation:O=16,hideBackdrop:$=!1,ModalProps:{BackdropProps:M}={},onClose:A,open:D=!1,PaperProps:L={},SlideProps:N,TransitionComponent:R=c.Z,transitionDuration:I=u,variant:P="temporary"}=n,Z=(0,r.Z)(n.ModalProps,g),_=(0,r.Z)(n,y),F=i.useRef(!1);i.useEffect((()=>{F.current=!0}),[]);const j=E(l,h),B=h,z=(0,o.Z)({},n,{anchor:B,elevation:O,open:D,variant:P},_),H=(e=>{const{classes:t,anchor:n,variant:r}=e,o={root:["root"],docked:[("permanent"===r||"persistent"===r)&&"docked"],modal:["modal"],paper:["paper",`paperAnchor${(0,d.Z)(n)}`,"temporary"!==r&&`paperAnchorDocked${(0,d.Z)(n)}`]};return(0,s.Z)(o,m.l,t)})(z),U=(0,v.jsx)(k,(0,o.Z)({elevation:"temporary"===P?O:0,square:!0},L,{className:(0,a.Z)(H.paper,L.className),ownerState:z,children:C}));if("permanent"===P)return(0,v.jsx)(x,(0,o.Z)({className:(0,a.Z)(H.root,H.docked,T),ownerState:z,ref:t},_,{children:U}));const W=(0,v.jsx)(R,(0,o.Z)({in:D,direction:S[j],timeout:I,appear:F.current},N,{children:U}));return"persistent"===P?(0,v.jsx)(x,(0,o.Z)({className:(0,a.Z)(H.root,H.docked,T),ownerState:z,ref:t},_,{children:W})):(0,v.jsx)(w,(0,o.Z)({BackdropProps:(0,o.Z)({},b,M,{transitionDuration:I}),className:(0,a.Z)(H.root,H.modal,T),open:D,ownerState:z,onClose:A,hideBackdrop:$,ref:t},_,Z,{children:W}))}))},66697:(e,t,n)=>{"use strict";n.d(t,{Z:()=>a,l:()=>i});var r=n(1588),o=n(34867);function i(e){return(0,o.Z)("MuiDrawer",e)}const a=(0,r.Z)("MuiDrawer",["root","docked","paper","paperAnchorLeft","paperAnchorRight","paperAnchorTop","paperAnchorBottom","paperAnchorDockedLeft","paperAnchorDockedRight","paperAnchorDockedTop","paperAnchorDockedBottom","modal"])},16628:(e,t,n)=>{"use strict";n.d(t,{Z:()=>f});var r=n(87462),o=n(63366),i=n(74570),a=n(96630),s=n(2734),l=n(30577),c=n(51705),u=n(85893);const d=["addEndListener","appear","children","easing","in","onEnter","onEntered","onEntering","onExit","onExited","onExiting","style","timeout","TransitionComponent"],p={entering:{opacity:1},entered:{opacity:1}},f=i.forwardRef((function(e,t){const n=(0,s.Z)(),f={enter:n.transitions.duration.enteringScreen,exit:n.transitions.duration.leavingScreen},{addEndListener:h,appear:m=!0,children:v,easing:g,in:y,onEnter:b,onEntered:w,onEntering:x,onExit:k,onExited:S,onExiting:C,style:E,timeout:T=f,TransitionComponent:O=a.ZP}=e,$=(0,o.Z)(e,d),M=i.useRef(null),A=(0,c.Z)(M,v.ref,t),D=e=>t=>{if(e){const n=M.current;void 0===t?e(n):e(n,t)}},L=D(x),N=D(((e,t)=>{(0,l.n)(e);const r=(0,l.C)({style:E,timeout:T,easing:g},{mode:"enter"});e.style.webkitTransition=n.transitions.create("opacity",r),e.style.transition=n.transitions.create("opacity",r),b&&b(e,t)})),R=D(w),I=D(C),P=D((e=>{const t=(0,l.C)({style:E,timeout:T,easing:g},{mode:"exit"});e.style.webkitTransition=n.transitions.create("opacity",t),e.style.transition=n.transitions.create("opacity",t),k&&k(e)})),Z=D(S);return(0,u.jsx)(O,(0,r.Z)({appear:m,in:y,nodeRef:M,onEnter:N,onEntered:R,onEntering:L,onExit:P,onExited:Z,onExiting:I,addEndListener:e=>{h&&h(M.current,e)},timeout:T},$,{children:(e,t)=>i.cloneElement(v,(0,r.Z)({style:(0,r.Z)({opacity:0,visibility:"exited"!==e||y?void 0:"hidden"},p[e],E,v.props.style),ref:A},t))}))}))},6135:(e,t,n)=>{"use strict";n.d(t,{Z:()=>g});var r=n(63366),o=n(87462),i=n(74570),a=n(59766),s=n(94780),l=n(78543),c=n(90948),u=n(71657),d=n(24707),p=n(85893);const f=["disableUnderline","components","componentsProps","fullWidth","hiddenLabel","inputComponent","multiline","slotProps","slots","type"],h=(0,c.ZP)(l.Ej,{shouldForwardProp:e=>(0,c.FO)(e)||"classes"===e,name:"MuiFilledInput",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[...(0,l.Gx)(e,t),!n.disableUnderline&&t.underline]}})((({theme:e,ownerState:t})=>{var n;const r="light"===e.palette.mode,i=r?"rgba(0, 0, 0, 0.42)":"rgba(255, 255, 255, 0.7)",a=r?"rgba(0, 0, 0, 0.06)":"rgba(255, 255, 255, 0.09)",s=r?"rgba(0, 0, 0, 0.09)":"rgba(255, 255, 255, 0.13)",l=r?"rgba(0, 0, 0, 0.12)":"rgba(255, 255, 255, 0.12)";return(0,o.Z)({position:"relative",backgroundColor:e.vars?e.vars.palette.FilledInput.bg:a,borderTopLeftRadius:(e.vars||e).shape.borderRadius,borderTopRightRadius:(e.vars||e).shape.borderRadius,transition:e.transitions.create("background-color",{duration:e.transitions.duration.shorter,easing:e.transitions.easing.easeOut}),"&:hover":{backgroundColor:e.vars?e.vars.palette.FilledInput.hoverBg:s,"@media (hover: none)":{backgroundColor:e.vars?e.vars.palette.FilledInput.bg:a}},[`&.${d.Z.focused}`]:{backgroundColor:e.vars?e.vars.palette.FilledInput.bg:a},[`&.${d.Z.disabled}`]:{backgroundColor:e.vars?e.vars.palette.FilledInput.disabledBg:l}},!t.disableUnderline&&{"&:after":{borderBottom:`2px solid ${null==(n=(e.vars||e).palette[t.color||"primary"])?void 0:n.main}`,left:0,bottom:0,content:'""',position:"absolute",right:0,transform:"scaleX(0)",transition:e.transitions.create("transform",{duration:e.transitions.duration.shorter,easing:e.transitions.easing.easeOut}),pointerEvents:"none"},[`&.${d.Z.focused}:after`]:{transform:"scaleX(1) translateX(0)"},[`&.${d.Z.error}`]:{"&:before, &:after":{borderBottomColor:(e.vars||e).palette.error.main}},"&:before":{borderBottom:`1px solid ${e.vars?`rgba(${e.vars.palette.common.onBackgroundChannel} / ${e.vars.opacity.inputUnderline})`:i}`,left:0,bottom:0,content:'"\\00a0"',position:"absolute",right:0,transition:e.transitions.create("border-bottom-color",{duration:e.transitions.duration.shorter}),pointerEvents:"none"},[`&:hover:not(.${d.Z.disabled}, .${d.Z.error}):before`]:{borderBottom:`1px solid ${(e.vars||e).palette.text.primary}`},[`&.${d.Z.disabled}:before`]:{borderBottomStyle:"dotted"}},t.startAdornment&&{paddingLeft:12},t.endAdornment&&{paddingRight:12},t.multiline&&(0,o.Z)({padding:"25px 12px 8px"},"small"===t.size&&{paddingTop:21,paddingBottom:4},t.hiddenLabel&&{paddingTop:16,paddingBottom:17}))})),m=(0,c.ZP)(l.rA,{name:"MuiFilledInput",slot:"Input",overridesResolver:l._o})((({theme:e,ownerState:t})=>(0,o.Z)({paddingTop:25,paddingRight:12,paddingBottom:8,paddingLeft:12},!e.vars&&{"&:-webkit-autofill":{WebkitBoxShadow:"light"===e.palette.mode?null:"0 0 0 100px #266798 inset",WebkitTextFillColor:"light"===e.palette.mode?null:"#fff",caretColor:"light"===e.palette.mode?null:"#fff",borderTopLeftRadius:"inherit",borderTopRightRadius:"inherit"}},e.vars&&{"&:-webkit-autofill":{borderTopLeftRadius:"inherit",borderTopRightRadius:"inherit"},[e.getColorSchemeSelector("dark")]:{"&:-webkit-autofill":{WebkitBoxShadow:"0 0 0 100px #266798 inset",WebkitTextFillColor:"#fff",caretColor:"#fff"}}},"small"===t.size&&{paddingTop:21,paddingBottom:4},t.hiddenLabel&&{paddingTop:16,paddingBottom:17},t.multiline&&{paddingTop:0,paddingBottom:0,paddingLeft:0,paddingRight:0},t.startAdornment&&{paddingLeft:0},t.endAdornment&&{paddingRight:0},t.hiddenLabel&&"small"===t.size&&{paddingTop:8,paddingBottom:9}))),v=i.forwardRef((function(e,t){var n,i,c,v;const g=(0,u.Z)({props:e,name:"MuiFilledInput"}),{components:y={},componentsProps:b,fullWidth:w=!1,inputComponent:x="input",multiline:k=!1,slotProps:S,slots:C={},type:E="text"}=g,T=(0,r.Z)(g,f),O=(0,o.Z)({},g,{fullWidth:w,inputComponent:x,multiline:k,type:E}),$=(e=>{const{classes:t,disableUnderline:n}=e,r={root:["root",!n&&"underline"],input:["input"]},i=(0,s.Z)(r,d._,t);return(0,o.Z)({},t,i)})(g),M={root:{ownerState:O},input:{ownerState:O}},A=(null!=S?S:b)?(0,a.Z)(null!=S?S:b,M):M,D=null!=(n=null!=(i=C.root)?i:y.Root)?n:h,L=null!=(c=null!=(v=C.input)?v:y.Input)?c:m;return(0,p.jsx)(l.ZP,(0,o.Z)({slots:{root:D,input:L},componentsProps:A,fullWidth:w,inputComponent:x,multiline:k,ref:t,type:E},T,{classes:$}))}));v.muiName="Input";const g=v},24707:(e,t,n)=>{"use strict";n.d(t,{Z:()=>l,_:()=>s});var r=n(87462),o=n(1588),i=n(34867),a=n(55827);function s(e){return(0,i.Z)("MuiFilledInput",e)}const l=(0,r.Z)({},a.Z,(0,o.Z)("MuiFilledInput",["root","underline","input"]))},53640:(e,t,n)=>{"use strict";n.d(t,{Z:()=>y});var r=n(63366),o=n(87462),i=n(74570),a=n(90512),s=n(94780),l=n(71657),c=n(90948),u=n(5108),d=n(98216),p=n(96798),f=n(47167),h=n(47120),m=n(85893);const v=["children","className","color","component","disabled","error","focused","fullWidth","hiddenLabel","margin","required","size","variant"],g=(0,c.ZP)("div",{name:"MuiFormControl",slot:"Root",overridesResolver:({ownerState:e},t)=>(0,o.Z)({},t.root,t[`margin${(0,d.Z)(e.margin)}`],e.fullWidth&&t.fullWidth)})((({ownerState:e})=>(0,o.Z)({display:"inline-flex",flexDirection:"column",position:"relative",minWidth:0,padding:0,margin:0,border:0,verticalAlign:"top"},"normal"===e.margin&&{marginTop:16,marginBottom:8},"dense"===e.margin&&{marginTop:8,marginBottom:4},e.fullWidth&&{width:"100%"}))),y=i.forwardRef((function(e,t){const n=(0,l.Z)({props:e,name:"MuiFormControl"}),{children:c,className:y,color:b="primary",component:w="div",disabled:x=!1,error:k=!1,focused:S,fullWidth:C=!1,hiddenLabel:E=!1,margin:T="none",required:O=!1,size:$="medium",variant:M="outlined"}=n,A=(0,r.Z)(n,v),D=(0,o.Z)({},n,{color:b,component:w,disabled:x,error:k,fullWidth:C,hiddenLabel:E,margin:T,required:O,size:$,variant:M}),L=(e=>{const{classes:t,margin:n,fullWidth:r}=e,o={root:["root","none"!==n&&`margin${(0,d.Z)(n)}`,r&&"fullWidth"]};return(0,s.Z)(o,h.e,t)})(D),[N,R]=i.useState((()=>{let e=!1;return c&&i.Children.forEach(c,(t=>{if(!(0,p.Z)(t,["Input","Select"]))return;const n=(0,p.Z)(t,["Select"])?t.props.input:t;n&&(0,u.B7)(n.props)&&(e=!0)})),e})),[I,P]=i.useState((()=>{let e=!1;return c&&i.Children.forEach(c,(t=>{(0,p.Z)(t,["Input","Select"])&&((0,u.vd)(t.props,!0)||(0,u.vd)(t.props.inputProps,!0))&&(e=!0)})),e})),[Z,_]=i.useState(!1);x&&Z&&_(!1);const F=void 0===S||x?Z:S;let j;const B=i.useMemo((()=>({adornedStart:N,setAdornedStart:R,color:b,disabled:x,error:k,filled:I,focused:F,fullWidth:C,hiddenLabel:E,size:$,onBlur:()=>{_(!1)},onEmpty:()=>{P(!1)},onFilled:()=>{P(!0)},onFocus:()=>{_(!0)},registerEffect:j,required:O,variant:M})),[N,b,x,k,I,F,C,E,j,O,$,M]);return(0,m.jsx)(f.Z.Provider,{value:B,children:(0,m.jsx)(g,(0,o.Z)({as:w,ownerState:D,className:(0,a.Z)(L.root,y),ref:t},A,{children:c}))})}))},47167:(e,t,n)=>{"use strict";n.d(t,{Z:()=>o});var r=n(74570);const o=r.createContext(void 0)},47120:(e,t,n)=>{"use strict";n.d(t,{Z:()=>a,e:()=>i});var r=n(1588),o=n(34867);function i(e){return(0,o.Z)("MuiFormControl",e)}const a=(0,r.Z)("MuiFormControl",["root","marginNone","marginNormal","marginDense","fullWidth","disabled"])},15704:(e,t,n)=>{"use strict";function r({props:e,states:t,muiFormControl:n}){return t.reduce(((t,r)=>(t[r]=e[r],n&&void 0===e[r]&&(t[r]=n[r]),t)),{})}n.d(t,{Z:()=>r})},74423:(e,t,n)=>{"use strict";n.d(t,{Z:()=>i});var r=n(74570),o=n(47167);function i(){return r.useContext(o.Z)}},74509:(e,t,n)=>{"use strict";n.d(t,{Z:()=>y});var r,o=n(63366),i=n(87462),a=n(74570),s=n(90512),l=n(94780),c=n(15704),u=n(74423),d=n(90948),p=n(98216),f=n(90052),h=n(71657),m=n(85893);const v=["children","className","component","disabled","error","filled","focused","margin","required","variant"],g=(0,d.ZP)("p",{name:"MuiFormHelperText",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.size&&t[`size${(0,p.Z)(n.size)}`],n.contained&&t.contained,n.filled&&t.filled]}})((({theme:e,ownerState:t})=>(0,i.Z)({color:(e.vars||e).palette.text.secondary},e.typography.caption,{textAlign:"left",marginTop:3,marginRight:0,marginBottom:0,marginLeft:0,[`&.${f.Z.disabled}`]:{color:(e.vars||e).palette.text.disabled},[`&.${f.Z.error}`]:{color:(e.vars||e).palette.error.main}},"small"===t.size&&{marginTop:4},t.contained&&{marginLeft:14,marginRight:14}))),y=a.forwardRef((function(e,t){const n=(0,h.Z)({props:e,name:"MuiFormHelperText"}),{children:a,className:d,component:y="p"}=n,b=(0,o.Z)(n,v),w=(0,u.Z)(),x=(0,c.Z)({props:n,muiFormControl:w,states:["variant","size","disabled","error","filled","focused","required"]}),k=(0,i.Z)({},n,{component:y,contained:"filled"===x.variant||"outlined"===x.variant,variant:x.variant,size:x.size,disabled:x.disabled,error:x.error,filled:x.filled,focused:x.focused,required:x.required}),S=(e=>{const{classes:t,contained:n,size:r,disabled:o,error:i,filled:a,focused:s,required:c}=e,u={root:["root",o&&"disabled",i&&"error",r&&`size${(0,p.Z)(r)}`,n&&"contained",s&&"focused",a&&"filled",c&&"required"]};return(0,l.Z)(u,f.E,t)})(k);return(0,m.jsx)(g,(0,i.Z)({as:y,ownerState:k,className:(0,s.Z)(S.root,d),ref:t},b,{children:" "===a?r||(r=(0,m.jsx)("span",{className:"notranslate",children:""})):a}))}))},90052:(e,t,n)=>{"use strict";n.d(t,{E:()=>i,Z:()=>a});var r=n(1588),o=n(34867);function i(e){return(0,o.Z)("MuiFormHelperText",e)}const a=(0,r.Z)("MuiFormHelperText",["root","error","disabled","sizeSmall","sizeMedium","contained","focused","filled","required"])},40476:(e,t,n)=>{"use strict";n.d(t,{D:()=>v,Z:()=>y});var r=n(63366),o=n(87462),i=n(74570),a=n(90512),s=n(94780),l=n(15704),c=n(74423),u=n(98216),d=n(71657),p=n(90948),f=n(64748),h=n(85893);const m=["children","className","color","component","disabled","error","filled","focused","required"],v=(0,p.ZP)("label",{name:"MuiFormLabel",slot:"Root",overridesResolver:({ownerState:e},t)=>(0,o.Z)({},t.root,"secondary"===e.color&&t.colorSecondary,e.filled&&t.filled)})((({theme:e,ownerState:t})=>(0,o.Z)({color:(e.vars||e).palette.text.secondary},e.typography.body1,{lineHeight:"1.4375em",padding:0,position:"relative",[`&.${f.Z.focused}`]:{color:(e.vars||e).palette[t.color].main},[`&.${f.Z.disabled}`]:{color:(e.vars||e).palette.text.disabled},[`&.${f.Z.error}`]:{color:(e.vars||e).palette.error.main}}))),g=(0,p.ZP)("span",{name:"MuiFormLabel",slot:"Asterisk",overridesResolver:(e,t)=>t.asterisk})((({theme:e})=>({[`&.${f.Z.error}`]:{color:(e.vars||e).palette.error.main}}))),y=i.forwardRef((function(e,t){const n=(0,d.Z)({props:e,name:"MuiFormLabel"}),{children:i,className:p,component:y="label"}=n,b=(0,r.Z)(n,m),w=(0,c.Z)(),x=(0,l.Z)({props:n,muiFormControl:w,states:["color","required","focused","disabled","error","filled"]}),k=(0,o.Z)({},n,{color:x.color||"primary",component:y,disabled:x.disabled,error:x.error,filled:x.filled,focused:x.focused,required:x.required}),S=(e=>{const{classes:t,color:n,focused:r,disabled:o,error:i,filled:a,required:l}=e,c={root:["root",`color${(0,u.Z)(n)}`,o&&"disabled",i&&"error",a&&"filled",r&&"focused",l&&"required"],asterisk:["asterisk",i&&"error"]};return(0,s.Z)(c,f.M,t)})(k);return(0,h.jsxs)(v,(0,o.Z)({as:y,ownerState:k,className:(0,a.Z)(S.root,p),ref:t},b,{children:[i,x.required&&(0,h.jsxs)(g,{ownerState:k,"aria-hidden":!0,className:S.asterisk,children:[" ","*"]})]}))}))},64748:(e,t,n)=>{"use strict";n.d(t,{M:()=>i,Z:()=>a});var r=n(1588),o=n(34867);function i(e){return(0,o.Z)("MuiFormLabel",e)}const a=(0,r.Z)("MuiFormLabel",["root","colorSecondary","focused","disabled","error","filled","required","asterisk"])},66294:(e,t,n)=>{"use strict";n.d(t,{Z:()=>l});var r=n(87462),o=(n(74570),n(25723)),i=n(90247),a=n(10606),s=n(85893);const l=function(e){return(0,s.jsx)(o.Z,(0,r.Z)({},e,{defaultTheme:i.Z,themeId:a.Z}))}},74518:(e,t,n)=>{"use strict";n.d(t,{ZP:()=>x});var r=n(63366),o=n(87462),i=n(74570),a=n(90512),s=n(95408),l=n(39707),c=n(94780),u=n(90948),d=n(71657),p=n(2734),f=n(14953),h=n(8673),m=n(85893);const v=["className","columns","columnSpacing","component","container","direction","item","rowSpacing","spacing","wrap","zeroMinWidth"];function g(e){const t=parseFloat(e);return`${t}${String(e).replace(String(t),"")||"px"}`}function y({breakpoints:e,values:t}){let n="";Object.keys(t).forEach((e=>{""===n&&0!==t[e]&&(n=e)}));const r=Object.keys(e).sort(((t,n)=>e[t]-e[n]));return r.slice(0,r.indexOf(n))}const b=(0,u.ZP)("div",{name:"MuiGrid",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e,{container:r,direction:o,item:i,spacing:a,wrap:s,zeroMinWidth:l,breakpoints:c}=n;let u=[];r&&(u=function(e,t,n={}){if(!e||e<=0)return[];if("string"==typeof e&&!Number.isNaN(Number(e))||"number"==typeof e)return[n[`spacing-xs-${String(e)}`]];const r=[];return t.forEach((t=>{const o=e[t];Number(o)>0&&r.push(n[`spacing-${t}-${String(o)}`])})),r}(a,c,t));const d=[];return c.forEach((e=>{const r=n[e];r&&d.push(t[`grid-${e}-${String(r)}`])})),[t.root,r&&t.container,i&&t.item,l&&t.zeroMinWidth,...u,"row"!==o&&t[`direction-xs-${String(o)}`],"wrap"!==s&&t[`wrap-xs-${String(s)}`],...d]}})((({ownerState:e})=>(0,o.Z)({boxSizing:"border-box"},e.container&&{display:"flex",flexWrap:"wrap",width:"100%"},e.item&&{margin:0},e.zeroMinWidth&&{minWidth:0},"wrap"!==e.wrap&&{flexWrap:e.wrap})),(function({theme:e,ownerState:t}){const n=(0,s.P$)({values:t.direction,breakpoints:e.breakpoints.values});return(0,s.k9)({theme:e},n,(e=>{const t={flexDirection:e};return 0===e.indexOf("column")&&(t[`& > .${h.Z.item}`]={maxWidth:"none"}),t}))}),(function({theme:e,ownerState:t}){const{container:n,rowSpacing:r}=t;let o={};if(n&&0!==r){const t=(0,s.P$)({values:r,breakpoints:e.breakpoints.values});let n;"object"==typeof t&&(n=y({breakpoints:e.breakpoints.values,values:t})),o=(0,s.k9)({theme:e},t,((t,r)=>{var o;const i=e.spacing(t);return"0px"!==i?{marginTop:`-${g(i)}`,[`& > .${h.Z.item}`]:{paddingTop:g(i)}}:null!=(o=n)&&o.includes(r)?{}:{marginTop:0,[`& > .${h.Z.item}`]:{paddingTop:0}}}))}return o}),(function({theme:e,ownerState:t}){const{container:n,columnSpacing:r}=t;let o={};if(n&&0!==r){const t=(0,s.P$)({values:r,breakpoints:e.breakpoints.values});let n;"object"==typeof t&&(n=y({breakpoints:e.breakpoints.values,values:t})),o=(0,s.k9)({theme:e},t,((t,r)=>{var o;const i=e.spacing(t);return"0px"!==i?{width:`calc(100% + ${g(i)})`,marginLeft:`-${g(i)}`,[`& > .${h.Z.item}`]:{paddingLeft:g(i)}}:null!=(o=n)&&o.includes(r)?{}:{width:"100%",marginLeft:0,[`& > .${h.Z.item}`]:{paddingLeft:0}}}))}return o}),(function({theme:e,ownerState:t}){let n;return e.breakpoints.keys.reduce(((r,i)=>{let a={};if(t[i]&&(n=t[i]),!n)return r;if(!0===n)a={flexBasis:0,flexGrow:1,maxWidth:"100%"};else if("auto"===n)a={flexBasis:"auto",flexGrow:0,flexShrink:0,maxWidth:"none",width:"auto"};else{const l=(0,s.P$)({values:t.columns,breakpoints:e.breakpoints.values}),c="object"==typeof l?l[i]:l;if(null==c)return r;const u=Math.round(n/c*1e8)/1e6+"%";let d={};if(t.container&&t.item&&0!==t.columnSpacing){const n=e.spacing(t.columnSpacing);if("0px"!==n){const e=`calc(${u} + ${g(n)})`;d={flexBasis:e,maxWidth:e}}}a=(0,o.Z)({flexBasis:u,flexGrow:0,maxWidth:u},d)}return 0===e.breakpoints.values[i]?Object.assign(r,a):r[e.breakpoints.up(i)]=a,r}),{})}));const w=e=>{const{classes:t,container:n,direction:r,item:o,spacing:i,wrap:a,zeroMinWidth:s,breakpoints:l}=e;let u=[];n&&(u=function(e,t){if(!e||e<=0)return[];if("string"==typeof e&&!Number.isNaN(Number(e))||"number"==typeof e)return[`spacing-xs-${String(e)}`];const n=[];return t.forEach((t=>{const r=e[t];if(Number(r)>0){const e=`spacing-${t}-${String(r)}`;n.push(e)}})),n}(i,l));const d=[];l.forEach((t=>{const n=e[t];n&&d.push(`grid-${t}-${String(n)}`)}));const p={root:["root",n&&"container",o&&"item",s&&"zeroMinWidth",...u,"row"!==r&&`direction-xs-${String(r)}`,"wrap"!==a&&`wrap-xs-${String(a)}`,...d]};return(0,c.Z)(p,h.H,t)};const x=i.forwardRef((function(e,t){const n=(0,d.Z)({props:e,name:"MuiGrid"}),{breakpoints:s}=(0,p.Z)(),c=(0,l.Z)(n),{className:u,columns:h,columnSpacing:g,component:y="div",container:x=!1,direction:k="row",item:S=!1,rowSpacing:C,spacing:E=0,wrap:T="wrap",zeroMinWidth:O=!1}=c,$=(0,r.Z)(c,v),M=C||E,A=g||E,D=i.useContext(f.Z),L=x?h||12:D,N={},R=(0,o.Z)({},$);s.keys.forEach((e=>{null!=$[e]&&(N[e]=$[e],delete R[e])}));const I=(0,o.Z)({},c,{columns:L,container:x,direction:k,item:S,rowSpacing:M,columnSpacing:A,wrap:T,zeroMinWidth:O,spacing:E},N,{breakpoints:s.keys}),P=w(I);return(0,m.jsx)(f.Z.Provider,{value:L,children:(0,m.jsx)(b,(0,o.Z)({ownerState:I,className:(0,a.Z)(P.root,u),as:y,ref:t},R))})}))},14953:(e,t,n)=>{"use strict";n.d(t,{Z:()=>o});var r=n(74570);const o=r.createContext()},8673:(e,t,n)=>{"use strict";n.d(t,{H:()=>i,Z:()=>s});var r=n(1588),o=n(34867);function i(e){return(0,o.Z)("MuiGrid",e)}const a=["auto",!0,1,2,3,4,5,6,7,8,9,10,11,12],s=(0,r.Z)("MuiGrid",["root","container","item","zeroMinWidth",...[0,1,2,3,4,5,6,7,8,9,10].map((e=>`spacing-xs-${e}`)),...["column-reverse","column","row-reverse","row"].map((e=>`direction-xs-${e}`)),...["nowrap","wrap-reverse","wrap"].map((e=>`wrap-xs-${e}`)),...a.map((e=>`grid-xs-${e}`)),...a.map((e=>`grid-sm-${e}`)),...a.map((e=>`grid-md-${e}`)),...a.map((e=>`grid-lg-${e}`)),...a.map((e=>`grid-xl-${e}`))])},96514:(e,t,n)=>{"use strict";n.d(t,{Z:()=>v});var r=n(87462),o=n(63366),i=n(74570),a=n(96630),s=n(2734),l=n(30577),c=n(51705),u=n(85893);const d=["addEndListener","appear","children","easing","in","onEnter","onEntered","onEntering","onExit","onExited","onExiting","style","timeout","TransitionComponent"];function p(e){return`scale(${e}, ${e**2})`}const f={entering:{opacity:1,transform:p(1)},entered:{opacity:1,transform:"none"}},h="undefined"!=typeof navigator&&/^((?!chrome|android).)*(safari|mobile)/i.test(navigator.userAgent)&&/(os |version\/)15(.|_)4/i.test(navigator.userAgent),m=i.forwardRef((function(e,t){const{addEndListener:n,appear:m=!0,children:v,easing:g,in:y,onEnter:b,onEntered:w,onEntering:x,onExit:k,onExited:S,onExiting:C,style:E,timeout:T="auto",TransitionComponent:O=a.ZP}=e,$=(0,o.Z)(e,d),M=i.useRef(),A=i.useRef(),D=(0,s.Z)(),L=i.useRef(null),N=(0,c.Z)(L,v.ref,t),R=e=>t=>{if(e){const n=L.current;void 0===t?e(n):e(n,t)}},I=R(x),P=R(((e,t)=>{(0,l.n)(e);const{duration:n,delay:r,easing:o}=(0,l.C)({style:E,timeout:T,easing:g},{mode:"enter"});let i;"auto"===T?(i=D.transitions.getAutoHeightDuration(e.clientHeight),A.current=i):i=n,e.style.transition=[D.transitions.create("opacity",{duration:i,delay:r}),D.transitions.create("transform",{duration:h?i:.666*i,delay:r,easing:o})].join(","),b&&b(e,t)})),Z=R(w),_=R(C),F=R((e=>{const{duration:t,delay:n,easing:r}=(0,l.C)({style:E,timeout:T,easing:g},{mode:"exit"});let o;"auto"===T?(o=D.transitions.getAutoHeightDuration(e.clientHeight),A.current=o):o=t,e.style.transition=[D.transitions.create("opacity",{duration:o,delay:n}),D.transitions.create("transform",{duration:h?o:.666*o,delay:h?n:n||.333*o,easing:r})].join(","),e.style.opacity=0,e.style.transform=p(.75),k&&k(e)})),j=R(S);return i.useEffect((()=>()=>{clearTimeout(M.current)}),[]),(0,u.jsx)(O,(0,r.Z)({appear:m,in:y,nodeRef:L,onEnter:P,onEntered:Z,onEntering:I,onExit:F,onExited:j,onExiting:_,addEndListener:e=>{"auto"===T&&(M.current=setTimeout(e,A.current||0)),n&&n(L.current,e)},timeout:"auto"===T?null:T},$,{children:(e,t)=>i.cloneElement(v,(0,r.Z)({style:(0,r.Z)({opacity:0,transform:p(.75),visibility:"exited"!==e||y?void 0:"hidden"},f[e],E,v.props.style),ref:N},t))}))}));m.muiSupportAuto=!0;const v=m},54799:(e,t,n)=>{"use strict";n.d(t,{Z:()=>g});var r=n(63366),o=n(87462),i=n(74570),a=n(90512),s=n(94780),l=n(41796),c=n(90948),u=n(71657),d=n(62308),p=n(98216),f=n(96239),h=n(85893);const m=["edge","children","className","color","disabled","disableFocusRipple","size"],v=(0,c.ZP)(d.Z,{name:"MuiIconButton",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,"default"!==n.color&&t[`color${(0,p.Z)(n.color)}`],n.edge&&t[`edge${(0,p.Z)(n.edge)}`],t[`size${(0,p.Z)(n.size)}`]]}})((({theme:e,ownerState:t})=>(0,o.Z)({textAlign:"center",flex:"0 0 auto",fontSize:e.typography.pxToRem(24),padding:8,borderRadius:"50%",overflow:"visible",color:(e.vars||e).palette.action.active,transition:e.transitions.create("background-color",{duration:e.transitions.duration.shortest})},!t.disableRipple&&{"&:hover":{backgroundColor:e.vars?`rgba(${e.vars.palette.action.activeChannel} / ${e.vars.palette.action.hoverOpacity})`:(0,l.Fq)(e.palette.action.active,e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}}},"start"===t.edge&&{marginLeft:"small"===t.size?-3:-12},"end"===t.edge&&{marginRight:"small"===t.size?-3:-12})),(({theme:e,ownerState:t})=>{var n;const r=null==(n=(e.vars||e).palette)?void 0:n[t.color];return(0,o.Z)({},"inherit"===t.color&&{color:"inherit"},"inherit"!==t.color&&"default"!==t.color&&(0,o.Z)({color:null==r?void 0:r.main},!t.disableRipple&&{"&:hover":(0,o.Z)({},r&&{backgroundColor:e.vars?`rgba(${r.mainChannel} / ${e.vars.palette.action.hoverOpacity})`:(0,l.Fq)(r.main,e.palette.action.hoverOpacity)},{"@media (hover: none)":{backgroundColor:"transparent"}})}),"small"===t.size&&{padding:5,fontSize:e.typography.pxToRem(18)},"large"===t.size&&{padding:12,fontSize:e.typography.pxToRem(28)},{[`&.${f.Z.disabled}`]:{backgroundColor:"transparent",color:(e.vars||e).palette.action.disabled}})})),g=i.forwardRef((function(e,t){const n=(0,u.Z)({props:e,name:"MuiIconButton"}),{edge:i=!1,children:l,className:c,color:d="default",disabled:g=!1,disableFocusRipple:y=!1,size:b="medium"}=n,w=(0,r.Z)(n,m),x=(0,o.Z)({},n,{edge:i,color:d,disabled:g,disableFocusRipple:y,size:b}),k=(e=>{const{classes:t,disabled:n,color:r,edge:o,size:i}=e,a={root:["root",n&&"disabled","default"!==r&&`color${(0,p.Z)(r)}`,o&&`edge${(0,p.Z)(o)}`,`size${(0,p.Z)(i)}`]};return(0,s.Z)(a,f.r,t)})(x);return(0,h.jsx)(v,(0,o.Z)({className:(0,a.Z)(k.root,c),centerRipple:!0,focusRipple:!y,disabled:g,ref:t,ownerState:x},w,{children:l}))}))},96239:(e,t,n)=>{"use strict";n.d(t,{Z:()=>a,r:()=>i});var r=n(1588),o=n(34867);function i(e){return(0,o.Z)("MuiIconButton",e)}const a=(0,r.Z)("MuiIconButton",["root","disabled","colorInherit","colorPrimary","colorSecondary","colorError","colorInfo","colorSuccess","colorWarning","edgeStart","edgeEnd","sizeSmall","sizeMedium","sizeLarge"])},79332:(e,t,n)=>{"use strict";n.d(t,{Z:()=>g});var r=n(63366),o=n(87462),i=n(74570),a=n(94780),s=n(59766),l=n(78543),c=n(90948),u=n(71657),d=n(7021),p=n(85893);const f=["disableUnderline","components","componentsProps","fullWidth","inputComponent","multiline","slotProps","slots","type"],h=(0,c.ZP)(l.Ej,{shouldForwardProp:e=>(0,c.FO)(e)||"classes"===e,name:"MuiInput",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[...(0,l.Gx)(e,t),!n.disableUnderline&&t.underline]}})((({theme:e,ownerState:t})=>{let n="light"===e.palette.mode?"rgba(0, 0, 0, 0.42)":"rgba(255, 255, 255, 0.7)";return e.vars&&(n=`rgba(${e.vars.palette.common.onBackgroundChannel} / ${e.vars.opacity.inputUnderline})`),(0,o.Z)({position:"relative"},t.formControl&&{"label + &":{marginTop:16}},!t.disableUnderline&&{"&:after":{borderBottom:`2px solid ${(e.vars||e).palette[t.color].main}`,left:0,bottom:0,content:'""',position:"absolute",right:0,transform:"scaleX(0)",transition:e.transitions.create("transform",{duration:e.transitions.duration.shorter,easing:e.transitions.easing.easeOut}),pointerEvents:"none"},[`&.${d.Z.focused}:after`]:{transform:"scaleX(1) translateX(0)"},[`&.${d.Z.error}`]:{"&:before, &:after":{borderBottomColor:(e.vars||e).palette.error.main}},"&:before":{borderBottom:`1px solid ${n}`,left:0,bottom:0,content:'"\\00a0"',position:"absolute",right:0,transition:e.transitions.create("border-bottom-color",{duration:e.transitions.duration.shorter}),pointerEvents:"none"},[`&:hover:not(.${d.Z.disabled}, .${d.Z.error}):before`]:{borderBottom:`2px solid ${(e.vars||e).palette.text.primary}`,"@media (hover: none)":{borderBottom:`1px solid ${n}`}},[`&.${d.Z.disabled}:before`]:{borderBottomStyle:"dotted"}})})),m=(0,c.ZP)(l.rA,{name:"MuiInput",slot:"Input",overridesResolver:l._o})({}),v=i.forwardRef((function(e,t){var n,i,c,v;const g=(0,u.Z)({props:e,name:"MuiInput"}),{disableUnderline:y,components:b={},componentsProps:w,fullWidth:x=!1,inputComponent:k="input",multiline:S=!1,slotProps:C,slots:E={},type:T="text"}=g,O=(0,r.Z)(g,f),$=(e=>{const{classes:t,disableUnderline:n}=e,r={root:["root",!n&&"underline"],input:["input"]},i=(0,a.Z)(r,d.l,t);return(0,o.Z)({},t,i)})(g),M={root:{ownerState:{disableUnderline:y}}},A=(null!=C?C:w)?(0,s.Z)(null!=C?C:w,M):M,D=null!=(n=null!=(i=E.root)?i:b.Root)?n:h,L=null!=(c=null!=(v=E.input)?v:b.Input)?c:m;return(0,p.jsx)(l.ZP,(0,o.Z)({slots:{root:D,input:L},slotProps:A,fullWidth:x,inputComponent:k,multiline:S,ref:t,type:T},O,{classes:$}))}));v.muiName="Input";const g=v},7021:(e,t,n)=>{"use strict";n.d(t,{Z:()=>l,l:()=>s});var r=n(87462),o=n(1588),i=n(34867),a=n(55827);function s(e){return(0,i.Z)("MuiInput",e)}const l=(0,r.Z)({},a.Z,(0,o.Z)("MuiInput",["root","underline","input"]))},91057:(e,t,n)=>{"use strict";n.d(t,{Z:()=>b});var r,o=n(63366),i=n(87462),a=n(74570),s=n(90512),l=n(94780),c=n(98216),u=n(23972),d=n(47167),p=n(74423),f=n(90948),h=n(19558),m=n(71657),v=n(85893);const g=["children","className","component","disablePointerEvents","disableTypography","position","variant"],y=(0,f.ZP)("div",{name:"MuiInputAdornment",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,t[`position${(0,c.Z)(n.position)}`],!0===n.disablePointerEvents&&t.disablePointerEvents,t[n.variant]]}})((({theme:e,ownerState:t})=>(0,i.Z)({display:"flex",height:"0.01em",maxHeight:"2em",alignItems:"center",whiteSpace:"nowrap",color:(e.vars||e).palette.action.active},"filled"===t.variant&&{[`&.${h.Z.positionStart}&:not(.${h.Z.hiddenLabel})`]:{marginTop:16}},"start"===t.position&&{marginRight:8},"end"===t.position&&{marginLeft:8},!0===t.disablePointerEvents&&{pointerEvents:"none"}))),b=a.forwardRef((function(e,t){const n=(0,m.Z)({props:e,name:"MuiInputAdornment"}),{children:f,className:b,component:w="div",disablePointerEvents:x=!1,disableTypography:k=!1,position:S,variant:C}=n,E=(0,o.Z)(n,g),T=(0,p.Z)()||{};let O=C;C&&T.variant,T&&!O&&(O=T.variant);const $=(0,i.Z)({},n,{hiddenLabel:T.hiddenLabel,size:T.size,disablePointerEvents:x,position:S,variant:O}),M=(e=>{const{classes:t,disablePointerEvents:n,hiddenLabel:r,position:o,size:i,variant:a}=e,s={root:["root",n&&"disablePointerEvents",o&&`position${(0,c.Z)(o)}`,a,r&&"hiddenLabel",i&&`size${(0,c.Z)(i)}`]};return(0,l.Z)(s,h.w,t)})($);return(0,v.jsx)(d.Z.Provider,{value:null,children:(0,v.jsx)(y,(0,i.Z)({as:w,ownerState:$,className:(0,s.Z)(M.root,b),ref:t},E,{children:"string"!=typeof f||k?(0,v.jsxs)(a.Fragment,{children:["start"===S?r||(r=(0,v.jsx)("span",{className:"notranslate",children:""})):null,f]}):(0,v.jsx)(u.Z,{color:"text.secondary",children:f})}))})}))},19558:(e,t,n)=>{"use strict";n.d(t,{Z:()=>a,w:()=>i});var r=n(1588),o=n(34867);function i(e){return(0,o.Z)("MuiInputAdornment",e)}const a=(0,r.Z)("MuiInputAdornment",["root","filled","standard","outlined","positionStart","positionEnd","disablePointerEvents","hiddenLabel","sizeSmall"])},78543:(e,t,n)=>{"use strict";n.d(t,{Ej:()=>T,Gx:()=>C,ZP:()=>M,_o:()=>E,rA:()=>O});var r=n(63366),o=n(87462),i=n(71387),a=n(74570),s=n(90512),l=n(94780),c=n(37598),u=n(28442),d=n(15704),p=n(47167),f=n(74423),h=n(90948),m=n(71657),v=n(98216),g=n(51705),y=n(58974),b=n(66294),w=n(5108),x=n(55827),k=n(85893);const S=["aria-describedby","autoComplete","autoFocus","className","color","components","componentsProps","defaultValue","disabled","disableInjectingGlobalStyles","endAdornment","error","fullWidth","id","inputComponent","inputProps","inputRef","margin","maxRows","minRows","multiline","name","onBlur","onChange","onClick","onFocus","onKeyDown","onKeyUp","placeholder","readOnly","renderSuffix","rows","size","slotProps","slots","startAdornment","type","value"],C=(e,t)=>{const{ownerState:n}=e;return[t.root,n.formControl&&t.formControl,n.startAdornment&&t.adornedStart,n.endAdornment&&t.adornedEnd,n.error&&t.error,"small"===n.size&&t.sizeSmall,n.multiline&&t.multiline,n.color&&t[`color${(0,v.Z)(n.color)}`],n.fullWidth&&t.fullWidth,n.hiddenLabel&&t.hiddenLabel]},E=(e,t)=>{const{ownerState:n}=e;return[t.input,"small"===n.size&&t.inputSizeSmall,n.multiline&&t.inputMultiline,"search"===n.type&&t.inputTypeSearch,n.startAdornment&&t.inputAdornedStart,n.endAdornment&&t.inputAdornedEnd,n.hiddenLabel&&t.inputHiddenLabel]},T=(0,h.ZP)("div",{name:"MuiInputBase",slot:"Root",overridesResolver:C})((({theme:e,ownerState:t})=>(0,o.Z)({},e.typography.body1,{color:(e.vars||e).palette.text.primary,lineHeight:"1.4375em",boxSizing:"border-box",position:"relative",cursor:"text",display:"inline-flex",alignItems:"center",[`&.${x.Z.disabled}`]:{color:(e.vars||e).palette.text.disabled,cursor:"default"}},t.multiline&&(0,o.Z)({padding:"4px 0 5px"},"small"===t.size&&{paddingTop:1}),t.fullWidth&&{width:"100%"}))),O=(0,h.ZP)("input",{name:"MuiInputBase",slot:"Input",overridesResolver:E})((({theme:e,ownerState:t})=>{const n="light"===e.palette.mode,r=(0,o.Z)({color:"currentColor"},e.vars?{opacity:e.vars.opacity.inputPlaceholder}:{opacity:n?.42:.5},{transition:e.transitions.create("opacity",{duration:e.transitions.duration.shorter})}),i={opacity:"0 !important"},a=e.vars?{opacity:e.vars.opacity.inputPlaceholder}:{opacity:n?.42:.5};return(0,o.Z)({font:"inherit",letterSpacing:"inherit",color:"currentColor",padding:"4px 0 5px",border:0,boxSizing:"content-box",background:"none",height:"1.4375em",margin:0,WebkitTapHighlightColor:"transparent",display:"block",minWidth:0,width:"100%",animationName:"mui-auto-fill-cancel",animationDuration:"10ms","&::-webkit-input-placeholder":r,"&::-moz-placeholder":r,"&:-ms-input-placeholder":r,"&::-ms-input-placeholder":r,"&:focus":{outline:0},"&:invalid":{boxShadow:"none"},"&::-webkit-search-decoration":{WebkitAppearance:"none"},[`label[data-shrink=false] + .${x.Z.formControl} &`]:{"&::-webkit-input-placeholder":i,"&::-moz-placeholder":i,"&:-ms-input-placeholder":i,"&::-ms-input-placeholder":i,"&:focus::-webkit-input-placeholder":a,"&:focus::-moz-placeholder":a,"&:focus:-ms-input-placeholder":a,"&:focus::-ms-input-placeholder":a},[`&.${x.Z.disabled}`]:{opacity:1,WebkitTextFillColor:(e.vars||e).palette.text.disabled},"&:-webkit-autofill":{animationDuration:"5000s",animationName:"mui-auto-fill"}},"small"===t.size&&{paddingTop:1},t.multiline&&{height:"auto",resize:"none",padding:0,paddingTop:0},"search"===t.type&&{MozAppearance:"textfield"})})),$=(0,k.jsx)(b.Z,{styles:{"@keyframes mui-auto-fill":{from:{display:"block"}},"@keyframes mui-auto-fill-cancel":{from:{display:"block"}}}}),M=a.forwardRef((function(e,t){var n;const h=(0,m.Z)({props:e,name:"MuiInputBase"}),{"aria-describedby":b,autoComplete:C,autoFocus:E,className:M,components:A={},componentsProps:D={},defaultValue:L,disabled:N,disableInjectingGlobalStyles:R,endAdornment:I,fullWidth:P=!1,id:Z,inputComponent:_="input",inputProps:F={},inputRef:j,maxRows:B,minRows:z,multiline:H=!1,name:U,onBlur:W,onChange:V,onClick:q,onFocus:G,onKeyDown:K,onKeyUp:Y,placeholder:X,readOnly:J,renderSuffix:Q,rows:ee,slotProps:te={},slots:ne={},startAdornment:re,type:oe="text",value:ie}=h,ae=(0,r.Z)(h,S),se=null!=F.value?F.value:ie,{current:le}=a.useRef(null!=se),ce=a.useRef(),ue=a.useCallback((e=>{0}),[]),de=(0,g.Z)(ce,j,F.ref,ue),[pe,fe]=a.useState(!1),he=(0,f.Z)();const me=(0,d.Z)({props:h,muiFormControl:he,states:["color","disabled","error","hiddenLabel","size","required","filled"]});me.focused=he?he.focused:pe,a.useEffect((()=>{!he&&N&&pe&&(fe(!1),W&&W())}),[he,N,pe,W]);const ve=he&&he.onFilled,ge=he&&he.onEmpty,ye=a.useCallback((e=>{(0,w.vd)(e)?ve&&ve():ge&&ge()}),[ve,ge]);(0,y.Z)((()=>{le&&ye({value:se})}),[se,ye,le]);a.useEffect((()=>{ye(ce.current)}),[]);let be=_,we=F;H&&"input"===be&&(we=ee?(0,o.Z)({type:void 0,minRows:ee,maxRows:ee},we):(0,o.Z)({type:void 0,maxRows:B,minRows:z},we),be=c.u);a.useEffect((()=>{he&&he.setAdornedStart(Boolean(re))}),[he,re]);const xe=(0,o.Z)({},h,{color:me.color||"primary",disabled:me.disabled,endAdornment:I,error:me.error,focused:me.focused,formControl:he,fullWidth:P,hiddenLabel:me.hiddenLabel,multiline:H,size:me.size,startAdornment:re,type:oe}),ke=(e=>{const{classes:t,color:n,disabled:r,error:o,endAdornment:i,focused:a,formControl:s,fullWidth:c,hiddenLabel:u,multiline:d,readOnly:p,size:f,startAdornment:h,type:m}=e,g={root:["root",`color${(0,v.Z)(n)}`,r&&"disabled",o&&"error",c&&"fullWidth",a&&"focused",s&&"formControl",f&&"medium"!==f&&`size${(0,v.Z)(f)}`,d&&"multiline",h&&"adornedStart",i&&"adornedEnd",u&&"hiddenLabel",p&&"readOnly"],input:["input",r&&"disabled","search"===m&&"inputTypeSearch",d&&"inputMultiline","small"===f&&"inputSizeSmall",u&&"inputHiddenLabel",h&&"inputAdornedStart",i&&"inputAdornedEnd",p&&"readOnly"]};return(0,l.Z)(g,x.u,t)})(xe),Se=ne.root||A.Root||T,Ce=te.root||D.root||{},Ee=ne.input||A.Input||O;return we=(0,o.Z)({},we,null!=(n=te.input)?n:D.input),(0,k.jsxs)(a.Fragment,{children:[!R&&$,(0,k.jsxs)(Se,(0,o.Z)({},Ce,!(0,u.X)(Se)&&{ownerState:(0,o.Z)({},xe,Ce.ownerState)},{ref:t,onClick:e=>{ce.current&&e.currentTarget===e.target&&ce.current.focus(),q&&q(e)}},ae,{className:(0,s.Z)(ke.root,Ce.className,M,J&&"MuiInputBase-readOnly"),children:[re,(0,k.jsx)(p.Z.Provider,{value:null,children:(0,k.jsx)(Ee,(0,o.Z)({ownerState:xe,"aria-invalid":me.error,"aria-describedby":b,autoComplete:C,autoFocus:E,defaultValue:L,disabled:me.disabled,id:Z,onAnimationStart:e=>{ye("mui-auto-fill-cancel"===e.animationName?ce.current:{value:"x"})},name:U,placeholder:X,readOnly:J,required:me.required,rows:ee,value:se,onKeyDown:K,onKeyUp:Y,type:oe},we,!(0,u.X)(Ee)&&{as:be,ownerState:(0,o.Z)({},xe,we.ownerState)},{ref:de,className:(0,s.Z)(ke.input,we.className,J&&"MuiInputBase-readOnly"),onBlur:e=>{W&&W(e),F.onBlur&&F.onBlur(e),he&&he.onBlur?he.onBlur(e):fe(!1)},onChange:(e,...t)=>{if(!le){const t=e.target||ce.current;if(null==t)throw new Error((0,i.Z)(1));ye({value:t.value})}F.onChange&&F.onChange(e,...t),V&&V(e,...t)},onFocus:e=>{me.disabled?e.stopPropagation():(G&&G(e),F.onFocus&&F.onFocus(e),he&&he.onFocus?he.onFocus(e):fe(!0))}}))}),I,Q?Q((0,o.Z)({},me,{startAdornment:re})):null]}))]})}))},55827:(e,t,n)=>{"use strict";n.d(t,{Z:()=>a,u:()=>i});var r=n(1588),o=n(34867);function i(e){return(0,o.Z)("MuiInputBase",e)}const a=(0,r.Z)("MuiInputBase",["root","formControl","focused","disabled","adornedStart","adornedEnd","error","sizeSmall","multiline","colorSecondary","fullWidth","hiddenLabel","readOnly","input","inputSizeSmall","inputMultiline","inputTypeSearch","inputAdornedStart","inputAdornedEnd","inputHiddenLabel"])},5108:(e,t,n)=>{"use strict";function r(e){return null!=e&&!(Array.isArray(e)&&0===e.length)}function o(e,t=!1){return e&&(r(e.value)&&""!==e.value||t&&r(e.defaultValue)&&""!==e.defaultValue)}function i(e){return e.startAdornment}n.d(t,{B7:()=>i,vd:()=>o})},60076:(e,t,n)=>{"use strict";n.d(t,{Z:()=>b});var r=n(63366),o=n(87462),i=n(74570),a=n(94780),s=n(90512),l=n(15704),c=n(74423),u=n(40476),d=n(64748),p=n(71657),f=n(98216),h=n(90948),m=n(56727),v=n(85893);const g=["disableAnimation","margin","shrink","variant","className"],y=(0,h.ZP)(u.Z,{shouldForwardProp:e=>(0,h.FO)(e)||"classes"===e,name:"MuiInputLabel",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[{[`& .${d.Z.asterisk}`]:t.asterisk},t.root,n.formControl&&t.formControl,"small"===n.size&&t.sizeSmall,n.shrink&&t.shrink,!n.disableAnimation&&t.animated,t[n.variant]]}})((({theme:e,ownerState:t})=>(0,o.Z)({display:"block",transformOrigin:"top left",whiteSpace:"nowrap",overflow:"hidden",textOverflow:"ellipsis",maxWidth:"100%"},t.formControl&&{position:"absolute",left:0,top:0,transform:"translate(0, 20px) scale(1)"},"small"===t.size&&{transform:"translate(0, 17px) scale(1)"},t.shrink&&{transform:"translate(0, -1.5px) scale(0.75)",transformOrigin:"top left",maxWidth:"133%"},!t.disableAnimation&&{transition:e.transitions.create(["color","transform","max-width"],{duration:e.transitions.duration.shorter,easing:e.transitions.easing.easeOut})},"filled"===t.variant&&(0,o.Z)({zIndex:1,pointerEvents:"none",transform:"translate(12px, 16px) scale(1)",maxWidth:"calc(100% - 24px)"},"small"===t.size&&{transform:"translate(12px, 13px) scale(1)"},t.shrink&&(0,o.Z)({userSelect:"none",pointerEvents:"auto",transform:"translate(12px, 7px) scale(0.75)",maxWidth:"calc(133% - 24px)"},"small"===t.size&&{transform:"translate(12px, 4px) scale(0.75)"})),"outlined"===t.variant&&(0,o.Z)({zIndex:1,pointerEvents:"none",transform:"translate(14px, 16px) scale(1)",maxWidth:"calc(100% - 24px)"},"small"===t.size&&{transform:"translate(14px, 9px) scale(1)"},t.shrink&&{userSelect:"none",pointerEvents:"auto",maxWidth:"calc(133% - 32px)",transform:"translate(14px, -9px) scale(0.75)"})))),b=i.forwardRef((function(e,t){const n=(0,p.Z)({name:"MuiInputLabel",props:e}),{disableAnimation:i=!1,shrink:u,className:d}=n,h=(0,r.Z)(n,g),b=(0,c.Z)();let w=u;void 0===w&&b&&(w=b.filled||b.focused||b.adornedStart);const x=(0,l.Z)({props:n,muiFormControl:b,states:["size","variant","required"]}),k=(0,o.Z)({},n,{disableAnimation:i,formControl:b,shrink:w,size:x.size,variant:x.variant,required:x.required}),S=(e=>{const{classes:t,formControl:n,size:r,shrink:i,disableAnimation:s,variant:l,required:c}=e,u={root:["root",n&&"formControl",!s&&"animated",i&&"shrink",r&&"normal"!==r&&`size${(0,f.Z)(r)}`,l],asterisk:[c&&"asterisk"]},d=(0,a.Z)(u,m.Y,t);return(0,o.Z)({},t,d)})(k);return(0,v.jsx)(y,(0,o.Z)({"data-shrink":w,ownerState:k,ref:t,className:(0,s.Z)(S.root,d)},h,{classes:S}))}))},56727:(e,t,n)=>{"use strict";n.d(t,{Y:()=>i,Z:()=>a});var r=n(1588),o=n(34867);function i(e){return(0,o.Z)("MuiInputLabel",e)}const a=(0,r.Z)("MuiInputLabel",["root","focused","disabled","error","required","asterisk","formControl","sizeSmall","shrink","animated","standard","filled","outlined"])},73891:(e,t,n)=>{"use strict";n.d(t,{Z:()=>k});var r=n(63366),o=n(87462),i=n(74570),a=n(90512),s=n(94780),l=n(98216),c=n(90948),u=n(71657),d=n(79674),p=n(51705),f=n(23972),h=n(23400),m=n(54844),v=n(41796);const g={primary:"primary.main",textPrimary:"text.primary",secondary:"secondary.main",textSecondary:"text.secondary",error:"error.main"},y=({theme:e,ownerState:t})=>{const n=(e=>g[e]||e)(t.color),r=(0,m.DW)(e,`palette.${n}`,!1)||t.color,o=(0,m.DW)(e,`palette.${n}Channel`);return"vars"in e&&o?`rgba(${o} / 0.4)`:(0,v.Fq)(r,.4)};var b=n(85893);const w=["className","color","component","onBlur","onFocus","TypographyClasses","underline","variant","sx"],x=(0,c.ZP)(f.Z,{name:"MuiLink",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,t[`underline${(0,l.Z)(n.underline)}`],"button"===n.component&&t.button]}})((({theme:e,ownerState:t})=>(0,o.Z)({},"none"===t.underline&&{textDecoration:"none"},"hover"===t.underline&&{textDecoration:"none","&:hover":{textDecoration:"underline"}},"always"===t.underline&&(0,o.Z)({textDecoration:"underline"},"inherit"!==t.color&&{textDecorationColor:y({theme:e,ownerState:t})},{"&:hover":{textDecorationColor:"inherit"}}),"button"===t.component&&{position:"relative",WebkitTapHighlightColor:"transparent",backgroundColor:"transparent",outline:0,border:0,margin:0,borderRadius:0,padding:0,cursor:"pointer",userSelect:"none",verticalAlign:"middle",MozAppearance:"none",WebkitAppearance:"none","&::-moz-focus-inner":{borderStyle:"none"},[`&.${h.Z.focusVisible}`]:{outline:"auto"}}))),k=i.forwardRef((function(e,t){const n=(0,u.Z)({props:e,name:"MuiLink"}),{className:c,color:f="primary",component:m="a",onBlur:v,onFocus:y,TypographyClasses:k,underline:S="always",variant:C="inherit",sx:E}=n,T=(0,r.Z)(n,w),{isFocusVisibleRef:O,onBlur:$,onFocus:M,ref:A}=(0,d.Z)(),[D,L]=i.useState(!1),N=(0,p.Z)(t,A),R=(0,o.Z)({},n,{color:f,component:m,focusVisible:D,underline:S,variant:C}),I=(e=>{const{classes:t,component:n,focusVisible:r,underline:o}=e,i={root:["root",`underline${(0,l.Z)(o)}`,"button"===n&&"button",r&&"focusVisible"]};return(0,s.Z)(i,h.w,t)})(R);return(0,b.jsx)(x,(0,o.Z)({color:f,className:(0,a.Z)(I.root,c),classes:k,component:m,onBlur:e=>{$(e),!1===O.current&&L(!1),v&&v(e)},onFocus:e=>{M(e),!0===O.current&&L(!0),y&&y(e)},ref:N,ownerState:R,variant:C,sx:[...Object.keys(g).includes(f)?[]:[{color:f}],...Array.isArray(E)?E:[E]]},T))}))},23400:(e,t,n)=>{"use strict";n.d(t,{Z:()=>a,w:()=>i});var r=n(1588),o=n(34867);function i(e){return(0,o.Z)("MuiLink",e)}const a=(0,r.Z)("MuiLink",["root","underlineNone","underlineHover","underlineAlways","button","focusVisible"])},18843:(e,t,n)=>{"use strict";n.d(t,{Z:()=>m});var r=n(63366),o=n(87462),i=n(74570),a=n(90512),s=n(94780),l=n(90948),c=n(71657),u=n(59773),d=n(72847),p=n(85893);const f=["children","className","component","dense","disablePadding","subheader"],h=(0,l.ZP)("ul",{name:"MuiList",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,!n.disablePadding&&t.padding,n.dense&&t.dense,n.subheader&&t.subheader]}})((({ownerState:e})=>(0,o.Z)({listStyle:"none",margin:0,padding:0,position:"relative"},!e.disablePadding&&{paddingTop:8,paddingBottom:8},e.subheader&&{paddingTop:0}))),m=i.forwardRef((function(e,t){const n=(0,c.Z)({props:e,name:"MuiList"}),{children:l,className:m,component:v="ul",dense:g=!1,disablePadding:y=!1,subheader:b}=n,w=(0,r.Z)(n,f),x=i.useMemo((()=>({dense:g})),[g]),k=(0,o.Z)({},n,{component:v,dense:g,disablePadding:y}),S=(e=>{const{classes:t,disablePadding:n,dense:r,subheader:o}=e,i={root:["root",!n&&"padding",r&&"dense",o&&"subheader"]};return(0,s.Z)(i,d.z,t)})(k);return(0,p.jsx)(u.Z.Provider,{value:x,children:(0,p.jsxs)(h,(0,o.Z)({as:v,className:(0,a.Z)(S.root,m),ref:t,ownerState:k},w,{children:[b,l]}))})}))},59773:(e,t,n)=>{"use strict";n.d(t,{Z:()=>o});var r=n(74570);const o=r.createContext({})},72847:(e,t,n)=>{"use strict";n.d(t,{Z:()=>a,z:()=>i});var r=n(1588),o=n(34867);function i(e){return(0,o.Z)("MuiList",e)}const a=(0,r.Z)("MuiList",["root","padding","dense","subheader"])},84592:(e,t,n)=>{"use strict";n.d(t,{Z:()=>a,f:()=>i});var r=n(1588),o=n(34867);function i(e){return(0,o.Z)("MuiListItemIcon",e)}const a=(0,r.Z)("MuiListItemIcon",["root","alignItemsFlexStart"])},59334:(e,t,n)=>{"use strict";n.d(t,{Z:()=>v});var r=n(63366),o=n(87462),i=n(74570),a=n(90512),s=n(94780),l=n(23972),c=n(59773),u=n(71657),d=n(90948),p=n(26336),f=n(85893);const h=["children","className","disableTypography","inset","primary","primaryTypographyProps","secondary","secondaryTypographyProps"],m=(0,d.ZP)("div",{name:"MuiListItemText",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[{[`& .${p.Z.primary}`]:t.primary},{[`& .${p.Z.secondary}`]:t.secondary},t.root,n.inset&&t.inset,n.primary&&n.secondary&&t.multiline,n.dense&&t.dense]}})((({ownerState:e})=>(0,o.Z)({flex:"1 1 auto",minWidth:0,marginTop:4,marginBottom:4},e.primary&&e.secondary&&{marginTop:6,marginBottom:6},e.inset&&{paddingLeft:56}))),v=i.forwardRef((function(e,t){const n=(0,u.Z)({props:e,name:"MuiListItemText"}),{children:d,className:v,disableTypography:g=!1,inset:y=!1,primary:b,primaryTypographyProps:w,secondary:x,secondaryTypographyProps:k}=n,S=(0,r.Z)(n,h),{dense:C}=i.useContext(c.Z);let E=null!=b?b:d,T=x;const O=(0,o.Z)({},n,{disableTypography:g,inset:y,primary:!!E,secondary:!!T,dense:C}),$=(e=>{const{classes:t,inset:n,primary:r,secondary:o,dense:i}=e,a={root:["root",n&&"inset",i&&"dense",r&&o&&"multiline"],primary:["primary"],secondary:["secondary"]};return(0,s.Z)(a,p.L,t)})(O);return null==E||E.type===l.Z||g||(E=(0,f.jsx)(l.Z,(0,o.Z)({variant:C?"body2":"body1",className:$.primary,component:null!=w&&w.variant?void 0:"span",display:"block"},w,{children:E}))),null==T||T.type===l.Z||g||(T=(0,f.jsx)(l.Z,(0,o.Z)({variant:"body2",className:$.secondary,color:"text.secondary",display:"block"},k,{children:T}))),(0,f.jsxs)(m,(0,o.Z)({className:(0,a.Z)($.root,v),ownerState:O,ref:t},S,{children:[E,T]}))}))},26336:(e,t,n)=>{"use strict";n.d(t,{L:()=>i,Z:()=>a});var r=n(1588),o=n(34867);function i(e){return(0,o.Z)("MuiListItemText",e)}const a=(0,r.Z)("MuiListItemText",["root","multiline","dense","inset","primary","secondary"])},17075:(e,t,n)=>{"use strict";n.d(t,{Z:()=>v});var r=n(63366),o=n(87462),i=n(74570),a=n(90512),s=n(94780),l=n(90948),c=n(71657),u=n(98216),d=n(83096),p=n(85893);const f=["className","color","component","disableGutters","disableSticky","inset"],h=(0,l.ZP)("li",{name:"MuiListSubheader",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,"default"!==n.color&&t[`color${(0,u.Z)(n.color)}`],!n.disableGutters&&t.gutters,n.inset&&t.inset,!n.disableSticky&&t.sticky]}})((({theme:e,ownerState:t})=>(0,o.Z)({boxSizing:"border-box",lineHeight:"48px",listStyle:"none",color:(e.vars||e).palette.text.secondary,fontFamily:e.typography.fontFamily,fontWeight:e.typography.fontWeightMedium,fontSize:e.typography.pxToRem(14)},"primary"===t.color&&{color:(e.vars||e).palette.primary.main},"inherit"===t.color&&{color:"inherit"},!t.disableGutters&&{paddingLeft:16,paddingRight:16},t.inset&&{paddingLeft:72},!t.disableSticky&&{position:"sticky",top:0,zIndex:1,backgroundColor:(e.vars||e).palette.background.paper}))),m=i.forwardRef((function(e,t){const n=(0,c.Z)({props:e,name:"MuiListSubheader"}),{className:i,color:l="default",component:m="li",disableGutters:v=!1,disableSticky:g=!1,inset:y=!1}=n,b=(0,r.Z)(n,f),w=(0,o.Z)({},n,{color:l,component:m,disableGutters:v,disableSticky:g,inset:y}),x=(e=>{const{classes:t,color:n,disableGutters:r,inset:o,disableSticky:i}=e,a={root:["root","default"!==n&&`color${(0,u.Z)(n)}`,!r&&"gutters",o&&"inset",!i&&"sticky"]};return(0,s.Z)(a,d.s,t)})(w);return(0,p.jsx)(h,(0,o.Z)({as:m,className:(0,a.Z)(x.root,i),ref:t,ownerState:w},b))}));m.muiSkipListHighlight=!0;const v=m},83096:(e,t,n)=>{"use strict";n.d(t,{Z:()=>a,s:()=>i});var r=n(1588),o=n(34867);function i(e){return(0,o.Z)("MuiListSubheader",e)}const a=(0,r.Z)("MuiListSubheader",["root","colorPrimary","colorInherit","gutters","inset","sticky"])},24486:(e,t,n)=>{"use strict";n.d(t,{Z:()=>S});var r=n(87462),o=n(63366),i=n(74570),a=(n(59864),n(90512)),s=n(94780),l=n(7293),c=n(68976),u=n(90103),d=n(90948),p=n(2734),f=n(71657),h=n(272),m=n(85893);const v=["onEntering"],g=["autoFocus","children","className","disableAutoFocusItem","MenuListProps","onClose","open","PaperProps","PopoverClasses","transitionDuration","TransitionProps","variant","slots","slotProps"],y={vertical:"top",horizontal:"right"},b={vertical:"top",horizontal:"left"},w=(0,d.ZP)(u.ZP,{shouldForwardProp:e=>(0,d.FO)(e)||"classes"===e,name:"MuiMenu",slot:"Root",overridesResolver:(e,t)=>t.root})({}),x=(0,d.ZP)(u.XS,{name:"MuiMenu",slot:"Paper",overridesResolver:(e,t)=>t.paper})({maxHeight:"calc(100% - 96px)",WebkitOverflowScrolling:"touch"}),k=(0,d.ZP)(c.Z,{name:"MuiMenu",slot:"List",overridesResolver:(e,t)=>t.list})({outline:0}),S=i.forwardRef((function(e,t){var n,c;const u=(0,f.Z)({props:e,name:"MuiMenu"}),{autoFocus:d=!0,children:S,className:C,disableAutoFocusItem:E=!1,MenuListProps:T={},onClose:O,open:$,PaperProps:M={},PopoverClasses:A,transitionDuration:D="auto",TransitionProps:{onEntering:L}={},variant:N="selectedMenu",slots:R={},slotProps:I={}}=u,P=(0,o.Z)(u.TransitionProps,v),Z=(0,o.Z)(u,g),_=(0,p.Z)(),F="rtl"===_.direction,j=(0,r.Z)({},u,{autoFocus:d,disableAutoFocusItem:E,MenuListProps:T,onEntering:L,PaperProps:M,transitionDuration:D,TransitionProps:P,variant:N}),B=(e=>{const{classes:t}=e;return(0,s.Z)({root:["root"],paper:["paper"],list:["list"]},h.Q,t)})(j),z=d&&!E&&$,H=i.useRef(null);let U=-1;i.Children.map(S,((e,t)=>{i.isValidElement(e)&&(e.props.disabled||("selectedMenu"===N&&e.props.selected||-1===U)&&(U=t))}));const W=null!=(n=R.paper)?n:x,V=null!=(c=I.paper)?c:M,q=(0,l.y)({elementType:R.root,externalSlotProps:I.root,ownerState:j,className:[B.root,C]}),G=(0,l.y)({elementType:W,externalSlotProps:V,ownerState:j,className:B.paper});return(0,m.jsx)(w,(0,r.Z)({onClose:O,anchorOrigin:{vertical:"bottom",horizontal:F?"right":"left"},transformOrigin:F?y:b,slots:{paper:W,root:R.root},slotProps:{root:q,paper:G},open:$,ref:t,transitionDuration:D,TransitionProps:(0,r.Z)({onEntering:(e,t)=>{H.current&&H.current.adjustStyleForScrollbar(e,_),L&&L(e,t)}},P),ownerState:j},Z,{classes:A,children:(0,m.jsx)(k,(0,r.Z)({onKeyDown:e=>{"Tab"===e.key&&(e.preventDefault(),O&&O(e,"tabKeyDown"))},actions:H,autoFocus:d&&(-1===U||E),autoFocusItem:z,variant:N},T,{className:(0,a.Z)(B.list,T.className),children:S}))}))}))},272:(e,t,n)=>{"use strict";n.d(t,{Q:()=>i,Z:()=>a});var r=n(1588),o=n(34867);function i(e){return(0,o.Z)("MuiMenu",e)}const a=(0,r.Z)("MuiMenu",["root","paper","list"])},63931:(e,t,n)=>{"use strict";n.d(t,{Z:()=>k});var r=n(63366),o=n(87462),i=n(74570),a=n(90512),s=n(94780),l=n(41796),c=n(90948),u=n(71657),d=n(59773),p=n(62308),f=n(58974),h=n(51705),m=n(35097),v=n(84592),g=n(26336),y=n(42429),b=n(85893);const w=["autoFocus","component","dense","divider","disableGutters","focusVisibleClassName","role","tabIndex","className"],x=(0,c.ZP)(p.Z,{shouldForwardProp:e=>(0,c.FO)(e)||"classes"===e,name:"MuiMenuItem",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.dense&&t.dense,n.divider&&t.divider,!n.disableGutters&&t.gutters]}})((({theme:e,ownerState:t})=>(0,o.Z)({},e.typography.body1,{display:"flex",justifyContent:"flex-start",alignItems:"center",position:"relative",textDecoration:"none",minHeight:48,paddingTop:6,paddingBottom:6,boxSizing:"border-box",whiteSpace:"nowrap"},!t.disableGutters&&{paddingLeft:16,paddingRight:16},t.divider&&{borderBottom:`1px solid ${(e.vars||e).palette.divider}`,backgroundClip:"padding-box"},{"&:hover":{textDecoration:"none",backgroundColor:(e.vars||e).palette.action.hover,"@media (hover: none)":{backgroundColor:"transparent"}},[`&.${y.Z.selected}`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / ${e.vars.palette.action.selectedOpacity})`:(0,l.Fq)(e.palette.primary.main,e.palette.action.selectedOpacity),[`&.${y.Z.focusVisible}`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / calc(${e.vars.palette.action.selectedOpacity} + ${e.vars.palette.action.focusOpacity}))`:(0,l.Fq)(e.palette.primary.main,e.palette.action.selectedOpacity+e.palette.action.focusOpacity)}},[`&.${y.Z.selected}:hover`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / calc(${e.vars.palette.action.selectedOpacity} + ${e.vars.palette.action.hoverOpacity}))`:(0,l.Fq)(e.palette.primary.main,e.palette.action.selectedOpacity+e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / ${e.vars.palette.action.selectedOpacity})`:(0,l.Fq)(e.palette.primary.main,e.palette.action.selectedOpacity)}},[`&.${y.Z.focusVisible}`]:{backgroundColor:(e.vars||e).palette.action.focus},[`&.${y.Z.disabled}`]:{opacity:(e.vars||e).palette.action.disabledOpacity},[`& + .${m.Z.root}`]:{marginTop:e.spacing(1),marginBottom:e.spacing(1)},[`& + .${m.Z.inset}`]:{marginLeft:52},[`& .${g.Z.root}`]:{marginTop:0,marginBottom:0},[`& .${g.Z.inset}`]:{paddingLeft:36},[`& .${v.Z.root}`]:{minWidth:36}},!t.dense&&{[e.breakpoints.up("sm")]:{minHeight:"auto"}},t.dense&&(0,o.Z)({minHeight:32,paddingTop:4,paddingBottom:4},e.typography.body2,{[`& .${v.Z.root} svg`]:{fontSize:"1.25rem"}})))),k=i.forwardRef((function(e,t){const n=(0,u.Z)({props:e,name:"MuiMenuItem"}),{autoFocus:l=!1,component:c="li",dense:p=!1,divider:m=!1,disableGutters:v=!1,focusVisibleClassName:g,role:k="menuitem",tabIndex:S,className:C}=n,E=(0,r.Z)(n,w),T=i.useContext(d.Z),O=i.useMemo((()=>({dense:p||T.dense||!1,disableGutters:v})),[T.dense,p,v]),$=i.useRef(null);(0,f.Z)((()=>{l&&$.current&&$.current.focus()}),[l]);const M=(0,o.Z)({},n,{dense:O.dense,divider:m,disableGutters:v}),A=(e=>{const{disabled:t,dense:n,divider:r,disableGutters:i,selected:a,classes:l}=e,c={root:["root",n&&"dense",t&&"disabled",!i&&"gutters",r&&"divider",a&&"selected"]},u=(0,s.Z)(c,y.K,l);return(0,o.Z)({},l,u)})(n),D=(0,h.Z)($,t);let L;return n.disabled||(L=void 0!==S?S:-1),(0,b.jsx)(d.Z.Provider,{value:O,children:(0,b.jsx)(x,(0,o.Z)({ref:D,role:k,tabIndex:L,component:c,focusVisibleClassName:(0,a.Z)(A.focusVisible,g),className:(0,a.Z)(A.root,C)},E,{ownerState:M,classes:A}))})}))},42429:(e,t,n)=>{"use strict";n.d(t,{K:()=>i,Z:()=>a});var r=n(1588),o=n(34867);function i(e){return(0,o.Z)("MuiMenuItem",e)}const a=(0,r.Z)("MuiMenuItem",["root","focusVisible","dense","disabled","divider","gutters","selected"])},68976:(e,t,n)=>{"use strict";n.d(t,{Z:()=>g});var r=n(87462),o=n(63366),i=n(74570),a=(n(59864),n(8038)),s=n(18843),l=n(256),c=n(51705),u=n(58974),d=n(85893);const p=["actions","autoFocus","autoFocusItem","children","className","disabledItemsFocusable","disableListWrap","onKeyDown","variant"];function f(e,t,n){return e===t?e.firstChild:t&&t.nextElementSibling?t.nextElementSibling:n?null:e.firstChild}function h(e,t,n){return e===t?n?e.firstChild:e.lastChild:t&&t.previousElementSibling?t.previousElementSibling:n?null:e.lastChild}function m(e,t){if(void 0===t)return!0;let n=e.innerText;return void 0===n&&(n=e.textContent),n=n.trim().toLowerCase(),0!==n.length&&(t.repeating?n[0]===t.keys[0]:0===n.indexOf(t.keys.join("")))}function v(e,t,n,r,o,i){let a=!1,s=o(e,t,!!t&&n);for(;s;){if(s===e.firstChild){if(a)return!1;a=!0}const t=!r&&(s.disabled||"true"===s.getAttribute("aria-disabled"));if(s.hasAttribute("tabindex")&&m(s,i)&&!t)return s.focus(),!0;s=o(e,s,n)}return!1}const g=i.forwardRef((function(e,t){const{actions:n,autoFocus:g=!1,autoFocusItem:y=!1,children:b,className:w,disabledItemsFocusable:x=!1,disableListWrap:k=!1,onKeyDown:S,variant:C="selectedMenu"}=e,E=(0,o.Z)(e,p),T=i.useRef(null),O=i.useRef({keys:[],repeating:!0,previousKeyMatched:!0,lastTime:null});(0,u.Z)((()=>{g&&T.current.focus()}),[g]),i.useImperativeHandle(n,(()=>({adjustStyleForScrollbar:(e,t)=>{const n=!T.current.style.width;if(e.clientHeight<T.current.clientHeight&&n){const n=`${(0,l.Z)((0,a.Z)(e))}px`;T.current.style["rtl"===t.direction?"paddingLeft":"paddingRight"]=n,T.current.style.width=`calc(100% + ${n})`}return T.current}})),[]);const $=(0,c.Z)(T,t);let M=-1;i.Children.forEach(b,((e,t)=>{i.isValidElement(e)?(e.props.disabled||("selectedMenu"===C&&e.props.selected||-1===M)&&(M=t),M===t&&(e.props.disabled||e.props.muiSkipListHighlight||e.type.muiSkipListHighlight)&&(M+=1,M>=b.length&&(M=-1))):M===t&&(M+=1,M>=b.length&&(M=-1))}));const A=i.Children.map(b,((e,t)=>{if(t===M){const t={};return y&&(t.autoFocus=!0),void 0===e.props.tabIndex&&"selectedMenu"===C&&(t.tabIndex=0),i.cloneElement(e,t)}return e}));return(0,d.jsx)(s.Z,(0,r.Z)({role:"menu",ref:$,className:w,onKeyDown:e=>{const t=T.current,n=e.key,r=(0,a.Z)(t).activeElement;if("ArrowDown"===n)e.preventDefault(),v(t,r,k,x,f);else if("ArrowUp"===n)e.preventDefault(),v(t,r,k,x,h);else if("Home"===n)e.preventDefault(),v(t,null,k,x,f);else if("End"===n)e.preventDefault(),v(t,null,k,x,h);else if(1===n.length){const o=O.current,i=n.toLowerCase(),a=performance.now();o.keys.length>0&&(a-o.lastTime>500?(o.keys=[],o.repeating=!0,o.previousKeyMatched=!0):o.repeating&&i!==o.keys[0]&&(o.repeating=!1)),o.lastTime=a,o.keys.push(i);const s=r&&!o.repeating&&m(r,o);o.previousKeyMatched&&(s||v(t,r,!1,x,f,o))?e.preventDefault():o.previousKeyMatched=!1}S&&S(e)},tabIndex:g?0:-1},E,{children:A}))}))},25827:(e,t,n)=>{"use strict";n.d(t,{Z:()=>w});var r=n(63366),o=n(87462),i=n(74570),a=n(90512),s=n(7293),l=n(86118),c=n(94780),u=n(93470),d=n(78385),p=n(90948),f=n(71657),h=n(45889),m=n(1011),v=n(85893);const g=["BackdropComponent","BackdropProps","classes","className","closeAfterTransition","children","container","component","components","componentsProps","disableAutoFocus","disableEnforceFocus","disableEscapeKeyDown","disablePortal","disableRestoreFocus","disableScrollLock","hideBackdrop","keepMounted","onBackdropClick","onClose","onTransitionEnter","onTransitionExited","open","slotProps","slots","theme"],y=(0,p.ZP)("div",{name:"MuiModal",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,!n.open&&n.exited&&t.hidden]}})((({theme:e,ownerState:t})=>(0,o.Z)({position:"fixed",zIndex:(e.vars||e).zIndex.modal,right:0,bottom:0,top:0,left:0},!t.open&&t.exited&&{visibility:"hidden"}))),b=(0,p.ZP)(h.Z,{name:"MuiModal",slot:"Backdrop",overridesResolver:(e,t)=>t.backdrop})({zIndex:-1}),w=i.forwardRef((function(e,t){var n,p,h,w,x,k;const S=(0,f.Z)({name:"MuiModal",props:e}),{BackdropComponent:C=b,BackdropProps:E,className:T,closeAfterTransition:O=!1,children:$,container:M,component:A,components:D={},componentsProps:L={},disableAutoFocus:N=!1,disableEnforceFocus:R=!1,disableEscapeKeyDown:I=!1,disablePortal:P=!1,disableRestoreFocus:Z=!1,disableScrollLock:_=!1,hideBackdrop:F=!1,keepMounted:j=!1,onBackdropClick:B,open:z,slotProps:H,slots:U}=S,W=(0,r.Z)(S,g),V=(0,o.Z)({},S,{closeAfterTransition:O,disableAutoFocus:N,disableEnforceFocus:R,disableEscapeKeyDown:I,disablePortal:P,disableRestoreFocus:Z,disableScrollLock:_,hideBackdrop:F,keepMounted:j}),{getRootProps:q,getBackdropProps:G,getTransitionProps:K,portalRef:Y,isTopModal:X,exited:J,hasTransition:Q}=(0,l.d)((0,o.Z)({},V,{rootRef:t})),ee=(0,o.Z)({},V,{exited:J}),te=(e=>{const{open:t,exited:n,classes:r}=e,o={root:["root",!t&&n&&"hidden"],backdrop:["backdrop"]};return(0,c.Z)(o,m.x,r)})(ee),ne={};if(void 0===$.props.tabIndex&&(ne.tabIndex="-1"),Q){const{onEnter:e,onExited:t}=K();ne.onEnter=e,ne.onExited=t}const re=null!=(n=null!=(p=null==U?void 0:U.root)?p:D.Root)?n:y,oe=null!=(h=null!=(w=null==U?void 0:U.backdrop)?w:D.Backdrop)?h:C,ie=null!=(x=null==H?void 0:H.root)?x:L.root,ae=null!=(k=null==H?void 0:H.backdrop)?k:L.backdrop,se=(0,s.y)({elementType:re,externalSlotProps:ie,externalForwardedProps:W,getSlotProps:q,additionalProps:{ref:t,as:A},ownerState:ee,className:(0,a.Z)(T,null==ie?void 0:ie.className,null==te?void 0:te.root,!ee.open&&ee.exited&&(null==te?void 0:te.hidden))}),le=(0,s.y)({elementType:oe,externalSlotProps:ae,additionalProps:E,getSlotProps:e=>G((0,o.Z)({},e,{onClick:t=>{B&&B(t),null!=e&&e.onClick&&e.onClick(t)}})),className:(0,a.Z)(null==ae?void 0:ae.className,null==E?void 0:E.className,null==te?void 0:te.backdrop),ownerState:ee});return j||z||Q&&!J?(0,v.jsx)(d.h,{ref:Y,container:M,disablePortal:P,children:(0,v.jsxs)(re,(0,o.Z)({},se,{children:[!F&&C?(0,v.jsx)(oe,(0,o.Z)({},le)):null,(0,v.jsx)(u.i,{disableEnforceFocus:R,disableAutoFocus:N,disableRestoreFocus:Z,isEnabled:X,open:z,children:i.cloneElement($,ne)})]}))}):null}))},1011:(e,t,n)=>{"use strict";n.d(t,{Z:()=>a,x:()=>i});var r=n(1588),o=n(34867);function i(e){return(0,o.Z)("MuiModal",e)}const a=(0,r.Z)("MuiModal",["root","hidden","backdrop"])},35262:(e,t,n)=>{"use strict";n.d(t,{SJ:()=>m,ZP:()=>g,wU:()=>f});var r=n(63366),o=n(87462),i=n(74570),a=n(90512),s=n(94780),l=n(98216),c=n(12268),u=n(90948),d=n(85893);const p=["className","disabled","error","IconComponent","inputRef","variant"],f=({ownerState:e,theme:t})=>(0,o.Z)({MozAppearance:"none",WebkitAppearance:"none",userSelect:"none",borderRadius:0,cursor:"pointer","&:focus":(0,o.Z)({},t.vars?{backgroundColor:`rgba(${t.vars.palette.common.onBackgroundChannel} / 0.05)`}:{backgroundColor:"light"===t.palette.mode?"rgba(0, 0, 0, 0.05)":"rgba(255, 255, 255, 0.05)"},{borderRadius:0}),"&::-ms-expand":{display:"none"},[`&.${c.Z.disabled}`]:{cursor:"default"},"&[multiple]":{height:"auto"},"&:not([multiple]) option, &:not([multiple]) optgroup":{backgroundColor:(t.vars||t).palette.background.paper},"&&&":{paddingRight:24,minWidth:16}},"filled"===e.variant&&{"&&&":{paddingRight:32}},"outlined"===e.variant&&{borderRadius:(t.vars||t).shape.borderRadius,"&:focus":{borderRadius:(t.vars||t).shape.borderRadius},"&&&":{paddingRight:32}}),h=(0,u.ZP)("select",{name:"MuiNativeSelect",slot:"Select",shouldForwardProp:u.FO,overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.select,t[n.variant],n.error&&t.error,{[`&.${c.Z.multiple}`]:t.multiple}]}})(f),m=({ownerState:e,theme:t})=>(0,o.Z)({position:"absolute",right:0,top:"calc(50% - .5em)",pointerEvents:"none",color:(t.vars||t).palette.action.active,[`&.${c.Z.disabled}`]:{color:(t.vars||t).palette.action.disabled}},e.open&&{transform:"rotate(180deg)"},"filled"===e.variant&&{right:7},"outlined"===e.variant&&{right:7}),v=(0,u.ZP)("svg",{name:"MuiNativeSelect",slot:"Icon",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.icon,n.variant&&t[`icon${(0,l.Z)(n.variant)}`],n.open&&t.iconOpen]}})(m),g=i.forwardRef((function(e,t){const{className:n,disabled:u,error:f,IconComponent:m,inputRef:g,variant:y="standard"}=e,b=(0,r.Z)(e,p),w=(0,o.Z)({},e,{disabled:u,variant:y,error:f}),x=(e=>{const{classes:t,variant:n,disabled:r,multiple:o,open:i,error:a}=e,u={select:["select",n,r&&"disabled",o&&"multiple",a&&"error"],icon:["icon",`icon${(0,l.Z)(n)}`,i&&"iconOpen",r&&"disabled"]};return(0,s.Z)(u,c.f,t)})(w);return(0,d.jsxs)(i.Fragment,{children:[(0,d.jsx)(h,(0,o.Z)({ownerState:w,className:(0,a.Z)(x.select,n),disabled:u,ref:g||t},b)),e.multiple?null:(0,d.jsx)(v,{as:m,ownerState:w,className:x.icon})]})}))},12268:(e,t,n)=>{"use strict";n.d(t,{Z:()=>a,f:()=>i});var r=n(1588),o=n(34867);function i(e){return(0,o.Z)("MuiNativeSelect",e)}const a=(0,r.Z)("MuiNativeSelect",["root","select","multiple","filled","outlined","standard","disabled","icon","iconOpen","iconFilled","iconOutlined","iconStandard","nativeInput","error"])},3201:(e,t,n)=>{"use strict";n.d(t,{Z:()=>d});var r,o=n(63366),i=n(87462),a=(n(74570),n(90948)),s=n(85893);const l=["children","classes","className","label","notched"],c=(0,a.ZP)("fieldset")({textAlign:"left",position:"absolute",bottom:0,right:0,top:-5,left:0,margin:0,padding:"0 8px",pointerEvents:"none",borderRadius:"inherit",borderStyle:"solid",borderWidth:1,overflow:"hidden",minWidth:"0%"}),u=(0,a.ZP)("legend")((({ownerState:e,theme:t})=>(0,i.Z)({float:"unset",width:"auto",overflow:"hidden"},!e.withLabel&&{padding:0,lineHeight:"11px",transition:t.transitions.create("width",{duration:150,easing:t.transitions.easing.easeOut})},e.withLabel&&(0,i.Z)({display:"block",padding:0,height:11,fontSize:"0.75em",visibility:"hidden",maxWidth:.01,transition:t.transitions.create("max-width",{duration:50,easing:t.transitions.easing.easeOut}),whiteSpace:"nowrap","& > span":{paddingLeft:5,paddingRight:5,display:"inline-block",opacity:0,visibility:"visible"}},e.notched&&{maxWidth:"100%",transition:t.transitions.create("max-width",{duration:100,easing:t.transitions.easing.easeOut,delay:50})}))));function d(e){const{className:t,label:n,notched:a}=e,d=(0,o.Z)(e,l),p=null!=n&&""!==n,f=(0,i.Z)({},e,{notched:a,withLabel:p});return(0,s.jsx)(c,(0,i.Z)({"aria-hidden":!0,className:t,ownerState:f},d,{children:(0,s.jsx)(u,{ownerState:f,children:p?(0,s.jsx)("span",{children:n}):r||(r=(0,s.jsx)("span",{className:"notranslate",children:""}))})}))}},99460:(e,t,n)=>{"use strict";n.d(t,{Z:()=>w});var r=n(63366),o=n(87462),i=n(74570),a=n(94780),s=n(3201),l=n(74423),c=n(15704),u=n(90948),d=n(54656),p=n(78543),f=n(71657),h=n(85893);const m=["components","fullWidth","inputComponent","label","multiline","notched","slots","type"],v=(0,u.ZP)(p.Ej,{shouldForwardProp:e=>(0,u.FO)(e)||"classes"===e,name:"MuiOutlinedInput",slot:"Root",overridesResolver:p.Gx})((({theme:e,ownerState:t})=>{const n="light"===e.palette.mode?"rgba(0, 0, 0, 0.23)":"rgba(255, 255, 255, 0.23)";return(0,o.Z)({position:"relative",borderRadius:(e.vars||e).shape.borderRadius,[`&:hover .${d.Z.notchedOutline}`]:{borderColor:(e.vars||e).palette.text.primary},"@media (hover: none)":{[`&:hover .${d.Z.notchedOutline}`]:{borderColor:e.vars?`rgba(${e.vars.palette.common.onBackgroundChannel} / 0.23)`:n}},[`&.${d.Z.focused} .${d.Z.notchedOutline}`]:{borderColor:(e.vars||e).palette[t.color].main,borderWidth:2},[`&.${d.Z.error} .${d.Z.notchedOutline}`]:{borderColor:(e.vars||e).palette.error.main},[`&.${d.Z.disabled} .${d.Z.notchedOutline}`]:{borderColor:(e.vars||e).palette.action.disabled}},t.startAdornment&&{paddingLeft:14},t.endAdornment&&{paddingRight:14},t.multiline&&(0,o.Z)({padding:"16.5px 14px"},"small"===t.size&&{padding:"8.5px 14px"}))})),g=(0,u.ZP)(s.Z,{name:"MuiOutlinedInput",slot:"NotchedOutline",overridesResolver:(e,t)=>t.notchedOutline})((({theme:e})=>{const t="light"===e.palette.mode?"rgba(0, 0, 0, 0.23)":"rgba(255, 255, 255, 0.23)";return{borderColor:e.vars?`rgba(${e.vars.palette.common.onBackgroundChannel} / 0.23)`:t}})),y=(0,u.ZP)(p.rA,{name:"MuiOutlinedInput",slot:"Input",overridesResolver:p._o})((({theme:e,ownerState:t})=>(0,o.Z)({padding:"16.5px 14px"},!e.vars&&{"&:-webkit-autofill":{WebkitBoxShadow:"light"===e.palette.mode?null:"0 0 0 100px #266798 inset",WebkitTextFillColor:"light"===e.palette.mode?null:"#fff",caretColor:"light"===e.palette.mode?null:"#fff",borderRadius:"inherit"}},e.vars&&{"&:-webkit-autofill":{borderRadius:"inherit"},[e.getColorSchemeSelector("dark")]:{"&:-webkit-autofill":{WebkitBoxShadow:"0 0 0 100px #266798 inset",WebkitTextFillColor:"#fff",caretColor:"#fff"}}},"small"===t.size&&{padding:"8.5px 14px"},t.multiline&&{padding:0},t.startAdornment&&{paddingLeft:0},t.endAdornment&&{paddingRight:0}))),b=i.forwardRef((function(e,t){var n,s,u,b,w;const x=(0,f.Z)({props:e,name:"MuiOutlinedInput"}),{components:k={},fullWidth:S=!1,inputComponent:C="input",label:E,multiline:T=!1,notched:O,slots:$={},type:M="text"}=x,A=(0,r.Z)(x,m),D=(e=>{const{classes:t}=e,n=(0,a.Z)({root:["root"],notchedOutline:["notchedOutline"],input:["input"]},d.e,t);return(0,o.Z)({},t,n)})(x),L=(0,l.Z)(),N=(0,c.Z)({props:x,muiFormControl:L,states:["color","disabled","error","focused","hiddenLabel","size","required"]}),R=(0,o.Z)({},x,{color:N.color||"primary",disabled:N.disabled,error:N.error,focused:N.focused,formControl:L,fullWidth:S,hiddenLabel:N.hiddenLabel,multiline:T,size:N.size,type:M}),I=null!=(n=null!=(s=$.root)?s:k.Root)?n:v,P=null!=(u=null!=(b=$.input)?b:k.Input)?u:y;return(0,h.jsx)(p.ZP,(0,o.Z)({slots:{root:I,input:P},renderSuffix:e=>(0,h.jsx)(g,{ownerState:R,className:D.notchedOutline,label:null!=E&&""!==E&&N.required?w||(w=(0,h.jsxs)(i.Fragment,{children:[E," ","*"]})):E,notched:void 0!==O?O:Boolean(e.startAdornment||e.filled||e.focused)}),fullWidth:S,inputComponent:C,multiline:T,ref:t,type:M},A,{classes:(0,o.Z)({},D,{notchedOutline:null})}))}));b.muiName="Input";const w=b},54656:(e,t,n)=>{"use strict";n.d(t,{Z:()=>l,e:()=>s});var r=n(87462),o=n(1588),i=n(34867),a=n(55827);function s(e){return(0,i.Z)("MuiOutlinedInput",e)}const l=(0,r.Z)({},a.Z,(0,o.Z)("MuiOutlinedInput",["root","notchedOutline","input"]))},21987:(e,t,n)=>{"use strict";n.d(t,{Z:()=>v});var r=n(63366),o=n(87462),i=n(74570),a=n(90512),s=n(94780),l=n(41796),c=n(90948),u=n(72029),d=n(71657),p=n(53160),f=n(85893);const h=["className","component","elevation","square","variant"],m=(0,c.ZP)("div",{name:"MuiPaper",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,t[n.variant],!n.square&&t.rounded,"elevation"===n.variant&&t[`elevation${n.elevation}`]]}})((({theme:e,ownerState:t})=>{var n;return(0,o.Z)({backgroundColor:(e.vars||e).palette.background.paper,color:(e.vars||e).palette.text.primary,transition:e.transitions.create("box-shadow")},!t.square&&{borderRadius:e.shape.borderRadius},"outlined"===t.variant&&{border:`1px solid ${(e.vars||e).palette.divider}`},"elevation"===t.variant&&(0,o.Z)({boxShadow:(e.vars||e).shadows[t.elevation]},!e.vars&&"dark"===e.palette.mode&&{backgroundImage:`linear-gradient(${(0,l.Fq)("#fff",(0,u.Z)(t.elevation))}, ${(0,l.Fq)("#fff",(0,u.Z)(t.elevation))})`},e.vars&&{backgroundImage:null==(n=e.vars.overlays)?void 0:n[t.elevation]}))})),v=i.forwardRef((function(e,t){const n=(0,d.Z)({props:e,name:"MuiPaper"}),{className:i,component:l="div",elevation:c=1,square:u=!1,variant:v="elevation"}=n,g=(0,r.Z)(n,h),y=(0,o.Z)({},n,{component:l,elevation:c,square:u,variant:v}),b=(e=>{const{square:t,elevation:n,variant:r,classes:o}=e,i={root:["root",r,!t&&"rounded","elevation"===r&&`elevation${n}`]};return(0,s.Z)(i,p.J,o)})(y);return(0,f.jsx)(m,(0,o.Z)({as:l,ownerState:y,className:(0,a.Z)(b.root,i),ref:t},g))}))},53160:(e,t,n)=>{"use strict";n.d(t,{J:()=>i,Z:()=>a});var r=n(1588),o=n(34867);function i(e){return(0,o.Z)("MuiPaper",e)}const a=(0,r.Z)("MuiPaper",["root","rounded","outlined","elevation","elevation0","elevation1","elevation2","elevation3","elevation4","elevation5","elevation6","elevation7","elevation8","elevation9","elevation10","elevation11","elevation12","elevation13","elevation14","elevation15","elevation16","elevation17","elevation18","elevation19","elevation20","elevation21","elevation22","elevation23","elevation24"])},90103:(e,t,n)=>{"use strict";n.d(t,{Pg:()=>$,XS:()=>M,ZP:()=>A,oJ:()=>C,pB:()=>E});var r=n(87462),o=n(63366),i=n(74570),a=n(90512),s=n(94780),l=n(7293),c=n(28442),u=n(90948),d=n(71657),p=n(57144),f=n(8038),h=n(5340),m=n(51705),v=n(96514),g=n(25827),y=n(21987),b=n(3994),w=n(85893);const x=["onEntering"],k=["action","anchorEl","anchorOrigin","anchorPosition","anchorReference","children","className","container","elevation","marginThreshold","open","PaperProps","slots","slotProps","transformOrigin","TransitionComponent","transitionDuration","TransitionProps","disableScrollLock"],S=["slotProps"];function C(e,t){let n=0;return"number"==typeof t?n=t:"center"===t?n=e.height/2:"bottom"===t&&(n=e.height),n}function E(e,t){let n=0;return"number"==typeof t?n=t:"center"===t?n=e.width/2:"right"===t&&(n=e.width),n}function T(e){return[e.horizontal,e.vertical].map((e=>"number"==typeof e?`${e}px`:e)).join(" ")}function O(e){return"function"==typeof e?e():e}const $=(0,u.ZP)(g.Z,{name:"MuiPopover",slot:"Root",overridesResolver:(e,t)=>t.root})({}),M=(0,u.ZP)(y.Z,{name:"MuiPopover",slot:"Paper",overridesResolver:(e,t)=>t.paper})({position:"absolute",overflowY:"auto",overflowX:"hidden",minWidth:16,minHeight:16,maxWidth:"calc(100% - 32px)",maxHeight:"calc(100% - 32px)",outline:0}),A=i.forwardRef((function(e,t){var n,u,g;const y=(0,d.Z)({props:e,name:"MuiPopover"}),{action:A,anchorEl:D,anchorOrigin:L={vertical:"top",horizontal:"left"},anchorPosition:N,anchorReference:R="anchorEl",children:I,className:P,container:Z,elevation:_=8,marginThreshold:F=16,open:j,PaperProps:B={},slots:z,slotProps:H,transformOrigin:U={vertical:"top",horizontal:"left"},TransitionComponent:W=v.Z,transitionDuration:V="auto",TransitionProps:{onEntering:q}={},disableScrollLock:G=!1}=y,K=(0,o.Z)(y.TransitionProps,x),Y=(0,o.Z)(y,k),X=null!=(n=null==H?void 0:H.paper)?n:B,J=i.useRef(),Q=(0,m.Z)(J,X.ref),ee=(0,r.Z)({},y,{anchorOrigin:L,anchorReference:R,elevation:_,marginThreshold:F,externalPaperSlotProps:X,transformOrigin:U,TransitionComponent:W,transitionDuration:V,TransitionProps:K}),te=(e=>{const{classes:t}=e;return(0,s.Z)({root:["root"],paper:["paper"]},b.s,t)})(ee),ne=i.useCallback((()=>{if("anchorPosition"===R)return N;const e=O(D),t=(e&&1===e.nodeType?e:(0,f.Z)(J.current).body).getBoundingClientRect();return{top:t.top+C(t,L.vertical),left:t.left+E(t,L.horizontal)}}),[D,L.horizontal,L.vertical,N,R]),re=i.useCallback((e=>({vertical:C(e,U.vertical),horizontal:E(e,U.horizontal)})),[U.horizontal,U.vertical]),oe=i.useCallback((e=>{const t={width:e.offsetWidth,height:e.offsetHeight},n=re(t);if("none"===R)return{top:null,left:null,transformOrigin:T(n)};const r=ne();let o=r.top-n.vertical,i=r.left-n.horizontal;const a=o+t.height,s=i+t.width,l=(0,h.Z)(O(D)),c=l.innerHeight-F,u=l.innerWidth-F;if(null!==F&&o<F){const e=o-F;o-=e,n.vertical+=e}else if(null!==F&&a>c){const e=a-c;o-=e,n.vertical+=e}if(null!==F&&i<F){const e=i-F;i-=e,n.horizontal+=e}else if(s>u){const e=s-u;i-=e,n.horizontal+=e}return{top:`${Math.round(o)}px`,left:`${Math.round(i)}px`,transformOrigin:T(n)}}),[D,R,ne,re,F]),[ie,ae]=i.useState(j),se=i.useCallback((()=>{const e=J.current;if(!e)return;const t=oe(e);null!==t.top&&(e.style.top=t.top),null!==t.left&&(e.style.left=t.left),e.style.transformOrigin=t.transformOrigin,ae(!0)}),[oe]);i.useEffect((()=>(G&&window.addEventListener("scroll",se),()=>window.removeEventListener("scroll",se))),[D,G,se]);i.useEffect((()=>{j&&se()})),i.useImperativeHandle(A,(()=>j?{updatePosition:()=>{se()}}:null),[j,se]),i.useEffect((()=>{if(!j)return;const e=(0,p.Z)((()=>{se()})),t=(0,h.Z)(D);return t.addEventListener("resize",e),()=>{e.clear(),t.removeEventListener("resize",e)}}),[D,j,se]);let le=V;"auto"!==V||W.muiSupportAuto||(le=void 0);const ce=Z||(D?(0,f.Z)(O(D)).body:void 0),ue=null!=(u=null==z?void 0:z.root)?u:$,de=null!=(g=null==z?void 0:z.paper)?g:M,pe=(0,l.y)({elementType:de,externalSlotProps:(0,r.Z)({},X,{style:ie?X.style:(0,r.Z)({},X.style,{opacity:0})}),additionalProps:{elevation:_,ref:Q},ownerState:ee,className:(0,a.Z)(te.paper,null==X?void 0:X.className)}),fe=(0,l.y)({elementType:ue,externalSlotProps:(null==H?void 0:H.root)||{},externalForwardedProps:Y,additionalProps:{ref:t,slotProps:{backdrop:{invisible:!0}},container:ce,open:j},ownerState:ee,className:(0,a.Z)(te.root,P)}),{slotProps:he}=fe,me=(0,o.Z)(fe,S);return(0,w.jsx)(ue,(0,r.Z)({},me,!(0,c.X)(ue)&&{slotProps:he,disableScrollLock:G},{children:(0,w.jsx)(W,(0,r.Z)({appear:!0,in:j,onEntering:(e,t)=>{q&&q(e,t),se()},onExited:()=>{ae(!1)},timeout:le},K,{children:(0,w.jsx)(de,(0,r.Z)({},pe,{children:I}))}))}))}))},3994:(e,t,n)=>{"use strict";n.d(t,{Z:()=>a,s:()=>i});var r=n(1588),o=n(34867);function i(e){return(0,o.Z)("MuiPopover",e)}const a=(0,r.Z)("MuiPopover",["root","paper"])},38584:(e,t,n)=>{"use strict";n.d(t,{Z:()=>f});var r=n(87462),o=n(63366),i=n(65561),a=n(34168),s=n(74570),l=n(90948),c=n(71657),u=n(85893);const d=["anchorEl","component","components","componentsProps","container","disablePortal","keepMounted","modifiers","open","placement","popperOptions","popperRef","transition","slots","slotProps"],p=(0,l.ZP)(i.r,{name:"MuiPopper",slot:"Root",overridesResolver:(e,t)=>t.root})({}),f=s.forwardRef((function(e,t){var n;const i=(0,a.Z)(),s=(0,c.Z)({props:e,name:"MuiPopper"}),{anchorEl:l,component:f,components:h,componentsProps:m,container:v,disablePortal:g,keepMounted:y,modifiers:b,open:w,placement:x,popperOptions:k,popperRef:S,transition:C,slots:E,slotProps:T}=s,O=(0,o.Z)(s,d),$=null!=(n=null==E?void 0:E.root)?n:null==h?void 0:h.Root,M=(0,r.Z)({anchorEl:l,container:v,disablePortal:g,keepMounted:y,modifiers:b,open:w,placement:x,popperOptions:k,popperRef:S,transition:C},O);return(0,u.jsx)(p,(0,r.Z)({as:f,direction:null==i?void 0:i.direction,slots:{root:$},slotProps:null!=T?T:m},M,{ref:t}))}))},95126:(e,t,n)=>{"use strict";n.d(t,{Z:()=>R});var r=n(63366),o=n(87462),i=n(74570),a=n(90512),s=n(13113),l=n(94780),c=n(2734),u=n(98216),d=n(27909),p=n(49299),f=n(79674),h=n(51705),m=n(82066),v=n(85893);const g=(0,m.Z)((0,v.jsx)("path",{d:"M12 17.27L18.18 21l-1.64-7.03L22 9.24l-7.19-.61L12 2 9.19 8.63 2 9.24l5.46 4.73L5.82 21z"}),"Star"),y=(0,m.Z)((0,v.jsx)("path",{d:"M22 9.24l-7.19-.62L12 2 9.19 8.63 2 9.24l5.46 4.73L5.82 21 12 17.27 18.18 21l-1.63-7.03L22 9.24zM12 15.4l-3.76 2.27 1-4.28-3.32-2.88 4.38-.38L12 6.1l1.71 4.04 4.38.38-3.32 2.88 1 4.28L12 15.4z"}),"StarBorder");var b=n(71657),w=n(90948),x=n(2409);const k=["value"],S=["className","defaultValue","disabled","emptyIcon","emptyLabelText","getLabelText","highlightSelectedOnly","icon","IconContainerComponent","max","name","onChange","onChangeActive","onMouseLeave","onMouseMove","precision","readOnly","size","value"];function C(e,t){if(null==e)return e;const n=Math.round(e/t)*t;return Number(n.toFixed(function(e){const t=e.toString().split(".")[1];return t?t.length:0}(t)))}const E=(0,w.ZP)("span",{name:"MuiRating",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[{[`& .${x.Z.visuallyHidden}`]:t.visuallyHidden},t.root,t[`size${(0,u.Z)(n.size)}`],n.readOnly&&t.readOnly]}})((({theme:e,ownerState:t})=>(0,o.Z)({display:"inline-flex",position:"relative",fontSize:e.typography.pxToRem(24),color:"#faaf00",cursor:"pointer",textAlign:"left",WebkitTapHighlightColor:"transparent",[`&.${x.Z.disabled}`]:{opacity:(e.vars||e).palette.action.disabledOpacity,pointerEvents:"none"},[`&.${x.Z.focusVisible} .${x.Z.iconActive}`]:{outline:"1px solid #999"},[`& .${x.Z.visuallyHidden}`]:s.Z},"small"===t.size&&{fontSize:e.typography.pxToRem(18)},"large"===t.size&&{fontSize:e.typography.pxToRem(30)},t.readOnly&&{pointerEvents:"none"}))),T=(0,w.ZP)("label",{name:"MuiRating",slot:"Label",overridesResolver:({ownerState:e},t)=>[t.label,e.emptyValueFocused&&t.labelEmptyValueActive]})((({ownerState:e})=>(0,o.Z)({cursor:"inherit"},e.emptyValueFocused&&{top:0,bottom:0,position:"absolute",outline:"1px solid #999",width:"100%"}))),O=(0,w.ZP)("span",{name:"MuiRating",slot:"Icon",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.icon,n.iconEmpty&&t.iconEmpty,n.iconFilled&&t.iconFilled,n.iconHover&&t.iconHover,n.iconFocus&&t.iconFocus,n.iconActive&&t.iconActive]}})((({theme:e,ownerState:t})=>(0,o.Z)({display:"flex",transition:e.transitions.create("transform",{duration:e.transitions.duration.shortest}),pointerEvents:"none"},t.iconActive&&{transform:"scale(1.2)"},t.iconEmpty&&{color:(e.vars||e).palette.action.disabled}))),$=(0,w.ZP)("span",{name:"MuiRating",slot:"Decimal",shouldForwardProp:e=>(0,w.Dz)(e)&&"iconActive"!==e,overridesResolver:(e,t)=>{const{iconActive:n}=e;return[t.decimal,n&&t.iconActive]}})((({iconActive:e})=>(0,o.Z)({position:"relative"},e&&{transform:"scale(1.2)"})));function M(e){const t=(0,r.Z)(e,k);return(0,v.jsx)("span",(0,o.Z)({},t))}function A(e){const{classes:t,disabled:n,emptyIcon:r,focus:s,getLabelText:l,highlightSelectedOnly:c,hover:u,icon:p,IconContainerComponent:f,isActive:h,itemValue:m,labelProps:g,name:y,onBlur:b,onChange:w,onClick:x,onFocus:k,readOnly:S,ownerState:C,ratingValue:E,ratingValueRounded:$}=e,M=c?m===E:m<=E,A=m<=u,D=m<=s,L=m===$,N=(0,d.Z)(),R=(0,v.jsx)(O,{as:f,value:m,className:(0,a.Z)(t.icon,M?t.iconFilled:t.iconEmpty,A&&t.iconHover,D&&t.iconFocus,h&&t.iconActive),ownerState:(0,o.Z)({},C,{iconEmpty:!M,iconFilled:M,iconHover:A,iconFocus:D,iconActive:h}),children:r&&!M?r:p});return S?(0,v.jsx)("span",(0,o.Z)({},g,{children:R})):(0,v.jsxs)(i.Fragment,{children:[(0,v.jsxs)(T,(0,o.Z)({ownerState:(0,o.Z)({},C,{emptyValueFocused:void 0}),htmlFor:N},g,{children:[R,(0,v.jsx)("span",{className:t.visuallyHidden,children:l(m)})]})),(0,v.jsx)("input",{className:t.visuallyHidden,onFocus:k,onBlur:b,onChange:w,onClick:x,disabled:n,value:m,id:N,type:"radio",name:y,checked:L})]})}const D=(0,v.jsx)(g,{fontSize:"inherit"}),L=(0,v.jsx)(y,{fontSize:"inherit"});function N(e){return`${e} Star${1!==e?"s":""}`}const R=i.forwardRef((function(e,t){const n=(0,b.Z)({name:"MuiRating",props:e}),{className:s,defaultValue:m=null,disabled:g=!1,emptyIcon:y=L,emptyLabelText:w="Empty",getLabelText:k=N,highlightSelectedOnly:O=!1,icon:R=D,IconContainerComponent:I=M,max:P=5,name:Z,onChange:_,onChangeActive:F,onMouseLeave:j,onMouseMove:B,precision:z=1,readOnly:H=!1,size:U="medium",value:W}=n,V=(0,r.Z)(n,S),q=(0,d.Z)(Z),[G,K]=(0,p.Z)({controlled:W,default:m,name:"Rating"}),Y=C(G,z),X=(0,c.Z)(),[{hover:J,focus:Q},ee]=i.useState({hover:-1,focus:-1});let te=Y;-1!==J&&(te=J),-1!==Q&&(te=Q);const{isFocusVisibleRef:ne,onBlur:re,onFocus:oe,ref:ie}=(0,f.Z)(),[ae,se]=i.useState(!1),le=i.useRef(),ce=(0,h.Z)(ie,le,t),ue=e=>{let t=""===e.target.value?null:parseFloat(e.target.value);-1!==J&&(t=J),K(t),_&&_(e,t)},de=e=>{0===e.clientX&&0===e.clientY||(ee({hover:-1,focus:-1}),K(null),_&&parseFloat(e.target.value)===Y&&_(e,null))},pe=e=>{oe(e),!0===ne.current&&se(!0);const t=parseFloat(e.target.value);ee((e=>({hover:e.hover,focus:t})))},fe=e=>{if(-1!==J)return;re(e),!1===ne.current&&se(!1);ee((e=>({hover:e.hover,focus:-1})))},[he,me]=i.useState(!1),ve=(0,o.Z)({},n,{defaultValue:m,disabled:g,emptyIcon:y,emptyLabelText:w,emptyValueFocused:he,focusVisible:ae,getLabelText:k,icon:R,IconContainerComponent:I,max:P,precision:z,readOnly:H,size:U}),ge=(e=>{const{classes:t,size:n,readOnly:r,disabled:o,emptyValueFocused:i,focusVisible:a}=e,s={root:["root",`size${(0,u.Z)(n)}`,o&&"disabled",a&&"focusVisible",r&&"readOnly"],label:["label","pristine"],labelEmptyValue:[i&&"labelEmptyValueActive"],icon:["icon"],iconEmpty:["iconEmpty"],iconFilled:["iconFilled"],iconHover:["iconHover"],iconFocus:["iconFocus"],iconActive:["iconActive"],decimal:["decimal"],visuallyHidden:["visuallyHidden"]};return(0,l.Z)(s,x.s,t)})(ve);return(0,v.jsxs)(E,(0,o.Z)({ref:ce,onMouseMove:e=>{B&&B(e);const t=le.current,{right:n,left:r}=t.getBoundingClientRect(),{width:o}=t.firstChild.getBoundingClientRect();let i;i="rtl"===X.direction?(n-e.clientX)/(o*P):(e.clientX-r)/(o*P);let a=C(P*i+z/2,z);a=function(e,t,n){return e<t?t:e>n?n:e}(a,z,P),ee((e=>e.hover===a&&e.focus===a?e:{hover:a,focus:a})),se(!1),F&&J!==a&&F(e,a)},onMouseLeave:e=>{j&&j(e);ee({hover:-1,focus:-1}),F&&-1!==J&&F(e,-1)},className:(0,a.Z)(ge.root,s,H&&"MuiRating-readOnly"),ownerState:ve,role:H?"img":null,"aria-label":H?k(te):null},V,{children:[Array.from(new Array(P)).map(((e,t)=>{const n=t+1,r={classes:ge,disabled:g,emptyIcon:y,focus:Q,getLabelText:k,highlightSelectedOnly:O,hover:J,icon:R,IconContainerComponent:I,name:q,onBlur:fe,onChange:ue,onClick:de,onFocus:pe,ratingValue:te,ratingValueRounded:Y,readOnly:H,ownerState:ve},i=n===Math.ceil(te)&&(-1!==J||-1!==Q);if(z<1){const e=Array.from(new Array(1/z));return(0,v.jsx)($,{className:(0,a.Z)(ge.decimal,i&&ge.iconActive),ownerState:ve,iconActive:i,children:e.map(((t,i)=>{const a=C(n-1+(i+1)*z,z);return(0,v.jsx)(A,(0,o.Z)({},r,{isActive:!1,itemValue:a,labelProps:{style:e.length-1===i?{}:{width:a===te?(i+1)*z*100+"%":"0%",overflow:"hidden",position:"absolute"}}}),a)}))},n)}return(0,v.jsx)(A,(0,o.Z)({},r,{isActive:i,itemValue:n}),n)})),!H&&!g&&(0,v.jsxs)(T,{className:(0,a.Z)(ge.label,ge.labelEmptyValue),ownerState:ve,children:[(0,v.jsx)("input",{className:ge.visuallyHidden,value:"",id:`${q}-empty`,type:"radio",name:q,checked:null==Y,onFocus:()=>me(!0),onBlur:()=>me(!1),onChange:ue}),(0,v.jsx)("span",{className:ge.visuallyHidden,children:w})]})]}))}))},2409:(e,t,n)=>{"use strict";n.d(t,{Z:()=>a,s:()=>i});var r=n(1588),o=n(34867);function i(e){return(0,o.Z)("MuiRating",e)}const a=(0,r.Z)("MuiRating",["root","sizeSmall","sizeMedium","sizeLarge","readOnly","disabled","focusVisible","visuallyHidden","pristine","label","labelEmptyValueActive","icon","iconEmpty","iconFilled","iconHover","iconFocus","iconActive","decimal"])},16012:(e,t,n)=>{"use strict";n.d(t,{Z:()=>O});var r=n(87462),o=n(63366),i=n(74570),a=n(90512),s=n(59766),l=n(71334),c=n(15704),u=n(74423),d=n(60224),p=n(79332),f=n(35262),h=n(6135),m=n(99460),v=n(71657),g=n(51705),y=n(90948),b=n(85893);const w=["autoWidth","children","classes","className","defaultOpen","displayEmpty","IconComponent","id","input","inputProps","label","labelId","MenuProps","multiple","native","onClose","onOpen","open","renderValue","SelectDisplayProps","variant"],x=["root"],k={name:"MuiSelect",overridesResolver:(e,t)=>t.root,shouldForwardProp:e=>(0,y.FO)(e)&&"variant"!==e,slot:"Root"},S=(0,y.ZP)(p.Z,k)(""),C=(0,y.ZP)(m.Z,k)(""),E=(0,y.ZP)(h.Z,k)(""),T=i.forwardRef((function(e,t){const n=(0,v.Z)({name:"MuiSelect",props:e}),{autoWidth:p=!1,children:h,classes:m={},className:y,defaultOpen:k=!1,displayEmpty:T=!1,IconComponent:O=d.Z,id:$,input:M,inputProps:A,label:D,labelId:L,MenuProps:N,multiple:R=!1,native:I=!1,onClose:P,onOpen:Z,open:_,renderValue:F,SelectDisplayProps:j,variant:B="outlined"}=n,z=(0,o.Z)(n,w),H=I?f.ZP:l.Z,U=(0,u.Z)(),W=(0,c.Z)({props:n,muiFormControl:U,states:["variant","error"]}),V=W.variant||B,q=(0,r.Z)({},n,{variant:V,classes:m}),G=(e=>{const{classes:t}=e;return t})(q),K=(0,o.Z)(G,x),Y=M||{standard:(0,b.jsx)(S,{ownerState:q}),outlined:(0,b.jsx)(C,{label:D,ownerState:q}),filled:(0,b.jsx)(E,{ownerState:q})}[V],X=(0,g.Z)(t,Y.ref);return(0,b.jsx)(i.Fragment,{children:i.cloneElement(Y,(0,r.Z)({inputComponent:H,inputProps:(0,r.Z)({children:h,error:W.error,IconComponent:O,variant:V,type:void 0,multiple:R},I?{id:$}:{autoWidth:p,defaultOpen:k,displayEmpty:T,labelId:L,MenuProps:N,onClose:P,onOpen:Z,open:_,renderValue:F,SelectDisplayProps:(0,r.Z)({id:$},j)},A,{classes:A?(0,s.Z)(K,A.classes):K},M?M.props.inputProps:{})},R&&I&&"outlined"===V?{notched:!0}:{},{ref:X,className:(0,a.Z)(Y.props.className,y,G.root)},!M&&{variant:V},z))})}));T.muiName="Select";const O=T},71334:(e,t,n)=>{"use strict";n.d(t,{Z:()=>T});var r,o=n(87462),i=n(63366),a=n(71387),s=n(74570),l=(n(59864),n(90512)),c=n(94780),u=n(8038),d=n(98216),p=n(24486),f=n(35262),h=n(5108),m=n(90948),v=n(51705),g=n(49299),y=n(95603),b=n(85893);const w=["aria-describedby","aria-label","autoFocus","autoWidth","children","className","defaultOpen","defaultValue","disabled","displayEmpty","error","IconComponent","inputRef","labelId","MenuProps","multiple","name","onBlur","onChange","onClose","onFocus","onOpen","open","readOnly","renderValue","SelectDisplayProps","tabIndex","type","value","variant"],x=(0,m.ZP)("div",{name:"MuiSelect",slot:"Select",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[{[`&.${y.Z.select}`]:t.select},{[`&.${y.Z.select}`]:t[n.variant]},{[`&.${y.Z.error}`]:t.error},{[`&.${y.Z.multiple}`]:t.multiple}]}})(f.wU,{[`&.${y.Z.select}`]:{height:"auto",minHeight:"1.4375em",textOverflow:"ellipsis",whiteSpace:"nowrap",overflow:"hidden"}}),k=(0,m.ZP)("svg",{name:"MuiSelect",slot:"Icon",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.icon,n.variant&&t[`icon${(0,d.Z)(n.variant)}`],n.open&&t.iconOpen]}})(f.SJ),S=(0,m.ZP)("input",{shouldForwardProp:e=>(0,m.Dz)(e)&&"classes"!==e,name:"MuiSelect",slot:"NativeInput",overridesResolver:(e,t)=>t.nativeInput})({bottom:0,left:0,position:"absolute",opacity:0,pointerEvents:"none",width:"100%",boxSizing:"border-box"});function C(e,t){return"object"==typeof t&&null!==t?e===t:String(e)===String(t)}function E(e){return null==e||"string"==typeof e&&!e.trim()}const T=s.forwardRef((function(e,t){var n;const{"aria-describedby":f,"aria-label":m,autoFocus:T,autoWidth:O,children:$,className:M,defaultOpen:A,defaultValue:D,disabled:L,displayEmpty:N,error:R=!1,IconComponent:I,inputRef:P,labelId:Z,MenuProps:_={},multiple:F,name:j,onBlur:B,onChange:z,onClose:H,onFocus:U,onOpen:W,open:V,readOnly:q,renderValue:G,SelectDisplayProps:K={},tabIndex:Y,value:X,variant:J="standard"}=e,Q=(0,i.Z)(e,w),[ee,te]=(0,g.Z)({controlled:X,default:D,name:"Select"}),[ne,re]=(0,g.Z)({controlled:V,default:A,name:"Select"}),oe=s.useRef(null),ie=s.useRef(null),[ae,se]=s.useState(null),{current:le}=s.useRef(null!=V),[ce,ue]=s.useState(),de=(0,v.Z)(t,P),pe=s.useCallback((e=>{ie.current=e,e&&se(e)}),[]),fe=null==ae?void 0:ae.parentNode;s.useImperativeHandle(de,(()=>({focus:()=>{ie.current.focus()},node:oe.current,value:ee})),[ee]),s.useEffect((()=>{A&&ne&&ae&&!le&&(ue(O?null:fe.clientWidth),ie.current.focus())}),[ae,O]),s.useEffect((()=>{T&&ie.current.focus()}),[T]),s.useEffect((()=>{if(!Z)return;const e=(0,u.Z)(ie.current).getElementById(Z);if(e){const t=()=>{getSelection().isCollapsed&&ie.current.focus()};return e.addEventListener("click",t),()=>{e.removeEventListener("click",t)}}}),[Z]);const he=(e,t)=>{e?W&&W(t):H&&H(t),le||(ue(O?null:fe.clientWidth),re(e))},me=s.Children.toArray($),ve=e=>t=>{let n;if(t.currentTarget.hasAttribute("tabindex")){if(F){n=Array.isArray(ee)?ee.slice():[];const t=ee.indexOf(e.props.value);-1===t?n.push(e.props.value):n.splice(t,1)}else n=e.props.value;if(e.props.onClick&&e.props.onClick(t),ee!==n&&(te(n),z)){const r=t.nativeEvent||t,o=new r.constructor(r.type,r);Object.defineProperty(o,"target",{writable:!0,value:{value:n,name:j}}),z(o,e)}F||he(!1,t)}},ge=null!==ae&≠let ye,be;delete Q["aria-invalid"];const we=[];let xe=!1,ke=!1;((0,h.vd)({value:ee})||N)&&(G?ye=G(ee):xe=!0);const Se=me.map((e=>{if(!s.isValidElement(e))return null;let t;if(F){if(!Array.isArray(ee))throw new Error((0,a.Z)(2));t=ee.some((t=>C(t,e.props.value))),t&&xe&&we.push(e.props.children)}else t=C(ee,e.props.value),t&&xe&&(be=e.props.children);return t&&(ke=!0),s.cloneElement(e,{"aria-selected":t?"true":"false",onClick:ve(e),onKeyUp:t=>{" "===t.key&&t.preventDefault(),e.props.onKeyUp&&e.props.onKeyUp(t)},role:"option",selected:t,value:void 0,"data-value":e.props.value})}));xe&&(ye=F?0===we.length?null:we.reduce(((e,t,n)=>(e.push(t),n<we.length-1&&e.push(", "),e)),[]):be);let Ce,Ee=ce;!O&&le&&ae&&(Ee=fe.clientWidth),Ce=void 0!==Y?Y:L?null:0;const Te=K.id||(j?`mui-component-select-${j}`:void 0),Oe=(0,o.Z)({},e,{variant:J,value:ee,open:ge,error:R}),$e=(e=>{const{classes:t,variant:n,disabled:r,multiple:o,open:i,error:a}=e,s={select:["select",n,r&&"disabled",o&&"multiple",a&&"error"],icon:["icon",`icon${(0,d.Z)(n)}`,i&&"iconOpen",r&&"disabled"],nativeInput:["nativeInput"]};return(0,c.Z)(s,y.o,t)})(Oe),Me=(0,o.Z)({},_.PaperProps,null==(n=_.slotProps)?void 0:n.paper);return(0,b.jsxs)(s.Fragment,{children:[(0,b.jsx)(x,(0,o.Z)({ref:pe,tabIndex:Ce,role:"button","aria-disabled":L?"true":void 0,"aria-expanded":ge?"true":"false","aria-haspopup":"listbox","aria-label":m,"aria-labelledby":[Z,Te].filter(Boolean).join(" ")||void 0,"aria-describedby":f,onKeyDown:e=>{if(!q){-1!==[" ","ArrowUp","ArrowDown","Enter"].indexOf(e.key)&&(e.preventDefault(),he(!0,e))}},onMouseDown:L||q?null:e=>{0===e.button&&(e.preventDefault(),ie.current.focus(),he(!0,e))},onBlur:e=>{!ge&&B&&(Object.defineProperty(e,"target",{writable:!0,value:{value:ee,name:j}}),B(e))},onFocus:U},K,{ownerState:Oe,className:(0,l.Z)(K.className,$e.select,M),id:Te,children:E(ye)?r||(r=(0,b.jsx)("span",{className:"notranslate",children:""})):ye})),(0,b.jsx)(S,(0,o.Z)({"aria-invalid":R,value:Array.isArray(ee)?ee.join(","):ee,name:j,ref:oe,"aria-hidden":!0,onChange:e=>{const t=me.find((t=>t.props.value===e.target.value));void 0!==t&&(te(t.props.value),z&&z(e,t))},tabIndex:-1,disabled:L,className:$e.nativeInput,autoFocus:T,ownerState:Oe},Q)),(0,b.jsx)(k,{as:I,className:$e.icon,ownerState:Oe}),(0,b.jsx)(p.Z,(0,o.Z)({id:`menu-${j||""}`,anchorEl:fe,open:ge,onClose:e=>{he(!1,e)},anchorOrigin:{vertical:"bottom",horizontal:"center"},transformOrigin:{vertical:"top",horizontal:"center"}},_,{MenuListProps:(0,o.Z)({"aria-labelledby":Z,role:"listbox",disableListWrap:!0},_.MenuListProps),slotProps:{paper:(0,o.Z)({},Me,{style:(0,o.Z)({minWidth:Ee},null!=Me?Me.style:null)})},children:Se}))]})}))},95603:(e,t,n)=>{"use strict";n.d(t,{Z:()=>a,o:()=>i});var r=n(1588),o=n(34867);function i(e){return(0,o.Z)("MuiSelect",e)}const a=(0,r.Z)("MuiSelect",["root","select","multiple","filled","outlined","standard","disabled","focused","icon","iconOpen","iconFilled","iconOutlined","iconStandard","nativeInput","error"])},22054:(e,t,n)=>{"use strict";n.d(t,{Z:()=>C});var r=n(63366),o=n(87462),i=n(74570),a=n(90512),s=n(70917),l=n(94780),c=n(88606),u=n(41796),d=n(90948),p=n(71657),f=n(3472),h=n(85893);const m=["animation","className","component","height","style","variant","width"];let v,g,y,b,w=e=>e;const x=(0,s.F4)(v||(v=w`
0% {
opacity: 1;
}
50% {
opacity: 0.4;
}
100% {
opacity: 1;
}
`)),k=(0,s.F4)(g||(g=w`
0% {
transform: translateX(-100%);
}
50% {
/* +0.5s of delay between each loop */
transform: translateX(100%);
}
100% {
transform: translateX(100%);
}
`)),S=(0,d.ZP)("span",{name:"MuiSkeleton",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,t[n.variant],!1!==n.animation&&t[n.animation],n.hasChildren&&t.withChildren,n.hasChildren&&!n.width&&t.fitContent,n.hasChildren&&!n.height&&t.heightAuto]}})((({theme:e,ownerState:t})=>{const n=(0,c.Wy)(e.shape.borderRadius)||"px",r=(0,c.YL)(e.shape.borderRadius);return(0,o.Z)({display:"block",backgroundColor:e.vars?e.vars.palette.Skeleton.bg:(0,u.Fq)(e.palette.text.primary,"light"===e.palette.mode?.11:.13),height:"1.2em"},"text"===t.variant&&{marginTop:0,marginBottom:0,height:"auto",transformOrigin:"0 55%",transform:"scale(1, 0.60)",borderRadius:`${r}${n}/${Math.round(r/.6*10)/10}${n}`,"&:empty:before":{content:'"\\00a0"'}},"circular"===t.variant&&{borderRadius:"50%"},"rounded"===t.variant&&{borderRadius:(e.vars||e).shape.borderRadius},t.hasChildren&&{"& > *":{visibility:"hidden"}},t.hasChildren&&!t.width&&{maxWidth:"fit-content"},t.hasChildren&&!t.height&&{height:"auto"})}),(({ownerState:e})=>"pulse"===e.animation&&(0,s.iv)(y||(y=w`
animation: ${0} 2s ease-in-out 0.5s infinite;
`),x)),(({ownerState:e,theme:t})=>"wave"===e.animation&&(0,s.iv)(b||(b=w`
position: relative;
overflow: hidden;
/* Fix bug in Safari https://bugs.webkit.org/show_bug.cgi?id=68196 */
-webkit-mask-image: -webkit-radial-gradient(white, black);
&::after {
animation: ${0} 2s linear 0.5s infinite;
background: linear-gradient(
90deg,
transparent,
${0},
transparent
);
content: '';
position: absolute;
transform: translateX(-100%); /* Avoid flash during server-side hydration */
bottom: 0;
left: 0;
right: 0;
top: 0;
}
`),k,(t.vars||t).palette.action.hover))),C=i.forwardRef((function(e,t){const n=(0,p.Z)({props:e,name:"MuiSkeleton"}),{animation:i="pulse",className:s,component:c="span",height:u,style:d,variant:v="text",width:g}=n,y=(0,r.Z)(n,m),b=(0,o.Z)({},n,{animation:i,component:c,variant:v,hasChildren:Boolean(y.children)}),w=(e=>{const{classes:t,variant:n,animation:r,hasChildren:o,width:i,height:a}=e,s={root:["root",n,r,o&&"withChildren",o&&!i&&"fitContent",o&&!a&&"heightAuto"]};return(0,l.Z)(s,f.B,t)})(b);return(0,h.jsx)(S,(0,o.Z)({as:c,ref:t,className:(0,a.Z)(w.root,s),ownerState:b},y,{style:(0,o.Z)({width:g,height:u},d)}))}))},3472:(e,t,n)=>{"use strict";n.d(t,{B:()=>i,Z:()=>a});var r=n(1588),o=n(34867);function i(e){return(0,o.Z)("MuiSkeleton",e)}const a=(0,r.Z)("MuiSkeleton",["root","text","rectangular","rounded","circular","pulse","wave","withChildren","fitContent","heightAuto"])},54776:(e,t,n)=>{"use strict";n.d(t,{Z:()=>m});var r=n(87462),o=n(63366),i=n(74570),a=n(96630),s=n(57144),l=n(51705),c=n(2734),u=n(30577),d=n(5340),p=n(85893);const f=["addEndListener","appear","children","container","direction","easing","in","onEnter","onEntered","onEntering","onExit","onExited","onExiting","style","timeout","TransitionComponent"];function h(e,t,n){var r;const o=function(e,t,n){const r=t.getBoundingClientRect(),o=n&&n.getBoundingClientRect(),i=(0,d.Z)(t);let a;if(t.fakeTransform)a=t.fakeTransform;else{const e=i.getComputedStyle(t);a=e.getPropertyValue("-webkit-transform")||e.getPropertyValue("transform")}let s=0,l=0;if(a&&"none"!==a&&"string"==typeof a){const e=a.split("(")[1].split(")")[0].split(",");s=parseInt(e[4],10),l=parseInt(e[5],10)}return"left"===e?o?`translateX(${o.right+s-r.left}px)`:`translateX(${i.innerWidth+s-r.left}px)`:"right"===e?o?`translateX(-${r.right-o.left-s}px)`:`translateX(-${r.left+r.width-s}px)`:"up"===e?o?`translateY(${o.bottom+l-r.top}px)`:`translateY(${i.innerHeight+l-r.top}px)`:o?`translateY(-${r.top-o.top+r.height-l}px)`:`translateY(-${r.top+r.height-l}px)`}(e,t,"function"==typeof(r=n)?r():r);o&&(t.style.webkitTransform=o,t.style.transform=o)}const m=i.forwardRef((function(e,t){const n=(0,c.Z)(),m={enter:n.transitions.easing.easeOut,exit:n.transitions.easing.sharp},v={enter:n.transitions.duration.enteringScreen,exit:n.transitions.duration.leavingScreen},{addEndListener:g,appear:y=!0,children:b,container:w,direction:x="down",easing:k=m,in:S,onEnter:C,onEntered:E,onEntering:T,onExit:O,onExited:$,onExiting:M,style:A,timeout:D=v,TransitionComponent:L=a.ZP}=e,N=(0,o.Z)(e,f),R=i.useRef(null),I=(0,l.Z)(b.ref,R,t),P=e=>t=>{e&&(void 0===t?e(R.current):e(R.current,t))},Z=P(((e,t)=>{h(x,e,w),(0,u.n)(e),C&&C(e,t)})),_=P(((e,t)=>{const o=(0,u.C)({timeout:D,style:A,easing:k},{mode:"enter"});e.style.webkitTransition=n.transitions.create("-webkit-transform",(0,r.Z)({},o)),e.style.transition=n.transitions.create("transform",(0,r.Z)({},o)),e.style.webkitTransform="none",e.style.transform="none",T&&T(e,t)})),F=P(E),j=P(M),B=P((e=>{const t=(0,u.C)({timeout:D,style:A,easing:k},{mode:"exit"});e.style.webkitTransition=n.transitions.create("-webkit-transform",t),e.style.transition=n.transitions.create("transform",t),h(x,e,w),O&&O(e)})),z=P((e=>{e.style.webkitTransition="",e.style.transition="",$&&$(e)})),H=i.useCallback((()=>{R.current&&h(x,R.current,w)}),[x,w]);return i.useEffect((()=>{if(S||"down"===x||"right"===x)return;const e=(0,s.Z)((()=>{R.current&&h(x,R.current,w)})),t=(0,d.Z)(R.current);return t.addEventListener("resize",e),()=>{e.clear(),t.removeEventListener("resize",e)}}),[x,S,w]),i.useEffect((()=>{S||H()}),[S,H]),(0,p.jsx)(L,(0,r.Z)({nodeRef:R,onEnter:Z,onEntered:F,onEntering:_,onExit:B,onExited:z,onExiting:j,addEndListener:e=>{g&&g(R.current,e)},appear:y,in:S,timeout:D},N,{children:(e,t)=>i.cloneElement(b,(0,r.Z)({ref:I,style:(0,r.Z)({visibility:"exited"!==e||S?void 0:"hidden"},A,b.props.style)},t))}))}))},26447:(e,t,n)=>{"use strict";n.d(t,{Z:()=>a});var r=n(1819),o=n(90948),i=n(71657);const a=(0,r.Z)({createStyledComponent:(0,o.ZP)("div",{name:"MuiStack",slot:"Root",overridesResolver:(e,t)=>t.root}),useThemeProps:e=>(0,i.Z)({props:e,name:"MuiStack"})})},2373:(e,t,n)=>{"use strict";n.d(t,{Z:()=>v});var r=n(87462),o=n(63366),i=n(74570),a=n(90512),s=n(94780),l=n(98216),c=n(71657),u=n(90948),d=n(62994),p=n(85893);const f=["children","className","color","component","fontSize","htmlColor","inheritViewBox","titleAccess","viewBox"],h=(0,u.ZP)("svg",{name:"MuiSvgIcon",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,"inherit"!==n.color&&t[`color${(0,l.Z)(n.color)}`],t[`fontSize${(0,l.Z)(n.fontSize)}`]]}})((({theme:e,ownerState:t})=>{var n,r,o,i,a,s,l,c,u,d,p,f,h;return{userSelect:"none",width:"1em",height:"1em",display:"inline-block",fill:t.hasSvgAsChild?void 0:"currentColor",flexShrink:0,transition:null==(n=e.transitions)||null==(r=n.create)?void 0:r.call(n,"fill",{duration:null==(o=e.transitions)||null==(o=o.duration)?void 0:o.shorter}),fontSize:{inherit:"inherit",small:(null==(i=e.typography)||null==(a=i.pxToRem)?void 0:a.call(i,20))||"1.25rem",medium:(null==(s=e.typography)||null==(l=s.pxToRem)?void 0:l.call(s,24))||"1.5rem",large:(null==(c=e.typography)||null==(u=c.pxToRem)?void 0:u.call(c,35))||"2.1875rem"}[t.fontSize],color:null!=(d=null==(p=(e.vars||e).palette)||null==(p=p[t.color])?void 0:p.main)?d:{action:null==(f=(e.vars||e).palette)||null==(f=f.action)?void 0:f.active,disabled:null==(h=(e.vars||e).palette)||null==(h=h.action)?void 0:h.disabled,inherit:void 0}[t.color]}})),m=i.forwardRef((function(e,t){const n=(0,c.Z)({props:e,name:"MuiSvgIcon"}),{children:u,className:m,color:v="inherit",component:g="svg",fontSize:y="medium",htmlColor:b,inheritViewBox:w=!1,titleAccess:x,viewBox:k="0 0 24 24"}=n,S=(0,o.Z)(n,f),C=i.isValidElement(u)&&"svg"===u.type,E=(0,r.Z)({},n,{color:v,component:g,fontSize:y,instanceFontSize:e.fontSize,inheritViewBox:w,viewBox:k,hasSvgAsChild:C}),T={};w||(T.viewBox=k);const O=(e=>{const{color:t,fontSize:n,classes:r}=e,o={root:["root","inherit"!==t&&`color${(0,l.Z)(t)}`,`fontSize${(0,l.Z)(n)}`]};return(0,s.Z)(o,d.h,r)})(E);return(0,p.jsxs)(h,(0,r.Z)({as:g,className:(0,a.Z)(O.root,m),focusable:"false",color:b,"aria-hidden":!x||void 0,role:x?"img":void 0,ref:t},T,S,C&&u.props,{ownerState:E,children:[C?u.props.children:u,x?(0,p.jsx)("title",{children:x}):null]}))}));m.muiName="SvgIcon";const v=m},62994:(e,t,n)=>{"use strict";n.d(t,{Z:()=>a,h:()=>i});var r=n(1588),o=n(34867);function i(e){return(0,o.Z)("MuiSvgIcon",e)}const a=(0,r.Z)("MuiSvgIcon",["root","colorPrimary","colorSecondary","colorAction","colorError","colorDisabled","fontSizeInherit","fontSizeSmall","fontSizeMedium","fontSizeLarge"])},22715:(e,t,n)=>{"use strict";n.d(t,{Z:()=>S});var r=n(87462),o=n(63366),i=n(74570),a=n(90512),s=n(94780),l=n(92996),c=n(90948),u=n(71657),d=n(79332),p=n(6135),f=n(99460),h=n(60076),m=n(53640),v=n(74509),g=n(16012),y=n(58275),b=n(85893);const w=["autoComplete","autoFocus","children","className","color","defaultValue","disabled","error","FormHelperTextProps","fullWidth","helperText","id","InputLabelProps","inputProps","InputProps","inputRef","label","maxRows","minRows","multiline","name","onBlur","onChange","onFocus","placeholder","required","rows","select","SelectProps","type","value","variant"],x={standard:d.Z,filled:p.Z,outlined:f.Z},k=(0,c.ZP)(m.Z,{name:"MuiTextField",slot:"Root",overridesResolver:(e,t)=>t.root})({}),S=i.forwardRef((function(e,t){const n=(0,u.Z)({props:e,name:"MuiTextField"}),{autoComplete:i,autoFocus:c=!1,children:d,className:p,color:f="primary",defaultValue:m,disabled:S=!1,error:C=!1,FormHelperTextProps:E,fullWidth:T=!1,helperText:O,id:$,InputLabelProps:M,inputProps:A,InputProps:D,inputRef:L,label:N,maxRows:R,minRows:I,multiline:P=!1,name:Z,onBlur:_,onChange:F,onFocus:j,placeholder:B,required:z=!1,rows:H,select:U=!1,SelectProps:W,type:V,value:q,variant:G="outlined"}=n,K=(0,o.Z)(n,w),Y=(0,r.Z)({},n,{autoFocus:c,color:f,disabled:S,error:C,fullWidth:T,multiline:P,required:z,select:U,variant:G}),X=(e=>{const{classes:t}=e;return(0,s.Z)({root:["root"]},y.I,t)})(Y);const J={};"outlined"===G&&(M&&void 0!==M.shrink&&(J.notched=M.shrink),J.label=N),U&&(W&&W.native||(J.id=void 0),J["aria-describedby"]=void 0);const Q=(0,l.Z)($),ee=O&&Q?`${Q}-helper-text`:void 0,te=N&&Q?`${Q}-label`:void 0,ne=x[G],re=(0,b.jsx)(ne,(0,r.Z)({"aria-describedby":ee,autoComplete:i,autoFocus:c,defaultValue:m,fullWidth:T,multiline:P,name:Z,rows:H,maxRows:R,minRows:I,type:V,value:q,id:Q,inputRef:L,onBlur:_,onChange:F,onFocus:j,placeholder:B,inputProps:A},J,D));return(0,b.jsxs)(k,(0,r.Z)({className:(0,a.Z)(X.root,p),disabled:S,error:C,fullWidth:T,ref:t,required:z,color:f,variant:G,ownerState:Y},K,{children:[null!=N&&""!==N&&(0,b.jsx)(h.Z,(0,r.Z)({htmlFor:Q,id:te},M,{children:N})),U?(0,b.jsx)(g.Z,(0,r.Z)({"aria-describedby":ee,id:Q,labelId:te,value:q,input:re},W,{children:d})):re,O&&(0,b.jsx)(v.Z,(0,r.Z)({id:ee},E,{children:O}))]}))}))},58275:(e,t,n)=>{"use strict";n.d(t,{I:()=>i,Z:()=>a});var r=n(1588),o=n(34867);function i(e){return(0,o.Z)("MuiTextField",e)}const a=(0,r.Z)("MuiTextField",["root"])},21023:(e,t,n)=>{"use strict";n.d(t,{Z:()=>D});var r=n(63366),o=n(87462),i=n(74570),a=n(90512),s=n(94780),l=n(10238),c=n(41796),u=n(90948),d=n(2734),p=n(71657),f=n(98216),h=n(96514),m=n(38584),v=n(2068),g=n(51705),y=n(27909),b=n(79674),w=n(49299),x=n(48999),k=n(85893);const S=["arrow","children","classes","components","componentsProps","describeChild","disableFocusListener","disableHoverListener","disableInteractive","disableTouchListener","enterDelay","enterNextDelay","enterTouchDelay","followCursor","id","leaveDelay","leaveTouchDelay","onClose","onOpen","open","placement","PopperComponent","PopperProps","slotProps","slots","title","TransitionComponent","TransitionProps"];const C=(0,u.ZP)(m.Z,{name:"MuiTooltip",slot:"Popper",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.popper,!n.disableInteractive&&t.popperInteractive,n.arrow&&t.popperArrow,!n.open&&t.popperClose]}})((({theme:e,ownerState:t,open:n})=>(0,o.Z)({zIndex:(e.vars||e).zIndex.tooltip,pointerEvents:"none"},!t.disableInteractive&&{pointerEvents:"auto"},!n&&{pointerEvents:"none"},t.arrow&&{[`&[data-popper-placement*="bottom"] .${x.Z.arrow}`]:{top:0,marginTop:"-0.71em","&::before":{transformOrigin:"0 100%"}},[`&[data-popper-placement*="top"] .${x.Z.arrow}`]:{bottom:0,marginBottom:"-0.71em","&::before":{transformOrigin:"100% 0"}},[`&[data-popper-placement*="right"] .${x.Z.arrow}`]:(0,o.Z)({},t.isRtl?{right:0,marginRight:"-0.71em"}:{left:0,marginLeft:"-0.71em"},{height:"1em",width:"0.71em","&::before":{transformOrigin:"100% 100%"}}),[`&[data-popper-placement*="left"] .${x.Z.arrow}`]:(0,o.Z)({},t.isRtl?{left:0,marginLeft:"-0.71em"}:{right:0,marginRight:"-0.71em"},{height:"1em",width:"0.71em","&::before":{transformOrigin:"0 0"}})}))),E=(0,u.ZP)("div",{name:"MuiTooltip",slot:"Tooltip",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.tooltip,n.touch&&t.touch,n.arrow&&t.tooltipArrow,t[`tooltipPlacement${(0,f.Z)(n.placement.split("-")[0])}`]]}})((({theme:e,ownerState:t})=>{return(0,o.Z)({backgroundColor:e.vars?e.vars.palette.Tooltip.bg:(0,c.Fq)(e.palette.grey[700],.92),borderRadius:(e.vars||e).shape.borderRadius,color:(e.vars||e).palette.common.white,fontFamily:e.typography.fontFamily,padding:"4px 8px",fontSize:e.typography.pxToRem(11),maxWidth:300,margin:2,wordWrap:"break-word",fontWeight:e.typography.fontWeightMedium},t.arrow&&{position:"relative",margin:0},t.touch&&{padding:"8px 16px",fontSize:e.typography.pxToRem(14),lineHeight:(n=16/14,Math.round(1e5*n)/1e5)+"em",fontWeight:e.typography.fontWeightRegular},{[`.${x.Z.popper}[data-popper-placement*="left"] &`]:(0,o.Z)({transformOrigin:"right center"},t.isRtl?(0,o.Z)({marginLeft:"14px"},t.touch&&{marginLeft:"24px"}):(0,o.Z)({marginRight:"14px"},t.touch&&{marginRight:"24px"})),[`.${x.Z.popper}[data-popper-placement*="right"] &`]:(0,o.Z)({transformOrigin:"left center"},t.isRtl?(0,o.Z)({marginRight:"14px"},t.touch&&{marginRight:"24px"}):(0,o.Z)({marginLeft:"14px"},t.touch&&{marginLeft:"24px"})),[`.${x.Z.popper}[data-popper-placement*="top"] &`]:(0,o.Z)({transformOrigin:"center bottom",marginBottom:"14px"},t.touch&&{marginBottom:"24px"}),[`.${x.Z.popper}[data-popper-placement*="bottom"] &`]:(0,o.Z)({transformOrigin:"center top",marginTop:"14px"},t.touch&&{marginTop:"24px"})});var n})),T=(0,u.ZP)("span",{name:"MuiTooltip",slot:"Arrow",overridesResolver:(e,t)=>t.arrow})((({theme:e})=>({overflow:"hidden",position:"absolute",width:"1em",height:"0.71em",boxSizing:"border-box",color:e.vars?e.vars.palette.Tooltip.bg:(0,c.Fq)(e.palette.grey[700],.9),"&::before":{content:'""',margin:"auto",display:"block",width:"100%",height:"100%",backgroundColor:"currentColor",transform:"rotate(45deg)"}})));let O=!1,$=null,M={x:0,y:0};function A(e,t){return n=>{t&&t(n),e(n)}}const D=i.forwardRef((function(e,t){var n,c,u,D,L,N,R,I,P,Z,_,F,j,B,z,H,U,W,V;const q=(0,p.Z)({props:e,name:"MuiTooltip"}),{arrow:G=!1,children:K,components:Y={},componentsProps:X={},describeChild:J=!1,disableFocusListener:Q=!1,disableHoverListener:ee=!1,disableInteractive:te=!1,disableTouchListener:ne=!1,enterDelay:re=100,enterNextDelay:oe=0,enterTouchDelay:ie=700,followCursor:ae=!1,id:se,leaveDelay:le=0,leaveTouchDelay:ce=1500,onClose:ue,onOpen:de,open:pe,placement:fe="bottom",PopperComponent:he,PopperProps:me={},slotProps:ve={},slots:ge={},title:ye,TransitionComponent:be=h.Z,TransitionProps:we}=q,xe=(0,r.Z)(q,S),ke=i.isValidElement(K)?K:(0,k.jsx)("span",{children:K}),Se=(0,d.Z)(),Ce="rtl"===Se.direction,[Ee,Te]=i.useState(),[Oe,$e]=i.useState(null),Me=i.useRef(!1),Ae=te||ae,De=i.useRef(),Le=i.useRef(),Ne=i.useRef(),Re=i.useRef(),[Ie,Pe]=(0,w.Z)({controlled:pe,default:!1,name:"Tooltip",state:"open"});let Ze=Ie;const _e=(0,y.Z)(se),Fe=i.useRef(),je=i.useCallback((()=>{void 0!==Fe.current&&(document.body.style.WebkitUserSelect=Fe.current,Fe.current=void 0),clearTimeout(Re.current)}),[]);i.useEffect((()=>()=>{clearTimeout(De.current),clearTimeout(Le.current),clearTimeout(Ne.current),je()}),[je]);const Be=e=>{clearTimeout($),O=!0,Pe(!0),de&&!Ze&&de(e)},ze=(0,v.Z)((e=>{clearTimeout($),$=setTimeout((()=>{O=!1}),800+le),Pe(!1),ue&&Ze&&ue(e),clearTimeout(De.current),De.current=setTimeout((()=>{Me.current=!1}),Se.transitions.duration.shortest)})),He=e=>{Me.current&&"touchstart"!==e.type||(Ee&&Ee.removeAttribute("title"),clearTimeout(Le.current),clearTimeout(Ne.current),re||O&&oe?Le.current=setTimeout((()=>{Be(e)}),O?oe:re):Be(e))},Ue=e=>{clearTimeout(Le.current),clearTimeout(Ne.current),Ne.current=setTimeout((()=>{ze(e)}),le)},{isFocusVisibleRef:We,onBlur:Ve,onFocus:qe,ref:Ge}=(0,b.Z)(),[,Ke]=i.useState(!1),Ye=e=>{Ve(e),!1===We.current&&(Ke(!1),Ue(e))},Xe=e=>{Ee||Te(e.currentTarget),qe(e),!0===We.current&&(Ke(!0),He(e))},Je=e=>{Me.current=!0;const t=ke.props;t.onTouchStart&&t.onTouchStart(e)},Qe=He,et=Ue,tt=e=>{Je(e),clearTimeout(Ne.current),clearTimeout(De.current),je(),Fe.current=document.body.style.WebkitUserSelect,document.body.style.WebkitUserSelect="none",Re.current=setTimeout((()=>{document.body.style.WebkitUserSelect=Fe.current,He(e)}),ie)},nt=e=>{ke.props.onTouchEnd&&ke.props.onTouchEnd(e),je(),clearTimeout(Ne.current),Ne.current=setTimeout((()=>{ze(e)}),ce)};i.useEffect((()=>{if(Ze)return document.addEventListener("keydown",e),()=>{document.removeEventListener("keydown",e)};function e(e){"Escape"!==e.key&&"Esc"!==e.key||ze(e)}}),[ze,Ze]);const rt=(0,g.Z)(ke.ref,Ge,Te,t);ye||0===ye||(Ze=!1);const ot=i.useRef(),it={},at="string"==typeof ye;J?(it.title=Ze||!at||ee?null:ye,it["aria-describedby"]=Ze?_e:null):(it["aria-label"]=at?ye:null,it["aria-labelledby"]=Ze&&!at?_e:null);const st=(0,o.Z)({},it,xe,ke.props,{className:(0,a.Z)(xe.className,ke.props.className),onTouchStart:Je,ref:rt},ae?{onMouseMove:e=>{const t=ke.props;t.onMouseMove&&t.onMouseMove(e),M={x:e.clientX,y:e.clientY},ot.current&&ot.current.update()}}:{});const lt={};ne||(st.onTouchStart=tt,st.onTouchEnd=nt),ee||(st.onMouseOver=A(Qe,st.onMouseOver),st.onMouseLeave=A(et,st.onMouseLeave),Ae||(lt.onMouseOver=Qe,lt.onMouseLeave=et)),Q||(st.onFocus=A(Xe,st.onFocus),st.onBlur=A(Ye,st.onBlur),Ae||(lt.onFocus=Xe,lt.onBlur=Ye));const ct=i.useMemo((()=>{var e;let t=[{name:"arrow",enabled:Boolean(Oe),options:{element:Oe,padding:4}}];return null!=(e=me.popperOptions)&&e.modifiers&&(t=t.concat(me.popperOptions.modifiers)),(0,o.Z)({},me.popperOptions,{modifiers:t})}),[Oe,me]),ut=(0,o.Z)({},q,{isRtl:Ce,arrow:G,disableInteractive:Ae,placement:fe,PopperComponentProp:he,touch:Me.current}),dt=(e=>{const{classes:t,disableInteractive:n,arrow:r,touch:o,placement:i}=e,a={popper:["popper",!n&&"popperInteractive",r&&"popperArrow"],tooltip:["tooltip",r&&"tooltipArrow",o&&"touch",`tooltipPlacement${(0,f.Z)(i.split("-")[0])}`],arrow:["arrow"]};return(0,s.Z)(a,x.Q,t)})(ut),pt=null!=(n=null!=(c=ge.popper)?c:Y.Popper)?n:C,ft=null!=(u=null!=(D=null!=(L=ge.transition)?L:Y.Transition)?D:be)?u:h.Z,ht=null!=(N=null!=(R=ge.tooltip)?R:Y.Tooltip)?N:E,mt=null!=(I=null!=(P=ge.arrow)?P:Y.Arrow)?I:T,vt=(0,l.$)(pt,(0,o.Z)({},me,null!=(Z=ve.popper)?Z:X.popper,{className:(0,a.Z)(dt.popper,null==me?void 0:me.className,null==(_=null!=(F=ve.popper)?F:X.popper)?void 0:_.className)}),ut),gt=(0,l.$)(ft,(0,o.Z)({},we,null!=(j=ve.transition)?j:X.transition),ut),yt=(0,l.$)(ht,(0,o.Z)({},null!=(B=ve.tooltip)?B:X.tooltip,{className:(0,a.Z)(dt.tooltip,null==(z=null!=(H=ve.tooltip)?H:X.tooltip)?void 0:z.className)}),ut),bt=(0,l.$)(mt,(0,o.Z)({},null!=(U=ve.arrow)?U:X.arrow,{className:(0,a.Z)(dt.arrow,null==(W=null!=(V=ve.arrow)?V:X.arrow)?void 0:W.className)}),ut);return(0,k.jsxs)(i.Fragment,{children:[i.cloneElement(ke,st),(0,k.jsx)(pt,(0,o.Z)({as:null!=he?he:m.Z,placement:fe,anchorEl:ae?{getBoundingClientRect:()=>({top:M.y,left:M.x,right:M.x,bottom:M.y,width:0,height:0})}:Ee,popperRef:ot,open:!!Ee&&Ze,id:_e,transition:!0},lt,vt,{popperOptions:ct,children:({TransitionProps:e})=>(0,k.jsx)(ft,(0,o.Z)({timeout:Se.transitions.duration.shorter},e,gt,{children:(0,k.jsxs)(ht,(0,o.Z)({},yt,{children:[ye,G?(0,k.jsx)(mt,(0,o.Z)({},bt,{ref:$e})):null]}))}))}))]})}))},48999:(e,t,n)=>{"use strict";n.d(t,{Q:()=>i,Z:()=>a});var r=n(1588),o=n(34867);function i(e){return(0,o.Z)("MuiTooltip",e)}const a=(0,r.Z)("MuiTooltip",["popper","popperInteractive","popperArrow","popperClose","tooltip","tooltipArrow","touch","tooltipPlacementLeft","tooltipPlacementRight","tooltipPlacementTop","tooltipPlacementBottom","arrow"])},23972:(e,t,n)=>{"use strict";n.d(t,{Z:()=>y});var r=n(63366),o=n(87462),i=n(74570),a=n(90512),s=n(39707),l=n(94780),c=n(90948),u=n(71657),d=n(98216),p=n(50716),f=n(85893);const h=["align","className","component","gutterBottom","noWrap","paragraph","variant","variantMapping"],m=(0,c.ZP)("span",{name:"MuiTypography",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.variant&&t[n.variant],"inherit"!==n.align&&t[`align${(0,d.Z)(n.align)}`],n.noWrap&&t.noWrap,n.gutterBottom&&t.gutterBottom,n.paragraph&&t.paragraph]}})((({theme:e,ownerState:t})=>(0,o.Z)({margin:0},"inherit"===t.variant&&{font:"inherit"},"inherit"!==t.variant&&e.typography[t.variant],"inherit"!==t.align&&{textAlign:t.align},t.noWrap&&{overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"},t.gutterBottom&&{marginBottom:"0.35em"},t.paragraph&&{marginBottom:16}))),v={h1:"h1",h2:"h2",h3:"h3",h4:"h4",h5:"h5",h6:"h6",subtitle1:"h6",subtitle2:"h6",body1:"p",body2:"p",inherit:"p"},g={primary:"primary.main",textPrimary:"text.primary",secondary:"secondary.main",textSecondary:"text.secondary",error:"error.main"},y=i.forwardRef((function(e,t){const n=(0,u.Z)({props:e,name:"MuiTypography"}),i=(e=>g[e]||e)(n.color),c=(0,s.Z)((0,o.Z)({},n,{color:i})),{align:y="inherit",className:b,component:w,gutterBottom:x=!1,noWrap:k=!1,paragraph:S=!1,variant:C="body1",variantMapping:E=v}=c,T=(0,r.Z)(c,h),O=(0,o.Z)({},c,{align:y,color:i,className:b,component:w,gutterBottom:x,noWrap:k,paragraph:S,variant:C,variantMapping:E}),$=w||(S?"p":E[C]||v[C])||"span",M=(e=>{const{align:t,gutterBottom:n,noWrap:r,paragraph:o,variant:i,classes:a}=e,s={root:["root",i,"inherit"!==e.align&&`align${(0,d.Z)(t)}`,n&&"gutterBottom",r&&"noWrap",o&&"paragraph"]};return(0,l.Z)(s,p.f,a)})(O);return(0,f.jsx)(m,(0,o.Z)({as:$,ref:t,ownerState:O,className:(0,a.Z)(M.root,b)},T))}))},50716:(e,t,n)=>{"use strict";n.d(t,{Z:()=>a,f:()=>i});var r=n(1588),o=n(34867);function i(e){return(0,o.Z)("MuiTypography",e)}const a=(0,r.Z)("MuiTypography",["root","h1","h2","h3","h4","h5","h6","subtitle1","subtitle2","body1","body2","inherit","button","caption","overline","alignLeft","alignRight","alignCenter","alignJustify","noWrap","gutterBottom","paragraph"])},6949:(e,t,n)=>{"use strict";n.d(t,{Z:()=>r});const r={50:"#e3f2fd",100:"#bbdefb",200:"#90caf9",300:"#64b5f6",400:"#42a5f5",500:"#2196f3",600:"#1e88e5",700:"#1976d2",800:"#1565c0",900:"#0d47a1",A100:"#82b1ff",A200:"#448aff",A400:"#2979ff",A700:"#2962ff"}},16115:(e,t,n)=>{"use strict";n.d(t,{Z:()=>r});const r={black:"#000",white:"#fff"}},13486:(e,t,n)=>{"use strict";n.d(t,{Z:()=>r});const r={50:"#e8f5e9",100:"#c8e6c9",200:"#a5d6a7",300:"#81c784",400:"#66bb6a",500:"#4caf50",600:"#43a047",700:"#388e3c",800:"#2e7d32",900:"#1b5e20",A100:"#b9f6ca",A200:"#69f0ae",A400:"#00e676",A700:"#00c853"}},47036:(e,t,n)=>{"use strict";n.d(t,{Z:()=>r});const r={50:"#fafafa",100:"#f5f5f5",200:"#eeeeee",300:"#e0e0e0",400:"#bdbdbd",500:"#9e9e9e",600:"#757575",700:"#616161",800:"#424242",900:"#212121",A100:"#f5f5f5",A200:"#eeeeee",A400:"#bdbdbd",A700:"#616161"}},5621:(e,t,n)=>{"use strict";n.d(t,{Z:()=>r});const r={50:"#e1f5fe",100:"#b3e5fc",200:"#81d4fa",300:"#4fc3f7",400:"#29b6f6",500:"#03a9f4",600:"#039be5",700:"#0288d1",800:"#0277bd",900:"#01579b",A100:"#80d8ff",A200:"#40c4ff",A400:"#00b0ff",A700:"#0091ea"}},55137:(e,t,n)=>{"use strict";n.d(t,{Z:()=>r});const r={50:"#fff3e0",100:"#ffe0b2",200:"#ffcc80",300:"#ffb74d",400:"#ffa726",500:"#ff9800",600:"#fb8c00",700:"#f57c00",800:"#ef6c00",900:"#e65100",A100:"#ffd180",A200:"#ffab40",A400:"#ff9100",A700:"#ff6d00"}},94518:(e,t,n)=>{"use strict";n.d(t,{Z:()=>r});const r={50:"#f3e5f5",100:"#e1bee7",200:"#ce93d8",300:"#ba68c8",400:"#ab47bc",500:"#9c27b0",600:"#8e24aa",700:"#7b1fa2",800:"#6a1b9a",900:"#4a148c",A100:"#ea80fc",A200:"#e040fb",A400:"#d500f9",A700:"#aa00ff"}},60265:(e,t,n)=>{"use strict";n.d(t,{Z:()=>r});const r={50:"#ffebee",100:"#ffcdd2",200:"#ef9a9a",300:"#e57373",400:"#ef5350",500:"#f44336",600:"#e53935",700:"#d32f2f",800:"#c62828",900:"#b71c1c",A100:"#ff8a80",A200:"#ff5252",A400:"#ff1744",A700:"#d50000"}},70278:(e,t,n)=>{"use strict";n.r(t),n.d(t,{Accordion:()=>it,AccordionActions:()=>ut,AccordionDetails:()=>mt,AccordionSummary:()=>St,Alert:()=>jt,AlertTitle:()=>Vt,AppBar:()=>Jt,Autocomplete:()=>Qt.Z,Avatar:()=>nn.Z,AvatarGroup:()=>dn,Backdrop:()=>pn.Z,Badge:()=>xn,BottomNavigation:()=>Tn,BottomNavigationAction:()=>Ln,Box:()=>Nn.Z,Breadcrumbs:()=>Vn,Button:()=>qn.Z,ButtonBase:()=>vt.Z,ButtonGroup:()=>rr,Card:()=>lr,CardActionArea:()=>hr,CardActions:()=>br,CardContent:()=>Cr,CardHeader:()=>Lr,CardMedia:()=>Nr.Z,Checkbox:()=>Xr,Chip:()=>Jr.Z,CircularProgress:()=>eo.Z,ClickAwayListener:()=>ao,Collapse:()=>Xe,Container:()=>go,CssBaseline:()=>So,Dialog:()=>To.Z,DialogActions:()=>$o.Z,DialogContent:()=>Ao.Z,DialogContentText:()=>Po,DialogTitle:()=>Zo.Z,Divider:()=>Uo,Drawer:()=>Wo.ZP,Experimental_CssVarsProvider:()=>Le,Fab:()=>Xo,Fade:()=>Jo.Z,FilledInput:()=>Qo.Z,FormControl:()=>ti.Z,FormControlLabel:()=>ui,FormGroup:()=>mi,FormHelperText:()=>vi.Z,FormLabel:()=>yi.Z,FormLabelRoot:()=>yi.D,GlobalStyles:()=>wo.Z,Grid:()=>wi.ZP,Grow:()=>Yi.Z,Hidden:()=>ua,Icon:()=>va,IconButton:()=>Ot.Z,ImageList:()=>Sa,ImageListItem:()=>Ma,ImageListItemBar:()=>_a,Input:()=>Fa.Z,InputAdornment:()=>Ba.Z,InputBase:()=>Ha.ZP,InputLabel:()=>Wa.Z,LinearProgress:()=>ds,Link:()=>ps.Z,List:()=>hs.Z,ListItem:()=>Ls,ListItemAvatar:()=>Zs,ListItemButton:()=>js,ListItemIcon:()=>Us,ListItemSecondaryAction:()=>Os,ListItemText:()=>Ws.Z,ListSubheader:()=>qs.Z,Menu:()=>Ks.Z,MenuItem:()=>Xs.Z,MenuList:()=>Qs.Z,MobileStepper:()=>sl,Modal:()=>ll.Z,ModalManager:()=>cl.g,NativeSelect:()=>yl,NoSsr:()=>wl,OutlinedInput:()=>xl.Z,Pagination:()=>Wl,PaginationItem:()=>jl,Paper:()=>Je.Z,Popover:()=>ql.ZP,PopoverPaper:()=>ql.XS,PopoverRoot:()=>ql.Pg,Popper:()=>Kl.Z,Portal:()=>Yl.h,Radio:()=>pc,RadioGroup:()=>mc,Rating:()=>vc.Z,ScopedCssBaseline:()=>kc,Select:()=>Sc.Z,Skeleton:()=>Ec.Z,Slide:()=>Oc.Z,Slider:()=>ou,SliderMark:()=>eu,SliderMarkLabel:()=>tu,SliderRail:()=>Yc,SliderRoot:()=>Kc,SliderThumb:()=>Jc,SliderTrack:()=>Xc,SliderValueLabel:()=>Qc,Snackbar:()=>yu,SnackbarContent:()=>pu,SpeedDial:()=>Du,SpeedDialAction:()=>Fu,SpeedDialIcon:()=>Vu,Stack:()=>ri.Z,Step:()=>od,StepButton:()=>$d,StepConnector:()=>Rd,StepContent:()=>jd,StepContext:()=>Qu,StepIcon:()=>hd,StepLabel:()=>Sd,Stepper:()=>Vd,StepperContext:()=>Yu,StyledEngineProvider:()=>Kh,SvgIcon:()=>sd.Z,SwipeableDrawer:()=>cp,Switch:()=>gp,THEME_ID:()=>E.Z,Tab:()=>kp,TabScrollButton:()=>ph,Table:()=>Mp,TableBody:()=>Zp,TableCell:()=>Hp,TableContainer:()=>Gp,TableFooter:()=>tf,TableHead:()=>cf,TablePagination:()=>jf,TableRow:()=>qf,TableSortLabel:()=>eh,Tabs:()=>Eh,TextField:()=>Th.Z,TextareaAutosize:()=>$h.u,ThemeProvider:()=>V.Z,ToggleButton:()=>Nh,ToggleButtonGroup:()=>Fh,Toolbar:()=>hf,Tooltip:()=>Lu.Z,Typography:()=>Bt.Z,Unstable_Grid2:()=>Vi,Unstable_TrapFocus:()=>Yh.i,Zoom:()=>xu,accordionActionsClasses:()=>st,accordionClasses:()=>nt,accordionDetailsClasses:()=>pt,accordionSummaryClasses:()=>yt,adaptV4Theme:()=>L,alertClasses:()=>Tt,alertTitleClasses:()=>Ht,alpha:()=>N.Fq,appBarClasses:()=>Gt,autocompleteClasses:()=>tn.Z,avatarClasses:()=>rn.Z,avatarGroupClasses:()=>an,backdropClasses:()=>fn.Z,badgeClasses:()=>gn,bottomNavigationActionClasses:()=>$n,bottomNavigationClasses:()=>Sn,breadcrumbsClasses:()=>jn,buttonBaseClasses:()=>Kn.Z,buttonClasses:()=>Gn.Z,buttonGroupClasses:()=>Jn,capitalize:()=>Pe.capitalize,cardActionAreaClasses:()=>ur,cardActionsClasses:()=>vr,cardClasses:()=>ir,cardContentClasses:()=>xr,cardHeaderClasses:()=>Tr,cardMediaClasses:()=>Rr.Z,checkboxClasses:()=>Wr,chipClasses:()=>Qr.Z,circularProgressClasses:()=>to.Z,collapseClasses:()=>We,colors:()=>r,containerClasses:()=>bo,createChainedFunction:()=>Pe.createChainedFunction,createFilterOptions:()=>en.D,createMuiTheme:()=>I.A,createStyles:()=>F,createSvgIcon:()=>Pe.createSvgIcon,createTheme:()=>I.Z,css:()=>R.iv,darkScrollbar:()=>Eo,darken:()=>N._j,debounce:()=>Pe.debounce,decomposeColor:()=>N.tB,deprecatedPropType:()=>Pe.deprecatedPropType,dialogActionsClasses:()=>Mo.Z,dialogClasses:()=>Oo.Z,dialogContentClasses:()=>Do.Z,dialogContentTextClasses:()=>No,dialogTitleClasses:()=>_o.Z,dividerClasses:()=>Fo.Z,drawerClasses:()=>Vo.Z,duration:()=>z.x9,easing:()=>z.Ui,emphasize:()=>N._4,experimentalStyled:()=>W.ZP,experimental_extendTheme:()=>$e,experimental_sx:()=>Ie,fabClasses:()=>Go,filledInputClasses:()=>ei.Z,formControlClasses:()=>ni.Z,formControlLabelClasses:()=>ii,formGroupClasses:()=>pi,formHelperTextClasses:()=>gi.Z,formLabelClasses:()=>bi.Z,generateUtilityClass:()=>He.Z,generateUtilityClasses:()=>ze.Z,getAccordionActionsUtilityClass:()=>at,getAccordionDetailsUtilityClass:()=>dt,getAccordionSummaryUtilityClass:()=>gt,getAccordionUtilityClass:()=>tt,getAlertTitleUtilityClass:()=>zt,getAlertUtilityClass:()=>Et,getAppBarUtilityClass:()=>qt,getAutocompleteUtilityClass:()=>tn.q,getAvatarGroupUtilityClass:()=>on,getAvatarUtilityClass:()=>rn.$,getBackdropUtilityClass:()=>fn.s,getBadgeUtilityClass:()=>vn,getBottomNavigationActionUtilityClass:()=>On,getBottomNavigationUtilityClass:()=>kn,getBreadcrumbsUtilityClass:()=>Fn,getButtonBaseUtilityClass:()=>Kn.$,getButtonGroupUtilityClass:()=>Xn,getButtonUtilityClass:()=>Gn.F,getCardActionAreaUtilityClass:()=>cr,getCardActionsUtilityClass:()=>mr,getCardContentUtilityClass:()=>wr,getCardHeaderUtilityClass:()=>Er,getCardMediaUtilityClass:()=>Rr.a,getCardUtilityClass:()=>or,getCheckboxUtilityClass:()=>Ur,getChipUtilityClass:()=>Qr.z,getCircularProgressUtilityClass:()=>to.C,getCollapseUtilityClass:()=>Ue,getContainerUtilityClass:()=>yo,getContrastRatio:()=>N.mi,getDialogActionsUtilityClass:()=>Mo.d,getDialogContentTextUtilityClass:()=>Lo,getDialogContentUtilityClass:()=>Do.G,getDialogTitleUtilityClass:()=>_o.a,getDialogUtilityClass:()=>Oo.D,getDividerUtilityClass:()=>Fo.V,getDrawerUtilityClass:()=>Vo.l,getFabUtilityClass:()=>qo,getFilledInputUtilityClass:()=>ei._,getFormControlLabelUtilityClasses:()=>oi,getFormControlUtilityClasses:()=>ni.e,getFormGroupUtilityClass:()=>di,getFormHelperTextUtilityClasses:()=>gi.E,getFormLabelUtilityClasses:()=>bi.M,getGrid2UtilityClass:()=>qi,getGridUtilityClass:()=>xi.H,getIconButtonUtilityClass:()=>ga.r,getIconUtilityClass:()=>da,getImageListItemBarUtilityClass:()=>Aa,getImageListItemUtilityClass:()=>Ea,getImageListUtilityClass:()=>ya,getInitColorSchemeScript:()=>Re,getInputAdornmentUtilityClass:()=>za.w,getInputBaseUtilityClass:()=>Ua.u,getInputLabelUtilityClasses:()=>Va.Y,getInputUtilityClass:()=>ja.l,getLinearProgressUtilityClass:()=>qa,getLinkUtilityClass:()=>fs.w,getListItemAvatarUtilityClass:()=>Ns,getListItemButtonUtilityClass:()=>ws,getListItemIconUtilityClass:()=>Bs.f,getListItemSecondaryActionClassesUtilityClass:()=>ks,getListItemTextUtilityClass:()=>Vs.L,getListItemUtilityClass:()=>ys,getListSubheaderUtilityClass:()=>Gs.s,getListUtilityClass:()=>ms.z,getLuminance:()=>N.H3,getMenuItemUtilityClass:()=>Js.K,getMenuUtilityClass:()=>Ys.Q,getMobileStepperUtilityClass:()=>el,getModalUtilityClass:()=>ul.x,getNativeSelectUtilityClasses:()=>fl.f,getOffsetLeft:()=>ql.pB,getOffsetTop:()=>ql.oJ,getOutlinedInputUtilityClass:()=>kl.e,getOverlayAlpha:()=>we.Z,getPaginationItemUtilityClass:()=>$l,getPaginationUtilityClass:()=>Sl,getPaperUtilityClass:()=>Vl.J,getPopoverUtilityClass:()=>Gl.s,getRadioUtilityClass:()=>ac,getRatingUtilityClass:()=>gc.s,getScopedCssBaselineUtilityClass:()=>yc,getSelectUtilityClasses:()=>Cc.o,getSkeletonUtilityClass:()=>Tc.B,getSliderUtilityClass:()=>Wc,getSnackbarContentUtilityClass:()=>au,getSnackbarUtilityClass:()=>fu,getSpeedDialActionUtilityClass:()=>Nu,getSpeedDialIconUtilityClass:()=>Bu,getSpeedDialUtilityClass:()=>ku,getStepButtonUtilityClass:()=>Cd,getStepConnectorUtilityClass:()=>Md,getStepContentUtilityClass:()=>Id,getStepIconUtilityClass:()=>ld,getStepLabelUtilityClass:()=>md,getStepUtilityClass:()=>ed,getStepperUtilityClass:()=>Bd,getSvgIconUtilityClass:()=>qd.h,getSwitchUtilityClass:()=>up,getTabScrollButtonUtilityClass:()=>lh,getTabUtilityClass:()=>yp,getTableBodyUtilityClass:()=>Dp,getTableCellUtilityClass:()=>_p,getTableContainerUtilityClass:()=>Up,getTableFooterUtilityClass:()=>Kp,getTableHeadUtilityClass:()=>nf,getTablePaginationUtilityClass:()=>Of,getTableRowUtilityClass:()=>Bf,getTableSortLabelUtilityClass:()=>Kf,getTableUtilityClass:()=>Cp,getTabsUtilityClass:()=>fh,getTextFieldUtilityClass:()=>Oh.I,getToggleButtonGroupUtilityClass:()=>Ih,getToggleButtonUtilityClass:()=>Mh,getToolbarUtilityClass:()=>uf,getTooltipUtilityClass:()=>jh.Q,getTouchRippleUtilityClass:()=>Yn.H,getTypographyUtilityClass:()=>Bh.f,grid2Classes:()=>Ki,gridClasses:()=>xi.Z,hexToRgb:()=>N.oo,hslToRgb:()=>N.ve,iconButtonClasses:()=>ga.Z,iconClasses:()=>pa,imageListClasses:()=>ba,imageListItemBarClasses:()=>Da,imageListItemClasses:()=>Ta,inputAdornmentClasses:()=>za.Z,inputBaseClasses:()=>Ua.Z,inputClasses:()=>ja.Z,inputLabelClasses:()=>Va.Z,isMuiElement:()=>Pe.isMuiElement,keyframes:()=>R.F4,lighten:()=>N.$n,linearProgressClasses:()=>Ga,linkClasses:()=>fs.Z,listClasses:()=>ms.Z,listItemAvatarClasses:()=>Rs,listItemButtonClasses:()=>xs,listItemClasses:()=>bs,listItemIconClasses:()=>Bs.Z,listItemSecondaryActionClasses:()=>Ss,listItemTextClasses:()=>Vs.Z,listSubheaderClasses:()=>Gs.Z,makeStyles:()=>q,menuClasses:()=>Ys.Z,menuItemClasses:()=>Js.Z,mobileStepperClasses:()=>tl,modalClasses:()=>ul.Z,nativeSelectClasses:()=>fl.Z,outlinedInputClasses:()=>kl.Z,ownerDocument:()=>Pe.ownerDocument,ownerWindow:()=>Pe.ownerWindow,paginationClasses:()=>Cl,paginationItemClasses:()=>Ml,paperClasses:()=>Vl.Z,popoverClasses:()=>Gl.Z,private_createTypography:()=>Me.Z,private_excludeVariablesFromRoot:()=>Ae,radioClasses:()=>sc,ratingClasses:()=>gc.Z,recomposeColor:()=>N.wy,requirePropFactory:()=>Pe.requirePropFactory,responsiveFontSizes:()=>B,rgbToHex:()=>N.vq,scopedCssBaselineClasses:()=>bc,selectClasses:()=>Cc.Z,setRef:()=>Pe.setRef,shouldSkipGeneratingVar:()=>be,skeletonClasses:()=>Tc.Z,sliderClasses:()=>Vc,snackbarClasses:()=>hu,snackbarContentClasses:()=>su,speedDialActionClasses:()=>Ru,speedDialClasses:()=>Su,speedDialIconClasses:()=>zu,stackClasses:()=>qu,stepButtonClasses:()=>Ed,stepClasses:()=>td,stepConnectorClasses:()=>Ad,stepContentClasses:()=>Pd,stepIconClasses:()=>cd,stepLabelClasses:()=>vd,stepperClasses:()=>zd,styled:()=>W.ZP,svgIconClasses:()=>qd.Z,switchClasses:()=>dp,tabClasses:()=>bp,tabScrollButtonClasses:()=>ch,tableBodyClasses:()=>Lp,tableCellClasses:()=>Fp,tableClasses:()=>Ep,tableContainerClasses:()=>Wp,tableFooterClasses:()=>Yp,tableHeadClasses:()=>rf,tablePaginationClasses:()=>$f,tableRowClasses:()=>zf,tableSortLabelClasses:()=>Yf,tabsClasses:()=>hh,textFieldClasses:()=>Oh.Z,toggleButtonClasses:()=>Ah,toggleButtonGroupClasses:()=>Ph,toolbarClasses:()=>df,tooltipClasses:()=>jh.Z,touchRippleClasses:()=>Yn.Z,typographyClasses:()=>Bh.Z,unstable_ClassNameGenerator:()=>Pe.unstable_ClassNameGenerator,unstable_composeClasses:()=>_e.Z,unstable_createMuiStrictModeTheme:()=>Z,unstable_getUnit:()=>j.Wy,unstable_toUnitless:()=>j.YL,unstable_useEnhancedEffect:()=>Pe.unstable_useEnhancedEffect,unstable_useId:()=>Pe.unstable_useId,unsupportedProp:()=>Pe.unsupportedProp,useAutocomplete:()=>en.o,useColorScheme:()=>Ne,useControlled:()=>Pe.useControlled,useEventCallback:()=>Pe.useEventCallback,useForkRef:()=>Pe.useForkRef,useFormControl:()=>Ir.Z,useIsFocusVisible:()=>Pe.useIsFocusVisible,useMediaQuery:()=>Qi.Z,usePagination:()=>Ol,useRadioGroup:()=>ic,useScrollTrigger:()=>Wh,useStepContext:()=>Ju,useStepperContext:()=>Ku,useTheme:()=>H.Z,useThemeProps:()=>U.Z,withStyles:()=>G,withTheme:()=>K});var r={};n.r(r),n.d(r,{amber:()=>y,blue:()=>u.Z,blueGrey:()=>S,brown:()=>x,common:()=>o.Z,cyan:()=>p,deepOrange:()=>w,deepPurple:()=>l,green:()=>h.Z,grey:()=>k.Z,indigo:()=>c,lightBlue:()=>d.Z,lightGreen:()=>m,lime:()=>v,orange:()=>b.Z,pink:()=>a,purple:()=>s.Z,red:()=>i.Z,teal:()=>f,yellow:()=>g});var o=n(16115),i=n(60265);const a={50:"#fce4ec",100:"#f8bbd0",200:"#f48fb1",300:"#f06292",400:"#ec407a",500:"#e91e63",600:"#d81b60",700:"#c2185b",800:"#ad1457",900:"#880e4f",A100:"#ff80ab",A200:"#ff4081",A400:"#f50057",A700:"#c51162"};var s=n(94518);const l={50:"#ede7f6",100:"#d1c4e9",200:"#b39ddb",300:"#9575cd",400:"#7e57c2",500:"#673ab7",600:"#5e35b1",700:"#512da8",800:"#4527a0",900:"#311b92",A100:"#b388ff",A200:"#7c4dff",A400:"#651fff",A700:"#6200ea"},c={50:"#e8eaf6",100:"#c5cae9",200:"#9fa8da",300:"#7986cb",400:"#5c6bc0",500:"#3f51b5",600:"#3949ab",700:"#303f9f",800:"#283593",900:"#1a237e",A100:"#8c9eff",A200:"#536dfe",A400:"#3d5afe",A700:"#304ffe"};var u=n(6949),d=n(5621);const p={50:"#e0f7fa",100:"#b2ebf2",200:"#80deea",300:"#4dd0e1",400:"#26c6da",500:"#00bcd4",600:"#00acc1",700:"#0097a7",800:"#00838f",900:"#006064",A100:"#84ffff",A200:"#18ffff",A400:"#00e5ff",A700:"#00b8d4"},f={50:"#e0f2f1",100:"#b2dfdb",200:"#80cbc4",300:"#4db6ac",400:"#26a69a",500:"#009688",600:"#00897b",700:"#00796b",800:"#00695c",900:"#004d40",A100:"#a7ffeb",A200:"#64ffda",A400:"#1de9b6",A700:"#00bfa5"};var h=n(13486);const m={50:"#f1f8e9",100:"#dcedc8",200:"#c5e1a5",300:"#aed581",400:"#9ccc65",500:"#8bc34a",600:"#7cb342",700:"#689f38",800:"#558b2f",900:"#33691e",A100:"#ccff90",A200:"#b2ff59",A400:"#76ff03",A700:"#64dd17"},v={50:"#f9fbe7",100:"#f0f4c3",200:"#e6ee9c",300:"#dce775",400:"#d4e157",500:"#cddc39",600:"#c0ca33",700:"#afb42b",800:"#9e9d24",900:"#827717",A100:"#f4ff81",A200:"#eeff41",A400:"#c6ff00",A700:"#aeea00"},g={50:"#fffde7",100:"#fff9c4",200:"#fff59d",300:"#fff176",400:"#ffee58",500:"#ffeb3b",600:"#fdd835",700:"#fbc02d",800:"#f9a825",900:"#f57f17",A100:"#ffff8d",A200:"#ffff00",A400:"#ffea00",A700:"#ffd600"},y={50:"#fff8e1",100:"#ffecb3",200:"#ffe082",300:"#ffd54f",400:"#ffca28",500:"#ffc107",600:"#ffb300",700:"#ffa000",800:"#ff8f00",900:"#ff6f00",A100:"#ffe57f",A200:"#ffd740",A400:"#ffc400",A700:"#ffab00"};var b=n(55137);const w={50:"#fbe9e7",100:"#ffccbc",200:"#ffab91",300:"#ff8a65",400:"#ff7043",500:"#ff5722",600:"#f4511e",700:"#e64a19",800:"#d84315",900:"#bf360c",A100:"#ff9e80",A200:"#ff6e40",A400:"#ff3d00",A700:"#dd2c00"},x={50:"#efebe9",100:"#d7ccc8",200:"#bcaaa4",300:"#a1887f",400:"#8d6e63",500:"#795548",600:"#6d4c41",700:"#5d4037",800:"#4e342e",900:"#3e2723",A100:"#d7ccc8",A200:"#bcaaa4",A400:"#8d6e63",A700:"#5d4037"};var k=n(47036);const S={50:"#eceff1",100:"#cfd8dc",200:"#b0bec5",300:"#90a4ae",400:"#78909c",500:"#607d8b",600:"#546e7a",700:"#455a64",800:"#37474f",900:"#263238",A100:"#cfd8dc",A200:"#b0bec5",A400:"#78909c",A700:"#455a64"};var C=n(71387),E=n(10606),T=n(87462),O=n(63366),$=n(98373),M=n(41512);const A=["defaultProps","mixins","overrides","palette","props","styleOverrides"],D=["type","mode"];function L(e){const{defaultProps:t={},mixins:n={},overrides:r={},palette:o={},props:i={},styleOverrides:a={}}=e,s=(0,O.Z)(e,A),l=(0,T.Z)({},s,{components:{}});Object.keys(t).forEach((e=>{const n=l.components[e]||{};n.defaultProps=t[e],l.components[e]=n})),Object.keys(i).forEach((e=>{const t=l.components[e]||{};t.defaultProps=i[e],l.components[e]=t})),Object.keys(a).forEach((e=>{const t=l.components[e]||{};t.styleOverrides=a[e],l.components[e]=t})),Object.keys(r).forEach((e=>{const t=l.components[e]||{};t.styleOverrides=r[e],l.components[e]=t})),l.spacing=(0,$.Z)(e.spacing);const c=(0,M.Z)(e.breakpoints||{}),u=l.spacing;l.mixins=(0,T.Z)({gutters:(e={})=>(0,T.Z)({paddingLeft:u(2),paddingRight:u(2)},e,{[c.up("sm")]:(0,T.Z)({paddingLeft:u(3),paddingRight:u(3)},e[c.up("sm")])})},n);const{type:d,mode:p}=o,f=(0,O.Z)(o,D),h=p||d||"light";return l.palette=(0,T.Z)({text:{hint:"dark"===h?"rgba(255, 255, 255, 0.5)":"rgba(0, 0, 0, 0.38)"},mode:h,type:h},f),l}var N=n(41796),R=n(70917),I=n(10185),P=n(59766);function Z(e,...t){return(0,I.Z)((0,P.Z)({unstable_strictMode:!0},e),...t)}let _=!1;function F(e){return _||(console.warn(["MUI: createStyles from @mui/material/styles is deprecated.","Please use @mui/styles/createStyles"].join("\n")),_=!0),e}var j=n(88606);function B(e,t={}){const{breakpoints:n=["sm","md","lg"],disableAlign:r=!1,factor:o=2,variants:i=["h1","h2","h3","h4","h5","h6","subtitle1","subtitle2","body1","body2","caption","button","overline"]}=t,a=(0,T.Z)({},e);a.typography=(0,T.Z)({},a.typography);const s=a.typography,l=(0,j.vs)(s.htmlFontSize),c=n.map((e=>a.breakpoints.values[e]));return i.forEach((e=>{const t=s[e],n=parseFloat(l(t.fontSize,"rem"));if(n<=1)return;const i=n,a=1+(i-1)/o;let{lineHeight:u}=t;if(!(0,j.dA)(u)&&!r)throw new Error((0,C.Z)(6));(0,j.dA)(u)||(u=parseFloat(l(u,"rem"))/parseFloat(n));let d=null;r||(d=e=>(0,j.LV)({size:e,grid:(0,j.vY)({pixels:4,lineHeight:u,htmlFontSize:s.htmlFontSize})})),s[e]=(0,T.Z)({},t,(0,j.ze)({cssProperty:"fontSize",min:a,max:i,unit:"rem",breakpoints:c,transform:d}))})),a}var z=n(96067),H=n(2734),U=n(71657),W=n(90948),V=n(22233);function q(){throw new Error((0,C.Z)(14))}function G(){throw new Error((0,C.Z)(15))}function K(){throw new Error((0,C.Z)(16))}var Y=n(74570),X=n(41234),J=n(56760),Q=n(61817),ee=n(85893);const te="mode",ne="color-scheme",re="data-color-scheme";function oe(e){if("undefined"!=typeof window&&"system"===e){return window.matchMedia("(prefers-color-scheme: dark)").matches?"dark":"light"}}function ie(e,t){return"light"===e.mode||"system"===e.mode&&"light"===e.systemMode?t("light"):"dark"===e.mode||"system"===e.mode&&"dark"===e.systemMode?t("dark"):void 0}function ae(e,t){if("undefined"==typeof window)return;let n;try{n=localStorage.getItem(e)||void 0,n||localStorage.setItem(e,t)}catch(r){}return n||t}function se(e){const{defaultMode:t="light",defaultLightColorScheme:n,defaultDarkColorScheme:r,supportedColorSchemes:o=[],modeStorageKey:i=te,colorSchemeStorageKey:a=ne,storageWindow:s=("undefined"==typeof window?void 0:window)}=e,l=o.join(","),[c,u]=Y.useState((()=>{const e=ae(i,t),o=ae(`${a}-light`,n),s=ae(`${a}-dark`,r);return{mode:e,systemMode:oe(e),lightColorScheme:o,darkColorScheme:s}})),d=function(e){return ie(e,(t=>"light"===t?e.lightColorScheme:"dark"===t?e.darkColorScheme:void 0))}(c),p=Y.useCallback((e=>{u((n=>{if(e===n.mode)return n;const r=e||t;try{localStorage.setItem(i,r)}catch(o){}return(0,T.Z)({},n,{mode:r,systemMode:oe(r)})}))}),[i,t]),f=Y.useCallback((e=>{e?"string"==typeof e?e&&!l.includes(e)?console.error(`\`${e}\` does not exist in \`theme.colorSchemes\`.`):u((t=>{const n=(0,T.Z)({},t);return ie(t,(t=>{try{localStorage.setItem(`${a}-${t}`,e)}catch(r){}"light"===t&&(n.lightColorScheme=e),"dark"===t&&(n.darkColorScheme=e)})),n})):u((t=>{const o=(0,T.Z)({},t),i=null===e.light?n:e.light,s=null===e.dark?r:e.dark;if(i)if(l.includes(i)){o.lightColorScheme=i;try{localStorage.setItem(`${a}-light`,i)}catch(c){}}else console.error(`\`${i}\` does not exist in \`theme.colorSchemes\`.`);if(s)if(l.includes(s)){o.darkColorScheme=s;try{localStorage.setItem(`${a}-dark`,s)}catch(c){}}else console.error(`\`${s}\` does not exist in \`theme.colorSchemes\`.`);return o})):u((e=>{try{localStorage.setItem(`${a}-light`,n),localStorage.setItem(`${a}-dark`,r)}catch(t){}return(0,T.Z)({},e,{lightColorScheme:n,darkColorScheme:r})}))}),[l,a,n,r]),h=Y.useCallback((e=>{"system"===c.mode&&u((t=>(0,T.Z)({},t,{systemMode:null!=e&&e.matches?"dark":"light"})))}),[c.mode]),m=Y.useRef(h);return m.current=h,Y.useEffect((()=>{const e=(...e)=>m.current(...e),t=window.matchMedia("(prefers-color-scheme: dark)");return t.addListener(e),e(t),()=>t.removeListener(e)}),[]),Y.useEffect((()=>{const e=e=>{const n=e.newValue;"string"!=typeof e.key||!e.key.startsWith(a)||n&&!l.match(n)||(e.key.endsWith("light")&&f({light:n}),e.key.endsWith("dark")&&f({dark:n})),e.key!==i||n&&!["light","dark","system"].includes(n)||p(n||t)};if(s)return s.addEventListener("storage",e),()=>s.removeEventListener("storage",e)}),[f,p,i,a,l,t,s]),(0,T.Z)({},c,{colorScheme:d,setMode:p,setColorScheme:f})}const le=["colorSchemes","components","generateCssVars","cssVarPrefix"];var ce=n(86523);function ue(e=""){function t(...n){if(!n.length)return"";const r=n[0];return"string"!=typeof r||r.match(/(#|\(|\)|(-?(\d*\.)?\d+)(px|em|%|ex|ch|rem|vw|vh|vmin|vmax|cm|mm|in|pt|pc))|^(-?(\d*\.)?\d+)$|(\d+ \d+ \d+)/)?`, ${r}`:`, var(--${e?`${e}-`:""}${r}${t(...n.slice(1))})`}return(n,...r)=>`var(--${e?`${e}-`:""}${n}${t(...r)})`}const de=(e,t,n,r=[])=>{let o=e;t.forEach(((e,i)=>{i===t.length-1?Array.isArray(o)?o[Number(e)]=n:o&&"object"==typeof o&&(o[e]=n):o&&"object"==typeof o&&(o[e]||(o[e]=r.includes(e)?[]:{}),o=o[e])}))},pe=(e,t,n)=>{!function e(r,o=[],i=[]){Object.entries(r).forEach((([r,a])=>{(!n||n&&!n([...o,r]))&&null!=a&&("object"==typeof a&&Object.keys(a).length>0?e(a,[...o,r],Array.isArray(a)?[...i,r]:i):t([...o,r],a,i))}))}(e)},fe=(e,t)=>{if("number"==typeof t){if(["lineHeight","fontWeight","opacity","zIndex"].some((t=>e.includes(t))))return t;return e[e.length-1].toLowerCase().indexOf("opacity")>=0?t:`${t}px`}return t};function he(e,t){const{prefix:n,shouldSkipGeneratingVar:r}=t||{},o={},i={},a={};return pe(e,((e,t,s)=>{if(!("string"!=typeof t&&"number"!=typeof t||r&&r(e,t))){const r=`--${n?`${n}-`:""}${e.join("-")}`;Object.assign(o,{[r]:fe(e,t)}),de(i,e,`var(${r})`,s),de(a,e,`var(${r}, ${t})`,s)}}),(e=>"vars"===e[0])),{css:o,vars:i,varsWithDefaults:a}}const me=["colorSchemes","components"],ve=["light"];const ge=function(e,t){const{colorSchemes:n={}}=e,r=(0,O.Z)(e,me),{vars:o,css:i,varsWithDefaults:a}=he(r,t);let s=a;const l={},{light:c}=n,u=(0,O.Z)(n,ve);if(Object.entries(u||{}).forEach((([e,n])=>{const{vars:r,css:o,varsWithDefaults:i}=he(n,t);s=(0,P.Z)(s,i),l[e]={css:o,vars:r}})),c){const{css:e,vars:n,varsWithDefaults:r}=he(c,t);s=(0,P.Z)(s,r),l.light={css:e,vars:n}}return{vars:s,generateCssVars:e=>e?{css:(0,T.Z)({},l[e].css),vars:l[e].vars}:{css:(0,T.Z)({},i),vars:o}}};var ye=n(85265);function be(e){var t;return!!e[0].match(/(cssVarPrefix|typography|mixins|breakpoints|direction|transitions)/)||!!e[0].match(/sxConfig$/)||"palette"===e[0]&&!(null==(t=e[1])||!t.match(/(mode|contrastThreshold|tonalOffset)/))}var we=n(72029);const xe=["colorSchemes","cssVarPrefix","shouldSkipGeneratingVar"],ke=["palette"],Se=[...Array(25)].map(((e,t)=>{if(0===t)return;const n=(0,we.Z)(t);return`linear-gradient(rgba(255 255 255 / ${n}), rgba(255 255 255 / ${n}))`}));function Ce(e,t,n){!e[t]&&n&&(e[t]=n)}function Ee(e,t){`${t}Channel`in e||(e[`${t}Channel`]=(0,N.LR)(e[t],`MUI: Can't create \`palette.${t}Channel\` because \`palette.${t}\` is not one of these formats: #nnn, #nnnnnn, rgb(), rgba(), hsl(), hsla(), color().\nTo suppress this warning, you need to explicitly provide the \`palette.${t}Channel\` as a string (in rgb format, e.g. "12 12 12") or undefined if you want to remove the channel token.`))}const Te=e=>{try{return e()}catch(t){}},Oe=(e="mui")=>ue(e);function $e(e={},...t){var n,r,o,i,a,s;const{colorSchemes:l={},cssVarPrefix:c="mui",shouldSkipGeneratingVar:u=be}=e,d=(0,O.Z)(e,xe),p=Oe(c),f=(0,I.Z)((0,T.Z)({},d,l.light&&{palette:null==(n=l.light)?void 0:n.palette})),{palette:h}=f,m=(0,O.Z)(f,ke),{palette:v}=(0,I.Z)({palette:(0,T.Z)({mode:"dark"},null==(r=l.dark)?void 0:r.palette)});let g=(0,T.Z)({},m,{cssVarPrefix:c,getCssVar:p,colorSchemes:(0,T.Z)({},l,{light:(0,T.Z)({},l.light,{palette:h,opacity:(0,T.Z)({inputPlaceholder:.42,inputUnderline:.42,switchTrackDisabled:.12,switchTrack:.38},null==(o=l.light)?void 0:o.opacity),overlays:(null==(i=l.light)?void 0:i.overlays)||[]}),dark:(0,T.Z)({},l.dark,{palette:v,opacity:(0,T.Z)({inputPlaceholder:.5,inputUnderline:.7,switchTrackDisabled:.2,switchTrack:.3},null==(a=l.dark)?void 0:a.opacity),overlays:(null==(s=l.dark)?void 0:s.overlays)||Se})})});Object.keys(g.colorSchemes).forEach((e=>{const t=g.colorSchemes[e].palette,n=e=>{const n=e.split("-"),r=n[1],o=n[2];return p(e,t[r][o])};var r;if("light"===e?(Ce(t.common,"background","#fff"),Ce(t.common,"onBackground","#000")):(Ce(t.common,"background","#000"),Ce(t.common,"onBackground","#fff")),r=t,["Alert","AppBar","Avatar","Button","Chip","FilledInput","LinearProgress","Skeleton","Slider","SnackbarContent","SpeedDialAction","StepConnector","StepContent","Switch","TableCell","Tooltip"].forEach((e=>{r[e]||(r[e]={})})),"light"===e){Ce(t.Alert,"errorColor",(0,N.q8)(t.error.light,.6)),Ce(t.Alert,"infoColor",(0,N.q8)(t.info.light,.6)),Ce(t.Alert,"successColor",(0,N.q8)(t.success.light,.6)),Ce(t.Alert,"warningColor",(0,N.q8)(t.warning.light,.6)),Ce(t.Alert,"errorFilledBg",n("palette-error-main")),Ce(t.Alert,"infoFilledBg",n("palette-info-main")),Ce(t.Alert,"successFilledBg",n("palette-success-main")),Ce(t.Alert,"warningFilledBg",n("palette-warning-main")),Ce(t.Alert,"errorFilledColor",Te((()=>h.getContrastText(t.error.main)))),Ce(t.Alert,"infoFilledColor",Te((()=>h.getContrastText(t.info.main)))),Ce(t.Alert,"successFilledColor",Te((()=>h.getContrastText(t.success.main)))),Ce(t.Alert,"warningFilledColor",Te((()=>h.getContrastText(t.warning.main)))),Ce(t.Alert,"errorStandardBg",(0,N.ux)(t.error.light,.9)),Ce(t.Alert,"infoStandardBg",(0,N.ux)(t.info.light,.9)),Ce(t.Alert,"successStandardBg",(0,N.ux)(t.success.light,.9)),Ce(t.Alert,"warningStandardBg",(0,N.ux)(t.warning.light,.9)),Ce(t.Alert,"errorIconColor",n("palette-error-main")),Ce(t.Alert,"infoIconColor",n("palette-info-main")),Ce(t.Alert,"successIconColor",n("palette-success-main")),Ce(t.Alert,"warningIconColor",n("palette-warning-main")),Ce(t.AppBar,"defaultBg",n("palette-grey-100")),Ce(t.Avatar,"defaultBg",n("palette-grey-400")),Ce(t.Button,"inheritContainedBg",n("palette-grey-300")),Ce(t.Button,"inheritContainedHoverBg",n("palette-grey-A100")),Ce(t.Chip,"defaultBorder",n("palette-grey-400")),Ce(t.Chip,"defaultAvatarColor",n("palette-grey-700")),Ce(t.Chip,"defaultIconColor",n("palette-grey-700")),Ce(t.FilledInput,"bg","rgba(0, 0, 0, 0.06)"),Ce(t.FilledInput,"hoverBg","rgba(0, 0, 0, 0.09)"),Ce(t.FilledInput,"disabledBg","rgba(0, 0, 0, 0.12)"),Ce(t.LinearProgress,"primaryBg",(0,N.ux)(t.primary.main,.62)),Ce(t.LinearProgress,"secondaryBg",(0,N.ux)(t.secondary.main,.62)),Ce(t.LinearProgress,"errorBg",(0,N.ux)(t.error.main,.62)),Ce(t.LinearProgress,"infoBg",(0,N.ux)(t.info.main,.62)),Ce(t.LinearProgress,"successBg",(0,N.ux)(t.success.main,.62)),Ce(t.LinearProgress,"warningBg",(0,N.ux)(t.warning.main,.62)),Ce(t.Skeleton,"bg",`rgba(${n("palette-text-primaryChannel")} / 0.11)`),Ce(t.Slider,"primaryTrack",(0,N.ux)(t.primary.main,.62)),Ce(t.Slider,"secondaryTrack",(0,N.ux)(t.secondary.main,.62)),Ce(t.Slider,"errorTrack",(0,N.ux)(t.error.main,.62)),Ce(t.Slider,"infoTrack",(0,N.ux)(t.info.main,.62)),Ce(t.Slider,"successTrack",(0,N.ux)(t.success.main,.62)),Ce(t.Slider,"warningTrack",(0,N.ux)(t.warning.main,.62));const e=(0,N.fk)(t.background.default,.8);Ce(t.SnackbarContent,"bg",e),Ce(t.SnackbarContent,"color",Te((()=>h.getContrastText(e)))),Ce(t.SpeedDialAction,"fabHoverBg",(0,N.fk)(t.background.paper,.15)),Ce(t.StepConnector,"border",n("palette-grey-400")),Ce(t.StepContent,"border",n("palette-grey-400")),Ce(t.Switch,"defaultColor",n("palette-common-white")),Ce(t.Switch,"defaultDisabledColor",n("palette-grey-100")),Ce(t.Switch,"primaryDisabledColor",(0,N.ux)(t.primary.main,.62)),Ce(t.Switch,"secondaryDisabledColor",(0,N.ux)(t.secondary.main,.62)),Ce(t.Switch,"errorDisabledColor",(0,N.ux)(t.error.main,.62)),Ce(t.Switch,"infoDisabledColor",(0,N.ux)(t.info.main,.62)),Ce(t.Switch,"successDisabledColor",(0,N.ux)(t.success.main,.62)),Ce(t.Switch,"warningDisabledColor",(0,N.ux)(t.warning.main,.62)),Ce(t.TableCell,"border",(0,N.ux)((0,N.zp)(t.divider,1),.88)),Ce(t.Tooltip,"bg",(0,N.zp)(t.grey[700],.92))}else{Ce(t.Alert,"errorColor",(0,N.ux)(t.error.light,.6)),Ce(t.Alert,"infoColor",(0,N.ux)(t.info.light,.6)),Ce(t.Alert,"successColor",(0,N.ux)(t.success.light,.6)),Ce(t.Alert,"warningColor",(0,N.ux)(t.warning.light,.6)),Ce(t.Alert,"errorFilledBg",n("palette-error-dark")),Ce(t.Alert,"infoFilledBg",n("palette-info-dark")),Ce(t.Alert,"successFilledBg",n("palette-success-dark")),Ce(t.Alert,"warningFilledBg",n("palette-warning-dark")),Ce(t.Alert,"errorFilledColor",Te((()=>v.getContrastText(t.error.dark)))),Ce(t.Alert,"infoFilledColor",Te((()=>v.getContrastText(t.info.dark)))),Ce(t.Alert,"successFilledColor",Te((()=>v.getContrastText(t.success.dark)))),Ce(t.Alert,"warningFilledColor",Te((()=>v.getContrastText(t.warning.dark)))),Ce(t.Alert,"errorStandardBg",(0,N.q8)(t.error.light,.9)),Ce(t.Alert,"infoStandardBg",(0,N.q8)(t.info.light,.9)),Ce(t.Alert,"successStandardBg",(0,N.q8)(t.success.light,.9)),Ce(t.Alert,"warningStandardBg",(0,N.q8)(t.warning.light,.9)),Ce(t.Alert,"errorIconColor",n("palette-error-main")),Ce(t.Alert,"infoIconColor",n("palette-info-main")),Ce(t.Alert,"successIconColor",n("palette-success-main")),Ce(t.Alert,"warningIconColor",n("palette-warning-main")),Ce(t.AppBar,"defaultBg",n("palette-grey-900")),Ce(t.AppBar,"darkBg",n("palette-background-paper")),Ce(t.AppBar,"darkColor",n("palette-text-primary")),Ce(t.Avatar,"defaultBg",n("palette-grey-600")),Ce(t.Button,"inheritContainedBg",n("palette-grey-800")),Ce(t.Button,"inheritContainedHoverBg",n("palette-grey-700")),Ce(t.Chip,"defaultBorder",n("palette-grey-700")),Ce(t.Chip,"defaultAvatarColor",n("palette-grey-300")),Ce(t.Chip,"defaultIconColor",n("palette-grey-300")),Ce(t.FilledInput,"bg","rgba(255, 255, 255, 0.09)"),Ce(t.FilledInput,"hoverBg","rgba(255, 255, 255, 0.13)"),Ce(t.FilledInput,"disabledBg","rgba(255, 255, 255, 0.12)"),Ce(t.LinearProgress,"primaryBg",(0,N.q8)(t.primary.main,.5)),Ce(t.LinearProgress,"secondaryBg",(0,N.q8)(t.secondary.main,.5)),Ce(t.LinearProgress,"errorBg",(0,N.q8)(t.error.main,.5)),Ce(t.LinearProgress,"infoBg",(0,N.q8)(t.info.main,.5)),Ce(t.LinearProgress,"successBg",(0,N.q8)(t.success.main,.5)),Ce(t.LinearProgress,"warningBg",(0,N.q8)(t.warning.main,.5)),Ce(t.Skeleton,"bg",`rgba(${n("palette-text-primaryChannel")} / 0.13)`),Ce(t.Slider,"primaryTrack",(0,N.q8)(t.primary.main,.5)),Ce(t.Slider,"secondaryTrack",(0,N.q8)(t.secondary.main,.5)),Ce(t.Slider,"errorTrack",(0,N.q8)(t.error.main,.5)),Ce(t.Slider,"infoTrack",(0,N.q8)(t.info.main,.5)),Ce(t.Slider,"successTrack",(0,N.q8)(t.success.main,.5)),Ce(t.Slider,"warningTrack",(0,N.q8)(t.warning.main,.5));const e=(0,N.fk)(t.background.default,.98);Ce(t.SnackbarContent,"bg",e),Ce(t.SnackbarContent,"color",Te((()=>v.getContrastText(e)))),Ce(t.SpeedDialAction,"fabHoverBg",(0,N.fk)(t.background.paper,.15)),Ce(t.StepConnector,"border",n("palette-grey-600")),Ce(t.StepContent,"border",n("palette-grey-600")),Ce(t.Switch,"defaultColor",n("palette-grey-300")),Ce(t.Switch,"defaultDisabledColor",n("palette-grey-600")),Ce(t.Switch,"primaryDisabledColor",(0,N.q8)(t.primary.main,.55)),Ce(t.Switch,"secondaryDisabledColor",(0,N.q8)(t.secondary.main,.55)),Ce(t.Switch,"errorDisabledColor",(0,N.q8)(t.error.main,.55)),Ce(t.Switch,"infoDisabledColor",(0,N.q8)(t.info.main,.55)),Ce(t.Switch,"successDisabledColor",(0,N.q8)(t.success.main,.55)),Ce(t.Switch,"warningDisabledColor",(0,N.q8)(t.warning.main,.55)),Ce(t.TableCell,"border",(0,N.q8)((0,N.zp)(t.divider,1),.68)),Ce(t.Tooltip,"bg",(0,N.zp)(t.grey[700],.92))}Ee(t.background,"default"),Ee(t.common,"background"),Ee(t.common,"onBackground"),Ee(t,"divider"),Object.keys(t).forEach((e=>{const n=t[e];n&&"object"==typeof n&&(n.main&&Ce(t[e],"mainChannel",(0,N.LR)(n.main)),n.light&&Ce(t[e],"lightChannel",(0,N.LR)(n.light)),n.dark&&Ce(t[e],"darkChannel",(0,N.LR)(n.dark)),n.contrastText&&Ce(t[e],"contrastTextChannel",(0,N.LR)(n.contrastText)),"text"===e&&(Ee(t[e],"primary"),Ee(t[e],"secondary")),"action"===e&&(n.active&&Ee(t[e],"active"),n.selected&&Ee(t[e],"selected")))}))})),g=t.reduce(((e,t)=>(0,P.Z)(e,t)),g);const y={prefix:c,shouldSkipGeneratingVar:u},{vars:b,generateCssVars:w}=ge(g,y);return g.vars=b,g.generateCssVars=w,g.shouldSkipGeneratingVar=u,g.unstable_sxConfig=(0,T.Z)({},ye.Z,null==d?void 0:d.unstable_sxConfig),g.unstable_sx=function(e){return(0,ce.Z)({sx:e,theme:this})},g}var Me=n(71445);const Ae=e=>[...[...Array(24)].map(((t,n)=>`--${e?`${e}-`:""}overlays-${n+1}`)),`--${e?`${e}-`:""}palette-AppBar-darkBg`,`--${e?`${e}-`:""}palette-AppBar-darkColor`],De=$e(),{CssVarsProvider:Le,useColorScheme:Ne,getInitColorSchemeScript:Re}=function(e){const{themeId:t,theme:n={},attribute:r=re,modeStorageKey:o=te,colorSchemeStorageKey:i=ne,defaultMode:a="light",defaultColorScheme:s,disableTransitionOnChange:l=!1,resolveTheme:c,excludeVariablesFromRoot:u}=e;(!n.colorSchemes||"string"==typeof s&&!n.colorSchemes[s]||"object"==typeof s&&!n.colorSchemes[null==s?void 0:s.light]||"object"==typeof s&&!n.colorSchemes[null==s?void 0:s.dark])&&console.error(`MUI: \`${s}\` does not exist in \`theme.colorSchemes\`.`);const d=Y.createContext(void 0),p="string"==typeof s?s:s.light,f="string"==typeof s?s:s.dark;return{CssVarsProvider:function({children:e,theme:p=n,modeStorageKey:f=o,colorSchemeStorageKey:h=i,attribute:m=r,defaultMode:v=a,defaultColorScheme:g=s,disableTransitionOnChange:y=l,storageWindow:b=("undefined"==typeof window?void 0:window),documentNode:w=("undefined"==typeof document?void 0:document),colorSchemeNode:x=("undefined"==typeof document?void 0:document.documentElement),colorSchemeSelector:k=":root",disableNestedContext:S=!1,disableStyleSheetGeneration:C=!1}){const E=Y.useRef(!1),$=(0,J.Z)(),M=Y.useContext(d),A=!!M&&!S,D=p[t],L=D||p,{colorSchemes:N={},components:R={},generateCssVars:I=(()=>({vars:{},css:{}})),cssVarPrefix:Z}=L,_=(0,O.Z)(L,le),F=Object.keys(N),j="string"==typeof g?g:g.light,B="string"==typeof g?g:g.dark,{mode:z,setMode:H,systemMode:U,lightColorScheme:W,darkColorScheme:V,colorScheme:q,setColorScheme:G}=se({supportedColorSchemes:F,defaultLightColorScheme:j,defaultDarkColorScheme:B,modeStorageKey:f,colorSchemeStorageKey:h,defaultMode:v,storageWindow:b});let K=z,te=q;A&&(K=M.mode,te=M.colorScheme);const ne=te||("dark"===(K||("system"===v?a:v))?B:j),{css:re,vars:oe}=I(),ie=(0,T.Z)({},_,{components:R,colorSchemes:N,cssVarPrefix:Z,vars:oe,getColorSchemeSelector:e=>`[${m}="${e}"] &`}),ae={},ce={};Object.entries(N).forEach((([e,t])=>{const{css:n,vars:r}=I(e);ie.vars=(0,P.Z)(ie.vars,r),e===ne&&(Object.keys(t).forEach((e=>{t[e]&&"object"==typeof t[e]?ie[e]=(0,T.Z)({},ie[e],t[e]):ie[e]=t[e]})),ie.palette&&(ie.palette.colorScheme=e));if(e===("string"==typeof g?g:"dark"===v?g.dark:g.light)){if(u){const t={};u(Z).forEach((e=>{t[e]=n[e],delete n[e]})),ae[`[${m}="${e}"]`]=t}ae[`${k}, [${m}="${e}"]`]=n}else ce[`${":root"===k?"":k}[${m}="${e}"]`]=n})),ie.vars=(0,P.Z)(ie.vars,oe),Y.useEffect((()=>{te&&x&&x.setAttribute(m,te)}),[te,m,x]),Y.useEffect((()=>{let e;if(y&&E.current&&w){const t=w.createElement("style");t.appendChild(w.createTextNode("*{-webkit-transition:none!important;-moz-transition:none!important;-o-transition:none!important;-ms-transition:none!important;transition:none!important}")),w.head.appendChild(t),window.getComputedStyle(w.body),e=setTimeout((()=>{w.head.removeChild(t)}),1)}return()=>{clearTimeout(e)}}),[te,y,w]),Y.useEffect((()=>(E.current=!0,()=>{E.current=!1})),[]);const ue=Y.useMemo((()=>({mode:K,systemMode:U,setMode:H,lightColorScheme:W,darkColorScheme:V,colorScheme:te,setColorScheme:G,allColorSchemes:F})),[F,te,V,W,K,G,H,U]);let de=!0;(C||A&&(null==$?void 0:$.cssVarPrefix)===Z)&&(de=!1);const pe=(0,ee.jsxs)(Y.Fragment,{children:[de&&(0,ee.jsxs)(Y.Fragment,{children:[(0,ee.jsx)(X.Z,{styles:{[k]:re}}),(0,ee.jsx)(X.Z,{styles:ae}),(0,ee.jsx)(X.Z,{styles:ce})]}),(0,ee.jsx)(Q.Z,{themeId:D?t:void 0,theme:c?c(ie):ie,children:e})]});return A?pe:(0,ee.jsx)(d.Provider,{value:ue,children:pe})},useColorScheme:()=>{const e=Y.useContext(d);if(!e)throw new Error((0,C.Z)(19));return e},getInitColorSchemeScript:e=>function(e){const{defaultMode:t="light",defaultLightColorScheme:n="light",defaultDarkColorScheme:r="dark",modeStorageKey:o=te,colorSchemeStorageKey:i=ne,attribute:a=re,colorSchemeNode:s="document.documentElement"}=e||{};return(0,ee.jsx)("script",{dangerouslySetInnerHTML:{__html:`(function() {\ntry {\n var mode = localStorage.getItem('${o}') || '${t}';\n var colorScheme = '';\n if (mode === 'system') {\n // handle system mode\n var mql = window.matchMedia('(prefers-color-scheme: dark)');\n if (mql.matches) {\n colorScheme = localStorage.getItem('${i}-dark') || '${r}';\n } else {\n colorScheme = localStorage.getItem('${i}-light') || '${n}';\n }\n }\n if (mode === 'light') {\n colorScheme = localStorage.getItem('${i}-light') || '${n}';\n }\n if (mode === 'dark') {\n colorScheme = localStorage.getItem('${i}-dark') || '${r}';\n }\n if (colorScheme) {\n ${s}.setAttribute('${a}', colorScheme);\n }\n} catch(e){}})();`}},"mui-color-scheme-init")}((0,T.Z)({attribute:r,colorSchemeStorageKey:i,defaultMode:a,defaultLightColorScheme:p,defaultDarkColorScheme:f,modeStorageKey:o},e))}}({themeId:E.Z,theme:De,attribute:"data-mui-color-scheme",modeStorageKey:"mui-mode",colorSchemeStorageKey:"mui-color-scheme",defaultColorScheme:{light:"light",dark:"dark"},resolveTheme:e=>{const t=(0,T.Z)({},e,{typography:(0,Me.Z)(e.palette,e.typography)});return t.unstable_sx=function(e){return(0,ce.Z)({sx:e,theme:this})},t},excludeVariablesFromRoot:Ae});function Ie(){throw new Error((0,C.Z)(20))}var Pe=n(64298),Ze=(n(59864),n(90512)),_e=n(94780),Fe=n(96630),je=n(30577),Be=n(51705),ze=n(1588),He=n(34867);function Ue(e){return(0,He.Z)("MuiCollapse",e)}const We=(0,ze.Z)("MuiCollapse",["root","horizontal","vertical","entered","hidden","wrapper","wrapperInner"]),Ve=["addEndListener","children","className","collapsedSize","component","easing","in","onEnter","onEntered","onEntering","onExit","onExited","onExiting","orientation","style","timeout","TransitionComponent"],qe=(0,W.ZP)("div",{name:"MuiCollapse",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,t[n.orientation],"entered"===n.state&&t.entered,"exited"===n.state&&!n.in&&"0px"===n.collapsedSize&&t.hidden]}})((({theme:e,ownerState:t})=>(0,T.Z)({height:0,overflow:"hidden",transition:e.transitions.create("height")},"horizontal"===t.orientation&&{height:"auto",width:0,transition:e.transitions.create("width")},"entered"===t.state&&(0,T.Z)({height:"auto",overflow:"visible"},"horizontal"===t.orientation&&{width:"auto"}),"exited"===t.state&&!t.in&&"0px"===t.collapsedSize&&{visibility:"hidden"}))),Ge=(0,W.ZP)("div",{name:"MuiCollapse",slot:"Wrapper",overridesResolver:(e,t)=>t.wrapper})((({ownerState:e})=>(0,T.Z)({display:"flex",width:"100%"},"horizontal"===e.orientation&&{width:"auto",height:"100%"}))),Ke=(0,W.ZP)("div",{name:"MuiCollapse",slot:"WrapperInner",overridesResolver:(e,t)=>t.wrapperInner})((({ownerState:e})=>(0,T.Z)({width:"100%"},"horizontal"===e.orientation&&{width:"auto",height:"100%"}))),Ye=Y.forwardRef((function(e,t){const n=(0,U.Z)({props:e,name:"MuiCollapse"}),{addEndListener:r,children:o,className:i,collapsedSize:a="0px",component:s,easing:l,in:c,onEnter:u,onEntered:d,onEntering:p,onExit:f,onExited:h,onExiting:m,orientation:v="vertical",style:g,timeout:y=z.x9.standard,TransitionComponent:b=Fe.ZP}=n,w=(0,O.Z)(n,Ve),x=(0,T.Z)({},n,{orientation:v,collapsedSize:a}),k=(e=>{const{orientation:t,classes:n}=e,r={root:["root",`${t}`],entered:["entered"],hidden:["hidden"],wrapper:["wrapper",`${t}`],wrapperInner:["wrapperInner",`${t}`]};return(0,_e.Z)(r,Ue,n)})(x),S=(0,H.Z)(),C=Y.useRef(),E=Y.useRef(null),$=Y.useRef(),M="number"==typeof a?`${a}px`:a,A="horizontal"===v,D=A?"width":"height";Y.useEffect((()=>()=>{clearTimeout(C.current)}),[]);const L=Y.useRef(null),N=(0,Be.Z)(t,L),R=e=>t=>{if(e){const n=L.current;void 0===t?e(n):e(n,t)}},I=()=>E.current?E.current[A?"clientWidth":"clientHeight"]:0,P=R(((e,t)=>{E.current&&A&&(E.current.style.position="absolute"),e.style[D]=M,u&&u(e,t)})),Z=R(((e,t)=>{const n=I();E.current&&A&&(E.current.style.position="");const{duration:r,easing:o}=(0,je.C)({style:g,timeout:y,easing:l},{mode:"enter"});if("auto"===y){const t=S.transitions.getAutoHeightDuration(n);e.style.transitionDuration=`${t}ms`,$.current=t}else e.style.transitionDuration="string"==typeof r?r:`${r}ms`;e.style[D]=`${n}px`,e.style.transitionTimingFunction=o,p&&p(e,t)})),_=R(((e,t)=>{e.style[D]="auto",d&&d(e,t)})),F=R((e=>{e.style[D]=`${I()}px`,f&&f(e)})),j=R(h),B=R((e=>{const t=I(),{duration:n,easing:r}=(0,je.C)({style:g,timeout:y,easing:l},{mode:"exit"});if("auto"===y){const n=S.transitions.getAutoHeightDuration(t);e.style.transitionDuration=`${n}ms`,$.current=n}else e.style.transitionDuration="string"==typeof n?n:`${n}ms`;e.style[D]=M,e.style.transitionTimingFunction=r,m&&m(e)}));return(0,ee.jsx)(b,(0,T.Z)({in:c,onEnter:P,onEntered:_,onEntering:Z,onExit:F,onExited:j,onExiting:B,addEndListener:e=>{"auto"===y&&(C.current=setTimeout(e,$.current||0)),r&&r(L.current,e)},nodeRef:L,timeout:"auto"===y?null:y},w,{children:(e,t)=>(0,ee.jsx)(qe,(0,T.Z)({as:s,className:(0,Ze.Z)(k.root,i,{entered:k.entered,exited:!c&&"0px"===M&&k.hidden}[e]),style:(0,T.Z)({[A?"minWidth":"minHeight"]:M},g),ownerState:(0,T.Z)({},x,{state:e}),ref:N},t,{children:(0,ee.jsx)(Ge,{ownerState:(0,T.Z)({},x,{state:e}),className:k.wrapper,ref:E,children:(0,ee.jsx)(Ke,{ownerState:(0,T.Z)({},x,{state:e}),className:k.wrapperInner,children:o})})}))}))}));Ye.muiSupportAuto=!0;const Xe=Ye;var Je=n(21987);const Qe=Y.createContext({});var et=n(49299);function tt(e){return(0,He.Z)("MuiAccordion",e)}const nt=(0,ze.Z)("MuiAccordion",["root","rounded","expanded","disabled","gutters","region"]),rt=["children","className","defaultExpanded","disabled","disableGutters","expanded","onChange","square","TransitionComponent","TransitionProps"],ot=(0,W.ZP)(Je.Z,{name:"MuiAccordion",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[{[`& .${nt.region}`]:t.region},t.root,!n.square&&t.rounded,!n.disableGutters&&t.gutters]}})((({theme:e})=>{const t={duration:e.transitions.duration.shortest};return{position:"relative",transition:e.transitions.create(["margin"],t),overflowAnchor:"none","&:before":{position:"absolute",left:0,top:-1,right:0,height:1,content:'""',opacity:1,backgroundColor:(e.vars||e).palette.divider,transition:e.transitions.create(["opacity","background-color"],t)},"&:first-of-type":{"&:before":{display:"none"}},[`&.${nt.expanded}`]:{"&:before":{opacity:0},"&:first-of-type":{marginTop:0},"&:last-of-type":{marginBottom:0},"& + &":{"&:before":{display:"none"}}},[`&.${nt.disabled}`]:{backgroundColor:(e.vars||e).palette.action.disabledBackground}}}),(({theme:e,ownerState:t})=>(0,T.Z)({},!t.square&&{borderRadius:0,"&:first-of-type":{borderTopLeftRadius:(e.vars||e).shape.borderRadius,borderTopRightRadius:(e.vars||e).shape.borderRadius},"&:last-of-type":{borderBottomLeftRadius:(e.vars||e).shape.borderRadius,borderBottomRightRadius:(e.vars||e).shape.borderRadius,"@supports (-ms-ime-align: auto)":{borderBottomLeftRadius:0,borderBottomRightRadius:0}}},!t.disableGutters&&{[`&.${nt.expanded}`]:{margin:"16px 0"}}))),it=Y.forwardRef((function(e,t){const n=(0,U.Z)({props:e,name:"MuiAccordion"}),{children:r,className:o,defaultExpanded:i=!1,disabled:a=!1,disableGutters:s=!1,expanded:l,onChange:c,square:u=!1,TransitionComponent:d=Xe,TransitionProps:p}=n,f=(0,O.Z)(n,rt),[h,m]=(0,et.Z)({controlled:l,default:i,name:"Accordion",state:"expanded"}),v=Y.useCallback((e=>{m(!h),c&&c(e,!h)}),[h,c,m]),[g,...y]=Y.Children.toArray(r),b=Y.useMemo((()=>({expanded:h,disabled:a,disableGutters:s,toggle:v})),[h,a,s,v]),w=(0,T.Z)({},n,{square:u,disabled:a,disableGutters:s,expanded:h}),x=(e=>{const{classes:t,square:n,expanded:r,disabled:o,disableGutters:i}=e,a={root:["root",!n&&"rounded",r&&"expanded",o&&"disabled",!i&&"gutters"],region:["region"]};return(0,_e.Z)(a,tt,t)})(w);return(0,ee.jsxs)(ot,(0,T.Z)({className:(0,Ze.Z)(x.root,o),ref:t,ownerState:w,square:u},f,{children:[(0,ee.jsx)(Qe.Provider,{value:b,children:g}),(0,ee.jsx)(d,(0,T.Z)({in:h,timeout:"auto"},p,{children:(0,ee.jsx)("div",{"aria-labelledby":g.props.id,id:g.props["aria-controls"],role:"region",className:x.region,children:y})}))]}))}));function at(e){return(0,He.Z)("MuiAccordionActions",e)}const st=(0,ze.Z)("MuiAccordionActions",["root","spacing"]),lt=["className","disableSpacing"],ct=(0,W.ZP)("div",{name:"MuiAccordionActions",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,!n.disableSpacing&&t.spacing]}})((({ownerState:e})=>(0,T.Z)({display:"flex",alignItems:"center",padding:8,justifyContent:"flex-end"},!e.disableSpacing&&{"& > :not(:first-of-type)":{marginLeft:8}}))),ut=Y.forwardRef((function(e,t){const n=(0,U.Z)({props:e,name:"MuiAccordionActions"}),{className:r,disableSpacing:o=!1}=n,i=(0,O.Z)(n,lt),a=(0,T.Z)({},n,{disableSpacing:o}),s=(e=>{const{classes:t,disableSpacing:n}=e,r={root:["root",!n&&"spacing"]};return(0,_e.Z)(r,at,t)})(a);return(0,ee.jsx)(ct,(0,T.Z)({className:(0,Ze.Z)(s.root,r),ref:t,ownerState:a},i))}));function dt(e){return(0,He.Z)("MuiAccordionDetails",e)}const pt=(0,ze.Z)("MuiAccordionDetails",["root"]),ft=["className"],ht=(0,W.ZP)("div",{name:"MuiAccordionDetails",slot:"Root",overridesResolver:(e,t)=>t.root})((({theme:e})=>({padding:e.spacing(1,2,2)}))),mt=Y.forwardRef((function(e,t){const n=(0,U.Z)({props:e,name:"MuiAccordionDetails"}),{className:r}=n,o=(0,O.Z)(n,ft),i=n,a=(e=>{const{classes:t}=e;return(0,_e.Z)({root:["root"]},dt,t)})(i);return(0,ee.jsx)(ht,(0,T.Z)({className:(0,Ze.Z)(a.root,r),ref:t,ownerState:i},o))}));var vt=n(62308);function gt(e){return(0,He.Z)("MuiAccordionSummary",e)}const yt=(0,ze.Z)("MuiAccordionSummary",["root","expanded","focusVisible","disabled","gutters","contentGutters","content","expandIconWrapper"]),bt=["children","className","expandIcon","focusVisibleClassName","onClick"],wt=(0,W.ZP)(vt.Z,{name:"MuiAccordionSummary",slot:"Root",overridesResolver:(e,t)=>t.root})((({theme:e,ownerState:t})=>{const n={duration:e.transitions.duration.shortest};return(0,T.Z)({display:"flex",minHeight:48,padding:e.spacing(0,2),transition:e.transitions.create(["min-height","background-color"],n),[`&.${yt.focusVisible}`]:{backgroundColor:(e.vars||e).palette.action.focus},[`&.${yt.disabled}`]:{opacity:(e.vars||e).palette.action.disabledOpacity},[`&:hover:not(.${yt.disabled})`]:{cursor:"pointer"}},!t.disableGutters&&{[`&.${yt.expanded}`]:{minHeight:64}})})),xt=(0,W.ZP)("div",{name:"MuiAccordionSummary",slot:"Content",overridesResolver:(e,t)=>t.content})((({theme:e,ownerState:t})=>(0,T.Z)({display:"flex",flexGrow:1,margin:"12px 0"},!t.disableGutters&&{transition:e.transitions.create(["margin"],{duration:e.transitions.duration.shortest}),[`&.${yt.expanded}`]:{margin:"20px 0"}}))),kt=(0,W.ZP)("div",{name:"MuiAccordionSummary",slot:"ExpandIconWrapper",overridesResolver:(e,t)=>t.expandIconWrapper})((({theme:e})=>({display:"flex",color:(e.vars||e).palette.action.active,transform:"rotate(0deg)",transition:e.transitions.create("transform",{duration:e.transitions.duration.shortest}),[`&.${yt.expanded}`]:{transform:"rotate(180deg)"}}))),St=Y.forwardRef((function(e,t){const n=(0,U.Z)({props:e,name:"MuiAccordionSummary"}),{children:r,className:o,expandIcon:i,focusVisibleClassName:a,onClick:s}=n,l=(0,O.Z)(n,bt),{disabled:c=!1,disableGutters:u,expanded:d,toggle:p}=Y.useContext(Qe),f=(0,T.Z)({},n,{expanded:d,disabled:c,disableGutters:u}),h=(e=>{const{classes:t,expanded:n,disabled:r,disableGutters:o}=e,i={root:["root",n&&"expanded",r&&"disabled",!o&&"gutters"],focusVisible:["focusVisible"],content:["content",n&&"expanded",!o&&"contentGutters"],expandIconWrapper:["expandIconWrapper",n&&"expanded"]};return(0,_e.Z)(i,gt,t)})(f);return(0,ee.jsxs)(wt,(0,T.Z)({focusRipple:!1,disableRipple:!0,disabled:c,component:"div","aria-expanded":d,className:(0,Ze.Z)(h.root,o),focusVisibleClassName:(0,Ze.Z)(h.focusVisible,a),onClick:e=>{p&&p(e),s&&s(e)},ref:t,ownerState:f},l,{children:[(0,ee.jsx)(xt,{className:h.content,ownerState:f,children:r}),i&&(0,ee.jsx)(kt,{className:h.expandIconWrapper,ownerState:f,children:i})]}))}));var Ct=n(98216);function Et(e){return(0,He.Z)("MuiAlert",e)}const Tt=(0,ze.Z)("MuiAlert",["root","action","icon","message","filled","filledSuccess","filledInfo","filledWarning","filledError","outlined","outlinedSuccess","outlinedInfo","outlinedWarning","outlinedError","standard","standardSuccess","standardInfo","standardWarning","standardError"]);var Ot=n(54799),$t=n(82066);const Mt=(0,$t.Z)((0,ee.jsx)("path",{d:"M20,12A8,8 0 0,1 12,20A8,8 0 0,1 4,12A8,8 0 0,1 12,4C12.76,4 13.5,4.11 14.2, 4.31L15.77,2.74C14.61,2.26 13.34,2 12,2A10,10 0 0,0 2,12A10,10 0 0,0 12,22A10,10 0 0, 0 22,12M7.91,10.08L6.5,11.5L11,16L21,6L19.59,4.58L11,13.17L7.91,10.08Z"}),"SuccessOutlined"),At=(0,$t.Z)((0,ee.jsx)("path",{d:"M12 5.99L19.53 19H4.47L12 5.99M12 2L1 21h22L12 2zm1 14h-2v2h2v-2zm0-6h-2v4h2v-4z"}),"ReportProblemOutlined"),Dt=(0,$t.Z)((0,ee.jsx)("path",{d:"M11 15h2v2h-2zm0-8h2v6h-2zm.99-5C6.47 2 2 6.48 2 12s4.47 10 9.99 10C17.52 22 22 17.52 22 12S17.52 2 11.99 2zM12 20c-4.42 0-8-3.58-8-8s3.58-8 8-8 8 3.58 8 8-3.58 8-8 8z"}),"ErrorOutline"),Lt=(0,$t.Z)((0,ee.jsx)("path",{d:"M11,9H13V7H11M12,20C7.59,20 4,16.41 4,12C4,7.59 7.59,4 12,4C16.41,4 20,7.59 20, 12C20,16.41 16.41,20 12,20M12,2A10,10 0 0,0 2,12A10,10 0 0,0 12,22A10,10 0 0,0 22,12A10, 10 0 0,0 12,2M11,17H13V11H11V17Z"}),"InfoOutlined");var Nt=n(34484);const Rt=["action","children","className","closeText","color","components","componentsProps","icon","iconMapping","onClose","role","severity","slotProps","slots","variant"],It=(0,W.ZP)(Je.Z,{name:"MuiAlert",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,t[n.variant],t[`${n.variant}${(0,Ct.Z)(n.color||n.severity)}`]]}})((({theme:e,ownerState:t})=>{const n="light"===e.palette.mode?N._j:N.$n,r="light"===e.palette.mode?N.$n:N._j,o=t.color||t.severity;return(0,T.Z)({},e.typography.body2,{backgroundColor:"transparent",display:"flex",padding:"6px 16px"},o&&"standard"===t.variant&&{color:e.vars?e.vars.palette.Alert[`${o}Color`]:n(e.palette[o].light,.6),backgroundColor:e.vars?e.vars.palette.Alert[`${o}StandardBg`]:r(e.palette[o].light,.9),[`& .${Tt.icon}`]:e.vars?{color:e.vars.palette.Alert[`${o}IconColor`]}:{color:e.palette[o].main}},o&&"outlined"===t.variant&&{color:e.vars?e.vars.palette.Alert[`${o}Color`]:n(e.palette[o].light,.6),border:`1px solid ${(e.vars||e).palette[o].light}`,[`& .${Tt.icon}`]:e.vars?{color:e.vars.palette.Alert[`${o}IconColor`]}:{color:e.palette[o].main}},o&&"filled"===t.variant&&(0,T.Z)({fontWeight:e.typography.fontWeightMedium},e.vars?{color:e.vars.palette.Alert[`${o}FilledColor`],backgroundColor:e.vars.palette.Alert[`${o}FilledBg`]}:{backgroundColor:"dark"===e.palette.mode?e.palette[o].dark:e.palette[o].main,color:e.palette.getContrastText(e.palette[o].main)}))})),Pt=(0,W.ZP)("div",{name:"MuiAlert",slot:"Icon",overridesResolver:(e,t)=>t.icon})({marginRight:12,padding:"7px 0",display:"flex",fontSize:22,opacity:.9}),Zt=(0,W.ZP)("div",{name:"MuiAlert",slot:"Message",overridesResolver:(e,t)=>t.message})({padding:"8px 0",minWidth:0,overflow:"auto"}),_t=(0,W.ZP)("div",{name:"MuiAlert",slot:"Action",overridesResolver:(e,t)=>t.action})({display:"flex",alignItems:"flex-start",padding:"4px 0 0 16px",marginLeft:"auto",marginRight:-8}),Ft={success:(0,ee.jsx)(Mt,{fontSize:"inherit"}),warning:(0,ee.jsx)(At,{fontSize:"inherit"}),error:(0,ee.jsx)(Dt,{fontSize:"inherit"}),info:(0,ee.jsx)(Lt,{fontSize:"inherit"})},jt=Y.forwardRef((function(e,t){var n,r,o,i,a,s;const l=(0,U.Z)({props:e,name:"MuiAlert"}),{action:c,children:u,className:d,closeText:p="Close",color:f,components:h={},componentsProps:m={},icon:v,iconMapping:g=Ft,onClose:y,role:b="alert",severity:w="success",slotProps:x={},slots:k={},variant:S="standard"}=l,C=(0,O.Z)(l,Rt),E=(0,T.Z)({},l,{color:f,severity:w,variant:S}),$=(e=>{const{variant:t,color:n,severity:r,classes:o}=e,i={root:["root",`${t}${(0,Ct.Z)(n||r)}`,`${t}`],icon:["icon"],message:["message"],action:["action"]};return(0,_e.Z)(i,Et,o)})(E),M=null!=(n=null!=(r=k.closeButton)?r:h.CloseButton)?n:Ot.Z,A=null!=(o=null!=(i=k.closeIcon)?i:h.CloseIcon)?o:Nt.Z,D=null!=(a=x.closeButton)?a:m.closeButton,L=null!=(s=x.closeIcon)?s:m.closeIcon;return(0,ee.jsxs)(It,(0,T.Z)({role:b,elevation:0,ownerState:E,className:(0,Ze.Z)($.root,d),ref:t},C,{children:[!1!==v?(0,ee.jsx)(Pt,{ownerState:E,className:$.icon,children:v||g[w]||Ft[w]}):null,(0,ee.jsx)(Zt,{ownerState:E,className:$.message,children:u}),null!=c?(0,ee.jsx)(_t,{ownerState:E,className:$.action,children:c}):null,null==c&&y?(0,ee.jsx)(_t,{ownerState:E,className:$.action,children:(0,ee.jsx)(M,(0,T.Z)({size:"small","aria-label":p,title:p,color:"inherit",onClick:y},D,{children:(0,ee.jsx)(A,(0,T.Z)({fontSize:"small"},L))}))}):null]}))}));var Bt=n(23972);function zt(e){return(0,He.Z)("MuiAlertTitle",e)}const Ht=(0,ze.Z)("MuiAlertTitle",["root"]),Ut=["className"],Wt=(0,W.ZP)(Bt.Z,{name:"MuiAlertTitle",slot:"Root",overridesResolver:(e,t)=>t.root})((({theme:e})=>({fontWeight:e.typography.fontWeightMedium,marginTop:-2}))),Vt=Y.forwardRef((function(e,t){const n=(0,U.Z)({props:e,name:"MuiAlertTitle"}),{className:r}=n,o=(0,O.Z)(n,Ut),i=n,a=(e=>{const{classes:t}=e;return(0,_e.Z)({root:["root"]},zt,t)})(i);return(0,ee.jsx)(Wt,(0,T.Z)({gutterBottom:!0,component:"div",ownerState:i,ref:t,className:(0,Ze.Z)(a.root,r)},o))}));function qt(e){return(0,He.Z)("MuiAppBar",e)}const Gt=(0,ze.Z)("MuiAppBar",["root","positionFixed","positionAbsolute","positionSticky","positionStatic","positionRelative","colorDefault","colorPrimary","colorSecondary","colorInherit","colorTransparent"]),Kt=["className","color","enableColorOnDark","position"],Yt=(e,t)=>e?`${null==e?void 0:e.replace(")","")}, ${t})`:t,Xt=(0,W.ZP)(Je.Z,{name:"MuiAppBar",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,t[`position${(0,Ct.Z)(n.position)}`],t[`color${(0,Ct.Z)(n.color)}`]]}})((({theme:e,ownerState:t})=>{const n="light"===e.palette.mode?e.palette.grey[100]:e.palette.grey[900];return(0,T.Z)({display:"flex",flexDirection:"column",width:"100%",boxSizing:"border-box",flexShrink:0},"fixed"===t.position&&{position:"fixed",zIndex:(e.vars||e).zIndex.appBar,top:0,left:"auto",right:0,"@media print":{position:"absolute"}},"absolute"===t.position&&{position:"absolute",zIndex:(e.vars||e).zIndex.appBar,top:0,left:"auto",right:0},"sticky"===t.position&&{position:"sticky",zIndex:(e.vars||e).zIndex.appBar,top:0,left:"auto",right:0},"static"===t.position&&{position:"static"},"relative"===t.position&&{position:"relative"},!e.vars&&(0,T.Z)({},"default"===t.color&&{backgroundColor:n,color:e.palette.getContrastText(n)},t.color&&"default"!==t.color&&"inherit"!==t.color&&"transparent"!==t.color&&{backgroundColor:e.palette[t.color].main,color:e.palette[t.color].contrastText},"inherit"===t.color&&{color:"inherit"},"dark"===e.palette.mode&&!t.enableColorOnDark&&{backgroundColor:null,color:null},"transparent"===t.color&&(0,T.Z)({backgroundColor:"transparent",color:"inherit"},"dark"===e.palette.mode&&{backgroundImage:"none"})),e.vars&&(0,T.Z)({},"default"===t.color&&{"--AppBar-background":t.enableColorOnDark?e.vars.palette.AppBar.defaultBg:Yt(e.vars.palette.AppBar.darkBg,e.vars.palette.AppBar.defaultBg),"--AppBar-color":t.enableColorOnDark?e.vars.palette.text.primary:Yt(e.vars.palette.AppBar.darkColor,e.vars.palette.text.primary)},t.color&&!t.color.match(/^(default|inherit|transparent)$/)&&{"--AppBar-background":t.enableColorOnDark?e.vars.palette[t.color].main:Yt(e.vars.palette.AppBar.darkBg,e.vars.palette[t.color].main),"--AppBar-color":t.enableColorOnDark?e.vars.palette[t.color].contrastText:Yt(e.vars.palette.AppBar.darkColor,e.vars.palette[t.color].contrastText)},{backgroundColor:"var(--AppBar-background)",color:"inherit"===t.color?"inherit":"var(--AppBar-color)"},"transparent"===t.color&&{backgroundImage:"none",backgroundColor:"transparent",color:"inherit"}))})),Jt=Y.forwardRef((function(e,t){const n=(0,U.Z)({props:e,name:"MuiAppBar"}),{className:r,color:o="primary",enableColorOnDark:i=!1,position:a="fixed"}=n,s=(0,O.Z)(n,Kt),l=(0,T.Z)({},n,{color:o,position:a,enableColorOnDark:i}),c=(e=>{const{color:t,position:n,classes:r}=e,o={root:["root",`color${(0,Ct.Z)(t)}`,`position${(0,Ct.Z)(n)}`]};return(0,_e.Z)(o,qt,r)})(l);return(0,ee.jsx)(Xt,(0,T.Z)({square:!0,component:"header",ownerState:l,elevation:4,className:(0,Ze.Z)(c.root,r,"fixed"===a&&"mui-fixed"),ref:t},s))}));var Qt=n(23776),en=n(93362),tn=n(80482),nn=n(27995),rn=n(54801);function on(e){return(0,He.Z)("MuiAvatarGroup",e)}const an=(0,ze.Z)("MuiAvatarGroup",["root","avatar"]),sn=["children","className","component","componentsProps","max","slotProps","spacing","total","variant"],ln={small:-16,medium:null},cn=(0,W.ZP)("div",{name:"MuiAvatarGroup",slot:"Root",overridesResolver:(e,t)=>(0,T.Z)({[`& .${an.avatar}`]:t.avatar},t.root)})((({theme:e})=>({[`& .${rn.Z.root}`]:{border:`2px solid ${(e.vars||e).palette.background.default}`,boxSizing:"content-box",marginLeft:-8,"&:last-child":{marginLeft:0}},display:"flex",flexDirection:"row-reverse"}))),un=(0,W.ZP)(nn.Z,{name:"MuiAvatarGroup",slot:"Avatar",overridesResolver:(e,t)=>t.avatar})((({theme:e})=>({border:`2px solid ${(e.vars||e).palette.background.default}`,boxSizing:"content-box",marginLeft:-8,"&:last-child":{marginLeft:0}}))),dn=Y.forwardRef((function(e,t){var n;const r=(0,U.Z)({props:e,name:"MuiAvatarGroup"}),{children:o,className:i,component:a="div",componentsProps:s={},max:l=5,slotProps:c={},spacing:u="medium",total:d,variant:p="circular"}=r,f=(0,O.Z)(r,sn);let h=l<2?2:l;const m=(0,T.Z)({},r,{max:l,spacing:u,component:a,variant:p}),v=(e=>{const{classes:t}=e;return(0,_e.Z)({root:["root"],avatar:["avatar"]},on,t)})(m),g=Y.Children.toArray(o).filter((e=>Y.isValidElement(e))),y=d||g.length;y===h&&(h+=1),h=Math.min(y+1,h);const b=Math.min(g.length,h-1),w=Math.max(y-h,y-b,0),x=u&&void 0!==ln[u]?ln[u]:-u,k=null!=(n=c.additionalAvatar)?n:s.additionalAvatar;return(0,ee.jsxs)(cn,(0,T.Z)({as:a,ownerState:m,className:(0,Ze.Z)(v.root,i),ref:t},f,{children:[w?(0,ee.jsxs)(un,(0,T.Z)({ownerState:m,variant:p},k,{className:(0,Ze.Z)(v.avatar,null==k?void 0:k.className),style:(0,T.Z)({marginLeft:x},null==k?void 0:k.style),children:["+",w]})):null,g.slice(0,b).reverse().map(((e,t)=>Y.cloneElement(e,{className:(0,Ze.Z)(e.props.className,v.avatar),style:(0,T.Z)({marginLeft:t===b-1?void 0:x},e.props.style),variant:e.props.variant||p})))]}))}));var pn=n(45889),fn=n(6496),hn=n(2097);var mn=n(7293);function vn(e){return(0,He.Z)("MuiBadge",e)}const gn=(0,ze.Z)("MuiBadge",["root","badge","dot","standard","anchorOriginTopRight","anchorOriginBottomRight","anchorOriginTopLeft","anchorOriginBottomLeft","invisible","colorError","colorInfo","colorPrimary","colorSecondary","colorSuccess","colorWarning","overlapRectangular","overlapCircular","anchorOriginTopLeftCircular","anchorOriginTopLeftRectangular","anchorOriginTopRightCircular","anchorOriginTopRightRectangular","anchorOriginBottomLeftCircular","anchorOriginBottomLeftRectangular","anchorOriginBottomRightCircular","anchorOriginBottomRightRectangular"]),yn=["anchorOrigin","className","classes","component","components","componentsProps","children","overlap","color","invisible","max","badgeContent","slots","slotProps","showZero","variant"],bn=(0,W.ZP)("span",{name:"MuiBadge",slot:"Root",overridesResolver:(e,t)=>t.root})({position:"relative",display:"inline-flex",verticalAlign:"middle",flexShrink:0}),wn=(0,W.ZP)("span",{name:"MuiBadge",slot:"Badge",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.badge,t[n.variant],t[`anchorOrigin${(0,Ct.Z)(n.anchorOrigin.vertical)}${(0,Ct.Z)(n.anchorOrigin.horizontal)}${(0,Ct.Z)(n.overlap)}`],"default"!==n.color&&t[`color${(0,Ct.Z)(n.color)}`],n.invisible&&t.invisible]}})((({theme:e,ownerState:t})=>(0,T.Z)({display:"flex",flexDirection:"row",flexWrap:"wrap",justifyContent:"center",alignContent:"center",alignItems:"center",position:"absolute",boxSizing:"border-box",fontFamily:e.typography.fontFamily,fontWeight:e.typography.fontWeightMedium,fontSize:e.typography.pxToRem(12),minWidth:20,lineHeight:1,padding:"0 6px",height:20,borderRadius:10,zIndex:1,transition:e.transitions.create("transform",{easing:e.transitions.easing.easeInOut,duration:e.transitions.duration.enteringScreen})},"default"!==t.color&&{backgroundColor:(e.vars||e).palette[t.color].main,color:(e.vars||e).palette[t.color].contrastText},"dot"===t.variant&&{borderRadius:4,height:8,minWidth:8,padding:0},"top"===t.anchorOrigin.vertical&&"right"===t.anchorOrigin.horizontal&&"rectangular"===t.overlap&&{top:0,right:0,transform:"scale(1) translate(50%, -50%)",transformOrigin:"100% 0%",[`&.${gn.invisible}`]:{transform:"scale(0) translate(50%, -50%)"}},"bottom"===t.anchorOrigin.vertical&&"right"===t.anchorOrigin.horizontal&&"rectangular"===t.overlap&&{bottom:0,right:0,transform:"scale(1) translate(50%, 50%)",transformOrigin:"100% 100%",[`&.${gn.invisible}`]:{transform:"scale(0) translate(50%, 50%)"}},"top"===t.anchorOrigin.vertical&&"left"===t.anchorOrigin.horizontal&&"rectangular"===t.overlap&&{top:0,left:0,transform:"scale(1) translate(-50%, -50%)",transformOrigin:"0% 0%",[`&.${gn.invisible}`]:{transform:"scale(0) translate(-50%, -50%)"}},"bottom"===t.anchorOrigin.vertical&&"left"===t.anchorOrigin.horizontal&&"rectangular"===t.overlap&&{bottom:0,left:0,transform:"scale(1) translate(-50%, 50%)",transformOrigin:"0% 100%",[`&.${gn.invisible}`]:{transform:"scale(0) translate(-50%, 50%)"}},"top"===t.anchorOrigin.vertical&&"right"===t.anchorOrigin.horizontal&&"circular"===t.overlap&&{top:"14%",right:"14%",transform:"scale(1) translate(50%, -50%)",transformOrigin:"100% 0%",[`&.${gn.invisible}`]:{transform:"scale(0) translate(50%, -50%)"}},"bottom"===t.anchorOrigin.vertical&&"right"===t.anchorOrigin.horizontal&&"circular"===t.overlap&&{bottom:"14%",right:"14%",transform:"scale(1) translate(50%, 50%)",transformOrigin:"100% 100%",[`&.${gn.invisible}`]:{transform:"scale(0) translate(50%, 50%)"}},"top"===t.anchorOrigin.vertical&&"left"===t.anchorOrigin.horizontal&&"circular"===t.overlap&&{top:"14%",left:"14%",transform:"scale(1) translate(-50%, -50%)",transformOrigin:"0% 0%",[`&.${gn.invisible}`]:{transform:"scale(0) translate(-50%, -50%)"}},"bottom"===t.anchorOrigin.vertical&&"left"===t.anchorOrigin.horizontal&&"circular"===t.overlap&&{bottom:"14%",left:"14%",transform:"scale(1) translate(-50%, 50%)",transformOrigin:"0% 100%",[`&.${gn.invisible}`]:{transform:"scale(0) translate(-50%, 50%)"}},t.invisible&&{transition:e.transitions.create("transform",{easing:e.transitions.easing.easeInOut,duration:e.transitions.duration.leavingScreen})}))),xn=Y.forwardRef((function(e,t){var n,r,o,i,a,s;const l=(0,U.Z)({props:e,name:"MuiBadge"}),{anchorOrigin:c={vertical:"top",horizontal:"right"},className:u,component:d,components:p={},componentsProps:f={},children:h,overlap:m="rectangular",color:v="default",invisible:g=!1,max:y=99,badgeContent:b,slots:w,slotProps:x,showZero:k=!1,variant:S="standard"}=l,C=(0,O.Z)(l,yn),{badgeContent:E,invisible:$,max:M,displayValue:A}=function(e){const{badgeContent:t,invisible:n=!1,max:r=99,showZero:o=!1}=e,i=(0,hn.Z)({badgeContent:t,max:r});let a=n;!1!==n||0!==t||o||(a=!0);const{badgeContent:s,max:l=r}=a?i:e;return{badgeContent:s,invisible:a,max:l,displayValue:s&&Number(s)>l?`${l}+`:s}}({max:y,invisible:g,badgeContent:b,showZero:k}),D=(0,hn.Z)({anchorOrigin:c,color:v,overlap:m,variant:S,badgeContent:b}),L=$||null==E&&"dot"!==S,{color:N=v,overlap:R=m,anchorOrigin:I=c,variant:P=S}=L?D:l,Z="dot"!==P?A:void 0,_=(0,T.Z)({},l,{badgeContent:E,invisible:L,max:M,displayValue:Z,showZero:k,anchorOrigin:I,color:N,overlap:R,variant:P}),F=(e=>{const{color:t,anchorOrigin:n,invisible:r,overlap:o,variant:i,classes:a={}}=e,s={root:["root"],badge:["badge",i,r&&"invisible",`anchorOrigin${(0,Ct.Z)(n.vertical)}${(0,Ct.Z)(n.horizontal)}`,`anchorOrigin${(0,Ct.Z)(n.vertical)}${(0,Ct.Z)(n.horizontal)}${(0,Ct.Z)(o)}`,`overlap${(0,Ct.Z)(o)}`,"default"!==t&&`color${(0,Ct.Z)(t)}`]};return(0,_e.Z)(s,vn,a)})(_),j=null!=(n=null!=(r=null==w?void 0:w.root)?r:p.Root)?n:bn,B=null!=(o=null!=(i=null==w?void 0:w.badge)?i:p.Badge)?o:wn,z=null!=(a=null==x?void 0:x.root)?a:f.root,H=null!=(s=null==x?void 0:x.badge)?s:f.badge,W=(0,mn.y)({elementType:j,externalSlotProps:z,externalForwardedProps:C,additionalProps:{ref:t,as:d},ownerState:_,className:(0,Ze.Z)(null==z?void 0:z.className,F.root,u)}),V=(0,mn.y)({elementType:B,externalSlotProps:H,ownerState:_,className:(0,Ze.Z)(F.badge,null==H?void 0:H.className)});return(0,ee.jsxs)(j,(0,T.Z)({},W,{children:[h,(0,ee.jsx)(B,(0,T.Z)({},V,{children:Z}))]}))}));function kn(e){return(0,He.Z)("MuiBottomNavigation",e)}const Sn=(0,ze.Z)("MuiBottomNavigation",["root"]),Cn=["children","className","component","onChange","showLabels","value"],En=(0,W.ZP)("div",{name:"MuiBottomNavigation",slot:"Root",overridesResolver:(e,t)=>t.root})((({theme:e})=>({display:"flex",justifyContent:"center",height:56,backgroundColor:(e.vars||e).palette.background.paper}))),Tn=Y.forwardRef((function(e,t){const n=(0,U.Z)({props:e,name:"MuiBottomNavigation"}),{children:r,className:o,component:i="div",onChange:a,showLabels:s=!1,value:l}=n,c=(0,O.Z)(n,Cn),u=(0,T.Z)({},n,{component:i,showLabels:s}),d=(e=>{const{classes:t}=e;return(0,_e.Z)({root:["root"]},kn,t)})(u);return(0,ee.jsx)(En,(0,T.Z)({as:i,className:(0,Ze.Z)(d.root,o),ref:t,ownerState:u},c,{children:Y.Children.map(r,((e,t)=>{if(!Y.isValidElement(e))return null;const n=void 0===e.props.value?t:e.props.value;return Y.cloneElement(e,{selected:n===l,showLabel:void 0!==e.props.showLabel?e.props.showLabel:s,value:n,onChange:a})}))}))}));function On(e){return(0,He.Z)("MuiBottomNavigationAction",e)}const $n=(0,ze.Z)("MuiBottomNavigationAction",["root","iconOnly","selected","label"]),Mn=["className","icon","label","onChange","onClick","selected","showLabel","value"],An=(0,W.ZP)(vt.Z,{name:"MuiBottomNavigationAction",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,!n.showLabel&&!n.selected&&t.iconOnly]}})((({theme:e,ownerState:t})=>(0,T.Z)({transition:e.transitions.create(["color","padding-top"],{duration:e.transitions.duration.short}),padding:"0px 12px",minWidth:80,maxWidth:168,color:(e.vars||e).palette.text.secondary,flexDirection:"column",flex:"1"},!t.showLabel&&!t.selected&&{paddingTop:14},!t.showLabel&&!t.selected&&!t.label&&{paddingTop:0},{[`&.${$n.selected}`]:{color:(e.vars||e).palette.primary.main}}))),Dn=(0,W.ZP)("span",{name:"MuiBottomNavigationAction",slot:"Label",overridesResolver:(e,t)=>t.label})((({theme:e,ownerState:t})=>(0,T.Z)({fontFamily:e.typography.fontFamily,fontSize:e.typography.pxToRem(12),opacity:1,transition:"font-size 0.2s, opacity 0.2s",transitionDelay:"0.1s"},!t.showLabel&&!t.selected&&{opacity:0,transitionDelay:"0s"},{[`&.${$n.selected}`]:{fontSize:e.typography.pxToRem(14)}}))),Ln=Y.forwardRef((function(e,t){const n=(0,U.Z)({props:e,name:"MuiBottomNavigationAction"}),{className:r,icon:o,label:i,onChange:a,onClick:s,value:l}=n,c=(0,O.Z)(n,Mn),u=n,d=(e=>{const{classes:t,showLabel:n,selected:r}=e,o={root:["root",!n&&!r&&"iconOnly",r&&"selected"],label:["label",!n&&!r&&"iconOnly",r&&"selected"]};return(0,_e.Z)(o,On,t)})(u);return(0,ee.jsxs)(An,(0,T.Z)({ref:t,className:(0,Ze.Z)(d.root,r),focusRipple:!0,onClick:e=>{a&&a(e,l),s&&s(e)},ownerState:u},c,{children:[o,(0,ee.jsx)(Dn,{className:d.label,ownerState:u,children:i})]}))}));var Nn=n(99226);const Rn=(0,$t.Z)((0,ee.jsx)("path",{d:"M6 10c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2zm12 0c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2zm-6 0c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2z"}),"MoreHoriz"),In=["slots","slotProps"],Pn=(0,W.ZP)(vt.Z)((({theme:e})=>(0,T.Z)({display:"flex",marginLeft:`calc(${e.spacing(1)} * 0.5)`,marginRight:`calc(${e.spacing(1)} * 0.5)`},"light"===e.palette.mode?{backgroundColor:e.palette.grey[100],color:e.palette.grey[700]}:{backgroundColor:e.palette.grey[700],color:e.palette.grey[100]},{borderRadius:2,"&:hover, &:focus":(0,T.Z)({},"light"===e.palette.mode?{backgroundColor:e.palette.grey[200]}:{backgroundColor:e.palette.grey[600]}),"&:active":(0,T.Z)({boxShadow:e.shadows[0]},"light"===e.palette.mode?{backgroundColor:(0,N._4)(e.palette.grey[200],.12)}:{backgroundColor:(0,N._4)(e.palette.grey[600],.12)})}))),Zn=(0,W.ZP)(Rn)({width:24,height:16});const _n=function(e){const{slots:t={},slotProps:n={}}=e,r=(0,O.Z)(e,In),o=e;return(0,ee.jsx)("li",{children:(0,ee.jsx)(Pn,(0,T.Z)({focusRipple:!0},r,{ownerState:o,children:(0,ee.jsx)(Zn,(0,T.Z)({as:t.CollapsedIcon,ownerState:o},n.collapsedIcon))}))})};function Fn(e){return(0,He.Z)("MuiBreadcrumbs",e)}const jn=(0,ze.Z)("MuiBreadcrumbs",["root","ol","li","separator"]),Bn=["children","className","component","slots","slotProps","expandText","itemsAfterCollapse","itemsBeforeCollapse","maxItems","separator"],zn=(0,W.ZP)(Bt.Z,{name:"MuiBreadcrumbs",slot:"Root",overridesResolver:(e,t)=>[{[`& .${jn.li}`]:t.li},t.root]})({}),Hn=(0,W.ZP)("ol",{name:"MuiBreadcrumbs",slot:"Ol",overridesResolver:(e,t)=>t.ol})({display:"flex",flexWrap:"wrap",alignItems:"center",padding:0,margin:0,listStyle:"none"}),Un=(0,W.ZP)("li",{name:"MuiBreadcrumbs",slot:"Separator",overridesResolver:(e,t)=>t.separator})({display:"flex",userSelect:"none",marginLeft:8,marginRight:8});function Wn(e,t,n,r){return e.reduce(((o,i,a)=>(a<e.length-1?o=o.concat(i,(0,ee.jsx)(Un,{"aria-hidden":!0,className:t,ownerState:r,children:n},`separator-${a}`)):o.push(i),o)),[])}const Vn=Y.forwardRef((function(e,t){const n=(0,U.Z)({props:e,name:"MuiBreadcrumbs"}),{children:r,className:o,component:i="nav",slots:a={},slotProps:s={},expandText:l="Show path",itemsAfterCollapse:c=1,itemsBeforeCollapse:u=1,maxItems:d=8,separator:p="/"}=n,f=(0,O.Z)(n,Bn),[h,m]=Y.useState(!1),v=(0,T.Z)({},n,{component:i,expanded:h,expandText:l,itemsAfterCollapse:c,itemsBeforeCollapse:u,maxItems:d,separator:p}),g=(e=>{const{classes:t}=e;return(0,_e.Z)({root:["root"],li:["li"],ol:["ol"],separator:["separator"]},Fn,t)})(v),y=(0,mn.y)({elementType:a.CollapsedIcon,externalSlotProps:s.collapsedIcon,ownerState:v}),b=Y.useRef(null),w=Y.Children.toArray(r).filter((e=>Y.isValidElement(e))).map(((e,t)=>(0,ee.jsx)("li",{className:g.li,children:e},`child-${t}`)));return(0,ee.jsx)(zn,(0,T.Z)({ref:t,component:i,color:"text.secondary",className:(0,Ze.Z)(g.root,o),ownerState:v},f,{children:(0,ee.jsx)(Hn,{className:g.ol,ref:b,ownerState:v,children:Wn(h||d&&w.length<=d?w:(e=>u+c>=e.length?e:[...e.slice(0,u),(0,ee.jsx)(_n,{"aria-label":l,slots:{CollapsedIcon:a.CollapsedIcon},slotProps:{collapsedIcon:y},onClick:()=>{m(!0);const e=b.current.querySelector("a[href],button,[tabindex]");e&&e.focus()}},"ellipsis"),...e.slice(e.length-c,e.length)])(w),g.separator,p,v)})}))}));var qn=n(69397),Gn=n(97933),Kn=n(45063),Yn=n(42615);function Xn(e){return(0,He.Z)("MuiButtonGroup",e)}const Jn=(0,ze.Z)("MuiButtonGroup",["root","contained","outlined","text","disableElevation","disabled","firstButton","fullWidth","vertical","grouped","groupedHorizontal","groupedVertical","groupedText","groupedTextHorizontal","groupedTextVertical","groupedTextPrimary","groupedTextSecondary","groupedOutlined","groupedOutlinedHorizontal","groupedOutlinedVertical","groupedOutlinedPrimary","groupedOutlinedSecondary","groupedContained","groupedContainedHorizontal","groupedContainedVertical","groupedContainedPrimary","groupedContainedSecondary","lastButton","middleButton"]);var Qn=n(98363),er=n(93326);const tr=["children","className","color","component","disabled","disableElevation","disableFocusRipple","disableRipple","fullWidth","orientation","size","variant"],nr=(0,W.ZP)("div",{name:"MuiButtonGroup",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[{[`& .${Jn.grouped}`]:t.grouped},{[`& .${Jn.grouped}`]:t[`grouped${(0,Ct.Z)(n.orientation)}`]},{[`& .${Jn.grouped}`]:t[`grouped${(0,Ct.Z)(n.variant)}`]},{[`& .${Jn.grouped}`]:t[`grouped${(0,Ct.Z)(n.variant)}${(0,Ct.Z)(n.orientation)}`]},{[`& .${Jn.grouped}`]:t[`grouped${(0,Ct.Z)(n.variant)}${(0,Ct.Z)(n.color)}`]},{[`& .${Jn.firstButton}`]:t.firstButton},{[`& .${Jn.lastButton}`]:t.lastButton},{[`& .${Jn.middleButton}`]:t.middleButton},t.root,t[n.variant],!0===n.disableElevation&&t.disableElevation,n.fullWidth&&t.fullWidth,"vertical"===n.orientation&&t.vertical]}})((({theme:e,ownerState:t})=>(0,T.Z)({display:"inline-flex",borderRadius:(e.vars||e).shape.borderRadius},"contained"===t.variant&&{boxShadow:(e.vars||e).shadows[2]},t.disableElevation&&{boxShadow:"none"},t.fullWidth&&{width:"100%"},"vertical"===t.orientation&&{flexDirection:"column"},{[`& .${Jn.grouped}`]:(0,T.Z)({minWidth:40,"&:hover":(0,T.Z)({},"contained"===t.variant&&{boxShadow:"none"})},"contained"===t.variant&&{boxShadow:"none"}),[`& .${Jn.firstButton},& .${Jn.middleButton}`]:(0,T.Z)({},"horizontal"===t.orientation&&{borderTopRightRadius:0,borderBottomRightRadius:0},"vertical"===t.orientation&&{borderBottomRightRadius:0,borderBottomLeftRadius:0},"text"===t.variant&&"horizontal"===t.orientation&&{borderRight:e.vars?`1px solid rgba(${e.vars.palette.common.onBackgroundChannel} / 0.23)`:"1px solid "+("light"===e.palette.mode?"rgba(0, 0, 0, 0.23)":"rgba(255, 255, 255, 0.23)"),[`&.${Jn.disabled}`]:{borderRight:`1px solid ${(e.vars||e).palette.action.disabled}`}},"text"===t.variant&&"vertical"===t.orientation&&{borderBottom:e.vars?`1px solid rgba(${e.vars.palette.common.onBackgroundChannel} / 0.23)`:"1px solid "+("light"===e.palette.mode?"rgba(0, 0, 0, 0.23)":"rgba(255, 255, 255, 0.23)"),[`&.${Jn.disabled}`]:{borderBottom:`1px solid ${(e.vars||e).palette.action.disabled}`}},"text"===t.variant&&"inherit"!==t.color&&{borderColor:e.vars?`rgba(${e.vars.palette[t.color].mainChannel} / 0.5)`:(0,N.Fq)(e.palette[t.color].main,.5)},"outlined"===t.variant&&"horizontal"===t.orientation&&{borderRightColor:"transparent"},"outlined"===t.variant&&"vertical"===t.orientation&&{borderBottomColor:"transparent"},"contained"===t.variant&&"horizontal"===t.orientation&&{borderRight:`1px solid ${(e.vars||e).palette.grey[400]}`,[`&.${Jn.disabled}`]:{borderRight:`1px solid ${(e.vars||e).palette.action.disabled}`}},"contained"===t.variant&&"vertical"===t.orientation&&{borderBottom:`1px solid ${(e.vars||e).palette.grey[400]}`,[`&.${Jn.disabled}`]:{borderBottom:`1px solid ${(e.vars||e).palette.action.disabled}`}},"contained"===t.variant&&"inherit"!==t.color&&{borderColor:(e.vars||e).palette[t.color].dark},{"&:hover":(0,T.Z)({},"outlined"===t.variant&&"horizontal"===t.orientation&&{borderRightColor:"currentColor"},"outlined"===t.variant&&"vertical"===t.orientation&&{borderBottomColor:"currentColor"})}),[`& .${Jn.lastButton},& .${Jn.middleButton}`]:(0,T.Z)({},"horizontal"===t.orientation&&{borderTopLeftRadius:0,borderBottomLeftRadius:0},"vertical"===t.orientation&&{borderTopRightRadius:0,borderTopLeftRadius:0},"outlined"===t.variant&&"horizontal"===t.orientation&&{marginLeft:-1},"outlined"===t.variant&&"vertical"===t.orientation&&{marginTop:-1})}))),rr=Y.forwardRef((function(e,t){const n=(0,U.Z)({props:e,name:"MuiButtonGroup"}),{children:r,className:o,color:i="primary",component:a="div",disabled:s=!1,disableElevation:l=!1,disableFocusRipple:c=!1,disableRipple:u=!1,fullWidth:d=!1,orientation:p="horizontal",size:f="medium",variant:h="outlined"}=n,m=(0,O.Z)(n,tr),v=(0,T.Z)({},n,{color:i,component:a,disabled:s,disableElevation:l,disableFocusRipple:c,disableRipple:u,fullWidth:d,orientation:p,size:f,variant:h}),g=(e=>{const{classes:t,color:n,disabled:r,disableElevation:o,fullWidth:i,orientation:a,variant:s}=e,l={root:["root",s,"vertical"===a&&"vertical",i&&"fullWidth",o&&"disableElevation"],grouped:["grouped",`grouped${(0,Ct.Z)(a)}`,`grouped${(0,Ct.Z)(s)}`,`grouped${(0,Ct.Z)(s)}${(0,Ct.Z)(a)}`,`grouped${(0,Ct.Z)(s)}${(0,Ct.Z)(n)}`,r&&"disabled"],firstButton:["firstButton"],lastButton:["lastButton"],middleButton:["middleButton"]};return(0,_e.Z)(l,Xn,t)})(v),y=Y.useMemo((()=>({className:g.grouped,color:i,disabled:s,disableElevation:l,disableFocusRipple:c,disableRipple:u,fullWidth:d,size:f,variant:h})),[i,s,l,c,u,d,f,h,g.grouped]),b=(e,t)=>{const n=0===e,r=e===Y.Children.count(t)-1;return n&&r?"":n?g.firstButton:r?g.lastButton:g.middleButton};return(0,ee.jsx)(nr,(0,T.Z)({as:a,role:"group",className:(0,Ze.Z)(g.root,o),ref:t,ownerState:v},m,{children:(0,ee.jsx)(Qn.Z.Provider,{value:y,children:Y.Children.map(r,((e,t)=>Y.isValidElement(e)?(0,ee.jsx)(er.Z.Provider,{value:b(t,r),children:e}):e))})}))}));function or(e){return(0,He.Z)("MuiCard",e)}const ir=(0,ze.Z)("MuiCard",["root"]),ar=["className","raised"],sr=(0,W.ZP)(Je.Z,{name:"MuiCard",slot:"Root",overridesResolver:(e,t)=>t.root})((()=>({overflow:"hidden"}))),lr=Y.forwardRef((function(e,t){const n=(0,U.Z)({props:e,name:"MuiCard"}),{className:r,raised:o=!1}=n,i=(0,O.Z)(n,ar),a=(0,T.Z)({},n,{raised:o}),s=(e=>{const{classes:t}=e;return(0,_e.Z)({root:["root"]},or,t)})(a);return(0,ee.jsx)(sr,(0,T.Z)({className:(0,Ze.Z)(s.root,r),elevation:o?8:void 0,ref:t,ownerState:a},i))}));function cr(e){return(0,He.Z)("MuiCardActionArea",e)}const ur=(0,ze.Z)("MuiCardActionArea",["root","focusVisible","focusHighlight"]),dr=["children","className","focusVisibleClassName"],pr=(0,W.ZP)(vt.Z,{name:"MuiCardActionArea",slot:"Root",overridesResolver:(e,t)=>t.root})((({theme:e})=>({display:"block",textAlign:"inherit",borderRadius:"inherit",width:"100%",[`&:hover .${ur.focusHighlight}`]:{opacity:(e.vars||e).palette.action.hoverOpacity,"@media (hover: none)":{opacity:0}},[`&.${ur.focusVisible} .${ur.focusHighlight}`]:{opacity:(e.vars||e).palette.action.focusOpacity}}))),fr=(0,W.ZP)("span",{name:"MuiCardActionArea",slot:"FocusHighlight",overridesResolver:(e,t)=>t.focusHighlight})((({theme:e})=>({overflow:"hidden",pointerEvents:"none",position:"absolute",top:0,right:0,bottom:0,left:0,borderRadius:"inherit",opacity:0,backgroundColor:"currentcolor",transition:e.transitions.create("opacity",{duration:e.transitions.duration.short})}))),hr=Y.forwardRef((function(e,t){const n=(0,U.Z)({props:e,name:"MuiCardActionArea"}),{children:r,className:o,focusVisibleClassName:i}=n,a=(0,O.Z)(n,dr),s=n,l=(e=>{const{classes:t}=e;return(0,_e.Z)({root:["root"],focusHighlight:["focusHighlight"]},cr,t)})(s);return(0,ee.jsxs)(pr,(0,T.Z)({className:(0,Ze.Z)(l.root,o),focusVisibleClassName:(0,Ze.Z)(i,l.focusVisible),ref:t,ownerState:s},a,{children:[r,(0,ee.jsx)(fr,{className:l.focusHighlight,ownerState:s})]}))}));function mr(e){return(0,He.Z)("MuiCardActions",e)}const vr=(0,ze.Z)("MuiCardActions",["root","spacing"]),gr=["disableSpacing","className"],yr=(0,W.ZP)("div",{name:"MuiCardActions",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,!n.disableSpacing&&t.spacing]}})((({ownerState:e})=>(0,T.Z)({display:"flex",alignItems:"center",padding:8},!e.disableSpacing&&{"& > :not(:first-of-type)":{marginLeft:8}}))),br=Y.forwardRef((function(e,t){const n=(0,U.Z)({props:e,name:"MuiCardActions"}),{disableSpacing:r=!1,className:o}=n,i=(0,O.Z)(n,gr),a=(0,T.Z)({},n,{disableSpacing:r}),s=(e=>{const{classes:t,disableSpacing:n}=e,r={root:["root",!n&&"spacing"]};return(0,_e.Z)(r,mr,t)})(a);return(0,ee.jsx)(yr,(0,T.Z)({className:(0,Ze.Z)(s.root,o),ownerState:a,ref:t},i))}));function wr(e){return(0,He.Z)("MuiCardContent",e)}const xr=(0,ze.Z)("MuiCardContent",["root"]),kr=["className","component"],Sr=(0,W.ZP)("div",{name:"MuiCardContent",slot:"Root",overridesResolver:(e,t)=>t.root})((()=>({padding:16,"&:last-child":{paddingBottom:24}}))),Cr=Y.forwardRef((function(e,t){const n=(0,U.Z)({props:e,name:"MuiCardContent"}),{className:r,component:o="div"}=n,i=(0,O.Z)(n,kr),a=(0,T.Z)({},n,{component:o}),s=(e=>{const{classes:t}=e;return(0,_e.Z)({root:["root"]},wr,t)})(a);return(0,ee.jsx)(Sr,(0,T.Z)({as:o,className:(0,Ze.Z)(s.root,r),ownerState:a,ref:t},i))}));function Er(e){return(0,He.Z)("MuiCardHeader",e)}const Tr=(0,ze.Z)("MuiCardHeader",["root","avatar","action","content","title","subheader"]),Or=["action","avatar","className","component","disableTypography","subheader","subheaderTypographyProps","title","titleTypographyProps"],$r=(0,W.ZP)("div",{name:"MuiCardHeader",slot:"Root",overridesResolver:(e,t)=>(0,T.Z)({[`& .${Tr.title}`]:t.title,[`& .${Tr.subheader}`]:t.subheader},t.root)})({display:"flex",alignItems:"center",padding:16}),Mr=(0,W.ZP)("div",{name:"MuiCardHeader",slot:"Avatar",overridesResolver:(e,t)=>t.avatar})({display:"flex",flex:"0 0 auto",marginRight:16}),Ar=(0,W.ZP)("div",{name:"MuiCardHeader",slot:"Action",overridesResolver:(e,t)=>t.action})({flex:"0 0 auto",alignSelf:"flex-start",marginTop:-4,marginRight:-8,marginBottom:-4}),Dr=(0,W.ZP)("div",{name:"MuiCardHeader",slot:"Content",overridesResolver:(e,t)=>t.content})({flex:"1 1 auto"}),Lr=Y.forwardRef((function(e,t){const n=(0,U.Z)({props:e,name:"MuiCardHeader"}),{action:r,avatar:o,className:i,component:a="div",disableTypography:s=!1,subheader:l,subheaderTypographyProps:c,title:u,titleTypographyProps:d}=n,p=(0,O.Z)(n,Or),f=(0,T.Z)({},n,{component:a,disableTypography:s}),h=(e=>{const{classes:t}=e;return(0,_e.Z)({root:["root"],avatar:["avatar"],action:["action"],content:["content"],title:["title"],subheader:["subheader"]},Er,t)})(f);let m=u;null==m||m.type===Bt.Z||s||(m=(0,ee.jsx)(Bt.Z,(0,T.Z)({variant:o?"body2":"h5",className:h.title,component:"span",display:"block"},d,{children:m})));let v=l;return null==v||v.type===Bt.Z||s||(v=(0,ee.jsx)(Bt.Z,(0,T.Z)({variant:o?"body2":"body1",className:h.subheader,color:"text.secondary",component:"span",display:"block"},c,{children:v}))),(0,ee.jsxs)($r,(0,T.Z)({className:(0,Ze.Z)(h.root,i),as:a,ref:t,ownerState:f},p,{children:[o&&(0,ee.jsx)(Mr,{className:h.avatar,ownerState:f,children:o}),(0,ee.jsxs)(Dr,{className:h.content,ownerState:f,children:[m,v]}),r&&(0,ee.jsx)(Ar,{className:h.action,ownerState:f,children:r})]}))}));var Nr=n(44781),Rr=n(23639),Ir=n(74423);function Pr(e){return(0,He.Z)("PrivateSwitchBase",e)}(0,ze.Z)("PrivateSwitchBase",["root","checked","disabled","input","edgeStart","edgeEnd"]);const Zr=["autoFocus","checked","checkedIcon","className","defaultChecked","disabled","disableFocusRipple","edge","icon","id","inputProps","inputRef","name","onBlur","onChange","onFocus","readOnly","required","tabIndex","type","value"],_r=(0,W.ZP)(vt.Z)((({ownerState:e})=>(0,T.Z)({padding:9,borderRadius:"50%"},"start"===e.edge&&{marginLeft:"small"===e.size?-3:-12},"end"===e.edge&&{marginRight:"small"===e.size?-3:-12}))),Fr=(0,W.ZP)("input")({cursor:"inherit",position:"absolute",opacity:0,width:"100%",height:"100%",top:0,left:0,margin:0,padding:0,zIndex:1}),jr=Y.forwardRef((function(e,t){const{autoFocus:n,checked:r,checkedIcon:o,className:i,defaultChecked:a,disabled:s,disableFocusRipple:l=!1,edge:c=!1,icon:u,id:d,inputProps:p,inputRef:f,name:h,onBlur:m,onChange:v,onFocus:g,readOnly:y,required:b=!1,tabIndex:w,type:x,value:k}=e,S=(0,O.Z)(e,Zr),[C,E]=(0,et.Z)({controlled:r,default:Boolean(a),name:"SwitchBase",state:"checked"}),$=(0,Ir.Z)();let M=s;$&&void 0===M&&(M=$.disabled);const A="checkbox"===x||"radio"===x,D=(0,T.Z)({},e,{checked:C,disabled:M,disableFocusRipple:l,edge:c}),L=(e=>{const{classes:t,checked:n,disabled:r,edge:o}=e,i={root:["root",n&&"checked",r&&"disabled",o&&`edge${(0,Ct.Z)(o)}`],input:["input"]};return(0,_e.Z)(i,Pr,t)})(D);return(0,ee.jsxs)(_r,(0,T.Z)({component:"span",className:(0,Ze.Z)(L.root,i),centerRipple:!0,focusRipple:!l,disabled:M,tabIndex:null,role:void 0,onFocus:e=>{g&&g(e),$&&$.onFocus&&$.onFocus(e)},onBlur:e=>{m&&m(e),$&&$.onBlur&&$.onBlur(e)},ownerState:D,ref:t},S,{children:[(0,ee.jsx)(Fr,(0,T.Z)({autoFocus:n,checked:r,defaultChecked:a,className:L.input,disabled:M,id:A?d:void 0,name:h,onChange:e=>{if(e.nativeEvent.defaultPrevented)return;const t=e.target.checked;E(t),v&&v(e,t)},readOnly:y,ref:f,required:b,ownerState:D,tabIndex:w,type:x},"checkbox"===x&&void 0===k?{}:{value:k},p)),C?o:u]}))})),Br=(0,$t.Z)((0,ee.jsx)("path",{d:"M19 5v14H5V5h14m0-2H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2z"}),"CheckBoxOutlineBlank"),zr=(0,$t.Z)((0,ee.jsx)("path",{d:"M19 3H5c-1.11 0-2 .9-2 2v14c0 1.1.89 2 2 2h14c1.11 0 2-.9 2-2V5c0-1.1-.89-2-2-2zm-9 14l-5-5 1.41-1.41L10 14.17l7.59-7.59L19 8l-9 9z"}),"CheckBox"),Hr=(0,$t.Z)((0,ee.jsx)("path",{d:"M19 3H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm-2 10H7v-2h10v2z"}),"IndeterminateCheckBox");function Ur(e){return(0,He.Z)("MuiCheckbox",e)}const Wr=(0,ze.Z)("MuiCheckbox",["root","checked","disabled","indeterminate","colorPrimary","colorSecondary","sizeSmall","sizeMedium"]),Vr=["checkedIcon","color","icon","indeterminate","indeterminateIcon","inputProps","size","className"],qr=(0,W.ZP)(jr,{shouldForwardProp:e=>(0,W.FO)(e)||"classes"===e,name:"MuiCheckbox",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.indeterminate&&t.indeterminate,"default"!==n.color&&t[`color${(0,Ct.Z)(n.color)}`]]}})((({theme:e,ownerState:t})=>(0,T.Z)({color:(e.vars||e).palette.text.secondary},!t.disableRipple&&{"&:hover":{backgroundColor:e.vars?`rgba(${"default"===t.color?e.vars.palette.action.activeChannel:e.vars.palette.primary.mainChannel} / ${e.vars.palette.action.hoverOpacity})`:(0,N.Fq)("default"===t.color?e.palette.action.active:e.palette[t.color].main,e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}}},"default"!==t.color&&{[`&.${Wr.checked}, &.${Wr.indeterminate}`]:{color:(e.vars||e).palette[t.color].main},[`&.${Wr.disabled}`]:{color:(e.vars||e).palette.action.disabled}}))),Gr=(0,ee.jsx)(zr,{}),Kr=(0,ee.jsx)(Br,{}),Yr=(0,ee.jsx)(Hr,{}),Xr=Y.forwardRef((function(e,t){var n,r;const o=(0,U.Z)({props:e,name:"MuiCheckbox"}),{checkedIcon:i=Gr,color:a="primary",icon:s=Kr,indeterminate:l=!1,indeterminateIcon:c=Yr,inputProps:u,size:d="medium",className:p}=o,f=(0,O.Z)(o,Vr),h=l?c:s,m=l?c:i,v=(0,T.Z)({},o,{color:a,indeterminate:l,size:d}),g=(e=>{const{classes:t,indeterminate:n,color:r,size:o}=e,i={root:["root",n&&"indeterminate",`color${(0,Ct.Z)(r)}`,`size${(0,Ct.Z)(o)}`]},a=(0,_e.Z)(i,Ur,t);return(0,T.Z)({},t,a)})(v);return(0,ee.jsx)(qr,(0,T.Z)({type:"checkbox",inputProps:(0,T.Z)({"data-indeterminate":l},u),icon:Y.cloneElement(h,{fontSize:null!=(n=h.props.fontSize)?n:d}),checkedIcon:Y.cloneElement(m,{fontSize:null!=(r=m.props.fontSize)?r:d}),ownerState:v,ref:t,className:(0,Ze.Z)(g.root,p)},f,{classes:g}))}));var Jr=n(14723),Qr=n(52072),eo=n(66489),to=n(22346),no=n(33703),ro=n(59948),oo=n(82690);function io(e){return e.substring(2).toLowerCase()}function ao(e){const{children:t,disableReactTree:n=!1,mouseEvent:r="onClick",onClickAway:o,touchEvent:i="onTouchEnd"}=e,a=Y.useRef(!1),s=Y.useRef(null),l=Y.useRef(!1),c=Y.useRef(!1);Y.useEffect((()=>(setTimeout((()=>{l.current=!0}),0),()=>{l.current=!1})),[]);const u=(0,no.Z)(t.ref,s),d=(0,ro.Z)((e=>{const t=c.current;c.current=!1;const r=(0,oo.Z)(s.current);if(!l.current||!s.current||"clientX"in e&&function(e,t){return t.documentElement.clientWidth<e.clientX||t.documentElement.clientHeight<e.clientY}(e,r))return;if(a.current)return void(a.current=!1);let i;i=e.composedPath?e.composedPath().indexOf(s.current)>-1:!r.documentElement.contains(e.target)||s.current.contains(e.target),i||!n&&t||o(e)})),p=e=>n=>{c.current=!0;const r=t.props[e];r&&r(n)},f={ref:u};return!1!==i&&(f[i]=p(i)),Y.useEffect((()=>{if(!1!==i){const e=io(i),t=(0,oo.Z)(s.current),n=()=>{a.current=!0};return t.addEventListener(e,d),t.addEventListener("touchmove",n),()=>{t.removeEventListener(e,d),t.removeEventListener("touchmove",n)}}}),[d,i]),!1!==r&&(f[r]=p(r)),Y.useEffect((()=>{if(!1!==r){const e=io(r),t=(0,oo.Z)(s.current);return t.addEventListener(e,d),()=>{t.removeEventListener(e,d)}}}),[d,r]),(0,ee.jsx)(Y.Fragment,{children:Y.cloneElement(t,f)})}var so=n(14142),lo=n(29628),co=n(13264),uo=n(10360);const po=["className","component","disableGutters","fixed","maxWidth","classes"],fo=(0,uo.Z)(),ho=(0,co.Z)("div",{name:"MuiContainer",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,t[`maxWidth${(0,so.Z)(String(n.maxWidth))}`],n.fixed&&t.fixed,n.disableGutters&&t.disableGutters]}}),mo=e=>(0,lo.Z)({props:e,name:"MuiContainer",defaultTheme:fo});const vo=function(e={}){const{createStyledComponent:t=ho,useThemeProps:n=mo,componentName:r="MuiContainer"}=e,o=t((({theme:e,ownerState:t})=>(0,T.Z)({width:"100%",marginLeft:"auto",boxSizing:"border-box",marginRight:"auto",display:"block"},!t.disableGutters&&{paddingLeft:e.spacing(2),paddingRight:e.spacing(2),[e.breakpoints.up("sm")]:{paddingLeft:e.spacing(3),paddingRight:e.spacing(3)}})),(({theme:e,ownerState:t})=>t.fixed&&Object.keys(e.breakpoints.values).reduce(((t,n)=>{const r=n,o=e.breakpoints.values[r];return 0!==o&&(t[e.breakpoints.up(r)]={maxWidth:`${o}${e.breakpoints.unit}`}),t}),{})),(({theme:e,ownerState:t})=>(0,T.Z)({},"xs"===t.maxWidth&&{[e.breakpoints.up("xs")]:{maxWidth:Math.max(e.breakpoints.values.xs,444)}},t.maxWidth&&"xs"!==t.maxWidth&&{[e.breakpoints.up(t.maxWidth)]:{maxWidth:`${e.breakpoints.values[t.maxWidth]}${e.breakpoints.unit}`}}))),i=Y.forwardRef((function(e,t){const i=n(e),{className:a,component:s="div",disableGutters:l=!1,fixed:c=!1,maxWidth:u="lg"}=i,d=(0,O.Z)(i,po),p=(0,T.Z)({},i,{component:s,disableGutters:l,fixed:c,maxWidth:u}),f=((e,t)=>{const{classes:n,fixed:r,disableGutters:o,maxWidth:i}=e,a={root:["root",i&&`maxWidth${(0,so.Z)(String(i))}`,r&&"fixed",o&&"disableGutters"]};return(0,_e.Z)(a,(e=>(0,He.Z)(t,e)),n)})(p,r);return(0,ee.jsx)(o,(0,T.Z)({as:s,ownerState:p,className:(0,Ze.Z)(f.root,a),ref:t},d))}));return i}({createStyledComponent:(0,W.ZP)("div",{name:"MuiContainer",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,t[`maxWidth${(0,Ct.Z)(String(n.maxWidth))}`],n.fixed&&t.fixed,n.disableGutters&&t.disableGutters]}}),useThemeProps:e=>(0,U.Z)({props:e,name:"MuiContainer"})}),go=vo;function yo(e){return(0,He.Z)("MuiContainer",e)}const bo=(0,ze.Z)("MuiContainer",["root","disableGutters","fixed","maxWidthXs","maxWidthSm","maxWidthMd","maxWidthLg","maxWidthXl"]);var wo=n(66294);const xo=(e,t)=>(0,T.Z)({WebkitFontSmoothing:"antialiased",MozOsxFontSmoothing:"grayscale",boxSizing:"border-box",WebkitTextSizeAdjust:"100%"},t&&!e.vars&&{colorScheme:e.palette.mode}),ko=e=>(0,T.Z)({color:(e.vars||e).palette.text.primary},e.typography.body1,{backgroundColor:(e.vars||e).palette.background.default,"@media print":{backgroundColor:(e.vars||e).palette.common.white}});const So=function(e){const t=(0,U.Z)({props:e,name:"MuiCssBaseline"}),{children:n,enableColorScheme:r=!1}=t;return(0,ee.jsxs)(Y.Fragment,{children:[(0,ee.jsx)(wo.Z,{styles:e=>((e,t=!1)=>{var n;const r={};t&&e.colorSchemes&&Object.entries(e.colorSchemes).forEach((([t,n])=>{var o;r[e.getColorSchemeSelector(t).replace(/\s*&/,"")]={colorScheme:null==(o=n.palette)?void 0:o.mode}}));let o=(0,T.Z)({html:xo(e,t),"*, *::before, *::after":{boxSizing:"inherit"},"strong, b":{fontWeight:e.typography.fontWeightBold},body:(0,T.Z)({margin:0},ko(e),{"&::backdrop":{backgroundColor:(e.vars||e).palette.background.default}})},r);const i=null==(n=e.components)||null==(n=n.MuiCssBaseline)?void 0:n.styleOverrides;return i&&(o=[o,i]),o})(e,r)}),n]})},Co={track:"#2b2b2b",thumb:"#6b6b6b",active:"#959595"};function Eo(e=Co){return{scrollbarColor:`${e.thumb} ${e.track}`,"&::-webkit-scrollbar, & *::-webkit-scrollbar":{backgroundColor:e.track},"&::-webkit-scrollbar-thumb, & *::-webkit-scrollbar-thumb":{borderRadius:8,backgroundColor:e.thumb,minHeight:24,border:`3px solid ${e.track}`},"&::-webkit-scrollbar-thumb:focus, & *::-webkit-scrollbar-thumb:focus":{backgroundColor:e.active},"&::-webkit-scrollbar-thumb:active, & *::-webkit-scrollbar-thumb:active":{backgroundColor:e.active},"&::-webkit-scrollbar-thumb:hover, & *::-webkit-scrollbar-thumb:hover":{backgroundColor:e.active},"&::-webkit-scrollbar-corner, & *::-webkit-scrollbar-corner":{backgroundColor:e.track}}}var To=n(64666),Oo=n(77620),$o=n(91894),Mo=n(19341),Ao=n(35713),Do=n(96618);function Lo(e){return(0,He.Z)("MuiDialogContentText",e)}const No=(0,ze.Z)("MuiDialogContentText",["root"]),Ro=["children","className"],Io=(0,W.ZP)(Bt.Z,{shouldForwardProp:e=>(0,W.FO)(e)||"classes"===e,name:"MuiDialogContentText",slot:"Root",overridesResolver:(e,t)=>t.root})({}),Po=Y.forwardRef((function(e,t){const n=(0,U.Z)({props:e,name:"MuiDialogContentText"}),{className:r}=n,o=(0,O.Z)(n,Ro),i=(e=>{const{classes:t}=e,n=(0,_e.Z)({root:["root"]},Lo,t);return(0,T.Z)({},t,n)})(o);return(0,ee.jsx)(Io,(0,T.Z)({component:"p",variant:"body1",color:"text.secondary",ref:t,ownerState:o,className:(0,Ze.Z)(i.root,r)},n,{classes:i}))}));var Zo=n(37645),_o=n(4472),Fo=n(35097);const jo=["absolute","children","className","component","flexItem","light","orientation","role","textAlign","variant"],Bo=(0,W.ZP)("div",{name:"MuiDivider",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.absolute&&t.absolute,t[n.variant],n.light&&t.light,"vertical"===n.orientation&&t.vertical,n.flexItem&&t.flexItem,n.children&&t.withChildren,n.children&&"vertical"===n.orientation&&t.withChildrenVertical,"right"===n.textAlign&&"vertical"!==n.orientation&&t.textAlignRight,"left"===n.textAlign&&"vertical"!==n.orientation&&t.textAlignLeft]}})((({theme:e,ownerState:t})=>(0,T.Z)({margin:0,flexShrink:0,borderWidth:0,borderStyle:"solid",borderColor:(e.vars||e).palette.divider,borderBottomWidth:"thin"},t.absolute&&{position:"absolute",bottom:0,left:0,width:"100%"},t.light&&{borderColor:e.vars?`rgba(${e.vars.palette.dividerChannel} / 0.08)`:(0,N.Fq)(e.palette.divider,.08)},"inset"===t.variant&&{marginLeft:72},"middle"===t.variant&&"horizontal"===t.orientation&&{marginLeft:e.spacing(2),marginRight:e.spacing(2)},"middle"===t.variant&&"vertical"===t.orientation&&{marginTop:e.spacing(1),marginBottom:e.spacing(1)},"vertical"===t.orientation&&{height:"100%",borderBottomWidth:0,borderRightWidth:"thin"},t.flexItem&&{alignSelf:"stretch",height:"auto"})),(({ownerState:e})=>(0,T.Z)({},e.children&&{display:"flex",whiteSpace:"nowrap",textAlign:"center",border:0,"&::before, &::after":{content:'""',alignSelf:"center"}})),(({theme:e,ownerState:t})=>(0,T.Z)({},t.children&&"vertical"!==t.orientation&&{"&::before, &::after":{width:"100%",borderTop:`thin solid ${(e.vars||e).palette.divider}`}})),(({theme:e,ownerState:t})=>(0,T.Z)({},t.children&&"vertical"===t.orientation&&{flexDirection:"column","&::before, &::after":{height:"100%",borderLeft:`thin solid ${(e.vars||e).palette.divider}`}})),(({ownerState:e})=>(0,T.Z)({},"right"===e.textAlign&&"vertical"!==e.orientation&&{"&::before":{width:"90%"},"&::after":{width:"10%"}},"left"===e.textAlign&&"vertical"!==e.orientation&&{"&::before":{width:"10%"},"&::after":{width:"90%"}}))),zo=(0,W.ZP)("span",{name:"MuiDivider",slot:"Wrapper",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.wrapper,"vertical"===n.orientation&&t.wrapperVertical]}})((({theme:e,ownerState:t})=>(0,T.Z)({display:"inline-block",paddingLeft:`calc(${e.spacing(1)} * 1.2)`,paddingRight:`calc(${e.spacing(1)} * 1.2)`},"vertical"===t.orientation&&{paddingTop:`calc(${e.spacing(1)} * 1.2)`,paddingBottom:`calc(${e.spacing(1)} * 1.2)`}))),Ho=Y.forwardRef((function(e,t){const n=(0,U.Z)({props:e,name:"MuiDivider"}),{absolute:r=!1,children:o,className:i,component:a=(o?"div":"hr"),flexItem:s=!1,light:l=!1,orientation:c="horizontal",role:u=("hr"!==a?"separator":void 0),textAlign:d="center",variant:p="fullWidth"}=n,f=(0,O.Z)(n,jo),h=(0,T.Z)({},n,{absolute:r,component:a,flexItem:s,light:l,orientation:c,role:u,textAlign:d,variant:p}),m=(e=>{const{absolute:t,children:n,classes:r,flexItem:o,light:i,orientation:a,textAlign:s,variant:l}=e,c={root:["root",t&&"absolute",l,i&&"light","vertical"===a&&"vertical",o&&"flexItem",n&&"withChildren",n&&"vertical"===a&&"withChildrenVertical","right"===s&&"vertical"!==a&&"textAlignRight","left"===s&&"vertical"!==a&&"textAlignLeft"],wrapper:["wrapper","vertical"===a&&"wrapperVertical"]};return(0,_e.Z)(c,Fo.V,r)})(h);return(0,ee.jsx)(Bo,(0,T.Z)({as:a,className:(0,Ze.Z)(m.root,i),role:u,ref:t,ownerState:h},f,{children:o?(0,ee.jsx)(zo,{className:m.wrapper,ownerState:h,children:o}):null}))}));Ho.muiSkipListHighlight=!0;const Uo=Ho;var Wo=n(19058),Vo=n(66697);function qo(e){return(0,He.Z)("MuiFab",e)}const Go=(0,ze.Z)("MuiFab",["root","primary","secondary","extended","circular","focusVisible","disabled","colorInherit","sizeSmall","sizeMedium","sizeLarge","info","error","warning","success"]),Ko=["children","className","color","component","disabled","disableFocusRipple","focusVisibleClassName","size","variant"],Yo=(0,W.ZP)(vt.Z,{name:"MuiFab",slot:"Root",shouldForwardProp:e=>(0,W.FO)(e)||"classes"===e,overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,t[n.variant],t[`size${(0,Ct.Z)(n.size)}`],"inherit"===n.color&&t.colorInherit,t[(0,Ct.Z)(n.size)],t[n.color]]}})((({theme:e,ownerState:t})=>{var n,r;return(0,T.Z)({},e.typography.button,{minHeight:36,transition:e.transitions.create(["background-color","box-shadow","border-color"],{duration:e.transitions.duration.short}),borderRadius:"50%",padding:0,minWidth:0,width:56,height:56,zIndex:(e.vars||e).zIndex.fab,boxShadow:(e.vars||e).shadows[6],"&:active":{boxShadow:(e.vars||e).shadows[12]},color:e.vars?e.vars.palette.text.primary:null==(n=(r=e.palette).getContrastText)?void 0:n.call(r,e.palette.grey[300]),backgroundColor:(e.vars||e).palette.grey[300],"&:hover":{backgroundColor:(e.vars||e).palette.grey.A100,"@media (hover: none)":{backgroundColor:(e.vars||e).palette.grey[300]},textDecoration:"none"},[`&.${Go.focusVisible}`]:{boxShadow:(e.vars||e).shadows[6]}},"small"===t.size&&{width:40,height:40},"medium"===t.size&&{width:48,height:48},"extended"===t.variant&&{borderRadius:24,padding:"0 16px",width:"auto",minHeight:"auto",minWidth:48,height:48},"extended"===t.variant&&"small"===t.size&&{width:"auto",padding:"0 8px",borderRadius:17,minWidth:34,height:34},"extended"===t.variant&&"medium"===t.size&&{width:"auto",padding:"0 16px",borderRadius:20,minWidth:40,height:40},"inherit"===t.color&&{color:"inherit"})}),(({theme:e,ownerState:t})=>(0,T.Z)({},"inherit"!==t.color&&"default"!==t.color&&null!=(e.vars||e).palette[t.color]&&{color:(e.vars||e).palette[t.color].contrastText,backgroundColor:(e.vars||e).palette[t.color].main,"&:hover":{backgroundColor:(e.vars||e).palette[t.color].dark,"@media (hover: none)":{backgroundColor:(e.vars||e).palette[t.color].main}}})),(({theme:e})=>({[`&.${Go.disabled}`]:{color:(e.vars||e).palette.action.disabled,boxShadow:(e.vars||e).shadows[0],backgroundColor:(e.vars||e).palette.action.disabledBackground}}))),Xo=Y.forwardRef((function(e,t){const n=(0,U.Z)({props:e,name:"MuiFab"}),{children:r,className:o,color:i="default",component:a="button",disabled:s=!1,disableFocusRipple:l=!1,focusVisibleClassName:c,size:u="large",variant:d="circular"}=n,p=(0,O.Z)(n,Ko),f=(0,T.Z)({},n,{color:i,component:a,disabled:s,disableFocusRipple:l,size:u,variant:d}),h=(e=>{const{color:t,variant:n,classes:r,size:o}=e,i={root:["root",n,`size${(0,Ct.Z)(o)}`,"inherit"===t?"colorInherit":t]},a=(0,_e.Z)(i,qo,r);return(0,T.Z)({},r,a)})(f);return(0,ee.jsx)(Yo,(0,T.Z)({className:(0,Ze.Z)(h.root,o),component:a,disabled:s,focusRipple:!l,focusVisibleClassName:(0,Ze.Z)(h.focusVisible,c),ownerState:f,ref:t},p,{classes:h,children:r}))}));var Jo=n(16628),Qo=n(6135),ei=n(24707),ti=n(53640),ni=n(47120),ri=n(26447);function oi(e){return(0,He.Z)("MuiFormControlLabel",e)}const ii=(0,ze.Z)("MuiFormControlLabel",["root","labelPlacementStart","labelPlacementTop","labelPlacementBottom","disabled","label","error","required","asterisk"]);var ai=n(15704);const si=["checked","className","componentsProps","control","disabled","disableTypography","inputRef","label","labelPlacement","name","onChange","required","slotProps","value"],li=(0,W.ZP)("label",{name:"MuiFormControlLabel",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[{[`& .${ii.label}`]:t.label},t.root,t[`labelPlacement${(0,Ct.Z)(n.labelPlacement)}`]]}})((({theme:e,ownerState:t})=>(0,T.Z)({display:"inline-flex",alignItems:"center",cursor:"pointer",verticalAlign:"middle",WebkitTapHighlightColor:"transparent",marginLeft:-11,marginRight:16,[`&.${ii.disabled}`]:{cursor:"default"}},"start"===t.labelPlacement&&{flexDirection:"row-reverse",marginLeft:16,marginRight:-11},"top"===t.labelPlacement&&{flexDirection:"column-reverse",marginLeft:16},"bottom"===t.labelPlacement&&{flexDirection:"column",marginLeft:16},{[`& .${ii.label}`]:{[`&.${ii.disabled}`]:{color:(e.vars||e).palette.text.disabled}}}))),ci=(0,W.ZP)("span",{name:"MuiFormControlLabel",slot:"Asterisk",overridesResolver:(e,t)=>t.asterisk})((({theme:e})=>({[`&.${ii.error}`]:{color:(e.vars||e).palette.error.main}}))),ui=Y.forwardRef((function(e,t){var n,r;const o=(0,U.Z)({props:e,name:"MuiFormControlLabel"}),{className:i,componentsProps:a={},control:s,disabled:l,disableTypography:c,label:u,labelPlacement:d="end",required:p,slotProps:f={}}=o,h=(0,O.Z)(o,si),m=(0,Ir.Z)(),v=null!=(n=null!=l?l:s.props.disabled)?n:null==m?void 0:m.disabled,g=null!=p?p:s.props.required,y={disabled:v,required:g};["checked","name","onChange","value","inputRef"].forEach((e=>{void 0===s.props[e]&&void 0!==o[e]&&(y[e]=o[e])}));const b=(0,ai.Z)({props:o,muiFormControl:m,states:["error"]}),w=(0,T.Z)({},o,{disabled:v,labelPlacement:d,required:g,error:b.error}),x=(e=>{const{classes:t,disabled:n,labelPlacement:r,error:o,required:i}=e,a={root:["root",n&&"disabled",`labelPlacement${(0,Ct.Z)(r)}`,o&&"error",i&&"required"],label:["label",n&&"disabled"],asterisk:["asterisk",o&&"error"]};return(0,_e.Z)(a,oi,t)})(w),k=null!=(r=f.typography)?r:a.typography;let S=u;return null==S||S.type===Bt.Z||c||(S=(0,ee.jsx)(Bt.Z,(0,T.Z)({component:"span"},k,{className:(0,Ze.Z)(x.label,null==k?void 0:k.className),children:S}))),(0,ee.jsxs)(li,(0,T.Z)({className:(0,Ze.Z)(x.root,i),ownerState:w,ref:t},h,{children:[Y.cloneElement(s,y),g?(0,ee.jsxs)(ri.Z,{direction:"row",alignItems:"center",children:[S,(0,ee.jsxs)(ci,{ownerState:w,"aria-hidden":!0,className:x.asterisk,children:[" ","*"]})]}):S]}))}));function di(e){return(0,He.Z)("MuiFormGroup",e)}const pi=(0,ze.Z)("MuiFormGroup",["root","row","error"]),fi=["className","row"],hi=(0,W.ZP)("div",{name:"MuiFormGroup",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.row&&t.row]}})((({ownerState:e})=>(0,T.Z)({display:"flex",flexDirection:"column",flexWrap:"wrap"},e.row&&{flexDirection:"row"}))),mi=Y.forwardRef((function(e,t){const n=(0,U.Z)({props:e,name:"MuiFormGroup"}),{className:r,row:o=!1}=n,i=(0,O.Z)(n,fi),a=(0,Ir.Z)(),s=(0,ai.Z)({props:n,muiFormControl:a,states:["error"]}),l=(0,T.Z)({},n,{row:o,error:s.error}),c=(e=>{const{classes:t,row:n,error:r}=e,o={root:["root",n&&"row",r&&"error"]};return(0,_e.Z)(o,di,t)})(l);return(0,ee.jsx)(hi,(0,T.Z)({className:(0,Ze.Z)(c.root,r),ownerState:l,ref:t},i))}));var vi=n(74509),gi=n(90052),yi=n(40476),bi=n(64748),wi=n(74518),xi=n(8673),ki=n(18719),Si=n(96682),Ci=n(39707);const Ei=(e,t,n)=>{const r=e.keys[0];if(Array.isArray(t))t.forEach(((t,r)=>{n(((t,n)=>{r<=e.keys.length-1&&(0===r?Object.assign(t,n):t[e.up(e.keys[r])]=n)}),t)}));else if(t&&"object"==typeof t){(Object.keys(t).length>e.keys.length?e.keys:(o=e.keys,i=Object.keys(t),o.filter((e=>i.includes(e))))).forEach((o=>{if(-1!==e.keys.indexOf(o)){const i=t[o];void 0!==i&&n(((t,n)=>{r===o?Object.assign(t,n):t[e.up(o)]=n}),i)}}))}else"number"!=typeof t&&"string"!=typeof t||n(((e,t)=>{Object.assign(e,t)}),t);var o,i};function Ti(e){return e?`Level${e}`:""}function Oi(e){return e.unstable_level>0&&e.container}function $i(e){return function(t){return`var(--Grid-${t}Spacing${Ti(e.unstable_level)})`}}function Mi(e){return function(t){return 0===e.unstable_level?`var(--Grid-${t}Spacing)`:`var(--Grid-${t}Spacing${Ti(e.unstable_level-1)})`}}function Ai(e){return 0===e.unstable_level?"var(--Grid-columns)":`var(--Grid-columns${Ti(e.unstable_level-1)})`}const Di=({theme:e,ownerState:t})=>{const n=$i(t),r={};return Ei(e.breakpoints,t.gridSize,((e,o)=>{let i={};!0===o&&(i={flexBasis:0,flexGrow:1,maxWidth:"100%"}),"auto"===o&&(i={flexBasis:"auto",flexGrow:0,flexShrink:0,maxWidth:"none",width:"auto"}),"number"==typeof o&&(i={flexGrow:0,flexBasis:"auto",width:`calc(100% * ${o} / ${Ai(t)}${Oi(t)?` + ${n("column")}`:""})`}),e(r,i)})),r},Li=({theme:e,ownerState:t})=>{const n={};return Ei(e.breakpoints,t.gridOffset,((e,r)=>{let o={};"auto"===r&&(o={marginLeft:"auto"}),"number"==typeof r&&(o={marginLeft:0===r?"0px":`calc(100% * ${r} / ${Ai(t)})`}),e(n,o)})),n},Ni=({theme:e,ownerState:t})=>{if(!t.container)return{};const n=Oi(t)?{[`--Grid-columns${Ti(t.unstable_level)}`]:Ai(t)}:{"--Grid-columns":12};return Ei(e.breakpoints,t.columns,((e,r)=>{e(n,{[`--Grid-columns${Ti(t.unstable_level)}`]:r})})),n},Ri=({theme:e,ownerState:t})=>{if(!t.container)return{};const n=Mi(t),r=Oi(t)?{[`--Grid-rowSpacing${Ti(t.unstable_level)}`]:n("row")}:{};return Ei(e.breakpoints,t.rowSpacing,((n,o)=>{var i;n(r,{[`--Grid-rowSpacing${Ti(t.unstable_level)}`]:"string"==typeof o?o:null==(i=e.spacing)?void 0:i.call(e,o)})})),r},Ii=({theme:e,ownerState:t})=>{if(!t.container)return{};const n=Mi(t),r=Oi(t)?{[`--Grid-columnSpacing${Ti(t.unstable_level)}`]:n("column")}:{};return Ei(e.breakpoints,t.columnSpacing,((n,o)=>{var i;n(r,{[`--Grid-columnSpacing${Ti(t.unstable_level)}`]:"string"==typeof o?o:null==(i=e.spacing)?void 0:i.call(e,o)})})),r},Pi=({theme:e,ownerState:t})=>{if(!t.container)return{};const n={};return Ei(e.breakpoints,t.direction,((e,t)=>{e(n,{flexDirection:t})})),n},Zi=({ownerState:e})=>{const t=$i(e),n=Mi(e);return(0,T.Z)({minWidth:0,boxSizing:"border-box"},e.container&&(0,T.Z)({display:"flex",flexWrap:"wrap"},e.wrap&&"wrap"!==e.wrap&&{flexWrap:e.wrap},{margin:`calc(${t("row")} / -2) calc(${t("column")} / -2)`},e.disableEqualOverflow&&{margin:`calc(${t("row")} * -1) 0px 0px calc(${t("column")} * -1)`}),(!e.container||Oi(e))&&(0,T.Z)({padding:`calc(${n("row")} / 2) calc(${n("column")} / 2)`},(e.disableEqualOverflow||e.parentDisableEqualOverflow)&&{padding:`${n("row")} 0px 0px ${n("column")}`}))},_i=e=>{const t=[];return Object.entries(e).forEach((([e,n])=>{!1!==n&&void 0!==n&&t.push(`grid-${e}-${String(n)}`)})),t},Fi=(e,t="xs")=>{function n(e){return void 0!==e&&("string"==typeof e&&!Number.isNaN(Number(e))||"number"==typeof e&&e>0)}if(n(e))return[`spacing-${t}-${String(e)}`];if("object"==typeof e&&!Array.isArray(e)){const t=[];return Object.entries(e).forEach((([e,r])=>{n(r)&&t.push(`spacing-${e}-${String(r)}`)})),t}return[]},ji=e=>void 0===e?[]:"object"==typeof e?Object.entries(e).map((([e,t])=>`direction-${e}-${t}`)):[`direction-xs-${String(e)}`],Bi=["className","children","columns","container","component","direction","wrap","spacing","rowSpacing","columnSpacing","disableEqualOverflow","unstable_level"],zi=(0,uo.Z)(),Hi=(0,co.Z)("div",{name:"MuiGrid",slot:"Root",overridesResolver:(e,t)=>t.root});function Ui(e){return(0,lo.Z)({props:e,name:"MuiGrid",defaultTheme:zi})}const Wi=function(e={}){const{createStyledComponent:t=Hi,useThemeProps:n=Ui,componentName:r="MuiGrid"}=e,o=Y.createContext(void 0),i=t(Ni,Ii,Ri,Di,Pi,Zi,Li),a=Y.forwardRef((function(e,t){var a,s,l,c,u,d,p,f;const h=(0,Si.Z)(),m=n(e),v=(0,Ci.Z)(m),g=Y.useContext(o),{className:y,children:b,columns:w=12,container:x=!1,component:k="div",direction:S="row",wrap:C="wrap",spacing:E=0,rowSpacing:$=E,columnSpacing:M=E,disableEqualOverflow:A,unstable_level:D=0}=v,L=(0,O.Z)(v,Bi);let N=A;D&&void 0!==A&&(N=e.disableEqualOverflow);const R={},I={},P={};Object.entries(L).forEach((([e,t])=>{void 0!==h.breakpoints.values[e]?R[e]=t:void 0!==h.breakpoints.values[e.replace("Offset","")]?I[e.replace("Offset","")]=t:P[e]=t}));const Z=null!=(a=e.columns)?a:D?void 0:w,_=null!=(s=e.spacing)?s:D?void 0:E,F=null!=(l=null!=(c=e.rowSpacing)?c:e.spacing)?l:D?void 0:$,j=null!=(u=null!=(d=e.columnSpacing)?d:e.spacing)?u:D?void 0:M,B=(0,T.Z)({},v,{level:D,columns:Z,container:x,direction:S,wrap:C,spacing:_,rowSpacing:F,columnSpacing:j,gridSize:R,gridOffset:I,disableEqualOverflow:null!=(p=null!=(f=N)?f:g)&&p,parentDisableEqualOverflow:g}),z=((e,t)=>{const{container:n,direction:o,spacing:i,wrap:a,gridSize:s}=e,l={root:["root",n&&"container","wrap"!==a&&`wrap-xs-${String(a)}`,...ji(o),..._i(s),...n?Fi(i,t.breakpoints.keys[0]):[]]};return(0,_e.Z)(l,(e=>(0,He.Z)(r,e)),{})})(B,h);let H=(0,ee.jsx)(i,(0,T.Z)({ref:t,as:k,ownerState:B,className:(0,Ze.Z)(z.root,y)},P,{children:Y.Children.map(b,(e=>{var t;return Y.isValidElement(e)&&(0,ki.Z)(e,["Grid"])?Y.cloneElement(e,{unstable_level:null!=(t=e.props.unstable_level)?t:D+1}):e}))}));return void 0!==N&&N!==(null!=g&&g)&&(H=(0,ee.jsx)(o.Provider,{value:N,children:H})),H}));return a.muiName="Grid",a}({createStyledComponent:(0,W.ZP)("div",{name:"MuiGrid2",slot:"Root",overridesResolver:(e,t)=>t.root}),componentName:"MuiGrid2",useThemeProps:e=>(0,U.Z)({props:e,name:"MuiGrid2"})}),Vi=Wi;function qi(e){return(0,He.Z)("MuiGrid2",e)}const Gi=["auto",!0,1,2,3,4,5,6,7,8,9,10,11,12],Ki=(0,ze.Z)("MuiGrid2",["root","container","item","zeroMinWidth",...[0,1,2,3,4,5,6,7,8,9,10].map((e=>`spacing-xs-${e}`)),...["column-reverse","column","row-reverse","row"].map((e=>`direction-xs-${e}`)),...["nowrap","wrap-reverse","wrap"].map((e=>`wrap-xs-${e}`)),...Gi.map((e=>`grid-xs-${e}`)),...Gi.map((e=>`grid-sm-${e}`)),...Gi.map((e=>`grid-md-${e}`)),...Gi.map((e=>`grid-lg-${e}`)),...Gi.map((e=>`grid-xl-${e}`))]);var Yi=n(96514),Xi=n(20539),Ji=n(58974),Qi=n(98396);const ea=["initialWidth","width"],ta=["xs","sm","md","lg","xl"],na=(e,t,n=!0)=>n?ta.indexOf(e)<=ta.indexOf(t):ta.indexOf(e)<ta.indexOf(t),ra=(e,t,n=!1)=>n?ta.indexOf(t)<=ta.indexOf(e):ta.indexOf(t)<ta.indexOf(e);const oa=((e={})=>t=>{const{withTheme:n=!1,noSSR:r=!1,initialWidth:o}=e;return function(e){const i=(0,H.Z)(),a=e.theme||i,s=(0,Xi.Z)({theme:a,name:"MuiWithWidth",props:e}),{initialWidth:l,width:c}=s,u=(0,O.Z)(s,ea),[d,p]=Y.useState(!1);(0,Ji.Z)((()=>{p(!0)}),[]);const f=a.breakpoints.keys.slice().reverse().reduce(((e,t)=>{const n=(0,Qi.Z)(a.breakpoints.up(t));return!e&&n?t:e}),null),h=(0,T.Z)({width:c||(d||r?f:void 0)||l||o},n?{theme:a}:{},u);return void 0===h.width?null:(0,ee.jsx)(t,(0,T.Z)({},h))}})()((function(e){const{children:t,only:n,width:r}=e,o=(0,H.Z)();let i=!0;if(n)if(Array.isArray(n))for(let a=0;a<n.length;a+=1){if(r===n[a]){i=!1;break}}else n&&r===n&&(i=!1);if(i)for(let a=0;a<o.breakpoints.keys.length;a+=1){const t=o.breakpoints.keys[a],n=e[`${t}Up`],s=e[`${t}Down`];if(n&&na(t,r)||s&&ra(t,r)){i=!1;break}}return i?(0,ee.jsx)(Y.Fragment,{children:t}):null}));function ia(e){return(0,He.Z)("PrivateHiddenCss",e)}(0,ze.Z)("PrivateHiddenCss",["root","xlDown","xlUp","onlyXl","lgDown","lgUp","onlyLg","mdDown","mdUp","onlyMd","smDown","smUp","onlySm","xsDown","xsUp","onlyXs"]);const aa=["children","className","only"],sa=(0,W.ZP)("div",{name:"PrivateHiddenCss",slot:"Root"})((({theme:e,ownerState:t})=>{const n={display:"none"};return(0,T.Z)({},t.breakpoints.map((({breakpoint:t,dir:r})=>"only"===r?{[e.breakpoints.only(t)]:n}:"up"===r?{[e.breakpoints.up(t)]:n}:{[e.breakpoints.down(t)]:n})).reduce(((e,t)=>(Object.keys(t).forEach((n=>{e[n]=t[n]})),e)),{}))}));const la=function(e){const{children:t,className:n,only:r}=e,o=(0,O.Z)(e,aa),i=(0,H.Z)(),a=[];for(let c=0;c<i.breakpoints.keys.length;c+=1){const e=i.breakpoints.keys[c],t=o[`${e}Up`],n=o[`${e}Down`];t&&a.push({breakpoint:e,dir:"up"}),n&&a.push({breakpoint:e,dir:"down"})}if(r){(Array.isArray(r)?r:[r]).forEach((e=>{a.push({breakpoint:e,dir:"only"})}))}const s=(0,T.Z)({},e,{breakpoints:a}),l=(e=>{const{classes:t,breakpoints:n}=e,r={root:["root",...n.map((({breakpoint:e,dir:t})=>"only"===t?`${t}${(0,Ct.Z)(e)}`:`${e}${(0,Ct.Z)(t)}`))]};return(0,_e.Z)(r,ia,t)})(s);return(0,ee.jsx)(sa,{className:(0,Ze.Z)(l.root,n),ownerState:s,children:t})},ca=["implementation","lgDown","lgUp","mdDown","mdUp","smDown","smUp","xlDown","xlUp","xsDown","xsUp"];const ua=function(e){const{implementation:t="js",lgDown:n=!1,lgUp:r=!1,mdDown:o=!1,mdUp:i=!1,smDown:a=!1,smUp:s=!1,xlDown:l=!1,xlUp:c=!1,xsDown:u=!1,xsUp:d=!1}=e,p=(0,O.Z)(e,ca);return"js"===t?(0,ee.jsx)(oa,(0,T.Z)({lgDown:n,lgUp:r,mdDown:o,mdUp:i,smDown:a,smUp:s,xlDown:l,xlUp:c,xsDown:u,xsUp:d},p)):(0,ee.jsx)(la,(0,T.Z)({lgDown:n,lgUp:r,mdDown:o,mdUp:i,smDown:a,smUp:s,xlDown:l,xlUp:c,xsDown:u,xsUp:d},p))};function da(e){return(0,He.Z)("MuiIcon",e)}const pa=(0,ze.Z)("MuiIcon",["root","colorPrimary","colorSecondary","colorAction","colorError","colorDisabled","fontSizeInherit","fontSizeSmall","fontSizeMedium","fontSizeLarge"]),fa=["baseClassName","className","color","component","fontSize"],ha=(0,W.ZP)("span",{name:"MuiIcon",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,"inherit"!==n.color&&t[`color${(0,Ct.Z)(n.color)}`],t[`fontSize${(0,Ct.Z)(n.fontSize)}`]]}})((({theme:e,ownerState:t})=>({userSelect:"none",width:"1em",height:"1em",overflow:"hidden",display:"inline-block",textAlign:"center",flexShrink:0,fontSize:{inherit:"inherit",small:e.typography.pxToRem(20),medium:e.typography.pxToRem(24),large:e.typography.pxToRem(36)}[t.fontSize],color:{primary:(e.vars||e).palette.primary.main,secondary:(e.vars||e).palette.secondary.main,info:(e.vars||e).palette.info.main,success:(e.vars||e).palette.success.main,warning:(e.vars||e).palette.warning.main,action:(e.vars||e).palette.action.active,error:(e.vars||e).palette.error.main,disabled:(e.vars||e).palette.action.disabled,inherit:void 0}[t.color]}))),ma=Y.forwardRef((function(e,t){const n=(0,U.Z)({props:e,name:"MuiIcon"}),{baseClassName:r="material-icons",className:o,color:i="inherit",component:a="span",fontSize:s="medium"}=n,l=(0,O.Z)(n,fa),c=(0,T.Z)({},n,{baseClassName:r,color:i,component:a,fontSize:s}),u=(e=>{const{color:t,fontSize:n,classes:r}=e,o={root:["root","inherit"!==t&&`color${(0,Ct.Z)(t)}`,`fontSize${(0,Ct.Z)(n)}`]};return(0,_e.Z)(o,da,r)})(c);return(0,ee.jsx)(ha,(0,T.Z)({as:a,className:(0,Ze.Z)(r,"notranslate",u.root,o),ownerState:c,"aria-hidden":!0,ref:t},l))}));ma.muiName="Icon";const va=ma;var ga=n(96239);function ya(e){return(0,He.Z)("MuiImageList",e)}const ba=(0,ze.Z)("MuiImageList",["root","masonry","quilted","standard","woven"]);const wa=Y.createContext({}),xa=["children","className","cols","component","rowHeight","gap","style","variant"],ka=(0,W.ZP)("ul",{name:"MuiImageList",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,t[n.variant]]}})((({ownerState:e})=>(0,T.Z)({display:"grid",overflowY:"auto",listStyle:"none",padding:0,WebkitOverflowScrolling:"touch"},"masonry"===e.variant&&{display:"block"}))),Sa=Y.forwardRef((function(e,t){const n=(0,U.Z)({props:e,name:"MuiImageList"}),{children:r,className:o,cols:i=2,component:a="ul",rowHeight:s="auto",gap:l=4,style:c,variant:u="standard"}=n,d=(0,O.Z)(n,xa),p=Y.useMemo((()=>({rowHeight:s,gap:l,variant:u})),[s,l,u]);Y.useEffect((()=>{0}),[]);const f="masonry"===u?(0,T.Z)({columnCount:i,columnGap:l},c):(0,T.Z)({gridTemplateColumns:`repeat(${i}, 1fr)`,gap:l},c),h=(0,T.Z)({},n,{component:a,gap:l,rowHeight:s,variant:u}),m=(e=>{const{classes:t,variant:n}=e,r={root:["root",n]};return(0,_e.Z)(r,ya,t)})(h);return(0,ee.jsx)(ka,(0,T.Z)({as:a,className:(0,Ze.Z)(m.root,m[u],o),ref:t,style:f,ownerState:h},d,{children:(0,ee.jsx)(wa.Provider,{value:p,children:r})}))}));var Ca=n(96798);function Ea(e){return(0,He.Z)("MuiImageListItem",e)}const Ta=(0,ze.Z)("MuiImageListItem",["root","img","standard","woven","masonry","quilted"]),Oa=["children","className","cols","component","rows","style"],$a=(0,W.ZP)("li",{name:"MuiImageListItem",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[{[`& .${Ta.img}`]:t.img},t.root,t[n.variant]]}})((({ownerState:e})=>(0,T.Z)({display:"block",position:"relative"},"standard"===e.variant&&{display:"flex",flexDirection:"column"},"woven"===e.variant&&{height:"100%",alignSelf:"center","&:nth-of-type(even)":{height:"70%"}},{[`& .${Ta.img}`]:(0,T.Z)({objectFit:"cover",width:"100%",height:"100%",display:"block"},"standard"===e.variant&&{height:"auto",flexGrow:1})}))),Ma=Y.forwardRef((function(e,t){const n=(0,U.Z)({props:e,name:"MuiImageListItem"}),{children:r,className:o,cols:i=1,component:a="li",rows:s=1,style:l}=n,c=(0,O.Z)(n,Oa),{rowHeight:u="auto",gap:d,variant:p}=Y.useContext(wa);let f="auto";"woven"===p?f=void 0:"auto"!==u&&(f=u*s+d*(s-1));const h=(0,T.Z)({},n,{cols:i,component:a,gap:d,rowHeight:u,rows:s,variant:p}),m=(e=>{const{classes:t,variant:n}=e,r={root:["root",n],img:["img"]};return(0,_e.Z)(r,Ea,t)})(h);return(0,ee.jsx)($a,(0,T.Z)({as:a,className:(0,Ze.Z)(m.root,m[p],o),ref:t,style:(0,T.Z)({height:f,gridColumnEnd:"masonry"!==p?`span ${i}`:void 0,gridRowEnd:"masonry"!==p?`span ${s}`:void 0,marginBottom:"masonry"===p?d:void 0,breakInside:"masonry"===p?"avoid":void 0},l),ownerState:h},c,{children:Y.Children.map(r,(e=>Y.isValidElement(e)?"img"===e.type||(0,Ca.Z)(e,["Image"])?Y.cloneElement(e,{className:(0,Ze.Z)(m.img,e.props.className)}):e:null))}))}));function Aa(e){return(0,He.Z)("MuiImageListItemBar",e)}const Da=(0,ze.Z)("MuiImageListItemBar",["root","positionBottom","positionTop","positionBelow","titleWrap","titleWrapBottom","titleWrapTop","titleWrapBelow","titleWrapActionPosLeft","titleWrapActionPosRight","title","subtitle","actionIcon","actionIconActionPosLeft","actionIconActionPosRight"]),La=["actionIcon","actionPosition","className","subtitle","title","position"],Na=(0,W.ZP)("div",{name:"MuiImageListItemBar",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,t[`position${(0,Ct.Z)(n.position)}`]]}})((({theme:e,ownerState:t})=>(0,T.Z)({position:"absolute",left:0,right:0,background:"rgba(0, 0, 0, 0.5)",display:"flex",alignItems:"center",fontFamily:e.typography.fontFamily},"bottom"===t.position&&{bottom:0},"top"===t.position&&{top:0},"below"===t.position&&{position:"relative",background:"transparent",alignItems:"normal"}))),Ra=(0,W.ZP)("div",{name:"MuiImageListItemBar",slot:"TitleWrap",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.titleWrap,t[`titleWrap${(0,Ct.Z)(n.position)}`],n.actionIcon&&t[`titleWrapActionPos${(0,Ct.Z)(n.actionPosition)}`]]}})((({theme:e,ownerState:t})=>(0,T.Z)({flexGrow:1,padding:"12px 16px",color:(e.vars||e).palette.common.white,overflow:"hidden"},"below"===t.position&&{padding:"6px 0 12px",color:"inherit"},t.actionIcon&&"left"===t.actionPosition&&{paddingLeft:0},t.actionIcon&&"right"===t.actionPosition&&{paddingRight:0}))),Ia=(0,W.ZP)("div",{name:"MuiImageListItemBar",slot:"Title",overridesResolver:(e,t)=>t.title})((({theme:e})=>({fontSize:e.typography.pxToRem(16),lineHeight:"24px",textOverflow:"ellipsis",overflow:"hidden",whiteSpace:"nowrap"}))),Pa=(0,W.ZP)("div",{name:"MuiImageListItemBar",slot:"Subtitle",overridesResolver:(e,t)=>t.subtitle})((({theme:e})=>({fontSize:e.typography.pxToRem(12),lineHeight:1,textOverflow:"ellipsis",overflow:"hidden",whiteSpace:"nowrap"}))),Za=(0,W.ZP)("div",{name:"MuiImageListItemBar",slot:"ActionIcon",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.actionIcon,t[`actionIconActionPos${(0,Ct.Z)(n.actionPosition)}`]]}})((({ownerState:e})=>(0,T.Z)({},"left"===e.actionPosition&&{order:-1}))),_a=Y.forwardRef((function(e,t){const n=(0,U.Z)({props:e,name:"MuiImageListItemBar"}),{actionIcon:r,actionPosition:o="right",className:i,subtitle:a,title:s,position:l="bottom"}=n,c=(0,O.Z)(n,La),u=(0,T.Z)({},n,{position:l,actionPosition:o}),d=(e=>{const{classes:t,position:n,actionIcon:r,actionPosition:o}=e,i={root:["root",`position${(0,Ct.Z)(n)}`],titleWrap:["titleWrap",`titleWrap${(0,Ct.Z)(n)}`,r&&`titleWrapActionPos${(0,Ct.Z)(o)}`],title:["title"],subtitle:["subtitle"],actionIcon:["actionIcon",`actionIconActionPos${(0,Ct.Z)(o)}`]};return(0,_e.Z)(i,Aa,t)})(u);return(0,ee.jsxs)(Na,(0,T.Z)({ownerState:u,className:(0,Ze.Z)(d.root,i),ref:t},c,{children:[(0,ee.jsxs)(Ra,{ownerState:u,className:d.titleWrap,children:[(0,ee.jsx)(Ia,{className:d.title,children:s}),a?(0,ee.jsx)(Pa,{className:d.subtitle,children:a}):null]}),r?(0,ee.jsx)(Za,{ownerState:u,className:d.actionIcon,children:r}):null]}))}));var Fa=n(79332),ja=n(7021),Ba=n(91057),za=n(19558),Ha=n(78543),Ua=n(55827),Wa=n(60076),Va=n(56727);function qa(e){return(0,He.Z)("MuiLinearProgress",e)}const Ga=(0,ze.Z)("MuiLinearProgress",["root","colorPrimary","colorSecondary","determinate","indeterminate","buffer","query","dashed","dashedColorPrimary","dashedColorSecondary","bar","barColorPrimary","barColorSecondary","bar1Indeterminate","bar1Determinate","bar1Buffer","bar2Indeterminate","bar2Buffer"]),Ka=["className","color","value","valueBuffer","variant"];let Ya,Xa,Ja,Qa,es,ts,ns=e=>e;const rs=(0,R.F4)(Ya||(Ya=ns`
0% {
left: -35%;
right: 100%;
}
60% {
left: 100%;
right: -90%;
}
100% {
left: 100%;
right: -90%;
}
`)),os=(0,R.F4)(Xa||(Xa=ns`
0% {
left: -200%;
right: 100%;
}
60% {
left: 107%;
right: -8%;
}
100% {
left: 107%;
right: -8%;
}
`)),is=(0,R.F4)(Ja||(Ja=ns`
0% {
opacity: 1;
background-position: 0 -23px;
}
60% {
opacity: 0;
background-position: 0 -23px;
}
100% {
opacity: 1;
background-position: -200px -23px;
}
`)),as=(e,t)=>"inherit"===t?"currentColor":e.vars?e.vars.palette.LinearProgress[`${t}Bg`]:"light"===e.palette.mode?(0,N.$n)(e.palette[t].main,.62):(0,N._j)(e.palette[t].main,.5),ss=(0,W.ZP)("span",{name:"MuiLinearProgress",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,t[`color${(0,Ct.Z)(n.color)}`],t[n.variant]]}})((({ownerState:e,theme:t})=>(0,T.Z)({position:"relative",overflow:"hidden",display:"block",height:4,zIndex:0,"@media print":{colorAdjust:"exact"},backgroundColor:as(t,e.color)},"inherit"===e.color&&"buffer"!==e.variant&&{backgroundColor:"none","&::before":{content:'""',position:"absolute",left:0,top:0,right:0,bottom:0,backgroundColor:"currentColor",opacity:.3}},"buffer"===e.variant&&{backgroundColor:"transparent"},"query"===e.variant&&{transform:"rotate(180deg)"}))),ls=(0,W.ZP)("span",{name:"MuiLinearProgress",slot:"Dashed",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.dashed,t[`dashedColor${(0,Ct.Z)(n.color)}`]]}})((({ownerState:e,theme:t})=>{const n=as(t,e.color);return(0,T.Z)({position:"absolute",marginTop:0,height:"100%",width:"100%"},"inherit"===e.color&&{opacity:.3},{backgroundImage:`radial-gradient(${n} 0%, ${n} 16%, transparent 42%)`,backgroundSize:"10px 10px",backgroundPosition:"0 -23px"})}),(0,R.iv)(Qa||(Qa=ns`
animation: ${0} 3s infinite linear;
`),is)),cs=(0,W.ZP)("span",{name:"MuiLinearProgress",slot:"Bar1",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.bar,t[`barColor${(0,Ct.Z)(n.color)}`],("indeterminate"===n.variant||"query"===n.variant)&&t.bar1Indeterminate,"determinate"===n.variant&&t.bar1Determinate,"buffer"===n.variant&&t.bar1Buffer]}})((({ownerState:e,theme:t})=>(0,T.Z)({width:"100%",position:"absolute",left:0,bottom:0,top:0,transition:"transform 0.2s linear",transformOrigin:"left",backgroundColor:"inherit"===e.color?"currentColor":(t.vars||t).palette[e.color].main},"determinate"===e.variant&&{transition:"transform .4s linear"},"buffer"===e.variant&&{zIndex:1,transition:"transform .4s linear"})),(({ownerState:e})=>("indeterminate"===e.variant||"query"===e.variant)&&(0,R.iv)(es||(es=ns`
width: auto;
animation: ${0} 2.1s cubic-bezier(0.65, 0.815, 0.735, 0.395) infinite;
`),rs))),us=(0,W.ZP)("span",{name:"MuiLinearProgress",slot:"Bar2",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.bar,t[`barColor${(0,Ct.Z)(n.color)}`],("indeterminate"===n.variant||"query"===n.variant)&&t.bar2Indeterminate,"buffer"===n.variant&&t.bar2Buffer]}})((({ownerState:e,theme:t})=>(0,T.Z)({width:"100%",position:"absolute",left:0,bottom:0,top:0,transition:"transform 0.2s linear",transformOrigin:"left"},"buffer"!==e.variant&&{backgroundColor:"inherit"===e.color?"currentColor":(t.vars||t).palette[e.color].main},"inherit"===e.color&&{opacity:.3},"buffer"===e.variant&&{backgroundColor:as(t,e.color),transition:"transform .4s linear"})),(({ownerState:e})=>("indeterminate"===e.variant||"query"===e.variant)&&(0,R.iv)(ts||(ts=ns`
width: auto;
animation: ${0} 2.1s cubic-bezier(0.165, 0.84, 0.44, 1) 1.15s infinite;
`),os))),ds=Y.forwardRef((function(e,t){const n=(0,U.Z)({props:e,name:"MuiLinearProgress"}),{className:r,color:o="primary",value:i,valueBuffer:a,variant:s="indeterminate"}=n,l=(0,O.Z)(n,Ka),c=(0,T.Z)({},n,{color:o,variant:s}),u=(e=>{const{classes:t,variant:n,color:r}=e,o={root:["root",`color${(0,Ct.Z)(r)}`,n],dashed:["dashed",`dashedColor${(0,Ct.Z)(r)}`],bar1:["bar",`barColor${(0,Ct.Z)(r)}`,("indeterminate"===n||"query"===n)&&"bar1Indeterminate","determinate"===n&&"bar1Determinate","buffer"===n&&"bar1Buffer"],bar2:["bar","buffer"!==n&&`barColor${(0,Ct.Z)(r)}`,"buffer"===n&&`color${(0,Ct.Z)(r)}`,("indeterminate"===n||"query"===n)&&"bar2Indeterminate","buffer"===n&&"bar2Buffer"]};return(0,_e.Z)(o,qa,t)})(c),d=(0,H.Z)(),p={},f={bar1:{},bar2:{}};if("determinate"===s||"buffer"===s)if(void 0!==i){p["aria-valuenow"]=Math.round(i),p["aria-valuemin"]=0,p["aria-valuemax"]=100;let e=i-100;"rtl"===d.direction&&(e=-e),f.bar1.transform=`translateX(${e}%)`}else 0;if("buffer"===s)if(void 0!==a){let e=(a||0)-100;"rtl"===d.direction&&(e=-e),f.bar2.transform=`translateX(${e}%)`}else 0;return(0,ee.jsxs)(ss,(0,T.Z)({className:(0,Ze.Z)(u.root,r),ownerState:c,role:"progressbar"},p,{ref:t},l,{children:["buffer"===s?(0,ee.jsx)(ls,{className:u.dashed,ownerState:c}):null,(0,ee.jsx)(cs,{className:u.bar1,ownerState:c,style:f.bar1}),"determinate"===s?null:(0,ee.jsx)(us,{className:u.bar2,ownerState:c,style:f.bar2})]}))}));var ps=n(73891),fs=n(23400),hs=n(18843),ms=n(72847),vs=n(28442),gs=n(59773);function ys(e){return(0,He.Z)("MuiListItem",e)}const bs=(0,ze.Z)("MuiListItem",["root","container","focusVisible","dense","alignItemsFlexStart","disabled","divider","gutters","padding","button","secondaryAction","selected"]);function ws(e){return(0,He.Z)("MuiListItemButton",e)}const xs=(0,ze.Z)("MuiListItemButton",["root","focusVisible","dense","alignItemsFlexStart","disabled","divider","gutters","selected"]);function ks(e){return(0,He.Z)("MuiListItemSecondaryAction",e)}const Ss=(0,ze.Z)("MuiListItemSecondaryAction",["root","disableGutters"]),Cs=["className"],Es=(0,W.ZP)("div",{name:"MuiListItemSecondaryAction",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.disableGutters&&t.disableGutters]}})((({ownerState:e})=>(0,T.Z)({position:"absolute",right:16,top:"50%",transform:"translateY(-50%)"},e.disableGutters&&{right:0}))),Ts=Y.forwardRef((function(e,t){const n=(0,U.Z)({props:e,name:"MuiListItemSecondaryAction"}),{className:r}=n,o=(0,O.Z)(n,Cs),i=Y.useContext(gs.Z),a=(0,T.Z)({},n,{disableGutters:i.disableGutters}),s=(e=>{const{disableGutters:t,classes:n}=e,r={root:["root",t&&"disableGutters"]};return(0,_e.Z)(r,ks,n)})(a);return(0,ee.jsx)(Es,(0,T.Z)({className:(0,Ze.Z)(s.root,r),ownerState:a,ref:t},o))}));Ts.muiName="ListItemSecondaryAction";const Os=Ts,$s=["className"],Ms=["alignItems","autoFocus","button","children","className","component","components","componentsProps","ContainerComponent","ContainerProps","dense","disabled","disableGutters","disablePadding","divider","focusVisibleClassName","secondaryAction","selected","slotProps","slots"],As=(0,W.ZP)("div",{name:"MuiListItem",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.dense&&t.dense,"flex-start"===n.alignItems&&t.alignItemsFlexStart,n.divider&&t.divider,!n.disableGutters&&t.gutters,!n.disablePadding&&t.padding,n.button&&t.button,n.hasSecondaryAction&&t.secondaryAction]}})((({theme:e,ownerState:t})=>(0,T.Z)({display:"flex",justifyContent:"flex-start",alignItems:"center",position:"relative",textDecoration:"none",width:"100%",boxSizing:"border-box",textAlign:"left"},!t.disablePadding&&(0,T.Z)({paddingTop:8,paddingBottom:8},t.dense&&{paddingTop:4,paddingBottom:4},!t.disableGutters&&{paddingLeft:16,paddingRight:16},!!t.secondaryAction&&{paddingRight:48}),!!t.secondaryAction&&{[`& > .${xs.root}`]:{paddingRight:48}},{[`&.${bs.focusVisible}`]:{backgroundColor:(e.vars||e).palette.action.focus},[`&.${bs.selected}`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / ${e.vars.palette.action.selectedOpacity})`:(0,N.Fq)(e.palette.primary.main,e.palette.action.selectedOpacity),[`&.${bs.focusVisible}`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / calc(${e.vars.palette.action.selectedOpacity} + ${e.vars.palette.action.focusOpacity}))`:(0,N.Fq)(e.palette.primary.main,e.palette.action.selectedOpacity+e.palette.action.focusOpacity)}},[`&.${bs.disabled}`]:{opacity:(e.vars||e).palette.action.disabledOpacity}},"flex-start"===t.alignItems&&{alignItems:"flex-start"},t.divider&&{borderBottom:`1px solid ${(e.vars||e).palette.divider}`,backgroundClip:"padding-box"},t.button&&{transition:e.transitions.create("background-color",{duration:e.transitions.duration.shortest}),"&:hover":{textDecoration:"none",backgroundColor:(e.vars||e).palette.action.hover,"@media (hover: none)":{backgroundColor:"transparent"}},[`&.${bs.selected}:hover`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / calc(${e.vars.palette.action.selectedOpacity} + ${e.vars.palette.action.hoverOpacity}))`:(0,N.Fq)(e.palette.primary.main,e.palette.action.selectedOpacity+e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / ${e.vars.palette.action.selectedOpacity})`:(0,N.Fq)(e.palette.primary.main,e.palette.action.selectedOpacity)}}},t.hasSecondaryAction&&{paddingRight:48}))),Ds=(0,W.ZP)("li",{name:"MuiListItem",slot:"Container",overridesResolver:(e,t)=>t.container})({position:"relative"}),Ls=Y.forwardRef((function(e,t){const n=(0,U.Z)({props:e,name:"MuiListItem"}),{alignItems:r="center",autoFocus:o=!1,button:i=!1,children:a,className:s,component:l,components:c={},componentsProps:u={},ContainerComponent:d="li",ContainerProps:{className:p}={},dense:f=!1,disabled:h=!1,disableGutters:m=!1,disablePadding:v=!1,divider:g=!1,focusVisibleClassName:y,secondaryAction:b,selected:w=!1,slotProps:x={},slots:k={}}=n,S=(0,O.Z)(n.ContainerProps,$s),C=(0,O.Z)(n,Ms),E=Y.useContext(gs.Z),$=Y.useMemo((()=>({dense:f||E.dense||!1,alignItems:r,disableGutters:m})),[r,E.dense,f,m]),M=Y.useRef(null);(0,Ji.Z)((()=>{o&&M.current&&M.current.focus()}),[o]);const A=Y.Children.toArray(a),D=A.length&&(0,Ca.Z)(A[A.length-1],["ListItemSecondaryAction"]),L=(0,T.Z)({},n,{alignItems:r,autoFocus:o,button:i,dense:$.dense,disabled:h,disableGutters:m,disablePadding:v,divider:g,hasSecondaryAction:D,selected:w}),N=(e=>{const{alignItems:t,button:n,classes:r,dense:o,disabled:i,disableGutters:a,disablePadding:s,divider:l,hasSecondaryAction:c,selected:u}=e,d={root:["root",o&&"dense",!a&&"gutters",!s&&"padding",l&&"divider",i&&"disabled",n&&"button","flex-start"===t&&"alignItemsFlexStart",c&&"secondaryAction",u&&"selected"],container:["container"]};return(0,_e.Z)(d,ys,r)})(L),R=(0,Be.Z)(M,t),I=k.root||c.Root||As,P=x.root||u.root||{},Z=(0,T.Z)({className:(0,Ze.Z)(N.root,P.className,s),disabled:h},C);let _=l||"li";return i&&(Z.component=l||"div",Z.focusVisibleClassName=(0,Ze.Z)(bs.focusVisible,y),_=vt.Z),D?(_=Z.component||l?_:"div","li"===d&&("li"===_?_="div":"li"===Z.component&&(Z.component="div")),(0,ee.jsx)(gs.Z.Provider,{value:$,children:(0,ee.jsxs)(Ds,(0,T.Z)({as:d,className:(0,Ze.Z)(N.container,p),ref:R,ownerState:L},S,{children:[(0,ee.jsx)(I,(0,T.Z)({},P,!(0,vs.X)(I)&&{as:_,ownerState:(0,T.Z)({},L,P.ownerState)},Z,{children:A})),A.pop()]}))})):(0,ee.jsx)(gs.Z.Provider,{value:$,children:(0,ee.jsxs)(I,(0,T.Z)({},P,{as:_,ref:R},!(0,vs.X)(I)&&{ownerState:(0,T.Z)({},L,P.ownerState)},Z,{children:[A,b&&(0,ee.jsx)(Os,{children:b})]}))})}));function Ns(e){return(0,He.Z)("MuiListItemAvatar",e)}const Rs=(0,ze.Z)("MuiListItemAvatar",["root","alignItemsFlexStart"]),Is=["className"],Ps=(0,W.ZP)("div",{name:"MuiListItemAvatar",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,"flex-start"===n.alignItems&&t.alignItemsFlexStart]}})((({ownerState:e})=>(0,T.Z)({minWidth:56,flexShrink:0},"flex-start"===e.alignItems&&{marginTop:8}))),Zs=Y.forwardRef((function(e,t){const n=(0,U.Z)({props:e,name:"MuiListItemAvatar"}),{className:r}=n,o=(0,O.Z)(n,Is),i=Y.useContext(gs.Z),a=(0,T.Z)({},n,{alignItems:i.alignItems}),s=(e=>{const{alignItems:t,classes:n}=e,r={root:["root","flex-start"===t&&"alignItemsFlexStart"]};return(0,_e.Z)(r,Ns,n)})(a);return(0,ee.jsx)(Ps,(0,T.Z)({className:(0,Ze.Z)(s.root,r),ownerState:a,ref:t},o))})),_s=["alignItems","autoFocus","component","children","dense","disableGutters","divider","focusVisibleClassName","selected","className"],Fs=(0,W.ZP)(vt.Z,{shouldForwardProp:e=>(0,W.FO)(e)||"classes"===e,name:"MuiListItemButton",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.dense&&t.dense,"flex-start"===n.alignItems&&t.alignItemsFlexStart,n.divider&&t.divider,!n.disableGutters&&t.gutters]}})((({theme:e,ownerState:t})=>(0,T.Z)({display:"flex",flexGrow:1,justifyContent:"flex-start",alignItems:"center",position:"relative",textDecoration:"none",minWidth:0,boxSizing:"border-box",textAlign:"left",paddingTop:8,paddingBottom:8,transition:e.transitions.create("background-color",{duration:e.transitions.duration.shortest}),"&:hover":{textDecoration:"none",backgroundColor:(e.vars||e).palette.action.hover,"@media (hover: none)":{backgroundColor:"transparent"}},[`&.${xs.selected}`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / ${e.vars.palette.action.selectedOpacity})`:(0,N.Fq)(e.palette.primary.main,e.palette.action.selectedOpacity),[`&.${xs.focusVisible}`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / calc(${e.vars.palette.action.selectedOpacity} + ${e.vars.palette.action.focusOpacity}))`:(0,N.Fq)(e.palette.primary.main,e.palette.action.selectedOpacity+e.palette.action.focusOpacity)}},[`&.${xs.selected}:hover`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / calc(${e.vars.palette.action.selectedOpacity} + ${e.vars.palette.action.hoverOpacity}))`:(0,N.Fq)(e.palette.primary.main,e.palette.action.selectedOpacity+e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / ${e.vars.palette.action.selectedOpacity})`:(0,N.Fq)(e.palette.primary.main,e.palette.action.selectedOpacity)}},[`&.${xs.focusVisible}`]:{backgroundColor:(e.vars||e).palette.action.focus},[`&.${xs.disabled}`]:{opacity:(e.vars||e).palette.action.disabledOpacity}},t.divider&&{borderBottom:`1px solid ${(e.vars||e).palette.divider}`,backgroundClip:"padding-box"},"flex-start"===t.alignItems&&{alignItems:"flex-start"},!t.disableGutters&&{paddingLeft:16,paddingRight:16},t.dense&&{paddingTop:4,paddingBottom:4}))),js=Y.forwardRef((function(e,t){const n=(0,U.Z)({props:e,name:"MuiListItemButton"}),{alignItems:r="center",autoFocus:o=!1,component:i="div",children:a,dense:s=!1,disableGutters:l=!1,divider:c=!1,focusVisibleClassName:u,selected:d=!1,className:p}=n,f=(0,O.Z)(n,_s),h=Y.useContext(gs.Z),m=Y.useMemo((()=>({dense:s||h.dense||!1,alignItems:r,disableGutters:l})),[r,h.dense,s,l]),v=Y.useRef(null);(0,Ji.Z)((()=>{o&&v.current&&v.current.focus()}),[o]);const g=(0,T.Z)({},n,{alignItems:r,dense:m.dense,disableGutters:l,divider:c,selected:d}),y=(e=>{const{alignItems:t,classes:n,dense:r,disabled:o,disableGutters:i,divider:a,selected:s}=e,l={root:["root",r&&"dense",!i&&"gutters",a&&"divider",o&&"disabled","flex-start"===t&&"alignItemsFlexStart",s&&"selected"]},c=(0,_e.Z)(l,ws,n);return(0,T.Z)({},n,c)})(g),b=(0,Be.Z)(v,t);return(0,ee.jsx)(gs.Z.Provider,{value:m,children:(0,ee.jsx)(Fs,(0,T.Z)({ref:b,href:f.href||f.to,component:(f.href||f.to)&&"div"===i?"button":i,focusVisibleClassName:(0,Ze.Z)(y.focusVisible,u),ownerState:g,className:(0,Ze.Z)(y.root,p)},f,{classes:y,children:a}))})}));var Bs=n(84592);const zs=["className"],Hs=(0,W.ZP)("div",{name:"MuiListItemIcon",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,"flex-start"===n.alignItems&&t.alignItemsFlexStart]}})((({theme:e,ownerState:t})=>(0,T.Z)({minWidth:56,color:(e.vars||e).palette.action.active,flexShrink:0,display:"inline-flex"},"flex-start"===t.alignItems&&{marginTop:8}))),Us=Y.forwardRef((function(e,t){const n=(0,U.Z)({props:e,name:"MuiListItemIcon"}),{className:r}=n,o=(0,O.Z)(n,zs),i=Y.useContext(gs.Z),a=(0,T.Z)({},n,{alignItems:i.alignItems}),s=(e=>{const{alignItems:t,classes:n}=e,r={root:["root","flex-start"===t&&"alignItemsFlexStart"]};return(0,_e.Z)(r,Bs.f,n)})(a);return(0,ee.jsx)(Hs,(0,T.Z)({className:(0,Ze.Z)(s.root,r),ownerState:a,ref:t},o))}));var Ws=n(59334),Vs=n(26336),qs=n(17075),Gs=n(83096),Ks=n(24486),Ys=n(272),Xs=n(63931),Js=n(42429),Qs=n(68976);function el(e){return(0,He.Z)("MuiMobileStepper",e)}const tl=(0,ze.Z)("MuiMobileStepper",["root","positionBottom","positionTop","positionStatic","dots","dot","dotActive","progress"]),nl=["activeStep","backButton","className","LinearProgressProps","nextButton","position","steps","variant"],rl=(0,W.ZP)(Je.Z,{name:"MuiMobileStepper",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,t[`position${(0,Ct.Z)(n.position)}`]]}})((({theme:e,ownerState:t})=>(0,T.Z)({display:"flex",flexDirection:"row",justifyContent:"space-between",alignItems:"center",background:(e.vars||e).palette.background.default,padding:8},"bottom"===t.position&&{position:"fixed",bottom:0,left:0,right:0,zIndex:(e.vars||e).zIndex.mobileStepper},"top"===t.position&&{position:"fixed",top:0,left:0,right:0,zIndex:(e.vars||e).zIndex.mobileStepper}))),ol=(0,W.ZP)("div",{name:"MuiMobileStepper",slot:"Dots",overridesResolver:(e,t)=>t.dots})((({ownerState:e})=>(0,T.Z)({},"dots"===e.variant&&{display:"flex",flexDirection:"row"}))),il=(0,W.ZP)("div",{name:"MuiMobileStepper",slot:"Dot",shouldForwardProp:e=>(0,W.Dz)(e)&&"dotActive"!==e,overridesResolver:(e,t)=>{const{dotActive:n}=e;return[t.dot,n&&t.dotActive]}})((({theme:e,ownerState:t,dotActive:n})=>(0,T.Z)({},"dots"===t.variant&&(0,T.Z)({transition:e.transitions.create("background-color",{duration:e.transitions.duration.shortest}),backgroundColor:(e.vars||e).palette.action.disabled,borderRadius:"50%",width:8,height:8,margin:"0 2px"},n&&{backgroundColor:(e.vars||e).palette.primary.main})))),al=(0,W.ZP)(ds,{name:"MuiMobileStepper",slot:"Progress",overridesResolver:(e,t)=>t.progress})((({ownerState:e})=>(0,T.Z)({},"progress"===e.variant&&{width:"50%"}))),sl=Y.forwardRef((function(e,t){const n=(0,U.Z)({props:e,name:"MuiMobileStepper"}),{activeStep:r=0,backButton:o,className:i,LinearProgressProps:a,nextButton:s,position:l="bottom",steps:c,variant:u="dots"}=n,d=(0,O.Z)(n,nl),p=(0,T.Z)({},n,{activeStep:r,position:l,variant:u});let f;"progress"===u&&(f=1===c?100:Math.ceil(r/(c-1)*100));const h=(e=>{const{classes:t,position:n}=e,r={root:["root",`position${(0,Ct.Z)(n)}`],dots:["dots"],dot:["dot"],dotActive:["dotActive"],progress:["progress"]};return(0,_e.Z)(r,el,t)})(p);return(0,ee.jsxs)(rl,(0,T.Z)({square:!0,elevation:0,className:(0,Ze.Z)(h.root,i),ref:t,ownerState:p},d,{children:[o,"text"===u&&(0,ee.jsxs)(Y.Fragment,{children:[r+1," / ",c]}),"dots"===u&&(0,ee.jsx)(ol,{ownerState:p,className:h.dots,children:[...new Array(c)].map(((e,t)=>(0,ee.jsx)(il,{className:(0,Ze.Z)(h.dot,t===r&&h.dotActive),ownerState:p,dotActive:t===r},t)))}),"progress"===u&&(0,ee.jsx)(al,(0,T.Z)({ownerState:p,className:h.progress,variant:"determinate",value:f},a)),s]}))}));var ll=n(25827),cl=n(31710),ul=n(1011),dl=n(35262),pl=n(60224),fl=n(12268);const hl=["className","children","classes","IconComponent","input","inputProps","variant"],ml=["root"],vl=(0,ee.jsx)(Fa.Z,{}),gl=Y.forwardRef((function(e,t){const n=(0,U.Z)({name:"MuiNativeSelect",props:e}),{className:r,children:o,classes:i={},IconComponent:a=pl.Z,input:s=vl,inputProps:l}=n,c=(0,O.Z)(n,hl),u=(0,Ir.Z)(),d=(0,ai.Z)({props:n,muiFormControl:u,states:["variant"]}),p=(e=>{const{classes:t}=e;return(0,_e.Z)({root:["root"]},fl.f,t)})((0,T.Z)({},n,{classes:i})),f=(0,O.Z)(i,ml);return(0,ee.jsx)(Y.Fragment,{children:Y.cloneElement(s,(0,T.Z)({inputComponent:dl.ZP,inputProps:(0,T.Z)({children:o,classes:f,IconComponent:a,variant:d.variant,type:void 0},l,s?s.props.inputProps:{}),ref:t},c,{className:(0,Ze.Z)(p.root,s.props.className,r)}))})}));gl.muiName="Select";const yl=gl;var bl=n(73546);function wl(e){const{children:t,defer:n=!1,fallback:r=null}=e,[o,i]=Y.useState(!1);return(0,bl.Z)((()=>{n||i(!0)}),[n]),Y.useEffect((()=>{n&&i(!0)}),[n]),(0,ee.jsx)(Y.Fragment,{children:o?t:r})}var xl=n(99460),kl=n(54656);function Sl(e){return(0,He.Z)("MuiPagination",e)}const Cl=(0,ze.Z)("MuiPagination",["root","ul","outlined","text"]);var El=n(19032);const Tl=["boundaryCount","componentName","count","defaultPage","disabled","hideNextButton","hidePrevButton","onChange","page","showFirstButton","showLastButton","siblingCount"];function Ol(e={}){const{boundaryCount:t=1,componentName:n="usePagination",count:r=1,defaultPage:o=1,disabled:i=!1,hideNextButton:a=!1,hidePrevButton:s=!1,onChange:l,page:c,showFirstButton:u=!1,showLastButton:d=!1,siblingCount:p=1}=e,f=(0,O.Z)(e,Tl),[h,m]=(0,El.Z)({controlled:c,default:o,name:n,state:"page"}),v=(e,t)=>{c||m(t),l&&l(e,t)},g=(e,t)=>{const n=t-e+1;return Array.from({length:n},((t,n)=>e+n))},y=g(1,Math.min(t,r)),b=g(Math.max(r-t+1,t+1),r),w=Math.max(Math.min(h-p,r-t-2*p-1),t+2),x=Math.min(Math.max(h+p,t+2*p+2),b.length>0?b[0]-2:r-1),k=[...u?["first"]:[],...s?[]:["previous"],...y,...w>t+2?["start-ellipsis"]:t+1<r-t?[t+1]:[],...g(w,x),...x<r-t-1?["end-ellipsis"]:r-t>t?[r-t]:[],...b,...a?[]:["next"],...d?["last"]:[]],S=e=>{switch(e){case"first":return 1;case"previous":return h-1;case"next":return h+1;case"last":return r;default:return null}},C=k.map((e=>"number"==typeof e?{onClick:t=>{v(t,e)},type:"page",page:e,selected:e===h,disabled:i,"aria-current":e===h?"true":void 0}:{onClick:t=>{v(t,S(e))},type:e,page:S(e),selected:!1,disabled:i||-1===e.indexOf("ellipsis")&&("next"===e||"last"===e?h>=r:h<=1)}));return(0,T.Z)({items:C},f)}function $l(e){return(0,He.Z)("MuiPaginationItem",e)}const Ml=(0,ze.Z)("MuiPaginationItem",["root","page","sizeSmall","sizeLarge","text","textPrimary","textSecondary","outlined","outlinedPrimary","outlinedSecondary","rounded","ellipsis","firstLast","previousNext","focusVisible","disabled","selected","icon"]),Al=(0,$t.Z)((0,ee.jsx)("path",{d:"M18.41 16.59L13.82 12l4.59-4.59L17 6l-6 6 6 6zM6 6h2v12H6z"}),"FirstPage"),Dl=(0,$t.Z)((0,ee.jsx)("path",{d:"M5.59 7.41L10.18 12l-4.59 4.59L7 18l6-6-6-6zM16 6h2v12h-2z"}),"LastPage"),Ll=(0,$t.Z)((0,ee.jsx)("path",{d:"M15.41 7.41L14 6l-6 6 6 6 1.41-1.41L10.83 12z"}),"NavigateBefore"),Nl=(0,$t.Z)((0,ee.jsx)("path",{d:"M10 6L8.59 7.41 13.17 12l-4.58 4.59L10 18l6-6z"}),"NavigateNext"),Rl=["className","color","component","components","disabled","page","selected","shape","size","slots","type","variant"],Il=(e,t)=>{const{ownerState:n}=e;return[t.root,t[n.variant],t[`size${(0,Ct.Z)(n.size)}`],"text"===n.variant&&t[`text${(0,Ct.Z)(n.color)}`],"outlined"===n.variant&&t[`outlined${(0,Ct.Z)(n.color)}`],"rounded"===n.shape&&t.rounded,"page"===n.type&&t.page,("start-ellipsis"===n.type||"end-ellipsis"===n.type)&&t.ellipsis,("previous"===n.type||"next"===n.type)&&t.previousNext,("first"===n.type||"last"===n.type)&&t.firstLast]},Pl=(0,W.ZP)("div",{name:"MuiPaginationItem",slot:"Root",overridesResolver:Il})((({theme:e,ownerState:t})=>(0,T.Z)({},e.typography.body2,{borderRadius:16,textAlign:"center",boxSizing:"border-box",minWidth:32,padding:"0 6px",margin:"0 3px",color:(e.vars||e).palette.text.primary,height:"auto",[`&.${Ml.disabled}`]:{opacity:(e.vars||e).palette.action.disabledOpacity}},"small"===t.size&&{minWidth:26,borderRadius:13,margin:"0 1px",padding:"0 4px"},"large"===t.size&&{minWidth:40,borderRadius:20,padding:"0 10px",fontSize:e.typography.pxToRem(15)}))),Zl=(0,W.ZP)(vt.Z,{name:"MuiPaginationItem",slot:"Root",overridesResolver:Il})((({theme:e,ownerState:t})=>(0,T.Z)({},e.typography.body2,{borderRadius:16,textAlign:"center",boxSizing:"border-box",minWidth:32,height:32,padding:"0 6px",margin:"0 3px",color:(e.vars||e).palette.text.primary,[`&.${Ml.focusVisible}`]:{backgroundColor:(e.vars||e).palette.action.focus},[`&.${Ml.disabled}`]:{opacity:(e.vars||e).palette.action.disabledOpacity},transition:e.transitions.create(["color","background-color"],{duration:e.transitions.duration.short}),"&:hover":{backgroundColor:(e.vars||e).palette.action.hover,"@media (hover: none)":{backgroundColor:"transparent"}},[`&.${Ml.selected}`]:{backgroundColor:(e.vars||e).palette.action.selected,"&:hover":{backgroundColor:e.vars?`rgba(${e.vars.palette.action.selected} / calc(${e.vars.palette.action.selectedOpacity} + ${e.vars.palette.action.hoverOpacity}))`:(0,N.Fq)(e.palette.action.selected,e.palette.action.selectedOpacity+e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:(e.vars||e).palette.action.selected}},[`&.${Ml.focusVisible}`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.action.selected} / calc(${e.vars.palette.action.selectedOpacity} + ${e.vars.palette.action.focusOpacity}))`:(0,N.Fq)(e.palette.action.selected,e.palette.action.selectedOpacity+e.palette.action.focusOpacity)},[`&.${Ml.disabled}`]:{opacity:1,color:(e.vars||e).palette.action.disabled,backgroundColor:(e.vars||e).palette.action.selected}}},"small"===t.size&&{minWidth:26,height:26,borderRadius:13,margin:"0 1px",padding:"0 4px"},"large"===t.size&&{minWidth:40,height:40,borderRadius:20,padding:"0 10px",fontSize:e.typography.pxToRem(15)},"rounded"===t.shape&&{borderRadius:(e.vars||e).shape.borderRadius})),(({theme:e,ownerState:t})=>(0,T.Z)({},"text"===t.variant&&{[`&.${Ml.selected}`]:(0,T.Z)({},"standard"!==t.color&&{color:(e.vars||e).palette[t.color].contrastText,backgroundColor:(e.vars||e).palette[t.color].main,"&:hover":{backgroundColor:(e.vars||e).palette[t.color].dark,"@media (hover: none)":{backgroundColor:(e.vars||e).palette[t.color].main}},[`&.${Ml.focusVisible}`]:{backgroundColor:(e.vars||e).palette[t.color].dark}},{[`&.${Ml.disabled}`]:{color:(e.vars||e).palette.action.disabled}})},"outlined"===t.variant&&{border:e.vars?`1px solid rgba(${e.vars.palette.common.onBackgroundChannel} / 0.23)`:"1px solid "+("light"===e.palette.mode?"rgba(0, 0, 0, 0.23)":"rgba(255, 255, 255, 0.23)"),[`&.${Ml.selected}`]:(0,T.Z)({},"standard"!==t.color&&{color:(e.vars||e).palette[t.color].main,border:`1px solid ${e.vars?`rgba(${e.vars.palette[t.color].mainChannel} / 0.5)`:(0,N.Fq)(e.palette[t.color].main,.5)}`,backgroundColor:e.vars?`rgba(${e.vars.palette[t.color].mainChannel} / ${e.vars.palette.action.activatedOpacity})`:(0,N.Fq)(e.palette[t.color].main,e.palette.action.activatedOpacity),"&:hover":{backgroundColor:e.vars?`rgba(${e.vars.palette[t.color].mainChannel} / calc(${e.vars.palette.action.activatedOpacity} + ${e.vars.palette.action.focusOpacity}))`:(0,N.Fq)(e.palette[t.color].main,e.palette.action.activatedOpacity+e.palette.action.focusOpacity),"@media (hover: none)":{backgroundColor:"transparent"}},[`&.${Ml.focusVisible}`]:{backgroundColor:e.vars?`rgba(${e.vars.palette[t.color].mainChannel} / calc(${e.vars.palette.action.activatedOpacity} + ${e.vars.palette.action.focusOpacity}))`:(0,N.Fq)(e.palette[t.color].main,e.palette.action.activatedOpacity+e.palette.action.focusOpacity)}},{[`&.${Ml.disabled}`]:{borderColor:(e.vars||e).palette.action.disabledBackground,color:(e.vars||e).palette.action.disabled}})}))),_l=(0,W.ZP)("div",{name:"MuiPaginationItem",slot:"Icon",overridesResolver:(e,t)=>t.icon})((({theme:e,ownerState:t})=>(0,T.Z)({fontSize:e.typography.pxToRem(20),margin:"0 -8px"},"small"===t.size&&{fontSize:e.typography.pxToRem(18)},"large"===t.size&&{fontSize:e.typography.pxToRem(22)}))),Fl=Y.forwardRef((function(e,t){const n=(0,U.Z)({props:e,name:"MuiPaginationItem"}),{className:r,color:o="standard",component:i,components:a={},disabled:s=!1,page:l,selected:c=!1,shape:u="circular",size:d="medium",slots:p={},type:f="page",variant:h="text"}=n,m=(0,O.Z)(n,Rl),v=(0,T.Z)({},n,{color:o,disabled:s,selected:c,shape:u,size:d,type:f,variant:h}),g=(0,H.Z)(),y=(e=>{const{classes:t,color:n,disabled:r,selected:o,size:i,shape:a,type:s,variant:l}=e,c={root:["root",`size${(0,Ct.Z)(i)}`,l,a,"standard"!==n&&`${l}${(0,Ct.Z)(n)}`,r&&"disabled",o&&"selected",{page:"page",first:"firstLast",last:"firstLast","start-ellipsis":"ellipsis","end-ellipsis":"ellipsis",previous:"previousNext",next:"previousNext"}[s]],icon:["icon"]};return(0,_e.Z)(c,$l,t)})(v),b=("rtl"===g.direction?{previous:p.next||a.next||Nl,next:p.previous||a.previous||Ll,last:p.first||a.first||Al,first:p.last||a.last||Dl}:{previous:p.previous||a.previous||Ll,next:p.next||a.next||Nl,first:p.first||a.first||Al,last:p.last||a.last||Dl})[f];return"start-ellipsis"===f||"end-ellipsis"===f?(0,ee.jsx)(Pl,{ref:t,ownerState:v,className:(0,Ze.Z)(y.root,r),children:"…"}):(0,ee.jsxs)(Zl,(0,T.Z)({ref:t,ownerState:v,component:i,disabled:s,className:(0,Ze.Z)(y.root,r)},m,{children:["page"===f&&l,b?(0,ee.jsx)(_l,{as:b,ownerState:v,className:y.icon}):null]}))})),jl=Fl,Bl=["boundaryCount","className","color","count","defaultPage","disabled","getItemAriaLabel","hideNextButton","hidePrevButton","onChange","page","renderItem","shape","showFirstButton","showLastButton","siblingCount","size","variant"],zl=(0,W.ZP)("nav",{name:"MuiPagination",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,t[n.variant]]}})({}),Hl=(0,W.ZP)("ul",{name:"MuiPagination",slot:"Ul",overridesResolver:(e,t)=>t.ul})({display:"flex",flexWrap:"wrap",alignItems:"center",padding:0,margin:0,listStyle:"none"});function Ul(e,t,n){return"page"===e?`${n?"":"Go to "}page ${t}`:`Go to ${e} page`}const Wl=Y.forwardRef((function(e,t){const n=(0,U.Z)({props:e,name:"MuiPagination"}),{boundaryCount:r=1,className:o,color:i="standard",count:a=1,defaultPage:s=1,disabled:l=!1,getItemAriaLabel:c=Ul,hideNextButton:u=!1,hidePrevButton:d=!1,renderItem:p=(e=>(0,ee.jsx)(jl,(0,T.Z)({},e))),shape:f="circular",showFirstButton:h=!1,showLastButton:m=!1,siblingCount:v=1,size:g="medium",variant:y="text"}=n,b=(0,O.Z)(n,Bl),{items:w}=Ol((0,T.Z)({},n,{componentName:"Pagination"})),x=(0,T.Z)({},n,{boundaryCount:r,color:i,count:a,defaultPage:s,disabled:l,getItemAriaLabel:c,hideNextButton:u,hidePrevButton:d,renderItem:p,shape:f,showFirstButton:h,showLastButton:m,siblingCount:v,size:g,variant:y}),k=(e=>{const{classes:t,variant:n}=e,r={root:["root",n],ul:["ul"]};return(0,_e.Z)(r,Sl,t)})(x);return(0,ee.jsx)(zl,(0,T.Z)({"aria-label":"pagination navigation",className:(0,Ze.Z)(k.root,o),ownerState:x,ref:t},b,{children:(0,ee.jsx)(Hl,{className:k.ul,ownerState:x,children:w.map(((e,t)=>(0,ee.jsx)("li",{children:p((0,T.Z)({},e,{color:i,"aria-label":c(e.type,e.page,e.selected),shape:f,size:g,variant:y}))},t)))})}))}));var Vl=n(53160),ql=n(90103),Gl=n(3994),Kl=n(38584),Yl=n(78385);const Xl=(0,$t.Z)((0,ee.jsx)("path",{d:"M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm0 18c-4.42 0-8-3.58-8-8s3.58-8 8-8 8 3.58 8 8-3.58 8-8 8z"}),"RadioButtonUnchecked"),Jl=(0,$t.Z)((0,ee.jsx)("path",{d:"M8.465 8.465C9.37 7.56 10.62 7 12 7C14.76 7 17 9.24 17 12C17 13.38 16.44 14.63 15.535 15.535C14.63 16.44 13.38 17 12 17C9.24 17 7 14.76 7 12C7 10.62 7.56 9.37 8.465 8.465Z"}),"RadioButtonChecked"),Ql=(0,W.ZP)("span")({position:"relative",display:"flex"}),ec=(0,W.ZP)(Xl)({transform:"scale(1)"}),tc=(0,W.ZP)(Jl)((({theme:e,ownerState:t})=>(0,T.Z)({left:0,position:"absolute",transform:"scale(0)",transition:e.transitions.create("transform",{easing:e.transitions.easing.easeIn,duration:e.transitions.duration.shortest})},t.checked&&{transform:"scale(1)",transition:e.transitions.create("transform",{easing:e.transitions.easing.easeOut,duration:e.transitions.duration.shortest})})));const nc=function(e){const{checked:t=!1,classes:n={},fontSize:r}=e,o=(0,T.Z)({},e,{checked:t});return(0,ee.jsxs)(Ql,{className:n.root,ownerState:o,children:[(0,ee.jsx)(ec,{fontSize:r,className:n.background,ownerState:o}),(0,ee.jsx)(tc,{fontSize:r,className:n.dot,ownerState:o})]})};var rc=n(35893);const oc=Y.createContext(void 0);function ic(){return Y.useContext(oc)}function ac(e){return(0,He.Z)("MuiRadio",e)}const sc=(0,ze.Z)("MuiRadio",["root","checked","disabled","colorPrimary","colorSecondary","sizeSmall"]),lc=["checked","checkedIcon","color","icon","name","onChange","size","className"],cc=(0,W.ZP)(jr,{shouldForwardProp:e=>(0,W.FO)(e)||"classes"===e,name:"MuiRadio",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,t[`color${(0,Ct.Z)(n.color)}`]]}})((({theme:e,ownerState:t})=>(0,T.Z)({color:(e.vars||e).palette.text.secondary},!t.disableRipple&&{"&:hover":{backgroundColor:e.vars?`rgba(${"default"===t.color?e.vars.palette.action.activeChannel:e.vars.palette[t.color].mainChannel} / ${e.vars.palette.action.hoverOpacity})`:(0,N.Fq)("default"===t.color?e.palette.action.active:e.palette[t.color].main,e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}}},"default"!==t.color&&{[`&.${sc.checked}`]:{color:(e.vars||e).palette[t.color].main}},{[`&.${sc.disabled}`]:{color:(e.vars||e).palette.action.disabled}})));const uc=(0,ee.jsx)(nc,{checked:!0}),dc=(0,ee.jsx)(nc,{}),pc=Y.forwardRef((function(e,t){var n,r;const o=(0,U.Z)({props:e,name:"MuiRadio"}),{checked:i,checkedIcon:a=uc,color:s="primary",icon:l=dc,name:c,onChange:u,size:d="medium",className:p}=o,f=(0,O.Z)(o,lc),h=(0,T.Z)({},o,{color:s,size:d}),m=(e=>{const{classes:t,color:n,size:r}=e,o={root:["root",`color${(0,Ct.Z)(n)}`,"medium"!==r&&`size${(0,Ct.Z)(r)}`]};return(0,T.Z)({},t,(0,_e.Z)(o,ac,t))})(h),v=ic();let g=i;const y=(0,rc.Z)(u,v&&v.onChange);let b=c;return v&&(void 0===g&&(g=function(e,t){return"object"==typeof t&&null!==t?e===t:String(e)===String(t)}(v.value,o.value)),void 0===b&&(b=v.name)),(0,ee.jsx)(cc,(0,T.Z)({type:"radio",icon:Y.cloneElement(l,{fontSize:null!=(n=dc.props.fontSize)?n:d}),checkedIcon:Y.cloneElement(a,{fontSize:null!=(r=uc.props.fontSize)?r:d}),ownerState:h,classes:m,name:b,checked:g,onChange:y,ref:t,className:(0,Ze.Z)(m.root,p)},f))}));var fc=n(27909);const hc=["actions","children","defaultValue","name","onChange","value"],mc=Y.forwardRef((function(e,t){const{actions:n,children:r,defaultValue:o,name:i,onChange:a,value:s}=e,l=(0,O.Z)(e,hc),c=Y.useRef(null),[u,d]=(0,et.Z)({controlled:s,default:o,name:"RadioGroup"});Y.useImperativeHandle(n,(()=>({focus:()=>{let e=c.current.querySelector("input:not(:disabled):checked");e||(e=c.current.querySelector("input:not(:disabled)")),e&&e.focus()}})),[]);const p=(0,Be.Z)(t,c),f=(0,fc.Z)(i),h=Y.useMemo((()=>({name:f,onChange(e){d(e.target.value),a&&a(e,e.target.value)},value:u})),[f,a,d,u]);return(0,ee.jsx)(oc.Provider,{value:h,children:(0,ee.jsx)(mi,(0,T.Z)({role:"radiogroup",ref:p},l,{children:r}))})}));var vc=n(95126),gc=n(2409);function yc(e){return(0,He.Z)("MuiScopedCssBaseline",e)}const bc=(0,ze.Z)("MuiScopedCssBaseline",["root"]),wc=["className","component","enableColorScheme"],xc=(0,W.ZP)("div",{name:"MuiScopedCssBaseline",slot:"Root",overridesResolver:(e,t)=>t.root})((({theme:e,ownerState:t})=>{const n={};return t.enableColorScheme&&e.colorSchemes&&Object.entries(e.colorSchemes).forEach((([t,r])=>{var o;n[`&${e.getColorSchemeSelector(t).replace(/\s*&/,"")}`]={colorScheme:null==(o=r.palette)?void 0:o.mode}})),(0,T.Z)({},xo(e,t.enableColorScheme),ko(e),{"& *, & *::before, & *::after":{boxSizing:"inherit"},"& strong, & b":{fontWeight:e.typography.fontWeightBold}},n)})),kc=Y.forwardRef((function(e,t){const n=(0,U.Z)({props:e,name:"MuiScopedCssBaseline"}),{className:r,component:o="div"}=n,i=(0,O.Z)(n,wc),a=(0,T.Z)({},n,{component:o}),s=(e=>{const{classes:t}=e;return(0,_e.Z)({root:["root"]},yc,t)})(a);return(0,ee.jsx)(xc,(0,T.Z)({as:o,className:(0,Ze.Z)(s.root,r),ref:t,ownerState:a},i))}));var Sc=n(16012),Cc=n(95603),Ec=n(22054),Tc=n(3472),Oc=n(54776),$c=n(99962),Mc=n(13113);function Ac(e,t){return e-t}function Dc(e,t,n){return null==e?t:Math.min(Math.max(t,e),n)}function Lc(e,t){var n;const{index:r}=null!=(n=e.reduce(((e,n,r)=>{const o=Math.abs(t-n);return null===e||o<e.distance||o===e.distance?{distance:o,index:r}:e}),null))?n:{};return r}function Nc(e,t){if(void 0!==t.current&&e.changedTouches){const n=e;for(let e=0;e<n.changedTouches.length;e+=1){const r=n.changedTouches[e];if(r.identifier===t.current)return{x:r.clientX,y:r.clientY}}return!1}return{x:e.clientX,y:e.clientY}}function Rc(e,t,n){return 100*(e-t)/(n-t)}function Ic(e,t,n){const r=Math.round((e-n)/t)*t+n;return Number(r.toFixed(function(e){if(Math.abs(e)<1){const t=e.toExponential().split("e-"),n=t[0].split(".")[1];return(n?n.length:0)+parseInt(t[1],10)}const t=e.toString().split(".")[1];return t?t.length:0}(t)))}function Pc({values:e,newValue:t,index:n}){const r=e.slice();return r[n]=t,r.sort(Ac)}function Zc({sliderRef:e,activeIndex:t,setActive:n}){var r,o;const i=(0,oo.Z)(e.current);var a;null!=(r=e.current)&&r.contains(i.activeElement)&&Number(null==i||null==(o=i.activeElement)?void 0:o.getAttribute("data-index"))===t||(null==(a=e.current)||a.querySelector(`[type="range"][data-index="${t}"]`).focus());n&&n(t)}function _c(e,t){return"number"==typeof e&&"number"==typeof t?e===t:"object"==typeof e&&"object"==typeof t&&function(e,t,n=((e,t)=>e===t)){return e.length===t.length&&e.every(((e,r)=>n(e,t[r])))}(e,t)}const Fc={horizontal:{offset:e=>({left:`${e}%`}),leap:e=>({width:`${e}%`})},"horizontal-reverse":{offset:e=>({right:`${e}%`}),leap:e=>({width:`${e}%`})},vertical:{offset:e=>({bottom:`${e}%`}),leap:e=>({height:`${e}%`})}},jc=e=>e;let Bc;function zc(){return void 0===Bc&&(Bc="undefined"==typeof CSS||"function"!=typeof CSS.supports||CSS.supports("touch-action","none")),Bc}function Hc(e){const{"aria-labelledby":t,defaultValue:n,disabled:r=!1,disableSwap:o=!1,isRtl:i=!1,marks:a=!1,max:s=100,min:l=0,name:c,onChange:u,onChangeCommitted:d,orientation:p="horizontal",rootRef:f,scale:h=jc,step:m=1,tabIndex:v,value:g}=e,y=Y.useRef(),[b,w]=Y.useState(-1),[x,k]=Y.useState(-1),[S,C]=Y.useState(!1),E=Y.useRef(0),[O,$]=(0,El.Z)({controlled:g,default:null!=n?n:l,name:"Slider"}),M=u&&((e,t,n)=>{const r=e.nativeEvent||e,o=new r.constructor(r.type,r);Object.defineProperty(o,"target",{writable:!0,value:{value:t,name:c}}),u(o,t,n)}),A=Array.isArray(O);let D=A?O.slice().sort(Ac):[O];D=D.map((e=>Dc(e,l,s)));const L=!0===a&&null!==m?[...Array(Math.floor((s-l)/m)+1)].map(((e,t)=>({value:l+m*t}))):a||[],N=L.map((e=>e.value)),{isFocusVisibleRef:R,onBlur:I,onFocus:P,ref:Z}=(0,$c.Z)(),[_,F]=Y.useState(-1),j=Y.useRef(),B=(0,no.Z)(Z,j),z=(0,no.Z)(f,B),H=e=>t=>{var n;const r=Number(t.currentTarget.getAttribute("data-index"));P(t),!0===R.current&&F(r),k(r),null==e||null==(n=e.onFocus)||n.call(e,t)},U=e=>t=>{var n;I(t),!1===R.current&&F(-1),k(-1),null==e||null==(n=e.onBlur)||n.call(e,t)};(0,bl.Z)((()=>{var e;r&&j.current.contains(document.activeElement)&&(null==(e=document.activeElement)||e.blur())}),[r]),r&&-1!==b&&w(-1),r&&-1!==_&&F(-1);const W=e=>t=>{var n;null==(n=e.onChange)||n.call(e,t);const r=Number(t.currentTarget.getAttribute("data-index")),i=D[r],a=N.indexOf(i);let c=t.target.valueAsNumber;if(L&&null==m){const e=N[N.length-1];c=c>e?e:c<N[0]?N[0]:c<i?N[a-1]:N[a+1]}if(c=Dc(c,l,s),A){o&&(c=Dc(c,D[r-1]||-1/0,D[r+1]||1/0));const e=c;c=Pc({values:D,newValue:c,index:r});let t=r;o||(t=c.indexOf(e)),Zc({sliderRef:j,activeIndex:t})}$(c),F(r),M&&!_c(c,O)&&M(t,c,r),d&&d(t,c)},V=Y.useRef();let q=p;i&&"horizontal"===p&&(q+="-reverse");const G=({finger:e,move:t=!1})=>{const{current:n}=j,{width:r,height:i,bottom:a,left:c}=n.getBoundingClientRect();let u,d;if(u=0===q.indexOf("vertical")?(a-e.y)/i:(e.x-c)/r,-1!==q.indexOf("-reverse")&&(u=1-u),d=function(e,t,n){return(n-t)*e+t}(u,l,s),m)d=Ic(d,m,l);else{const e=Lc(N,d);d=N[e]}d=Dc(d,l,s);let p=0;if(A){p=t?V.current:Lc(D,d),o&&(d=Dc(d,D[p-1]||-1/0,D[p+1]||1/0));const e=d;d=Pc({values:D,newValue:d,index:p}),o&&t||(p=d.indexOf(e),V.current=p)}return{newValue:d,activeIndex:p}},K=(0,ro.Z)((e=>{const t=Nc(e,y);if(!t)return;if(E.current+=1,"mousemove"===e.type&&0===e.buttons)return void X(e);const{newValue:n,activeIndex:r}=G({finger:t,move:!0});Zc({sliderRef:j,activeIndex:r,setActive:w}),$(n),!S&&E.current>2&&C(!0),M&&!_c(n,O)&&M(e,n,r)})),X=(0,ro.Z)((e=>{const t=Nc(e,y);if(C(!1),!t)return;const{newValue:n}=G({finger:t,move:!0});w(-1),"touchend"===e.type&&k(-1),d&&d(e,n),y.current=void 0,Q()})),J=(0,ro.Z)((e=>{if(r)return;zc()||e.preventDefault();const t=e.changedTouches[0];null!=t&&(y.current=t.identifier);const n=Nc(e,y);if(!1!==n){const{newValue:t,activeIndex:r}=G({finger:n});Zc({sliderRef:j,activeIndex:r,setActive:w}),$(t),M&&!_c(t,O)&&M(e,t,r)}E.current=0;const o=(0,oo.Z)(j.current);o.addEventListener("touchmove",K),o.addEventListener("touchend",X)})),Q=Y.useCallback((()=>{const e=(0,oo.Z)(j.current);e.removeEventListener("mousemove",K),e.removeEventListener("mouseup",X),e.removeEventListener("touchmove",K),e.removeEventListener("touchend",X)}),[X,K]);Y.useEffect((()=>{const{current:e}=j;return e.addEventListener("touchstart",J,{passive:zc()}),()=>{e.removeEventListener("touchstart",J,{passive:zc()}),Q()}}),[Q,J]),Y.useEffect((()=>{r&&Q()}),[r,Q]);const ee=e=>t=>{var n;if(null==(n=e.onMouseDown)||n.call(e,t),r)return;if(t.defaultPrevented)return;if(0!==t.button)return;t.preventDefault();const o=Nc(t,y);if(!1!==o){const{newValue:e,activeIndex:n}=G({finger:o});Zc({sliderRef:j,activeIndex:n,setActive:w}),$(e),M&&!_c(e,O)&&M(t,e,n)}E.current=0;const i=(0,oo.Z)(j.current);i.addEventListener("mousemove",K),i.addEventListener("mouseup",X)},te=Rc(A?D[0]:l,l,s),ne=Rc(D[D.length-1],l,s)-te,re=e=>t=>{var n;null==(n=e.onMouseOver)||n.call(e,t);const r=Number(t.currentTarget.getAttribute("data-index"));k(r)},oe=e=>t=>{var n;null==(n=e.onMouseLeave)||n.call(e,t),k(-1)};return{active:b,axis:q,axisProps:Fc,dragging:S,focusedThumbIndex:_,getHiddenInputProps:(n={})=>{var o;const a={onChange:W(n||{}),onFocus:H(n||{}),onBlur:U(n||{})},u=(0,T.Z)({},n,a);return(0,T.Z)({tabIndex:v,"aria-labelledby":t,"aria-orientation":p,"aria-valuemax":h(s),"aria-valuemin":h(l),name:c,type:"range",min:e.min,max:e.max,step:null===e.step&&e.marks?"any":null!=(o=e.step)?o:void 0,disabled:r},u,{style:(0,T.Z)({},Mc.Z,{direction:i?"rtl":"ltr",width:"100%",height:"100%"})})},getRootProps:(e={})=>{const t={onMouseDown:ee(e||{})},n=(0,T.Z)({},e,t);return(0,T.Z)({ref:z},n)},getThumbProps:(e={})=>{const t={onMouseOver:re(e||{}),onMouseLeave:oe(e||{})};return(0,T.Z)({},e,t)},marks:L,open:x,range:A,rootRef:z,trackLeap:ne,trackOffset:te,values:D,getThumbStyle:e=>({pointerEvents:-1!==b&&b!==e?"none":void 0})}}const Uc=e=>!e||!(0,vs.X)(e);function Wc(e){return(0,He.Z)("MuiSlider",e)}const Vc=(0,ze.Z)("MuiSlider",["root","active","colorPrimary","colorSecondary","disabled","dragging","focusVisible","mark","markActive","marked","markLabel","markLabelActive","rail","sizeSmall","thumb","thumbColorPrimary","thumbColorSecondary","track","trackInverted","trackFalse","thumbSizeSmall","valueLabel","valueLabelOpen","valueLabelCircle","valueLabelLabel","vertical"]);const qc=["aria-label","aria-valuetext","aria-labelledby","component","components","componentsProps","color","classes","className","disableSwap","disabled","getAriaLabel","getAriaValueText","marks","max","min","name","onChange","onChangeCommitted","orientation","size","step","scale","slotProps","slots","tabIndex","track","value","valueLabelDisplay","valueLabelFormat"];function Gc(e){return e}const Kc=(0,W.ZP)("span",{name:"MuiSlider",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,t[`color${(0,Ct.Z)(n.color)}`],"medium"!==n.size&&t[`size${(0,Ct.Z)(n.size)}`],n.marked&&t.marked,"vertical"===n.orientation&&t.vertical,"inverted"===n.track&&t.trackInverted,!1===n.track&&t.trackFalse]}})((({theme:e,ownerState:t})=>(0,T.Z)({borderRadius:12,boxSizing:"content-box",display:"inline-block",position:"relative",cursor:"pointer",touchAction:"none",color:(e.vars||e).palette[t.color].main,WebkitTapHighlightColor:"transparent"},"horizontal"===t.orientation&&(0,T.Z)({height:4,width:"100%",padding:"13px 0","@media (pointer: coarse)":{padding:"20px 0"}},"small"===t.size&&{height:2},t.marked&&{marginBottom:20}),"vertical"===t.orientation&&(0,T.Z)({height:"100%",width:4,padding:"0 13px","@media (pointer: coarse)":{padding:"0 20px"}},"small"===t.size&&{width:2},t.marked&&{marginRight:44}),{"@media print":{colorAdjust:"exact"},[`&.${Vc.disabled}`]:{pointerEvents:"none",cursor:"default",color:(e.vars||e).palette.grey[400]},[`&.${Vc.dragging}`]:{[`& .${Vc.thumb}, & .${Vc.track}`]:{transition:"none"}}}))),Yc=(0,W.ZP)("span",{name:"MuiSlider",slot:"Rail",overridesResolver:(e,t)=>t.rail})((({ownerState:e})=>(0,T.Z)({display:"block",position:"absolute",borderRadius:"inherit",backgroundColor:"currentColor",opacity:.38},"horizontal"===e.orientation&&{width:"100%",height:"inherit",top:"50%",transform:"translateY(-50%)"},"vertical"===e.orientation&&{height:"100%",width:"inherit",left:"50%",transform:"translateX(-50%)"},"inverted"===e.track&&{opacity:1}))),Xc=(0,W.ZP)("span",{name:"MuiSlider",slot:"Track",overridesResolver:(e,t)=>t.track})((({theme:e,ownerState:t})=>{const n="light"===e.palette.mode?(0,N.$n)(e.palette[t.color].main,.62):(0,N._j)(e.palette[t.color].main,.5);return(0,T.Z)({display:"block",position:"absolute",borderRadius:"inherit",border:"1px solid currentColor",backgroundColor:"currentColor",transition:e.transitions.create(["left","width","bottom","height"],{duration:e.transitions.duration.shortest})},"small"===t.size&&{border:"none"},"horizontal"===t.orientation&&{height:"inherit",top:"50%",transform:"translateY(-50%)"},"vertical"===t.orientation&&{width:"inherit",left:"50%",transform:"translateX(-50%)"},!1===t.track&&{display:"none"},"inverted"===t.track&&{backgroundColor:e.vars?e.vars.palette.Slider[`${t.color}Track`]:n,borderColor:e.vars?e.vars.palette.Slider[`${t.color}Track`]:n})})),Jc=(0,W.ZP)("span",{name:"MuiSlider",slot:"Thumb",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.thumb,t[`thumbColor${(0,Ct.Z)(n.color)}`],"medium"!==n.size&&t[`thumbSize${(0,Ct.Z)(n.size)}`]]}})((({theme:e,ownerState:t})=>(0,T.Z)({position:"absolute",width:20,height:20,boxSizing:"border-box",borderRadius:"50%",outline:0,backgroundColor:"currentColor",display:"flex",alignItems:"center",justifyContent:"center",transition:e.transitions.create(["box-shadow","left","bottom"],{duration:e.transitions.duration.shortest})},"small"===t.size&&{width:12,height:12},"horizontal"===t.orientation&&{top:"50%",transform:"translate(-50%, -50%)"},"vertical"===t.orientation&&{left:"50%",transform:"translate(-50%, 50%)"},{"&:before":(0,T.Z)({position:"absolute",content:'""',borderRadius:"inherit",width:"100%",height:"100%",boxShadow:(e.vars||e).shadows[2]},"small"===t.size&&{boxShadow:"none"}),"&::after":{position:"absolute",content:'""',borderRadius:"50%",width:42,height:42,top:"50%",left:"50%",transform:"translate(-50%, -50%)"},[`&:hover, &.${Vc.focusVisible}`]:{boxShadow:`0px 0px 0px 8px ${e.vars?`rgba(${e.vars.palette[t.color].mainChannel} / 0.16)`:(0,N.Fq)(e.palette[t.color].main,.16)}`,"@media (hover: none)":{boxShadow:"none"}},[`&.${Vc.active}`]:{boxShadow:`0px 0px 0px 14px ${e.vars?`rgba(${e.vars.palette[t.color].mainChannel} / 0.16)`:(0,N.Fq)(e.palette[t.color].main,.16)}`},[`&.${Vc.disabled}`]:{"&:hover":{boxShadow:"none"}}}))),Qc=(0,W.ZP)((function(e){const{children:t,className:n,value:r}=e,o=(e=>{const{open:t}=e;return{offset:(0,Ze.Z)(t&&Vc.valueLabelOpen),circle:Vc.valueLabelCircle,label:Vc.valueLabelLabel}})(e);return t?Y.cloneElement(t,{className:(0,Ze.Z)(t.props.className)},(0,ee.jsxs)(Y.Fragment,{children:[t.props.children,(0,ee.jsx)("span",{className:(0,Ze.Z)(o.offset,n),"aria-hidden":!0,children:(0,ee.jsx)("span",{className:o.circle,children:(0,ee.jsx)("span",{className:o.label,children:r})})})]})):null}),{name:"MuiSlider",slot:"ValueLabel",overridesResolver:(e,t)=>t.valueLabel})((({theme:e,ownerState:t})=>(0,T.Z)({[`&.${Vc.valueLabelOpen}`]:{transform:("vertical"===t.orientation?"translateY(-50%)":"translateY(-100%)")+" scale(1)"},zIndex:1,whiteSpace:"nowrap"},e.typography.body2,{fontWeight:500,transition:e.transitions.create(["transform"],{duration:e.transitions.duration.shortest}),transform:("vertical"===t.orientation?"translateY(-50%)":"translateY(-100%)")+" scale(0)",position:"absolute",backgroundColor:(e.vars||e).palette.grey[600],borderRadius:2,color:(e.vars||e).palette.common.white,display:"flex",alignItems:"center",justifyContent:"center",padding:"0.25rem 0.75rem"},"horizontal"===t.orientation&&{top:"-10px",transformOrigin:"bottom center","&:before":{position:"absolute",content:'""',width:8,height:8,transform:"translate(-50%, 50%) rotate(45deg)",backgroundColor:"inherit",bottom:0,left:"50%"}},"vertical"===t.orientation&&{right:"small"===t.size?"20px":"30px",top:"50%",transformOrigin:"right center","&:before":{position:"absolute",content:'""',width:8,height:8,transform:"translate(-50%, -50%) rotate(45deg)",backgroundColor:"inherit",right:-8,top:"50%"}},"small"===t.size&&{fontSize:e.typography.pxToRem(12),padding:"0.25rem 0.5rem"}))),eu=(0,W.ZP)("span",{name:"MuiSlider",slot:"Mark",shouldForwardProp:e=>(0,W.Dz)(e)&&"markActive"!==e,overridesResolver:(e,t)=>{const{markActive:n}=e;return[t.mark,n&&t.markActive]}})((({theme:e,ownerState:t,markActive:n})=>(0,T.Z)({position:"absolute",width:2,height:2,borderRadius:1,backgroundColor:"currentColor"},"horizontal"===t.orientation&&{top:"50%",transform:"translate(-1px, -50%)"},"vertical"===t.orientation&&{left:"50%",transform:"translate(-50%, 1px)"},n&&{backgroundColor:(e.vars||e).palette.background.paper,opacity:.8}))),tu=(0,W.ZP)("span",{name:"MuiSlider",slot:"MarkLabel",shouldForwardProp:e=>(0,W.Dz)(e)&&"markLabelActive"!==e,overridesResolver:(e,t)=>t.markLabel})((({theme:e,ownerState:t,markLabelActive:n})=>(0,T.Z)({},e.typography.body2,{color:(e.vars||e).palette.text.secondary,position:"absolute",whiteSpace:"nowrap"},"horizontal"===t.orientation&&{top:30,transform:"translateX(-50%)","@media (pointer: coarse)":{top:40}},"vertical"===t.orientation&&{left:36,transform:"translateY(50%)","@media (pointer: coarse)":{left:44}},n&&{color:(e.vars||e).palette.text.primary}))),nu=({children:e})=>e,ru=Y.forwardRef((function(e,t){var n,r,o,i,a,s,l,c,u,d,p,f,h,m,v,g,y,b,w,x,k,S,C,E;const $=(0,U.Z)({props:e,name:"MuiSlider"}),M="rtl"===(0,H.Z)().direction,{"aria-label":A,"aria-valuetext":D,"aria-labelledby":L,component:N="span",components:R={},componentsProps:I={},color:P="primary",classes:Z,className:_,disableSwap:F=!1,disabled:j=!1,getAriaLabel:B,getAriaValueText:z,marks:W=!1,max:V=100,min:q=0,orientation:G="horizontal",size:K="medium",step:X=1,scale:J=Gc,slotProps:Q,slots:te,track:ne="normal",valueLabelDisplay:re="off",valueLabelFormat:oe=Gc}=$,ie=(0,O.Z)($,qc),ae=(0,T.Z)({},$,{isRtl:M,max:V,min:q,classes:Z,disabled:j,disableSwap:F,orientation:G,marks:W,color:P,size:K,step:X,scale:J,track:ne,valueLabelDisplay:re,valueLabelFormat:oe}),{axisProps:se,getRootProps:le,getHiddenInputProps:ce,getThumbProps:ue,open:de,active:pe,axis:fe,focusedThumbIndex:he,range:me,dragging:ve,marks:ge,values:ye,trackOffset:be,trackLeap:we,getThumbStyle:xe}=Hc((0,T.Z)({},ae,{rootRef:t}));ae.marked=ge.length>0&&ge.some((e=>e.label)),ae.dragging=ve,ae.focusedThumbIndex=he;const ke=(e=>{const{disabled:t,dragging:n,marked:r,orientation:o,track:i,classes:a,color:s,size:l}=e,c={root:["root",t&&"disabled",n&&"dragging",r&&"marked","vertical"===o&&"vertical","inverted"===i&&"trackInverted",!1===i&&"trackFalse",s&&`color${(0,Ct.Z)(s)}`,l&&`size${(0,Ct.Z)(l)}`],rail:["rail"],track:["track"],mark:["mark"],markActive:["markActive"],markLabel:["markLabel"],markLabelActive:["markLabelActive"],valueLabel:["valueLabel"],thumb:["thumb",t&&"disabled",l&&`thumbSize${(0,Ct.Z)(l)}`,s&&`thumbColor${(0,Ct.Z)(s)}`],active:["active"],disabled:["disabled"],focusVisible:["focusVisible"]};return(0,_e.Z)(c,Wc,a)})(ae),Se=null!=(n=null!=(r=null==te?void 0:te.root)?r:R.Root)?n:Kc,Ce=null!=(o=null!=(i=null==te?void 0:te.rail)?i:R.Rail)?o:Yc,Ee=null!=(a=null!=(s=null==te?void 0:te.track)?s:R.Track)?a:Xc,Te=null!=(l=null!=(c=null==te?void 0:te.thumb)?c:R.Thumb)?l:Jc,Oe=null!=(u=null!=(d=null==te?void 0:te.valueLabel)?d:R.ValueLabel)?u:Qc,$e=null!=(p=null!=(f=null==te?void 0:te.mark)?f:R.Mark)?p:eu,Me=null!=(h=null!=(m=null==te?void 0:te.markLabel)?m:R.MarkLabel)?h:tu,Ae=null!=(v=null!=(g=null==te?void 0:te.input)?g:R.Input)?v:"input",De=null!=(y=null==Q?void 0:Q.root)?y:I.root,Le=null!=(b=null==Q?void 0:Q.rail)?b:I.rail,Ne=null!=(w=null==Q?void 0:Q.track)?w:I.track,Re=null!=(x=null==Q?void 0:Q.thumb)?x:I.thumb,Ie=null!=(k=null==Q?void 0:Q.valueLabel)?k:I.valueLabel,Pe=null!=(S=null==Q?void 0:Q.mark)?S:I.mark,Fe=null!=(C=null==Q?void 0:Q.markLabel)?C:I.markLabel,je=null!=(E=null==Q?void 0:Q.input)?E:I.input,Be=(0,mn.y)({elementType:Se,getSlotProps:le,externalSlotProps:De,externalForwardedProps:ie,additionalProps:(0,T.Z)({},Uc(Se)&&{as:N}),ownerState:(0,T.Z)({},ae,null==De?void 0:De.ownerState),className:[ke.root,_]}),ze=(0,mn.y)({elementType:Ce,externalSlotProps:Le,ownerState:ae,className:ke.rail}),He=(0,mn.y)({elementType:Ee,externalSlotProps:Ne,additionalProps:{style:(0,T.Z)({},se[fe].offset(be),se[fe].leap(we))},ownerState:(0,T.Z)({},ae,null==Ne?void 0:Ne.ownerState),className:ke.track}),Ue=(0,mn.y)({elementType:Te,getSlotProps:ue,externalSlotProps:Re,ownerState:(0,T.Z)({},ae,null==Re?void 0:Re.ownerState),className:ke.thumb}),We=(0,mn.y)({elementType:Oe,externalSlotProps:Ie,ownerState:(0,T.Z)({},ae,null==Ie?void 0:Ie.ownerState),className:ke.valueLabel}),Ve=(0,mn.y)({elementType:$e,externalSlotProps:Pe,ownerState:ae,className:ke.mark}),qe=(0,mn.y)({elementType:Me,externalSlotProps:Fe,ownerState:ae,className:ke.markLabel}),Ge=(0,mn.y)({elementType:Ae,getSlotProps:ce,externalSlotProps:je,ownerState:ae});return(0,ee.jsxs)(Se,(0,T.Z)({},Be,{children:[(0,ee.jsx)(Ce,(0,T.Z)({},ze)),(0,ee.jsx)(Ee,(0,T.Z)({},He)),ge.filter((e=>e.value>=q&&e.value<=V)).map(((e,t)=>{const n=Rc(e.value,q,V),r=se[fe].offset(n);let o;return o=!1===ne?-1!==ye.indexOf(e.value):"normal"===ne&&(me?e.value>=ye[0]&&e.value<=ye[ye.length-1]:e.value<=ye[0])||"inverted"===ne&&(me?e.value<=ye[0]||e.value>=ye[ye.length-1]:e.value>=ye[0]),(0,ee.jsxs)(Y.Fragment,{children:[(0,ee.jsx)($e,(0,T.Z)({"data-index":t},Ve,!(0,vs.X)($e)&&{markActive:o},{style:(0,T.Z)({},r,Ve.style),className:(0,Ze.Z)(Ve.className,o&&ke.markActive)})),null!=e.label?(0,ee.jsx)(Me,(0,T.Z)({"aria-hidden":!0,"data-index":t},qe,!(0,vs.X)(Me)&&{markLabelActive:o},{style:(0,T.Z)({},r,qe.style),className:(0,Ze.Z)(ke.markLabel,qe.className,o&&ke.markLabelActive),children:e.label})):null]},t)})),ye.map(((e,t)=>{const n=Rc(e,q,V),r=se[fe].offset(n),o="off"===re?nu:Oe;return(0,ee.jsx)(o,(0,T.Z)({},!(0,vs.X)(o)&&{valueLabelFormat:oe,valueLabelDisplay:re,value:"function"==typeof oe?oe(J(e),t):oe,index:t,open:de===t||pe===t||"on"===re,disabled:j},We,{children:(0,ee.jsx)(Te,(0,T.Z)({"data-index":t},Ue,{className:(0,Ze.Z)(ke.thumb,Ue.className,pe===t&&ke.active,he===t&&ke.focusVisible),style:(0,T.Z)({},r,xe(t),Ue.style),children:(0,ee.jsx)(Ae,(0,T.Z)({"data-index":t,"aria-label":B?B(t):A,"aria-valuenow":J(e),"aria-labelledby":L,"aria-valuetext":z?z(J(e),t):D,value:ye[t]},Ge))}))}),t)}))]}))})),ou=ru;var iu=n(30437);function au(e){return(0,He.Z)("MuiSnackbarContent",e)}const su=(0,ze.Z)("MuiSnackbarContent",["root","message","action"]),lu=["action","className","message","role"],cu=(0,W.ZP)(Je.Z,{name:"MuiSnackbarContent",slot:"Root",overridesResolver:(e,t)=>t.root})((({theme:e})=>{const t="light"===e.palette.mode?.8:.98,n=(0,N._4)(e.palette.background.default,t);return(0,T.Z)({},e.typography.body2,{color:e.vars?e.vars.palette.SnackbarContent.color:e.palette.getContrastText(n),backgroundColor:e.vars?e.vars.palette.SnackbarContent.bg:n,display:"flex",alignItems:"center",flexWrap:"wrap",padding:"6px 16px",borderRadius:(e.vars||e).shape.borderRadius,flexGrow:1,[e.breakpoints.up("sm")]:{flexGrow:"initial",minWidth:288}})})),uu=(0,W.ZP)("div",{name:"MuiSnackbarContent",slot:"Message",overridesResolver:(e,t)=>t.message})({padding:"8px 0"}),du=(0,W.ZP)("div",{name:"MuiSnackbarContent",slot:"Action",overridesResolver:(e,t)=>t.action})({display:"flex",alignItems:"center",marginLeft:"auto",paddingLeft:16,marginRight:-8}),pu=Y.forwardRef((function(e,t){const n=(0,U.Z)({props:e,name:"MuiSnackbarContent"}),{action:r,className:o,message:i,role:a="alert"}=n,s=(0,O.Z)(n,lu),l=n,c=(e=>{const{classes:t}=e;return(0,_e.Z)({root:["root"],action:["action"],message:["message"]},au,t)})(l);return(0,ee.jsxs)(cu,(0,T.Z)({role:a,square:!0,elevation:6,className:(0,Ze.Z)(c.root,o),ownerState:l,ref:t},s,{children:[(0,ee.jsx)(uu,{className:c.message,ownerState:l,children:i}),r?(0,ee.jsx)(du,{className:c.action,ownerState:l,children:r}):null]}))}));function fu(e){return(0,He.Z)("MuiSnackbar",e)}const hu=(0,ze.Z)("MuiSnackbar",["root","anchorOriginTopCenter","anchorOriginBottomCenter","anchorOriginTopRight","anchorOriginBottomRight","anchorOriginTopLeft","anchorOriginBottomLeft"]),mu=["onEnter","onExited"],vu=["action","anchorOrigin","autoHideDuration","children","className","ClickAwayListenerProps","ContentProps","disableWindowBlurListener","message","onBlur","onClose","onFocus","onMouseEnter","onMouseLeave","open","resumeHideDuration","TransitionComponent","transitionDuration","TransitionProps"],gu=(0,W.ZP)("div",{name:"MuiSnackbar",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,t[`anchorOrigin${(0,Ct.Z)(n.anchorOrigin.vertical)}${(0,Ct.Z)(n.anchorOrigin.horizontal)}`]]}})((({theme:e,ownerState:t})=>(0,T.Z)({zIndex:(e.vars||e).zIndex.snackbar,position:"fixed",display:"flex",left:8,right:8,justifyContent:"center",alignItems:"center"},"top"===t.anchorOrigin.vertical?{top:8}:{bottom:8},"left"===t.anchorOrigin.horizontal&&{justifyContent:"flex-start"},"right"===t.anchorOrigin.horizontal&&{justifyContent:"flex-end"},{[e.breakpoints.up("sm")]:(0,T.Z)({},"top"===t.anchorOrigin.vertical?{top:24}:{bottom:24},"center"===t.anchorOrigin.horizontal&&{left:"50%",right:"auto",transform:"translateX(-50%)"},"left"===t.anchorOrigin.horizontal&&{left:24,right:"auto"},"right"===t.anchorOrigin.horizontal&&{right:24,left:"auto"})}))),yu=Y.forwardRef((function(e,t){const n=(0,U.Z)({props:e,name:"MuiSnackbar"}),r=(0,H.Z)(),o={enter:r.transitions.duration.enteringScreen,exit:r.transitions.duration.leavingScreen},{action:i,anchorOrigin:{vertical:a,horizontal:s}={vertical:"bottom",horizontal:"left"},autoHideDuration:l=null,children:c,className:u,ClickAwayListenerProps:d,ContentProps:p,disableWindowBlurListener:f=!1,message:h,open:m,TransitionComponent:v=Yi.Z,transitionDuration:g=o,TransitionProps:{onEnter:y,onExited:b}={}}=n,w=(0,O.Z)(n.TransitionProps,mu),x=(0,O.Z)(n,vu),k=(0,T.Z)({},n,{anchorOrigin:{vertical:a,horizontal:s},autoHideDuration:l,disableWindowBlurListener:f,TransitionComponent:v,transitionDuration:g}),S=(e=>{const{classes:t,anchorOrigin:n}=e,r={root:["root",`anchorOrigin${(0,Ct.Z)(n.vertical)}${(0,Ct.Z)(n.horizontal)}`]};return(0,_e.Z)(r,fu,t)})(k),{getRootProps:C,onClickAway:E}=function(e={}){const{autoHideDuration:t=null,disableWindowBlurListener:n=!1,onClose:r,open:o,resumeHideDuration:i}=e,a=Y.useRef();Y.useEffect((()=>{if(o)return document.addEventListener("keydown",e),()=>{document.removeEventListener("keydown",e)};function e(e){e.defaultPrevented||"Escape"!==e.key&&"Esc"!==e.key||null==r||r(e,"escapeKeyDown")}}),[o,r]);const s=(0,ro.Z)(((e,t)=>{null==r||r(e,t)})),l=(0,ro.Z)((e=>{r&&null!=e&&(clearTimeout(a.current),a.current=setTimeout((()=>{s(null,"timeout")}),e))}));Y.useEffect((()=>(o&&l(t),()=>{clearTimeout(a.current)})),[o,t,l]);const c=()=>{clearTimeout(a.current)},u=Y.useCallback((()=>{null!=t&&l(null!=i?i:.5*t)}),[t,i,l]),d=e=>t=>{const n=e.onFocus;null==n||n(t),c()},p=e=>t=>{const n=e.onMouseEnter;null==n||n(t),c()},f=e=>t=>{const n=e.onMouseLeave;null==n||n(t),u()};return Y.useEffect((()=>{if(!n&&o)return window.addEventListener("focus",u),window.addEventListener("blur",c),()=>{window.removeEventListener("focus",u),window.removeEventListener("blur",c)}}),[n,u,o]),{getRootProps:(t={})=>{const n=(0,T.Z)({},(0,iu._)(e),(0,iu._)(t));return(0,T.Z)({role:"presentation"},t,n,{onBlur:(r=n,e=>{const t=r.onBlur;null==t||t(e),u()}),onFocus:d(n),onMouseEnter:p(n),onMouseLeave:f(n)});var r},onClickAway:e=>{null==r||r(e,"clickaway")}}}((0,T.Z)({},k)),[$,M]=Y.useState(!0),A=(0,mn.y)({elementType:gu,getSlotProps:C,externalForwardedProps:x,ownerState:k,additionalProps:{ref:t},className:[S.root,u]});return!m&&$?null:(0,ee.jsx)(ao,(0,T.Z)({onClickAway:E},d,{children:(0,ee.jsx)(gu,(0,T.Z)({},A,{children:(0,ee.jsx)(v,(0,T.Z)({appear:!0,in:m,timeout:g,direction:"top"===a?"down":"up",onEnter:(e,t)=>{M(!1),y&&y(e,t)},onExited:e=>{M(!0),b&&b(e)}},w,{children:c||(0,ee.jsx)(pu,(0,T.Z)({message:h,action:i},p))}))}))}))})),bu=["addEndListener","appear","children","easing","in","onEnter","onEntered","onEntering","onExit","onExited","onExiting","style","timeout","TransitionComponent"],wu={entering:{transform:"none"},entered:{transform:"none"}},xu=Y.forwardRef((function(e,t){const n=(0,H.Z)(),r={enter:n.transitions.duration.enteringScreen,exit:n.transitions.duration.leavingScreen},{addEndListener:o,appear:i=!0,children:a,easing:s,in:l,onEnter:c,onEntered:u,onEntering:d,onExit:p,onExited:f,onExiting:h,style:m,timeout:v=r,TransitionComponent:g=Fe.ZP}=e,y=(0,O.Z)(e,bu),b=Y.useRef(null),w=(0,Be.Z)(b,a.ref,t),x=e=>t=>{if(e){const n=b.current;void 0===t?e(n):e(n,t)}},k=x(d),S=x(((e,t)=>{(0,je.n)(e);const r=(0,je.C)({style:m,timeout:v,easing:s},{mode:"enter"});e.style.webkitTransition=n.transitions.create("transform",r),e.style.transition=n.transitions.create("transform",r),c&&c(e,t)})),C=x(u),E=x(h),$=x((e=>{const t=(0,je.C)({style:m,timeout:v,easing:s},{mode:"exit"});e.style.webkitTransition=n.transitions.create("transform",t),e.style.transition=n.transitions.create("transform",t),p&&p(e)})),M=x(f);return(0,ee.jsx)(g,(0,T.Z)({appear:i,in:l,nodeRef:b,onEnter:S,onEntered:C,onEntering:k,onExit:$,onExited:M,onExiting:E,addEndListener:e=>{o&&o(b.current,e)},timeout:v},y,{children:(e,t)=>Y.cloneElement(a,(0,T.Z)({style:(0,T.Z)({transform:"scale(0)",visibility:"exited"!==e||l?void 0:"hidden"},wu[e],m,a.props.style),ref:w},t))}))}));function ku(e){return(0,He.Z)("MuiSpeedDial",e)}const Su=(0,ze.Z)("MuiSpeedDial",["root","fab","directionUp","directionDown","directionLeft","directionRight","actions","actionsClosed"]),Cu=["ref"],Eu=["ariaLabel","FabProps","children","className","direction","hidden","icon","onBlur","onClose","onFocus","onKeyDown","onMouseEnter","onMouseLeave","onOpen","open","openIcon","TransitionComponent","transitionDuration","TransitionProps"],Tu=["ref"];function Ou(e){return"up"===e||"down"===e?"vertical":"right"===e||"left"===e?"horizontal":void 0}const $u=(0,W.ZP)("div",{name:"MuiSpeedDial",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,t[`direction${(0,Ct.Z)(n.direction)}`]]}})((({theme:e,ownerState:t})=>(0,T.Z)({zIndex:(e.vars||e).zIndex.speedDial,display:"flex",alignItems:"center",pointerEvents:"none"},"up"===t.direction&&{flexDirection:"column-reverse",[`& .${Su.actions}`]:{flexDirection:"column-reverse",marginBottom:-32,paddingBottom:48}},"down"===t.direction&&{flexDirection:"column",[`& .${Su.actions}`]:{flexDirection:"column",marginTop:-32,paddingTop:48}},"left"===t.direction&&{flexDirection:"row-reverse",[`& .${Su.actions}`]:{flexDirection:"row-reverse",marginRight:-32,paddingRight:48}},"right"===t.direction&&{flexDirection:"row",[`& .${Su.actions}`]:{flexDirection:"row",marginLeft:-32,paddingLeft:48}}))),Mu=(0,W.ZP)(Xo,{name:"MuiSpeedDial",slot:"Fab",overridesResolver:(e,t)=>t.fab})((()=>({pointerEvents:"auto"}))),Au=(0,W.ZP)("div",{name:"MuiSpeedDial",slot:"Actions",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.actions,!n.open&&t.actionsClosed]}})((({ownerState:e})=>(0,T.Z)({display:"flex",pointerEvents:"auto"},!e.open&&{transition:"top 0s linear 0.2s",pointerEvents:"none"}))),Du=Y.forwardRef((function(e,t){const n=(0,U.Z)({props:e,name:"MuiSpeedDial"}),r=(0,H.Z)(),o={enter:r.transitions.duration.enteringScreen,exit:r.transitions.duration.leavingScreen},{ariaLabel:i,FabProps:{ref:a}={},children:s,className:l,direction:c="up",hidden:u=!1,icon:d,onBlur:p,onClose:f,onFocus:h,onKeyDown:m,onMouseEnter:v,onMouseLeave:g,onOpen:y,open:b,TransitionComponent:w=xu,transitionDuration:x=o,TransitionProps:k}=n,S=(0,O.Z)(n.FabProps,Cu),C=(0,O.Z)(n,Eu),[E,$]=(0,et.Z)({controlled:b,default:!1,name:"SpeedDial",state:"open"}),M=(0,T.Z)({},n,{open:E,direction:c}),A=(e=>{const{classes:t,open:n,direction:r}=e,o={root:["root",`direction${(0,Ct.Z)(r)}`],fab:["fab"],actions:["actions",!n&&"actionsClosed"]};return(0,_e.Z)(o,ku,t)})(M),D=Y.useRef();Y.useEffect((()=>()=>{clearTimeout(D.current)}),[]);const L=Y.useRef(0),N=Y.useRef(),R=Y.useRef([]);R.current=[R.current[0]];const I=Y.useCallback((e=>{R.current[0]=e}),[]),P=(0,Be.Z)(a,I),Z=(e,t)=>n=>{R.current[e+1]=n,t&&t(n)};Y.useEffect((()=>{E||(L.current=0,N.current=void 0)}),[E]);const _=e=>{"mouseleave"===e.type&&g&&g(e),"blur"===e.type&&p&&p(e),clearTimeout(D.current),"blur"===e.type?D.current=setTimeout((()=>{$(!1),f&&f(e,"blur")})):($(!1),f&&f(e,"mouseLeave"))},F=e=>{"mouseenter"===e.type&&v&&v(e),"focus"===e.type&&h&&h(e),clearTimeout(D.current),E||(D.current=setTimeout((()=>{if($(!0),y){y(e,{focus:"focus",mouseenter:"mouseEnter"}[e.type])}})))},j=i.replace(/^[^a-z]+|[^\w:.-]+/gi,""),B=Y.Children.toArray(s).filter((e=>Y.isValidElement(e))),z=B.map(((e,t)=>{const n=e.props,{FabProps:{ref:r}={},tooltipPlacement:o}=n,i=(0,O.Z)(n.FabProps,Tu),a=o||("vertical"===Ou(c)?"left":"top");return Y.cloneElement(e,{FabProps:(0,T.Z)({},i,{ref:Z(t,r)}),delay:30*(E?t:B.length-t),open:E,tooltipPlacement:a,id:`${j}-action-${t}`})}));return(0,ee.jsxs)($u,(0,T.Z)({className:(0,Ze.Z)(A.root,l),ref:t,role:"presentation",onKeyDown:e=>{m&&m(e);const t=e.key.replace("Arrow","").toLowerCase(),{current:n=t}=N;if("Escape"===e.key)return $(!1),R.current[0].focus(),void(f&&f(e,"escapeKeyDown"));if(Ou(t)===Ou(n)&&void 0!==Ou(t)){e.preventDefault();const a=t===n?1:-1,s=(r=L.current+a,o=0,i=R.current.length-1,r<o?o:r>i?i:r);R.current[s].focus(),L.current=s,N.current=n}var r,o,i},onBlur:_,onFocus:F,onMouseEnter:F,onMouseLeave:_,ownerState:M},C,{children:[(0,ee.jsx)(w,(0,T.Z)({in:!u,timeout:x,unmountOnExit:!0},k,{children:(0,ee.jsx)(Mu,(0,T.Z)({color:"primary","aria-label":i,"aria-haspopup":"true","aria-expanded":E,"aria-controls":`${j}-actions`},S,{onClick:e=>{S.onClick&&S.onClick(e),clearTimeout(D.current),E?($(!1),f&&f(e,"toggle")):($(!0),y&&y(e,"toggle"))},className:(0,Ze.Z)(A.fab,S.className),ref:P,ownerState:M,children:Y.isValidElement(d)&&(0,Ca.Z)(d,["SpeedDialIcon"])?Y.cloneElement(d,{open:E}):d}))})),(0,ee.jsx)(Au,{id:`${j}-actions`,role:"menu","aria-orientation":Ou(c),className:(0,Ze.Z)(A.actions,!E&&A.actionsClosed),ownerState:M,children:z})]}))}));var Lu=n(21023);function Nu(e){return(0,He.Z)("MuiSpeedDialAction",e)}const Ru=(0,ze.Z)("MuiSpeedDialAction",["fab","fabClosed","staticTooltip","staticTooltipClosed","staticTooltipLabel","tooltipPlacementLeft","tooltipPlacementRight"]),Iu=["className","delay","FabProps","icon","id","open","TooltipClasses","tooltipOpen","tooltipPlacement","tooltipTitle"],Pu=(0,W.ZP)(Xo,{name:"MuiSpeedDialAction",slot:"Fab",skipVariantsResolver:!1,overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.fab,!n.open&&t.fabClosed]}})((({theme:e,ownerState:t})=>(0,T.Z)({margin:8,color:(e.vars||e).palette.text.secondary,backgroundColor:(e.vars||e).palette.background.paper,"&:hover":{backgroundColor:e.vars?e.vars.palette.SpeedDialAction.fabHoverBg:(0,N._4)(e.palette.background.paper,.15)},transition:`${e.transitions.create("transform",{duration:e.transitions.duration.shorter})}, opacity 0.8s`,opacity:1},!t.open&&{opacity:0,transform:"scale(0)"}))),Zu=(0,W.ZP)("span",{name:"MuiSpeedDialAction",slot:"StaticTooltip",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.staticTooltip,!n.open&&t.staticTooltipClosed,t[`tooltipPlacement${(0,Ct.Z)(n.tooltipPlacement)}`]]}})((({theme:e,ownerState:t})=>({position:"relative",display:"flex",alignItems:"center",[`& .${Ru.staticTooltipLabel}`]:(0,T.Z)({transition:e.transitions.create(["transform","opacity"],{duration:e.transitions.duration.shorter}),opacity:1},!t.open&&{opacity:0,transform:"scale(0.5)"},"left"===t.tooltipPlacement&&{transformOrigin:"100% 50%",right:"100%",marginRight:8},"right"===t.tooltipPlacement&&{transformOrigin:"0% 50%",left:"100%",marginLeft:8})}))),_u=(0,W.ZP)("span",{name:"MuiSpeedDialAction",slot:"StaticTooltipLabel",overridesResolver:(e,t)=>t.staticTooltipLabel})((({theme:e})=>(0,T.Z)({position:"absolute"},e.typography.body1,{backgroundColor:(e.vars||e).palette.background.paper,borderRadius:(e.vars||e).shape.borderRadius,boxShadow:(e.vars||e).shadows[1],color:(e.vars||e).palette.text.secondary,padding:"4px 16px",wordBreak:"keep-all"}))),Fu=Y.forwardRef((function(e,t){const n=(0,U.Z)({props:e,name:"MuiSpeedDialAction"}),{className:r,delay:o=0,FabProps:i={},icon:a,id:s,open:l,TooltipClasses:c,tooltipOpen:u=!1,tooltipPlacement:d="left",tooltipTitle:p}=n,f=(0,O.Z)(n,Iu),h=(0,T.Z)({},n,{tooltipPlacement:d}),m=(e=>{const{open:t,tooltipPlacement:n,classes:r}=e,o={fab:["fab",!t&&"fabClosed"],staticTooltip:["staticTooltip",`tooltipPlacement${(0,Ct.Z)(n)}`,!t&&"staticTooltipClosed"],staticTooltipLabel:["staticTooltipLabel"]};return(0,_e.Z)(o,Nu,r)})(h),[v,g]=Y.useState(u),y={transitionDelay:`${o}ms`},b=(0,ee.jsx)(Pu,(0,T.Z)({size:"small",className:(0,Ze.Z)(m.fab,r),tabIndex:-1,role:"menuitem",ownerState:h},i,{style:(0,T.Z)({},y,i.style),children:a}));return u?(0,ee.jsxs)(Zu,(0,T.Z)({id:s,ref:t,className:m.staticTooltip,ownerState:h},f,{children:[(0,ee.jsx)(_u,{style:y,id:`${s}-label`,className:m.staticTooltipLabel,ownerState:h,children:p}),Y.cloneElement(b,{"aria-labelledby":`${s}-label`})]})):(!l&&v&&g(!1),(0,ee.jsx)(Lu.Z,(0,T.Z)({id:s,ref:t,title:p,placement:d,onClose:()=>{g(!1)},onOpen:()=>{g(!0)},open:l&&v,classes:c},f,{children:b})))})),ju=(0,$t.Z)((0,ee.jsx)("path",{d:"M19 13h-6v6h-2v-6H5v-2h6V5h2v6h6v2z"}),"Add");function Bu(e){return(0,He.Z)("MuiSpeedDialIcon",e)}const zu=(0,ze.Z)("MuiSpeedDialIcon",["root","icon","iconOpen","iconWithOpenIconOpen","openIcon","openIconOpen"]),Hu=["className","icon","open","openIcon"],Uu=(0,W.ZP)("span",{name:"MuiSpeedDialIcon",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[{[`& .${zu.icon}`]:t.icon},{[`& .${zu.icon}`]:n.open&&t.iconOpen},{[`& .${zu.icon}`]:n.open&&n.openIcon&&t.iconWithOpenIconOpen},{[`& .${zu.openIcon}`]:t.openIcon},{[`& .${zu.openIcon}`]:n.open&&t.openIconOpen},t.root]}})((({theme:e,ownerState:t})=>({height:24,[`& .${zu.icon}`]:(0,T.Z)({transition:e.transitions.create(["transform","opacity"],{duration:e.transitions.duration.short})},t.open&&(0,T.Z)({transform:"rotate(45deg)"},t.openIcon&&{opacity:0})),[`& .${zu.openIcon}`]:(0,T.Z)({position:"absolute",transition:e.transitions.create(["transform","opacity"],{duration:e.transitions.duration.short}),opacity:0,transform:"rotate(-45deg)"},t.open&&{transform:"rotate(0deg)",opacity:1})}))),Wu=Y.forwardRef((function(e,t){const n=(0,U.Z)({props:e,name:"MuiSpeedDialIcon"}),{className:r,icon:o,openIcon:i}=n,a=(0,O.Z)(n,Hu),s=n,l=(e=>{const{classes:t,open:n,openIcon:r}=e,o={root:["root"],icon:["icon",n&&"iconOpen",r&&n&&"iconWithOpenIconOpen"],openIcon:["openIcon",n&&"openIconOpen"]};return(0,_e.Z)(o,Bu,t)})(s);function c(e,t){return Y.isValidElement(e)?Y.cloneElement(e,{className:t}):e}return(0,ee.jsxs)(Uu,(0,T.Z)({className:(0,Ze.Z)(l.root,r),ref:t,ownerState:s},a,{children:[i?c(i,l.openIcon):null,o?c(o,l.icon):(0,ee.jsx)(ju,{className:l.icon})]}))}));Wu.muiName="SpeedDialIcon";const Vu=Wu;const qu=(0,ze.Z)("MuiStack",["root"]),Gu=Y.createContext({});function Ku(){return Y.useContext(Gu)}const Yu=Gu,Xu=Y.createContext({});function Ju(){return Y.useContext(Xu)}const Qu=Xu;function ed(e){return(0,He.Z)("MuiStep",e)}const td=(0,ze.Z)("MuiStep",["root","horizontal","vertical","alternativeLabel","completed"]),nd=["active","children","className","component","completed","disabled","expanded","index","last"],rd=(0,W.ZP)("div",{name:"MuiStep",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,t[n.orientation],n.alternativeLabel&&t.alternativeLabel,n.completed&&t.completed]}})((({ownerState:e})=>(0,T.Z)({},"horizontal"===e.orientation&&{paddingLeft:8,paddingRight:8},e.alternativeLabel&&{flex:1,position:"relative"}))),od=Y.forwardRef((function(e,t){const n=(0,U.Z)({props:e,name:"MuiStep"}),{active:r,children:o,className:i,component:a="div",completed:s,disabled:l,expanded:c=!1,index:u,last:d}=n,p=(0,O.Z)(n,nd),{activeStep:f,connector:h,alternativeLabel:m,orientation:v,nonLinear:g}=Y.useContext(Yu);let[y=!1,b=!1,w=!1]=[r,s,l];f===u?y=void 0===r||r:!g&&f>u?b=void 0===s||s:!g&&f<u&&(w=void 0===l||l);const x=Y.useMemo((()=>({index:u,last:d,expanded:c,icon:u+1,active:y,completed:b,disabled:w})),[u,d,c,y,b,w]),k=(0,T.Z)({},n,{active:y,orientation:v,alternativeLabel:m,completed:b,disabled:w,expanded:c,component:a}),S=(e=>{const{classes:t,orientation:n,alternativeLabel:r,completed:o}=e,i={root:["root",n,r&&"alternativeLabel",o&&"completed"]};return(0,_e.Z)(i,ed,t)})(k),C=(0,ee.jsxs)(rd,(0,T.Z)({as:a,className:(0,Ze.Z)(S.root,i),ref:t,ownerState:k},p,{children:[h&&m&&0!==u?h:null,o]}));return(0,ee.jsx)(Qu.Provider,{value:x,children:h&&!m&&0!==u?(0,ee.jsxs)(Y.Fragment,{children:[h,C]}):C})})),id=(0,$t.Z)((0,ee.jsx)("path",{d:"M12 0a12 12 0 1 0 0 24 12 12 0 0 0 0-24zm-2 17l-5-5 1.4-1.4 3.6 3.6 7.6-7.6L19 8l-9 9z"}),"CheckCircle"),ad=(0,$t.Z)((0,ee.jsx)("path",{d:"M1 21h22L12 2 1 21zm12-3h-2v-2h2v2zm0-4h-2v-4h2v4z"}),"Warning");var sd=n(2373);function ld(e){return(0,He.Z)("MuiStepIcon",e)}const cd=(0,ze.Z)("MuiStepIcon",["root","active","completed","error","text"]);var ud;const dd=["active","className","completed","error","icon"],pd=(0,W.ZP)(sd.Z,{name:"MuiStepIcon",slot:"Root",overridesResolver:(e,t)=>t.root})((({theme:e})=>({display:"block",transition:e.transitions.create("color",{duration:e.transitions.duration.shortest}),color:(e.vars||e).palette.text.disabled,[`&.${cd.completed}`]:{color:(e.vars||e).palette.primary.main},[`&.${cd.active}`]:{color:(e.vars||e).palette.primary.main},[`&.${cd.error}`]:{color:(e.vars||e).palette.error.main}}))),fd=(0,W.ZP)("text",{name:"MuiStepIcon",slot:"Text",overridesResolver:(e,t)=>t.text})((({theme:e})=>({fill:(e.vars||e).palette.primary.contrastText,fontSize:e.typography.caption.fontSize,fontFamily:e.typography.fontFamily}))),hd=Y.forwardRef((function(e,t){const n=(0,U.Z)({props:e,name:"MuiStepIcon"}),{active:r=!1,className:o,completed:i=!1,error:a=!1,icon:s}=n,l=(0,O.Z)(n,dd),c=(0,T.Z)({},n,{active:r,completed:i,error:a}),u=(e=>{const{classes:t,active:n,completed:r,error:o}=e,i={root:["root",n&&"active",r&&"completed",o&&"error"],text:["text"]};return(0,_e.Z)(i,ld,t)})(c);if("number"==typeof s||"string"==typeof s){const e=(0,Ze.Z)(o,u.root);return a?(0,ee.jsx)(pd,(0,T.Z)({as:ad,className:e,ref:t,ownerState:c},l)):i?(0,ee.jsx)(pd,(0,T.Z)({as:id,className:e,ref:t,ownerState:c},l)):(0,ee.jsxs)(pd,(0,T.Z)({className:e,ref:t,ownerState:c},l,{children:[ud||(ud=(0,ee.jsx)("circle",{cx:"12",cy:"12",r:"12"})),(0,ee.jsx)(fd,{className:u.text,x:"12",y:"12",textAnchor:"middle",dominantBaseline:"central",ownerState:c,children:s})]}))}return s}));function md(e){return(0,He.Z)("MuiStepLabel",e)}const vd=(0,ze.Z)("MuiStepLabel",["root","horizontal","vertical","label","active","completed","error","disabled","iconContainer","alternativeLabel","labelContainer"]),gd=["children","className","componentsProps","error","icon","optional","slotProps","StepIconComponent","StepIconProps"],yd=(0,W.ZP)("span",{name:"MuiStepLabel",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,t[n.orientation]]}})((({ownerState:e})=>(0,T.Z)({display:"flex",alignItems:"center",[`&.${vd.alternativeLabel}`]:{flexDirection:"column"},[`&.${vd.disabled}`]:{cursor:"default"}},"vertical"===e.orientation&&{textAlign:"left",padding:"8px 0"}))),bd=(0,W.ZP)("span",{name:"MuiStepLabel",slot:"Label",overridesResolver:(e,t)=>t.label})((({theme:e})=>(0,T.Z)({},e.typography.body2,{display:"block",transition:e.transitions.create("color",{duration:e.transitions.duration.shortest}),[`&.${vd.active}`]:{color:(e.vars||e).palette.text.primary,fontWeight:500},[`&.${vd.completed}`]:{color:(e.vars||e).palette.text.primary,fontWeight:500},[`&.${vd.alternativeLabel}`]:{marginTop:16},[`&.${vd.error}`]:{color:(e.vars||e).palette.error.main}}))),wd=(0,W.ZP)("span",{name:"MuiStepLabel",slot:"IconContainer",overridesResolver:(e,t)=>t.iconContainer})((()=>({flexShrink:0,display:"flex",paddingRight:8,[`&.${vd.alternativeLabel}`]:{paddingRight:0}}))),xd=(0,W.ZP)("span",{name:"MuiStepLabel",slot:"LabelContainer",overridesResolver:(e,t)=>t.labelContainer})((({theme:e})=>({width:"100%",color:(e.vars||e).palette.text.secondary,[`&.${vd.alternativeLabel}`]:{textAlign:"center"}}))),kd=Y.forwardRef((function(e,t){var n;const r=(0,U.Z)({props:e,name:"MuiStepLabel"}),{children:o,className:i,componentsProps:a={},error:s=!1,icon:l,optional:c,slotProps:u={},StepIconComponent:d,StepIconProps:p}=r,f=(0,O.Z)(r,gd),{alternativeLabel:h,orientation:m}=Y.useContext(Yu),{active:v,disabled:g,completed:y,icon:b}=Y.useContext(Qu),w=l||b;let x=d;w&&!x&&(x=hd);const k=(0,T.Z)({},r,{active:v,alternativeLabel:h,completed:y,disabled:g,error:s,orientation:m}),S=(e=>{const{classes:t,orientation:n,active:r,completed:o,error:i,disabled:a,alternativeLabel:s}=e,l={root:["root",n,i&&"error",a&&"disabled",s&&"alternativeLabel"],label:["label",r&&"active",o&&"completed",i&&"error",a&&"disabled",s&&"alternativeLabel"],iconContainer:["iconContainer",r&&"active",o&&"completed",i&&"error",a&&"disabled",s&&"alternativeLabel"],labelContainer:["labelContainer",s&&"alternativeLabel"]};return(0,_e.Z)(l,md,t)})(k),C=null!=(n=u.label)?n:a.label;return(0,ee.jsxs)(yd,(0,T.Z)({className:(0,Ze.Z)(S.root,i),ref:t,ownerState:k},f,{children:[w||x?(0,ee.jsx)(wd,{className:S.iconContainer,ownerState:k,children:(0,ee.jsx)(x,(0,T.Z)({completed:y,active:v,error:s,icon:w},p))}):null,(0,ee.jsxs)(xd,{className:S.labelContainer,ownerState:k,children:[o?(0,ee.jsx)(bd,(0,T.Z)({ownerState:k},C,{className:(0,Ze.Z)(S.label,null==C?void 0:C.className),children:o})):null,c]})]}))}));kd.muiName="StepLabel";const Sd=kd;function Cd(e){return(0,He.Z)("MuiStepButton",e)}const Ed=(0,ze.Z)("MuiStepButton",["root","horizontal","vertical","touchRipple"]),Td=["children","className","icon","optional"],Od=(0,W.ZP)(vt.Z,{name:"MuiStepButton",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[{[`& .${Ed.touchRipple}`]:t.touchRipple},t.root,t[n.orientation]]}})((({ownerState:e})=>(0,T.Z)({width:"100%",padding:"24px 16px",margin:"-24px -16px",boxSizing:"content-box"},"vertical"===e.orientation&&{justifyContent:"flex-start",padding:"8px",margin:"-8px"},{[`& .${Ed.touchRipple}`]:{color:"rgba(0, 0, 0, 0.3)"}}))),$d=Y.forwardRef((function(e,t){const n=(0,U.Z)({props:e,name:"MuiStepButton"}),{children:r,className:o,icon:i,optional:a}=n,s=(0,O.Z)(n,Td),{disabled:l,active:c}=Y.useContext(Qu),{orientation:u}=Y.useContext(Yu),d=(0,T.Z)({},n,{orientation:u}),p=(e=>{const{classes:t,orientation:n}=e,r={root:["root",n],touchRipple:["touchRipple"]};return(0,_e.Z)(r,Cd,t)})(d),f={icon:i,optional:a},h=(0,Ca.Z)(r,["StepLabel"])?Y.cloneElement(r,f):(0,ee.jsx)(Sd,(0,T.Z)({},f,{children:r}));return(0,ee.jsx)(Od,(0,T.Z)({focusRipple:!0,disabled:l,TouchRippleProps:{className:p.touchRipple},className:(0,Ze.Z)(p.root,o),ref:t,ownerState:d,"aria-current":c?"step":void 0},s,{children:h}))}));function Md(e){return(0,He.Z)("MuiStepConnector",e)}const Ad=(0,ze.Z)("MuiStepConnector",["root","horizontal","vertical","alternativeLabel","active","completed","disabled","line","lineHorizontal","lineVertical"]),Dd=["className"],Ld=(0,W.ZP)("div",{name:"MuiStepConnector",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,t[n.orientation],n.alternativeLabel&&t.alternativeLabel,n.completed&&t.completed]}})((({ownerState:e})=>(0,T.Z)({flex:"1 1 auto"},"vertical"===e.orientation&&{marginLeft:12},e.alternativeLabel&&{position:"absolute",top:12,left:"calc(-50% + 20px)",right:"calc(50% + 20px)"}))),Nd=(0,W.ZP)("span",{name:"MuiStepConnector",slot:"Line",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.line,t[`line${(0,Ct.Z)(n.orientation)}`]]}})((({ownerState:e,theme:t})=>{const n="light"===t.palette.mode?t.palette.grey[400]:t.palette.grey[600];return(0,T.Z)({display:"block",borderColor:t.vars?t.vars.palette.StepConnector.border:n},"horizontal"===e.orientation&&{borderTopStyle:"solid",borderTopWidth:1},"vertical"===e.orientation&&{borderLeftStyle:"solid",borderLeftWidth:1,minHeight:24})})),Rd=Y.forwardRef((function(e,t){const n=(0,U.Z)({props:e,name:"MuiStepConnector"}),{className:r}=n,o=(0,O.Z)(n,Dd),{alternativeLabel:i,orientation:a="horizontal"}=Y.useContext(Yu),{active:s,disabled:l,completed:c}=Y.useContext(Qu),u=(0,T.Z)({},n,{alternativeLabel:i,orientation:a,active:s,completed:c,disabled:l}),d=(e=>{const{classes:t,orientation:n,alternativeLabel:r,active:o,completed:i,disabled:a}=e,s={root:["root",n,r&&"alternativeLabel",o&&"active",i&&"completed",a&&"disabled"],line:["line",`line${(0,Ct.Z)(n)}`]};return(0,_e.Z)(s,Md,t)})(u);return(0,ee.jsx)(Ld,(0,T.Z)({className:(0,Ze.Z)(d.root,r),ref:t,ownerState:u},o,{children:(0,ee.jsx)(Nd,{className:d.line,ownerState:u})}))}));function Id(e){return(0,He.Z)("MuiStepContent",e)}const Pd=(0,ze.Z)("MuiStepContent",["root","last","transition"]),Zd=["children","className","TransitionComponent","transitionDuration","TransitionProps"],_d=(0,W.ZP)("div",{name:"MuiStepContent",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.last&&t.last]}})((({ownerState:e,theme:t})=>(0,T.Z)({marginLeft:12,paddingLeft:20,paddingRight:8,borderLeft:t.vars?`1px solid ${t.vars.palette.StepContent.border}`:`1px solid ${"light"===t.palette.mode?t.palette.grey[400]:t.palette.grey[600]}`},e.last&&{borderLeft:"none"}))),Fd=(0,W.ZP)(Xe,{name:"MuiStepContent",slot:"Transition",overridesResolver:(e,t)=>t.transition})({}),jd=Y.forwardRef((function(e,t){const n=(0,U.Z)({props:e,name:"MuiStepContent"}),{children:r,className:o,TransitionComponent:i=Xe,transitionDuration:a="auto",TransitionProps:s}=n,l=(0,O.Z)(n,Zd),{orientation:c}=Y.useContext(Yu),{active:u,last:d,expanded:p}=Y.useContext(Qu),f=(0,T.Z)({},n,{last:d}),h=(e=>{const{classes:t,last:n}=e,r={root:["root",n&&"last"],transition:["transition"]};return(0,_e.Z)(r,Id,t)})(f);let m=a;return"auto"!==a||i.muiSupportAuto||(m=void 0),(0,ee.jsx)(_d,(0,T.Z)({className:(0,Ze.Z)(h.root,o),ref:t,ownerState:f},l,{children:(0,ee.jsx)(Fd,(0,T.Z)({as:i,in:u||p,className:h.transition,ownerState:f,timeout:m,unmountOnExit:!0},s,{children:r}))}))}));function Bd(e){return(0,He.Z)("MuiStepper",e)}const zd=(0,ze.Z)("MuiStepper",["root","horizontal","vertical","alternativeLabel"]),Hd=["activeStep","alternativeLabel","children","className","component","connector","nonLinear","orientation"],Ud=(0,W.ZP)("div",{name:"MuiStepper",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,t[n.orientation],n.alternativeLabel&&t.alternativeLabel]}})((({ownerState:e})=>(0,T.Z)({display:"flex"},"horizontal"===e.orientation&&{flexDirection:"row",alignItems:"center"},"vertical"===e.orientation&&{flexDirection:"column"},e.alternativeLabel&&{alignItems:"flex-start"}))),Wd=(0,ee.jsx)(Rd,{}),Vd=Y.forwardRef((function(e,t){const n=(0,U.Z)({props:e,name:"MuiStepper"}),{activeStep:r=0,alternativeLabel:o=!1,children:i,className:a,component:s="div",connector:l=Wd,nonLinear:c=!1,orientation:u="horizontal"}=n,d=(0,O.Z)(n,Hd),p=(0,T.Z)({},n,{alternativeLabel:o,orientation:u,component:s}),f=(e=>{const{orientation:t,alternativeLabel:n,classes:r}=e,o={root:["root",t,n&&"alternativeLabel"]};return(0,_e.Z)(o,Bd,r)})(p),h=Y.Children.toArray(i).filter(Boolean),m=h.map(((e,t)=>Y.cloneElement(e,(0,T.Z)({index:t,last:t+1===h.length},e.props)))),v=Y.useMemo((()=>({activeStep:r,alternativeLabel:o,connector:l,nonLinear:c,orientation:u})),[r,o,l,c,u]);return(0,ee.jsx)(Yu.Provider,{value:v,children:(0,ee.jsx)(Ud,(0,T.Z)({as:s,ownerState:p,className:(0,Ze.Z)(f.root,a),ref:t},d,{children:m}))})}));var qd=n(62994),Gd=n(91311),Kd=n(8038),Yd=n(5340),Xd=n(2068);const Jd=["anchor","classes","className","width","style"],Qd=(0,W.ZP)("div")((({theme:e,ownerState:t})=>(0,T.Z)({position:"fixed",top:0,left:0,bottom:0,zIndex:e.zIndex.drawer-1},"left"===t.anchor&&{right:"auto"},"right"===t.anchor&&{left:"auto",right:0},"top"===t.anchor&&{bottom:"auto",right:0},"bottom"===t.anchor&&{top:"auto",bottom:0,right:0}))),ep=Y.forwardRef((function(e,t){const{anchor:n,classes:r={},className:o,width:i,style:a}=e,s=(0,O.Z)(e,Jd),l=e;return(0,ee.jsx)(Qd,(0,T.Z)({className:(0,Ze.Z)("PrivateSwipeArea-root",r.root,r[`anchor${(0,Ct.Z)(n)}`],o),ref:t,style:(0,T.Z)({[(0,Wo.wE)(n)?"width":"height"]:i},a),ownerState:l},s))})),tp=["BackdropProps"],np=["anchor","disableBackdropTransition","disableDiscovery","disableSwipeToOpen","hideBackdrop","hysteresis","allowSwipeInChildren","minFlingVelocity","ModalProps","onClose","onOpen","open","PaperProps","SwipeAreaProps","swipeAreaWidth","transitionDuration","variant"];let rp=null;function op(e,t,n){return"right"===e?n.body.offsetWidth-t[0].pageX:t[0].pageX}function ip(e,t,n){return"bottom"===e?n.innerHeight-t[0].clientY:t[0].clientY}function ap(e,t){return e?t.clientWidth:t.clientHeight}function sp(e,t,n,r){return Math.min(Math.max(n?t-e:r+t-e,0),r)}const lp="undefined"!=typeof navigator&&/iPad|iPhone|iPod/.test(navigator.userAgent),cp=Y.forwardRef((function(e,t){const n=(0,lo.Z)({name:"MuiSwipeableDrawer",props:e}),r=(0,H.Z)(),o={enter:r.transitions.duration.enteringScreen,exit:r.transitions.duration.leavingScreen},{anchor:i="left",disableBackdropTransition:a=!1,disableDiscovery:s=!1,disableSwipeToOpen:l=lp,hideBackdrop:c,hysteresis:u=.52,allowSwipeInChildren:d=!1,minFlingVelocity:p=450,ModalProps:{BackdropProps:f}={},onClose:h,onOpen:m,open:v=!1,PaperProps:g={},SwipeAreaProps:y,swipeAreaWidth:b=20,transitionDuration:w=o,variant:x="temporary"}=n,k=(0,O.Z)(n.ModalProps,tp),S=(0,O.Z)(n,np),[C,E]=Y.useState(!1),$=Y.useRef({isSwiping:null}),M=Y.useRef(),A=Y.useRef(),D=Y.useRef(),L=(0,Be.Z)(g.ref,D),N=Y.useRef(!1),R=Y.useRef();(0,Ji.Z)((()=>{R.current=null}),[v]);const I=Y.useCallback(((e,t={})=>{const{mode:n=null,changeTransition:o=!0}=t,s=(0,Wo.ni)(r,i),l=-1!==["right","bottom"].indexOf(s)?1:-1,u=(0,Wo.wE)(i),d=u?`translate(${l*e}px, 0)`:`translate(0, ${l*e}px)`,p=D.current.style;p.webkitTransform=d,p.transform=d;let f="";if(n&&(f=r.transitions.create("all",(0,je.C)({easing:void 0,style:void 0,timeout:w},{mode:n}))),o&&(p.webkitTransition=f,p.transition=f),!a&&!c){const t=A.current.style;t.opacity=1-e/ap(u,D.current),o&&(t.webkitTransition=f,t.transition=f)}}),[i,a,c,r,w]),P=(0,Xd.Z)((e=>{if(!N.current)return;if(rp=null,N.current=!1,Gd.flushSync((()=>{E(!1)})),!$.current.isSwiping)return void($.current.isSwiping=null);$.current.isSwiping=null;const t=(0,Wo.ni)(r,i),n=(0,Wo.wE)(i);let o;o=n?op(t,e.changedTouches,(0,Kd.Z)(e.currentTarget)):ip(t,e.changedTouches,(0,Yd.Z)(e.currentTarget));const a=n?$.current.startX:$.current.startY,s=ap(n,D.current),l=sp(o,a,v,s),c=l/s;Math.abs($.current.velocity)>p&&(R.current=1e3*Math.abs((s-l)/$.current.velocity)),v?$.current.velocity>p||c>u?h():I(0,{mode:"exit"}):$.current.velocity<-p||1-c>u?m():I(ap(n,D.current),{mode:"enter"})})),Z=(e=!1)=>{if(!C){!e&&s&&d||Gd.flushSync((()=>{E(!0)}));const t=(0,Wo.wE)(i);!v&&D.current&&I(ap(t,D.current)+(s?15:-20),{changeTransition:!1}),$.current.velocity=0,$.current.lastTime=null,$.current.lastTranslate=null,$.current.paperHit=!1,N.current=!0}},_=(0,Xd.Z)((e=>{if(!D.current||!N.current)return;if(null!==rp&&rp!==$.current)return;Z(!0);const t=(0,Wo.ni)(r,i),n=(0,Wo.wE)(i),o=op(t,e.touches,(0,Kd.Z)(e.currentTarget)),a=ip(t,e.touches,(0,Yd.Z)(e.currentTarget));if(v&&D.current.contains(e.target)&&null===rp){const t=function({domTreeShapes:e,start:t,current:n,anchor:r}){const o={x:"scrollLeft",y:"scrollTop"},i={x:"scrollWidth",y:"scrollHeight"},a={x:"clientWidth",y:"clientHeight"};return e.some((e=>{let s=n>=t;"top"!==r&&"left"!==r||(s=!s);const l="left"===r||"right"===r?"x":"y",c=Math.round(e[o[l]]),u=c>0,d=c+e[a[l]]<e[i[l]];return!!(s&&d||!s&&u)}))}({domTreeShapes:function(e,t){const n=[];for(;e&&e!==t.parentElement;){const r=(0,Yd.Z)(t).getComputedStyle(e);"absolute"===r.getPropertyValue("position")||"hidden"===r.getPropertyValue("overflow-x")||(e.clientWidth>0&&e.scrollWidth>e.clientWidth||e.clientHeight>0&&e.scrollHeight>e.clientHeight)&&n.push(e),e=e.parentElement}return n}(e.target,D.current),start:n?$.current.startX:$.current.startY,current:n?o:a,anchor:i});if(t)return void(rp=!0);rp=$.current}if(null==$.current.isSwiping){const t=Math.abs(o-$.current.startX),r=Math.abs(a-$.current.startY),i=n?t>r&&t>3:r>t&&r>3;if(i&&e.cancelable&&e.preventDefault(),!0===i||(n?r>3:t>3)){if($.current.isSwiping=i,!i)return void P(e);$.current.startX=o,$.current.startY=a,s||v||(n?$.current.startX-=20:$.current.startY-=20)}}if(!$.current.isSwiping)return;const l=ap(n,D.current);let c=n?$.current.startX:$.current.startY;v&&!$.current.paperHit&&(c=Math.min(c,l));const u=sp(n?o:a,c,v,l);if(v)if($.current.paperHit)0===u&&($.current.startX=o,$.current.startY=a);else{if(!(n?o<l:a<l))return;$.current.paperHit=!0,$.current.startX=o,$.current.startY=a}null===$.current.lastTranslate&&($.current.lastTranslate=u,$.current.lastTime=performance.now()+1);const d=(u-$.current.lastTranslate)/(performance.now()-$.current.lastTime)*1e3;$.current.velocity=.4*$.current.velocity+.6*d,$.current.lastTranslate=u,$.current.lastTime=performance.now(),e.cancelable&&e.preventDefault(),I(u)})),F=(0,Xd.Z)((e=>{if(e.defaultPrevented)return;if(e.defaultMuiPrevented)return;if(v&&(c||!A.current.contains(e.target))&&!D.current.contains(e.target))return;const t=(0,Wo.ni)(r,i),n=(0,Wo.wE)(i),o=op(t,e.touches,(0,Kd.Z)(e.currentTarget)),a=ip(t,e.touches,(0,Yd.Z)(e.currentTarget));if(!v){var s;if(l||!(e.target===M.current||null!=(s=D.current)&&s.contains(e.target)&&("function"==typeof d?d(e,M.current,D.current):d)))return;if(n){if(o>b)return}else if(a>b)return}e.defaultMuiPrevented=!0,rp=null,$.current.startX=o,$.current.startY=a,Z()}));return Y.useEffect((()=>{if("temporary"===x){const e=(0,Kd.Z)(D.current);return e.addEventListener("touchstart",F),e.addEventListener("touchmove",_,{passive:!v}),e.addEventListener("touchend",P),()=>{e.removeEventListener("touchstart",F),e.removeEventListener("touchmove",_,{passive:!v}),e.removeEventListener("touchend",P)}}}),[x,v,F,_,P]),Y.useEffect((()=>()=>{rp===$.current&&(rp=null)}),[]),Y.useEffect((()=>{v||E(!1)}),[v]),(0,ee.jsxs)(Y.Fragment,{children:[(0,ee.jsx)(Wo.ZP,(0,T.Z)({open:!("temporary"!==x||!C)||v,variant:x,ModalProps:(0,T.Z)({BackdropProps:(0,T.Z)({},f,{ref:A})},"temporary"===x&&{keepMounted:!0},k),hideBackdrop:c,PaperProps:(0,T.Z)({},g,{style:(0,T.Z)({pointerEvents:"temporary"!==x||v||d?"":"none"},g.style),ref:L}),anchor:i,transitionDuration:R.current||w,onClose:h,ref:t},S)),!l&&"temporary"===x&&(0,ee.jsx)(wl,{children:(0,ee.jsx)(ep,(0,T.Z)({anchor:i,ref:M,width:b},y))})]})}));function up(e){return(0,He.Z)("MuiSwitch",e)}const dp=(0,ze.Z)("MuiSwitch",["root","edgeStart","edgeEnd","switchBase","colorPrimary","colorSecondary","sizeSmall","sizeMedium","checked","disabled","input","thumb","track"]),pp=["className","color","edge","size","sx"],fp=(0,W.ZP)("span",{name:"MuiSwitch",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.edge&&t[`edge${(0,Ct.Z)(n.edge)}`],t[`size${(0,Ct.Z)(n.size)}`]]}})((({ownerState:e})=>(0,T.Z)({display:"inline-flex",width:58,height:38,overflow:"hidden",padding:12,boxSizing:"border-box",position:"relative",flexShrink:0,zIndex:0,verticalAlign:"middle","@media print":{colorAdjust:"exact"}},"start"===e.edge&&{marginLeft:-8},"end"===e.edge&&{marginRight:-8},"small"===e.size&&{width:40,height:24,padding:7,[`& .${dp.thumb}`]:{width:16,height:16},[`& .${dp.switchBase}`]:{padding:4,[`&.${dp.checked}`]:{transform:"translateX(16px)"}}}))),hp=(0,W.ZP)(jr,{name:"MuiSwitch",slot:"SwitchBase",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.switchBase,{[`& .${dp.input}`]:t.input},"default"!==n.color&&t[`color${(0,Ct.Z)(n.color)}`]]}})((({theme:e})=>({position:"absolute",top:0,left:0,zIndex:1,color:e.vars?e.vars.palette.Switch.defaultColor:`${"light"===e.palette.mode?e.palette.common.white:e.palette.grey[300]}`,transition:e.transitions.create(["left","transform"],{duration:e.transitions.duration.shortest}),[`&.${dp.checked}`]:{transform:"translateX(20px)"},[`&.${dp.disabled}`]:{color:e.vars?e.vars.palette.Switch.defaultDisabledColor:`${"light"===e.palette.mode?e.palette.grey[100]:e.palette.grey[600]}`},[`&.${dp.checked} + .${dp.track}`]:{opacity:.5},[`&.${dp.disabled} + .${dp.track}`]:{opacity:e.vars?e.vars.opacity.switchTrackDisabled:""+("light"===e.palette.mode?.12:.2)},[`& .${dp.input}`]:{left:"-100%",width:"300%"}})),(({theme:e,ownerState:t})=>(0,T.Z)({"&:hover":{backgroundColor:e.vars?`rgba(${e.vars.palette.action.activeChannel} / ${e.vars.palette.action.hoverOpacity})`:(0,N.Fq)(e.palette.action.active,e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}}},"default"!==t.color&&{[`&.${dp.checked}`]:{color:(e.vars||e).palette[t.color].main,"&:hover":{backgroundColor:e.vars?`rgba(${e.vars.palette[t.color].mainChannel} / ${e.vars.palette.action.hoverOpacity})`:(0,N.Fq)(e.palette[t.color].main,e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}},[`&.${dp.disabled}`]:{color:e.vars?e.vars.palette.Switch[`${t.color}DisabledColor`]:`${"light"===e.palette.mode?(0,N.$n)(e.palette[t.color].main,.62):(0,N._j)(e.palette[t.color].main,.55)}`}},[`&.${dp.checked} + .${dp.track}`]:{backgroundColor:(e.vars||e).palette[t.color].main}}))),mp=(0,W.ZP)("span",{name:"MuiSwitch",slot:"Track",overridesResolver:(e,t)=>t.track})((({theme:e})=>({height:"100%",width:"100%",borderRadius:7,zIndex:-1,transition:e.transitions.create(["opacity","background-color"],{duration:e.transitions.duration.shortest}),backgroundColor:e.vars?e.vars.palette.common.onBackground:`${"light"===e.palette.mode?e.palette.common.black:e.palette.common.white}`,opacity:e.vars?e.vars.opacity.switchTrack:""+("light"===e.palette.mode?.38:.3)}))),vp=(0,W.ZP)("span",{name:"MuiSwitch",slot:"Thumb",overridesResolver:(e,t)=>t.thumb})((({theme:e})=>({boxShadow:(e.vars||e).shadows[1],backgroundColor:"currentColor",width:20,height:20,borderRadius:"50%"}))),gp=Y.forwardRef((function(e,t){const n=(0,U.Z)({props:e,name:"MuiSwitch"}),{className:r,color:o="primary",edge:i=!1,size:a="medium",sx:s}=n,l=(0,O.Z)(n,pp),c=(0,T.Z)({},n,{color:o,edge:i,size:a}),u=(e=>{const{classes:t,edge:n,size:r,color:o,checked:i,disabled:a}=e,s={root:["root",n&&`edge${(0,Ct.Z)(n)}`,`size${(0,Ct.Z)(r)}`],switchBase:["switchBase",`color${(0,Ct.Z)(o)}`,i&&"checked",a&&"disabled"],thumb:["thumb"],track:["track"],input:["input"]},l=(0,_e.Z)(s,up,t);return(0,T.Z)({},t,l)})(c),d=(0,ee.jsx)(vp,{className:u.thumb,ownerState:c});return(0,ee.jsxs)(fp,{className:(0,Ze.Z)(u.root,r),sx:s,ownerState:c,children:[(0,ee.jsx)(hp,(0,T.Z)({type:"checkbox",icon:d,checkedIcon:d,ref:t,ownerState:c},l,{classes:(0,T.Z)({},u,{root:u.switchBase})})),(0,ee.jsx)(mp,{className:u.track,ownerState:c})]})}));function yp(e){return(0,He.Z)("MuiTab",e)}const bp=(0,ze.Z)("MuiTab",["root","labelIcon","textColorInherit","textColorPrimary","textColorSecondary","selected","disabled","fullWidth","wrapped","iconWrapper"]),wp=["className","disabled","disableFocusRipple","fullWidth","icon","iconPosition","indicator","label","onChange","onClick","onFocus","selected","selectionFollowsFocus","textColor","value","wrapped"],xp=(0,W.ZP)(vt.Z,{name:"MuiTab",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.label&&n.icon&&t.labelIcon,t[`textColor${(0,Ct.Z)(n.textColor)}`],n.fullWidth&&t.fullWidth,n.wrapped&&t.wrapped]}})((({theme:e,ownerState:t})=>(0,T.Z)({},e.typography.button,{maxWidth:360,minWidth:90,position:"relative",minHeight:48,flexShrink:0,padding:"12px 16px",overflow:"hidden",whiteSpace:"normal",textAlign:"center"},t.label&&{flexDirection:"top"===t.iconPosition||"bottom"===t.iconPosition?"column":"row"},{lineHeight:1.25},t.icon&&t.label&&{minHeight:72,paddingTop:9,paddingBottom:9,[`& > .${bp.iconWrapper}`]:(0,T.Z)({},"top"===t.iconPosition&&{marginBottom:6},"bottom"===t.iconPosition&&{marginTop:6},"start"===t.iconPosition&&{marginRight:e.spacing(1)},"end"===t.iconPosition&&{marginLeft:e.spacing(1)})},"inherit"===t.textColor&&{color:"inherit",opacity:.6,[`&.${bp.selected}`]:{opacity:1},[`&.${bp.disabled}`]:{opacity:(e.vars||e).palette.action.disabledOpacity}},"primary"===t.textColor&&{color:(e.vars||e).palette.text.secondary,[`&.${bp.selected}`]:{color:(e.vars||e).palette.primary.main},[`&.${bp.disabled}`]:{color:(e.vars||e).palette.text.disabled}},"secondary"===t.textColor&&{color:(e.vars||e).palette.text.secondary,[`&.${bp.selected}`]:{color:(e.vars||e).palette.secondary.main},[`&.${bp.disabled}`]:{color:(e.vars||e).palette.text.disabled}},t.fullWidth&&{flexShrink:1,flexGrow:1,flexBasis:0,maxWidth:"none"},t.wrapped&&{fontSize:e.typography.pxToRem(12)}))),kp=Y.forwardRef((function(e,t){const n=(0,U.Z)({props:e,name:"MuiTab"}),{className:r,disabled:o=!1,disableFocusRipple:i=!1,fullWidth:a,icon:s,iconPosition:l="top",indicator:c,label:u,onChange:d,onClick:p,onFocus:f,selected:h,selectionFollowsFocus:m,textColor:v="inherit",value:g,wrapped:y=!1}=n,b=(0,O.Z)(n,wp),w=(0,T.Z)({},n,{disabled:o,disableFocusRipple:i,selected:h,icon:!!s,iconPosition:l,label:!!u,fullWidth:a,textColor:v,wrapped:y}),x=(e=>{const{classes:t,textColor:n,fullWidth:r,wrapped:o,icon:i,label:a,selected:s,disabled:l}=e,c={root:["root",i&&a&&"labelIcon",`textColor${(0,Ct.Z)(n)}`,r&&"fullWidth",o&&"wrapped",s&&"selected",l&&"disabled"],iconWrapper:["iconWrapper"]};return(0,_e.Z)(c,yp,t)})(w),k=s&&u&&Y.isValidElement(s)?Y.cloneElement(s,{className:(0,Ze.Z)(x.iconWrapper,s.props.className)}):s;return(0,ee.jsxs)(xp,(0,T.Z)({focusRipple:!i,className:(0,Ze.Z)(x.root,r),ref:t,role:"tab","aria-selected":h,disabled:o,onClick:e=>{!h&&d&&d(e,g),p&&p(e)},onFocus:e=>{m&&!h&&d&&d(e,g),f&&f(e)},ownerState:w,tabIndex:h?0:-1},b,{children:["top"===l||"start"===l?(0,ee.jsxs)(Y.Fragment,{children:[k,u]}):(0,ee.jsxs)(Y.Fragment,{children:[u,k]}),c]}))}));const Sp=Y.createContext();function Cp(e){return(0,He.Z)("MuiTable",e)}const Ep=(0,ze.Z)("MuiTable",["root","stickyHeader"]),Tp=["className","component","padding","size","stickyHeader"],Op=(0,W.ZP)("table",{name:"MuiTable",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.stickyHeader&&t.stickyHeader]}})((({theme:e,ownerState:t})=>(0,T.Z)({display:"table",width:"100%",borderCollapse:"collapse",borderSpacing:0,"& caption":(0,T.Z)({},e.typography.body2,{padding:e.spacing(2),color:(e.vars||e).palette.text.secondary,textAlign:"left",captionSide:"bottom"})},t.stickyHeader&&{borderCollapse:"separate"}))),$p="table",Mp=Y.forwardRef((function(e,t){const n=(0,U.Z)({props:e,name:"MuiTable"}),{className:r,component:o=$p,padding:i="normal",size:a="medium",stickyHeader:s=!1}=n,l=(0,O.Z)(n,Tp),c=(0,T.Z)({},n,{component:o,padding:i,size:a,stickyHeader:s}),u=(e=>{const{classes:t,stickyHeader:n}=e,r={root:["root",n&&"stickyHeader"]};return(0,_e.Z)(r,Cp,t)})(c),d=Y.useMemo((()=>({padding:i,size:a,stickyHeader:s})),[i,a,s]);return(0,ee.jsx)(Sp.Provider,{value:d,children:(0,ee.jsx)(Op,(0,T.Z)({as:o,role:o===$p?null:"table",ref:t,className:(0,Ze.Z)(u.root,r),ownerState:c},l))})}));const Ap=Y.createContext();function Dp(e){return(0,He.Z)("MuiTableBody",e)}const Lp=(0,ze.Z)("MuiTableBody",["root"]),Np=["className","component"],Rp=(0,W.ZP)("tbody",{name:"MuiTableBody",slot:"Root",overridesResolver:(e,t)=>t.root})({display:"table-row-group"}),Ip={variant:"body"},Pp="tbody",Zp=Y.forwardRef((function(e,t){const n=(0,U.Z)({props:e,name:"MuiTableBody"}),{className:r,component:o=Pp}=n,i=(0,O.Z)(n,Np),a=(0,T.Z)({},n,{component:o}),s=(e=>{const{classes:t}=e;return(0,_e.Z)({root:["root"]},Dp,t)})(a);return(0,ee.jsx)(Ap.Provider,{value:Ip,children:(0,ee.jsx)(Rp,(0,T.Z)({className:(0,Ze.Z)(s.root,r),as:o,ref:t,role:o===Pp?null:"rowgroup",ownerState:a},i))})}));function _p(e){return(0,He.Z)("MuiTableCell",e)}const Fp=(0,ze.Z)("MuiTableCell",["root","head","body","footer","sizeSmall","sizeMedium","paddingCheckbox","paddingNone","alignLeft","alignCenter","alignRight","alignJustify","stickyHeader"]),jp=["align","className","component","padding","scope","size","sortDirection","variant"],Bp=(0,W.ZP)("td",{name:"MuiTableCell",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,t[n.variant],t[`size${(0,Ct.Z)(n.size)}`],"normal"!==n.padding&&t[`padding${(0,Ct.Z)(n.padding)}`],"inherit"!==n.align&&t[`align${(0,Ct.Z)(n.align)}`],n.stickyHeader&&t.stickyHeader]}})((({theme:e,ownerState:t})=>(0,T.Z)({},e.typography.body2,{display:"table-cell",verticalAlign:"inherit",borderBottom:e.vars?`1px solid ${e.vars.palette.TableCell.border}`:`1px solid\n ${"light"===e.palette.mode?(0,N.$n)((0,N.Fq)(e.palette.divider,1),.88):(0,N._j)((0,N.Fq)(e.palette.divider,1),.68)}`,textAlign:"left",padding:16},"head"===t.variant&&{color:(e.vars||e).palette.text.primary,lineHeight:e.typography.pxToRem(24),fontWeight:e.typography.fontWeightMedium},"body"===t.variant&&{color:(e.vars||e).palette.text.primary},"footer"===t.variant&&{color:(e.vars||e).palette.text.secondary,lineHeight:e.typography.pxToRem(21),fontSize:e.typography.pxToRem(12)},"small"===t.size&&{padding:"6px 16px",[`&.${Fp.paddingCheckbox}`]:{width:24,padding:"0 12px 0 16px","& > *":{padding:0}}},"checkbox"===t.padding&&{width:48,padding:"0 0 0 4px"},"none"===t.padding&&{padding:0},"left"===t.align&&{textAlign:"left"},"center"===t.align&&{textAlign:"center"},"right"===t.align&&{textAlign:"right",flexDirection:"row-reverse"},"justify"===t.align&&{textAlign:"justify"},t.stickyHeader&&{position:"sticky",top:0,zIndex:2,backgroundColor:(e.vars||e).palette.background.default}))),zp=Y.forwardRef((function(e,t){const n=(0,U.Z)({props:e,name:"MuiTableCell"}),{align:r="inherit",className:o,component:i,padding:a,scope:s,size:l,sortDirection:c,variant:u}=n,d=(0,O.Z)(n,jp),p=Y.useContext(Sp),f=Y.useContext(Ap),h=f&&"head"===f.variant;let m;m=i||(h?"th":"td");let v=s;"td"===m?v=void 0:!v&&h&&(v="col");const g=u||f&&f.variant,y=(0,T.Z)({},n,{align:r,component:m,padding:a||(p&&p.padding?p.padding:"normal"),size:l||(p&&p.size?p.size:"medium"),sortDirection:c,stickyHeader:"head"===g&&p&&p.stickyHeader,variant:g}),b=(e=>{const{classes:t,variant:n,align:r,padding:o,size:i,stickyHeader:a}=e,s={root:["root",n,a&&"stickyHeader","inherit"!==r&&`align${(0,Ct.Z)(r)}`,"normal"!==o&&`padding${(0,Ct.Z)(o)}`,`size${(0,Ct.Z)(i)}`]};return(0,_e.Z)(s,_p,t)})(y);let w=null;return c&&(w="asc"===c?"ascending":"descending"),(0,ee.jsx)(Bp,(0,T.Z)({as:m,ref:t,className:(0,Ze.Z)(b.root,o),"aria-sort":w,scope:v,ownerState:y},d))})),Hp=zp;function Up(e){return(0,He.Z)("MuiTableContainer",e)}const Wp=(0,ze.Z)("MuiTableContainer",["root"]),Vp=["className","component"],qp=(0,W.ZP)("div",{name:"MuiTableContainer",slot:"Root",overridesResolver:(e,t)=>t.root})({width:"100%",overflowX:"auto"}),Gp=Y.forwardRef((function(e,t){const n=(0,U.Z)({props:e,name:"MuiTableContainer"}),{className:r,component:o="div"}=n,i=(0,O.Z)(n,Vp),a=(0,T.Z)({},n,{component:o}),s=(e=>{const{classes:t}=e;return(0,_e.Z)({root:["root"]},Up,t)})(a);return(0,ee.jsx)(qp,(0,T.Z)({ref:t,as:o,className:(0,Ze.Z)(s.root,r),ownerState:a},i))}));function Kp(e){return(0,He.Z)("MuiTableFooter",e)}const Yp=(0,ze.Z)("MuiTableFooter",["root"]),Xp=["className","component"],Jp=(0,W.ZP)("tfoot",{name:"MuiTableFooter",slot:"Root",overridesResolver:(e,t)=>t.root})({display:"table-footer-group"}),Qp={variant:"footer"},ef="tfoot",tf=Y.forwardRef((function(e,t){const n=(0,U.Z)({props:e,name:"MuiTableFooter"}),{className:r,component:o=ef}=n,i=(0,O.Z)(n,Xp),a=(0,T.Z)({},n,{component:o}),s=(e=>{const{classes:t}=e;return(0,_e.Z)({root:["root"]},Kp,t)})(a);return(0,ee.jsx)(Ap.Provider,{value:Qp,children:(0,ee.jsx)(Jp,(0,T.Z)({as:o,className:(0,Ze.Z)(s.root,r),ref:t,role:o===ef?null:"rowgroup",ownerState:a},i))})}));function nf(e){return(0,He.Z)("MuiTableHead",e)}const rf=(0,ze.Z)("MuiTableHead",["root"]),of=["className","component"],af=(0,W.ZP)("thead",{name:"MuiTableHead",slot:"Root",overridesResolver:(e,t)=>t.root})({display:"table-header-group"}),sf={variant:"head"},lf="thead",cf=Y.forwardRef((function(e,t){const n=(0,U.Z)({props:e,name:"MuiTableHead"}),{className:r,component:o=lf}=n,i=(0,O.Z)(n,of),a=(0,T.Z)({},n,{component:o}),s=(e=>{const{classes:t}=e;return(0,_e.Z)({root:["root"]},nf,t)})(a);return(0,ee.jsx)(Ap.Provider,{value:sf,children:(0,ee.jsx)(af,(0,T.Z)({as:o,className:(0,Ze.Z)(s.root,r),ref:t,role:o===lf?null:"rowgroup",ownerState:a},i))})}));function uf(e){return(0,He.Z)("MuiToolbar",e)}const df=(0,ze.Z)("MuiToolbar",["root","gutters","regular","dense"]),pf=["className","component","disableGutters","variant"],ff=(0,W.ZP)("div",{name:"MuiToolbar",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,!n.disableGutters&&t.gutters,t[n.variant]]}})((({theme:e,ownerState:t})=>(0,T.Z)({position:"relative",display:"flex",alignItems:"center"},!t.disableGutters&&{paddingLeft:e.spacing(2),paddingRight:e.spacing(2),[e.breakpoints.up("sm")]:{paddingLeft:e.spacing(3),paddingRight:e.spacing(3)}},"dense"===t.variant&&{minHeight:48})),(({theme:e,ownerState:t})=>"regular"===t.variant&&e.mixins.toolbar)),hf=Y.forwardRef((function(e,t){const n=(0,U.Z)({props:e,name:"MuiToolbar"}),{className:r,component:o="div",disableGutters:i=!1,variant:a="regular"}=n,s=(0,O.Z)(n,pf),l=(0,T.Z)({},n,{component:o,disableGutters:i,variant:a}),c=(e=>{const{classes:t,disableGutters:n,variant:r}=e,o={root:["root",!n&&"gutters",r]};return(0,_e.Z)(o,uf,t)})(l);return(0,ee.jsx)(ff,(0,T.Z)({as:o,className:(0,Ze.Z)(c.root,r),ref:t,ownerState:l},s))})),mf=(0,$t.Z)((0,ee.jsx)("path",{d:"M15.41 16.09l-4.58-4.59 4.58-4.59L14 5.5l-6 6 6 6z"}),"KeyboardArrowLeft"),vf=(0,$t.Z)((0,ee.jsx)("path",{d:"M8.59 16.34l4.58-4.59-4.58-4.59L10 5.75l6 6-6 6z"}),"KeyboardArrowRight");var gf,yf,bf,wf,xf,kf,Sf,Cf;const Ef=["backIconButtonProps","count","getItemAriaLabel","nextIconButtonProps","onPageChange","page","rowsPerPage","showFirstButton","showLastButton"],Tf=Y.forwardRef((function(e,t){const{backIconButtonProps:n,count:r,getItemAriaLabel:o,nextIconButtonProps:i,onPageChange:a,page:s,rowsPerPage:l,showFirstButton:c,showLastButton:u}=e,d=(0,O.Z)(e,Ef),p=(0,H.Z)();return(0,ee.jsxs)("div",(0,T.Z)({ref:t},d,{children:[c&&(0,ee.jsx)(Ot.Z,{onClick:e=>{a(e,0)},disabled:0===s,"aria-label":o("first",s),title:o("first",s),children:"rtl"===p.direction?gf||(gf=(0,ee.jsx)(Dl,{})):yf||(yf=(0,ee.jsx)(Al,{}))}),(0,ee.jsx)(Ot.Z,(0,T.Z)({onClick:e=>{a(e,s-1)},disabled:0===s,color:"inherit","aria-label":o("previous",s),title:o("previous",s)},n,{children:"rtl"===p.direction?bf||(bf=(0,ee.jsx)(vf,{})):wf||(wf=(0,ee.jsx)(mf,{}))})),(0,ee.jsx)(Ot.Z,(0,T.Z)({onClick:e=>{a(e,s+1)},disabled:-1!==r&&s>=Math.ceil(r/l)-1,color:"inherit","aria-label":o("next",s),title:o("next",s)},i,{children:"rtl"===p.direction?xf||(xf=(0,ee.jsx)(mf,{})):kf||(kf=(0,ee.jsx)(vf,{}))})),u&&(0,ee.jsx)(Ot.Z,{onClick:e=>{a(e,Math.max(0,Math.ceil(r/l)-1))},disabled:s>=Math.ceil(r/l)-1,"aria-label":o("last",s),title:o("last",s),children:"rtl"===p.direction?Sf||(Sf=(0,ee.jsx)(Al,{})):Cf||(Cf=(0,ee.jsx)(Dl,{}))})]}))}));function Of(e){return(0,He.Z)("MuiTablePagination",e)}const $f=(0,ze.Z)("MuiTablePagination",["root","toolbar","spacer","selectLabel","selectRoot","select","selectIcon","input","menuItem","displayedRows","actions"]);var Mf;const Af=["ActionsComponent","backIconButtonProps","className","colSpan","component","count","getItemAriaLabel","labelDisplayedRows","labelRowsPerPage","nextIconButtonProps","onPageChange","onRowsPerPageChange","page","rowsPerPage","rowsPerPageOptions","SelectProps","showFirstButton","showLastButton"],Df=(0,W.ZP)(Hp,{name:"MuiTablePagination",slot:"Root",overridesResolver:(e,t)=>t.root})((({theme:e})=>({overflow:"auto",color:(e.vars||e).palette.text.primary,fontSize:e.typography.pxToRem(14),"&:last-child":{padding:0}}))),Lf=(0,W.ZP)(hf,{name:"MuiTablePagination",slot:"Toolbar",overridesResolver:(e,t)=>(0,T.Z)({[`& .${$f.actions}`]:t.actions},t.toolbar)})((({theme:e})=>({minHeight:52,paddingRight:2,[`${e.breakpoints.up("xs")} and (orientation: landscape)`]:{minHeight:52},[e.breakpoints.up("sm")]:{minHeight:52,paddingRight:2},[`& .${$f.actions}`]:{flexShrink:0,marginLeft:20}}))),Nf=(0,W.ZP)("div",{name:"MuiTablePagination",slot:"Spacer",overridesResolver:(e,t)=>t.spacer})({flex:"1 1 100%"}),Rf=(0,W.ZP)("p",{name:"MuiTablePagination",slot:"SelectLabel",overridesResolver:(e,t)=>t.selectLabel})((({theme:e})=>(0,T.Z)({},e.typography.body2,{flexShrink:0}))),If=(0,W.ZP)(Sc.Z,{name:"MuiTablePagination",slot:"Select",overridesResolver:(e,t)=>(0,T.Z)({[`& .${$f.selectIcon}`]:t.selectIcon,[`& .${$f.select}`]:t.select},t.input,t.selectRoot)})({color:"inherit",fontSize:"inherit",flexShrink:0,marginRight:32,marginLeft:8,[`& .${$f.select}`]:{paddingLeft:8,paddingRight:24,textAlign:"right",textAlignLast:"right"}}),Pf=(0,W.ZP)(Xs.Z,{name:"MuiTablePagination",slot:"MenuItem",overridesResolver:(e,t)=>t.menuItem})({}),Zf=(0,W.ZP)("p",{name:"MuiTablePagination",slot:"DisplayedRows",overridesResolver:(e,t)=>t.displayedRows})((({theme:e})=>(0,T.Z)({},e.typography.body2,{flexShrink:0})));function _f({from:e,to:t,count:n}){return`${e}–${t} of ${-1!==n?n:`more than ${t}`}`}function Ff(e){return`Go to ${e} page`}const jf=Y.forwardRef((function(e,t){const n=(0,U.Z)({props:e,name:"MuiTablePagination"}),{ActionsComponent:r=Tf,backIconButtonProps:o,className:i,colSpan:a,component:s=Hp,count:l,getItemAriaLabel:c=Ff,labelDisplayedRows:u=_f,labelRowsPerPage:d="Rows per page:",nextIconButtonProps:p,onPageChange:f,onRowsPerPageChange:h,page:m,rowsPerPage:v,rowsPerPageOptions:g=[10,25,50,100],SelectProps:y={},showFirstButton:b=!1,showLastButton:w=!1}=n,x=(0,O.Z)(n,Af),k=n,S=(e=>{const{classes:t}=e;return(0,_e.Z)({root:["root"],toolbar:["toolbar"],spacer:["spacer"],selectLabel:["selectLabel"],select:["select"],input:["input"],selectIcon:["selectIcon"],menuItem:["menuItem"],displayedRows:["displayedRows"],actions:["actions"]},Of,t)})(k),C=y.native?"option":Pf;let E;s!==Hp&&"td"!==s||(E=a||1e3);const $=(0,fc.Z)(y.id),M=(0,fc.Z)(y.labelId);return(0,ee.jsx)(Df,(0,T.Z)({colSpan:E,ref:t,as:s,ownerState:k,className:(0,Ze.Z)(S.root,i)},x,{children:(0,ee.jsxs)(Lf,{className:S.toolbar,children:[(0,ee.jsx)(Nf,{className:S.spacer}),g.length>1&&(0,ee.jsx)(Rf,{className:S.selectLabel,id:M,children:d}),g.length>1&&(0,ee.jsx)(If,(0,T.Z)({variant:"standard"},!y.variant&&{input:Mf||(Mf=(0,ee.jsx)(Ha.ZP,{}))},{value:v,onChange:h,id:$,labelId:M},y,{classes:(0,T.Z)({},y.classes,{root:(0,Ze.Z)(S.input,S.selectRoot,(y.classes||{}).root),select:(0,Ze.Z)(S.select,(y.classes||{}).select),icon:(0,Ze.Z)(S.selectIcon,(y.classes||{}).icon)}),children:g.map((e=>(0,Y.createElement)(C,(0,T.Z)({},!(0,vs.X)(C)&&{ownerState:k},{className:S.menuItem,key:e.label?e.label:e,value:e.value?e.value:e}),e.label?e.label:e)))})),(0,ee.jsx)(Zf,{className:S.displayedRows,children:u({from:0===l?0:m*v+1,to:-1===l?(m+1)*v:-1===v?l:Math.min(l,(m+1)*v),count:-1===l?-1:l,page:m})}),(0,ee.jsx)(r,{className:S.actions,backIconButtonProps:o,count:l,nextIconButtonProps:p,onPageChange:f,page:m,rowsPerPage:v,showFirstButton:b,showLastButton:w,getItemAriaLabel:c})]})}))}));function Bf(e){return(0,He.Z)("MuiTableRow",e)}const zf=(0,ze.Z)("MuiTableRow",["root","selected","hover","head","footer"]),Hf=["className","component","hover","selected"],Uf=(0,W.ZP)("tr",{name:"MuiTableRow",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.head&&t.head,n.footer&&t.footer]}})((({theme:e})=>({color:"inherit",display:"table-row",verticalAlign:"middle",outline:0,[`&.${zf.hover}:hover`]:{backgroundColor:(e.vars||e).palette.action.hover},[`&.${zf.selected}`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / ${e.vars.palette.action.selectedOpacity})`:(0,N.Fq)(e.palette.primary.main,e.palette.action.selectedOpacity),"&:hover":{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / calc(${e.vars.palette.action.selectedOpacity} + ${e.vars.palette.action.hoverOpacity}))`:(0,N.Fq)(e.palette.primary.main,e.palette.action.selectedOpacity+e.palette.action.hoverOpacity)}}}))),Wf="tr",Vf=Y.forwardRef((function(e,t){const n=(0,U.Z)({props:e,name:"MuiTableRow"}),{className:r,component:o=Wf,hover:i=!1,selected:a=!1}=n,s=(0,O.Z)(n,Hf),l=Y.useContext(Ap),c=(0,T.Z)({},n,{component:o,hover:i,selected:a,head:l&&"head"===l.variant,footer:l&&"footer"===l.variant}),u=(e=>{const{classes:t,selected:n,hover:r,head:o,footer:i}=e,a={root:["root",n&&"selected",r&&"hover",o&&"head",i&&"footer"]};return(0,_e.Z)(a,Bf,t)})(c);return(0,ee.jsx)(Uf,(0,T.Z)({as:o,ref:t,className:(0,Ze.Z)(u.root,r),role:o===Wf?null:"row",ownerState:c},s))})),qf=Vf,Gf=(0,$t.Z)((0,ee.jsx)("path",{d:"M20 12l-1.41-1.41L13 16.17V4h-2v12.17l-5.58-5.59L4 12l8 8 8-8z"}),"ArrowDownward");function Kf(e){return(0,He.Z)("MuiTableSortLabel",e)}const Yf=(0,ze.Z)("MuiTableSortLabel",["root","active","icon","iconDirectionDesc","iconDirectionAsc"]),Xf=["active","children","className","direction","hideSortIcon","IconComponent"],Jf=(0,W.ZP)(vt.Z,{name:"MuiTableSortLabel",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.active&&t.active]}})((({theme:e})=>({cursor:"pointer",display:"inline-flex",justifyContent:"flex-start",flexDirection:"inherit",alignItems:"center","&:focus":{color:(e.vars||e).palette.text.secondary},"&:hover":{color:(e.vars||e).palette.text.secondary,[`& .${Yf.icon}`]:{opacity:.5}},[`&.${Yf.active}`]:{color:(e.vars||e).palette.text.primary,[`& .${Yf.icon}`]:{opacity:1,color:(e.vars||e).palette.text.secondary}}}))),Qf=(0,W.ZP)("span",{name:"MuiTableSortLabel",slot:"Icon",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.icon,t[`iconDirection${(0,Ct.Z)(n.direction)}`]]}})((({theme:e,ownerState:t})=>(0,T.Z)({fontSize:18,marginRight:4,marginLeft:4,opacity:0,transition:e.transitions.create(["opacity","transform"],{duration:e.transitions.duration.shorter}),userSelect:"none"},"desc"===t.direction&&{transform:"rotate(0deg)"},"asc"===t.direction&&{transform:"rotate(180deg)"}))),eh=Y.forwardRef((function(e,t){const n=(0,U.Z)({props:e,name:"MuiTableSortLabel"}),{active:r=!1,children:o,className:i,direction:a="asc",hideSortIcon:s=!1,IconComponent:l=Gf}=n,c=(0,O.Z)(n,Xf),u=(0,T.Z)({},n,{active:r,direction:a,hideSortIcon:s,IconComponent:l}),d=(e=>{const{classes:t,direction:n,active:r}=e,o={root:["root",r&&"active"],icon:["icon",`iconDirection${(0,Ct.Z)(n)}`]};return(0,_e.Z)(o,Kf,t)})(u);return(0,ee.jsxs)(Jf,(0,T.Z)({className:(0,Ze.Z)(d.root,i),component:"span",disableRipple:!0,ownerState:u,ref:t},c,{children:[o,s&&!r?null:(0,ee.jsx)(Qf,{as:l,className:(0,Ze.Z)(d.icon),ownerState:u})]}))}));var th=n(57144);let nh;function rh(){if(nh)return nh;const e=document.createElement("div"),t=document.createElement("div");return t.style.width="10px",t.style.height="1px",e.appendChild(t),e.dir="rtl",e.style.fontSize="14px",e.style.width="4px",e.style.height="1px",e.style.position="absolute",e.style.top="-1000px",e.style.overflow="scroll",document.body.appendChild(e),nh="reverse",e.scrollLeft>0?nh="default":(e.scrollLeft=1,0===e.scrollLeft&&(nh="negative")),document.body.removeChild(e),nh}function oh(e,t){const n=e.scrollLeft;if("rtl"!==t)return n;switch(rh()){case"negative":return e.scrollWidth-e.clientWidth+n;case"reverse":return e.scrollWidth-e.clientWidth-n;default:return n}}function ih(e){return(1+Math.sin(Math.PI*e-Math.PI/2))/2}const ah=["onChange"],sh={width:99,height:99,position:"absolute",top:-9999,overflow:"scroll"};function lh(e){return(0,He.Z)("MuiTabScrollButton",e)}const ch=(0,ze.Z)("MuiTabScrollButton",["root","vertical","horizontal","disabled"]),uh=["className","slots","slotProps","direction","orientation","disabled"],dh=(0,W.ZP)(vt.Z,{name:"MuiTabScrollButton",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.orientation&&t[n.orientation]]}})((({ownerState:e})=>(0,T.Z)({width:40,flexShrink:0,opacity:.8,[`&.${ch.disabled}`]:{opacity:0}},"vertical"===e.orientation&&{width:"100%",height:40,"& svg":{transform:`rotate(${e.isRtl?-90:90}deg)`}}))),ph=Y.forwardRef((function(e,t){var n,r;const o=(0,U.Z)({props:e,name:"MuiTabScrollButton"}),{className:i,slots:a={},slotProps:s={},direction:l}=o,c=(0,O.Z)(o,uh),u="rtl"===(0,H.Z)().direction,d=(0,T.Z)({isRtl:u},o),p=(e=>{const{classes:t,orientation:n,disabled:r}=e,o={root:["root",n,r&&"disabled"]};return(0,_e.Z)(o,lh,t)})(d),f=null!=(n=a.StartScrollButtonIcon)?n:mf,h=null!=(r=a.EndScrollButtonIcon)?r:vf,m=(0,mn.y)({elementType:f,externalSlotProps:s.startScrollButtonIcon,additionalProps:{fontSize:"small"},ownerState:d}),v=(0,mn.y)({elementType:h,externalSlotProps:s.endScrollButtonIcon,additionalProps:{fontSize:"small"},ownerState:d});return(0,ee.jsx)(dh,(0,T.Z)({component:"div",className:(0,Ze.Z)(p.root,i),ref:t,role:null,ownerState:d,tabIndex:null},c,{children:"left"===l?(0,ee.jsx)(f,(0,T.Z)({},m)):(0,ee.jsx)(h,(0,T.Z)({},v))}))}));function fh(e){return(0,He.Z)("MuiTabs",e)}const hh=(0,ze.Z)("MuiTabs",["root","vertical","flexContainer","flexContainerVertical","centered","scroller","fixed","scrollableX","scrollableY","hideScrollbar","scrollButtons","scrollButtonsHideMobile","indicator"]),mh=["aria-label","aria-labelledby","action","centered","children","className","component","allowScrollButtonsMobile","indicatorColor","onChange","orientation","ScrollButtonComponent","scrollButtons","selectionFollowsFocus","slots","slotProps","TabIndicatorProps","TabScrollButtonProps","textColor","value","variant","visibleScrollbar"],vh=(e,t)=>e===t?e.firstChild:t&&t.nextElementSibling?t.nextElementSibling:e.firstChild,gh=(e,t)=>e===t?e.lastChild:t&&t.previousElementSibling?t.previousElementSibling:e.lastChild,yh=(e,t,n)=>{let r=!1,o=n(e,t);for(;o;){if(o===e.firstChild){if(r)return;r=!0}const t=o.disabled||"true"===o.getAttribute("aria-disabled");if(o.hasAttribute("tabindex")&&!t)return void o.focus();o=n(e,o)}},bh=(0,W.ZP)("div",{name:"MuiTabs",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[{[`& .${hh.scrollButtons}`]:t.scrollButtons},{[`& .${hh.scrollButtons}`]:n.scrollButtonsHideMobile&&t.scrollButtonsHideMobile},t.root,n.vertical&&t.vertical]}})((({ownerState:e,theme:t})=>(0,T.Z)({overflow:"hidden",minHeight:48,WebkitOverflowScrolling:"touch",display:"flex"},e.vertical&&{flexDirection:"column"},e.scrollButtonsHideMobile&&{[`& .${hh.scrollButtons}`]:{[t.breakpoints.down("sm")]:{display:"none"}}}))),wh=(0,W.ZP)("div",{name:"MuiTabs",slot:"Scroller",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.scroller,n.fixed&&t.fixed,n.hideScrollbar&&t.hideScrollbar,n.scrollableX&&t.scrollableX,n.scrollableY&&t.scrollableY]}})((({ownerState:e})=>(0,T.Z)({position:"relative",display:"inline-block",flex:"1 1 auto",whiteSpace:"nowrap"},e.fixed&&{overflowX:"hidden",width:"100%"},e.hideScrollbar&&{scrollbarWidth:"none","&::-webkit-scrollbar":{display:"none"}},e.scrollableX&&{overflowX:"auto",overflowY:"hidden"},e.scrollableY&&{overflowY:"auto",overflowX:"hidden"}))),xh=(0,W.ZP)("div",{name:"MuiTabs",slot:"FlexContainer",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.flexContainer,n.vertical&&t.flexContainerVertical,n.centered&&t.centered]}})((({ownerState:e})=>(0,T.Z)({display:"flex"},e.vertical&&{flexDirection:"column"},e.centered&&{justifyContent:"center"}))),kh=(0,W.ZP)("span",{name:"MuiTabs",slot:"Indicator",overridesResolver:(e,t)=>t.indicator})((({ownerState:e,theme:t})=>(0,T.Z)({position:"absolute",height:2,bottom:0,width:"100%",transition:t.transitions.create()},"primary"===e.indicatorColor&&{backgroundColor:(t.vars||t).palette.primary.main},"secondary"===e.indicatorColor&&{backgroundColor:(t.vars||t).palette.secondary.main},e.vertical&&{height:"100%",width:2,right:0}))),Sh=(0,W.ZP)((function(e){const{onChange:t}=e,n=(0,O.Z)(e,ah),r=Y.useRef(),o=Y.useRef(null),i=()=>{r.current=o.current.offsetHeight-o.current.clientHeight};return(0,Ji.Z)((()=>{const e=(0,th.Z)((()=>{const e=r.current;i(),e!==r.current&&t(r.current)})),n=(0,Yd.Z)(o.current);return n.addEventListener("resize",e),()=>{e.clear(),n.removeEventListener("resize",e)}}),[t]),Y.useEffect((()=>{i(),t(r.current)}),[t]),(0,ee.jsx)("div",(0,T.Z)({style:sh,ref:o},n))}))({overflowX:"auto",overflowY:"hidden",scrollbarWidth:"none","&::-webkit-scrollbar":{display:"none"}}),Ch={};const Eh=Y.forwardRef((function(e,t){const n=(0,U.Z)({props:e,name:"MuiTabs"}),r=(0,H.Z)(),o="rtl"===r.direction,{"aria-label":i,"aria-labelledby":a,action:s,centered:l=!1,children:c,className:u,component:d="div",allowScrollButtonsMobile:p=!1,indicatorColor:f="primary",onChange:h,orientation:m="horizontal",ScrollButtonComponent:v=ph,scrollButtons:g="auto",selectionFollowsFocus:y,slots:b={},slotProps:w={},TabIndicatorProps:x={},TabScrollButtonProps:k={},textColor:S="primary",value:C,variant:E="standard",visibleScrollbar:$=!1}=n,M=(0,O.Z)(n,mh),A="scrollable"===E,D="vertical"===m,L=D?"scrollTop":"scrollLeft",N=D?"top":"left",R=D?"bottom":"right",I=D?"clientHeight":"clientWidth",P=D?"height":"width",Z=(0,T.Z)({},n,{component:d,allowScrollButtonsMobile:p,indicatorColor:f,orientation:m,vertical:D,scrollButtons:g,textColor:S,variant:E,visibleScrollbar:$,fixed:!A,hideScrollbar:A&&!$,scrollableX:A&&!D,scrollableY:A&&D,centered:l&&!A,scrollButtonsHideMobile:!p}),_=(e=>{const{vertical:t,fixed:n,hideScrollbar:r,scrollableX:o,scrollableY:i,centered:a,scrollButtonsHideMobile:s,classes:l}=e,c={root:["root",t&&"vertical"],scroller:["scroller",n&&"fixed",r&&"hideScrollbar",o&&"scrollableX",i&&"scrollableY"],flexContainer:["flexContainer",t&&"flexContainerVertical",a&&"centered"],indicator:["indicator"],scrollButtons:["scrollButtons",s&&"scrollButtonsHideMobile"],scrollableX:[o&&"scrollableX"],hideScrollbar:[r&&"hideScrollbar"]};return(0,_e.Z)(c,fh,l)})(Z),F=(0,mn.y)({elementType:b.StartScrollButtonIcon,externalSlotProps:w.startScrollButtonIcon,ownerState:Z}),j=(0,mn.y)({elementType:b.EndScrollButtonIcon,externalSlotProps:w.endScrollButtonIcon,ownerState:Z});const[B,z]=Y.useState(!1),[W,V]=Y.useState(Ch),[q,G]=Y.useState(!1),[K,X]=Y.useState(!1),[J,Q]=Y.useState(!1),[te,ne]=Y.useState({overflow:"hidden",scrollbarWidth:0}),re=new Map,oe=Y.useRef(null),ie=Y.useRef(null),ae=()=>{const e=oe.current;let t,n;if(e){const n=e.getBoundingClientRect();t={clientWidth:e.clientWidth,scrollLeft:e.scrollLeft,scrollTop:e.scrollTop,scrollLeftNormalized:oh(e,r.direction),scrollWidth:e.scrollWidth,top:n.top,bottom:n.bottom,left:n.left,right:n.right}}if(e&&!1!==C){const e=ie.current.children;if(e.length>0){const t=e[re.get(C)];0,n=t?t.getBoundingClientRect():null}}return{tabsMeta:t,tabMeta:n}},se=(0,Xd.Z)((()=>{const{tabsMeta:e,tabMeta:t}=ae();let n,r=0;if(D)n="top",t&&e&&(r=t.top-e.top+e.scrollTop);else if(n=o?"right":"left",t&&e){const i=o?e.scrollLeftNormalized+e.clientWidth-e.scrollWidth:e.scrollLeft;r=(o?-1:1)*(t[n]-e[n]+i)}const i={[n]:r,[P]:t?t[P]:0};if(isNaN(W[n])||isNaN(W[P]))V(i);else{const e=Math.abs(W[n]-i[n]),t=Math.abs(W[P]-i[P]);(e>=1||t>=1)&&V(i)}})),le=(e,{animation:t=!0}={})=>{t?function(e,t,n,r={},o=(()=>{})){const{ease:i=ih,duration:a=300}=r;let s=null;const l=t[e];let c=!1;const u=()=>{c=!0},d=r=>{if(c)return void o(new Error("Animation cancelled"));null===s&&(s=r);const u=Math.min(1,(r-s)/a);t[e]=i(u)*(n-l)+l,u>=1?requestAnimationFrame((()=>{o(null)})):requestAnimationFrame(d)};l===n?o(new Error("Element already at target position")):requestAnimationFrame(d)}(L,oe.current,e,{duration:r.transitions.duration.standard}):oe.current[L]=e},ce=e=>{let t=oe.current[L];D?t+=e:(t+=e*(o?-1:1),t*=o&&"reverse"===rh()?-1:1),le(t)},ue=()=>{const e=oe.current[I];let t=0;const n=Array.from(ie.current.children);for(let r=0;r<n.length;r+=1){const o=n[r];if(t+o[I]>e){0===r&&(t=e);break}t+=o[I]}return t},de=()=>{ce(-1*ue())},pe=()=>{ce(ue())},fe=Y.useCallback((e=>{ne({overflow:null,scrollbarWidth:e})}),[]),he=(0,Xd.Z)((e=>{const{tabsMeta:t,tabMeta:n}=ae();if(n&&t)if(n[N]<t[N]){const r=t[L]+(n[N]-t[N]);le(r,{animation:e})}else if(n[R]>t[R]){const r=t[L]+(n[R]-t[R]);le(r,{animation:e})}})),me=(0,Xd.Z)((()=>{A&&!1!==g&&Q(!J)}));Y.useEffect((()=>{const e=(0,th.Z)((()=>{oe.current&&se()})),t=(0,Yd.Z)(oe.current);let n;return t.addEventListener("resize",e),"undefined"!=typeof ResizeObserver&&(n=new ResizeObserver(e),Array.from(ie.current.children).forEach((e=>{n.observe(e)}))),()=>{e.clear(),t.removeEventListener("resize",e),n&&n.disconnect()}}),[se]),Y.useEffect((()=>{const e=Array.from(ie.current.children),t=e.length;if("undefined"!=typeof IntersectionObserver&&t>0&&A&&!1!==g){const n=e[0],r=e[t-1],o={root:oe.current,threshold:.99},i=new IntersectionObserver((e=>{G(!e[0].isIntersecting)}),o);i.observe(n);const a=new IntersectionObserver((e=>{X(!e[0].isIntersecting)}),o);return a.observe(r),()=>{i.disconnect(),a.disconnect()}}}),[A,g,J,null==c?void 0:c.length]),Y.useEffect((()=>{z(!0)}),[]),Y.useEffect((()=>{se()})),Y.useEffect((()=>{he(Ch!==W)}),[he,W]),Y.useImperativeHandle(s,(()=>({updateIndicator:se,updateScrollButtons:me})),[se,me]);const ve=(0,ee.jsx)(kh,(0,T.Z)({},x,{className:(0,Ze.Z)(_.indicator,x.className),ownerState:Z,style:(0,T.Z)({},W,x.style)}));let ge=0;const ye=Y.Children.map(c,(e=>{if(!Y.isValidElement(e))return null;const t=void 0===e.props.value?ge:e.props.value;re.set(t,ge);const n=t===C;return ge+=1,Y.cloneElement(e,(0,T.Z)({fullWidth:"fullWidth"===E,indicator:n&&!B&&ve,selected:n,selectionFollowsFocus:y,onChange:h,textColor:S,value:t},1!==ge||!1!==C||e.props.tabIndex?{}:{tabIndex:0}))})),be=(()=>{const e={};e.scrollbarSizeListener=A?(0,ee.jsx)(Sh,{onChange:fe,className:(0,Ze.Z)(_.scrollableX,_.hideScrollbar)}):null;const t=A&&("auto"===g&&(q||K)||!0===g);return e.scrollButtonStart=t?(0,ee.jsx)(v,(0,T.Z)({slots:{StartScrollButtonIcon:b.StartScrollButtonIcon},slotProps:{startScrollButtonIcon:F},orientation:m,direction:o?"right":"left",onClick:de,disabled:!q},k,{className:(0,Ze.Z)(_.scrollButtons,k.className)})):null,e.scrollButtonEnd=t?(0,ee.jsx)(v,(0,T.Z)({slots:{EndScrollButtonIcon:b.EndScrollButtonIcon},slotProps:{endScrollButtonIcon:j},orientation:m,direction:o?"left":"right",onClick:pe,disabled:!K},k,{className:(0,Ze.Z)(_.scrollButtons,k.className)})):null,e})();return(0,ee.jsxs)(bh,(0,T.Z)({className:(0,Ze.Z)(_.root,u),ownerState:Z,ref:t,as:d},M,{children:[be.scrollButtonStart,be.scrollbarSizeListener,(0,ee.jsxs)(wh,{className:_.scroller,ownerState:Z,style:{overflow:te.overflow,[D?"margin"+(o?"Left":"Right"):"marginBottom"]:$?void 0:-te.scrollbarWidth},ref:oe,children:[(0,ee.jsx)(xh,{"aria-label":i,"aria-labelledby":a,"aria-orientation":"vertical"===m?"vertical":null,className:_.flexContainer,ownerState:Z,onKeyDown:e=>{const t=ie.current,n=(0,Kd.Z)(t).activeElement;if("tab"!==n.getAttribute("role"))return;let r="horizontal"===m?"ArrowLeft":"ArrowUp",i="horizontal"===m?"ArrowRight":"ArrowDown";switch("horizontal"===m&&o&&(r="ArrowRight",i="ArrowLeft"),e.key){case r:e.preventDefault(),yh(t,n,gh);break;case i:e.preventDefault(),yh(t,n,vh);break;case"Home":e.preventDefault(),yh(t,null,vh);break;case"End":e.preventDefault(),yh(t,null,gh)}},ref:ie,role:"tablist",children:ye}),B&&ve]}),be.scrollButtonEnd]}))}));var Th=n(22715),Oh=n(58275),$h=n(37598);function Mh(e){return(0,He.Z)("MuiToggleButton",e)}const Ah=(0,ze.Z)("MuiToggleButton",["root","disabled","selected","standard","primary","secondary","sizeSmall","sizeMedium","sizeLarge"]),Dh=["children","className","color","disabled","disableFocusRipple","fullWidth","onChange","onClick","selected","size","value"],Lh=(0,W.ZP)(vt.Z,{name:"MuiToggleButton",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,t[`size${(0,Ct.Z)(n.size)}`]]}})((({theme:e,ownerState:t})=>{let n,r="standard"===t.color?e.palette.text.primary:e.palette[t.color].main;return e.vars&&(r="standard"===t.color?e.vars.palette.text.primary:e.vars.palette[t.color].main,n="standard"===t.color?e.vars.palette.text.primaryChannel:e.vars.palette[t.color].mainChannel),(0,T.Z)({},e.typography.button,{borderRadius:(e.vars||e).shape.borderRadius,padding:11,border:`1px solid ${(e.vars||e).palette.divider}`,color:(e.vars||e).palette.action.active},t.fullWidth&&{width:"100%"},{[`&.${Ah.disabled}`]:{color:(e.vars||e).palette.action.disabled,border:`1px solid ${(e.vars||e).palette.action.disabledBackground}`},"&:hover":{textDecoration:"none",backgroundColor:e.vars?`rgba(${e.vars.palette.text.primaryChannel} / ${e.vars.palette.action.hoverOpacity})`:(0,N.Fq)(e.palette.text.primary,e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}},[`&.${Ah.selected}`]:{color:r,backgroundColor:e.vars?`rgba(${n} / ${e.vars.palette.action.selectedOpacity})`:(0,N.Fq)(r,e.palette.action.selectedOpacity),"&:hover":{backgroundColor:e.vars?`rgba(${n} / calc(${e.vars.palette.action.selectedOpacity} + ${e.vars.palette.action.hoverOpacity}))`:(0,N.Fq)(r,e.palette.action.selectedOpacity+e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:e.vars?`rgba(${n} / ${e.vars.palette.action.selectedOpacity})`:(0,N.Fq)(r,e.palette.action.selectedOpacity)}}}},"small"===t.size&&{padding:7,fontSize:e.typography.pxToRem(13)},"large"===t.size&&{padding:15,fontSize:e.typography.pxToRem(15)})})),Nh=Y.forwardRef((function(e,t){const n=(0,U.Z)({props:e,name:"MuiToggleButton"}),{children:r,className:o,color:i="standard",disabled:a=!1,disableFocusRipple:s=!1,fullWidth:l=!1,onChange:c,onClick:u,selected:d,size:p="medium",value:f}=n,h=(0,O.Z)(n,Dh),m=(0,T.Z)({},n,{color:i,disabled:a,disableFocusRipple:s,fullWidth:l,size:p}),v=(e=>{const{classes:t,fullWidth:n,selected:r,disabled:o,size:i,color:a}=e,s={root:["root",r&&"selected",o&&"disabled",n&&"fullWidth",`size${(0,Ct.Z)(i)}`,a]};return(0,_e.Z)(s,Mh,t)})(m);return(0,ee.jsx)(Lh,(0,T.Z)({className:(0,Ze.Z)(v.root,o),disabled:a,focusRipple:!s,ref:t,onClick:e=>{u&&(u(e,f),e.defaultPrevented)||c&&c(e,f)},onChange:c,value:f,ownerState:m,"aria-pressed":d},h,{children:r}))}));function Rh(e,t){return void 0!==t&&void 0!==e&&(Array.isArray(t)?t.indexOf(e)>=0:e===t)}function Ih(e){return(0,He.Z)("MuiToggleButtonGroup",e)}const Ph=(0,ze.Z)("MuiToggleButtonGroup",["root","selected","vertical","disabled","grouped","groupedHorizontal","groupedVertical"]),Zh=["children","className","color","disabled","exclusive","fullWidth","onChange","orientation","size","value"],_h=(0,W.ZP)("div",{name:"MuiToggleButtonGroup",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[{[`& .${Ph.grouped}`]:t.grouped},{[`& .${Ph.grouped}`]:t[`grouped${(0,Ct.Z)(n.orientation)}`]},t.root,"vertical"===n.orientation&&t.vertical,n.fullWidth&&t.fullWidth]}})((({ownerState:e,theme:t})=>(0,T.Z)({display:"inline-flex",borderRadius:(t.vars||t).shape.borderRadius},"vertical"===e.orientation&&{flexDirection:"column"},e.fullWidth&&{width:"100%"},{[`& .${Ph.grouped}`]:(0,T.Z)({},"horizontal"===e.orientation?{"&:not(:first-of-type)":{marginLeft:-1,borderLeft:"1px solid transparent",borderTopLeftRadius:0,borderBottomLeftRadius:0},"&:not(:last-of-type)":{borderTopRightRadius:0,borderBottomRightRadius:0},[`&.${Ph.selected} + .${Ph.grouped}.${Ph.selected}`]:{borderLeft:0,marginLeft:0}}:{"&:not(:first-of-type)":{marginTop:-1,borderTop:"1px solid transparent",borderTopLeftRadius:0,borderTopRightRadius:0},"&:not(:last-of-type)":{borderBottomLeftRadius:0,borderBottomRightRadius:0},[`&.${Ph.selected} + .${Ph.grouped}.${Ph.selected}`]:{borderTop:0,marginTop:0}})}))),Fh=Y.forwardRef((function(e,t){const n=(0,U.Z)({props:e,name:"MuiToggleButtonGroup"}),{children:r,className:o,color:i="standard",disabled:a=!1,exclusive:s=!1,fullWidth:l=!1,onChange:c,orientation:u="horizontal",size:d="medium",value:p}=n,f=(0,O.Z)(n,Zh),h=(0,T.Z)({},n,{disabled:a,fullWidth:l,orientation:u,size:d}),m=(e=>{const{classes:t,orientation:n,fullWidth:r,disabled:o}=e,i={root:["root","vertical"===n&&"vertical",r&&"fullWidth"],grouped:["grouped",`grouped${(0,Ct.Z)(n)}`,o&&"disabled"]};return(0,_e.Z)(i,Ih,t)})(h),v=(e,t)=>{if(!c)return;const n=p&&p.indexOf(t);let r;p&&n>=0?(r=p.slice(),r.splice(n,1)):r=p?p.concat(t):[t],c(e,r)},g=(e,t)=>{c&&c(e,p===t?null:t)};return(0,ee.jsx)(_h,(0,T.Z)({role:"group",className:(0,Ze.Z)(m.root,o),ref:t,ownerState:h},f,{children:Y.Children.map(r,(e=>Y.isValidElement(e)?Y.cloneElement(e,{className:(0,Ze.Z)(m.grouped,e.props.className),onChange:s?g:v,selected:void 0===e.props.selected?Rh(e.props.value,p):e.props.selected,size:e.props.size||d,fullWidth:l,color:e.props.color||i,disabled:e.props.disabled||a}):null))}))}));var jh=n(48999),Bh=n(50716);const zh=["getTrigger","target"];function Hh(e,t){const{disableHysteresis:n=!1,threshold:r=100,target:o}=t,i=e.current;return o&&(e.current=void 0!==o.pageYOffset?o.pageYOffset:o.scrollTop),!(!n&&void 0!==i&&e.current<i)&&e.current>r}const Uh="undefined"!=typeof window?window:null;function Wh(e={}){const{getTrigger:t=Hh,target:n=Uh}=e,r=(0,O.Z)(e,zh),o=Y.useRef(),[i,a]=Y.useState((()=>t(o,r)));return Y.useEffect((()=>{const e=()=>{a(t(o,(0,T.Z)({target:n},r)))};return e(),n.addEventListener("scroll",e,{passive:!0}),()=>{n.removeEventListener("scroll",e,{passive:!0})}}),[n,t,JSON.stringify(r)]),i}var Vh=n(75260),qh=n(54697);let Gh;function Kh(e){const{injectFirst:t,children:n}=e;return t&&Gh?(0,ee.jsx)(Vh.C,{value:Gh,children:n}):n}"object"==typeof document&&(Gh=(0,qh.Z)({key:"css",prepend:!0}));var Yh=n(93470)},60224:(e,t,n)=>{"use strict";n.d(t,{Z:()=>i});n(74570);var r=n(82066),o=n(85893);const i=(0,r.Z)((0,o.jsx)("path",{d:"M7 10l5 5 5-5z"}),"ArrowDropDown")},34484:(e,t,n)=>{"use strict";n.d(t,{Z:()=>i});n(74570);var r=n(82066),o=n(85893);const i=(0,r.Z)((0,o.jsx)("path",{d:"M19 6.41L17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12z"}),"Close")},5218:(e,t,n)=>{"use strict";n.d(t,{Z:()=>i});n(74570);var r=n(82066),o=n(85893);const i=(0,r.Z)((0,o.jsx)("path",{d:"M12 12c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm0 2c-2.67 0-8 1.34-8 4v2h16v-2c0-2.66-5.33-4-8-4z"}),"Person")},22233:(e,t,n)=>{"use strict";n.d(t,{Z:()=>c});var r=n(87462),o=n(63366),i=(n(74570),n(61817)),a=n(10606),s=n(85893);const l=["theme"];function c(e){let{theme:t}=e,n=(0,o.Z)(e,l);const c=t[a.Z];return(0,s.jsx)(i.Z,(0,r.Z)({},n,{themeId:c?a.Z:void 0,theme:c||t}))}},15584:(e,t,n)=>{"use strict";n.d(t,{Z:()=>o});var r=n(87462);function o(e,t){return(0,r.Z)({toolbar:{minHeight:56,[e.up("xs")]:{"@media (orientation: landscape)":{minHeight:48}},[e.up("sm")]:{minHeight:64}}},t)}},57625:(e,t,n)=>{"use strict";n.d(t,{ZP:()=>w});var r=n(87462),o=n(63366),i=n(71387),a=n(59766),s=n(41796),l=n(16115),c=n(47036),u=n(94518),d=n(60265),p=n(55137),f=n(6949),h=n(5621),m=n(13486);const v=["mode","contrastThreshold","tonalOffset"],g={text:{primary:"rgba(0, 0, 0, 0.87)",secondary:"rgba(0, 0, 0, 0.6)",disabled:"rgba(0, 0, 0, 0.38)"},divider:"rgba(0, 0, 0, 0.12)",background:{paper:l.Z.white,default:l.Z.white},action:{active:"rgba(0, 0, 0, 0.54)",hover:"rgba(0, 0, 0, 0.04)",hoverOpacity:.04,selected:"rgba(0, 0, 0, 0.08)",selectedOpacity:.08,disabled:"rgba(0, 0, 0, 0.26)",disabledBackground:"rgba(0, 0, 0, 0.12)",disabledOpacity:.38,focus:"rgba(0, 0, 0, 0.12)",focusOpacity:.12,activatedOpacity:.12}},y={text:{primary:l.Z.white,secondary:"rgba(255, 255, 255, 0.7)",disabled:"rgba(255, 255, 255, 0.5)",icon:"rgba(255, 255, 255, 0.5)"},divider:"rgba(255, 255, 255, 0.12)",background:{paper:"#121212",default:"#121212"},action:{active:l.Z.white,hover:"rgba(255, 255, 255, 0.08)",hoverOpacity:.08,selected:"rgba(255, 255, 255, 0.16)",selectedOpacity:.16,disabled:"rgba(255, 255, 255, 0.3)",disabledBackground:"rgba(255, 255, 255, 0.12)",disabledOpacity:.38,focus:"rgba(255, 255, 255, 0.12)",focusOpacity:.12,activatedOpacity:.24}};function b(e,t,n,r){const o=r.light||r,i=r.dark||1.5*r;e[t]||(e.hasOwnProperty(n)?e[t]=e[n]:"light"===t?e.light=(0,s.$n)(e.main,o):"dark"===t&&(e.dark=(0,s._j)(e.main,i)))}function w(e){const{mode:t="light",contrastThreshold:n=3,tonalOffset:w=.2}=e,x=(0,o.Z)(e,v),k=e.primary||function(e="light"){return"dark"===e?{main:f.Z[200],light:f.Z[50],dark:f.Z[400]}:{main:f.Z[700],light:f.Z[400],dark:f.Z[800]}}(t),S=e.secondary||function(e="light"){return"dark"===e?{main:u.Z[200],light:u.Z[50],dark:u.Z[400]}:{main:u.Z[500],light:u.Z[300],dark:u.Z[700]}}(t),C=e.error||function(e="light"){return"dark"===e?{main:d.Z[500],light:d.Z[300],dark:d.Z[700]}:{main:d.Z[700],light:d.Z[400],dark:d.Z[800]}}(t),E=e.info||function(e="light"){return"dark"===e?{main:h.Z[400],light:h.Z[300],dark:h.Z[700]}:{main:h.Z[700],light:h.Z[500],dark:h.Z[900]}}(t),T=e.success||function(e="light"){return"dark"===e?{main:m.Z[400],light:m.Z[300],dark:m.Z[700]}:{main:m.Z[800],light:m.Z[500],dark:m.Z[900]}}(t),O=e.warning||function(e="light"){return"dark"===e?{main:p.Z[400],light:p.Z[300],dark:p.Z[700]}:{main:"#ed6c02",light:p.Z[500],dark:p.Z[900]}}(t);function $(e){return(0,s.mi)(e,y.text.primary)>=n?y.text.primary:g.text.primary}const M=({color:e,name:t,mainShade:n=500,lightShade:o=300,darkShade:a=700})=>{if(!(e=(0,r.Z)({},e)).main&&e[n]&&(e.main=e[n]),!e.hasOwnProperty("main"))throw new Error((0,i.Z)(11,t?` (${t})`:"",n));if("string"!=typeof e.main)throw new Error((0,i.Z)(12,t?` (${t})`:"",JSON.stringify(e.main)));return b(e,"light",o,w),b(e,"dark",a,w),e.contrastText||(e.contrastText=$(e.main)),e},A={dark:y,light:g};return(0,a.Z)((0,r.Z)({common:(0,r.Z)({},l.Z),mode:t,primary:M({color:k,name:"primary"}),secondary:M({color:S,name:"secondary",mainShade:"A400",lightShade:"A200",darkShade:"A700"}),error:M({color:C,name:"error"}),warning:M({color:O,name:"warning"}),info:M({color:E,name:"info"}),success:M({color:T,name:"success"}),grey:c.Z,contrastThreshold:n,getContrastText:$,augmentColor:M,tonalOffset:w},A[t]),x)}},10185:(e,t,n)=>{"use strict";n.d(t,{A:()=>y,Z:()=>b});var r=n(87462),o=n(63366),i=n(71387),a=n(59766),s=n(10360),l=n(85265),c=n(86523),u=n(15584),d=n(57625),p=n(71445),f=n(41692),h=n(96067),m=n(8369);const v=["breakpoints","mixins","spacing","palette","transitions","typography","shape"];function g(e={},...t){const{mixins:n={},palette:g={},transitions:y={},typography:b={}}=e,w=(0,o.Z)(e,v);if(e.vars)throw new Error((0,i.Z)(18));const x=(0,d.ZP)(g),k=(0,s.Z)(e);let S=(0,a.Z)(k,{mixins:(0,u.Z)(k.breakpoints,n),palette:x,shadows:f.Z.slice(),typography:(0,p.Z)(x,b),transitions:(0,h.ZP)(y),zIndex:(0,r.Z)({},m.Z)});return S=(0,a.Z)(S,w),S=t.reduce(((e,t)=>(0,a.Z)(e,t)),S),S.unstable_sxConfig=(0,r.Z)({},l.Z,null==w?void 0:w.unstable_sxConfig),S.unstable_sx=function(e){return(0,c.Z)({sx:e,theme:this})},S}function y(...e){return g(...e)}const b=g},96067:(e,t,n)=>{"use strict";n.d(t,{Ui:()=>a,ZP:()=>u,x9:()=>s});var r=n(63366),o=n(87462);const i=["duration","easing","delay"],a={easeInOut:"cubic-bezier(0.4, 0, 0.2, 1)",easeOut:"cubic-bezier(0.0, 0, 0.2, 1)",easeIn:"cubic-bezier(0.4, 0, 1, 1)",sharp:"cubic-bezier(0.4, 0, 0.6, 1)"},s={shortest:150,shorter:200,short:250,standard:300,complex:375,enteringScreen:225,leavingScreen:195};function l(e){return`${Math.round(e)}ms`}function c(e){if(!e)return 0;const t=e/36;return Math.round(10*(4+15*t**.25+t/5))}function u(e){const t=(0,o.Z)({},a,e.easing),n=(0,o.Z)({},s,e.duration);return(0,o.Z)({getAutoHeightDuration:c,create:(e=["all"],o={})=>{const{duration:a=n.standard,easing:s=t.easeInOut,delay:c=0}=o;(0,r.Z)(o,i);return(Array.isArray(e)?e:[e]).map((e=>`${e} ${"string"==typeof a?a:l(a)} ${s} ${"string"==typeof c?c:l(c)}`)).join(",")}},e,{easing:t,duration:n})}},71445:(e,t,n)=>{"use strict";n.d(t,{Z:()=>c});var r=n(87462),o=n(63366),i=n(59766);const a=["fontFamily","fontSize","fontWeightLight","fontWeightRegular","fontWeightMedium","fontWeightBold","htmlFontSize","allVariants","pxToRem"];const s={textTransform:"uppercase"},l='"Roboto", "Helvetica", "Arial", sans-serif';function c(e,t){const n="function"==typeof t?t(e):t,{fontFamily:c=l,fontSize:u=14,fontWeightLight:d=300,fontWeightRegular:p=400,fontWeightMedium:f=500,fontWeightBold:h=700,htmlFontSize:m=16,allVariants:v,pxToRem:g}=n,y=(0,o.Z)(n,a);const b=u/14,w=g||(e=>e/m*b+"rem"),x=(e,t,n,o,i)=>{return(0,r.Z)({fontFamily:c,fontWeight:e,fontSize:w(t),lineHeight:n},c===l?{letterSpacing:(a=o/t,Math.round(1e5*a)/1e5)+"em"}:{},i,v);var a},k={h1:x(d,96,1.167,-1.5),h2:x(d,60,1.2,-.5),h3:x(p,48,1.167,0),h4:x(p,34,1.235,.25),h5:x(p,24,1.334,0),h6:x(f,20,1.6,.15),subtitle1:x(p,16,1.75,.15),subtitle2:x(f,14,1.57,.1),body1:x(p,16,1.5,.15),body2:x(p,14,1.43,.15),button:x(f,14,1.75,.4,s),caption:x(p,12,1.66,.4),overline:x(p,12,2.66,1,s),inherit:{fontFamily:"inherit",fontWeight:"inherit",fontSize:"inherit",lineHeight:"inherit",letterSpacing:"inherit"}};return(0,i.Z)((0,r.Z)({htmlFontSize:m,pxToRem:w,fontFamily:c,fontSize:u,fontWeightLight:d,fontWeightRegular:p,fontWeightMedium:f,fontWeightBold:h},k),y,{clone:!1})}},88606:(e,t,n)=>{"use strict";function r(e){return String(parseFloat(e)).length===String(e).length}function o(e){return String(e).match(/[\d.\-+]*\s*(.*)/)[1]||""}function i(e){return parseFloat(e)}function a(e){return(t,n)=>{const r=o(t);if(r===n)return t;let a=i(t);"px"!==r&&("em"===r||"rem"===r)&&(a=i(t)*i(e));let s=a;if("px"!==n)if("em"===n)s=a/i(e);else{if("rem"!==n)return t;s=a/i(e)}return parseFloat(s.toFixed(5))+n}}function s({size:e,grid:t}){const n=e-e%t,r=n+t;return e-n<r-e?n:r}function l({lineHeight:e,pixels:t,htmlFontSize:n}){return t/(e*n)}function c({cssProperty:e,min:t,max:n,unit:r="rem",breakpoints:o=[600,900,1200],transform:i=null}){const a={[e]:`${t}${r}`},s=(n-t)/o[o.length-1];return o.forEach((n=>{let o=t+s*n;null!==i&&(o=i(o)),a[`@media (min-width:${n}px)`]={[e]:`${Math.round(1e4*o)/1e4}${r}`}})),a}n.d(t,{LV:()=>s,Wy:()=>o,YL:()=>i,dA:()=>r,vY:()=>l,vs:()=>a,ze:()=>c})},90247:(e,t,n)=>{"use strict";n.d(t,{Z:()=>r});const r=(0,n(10185).Z)()},72029:(e,t,n)=>{"use strict";n.d(t,{Z:()=>r});const r=e=>{let t;return t=e<1?5.11916*e**2:4.5*Math.log(e+1)+2,(t/100).toFixed(2)}},10606:(e,t,n)=>{"use strict";n.d(t,{Z:()=>r});const r="$$material"},41692:(e,t,n)=>{"use strict";n.d(t,{Z:()=>o});function r(...e){return[`${e[0]}px ${e[1]}px ${e[2]}px ${e[3]}px rgba(0,0,0,0.2)`,`${e[4]}px ${e[5]}px ${e[6]}px ${e[7]}px rgba(0,0,0,0.14)`,`${e[8]}px ${e[9]}px ${e[10]}px ${e[11]}px rgba(0,0,0,0.12)`].join(",")}const o=["none",r(0,2,1,-1,0,1,1,0,0,1,3,0),r(0,3,1,-2,0,2,2,0,0,1,5,0),r(0,3,3,-2,0,3,4,0,0,1,8,0),r(0,2,4,-1,0,4,5,0,0,1,10,0),r(0,3,5,-1,0,5,8,0,0,1,14,0),r(0,3,5,-1,0,6,10,0,0,1,18,0),r(0,4,5,-2,0,7,10,1,0,2,16,1),r(0,5,5,-3,0,8,10,1,0,3,14,2),r(0,5,6,-3,0,9,12,1,0,3,16,2),r(0,6,6,-3,0,10,14,1,0,4,18,3),r(0,6,7,-4,0,11,15,1,0,4,20,3),r(0,7,8,-4,0,12,17,2,0,5,22,4),r(0,7,8,-4,0,13,19,2,0,5,24,4),r(0,7,9,-4,0,14,21,2,0,5,26,4),r(0,8,9,-5,0,15,22,2,0,6,28,5),r(0,8,10,-5,0,16,24,2,0,6,30,5),r(0,8,11,-5,0,17,26,2,0,6,32,5),r(0,9,11,-5,0,18,28,2,0,7,34,6),r(0,9,12,-6,0,19,29,2,0,7,36,6),r(0,10,13,-6,0,20,31,3,0,8,38,7),r(0,10,13,-6,0,21,33,3,0,8,40,7),r(0,10,14,-6,0,22,35,3,0,8,42,7),r(0,11,14,-7,0,23,36,3,0,9,44,8),r(0,11,15,-7,0,24,38,3,0,9,46,8)]},90948:(e,t,n)=>{"use strict";n.d(t,{Dz:()=>s,FO:()=>a,ZP:()=>l});var r=n(86154),o=n(90247),i=n(10606);const a=e=>(0,r.x9)(e)&&"classes"!==e,s=r.x9,l=(0,r.ZP)({themeId:i.Z,defaultTheme:o.Z,rootShouldForwardProp:a})},2734:(e,t,n)=>{"use strict";n.d(t,{Z:()=>a});n(74570);var r=n(96682),o=n(90247),i=n(10606);function a(){const e=(0,r.Z)(o.Z);return e[i.Z]||e}},71657:(e,t,n)=>{"use strict";n.d(t,{Z:()=>a});var r=n(29628),o=n(90247),i=n(10606);function a({props:e,name:t}){return(0,r.Z)({props:e,name:t,defaultTheme:o.Z,themeId:i.Z})}},8369:(e,t,n)=>{"use strict";n.d(t,{Z:()=>r});const r={mobileStepper:1e3,fab:1050,speedDial:1050,appBar:1100,drawer:1200,modal:1300,snackbar:1400,tooltip:1500}},30577:(e,t,n)=>{"use strict";n.d(t,{C:()=>o,n:()=>r});const r=e=>e.scrollTop;function o(e,t){var n,r;const{timeout:o,easing:i,style:a={}}=e;return{duration:null!=(n=a.transitionDuration)?n:"number"==typeof o?o:o[t.mode]||0,easing:null!=(r=a.transitionTimingFunction)?r:"object"==typeof i?i[t.mode]:i,delay:a.transitionDelay}}},98396:(e,t,n)=>{"use strict";n.d(t,{Z:()=>u});var r=n(74570),o=n(34168),i=n(20539),a=n(58974);function s(e,t,n,o,i){const[s,l]=r.useState((()=>i&&n?n(e).matches:o?o(e).matches:t));return(0,a.Z)((()=>{let t=!0;if(!n)return;const r=n(e),o=()=>{t&&l(r.matches)};return o(),r.addListener(o),()=>{t=!1,r.removeListener(o)}}),[e,n]),s}const l=r.useSyncExternalStore;function c(e,t,n,o,i){const a=r.useCallback((()=>t),[t]),s=r.useMemo((()=>{if(i&&n)return()=>n(e).matches;if(null!==o){const{matches:t}=o(e);return()=>t}return a}),[a,e,o,i,n]),[c,u]=r.useMemo((()=>{if(null===n)return[a,()=>()=>{}];const t=n(e);return[()=>t.matches,e=>(t.addListener(e),()=>{t.removeListener(e)})]}),[a,n,e]);return l(u,c,s)}function u(e,t={}){const n=(0,o.Z)(),r="undefined"!=typeof window&&void 0!==window.matchMedia,{defaultMatches:a=!1,matchMedia:u=(r?window.matchMedia:null),ssrMatchMedia:d=null,noSsr:p=!1}=(0,i.Z)({name:"MuiUseMediaQuery",props:t,theme:n});let f="function"==typeof e?e(n):e;f=f.replace(/^@media( ?)/m,"");return(void 0!==l?c:s)(f,a,u,d,p)}},98216:(e,t,n)=>{"use strict";n.d(t,{Z:()=>r});const r=n(14142).Z},35893:(e,t,n)=>{"use strict";n.d(t,{Z:()=>r});const r=n(49064).Z},82066:(e,t,n)=>{"use strict";n.d(t,{Z:()=>s});var r=n(87462),o=n(74570),i=n(2373),a=n(85893);function s(e,t){function n(n,o){return(0,a.jsx)(i.Z,(0,r.Z)({"data-testid":`${t}Icon`,ref:o},n,{children:e}))}return n.muiName=i.Z.muiName,o.memo(o.forwardRef(n))}},57144:(e,t,n)=>{"use strict";n.d(t,{Z:()=>r});const r=n(39336).Z},256:(e,t,n)=>{"use strict";n.d(t,{Z:()=>r});const r=n(95806).Z},64298:(e,t,n)=>{"use strict";n.r(t),n.d(t,{capitalize:()=>o.Z,createChainedFunction:()=>i.Z,createSvgIcon:()=>a.Z,debounce:()=>s.Z,deprecatedPropType:()=>l,isMuiElement:()=>c.Z,ownerDocument:()=>u.Z,ownerWindow:()=>d.Z,requirePropFactory:()=>p,setRef:()=>f,unstable_ClassNameGenerator:()=>x,unstable_useEnhancedEffect:()=>h.Z,unstable_useId:()=>m.Z,unsupportedProp:()=>v,useControlled:()=>g.Z,useEventCallback:()=>y.Z,useForkRef:()=>b.Z,useIsFocusVisible:()=>w.Z});var r=n(37078),o=n(98216),i=n(35893),a=n(82066),s=n(57144);const l=function(e,t){return()=>null};var c=n(96798),u=n(8038),d=n(5340);n(87462);const p=function(e,t){return()=>null};const f=n(7960).Z;var h=n(58974),m=n(27909);const v=function(e,t,n,r,o){return null};var g=n(49299),y=n(2068),b=n(51705),w=n(79674);const x={configure:e=>{r.Z.configure(e)}}},96798:(e,t,n)=>{"use strict";n.d(t,{Z:()=>r});const r=n(18719).Z},8038:(e,t,n)=>{"use strict";n.d(t,{Z:()=>r});const r=n(82690).Z},5340:(e,t,n)=>{"use strict";n.d(t,{Z:()=>r});const r=n(74161).Z},49299:(e,t,n)=>{"use strict";n.d(t,{Z:()=>r});const r=n(19032).Z},58974:(e,t,n)=>{"use strict";n.d(t,{Z:()=>r});const r=n(73546).Z},2068:(e,t,n)=>{"use strict";n.d(t,{Z:()=>r});const r=n(59948).Z},51705:(e,t,n)=>{"use strict";n.d(t,{Z:()=>r});const r=n(33703).Z},27909:(e,t,n)=>{"use strict";n.d(t,{Z:()=>r});const r=n(92996).Z},79674:(e,t,n)=>{"use strict";n.d(t,{Z:()=>r});const r=n(99962).Z},69980:(e,t,n)=>{"use strict";n.d(t,{Z:()=>c});var r=n(87462),o=n(74570),i=n(44819),a=n(56760),s=n(51825),l=n(85893);const c=function(e){const{children:t,theme:n}=e,c=(0,a.Z)(),u=o.useMemo((()=>{const e=null===c?n:function(e,t){if("function"==typeof t)return t(e);return(0,r.Z)({},e,t)}(c,n);return null!=e&&(e[s.Z]=null!==c),e}),[n,c]);return(0,l.jsx)(i.Z.Provider,{value:u,children:t})}},51825:(e,t,n)=>{"use strict";n.d(t,{Z:()=>r});const r="function"==typeof Symbol&&Symbol.for?Symbol.for("mui.nested"):"__THEME_NESTED__"},44819:(e,t,n)=>{"use strict";n.d(t,{Z:()=>o});var r=n(74570);const o=r.createContext(null)},56760:(e,t,n)=>{"use strict";n.d(t,{Z:()=>i});var r=n(74570),o=n(44819);function i(){return r.useContext(o.Z)}},41234:(e,t,n)=>{"use strict";n.d(t,{Z:()=>i});n(74570);var r=n(70917),o=n(85893);function i(e){const{styles:t,defaultTheme:n={}}=e,i="function"==typeof t?e=>{return t(null==(r=e)||0===Object.keys(r).length?n:e);var r}:t;return(0,o.jsx)(r.xB,{styles:i})}},78883:(e,t,n)=>{"use strict";n.d(t,{Co:()=>i,ZP:()=>o});var r=n(37337);function o(e,t){return(0,r.Z)(e,t)}const i=(e,t)=>{Array.isArray(e.__emotion_styles)&&(e.__emotion_styles=t(e.__emotion_styles))}},25723:(e,t,n)=>{"use strict";n.d(t,{Z:()=>a});n(74570);var r=n(41234),o=n(96682),i=n(85893);const a=function({styles:e,themeId:t,defaultTheme:n={}}){const a=(0,o.Z)(n),s="function"==typeof e?e(t&&a[t]||a):e;return(0,i.jsx)(r.Z,{styles:s})}},1819:(e,t,n)=>{"use strict";n.d(t,{Z:()=>S});var r=n(63366),o=n(87462),i=n(74570),a=n(90512),s=n(59766),l=n(94780),c=n(34867),u=n(13264),d=n(29628),p=n(39707),f=n(10360),h=n(95408),m=n(44472),v=n(85893);const g=["component","direction","spacing","divider","children","className","useFlexGap"],y=(0,f.Z)(),b=(0,u.Z)("div",{name:"MuiStack",slot:"Root",overridesResolver:(e,t)=>t.root});function w(e){return(0,d.Z)({props:e,name:"MuiStack",defaultTheme:y})}function x(e,t){const n=i.Children.toArray(e).filter(Boolean);return n.reduce(((e,r,o)=>(e.push(r),o<n.length-1&&e.push(i.cloneElement(t,{key:`separator-${o}`})),e)),[])}const k=({ownerState:e,theme:t})=>{let n=(0,o.Z)({display:"flex",flexDirection:"column"},(0,h.k9)({theme:t},(0,h.P$)({values:e.direction,breakpoints:t.breakpoints.values}),(e=>({flexDirection:e}))));if(e.spacing){const r=(0,m.hB)(t),o=Object.keys(t.breakpoints.values).reduce(((t,n)=>(("object"==typeof e.spacing&&null!=e.spacing[n]||"object"==typeof e.direction&&null!=e.direction[n])&&(t[n]=!0),t)),{}),i=(0,h.P$)({values:e.direction,base:o}),a=(0,h.P$)({values:e.spacing,base:o});"object"==typeof i&&Object.keys(i).forEach(((e,t,n)=>{if(!i[e]){const r=t>0?i[n[t-1]]:"column";i[e]=r}}));const l=(t,n)=>{return e.useFlexGap?{gap:(0,m.NA)(r,t)}:{"& > :not(style):not(style)":{margin:0},"& > :not(style) ~ :not(style)":{[`margin${o=n?i[n]:e.direction,{row:"Left","row-reverse":"Right",column:"Top","column-reverse":"Bottom"}[o]}`]:(0,m.NA)(r,t)}};var o};n=(0,s.Z)(n,(0,h.k9)({theme:t},a,l))}return n=(0,h.dt)(t.breakpoints,n),n};function S(e={}){const{createStyledComponent:t=b,useThemeProps:n=w,componentName:s="MuiStack"}=e,u=t(k);return i.forwardRef((function(e,t){const i=n(e),d=(0,p.Z)(i),{component:f="div",direction:h="column",spacing:m=0,divider:y,children:b,className:w,useFlexGap:k=!1}=d,S=(0,r.Z)(d,g),C={direction:h,spacing:m,useFlexGap:k},E=(0,l.Z)({root:["root"]},(e=>(0,c.Z)(s,e)),{});return(0,v.jsx)(u,(0,o.Z)({as:f,ownerState:C,ref:t,className:(0,a.Z)(E.root,w)},S,{children:y?x(b,y):b}))}))}},61817:(e,t,n)=>{"use strict";n.d(t,{Z:()=>p});var r=n(87462),o=n(74570),i=n(56760),a=n(69980),s=n(75260),l=n(34168),c=n(85893);const u={};function d(e,t,n,i=!1){return o.useMemo((()=>{const o=e&&t[e]||t;if("function"==typeof n){const a=n(o),s=e?(0,r.Z)({},t,{[e]:a}):a;return i?()=>s:s}return e?(0,r.Z)({},t,{[e]:n}):(0,r.Z)({},t,n)}),[e,t,n,i])}const p=function(e){const{children:t,theme:n,themeId:r}=e,o=(0,l.Z)(u),p=(0,i.Z)()||u,f=d(r,o,n),h=d(r,p,n,!0);return(0,c.jsx)(a.Z,{theme:h,children:(0,c.jsx)(s.T.Provider,{value:f,children:t})})}},73019:(e,t,n)=>{"use strict";n.d(t,{E0:()=>y,NL:()=>s});var r=n(54844),o=n(22428),i=n(44472),a=n(95408);function s(e){return"number"!=typeof e?e:`${e}px solid`}const l=(0,r.ZP)({prop:"border",themeKey:"borders",transform:s}),c=(0,r.ZP)({prop:"borderTop",themeKey:"borders",transform:s}),u=(0,r.ZP)({prop:"borderRight",themeKey:"borders",transform:s}),d=(0,r.ZP)({prop:"borderBottom",themeKey:"borders",transform:s}),p=(0,r.ZP)({prop:"borderLeft",themeKey:"borders",transform:s}),f=(0,r.ZP)({prop:"borderColor",themeKey:"palette"}),h=(0,r.ZP)({prop:"borderTopColor",themeKey:"palette"}),m=(0,r.ZP)({prop:"borderRightColor",themeKey:"palette"}),v=(0,r.ZP)({prop:"borderBottomColor",themeKey:"palette"}),g=(0,r.ZP)({prop:"borderLeftColor",themeKey:"palette"}),y=e=>{if(void 0!==e.borderRadius&&null!==e.borderRadius){const t=(0,i.eI)(e.theme,"shape.borderRadius",4,"borderRadius"),n=e=>({borderRadius:(0,i.NA)(t,e)});return(0,a.k9)(e,e.borderRadius,n)}return null};y.propTypes={},y.filterProps=["borderRadius"];(0,o.Z)(l,c,u,d,p,f,h,m,v,g,y)},95408:(e,t,n)=>{"use strict";n.d(t,{L7:()=>l,P$:()=>u,VO:()=>o,W8:()=>s,dt:()=>c,k9:()=>a});var r=n(59766);const o={xs:0,sm:600,md:900,lg:1200,xl:1536},i={keys:["xs","sm","md","lg","xl"],up:e=>`@media (min-width:${o[e]}px)`};function a(e,t,n){const r=e.theme||{};if(Array.isArray(t)){const e=r.breakpoints||i;return t.reduce(((r,o,i)=>(r[e.up(e.keys[i])]=n(t[i]),r)),{})}if("object"==typeof t){const e=r.breakpoints||i;return Object.keys(t).reduce(((r,i)=>{if(-1!==Object.keys(e.values||o).indexOf(i)){r[e.up(i)]=n(t[i],i)}else{const e=i;r[e]=t[e]}return r}),{})}return n(t)}function s(e={}){var t;return(null==(t=e.keys)?void 0:t.reduce(((t,n)=>(t[e.up(n)]={},t)),{}))||{}}function l(e,t){return e.reduce(((e,t)=>{const n=e[t];return(!n||0===Object.keys(n).length)&&delete e[t],e}),t)}function c(e,...t){const n=s(e),o=[n,...t].reduce(((e,t)=>(0,r.Z)(e,t)),{});return l(Object.keys(n),o)}function u({values:e,breakpoints:t,base:n}){const r=n||function(e,t){if("object"!=typeof e)return{};const n={},r=Object.keys(t);return Array.isArray(e)?r.forEach(((t,r)=>{r<e.length&&(n[t]=!0)})):r.forEach((t=>{null!=e[t]&&(n[t]=!0)})),n}(e,t),o=Object.keys(r);if(0===o.length)return e;let i;return o.reduce(((t,n,r)=>(Array.isArray(e)?(t[n]=null!=e[r]?e[r]:e[i],i=r):"object"==typeof e?(t[n]=null!=e[n]?e[n]:e[i],i=n):t[n]=e,t)),{})}},41796:(e,t,n)=>{"use strict";n.d(t,{$n:()=>g,Fq:()=>f,H3:()=>d,LR:()=>s,_4:()=>b,_j:()=>m,fk:()=>w,mi:()=>p,oo:()=>i,q8:()=>v,tB:()=>a,ux:()=>y,ve:()=>u,vq:()=>c,wy:()=>l,zp:()=>h});var r=n(71387);function o(e,t=0,n=1){return Math.min(Math.max(t,e),n)}function i(e){e=e.slice(1);const t=new RegExp(`.{1,${e.length>=6?2:1}}`,"g");let n=e.match(t);return n&&1===n[0].length&&(n=n.map((e=>e+e))),n?`rgb${4===n.length?"a":""}(${n.map(((e,t)=>t<3?parseInt(e,16):Math.round(parseInt(e,16)/255*1e3)/1e3)).join(", ")})`:""}function a(e){if(e.type)return e;if("#"===e.charAt(0))return a(i(e));const t=e.indexOf("("),n=e.substring(0,t);if(-1===["rgb","rgba","hsl","hsla","color"].indexOf(n))throw new Error((0,r.Z)(9,e));let o,s=e.substring(t+1,e.length-1);if("color"===n){if(s=s.split(" "),o=s.shift(),4===s.length&&"/"===s[3].charAt(0)&&(s[3]=s[3].slice(1)),-1===["srgb","display-p3","a98-rgb","prophoto-rgb","rec-2020"].indexOf(o))throw new Error((0,r.Z)(10,o))}else s=s.split(",");return s=s.map((e=>parseFloat(e))),{type:n,values:s,colorSpace:o}}const s=(e,t)=>{try{return(e=>{const t=a(e);return t.values.slice(0,3).map(((e,n)=>-1!==t.type.indexOf("hsl")&&0!==n?`${e}%`:e)).join(" ")})(e)}catch(n){return e}};function l(e){const{type:t,colorSpace:n}=e;let{values:r}=e;return-1!==t.indexOf("rgb")?r=r.map(((e,t)=>t<3?parseInt(e,10):e)):-1!==t.indexOf("hsl")&&(r[1]=`${r[1]}%`,r[2]=`${r[2]}%`),r=-1!==t.indexOf("color")?`${n} ${r.join(" ")}`:`${r.join(", ")}`,`${t}(${r})`}function c(e){if(0===e.indexOf("#"))return e;const{values:t}=a(e);return`#${t.map(((e,t)=>function(e){const t=e.toString(16);return 1===t.length?`0${t}`:t}(3===t?Math.round(255*e):e))).join("")}`}function u(e){e=a(e);const{values:t}=e,n=t[0],r=t[1]/100,o=t[2]/100,i=r*Math.min(o,1-o),s=(e,t=(e+n/30)%12)=>o-i*Math.max(Math.min(t-3,9-t,1),-1);let c="rgb";const u=[Math.round(255*s(0)),Math.round(255*s(8)),Math.round(255*s(4))];return"hsla"===e.type&&(c+="a",u.push(t[3])),l({type:c,values:u})}function d(e){let t="hsl"===(e=a(e)).type||"hsla"===e.type?a(u(e)).values:e.values;return t=t.map((t=>("color"!==e.type&&(t/=255),t<=.03928?t/12.92:((t+.055)/1.055)**2.4))),Number((.2126*t[0]+.7152*t[1]+.0722*t[2]).toFixed(3))}function p(e,t){const n=d(e),r=d(t);return(Math.max(n,r)+.05)/(Math.min(n,r)+.05)}function f(e,t){return e=a(e),t=o(t),"rgb"!==e.type&&"hsl"!==e.type||(e.type+="a"),"color"===e.type?e.values[3]=`/${t}`:e.values[3]=t,l(e)}function h(e,t,n){try{return f(e,t)}catch(r){return e}}function m(e,t){if(e=a(e),t=o(t),-1!==e.type.indexOf("hsl"))e.values[2]*=1-t;else if(-1!==e.type.indexOf("rgb")||-1!==e.type.indexOf("color"))for(let n=0;n<3;n+=1)e.values[n]*=1-t;return l(e)}function v(e,t,n){try{return m(e,t)}catch(r){return e}}function g(e,t){if(e=a(e),t=o(t),-1!==e.type.indexOf("hsl"))e.values[2]+=(100-e.values[2])*t;else if(-1!==e.type.indexOf("rgb"))for(let n=0;n<3;n+=1)e.values[n]+=(255-e.values[n])*t;else if(-1!==e.type.indexOf("color"))for(let n=0;n<3;n+=1)e.values[n]+=(1-e.values[n])*t;return l(e)}function y(e,t,n){try{return g(e,t)}catch(r){return e}}function b(e,t=.15){return d(e)>.5?m(e,t):g(e,t)}function w(e,t,n){try{return w(e,t)}catch(r){return e}}},22428:(e,t,n)=>{"use strict";n.d(t,{Z:()=>o});var r=n(47730);const o=function(...e){const t=e.reduce(((e,t)=>(t.filterProps.forEach((n=>{e[n]=t})),e)),{}),n=e=>Object.keys(e).reduce(((n,o)=>t[o]?(0,r.Z)(n,t[o](e)):n),{});return n.propTypes={},n.filterProps=e.reduce(((e,t)=>e.concat(t.filterProps)),[]),n}},61354:(e,t,n)=>{"use strict";n.d(t,{Z:()=>f});var r=n(87462),o=n(63366),i=n(74570),a=n(90512),s=n(78883),l=n(86523),c=n(39707),u=n(96682),d=n(85893);const p=["className","component"];function f(e={}){const{themeId:t,defaultTheme:n,defaultClassName:f="MuiBox-root",generateClassName:h}=e,m=(0,s.ZP)("div",{shouldForwardProp:e=>"theme"!==e&&"sx"!==e&&"as"!==e})(l.Z);return i.forwardRef((function(e,i){const s=(0,u.Z)(n),l=(0,c.Z)(e),{className:v,component:g="div"}=l,y=(0,o.Z)(l,p);return(0,d.jsx)(m,(0,r.Z)({as:g,ref:i,className:(0,a.Z)(v,h?h(f):f),theme:t&&s[t]||s},y))}))}},86154:(e,t,n)=>{"use strict";n.d(t,{ZP:()=>y,x9:()=>f});var r=n(63366),o=n(87462),i=n(78883),a=n(10360),s=n(40559),l=n(86523);const c=["name","slot","skipVariantsResolver","skipSx","overridesResolver"];const u=(e,t)=>t.components&&t.components[e]&&t.components[e].styleOverrides?t.components[e].styleOverrides:null,d=(e,t)=>{let n=[];t&&t.components&&t.components[e]&&t.components[e].variants&&(n=t.components[e].variants);const r={};return n.forEach((e=>{const t=(0,s.Z)(e.props);r[t]=e.style})),r},p=(e,t,n,r)=>{var o;const{ownerState:i={}}=e,a=[],l=null==n||null==(o=n.components)||null==(o=o[r])?void 0:o.variants;return l&&l.forEach((n=>{let r=!0;Object.keys(n.props).forEach((t=>{i[t]!==n.props[t]&&e[t]!==n.props[t]&&(r=!1)})),r&&a.push(t[(0,s.Z)(n.props)])})),a};function f(e){return"ownerState"!==e&&"theme"!==e&&"sx"!==e&&"as"!==e}const h=(0,a.Z)(),m=e=>e?e.charAt(0).toLowerCase()+e.slice(1):e;function v({defaultTheme:e,theme:t,themeId:n}){return r=t,0===Object.keys(r).length?e:t[n]||t;var r}function g(e){return e?(t,n)=>n[e]:null}function y(e={}){const{themeId:t,defaultTheme:n=h,rootShouldForwardProp:a=f,slotShouldForwardProp:s=f}=e,y=e=>(0,l.Z)((0,o.Z)({},e,{theme:v((0,o.Z)({},e,{defaultTheme:n,themeId:t}))}));return y.__mui_systemSx=!0,(e,l={})=>{(0,i.Co)(e,(e=>e.filter((e=>!(null!=e&&e.__mui_systemSx)))));const{name:h,slot:b,skipVariantsResolver:w,skipSx:x,overridesResolver:k=g(m(b))}=l,S=(0,r.Z)(l,c),C=void 0!==w?w:b&&"Root"!==b&&"root"!==b||!1,E=x||!1;let T=f;"Root"===b||"root"===b?T=a:b?T=s:function(e){return"string"==typeof e&&e.charCodeAt(0)>96}(e)&&(T=void 0);const O=(0,i.ZP)(e,(0,o.Z)({shouldForwardProp:T,label:undefined},S)),$=(r,...i)=>{const a=i?i.map((e=>"function"==typeof e&&e.__emotion_real!==e?r=>e((0,o.Z)({},r,{theme:v((0,o.Z)({},r,{defaultTheme:n,themeId:t}))})):e)):[];let s=r;h&&k&&a.push((e=>{const r=v((0,o.Z)({},e,{defaultTheme:n,themeId:t})),i=u(h,r);if(i){const t={};return Object.entries(i).forEach((([n,i])=>{t[n]="function"==typeof i?i((0,o.Z)({},e,{theme:r})):i})),k(e,t)}return null})),h&&!C&&a.push((e=>{const r=v((0,o.Z)({},e,{defaultTheme:n,themeId:t}));return p(e,d(h,r),r,h)})),E||a.push(y);const l=a.length-i.length;if(Array.isArray(r)&&l>0){const e=new Array(l).fill("");s=[...r,...e],s.raw=[...r.raw,...e]}else"function"==typeof r&&r.__emotion_real!==r&&(s=e=>r((0,o.Z)({},e,{theme:v((0,o.Z)({},e,{defaultTheme:n,themeId:t}))})));const c=O(s,...a);return e.muiName&&(c.muiName=e.muiName),c};return O.withConfig&&($.withConfig=O.withConfig),$}}},41512:(e,t,n)=>{"use strict";n.d(t,{Z:()=>s});var r=n(63366),o=n(87462);const i=["values","unit","step"],a=e=>{const t=Object.keys(e).map((t=>({key:t,val:e[t]})))||[];return t.sort(((e,t)=>e.val-t.val)),t.reduce(((e,t)=>(0,o.Z)({},e,{[t.key]:t.val})),{})};function s(e){const{values:t={xs:0,sm:600,md:900,lg:1200,xl:1536},unit:n="px",step:s=5}=e,l=(0,r.Z)(e,i),c=a(t),u=Object.keys(c);function d(e){return`@media (min-width:${"number"==typeof t[e]?t[e]:e}${n})`}function p(e){return`@media (max-width:${("number"==typeof t[e]?t[e]:e)-s/100}${n})`}function f(e,r){const o=u.indexOf(r);return`@media (min-width:${"number"==typeof t[e]?t[e]:e}${n}) and (max-width:${(-1!==o&&"number"==typeof t[u[o]]?t[u[o]]:r)-s/100}${n})`}return(0,o.Z)({keys:u,values:c,up:d,down:p,between:f,only:function(e){return u.indexOf(e)+1<u.length?f(e,u[u.indexOf(e)+1]):d(e)},not:function(e){const t=u.indexOf(e);return 0===t?d(u[1]):t===u.length-1?p(u[t]):f(e,u[u.indexOf(e)+1]).replace("@media","@media not all and")},unit:n},l)}},98373:(e,t,n)=>{"use strict";n.d(t,{Z:()=>o});var r=n(44472);function o(e=8){if(e.mui)return e;const t=(0,r.hB)({spacing:e}),n=(...e)=>{return(0===e.length?[1]:e).map((e=>{const n=t(e);return"number"==typeof n?`${n}px`:n})).join(" ")};return n.mui=!0,n}},10360:(e,t,n)=>{"use strict";n.d(t,{Z:()=>p});var r=n(87462),o=n(63366),i=n(59766),a=n(41512),s=n(23101),l=n(98373),c=n(86523),u=n(85265);const d=["breakpoints","palette","spacing","shape"];const p=function(e={},...t){const{breakpoints:n={},palette:p={},spacing:f,shape:h={}}=e,m=(0,o.Z)(e,d),v=(0,a.Z)(n),g=(0,l.Z)(f);let y=(0,i.Z)({breakpoints:v,direction:"ltr",components:{},palette:(0,r.Z)({mode:"light"},p),spacing:g,shape:(0,r.Z)({},s.Z,h)},m);return y=t.reduce(((e,t)=>(0,i.Z)(e,t)),y),y.unstable_sxConfig=(0,r.Z)({},u.Z,null==m?void 0:m.unstable_sxConfig),y.unstable_sx=function(e){return(0,c.Z)({sx:e,theme:this})},y}},23101:(e,t,n)=>{"use strict";n.d(t,{Z:()=>r});const r={borderRadius:4}},72053:(e,t,n)=>{"use strict";n.d(t,{SG:()=>s,e$:()=>l,s2:()=>c});var r=n(54844),o=n(22428),i=n(44472),a=n(95408);const s=e=>{if(void 0!==e.gap&&null!==e.gap){const t=(0,i.eI)(e.theme,"spacing",8,"gap"),n=e=>({gap:(0,i.NA)(t,e)});return(0,a.k9)(e,e.gap,n)}return null};s.propTypes={},s.filterProps=["gap"];const l=e=>{if(void 0!==e.columnGap&&null!==e.columnGap){const t=(0,i.eI)(e.theme,"spacing",8,"columnGap"),n=e=>({columnGap:(0,i.NA)(t,e)});return(0,a.k9)(e,e.columnGap,n)}return null};l.propTypes={},l.filterProps=["columnGap"];const c=e=>{if(void 0!==e.rowGap&&null!==e.rowGap){const t=(0,i.eI)(e.theme,"spacing",8,"rowGap"),n=e=>({rowGap:(0,i.NA)(t,e)});return(0,a.k9)(e,e.rowGap,n)}return null};c.propTypes={},c.filterProps=["rowGap"];const u=(0,r.ZP)({prop:"gridColumn"}),d=(0,r.ZP)({prop:"gridRow"}),p=(0,r.ZP)({prop:"gridAutoFlow"}),f=(0,r.ZP)({prop:"gridAutoColumns"}),h=(0,r.ZP)({prop:"gridAutoRows"}),m=(0,r.ZP)({prop:"gridTemplateColumns"}),v=(0,r.ZP)({prop:"gridTemplateRows"}),g=(0,r.ZP)({prop:"gridTemplateAreas"}),y=(0,r.ZP)({prop:"gridArea"});(0,o.Z)(s,l,c,u,d,p,f,h,m,v,g,y)},1135:(e,t,n)=>{"use strict";function r(e){const t={};return n=>(void 0===t[n]&&(t[n]=e(n)),t[n])}n.d(t,{Z:()=>r})},47730:(e,t,n)=>{"use strict";n.d(t,{Z:()=>o});var r=n(59766);const o=function(e,t){return t?(0,r.Z)(e,t,{clone:!1}):e}},84126:(e,t,n)=>{"use strict";n.d(t,{Sh:()=>i});var r=n(54844),o=n(22428);function i(e,t){return"grey"===t?t:e}const a=(0,r.ZP)({prop:"color",themeKey:"palette",transform:i}),s=(0,r.ZP)({prop:"bgcolor",cssProperty:"backgroundColor",themeKey:"palette",transform:i}),l=(0,r.ZP)({prop:"backgroundColor",themeKey:"palette",transform:i});(0,o.Z)(a,s,l)},40559:(e,t,n)=>{"use strict";n.d(t,{Z:()=>s});var r=n(63366),o=n(14142);const i=["variant"];function a(e){return 0===e.length}function s(e){const{variant:t}=e,n=(0,r.Z)(e,i);let s=t||"";return Object.keys(n).sort().forEach((t=>{s+="color"===t?a(s)?e[t]:(0,o.Z)(e[t]):`${a(s)?t:(0,o.Z)(t)}${(0,o.Z)(e[t].toString())}`})),s}},78241:(e,t,n)=>{"use strict";n.d(t,{EB:()=>a,kk:()=>l});var r=n(54844),o=n(22428),i=n(95408);function a(e){return e<=1&&0!==e?100*e+"%":e}const s=(0,r.ZP)({prop:"width",transform:a}),l=e=>{if(void 0!==e.maxWidth&&null!==e.maxWidth){const t=t=>{var n,r;const o=(null==(n=e.theme)||null==(n=n.breakpoints)||null==(n=n.values)?void 0:n[t])||i.VO[t];return o?"px"!==(null==(r=e.theme)||null==(r=r.breakpoints)?void 0:r.unit)?{maxWidth:`${o}${e.theme.breakpoints.unit}`}:{maxWidth:o}:{maxWidth:a(t)}};return(0,i.k9)(e,e.maxWidth,t)}return null};l.filterProps=["maxWidth"];const c=(0,r.ZP)({prop:"minWidth",transform:a}),u=(0,r.ZP)({prop:"height",transform:a}),d=(0,r.ZP)({prop:"maxHeight",transform:a}),p=(0,r.ZP)({prop:"minHeight",transform:a}),f=((0,r.ZP)({prop:"size",cssProperty:"width",transform:a}),(0,r.ZP)({prop:"size",cssProperty:"height",transform:a}),(0,r.ZP)({prop:"boxSizing"}));(0,o.Z)(s,l,c,u,d,p,f)},44472:(e,t,n)=>{"use strict";n.d(t,{NA:()=>v,e6:()=>b,eI:()=>h,hB:()=>m,o3:()=>w});var r=n(95408),o=n(54844),i=n(47730),a=n(1135);const s={m:"margin",p:"padding"},l={t:"Top",r:"Right",b:"Bottom",l:"Left",x:["Left","Right"],y:["Top","Bottom"]},c={marginX:"mx",marginY:"my",paddingX:"px",paddingY:"py"},u=(0,a.Z)((e=>{if(e.length>2){if(!c[e])return[e];e=c[e]}const[t,n]=e.split(""),r=s[t],o=l[n]||"";return Array.isArray(o)?o.map((e=>r+e)):[r+o]})),d=["m","mt","mr","mb","ml","mx","my","margin","marginTop","marginRight","marginBottom","marginLeft","marginX","marginY","marginInline","marginInlineStart","marginInlineEnd","marginBlock","marginBlockStart","marginBlockEnd"],p=["p","pt","pr","pb","pl","px","py","padding","paddingTop","paddingRight","paddingBottom","paddingLeft","paddingX","paddingY","paddingInline","paddingInlineStart","paddingInlineEnd","paddingBlock","paddingBlockStart","paddingBlockEnd"],f=[...d,...p];function h(e,t,n,r){var i;const a=null!=(i=(0,o.DW)(e,t,!1))?i:n;return"number"==typeof a?e=>"string"==typeof e?e:a*e:Array.isArray(a)?e=>"string"==typeof e?e:a[e]:"function"==typeof a?a:()=>{}}function m(e){return h(e,"spacing",8)}function v(e,t){if("string"==typeof t||null==t)return t;const n=e(Math.abs(t));return t>=0?n:"number"==typeof n?-n:`-${n}`}function g(e,t,n,o){if(-1===t.indexOf(n))return null;const i=function(e,t){return n=>e.reduce(((e,r)=>(e[r]=v(t,n),e)),{})}(u(n),o),a=e[n];return(0,r.k9)(e,a,i)}function y(e,t){const n=m(e.theme);return Object.keys(e).map((r=>g(e,t,r,n))).reduce(i.Z,{})}function b(e){return y(e,d)}function w(e){return y(e,p)}function x(e){return y(e,f)}b.propTypes={},b.filterProps=d,w.propTypes={},w.filterProps=p,x.propTypes={},x.filterProps=f},54844:(e,t,n)=>{"use strict";n.d(t,{DW:()=>i,Jq:()=>a,ZP:()=>s});var r=n(14142),o=n(95408);function i(e,t,n=!0){if(!t||"string"!=typeof t)return null;if(e&&e.vars&&n){const n=`vars.${t}`.split(".").reduce(((e,t)=>e&&e[t]?e[t]:null),e);if(null!=n)return n}return t.split(".").reduce(((e,t)=>e&&null!=e[t]?e[t]:null),e)}function a(e,t,n,r=n){let o;return o="function"==typeof e?e(n):Array.isArray(e)?e[n]||r:i(e,n)||r,t&&(o=t(o,r,e)),o}const s=function(e){const{prop:t,cssProperty:n=e.prop,themeKey:s,transform:l}=e,c=e=>{if(null==e[t])return null;const c=e[t],u=i(e.theme,s)||{};return(0,o.k9)(e,c,(e=>{let o=a(u,l,e);return e===o&&"string"==typeof e&&(o=a(u,l,`${t}${"default"===e?"":(0,r.Z)(e)}`,e)),!1===n?o:{[n]:o}}))};return c.propTypes={},c.filterProps=[t],c}},85265:(e,t,n)=>{"use strict";n.d(t,{Z:()=>l});var r=n(44472),o=n(73019),i=n(72053),a=n(84126),s=n(78241);const l={border:{themeKey:"borders",transform:o.NL},borderTop:{themeKey:"borders",transform:o.NL},borderRight:{themeKey:"borders",transform:o.NL},borderBottom:{themeKey:"borders",transform:o.NL},borderLeft:{themeKey:"borders",transform:o.NL},borderColor:{themeKey:"palette"},borderTopColor:{themeKey:"palette"},borderRightColor:{themeKey:"palette"},borderBottomColor:{themeKey:"palette"},borderLeftColor:{themeKey:"palette"},borderRadius:{themeKey:"shape.borderRadius",style:o.E0},color:{themeKey:"palette",transform:a.Sh},bgcolor:{themeKey:"palette",cssProperty:"backgroundColor",transform:a.Sh},backgroundColor:{themeKey:"palette",transform:a.Sh},p:{style:r.o3},pt:{style:r.o3},pr:{style:r.o3},pb:{style:r.o3},pl:{style:r.o3},px:{style:r.o3},py:{style:r.o3},padding:{style:r.o3},paddingTop:{style:r.o3},paddingRight:{style:r.o3},paddingBottom:{style:r.o3},paddingLeft:{style:r.o3},paddingX:{style:r.o3},paddingY:{style:r.o3},paddingInline:{style:r.o3},paddingInlineStart:{style:r.o3},paddingInlineEnd:{style:r.o3},paddingBlock:{style:r.o3},paddingBlockStart:{style:r.o3},paddingBlockEnd:{style:r.o3},m:{style:r.e6},mt:{style:r.e6},mr:{style:r.e6},mb:{style:r.e6},ml:{style:r.e6},mx:{style:r.e6},my:{style:r.e6},margin:{style:r.e6},marginTop:{style:r.e6},marginRight:{style:r.e6},marginBottom:{style:r.e6},marginLeft:{style:r.e6},marginX:{style:r.e6},marginY:{style:r.e6},marginInline:{style:r.e6},marginInlineStart:{style:r.e6},marginInlineEnd:{style:r.e6},marginBlock:{style:r.e6},marginBlockStart:{style:r.e6},marginBlockEnd:{style:r.e6},displayPrint:{cssProperty:!1,transform:e=>({"@media print":{display:e}})},display:{},overflow:{},textOverflow:{},visibility:{},whiteSpace:{},flexBasis:{},flexDirection:{},flexWrap:{},justifyContent:{},alignItems:{},alignContent:{},order:{},flex:{},flexGrow:{},flexShrink:{},alignSelf:{},justifyItems:{},justifySelf:{},gap:{style:i.SG},rowGap:{style:i.s2},columnGap:{style:i.e$},gridColumn:{},gridRow:{},gridAutoFlow:{},gridAutoColumns:{},gridAutoRows:{},gridTemplateColumns:{},gridTemplateRows:{},gridTemplateAreas:{},gridArea:{},position:{},zIndex:{themeKey:"zIndex"},top:{},right:{},bottom:{},left:{},boxShadow:{themeKey:"shadows"},width:{transform:s.EB},maxWidth:{style:s.kk},minWidth:{transform:s.EB},height:{transform:s.EB},maxHeight:{transform:s.EB},minHeight:{transform:s.EB},boxSizing:{},fontFamily:{themeKey:"typography"},fontSize:{themeKey:"typography"},fontStyle:{themeKey:"typography"},fontWeight:{themeKey:"typography"},letterSpacing:{},textTransform:{},lineHeight:{},textAlign:{},typography:{cssProperty:!1,themeKey:"typography"}}},39707:(e,t,n)=>{"use strict";n.d(t,{Z:()=>c});var r=n(87462),o=n(63366),i=n(59766),a=n(85265);const s=["sx"],l=e=>{var t,n;const r={systemProps:{},otherProps:{}},o=null!=(t=null==e||null==(n=e.theme)?void 0:n.unstable_sxConfig)?t:a.Z;return Object.keys(e).forEach((t=>{o[t]?r.systemProps[t]=e[t]:r.otherProps[t]=e[t]})),r};function c(e){const{sx:t}=e,n=(0,o.Z)(e,s),{systemProps:a,otherProps:c}=l(n);let u;return u=Array.isArray(t)?[a,...t]:"function"==typeof t?(...e)=>{const n=t(...e);return(0,i.P)(n)?(0,r.Z)({},a,n):a}:(0,r.Z)({},a,t),(0,r.Z)({},c,{sx:u})}},86523:(e,t,n)=>{"use strict";n.d(t,{Z:()=>c});var r=n(14142),o=n(47730),i=n(54844),a=n(95408),s=n(85265);const l=function(){function e(e,t,n,o){const s={[e]:t,theme:n},l=o[e];if(!l)return{[e]:t};const{cssProperty:c=e,themeKey:u,transform:d,style:p}=l;if(null==t)return null;if("typography"===u&&"inherit"===t)return{[e]:t};const f=(0,i.DW)(n,u)||{};if(p)return p(s);return(0,a.k9)(s,t,(t=>{let n=(0,i.Jq)(f,d,t);return t===n&&"string"==typeof t&&(n=(0,i.Jq)(f,d,`${e}${"default"===t?"":(0,r.Z)(t)}`,t)),!1===c?n:{[c]:n}}))}return function t(n){var r;const{sx:i,theme:l={}}=n||{};if(!i)return null;const c=null!=(r=l.unstable_sxConfig)?r:s.Z;function u(n){let r=n;if("function"==typeof n)r=n(l);else if("object"!=typeof n)return n;if(!r)return null;const i=(0,a.W8)(l.breakpoints),s=Object.keys(i);let u=i;return Object.keys(r).forEach((n=>{const i=(s=r[n],d=l,"function"==typeof s?s(d):s);var s,d;if(null!=i)if("object"==typeof i)if(c[n])u=(0,o.Z)(u,e(n,i,l,c));else{const e=(0,a.k9)({theme:l},i,(e=>({[n]:e})));!function(...e){const t=e.reduce(((e,t)=>e.concat(Object.keys(t))),[]),n=new Set(t);return e.every((e=>n.size===Object.keys(e).length))}(e,i)?u=(0,o.Z)(u,e):u[n]=t({sx:i,theme:l})}else u=(0,o.Z)(u,e(n,i,l,c))})),(0,a.L7)(s,u)}return Array.isArray(i)?i.map(u):u(i)}}();l.filterProps=["sx"];const c=l},13264:(e,t,n)=>{"use strict";n.d(t,{Z:()=>r});const r=(0,n(86154).ZP)()},96682:(e,t,n)=>{"use strict";n.d(t,{Z:()=>a});var r=n(10360),o=n(34168);const i=(0,r.Z)();const a=function(e=i){return(0,o.Z)(e)}},20539:(e,t,n)=>{"use strict";n.d(t,{Z:()=>o});var r=n(47925);function o(e){const{theme:t,name:n,props:o}=e;return t&&t.components&&t.components[n]&&t.components[n].defaultProps?(0,r.Z)(t.components[n].defaultProps,o):o}},29628:(e,t,n)=>{"use strict";n.d(t,{Z:()=>i});var r=n(20539),o=n(96682);function i({props:e,name:t,defaultTheme:n,themeId:i}){let a=(0,o.Z)(n);i&&(a=a[i]||a);return(0,r.Z)({theme:a,name:t,props:e})}},34168:(e,t,n)=>{"use strict";n.d(t,{Z:()=>i});var r=n(74570),o=n(75260);const i=function(e=null){const t=r.useContext(o.T);return t&&(n=t,0!==Object.keys(n).length)?t:e;var n}},37078:(e,t,n)=>{"use strict";n.d(t,{Z:()=>o});const r=e=>e,o=(()=>{let e=r;return{configure(t){e=t},generate:t=>e(t),reset(){e=r}}})()},14142:(e,t,n)=>{"use strict";n.d(t,{Z:()=>o});var r=n(71387);function o(e){if("string"!=typeof e)throw new Error((0,r.Z)(7));return e.charAt(0).toUpperCase()+e.slice(1)}},94780:(e,t,n)=>{"use strict";function r(e,t,n=void 0){const r={};return Object.keys(e).forEach((o=>{r[o]=e[o].reduce(((e,r)=>{if(r){const o=t(r);""!==o&&e.push(o),n&&n[r]&&e.push(n[r])}return e}),[]).join(" ")})),r}n.d(t,{Z:()=>r})},49064:(e,t,n)=>{"use strict";function r(...e){return e.reduce(((e,t)=>null==t?e:function(...n){e.apply(this,n),t.apply(this,n)}),(()=>{}))}n.d(t,{Z:()=>r})},39336:(e,t,n)=>{"use strict";function r(e,t=166){let n;function r(...r){clearTimeout(n),n=setTimeout((()=>{e.apply(this,r)}),t)}return r.clear=()=>{clearTimeout(n)},r}n.d(t,{Z:()=>r})},59766:(e,t,n)=>{"use strict";n.d(t,{P:()=>o,Z:()=>a});var r=n(87462);function o(e){return null!==e&&"object"==typeof e&&e.constructor===Object}function i(e){if(!o(e))return e;const t={};return Object.keys(e).forEach((n=>{t[n]=i(e[n])})),t}function a(e,t,n={clone:!0}){const s=n.clone?(0,r.Z)({},e):e;return o(e)&&o(t)&&Object.keys(t).forEach((r=>{"__proto__"!==r&&(o(t[r])&&r in e&&o(e[r])?s[r]=a(e[r],t[r],n):n.clone?s[r]=o(t[r])?i(t[r]):t[r]:s[r]=t[r])})),s}},71387:(e,t,n)=>{"use strict";function r(e){let t="https://mui.com/production-error/?code="+e;for(let n=1;n<arguments.length;n+=1)t+="&args[]="+encodeURIComponent(arguments[n]);return"Minified MUI error #"+e+"; visit "+t+" for the full message."}n.d(t,{Z:()=>r})},34867:(e,t,n)=>{"use strict";n.d(t,{Z:()=>i});var r=n(37078);const o={active:"active",checked:"checked",completed:"completed",disabled:"disabled",error:"error",expanded:"expanded",focused:"focused",focusVisible:"focusVisible",open:"open",readOnly:"readOnly",required:"required",selected:"selected"};function i(e,t,n="Mui"){const i=o[t];return i?`${n}-${i}`:`${r.Z.generate(e)}-${t}`}},1588:(e,t,n)=>{"use strict";n.d(t,{Z:()=>o});var r=n(34867);function o(e,t,n="Mui"){const o={};return t.forEach((t=>{o[t]=(0,r.Z)(e,t,n)})),o}},95806:(e,t,n)=>{"use strict";function r(e){const t=e.documentElement.clientWidth;return Math.abs(window.innerWidth-t)}n.d(t,{Z:()=>r})},18719:(e,t,n)=>{"use strict";n.d(t,{Z:()=>o});var r=n(74570);function o(e,t){return r.isValidElement(e)&&-1!==t.indexOf(e.type.muiName)}},82690:(e,t,n)=>{"use strict";function r(e){return e&&e.ownerDocument||document}n.d(t,{Z:()=>r})},74161:(e,t,n)=>{"use strict";n.d(t,{Z:()=>o});var r=n(82690);function o(e){return(0,r.Z)(e).defaultView||window}},47925:(e,t,n)=>{"use strict";n.d(t,{Z:()=>o});var r=n(87462);function o(e,t){const n=(0,r.Z)({},t);return Object.keys(e).forEach((i=>{if(i.toString().match(/^(components|slots)$/))n[i]=(0,r.Z)({},e[i],n[i]);else if(i.toString().match(/^(componentsProps|slotProps)$/)){const a=e[i]||{},s=t[i];n[i]={},s&&Object.keys(s)?a&&Object.keys(a)?(n[i]=(0,r.Z)({},s),Object.keys(a).forEach((e=>{n[i][e]=o(a[e],s[e])}))):n[i]=s:n[i]=a}else void 0===n[i]&&(n[i]=e[i])})),n}},7960:(e,t,n)=>{"use strict";function r(e,t){"function"==typeof e?e(t):e&&(e.current=t)}n.d(t,{Z:()=>r})},19032:(e,t,n)=>{"use strict";n.d(t,{Z:()=>o});var r=n(74570);function o({controlled:e,default:t,name:n,state:o="value"}){const{current:i}=r.useRef(void 0!==e),[a,s]=r.useState(t);return[i?e:a,r.useCallback((e=>{i||s(e)}),[])]}},73546:(e,t,n)=>{"use strict";n.d(t,{Z:()=>o});var r=n(74570);const o="undefined"!=typeof window?r.useLayoutEffect:r.useEffect},59948:(e,t,n)=>{"use strict";n.d(t,{Z:()=>i});var r=n(74570),o=n(73546);const i=function(e){const t=r.useRef(e);return(0,o.Z)((()=>{t.current=e})),r.useCallback(((...e)=>(0,t.current)(...e)),[])}},33703:(e,t,n)=>{"use strict";n.d(t,{Z:()=>i});var r=n(74570),o=n(7960);function i(...e){return r.useMemo((()=>e.every((e=>null==e))?null:t=>{e.forEach((e=>{(0,o.Z)(e,t)}))}),e)}},92996:(e,t,n)=>{"use strict";n.d(t,{Z:()=>a});var r=n(74570);let o=0;const i=r["useId".toString()];function a(e){if(void 0!==i){const t=i();return null!=e?e:t}return function(e){const[t,n]=r.useState(e),i=e||t;return r.useEffect((()=>{null==t&&(o+=1,n(`mui-${o}`))}),[t]),i}(e)}},99962:(e,t,n)=>{"use strict";n.d(t,{Z:()=>p});var r=n(74570);let o,i=!0,a=!1;const s={text:!0,search:!0,url:!0,tel:!0,email:!0,password:!0,number:!0,date:!0,month:!0,week:!0,time:!0,datetime:!0,"datetime-local":!0};function l(e){e.metaKey||e.altKey||e.ctrlKey||(i=!0)}function c(){i=!1}function u(){"hidden"===this.visibilityState&&a&&(i=!0)}function d(e){const{target:t}=e;try{return t.matches(":focus-visible")}catch(n){}return i||function(e){const{type:t,tagName:n}=e;return!("INPUT"!==n||!s[t]||e.readOnly)||"TEXTAREA"===n&&!e.readOnly||!!e.isContentEditable}(t)}function p(){const e=r.useCallback((e=>{var t;null!=e&&((t=e.ownerDocument).addEventListener("keydown",l,!0),t.addEventListener("mousedown",c,!0),t.addEventListener("pointerdown",c,!0),t.addEventListener("touchstart",c,!0),t.addEventListener("visibilitychange",u,!0))}),[]),t=r.useRef(!1);return{isFocusVisibleRef:t,onFocus:function(e){return!!d(e)&&(t.current=!0,!0)},onBlur:function(){return!!t.current&&(a=!0,window.clearTimeout(o),o=window.setTimeout((()=>{a=!1}),100),t.current=!1,!0)},ref:e}}},2097:(e,t,n)=>{"use strict";n.d(t,{Z:()=>o});var r=n(74570);const o=e=>{const t=r.useRef({});return r.useEffect((()=>{t.current=e})),t.current}},13113:(e,t,n)=>{"use strict";n.d(t,{Z:()=>r});const r={border:0,clip:"rect(0 0 0 0)",height:"1px",margin:-1,overflow:"hidden",padding:0,position:"absolute",whiteSpace:"nowrap",width:"1px"}},89188:(e,t,n)=>{"use strict";n.d(t,{kZ:()=>f});var r=n(26143),o=n(40583),i=n(7994),a=n(21955),s=n(50380),l=n(98293),c=n(3),u=n(62556),d={placement:"bottom",modifiers:[],strategy:"absolute"};function p(){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 f(e){void 0===e&&(e={});var t=e,n=t.defaultModifiers,f=void 0===n?[]:n,h=t.defaultOptions,m=void 0===h?d:h;return function(e,t,n){void 0===n&&(n=m);var h={placement:"bottom",orderedModifiers:[],options:Object.assign({},d,m),modifiersData:{},elements:{reference:e,popper:t},attributes:{},styles:{}},v=[],g=!1,y={state:h,setOptions:function(n){var r="function"==typeof n?n(h.options):n;b(),h.options=Object.assign({},m,h.options,r),h.scrollParents={reference:(0,u.kK)(e)?(0,i.Z)(e):e.contextElement?(0,i.Z)(e.contextElement):[],popper:(0,i.Z)(t)};var o=(0,s.Z)((0,c.Z)([].concat(f,h.options.modifiers)));return h.orderedModifiers=o.filter((function(e){return e.enabled})),h.orderedModifiers.forEach((function(e){var t=e.name,n=e.options,r=void 0===n?{}:n,o=e.effect;if("function"==typeof o){var i=o({state:h,name:t,instance:y,options:r}),a=function(){};v.push(i||a)}})),y.update()},forceUpdate:function(){if(!g){var e=h.elements,t=e.reference,n=e.popper;if(p(t,n)){h.rects={reference:(0,r.Z)(t,(0,a.Z)(n),"fixed"===h.options.strategy),popper:(0,o.Z)(n)},h.reset=!1,h.placement=h.options.placement,h.orderedModifiers.forEach((function(e){return h.modifiersData[e.name]=Object.assign({},e.data)}));for(var i=0;i<h.orderedModifiers.length;i++)if(!0!==h.reset){var s=h.orderedModifiers[i],l=s.fn,c=s.options,u=void 0===c?{}:c,d=s.name;"function"==typeof l&&(h=l({state:h,options:u,name:d,instance:y})||h)}else h.reset=!1,i=-1}}},update:(0,l.Z)((function(){return new Promise((function(e){y.forceUpdate(),e(h)}))})),destroy:function(){b(),g=!0}};if(!p(e,t))return y;function b(){v.forEach((function(e){return e()})),v=[]}return y.setOptions(n).then((function(e){!g&&n.onFirstUpdate&&n.onFirstUpdate(e)})),y}}},94985:(e,t,n)=>{"use strict";n.d(t,{Z:()=>o});var r=n(62556);function o(e,t){var n=t.getRootNode&&t.getRootNode();if(e.contains(t))return!0;if(n&&(0,r.Zq)(n)){var o=t;do{if(o&&e.isSameNode(o))return!0;o=o.parentNode||o.host}while(o)}return!1}},50400:(e,t,n)=>{"use strict";n.d(t,{Z:()=>s});var r=n(62556),o=n(138),i=n(62057),a=n(67977);function s(e,t,n){void 0===t&&(t=!1),void 0===n&&(n=!1);var s=e.getBoundingClientRect(),l=1,c=1;t&&(0,r.Re)(e)&&(l=e.offsetWidth>0&&(0,o.NM)(s.width)/e.offsetWidth||1,c=e.offsetHeight>0&&(0,o.NM)(s.height)/e.offsetHeight||1);var u=((0,r.kK)(e)?(0,i.Z)(e):window).visualViewport,d=!(0,a.Z)()&&n,p=(s.left+(d&&u?u.offsetLeft:0))/l,f=(s.top+(d&&u?u.offsetTop:0))/c,h=s.width/l,m=s.height/c;return{width:h,height:m,top:f,right:p+h,bottom:f+m,left:p,x:p,y:f}}},21437:(e,t,n)=>{"use strict";n.d(t,{Z:()=>y});var r=n(87701),o=n(3155),i=n(27723),a=n(7994),s=n(21955),l=n(67252),c=n(43062),u=n(62556),d=n(50400),p=n(95923),f=n(94985),h=n(96333),m=n(65626),v=n(138);function g(e,t,n){return t===r.Pj?(0,m.Z)((0,o.Z)(e,n)):(0,u.kK)(t)?function(e,t){var n=(0,d.Z)(e,!1,"fixed"===t);return n.top=n.top+e.clientTop,n.left=n.left+e.clientLeft,n.bottom=n.top+e.clientHeight,n.right=n.left+e.clientWidth,n.width=e.clientWidth,n.height=e.clientHeight,n.x=n.left,n.y=n.top,n}(t,n):(0,m.Z)((0,i.Z)((0,l.Z)(e)))}function y(e,t,n,r){var o="clippingParents"===t?function(e){var t=(0,a.Z)((0,p.Z)(e)),n=["absolute","fixed"].indexOf((0,c.Z)(e).position)>=0&&(0,u.Re)(e)?(0,s.Z)(e):e;return(0,u.kK)(n)?t.filter((function(e){return(0,u.kK)(e)&&(0,f.Z)(e,n)&&"body"!==(0,h.Z)(e)})):[]}(e):[].concat(t),i=[].concat(o,[n]),l=i[0],d=i.reduce((function(t,n){var o=g(e,n,r);return t.top=(0,v.Fp)(o.top,t.top),t.right=(0,v.VV)(o.right,t.right),t.bottom=(0,v.VV)(o.bottom,t.bottom),t.left=(0,v.Fp)(o.left,t.left),t}),g(e,l,r));return d.width=d.right-d.left,d.height=d.bottom-d.top,d.x=d.left,d.y=d.top,d}},26143:(e,t,n)=>{"use strict";n.d(t,{Z:()=>d});var r=n(50400),o=n(64782),i=n(96333),a=n(62556),s=n(4063),l=n(67252),c=n(60611),u=n(138);function d(e,t,n){void 0===n&&(n=!1);var d=(0,a.Re)(t),p=(0,a.Re)(t)&&function(e){var t=e.getBoundingClientRect(),n=(0,u.NM)(t.width)/e.offsetWidth||1,r=(0,u.NM)(t.height)/e.offsetHeight||1;return 1!==n||1!==r}(t),f=(0,l.Z)(t),h=(0,r.Z)(e,p,n),m={scrollLeft:0,scrollTop:0},v={x:0,y:0};return(d||!d&&!n)&&(("body"!==(0,i.Z)(t)||(0,c.Z)(f))&&(m=(0,o.Z)(t)),(0,a.Re)(t)?((v=(0,r.Z)(t,!0)).x+=t.clientLeft,v.y+=t.clientTop):f&&(v.x=(0,s.Z)(f))),{x:h.left+m.scrollLeft-v.x,y:h.top+m.scrollTop-v.y,width:h.width,height:h.height}}},43062:(e,t,n)=>{"use strict";n.d(t,{Z:()=>o});var r=n(62057);function o(e){return(0,r.Z)(e).getComputedStyle(e)}},67252:(e,t,n)=>{"use strict";n.d(t,{Z:()=>o});var r=n(62556);function o(e){return(((0,r.kK)(e)?e.ownerDocument:e.document)||window.document).documentElement}},27723:(e,t,n)=>{"use strict";n.d(t,{Z:()=>l});var r=n(67252),o=n(43062),i=n(4063),a=n(82163),s=n(138);function l(e){var t,n=(0,r.Z)(e),l=(0,a.Z)(e),c=null==(t=e.ownerDocument)?void 0:t.body,u=(0,s.Fp)(n.scrollWidth,n.clientWidth,c?c.scrollWidth:0,c?c.clientWidth:0),d=(0,s.Fp)(n.scrollHeight,n.clientHeight,c?c.scrollHeight:0,c?c.clientHeight:0),p=-l.scrollLeft+(0,i.Z)(e),f=-l.scrollTop;return"rtl"===(0,o.Z)(c||n).direction&&(p+=(0,s.Fp)(n.clientWidth,c?c.clientWidth:0)-u),{width:u,height:d,x:p,y:f}}},18328:(e,t,n)=>{"use strict";function r(e){return{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}}n.d(t,{Z:()=>r})},40583:(e,t,n)=>{"use strict";n.d(t,{Z:()=>o});var r=n(50400);function o(e){var t=(0,r.Z)(e),n=e.offsetWidth,o=e.offsetHeight;return Math.abs(t.width-n)<=1&&(n=t.width),Math.abs(t.height-o)<=1&&(o=t.height),{x:e.offsetLeft,y:e.offsetTop,width:n,height:o}}},96333:(e,t,n)=>{"use strict";function r(e){return e?(e.nodeName||"").toLowerCase():null}n.d(t,{Z:()=>r})},64782:(e,t,n)=>{"use strict";n.d(t,{Z:()=>s});var r=n(82163),o=n(62057),i=n(62556),a=n(18328);function s(e){return e!==(0,o.Z)(e)&&(0,i.Re)(e)?(0,a.Z)(e):(0,r.Z)(e)}},21955:(e,t,n)=>{"use strict";n.d(t,{Z:()=>d});var r=n(62057),o=n(96333),i=n(43062),a=n(62556),s=n(67313),l=n(95923),c=n(85918);function u(e){return(0,a.Re)(e)&&"fixed"!==(0,i.Z)(e).position?e.offsetParent:null}function d(e){for(var t=(0,r.Z)(e),n=u(e);n&&(0,s.Z)(n)&&"static"===(0,i.Z)(n).position;)n=u(n);return n&&("html"===(0,o.Z)(n)||"body"===(0,o.Z)(n)&&"static"===(0,i.Z)(n).position)?t:n||function(e){var t=/firefox/i.test((0,c.Z)());if(/Trident/i.test((0,c.Z)())&&(0,a.Re)(e)&&"fixed"===(0,i.Z)(e).position)return null;var n=(0,l.Z)(e);for((0,a.Zq)(n)&&(n=n.host);(0,a.Re)(n)&&["html","body"].indexOf((0,o.Z)(n))<0;){var r=(0,i.Z)(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}},95923:(e,t,n)=>{"use strict";n.d(t,{Z:()=>a});var r=n(96333),o=n(67252),i=n(62556);function a(e){return"html"===(0,r.Z)(e)?e:e.assignedSlot||e.parentNode||((0,i.Zq)(e)?e.host:null)||(0,o.Z)(e)}},97523:(e,t,n)=>{"use strict";n.d(t,{Z:()=>s});var r=n(95923),o=n(60611),i=n(96333),a=n(62556);function s(e){return["html","body","#document"].indexOf((0,i.Z)(e))>=0?e.ownerDocument.body:(0,a.Re)(e)&&(0,o.Z)(e)?e:s((0,r.Z)(e))}},3155:(e,t,n)=>{"use strict";n.d(t,{Z:()=>s});var r=n(62057),o=n(67252),i=n(4063),a=n(67977);function s(e,t){var n=(0,r.Z)(e),s=(0,o.Z)(e),l=n.visualViewport,c=s.clientWidth,u=s.clientHeight,d=0,p=0;if(l){c=l.width,u=l.height;var f=(0,a.Z)();(f||!f&&"fixed"===t)&&(d=l.offsetLeft,p=l.offsetTop)}return{width:c,height:u,x:d+(0,i.Z)(e),y:p}}},62057:(e,t,n)=>{"use strict";function r(e){if(null==e)return window;if("[object Window]"!==e.toString()){var t=e.ownerDocument;return t&&t.defaultView||window}return e}n.d(t,{Z:()=>r})},82163:(e,t,n)=>{"use strict";n.d(t,{Z:()=>o});var r=n(62057);function o(e){var t=(0,r.Z)(e);return{scrollLeft:t.pageXOffset,scrollTop:t.pageYOffset}}},4063:(e,t,n)=>{"use strict";n.d(t,{Z:()=>a});var r=n(50400),o=n(67252),i=n(82163);function a(e){return(0,r.Z)((0,o.Z)(e)).left+(0,i.Z)(e).scrollLeft}},62556:(e,t,n)=>{"use strict";n.d(t,{Re:()=>i,Zq:()=>a,kK:()=>o});var r=n(62057);function o(e){return e instanceof(0,r.Z)(e).Element||e instanceof Element}function i(e){return e instanceof(0,r.Z)(e).HTMLElement||e instanceof HTMLElement}function a(e){return"undefined"!=typeof ShadowRoot&&(e instanceof(0,r.Z)(e).ShadowRoot||e instanceof ShadowRoot)}},67977:(e,t,n)=>{"use strict";n.d(t,{Z:()=>o});var r=n(85918);function o(){return!/^((?!chrome|android).)*safari/i.test((0,r.Z)())}},60611:(e,t,n)=>{"use strict";n.d(t,{Z:()=>o});var r=n(43062);function o(e){var t=(0,r.Z)(e),n=t.overflow,o=t.overflowX,i=t.overflowY;return/auto|scroll|overlay|hidden/.test(n+i+o)}},67313:(e,t,n)=>{"use strict";n.d(t,{Z:()=>o});var r=n(96333);function o(e){return["table","td","th"].indexOf((0,r.Z)(e))>=0}},7994:(e,t,n)=>{"use strict";n.d(t,{Z:()=>s});var r=n(97523),o=n(95923),i=n(62057),a=n(60611);function s(e,t){var n;void 0===t&&(t=[]);var l=(0,r.Z)(e),c=l===(null==(n=e.ownerDocument)?void 0:n.body),u=(0,i.Z)(l),d=c?[u].concat(u.visualViewport||[],(0,a.Z)(l)?l:[]):l,p=t.concat(d);return c?p:p.concat(s((0,o.Z)(d)))}},87701:(e,t,n)=>{"use strict";n.d(t,{BL:()=>c,Ct:()=>v,F2:()=>i,I:()=>o,Pj:()=>p,YP:()=>h,bw:()=>m,d7:()=>s,k5:()=>f,mv:()=>l,t$:()=>a,ut:()=>u,we:()=>r,xs:()=>g,zV:()=>d});var r="top",o="bottom",i="right",a="left",s="auto",l=[r,o,i,a],c="start",u="end",d="clippingParents",p="viewport",f="popper",h="reference",m=l.reduce((function(e,t){return e.concat([t+"-"+c,t+"-"+u])}),[]),v=[].concat(l,[s]).reduce((function(e,t){return e.concat([t,t+"-"+c,t+"-"+u])}),[]),g=["beforeRead","read","afterRead","beforeMain","main","afterMain","beforeWrite","write","afterWrite"]},17824:(e,t,n)=>{"use strict";n.d(t,{Z:()=>i});var r=n(96333),o=n(62556);const i={name:"applyStyles",enabled:!0,phase:"write",fn:function(e){var t=e.state;Object.keys(t.elements).forEach((function(e){var n=t.styles[e]||{},i=t.attributes[e]||{},a=t.elements[e];(0,o.Re)(a)&&(0,r.Z)(a)&&(Object.assign(a.style,n),Object.keys(i).forEach((function(e){var t=i[e];!1===t?a.removeAttribute(e):a.setAttribute(e,!0===t?"":t)})))}))},effect:function(e){var t=e.state,n={popper:{position:t.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(t.elements.popper.style,n.popper),t.styles=n,t.elements.arrow&&Object.assign(t.elements.arrow.style,n.arrow),function(){Object.keys(t.elements).forEach((function(e){var i=t.elements[e],a=t.attributes[e]||{},s=Object.keys(t.styles.hasOwnProperty(e)?t.styles[e]:n[e]).reduce((function(e,t){return e[t]="",e}),{});(0,o.Re)(i)&&(0,r.Z)(i)&&(Object.assign(i.style,s),Object.keys(a).forEach((function(e){i.removeAttribute(e)})))}))}},requires:["computeStyles"]}},66896:(e,t,n)=>{"use strict";n.d(t,{Z:()=>p});var r=n(6206),o=n(40583),i=n(94985),a=n(21955),s=n(11516),l=n(57516),c=n(63293),u=n(33706),d=n(87701);const p={name:"arrow",enabled:!0,phase:"main",fn:function(e){var t,n=e.state,i=e.name,p=e.options,f=n.elements.arrow,h=n.modifiersData.popperOffsets,m=(0,r.Z)(n.placement),v=(0,s.Z)(m),g=[d.t$,d.F2].indexOf(m)>=0?"height":"width";if(f&&h){var y=function(e,t){return e="function"==typeof e?e(Object.assign({},t.rects,{placement:t.placement})):e,(0,c.Z)("number"!=typeof e?e:(0,u.Z)(e,d.mv))}(p.padding,n),b=(0,o.Z)(f),w="y"===v?d.we:d.t$,x="y"===v?d.I:d.F2,k=n.rects.reference[g]+n.rects.reference[v]-h[v]-n.rects.popper[g],S=h[v]-n.rects.reference[v],C=(0,a.Z)(f),E=C?"y"===v?C.clientHeight||0:C.clientWidth||0:0,T=k/2-S/2,O=y[w],$=E-b[g]-y[x],M=E/2-b[g]/2+T,A=(0,l.u)(O,M,$),D=v;n.modifiersData[i]=((t={})[D]=A,t.centerOffset=A-M,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)))&&(0,i.Z)(t.elements.popper,r)&&(t.elements.arrow=r)},requires:["popperOffsets"],requiresIfExists:["preventOverflow"]}},36531:(e,t,n)=>{"use strict";n.d(t,{Z:()=>f});var r=n(87701),o=n(21955),i=n(62057),a=n(67252),s=n(43062),l=n(6206),c=n(14943),u=n(138),d={top:"auto",right:"auto",bottom:"auto",left:"auto"};function p(e){var t,n=e.popper,l=e.popperRect,c=e.placement,p=e.variation,f=e.offsets,h=e.position,m=e.gpuAcceleration,v=e.adaptive,g=e.roundOffsets,y=e.isFixed,b=f.x,w=void 0===b?0:b,x=f.y,k=void 0===x?0:x,S="function"==typeof g?g({x:w,y:k}):{x:w,y:k};w=S.x,k=S.y;var C=f.hasOwnProperty("x"),E=f.hasOwnProperty("y"),T=r.t$,O=r.we,$=window;if(v){var M=(0,o.Z)(n),A="clientHeight",D="clientWidth";if(M===(0,i.Z)(n)&&(M=(0,a.Z)(n),"static"!==(0,s.Z)(M).position&&"absolute"===h&&(A="scrollHeight",D="scrollWidth")),c===r.we||(c===r.t$||c===r.F2)&&p===r.ut)O=r.I,k-=(y&&M===$&&$.visualViewport?$.visualViewport.height:M[A])-l.height,k*=m?1:-1;if(c===r.t$||(c===r.we||c===r.I)&&p===r.ut)T=r.F2,w-=(y&&M===$&&$.visualViewport?$.visualViewport.width:M[D])-l.width,w*=m?1:-1}var L,N=Object.assign({position:h},v&&d),R=!0===g?function(e,t){var n=e.x,r=e.y,o=t.devicePixelRatio||1;return{x:(0,u.NM)(n*o)/o||0,y:(0,u.NM)(r*o)/o||0}}({x:w,y:k},(0,i.Z)(n)):{x:w,y:k};return w=R.x,k=R.y,m?Object.assign({},N,((L={})[O]=E?"0":"",L[T]=C?"0":"",L.transform=($.devicePixelRatio||1)<=1?"translate("+w+"px, "+k+"px)":"translate3d("+w+"px, "+k+"px, 0)",L)):Object.assign({},N,((t={})[O]=E?k+"px":"",t[T]=C?w+"px":"",t.transform="",t))}const f={name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:function(e){var t=e.state,n=e.options,r=n.gpuAcceleration,o=void 0===r||r,i=n.adaptive,a=void 0===i||i,s=n.roundOffsets,u=void 0===s||s,d={placement:(0,l.Z)(t.placement),variation:(0,c.Z)(t.placement),popper:t.elements.popper,popperRect:t.rects.popper,gpuAcceleration:o,isFixed:"fixed"===t.options.strategy};null!=t.modifiersData.popperOffsets&&(t.styles.popper=Object.assign({},t.styles.popper,p(Object.assign({},d,{offsets:t.modifiersData.popperOffsets,position:t.options.strategy,adaptive:a,roundOffsets:u})))),null!=t.modifiersData.arrow&&(t.styles.arrow=Object.assign({},t.styles.arrow,p(Object.assign({},d,{offsets:t.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:u})))),t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-placement":t.placement})},data:{}}},82372:(e,t,n)=>{"use strict";n.d(t,{Z:()=>i});var r=n(62057),o={passive:!0};const i={name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:function(e){var t=e.state,n=e.instance,i=e.options,a=i.scroll,s=void 0===a||a,l=i.resize,c=void 0===l||l,u=(0,r.Z)(t.elements.popper),d=[].concat(t.scrollParents.reference,t.scrollParents.popper);return s&&d.forEach((function(e){e.addEventListener("scroll",n.update,o)})),c&&u.addEventListener("resize",n.update,o),function(){s&&d.forEach((function(e){e.removeEventListener("scroll",n.update,o)})),c&&u.removeEventListener("resize",n.update,o)}},data:{}}},4927:(e,t,n)=>{"use strict";n.d(t,{Z:()=>u});var r=n(30697),o=n(6206),i=n(30483),a=n(23161),s=n(86413),l=n(87701),c=n(14943);const u={name:"flip",enabled:!0,phase:"main",fn:function(e){var t=e.state,n=e.options,u=e.name;if(!t.modifiersData[u]._skip){for(var d=n.mainAxis,p=void 0===d||d,f=n.altAxis,h=void 0===f||f,m=n.fallbackPlacements,v=n.padding,g=n.boundary,y=n.rootBoundary,b=n.altBoundary,w=n.flipVariations,x=void 0===w||w,k=n.allowedAutoPlacements,S=t.options.placement,C=(0,o.Z)(S),E=m||(C===S||!x?[(0,r.Z)(S)]:function(e){if((0,o.Z)(e)===l.d7)return[];var t=(0,r.Z)(e);return[(0,i.Z)(e),t,(0,i.Z)(t)]}(S)),T=[S].concat(E).reduce((function(e,n){return e.concat((0,o.Z)(n)===l.d7?(0,s.Z)(t,{placement:n,boundary:g,rootBoundary:y,padding:v,flipVariations:x,allowedAutoPlacements:k}):n)}),[]),O=t.rects.reference,$=t.rects.popper,M=new Map,A=!0,D=T[0],L=0;L<T.length;L++){var N=T[L],R=(0,o.Z)(N),I=(0,c.Z)(N)===l.BL,P=[l.we,l.I].indexOf(R)>=0,Z=P?"width":"height",_=(0,a.Z)(t,{placement:N,boundary:g,rootBoundary:y,altBoundary:b,padding:v}),F=P?I?l.F2:l.t$:I?l.I:l.we;O[Z]>$[Z]&&(F=(0,r.Z)(F));var j=(0,r.Z)(F),B=[];if(p&&B.push(_[R]<=0),h&&B.push(_[F]<=0,_[j]<=0),B.every((function(e){return e}))){D=N,A=!1;break}M.set(N,B)}if(A)for(var z=function(e){var t=T.find((function(t){var n=M.get(t);if(n)return n.slice(0,e).every((function(e){return e}))}));if(t)return D=t,"break"},H=x?3:1;H>0;H--){if("break"===z(H))break}t.placement!==D&&(t.modifiersData[u]._skip=!0,t.placement=D,t.reset=!0)}},requiresIfExists:["offset"],data:{_skip:!1}}},19892:(e,t,n)=>{"use strict";n.d(t,{Z:()=>s});var r=n(87701),o=n(23161);function i(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 a(e){return[r.we,r.F2,r.I,r.t$].some((function(t){return e[t]>=0}))}const s={name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:function(e){var t=e.state,n=e.name,r=t.rects.reference,s=t.rects.popper,l=t.modifiersData.preventOverflow,c=(0,o.Z)(t,{elementContext:"reference"}),u=(0,o.Z)(t,{altBoundary:!0}),d=i(c,r),p=i(u,s,l),f=a(d),h=a(p);t.modifiersData[n]={referenceClippingOffsets:d,popperEscapeOffsets:p,isReferenceHidden:f,hasPopperEscaped:h},t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-reference-hidden":f,"data-popper-escaped":h})}}},82122:(e,t,n)=>{"use strict";n.d(t,{Z:()=>i});var r=n(6206),o=n(87701);const i={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:function(e){var t=e.state,n=e.options,i=e.name,a=n.offset,s=void 0===a?[0,0]:a,l=o.Ct.reduce((function(e,n){return e[n]=function(e,t,n){var i=(0,r.Z)(e),a=[o.t$,o.we].indexOf(i)>=0?-1:1,s="function"==typeof n?n(Object.assign({},t,{placement:e})):n,l=s[0],c=s[1];return l=l||0,c=(c||0)*a,[o.t$,o.F2].indexOf(i)>=0?{x:c,y:l}:{x:l,y:c}}(n,t.rects,s),e}),{}),c=l[t.placement],u=c.x,d=c.y;null!=t.modifiersData.popperOffsets&&(t.modifiersData.popperOffsets.x+=u,t.modifiersData.popperOffsets.y+=d),t.modifiersData[i]=l}}},77421:(e,t,n)=>{"use strict";n.d(t,{Z:()=>o});var r=n(72581);const o={name:"popperOffsets",enabled:!0,phase:"read",fn:function(e){var t=e.state,n=e.name;t.modifiersData[n]=(0,r.Z)({reference:t.rects.reference,element:t.rects.popper,strategy:"absolute",placement:t.placement})},data:{}}},5219:(e,t,n)=>{"use strict";n.d(t,{Z:()=>h});var r=n(87701),o=n(6206),i=n(11516),a=n(73967),s=n(57516),l=n(40583),c=n(21955),u=n(23161),d=n(14943),p=n(23607),f=n(138);const h={name:"preventOverflow",enabled:!0,phase:"main",fn:function(e){var t=e.state,n=e.options,h=e.name,m=n.mainAxis,v=void 0===m||m,g=n.altAxis,y=void 0!==g&&g,b=n.boundary,w=n.rootBoundary,x=n.altBoundary,k=n.padding,S=n.tether,C=void 0===S||S,E=n.tetherOffset,T=void 0===E?0:E,O=(0,u.Z)(t,{boundary:b,rootBoundary:w,padding:k,altBoundary:x}),$=(0,o.Z)(t.placement),M=(0,d.Z)(t.placement),A=!M,D=(0,i.Z)($),L=(0,a.Z)(D),N=t.modifiersData.popperOffsets,R=t.rects.reference,I=t.rects.popper,P="function"==typeof T?T(Object.assign({},t.rects,{placement:t.placement})):T,Z="number"==typeof P?{mainAxis:P,altAxis:P}:Object.assign({mainAxis:0,altAxis:0},P),_=t.modifiersData.offset?t.modifiersData.offset[t.placement]:null,F={x:0,y:0};if(N){if(v){var j,B="y"===D?r.we:r.t$,z="y"===D?r.I:r.F2,H="y"===D?"height":"width",U=N[D],W=U+O[B],V=U-O[z],q=C?-I[H]/2:0,G=M===r.BL?R[H]:I[H],K=M===r.BL?-I[H]:-R[H],Y=t.elements.arrow,X=C&&Y?(0,l.Z)(Y):{width:0,height:0},J=t.modifiersData["arrow#persistent"]?t.modifiersData["arrow#persistent"].padding:(0,p.Z)(),Q=J[B],ee=J[z],te=(0,s.u)(0,R[H],X[H]),ne=A?R[H]/2-q-te-Q-Z.mainAxis:G-te-Q-Z.mainAxis,re=A?-R[H]/2+q+te+ee+Z.mainAxis:K+te+ee+Z.mainAxis,oe=t.elements.arrow&&(0,c.Z)(t.elements.arrow),ie=oe?"y"===D?oe.clientTop||0:oe.clientLeft||0:0,ae=null!=(j=null==_?void 0:_[D])?j:0,se=U+ne-ae-ie,le=U+re-ae,ce=(0,s.u)(C?(0,f.VV)(W,se):W,U,C?(0,f.Fp)(V,le):V);N[D]=ce,F[D]=ce-U}if(y){var ue,de="x"===D?r.we:r.t$,pe="x"===D?r.I:r.F2,fe=N[L],he="y"===L?"height":"width",me=fe+O[de],ve=fe-O[pe],ge=-1!==[r.we,r.t$].indexOf($),ye=null!=(ue=null==_?void 0:_[L])?ue:0,be=ge?me:fe-R[he]-I[he]-ye+Z.altAxis,we=ge?fe+R[he]+I[he]-ye-Z.altAxis:ve,xe=C&&ge?(0,s.q)(be,fe,we):(0,s.u)(C?be:me,fe,C?we:ve);N[L]=xe,F[L]=xe-fe}t.modifiersData[h]=F}},requiresIfExists:["offset"]}},20804:(e,t,n)=>{"use strict";n.d(t,{fi:()=>h});var r=n(89188),o=n(82372),i=n(77421),a=n(36531),s=n(17824),l=n(82122),c=n(4927),u=n(5219),d=n(66896),p=n(19892),f=[o.Z,i.Z,a.Z,s.Z,l.Z,c.Z,u.Z,d.Z,p.Z],h=(0,r.kZ)({defaultModifiers:f})},86413:(e,t,n)=>{"use strict";n.d(t,{Z:()=>s});var r=n(14943),o=n(87701),i=n(23161),a=n(6206);function s(e,t){void 0===t&&(t={});var n=t,s=n.placement,l=n.boundary,c=n.rootBoundary,u=n.padding,d=n.flipVariations,p=n.allowedAutoPlacements,f=void 0===p?o.Ct:p,h=(0,r.Z)(s),m=h?d?o.bw:o.bw.filter((function(e){return(0,r.Z)(e)===h})):o.mv,v=m.filter((function(e){return f.indexOf(e)>=0}));0===v.length&&(v=m);var g=v.reduce((function(t,n){return t[n]=(0,i.Z)(e,{placement:n,boundary:l,rootBoundary:c,padding:u})[(0,a.Z)(n)],t}),{});return Object.keys(g).sort((function(e,t){return g[e]-g[t]}))}},72581:(e,t,n)=>{"use strict";n.d(t,{Z:()=>s});var r=n(6206),o=n(14943),i=n(11516),a=n(87701);function s(e){var t,n=e.reference,s=e.element,l=e.placement,c=l?(0,r.Z)(l):null,u=l?(0,o.Z)(l):null,d=n.x+n.width/2-s.width/2,p=n.y+n.height/2-s.height/2;switch(c){case a.we:t={x:d,y:n.y-s.height};break;case a.I:t={x:d,y:n.y+n.height};break;case a.F2:t={x:n.x+n.width,y:p};break;case a.t$:t={x:n.x-s.width,y:p};break;default:t={x:n.x,y:n.y}}var f=c?(0,i.Z)(c):null;if(null!=f){var h="y"===f?"height":"width";switch(u){case a.BL:t[f]=t[f]-(n[h]/2-s[h]/2);break;case a.ut:t[f]=t[f]+(n[h]/2-s[h]/2)}}return t}},98293:(e,t,n)=>{"use strict";function r(e){var t;return function(){return t||(t=new Promise((function(n){Promise.resolve().then((function(){t=void 0,n(e())}))}))),t}}n.d(t,{Z:()=>r})},23161:(e,t,n)=>{"use strict";n.d(t,{Z:()=>p});var r=n(21437),o=n(67252),i=n(50400),a=n(72581),s=n(65626),l=n(87701),c=n(62556),u=n(63293),d=n(33706);function p(e,t){void 0===t&&(t={});var n=t,p=n.placement,f=void 0===p?e.placement:p,h=n.strategy,m=void 0===h?e.strategy:h,v=n.boundary,g=void 0===v?l.zV:v,y=n.rootBoundary,b=void 0===y?l.Pj:y,w=n.elementContext,x=void 0===w?l.k5:w,k=n.altBoundary,S=void 0!==k&&k,C=n.padding,E=void 0===C?0:C,T=(0,u.Z)("number"!=typeof E?E:(0,d.Z)(E,l.mv)),O=x===l.k5?l.YP:l.k5,$=e.rects.popper,M=e.elements[S?O:x],A=(0,r.Z)((0,c.kK)(M)?M:M.contextElement||(0,o.Z)(e.elements.popper),g,b,m),D=(0,i.Z)(e.elements.reference),L=(0,a.Z)({reference:D,element:$,strategy:"absolute",placement:f}),N=(0,s.Z)(Object.assign({},$,L)),R=x===l.k5?N:D,I={top:A.top-R.top+T.top,bottom:R.bottom-A.bottom+T.bottom,left:A.left-R.left+T.left,right:R.right-A.right+T.right},P=e.modifiersData.offset;if(x===l.k5&&P){var Z=P[f];Object.keys(I).forEach((function(e){var t=[l.F2,l.I].indexOf(e)>=0?1:-1,n=[l.we,l.I].indexOf(e)>=0?"y":"x";I[e]+=Z[n]*t}))}return I}},33706:(e,t,n)=>{"use strict";function r(e,t){return t.reduce((function(t,n){return t[n]=e,t}),{})}n.d(t,{Z:()=>r})},73967:(e,t,n)=>{"use strict";function r(e){return"x"===e?"y":"x"}n.d(t,{Z:()=>r})},6206:(e,t,n)=>{"use strict";function r(e){return e.split("-")[0]}n.d(t,{Z:()=>r})},23607:(e,t,n)=>{"use strict";function r(){return{top:0,right:0,bottom:0,left:0}}n.d(t,{Z:()=>r})},11516:(e,t,n)=>{"use strict";function r(e){return["top","bottom"].indexOf(e)>=0?"x":"y"}n.d(t,{Z:()=>r})},30697:(e,t,n)=>{"use strict";n.d(t,{Z:()=>o});var r={left:"right",right:"left",bottom:"top",top:"bottom"};function o(e){return e.replace(/left|right|bottom|top/g,(function(e){return r[e]}))}},30483:(e,t,n)=>{"use strict";n.d(t,{Z:()=>o});var r={start:"end",end:"start"};function o(e){return e.replace(/start|end/g,(function(e){return r[e]}))}},14943:(e,t,n)=>{"use strict";function r(e){return e.split("-")[1]}n.d(t,{Z:()=>r})},138:(e,t,n)=>{"use strict";n.d(t,{Fp:()=>r,NM:()=>i,VV:()=>o});var r=Math.max,o=Math.min,i=Math.round},3:(e,t,n)=>{"use strict";function r(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]}))}n.d(t,{Z:()=>r})},63293:(e,t,n)=>{"use strict";n.d(t,{Z:()=>o});var r=n(23607);function o(e){return Object.assign({},(0,r.Z)(),e)}},50380:(e,t,n)=>{"use strict";n.d(t,{Z:()=>i});var r=n(87701);function o(e){var t=new Map,n=new Set,r=[];function o(e){n.add(e.name),[].concat(e.requires||[],e.requiresIfExists||[]).forEach((function(e){if(!n.has(e)){var r=t.get(e);r&&o(r)}})),r.push(e)}return e.forEach((function(e){t.set(e.name,e)})),e.forEach((function(e){n.has(e.name)||o(e)})),r}function i(e){var t=o(e);return r.xs.reduce((function(e,n){return e.concat(t.filter((function(e){return e.phase===n})))}),[])}},65626:(e,t,n)=>{"use strict";function r(e){return Object.assign({},e,{left:e.x,top:e.y,right:e.x+e.width,bottom:e.y+e.height})}n.d(t,{Z:()=>r})},85918:(e,t,n)=>{"use strict";function r(){var e=navigator.userAgentData;return null!=e&&e.brands&&Array.isArray(e.brands)?e.brands.map((function(e){return e.brand+"/"+e.version})).join(" "):navigator.userAgent}n.d(t,{Z:()=>r})},57516:(e,t,n)=>{"use strict";n.d(t,{q:()=>i,u:()=>o});var r=n(138);function o(e,t,n){return(0,r.Fp)(e,(0,r.VV)(t,n))}function i(e,t,n){var r=o(e,t,n);return r>n?n:r}},50087:(e,t,n)=>{var r;self,r=function(e,t,n,r,o){return function(){var i={368:function(e){e.exports=function(){"use strict";function e(e){if(Array.isArray(e)){for(var t=0,n=Array(e.length);t<e.length;t++)n[t]=e[t];return n}return Array.from(e)}var t=Object.hasOwnProperty,n=Object.setPrototypeOf,r=Object.isFrozen,o=Object.getPrototypeOf,i=Object.getOwnPropertyDescriptor,a=Object.freeze,s=Object.seal,l=Object.create,c="undefined"!=typeof Reflect&&Reflect,u=c.apply,d=c.construct;u||(u=function(e,t,n){return e.apply(t,n)}),a||(a=function(e){return e}),s||(s=function(e){return e}),d||(d=function(t,n){return new(Function.prototype.bind.apply(t,[null].concat(e(n))))});var p=k(Array.prototype.forEach),f=k(Array.prototype.pop),h=k(Array.prototype.push),m=k(String.prototype.toLowerCase),v=k(String.prototype.match),g=k(String.prototype.replace),y=k(String.prototype.indexOf),b=k(String.prototype.trim),w=k(RegExp.prototype.test),x=S(TypeError);function k(e){return function(t){for(var n=arguments.length,r=Array(n>1?n-1:0),o=1;o<n;o++)r[o-1]=arguments[o];return u(e,t,r)}}function S(e){return function(){for(var t=arguments.length,n=Array(t),r=0;r<t;r++)n[r]=arguments[r];return d(e,n)}}function C(e,t){n&&n(e,null);for(var o=t.length;o--;){var i=t[o];if("string"==typeof i){var a=m(i);a!==i&&(r(t)||(t[o]=a),i=a)}e[i]=!0}return e}function E(e){var n=l(null),r=void 0;for(r in e)u(t,e,[r])&&(n[r]=e[r]);return n}function T(e,t){for(;null!==e;){var n=i(e,t);if(n){if(n.get)return k(n.get);if("function"==typeof n.value)return k(n.value)}e=o(e)}function r(e){return console.warn("fallback value for",e),null}return r}var O=a(["a","abbr","acronym","address","area","article","aside","audio","b","bdi","bdo","big","blink","blockquote","body","br","button","canvas","caption","center","cite","code","col","colgroup","content","data","datalist","dd","decorator","del","details","dfn","dialog","dir","div","dl","dt","element","em","fieldset","figcaption","figure","font","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","img","input","ins","kbd","label","legend","li","main","map","mark","marquee","menu","menuitem","meter","nav","nobr","ol","optgroup","option","output","p","picture","pre","progress","q","rp","rt","ruby","s","samp","section","select","shadow","small","source","spacer","span","strike","strong","style","sub","summary","sup","table","tbody","td","template","textarea","tfoot","th","thead","time","tr","track","tt","u","ul","var","video","wbr"]),$=a(["svg","a","altglyph","altglyphdef","altglyphitem","animatecolor","animatemotion","animatetransform","circle","clippath","defs","desc","ellipse","filter","font","g","glyph","glyphref","hkern","image","line","lineargradient","marker","mask","metadata","mpath","path","pattern","polygon","polyline","radialgradient","rect","stop","style","switch","symbol","text","textpath","title","tref","tspan","view","vkern"]),M=a(["feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence"]),A=a(["animate","color-profile","cursor","discard","fedropshadow","feimage","font-face","font-face-format","font-face-name","font-face-src","font-face-uri","foreignobject","hatch","hatchpath","mesh","meshgradient","meshpatch","meshrow","missing-glyph","script","set","solidcolor","unknown","use"]),D=a(["math","menclose","merror","mfenced","mfrac","mglyph","mi","mlabeledtr","mmultiscripts","mn","mo","mover","mpadded","mphantom","mroot","mrow","ms","mspace","msqrt","mstyle","msub","msup","msubsup","mtable","mtd","mtext","mtr","munder","munderover"]),L=a(["maction","maligngroup","malignmark","mlongdiv","mscarries","mscarry","msgroup","mstack","msline","msrow","semantics","annotation","annotation-xml","mprescripts","none"]),N=a(["#text"]),R=a(["accept","action","align","alt","autocapitalize","autocomplete","autopictureinpicture","autoplay","background","bgcolor","border","capture","cellpadding","cellspacing","checked","cite","class","clear","color","cols","colspan","controls","controlslist","coords","crossorigin","datetime","decoding","default","dir","disabled","disablepictureinpicture","disableremoteplayback","download","draggable","enctype","enterkeyhint","face","for","headers","height","hidden","high","href","hreflang","id","inputmode","integrity","ismap","kind","label","lang","list","loading","loop","low","max","maxlength","media","method","min","minlength","multiple","muted","name","noshade","novalidate","nowrap","open","optimum","pattern","placeholder","playsinline","poster","preload","pubdate","radiogroup","readonly","rel","required","rev","reversed","role","rows","rowspan","spellcheck","scope","selected","shape","size","sizes","span","srclang","start","src","srcset","step","style","summary","tabindex","title","translate","type","usemap","valign","value","width","xmlns","slot"]),I=a(["accent-height","accumulate","additive","alignment-baseline","ascent","attributename","attributetype","azimuth","basefrequency","baseline-shift","begin","bias","by","class","clip","clippathunits","clip-path","clip-rule","color","color-interpolation","color-interpolation-filters","color-profile","color-rendering","cx","cy","d","dx","dy","diffuseconstant","direction","display","divisor","dur","edgemode","elevation","end","fill","fill-opacity","fill-rule","filter","filterunits","flood-color","flood-opacity","font-family","font-size","font-size-adjust","font-stretch","font-style","font-variant","font-weight","fx","fy","g1","g2","glyph-name","glyphref","gradientunits","gradienttransform","height","href","id","image-rendering","in","in2","k","k1","k2","k3","k4","kerning","keypoints","keysplines","keytimes","lang","lengthadjust","letter-spacing","kernelmatrix","kernelunitlength","lighting-color","local","marker-end","marker-mid","marker-start","markerheight","markerunits","markerwidth","maskcontentunits","maskunits","max","mask","media","method","mode","min","name","numoctaves","offset","operator","opacity","order","orient","orientation","origin","overflow","paint-order","path","pathlength","patterncontentunits","patterntransform","patternunits","points","preservealpha","preserveaspectratio","primitiveunits","r","rx","ry","radius","refx","refy","repeatcount","repeatdur","restart","result","rotate","scale","seed","shape-rendering","specularconstant","specularexponent","spreadmethod","startoffset","stddeviation","stitchtiles","stop-color","stop-opacity","stroke-dasharray","stroke-dashoffset","stroke-linecap","stroke-linejoin","stroke-miterlimit","stroke-opacity","stroke","stroke-width","style","surfacescale","systemlanguage","tabindex","targetx","targety","transform","text-anchor","text-decoration","text-rendering","textlength","type","u1","u2","unicode","values","viewbox","visibility","version","vert-adv-y","vert-origin-x","vert-origin-y","width","word-spacing","wrap","writing-mode","xchannelselector","ychannelselector","x","x1","x2","xmlns","y","y1","y2","z","zoomandpan"]),P=a(["accent","accentunder","align","bevelled","close","columnsalign","columnlines","columnspan","denomalign","depth","dir","display","displaystyle","encoding","fence","frame","height","href","id","largeop","length","linethickness","lspace","lquote","mathbackground","mathcolor","mathsize","mathvariant","maxsize","minsize","movablelimits","notation","numalign","open","rowalign","rowlines","rowspacing","rowspan","rspace","rquote","scriptlevel","scriptminsize","scriptsizemultiplier","selection","separator","separators","stretchy","subscriptshift","supscriptshift","symmetric","voffset","width","xmlns"]),Z=a(["xlink:href","xml:id","xlink:title","xml:space","xmlns:xlink"]),_=s(/\{\{[\s\S]*|[\s\S]*\}\}/gm),F=s(/<%[\s\S]*|[\s\S]*%>/gm),j=s(/^data-[\-\w.\u00B7-\uFFFF]/),B=s(/^aria-[\-\w]+$/),z=s(/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|cid|xmpp):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i),H=s(/^(?:\w+script|data):/i),U=s(/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g),W="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};function V(e){if(Array.isArray(e)){for(var t=0,n=Array(e.length);t<e.length;t++)n[t]=e[t];return n}return Array.from(e)}var q=function(){return"undefined"==typeof window?null:window},G=function(e,t){if("object"!==(void 0===e?"undefined":W(e))||"function"!=typeof e.createPolicy)return null;var n=null,r="data-tt-policy-suffix";t.currentScript&&t.currentScript.hasAttribute(r)&&(n=t.currentScript.getAttribute(r));var o="dompurify"+(n?"#"+n:"");try{return e.createPolicy(o,{createHTML:function(e){return e}})}catch(i){return console.warn("TrustedTypes policy "+o+" could not be created."),null}};function K(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:q(),t=function(e){return K(e)};if(t.version="2.3.3",t.removed=[],!e||!e.document||9!==e.document.nodeType)return t.isSupported=!1,t;var n=e.document,r=e.document,o=e.DocumentFragment,i=e.HTMLTemplateElement,s=e.Node,l=e.Element,c=e.NodeFilter,u=e.NamedNodeMap,d=void 0===u?e.NamedNodeMap||e.MozNamedAttrMap:u,k=e.Text,S=e.Comment,Y=e.DOMParser,X=e.trustedTypes,J=l.prototype,Q=T(J,"cloneNode"),ee=T(J,"nextSibling"),te=T(J,"childNodes"),ne=T(J,"parentNode");if("function"==typeof i){var re=r.createElement("template");re.content&&re.content.ownerDocument&&(r=re.content.ownerDocument)}var oe=G(X,n),ie=oe&&Ze?oe.createHTML(""):"",ae=r,se=ae.implementation,le=ae.createNodeIterator,ce=ae.createDocumentFragment,ue=ae.getElementsByTagName,de=n.importNode,pe={};try{pe=E(r).documentMode?r.documentMode:{}}catch(kt){}var fe={};t.isSupported="function"==typeof ne&&se&&void 0!==se.createHTMLDocument&&9!==pe;var he=_,me=F,ve=j,ge=B,ye=H,be=U,we=z,xe=null,ke=C({},[].concat(V(O),V($),V(M),V(D),V(N))),Se=null,Ce=C({},[].concat(V(R),V(I),V(P),V(Z))),Ee=null,Te=null,Oe=!0,$e=!0,Me=!1,Ae=!1,De=!1,Le=!1,Ne=!1,Re=!1,Ie=!1,Pe=!0,Ze=!1,_e=!0,Fe=!0,je=!1,Be={},ze=null,He=C({},["annotation-xml","audio","colgroup","desc","foreignobject","head","iframe","math","mi","mn","mo","ms","mtext","noembed","noframes","noscript","plaintext","script","style","svg","template","thead","title","video","xmp"]),Ue=null,We=C({},["audio","video","img","source","image","track"]),Ve=null,qe=C({},["alt","class","for","id","label","name","pattern","placeholder","role","summary","title","value","style","xmlns"]),Ge="http://www.w3.org/1998/Math/MathML",Ke="http://www.w3.org/2000/svg",Ye="http://www.w3.org/1999/xhtml",Xe=Ye,Je=!1,Qe=void 0,et=["application/xhtml+xml","text/html"],tt="text/html",nt=void 0,rt=null,ot=r.createElement("form"),it=function(e){rt&&rt===e||(e&&"object"===(void 0===e?"undefined":W(e))||(e={}),e=E(e),xe="ALLOWED_TAGS"in e?C({},e.ALLOWED_TAGS):ke,Se="ALLOWED_ATTR"in e?C({},e.ALLOWED_ATTR):Ce,Ve="ADD_URI_SAFE_ATTR"in e?C(E(qe),e.ADD_URI_SAFE_ATTR):qe,Ue="ADD_DATA_URI_TAGS"in e?C(E(We),e.ADD_DATA_URI_TAGS):We,ze="FORBID_CONTENTS"in e?C({},e.FORBID_CONTENTS):He,Ee="FORBID_TAGS"in e?C({},e.FORBID_TAGS):{},Te="FORBID_ATTR"in e?C({},e.FORBID_ATTR):{},Be="USE_PROFILES"in e&&e.USE_PROFILES,Oe=!1!==e.ALLOW_ARIA_ATTR,$e=!1!==e.ALLOW_DATA_ATTR,Me=e.ALLOW_UNKNOWN_PROTOCOLS||!1,Ae=e.SAFE_FOR_TEMPLATES||!1,De=e.WHOLE_DOCUMENT||!1,Re=e.RETURN_DOM||!1,Ie=e.RETURN_DOM_FRAGMENT||!1,Pe=!1!==e.RETURN_DOM_IMPORT,Ze=e.RETURN_TRUSTED_TYPE||!1,Ne=e.FORCE_BODY||!1,_e=!1!==e.SANITIZE_DOM,Fe=!1!==e.KEEP_CONTENT,je=e.IN_PLACE||!1,we=e.ALLOWED_URI_REGEXP||we,Xe=e.NAMESPACE||Ye,Qe=Qe=-1===et.indexOf(e.PARSER_MEDIA_TYPE)?tt:e.PARSER_MEDIA_TYPE,nt="application/xhtml+xml"===Qe?function(e){return e}:m,Ae&&($e=!1),Ie&&(Re=!0),Be&&(xe=C({},[].concat(V(N))),Se=[],!0===Be.html&&(C(xe,O),C(Se,R)),!0===Be.svg&&(C(xe,$),C(Se,I),C(Se,Z)),!0===Be.svgFilters&&(C(xe,M),C(Se,I),C(Se,Z)),!0===Be.mathMl&&(C(xe,D),C(Se,P),C(Se,Z))),e.ADD_TAGS&&(xe===ke&&(xe=E(xe)),C(xe,e.ADD_TAGS)),e.ADD_ATTR&&(Se===Ce&&(Se=E(Se)),C(Se,e.ADD_ATTR)),e.ADD_URI_SAFE_ATTR&&C(Ve,e.ADD_URI_SAFE_ATTR),e.FORBID_CONTENTS&&(ze===He&&(ze=E(ze)),C(ze,e.FORBID_CONTENTS)),Fe&&(xe["#text"]=!0),De&&C(xe,["html","head","body"]),xe.table&&(C(xe,["tbody"]),delete Ee.tbody),a&&a(e),rt=e)},at=C({},["mi","mo","mn","ms","mtext"]),st=C({},["foreignobject","desc","title","annotation-xml"]),lt=C({},$);C(lt,M),C(lt,A);var ct=C({},D);C(ct,L);var ut=function(e){var t=ne(e);t&&t.tagName||(t={namespaceURI:Ye,tagName:"template"});var n=m(e.tagName),r=m(t.tagName);if(e.namespaceURI===Ke)return t.namespaceURI===Ye?"svg"===n:t.namespaceURI===Ge?"svg"===n&&("annotation-xml"===r||at[r]):Boolean(lt[n]);if(e.namespaceURI===Ge)return t.namespaceURI===Ye?"math"===n:t.namespaceURI===Ke?"math"===n&&st[r]:Boolean(ct[n]);if(e.namespaceURI===Ye){if(t.namespaceURI===Ke&&!st[r])return!1;if(t.namespaceURI===Ge&&!at[r])return!1;var o=C({},["title","style","font","a","script"]);return!ct[n]&&(o[n]||!lt[n])}return!1},dt=function(e){h(t.removed,{element:e});try{e.parentNode.removeChild(e)}catch(kt){try{e.outerHTML=ie}catch(kt){e.remove()}}},pt=function(e,n){try{h(t.removed,{attribute:n.getAttributeNode(e),from:n})}catch(kt){h(t.removed,{attribute:null,from:n})}if(n.removeAttribute(e),"is"===e&&!Se[e])if(Re||Ie)try{dt(n)}catch(kt){}else try{n.setAttribute(e,"")}catch(kt){}},ft=function(e){var t=void 0,n=void 0;if(Ne)e="<remove></remove>"+e;else{var o=v(e,/^[\r\n\t ]+/);n=o&&o[0]}"application/xhtml+xml"===Qe&&(e='<html xmlns="http://www.w3.org/1999/xhtml"><head></head><body>'+e+"</body></html>");var i=oe?oe.createHTML(e):e;if(Xe===Ye)try{t=(new Y).parseFromString(i,Qe)}catch(kt){}if(!t||!t.documentElement){t=se.createDocument(Xe,"template",null);try{t.documentElement.innerHTML=Je?"":i}catch(kt){}}var a=t.body||t.documentElement;return e&&n&&a.insertBefore(r.createTextNode(n),a.childNodes[0]||null),Xe===Ye?ue.call(t,De?"html":"body")[0]:De?t.documentElement:a},ht=function(e){return le.call(e.ownerDocument||e,e,c.SHOW_ELEMENT|c.SHOW_COMMENT|c.SHOW_TEXT,null,!1)},mt=function(e){return!(e instanceof k||e instanceof S||"string"==typeof e.nodeName&&"string"==typeof e.textContent&&"function"==typeof e.removeChild&&e.attributes instanceof d&&"function"==typeof e.removeAttribute&&"function"==typeof e.setAttribute&&"string"==typeof e.namespaceURI&&"function"==typeof e.insertBefore)},vt=function(e){return"object"===(void 0===s?"undefined":W(s))?e instanceof s:e&&"object"===(void 0===e?"undefined":W(e))&&"number"==typeof e.nodeType&&"string"==typeof e.nodeName},gt=function(e,n,r){fe[e]&&p(fe[e],(function(e){e.call(t,n,r,rt)}))},yt=function(e){var n=void 0;if(gt("beforeSanitizeElements",e,null),mt(e))return dt(e),!0;if(v(e.nodeName,/[\u0080-\uFFFF]/))return dt(e),!0;var r=nt(e.nodeName);if(gt("uponSanitizeElement",e,{tagName:r,allowedTags:xe}),!vt(e.firstElementChild)&&(!vt(e.content)||!vt(e.content.firstElementChild))&&w(/<[/\w]/g,e.innerHTML)&&w(/<[/\w]/g,e.textContent))return dt(e),!0;if("select"===r&&w(/<template/i,e.innerHTML))return dt(e),!0;if(!xe[r]||Ee[r]){if(Fe&&!ze[r]){var o=ne(e)||e.parentNode,i=te(e)||e.childNodes;if(i&&o)for(var a=i.length-1;a>=0;--a)o.insertBefore(Q(i[a],!0),ee(e))}return dt(e),!0}return e instanceof l&&!ut(e)?(dt(e),!0):"noscript"!==r&&"noembed"!==r||!w(/<\/no(script|embed)/i,e.innerHTML)?(Ae&&3===e.nodeType&&(n=e.textContent,n=g(n,he," "),n=g(n,me," "),e.textContent!==n&&(h(t.removed,{element:e.cloneNode()}),e.textContent=n)),gt("afterSanitizeElements",e,null),!1):(dt(e),!0)},bt=function(e,t,n){if(_e&&("id"===t||"name"===t)&&(n in r||n in ot))return!1;if($e&&!Te[t]&&w(ve,t));else if(Oe&&w(ge,t));else{if(!Se[t]||Te[t])return!1;if(Ve[t]);else if(w(we,g(n,be,"")));else if("src"!==t&&"xlink:href"!==t&&"href"!==t||"script"===e||0!==y(n,"data:")||!Ue[e])if(Me&&!w(ye,g(n,be,"")));else if(n)return!1}return!0},wt=function(e){var n=void 0,r=void 0,o=void 0,i=void 0;gt("beforeSanitizeAttributes",e,null);var a=e.attributes;if(a){var s={attrName:"",attrValue:"",keepAttr:!0,allowedAttributes:Se};for(i=a.length;i--;){var l=n=a[i],c=l.name,u=l.namespaceURI;if(r=b(n.value),o=nt(c),s.attrName=o,s.attrValue=r,s.keepAttr=!0,s.forceKeepAttr=void 0,gt("uponSanitizeAttribute",e,s),r=s.attrValue,!s.forceKeepAttr&&(pt(c,e),s.keepAttr))if(w(/\/>/i,r))pt(c,e);else{Ae&&(r=g(r,he," "),r=g(r,me," "));var d=nt(e.nodeName);if(bt(d,o,r))try{u?e.setAttributeNS(u,c,r):e.setAttribute(c,r),f(t.removed)}catch(kt){}}}gt("afterSanitizeAttributes",e,null)}},xt=function e(t){var n=void 0,r=ht(t);for(gt("beforeSanitizeShadowDOM",t,null);n=r.nextNode();)gt("uponSanitizeShadowNode",n,null),yt(n)||(n.content instanceof o&&e(n.content),wt(n));gt("afterSanitizeShadowDOM",t,null)};return t.sanitize=function(r,i){var a=void 0,l=void 0,c=void 0,u=void 0,d=void 0;if((Je=!r)&&(r="\x3c!--\x3e"),"string"!=typeof r&&!vt(r)){if("function"!=typeof r.toString)throw x("toString is not a function");if("string"!=typeof(r=r.toString()))throw x("dirty is not a string, aborting")}if(!t.isSupported){if("object"===W(e.toStaticHTML)||"function"==typeof e.toStaticHTML){if("string"==typeof r)return e.toStaticHTML(r);if(vt(r))return e.toStaticHTML(r.outerHTML)}return r}if(Le||it(i),t.removed=[],"string"==typeof r&&(je=!1),je);else if(r instanceof s)1===(l=(a=ft("\x3c!----\x3e")).ownerDocument.importNode(r,!0)).nodeType&&"BODY"===l.nodeName||"HTML"===l.nodeName?a=l:a.appendChild(l);else{if(!Re&&!Ae&&!De&&-1===r.indexOf("<"))return oe&&Ze?oe.createHTML(r):r;if(!(a=ft(r)))return Re?null:ie}a&&Ne&&dt(a.firstChild);for(var p=ht(je?r:a);c=p.nextNode();)3===c.nodeType&&c===u||yt(c)||(c.content instanceof o&&xt(c.content),wt(c),u=c);if(u=null,je)return r;if(Re){if(Ie)for(d=ce.call(a.ownerDocument);a.firstChild;)d.appendChild(a.firstChild);else d=a;return Pe&&(d=de.call(n,d,!0)),d}var f=De?a.outerHTML:a.innerHTML;return Ae&&(f=g(f,he," "),f=g(f,me," ")),oe&&Ze?oe.createHTML(f):f},t.setConfig=function(e){it(e),Le=!0},t.clearConfig=function(){rt=null,Le=!1},t.isValidAttribute=function(e,t,n){rt||it({});var r=nt(e),o=nt(t);return bt(r,o,n)},t.addHook=function(e,t){"function"==typeof t&&(fe[e]=fe[e]||[],h(fe[e],t))},t.removeHook=function(e){fe[e]&&f(fe[e])},t.removeHooks=function(e){fe[e]&&(fe[e]=[])},t.removeAllHooks=function(){fe={}},t}return K()}()},928:function(e,t,n){"use strict";var r=n(322);e.exports=function(e,t,n){var o,i;if(n=n||0,!r(t))return-1;if(Array.prototype.indexOf)return Array.prototype.indexOf.call(t,e,n);for(i=t.length,o=n;n>=0&&o<i;o+=1)if(t[o]===e)return o;return-1}},690:function(e,t,n){"use strict";var r=n(322),o=n(893),i=n(956);e.exports=function(e,t,n){r(e)?o(e,t,n):i(e,t,n)}},893:function(e){"use strict";e.exports=function(e,t,n){var r=0,o=e.length;for(n=n||null;r<o&&!1!==t.call(n,e[r],r,e);r+=1);}},956:function(e){"use strict";e.exports=function(e,t,n){var r;for(r in n=n||null,e)if(e.hasOwnProperty(r)&&!1===t.call(n,e[r],r,e))break}},990:function(e,t,n){"use strict";var r=n(893);e.exports=function(e){var t;try{t=Array.prototype.slice.call(e)}catch(n){t=[],r(e,(function(e){t.push(e)}))}return t}},755:function(e){"use strict";var t="_feEventKey";e.exports=function(e,n){var r,o=e[t];return o||(o=e[t]={}),(r=o[n])||(r=o[n]=[]),r}},349:function(e,t,n){"use strict";var r=n(758),o=n(690),i=n(755);function a(e,t,n){var r,a=i(e,t);n?(o(a,(function(o,i){return n!==o.handler||(s(e,t,o.wrappedHandler),r=i,!1)})),a.splice(r,1)):(o(a,(function(n){s(e,t,n.wrappedHandler)})),a.splice(0,a.length))}function s(e,t,n){"removeEventListener"in e?e.removeEventListener(t,n):"detachEvent"in e&&e.detachEvent("on"+t,n)}e.exports=function(e,t,n){r(t)?o(t.split(/\s+/g),(function(t){a(e,t,n)})):o(t,(function(t,n){a(e,n,t)}))}},348:function(e,t,n){"use strict";var r=n(758),o=n(690),i=n(755);function a(e,t,n,r){function a(t){n.call(r||e,t||window.event)}"addEventListener"in e?e.addEventListener(t,a):"attachEvent"in e&&e.attachEvent("on"+t,a),function(e,t,n,r){var a=i(e,t),s=!1;o(a,(function(e){return e.handler!==n||(s=!0,!1)})),s||a.push({handler:n,wrappedHandler:r})}(e,t,n,a)}e.exports=function(e,t,n,i){r(t)?o(t.split(/\s+/g),(function(t){a(e,t,n,i)})):o(t,(function(t,r){a(e,r,t,n)}))}},24:function(e,t,n){"use strict";var r=n(322),o=n(929);e.exports=function(e,t){t=(t=r(t)?t.join(" "):t).replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,""),o(e.className.baseVal)?e.className=t:e.className.baseVal=t}},204:function(e,t,n){"use strict";var r=n(690),o=n(928),i=n(902),a=n(24);e.exports=function(e){var t,n=Array.prototype.slice.call(arguments,1),s=e.classList,l=[];s?r(n,(function(t){e.classList.add(t)})):((t=i(e))&&(n=[].concat(t.split(/\s+/),n)),r(n,(function(e){o(e,l)<0&&l.push(e)})),a(e,l))}},522:function(e,t,n){"use strict";var r=n(758),o=n(690);e.exports=function(e,t,n){var i=e.style;r(t)?i[t]=n:o(t,(function(e,t){i[t]=e}))}},902:function(e,t,n){"use strict";var r=n(929);e.exports=function(e){return e&&e.className?r(e.className.baseVal)?e.className:e.className.baseVal:""}},714:function(e,t,n){"use strict";var r=n(928),o=n(902);e.exports=function(e,t){var n;return e.classList?e.classList.contains(t):(n=o(e).split(/\s+/),r(t,n)>-1)}},471:function(e,t,n){"use strict";var r=n(928),o=n(990),i=Element.prototype,a=i.matches||i.webkitMatchesSelector||i.mozMatchesSelector||i.msMatchesSelector||function(e){var t=this.document||this.ownerDocument;return r(this,o(t.querySelectorAll(e)))>-1};e.exports=function(e,t){return a.call(e,t)}},462:function(e,t,n){"use strict";var r=n(893),o=n(928),i=n(902),a=n(24);e.exports=function(e){var t,n,s=Array.prototype.slice.call(arguments,1),l=e.classList;l?r(s,(function(e){l.remove(e)})):(t=i(e).split(/\s+/),n=[],r(t,(function(e){o(e,s)<0&&n.push(e)})),a(e,n))}},969:function(e){"use strict";e.exports=function(e,t){var n,r,o,i,a=Object.prototype.hasOwnProperty;for(o=1,i=arguments.length;o<i;o+=1)for(r in n=arguments[o])a.call(n,r)&&(e[r]=n[r]);return e}},254:function(e,t,n){"use strict";var r=n(956);e.exports=function(e,t){var n=document.createElement("img"),o="";return r(t,(function(e,t){o+="&"+t+"="+e})),o=o.substring(1),n.src=e+"?"+o,n.style.display="none",document.body.appendChild(n),document.body.removeChild(n),n}},391:function(e,t,n){"use strict";var r=n(929),o=n(254),i=6048e5;e.exports=function(e,t){var n=location.hostname,a="TOAST UI "+e+" for "+n+": Statistics",s=window.localStorage.getItem(a);(r(window.tui)||!1!==window.tui.usageStatistics)&&(s&&!function(e){return(new Date).getTime()-e>i}(s)||(window.localStorage.setItem(a,(new Date).getTime()),setTimeout((function(){"interactive"!==document.readyState&&"complete"!==document.readyState||o("https://www.google-analytics.com/collect",{v:1,t:"event",tid:t,cid:n,dp:n,dh:e,el:e,ec:"use"})}),1e3)))}},322:function(e){"use strict";e.exports=function(e){return e instanceof Array}},65:function(e,t,n){"use strict";var r=n(929),o=n(934);e.exports=function(e){return!r(e)&&!o(e)}},404:function(e,t,n){"use strict";var r=n(790);e.exports=function(e){return!r(e)}},294:function(e){"use strict";e.exports=function(e){return e instanceof Function}},934:function(e){"use strict";e.exports=function(e){return null===e}},758:function(e){"use strict";e.exports=function(e){return"string"==typeof e||e instanceof String}},790:function(e,t,n){"use strict";var r=n(65);e.exports=function(e){return r(e)&&!1!==e}},929:function(e){"use strict";e.exports=function(e){return void 0===e}},479:function(t){"use strict";t.exports=e},481:function(e){"use strict";e.exports=t},43:function(e){"use strict";e.exports=n},814:function(e){"use strict";e.exports=r},311:function(e){"use strict";e.exports=o}},a={};function s(e){var t=a[e];if(void 0!==t)return t.exports;var n=a[e]={exports:{}};return i[e].call(n.exports,n,n.exports,s),n.exports}s.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return s.d(t,{a:t}),t},s.d=function(e,t){for(var n in t)s.o(t,n)&&!s.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},s.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),s.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)};var l={};return function(){"use strict";s.d(l,{default:function(){return Yr}});var e=function(){return e=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},e.apply(this,arguments)};function t(e,t,n){if(n||2===arguments.length)for(var r,o=0,i=t.length;o<i;o++)!r&&o in t||(r||(r=Array.prototype.slice.call(t,0,o)),r[o]=t[o]);return e.concat(r||Array.prototype.slice.call(t))}Object.create,Object.create;var n=function(e,t){return n=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])},n(e,t)};function r(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function r(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)}var o=function(){return o=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},o.apply(this,arguments)};function i(e,t,n){if(n||2===arguments.length)for(var r,o=0,i=t.length;o<i;o++)!r&&o in t||(r||(r=Array.prototype.slice.call(t,0,o)),r[o]=t[o]);return e.concat(r||Array.prototype.slice.call(t))}var a="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:void 0!==s.g?s.g:"undefined"!=typeof self?self:{},c={};function u(e,t,n){var r,o,i,a,s,l="";for("string"!=typeof t&&(n=t,t=u.defaultChars),void 0===n&&(n=!0),s=function(e){var t,n,r=c[e];if(r)return r;for(r=c[e]=[],t=0;t<128;t++)n=String.fromCharCode(t),/^[0-9a-z]$/i.test(n)?r.push(n):r.push("%"+("0"+t.toString(16).toUpperCase()).slice(-2));for(t=0;t<e.length;t++)r[e.charCodeAt(t)]=e[t];return r}(t),r=0,o=e.length;r<o;r++)if(i=e.charCodeAt(r),n&&37===i&&r+2<o&&/^[0-9a-f]{2}$/i.test(e.slice(r+1,r+3)))l+=e.slice(r,r+3),r+=2;else if(i<128)l+=s[i];else if(i>=55296&&i<=57343){if(i>=55296&&i<=56319&&r+1<o&&(a=e.charCodeAt(r+1))>=56320&&a<=57343){l+=encodeURIComponent(e[r]+e[r+1]),r++;continue}l+="%EF%BF%BD"}else l+=encodeURIComponent(e[r]);return l}u.defaultChars=";/?:@&=+$,-_.!~*'()#",u.componentChars="-_.!~*'()";var d=u,p={},f={},h={Aacute:"Á",aacute:"á",Abreve:"Ă",abreve:"ă",ac:"∾",acd:"∿",acE:"∾̳",Acirc:"Â",acirc:"â",acute:"´",Acy:"А",acy:"а",AElig:"Æ",aelig:"æ",af:"",Afr:"𝔄",afr:"𝔞",Agrave:"À",agrave:"à",alefsym:"ℵ",aleph:"ℵ",Alpha:"Α",alpha:"α",Amacr:"Ā",amacr:"ā",amalg:"⨿",amp:"&",AMP:"&",andand:"⩕",And:"⩓",and:"∧",andd:"⩜",andslope:"⩘",andv:"⩚",ang:"∠",ange:"⦤",angle:"∠",angmsdaa:"⦨",angmsdab:"⦩",angmsdac:"⦪",angmsdad:"⦫",angmsdae:"⦬",angmsdaf:"⦭",angmsdag:"⦮",angmsdah:"⦯",angmsd:"∡",angrt:"∟",angrtvb:"⊾",angrtvbd:"⦝",angsph:"∢",angst:"Å",angzarr:"⍼",Aogon:"Ą",aogon:"ą",Aopf:"𝔸",aopf:"𝕒",apacir:"⩯",ap:"≈",apE:"⩰",ape:"≊",apid:"≋",apos:"'",ApplyFunction:"",approx:"≈",approxeq:"≊",Aring:"Å",aring:"å",Ascr:"𝒜",ascr:"𝒶",Assign:"≔",ast:"*",asymp:"≈",asympeq:"≍",Atilde:"Ã",atilde:"ã",Auml:"Ä",auml:"ä",awconint:"∳",awint:"⨑",backcong:"≌",backepsilon:"϶",backprime:"‵",backsim:"∽",backsimeq:"⋍",Backslash:"∖",Barv:"⫧",barvee:"⊽",barwed:"⌅",Barwed:"⌆",barwedge:"⌅",bbrk:"⎵",bbrktbrk:"⎶",bcong:"≌",Bcy:"Б",bcy:"б",bdquo:"„",becaus:"∵",because:"∵",Because:"∵",bemptyv:"⦰",bepsi:"϶",bernou:"ℬ",Bernoullis:"ℬ",Beta:"Β",beta:"β",beth:"ℶ",between:"≬",Bfr:"𝔅",bfr:"𝔟",bigcap:"⋂",bigcirc:"◯",bigcup:"⋃",bigodot:"⨀",bigoplus:"⨁",bigotimes:"⨂",bigsqcup:"⨆",bigstar:"★",bigtriangledown:"▽",bigtriangleup:"△",biguplus:"⨄",bigvee:"⋁",bigwedge:"⋀",bkarow:"⤍",blacklozenge:"⧫",blacksquare:"▪",blacktriangle:"▴",blacktriangledown:"▾",blacktriangleleft:"◂",blacktriangleright:"▸",blank:"␣",blk12:"▒",blk14:"░",blk34:"▓",block:"█",bne:"=⃥",bnequiv:"≡⃥",bNot:"⫭",bnot:"⌐",Bopf:"𝔹",bopf:"𝕓",bot:"⊥",bottom:"⊥",bowtie:"⋈",boxbox:"⧉",boxdl:"┐",boxdL:"╕",boxDl:"╖",boxDL:"╗",boxdr:"┌",boxdR:"╒",boxDr:"╓",boxDR:"╔",boxh:"─",boxH:"═",boxhd:"┬",boxHd:"╤",boxhD:"╥",boxHD:"╦",boxhu:"┴",boxHu:"╧",boxhU:"╨",boxHU:"╩",boxminus:"⊟",boxplus:"⊞",boxtimes:"⊠",boxul:"┘",boxuL:"╛",boxUl:"╜",boxUL:"╝",boxur:"└",boxuR:"╘",boxUr:"╙",boxUR:"╚",boxv:"│",boxV:"║",boxvh:"┼",boxvH:"╪",boxVh:"╫",boxVH:"╬",boxvl:"┤",boxvL:"╡",boxVl:"╢",boxVL:"╣",boxvr:"├",boxvR:"╞",boxVr:"╟",boxVR:"╠",bprime:"‵",breve:"˘",Breve:"˘",brvbar:"¦",bscr:"𝒷",Bscr:"ℬ",bsemi:"⁏",bsim:"∽",bsime:"⋍",bsolb:"⧅",bsol:"\\",bsolhsub:"⟈",bull:"•",bullet:"•",bump:"≎",bumpE:"⪮",bumpe:"≏",Bumpeq:"≎",bumpeq:"≏",Cacute:"Ć",cacute:"ć",capand:"⩄",capbrcup:"⩉",capcap:"⩋",cap:"∩",Cap:"⋒",capcup:"⩇",capdot:"⩀",CapitalDifferentialD:"ⅅ",caps:"∩︀",caret:"⁁",caron:"ˇ",Cayleys:"ℭ",ccaps:"⩍",Ccaron:"Č",ccaron:"č",Ccedil:"Ç",ccedil:"ç",Ccirc:"Ĉ",ccirc:"ĉ",Cconint:"∰",ccups:"⩌",ccupssm:"⩐",Cdot:"Ċ",cdot:"ċ",cedil:"¸",Cedilla:"¸",cemptyv:"⦲",cent:"¢",centerdot:"·",CenterDot:"·",cfr:"𝔠",Cfr:"ℭ",CHcy:"Ч",chcy:"ч",check:"✓",checkmark:"✓",Chi:"Χ",chi:"χ",circ:"ˆ",circeq:"≗",circlearrowleft:"↺",circlearrowright:"↻",circledast:"⊛",circledcirc:"⊚",circleddash:"⊝",CircleDot:"⊙",circledR:"®",circledS:"Ⓢ",CircleMinus:"⊖",CirclePlus:"⊕",CircleTimes:"⊗",cir:"○",cirE:"⧃",cire:"≗",cirfnint:"⨐",cirmid:"⫯",cirscir:"⧂",ClockwiseContourIntegral:"∲",CloseCurlyDoubleQuote:"”",CloseCurlyQuote:"’",clubs:"♣",clubsuit:"♣",colon:":",Colon:"∷",Colone:"⩴",colone:"≔",coloneq:"≔",comma:",",commat:"@",comp:"∁",compfn:"∘",complement:"∁",complexes:"ℂ",cong:"≅",congdot:"⩭",Congruent:"≡",conint:"∮",Conint:"∯",ContourIntegral:"∮",copf:"𝕔",Copf:"ℂ",coprod:"∐",Coproduct:"∐",copy:"©",COPY:"©",copysr:"℗",CounterClockwiseContourIntegral:"∳",crarr:"↵",cross:"✗",Cross:"⨯",Cscr:"𝒞",cscr:"𝒸",csub:"⫏",csube:"⫑",csup:"⫐",csupe:"⫒",ctdot:"⋯",cudarrl:"⤸",cudarrr:"⤵",cuepr:"⋞",cuesc:"⋟",cularr:"↶",cularrp:"⤽",cupbrcap:"⩈",cupcap:"⩆",CupCap:"≍",cup:"∪",Cup:"⋓",cupcup:"⩊",cupdot:"⊍",cupor:"⩅",cups:"∪︀",curarr:"↷",curarrm:"⤼",curlyeqprec:"⋞",curlyeqsucc:"⋟",curlyvee:"⋎",curlywedge:"⋏",curren:"¤",curvearrowleft:"↶",curvearrowright:"↷",cuvee:"⋎",cuwed:"⋏",cwconint:"∲",cwint:"∱",cylcty:"⌭",dagger:"†",Dagger:"‡",daleth:"ℸ",darr:"↓",Darr:"↡",dArr:"⇓",dash:"‐",Dashv:"⫤",dashv:"⊣",dbkarow:"⤏",dblac:"˝",Dcaron:"Ď",dcaron:"ď",Dcy:"Д",dcy:"д",ddagger:"‡",ddarr:"⇊",DD:"ⅅ",dd:"ⅆ",DDotrahd:"⤑",ddotseq:"⩷",deg:"°",Del:"∇",Delta:"Δ",delta:"δ",demptyv:"⦱",dfisht:"⥿",Dfr:"𝔇",dfr:"𝔡",dHar:"⥥",dharl:"⇃",dharr:"⇂",DiacriticalAcute:"´",DiacriticalDot:"˙",DiacriticalDoubleAcute:"˝",DiacriticalGrave:"`",DiacriticalTilde:"˜",diam:"⋄",diamond:"⋄",Diamond:"⋄",diamondsuit:"♦",diams:"♦",die:"¨",DifferentialD:"ⅆ",digamma:"ϝ",disin:"⋲",div:"÷",divide:"÷",divideontimes:"⋇",divonx:"⋇",DJcy:"Ђ",djcy:"ђ",dlcorn:"⌞",dlcrop:"⌍",dollar:"$",Dopf:"𝔻",dopf:"𝕕",Dot:"¨",dot:"˙",DotDot:"⃜",doteq:"≐",doteqdot:"≑",DotEqual:"≐",dotminus:"∸",dotplus:"∔",dotsquare:"⊡",doublebarwedge:"⌆",DoubleContourIntegral:"∯",DoubleDot:"¨",DoubleDownArrow:"⇓",DoubleLeftArrow:"⇐",DoubleLeftRightArrow:"⇔",DoubleLeftTee:"⫤",DoubleLongLeftArrow:"⟸",DoubleLongLeftRightArrow:"⟺",DoubleLongRightArrow:"⟹",DoubleRightArrow:"⇒",DoubleRightTee:"⊨",DoubleUpArrow:"⇑",DoubleUpDownArrow:"⇕",DoubleVerticalBar:"∥",DownArrowBar:"⤓",downarrow:"↓",DownArrow:"↓",Downarrow:"⇓",DownArrowUpArrow:"⇵",DownBreve:"̑",downdownarrows:"⇊",downharpoonleft:"⇃",downharpoonright:"⇂",DownLeftRightVector:"⥐",DownLeftTeeVector:"⥞",DownLeftVectorBar:"⥖",DownLeftVector:"↽",DownRightTeeVector:"⥟",DownRightVectorBar:"⥗",DownRightVector:"⇁",DownTeeArrow:"↧",DownTee:"⊤",drbkarow:"⤐",drcorn:"⌟",drcrop:"⌌",Dscr:"𝒟",dscr:"𝒹",DScy:"Ѕ",dscy:"ѕ",dsol:"⧶",Dstrok:"Đ",dstrok:"đ",dtdot:"⋱",dtri:"▿",dtrif:"▾",duarr:"⇵",duhar:"⥯",dwangle:"⦦",DZcy:"Џ",dzcy:"џ",dzigrarr:"⟿",Eacute:"É",eacute:"é",easter:"⩮",Ecaron:"Ě",ecaron:"ě",Ecirc:"Ê",ecirc:"ê",ecir:"≖",ecolon:"≕",Ecy:"Э",ecy:"э",eDDot:"⩷",Edot:"Ė",edot:"ė",eDot:"≑",ee:"ⅇ",efDot:"≒",Efr:"𝔈",efr:"𝔢",eg:"⪚",Egrave:"È",egrave:"è",egs:"⪖",egsdot:"⪘",el:"⪙",Element:"∈",elinters:"⏧",ell:"ℓ",els:"⪕",elsdot:"⪗",Emacr:"Ē",emacr:"ē",empty:"∅",emptyset:"∅",EmptySmallSquare:"◻",emptyv:"∅",EmptyVerySmallSquare:"▫",emsp13:" ",emsp14:" ",emsp:" ",ENG:"Ŋ",eng:"ŋ",ensp:" ",Eogon:"Ę",eogon:"ę",Eopf:"𝔼",eopf:"𝕖",epar:"⋕",eparsl:"⧣",eplus:"⩱",epsi:"ε",Epsilon:"Ε",epsilon:"ε",epsiv:"ϵ",eqcirc:"≖",eqcolon:"≕",eqsim:"≂",eqslantgtr:"⪖",eqslantless:"⪕",Equal:"⩵",equals:"=",EqualTilde:"≂",equest:"≟",Equilibrium:"⇌",equiv:"≡",equivDD:"⩸",eqvparsl:"⧥",erarr:"⥱",erDot:"≓",escr:"ℯ",Escr:"ℰ",esdot:"≐",Esim:"⩳",esim:"≂",Eta:"Η",eta:"η",ETH:"Ð",eth:"ð",Euml:"Ë",euml:"ë",euro:"€",excl:"!",exist:"∃",Exists:"∃",expectation:"ℰ",exponentiale:"ⅇ",ExponentialE:"ⅇ",fallingdotseq:"≒",Fcy:"Ф",fcy:"ф",female:"♀",ffilig:"ffi",fflig:"ff",ffllig:"ffl",Ffr:"𝔉",ffr:"𝔣",filig:"fi",FilledSmallSquare:"◼",FilledVerySmallSquare:"▪",fjlig:"fj",flat:"♭",fllig:"fl",fltns:"▱",fnof:"ƒ",Fopf:"𝔽",fopf:"𝕗",forall:"∀",ForAll:"∀",fork:"⋔",forkv:"⫙",Fouriertrf:"ℱ",fpartint:"⨍",frac12:"½",frac13:"⅓",frac14:"¼",frac15:"⅕",frac16:"⅙",frac18:"⅛",frac23:"⅔",frac25:"⅖",frac34:"¾",frac35:"⅗",frac38:"⅜",frac45:"⅘",frac56:"⅚",frac58:"⅝",frac78:"⅞",frasl:"⁄",frown:"⌢",fscr:"𝒻",Fscr:"ℱ",gacute:"ǵ",Gamma:"Γ",gamma:"γ",Gammad:"Ϝ",gammad:"ϝ",gap:"⪆",Gbreve:"Ğ",gbreve:"ğ",Gcedil:"Ģ",Gcirc:"Ĝ",gcirc:"ĝ",Gcy:"Г",gcy:"г",Gdot:"Ġ",gdot:"ġ",ge:"≥",gE:"≧",gEl:"⪌",gel:"⋛",geq:"≥",geqq:"≧",geqslant:"⩾",gescc:"⪩",ges:"⩾",gesdot:"⪀",gesdoto:"⪂",gesdotol:"⪄",gesl:"⋛︀",gesles:"⪔",Gfr:"𝔊",gfr:"𝔤",gg:"≫",Gg:"⋙",ggg:"⋙",gimel:"ℷ",GJcy:"Ѓ",gjcy:"ѓ",gla:"⪥",gl:"≷",glE:"⪒",glj:"⪤",gnap:"⪊",gnapprox:"⪊",gne:"⪈",gnE:"≩",gneq:"⪈",gneqq:"≩",gnsim:"⋧",Gopf:"𝔾",gopf:"𝕘",grave:"`",GreaterEqual:"≥",GreaterEqualLess:"⋛",GreaterFullEqual:"≧",GreaterGreater:"⪢",GreaterLess:"≷",GreaterSlantEqual:"⩾",GreaterTilde:"≳",Gscr:"𝒢",gscr:"ℊ",gsim:"≳",gsime:"⪎",gsiml:"⪐",gtcc:"⪧",gtcir:"⩺",gt:">",GT:">",Gt:"≫",gtdot:"⋗",gtlPar:"⦕",gtquest:"⩼",gtrapprox:"⪆",gtrarr:"⥸",gtrdot:"⋗",gtreqless:"⋛",gtreqqless:"⪌",gtrless:"≷",gtrsim:"≳",gvertneqq:"≩︀",gvnE:"≩︀",Hacek:"ˇ",hairsp:" ",half:"½",hamilt:"ℋ",HARDcy:"Ъ",hardcy:"ъ",harrcir:"⥈",harr:"↔",hArr:"⇔",harrw:"↭",Hat:"^",hbar:"ℏ",Hcirc:"Ĥ",hcirc:"ĥ",hearts:"♥",heartsuit:"♥",hellip:"…",hercon:"⊹",hfr:"𝔥",Hfr:"ℌ",HilbertSpace:"ℋ",hksearow:"⤥",hkswarow:"⤦",hoarr:"⇿",homtht:"∻",hookleftarrow:"↩",hookrightarrow:"↪",hopf:"𝕙",Hopf:"ℍ",horbar:"―",HorizontalLine:"─",hscr:"𝒽",Hscr:"ℋ",hslash:"ℏ",Hstrok:"Ħ",hstrok:"ħ",HumpDownHump:"≎",HumpEqual:"≏",hybull:"⁃",hyphen:"‐",Iacute:"Í",iacute:"í",ic:"",Icirc:"Î",icirc:"î",Icy:"И",icy:"и",Idot:"İ",IEcy:"Е",iecy:"е",iexcl:"¡",iff:"⇔",ifr:"𝔦",Ifr:"ℑ",Igrave:"Ì",igrave:"ì",ii:"ⅈ",iiiint:"⨌",iiint:"∭",iinfin:"⧜",iiota:"℩",IJlig:"IJ",ijlig:"ij",Imacr:"Ī",imacr:"ī",image:"ℑ",ImaginaryI:"ⅈ",imagline:"ℐ",imagpart:"ℑ",imath:"ı",Im:"ℑ",imof:"⊷",imped:"Ƶ",Implies:"⇒",incare:"℅",in:"∈",infin:"∞",infintie:"⧝",inodot:"ı",intcal:"⊺",int:"∫",Int:"∬",integers:"ℤ",Integral:"∫",intercal:"⊺",Intersection:"⋂",intlarhk:"⨗",intprod:"⨼",InvisibleComma:"",InvisibleTimes:"",IOcy:"Ё",iocy:"ё",Iogon:"Į",iogon:"į",Iopf:"𝕀",iopf:"𝕚",Iota:"Ι",iota:"ι",iprod:"⨼",iquest:"¿",iscr:"𝒾",Iscr:"ℐ",isin:"∈",isindot:"⋵",isinE:"⋹",isins:"⋴",isinsv:"⋳",isinv:"∈",it:"",Itilde:"Ĩ",itilde:"ĩ",Iukcy:"І",iukcy:"і",Iuml:"Ï",iuml:"ï",Jcirc:"Ĵ",jcirc:"ĵ",Jcy:"Й",jcy:"й",Jfr:"𝔍",jfr:"𝔧",jmath:"ȷ",Jopf:"𝕁",jopf:"𝕛",Jscr:"𝒥",jscr:"𝒿",Jsercy:"Ј",jsercy:"ј",Jukcy:"Є",jukcy:"є",Kappa:"Κ",kappa:"κ",kappav:"ϰ",Kcedil:"Ķ",kcedil:"ķ",Kcy:"К",kcy:"к",Kfr:"𝔎",kfr:"𝔨",kgreen:"ĸ",KHcy:"Х",khcy:"х",KJcy:"Ќ",kjcy:"ќ",Kopf:"𝕂",kopf:"𝕜",Kscr:"𝒦",kscr:"𝓀",lAarr:"⇚",Lacute:"Ĺ",lacute:"ĺ",laemptyv:"⦴",lagran:"ℒ",Lambda:"Λ",lambda:"λ",lang:"⟨",Lang:"⟪",langd:"⦑",langle:"⟨",lap:"⪅",Laplacetrf:"ℒ",laquo:"«",larrb:"⇤",larrbfs:"⤟",larr:"←",Larr:"↞",lArr:"⇐",larrfs:"⤝",larrhk:"↩",larrlp:"↫",larrpl:"⤹",larrsim:"⥳",larrtl:"↢",latail:"⤙",lAtail:"⤛",lat:"⪫",late:"⪭",lates:"⪭︀",lbarr:"⤌",lBarr:"⤎",lbbrk:"❲",lbrace:"{",lbrack:"[",lbrke:"⦋",lbrksld:"⦏",lbrkslu:"⦍",Lcaron:"Ľ",lcaron:"ľ",Lcedil:"Ļ",lcedil:"ļ",lceil:"⌈",lcub:"{",Lcy:"Л",lcy:"л",ldca:"⤶",ldquo:"“",ldquor:"„",ldrdhar:"⥧",ldrushar:"⥋",ldsh:"↲",le:"≤",lE:"≦",LeftAngleBracket:"⟨",LeftArrowBar:"⇤",leftarrow:"←",LeftArrow:"←",Leftarrow:"⇐",LeftArrowRightArrow:"⇆",leftarrowtail:"↢",LeftCeiling:"⌈",LeftDoubleBracket:"⟦",LeftDownTeeVector:"⥡",LeftDownVectorBar:"⥙",LeftDownVector:"⇃",LeftFloor:"⌊",leftharpoondown:"↽",leftharpoonup:"↼",leftleftarrows:"⇇",leftrightarrow:"↔",LeftRightArrow:"↔",Leftrightarrow:"⇔",leftrightarrows:"⇆",leftrightharpoons:"⇋",leftrightsquigarrow:"↭",LeftRightVector:"⥎",LeftTeeArrow:"↤",LeftTee:"⊣",LeftTeeVector:"⥚",leftthreetimes:"⋋",LeftTriangleBar:"⧏",LeftTriangle:"⊲",LeftTriangleEqual:"⊴",LeftUpDownVector:"⥑",LeftUpTeeVector:"⥠",LeftUpVectorBar:"⥘",LeftUpVector:"↿",LeftVectorBar:"⥒",LeftVector:"↼",lEg:"⪋",leg:"⋚",leq:"≤",leqq:"≦",leqslant:"⩽",lescc:"⪨",les:"⩽",lesdot:"⩿",lesdoto:"⪁",lesdotor:"⪃",lesg:"⋚︀",lesges:"⪓",lessapprox:"⪅",lessdot:"⋖",lesseqgtr:"⋚",lesseqqgtr:"⪋",LessEqualGreater:"⋚",LessFullEqual:"≦",LessGreater:"≶",lessgtr:"≶",LessLess:"⪡",lesssim:"≲",LessSlantEqual:"⩽",LessTilde:"≲",lfisht:"⥼",lfloor:"⌊",Lfr:"𝔏",lfr:"𝔩",lg:"≶",lgE:"⪑",lHar:"⥢",lhard:"↽",lharu:"↼",lharul:"⥪",lhblk:"▄",LJcy:"Љ",ljcy:"љ",llarr:"⇇",ll:"≪",Ll:"⋘",llcorner:"⌞",Lleftarrow:"⇚",llhard:"⥫",lltri:"◺",Lmidot:"Ŀ",lmidot:"ŀ",lmoustache:"⎰",lmoust:"⎰",lnap:"⪉",lnapprox:"⪉",lne:"⪇",lnE:"≨",lneq:"⪇",lneqq:"≨",lnsim:"⋦",loang:"⟬",loarr:"⇽",lobrk:"⟦",longleftarrow:"⟵",LongLeftArrow:"⟵",Longleftarrow:"⟸",longleftrightarrow:"⟷",LongLeftRightArrow:"⟷",Longleftrightarrow:"⟺",longmapsto:"⟼",longrightarrow:"⟶",LongRightArrow:"⟶",Longrightarrow:"⟹",looparrowleft:"↫",looparrowright:"↬",lopar:"⦅",Lopf:"𝕃",lopf:"𝕝",loplus:"⨭",lotimes:"⨴",lowast:"∗",lowbar:"_",LowerLeftArrow:"↙",LowerRightArrow:"↘",loz:"◊",lozenge:"◊",lozf:"⧫",lpar:"(",lparlt:"⦓",lrarr:"⇆",lrcorner:"⌟",lrhar:"⇋",lrhard:"⥭",lrm:"",lrtri:"⊿",lsaquo:"‹",lscr:"𝓁",Lscr:"ℒ",lsh:"↰",Lsh:"↰",lsim:"≲",lsime:"⪍",lsimg:"⪏",lsqb:"[",lsquo:"‘",lsquor:"‚",Lstrok:"Ł",lstrok:"ł",ltcc:"⪦",ltcir:"⩹",lt:"<",LT:"<",Lt:"≪",ltdot:"⋖",lthree:"⋋",ltimes:"⋉",ltlarr:"⥶",ltquest:"⩻",ltri:"◃",ltrie:"⊴",ltrif:"◂",ltrPar:"⦖",lurdshar:"⥊",luruhar:"⥦",lvertneqq:"≨︀",lvnE:"≨︀",macr:"¯",male:"♂",malt:"✠",maltese:"✠",Map:"⤅",map:"↦",mapsto:"↦",mapstodown:"↧",mapstoleft:"↤",mapstoup:"↥",marker:"▮",mcomma:"⨩",Mcy:"М",mcy:"м",mdash:"—",mDDot:"∺",measuredangle:"∡",MediumSpace:" ",Mellintrf:"ℳ",Mfr:"𝔐",mfr:"𝔪",mho:"℧",micro:"µ",midast:"*",midcir:"⫰",mid:"∣",middot:"·",minusb:"⊟",minus:"−",minusd:"∸",minusdu:"⨪",MinusPlus:"∓",mlcp:"⫛",mldr:"…",mnplus:"∓",models:"⊧",Mopf:"𝕄",mopf:"𝕞",mp:"∓",mscr:"𝓂",Mscr:"ℳ",mstpos:"∾",Mu:"Μ",mu:"μ",multimap:"⊸",mumap:"⊸",nabla:"∇",Nacute:"Ń",nacute:"ń",nang:"∠⃒",nap:"≉",napE:"⩰̸",napid:"≋̸",napos:"ʼn",napprox:"≉",natural:"♮",naturals:"ℕ",natur:"♮",nbsp:" ",nbump:"≎̸",nbumpe:"≏̸",ncap:"⩃",Ncaron:"Ň",ncaron:"ň",Ncedil:"Ņ",ncedil:"ņ",ncong:"≇",ncongdot:"⩭̸",ncup:"⩂",Ncy:"Н",ncy:"н",ndash:"–",nearhk:"⤤",nearr:"↗",neArr:"⇗",nearrow:"↗",ne:"≠",nedot:"≐̸",NegativeMediumSpace:"",NegativeThickSpace:"",NegativeThinSpace:"",NegativeVeryThinSpace:"",nequiv:"≢",nesear:"⤨",nesim:"≂̸",NestedGreaterGreater:"≫",NestedLessLess:"≪",NewLine:"\n",nexist:"∄",nexists:"∄",Nfr:"𝔑",nfr:"𝔫",ngE:"≧̸",nge:"≱",ngeq:"≱",ngeqq:"≧̸",ngeqslant:"⩾̸",nges:"⩾̸",nGg:"⋙̸",ngsim:"≵",nGt:"≫⃒",ngt:"≯",ngtr:"≯",nGtv:"≫̸",nharr:"↮",nhArr:"⇎",nhpar:"⫲",ni:"∋",nis:"⋼",nisd:"⋺",niv:"∋",NJcy:"Њ",njcy:"њ",nlarr:"↚",nlArr:"⇍",nldr:"‥",nlE:"≦̸",nle:"≰",nleftarrow:"↚",nLeftarrow:"⇍",nleftrightarrow:"↮",nLeftrightarrow:"⇎",nleq:"≰",nleqq:"≦̸",nleqslant:"⩽̸",nles:"⩽̸",nless:"≮",nLl:"⋘̸",nlsim:"≴",nLt:"≪⃒",nlt:"≮",nltri:"⋪",nltrie:"⋬",nLtv:"≪̸",nmid:"∤",NoBreak:"",NonBreakingSpace:" ",nopf:"𝕟",Nopf:"ℕ",Not:"⫬",not:"¬",NotCongruent:"≢",NotCupCap:"≭",NotDoubleVerticalBar:"∦",NotElement:"∉",NotEqual:"≠",NotEqualTilde:"≂̸",NotExists:"∄",NotGreater:"≯",NotGreaterEqual:"≱",NotGreaterFullEqual:"≧̸",NotGreaterGreater:"≫̸",NotGreaterLess:"≹",NotGreaterSlantEqual:"⩾̸",NotGreaterTilde:"≵",NotHumpDownHump:"≎̸",NotHumpEqual:"≏̸",notin:"∉",notindot:"⋵̸",notinE:"⋹̸",notinva:"∉",notinvb:"⋷",notinvc:"⋶",NotLeftTriangleBar:"⧏̸",NotLeftTriangle:"⋪",NotLeftTriangleEqual:"⋬",NotLess:"≮",NotLessEqual:"≰",NotLessGreater:"≸",NotLessLess:"≪̸",NotLessSlantEqual:"⩽̸",NotLessTilde:"≴",NotNestedGreaterGreater:"⪢̸",NotNestedLessLess:"⪡̸",notni:"∌",notniva:"∌",notnivb:"⋾",notnivc:"⋽",NotPrecedes:"⊀",NotPrecedesEqual:"⪯̸",NotPrecedesSlantEqual:"⋠",NotReverseElement:"∌",NotRightTriangleBar:"⧐̸",NotRightTriangle:"⋫",NotRightTriangleEqual:"⋭",NotSquareSubset:"⊏̸",NotSquareSubsetEqual:"⋢",NotSquareSuperset:"⊐̸",NotSquareSupersetEqual:"⋣",NotSubset:"⊂⃒",NotSubsetEqual:"⊈",NotSucceeds:"⊁",NotSucceedsEqual:"⪰̸",NotSucceedsSlantEqual:"⋡",NotSucceedsTilde:"≿̸",NotSuperset:"⊃⃒",NotSupersetEqual:"⊉",NotTilde:"≁",NotTildeEqual:"≄",NotTildeFullEqual:"≇",NotTildeTilde:"≉",NotVerticalBar:"∤",nparallel:"∦",npar:"∦",nparsl:"⫽⃥",npart:"∂̸",npolint:"⨔",npr:"⊀",nprcue:"⋠",nprec:"⊀",npreceq:"⪯̸",npre:"⪯̸",nrarrc:"⤳̸",nrarr:"↛",nrArr:"⇏",nrarrw:"↝̸",nrightarrow:"↛",nRightarrow:"⇏",nrtri:"⋫",nrtrie:"⋭",nsc:"⊁",nsccue:"⋡",nsce:"⪰̸",Nscr:"𝒩",nscr:"𝓃",nshortmid:"∤",nshortparallel:"∦",nsim:"≁",nsime:"≄",nsimeq:"≄",nsmid:"∤",nspar:"∦",nsqsube:"⋢",nsqsupe:"⋣",nsub:"⊄",nsubE:"⫅̸",nsube:"⊈",nsubset:"⊂⃒",nsubseteq:"⊈",nsubseteqq:"⫅̸",nsucc:"⊁",nsucceq:"⪰̸",nsup:"⊅",nsupE:"⫆̸",nsupe:"⊉",nsupset:"⊃⃒",nsupseteq:"⊉",nsupseteqq:"⫆̸",ntgl:"≹",Ntilde:"Ñ",ntilde:"ñ",ntlg:"≸",ntriangleleft:"⋪",ntrianglelefteq:"⋬",ntriangleright:"⋫",ntrianglerighteq:"⋭",Nu:"Ν",nu:"ν",num:"#",numero:"№",numsp:" ",nvap:"≍⃒",nvdash:"⊬",nvDash:"⊭",nVdash:"⊮",nVDash:"⊯",nvge:"≥⃒",nvgt:">⃒",nvHarr:"⤄",nvinfin:"⧞",nvlArr:"⤂",nvle:"≤⃒",nvlt:"<⃒",nvltrie:"⊴⃒",nvrArr:"⤃",nvrtrie:"⊵⃒",nvsim:"∼⃒",nwarhk:"⤣",nwarr:"↖",nwArr:"⇖",nwarrow:"↖",nwnear:"⤧",Oacute:"Ó",oacute:"ó",oast:"⊛",Ocirc:"Ô",ocirc:"ô",ocir:"⊚",Ocy:"О",ocy:"о",odash:"⊝",Odblac:"Ő",odblac:"ő",odiv:"⨸",odot:"⊙",odsold:"⦼",OElig:"Œ",oelig:"œ",ofcir:"⦿",Ofr:"𝔒",ofr:"𝔬",ogon:"˛",Ograve:"Ò",ograve:"ò",ogt:"⧁",ohbar:"⦵",ohm:"Ω",oint:"∮",olarr:"↺",olcir:"⦾",olcross:"⦻",oline:"‾",olt:"⧀",Omacr:"Ō",omacr:"ō",Omega:"Ω",omega:"ω",Omicron:"Ο",omicron:"ο",omid:"⦶",ominus:"⊖",Oopf:"𝕆",oopf:"𝕠",opar:"⦷",OpenCurlyDoubleQuote:"“",OpenCurlyQuote:"‘",operp:"⦹",oplus:"⊕",orarr:"↻",Or:"⩔",or:"∨",ord:"⩝",order:"ℴ",orderof:"ℴ",ordf:"ª",ordm:"º",origof:"⊶",oror:"⩖",orslope:"⩗",orv:"⩛",oS:"Ⓢ",Oscr:"𝒪",oscr:"ℴ",Oslash:"Ø",oslash:"ø",osol:"⊘",Otilde:"Õ",otilde:"õ",otimesas:"⨶",Otimes:"⨷",otimes:"⊗",Ouml:"Ö",ouml:"ö",ovbar:"⌽",OverBar:"‾",OverBrace:"⏞",OverBracket:"⎴",OverParenthesis:"⏜",para:"¶",parallel:"∥",par:"∥",parsim:"⫳",parsl:"⫽",part:"∂",PartialD:"∂",Pcy:"П",pcy:"п",percnt:"%",period:".",permil:"‰",perp:"⊥",pertenk:"‱",Pfr:"𝔓",pfr:"𝔭",Phi:"Φ",phi:"φ",phiv:"ϕ",phmmat:"ℳ",phone:"☎",Pi:"Π",pi:"π",pitchfork:"⋔",piv:"ϖ",planck:"ℏ",planckh:"ℎ",plankv:"ℏ",plusacir:"⨣",plusb:"⊞",pluscir:"⨢",plus:"+",plusdo:"∔",plusdu:"⨥",pluse:"⩲",PlusMinus:"±",plusmn:"±",plussim:"⨦",plustwo:"⨧",pm:"±",Poincareplane:"ℌ",pointint:"⨕",popf:"𝕡",Popf:"ℙ",pound:"£",prap:"⪷",Pr:"⪻",pr:"≺",prcue:"≼",precapprox:"⪷",prec:"≺",preccurlyeq:"≼",Precedes:"≺",PrecedesEqual:"⪯",PrecedesSlantEqual:"≼",PrecedesTilde:"≾",preceq:"⪯",precnapprox:"⪹",precneqq:"⪵",precnsim:"⋨",pre:"⪯",prE:"⪳",precsim:"≾",prime:"′",Prime:"″",primes:"ℙ",prnap:"⪹",prnE:"⪵",prnsim:"⋨",prod:"∏",Product:"∏",profalar:"⌮",profline:"⌒",profsurf:"⌓",prop:"∝",Proportional:"∝",Proportion:"∷",propto:"∝",prsim:"≾",prurel:"⊰",Pscr:"𝒫",pscr:"𝓅",Psi:"Ψ",psi:"ψ",puncsp:" ",Qfr:"𝔔",qfr:"𝔮",qint:"⨌",qopf:"𝕢",Qopf:"ℚ",qprime:"⁗",Qscr:"𝒬",qscr:"𝓆",quaternions:"ℍ",quatint:"⨖",quest:"?",questeq:"≟",quot:'"',QUOT:'"',rAarr:"⇛",race:"∽̱",Racute:"Ŕ",racute:"ŕ",radic:"√",raemptyv:"⦳",rang:"⟩",Rang:"⟫",rangd:"⦒",range:"⦥",rangle:"⟩",raquo:"»",rarrap:"⥵",rarrb:"⇥",rarrbfs:"⤠",rarrc:"⤳",rarr:"→",Rarr:"↠",rArr:"⇒",rarrfs:"⤞",rarrhk:"↪",rarrlp:"↬",rarrpl:"⥅",rarrsim:"⥴",Rarrtl:"⤖",rarrtl:"↣",rarrw:"↝",ratail:"⤚",rAtail:"⤜",ratio:"∶",rationals:"ℚ",rbarr:"⤍",rBarr:"⤏",RBarr:"⤐",rbbrk:"❳",rbrace:"}",rbrack:"]",rbrke:"⦌",rbrksld:"⦎",rbrkslu:"⦐",Rcaron:"Ř",rcaron:"ř",Rcedil:"Ŗ",rcedil:"ŗ",rceil:"⌉",rcub:"}",Rcy:"Р",rcy:"р",rdca:"⤷",rdldhar:"⥩",rdquo:"”",rdquor:"”",rdsh:"↳",real:"ℜ",realine:"ℛ",realpart:"ℜ",reals:"ℝ",Re:"ℜ",rect:"▭",reg:"®",REG:"®",ReverseElement:"∋",ReverseEquilibrium:"⇋",ReverseUpEquilibrium:"⥯",rfisht:"⥽",rfloor:"⌋",rfr:"𝔯",Rfr:"ℜ",rHar:"⥤",rhard:"⇁",rharu:"⇀",rharul:"⥬",Rho:"Ρ",rho:"ρ",rhov:"ϱ",RightAngleBracket:"⟩",RightArrowBar:"⇥",rightarrow:"→",RightArrow:"→",Rightarrow:"⇒",RightArrowLeftArrow:"⇄",rightarrowtail:"↣",RightCeiling:"⌉",RightDoubleBracket:"⟧",RightDownTeeVector:"⥝",RightDownVectorBar:"⥕",RightDownVector:"⇂",RightFloor:"⌋",rightharpoondown:"⇁",rightharpoonup:"⇀",rightleftarrows:"⇄",rightleftharpoons:"⇌",rightrightarrows:"⇉",rightsquigarrow:"↝",RightTeeArrow:"↦",RightTee:"⊢",RightTeeVector:"⥛",rightthreetimes:"⋌",RightTriangleBar:"⧐",RightTriangle:"⊳",RightTriangleEqual:"⊵",RightUpDownVector:"⥏",RightUpTeeVector:"⥜",RightUpVectorBar:"⥔",RightUpVector:"↾",RightVectorBar:"⥓",RightVector:"⇀",ring:"˚",risingdotseq:"≓",rlarr:"⇄",rlhar:"⇌",rlm:"",rmoustache:"⎱",rmoust:"⎱",rnmid:"⫮",roang:"⟭",roarr:"⇾",robrk:"⟧",ropar:"⦆",ropf:"𝕣",Ropf:"ℝ",roplus:"⨮",rotimes:"⨵",RoundImplies:"⥰",rpar:")",rpargt:"⦔",rppolint:"⨒",rrarr:"⇉",Rrightarrow:"⇛",rsaquo:"›",rscr:"𝓇",Rscr:"ℛ",rsh:"↱",Rsh:"↱",rsqb:"]",rsquo:"’",rsquor:"’",rthree:"⋌",rtimes:"⋊",rtri:"▹",rtrie:"⊵",rtrif:"▸",rtriltri:"⧎",RuleDelayed:"⧴",ruluhar:"⥨",rx:"℞",Sacute:"Ś",sacute:"ś",sbquo:"‚",scap:"⪸",Scaron:"Š",scaron:"š",Sc:"⪼",sc:"≻",sccue:"≽",sce:"⪰",scE:"⪴",Scedil:"Ş",scedil:"ş",Scirc:"Ŝ",scirc:"ŝ",scnap:"⪺",scnE:"⪶",scnsim:"⋩",scpolint:"⨓",scsim:"≿",Scy:"С",scy:"с",sdotb:"⊡",sdot:"⋅",sdote:"⩦",searhk:"⤥",searr:"↘",seArr:"⇘",searrow:"↘",sect:"§",semi:";",seswar:"⤩",setminus:"∖",setmn:"∖",sext:"✶",Sfr:"𝔖",sfr:"𝔰",sfrown:"⌢",sharp:"♯",SHCHcy:"Щ",shchcy:"щ",SHcy:"Ш",shcy:"ш",ShortDownArrow:"↓",ShortLeftArrow:"←",shortmid:"∣",shortparallel:"∥",ShortRightArrow:"→",ShortUpArrow:"↑",shy:"",Sigma:"Σ",sigma:"σ",sigmaf:"ς",sigmav:"ς",sim:"∼",simdot:"⩪",sime:"≃",simeq:"≃",simg:"⪞",simgE:"⪠",siml:"⪝",simlE:"⪟",simne:"≆",simplus:"⨤",simrarr:"⥲",slarr:"←",SmallCircle:"∘",smallsetminus:"∖",smashp:"⨳",smeparsl:"⧤",smid:"∣",smile:"⌣",smt:"⪪",smte:"⪬",smtes:"⪬︀",SOFTcy:"Ь",softcy:"ь",solbar:"⌿",solb:"⧄",sol:"/",Sopf:"𝕊",sopf:"𝕤",spades:"♠",spadesuit:"♠",spar:"∥",sqcap:"⊓",sqcaps:"⊓︀",sqcup:"⊔",sqcups:"⊔︀",Sqrt:"√",sqsub:"⊏",sqsube:"⊑",sqsubset:"⊏",sqsubseteq:"⊑",sqsup:"⊐",sqsupe:"⊒",sqsupset:"⊐",sqsupseteq:"⊒",square:"□",Square:"□",SquareIntersection:"⊓",SquareSubset:"⊏",SquareSubsetEqual:"⊑",SquareSuperset:"⊐",SquareSupersetEqual:"⊒",SquareUnion:"⊔",squarf:"▪",squ:"□",squf:"▪",srarr:"→",Sscr:"𝒮",sscr:"𝓈",ssetmn:"∖",ssmile:"⌣",sstarf:"⋆",Star:"⋆",star:"☆",starf:"★",straightepsilon:"ϵ",straightphi:"ϕ",strns:"¯",sub:"⊂",Sub:"⋐",subdot:"⪽",subE:"⫅",sube:"⊆",subedot:"⫃",submult:"⫁",subnE:"⫋",subne:"⊊",subplus:"⪿",subrarr:"⥹",subset:"⊂",Subset:"⋐",subseteq:"⊆",subseteqq:"⫅",SubsetEqual:"⊆",subsetneq:"⊊",subsetneqq:"⫋",subsim:"⫇",subsub:"⫕",subsup:"⫓",succapprox:"⪸",succ:"≻",succcurlyeq:"≽",Succeeds:"≻",SucceedsEqual:"⪰",SucceedsSlantEqual:"≽",SucceedsTilde:"≿",succeq:"⪰",succnapprox:"⪺",succneqq:"⪶",succnsim:"⋩",succsim:"≿",SuchThat:"∋",sum:"∑",Sum:"∑",sung:"♪",sup1:"¹",sup2:"²",sup3:"³",sup:"⊃",Sup:"⋑",supdot:"⪾",supdsub:"⫘",supE:"⫆",supe:"⊇",supedot:"⫄",Superset:"⊃",SupersetEqual:"⊇",suphsol:"⟉",suphsub:"⫗",suplarr:"⥻",supmult:"⫂",supnE:"⫌",supne:"⊋",supplus:"⫀",supset:"⊃",Supset:"⋑",supseteq:"⊇",supseteqq:"⫆",supsetneq:"⊋",supsetneqq:"⫌",supsim:"⫈",supsub:"⫔",supsup:"⫖",swarhk:"⤦",swarr:"↙",swArr:"⇙",swarrow:"↙",swnwar:"⤪",szlig:"ß",Tab:"\t",target:"⌖",Tau:"Τ",tau:"τ",tbrk:"⎴",Tcaron:"Ť",tcaron:"ť",Tcedil:"Ţ",tcedil:"ţ",Tcy:"Т",tcy:"т",tdot:"⃛",telrec:"⌕",Tfr:"𝔗",tfr:"𝔱",there4:"∴",therefore:"∴",Therefore:"∴",Theta:"Θ",theta:"θ",thetasym:"ϑ",thetav:"ϑ",thickapprox:"≈",thicksim:"∼",ThickSpace:" ",ThinSpace:" ",thinsp:" ",thkap:"≈",thksim:"∼",THORN:"Þ",thorn:"þ",tilde:"˜",Tilde:"∼",TildeEqual:"≃",TildeFullEqual:"≅",TildeTilde:"≈",timesbar:"⨱",timesb:"⊠",times:"×",timesd:"⨰",tint:"∭",toea:"⤨",topbot:"⌶",topcir:"⫱",top:"⊤",Topf:"𝕋",topf:"𝕥",topfork:"⫚",tosa:"⤩",tprime:"‴",trade:"™",TRADE:"™",triangle:"▵",triangledown:"▿",triangleleft:"◃",trianglelefteq:"⊴",triangleq:"≜",triangleright:"▹",trianglerighteq:"⊵",tridot:"◬",trie:"≜",triminus:"⨺",TripleDot:"⃛",triplus:"⨹",trisb:"⧍",tritime:"⨻",trpezium:"⏢",Tscr:"𝒯",tscr:"𝓉",TScy:"Ц",tscy:"ц",TSHcy:"Ћ",tshcy:"ћ",Tstrok:"Ŧ",tstrok:"ŧ",twixt:"≬",twoheadleftarrow:"↞",twoheadrightarrow:"↠",Uacute:"Ú",uacute:"ú",uarr:"↑",Uarr:"↟",uArr:"⇑",Uarrocir:"⥉",Ubrcy:"Ў",ubrcy:"ў",Ubreve:"Ŭ",ubreve:"ŭ",Ucirc:"Û",ucirc:"û",Ucy:"У",ucy:"у",udarr:"⇅",Udblac:"Ű",udblac:"ű",udhar:"⥮",ufisht:"⥾",Ufr:"𝔘",ufr:"𝔲",Ugrave:"Ù",ugrave:"ù",uHar:"⥣",uharl:"↿",uharr:"↾",uhblk:"▀",ulcorn:"⌜",ulcorner:"⌜",ulcrop:"⌏",ultri:"◸",Umacr:"Ū",umacr:"ū",uml:"¨",UnderBar:"_",UnderBrace:"⏟",UnderBracket:"⎵",UnderParenthesis:"⏝",Union:"⋃",UnionPlus:"⊎",Uogon:"Ų",uogon:"ų",Uopf:"𝕌",uopf:"𝕦",UpArrowBar:"⤒",uparrow:"↑",UpArrow:"↑",Uparrow:"⇑",UpArrowDownArrow:"⇅",updownarrow:"↕",UpDownArrow:"↕",Updownarrow:"⇕",UpEquilibrium:"⥮",upharpoonleft:"↿",upharpoonright:"↾",uplus:"⊎",UpperLeftArrow:"↖",UpperRightArrow:"↗",upsi:"υ",Upsi:"ϒ",upsih:"ϒ",Upsilon:"Υ",upsilon:"υ",UpTeeArrow:"↥",UpTee:"⊥",upuparrows:"⇈",urcorn:"⌝",urcorner:"⌝",urcrop:"⌎",Uring:"Ů",uring:"ů",urtri:"◹",Uscr:"𝒰",uscr:"𝓊",utdot:"⋰",Utilde:"Ũ",utilde:"ũ",utri:"▵",utrif:"▴",uuarr:"⇈",Uuml:"Ü",uuml:"ü",uwangle:"⦧",vangrt:"⦜",varepsilon:"ϵ",varkappa:"ϰ",varnothing:"∅",varphi:"ϕ",varpi:"ϖ",varpropto:"∝",varr:"↕",vArr:"⇕",varrho:"ϱ",varsigma:"ς",varsubsetneq:"⊊︀",varsubsetneqq:"⫋︀",varsupsetneq:"⊋︀",varsupsetneqq:"⫌︀",vartheta:"ϑ",vartriangleleft:"⊲",vartriangleright:"⊳",vBar:"⫨",Vbar:"⫫",vBarv:"⫩",Vcy:"В",vcy:"в",vdash:"⊢",vDash:"⊨",Vdash:"⊩",VDash:"⊫",Vdashl:"⫦",veebar:"⊻",vee:"∨",Vee:"⋁",veeeq:"≚",vellip:"⋮",verbar:"|",Verbar:"‖",vert:"|",Vert:"‖",VerticalBar:"∣",VerticalLine:"|",VerticalSeparator:"❘",VerticalTilde:"≀",VeryThinSpace:" ",Vfr:"𝔙",vfr:"𝔳",vltri:"⊲",vnsub:"⊂⃒",vnsup:"⊃⃒",Vopf:"𝕍",vopf:"𝕧",vprop:"∝",vrtri:"⊳",Vscr:"𝒱",vscr:"𝓋",vsubnE:"⫋︀",vsubne:"⊊︀",vsupnE:"⫌︀",vsupne:"⊋︀",Vvdash:"⊪",vzigzag:"⦚",Wcirc:"Ŵ",wcirc:"ŵ",wedbar:"⩟",wedge:"∧",Wedge:"⋀",wedgeq:"≙",weierp:"℘",Wfr:"𝔚",wfr:"𝔴",Wopf:"𝕎",wopf:"𝕨",wp:"℘",wr:"≀",wreath:"≀",Wscr:"𝒲",wscr:"𝓌",xcap:"⋂",xcirc:"◯",xcup:"⋃",xdtri:"▽",Xfr:"𝔛",xfr:"𝔵",xharr:"⟷",xhArr:"⟺",Xi:"Ξ",xi:"ξ",xlarr:"⟵",xlArr:"⟸",xmap:"⟼",xnis:"⋻",xodot:"⨀",Xopf:"𝕏",xopf:"𝕩",xoplus:"⨁",xotime:"⨂",xrarr:"⟶",xrArr:"⟹",Xscr:"𝒳",xscr:"𝓍",xsqcup:"⨆",xuplus:"⨄",xutri:"△",xvee:"⋁",xwedge:"⋀",Yacute:"Ý",yacute:"ý",YAcy:"Я",yacy:"я",Ycirc:"Ŷ",ycirc:"ŷ",Ycy:"Ы",ycy:"ы",yen:"¥",Yfr:"𝔜",yfr:"𝔶",YIcy:"Ї",yicy:"ї",Yopf:"𝕐",yopf:"𝕪",Yscr:"𝒴",yscr:"𝓎",YUcy:"Ю",yucy:"ю",yuml:"ÿ",Yuml:"Ÿ",Zacute:"Ź",zacute:"ź",Zcaron:"Ž",zcaron:"ž",Zcy:"З",zcy:"з",Zdot:"Ż",zdot:"ż",zeetrf:"ℨ",ZeroWidthSpace:"",Zeta:"Ζ",zeta:"ζ",zfr:"𝔷",Zfr:"ℨ",ZHcy:"Ж",zhcy:"ж",zigrarr:"⇝",zopf:"𝕫",Zopf:"ℤ",Zscr:"𝒵",zscr:"𝓏",zwj:"",zwnj:""},m={Aacute:"Á",aacute:"á",Acirc:"Â",acirc:"â",acute:"´",AElig:"Æ",aelig:"æ",Agrave:"À",agrave:"à",amp:"&",AMP:"&",Aring:"Å",aring:"å",Atilde:"Ã",atilde:"ã",Auml:"Ä",auml:"ä",brvbar:"¦",Ccedil:"Ç",ccedil:"ç",cedil:"¸",cent:"¢",copy:"©",COPY:"©",curren:"¤",deg:"°",divide:"÷",Eacute:"É",eacute:"é",Ecirc:"Ê",ecirc:"ê",Egrave:"È",egrave:"è",ETH:"Ð",eth:"ð",Euml:"Ë",euml:"ë",frac12:"½",frac14:"¼",frac34:"¾",gt:">",GT:">",Iacute:"Í",iacute:"í",Icirc:"Î",icirc:"î",iexcl:"¡",Igrave:"Ì",igrave:"ì",iquest:"¿",Iuml:"Ï",iuml:"ï",laquo:"«",lt:"<",LT:"<",macr:"¯",micro:"µ",middot:"·",nbsp:" ",not:"¬",Ntilde:"Ñ",ntilde:"ñ",Oacute:"Ó",oacute:"ó",Ocirc:"Ô",ocirc:"ô",Ograve:"Ò",ograve:"ò",ordf:"ª",ordm:"º",Oslash:"Ø",oslash:"ø",Otilde:"Õ",otilde:"õ",Ouml:"Ö",ouml:"ö",para:"¶",plusmn:"±",pound:"£",quot:'"',QUOT:'"',raquo:"»",reg:"®",REG:"®",sect:"§",shy:"",sup1:"¹",sup2:"²",sup3:"³",szlig:"ß",THORN:"Þ",thorn:"þ",times:"×",Uacute:"Ú",uacute:"ú",Ucirc:"Û",ucirc:"û",Ugrave:"Ù",ugrave:"ù",uml:"¨",Uuml:"Ü",uuml:"ü",Yacute:"Ý",yacute:"ý",yen:"¥",yuml:"ÿ"},v={amp:"&",apos:"'",gt:">",lt:"<",quot:'"'},g={},y=a&&a.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(g,"__esModule",{value:!0});var b=y({0:65533,128:8364,130:8218,131:402,132:8222,133:8230,134:8224,135:8225,136:710,137:8240,138:352,139:8249,140:338,142:381,145:8216,146:8217,147:8220,148:8221,149:8226,150:8211,151:8212,152:732,153:8482,154:353,155:8250,156:339,158:382,159:376}),w=String.fromCodePoint||function(e){var t="";return e>65535&&(e-=65536,t+=String.fromCharCode(e>>>10&1023|55296),e=56320|1023&e),t+=String.fromCharCode(e)};g.default=function(e){return e>=55296&&e<=57343||e>1114111?"�":(e in b.default&&(e=b.default[e]),w(e))};var x=a&&a.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(f,"__esModule",{value:!0}),f.decodeHTML=f.decodeHTMLStrict=f.decodeXML=void 0;var k=x(h),S=x(m),C=x(v),E=x(g),T=/&(?:[a-zA-Z0-9]+|#[xX][\da-fA-F]+|#\d+);/g;function O(e){var t=M(e);return function(e){return String(e).replace(T,t)}}f.decodeXML=O(C.default),f.decodeHTMLStrict=O(k.default);var $=function(e,t){return e<t?1:-1};function M(e){return function(t){if("#"===t.charAt(1)){var n=t.charAt(2);return"X"===n||"x"===n?E.default(parseInt(t.substr(3),16)):E.default(parseInt(t.substr(2),10))}return e[t.slice(1,-1)]||t}}f.decodeHTML=function(){for(var e=Object.keys(S.default).sort($),t=Object.keys(k.default).sort($),n=0,r=0;n<t.length;n++)e[r]===t[n]?(t[n]+=";?",r++):t[n]+=";";var o=new RegExp("&(?:"+t.join("|")+"|#[xX][\\da-fA-F]+;?|#\\d+;?)","g"),i=M(k.default);function a(e){return";"!==e.substr(-1)&&(e+=";"),i(e)}return function(e){return String(e).replace(o,a)}}();var A={},D=a&&a.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(A,"__esModule",{value:!0}),A.escapeUTF8=A.escape=A.encodeNonAsciiHTML=A.encodeHTML=A.encodeXML=void 0;var L=_(D(v).default),N=F(L);A.encodeXML=U(L);var R,I,P=_(D(h).default),Z=F(P);function _(e){return Object.keys(e).sort().reduce((function(t,n){return t[e[n]]="&"+n+";",t}),{})}function F(e){for(var t=[],n=[],r=0,o=Object.keys(e);r<o.length;r++){var i=o[r];1===i.length?t.push("\\"+i):n.push(i)}t.sort();for(var a=0;a<t.length-1;a++){for(var s=a;s<t.length-1&&t[s].charCodeAt(1)+1===t[s+1].charCodeAt(1);)s+=1;var l=1+s-a;l<3||t.splice(a,l,t[a]+"-"+t[s])}return n.unshift("["+t.join("")+"]"),new RegExp(n.join("|"),"g")}A.encodeHTML=(R=P,I=Z,function(e){return e.replace(I,(function(e){return R[e]})).replace(j,z)}),A.encodeNonAsciiHTML=U(P);var j=/(?:[\x80-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF])/g,B=null!=String.prototype.codePointAt?function(e){return e.codePointAt(0)}:function(e){return 1024*(e.charCodeAt(0)-55296)+e.charCodeAt(1)-56320+65536};function z(e){return"&#x"+(e.length>1?B(e):e.charCodeAt(0)).toString(16).toUpperCase()+";"}var H=new RegExp(N.source+"|"+j.source,"g");function U(e){return function(t){return t.replace(H,(function(t){return e[t]||z(t)}))}}A.escape=function(e){return e.replace(H,z)},A.escapeUTF8=function(e){return e.replace(N,z)},function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.decodeXMLStrict=e.decodeHTML5Strict=e.decodeHTML4Strict=e.decodeHTML5=e.decodeHTML4=e.decodeHTMLStrict=e.decodeHTML=e.decodeXML=e.encodeHTML5=e.encodeHTML4=e.escapeUTF8=e.escape=e.encodeNonAsciiHTML=e.encodeHTML=e.encodeXML=e.encode=e.decodeStrict=e.decode=void 0;var t=f,n=A;e.decode=function(e,n){return(!n||n<=0?t.decodeXML:t.decodeHTML)(e)},e.decodeStrict=function(e,n){return(!n||n<=0?t.decodeXML:t.decodeHTMLStrict)(e)},e.encode=function(e,t){return(!t||t<=0?n.encodeXML:n.encodeHTML)(e)};var r=A;Object.defineProperty(e,"encodeXML",{enumerable:!0,get:function(){return r.encodeXML}}),Object.defineProperty(e,"encodeHTML",{enumerable:!0,get:function(){return r.encodeHTML}}),Object.defineProperty(e,"encodeNonAsciiHTML",{enumerable:!0,get:function(){return r.encodeNonAsciiHTML}}),Object.defineProperty(e,"escape",{enumerable:!0,get:function(){return r.escape}}),Object.defineProperty(e,"escapeUTF8",{enumerable:!0,get:function(){return r.escapeUTF8}}),Object.defineProperty(e,"encodeHTML4",{enumerable:!0,get:function(){return r.encodeHTML}}),Object.defineProperty(e,"encodeHTML5",{enumerable:!0,get:function(){return r.encodeHTML}});var o=f;Object.defineProperty(e,"decodeXML",{enumerable:!0,get:function(){return o.decodeXML}}),Object.defineProperty(e,"decodeHTML",{enumerable:!0,get:function(){return o.decodeHTML}}),Object.defineProperty(e,"decodeHTMLStrict",{enumerable:!0,get:function(){return o.decodeHTMLStrict}}),Object.defineProperty(e,"decodeHTML4",{enumerable:!0,get:function(){return o.decodeHTML}}),Object.defineProperty(e,"decodeHTML5",{enumerable:!0,get:function(){return o.decodeHTML}}),Object.defineProperty(e,"decodeHTML4Strict",{enumerable:!0,get:function(){return o.decodeHTMLStrict}}),Object.defineProperty(e,"decodeHTML5Strict",{enumerable:!0,get:function(){return o.decodeHTMLStrict}}),Object.defineProperty(e,"decodeXMLStrict",{enumerable:!0,get:function(){return o.decodeXML}})}(p);var W="&(?:#x[a-f0-9]{1,6}|#[0-9]{1,7}|[a-z][a-z0-9]{1,31});",V=/[\\&]/,q="[!\"#$%&'()*+,./:;<=>?@[\\\\\\]^_`{|}~-]",G=new RegExp("\\\\"+q+"|"+W,"gi"),K=new RegExp('[&<>"]',"g"),Y=function(e){return 92===e.charCodeAt(0)?e.charAt(1):p.decodeHTML(e)};function X(e){return V.test(e)?e.replace(G,Y):e}function J(e){try{return d(e)}catch(t){return e}}function Q(e){switch(e){case"&":return"&";case"<":return"<";case">":return">";case'"':return""";default:return e}}function ee(e){return K.test(e)?e.replace(K,Q):e}function te(e,t){for(var n=[],r=0;r<t;r++)n.push(e);return n.join("")}function ne(e){return!e||!/[^ \t]+/.test(e)}var re=function(){function e(e){this.current=e,this.root=e,this.entering=!0}return e.prototype.next=function(){var e=this.current,t=this.entering;if(null===e)return null;var n=oe(e);return t&&n?e.firstChild?(this.current=e.firstChild,this.entering=!0):this.entering=!1:e===this.root?this.current=null:null===e.next?(this.current=e.parent,this.entering=!1):(this.current=e.next,this.entering=!0),{entering:t,node:e}},e.prototype.resumeAt=function(e,t){this.current=e,this.entering=!0===t},e}();function oe(e){switch(e.type){case"document":case"blockQuote":case"list":case"item":case"paragraph":case"heading":case"emph":case"strong":case"strike":case"link":case"image":case"table":case"tableHead":case"tableBody":case"tableRow":case"tableCell":case"tableDelimRow":case"customInline":return!0;default:return!1}}var ie=1,ae={};function se(e){delete ae[e]}var le=function(){function e(e,t){this.parent=null,this.prev=null,this.next=null,this.firstChild=null,this.lastChild=null,this.literal=null,this.id="document"===e?-1:ie++,this.type=e,this.sourcepos=t,ae[this.id]=this}return e.prototype.isContainer=function(){return oe(this)},e.prototype.unlink=function(){this.prev?this.prev.next=this.next:this.parent&&(this.parent.firstChild=this.next),this.next?this.next.prev=this.prev:this.parent&&(this.parent.lastChild=this.prev),this.parent=null,this.next=null,this.prev=null},e.prototype.replaceWith=function(e){this.insertBefore(e),this.unlink()},e.prototype.insertAfter=function(e){e.unlink(),e.next=this.next,e.next&&(e.next.prev=e),e.prev=this,this.next=e,this.parent&&(e.parent=this.parent,e.next||(e.parent.lastChild=e))},e.prototype.insertBefore=function(e){e.unlink(),e.prev=this.prev,e.prev&&(e.prev.next=e),e.next=this,this.prev=e,e.parent=this.parent,e.prev||(e.parent.firstChild=e)},e.prototype.appendChild=function(e){e.unlink(),e.parent=this,this.lastChild?(this.lastChild.next=e,e.prev=this.lastChild,this.lastChild=e):(this.firstChild=e,this.lastChild=e)},e.prototype.prependChild=function(e){e.unlink(),e.parent=this,this.firstChild?(this.firstChild.prev=e,e.next=this.firstChild,this.firstChild=e):(this.firstChild=e,this.lastChild=e)},e.prototype.walker=function(){return new re(this)},e}(),ce=function(e){function t(t,n){var r=e.call(this,t,n)||this;return r.open=!0,r.lineOffsets=null,r.stringContent=null,r.lastLineBlank=!1,r.lastLineChecked=!1,r.type=t,r}return r(t,e),t}(le),ue=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.listData=null,t}return r(t,e),t}(ce),de=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.level=0,t.headingType="atx",t}return r(t,e),t}(ce),pe=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.isFenced=!1,t.fenceChar=null,t.fenceLength=0,t.fenceOffset=-1,t.info=null,t.infoPadding=0,t}return r(t,e),t}(ce),fe=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.columns=[],t}return r(t,e),t}(ce),he=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.startIdx=0,t.endIdx=0,t.paddingLeft=0,t.paddingRight=0,t.ignored=!1,t}return r(t,e),t}(ce),me=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.title="",t.dest="",t.label="",t}return r(t,e),t}(ce),ve=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.syntaxLength=0,t.offset=-1,t.info="",t}return r(t,e),t}(ce),ge=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.htmlBlockType=-1,t}return r(t,e),t}(ce),ye=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.destination=null,t.title=null,t.extendedAutolink=!1,t}return r(t,e),t}(le),be=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.tickCount=0,t}return r(t,e),t}(le),we=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.info="",t}return r(t,e),t}(le);function xe(e,t){switch(e){case"heading":return new de(e,t);case"list":case"item":return new ue(e,t);case"link":case"image":return new ye(e,t);case"codeBlock":return new pe(e,t);case"htmlBlock":return new ge(e,t);case"table":return new fe(e,t);case"tableCell":return new he(e,t);case"document":case"paragraph":case"blockQuote":case"thematicBreak":case"tableRow":case"tableBody":case"tableHead":case"frontMatter":return new ce(e,t);case"code":return new be(e,t);case"refDef":return new me(e,t);case"customBlock":return new ve(e,t);case"customInline":return new we(e,t);default:return new le(e,t)}}function ke(e){return"codeBlock"===e.type}function Se(e){return"list"===e.type}function Ce(e){return"refDef"===e.type}function Ee(e){return"customBlock"===e.type}function Te(e,t){var n=xe("text",t);return n.literal=e,n}var Oe,$e="[A-Za-z][A-Za-z0-9-]*",Me="<"+$e+"(?:\\s+[a-zA-Z_:][a-zA-Z0-9:._-]*(?:\\s*=\\s*(?:[^\"'=<>`\\x00-\\x20]+|'[^']*'|\"[^\"]*\"))?)*\\s*/?>",Ae="</"+$e+"\\s*[>]",De=new RegExp("^(?:"+Me+"|"+Ae+"|\x3c!----\x3e|\x3c!--(?:-?[^>-])(?:-?[^-])*--\x3e|[<][?].*?[?][>]|<![A-Z]+\\s+[^>]*>|<!\\[CDATA\\[[\\s\\S]*?\\]\\]>)","i");if(String.fromCodePoint)Oe=function(e){try{return String.fromCodePoint(e)}catch(t){if(t instanceof RangeError)return String.fromCharCode(65533);throw t}};else{var Le=String.fromCharCode,Ne=Math.floor;Oe=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var n,r,o=[],i=-1,a=e.length;if(!a)return"";for(var s="";++i<a;){var l=Number(e[i]);if(!isFinite(l)||l<0||l>1114111||Ne(l)!==l)return String.fromCharCode(65533);l<=65535?o.push(l):(n=55296+((l-=65536)>>10),r=l%1024+56320,o.push(n,r)),(i+1===a||o.length>16384)&&(s+=Le.apply(void 0,o),o.length=0)}return s}}var Re=Oe,Ie="(?:[w-]+.)*[A-Za-z0-9-]+.[A-Za-z0-9-]+",Pe="[^<\\s]*[^<?!.,:*_?~\\s]",Ze="[\\w.+-]+@(?:[\\w-]+\\.)+[\\w-]+";function _e(e){var t=/\)+$/.exec(e);if(t){for(var n=0,r=0,o=e;r<o.length;r++){var i=o[r];"("===i?n<0?n=1:n+=1:")"===i&&(n-=1)}if(n<0){var a=Math.min(-n,t[0].length);return e.substring(0,e.length-a)}}return e}function Fe(e){return e.replace(/&[A-Za-z0-9]+;$/,"")}function je(e){return i(i([],function(e){for(var t,n=new RegExp("(www|https?://)."+Ie+Pe,"g"),r=[];t=n.exec(e);){var o=Fe(_e(t[0])),i="www"===t[1]?"http://":"";r.push({text:o,range:[t.index,t.index+o.length-1],url:""+i+o})}return r}(e)),function(e){for(var t,n=new RegExp(Ze,"g"),r=[];t=n.exec(e);){var o=t[0];/[_-]+$/.test(o)||r.push({text:o,range:[t.index,t.index+o.length-1],url:"mailto:"+o})}return r}(e)).sort((function(e,t){return e.range[0]-t.range[0]}))}function Be(e){return e[e.length-1]}function ze(e){return e.slice(1,e.length-1).trim().replace(/[ \t\r\n]+/," ").toLowerCase().toUpperCase()}function He(e,t){Object.keys(e).forEach((function(n){t(n,e[n])}))}function Ue(e){return!Object.keys(e).length}var We=126,Ve=39,qe=34,Ge=36,Ke="\\\\"+q,Ye=new RegExp(/[!"#$%&'()*+,\-./:;<=>?@\[\]\\^_`{|}~\xA1\xA7\xAB\xB6\xB7\xBB\xBF\u037E\u0387\u055A-\u055F\u0589\u058A\u05BE\u05C0\u05C3\u05C6\u05F3\u05F4\u0609\u060A\u060C\u060D\u061B\u061E\u061F\u066A-\u066D\u06D4\u0700-\u070D\u07F7-\u07F9\u0830-\u083E\u085E\u0964\u0965\u0970\u0AF0\u0DF4\u0E4F\u0E5A\u0E5B\u0F04-\u0F12\u0F14\u0F3A-\u0F3D\u0F85\u0FD0-\u0FD4\u0FD9\u0FDA\u104A-\u104F\u10FB\u1360-\u1368\u1400\u166D\u166E\u169B\u169C\u16EB-\u16ED\u1735\u1736\u17D4-\u17D6\u17D8-\u17DA\u1800-\u180A\u1944\u1945\u1A1E\u1A1F\u1AA0-\u1AA6\u1AA8-\u1AAD\u1B5A-\u1B60\u1BFC-\u1BFF\u1C3B-\u1C3F\u1C7E\u1C7F\u1CC0-\u1CC7\u1CD3\u2010-\u2027\u2030-\u2043\u2045-\u2051\u2053-\u205E\u207D\u207E\u208D\u208E\u2308-\u230B\u2329\u232A\u2768-\u2775\u27C5\u27C6\u27E6-\u27EF\u2983-\u2998\u29D8-\u29DB\u29FC\u29FD\u2CF9-\u2CFC\u2CFE\u2CFF\u2D70\u2E00-\u2E2E\u2E30-\u2E42\u3001-\u3003\u3008-\u3011\u3014-\u301F\u3030\u303D\u30A0\u30FB\uA4FE\uA4FF\uA60D-\uA60F\uA673\uA67E\uA6F2-\uA6F7\uA874-\uA877\uA8CE\uA8CF\uA8F8-\uA8FA\uA8FC\uA92E\uA92F\uA95F\uA9C1-\uA9CD\uA9DE\uA9DF\uAA5C-\uAA5F\uAADE\uAADF\uAAF0\uAAF1\uABEB\uFD3E\uFD3F\uFE10-\uFE19\uFE30-\uFE52\uFE54-\uFE61\uFE63\uFE68\uFE6A\uFE6B\uFF01-\uFF03\uFF05-\uFF0A\uFF0C-\uFF0F\uFF1A\uFF1B\uFF1F\uFF20\uFF3B-\uFF3D\uFF3F\uFF5B\uFF5D\uFF5F-\uFF65]|\uD800[\uDD00-\uDD02\uDF9F\uDFD0]|\uD801\uDD6F|\uD802[\uDC57\uDD1F\uDD3F\uDE50-\uDE58\uDE7F\uDEF0-\uDEF6\uDF39-\uDF3F\uDF99-\uDF9C]|\uD804[\uDC47-\uDC4D\uDCBB\uDCBC\uDCBE-\uDCC1\uDD40-\uDD43\uDD74\uDD75\uDDC5-\uDDC9\uDDCD\uDDDB\uDDDD-\uDDDF\uDE38-\uDE3D\uDEA9]|\uD805[\uDCC6\uDDC1-\uDDD7\uDE41-\uDE43\uDF3C-\uDF3E]|\uD809[\uDC70-\uDC74]|\uD81A[\uDE6E\uDE6F\uDEF5\uDF37-\uDF3B\uDF44]|\uD82F\uDC9F|\uD836[\uDE87-\uDE8B]/),Xe=new RegExp('^(?:"('+Ke+'|[^"\\x00])*"|\'('+Ke+"|[^'\\x00])*'|\\(("+Ke+"|[^()\\x00])*\\))"),Je=/^(?:<(?:[^<>\n\\\x00]|\\.)*>)/,Qe=new RegExp("^"+q),et=new RegExp("^"+W,"i"),tt=/`+/,nt=/^`+/,rt=/\.\.\./g,ot=/--+/g,it=/^<([a-zA-Z0-9.!#$%&'*+\/=?^_`{|}~-]+@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*)>/,at=/^<[A-Za-z][A-Za-z0-9.+-]{1,31}:[^<>\x00-\x20]*>/i,st=/^ *(?:\n *)?/,lt=/^[ \t\n\x0b\x0c\x0d]/,ct=/^\s/,ut=/ *$/,dt=/^ */,pt=/^ *(?:\n|$)/,ft=/^\[(?:[^\\\[\]]|\\.){0,1000}\]/,ht=/^[^\n`\[\]\\!<&*_'"~$]+/m,mt=function(){function e(e){this.subject="",this.delimiters=null,this.brackets=null,this.pos=0,this.lineStartNum=0,this.lineIdx=0,this.lineOffsets=[0],this.linePosOffset=0,this.refMap={},this.refLinkCandidateMap={},this.refDefCandidateMap={},this.options=e}return e.prototype.sourcepos=function(e,t){var n=this.linePosOffset+this.lineOffsets[this.lineIdx],r=this.lineStartNum+this.lineIdx,o=[r,e+n];return"number"==typeof t?[o,[r,t+n]]:o},e.prototype.nextLine=function(){this.lineIdx+=1,this.linePosOffset=-this.pos},e.prototype.match=function(e){var t=e.exec(this.subject.slice(this.pos));return null===t?null:(this.pos+=t.index+t[0].length,t[0])},e.prototype.peek=function(){return this.pos<this.subject.length?this.subject.charCodeAt(this.pos):-1},e.prototype.spnl=function(){return this.match(st),!0},e.prototype.parseBackticks=function(e){var t=this.pos+1,n=this.match(nt);if(null===n)return!1;for(var r,o=this.pos;null!==(r=this.match(tt));)if(r===n){var i=this.subject.slice(o,this.pos-n.length),a=this.sourcepos(t,this.pos),s=i.split("\n");if(s.length>1){var l=Be(s);this.lineIdx+=s.length-1,this.linePosOffset=-(this.pos-l.length-n.length),a[1]=this.sourcepos(this.pos),i=s.join(" ")}var c=xe("code",a);return i.length>0&&null!==i.match(/[^ ]/)&&" "==i[0]&&" "==i[i.length-1]?c.literal=i.slice(1,i.length-1):c.literal=i,c.tickCount=n.length,e.appendChild(c),!0}return this.pos=o,e.appendChild(Te(n,this.sourcepos(t,this.pos-1))),!0},e.prototype.parseBackslash=function(e){var t,n=this.subject;this.pos+=1;var r=this.pos;return 10===this.peek()?(this.pos+=1,t=xe("linebreak",this.sourcepos(this.pos-1,this.pos)),e.appendChild(t),this.nextLine()):Qe.test(n.charAt(this.pos))?(e.appendChild(Te(n.charAt(this.pos),this.sourcepos(r,this.pos))),this.pos+=1):e.appendChild(Te("\\",this.sourcepos(r,r))),!0},e.prototype.parseAutolink=function(e){var t,n,r,o=this.pos+1;return(t=this.match(it))?(n=t.slice(1,t.length-1),(r=xe("link",this.sourcepos(o,this.pos))).destination=J("mailto:"+n),r.title="",r.appendChild(Te(n,this.sourcepos(o+1,this.pos-1))),e.appendChild(r),!0):!!(t=this.match(at))&&(n=t.slice(1,t.length-1),(r=xe("link",this.sourcepos(o,this.pos))).destination=J(n),r.title="",r.appendChild(Te(n,this.sourcepos(o+1,this.pos-1))),e.appendChild(r),!0)},e.prototype.parseHtmlTag=function(e){var t=this.pos+1,n=this.match(De);if(null===n)return!1;var r=xe("htmlInline",this.sourcepos(t,this.pos));return r.literal=n,e.appendChild(r),!0},e.prototype.scanDelims=function(e){var t=0,n=this.pos;if(e===Ve||e===qe)t++,this.pos++;else for(;this.peek()===e;)t++,this.pos++;if(0===t||t<2&&(e===We||e===Ge))return this.pos=n,null;var r,o=0===n?"\n":this.subject.charAt(n-1),i=this.peek();r=-1===i?"\n":Re(i);var a,s,l=ct.test(r),c=Ye.test(r),u=ct.test(o),d=Ye.test(o),p=!l&&(!c||u||d),f=!u&&(!d||l||c);return 95===e?(a=p&&(!f||d),s=f&&(!p||c)):e===Ve||e===qe?(a=p&&!f,s=f):e===Ge?(a=!l,s=!u):(a=p,s=f),this.pos=n,{numdelims:t,canOpen:a,canClose:s}},e.prototype.handleDelim=function(e,t){var n=this.scanDelims(e);if(!n)return!1;var r=n.numdelims,o=this.pos+1;this.pos+=r;var i=Te(e===Ve?"’":e===qe?"“":this.subject.slice(o-1,this.pos),this.sourcepos(o,this.pos));return t.appendChild(i),(n.canOpen||n.canClose)&&(this.options.smart||e!==Ve&&e!==qe)&&(this.delimiters={cc:e,numdelims:r,origdelims:r,node:i,previous:this.delimiters,next:null,canOpen:n.canOpen,canClose:n.canClose},this.delimiters.previous&&(this.delimiters.previous.next=this.delimiters)),!0},e.prototype.removeDelimiter=function(e){null!==e.previous&&(e.previous.next=e.next),null===e.next?this.delimiters=e.previous:e.next.previous=e.previous},e.prototype.removeDelimitersBetween=function(e,t){e.next!==t&&(e.next=t,t.previous=e)},e.prototype.processEmphasis=function(e){var t,n,r,o,i,a,s,l=!1,c=((t={})[95]=[e,e,e],t[42]=[e,e,e],t[39]=[e],t[34]=[e],t[126]=[e],t[36]=[e],t);for(r=this.delimiters;null!==r&&r.previous!==e;)r=r.previous;for(;null!==r;){var u=r.cc,d=95===u||42===u;if(r.canClose){for(n=r.previous,s=!1;null!==n&&n!==e&&n!==c[u][d?r.origdelims%3:0];){if(l=d&&(r.canOpen||n.canClose)&&r.origdelims%3!=0&&(n.origdelims+r.origdelims)%3==0,n.cc===r.cc&&n.canOpen&&!l){s=!0;break}n=n.previous}if(o=r,d||u===We||u===Ge)if(s){if(n){var p=r.numdelims>=2&&n.numdelims>=2?2:1,f=d?0:1;i=n.node,a=r.node;var h=d?1===p?"emph":"strong":"strike";u===Ge&&(h="customInline");var m=xe(h),v=i.sourcepos[1],g=a.sourcepos[0];m.sourcepos=[[v[0],v[1]-p+1],[g[0],g[1]+p-1]],i.sourcepos[1][1]-=p,a.sourcepos[0][1]+=p,i.literal=i.literal.slice(p),a.literal=a.literal.slice(p),n.numdelims-=p,r.numdelims-=p;for(var y=i.next,b=void 0;y&&y!==a;)b=y.next,y.unlink(),m.appendChild(y),y=b;if(u===Ge){var w=m.firstChild,x=w.literal||"",k=x.split(/\s/)[0];m.info=k,x.length<=k.length?w.unlink():(w.sourcepos[0][1]+=k.length,w.literal=x.replace(k+" ",""))}if(i.insertAfter(m),this.removeDelimitersBetween(n,r),n.numdelims<=f&&(0===n.numdelims&&i.unlink(),this.removeDelimiter(n)),r.numdelims<=f){0===r.numdelims&&a.unlink();var S=r.next;this.removeDelimiter(r),r=S}}}else r=r.next;else u===Ve?(r.node.literal="’",s&&(n.node.literal="‘"),r=r.next):u===qe&&(r.node.literal="”",s&&(n.node.literal="“"),r=r.next);s||(c[u][d?o.origdelims%3:0]=o.previous,o.canOpen||this.removeDelimiter(o))}else r=r.next}for(;null!==this.delimiters&&this.delimiters!==e;)this.removeDelimiter(this.delimiters)},e.prototype.parseLinkTitle=function(){var e=this.match(Xe);return null===e?null:X(e.substr(1,e.length-2))},e.prototype.parseLinkDestination=function(){var e=this.match(Je);if(null===e){if(60===this.peek())return null;for(var t=this.pos,n=0,r=void 0;-1!==(r=this.peek());)if(92===r&&Qe.test(this.subject.charAt(this.pos+1)))this.pos+=1,-1!==this.peek()&&(this.pos+=1);else if(40===r)this.pos+=1,n+=1;else if(41===r){if(n<1)break;this.pos+=1,n-=1}else{if(null!==lt.exec(Re(r)))break;this.pos+=1}return this.pos===t&&41!==r||0!==n?null:J(X(e=this.subject.substr(t,this.pos-t)))}return J(X(e.substr(1,e.length-2)))},e.prototype.parseLinkLabel=function(){var e=this.match(ft);return null===e||e.length>1001?0:e.length},e.prototype.parseOpenBracket=function(e){var t=this.pos;this.pos+=1;var n=Te("[",this.sourcepos(this.pos,this.pos));return e.appendChild(n),this.addBracket(n,t,!1),!0},e.prototype.parseBang=function(e){var t=this.pos;if(this.pos+=1,91===this.peek()){this.pos+=1;var n=Te("![",this.sourcepos(this.pos-1,this.pos));e.appendChild(n),this.addBracket(n,t+1,!0)}else n=Te("!",this.sourcepos(this.pos,this.pos)),e.appendChild(n);return!0},e.prototype.parseCloseBracket=function(e){var t=null,n=null,r=!1;this.pos+=1;var o=this.pos,i=this.brackets;if(null===i)return e.appendChild(Te("]",this.sourcepos(o,o))),!0;if(!i.active)return e.appendChild(Te("]",this.sourcepos(o,o))),this.removeBracket(),!0;var a=i.image,s=this.pos;40===this.peek()&&(this.pos++,this.spnl()&&null!==(t=this.parseLinkDestination())&&this.spnl()&&(lt.test(this.subject.charAt(this.pos-1))&&(n=this.parseLinkTitle()),1)&&this.spnl()&&41===this.peek()?(this.pos+=1,r=!0):this.pos=s);var l="";if(!r){var c=this.pos,u=this.parseLinkLabel();if(u>2?l=this.subject.slice(c,c+u):i.bracketAfter||(l=this.subject.slice(i.index,o)),0===u&&(this.pos=s),l){l=ze(l);var d=this.refMap[l];d&&(t=d.destination,n=d.title,r=!0)}}if(r){var p=xe(a?"image":"link");p.destination=t,p.title=n||"",p.sourcepos=[i.startpos,this.sourcepos(this.pos)];for(var f=i.node.next,h=void 0;f;)h=f.next,f.unlink(),p.appendChild(f),f=h;if(e.appendChild(p),this.processEmphasis(i.previousDelimiter),this.removeBracket(),i.node.unlink(),!a)for(i=this.brackets;null!==i;)i.image||(i.active=!1),i=i.previous;return this.options.referenceDefinition&&(this.refLinkCandidateMap[e.id]={node:e,refLabel:l}),!0}return this.removeBracket(),this.pos=o,e.appendChild(Te("]",this.sourcepos(o,o))),this.options.referenceDefinition&&(this.refLinkCandidateMap[e.id]={node:e,refLabel:l}),!0},e.prototype.addBracket=function(e,t,n){null!==this.brackets&&(this.brackets.bracketAfter=!0),this.brackets={node:e,startpos:this.sourcepos(t+(n?0:1)),previous:this.brackets,previousDelimiter:this.delimiters,index:t,image:n,active:!0}},e.prototype.removeBracket=function(){this.brackets&&(this.brackets=this.brackets.previous)},e.prototype.parseEntity=function(e){var t,n=this.pos+1;return!!(t=this.match(et))&&(e.appendChild(Te(p.decodeHTML(t),this.sourcepos(n,this.pos))),!0)},e.prototype.parseString=function(e){var t,n=this.pos+1;if(t=this.match(ht)){if(this.options.smart){var r=t.replace(rt,"…").replace(ot,(function(e){var t=0,n=0;return e.length%3==0?n=e.length/3:e.length%2==0?t=e.length/2:e.length%3==2?(t=1,n=(e.length-2)/3):(t=2,n=(e.length-4)/3),te("—",n)+te("–",t)}));e.appendChild(Te(r,this.sourcepos(n,this.pos)))}else{var o=Te(t,this.sourcepos(n,this.pos));e.appendChild(o)}return!0}return!1},e.prototype.parseNewline=function(e){this.pos+=1;var t=e.lastChild;if(t&&"text"===t.type&&" "===t.literal[t.literal.length-1]){var n=" "===t.literal[t.literal.length-2],r=t.literal.length;t.literal=t.literal.replace(ut,"");var o=r-t.literal.length;t.sourcepos[1][1]-=o,e.appendChild(xe(n?"linebreak":"softbreak",this.sourcepos(this.pos-o,this.pos)))}else e.appendChild(xe("softbreak",this.sourcepos(this.pos,this.pos)));return this.nextLine(),this.match(dt),!0},e.prototype.parseReference=function(e,t){if(!this.options.referenceDefinition)return 0;this.subject=e.stringContent,this.pos=0;var n=null,r=this.pos,o=this.parseLinkLabel();if(0===o)return 0;var i=this.subject.substr(0,o);if(58!==this.peek())return this.pos=r,0;this.pos++,this.spnl();var a=this.parseLinkDestination();if(null===a)return this.pos=r,0;var s=this.pos;this.spnl(),this.pos!==s&&(n=this.parseLinkTitle()),null===n&&(n="",this.pos=s);var l=!0;if(null===this.match(pt)&&(""===n?l=!1:(n="",this.pos=s,l=null!==this.match(pt))),!l)return this.pos=r,0;var c=ze(i);if(""===c)return this.pos=r,0;var u=this.getReferenceDefSourcepos(e);e.sourcepos[0][0]=u[1][0]+1;var d=xe("refDef",u);return d.title=n,d.dest=a,d.label=c,e.insertBefore(d),t[c]?this.refDefCandidateMap[d.id]=d:t[c]=dn(d),this.pos-r},e.prototype.mergeTextNodes=function(e){for(var t,n=[];t=e.next();){var r=t.entering,o=t.node;if(r&&"text"===o.type)n.push(o);else if(1===n.length)n=[];else if(n.length>1){var i=n[0],a=n[n.length-1];i.sourcepos&&a.sourcepos&&(i.sourcepos[1]=a.sourcepos[1]),i.next=a.next,i.next&&(i.next.prev=i);for(var s=1;s<n.length;s+=1)i.literal+=n[s].literal,n[s].unlink();n=[]}}},e.prototype.getReferenceDefSourcepos=function(e){for(var t=e.stringContent.split(/\n|\r\n/),n=!1,r=0,o={line:0,ch:0},i=0;i<t.length;i+=1){var a=t[i];if(lt.test(a))break;if(/\:/.test(a)&&0===r){if(n)break;var s=a.indexOf(":")===a.length-1?i+1:i;o={line:s,ch:t[s].length},n=!0}var l=a.match(/'|"/g);if(l&&(r+=l.length),2===r){o={line:i,ch:a.length};break}}return[[e.sourcepos[0][0],e.sourcepos[0][1]],[e.sourcepos[0][0]+o.line,o.ch]]},e.prototype.parseInline=function(e){var t,n=!1,r=this.peek();if(-1===r)return!1;switch(r){case 10:n=this.parseNewline(e);break;case 92:n=this.parseBackslash(e);break;case 96:n=this.parseBackticks(e);break;case 42:case 95:case We:case Ge:n=this.handleDelim(r,e);break;case Ve:case qe:n=!!(null===(t=this.options)||void 0===t?void 0:t.smart)&&this.handleDelim(r,e);break;case 91:n=this.parseOpenBracket(e);break;case 33:n=this.parseBang(e);break;case 93:n=this.parseCloseBracket(e);break;case 60:n=this.parseAutolink(e)||this.parseHtmlTag(e);break;case 38:e.disabledEntityParse||(n=this.parseEntity(e));break;default:n=this.parseString(e)}return n||(this.pos+=1,e.appendChild(Te(Re(r),this.sourcepos(this.pos,this.pos+1)))),!0},e.prototype.parse=function(e){for(this.subject=e.stringContent.trim(),this.pos=0,this.delimiters=null,this.brackets=null,this.lineOffsets=e.lineOffsets||[0],this.lineIdx=0,this.linePosOffset=0,this.lineStartNum=e.sourcepos[0][0],function(e){return"heading"===e.type}(e)&&(this.lineOffsets[0]+=e.level+1);this.parseInline(e););e.stringContent=null,this.processEmphasis(null),this.mergeTextNodes(e.walker());var t=this.options,n=t.extendedAutolinks,r=t.customParser;if(n&&function(e,t){var n;"boolean"==typeof t&&(t=je);for(var r=function(){var e=n.entering,r=n.node;if(e&&"text"===r.type&&"link"!==r.parent.type){var o=r.literal,i=t(o);if(!i||!i.length)return"continue";for(var a=0,s=r.sourcepos[0],l=s[0],c=s[1],u=function(e,t){return[[l,c+e],[l,c+t]]},d=[],p=0,f=i;p<f.length;p++){var h=f[p],m=h.range,v=h.url,g=h.text;m[0]>a&&d.push(Te(o.substring(a,m[0]),u(a,m[0]-1)));var y=xe("link",u.apply(void 0,m));y.appendChild(Te(g,u.apply(void 0,m))),y.destination=v,y.extendedAutolink=!0,d.push(y),a=m[1]+1}a<o.length&&d.push(Te(o.substring(a),u(a,o.length-1)));for(var b=0,w=d;b<w.length;b++){var x=w[b];r.insertBefore(x)}r.unlink()}};n=e.next();)r()}(e.walker(),n),r&&e.firstChild)for(var o,i=e.firstChild.walker();o=i.next();){var a=o.node,s=o.entering;r[a.type]&&r[a.type](a,{entering:s,options:this.options})}},e}(),vt=/^\[([ \txX])\][ \t]+/,gt=9,yt=32,bt=/[^ \t\f\v\r\n]/,wt=/^(?:`{3,}|~{3,})(?= *$)/;function xt(e){for(var t=e;t;){if(t.lastLineBlank)return!0;var n=t.type;if(t.lastLineChecked||"list"!==n&&"item"!==n){t.lastLineChecked=!0;break}t.lastLineChecked=!0,t=t.lastChild}return!1}function kt(e,t){return t<e.length?e.charCodeAt(t):-1}function St(e){return!bt.test(e)}function Ct(e){return e===yt||e===gt}var Et=/^\$\$$/,Tt={continue:function(e,t){var n=e.currentLine,r=n.match(Et);if(r)return e.lastLineLength=r[0].length,e.finalize(t,e.lineNumber),2;for(var o=t.offset;o>0&&Ct(kt(n,e.offset));)e.advanceOffset(1,!0),o--;return 0},finalize:function(e,t){if(null!==t.stringContent){var n=t.stringContent,r=n.indexOf("\n"),o=n.slice(0,r),i=n.slice(r+1),a=o.match(/^(\s*)(.*)/);t.info=X(a[2].trim()),t.literal=i,t.stringContent=null}},canContain:function(){return!1},acceptsLines:!0},Ot={continue:function(){return 1},finalize:function(){},canContain:function(){return!1},acceptsLines:!0},$t={continue:function(){return 0},finalize:function(e,t){for(var n=t.firstChild;n;){if(xt(n)&&n.next){t.listData.tight=!1;break}for(var r=n.firstChild;r;){if(xt(r)&&(n.next||r.next)){t.listData.tight=!1;break}r=r.next}n=n.next}},canContain:function(e){return"item"===e},acceptsLines:!1},Mt={continue:function(e,t){if(e.blank){if(null===t.firstChild)return 1;e.advanceNextNonspace()}else{if(!(e.indent>=t.listData.markerOffset+t.listData.padding))return 1;e.advanceOffset(t.listData.markerOffset+t.listData.padding,!0)}return 0},finalize:function(e,t){if(t.firstChild&&"paragraph"===t.firstChild.type){var n=t.firstChild,r=n.stringContent.match(vt);if(r){var o=r[0].length;n.stringContent=n.stringContent.substring(o-1),n.sourcepos[0][1]+=o,n.lineOffsets[0]+=o,t.listData.task=!0,t.listData.checked=/[xX]/.test(r[1])}}},canContain:function(e){return"item"!==e},acceptsLines:!1},At={continue:function(e,t){var n=e.currentLine,r=e.indent;if(t.isFenced){var o=r<=3&&n.charAt(e.nextNonspace)===t.fenceChar&&n.slice(e.nextNonspace).match(wt);if(o&&o[0].length>=t.fenceLength)return e.lastLineLength=e.offset+r+o[0].length,e.finalize(t,e.lineNumber),2;for(var i=t.fenceOffset;i>0&&Ct(kt(n,e.offset));)e.advanceOffset(1,!0),i--}else if(r>=4)e.advanceOffset(4,!0);else{if(!e.blank)return 1;e.advanceNextNonspace()}return 0},finalize:function(e,t){var n;if(null!==t.stringContent){if(t.isFenced){var r=t.stringContent,o=r.indexOf("\n"),i=r.slice(0,o),a=r.slice(o+1),s=i.match(/^(\s*)(.*)/);t.infoPadding=s[1].length,t.info=X(s[2].trim()),t.literal=a}else t.literal=null===(n=t.stringContent)||void 0===n?void 0:n.replace(/(\n *)+$/,"\n");t.stringContent=null}},canContain:function(){return!1},acceptsLines:!0},Dt={continue:function(e){return e.blank?1:0},finalize:function(e,t){if(null!==t.stringContent){for(var n,r=!1;91===kt(t.stringContent,0)&&(n=e.inlineParser.parseReference(t,e.refMap));)t.stringContent=t.stringContent.slice(n),r=!0;r&&St(t.stringContent)&&t.unlink()}},canContain:function(){return!1},acceptsLines:!0},Lt={document:{continue:function(){return 0},finalize:function(){},canContain:function(e){return"item"!==e},acceptsLines:!1},list:$t,blockQuote:{continue:function(e){var t=e.currentLine;return e.indented||62!==kt(t,e.nextNonspace)?1:(e.advanceNextNonspace(),e.advanceOffset(1,!1),Ct(kt(t,e.offset))&&e.advanceOffset(1,!0),0)},finalize:function(){},canContain:function(e){return"item"!==e},acceptsLines:!1},item:Mt,heading:{continue:function(){return 1},finalize:function(){},canContain:function(){return!1},acceptsLines:!1},thematicBreak:{continue:function(){return 1},finalize:function(){},canContain:function(){return!1},acceptsLines:!1},codeBlock:At,htmlBlock:{continue:function(e,t){return!e.blank||6!==t.htmlBlockType&&7!==t.htmlBlockType?0:1},finalize:function(e,t){var n;t.literal=(null===(n=t.stringContent)||void 0===n?void 0:n.replace(/(\n *)+$/,""))||null,t.stringContent=null},canContain:function(){return!1},acceptsLines:!0},paragraph:Dt,table:{continue:function(){return 0},finalize:function(){},canContain:function(e){return"tableHead"===e||"tableBody"===e},acceptsLines:!1},tableBody:{continue:function(){return 0},finalize:function(){},canContain:function(e){return"tableRow"===e},acceptsLines:!1},tableHead:{continue:function(){return 1},finalize:function(){},canContain:function(e){return"tableRow"===e||"tableDelimRow"===e},acceptsLines:!1},tableRow:{continue:function(){return 1},finalize:function(){},canContain:function(e){return"tableCell"===e},acceptsLines:!1},tableCell:{continue:function(){return 1},finalize:function(){},canContain:function(){return!1},acceptsLines:!1},tableDelimRow:{continue:function(){return 1},finalize:function(){},canContain:function(e){return"tableDelimCell"===e},acceptsLines:!1},tableDelimCell:{continue:function(){return 1},finalize:function(){},canContain:function(){return!1},acceptsLines:!1},refDef:Ot,customBlock:Tt,frontMatter:Ot};function Nt(e){for(var t=0,n=0,r=[],o=0;o<e.length;o+=1)if("|"===e[o]&&"\\"!==e[o-1]){var i=e.substring(t,o);0===t&&ne(i)?n=o+1:r.push(i),t=o+1}return t<e.length&&(ne(i=e.substring(t,e.length))||r.push(i)),[n,r]}function Rt(e,t,n,r){for(var o=[],i=0,a=t;i<a.length;i++){var s=a[i],l=s.match(/^[ \t]+/),c=l?l[0].length:0,u=void 0,d=void 0;if(c===s.length)c=0,u=0,d="";else{var p=s.match(/[ \t]+$/);u=p?p[0].length:0,d=s.slice(c,s.length-u)}var f=r+c,h=xe(e,[[n,r],[n,r+s.length-1]]);h.stringContent=d.replace(/\\\|/g,"|"),h.startIdx=o.length,h.endIdx=o.length,h.lineOffsets=[f-1],h.paddingLeft=c,h.paddingRight=u,o.push(h),r+=s.length+1}return o}function It(e){var t=null,n=e.stringContent,r=n[0];return":"===n[n.length-1]?t=":"===r?"center":"right":":"===r&&(t="left"),{align:t}}var Pt=/^(\$\$)(\s*[a-zA-Z])+/,Zt=/^(\$\$)(\s*[a-zA-Z])+.*(\$\$)/,_t=/^`{3,}(?!.*`)|^~{3,}/,Ft=[/./,/^<(?:script|pre|style)(?:\s|>|$)/i,/^<!--/,/^<[?]/,/^<![A-Z]/,/^<!\[CDATA\[/,/^<[/]?(?:address|article|aside|base|basefont|blockquote|body|caption|center|col|colgroup|dd|details|dialog|dir|div|dl|dt|fieldset|figcaption|figure|footer|form|frame|frameset|h[123456]|head|header|hr|html|iframe|legend|li|link|main|menu|menuitem|nav|noframes|ol|optgroup|option|p|param|section|source|summary|table|tbody|td|tfoot|th|thead|title|tr|track|ul)(?:\s|[/]?[>]|$)/i,new RegExp("^(?:"+Me+"|"+Ae+")\\s*$","i")],jt=/^(?:=+|-+)[ \t]*$/,Bt=/^#{1,6}(?:[ \t]+|$)/,zt=/^(?:(?:\*[ \t]*){3,}|(?:_[ \t]*){3,}|(?:-[ \t]*){3,})[ \t]*$/,Ht=/^[*+-]/,Ut=/^(\d{1,9})([.)])/;function Wt(e,t){return e.options.disallowDeepHeading&&("blockQuote"===t.type||"item"===t.type)}var Vt=[function(e){return e.indented||62!==kt(e.currentLine,e.nextNonspace)?0:(e.advanceNextNonspace(),e.advanceOffset(1,!1),Ct(kt(e.currentLine,e.offset))&&e.advanceOffset(1,!0),e.closeUnmatchedBlocks(),e.addChild("blockQuote",e.nextNonspace),1)},function(e,t){var n;if(!e.indented&&!Wt(e,t)&&(n=e.currentLine.slice(e.nextNonspace).match(Bt))){e.advanceNextNonspace(),e.advanceOffset(n[0].length,!1),e.closeUnmatchedBlocks();var r=e.addChild("heading",e.nextNonspace);return r.level=n[0].trim().length,r.headingType="atx",r.stringContent=e.currentLine.slice(e.offset).replace(/^[ \t]*#+[ \t]*$/,"").replace(/[ \t]+#+[ \t]*$/,""),e.advanceOffset(e.currentLine.length-e.offset),2}return 0},function(e){var t;if(!e.indented&&(t=e.currentLine.slice(e.nextNonspace).match(_t))){var n=t[0].length;e.closeUnmatchedBlocks();var r=e.addChild("codeBlock",e.nextNonspace);return r.isFenced=!0,r.fenceLength=n,r.fenceChar=t[0][0],r.fenceOffset=e.indent,e.advanceNextNonspace(),e.advanceOffset(n,!1),2}return 0},function(e,t){if(!e.indented&&60===kt(e.currentLine,e.nextNonspace)){var n=e.currentLine.slice(e.nextNonspace),r=e.options.disallowedHtmlBlockTags,o=void 0;for(o=1;o<=7;o++){var i=n.match(Ft[o]);if(i){if(7===o){if("paragraph"===t.type)return 0;if(r.length>0&&new RegExp("</?(?:"+r.join("|")+")","i").test(i[0]))return 0}return e.closeUnmatchedBlocks(),e.addChild("htmlBlock",e.offset).htmlBlockType=o,2}}}return 0},function(e,t){var n;if(null!==t.stringContent&&!e.indented&&"paragraph"===t.type&&!Wt(e,t.parent)&&(n=e.currentLine.slice(e.nextNonspace).match(jt))){e.closeUnmatchedBlocks();for(var r=void 0;91===kt(t.stringContent,0)&&(r=e.inlineParser.parseReference(t,e.refMap));)t.stringContent=t.stringContent.slice(r);if(t.stringContent.length>0){var o=xe("heading",t.sourcepos);return o.level="="===n[0][0]?1:2,o.headingType="setext",o.stringContent=t.stringContent,t.insertAfter(o),t.unlink(),e.tip=o,e.advanceOffset(e.currentLine.length-e.offset,!1),2}return 0}return 0},function(e){return!e.indented&&zt.test(e.currentLine.slice(e.nextNonspace))?(e.closeUnmatchedBlocks(),e.addChild("thematicBreak",e.nextNonspace),e.advanceOffset(e.currentLine.length-e.offset,!1),2):0},function(e,t){var n,r,o,i=t;return e.indented&&"list"!==t.type||!(n=function(e,t){var n,r,o=e.currentLine.slice(e.nextNonspace),i={type:"bullet",tight:!0,bulletChar:"",start:0,delimiter:"",padding:0,markerOffset:e.indent,task:!1,checked:!1};if(e.indent>=4)return null;if(n=o.match(Ht))i.type="bullet",i.bulletChar=n[0][0];else{if(!(n=o.match(Ut))||"paragraph"===t.type&&"1"!==n[1])return null;i.type="ordered",i.start=parseInt(n[1],10),i.delimiter=n[2]}if(-1!==(r=kt(e.currentLine,e.nextNonspace+n[0].length))&&r!==gt&&r!==yt)return null;if("paragraph"===t.type&&!e.currentLine.slice(e.nextNonspace+n[0].length).match(bt))return null;e.advanceNextNonspace(),e.advanceOffset(n[0].length,!0);var a=e.column,s=e.offset;do{e.advanceOffset(1,!0),r=kt(e.currentLine,e.offset)}while(e.column-a<5&&Ct(r));var l=-1===kt(e.currentLine,e.offset),c=e.column-a;return c>=5||c<1||l?(i.padding=n[0].length+1,e.column=a,e.offset=s,Ct(kt(e.currentLine,e.offset))&&e.advanceOffset(1,!0)):i.padding=n[0].length+c,i}(e,i))?0:(e.closeUnmatchedBlocks(),"list"===e.tip.type&&(r=i.listData,o=n,r.type===o.type&&r.delimiter===o.delimiter&&r.bulletChar===o.bulletChar)||((i=e.addChild("list",e.nextNonspace)).listData=n),(i=e.addChild("item",e.nextNonspace)).listData=n,1)},function(e){return e.indented&&"paragraph"!==e.tip.type&&!e.blank?(e.advanceOffset(4,!0),e.closeUnmatchedBlocks(),e.addChild("codeBlock",e.offset),2):0},function(e,t){var n=t.stringContent;if("paragraph"===t.type&&!e.indented&&!e.blank){var r=n.length-1,o=n.lastIndexOf("\n",r-1)+1,i=n.slice(o,r),a=e.currentLine.slice(e.nextNonspace),s=Nt(i),l=s[0],c=s[1],u=Nt(a),d=u[0],p=u[1],f=/^[ \t]*:?-+:?[ \t]*$/;if(!c.length||!p.length||p.some((function(e){return!f.test(e)}))||1===p.length&&0!==a.indexOf("|"))return 0;var h=t.lineOffsets,m=e.lineNumber-1,v=Be(h)+1,g=xe("table",[[m,v],[e.lineNumber,e.offset]]);if(g.columns=p.map((function(){return{align:null}})),t.insertAfter(g),1===h.length)t.unlink();else{t.stringContent=n.slice(0,o);var y=o-(n.lastIndexOf("\n",o-2)+1)-1;e.lastLineLength=h[h.length-2]+y,e.finalize(t,m-1)}e.advanceOffset(e.currentLine.length-e.offset,!1);var b=xe("tableHead",[[m,v],[e.lineNumber,e.offset]]);g.appendChild(b);var w=xe("tableRow",[[m,v],[m,v+i.length-1]]),x=xe("tableDelimRow",[[e.lineNumber,e.nextNonspace+1],[e.lineNumber,e.offset]]);b.appendChild(w),b.appendChild(x),Rt("tableCell",c,m,v+l).forEach((function(e){w.appendChild(e)}));var k=Rt("tableDelimCell",p,e.lineNumber,e.nextNonspace+1+d);return k.forEach((function(e){x.appendChild(e)})),g.columns=k.map(It),e.tip=g,2}return 0},function(e,t){if("table"!==t.type&&"tableBody"!==t.type||!e.blank&&-1===e.currentLine.indexOf("|"))return 0;if(e.advanceOffset(e.currentLine.length-e.offset,!1),e.blank){var n=t;return"tableBody"===t.type&&(n=t.parent,e.finalize(t,e.lineNumber-1)),e.finalize(n,e.lineNumber-1),0}var r=t;"table"===t.type&&((r=e.addChild("tableBody",e.nextNonspace)).stringContent=null);var o=xe("tableRow",[[e.lineNumber,e.nextNonspace+1],[e.lineNumber,e.currentLine.length]]);r.appendChild(o);var i=r.parent,a=Nt(e.currentLine.slice(e.nextNonspace)),s=a[0];return Rt("tableCell",a[1],e.lineNumber,e.nextNonspace+1+s).forEach((function(e,t){t>=i.columns.length&&(e.ignored=!0),o.appendChild(e)})),2},function(e){var t;if(!e.indented&&!Zt.test(e.currentLine)&&(t=e.currentLine.match(Pt))){var n=t[1].length;e.closeUnmatchedBlocks();var r=e.addChild("customBlock",e.nextNonspace);return r.syntaxLength=n,r.offset=e.indent,e.advanceNextNonspace(),e.advanceOffset(n,!1),2}return 0}],qt=/^(-{3}|\+{3}|;{3})$/,Gt=function(e,t){var n=e.currentLine,r=e.lineNumber,o=e.indented;return 1===r&&!o&&"document"===t.type&&qt.test(n)?(e.closeUnmatchedBlocks(),e.addChild("frontMatter",e.nextNonspace).stringContent=n,e.advanceNextNonspace(),e.advanceOffset(n.length,!1),2):0},Kt={continue:function(e,t){var n=e.currentLine,r=n.match(qt);return"frontMatter"===t.type&&r?(t.stringContent+=n,e.lastLineLength=r[0].length,e.finalize(t,e.lineNumber),2):0},finalize:function(e,t){null!==t.stringContent&&(t.literal=t.stringContent,t.stringContent=null)},canContain:function(){return!1},acceptsLines:!0},Yt=[/./,/<\/(?:script|pre|style)>/i,/-->/,/\?>/,/>/,/\]\]>/],Xt=/^[#`~*+_=<>0-9-;$]/,Jt=/\r\n|\n|\r/;function Qt(){return xe("document",[[1,1],[0,0]])}var en={smart:!1,tagFilter:!1,extendedAutolinks:!1,disallowedHtmlBlockTags:[],referenceDefinition:!1,disallowDeepHeading:!1,customParser:null,frontMatter:!1},tn=function(){function e(e){this.options=o(o({},en),e),this.doc=Qt(),this.tip=this.doc,this.oldtip=this.doc,this.lineNumber=0,this.offset=0,this.column=0,this.nextNonspace=0,this.nextNonspaceColumn=0,this.indent=0,this.currentLine="",this.indented=!1,this.blank=!1,this.partiallyConsumedTab=!1,this.allClosed=!0,this.lastMatchedContainer=this.doc,this.refMap={},this.refLinkCandidateMap={},this.refDefCandidateMap={},this.lastLineLength=0,this.lines=[],this.options.frontMatter&&(Lt.frontMatter=Kt,Vt.unshift(Gt)),this.inlineParser=new mt(this.options)}return e.prototype.advanceOffset=function(e,t){void 0===t&&(t=!1);for(var n,r,o,i=this.currentLine;e>0&&(o=i[this.offset]);)"\t"===o?(n=4-this.column%4,t?(this.partiallyConsumedTab=n>e,r=n>e?e:n,this.column+=r,this.offset+=this.partiallyConsumedTab?0:1,e-=r):(this.partiallyConsumedTab=!1,this.column+=n,this.offset+=1,e-=1)):(this.partiallyConsumedTab=!1,this.offset+=1,this.column+=1,e-=1)},e.prototype.advanceNextNonspace=function(){this.offset=this.nextNonspace,this.column=this.nextNonspaceColumn,this.partiallyConsumedTab=!1},e.prototype.findNextNonspace=function(){for(var e,t=this.currentLine,n=this.offset,r=this.column;""!==(e=t.charAt(n));)if(" "===e)n++,r++;else{if("\t"!==e)break;n++,r+=4-r%4}this.blank="\n"===e||"\r"===e||""===e,this.nextNonspace=n,this.nextNonspaceColumn=r,this.indent=this.nextNonspaceColumn-this.column,this.indented=this.indent>=4},e.prototype.addLine=function(){if(this.partiallyConsumedTab){this.offset+=1;var e=4-this.column%4;this.tip.stringContent+=te(" ",e)}this.tip.lineOffsets?this.tip.lineOffsets.push(this.offset):this.tip.lineOffsets=[this.offset],this.tip.stringContent+=this.currentLine.slice(this.offset)+"\n"},e.prototype.addChild=function(e,t){for(;!Lt[this.tip.type].canContain(e);)this.finalize(this.tip,this.lineNumber-1);var n=t+1,r=xe(e,[[this.lineNumber,n],[0,0]]);return r.stringContent="",this.tip.appendChild(r),this.tip=r,r},e.prototype.closeUnmatchedBlocks=function(){if(!this.allClosed){for(;this.oldtip!==this.lastMatchedContainer;){var e=this.oldtip.parent;this.finalize(this.oldtip,this.lineNumber-1),this.oldtip=e}this.allClosed=!0}},e.prototype.finalize=function(e,t){var n=e.parent;e.open=!1,e.sourcepos[1]=[t,this.lastLineLength],Lt[e.type].finalize(this,e),this.tip=n},e.prototype.processInlines=function(e){var t,n=this.options.customParser,r=e.walker();for(this.inlineParser.refMap=this.refMap,this.inlineParser.refLinkCandidateMap=this.refLinkCandidateMap,this.inlineParser.refDefCandidateMap=this.refDefCandidateMap,this.inlineParser.options=this.options;t=r.next();){var o=t.node,i=t.entering,a=o.type;n&&n[a]&&n[a](o,{entering:i,options:this.options}),i||"paragraph"!==a&&"heading"!==a&&("tableCell"!==a||o.ignored)||this.inlineParser.parse(o)}},e.prototype.incorporateLine=function(e){var t=this.doc;this.oldtip=this.tip,this.offset=0,this.column=0,this.blank=!1,this.partiallyConsumedTab=!1,this.lineNumber+=1,-1!==e.indexOf("\0")&&(e=e.replace(/\0/g,"�")),this.currentLine=e;for(var n,r=!0;(n=t.lastChild)&&n.open;){switch(t=n,this.findNextNonspace(),Lt[t.type].continue(this,t)){case 0:break;case 1:r=!1;break;case 2:return void(this.lastLineLength=e.length);default:throw new Error("continue returned illegal value, must be 0, 1, or 2")}if(!r){t=t.parent;break}}this.allClosed=t===this.oldtip,this.lastMatchedContainer=t;for(var o="paragraph"!==t.type&&Lt[t.type].acceptsLines,i=Vt.length;!o;){if(this.findNextNonspace(),"table"!==t.type&&"tableBody"!==t.type&&"paragraph"!==t.type&&!this.indented&&!Xt.test(e.slice(this.nextNonspace))){this.advanceNextNonspace();break}for(var a=0;a<i;){var s=Vt[a](this,t);if(1===s){t=this.tip;break}if(2===s){t=this.tip,o=!0;break}a++}if(a===i){this.advanceNextNonspace();break}}if(this.allClosed||this.blank||"paragraph"!==this.tip.type){this.closeUnmatchedBlocks(),this.blank&&t.lastChild&&(t.lastChild.lastLineBlank=!0);for(var l=t.type,c=this.blank&&!("blockQuote"===l||ke(t)&&t.isFenced||"item"===l&&!t.firstChild&&t.sourcepos[0][0]===this.lineNumber),u=t;u;)u.lastLineBlank=c,u=u.parent;Lt[l].acceptsLines?(this.addLine(),"htmlBlock"===t.type&&t.htmlBlockType>=1&&t.htmlBlockType<=5&&Yt[t.htmlBlockType].test(this.currentLine.slice(this.offset))&&(this.lastLineLength=e.length,this.finalize(t,this.lineNumber))):this.offset<e.length&&!this.blank&&(t=this.addChild("paragraph",this.offset),this.advanceNextNonspace(),this.addLine())}else this.addLine();this.lastLineLength=e.length},e.prototype.parse=function(e,t){this.doc=Qt(),this.tip=this.doc,this.lineNumber=0,this.lastLineLength=0,this.offset=0,this.column=0,this.lastMatchedContainer=this.doc,this.currentLine="";var n=e.split(Jt),r=n.length;this.lines=t||n,this.options.referenceDefinition&&this.clearRefMaps(),10===e.charCodeAt(e.length-1)&&(r-=1);for(var o=0;o<r;o++)this.incorporateLine(n[o]);for(;this.tip;)this.finalize(this.tip,r);return this.processInlines(this.doc),this.doc},e.prototype.partialParseStart=function(e,t){this.doc=Qt(),this.tip=this.doc,this.lineNumber=e-1,this.lastLineLength=0,this.offset=0,this.column=0,this.lastMatchedContainer=this.doc,this.currentLine="";for(var n=t.length,r=0;r<n;r++)this.incorporateLine(t[r]);return this.doc},e.prototype.partialParseExtends=function(e){for(var t=0;t<e.length;t++)this.incorporateLine(e[t])},e.prototype.partialParseFinish=function(){for(;this.tip;)this.finalize(this.tip,this.lineNumber);this.processInlines(this.doc)},e.prototype.setRefMaps=function(e,t,n){this.refMap=e,this.refLinkCandidateMap=t,this.refDefCandidateMap=n},e.prototype.clearRefMaps=function(){[this.refMap,this.refLinkCandidateMap,this.refDefCandidateMap].forEach((function(e){var t;t=e,Object.keys(t).forEach((function(e){delete t[e]}))}))},e}();function nn(e,t){return e[0]<t[0]?1:e[0]>t[0]?-1:e[1]<t[1]?1:e[1]>t[1]?-1:0}function rn(e,t){var n=e[0];return 1===nn(e[1],t)?1:-1===nn(n,t)?-1:0}function on(e,t){for(var n=0,r=t;n<r.length;n++){var o=r[n];e.insertBefore(o)}}function an(e,t){var n=e[0];return e[1][0]<t?1:n[0]>t?-1:0}function sn(e,t){for(var n=e.firstChild;n;){var r=an(n.sourcepos,t);if(0===r)return n;if(-1===r)return n.prev||n;n=n.next}return e.lastChild}function ln(e){return function(e){return ae[e]}(e)||null}function cn(e,t,n){if(void 0===n&&(n=null),t)for(var r=t.walker();t&&t!==n;){e(t);var o=r.next();if(!o)break;t=o.node}}var un=/\r\n|\n|\r/;function dn(e){return{id:e.id,title:e.title,sourcepos:e.sourcepos,unlinked:!1,destination:e.dest}}var pn=function(){function e(e,t){this.refMap={},this.refLinkCandidateMap={},this.refDefCandidateMap={},this.referenceDefinition=!!(null==t?void 0:t.referenceDefinition),this.parser=new tn(t),this.parser.setRefMaps(this.refMap,this.refLinkCandidateMap,this.refDefCandidateMap),this.eventHandlerMap={change:[]},e=e||"",this.lineTexts=e.split(un),this.root=this.parser.parse(e,this.lineTexts)}return e.prototype.updateLineTexts=function(e,t,n){var r,o=e[0],a=e[1],s=t[0],l=t[1],c=n.split(un),u=c.length,d=this.lineTexts[o-1],p=this.lineTexts[s-1];c[0]=d.slice(0,a-1)+c[0],c[u-1]=c[u-1]+p.slice(l-1);var f=s-o+1;return(r=this.lineTexts).splice.apply(r,i([o-1,f],c)),u-f},e.prototype.updateRootNodeState=function(){if(1===this.lineTexts.length&&""===this.lineTexts[0])return this.root.lastLineBlank=!0,void(this.root.sourcepos=[[1,1],[1,0]]);this.root.lastChild&&(this.root.lastLineBlank=this.root.lastChild.lastLineBlank);for(var e=this.lineTexts,t=e.length-1;""===e[t];)t-=1;e.length-2>t&&(t+=1),this.root.sourcepos[1]=[t+1,e[t].length]},e.prototype.replaceRangeNodes=function(e,t,n){e?(on(e,n),function(e,t){if(e.parent===t.parent&&e!==t){for(var n=e.next;n&&n!==t;){for(var r=n.next,o=0,i=["parent","prev","next"];o<i.length;o++){var a=i[o];n[a]&&(se(n[a].id),n[a]=null)}n=r}e.next=t.next,t.next?t.next.prev=e:e.parent.lastChild=e}}(e,t),[e.id,t.id].forEach((function(e){return se(e)})),e.unlink()):t?(on(t,n),se(t.id),t.unlink()):function(e,t){for(var n=t.length-1;n>=0;n-=1)e.prependChild(t[n])}(this.root,n)},e.prototype.getNodeRange=function(e,t){var n=sn(this.root,e[0]),r=sn(this.root,t[0]);return r&&r.next&&t[0]+1===r.next.sourcepos[0][0]&&(r=r.next),[n,r]},e.prototype.trigger=function(e,t){this.eventHandlerMap[e].forEach((function(e){e(t)}))},e.prototype.extendEndLine=function(e){for(;""===this.lineTexts[e];)e+=1;return e},e.prototype.parseRange=function(e,t,n,r){var o;e&&e.prev&&(Se(e.prev)&&function(e){var t=e.match(/^[ \t]+/);if(t&&(t[0].length>=2||/\t/.test(t[0])))return!0;var n=t?e.slice(t.length):e;return Ht.test(n)||Ut.test(n)}(this.lineTexts[n-1])||"table"===e.prev.type&&!St(o=this.lineTexts[n-1])&&-1!==o.indexOf("|"))&&(n=(e=e.prev).sourcepos[0][0]);for(var i=this.lineTexts.slice(n-1,r),a=this.parser.partialParseStart(n,i),s=t?t.next:this.root.firstChild,l=a.lastChild,c=l&&ke(l)&&l.open,u=l&&Ee(l)&&l.open,d=l&&Se(l);(c||u)&&s||d&&s&&("list"===s.type||s.sourcepos[0][1]>=2);){var p=this.extendEndLine(s.sourcepos[1][0]);this.parser.partialParseExtends(this.lineTexts.slice(r,p)),e||(e=t),t=s,r=p,s=s.next}return this.parser.partialParseFinish(),{newNodes:function(e){for(var t=[],n=e.firstChild;n;)t.push(n),n=n.next;return t}(a),extStartNode:e,extEndNode:t}},e.prototype.getRemovedNodeRange=function(e,t){return!e||e&&Ce(e)||t&&Ce(t)?null:{id:[e.id,t.id],line:[e.sourcepos[0][0]-1,t.sourcepos[1][0]-1]}},e.prototype.markDeletedRefMap=function(e,t){var n=this;if(!Ue(this.refMap)){var r=function(e){if(Ce(e)){var t=n.refMap[e.label];t&&e.id===t.id&&(t.unlinked=!0)}};e&&cn(r,e.parent,t),t&&cn(r,t)}},e.prototype.replaceWithNewRefDefState=function(e){var t=this;if(!Ue(this.refMap)){var n=function(e){if(Ce(e)){var n=e.label,r=t.refMap[n];r&&!r.unlinked||(t.refMap[n]=dn(e))}};e.forEach((function(e){cn(n,e)}))}},e.prototype.replaceWithRefDefCandidate=function(){var e=this;Ue(this.refDefCandidateMap)||He(this.refDefCandidateMap,(function(t,n){var r=n.label,o=n.sourcepos,i=e.refMap[r];(!i||i.unlinked||i.sourcepos[0][0]>o[0][0])&&(e.refMap[r]=dn(n))}))},e.prototype.getRangeWithRefDef=function(e,t,n,r,o){if(this.referenceDefinition&&!Ue(this.refMap)){var i=sn(this.root,e-1),a=sn(this.root,t+1);i&&Ce(i)&&i!==n&&i!==r&&(e=(n=i).sourcepos[0][0]),a&&Ce(a)&&a!==n&&a!==r&&(r=a,t=this.extendEndLine(r.sourcepos[1][0]+o))}return[n,r,e,t]},e.prototype.parse=function(e,t,n){void 0===n&&(n=0);var r=this.getNodeRange(e,t),o=r[0],i=r[1],a=o?Math.min(o.sourcepos[0][0],e[0]):e[0],s=this.extendEndLine((i?Math.max(i.sourcepos[1][0],t[0]):t[0])+n),l=this.parseRange.apply(this,this.getRangeWithRefDef(a,s,o,i,n)),c=l.newNodes,u=l.extStartNode,d=l.extEndNode,p=this.getRemovedNodeRange(u,d),f=d?d.next:this.root.firstChild;return this.referenceDefinition?(this.markDeletedRefMap(u,d),this.replaceRangeNodes(u,d,c),this.replaceWithNewRefDefState(c)):this.replaceRangeNodes(u,d,c),{nodes:c,removedNodeRange:p,nextNode:f}},e.prototype.parseRefLink=function(){var e=this,t=[];return Ue(this.refMap)||He(this.refMap,(function(n,r){r.unlinked&&delete e.refMap[n],He(e.refLinkCandidateMap,(function(r,o){var i=o.node;o.refLabel===n&&t.push(e.parse(i.sourcepos[0],i.sourcepos[1]))}))})),t},e.prototype.removeUnlinkedCandidate=function(){Ue(this.refDefCandidateMap)||[this.refLinkCandidateMap,this.refDefCandidateMap].forEach((function(e){He(e,(function(t){(function(e){var t=ln(e);if(!t)return!0;for(;t&&"document"!==t.type;){if(!t.parent&&!t.prev&&!t.next)return!0;t=t.parent}return!1})(t)&&delete e[t]}))}))},e.prototype.editMarkdown=function(e,t,n){var r=this.updateLineTexts(e,t,n),i=this.parse(e,t,r),a=function(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];var r=o({},e);return t.forEach((function(e){delete r[e]})),r}(i,"nextNode");!function(e,t){if(e&&e.parent&&0!==t){var n,r=e.parent.walker();for(r.resumeAt(e,!0);n=r.next();){var o=n.node;n.entering&&(o.sourcepos[0][0]+=t,o.sourcepos[1][0]+=t)}}}(i.nextNode,r),this.updateRootNodeState();var s=[a];return this.referenceDefinition&&(this.removeUnlinkedCandidate(),this.replaceWithRefDefCandidate(),s=s.concat(this.parseRefLink())),this.trigger("change",s),s},e.prototype.getLineTexts=function(){return this.lineTexts},e.prototype.getRootNode=function(){return this.root},e.prototype.findNodeAtPosition=function(e){var t=function(e,t){for(var n=e,r=null;n;){var o=rn(n.sourcepos,t);if(0===o){if(!n.firstChild)return n;r=n,n=n.firstChild}else{if(-1===o)return r;if(!n.next)return r;n=n.next}}return n}(this.root,e);return t&&t!==this.root?t:null},e.prototype.findFirstNodeAtLine=function(e){return function(e,t){for(var n=e.firstChild,r=null;n;){var o=an(n.sourcepos,t);if(0===o){if(n.sourcepos[0][0]===t||!n.firstChild)return n;r=n,n=n.firstChild}else{if(-1===o)break;r=n,n=n.next}}return r?function(e){for(;e.parent&&"document"!==e.parent.type&&e.parent.sourcepos[0][0]===e.sourcepos[0][0];)e=e.parent;return e}(function(e){for(;e.lastChild;)e=e.lastChild;return e}(r)):null}(this.root,e)},e.prototype.on=function(e,t){this.eventHandlerMap[e].push(t)},e.prototype.off=function(e,t){var n=this.eventHandlerMap[e],r=n.indexOf(t);n.splice(r,1)},e.prototype.findNodeById=function(e){return ln(e)},e.prototype.removeAllNode=function(){ae={}},e}(),fn=new RegExp("<(/?(?:"+["title","textarea","style","xmp","iframe","noembed","noframes","script","plaintext"].join("|")+")[^>]*>)","ig");function hn(e){return fn.test(e)?e.replace(fn,(function(e,t){return"<"+t})):e}var mn={heading:function(e,t){return{type:t.entering?"openTag":"closeTag",tagName:"h"+e.level,outerNewLine:!0}},text:function(e){return{type:"text",content:e.literal}},softbreak:function(e,t){return{type:"html",content:t.options.softbreak}},linebreak:function(){return{type:"html",content:"<br />\n"}},emph:function(e,t){return{type:t.entering?"openTag":"closeTag",tagName:"em"}},strong:function(e,t){return{type:t.entering?"openTag":"closeTag",tagName:"strong"}},paragraph:function(e,t){var n,r=t.entering,o=null===(n=e.parent)||void 0===n?void 0:n.parent;return o&&"list"===o.type&&o.listData.tight?null:{type:r?"openTag":"closeTag",tagName:"p",outerNewLine:!0}},thematicBreak:function(){return{type:"openTag",tagName:"hr",outerNewLine:!0,selfClose:!0}},blockQuote:function(e,t){return{type:t.entering?"openTag":"closeTag",tagName:"blockquote",outerNewLine:!0,innerNewLine:!0}},list:function(e,t){var n=t.entering,r=e.listData,o=r.type,i=r.start,a="bullet"===o?"ul":"ol",s={};return"ol"===a&&null!==i&&1!==i&&(s.start=i.toString()),{type:n?"openTag":"closeTag",tagName:a,attributes:s,outerNewLine:!0}},item:function(e,t){return{type:t.entering?"openTag":"closeTag",tagName:"li",outerNewLine:!0}},htmlInline:function(e,t){return{type:"html",content:t.options.tagFilter?hn(e.literal):e.literal}},htmlBlock:function(e,t){var n=t.options,r=n.tagFilter?hn(e.literal):e.literal;return n.nodeId?[{type:"openTag",tagName:"div",outerNewLine:!0},{type:"html",content:r},{type:"closeTag",tagName:"div",outerNewLine:!0}]:{type:"html",content:r,outerNewLine:!0}},code:function(e){return[{type:"openTag",tagName:"code"},{type:"text",content:e.literal},{type:"closeTag",tagName:"code"}]},codeBlock:function(e){var t=e.info,n=t?t.split(/\s+/):[],r=[];return n.length>0&&n[0].length>0&&r.push("language-"+ee(n[0])),[{type:"openTag",tagName:"pre",outerNewLine:!0},{type:"openTag",tagName:"code",classNames:r},{type:"text",content:e.literal},{type:"closeTag",tagName:"code"},{type:"closeTag",tagName:"pre",outerNewLine:!0}]},link:function(e,t){if(t.entering){var n=e,r=n.title,i=n.destination;return{type:"openTag",tagName:"a",attributes:o({href:ee(i)},r&&{title:ee(r)})}}return{type:"closeTag",tagName:"a"}},image:function(e,t){var n=t.getChildrenText,r=t.skipChildren,i=e,a=i.title,s=i.destination;return r(),{type:"openTag",tagName:"img",selfClose:!0,attributes:o({src:ee(s),alt:n(e)},a&&{title:ee(a)})}},customBlock:function(e,t,n){var r=e.info.trim().toLowerCase(),o=n[r];if(o)try{return o(e,t)}catch(i){console.warn("[@toast-ui/editor] - The error occurred when "+r+" block node was parsed in markdown renderer: "+i)}return[{type:"openTag",tagName:"div",outerNewLine:!0},{type:"text",content:e.literal},{type:"closeTag",tagName:"div",outerNewLine:!0}]},frontMatter:function(e){return[{type:"openTag",tagName:"div",outerNewLine:!0,attributes:{style:"white-space: pre; display: none;"}},{type:"text",content:e.literal},{type:"closeTag",tagName:"div",outerNewLine:!0}]},customInline:function(e,t,n){var r=e,o=r.info,i=r.firstChild,a=o.trim().toLowerCase(),s=n[a],l=t.entering;if(s)try{return s(e,t)}catch(c){console.warn("[@toast-ui/editor] - The error occurred when "+a+" inline node was parsed in markdown renderer: "+c)}return l?[{type:"openTag",tagName:"span"},{type:"text",content:"$$"+o+(i?" ":"")}]:[{type:"text",content:"$$"},{type:"closeTag",tagName:"span"}]}},vn={strike:function(e,t){return{type:t.entering?"openTag":"closeTag",tagName:"del"}},item:function(e,t){var n=t.entering,r=e.listData,i=r.checked,a=r.task;if(n){var s={type:"openTag",tagName:"li",outerNewLine:!0};return a?[s,{type:"openTag",tagName:"input",selfClose:!0,attributes:o(o({},i&&{checked:""}),{disabled:"",type:"checkbox"})},{type:"text",content:" "}]:s}return{type:"closeTag",tagName:"li",outerNewLine:!0}},table:function(e,t){return{type:t.entering?"openTag":"closeTag",tagName:"table",outerNewLine:!0}},tableHead:function(e,t){return{type:t.entering?"openTag":"closeTag",tagName:"thead",outerNewLine:!0}},tableBody:function(e,t){return{type:t.entering?"openTag":"closeTag",tagName:"tbody",outerNewLine:!0}},tableRow:function(e,t){if(t.entering)return{type:"openTag",tagName:"tr",outerNewLine:!0};var n=[];if(e.lastChild)for(var r=e.parent.parent.columns.length,o=e.lastChild.endIdx+1;o<r;o+=1)n.push({type:"openTag",tagName:"td",outerNewLine:!0},{type:"closeTag",tagName:"td",outerNewLine:!0});return n.push({type:"closeTag",tagName:"tr",outerNewLine:!0}),n},tableCell:function(e,t){var n=t.entering;if(e.ignored)return{type:"text",content:""};var r=e.parent.parent,i="tableHead"===r.type?"th":"td",a=r.parent.columns[e.startIdx],s=(null==a?void 0:a.align)?{align:a.align}:null;return n?o({type:"openTag",tagName:i,outerNewLine:!0},s&&{attributes:s}):{type:"closeTag",tagName:i,outerNewLine:!0}}},gn={softbreak:"\n",gfm:!1,tagFilter:!1,nodeId:!1};function yn(e){for(var t=[],n=e.walker(),r=null;r=n.next();){var o=r.node;"text"===o.type&&t.push(o.literal)}return t.join("")}var bn=function(){function e(e){this.buffer=[],this.options=o(o({},gn),e),this.convertors=this.createConvertors(),delete this.options.convertors}return e.prototype.createConvertors=function(){var e=o({},mn);if(this.options.gfm&&(e=o(o({},e),vn)),this.options.convertors){var t=this.options.convertors,n=Object.keys(t),r=o(o({},mn),vn);n.forEach((function(n){var o=e[n],i=t[n],a=-1===Object.keys(r).indexOf(n)?n.toLowerCase():n;e[a]=o?function(e,t,n){return t.origin=function(){return o(e,t,n)},i(e,t)}:i}))}return e},e.prototype.getConvertors=function(){return this.convertors},e.prototype.getOptions=function(){return this.options},e.prototype.render=function(e){var t=this;this.buffer=[];for(var n=e.walker(),r=null,o=function(){var e=r.node,o=r.entering,a=i.convertors[e.type];if(!a)return"continue";var s=!1,l={entering:o,leaf:!oe(e),options:i.options,getChildrenText:yn,skipChildren:function(){s=!0}},c=Ee(e)||function(e){return"customInline"===e.type}(e)?a(e,l,i.convertors):a(e,l);c&&((Array.isArray(c)?c:[c]).forEach((function(n,r){"openTag"===n.type&&t.options.nodeId&&0===r&&(n.attributes||(n.attributes={}),n.attributes["data-nodeid"]=String(e.id)),t.renderHTMLNode(n)})),s&&(n.resumeAt(e,!1),n.next()))},i=this;r=n.next();)o();return this.addNewLine(),this.buffer.join("")},e.prototype.renderHTMLNode=function(e){switch(e.type){case"openTag":case"closeTag":this.renderElementNode(e);break;case"text":this.renderTextNode(e);break;case"html":this.renderRawHtmlNode(e)}},e.prototype.generateOpenTagString=function(e){var t=this,n=e.tagName,r=e.classNames,o=e.attributes;this.buffer.push("<"+n),r&&r.length>0&&this.buffer.push(' class="'+r.join(" ")+'"'),o&&Object.keys(o).forEach((function(e){var n=o[e];t.buffer.push(" "+e+'="'+n+'"')})),e.selfClose&&this.buffer.push(" /"),this.buffer.push(">")},e.prototype.generateCloseTagString=function(e){var t=e.tagName;this.buffer.push("</"+t+">")},e.prototype.addNewLine=function(){this.buffer.length&&"\n"!==Be(Be(this.buffer))&&this.buffer.push("\n")},e.prototype.addOuterNewLine=function(e){e.outerNewLine&&this.addNewLine()},e.prototype.addInnerNewLine=function(e){e.innerNewLine&&this.addNewLine()},e.prototype.renderTextNode=function(e){this.buffer.push(ee(e.content))},e.prototype.renderRawHtmlNode=function(e){this.addOuterNewLine(e),this.buffer.push(e.content),this.addOuterNewLine(e)},e.prototype.renderElementNode=function(e){"openTag"===e.type?(this.addOuterNewLine(e),this.generateOpenTagString(e),e.selfClose?this.addOuterNewLine(e):this.addInnerNewLine(e)):(this.addInnerNewLine(e),this.generateCloseTagString(e),this.addOuterNewLine(e))},e}(),wn=s(956),xn=s.n(wn),kn=s(969),Sn=s.n(kn),Cn=s(348),En=s.n(Cn),Tn=s(349),On=s.n(Tn),$n=s(204),Mn=s.n($n),An=s(462),Dn=s.n(An),Ln=s(522),Nn=s.n(Ln),Rn=s(990),In=s.n(Rn),Pn=s(322),Zn=s.n(Pn),_n=s(758),Fn=s.n(_n),jn=s(929),Bn=s.n(jn),zn=s(714),Hn=s.n(zn),Un=(s(471),"[A-Za-z][A-Za-z0-9-]*"),Wn="(?:\\s+[a-zA-Z_:][a-zA-Z0-9:._-]*(?:\\s*=\\s*(?:[^\"'=<>`\\x00-\\x20]+|'[^']*'|\"[^\"]*\"))?)",Vn=new RegExp("^(?:<("+Un+")("+Wn+")*\\s*/?>|</("+Un+")\\s*[>])","i");function qn(e,t){return-1!==e.indexOf(t)}s(934),s(391),/Mac/.test(navigator.platform),new RegExp('[&<>"]',"g");var Gn=["rel","target","hreflang","type"];function Kn(e){return"object"==typeof e&&null!==e}function Yn(t,n){var r=e({},t);return t&&n&&Object.keys(n).forEach((function(e){Kn(r[e])?Array.isArray(n[e])?r[e]=Xn(n[e]):r.hasOwnProperty(e)?r[e]=Yn(r[e],n[e]):r[e]=Jn(n[e]):r[e]=n[e]})),r}function Xn(e){return e.map((function(e){return Kn(e)?Array.isArray(e)?Xn(e):Jn(e):e}))}function Jn(e){var t=Object.keys(e);return t.length?t.reduce((function(t,n){return Kn(e[n])?t[n]=Array.isArray(e[n])?Xn(e[n]):Jn(e[n]):t[n]=e[n],t}),{}):e}function Qn(e,t){return void 0===t&&(t={}),Object.keys(t).forEach((function(n){e.hasOwnProperty(n)&&"object"==typeof e[n]?Array.isArray(t[n])?e[n]=t[n]:Qn(e[n],t[n]):e[n]=t[n]})),e}function er(e,t){return e>t?[t,e]:[e,t]}var tr="toastui-editor-";function nr(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];for(var n=[],r=0,o=e;r<o.length;r++){var i=o[r],a=void 0;(a=Array.isArray(i)?i[0]?i[1]:null:i)&&n.push(""+tr+a)}return n.join(" ")}function rr(e){e.parentNode&&e.parentNode.removeChild(e)}function or(e,t,n){Bn()(n)&&(n=!Hn()(e,t)),(n?Mn():Dn())(e,t)}var ir=s(294),ar=s.n(ir);function sr(e){var t=e.firstChild.literal;switch(e.type){case"emph":return"*"+t+"*";case"strong":return"**"+t+"**";case"strike":return"~~"+t+"~~";case"code":return"`"+t+"`";case"link":case"image":var n=e,r=n.destination,o=n.title;return("link"===e.type?"":"!")+"["+t+"]("+r+(o?' "'+o+'"':"")+")";default:return null}}var lr={},cr=/\$\$widget\d+\s/;function ur(e){var t=e.search(cr);if(-1!==t){var n=e.substring(t).replace(cr,"").replace("$$","");e=e.substring(0,t),e+=ur(n)}return e}var dr=s(368),pr=s.n(dr),fr=["iframe","embed"],hr=[];function mr(t,n){return pr().sanitize(t,e({ADD_TAGS:hr,ADD_ATTR:["rel","target","hreflang","type"],FORBID_TAGS:["input","script","textarea","form","button","select","meta","style","link","title","object","base"]},n))}var vr=/^\s*<\s*\//,gr={paragraph:function(e,t){var n=t.entering,r=t.origin;return t.options.nodeId?{type:n?"openTag":"closeTag",outerNewLine:!0,tagName:"p"}:r()},softbreak:function(e){return{type:"html",content:e.prev&&"htmlInline"===e.prev.type&&/<br ?\/?>/.test(e.prev.literal)?"\n":"<br>\n"}},item:function(e,t){if(t.entering){var n={},r=[];return e.listData.task&&(n["data-task"]="",r.push("task-list-item"),e.listData.checked&&(r.push("checked"),n["data-task-checked"]="")),{type:"openTag",tagName:"li",classNames:r,attributes:n,outerNewLine:!0}}return{type:"closeTag",tagName:"li",outerNewLine:!0}},code:function(e){return[{type:"openTag",tagName:"code",attributes:{"data-backticks":String(e.tickCount)}},{type:"text",content:e.literal},{type:"closeTag",tagName:"code"}]},codeBlock:function(e){var t=e,n=t.fenceLength,r=t.info,o=r?r.split(/\s+/):[],i=[],a={};if(n>3&&(a["data-backticks"]=n),o.length>0&&o[0].length>0){var s=o[0];i.push("lang-"+s),a["data-language"]=s}return[{type:"openTag",tagName:"pre",classNames:i},{type:"openTag",tagName:"code",attributes:a},{type:"text",content:e.literal},{type:"closeTag",tagName:"code"},{type:"closeTag",tagName:"pre"}]},customInline:function(e,t){var n=t.origin,r=t.entering,o=t.skipChildren,i=e.info;if(-1!==i.indexOf("widget")&&r){o();var a=function(e){for(var t,n="",r=e.walker();t=r.next();){var o=t.node;t.entering&&(o!==e&&"text"!==o.type?(n+=sr(o),r.resumeAt(e,!1),r.next()):"text"===o.type&&(n+=o.literal))}return n}(e),s=function(e,t){var n=lr[e],r=n.rule,o=n.toDOM,i=ur(t).match(r);return i&&(t=i[0]),o(t)}(i,a).outerHTML;return[{type:"openTag",tagName:"span",classNames:["tui-widget"]},{type:"html",content:s},{type:"closeTag",tagName:"span"}]}return n()}};function yr(t,n){var r=e({},gr);return t&&(r.link=function(n,r){var o=r.entering,i=(0,r.origin)();return o&&(i.attributes=e(e({},i.attributes),t)),i}),n&&Object.keys(n).forEach((function(t){var o=r[t],i=n[t];o&&ar()(i)?r[t]=function(t,n){var r=e({},n);return r.origin=function(){return o(t,n)},i(t,r)}:qn(["htmlBlock","htmlInline"],t)&&!ar()(i)?r[t]=function(t,n){var r,o=t.literal.match(Vn);if(o){var a=o[0],s=o[1],l=o[3],c=(s||l).toLowerCase(),u=i[c],d=function(e,t){return e.literal.replace(new RegExp("(<\\s*"+t+"[^>]*>)|(</"+t+"\\s*[>])","ig"),"").trim()}(t,c);if(u){var p=e({},t);return p.attrs=(r=a.match(Vn)[0].match(new RegExp(Wn,"g")))?r.reduce((function(e,t){var n=t.trim().split("="),r=n[0],o=n.slice(1);return o.length&&(e[r]=o.join("=").replace(/'|"/g,"").trim()),e}),{}):{},p.childrenHTML=d,p.type=c,n.entering=!vr.test(t.literal),u(p,n)}}return n.origin()}:r[t]=i})),r}var br=["UL","OL","BLOCKQUOTE"];function wr(e,t){for(var n=0;e&&e!==t&&(qn(br,e.tagName)||(n+=e.offsetTop),e.offsetParent!==t.offsetParent);)e=e.parentElement;return n}function xr(e,t,n){return e&&t>n+e.offsetTop?xr(e.nextElementSibling,t,n)||e:null}var kr={};function Sr(e){e&&(delete kr[Number(e.getAttribute("data-nodeid"))],In()(e.children).forEach((function(e){Sr(e)})))}var Cr=nr("md-preview-highlight"),Er=function(){function e(e,t){var n=document.createElement("div");this.el=n,this.eventEmitter=e,this.isViewer=!!t.isViewer,this.el.className=nr("md-preview");var r=t.linkAttributes,o=t.customHTMLRenderer,i=t.sanitizer,a=t.highlight,s=void 0!==a&&a;this.renderer=new bn({gfm:!0,nodeId:!0,convertors:yr(r,o)}),this.cursorNodeId=null,this.sanitizer=i,this.initEvent(s),this.initContentSection(),this.isViewer&&(this.previewContent.style.overflowWrap="break-word")}return e.prototype.initContentSection=function(){this.previewContent=function(e,t){var n=document.createElement("div");Fn()(e)?n.innerHTML=e:n.appendChild(e);var r=n.firstChild;return t&&t.appendChild(r),r}('<div class="'+nr("contents")+'"></div>'),this.isViewer||this.el.appendChild(this.previewContent)},e.prototype.toggleActive=function(e){or(this.el,"active",e)},e.prototype.initEvent=function(e){var t=this;this.eventEmitter.listen("updatePreview",this.update.bind(this)),this.isViewer||(e&&(this.eventEmitter.listen("changeToolbarState",(function(e){var n=e.mdNode,r=e.cursorPos;t.updateCursorNode(n,r)})),this.eventEmitter.listen("blur",(function(){t.removeHighlight()}))),En()(this.el,"scroll",(function(e){t.eventEmitter.emit("scroll","preview",function(e,t){for(var n=t,r=null;n;){var o=n.firstElementChild;if(!o)break;r=n,n=xr(o,e,wr(n,t))}var i=n||r;return i===t?null:i}(e.target.scrollTop,t.previewContent))})),this.eventEmitter.listen("changePreviewTabPreview",(function(){return t.toggleActive(!0)})),this.eventEmitter.listen("changePreviewTabWrite",(function(){return t.toggleActive(!1)})))},e.prototype.removeHighlight=function(){if(this.cursorNodeId){var e=this.getElementByNodeId(this.cursorNodeId);e&&Dn()(e,Cr)}},e.prototype.updateCursorNode=function(e,t){e&&("tableRow"===(e=function(e,t,n){for(void 0===n&&(n=!0),e=n?e:e.parent;e&&"document"!==e.type;){if(t(e))return e;e=e.parent}return null}(e,(function(e){return!function(e){switch(e.type){case"code":case"text":case"emph":case"strong":case"strike":case"link":case"image":case"htmlInline":case"linebreak":case"softbreak":case"customInline":return!0;default:return!1}}(e)}))).type?e=function(e,t){for(var n=e.firstChild;n&&n.next&&!(n.next.sourcepos[0][1]>t+1);)n=n.next;return n}(e,t[1]):"tableBody"===e.type&&(e=null));var n=e?e.id:null;if(this.cursorNodeId!==n){var r=this.getElementByNodeId(this.cursorNodeId),o=this.getElementByNodeId(n);r&&Dn()(r,Cr),o&&Mn()(o,Cr),this.cursorNodeId=n}},e.prototype.getElementByNodeId=function(e){return e?this.previewContent.querySelector('[data-nodeid="'+e+'"]'):null},e.prototype.update=function(e){var t=this;e.forEach((function(e){return t.replaceRangeNodes(e)})),this.eventEmitter.emit("afterPreviewRender",this)},e.prototype.replaceRangeNodes=function(e){var t=this,n=e.nodes,r=e.removedNodeRange,o=this.previewContent,i=this.eventEmitter.emitReduce("beforePreviewRender",this.sanitizer(n.map((function(e){return t.renderer.render(e)})).join("")));if(r){var a=r.id,s=a[0],l=a[1],c=this.getElementByNodeId(s),u=this.getElementByNodeId(l);if(c){c.insertAdjacentHTML("beforebegin",i);for(var d=c;d&&d!==u;){var p=d.nextElementSibling;rr(d),Sr(d),d=p}(null==d?void 0:d.parentNode)&&(rr(d),Sr(d))}}else o.insertAdjacentHTML("afterbegin",i)},e.prototype.getRenderer=function(){return this.renderer},e.prototype.destroy=function(){On()(this.el,"scroll"),this.el=null},e.prototype.getElement=function(){return this.el},e.prototype.getHTML=function(){return this.previewContent.innerHTML.replace(/<img class="ProseMirror-separator" alt="">/g,"").replace(/ class="ProseMirror-trailingBreak"/g,"")},e.prototype.setHTML=function(e){this.previewContent.innerHTML=e},e.prototype.setHeight=function(e){Nn()(this.el,{height:e+"px"})},e.prototype.setMinHeight=function(e){Nn()(this.el,{minHeight:e+"px"})},e}(),Tr=Er,Or=s(814),$r=s(479),Mr=s(311),Ar=s(481),Dr=s(43),Lr=s(928),Nr=s.n(Lr),Rr=function(){function e(){this.keys=[],this.values=[]}return e.prototype.getKeyIndex=function(e){return Nr()(e,this.keys)},e.prototype.get=function(e){return this.values[this.getKeyIndex(e)]},e.prototype.set=function(e,t){var n=this.getKeyIndex(e);return n>-1?this.values[n]=t:(this.keys.push(e),this.values.push(t)),this},e.prototype.has=function(e){return this.getKeyIndex(e)>-1},e.prototype.delete=function(e){var t=this.getKeyIndex(e);return t>-1&&(this.keys.splice(t,1),this.values.splice(t,1),!0)},e.prototype.forEach=function(e,t){var n=this;void 0===t&&(t=this),this.values.forEach((function(r,o){r&&n.keys[o]&&e.call(t,r,n.keys[o],n)}))},e.prototype.clear=function(){this.keys=[],this.values=[]},e}(),Ir="en-US",Pr=new(function(){function e(){this.code=Ir,this.langs=new Rr}return e.prototype.setCode=function(e){this.code=e||Ir},e.prototype.setLanguage=function(e,t){var n=this;(e=[].concat(e)).forEach((function(e){if(n.langs.has(e)){var r=n.langs.get(e);n.langs.set(e,Sn()(r,t))}else n.langs.set(e,t)}))},e.prototype.get=function(e,t){t||(t=this.code);var n=this.langs.get(t);n||(n=this.langs.get(Ir));var r=n[e];if(!r)throw new Error('There is no text key "'+e+'" in '+t);return r},e}());function Zr(e,t){for(var n=e.depth;n;){var r=e.node(n);if(t(r,n))return{node:r,depth:n,offset:n>0?e.before(n):0};n-=1}return null}var _r=new Map,Fr=function(){function e(e,t,n,r){this.table=e,this.tableRows=t,this.tableStartPos=n,this.rowInfo=r}return e.create=function(t){var n=Zr(t,(function(e){return"table"===e.type.name}));if(n){var r=n.node,o=n.depth,i=n.offset,a=_r.get(r);if((null==a?void 0:a.tableStartPos)===i+1)return a;var s=[],l=t.start(o),c=r.child(0),u=r.child(1),d=jr(c,l),p=jr(u,l+c.nodeSize);c.forEach((function(e){return s.push(e)})),u.forEach((function(e){return s.push(e)}));var f=new e(r,s,l,d.concat(p));return _r.set(r,f),f}return null},Object.defineProperty(e.prototype,"totalRowCount",{get:function(){return this.rowInfo.length},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"totalColumnCount",{get:function(){return this.rowInfo[0].length},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"tableStartOffset",{get:function(){return this.tableStartPos},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"tableEndOffset",{get:function(){return this.tableStartPos+this.table.nodeSize-1},enumerable:!1,configurable:!0}),e.prototype.getCellInfo=function(e,t){return this.rowInfo[e][t]},e.prototype.posAt=function(e,t){for(var n=0,r=this.tableStartPos;;n+=1){var o=r+this.tableRows[n].nodeSize;if(n===e){for(var i=t;i<this.totalColumnCount&&this.rowInfo[n][i].offset<r;)i+=1;return i===this.totalColumnCount?o:this.rowInfo[n][i].offset}r=o}},e.prototype.getNodeAndPos=function(e,t){var n=this.rowInfo[e][t];return{node:this.table.nodeAt(n.offset-this.tableStartOffset),pos:n.offset}},e.prototype.extendedRowspan=function(e,t){return!1},e.prototype.extendedColspan=function(e,t){return!1},e.prototype.getRowspanCount=function(e,t){return 0},e.prototype.getColspanCount=function(e,t){return 0},e.prototype.decreaseColspanCount=function(e,t){return 0},e.prototype.decreaseRowspanCount=function(e,t){return 0},e.prototype.getColspanStartInfo=function(e,t){return null},e.prototype.getRowspanStartInfo=function(e,t){return null},e.prototype.getCellStartOffset=function(e,t){var n=this.rowInfo[e][t].offset;return this.extendedRowspan(e,t)?this.posAt(e,t):n},e.prototype.getCellEndOffset=function(e,t){var n=this.rowInfo[e][t],r=n.offset,o=n.nodeSize;return this.extendedRowspan(e,t)?this.posAt(e,t):r+o},e.prototype.getCellIndex=function(e){for(var t=0;t<this.totalRowCount;t+=1)for(var n=this.rowInfo[t],r=0;r<this.totalColumnCount;r+=1)if(n[r].offset+1>e.pos)return[t,r];return[0,0]},e.prototype.getRectOffsets=function(e,t){var n,r,o;void 0===t&&(t=e),e.pos>t.pos&&(e=(n=[t,e])[0],t=n[1]);var i=this.getCellIndex(e),a=i[0],s=i[1],l=this.getCellIndex(t),c=l[0],u=l[1];return a=(r=er(a,c))[0],c=r[1],s=(o=er(s,u))[0],u=o[1],this.getSpannedOffsets({startRowIdx:a,startColIdx:s,endRowIdx:c,endColIdx:u})},e.prototype.getSpannedOffsets=function(e){return e},e}(),jr=function(e,t){var n=[];return e.forEach((function(e,r){var o={rowspanMap:{},colspanMap:{},length:0};e.forEach((function(e,n){for(var i=e.nodeSize,a=0;o[a];)a+=1;o[a]={offset:t+r+n+2,nodeSize:i},o.length+=1})),n.push(o)})),n};function Br(e,t){return Qn(Fr.prototype,e),jr=t,Fr}function zr(t){var n=t.plugins,r=t.eventEmitter,o=t.usageStatistics,i=t.instance;return r.listen("mixinTableOffsetMapPrototype",Br),(null!=n?n:[]).reduce((function(t,n){var a=function(e){var t=e.plugin,n={eventEmitter:e.eventEmitter,usageStatistics:e.usageStatistics,instance:e.instance,pmState:{Plugin:Or.Plugin,PluginKey:Or.PluginKey,Selection:Or.Selection,TextSelection:Or.TextSelection},pmView:{Decoration:Mr.Decoration,DecorationSet:Mr.DecorationSet},pmModel:{Fragment:Dr.Fragment},pmRules:{InputRule:$r.InputRule,inputRules:$r.inputRules,undoInputRule:$r.undoInputRule},pmKeymap:{keymap:Ar.keymap},i18n:Pr};if(Zn()(t)){var r=t[0],o=t[1];return r(n,void 0===o?{}:o)}return t(n)}({plugin:n,eventEmitter:r,usageStatistics:o,instance:i});if(!a)throw new Error("The return value of the executed plugin is empty.");var s=a.markdownParsers,l=a.toHTMLRenderers,c=a.toMarkdownRenderers,u=a.markdownPlugins,d=a.wysiwygPlugins,p=a.wysiwygNodeViews,f=a.markdownCommands,h=a.wysiwygCommands,m=a.toolbarItems;return l&&(t.toHTMLRenderers=Yn(t.toHTMLRenderers,l)),c&&(t.toMarkdownRenderers=Yn(t.toMarkdownRenderers,c)),u&&(t.mdPlugins=t.mdPlugins.concat(u)),d&&(t.wwPlugins=t.wwPlugins.concat(d)),p&&(t.wwNodeViews=e(e({},t.wwNodeViews),p)),f&&(t.mdCommands=e(e({},t.mdCommands),f)),h&&(t.wwCommands=e(e({},t.wwCommands),h)),m&&(t.toolbarItems=t.toolbarItems.concat(m)),s&&(t.markdownParsers=e(e({},t.markdownParsers),s)),t}),{toHTMLRenderers:{},toMarkdownRenderers:{},mdPlugins:[],wwPlugins:[],wwNodeViews:{},mdCommands:{},wwCommands:{},toolbarItems:[],markdownParsers:{}})}var Hr=s(404),Ur=s.n(Hr),Wr=["afterPreviewRender","updatePreview","changeMode","needChangeMode","command","changePreviewStyle","changePreviewTabPreview","changePreviewTabWrite","scroll","contextmenu","show","hide","changeLanguage","changeToolbarState","toggleScrollSync","mixinTableOffsetMapPrototype","setFocusedNode","removePopupWidget","query","openPopup","closePopup","addImageBlobHook","beforePreviewRender","beforeConvertWysiwygToMarkdown","load","loadUI","change","caretChange","destroy","focus","blur","keydown","keyup"],Vr=function(){function n(){var t=this;this.events=new Rr,this.eventTypes=Wr.reduce((function(t,n){return e(e({},t),{type:n})}),{}),this.hold=!1,Wr.forEach((function(e){t.addEventType(e)}))}return n.prototype.listen=function(e,t){var n=this.getTypeInfo(e),r=this.events.get(n.type)||[];if(!this.hasEventType(n.type))throw new Error("There is no event type "+n.type);n.namespace&&(t.namespace=n.namespace),r.push(t),this.events.set(n.type,r)},n.prototype.emit=function(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];var r=this.getTypeInfo(e),o=this.events.get(r.type),i=[];return!this.hold&&o&&o.forEach((function(e){var n=e.apply(void 0,t);Bn()(n)||i.push(n)})),i},n.prototype.emitReduce=function(e,n){for(var r=[],o=2;o<arguments.length;o++)r[o-2]=arguments[o];var i=this.events.get(e);return!this.hold&&i&&i.forEach((function(e){var o=e.apply(void 0,t([n],r));Ur()(o)||(n=o)})),n},n.prototype.getTypeInfo=function(e){var t=e.split(".");return{type:t[0],namespace:t[1]}},n.prototype.hasEventType=function(e){return!Bn()(this.eventTypes[this.getTypeInfo(e).type])},n.prototype.addEventType=function(e){if(this.hasEventType(e))throw new Error("There is already have event type "+e);this.eventTypes[e]=e},n.prototype.removeEventHandler=function(e,t){var n=this,r=this.getTypeInfo(e),o=r.type,i=r.namespace;o&&t?this.removeEventHandlerWithHandler(o,t):o&&!i?this.events.delete(o):!o&&i?this.events.forEach((function(e,t){n.removeEventHandlerWithTypeInfo(t,i)})):o&&i&&this.removeEventHandlerWithTypeInfo(o,i)},n.prototype.removeEventHandlerWithHandler=function(e,t){var n=this.events.get(e);if(n){var r=n.indexOf(t);n.indexOf(t)>=0&&n.splice(r,1)}},n.prototype.removeEventHandlerWithTypeInfo=function(e,t){var n=[],r=this.events.get(e);r&&(r.map((function(e){return e.namespace!==t&&n.push(e),null})),this.events.set(e,n))},n.prototype.getEvents=function(){return this.events},n.prototype.holdEventInvoke=function(e){this.hold=!0,e(),this.hold=!1},n}(),qr=Vr;function Gr(e){["htmlBlock","htmlInline"].forEach((function(t){e[t]&&Object.keys(e[t]).forEach((function(e){var t;qn(fr,t=e)&&hr.push(t.toLowerCase())}))}))}var Kr=function(){function t(t){var n=this;this.options=Sn()({linkAttributes:null,extendedAutolinks:!1,customHTMLRenderer:null,referenceDefinition:!1,customHTMLSanitizer:null,frontMatter:!1,usageStatistics:!0,theme:"light"},t),this.eventEmitter=new qr;var r=function(e){if(!e)return null;var t={};return Gn.forEach((function(n){Bn()(e[n])||(t[n]=e[n])})),t}(this.options.linkAttributes),o=zr({plugins:this.options.plugins,eventEmitter:this.eventEmitter,usageStatistics:this.options.usageStatistics,instance:this})||{},i=o.toHTMLRenderers,a=o.markdownParsers,s=this.options,l=s.customHTMLRenderer,c=s.extendedAutolinks,u=s.referenceDefinition,d=s.frontMatter,p=s.customHTMLSanitizer,f={linkAttributes:r,customHTMLRenderer:e(e({},i),l),extendedAutolinks:c,referenceDefinition:u,frontMatter:d,sanitizer:p||mr};Gr(f.customHTMLRenderer),this.options.events&&xn()(this.options.events,(function(e,t){n.on(t,e)}));var h=this.options,m=h.el,v=h.initialValue,g=h.theme,y=m.innerHTML;"light"!==g&&m.classList.add(nr(g)),m.innerHTML="",this.toastMark=new pn("",{disallowedHtmlBlockTags:["br","img"],extendedAutolinks:c,referenceDefinition:u,disallowDeepHeading:!0,frontMatter:d,customParser:a}),this.preview=new Tr(this.eventEmitter,e(e({},f),{isViewer:!0})),En()(this.preview.previewContent,"mousedown",this.toggleTask.bind(this)),v?this.setMarkdown(v):y&&this.preview.setHTML(y),m.appendChild(this.preview.previewContent),this.eventEmitter.emit("load",this)}return t.prototype.toggleTask=function(e){var t=e.target,n=getComputedStyle(t,":before");!t.hasAttribute("data-task-disabled")&&t.hasAttribute("data-task")&&function(e,t,n){var r=parseInt(e.left,10),o=parseInt(e.top,10),i=parseInt(e.width,10)+parseInt(e.paddingLeft,10)+parseInt(e.paddingRight,10),a=parseInt(e.height,10)+parseInt(e.paddingTop,10)+parseInt(e.paddingBottom,10);return t>=r&&t<=r+i&&n>=o&&n<=o+a}(n,e.offsetX,e.offsetY)&&(or(t,"checked"),this.eventEmitter.emit("change",{source:"viewer",date:e}))},t.prototype.setMarkdown=function(e){var t,n=this.toastMark.getLineTexts(),r=[n.length,(t=n)[t.length-1].length+1],o=this.toastMark.editMarkdown([1,1],r,e||"");this.eventEmitter.emit("updatePreview",o)},t.prototype.on=function(e,t){this.eventEmitter.listen(e,t)},t.prototype.off=function(e){this.eventEmitter.removeEventHandler(e)},t.prototype.addHook=function(e,t){this.eventEmitter.removeEventHandler(e),this.eventEmitter.listen(e,t)},t.prototype.destroy=function(){On()(this.preview.el,"mousedown",this.toggleTask.bind(this)),this.preview.destroy(),this.eventEmitter.emit("destroy")},t.prototype.isViewer=function(){return!0},t.prototype.isMarkdownMode=function(){return!1},t.prototype.isWysiwygMode=function(){return!1},t}(),Yr=Kr}(),l=l.default}()},e.exports=r(n(78665),n(97354),n(19443),n(42391),n(9222))},9669:(e,t,n)=>{e.exports=n(51609)},55448:(e,t,n)=>{"use strict";var r=n(64867),o=n(36026),i=n(4372),a=n(15327),s=n(94097),l=n(84109),c=n(67985),u=n(77874),d=n(82648),p=n(60644),f=n(90205);e.exports=function(e){return new Promise((function(t,n){var h,m=e.data,v=e.headers,g=e.responseType;function y(){e.cancelToken&&e.cancelToken.unsubscribe(h),e.signal&&e.signal.removeEventListener("abort",h)}r.isFormData(m)&&r.isStandardBrowserEnv()&&delete v["Content-Type"];var b=new XMLHttpRequest;if(e.auth){var w=e.auth.username||"",x=e.auth.password?unescape(encodeURIComponent(e.auth.password)):"";v.Authorization="Basic "+btoa(w+":"+x)}var k=s(e.baseURL,e.url);function S(){if(b){var r="getAllResponseHeaders"in b?l(b.getAllResponseHeaders()):null,i={data:g&&"text"!==g&&"json"!==g?b.response:b.responseText,status:b.status,statusText:b.statusText,headers:r,config:e,request:b};o((function(e){t(e),y()}),(function(e){n(e),y()}),i),b=null}}if(b.open(e.method.toUpperCase(),a(k,e.params,e.paramsSerializer),!0),b.timeout=e.timeout,"onloadend"in b?b.onloadend=S:b.onreadystatechange=function(){b&&4===b.readyState&&(0!==b.status||b.responseURL&&0===b.responseURL.indexOf("file:"))&&setTimeout(S)},b.onabort=function(){b&&(n(new d("Request aborted",d.ECONNABORTED,e,b)),b=null)},b.onerror=function(){n(new d("Network Error",d.ERR_NETWORK,e,b,b)),b=null},b.ontimeout=function(){var t=e.timeout?"timeout of "+e.timeout+"ms exceeded":"timeout exceeded",r=e.transitional||u;e.timeoutErrorMessage&&(t=e.timeoutErrorMessage),n(new d(t,r.clarifyTimeoutError?d.ETIMEDOUT:d.ECONNABORTED,e,b)),b=null},r.isStandardBrowserEnv()){var C=(e.withCredentials||c(k))&&e.xsrfCookieName?i.read(e.xsrfCookieName):void 0;C&&(v[e.xsrfHeaderName]=C)}"setRequestHeader"in b&&r.forEach(v,(function(e,t){void 0===m&&"content-type"===t.toLowerCase()?delete v[t]:b.setRequestHeader(t,e)})),r.isUndefined(e.withCredentials)||(b.withCredentials=!!e.withCredentials),g&&"json"!==g&&(b.responseType=e.responseType),"function"==typeof e.onDownloadProgress&&b.addEventListener("progress",e.onDownloadProgress),"function"==typeof e.onUploadProgress&&b.upload&&b.upload.addEventListener("progress",e.onUploadProgress),(e.cancelToken||e.signal)&&(h=function(e){b&&(n(!e||e&&e.type?new p:e),b.abort(),b=null)},e.cancelToken&&e.cancelToken.subscribe(h),e.signal&&(e.signal.aborted?h():e.signal.addEventListener("abort",h))),m||(m=null);var E=f(k);E&&-1===["http","https","file"].indexOf(E)?n(new d("Unsupported protocol "+E+":",d.ERR_BAD_REQUEST,e)):b.send(m)}))}},51609:(e,t,n)=>{"use strict";var r=n(64867),o=n(91849),i=n(30321),a=n(47185);var s=function e(t){var n=new i(t),s=o(i.prototype.request,n);return r.extend(s,i.prototype,n),r.extend(s,n),s.create=function(n){return e(a(t,n))},s}(n(45546));s.Axios=i,s.CanceledError=n(60644),s.CancelToken=n(14972),s.isCancel=n(26502),s.VERSION=n(97288).version,s.toFormData=n(47675),s.AxiosError=n(82648),s.Cancel=s.CanceledError,s.all=function(e){return Promise.all(e)},s.spread=n(8713),s.isAxiosError=n(16268),e.exports=s,e.exports.default=s},14972:(e,t,n)=>{"use strict";var r=n(60644);function o(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))}))}o.prototype.throwIfRequested=function(){if(this.reason)throw this.reason},o.prototype.subscribe=function(e){this.reason?e(this.reason):this._listeners?this._listeners.push(e):this._listeners=[e]},o.prototype.unsubscribe=function(e){if(this._listeners){var t=this._listeners.indexOf(e);-1!==t&&this._listeners.splice(t,1)}},o.source=function(){var e;return{token:new o((function(t){e=t})),cancel:e}},e.exports=o},60644:(e,t,n)=>{"use strict";var r=n(82648);function o(e){r.call(this,null==e?"canceled":e,r.ERR_CANCELED),this.name="CanceledError"}n(64867).inherits(o,r,{__CANCEL__:!0}),e.exports=o},26502:e=>{"use strict";e.exports=function(e){return!(!e||!e.__CANCEL__)}},30321:(e,t,n)=>{"use strict";var r=n(64867),o=n(15327),i=n(80782),a=n(13572),s=n(47185),l=n(94097),c=n(54875),u=c.validators;function d(e){this.defaults=e,this.interceptors={request:new i,response:new i}}d.prototype.request=function(e,t){"string"==typeof e?(t=t||{}).url=e:t=e||{},(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&&c.assertOptions(n,{silentJSONParsing:u.transitional(u.boolean),forcedJSONParsing:u.transitional(u.boolean),clarifyTimeoutError:u.transitional(u.boolean)},!1);var r=[],o=!0;this.interceptors.request.forEach((function(e){"function"==typeof e.runWhen&&!1===e.runWhen(t)||(o=o&&e.synchronous,r.unshift(e.fulfilled,e.rejected))}));var i,l=[];if(this.interceptors.response.forEach((function(e){l.push(e.fulfilled,e.rejected)})),!o){var d=[a,void 0];for(Array.prototype.unshift.apply(d,r),d=d.concat(l),i=Promise.resolve(t);d.length;)i=i.then(d.shift(),d.shift());return i}for(var p=t;r.length;){var f=r.shift(),h=r.shift();try{p=f(p)}catch(m){h(m);break}}try{i=a(p)}catch(m){return Promise.reject(m)}for(;l.length;)i=i.then(l.shift(),l.shift());return i},d.prototype.getUri=function(e){e=s(this.defaults,e);var t=l(e.baseURL,e.url);return o(t,e.params,e.paramsSerializer)},r.forEach(["delete","get","head","options"],(function(e){d.prototype[e]=function(t,n){return this.request(s(n||{},{method:e,url:t,data:(n||{}).data}))}})),r.forEach(["post","put","patch"],(function(e){function t(t){return function(n,r,o){return this.request(s(o||{},{method:e,headers:t?{"Content-Type":"multipart/form-data"}:{},url:n,data:r}))}}d.prototype[e]=t(),d.prototype[e+"Form"]=t(!0)})),e.exports=d},82648:(e,t,n)=>{"use strict";var r=n(64867);function o(e,t,n,r,o){Error.call(this),this.message=e,this.name="AxiosError",t&&(this.code=t),n&&(this.config=n),r&&(this.request=r),o&&(this.response=o)}r.inherits(o,Error,{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}}});var i=o.prototype,a={};["ERR_BAD_OPTION_VALUE","ERR_BAD_OPTION","ECONNABORTED","ETIMEDOUT","ERR_NETWORK","ERR_FR_TOO_MANY_REDIRECTS","ERR_DEPRECATED","ERR_BAD_RESPONSE","ERR_BAD_REQUEST","ERR_CANCELED"].forEach((function(e){a[e]={value:e}})),Object.defineProperties(o,a),Object.defineProperty(i,"isAxiosError",{value:!0}),o.from=function(e,t,n,a,s,l){var c=Object.create(i);return r.toFlatObject(e,c,(function(e){return e!==Error.prototype})),o.call(c,e.message,t,n,a,s),c.name=e.name,l&&Object.assign(c,l),c},e.exports=o},80782:(e,t,n)=>{"use strict";var r=n(64867);function o(){this.handlers=[]}o.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},o.prototype.eject=function(e){this.handlers[e]&&(this.handlers[e]=null)},o.prototype.forEach=function(e){r.forEach(this.handlers,(function(t){null!==t&&e(t)}))},e.exports=o},94097:(e,t,n)=>{"use strict";var r=n(91793),o=n(7303);e.exports=function(e,t){return e&&!r(t)?o(e,t):t}},13572:(e,t,n)=>{"use strict";var r=n(64867),o=n(18527),i=n(26502),a=n(45546),s=n(60644);function l(e){if(e.cancelToken&&e.cancelToken.throwIfRequested(),e.signal&&e.signal.aborted)throw new s}e.exports=function(e){return l(e),e.headers=e.headers||{},e.data=o.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=o.call(e,t.data,t.headers,e.transformResponse),t}),(function(t){return i(t)||(l(e),t&&t.response&&(t.response.data=o.call(e,t.response.data,t.response.headers,e.transformResponse))),Promise.reject(t)}))}},47185:(e,t,n)=>{"use strict";var r=n(64867);e.exports=function(e,t){t=t||{};var n={};function o(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 i(n){return r.isUndefined(t[n])?r.isUndefined(e[n])?void 0:o(void 0,e[n]):o(e[n],t[n])}function a(e){if(!r.isUndefined(t[e]))return o(void 0,t[e])}function s(n){return r.isUndefined(t[n])?r.isUndefined(e[n])?void 0:o(void 0,e[n]):o(void 0,t[n])}function l(n){return n in t?o(e[n],t[n]):n in e?o(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,beforeRedirect: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]||i,o=t(e);r.isUndefined(o)&&t!==l||(n[e]=o)})),n}},36026:(e,t,n)=>{"use strict";var r=n(82648);e.exports=function(e,t,n){var o=n.config.validateStatus;n.status&&o&&!o(n.status)?t(new r("Request failed with status code "+n.status,[r.ERR_BAD_REQUEST,r.ERR_BAD_RESPONSE][Math.floor(n.status/100)-4],n.config,n.request,n)):e(n)}},18527:(e,t,n)=>{"use strict";var r=n(64867),o=n(45546);e.exports=function(e,t,n){var i=this||o;return r.forEach(n,(function(n){e=n.call(i,e,t)})),e}},45546:(e,t,n)=>{"use strict";var r=n(64867),o=n(16016),i=n(82648),a=n(77874),s=n(47675),l={"Content-Type":"application/x-www-form-urlencoded"};function c(e,t){!r.isUndefined(e)&&r.isUndefined(e["Content-Type"])&&(e["Content-Type"]=t)}var u,d={transitional:a,adapter:(("undefined"!=typeof XMLHttpRequest||"undefined"!=typeof process&&"[object process]"===Object.prototype.toString.call(process))&&(u=n(55448)),u),transformRequest:[function(e,t){if(o(t,"Accept"),o(t,"Content-Type"),r.isFormData(e)||r.isArrayBuffer(e)||r.isBuffer(e)||r.isStream(e)||r.isFile(e)||r.isBlob(e))return e;if(r.isArrayBufferView(e))return e.buffer;if(r.isURLSearchParams(e))return c(t,"application/x-www-form-urlencoded;charset=utf-8"),e.toString();var n,i=r.isObject(e),a=t&&t["Content-Type"];if((n=r.isFileList(e))||i&&"multipart/form-data"===a){var l=this.env&&this.env.FormData;return s(n?{"files[]":e}:e,l&&new l)}return i||"application/json"===a?(c(t,"application/json"),function(e,t,n){if(r.isString(e))try{return(t||JSON.parse)(e),r.trim(e)}catch(o){if("SyntaxError"!==o.name)throw o}return(n||JSON.stringify)(e)}(e)):e}],transformResponse:[function(e){var t=this.transitional||d.transitional,n=t&&t.silentJSONParsing,o=t&&t.forcedJSONParsing,a=!n&&"json"===this.responseType;if(a||o&&r.isString(e)&&e.length)try{return JSON.parse(e)}catch(s){if(a){if("SyntaxError"===s.name)throw i.from(s,i.ERR_BAD_RESPONSE,this,null,this.response);throw s}}return e}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:n(91623)},validateStatus:function(e){return e>=200&&e<300},headers:{common:{Accept:"application/json, text/plain, */*"}}};r.forEach(["delete","get","head"],(function(e){d.headers[e]={}})),r.forEach(["post","put","patch"],(function(e){d.headers[e]=r.merge(l)})),e.exports=d},77874:e=>{"use strict";e.exports={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1}},97288:e=>{e.exports={version:"0.27.2"}},91849: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)}}},15327:(e,t,n)=>{"use strict";var r=n(64867);function o(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 i;if(n)i=n(t);else if(r.isURLSearchParams(t))i=t.toString();else{var a=[];r.forEach(t,(function(e,t){null!=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(o(t)+"="+o(e))})))})),i=a.join("&")}if(i){var s=e.indexOf("#");-1!==s&&(e=e.slice(0,s)),e+=(-1===e.indexOf("?")?"?":"&")+i}return e}},7303:e=>{"use strict";e.exports=function(e,t){return t?e.replace(/\/+$/,"")+"/"+t.replace(/^\/+/,""):e}},4372:(e,t,n)=>{"use strict";var r=n(64867);e.exports=r.isStandardBrowserEnv()?{write:function(e,t,n,o,i,a){var s=[];s.push(e+"="+encodeURIComponent(t)),r.isNumber(n)&&s.push("expires="+new Date(n).toGMTString()),r.isString(o)&&s.push("path="+o),r.isString(i)&&s.push("domain="+i),!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(){}}},91793:e=>{"use strict";e.exports=function(e){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(e)}},16268:(e,t,n)=>{"use strict";var r=n(64867);e.exports=function(e){return r.isObject(e)&&!0===e.isAxiosError}},67985:(e,t,n)=>{"use strict";var r=n(64867);e.exports=r.isStandardBrowserEnv()?function(){var e,t=/(msie|trident)/i.test(navigator.userAgent),n=document.createElement("a");function o(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=o(window.location.href),function(t){var n=r.isString(t)?o(t):t;return n.protocol===e.protocol&&n.host===e.host}}():function(){return!0}},16016:(e,t,n)=>{"use strict";var r=n(64867);e.exports=function(e,t){r.forEach(e,(function(n,r){r!==t&&r.toUpperCase()===t.toUpperCase()&&(e[t]=n,delete e[r])}))}},91623:e=>{e.exports=null},84109:(e,t,n)=>{"use strict";var r=n(64867),o=["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,i,a={};return e?(r.forEach(e.split("\n"),(function(e){if(i=e.indexOf(":"),t=r.trim(e.substr(0,i)).toLowerCase(),n=r.trim(e.substr(i+1)),t){if(a[t]&&o.indexOf(t)>=0)return;a[t]="set-cookie"===t?(a[t]?a[t]:[]).concat([n]):a[t]?a[t]+", "+n:n}})),a):a}},90205:e=>{"use strict";e.exports=function(e){var t=/^([-+\w]{1,25})(:?\/\/|:)/.exec(e);return t&&t[1]||""}},8713:e=>{"use strict";e.exports=function(e){return function(t){return e.apply(null,t)}}},47675:(e,t,n)=>{"use strict";var r=n(64867);e.exports=function(e,t){t=t||new FormData;var n=[];function o(e){return null===e?"":r.isDate(e)?e.toISOString():r.isArrayBuffer(e)||r.isTypedArray(e)?"function"==typeof Blob?new Blob([e]):Buffer.from(e):e}return function e(i,a){if(r.isPlainObject(i)||r.isArray(i)){if(-1!==n.indexOf(i))throw Error("Circular reference detected in "+a);n.push(i),r.forEach(i,(function(n,i){if(!r.isUndefined(n)){var s,l=a?a+"."+i:i;if(n&&!a&&"object"==typeof n)if(r.endsWith(i,"{}"))n=JSON.stringify(n);else if(r.endsWith(i,"[]")&&(s=r.toArray(n)))return void s.forEach((function(e){!r.isUndefined(e)&&t.append(l,o(e))}));e(n,l)}})),n.pop()}else t.append(a,o(i))}(e),t}},54875:(e,t,n)=>{"use strict";var r=n(97288).version,o=n(82648),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 a={};i.transitional=function(e,t,n){function i(e,t){return"[Axios v"+r+"] Transitional option '"+e+"'"+t+(n?". "+n:"")}return function(n,r,s){if(!1===e)throw new o(i(r," has been removed"+(t?" in "+t:"")),o.ERR_DEPRECATED);return t&&!a[r]&&(a[r]=!0,console.warn(i(r," has been deprecated since v"+t+" and will be removed in the near future"))),!e||e(n,r,s)}},e.exports={assertOptions:function(e,t,n){if("object"!=typeof e)throw new o("options must be an object",o.ERR_BAD_OPTION_VALUE);for(var r=Object.keys(e),i=r.length;i-- >0;){var a=r[i],s=t[a];if(s){var l=e[a],c=void 0===l||s(l,a,e);if(!0!==c)throw new o("option "+a+" must be "+c,o.ERR_BAD_OPTION_VALUE)}else if(!0!==n)throw new o("Unknown option "+a,o.ERR_BAD_OPTION)}},validators:i}},64867:(e,t,n)=>{"use strict";var r,o=n(91849),i=Object.prototype.toString,a=(r=Object.create(null),function(e){var t=i.call(e);return r[t]||(r[t]=t.slice(8,-1).toLowerCase())});function s(e){return e=e.toLowerCase(),function(t){return a(t)===e}}function l(e){return Array.isArray(e)}function c(e){return void 0===e}var u=s("ArrayBuffer");function d(e){return null!==e&&"object"==typeof e}function p(e){if("object"!==a(e))return!1;var t=Object.getPrototypeOf(e);return null===t||t===Object.prototype}var f=s("Date"),h=s("File"),m=s("Blob"),v=s("FileList");function g(e){return"[object Function]"===i.call(e)}var y=s("URLSearchParams");function b(e,t){if(null!=e)if("object"!=typeof e&&(e=[e]),l(e))for(var n=0,r=e.length;n<r;n++)t.call(null,e[n],n,e);else for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&t.call(null,e[o],o,e)}var w,x=(w="undefined"!=typeof Uint8Array&&Object.getPrototypeOf(Uint8Array),function(e){return w&&e instanceof w});e.exports={isArray:l,isArrayBuffer:u,isBuffer:function(e){return null!==e&&!c(e)&&null!==e.constructor&&!c(e.constructor)&&"function"==typeof e.constructor.isBuffer&&e.constructor.isBuffer(e)},isFormData:function(e){var t="[object FormData]";return e&&("function"==typeof FormData&&e instanceof FormData||i.call(e)===t||g(e.toString)&&e.toString()===t)},isArrayBufferView:function(e){return"undefined"!=typeof ArrayBuffer&&ArrayBuffer.isView?ArrayBuffer.isView(e):e&&e.buffer&&u(e.buffer)},isString:function(e){return"string"==typeof e},isNumber:function(e){return"number"==typeof e},isObject:d,isPlainObject:p,isUndefined:c,isDate:f,isFile:h,isBlob:m,isFunction:g,isStream:function(e){return d(e)&&g(e.pipe)},isURLSearchParams:y,isStandardBrowserEnv:function(){return("undefined"==typeof navigator||"ReactNative"!==navigator.product&&"NativeScript"!==navigator.product&&"NS"!==navigator.product)&&("undefined"!=typeof window&&"undefined"!=typeof document)},forEach:b,merge:function e(){var t={};function n(n,r){p(t[r])&&p(n)?t[r]=e(t[r],n):p(n)?t[r]=e({},n):l(n)?t[r]=n.slice():t[r]=n}for(var r=0,o=arguments.length;r<o;r++)b(arguments[r],n);return t},extend:function(e,t,n){return b(t,(function(t,r){e[r]=n&&"function"==typeof t?o(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},inherits:function(e,t,n,r){e.prototype=Object.create(t.prototype,r),e.prototype.constructor=e,n&&Object.assign(e.prototype,n)},toFlatObject:function(e,t,n){var r,o,i,a={};t=t||{};do{for(o=(r=Object.getOwnPropertyNames(e)).length;o-- >0;)a[i=r[o]]||(t[i]=e[i],a[i]=!0);e=Object.getPrototypeOf(e)}while(e&&(!n||n(e,t))&&e!==Object.prototype);return t},kindOf:a,kindOfTest:s,endsWith:function(e,t,n){e=String(e),(void 0===n||n>e.length)&&(n=e.length),n-=t.length;var r=e.indexOf(t,n);return-1!==r&&r===n},toArray:function(e){if(!e)return null;var t=e.length;if(c(t))return null;for(var n=new Array(t);t-- >0;)n[t]=e[t];return n},isTypedArray:x,isFileList:v}},94184:(e,t)=>{var n;!function(){"use strict";var r={}.hasOwnProperty;function o(){for(var e=[],t=0;t<arguments.length;t++){var n=arguments[t];if(n){var i=typeof n;if("string"===i||"number"===i)e.push(n);else if(Array.isArray(n)){if(n.length){var a=o.apply(null,n);a&&e.push(a)}}else if("object"===i)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?(o.default=o,e.exports=o):void 0===(n=function(){return o}.apply(t,[]))||(e.exports=n)}()},88609:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){if(null==e)throw new TypeError("assign requires that input parameter not be null or undefined");for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n]);return e},e.exports=t.default},46420:(e,t,n)=>{"use strict";var r=n(64836).default;Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return(0,o.default)({},e)};var o=r(n(88609));e.exports=t.default},93561:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){var t=new Date(Date.UTC(e.getFullYear(),e.getMonth(),e.getDate(),e.getHours(),e.getMinutes(),e.getSeconds(),e.getMilliseconds()));return t.setUTCFullYear(e.getFullYear()),e.getTime()-t.getTime()},e.exports=t.default},82084:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){if(null===e||!0===e||!1===e)return NaN;var t=Number(e);if(isNaN(t))return t;return t<0?Math.ceil(t):Math.floor(t)},e.exports=t.default},4810:(e,t,n)=>{"use strict";function r(e,t){for(var n=e<0?"-":"",r=Math.abs(e).toString();r.length<t;)r="0"+r;return n+r}n.d(t,{Z:()=>r})},44941:(e,t,n)=>{"use strict";n.d(t,{Z:()=>r});const r=n(8493).default},84314:(e,t,n)=>{"use strict";n.d(t,{j:()=>o});var r={};function o(){return r}},49969:(e,t,n)=>{"use strict";n.d(t,{Z:()=>b});var r=n(37594),o=n(64328),i=n(7032),a=n(80376),s=n(7651),l=n(4810),c=n(65834),u="midnight",d="noon",p="morning",f="afternoon",h="evening",m="night";function v(e,t){var n=e>0?"-":"+",r=Math.abs(e),o=Math.floor(r/60),i=r%60;if(0===i)return n+String(o);var a=t||"";return n+String(o)+a+(0,l.Z)(i,2)}function g(e,t){return e%60==0?(e>0?"-":"+")+(0,l.Z)(Math.abs(e)/60,2):y(e,t)}function y(e,t){var n=t||"",r=e>0?"-":"+",o=Math.abs(e);return r+(0,l.Z)(Math.floor(o/60),2)+n+(0,l.Z)(o%60,2)}const b={G:function(e,t,n){var r=e.getUTCFullYear()>0?1:0;switch(t){case"G":case"GG":case"GGG":return n.era(r,{width:"abbreviated"});case"GGGGG":return n.era(r,{width:"narrow"});default:return n.era(r,{width:"wide"})}},y:function(e,t,n){if("yo"===t){var r=e.getUTCFullYear(),o=r>0?r:1-r;return n.ordinalNumber(o,{unit:"year"})}return c.Z.y(e,t)},Y:function(e,t,n,r){var o=(0,s.Z)(e,r),i=o>0?o:1-o;if("YY"===t){var a=i%100;return(0,l.Z)(a,2)}return"Yo"===t?n.ordinalNumber(i,{unit:"year"}):(0,l.Z)(i,t.length)},R:function(e,t){var n=(0,i.Z)(e);return(0,l.Z)(n,t.length)},u:function(e,t){var n=e.getUTCFullYear();return(0,l.Z)(n,t.length)},Q:function(e,t,n){var r=Math.ceil((e.getUTCMonth()+1)/3);switch(t){case"Q":return String(r);case"QQ":return(0,l.Z)(r,2);case"Qo":return n.ordinalNumber(r,{unit:"quarter"});case"QQQ":return n.quarter(r,{width:"abbreviated",context:"formatting"});case"QQQQQ":return n.quarter(r,{width:"narrow",context:"formatting"});default:return n.quarter(r,{width:"wide",context:"formatting"})}},q:function(e,t,n){var r=Math.ceil((e.getUTCMonth()+1)/3);switch(t){case"q":return String(r);case"qq":return(0,l.Z)(r,2);case"qo":return n.ordinalNumber(r,{unit:"quarter"});case"qqq":return n.quarter(r,{width:"abbreviated",context:"standalone"});case"qqqqq":return n.quarter(r,{width:"narrow",context:"standalone"});default:return n.quarter(r,{width:"wide",context:"standalone"})}},M:function(e,t,n){var r=e.getUTCMonth();switch(t){case"M":case"MM":return c.Z.M(e,t);case"Mo":return n.ordinalNumber(r+1,{unit:"month"});case"MMM":return n.month(r,{width:"abbreviated",context:"formatting"});case"MMMMM":return n.month(r,{width:"narrow",context:"formatting"});default:return n.month(r,{width:"wide",context:"formatting"})}},L:function(e,t,n){var r=e.getUTCMonth();switch(t){case"L":return String(r+1);case"LL":return(0,l.Z)(r+1,2);case"Lo":return n.ordinalNumber(r+1,{unit:"month"});case"LLL":return n.month(r,{width:"abbreviated",context:"standalone"});case"LLLLL":return n.month(r,{width:"narrow",context:"standalone"});default:return n.month(r,{width:"wide",context:"standalone"})}},w:function(e,t,n,r){var o=(0,a.Z)(e,r);return"wo"===t?n.ordinalNumber(o,{unit:"week"}):(0,l.Z)(o,t.length)},I:function(e,t,n){var r=(0,o.Z)(e);return"Io"===t?n.ordinalNumber(r,{unit:"week"}):(0,l.Z)(r,t.length)},d:function(e,t,n){return"do"===t?n.ordinalNumber(e.getUTCDate(),{unit:"date"}):c.Z.d(e,t)},D:function(e,t,n){var o=(0,r.Z)(e);return"Do"===t?n.ordinalNumber(o,{unit:"dayOfYear"}):(0,l.Z)(o,t.length)},E:function(e,t,n){var r=e.getUTCDay();switch(t){case"E":case"EE":case"EEE":return n.day(r,{width:"abbreviated",context:"formatting"});case"EEEEE":return n.day(r,{width:"narrow",context:"formatting"});case"EEEEEE":return n.day(r,{width:"short",context:"formatting"});default:return n.day(r,{width:"wide",context:"formatting"})}},e:function(e,t,n,r){var o=e.getUTCDay(),i=(o-r.weekStartsOn+8)%7||7;switch(t){case"e":return String(i);case"ee":return(0,l.Z)(i,2);case"eo":return n.ordinalNumber(i,{unit:"day"});case"eee":return n.day(o,{width:"abbreviated",context:"formatting"});case"eeeee":return n.day(o,{width:"narrow",context:"formatting"});case"eeeeee":return n.day(o,{width:"short",context:"formatting"});default:return n.day(o,{width:"wide",context:"formatting"})}},c:function(e,t,n,r){var o=e.getUTCDay(),i=(o-r.weekStartsOn+8)%7||7;switch(t){case"c":return String(i);case"cc":return(0,l.Z)(i,t.length);case"co":return n.ordinalNumber(i,{unit:"day"});case"ccc":return n.day(o,{width:"abbreviated",context:"standalone"});case"ccccc":return n.day(o,{width:"narrow",context:"standalone"});case"cccccc":return n.day(o,{width:"short",context:"standalone"});default:return n.day(o,{width:"wide",context:"standalone"})}},i:function(e,t,n){var r=e.getUTCDay(),o=0===r?7:r;switch(t){case"i":return String(o);case"ii":return(0,l.Z)(o,t.length);case"io":return n.ordinalNumber(o,{unit:"day"});case"iii":return n.day(r,{width:"abbreviated",context:"formatting"});case"iiiii":return n.day(r,{width:"narrow",context:"formatting"});case"iiiiii":return n.day(r,{width:"short",context:"formatting"});default:return n.day(r,{width:"wide",context:"formatting"})}},a:function(e,t,n){var r=e.getUTCHours()/12>=1?"pm":"am";switch(t){case"a":case"aa":return n.dayPeriod(r,{width:"abbreviated",context:"formatting"});case"aaa":return n.dayPeriod(r,{width:"abbreviated",context:"formatting"}).toLowerCase();case"aaaaa":return n.dayPeriod(r,{width:"narrow",context:"formatting"});default:return n.dayPeriod(r,{width:"wide",context:"formatting"})}},b:function(e,t,n){var r,o=e.getUTCHours();switch(r=12===o?d:0===o?u:o/12>=1?"pm":"am",t){case"b":case"bb":return n.dayPeriod(r,{width:"abbreviated",context:"formatting"});case"bbb":return n.dayPeriod(r,{width:"abbreviated",context:"formatting"}).toLowerCase();case"bbbbb":return n.dayPeriod(r,{width:"narrow",context:"formatting"});default:return n.dayPeriod(r,{width:"wide",context:"formatting"})}},B:function(e,t,n){var r,o=e.getUTCHours();switch(r=o>=17?h:o>=12?f:o>=4?p:m,t){case"B":case"BB":case"BBB":return n.dayPeriod(r,{width:"abbreviated",context:"formatting"});case"BBBBB":return n.dayPeriod(r,{width:"narrow",context:"formatting"});default:return n.dayPeriod(r,{width:"wide",context:"formatting"})}},h:function(e,t,n){if("ho"===t){var r=e.getUTCHours()%12;return 0===r&&(r=12),n.ordinalNumber(r,{unit:"hour"})}return c.Z.h(e,t)},H:function(e,t,n){return"Ho"===t?n.ordinalNumber(e.getUTCHours(),{unit:"hour"}):c.Z.H(e,t)},K:function(e,t,n){var r=e.getUTCHours()%12;return"Ko"===t?n.ordinalNumber(r,{unit:"hour"}):(0,l.Z)(r,t.length)},k:function(e,t,n){var r=e.getUTCHours();return 0===r&&(r=24),"ko"===t?n.ordinalNumber(r,{unit:"hour"}):(0,l.Z)(r,t.length)},m:function(e,t,n){return"mo"===t?n.ordinalNumber(e.getUTCMinutes(),{unit:"minute"}):c.Z.m(e,t)},s:function(e,t,n){return"so"===t?n.ordinalNumber(e.getUTCSeconds(),{unit:"second"}):c.Z.s(e,t)},S:function(e,t){return c.Z.S(e,t)},X:function(e,t,n,r){var o=(r._originalDate||e).getTimezoneOffset();if(0===o)return"Z";switch(t){case"X":return g(o);case"XXXX":case"XX":return y(o);default:return y(o,":")}},x:function(e,t,n,r){var o=(r._originalDate||e).getTimezoneOffset();switch(t){case"x":return g(o);case"xxxx":case"xx":return y(o);default:return y(o,":")}},O:function(e,t,n,r){var o=(r._originalDate||e).getTimezoneOffset();switch(t){case"O":case"OO":case"OOO":return"GMT"+v(o,":");default:return"GMT"+y(o,":")}},z:function(e,t,n,r){var o=(r._originalDate||e).getTimezoneOffset();switch(t){case"z":case"zz":case"zzz":return"GMT"+v(o,":");default:return"GMT"+y(o,":")}},t:function(e,t,n,r){var o=r._originalDate||e,i=Math.floor(o.getTime()/1e3);return(0,l.Z)(i,t.length)},T:function(e,t,n,r){var o=(r._originalDate||e).getTime();return(0,l.Z)(o,t.length)}}},65834:(e,t,n)=>{"use strict";n.d(t,{Z:()=>o});var r=n(4810);const o={y:function(e,t){var n=e.getUTCFullYear(),o=n>0?n:1-n;return(0,r.Z)("yy"===t?o%100:o,t.length)},M:function(e,t){var n=e.getUTCMonth();return"M"===t?String(n+1):(0,r.Z)(n+1,2)},d:function(e,t){return(0,r.Z)(e.getUTCDate(),t.length)},a:function(e,t){var n=e.getUTCHours()/12>=1?"pm":"am";switch(t){case"a":case"aa":return n.toUpperCase();case"aaa":return n;case"aaaaa":return n[0];default:return"am"===n?"a.m.":"p.m."}},h:function(e,t){return(0,r.Z)(e.getUTCHours()%12||12,t.length)},H:function(e,t){return(0,r.Z)(e.getUTCHours(),t.length)},m:function(e,t){return(0,r.Z)(e.getUTCMinutes(),t.length)},s:function(e,t){return(0,r.Z)(e.getUTCSeconds(),t.length)},S:function(e,t){var n=t.length,o=e.getUTCMilliseconds(),i=Math.floor(o*Math.pow(10,n-3));return(0,r.Z)(i,t.length)}}},97621:(e,t,n)=>{"use strict";n.d(t,{Z:()=>i});var r=function(e,t){switch(e){case"P":return t.date({width:"short"});case"PP":return t.date({width:"medium"});case"PPP":return t.date({width:"long"});default:return t.date({width:"full"})}},o=function(e,t){switch(e){case"p":return t.time({width:"short"});case"pp":return t.time({width:"medium"});case"ppp":return t.time({width:"long"});default:return t.time({width:"full"})}};const i={p:o,P:function(e,t){var n,i=e.match(/(P+)(p+)?/)||[],a=i[1],s=i[2];if(!s)return r(e,t);switch(a){case"P":n=t.dateTime({width:"short"});break;case"PP":n=t.dateTime({width:"medium"});break;case"PPP":n=t.dateTime({width:"long"});break;default:n=t.dateTime({width:"full"})}return n.replace("{{date}}",r(a,t)).replace("{{time}}",o(s,t))}}},24262:(e,t,n)=>{"use strict";function r(e){var t=new Date(Date.UTC(e.getFullYear(),e.getMonth(),e.getDate(),e.getHours(),e.getMinutes(),e.getSeconds(),e.getMilliseconds()));return t.setUTCFullYear(e.getFullYear()),e.getTime()-t.getTime()}n.d(t,{Z:()=>r})},37594:(e,t,n)=>{"use strict";n.d(t,{Z:()=>a});var r=n(19013),o=n(13882),i=864e5;function a(e){(0,o.Z)(1,arguments);var t=(0,r.Z)(e),n=t.getTime();t.setUTCMonth(0,1),t.setUTCHours(0,0,0,0);var a=n-t.getTime();return Math.floor(a/i)+1}},64328:(e,t,n)=>{"use strict";n.d(t,{Z:()=>l});var r=n(19013),o=n(66979),i=n(22585),a=n(13882),s=6048e5;function l(e){(0,a.Z)(1,arguments);var t=(0,r.Z)(e),n=(0,o.Z)(t).getTime()-(0,i.Z)(t).getTime();return Math.round(n/s)+1}},7032:(e,t,n)=>{"use strict";n.d(t,{Z:()=>a});var r=n(19013),o=n(13882),i=n(66979);function a(e){(0,o.Z)(1,arguments);var t=(0,r.Z)(e),n=t.getUTCFullYear(),a=new Date(0);a.setUTCFullYear(n+1,0,4),a.setUTCHours(0,0,0,0);var s=(0,i.Z)(a),l=new Date(0);l.setUTCFullYear(n,0,4),l.setUTCHours(0,0,0,0);var c=(0,i.Z)(l);return t.getTime()>=s.getTime()?n+1:t.getTime()>=c.getTime()?n:n-1}},80376:(e,t,n)=>{"use strict";n.d(t,{Z:()=>l});var r=n(19013),o=n(59025),i=n(41489),a=n(13882),s=6048e5;function l(e,t){(0,a.Z)(1,arguments);var n=(0,r.Z)(e),l=(0,o.Z)(n,t).getTime()-(0,i.Z)(n,t).getTime();return Math.round(l/s)+1}},7651:(e,t,n)=>{"use strict";n.d(t,{Z:()=>l});var r=n(19013),o=n(13882),i=n(59025),a=n(83946),s=n(84314);function l(e,t){var n,l,c,u,d,p,f,h;(0,o.Z)(1,arguments);var m=(0,r.Z)(e),v=m.getUTCFullYear(),g=(0,s.j)(),y=(0,a.Z)(null!==(n=null!==(l=null!==(c=null!==(u=null==t?void 0:t.firstWeekContainsDate)&&void 0!==u?u:null==t||null===(d=t.locale)||void 0===d||null===(p=d.options)||void 0===p?void 0:p.firstWeekContainsDate)&&void 0!==c?c:g.firstWeekContainsDate)&&void 0!==l?l:null===(f=g.locale)||void 0===f||null===(h=f.options)||void 0===h?void 0:h.firstWeekContainsDate)&&void 0!==n?n:1);if(!(y>=1&&y<=7))throw new RangeError("firstWeekContainsDate must be between 1 and 7 inclusively");var b=new Date(0);b.setUTCFullYear(v+1,0,y),b.setUTCHours(0,0,0,0);var w=(0,i.Z)(b,t),x=new Date(0);x.setUTCFullYear(v,0,y),x.setUTCHours(0,0,0,0);var k=(0,i.Z)(x,t);return m.getTime()>=w.getTime()?v+1:m.getTime()>=k.getTime()?v:v-1}},5267:(e,t,n)=>{"use strict";n.d(t,{Do:()=>a,Iu:()=>i,qp:()=>s});var r=["D","DD"],o=["YY","YYYY"];function i(e){return-1!==r.indexOf(e)}function a(e){return-1!==o.indexOf(e)}function s(e,t,n){if("YYYY"===e)throw new RangeError("Use `yyyy` instead of `YYYY` (in `".concat(t,"`) for formatting years to the input `").concat(n,"`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md"));if("YY"===e)throw new RangeError("Use `yy` instead of `YY` (in `".concat(t,"`) for formatting years to the input `").concat(n,"`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md"));if("D"===e)throw new RangeError("Use `d` instead of `D` (in `".concat(t,"`) for formatting days of the month to the input `").concat(n,"`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md"));if("DD"===e)throw new RangeError("Use `dd` instead of `DD` (in `".concat(t,"`) for formatting days of the month to the input `").concat(n,"`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md"))}},13882:(e,t,n)=>{"use strict";function r(e,t){if(t.length<e)throw new TypeError(e+" argument"+(e>1?"s":"")+" required, but only "+t.length+" present")}n.d(t,{Z:()=>r})},66979:(e,t,n)=>{"use strict";n.d(t,{Z:()=>i});var r=n(19013),o=n(13882);function i(e){(0,o.Z)(1,arguments);var t=(0,r.Z)(e),n=t.getUTCDay(),i=(n<1?7:0)+n-1;return t.setUTCDate(t.getUTCDate()-i),t.setUTCHours(0,0,0,0),t}},22585:(e,t,n)=>{"use strict";n.d(t,{Z:()=>a});var r=n(7032),o=n(66979),i=n(13882);function a(e){(0,i.Z)(1,arguments);var t=(0,r.Z)(e),n=new Date(0);return n.setUTCFullYear(t,0,4),n.setUTCHours(0,0,0,0),(0,o.Z)(n)}},59025:(e,t,n)=>{"use strict";n.d(t,{Z:()=>s});var r=n(19013),o=n(13882),i=n(83946),a=n(84314);function s(e,t){var n,s,l,c,u,d,p,f;(0,o.Z)(1,arguments);var h=(0,a.j)(),m=(0,i.Z)(null!==(n=null!==(s=null!==(l=null!==(c=null==t?void 0:t.weekStartsOn)&&void 0!==c?c:null==t||null===(u=t.locale)||void 0===u||null===(d=u.options)||void 0===d?void 0:d.weekStartsOn)&&void 0!==l?l:h.weekStartsOn)&&void 0!==s?s:null===(p=h.locale)||void 0===p||null===(f=p.options)||void 0===f?void 0:f.weekStartsOn)&&void 0!==n?n:0);if(!(m>=0&&m<=6))throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");var v=(0,r.Z)(e),g=v.getUTCDay(),y=(g<m?7:0)+g-m;return v.setUTCDate(v.getUTCDate()-y),v.setUTCHours(0,0,0,0),v}},41489:(e,t,n)=>{"use strict";n.d(t,{Z:()=>l});var r=n(7651),o=n(13882),i=n(59025),a=n(83946),s=n(84314);function l(e,t){var n,l,c,u,d,p,f,h;(0,o.Z)(1,arguments);var m=(0,s.j)(),v=(0,a.Z)(null!==(n=null!==(l=null!==(c=null!==(u=null==t?void 0:t.firstWeekContainsDate)&&void 0!==u?u:null==t||null===(d=t.locale)||void 0===d||null===(p=d.options)||void 0===p?void 0:p.firstWeekContainsDate)&&void 0!==c?c:m.firstWeekContainsDate)&&void 0!==l?l:null===(f=m.locale)||void 0===f||null===(h=f.options)||void 0===h?void 0:h.firstWeekContainsDate)&&void 0!==n?n:1),g=(0,r.Z)(e,t),y=new Date(0);return y.setUTCFullYear(g,0,v),y.setUTCHours(0,0,0,0),(0,i.Z)(y,t)}},83946:(e,t,n)=>{"use strict";function r(e){if(null===e||!0===e||!1===e)return NaN;var t=Number(e);return isNaN(t)?t:t<0?Math.ceil(t):Math.floor(t)}n.d(t,{Z:()=>r})},77349:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>a});var r=n(83946),o=n(19013),i=n(13882);function a(e,t){(0,i.Z)(2,arguments);var n=(0,o.Z)(e),a=(0,r.Z)(t);return isNaN(a)?new Date(NaN):a?(n.setDate(n.getDate()+a),n):n}},51820:(e,t,n)=>{"use strict";n.d(t,{Z:()=>a});var r=n(83946),o=n(19013),i=n(13882);function a(e,t){(0,i.Z)(2,arguments);var n=(0,o.Z)(e).getTime(),a=(0,r.Z)(t);return new Date(n+a)}},11640:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>a});var r=n(83946),o=n(19013),i=n(13882);function a(e,t){(0,i.Z)(2,arguments);var n=(0,o.Z)(e),a=(0,r.Z)(t);if(isNaN(a))return new Date(NaN);if(!a)return n;var s=n.getDate(),l=new Date(n.getTime());return l.setMonth(n.getMonth()+a+1,0),s>=l.getDate()?l:(n.setFullYear(l.getFullYear(),l.getMonth(),s),n)}},21593:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>a});var r=n(83946),o=n(11640),i=n(13882);function a(e,t){(0,i.Z)(2,arguments);var n=(0,r.Z)(t);return(0,o.default)(e,12*n)}},36948:(e,t,n)=>{"use strict";n.d(t,{qk:()=>i,vh:()=>o,yJ:()=>r});Math.pow(10,8);var r=6e4,o=36e5,i=1e3},92300:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>s});var r=n(24262),o=n(69119),i=n(13882),a=864e5;function s(e,t){(0,i.Z)(2,arguments);var n=(0,o.default)(e),s=(0,o.default)(t),l=n.getTime()-(0,r.Z)(n),c=s.getTime()-(0,r.Z)(s);return Math.round((l-c)/a)}},84129:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>i});var r=n(19013),o=n(13882);function i(e,t){(0,o.Z)(2,arguments);var n=(0,r.Z)(e),i=(0,r.Z)(t);return 12*(n.getFullYear()-i.getFullYear())+(n.getMonth()-i.getMonth())}},67803:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>s});var r=n(19013),o=n(92300),i=n(13882);function a(e,t){var n=e.getFullYear()-t.getFullYear()||e.getMonth()-t.getMonth()||e.getDate()-t.getDate()||e.getHours()-t.getHours()||e.getMinutes()-t.getMinutes()||e.getSeconds()-t.getSeconds()||e.getMilliseconds()-t.getMilliseconds();return n<0?-1:n>0?1:n}function s(e,t){(0,i.Z)(2,arguments);var n=(0,r.Z)(e),s=(0,r.Z)(t),l=a(n,s),c=Math.abs((0,o.default)(n,s));n.setDate(n.getDate()-l*c);var u=l*(c-Number(a(n,s)===-l));return 0===u?0:u}},9005:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>i});var r=n(19013),o=n(13882);function i(e,t){var n;(0,o.Z)(1,arguments);var i=e||{},a=(0,r.Z)(i.start),s=(0,r.Z)(i.end).getTime();if(!(a.getTime()<=s))throw new RangeError("Invalid interval");var l=[],c=a;c.setHours(0,0,0,0);var u=Number(null!==(n=null==t?void 0:t.step)&&void 0!==n?n:1);if(u<1||isNaN(u))throw new RangeError("`options.step` must be a number greater than 1");for(;c.getTime()<=s;)l.push((0,r.Z)(c)),c.setDate(c.getDate()+u),c.setHours(0,0,0,0);return l}},83894:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>i});var r=n(19013),o=n(13882);function i(e){(0,o.Z)(1,arguments);var t=(0,r.Z)(e);return t.setHours(23,59,59,999),t}},4135:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>i});var r=n(19013),o=n(13882);function i(e){(0,o.Z)(1,arguments);var t=(0,r.Z)(e),n=t.getMonth();return t.setFullYear(t.getFullYear(),n+1,0),t.setHours(23,59,59,999),t}},67090:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>s});var r=n(84314),o=n(19013),i=n(83946),a=n(13882);function s(e,t){var n,s,l,c,u,d,p,f;(0,a.Z)(1,arguments);var h=(0,r.j)(),m=(0,i.Z)(null!==(n=null!==(s=null!==(l=null!==(c=null==t?void 0:t.weekStartsOn)&&void 0!==c?c:null==t||null===(u=t.locale)||void 0===u||null===(d=u.options)||void 0===d?void 0:d.weekStartsOn)&&void 0!==l?l:h.weekStartsOn)&&void 0!==s?s:null===(p=h.locale)||void 0===p||null===(f=p.options)||void 0===f?void 0:f.weekStartsOn)&&void 0!==n?n:0);if(!(m>=0&&m<=6))throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");var v=(0,o.Z)(e),g=v.getDay(),y=6+(g<m?-7:0)-(g-m);return v.setDate(v.getDate()+y),v.setHours(23,59,59,999),v}},32449:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>b});var r=n(12274),o=n(91218),i=n(19013),a=n(49969),s=n(97621),l=n(24262),c=n(5267),u=n(83946),d=n(13882),p=n(84314),f=n(44941),h=/[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g,m=/P+p+|P+|p+|''|'(''|[^'])+('|$)|./g,v=/^'([^]*?)'?$/,g=/''/g,y=/[a-zA-Z]/;function b(e,t,n){var b,w,x,k,S,C,E,T,O,$,M,A,D,L,N,R,I,P;(0,d.Z)(2,arguments);var Z=String(t),_=(0,p.j)(),F=null!==(b=null!==(w=null==n?void 0:n.locale)&&void 0!==w?w:_.locale)&&void 0!==b?b:f.Z,j=(0,u.Z)(null!==(x=null!==(k=null!==(S=null!==(C=null==n?void 0:n.firstWeekContainsDate)&&void 0!==C?C:null==n||null===(E=n.locale)||void 0===E||null===(T=E.options)||void 0===T?void 0:T.firstWeekContainsDate)&&void 0!==S?S:_.firstWeekContainsDate)&&void 0!==k?k:null===(O=_.locale)||void 0===O||null===($=O.options)||void 0===$?void 0:$.firstWeekContainsDate)&&void 0!==x?x:1);if(!(j>=1&&j<=7))throw new RangeError("firstWeekContainsDate must be between 1 and 7 inclusively");var B=(0,u.Z)(null!==(M=null!==(A=null!==(D=null!==(L=null==n?void 0:n.weekStartsOn)&&void 0!==L?L:null==n||null===(N=n.locale)||void 0===N||null===(R=N.options)||void 0===R?void 0:R.weekStartsOn)&&void 0!==D?D:_.weekStartsOn)&&void 0!==A?A:null===(I=_.locale)||void 0===I||null===(P=I.options)||void 0===P?void 0:P.weekStartsOn)&&void 0!==M?M:0);if(!(B>=0&&B<=6))throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");if(!F.localize)throw new RangeError("locale must contain localize property");if(!F.formatLong)throw new RangeError("locale must contain formatLong property");var z=(0,i.Z)(e);if(!(0,r.default)(z))throw new RangeError("Invalid time value");var H=(0,l.Z)(z),U=(0,o.Z)(z,H),W={firstWeekContainsDate:j,weekStartsOn:B,locale:F,_originalDate:z};return Z.match(m).map((function(e){var t=e[0];return"p"===t||"P"===t?(0,s.Z[t])(e,F.formatLong):e})).join("").match(h).map((function(r){if("''"===r)return"'";var o=r[0];if("'"===o)return function(e){var t=e.match(v);if(!t)return e;return t[1].replace(g,"'")}(r);var i=a.Z[o];if(i)return null!=n&&n.useAdditionalWeekYearTokens||!(0,c.Do)(r)||(0,c.qp)(r,t,String(e)),null!=n&&n.useAdditionalDayOfYearTokens||!(0,c.Iu)(r)||(0,c.qp)(r,t,String(e)),i(U,r,F.localize,W);if(o.match(y))throw new RangeError("Format string contains an unescaped latin alphabet character `"+o+"`");return r})).join("")}},30890:(e,t,n)=>{"use strict";n.d(t,{Z:()=>i});var r=n(19013),o=n(13882);function i(e){(0,o.Z)(1,arguments);var t=(0,r.Z)(e),n=t.getFullYear(),i=t.getMonth(),a=new Date(0);return a.setFullYear(n,i+1,0),a.setHours(0,0,0,0),a.getDate()}},42699:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>i});var r=n(19013),o=n(13882);function i(e,t){(0,o.Z)(2,arguments);var n=(0,r.Z)(e),i=(0,r.Z)(t);return n.getTime()>i.getTime()}},313:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>i});var r=n(19013),o=n(13882);function i(e,t){(0,o.Z)(2,arguments);var n=(0,r.Z)(e),i=(0,r.Z)(t);return n.getTime()<i.getTime()}},71381:(e,t,n)=>{"use strict";n.d(t,{Z:()=>i});var r=n(71002),o=n(13882);function i(e){return(0,o.Z)(1,arguments),e instanceof Date||"object"===(0,r.Z)(e)&&"[object Date]"===Object.prototype.toString.call(e)}},96843:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>i});var r=n(19013),o=n(13882);function i(e,t){(0,o.Z)(2,arguments);var n=(0,r.Z)(e),i=(0,r.Z)(t);return n.getTime()===i.getTime()}},3151:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>i});var r=n(69119),o=n(13882);function i(e,t){(0,o.Z)(2,arguments);var n=(0,r.default)(e),i=(0,r.default)(t);return n.getTime()===i.getTime()}},49160:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>i});var r=n(19013),o=n(13882);function i(e,t){(0,o.Z)(2,arguments);var n=(0,r.Z)(e),i=(0,r.Z)(t);return n.getFullYear()===i.getFullYear()&&n.getMonth()===i.getMonth()}},12274:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>a});var r=n(71381),o=n(19013),i=n(13882);function a(e){if((0,i.Z)(1,arguments),!(0,r.Z)(e)&&"number"!=typeof e)return!1;var t=(0,o.Z)(e);return!isNaN(Number(t))}},49317:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>i});var r=n(19013),o=n(13882);function i(e){(0,o.Z)(1,arguments);var t=(0,r.Z)(e).getDay();return 0===t||6===t}},24257:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>i});var r=n(19013),o=n(13882);function i(e,t){(0,o.Z)(2,arguments);var n=(0,r.Z)(e).getTime(),i=(0,r.Z)(t.start).getTime(),a=(0,r.Z)(t.end).getTime();if(!(i<=a))throw new RangeError("Invalid interval");return n>=i&&n<=a}},49526:(e,t,n)=>{"use strict";function r(e){return function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=t.width?String(t.width):e.defaultWidth;return e.formats[n]||e.formats[e.defaultWidth]}}n.d(t,{Z:()=>r})},88486:(e,t,n)=>{"use strict";function r(e){return function(t,n){var r;if("formatting"===(null!=n&&n.context?String(n.context):"standalone")&&e.formattingValues){var o=e.defaultFormattingWidth||e.defaultWidth,i=null!=n&&n.width?String(n.width):o;r=e.formattingValues[i]||e.formattingValues[o]}else{var a=e.defaultWidth,s=null!=n&&n.width?String(n.width):e.defaultWidth;r=e.values[s]||e.values[a]}return r[e.argumentCallback?e.argumentCallback(t):t]}}n.d(t,{Z:()=>r})},76723:(e,t,n)=>{"use strict";function r(e){return function(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=n.width,o=r&&e.matchPatterns[r]||e.matchPatterns[e.defaultMatchWidth],i=t.match(o);if(!i)return null;var a,s=i[0],l=r&&e.parsePatterns[r]||e.parsePatterns[e.defaultParseWidth],c=Array.isArray(l)?function(e,t){for(var n=0;n<e.length;n++)if(t(e[n]))return n;return}(l,(function(e){return e.test(s)})):function(e,t){for(var n in e)if(e.hasOwnProperty(n)&&t(e[n]))return n;return}(l,(function(e){return e.test(s)}));return a=e.valueCallback?e.valueCallback(c):c,{value:a=n.valueCallback?n.valueCallback(a):a,rest:t.slice(s.length)}}}n.d(t,{Z:()=>r})},60974:(e,t,n)=>{"use strict";function r(e){return function(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=t.match(e.matchPattern);if(!r)return null;var o=r[0],i=t.match(e.parsePattern);if(!i)return null;var a=e.valueCallback?e.valueCallback(i[0]):i[0];return{value:a=n.valueCallback?n.valueCallback(a):a,rest:t.slice(o.length)}}}n.d(t,{Z:()=>r})},81991:(e,t,n)=>{"use strict";n.d(t,{Z:()=>o});var r={lessThanXSeconds:{one:"less than a second",other:"less than {{count}} seconds"},xSeconds:{one:"1 second",other:"{{count}} seconds"},halfAMinute:"half a minute",lessThanXMinutes:{one:"less than a minute",other:"less than {{count}} minutes"},xMinutes:{one:"1 minute",other:"{{count}} minutes"},aboutXHours:{one:"about 1 hour",other:"about {{count}} hours"},xHours:{one:"1 hour",other:"{{count}} hours"},xDays:{one:"1 day",other:"{{count}} days"},aboutXWeeks:{one:"about 1 week",other:"about {{count}} weeks"},xWeeks:{one:"1 week",other:"{{count}} weeks"},aboutXMonths:{one:"about 1 month",other:"about {{count}} months"},xMonths:{one:"1 month",other:"{{count}} months"},aboutXYears:{one:"about 1 year",other:"about {{count}} years"},xYears:{one:"1 year",other:"{{count}} years"},overXYears:{one:"over 1 year",other:"over {{count}} years"},almostXYears:{one:"almost 1 year",other:"almost {{count}} years"}};const o=function(e,t,n){var o,i=r[e];return o="string"==typeof i?i:1===t?i.one:i.other.replace("{{count}}",t.toString()),null!=n&&n.addSuffix?n.comparison&&n.comparison>0?"in "+o:o+" ago":o}},72763:(e,t,n)=>{"use strict";n.d(t,{Z:()=>o});var r=n(49526);const o={date:(0,r.Z)({formats:{full:"EEEE, MMMM do, y",long:"MMMM do, y",medium:"MMM d, y",short:"MM/dd/yyyy"},defaultWidth:"full"}),time:(0,r.Z)({formats:{full:"h:mm:ss a zzzz",long:"h:mm:ss a z",medium:"h:mm:ss a",short:"h:mm a"},defaultWidth:"full"}),dateTime:(0,r.Z)({formats:{full:"{{date}} 'at' {{time}}",long:"{{date}} 'at' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},defaultWidth:"full"})}},21865:(e,t,n)=>{"use strict";n.d(t,{Z:()=>o});var r={lastWeek:"'last' eeee 'at' p",yesterday:"'yesterday at' p",today:"'today at' p",tomorrow:"'tomorrow at' p",nextWeek:"eeee 'at' p",other:"P"};const o=function(e,t,n,o){return r[e]}},11950:(e,t,n)=>{"use strict";n.d(t,{Z:()=>o});var r=n(88486);const o={ordinalNumber:function(e,t){var n=Number(e),r=n%100;if(r>20||r<10)switch(r%10){case 1:return n+"st";case 2:return n+"nd";case 3:return n+"rd"}return n+"th"},era:(0,r.Z)({values:{narrow:["B","A"],abbreviated:["BC","AD"],wide:["Before Christ","Anno Domini"]},defaultWidth:"wide"}),quarter:(0,r.Z)({values:{narrow:["1","2","3","4"],abbreviated:["Q1","Q2","Q3","Q4"],wide:["1st quarter","2nd quarter","3rd quarter","4th quarter"]},defaultWidth:"wide",argumentCallback:function(e){return e-1}}),month:(0,r.Z)({values:{narrow:["J","F","M","A","M","J","J","A","S","O","N","D"],abbreviated:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],wide:["January","February","March","April","May","June","July","August","September","October","November","December"]},defaultWidth:"wide"}),day:(0,r.Z)({values:{narrow:["S","M","T","W","T","F","S"],short:["Su","Mo","Tu","We","Th","Fr","Sa"],abbreviated:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],wide:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"]},defaultWidth:"wide"}),dayPeriod:(0,r.Z)({values:{narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"}},defaultWidth:"wide",formattingValues:{narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"}},defaultFormattingWidth:"wide"})}},7219:(e,t,n)=>{"use strict";n.d(t,{Z:()=>o});var r=n(76723);const o={ordinalNumber:(0,n(60974).Z)({matchPattern:/^(\d+)(th|st|nd|rd)?/i,parsePattern:/\d+/i,valueCallback:function(e){return parseInt(e,10)}}),era:(0,r.Z)({matchPatterns:{narrow:/^(b|a)/i,abbreviated:/^(b\.?\s?c\.?|b\.?\s?c\.?\s?e\.?|a\.?\s?d\.?|c\.?\s?e\.?)/i,wide:/^(before christ|before common era|anno domini|common era)/i},defaultMatchWidth:"wide",parsePatterns:{any:[/^b/i,/^(a|c)/i]},defaultParseWidth:"any"}),quarter:(0,r.Z)({matchPatterns:{narrow:/^[1234]/i,abbreviated:/^q[1234]/i,wide:/^[1234](th|st|nd|rd)? quarter/i},defaultMatchWidth:"wide",parsePatterns:{any:[/1/i,/2/i,/3/i,/4/i]},defaultParseWidth:"any",valueCallback:function(e){return e+1}}),month:(0,r.Z)({matchPatterns:{narrow:/^[jfmasond]/i,abbreviated:/^(jan|feb|mar|apr|may|jun|jul|aug|sep|oct|nov|dec)/i,wide:/^(january|february|march|april|may|june|july|august|september|october|november|december)/i},defaultMatchWidth:"wide",parsePatterns:{narrow:[/^j/i,/^f/i,/^m/i,/^a/i,/^m/i,/^j/i,/^j/i,/^a/i,/^s/i,/^o/i,/^n/i,/^d/i],any:[/^ja/i,/^f/i,/^mar/i,/^ap/i,/^may/i,/^jun/i,/^jul/i,/^au/i,/^s/i,/^o/i,/^n/i,/^d/i]},defaultParseWidth:"any"}),day:(0,r.Z)({matchPatterns:{narrow:/^[smtwf]/i,short:/^(su|mo|tu|we|th|fr|sa)/i,abbreviated:/^(sun|mon|tue|wed|thu|fri|sat)/i,wide:/^(sunday|monday|tuesday|wednesday|thursday|friday|saturday)/i},defaultMatchWidth:"wide",parsePatterns:{narrow:[/^s/i,/^m/i,/^t/i,/^w/i,/^t/i,/^f/i,/^s/i],any:[/^su/i,/^m/i,/^tu/i,/^w/i,/^th/i,/^f/i,/^sa/i]},defaultParseWidth:"any"}),dayPeriod:(0,r.Z)({matchPatterns:{narrow:/^(a|p|mi|n|(in the|at) (morning|afternoon|evening|night))/i,any:/^([ap]\.?\s?m\.?|midnight|noon|(in the|at) (morning|afternoon|evening|night))/i},defaultMatchWidth:"any",parsePatterns:{any:{am:/^a/i,pm:/^p/i,midnight:/^mi/i,noon:/^no/i,morning:/morning/i,afternoon:/afternoon/i,evening:/evening/i,night:/night/i}},defaultParseWidth:"any"})}},8493:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>l});var r=n(81991),o=n(72763),i=n(21865),a=n(11950),s=n(7219);const l={code:"en-US",formatDistance:r.Z,formatLong:o.Z,formatRelative:i.Z,localize:a.Z,match:s.Z,options:{weekStartsOn:0,firstWeekContainsDate:1}}},99890:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>a});var r=n(71002),o=n(19013),i=n(13882);function a(e){var t,n;if((0,i.Z)(1,arguments),e&&"function"==typeof e.forEach)t=e;else{if("object"!==(0,r.Z)(e)||null===e)return new Date(NaN);t=Array.prototype.slice.call(e)}return t.forEach((function(e){var t=(0,o.Z)(e);(void 0===n||n<t||isNaN(Number(t)))&&(n=t)})),n||new Date(NaN)}},37950:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>a});var r=n(71002),o=n(19013),i=n(13882);function a(e){var t,n;if((0,i.Z)(1,arguments),e&&"function"==typeof e.forEach)t=e;else{if("object"!==(0,r.Z)(e)||null===e)return new Date(NaN);t=Array.prototype.slice.call(e)}return t.forEach((function(e){var t=(0,o.Z)(e);(void 0===n||n>t||isNaN(t.getDate()))&&(n=t)})),n||new Date(NaN)}},17074:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>rt});var r=n(71002);function o(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 i(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=function(e,t){if(e){if("string"==typeof e)return o(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)?o(e,t):void 0}}(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 a,s=!0,l=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return s=e.done,e},e:function(e){l=!0,a=e},f:function(){try{s||null==n.return||n.return()}finally{if(l)throw a}}}}var a=n(44941),s=n(91218),l=n(19013);function c(e,t){if(null==e)throw new TypeError("assign requires that input parameter not be null or undefined");for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n]);return e}var u=n(97621),d=n(24262),p=n(5267),f=n(83946),h=n(13882),m=n(97326),v=n(89611);function g(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&&(0,v.Z)(e,t)}var y=n(61120),b=n(78814);function w(e){var t=(0,b.Z)();return function(){var n,o=(0,y.Z)(e);if(t){var i=(0,y.Z)(this).constructor;n=Reflect.construct(o,arguments,i)}else n=o.apply(this,arguments);return function(e,t){if(t&&("object"===(0,r.Z)(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return(0,m.Z)(e)}(this,n)}}function x(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function k(e){var t=function(e,t){if("object"!==(0,r.Z)(e)||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var o=n.call(e,t||"default");if("object"!==(0,r.Z)(o))return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"===(0,r.Z)(t)?t:String(t)}function S(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,k(r.key),r)}}function C(e,t,n){return t&&S(e.prototype,t),n&&S(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e}function E(e,t,n){return(t=k(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var T=function(){function e(){x(this,e),E(this,"priority",void 0),E(this,"subPriority",0)}return C(e,[{key:"validate",value:function(e,t){return!0}}]),e}(),O=function(e){g(n,e);var t=w(n);function n(e,r,o,i,a){var s;return x(this,n),(s=t.call(this)).value=e,s.validateValue=r,s.setValue=o,s.priority=i,a&&(s.subPriority=a),s}return C(n,[{key:"validate",value:function(e,t){return this.validateValue(e,this.value,t)}},{key:"set",value:function(e,t,n){return this.setValue(e,t,this.value,n)}}]),n}(T),$=function(e){g(n,e);var t=w(n);function n(){var e;x(this,n);for(var r=arguments.length,o=new Array(r),i=0;i<r;i++)o[i]=arguments[i];return e=t.call.apply(t,[this].concat(o)),E((0,m.Z)(e),"priority",10),E((0,m.Z)(e),"subPriority",-1),e}return C(n,[{key:"set",value:function(e,t){if(t.timestampIsSet)return e;var n=new Date(0);return n.setFullYear(e.getUTCFullYear(),e.getUTCMonth(),e.getUTCDate()),n.setHours(e.getUTCHours(),e.getUTCMinutes(),e.getUTCSeconds(),e.getUTCMilliseconds()),n}}]),n}(T),M=function(){function e(){x(this,e),E(this,"incompatibleTokens",void 0),E(this,"priority",void 0),E(this,"subPriority",void 0)}return C(e,[{key:"run",value:function(e,t,n,r){var o=this.parse(e,t,n,r);return o?{setter:new O(o.value,this.validate,this.set,this.priority,this.subPriority),rest:o.rest}:null}},{key:"validate",value:function(e,t,n){return!0}}]),e}(),A=function(e){g(n,e);var t=w(n);function n(){var e;x(this,n);for(var r=arguments.length,o=new Array(r),i=0;i<r;i++)o[i]=arguments[i];return e=t.call.apply(t,[this].concat(o)),E((0,m.Z)(e),"priority",140),E((0,m.Z)(e),"incompatibleTokens",["R","u","t","T"]),e}return C(n,[{key:"parse",value:function(e,t,n){switch(t){case"G":case"GG":case"GGG":return n.era(e,{width:"abbreviated"})||n.era(e,{width:"narrow"});case"GGGGG":return n.era(e,{width:"narrow"});default:return n.era(e,{width:"wide"})||n.era(e,{width:"abbreviated"})||n.era(e,{width:"narrow"})}}},{key:"set",value:function(e,t,n){return t.era=n,e.setUTCFullYear(n,0,1),e.setUTCHours(0,0,0,0),e}}]),n}(M),D=n(36948),L=/^(1[0-2]|0?\d)/,N=/^(3[0-1]|[0-2]?\d)/,R=/^(36[0-6]|3[0-5]\d|[0-2]?\d?\d)/,I=/^(5[0-3]|[0-4]?\d)/,P=/^(2[0-3]|[0-1]?\d)/,Z=/^(2[0-4]|[0-1]?\d)/,_=/^(1[0-1]|0?\d)/,F=/^(1[0-2]|0?\d)/,j=/^[0-5]?\d/,B=/^[0-5]?\d/,z=/^\d/,H=/^\d{1,2}/,U=/^\d{1,3}/,W=/^\d{1,4}/,V=/^-?\d+/,q=/^-?\d/,G=/^-?\d{1,2}/,K=/^-?\d{1,3}/,Y=/^-?\d{1,4}/,X=/^([+-])(\d{2})(\d{2})?|Z/,J=/^([+-])(\d{2})(\d{2})|Z/,Q=/^([+-])(\d{2})(\d{2})((\d{2}))?|Z/,ee=/^([+-])(\d{2}):(\d{2})|Z/,te=/^([+-])(\d{2}):(\d{2})(:(\d{2}))?|Z/;function ne(e,t){return e?{value:t(e.value),rest:e.rest}:e}function re(e,t){var n=t.match(e);return n?{value:parseInt(n[0],10),rest:t.slice(n[0].length)}:null}function oe(e,t){var n=t.match(e);if(!n)return null;if("Z"===n[0])return{value:0,rest:t.slice(1)};var r="+"===n[1]?1:-1,o=n[2]?parseInt(n[2],10):0,i=n[3]?parseInt(n[3],10):0,a=n[5]?parseInt(n[5],10):0;return{value:r*(o*D.vh+i*D.yJ+a*D.qk),rest:t.slice(n[0].length)}}function ie(e){return re(V,e)}function ae(e,t){switch(e){case 1:return re(z,t);case 2:return re(H,t);case 3:return re(U,t);case 4:return re(W,t);default:return re(new RegExp("^\\d{1,"+e+"}"),t)}}function se(e,t){switch(e){case 1:return re(q,t);case 2:return re(G,t);case 3:return re(K,t);case 4:return re(Y,t);default:return re(new RegExp("^-?\\d{1,"+e+"}"),t)}}function le(e){switch(e){case"morning":return 4;case"evening":return 17;case"pm":case"noon":case"afternoon":return 12;default:return 0}}function ce(e,t){var n,r=t>0,o=r?t:1-t;if(o<=50)n=e||100;else{var i=o+50;n=e+100*Math.floor(i/100)-(e>=i%100?100:0)}return r?n:1-n}function ue(e){return e%400==0||e%4==0&&e%100!=0}var de=function(e){g(n,e);var t=w(n);function n(){var e;x(this,n);for(var r=arguments.length,o=new Array(r),i=0;i<r;i++)o[i]=arguments[i];return e=t.call.apply(t,[this].concat(o)),E((0,m.Z)(e),"priority",130),E((0,m.Z)(e),"incompatibleTokens",["Y","R","u","w","I","i","e","c","t","T"]),e}return C(n,[{key:"parse",value:function(e,t,n){var r=function(e){return{year:e,isTwoDigitYear:"yy"===t}};switch(t){case"y":return ne(ae(4,e),r);case"yo":return ne(n.ordinalNumber(e,{unit:"year"}),r);default:return ne(ae(t.length,e),r)}}},{key:"validate",value:function(e,t){return t.isTwoDigitYear||t.year>0}},{key:"set",value:function(e,t,n){var r=e.getUTCFullYear();if(n.isTwoDigitYear){var o=ce(n.year,r);return e.setUTCFullYear(o,0,1),e.setUTCHours(0,0,0,0),e}var i="era"in t&&1!==t.era?1-n.year:n.year;return e.setUTCFullYear(i,0,1),e.setUTCHours(0,0,0,0),e}}]),n}(M),pe=n(7651),fe=n(59025),he=function(e){g(n,e);var t=w(n);function n(){var e;x(this,n);for(var r=arguments.length,o=new Array(r),i=0;i<r;i++)o[i]=arguments[i];return e=t.call.apply(t,[this].concat(o)),E((0,m.Z)(e),"priority",130),E((0,m.Z)(e),"incompatibleTokens",["y","R","u","Q","q","M","L","I","d","D","i","t","T"]),e}return C(n,[{key:"parse",value:function(e,t,n){var r=function(e){return{year:e,isTwoDigitYear:"YY"===t}};switch(t){case"Y":return ne(ae(4,e),r);case"Yo":return ne(n.ordinalNumber(e,{unit:"year"}),r);default:return ne(ae(t.length,e),r)}}},{key:"validate",value:function(e,t){return t.isTwoDigitYear||t.year>0}},{key:"set",value:function(e,t,n,r){var o=(0,pe.Z)(e,r);if(n.isTwoDigitYear){var i=ce(n.year,o);return e.setUTCFullYear(i,0,r.firstWeekContainsDate),e.setUTCHours(0,0,0,0),(0,fe.Z)(e,r)}var a="era"in t&&1!==t.era?1-n.year:n.year;return e.setUTCFullYear(a,0,r.firstWeekContainsDate),e.setUTCHours(0,0,0,0),(0,fe.Z)(e,r)}}]),n}(M),me=n(66979),ve=function(e){g(n,e);var t=w(n);function n(){var e;x(this,n);for(var r=arguments.length,o=new Array(r),i=0;i<r;i++)o[i]=arguments[i];return e=t.call.apply(t,[this].concat(o)),E((0,m.Z)(e),"priority",130),E((0,m.Z)(e),"incompatibleTokens",["G","y","Y","u","Q","q","M","L","w","d","D","e","c","t","T"]),e}return C(n,[{key:"parse",value:function(e,t){return se("R"===t?4:t.length,e)}},{key:"set",value:function(e,t,n){var r=new Date(0);return r.setUTCFullYear(n,0,4),r.setUTCHours(0,0,0,0),(0,me.Z)(r)}}]),n}(M),ge=function(e){g(n,e);var t=w(n);function n(){var e;x(this,n);for(var r=arguments.length,o=new Array(r),i=0;i<r;i++)o[i]=arguments[i];return e=t.call.apply(t,[this].concat(o)),E((0,m.Z)(e),"priority",130),E((0,m.Z)(e),"incompatibleTokens",["G","y","Y","R","w","I","i","e","c","t","T"]),e}return C(n,[{key:"parse",value:function(e,t){return se("u"===t?4:t.length,e)}},{key:"set",value:function(e,t,n){return e.setUTCFullYear(n,0,1),e.setUTCHours(0,0,0,0),e}}]),n}(M),ye=function(e){g(n,e);var t=w(n);function n(){var e;x(this,n);for(var r=arguments.length,o=new Array(r),i=0;i<r;i++)o[i]=arguments[i];return e=t.call.apply(t,[this].concat(o)),E((0,m.Z)(e),"priority",120),E((0,m.Z)(e),"incompatibleTokens",["Y","R","q","M","L","w","I","d","D","i","e","c","t","T"]),e}return C(n,[{key:"parse",value:function(e,t,n){switch(t){case"Q":case"QQ":return ae(t.length,e);case"Qo":return n.ordinalNumber(e,{unit:"quarter"});case"QQQ":return n.quarter(e,{width:"abbreviated",context:"formatting"})||n.quarter(e,{width:"narrow",context:"formatting"});case"QQQQQ":return n.quarter(e,{width:"narrow",context:"formatting"});default:return n.quarter(e,{width:"wide",context:"formatting"})||n.quarter(e,{width:"abbreviated",context:"formatting"})||n.quarter(e,{width:"narrow",context:"formatting"})}}},{key:"validate",value:function(e,t){return t>=1&&t<=4}},{key:"set",value:function(e,t,n){return e.setUTCMonth(3*(n-1),1),e.setUTCHours(0,0,0,0),e}}]),n}(M),be=function(e){g(n,e);var t=w(n);function n(){var e;x(this,n);for(var r=arguments.length,o=new Array(r),i=0;i<r;i++)o[i]=arguments[i];return e=t.call.apply(t,[this].concat(o)),E((0,m.Z)(e),"priority",120),E((0,m.Z)(e),"incompatibleTokens",["Y","R","Q","M","L","w","I","d","D","i","e","c","t","T"]),e}return C(n,[{key:"parse",value:function(e,t,n){switch(t){case"q":case"qq":return ae(t.length,e);case"qo":return n.ordinalNumber(e,{unit:"quarter"});case"qqq":return n.quarter(e,{width:"abbreviated",context:"standalone"})||n.quarter(e,{width:"narrow",context:"standalone"});case"qqqqq":return n.quarter(e,{width:"narrow",context:"standalone"});default:return n.quarter(e,{width:"wide",context:"standalone"})||n.quarter(e,{width:"abbreviated",context:"standalone"})||n.quarter(e,{width:"narrow",context:"standalone"})}}},{key:"validate",value:function(e,t){return t>=1&&t<=4}},{key:"set",value:function(e,t,n){return e.setUTCMonth(3*(n-1),1),e.setUTCHours(0,0,0,0),e}}]),n}(M),we=function(e){g(n,e);var t=w(n);function n(){var e;x(this,n);for(var r=arguments.length,o=new Array(r),i=0;i<r;i++)o[i]=arguments[i];return e=t.call.apply(t,[this].concat(o)),E((0,m.Z)(e),"incompatibleTokens",["Y","R","q","Q","L","w","I","D","i","e","c","t","T"]),E((0,m.Z)(e),"priority",110),e}return C(n,[{key:"parse",value:function(e,t,n){var r=function(e){return e-1};switch(t){case"M":return ne(re(L,e),r);case"MM":return ne(ae(2,e),r);case"Mo":return ne(n.ordinalNumber(e,{unit:"month"}),r);case"MMM":return n.month(e,{width:"abbreviated",context:"formatting"})||n.month(e,{width:"narrow",context:"formatting"});case"MMMMM":return n.month(e,{width:"narrow",context:"formatting"});default:return n.month(e,{width:"wide",context:"formatting"})||n.month(e,{width:"abbreviated",context:"formatting"})||n.month(e,{width:"narrow",context:"formatting"})}}},{key:"validate",value:function(e,t){return t>=0&&t<=11}},{key:"set",value:function(e,t,n){return e.setUTCMonth(n,1),e.setUTCHours(0,0,0,0),e}}]),n}(M),xe=function(e){g(n,e);var t=w(n);function n(){var e;x(this,n);for(var r=arguments.length,o=new Array(r),i=0;i<r;i++)o[i]=arguments[i];return e=t.call.apply(t,[this].concat(o)),E((0,m.Z)(e),"priority",110),E((0,m.Z)(e),"incompatibleTokens",["Y","R","q","Q","M","w","I","D","i","e","c","t","T"]),e}return C(n,[{key:"parse",value:function(e,t,n){var r=function(e){return e-1};switch(t){case"L":return ne(re(L,e),r);case"LL":return ne(ae(2,e),r);case"Lo":return ne(n.ordinalNumber(e,{unit:"month"}),r);case"LLL":return n.month(e,{width:"abbreviated",context:"standalone"})||n.month(e,{width:"narrow",context:"standalone"});case"LLLLL":return n.month(e,{width:"narrow",context:"standalone"});default:return n.month(e,{width:"wide",context:"standalone"})||n.month(e,{width:"abbreviated",context:"standalone"})||n.month(e,{width:"narrow",context:"standalone"})}}},{key:"validate",value:function(e,t){return t>=0&&t<=11}},{key:"set",value:function(e,t,n){return e.setUTCMonth(n,1),e.setUTCHours(0,0,0,0),e}}]),n}(M),ke=n(80376);var Se=function(e){g(n,e);var t=w(n);function n(){var e;x(this,n);for(var r=arguments.length,o=new Array(r),i=0;i<r;i++)o[i]=arguments[i];return e=t.call.apply(t,[this].concat(o)),E((0,m.Z)(e),"priority",100),E((0,m.Z)(e),"incompatibleTokens",["y","R","u","q","Q","M","L","I","d","D","i","t","T"]),e}return C(n,[{key:"parse",value:function(e,t,n){switch(t){case"w":return re(I,e);case"wo":return n.ordinalNumber(e,{unit:"week"});default:return ae(t.length,e)}}},{key:"validate",value:function(e,t){return t>=1&&t<=53}},{key:"set",value:function(e,t,n,r){return(0,fe.Z)(function(e,t,n){(0,h.Z)(2,arguments);var r=(0,l.Z)(e),o=(0,f.Z)(t),i=(0,ke.Z)(r,n)-o;return r.setUTCDate(r.getUTCDate()-7*i),r}(e,n,r),r)}}]),n}(M),Ce=n(64328);var Ee=function(e){g(n,e);var t=w(n);function n(){var e;x(this,n);for(var r=arguments.length,o=new Array(r),i=0;i<r;i++)o[i]=arguments[i];return e=t.call.apply(t,[this].concat(o)),E((0,m.Z)(e),"priority",100),E((0,m.Z)(e),"incompatibleTokens",["y","Y","u","q","Q","M","L","w","d","D","e","c","t","T"]),e}return C(n,[{key:"parse",value:function(e,t,n){switch(t){case"I":return re(I,e);case"Io":return n.ordinalNumber(e,{unit:"week"});default:return ae(t.length,e)}}},{key:"validate",value:function(e,t){return t>=1&&t<=53}},{key:"set",value:function(e,t,n){return(0,me.Z)(function(e,t){(0,h.Z)(2,arguments);var n=(0,l.Z)(e),r=(0,f.Z)(t),o=(0,Ce.Z)(n)-r;return n.setUTCDate(n.getUTCDate()-7*o),n}(e,n))}}]),n}(M),Te=[31,28,31,30,31,30,31,31,30,31,30,31],Oe=[31,29,31,30,31,30,31,31,30,31,30,31],$e=function(e){g(n,e);var t=w(n);function n(){var e;x(this,n);for(var r=arguments.length,o=new Array(r),i=0;i<r;i++)o[i]=arguments[i];return e=t.call.apply(t,[this].concat(o)),E((0,m.Z)(e),"priority",90),E((0,m.Z)(e),"subPriority",1),E((0,m.Z)(e),"incompatibleTokens",["Y","R","q","Q","w","I","D","i","e","c","t","T"]),e}return C(n,[{key:"parse",value:function(e,t,n){switch(t){case"d":return re(N,e);case"do":return n.ordinalNumber(e,{unit:"date"});default:return ae(t.length,e)}}},{key:"validate",value:function(e,t){var n=ue(e.getUTCFullYear()),r=e.getUTCMonth();return n?t>=1&&t<=Oe[r]:t>=1&&t<=Te[r]}},{key:"set",value:function(e,t,n){return e.setUTCDate(n),e.setUTCHours(0,0,0,0),e}}]),n}(M),Me=function(e){g(n,e);var t=w(n);function n(){var e;x(this,n);for(var r=arguments.length,o=new Array(r),i=0;i<r;i++)o[i]=arguments[i];return e=t.call.apply(t,[this].concat(o)),E((0,m.Z)(e),"priority",90),E((0,m.Z)(e),"subpriority",1),E((0,m.Z)(e),"incompatibleTokens",["Y","R","q","Q","M","L","w","I","d","E","i","e","c","t","T"]),e}return C(n,[{key:"parse",value:function(e,t,n){switch(t){case"D":case"DD":return re(R,e);case"Do":return n.ordinalNumber(e,{unit:"date"});default:return ae(t.length,e)}}},{key:"validate",value:function(e,t){return ue(e.getUTCFullYear())?t>=1&&t<=366:t>=1&&t<=365}},{key:"set",value:function(e,t,n){return e.setUTCMonth(0,n),e.setUTCHours(0,0,0,0),e}}]),n}(M),Ae=n(84314);function De(e,t,n){var r,o,i,a,s,c,u,d;(0,h.Z)(2,arguments);var p=(0,Ae.j)(),m=(0,f.Z)(null!==(r=null!==(o=null!==(i=null!==(a=null==n?void 0:n.weekStartsOn)&&void 0!==a?a:null==n||null===(s=n.locale)||void 0===s||null===(c=s.options)||void 0===c?void 0:c.weekStartsOn)&&void 0!==i?i:p.weekStartsOn)&&void 0!==o?o:null===(u=p.locale)||void 0===u||null===(d=u.options)||void 0===d?void 0:d.weekStartsOn)&&void 0!==r?r:0);if(!(m>=0&&m<=6))throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");var v=(0,l.Z)(e),g=(0,f.Z)(t),y=((g%7+7)%7<m?7:0)+g-v.getUTCDay();return v.setUTCDate(v.getUTCDate()+y),v}var Le=function(e){g(n,e);var t=w(n);function n(){var e;x(this,n);for(var r=arguments.length,o=new Array(r),i=0;i<r;i++)o[i]=arguments[i];return e=t.call.apply(t,[this].concat(o)),E((0,m.Z)(e),"priority",90),E((0,m.Z)(e),"incompatibleTokens",["D","i","e","c","t","T"]),e}return C(n,[{key:"parse",value:function(e,t,n){switch(t){case"E":case"EE":case"EEE":return n.day(e,{width:"abbreviated",context:"formatting"})||n.day(e,{width:"short",context:"formatting"})||n.day(e,{width:"narrow",context:"formatting"});case"EEEEE":return n.day(e,{width:"narrow",context:"formatting"});case"EEEEEE":return n.day(e,{width:"short",context:"formatting"})||n.day(e,{width:"narrow",context:"formatting"});default:return n.day(e,{width:"wide",context:"formatting"})||n.day(e,{width:"abbreviated",context:"formatting"})||n.day(e,{width:"short",context:"formatting"})||n.day(e,{width:"narrow",context:"formatting"})}}},{key:"validate",value:function(e,t){return t>=0&&t<=6}},{key:"set",value:function(e,t,n,r){return(e=De(e,n,r)).setUTCHours(0,0,0,0),e}}]),n}(M),Ne=function(e){g(n,e);var t=w(n);function n(){var e;x(this,n);for(var r=arguments.length,o=new Array(r),i=0;i<r;i++)o[i]=arguments[i];return e=t.call.apply(t,[this].concat(o)),E((0,m.Z)(e),"priority",90),E((0,m.Z)(e),"incompatibleTokens",["y","R","u","q","Q","M","L","I","d","D","E","i","c","t","T"]),e}return C(n,[{key:"parse",value:function(e,t,n,r){var o=function(e){var t=7*Math.floor((e-1)/7);return(e+r.weekStartsOn+6)%7+t};switch(t){case"e":case"ee":return ne(ae(t.length,e),o);case"eo":return ne(n.ordinalNumber(e,{unit:"day"}),o);case"eee":return n.day(e,{width:"abbreviated",context:"formatting"})||n.day(e,{width:"short",context:"formatting"})||n.day(e,{width:"narrow",context:"formatting"});case"eeeee":return n.day(e,{width:"narrow",context:"formatting"});case"eeeeee":return n.day(e,{width:"short",context:"formatting"})||n.day(e,{width:"narrow",context:"formatting"});default:return n.day(e,{width:"wide",context:"formatting"})||n.day(e,{width:"abbreviated",context:"formatting"})||n.day(e,{width:"short",context:"formatting"})||n.day(e,{width:"narrow",context:"formatting"})}}},{key:"validate",value:function(e,t){return t>=0&&t<=6}},{key:"set",value:function(e,t,n,r){return(e=De(e,n,r)).setUTCHours(0,0,0,0),e}}]),n}(M),Re=function(e){g(n,e);var t=w(n);function n(){var e;x(this,n);for(var r=arguments.length,o=new Array(r),i=0;i<r;i++)o[i]=arguments[i];return e=t.call.apply(t,[this].concat(o)),E((0,m.Z)(e),"priority",90),E((0,m.Z)(e),"incompatibleTokens",["y","R","u","q","Q","M","L","I","d","D","E","i","e","t","T"]),e}return C(n,[{key:"parse",value:function(e,t,n,r){var o=function(e){var t=7*Math.floor((e-1)/7);return(e+r.weekStartsOn+6)%7+t};switch(t){case"c":case"cc":return ne(ae(t.length,e),o);case"co":return ne(n.ordinalNumber(e,{unit:"day"}),o);case"ccc":return n.day(e,{width:"abbreviated",context:"standalone"})||n.day(e,{width:"short",context:"standalone"})||n.day(e,{width:"narrow",context:"standalone"});case"ccccc":return n.day(e,{width:"narrow",context:"standalone"});case"cccccc":return n.day(e,{width:"short",context:"standalone"})||n.day(e,{width:"narrow",context:"standalone"});default:return n.day(e,{width:"wide",context:"standalone"})||n.day(e,{width:"abbreviated",context:"standalone"})||n.day(e,{width:"short",context:"standalone"})||n.day(e,{width:"narrow",context:"standalone"})}}},{key:"validate",value:function(e,t){return t>=0&&t<=6}},{key:"set",value:function(e,t,n,r){return(e=De(e,n,r)).setUTCHours(0,0,0,0),e}}]),n}(M);var Ie=function(e){g(n,e);var t=w(n);function n(){var e;x(this,n);for(var r=arguments.length,o=new Array(r),i=0;i<r;i++)o[i]=arguments[i];return e=t.call.apply(t,[this].concat(o)),E((0,m.Z)(e),"priority",90),E((0,m.Z)(e),"incompatibleTokens",["y","Y","u","q","Q","M","L","w","d","D","E","e","c","t","T"]),e}return C(n,[{key:"parse",value:function(e,t,n){var r=function(e){return 0===e?7:e};switch(t){case"i":case"ii":return ae(t.length,e);case"io":return n.ordinalNumber(e,{unit:"day"});case"iii":return ne(n.day(e,{width:"abbreviated",context:"formatting"})||n.day(e,{width:"short",context:"formatting"})||n.day(e,{width:"narrow",context:"formatting"}),r);case"iiiii":return ne(n.day(e,{width:"narrow",context:"formatting"}),r);case"iiiiii":return ne(n.day(e,{width:"short",context:"formatting"})||n.day(e,{width:"narrow",context:"formatting"}),r);default:return ne(n.day(e,{width:"wide",context:"formatting"})||n.day(e,{width:"abbreviated",context:"formatting"})||n.day(e,{width:"short",context:"formatting"})||n.day(e,{width:"narrow",context:"formatting"}),r)}}},{key:"validate",value:function(e,t){return t>=1&&t<=7}},{key:"set",value:function(e,t,n){return e=function(e,t){(0,h.Z)(2,arguments);var n=(0,f.Z)(t);n%7==0&&(n-=7);var r=(0,l.Z)(e),o=((n%7+7)%7<1?7:0)+n-r.getUTCDay();return r.setUTCDate(r.getUTCDate()+o),r}(e,n),e.setUTCHours(0,0,0,0),e}}]),n}(M),Pe=function(e){g(n,e);var t=w(n);function n(){var e;x(this,n);for(var r=arguments.length,o=new Array(r),i=0;i<r;i++)o[i]=arguments[i];return e=t.call.apply(t,[this].concat(o)),E((0,m.Z)(e),"priority",80),E((0,m.Z)(e),"incompatibleTokens",["b","B","H","k","t","T"]),e}return C(n,[{key:"parse",value:function(e,t,n){switch(t){case"a":case"aa":case"aaa":return n.dayPeriod(e,{width:"abbreviated",context:"formatting"})||n.dayPeriod(e,{width:"narrow",context:"formatting"});case"aaaaa":return n.dayPeriod(e,{width:"narrow",context:"formatting"});default:return n.dayPeriod(e,{width:"wide",context:"formatting"})||n.dayPeriod(e,{width:"abbreviated",context:"formatting"})||n.dayPeriod(e,{width:"narrow",context:"formatting"})}}},{key:"set",value:function(e,t,n){return e.setUTCHours(le(n),0,0,0),e}}]),n}(M),Ze=function(e){g(n,e);var t=w(n);function n(){var e;x(this,n);for(var r=arguments.length,o=new Array(r),i=0;i<r;i++)o[i]=arguments[i];return e=t.call.apply(t,[this].concat(o)),E((0,m.Z)(e),"priority",80),E((0,m.Z)(e),"incompatibleTokens",["a","B","H","k","t","T"]),e}return C(n,[{key:"parse",value:function(e,t,n){switch(t){case"b":case"bb":case"bbb":return n.dayPeriod(e,{width:"abbreviated",context:"formatting"})||n.dayPeriod(e,{width:"narrow",context:"formatting"});case"bbbbb":return n.dayPeriod(e,{width:"narrow",context:"formatting"});default:return n.dayPeriod(e,{width:"wide",context:"formatting"})||n.dayPeriod(e,{width:"abbreviated",context:"formatting"})||n.dayPeriod(e,{width:"narrow",context:"formatting"})}}},{key:"set",value:function(e,t,n){return e.setUTCHours(le(n),0,0,0),e}}]),n}(M),_e=function(e){g(n,e);var t=w(n);function n(){var e;x(this,n);for(var r=arguments.length,o=new Array(r),i=0;i<r;i++)o[i]=arguments[i];return e=t.call.apply(t,[this].concat(o)),E((0,m.Z)(e),"priority",80),E((0,m.Z)(e),"incompatibleTokens",["a","b","t","T"]),e}return C(n,[{key:"parse",value:function(e,t,n){switch(t){case"B":case"BB":case"BBB":return n.dayPeriod(e,{width:"abbreviated",context:"formatting"})||n.dayPeriod(e,{width:"narrow",context:"formatting"});case"BBBBB":return n.dayPeriod(e,{width:"narrow",context:"formatting"});default:return n.dayPeriod(e,{width:"wide",context:"formatting"})||n.dayPeriod(e,{width:"abbreviated",context:"formatting"})||n.dayPeriod(e,{width:"narrow",context:"formatting"})}}},{key:"set",value:function(e,t,n){return e.setUTCHours(le(n),0,0,0),e}}]),n}(M),Fe=function(e){g(n,e);var t=w(n);function n(){var e;x(this,n);for(var r=arguments.length,o=new Array(r),i=0;i<r;i++)o[i]=arguments[i];return e=t.call.apply(t,[this].concat(o)),E((0,m.Z)(e),"priority",70),E((0,m.Z)(e),"incompatibleTokens",["H","K","k","t","T"]),e}return C(n,[{key:"parse",value:function(e,t,n){switch(t){case"h":return re(F,e);case"ho":return n.ordinalNumber(e,{unit:"hour"});default:return ae(t.length,e)}}},{key:"validate",value:function(e,t){return t>=1&&t<=12}},{key:"set",value:function(e,t,n){var r=e.getUTCHours()>=12;return r&&n<12?e.setUTCHours(n+12,0,0,0):r||12!==n?e.setUTCHours(n,0,0,0):e.setUTCHours(0,0,0,0),e}}]),n}(M),je=function(e){g(n,e);var t=w(n);function n(){var e;x(this,n);for(var r=arguments.length,o=new Array(r),i=0;i<r;i++)o[i]=arguments[i];return e=t.call.apply(t,[this].concat(o)),E((0,m.Z)(e),"priority",70),E((0,m.Z)(e),"incompatibleTokens",["a","b","h","K","k","t","T"]),e}return C(n,[{key:"parse",value:function(e,t,n){switch(t){case"H":return re(P,e);case"Ho":return n.ordinalNumber(e,{unit:"hour"});default:return ae(t.length,e)}}},{key:"validate",value:function(e,t){return t>=0&&t<=23}},{key:"set",value:function(e,t,n){return e.setUTCHours(n,0,0,0),e}}]),n}(M),Be=function(e){g(n,e);var t=w(n);function n(){var e;x(this,n);for(var r=arguments.length,o=new Array(r),i=0;i<r;i++)o[i]=arguments[i];return e=t.call.apply(t,[this].concat(o)),E((0,m.Z)(e),"priority",70),E((0,m.Z)(e),"incompatibleTokens",["h","H","k","t","T"]),e}return C(n,[{key:"parse",value:function(e,t,n){switch(t){case"K":return re(_,e);case"Ko":return n.ordinalNumber(e,{unit:"hour"});default:return ae(t.length,e)}}},{key:"validate",value:function(e,t){return t>=0&&t<=11}},{key:"set",value:function(e,t,n){return e.getUTCHours()>=12&&n<12?e.setUTCHours(n+12,0,0,0):e.setUTCHours(n,0,0,0),e}}]),n}(M),ze=function(e){g(n,e);var t=w(n);function n(){var e;x(this,n);for(var r=arguments.length,o=new Array(r),i=0;i<r;i++)o[i]=arguments[i];return e=t.call.apply(t,[this].concat(o)),E((0,m.Z)(e),"priority",70),E((0,m.Z)(e),"incompatibleTokens",["a","b","h","H","K","t","T"]),e}return C(n,[{key:"parse",value:function(e,t,n){switch(t){case"k":return re(Z,e);case"ko":return n.ordinalNumber(e,{unit:"hour"});default:return ae(t.length,e)}}},{key:"validate",value:function(e,t){return t>=1&&t<=24}},{key:"set",value:function(e,t,n){var r=n<=24?n%24:n;return e.setUTCHours(r,0,0,0),e}}]),n}(M),He=function(e){g(n,e);var t=w(n);function n(){var e;x(this,n);for(var r=arguments.length,o=new Array(r),i=0;i<r;i++)o[i]=arguments[i];return e=t.call.apply(t,[this].concat(o)),E((0,m.Z)(e),"priority",60),E((0,m.Z)(e),"incompatibleTokens",["t","T"]),e}return C(n,[{key:"parse",value:function(e,t,n){switch(t){case"m":return re(j,e);case"mo":return n.ordinalNumber(e,{unit:"minute"});default:return ae(t.length,e)}}},{key:"validate",value:function(e,t){return t>=0&&t<=59}},{key:"set",value:function(e,t,n){return e.setUTCMinutes(n,0,0),e}}]),n}(M),Ue=function(e){g(n,e);var t=w(n);function n(){var e;x(this,n);for(var r=arguments.length,o=new Array(r),i=0;i<r;i++)o[i]=arguments[i];return e=t.call.apply(t,[this].concat(o)),E((0,m.Z)(e),"priority",50),E((0,m.Z)(e),"incompatibleTokens",["t","T"]),e}return C(n,[{key:"parse",value:function(e,t,n){switch(t){case"s":return re(B,e);case"so":return n.ordinalNumber(e,{unit:"second"});default:return ae(t.length,e)}}},{key:"validate",value:function(e,t){return t>=0&&t<=59}},{key:"set",value:function(e,t,n){return e.setUTCSeconds(n,0),e}}]),n}(M),We=function(e){g(n,e);var t=w(n);function n(){var e;x(this,n);for(var r=arguments.length,o=new Array(r),i=0;i<r;i++)o[i]=arguments[i];return e=t.call.apply(t,[this].concat(o)),E((0,m.Z)(e),"priority",30),E((0,m.Z)(e),"incompatibleTokens",["t","T"]),e}return C(n,[{key:"parse",value:function(e,t){return ne(ae(t.length,e),(function(e){return Math.floor(e*Math.pow(10,3-t.length))}))}},{key:"set",value:function(e,t,n){return e.setUTCMilliseconds(n),e}}]),n}(M),Ve=function(e){g(n,e);var t=w(n);function n(){var e;x(this,n);for(var r=arguments.length,o=new Array(r),i=0;i<r;i++)o[i]=arguments[i];return e=t.call.apply(t,[this].concat(o)),E((0,m.Z)(e),"priority",10),E((0,m.Z)(e),"incompatibleTokens",["t","T","x"]),e}return C(n,[{key:"parse",value:function(e,t){switch(t){case"X":return oe(X,e);case"XX":return oe(J,e);case"XXXX":return oe(Q,e);case"XXXXX":return oe(te,e);default:return oe(ee,e)}}},{key:"set",value:function(e,t,n){return t.timestampIsSet?e:new Date(e.getTime()-n)}}]),n}(M),qe=function(e){g(n,e);var t=w(n);function n(){var e;x(this,n);for(var r=arguments.length,o=new Array(r),i=0;i<r;i++)o[i]=arguments[i];return e=t.call.apply(t,[this].concat(o)),E((0,m.Z)(e),"priority",10),E((0,m.Z)(e),"incompatibleTokens",["t","T","X"]),e}return C(n,[{key:"parse",value:function(e,t){switch(t){case"x":return oe(X,e);case"xx":return oe(J,e);case"xxxx":return oe(Q,e);case"xxxxx":return oe(te,e);default:return oe(ee,e)}}},{key:"set",value:function(e,t,n){return t.timestampIsSet?e:new Date(e.getTime()-n)}}]),n}(M),Ge=function(e){g(n,e);var t=w(n);function n(){var e;x(this,n);for(var r=arguments.length,o=new Array(r),i=0;i<r;i++)o[i]=arguments[i];return e=t.call.apply(t,[this].concat(o)),E((0,m.Z)(e),"priority",40),E((0,m.Z)(e),"incompatibleTokens","*"),e}return C(n,[{key:"parse",value:function(e){return ie(e)}},{key:"set",value:function(e,t,n){return[new Date(1e3*n),{timestampIsSet:!0}]}}]),n}(M),Ke=function(e){g(n,e);var t=w(n);function n(){var e;x(this,n);for(var r=arguments.length,o=new Array(r),i=0;i<r;i++)o[i]=arguments[i];return e=t.call.apply(t,[this].concat(o)),E((0,m.Z)(e),"priority",20),E((0,m.Z)(e),"incompatibleTokens","*"),e}return C(n,[{key:"parse",value:function(e){return ie(e)}},{key:"set",value:function(e,t,n){return[new Date(n),{timestampIsSet:!0}]}}]),n}(M),Ye={G:new A,y:new de,Y:new he,R:new ve,u:new ge,Q:new ye,q:new be,M:new we,L:new xe,w:new Se,I:new Ee,d:new $e,D:new Me,E:new Le,e:new Ne,c:new Re,i:new Ie,a:new Pe,b:new Ze,B:new _e,h:new Fe,H:new je,K:new Be,k:new ze,m:new He,s:new Ue,S:new We,X:new Ve,x:new qe,t:new Ge,T:new Ke},Xe=/[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g,Je=/P+p+|P+|p+|''|'(''|[^'])+('|$)|./g,Qe=/^'([^]*?)'?$/,et=/''/g,tt=/\S/,nt=/[a-zA-Z]/;function rt(e,t,n,o){var m,v,g,y,b,w,x,k,S,C,E,T,O,M,A,D,L,N;(0,h.Z)(3,arguments);var R=String(e),I=String(t),P=(0,Ae.j)(),Z=null!==(m=null!==(v=null==o?void 0:o.locale)&&void 0!==v?v:P.locale)&&void 0!==m?m:a.Z;if(!Z.match)throw new RangeError("locale must contain match property");var _=(0,f.Z)(null!==(g=null!==(y=null!==(b=null!==(w=null==o?void 0:o.firstWeekContainsDate)&&void 0!==w?w:null==o||null===(x=o.locale)||void 0===x||null===(k=x.options)||void 0===k?void 0:k.firstWeekContainsDate)&&void 0!==b?b:P.firstWeekContainsDate)&&void 0!==y?y:null===(S=P.locale)||void 0===S||null===(C=S.options)||void 0===C?void 0:C.firstWeekContainsDate)&&void 0!==g?g:1);if(!(_>=1&&_<=7))throw new RangeError("firstWeekContainsDate must be between 1 and 7 inclusively");var F=(0,f.Z)(null!==(E=null!==(T=null!==(O=null!==(M=null==o?void 0:o.weekStartsOn)&&void 0!==M?M:null==o||null===(A=o.locale)||void 0===A||null===(D=A.options)||void 0===D?void 0:D.weekStartsOn)&&void 0!==O?O:P.weekStartsOn)&&void 0!==T?T:null===(L=P.locale)||void 0===L||null===(N=L.options)||void 0===N?void 0:N.weekStartsOn)&&void 0!==E?E:0);if(!(F>=0&&F<=6))throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");if(""===I)return""===R?(0,l.Z)(n):new Date(NaN);var j,B={firstWeekContainsDate:_,weekStartsOn:F,locale:Z},z=[new $],H=I.match(Je).map((function(e){var t=e[0];return t in u.Z?(0,u.Z[t])(e,Z.formatLong):e})).join("").match(Xe),U=[],W=i(H);try{var V=function(){var t=j.value;null!=o&&o.useAdditionalWeekYearTokens||!(0,p.Do)(t)||(0,p.qp)(t,I,e),null!=o&&o.useAdditionalDayOfYearTokens||!(0,p.Iu)(t)||(0,p.qp)(t,I,e);var n=t[0],r=Ye[n];if(r){var i=r.incompatibleTokens;if(Array.isArray(i)){var a=U.find((function(e){return i.includes(e.token)||e.token===n}));if(a)throw new RangeError("The format string mustn't contain `".concat(a.fullToken,"` and `").concat(t,"` at the same time"))}else if("*"===r.incompatibleTokens&&U.length>0)throw new RangeError("The format string mustn't contain `".concat(t,"` and any other token at the same time"));U.push({token:n,fullToken:t});var s=r.run(R,t,Z.match,B);if(!s)return{v:new Date(NaN)};z.push(s.setter),R=s.rest}else{if(n.match(nt))throw new RangeError("Format string contains an unescaped latin alphabet character `"+n+"`");if("''"===t?t="'":"'"===n&&(t=t.match(Qe)[1].replace(et,"'")),0!==R.indexOf(t))return{v:new Date(NaN)};R=R.slice(t.length)}};for(W.s();!(j=W.n()).done;){var q=V();if("object"===(0,r.Z)(q))return q.v}}catch(ne){W.e(ne)}finally{W.f()}if(R.length>0&&tt.test(R))return new Date(NaN);var G=z.map((function(e){return e.priority})).sort((function(e,t){return t-e})).filter((function(e,t,n){return n.indexOf(e)===t})).map((function(e){return z.filter((function(t){return t.priority===e})).sort((function(e,t){return t.subPriority-e.subPriority}))})).map((function(e){return e[0]})),K=(0,l.Z)(n);if(isNaN(K.getTime()))return new Date(NaN);var Y,X=(0,s.Z)(K,(0,d.Z)(K)),J={},Q=i(G);try{for(Q.s();!(Y=Q.n()).done;){var ee=Y.value;if(!ee.validate(X,B))return new Date(NaN);var te=ee.set(X,J,B);Array.isArray(te)?(X=te[0],c(J,te[1])):X=te}}catch(ne){Q.e(ne)}finally{Q.f()}return X}},66623:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>s});var r=n(83946),o=n(19013),i=n(30890),a=n(13882);function s(e,t){(0,a.Z)(2,arguments);var n=(0,o.Z)(e),s=(0,r.Z)(t),l=n.getFullYear(),c=n.getDate(),u=new Date(0);u.setFullYear(l,s,15),u.setHours(0,0,0,0);var d=(0,i.Z)(u);return n.setMonth(s,Math.min(c,d)),n}},44749:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>a});var r=n(83946),o=n(19013),i=n(13882);function a(e,t){(0,i.Z)(2,arguments);var n=(0,o.Z)(e),a=(0,r.Z)(t);return isNaN(n.getTime())?new Date(NaN):(n.setFullYear(a),n)}},69119:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>i});var r=n(19013),o=n(13882);function i(e){(0,o.Z)(1,arguments);var t=(0,r.Z)(e);return t.setHours(0,0,0,0),t}},43703:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>i});var r=n(19013),o=n(13882);function i(e){(0,o.Z)(1,arguments);var t=(0,r.Z)(e);return t.setDate(1),t.setHours(0,0,0,0),t}},584:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>s});var r=n(19013),o=n(83946),i=n(13882),a=n(84314);function s(e,t){var n,s,l,c,u,d,p,f;(0,i.Z)(1,arguments);var h=(0,a.j)(),m=(0,o.Z)(null!==(n=null!==(s=null!==(l=null!==(c=null==t?void 0:t.weekStartsOn)&&void 0!==c?c:null==t||null===(u=t.locale)||void 0===u||null===(d=u.options)||void 0===d?void 0:d.weekStartsOn)&&void 0!==l?l:h.weekStartsOn)&&void 0!==s?s:null===(p=h.locale)||void 0===p||null===(f=p.options)||void 0===f?void 0:f.weekStartsOn)&&void 0!==n?n:0);if(!(m>=0&&m<=6))throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");var v=(0,r.Z)(e),g=v.getDay(),y=(g<m?7:0)+g-m;return v.setDate(v.getDate()-y),v.setHours(0,0,0,0),v}},91218:(e,t,n)=>{"use strict";n.d(t,{Z:()=>a});var r=n(51820),o=n(13882),i=n(83946);function a(e,t){(0,o.Z)(2,arguments);var n=(0,i.Z)(t);return(0,r.Z)(e,-n)}},54559:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>a});var r=n(83946),o=n(11640),i=n(13882);function a(e,t){(0,i.Z)(2,arguments);var n=(0,r.Z)(t);return(0,o.default)(e,-n)}},19013:(e,t,n)=>{"use strict";n.d(t,{Z:()=>i});var r=n(71002),o=n(13882);function i(e){(0,o.Z)(1,arguments);var t=Object.prototype.toString.call(e);return e instanceof Date||"object"===(0,r.Z)(e)&&"[object Date]"===t?new Date(e.getTime()):"number"==typeof e||"[object Number]"===t?new Date(e):("string"!=typeof e&&"[object String]"!==t||"undefined"==typeof console||(console.warn("Starting with v2.0.0-beta.1 date-fns doesn't accept strings as date arguments. Please use `parseISO` to parse strings. See: https://github.com/date-fns/date-fns/blob/master/docs/upgradeGuide.md#string-arguments"),console.warn((new Error).stack)),new Date(NaN))}},20296:e=>{function t(e,t,n){var r,o,i,a,s;function l(){var c=Date.now()-a;c<t&&c>=0?r=setTimeout(l,t-c):(r=null,n||(s=e.apply(i,o),i=o=null))}null==t&&(t=100);var c=function(){i=this,o=arguments,a=Date.now();var c=n&&!r;return r||(r=setTimeout(l,t)),c&&(s=e.apply(i,o),i=o=null),s};return c.clear=function(){r&&(clearTimeout(r),r=null)},c.flush=function(){r&&(s=e.apply(i,o),i=o=null,clearTimeout(r),r=null)},c}t.debounce=t,e.exports=t},89141:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(97582),o=n(74570),i=n(24394),a=n(83573),s=n(39294),l=n(84839);function c(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}function u(e){if(e&&e.__esModule)return e;var t=Object.create(null);return e&&Object.keys(e).forEach((function(n){if("default"!==n){var r=Object.getOwnPropertyDescriptor(e,n);Object.defineProperty(t,n,r.get?r:{enumerable:!0,get:function(){return e[n]}})}})),t.default=e,Object.freeze(t)}var d=u(o),p=c(o),f=c(l),h=function(e){return{isEnabled:function(t){return e.some((function(e){return!!t[e]}))}}},m={measureLayout:h(["layout","layoutId","drag","_layoutResetTransform"]),animation:h(["animate","exit","variants","whileHover","whileTap","whileFocus","whileDrag"]),exit:h(["exit"]),drag:h(["drag","dragControls"]),focus:h(["whileFocus"]),hover:h(["whileHover","onHoverStart","onHoverEnd"]),tap:h(["whileTap","onTap","onTapStart","onTapCancel"]),pan:h(["onPan","onPanStart","onPanSessionStart","onPanEnd"]),layoutAnimation:h(["layout","layoutId"])};function v(e){for(var t in e){var n=e[t];null!==n&&(m[t].Component=n)}}var g=o.createContext({strict:!1}),y=Object.keys(m),b=y.length;var w=o.createContext({transformPagePoint:function(e){return e},isStatic:!1}),x=o.createContext({});function k(){return o.useContext(x).visualElement}var S=o.createContext(null);function C(e){var t=o.useRef(null);return null===t.current&&(t.current=e()),t.current}function E(){var e=o.useContext(S);if(null===e)return[!0,null];var t=e.isPresent,n=e.onExitComplete,r=e.register,i=M();o.useEffect((function(){return r(i)}),[]);return!t&&n?[!1,function(){return null==n?void 0:n(i)}]:[!0]}function T(e){return null===e||e.isPresent}var O=0,$=function(){return O++},M=function(){return C($)},A=o.createContext(null),D="undefined"!=typeof window,L=D?o.useLayoutEffect:o.useEffect;function N(e,t,n,i){var a=o.useContext(w),s=o.useContext(g),l=k(),c=o.useContext(S),u=function(e){var t=e.layoutId,n=o.useContext(A);return n&&void 0!==t?n+"-"+t:t}(n),d=o.useRef(void 0);i||(i=s.renderer),!d.current&&i&&(d.current=i(e,{visualState:t,parent:l,props:r.__assign(r.__assign({},n),{layoutId:u}),presenceId:null==c?void 0:c.id,blockInitialAnimation:!1===(null==c?void 0:c.initial)}));var p=d.current;return L((function(){p&&(p.setProps(r.__assign(r.__assign(r.__assign({},a),n),{layoutId:u})),p.isPresent=T(c),p.isPresenceRoot=!l||l.presenceId!==(null==c?void 0:c.id),p.syncRender())})),o.useEffect((function(){var e;p&&(null===(e=p.animationState)||void 0===e||e.animateChanges())})),L((function(){return function(){return null==p?void 0:p.notifyUnmount()}}),[]),p}function R(e){return"object"==typeof e&&Object.prototype.hasOwnProperty.call(e,"current")}function I(e){return Array.isArray(e)}function P(e){return"string"==typeof e||I(e)}function Z(e,t,n,r,o){var i;return void 0===r&&(r={}),void 0===o&&(o={}),"string"==typeof t&&(t=null===(i=e.variants)||void 0===i?void 0:i[t]),"function"==typeof t?t(null!=n?n:e.custom,r,o):t}function _(e,t,n){var r=e.getProps();return Z(r,t,null!=n?n:r.custom,function(e){var t={};return e.forEachValue((function(e,n){return t[n]=e.get()})),t}(e),function(e){var t={};return e.forEachValue((function(e,n){return t[n]=e.getVelocity()})),t}(e))}function F(e){var t;return"function"==typeof(null===(t=e.animate)||void 0===t?void 0:t.start)||P(e.initial)||P(e.animate)||P(e.whileHover)||P(e.whileDrag)||P(e.whileTap)||P(e.whileFocus)||P(e.exit)}function j(e){return Boolean(F(e)||e.variants)}function B(e,t){var n=function(e,t){if(F(e)){var n=e.initial,r=e.animate;return{initial:!1===n||P(n)?n:void 0,animate:P(r)?r:void 0}}return!1!==e.inherit?t:{}}(e,o.useContext(x)),r=n.initial,i=n.animate;return o.useMemo((function(){return{initial:r,animate:i}}),t?[z(r),z(i)]:[])}function z(e){return Array.isArray(e)?e.join(" "):e}function H(e){var t=e.preloadedFeatures,n=e.createVisualElement,i=e.useRender,a=e.useVisualState,s=e.Component;return t&&v(t),o.forwardRef((function(e,t){var l=o.useContext(w).isStatic,c=null,u=B(e,l),p=a(e,l);return!l&&D&&(u.visualElement=N(s,p,e,n),c=function(e,t,n){var i=[];if(o.useContext(g),!t)return null;for(var a=0;a<b;a++){var s=y[a],l=m[s],c=l.isEnabled,u=l.Component;c(e)&&u&&i.push(d.createElement(u,r.__assign({key:s},e,{visualElement:t})))}return i}(e,u.visualElement)),d.createElement(d.Fragment,null,d.createElement(x.Provider,{value:u},i(s,e,function(e,t,n){return o.useCallback((function(r){var o;r&&(null===(o=e.mount)||void 0===o||o.call(e,r)),t&&(r?t.mount(r):t.unmount()),n&&("function"==typeof n?n(r):R(n)&&(n.current=r))}),[t])}(p,u.visualElement,t),p,l)),c)}))}function U(e){function t(t,n){return void 0===n&&(n={}),H(e(t,n))}var n=new Map;return new Proxy(t,{get:function(e,r){return n.has(r)||n.set(r,t(r)),n.get(r)}})}var W=["animate","circle","defs","desc","ellipse","g","image","line","filter","marker","mask","metadata","path","pattern","polygon","polyline","rect","stop","svg","switch","symbol","text","tspan","use","view"];function V(e){return"string"==typeof e&&!e.includes("-")&&!!(W.indexOf(e)>-1||/[A-Z]/.test(e))}var q={};function G(e){for(var t in e)q[t]=e[t]}var K=["","X","Y","Z"],Y=["transformPerspective","x","y","z"];function X(e,t){return Y.indexOf(e)-Y.indexOf(t)}["translate","scale","rotate","skew"].forEach((function(e){return K.forEach((function(t){return Y.push(e+t)}))}));var J=new Set(Y);function Q(e){return J.has(e)}var ee=new Set(["originX","originY","originZ"]);function te(e){return ee.has(e)}function ne(e,t){var n=t.layout,r=t.layoutId;return Q(e)||te(e)||(n||void 0!==r)&&(!!q[e]||"opacity"===e)}var re=function(e){return null!==e&&"object"==typeof e&&e.getVelocity},oe={x:"translateX",y:"translateY",z:"translateZ",transformPerspective:"perspective"};function ie(e){return e.startsWith("--")}var ae=function(e,t){return t&&"number"==typeof e?t.transform(e):e},se=r.__assign(r.__assign({},a.number),{transform:Math.round}),le={borderWidth:a.px,borderTopWidth:a.px,borderRightWidth:a.px,borderBottomWidth:a.px,borderLeftWidth:a.px,borderRadius:a.px,radius:a.px,borderTopLeftRadius:a.px,borderTopRightRadius:a.px,borderBottomRightRadius:a.px,borderBottomLeftRadius:a.px,width:a.px,maxWidth:a.px,height:a.px,maxHeight:a.px,size:a.px,top:a.px,right:a.px,bottom:a.px,left:a.px,padding:a.px,paddingTop:a.px,paddingRight:a.px,paddingBottom:a.px,paddingLeft:a.px,margin:a.px,marginTop:a.px,marginRight:a.px,marginBottom:a.px,marginLeft:a.px,rotate:a.degrees,rotateX:a.degrees,rotateY:a.degrees,rotateZ:a.degrees,scale:a.scale,scaleX:a.scale,scaleY:a.scale,scaleZ:a.scale,skew:a.degrees,skewX:a.degrees,skewY:a.degrees,distance:a.px,translateX:a.px,translateY:a.px,translateZ:a.px,x:a.px,y:a.px,z:a.px,perspective:a.px,transformPerspective:a.px,opacity:a.alpha,originX:a.progressPercentage,originY:a.progressPercentage,originZ:a.px,zIndex:se,fillOpacity:a.alpha,strokeOpacity:a.alpha,numOctaves:se};function ce(e,t,n,r,o,i,a,s){var l,c=e.style,u=e.vars,d=e.transform,p=e.transformKeys,f=e.transformOrigin;p.length=0;var h=!1,m=!1,v=!0;for(var g in t){var y=t[g];if(ie(g))u[g]=y;else{var b=le[g],w=ae(y,b);if(Q(g)){if(h=!0,d[g]=w,p.push(g),!v)continue;y!==(null!==(l=b.default)&&void 0!==l?l:0)&&(v=!1)}else if(te(g))f[g]=w,m=!0;else if((null==n?void 0:n.isHydrated)&&(null==r?void 0:r.isHydrated)&&q[g]){var x=q[g].process(y,r,n),k=q[g].applyTo;if(k)for(var S=k.length,C=0;C<S;C++)c[k[C]]=x;else c[g]=x}else c[g]=w}}r&&n&&a&&s?(c.transform=a(r.deltaFinal,r.treeScale,h?d:void 0),i&&(c.transform=i(d,c.transform)),c.transformOrigin=s(r)):(h&&(c.transform=function(e,t,n,r){var o=e.transform,i=e.transformKeys,a=t.enableHardwareAcceleration,s=void 0===a||a,l=t.allowTransformNone,c=void 0===l||l,u="";i.sort(X);for(var d=!1,p=i.length,f=0;f<p;f++){var h=i[f];u+=(oe[h]||h)+"("+o[h]+") ","z"===h&&(d=!0)}return!d&&s?u+="translateZ(0)":u=u.trim(),r?u=r(o,n?"":u):c&&n&&(u="none"),u}(e,o,v,i)),m&&(c.transformOrigin=function(e){var t=e.originX,n=void 0===t?"50%":t,r=e.originY,o=void 0===r?"50%":r,i=e.originZ;return n+" "+o+" "+(void 0===i?0:i)}(f)))}var ue=function(){return{style:{},transform:{},transformKeys:[],transformOrigin:{},vars:{}}};function de(e,t,n){for(var r in t)re(t[r])||ne(r,n)||(e[r]=t[r])}function pe(e,t,n){var i={};return de(i,e.style||{},e),Object.assign(i,function(e,t,n){var i=e.transformTemplate;return o.useMemo((function(){var e=ue();ce(e,t,void 0,void 0,{enableHardwareAcceleration:!n},i);var o=e.vars,a=e.style;return r.__assign(r.__assign({},o),a)}),[t])}(e,t,n)),e.transformValues&&(i=e.transformValues(i)),i}function fe(e,t,n){var r={},o=pe(e,t,n);return Boolean(e.drag)&&(r.draggable=!1,o.userSelect=o.WebkitUserSelect=o.WebkitTouchCallout="none",o.touchAction=!0===e.drag?"none":"pan-"+("x"===e.drag?"y":"x")),r.style=o,r}var he=new Set(["initial","animate","exit","style","variants","transition","transformTemplate","transformValues","custom","inherit","layout","layoutId","_layoutResetTransform","onLayoutAnimationComplete","onViewportBoxUpdate","onLayoutMeasure","onBeforeLayoutMeasure","onAnimationStart","onAnimationComplete","onUpdate","onDragStart","onDrag","onDragEnd","onMeasureDragConstraints","onDirectionLock","onDragTransitionEnd","drag","dragControls","dragListener","dragConstraints","dragDirectionLock","_dragX","_dragY","dragElastic","dragMomentum","dragPropagation","dragTransition","whileDrag","onPan","onPanStart","onPanEnd","onPanSessionStart","onTap","onTapStart","onTapCancel","onHoverStart","onHoverEnd","whileFocus","whileTap","whileHover"]);function me(e){return he.has(e)}var ve=function(e){return!me(e)};try{var ge=n(64910).Z;ve=function(e){return e.startsWith("on")?!me(e):ge(e)}}catch(ii){}function ye(e,t,n){return"string"==typeof e?e:a.px.transform(t+n*e)}var be=function(e,t){return a.px.transform(e*t)},we={offset:"stroke-dashoffset",array:"stroke-dasharray"},xe={offset:"strokeDashoffset",array:"strokeDasharray"};function ke(e,t,n,o,i,a,s,l){var c=t.attrX,u=t.attrY,d=t.originX,p=t.originY,f=t.pathLength,h=t.pathSpacing,m=void 0===h?1:h,v=t.pathOffset,g=void 0===v?0:v;ce(e,r.__rest(t,["attrX","attrY","originX","originY","pathLength","pathSpacing","pathOffset"]),n,o,i,a,s,l),e.attrs=e.style,e.style={};var y=e.attrs,b=e.style,w=e.dimensions,x=e.totalPathLength;y.transform&&(w&&(b.transform=y.transform),delete y.transform),w&&(void 0!==d||void 0!==p||b.transform)&&(b.transformOrigin=function(e,t,n){return ye(t,e.x,e.width)+" "+ye(n,e.y,e.height)}(w,void 0!==d?d:.5,void 0!==p?p:.5)),void 0!==c&&(y.x=c),void 0!==u&&(y.y=u),void 0!==x&&void 0!==f&&function(e,t,n,r,o,i){void 0===r&&(r=1),void 0===o&&(o=0),void 0===i&&(i=!0);var a=i?we:xe;e[a.offset]=be(-o,t);var s=be(n,t),l=be(r,t);e[a.array]=s+" "+l}(y,x,f,m,g,!1)}var Se=function(){return r.__assign(r.__assign({},ue()),{attrs:{}})};function Ce(e,t){var n=o.useMemo((function(){var n=Se();return ke(n,t,void 0,void 0,{enableHardwareAcceleration:!1},e.transformTemplate),r.__assign(r.__assign({},n.attrs),{style:r.__assign({},n.style)})}),[t]);if(e.style){var i={};de(i,e.style,e),n.style=r.__assign(r.__assign({},i),n.style)}return n}function Ee(e){void 0===e&&(e=!1);return function(t,n,i,a,s){var l=a.latestValues,c=(V(t)?Ce:fe)(n,l,s),u=function(e,t,n){var r={};for(var o in e)(ve(o)||!0===n&&me(o)||!t&&!me(o))&&(r[o]=e[o]);return r}(n,"string"==typeof t,e),d=r.__assign(r.__assign(r.__assign({},u),c),{ref:i});return o.createElement(t,d)}}var Te=/([a-z])([A-Z])/g,Oe=function(e){return e.replace(Te,"$1-$2").toLowerCase()};function $e(e,t){var n=t.style,r=t.vars;for(var o in Object.assign(e.style,n),r)e.style.setProperty(o,r[o])}var Me=new Set(["baseFrequency","diffuseConstant","kernelMatrix","kernelUnitLength","keySplines","keyTimes","limitingConeAngle","markerHeight","markerWidth","numOctaves","targetX","targetY","surfaceScale","specularConstant","specularExponent","stdDeviation","tableValues","viewBox","gradientTransform"]);function Ae(e,t){for(var n in $e(e,t),t.attrs)e.setAttribute(Me.has(n)?n:Oe(n),t.attrs[n])}function De(e){var t=e.style,n={};for(var r in t)(re(t[r])||ne(r,e))&&(n[r]=t[r]);return n}function Le(e){var t=De(e);for(var n in e){if(re(e[n]))t["x"===n||"y"===n?"attr"+n.toUpperCase():n]=e[n]}return t}function Ne(e){return"object"==typeof e&&"function"==typeof e.start}var Re=function(e){return Array.isArray(e)},Ie=function(e){return Boolean(e&&"object"==typeof e&&e.mix&&e.toValue)},Pe=function(e){return Re(e)?e[e.length-1]||0:e};function Ze(e){var t=re(e)?e.get():e;return Ie(t)?t.toValue():t}function _e(e,t,n,r){var o=e.scrapeMotionValuesFromProps,i=e.createRenderState,a=e.onMount,s={latestValues:je(t,n,r,o),renderState:i()};return a&&(s.mount=function(e){return a(t,e,s)}),s}var Fe=function(e){return function(t,n){var r=o.useContext(x),i=o.useContext(S);return n?_e(e,t,r,i):C((function(){return _e(e,t,r,i)}))}};function je(e,t,n,o){var i={},a=!1===(null==n?void 0:n.initial),s=o(e);for(var l in s)i[l]=Ze(s[l]);var c=e.initial,u=e.animate,d=F(e),p=j(e);t&&p&&!d&&!1!==e.inherit&&(null!=c||(c=t.initial),null!=u||(u=t.animate));var f=a||!1===c?u:c;f&&"boolean"!=typeof f&&!Ne(f)&&(Array.isArray(f)?f:[f]).forEach((function(t){var n=Z(e,t);if(n){var o=n.transitionEnd;n.transition;var a=r.__rest(n,["transitionEnd","transition"]);for(var s in a)i[s]=a[s];for(var s in o)i[s]=o[s]}}));return i}var Be={useVisualState:Fe({scrapeMotionValuesFromProps:Le,createRenderState:Se,onMount:function(e,t,n){var r=n.renderState,o=n.latestValues;try{r.dimensions="function"==typeof t.getBBox?t.getBBox():t.getBoundingClientRect()}catch(i){r.dimensions={x:0,y:0,width:0,height:0}}"path"===t.tagName&&(r.totalPathLength=t.getTotalLength()),ke(r,o,void 0,void 0,{enableHardwareAcceleration:!1},e.transformTemplate),Ae(t,r)}})};var ze,He={useVisualState:Fe({scrapeMotionValuesFromProps:De,createRenderState:ue})};function Ue(e,t,n,o){var i=t.forwardMotionProps,a=void 0!==i&&i,s=V(e)?Be:He;return r.__assign(r.__assign({},s),{preloadedFeatures:n,useRender:Ee(a),createVisualElement:o,Component:e})}function We(e,t,n,r){return e.addEventListener(t,n,r),function(){return e.removeEventListener(t,n,r)}}function Ve(e,t,n,r){o.useEffect((function(){var o=e.current;if(n&&o)return We(o,t,n,r)}),[e,t,n,r])}function qe(e){return"undefined"!=typeof PointerEvent&&e instanceof PointerEvent?!("mouse"!==e.pointerType):e instanceof MouseEvent}function Ge(e){return!!e.touches}!function(e){e.Animate="animate",e.Hover="whileHover",e.Tap="whileTap",e.Drag="whileDrag",e.Focus="whileFocus",e.Exit="exit"}(ze||(ze={}));var Ke={pageX:0,pageY:0};function Ye(e,t){void 0===t&&(t="page");var n=e.touches[0]||e.changedTouches[0]||Ke;return{x:n[t+"X"],y:n[t+"Y"]}}function Xe(e,t){return void 0===t&&(t="page"),{x:e[t+"X"],y:e[t+"Y"]}}function Je(e,t){return void 0===t&&(t="page"),{point:Ge(e)?Ye(e,t):Xe(e,t)}}var Qe=function(e,t){void 0===t&&(t=!1);var n,r=function(t){return e(t,Je(t))};return t?(n=r,function(e){var t=e instanceof MouseEvent;(!t||t&&0===e.button)&&n(e)}):r},et=function(){return D&&null===window.onpointerdown},tt=function(){return D&&null===window.ontouchstart},nt=function(){return D&&null===window.onmousedown},rt={pointerdown:"mousedown",pointermove:"mousemove",pointerup:"mouseup",pointercancel:"mousecancel",pointerover:"mouseover",pointerout:"mouseout",pointerenter:"mouseenter",pointerleave:"mouseleave"},ot={pointerdown:"touchstart",pointermove:"touchmove",pointerup:"touchend",pointercancel:"touchcancel"};function it(e){return et()?e:tt()?ot[e]:nt()?rt[e]:e}function at(e,t,n,r){return We(e,it(t),Qe(n,"pointerdown"===t),r)}function st(e,t,n,r){return Ve(e,it(t),n&&Qe(n,"pointerdown"===t),r)}function lt(e){var t=null;return function(){return null===t&&(t=e,function(){t=null})}}var ct=lt("dragHorizontal"),ut=lt("dragVertical");function dt(e){var t=!1;if("y"===e)t=ut();else if("x"===e)t=ct();else{var n=ct(),r=ut();n&&r?t=function(){n(),r()}:(n&&n(),r&&r())}return t}function pt(){var e=dt(!0);return!e||(e(),!1)}function ft(e,t,n){return function(r,o){var i;qe(r)&&!pt()&&(null==n||n(r,o),null===(i=e.animationState)||void 0===i||i.setActive(ze.Hover,t))}}var ht=function(e,t){return!!t&&(e===t||ht(e,t.parentElement))};function mt(e){return o.useEffect((function(){return function(){return e()}}),[])}var vt=function(e){return function(t){return e(t),null}},gt={tap:vt((function(e){var t=e.onTap,n=e.onTapStart,r=e.onTapCancel,i=e.whileTap,a=e.visualElement,l=t||n||r||i,c=o.useRef(!1),u=o.useRef(null);function d(){var e;null===(e=u.current)||void 0===e||e.call(u),u.current=null}function p(){var e;return d(),c.current=!1,null===(e=a.animationState)||void 0===e||e.setActive(ze.Tap,!1),!pt()}function f(e,n){p()&&(ht(a.getInstance(),e.target)?null==t||t(e,n):null==r||r(e,n))}function h(e,t){p()&&(null==r||r(e,t))}st(a,"pointerdown",l?function(e,t){var r;d(),c.current||(c.current=!0,u.current=s.pipe(at(window,"pointerup",f),at(window,"pointercancel",h)),null==n||n(e,t),null===(r=a.animationState)||void 0===r||r.setActive(ze.Tap,!0))}:void 0),mt(d)})),focus:vt((function(e){var t=e.whileFocus,n=e.visualElement;Ve(n,"focus",t?function(){var e;null===(e=n.animationState)||void 0===e||e.setActive(ze.Focus,!0)}:void 0),Ve(n,"blur",t?function(){var e;null===(e=n.animationState)||void 0===e||e.setActive(ze.Focus,!1)}:void 0)})),hover:vt((function(e){var t=e.onHoverStart,n=e.onHoverEnd,r=e.whileHover,o=e.visualElement;st(o,"pointerenter",t||r?ft(o,!0,t):void 0),st(o,"pointerleave",n||r?ft(o,!1,n):void 0)}))};function yt(e,t){if(!Array.isArray(t))return!1;var n=t.length;if(n!==e.length)return!1;for(var r=0;r<n;r++)if(t[r]!==e[r])return!1;return!0}var bt=function(e){return 1e3*e},wt={linear:s.linear,easeIn:s.easeIn,easeInOut:s.easeInOut,easeOut:s.easeOut,circIn:s.circIn,circInOut:s.circInOut,circOut:s.circOut,backIn:s.backIn,backInOut:s.backInOut,backOut:s.backOut,anticipate:s.anticipate,bounceIn:s.bounceIn,bounceInOut:s.bounceInOut,bounceOut:s.bounceOut},xt=function(e){if(Array.isArray(e)){i.invariant(4===e.length,"Cubic bezier arrays must contain four numerical values.");var t=r.__read(e,4),n=t[0],o=t[1],a=t[2],l=t[3];return s.cubicBezier(n,o,a,l)}return"string"==typeof e?(i.invariant(void 0!==wt[e],"Invalid easing type '"+e+"'"),wt[e]):e},kt=function(e){return Array.isArray(e)&&"number"!=typeof e[0]},St=function(e,t){return"zIndex"!==e&&(!("number"!=typeof t&&!Array.isArray(t))||!("string"!=typeof t||!a.complex.test(t)||t.startsWith("url(")))},Ct=function(){return{type:"spring",stiffness:500,damping:25,restDelta:.5,restSpeed:10}},Et=function(e){return{type:"spring",stiffness:550,damping:0===e?2*Math.sqrt(550):30,restDelta:.01,restSpeed:10}},Tt=function(){return{type:"keyframes",ease:"linear",duration:.3}},Ot=function(e){return{type:"keyframes",duration:.8,values:e}},$t={x:Ct,y:Ct,z:Ct,rotate:Ct,rotateX:Ct,rotateY:Ct,rotateZ:Ct,scaleX:Et,scaleY:Et,scale:Et,opacity:Tt,backgroundColor:Tt,color:Tt,default:Et},Mt=function(e,t){var n;return n=Re(t)?Ot:$t[e]||$t.default,r.__assign({to:t},n(t))},At=r.__assign(r.__assign({},le),{color:a.color,backgroundColor:a.color,outlineColor:a.color,fill:a.color,stroke:a.color,borderColor:a.color,borderTopColor:a.color,borderRightColor:a.color,borderBottomColor:a.color,borderLeftColor:a.color,filter:a.filter,WebkitFilter:a.filter}),Dt=function(e){return At[e]};function Lt(e,t){var n,r=Dt(e);return r!==a.filter&&(r=a.complex),null===(n=r.getAnimatableNone)||void 0===n?void 0:n.call(r,t)}var Nt=!1;function Rt(e,t,n){var o;return Array.isArray(t.to)&&(null!==(o=e.duration)&&void 0!==o||(e.duration=.8)),function(e){Array.isArray(e.to)&&null===e.to[0]&&(e.to=r.__spreadArray([],r.__read(e.to)),e.to[0]=e.from)}(t),function(e){e.when,e.delay,e.delayChildren,e.staggerChildren,e.staggerDirection,e.repeat,e.repeatType,e.repeatDelay,e.from;var t=r.__rest(e,["when","delay","delayChildren","staggerChildren","staggerDirection","repeat","repeatType","repeatDelay","from"]);return!!Object.keys(t).length}(e)||(e=r.__assign(r.__assign({},e),Mt(n,t.to))),r.__assign(r.__assign({},t),function(e){var t=e.ease,n=e.times,o=e.yoyo,a=e.flip,s=e.loop,l=r.__rest(e,["ease","times","yoyo","flip","loop"]),c=r.__assign({},l);return n&&(c.offset=n),l.duration&&(c.duration=bt(l.duration)),l.repeatDelay&&(c.repeatDelay=bt(l.repeatDelay)),t&&(c.ease=kt(t)?t.map(xt):xt(t)),"tween"===l.type&&(c.type="keyframes"),(o||s||a)&&(i.warning(!Nt,"yoyo, loop and flip have been removed from the API. Replace with repeat and repeatType options."),Nt=!0,o?c.repeatType="reverse":s?c.repeatType="loop":a&&(c.repeatType="mirror"),c.repeat=s||o||a||l.repeat),"spring"!==l.type&&(c.type="keyframes"),c}(e))}function It(e){return 0===e||"string"==typeof e&&0===parseFloat(e)&&-1===e.indexOf(" ")}function Pt(e){return"number"==typeof e?0:Lt("",e)}function Zt(e,t){return e[t]||e.default||e}function _t(e,t,n,o){return void 0===o&&(o={}),t.start((function(a){var l,c,u=function(e,t,n,o,a){var l,c=Zt(o,e),u=null!==(l=c.from)&&void 0!==l?l:t.get(),d=St(e,n);"none"===u&&d&&"string"==typeof n?u=Lt(e,n):It(u)&&"string"==typeof n?u=Pt(n):!Array.isArray(n)&&It(n)&&"string"==typeof u&&(n=Pt(u));var p=St(e,u);return i.warning(p===d,"You are trying to animate "+e+' from "'+u+'" to "'+n+'". '+u+" is not an animatable value - to enable this animation set "+u+" to a value animatable to "+n+" via the `style` property."),p&&d&&!1!==c.type?function(){var o={from:u,to:n,velocity:t.getVelocity(),onComplete:a,onUpdate:function(e){return t.set(e)}};return"inertia"===c.type||"decay"===c.type?s.inertia(r.__assign(r.__assign({},o),c)):s.animate(r.__assign(r.__assign({},Rt(c,o,e)),{onUpdate:function(e){var t;o.onUpdate(e),null===(t=c.onUpdate)||void 0===t||t.call(c,e)},onComplete:function(){var e;o.onComplete(),null===(e=c.onComplete)||void 0===e||e.call(c)}}))}:function(){var e;return t.set(n),a(),null===(e=null==c?void 0:c.onComplete)||void 0===e||e.call(c),{stop:function(){}}}}(e,t,n,o,a),d=function(e,t){var n;return null!==(n=(Zt(e,t)||{}).delay)&&void 0!==n?n:0}(o,e),p=function(){return c=u()};return d?l=setTimeout(p,bt(d)):p(),function(){clearTimeout(l),null==c||c.stop()}}))}var Ft=function(e){return/^\-?\d*\.?\d+$/.test(e)};function jt(e,t){-1===e.indexOf(t)&&e.push(t)}function Bt(e,t){var n=e.indexOf(t);n>-1&&e.splice(n,1)}var zt=function(){function e(){this.subscriptions=[]}return e.prototype.add=function(e){var t=this;return jt(this.subscriptions,e),function(){return Bt(t.subscriptions,e)}},e.prototype.notify=function(e,t,n){var r=this.subscriptions.length;if(r)if(1===r)this.subscriptions[0](e,t,n);else for(var o=0;o<r;o++){var i=this.subscriptions[o];i&&i(e,t,n)}},e.prototype.getSize=function(){return this.subscriptions.length},e.prototype.clear=function(){this.subscriptions.length=0},e}(),Ht=function(){function e(e){var t,n=this;this.timeDelta=0,this.lastUpdated=0,this.updateSubscribers=new zt,this.velocityUpdateSubscribers=new zt,this.renderSubscribers=new zt,this.canTrackVelocity=!1,this.updateAndNotify=function(e,t){void 0===t&&(t=!0),n.prev=n.current,n.current=e;var r=l.getFrameData(),o=r.delta,i=r.timestamp;n.lastUpdated!==i&&(n.timeDelta=o,n.lastUpdated=i,f.default.postRender(n.scheduleVelocityCheck)),n.prev!==n.current&&n.updateSubscribers.notify(n.current),n.velocityUpdateSubscribers.getSize()&&n.velocityUpdateSubscribers.notify(n.getVelocity()),t&&n.renderSubscribers.notify(n.current)},this.scheduleVelocityCheck=function(){return f.default.postRender(n.velocityCheck)},this.velocityCheck=function(e){e.timestamp!==n.lastUpdated&&(n.prev=n.current,n.velocityUpdateSubscribers.notify(n.getVelocity()))},this.hasAnimated=!1,this.prev=this.current=e,this.canTrackVelocity=(t=this.current,!isNaN(parseFloat(t)))}return e.prototype.onChange=function(e){return this.updateSubscribers.add(e)},e.prototype.clearListeners=function(){this.updateSubscribers.clear()},e.prototype.onRenderRequest=function(e){return e(this.get()),this.renderSubscribers.add(e)},e.prototype.attach=function(e){this.passiveEffect=e},e.prototype.set=function(e,t){void 0===t&&(t=!0),t&&this.passiveEffect?this.passiveEffect(e,this.updateAndNotify):this.updateAndNotify(e,t)},e.prototype.get=function(){return this.current},e.prototype.getPrevious=function(){return this.prev},e.prototype.getVelocity=function(){return this.canTrackVelocity?s.velocityPerSecond(parseFloat(this.current)-parseFloat(this.prev),this.timeDelta):0},e.prototype.start=function(e){var t=this;return this.stop(),new Promise((function(n){t.hasAnimated=!0,t.stopAnimation=e(n)})).then((function(){return t.clearAnimation()}))},e.prototype.stop=function(){this.stopAnimation&&this.stopAnimation(),this.clearAnimation()},e.prototype.isAnimating=function(){return!!this.stopAnimation},e.prototype.clearAnimation=function(){this.stopAnimation=null},e.prototype.destroy=function(){this.updateSubscribers.clear(),this.renderSubscribers.clear(),this.stop()},e}();function Ut(e){return new Ht(e)}var Wt=function(e){return function(t){return t.test(e)}},Vt=[a.number,a.px,a.percent,a.degrees,a.vw,a.vh,{test:function(e){return"auto"===e},parse:function(e){return e}}],qt=function(e){return Vt.find(Wt(e))},Gt=r.__spreadArray(r.__spreadArray([],r.__read(Vt)),[a.color,a.complex]),Kt=function(e){return Gt.find(Wt(e))};function Yt(e,t,n){e.hasValue(t)?e.getValue(t).set(n):e.addValue(t,Ut(n))}function Xt(e,t){var n=_(e,t),o=n?e.makeTargetAnimatable(n,!1):{},i=o.transitionEnd,a=void 0===i?{}:i;o.transition;var s=r.__rest(o,["transitionEnd","transition"]);for(var l in s=r.__assign(r.__assign({},s),a)){Yt(e,l,Pe(s[l]))}}function Jt(e,t){r.__spreadArray([],r.__read(t)).reverse().forEach((function(n){var r,o=e.getVariant(n);o&&Xt(e,o),null===(r=e.variantChildren)||void 0===r||r.forEach((function(e){Jt(e,t)}))}))}function Qt(e,t,n){var r,o,i,s,l=Object.keys(t).filter((function(t){return!e.hasValue(t)})),c=l.length;if(c)for(var u=0;u<c;u++){var d=l[u],p=t[d],f=null;Array.isArray(p)&&(f=p[0]),null===f&&(f=null!==(o=null!==(r=n[d])&&void 0!==r?r:e.readValue(d))&&void 0!==o?o:t[d]),null!=f&&("string"==typeof f&&Ft(f)?f=parseFloat(f):!Kt(f)&&a.complex.test(p)&&(f=Lt(d,p)),e.addValue(d,Ut(f)),null!==(i=(s=n)[d])&&void 0!==i||(s[d]=f),e.setBaseTarget(d,f))}}function en(e,t){if(t)return(t[e]||t.default||t).from}function tn(e,t,n){var r,o,i={};for(var a in e)i[a]=null!==(r=en(a,t))&&void 0!==r?r:null===(o=n.getValue(a))||void 0===o?void 0:o.get();return i}function nn(e,t,n){var r;if(void 0===n&&(n={}),e.notifyAnimationStart(),Array.isArray(t)){var o=t.map((function(t){return rn(e,t,n)}));r=Promise.all(o)}else if("string"==typeof t)r=rn(e,t,n);else{var i="function"==typeof t?_(e,t,n.custom):t;r=on(e,i,n)}return r.then((function(){return e.notifyAnimationComplete(t)}))}function rn(e,t,n){var o;void 0===n&&(n={});var i=_(e,t,n.custom),a=(i||{}).transition,s=void 0===a?e.getDefaultTransition()||{}:a;n.transitionOverride&&(s=n.transitionOverride);var l=i?function(){return on(e,i,n)}:function(){return Promise.resolve()},c=(null===(o=e.variantChildren)||void 0===o?void 0:o.size)?function(o){void 0===o&&(o=0);var i=s.delayChildren,a=void 0===i?0:i,l=s.staggerChildren,c=s.staggerDirection;return function(e,t,n,o,i,a){void 0===n&&(n=0);void 0===o&&(o=0);void 0===i&&(i=1);var s=[],l=(e.variantChildren.size-1)*o,c=1===i?function(e){return void 0===e&&(e=0),e*o}:function(e){return void 0===e&&(e=0),l-e*o};return Array.from(e.variantChildren).sort(an).forEach((function(e,o){s.push(rn(e,t,r.__assign(r.__assign({},a),{delay:n+c(o)})).then((function(){return e.notifyAnimationComplete(t)})))})),Promise.all(s)}(e,t,a+o,l,c,n)}:function(){return Promise.resolve()},u=s.when;if(u){var d=r.__read("beforeChildren"===u?[l,c]:[c,l],2),p=d[0],f=d[1];return p().then(f)}return Promise.all([l(),c(n.delay)])}function on(e,t,n){var o,i=void 0===n?{}:n,a=i.delay,s=void 0===a?0:a,l=i.transitionOverride,c=i.type,u=e.makeTargetAnimatable(t),d=u.transition,p=void 0===d?e.getDefaultTransition():d,f=u.transitionEnd,h=r.__rest(u,["transition","transitionEnd"]);l&&(p=l);var m=[],v=c&&(null===(o=e.animationState)||void 0===o?void 0:o.getState()[c]);for(var g in h){var y=e.getValue(g),b=h[g];if(!(!y||void 0===b||v&&sn(v,g))){var w=_t(g,y,b,r.__assign({delay:s},p));m.push(w)}}return Promise.all(m).then((function(){f&&Xt(e,f)}))}function an(e,t){return e.sortNodePosition(t)}function sn(e,t){var n=e.protectedKeys,r=e.needsAnimating,o=n.hasOwnProperty(t)&&!0!==r[t];return r[t]=!1,o}var ln=[ze.Animate,ze.Hover,ze.Tap,ze.Drag,ze.Focus,ze.Exit],cn=r.__spreadArray([],r.__read(ln)).reverse(),un=ln.length;function dn(e){var t,n=function(e){return function(t){return Promise.all(t.map((function(t){var n=t.animation,r=t.options;return nn(e,n,r)})))}}(e),o=((t={})[ze.Animate]=pn(!0),t[ze.Hover]=pn(),t[ze.Tap]=pn(),t[ze.Drag]=pn(),t[ze.Focus]=pn(),t[ze.Exit]=pn(),t),i={},a=!0,s=function(t,n){var o=_(e,n);if(o){o.transition;var i=o.transitionEnd,a=r.__rest(o,["transition","transitionEnd"]);t=r.__assign(r.__assign(r.__assign({},t),a),i)}return t};function l(t,l){for(var c,u=e.getProps(),d=e.getVariantContext(!0)||{},p=[],f=new Set,h={},m=1/0,v=function(n){var i=cn[n],v=o[i],g=null!==(c=u[i])&&void 0!==c?c:d[i],y=P(g),b=i===l?v.isActive:null;!1===b&&(m=n);var w=g===d[i]&&g!==u[i]&&y;if(w&&a&&e.manuallyAnimateOnMount&&(w=!1),v.protectedKeys=r.__assign({},h),!v.isActive&&null===b||!g&&!v.prevProp||Ne(g)||"boolean"==typeof g)return"continue";var x=function(e,t){if("string"==typeof t)return t!==e;if(I(t))return!yt(t,e);return!1}(v.prevProp,g)||i===l&&v.isActive&&!w&&y||n>m&&y,k=Array.isArray(g)?g:[g],S=k.reduce(s,{});!1===b&&(S={});var C=v.prevResolvedValues,E=void 0===C?{}:C,T=r.__assign(r.__assign({},E),S),O=function(e){x=!0,f.delete(e),v.needsAnimating[e]=!0};for(var $ in T){var M=S[$],A=E[$];h.hasOwnProperty($)||(M!==A?Re(M)&&Re(A)?yt(M,A)?v.protectedKeys[$]=!0:O($):void 0!==M?O($):f.add($):void 0!==M&&f.has($)?O($):v.protectedKeys[$]=!0)}v.prevProp=g,v.prevResolvedValues=S,v.isActive&&(h=r.__assign(r.__assign({},h),S)),a&&e.blockInitialAnimation&&(x=!1),x&&!w&&p.push.apply(p,r.__spreadArray([],r.__read(k.map((function(e){return{animation:e,options:r.__assign({type:i},t)}})))))},g=0;g<un;g++)v(g);if(i=r.__assign({},h),f.size){var y={};f.forEach((function(t){var n=e.getBaseTarget(t);void 0!==n&&(y[t]=n)})),p.push({animation:y})}var b=Boolean(p.length);return a&&!1===u.initial&&!e.manuallyAnimateOnMount&&(b=!1),a=!1,b?n(p):Promise.resolve()}return{isAnimated:function(e){return void 0!==i[e]},animateChanges:l,setActive:function(t,n,r){var i;return o[t].isActive===n?Promise.resolve():(null===(i=e.variantChildren)||void 0===i||i.forEach((function(e){var r;return null===(r=e.animationState)||void 0===r?void 0:r.setActive(t,n)})),o[t].isActive=n,l(r,t))},setAnimateFunction:function(t){n=t(e)},getState:function(){return o}}}function pn(e){return void 0===e&&(e=!1),{isActive:e,protectedKeys:{},needsAnimating:{},prevResolvedValues:{}}}var fn={animation:vt((function(e){var t=e.visualElement,n=e.animate;t.animationState||(t.animationState=dn(t)),Ne(n)&&o.useEffect((function(){return n.subscribe(t)}),[n])})),exit:vt((function(e){var t=e.custom,n=e.visualElement,i=r.__read(E(),2),a=i[0],s=i[1],l=o.useContext(S);o.useEffect((function(){var e,r,o=null===(e=n.animationState)||void 0===e?void 0:e.setActive(ze.Exit,!a,{custom:null!==(r=null==l?void 0:l.custom)&&void 0!==r?r:t});!a&&(null==o||o.then(s))}),[a])}))},hn=function(){function e(e,t,n){var o=this,i=(void 0===n?{}:n).transformPagePoint;if(this.startEvent=null,this.lastMoveEvent=null,this.lastMoveEventInfo=null,this.handlers={},this.updatePoint=function(){if(o.lastMoveEvent&&o.lastMoveEventInfo){var e=gn(o.lastMoveEventInfo,o.history),t=null!==o.startEvent,n=s.distance(e.offset,{x:0,y:0})>=3;if(t||n){var i=e.point,a=l.getFrameData().timestamp;o.history.push(r.__assign(r.__assign({},i),{timestamp:a}));var c=o.handlers,u=c.onStart,d=c.onMove;t||(u&&u(o.lastMoveEvent,e),o.startEvent=o.lastMoveEvent),d&&d(o.lastMoveEvent,e)}}},this.handlePointerMove=function(e,t){o.lastMoveEvent=e,o.lastMoveEventInfo=mn(t,o.transformPagePoint),qe(e)&&0===e.buttons?o.handlePointerUp(e,t):f.default.update(o.updatePoint,!0)},this.handlePointerUp=function(e,t){o.end();var n=o.handlers,r=n.onEnd,i=n.onSessionEnd,a=gn(mn(t,o.transformPagePoint),o.history);o.startEvent&&r&&r(e,a),i&&i(e,a)},!(Ge(e)&&e.touches.length>1)){this.handlers=t,this.transformPagePoint=i;var a=mn(Je(e),this.transformPagePoint),c=a.point,u=l.getFrameData().timestamp;this.history=[r.__assign(r.__assign({},c),{timestamp:u})];var d=t.onSessionStart;d&&d(e,gn(a,this.history)),this.removeListeners=s.pipe(at(window,"pointermove",this.handlePointerMove),at(window,"pointerup",this.handlePointerUp),at(window,"pointercancel",this.handlePointerUp))}}return e.prototype.updateHandlers=function(e){this.handlers=e},e.prototype.end=function(){this.removeListeners&&this.removeListeners(),l.cancelSync.update(this.updatePoint)},e}();function mn(e,t){return t?{point:t(e.point)}:e}function vn(e,t){return{x:e.x-t.x,y:e.y-t.y}}function gn(e,t){var n=e.point;return{point:n,delta:vn(n,bn(t)),offset:vn(n,yn(t)),velocity:wn(t,.1)}}function yn(e){return e[0]}function bn(e){return e[e.length-1]}function wn(e,t){if(e.length<2)return{x:0,y:0};for(var n=e.length-1,r=null,o=bn(e);n>=0&&(r=e[n],!(o.timestamp-r.timestamp>bt(t)));)n--;if(!r)return{x:0,y:0};var i=(o.timestamp-r.timestamp)/1e3;if(0===i)return{x:0,y:0};var a={x:(o.x-r.x)/i,y:(o.y-r.y)/i};return a.x===1/0&&(a.x=0),a.y===1/0&&(a.y=0),a}function xn(e){return e}function kn(e){var t=e.top;return{x:{min:e.left,max:e.right},y:{min:t,max:e.bottom}}}function Sn(){return{x:{min:0,max:1},y:{min:0,max:1}}}var Cn={translate:0,scale:1,origin:0,originPoint:0};function En(){return{x:r.__assign({},Cn),y:r.__assign({},Cn)}}function Tn(e){return[e("x"),e("y")]}function On(e,t,n){return void 0===t&&(t=0),void 0===n&&(n=.01),s.distance(e,t)<n}function $n(e){return e.max-e.min}function Mn(e,t){var n=.5,r=$n(e),o=$n(t);return o>r?n=s.progress(t.min,t.max-r,e.min):r>o&&(n=s.progress(e.min,e.max-o,t.min)),function(e){return s.clamp(0,1,e)}(n)}function An(e,t,n,r){void 0===r&&(r=.5),e.origin=r,e.originPoint=s.mix(t.min,t.max,e.origin),e.scale=$n(n)/$n(t),On(e.scale,1,1e-4)&&(e.scale=1),e.translate=s.mix(n.min,n.max,e.origin)-e.originPoint,On(e.translate)&&(e.translate=0)}function Dn(e,t,n,r){An(e.x,t.x,n.x,Ln(r.originX)),An(e.y,t.y,n.y,Ln(r.originY))}function Ln(e){return"number"==typeof e?e:.5}function Nn(e,t,n){e.min=n.min+t.min,e.max=e.min+$n(t)}function Rn(e,t,n){var r=t.min,o=t.max;return void 0!==r&&e<r?e=n?s.mix(r,e,n.min):Math.max(e,r):void 0!==o&&e>o&&(e=n?s.mix(o,e,n.max):Math.min(e,o)),e}function In(e,t,n){return{min:void 0!==t?e.min+t:void 0,max:void 0!==n?e.max+n-(e.max-e.min):void 0}}function Pn(e,t){var n,o=t.min-e.min,i=t.max-e.max;return t.max-t.min<e.max-e.min&&(o=(n=r.__read([i,o],2))[0],i=n[1]),{min:e.min+o,max:e.min+i}}function Zn(e,t,n){return{min:_n(e,t),max:_n(e,n)}}function _n(e,t){var n;return"number"==typeof e?e:null!==(n=e[t])&&void 0!==n?n:0}function Fn(e,t){return kn(function(e,t){var n=e.top,r=e.left,o=e.bottom,i=e.right;void 0===t&&(t=xn);var a=t({x:r,y:n}),s=t({x:i,y:o});return{top:a.y,left:a.x,bottom:s.y,right:s.x}}(e.getBoundingClientRect(),t))}var jn=function(e,t){return e.depth-t.depth};function Bn(e){return e.projection.isEnabled||e.shouldResetTransform()}function zn(e,t){void 0===t&&(t=[]);var n=e.parent;return n&&zn(n,t),Bn(e)&&t.push(e),t}function Hn(e){if(!e.shouldResetTransform()){var t,n=e.getLayoutState();e.notifyBeforeLayoutMeasure(n.layout),n.isHydrated=!0,n.layout=e.measureViewportBox(),n.layoutCorrected=(t=n.layout,{x:r.__assign({},t.x),y:r.__assign({},t.y)}),e.notifyLayoutMeasure(n.layout,e.prevViewportBox||n.layout),f.default.update((function(){return e.rebaseProjectionTarget()}))}}function Un(e){e.shouldResetTransform()||(e.prevViewportBox=e.measureViewportBox(!1),e.rebaseProjectionTarget(!1,e.prevViewportBox))}function Wn(e,t){return{min:t.min-e.min,max:t.max-e.min}}function Vn(e,t){return{x:Wn(e.x,t.x),y:Wn(e.y,t.y)}}function qn(e){var t=e.getProps(),n=t.drag,r=t._dragX;return n&&!r}function Gn(e,t){e.min=t.min,e.max=t.max}function Kn(e,t,n){return n+t*(e-n)}function Yn(e,t,n,r,o){return void 0!==o&&(e=Kn(e,o,r)),Kn(e,n,r)+t}function Xn(e,t,n,r,o){void 0===t&&(t=0),void 0===n&&(n=1),e.min=Yn(e.min,t,n,r,o),e.max=Yn(e.max,t,n,r,o)}function Jn(e,t){var n=t.x,r=t.y;Xn(e.x,n.translate,n.scale,n.originPoint),Xn(e.y,r.translate,r.scale,r.originPoint)}function Qn(e,t,n,o){var i=r.__read(o,3),a=i[0],l=i[1],c=i[2];e.min=t.min,e.max=t.max;var u=void 0!==n[c]?n[c]:.5,d=s.mix(t.min,t.max,u);Xn(e,n[a],n[l],d,n.scale)}var er=["x","scaleX","originX"],tr=["y","scaleY","originY"];function nr(e,t,n){Qn(e.x,t.x,n,er),Qn(e.y,t.y,n,tr)}function rr(e,t,n,r,o){return e=Kn(e-=t,1/n,r),void 0!==o&&(e=Kn(e,1/o,r)),e}function or(e,t,n){var o=r.__read(n,3),i=o[0],a=o[1],l=o[2];!function(e,t,n,r,o){void 0===t&&(t=0),void 0===n&&(n=1),void 0===r&&(r=.5);var i=s.mix(e.min,e.max,r)-t;e.min=rr(e.min,t,n,i,o),e.max=rr(e.max,t,n,i,o)}(e,t[i],t[a],t[l],t.scale)}function ir(e,t){or(e.x,t,er),or(e.y,t,tr)}var ar=new Set;function sr(e,t,n){e[n]||(e[n]=[]),e[n].push(t)}function lr(e){return ar.add(e),function(){return ar.delete(e)}}function cr(){if(ar.size){var e=0,t=[[]],n=[],r=function(n){return sr(t,n,e)},o=function(t){sr(n,t,e),e++};ar.forEach((function(t){t(r,o),e=0})),ar.clear();for(var i=n.length,a=0;a<=i;a++)t[a]&&t[a].forEach(dr),n[a]&&n[a].forEach(dr)}}var ur,dr=function(e){return e()},pr=new WeakMap,fr=function(){function e(e){var t=e.visualElement;this.isDragging=!1,this.currentDirection=null,this.constraints=!1,this.elastic={x:{min:0,max:1},y:{min:0,max:1}},this.props={},this.hasMutatedConstraints=!1,this.cursorProgress={x:.5,y:.5},this.originPoint={},this.openGlobalLock=null,this.panSession=null,this.visualElement=t,this.visualElement.enableLayoutProjection(),pr.set(t,this)}return e.prototype.start=function(e,t){var n=this,o=void 0===t?{}:t,i=o.snapToCursor,a=void 0!==i&&i,c=o.cursorProgress,u=this.props.transformPagePoint;this.panSession=new hn(e,{onSessionStart:function(e){var t;n.stopMotion();var o=function(e){return Je(e,"client")}(e).point;null===(t=n.cancelLayout)||void 0===t||t.call(n),n.cancelLayout=lr((function(e,t){var i=zn(n.visualElement),u=function(e){var t=[],n=function(e){Bn(e)&&t.push(e),e.children.forEach(n)};return e.children.forEach(n),t.sort(jn)}(n.visualElement),d=r.__spreadArray(r.__spreadArray([],r.__read(i)),r.__read(u)),p=!1;n.isLayoutDrag()&&n.visualElement.lockProjectionTarget(),t((function(){d.forEach((function(e){return e.resetTransform()}))})),e((function(){Hn(n.visualElement),u.forEach(Hn)})),t((function(){d.forEach((function(e){return e.restoreTransform()})),a&&(p=n.snapToCursor(o))})),e((function(){Boolean(n.getAxisMotionValue("x")&&!n.isExternalDrag())||n.visualElement.rebaseProjectionTarget(!0,n.visualElement.measureViewportBox(!1)),n.visualElement.scheduleUpdateLayoutProjection();var e=n.visualElement.projection;Tn((function(t){if(!p){var r=e.target[t],i=r.min,a=r.max;n.cursorProgress[t]=c?c[t]:s.progress(i,a,o[t])}var l=n.getAxisMotionValue(t);l&&(n.originPoint[t]=l.get())}))})),t((function(){l.flushSync.update(),l.flushSync.preRender(),l.flushSync.render(),l.flushSync.postRender()})),e((function(){return n.resolveDragConstraints()}))}))},onStart:function(e,t){var r,o,i,a=n.props,s=a.drag,l=a.dragPropagation;(!s||l||(n.openGlobalLock&&n.openGlobalLock(),n.openGlobalLock=dt(s),n.openGlobalLock))&&(cr(),n.isDragging=!0,n.currentDirection=null,null===(o=(r=n.props).onDragStart)||void 0===o||o.call(r,e,t),null===(i=n.visualElement.animationState)||void 0===i||i.setActive(ze.Drag,!0))},onMove:function(e,t){var r,o,i,a,s=n.props,l=s.dragPropagation,c=s.dragDirectionLock;if(l||n.openGlobalLock){var u=t.offset;if(c&&null===n.currentDirection)return n.currentDirection=function(e,t){void 0===t&&(t=10);var n=null;Math.abs(e.y)>t?n="y":Math.abs(e.x)>t&&(n="x");return n}(u),void(null!==n.currentDirection&&(null===(o=(r=n.props).onDirectionLock)||void 0===o||o.call(r,n.currentDirection)));n.updateAxis("x",t.point,u),n.updateAxis("y",t.point,u),null===(a=(i=n.props).onDrag)||void 0===a||a.call(i,e,t),ur=e}},onSessionEnd:function(e,t){return n.stop(e,t)}},{transformPagePoint:u})},e.prototype.resolveDragConstraints=function(){var e=this,t=this.props,n=t.dragConstraints,r=t.dragElastic,o=this.visualElement.getLayoutState().layoutCorrected;this.constraints=!!n&&(R(n)?this.resolveRefConstraints(o,n):function(e,t){var n=t.top,r=t.left,o=t.bottom,i=t.right;return{x:In(e.x,r,i),y:In(e.y,n,o)}}(o,n)),this.elastic=function(e){return!1===e?e=0:!0===e&&(e=.35),{x:Zn(e,"left","right"),y:Zn(e,"top","bottom")}}(r),this.constraints&&!this.hasMutatedConstraints&&Tn((function(t){e.getAxisMotionValue(t)&&(e.constraints[t]=function(e,t){var n={};return void 0!==t.min&&(n.min=t.min-e.min),void 0!==t.max&&(n.max=t.max-e.min),n}(o[t],e.constraints[t]))}))},e.prototype.resolveRefConstraints=function(e,t){var n=this.props,r=n.onMeasureDragConstraints,o=n.transformPagePoint,a=t.current;i.invariant(null!==a,"If `dragConstraints` is set as a React ref, that ref must be passed to another component's `ref` prop."),this.constraintsBox=Fn(a,o);var s=function(e,t){return{x:Pn(e.x,t.x),y:Pn(e.y,t.y)}}(e,this.constraintsBox);if(r){var l=r(function(e){var t=e.x,n=e.y;return{top:n.min,bottom:n.max,left:t.min,right:t.max}}(s));this.hasMutatedConstraints=!!l,l&&(s=kn(l))}return s},e.prototype.cancelDrag=function(){var e,t;this.visualElement.unlockProjectionTarget(),null===(e=this.cancelLayout)||void 0===e||e.call(this),this.isDragging=!1,this.panSession&&this.panSession.end(),this.panSession=null,!this.props.dragPropagation&&this.openGlobalLock&&(this.openGlobalLock(),this.openGlobalLock=null),null===(t=this.visualElement.animationState)||void 0===t||t.setActive(ze.Drag,!1)},e.prototype.stop=function(e,t){var n,r,o;null===(n=this.panSession)||void 0===n||n.end(),this.panSession=null;var i=this.isDragging;if(this.cancelDrag(),i){var a=t.velocity;this.animateDragEnd(a),null===(o=(r=this.props).onDragEnd)||void 0===o||o.call(r,e,t)}},e.prototype.snapToCursor=function(e){var t=this;return Tn((function(n){if(hr(n,t.props.drag,t.currentDirection)){var r=t.getAxisMotionValue(n);if(!r)return t.cursorProgress[n]=.5,!0;var o=t.visualElement.getLayoutState().layout,i=o[n].max-o[n].min,a=o[n].min+i/2,s=e[n]-a;t.originPoint[n]=e[n],r.set(s)}})).includes(!0)},e.prototype.updateAxis=function(e,t,n){if(hr(e,this.props.drag,this.currentDirection))return this.getAxisMotionValue(e)?this.updateAxisMotionValue(e,n):this.updateVisualElementAxis(e,t)},e.prototype.updateAxisMotionValue=function(e,t){var n=this.getAxisMotionValue(e);if(t&&n){var r=this.originPoint[e]+t[e],o=this.constraints?Rn(r,this.constraints[e],this.elastic[e]):r;n.set(o)}},e.prototype.updateVisualElementAxis=function(e,t){var n,r=this.visualElement.getLayoutState().layout[e],o=r.max-r.min,i=this.cursorProgress[e],a=function(e,t,n,r,o){var i=e-t*n;return r?Rn(i,r,o):i}(t[e],o,i,null===(n=this.constraints)||void 0===n?void 0:n[e],this.elastic[e]);this.visualElement.setProjectionTargetAxis(e,a,a+o)},e.prototype.setProps=function(e){var t=e.drag,n=void 0!==t&&t,o=e.dragDirectionLock,i=void 0!==o&&o,a=e.dragPropagation,s=void 0!==a&&a,l=e.dragConstraints,c=void 0!==l&&l,u=e.dragElastic,d=void 0===u?.35:u,p=e.dragMomentum,f=void 0===p||p,h=r.__rest(e,["drag","dragDirectionLock","dragPropagation","dragConstraints","dragElastic","dragMomentum"]);this.props=r.__assign({drag:n,dragDirectionLock:i,dragPropagation:s,dragConstraints:c,dragElastic:d,dragMomentum:f},h)},e.prototype.getAxisMotionValue=function(e){var t=this.props,n=t.layout,r=t.layoutId,o="_drag"+e.toUpperCase();return this.props[o]?this.props[o]:n||void 0!==r?void 0:this.visualElement.getValue(e,0)},e.prototype.isLayoutDrag=function(){return!this.getAxisMotionValue("x")},e.prototype.isExternalDrag=function(){var e=this.props,t=e._dragX,n=e._dragY;return t||n},e.prototype.animateDragEnd=function(e){var t=this,n=this.props,o=n.drag,i=n.dragMomentum,a=n.dragElastic,s=n.dragTransition,l=function(e,t){void 0===t&&(t=!0);var n,r=e.getProjectionParent();return!!r&&(t?ir(n=Vn(r.projection.target,e.projection.target),r.getLatestValues()):n=Vn(r.getLayoutState().layout,e.getLayoutState().layout),Tn((function(t){return e.setProjectionTargetAxis(t,n[t].min,n[t].max,!0)})),!0)}(this.visualElement,this.isLayoutDrag()&&!this.isExternalDrag()),c=this.constraints||{};if(l&&Object.keys(c).length&&this.isLayoutDrag()){var u=this.visualElement.getProjectionParent();if(u){var d=Vn(u.projection.targetFinal,c);Tn((function(e){var t=d[e],n=t.min,r=t.max;c[e]={min:isNaN(n)?void 0:n,max:isNaN(r)?void 0:r}}))}}var p=Tn((function(n){var u;if(hr(n,o,t.currentDirection)){var d=null!==(u=null==c?void 0:c[n])&&void 0!==u?u:{},p=a?200:1e6,f=a?40:1e7,h=r.__assign(r.__assign({type:"inertia",velocity:i?e[n]:0,bounceStiffness:p,bounceDamping:f,timeConstant:750,restDelta:1,restSpeed:10},s),d);return t.getAxisMotionValue(n)?t.startAxisValueAnimation(n,h):t.visualElement.startLayoutAnimation(n,h,l)}}));return Promise.all(p).then((function(){var e,n;null===(n=(e=t.props).onDragTransitionEnd)||void 0===n||n.call(e)}))},e.prototype.stopMotion=function(){var e=this;Tn((function(t){var n=e.getAxisMotionValue(t);n?n.stop():e.visualElement.stopLayoutAnimation()}))},e.prototype.startAxisValueAnimation=function(e,t){var n=this.getAxisMotionValue(e);if(n){var r=n.get();return n.set(r),n.set(r),_t(e,n,0,t)}},e.prototype.scalePoint=function(){var e=this,t=this.props,n=t.drag;if(R(t.dragConstraints)&&this.constraintsBox){this.stopMotion();var r={x:0,y:0};Tn((function(t){r[t]=Mn(e.visualElement.projection.target[t],e.constraintsBox[t])})),this.updateConstraints((function(){Tn((function(t){if(hr(t,n,null)){var o=function(e,t,n){var r=e.max-e.min,o=s.mix(t.min,t.max-r,n);return{min:o,max:o+r}}(e.visualElement.projection.target[t],e.constraintsBox[t],r[t]),i=o.min,a=o.max;e.visualElement.setProjectionTargetAxis(t,i,a)}}))})),setTimeout(cr,1)}},e.prototype.updateConstraints=function(e){var t=this;this.cancelLayout=lr((function(n,r){var o=zn(t.visualElement);r((function(){return o.forEach((function(e){return e.resetTransform()}))})),n((function(){return Hn(t.visualElement)})),r((function(){return o.forEach((function(e){return e.restoreTransform()}))})),n((function(){t.resolveDragConstraints()})),e&&r(e)}))},e.prototype.mount=function(e){var t=this,n=at(e.getInstance(),"pointerdown",(function(e){var n=t.props,r=n.drag,o=n.dragListener;r&&(void 0===o||o)&&t.start(e)})),r=We(window,"resize",(function(){t.scalePoint()})),o=e.onLayoutUpdate((function(){t.isDragging&&t.resolveDragConstraints()})),i=e.prevDragCursor;return i&&this.start(ur,{cursorProgress:i}),function(){null==n||n(),null==r||r(),null==o||o(),t.cancelDrag()}},e}();function hr(e,t,n){return!(!0!==t&&t!==e||null!==n&&n!==e)}var mr,vr,gr={pan:vt((function(e){var t=e.onPan,n=e.onPanStart,r=e.onPanEnd,i=e.onPanSessionStart,a=e.visualElement,s=t||n||r||i,l=o.useRef(null),c=o.useContext(w).transformPagePoint,u={onSessionStart:i,onStart:n,onMove:t,onEnd:function(e,t){l.current=null,r&&r(e,t)}};o.useEffect((function(){null!==l.current&&l.current.updateHandlers(u)})),st(a,"pointerdown",s&&function(e){l.current=new hn(e,u,{transformPagePoint:c})}),mt((function(){return l.current&&l.current.end()}))})),drag:vt((function(e){var t=e.dragControls,n=e.visualElement,i=o.useContext(w).transformPagePoint,a=C((function(){return new fr({visualElement:n})}));a.setProps(r.__assign(r.__assign({},e),{transformPagePoint:i})),o.useEffect((function(){return t&&t.subscribe(a)}),[a]),o.useEffect((function(){return a.mount(n)}),[])}))};function yr(e){return"string"==typeof e&&e.startsWith("var(--")}!function(e){e[e.Entering=0]="Entering",e[e.Present=1]="Present",e[e.Exiting=2]="Exiting"}(mr||(mr={})),t.VisibilityAction=void 0,(vr=t.VisibilityAction||(t.VisibilityAction={}))[vr.Hide=0]="Hide",vr[vr.Show=1]="Show";var br=/var\((--[a-zA-Z0-9-_]+),? ?([a-zA-Z0-9 ()%#.,-]+)?\)/;var wr=4;function xr(e,t,n){void 0===n&&(n=1),i.invariant(n<=wr,'Max CSS variable fallback depth detected in property "'+e+'". This may indicate a circular fallback dependency.');var o=r.__read(function(e){var t=br.exec(e);if(!t)return[,];var n=r.__read(t,3);return[n[1],n[2]]}(e),2),a=o[0],s=o[1];if(a){var l=window.getComputedStyle(t).getPropertyValue(a);return l?l.trim():yr(s)?xr(s,t,n+1):s}}function kr(e,t){return e/(t.max-t.min)*100}var Sr="_$css";var Cr={process:function(e,t,n){var r=n.target;if("string"==typeof e){if(!a.px.test(e))return e;e=parseFloat(e)}return kr(e,r.x)+"% "+kr(e,r.y)+"%"}},Er={borderRadius:r.__assign(r.__assign({},Cr),{applyTo:["borderTopLeftRadius","borderTopRightRadius","borderBottomLeftRadius","borderBottomRightRadius"]}),borderTopLeftRadius:Cr,borderTopRightRadius:Cr,borderBottomLeftRadius:Cr,borderBottomRightRadius:Cr,boxShadow:{process:function(e,t){var n=t.delta,r=t.treeScale,o=e,i=e.includes("var("),l=[];i&&(e=e.replace(br,(function(e){return l.push(e),Sr})));var c=a.complex.parse(e);if(c.length>5)return o;var u=a.complex.createTransformer(e),d="number"!=typeof c[0]?1:0,p=n.x.scale*r.x,f=n.y.scale*r.y;c[0+d]/=p,c[1+d]/=f;var h=s.mix(p,f,.5);"number"==typeof c[2+d]&&(c[2+d]/=h),"number"==typeof c[3+d]&&(c[3+d]/=h);var m=u(c);if(i){var v=0;m=m.replace(Sr,(function(){var e=l[v];return v++,e}))}return m}}},Tr=function(e){function n(){var n=null!==e&&e.apply(this,arguments)||this;return n.frameTarget={x:{min:0,max:1},y:{min:0,max:1}},n.currentAnimationTarget={x:{min:0,max:1},y:{min:0,max:1}},n.isAnimating={x:!1,y:!1},n.stopAxisAnimation={x:void 0,y:void 0},n.isAnimatingTree=!1,n.animate=function(e,o,i){void 0===i&&(i={});var a=i.originBox,s=i.targetBox,l=i.visibilityAction,c=i.shouldStackAnimate,u=i.onComplete,d=i.prevParent,p=r.__rest(i,["originBox","targetBox","visibilityAction","shouldStackAnimate","onComplete","prevParent"]),f=n.props,h=f.visualElement,m=f.layout;if(!1===c)return n.isAnimatingTree=!1,n.safeToRemove();if(!n.isAnimatingTree||!0===c){c&&(n.isAnimatingTree=!0),o=a||o,e=s||e;var v,g,y,b,w=!1,x=h.getProjectionParent();if(x){var k=x.prevViewportBox,S=x.getLayoutState().layout;d&&(s&&(S=d.getLayoutState().layout),a&&(g=x,y=(v=d).getLayoutId(),b=g.getLayoutId(),y===b&&(void 0!==b||v===g))&&d.prevViewportBox&&(k=d.prevViewportBox)),k&&function(e,t,n){return e||!e&&!(t||n)}(d,a,s)&&(w=!0,o=Vn(k,o),e=Vn(S,e))}var C=function(e,t){return!($r(e)||$r(t)||Mr(e.x,t.x)&&Mr(e.y,t.y))}(o,e),E=Tn((function(i){var a,s;if("position"===m){var c=e[i].max-e[i].min;o[i].max=o[i].min+c}if(!h.projection.isTargetLocked)return void 0===l?C?n.animateAxis(i,e[i],o[i],r.__assign(r.__assign({},p),{isRelative:w})):(null===(s=(a=n.stopAxisAnimation)[i])||void 0===s||s.call(a),h.setProjectionTargetAxis(i,e[i].min,e[i].max,w)):void h.setVisibility(l===t.VisibilityAction.Show)}));return h.syncRender(),Promise.all(E).then((function(){n.isAnimatingTree=!1,u&&u(),h.notifyLayoutAnimationComplete()}))}},n}return r.__extends(n,e),n.prototype.componentDidMount=function(){var e=this,t=this.props.visualElement;t.animateMotionValue=_t,t.enableLayoutProjection(),this.unsubLayoutReady=t.onLayoutUpdate(this.animate),t.layoutSafeToRemove=function(){return e.safeToRemove()},G(Er)},n.prototype.componentWillUnmount=function(){var e=this;this.unsubLayoutReady(),Tn((function(t){var n,r;return null===(r=(n=e.stopAxisAnimation)[t])||void 0===r?void 0:r.call(n)}))},n.prototype.animateAxis=function(e,t,n,r){var o,i,a=this,l=void 0===r?{}:r,c=l.transition,u=l.isRelative;if(!this.isAnimating[e]||!Mr(t,this.currentAnimationTarget[e])){null===(i=(o=this.stopAxisAnimation)[e])||void 0===i||i.call(o),this.isAnimating[e]=!0;var d=this.props.visualElement,p=this.frameTarget[e],f=d.getProjectionAnimationProgress()[e];f.clearListeners(),f.set(0),f.set(0);var h=function(){var r=f.get()/1e3;!function(e,t,n,r){e.min=s.mix(t.min,n.min,r),e.max=s.mix(t.max,n.max,r)}(p,n,t,r),d.setProjectionTargetAxis(e,p.min,p.max,u)};h();var m=f.onChange(h);this.stopAxisAnimation[e]=function(){a.isAnimating[e]=!1,f.stop(),m()},this.currentAnimationTarget[e]=t;var v=c||d.getDefaultTransition()||Ar;return _t("x"===e?"layoutX":"layoutY",f,1e3,v&&Zt(v,"layout")).then(this.stopAxisAnimation[e])}},n.prototype.safeToRemove=function(){var e,t;null===(t=(e=this.props).safeToRemove)||void 0===t||t.call(e)},n.prototype.render=function(){return null},n}(d.Component);var Or={min:0,max:0};function $r(e){return Mr(e.x,Or)&&Mr(e.y,Or)}function Mr(e,t){return e.min===t.min&&e.max===t.max}var Ar={duration:.45,ease:[.4,0,.1,1]};var Dr={layoutReady:function(e){return e.notifyLayoutReady()}};function Lr(){var e=new Set;return{add:function(t){return e.add(t)},flush:function(t){var n=void 0===t?Dr:t,o=n.layoutReady,i=n.parent;lr((function(t,n){var a=Array.from(e).sort(jn),s=i?zn(i):[];n((function(){r.__spreadArray(r.__spreadArray([],r.__read(s)),r.__read(a)).forEach((function(e){return e.resetTransform()}))})),t((function(){a.forEach(Hn)})),n((function(){s.forEach((function(e){return e.restoreTransform()})),a.forEach(o)})),t((function(){a.forEach((function(e){e.isPresent&&(e.presence=mr.Present)}))})),n((function(){l.flushSync.preRender(),l.flushSync.render()})),t((function(){f.default.postRender((function(){return a.forEach(Nr)})),e.clear()}))})),cr()}}}function Nr(e){e.prevViewportBox=e.projection.target}var Rr=o.createContext(Lr()),Ir=o.createContext(Lr());function Pr(e){return!!e.forceUpdate}var Zr=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return r.__extends(t,e),t.prototype.componentDidMount=function(){var e=this.props,t=e.syncLayout,n=e.framerSyncLayout,r=e.visualElement;Pr(t)&&t.register(r),Pr(n)&&n.register(r),r.onUnmount((function(){Pr(t)&&t.remove(r),Pr(n)&&n.remove(r)}))},t.prototype.getSnapshotBeforeUpdate=function(){var e=this.props,t=e.syncLayout,n=e.visualElement;return Pr(t)?t.syncUpdate():(Un(n),t.add(n)),null},t.prototype.componentDidUpdate=function(){var e=this.props.syncLayout;Pr(e)||e.flush()},t.prototype.render=function(){return null},t}(p.default.Component);var _r={measureLayout:function(e){var t=o.useContext(Rr),n=o.useContext(Ir);return p.default.createElement(Zr,r.__assign({},e,{syncLayout:t,framerSyncLayout:n}))},layoutAnimation:function(e){var t=r.__read(E(),2)[1];return d.createElement(Tr,r.__assign({},e,{safeToRemove:t}))}};function Fr(){return{isHydrated:!1,layout:{x:{min:0,max:1},y:{min:0,max:1}},layoutCorrected:{x:{min:0,max:1},y:{min:0,max:1}},treeScale:{x:1,y:1},delta:En(),deltaFinal:En(),deltaTransform:""}}var jr=Fr();function Br(e,t,n){var r=e.x,o=e.y,i="translate3d("+r.translate/t.x+"px, "+o.translate/t.y+"px, 0) ";if(n){var a=n.rotate,s=n.rotateX,l=n.rotateY;a&&(i+="rotate("+a+") "),s&&(i+="rotateX("+s+") "),l&&(i+="rotateY("+l+") ")}return i+="scale("+r.scale+", "+o.scale+")",n||i!==Hr?i:""}function zr(e){var t=e.deltaFinal;return 100*t.x.origin+"% "+100*t.y.origin+"% 0"}var Hr=Br(jr.delta,jr.treeScale,{x:1,y:1}),Ur=["LayoutMeasure","BeforeLayoutMeasure","LayoutUpdate","ViewportBoxUpdate","Update","Render","AnimationComplete","LayoutAnimationComplete","AnimationStart","SetAxisTarget","Unmount"];function Wr(e,t,n,r){var o,i,a=e.delta,s=e.layout,l=e.layoutCorrected,c=e.treeScale,u=t.target;i=s,Gn((o=l).x,i.x),Gn(o.y,i.y),function(e,t,n){var r=n.length;if(r){var o,i;t.x=t.y=1;for(var a=0;a<r;a++)i=(o=n[a]).getLayoutState().delta,t.x*=i.x.scale,t.y*=i.y.scale,Jn(e,i),qn(o)&&nr(e,e,o.getLatestValues())}}(l,c,n),Dn(a,l,u,r)}var Vr=function(){function e(){this.children=[],this.isDirty=!1}return e.prototype.add=function(e){jt(this.children,e),this.isDirty=!0},e.prototype.remove=function(e){Bt(this.children,e),this.isDirty=!0},e.prototype.forEach=function(e){this.isDirty&&this.children.sort(jn),this.isDirty=!1,this.children.forEach(e)},e}();var qr=function(e){var t=e.treeType,n=void 0===t?"":t,o=e.build,i=e.getBaseTarget,a=e.makeTargetAnimatable,c=e.measureViewportBox,u=e.render,d=e.readValueFromInstance,p=e.resetTransform,h=e.restoreTransform,m=e.removeValueFromRenderState,v=e.sortNodePosition,g=e.scrapeMotionValuesFromProps;return function(e,t){var y=e.parent,b=e.props,w=e.presenceId,x=e.blockInitialAnimation,k=e.visualState;void 0===t&&(t={});var S,C,E,T,O,$,M=k.latestValues,A=k.renderState,D=function(){var e=Ur.map((function(){return new zt})),t={},n={clearAllListeners:function(){return e.forEach((function(e){return e.clear()}))},updatePropListeners:function(e){return Ur.forEach((function(r){var o;null===(o=t[r])||void 0===o||o.call(t);var i="on"+r,a=e[i];a&&(t[r]=n[i](a))}))}};return e.forEach((function(e,t){n["on"+Ur[t]]=function(t){return e.add(t)},n["notify"+Ur[t]]=function(){for(var t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];return e.notify.apply(e,r.__spreadArray([],r.__read(t)))}})),n}(),L={isEnabled:!1,isHydrated:!1,isTargetLocked:!1,target:{x:{min:0,max:1},y:{min:0,max:1}},targetFinal:{x:{min:0,max:1},y:{min:0,max:1}}},N=L,R=M,I=Fr(),Z=!1,_=new Map,B=new Map,z={},H=r.__assign({},M);function U(){S&&(Q.isProjectionReady()&&(nr(N.targetFinal,N.target,R),Dn(I.deltaFinal,I.layoutCorrected,N.targetFinal,M)),W(),u(S,A))}function W(){var e=M;if(T&&T.isActive()){var n=T.getCrossfadeState(Q);n&&(e=n)}o(Q,A,e,N,I,t,b)}function V(){D.notifyUpdate(M)}function q(){Q.layoutTree.forEach(Kr)}var G=g(b);for(var K in G){var Y=G[K];void 0!==M[K]&&re(Y)&&Y.set(M[K],!1)}var X=F(b),J=j(b),Q=r.__assign(r.__assign({treeType:n,current:null,depth:y?y.depth+1:0,parent:y,children:new Set,path:y?r.__spreadArray(r.__spreadArray([],r.__read(y.path)),[y]):[],layoutTree:y?y.layoutTree:new Vr,presenceId:w,projection:L,variantChildren:J?new Set:void 0,isVisible:void 0,manuallyAnimateOnMount:Boolean(null==y?void 0:y.isMounted()),blockInitialAnimation:x,isMounted:function(){return Boolean(S)},mount:function(e){S=Q.current=e,Q.pointTo(Q),J&&y&&!X&&($=null==y?void 0:y.addVariantChild(Q)),null==y||y.children.add(Q)},unmount:function(){l.cancelSync.update(V),l.cancelSync.render(U),l.cancelSync.preRender(Q.updateLayoutProjection),B.forEach((function(e){return e()})),Q.stopLayoutAnimation(),Q.layoutTree.remove(Q),null==$||$(),null==y||y.children.delete(Q),null==E||E(),D.clearAllListeners()},addVariantChild:function(e){var t,n=Q.getClosestVariantNode();if(n)return null===(t=n.variantChildren)||void 0===t||t.add(e),function(){return n.variantChildren.delete(e)}},sortNodePosition:function(e){return v&&n===e.treeType?v(Q.getInstance(),e.getInstance()):0},getClosestVariantNode:function(){return J?Q:null==y?void 0:y.getClosestVariantNode()},scheduleUpdateLayoutProjection:y?y.scheduleUpdateLayoutProjection:function(){return f.default.preRender(Q.updateTreeLayoutProjection,!1,!0)},getLayoutId:function(){return b.layoutId},getInstance:function(){return S},getStaticValue:function(e){return M[e]},setStaticValue:function(e,t){return M[e]=t},getLatestValues:function(){return M},setVisibility:function(e){Q.isVisible!==e&&(Q.isVisible=e,Q.scheduleRender())},makeTargetAnimatable:function(e,t){return void 0===t&&(t=!0),a(Q,e,b,t)},addValue:function(e,t){Q.hasValue(e)&&Q.removeValue(e),_.set(e,t),M[e]=t.get(),function(e,t){var n=t.onChange((function(t){M[e]=t,b.onUpdate&&f.default.update(V,!1,!0)})),r=t.onRenderRequest(Q.scheduleRender);B.set(e,(function(){n(),r()}))}(e,t)},removeValue:function(e){var t;_.delete(e),null===(t=B.get(e))||void 0===t||t(),B.delete(e),delete M[e],m(e,A)},hasValue:function(e){return _.has(e)},getValue:function(e,t){var n=_.get(e);return void 0===n&&void 0!==t&&(n=Ut(t),Q.addValue(e,n)),n},forEachValue:function(e){return _.forEach(e)},readValue:function(e){var n;return null!==(n=M[e])&&void 0!==n?n:d(S,e,t)},setBaseTarget:function(e,t){H[e]=t},getBaseTarget:function(e){if(i){var t=i(b,e);if(void 0!==t&&!re(t))return t}return H[e]}},D),{build:function(){return W(),A},scheduleRender:function(){f.default.render(U,!1,!0)},syncRender:U,setProps:function(e){b=e,D.updatePropListeners(e),z=function(e,t,n){var r;for(var o in t){var i=t[o],a=n[o];if(re(i))e.addValue(o,i);else if(re(a))e.addValue(o,Ut(i));else if(a!==i)if(e.hasValue(o)){var s=e.getValue(o);!s.hasAnimated&&s.set(i)}else e.addValue(o,Ut(null!==(r=e.getStaticValue(o))&&void 0!==r?r:i))}for(var o in n)void 0===t[o]&&e.removeValue(o);return t}(Q,g(b),z)},getProps:function(){return b},getVariant:function(e){var t;return null===(t=b.variants)||void 0===t?void 0:t[e]},getDefaultTransition:function(){return b.transition},getVariantContext:function(e){if(void 0===e&&(e=!1),e)return null==y?void 0:y.getVariantContext();if(!X){var t=(null==y?void 0:y.getVariantContext())||{};return void 0!==b.initial&&(t.initial=b.initial),t}for(var n={},r=0;r<Jr;r++){var o=Xr[r],i=b[o];(P(i)||!1===i)&&(n[o]=i)}return n},enableLayoutProjection:function(){L.isEnabled=!0,Q.layoutTree.add(Q)},lockProjectionTarget:function(){L.isTargetLocked=!0},unlockProjectionTarget:function(){Q.stopLayoutAnimation(),L.isTargetLocked=!1},getLayoutState:function(){return I},setCrossfader:function(e){T=e},isProjectionReady:function(){return L.isEnabled&&L.isHydrated&&I.isHydrated},startLayoutAnimation:function(e,t,n){void 0===n&&(n=!1);var r=Q.getProjectionAnimationProgress()[e],o=n?L.relativeTarget[e]:L.target[e],i=o.min,a=o.max-i;return r.clearListeners(),r.set(i),r.set(i),r.onChange((function(t){Q.setProjectionTargetAxis(e,t,t+a,n)})),Q.animateMotionValue(e,r,0,t)},stopLayoutAnimation:function(){Tn((function(e){return Q.getProjectionAnimationProgress()[e].stop()}))},measureViewportBox:function(e){void 0===e&&(e=!0);var n=c(S,t);return e||ir(n,M),n},getProjectionAnimationProgress:function(){return O||(O={x:Ut(0),y:Ut(0)}),O},setProjectionTargetAxis:function(e,t,n,r){var o;void 0===r&&(r=!1),r?(L.relativeTarget||(L.relativeTarget={x:{min:0,max:1},y:{min:0,max:1}}),o=L.relativeTarget[e]):(L.relativeTarget=void 0,o=L.target[e]),L.isHydrated=!0,o.min=t,o.max=n,Z=!0,D.notifySetAxisTarget()},rebaseProjectionTarget:function(e,t){void 0===t&&(t=I.layout);var n=Q.getProjectionAnimationProgress(),r=n.x,o=n.y,i=!(L.relativeTarget||L.isTargetLocked||r.isAnimating()||o.isAnimating());(e||i)&&Tn((function(e){var n=t[e],r=n.min,o=n.max;Q.setProjectionTargetAxis(e,r,o)}))},notifyLayoutReady:function(e){!function(e){var t=e.getProjectionParent();if(t){var n=Vn(t.getLayoutState().layout,e.getLayoutState().layout);Tn((function(t){e.setProjectionTargetAxis(t,n[t].min,n[t].max,!0)}))}else e.rebaseProjectionTarget()}(Q),Q.notifyLayoutUpdate(I.layout,Q.prevViewportBox||I.layout,e)},resetTransform:function(){return p(Q,S,b)},restoreTransform:function(){return h(S,A)},updateLayoutProjection:function(){if(Q.isProjectionReady()){var e=I.delta,t=I.treeScale,n=t.x,r=t.y,o=I.deltaTransform;Wr(I,N,Q.path,M),Z&&Q.notifyViewportBoxUpdate(N.target,e),Z=!1;var i=Br(e,t);i===o&&n===t.x&&r===t.y||Q.scheduleRender(),I.deltaTransform=i}},updateTreeLayoutProjection:function(){Q.layoutTree.forEach(Gr),f.default.preRender(q,!1,!0)},getProjectionParent:function(){if(void 0===C){for(var e=!1,t=Q.path.length-1;t>=0;t--){var n=Q.path[t];if(n.projection.isEnabled){e=n;break}}C=e}return C},resolveRelativeTargetBox:function(){var e=Q.getProjectionParent();if(L.relativeTarget&&e&&(function(e,t){Nn(e.target.x,e.relativeTarget.x,t.target.x),Nn(e.target.y,e.relativeTarget.y,t.target.y)}(L,e.projection),qn(e))){var t=L.target;nr(t,t,e.getLatestValues())}},shouldResetTransform:function(){return Boolean(b._layoutResetTransform)},pointTo:function(e){N=e.projection,R=e.getLatestValues(),null==E||E(),E=s.pipe(e.onSetAxisTarget(Q.scheduleUpdateLayoutProjection),e.onLayoutAnimationComplete((function(){var e;Q.isPresent?Q.presence=mr.Present:null===(e=Q.layoutSafeToRemove)||void 0===e||e.call(Q)})))},isPresent:!0,presence:mr.Entering});return Q}};function Gr(e){e.resolveRelativeTargetBox()}function Kr(e){e.updateLayoutProjection()}var Yr,Xr=r.__spreadArray(["initial"],r.__read(ln)),Jr=Xr.length,Qr=new Set(["width","height","top","left","right","bottom","x","y"]),eo=function(e){return Qr.has(e)},to=function(e,t){e.set(t,!1),e.set(t)},no=function(e){return e===a.number||e===a.px};!function(e){e.width="width",e.height="height",e.left="left",e.right="right",e.top="top",e.bottom="bottom"}(Yr||(Yr={}));var ro=function(e,t){return parseFloat(e.split(", ")[t])},oo=function(e,t){return function(n,r){var o=r.transform;if("none"===o||!o)return 0;var i=o.match(/^matrix3d\((.+)\)$/);if(i)return ro(i[1],t);var a=o.match(/^matrix\((.+)\)$/);return a?ro(a[1],e):0}},io=new Set(["x","y","z"]),ao=Y.filter((function(e){return!io.has(e)}));var so={width:function(e){var t=e.x;return t.max-t.min},height:function(e){var t=e.y;return t.max-t.min},top:function(e,t){var n=t.top;return parseFloat(n)},left:function(e,t){var n=t.left;return parseFloat(n)},bottom:function(e,t){var n=e.y,r=t.top;return parseFloat(r)+(n.max-n.min)},right:function(e,t){var n=e.x,r=t.left;return parseFloat(r)+(n.max-n.min)},x:oo(4,13),y:oo(5,14)},lo=function(e,t,n,o){void 0===n&&(n={}),void 0===o&&(o={}),t=r.__assign({},t),o=r.__assign({},o);var s=Object.keys(t).filter(eo),l=[],c=!1,u=[];if(s.forEach((function(r){var s=e.getValue(r);if(e.hasValue(r)){var d,p=n[r],f=t[r],h=qt(p);if(Re(f))for(var m=f.length,v=null===f[0]?1:0;v<m;v++)d?i.invariant(qt(f[v])===d,"All keyframes must be of the same type"):(d=qt(f[v]),i.invariant(d===h||no(h)&&no(d),"Keyframes must be of the same dimension as the current value"));else d=qt(f);if(h!==d)if(no(h)&&no(d)){var g=s.get();"string"==typeof g&&s.set(parseFloat(g)),"string"==typeof f?t[r]=parseFloat(f):Array.isArray(f)&&d===a.px&&(t[r]=f.map(parseFloat))}else(null==h?void 0:h.transform)&&(null==d?void 0:d.transform)&&(0===p||0===f)?0===p?s.set(d.transform(p)):t[r]=h.transform(f):(c||(l=function(e){var t=[];return ao.forEach((function(n){var r=e.getValue(n);void 0!==r&&(t.push([n,r.get()]),r.set(n.startsWith("scale")?1:0))})),t.length&&e.syncRender(),t}(e),c=!0),u.push(r),o[r]=void 0!==o[r]?o[r]:t[r],to(s,f))}})),u.length){var d=function(e,t,n){var r=t.measureViewportBox(),o=t.getInstance(),i=getComputedStyle(o),a=i.display,s={top:i.top,left:i.left,bottom:i.bottom,right:i.right,transform:i.transform};"none"===a&&t.setStaticValue("display",e.display||"block"),t.syncRender();var l=t.measureViewportBox();return n.forEach((function(n){var o=t.getValue(n);to(o,so[n](r,s)),e[n]=so[n](l,i)})),e}(t,e,u);return l.length&&l.forEach((function(t){var n=r.__read(t,2),o=n[0],i=n[1];e.getValue(o).set(i)})),e.syncRender(),{target:d,transitionEnd:o}}return{target:t,transitionEnd:o}};function co(e,t,n,r){return function(e){return Object.keys(e).some(eo)}(t)?lo(e,t,n,r):{target:t,transitionEnd:r}}var uo=function(e,t,n,o){var i=function(e,t,n){var o,i=r.__rest(t,[]),a=e.getInstance();if(!(a instanceof HTMLElement))return{target:i,transitionEnd:n};for(var s in n&&(n=r.__assign({},n)),e.forEachValue((function(e){var t=e.get();if(yr(t)){var n=xr(t,a);n&&e.set(n)}})),i){var l=i[s];if(yr(l)){var c=xr(l,a);c&&(i[s]=c,n&&(null!==(o=n[s])&&void 0!==o||(n[s]=l)))}}return{target:i,transitionEnd:n}}(e,t,o);return co(e,t=i.target,n,o=i.transitionEnd)};var po={treeType:"dom",readValueFromInstance:function(e,t){if(Q(t)){var n=Dt(t);return n&&n.default||0}var r,o=(r=e,window.getComputedStyle(r));return(ie(t)?o.getPropertyValue(t):o[t])||0},sortNodePosition:function(e,t){return 2&e.compareDocumentPosition(t)?1:-1},getBaseTarget:function(e,t){var n;return null===(n=e.style)||void 0===n?void 0:n[t]},measureViewportBox:function(e,t){return Fn(e,t.transformPagePoint)},resetTransform:function(e,t,n){var r=n.transformTemplate;t.style.transform=r?r({},""):"none",e.scheduleRender()},restoreTransform:function(e,t){e.style.transform=t.style.transform},removeValueFromRenderState:function(e,t){var n=t.vars,r=t.style;delete n[e],delete r[e]},makeTargetAnimatable:function(e,t,n,o){var i=n.transformValues;void 0===o&&(o=!0);var a=t.transition,s=t.transitionEnd,l=r.__rest(t,["transition","transitionEnd"]),c=tn(l,a||{},e);if(i&&(s&&(s=i(s)),l&&(l=i(l)),c&&(c=i(c))),o){Qt(e,l,c);var u=uo(e,l,c,s);s=u.transitionEnd,l=u.target}return r.__assign({transition:a,transitionEnd:s},l)},scrapeMotionValuesFromProps:De,build:function(e,t,n,r,o,i,a){void 0!==e.isVisible&&(t.style.visibility=e.isVisible?"visible":"hidden");var s=r.isEnabled&&o.isHydrated;ce(t,n,r,o,i,a.transformTemplate,s?Br:void 0,s?zr:void 0)},render:$e},fo=qr(po),ho=qr(r.__assign(r.__assign({},po),{getBaseTarget:function(e,t){return e[t]},readValueFromInstance:function(e,t){var n;return Q(t)?(null===(n=Dt(t))||void 0===n?void 0:n.default)||0:(t=Me.has(t)?t:Oe(t),e.getAttribute(t))},scrapeMotionValuesFromProps:Le,build:function(e,t,n,r,o,i,a){var s=r.isEnabled&&o.isHydrated;ke(t,n,r,o,i,a.transformTemplate,s?Br:void 0,s?zr:void 0)},render:Ae})),mo=function(e,t){return V(e)?ho(t,{enableHardwareAcceleration:!1}):fo(t,{enableHardwareAcceleration:!0})},vo=r.__assign(r.__assign(r.__assign(r.__assign({},fn),gt),gr),_r),go=U((function(e,t){return Ue(e,t,vo,mo)}));var yo=U(Ue);var bo=0;function wo(){var e=bo;return bo++,e}var xo=function(e){var t=e.children,n=e.initial,r=e.isPresent,i=e.onExitComplete,a=e.custom,s=e.presenceAffectsLayout,l=C(ko),c=C(wo),u=o.useMemo((function(){return{id:c,initial:n,isPresent:r,custom:a,onExitComplete:function(e){l.set(e,!0);var t=!0;l.forEach((function(e){e||(t=!1)})),t&&(null==i||i())},register:function(e){return l.set(e,!1),function(){return l.delete(e)}}}}),s?void 0:[r]);return o.useMemo((function(){l.forEach((function(e,t){return l.set(t,!1)}))}),[r]),d.useEffect((function(){!r&&!l.size&&(null==i||i())}),[r]),d.createElement(S.Provider,{value:u},t)};function ko(){return new Map}function So(e){return e.key||""}function Co(e,t,n){void 0===n&&(n={});var r=re(e)?e:Ut(e);return _t("",r,t,n),{stop:function(){return r.stop()}}}function Eo(){var e=Ut(1),t={lead:void 0,follow:void 0,crossfadeOpacity:!1,preserveFollowOpacity:!1},n=r.__assign({},t),o={},i={},a=!1,c=null,u=0;function d(n,o){var i=t.lead,s=t.follow;a=!0,c=null;var u=!1,d=function(){u=!0,i&&i.scheduleRender(),s&&s.scheduleRender()},p=function(){a=!1,c=l.getFrameData().timestamp};return o=o&&Zt(o,"crossfade"),Co(e,n,r.__assign(r.__assign({},o),{onUpdate:d,onComplete:function(){u?p():(e.set(n),f.default.read(p)),d()}}))}function p(){var n,r,a=l.getFrameData().timestamp,c=t.lead,d=t.follow;if(a!==u&&c){u=a;var p=c.getLatestValues();Object.assign(o,p);var f=d?d.getLatestValues():t.prevValues;Object.assign(i,f);var h=e.get(),m=null!==(n=p.opacity)&&void 0!==n?n:1,v=null!==(r=null==f?void 0:f.opacity)&&void 0!==r?r:1;t.crossfadeOpacity&&d?(o.opacity=s.mix(!1!==d.isVisible?0:v,m,To(h)),i.opacity=t.preserveFollowOpacity?v:s.mix(v,0,Oo(h))):d||(o.opacity=s.mix(v,m,h)),function(e,t,n,r,o,i){for(var a=0;a<Ao;a++){var l="border"+Mo[a]+"Radius",c=Do(r,l),u=Do(n,l);if((void 0!==c||void 0!==u)&&(c||(c=0),u||(u=0),"number"==typeof c&&"number"==typeof u)){var d=Math.max(s.mix(c,u,i),0);e[l]=t[l]=d}}if(r.rotate||n.rotate){var p=s.mix(r.rotate||0,n.rotate||0,i);e.rotate=t.rotate=p}!o&&n.backgroundColor&&r.backgroundColor&&(e.backgroundColor=t.backgroundColor=s.mixColor(r.backgroundColor,n.backgroundColor)(i))}(o,i,p,f||{},Boolean(d),h)}}return{isActive:function(){return o&&(a||l.getFrameData().timestamp===c)},fromLead:function(e){return d(0,e)},toLead:function(r){var o=0;return t.prevValues||t.follow?n.lead===t.follow&&n.follow===t.lead&&(o=1-e.get()):o=1,e.set(o),d(1,r)},reset:function(){return e.set(1)},stop:function(){return e.stop()},getCrossfadeState:function(e){return p(),e===t.lead?o:e===t.follow?i:void 0},setOptions:function(e){n=t,t=e,o={},i={}},getLatestValues:function(){return o}}}var To=$o(0,.5,s.circOut),Oo=$o(.5,.95,s.linear);function $o(e,t,n){return function(r){return r<e?0:r>t?1:n(s.progress(e,t,r))}}var Mo=["TopLeft","TopRight","BottomLeft","BottomRight"],Ao=Mo.length;function Do(e,t){var n;return null!==(n=e[t])&&void 0!==n?n:e.borderRadius}function Lo(){var e,t,n,o=new Set,i={leadIsExiting:!1},a=r.__assign({},i),s=Eo(),l=!1;return{add:function(e){e.setCrossfader(s),o.add(e),n&&(e.prevDragCursor=n),i.lead||(i.lead=e)},remove:function(e){o.delete(e)},getLead:function(){return i.lead},updateSnapshot:function(){if(i.lead){e=s.isActive()?s.getLatestValues():i.lead.getLatestValues(),t=i.lead.prevViewportBox;var r=pr.get(i.lead);r&&r.isDragging&&(n=r.cursorProgress)}},clearSnapshot:function(){n=t=void 0},updateLeadAndFollow:function(){var t,n,c;a=r.__assign({},i);for(var u=Array.from(o),d=u.length;d--;d>=0){var p=u[d];if(n&&(null!=c||(c=p)),null!=n||(n=p),n&&c)break}i.lead=n,i.follow=c,i.leadIsExiting=(null===(t=i.lead)||void 0===t?void 0:t.presence)===mr.Exiting,s.setOptions({lead:n,follow:c,prevValues:e,crossfadeOpacity:(null==c?void 0:c.isPresenceRoot)||(null==n?void 0:n.isPresenceRoot)}),i.lead===a.follow||a.lead===i.lead&&a.leadIsExiting===i.leadIsExiting||(l=!0)},animate:function(e,n){var r;if(void 0===n&&(n=!1),e===i.lead){n?e.pointTo(i.lead):e.setVisibility(!0);var o={},a=null===(r=i.follow)||void 0===r?void 0:r.getProjectionParent();if(a&&(o.prevParent=a),e.presence===mr.Entering?o.originBox=i.follow?i.follow.prevViewportBox:t:e.presence===mr.Exiting&&(o.targetBox=function(){var e;return null===(e=i.follow)||void 0===e?void 0:e.getLayoutState().layout}()),l){l=!1;var c=e.getDefaultTransition();e.presence===mr.Entering?s.toLead(c):s.fromLead(c)}e.notifyLayoutReady(o)}else n?i.lead&&e.pointTo(i.lead):e.setVisibility(!1)}}}var No=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.children=new Set,t.stacks=new Map,t.hasMounted=!1,t.updateScheduled=!1,t.renderScheduled=!1,t.syncContext=r.__assign(r.__assign({},Lr()),{syncUpdate:function(e){return t.scheduleUpdate(e)},forceUpdate:function(){t.syncContext=r.__assign({},t.syncContext),t.scheduleUpdate(!0)},register:function(e){return t.addChild(e)},remove:function(e){return t.removeChild(e)}}),t}return r.__extends(t,e),t.prototype.componentDidMount=function(){this.hasMounted=!0},t.prototype.componentDidUpdate=function(){this.startLayoutAnimation()},t.prototype.shouldComponentUpdate=function(){return this.renderScheduled=!0,!0},t.prototype.startLayoutAnimation=function(){var e=this;this.renderScheduled=this.updateScheduled=!1;var t=this.props.type;this.children.forEach((function(e){e.isPresent?e.presence!==mr.Entering&&(e.presence=e.presence===mr.Exiting?mr.Entering:mr.Present):e.presence=mr.Exiting})),this.updateStacks();var n={layoutReady:function(n){void 0!==n.getLayoutId()?e.getStack(n).animate(n,"crossfade"===t):n.notifyLayoutReady()},parent:this.context.visualElement};this.children.forEach((function(t){return e.syncContext.add(t)})),this.syncContext.flush(n),this.stacks.forEach((function(e){return e.clearSnapshot()}))},t.prototype.updateStacks=function(){this.stacks.forEach((function(e){return e.updateLeadAndFollow()}))},t.prototype.scheduleUpdate=function(e){void 0===e&&(e=!1),!e&&this.updateScheduled||(this.updateScheduled=!0,this.children.forEach((function(e){!function(e){for(var t=!1,n={},r=0;r<K.length;r++){var o="rotate"+K[r];e.hasValue(o)&&0!==e.getStaticValue(o)&&(t=!0,n[o]=e.getStaticValue(o),e.setStaticValue(o,0))}if(t){for(var o in e.syncRender(),n)e.setStaticValue(o,n[o]);e.scheduleRender()}}(e),e.shouldResetTransform()&&e.resetTransform()})),this.children.forEach(Un),this.stacks.forEach((function(e){return e.updateSnapshot()})),!e&&this.renderScheduled||(this.renderScheduled=!0,this.forceUpdate()))},t.prototype.addChild=function(e){this.children.add(e),this.addToStack(e),e.presence=this.hasMounted?mr.Entering:mr.Present},t.prototype.removeChild=function(e){this.scheduleUpdate(),this.children.delete(e),this.removeFromStack(e)},t.prototype.addToStack=function(e){var t=this.getStack(e);null==t||t.add(e)},t.prototype.removeFromStack=function(e){var t=this.getStack(e);null==t||t.remove(e)},t.prototype.getStack=function(e){var t=e.getLayoutId();if(void 0!==t)return!this.stacks.has(t)&&this.stacks.set(t,Lo()),this.stacks.get(t)},t.prototype.render=function(){return d.createElement(Rr.Provider,{value:this.syncContext},this.props.children)},t.contextType=x,t}(d.Component);function Ro(e){return"function"==typeof e}var Io=r.__assign(r.__assign({renderer:mo},fn),gt),Po=r.__assign(r.__assign(r.__assign({},Io),gr),_r);function Zo(e){var t=C((function(){return Ut(e)}));if(o.useContext(w).isStatic){var n=r.__read(o.useState(e),2)[1];o.useEffect((function(){return t.onChange(n)}),[])}return t}function _o(e,t){o.useEffect((function(){if(re(e))return e.onChange(t)}),[t])}function Fo(e,t){var n=Zo(t()),r=function(){return n.set(t())};return r(),function(e,t){o.useEffect((function(){var n=e.map((function(e){return e.onChange(t)}));return function(){return n.forEach((function(e){return e()}))}}))}(e,(function(){return f.default.update(r,!1,!0)})),n}var jo=function(e){return function(e){return"object"==typeof e&&e.mix}(e)?e.mix:void 0};function Bo(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var n=!Array.isArray(e[0]),o=n?0:-1,i=e[0+o],a=e[1+o],l=e[2+o],c=e[3+o],u=s.interpolate(a,l,r.__assign({mixer:jo(l[0])},c));return n?u(i):u}function zo(e,t,n,o){var i="function"==typeof t?t:Bo(t,n,o);return Array.isArray(e)?Ho(e,i):Ho([e],(function(e){var t=r.__read(e,1)[0];return i(t)}))}function Ho(e,t){var n=C((function(){return[]}));return Fo(e,(function(){n.length=0;for(var r=e.length,o=0;o<r;o++)n[o]=e[o].get();return t(n)}))}function Uo(){return{scrollX:Ut(0),scrollY:Ut(0),scrollXProgress:Ut(0),scrollYProgress:Ut(0)}}function Wo(e,t,n){n.set(e&&t?e/t:0)}function Vo(e,t){var n=function(){var n=t(),r=n.xOffset,o=n.yOffset,i=n.xMaxOffset,a=n.yMaxOffset;e.scrollX.set(r),e.scrollY.set(o),Wo(r,i,e.scrollXProgress),Wo(o,a,e.scrollYProgress)};return n(),n}var qo;function Go(){return{xOffset:window.pageXOffset,yOffset:window.pageYOffset,xMaxOffset:document.body.clientWidth-window.innerWidth,yMaxOffset:document.body.clientHeight-window.innerHeight}}var Ko,Yo=!1;function Xo(){var e=!1,t=[],n=new Set,o={subscribe:function(e){return n.add(e),function(){n.delete(e)}},start:function(r,o){if(e){var i=[];return n.forEach((function(e){i.push(nn(e,r,{transitionOverride:o}))})),Promise.all(i)}return new Promise((function(e){t.push({animation:[r,o],resolve:e})}))},set:function(t){return i.invariant(e,"controls.set() should only be called after a component has mounted. Consider calling within a useEffect hook."),n.forEach((function(e){!function(e,t){Array.isArray(t)?Jt(e,t):"string"==typeof t?Jt(e,[t]):Xt(e,t)}(e,t)}))},stop:function(){n.forEach((function(e){!function(e){e.forEachValue((function(e){return e.stop()}))}(e)}))},mount:function(){return e=!0,t.forEach((function(e){var t=e.animation,n=e.resolve;o.start.apply(o,r.__spreadArray([],r.__read(t))).then(n)})),function(){e=!1,o.stop()}}};return o}var Jo=function(){function e(){this.componentControls=new Set}return e.prototype.subscribe=function(e){var t=this;return this.componentControls.add(e),function(){return t.componentControls.delete(e)}},e.prototype.start=function(e,t){this.componentControls.forEach((function(n){n.start(e.nativeEvent||e,t)}))},e.prototype.updateConstraints=function(e){void 0===e&&(e=!0),this.componentControls.forEach((function(e){e.updateConstraints()})),e&&cr()},e}(),Qo=function(){return new Jo};var ei=function(){return{}},ti=qr({build:function(){},measureViewportBox:Sn,resetTransform:function(){},restoreTransform:function(){},removeValueFromRenderState:function(){},render:function(){},scrapeMotionValuesFromProps:ei,readValueFromInstance:function(e,t,n){return n.initialState[t]||0},makeTargetAnimatable:function(e,t){var n=t.transition,o=t.transitionEnd,i=r.__rest(t,["transition","transitionEnd"]);return Qt(e,i,tn(i,n||{},e)),r.__assign({transition:n,transitionEnd:o},i)}}),ni=Fe({scrapeMotionValuesFromProps:ei,createRenderState:ei});var ri=function(e){return e>.001?1/e:1e5},oi=!1;t.AnimatePresence=function(e){var t=e.children,n=e.custom,i=e.initial,a=void 0===i||i,s=e.onExitComplete,l=e.exitBeforeEnter,c=e.presenceAffectsLayout,u=void 0===c||c,p=function(){var e=o.useRef(!1),t=r.__read(o.useState(0),2),n=t[0],i=t[1];return mt((function(){return e.current=!0})),o.useCallback((function(){!e.current&&i(n+1)}),[n])}(),f=o.useContext(Rr);Pr(f)&&(p=f.forceUpdate);var h=o.useRef(!0),m=function(e){var t=[];return o.Children.forEach(e,(function(e){o.isValidElement(e)&&t.push(e)})),t}(t),v=o.useRef(m),g=o.useRef(new Map).current,y=o.useRef(new Set).current;if(function(e,t){e.forEach((function(e){var n=So(e);t.set(n,e)}))}(m,g),h.current)return h.current=!1,d.createElement(d.Fragment,null,m.map((function(e){return d.createElement(xo,{key:So(e),isPresent:!0,initial:!!a&&void 0,presenceAffectsLayout:u},e)})));for(var b=r.__spreadArray([],r.__read(m)),w=v.current.map(So),x=m.map(So),k=w.length,S=0;S<k;S++){var C=w[S];-1===x.indexOf(C)?y.add(C):y.delete(C)}return l&&y.size&&(b=[]),y.forEach((function(e){if(-1===x.indexOf(e)){var t=g.get(e);if(t){var r=w.indexOf(e);b.splice(r,0,d.createElement(xo,{key:So(t),isPresent:!1,onExitComplete:function(){g.delete(e),y.delete(e);var t=v.current.findIndex((function(t){return t.key===e}));v.current.splice(t,1),y.size||(v.current=m,p(),s&&s())},custom:n,presenceAffectsLayout:u},t))}}})),b=b.map((function(e){var t=e.key;return y.has(t)?e:d.createElement(xo,{key:So(e),isPresent:!0,presenceAffectsLayout:u},e)})),v.current=b,d.createElement(d.Fragment,null,y.size?b:b.map((function(e){return o.cloneElement(e)})))},t.AnimateSharedLayout=No,t.DragControls=Jo,t.FlatTree=Vr,t.FramerTreeLayoutContext=Ir,t.LayoutGroupContext=A,t.LazyMotion=function(e){var t=e.children,n=e.features,i=e.strict,a=void 0!==i&&i,s=r.__read(o.useState(!Ro(n)),2)[1],l=o.useRef(void 0);if(!Ro(n)){var c=n.renderer,u=r.__rest(n,["renderer"]);l.current=c,v(u)}return o.useEffect((function(){Ro(n)&&n().then((function(e){var t=e.renderer;v(r.__rest(e,["renderer"])),l.current=t,s(!0)}))}),[]),d.createElement(g.Provider,{value:{renderer:l.current,strict:a}},t)},t.MotionConfig=function(e){var t=e.children,n=r.__rest(e,["children"]);(n=r.__assign(r.__assign({},o.useContext(w)),n)).isStatic=C((function(){return n.isStatic}));var i="object"==typeof n.transition?n.transition.toString():"",a=o.useMemo((function(){return n}),[i,n.transformPagePoint]);return d.createElement(w.Provider,{value:a},t)},t.MotionConfigContext=w,t.MotionValue=Ht,t.PresenceContext=S,t.SharedLayoutContext=Rr,t.addScaleCorrection=G,t.animate=Co,t.animateVisualElement=nn,t.animationControls=Xo,t.batchLayout=lr,t.createBatcher=Lr,t.createCrossfader=Eo,t.createDomMotionComponent=function(e){return H(Ue(e,{forwardMotionProps:!1},vo,mo))},t.createMotionComponent=H,t.domAnimation=Io,t.domMax=Po,t.flushLayout=cr,t.isValidMotionProp=me,t.m=yo,t.motion=go,t.motionValue=Ut,t.resolveMotionValue=Ze,t.snapshotViewportBox=Un,t.transform=Bo,t.useAnimation=function(){var e=C(Xo);return o.useEffect(e.mount,[]),e},t.useCycle=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var n=o.useRef(0),i=r.__read(o.useState(e[n.current]),2),a=i[0],l=i[1];return[a,function(t){n.current="number"!=typeof t?s.wrap(0,e.length,n.current+1):t,l(e[n.current])}]},t.useDeprecatedAnimatedState=function(e){var t=r.__read(o.useState(e),2),n=t[0],i=t[1],a=ni({},!1),s=C((function(){return ti({props:{},visualState:a},{initialState:e})}));return o.useEffect((function(){return s.mount({}),s.unmount()}),[]),o.useEffect((function(){s.setProps({onUpdate:function(e){return i(r.__assign({},e))}})})),[n,C((function(){return function(e){return nn(s,e)}}))]},t.useDeprecatedInvertedScale=function(e){var t=Zo(1),n=Zo(1),r=k();return i.invariant(!(!e&&!r),"If no scale values are provided, useInvertedScale must be used within a child of another motion component."),i.warning(oi,"useInvertedScale is deprecated and will be removed in 3.0. Use the layout prop instead."),oi=!0,e?(t=e.scaleX||t,n=e.scaleY||n):r&&(t=r.getValue("scaleX",1),n=r.getValue("scaleY",1)),{scaleX:zo(t,ri),scaleY:zo(n,ri)}},t.useDomEvent=Ve,t.useDragControls=function(){return C(Qo)},t.useElementScroll=function(e){var t=C(Uo);return L((function(){var n=e.current;if(i.invariant(!!n,"ref provided to useScroll must be passed into a HTML element."),n){var r=Vo(t,function(e){return function(){return{xOffset:e.scrollLeft,yOffset:e.scrollTop,xMaxOffset:e.scrollWidth-e.offsetWidth,yMaxOffset:e.scrollHeight-e.offsetHeight}}}(n)),o=We(n,"scroll",r,{passive:!0}),a=We(n,"resize",r);return function(){o&&o(),a&&a()}}}),[]),t},t.useIsPresent=function(){return T(o.useContext(S))},t.useMotionTemplate=function(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];var r=e.length;return Fo(t,(function(){for(var n="",o=0;o<r;o++){n+=e[o],t[o]&&(n+=t[o].get())}return n}))},t.useMotionValue=Zo,t.usePresence=E,t.useReducedMotion=function(){!Ko&&function(){if(Ko=Ut(null),"undefined"!=typeof window)if(window.matchMedia){var e=window.matchMedia("(prefers-reduced-motion)"),t=function(){return Ko.set(e.matches)};e.addListener(t),t()}else Ko.set(!1)}();var e=r.__read(o.useState(Ko.get()),2),t=e[0],n=e[1];return _o(Ko,n),t},t.useSpring=function(e,t){void 0===t&&(t={});var n=o.useContext(w).isStatic,i=o.useRef(null),a=Zo(re(e)?e.get():e);return o.useMemo((function(){return a.attach((function(e,o){return n?o(e):(i.current&&i.current.stop(),i.current=s.animate(r.__assign(r.__assign({from:a.get(),to:e,velocity:a.getVelocity()},t),{onUpdate:o})),a.get())}))}),Object.values(t)),_o(e,(function(e){return a.set(parseFloat(e))})),a},t.useTransform=zo,t.useVelocity=function(e){var t=Zo(e.getVelocity());return o.useEffect((function(){return e.velocityUpdateSubscribers.add((function(e){t.set(e)}))}),[e]),t},t.useViewportScroll=function(){return qo||(qo=Uo()),L((function(){!Yo&&function(){if(Yo=!0,"undefined"!=typeof window){var e=Vo(qo,Go);We(window,"scroll",e,{passive:!0}),We(window,"resize",e)}}()}),[]),qo},t.visualElement=qr},64910:(e,t,n)=>{"use strict";n.d(t,{Z:()=>o});var r=/^((children|dangerouslySetInnerHTML|key|ref|autoFocus|defaultValue|defaultChecked|innerHTML|suppressContentEditableWarning|suppressHydrationWarning|valueLink|accept|acceptCharset|accessKey|action|allow|allowUserMedia|allowPaymentRequest|allowFullScreen|allowTransparency|alt|async|autoComplete|autoPlay|capture|cellPadding|cellSpacing|challenge|charSet|checked|cite|classID|className|cols|colSpan|content|contentEditable|contextMenu|controls|controlsList|coords|crossOrigin|data|dateTime|decoding|default|defer|dir|disabled|disablePictureInPicture|download|draggable|encType|form|formAction|formEncType|formMethod|formNoValidate|formTarget|frameBorder|headers|height|hidden|high|href|hrefLang|htmlFor|httpEquiv|id|inputMode|integrity|is|keyParams|keyType|kind|label|lang|list|loading|loop|low|marginHeight|marginWidth|max|maxLength|media|mediaGroup|method|min|minLength|multiple|muted|name|nonce|noValidate|open|optimum|pattern|placeholder|playsInline|poster|preload|profile|radioGroup|readOnly|referrerPolicy|rel|required|reversed|role|rows|rowSpan|sandbox|scope|scoped|scrolling|seamless|selected|shape|size|sizes|slot|span|spellCheck|src|srcDoc|srcLang|srcSet|start|step|style|summary|tabIndex|target|title|type|useMap|value|width|wmode|wrap|about|datatype|inlist|prefix|property|resource|typeof|vocab|autoCapitalize|autoCorrect|autoSave|color|inert|itemProp|itemScope|itemType|itemID|itemRef|on|results|security|unselectable|accentHeight|accumulate|additive|alignmentBaseline|allowReorder|alphabetic|amplitude|arabicForm|ascent|attributeName|attributeType|autoReverse|azimuth|baseFrequency|baselineShift|baseProfile|bbox|begin|bias|by|calcMode|capHeight|clip|clipPathUnits|clipPath|clipRule|colorInterpolation|colorInterpolationFilters|colorProfile|colorRendering|contentScriptType|contentStyleType|cursor|cx|cy|d|decelerate|descent|diffuseConstant|direction|display|divisor|dominantBaseline|dur|dx|dy|edgeMode|elevation|enableBackground|end|exponent|externalResourcesRequired|fill|fillOpacity|fillRule|filter|filterRes|filterUnits|floodColor|floodOpacity|focusable|fontFamily|fontSize|fontSizeAdjust|fontStretch|fontStyle|fontVariant|fontWeight|format|from|fr|fx|fy|g1|g2|glyphName|glyphOrientationHorizontal|glyphOrientationVertical|glyphRef|gradientTransform|gradientUnits|hanging|horizAdvX|horizOriginX|ideographic|imageRendering|in|in2|intercept|k|k1|k2|k3|k4|kernelMatrix|kernelUnitLength|kerning|keyPoints|keySplines|keyTimes|lengthAdjust|letterSpacing|lightingColor|limitingConeAngle|local|markerEnd|markerMid|markerStart|markerHeight|markerUnits|markerWidth|mask|maskContentUnits|maskUnits|mathematical|mode|numOctaves|offset|opacity|operator|order|orient|orientation|origin|overflow|overlinePosition|overlineThickness|panose1|paintOrder|pathLength|patternContentUnits|patternTransform|patternUnits|pointerEvents|points|pointsAtX|pointsAtY|pointsAtZ|preserveAlpha|preserveAspectRatio|primitiveUnits|r|radius|refX|refY|renderingIntent|repeatCount|repeatDur|requiredExtensions|requiredFeatures|restart|result|rotate|rx|ry|scale|seed|shapeRendering|slope|spacing|specularConstant|specularExponent|speed|spreadMethod|startOffset|stdDeviation|stemh|stemv|stitchTiles|stopColor|stopOpacity|strikethroughPosition|strikethroughThickness|string|stroke|strokeDasharray|strokeDashoffset|strokeLinecap|strokeLinejoin|strokeMiterlimit|strokeOpacity|strokeWidth|surfaceScale|systemLanguage|tableValues|targetX|targetY|textAnchor|textDecoration|textRendering|textLength|to|transform|u1|u2|underlinePosition|underlineThickness|unicode|unicodeBidi|unicodeRange|unitsPerEm|vAlphabetic|vHanging|vIdeographic|vMathematical|values|vectorEffect|version|vertAdvY|vertOriginX|vertOriginY|viewBox|viewTarget|visibility|widths|wordSpacing|writingMode|x|xHeight|x1|x2|xChannelSelector|xlinkActuate|xlinkArcrole|xlinkHref|xlinkRole|xlinkShow|xlinkTitle|xlinkType|xmlBase|xmlns|xmlnsXlink|xmlLang|xmlSpace|y|y1|y2|yChannelSelector|z|zoomAndPan|for|class|autofocus)|(([Dd][Aa][Tt][Aa]|[Aa][Rr][Ii][Aa]|x)-.*))$/;const o=function(e){var t={};return function(n){return void 0===t[n]&&(t[n]=e(n)),t[n]}}((function(e){return r.test(e)||111===e.charCodeAt(0)&&110===e.charCodeAt(1)&&e.charCodeAt(2)<91}))},84839:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=1/60*1e3,r="undefined"!=typeof performance?function(){return performance.now()}:function(){return Date.now()},o="undefined"!=typeof window?function(e){return window.requestAnimationFrame(e)}:function(e){return setTimeout((function(){return e(r())}),n)};var i=!0,a=!1,s=!1,l={delta:0,timestamp:0},c=["read","update","preRender","render","postRender"],u=c.reduce((function(e,t){return e[t]=function(e){var t=[],n=[],r=0,o=!1,i=new WeakSet,a={schedule:function(e,a,s){void 0===a&&(a=!1),void 0===s&&(s=!1);var l=s&&o,c=l?t:n;return a&&i.add(e),-1===c.indexOf(e)&&(c.push(e),l&&o&&(r=t.length)),e},cancel:function(e){var t=n.indexOf(e);-1!==t&&n.splice(t,1),i.delete(e)},process:function(s){var l;if(o=!0,t=(l=[n,t])[0],(n=l[1]).length=0,r=t.length)for(var c=0;c<r;c++){var u=t[c];u(s),i.has(u)&&(a.schedule(u),e())}o=!1}};return a}((function(){return a=!0})),e}),{}),d=c.reduce((function(e,t){var n=u[t];return e[t]=function(e,t,r){return void 0===t&&(t=!1),void 0===r&&(r=!1),a||v(),n.schedule(e,t,r)},e}),{}),p=c.reduce((function(e,t){return e[t]=u[t].cancel,e}),{}),f=c.reduce((function(e,t){return e[t]=function(){return u[t].process(l)},e}),{}),h=function(e){return u[e].process(l)},m=function(e){a=!1,l.delta=i?n:Math.max(Math.min(e-l.timestamp,40),1),l.timestamp=e,s=!0,c.forEach(h),s=!1,a&&(i=!1,o(m))},v=function(){a=!0,i=!0,s||o(m)};t.cancelSync=p,t.default=d,t.flushSync=f,t.getFrameData=function(){return l}},24394:(e,t,n)=>{"use strict";n.r(t),n.d(t,{invariant:()=>o,warning:()=>r});var r=function(){},o=function(){}},8679:(e,t,n)=>{"use strict";var r=n(21296),o={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},i={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},a={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},s={};function l(e){return r.isMemo(e)?a:s[e.$$typeof]||o}s[r.ForwardRef]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},s[r.Memo]=a;var c=Object.defineProperty,u=Object.getOwnPropertyNames,d=Object.getOwnPropertySymbols,p=Object.getOwnPropertyDescriptor,f=Object.getPrototypeOf,h=Object.prototype;e.exports=function e(t,n,r){if("string"!=typeof n){if(h){var o=f(n);o&&o!==h&&e(t,o,r)}var a=u(n);d&&(a=a.concat(d(n)));for(var s=l(t),m=l(n),v=0;v<a.length;++v){var g=a[v];if(!(i[g]||r&&r[g]||m&&m[g]||s&&s[g])){var y=p(n,g);try{c(t,g,y)}catch(b){}}}}return t}},96103:(e,t)=>{"use strict";var n="function"==typeof Symbol&&Symbol.for,r=n?Symbol.for("react.element"):60103,o=n?Symbol.for("react.portal"):60106,i=n?Symbol.for("react.fragment"):60107,a=n?Symbol.for("react.strict_mode"):60108,s=n?Symbol.for("react.profiler"):60114,l=n?Symbol.for("react.provider"):60109,c=n?Symbol.for("react.context"):60110,u=n?Symbol.for("react.async_mode"):60111,d=n?Symbol.for("react.concurrent_mode"):60111,p=n?Symbol.for("react.forward_ref"):60112,f=n?Symbol.for("react.suspense"):60113,h=n?Symbol.for("react.suspense_list"):60120,m=n?Symbol.for("react.memo"):60115,v=n?Symbol.for("react.lazy"):60116,g=n?Symbol.for("react.block"):60121,y=n?Symbol.for("react.fundamental"):60117,b=n?Symbol.for("react.responder"):60118,w=n?Symbol.for("react.scope"):60119;function x(e){if("object"==typeof e&&null!==e){var t=e.$$typeof;switch(t){case r:switch(e=e.type){case u:case d:case i:case s:case a:case f:return e;default:switch(e=e&&e.$$typeof){case c:case p:case v:case m:case l:return e;default:return t}}case o:return t}}}function k(e){return x(e)===d}t.AsyncMode=u,t.ConcurrentMode=d,t.ContextConsumer=c,t.ContextProvider=l,t.Element=r,t.ForwardRef=p,t.Fragment=i,t.Lazy=v,t.Memo=m,t.Portal=o,t.Profiler=s,t.StrictMode=a,t.Suspense=f,t.isAsyncMode=function(e){return k(e)||x(e)===u},t.isConcurrentMode=k,t.isContextConsumer=function(e){return x(e)===c},t.isContextProvider=function(e){return x(e)===l},t.isElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===r},t.isForwardRef=function(e){return x(e)===p},t.isFragment=function(e){return x(e)===i},t.isLazy=function(e){return x(e)===v},t.isMemo=function(e){return x(e)===m},t.isPortal=function(e){return x(e)===o},t.isProfiler=function(e){return x(e)===s},t.isStrictMode=function(e){return x(e)===a},t.isSuspense=function(e){return x(e)===f},t.isValidElementType=function(e){return"string"==typeof e||"function"==typeof e||e===i||e===d||e===s||e===a||e===f||e===h||"object"==typeof e&&null!==e&&(e.$$typeof===v||e.$$typeof===m||e.$$typeof===l||e.$$typeof===c||e.$$typeof===p||e.$$typeof===y||e.$$typeof===b||e.$$typeof===w||e.$$typeof===g)},t.typeOf=x},21296:(e,t,n)=>{"use strict";e.exports=n(96103)},85197:e=>{var t;t=function(e){"use strict";return function(){for(var t=[["Afghanistan (افغانستان)","af","93"],["Albania (Shqipëri)","al","355"],["Algeria (الجزائر)","dz","213"],["American Samoa","as","1",5,["684"]],["Andorra","ad","376"],["Angola","ao","244"],["Anguilla","ai","1",6,["264"]],["Antigua and Barbuda","ag","1",7,["268"]],["Argentina","ar","54"],["Armenia (Հայաստան)","am","374"],["Aruba","aw","297"],["Ascension Island","ac","247"],["Australia","au","61",0],["Austria (Österreich)","at","43"],["Azerbaijan (Azərbaycan)","az","994"],["Bahamas","bs","1",8,["242"]],["Bahrain (البحرين)","bh","973"],["Bangladesh (বাংলাদেশ)","bd","880"],["Barbados","bb","1",9,["246"]],["Belarus (Беларусь)","by","375"],["Belgium (België)","be","32"],["Belize","bz","501"],["Benin (Bénin)","bj","229"],["Bermuda","bm","1",10,["441"]],["Bhutan (འབྲུག)","bt","975"],["Bolivia","bo","591"],["Bosnia and Herzegovina (Босна и Херцеговина)","ba","387"],["Botswana","bw","267"],["Brazil (Brasil)","br","55"],["British Indian Ocean Territory","io","246"],["British Virgin Islands","vg","1",11,["284"]],["Brunei","bn","673"],["Bulgaria (България)","bg","359"],["Burkina Faso","bf","226"],["Burundi (Uburundi)","bi","257"],["Cambodia (កម្ពុជា)","kh","855"],["Cameroon (Cameroun)","cm","237"],["Canada","ca","1",1,["204","226","236","249","250","289","306","343","365","387","403","416","418","431","437","438","450","506","514","519","548","579","581","587","604","613","639","647","672","705","709","742","778","780","782","807","819","825","867","873","902","905"]],["Cape Verde (Kabu Verdi)","cv","238"],["Caribbean Netherlands","bq","599",1,["3","4","7"]],["Cayman Islands","ky","1",12,["345"]],["Central African Republic (République centrafricaine)","cf","236"],["Chad (Tchad)","td","235"],["Chile","cl","56"],["China (中国)","cn","86"],["Christmas Island","cx","61",2,["89164"]],["Cocos (Keeling) Islands","cc","61",1,["89162"]],["Colombia","co","57"],["Comoros (جزر القمر)","km","269"],["Congo (DRC) (Jamhuri ya Kidemokrasia ya Kongo)","cd","243"],["Congo (Republic) (Congo-Brazzaville)","cg","242"],["Cook Islands","ck","682"],["Costa Rica","cr","506"],["Côte d’Ivoire","ci","225"],["Croatia (Hrvatska)","hr","385"],["Cuba","cu","53"],["Curaçao","cw","599",0],["Cyprus (Κύπρος)","cy","357"],["Czech Republic (Česká republika)","cz","420"],["Denmark (Danmark)","dk","45"],["Djibouti","dj","253"],["Dominica","dm","1",13,["767"]],["Dominican Republic (República Dominicana)","do","1",2,["809","829","849"]],["Ecuador","ec","593"],["Egypt (مصر)","eg","20"],["El Salvador","sv","503"],["Equatorial Guinea (Guinea Ecuatorial)","gq","240"],["Eritrea","er","291"],["Estonia (Eesti)","ee","372"],["Eswatini","sz","268"],["Ethiopia","et","251"],["Falkland Islands (Islas Malvinas)","fk","500"],["Faroe Islands (Føroyar)","fo","298"],["Fiji","fj","679"],["Finland (Suomi)","fi","358",0],["France","fr","33"],["French Guiana (Guyane française)","gf","594"],["French Polynesia (Polynésie française)","pf","689"],["Gabon","ga","241"],["Gambia","gm","220"],["Georgia (საქართველო)","ge","995"],["Germany (Deutschland)","de","49"],["Ghana (Gaana)","gh","233"],["Gibraltar","gi","350"],["Greece (Ελλάδα)","gr","30"],["Greenland (Kalaallit Nunaat)","gl","299"],["Grenada","gd","1",14,["473"]],["Guadeloupe","gp","590",0],["Guam","gu","1",15,["671"]],["Guatemala","gt","502"],["Guernsey","gg","44",1,["1481","7781","7839","7911"]],["Guinea (Guinée)","gn","224"],["Guinea-Bissau (Guiné Bissau)","gw","245"],["Guyana","gy","592"],["Haiti","ht","509"],["Honduras","hn","504"],["Hong Kong (香港)","hk","852"],["Hungary (Magyarország)","hu","36"],["Iceland (Ísland)","is","354"],["India (भारत)","in","91"],["Indonesia","id","62"],["Iran (ایران)","ir","98"],["Iraq (العراق)","iq","964"],["Ireland","ie","353"],["Isle of Man","im","44",2,["1624","74576","7524","7924","7624"]],["Israel (ישראל)","il","972"],["Italy (Italia)","it","39",0],["Jamaica","jm","1",4,["876","658"]],["Japan (日本)","jp","81"],["Jersey","je","44",3,["1534","7509","7700","7797","7829","7937"]],["Jordan (الأردن)","jo","962"],["Kazakhstan (Казахстан)","kz","7",1,["33","7"]],["Kenya","ke","254"],["Kiribati","ki","686"],["Kosovo","xk","383"],["Kuwait (الكويت)","kw","965"],["Kyrgyzstan (Кыргызстан)","kg","996"],["Laos (ລາວ)","la","856"],["Latvia (Latvija)","lv","371"],["Lebanon (لبنان)","lb","961"],["Lesotho","ls","266"],["Liberia","lr","231"],["Libya (ليبيا)","ly","218"],["Liechtenstein","li","423"],["Lithuania (Lietuva)","lt","370"],["Luxembourg","lu","352"],["Macau (澳門)","mo","853"],["Madagascar (Madagasikara)","mg","261"],["Malawi","mw","265"],["Malaysia","my","60"],["Maldives","mv","960"],["Mali","ml","223"],["Malta","mt","356"],["Marshall Islands","mh","692"],["Martinique","mq","596"],["Mauritania (موريتانيا)","mr","222"],["Mauritius (Moris)","mu","230"],["Mayotte","yt","262",1,["269","639"]],["Mexico (México)","mx","52"],["Micronesia","fm","691"],["Moldova (Republica Moldova)","md","373"],["Monaco","mc","377"],["Mongolia (Монгол)","mn","976"],["Montenegro (Crna Gora)","me","382"],["Montserrat","ms","1",16,["664"]],["Morocco (المغرب)","ma","212",0],["Mozambique (Moçambique)","mz","258"],["Myanmar (Burma) (မြန်မာ)","mm","95"],["Namibia (Namibië)","na","264"],["Nauru","nr","674"],["Nepal (नेपाल)","np","977"],["Netherlands (Nederland)","nl","31"],["New Caledonia (Nouvelle-Calédonie)","nc","687"],["New Zealand","nz","64"],["Nicaragua","ni","505"],["Niger (Nijar)","ne","227"],["Nigeria","ng","234"],["Niue","nu","683"],["Norfolk Island","nf","672"],["North Korea (조선 민주주의 인민 공화국)","kp","850"],["North Macedonia (Северна Македонија)","mk","389"],["Northern Mariana Islands","mp","1",17,["670"]],["Norway (Norge)","no","47",0],["Oman (عُمان)","om","968"],["Pakistan (پاکستان)","pk","92"],["Palau","pw","680"],["Palestine (فلسطين)","ps","970"],["Panama (Panamá)","pa","507"],["Papua New Guinea","pg","675"],["Paraguay","py","595"],["Peru (Perú)","pe","51"],["Philippines","ph","63"],["Poland (Polska)","pl","48"],["Portugal","pt","351"],["Puerto Rico","pr","1",3,["787","939"]],["Qatar (قطر)","qa","974"],["Réunion (La Réunion)","re","262",0],["Romania (România)","ro","40"],["Russia (Россия)","ru","7",0],["Rwanda","rw","250"],["Saint Barthélemy","bl","590",1],["Saint Helena","sh","290"],["Saint Kitts and Nevis","kn","1",18,["869"]],["Saint Lucia","lc","1",19,["758"]],["Saint Martin (Saint-Martin (partie française))","mf","590",2],["Saint Pierre and Miquelon (Saint-Pierre-et-Miquelon)","pm","508"],["Saint Vincent and the Grenadines","vc","1",20,["784"]],["Samoa","ws","685"],["San Marino","sm","378"],["São Tomé and Príncipe (São Tomé e Príncipe)","st","239"],["Saudi Arabia (المملكة العربية السعودية)","sa","966"],["Senegal (Sénégal)","sn","221"],["Serbia (Србија)","rs","381"],["Seychelles","sc","248"],["Sierra Leone","sl","232"],["Singapore","sg","65"],["Sint Maarten","sx","1",21,["721"]],["Slovakia (Slovensko)","sk","421"],["Slovenia (Slovenija)","si","386"],["Solomon Islands","sb","677"],["Somalia (Soomaaliya)","so","252"],["South Africa","za","27"],["South Korea (대한민국)","kr","82"],["South Sudan (جنوب السودان)","ss","211"],["Spain (España)","es","34"],["Sri Lanka (ශ්රී ලංකාව)","lk","94"],["Sudan (السودان)","sd","249"],["Suriname","sr","597"],["Svalbard and Jan Mayen","sj","47",1,["79"]],["Sweden (Sverige)","se","46"],["Switzerland (Schweiz)","ch","41"],["Syria (سوريا)","sy","963"],["Taiwan (台灣)","tw","886"],["Tajikistan","tj","992"],["Tanzania","tz","255"],["Thailand (ไทย)","th","66"],["Timor-Leste","tl","670"],["Togo","tg","228"],["Tokelau","tk","690"],["Tonga","to","676"],["Trinidad and Tobago","tt","1",22,["868"]],["Tunisia (تونس)","tn","216"],["Turkey (Türkiye)","tr","90"],["Turkmenistan","tm","993"],["Turks and Caicos Islands","tc","1",23,["649"]],["Tuvalu","tv","688"],["U.S. Virgin Islands","vi","1",24,["340"]],["Uganda","ug","256"],["Ukraine (Україна)","ua","380"],["United Arab Emirates (الإمارات العربية المتحدة)","ae","971"],["United Kingdom","gb","44",0],["United States","us","1",0],["Uruguay","uy","598"],["Uzbekistan (Oʻzbekiston)","uz","998"],["Vanuatu","vu","678"],["Vatican City (Città del Vaticano)","va","39",1,["06698"]],["Venezuela","ve","58"],["Vietnam (Việt Nam)","vn","84"],["Wallis and Futuna (Wallis-et-Futuna)","wf","681"],["Western Sahara (الصحراء الغربية)","eh","212",1,["5288","5289"]],["Yemen (اليمن)","ye","967"],["Zambia","zm","260"],["Zimbabwe","zw","263"],["Åland Islands","ax","358",1,["18"]]],n=0;n<t.length;n++){var r=t[n];t[n]={name:r[0],iso2:r[1],dialCode:r[2],priority:r[3]||0,areaCodes:r[4]||null}}function o(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 i={getInstance:function(e){var t=e.getAttribute("data-intl-tel-input-id");return window.intlTelInputGlobals.instances[t]},instances:{},documentReady:function(){return"complete"===document.readyState}};"object"==typeof window&&(window.intlTelInputGlobals=i);var a=0,s={allowDropdown:!0,autoHideDialCode:!0,autoPlaceholder:"polite",customContainer:"",customPlaceholder:null,dropdownContainer:null,excludeCountries:[],formatOnDisplay:!0,geoIpLookup:null,hiddenInput:"",initialCountry:"",localizedCountries:null,nationalMode:!0,onlyCountries:[],placeholderNumberType:"MOBILE",preferredCountries:["us","gb"],separateDialCode:!1,utilsScript:""},l=["800","822","833","844","855","866","877","880","881","882","883","884","885","886","887","888","889"],c=function(e,t){for(var n=Object.keys(e),r=0;r<n.length;r++)t(n[r],e[n[r]])},u=function(e){c(window.intlTelInputGlobals.instances,(function(t){window.intlTelInputGlobals.instances[t][e]()}))},d=function(){function n(e,t){var r=this;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,n),this.id=a++,this.telInput=e,this.activeItem=null,this.highlightedItem=null;var o=t||{};this.options={},c(s,(function(e,t){r.options[e]=o.hasOwnProperty(e)?o[e]:t})),this.hadInitialPlaceholder=Boolean(e.getAttribute("placeholder"))}var r,i,d;return r=n,i=[{key:"_init",value:function(){var e=this;if(this.options.nationalMode&&(this.options.autoHideDialCode=!1),this.options.separateDialCode&&(this.options.autoHideDialCode=this.options.nationalMode=!1),this.isMobile=/Android.+Mobile|webOS|iPhone|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent),this.isMobile&&(document.body.classList.add("iti-mobile"),this.options.dropdownContainer||(this.options.dropdownContainer=document.body)),"undefined"!=typeof Promise){var t=new Promise((function(t,n){e.resolveAutoCountryPromise=t,e.rejectAutoCountryPromise=n})),n=new Promise((function(t,n){e.resolveUtilsScriptPromise=t,e.rejectUtilsScriptPromise=n}));this.promise=Promise.all([t,n])}else this.resolveAutoCountryPromise=this.rejectAutoCountryPromise=function(){},this.resolveUtilsScriptPromise=this.rejectUtilsScriptPromise=function(){};this.selectedCountryData={},this._processCountryData(),this._generateMarkup(),this._setInitialState(),this._initListeners(),this._initRequests()}},{key:"_processCountryData",value:function(){this._processAllCountries(),this._processCountryCodes(),this._processPreferredCountries(),this.options.localizedCountries&&this._translateCountriesByLocale(),(this.options.onlyCountries.length||this.options.localizedCountries)&&this.countries.sort(this._countryNameSort)}},{key:"_addCountryCode",value:function(t,n,r){n.length>this.countryCodeMaxLen&&(this.countryCodeMaxLen=n.length),this.countryCodes.hasOwnProperty(n)||(this.countryCodes[n]=[]);for(var o=0;o<this.countryCodes[n].length;o++)if(this.countryCodes[n][o]===t)return;var i=r!==e?r:this.countryCodes[n].length;this.countryCodes[n][i]=t}},{key:"_processAllCountries",value:function(){if(this.options.onlyCountries.length){var e=this.options.onlyCountries.map((function(e){return e.toLowerCase()}));this.countries=t.filter((function(t){return e.indexOf(t.iso2)>-1}))}else if(this.options.excludeCountries.length){var n=this.options.excludeCountries.map((function(e){return e.toLowerCase()}));this.countries=t.filter((function(e){return-1===n.indexOf(e.iso2)}))}else this.countries=t}},{key:"_translateCountriesByLocale",value:function(){for(var e=0;e<this.countries.length;e++){var t=this.countries[e].iso2.toLowerCase();this.options.localizedCountries.hasOwnProperty(t)&&(this.countries[e].name=this.options.localizedCountries[t])}}},{key:"_countryNameSort",value:function(e,t){return e.name.localeCompare(t.name)}},{key:"_processCountryCodes",value:function(){this.countryCodeMaxLen=0,this.dialCodes={},this.countryCodes={};for(var e=0;e<this.countries.length;e++){var t=this.countries[e];this.dialCodes[t.dialCode]||(this.dialCodes[t.dialCode]=!0),this._addCountryCode(t.iso2,t.dialCode,t.priority)}for(var n=0;n<this.countries.length;n++){var r=this.countries[n];if(r.areaCodes)for(var o=this.countryCodes[r.dialCode][0],i=0;i<r.areaCodes.length;i++){for(var a=r.areaCodes[i],s=1;s<a.length;s++){var l=r.dialCode+a.substr(0,s);this._addCountryCode(o,l),this._addCountryCode(r.iso2,l)}this._addCountryCode(r.iso2,r.dialCode+a)}}}},{key:"_processPreferredCountries",value:function(){this.preferredCountries=[];for(var e=0;e<this.options.preferredCountries.length;e++){var t=this.options.preferredCountries[e].toLowerCase(),n=this._getCountryData(t,!1,!0);n&&this.preferredCountries.push(n)}}},{key:"_createEl",value:function(e,t,n){var r=document.createElement(e);return t&&c(t,(function(e,t){return r.setAttribute(e,t)})),n&&n.appendChild(r),r}},{key:"_generateMarkup",value:function(){this.telInput.hasAttribute("autocomplete")||this.telInput.form&&this.telInput.form.hasAttribute("autocomplete")||this.telInput.setAttribute("autocomplete","off");var e="iti";this.options.allowDropdown&&(e+=" iti--allow-dropdown"),this.options.separateDialCode&&(e+=" iti--separate-dial-code"),this.options.customContainer&&(e+=" ",e+=this.options.customContainer);var t=this._createEl("div",{class:e});if(this.telInput.parentNode.insertBefore(t,this.telInput),this.flagsContainer=this._createEl("div",{class:"iti__flag-container"},t),t.appendChild(this.telInput),this.selectedFlag=this._createEl("div",{class:"iti__selected-flag",role:"combobox","aria-controls":"iti-".concat(this.id,"__country-listbox"),"aria-owns":"iti-".concat(this.id,"__country-listbox"),"aria-expanded":"false"},this.flagsContainer),this.selectedFlagInner=this._createEl("div",{class:"iti__flag"},this.selectedFlag),this.options.separateDialCode&&(this.selectedDialCode=this._createEl("div",{class:"iti__selected-dial-code"},this.selectedFlag)),this.options.allowDropdown&&(this.selectedFlag.setAttribute("tabindex","0"),this.dropdownArrow=this._createEl("div",{class:"iti__arrow"},this.selectedFlag),this.countryList=this._createEl("ul",{class:"iti__country-list iti__hide",id:"iti-".concat(this.id,"__country-listbox"),role:"listbox","aria-label":"List of countries"}),this.preferredCountries.length&&(this._appendListItems(this.preferredCountries,"iti__preferred",!0),this._createEl("li",{class:"iti__divider",role:"separator","aria-disabled":"true"},this.countryList)),this._appendListItems(this.countries,"iti__standard"),this.options.dropdownContainer?(this.dropdown=this._createEl("div",{class:"iti iti--container"}),this.dropdown.appendChild(this.countryList)):this.flagsContainer.appendChild(this.countryList)),this.options.hiddenInput){var n=this.options.hiddenInput,r=this.telInput.getAttribute("name");if(r){var o=r.lastIndexOf("[");-1!==o&&(n="".concat(r.substr(0,o),"[").concat(n,"]"))}this.hiddenInput=this._createEl("input",{type:"hidden",name:n}),t.appendChild(this.hiddenInput)}}},{key:"_appendListItems",value:function(e,t,n){for(var r="",o=0;o<e.length;o++){var i=e[o],a=n?"-preferred":"";r+="<li class='iti__country ".concat(t,"' tabIndex='-1' id='iti-").concat(this.id,"__item-").concat(i.iso2).concat(a,"' role='option' data-dial-code='").concat(i.dialCode,"' data-country-code='").concat(i.iso2,"' aria-selected='false'>"),r+="<div class='iti__flag-box'><div class='iti__flag iti__".concat(i.iso2,"'></div></div>"),r+="<span class='iti__country-name'>".concat(i.name,"</span>"),r+="<span class='iti__dial-code'>+".concat(i.dialCode,"</span>"),r+="</li>"}this.countryList.insertAdjacentHTML("beforeend",r)}},{key:"_setInitialState",value:function(){var e=this.telInput.getAttribute("value"),t=this.telInput.value,n=!e||"+"!==e.charAt(0)||t&&"+"===t.charAt(0)?t:e,r=this._getDialCode(n),o=this._isRegionlessNanp(n),i=this.options,a=i.initialCountry,s=i.nationalMode,l=i.autoHideDialCode,c=i.separateDialCode;r&&!o?this._updateFlagFromNumber(n):"auto"!==a&&(a?this._setFlag(a.toLowerCase()):r&&o?this._setFlag("us"):(this.defaultCountry=this.preferredCountries.length?this.preferredCountries[0].iso2:this.countries[0].iso2,n||this._setFlag(this.defaultCountry)),n||s||l||c||(this.telInput.value="+".concat(this.selectedCountryData.dialCode))),n&&this._updateValFromNumber(n)}},{key:"_initListeners",value:function(){this._initKeyListeners(),this.options.autoHideDialCode&&this._initBlurListeners(),this.options.allowDropdown&&this._initDropdownListeners(),this.hiddenInput&&this._initHiddenInputListener()}},{key:"_initHiddenInputListener",value:function(){var e=this;this._handleHiddenInputSubmit=function(){e.hiddenInput.value=e.getNumber()},this.telInput.form&&this.telInput.form.addEventListener("submit",this._handleHiddenInputSubmit)}},{key:"_getClosestLabel",value:function(){for(var e=this.telInput;e&&"LABEL"!==e.tagName;)e=e.parentNode;return e}},{key:"_initDropdownListeners",value:function(){var e=this;this._handleLabelClick=function(t){e.countryList.classList.contains("iti__hide")?e.telInput.focus():t.preventDefault()};var t=this._getClosestLabel();t&&t.addEventListener("click",this._handleLabelClick),this._handleClickSelectedFlag=function(){!e.countryList.classList.contains("iti__hide")||e.telInput.disabled||e.telInput.readOnly||e._showDropdown()},this.selectedFlag.addEventListener("click",this._handleClickSelectedFlag),this._handleFlagsContainerKeydown=function(t){e.countryList.classList.contains("iti__hide")&&-1!==["ArrowUp","Up","ArrowDown","Down"," ","Enter"].indexOf(t.key)&&(t.preventDefault(),t.stopPropagation(),e._showDropdown()),"Tab"===t.key&&e._closeDropdown()},this.flagsContainer.addEventListener("keydown",this._handleFlagsContainerKeydown)}},{key:"_initRequests",value:function(){var e=this;this.options.utilsScript&&!window.intlTelInputUtils?window.intlTelInputGlobals.documentReady()?window.intlTelInputGlobals.loadUtils(this.options.utilsScript):window.addEventListener("load",(function(){window.intlTelInputGlobals.loadUtils(e.options.utilsScript)})):this.resolveUtilsScriptPromise(),"auto"===this.options.initialCountry?this._loadAutoCountry():this.resolveAutoCountryPromise()}},{key:"_loadAutoCountry",value:function(){window.intlTelInputGlobals.autoCountry?this.handleAutoCountry():window.intlTelInputGlobals.startedLoadingAutoCountry||(window.intlTelInputGlobals.startedLoadingAutoCountry=!0,"function"==typeof this.options.geoIpLookup&&this.options.geoIpLookup((function(e){window.intlTelInputGlobals.autoCountry=e.toLowerCase(),setTimeout((function(){return u("handleAutoCountry")}))}),(function(){return u("rejectAutoCountryPromise")})))}},{key:"_initKeyListeners",value:function(){var e=this;this._handleKeyupEvent=function(){e._updateFlagFromNumber(e.telInput.value)&&e._triggerCountryChange()},this.telInput.addEventListener("keyup",this._handleKeyupEvent),this._handleClipboardEvent=function(){setTimeout(e._handleKeyupEvent)},this.telInput.addEventListener("cut",this._handleClipboardEvent),this.telInput.addEventListener("paste",this._handleClipboardEvent)}},{key:"_cap",value:function(e){var t=this.telInput.getAttribute("maxlength");return t&&e.length>t?e.substr(0,t):e}},{key:"_initBlurListeners",value:function(){var e=this;this._handleSubmitOrBlurEvent=function(){e._removeEmptyDialCode()},this.telInput.form&&this.telInput.form.addEventListener("submit",this._handleSubmitOrBlurEvent),this.telInput.addEventListener("blur",this._handleSubmitOrBlurEvent)}},{key:"_removeEmptyDialCode",value:function(){if("+"===this.telInput.value.charAt(0)){var e=this._getNumeric(this.telInput.value);e&&this.selectedCountryData.dialCode!==e||(this.telInput.value="")}}},{key:"_getNumeric",value:function(e){return e.replace(/\D/g,"")}},{key:"_trigger",value:function(e){var t=document.createEvent("Event");t.initEvent(e,!0,!0),this.telInput.dispatchEvent(t)}},{key:"_showDropdown",value:function(){this.countryList.classList.remove("iti__hide"),this.selectedFlag.setAttribute("aria-expanded","true"),this._setDropdownPosition(),this.activeItem&&(this._highlightListItem(this.activeItem,!1),this._scrollTo(this.activeItem,!0)),this._bindDropdownListeners(),this.dropdownArrow.classList.add("iti__arrow--up"),this._trigger("open:countrydropdown")}},{key:"_toggleClass",value:function(e,t,n){n&&!e.classList.contains(t)?e.classList.add(t):!n&&e.classList.contains(t)&&e.classList.remove(t)}},{key:"_setDropdownPosition",value:function(){var e=this;if(this.options.dropdownContainer&&this.options.dropdownContainer.appendChild(this.dropdown),!this.isMobile){var t=this.telInput.getBoundingClientRect(),n=window.pageYOffset||document.documentElement.scrollTop,r=t.top+n,o=this.countryList.offsetHeight,i=r+this.telInput.offsetHeight+o<n+window.innerHeight,a=r-o>n;if(this._toggleClass(this.countryList,"iti__country-list--dropup",!i&&a),this.options.dropdownContainer){var s=!i&&a?0:this.telInput.offsetHeight;this.dropdown.style.top="".concat(r+s,"px"),this.dropdown.style.left="".concat(t.left+document.body.scrollLeft,"px"),this._handleWindowScroll=function(){return e._closeDropdown()},window.addEventListener("scroll",this._handleWindowScroll)}}}},{key:"_getClosestListItem",value:function(e){for(var t=e;t&&t!==this.countryList&&!t.classList.contains("iti__country");)t=t.parentNode;return t===this.countryList?null:t}},{key:"_bindDropdownListeners",value:function(){var e=this;this._handleMouseoverCountryList=function(t){var n=e._getClosestListItem(t.target);n&&e._highlightListItem(n,!1)},this.countryList.addEventListener("mouseover",this._handleMouseoverCountryList),this._handleClickCountryList=function(t){var n=e._getClosestListItem(t.target);n&&e._selectListItem(n)},this.countryList.addEventListener("click",this._handleClickCountryList);var t=!0;this._handleClickOffToClose=function(){t||e._closeDropdown(),t=!1},document.documentElement.addEventListener("click",this._handleClickOffToClose);var n="",r=null;this._handleKeydownOnDropdown=function(t){t.preventDefault(),"ArrowUp"===t.key||"Up"===t.key||"ArrowDown"===t.key||"Down"===t.key?e._handleUpDownKey(t.key):"Enter"===t.key?e._handleEnterKey():"Escape"===t.key?e._closeDropdown():/^[a-zA-ZÀ-ÿа-яА-Я ]$/.test(t.key)&&(r&&clearTimeout(r),n+=t.key.toLowerCase(),e._searchForCountry(n),r=setTimeout((function(){n=""}),1e3))},document.addEventListener("keydown",this._handleKeydownOnDropdown)}},{key:"_handleUpDownKey",value:function(e){var t="ArrowUp"===e||"Up"===e?this.highlightedItem.previousElementSibling:this.highlightedItem.nextElementSibling;t&&(t.classList.contains("iti__divider")&&(t="ArrowUp"===e||"Up"===e?t.previousElementSibling:t.nextElementSibling),this._highlightListItem(t,!0))}},{key:"_handleEnterKey",value:function(){this.highlightedItem&&this._selectListItem(this.highlightedItem)}},{key:"_searchForCountry",value:function(e){for(var t=0;t<this.countries.length;t++)if(this._startsWith(this.countries[t].name,e)){var n=this.countryList.querySelector("#iti-".concat(this.id,"__item-").concat(this.countries[t].iso2));this._highlightListItem(n,!1),this._scrollTo(n,!0);break}}},{key:"_startsWith",value:function(e,t){return e.substr(0,t.length).toLowerCase()===t}},{key:"_updateValFromNumber",value:function(e){var t=e;if(this.options.formatOnDisplay&&window.intlTelInputUtils&&this.selectedCountryData){var n=!this.options.separateDialCode&&(this.options.nationalMode||"+"!==t.charAt(0)),r=intlTelInputUtils.numberFormat,o=r.NATIONAL,i=r.INTERNATIONAL,a=n?o:i;t=intlTelInputUtils.formatNumber(t,this.selectedCountryData.iso2,a)}t=this._beforeSetNumber(t),this.telInput.value=t}},{key:"_updateFlagFromNumber",value:function(e){var t=e,n=this.selectedCountryData.dialCode,r="1"===n;t&&this.options.nationalMode&&r&&"+"!==t.charAt(0)&&("1"!==t.charAt(0)&&(t="1".concat(t)),t="+".concat(t)),this.options.separateDialCode&&n&&"+"!==t.charAt(0)&&(t="+".concat(n).concat(t));var o=this._getDialCode(t,!0),i=this._getNumeric(t),a=null;if(o){var s=this.countryCodes[this._getNumeric(o)],l=-1!==s.indexOf(this.selectedCountryData.iso2)&&i.length<=o.length-1;if(!("1"===n&&this._isRegionlessNanp(i)||l))for(var c=0;c<s.length;c++)if(s[c]){a=s[c];break}}else"+"===t.charAt(0)&&i.length?a="":t&&"+"!==t||(a=this.defaultCountry);return null!==a&&this._setFlag(a)}},{key:"_isRegionlessNanp",value:function(e){var t=this._getNumeric(e);if("1"===t.charAt(0)){var n=t.substr(1,3);return-1!==l.indexOf(n)}return!1}},{key:"_highlightListItem",value:function(e,t){var n=this.highlightedItem;n&&n.classList.remove("iti__highlight"),this.highlightedItem=e,this.highlightedItem.classList.add("iti__highlight"),t&&this.highlightedItem.focus()}},{key:"_getCountryData",value:function(e,n,r){for(var o=n?t:this.countries,i=0;i<o.length;i++)if(o[i].iso2===e)return o[i];if(r)return null;throw new Error("No country data for '".concat(e,"'"))}},{key:"_setFlag",value:function(e){var t=this.selectedCountryData.iso2?this.selectedCountryData:{};this.selectedCountryData=e?this._getCountryData(e,!1,!1):{},this.selectedCountryData.iso2&&(this.defaultCountry=this.selectedCountryData.iso2),this.selectedFlagInner.setAttribute("class","iti__flag iti__".concat(e));var n=e?"".concat(this.selectedCountryData.name,": +").concat(this.selectedCountryData.dialCode):"Unknown";if(this.selectedFlag.setAttribute("title",n),this.options.separateDialCode){var r=this.selectedCountryData.dialCode?"+".concat(this.selectedCountryData.dialCode):"";this.selectedDialCode.innerHTML=r;var o=this.selectedFlag.offsetWidth||this._getHiddenSelectedFlagWidth();this.telInput.style.paddingLeft="".concat(o+6,"px")}if(this._updatePlaceholder(),this.options.allowDropdown){var i=this.activeItem;if(i&&(i.classList.remove("iti__active"),i.setAttribute("aria-selected","false")),e){var a=this.countryList.querySelector("#iti-".concat(this.id,"__item-").concat(e,"-preferred"))||this.countryList.querySelector("#iti-".concat(this.id,"__item-").concat(e));a.setAttribute("aria-selected","true"),a.classList.add("iti__active"),this.activeItem=a,this.selectedFlag.setAttribute("aria-activedescendant",a.getAttribute("id"))}}return t.iso2!==e}},{key:"_getHiddenSelectedFlagWidth",value:function(){var e=this.telInput.parentNode.cloneNode();e.style.visibility="hidden",document.body.appendChild(e);var t=this.flagsContainer.cloneNode();e.appendChild(t);var n=this.selectedFlag.cloneNode(!0);t.appendChild(n);var r=n.offsetWidth;return e.parentNode.removeChild(e),r}},{key:"_updatePlaceholder",value:function(){var e="aggressive"===this.options.autoPlaceholder||!this.hadInitialPlaceholder&&"polite"===this.options.autoPlaceholder;if(window.intlTelInputUtils&&e){var t=intlTelInputUtils.numberType[this.options.placeholderNumberType],n=this.selectedCountryData.iso2?intlTelInputUtils.getExampleNumber(this.selectedCountryData.iso2,this.options.nationalMode,t):"";n=this._beforeSetNumber(n),"function"==typeof this.options.customPlaceholder&&(n=this.options.customPlaceholder(n,this.selectedCountryData)),this.telInput.setAttribute("placeholder",n)}}},{key:"_selectListItem",value:function(e){var t=this._setFlag(e.getAttribute("data-country-code"));this._closeDropdown(),this._updateDialCode(e.getAttribute("data-dial-code"),!0),this.telInput.focus();var n=this.telInput.value.length;this.telInput.setSelectionRange(n,n),t&&this._triggerCountryChange()}},{key:"_closeDropdown",value:function(){this.countryList.classList.add("iti__hide"),this.selectedFlag.setAttribute("aria-expanded","false"),this.dropdownArrow.classList.remove("iti__arrow--up"),document.removeEventListener("keydown",this._handleKeydownOnDropdown),document.documentElement.removeEventListener("click",this._handleClickOffToClose),this.countryList.removeEventListener("mouseover",this._handleMouseoverCountryList),this.countryList.removeEventListener("click",this._handleClickCountryList),this.options.dropdownContainer&&(this.isMobile||window.removeEventListener("scroll",this._handleWindowScroll),this.dropdown.parentNode&&this.dropdown.parentNode.removeChild(this.dropdown)),this._trigger("close:countrydropdown")}},{key:"_scrollTo",value:function(e,t){var n=this.countryList,r=window.pageYOffset||document.documentElement.scrollTop,o=n.offsetHeight,i=n.getBoundingClientRect().top+r,a=i+o,s=e.offsetHeight,l=e.getBoundingClientRect().top+r,c=l+s,u=l-i+n.scrollTop,d=o/2-s/2;if(l<i)t&&(u-=d),n.scrollTop=u;else if(c>a){t&&(u+=d);var p=o-s;n.scrollTop=u-p}}},{key:"_updateDialCode",value:function(e,t){var n,r=this.telInput.value,o="+".concat(e);if("+"===r.charAt(0)){var i=this._getDialCode(r);n=i?r.replace(i,o):o}else{if(this.options.nationalMode||this.options.separateDialCode)return;if(r)n=o+r;else{if(!t&&this.options.autoHideDialCode)return;n=o}}this.telInput.value=n}},{key:"_getDialCode",value:function(e,t){var n="";if("+"===e.charAt(0))for(var r="",o=0;o<e.length;o++){var i=e.charAt(o);if(!isNaN(parseInt(i,10))){if(r+=i,t)this.countryCodes[r]&&(n=e.substr(0,o+1));else if(this.dialCodes[r]){n=e.substr(0,o+1);break}if(r.length===this.countryCodeMaxLen)break}}return n}},{key:"_getFullNumber",value:function(){var e=this.telInput.value.trim(),t=this.selectedCountryData.dialCode,n=this._getNumeric(e);return(this.options.separateDialCode&&"+"!==e.charAt(0)&&t&&n?"+".concat(t):"")+e}},{key:"_beforeSetNumber",value:function(e){var t=e;if(this.options.separateDialCode){var n=this._getDialCode(t);if(n){var r=" "===t[(n="+".concat(this.selectedCountryData.dialCode)).length]||"-"===t[n.length]?n.length+1:n.length;t=t.substr(r)}}return this._cap(t)}},{key:"_triggerCountryChange",value:function(){this._trigger("countrychange")}},{key:"handleAutoCountry",value:function(){"auto"===this.options.initialCountry&&(this.defaultCountry=window.intlTelInputGlobals.autoCountry,this.telInput.value||this.setCountry(this.defaultCountry),this.resolveAutoCountryPromise())}},{key:"handleUtils",value:function(){window.intlTelInputUtils&&(this.telInput.value&&this._updateValFromNumber(this.telInput.value),this._updatePlaceholder()),this.resolveUtilsScriptPromise()}},{key:"destroy",value:function(){var e=this.telInput.form;if(this.options.allowDropdown){this._closeDropdown(),this.selectedFlag.removeEventListener("click",this._handleClickSelectedFlag),this.flagsContainer.removeEventListener("keydown",this._handleFlagsContainerKeydown);var t=this._getClosestLabel();t&&t.removeEventListener("click",this._handleLabelClick)}this.hiddenInput&&e&&e.removeEventListener("submit",this._handleHiddenInputSubmit),this.options.autoHideDialCode&&(e&&e.removeEventListener("submit",this._handleSubmitOrBlurEvent),this.telInput.removeEventListener("blur",this._handleSubmitOrBlurEvent)),this.telInput.removeEventListener("keyup",this._handleKeyupEvent),this.telInput.removeEventListener("cut",this._handleClipboardEvent),this.telInput.removeEventListener("paste",this._handleClipboardEvent),this.telInput.removeAttribute("data-intl-tel-input-id");var n=this.telInput.parentNode;n.parentNode.insertBefore(this.telInput,n),n.parentNode.removeChild(n),delete window.intlTelInputGlobals.instances[this.id]}},{key:"getExtension",value:function(){return window.intlTelInputUtils?intlTelInputUtils.getExtension(this._getFullNumber(),this.selectedCountryData.iso2):""}},{key:"getNumber",value:function(e){if(window.intlTelInputUtils){var t=this.selectedCountryData.iso2;return intlTelInputUtils.formatNumber(this._getFullNumber(),t,e)}return""}},{key:"getNumberType",value:function(){return window.intlTelInputUtils?intlTelInputUtils.getNumberType(this._getFullNumber(),this.selectedCountryData.iso2):-99}},{key:"getSelectedCountryData",value:function(){return this.selectedCountryData}},{key:"getValidationError",value:function(){if(window.intlTelInputUtils){var e=this.selectedCountryData.iso2;return intlTelInputUtils.getValidationError(this._getFullNumber(),e)}return-99}},{key:"isValidNumber",value:function(){var e=this._getFullNumber().trim(),t=this.options.nationalMode?this.selectedCountryData.iso2:"";return window.intlTelInputUtils?intlTelInputUtils.isValidNumber(e,t):null}},{key:"setCountry",value:function(e){var t=e.toLowerCase();this.selectedFlagInner.classList.contains("iti__".concat(t))||(this._setFlag(t),this._updateDialCode(this.selectedCountryData.dialCode,!1),this._triggerCountryChange())}},{key:"setNumber",value:function(e){var t=this._updateFlagFromNumber(e);this._updateValFromNumber(e),t&&this._triggerCountryChange()}},{key:"setPlaceholderNumberType",value:function(e){this.options.placeholderNumberType=e,this._updatePlaceholder()}}],i&&o(r.prototype,i),d&&o(r,d),n}();i.getCountryData=function(){return t};var p=function(e,t,n){var r=document.createElement("script");r.onload=function(){u("handleUtils"),t&&t()},r.onerror=function(){u("rejectUtilsScriptPromise"),n&&n()},r.className="iti-load-utils",r.async=!0,r.src=e,document.body.appendChild(r)};return i.loadUtils=function(e){if(!window.intlTelInputUtils&&!window.intlTelInputGlobals.startedLoadingUtilsScript){if(window.intlTelInputGlobals.startedLoadingUtilsScript=!0,"undefined"!=typeof Promise)return new Promise((function(t,n){return p(e,t,n)}));p(e)}return null},i.defaults=s,i.version="17.0.21",function(e,t){var n=new d(e,t);return n._init(),e.setAttribute("data-intl-tel-input-id",n.id),window.intlTelInputGlobals.instances[n.id]=n,n}}()},e.exports?e.exports=t():window.intlTelInput=t()},1553:()=>{!function(){var e=this||self;function t(t,n){t=t.split(".");var r,o=e;t[0]in o||void 0===o.execScript||o.execScript("var "+t[0]);for(;t.length&&(r=t.shift());)t.length||void 0===n?o=o[r]&&o[r]!==Object.prototype[r]?o[r]:o[r]={}:o[r]=n}function n(e,t){function n(){}n.prototype=t.prototype,e.$=t.prototype,e.prototype=new n,e.prototype.constructor=e,e.fa=function(e,n,r){for(var o=Array(arguments.length-2),i=2;i<arguments.length;i++)o[i-2]=arguments[i];return t.prototype[n].apply(e,o)}}function r(e,t){return e>t?1:e<t?-1:0}function o(e,t){switch(this.g=e,this.m=!!t.o,this.i=t.h,this.v=t.type,this.u=!1,this.i){case s:case l:case c:case u:case d:case a:case i:this.u=!0}this.l=t.defaultValue}var i=1,a=2,s=3,l=4,c=6,u=16,d=18;function p(e,t){for(this.i=e,this.g={},e=0;e<t.length;e++){var n=t[e];this.g[n.g]=n}}function f(e){return function(e,t){e.sort(t||r)}(e=function(e){var t,n=[],r=0;for(t in e)n[r++]=e[t];return n}(e.g),(function(e,t){return e.g-t.g})),e}function h(){this.g={},this.l=this.j().g,this.i=this.m=null}function m(e,t){for(var n=f(e.j()),r=0;r<n.length;r++){var o=n[r],i=o.g;if(null!=t.g[i]){e.i&&delete e.i[o.g];var a=11==o.i||10==o.i;if(o.m){o=b(t,i);for(var s=0;s<o.length;s++)k(e,i,a?o[s].clone():o[s])}else o=v(t,i),a?(a=v(e,i))?m(a,o):x(e,i,o.clone()):x(e,i,o)}}}function v(e,t){var n=e.g[t];if(null==n)return null;if(e.m){if(!(t in e.i)){var r=e.m,o=e.l[t];if(null!=n)if(o.m){for(var i=[],a=0;a<n.length;a++)i[a]=r.i(o,n[a]);n=i}else n=r.i(o,n);return e.i[t]=n}return e.i[t]}return n}function g(e,t,n){var r=v(e,t);return e.l[t].m?r[n||0]:r}function y(e,t){if(null!=e.g[t])e=g(e,t,void 0);else e:{if(void 0===(e=e.l[t]).l)if((t=e.v)===Boolean)e.l=!1;else if(t===Number)e.l=0;else{if(t!==String){e=new t;break e}e.l=e.u?"0":""}e=e.l}return e}function b(e,t){return v(e,t)||[]}function w(e,t){return e.l[t].m?null!=e.g[t]?e.g[t].length:0:null!=e.g[t]?1:0}function x(e,t,n){e.g[t]=n,e.i&&(e.i[t]=n)}function k(e,t,n){e.g[t]||(e.g[t]=[]),e.g[t].push(n),e.i&&delete e.i[t]}function S(e,t){var n,r=[];for(n in t)0!=n&&r.push(new o(n,t[n]));return new p(e,r)}function C(){}h.prototype.has=function(e){return null!=this.g[e.g]},h.prototype.get=function(e,t){return g(this,e.g,t)},h.prototype.set=function(e,t){x(this,e.g,t)},h.prototype.add=function(e,t){k(this,e.g,t)},h.prototype.clone=function(){var e=new this.constructor;return e!=this&&(e.g={},e.i&&(e.i={}),m(e,this)),e},C.prototype.g=function(e){throw new e.i,Error("Unimplemented")},C.prototype.i=function(e,t){if(11==e.i||10==e.i)return t instanceof h?t:this.g(e.v.prototype.j(),t);if(14==e.i)return"string"==typeof t&&E.test(t)&&0<(e=Number(t))?e:t;if(!e.u)return t;if((e=e.v)===String){if("number"==typeof t)return String(t)}else if(e===Number&&"string"==typeof t&&("Infinity"===t||"-Infinity"===t||"NaN"===t||E.test(t)))return Number(t);return t};var E=/^-?[0-9]+$/;function T(){}function O(){}function $(e,t){null!=e&&this.g.apply(this,arguments)}function M(){h.call(this)}n(T,C),T.prototype.g=function(e,t){return(e=new e.i).m=this,e.g=t,e.i={},e},n(O,T),O.prototype.i=function(e,t){return 8==e.i?!!t:C.prototype.i.apply(this,arguments)},O.prototype.g=function(e,t){return O.$.g.call(this,e,t)},$.prototype.i="",$.prototype.set=function(e){this.i=""+e},$.prototype.g=function(e,t,n){if(this.i+=String(e),null!=t)for(var r=1;r<arguments.length;r++)this.i+=arguments[r];return this},$.prototype.toString=function(){return this.i},n(M,h);var A=null;function D(){h.call(this)}n(D,h);var L=null;function N(){h.call(this)}n(N,h);var R=null;function I(){h.call(this)}M.prototype.j=function(){var e=A;return e||(A=e=S(M,{0:{name:"NumberFormat",s:"i18n.phonenumbers.NumberFormat"},1:{name:"pattern",required:!0,h:9,type:String},2:{name:"format",required:!0,h:9,type:String},3:{name:"leading_digits_pattern",o:!0,h:9,type:String},4:{name:"national_prefix_formatting_rule",h:9,type:String},6:{name:"national_prefix_optional_when_formatting",h:8,defaultValue:!1,type:Boolean},5:{name:"domestic_carrier_code_formatting_rule",h:9,type:String}})),e},M.j=M.prototype.j,D.prototype.j=function(){var e=L;return e||(L=e=S(D,{0:{name:"PhoneNumberDesc",s:"i18n.phonenumbers.PhoneNumberDesc"},2:{name:"national_number_pattern",h:9,type:String},9:{name:"possible_length",o:!0,h:5,type:Number},10:{name:"possible_length_local_only",o:!0,h:5,type:Number},6:{name:"example_number",h:9,type:String}})),e},D.j=D.prototype.j,N.prototype.j=function(){var e=R;return e||(R=e=S(N,{0:{name:"PhoneMetadata",s:"i18n.phonenumbers.PhoneMetadata"},1:{name:"general_desc",h:11,type:D},2:{name:"fixed_line",h:11,type:D},3:{name:"mobile",h:11,type:D},4:{name:"toll_free",h:11,type:D},5:{name:"premium_rate",h:11,type:D},6:{name:"shared_cost",h:11,type:D},7:{name:"personal_number",h:11,type:D},8:{name:"voip",h:11,type:D},21:{name:"pager",h:11,type:D},25:{name:"uan",h:11,type:D},27:{name:"emergency",h:11,type:D},28:{name:"voicemail",h:11,type:D},29:{name:"short_code",h:11,type:D},30:{name:"standard_rate",h:11,type:D},31:{name:"carrier_specific",h:11,type:D},33:{name:"sms_services",h:11,type:D},24:{name:"no_international_dialling",h:11,type:D},9:{name:"id",required:!0,h:9,type:String},10:{name:"country_code",h:5,type:Number},11:{name:"international_prefix",h:9,type:String},17:{name:"preferred_international_prefix",h:9,type:String},12:{name:"national_prefix",h:9,type:String},13:{name:"preferred_extn_prefix",h:9,type:String},15:{name:"national_prefix_for_parsing",h:9,type:String},16:{name:"national_prefix_transform_rule",h:9,type:String},18:{name:"same_mobile_and_fixed_line_pattern",h:8,defaultValue:!1,type:Boolean},19:{name:"number_format",o:!0,h:11,type:M},20:{name:"intl_number_format",o:!0,h:11,type:M},22:{name:"main_country_for_code",h:8,defaultValue:!1,type:Boolean},23:{name:"leading_digits",h:9,type:String}})),e},N.j=N.prototype.j,n(I,h);var P=null,Z={ea:0,da:1,ca:5,ba:10,aa:20};I.prototype.j=function(){var e=P;return e||(P=e=S(I,{0:{name:"PhoneNumber",s:"i18n.phonenumbers.PhoneNumber"},1:{name:"country_code",required:!0,h:5,type:Number},2:{name:"national_number",required:!0,h:4,type:Number},3:{name:"extension",h:9,type:String},4:{name:"italian_leading_zero",h:8,type:Boolean},8:{name:"number_of_leading_zeros",h:5,defaultValue:1,type:Number},5:{name:"raw_input",h:9,type:String},6:{name:"country_code_source",h:14,defaultValue:0,type:Z},7:{name:"preferred_domestic_carrier_code",h:9,type:String}})),e},I.ctor=I,I.ctor.j=I.prototype.j;var _={1:"US AG AI AS BB BM BS CA DM DO GD GU JM KN KY LC MP MS PR SX TC TT VC VG VI".split(" "),7:["RU","KZ"],20:["EG"],27:["ZA"],30:["GR"],31:["NL"],32:["BE"],33:["FR"],34:["ES"],36:["HU"],39:["IT","VA"],40:["RO"],41:["CH"],43:["AT"],44:["GB","GG","IM","JE"],45:["DK"],46:["SE"],47:["NO","SJ"],48:["PL"],49:["DE"],51:["PE"],52:["MX"],53:["CU"],54:["AR"],55:["BR"],56:["CL"],57:["CO"],58:["VE"],60:["MY"],61:["AU","CC","CX"],62:["ID"],63:["PH"],64:["NZ"],65:["SG"],66:["TH"],81:["JP"],82:["KR"],84:["VN"],86:["CN"],90:["TR"],91:["IN"],92:["PK"],93:["AF"],94:["LK"],95:["MM"],98:["IR"],211:["SS"],212:["MA","EH"],213:["DZ"],216:["TN"],218:["LY"],220:["GM"],221:["SN"],222:["MR"],223:["ML"],224:["GN"],225:["CI"],226:["BF"],227:["NE"],228:["TG"],229:["BJ"],230:["MU"],231:["LR"],232:["SL"],233:["GH"],234:["NG"],235:["TD"],236:["CF"],237:["CM"],238:["CV"],239:["ST"],240:["GQ"],241:["GA"],242:["CG"],243:["CD"],244:["AO"],245:["GW"],246:["IO"],247:["AC"],248:["SC"],249:["SD"],250:["RW"],251:["ET"],252:["SO"],253:["DJ"],254:["KE"],255:["TZ"],256:["UG"],257:["BI"],258:["MZ"],260:["ZM"],261:["MG"],262:["RE","YT"],263:["ZW"],264:["NA"],265:["MW"],266:["LS"],267:["BW"],268:["SZ"],269:["KM"],290:["SH","TA"],291:["ER"],297:["AW"],298:["FO"],299:["GL"],350:["GI"],351:["PT"],352:["LU"],353:["IE"],354:["IS"],355:["AL"],356:["MT"],357:["CY"],358:["FI","AX"],359:["BG"],370:["LT"],371:["LV"],372:["EE"],373:["MD"],374:["AM"],375:["BY"],376:["AD"],377:["MC"],378:["SM"],380:["UA"],381:["RS"],382:["ME"],383:["XK"],385:["HR"],386:["SI"],387:["BA"],389:["MK"],420:["CZ"],421:["SK"],423:["LI"],500:["FK"],501:["BZ"],502:["GT"],503:["SV"],504:["HN"],505:["NI"],506:["CR"],507:["PA"],508:["PM"],509:["HT"],590:["GP","BL","MF"],591:["BO"],592:["GY"],593:["EC"],594:["GF"],595:["PY"],596:["MQ"],597:["SR"],598:["UY"],599:["CW","BQ"],670:["TL"],672:["NF"],673:["BN"],674:["NR"],675:["PG"],676:["TO"],677:["SB"],678:["VU"],679:["FJ"],680:["PW"],681:["WF"],682:["CK"],683:["NU"],685:["WS"],686:["KI"],687:["NC"],688:["TV"],689:["PF"],690:["TK"],691:["FM"],692:["MH"],800:["001"],808:["001"],850:["KP"],852:["HK"],853:["MO"],855:["KH"],856:["LA"],870:["001"],878:["001"],880:["BD"],881:["001"],882:["001"],883:["001"],886:["TW"],888:["001"],960:["MV"],961:["LB"],962:["JO"],963:["SY"],964:["IQ"],965:["KW"],966:["SA"],967:["YE"],968:["OM"],970:["PS"],971:["AE"],972:["IL"],973:["BH"],974:["QA"],975:["BT"],976:["MN"],977:["NP"],979:["001"],992:["TJ"],993:["TM"],994:["AZ"],995:["GE"],996:["KG"],998:["UZ"]},F={AC:[,[,,"(?:[01589]\\d|[46])\\d{4}",,,,,,,[5,6]],[,,"6[2-467]\\d{3}",,,,"62889",,,[5]],[,,"4\\d{4}",,,,"40123",,,[5]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"AC",247,"00",,,,,,,,,,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,"(?:0[1-9]|[1589]\\d)\\d{4}",,,,"542011",,,[6]],,,[,,,,,,,,,[-1]]],AD:[,[,,"(?:1|6\\d)\\d{7}|[135-9]\\d{5}",,,,,,,[6,8,9]],[,,"[78]\\d{5}",,,,"712345",,,[6]],[,,"690\\d{6}|[356]\\d{5}",,,,"312345",,,[6,9]],[,,"180[02]\\d{4}",,,,"18001234",,,[8]],[,,"[19]\\d{5}",,,,"912345",,,[6]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"AD",376,"00",,,,,,,,[[,"(\\d{3})(\\d{3})","$1 $2",["[135-9]"]],[,"(\\d{4})(\\d{4})","$1 $2",["1"]],[,"(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["6"]]],,[,,,,,,,,,[-1]],,,[,,"1800\\d{4}",,,,,,,[8]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],AE:[,[,,"(?:[4-7]\\d|9[0-689])\\d{7}|800\\d{2,9}|[2-4679]\\d{7}",,,,,,,[5,6,7,8,9,10,11,12]],[,,"[2-4679][2-8]\\d{6}",,,,"22345678",,,[8],[7]],[,,"5[024-68]\\d{7}",,,,"501234567",,,[9]],[,,"400\\d{6}|800\\d{2,9}",,,,"800123456"],[,,"900[02]\\d{5}",,,,"900234567",,,[9]],[,,"700[05]\\d{5}",,,,"700012345",,,[9]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"AE",971,"00","0",,,"0",,,,[[,"(\\d{3})(\\d{2,9})","$1 $2",["60|8"]],[,"(\\d)(\\d{3})(\\d{4})","$1 $2 $3",["[236]|[479][2-8]"],"0$1"],[,"(\\d{3})(\\d)(\\d{5})","$1 $2 $3",["[479]"]],[,"(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["5"],"0$1"]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,"600[25]\\d{5}",,,,"600212345",,,[9]],,,[,,,,,,,,,[-1]]],AF:[,[,,"[2-7]\\d{8}",,,,,,,[9],[7]],[,,"(?:[25][0-8]|[34][0-4]|6[0-5])[2-9]\\d{6}",,,,"234567890",,,,[7]],[,,"7\\d{8}",,,,"701234567",,,,[7]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"AF",93,"00","0",,,"0",,,,[[,"(\\d{3})(\\d{4})","$1 $2",["[1-9]"]],[,"(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["[2-7]"],"0$1"]],[[,"(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["[2-7]"],"0$1"]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],AG:[,[,,"(?:268|[58]\\d\\d|900)\\d{7}",,,,,,,[10],[7]],[,,"268(?:4(?:6[0-38]|84)|56[0-2])\\d{4}",,,,"2684601234",,,,[7]],[,,"268(?:464|7(?:1[3-9]|[28]\\d|3[0246]|64|7[0-689]))\\d{4}",,,,"2684641234",,,,[7]],[,,"8(?:00|33|44|55|66|77|88)[2-9]\\d{6}",,,,"8002123456"],[,,"900[2-9]\\d{6}",,,,"9002123456"],[,,,,,,,,,[-1]],[,,"52(?:3(?:[2-46-9][02-9]\\d|5(?:[02-46-9]\\d|5[0-46-9]))|4(?:[2-478][02-9]\\d|5(?:[034]\\d|2[024-9]|5[0-46-9])|6(?:0[1-9]|[2-9]\\d)|9(?:[05-9]\\d|2[0-5]|49)))\\d{4}|52[34][2-9]1[02-9]\\d{4}|5(?:00|2[125-9]|33|44|66|77|88)[2-9]\\d{6}",,,,"5002345678"],[,,"26848[01]\\d{4}",,,,"2684801234",,,,[7]],"AG",1,"011","1",,,"([457]\\d{6})$|1","268$1",,,,,[,,"26840[69]\\d{4}",,,,"2684061234",,,,[7]],,"268",[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],AI:[,[,,"(?:264|[58]\\d\\d|900)\\d{7}",,,,,,,[10],[7]],[,,"264(?:292|4(?:6[12]|9[78]))\\d{4}",,,,"2644612345",,,,[7]],[,,"264(?:235|4(?:69|76)|5(?:3[6-9]|8[1-4])|7(?:29|72))\\d{4}",,,,"2642351234",,,,[7]],[,,"8(?:00|33|44|55|66|77|88)[2-9]\\d{6}",,,,"8002123456"],[,,"900[2-9]\\d{6}",,,,"9002123456"],[,,,,,,,,,[-1]],[,,"52(?:3(?:[2-46-9][02-9]\\d|5(?:[02-46-9]\\d|5[0-46-9]))|4(?:[2-478][02-9]\\d|5(?:[034]\\d|2[024-9]|5[0-46-9])|6(?:0[1-9]|[2-9]\\d)|9(?:[05-9]\\d|2[0-5]|49)))\\d{4}|52[34][2-9]1[02-9]\\d{4}|5(?:00|2[125-9]|33|44|66|77|88)[2-9]\\d{6}",,,,"5002345678"],[,,,,,,,,,[-1]],"AI",1,"011","1",,,"([2457]\\d{6})$|1","264$1",,,,,[,,"264724\\d{4}",,,,"2647241234",,,,[7]],,"264",[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],AL:[,[,,"(?:700\\d\\d|900)\\d{3}|8\\d{5,7}|(?:[2-5]|6\\d)\\d{7}",,,,,,,[6,7,8,9],[5]],[,,"4505[0-2]\\d{3}|(?:[2358][16-9]\\d[2-9]|4410)\\d{4}|(?:[2358][2-5][2-9]|4(?:[2-57-9][2-9]|6\\d))\\d{5}",,,,"22345678",,,[8],[5,6,7]],[,,"6(?:[78][2-9]|9\\d)\\d{6}",,,,"672123456",,,[9]],[,,"800\\d{4}",,,,"8001234",,,[7]],[,,"900[1-9]\\d\\d",,,,"900123",,,[6]],[,,"808[1-9]\\d\\d",,,,"808123",,,[6]],[,,"700[2-9]\\d{4}",,,,"70021234",,,[8]],[,,,,,,,,,[-1]],"AL",355,"00","0",,,"0",,,,[[,"(\\d{3})(\\d{3,4})","$1 $2",["80|9"],"0$1"],[,"(\\d)(\\d{3})(\\d{4})","$1 $2 $3",["4[2-6]"],"0$1"],[,"(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["[2358][2-5]|4"],"0$1"],[,"(\\d{3})(\\d{5})","$1 $2",["[23578]"],"0$1"],[,"(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["6"],"0$1"]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],AM:[,[,,"(?:[1-489]\\d|55|60|77)\\d{6}",,,,,,,[8],[5,6]],[,,"(?:(?:1[0-25]|47)\\d|2(?:2[2-46]|3[1-8]|4[2-69]|5[2-7]|6[1-9]|8[1-7])|3[12]2)\\d{5}",,,,"10123456",,,,[5,6]],[,,"(?:33|4[1349]|55|77|88|9[13-9])\\d{6}",,,,"77123456"],[,,"800\\d{5}",,,,"80012345"],[,,"90[016]\\d{5}",,,,"90012345"],[,,"80[1-4]\\d{5}",,,,"80112345"],[,,,,,,,,,[-1]],[,,"60(?:2[78]|3[5-9]|4[02-9]|5[0-46-9]|[6-8]\\d|9[01])\\d{4}",,,,"60271234"],"AM",374,"00","0",,,"0",,,,[[,"(\\d{3})(\\d{2})(\\d{3})","$1 $2 $3",["[89]0"],"0 $1"],[,"(\\d{3})(\\d{5})","$1 $2",["2|3[12]"],"(0$1)"],[,"(\\d{2})(\\d{6})","$1 $2",["1|47"],"(0$1)"],[,"(\\d{2})(\\d{6})","$1 $2",["[3-9]"],"0$1"]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],AO:[,[,,"[29]\\d{8}",,,,,,,[9]],[,,"2\\d(?:[0134][25-9]|[25-9]\\d)\\d{5}",,,,"222123456"],[,,"9[1-59]\\d{7}",,,,"923123456"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"AO",244,"00",,,,,,,,[[,"(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[29]"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],AR:[,[,,"(?:11|[89]\\d\\d)\\d{8}|[2368]\\d{9}",,,,,,,[10,11],[6,7,8]],[,,"3888[013-9]\\d{5}|3(?:7(?:1[15]|81)|8(?:21|4[16]|69|9[12]))[46]\\d{5}|(?:29(?:54|66)|3(?:7(?:55|77)|865))[2-8]\\d{5}|(?:2(?:2(?:2[59]|44|52)|3(?:26|44)|473|9(?:[07]2|2[26]|34|46))|3327)[45]\\d{5}|(?:2(?:284|3(?:02|23)|657|920)|3(?:4(?:8[27]|92)|541|878))[2-7]\\d{5}|(?:2(?:(?:26|62)2|320|477|9(?:42|83))|3(?:329|4(?:[47]6|62|89)|564))[2-6]\\d{5}|(?:(?:11[1-8]|670)\\d|2(?:2(?:0[45]|1[2-6]|3[3-6])|3(?:[06]4|7[45])|494|6(?:04|1[2-8]|[36][45]|4[3-6])|80[45]|9(?:[17][4-6]|[48][45]|9[3-6]))|3(?:364|4(?:1[2-7]|[235][4-6]|84)|5(?:1[2-9]|[38][4-6])|6(?:2[45]|44)|7[069][45]|8(?:0[45]|[17][2-6]|3[4-6]|[58][3-6])))\\d{6}|2(?:2(?:21|4[23]|6[145]|7[1-4]|8[356]|9[267])|3(?:16|3[13-8]|43|5[346-8]|9[3-5])|475|6(?:2[46]|4[78]|5[1568])|9(?:03|2[1457-9]|3[1356]|4[08]|[56][23]|82))4\\d{5}|(?:2(?:2(?:57|81)|3(?:24|46|92)|9(?:01|23|64))|3(?:4(?:42|71)|5(?:25|37|4[347]|71)|7(?:18|5[17])))[3-6]\\d{5}|(?:2(?:2(?:02|2[3467]|4[156]|5[45]|6[6-8]|91)|3(?:1[47]|25|[45][25]|96)|47[48]|625|932)|3(?:38[2578]|4(?:0[0-24-9]|3[78]|4[457]|58|6[03-9]|72|83|9[136-8])|5(?:2[124]|[368][23]|4[2689]|7[2-6])|7(?:16|2[15]|3[145]|4[13]|5[468]|7[2-5]|8[26])|8(?:2[5-7]|3[278]|4[3-5]|5[78]|6[1-378]|[78]7|94)))[4-6]\\d{5}",,,,"1123456789",,,[10],[6,7,8]],[,,"93(?:7(?:1[15]|81)[46]|8(?:(?:21|4[16]|69|9[12])[46]|88[013-9]))\\d{5}|9(?:29(?:54|66)|3(?:7(?:55|77)|865))[2-8]\\d{5}|9(?:2(?:2(?:2[59]|44|52)|3(?:26|44)|473|9(?:[07]2|2[26]|34|46))|3327)[45]\\d{5}|9(?:2(?:284|3(?:02|23)|657|920)|3(?:4(?:8[27]|92)|541|878))[2-7]\\d{5}|9(?:2(?:(?:26|62)2|320|477|9(?:42|83))|3(?:329|4(?:[47]6|62|89)|564))[2-6]\\d{5}|(?:675\\d|9(?:11[1-8]\\d|2(?:2(?:0[45]|1[2-6]|3[3-6])|3(?:[06]4|7[45])|494|6(?:04|1[2-8]|[36][45]|4[3-6])|80[45]|9(?:[17][4-6]|[48][45]|9[3-6]))|3(?:364|4(?:1[2-7]|[235][4-6]|84)|5(?:1[2-9]|[38][4-6])|6(?:2[45]|44)|7[069][45]|8(?:0[45]|[17][2-6]|3[4-6]|[58][3-6]))))\\d{6}|92(?:2(?:21|4[23]|6[145]|7[1-4]|8[356]|9[267])|3(?:16|3[13-8]|43|5[346-8]|9[3-5])|475|6(?:2[46]|4[78]|5[1568])|9(?:03|2[1457-9]|3[1356]|4[08]|[56][23]|82))4\\d{5}|9(?:2(?:2(?:57|81)|3(?:24|46|92)|9(?:01|23|64))|3(?:4(?:42|71)|5(?:25|37|4[347]|71)|7(?:18|5[17])))[3-6]\\d{5}|9(?:2(?:2(?:02|2[3467]|4[156]|5[45]|6[6-8]|91)|3(?:1[47]|25|[45][25]|96)|47[48]|625|932)|3(?:38[2578]|4(?:0[0-24-9]|3[78]|4[457]|58|6[03-9]|72|83|9[136-8])|5(?:2[124]|[368][23]|4[2689]|7[2-6])|7(?:16|2[15]|3[145]|4[13]|5[468]|7[2-5]|8[26])|8(?:2[5-7]|3[278]|4[3-5]|5[78]|6[1-378]|[78]7|94)))[4-6]\\d{5}",,,,"91123456789",,,,[6,7,8]],[,,"800\\d{7,8}",,,,"8001234567"],[,,"60[04579]\\d{7}",,,,"6001234567",,,[10]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"AR",54,"00","0",,,"0?(?:(11|2(?:2(?:02?|[13]|2[13-79]|4[1-6]|5[2457]|6[124-8]|7[1-4]|8[13-6]|9[1267])|3(?:02?|1[467]|2[03-6]|3[13-8]|[49][2-6]|5[2-8]|[67])|4(?:7[3-578]|9)|6(?:[0136]|2[24-6]|4[6-8]?|5[15-8])|80|9(?:0[1-3]|[19]|2\\d|3[1-6]|4[02568]?|5[2-4]|6[2-46]|72?|8[23]?))|3(?:3(?:2[79]|6|8[2578])|4(?:0[0-24-9]|[12]|3[5-8]?|4[24-7]|5[4-68]?|6[02-9]|7[126]|8[2379]?|9[1-36-8])|5(?:1|2[1245]|3[237]?|4[1-46-9]|6[2-4]|7[1-6]|8[2-5]?)|6[24]|7(?:[069]|1[1568]|2[15]|3[145]|4[13]|5[14-8]|7[2-57]|8[126])|8(?:[01]|2[15-7]|3[2578]?|4[13-6]|5[4-8]?|6[1-357-9]|7[36-8]?|8[5-8]?|9[124])))15)?","9$1",,,[[,"(\\d{3})","$1",["0|1(?:0[0-35-7]|1[02-5]|2[015]|3[47]|4[478])|911"]],[,"(\\d{2})(\\d{4})","$1-$2",["[1-9]"]],[,"(\\d{3})(\\d{4})","$1-$2",["[2-9]"]],[,"(\\d{4})(\\d{4})","$1-$2",["[1-8]"]],[,"(\\d{4})(\\d{2})(\\d{4})","$1 $2-$3",["2(?:2[024-9]|3[0-59]|47|6[245]|9[02-8])|3(?:3[28]|4[03-9]|5[2-46-8]|7[1-578]|8[2-9])","2(?:[23]02|6(?:[25]|4[6-8])|9(?:[02356]|4[02568]|72|8[23]))|3(?:3[28]|4(?:[04679]|3[5-8]|5[4-68]|8[2379])|5(?:[2467]|3[237]|8[2-5])|7[1-578]|8(?:[2469]|3[2578]|5[4-8]|7[36-8]|8[5-8]))|2(?:2[24-9]|3[1-59]|47)","2(?:[23]02|6(?:[25]|4(?:64|[78]))|9(?:[02356]|4(?:[0268]|5[2-6])|72|8[23]))|3(?:3[28]|4(?:[04679]|3[78]|5(?:4[46]|8)|8[2379])|5(?:[2467]|3[237]|8[23])|7[1-578]|8(?:[2469]|3[278]|5[56][46]|86[3-6]))|2(?:2[24-9]|3[1-59]|47)|38(?:[58][78]|7[378])|3(?:4[35][56]|58[45]|8(?:[38]5|54|76))[4-6]","2(?:[23]02|6(?:[25]|4(?:64|[78]))|9(?:[02356]|4(?:[0268]|5[2-6])|72|8[23]))|3(?:3[28]|4(?:[04679]|3(?:5(?:4[0-25689]|[56])|[78])|58|8[2379])|5(?:[2467]|3[237]|8(?:[23]|4(?:[45]|60)|5(?:4[0-39]|5|64)))|7[1-578]|8(?:[2469]|3[278]|54(?:4|5[13-7]|6[89])|86[3-6]))|2(?:2[24-9]|3[1-59]|47)|38(?:[58][78]|7[378])|3(?:454|85[56])[46]|3(?:4(?:36|5[56])|8(?:[38]5|76))[4-6]"],"0$1",,1],[,"(\\d{2})(\\d{4})(\\d{4})","$1 $2-$3",["1"],"0$1",,1],[,"(\\d{3})(\\d{3})(\\d{4})","$1-$2-$3",["[68]"],"0$1"],[,"(\\d{3})(\\d{3})(\\d{4})","$1 $2-$3",["[23]"],"0$1",,1],[,"(\\d)(\\d{4})(\\d{2})(\\d{4})","$2 15-$3-$4",["9(?:2[2-469]|3[3-578])","9(?:2(?:2[024-9]|3[0-59]|47|6[245]|9[02-8])|3(?:3[28]|4[03-9]|5[2-46-8]|7[1-578]|8[2-9]))","9(?:2(?:[23]02|6(?:[25]|4[6-8])|9(?:[02356]|4[02568]|72|8[23]))|3(?:3[28]|4(?:[04679]|3[5-8]|5[4-68]|8[2379])|5(?:[2467]|3[237]|8[2-5])|7[1-578]|8(?:[2469]|3[2578]|5[4-8]|7[36-8]|8[5-8])))|92(?:2[24-9]|3[1-59]|47)","9(?:2(?:[23]02|6(?:[25]|4(?:64|[78]))|9(?:[02356]|4(?:[0268]|5[2-6])|72|8[23]))|3(?:3[28]|4(?:[04679]|3[78]|5(?:4[46]|8)|8[2379])|5(?:[2467]|3[237]|8[23])|7[1-578]|8(?:[2469]|3[278]|5(?:[56][46]|[78])|7[378]|8(?:6[3-6]|[78]))))|92(?:2[24-9]|3[1-59]|47)|93(?:4[35][56]|58[45]|8(?:[38]5|54|76))[4-6]","9(?:2(?:[23]02|6(?:[25]|4(?:64|[78]))|9(?:[02356]|4(?:[0268]|5[2-6])|72|8[23]))|3(?:3[28]|4(?:[04679]|3(?:5(?:4[0-25689]|[56])|[78])|5(?:4[46]|8)|8[2379])|5(?:[2467]|3[237]|8(?:[23]|4(?:[45]|60)|5(?:4[0-39]|5|64)))|7[1-578]|8(?:[2469]|3[278]|5(?:4(?:4|5[13-7]|6[89])|[56][46]|[78])|7[378]|8(?:6[3-6]|[78]))))|92(?:2[24-9]|3[1-59]|47)|93(?:4(?:36|5[56])|8(?:[38]5|76))[4-6]"],"0$1"],[,"(\\d)(\\d{2})(\\d{4})(\\d{4})","$2 15-$3-$4",["91"],"0$1"],[,"(\\d{3})(\\d{3})(\\d{5})","$1-$2-$3",["8"],"0$1"],[,"(\\d)(\\d{3})(\\d{3})(\\d{4})","$2 15-$3-$4",["9"],"0$1"]],[[,"(\\d{4})(\\d{2})(\\d{4})","$1 $2-$3",["2(?:2[024-9]|3[0-59]|47|6[245]|9[02-8])|3(?:3[28]|4[03-9]|5[2-46-8]|7[1-578]|8[2-9])","2(?:[23]02|6(?:[25]|4[6-8])|9(?:[02356]|4[02568]|72|8[23]))|3(?:3[28]|4(?:[04679]|3[5-8]|5[4-68]|8[2379])|5(?:[2467]|3[237]|8[2-5])|7[1-578]|8(?:[2469]|3[2578]|5[4-8]|7[36-8]|8[5-8]))|2(?:2[24-9]|3[1-59]|47)","2(?:[23]02|6(?:[25]|4(?:64|[78]))|9(?:[02356]|4(?:[0268]|5[2-6])|72|8[23]))|3(?:3[28]|4(?:[04679]|3[78]|5(?:4[46]|8)|8[2379])|5(?:[2467]|3[237]|8[23])|7[1-578]|8(?:[2469]|3[278]|5[56][46]|86[3-6]))|2(?:2[24-9]|3[1-59]|47)|38(?:[58][78]|7[378])|3(?:4[35][56]|58[45]|8(?:[38]5|54|76))[4-6]","2(?:[23]02|6(?:[25]|4(?:64|[78]))|9(?:[02356]|4(?:[0268]|5[2-6])|72|8[23]))|3(?:3[28]|4(?:[04679]|3(?:5(?:4[0-25689]|[56])|[78])|58|8[2379])|5(?:[2467]|3[237]|8(?:[23]|4(?:[45]|60)|5(?:4[0-39]|5|64)))|7[1-578]|8(?:[2469]|3[278]|54(?:4|5[13-7]|6[89])|86[3-6]))|2(?:2[24-9]|3[1-59]|47)|38(?:[58][78]|7[378])|3(?:454|85[56])[46]|3(?:4(?:36|5[56])|8(?:[38]5|76))[4-6]"],"0$1",,1],[,"(\\d{2})(\\d{4})(\\d{4})","$1 $2-$3",["1"],"0$1",,1],[,"(\\d{3})(\\d{3})(\\d{4})","$1-$2-$3",["[68]"],"0$1"],[,"(\\d{3})(\\d{3})(\\d{4})","$1 $2-$3",["[23]"],"0$1",,1],[,"(\\d)(\\d{4})(\\d{2})(\\d{4})","$1 $2 $3-$4",["9(?:2[2-469]|3[3-578])","9(?:2(?:2[024-9]|3[0-59]|47|6[245]|9[02-8])|3(?:3[28]|4[03-9]|5[2-46-8]|7[1-578]|8[2-9]))","9(?:2(?:[23]02|6(?:[25]|4[6-8])|9(?:[02356]|4[02568]|72|8[23]))|3(?:3[28]|4(?:[04679]|3[5-8]|5[4-68]|8[2379])|5(?:[2467]|3[237]|8[2-5])|7[1-578]|8(?:[2469]|3[2578]|5[4-8]|7[36-8]|8[5-8])))|92(?:2[24-9]|3[1-59]|47)","9(?:2(?:[23]02|6(?:[25]|4(?:64|[78]))|9(?:[02356]|4(?:[0268]|5[2-6])|72|8[23]))|3(?:3[28]|4(?:[04679]|3[78]|5(?:4[46]|8)|8[2379])|5(?:[2467]|3[237]|8[23])|7[1-578]|8(?:[2469]|3[278]|5(?:[56][46]|[78])|7[378]|8(?:6[3-6]|[78]))))|92(?:2[24-9]|3[1-59]|47)|93(?:4[35][56]|58[45]|8(?:[38]5|54|76))[4-6]","9(?:2(?:[23]02|6(?:[25]|4(?:64|[78]))|9(?:[02356]|4(?:[0268]|5[2-6])|72|8[23]))|3(?:3[28]|4(?:[04679]|3(?:5(?:4[0-25689]|[56])|[78])|5(?:4[46]|8)|8[2379])|5(?:[2467]|3[237]|8(?:[23]|4(?:[45]|60)|5(?:4[0-39]|5|64)))|7[1-578]|8(?:[2469]|3[278]|5(?:4(?:4|5[13-7]|6[89])|[56][46]|[78])|7[378]|8(?:6[3-6]|[78]))))|92(?:2[24-9]|3[1-59]|47)|93(?:4(?:36|5[56])|8(?:[38]5|76))[4-6]"]],[,"(\\d)(\\d{2})(\\d{4})(\\d{4})","$1 $2 $3-$4",["91"]],[,"(\\d{3})(\\d{3})(\\d{5})","$1-$2-$3",["8"],"0$1"],[,"(\\d)(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3-$4",["9"]]],[,,,,,,,,,[-1]],,,[,,"810\\d{7}",,,,,,,[10]],[,,"810\\d{7}",,,,"8101234567",,,[10]],,,[,,,,,,,,,[-1]]],AS:[,[,,"(?:[58]\\d\\d|684|900)\\d{7}",,,,,,,[10],[7]],[,,"6846(?:22|33|44|55|77|88|9[19])\\d{4}",,,,"6846221234",,,,[7]],[,,"684(?:2(?:48|5[2468]|7[26])|7(?:3[13]|70|82))\\d{4}",,,,"6847331234",,,,[7]],[,,"8(?:00|33|44|55|66|77|88)[2-9]\\d{6}",,,,"8002123456"],[,,"900[2-9]\\d{6}",,,,"9002123456"],[,,,,,,,,,[-1]],[,,"52(?:3(?:[2-46-9][02-9]\\d|5(?:[02-46-9]\\d|5[0-46-9]))|4(?:[2-478][02-9]\\d|5(?:[034]\\d|2[024-9]|5[0-46-9])|6(?:0[1-9]|[2-9]\\d)|9(?:[05-9]\\d|2[0-5]|49)))\\d{4}|52[34][2-9]1[02-9]\\d{4}|5(?:00|2[125-9]|33|44|66|77|88)[2-9]\\d{6}",,,,"5002345678"],[,,,,,,,,,[-1]],"AS",1,"011","1",,,"([267]\\d{6})$|1","684$1",,,,,[,,,,,,,,,[-1]],,"684",[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],AT:[,[,,"1\\d{3,12}|2\\d{6,12}|43(?:(?:0\\d|5[02-9])\\d{3,9}|2\\d{4,5}|[3467]\\d{4}|8\\d{4,6}|9\\d{4,7})|5\\d{4,12}|8\\d{7,12}|9\\d{8,12}|(?:[367]\\d|4[0-24-9])\\d{4,11}",,,,,,,[4,5,6,7,8,9,10,11,12,13],[3]],[,,"1(?:11\\d|[2-9]\\d{3,11})|(?:316|463|(?:51|66|73)2)\\d{3,10}|(?:2(?:1[467]|2[13-8]|5[2357]|6[1-46-8]|7[1-8]|8[124-7]|9[1458])|3(?:1[1-578]|3[23568]|4[5-7]|5[1378]|6[1-38]|8[3-68])|4(?:2[1-8]|35|7[1368]|8[2457])|5(?:2[1-8]|3[357]|4[147]|5[12578]|6[37])|6(?:13|2[1-47]|4[135-8]|5[468])|7(?:2[1-8]|35|4[13478]|5[68]|6[16-8]|7[1-6]|9[45]))\\d{4,10}",,,,"1234567890",,,,[3]],[,,"6(?:5[0-3579]|6[013-9]|[7-9]\\d)\\d{4,10}",,,,"664123456",,,[7,8,9,10,11,12,13]],[,,"800\\d{6,10}",,,,"800123456",,,[9,10,11,12,13]],[,,"(?:8[69][2-68]|9(?:0[01]|3[019]))\\d{6,10}",,,,"900123456",,,[9,10,11,12,13]],[,,"8(?:10|2[018])\\d{6,10}|828\\d{5}",,,,"810123456",,,[8,9,10,11,12,13]],[,,,,,,,,,[-1]],[,,"5(?:0[1-9]|17|[79]\\d)\\d{2,10}|7[28]0\\d{6,10}",,,,"780123456",,,[5,6,7,8,9,10,11,12,13]],"AT",43,"00","0",,,"0",,,,[[,"(\\d{4})","$1",["14"]],[,"(\\d)(\\d{3,12})","$1 $2",["1(?:11|[2-9])"],"0$1"],[,"(\\d{3})(\\d{2})","$1 $2",["517"],"0$1"],[,"(\\d{2})(\\d{3,5})","$1 $2",["5[079]"],"0$1"],[,"(\\d{6})","$1",["[18]"]],[,"(\\d{3})(\\d{3,10})","$1 $2",["(?:31|4)6|51|6(?:5[0-3579]|[6-9])|7(?:20|32|8)|[89]"],"0$1"],[,"(\\d{4})(\\d{3,9})","$1 $2",["[2-467]|5[2-6]"],"0$1"],[,"(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["5"],"0$1"],[,"(\\d{2})(\\d{4})(\\d{4,7})","$1 $2 $3",["5"],"0$1"]],[[,"(\\d)(\\d{3,12})","$1 $2",["1(?:11|[2-9])"],"0$1"],[,"(\\d{3})(\\d{2})","$1 $2",["517"],"0$1"],[,"(\\d{2})(\\d{3,5})","$1 $2",["5[079]"],"0$1"],[,"(\\d{3})(\\d{3,10})","$1 $2",["(?:31|4)6|51|6(?:5[0-3579]|[6-9])|7(?:20|32|8)|[89]"],"0$1"],[,"(\\d{4})(\\d{3,9})","$1 $2",["[2-467]|5[2-6]"],"0$1"],[,"(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["5"],"0$1"],[,"(\\d{2})(\\d{4})(\\d{4,7})","$1 $2 $3",["5"],"0$1"]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],AU:[,[,,"1(?:[0-79]\\d{7}(?:\\d(?:\\d{2})?)?|8[0-24-9]\\d{7})|[2-478]\\d{8}|1\\d{4,7}",,,,,,,[5,6,7,8,9,10,12]],[,,"(?:(?:2(?:[0-26-9]\\d|3[0-8]|4[02-9]|5[0135-9])|3(?:[0-3589]\\d|4[0-578]|6[1-9]|7[0-35-9])|7(?:[013-57-9]\\d|2[0-8]))\\d{3}|8(?:51(?:0(?:0[03-9]|[12479]\\d|3[2-9]|5[0-8]|6[1-9]|8[0-7])|1(?:[0235689]\\d|1[0-69]|4[0-589]|7[0-47-9])|2(?:0[0-79]|[18][13579]|2[14-9]|3[0-46-9]|[4-6]\\d|7[89]|9[0-4]))|(?:6[0-8]|[78]\\d)\\d{3}|9(?:[02-9]\\d{3}|1(?:(?:[0-58]\\d|6[0135-9])\\d|7(?:0[0-24-9]|[1-9]\\d)|9(?:[0-46-9]\\d|5[0-79])))))\\d{3}",,,,"212345678",,,[9],[8]],[,,"4(?:79[01]|83[0-389]|93[0-6])\\d{5}|4(?:[0-3]\\d|4[047-9]|5[0-25-9]|6[016-9]|7[02-8]|8[0-24-9]|9[0-27-9])\\d{6}",,,,"412345678",,,[9]],[,,"180(?:0\\d{3}|2)\\d{3}",,,,"1800123456",,,[7,10]],[,,"190[0-26]\\d{6}",,,,"1900123456",,,[10]],[,,"13(?:00\\d{6}(?:\\d{2})?|45[0-4]\\d{3})|13\\d{4}",,,,"1300123456",,,[6,8,10,12]],[,,,,,,,,,[-1]],[,,"14(?:5(?:1[0458]|[23][458])|71\\d)\\d{4}",,,,"147101234",,,[9]],"AU",61,"001[14-689]|14(?:1[14]|34|4[17]|[56]6|7[47]|88)0011","0",,,"(183[12])|0",,"0011",,[[,"(\\d{2})(\\d{3,4})","$1 $2",["16"],"0$1"],[,"(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3",["13"]],[,"(\\d{3})(\\d{3})","$1 $2",["19"]],[,"(\\d{3})(\\d{4})","$1 $2",["180","1802"]],[,"(\\d{4})(\\d{3,4})","$1 $2",["19"]],[,"(\\d{2})(\\d{3})(\\d{2,4})","$1 $2 $3",["16"],"0$1"],[,"(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["14|4"],"0$1"],[,"(\\d)(\\d{4})(\\d{4})","$1 $2 $3",["[2378]"],"(0$1)","$CC ($1)"],[,"(\\d{4})(\\d{3})(\\d{3})","$1 $2 $3",["1(?:30|[89])"]],[,"(\\d{4})(\\d{4})(\\d{4})","$1 $2 $3",["130"]]],[[,"(\\d{2})(\\d{3,4})","$1 $2",["16"],"0$1"],[,"(\\d{2})(\\d{3})(\\d{2,4})","$1 $2 $3",["16"],"0$1"],[,"(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["14|4"],"0$1"],[,"(\\d)(\\d{4})(\\d{4})","$1 $2 $3",["[2378]"],"(0$1)","$CC ($1)"],[,"(\\d{4})(\\d{3})(\\d{3})","$1 $2 $3",["1(?:30|[89])"]]],[,,"163\\d{2,6}",,,,"1631234",,,[5,6,7,8,9]],1,,[,,"1(?:3(?:00\\d{5}|45[0-4])|802)\\d{3}|1[38]00\\d{6}|13\\d{4}",,,,,,,[6,7,8,10,12]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],AW:[,[,,"(?:[25-79]\\d\\d|800)\\d{4}",,,,,,,[7]],[,,"5(?:2\\d|8[1-9])\\d{4}",,,,"5212345"],[,,"(?:290|5[69]\\d|6(?:[03]0|22|4[0-2]|[69]\\d)|7(?:[34]\\d|7[07])|9(?:6[45]|9[4-8]))\\d{4}",,,,"5601234"],[,,"800\\d{4}",,,,"8001234"],[,,"900\\d{4}",,,,"9001234"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,"(?:28\\d|501)\\d{4}",,,,"5011234"],"AW",297,"00",,,,,,,,[[,"(\\d{3})(\\d{4})","$1 $2",["[25-9]"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],AX:[,[,,"2\\d{4,9}|35\\d{4,5}|(?:60\\d\\d|800)\\d{4,6}|7\\d{5,11}|(?:[14]\\d|3[0-46-9]|50)\\d{4,8}",,,,,,,[5,6,7,8,9,10,11,12]],[,,"18[1-8]\\d{3,6}",,,,"181234567",,,[6,7,8,9]],[,,"4946\\d{2,6}|(?:4[0-8]|50)\\d{4,8}",,,,"412345678",,,[6,7,8,9,10]],[,,"800\\d{4,6}",,,,"800123456",,,[7,8,9]],[,,"[67]00\\d{5,6}",,,,"600123456",,,[8,9]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"AX",358,"00|99(?:[01469]|5(?:[14]1|3[23]|5[59]|77|88|9[09]))","0",,,"0",,"00",,,,[,,,,,,,,,[-1]],,"18",[,,,,,,,,,[-1]],[,,"20\\d{4,8}|60[12]\\d{5,6}|7(?:099\\d{4,5}|5[03-9]\\d{3,7})|20[2-59]\\d\\d|(?:606|7(?:0[78]|1|3\\d))\\d{7}|(?:10|29|3[09]|70[1-5]\\d)\\d{4,8}",,,,"10112345"],,,[,,,,,,,,,[-1]]],AZ:[,[,,"365\\d{6}|(?:[124579]\\d|60|88)\\d{7}",,,,,,,[9],[7]],[,,"(?:2[12]428|3655[02])\\d{4}|(?:2(?:22[0-79]|63[0-28])|3654)\\d{5}|(?:(?:1[28]|46)\\d|2(?:[014-6]2|[23]3))\\d{6}",,,,"123123456",,,,[7]],[,,"36554\\d{4}|(?:[16]0|4[04]|5[015]|7[07]|99)\\d{7}",,,,"401234567"],[,,"88\\d{7}",,,,"881234567"],[,,"900200\\d{3}",,,,"900200123"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"AZ",994,"00","0",,,"0",,,,[[,"(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3",["[1-9]"]],[,"(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["90"],"0$1"],[,"(\\d{2})(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4",["1[28]|2|365|46","1[28]|2|365[45]|46","1[28]|2|365(?:4|5[02])|46"],"(0$1)"],[,"(\\d{2})(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[13-9]"],"0$1"]],[[,"(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["90"],"0$1"],[,"(\\d{2})(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4",["1[28]|2|365|46","1[28]|2|365[45]|46","1[28]|2|365(?:4|5[02])|46"],"(0$1)"],[,"(\\d{2})(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[13-9]"],"0$1"]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],BA:[,[,,"6\\d{8}|(?:[35689]\\d|49|70)\\d{6}",,,,,,,[8,9],[6]],[,,"(?:3(?:[05-79][2-9]|1[4579]|[23][24-9]|4[2-4689]|8[2457-9])|49[2-579]|5(?:0[2-49]|[13][2-9]|[268][2-4679]|4[4689]|5[2-79]|7[2-69]|9[2-4689]))\\d{5}",,,,"30212345",,,[8],[6]],[,,"6040\\d{5}|6(?:03|[1-356]|44|7\\d)\\d{6}",,,,"61123456"],[,,"8[08]\\d{6}",,,,"80123456",,,[8]],[,,"9[0246]\\d{6}",,,,"90123456",,,[8]],[,,"8[12]\\d{6}",,,,"82123456",,,[8]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"BA",387,"00","0",,,"0",,,,[[,"(\\d{3})(\\d{3})","$1-$2",["[2-9]"]],[,"(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["6[1-3]|[7-9]"],"0$1"],[,"(\\d{2})(\\d{3})(\\d{3})","$1 $2-$3",["[3-5]|6[56]"],"0$1"],[,"(\\d{2})(\\d{2})(\\d{2})(\\d{3})","$1 $2 $3 $4",["6"],"0$1"]],[[,"(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["6[1-3]|[7-9]"],"0$1"],[,"(\\d{2})(\\d{3})(\\d{3})","$1 $2-$3",["[3-5]|6[56]"],"0$1"],[,"(\\d{2})(\\d{2})(\\d{2})(\\d{3})","$1 $2 $3 $4",["6"],"0$1"]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,"703[235]0\\d{3}|70(?:2[0-5]|3[0146]|[56]0)\\d{4}",,,,"70341234",,,[8]],,,[,,,,,,,,,[-1]]],BB:[,[,,"(?:246|[58]\\d\\d|900)\\d{7}",,,,,,,[10],[7]],[,,"246521[0369]\\d{3}|246(?:2(?:2[78]|7[0-4])|4(?:1[024-6]|2\\d|3[2-9])|5(?:20|[34]\\d|54|7[1-3])|6(?:2\\d|38)|7[35]7|9(?:1[89]|63))\\d{4}",,,,"2464123456",,,,[7]],[,,"246(?:(?:2(?:[3568]\\d|4[0-57-9])|3(?:5[2-9]|6[0-6])|4(?:46|5\\d)|69[5-7]|8(?:[2-5]\\d|83))\\d|52(?:1[147]|20))\\d{3}",,,,"2462501234",,,,[7]],[,,"8(?:00|33|44|55|66|77|88)[2-9]\\d{6}",,,,"8002123456"],[,,"(?:246976|900[2-9]\\d\\d)\\d{4}",,,,"9002123456",,,,[7]],[,,,,,,,,,[-1]],[,,"52(?:3(?:[2-46-9][02-9]\\d|5(?:[02-46-9]\\d|5[0-46-9]))|4(?:[2-478][02-9]\\d|5(?:[034]\\d|2[024-9]|5[0-46-9])|6(?:0[1-9]|[2-9]\\d)|9(?:[05-9]\\d|2[0-5]|49)))\\d{4}|52[34][2-9]1[02-9]\\d{4}|5(?:00|2[125-9]|33|44|66|77|88)[2-9]\\d{6}",,,,"5002345678"],[,,"24631\\d{5}",,,,"2463101234",,,,[7]],"BB",1,"011","1",,,"([2-9]\\d{6})$|1","246$1",,,,,[,,,,,,,,,[-1]],,"246",[,,,,,,,,,[-1]],[,,"246(?:292|367|4(?:1[7-9]|3[01]|4[47-9]|67)|7(?:1[2-9]|2\\d|3[016]|53))\\d{4}",,,,"2464301234",,,,[7]],,,[,,,,,,,,,[-1]]],BD:[,[,,"[1-469]\\d{9}|8[0-79]\\d{7,8}|[2-79]\\d{8}|[2-9]\\d{7}|[3-9]\\d{6}|[57-9]\\d{5}",,,,,,,[6,7,8,9,10]],[,,"(?:4(?:31\\d\\d|423)|5222)\\d{3}(?:\\d{2})?|8332[6-9]\\d\\d|(?:3(?:03[56]|224)|4(?:22[25]|653))\\d{3,4}|(?:3(?:42[47]|529|823)|4(?:027|525|65(?:28|8))|562|6257|7(?:1(?:5[3-5]|6[12]|7[156]|89)|22[589]56|32|42675|52(?:[25689](?:56|8)|[347]8)|71(?:6[1267]|75|89)|92374)|82(?:2[59]|32)56|9(?:03[23]56|23(?:256|373)|31|5(?:1|2[4589]56)))\\d{3}|(?:3(?:02[348]|22[35]|324|422)|4(?:22[67]|32[236-9]|6(?:2[46]|5[57])|953)|5526|6(?:024|6655)|81)\\d{4,5}|(?:2(?:7(?:1[0-267]|2[0-289]|3[0-29]|4[01]|5[1-3]|6[013]|7[0178]|91)|8(?:0[125]|1[1-6]|2[0157-9]|3[1-69]|41|6[1-35]|7[1-5]|8[1-8]|9[0-6])|9(?:0[0-2]|1[0-4]|2[568]|3[3-6]|5[5-7]|6[0136-9]|7[0-7]|8[014-9]))|3(?:0(?:2[025-79]|3[2-4])|181|22[12]|32[2356]|824)|4(?:02[09]|22[348]|32[045]|523|6(?:27|54))|666(?:22|53)|7(?:22[57-9]|42[56]|82[35])8|8(?:0[124-9]|2(?:181|2[02-4679]8)|4[12]|[5-7]2)|9(?:[04]2|2(?:2|328)|81))\\d{4}|(?:2(?:222|[45]\\d)\\d|3(?:1(?:2[5-7]|[5-7])|425|822)|4(?:033|1\\d|[257]1|332|4(?:2[246]|5[25])|6(?:2[35]|56|62)|8(?:23|54)|92[2-5])|5(?:02[03489]|22[457]|32[35-79]|42[46]|6(?:[18]|53)|724|826)|6(?:023|2(?:2[2-5]|5[3-5]|8)|32[3478]|42[34]|52[47]|6(?:[18]|6(?:2[34]|5[24]))|[78]2[2-5]|92[2-6])|7(?:02|21\\d|[3-589]1|6[12]|72[24])|8(?:217|3[12]|[5-7]1)|9[24]1)\\d{5}|(?:(?:3[2-8]|5[2-57-9]|6[03-589])1|4[4689][18])\\d{5}|[59]1\\d{5}",,,,"27111234"],[,,"(?:1[13-9]\\d|644)\\d{7}|(?:3[78]|44|66)[02-9]\\d{7}",,,,"1812345678",,,[10]],[,,"80[03]\\d{7}",,,,"8001234567",,,[10]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,"96(?:0[469]|1[0-47]|3[389]|6[69]|7[78])\\d{6}",,,,"9604123456",,,[10]],"BD",880,"00","0",,,"0",,,,[[,"(\\d{2})(\\d{4,6})","$1-$2",["31[5-8]|[459]1"],"0$1"],[,"(\\d{3})(\\d{3,7})","$1-$2",["3(?:[67]|8[013-9])|4(?:6[168]|7|[89][18])|5(?:6[128]|9)|6(?:28|4[14]|5)|7[2-589]|8(?:0[014-9]|[12])|9[358]|(?:3[2-5]|4[235]|5[2-578]|6[0389]|76|8[3-7]|9[24])1|(?:44|66)[01346-9]"],"0$1"],[,"(\\d{4})(\\d{3,6})","$1-$2",["[13-9]|22"],"0$1"],[,"(\\d)(\\d{7,8})","$1-$2",["2"],"0$1"]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],BE:[,[,,"4\\d{8}|[1-9]\\d{7}",,,,,,,[8,9]],[,,"80[2-8]\\d{5}|(?:1[0-69]|[23][2-8]|4[23]|5\\d|6[013-57-9]|71|8[1-79]|9[2-4])\\d{6}",,,,"12345678",,,[8]],[,,"4[5-9]\\d{7}",,,,"470123456",,,[9]],[,,"800[1-9]\\d{4}",,,,"80012345",,,[8]],[,,"(?:70(?:2[0-57]|3[04-7]|44|6[569]|7[0579])|90(?:0[0-8]|1[36]|2[0-3568]|3[0-689]|[47][2-68]|5[1-68]|6[0-378]|9[34679]))\\d{4}",,,,"90012345",,,[8]],[,,"7879\\d{4}",,,,"78791234",,,[8]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"BE",32,"00","0",,,"0",,,,[[,"(\\d{3})(\\d{2})(\\d{3})","$1 $2 $3",["(?:80|9)0"],"0$1"],[,"(\\d)(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[239]|4[23]"],"0$1"],[,"(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[15-8]"],"0$1"],[,"(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["4"],"0$1"]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,"78(?:0[57]|1[014-8]|2[25]|3[15-8]|48|[56]0|7[06-8]|9\\d)\\d{4}",,,,"78102345",,,[8]],,,[,,,,,,,,,[-1]]],BF:[,[,,"[025-7]\\d{7}",,,,,,,[8]],[,,"2(?:0(?:49|5[23]|6[5-7]|9[016-9])|4(?:4[569]|5[4-6]|6[5-7]|7[0179])|5(?:[34]\\d|50|6[5-7]))\\d{4}",,,,"20491234"],[,,"(?:0[1-35-7]|5[1-8]|[67]\\d)\\d{6}",,,,"70123456"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"BF",226,"00",,,,,,,,[[,"(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[025-7]"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],BG:[,[,,"00800\\d{7}|[2-7]\\d{6,7}|[89]\\d{6,8}|2\\d{5}",,,,,,,[6,7,8,9,12],[4,5]],[,,"2\\d{5,7}|(?:43[1-6]|70[1-9])\\d{4,5}|(?:[36]\\d|4[124-7]|[57][1-9]|8[1-6]|9[1-7])\\d{5,6}",,,,"2123456",,,[6,7,8],[4,5]],[,,"(?:43[07-9]|99[69]\\d)\\d{5}|(?:8[7-9]|98)\\d{7}",,,,"43012345",,,[8,9]],[,,"(?:00800\\d\\d|800)\\d{5}",,,,"80012345",,,[8,12]],[,,"90\\d{6}",,,,"90123456",,,[8]],[,,"700\\d{5}",,,,"70012345",,,[8]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"BG",359,"00","0",,,"0",,,,[[,"(\\d{6})","$1",["1"]],[,"(\\d)(\\d)(\\d{2})(\\d{2})","$1 $2 $3 $4",["2"],"0$1"],[,"(\\d{3})(\\d{4})","$1 $2",["43[1-6]|70[1-9]"],"0$1"],[,"(\\d)(\\d{3})(\\d{3,4})","$1 $2 $3",["2"],"0$1"],[,"(\\d{2})(\\d{3})(\\d{2,3})","$1 $2 $3",["[356]|4[124-7]|7[1-9]|8[1-6]|9[1-7]"],"0$1"],[,"(\\d{3})(\\d{2})(\\d{3})","$1 $2 $3",["(?:70|8)0"],"0$1"],[,"(\\d{3})(\\d{3})(\\d{2})","$1 $2 $3",["43[1-7]|7"],"0$1"],[,"(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["[48]|9[08]"],"0$1"],[,"(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["9"],"0$1"]],[[,"(\\d)(\\d)(\\d{2})(\\d{2})","$1 $2 $3 $4",["2"],"0$1"],[,"(\\d{3})(\\d{4})","$1 $2",["43[1-6]|70[1-9]"],"0$1"],[,"(\\d)(\\d{3})(\\d{3,4})","$1 $2 $3",["2"],"0$1"],[,"(\\d{2})(\\d{3})(\\d{2,3})","$1 $2 $3",["[356]|4[124-7]|7[1-9]|8[1-6]|9[1-7]"],"0$1"],[,"(\\d{3})(\\d{2})(\\d{3})","$1 $2 $3",["(?:70|8)0"],"0$1"],[,"(\\d{3})(\\d{3})(\\d{2})","$1 $2 $3",["43[1-7]|7"],"0$1"],[,"(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["[48]|9[08]"],"0$1"],[,"(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["9"],"0$1"]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],BH:[,[,,"[136-9]\\d{7}",,,,,,,[8]],[,,"(?:1(?:3[1356]|6[0156]|7\\d)\\d|6(?:1[16]\\d|500|6(?:0\\d|3[12]|44|7[7-9]|88)|9[69][69])|7(?:1(?:11|78)|7\\d\\d))\\d{4}",,,,"17001234"],[,,"(?:3(?:[1-79]\\d|8[0-47-9])\\d|6(?:3(?:00|33|6[16])|6(?:3[03-9]|[69]\\d|7[0-6])))\\d{4}",,,,"36001234"],[,,"80\\d{6}",,,,"80123456"],[,,"(?:87|9[014578])\\d{6}",,,,"90123456"],[,,"84\\d{6}",,,,"84123456"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"BH",973,"00",,,,,,,,[[,"(\\d{4})(\\d{4})","$1 $2",["[13679]|8[047]"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],BI:[,[,,"(?:[267]\\d|31)\\d{6}",,,,,,,[8]],[,,"(?:22|31)\\d{6}",,,,"22201234"],[,,"(?:29|[67][125-9])\\d{6}",,,,"79561234"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"BI",257,"00",,,,,,,,[[,"(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[2367]"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],BJ:[,[,,"[24-689]\\d{7}",,,,,,,[8]],[,,"2(?:02|1[037]|2[45]|3[68]|4\\d)\\d{5}",,,,"20211234"],[,,"(?:4[0-2]|[56]\\d|9[013-9])\\d{6}",,,,"90011234"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,"857[58]\\d{4}",,,,"85751234"],"BJ",229,"00",,,,,,,,[[,"(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[24-689]"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,"81\\d{6}",,,,"81123456"],,,[,,,,,,,,,[-1]]],BL:[,[,,"(?:590|(?:69|80)\\d|976)\\d{6}",,,,,,,[9]],[,,"590(?:2[7-9]|5[12]|87)\\d{4}",,,,"590271234"],[,,"69(?:0\\d\\d|1(?:2[2-9]|3[0-5]))\\d{4}",,,,"690001234"],[,,"80[0-5]\\d{6}",,,,"800012345"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,"976[01]\\d{5}",,,,"976012345"],"BL",590,"00","0",,,"0",,,,,,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],BM:[,[,,"(?:441|[58]\\d\\d|900)\\d{7}",,,,,,,[10],[7]],[,,"441(?:[46]\\d\\d|5(?:4\\d|60|89))\\d{4}",,,,"4414123456",,,,[7]],[,,"441(?:[2378]\\d|5[0-39]|92)\\d{5}",,,,"4413701234",,,,[7]],[,,"8(?:00|33|44|55|66|77|88)[2-9]\\d{6}",,,,"8002123456"],[,,"900[2-9]\\d{6}",,,,"9002123456"],[,,,,,,,,,[-1]],[,,"52(?:3(?:[2-46-9][02-9]\\d|5(?:[02-46-9]\\d|5[0-46-9]))|4(?:[2-478][02-9]\\d|5(?:[034]\\d|2[024-9]|5[0-46-9])|6(?:0[1-9]|[2-9]\\d)|9(?:[05-9]\\d|2[0-5]|49)))\\d{4}|52[34][2-9]1[02-9]\\d{4}|5(?:00|2[125-9]|33|44|66|77|88)[2-9]\\d{6}",,,,"5002345678"],[,,,,,,,,,[-1]],"BM",1,"011","1",,,"([2-9]\\d{6})$|1","441$1",,,,,[,,,,,,,,,[-1]],,"441",[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],BN:[,[,,"[2-578]\\d{6}",,,,,,,[7]],[,,"22[0-7]\\d{4}|(?:2[013-9]|[34]\\d|5[0-25-9])\\d{5}",,,,"2345678"],[,,"(?:22[89]|[78]\\d\\d)\\d{4}",,,,"7123456"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,"5[34]\\d{5}",,,,"5345678"],"BN",673,"00",,,,,,,,[[,"(\\d{3})(\\d{4})","$1 $2",["[2-578]"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],BO:[,[,,"(?:[2-467]\\d\\d|8001)\\d{5}",,,,,,,[8,9],[7]],[,,"(?:2(?:2\\d\\d|5(?:11|[258]\\d|9[67])|6(?:12|2\\d|9[34])|8(?:2[34]|39|62))|3(?:3\\d\\d|4(?:6\\d|8[24])|8(?:25|42|5[257]|86|9[25])|9(?:[27]\\d|3[2-4]|4[248]|5[24]|6[2-6]))|4(?:4\\d\\d|6(?:11|[24689]\\d|72)))\\d{4}",,,,"22123456",,,[8],[7]],[,,"[67]\\d{7}",,,,"71234567",,,[8]],[,,"8001[07]\\d{4}",,,,"800171234",,,[9]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"BO",591,"00(?:1\\d)?","0",,,"0(1\\d)?",,,,[[,"(\\d)(\\d{7})","$1 $2",["[23]|4[46]"],,"0$CC $1"],[,"(\\d{8})","$1",["[67]"],,"0$CC $1"],[,"(\\d{3})(\\d{2})(\\d{4})","$1 $2 $3",["8"],,"0$CC $1"]],,[,,,,,,,,,[-1]],,,[,,"8001[07]\\d{4}",,,,,,,[9]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],BQ:[,[,,"(?:[34]1|7\\d)\\d{5}",,,,,,,[7]],[,,"(?:318[023]|41(?:6[023]|70)|7(?:1[578]|2[05]|50)\\d)\\d{3}",,,,"7151234"],[,,"(?:31(?:8[14-8]|9[14578])|416[14-9]|7(?:0[01]|7[07]|8\\d|9[056])\\d)\\d{3}",,,,"3181234"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"BQ",599,"00",,,,,,,,,,[,,,,,,,,,[-1]],,"[347]",[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],BR:[,[,,"(?:[1-46-9]\\d\\d|5(?:[0-46-9]\\d|5[0-46-9]))\\d{8}|[1-9]\\d{9}|[3589]\\d{8}|[34]\\d{7}",,,,,,,[8,9,10,11]],[,,"(?:[14689][1-9]|2[12478]|3[1-578]|5[13-5]|7[13-579])[2-5]\\d{7}",,,,"1123456789",,,[10],[8]],[,,"(?:[14689][1-9]|2[12478]|3[1-578]|5[13-5]|7[13-579])(?:7|9\\d)\\d{7}",,,,"11961234567",,,[10,11],[8,9]],[,,"800\\d{6,7}",,,,"800123456",,,[9,10]],[,,"300\\d{6}|[59]00\\d{6,7}",,,,"300123456",,,[9,10]],[,,"(?:30[03]\\d{3}|4(?:0(?:0\\d|20)|370))\\d{4}|300\\d{5}",,,,"40041234",,,[8,10]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"BR",55,"00(?:1[245]|2[1-35]|31|4[13]|[56]5|99)","0",,,"(?:0|90)(?:(1[245]|2[1-35]|31|4[13]|[56]5|99)(\\d{10,11}))?","$2",,,[[,"(\\d{3,6})","$1",["1(?:1[25-8]|2[357-9]|3[02-68]|4[12568]|5|6[0-8]|8[015]|9[0-47-9])|321|610"]],[,"(\\d{4})(\\d{4})","$1-$2",["300|4(?:0[02]|37)","4(?:02|37)0|[34]00"]],[,"(\\d{4})(\\d{4})","$1-$2",["[2-57]","[2357]|4(?:[0-24-9]|3(?:[0-689]|7[1-9]))"]],[,"(\\d{3})(\\d{2,3})(\\d{4})","$1 $2 $3",["(?:[358]|90)0"],"0$1"],[,"(\\d{5})(\\d{4})","$1-$2",["9"]],[,"(\\d{2})(\\d{4})(\\d{4})","$1 $2-$3",["(?:[14689][1-9]|2[12478]|3[1-578]|5[13-5]|7[13-579])[2-57]"],"($1)","0 $CC ($1)"],[,"(\\d{2})(\\d{5})(\\d{4})","$1 $2-$3",["[16][1-9]|[2-57-9]"],"($1)","0 $CC ($1)"]],[[,"(\\d{4})(\\d{4})","$1-$2",["300|4(?:0[02]|37)","4(?:02|37)0|[34]00"]],[,"(\\d{3})(\\d{2,3})(\\d{4})","$1 $2 $3",["(?:[358]|90)0"],"0$1"],[,"(\\d{2})(\\d{4})(\\d{4})","$1 $2-$3",["(?:[14689][1-9]|2[12478]|3[1-578]|5[13-5]|7[13-579])[2-57]"],"($1)","0 $CC ($1)"],[,"(\\d{2})(\\d{5})(\\d{4})","$1 $2-$3",["[16][1-9]|[2-57-9]"],"($1)","0 $CC ($1)"]],[,,,,,,,,,[-1]],,,[,,"30(?:0\\d{5,7}|3\\d{7})|40(?:0\\d|20)\\d{4}|800\\d{6,7}",,,,,,,[8,9,10]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],BS:[,[,,"(?:242|[58]\\d\\d|900)\\d{7}",,,,,,,[10],[7]],[,,"242(?:3(?:02|[236][1-9]|4[0-24-9]|5[0-68]|7[347]|8[0-4]|9[2-467])|461|502|6(?:0[1-5]|12|2[013]|[45]0|7[67]|8[78]|9[89])|7(?:02|88))\\d{4}",,,,"2423456789",,,,[7]],[,,"242(?:3(?:5[79]|7[56]|95)|4(?:[23][1-9]|4[1-35-9]|5[1-8]|6[2-8]|7\\d|81)|5(?:2[45]|3[35]|44|5[1-46-9]|65|77)|6[34]6|7(?:27|38)|8(?:0[1-9]|1[02-9]|2\\d|[89]9))\\d{4}",,,,"2423591234",,,,[7]],[,,"242300\\d{4}|8(?:00|33|44|55|66|77|88)[2-9]\\d{6}",,,,"8002123456",,,,[7]],[,,"900[2-9]\\d{6}",,,,"9002123456"],[,,,,,,,,,[-1]],[,,"52(?:3(?:[2-46-9][02-9]\\d|5(?:[02-46-9]\\d|5[0-46-9]))|4(?:[2-478][02-9]\\d|5(?:[034]\\d|2[024-9]|5[0-46-9])|6(?:0[1-9]|[2-9]\\d)|9(?:[05-9]\\d|2[0-5]|49)))\\d{4}|52[34][2-9]1[02-9]\\d{4}|5(?:00|2[125-9]|33|44|66|77|88)[2-9]\\d{6}",,,,"5002345678"],[,,,,,,,,,[-1]],"BS",1,"011","1",,,"([3-8]\\d{6})$|1","242$1",,,,,[,,,,,,,,,[-1]],,"242",[,,,,,,,,,[-1]],[,,"242225\\d{4}",,,,"2422250123"],,,[,,,,,,,,,[-1]]],BT:[,[,,"[17]\\d{7}|[2-8]\\d{6}",,,,,,,[7,8],[6]],[,,"(?:2[3-6]|[34][5-7]|5[236]|6[2-46]|7[246]|8[2-4])\\d{5}",,,,"2345678",,,[7],[6]],[,,"(?:1[67]|77)\\d{6}",,,,"17123456",,,[8]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"BT",975,"00",,,,,,,,[[,"(\\d{3})(\\d{3})","$1 $2",["[2-7]"]],[,"(\\d)(\\d{3})(\\d{3})","$1 $2 $3",["[2-68]|7[246]"]],[,"(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["1[67]|7"]]],[[,"(\\d)(\\d{3})(\\d{3})","$1 $2 $3",["[2-68]|7[246]"]],[,"(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["1[67]|7"]]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],BW:[,[,,"(?:0800|(?:[37]|800)\\d)\\d{6}|(?:[2-6]\\d|90)\\d{5}",,,,,,,[7,8,10]],[,,"(?:2(?:4[0-48]|6[0-24]|9[0578])|3(?:1[0-35-9]|55|[69]\\d|7[013])|4(?:6[03]|7[1267]|9[0-5])|5(?:3[03489]|4[0489]|7[1-47]|88|9[0-49])|6(?:2[1-35]|5[149]|8[067]))\\d{4}",,,,"2401234",,,[7]],[,,"(?:321|7(?:[1-7]\\d|8[0-4]))\\d{5}",,,,"71123456",,,[8]],[,,"(?:0800|800\\d)\\d{6}",,,,"0800012345",,,[10]],[,,"90\\d{5}",,,,"9012345",,,[7]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,"79(?:1(?:[01]\\d|2[0-7])|2[0-7]\\d)\\d{3}",,,,"79101234",,,[8]],"BW",267,"00",,,,,,,,[[,"(\\d{2})(\\d{5})","$1 $2",["90"]],[,"(\\d{3})(\\d{4})","$1 $2",["[24-6]|3[15-79]"]],[,"(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["[37]"]],[,"(\\d{4})(\\d{3})(\\d{3})","$1 $2 $3",["0"]],[,"(\\d{3})(\\d{4})(\\d{3})","$1 $2 $3",["8"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],BY:[,[,,"(?:[12]\\d|33|44|902)\\d{7}|8(?:0[0-79]\\d{5,7}|[1-7]\\d{9})|8(?:1[0-489]|[5-79]\\d)\\d{7}|8[1-79]\\d{6,7}|8[0-79]\\d{5}|8\\d{5}",,,,,,,[6,7,8,9,10,11],[5]],[,,"(?:1(?:5(?:1[1-5]|[24]\\d|6[2-4]|9[1-7])|6(?:[235]\\d|4[1-7])|7\\d\\d)|2(?:1(?:[246]\\d|3[0-35-9]|5[1-9])|2(?:[235]\\d|4[0-8])|3(?:[26]\\d|3[02-79]|4[024-7]|5[03-7])))\\d{5}",,,,"152450911",,,[9],[5,6,7]],[,,"(?:2(?:5[5-79]|9[1-9])|(?:33|44)\\d)\\d{6}",,,,"294911911",,,[9]],[,,"800\\d{3,7}|8(?:0[13]|20\\d)\\d{7}",,,,"8011234567"],[,,"(?:810|902)\\d{7}",,,,"9021234567",,,[10]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,"249\\d{6}",,,,"249123456",,,[9]],"BY",375,"810","8",,,"0|80?",,"8~10",,[[,"(\\d{3})(\\d{3})","$1 $2",["800"],"8 $1"],[,"(\\d{3})(\\d{2})(\\d{2,4})","$1 $2 $3",["800"],"8 $1"],[,"(\\d{4})(\\d{2})(\\d{3})","$1 $2-$3",["1(?:5[169]|6[3-5]|7[179])|2(?:1[35]|2[34]|3[3-5])","1(?:5[169]|6(?:3[1-3]|4|5[125])|7(?:1[3-9]|7[0-24-6]|9[2-7]))|2(?:1[35]|2[34]|3[3-5])"],"8 0$1"],[,"(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2-$3-$4",["1(?:[56]|7[467])|2[1-3]"],"8 0$1"],[,"(\\d{2})(\\d{3})(\\d{2})(\\d{2})","$1 $2-$3-$4",["[1-4]"],"8 0$1"],[,"(\\d{3})(\\d{3,4})(\\d{4})","$1 $2 $3",["[89]"],"8 $1"]],,[,,,,,,,,,[-1]],,,[,,"800\\d{3,7}|(?:8(?:0[13]|10|20\\d)|902)\\d{7}"],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],BZ:[,[,,"(?:0800\\d|[2-8])\\d{6}",,,,,,,[7,11]],[,,"(?:2(?:[02]\\d|36|[68]0)|[3-58](?:[02]\\d|[68]0)|7(?:[02]\\d|32|[68]0))\\d{4}",,,,"2221234",,,[7]],[,,"6[0-35-7]\\d{5}",,,,"6221234",,,[7]],[,,"0800\\d{7}",,,,"08001234123",,,[11]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"BZ",501,"00",,,,,,,,[[,"(\\d{3})(\\d{4})","$1-$2",["[2-8]"]],[,"(\\d)(\\d{3})(\\d{4})(\\d{3})","$1-$2-$3-$4",["0"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],CA:[,[,,"(?:[2-8]\\d|90)\\d{8}|3\\d{6}",,,,,,,[7,10]],[,,"(?:2(?:04|[23]6|[48]9|50|63)|3(?:06|43|54|6[578]|82)|4(?:03|1[68]|3[178]|50|68|74)|5(?:06|1[49]|48|79|8[147])|6(?:04|[18]3|39|47|72)|7(?:0[59]|42|53|78|8[02])|8(?:[06]7|19|25|73)|90[25])[2-9]\\d{6}",,,,"5062345678",,,[10],[7]],[,,"(?:2(?:04|[23]6|[48]9|50|63)|3(?:06|43|54|6[578]|82)|4(?:03|1[68]|3[178]|50|68|74)|5(?:06|1[49]|48|79|8[147])|6(?:04|[18]3|39|47|72)|7(?:0[59]|42|53|78|8[02])|8(?:[06]7|19|25|73)|90[25])[2-9]\\d{6}",,,,"5062345678",,,[10],[7]],[,,"8(?:00|33|44|55|66|77|88)[2-9]\\d{6}",,,,"8002123456",,,[10]],[,,"900[2-9]\\d{6}",,,,"9002123456",,,[10]],[,,,,,,,,,[-1]],[,,"52(?:3(?:[2-46-9][02-9]\\d|5(?:[02-46-9]\\d|5[0-46-9]))|4(?:[2-478][02-9]\\d|5(?:[034]\\d|2[024-9]|5[0-46-9])|6(?:0[1-9]|[2-9]\\d)|9(?:[05-9]\\d|2[0-5]|49)))\\d{4}|52[34][2-9]1[02-9]\\d{4}|(?:5(?:00|2[125-9]|33|44|66|77|88)|622)[2-9]\\d{6}",,,,"5002345678",,,[10]],[,,"600[2-9]\\d{6}",,,,"6002012345",,,[10]],"CA",1,"011","1",,,"1",,,1,,,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,"310\\d{4}",,,,"3101234",,,[7]],,,[,,,,,,,,,[-1]]],CC:[,[,,"1(?:[0-79]\\d{8}(?:\\d{2})?|8[0-24-9]\\d{7})|[148]\\d{8}|1\\d{5,7}",,,,,,,[6,7,8,9,10,12]],[,,"8(?:51(?:0(?:02|31|60|89)|1(?:18|76)|223)|91(?:0(?:1[0-2]|29)|1(?:[28]2|50|79)|2(?:10|64)|3(?:[06]8|22)|4[29]8|62\\d|70[23]|959))\\d{3}",,,,"891621234",,,[9],[8]],[,,"4(?:79[01]|83[0-389]|93[0-6])\\d{5}|4(?:[0-3]\\d|4[047-9]|5[0-25-9]|6[016-9]|7[02-8]|8[0-24-9]|9[0-27-9])\\d{6}",,,,"412345678",,,[9]],[,,"180(?:0\\d{3}|2)\\d{3}",,,,"1800123456",,,[7,10]],[,,"190[0-26]\\d{6}",,,,"1900123456",,,[10]],[,,"13(?:00\\d{6}(?:\\d{2})?|45[0-4]\\d{3})|13\\d{4}",,,,"1300123456",,,[6,8,10,12]],[,,,,,,,,,[-1]],[,,"14(?:5(?:1[0458]|[23][458])|71\\d)\\d{4}",,,,"147101234",,,[9]],"CC",61,"001[14-689]|14(?:1[14]|34|4[17]|[56]6|7[47]|88)0011","0",,,"([59]\\d{7})$|0","8$1","0011",,,,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],CD:[,[,,"[189]\\d{8}|[1-68]\\d{6}",,,,,,,[7,9]],[,,"12\\d{7}|[1-6]\\d{6}",,,,"1234567"],[,,"88\\d{5}|(?:8[0-59]|9[017-9])\\d{7}",,,,"991234567"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"CD",243,"00","0",,,"0",,,,[[,"(\\d{2})(\\d{2})(\\d{3})","$1 $2 $3",["88"],"0$1"],[,"(\\d{2})(\\d{5})","$1 $2",["[1-6]"],"0$1"],[,"(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["1"],"0$1"],[,"(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[89]"],"0$1"]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],CF:[,[,,"(?:[27]\\d{3}|8776)\\d{4}",,,,,,,[8]],[,,"2[12]\\d{6}",,,,"21612345"],[,,"7[024-7]\\d{6}",,,,"70012345"],[,,,,,,,,,[-1]],[,,"8776\\d{4}",,,,"87761234"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"CF",236,"00",,,,,,,,[[,"(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[278]"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],CG:[,[,,"222\\d{6}|(?:0\\d|80)\\d{7}",,,,,,,[9]],[,,"222[1-589]\\d{5}",,,,"222123456"],[,,"026(?:1[0-5]|6[6-9])\\d{4}|0(?:[14-6]\\d\\d|2(?:40|5[5-8]|6[07-9]))\\d{5}",,,,"061234567"],[,,,,,,,,,[-1]],[,,"80(?:0\\d\\d|120)\\d{4}",,,,"800123456"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"CG",242,"00",,,,,,,,[[,"(\\d)(\\d{4})(\\d{4})","$1 $2 $3",["8"]],[,"(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["[02]"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],CH:[,[,,"8\\d{11}|[2-9]\\d{8}",,,,,,,[9,12]],[,,"(?:2[12467]|3[1-4]|4[134]|5[256]|6[12]|[7-9]1)\\d{7}",,,,"212345678",,,[9]],[,,"7[35-9]\\d{7}",,,,"781234567",,,[9]],[,,"800\\d{6}",,,,"800123456",,,[9]],[,,"90[016]\\d{6}",,,,"900123456",,,[9]],[,,"84[0248]\\d{6}",,,,"840123456",,,[9]],[,,"878\\d{6}",,,,"878123456",,,[9]],[,,,,,,,,,[-1]],"CH",41,"00","0",,,"0",,,,[[,"(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["8[047]|90"],"0$1"],[,"(\\d{2})(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[2-79]|81"],"0$1"],[,"(\\d{3})(\\d{2})(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4 $5",["8"],"0$1"]],,[,,"74[0248]\\d{6}",,,,"740123456",,,[9]],,,[,,,,,,,,,[-1]],[,,"5[18]\\d{7}",,,,"581234567",,,[9]],,,[,,"860\\d{9}",,,,"860123456789",,,[12]]],CI:[,[,,"[02]\\d{9}",,,,,,,[10]],[,,"2(?:[15]\\d{3}|7(?:2(?:0[23]|1[2357]|2[245]|3[45]|4[3-5])|3(?:06|1[69]|[2-6]7)))\\d{5}",,,,"2123456789"],[,,"0[157]\\d{8}",,,,"0123456789"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"CI",225,"00",,,,,,,,[[,"(\\d{2})(\\d{2})(\\d)(\\d{5})","$1 $2 $3 $4",["2"]],[,"(\\d{2})(\\d{2})(\\d{2})(\\d{4})","$1 $2 $3 $4",["0"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],CK:[,[,,"[2-578]\\d{4}",,,,,,,[5]],[,,"(?:2\\d|3[13-7]|4[1-5])\\d{3}",,,,"21234"],[,,"[578]\\d{4}",,,,"71234"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"CK",682,"00",,,,,,,,[[,"(\\d{2})(\\d{3})","$1 $2",["[2-578]"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],CL:[,[,,"12300\\d{6}|6\\d{9,10}|[2-9]\\d{8}",,,,,,,[9,10,11]],[,,"2(?:1982[0-6]|3314[05-9])\\d{3}|(?:2(?:1(?:160|962)|3(?:2\\d\\d|3(?:[0346]\\d|1[0-35-9]|2[1-9]|5[0-24-9]|7[0-3])|600)|646[59])|80[1-9]\\d\\d|9(?:3(?:[0-57-9]\\d\\d|6(?:0[02-9]|[1-9]\\d))|6(?:[0-8]\\d\\d|9(?:[02-79]\\d|1[05-9]))|7[1-9]\\d\\d|9(?:[03-9]\\d\\d|1(?:[0235-9]\\d|4[0-24-9])|2(?:[0-79]\\d|8[0-46-9]))))\\d{4}|(?:22|3[2-5]|[47][1-35]|5[1-3578]|6[13-57]|8[1-9]|9[2458])\\d{7}",,,,"221234567",,,[9]],[,,"2(?:1982[0-6]|3314[05-9])\\d{3}|(?:2(?:1(?:160|962)|3(?:2\\d\\d|3(?:[0346]\\d|1[0-35-9]|2[1-9]|5[0-24-9]|7[0-3])|600)|646[59])|80[1-9]\\d\\d|9(?:3(?:[0-57-9]\\d\\d|6(?:0[02-9]|[1-9]\\d))|6(?:[0-8]\\d\\d|9(?:[02-79]\\d|1[05-9]))|7[1-9]\\d\\d|9(?:[03-9]\\d\\d|1(?:[0235-9]\\d|4[0-24-9])|2(?:[0-79]\\d|8[0-46-9]))))\\d{4}|(?:22|3[2-5]|[47][1-35]|5[1-3578]|6[13-57]|8[1-9]|9[2458])\\d{7}",,,,"221234567",,,[9]],[,,"(?:123|8)00\\d{6}",,,,"800123456",,,[9,11]],[,,,,,,,,,[-1]],[,,"600\\d{7,8}",,,,"6001234567",,,[10,11]],[,,,,,,,,,[-1]],[,,"44\\d{7}",,,,"441234567",,,[9]],"CL",56,"(?:0|1(?:1[0-69]|2[02-5]|5[13-58]|69|7[0167]|8[018]))0",,,,,,,1,[[,"(\\d{4})","$1",["1(?:[03-589]|21)|[29]0|78"]],[,"(\\d{5})(\\d{4})","$1 $2",["219","2196"],"($1)"],[,"(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["44"]],[,"(\\d)(\\d{4})(\\d{4})","$1 $2 $3",["2[1-36]"],"($1)"],[,"(\\d)(\\d{4})(\\d{4})","$1 $2 $3",["9[2-9]"]],[,"(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["3[2-5]|[47]|5[1-3578]|6[13-57]|8(?:0[1-9]|[1-9])"],"($1)"],[,"(\\d{3})(\\d{3})(\\d{3,4})","$1 $2 $3",["60|8"]],[,"(\\d{4})(\\d{3})(\\d{4})","$1 $2 $3",["1"]],[,"(\\d{3})(\\d{3})(\\d{2})(\\d{3})","$1 $2 $3 $4",["60"]]],[[,"(\\d{5})(\\d{4})","$1 $2",["219","2196"],"($1)"],[,"(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["44"]],[,"(\\d)(\\d{4})(\\d{4})","$1 $2 $3",["2[1-36]"],"($1)"],[,"(\\d)(\\d{4})(\\d{4})","$1 $2 $3",["9[2-9]"]],[,"(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["3[2-5]|[47]|5[1-3578]|6[13-57]|8(?:0[1-9]|[1-9])"],"($1)"],[,"(\\d{3})(\\d{3})(\\d{3,4})","$1 $2 $3",["60|8"]],[,"(\\d{4})(\\d{3})(\\d{4})","$1 $2 $3",["1"]],[,"(\\d{3})(\\d{3})(\\d{2})(\\d{3})","$1 $2 $3 $4",["60"]]],[,,,,,,,,,[-1]],,,[,,"600\\d{7,8}",,,,,,,[10,11]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],CM:[,[,,"[26]\\d{8}|88\\d{6,7}",,,,,,,[8,9]],[,,"2(?:22|33)\\d{6}",,,,"222123456",,,[9]],[,,"(?:24[23]|6[25-9]\\d)\\d{6}",,,,"671234567",,,[9]],[,,"88\\d{6,7}",,,,"88012345"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"CM",237,"00",,,,,,,,[[,"(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["88"]],[,"(\\d)(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4 $5",["[26]|88"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],CN:[,[,,"1[127]\\d{8,9}|2\\d{9}(?:\\d{2})?|[12]\\d{6,7}|86\\d{6}|(?:1[03-689]\\d|6)\\d{7,9}|(?:[3-579]\\d|8[0-57-9])\\d{6,9}",,,,,,,[7,8,9,10,11,12],[5,6]],[,,"(?:10(?:[02-79]\\d\\d|[18](?:0[1-9]|[1-9]\\d))|21(?:[18](?:0[1-9]|[1-9]\\d)|[2-79]\\d\\d))\\d{5}|(?:43[35]|754)\\d{7,8}|8(?:078\\d{7}|51\\d{7,8})|(?:10|(?:2|85)1|43[35]|754)(?:100\\d\\d|95\\d{3,4})|(?:2[02-57-9]|3(?:11|7[179])|4(?:[15]1|3[12])|5(?:1\\d|2[37]|3[12]|51|7[13-79]|9[15])|7(?:[39]1|5[57]|6[09])|8(?:71|98))(?:[02-8]\\d{7}|1(?:0(?:0\\d\\d(?:\\d{3})?|[1-9]\\d{5})|[1-9]\\d{6})|9(?:[0-46-9]\\d{6}|5\\d{3}(?:\\d(?:\\d{2})?)?))|(?:3(?:1[02-9]|35|49|5\\d|7[02-68]|9[1-68])|4(?:1[02-9]|2[179]|3[46-9]|5[2-9]|6[47-9]|7\\d|8[23])|5(?:3[03-9]|4[36]|5[02-9]|6[1-46]|7[028]|80|9[2-46-9])|6(?:3[1-5]|6[0238]|9[12])|7(?:01|[17]\\d|2[248]|3[04-9]|4[3-6]|5[0-3689]|6[2368]|9[02-9])|8(?:1[236-8]|2[5-7]|3\\d|5[2-9]|7[02-9]|8[36-8]|9[1-7])|9(?:0[1-3689]|1[1-79]|[379]\\d|4[13]|5[1-5]))(?:[02-8]\\d{6}|1(?:0(?:0\\d\\d(?:\\d{2})?|[1-9]\\d{4})|[1-9]\\d{5})|9(?:[0-46-9]\\d{5}|5\\d{3,5}))",,,,"1012345678",,,[7,8,9,10,11],[5,6]],[,,"1740[0-5]\\d{6}|1(?:[38]\\d|4[57]|[59][0-35-9]|6[25-7]|7[0-35-8])\\d{8}",,,,"13123456789",,,[11]],[,,"(?:(?:10|21)8|8)00\\d{7}",,,,"8001234567",,,[10,12]],[,,"16[08]\\d{5}",,,,"16812345",,,[8]],[,,"10(?:10\\d{4}|96\\d{3,4})|400\\d{7}|950\\d{7,8}|(?:2[0-57-9]|3(?:[157]\\d|35|49|9[1-68])|4(?:[17]\\d|2[179]|[35][1-9]|6[47-9]|8[23])|5(?:[1357]\\d|2[37]|4[36]|6[1-46]|80|9[1-9])|6(?:3[1-5]|6[0238]|9[12])|7(?:01|[1579]\\d|2[248]|3[014-9]|4[3-6]|6[023689])|8(?:1[236-8]|2[5-7]|[37]\\d|5[14-9]|8[36-8]|9[1-8])|9(?:0[1-3689]|1[1-79]|[379]\\d|4[13]|5[1-5]))96\\d{3,4}",,,,"4001234567",,,[7,8,9,10,11],[5,6]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"CN",86,"00|1(?:[12]\\d|79)\\d\\d00","0",,,"(1(?:[12]\\d|79)\\d\\d)|0",,"00",,[[,"(\\d{5,6})","$1",["10|96"]],[,"(\\d{2})(\\d{5,6})","$1 $2",["(?:10|2[0-57-9])[19]","(?:10|2[0-57-9])(?:10|9[56])","10(?:10|9[56])|2[0-57-9](?:100|9[56])"],"0$1","$CC $1"],[,"(\\d{3})(\\d{4})","$1 $2",["[1-9]","1[1-9]|26|[3-9]|(?:10|2[0-57-9])(?:[0-8]|9[0-47-9])","1(?:0(?:[0-8]|9[0-47-9])|[1-9])|2(?:[0-57-9](?:[02-8]|1(?:0[1-9]|[1-9])|9[0-47-9])|6)|[3-9]"]],[,"(\\d{4})(\\d{4})","$1 $2",["16[08]"]],[,"(\\d{3})(\\d{5,6})","$1 $2",["3(?:[157]|35|49|9[1-68])|4(?:[17]|2[179]|6[47-9]|8[23])|5(?:[1357]|2[37]|4[36]|6[1-46]|80)|6(?:3[1-5]|6[0238]|9[12])|7(?:01|[1579]|2[248]|3[014-9]|4[3-6]|6[023689])|8(?:1[236-8]|2[5-7]|[37]|8[36-8]|9[1-8])|9(?:0[1-3689]|1[1-79]|[379]|4[13]|5[1-5])|(?:4[35]|59|85)[1-9]","(?:3(?:[157]\\d|35|49|9[1-68])|4(?:[17]\\d|2[179]|[35][1-9]|6[47-9]|8[23])|5(?:[1357]\\d|2[37]|4[36]|6[1-46]|80|9[1-9])|6(?:3[1-5]|6[0238]|9[12])|7(?:01|[1579]\\d|2[248]|3[014-9]|4[3-6]|6[023689])|8(?:1[236-8]|2[5-7]|[37]\\d|5[1-9]|8[36-8]|9[1-8])|9(?:0[1-3689]|1[1-79]|[379]\\d|4[13]|5[1-5]))[19]","85[23](?:10|95)|(?:3(?:[157]\\d|35|49|9[1-68])|4(?:[17]\\d|2[179]|[35][1-9]|6[47-9]|8[23])|5(?:[1357]\\d|2[37]|4[36]|6[1-46]|80|9[1-9])|6(?:3[1-5]|6[0238]|9[12])|7(?:01|[1579]\\d|2[248]|3[014-9]|4[3-6]|6[023689])|8(?:1[236-8]|2[5-7]|[37]\\d|5[14-9]|8[36-8]|9[1-8])|9(?:0[1-3689]|1[1-79]|[379]\\d|4[13]|5[1-5]))(?:10|9[56])","85[23](?:100|95)|(?:3(?:[157]\\d|35|49|9[1-68])|4(?:[17]\\d|2[179]|[35][1-9]|6[47-9]|8[23])|5(?:[1357]\\d|2[37]|4[36]|6[1-46]|80|9[1-9])|6(?:3[1-5]|6[0238]|9[12])|7(?:01|[1579]\\d|2[248]|3[014-9]|4[3-6]|6[023689])|8(?:1[236-8]|2[5-7]|[37]\\d|5[14-9]|8[36-8]|9[1-8])|9(?:0[1-3689]|1[1-79]|[379]\\d|4[13]|5[1-5]))(?:100|9[56])"],"0$1","$CC $1"],[,"(\\d{4})(\\d{4})","$1 $2",["[1-9]","1(?:0(?:[02-8]|1[1-9]|9[0-47-9])|[1-9])|2(?:[0-57-9](?:[0-8]|9[0-47-9])|6)|[3-9]","1(?:0(?:[02-8]|1[1-9]|9[0-47-9])|[1-9])|26|3(?:[0268]|4[0-8]|9[079])|4(?:[049]|2[02-68]|[35]0|6[0-356]|8[014-9])|5(?:0|2[0-24-689]|4[0-2457-9]|6[057-9]|8[1-9]|90)|6(?:[0-24578]|3[06-9]|6[14-79]|9[03-9])|7(?:0[02-9]|2[0135-79]|3[23]|4[0-27-9]|6[1457]|8)|8(?:[046]|1[01459]|2[0-489]|5(?:0|[23][0-8])|8[0-2459]|9[09])|9(?:0[0457]|1[08]|[268]|4[024-9]|5[06-9])|(?:33|85[23]9)[0-46-9]|(?:2[0-57-9]|3(?:[157]\\d|35|49|9[1-68])|4(?:[17]\\d|2[179]|[35][1-9]|6[47-9]|8[23])|5(?:[1357]\\d|2[37]|4[36]|6[1-46]|80|9[1-9])|6(?:3[1-5]|6[0238]|9[12])|7(?:01|[1579]\\d|2[248]|3[014-9]|4[3-6]|6[023689])|8(?:1[236-8]|2[5-7]|[37]\\d|5[14-9]|8[36-8]|9[1-8])|9(?:0[1-3689]|1[1-79]|[379]\\d|4[13]|5[1-5]))(?:[0-8]|9[0-47-9])","1(?:0[02-8]|[1-9])|2(?:[0-57-9][0-8]|6)|3(?:[0268]|3[0-46-9]|4[0-8]|9[079])|4(?:[049]|2[02-68]|[35]0|6[0-356]|8[014-9])|5(?:0|2[0-24-689]|4[0-2457-9]|6[057-9]|90)|6(?:[0-24578]|3[06-9]|6[14-79]|9[03-9])|7(?:0[02-9]|2[0135-79]|3[23]|4[0-27-9]|6[1457]|8)|8(?:[046]|1[01459]|2[0-489]|5(?:0|[23](?:[02-8]|1[1-9]|9[0-46-9]))|8[0-2459]|9[09])|9(?:0[0457]|1[08]|[268]|4[024-9]|5[06-9])|(?:10|2[0-57-9])9[0-47-9]|(?:101|58|85[23]10)[1-9]|(?:3(?:[157]\\d|35|49|9[1-68])|4(?:[17]\\d|2[179]|[35][1-9]|6[47-9]|8[23])|5(?:[1357]\\d|2[37]|4[36]|6[1-46]|80|9[1-9])|6(?:3[1-5]|6[0238]|9[12])|7(?:01|[1579]\\d|2[248]|3[014-9]|4[3-6]|6[023689])|8(?:1[236-8]|2[5-7]|[37]\\d|5[14-9]|8[36-8]|9[1-8])|9(?:0[1-3689]|1[1-79]|[379]\\d|4[13]|5[1-5]))(?:[02-8]|1(?:0[1-9]|[1-9])|9[0-47-9])"]],[,"(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["(?:4|80)0"]],[,"(\\d{2})(\\d{4})(\\d{4})","$1 $2 $3",["10|2(?:[02-57-9]|1[1-9])","10|2(?:[02-57-9]|1[1-9])","10[0-79]|2(?:[02-57-9]|1[1-79])|(?:10|21)8(?:0[1-9]|[1-9])"],"0$1","$CC $1",1],[,"(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["3(?:[3-59]|7[02-68])|4(?:[26-8]|3[3-9]|5[2-9])|5(?:3[03-9]|[468]|7[028]|9[2-46-9])|6|7(?:[0-247]|3[04-9]|5[0-4689]|6[2368])|8(?:[1-358]|9[1-7])|9(?:[013479]|5[1-5])|(?:[34]1|55|79|87)[02-9]"],"0$1","$CC $1",1],[,"(\\d{3})(\\d{7,8})","$1 $2",["9"]],[,"(\\d{4})(\\d{3})(\\d{4})","$1 $2 $3",["80"],"0$1","$CC $1",1],[,"(\\d{3})(\\d{4})(\\d{4})","$1 $2 $3",["[3-578]"],"0$1","$CC $1",1],[,"(\\d{3})(\\d{4})(\\d{4})","$1 $2 $3",["1[3-9]"],,"$CC $1"],[,"(\\d{2})(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3 $4",["[12]"],"0$1",,1]],[[,"(\\d{2})(\\d{5,6})","$1 $2",["(?:10|2[0-57-9])[19]","(?:10|2[0-57-9])(?:10|9[56])","10(?:10|9[56])|2[0-57-9](?:100|9[56])"],"0$1","$CC $1"],[,"(\\d{3})(\\d{5,6})","$1 $2",["3(?:[157]|35|49|9[1-68])|4(?:[17]|2[179]|6[47-9]|8[23])|5(?:[1357]|2[37]|4[36]|6[1-46]|80)|6(?:3[1-5]|6[0238]|9[12])|7(?:01|[1579]|2[248]|3[014-9]|4[3-6]|6[023689])|8(?:1[236-8]|2[5-7]|[37]|8[36-8]|9[1-8])|9(?:0[1-3689]|1[1-79]|[379]|4[13]|5[1-5])|(?:4[35]|59|85)[1-9]","(?:3(?:[157]\\d|35|49|9[1-68])|4(?:[17]\\d|2[179]|[35][1-9]|6[47-9]|8[23])|5(?:[1357]\\d|2[37]|4[36]|6[1-46]|80|9[1-9])|6(?:3[1-5]|6[0238]|9[12])|7(?:01|[1579]\\d|2[248]|3[014-9]|4[3-6]|6[023689])|8(?:1[236-8]|2[5-7]|[37]\\d|5[1-9]|8[36-8]|9[1-8])|9(?:0[1-3689]|1[1-79]|[379]\\d|4[13]|5[1-5]))[19]","85[23](?:10|95)|(?:3(?:[157]\\d|35|49|9[1-68])|4(?:[17]\\d|2[179]|[35][1-9]|6[47-9]|8[23])|5(?:[1357]\\d|2[37]|4[36]|6[1-46]|80|9[1-9])|6(?:3[1-5]|6[0238]|9[12])|7(?:01|[1579]\\d|2[248]|3[014-9]|4[3-6]|6[023689])|8(?:1[236-8]|2[5-7]|[37]\\d|5[14-9]|8[36-8]|9[1-8])|9(?:0[1-3689]|1[1-79]|[379]\\d|4[13]|5[1-5]))(?:10|9[56])","85[23](?:100|95)|(?:3(?:[157]\\d|35|49|9[1-68])|4(?:[17]\\d|2[179]|[35][1-9]|6[47-9]|8[23])|5(?:[1357]\\d|2[37]|4[36]|6[1-46]|80|9[1-9])|6(?:3[1-5]|6[0238]|9[12])|7(?:01|[1579]\\d|2[248]|3[014-9]|4[3-6]|6[023689])|8(?:1[236-8]|2[5-7]|[37]\\d|5[14-9]|8[36-8]|9[1-8])|9(?:0[1-3689]|1[1-79]|[379]\\d|4[13]|5[1-5]))(?:100|9[56])"],"0$1","$CC $1"],[,"(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["(?:4|80)0"]],[,"(\\d{2})(\\d{4})(\\d{4})","$1 $2 $3",["10|2(?:[02-57-9]|1[1-9])","10|2(?:[02-57-9]|1[1-9])","10[0-79]|2(?:[02-57-9]|1[1-79])|(?:10|21)8(?:0[1-9]|[1-9])"],"0$1","$CC $1",1],[,"(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["3(?:[3-59]|7[02-68])|4(?:[26-8]|3[3-9]|5[2-9])|5(?:3[03-9]|[468]|7[028]|9[2-46-9])|6|7(?:[0-247]|3[04-9]|5[0-4689]|6[2368])|8(?:[1-358]|9[1-7])|9(?:[013479]|5[1-5])|(?:[34]1|55|79|87)[02-9]"],"0$1","$CC $1",1],[,"(\\d{3})(\\d{7,8})","$1 $2",["9"]],[,"(\\d{4})(\\d{3})(\\d{4})","$1 $2 $3",["80"],"0$1","$CC $1",1],[,"(\\d{3})(\\d{4})(\\d{4})","$1 $2 $3",["[3-578]"],"0$1","$CC $1",1],[,"(\\d{3})(\\d{4})(\\d{4})","$1 $2 $3",["1[3-9]"],,"$CC $1"],[,"(\\d{2})(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3 $4",["[12]"],"0$1",,1]],[,,,,,,,,,[-1]],,,[,,"(?:(?:10|21)8|[48])00\\d{7}|950\\d{7,8}",,,,,,,[10,11,12]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],CO:[,[,,"(?:60\\d\\d|9101)\\d{6}|(?:1\\d|3)\\d{9}",,,,,,,[10,11],[7]],[,,"601055(?:[0-4]\\d|50)\\d\\d|6010(?:[0-4]\\d|5[0-4])\\d{4}|60[124-8][2-9]\\d{6}",,,,"6012345678",,,[10],[7]],[,,"3333(?:0(?:0\\d|1[0-5])|[4-9]\\d\\d)\\d{3}|(?:3(?:24[1-9]|3(?:00|3[0-24-9]))|9101)\\d{6}|3(?:0[0-5]|1\\d|2[0-3]|5[01]|70)\\d{7}",,,,"3211234567",,,[10]],[,,"1800\\d{7}",,,,"18001234567",,,[11]],[,,"19(?:0[01]|4[78])\\d{7}",,,,"19001234567",,,[11]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"CO",57,"00(?:4(?:[14]4|56)|[579])","0",,,"0(4(?:[14]4|56)|[579])?",,,,[[,"(\\d{3})(\\d{7})","$1 $2",["6"],"($1)","0$CC $1"],[,"(\\d{3})(\\d{7})","$1 $2",["3[0-357]|91"],,"0$CC $1"],[,"(\\d)(\\d{3})(\\d{7})","$1-$2-$3",["1"],"0$1"]],[[,"(\\d{3})(\\d{7})","$1 $2",["6"],"($1)","0$CC $1"],[,"(\\d{3})(\\d{7})","$1 $2",["3[0-357]|91"],,"0$CC $1"],[,"(\\d)(\\d{3})(\\d{7})","$1 $2 $3",["1"]]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],CR:[,[,,"(?:8\\d|90)\\d{8}|(?:[24-8]\\d{3}|3005)\\d{4}",,,,,,,[8,10]],[,,"210[7-9]\\d{4}|2(?:[024-7]\\d|1[1-9])\\d{5}",,,,"22123456",,,[8]],[,,"(?:3005\\d|6500[01])\\d{3}|(?:5[07]|6[0-4]|7[0-3]|8[3-9])\\d{6}",,,,"83123456",,,[8]],[,,"800\\d{7}",,,,"8001234567",,,[10]],[,,"90[059]\\d{7}",,,,"9001234567",,,[10]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,"(?:210[0-6]|4\\d{3}|5100)\\d{4}",,,,"40001234",,,[8]],"CR",506,"00",,,,"(19(?:0[0-2468]|1[09]|20|66|77|99))",,,,[[,"(\\d{4})(\\d{4})","$1 $2",["[2-7]|8[3-9]"],,"$CC $1"],[,"(\\d{3})(\\d{3})(\\d{4})","$1-$2-$3",["[89]"],,"$CC $1"]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],CU:[,[,,"[27]\\d{6,7}|[34]\\d{5,7}|(?:5|8\\d\\d)\\d{7}",,,,,,,[6,7,8,10],[4,5]],[,,"(?:3[23]|48)\\d{4,6}|(?:31|4[36]|8(?:0[25]|78)\\d)\\d{6}|(?:2[1-4]|4[1257]|7\\d)\\d{5,6}",,,,"71234567",,,,[4,5]],[,,"5\\d{7}",,,,"51234567",,,[8]],[,,"800\\d{7}",,,,"8001234567",,,[10]],[,,,,,,,,,[-1]],[,,"807\\d{7}",,,,"8071234567",,,[10]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"CU",53,"119","0",,,"0",,,,[[,"(\\d{2})(\\d{4,6})","$1 $2",["2[1-4]|[34]"],"(0$1)"],[,"(\\d)(\\d{6,7})","$1 $2",["7"],"(0$1)"],[,"(\\d)(\\d{7})","$1 $2",["5"],"0$1"],[,"(\\d{3})(\\d{7})","$1 $2",["8"],"0$1"]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],CV:[,[,,"(?:[2-59]\\d\\d|800)\\d{4}",,,,,,,[7]],[,,"2(?:2[1-7]|3[0-8]|4[12]|5[1256]|6\\d|7[1-3]|8[1-5])\\d{4}",,,,"2211234"],[,,"(?:36|5[1-389]|9\\d)\\d{5}",,,,"9911234"],[,,"800\\d{4}",,,,"8001234"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,"(?:3[3-5]|4[356])\\d{5}",,,,"3401234"],"CV",238,"0",,,,,,,,[[,"(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3",["[2-589]"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],CW:[,[,,"(?:[34]1|60|(?:7|9\\d)\\d)\\d{5}",,,,,,,[7,8]],[,,"9(?:4(?:3[0-5]|4[14]|6\\d)|50\\d|7(?:2[014]|3[02-9]|4[4-9]|6[357]|77|8[7-9])|8(?:3[39]|[46]\\d|7[01]|8[57-9]))\\d{4}",,,,"94351234"],[,,"953[01]\\d{4}|9(?:5[12467]|6[5-9])\\d{5}",,,,"95181234"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,"60[0-2]\\d{4}",,,,"6001234",,,[7]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"CW",599,"00",,,,,,,,[[,"(\\d{3})(\\d{4})","$1 $2",["[3467]"]],[,"(\\d)(\\d{3})(\\d{4})","$1 $2 $3",["9[4-8]"]]],,[,,"955\\d{5}",,,,"95581234",,,[8]],1,"[69]",[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],CX:[,[,,"1(?:[0-79]\\d{8}(?:\\d{2})?|8[0-24-9]\\d{7})|[148]\\d{8}|1\\d{5,7}",,,,,,,[6,7,8,9,10,12]],[,,"8(?:51(?:0(?:01|30|59|88)|1(?:17|46|75)|2(?:22|35))|91(?:00[6-9]|1(?:[28]1|49|78)|2(?:09|63)|3(?:12|26|75)|4(?:56|97)|64\\d|7(?:0[01]|1[0-2])|958))\\d{3}",,,,"891641234",,,[9],[8]],[,,"4(?:79[01]|83[0-389]|93[0-6])\\d{5}|4(?:[0-3]\\d|4[047-9]|5[0-25-9]|6[016-9]|7[02-8]|8[0-24-9]|9[0-27-9])\\d{6}",,,,"412345678",,,[9]],[,,"180(?:0\\d{3}|2)\\d{3}",,,,"1800123456",,,[7,10]],[,,"190[0-26]\\d{6}",,,,"1900123456",,,[10]],[,,"13(?:00\\d{6}(?:\\d{2})?|45[0-4]\\d{3})|13\\d{4}",,,,"1300123456",,,[6,8,10,12]],[,,,,,,,,,[-1]],[,,"14(?:5(?:1[0458]|[23][458])|71\\d)\\d{4}",,,,"147101234",,,[9]],"CX",61,"001[14-689]|14(?:1[14]|34|4[17]|[56]6|7[47]|88)0011","0",,,"([59]\\d{7})$|0","8$1","0011",,,,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],CY:[,[,,"(?:[279]\\d|[58]0)\\d{6}",,,,,,,[8]],[,,"2[2-6]\\d{6}",,,,"22345678"],[,,"9(?:10|[4-79]\\d)\\d{5}",,,,"96123456"],[,,"800\\d{5}",,,,"80001234"],[,,"90[09]\\d{5}",,,,"90012345"],[,,"80[1-9]\\d{5}",,,,"80112345"],[,,"700\\d{5}",,,,"70012345"],[,,,,,,,,,[-1]],"CY",357,"00",,,,,,,,[[,"(\\d{2})(\\d{6})","$1 $2",["[257-9]"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,"(?:50|77)\\d{6}",,,,"77123456"],,,[,,,,,,,,,[-1]]],CZ:[,[,,"(?:[2-578]\\d|60)\\d{7}|9\\d{8,11}",,,,,,,[9,10,11,12]],[,,"(?:2\\d|3[1257-9]|4[16-9]|5[13-9])\\d{7}",,,,"212345678",,,[9]],[,,"(?:60[1-8]|7(?:0[2-5]|[2379]\\d))\\d{6}",,,,"601123456",,,[9]],[,,"800\\d{6}",,,,"800123456",,,[9]],[,,"9(?:0[05689]|76)\\d{6}",,,,"900123456",,,[9]],[,,"8[134]\\d{7}",,,,"811234567",,,[9]],[,,"70[01]\\d{6}",,,,"700123456",,,[9]],[,,"9[17]0\\d{6}",,,,"910123456",,,[9]],"CZ",420,"00",,,,,,,,[[,"(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[2-8]|9[015-7]"]],[,"(\\d{2})(\\d{3})(\\d{3})(\\d{2})","$1 $2 $3 $4",["96"]],[,"(\\d{2})(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3 $4",["9"]],[,"(\\d{3})(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3 $4",["9"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,"9(?:5\\d|7[2-4])\\d{6}",,,,"972123456",,,[9]],,,[,,"9(?:3\\d{9}|6\\d{7,10})",,,,"93123456789"]],DE:[,[,,"[2579]\\d{5,14}|49(?:[34]0|69|8\\d)\\d\\d?|49(?:37|49|60|7[089]|9\\d)\\d{1,3}|49(?:2[024-9]|3[2-689]|7[1-7])\\d{1,8}|(?:1|[368]\\d|4[0-8])\\d{3,13}|49(?:[015]\\d|2[13]|31|[46][1-8])\\d{1,9}",,,,,,,[4,5,6,7,8,9,10,11,12,13,14,15],[2,3]],[,,"32\\d{9,11}|49[1-6]\\d{10}|322\\d{6}|49[0-7]\\d{3,9}|(?:[34]0|[68]9)\\d{3,13}|(?:2(?:0[1-689]|[1-3569]\\d|4[0-8]|7[1-7]|8[0-7])|3(?:[3569]\\d|4[0-79]|7[1-7]|8[1-8])|4(?:1[02-9]|[2-48]\\d|5[0-6]|6[0-8]|7[0-79])|5(?:0[2-8]|[124-6]\\d|[38][0-8]|[79][0-7])|6(?:0[02-9]|[1-358]\\d|[47][0-8]|6[1-9])|7(?:0[2-8]|1[1-9]|[27][0-7]|3\\d|[4-6][0-8]|8[0-5]|9[013-7])|8(?:0[2-9]|1[0-79]|2\\d|3[0-46-9]|4[0-6]|5[013-9]|6[1-8]|7[0-8]|8[0-24-6])|9(?:0[6-9]|[1-4]\\d|[589][0-7]|6[0-8]|7[0-467]))\\d{3,12}",,,,"30123456",,,[5,6,7,8,9,10,11,12,13,14,15],[2,3,4]],[,,"15[0-25-9]\\d{8}|1(?:6[023]|7\\d)\\d{7,8}",,,,"15123456789",,,[10,11]],[,,"800\\d{7,12}",,,,"8001234567890",,,[10,11,12,13,14,15]],[,,"(?:137[7-9]|900(?:[135]|9\\d))\\d{6}",,,,"9001234567",,,[10,11]],[,,"180\\d{5,11}|13(?:7[1-6]\\d\\d|8)\\d{4}",,,,"18012345",,,[7,8,9,10,11,12,13,14]],[,,"700\\d{8}",,,,"70012345678",,,[11]],[,,,,,,,,,[-1]],"DE",49,"00","0",,,"0",,,,[[,"(\\d{2})(\\d{3,13})","$1 $2",["3[02]|40|[68]9"],"0$1"],[,"(\\d{3})(\\d{3,12})","$1 $2",["2(?:0[1-389]|1[124]|2[18]|3[14])|3(?:[35-9][15]|4[015])|906|(?:2[4-9]|4[2-9]|[579][1-9]|[68][1-8])1","2(?:0[1-389]|12[0-8])|3(?:[35-9][15]|4[015])|906|2(?:[13][14]|2[18])|(?:2[4-9]|4[2-9]|[579][1-9]|[68][1-8])1"],"0$1"],[,"(\\d{4})(\\d{2,11})","$1 $2",["[24-6]|3(?:[3569][02-46-9]|4[2-4679]|7[2-467]|8[2-46-8])|70[2-8]|8(?:0[2-9]|[1-8])|90[7-9]|[79][1-9]","[24-6]|3(?:3(?:0[1-467]|2[127-9]|3[124578]|7[1257-9]|8[1256]|9[145])|4(?:2[135]|4[13578]|9[1346])|5(?:0[14]|2[1-3589]|6[1-4]|7[13468]|8[13568])|6(?:2[1-489]|3[124-6]|6[13]|7[12579]|8[1-356]|9[135])|7(?:2[1-7]|4[145]|6[1-5]|7[1-4])|8(?:21|3[1468]|6|7[1467]|8[136])|9(?:0[12479]|2[1358]|4[134679]|6[1-9]|7[136]|8[147]|9[1468]))|70[2-8]|8(?:0[2-9]|[1-8])|90[7-9]|[79][1-9]|3[68]4[1347]|3(?:47|60)[1356]|3(?:3[46]|46|5[49])[1246]|3[4579]3[1357]"],"0$1"],[,"(\\d{3})(\\d{4})","$1 $2",["138"],"0$1"],[,"(\\d{5})(\\d{2,10})","$1 $2",["3"],"0$1"],[,"(\\d{3})(\\d{5,11})","$1 $2",["181"],"0$1"],[,"(\\d{3})(\\d)(\\d{4,10})","$1 $2 $3",["1(?:3|80)|9"],"0$1"],[,"(\\d{3})(\\d{7,8})","$1 $2",["1[67]"],"0$1"],[,"(\\d{3})(\\d{7,12})","$1 $2",["8"],"0$1"],[,"(\\d{5})(\\d{6})","$1 $2",["185","1850","18500"],"0$1"],[,"(\\d{3})(\\d{4})(\\d{4})","$1 $2 $3",["7"],"0$1"],[,"(\\d{4})(\\d{7})","$1 $2",["18[68]"],"0$1"],[,"(\\d{5})(\\d{6})","$1 $2",["15[0568]"],"0$1"],[,"(\\d{4})(\\d{7})","$1 $2",["15[1279]"],"0$1"],[,"(\\d{3})(\\d{8})","$1 $2",["18"],"0$1"],[,"(\\d{3})(\\d{2})(\\d{7,8})","$1 $2 $3",["1(?:6[023]|7)"],"0$1"],[,"(\\d{4})(\\d{2})(\\d{7})","$1 $2 $3",["15[279]"],"0$1"],[,"(\\d{3})(\\d{2})(\\d{8})","$1 $2 $3",["15"],"0$1"]],,[,,"16(?:4\\d{1,10}|[89]\\d{1,11})",,,,"16412345",,,[4,5,6,7,8,9,10,11,12,13,14]],,,[,,,,,,,,,[-1]],[,,"18(?:1\\d{5,11}|[2-9]\\d{8})",,,,"18500123456",,,[8,9,10,11,12,13,14]],,,[,,"1(?:6(?:013|255|399)|7(?:(?:[015]1|[69]3)3|[2-4]55|[78]99))\\d{7,8}|15(?:(?:[03-68]00|113)\\d|2\\d55|7\\d99|9\\d33)\\d{7}",,,,"177991234567",,,[12,13]]],DJ:[,[,,"(?:2\\d|77)\\d{6}",,,,,,,[8]],[,,"2(?:1[2-5]|7[45])\\d{5}",,,,"21360003"],[,,"77\\d{6}",,,,"77831001"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"DJ",253,"00",,,,,,,,[[,"(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[27]"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],DK:[,[,,"[2-9]\\d{7}",,,,,,,[8]],[,,"(?:[2-7]\\d|8[126-9]|9[1-46-9])\\d{6}",,,,"32123456"],[,,"(?:[2-7]\\d|8[126-9]|9[1-46-9])\\d{6}",,,,"32123456"],[,,"80\\d{6}",,,,"80123456"],[,,"90\\d{6}",,,,"90123456"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"DK",45,"00",,,,,,,1,[[,"(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[2-9]"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],DM:[,[,,"(?:[58]\\d\\d|767|900)\\d{7}",,,,,,,[10],[7]],[,,"767(?:2(?:55|66)|4(?:2[01]|4[0-25-9])|50[0-4])\\d{4}",,,,"7674201234",,,,[7]],[,,"767(?:2(?:[2-4689]5|7[5-7])|31[5-7]|61[1-8]|70[1-6])\\d{4}",,,,"7672251234",,,,[7]],[,,"8(?:00|33|44|55|66|77|88)[2-9]\\d{6}",,,,"8002123456"],[,,"900[2-9]\\d{6}",,,,"9002123456"],[,,,,,,,,,[-1]],[,,"52(?:3(?:[2-46-9][02-9]\\d|5(?:[02-46-9]\\d|5[0-46-9]))|4(?:[2-478][02-9]\\d|5(?:[034]\\d|2[024-9]|5[0-46-9])|6(?:0[1-9]|[2-9]\\d)|9(?:[05-9]\\d|2[0-5]|49)))\\d{4}|52[34][2-9]1[02-9]\\d{4}|5(?:00|2[125-9]|33|44|66|77|88)[2-9]\\d{6}",,,,"5002345678"],[,,,,,,,,,[-1]],"DM",1,"011","1",,,"([2-7]\\d{6})$|1","767$1",,,,,[,,,,,,,,,[-1]],,"767",[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],DO:[,[,,"(?:[58]\\d\\d|900)\\d{7}",,,,,,,[10],[7]],[,,"8(?:[04]9[2-9]\\d\\d|29(?:2(?:[0-59]\\d|6[04-9]|7[0-27]|8[0237-9])|3(?:[0-35-9]\\d|4[7-9])|[45]\\d\\d|6(?:[0-27-9]\\d|[3-5][1-9]|6[0135-8])|7(?:0[013-9]|[1-37]\\d|4[1-35689]|5[1-4689]|6[1-57-9]|8[1-79]|9[1-8])|8(?:0[146-9]|1[0-48]|[248]\\d|3[1-79]|5[01589]|6[013-68]|7[124-8]|9[0-8])|9(?:[0-24]\\d|3[02-46-9]|5[0-79]|60|7[0169]|8[57-9]|9[02-9])))\\d{4}",,,,"8092345678",,,,[7]],[,,"8[024]9[2-9]\\d{6}",,,,"8092345678",,,,[7]],[,,"8(?:00(?:14|[2-9]\\d)|(?:33|44|55|66|77|88)[2-9]\\d)\\d{5}",,,,"8002123456"],[,,"900[2-9]\\d{6}",,,,"9002123456"],[,,,,,,,,,[-1]],[,,"52(?:3(?:[2-46-9][02-9]\\d|5(?:[02-46-9]\\d|5[0-46-9]))|4(?:[2-478][02-9]\\d|5(?:[034]\\d|2[024-9]|5[0-46-9])|6(?:0[1-9]|[2-9]\\d)|9(?:[05-9]\\d|2[0-5]|49)))\\d{4}|52[34][2-9]1[02-9]\\d{4}|5(?:00|2[125-9]|33|44|66|77|88)[2-9]\\d{6}",,,,"5002345678"],[,,,,,,,,,[-1]],"DO",1,"011","1",,,"1",,,,,,[,,,,,,,,,[-1]],,"8001|8[024]9",[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],DZ:[,[,,"(?:[1-4]|[5-79]\\d|80)\\d{7}",,,,,,,[8,9]],[,,"9619\\d{5}|(?:1\\d|2[013-79]|3[0-8]|4[013-689])\\d{6}",,,,"12345678"],[,,"(?:5(?:4[0-29]|5\\d|6[0-2])|6(?:[569]\\d|7[0-6])|7[7-9]\\d)\\d{6}",,,,"551234567",,,[9]],[,,"800\\d{6}",,,,"800123456",,,[9]],[,,"80[3-689]1\\d{5}",,,,"808123456",,,[9]],[,,"80[12]1\\d{5}",,,,"801123456",,,[9]],[,,,,,,,,,[-1]],[,,"98[23]\\d{6}",,,,"983123456",,,[9]],"DZ",213,"00","0",,,"0",,,,[[,"(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[1-4]"],"0$1"],[,"(\\d{2})(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4",["9"],"0$1"],[,"(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[5-8]"],"0$1"]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],EC:[,[,,"1\\d{9,10}|(?:[2-7]|9\\d)\\d{7}",,,,,,,[8,9,10,11],[7]],[,,"[2-7][2-7]\\d{6}",,,,"22123456",,,[8],[7]],[,,"964[0-2]\\d{5}|9(?:39|[57][89]|6[0-36-9]|[89]\\d)\\d{6}",,,,"991234567",,,[9]],[,,"1800\\d{7}|1[78]00\\d{6}",,,,"18001234567",,,[10,11]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,"[2-7]890\\d{4}",,,,"28901234",,,[8]],"EC",593,"00","0",,,"0",,,,[[,"(\\d{3})(\\d{4})","$1-$2",["[2-7]"]],[,"(\\d)(\\d{3})(\\d{4})","$1 $2-$3",["[2-7]"],"(0$1)"],[,"(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["9"],"0$1"],[,"(\\d{4})(\\d{3})(\\d{3,4})","$1 $2 $3",["1"]]],[[,"(\\d)(\\d{3})(\\d{4})","$1-$2-$3",["[2-7]"]],[,"(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["9"],"0$1"],[,"(\\d{4})(\\d{3})(\\d{3,4})","$1 $2 $3",["1"]]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],EE:[,[,,"8\\d{9}|[4578]\\d{7}|(?:[3-8]\\d|90)\\d{5}",,,,,,,[7,8,10]],[,,"(?:3[23589]|4[3-8]|6\\d|7[1-9]|88)\\d{5}",,,,"3212345",,,[7]],[,,"(?:5\\d{5}|8(?:1(?:0(?:000|[3-9]\\d\\d)|(?:1(?:0[236]|1\\d)|(?:2[0-59]|[3-79]\\d)\\d)\\d)|2(?:0(?:000|(?:19|[2-7]\\d)\\d)|(?:(?:[124-6]\\d|3[5-9])\\d|7(?:[3679]\\d|8[13-9])|8(?:[2-6]\\d|7[01]))\\d)|[349]\\d{4}))\\d\\d|5(?:(?:[02]\\d|5[0-478])\\d|1(?:[0-8]\\d|95)|6(?:4[0-4]|5[1-589]))\\d{3}",,,,"51234567",,,[7,8]],[,,"800(?:(?:0\\d\\d|1)\\d|[2-9])\\d{3}",,,,"80012345"],[,,"(?:40\\d\\d|900)\\d{4}",,,,"9001234",,,[7,8]],[,,,,,,,,,[-1]],[,,"70[0-2]\\d{5}",,,,"70012345",,,[8]],[,,,,,,,,,[-1]],"EE",372,"00",,,,,,,,[[,"(\\d{3})(\\d{4})","$1 $2",["[369]|4[3-8]|5(?:[0-2]|5[0-478]|6[45])|7[1-9]|88","[369]|4[3-8]|5(?:[02]|1(?:[0-8]|95)|5[0-478]|6(?:4[0-4]|5[1-589]))|7[1-9]|88"]],[,"(\\d{4})(\\d{3,4})","$1 $2",["[45]|8(?:00|[1-49])","[45]|8(?:00[1-9]|[1-49])"]],[,"(\\d{2})(\\d{2})(\\d{4})","$1 $2 $3",["7"]],[,"(\\d{4})(\\d{3})(\\d{3})","$1 $2 $3",["8"]]],,[,,,,,,,,,[-1]],,,[,,"800[2-9]\\d{3}",,,,,,,[7]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],EG:[,[,,"[189]\\d{8,9}|[24-6]\\d{8}|[135]\\d{7}",,,,,,,[8,9,10],[6,7]],[,,"13[23]\\d{6}|(?:15|57)\\d{6,7}|(?:2[2-4]|3|4[05-8]|5[05]|6[24-689]|8[2468]|9[235-7])\\d{7}",,,,"234567890",,,[8,9],[6,7]],[,,"1[0-25]\\d{8}",,,,"1001234567",,,[10]],[,,"800\\d{7}",,,,"8001234567",,,[10]],[,,"900\\d{7}",,,,"9001234567",,,[10]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"EG",20,"00","0",,,"0",,,,[[,"(\\d)(\\d{7,8})","$1 $2",["[23]"],"0$1"],[,"(\\d{2})(\\d{6,7})","$1 $2",["1[35]|[4-6]|8[2468]|9[235-7]"],"0$1"],[,"(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["[189]"],"0$1"]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],EH:[,[,,"[5-8]\\d{8}",,,,,,,[9]],[,,"528[89]\\d{5}",,,,"528812345"],[,,"(?:6(?:[0-79]\\d|8[0-247-9])|7(?:[017]\\d|2[0-2]|6[0-8]|8[0-3]))\\d{6}",,,,"650123456"],[,,"80\\d{7}",,,,"801234567"],[,,"89\\d{7}",,,,"891234567"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,"592(?:4[0-2]|93)\\d{4}",,,,"592401234"],"EH",212,"00","0",,,"0",,,,,,[,,,,,,,,,[-1]],,"528[89]",[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],ER:[,[,,"[178]\\d{6}",,,,,,,[7],[6]],[,,"(?:1(?:1[12568]|[24]0|55|6[146])|8\\d\\d)\\d{4}",,,,"8370362",,,,[6]],[,,"(?:17[1-3]|7\\d\\d)\\d{4}",,,,"7123456"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"ER",291,"00","0",,,"0",,,,[[,"(\\d)(\\d{3})(\\d{3})","$1 $2 $3",["[178]"],"0$1"]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],ES:[,[,,"[5-9]\\d{8}",,,,,,,[9]],[,,"96906(?:0[0-8]|1[1-9]|[2-9]\\d)\\d\\d|9(?:69(?:0[0-57-9]|[1-9]\\d)|73(?:[0-8]\\d|9[1-9]))\\d{4}|(?:8(?:[1356]\\d|[28][0-8]|[47][1-9])|9(?:[135]\\d|[268][0-8]|4[1-9]|7[124-9]))\\d{6}",,,,"810123456"],[,,"(?:590[16]00\\d|9(?:6906(?:09|10)|7390\\d\\d))\\d\\d|(?:6\\d|7[1-48])\\d{7}",,,,"612345678"],[,,"[89]00\\d{6}",,,,"800123456"],[,,"80[367]\\d{6}",,,,"803123456"],[,,"90[12]\\d{6}",,,,"901123456"],[,,"70\\d{7}",,,,"701234567"],[,,,,,,,,,[-1]],"ES",34,"00",,,,,,,,[[,"(\\d{4})","$1",["905"]],[,"(\\d{6})","$1",["[79]9"]],[,"(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[89]00"]],[,"(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[5-9]"]]],[[,"(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[89]00"]],[,"(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[5-9]"]]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,"51\\d{7}",,,,"511234567"],,,[,,,,,,,,,[-1]]],ET:[,[,,"(?:11|[2-579]\\d)\\d{7}",,,,,,,[9],[7]],[,,"11667[01]\\d{3}|(?:11(?:1(?:1[124]|2[2-7]|3[1-5]|5[5-8]|8[6-8])|2(?:13|3[6-8]|5[89]|7[05-9]|8[2-6])|3(?:2[01]|3[0-289]|4[1289]|7[1-4]|87)|4(?:1[69]|3[2-49]|4[0-3]|6[5-8])|5(?:1[578]|44|5[0-4])|6(?:1[578]|2[69]|39|4[5-7]|5[0-5]|6[0-59]|8[015-8]))|2(?:2(?:11[1-9]|22[0-7]|33\\d|44[1467]|66[1-68])|5(?:11[124-6]|33[2-8]|44[1467]|55[14]|66[1-3679]|77[124-79]|880))|3(?:3(?:11[0-46-8]|(?:22|55)[0-6]|33[0134689]|44[04]|66[01467])|4(?:44[0-8]|55[0-69]|66[0-3]|77[1-5]))|4(?:6(?:119|22[0-24-7]|33[1-5]|44[13-69]|55[14-689]|660|88[1-4])|7(?:(?:11|22)[1-9]|33[13-7]|44[13-6]|55[1-689]))|5(?:7(?:227|55[05]|(?:66|77)[14-8])|8(?:11[149]|22[013-79]|33[0-68]|44[013-8]|550|66[1-5]|77\\d)))\\d{4}",,,,"111112345",,,,[7]],[,,"7001\\d{5}|(?:7(?:0[1-9]|1[01]|77|86|99)|9\\d\\d)\\d{6}",,,,"911234567"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"ET",251,"00","0",,,"0",,,,[[,"(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["[1-579]"],"0$1"]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],FI:[,[,,"[1-35689]\\d{4}|7\\d{10,11}|(?:[124-7]\\d|3[0-46-9])\\d{8}|[1-9]\\d{5,8}",,,,,,,[5,6,7,8,9,10,11,12]],[,,"(?:1[3-79][1-8]|[235689][1-8]\\d)\\d{2,6}",,,,"131234567",,,[5,6,7,8,9]],[,,"4946\\d{2,6}|(?:4[0-8]|50)\\d{4,8}",,,,"412345678",,,[6,7,8,9,10]],[,,"800\\d{4,6}",,,,"800123456",,,[7,8,9]],[,,"[67]00\\d{5,6}",,,,"600123456",,,[8,9]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"FI",358,"00|99(?:[01469]|5(?:[14]1|3[23]|5[59]|77|88|9[09]))","0",,,"0",,"00",,[[,"(\\d{5})","$1",["75[12]"],"0$1"],[,"(\\d)(\\d{4,9})","$1 $2",["[2568][1-8]|3(?:0[1-9]|[1-9])|9"],"0$1"],[,"(\\d{6})","$1",["11"]],[,"(\\d{3})(\\d{3,7})","$1 $2",["[12]00|[368]|70[07-9]"],"0$1"],[,"(\\d{2})(\\d{4,8})","$1 $2",["[1245]|7[135]"],"0$1"],[,"(\\d{2})(\\d{6,10})","$1 $2",["7"],"0$1"]],[[,"(\\d)(\\d{4,9})","$1 $2",["[2568][1-8]|3(?:0[1-9]|[1-9])|9"],"0$1"],[,"(\\d{3})(\\d{3,7})","$1 $2",["[12]00|[368]|70[07-9]"],"0$1"],[,"(\\d{2})(\\d{4,8})","$1 $2",["[1245]|7[135]"],"0$1"],[,"(\\d{2})(\\d{6,10})","$1 $2",["7"],"0$1"]],[,,,,,,,,,[-1]],1,"1[03-79]|[2-9]",[,,"20(?:2[023]|9[89])\\d{1,6}|(?:60[12]\\d|7099)\\d{4,5}|(?:606|7(?:0[78]|1|3\\d))\\d{7}|(?:[1-3]00|7(?:0[1-5]\\d\\d|5[03-9]))\\d{3,7}"],[,,"20\\d{4,8}|60[12]\\d{5,6}|7(?:099\\d{4,5}|5[03-9]\\d{3,7})|20[2-59]\\d\\d|(?:606|7(?:0[78]|1|3\\d))\\d{7}|(?:10|29|3[09]|70[1-5]\\d)\\d{4,8}",,,,"10112345"],,,[,,,,,,,,,[-1]]],FJ:[,[,,"45\\d{5}|(?:0800\\d|[235-9])\\d{6}",,,,,,,[7,11]],[,,"603\\d{4}|(?:3[0-5]|6[25-7]|8[58])\\d{5}",,,,"3212345",,,[7]],[,,"(?:[279]\\d|45|5[01568]|8[034679])\\d{5}",,,,"7012345",,,[7]],[,,"0800\\d{7}",,,,"08001234567",,,[11]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"FJ",679,"0(?:0|52)",,,,,,"00",,[[,"(\\d{3})(\\d{4})","$1 $2",["[235-9]|45"]],[,"(\\d{4})(\\d{3})(\\d{4})","$1 $2 $3",["0"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],FK:[,[,,"[2-7]\\d{4}",,,,,,,[5]],[,,"[2-47]\\d{4}",,,,"31234"],[,,"[56]\\d{4}",,,,"51234"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"FK",500,"00",,,,,,,,,,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],FM:[,[,,"(?:[39]\\d\\d|820)\\d{4}",,,,,,,[7]],[,,"31(?:00[67]|208|309)\\d\\d|(?:3(?:[2357]0[1-9]|602|804|905)|(?:820|9[2-6]\\d)\\d)\\d{3}",,,,"3201234"],[,,"31(?:00[67]|208|309)\\d\\d|(?:3(?:[2357]0[1-9]|602|804|905)|(?:820|9[2-7]\\d)\\d)\\d{3}",,,,"3501234"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"FM",691,"00",,,,,,,,[[,"(\\d{3})(\\d{4})","$1 $2",["[389]"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],FO:[,[,,"[2-9]\\d{5}",,,,,,,[6]],[,,"(?:20|[34]\\d|8[19])\\d{4}",,,,"201234"],[,,"(?:[27][1-9]|5\\d|9[16])\\d{4}",,,,"211234"],[,,"80[257-9]\\d{3}",,,,"802123"],[,,"90(?:[13-5][15-7]|2[125-7]|9\\d)\\d\\d",,,,"901123"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,"(?:6[0-36]|88)\\d{4}",,,,"601234"],"FO",298,"00",,,,"(10(?:01|[12]0|88))",,,,[[,"(\\d{6})","$1",["[2-9]"],,"$CC $1"]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],FR:[,[,,"[1-9]\\d{8}",,,,,,,[9]],[,,"(?:[1-35]\\d|4[1-9])\\d{7}",,,,"123456789"],[,,"(?:6(?:[0-24-8]\\d|3[0-8]|9[589])|7[3-9]\\d)\\d{6}",,,,"612345678"],[,,"80[0-5]\\d{6}",,,,"801234567"],[,,"836(?:0[0-36-9]|[1-9]\\d)\\d{4}|8(?:1[2-9]|2[2-47-9]|3[0-57-9]|[569]\\d|8[0-35-9])\\d{6}",,,,"891123456"],[,,"8(?:1[01]|2[0156]|4[02]|84)\\d{6}",,,,"884012345"],[,,,,,,,,,[-1]],[,,"9\\d{8}",,,,"912345678"],"FR",33,"00","0",,,"0",,,,[[,"(\\d{4})","$1",["10"]],[,"(\\d{3})(\\d{3})","$1 $2",["1"]],[,"(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["8"],"0 $1"],[,"(\\d)(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4 $5",["[1-79]"],"0$1"]],[[,"(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["8"],"0 $1"],[,"(\\d)(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4 $5",["[1-79]"],"0$1"]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,"80[6-9]\\d{6}",,,,"806123456"],,,[,,,,,,,,,[-1]]],GA:[,[,,"(?:[067]\\d|11)\\d{6}|[2-7]\\d{6}",,,,,,,[7,8]],[,,"[01]1\\d{6}",,,,"01441234",,,[8]],[,,"(?:(?:0[2-7]|7[467])\\d|6(?:0[0-4]|10|[256]\\d))\\d{5}|[2-7]\\d{6}",,,,"06031234"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"GA",241,"00",,,,"0(11\\d{6}|60\\d{6}|61\\d{6}|6[256]\\d{6}|7[467]\\d{6})","$1",,,[[,"(\\d)(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[2-7]"],"0$1"],[,"(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["0"]],[,"(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["11|[67]"],"0$1"]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],GB:[,[,,"[1-357-9]\\d{9}|[18]\\d{8}|8\\d{6}",,,,,,,[7,9,10],[4,5,6,8]],[,,"(?:1(?:1(?:3(?:[0-58]\\d\\d|73[0235])|4(?:[0-5]\\d\\d|69[7-9]|70[0-579])|(?:(?:5[0-26-9]|[78][0-49])\\d|6(?:[0-4]\\d|50))\\d)|2(?:(?:0[024-9]|2[3-9]|3[3-79]|4[1-689]|[58][02-9]|6[0-47-9]|7[013-9]|9\\d)\\d\\d|1(?:[0-7]\\d\\d|8(?:[02]\\d|1[0-246-9])))|(?:3(?:0\\d|1[0-8]|[25][02-9]|3[02-579]|[468][0-46-9]|7[1-35-79]|9[2-578])|4(?:0[03-9]|[137]\\d|[28][02-57-9]|4[02-69]|5[0-8]|[69][0-79])|5(?:0[1-35-9]|[16]\\d|2[024-9]|3[015689]|4[02-9]|5[03-9]|7[0-35-9]|8[0-468]|9[0-57-9])|6(?:0[034689]|1\\d|2[0-35689]|[38][013-9]|4[1-467]|5[0-69]|6[13-9]|7[0-8]|9[0-24578])|7(?:0[0246-9]|2\\d|3[0236-8]|4[03-9]|5[0-46-9]|6[013-9]|7[0-35-9]|8[024-9]|9[02-9])|8(?:0[35-9]|2[1-57-9]|3[02-578]|4[0-578]|5[124-9]|6[2-69]|7\\d|8[02-9]|9[02569])|9(?:0[02-589]|[18]\\d|2[02-689]|3[1-57-9]|4[2-9]|5[0-579]|6[2-47-9]|7[0-24578]|9[2-57]))\\d\\d)|2(?:0[013478]|3[0189]|4[017]|8[0-46-9]|9[0-2])\\d{3})\\d{4}|1(?:2(?:0(?:46[1-4]|87[2-9])|545[1-79]|76(?:2\\d|3[1-8]|6[1-6])|9(?:7(?:2[0-4]|3[2-5])|8(?:2[2-8]|7[0-47-9]|8[3-5])))|3(?:6(?:38[2-5]|47[23])|8(?:47[04-9]|64[0157-9]))|4(?:044[1-7]|20(?:2[23]|8\\d)|6(?:0(?:30|5[2-57]|6[1-8]|7[2-8])|140)|8(?:052|87[1-3]))|5(?:2(?:4(?:3[2-79]|6\\d)|76\\d)|6(?:26[06-9]|686))|6(?:06(?:4\\d|7[4-79])|295[5-7]|35[34]\\d|47(?:24|61)|59(?:5[08]|6[67]|74)|9(?:55[0-4]|77[23]))|7(?:26(?:6[13-9]|7[0-7])|(?:442|688)\\d|50(?:2[0-3]|[3-68]2|76))|8(?:27[56]\\d|37(?:5[2-5]|8[239])|843[2-58])|9(?:0(?:0(?:6[1-8]|85)|52\\d)|3583|4(?:66[1-8]|9(?:2[01]|81))|63(?:23|3[1-4])|9561))\\d{3}",,,,"1212345678",,,[9,10],[4,5,6,7,8]],[,,"7(?:457[0-57-9]|700[01]|911[028])\\d{5}|7(?:[1-3]\\d\\d|4(?:[0-46-9]\\d|5[0-689])|5(?:0[0-8]|[13-9]\\d|2[0-35-9])|7(?:0[1-9]|[1-7]\\d|8[02-9]|9[0-689])|8(?:[014-9]\\d|[23][0-8])|9(?:[024-9]\\d|1[02-9]|3[0-689]))\\d{6}",,,,"7400123456",,,[10]],[,,"80[08]\\d{7}|800\\d{6}|8001111",,,,"8001234567"],[,,"(?:8(?:4[2-5]|7[0-3])|9(?:[01]\\d|8[2-49]))\\d{7}|845464\\d",,,,"9012345678",,,[7,10]],[,,,,,,,,,[-1]],[,,"70\\d{8}",,,,"7012345678",,,[10]],[,,"56\\d{8}",,,,"5612345678",,,[10]],"GB",44,"00","0"," x",,"0",,,,[[,"(\\d{3})(\\d{4})","$1 $2",["800","8001","80011","800111","8001111"],"0$1"],[,"(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3",["845","8454","84546","845464"],"0$1"],[,"(\\d{3})(\\d{6})","$1 $2",["800"],"0$1"],[,"(\\d{5})(\\d{4,5})","$1 $2",["1(?:38|5[23]|69|76|94)","1(?:(?:38|69)7|5(?:24|39)|768|946)","1(?:3873|5(?:242|39[4-6])|(?:697|768)[347]|9467)"],"0$1"],[,"(\\d{4})(\\d{5,6})","$1 $2",["1(?:[2-69][02-9]|[78])"],"0$1"],[,"(\\d{2})(\\d{4})(\\d{4})","$1 $2 $3",["[25]|7(?:0|6[02-9])","[25]|7(?:0|6(?:[03-9]|2[356]))"],"0$1"],[,"(\\d{4})(\\d{6})","$1 $2",["7"],"0$1"],[,"(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["[1389]"],"0$1"]],,[,,"76(?:464|652)\\d{5}|76(?:0[0-28]|2[356]|34|4[01347]|5[49]|6[0-369]|77|8[14]|9[139])\\d{6}",,,,"7640123456",,,[10]],1,,[,,,,,,,,,[-1]],[,,"(?:3[0347]|55)\\d{8}",,,,"5512345678",,,[10]],,,[,,,,,,,,,[-1]]],GD:[,[,,"(?:473|[58]\\d\\d|900)\\d{7}",,,,,,,[10],[7]],[,,"473(?:2(?:3[0-2]|69)|3(?:2[89]|86)|4(?:[06]8|3[5-9]|4[0-49]|5[5-79]|73|90)|63[68]|7(?:58|84)|800|938)\\d{4}",,,,"4732691234",,,,[7]],[,,"473(?:4(?:0[2-79]|1[04-9]|2[0-5]|58)|5(?:2[01]|3[3-8])|901)\\d{4}",,,,"4734031234",,,,[7]],[,,"8(?:00|33|44|55|66|77|88)[2-9]\\d{6}",,,,"8002123456"],[,,"900[2-9]\\d{6}",,,,"9002123456"],[,,,,,,,,,[-1]],[,,"52(?:3(?:[2-46-9][02-9]\\d|5(?:[02-46-9]\\d|5[0-46-9]))|4(?:[2-478][02-9]\\d|5(?:[034]\\d|2[024-9]|5[0-46-9])|6(?:0[1-9]|[2-9]\\d)|9(?:[05-9]\\d|2[0-5]|49)))\\d{4}|52[34][2-9]1[02-9]\\d{4}|5(?:00|2[125-9]|33|44|66|77|88)[2-9]\\d{6}",,,,"5002345678"],[,,,,,,,,,[-1]],"GD",1,"011","1",,,"([2-9]\\d{6})$|1","473$1",,,,,[,,,,,,,,,[-1]],,"473",[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],GE:[,[,,"(?:[3-57]\\d\\d|800)\\d{6}",,,,,,,[9],[6,7]],[,,"(?:3(?:[256]\\d|4[124-9]|7[0-4])|4(?:1\\d|2[2-7]|3[1-79]|4[2-8]|7[239]|9[1-7]))\\d{6}",,,,"322123456",,,,[6,7]],[,,"5(?:(?:(?:0555|1(?:[17]77|555))[5-9]|757(?:7[7-9]|8[01]))\\d|22252[0-4])\\d\\d|5(?:00(?:0\\d|5[05])|11(?:00|[124]\\d|3[01])|(?:520|909)0|75(?:00|[57]5)|8(?:0(?:[01]\\d|2[0-4])|58[89]|8(?:55|88)))\\d{4}|(?:5(?:[14]4|5[0157-9]|68|7[0147-9]|9[1-35-9])|790)\\d{6}|5(?:0(?:070|505)|1(?:0[01]0|1(?:07|33|51))|2(?:0[02]0|2[25]2)|3(?:0[03]0|3[35]3)|(?:40[04]|900)0|5222)[0-4]\\d{3}",,,,"555123456"],[,,"800\\d{6}",,,,"800123456"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,"70[67]\\d{6}",,,,"706123456"],"GE",995,"00","0",,,"0",,,,[[,"(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["70"],"0$1"],[,"(\\d{2})(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4",["32"],"0$1"],[,"(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[57]"]],[,"(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[348]"],"0$1"]],,[,,,,,,,,,[-1]],,,[,,"70[67]\\d{6}"],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],GF:[,[,,"(?:[56]94|80\\d|976)\\d{6}",,,,,,,[9]],[,,"594(?:[0239]\\d|1[0-2]|4[03-9]|5[6-9]|6[0-3]|80)\\d{4}",,,,"594101234"],[,,"694(?:[0-249]\\d|3[0-8])\\d{4}",,,,"694201234"],[,,"80[0-5]\\d{6}",,,,"800012345"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,"976\\d{6}",,,,"976012345"],"GF",594,"00","0",,,"0",,,,[[,"(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[569]"],"0$1"],[,"(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["8"],"0$1"]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],GG:[,[,,"(?:1481|[357-9]\\d{3})\\d{6}|8\\d{6}(?:\\d{2})?",,,,,,,[7,9,10],[6]],[,,"1481[25-9]\\d{5}",,,,"1481256789",,,[10],[6]],[,,"7(?:(?:781|839)\\d|911[17])\\d{5}",,,,"7781123456",,,[10]],[,,"80[08]\\d{7}|800\\d{6}|8001111",,,,"8001234567"],[,,"(?:8(?:4[2-5]|7[0-3])|9(?:[01]\\d|8[0-3]))\\d{7}|845464\\d",,,,"9012345678",,,[7,10]],[,,,,,,,,,[-1]],[,,"70\\d{8}",,,,"7012345678",,,[10]],[,,"56\\d{8}",,,,"5612345678",,,[10]],"GG",44,"00","0",,,"([25-9]\\d{5})$|0","1481$1",,,,,[,,"76(?:464|652)\\d{5}|76(?:0[0-28]|2[356]|34|4[01347]|5[49]|6[0-369]|77|8[14]|9[139])\\d{6}",,,,"7640123456",,,[10]],,,[,,,,,,,,,[-1]],[,,"(?:3[0347]|55)\\d{8}",,,,"5512345678",,,[10]],,,[,,,,,,,,,[-1]]],GH:[,[,,"(?:[235]\\d{3}|800)\\d{5}",,,,,,,[8,9],[7]],[,,"3082[0-5]\\d{4}|3(?:0(?:[237]\\d|8[01])|[167](?:2[0-6]|7\\d|80)|2(?:2[0-5]|7\\d|80)|3(?:2[0-3]|7\\d|80)|4(?:2[013-9]|3[01]|7\\d|80)|5(?:2[0-7]|7\\d|80)|8(?:2[0-2]|7\\d|80)|9(?:[28]0|7\\d))\\d{5}",,,,"302345678",,,[9],[7]],[,,"(?:2(?:[0346-9]\\d|5[67])|5(?:[03-7]\\d|9[1-9]))\\d{6}",,,,"231234567",,,[9]],[,,"800\\d{5}",,,,"80012345",,,[8]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"GH",233,"00","0",,,"0",,,,[[,"(\\d{3})(\\d{4})","$1 $2",["[237]|8[0-2]"]],[,"(\\d{3})(\\d{5})","$1 $2",["8"],"0$1"],[,"(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["[235]"],"0$1"]],[[,"(\\d{3})(\\d{5})","$1 $2",["8"],"0$1"],[,"(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["[235]"],"0$1"]],[,,,,,,,,,[-1]],,,[,,"800\\d{5}",,,,,,,[8]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],GI:[,[,,"(?:[25]\\d\\d|606)\\d{5}",,,,,,,[8]],[,,"2190[0-2]\\d{3}|2(?:0(?:0\\d|20)|16[24-9]|2[2-5]\\d)\\d{4}",,,,"20012345"],[,,"525(?:0\\d|1[0-4])\\d{3}|(?:5[146-8]\\d|606)\\d{5}",,,,"57123456"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"GI",350,"00",,,,,,,,[[,"(\\d{3})(\\d{5})","$1 $2",["2"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],GL:[,[,,"(?:19|[2-689]\\d|70)\\d{4}",,,,,,,[6]],[,,"(?:19|3[1-7]|6[14689]|70|8[14-79]|9\\d)\\d{4}",,,,"321000"],[,,"[245]\\d{5}",,,,"221234"],[,,"80\\d{4}",,,,"801234"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,"3[89]\\d{4}",,,,"381234"],"GL",299,"00",,,,,,,,[[,"(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3",["19|[2-9]"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],GM:[,[,,"[2-9]\\d{6}",,,,,,,[7]],[,,"(?:4(?:[23]\\d\\d|4(?:1[024679]|[6-9]\\d))|5(?:5(?:3\\d|4[0-7])|6[67]\\d|7(?:1[04]|2[035]|3[58]|48))|8\\d{3})\\d{3}",,,,"5661234"],[,,"(?:[23679]\\d|5[0-389])\\d{5}",,,,"3012345"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"GM",220,"00",,,,,,,,[[,"(\\d{3})(\\d{4})","$1 $2",["[2-9]"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],GN:[,[,,"722\\d{6}|(?:3|6\\d)\\d{7}",,,,,,,[8,9]],[,,"3(?:0(?:24|3[12]|4[1-35-7]|5[13]|6[189]|[78]1|9[1478])|1\\d\\d)\\d{4}",,,,"30241234",,,[8]],[,,"6[0-356]\\d{7}",,,,"601123456",,,[9]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,"722\\d{6}",,,,"722123456",,,[9]],"GN",224,"00",,,,,,,,[[,"(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["3"]],[,"(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[67]"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],GP:[,[,,"(?:590|(?:69|80)\\d|976)\\d{6}",,,,,,,[9]],[,,"590(?:0[1-68]|[14][0-24-9]|2[0-68]|3[1289]|5[3-579]|6[0-489]|7[08]|8[0-689]|9\\d)\\d{4}",,,,"590201234"],[,,"69(?:0\\d\\d|1(?:2[2-9]|3[0-5]))\\d{4}",,,,"690001234"],[,,"80[0-5]\\d{6}",,,,"800012345"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,"976[01]\\d{5}",,,,"976012345"],"GP",590,"00","0",,,"0",,,,[[,"(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[569]"],"0$1"],[,"(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["8"],"0$1"]],,[,,,,,,,,,[-1]],1,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],GQ:[,[,,"222\\d{6}|(?:3\\d|55|[89]0)\\d{7}",,,,,,,[9]],[,,"33[0-24-9]\\d[46]\\d{4}|3(?:33|5\\d)\\d[7-9]\\d{4}",,,,"333091234"],[,,"(?:222|55\\d)\\d{6}",,,,"222123456"],[,,"80\\d[1-9]\\d{5}",,,,"800123456"],[,,"90\\d[1-9]\\d{5}",,,,"900123456"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"GQ",240,"00",,,,,,,,[[,"(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[235]"]],[,"(\\d{3})(\\d{6})","$1 $2",["[89]"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],GR:[,[,,"5005000\\d{3}|8\\d{9,11}|(?:[269]\\d|70)\\d{8}",,,,,,,[10,11,12]],[,,"2(?:1\\d\\d|2(?:2[1-46-9]|[36][1-8]|4[1-7]|5[1-4]|7[1-5]|[89][1-9])|3(?:1\\d|2[1-57]|[35][1-3]|4[13]|7[1-7]|8[124-6]|9[1-79])|4(?:1\\d|2[1-8]|3[1-4]|4[13-5]|6[1-578]|9[1-5])|5(?:1\\d|[29][1-4]|3[1-5]|4[124]|5[1-6])|6(?:1\\d|[269][1-6]|3[1245]|4[1-7]|5[13-9]|7[14]|8[1-5])|7(?:1\\d|2[1-5]|3[1-6]|4[1-7]|5[1-57]|6[135]|9[125-7])|8(?:1\\d|2[1-5]|[34][1-4]|9[1-57]))\\d{6}",,,,"2123456789",,,[10]],[,,"68[57-9]\\d{7}|(?:69|94)\\d{8}",,,,"6912345678",,,[10]],[,,"800\\d{7,9}",,,,"8001234567"],[,,"90[19]\\d{7}",,,,"9091234567",,,[10]],[,,"8(?:0[16]|12|[27]5|50)\\d{7}",,,,"8011234567",,,[10]],[,,"70\\d{8}",,,,"7012345678",,,[10]],[,,,,,,,,,[-1]],"GR",30,"00",,,,,,,,[[,"(\\d{2})(\\d{4})(\\d{4})","$1 $2 $3",["21|7"]],[,"(\\d{4})(\\d{6})","$1 $2",["2(?:2|3[2-57-9]|4[2-469]|5[2-59]|6[2-9]|7[2-69]|8[2-49])|5"]],[,"(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["[2689]"]],[,"(\\d{3})(\\d{3,4})(\\d{5})","$1 $2 $3",["8"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,"5005000\\d{3}",,,,"5005000123",,,[10]],,,[,,,,,,,,,[-1]]],GT:[,[,,"(?:1\\d{3}|[2-7])\\d{7}",,,,,,,[8,11]],[,,"[267][2-9]\\d{6}",,,,"22456789",,,[8]],[,,"[3-5]\\d{7}",,,,"51234567",,,[8]],[,,"18[01]\\d{8}",,,,"18001112222",,,[11]],[,,"19\\d{9}",,,,"19001112222",,,[11]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"GT",502,"00",,,,,,,,[[,"(\\d{4})(\\d{4})","$1 $2",["[2-7]"]],[,"(\\d{4})(\\d{3})(\\d{4})","$1 $2 $3",["1"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],GU:[,[,,"(?:[58]\\d\\d|671|900)\\d{7}",,,,,,,[10],[7]],[,,"671(?:3(?:00|3[39]|4[349]|55|6[26])|4(?:00|56|7[1-9]|8[02-46-9])|5(?:55|6[2-5]|88)|6(?:3[2-578]|4[24-9]|5[34]|78|8[235-9])|7(?:[0479]7|2[0167]|3[45]|8[7-9])|8(?:[2-57-9]8|6[48])|9(?:2[29]|6[79]|7[1279]|8[7-9]|9[78]))\\d{4}",,,,"6713001234",,,,[7]],[,,"671(?:3(?:00|3[39]|4[349]|55|6[26])|4(?:00|56|7[1-9]|8[02-46-9])|5(?:55|6[2-5]|88)|6(?:3[2-578]|4[24-9]|5[34]|78|8[235-9])|7(?:[0479]7|2[0167]|3[45]|8[7-9])|8(?:[2-57-9]8|6[48])|9(?:2[29]|6[79]|7[1279]|8[7-9]|9[78]))\\d{4}",,,,"6713001234",,,,[7]],[,,"8(?:00|33|44|55|66|77|88)[2-9]\\d{6}",,,,"8002123456"],[,,"900[2-9]\\d{6}",,,,"9002123456"],[,,,,,,,,,[-1]],[,,"52(?:3(?:[2-46-9][02-9]\\d|5(?:[02-46-9]\\d|5[0-46-9]))|4(?:[2-478][02-9]\\d|5(?:[034]\\d|2[024-9]|5[0-46-9])|6(?:0[1-9]|[2-9]\\d)|9(?:[05-9]\\d|2[0-5]|49)))\\d{4}|52[34][2-9]1[02-9]\\d{4}|5(?:00|2[125-9]|33|44|66|77|88)[2-9]\\d{6}",,,,"5002345678"],[,,,,,,,,,[-1]],"GU",1,"011","1",,,"([3-9]\\d{6})$|1","671$1",,1,,,[,,,,,,,,,[-1]],,"671",[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],GW:[,[,,"[49]\\d{8}|4\\d{6}",,,,,,,[7,9]],[,,"443\\d{6}",,,,"443201234",,,[9]],[,,"9(?:5\\d|6[569]|77)\\d{6}",,,,"955012345",,,[9]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,"40\\d{5}",,,,"4012345",,,[7]],"GW",245,"00",,,,,,,,[[,"(\\d{3})(\\d{4})","$1 $2",["40"]],[,"(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[49]"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],GY:[,[,,"9008\\d{3}|(?:[2-467]\\d\\d|862)\\d{4}",,,,,,,[7]],[,,"(?:2(?:1[6-9]|2[0-35-9]|3[1-4]|5[3-9]|6\\d|7[0-24-79])|3(?:2[25-9]|3\\d)|4(?:4[0-24]|5[56])|77[1-57])\\d{4}",,,,"2201234"],[,,"(?:6\\d\\d|70[0-35-7])\\d{4}",,,,"6091234"],[,,"(?:289|862)\\d{4}",,,,"2891234"],[,,"9008\\d{3}",,,,"9008123"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"GY",592,"001",,,,,,,,[[,"(\\d{3})(\\d{4})","$1 $2",["[2-46-9]"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],HK:[,[,,"8[0-46-9]\\d{6,7}|9\\d{4,7}|(?:[2-7]|9\\d{3})\\d{7}",,,,,,,[5,6,7,8,9,11]],[,,"(?:2(?:[13-9]\\d|2[013-9])\\d|3(?:(?:[1569][0-24-9]|4[0-246-9]|7[0-24-69])\\d|8(?:[45][0-8]|6[01]|9\\d))|58(?:0[1-8]|1[2-9]))\\d{4}",,,,"21234567",,,[8]],[,,"(?:4(?:44[5-9]|6(?:0[0-7]|1[0-6]|4[0-57-9]|6[0-4]|7[0-8]))|573[0-6]|6(?:26[013-8]|66[0-3])|70(?:7[1-5]|8[0-4])|848[015-9]|9(?:29[013-9]|59[0-4]))\\d{4}|(?:4(?:4[01]|6[2358])|5(?:[1-59][0-46-9]|6[0-4689]|7[0-246-9])|6(?:0[1-9]|[13-59]\\d|[268][0-57-9]|7[0-79])|84[09]|9(?:0[1-9]|1[02-9]|[2358][0-8]|[467]\\d))\\d{5}",,,,"51234567",,,[8]],[,,"800\\d{6}",,,,"800123456",,,[9]],[,,"900(?:[0-24-9]\\d{7}|3\\d{1,4})",,,,"90012345678",,,[5,6,7,8,11]],[,,,,,,,,,[-1]],[,,"8(?:1[0-4679]\\d|2(?:[0-36]\\d|7[0-4])|3(?:[034]\\d|2[09]|70))\\d{4}",,,,"81123456",,,[8]],[,,,,,,,,,[-1]],"HK",852,"00(?:30|5[09]|[126-9]?)",,,,,,"00",,[[,"(\\d{3})(\\d{2,5})","$1 $2",["900","9003"]],[,"(\\d{4})(\\d{4})","$1 $2",["[2-7]|8[1-4]|9(?:0[1-9]|[1-8])"]],[,"(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["8"]],[,"(\\d{3})(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3 $4",["9"]]],,[,,"7(?:1(?:0[0-38]|1[0-3679]|3[013]|69|9[0136])|2(?:[02389]\\d|1[18]|7[27-9])|3(?:[0-38]\\d|7[0-369]|9[2357-9])|47\\d|5(?:[178]\\d|5[0-5])|6(?:0[0-7]|2[236-9]|[35]\\d)|7(?:[27]\\d|8[7-9])|8(?:[23689]\\d|7[1-9])|9(?:[025]\\d|6[0-246-8]|7[0-36-9]|8[238]))\\d{4}",,,,"71123456",,,[8]],,,[,,,,,,,,,[-1]],[,,"30(?:0[1-9]|[15-7]\\d|2[047]|89)\\d{4}",,,,"30161234",,,[8]],,,[,,,,,,,,,[-1]]],HN:[,[,,"8\\d{10}|[237-9]\\d{7}",,,,,,,[8,11]],[,,"2(?:2(?:0[0-59]|1[1-9]|[23]\\d|4[02-6]|5[57]|6[245]|7[0135689]|8[01346-9]|9[0-2])|4(?:0[578]|2[3-59]|3[13-9]|4[0-68]|5[1-3589])|5(?:0[2357-9]|1[1-356]|4[03-5]|5\\d|6[014-69]|7[04]|80)|6(?:[056]\\d|17|2[067]|3[047]|4[0-378]|[78][0-8]|9[01])|7(?:0[5-79]|6[46-9]|7[02-9]|8[034]|91)|8(?:79|8[0-357-9]|9[1-57-9]))\\d{4}",,,,"22123456",,,[8]],[,,"[37-9]\\d{7}",,,,"91234567",,,[8]],[,,"8002\\d{7}",,,,"80021234567",,,[11]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"HN",504,"00",,,,,,,,[[,"(\\d{4})(\\d{4})","$1-$2",["[237-9]"]],[,"(\\d{3})(\\d{4})(\\d{4})","$1 $2 $3",["8"]]],[[,"(\\d{4})(\\d{4})","$1-$2",["[237-9]"]]],[,,,,,,,,,[-1]],,,[,,"8002\\d{7}",,,,,,,[11]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],HR:[,[,,"(?:[24-69]\\d|3[0-79])\\d{7}|80\\d{5,7}|[1-79]\\d{7}|6\\d{5,6}",,,,,,,[6,7,8,9]],[,,"1\\d{7}|(?:2[0-3]|3[1-5]|4[02-47-9]|5[1-3])\\d{6,7}",,,,"12345678",,,[8,9],[6,7]],[,,"98\\d{6,7}|975(?:1\\d|77|9[67])\\d{4}|9(?:0[1-9]|[1259]\\d|7[0679])\\d{6}",,,,"921234567",,,[8,9]],[,,"80[01]\\d{4,6}",,,,"800123456",,,[7,8,9]],[,,"6[01459]\\d{6}|6[01]\\d{4,5}",,,,"611234",,,[6,7,8]],[,,,,,,,,,[-1]],[,,"7[45]\\d{6}",,,,"74123456",,,[8]],[,,,,,,,,,[-1]],"HR",385,"00","0",,,"0",,,,[[,"(\\d{2})(\\d{2})(\\d{2,3})","$1 $2 $3",["6[01]"],"0$1"],[,"(\\d{3})(\\d{2})(\\d{2,3})","$1 $2 $3",["8"],"0$1"],[,"(\\d)(\\d{4})(\\d{3})","$1 $2 $3",["1"],"0$1"],[,"(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["[67]"],"0$1"],[,"(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["9"],"0$1"],[,"(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["[2-5]"],"0$1"],[,"(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["8"],"0$1"]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,"62\\d{6,7}|72\\d{6}",,,,"62123456",,,[8,9]],,,[,,,,,,,,,[-1]]],HT:[,[,,"(?:[2-489]\\d|55)\\d{6}",,,,,,,[8]],[,,"2(?:2\\d|5[1-5]|81|9[149])\\d{5}",,,,"22453300"],[,,"(?:[34]\\d|55)\\d{6}",,,,"34101234"],[,,"8\\d{7}",,,,"80012345"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,"9(?:[67][0-4]|8[0-3589]|9\\d)\\d{5}",,,,"98901234"],"HT",509,"00",,,,,,,,[[,"(\\d{2})(\\d{2})(\\d{4})","$1 $2 $3",["[2-589]"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],HU:[,[,,"[235-7]\\d{8}|[1-9]\\d{7}",,,,,,,[8,9],[6,7]],[,,"(?:1\\d|[27][2-9]|3[2-7]|4[24-9]|5[2-79]|6[23689]|8[2-57-9]|9[2-69])\\d{6}",,,,"12345678",,,[8],[6,7]],[,,"(?:[257]0|3[01])\\d{7}",,,,"201234567",,,[9]],[,,"(?:[48]0\\d|680[29])\\d{5}",,,,"80123456"],[,,"9[01]\\d{6}",,,,"90123456",,,[8]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,"21\\d{7}",,,,"211234567",,,[9]],"HU",36,"00","06",,,"06",,,,[[,"(\\d)(\\d{3})(\\d{4})","$1 $2 $3",["1"],"(06 $1)"],[,"(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["[27][2-9]|3[2-7]|4[24-9]|5[2-79]|6|8[2-57-9]|9[2-69]"],"(06 $1)"],[,"(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["[2-9]"],"06 $1"]],,[,,,,,,,,,[-1]],,,[,,"(?:[48]0\\d|680[29])\\d{5}"],[,,"38\\d{7}",,,,"381234567",,,[9]],,,[,,,,,,,,,[-1]]],ID:[,[,,"(?:(?:00[1-9]|8\\d)\\d{4}|[1-36])\\d{6}|00\\d{10}|[1-9]\\d{8,10}|[2-9]\\d{7}",,,,,,,[7,8,9,10,11,12,13],[5,6]],[,,"2[124]\\d{7,8}|619\\d{8}|2(?:1(?:14|500)|2\\d{3})\\d{3}|61\\d{5,8}|(?:2(?:[35][1-4]|6[0-8]|7[1-6]|8\\d|9[1-8])|3(?:1|[25][1-8]|3[1-68]|4[1-3]|6[1-3568]|7[0-469]|8\\d)|4(?:0[1-589]|1[01347-9]|2[0-36-8]|3[0-24-68]|43|5[1-378]|6[1-5]|7[134]|8[1245])|5(?:1[1-35-9]|2[25-8]|3[124-9]|4[1-3589]|5[1-46]|6[1-8])|6(?:[25]\\d|3[1-69]|4[1-6])|7(?:02|[125][1-9]|[36]\\d|4[1-8]|7[0-36-9])|9(?:0[12]|1[013-8]|2[0-479]|5[125-8]|6[23679]|7[159]|8[01346]))\\d{5,8}",,,,"218350123",,,[7,8,9,10,11],[5,6]],[,,"8[1-35-9]\\d{7,10}",,,,"812345678",,,[9,10,11,12]],[,,"00[17]803\\d{7}|(?:177\\d|800)\\d{5,7}|001803\\d{6}",,,,"8001234567",,,[8,9,10,11,12,13]],[,,"809\\d{7}",,,,"8091234567",,,[10]],[,,"804\\d{7}",,,,"8041234567",,,[10]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"ID",62,"00[89]","0",,,"0",,,,[[,"(\\d)(\\d{3})(\\d{3})","$1 $2 $3",["15"]],[,"(\\d{2})(\\d{5,9})","$1 $2",["2[124]|[36]1"],"(0$1)"],[,"(\\d{3})(\\d{5,7})","$1 $2",["800"],"0$1"],[,"(\\d{3})(\\d{5,8})","$1 $2",["[2-79]"],"(0$1)"],[,"(\\d{3})(\\d{3,4})(\\d{3})","$1-$2-$3",["8[1-35-9]"],"0$1"],[,"(\\d{3})(\\d{6,8})","$1 $2",["1"],"0$1"],[,"(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["804"],"0$1"],[,"(\\d{3})(\\d)(\\d{3})(\\d{3})","$1 $2 $3 $4",["80"],"0$1"],[,"(\\d{3})(\\d{4})(\\d{4,5})","$1-$2-$3",["8"],"0$1"],[,"(\\d{3})(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3 $4",["001"]],[,"(\\d{2})(\\d{4})(\\d{3})(\\d{4})","$1 $2 $3 $4",["0"]]],[[,"(\\d)(\\d{3})(\\d{3})","$1 $2 $3",["15"]],[,"(\\d{2})(\\d{5,9})","$1 $2",["2[124]|[36]1"],"(0$1)"],[,"(\\d{3})(\\d{5,7})","$1 $2",["800"],"0$1"],[,"(\\d{3})(\\d{5,8})","$1 $2",["[2-79]"],"(0$1)"],[,"(\\d{3})(\\d{3,4})(\\d{3})","$1-$2-$3",["8[1-35-9]"],"0$1"],[,"(\\d{3})(\\d{6,8})","$1 $2",["1"],"0$1"],[,"(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["804"],"0$1"],[,"(\\d{3})(\\d)(\\d{3})(\\d{3})","$1 $2 $3 $4",["80"],"0$1"],[,"(\\d{3})(\\d{4})(\\d{4,5})","$1-$2-$3",["8"],"0$1"]],[,,,,,,,,,[-1]],,,[,,"001803\\d{6,7}|(?:007803\\d|8071)\\d{6}",,,,,,,[10,12,13]],[,,"(?:1500|8071\\d{3})\\d{3}",,,,"8071123456",,,[7,10]],,,[,,,,,,,,,[-1]]],IE:[,[,,"(?:1\\d|[2569])\\d{6,8}|4\\d{6,9}|7\\d{8}|8\\d{8,9}",,,,,,,[7,8,9,10],[5,6]],[,,"(?:1\\d|21)\\d{6,7}|(?:2[24-9]|4(?:0[24]|5\\d|7)|5(?:0[45]|1\\d|8)|6(?:1\\d|[237-9])|9(?:1\\d|[35-9]))\\d{5}|(?:23|4(?:[1-469]|8\\d)|5[23679]|6[4-6]|7[14]|9[04])\\d{7}",,,,"2212345",,,,[5,6]],[,,"8(?:22|[35-9]\\d)\\d{6}",,,,"850123456",,,[9]],[,,"1800\\d{6}",,,,"1800123456",,,[10]],[,,"15(?:1[2-8]|[2-8]0|9[089])\\d{6}",,,,"1520123456",,,[10]],[,,"18[59]0\\d{6}",,,,"1850123456",,,[10]],[,,"700\\d{6}",,,,"700123456",,,[9]],[,,"76\\d{7}",,,,"761234567",,,[9]],"IE",353,"00","0",,,"0",,,,[[,"(\\d{2})(\\d{5})","$1 $2",["2[24-9]|47|58|6[237-9]|9[35-9]"],"(0$1)"],[,"(\\d{3})(\\d{5})","$1 $2",["[45]0"],"(0$1)"],[,"(\\d)(\\d{3,4})(\\d{4})","$1 $2 $3",["1"],"(0$1)"],[,"(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["[2569]|4[1-69]|7[14]"],"(0$1)"],[,"(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["70"],"0$1"],[,"(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["81"],"(0$1)"],[,"(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["[78]"],"0$1"],[,"(\\d{4})(\\d{3})(\\d{3})","$1 $2 $3",["1"]],[,"(\\d{2})(\\d{4})(\\d{4})","$1 $2 $3",["4"],"(0$1)"],[,"(\\d{2})(\\d)(\\d{3})(\\d{4})","$1 $2 $3 $4",["8"],"0$1"]],,[,,,,,,,,,[-1]],,,[,,"18[59]0\\d{6}",,,,,,,[10]],[,,"818\\d{6}",,,,"818123456",,,[9]],,,[,,"88210[1-9]\\d{4}|8(?:[35-79]5\\d\\d|8(?:[013-9]\\d\\d|2(?:[01][1-9]|[2-9]\\d)))\\d{5}",,,,"8551234567",,,[10]]],IL:[,[,,"1\\d{6}(?:\\d{3,5})?|[57]\\d{8}|[1-489]\\d{7}",,,,,,,[7,8,9,10,11,12]],[,,"153\\d{8,9}|29[1-9]\\d{5}|(?:2[0-8]|[3489]\\d)\\d{6}",,,,"21234567",,,[8,11,12],[7]],[,,"5(?:(?:[02368]\\d|[19][2-9]|4[1-9])\\d|5(?:01|1[79]|2[2-9]|3[0-3]|4[34]|5[015689]|6[6-8]|7[0-267]|8[7-9]|9[1-9]))\\d{5}",,,,"502345678",,,[9]],[,,"1(?:255|80[019]\\d{3})\\d{3}",,,,"1800123456",,,[7,10]],[,,"1212\\d{4}|1(?:200|9(?:0[0-2]|19))\\d{6}",,,,"1919123456",,,[8,10]],[,,"1700\\d{6}",,,,"1700123456",,,[10]],[,,,,,,,,,[-1]],[,,"7(?:380|8(?:33|55|77|81))\\d{5}|7(?:18|2[23]|3[237]|47|6[258]|7\\d|82|9[2-9])\\d{6}",,,,"771234567",,,[9]],"IL",972,"0(?:0|1[2-9])","0",,,"0",,,,[[,"(\\d{4})(\\d{3})","$1-$2",["125"]],[,"(\\d{4})(\\d{2})(\\d{2})","$1-$2-$3",["121"]],[,"(\\d)(\\d{3})(\\d{4})","$1-$2-$3",["[2-489]"],"0$1"],[,"(\\d{2})(\\d{3})(\\d{4})","$1-$2-$3",["[57]"],"0$1"],[,"(\\d{4})(\\d{3})(\\d{3})","$1-$2-$3",["12"]],[,"(\\d{4})(\\d{6})","$1-$2",["159"]],[,"(\\d)(\\d{3})(\\d{3})(\\d{3})","$1-$2-$3-$4",["1[7-9]"]],[,"(\\d{3})(\\d{1,2})(\\d{3})(\\d{4})","$1-$2 $3-$4",["15"]]],,[,,,,,,,,,[-1]],,,[,,"1700\\d{6}",,,,,,,[10]],[,,"1599\\d{6}",,,,"1599123456",,,[10]],,,[,,"151\\d{8,9}",,,,"15112340000",,,[11,12]]],IM:[,[,,"1624\\d{6}|(?:[3578]\\d|90)\\d{8}",,,,,,,[10],[6]],[,,"1624(?:230|[5-8]\\d\\d)\\d{3}",,,,"1624756789",,,,[6]],[,,"76245[06]\\d{4}|7(?:4576|[59]24\\d|624[0-4689])\\d{5}",,,,"7924123456"],[,,"808162\\d{4}",,,,"8081624567"],[,,"8(?:440[49]06|72299\\d)\\d{3}|(?:8(?:45|70)|90[0167])624\\d{4}",,,,"9016247890"],[,,,,,,,,,[-1]],[,,"70\\d{8}",,,,"7012345678"],[,,"56\\d{8}",,,,"5612345678"],"IM",44,"00","0",,,"([25-8]\\d{5})$|0","1624$1",,,,,[,,,,,,,,,[-1]],,"74576|(?:16|7[56])24",[,,,,,,,,,[-1]],[,,"3440[49]06\\d{3}|(?:3(?:08162|3\\d{4}|45624|7(?:0624|2299))|55\\d{4})\\d{4}",,,,"5512345678"],,,[,,,,,,,,,[-1]]],IN:[,[,,"(?:000800|[2-9]\\d\\d)\\d{7}|1\\d{7,12}",,,,,,,[8,9,10,11,12,13],[6,7]],[,,"2717(?:[2-7]\\d|95)\\d{4}|(?:271[0-689]|782[0-6])[2-7]\\d{5}|(?:170[24]|2(?:(?:[02][2-79]|90)\\d|80[13468])|(?:3(?:23|80)|683|79[1-7])\\d|4(?:20[24]|72[2-8])|552[1-7])\\d{6}|(?:11|33|4[04]|80)[2-7]\\d{7}|(?:342|674|788)(?:[0189][2-7]|[2-7]\\d)\\d{5}|(?:1(?:2[0-249]|3[0-25]|4[145]|[59][14]|6[014]|7[1257]|8[01346])|2(?:1[257]|3[013]|4[01]|5[0137]|6[0158]|78|8[1568]|9[14])|3(?:26|4[13]|5[34]|6[01489]|7[02-46]|8[159])|4(?:1[36]|2[1-47]|3[15]|5[12]|6[0-26-9]|7[014-9]|8[013-57]|9[014-7])|5(?:1[025]|22|[36][25]|4[28]|[578]1|9[15])|6(?:12|[2-47]1|5[17]|6[13]|80)|7(?:12|2[14]|3[134]|4[47]|5[15]|[67]1)|8(?:16|2[014]|3[126]|6[136]|7[078]|8[34]|91))[2-7]\\d{6}|(?:1(?:2[35-8]|3[346-9]|4[236-9]|[59][0235-9]|6[235-9]|7[34689]|8[257-9])|2(?:1[134689]|3[24-8]|4[2-8]|5[25689]|6[2-4679]|7[3-79]|8[2-479]|9[235-9])|3(?:01|1[79]|2[1245]|4[5-8]|5[125689]|6[235-7]|7[157-9]|8[2-46-8])|4(?:1[14578]|2[5689]|3[2-467]|5[4-7]|6[35]|73|8[2689]|9[2389])|5(?:[16][146-9]|2[14-8]|3[1346]|4[14-69]|5[46]|7[2-4]|8[2-8]|9[246])|6(?:1[1358]|2[2457]|3[2-4]|4[235-7]|5[2-689]|6[24578]|7[235689]|8[124-6])|7(?:1[013-9]|2[0235-9]|3[2679]|4[1-35689]|5[2-46-9]|[67][02-9]|8[013-7]|9[089])|8(?:1[1357-9]|2[235-8]|3[03-57-9]|4[0-24-9]|5\\d|6[2457-9]|7[1-6]|8[1256]|9[2-4]))\\d[2-7]\\d{5}",,,,"7410410123",,,[10],[6,7,8]],[,,"(?:61279|7(?:887[02-9]|9(?:313|79[07-9]))|8(?:079[04-9]|(?:84|91)7[02-8]))\\d{5}|(?:6(?:12|[2-47]1|5[17]|6[13]|80)[0189]|7(?:1(?:2[0189]|9[0-5])|2(?:[14][017-9]|8[0-59])|3(?:2[5-8]|[34][017-9]|9[016-9])|4(?:1[015-9]|[29][89]|39|8[389])|5(?:[15][017-9]|2[04-9]|9[7-9])|6(?:0[0-47]|1[0-257-9]|2[0-4]|3[19]|5[4589])|70[0289]|88[089]|97[02-8])|8(?:0(?:6[67]|7[02-8])|70[017-9]|84[01489]|91[0-289]))\\d{6}|(?:7(?:31|4[47])|8(?:16|2[014]|3[126]|6[136]|7[78]|83))(?:[0189]\\d|7[02-8])\\d{5}|(?:6(?:[09]\\d|1[04679]|2[03689]|3[05-9]|4[0489]|50|6[069]|7[07]|8[7-9])|7(?:0\\d|2[0235-79]|3[05-8]|40|5[0346-8]|6[6-9]|7[1-9]|8[0-79]|9[089])|8(?:0[01589]|1[0-57-9]|2[235-9]|3[03-57-9]|[45]\\d|6[02457-9]|7[1-69]|8[0-25-9]|9[02-9])|9\\d\\d)\\d{7}|(?:6(?:(?:1[1358]|2[2457]|3[2-4]|4[235-7]|5[2-689]|6[24578]|8[124-6])\\d|7(?:[235689]\\d|4[0189]))|7(?:1(?:[013-8]\\d|9[6-9])|28[6-8]|3(?:2[0-49]|9[2-5])|4(?:1[2-4]|[29][0-7]|3[0-8]|[56]\\d|8[0-24-7])|5(?:2[1-3]|9[0-6])|6(?:0[5689]|2[5-9]|3[02-8]|4\\d|5[0-367])|70[13-7]|881))[0189]\\d{5}",,,,"8123456789",,,[10]],[,,"000800\\d{7}|1(?:600\\d{6}|80(?:0\\d{4,9}|3\\d{9}))",,,,"1800123456"],[,,"186[12]\\d{9}",,,,"1861123456789",,,[13]],[,,"1860\\d{7}",,,,"18603451234",,,[11]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"IN",91,"00","0",,,"0",,,,[[,"(\\d{7})","$1",["575"]],[,"(\\d{8})","$1",["5(?:0|2[23]|3[03]|[67]1|88)","5(?:0|2(?:21|3)|3(?:0|3[23])|616|717|888)","5(?:0|2(?:21|3)|3(?:0|3[23])|616|717|8888)"],,,1],[,"(\\d{4})(\\d{4,5})","$1 $2",["180","1800"],,,1],[,"(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["140"],,,1],[,"(\\d{2})(\\d{4})(\\d{4})","$1 $2 $3",["11|2[02]|33|4[04]|79[1-7]|80[2-46]","11|2[02]|33|4[04]|79(?:[1-6]|7[19])|80(?:[2-4]|6[0-589])","11|2[02]|33|4[04]|79(?:[124-6]|3(?:[02-9]|1[0-24-9])|7(?:1|9[1-6]))|80(?:[2-4]|6[0-589])"],"0$1",,1],[,"(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["1(?:2[0-249]|3[0-25]|4[145]|[68]|7[1257])|2(?:1[257]|3[013]|4[01]|5[0137]|6[0158]|78|8[1568])|3(?:26|4[1-3]|5[34]|6[01489]|7[02-46]|8[159])|4(?:1[36]|2[1-47]|5[12]|6[0-26-9]|7[0-24-9]|8[013-57]|9[014-7])|5(?:1[025]|22|[36][25]|4[28]|5[12]|[78]1)|6(?:12|[2-4]1|5[17]|6[13]|80)|7(?:12|3[134]|4[47]|61|88)|8(?:16|2[014]|3[126]|6[136]|7[078]|8[34]|91)|(?:43|59|75)[15]|(?:1[59]|29|67|72)[14]","1(?:2[0-24]|3[0-25]|4[145]|[59][14]|6[1-9]|7[1257]|8[1-57-9])|2(?:1[257]|3[013]|4[01]|5[0137]|6[058]|78|8[1568]|9[14])|3(?:26|4[1-3]|5[34]|6[01489]|7[02-46]|8[159])|4(?:1[36]|2[1-47]|3[15]|5[12]|6[0-26-9]|7[0-24-9]|8[013-57]|9[014-7])|5(?:1[025]|22|[36][25]|4[28]|[578]1|9[15])|674|7(?:(?:2[14]|3[34]|5[15])[2-6]|61[346]|88[0-8])|8(?:70[2-6]|84[235-7]|91[3-7])|(?:1(?:29|60|8[06])|261|552|6(?:12|[2-47]1|5[17]|6[13]|80)|7(?:12|31|4[47])|8(?:16|2[014]|3[126]|6[136]|7[78]|83))[2-7]","1(?:2[0-24]|3[0-25]|4[145]|[59][14]|6[1-9]|7[1257]|8[1-57-9])|2(?:1[257]|3[013]|4[01]|5[0137]|6[058]|78|8[1568]|9[14])|3(?:26|4[1-3]|5[34]|6[01489]|7[02-46]|8[159])|4(?:1[36]|2[1-47]|3[15]|5[12]|6[0-26-9]|7[0-24-9]|8[013-57]|9[014-7])|5(?:1[025]|22|[36][25]|4[28]|[578]1|9[15])|6(?:12(?:[2-6]|7[0-8])|74[2-7])|7(?:(?:2[14]|5[15])[2-6]|3171|61[346]|88(?:[2-7]|82))|8(?:70[2-6]|84(?:[2356]|7[19])|91(?:[3-6]|7[19]))|73[134][2-6]|(?:74[47]|8(?:16|2[014]|3[126]|6[136]|7[78]|83))(?:[2-6]|7[19])|(?:1(?:29|60|8[06])|261|552|6(?:[2-4]1|5[17]|6[13]|7(?:1|4[0189])|80)|7(?:12|88[01]))[2-7]"],"0$1",,1],[,"(\\d{4})(\\d{3})(\\d{3})","$1 $2 $3",["1(?:[2-479]|5[0235-9])|[2-5]|6(?:1[1358]|2[2457-9]|3[2-5]|4[235-7]|5[2-689]|6[24578]|7[235689]|8[1-6])|7(?:1[013-9]|28|3[129]|4[1-35689]|5[29]|6[02-5]|70)|807","1(?:[2-479]|5[0235-9])|[2-5]|6(?:1[1358]|2(?:[2457]|84|95)|3(?:[2-4]|55)|4[235-7]|5[2-689]|6[24578]|7[235689]|8[1-6])|7(?:1(?:[013-8]|9[6-9])|28[6-8]|3(?:17|2[0-49]|9[2-57])|4(?:1[2-4]|[29][0-7]|3[0-8]|[56]|8[0-24-7])|5(?:2[1-3]|9[0-6])|6(?:0[5689]|2[5-9]|3[02-8]|4|5[0-367])|70[13-7])|807[19]","1(?:[2-479]|5(?:[0236-9]|5[013-9]))|[2-5]|6(?:2(?:84|95)|355|83)|73179|807(?:1|9[1-3])|(?:1552|6(?:1[1358]|2[2457]|3[2-4]|4[235-7]|5[2-689]|6[24578]|7[235689]|8[124-6])\\d|7(?:1(?:[013-8]\\d|9[6-9])|28[6-8]|3(?:2[0-49]|9[2-57])|4(?:1[2-4]|[29][0-7]|3[0-8]|[56]\\d|8[0-24-7])|5(?:2[1-3]|9[0-6])|6(?:0[5689]|2[5-9]|3[02-8]|4\\d|5[0-367])|70[13-7]))[2-7]"],"0$1",,1],[,"(\\d{5})(\\d{5})","$1 $2",["[6-9]"],"0$1",,1],[,"(\\d{4})(\\d{2,4})(\\d{4})","$1 $2 $3",["1(?:6|8[06])","1(?:6|8[06]0)"],,,1],[,"(\\d{3})(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3 $4",["0"]],[,"(\\d{4})(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3 $4",["18"],,,1]],[[,"(\\d{8})","$1",["5(?:0|2[23]|3[03]|[67]1|88)","5(?:0|2(?:21|3)|3(?:0|3[23])|616|717|888)","5(?:0|2(?:21|3)|3(?:0|3[23])|616|717|8888)"],,,1],[,"(\\d{4})(\\d{4,5})","$1 $2",["180","1800"],,,1],[,"(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["140"],,,1],[,"(\\d{2})(\\d{4})(\\d{4})","$1 $2 $3",["11|2[02]|33|4[04]|79[1-7]|80[2-46]","11|2[02]|33|4[04]|79(?:[1-6]|7[19])|80(?:[2-4]|6[0-589])","11|2[02]|33|4[04]|79(?:[124-6]|3(?:[02-9]|1[0-24-9])|7(?:1|9[1-6]))|80(?:[2-4]|6[0-589])"],"0$1",,1],[,"(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["1(?:2[0-249]|3[0-25]|4[145]|[68]|7[1257])|2(?:1[257]|3[013]|4[01]|5[0137]|6[0158]|78|8[1568])|3(?:26|4[1-3]|5[34]|6[01489]|7[02-46]|8[159])|4(?:1[36]|2[1-47]|5[12]|6[0-26-9]|7[0-24-9]|8[013-57]|9[014-7])|5(?:1[025]|22|[36][25]|4[28]|5[12]|[78]1)|6(?:12|[2-4]1|5[17]|6[13]|80)|7(?:12|3[134]|4[47]|61|88)|8(?:16|2[014]|3[126]|6[136]|7[078]|8[34]|91)|(?:43|59|75)[15]|(?:1[59]|29|67|72)[14]","1(?:2[0-24]|3[0-25]|4[145]|[59][14]|6[1-9]|7[1257]|8[1-57-9])|2(?:1[257]|3[013]|4[01]|5[0137]|6[058]|78|8[1568]|9[14])|3(?:26|4[1-3]|5[34]|6[01489]|7[02-46]|8[159])|4(?:1[36]|2[1-47]|3[15]|5[12]|6[0-26-9]|7[0-24-9]|8[013-57]|9[014-7])|5(?:1[025]|22|[36][25]|4[28]|[578]1|9[15])|674|7(?:(?:2[14]|3[34]|5[15])[2-6]|61[346]|88[0-8])|8(?:70[2-6]|84[235-7]|91[3-7])|(?:1(?:29|60|8[06])|261|552|6(?:12|[2-47]1|5[17]|6[13]|80)|7(?:12|31|4[47])|8(?:16|2[014]|3[126]|6[136]|7[78]|83))[2-7]","1(?:2[0-24]|3[0-25]|4[145]|[59][14]|6[1-9]|7[1257]|8[1-57-9])|2(?:1[257]|3[013]|4[01]|5[0137]|6[058]|78|8[1568]|9[14])|3(?:26|4[1-3]|5[34]|6[01489]|7[02-46]|8[159])|4(?:1[36]|2[1-47]|3[15]|5[12]|6[0-26-9]|7[0-24-9]|8[013-57]|9[014-7])|5(?:1[025]|22|[36][25]|4[28]|[578]1|9[15])|6(?:12(?:[2-6]|7[0-8])|74[2-7])|7(?:(?:2[14]|5[15])[2-6]|3171|61[346]|88(?:[2-7]|82))|8(?:70[2-6]|84(?:[2356]|7[19])|91(?:[3-6]|7[19]))|73[134][2-6]|(?:74[47]|8(?:16|2[014]|3[126]|6[136]|7[78]|83))(?:[2-6]|7[19])|(?:1(?:29|60|8[06])|261|552|6(?:[2-4]1|5[17]|6[13]|7(?:1|4[0189])|80)|7(?:12|88[01]))[2-7]"],"0$1",,1],[,"(\\d{4})(\\d{3})(\\d{3})","$1 $2 $3",["1(?:[2-479]|5[0235-9])|[2-5]|6(?:1[1358]|2[2457-9]|3[2-5]|4[235-7]|5[2-689]|6[24578]|7[235689]|8[1-6])|7(?:1[013-9]|28|3[129]|4[1-35689]|5[29]|6[02-5]|70)|807","1(?:[2-479]|5[0235-9])|[2-5]|6(?:1[1358]|2(?:[2457]|84|95)|3(?:[2-4]|55)|4[235-7]|5[2-689]|6[24578]|7[235689]|8[1-6])|7(?:1(?:[013-8]|9[6-9])|28[6-8]|3(?:17|2[0-49]|9[2-57])|4(?:1[2-4]|[29][0-7]|3[0-8]|[56]|8[0-24-7])|5(?:2[1-3]|9[0-6])|6(?:0[5689]|2[5-9]|3[02-8]|4|5[0-367])|70[13-7])|807[19]","1(?:[2-479]|5(?:[0236-9]|5[013-9]))|[2-5]|6(?:2(?:84|95)|355|83)|73179|807(?:1|9[1-3])|(?:1552|6(?:1[1358]|2[2457]|3[2-4]|4[235-7]|5[2-689]|6[24578]|7[235689]|8[124-6])\\d|7(?:1(?:[013-8]\\d|9[6-9])|28[6-8]|3(?:2[0-49]|9[2-57])|4(?:1[2-4]|[29][0-7]|3[0-8]|[56]\\d|8[0-24-7])|5(?:2[1-3]|9[0-6])|6(?:0[5689]|2[5-9]|3[02-8]|4\\d|5[0-367])|70[13-7]))[2-7]"],"0$1",,1],[,"(\\d{5})(\\d{5})","$1 $2",["[6-9]"],"0$1",,1],[,"(\\d{4})(\\d{2,4})(\\d{4})","$1 $2 $3",["1(?:6|8[06])","1(?:6|8[06]0)"],,,1],[,"(\\d{4})(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3 $4",["18"],,,1]],[,,,,,,,,,[-1]],,,[,,"1(?:600\\d{6}|800\\d{4,9})|(?:000800|18(?:03\\d\\d|6(?:0|[12]\\d\\d)))\\d{7}"],[,,"140\\d{7}",,,,"1409305260",,,[10]],,,[,,,,,,,,,[-1]]],IO:[,[,,"3\\d{6}",,,,,,,[7]],[,,"37\\d{5}",,,,"3709100"],[,,"38\\d{5}",,,,"3801234"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"IO",246,"00",,,,,,,,[[,"(\\d{3})(\\d{4})","$1 $2",["3"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],IQ:[,[,,"(?:1|7\\d\\d)\\d{7}|[2-6]\\d{7,8}",,,,,,,[8,9,10],[6,7]],[,,"1\\d{7}|(?:2[13-5]|3[02367]|4[023]|5[03]|6[026])\\d{6,7}",,,,"12345678",,,[8,9],[6,7]],[,,"7[3-9]\\d{8}",,,,"7912345678",,,[10]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"IQ",964,"00","0",,,"0",,,,[[,"(\\d)(\\d{3})(\\d{4})","$1 $2 $3",["1"],"0$1"],[,"(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["[2-6]"],"0$1"],[,"(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["7"],"0$1"]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],IR:[,[,,"[1-9]\\d{9}|(?:[1-8]\\d\\d|9)\\d{3,4}",,,,,,,[4,5,6,7,10],[8]],[,,"(?:1[137]|2[13-68]|3[1458]|4[145]|5[1468]|6[16]|7[1467]|8[13467])(?:[03-57]\\d{7}|[16]\\d{3}(?:\\d{4})?|[289]\\d{3}(?:\\d(?:\\d{3})?)?)|94(?:000[09]|2(?:121|[2689]0\\d)|30[0-2]\\d|4(?:111|40\\d))\\d{4}",,,,"2123456789",,,[6,7,10],[4,5,8]],[,,"9(?:(?:0(?:[0-35]\\d|4[4-6])|(?:[13]\\d|2[0-3])\\d)\\d|9(?:[0-46]\\d\\d|5[15]0|8(?:1\\d|88)|9(?:0[0-3]|[19]\\d|21|77|8[7-9])))\\d{5}",,,,"9123456789",,,[10]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"IR",98,"00","0",,,"0",,,,[[,"(\\d{4,5})","$1",["96"],"0$1"],[,"(\\d{2})(\\d{4,5})","$1 $2",["(?:1[137]|2[13-68]|3[1458]|4[145]|5[1468]|6[16]|7[1467]|8[13467])[12689]"],"0$1"],[,"(\\d{3})(\\d{3})(\\d{3,4})","$1 $2 $3",["9"],"0$1"],[,"(\\d{2})(\\d{4})(\\d{4})","$1 $2 $3",["[1-8]"],"0$1"]],,[,,,,,,,,,[-1]],,,[,,"9(?:4440\\d{5}|6(?:0[12]|2[16-8]|3(?:08|[14]5|[23]|66)|4(?:0|80)|5[01]|6[89]|86|9[19]))",,,,,,,[4,5,10]],[,,"96(?:0[12]|2[16-8]|3(?:08|[14]5|[23]|66)|4(?:0|80)|5[01]|6[89]|86|9[19])",,,,"9601",,,[4,5]],,,[,,,,,,,,,[-1]]],IS:[,[,,"(?:38\\d|[4-9])\\d{6}",,,,,,,[7,9]],[,,"(?:4(?:1[0-24-69]|2[0-7]|[37][0-8]|4[0-24589]|5[0-68]|6\\d|8[0-36-8])|5(?:05|[156]\\d|2[02578]|3[0-579]|4[03-7]|7[0-2578]|8[0-35-9]|9[013-689])|872)\\d{4}",,,,"4101234",,,[7]],[,,"(?:38[589]\\d\\d|6(?:1[1-8]|2[0-6]|3[026-9]|4[014679]|5[0159]|6[0-69]|70|8[06-8]|9\\d)|7(?:5[057]|[6-9]\\d)|8(?:2[0-59]|[3-69]\\d|8[238]))\\d{4}",,,,"6111234"],[,,"80[0-8]\\d{4}",,,,"8001234",,,[7]],[,,"90(?:0\\d|1[5-79]|2[015-79]|3[135-79]|4[125-7]|5[25-79]|7[1-37]|8[0-35-7])\\d{3}",,,,"9001234",,,[7]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,"49[0-24-79]\\d{4}",,,,"4921234",,,[7]],"IS",354,"00|1(?:0(?:01|[12]0)|100)",,,,,,"00",,[[,"(\\d{3})(\\d{4})","$1 $2",["[4-9]"]],[,"(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["3"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,"809\\d{4}",,,,"8091234",,,[7]],,,[,,"(?:689|8(?:7[18]|80)|95[48])\\d{4}",,,,"6891234",,,[7]]],IT:[,[,,"0\\d{5,10}|1\\d{8,10}|3(?:[0-8]\\d{7,10}|9\\d{7,8})|(?:55|70)\\d{8}|8\\d{5}(?:\\d{2,4})?",,,,,,,[6,7,8,9,10,11,12]],[,,"0669[0-79]\\d{1,6}|0(?:1(?:[0159]\\d|[27][1-5]|31|4[1-4]|6[1356]|8[2-57])|2\\d\\d|3(?:[0159]\\d|2[1-4]|3[12]|[48][1-6]|6[2-59]|7[1-7])|4(?:[0159]\\d|[23][1-9]|4[245]|6[1-5]|7[1-4]|81)|5(?:[0159]\\d|2[1-5]|3[2-6]|4[1-79]|6[4-6]|7[1-578]|8[3-8])|6(?:[0-57-9]\\d|6[0-8])|7(?:[0159]\\d|2[12]|3[1-7]|4[2-46]|6[13569]|7[13-6]|8[1-59])|8(?:[0159]\\d|2[3-578]|3[1-356]|[6-8][1-5])|9(?:[0159]\\d|[238][1-5]|4[12]|6[1-8]|7[1-6]))\\d{2,7}",,,,"0212345678",,,[6,7,8,9,10,11]],[,,"3[1-9]\\d{8}|3[2-9]\\d{7}",,,,"3123456789",,,[9,10]],[,,"80(?:0\\d{3}|3)\\d{3}",,,,"800123456",,,[6,9]],[,,"(?:0878\\d{3}|89(?:2\\d|3[04]|4(?:[0-4]|[5-9]\\d\\d)|5[0-4]))\\d\\d|(?:1(?:44|6[346])|89(?:38|5[5-9]|9))\\d{6}",,,,"899123456",,,[6,8,9,10]],[,,"84(?:[08]\\d{3}|[17])\\d{3}",,,,"848123456",,,[6,9]],[,,"1(?:78\\d|99)\\d{6}",,,,"1781234567",,,[9,10]],[,,"55\\d{8}",,,,"5512345678",,,[10]],"IT",39,"00",,,,,,,,[[,"(\\d{4,5})","$1",["1(?:0|9[246])","1(?:0|9(?:2[2-9]|[46]))"]],[,"(\\d{6})","$1",["1(?:1|92)"]],[,"(\\d{2})(\\d{4,6})","$1 $2",["0[26]"]],[,"(\\d{3})(\\d{3,6})","$1 $2",["0[13-57-9][0159]|8(?:03|4[17]|9[2-5])","0[13-57-9][0159]|8(?:03|4[17]|9(?:2|3[04]|[45][0-4]))"]],[,"(\\d{4})(\\d{2,6})","$1 $2",["0(?:[13-579][2-46-8]|8[236-8])"]],[,"(\\d{4})(\\d{4})","$1 $2",["894"]],[,"(\\d{2})(\\d{3,4})(\\d{4})","$1 $2 $3",["0[26]|5"]],[,"(\\d{3})(\\d{3})(\\d{3,4})","$1 $2 $3",["1(?:44|[679])|[378]"]],[,"(\\d{3})(\\d{3,4})(\\d{4})","$1 $2 $3",["0[13-57-9][0159]|14"]],[,"(\\d{2})(\\d{4})(\\d{5})","$1 $2 $3",["0[26]"]],[,"(\\d{4})(\\d{3})(\\d{4})","$1 $2 $3",["0"]],[,"(\\d{3})(\\d{4})(\\d{4,5})","$1 $2 $3",["3"]]],[[,"(\\d{2})(\\d{4,6})","$1 $2",["0[26]"]],[,"(\\d{3})(\\d{3,6})","$1 $2",["0[13-57-9][0159]|8(?:03|4[17]|9[2-5])","0[13-57-9][0159]|8(?:03|4[17]|9(?:2|3[04]|[45][0-4]))"]],[,"(\\d{4})(\\d{2,6})","$1 $2",["0(?:[13-579][2-46-8]|8[236-8])"]],[,"(\\d{4})(\\d{4})","$1 $2",["894"]],[,"(\\d{2})(\\d{3,4})(\\d{4})","$1 $2 $3",["0[26]|5"]],[,"(\\d{3})(\\d{3})(\\d{3,4})","$1 $2 $3",["1(?:44|[679])|[378]"]],[,"(\\d{3})(\\d{3,4})(\\d{4})","$1 $2 $3",["0[13-57-9][0159]|14"]],[,"(\\d{2})(\\d{4})(\\d{5})","$1 $2 $3",["0[26]"]],[,"(\\d{4})(\\d{3})(\\d{4})","$1 $2 $3",["0"]],[,"(\\d{3})(\\d{4})(\\d{4,5})","$1 $2 $3",["3"]]],[,,,,,,,,,[-1]],1,,[,,"848\\d{6}",,,,,,,[9]],[,,,,,,,,,[-1]],,,[,,"3[2-8]\\d{9,10}",,,,"33101234501",,,[11,12]]],JE:[,[,,"1534\\d{6}|(?:[3578]\\d|90)\\d{8}",,,,,,,[10],[6]],[,,"1534[0-24-8]\\d{5}",,,,"1534456789",,,,[6]],[,,"7(?:(?:(?:50|82)9|937)\\d|7(?:00[378]|97[7-9]))\\d{5}",,,,"7797712345"],[,,"80(?:07(?:35|81)|8901)\\d{4}",,,,"8007354567"],[,,"(?:8(?:4(?:4(?:4(?:05|42|69)|703)|5(?:041|800))|7(?:0002|1206))|90(?:066[59]|1810|71(?:07|55)))\\d{4}",,,,"9018105678"],[,,,,,,,,,[-1]],[,,"701511\\d{4}",,,,"7015115678"],[,,"56\\d{8}",,,,"5612345678"],"JE",44,"00","0",,,"([0-24-8]\\d{5})$|0","1534$1",,,,,[,,"76(?:464|652)\\d{5}|76(?:0[0-28]|2[356]|34|4[01347]|5[49]|6[0-369]|77|8[14]|9[139])\\d{6}",,,,"7640123456"],,,[,,,,,,,,,[-1]],[,,"(?:3(?:0(?:07(?:35|81)|8901)|3\\d{4}|4(?:4(?:4(?:05|42|69)|703)|5(?:041|800))|7(?:0002|1206))|55\\d{4})\\d{4}",,,,"5512345678"],,,[,,,,,,,,,[-1]]],JM:[,[,,"(?:[58]\\d\\d|658|900)\\d{7}",,,,,,,[10],[7]],[,,"8766060\\d{3}|(?:658(?:2(?:[0-8]\\d|9[0-46-9])|[3-9]\\d\\d)|876(?:52[35]|6(?:0[1-3579]|1[0235-9]|[23]\\d|40|5[06]|6[2-589]|7[025-9]|8[04]|9[4-9])|7(?:0[2-689]|[1-6]\\d|8[056]|9[45])|9(?:0[1-8]|1[02378]|[2-8]\\d|9[2-468])))\\d{4}",,,,"8765230123",,,,[7]],[,,"(?:658295|876(?:2(?:0[1-9]|[13-9]\\d|2[013-9])|[348]\\d\\d|5(?:0[1-9]|[1-9]\\d)|6(?:4[89]|6[67])|7(?:0[07]|7\\d|8[1-47-9]|9[0-36-9])|9(?:[01]9|9[0579])))\\d{4}",,,,"8762101234",,,,[7]],[,,"8(?:00|33|44|55|66|77|88)[2-9]\\d{6}",,,,"8002123456"],[,,"900[2-9]\\d{6}",,,,"9002123456"],[,,,,,,,,,[-1]],[,,"52(?:3(?:[2-46-9][02-9]\\d|5(?:[02-46-9]\\d|5[0-46-9]))|4(?:[2-478][02-9]\\d|5(?:[034]\\d|2[024-9]|5[0-46-9])|6(?:0[1-9]|[2-9]\\d)|9(?:[05-9]\\d|2[0-5]|49)))\\d{4}|52[34][2-9]1[02-9]\\d{4}|5(?:00|2[125-9]|33|44|66|77|88)[2-9]\\d{6}",,,,"5002345678"],[,,,,,,,,,[-1]],"JM",1,"011","1",,,"1",,,,,,[,,,,,,,,,[-1]],,"658|876",[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],JO:[,[,,"(?:(?:[2689]|7\\d)\\d|32|53)\\d{6}",,,,,,,[8,9]],[,,"87(?:000|90[01])\\d{3}|(?:2(?:6(?:2[0-35-9]|3[0-578]|4[24-7]|5[0-24-8]|[6-8][023]|9[0-3])|7(?:0[1-79]|10|2[014-7]|3[0-689]|4[019]|5[0-3578]))|32(?:0[1-69]|1[1-35-7]|2[024-7]|3\\d|4[0-3]|[5-7][023])|53(?:0[0-3]|[13][023]|2[0-59]|49|5[0-35-9]|6[15]|7[45]|8[1-6]|9[0-36-9])|6(?:2(?:[05]0|22)|3(?:00|33)|4(?:0[0-25]|1[2-7]|2[0569]|[38][07-9]|4[025689]|6[0-589]|7\\d|9[0-2])|5(?:[01][056]|2[034]|3[0-57-9]|4[178]|5[0-69]|6[0-35-9]|7[1-379]|8[0-68]|9[0239]))|87(?:20|7[078]|99))\\d{4}",,,,"62001234",,,[8]],[,,"7(?:[78][0-25-9]|9\\d)\\d{6}",,,,"790123456",,,[9]],[,,"80\\d{6}",,,,"80012345",,,[8]],[,,"9\\d{7}",,,,"90012345",,,[8]],[,,"85\\d{6}",,,,"85012345",,,[8]],[,,"70\\d{7}",,,,"700123456",,,[9]],[,,,,,,,,,[-1]],"JO",962,"00","0",,,"0",,,,[[,"(\\d)(\\d{3})(\\d{4})","$1 $2 $3",["[2356]|87"],"(0$1)"],[,"(\\d{3})(\\d{5,6})","$1 $2",["[89]"],"0$1"],[,"(\\d{2})(\\d{7})","$1 $2",["70"],"0$1"],[,"(\\d)(\\d{4})(\\d{4})","$1 $2 $3",["7"],"0$1"]],,[,,"74(?:66|77)\\d{5}",,,,"746612345",,,[9]],,,[,,,,,,,,,[-1]],[,,"8(?:10|8\\d)\\d{5}",,,,"88101234",,,[8]],,,[,,,,,,,,,[-1]]],JP:[,[,,"00[1-9]\\d{6,14}|[257-9]\\d{9}|(?:00|[1-9]\\d\\d)\\d{6}",,,,,,,[8,9,10,11,12,13,14,15,16,17]],[,,"(?:1(?:1[235-8]|2[3-6]|3[3-9]|4[2-6]|[58][2-8]|6[2-7]|7[2-9]|9[1-9])|(?:2[2-9]|[36][1-9])\\d|4(?:[2-578]\\d|6[02-8]|9[2-59])|5(?:[2-589]\\d|6[1-9]|7[2-8])|7(?:[25-9]\\d|3[4-9]|4[02-9])|8(?:[2679]\\d|3[2-9]|4[5-9]|5[1-9]|8[03-9])|9(?:[2-58]\\d|[679][1-9]))\\d{6}",,,,"312345678",,,[9]],[,,"[7-9]0[1-9]\\d{7}",,,,"9012345678",,,[10]],[,,"00777(?:[01]|5\\d)\\d\\d|(?:00(?:7778|882[1245])|(?:120|800\\d)\\d\\d)\\d{4}|00(?:37|66|78)\\d{6,13}",,,,"120123456"],[,,"990\\d{6}",,,,"990123456",,,[9]],[,,,,,,,,,[-1]],[,,"60\\d{7}",,,,"601234567",,,[9]],[,,"50[1-9]\\d{7}",,,,"5012345678",,,[10]],"JP",81,"010","0",,,"0",,,,[[,"(\\d{4})(\\d{4})","$1-$2",["007","0077","00777","00777[01]"]],[,"(\\d{3})(\\d{3})(\\d{3})","$1-$2-$3",["(?:12|57|99)0"],"0$1"],[,"(\\d{4})(\\d)(\\d{4})","$1-$2-$3",["1(?:26|3[79]|4[56]|5[4-68]|6[3-5])|499|5(?:76|97)|746|8(?:3[89]|47|51|63)|9(?:80|9[16])","1(?:267|3(?:7[247]|9[278])|466|5(?:47|58|64)|6(?:3[245]|48|5[4-68]))|499[2468]|5(?:76|97)9|7468|8(?:3(?:8[7-9]|96)|477|51[2-9]|636)|9(?:802|9(?:1[23]|69))|1(?:45|58)[67]","1(?:267|3(?:7[247]|9[278])|466|5(?:47|58|64)|6(?:3[245]|48|5[4-68]))|499[2468]|5(?:769|979[2-69])|7468|8(?:3(?:8[7-9]|96[2457-9])|477|51[2-9]|636[457-9])|9(?:802|9(?:1[23]|69))|1(?:45|58)[67]"],"0$1"],[,"(\\d{2})(\\d{3})(\\d{4})","$1-$2-$3",["60"],"0$1"],[,"(\\d)(\\d{4})(\\d{4})","$1-$2-$3",["[36]|4(?:2[09]|7[01])","[36]|4(?:2(?:0|9[02-69])|7(?:0[019]|1))"],"0$1"],[,"(\\d{2})(\\d{3})(\\d{4})","$1-$2-$3",["1(?:1|5[45]|77|88|9[69])|2(?:2[1-37]|3[0-269]|4[59]|5|6[24]|7[1-358]|8[1369]|9[0-38])|4(?:[28][1-9]|3[0-57]|[45]|6[248]|7[2-579]|9[29])|5(?:2|3[045]|4[0-369]|5[29]|8[02389]|9[0-389])|7(?:2[02-46-9]|34|[58]|6[0249]|7[57]|9[2-6])|8(?:2[124589]|3[27-9]|49|51|6|7[0-468]|8[68]|9[019])|9(?:[23][1-9]|4[15]|5[138]|6[1-3]|7[156]|8[189]|9[1-489])","1(?:1|5(?:4[018]|5[017])|77|88|9[69])|2(?:2(?:[127]|3[014-9])|3[0-269]|4[59]|5(?:[1-3]|5[0-69]|9[19])|62|7(?:[1-35]|8[0189])|8(?:[16]|3[0134]|9[0-5])|9(?:[028]|17))|4(?:2(?:[13-79]|8[014-6])|3[0-57]|[45]|6[248]|7[2-47]|8[1-9])|5(?:2|3[045]|4[0-369]|8[02389]|9[0-3])|7(?:2[02-46-9]|34|[58]|6[0249]|7[57]|9(?:[23]|4[0-59]|5[01569]|6[0167]))|8(?:2(?:[1258]|4[0-39]|9[0-2469])|49|51|6(?:[0-24]|36|5[0-3589]|72|9[01459])|7[0-468]|8[68])|9(?:[23][1-9]|4[15]|5[138]|6[1-3]|7[156]|8[189]|9(?:[1289]|3[34]|4[0178]))|(?:49|55|83)[29]|(?:264|837)[016-9]|2(?:57|93)[015-9]|(?:25[0468]|422|838)[01]|(?:47[59]|59[89]|8(?:6[68]|9))[019]","1(?:1|5(?:4[018]|5[017])|77|88|9[69])|2(?:2[127]|3[0-269]|4[59]|5(?:[1-3]|5[0-69]|9(?:17|99))|6(?:2|4[016-9])|7(?:[1-35]|8[0189])|8(?:[16]|3[0134]|9[0-5])|9(?:[028]|17))|4(?:2(?:[13-79]|8[014-6])|3[0-57]|[45]|6[248]|7[2-47]|9[29])|5(?:2|3[045]|4[0-369]|5[29]|8[02389]|9[0-3])|7(?:2[02-46-9]|34|[58]|6[0249]|7[57]|9(?:[23]|4[0-59]|5[01569]|6[0167]))|8(?:2(?:[1258]|4[0-39]|9[0169])|3(?:[29]|7(?:[017-9]|6[6-8]))|49|51|6(?:[0-24]|36[23]|5(?:[0-389]|5[23])|6(?:[01]|9[178])|72|9[0145])|7[0-468]|8[68])|9(?:4[15]|5[138]|7[156]|8[189]|9(?:[1289]|3(?:31|4[357])|4[0178]))|(?:8294|96)[1-3]|2(?:57|93)[015-9]|(?:223|8699)[014-9]|(?:25[0468]|422|838)[01]|(?:48|8292|9[23])[1-9]|(?:47[59]|59[89]|8(?:68|9))[019]","1(?:1|5(?:4[018]|5[017])|77|88|9[69])|2(?:2[127]|3[0-269]|4[59]|5(?:[1-3]|5[0-69]|7[015-9]|9(?:17|99))|6(?:2|4[016-9])|7(?:[1-35]|8[0189])|8(?:[16]|3[0134]|9[0-5])|9(?:[028]|17|3[015-9]))|4(?:2(?:[13-79]|8[014-6])|3[0-57]|[45]|6[248]|7[2-47]|9[29])|5(?:2|3[045]|4[0-369]|5[29]|8[02389]|9[0-3])|7(?:2[02-46-9]|34|[58]|6[0249]|7[57]|9(?:[23]|4[0-59]|5[01569]|6[0167]))|8(?:2(?:[1258]|4[0-39]|9(?:[019]|4[1-3]|6(?:[0-47-9]|5[01346-9])))|3(?:[29]|7(?:[017-9]|6[6-8]))|49|51|6(?:[0-24]|36[23]|5(?:[0-389]|5[23])|6(?:[01]|9[178])|72|9[0145])|7[0-468]|8[68])|9(?:4[15]|5[138]|6[1-3]|7[156]|8[189]|9(?:[1289]|3(?:31|4[357])|4[0178]))|(?:223|8699)[014-9]|(?:25[0468]|422|838)[01]|(?:48|829(?:2|66)|9[23])[1-9]|(?:47[59]|59[89]|8(?:68|9))[019]"],"0$1"],[,"(\\d{3})(\\d{2})(\\d{4})","$1-$2-$3",["[14]|[289][2-9]|5[3-9]|7[2-4679]"],"0$1"],[,"(\\d{4})(\\d{2})(\\d{3,4})","$1-$2-$3",["007","0077"]],[,"(\\d{4})(\\d{2})(\\d{4})","$1-$2-$3",["008"]],[,"(\\d{3})(\\d{3})(\\d{4})","$1-$2-$3",["800"],"0$1"],[,"(\\d{2})(\\d{4})(\\d{4})","$1-$2-$3",["[257-9]"],"0$1"],[,"(\\d{4})(\\d{3})(\\d{3,4})","$1-$2-$3",["0"]],[,"(\\d{4})(\\d{4})(\\d{4,5})","$1-$2-$3",["0"]],[,"(\\d{4})(\\d{5})(\\d{5,6})","$1-$2-$3",["0"]],[,"(\\d{4})(\\d{6})(\\d{6,7})","$1-$2-$3",["0"]]],[[,"(\\d{3})(\\d{3})(\\d{3})","$1-$2-$3",["(?:12|57|99)0"],"0$1"],[,"(\\d{4})(\\d)(\\d{4})","$1-$2-$3",["1(?:26|3[79]|4[56]|5[4-68]|6[3-5])|499|5(?:76|97)|746|8(?:3[89]|47|51|63)|9(?:80|9[16])","1(?:267|3(?:7[247]|9[278])|466|5(?:47|58|64)|6(?:3[245]|48|5[4-68]))|499[2468]|5(?:76|97)9|7468|8(?:3(?:8[7-9]|96)|477|51[2-9]|636)|9(?:802|9(?:1[23]|69))|1(?:45|58)[67]","1(?:267|3(?:7[247]|9[278])|466|5(?:47|58|64)|6(?:3[245]|48|5[4-68]))|499[2468]|5(?:769|979[2-69])|7468|8(?:3(?:8[7-9]|96[2457-9])|477|51[2-9]|636[457-9])|9(?:802|9(?:1[23]|69))|1(?:45|58)[67]"],"0$1"],[,"(\\d{2})(\\d{3})(\\d{4})","$1-$2-$3",["60"],"0$1"],[,"(\\d)(\\d{4})(\\d{4})","$1-$2-$3",["[36]|4(?:2[09]|7[01])","[36]|4(?:2(?:0|9[02-69])|7(?:0[019]|1))"],"0$1"],[,"(\\d{2})(\\d{3})(\\d{4})","$1-$2-$3",["1(?:1|5[45]|77|88|9[69])|2(?:2[1-37]|3[0-269]|4[59]|5|6[24]|7[1-358]|8[1369]|9[0-38])|4(?:[28][1-9]|3[0-57]|[45]|6[248]|7[2-579]|9[29])|5(?:2|3[045]|4[0-369]|5[29]|8[02389]|9[0-389])|7(?:2[02-46-9]|34|[58]|6[0249]|7[57]|9[2-6])|8(?:2[124589]|3[27-9]|49|51|6|7[0-468]|8[68]|9[019])|9(?:[23][1-9]|4[15]|5[138]|6[1-3]|7[156]|8[189]|9[1-489])","1(?:1|5(?:4[018]|5[017])|77|88|9[69])|2(?:2(?:[127]|3[014-9])|3[0-269]|4[59]|5(?:[1-3]|5[0-69]|9[19])|62|7(?:[1-35]|8[0189])|8(?:[16]|3[0134]|9[0-5])|9(?:[028]|17))|4(?:2(?:[13-79]|8[014-6])|3[0-57]|[45]|6[248]|7[2-47]|8[1-9])|5(?:2|3[045]|4[0-369]|8[02389]|9[0-3])|7(?:2[02-46-9]|34|[58]|6[0249]|7[57]|9(?:[23]|4[0-59]|5[01569]|6[0167]))|8(?:2(?:[1258]|4[0-39]|9[0-2469])|49|51|6(?:[0-24]|36|5[0-3589]|72|9[01459])|7[0-468]|8[68])|9(?:[23][1-9]|4[15]|5[138]|6[1-3]|7[156]|8[189]|9(?:[1289]|3[34]|4[0178]))|(?:49|55|83)[29]|(?:264|837)[016-9]|2(?:57|93)[015-9]|(?:25[0468]|422|838)[01]|(?:47[59]|59[89]|8(?:6[68]|9))[019]","1(?:1|5(?:4[018]|5[017])|77|88|9[69])|2(?:2[127]|3[0-269]|4[59]|5(?:[1-3]|5[0-69]|9(?:17|99))|6(?:2|4[016-9])|7(?:[1-35]|8[0189])|8(?:[16]|3[0134]|9[0-5])|9(?:[028]|17))|4(?:2(?:[13-79]|8[014-6])|3[0-57]|[45]|6[248]|7[2-47]|9[29])|5(?:2|3[045]|4[0-369]|5[29]|8[02389]|9[0-3])|7(?:2[02-46-9]|34|[58]|6[0249]|7[57]|9(?:[23]|4[0-59]|5[01569]|6[0167]))|8(?:2(?:[1258]|4[0-39]|9[0169])|3(?:[29]|7(?:[017-9]|6[6-8]))|49|51|6(?:[0-24]|36[23]|5(?:[0-389]|5[23])|6(?:[01]|9[178])|72|9[0145])|7[0-468]|8[68])|9(?:4[15]|5[138]|7[156]|8[189]|9(?:[1289]|3(?:31|4[357])|4[0178]))|(?:8294|96)[1-3]|2(?:57|93)[015-9]|(?:223|8699)[014-9]|(?:25[0468]|422|838)[01]|(?:48|8292|9[23])[1-9]|(?:47[59]|59[89]|8(?:68|9))[019]","1(?:1|5(?:4[018]|5[017])|77|88|9[69])|2(?:2[127]|3[0-269]|4[59]|5(?:[1-3]|5[0-69]|7[015-9]|9(?:17|99))|6(?:2|4[016-9])|7(?:[1-35]|8[0189])|8(?:[16]|3[0134]|9[0-5])|9(?:[028]|17|3[015-9]))|4(?:2(?:[13-79]|8[014-6])|3[0-57]|[45]|6[248]|7[2-47]|9[29])|5(?:2|3[045]|4[0-369]|5[29]|8[02389]|9[0-3])|7(?:2[02-46-9]|34|[58]|6[0249]|7[57]|9(?:[23]|4[0-59]|5[01569]|6[0167]))|8(?:2(?:[1258]|4[0-39]|9(?:[019]|4[1-3]|6(?:[0-47-9]|5[01346-9])))|3(?:[29]|7(?:[017-9]|6[6-8]))|49|51|6(?:[0-24]|36[23]|5(?:[0-389]|5[23])|6(?:[01]|9[178])|72|9[0145])|7[0-468]|8[68])|9(?:4[15]|5[138]|6[1-3]|7[156]|8[189]|9(?:[1289]|3(?:31|4[357])|4[0178]))|(?:223|8699)[014-9]|(?:25[0468]|422|838)[01]|(?:48|829(?:2|66)|9[23])[1-9]|(?:47[59]|59[89]|8(?:68|9))[019]"],"0$1"],[,"(\\d{3})(\\d{2})(\\d{4})","$1-$2-$3",["[14]|[289][2-9]|5[3-9]|7[2-4679]"],"0$1"],[,"(\\d{3})(\\d{3})(\\d{4})","$1-$2-$3",["800"],"0$1"],[,"(\\d{2})(\\d{4})(\\d{4})","$1-$2-$3",["[257-9]"],"0$1"]],[,,"20\\d{8}",,,,"2012345678",,,[10]],,,[,,"00(?:777(?:[01]|(?:5|8\\d)\\d)|882[1245]\\d\\d)\\d\\d|00(?:37|66|78)\\d{6,13}"],[,,"570\\d{6}",,,,"570123456",,,[9]],,,[,,,,,,,,,[-1]]],KE:[,[,,"(?:[17]\\d\\d|900)\\d{6}|(?:2|80)0\\d{6,7}|[4-6]\\d{6,8}",,,,,,,[7,8,9,10]],[,,"(?:4[245]|5[1-79]|6[01457-9])\\d{5,7}|(?:4[136]|5[08]|62)\\d{7}|(?:[24]0|66)\\d{6,7}",,,,"202012345",,,[7,8,9]],[,,"(?:1(?:0[0-6]|1[0-5]|2[014]|30)|7\\d\\d)\\d{6}",,,,"712123456",,,[9]],[,,"800[2-8]\\d{5,6}",,,,"800223456",,,[9,10]],[,,"900[02-9]\\d{5}",,,,"900223456",,,[9]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"KE",254,"000","0",,,"0",,,,[[,"(\\d{2})(\\d{5,7})","$1 $2",["[24-6]"],"0$1"],[,"(\\d{3})(\\d{6})","$1 $2",["[17]"],"0$1"],[,"(\\d{3})(\\d{3})(\\d{3,4})","$1 $2 $3",["[89]"],"0$1"]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],KG:[,[,,"8\\d{9}|(?:[235-8]\\d|99)\\d{7}",,,,,,,[9,10],[5,6]],[,,"312(?:5[0-79]\\d|9(?:[0-689]\\d|7[0-24-9]))\\d{3}|(?:3(?:1(?:2[0-46-8]|3[1-9]|47|[56]\\d)|2(?:22|3[0-479]|6[0-7])|4(?:22|5[6-9]|6\\d)|5(?:22|3[4-7]|59|6\\d)|6(?:22|5[35-7]|6\\d)|7(?:22|3[468]|4[1-9]|59|[67]\\d)|9(?:22|4[1-8]|6\\d))|6(?:09|12|2[2-4])\\d)\\d{5}",,,,"312123456",,,[9],[5,6]],[,,"312(?:58\\d|973)\\d{3}|(?:2(?:0[0-35]|2\\d)|5[0-24-7]\\d|600|7(?:[07]\\d|55)|88[08]|99[05-9])\\d{6}",,,,"700123456",,,[9]],[,,"800\\d{6,7}",,,,"800123456"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"KG",996,"00","0",,,"0",,,,[[,"(\\d{4})(\\d{5})","$1 $2",["3(?:1[346]|[24-79])"],"0$1"],[,"(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[235-79]|88"],"0$1"],[,"(\\d{3})(\\d{3})(\\d)(\\d{2,3})","$1 $2 $3 $4",["8"],"0$1"]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],KH:[,[,,"1\\d{9}|[1-9]\\d{7,8}",,,,,,,[8,9,10],[6,7]],[,,"23(?:4(?:[2-4]|[56]\\d)|[568]\\d\\d)\\d{4}|23[236-9]\\d{5}|(?:2[4-6]|3[2-6]|4[2-4]|[5-7][2-5])(?:(?:[237-9]|4[56]|5\\d)\\d{5}|6\\d{5,6})",,,,"23756789",,,[8,9],[6,7]],[,,"(?:(?:1[28]|3[18]|9[67])\\d|6[016-9]|7(?:[07-9]|[16]\\d)|8(?:[013-79]|8\\d))\\d{6}|(?:1\\d|9[0-57-9])\\d{6}|(?:2[3-6]|3[2-6]|4[2-4]|[5-7][2-5])48\\d{5}",,,,"91234567",,,[8,9]],[,,"1800(?:1\\d|2[019])\\d{4}",,,,"1800123456",,,[10]],[,,"1900(?:1\\d|2[09])\\d{4}",,,,"1900123456",,,[10]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"KH",855,"00[14-9]","0",,,"0",,,,[[,"(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["[1-9]"],"0$1"],[,"(\\d{4})(\\d{3})(\\d{3})","$1 $2 $3",["1"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],KI:[,[,,"(?:[37]\\d|6[0-79])\\d{6}|(?:[2-48]\\d|50)\\d{3}",,,,,,,[5,8]],[,,"(?:[24]\\d|3[1-9]|50|65(?:02[12]|12[56]|22[89]|[3-5]00)|7(?:27\\d\\d|3100|5(?:02[12]|12[56]|22[89]|[34](?:00|81)|500))|8[0-5])\\d{3}",,,,"31234"],[,,"(?:63\\d{3}|73(?:0[0-5]\\d|140))\\d{3}|[67]200[01]\\d{3}",,,,"72001234",,,[8]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,"30(?:0[01]\\d\\d|12(?:11|20))\\d\\d",,,,"30010000",,,[8]],"KI",686,"00","0",,,"0",,,,,,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],KM:[,[,,"[3478]\\d{6}",,,,,,,[7],[4]],[,,"7[4-7]\\d{5}",,,,"7712345",,,,[4]],[,,"[34]\\d{6}",,,,"3212345"],[,,,,,,,,,[-1]],[,,"8\\d{6}",,,,"8001234"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"KM",269,"00",,,,,,,,[[,"(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3",["[3478]"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],KN:[,[,,"(?:[58]\\d\\d|900)\\d{7}",,,,,,,[10],[7]],[,,"869(?:2(?:29|36)|302|4(?:6[015-9]|70)|56[5-7])\\d{4}",,,,"8692361234",,,,[7]],[,,"869(?:48[89]|55[6-8]|66\\d|76[02-7])\\d{4}",,,,"8697652917",,,,[7]],[,,"8(?:00|33|44|55|66|77|88)[2-9]\\d{6}",,,,"8002123456"],[,,"900[2-9]\\d{6}",,,,"9002123456"],[,,,,,,,,,[-1]],[,,"52(?:3(?:[2-46-9][02-9]\\d|5(?:[02-46-9]\\d|5[0-46-9]))|4(?:[2-478][02-9]\\d|5(?:[034]\\d|2[024-9]|5[0-46-9])|6(?:0[1-9]|[2-9]\\d)|9(?:[05-9]\\d|2[0-5]|49)))\\d{4}|52[34][2-9]1[02-9]\\d{4}|5(?:00|2[125-9]|33|44|66|77|88)[2-9]\\d{6}",,,,"5002345678"],[,,,,,,,,,[-1]],"KN",1,"011","1",,,"([2-7]\\d{6})$|1","869$1",,,,,[,,,,,,,,,[-1]],,"869",[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],KP:[,[,,"85\\d{6}|(?:19\\d|[2-7])\\d{7}",,,,,,,[8,10],[6,7]],[,,"(?:(?:195|2)\\d|3[19]|4[159]|5[37]|6[17]|7[39]|85)\\d{6}",,,,"21234567",,,,[6,7]],[,,"19[1-3]\\d{7}",,,,"1921234567",,,[10]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"KP",850,"00|99","0",,,"0",,,,[[,"(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["8"],"0$1"],[,"(\\d)(\\d{3})(\\d{4})","$1 $2 $3",["[2-7]"],"0$1"],[,"(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["1"],"0$1"]],,[,,,,,,,,,[-1]],,,[,,"238[02-9]\\d{4}|2(?:[0-24-9]\\d|3[0-79])\\d{5}",,,,,,,[8]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],KR:[,[,,"00[1-9]\\d{8,11}|(?:[12]|5\\d{3})\\d{7}|[13-6]\\d{9}|(?:[1-6]\\d|80)\\d{7}|[3-6]\\d{4,5}|(?:00|7)0\\d{8}",,,,,,,[5,6,8,9,10,11,12,13,14],[3,4,7]],[,,"(?:2|3[1-3]|[46][1-4]|5[1-5])[1-9]\\d{6,7}|(?:3[1-3]|[46][1-4]|5[1-5])1\\d{2,3}",,,,"22123456",,,[5,6,8,9,10],[3,4,7]],[,,"1(?:05(?:[0-8]\\d|9[0-6])|22[13]\\d)\\d{4,5}|1(?:0[1-46-9]|[16-9]\\d|2[013-9])\\d{6,7}",,,,"1020000000",,,[9,10]],[,,"00(?:308\\d{6,7}|798\\d{7,9})|(?:00368|80)\\d{7}",,,,"801234567",,,[9,11,12,13,14]],[,,"60[2-9]\\d{6}",,,,"602345678",,,[9]],[,,,,,,,,,[-1]],[,,"50\\d{8,9}",,,,"5012345678",,,[10,11]],[,,"70\\d{8}",,,,"7012345678",,,[10]],"KR",82,"00(?:[125689]|3(?:[46]5|91)|7(?:00|27|3|55|6[126]))","0",,,"0(8(?:[1-46-8]|5\\d\\d))?",,,,[[,"(\\d{5})","$1",["1[016-9]1","1[016-9]11","1[016-9]114"],"0$1"],[,"(\\d{2})(\\d{3,4})","$1-$2",["(?:3[1-3]|[46][1-4]|5[1-5])1"],"0$1","0$CC-$1"],[,"(\\d{4})(\\d{4})","$1-$2",["1"]],[,"(\\d)(\\d{3,4})(\\d{4})","$1-$2-$3",["2"],"0$1","0$CC-$1"],[,"(\\d{2})(\\d{3})(\\d{4})","$1-$2-$3",["60|8"],"0$1","0$CC-$1"],[,"(\\d{2})(\\d{3,4})(\\d{4})","$1-$2-$3",["[1346]|5[1-5]"],"0$1","0$CC-$1"],[,"(\\d{2})(\\d{4})(\\d{4})","$1-$2-$3",["[57]"],"0$1","0$CC-$1"],[,"(\\d{5})(\\d{3})(\\d{3})","$1 $2 $3",["003","0030"]],[,"(\\d{2})(\\d{5})(\\d{4})","$1-$2-$3",["5"],"0$1","0$CC-$1"],[,"(\\d{5})(\\d{3,4})(\\d{4})","$1 $2 $3",["0"]],[,"(\\d{5})(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3 $4",["0"]]],[[,"(\\d{2})(\\d{3,4})","$1-$2",["(?:3[1-3]|[46][1-4]|5[1-5])1"],"0$1","0$CC-$1"],[,"(\\d{4})(\\d{4})","$1-$2",["1"]],[,"(\\d)(\\d{3,4})(\\d{4})","$1-$2-$3",["2"],"0$1","0$CC-$1"],[,"(\\d{2})(\\d{3})(\\d{4})","$1-$2-$3",["60|8"],"0$1","0$CC-$1"],[,"(\\d{2})(\\d{3,4})(\\d{4})","$1-$2-$3",["[1346]|5[1-5]"],"0$1","0$CC-$1"],[,"(\\d{2})(\\d{4})(\\d{4})","$1-$2-$3",["[57]"],"0$1","0$CC-$1"],[,"(\\d{2})(\\d{5})(\\d{4})","$1-$2-$3",["5"],"0$1","0$CC-$1"]],[,,"15\\d{7,8}",,,,"1523456789",,,[9,10]],,,[,,"00(?:3(?:08\\d{6,7}|68\\d{7})|798\\d{7,9})",,,,,,,[11,12,13,14]],[,,"1(?:5(?:22|33|44|66|77|88|99)|6(?:[07]0|44|6[168]|88)|8(?:00|33|55|77|99))\\d{4}",,,,"15441234",,,[8]],,,[,,,,,,,,,[-1]]],KW:[,[,,"18\\d{5}|(?:[2569]\\d|41)\\d{6}",,,,,,,[7,8]],[,,"2(?:[23]\\d\\d|4(?:[1-35-9]\\d|44)|5(?:0[034]|[2-46]\\d|5[1-3]|7[1-7]))\\d{4}",,,,"22345678",,,[8]],[,,"(?:41\\d\\d|5(?:(?:[05]\\d|1[0-7]|6[56])\\d|2(?:22|5[25])|7(?:55|77)|88[58])|6(?:(?:0[034679]|5[015-9]|6\\d)\\d|1(?:00|11|66)|222|3[36]3|444|7(?:0[013-9]|[67]\\d)|888|9(?:[069]\\d|3[039]))|9(?:(?:0[09]|22|[4679]\\d|8[057-9])\\d|1(?:1[01]|99)|3(?:00|33)|5(?:00|5\\d)))\\d{4}",,,,"50012345",,,[8]],[,,"18\\d{5}",,,,"1801234",,,[7]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"KW",965,"00",,,,,,,,[[,"(\\d{4})(\\d{3,4})","$1 $2",["[169]|2(?:[235]|4[1-35-9])|52"]],[,"(\\d{3})(\\d{5})","$1 $2",["[245]"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],KY:[,[,,"(?:345|[58]\\d\\d|900)\\d{7}",,,,,,,[10],[7]],[,,"345(?:2(?:22|3[23]|44|66)|333|444|6(?:23|38|40)|7(?:30|4[35-79]|6[6-9]|77)|8(?:00|1[45]|[48]8)|9(?:14|4[035-9]))\\d{4}",,,,"3452221234",,,,[7]],[,,"345(?:32[1-9]|42[0-4]|5(?:1[67]|2[5-79]|4[6-9]|50|76)|649|82[56]|9(?:1[679]|2[2-9]|3[06-9]|90))\\d{4}",,,,"3453231234",,,,[7]],[,,"8(?:00|33|44|55|66|77|88)[2-9]\\d{6}",,,,"8002345678"],[,,"(?:345976|900[2-9]\\d\\d)\\d{4}",,,,"9002345678"],[,,,,,,,,,[-1]],[,,"52(?:3(?:[2-46-9][02-9]\\d|5(?:[02-46-9]\\d|5[0-46-9]))|4(?:[2-478][02-9]\\d|5(?:[034]\\d|2[024-9]|5[0-46-9])|6(?:0[1-9]|[2-9]\\d)|9(?:[05-9]\\d|2[0-5]|49)))\\d{4}|52[34][2-9]1[02-9]\\d{4}|5(?:00|2[125-9]|33|44|66|77|88)[2-9]\\d{6}",,,,"5002345678"],[,,,,,,,,,[-1]],"KY",1,"011","1",,,"([2-9]\\d{6})$|1","345$1",,,,,[,,"345849\\d{4}",,,,"3458491234"],,"345",[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],KZ:[,[,,"(?:33622|8\\d{8})\\d{5}|[78]\\d{9}",,,,,,,[10,14],[5,6,7]],[,,"(?:33622|7(?:1(?:0(?:[23]\\d|4[0-3]|59|63)|1(?:[23]\\d|4[0-79]|59)|2(?:[23]\\d|59)|3(?:2\\d|3[0-79]|4[0-35-9]|59)|4(?:[24]\\d|3[013-9]|5[1-9]|97)|5(?:2\\d|3[1-9]|4[0-7]|59)|6(?:[2-4]\\d|5[19]|61)|72\\d|8(?:[27]\\d|3[1-46-9]|4[0-5]|59))|2(?:1(?:[23]\\d|4[46-9]|5[3469])|2(?:2\\d|3[0679]|46|5[12679])|3(?:[2-4]\\d|5[139])|4(?:2\\d|3[1-35-9]|59)|5(?:[23]\\d|4[0-8]|59|61)|6(?:2\\d|3[1-9]|4[0-4]|59)|7(?:[2379]\\d|40|5[279])|8(?:[23]\\d|4[0-3]|59)|9(?:2\\d|3[124578]|59))))\\d{5}",,,,"7123456789",,,[10],[5,6,7]],[,,"7(?:0[0-25-8]|47|6[0-4]|7[15-8]|85)\\d{7}",,,,"7710009998",,,[10]],[,,"8(?:00|108\\d{3})\\d{7}",,,,"8001234567"],[,,"809\\d{7}",,,,"8091234567",,,[10]],[,,,,,,,,,[-1]],[,,"808\\d{7}",,,,"8081234567",,,[10]],[,,"751\\d{7}",,,,"7511234567",,,[10]],"KZ",7,"810","8",,,"8",,"8~10",,,,[,,,,,,,,,[-1]],,"33|7",[,,"751\\d{7}",,,,,,,[10]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],LA:[,[,,"[23]\\d{9}|3\\d{8}|(?:[235-8]\\d|41)\\d{6}",,,,,,,[8,9,10],[6]],[,,"(?:2[13]|[35-7][14]|41|8[1468])\\d{6}",,,,"21212862",,,[8],[6]],[,,"(?:20(?:[2359]\\d|7[6-8]|88)|302\\d)\\d{6}",,,,"2023123456",,,[10]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"LA",856,"00","0",,,"0",,,,[[,"(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["2[13]|3[14]|[4-8]"],"0$1"],[,"(\\d{2})(\\d{2})(\\d{2})(\\d{3})","$1 $2 $3 $4",["30[013-9]"],"0$1"],[,"(\\d{2})(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3 $4",["[23]"],"0$1"]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,"30[013-9]\\d{6}",,,,"301234567",,,[9]],,,[,,,,,,,,,[-1]]],LB:[,[,,"[27-9]\\d{7}|[13-9]\\d{6}",,,,,,,[7,8]],[,,"7(?:62|8[0-7]|9[04-9])\\d{4}|(?:[14-69]\\d|2(?:[14-69]\\d|[78][1-9])|7[2-57]|8[02-9])\\d{5}",,,,"1123456"],[,,"793(?:[01]\\d|2[0-4])\\d{3}|(?:(?:3|81)\\d|7(?:[01]\\d|6[013-9]|8[89]|9[12]))\\d{5}",,,,"71123456"],[,,,,,,,,,[-1]],[,,"9[01]\\d{6}",,,,"90123456",,,[8]],[,,"80\\d{6}",,,,"80123456",,,[8]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"LB",961,"00","0",,,"0",,,,[[,"(\\d)(\\d{3})(\\d{3})","$1 $2 $3",["[13-69]|7(?:[2-57]|62|8[0-7]|9[04-9])|8[02-9]"],"0$1"],[,"(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["[27-9]"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],LC:[,[,,"(?:[58]\\d\\d|758|900)\\d{7}",,,,,,,[10],[7]],[,,"758(?:234|4(?:30|5\\d|6[2-9]|8[0-2])|57[0-2]|(?:63|75)8)\\d{4}",,,,"7584305678",,,,[7]],[,,"758(?:28[4-7]|384|4(?:6[01]|8[4-9])|5(?:1[89]|20|84)|7(?:1[2-9]|2\\d|3[0-3])|812)\\d{4}",,,,"7582845678",,,,[7]],[,,"8(?:00|33|44|55|66|77|88)[2-9]\\d{6}",,,,"8002123456"],[,,"900[2-9]\\d{6}",,,,"9002123456"],[,,,,,,,,,[-1]],[,,"52(?:3(?:[2-46-9][02-9]\\d|5(?:[02-46-9]\\d|5[0-46-9]))|4(?:[2-478][02-9]\\d|5(?:[034]\\d|2[024-9]|5[0-46-9])|6(?:0[1-9]|[2-9]\\d)|9(?:[05-9]\\d|2[0-5]|49)))\\d{4}|52[34][2-9]1[02-9]\\d{4}|5(?:00|2[125-9]|33|44|66|77|88)[2-9]\\d{6}",,,,"5002345678"],[,,,,,,,,,[-1]],"LC",1,"011","1",,,"([2-8]\\d{6})$|1","758$1",,,,,[,,,,,,,,,[-1]],,"758",[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],LI:[,[,,"[68]\\d{8}|(?:[2378]\\d|90)\\d{5}",,,,,,,[7,9]],[,,"(?:2(?:01|1[27]|2[02]|3\\d|6[02-578]|96)|3(?:[24]0|33|7[0135-7]|8[048]|9[0269]))\\d{4}",,,,"2345678",,,[7]],[,,"(?:6(?:(?:4[5-9]|5[0-4])\\d|6(?:[0245]\\d|[17]0|3[7-9]))\\d|7(?:[37-9]\\d|42|56))\\d{4}",,,,"660234567"],[,,"8002[28]\\d\\d|80(?:05\\d|9)\\d{4}",,,,"8002222"],[,,"90(?:02[258]|1(?:23|3[14])|66[136])\\d\\d",,,,"9002222",,,[7]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"LI",423,"00","0",,,"(1001)|0",,,,[[,"(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3",["[2379]|8(?:0[09]|7)","[2379]|8(?:0(?:02|9)|7)"],,"$CC $1"],[,"(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["8"]],[,"(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["69"],,"$CC $1"],[,"(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["6"],,"$CC $1"]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,"870(?:28|87)\\d\\d",,,,"8702812",,,[7]],,,[,,"697(?:42|56|[78]\\d)\\d{4}",,,,"697861234",,,[9]]],LK:[,[,,"[1-9]\\d{8}",,,,,,,[9],[7]],[,,"(?:12[2-9]|602|8[12]\\d|9(?:1\\d|22|9[245]))\\d{6}|(?:11|2[13-7]|3[1-8]|4[157]|5[12457]|6[35-7])[2-57]\\d{6}",,,,"112345678",,,,[7]],[,,"7(?:[0-25-8]\\d|4[0-4])\\d{6}",,,,"712345678"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"LK",94,"00","0",,,"0",,,,[[,"(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["7"],"0$1"],[,"(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[1-689]"],"0$1"]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,"1973\\d{5}",,,,"197312345"],,,[,,,,,,,,,[-1]]],LR:[,[,,"(?:[25]\\d|33|77|88)\\d{7}|(?:2\\d|[4-6])\\d{6}",,,,,,,[7,8,9]],[,,"(?:2\\d{3}|33333)\\d{4}",,,,"21234567",,,[8,9]],[,,"(?:(?:(?:22|33)0|555|(?:77|88)\\d)\\d|4[67])\\d{5}|[56]\\d{6}",,,,"770123456",,,[7,9]],[,,,,,,,,,[-1]],[,,"332(?:02|[34]\\d)\\d{4}",,,,"332021234",,,[9]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"LR",231,"00","0",,,"0",,,,[[,"(\\d)(\\d{3})(\\d{3})","$1 $2 $3",["[4-6]"],"0$1"],[,"(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["2"],"0$1"],[,"(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["[23578]"],"0$1"]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],LS:[,[,,"(?:[256]\\d\\d|800)\\d{5}",,,,,,,[8]],[,,"2\\d{7}",,,,"22123456"],[,,"[56]\\d{7}",,,,"50123456"],[,,"800[256]\\d{4}",,,,"80021234"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"LS",266,"00",,,,,,,,[[,"(\\d{4})(\\d{4})","$1 $2",["[2568]"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],LT:[,[,,"(?:[3469]\\d|52|[78]0)\\d{6}",,,,,,,[8]],[,,"(?:3[1478]|4[124-6]|52)\\d{6}",,,,"31234567"],[,,"6\\d{7}",,,,"61234567"],[,,"80[02]\\d{5}",,,,"80012345"],[,,"9(?:0[0239]|10)\\d{5}",,,,"90012345"],[,,"808\\d{5}",,,,"80812345"],[,,"70[05]\\d{5}",,,,"70012345"],[,,"[89]01\\d{5}",,,,"80123456"],"LT",370,"00","8",,,"[08]",,,,[[,"(\\d)(\\d{3})(\\d{4})","$1 $2 $3",["52[0-7]"],"(8-$1)",,1],[,"(\\d{3})(\\d{2})(\\d{3})","$1 $2 $3",["[7-9]"],"8 $1",,1],[,"(\\d{2})(\\d{6})","$1 $2",["37|4(?:[15]|6[1-8])"],"(8-$1)",,1],[,"(\\d{3})(\\d{5})","$1 $2",["[3-6]"],"(8-$1)",,1]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,"70[67]\\d{5}",,,,"70712345"],,,[,,,,,,,,,[-1]]],LU:[,[,,"35[013-9]\\d{4,8}|6\\d{8}|35\\d{2,4}|(?:[2457-9]\\d|3[0-46-9])\\d{2,9}",,,,,,,[4,5,6,7,8,9,10,11]],[,,"(?:35[013-9]|80[2-9]|90[89])\\d{1,8}|(?:2[2-9]|3[0-46-9]|[457]\\d|8[13-9]|9[2-579])\\d{2,9}",,,,"27123456"],[,,"6(?:[269][18]|5[1568]|7[189]|81)\\d{6}",,,,"628123456",,,[9]],[,,"800\\d{5}",,,,"80012345",,,[8]],[,,"90[015]\\d{5}",,,,"90012345",,,[8]],[,,"801\\d{5}",,,,"80112345",,,[8]],[,,,,,,,,,[-1]],[,,"20(?:1\\d{5}|[2-689]\\d{1,7})",,,,"20201234",,,[4,5,6,7,8,9,10]],"LU",352,"00",,,,"(15(?:0[06]|1[12]|[35]5|4[04]|6[26]|77|88|99)\\d)",,,,[[,"(\\d{2})(\\d{3})","$1 $2",["2(?:0[2-689]|[2-9])|[3-57]|8(?:0[2-9]|[13-9])|9(?:0[89]|[2-579])"],,"$CC $1"],[,"(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3",["2(?:0[2-689]|[2-9])|[3-57]|8(?:0[2-9]|[13-9])|9(?:0[89]|[2-579])"],,"$CC $1"],[,"(\\d{2})(\\d{2})(\\d{3})","$1 $2 $3",["20[2-689]"],,"$CC $1"],[,"(\\d{2})(\\d{2})(\\d{2})(\\d{1,2})","$1 $2 $3 $4",["2(?:[0367]|4[3-8])"],,"$CC $1"],[,"(\\d{3})(\\d{2})(\\d{3})","$1 $2 $3",["80[01]|90[015]"],,"$CC $1"],[,"(\\d{2})(\\d{2})(\\d{2})(\\d{3})","$1 $2 $3 $4",["20"],,"$CC $1"],[,"(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["6"],,"$CC $1"],[,"(\\d{2})(\\d{2})(\\d{2})(\\d{2})(\\d{1,2})","$1 $2 $3 $4 $5",["2(?:[0367]|4[3-8])"],,"$CC $1"],[,"(\\d{2})(\\d{2})(\\d{2})(\\d{1,5})","$1 $2 $3 $4",["[3-57]|8[13-9]|9(?:0[89]|[2-579])|(?:2|80)[2-9]"],,"$CC $1"]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],LV:[,[,,"(?:[268]\\d|90)\\d{6}",,,,,,,[8]],[,,"6\\d{7}",,,,"63123456"],[,,"23(?:23[0-57-9]|33[0238])\\d{3}|2(?:[0-24-9]\\d\\d|3(?:0[07]|[14-9]\\d|2[024-9]|3[0-24-9]))\\d{4}",,,,"21234567"],[,,"80\\d{6}",,,,"80123456"],[,,"90\\d{6}",,,,"90123456"],[,,"81\\d{6}",,,,"81123456"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"LV",371,"00",,,,,,,,[[,"(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["[269]|8[01]"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],LY:[,[,,"[2-9]\\d{8}",,,,,,,[9],[7]],[,,"(?:2(?:0[56]|[1-6]\\d|7[124579]|8[124])|3(?:1\\d|2[2356])|4(?:[17]\\d|2[1-357]|5[2-4]|8[124])|5(?:[1347]\\d|2[1-469]|5[13-5]|8[1-4])|6(?:[1-479]\\d|5[2-57]|8[1-5])|7(?:[13]\\d|2[13-79])|8(?:[124]\\d|5[124]|84))\\d{6}",,,,"212345678",,,,[7]],[,,"9[1-6]\\d{7}",,,,"912345678"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"LY",218,"00","0",,,"0",,,,[[,"(\\d{2})(\\d{7})","$1-$2",["[2-9]"],"0$1"]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],MA:[,[,,"[5-8]\\d{8}",,,,,,,[9]],[,,"5293[01]\\d{4}|5(?:2(?:[0-25-7]\\d|3[1-578]|4[02-46-8]|8[0235-7]|9[0-289])|3(?:[0-47]\\d|5[02-9]|6[02-8]|8[0189]|9[3-9])|(?:4[067]|5[03])\\d)\\d{5}",,,,"520123456"],[,,"(?:6(?:[0-79]\\d|8[0-247-9])|7(?:[017]\\d|2[0-2]|6[0-8]|8[0-3]))\\d{6}",,,,"650123456"],[,,"80\\d{7}",,,,"801234567"],[,,"89\\d{7}",,,,"891234567"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,"592(?:4[0-2]|93)\\d{4}",,,,"592401234"],"MA",212,"00","0",,,"0",,,,[[,"(\\d{5})(\\d{4})","$1-$2",["5(?:29|38)","5(?:29[1289]|389)","529(?:1[1-46-9]|2[013-8]|90)|5(?:298|389)[0-46-9]"],"0$1"],[,"(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["5[45]"],"0$1"],[,"(\\d{4})(\\d{5})","$1-$2",["5(?:2[2-489]|3[5-9]|9)|892","5(?:2(?:[2-49]|8[235-9])|3[5-9]|9)|892"],"0$1"],[,"(\\d{2})(\\d{7})","$1-$2",["8"],"0$1"],[,"(\\d{3})(\\d{6})","$1-$2",["[5-7]"],"0$1"]],,[,,,,,,,,,[-1]],1,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],MC:[,[,,"(?:[3489]|6\\d)\\d{7}",,,,,,,[8,9]],[,,"(?:870|9[2-47-9]\\d)\\d{5}",,,,"99123456",,,[8]],[,,"4(?:[46]\\d|5[1-9])\\d{5}|(?:3|6\\d)\\d{7}",,,,"612345678"],[,,"(?:800|90\\d)\\d{5}",,,,"90123456",,,[8]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"MC",377,"00","0",,,"0",,,,[[,"(\\d{3})(\\d{3})(\\d{2})","$1 $2 $3",["87"]],[,"(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["4"],"0$1"],[,"(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[389]"]],[,"(\\d)(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4 $5",["6"],"0$1"]],[[,"(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["4"],"0$1"],[,"(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[389]"]],[,"(\\d)(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4 $5",["6"],"0$1"]],[,,,,,,,,,[-1]],,,[,,"8[07]0\\d{5}",,,,,,,[8]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],MD:[,[,,"(?:[235-7]\\d|[89]0)\\d{6}",,,,,,,[8]],[,,"(?:(?:2[1-9]|3[1-79])\\d|5(?:33|5[257]))\\d{5}",,,,"22212345"],[,,"562\\d{5}|(?:6\\d|7[16-9])\\d{6}",,,,"62112345"],[,,"800\\d{5}",,,,"80012345"],[,,"90[056]\\d{5}",,,,"90012345"],[,,"808\\d{5}",,,,"80812345"],[,,,,,,,,,[-1]],[,,"3[08]\\d{6}",,,,"30123456"],"MD",373,"00","0",,,"0",,,,[[,"(\\d{3})(\\d{5})","$1 $2",["[89]"],"0$1"],[,"(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["22|3"],"0$1"],[,"(\\d{3})(\\d{2})(\\d{3})","$1 $2 $3",["[25-7]"],"0$1"]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,"803\\d{5}",,,,"80312345"],,,[,,,,,,,,,[-1]]],ME:[,[,,"(?:20|[3-79]\\d)\\d{6}|80\\d{6,7}",,,,,,,[8,9],[6]],[,,"(?:20[2-8]|3(?:[0-2][2-7]|3[24-7])|4(?:0[2-467]|1[2467])|5(?:0[2467]|1[24-7]|2[2-467]))\\d{5}",,,,"30234567",,,[8],[6]],[,,"6(?:[07-9]\\d|3[024]|6[0-25])\\d{5}",,,,"67622901",,,[8]],[,,"80(?:[0-2578]|9\\d)\\d{5}",,,,"80080002"],[,,"9(?:4[1568]|5[178])\\d{5}",,,,"94515151",,,[8]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,"78[1-49]\\d{5}",,,,"78108780",,,[8]],"ME",382,"00","0",,,"0",,,,[[,"(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["[2-9]"],"0$1"]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,"77[1-9]\\d{5}",,,,"77273012",,,[8]],,,[,,,,,,,,,[-1]]],MF:[,[,,"(?:590|(?:69|80)\\d|976)\\d{6}",,,,,,,[9]],[,,"590(?:0[079]|[14]3|[27][79]|30|5[0-268]|87)\\d{4}",,,,"590271234"],[,,"69(?:0\\d\\d|1(?:2[2-9]|3[0-5]))\\d{4}",,,,"690001234"],[,,"80[0-5]\\d{6}",,,,"800012345"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,"976[01]\\d{5}",,,,"976012345"],"MF",590,"00","0",,,"0",,,,,,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],MG:[,[,,"[23]\\d{8}",,,,,,,[9],[7]],[,,"2072[29]\\d{4}|20(?:2\\d|4[47]|5[3467]|6[279]|7[35]|8[268]|9[245])\\d{5}",,,,"202123456",,,,[7]],[,,"3[2-47-9]\\d{7}",,,,"321234567"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,"22\\d{7}",,,,"221234567"],"MG",261,"00","0",,,"([24-9]\\d{6})$|0","20$1",,,[[,"(\\d{2})(\\d{2})(\\d{3})(\\d{2})","$1 $2 $3 $4",["[23]"],"0$1"]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],MH:[,[,,"329\\d{4}|(?:[256]\\d|45)\\d{5}",,,,,,,[7]],[,,"(?:247|528|625)\\d{4}",,,,"2471234"],[,,"(?:(?:23|54)5|329|45[356])\\d{4}",,,,"2351234"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,"635\\d{4}",,,,"6351234"],"MH",692,"011","1",,,"1",,,,[[,"(\\d{3})(\\d{4})","$1-$2",["[2-6]"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],MK:[,[,,"[2-578]\\d{7}",,,,,,,[8],[6,7]],[,,"(?:(?:2(?:62|77)0|3444)\\d|4[56]440)\\d{3}|(?:34|4[357])700\\d{3}|(?:2(?:[0-3]\\d|5[0-578]|6[01]|82)|3(?:1[3-68]|[23][2-68]|4[23568])|4(?:[23][2-68]|4[3-68]|5[2568]|6[25-8]|7[24-68]|8[4-68]))\\d{5}",,,,"22012345",,,,[6,7]],[,,"7(?:3555|(?:474|9[019]7)7)\\d{3}|7(?:[0-25-8]\\d\\d|3(?:[1-48]\\d|7[01578])|4(?:2\\d|60|7[01578])|9(?:[2-4]\\d|5[01]|7[015]))\\d{4}",,,,"72345678"],[,,"800\\d{5}",,,,"80012345"],[,,"5\\d{7}",,,,"50012345"],[,,"8(?:0[1-9]|[1-9]\\d)\\d{5}",,,,"80123456"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"MK",389,"00","0",,,"0",,,,[[,"(\\d)(\\d{3})(\\d{4})","$1 $2 $3",["2|34[47]|4(?:[37]7|5[47]|64)"],"0$1"],[,"(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["[347]"],"0$1"],[,"(\\d{3})(\\d)(\\d{2})(\\d{2})","$1 $2 $3 $4",["[58]"],"0$1"]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],ML:[,[,,"[24-9]\\d{7}",,,,,,,[8]],[,,"2(?:07[0-8]|12[67])\\d{4}|(?:2(?:02|1[4-689])|4(?:0[0-4]|4[1-39]))\\d{5}",,,,"20212345"],[,,"2(?:0(?:01|79)|17\\d)\\d{4}|(?:5[01]|[679]\\d|8[2-49])\\d{6}",,,,"65012345"],[,,"80\\d{6}",,,,"80012345"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"ML",223,"00",,,,,,,,[[,"(\\d{4})","$1",["67[057-9]|74[045]","67(?:0[09]|[59]9|77|8[89])|74(?:0[02]|44|55)"]],[,"(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[24-9]"]]],[[,"(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[24-9]"]]],[,,,,,,,,,[-1]],,,[,,"80\\d{6}"],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],MM:[,[,,"1\\d{5,7}|95\\d{6}|(?:[4-7]|9[0-46-9])\\d{6,8}|(?:2|8\\d)\\d{5,8}",,,,,,,[6,7,8,9,10],[5]],[,,"(?:1(?:(?:2\\d|3[56]|[89][0-6])\\d|4(?:2[2-469]|39|46|6[25]|7[0-3]|83)|6)|2(?:2(?:00|8[34])|4(?:0\\d|2[246]|39|46|62|7[0-3]|83)|51\\d\\d)|4(?:2(?:2\\d\\d|48[0-3])|3(?:20\\d|4(?:70|83)|56)|420\\d|5470)|6(?:0(?:[23]|88\\d)|(?:124|[56]2\\d)\\d|247[23]|3(?:20\\d|470)|4(?:2[04]\\d|47[23])|7(?:(?:3\\d|8[01459])\\d|4(?:39|60|7[013]))))\\d{4}|5(?:2(?:2\\d{5,6}|47[023]\\d{4})|(?:347[23]|4(?:2(?:1|86)|470)|522\\d|6(?:20\\d|483)|7(?:20\\d|48[0-2])|8(?:20\\d|47[02])|9(?:20\\d|47[01]))\\d{4})|7(?:(?:0470|4(?:25\\d|470)|5(?:202|470|96\\d))\\d{4}|1(?:20\\d{4,5}|4(?:70|83)\\d{4}))|8(?:1(?:2\\d{5,6}|4(?:10|7[01]\\d)\\d{3})|2(?:2\\d{5,6}|(?:320|490\\d)\\d{3})|(?:3(?:2\\d\\d|470)|4[24-7]|5(?:2\\d|4[1-9]|51)\\d|6[23])\\d{4})|(?:1[2-6]\\d|4(?:2[24-8]|3[2-7]|[46][2-6]|5[3-5])|5(?:[27][2-8]|3[2-68]|4[24-8]|5[23]|6[2-4]|8[24-7]|9[2-7])|6(?:[19]20|42[03-6]|(?:52|7[45])\\d)|7(?:[04][24-8]|[15][2-7]|22|3[2-4])|8(?:1[2-689]|2[2-8]|[35]2\\d))\\d{4}|25\\d{5,6}|(?:2[2-9]|6(?:1[2356]|[24][2-6]|3[24-6]|5[2-4]|6[2-8]|7[235-7]|8[245]|9[24])|8(?:3[24]|5[245]))\\d{4}",,,,"1234567",,,[6,7,8,9],[5]],[,,"(?:17[01]|9(?:2(?:[0-4]|[56]\\d\\d)|(?:3(?:[0-36]|4\\d)|(?:6\\d|9[4-8])\\d|7(?:3|40|[5-9]\\d)|8(?:78|[89]\\d))\\d|4(?:(?:[0245]\\d|[1379])\\d|88)|5[0-6])\\d)\\d{4}|9[69]1\\d{6}|9(?:[68]\\d|9[089])\\d{5}",,,,"92123456",,,[7,8,9,10]],[,,"80080(?:[01][1-9]|2\\d)\\d{3}",,,,"8008001234",,,[10]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,"1333\\d{4}|[12]468\\d{4}",,,,"13331234",,,[8]],"MM",95,"00","0",,,"0",,,,[[,"(\\d)(\\d{2})(\\d{3})","$1 $2 $3",["16|2"],"0$1"],[,"(\\d{2})(\\d{2})(\\d{3})","$1 $2 $3",["[45]|6(?:0[23]|[1-689]|7[235-7])|7(?:[0-4]|5[2-7])|8[1-6]"],"0$1"],[,"(\\d)(\\d{3})(\\d{3,4})","$1 $2 $3",["[12]"],"0$1"],[,"(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["[4-7]|8[1-35]"],"0$1"],[,"(\\d)(\\d{3})(\\d{4,6})","$1 $2 $3",["9(?:2[0-4]|[35-9]|4[137-9])"],"0$1"],[,"(\\d)(\\d{4})(\\d{4})","$1 $2 $3",["2"],"0$1"],[,"(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["8"],"0$1"],[,"(\\d)(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3 $4",["92"],"0$1"],[,"(\\d)(\\d{5})(\\d{4})","$1 $2 $3",["9"],"0$1"]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],MN:[,[,,"[12]\\d{7,9}|[5-9]\\d{7}",,,,,,,[8,9,10],[4,5,6]],[,,"[12]2[1-3]\\d{5,6}|7(?:0[0-5]\\d|128)\\d{4}|(?:[12](?:1|27)|5[368])\\d{6}|[12](?:3[2-8]|4[2-68]|5[1-4689])\\d{6,7}",,,,"53123456",,,,[4,5,6]],[,,"(?:83[01]|920)\\d{5}|(?:5[05]|6[069]|8[015689]|9[013-9])\\d{6}",,,,"88123456",,,[8]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,"712[0-79]\\d{4}|7(?:1[013-9]|[25-9]\\d)\\d{5}",,,,"75123456",,,[8]],"MN",976,"001","0",,,"0",,,,[[,"(\\d{2})(\\d{2})(\\d{4})","$1 $2 $3",["[12]1"],"0$1"],[,"(\\d{4})(\\d{4})","$1 $2",["[5-9]"]],[,"(\\d{3})(\\d{5,6})","$1 $2",["[12]2[1-3]"],"0$1"],[,"(\\d{4})(\\d{5,6})","$1 $2",["[12](?:27|3[2-8]|4[2-68]|5[1-4689])","[12](?:27|3[2-8]|4[2-68]|5[1-4689])[0-3]"],"0$1"],[,"(\\d{5})(\\d{4,5})","$1 $2",["[12]"],"0$1"]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],MO:[,[,,"0800\\d{3}|(?:28|[68]\\d)\\d{6}",,,,,,,[7,8]],[,,"(?:28[2-9]|8(?:11|[2-57-9]\\d))\\d{5}",,,,"28212345",,,[8]],[,,"6800[0-79]\\d{3}|6(?:[235]\\d\\d|6(?:0[0-5]|[1-9]\\d)|8(?:0[1-9]|[14-8]\\d|2[5-9]|[39][0-4]))\\d{4}",,,,"66123456",,,[8]],[,,"0800\\d{3}",,,,"0800501",,,[7]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"MO",853,"00",,,,,,,,[[,"(\\d{4})(\\d{3})","$1 $2",["0"]],[,"(\\d{4})(\\d{4})","$1 $2",["[268]"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],MP:[,[,,"[58]\\d{9}|(?:67|90)0\\d{7}",,,,,,,[10],[7]],[,,"670(?:2(?:3[3-7]|56|8[4-8])|32[1-38]|4(?:33|8[348])|5(?:32|55|88)|6(?:64|70|82)|78[3589]|8[3-9]8|989)\\d{4}",,,,"6702345678",,,,[7]],[,,"670(?:2(?:3[3-7]|56|8[4-8])|32[1-38]|4(?:33|8[348])|5(?:32|55|88)|6(?:64|70|82)|78[3589]|8[3-9]8|989)\\d{4}",,,,"6702345678",,,,[7]],[,,"8(?:00|33|44|55|66|77|88)[2-9]\\d{6}",,,,"8002123456"],[,,"900[2-9]\\d{6}",,,,"9002123456"],[,,,,,,,,,[-1]],[,,"52(?:3(?:[2-46-9][02-9]\\d|5(?:[02-46-9]\\d|5[0-46-9]))|4(?:[2-478][02-9]\\d|5(?:[034]\\d|2[024-9]|5[0-46-9])|6(?:0[1-9]|[2-9]\\d)|9(?:[05-9]\\d|2[0-5]|49)))\\d{4}|52[34][2-9]1[02-9]\\d{4}|5(?:00|2[125-9]|33|44|66|77|88)[2-9]\\d{6}",,,,"5002345678"],[,,,,,,,,,[-1]],"MP",1,"011","1",,,"([2-9]\\d{6})$|1","670$1",,1,,,[,,,,,,,,,[-1]],,"670",[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],MQ:[,[,,"596\\d{6}|(?:69|80|9\\d)\\d{7}",,,,,,,[9]],[,,"596(?:[03-7]\\d|10|2[7-9]|8[09]|9[4-9])\\d{4}",,,,"596301234"],[,,"69(?:6(?:[0-46-9]\\d|5[0-6])|727)\\d{4}",,,,"696201234"],[,,"80[0-5]\\d{6}",,,,"800012345"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,"9(?:(?:39|47)7[01]|76(?:6\\d|7[0-367]))\\d{4}",,,,"976612345"],"MQ",596,"00","0",,,"0",,,,[[,"(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[569]"],"0$1"],[,"(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["8"],"0$1"]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],MR:[,[,,"(?:[2-4]\\d\\d|800)\\d{5}",,,,,,,[8]],[,,"(?:25[08]|35\\d|45[1-7])\\d{5}",,,,"35123456"],[,,"[2-4][0-46-9]\\d{6}",,,,"22123456"],[,,"800\\d{5}",,,,"80012345"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"MR",222,"00",,,,,,,,[[,"(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[2-48]"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],MS:[,[,,"(?:[58]\\d\\d|664|900)\\d{7}",,,,,,,[10],[7]],[,,"6644(?:1[0-3]|91)\\d{4}",,,,"6644912345",,,,[7]],[,,"664(?:3(?:49|9[1-6])|49[2-6])\\d{4}",,,,"6644923456",,,,[7]],[,,"8(?:00|33|44|55|66|77|88)[2-9]\\d{6}",,,,"8002123456"],[,,"900[2-9]\\d{6}",,,,"9002123456"],[,,,,,,,,,[-1]],[,,"52(?:3(?:[2-46-9][02-9]\\d|5(?:[02-46-9]\\d|5[0-46-9]))|4(?:[2-478][02-9]\\d|5(?:[034]\\d|2[024-9]|5[0-46-9])|6(?:0[1-9]|[2-9]\\d)|9(?:[05-9]\\d|2[0-5]|49)))\\d{4}|52[34][2-9]1[02-9]\\d{4}|5(?:00|2[125-9]|33|44|66|77|88)[2-9]\\d{6}",,,,"5002345678"],[,,,,,,,,,[-1]],"MS",1,"011","1",,,"([34]\\d{6})$|1","664$1",,,,,[,,,,,,,,,[-1]],,"664",[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],MT:[,[,,"3550\\d{4}|(?:[2579]\\d\\d|800)\\d{5}",,,,,,,[8]],[,,"20(?:3[1-4]|6[059])\\d{4}|2(?:0[19]|[1-357]\\d|60)\\d{5}",,,,"21001234"],[,,"(?:7(?:210|[79]\\d\\d)|9(?:[29]\\d\\d|69[67]|8(?:1[1-3]|89|97)))\\d{4}",,,,"96961234"],[,,"800(?:02|[3467]\\d)\\d{3}",,,,"80071234"],[,,"5(?:0(?:0(?:37|43)|(?:6\\d|70|9[0168])\\d)|[12]\\d0[1-5])\\d{3}",,,,"50037123"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,"3550\\d{4}",,,,"35501234"],"MT",356,"00",,,,,,,,[[,"(\\d{4})(\\d{4})","$1 $2",["[2357-9]"]]],,[,,"7117\\d{4}",,,,"71171234"],,,[,,,,,,,,,[-1]],[,,"501\\d{5}",,,,"50112345"],,,[,,,,,,,,,[-1]]],MU:[,[,,"(?:[57]|8\\d\\d)\\d{7}|[2-468]\\d{6}",,,,,,,[7,8,10]],[,,"(?:2(?:[0346-8]\\d|1[0-7])|4(?:[013568]\\d|2[4-7])|54(?:[3-5]\\d|71)|6\\d\\d|8(?:14|3[129]))\\d{4}",,,,"54480123",,,[7,8]],[,,"5(?:4(?:2[1-389]|7[1-9])|87[15-8])\\d{4}|(?:5(?:2[5-9]|4[3-689]|[57]\\d|8[0-689]|9[0-8])|7(?:01|30))\\d{5}",,,,"52512345",,,[8]],[,,"802\\d{7}|80[0-2]\\d{4}",,,,"8001234",,,[7,10]],[,,"30\\d{5}",,,,"3012345",,,[7]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,"3(?:20|9\\d)\\d{4}",,,,"3201234",,,[7]],"MU",230,"0(?:0|[24-7]0|3[03])",,,,,,"020",,[[,"(\\d{3})(\\d{4})","$1 $2",["[2-46]|8[013]"]],[,"(\\d{4})(\\d{4})","$1 $2",["[57]"]],[,"(\\d{5})(\\d{5})","$1 $2",["8"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],MV:[,[,,"(?:800|9[0-57-9]\\d)\\d{7}|[34679]\\d{6}",,,,,,,[7,10]],[,,"(?:3(?:0[0-3]|3[0-59])|6(?:[58][024689]|6[024-68]|7[02468]))\\d{4}",,,,"6701234",,,[7]],[,,"(?:46[46]|[79]\\d\\d)\\d{4}",,,,"7712345",,,[7]],[,,"800\\d{7}",,,,"8001234567",,,[10]],[,,"900\\d{7}",,,,"9001234567",,,[10]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"MV",960,"0(?:0|19)",,,,,,"00",,[[,"(\\d{3})(\\d{4})","$1-$2",["[34679]"]],[,"(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["[89]"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,"4(?:0[01]|50)\\d{4}",,,,"4001234",,,[7]],,,[,,,,,,,,,[-1]]],MW:[,[,,"(?:[1289]\\d|31|77)\\d{7}|1\\d{6}",,,,,,,[7,9]],[,,"(?:1[2-9]|2[12]\\d\\d)\\d{5}",,,,"1234567"],[,,"111\\d{6}|(?:31|77|[89][89])\\d{7}",,,,"991234567",,,[9]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"MW",265,"00","0",,,"0",,,,[[,"(\\d)(\\d{3})(\\d{3})","$1 $2 $3",["1[2-9]"],"0$1"],[,"(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["2"],"0$1"],[,"(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[137-9]"],"0$1"]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],MX:[,[,,"1(?:(?:[27]2|44|99)[1-9]|65[0-689])\\d{7}|(?:1(?:[01]\\d|2[13-9]|[35][1-9]|4[0-35-9]|6[0-46-9]|7[013-9]|8[1-79]|9[1-8])|[2-9]\\d)\\d{8}",,,,,,,[10,11],[7,8]],[,,"657[12]\\d{6}|(?:2(?:0[01]|2\\d|3[1-35-8]|4[13-9]|7[1-689]|8[1-578]|9[467])|3(?:1[1-79]|[2458][1-9]|3\\d|7[1-8]|9[1-5])|4(?:1[1-57-9]|[25-7][1-9]|3[1-8]|4\\d|8[1-35-9]|9[2-689])|5(?:[56]\\d|88|9[1-79])|6(?:1[2-68]|[2-4][1-9]|5[1-3689]|6[1-57-9]|7[1-7]|8[67]|9[4-8])|7(?:[13467][1-9]|2\\d|5[13-9]|8[1-69]|9[17])|8(?:1\\d|2[13-689]|3[1-6]|4[124-6]|6[1246-9]|7[1-378]|9[12479])|9(?:1[346-9]|2[1-4]|3[2-46-8]|5[1348]|6[1-9]|7[12]|8[1-8]|9\\d))\\d{7}",,,,"2001234567",,,[10],[7,8]],[,,"657[12]\\d{6}|(?:1(?:2(?:2[1-9]|3[1-35-8]|4[13-9]|7[1-689]|8[1-578]|9[467])|3(?:1[1-79]|[2458][1-9]|3\\d|7[1-8]|9[1-5])|4(?:1[1-57-9]|[24-7][1-9]|3[1-8]|8[1-35-9]|9[2-689])|5(?:[56]\\d|88|9[1-79])|6(?:1[2-68]|[2-4][1-9]|5[1-3689]|6[1-57-9]|7[1-7]|8[67]|9[4-8])|7(?:[1-467][1-9]|5[13-9]|8[1-69]|9[17])|8(?:1\\d|2[13-689]|3[1-6]|4[124-6]|6[1246-9]|7[1-378]|9[12479])|9(?:1[346-9]|2[1-4]|3[2-46-8]|5[1348]|[69][1-9]|7[12]|8[1-8]))|2(?:2\\d|3[1-35-8]|4[13-9]|7[1-689]|8[1-578]|9[467])|3(?:1[1-79]|[2458][1-9]|3\\d|7[1-8]|9[1-5])|4(?:1[1-57-9]|[25-7][1-9]|3[1-8]|4\\d|8[1-35-9]|9[2-689])|5(?:[56]\\d|88|9[1-79])|6(?:1[2-68]|[2-4][1-9]|5[1-3689]|6[1-57-9]|7[1-7]|8[67]|9[4-8])|7(?:[13467][1-9]|2\\d|5[13-9]|8[1-69]|9[17])|8(?:1\\d|2[13-689]|3[1-6]|4[124-6]|6[1246-9]|7[1-378]|9[12479])|9(?:1[346-9]|2[1-4]|3[2-46-8]|5[1348]|6[1-9]|7[12]|8[1-8]|9\\d))\\d{7}",,,,"12221234567",,,,[7,8]],[,,"8(?:00|88)\\d{7}",,,,"8001234567",,,[10]],[,,"900\\d{7}",,,,"9001234567",,,[10]],[,,"300\\d{7}",,,,"3001234567",,,[10]],[,,"500\\d{7}",,,,"5001234567",,,[10]],[,,,,,,,,,[-1]],"MX",52,"0[09]","01",,,"0(?:[12]|4[45])|1",,"00",,[[,"(\\d{5})","$1",["53"]],[,"(\\d{2})(\\d{4})(\\d{4})","$1 $2 $3",["33|5[56]|81"],,,1],[,"(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["[2-9]"],,,1],[,"(\\d)(\\d{2})(\\d{4})(\\d{4})","$2 $3 $4",["1(?:33|5[56]|81)"],,,1],[,"(\\d)(\\d{3})(\\d{3})(\\d{4})","$2 $3 $4",["1"],,,1]],[[,"(\\d{2})(\\d{4})(\\d{4})","$1 $2 $3",["33|5[56]|81"],,,1],[,"(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["[2-9]"],,,1],[,"(\\d)(\\d{2})(\\d{4})(\\d{4})","$2 $3 $4",["1(?:33|5[56]|81)"],,,1],[,"(\\d)(\\d{3})(\\d{3})(\\d{4})","$2 $3 $4",["1"],,,1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],MY:[,[,,"1\\d{8,9}|(?:3\\d|[4-9])\\d{7}",,,,,,,[8,9,10],[6,7]],[,,"(?:3(?:2[0-36-9]|3[0-368]|4[0-278]|5[0-24-8]|6[0-467]|7[1246-9]|8\\d|9[0-57])\\d|4(?:2[0-689]|[3-79]\\d|8[1-35689])|5(?:2[0-589]|[3468]\\d|5[0-489]|7[1-9]|9[23])|6(?:2[2-9]|3[1357-9]|[46]\\d|5[0-6]|7[0-35-9]|85|9[015-8])|7(?:[2579]\\d|3[03-68]|4[0-8]|6[5-9]|8[0-35-9])|8(?:[24][2-8]|3[2-5]|5[2-7]|6[2-589]|7[2-578]|[89][2-9])|9(?:0[57]|13|[25-7]\\d|[3489][0-8]))\\d{5}",,,,"323856789",,,[8,9],[6,7]],[,,"1(?:1888[689]|4400|8(?:47|8[27])[0-4])\\d{4}|1(?:0(?:[23568]\\d|4[0-6]|7[016-9]|9[0-8])|1(?:[1-5]\\d\\d|6(?:0[5-9]|[1-9]\\d)|7(?:[0134]\\d|2[1-9]|5[0-6]))|(?:[269]\\d|[37][1-9]|4[235-9])\\d|5(?:31|9\\d\\d)|8(?:1[23]|[236]\\d|4[06]|5(?:46|[7-9])|7[016-9]|8[01]|9[0-8]))\\d{5}",,,,"123456789",,,[9,10]],[,,"1[378]00\\d{6}",,,,"1300123456",,,[10]],[,,"1600\\d{6}",,,,"1600123456",,,[10]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,"15(?:4(?:6[0-4]\\d|8(?:0[125]|[17]\\d|21|3[01]|4[01589]|5[014]|6[02]))|6(?:32[0-6]|78\\d))\\d{4}",,,,"1546012345",,,[10]],"MY",60,"00","0",,,"0",,,,[[,"(\\d)(\\d{3})(\\d{4})","$1-$2 $3",["[4-79]"],"0$1"],[,"(\\d{2})(\\d{3})(\\d{3,4})","$1-$2 $3",["1(?:[02469]|[378][1-9]|53)|8","1(?:[02469]|[37][1-9]|53|8(?:[1-46-9]|5[7-9]))|8"],"0$1"],[,"(\\d)(\\d{4})(\\d{4})","$1-$2 $3",["3"],"0$1"],[,"(\\d)(\\d{3})(\\d{2})(\\d{4})","$1-$2-$3-$4",["1(?:[367]|80)"]],[,"(\\d{3})(\\d{3})(\\d{4})","$1-$2 $3",["15"],"0$1"],[,"(\\d{2})(\\d{4})(\\d{4})","$1-$2 $3",["1"],"0$1"]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],MZ:[,[,,"(?:2|8\\d)\\d{7}",,,,,,,[8,9]],[,,"2(?:[1346]\\d|5[0-2]|[78][12]|93)\\d{5}",,,,"21123456",,,[8]],[,,"8[2-79]\\d{7}",,,,"821234567",,,[9]],[,,"800\\d{6}",,,,"800123456",,,[9]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"MZ",258,"00",,,,,,,,[[,"(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["2|8[2-79]"]],[,"(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["8"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],NA:[,[,,"[68]\\d{7,8}",,,,,,,[8,9]],[,,"64426\\d{3}|6(?:1(?:2[2-7]|3[01378]|4[0-4])|254|32[0237]|4(?:27|41|5[25])|52[236-8]|626|7(?:2[2-4]|30))\\d{4,5}|6(?:1(?:(?:0\\d|2[0189]|3[24-69]|4[5-9])\\d|17|69|7[014])|2(?:17|5[0-36-8]|69|70)|3(?:17|2[14-689]|34|6[289]|7[01]|81)|4(?:17|2[0-2]|4[06]|5[0137]|69|7[01])|5(?:17|2[0459]|69|7[01])|6(?:17|25|38|42|69|7[01])|7(?:17|2[569]|3[13]|6[89]|7[01]))\\d{4}",,,,"61221234"],[,,"(?:60|8[1245])\\d{7}",,,,"811234567",,,[9]],[,,"80\\d{7}",,,,"800123456",,,[9]],[,,"8701\\d{5}",,,,"870123456",,,[9]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,"8(?:3\\d\\d|86)\\d{5}",,,,"88612345"],"NA",264,"00","0",,,"0",,,,[[,"(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["88"],"0$1"],[,"(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["6"],"0$1"],[,"(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["87"],"0$1"],[,"(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["8"],"0$1"]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],NC:[,[,,"(?:050|[2-57-9]\\d\\d)\\d{3}",,,,,,,[6]],[,,"(?:2[03-9]|3[0-5]|4[1-7]|88)\\d{4}",,,,"201234"],[,,"(?:5[0-4]|[79]\\d|8[0-79])\\d{4}",,,,"751234"],[,,"050\\d{3}",,,,"050012"],[,,"36\\d{4}",,,,"366711"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"NC",687,"00",,,,,,,,[[,"(\\d{3})","$1",["5[6-8]"]],[,"(\\d{2})(\\d{2})(\\d{2})","$1.$2.$3",["[02-57-9]"]]],[[,"(\\d{2})(\\d{2})(\\d{2})","$1.$2.$3",["[02-57-9]"]]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],NE:[,[,,"[027-9]\\d{7}",,,,,,,[8]],[,,"2(?:0(?:20|3[1-8]|4[13-5]|5[14]|6[14578]|7[1-578])|1(?:4[145]|5[14]|6[14-68]|7[169]|88))\\d{4}",,,,"20201234"],[,,"(?:23|7[04]|[89]\\d)\\d{6}",,,,"93123456"],[,,"08\\d{6}",,,,"08123456"],[,,"09\\d{6}",,,,"09123456"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"NE",227,"00",,,,,,,,[[,"(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["08"]],[,"(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[089]|2[013]|7[04]"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],NF:[,[,,"[13]\\d{5}",,,,,,,[6],[5]],[,,"(?:1(?:06|17|28|39)|3[0-2]\\d)\\d{3}",,,,"106609",,,,[5]],[,,"(?:14|3[58])\\d{4}",,,,"381234",,,,[5]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"NF",672,"00",,,,"([0-258]\\d{4})$","3$1",,,[[,"(\\d{2})(\\d{4})","$1 $2",["1[0-3]"]],[,"(\\d)(\\d{5})","$1 $2",["[13]"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],NG:[,[,,"(?:[124-7]|9\\d{3})\\d{6}|[1-9]\\d{7}|[78]\\d{9,13}",,,,,,,[7,8,10,11,12,13,14],[5,6]],[,,"(?:(?:[1-356]\\d|4[02-8]|8[2-9])\\d|9(?:0[3-9]|[1-9]\\d))\\d{5}|7(?:0(?:[013-689]\\d|2[0-24-9])\\d{3,4}|[1-79]\\d{6})|(?:[12]\\d|4[147]|5[14579]|6[1578]|7[1-3578])\\d{5}",,,,"18040123",,,[7,8],[5,6]],[,,"(?:702[0-24-9]|819[01])\\d{6}|(?:70[13-689]|8(?:0[1-9]|1[0-8])|9(?:0[1-9]|1[1-356]))\\d{7}",,,,"8021234567",,,[10]],[,,"800\\d{7,11}",,,,"80017591759",,,[10,11,12,13,14]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"NG",234,"009","0",,,"0",,,,[[,"(\\d{2})(\\d{2})(\\d{3})","$1 $2 $3",["78"],"0$1"],[,"(\\d)(\\d{3})(\\d{3,4})","$1 $2 $3",["[12]|9(?:0[3-9]|[1-9])"],"0$1"],[,"(\\d{2})(\\d{3})(\\d{2,3})","$1 $2 $3",["[3-7]|8[2-9]"],"0$1"],[,"(\\d{3})(\\d{3})(\\d{3,4})","$1 $2 $3",["[7-9]"],"0$1"],[,"(\\d{3})(\\d{4})(\\d{4,5})","$1 $2 $3",["[78]"],"0$1"],[,"(\\d{3})(\\d{5})(\\d{5,6})","$1 $2 $3",["[78]"],"0$1"]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,"700\\d{7,11}",,,,"7001234567",,,[10,11,12,13,14]],,,[,,,,,,,,,[-1]]],NI:[,[,,"(?:1800|[25-8]\\d{3})\\d{4}",,,,,,,[8]],[,,"2\\d{7}",,,,"21234567"],[,,"(?:5(?:5[0-7]|[78]\\d)|6(?:20|3[035]|4[045]|5[05]|77|8[1-9]|9[059])|(?:7[5-8]|8\\d)\\d)\\d{5}",,,,"81234567"],[,,"1800\\d{4}",,,,"18001234"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"NI",505,"00",,,,,,,,[[,"(\\d{4})(\\d{4})","$1 $2",["[125-8]"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],NL:[,[,,"(?:[124-7]\\d\\d|3(?:[02-9]\\d|1[0-8]))\\d{6}|8\\d{6,9}|9\\d{6,10}|1\\d{4,5}",,,,,,,[5,6,7,8,9,10,11]],[,,"(?:1(?:[035]\\d|1[13-578]|6[124-8]|7[24]|8[0-467])|2(?:[0346]\\d|2[2-46-9]|5[125]|9[479])|3(?:[03568]\\d|1[3-8]|2[01]|4[1-8])|4(?:[0356]\\d|1[1-368]|7[58]|8[15-8]|9[23579])|5(?:[0358]\\d|[19][1-9]|2[1-57-9]|4[13-8]|6[126]|7[0-3578])|7\\d\\d)\\d{6}",,,,"101234567",,,[9]],[,,"(?:6[1-58]|970\\d)\\d{7}",,,,"612345678",,,[9,11]],[,,"800\\d{4,7}",,,,"8001234",,,[7,8,9,10]],[,,"90[069]\\d{4,7}",,,,"9061234",,,[7,8,9,10]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,"(?:85|91)\\d{7}",,,,"851234567",,,[9]],"NL",31,"00","0",,,"0",,,,[[,"(\\d{4})","$1",["1[238]|[34]"]],[,"(\\d{2})(\\d{3,4})","$1 $2",["14"]],[,"(\\d{6})","$1",["1"]],[,"(\\d{3})(\\d{4,7})","$1 $2",["[89]0"],"0$1"],[,"(\\d{2})(\\d{7})","$1 $2",["66"],"0$1"],[,"(\\d)(\\d{8})","$1 $2",["6"],"0$1"],[,"(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["1[16-8]|2[259]|3[124]|4[17-9]|5[124679]"],"0$1"],[,"(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["[1-578]|91"],"0$1"],[,"(\\d{3})(\\d{3})(\\d{5})","$1 $2 $3",["9"],"0$1"]],[[,"(\\d{3})(\\d{4,7})","$1 $2",["[89]0"],"0$1"],[,"(\\d{2})(\\d{7})","$1 $2",["66"],"0$1"],[,"(\\d)(\\d{8})","$1 $2",["6"],"0$1"],[,"(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["1[16-8]|2[259]|3[124]|4[17-9]|5[124679]"],"0$1"],[,"(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["[1-578]|91"],"0$1"],[,"(\\d{3})(\\d{3})(\\d{5})","$1 $2 $3",["9"],"0$1"]],[,,"66\\d{7}",,,,"662345678",,,[9]],,,[,,"140(?:1[035]|2[0346]|3[03568]|4[0356]|5[0358]|8[458])|140(?:1[16-8]|2[259]|3[124]|4[17-9]|5[124679]|7)\\d",,,,,,,[5,6]],[,,"140(?:1[035]|2[0346]|3[03568]|4[0356]|5[0358]|8[458])|(?:140(?:1[16-8]|2[259]|3[124]|4[17-9]|5[124679]|7)|8[478]\\d{6})\\d",,,,"14020",,,[5,6,9]],,,[,,,,,,,,,[-1]]],NO:[,[,,"(?:0|[2-9]\\d{3})\\d{4}",,,,,,,[5,8]],[,,"(?:2[1-4]|3[1-3578]|5[1-35-7]|6[1-4679]|7[0-8])\\d{6}",,,,"21234567",,,[8]],[,,"(?:4[015-8]|59|9\\d)\\d{6}",,,,"40612345",,,[8]],[,,"80[01]\\d{5}",,,,"80012345",,,[8]],[,,"82[09]\\d{5}",,,,"82012345",,,[8]],[,,"810(?:0[0-6]|[2-8]\\d)\\d{3}",,,,"81021234",,,[8]],[,,"880\\d{5}",,,,"88012345",,,[8]],[,,"85[0-5]\\d{5}",,,,"85012345",,,[8]],"NO",47,"00",,,,,,,,[[,"(\\d{3})(\\d{2})(\\d{3})","$1 $2 $3",["[489]|59"]],[,"(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[235-7]"]]],,[,,,,,,,,,[-1]],1,"[02-689]|7[0-8]",[,,,,,,,,,[-1]],[,,"(?:0[2-9]|81(?:0(?:0[7-9]|1\\d)|5\\d\\d))\\d{3}",,,,"02000"],,,[,,"81[23]\\d{5}",,,,"81212345",,,[8]]],NP:[,[,,"(?:1\\d|9)\\d{9}|[1-9]\\d{7}",,,,,,,[8,10,11],[6,7]],[,,"(?:1[0-6]\\d|99[02-6])\\d{5}|(?:2[13-79]|3[135-8]|4[146-9]|5[135-7]|6[13-9]|7[15-9]|8[1-46-9]|9[1-7])[2-6]\\d{5}",,,,"14567890",,,[8],[6,7]],[,,"9(?:6[0-3]|7[024-6]|8[0-24-68])\\d{7}",,,,"9841234567",,,[10]],[,,"1(?:66001|800\\d\\d)\\d{5}",,,,"16600101234",,,[11]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"NP",977,"00","0",,,"0",,,,[[,"(\\d)(\\d{7})","$1-$2",["1[2-6]"],"0$1"],[,"(\\d{2})(\\d{6})","$1-$2",["1[01]|[2-8]|9(?:[1-59]|[67][2-6])"],"0$1"],[,"(\\d{3})(\\d{7})","$1-$2",["9"]],[,"(\\d{4})(\\d{2})(\\d{5})","$1-$2-$3",["1"]]],[[,"(\\d)(\\d{7})","$1-$2",["1[2-6]"],"0$1"],[,"(\\d{2})(\\d{6})","$1-$2",["1[01]|[2-8]|9(?:[1-59]|[67][2-6])"],"0$1"],[,"(\\d{3})(\\d{7})","$1-$2",["9"]]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],NR:[,[,,"(?:444|(?:55|8\\d)\\d|666)\\d{4}",,,,,,,[7]],[,,"444\\d{4}",,,,"4441234"],[,,"(?:55[3-9]|666|8\\d\\d)\\d{4}",,,,"5551234"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"NR",674,"00",,,,,,,,[[,"(\\d{3})(\\d{4})","$1 $2",["[4-68]"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],NU:[,[,,"(?:[47]|888\\d)\\d{3}",,,,,,,[4,7]],[,,"[47]\\d{3}",,,,"7012",,,[4]],[,,"888[4-9]\\d{3}",,,,"8884012",,,[7]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"NU",683,"00",,,,,,,,[[,"(\\d{3})(\\d{4})","$1 $2",["8"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],NZ:[,[,,"[29]\\d{7,9}|50\\d{5}(?:\\d{2,3})?|6[0-35-9]\\d{6}|7\\d{7,8}|8\\d{4,9}|(?:11\\d|[34])\\d{7}",,,,,,,[5,6,7,8,9,10]],[,,"24099\\d{3}|(?:3[2-79]|[49][2-9]|6[235-9]|7[2-57-9])\\d{6}",,,,"32345678",,,[8],[7]],[,,"2[0-27-9]\\d{7,8}|21\\d{6}",,,,"211234567",,,[8,9,10]],[,,"508\\d{6,7}|80\\d{6,8}",,,,"800123456",,,[8,9,10]],[,,"(?:11\\d{5}|50(?:0[08]|30|66|77|88))\\d{3}|90\\d{6,8}",,,,"900123456",,,[7,8,9,10]],[,,,,,,,,,[-1]],[,,"70\\d{7}",,,,"701234567",,,[9]],[,,,,,,,,,[-1]],"NZ",64,"0(?:0|161)","0",,,"0",,"00",,[[,"(\\d{2})(\\d{3,8})","$1 $2",["8[1-579]"],"0$1"],[,"(\\d{3})(\\d{2})(\\d{2,3})","$1 $2 $3",["50[036-8]|[89]0","50(?:[0367]|88)|[89]0"],"0$1"],[,"(\\d)(\\d{3})(\\d{4})","$1 $2 $3",["24|[346]|7[2-57-9]|9[2-9]"],"0$1"],[,"(\\d{3})(\\d{3})(\\d{3,4})","$1 $2 $3",["2(?:10|74)|[59]|80"],"0$1"],[,"(\\d{2})(\\d{3,4})(\\d{4})","$1 $2 $3",["1|2[028]"],"0$1"],[,"(\\d{2})(\\d{3})(\\d{3,5})","$1 $2 $3",["2(?:[169]|7[0-35-9])|7|86"],"0$1"]],,[,,"[28]6\\d{6,7}",,,,"26123456",,,[8,9]],,,[,,,,,,,,,[-1]],[,,"8(?:1[6-9]|22|3\\d|4[045]|5[459]|7[0-3579]|90)\\d{2,7}",,,,"83012378"],,,[,,,,,,,,,[-1]]],OM:[,[,,"(?:1505|[279]\\d{3}|500)\\d{4}|800\\d{5,6}",,,,,,,[7,8,9]],[,,"2[2-6]\\d{6}",,,,"23123456",,,[8]],[,,"1505\\d{4}|(?:7(?:[1289]\\d|7[0-5])|9(?:0[1-9]|[1-9]\\d))\\d{5}",,,,"92123456",,,[8]],[,,"8007\\d{4,5}|(?:500|800[05])\\d{4}",,,,"80071234"],[,,"900\\d{5}",,,,"90012345",,,[8]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"OM",968,"00",,,,,,,,[[,"(\\d{3})(\\d{4,6})","$1 $2",["[58]"]],[,"(\\d{2})(\\d{6})","$1 $2",["2"]],[,"(\\d{4})(\\d{4})","$1 $2",["[179]"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],PA:[,[,,"(?:00800|8\\d{3})\\d{6}|[68]\\d{7}|[1-57-9]\\d{6}",,,,,,,[7,8,10,11]],[,,"(?:1(?:0\\d|1[479]|2[37]|3[0137]|4[17]|5[05]|6[58]|7[0167]|8[2358]|9[1389])|2(?:[0235-79]\\d|1[0-7]|4[013-9]|8[02-9])|3(?:[089]\\d|1[0-7]|2[0-5]|33|4[0-79]|5[0-35]|6[068]|7[0-8])|4(?:00|3[0-579]|4\\d|7[0-57-9])|5(?:[01]\\d|2[0-7]|[56]0|79)|7(?:0[09]|2[0-26-8]|3[03]|4[04]|5[05-9]|6[056]|7[0-24-9]|8[5-9]|90)|8(?:09|2[89]|3\\d|4[0-24-689]|5[014]|8[02])|9(?:0[5-9]|1[0135-8]|2[036-9]|3[35-79]|40|5[0457-9]|6[05-9]|7[04-9]|8[35-8]|9\\d))\\d{4}",,,,"2001234",,,[7]],[,,"(?:1[16]1|21[89]|6\\d{3}|8(?:1[01]|7[23]))\\d{4}",,,,"61234567",,,[7,8]],[,,"800\\d{4,5}|(?:00800|800\\d)\\d{6}",,,,"8001234"],[,,"(?:8(?:22|55|60|7[78]|86)|9(?:00|81))\\d{4}",,,,"8601234",,,[7]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"PA",507,"00",,,,,,,,[[,"(\\d{3})(\\d{4})","$1-$2",["[1-57-9]"]],[,"(\\d{4})(\\d{4})","$1-$2",["[68]"]],[,"(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["8"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],PE:[,[,,"(?:[14-8]|9\\d)\\d{7}",,,,,,,[8,9],[6,7]],[,,"(?:(?:4[34]|5[14])[0-8]\\d|7(?:173|3[0-8]\\d)|8(?:10[05689]|6(?:0[06-9]|1[6-9]|29)|7(?:0[569]|[56]0)))\\d{4}|(?:1[0-8]|4[12]|5[236]|6[1-7]|7[246]|8[2-4])\\d{6}",,,,"11234567",,,[8],[6,7]],[,,"9\\d{8}",,,,"912345678",,,[9]],[,,"800\\d{5}",,,,"80012345",,,[8]],[,,"805\\d{5}",,,,"80512345",,,[8]],[,,"801\\d{5}",,,,"80112345",,,[8]],[,,"80[24]\\d{5}",,,,"80212345",,,[8]],[,,,,,,,,,[-1]],"PE",51,"00|19(?:1[124]|77|90)00","0"," Anexo ",,"0",,"00",,[[,"(\\d{3})(\\d{5})","$1 $2",["80"],"(0$1)"],[,"(\\d)(\\d{7})","$1 $2",["1"],"(0$1)"],[,"(\\d{2})(\\d{6})","$1 $2",["[4-8]"],"(0$1)"],[,"(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["9"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],PF:[,[,,"4\\d{5}(?:\\d{2})?|8\\d{7,8}",,,,,,,[6,8,9]],[,,"4(?:0[4-689]|9[4-68])\\d{5}",,,,"40412345",,,[8]],[,,"8[7-9]\\d{6}",,,,"87123456",,,[8]],[,,"80[0-5]\\d{6}",,,,"800012345",,,[9]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,"499\\d{5}",,,,"49901234",,,[8]],"PF",689,"00",,,,,,,,[[,"(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3",["44"]],[,"(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["4|8[7-9]"]],[,"(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["8"]]],,[,,,,,,,,,[-1]],,,[,,"44\\d{4}",,,,,,,[6]],[,,"44\\d{4}",,,,"440123",,,[6]],,,[,,,,,,,,,[-1]]],PG:[,[,,"(?:180|[78]\\d{3})\\d{4}|(?:[2-589]\\d|64)\\d{5}",,,,,,,[7,8]],[,,"(?:(?:3[0-2]|4[257]|5[34]|9[78])\\d|64[1-9]|85[02-46-9])\\d{4}",,,,"3123456",,,[7]],[,,"(?:7\\d|8[128])\\d{6}",,,,"70123456",,,[8]],[,,"180\\d{4}",,,,"1801234",,,[7]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,"2(?:0[0-57]|7[568])\\d{4}",,,,"2751234",,,[7]],"PG",675,"00|140[1-3]",,,,,,"00",,[[,"(\\d{3})(\\d{4})","$1 $2",["18|[2-69]|85"]],[,"(\\d{4})(\\d{4})","$1 $2",["[78]"]]],,[,,"27[01]\\d{4}",,,,"2700123",,,[7]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],PH:[,[,,"(?:[2-7]|9\\d)\\d{8}|2\\d{5}|(?:1800|8)\\d{7,9}",,,,,,,[6,8,9,10,11,12,13],[4,5,7]],[,,"(?:(?:2[3-8]|3[2-68]|4[2-9]|5[2-6]|6[2-58]|7[24578])\\d{3}|88(?:22\\d\\d|42))\\d{4}|(?:2|8[2-8]\\d\\d)\\d{5}",,,,"232345678",,,[6,8,9,10],[4,5,7]],[,,"(?:8(?:1[37]|9[5-8])|9(?:0[5-9]|1[0-24-9]|[235-7]\\d|4[2-9]|8[135-9]|9[1-9]))\\d{7}",,,,"9051234567",,,[10]],[,,"1800\\d{7,9}",,,,"180012345678",,,[11,12,13]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"PH",63,"00","0",,,"0",,,,[[,"(\\d)(\\d{5})","$1 $2",["2"],"(0$1)"],[,"(\\d{4})(\\d{4,6})","$1 $2",["3(?:23|39|46)|4(?:2[3-6]|[35]9|4[26]|76)|544|88[245]|(?:52|64|86)2","3(?:230|397|461)|4(?:2(?:35|[46]4|51)|396|4(?:22|63)|59[347]|76[15])|5(?:221|446)|642[23]|8(?:622|8(?:[24]2|5[13]))"],"(0$1)"],[,"(\\d{5})(\\d{4})","$1 $2",["346|4(?:27|9[35])|883","3469|4(?:279|9(?:30|56))|8834"],"(0$1)"],[,"(\\d)(\\d{4})(\\d{4})","$1 $2 $3",["2"],"(0$1)"],[,"(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["[3-7]|8[2-8]"],"(0$1)"],[,"(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["[89]"],"0$1"],[,"(\\d{4})(\\d{3})(\\d{4})","$1 $2 $3",["1"]],[,"(\\d{4})(\\d{1,2})(\\d{3})(\\d{4})","$1 $2 $3 $4",["1"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],PK:[,[,,"122\\d{6}|[24-8]\\d{10,11}|9(?:[013-9]\\d{8,10}|2(?:[01]\\d\\d|2(?:[06-8]\\d|1[01]))\\d{7})|(?:[2-8]\\d{3}|92(?:[0-7]\\d|8[1-9]))\\d{6}|[24-9]\\d{8}|[89]\\d{7}",,,,,,,[8,9,10,11,12],[5,6,7]],[,,"(?:(?:21|42)[2-9]|58[126])\\d{7}|(?:2[25]|4[0146-9]|5[1-35-7]|6[1-8]|7[14]|8[16]|91)[2-9]\\d{6,7}|(?:2(?:3[2358]|4[2-4]|9[2-8])|45[3479]|54[2-467]|60[468]|72[236]|8(?:2[2-689]|3[23578]|4[3478]|5[2356])|9(?:2[2-8]|3[27-9]|4[2-6]|6[3569]|9[25-8]))[2-9]\\d{5,6}",,,,"2123456789",,,[9,10],[5,6,7,8]],[,,"3(?:[0-24]\\d|3[0-7]|55|64)\\d{7}",,,,"3012345678",,,[10]],[,,"800\\d{5}(?:\\d{3})?",,,,"80012345",,,[8,11]],[,,"900\\d{5}",,,,"90012345",,,[8]],[,,,,,,,,,[-1]],[,,"122\\d{6}",,,,"122044444",,,[9]],[,,,,,,,,,[-1]],"PK",92,"00","0",,,"0",,,,[[,"(\\d{3})(\\d{3})(\\d{2,7})","$1 $2 $3",["[89]0"],"0$1"],[,"(\\d{4})(\\d{5})","$1 $2",["1"]],[,"(\\d{3})(\\d{6,7})","$1 $2",["2(?:3[2358]|4[2-4]|9[2-8])|45[3479]|54[2-467]|60[468]|72[236]|8(?:2[2-689]|3[23578]|4[3478]|5[2356])|9(?:2[2-8]|3[27-9]|4[2-6]|6[3569]|9[25-8])","9(?:2[3-8]|98)|(?:2(?:3[2358]|4[2-4]|9[2-8])|45[3479]|54[2-467]|60[468]|72[236]|8(?:2[2-689]|3[23578]|4[3478]|5[2356])|9(?:22|3[27-9]|4[2-6]|6[3569]|9[25-7]))[2-9]"],"(0$1)"],[,"(\\d{2})(\\d{7,8})","$1 $2",["(?:2[125]|4[0-246-9]|5[1-35-7]|6[1-8]|7[14]|8[16]|91)[2-9]"],"(0$1)"],[,"(\\d{5})(\\d{5})","$1 $2",["58"],"(0$1)"],[,"(\\d{3})(\\d{7})","$1 $2",["3"],"0$1"],[,"(\\d{2})(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3 $4",["2[125]|4[0-246-9]|5[1-35-7]|6[1-8]|7[14]|8[16]|91"],"(0$1)"],[,"(\\d{3})(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3 $4",["[24-9]"],"(0$1)"]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,"(?:2(?:[125]|3[2358]|4[2-4]|9[2-8])|4(?:[0-246-9]|5[3479])|5(?:[1-35-7]|4[2-467])|6(?:0[468]|[1-8])|7(?:[14]|2[236])|8(?:[16]|2[2-689]|3[23578]|4[3478]|5[2356])|9(?:1|22|3[27-9]|4[2-6]|6[3569]|9[2-7]))111\\d{6}",,,,"21111825888",,,[11,12]],,,[,,,,,,,,,[-1]]],PL:[,[,,"(?:6|8\\d\\d)\\d{7}|[1-9]\\d{6}(?:\\d{2})?|[26]\\d{5}",,,,,,,[6,7,8,9,10]],[,,"47\\d{7}|(?:1[2-8]|2[2-69]|3[2-4]|4[1-468]|5[24-689]|6[1-3578]|7[14-7]|8[1-79]|9[145])(?:[02-9]\\d{6}|1(?:[0-8]\\d{5}|9\\d{3}(?:\\d{2})?))",,,,"123456789",,,[7,9]],[,,"21(?:1(?:[145]\\d|3[1-5])|2[0-4]\\d)\\d{4}|(?:45|5[0137]|6[069]|7[2389]|88)\\d{7}",,,,"512345678",,,[9]],[,,"800\\d{6,7}",,,,"800123456",,,[9,10]],[,,"70[01346-8]\\d{6}",,,,"701234567",,,[9]],[,,"801\\d{6}",,,,"801234567",,,[9]],[,,,,,,,,,[-1]],[,,"39\\d{7}",,,,"391234567",,,[9]],"PL",48,"00",,,,,,,,[[,"(\\d{5})","$1",["19"]],[,"(\\d{3})(\\d{3})","$1 $2",["11|20|64"]],[,"(\\d{2})(\\d{2})(\\d{3})","$1 $2 $3",["(?:1[2-8]|2[2-69]|3[2-4]|4[1-468]|5[24-689]|6[1-3578]|7[14-7]|8[1-79]|9[145])1","(?:1[2-8]|2[2-69]|3[2-4]|4[1-468]|5[24-689]|6[1-3578]|7[14-7]|8[1-79]|9[145])19"]],[,"(\\d{3})(\\d{2})(\\d{2,3})","$1 $2 $3",["64"]],[,"(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["21|39|45|5[0137]|6[0469]|7[02389]|8(?:0[14]|8)"]],[,"(\\d{2})(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4",["1[2-8]|[2-7]|8[1-79]|9[145]"]],[,"(\\d{3})(\\d{3})(\\d{3,4})","$1 $2 $3",["8"]]],,[,,"64\\d{4,7}",,,,"641234567",,,[6,7,8,9]],,,[,,,,,,,,,[-1]],[,,"804\\d{6}",,,,"804123456",,,[9]],,,[,,,,,,,,,[-1]]],PM:[,[,,"(?:[45]|80\\d\\d)\\d{5}",,,,,,,[6,9]],[,,"(?:4[1-356]|50)\\d{4}",,,,"430123",,,[6]],[,,"(?:4[02-4]|5[056])\\d{4}",,,,"551234",,,[6]],[,,"80[0-5]\\d{6}",,,,"800012345",,,[9]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"PM",508,"00","0",,,"0",,,,[[,"(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3",["[45]"],"0$1"],[,"(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["8"],"0$1"]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],PR:[,[,,"(?:[589]\\d\\d|787)\\d{7}",,,,,,,[10],[7]],[,,"(?:787|939)[2-9]\\d{6}",,,,"7872345678",,,,[7]],[,,"(?:787|939)[2-9]\\d{6}",,,,"7872345678",,,,[7]],[,,"8(?:00|33|44|55|66|77|88)[2-9]\\d{6}",,,,"8002345678"],[,,"900[2-9]\\d{6}",,,,"9002345678"],[,,,,,,,,,[-1]],[,,"52(?:3(?:[2-46-9][02-9]\\d|5(?:[02-46-9]\\d|5[0-46-9]))|4(?:[2-478][02-9]\\d|5(?:[034]\\d|2[024-9]|5[0-46-9])|6(?:0[1-9]|[2-9]\\d)|9(?:[05-9]\\d|2[0-5]|49)))\\d{4}|52[34][2-9]1[02-9]\\d{4}|5(?:00|2[125-9]|33|44|66|77|88)[2-9]\\d{6}",,,,"5002345678"],[,,,,,,,,,[-1]],"PR",1,"011","1",,,"1",,,1,,,[,,,,,,,,,[-1]],,"787|939",[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],PS:[,[,,"[2489]2\\d{6}|(?:1\\d|5)\\d{8}",,,,,,,[8,9,10],[7]],[,,"(?:22[2-47-9]|42[45]|82[014-68]|92[3569])\\d{5}",,,,"22234567",,,[8],[7]],[,,"5[69]\\d{7}",,,,"599123456",,,[9]],[,,"1800\\d{6}",,,,"1800123456",,,[10]],[,,,,,,,,,[-1]],[,,"1700\\d{6}",,,,"1700123456",,,[10]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"PS",970,"00","0",,,"0",,,,[[,"(\\d)(\\d{3})(\\d{4})","$1 $2 $3",["[2489]"],"0$1"],[,"(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["5"],"0$1"],[,"(\\d{4})(\\d{3})(\\d{3})","$1 $2 $3",["1"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],PT:[,[,,"1693\\d{5}|(?:[26-9]\\d|30)\\d{7}",,,,,,,[9]],[,,"2(?:[12]\\d|3[1-689]|4[1-59]|[57][1-9]|6[1-35689]|8[1-69]|9[1256])\\d{6}",,,,"212345678"],[,,"6(?:[06]92(?:30|9\\d)|[35]92(?:3[03]|9\\d))\\d{3}|(?:(?:16|6[0356])93|9(?:[1-36]\\d\\d|480))\\d{5}",,,,"912345678"],[,,"80[02]\\d{6}",,,,"800123456"],[,,"(?:6(?:0[178]|4[68])\\d|76(?:0[1-57]|1[2-47]|2[237]))\\d{5}",,,,"760123456"],[,,"80(?:8\\d|9[1579])\\d{5}",,,,"808123456"],[,,"884[0-4689]\\d{5}",,,,"884123456"],[,,"30\\d{7}",,,,"301234567"],"PT",351,"00",,,,,,,,[[,"(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["2[12]"]],[,"(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["16|[236-9]"]]],,[,,"6222\\d{5}",,,,"622212345"],,,[,,,,,,,,,[-1]],[,,"70(?:7\\d|8[17])\\d{5}",,,,"707123456"],,,[,,"600\\d{6}|6[06]9233\\d{3}",,,,"600110000"]],PW:[,[,,"(?:[24-8]\\d\\d|345|900)\\d{4}",,,,,,,[7]],[,,"(?:2(?:55|77)|345|488|5(?:35|44|87)|6(?:22|54|79)|7(?:33|47)|8(?:24|55|76)|900)\\d{4}",,,,"2771234"],[,,"(?:(?:46|83)[0-5]|6[2-4689]0)\\d{4}|(?:45|77|88)\\d{5}",,,,"6201234"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"PW",680,"01[12]",,,,,,,,[[,"(\\d{3})(\\d{4})","$1 $2",["[2-9]"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],PY:[,[,,"59\\d{4,6}|9\\d{5,10}|(?:[2-46-8]\\d|5[0-8])\\d{4,7}",,,,,,,[6,7,8,9,10,11],[5]],[,,"(?:[26]1|3[289]|4[1246-8]|7[1-3]|8[1-36])\\d{5,7}|(?:2(?:2[4-68]|[4-68]\\d|7[15]|9[1-5])|3(?:18|3[167]|4[2357]|51|[67]\\d)|4(?:3[12]|5[13]|9[1-47])|5(?:[1-4]\\d|5[02-4])|6(?:3[1-3]|44|7[1-8])|7(?:4[0-4]|5\\d|6[1-578]|75|8[0-8])|858)\\d{5,6}",,,,"212345678",,,[7,8,9],[5,6]],[,,"9(?:51|6[129]|[78][1-6]|9[1-5])\\d{6}",,,,"961456789",,,[9]],[,,"9800\\d{5,7}",,,,"98000123456",,,[9,10,11]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,"8700[0-4]\\d{4}",,,,"870012345",,,[9]],"PY",595,"00","0",,,"0",,,,[[,"(\\d{3})(\\d{3,6})","$1 $2",["[2-9]0"],"0$1"],[,"(\\d{2})(\\d{5})","$1 $2",["[26]1|3[289]|4[1246-8]|7[1-3]|8[1-36]"],"(0$1)"],[,"(\\d{3})(\\d{4,5})","$1 $2",["2[279]|3[13-5]|4[359]|5|6(?:[34]|7[1-46-8])|7[46-8]|85"],"(0$1)"],[,"(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["2[14-68]|3[26-9]|4[1246-8]|6(?:1|75)|7[1-35]|8[1-36]"],"(0$1)"],[,"(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["87"]],[,"(\\d{3})(\\d{6})","$1 $2",["9(?:[5-79]|8[1-6])"],"0$1"],[,"(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[2-8]"],"0$1"],[,"(\\d{4})(\\d{3})(\\d{4})","$1 $2 $3",["9"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,"[2-9]0\\d{4,7}",,,,"201234567",,,[6,7,8,9]],,,[,,,,,,,,,[-1]]],QA:[,[,,"800\\d{4}|(?:2|800)\\d{6}|(?:0080|[3-7])\\d{7}",,,,,,,[7,8,9,11]],[,,"4(?:1111|2022)\\d{3}|4(?:[04]\\d\\d|14[0-6]|999)\\d{4}",,,,"44123456",,,[8]],[,,"[35-7]\\d{7}",,,,"33123456",,,[8]],[,,"800\\d{4}|(?:0080[01]|800)\\d{6}",,,,"8001234",,,[7,9,11]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"QA",974,"00",,,,,,,,[[,"(\\d{3})(\\d{4})","$1 $2",["2[16]|8"]],[,"(\\d{4})(\\d{4})","$1 $2",["[3-7]"]]],,[,,"2(?:1\\d|61)\\d{4}",,,,"2123456",,,[7]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],RE:[,[,,"(?:26|[689]\\d)\\d{7}",,,,,,,[9]],[,,"26(?:2\\d\\d|3(?:0\\d|1[0-3]))\\d{4}",,,,"262161234"],[,,"(?:69(?:2\\d\\d|3(?:0[0-46]|1[013]|2[0-2]|3[0-39]|4\\d|5[0-5]|6[0-6]|7[0-27]|8[0-8]|9[0-479]))|9(?:399[0-2]|4790|76(?:2[27]|3[0-37]|9\\d)))\\d{4}",,,,"692123456"],[,,"80\\d{7}",,,,"801234567"],[,,"89[1-37-9]\\d{6}",,,,"891123456"],[,,"8(?:1[019]|2[0156]|84|90)\\d{6}",,,,"810123456"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"RE",262,"00","0",,,"0",,,,[[,"(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[2689]"],"0$1"]],,[,,,,,,,,,[-1]],1,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],RO:[,[,,"(?:[2378]\\d|90)\\d{7}|[23]\\d{5}",,,,,,,[6,9]],[,,"[23][13-6]\\d{7}|(?:2(?:19\\d|[3-6]\\d9)|31\\d\\d)\\d\\d",,,,"211234567"],[,,"7020\\d{5}|7(?:0[013-9]|1[0-3]|[2-7]\\d|8[03-8]|9[0-29])\\d{6}",,,,"712034567",,,[9]],[,,"800\\d{6}",,,,"800123456",,,[9]],[,,"90[0136]\\d{6}",,,,"900123456",,,[9]],[,,"801\\d{6}",,,,"801123456",,,[9]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"RO",40,"00","0"," int ",,"0",,,,[[,"(\\d{3})(\\d{3})","$1 $2",["2[3-6]","2[3-6]\\d9"],"0$1"],[,"(\\d{2})(\\d{4})","$1 $2",["219|31"],"0$1"],[,"(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["[23]1"],"0$1"],[,"(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[237-9]"],"0$1"]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,"(?:37\\d|80[578])\\d{6}",,,,"372123456",,,[9]],,,[,,,,,,,,,[-1]]],RS:[,[,,"38[02-9]\\d{6,9}|6\\d{7,9}|90\\d{4,8}|38\\d{5,6}|(?:7\\d\\d|800)\\d{3,9}|(?:[12]\\d|3[0-79])\\d{5,10}",,,,,,,[6,7,8,9,10,11,12],[4,5]],[,,"(?:11[1-9]\\d|(?:2[389]|39)(?:0[2-9]|[2-9]\\d))\\d{3,8}|(?:1[02-9]|2[0-24-7]|3[0-8])[2-9]\\d{4,9}",,,,"10234567",,,[7,8,9,10,11,12],[4,5,6]],[,,"6(?:[0-689]|7\\d)\\d{6,7}",,,,"601234567",,,[8,9,10]],[,,"800\\d{3,9}",,,,"80012345"],[,,"(?:78\\d|90[0169])\\d{3,7}",,,,"90012345",,,[6,7,8,9,10]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"RS",381,"00","0",,,"0",,,,[[,"(\\d{3})(\\d{3,9})","$1 $2",["(?:2[389]|39)0|[7-9]"],"0$1"],[,"(\\d{2})(\\d{5,10})","$1 $2",["[1-36]"],"0$1"]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,"7[06]\\d{4,10}",,,,"700123456"],,,[,,,,,,,,,[-1]]],RU:[,[,,"8\\d{13}|[347-9]\\d{9}",,,,,,,[10,14],[7]],[,,"(?:3(?:0[12]|4[1-35-79]|5[1-3]|65|8[1-58]|9[0145])|4(?:01|1[1356]|2[13467]|7[1-5]|8[1-7]|9[1-689])|8(?:1[1-8]|2[01]|3[13-6]|4[0-8]|5[15]|6[1-35-79]|7[1-37-9]))\\d{7}",,,,"3011234567",,,[10],[7]],[,,"9\\d{9}",,,,"9123456789",,,[10]],[,,"8(?:0[04]|108\\d{3})\\d{7}",,,,"8001234567"],[,,"80[39]\\d{7}",,,,"8091234567",,,[10]],[,,,,,,,,,[-1]],[,,"808\\d{7}",,,,"8081234567",,,[10]],[,,,,,,,,,[-1]],"RU",7,"810","8",,,"8",,"8~10",,[[,"(\\d{3})(\\d{2})(\\d{2})","$1-$2-$3",["[0-79]"]],[,"(\\d{4})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["7(?:1[0-8]|2[1-9])","7(?:1(?:[0-356]2|4[29]|7|8[27])|2(?:1[23]|[2-9]2))","7(?:1(?:[0-356]2|4[29]|7|8[27])|2(?:13[03-69]|62[013-9]))|72[1-57-9]2"],"8 ($1)",,1],[,"(\\d{5})(\\d)(\\d{2})(\\d{2})","$1 $2 $3 $4",["7(?:1[0-68]|2[1-9])","7(?:1(?:[06][3-6]|[18]|2[35]|[3-5][3-5])|2(?:[13][3-5]|[24-689]|7[457]))","7(?:1(?:0(?:[356]|4[023])|[18]|2(?:3[013-9]|5)|3[45]|43[013-79]|5(?:3[1-8]|4[1-7]|5)|6(?:3[0-35-9]|[4-6]))|2(?:1(?:3[178]|[45])|[24-689]|3[35]|7[457]))|7(?:14|23)4[0-8]|71(?:33|45)[1-79]"],"8 ($1)",,1],[,"(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["7"],"8 ($1)",,1],[,"(\\d{3})(\\d{3})(\\d{2})(\\d{2})","$1 $2-$3-$4",["[349]|8(?:[02-7]|1[1-8])"],"8 ($1)",,1],[,"(\\d{4})(\\d{4})(\\d{3})(\\d{3})","$1 $2 $3 $4",["8"],"8 ($1)"]],[[,"(\\d{4})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["7(?:1[0-8]|2[1-9])","7(?:1(?:[0-356]2|4[29]|7|8[27])|2(?:1[23]|[2-9]2))","7(?:1(?:[0-356]2|4[29]|7|8[27])|2(?:13[03-69]|62[013-9]))|72[1-57-9]2"],"8 ($1)",,1],[,"(\\d{5})(\\d)(\\d{2})(\\d{2})","$1 $2 $3 $4",["7(?:1[0-68]|2[1-9])","7(?:1(?:[06][3-6]|[18]|2[35]|[3-5][3-5])|2(?:[13][3-5]|[24-689]|7[457]))","7(?:1(?:0(?:[356]|4[023])|[18]|2(?:3[013-9]|5)|3[45]|43[013-79]|5(?:3[1-8]|4[1-7]|5)|6(?:3[0-35-9]|[4-6]))|2(?:1(?:3[178]|[45])|[24-689]|3[35]|7[457]))|7(?:14|23)4[0-8]|71(?:33|45)[1-79]"],"8 ($1)",,1],[,"(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["7"],"8 ($1)",,1],[,"(\\d{3})(\\d{3})(\\d{2})(\\d{2})","$1 $2-$3-$4",["[349]|8(?:[02-7]|1[1-8])"],"8 ($1)",,1],[,"(\\d{4})(\\d{4})(\\d{3})(\\d{3})","$1 $2 $3 $4",["8"],"8 ($1)"]],[,,,,,,,,,[-1]],1,"3[04-689]|[489]",[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],RW:[,[,,"(?:06|[27]\\d\\d|[89]00)\\d{6}",,,,,,,[8,9]],[,,"(?:06|2[23568]\\d)\\d{6}",,,,"250123456"],[,,"7[2389]\\d{7}",,,,"720123456",,,[9]],[,,"800\\d{6}",,,,"800123456",,,[9]],[,,"900\\d{6}",,,,"900123456",,,[9]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"RW",250,"00","0",,,"0",,,,[[,"(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["0"]],[,"(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[7-9]"],"0$1"],[,"(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["2"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],SA:[,[,,"92\\d{7}|(?:[15]|8\\d)\\d{8}",,,,,,,[9,10],[7]],[,,"1(?:1\\d|2[24-8]|3[35-8]|4[3-68]|6[2-5]|7[235-7])\\d{6}",,,,"112345678",,,[9],[7]],[,,"579[01]\\d{5}|5(?:[013-689]\\d|7[0-35-8])\\d{6}",,,,"512345678",,,[9]],[,,"800\\d{7}",,,,"8001234567",,,[10]],[,,"925\\d{6}",,,,"925012345",,,[9]],[,,"920\\d{6}",,,,"920012345",,,[9]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"SA",966,"00","0",,,"0",,,,[[,"(\\d{4})(\\d{5})","$1 $2",["9"]],[,"(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["1"],"0$1"],[,"(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["5"],"0$1"],[,"(\\d{3})(\\d{3})(\\d{3,4})","$1 $2 $3",["81"],"0$1"],[,"(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["8"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,"811\\d{7}",,,,"8110123456",,,[10]],,,[,,,,,,,,,[-1]]],SB:[,[,,"(?:[1-6]|[7-9]\\d\\d)\\d{4}",,,,,,,[5,7]],[,,"(?:1[4-79]|[23]\\d|4[0-2]|5[03]|6[0-37])\\d{3}",,,,"40123",,,[5]],[,,"48\\d{3}|(?:(?:7[1-9]|8[4-9])\\d|9(?:1[2-9]|2[013-9]|3[0-2]|[46]\\d|5[0-46-9]|7[0-689]|8[0-79]|9[0-8]))\\d{4}",,,,"7421234"],[,,"1[38]\\d{3}",,,,"18123",,,[5]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,"5[12]\\d{3}",,,,"51123",,,[5]],"SB",677,"0[01]",,,,,,,,[[,"(\\d{2})(\\d{5})","$1 $2",["7|8[4-9]|9(?:[1-8]|9[0-8])"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],SC:[,[,,"800\\d{4}|(?:[249]\\d|64)\\d{5}",,,,,,,[7]],[,,"4[2-46]\\d{5}",,,,"4217123"],[,,"2[125-8]\\d{5}",,,,"2510123"],[,,"800[08]\\d{3}",,,,"8000000"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,"971\\d{4}|(?:64|95)\\d{5}",,,,"6412345"],"SC",248,"010|0[0-2]",,,,,,"00",,[[,"(\\d)(\\d{3})(\\d{3})","$1 $2 $3",["[246]|9[57]"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],SD:[,[,,"[19]\\d{8}",,,,,,,[9]],[,,"1(?:5\\d|8[35-7])\\d{6}",,,,"153123456"],[,,"(?:1[0-2]|9[0-3569])\\d{7}",,,,"911231234"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"SD",249,"00","0",,,"0",,,,[[,"(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["[19]"],"0$1"]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],SE:[,[,,"(?:[26]\\d\\d|9)\\d{9}|[1-9]\\d{8}|[1-689]\\d{7}|[1-4689]\\d{6}|2\\d{5}",,,,,,,[6,7,8,9,10,12]],[,,"(?:(?:[12][136]|3[356]|4[0246]|6[03]|8\\d)\\d|90[1-9])\\d{4,6}|(?:1(?:2[0-35]|4[0-4]|5[0-25-9]|7[13-6]|[89]\\d)|2(?:2[0-7]|4[0136-8]|5[0138]|7[018]|8[01]|9[0-57])|3(?:0[0-4]|1\\d|2[0-25]|4[056]|7[0-2]|8[0-3]|9[023])|4(?:1[013-8]|3[0135]|5[14-79]|7[0-246-9]|8[0156]|9[0-689])|5(?:0[0-6]|[15][0-5]|2[0-68]|3[0-4]|4\\d|6[03-5]|7[013]|8[0-79]|9[01])|6(?:1[1-3]|2[0-4]|4[02-57]|5[0-37]|6[0-3]|7[0-2]|8[0247]|9[0-356])|9(?:1[0-68]|2\\d|3[02-5]|4[0-3]|5[0-4]|[68][01]|7[0135-8]))\\d{5,6}",,,,"8123456",,,[7,8,9]],[,,"7[02369]\\d{7}",,,,"701234567",,,[9]],[,,"20\\d{4,7}",,,,"20123456",,,[6,7,8,9]],[,,"649\\d{6}|99[1-59]\\d{4}(?:\\d{3})?|9(?:00|39|44)[1-8]\\d{3,6}",,,,"9001234567",,,[7,8,9,10]],[,,"77[0-7]\\d{6}",,,,"771234567",,,[9]],[,,"75[1-8]\\d{6}",,,,"751234567",,,[9]],[,,,,,,,,,[-1]],"SE",46,"00","0",,,"0",,,,[[,"(\\d{2})(\\d{2,3})(\\d{2})","$1-$2 $3",["20"],"0$1"],[,"(\\d{3})(\\d{4})","$1-$2",["9(?:00|39|44|9)"],"0$1"],[,"(\\d{2})(\\d{3})(\\d{2})","$1-$2 $3",["[12][136]|3[356]|4[0246]|6[03]|90[1-9]"],"0$1"],[,"(\\d)(\\d{2,3})(\\d{2})(\\d{2})","$1-$2 $3 $4",["8"],"0$1"],[,"(\\d{3})(\\d{2,3})(\\d{2})","$1-$2 $3",["1[2457]|2(?:[247-9]|5[0138])|3[0247-9]|4[1357-9]|5[0-35-9]|6(?:[125689]|4[02-57]|7[0-2])|9(?:[125-8]|3[02-5]|4[0-3])"],"0$1"],[,"(\\d{3})(\\d{2,3})(\\d{3})","$1-$2 $3",["9(?:00|39|44)"],"0$1"],[,"(\\d{2})(\\d{2,3})(\\d{2})(\\d{2})","$1-$2 $3 $4",["1[13689]|2[0136]|3[1356]|4[0246]|54|6[03]|90[1-9]"],"0$1"],[,"(\\d{2})(\\d{3})(\\d{2})(\\d{2})","$1-$2 $3 $4",["10|7"],"0$1"],[,"(\\d)(\\d{3})(\\d{3})(\\d{2})","$1-$2 $3 $4",["8"],"0$1"],[,"(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1-$2 $3 $4",["[13-5]|2(?:[247-9]|5[0138])|6(?:[124-689]|7[0-2])|9(?:[125-8]|3[02-5]|4[0-3])"],"0$1"],[,"(\\d{3})(\\d{2})(\\d{2})(\\d{3})","$1-$2 $3 $4",["9"],"0$1"],[,"(\\d{3})(\\d{2})(\\d{3})(\\d{2})(\\d{2})","$1-$2 $3 $4 $5",["[26]"],"0$1"]],[[,"(\\d{2})(\\d{2,3})(\\d{2})","$1 $2 $3",["20"]],[,"(\\d{3})(\\d{4})","$1 $2",["9(?:00|39|44|9)"]],[,"(\\d{2})(\\d{3})(\\d{2})","$1 $2 $3",["[12][136]|3[356]|4[0246]|6[03]|90[1-9]"]],[,"(\\d)(\\d{2,3})(\\d{2})(\\d{2})","$1 $2 $3 $4",["8"]],[,"(\\d{3})(\\d{2,3})(\\d{2})","$1 $2 $3",["1[2457]|2(?:[247-9]|5[0138])|3[0247-9]|4[1357-9]|5[0-35-9]|6(?:[125689]|4[02-57]|7[0-2])|9(?:[125-8]|3[02-5]|4[0-3])"]],[,"(\\d{3})(\\d{2,3})(\\d{3})","$1 $2 $3",["9(?:00|39|44)"]],[,"(\\d{2})(\\d{2,3})(\\d{2})(\\d{2})","$1 $2 $3 $4",["1[13689]|2[0136]|3[1356]|4[0246]|54|6[03]|90[1-9]"]],[,"(\\d{2})(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4",["10|7"]],[,"(\\d)(\\d{3})(\\d{3})(\\d{2})","$1 $2 $3 $4",["8"]],[,"(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[13-5]|2(?:[247-9]|5[0138])|6(?:[124-689]|7[0-2])|9(?:[125-8]|3[02-5]|4[0-3])"]],[,"(\\d{3})(\\d{2})(\\d{2})(\\d{3})","$1 $2 $3 $4",["9"]],[,"(\\d{3})(\\d{2})(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4 $5",["[26]"]]],[,,"74[02-9]\\d{6}",,,,"740123456",,,[9]],,,[,,,,,,,,,[-1]],[,,"10[1-8]\\d{6}",,,,"102345678",,,[9]],,,[,,"(?:25[245]|67[3-68])\\d{9}",,,,"254123456789",,,[12]]],SG:[,[,,"(?:(?:1\\d|8)\\d\\d|7000)\\d{7}|[3689]\\d{7}",,,,,,,[8,10,11]],[,,"662[0-24-9]\\d{4}|6(?:[0-578]\\d|6[013-57-9]|9[0-35-9])\\d{5}",,,,"61234567",,,[8]],[,,"8(?:06[0-6]|95[0-2])\\d{4}|(?:8(?:0[1-5]|[1-8]\\d|9[0-4])|9[0-8]\\d)\\d{5}",,,,"81234567",,,[8]],[,,"(?:18|8)00\\d{7}",,,,"18001234567",,,[10,11]],[,,"1900\\d{7}",,,,"19001234567",,,[11]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,"(?:3[12]\\d|666)\\d{5}",,,,"31234567",,,[8]],"SG",65,"0[0-3]\\d",,,,,,,,[[,"(\\d{4,5})","$1",["1[013-9]|77","1(?:[013-8]|9(?:0[1-9]|[1-9]))|77"]],[,"(\\d{4})(\\d{4})","$1 $2",["[369]|8(?:0[1-6]|[1-9])"]],[,"(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["8"]],[,"(\\d{4})(\\d{4})(\\d{3})","$1 $2 $3",["7"]],[,"(\\d{4})(\\d{3})(\\d{4})","$1 $2 $3",["1"]]],[[,"(\\d{4})(\\d{4})","$1 $2",["[369]|8(?:0[1-6]|[1-9])"]],[,"(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["8"]],[,"(\\d{4})(\\d{4})(\\d{3})","$1 $2 $3",["7"]],[,"(\\d{4})(\\d{3})(\\d{4})","$1 $2 $3",["1"]]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,"7000\\d{7}",,,,"70001234567",,,[11]],,,[,,,,,,,,,[-1]]],SH:[,[,,"(?:[256]\\d|8)\\d{3}",,,,,,,[4,5]],[,,"2(?:[0-57-9]\\d|6[4-9])\\d\\d",,,,"22158"],[,,"[56]\\d{4}",,,,"51234",,,[5]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,"262\\d\\d",,,,"26212",,,[5]],"SH",290,"00",,,,,,,,,,[,,,,,,,,,[-1]],1,"[256]",[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],SI:[,[,,"[1-7]\\d{7}|8\\d{4,7}|90\\d{4,6}",,,,,,,[5,6,7,8]],[,,"(?:[1-357][2-8]|4[24-8])\\d{6}",,,,"12345678",,,[8],[7]],[,,"65(?:[178]\\d|5[56]|6[01])\\d{4}|(?:[37][01]|4[0139]|51|6[489])\\d{6}",,,,"31234567",,,[8]],[,,"80\\d{4,6}",,,,"80123456",,,[6,7,8]],[,,"89[1-3]\\d{2,5}|90\\d{4,6}",,,,"90123456"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,"(?:59\\d\\d|8(?:1(?:[67]\\d|8[0-589])|2(?:0\\d|2[0-37-9]|8[0-2489])|3[389]\\d))\\d{4}",,,,"59012345",,,[8]],"SI",386,"00|10(?:22|66|88|99)","0",,,"0",,"00",,[[,"(\\d{2})(\\d{3,6})","$1 $2",["8[09]|9"],"0$1"],[,"(\\d{3})(\\d{5})","$1 $2",["59|8"],"0$1"],[,"(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["[37][01]|4[0139]|51|6"],"0$1"],[,"(\\d)(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[1-57]"],"(0$1)"]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],SJ:[,[,,"0\\d{4}|(?:[489]\\d|[57]9)\\d{6}",,,,,,,[5,8]],[,,"79\\d{6}",,,,"79123456",,,[8]],[,,"(?:4[015-8]|59|9\\d)\\d{6}",,,,"41234567",,,[8]],[,,"80[01]\\d{5}",,,,"80012345",,,[8]],[,,"82[09]\\d{5}",,,,"82012345",,,[8]],[,,"810(?:0[0-6]|[2-8]\\d)\\d{3}",,,,"81021234",,,[8]],[,,"880\\d{5}",,,,"88012345",,,[8]],[,,"85[0-5]\\d{5}",,,,"85012345",,,[8]],"SJ",47,"00",,,,,,,,,,[,,,,,,,,,[-1]],,"79",[,,,,,,,,,[-1]],[,,"(?:0[2-9]|81(?:0(?:0[7-9]|1\\d)|5\\d\\d))\\d{3}",,,,"02000"],,,[,,"81[23]\\d{5}",,,,"81212345",,,[8]]],SK:[,[,,"[2-689]\\d{8}|[2-59]\\d{6}|[2-5]\\d{5}",,,,,,,[6,7,9]],[,,"(?:2(?:16|[2-9]\\d{3})|(?:(?:[3-5][1-8]\\d|819)\\d|601[1-5])\\d)\\d{4}|(?:2|[3-5][1-8])1[67]\\d{3}|[3-5][1-8]16\\d\\d",,,,"221234567"],[,,"909[1-9]\\d{5}|9(?:0[1-8]|1[0-24-9]|4[03-57-9]|5\\d)\\d{6}",,,,"912123456",,,[9]],[,,"800\\d{6}",,,,"800123456",,,[9]],[,,"9(?:00|[78]\\d)\\d{6}",,,,"900123456",,,[9]],[,,"8[5-9]\\d{7}",,,,"850123456",,,[9]],[,,,,,,,,,[-1]],[,,"6(?:02|5[0-4]|9[0-6])\\d{6}",,,,"690123456",,,[9]],"SK",421,"00","0",,,"0",,,,[[,"(\\d)(\\d{2})(\\d{3,4})","$1 $2 $3",["21"],"0$1"],[,"(\\d{2})(\\d{2})(\\d{2,3})","$1 $2 $3",["[3-5][1-8]1","[3-5][1-8]1[67]"],"0$1"],[,"(\\d{4})(\\d{3})","$1 $2",["909","9090"],"0$1"],[,"(\\d)(\\d{3})(\\d{3})(\\d{2})","$1/$2 $3 $4",["2"],"0$1"],[,"(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[689]"],"0$1"],[,"(\\d{2})(\\d{3})(\\d{2})(\\d{2})","$1/$2 $3 $4",["[3-5]"],"0$1"]],[[,"(\\d)(\\d{2})(\\d{3,4})","$1 $2 $3",["21"],"0$1"],[,"(\\d{2})(\\d{2})(\\d{2,3})","$1 $2 $3",["[3-5][1-8]1","[3-5][1-8]1[67]"],"0$1"],[,"(\\d)(\\d{3})(\\d{3})(\\d{2})","$1/$2 $3 $4",["2"],"0$1"],[,"(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[689]"],"0$1"],[,"(\\d{2})(\\d{3})(\\d{2})(\\d{2})","$1/$2 $3 $4",["[3-5]"],"0$1"]],[,,"9090\\d{3}",,,,"9090123",,,[7]],,,[,,"9090\\d{3}|(?:602|8(?:00|[5-9]\\d)|9(?:00|[78]\\d))\\d{6}",,,,,,,[7,9]],[,,"96\\d{7}",,,,"961234567",,,[9]],,,[,,,,,,,,,[-1]]],SL:[,[,,"(?:[237-9]\\d|66)\\d{6}",,,,,,,[8],[6]],[,,"22[2-4][2-9]\\d{4}",,,,"22221234",,,,[6]],[,,"(?:25|3[0-5]|66|7[2-9]|8[08]|9[09])\\d{6}",,,,"25123456"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"SL",232,"00","0",,,"0",,,,[[,"(\\d{2})(\\d{6})","$1 $2",["[236-9]"],"(0$1)"]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],SM:[,[,,"(?:0549|[5-7]\\d)\\d{6}",,,,,,,[8,10],[6]],[,,"0549(?:8[0157-9]|9\\d)\\d{4}",,,,"0549886377",,,[10],[6]],[,,"6[16]\\d{6}",,,,"66661212",,,[8]],[,,,,,,,,,[-1]],[,,"7[178]\\d{6}",,,,"71123456",,,[8]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,"5[158]\\d{6}",,,,"58001110",,,[8]],"SM",378,"00",,,,"([89]\\d{5})$","0549$1",,,[[,"(\\d{6})","$1",["[89]"]],[,"(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[5-7]"]],[,"(\\d{4})(\\d{6})","$1 $2",["0"]]],[[,"(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[5-7]"]],[,"(\\d{4})(\\d{6})","$1 $2",["0"]]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],SN:[,[,,"(?:[378]\\d|93)\\d{7}",,,,,,,[9]],[,,"3(?:0(?:1[0-2]|80)|282|3(?:8[1-9]|9[3-9])|611)\\d{5}",,,,"301012345"],[,,"7(?:(?:[06-8]\\d|21|90)\\d|5(?:01|[19]0|25|[38]3|[4-7]\\d))\\d{5}",,,,"701234567"],[,,"800\\d{6}",,,,"800123456"],[,,"88[4689]\\d{6}",,,,"884123456"],[,,"81[02468]\\d{6}",,,,"810123456"],[,,,,,,,,,[-1]],[,,"(?:3(?:392|9[01]\\d)\\d|93(?:3[13]0|929))\\d{4}",,,,"933301234"],"SN",221,"00",,,,,,,,[[,"(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["8"]],[,"(\\d{2})(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[379]"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],SO:[,[,,"[346-9]\\d{8}|[12679]\\d{7}|[1-5]\\d{6}|[1348]\\d{5}",,,,,,,[6,7,8,9]],[,,"(?:1\\d|2[0-79]|3[0-46-8]|4[0-7]|5[57-9])\\d{5}|(?:[134]\\d|8[125])\\d{4}",,,,"4012345",,,[6,7]],[,,"(?:(?:15|(?:3[59]|4[89]|79|8[08])\\d|6(?:0[5-7]|[1-9]\\d)|9(?:0\\d|[2-9]))\\d|2(?:4\\d|8))\\d{5}|(?:[67]\\d\\d|904)\\d{5}",,,,"71123456",,,[7,8,9]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"SO",252,"00","0",,,"0",,,,[[,"(\\d{2})(\\d{4})","$1 $2",["8[125]"]],[,"(\\d{6})","$1",["[134]"]],[,"(\\d)(\\d{6})","$1 $2",["[15]|2[0-79]|3[0-46-8]|4[0-7]"]],[,"(\\d)(\\d{7})","$1 $2",["(?:2|90)4|[67]"]],[,"(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[3478]|64|90"]],[,"(\\d{2})(\\d{5,7})","$1 $2",["1|28|6(?:0[5-7]|[1-35-9])|9[2-9]"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],SR:[,[,,"(?:[2-5]|68|[78]\\d)\\d{5}",,,,,,,[6,7]],[,,"(?:2[1-3]|3[0-7]|(?:4|68)\\d|5[2-58])\\d{4}",,,,"211234"],[,,"(?:7[124-7]|8[124-9])\\d{5}",,,,"7412345",,,[7]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,"56\\d{4}",,,,"561234",,,[6]],"SR",597,"00",,,,,,,,[[,"(\\d{2})(\\d{2})(\\d{2})","$1-$2-$3",["56"]],[,"(\\d{3})(\\d{3})","$1-$2",["[2-5]"]],[,"(\\d{3})(\\d{4})","$1-$2",["[6-8]"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],SS:[,[,,"[19]\\d{8}",,,,,,,[9]],[,,"1[89]\\d{7}",,,,"181234567"],[,,"(?:12|9[1257-9])\\d{7}",,,,"977123456"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"SS",211,"00","0",,,"0",,,,[[,"(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[19]"],"0$1"]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],ST:[,[,,"(?:22|9\\d)\\d{5}",,,,,,,[7]],[,,"22\\d{5}",,,,"2221234"],[,,"900[5-9]\\d{3}|9(?:0[1-9]|[89]\\d)\\d{4}",,,,"9812345"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"ST",239,"00",,,,,,,,[[,"(\\d{3})(\\d{4})","$1 $2",["[29]"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],SV:[,[,,"[267]\\d{7}|[89]00\\d{4}(?:\\d{4})?",,,,,,,[7,8,11]],[,,"2(?:[1-6]\\d{3}|[79]90[034]|890[0245])\\d{3}",,,,"21234567",,,[8]],[,,"66(?:[02-9]\\d\\d|1(?:[02-9]\\d|16))\\d{3}|(?:6[0-57-9]|7\\d)\\d{6}",,,,"70123456",,,[8]],[,,"800\\d{4}(?:\\d{4})?",,,,"8001234",,,[7,11]],[,,"900\\d{4}(?:\\d{4})?",,,,"9001234",,,[7,11]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"SV",503,"00",,,,,,,,[[,"(\\d{3})(\\d{4})","$1 $2",["[89]"]],[,"(\\d{4})(\\d{4})","$1 $2",["[267]"]],[,"(\\d{3})(\\d{4})(\\d{4})","$1 $2 $3",["[89]"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],SX:[,[,,"7215\\d{6}|(?:[58]\\d\\d|900)\\d{7}",,,,,,,[10],[7]],[,,"7215(?:4[2-8]|8[239]|9[056])\\d{4}",,,,"7215425678",,,,[7]],[,,"7215(?:1[02]|2\\d|5[034679]|8[014-8])\\d{4}",,,,"7215205678",,,,[7]],[,,"8(?:00|33|44|55|66|77|88)[2-9]\\d{6}",,,,"8002123456"],[,,"900[2-9]\\d{6}",,,,"9002123456"],[,,,,,,,,,[-1]],[,,"52(?:3(?:[2-46-9][02-9]\\d|5(?:[02-46-9]\\d|5[0-46-9]))|4(?:[2-478][02-9]\\d|5(?:[034]\\d|2[024-9]|5[0-46-9])|6(?:0[1-9]|[2-9]\\d)|9(?:[05-9]\\d|2[0-5]|49)))\\d{4}|52[34][2-9]1[02-9]\\d{4}|5(?:00|2[125-9]|33|44|66|77|88)[2-9]\\d{6}",,,,"5002345678"],[,,,,,,,,,[-1]],"SX",1,"011","1",,,"(5\\d{6})$|1","721$1",,,,,[,,,,,,,,,[-1]],,"721",[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],SY:[,[,,"[1-39]\\d{8}|[1-5]\\d{7}",,,,,,,[8,9],[6,7]],[,,"21\\d{6,7}|(?:1(?:[14]\\d|[2356])|2[235]|3(?:[13]\\d|4)|4[134]|5[1-3])\\d{6}",,,,"112345678",,,,[6,7]],[,,"9[1-689]\\d{7}",,,,"944567890",,,[9]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"SY",963,"00","0",,,"0",,,,[[,"(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["[1-5]"],"0$1",,1],[,"(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["9"],"0$1",,1]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],SZ:[,[,,"0800\\d{4}|(?:[237]\\d|900)\\d{6}",,,,,,,[8,9]],[,,"[23][2-5]\\d{6}",,,,"22171234",,,[8]],[,,"7[6-9]\\d{6}",,,,"76123456",,,[8]],[,,"0800\\d{4}",,,,"08001234",,,[8]],[,,"900\\d{6}",,,,"900012345",,,[9]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,"70\\d{6}",,,,"70012345",,,[8]],"SZ",268,"00",,,,,,,,[[,"(\\d{4})(\\d{4})","$1 $2",["[0237]"]],[,"(\\d{5})(\\d{4})","$1 $2",["9"]]],,[,,,,,,,,,[-1]],,,[,,"0800\\d{4}",,,,,,,[8]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],TA:[,[,,"8\\d{3}",,,,,,,[4]],[,,"8\\d{3}",,,,"8999"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"TA",290,"00",,,,,,,,,,[,,,,,,,,,[-1]],,"8",[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],TC:[,[,,"(?:[58]\\d\\d|649|900)\\d{7}",,,,,,,[10],[7]],[,,"649(?:266|712|9(?:4\\d|50))\\d{4}",,,,"6497121234",,,,[7]],[,,"649(?:2(?:3[129]|4[1-79])|3\\d\\d|4[34][1-3])\\d{4}",,,,"6492311234",,,,[7]],[,,"8(?:00|33|44|55|66|77|88)[2-9]\\d{6}",,,,"8002345678"],[,,"900[2-9]\\d{6}",,,,"9002345678"],[,,,,,,,,,[-1]],[,,"52(?:3(?:[2-46-9][02-9]\\d|5(?:[02-46-9]\\d|5[0-46-9]))|4(?:[2-478][02-9]\\d|5(?:[034]\\d|2[024-9]|5[0-46-9])|6(?:0[1-9]|[2-9]\\d)|9(?:[05-9]\\d|2[0-5]|49)))\\d{4}|52[34][2-9]1[02-9]\\d{4}|5(?:00|2[125-9]|33|44|66|77|88)[2-9]\\d{6}",,,,"5002345678"],[,,"649(?:71[01]|966)\\d{4}",,,,"6497101234",,,,[7]],"TC",1,"011","1",,,"([2-479]\\d{6})$|1","649$1",,,,,[,,,,,,,,,[-1]],,"649",[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],TD:[,[,,"(?:22|[69]\\d|77)\\d{6}",,,,,,,[8]],[,,"22(?:[37-9]0|5[0-5]|6[89])\\d{4}",,,,"22501234"],[,,"(?:6[0235689]|77|9\\d)\\d{6}",,,,"63012345"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"TD",235,"00|16",,,,,,"00",,[[,"(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[2679]"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],TG:[,[,,"[279]\\d{7}",,,,,,,[8]],[,,"2(?:2[2-7]|3[23]|4[45]|55|6[67]|77)\\d{5}",,,,"22212345"],[,,"(?:7[019]|9[0-36-9])\\d{6}",,,,"90112345"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"TG",228,"00",,,,,,,,[[,"(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[279]"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],TH:[,[,,"(?:001800|[2-57]|[689]\\d)\\d{7}|1\\d{7,9}",,,,,,,[8,9,10,13]],[,,"(?:1[0689]|2\\d|3[2-9]|4[2-5]|5[2-6]|7[3-7])\\d{6}",,,,"21234567",,,[8]],[,,"671[0-8]\\d{5}|(?:14|6[1-6]|[89]\\d)\\d{7}",,,,"812345678",,,[9]],[,,"(?:001800\\d|1800)\\d{6}",,,,"1800123456",,,[10,13]],[,,"1900\\d{6}",,,,"1900123456",,,[10]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,"6[08]\\d{7}",,,,"601234567",,,[9]],"TH",66,"00[1-9]","0",,,"0",,,,[[,"(\\d)(\\d{3})(\\d{4})","$1 $2 $3",["2"],"0$1"],[,"(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["[13-9]"],"0$1"],[,"(\\d{4})(\\d{3})(\\d{3})","$1 $2 $3",["1"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],TJ:[,[,,"(?:00|[1-57-9]\\d)\\d{7}",,,,,,,[9],[3,5,6,7]],[,,"(?:3(?:1[3-5]|2[245]|3[12]|4[24-7]|5[25]|72)|4(?:46|74|87))\\d{6}",,,,"372123456",,,,[3,5,6,7]],[,,"41[18]\\d{6}|(?:[034]0|1[017]|2[02]|5[05]|7[0178]|8[078]|9\\d)\\d{7}",,,,"917123456"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"TJ",992,"810",,,,,,"8~10",,[[,"(\\d{6})(\\d)(\\d{2})","$1 $2 $3",["331","3317"]],[,"(\\d{3})(\\d{2})(\\d{4})","$1 $2 $3",["[34]7|91[78]"]],[,"(\\d{4})(\\d)(\\d{4})","$1 $2 $3",["3[1-5]"]],[,"(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["[0-57-9]"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],TK:[,[,,"[2-47]\\d{3,6}",,,,,,,[4,5,6,7]],[,,"(?:2[2-4]|[34]\\d)\\d{2,5}",,,,"3101"],[,,"7[2-4]\\d{2,5}",,,,"7290"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"TK",690,"00",,,,,,,,,,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],TL:[,[,,"7\\d{7}|(?:[2-47]\\d|[89]0)\\d{5}",,,,,,,[7,8]],[,,"(?:2[1-5]|3[1-9]|4[1-4])\\d{5}",,,,"2112345",,,[7]],[,,"7[2-8]\\d{6}",,,,"77212345",,,[8]],[,,"80\\d{5}",,,,"8012345",,,[7]],[,,"90\\d{5}",,,,"9012345",,,[7]],[,,,,,,,,,[-1]],[,,"70\\d{5}",,,,"7012345",,,[7]],[,,,,,,,,,[-1]],"TL",670,"00",,,,,,,,[[,"(\\d{3})(\\d{4})","$1 $2",["[2-489]|70"]],[,"(\\d{4})(\\d{4})","$1 $2",["7"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],TM:[,[,,"[1-6]\\d{7}",,,,,,,[8]],[,,"(?:1(?:2\\d|3[1-9])|2(?:22|4[0-35-8])|3(?:22|4[03-9])|4(?:22|3[128]|4\\d|6[15])|5(?:22|5[7-9]|6[014-689]))\\d{5}",,,,"12345678"],[,,"6\\d{7}",,,,"66123456"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"TM",993,"810","8",,,"8",,"8~10",,[[,"(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2-$3-$4",["12"],"(8 $1)"],[,"(\\d{3})(\\d)(\\d{2})(\\d{2})","$1 $2-$3-$4",["[1-5]"],"(8 $1)"],[,"(\\d{2})(\\d{6})","$1 $2",["6"],"8 $1"]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],TN:[,[,,"[2-57-9]\\d{7}",,,,,,,[8]],[,,"81200\\d{3}|(?:3[0-2]|7\\d)\\d{6}",,,,"30010123"],[,,"3(?:001|[12]40)\\d{4}|(?:(?:[259]\\d|4[0-7])\\d|3(?:1[1-35]|6[0-4]|91))\\d{5}",,,,"20123456"],[,,"8010\\d{4}",,,,"80101234"],[,,"88\\d{6}",,,,"88123456"],[,,"8[12]10\\d{4}",,,,"81101234"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"TN",216,"00",,,,,,,,[[,"(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["[2-57-9]"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],TO:[,[,,"(?:0800|(?:[5-8]\\d\\d|999)\\d)\\d{3}|[2-8]\\d{4}",,,,,,,[5,7]],[,,"(?:2\\d|3[0-8]|4[0-4]|50|6[09]|7[0-24-69]|8[05])\\d{3}",,,,"20123",,,[5]],[,,"(?:55[4-6]|6(?:[09]\\d|3[02]|8[15-9])|(?:7\\d|8[46-9])\\d|999)\\d{4}",,,,"7715123",,,[7]],[,,"0800\\d{3}",,,,"0800222",,,[7]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,"55[0-37-9]\\d{4}",,,,"5510123",,,[7]],"TO",676,"00",,,,,,,,[[,"(\\d{2})(\\d{3})","$1-$2",["[2-4]|50|6[09]|7[0-24-69]|8[05]"]],[,"(\\d{4})(\\d{3})","$1 $2",["0"]],[,"(\\d{3})(\\d{4})","$1 $2",["[5-9]"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],TR:[,[,,"4\\d{6}|8\\d{11,12}|(?:[2-58]\\d\\d|900)\\d{7}",,,,,,,[7,10,12,13]],[,,"(?:2(?:[13][26]|[28][2468]|[45][268]|[67][246])|3(?:[13][28]|[24-6][2468]|[78][02468]|92)|4(?:[16][246]|[23578][2468]|4[26]))\\d{7}",,,,"2123456789",,,[10]],[,,"56161\\d{5}|5(?:0[15-7]|1[06]|24|[34]\\d|5[1-59]|9[46])\\d{7}",,,,"5012345678",,,[10]],[,,"8(?:00\\d{7}(?:\\d{2,3})?|11\\d{7})",,,,"8001234567",,,[10,12,13]],[,,"(?:8[89]8|900)\\d{7}",,,,"9001234567",,,[10]],[,,,,,,,,,[-1]],[,,"592(?:21[12]|461)\\d{4}",,,,"5922121234",,,[10]],[,,"850\\d{7}",,,,"8500123456",,,[10]],"TR",90,"00","0",,,"0",,,,[[,"(\\d{3})(\\d)(\\d{3})","$1 $2 $3",["444"],,,1],[,"(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["512|8[01589]|90"],"0$1",,1],[,"(\\d{3})(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4",["5(?:[0-59]|61)","5(?:[0-59]|616)","5(?:[0-59]|6161)"],"0$1",,1],[,"(\\d{3})(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[24][1-8]|3[1-9]"],"(0$1)",,1],[,"(\\d{3})(\\d{3})(\\d{6,7})","$1 $2 $3",["80"],"0$1",,1]],[[,"(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["512|8[01589]|90"],"0$1",,1],[,"(\\d{3})(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4",["5(?:[0-59]|61)","5(?:[0-59]|616)","5(?:[0-59]|6161)"],"0$1",,1],[,"(\\d{3})(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[24][1-8]|3[1-9]"],"(0$1)",,1],[,"(\\d{3})(\\d{3})(\\d{6,7})","$1 $2 $3",["80"],"0$1",,1]],[,,"512\\d{7}",,,,"5123456789",,,[10]],,,[,,"(?:444|811\\d{3})\\d{4}",,,,,,,[7,10]],[,,"444\\d{4}",,,,"4441444",,,[7]],,,[,,,,,,,,,[-1]]],TT:[,[,,"(?:[58]\\d\\d|900)\\d{7}",,,,,,,[10],[7]],[,,"868(?:2(?:01|1[5-9]|[23]\\d|4[0-2])|6(?:0[7-9]|1[02-8]|2[1-9]|[3-69]\\d|7[0-79])|82[124])\\d{4}",,,,"8682211234",,,,[7]],[,,"868(?:(?:2[5-9]|3\\d)\\d|4(?:3[0-6]|[6-9]\\d)|6(?:20|78|8\\d)|7(?:0[1-9]|1[02-9]|[2-9]\\d))\\d{4}",,,,"8682911234",,,,[7]],[,,"8(?:00|33|44|55|66|77|88)[2-9]\\d{6}",,,,"8002345678"],[,,"900[2-9]\\d{6}",,,,"9002345678"],[,,,,,,,,,[-1]],[,,"52(?:3(?:[2-46-9][02-9]\\d|5(?:[02-46-9]\\d|5[0-46-9]))|4(?:[2-478][02-9]\\d|5(?:[034]\\d|2[024-9]|5[0-46-9])|6(?:0[1-9]|[2-9]\\d)|9(?:[05-9]\\d|2[0-5]|49)))\\d{4}|52[34][2-9]1[02-9]\\d{4}|5(?:00|2[125-9]|33|44|66|77|88)[2-9]\\d{6}",,,,"5002345678"],[,,,,,,,,,[-1]],"TT",1,"011","1",,,"([2-46-8]\\d{6})$|1","868$1",,,,,[,,,,,,,,,[-1]],,"868",[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,"868619\\d{4}",,,,"8686191234",,,,[7]]],TV:[,[,,"(?:2|7\\d\\d|90)\\d{4}",,,,,,,[5,6,7]],[,,"2[02-9]\\d{3}",,,,"20123",,,[5]],[,,"(?:7[01]\\d|90)\\d{4}",,,,"901234",,,[6,7]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"TV",688,"00",,,,,,,,[[,"(\\d{2})(\\d{3})","$1 $2",["2"]],[,"(\\d{2})(\\d{4})","$1 $2",["90"]],[,"(\\d{2})(\\d{5})","$1 $2",["7"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],TW:[,[,,"[2-689]\\d{8}|7\\d{9,10}|[2-8]\\d{7}|2\\d{6}",,,,,,,[7,8,9,10,11]],[,,"(?:2[2-8]\\d|370|55[01]|7[1-9])\\d{6}|4(?:(?:0(?:0[1-9]|[2-48]\\d)|1[023]\\d)\\d{4,5}|(?:[239]\\d\\d|4(?:0[56]|12|49))\\d{5})|6(?:[01]\\d{7}|4(?:0[56]|12|24|4[09])\\d{4,5})|8(?:(?:2(?:3\\d|4[0-269]|[578]0|66)|36[24-9]|90\\d\\d)\\d{4}|4(?:0[56]|12|24|4[09])\\d{4,5})|(?:2(?:2(?:0\\d\\d|4(?:0[68]|[249]0|3[0-467]|5[0-25-9]|6[0235689]))|(?:3(?:[09]\\d|1[0-4])|(?:4\\d|5[0-49]|6[0-29]|7[0-5])\\d)\\d)|(?:(?:3[2-9]|5[2-8]|6[0-35-79]|8[7-9])\\d\\d|4(?:2(?:[089]\\d|7[1-9])|(?:3[0-4]|[78]\\d|9[01])\\d))\\d)\\d{3}",,,,"221234567",,,[8,9]],[,,"(?:40001[0-2]|9[0-8]\\d{4})\\d{3}",,,,"912345678",,,[9]],[,,"80[0-79]\\d{6}|800\\d{5}",,,,"800123456",,,[8,9]],[,,"20(?:[013-9]\\d\\d|2)\\d{4}",,,,"203123456",,,[7,9]],[,,,,,,,,,[-1]],[,,"99\\d{7}",,,,"990123456",,,[9]],[,,"7010(?:[0-2679]\\d|3[0-7]|8[0-5])\\d{5}|70\\d{8}",,,,"7012345678",,,[10,11]],"TW",886,"0(?:0[25-79]|19)","0","#",,"0",,,,[[,"(\\d{2})(\\d)(\\d{4})","$1 $2 $3",["202"],"0$1"],[,"(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["[258]0"],"0$1"],[,"(\\d)(\\d{3,4})(\\d{4})","$1 $2 $3",["[23568]|4(?:0[02-48]|[1-47-9])|7[1-9]","[23568]|4(?:0[2-48]|[1-47-9])|(?:400|7)[1-9]"],"0$1"],[,"(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[49]"],"0$1"],[,"(\\d{2})(\\d{4})(\\d{4,5})","$1 $2 $3",["7"],"0$1"]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,"50[0-46-9]\\d{6}",,,,"500123456",,,[9]],,,[,,,,,,,,,[-1]]],TZ:[,[,,"(?:[25-8]\\d|41|90)\\d{7}",,,,,,,[9]],[,,"2[2-8]\\d{7}",,,,"222345678"],[,,"77[2-9]\\d{6}|(?:6[125-9]|7[13-689])\\d{7}",,,,"621234567"],[,,"80[08]\\d{6}",,,,"800123456"],[,,"90\\d{7}",,,,"900123456"],[,,"8(?:40|6[01])\\d{6}",,,,"840123456"],[,,,,,,,,,[-1]],[,,"41\\d{7}",,,,"412345678"],"TZ",255,"00[056]","0",,,"0",,,,[[,"(\\d{3})(\\d{2})(\\d{4})","$1 $2 $3",["[89]"],"0$1"],[,"(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["[24]"],"0$1"],[,"(\\d{2})(\\d{7})","$1 $2",["5"]],[,"(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[67]"],"0$1"]],,[,,,,,,,,,[-1]],,,[,,"(?:8(?:[04]0|6[01])|90\\d)\\d{6}"],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],UA:[,[,,"[89]\\d{9}|[3-9]\\d{8}",,,,,,,[9,10],[5,6,7]],[,,"(?:3[1-8]|4[13-8]|5[1-7]|6[12459])\\d{7}",,,,"311234567",,,[9],[5,6,7]],[,,"(?:39|50|6[36-8]|7[1-3]|9[1-9])\\d{7}",,,,"501234567",,,[9]],[,,"800[1-8]\\d{5,6}",,,,"800123456"],[,,"900[239]\\d{5,6}",,,,"900212345"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,"89[1-579]\\d{6}",,,,"891234567",,,[9]],"UA",380,"00","0",,,"0",,"0~0",,[[,"(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["6[12][29]|(?:3[1-8]|4[136-8]|5[12457]|6[49])2|(?:56|65)[24]","6[12][29]|(?:35|4[1378]|5[12457]|6[49])2|(?:56|65)[24]|(?:3[1-46-8]|46)2[013-9]"],"0$1"],[,"(\\d{4})(\\d{5})","$1 $2",["3[1-8]|4(?:[1367]|[45][6-9]|8[4-6])|5(?:[1-5]|6[0135689]|7[4-6])|6(?:[12][3-7]|[459])","3[1-8]|4(?:[1367]|[45][6-9]|8[4-6])|5(?:[1-5]|6(?:[015689]|3[02389])|7[4-6])|6(?:[12][3-7]|[459])"],"0$1"],[,"(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["[3-7]|89|9[1-9]"],"0$1"],[,"(\\d{3})(\\d{3})(\\d{3,4})","$1 $2 $3",["[89]"],"0$1"]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],UG:[,[,,"800\\d{6}|(?:[29]0|[347]\\d)\\d{7}",,,,,,,[9],[5,6,7]],[,,"20(?:(?:240|30[67])\\d|6(?:00[0-2]|30[0-4]))\\d{3}|(?:20(?:[017]\\d|2[5-9]|32|5[0-4]|6[15-9])|[34]\\d{3})\\d{5}",,,,"312345678",,,,[5,6,7]],[,,"726[01]\\d{5}|7(?:[01578]\\d|20|36|[46][0-4]|9[89])\\d{6}",,,,"712345678"],[,,"800[1-3]\\d{5}",,,,"800123456"],[,,"90[1-3]\\d{6}",,,,"901123456"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"UG",256,"00[057]","0",,,"0",,,,[[,"(\\d{4})(\\d{5})","$1 $2",["202","2024"],"0$1"],[,"(\\d{3})(\\d{6})","$1 $2",["[27-9]|4(?:6[45]|[7-9])"],"0$1"],[,"(\\d{2})(\\d{7})","$1 $2",["[34]"],"0$1"]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],US:[,[,,"[2-9]\\d{9}|3\\d{6}",,,,,,,[10],[7]],[,,"(?:47220[01]|5(?:05(?:[2-57-9]\\d\\d|6(?:[0-35-9]\\d|4[46]))|57200))\\d{4}|(?:2(?:0[1-35-9]|1[02-9]|2[03-589]|3[149]|4[08]|5[1-46]|6[0279]|7[0269]|8[13])|3(?:0[1-57-9]|1[02-9]|2[01356]|3[0-24679]|4[167]|5[0-2]|6[014]|8[056])|4(?:0[124-9]|1[02-579]|2[3-5]|3[0245]|4[023578]|58|6[349]|7[0589]|8[04])|5(?:0[1-47-9]|1[0235-8]|20|3[0149]|4[01]|5[19]|6[1-47]|7[0-5]|8[0256])|6(?:0[1-35-9]|1[024-9]|2[03689]|[34][016]|5[01679]|6[0-279]|78|8[0-29])|7(?:0[1-46-8]|1[2-9]|2[04-7]|3[1247]|4[037]|5[47]|6[02359]|7[0-59]|8[156])|8(?:0[1-68]|1[02-8]|2[068]|3[0-2589]|4[03578]|5[046-9]|6[02-5]|7[028])|9(?:0[1346-9]|1[02-9]|2[0589]|3[0146-8]|4[01357-9]|5[12469]|7[0-389]|8[04-69]))[2-9]\\d{6}",,,,"2015550123",,,,[7]],[,,"(?:47220[01]|5(?:05(?:[2-57-9]\\d\\d|6(?:[0-35-9]\\d|4[46]))|57200))\\d{4}|(?:2(?:0[1-35-9]|1[02-9]|2[03-589]|3[149]|4[08]|5[1-46]|6[0279]|7[0269]|8[13])|3(?:0[1-57-9]|1[02-9]|2[01356]|3[0-24679]|4[167]|5[0-2]|6[014]|8[056])|4(?:0[124-9]|1[02-579]|2[3-5]|3[0245]|4[023578]|58|6[349]|7[0589]|8[04])|5(?:0[1-47-9]|1[0235-8]|20|3[0149]|4[01]|5[19]|6[1-47]|7[0-5]|8[0256])|6(?:0[1-35-9]|1[024-9]|2[03689]|[34][016]|5[01679]|6[0-279]|78|8[0-29])|7(?:0[1-46-8]|1[2-9]|2[04-7]|3[1247]|4[037]|5[47]|6[02359]|7[0-59]|8[156])|8(?:0[1-68]|1[02-8]|2[068]|3[0-2589]|4[03578]|5[046-9]|6[02-5]|7[028])|9(?:0[1346-9]|1[02-9]|2[0589]|3[0146-8]|4[01357-9]|5[12469]|7[0-389]|8[04-69]))[2-9]\\d{6}",,,,"2015550123",,,,[7]],[,,"8(?:00|33|44|55|66|77|88)[2-9]\\d{6}",,,,"8002345678"],[,,"900[2-9]\\d{6}",,,,"9002345678"],[,,,,,,,,,[-1]],[,,"52(?:3(?:[2-46-9][02-9]\\d|5(?:[02-46-9]\\d|5[0-46-9]))|4(?:[2-478][02-9]\\d|5(?:[034]\\d|2[024-9]|5[0-46-9])|6(?:0[1-9]|[2-9]\\d)|9(?:[05-9]\\d|2[0-5]|49)))\\d{4}|52[34][2-9]1[02-9]\\d{4}|5(?:00|2[125-9]|33|44|66|77|88)[2-9]\\d{6}",,,,"5002345678"],[,,,,,,,,,[-1]],"US",1,"011","1",,,"1",,,1,[[,"(\\d{3})(\\d{4})","$1-$2",["310"],,,1],[,"(\\d{3})(\\d{4})","$1-$2",["[24-9]|3(?:[02-9]|1[1-9])"]],[,"(\\d{3})(\\d{3})(\\d{4})","($1) $2-$3",["[2-9]"],,,1]],[[,"(\\d{3})(\\d{4})","$1-$2",["310"],,,1],[,"(\\d{3})(\\d{3})(\\d{4})","$1-$2-$3",["[2-9]"]]],[,,,,,,,,,[-1]],1,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],UY:[,[,,"(?:0004|4)\\d{9}|[1249]\\d{7}|(?:[49]\\d|80)\\d{5}",,,,,,,[7,8,10,13]],[,,"(?:1(?:770|987)|(?:2\\d|4[2-7])\\d\\d)\\d{4}",,,,"21231234",,,[8],[7]],[,,"9[1-9]\\d{6}",,,,"94231234",,,[8]],[,,"(?:(?:0004|4)\\d{5}|80[05])\\d{4}|405\\d{4}",,,,"8001234",,,[7,10,13]],[,,"90[0-8]\\d{4}",,,,"9001234",,,[7]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"UY",598,"0(?:0|1[3-9]\\d)","0"," int. ",,"0",,"00",,[[,"(\\d{3})(\\d{4})","$1 $2",["405|8|90"],"0$1"],[,"(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["9"],"0$1"],[,"(\\d{4})(\\d{4})","$1 $2",["[124]"]],[,"(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["4"],"0$1"],[,"(\\d{3})(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3 $4",["0"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],UZ:[,[,,"(?:33|[5-79]\\d|88)\\d{7}",,,,,,,[9]],[,,"(?:55\\d\\d|6(?:1(?:22|3[124]|4[1-4]|5[1-3578]|64)|2(?:22|3[0-57-9]|41)|5(?:22|3[3-7]|5[024-8])|6\\d\\d|7(?:[23]\\d|7[69])|9(?:22|4[1-8]|6[135]))|7(?:0(?:5[4-9]|6[0146]|7[124-6]|9[135-8])|(?:1[12]|8\\d)\\d|2(?:22|3[13-57-9]|4[1-3579]|5[14])|3(?:2\\d|3[1578]|4[1-35-7]|5[1-57]|61)|4(?:2\\d|3[1-579]|7[1-79])|5(?:22|5[1-9]|6[1457])|6(?:22|3[12457]|4[13-8])|9(?:22|5[1-9])))\\d{5}",,,,"669050123"],[,,"(?:(?:33|50|88|9[0-57-9])\\d{3}|6(?:1(?:2(?:2[01]|98)|35[0-4]|50\\d|61[23]|7(?:[01][017]|4\\d|55|9[5-9]))|2(?:(?:11|7\\d)\\d|2(?:[12]1|9[01379])|5(?:[126]\\d|3[0-4]))|5(?:19[01]|2(?:27|9[26])|(?:30|59|7\\d)\\d)|6(?:2(?:1[5-9]|2[0367]|38|41|52|60)|(?:3[79]|9[0-3])\\d|4(?:56|83)|7(?:[07]\\d|1[017]|3[07]|4[047]|5[057]|67|8[0178]|9[79]))|7(?:2(?:24|3[237]|4[5-9]|7[15-8])|5(?:7[12]|8[0589])|7(?:0\\d|[39][07])|9(?:0\\d|7[079]))|9(?:2(?:1[1267]|3[01]|5\\d|7[0-4])|(?:5[67]|7\\d)\\d|6(?:2[0-26]|8\\d)))|7(?:[07]\\d{3}|1(?:13[01]|6(?:0[47]|1[67]|66)|71[3-69]|98\\d)|2(?:2(?:2[79]|95)|3(?:2[5-9]|6[0-6])|57\\d|7(?:0\\d|1[17]|2[27]|3[37]|44|5[057]|66|88))|3(?:2(?:1[0-6]|21|3[469]|7[159])|(?:33|9[4-6])\\d|5(?:0[0-4]|5[579]|9\\d)|7(?:[0-3579]\\d|4[0467]|6[67]|8[078]))|4(?:2(?:29|5[0257]|6[0-7]|7[1-57])|5(?:1[0-4]|8\\d|9[5-9])|7(?:0\\d|1[024589]|2[0-27]|3[0137]|[46][07]|5[01]|7[5-9]|9[079])|9(?:7[015-9]|[89]\\d))|5(?:112|2(?:0\\d|2[29]|[49]4)|3[1568]\\d|52[6-9]|7(?:0[01578]|1[017]|[23]7|4[047]|[5-7]\\d|8[78]|9[079]))|6(?:2(?:2[1245]|4[2-4])|39\\d|41[179]|5(?:[349]\\d|5[0-2])|7(?:0[017]|[13]\\d|22|44|55|67|88))|9(?:22[128]|3(?:2[0-4]|7\\d)|57[02569]|7(?:2[05-9]|3[37]|4\\d|60|7[2579]|87|9[07]))))\\d{4}",,,,"912345678"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"UZ",998,"810","8",,,"8",,"8~10",,[[,"(\\d{2})(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[35-9]"],"8 $1"]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],VA:[,[,,"0\\d{5,10}|3[0-8]\\d{7,10}|55\\d{8}|8\\d{5}(?:\\d{2,4})?|(?:1\\d|39)\\d{7,8}",,,,,,,[6,7,8,9,10,11,12]],[,,"06698\\d{1,6}",,,,"0669812345",,,[6,7,8,9,10,11]],[,,"3[1-9]\\d{8}|3[2-9]\\d{7}",,,,"3123456789",,,[9,10]],[,,"80(?:0\\d{3}|3)\\d{3}",,,,"800123456",,,[6,9]],[,,"(?:0878\\d{3}|89(?:2\\d|3[04]|4(?:[0-4]|[5-9]\\d\\d)|5[0-4]))\\d\\d|(?:1(?:44|6[346])|89(?:38|5[5-9]|9))\\d{6}",,,,"899123456",,,[6,8,9,10]],[,,"84(?:[08]\\d{3}|[17])\\d{3}",,,,"848123456",,,[6,9]],[,,"1(?:78\\d|99)\\d{6}",,,,"1781234567",,,[9,10]],[,,"55\\d{8}",,,,"5512345678",,,[10]],"VA",39,"00",,,,,,,,,,[,,,,,,,,,[-1]],,"06698",[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,"3[2-8]\\d{9,10}",,,,"33101234501",,,[11,12]]],VC:[,[,,"(?:[58]\\d\\d|784|900)\\d{7}",,,,,,,[10],[7]],[,,"784(?:266|3(?:6[6-9]|7\\d|8[0-6])|4(?:38|5[0-36-8]|8[0-8])|5(?:55|7[0-2]|93)|638|784)\\d{4}",,,,"7842661234",,,,[7]],[,,"784(?:4(?:3[0-5]|5[45]|89|9[0-8])|5(?:2[6-9]|3[0-4])|720)\\d{4}",,,,"7844301234",,,,[7]],[,,"8(?:00|33|44|55|66|77|88)[2-9]\\d{6}",,,,"8002345678"],[,,"900[2-9]\\d{6}",,,,"9002345678"],[,,,,,,,,,[-1]],[,,"52(?:3(?:[2-46-9][02-9]\\d|5(?:[02-46-9]\\d|5[0-46-9]))|4(?:[2-478][02-9]\\d|5(?:[034]\\d|2[024-9]|5[0-46-9])|6(?:0[1-9]|[2-9]\\d)|9(?:[05-9]\\d|2[0-5]|49)))\\d{4}|52[34][2-9]1[02-9]\\d{4}|5(?:00|2[125-9]|33|44|66|77|88)[2-9]\\d{6}",,,,"5002345678"],[,,"78451[0-2]\\d{4}",,,,"7845101234",,,,[7]],"VC",1,"011","1",,,"([2-7]\\d{6})$|1","784$1",,,,,[,,,,,,,,,[-1]],,"784",[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],VE:[,[,,"[68]00\\d{7}|(?:[24]\\d|[59]0)\\d{8}",,,,,,,[10],[7]],[,,"(?:2(?:12|3[457-9]|[467]\\d|[58][1-9]|9[1-6])|[4-6]00)\\d{7}",,,,"2121234567",,,,[7]],[,,"4(?:1[24-8]|2[46])\\d{7}",,,,"4121234567"],[,,"800\\d{7}",,,,"8001234567"],[,,"90[01]\\d{7}",,,,"9001234567"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"VE",58,"00","0",,,"0",,,,[[,"(\\d{3})(\\d{7})","$1-$2",["[24-689]"],"0$1","$CC $1"]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,"501\\d{7}",,,,"5010123456",,,,[7]],,,[,,,,,,,,,[-1]]],VG:[,[,,"(?:284|[58]\\d\\d|900)\\d{7}",,,,,,,[10],[7]],[,,"284(?:229|4(?:22|9[45])|774|8(?:52|6[459]))\\d{4}",,,,"2842291234",,,,[7]],[,,"284(?:245|3(?:0[0-3]|4[0-7]|68|9[34])|4(?:4[0-6]|68|9[69])|5(?:4[0-7]|68|9[69]))\\d{4}",,,,"2843001234",,,,[7]],[,,"8(?:00|33|44|55|66|77|88)[2-9]\\d{6}",,,,"8002345678"],[,,"900[2-9]\\d{6}",,,,"9002345678"],[,,,,,,,,,[-1]],[,,"52(?:3(?:[2-46-9][02-9]\\d|5(?:[02-46-9]\\d|5[0-46-9]))|4(?:[2-478][02-9]\\d|5(?:[034]\\d|2[024-9]|5[0-46-9])|6(?:0[1-9]|[2-9]\\d)|9(?:[05-9]\\d|2[0-5]|49)))\\d{4}|52[34][2-9]1[02-9]\\d{4}|5(?:00|2[125-9]|33|44|66|77|88)[2-9]\\d{6}",,,,"5002345678"],[,,,,,,,,,[-1]],"VG",1,"011","1",,,"([2-578]\\d{6})$|1","284$1",,,,,[,,,,,,,,,[-1]],,"284",[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],VI:[,[,,"[58]\\d{9}|(?:34|90)0\\d{7}",,,,,,,[10],[7]],[,,"340(?:2(?:0[0-368]|2[06-8]|4[49]|77)|3(?:32|44)|4(?:2[23]|44|7[34]|89)|5(?:1[34]|55)|6(?:2[56]|4[23]|77|9[023])|7(?:1[2-57-9]|2[57]|7\\d)|884|998)\\d{4}",,,,"3406421234",,,,[7]],[,,"340(?:2(?:0[0-368]|2[06-8]|4[49]|77)|3(?:32|44)|4(?:2[23]|44|7[34]|89)|5(?:1[34]|55)|6(?:2[56]|4[23]|77|9[023])|7(?:1[2-57-9]|2[57]|7\\d)|884|998)\\d{4}",,,,"3406421234",,,,[7]],[,,"8(?:00|33|44|55|66|77|88)[2-9]\\d{6}",,,,"8002345678"],[,,"900[2-9]\\d{6}",,,,"9002345678"],[,,,,,,,,,[-1]],[,,"52(?:3(?:[2-46-9][02-9]\\d|5(?:[02-46-9]\\d|5[0-46-9]))|4(?:[2-478][02-9]\\d|5(?:[034]\\d|2[024-9]|5[0-46-9])|6(?:0[1-9]|[2-9]\\d)|9(?:[05-9]\\d|2[0-5]|49)))\\d{4}|52[34][2-9]1[02-9]\\d{4}|5(?:00|2[125-9]|33|44|66|77|88)[2-9]\\d{6}",,,,"5002345678"],[,,,,,,,,,[-1]],"VI",1,"011","1",,,"([2-9]\\d{6})$|1","340$1",,1,,,[,,,,,,,,,[-1]],,"340",[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],VN:[,[,,"[12]\\d{9}|[135-9]\\d{8}|[16]\\d{7}|[16-8]\\d{6}",,,,,,,[7,8,9,10]],[,,"2(?:0[3-9]|1[0-689]|2[0-25-9]|[38][2-9]|4[2-8]|5[124-9]|6[0-39]|7[0-7]|9[0-4679])\\d{7}",,,,"2101234567",,,[10]],[,,"(?:5(?:2[238]|59)|89[6-9]|99[013-9])\\d{6}|(?:3\\d|5[689]|7[06-9]|8[1-8]|9[0-8])\\d{7}",,,,"912345678",,,[9]],[,,"1800\\d{4,6}|12(?:0[13]|28)\\d{4}",,,,"1800123456",,,[8,9,10]],[,,"1900\\d{4,6}",,,,"1900123456",,,[8,9,10]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,"672\\d{6}",,,,"672012345",,,[9]],"VN",84,"00","0",,,"0",,,,[[,"(\\d{3})(\\d{4})","$1 $2",["[17]99"],"0$1",,1],[,"(\\d{2})(\\d{5})","$1 $2",["80"],"0$1",,1],[,"(\\d{3})(\\d{4,5})","$1 $2",["69"],"0$1",,1],[,"(\\d{4})(\\d{4,6})","$1 $2",["1"],,,1],[,"(\\d{2})(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[69]"],"0$1",,1],[,"(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[3578]"],"0$1",,1],[,"(\\d{2})(\\d{4})(\\d{4})","$1 $2 $3",["2[48]"],"0$1",,1],[,"(\\d{3})(\\d{4})(\\d{3})","$1 $2 $3",["2"],"0$1",,1]],[[,"(\\d{2})(\\d{5})","$1 $2",["80"],"0$1",,1],[,"(\\d{4})(\\d{4,6})","$1 $2",["1"],,,1],[,"(\\d{2})(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[69]"],"0$1",,1],[,"(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[3578]"],"0$1",,1],[,"(\\d{2})(\\d{4})(\\d{4})","$1 $2 $3",["2[48]"],"0$1",,1],[,"(\\d{3})(\\d{4})(\\d{3})","$1 $2 $3",["2"],"0$1",,1]],[,,,,,,,,,[-1]],,,[,,"[17]99\\d{4}|69\\d{5,6}",,,,,,,[7,8]],[,,"(?:[17]99|80\\d)\\d{4}|69\\d{5,6}",,,,"1992000",,,[7,8]],,,[,,,,,,,,,[-1]]],VU:[,[,,"[57-9]\\d{6}|(?:[238]\\d|48)\\d{3}",,,,,,,[5,7]],[,,"(?:38[0-8]|48[4-9])\\d\\d|(?:2[02-9]|3[4-7]|88)\\d{3}",,,,"22123",,,[5]],[,,"(?:[58]\\d|7[013-7])\\d{5}",,,,"5912345",,,[7]],[,,"81[18]\\d\\d",,,,"81123",,,[5]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,"9(?:0[1-9]|1[01])\\d{4}",,,,"9010123",,,[7]],"VU",678,"00",,,,,,,,[[,"(\\d{3})(\\d{4})","$1 $2",["[57-9]"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,"(?:3[03]|900\\d)\\d{3}",,,,"30123"],,,[,,,,,,,,,[-1]]],WF:[,[,,"(?:40|72)\\d{4}|8\\d{5}(?:\\d{3})?",,,,,,,[6,9]],[,,"72\\d{4}",,,,"721234",,,[6]],[,,"(?:72|8[23])\\d{4}",,,,"821234",,,[6]],[,,"80[0-5]\\d{6}",,,,"800012345",,,[9]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"WF",681,"00",,,,,,,,[[,"(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3",["[478]"]],[,"(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["8"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,"[48]0\\d{4}",,,,"401234",,,[6]]],WS:[,[,,"(?:[2-6]|8\\d{5})\\d{4}|[78]\\d{6}|[68]\\d{5}",,,,,,,[5,6,7,10]],[,,"6[1-9]\\d{3}|(?:[2-5]|60)\\d{4}",,,,"22123",,,[5,6]],[,,"(?:7[1-35-7]|8(?:[3-7]|9\\d{3}))\\d{5}",,,,"7212345",,,[7,10]],[,,"800\\d{3}",,,,"800123",,,[6]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"WS",685,"0",,,,,,,,[[,"(\\d{5})","$1",["[2-5]|6[1-9]"]],[,"(\\d{3})(\\d{3,7})","$1 $2",["[68]"]],[,"(\\d{2})(\\d{5})","$1 $2",["7"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],XK:[,[,,"[23]\\d{7,8}|(?:4\\d\\d|[89]00)\\d{5}",,,,,,,[8,9]],[,,"(?:2[89]|39)0\\d{6}|[23][89]\\d{6}",,,,"28012345"],[,,"4[3-9]\\d{6}",,,,"43201234",,,[8]],[,,"800\\d{5}",,,,"80001234",,,[8]],[,,"900\\d{5}",,,,"90001234",,,[8]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"XK",383,"00","0",,,"0",,,,[[,"(\\d{3})(\\d{5})","$1 $2",["[89]"],"0$1"],[,"(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["[2-4]"],"0$1"],[,"(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[23]"],"0$1"]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],YE:[,[,,"(?:1|7\\d)\\d{7}|[1-7]\\d{6}",,,,,,,[7,8,9],[6]],[,,"78[0-7]\\d{4}|17\\d{6}|(?:[12][2-68]|3[2358]|4[2-58]|5[2-6]|6[3-58]|7[24-6])\\d{5}",,,,"1234567",,,[7,8],[6]],[,,"7[01378]\\d{7}",,,,"712345678",,,[9]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"YE",967,"00","0",,,"0",,,,[[,"(\\d)(\\d{3})(\\d{3,4})","$1 $2 $3",["[1-6]|7(?:[24-6]|8[0-7])"],"0$1"],[,"(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["7"],"0$1"]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],YT:[,[,,"(?:(?:(?:26|63)9|80\\d)\\d\\d|93980)\\d{4}",,,,,,,[9]],[,,"269(?:0[0-467]|5[0-3]|6\\d|[78]0)\\d{4}",,,,"269601234"],[,,"(?:639(?:0[0-79]|1[019]|[267]\\d|3[09]|40|5[05-9]|9[04-79])|93980)\\d{4}",,,,"639012345"],[,,"80\\d{7}",,,,"801234567"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"YT",262,"00","0",,,"0",,,,,,[,,,,,,,,,[-1]],,"269|63|9398",[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],ZA:[,[,,"[1-79]\\d{8}|8\\d{4,9}",,,,,,,[5,6,7,8,9,10]],[,,"(?:2(?:0330|4302)|52087)0\\d{3}|(?:1[0-8]|2[1-378]|3[1-69]|4\\d|5[1346-8])\\d{7}",,,,"101234567",,,[9]],[,,"(?:1(?:3492[0-25]|4495[0235]|549(?:20|5[01]))|4[34]492[01])\\d{3}|8[1-4]\\d{3,7}|(?:2[27]|47|54)4950\\d{3}|(?:1(?:049[2-4]|9[12]\\d\\d)|(?:6\\d|7[0-46-9])\\d{3}|8(?:5\\d{3}|7(?:08[67]|158|28[5-9]|310)))\\d{4}|(?:1[6-8]|28|3[2-69]|4[025689]|5[36-8])4920\\d{3}|(?:12|[2-5]1)492\\d{4}",,,,"711234567",,,[5,6,7,8,9]],[,,"80\\d{7}",,,,"801234567",,,[9]],[,,"(?:86[2-9]|9[0-2]\\d)\\d{6}",,,,"862345678",,,[9]],[,,"860\\d{6}",,,,"860123456",,,[9]],[,,,,,,,,,[-1]],[,,"87(?:08[0-589]|15[0-79]|28[0-4]|31[1-9])\\d{4}|87(?:[02][0-79]|1[0-46-9]|3[02-9]|[4-9]\\d)\\d{5}",,,,"871234567",,,[9]],"ZA",27,"00","0",,,"0",,,,[[,"(\\d{2})(\\d{3,4})","$1 $2",["8[1-4]"],"0$1"],[,"(\\d{2})(\\d{3})(\\d{2,3})","$1 $2 $3",["8[1-4]"],"0$1"],[,"(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["860"],"0$1"],[,"(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["[1-9]"],"0$1"],[,"(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["8"],"0$1"]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,"861\\d{6,7}",,,,"861123456",,,[9,10]],,,[,,,,,,,,,[-1]]],ZM:[,[,,"800\\d{6}|(?:21|63|[79]\\d)\\d{7}",,,,,,,[9],[6]],[,,"21[1-8]\\d{6}",,,,"211234567",,,,[6]],[,,"(?:7[5-79]|9[5-8])\\d{7}",,,,"955123456"],[,,"800\\d{6}",,,,"800123456"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,"63\\d{7}",,,,"630123456"],"ZM",260,"00","0",,,"0",,,,[[,"(\\d{3})(\\d{3})","$1 $2",["[1-9]"]],[,"(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[28]"],"0$1"],[,"(\\d{2})(\\d{7})","$1 $2",["[79]"],"0$1"]],[[,"(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[28]"],"0$1"],[,"(\\d{2})(\\d{7})","$1 $2",["[79]"],"0$1"]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],ZW:[,[,,"2(?:[0-57-9]\\d{6,8}|6[0-24-9]\\d{6,7})|[38]\\d{9}|[35-8]\\d{8}|[3-6]\\d{7}|[1-689]\\d{6}|[1-3569]\\d{5}|[1356]\\d{4}",,,,,,,[5,6,7,8,9,10],[3,4]],[,,"(?:1(?:(?:3\\d|9)\\d|[4-8])|2(?:(?:(?:0(?:2[014]|5)|(?:2[0157]|31|84|9)\\d\\d|[56](?:[14]\\d\\d|20)|7(?:[089]|2[03]|[35]\\d\\d))\\d|4(?:2\\d\\d|8))\\d|1(?:2|[39]\\d{4}))|3(?:(?:123|(?:29\\d|92)\\d)\\d\\d|7(?:[19]|[56]\\d))|5(?:0|1[2-478]|26|[37]2|4(?:2\\d{3}|83)|5(?:25\\d\\d|[78])|[689]\\d)|6(?:(?:[16-8]21|28|52[013])\\d\\d|[39])|8(?:[1349]28|523)\\d\\d)\\d{3}|(?:4\\d\\d|9[2-9])\\d{4,5}|(?:(?:2(?:(?:(?:0|8[146])\\d|7[1-7])\\d|2(?:[278]\\d|92)|58(?:2\\d|3))|3(?:[26]|9\\d{3})|5(?:4\\d|5)\\d\\d)\\d|6(?:(?:(?:[0-246]|[78]\\d)\\d|37)\\d|5[2-8]))\\d\\d|(?:2(?:[569]\\d|8[2-57-9])|3(?:[013-59]\\d|8[37])|6[89]8)\\d{3}",,,,"1312345",,,,[3,4]],[,,"7(?:[178]\\d|3[1-9])\\d{6}",,,,"712345678",,,[9]],[,,"80(?:[01]\\d|20|8[0-8])\\d{3}",,,,"8001234",,,[7]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,"86(?:1[12]|22|30|44|55|77|8[368])\\d{6}",,,,"8686123456",,,[10]],"ZW",263,"00","0",,,"0",,,,[[,"(\\d{3})(\\d{3,5})","$1 $2",["2(?:0[45]|2[278]|[49]8)|3(?:[09]8|17)|6(?:[29]8|37|75)|[23][78]|(?:33|5[15]|6[68])[78]"],"0$1"],[,"(\\d)(\\d{3})(\\d{2,4})","$1 $2 $3",["[49]"],"0$1"],[,"(\\d{3})(\\d{4})","$1 $2",["80"],"0$1"],[,"(\\d{2})(\\d{7})","$1 $2",["24|8[13-59]|(?:2[05-79]|39|5[45]|6[15-8])2","2(?:02[014]|4|[56]20|[79]2)|392|5(?:42|525)|6(?:[16-8]21|52[013])|8[13-59]"],"(0$1)"],[,"(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["7"],"0$1"],[,"(\\d{3})(\\d{3})(\\d{3,4})","$1 $2 $3",["2(?:1[39]|2[0157]|[378]|[56][14])|3(?:12|29)","2(?:1[39]|2[0157]|[378]|[56][14])|3(?:123|29)"],"0$1"],[,"(\\d{4})(\\d{6})","$1 $2",["8"],"0$1"],[,"(\\d{2})(\\d{3,5})","$1 $2",["1|2(?:0[0-36-9]|12|29|[56])|3(?:1[0-689]|[24-6])|5(?:[0236-9]|1[2-4])|6(?:[013-59]|7[0-46-9])|(?:33|55|6[68])[0-69]|(?:29|3[09]|62)[0-79]"],"0$1"],[,"(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["29[013-9]|39|54"],"0$1"],[,"(\\d{4})(\\d{3,5})","$1 $2",["(?:25|54)8","258|5483"],"0$1"]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],800:[,[,,"(?:00|[1-9]\\d)\\d{6}",,,,,,,[8]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,"(?:00|[1-9]\\d)\\d{6}",,,,"12345678"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"001",800,,,,,,,,1,[[,"(\\d{4})(\\d{4})","$1 $2",["\\d"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],808:[,[,,"[1-9]\\d{7}",,,,,,,[8]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,"[1-9]\\d{7}",,,,"12345678"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"001",808,,,,,,,,1,[[,"(\\d{4})(\\d{4})","$1 $2",["[1-9]"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],870:[,[,,"7\\d{11}|[35-7]\\d{8}",,,,,,,[9,12]],[,,,,,,,,,[-1]],[,,"(?:[356]|774[45])\\d{8}|7[6-8]\\d{7}",,,,"301234567"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"001",870,,,,,,,,,[[,"(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[35-7]"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],878:[,[,,"10\\d{10}",,,,,,,[12]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,"10\\d{10}",,,,"101234567890"],"001",878,,,,,,,,1,[[,"(\\d{2})(\\d{5})(\\d{5})","$1 $2 $3",["1"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],881:[,[,,"[0-36-9]\\d{8}",,,,,,,[9]],[,,,,,,,,,[-1]],[,,"[0-36-9]\\d{8}",,,,"612345678"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"001",881,,,,,,,,,[[,"(\\d)(\\d{3})(\\d{5})","$1 $2 $3",["[0-36-9]"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],882:[,[,,"[13]\\d{6}(?:\\d{2,5})?|[19]\\d{7}|(?:[25]\\d\\d|4)\\d{7}(?:\\d{2})?",,,,,,,[7,8,9,10,11,12]],[,,,,,,,,,[-1]],[,,"342\\d{4}|(?:337|49)\\d{6}|(?:3(?:2|47|7\\d{3})|50\\d{3})\\d{7}",,,,"3421234",,,[7,8,9,10,12]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,"1(?:3(?:0[0347]|[13][0139]|2[035]|4[013568]|6[0459]|7[06]|8[15-8]|9[0689])\\d{4}|6\\d{5,10})|(?:345\\d|9[89])\\d{6}|(?:10|2(?:3|85\\d)|3(?:[15]|[69]\\d\\d)|4[15-8]|51)\\d{8}",,,,"390123456789"],"001",882,,,,,,,,,[[,"(\\d{2})(\\d{5})","$1 $2",["16|342"]],[,"(\\d{2})(\\d{6})","$1 $2",["49"]],[,"(\\d{2})(\\d{2})(\\d{4})","$1 $2 $3",["1[36]|9"]],[,"(\\d{2})(\\d{4})(\\d{3})","$1 $2 $3",["3[23]"]],[,"(\\d{2})(\\d{3,4})(\\d{4})","$1 $2 $3",["16"]],[,"(\\d{2})(\\d{4})(\\d{4})","$1 $2 $3",["10|23|3(?:[15]|4[57])|4|51"]],[,"(\\d{3})(\\d{4})(\\d{4})","$1 $2 $3",["34"]],[,"(\\d{2})(\\d{4,5})(\\d{5})","$1 $2 $3",["[1-35]"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,"348[57]\\d{7}",,,,"34851234567",,,[11]]],883:[,[,,"(?:[1-4]\\d|51)\\d{6,10}",,,,,,,[8,9,10,11,12]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,"(?:2(?:00\\d\\d|10)|(?:370[1-9]|51\\d0)\\d)\\d{7}|51(?:00\\d{5}|[24-9]0\\d{4,7})|(?:1[013-79]|2[24-689]|3[02-689]|4[0-4])0\\d{5,9}",,,,"510012345"],"001",883,,,,,,,,1,[[,"(\\d{3})(\\d{3})(\\d{2,8})","$1 $2 $3",["[14]|2[24-689]|3[02-689]|51[24-9]"]],[,"(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["510"]],[,"(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["21"]],[,"(\\d{4})(\\d{4})(\\d{4})","$1 $2 $3",["51[13]"]],[,"(\\d{3})(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3 $4",["[235]"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],888:[,[,,"\\d{11}",,,,,,,[11]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"001",888,,,,,,,,1,[[,"(\\d{3})(\\d{3})(\\d{5})","$1 $2 $3"]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,"\\d{11}",,,,"12345678901"],,,[,,,,,,,,,[-1]]],979:[,[,,"[1359]\\d{8}",,,,,,,[9],[8]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,"[1359]\\d{8}",,,,"123456789",,,,[8]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"001",979,,,,,,,,1,[[,"(\\d)(\\d{4})(\\d{4})","$1 $2 $3",["[1359]"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]]};function j(){this.g={}}j.i=void 0,j.g=function(){return j.i?j.i:j.i=new j};var B={0:"0",1:"1",2:"2",3:"3",4:"4",5:"5",6:"6",7:"7",8:"8",9:"9","0":"0","1":"1","2":"2","3":"3","4":"4","5":"5","6":"6","7":"7","8":"8","9":"9","٠":"0","١":"1","٢":"2","٣":"3","٤":"4","٥":"5","٦":"6","٧":"7","٨":"8","٩":"9","۰":"0","۱":"1","۲":"2","۳":"3","۴":"4","۵":"5","۶":"6","۷":"7","۸":"8","۹":"9"},z={0:"0",1:"1",2:"2",3:"3",4:"4",5:"5",6:"6",7:"7",8:"8",9:"9","0":"0","1":"1","2":"2","3":"3","4":"4","5":"5","6":"6","7":"7","8":"8","9":"9","٠":"0","١":"1","٢":"2","٣":"3","٤":"4","٥":"5","٦":"6","٧":"7","٨":"8","٩":"9","۰":"0","۱":"1","۲":"2","۳":"3","۴":"4","۵":"5","۶":"6","۷":"7","۸":"8","۹":"9",A:"2",B:"2",C:"2",D:"3",E:"3",F:"3",G:"4",H:"4",I:"4",J:"5",K:"5",L:"5",M:"6",N:"6",O:"6",P:"7",Q:"7",R:"7",S:"7",T:"8",U:"8",V:"8",W:"9",X:"9",Y:"9",Z:"9"},H=/^[+\uff0b]+/,U=/([0-9\uff10-\uff19\u0660-\u0669\u06f0-\u06f9])/,W=/[+\uff0b0-9\uff10-\uff19\u0660-\u0669\u06f0-\u06f9]/,V=/[\\\/] *x/,q=/[^0-9\uff10-\uff19\u0660-\u0669\u06f0-\u06f9A-Za-z#]+$/,G=/(?:.*?[A-Za-z]){3}.*/;function K(e){return"([0-90-9٠-٩۰-۹]{1,"+e+"})"}function Y(){return";ext="+K("20")+"|[ \\t,]*(?:e?xt(?:ensi(?:ó?|ó))?n?|e?xtn?|доб|anexo)[:\\..]?[ \\t,-]*"+K("20")+"#?|[ \\t,]*(?:[xx##~~]|int|int)[:\\..]?[ \\t,-]*"+K("9")+"#?|[- ]+"+K("6")+"#|[ \\t]*(?:,{2}|;)[:\\..]?[ \\t,-]*"+K("15")+"#?|[ \\t]*(?:,)+[:\\..]?[ \\t,-]*"+K("9")+"#?"}var X=new RegExp("(?:"+Y()+")$","i"),J=new RegExp("^[0-90-9٠-٩۰-۹]{2}$|^[++]*(?:[-x‐-―−ー--/ ()()[].\\[\\]/~⁓∼~*]*[0-90-9٠-٩۰-۹]){3,}[-x‐-―−ー--/ ()()[].\\[\\]/~⁓∼~*A-Za-z0-90-9٠-٩۰-۹]*(?:"+Y()+")?$","i"),Q=/(\$\d)/;function ee(e){return!(2>e.length)&&ke(J,e)}function te(e){return ke(G,e)?oe(e,z):oe(e,B)}function ne(e){var t=te(e.toString());e.i="",e.g(t)}function re(e){return null!=e&&(1!=w(e,9)||-1!=b(e,9)[0])}function oe(e,t){for(var n,r=new $,o=e.length,i=0;i<o;++i)null!=(n=t[(n=e.charAt(i)).toUpperCase()])&&r.g(n);return r.toString()}function ie(e){return null!=e&&isNaN(e)&&e.toUpperCase()in F}function ae(e,t,n){if(0==g(t,2)&&null!=t.g[5]){var r=y(t,5);if(0<r.length)return r}r=y(t,1);var o=le(t);if(0==n)return ce(r,0,o,"");if(!(r in _))return o;e=se(e,r,me(r)),t=null!=t.g[3]&&0!=g(t,3).length?3==n?";ext="+g(t,3):null!=e.g[13]?g(e,13)+y(t,3):" ext. "+y(t,3):"";e:{for(var i,a=(e=0==b(e,20).length||2==n?b(e,19):b(e,20)).length,s=0;s<a;++s){var l=w(i=e[s],3);if((0==l||0==o.search(g(i,3,l-1)))&&ke(l=new RegExp(g(i,1)),o)){e=i;break e}}e=null}return null!=e&&(e=y(a=e,2),i=new RegExp(g(a,1)),y(a,5),a=y(a,4),o=2==n&&null!=a&&0<a.length?o.replace(i,e.replace(Q,a)):o.replace(i,e),3==n&&(o=(o=o.replace(/^[-x\u2010-\u2015\u2212\u30fc\uff0d-\uff0f \u00a0\u00ad\u200b\u2060\u3000()\uff08\uff09\uff3b\uff3d.\[\]/~\u2053\u223c\uff5e]+/,"")).replace(/[-x\u2010-\u2015\u2212\u30fc\uff0d-\uff0f \u00a0\u00ad\u200b\u2060\u3000()\uff08\uff09\uff3b\uff3d.\[\]/~\u2053\u223c\uff5e]+/g,"-"))),ce(r,n,o,t)}function se(e,t,n){return pe(e,"001"==n?""+t:n)}function le(e){if(null==e.g[2])return"";var t=""+g(e,2);return null!=e.g[4]&&g(e,4)&&0<y(e,8)?Array(y(e,8)+1).join("0")+t:t}function ce(e,t,n,r){switch(t){case 0:return"+"+e+n+r;case 1:return"+"+e+" "+n+r;case 3:return"tel:+"+e+"-"+n+r;default:return n+r}}function ue(e,t){switch(t){case 4:return g(e,5);case 3:return g(e,4);case 1:return g(e,3);case 0:case 2:return g(e,2);case 5:return g(e,6);case 6:return g(e,8);case 7:return g(e,7);case 8:return g(e,21);case 9:return g(e,25);case 10:return g(e,28);default:return g(e,1)}}function de(e,t){return fe(e,g(t,1))?fe(e,g(t,5))?4:fe(e,g(t,4))?3:fe(e,g(t,6))?5:fe(e,g(t,8))?6:fe(e,g(t,7))?7:fe(e,g(t,21))?8:fe(e,g(t,25))?9:fe(e,g(t,28))?10:fe(e,g(t,2))?g(t,18)||fe(e,g(t,3))?2:0:!g(t,18)&&fe(e,g(t,3))?1:-1:-1}function pe(e,t){if(null==t)return null;t=t.toUpperCase();var n=e.g[t];if(null==n){if(null==(n=F[t]))return null;n=(new O).g(N.j(),n),e.g[t]=n}return n}function fe(e,t){var n=e.length;return!(0<w(t,9)&&-1==b(t,9).indexOf(n))&&ke(y(t,2),e)}function he(e,t){if(null==t)return null;var n=y(t,1);if(null==(n=_[n]))e=null;else if(1==n.length)e=n[0];else e:{t=le(t);for(var r,o=n.length,i=0;i<o;i++){var a=pe(e,r=n[i]);if(null!=a.g[23]){if(0==t.search(g(a,23))){e=r;break e}}else if(-1!=de(t,a)){e=r;break e}}e=null}return e}function me(e){return null==(e=_[e])?"ZZ":e[0]}function ve(e,t,n,r){var o=ue(n,r),i=0==w(o,9)?b(g(n,1),9):b(o,9);if(o=b(o,10),2==r){if(!re(ue(n,0)))return ve(e,t,n,1);re(e=ue(n,1))&&((i=i.concat(0==w(e,9)?b(g(n,1),9):b(e,9))).sort(),0==o.length?o=b(e,10):(o=o.concat(b(e,10))).sort())}return-1==i[0]?5:(t=t.length,-1<o.indexOf(t)?4:(n=i[0])==t?0:n>t?2:i[i.length-1]<t?3:-1<i.indexOf(t,1)?0:5)}function ge(e,t){var n=le(t);return(t=y(t,1))in _?ve(e,n,t=se(e,t,me(t)),-1):1}function ye(e,t,n,r,o,i){if(0==t.length)return 0;var a;t=new $(t),null!=n&&(a=g(n,11)),null==a&&(a="NonMatch");var s=t.toString();if(0==s.length)a=20;else if(H.test(s))s=s.replace(H,""),t.i="",t.g(te(s)),a=1;else{if(s=new RegExp(a),ne(t),0==(a=t.toString()).search(s)){s=a.match(s)[0].length;var l=a.substring(s).match(U);l&&null!=l[1]&&0<l[1].length&&"0"==oe(l[1],B)?a=!1:(t.i="",t.g(a.substring(s)),a=!0)}else a=!1;a=a?5:20}if(o&&x(i,6,a),20!=a){if(2>=t.i.length)throw Error("Phone number too short after IDD");e:{if(0!=(e=t.toString()).length&&"0"!=e.charAt(0))for(o=e.length,t=1;3>=t&&t<=o;++t)if((n=parseInt(e.substring(0,t),10))in _){r.g(e.substring(t)),r=n;break e}r=0}if(0!=r)return x(i,1,r),r;throw Error("Invalid country calling code")}return null!=n&&(s=""+(a=y(n,10)),0==(l=t.toString()).lastIndexOf(s,0)&&(s=new $(l.substring(s.length)),l=g(n,1),l=new RegExp(y(l,2)),be(s,n,null),s=s.toString(),!ke(l,t.toString())&&ke(l,s)||3==ve(e,t.toString(),n,-1)))?(r.g(s),o&&x(i,6,10),x(i,1,a),a):(x(i,1,0),0)}function be(e,t,n){var r=e.toString(),o=r.length,i=g(t,15);if(0!=o&&null!=i&&0!=i.length){var a=new RegExp("^(?:"+i+")");if(o=a.exec(r)){var s=ke(i=new RegExp(y(g(t,1),2)),r),l=o.length-1;null==(t=g(t,16))||0==t.length||null==o[l]||0==o[l].length?s&&!ke(i,r.substring(o[0].length))||(null!=n&&0<l&&null!=o[l]&&n.g(o[1]),e.set(r.substring(o[0].length))):(r=r.replace(a,t),(!s||ke(i,r))&&(null!=n&&0<l&&n.g(o[1]),e.set(r)))}}}function we(e,t,n){if(!ie(n)&&0<t.length&&"+"!=t.charAt(0))throw Error("Invalid country calling code");return xe(e,t,n,!0)}function xe(e,t,n,r){if(null==t)throw Error("The string supplied did not seem to be a phone number");if(250<t.length)throw Error("The string supplied is too long to be a phone number");var o=new $,i=t.indexOf(";phone-context=");if(0<=i){var a=i+15;if("+"==t.charAt(a)){var s=t.indexOf(";",a);0<s?o.g(t.substring(a,s)):o.g(t.substring(a))}a=t.indexOf("tel:"),o.g(t.substring(0<=a?a+4:0,i))}else i=o.g,0<=(a=t.search(W))?0<=(s=(a=(a=t.substring(a)).replace(q,"")).search(V))&&(a=a.substring(0,s)):a="",i.call(o,a);if(0<(a=(i=o.toString()).indexOf(";isub="))&&(o.i="",o.g(i.substring(0,a))),!ee(o.toString()))throw Error("The string supplied did not seem to be a phone number");if(i=o.toString(),!(ie(n)||null!=i&&0<i.length&&H.test(i)))throw Error("Invalid country calling code");i=new I,r&&x(i,5,t);e:{if(0<=(a=(t=o.toString()).search(X))&&ee(t.substring(0,a)))for(var l=(s=t.match(X)).length,c=1;c<l;++c)if(null!=s[c]&&0<s[c].length){o.i="",o.g(t.substring(0,a)),t=s[c];break e}t=""}0<t.length&&x(i,3,t),a=pe(e,n),t=new $,s=0,l=o.toString();try{s=ye(e,l,a,t,r,i)}catch(u){if("Invalid country calling code"!=u.message||!H.test(l))throw u;if(0==(s=ye(e,l=l.replace(H,""),a,t,r,i)))throw u}if(0!=s?(o=me(s))!=n&&(a=se(e,s,o)):(ne(o),t.g(o.toString()),null!=n?x(i,1,s=y(a,10)):r&&(delete i.g[6],i.i&&delete i.i[6])),2>t.i.length)throw Error("The string supplied is too short to be a phone number");if(null!=a&&(n=new $,be(o=new $(t.toString()),a,n),2!=(e=ve(e,o.toString(),a,-1))&&4!=e&&5!=e&&(t=o,r&&0<n.toString().length&&x(i,7,n.toString()))),2>(e=(r=t.toString()).length))throw Error("The string supplied is too short to be a phone number");if(17<e)throw Error("The string supplied is too long to be a phone number");if(1<r.length&&"0"==r.charAt(0)){for(x(i,4,!0),e=1;e<r.length-1&&"0"==r.charAt(e);)e++;1!=e&&x(i,8,e)}return x(i,2,parseInt(r,10)),i}function ke(e,t){return!(!(e="string"==typeof e?t.match("^(?:"+e+")$"):t.match(e))||e[0].length!=t.length)}t("intlTelInputUtils",{}),t("intlTelInputUtils.formatNumber",(function(e,t,n){try{var r=j.g(),o=we(r,e,t),i=ge(r,o);return 0==i||4==i?ae(r,o,void 0===n?0:n):e}catch(a){return e}})),t("intlTelInputUtils.getExampleNumber",(function(e,t,n){try{var r=j.g();e:{if(ie(e)){var o=ue(pe(r,e),n);try{if(null!=o.g[6]){var i=xe(r,g(o,6),e,!1);break e}}catch(a){}}i=null}return ae(r,i,t?2:1)}catch(a){return""}})),t("intlTelInputUtils.getExtension",(function(e,t){try{return g(we(j.g(),e,t),3)}catch(n){return""}})),t("intlTelInputUtils.getNumberType",(function(e,t){try{var n=j.g(),r=we(n,e,t),o=he(n,r),i=se(n,y(r,1),o);if(null==i)var a=-1;else a=de(le(r),i);return a}catch(s){return-99}})),t("intlTelInputUtils.getValidationError",(function(e,t){try{var n=j.g();return ge(n,we(n,e,t))}catch(r){return"Invalid country calling code"==r.message?1:"Phone number too short after IDD"==r.message||"The string supplied is too short to be a phone number"==r.message?2:"The string supplied is too long to be a phone number"==r.message?3:-99}})),t("intlTelInputUtils.isValidNumber",(function(e,t){try{var n,r=j.g(),o=we(r,e,t),i=he(r,o),a=y(o,1),s=se(r,a,i);if(!(n=null==s)){var l;if(l="001"!=i){var c=pe(r,i);if(null==c)throw Error("Invalid region code: "+i);l=a!=y(c,10)}n=l}if(n)var u=!1;else u=-1!=de(le(o),s);return u}catch(d){return!1}})),t("intlTelInputUtils.numberFormat",{E164:0,INTERNATIONAL:1,NATIONAL:2,RFC3966:3}),t("intlTelInputUtils.numberType",{FIXED_LINE:0,MOBILE:1,FIXED_LINE_OR_MOBILE:2,TOLL_FREE:3,PREMIUM_RATE:4,SHARED_COST:5,VOIP:6,PERSONAL_NUMBER:7,PAGER:8,UAN:9,VOICEMAIL:10,UNKNOWN:-1}),t("intlTelInputUtils.validationError",{IS_POSSIBLE:0,INVALID_COUNTRY_CODE:1,TOO_SHORT:2,TOO_LONG:3,IS_POSSIBLE_LOCAL_ONLY:4,INVALID_LENGTH:5})}()},18699:(e,t,n)=>{e.exports=n(85197)},39294:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(97582),o=n(24394),i=n(83573),a=n(84839);function s(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var l=s(a),c=function(e,t,n){return Math.min(Math.max(n,e),t)},u=.001,d=.01,p=10,f=.05,h=1;function m(e){var t,n,r=e.duration,i=void 0===r?800:r,a=e.bounce,s=void 0===a?.25:a,l=e.velocity,m=void 0===l?0:l,y=e.mass,b=void 0===y?1:y;o.warning(i<=1e3*p,"Spring duration must be 10 seconds or less");var w=1-s;w=c(f,h,w),i=c(d,p,i/1e3),w<1?(t=function(e){var t=e*w,n=t*i,r=t-m,o=g(e,w),a=Math.exp(-n);return u-r/o*a},n=function(e){var n=e*w*i,r=n*m+m,o=Math.pow(w,2)*Math.pow(e,2)*i,a=Math.exp(-n),s=g(Math.pow(e,2),w);return(-t(e)+u>0?-1:1)*((r-o)*a)/s}):(t=function(e){return Math.exp(-e*i)*((e-m)*i+1)-u},n=function(e){return Math.exp(-e*i)*(i*i*(m-e))});var x=function(e,t,n){for(var r=n,o=1;o<v;o++)r-=e(r)/t(r);return r}(t,n,5/i);if(i*=1e3,isNaN(x))return{stiffness:100,damping:10,duration:i};var k=Math.pow(x,2)*b;return{stiffness:k,damping:2*w*Math.sqrt(b*k),duration:i}}var v=12;function g(e,t){return e*Math.sqrt(1-t*t)}var y=["duration","bounce"],b=["stiffness","damping","mass"];function w(e,t){return t.some((function(t){return void 0!==e[t]}))}function x(e){var t=e.from,n=void 0===t?0:t,o=e.to,i=void 0===o?1:o,a=e.restSpeed,s=void 0===a?2:a,l=e.restDelta,c=r.__rest(e,["from","to","restSpeed","restDelta"]),u={done:!1,value:n},d=function(e){var t=r.__assign({velocity:0,stiffness:100,damping:10,mass:1,isResolvedFromDuration:!1},e);if(!w(e,b)&&w(e,y)){var n=m(e);(t=r.__assign(r.__assign(r.__assign({},t),n),{velocity:0,mass:1})).isResolvedFromDuration=!0}return t}(c),p=d.stiffness,f=d.damping,h=d.mass,v=d.velocity,x=d.duration,S=d.isResolvedFromDuration,C=k,E=k;function T(){var e=v?-v/1e3:0,t=i-n,r=f/(2*Math.sqrt(p*h)),o=Math.sqrt(p/h)/1e3;if(null!=l||(l=Math.abs(i-n)<=1?.01:.4),r<1){var a=g(o,r);C=function(n){var s=Math.exp(-r*o*n);return i-s*((e+r*o*t)/a*Math.sin(a*n)+t*Math.cos(a*n))},E=function(n){var i=Math.exp(-r*o*n);return r*o*i*(Math.sin(a*n)*(e+r*o*t)/a+t*Math.cos(a*n))-i*(Math.cos(a*n)*(e+r*o*t)-a*t*Math.sin(a*n))}}else if(1===r)C=function(n){return i-Math.exp(-o*n)*(t+(e+o*t)*n)};else{var s=o*Math.sqrt(r*r-1);C=function(n){var a=Math.exp(-r*o*n),l=Math.min(s*n,300);return i-a*((e+r*o*t)*Math.sinh(l)+s*t*Math.cosh(l))/s}}}return T(),{next:function(e){var t=C(e);if(S)u.done=e>=x;else{var n=1e3*E(e),r=Math.abs(n)<=s,o=Math.abs(i-t)<=l;u.done=r&&o}return u.value=u.done?i:t,u},flipTarget:function(){var e;v=-v,n=(e=[i,n])[0],i=e[1],T()}}}x.needsInterpolation=function(e,t){return"string"==typeof e||"string"==typeof t};var k=function(e){return 0},S=function(e,t,n){var r=t-e;return 0===r?1:(n-e)/r},C=function(e,t,n){return-n*e+n*t+e},E=function(e,t,n){var r=e*e,o=t*t;return Math.sqrt(Math.max(0,n*(o-r)+r))},T=[i.hex,i.rgba,i.hsla],O=function(e){return T.find((function(t){return t.test(e)}))},$=function(e){return"'"+e+"' is not an animatable color. Use the equivalent color code instead."},M=function(e,t){var n=O(e),a=O(t);o.invariant(!!n,$(e)),o.invariant(!!a,$(t)),o.invariant(n.transform===a.transform,"Both colors must be hex/RGBA, OR both must be HSLA.");var s=n.parse(e),l=a.parse(t),c=r.__assign({},s),u=n===i.hsla?C:E;return function(e){for(var t in c)"alpha"!==t&&(c[t]=u(s[t],l[t],e));return c.alpha=C(s.alpha,l.alpha,e),n.transform(c)}},A={x:0,y:0,z:0},D=function(e){return"number"==typeof e},L=function(e,t){return function(n){return t(e(n))}},N=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return e.reduce(L)};function R(e,t){return D(e)?function(n){return C(e,t,n)}:i.color.test(e)?M(e,t):_(e,t)}var I=function(e,t){var n=r.__spreadArray([],e),o=n.length,i=e.map((function(e,n){return R(e,t[n])}));return function(e){for(var t=0;t<o;t++)n[t]=i[t](e);return n}},P=function(e,t){var n=r.__assign(r.__assign({},e),t),o={};for(var i in n)void 0!==e[i]&&void 0!==t[i]&&(o[i]=R(e[i],t[i]));return function(e){for(var t in o)n[t]=o[t](e);return n}};function Z(e){for(var t=i.complex.parse(e),n=t.length,r=0,o=0,a=0,s=0;s<n;s++)r||"number"==typeof t[s]?r++:void 0!==t[s].hue?a++:o++;return{parsed:t,numNumbers:r,numRGB:o,numHSL:a}}var _=function(e,t){var n=i.complex.createTransformer(t),r=Z(e),a=Z(t);return o.invariant(r.numHSL===a.numHSL&&r.numRGB===a.numRGB&&r.numNumbers>=a.numNumbers,"Complex values '"+e+"' and '"+t+"' too different to mix. Ensure all colors are of the same type."),N(I(r.parsed,a.parsed),n)},F=function(e,t){return function(n){return C(e,t,n)}};function j(e,t,n){for(var r=[],o=n||function(e){return"number"==typeof e?F:"string"==typeof e?i.color.test(e)?M:_:Array.isArray(e)?I:"object"==typeof e?P:void 0}(e[0]),a=e.length-1,s=0;s<a;s++){var l=o(e[s],e[s+1]);if(t){var c=Array.isArray(t)?t[s]:t;l=N(c,l)}r.push(l)}return r}function B(e,t,n){var r=void 0===n?{}:n,i=r.clamp,a=void 0===i||i,s=r.ease,l=r.mixer,u=e.length;o.invariant(u===t.length,"Both input and output ranges must be the same length"),o.invariant(!s||!Array.isArray(s)||s.length===u-1,"Array of easing functions must be of length `input.length - 1`, as it applies to the transitions **between** the defined values."),e[0]>e[u-1]&&(e=[].concat(e),t=[].concat(t),e.reverse(),t.reverse());var d=j(t,s,l),p=2===u?function(e,t){var n=e[0],r=e[1],o=t[0];return function(e){return o(S(n,r,e))}}(e,d):function(e,t){var n=e.length,r=n-1;return function(o){var i=0,a=!1;if(o<=e[0]?a=!0:o>=e[r]&&(i=r-1,a=!0),!a){for(var s=1;s<n&&!(e[s]>o||s===r);s++);i=s-1}var l=S(e[i],e[i+1],o);return t[i](l)}}(e,d);return a?function(t){return p(c(e[0],e[u-1],t))}:p}var z=function(e){return function(t){return 1-e(1-t)}},H=function(e){return function(t){return t<=.5?e(2*t)/2:(2-e(2*(1-t)))/2}},U=function(e){return function(t){return Math.pow(t,e)}},W=function(e){return function(t){return t*t*((e+1)*t-e)}},V=function(e){var t=W(e);return function(e){return(e*=2)<1?.5*t(e):.5*(2-Math.pow(2,-10*(e-1)))}},q=function(e){return e},G=U(2),K=z(G),Y=H(G),X=function(e){return 1-Math.sin(Math.acos(e))},J=z(X),Q=H(J),ee=W(1.525),te=z(ee),ne=H(ee),re=V(1.525),oe=function(e){if(1===e||0===e)return e;var t=e*e;return e<.36363636363636365?7.5625*t:e<.7272727272727273?9.075*t-9.9*e+3.4:e<.9?12.066481994459833*t-19.63545706371191*e+8.898060941828255:10.8*e*e-20.52*e+10.72},ie=z(oe);function ae(e,t){return e.map((function(){return t||Y})).splice(0,e.length-1)}function se(e){var t=e.from,n=void 0===t?0:t,r=e.to,o=void 0===r?1:r,i=e.ease,a=e.offset,s=e.duration,l=void 0===s?300:s,c={done:!1,value:n},u=Array.isArray(o)?o:[n,o],d=function(e,t){return e.map((function(e){return e*t}))}(a&&a.length===u.length?a:function(e){var t=e.length;return e.map((function(e,n){return 0!==n?n/(t-1):0}))}(u),l);function p(){return B(d,u,{ease:Array.isArray(i)?i:ae(u,i)})}var f=p();return{next:function(e){return c.value=f(e),c.done=e>=l,c},flipTarget:function(){u.reverse(),f=p()}}}function le(e){var t=e.velocity,n=void 0===t?0:t,r=e.from,o=void 0===r?0:r,i=e.power,a=void 0===i?.8:i,s=e.timeConstant,l=void 0===s?350:s,c=e.restDelta,u=void 0===c?.5:c,d=e.modifyTarget,p={done:!1,value:o},f=a*n,h=o+f,m=void 0===d?h:d(h);return m!==h&&(f=m-o),{next:function(e){var t=-f*Math.exp(-e/l);return p.done=!(t>u||t<-u),p.value=p.done?m:m+t,p},flipTarget:function(){}}}var ce={keyframes:se,spring:x,decay:le};function ue(e,t,n){return void 0===n&&(n=0),e-t-n}var de=function(e){var t=function(t){var n=t.delta;return e(n)};return{start:function(){return l.default.update(t,!0)},stop:function(){return a.cancelSync.update(t)}}};function pe(e){var t,n,o,i,a,s=e.from,l=e.autoplay,c=void 0===l||l,u=e.driver,d=void 0===u?de:u,p=e.elapsed,f=void 0===p?0:p,h=e.repeat,m=void 0===h?0:h,v=e.repeatType,g=void 0===v?"loop":v,y=e.repeatDelay,b=void 0===y?0:y,w=e.onPlay,k=e.onStop,S=e.onComplete,C=e.onRepeat,E=e.onUpdate,T=r.__rest(e,["from","autoplay","driver","elapsed","repeat","repeatType","repeatDelay","onPlay","onStop","onComplete","onRepeat","onUpdate"]),O=T.to,$=0,M=T.duration,A=!1,D=!0,L=function(e){if(Array.isArray(e.to))return se;if(ce[e.type])return ce[e.type];var t=new Set(Object.keys(e));return t.has("ease")||t.has("duration")&&!t.has("dampingRatio")?se:t.has("dampingRatio")||t.has("stiffness")||t.has("mass")||t.has("damping")||t.has("restSpeed")||t.has("restDelta")?x:se}(T);(null===(n=(t=L).needsInterpolation)||void 0===n?void 0:n.call(t,s,O))&&(a=B([0,100],[s,O],{clamp:!1}),s=0,O=100);var N=L(r.__assign(r.__assign({},T),{from:s,to:O}));function R(){$++,"reverse"===g?f=function(e,t,n,r){return void 0===n&&(n=0),void 0===r&&(r=!0),r?ue(t+-e,t,n):t-(e-t)+n}(f,M,b,D=$%2==0):(f=ue(f,M,b),"mirror"===g&&N.flipTarget()),A=!1,C&&C()}function I(e){if(D||(e=-e),f+=e,!A){var t=N.next(Math.max(0,f));i=t.value,a&&(i=a(i)),A=D?t.done:f<=0}null==E||E(i),A&&(0===$&&(null!=M||(M=f)),$<m?function(e,t,n,r){return r?e>=t+n:e<=-n}(f,M,b,D)&&R():(o.stop(),S&&S()))}return c&&(null==w||w(),(o=d(I)).start()),{stop:function(){null==k||k(),o.stop()}}}function fe(e,t){return t?e*(1e3/t):0}var he=function(e){return 180*e/Math.PI},me=function(e){return e},ve=function(e){return void 0===e&&(e=me),function(t,n,r){var o=n-r,i=-(0-t+1)*(0-e(Math.abs(o)));return o<=0?n+i:n-i}},ge=ve(),ye=ve(Math.sqrt),be=function(e){return e*Math.PI/180},we=function(e){return e.hasOwnProperty("x")&&e.hasOwnProperty("y")},xe=function(e){return we(e)&&e.hasOwnProperty("z")},ke=function(e,t){return Math.abs(e-t)};var Se=function(e,t){return void 0===t&&(t=2),t=Math.pow(10,t),Math.round(e*t)/t},Ce=function(e,t,n,r){return void 0===r&&(r=0),Se(e+n*(t-e)/Math.max(r,n))};var Ee=function(e,t){return 1-3*t+3*e},Te=function(e,t){return 3*t-6*e},Oe=function(e){return 3*e},$e=function(e,t,n){return((Ee(t,n)*e+Te(t,n))*e+Oe(t))*e},Me=function(e,t,n){return 3*Ee(t,n)*e*e+2*Te(t,n)*e+Oe(t)},Ae=1e-7,De=10;var Le=8;var Ne=.1;t.angle=function(e,t){return void 0===t&&(t=A),he(Math.atan2(t.y-e.y,t.x-e.x))},t.animate=pe,t.anticipate=re,t.applyOffset=function(e,t){var n=!0;return void 0===t&&(t=e,n=!1),function(r){return n?r-e+t:(e=r,n=!0,t)}},t.attract=ge,t.attractExpo=ye,t.backIn=ee,t.backInOut=ne,t.backOut=te,t.bounceIn=ie,t.bounceInOut=function(e){return e<.5?.5*(1-oe(1-2*e)):.5*oe(2*e-1)+.5},t.bounceOut=oe,t.circIn=X,t.circInOut=Q,t.circOut=J,t.clamp=c,t.createAnticipate=V,t.createAttractor=ve,t.createBackIn=W,t.createExpoIn=U,t.cubicBezier=function(e,t,n,r){if(e===t&&n===r)return q;for(var o=new Float32Array(11),i=0;i<11;++i)o[i]=$e(i*Ne,e,n);function a(t){for(var r=0,i=1;10!==i&&o[i]<=t;++i)r+=Ne;--i;var a=r+(t-o[i])/(o[i+1]-o[i])*Ne,s=Me(a,e,n);return s>=.001?function(e,t,n,r){for(var o=0;o<Le;++o){var i=Me(t,n,r);if(0===i)return t;t-=($e(t,n,r)-e)/i}return t}(t,a,e,n):0===s?a:function(e,t,n,r,o){var i,a,s=0;do{(i=$e(a=t+(n-t)/2,r,o)-e)>0?n=a:t=a}while(Math.abs(i)>Ae&&++s<De);return a}(t,r,r+Ne,e,n)}return function(e){return 0===e||1===e?e:$e(a(e),t,r)}},t.decay=le,t.degreesToRadians=be,t.distance=function(e,t){if(D(e)&&D(t))return ke(e,t);if(we(e)&&we(t)){var n=ke(e.x,t.x),r=ke(e.y,t.y),o=xe(e)&&xe(t)?ke(e.z,t.z):0;return Math.sqrt(Math.pow(n,2)+Math.pow(r,2)+Math.pow(o,2))}},t.easeIn=G,t.easeInOut=Y,t.easeOut=K,t.inertia=function(e){var t,n=e.from,o=void 0===n?0:n,i=e.velocity,s=void 0===i?0:i,l=e.min,c=e.max,u=e.power,d=void 0===u?.8:u,p=e.timeConstant,f=void 0===p?750:p,h=e.bounceStiffness,m=void 0===h?500:h,v=e.bounceDamping,g=void 0===v?10:v,y=e.restDelta,b=void 0===y?1:y,w=e.modifyTarget,x=e.driver,k=e.onUpdate,S=e.onComplete;function C(e){return void 0!==l&&e<l||void 0!==c&&e>c}function E(e){return void 0===l?c:void 0===c||Math.abs(l-e)<Math.abs(c-e)?l:c}function T(e){null==t||t.stop(),t=pe(r.__assign(r.__assign({},e),{driver:x,onUpdate:function(t){var n;null==k||k(t),null===(n=e.onUpdate)||void 0===n||n.call(e,t)},onComplete:S}))}function O(e){T(r.__assign({type:"spring",stiffness:m,damping:g,restDelta:b},e))}if(C(o))O({from:o,velocity:s,to:E(o)});else{var $=d*s+o;void 0!==w&&($=w($));var M,A,D=E($),L=D===l?-1:1;T({type:"decay",from:o,velocity:s,timeConstant:f,power:d,restDelta:b,modifyTarget:w,onUpdate:C($)?function(e){M=A,A=e,s=fe(e-M,a.getFrameData().delta),(1===L&&e>D||-1===L&&e<D)&&O({from:e,to:D,velocity:s})}:void 0})}return{stop:function(){return null==t?void 0:t.stop()}}},t.interpolate=B,t.isPoint=we,t.isPoint3D=xe,t.keyframes=se,t.linear=q,t.mirrorEasing=H,t.mix=C,t.mixColor=M,t.mixComplex=_,t.pipe=N,t.pointFromVector=function(e,t,n){return t=be(t),{x:n*Math.cos(t)+e.x,y:n*Math.sin(t)+e.y}},t.progress=S,t.radiansToDegrees=he,t.reverseEasing=z,t.smooth=function(e){void 0===e&&(e=50);var t=0,n=0;return function(r){var o=a.getFrameData().timestamp,i=o!==n?o-n:0,s=i?Ce(t,r,i,e):t;return n=o,t=s,s}},t.smoothFrame=Ce,t.snap=function(e){if("number"==typeof e)return function(t){return Math.round(t/e)*e};var t=0,n=e.length;return function(r){var o=Math.abs(e[0]-r);for(t=1;t<n;t++){var i=e[t],a=Math.abs(i-r);if(0===a)return i;if(a>o)return e[t-1];if(t===n-1)return i;o=a}}},t.spring=x,t.steps=function(e,t){return void 0===t&&(t="end"),function(n){var r=(n="end"===t?Math.min(n,.999):Math.max(n,.001))*e,o="end"===t?Math.floor(r):Math.ceil(r);return c(0,1,o/e)}},t.toDecimal=Se,t.velocityPerFrame=function(e,t){return e/(1e3/t)},t.velocityPerSecond=fe,t.wrap=function(e,t,n){var r=t-e;return((n-e)%r+r)%r+e}},92703:(e,t,n)=>{"use strict";var r=n(50414);function o(){}function i(){}i.resetWarningCache=o,e.exports=function(){function e(e,t,n,o,i,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:i,resetWarningCache:o};return n.PropTypes=n,n}},45697:(e,t,n)=>{e.exports=n(92703)()},50414:e=>{"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},55760:e=>{"use strict";function t(e){this._maxSize=e,this.clear()}t.prototype.clear=function(){this._size=0,this._values=Object.create(null)},t.prototype.get=function(e){return this._values[e]},t.prototype.set=function(e,t){return this._size>=this._maxSize&&this.clear(),e in this._values||this._size++,this._values[e]=t};var n=/[^.^\]^[]+|(?=\[\]|\.\.)/g,r=/^\d+$/,o=/^\d/,i=/[~`!#$%\^&*+=\-\[\]\\';,/{}|\\":<>\?]/g,a=/^\s*(['"]?)(.*?)(\1)\s*$/,s=new t(512),l=new t(512),c=new t(512);function u(e){return s.get(e)||s.set(e,d(e).map((function(e){return e.replace(a,"$2")})))}function d(e){return e.match(n)||[""]}function p(e){return"string"==typeof e&&e&&-1!==["'",'"'].indexOf(e.charAt(0))}function f(e){return!p(e)&&(function(e){return e.match(o)&&!e.match(r)}(e)||function(e){return i.test(e)}(e))}e.exports={Cache:t,split:d,normalizePath:u,setter:function(e){var t=u(e);return l.get(e)||l.set(e,(function(e,n){for(var r=0,o=t.length,i=e;r<o-1;){var a=t[r];if("__proto__"===a||"constructor"===a||"prototype"===a)return e;i=i[t[r++]]}i[t[r]]=n}))},getter:function(e,t){var n=u(e);return c.get(e)||c.set(e,(function(e){for(var r=0,o=n.length;r<o;){if(null==e&&t)return;e=e[n[r++]]}return e}))},join:function(e){return e.reduce((function(e,t){return e+(p(t)||r.test(t)?"["+t+"]":(e?".":"")+t)}),"")},forEach:function(e,t,n){!function(e,t,n){var r,o,i,a,s=e.length;for(o=0;o<s;o++)(r=e[o])&&(f(r)&&(r='"'+r+'"'),i=!(a=p(r))&&/^\d+$/.test(r),t.call(n,r,a,i,o,e))}(Array.isArray(e)?e:d(e),t,n)}}},99336:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ariaLabelsShape=void 0;var r,o=(r=n(45697))&&r.__esModule?r:{default:r};var i=o.default.shape({dateInput:o.default.objectOf(o.default.shape({startDate:o.default.string,endDate:o.default.string})),monthPicker:o.default.string,yearPicker:o.default.string,prevButton:o.default.string,nextButton:o.default.string});t.ariaLabelsShape=i},81660:(e,t,n)=>{"use strict";function r(e){return r="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},r(e)}Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!==r(e)&&"function"!=typeof e)return{default:e};var n=I(t);if(n&&n.has(e))return n.get(e);var o={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if("default"!==a&&Object.prototype.hasOwnProperty.call(e,a)){var s=i?Object.getOwnPropertyDescriptor(e,a):null;s&&(s.get||s.set)?Object.defineProperty(o,a,s):o[a]=e[a]}o.default=e,n&&n.set(e,o);return o}(n(74570)),i=R(n(45697)),a=n(60376),s=R(n(39680)),l=R(n(26359)),c=n(60586),u=R(n(94184)),d=R(n(76970)),p=n(781),f=R(n(99890)),h=R(n(37950)),m=R(n(67803)),v=R(n(49160)),g=R(n(77349)),y=R(n(4135)),b=R(n(43703)),w=R(n(84129)),x=R(n(66623)),k=R(n(44749)),S=R(n(21593)),C=R(n(3151)),E=R(n(67090)),T=R(n(584)),O=R(n(9005)),$=R(n(32449)),M=R(n(54559)),A=R(n(11640)),D=R(n(8493)),L=R(n(39932)),N=n(99336);function R(e){return e&&e.__esModule?e:{default:e}}function I(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(I=function(e){return e?n:t})(e)}function P(){return P=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},P.apply(this,arguments)}function Z(e){return function(e){if(Array.isArray(e))return _(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)return;if("string"==typeof e)return _(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return _(e,t)}(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 _(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 F(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 j(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?F(Object(n),!0).forEach((function(t){V(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):F(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function B(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 z(e,t){return z=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},z(e,t)}function H(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,o=W(e);if(t){var i=W(this).constructor;n=Reflect.construct(o,arguments,i)}else n=o.apply(this,arguments);return function(e,t){if(t&&("object"===r(t)||"function"==typeof t))return t;return U(e)}(this,n)}}function U(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function W(e){return W=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},W(e)}function V(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var q=function(e){!function(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&&z(e,t)}(a,e);var t,n,r,i=H(a);function a(e,t){var n;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,a),V(U(n=i.call(this,e,t)),"focusToDate",(function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:n.props,r=!(arguments.length>2&&void 0!==arguments[2])||arguments[2];if(t.scroll.enabled){var o=(0,w.default)(e,t.minDate,n.dateOptions),i=n.list.getVisibleRange();r&&i.includes(o)||(n.isFirstRender=!0,n.list.scrollTo(o),n.setState({focusedDate:e}))}else{if(r&&t.preventSnapRefocus){var a=(0,w.default)(e,n.state.focusedDate),s="forwards"===t.calendarFocus&&a>=0,l="backwards"===t.calendarFocus&&a<=0;if((s||l)&&Math.abs(a)<t.months)return}n.setState({focusedDate:e})}})),V(U(n),"updateShownDate",(function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:n.props,t=e.scroll.enabled?j(j({},e),{},{months:n.list.getVisibleRange().length}):e,r=(0,c.calcFocusDate)(n.state.focusedDate,t);n.focusToDate(r,t)})),V(U(n),"updatePreview",(function(e){if(e){var t={startDate:e,endDate:e,color:n.props.color};n.setState({preview:t})}else n.setState({preview:null})})),V(U(n),"changeShownDate",(function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"set",r=n.state.focusedDate,o=n.props,i=o.onShownDateChange,a=o.minDate,s=o.maxDate,l={monthOffset:function(){return(0,A.default)(r,e)},setMonth:function(e){function t(){return e.apply(this,arguments)}return t.toString=function(){return e.toString()},t}((function(){return(0,x.default)(r,e)})),setYear:function(e){function t(){return e.apply(this,arguments)}return t.toString=function(){return e.toString()},t}((function(){return(0,k.default)(r,e)})),set:function(){return e}},c=(0,h.default)([(0,f.default)([l[t](),a]),s]);n.focusToDate(c,n.props,!1),i&&i(c)})),V(U(n),"handleRangeFocusChange",(function(e,t){n.props.onRangeFocusChange&&n.props.onRangeFocusChange([e,t])})),V(U(n),"handleScroll",(function(){var e=n.props,t=e.onShownDateChange,r=e.minDate,o=n.state.focusedDate,i=U(n).isFirstRender,a=n.list.getVisibleRange();if(void 0!==a[0]){var s=(0,A.default)(r,a[0]||0);!(0,v.default)(s,o)&&!i&&(n.setState({focusedDate:s}),t&&t(s)),n.isFirstRender=!1}})),V(U(n),"renderMonthAndYear",(function(e,t,r){var i=r.showMonthArrow,s=r.minDate,l=r.maxDate,c=r.showMonthAndYearPickers,d=r.ariaLabels,p=(l||a.defaultProps.maxDate).getFullYear(),f=(s||a.defaultProps.minDate).getFullYear(),h=n.styles;return o.default.createElement("div",{onMouseUp:function(e){return e.stopPropagation()},className:h.monthAndYearWrapper},i?o.default.createElement("button",{type:"button",className:(0,u.default)(h.nextPrevButton,h.prevButton),onClick:function(){return t(-1,"monthOffset")},"aria-label":d.prevButton},o.default.createElement("i",null)):null,c?o.default.createElement("span",{className:h.monthAndYearPickers},o.default.createElement("span",{className:h.monthPicker},o.default.createElement("select",{value:e.getMonth(),onChange:function(e){return t(e.target.value,"setMonth")},"aria-label":d.monthPicker},n.state.monthNames.map((function(e,t){return o.default.createElement("option",{key:t,value:t},e)})))),o.default.createElement("span",{className:h.monthAndYearDivider}),o.default.createElement("span",{className:h.yearPicker},o.default.createElement("select",{value:e.getFullYear(),onChange:function(e){return t(e.target.value,"setYear")},"aria-label":d.yearPicker},new Array(p-f+1).fill(p).map((function(e,t){var n=e-t;return o.default.createElement("option",{key:n,value:n},n)}))))):o.default.createElement("span",{className:h.monthAndYearPickers},n.state.monthNames[e.getMonth()]," ",e.getFullYear()),i?o.default.createElement("button",{type:"button",className:(0,u.default)(h.nextPrevButton,h.nextButton),onClick:function(){return t(1,"monthOffset")},"aria-label":d.nextButton},o.default.createElement("i",null)):null)})),V(U(n),"renderDateDisplay",(function(){var e=n.props,t=e.focusedRange,r=e.color,i=e.ranges,a=e.rangeColors,s=e.dateDisplayFormat,c=e.editableDateInputs,d=e.startDatePlaceholder,p=e.endDatePlaceholder,f=e.ariaLabels,h=a[t[0]]||r,m=n.styles;return o.default.createElement("div",{className:m.dateDisplayWrapper},i.map((function(e,r){return!1===e.showDateDisplay||e.disabled&&!e.showDateDisplay?null:o.default.createElement("div",{className:m.dateDisplay,key:r,style:{color:e.color||h}},o.default.createElement(l.default,{className:(0,u.default)(m.dateDisplayItem,V({},m.dateDisplayItemActive,t[0]===r&&0===t[1])),readOnly:!c,disabled:e.disabled,value:e.startDate,placeholder:d,dateOptions:n.dateOptions,dateDisplayFormat:s,ariaLabel:f.dateInput&&f.dateInput[e.key]&&f.dateInput[e.key].startDate,onChange:n.onDragSelectionEnd,onFocus:function(){return n.handleRangeFocusChange(r,0)}}),o.default.createElement(l.default,{className:(0,u.default)(m.dateDisplayItem,V({},m.dateDisplayItemActive,t[0]===r&&1===t[1])),readOnly:!c,disabled:e.disabled,value:e.endDate,placeholder:p,dateOptions:n.dateOptions,dateDisplayFormat:s,ariaLabel:f.dateInput&&f.dateInput[e.key]&&f.dateInput[e.key].endDate,onChange:n.onDragSelectionEnd,onFocus:function(){return n.handleRangeFocusChange(r,1)}}))})))})),V(U(n),"onDragSelectionStart",(function(e){var t=n.props,r=t.onChange;t.dragSelectionEnabled?n.setState({drag:{status:!0,range:{startDate:e,endDate:e},disablePreview:!0}}):r&&r(e)})),V(U(n),"onDragSelectionEnd",(function(e){var t=n.props,r=t.updateRange,o=t.displayMode,i=t.onChange;if(t.dragSelectionEnabled)if("date"!==o&&n.state.drag.status){var a={startDate:n.state.drag.range.startDate,endDate:e};"dateRange"!==o||(0,C.default)(a.startDate,e)?n.setState({drag:{status:!1,range:{}}},(function(){return i&&i(e)})):n.setState({drag:{status:!1,range:{}}},(function(){r&&r(a)}))}else i&&i(e)})),V(U(n),"onDragSelectionMove",(function(e){var t=n.state.drag;t.status&&n.props.dragSelectionEnabled&&n.setState({drag:{status:t.status,range:{startDate:t.range.startDate,endDate:e},disablePreview:!0}})})),V(U(n),"estimateMonthSize",(function(e,t){var r=n.props,o=r.direction,i=r.minDate,a=n.state.scrollArea;if(t&&(n.listSizeCache=t,t[e]))return t[e];if("horizontal"===o)return a.monthWidth;var s=(0,A.default)(i,e),l=(0,c.getMonthDisplayRange)(s,n.dateOptions),u=l.start,d=l.end;return(0,m.default)(d,u,n.dateOptions)+1>35?a.longMonthHeight:a.monthHeight})),n.dateOptions={locale:e.locale},void 0!==e.weekStartsOn&&(n.dateOptions.weekStartsOn=e.weekStartsOn),n.styles=(0,c.generateStyles)([L.default,e.classNames]),n.listSizeCache={},n.isFirstRender=!0,n.state={monthNames:n.getMonthNames(),focusedDate:(0,c.calcFocusDate)(null,e),drag:{status:!1,range:{startDate:null,endDate:null},disablePreview:!1},scrollArea:n.calcScrollArea(e)},n}return t=a,(n=[{key:"getMonthNames",value:function(){var e=this;return Z(Array(12).keys()).map((function(t){return e.props.locale.localize.month(t)}))}},{key:"calcScrollArea",value:function(e){var t=e.direction,n=e.months,r=e.scroll;if(!r.enabled)return{enabled:!1};var o=r.longMonthHeight||r.monthHeight;return"vertical"===t?{enabled:!0,monthHeight:r.monthHeight||220,longMonthHeight:o||260,calendarWidth:"auto",calendarHeight:(r.calendarHeight||o||240)*n}:{enabled:!0,monthWidth:r.monthWidth||332,calendarWidth:(r.calendarWidth||r.monthWidth||332)*n,monthHeight:o||300,calendarHeight:o||300}}},{key:"componentDidMount",value:function(){var e=this;this.props.scroll.enabled&&setTimeout((function(){return e.focusToDate(e.state.focusedDate)}))}},{key:"componentDidUpdate",value:function(e){var t={dateRange:"ranges",date:"date"}[this.props.displayMode];this.props[t]!==e[t]&&this.updateShownDate(this.props),e.locale===this.props.locale&&e.weekStartsOn===this.props.weekStartsOn||(this.dateOptions={locale:this.props.locale},void 0!==this.props.weekStartsOn&&(this.dateOptions.weekStartsOn=this.props.weekStartsOn),this.setState({monthNames:this.getMonthNames()})),(0,p.shallowEqualObjects)(e.scroll,this.props.scroll)||this.setState({scrollArea:this.calcScrollArea(this.props)})}},{key:"renderWeekdays",value:function(){var e=this,t=new Date;return o.default.createElement("div",{className:this.styles.weekDays},(0,O.default)({start:(0,T.default)(t,this.dateOptions),end:(0,E.default)(t,this.dateOptions)}).map((function(t,n){return o.default.createElement("span",{className:e.styles.weekDay,key:n},(0,$.default)(t,e.props.weekdayDisplayFormat,e.dateOptions))})))}},{key:"render",value:function(){var e=this,t=this.props,n=t.showDateDisplay,r=t.onPreviewChange,i=t.scroll,a=t.direction,l=t.disabledDates,c=t.disabledDay,p=t.maxDate,f=t.minDate,h=t.rangeColors,m=t.color,v=t.navigatorRenderer,x=t.className,k=t.preview,S=this.state,C=S.scrollArea,E=S.focusedDate,T="vertical"===a,O=v||this.renderMonthAndYear,$=this.props.ranges.map((function(e,t){return j(j({},e),{},{color:e.color||h[t]||m})}));return o.default.createElement("div",{className:(0,u.default)(this.styles.calendarWrapper,x),onMouseUp:function(){return e.setState({drag:{status:!1,range:{}}})},onMouseLeave:function(){e.setState({drag:{status:!1,range:{}}})}},n&&this.renderDateDisplay(),O(E,this.changeShownDate,this.props),i.enabled?o.default.createElement("div",null,T&&this.renderWeekdays(this.dateOptions),o.default.createElement("div",{className:(0,u.default)(this.styles.infiniteMonths,T?this.styles.monthsVertical:this.styles.monthsHorizontal),onMouseLeave:function(){return r&&r()},style:{width:C.calendarWidth+11,height:C.calendarHeight+11},onScroll:this.handleScroll},o.default.createElement(d.default,{length:(0,w.default)((0,y.default)(p),(0,g.default)((0,b.default)(f),-1),this.dateOptions),treshold:500,type:"variable",ref:function(t){return e.list=t},itemSizeEstimator:this.estimateMonthSize,axis:T?"y":"x",itemRenderer:function(t,n){var i=(0,A.default)(f,t);return o.default.createElement(s.default,P({},e.props,{onPreviewChange:r||e.updatePreview,preview:k||e.state.preview,ranges:$,key:n,drag:e.state.drag,dateOptions:e.dateOptions,disabledDates:l,disabledDay:c,month:i,onDragSelectionStart:e.onDragSelectionStart,onDragSelectionEnd:e.onDragSelectionEnd,onDragSelectionMove:e.onDragSelectionMove,onMouseLeave:function(){return r&&r()},styles:e.styles,style:T?{height:e.estimateMonthSize(t)}:{height:C.monthHeight,width:e.estimateMonthSize(t)},showMonthName:!0,showWeekDays:!T}))}}))):o.default.createElement("div",{className:(0,u.default)(this.styles.months,T?this.styles.monthsVertical:this.styles.monthsHorizontal)},new Array(this.props.months).fill(null).map((function(t,n){var i=(0,A.default)(e.state.focusedDate,n);return"backwards"===e.props.calendarFocus&&(i=(0,M.default)(e.state.focusedDate,e.props.months-1-n)),o.default.createElement(s.default,P({},e.props,{onPreviewChange:r||e.updatePreview,preview:k||e.state.preview,ranges:$,key:n,drag:e.state.drag,dateOptions:e.dateOptions,disabledDates:l,disabledDay:c,month:i,onDragSelectionStart:e.onDragSelectionStart,onDragSelectionEnd:e.onDragSelectionEnd,onDragSelectionMove:e.onDragSelectionMove,onMouseLeave:function(){return r&&r()},styles:e.styles,showWeekDays:!T||0===n,showMonthName:!T||n>0}))}))))}}])&&B(t.prototype,n),r&&B(t,r),a}(o.PureComponent);q.defaultProps={showMonthArrow:!0,showMonthAndYearPickers:!0,disabledDates:[],disabledDay:function(){},classNames:{},locale:D.default,ranges:[],focusedRange:[0,0],dateDisplayFormat:"MMM d, yyyy",monthDisplayFormat:"MMM yyyy",weekdayDisplayFormat:"E",dayDisplayFormat:"d",showDateDisplay:!0,showPreview:!0,displayMode:"date",months:1,color:"#3d91ff",scroll:{enabled:!1},direction:"vertical",maxDate:(0,S.default)(new Date,20),minDate:(0,S.default)(new Date,-100),rangeColors:["#3d91ff","#3ecf8e","#fed14c"],startDatePlaceholder:"Early",endDatePlaceholder:"Continuous",editableDateInputs:!1,dragSelectionEnabled:!0,fixedHeight:!1,calendarFocus:"forwards",preventSnapRefocus:!1,ariaLabels:{}},q.propTypes={showMonthArrow:i.default.bool,showMonthAndYearPickers:i.default.bool,disabledDates:i.default.array,disabledDay:i.default.func,minDate:i.default.object,maxDate:i.default.object,date:i.default.object,onChange:i.default.func,onPreviewChange:i.default.func,onRangeFocusChange:i.default.func,classNames:i.default.object,locale:i.default.object,shownDate:i.default.object,onShownDateChange:i.default.func,ranges:i.default.arrayOf(a.rangeShape),preview:i.default.shape({startDate:i.default.object,endDate:i.default.object,color:i.default.string}),dateDisplayFormat:i.default.string,monthDisplayFormat:i.default.string,weekdayDisplayFormat:i.default.string,weekStartsOn:i.default.number,dayDisplayFormat:i.default.string,focusedRange:i.default.arrayOf(i.default.number),initialFocusedRange:i.default.arrayOf(i.default.number),months:i.default.number,className:i.default.string,showDateDisplay:i.default.bool,showPreview:i.default.bool,displayMode:i.default.oneOf(["dateRange","date"]),color:i.default.string,updateRange:i.default.func,scroll:i.default.shape({enabled:i.default.bool,monthHeight:i.default.number,longMonthHeight:i.default.number,monthWidth:i.default.number,calendarWidth:i.default.number,calendarHeight:i.default.number}),direction:i.default.oneOf(["vertical","horizontal"]),startDatePlaceholder:i.default.string,endDatePlaceholder:i.default.string,navigatorRenderer:i.default.func,rangeColors:i.default.arrayOf(i.default.string),editableDateInputs:i.default.bool,dragSelectionEnabled:i.default.bool,fixedHeight:i.default.bool,calendarFocus:i.default.string,preventSnapRefocus:i.default.bool,ariaLabels:N.ariaLabelsShape};var G=q;t.default=G},26359:(e,t,n)=>{"use strict";function r(e){return r="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},r(e)}Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!==r(e)&&"function"!=typeof e)return{default:e};var n=p(t);if(n&&n.has(e))return n.get(e);var o={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if("default"!==a&&Object.prototype.hasOwnProperty.call(e,a)){var s=i?Object.getOwnPropertyDescriptor(e,a):null;s&&(s.get||s.set)?Object.defineProperty(o,a,s):o[a]=e[a]}o.default=e,n&&n.set(e,o);return o}(n(74570)),i=d(n(45697)),a=d(n(94184)),s=d(n(96843)),l=d(n(12274)),c=d(n(17074)),u=d(n(32449));function d(e){return e&&e.__esModule?e:{default:e}}function p(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(p=function(e){return e?n:t})(e)}function f(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 h(e,t){return h=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},h(e,t)}function m(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,o=g(e);if(t){var i=g(this).constructor;n=Reflect.construct(o,arguments,i)}else n=o.apply(this,arguments);return function(e,t){if(t&&("object"===r(t)||"function"==typeof t))return t;return v(e)}(this,n)}}function v(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function g(e){return g=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},g(e)}function y(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var b=function(e){!function(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&&h(e,t)}(d,e);var t,n,r,i=m(d);function d(e,t){var n;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,d),y(v(n=i.call(this,e,t)),"onKeyDown",(function(e){var t=n.state.value;"Enter"===e.key&&n.update(t)})),y(v(n),"onChange",(function(e){n.setState({value:e.target.value,changed:!0,invalid:!1})})),y(v(n),"onBlur",(function(){var e=n.state.value;n.update(e)})),n.state={invalid:!1,changed:!1,value:n.formatDate(e)},n}return t=d,(n=[{key:"componentDidUpdate",value:function(e){var t=e.value;(0,s.default)(t,this.props.value)||this.setState({value:this.formatDate(this.props)})}},{key:"formatDate",value:function(e){var t=e.value,n=e.dateDisplayFormat,r=e.dateOptions;return t&&(0,l.default)(t)?(0,u.default)(t,n,r):""}},{key:"update",value:function(e){var t=this.state,n=t.invalid,r=t.changed;if(!n&&r&&e){var o=this.props,i=o.onChange,a=o.dateDisplayFormat,s=o.dateOptions,u=(0,c.default)(e,a,new Date,s);(0,l.default)(u)?this.setState({changed:!1},(function(){return i(u)})):this.setState({invalid:!0})}}},{key:"render",value:function(){var e=this.props,t=e.className,n=e.readOnly,r=e.placeholder,i=e.ariaLabel,s=e.disabled,l=e.onFocus,c=this.state,u=c.value,d=c.invalid;return o.default.createElement("span",{className:(0,a.default)("rdrDateInput",t)},o.default.createElement("input",{readOnly:n,disabled:s,value:u,placeholder:r,"aria-label":i,onKeyDown:this.onKeyDown,onChange:this.onChange,onBlur:this.onBlur,onFocus:l}),d&&o.default.createElement("span",{className:"rdrWarning"},"⚠"))}}])&&f(t.prototype,n),r&&f(t,r),d}(o.PureComponent);b.propTypes={value:i.default.object,placeholder:i.default.string,disabled:i.default.bool,readOnly:i.default.bool,dateOptions:i.default.object,dateDisplayFormat:i.default.string,ariaLabel:i.default.string,className:i.default.string,onFocus:i.default.func.isRequired,onChange:i.default.func.isRequired},b.defaultProps={readOnly:!0,disabled:!1,dateDisplayFormat:"MMM D, YYYY"};var w=b;t.default=w},73846:(e,t,n)=>{"use strict";function r(e){return r="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},r(e)}Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!==r(e)&&"function"!=typeof e)return{default:e};var n=y(t);if(n&&n.has(e))return n.get(e);var o={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if("default"!==a&&Object.prototype.hasOwnProperty.call(e,a)){var s=i?Object.getOwnPropertyDescriptor(e,a):null;s&&(s.get||s.set)?Object.defineProperty(o,a,s):o[a]=e[a]}o.default=e,n&&n.set(e,o);return o}(n(74570)),i=g(n(45697)),a=g(n(81660)),s=n(60376),l=n(60586),c=g(n(99890)),u=g(n(24257)),d=g(n(37950)),p=g(n(77349)),f=g(n(92300)),h=g(n(313)),m=g(n(94184)),v=g(n(39932));function g(e){return e&&e.__esModule?e:{default:e}}function y(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(y=function(e){return e?n:t})(e)}function b(){return b=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},b.apply(this,arguments)}function w(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 x(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?w(Object(n),!0).forEach((function(t){O(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):w(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function k(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 S(e,t){return S=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},S(e,t)}function C(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,o=T(e);if(t){var i=T(this).constructor;n=Reflect.construct(o,arguments,i)}else n=o.apply(this,arguments);return function(e,t){if(t&&("object"===r(t)||"function"==typeof t))return t;return E(e)}(this,n)}}function E(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function T(e){return T=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},T(e)}function O(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var $=function(e){!function(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&&S(e,t)}(s,e);var t,n,r,i=C(s);function s(e,t){var n;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,s),O(E(n=i.call(this,e,t)),"calcNewSelection",(function(e){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],r=n.props.focusedRange||n.state.focusedRange,o=n.props,i=o.ranges,a=o.onChange,s=o.maxDate,m=o.moveRangeOnFirstSelection,v=o.retainEndDateOnFirstSelection,g=o.disabledDates,y=i[r[0]];if(!y||!a)return{};var b,w=y.startDate,x=y.endDate,k=new Date;if(t)if(0===r[1]){var S=(0,f.default)(x||k,w);w=e,x=m?(0,p.default)(e,S):v?!x||(0,h.default)(e,x)?x:e:e||k,s&&(x=(0,d.default)([x,s])),b=[r[0],1]}else x=e;else w=e.startDate,x=e.endDate;var C=0===r[1];if((0,h.default)(x,w)){C=!C;var E=[x,w];w=E[0],x=E[1]}var T=g.filter((function(e){return(0,u.default)(e,{start:w,end:x})}));(T.length>0&&(C?w=(0,p.default)((0,c.default)(T),1):x=(0,p.default)((0,d.default)(T),-1)),b)||(b=[(0,l.findNextRangeIndex)(n.props.ranges,r[0]),0]);return{wasValid:!(T.length>0),range:{startDate:w,endDate:x},nextFocusRange:b}})),O(E(n),"setSelection",(function(e,t){var r=n.props,o=r.onChange,i=r.ranges,a=r.onRangeFocusChange,s=(n.props.focusedRange||n.state.focusedRange)[0],l=i[s];if(l){var c=n.calcNewSelection(e,t);o(O({},l.key||"range".concat(s+1),x(x({},l),c.range))),n.setState({focusedRange:c.nextFocusRange,preview:null}),a&&a(c.nextFocusRange)}})),O(E(n),"handleRangeFocusChange",(function(e){n.setState({focusedRange:e}),n.props.onRangeFocusChange&&n.props.onRangeFocusChange(e)})),O(E(n),"updatePreview",(function(e){var t;if(e){var r=n.props,o=r.rangeColors,i=r.ranges,a=n.props.focusedRange||n.state.focusedRange,s=(null===(t=i[a[0]])||void 0===t?void 0:t.color)||o[a[0]]||s;n.setState({preview:x(x({},e.range),{},{color:s})})}else n.setState({preview:null})})),n.state={focusedRange:e.initialFocusedRange||[(0,l.findNextRangeIndex)(e.ranges),0],preview:null},n.styles=(0,l.generateStyles)([v.default,e.classNames]),n}return t=s,(n=[{key:"render",value:function(){var e=this;return o.default.createElement(a.default,b({focusedRange:this.state.focusedRange,onRangeFocusChange:this.handleRangeFocusChange,preview:this.state.preview,onPreviewChange:function(t){e.updatePreview(t?e.calcNewSelection(t):null)}},this.props,{displayMode:"dateRange",className:(0,m.default)(this.styles.dateRangeWrapper,this.props.className),onChange:this.setSelection,updateRange:function(t){return e.setSelection(t,!1)},ref:function(t){e.calendar=t}}))}}])&&k(t.prototype,n),r&&k(t,r),s}(o.Component);$.defaultProps={classNames:{},ranges:[],moveRangeOnFirstSelection:!1,retainEndDateOnFirstSelection:!1,rangeColors:["#3d91ff","#3ecf8e","#fed14c"],disabledDates:[]},$.propTypes=x(x({},a.default.propTypes),{},{onChange:i.default.func,onRangeFocusChange:i.default.func,className:i.default.string,ranges:i.default.arrayOf(s.rangeShape),moveRangeOnFirstSelection:i.default.bool,retainEndDateOnFirstSelection:i.default.bool});var M=$;t.default=M},84777:(e,t,n)=>{"use strict";function r(e){return r="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},r(e)}Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!==r(e)&&"function"!=typeof e)return{default:e};var n=p(t);if(n&&n.has(e))return n.get(e);var o={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if("default"!==a&&Object.prototype.hasOwnProperty.call(e,a)){var s=i?Object.getOwnPropertyDescriptor(e,a):null;s&&(s.get||s.set)?Object.defineProperty(o,a,s):o[a]=e[a]}o.default=e,n&&n.set(e,o);return o}(n(74570)),i=d(n(45697)),a=d(n(73846)),s=d(n(36907)),l=n(60586),c=d(n(94184)),u=d(n(39932));function d(e){return e&&e.__esModule?e:{default:e}}function p(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(p=function(e){return e?n:t})(e)}function f(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 h(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?f(Object(n),!0).forEach((function(t){m(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):f(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function m(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function v(){return v=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},v.apply(this,arguments)}function g(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 y(e,t){return y=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},y(e,t)}function b(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,o=w(e);if(t){var i=w(this).constructor;n=Reflect.construct(o,arguments,i)}else n=o.apply(this,arguments);return function(e,t){if(t&&("object"===r(t)||"function"==typeof t))return t;return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(this,n)}}function w(e){return w=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},w(e)}var x=function(e){!function(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&&y(e,t)}(d,e);var t,n,r,i=b(d);function d(e){var t;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,d),(t=i.call(this,e)).state={focusedRange:[(0,l.findNextRangeIndex)(e.ranges),0]},t.styles=(0,l.generateStyles)([u.default,e.classNames]),t}return t=d,(n=[{key:"render",value:function(){var e=this,t=this.state.focusedRange;return o.default.createElement("div",{className:(0,c.default)(this.styles.dateRangePickerWrapper,this.props.className)},o.default.createElement(s.default,v({focusedRange:t,onPreviewChange:function(t){return e.dateRange.updatePreview(t?e.dateRange.calcNewSelection(t,"string"==typeof t):null)}},this.props,{range:this.props.ranges[t[0]],className:void 0})),o.default.createElement(a.default,v({onRangeFocusChange:function(t){return e.setState({focusedRange:t})},focusedRange:t},this.props,{ref:function(t){return e.dateRange=t},className:void 0})))}}])&&g(t.prototype,n),r&&g(t,r),d}(o.Component);x.defaultProps={},x.propTypes=h(h(h({},a.default.propTypes),s.default.propTypes),{},{className:i.default.string});var k=x;t.default=k},60376:(e,t,n)=>{"use strict";function r(e){return r="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},r(e)}Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.rangeShape=void 0;var o=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!==r(e)&&"function"!=typeof e)return{default:e};var n=h(t);if(n&&n.has(e))return n.get(e);var o={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if("default"!==a&&Object.prototype.hasOwnProperty.call(e,a)){var s=i?Object.getOwnPropertyDescriptor(e,a):null;s&&(s.get||s.set)?Object.defineProperty(o,a,s):o[a]=e[a]}o.default=e,n&&n.set(e,o);return o}(n(74570)),i=f(n(45697)),a=f(n(94184)),s=f(n(83894)),l=f(n(313)),c=f(n(42699)),u=f(n(3151)),d=f(n(32449)),p=f(n(69119));function f(e){return e&&e.__esModule?e:{default:e}}function h(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(h=function(e){return e?n:t})(e)}function m(){return m=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},m.apply(this,arguments)}function v(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 g(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?v(Object(n),!0).forEach((function(t){E(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):v(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function y(e){return function(e){if(Array.isArray(e))return b(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)return;if("string"==typeof e)return b(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return b(e,t)}(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 b(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 w(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 x(e,t){return x=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},x(e,t)}function k(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,o=C(e);if(t){var i=C(this).constructor;n=Reflect.construct(o,arguments,i)}else n=o.apply(this,arguments);return function(e,t){if(t&&("object"===r(t)||"function"==typeof t))return t;return S(e)}(this,n)}}function S(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function C(e){return C=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},C(e)}function E(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var T=function(e){!function(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&&x(e,t)}(f,e);var t,n,r,i=k(f);function f(e,t){var n;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,f),E(S(n=i.call(this,e,t)),"handleKeyEvent",(function(e){var t=n.props,r=t.day,o=t.onMouseDown,i=t.onMouseUp;[13,32].includes(e.keyCode)&&("keydown"===e.type?o(r):i(r))})),E(S(n),"handleMouseEvent",(function(e){var t=n.props,r=t.day,o=t.disabled,i=t.onPreviewChange,a=t.onMouseEnter,s=t.onMouseDown,l=t.onMouseUp,c={};if(o)i();else{switch(e.type){case"mouseenter":a(r),i(r),c.hover=!0;break;case"blur":case"mouseleave":c.hover=!1;break;case"mousedown":c.active=!0,s(r);break;case"mouseup":e.stopPropagation(),c.active=!1,l(r);break;case"focus":i(r)}Object.keys(c).length&&n.setState(c)}})),E(S(n),"getClassNames",(function(){var e,t=n.props,r=t.isPassive,o=t.isToday,i=t.isWeekend,s=t.isStartOfWeek,l=t.isEndOfWeek,c=t.isStartOfMonth,u=t.isEndOfMonth,d=t.disabled,p=t.styles;return(0,a.default)(p.day,(E(e={},p.dayPassive,r),E(e,p.dayDisabled,d),E(e,p.dayToday,o),E(e,p.dayWeekend,i),E(e,p.dayStartOfWeek,s),E(e,p.dayEndOfWeek,l),E(e,p.dayStartOfMonth,c),E(e,p.dayEndOfMonth,u),E(e,p.dayHovered,n.state.hover),E(e,p.dayActive,n.state.active),e))})),E(S(n),"renderPreviewPlaceholder",(function(){var e,t=n.props,r=t.preview,i=t.day,d=t.styles;if(!r)return null;var f=r.startDate?(0,s.default)(r.startDate):null,h=r.endDate?(0,p.default)(r.endDate):null,m=(!f||(0,c.default)(i,f))&&(!h||(0,l.default)(i,h)),v=!m&&(0,u.default)(i,f),g=!m&&(0,u.default)(i,h);return o.default.createElement("span",{className:(0,a.default)((e={},E(e,d.dayStartPreview,v),E(e,d.dayInPreview,m),E(e,d.dayEndPreview,g),e)),style:{color:r.color}})})),E(S(n),"renderSelectionPlaceholders",(function(){var e=n.props,t=e.styles,r=e.ranges,i=e.day;return"date"===n.props.displayMode?(0,u.default)(n.props.day,n.props.date)?o.default.createElement("span",{className:t.selected,style:{color:n.props.color}}):null:r.reduce((function(e,t){var n=t.startDate,r=t.endDate;if(n&&r&&(0,l.default)(r,n)){var o=[r,n];n=o[0],r=o[1]}n=n?(0,s.default)(n):null,r=r?(0,p.default)(r):null;var a=(!n||(0,c.default)(i,n))&&(!r||(0,l.default)(i,r)),d=!a&&(0,u.default)(i,n),f=!a&&(0,u.default)(i,r);return a||d||f?[].concat(y(e),[g({isStartEdge:d,isEndEdge:f,isInRange:a},t)]):e}),[]).map((function(e,r){var i;return o.default.createElement("span",{key:r,className:(0,a.default)((i={},E(i,t.startEdge,e.isStartEdge),E(i,t.endEdge,e.isEndEdge),E(i,t.inRange,e.isInRange),i)),style:{color:e.color||n.props.color}})}))})),n.state={hover:!1,active:!1},n}return t=f,(n=[{key:"render",value:function(){var e=this.props.dayContentRenderer;return o.default.createElement("button",m({type:"button",onMouseEnter:this.handleMouseEvent,onMouseLeave:this.handleMouseEvent,onFocus:this.handleMouseEvent,onMouseDown:this.handleMouseEvent,onMouseUp:this.handleMouseEvent,onBlur:this.handleMouseEvent,onPauseCapture:this.handleMouseEvent,onKeyDown:this.handleKeyEvent,onKeyUp:this.handleKeyEvent,className:this.getClassNames(this.props.styles)},this.props.disabled||this.props.isPassive?{tabIndex:-1}:{},{style:{color:this.props.color}}),this.renderSelectionPlaceholders(),this.renderPreviewPlaceholder(),o.default.createElement("span",{className:this.props.styles.dayNumber},(null==e?void 0:e(this.props.day))||o.default.createElement("span",null,(0,d.default)(this.props.day,this.props.dayDisplayFormat))))}}])&&w(t.prototype,n),r&&w(t,r),f}(o.Component);T.defaultProps={};var O=i.default.shape({startDate:i.default.object,endDate:i.default.object,color:i.default.string,key:i.default.string,autoFocus:i.default.bool,disabled:i.default.bool,showDateDisplay:i.default.bool});t.rangeShape=O,T.propTypes={day:i.default.object.isRequired,dayDisplayFormat:i.default.string,date:i.default.object,ranges:i.default.arrayOf(O),preview:i.default.shape({startDate:i.default.object,endDate:i.default.object,color:i.default.string}),onPreviewChange:i.default.func,previewColor:i.default.string,disabled:i.default.bool,isPassive:i.default.bool,isToday:i.default.bool,isWeekend:i.default.bool,isStartOfWeek:i.default.bool,isEndOfWeek:i.default.bool,isStartOfMonth:i.default.bool,isEndOfMonth:i.default.bool,color:i.default.string,displayMode:i.default.oneOf(["dateRange","date"]),styles:i.default.object,onMouseDown:i.default.func,onMouseUp:i.default.func,onMouseEnter:i.default.func,dayContentRenderer:i.default.func};var $=T;t.default=$},36907:(e,t,n)=>{"use strict";function r(e){return r="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},r(e)}Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!==r(e)&&"function"!=typeof e)return{default:e};var n=p(t);if(n&&n.has(e))return n.get(e);var o={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if("default"!==a&&Object.prototype.hasOwnProperty.call(e,a)){var s=i?Object.getOwnPropertyDescriptor(e,a):null;s&&(s.get||s.set)?Object.defineProperty(o,a,s):o[a]=e[a]}o.default=e,n&&n.set(e,o);return o}(n(74570)),i=d(n(45697)),a=d(n(39932)),s=n(46800),l=n(60376),c=d(n(87601)),u=d(n(94184));function d(e){return e&&e.__esModule?e:{default:e}}function p(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(p=function(e){return e?n:t})(e)}function f(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 h(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?f(Object(n),!0).forEach((function(t){w(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):f(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function m(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 v(e,t){return v=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},v(e,t)}function g(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,o=b(e);if(t){var i=b(this).constructor;n=Reflect.construct(o,arguments,i)}else n=o.apply(this,arguments);return function(e,t){if(t&&("object"===r(t)||"function"==typeof t))return t;return y(e)}(this,n)}}function y(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function b(e){return b=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},b(e)}function w(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var x=function(e){!function(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&&v(e,t)}(s,e);var t,n,r,i=g(s);function s(e){var t;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,s),w(y(t=i.call(this,e)),"handleRangeChange",(function(e){var n=t.props,r=n.onChange,o=n.ranges,i=n.focusedRange,a=o[i[0]];r&&a&&r(w({},a.key||"range".concat(i[0]+1),h(h({},a),e)))})),t.state={rangeOffset:0,focusedInput:-1},t}return t=s,(n=[{key:"getRangeOptionValue",value:function(e){var t=this.props,n=t.ranges,r=void 0===n?[]:n,o=t.focusedRange,i=void 0===o?[]:o;if("function"!=typeof e.getCurrentValue)return"";var a=r[i[0]]||{};return e.getCurrentValue(a)||""}},{key:"getSelectedRange",value:function(e,t){var n=e.findIndex((function(e){return!(!e.startDate||!e.endDate||e.disabled)&&t.isSelected(e)}));return{selectedRange:e[n],focusedRangeIndex:n}}},{key:"render",value:function(){var e=this,t=this.props,n=t.headerContent,r=t.footerContent,i=t.onPreviewChange,s=t.inputRanges,l=t.staticRanges,d=t.ranges,p=t.renderStaticRangeLabel,f=t.rangeColors,h=t.className;return o.default.createElement("div",{className:(0,u.default)(a.default.definedRangesWrapper,h)},n,o.default.createElement("div",{className:a.default.staticRanges},l.map((function(t,n){var r,s=e.getSelectedRange(d,t),l=s.selectedRange,c=s.focusedRangeIndex;return r=t.hasCustomRendering?p(t):t.label,o.default.createElement("button",{type:"button",className:(0,u.default)(a.default.staticRange,w({},a.default.staticRangeSelected,Boolean(l))),style:{color:l?l.color||f[c]:null},key:n,onClick:function(){return e.handleRangeChange(t.range(e.props))},onFocus:function(){return i&&i(t.range(e.props))},onMouseOver:function(){return i&&i(t.range(e.props))},onMouseLeave:function(){i&&i()}},o.default.createElement("span",{tabIndex:-1,className:a.default.staticRangeLabel},r))}))),o.default.createElement("div",{className:a.default.inputRanges},s.map((function(t,n){return o.default.createElement(c.default,{key:n,styles:a.default,label:t.label,onFocus:function(){return e.setState({focusedInput:n,rangeOffset:0})},onBlur:function(){return e.setState({rangeOffset:0})},onChange:function(n){return e.handleRangeChange(t.range(n,e.props))},value:e.getRangeOptionValue(t)})}))),r)}}])&&m(t.prototype,n),r&&m(t,r),s}(o.Component);x.propTypes={inputRanges:i.default.array,staticRanges:i.default.array,ranges:i.default.arrayOf(l.rangeShape),focusedRange:i.default.arrayOf(i.default.number),onPreviewChange:i.default.func,onChange:i.default.func,footerContent:i.default.any,headerContent:i.default.any,rangeColors:i.default.arrayOf(i.default.string),className:i.default.string,renderStaticRangeLabel:i.default.func},x.defaultProps={inputRanges:s.defaultInputRanges,staticRanges:s.defaultStaticRanges,ranges:[],rangeColors:["#3d91ff","#3ecf8e","#fed14c"],focusedRange:[0,0]};var k=x;t.default=k},87601:(e,t,n)=>{"use strict";function r(e){return r="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},r(e)}Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o,i=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!==r(e)&&"function"!=typeof e)return{default:e};var n=s(t);if(n&&n.has(e))return n.get(e);var o={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if("default"!==a&&Object.prototype.hasOwnProperty.call(e,a)){var l=i?Object.getOwnPropertyDescriptor(e,a):null;l&&(l.get||l.set)?Object.defineProperty(o,a,l):o[a]=e[a]}o.default=e,n&&n.set(e,o);return o}(n(74570)),a=(o=n(45697))&&o.__esModule?o:{default:o};function s(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(s=function(e){return e?n:t})(e)}function l(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 c(e,t){return c=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},c(e,t)}function u(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,o=p(e);if(t){var i=p(this).constructor;n=Reflect.construct(o,arguments,i)}else n=o.apply(this,arguments);return function(e,t){if(t&&("object"===r(t)||"function"==typeof t))return t;return d(e)}(this,n)}}function d(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function p(e){return p=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},p(e)}var f=function(e){!function(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&&c(e,t)}(a,e);var t,n,r,o=u(a);function a(e,t){var n;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,a),function(e,t,n){t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n}(d(n=o.call(this,e,t)),"onChange",(function(e){var t=n.props.onChange,r=parseInt(e.target.value,10);t(r=isNaN(r)?0:Math.max(Math.min(99999,r),0))})),n}return t=a,(n=[{key:"shouldComponentUpdate",value:function(e){var t=this.props,n=t.value,r=t.label,o=t.placeholder;return n!==e.value||r!==e.label||o!==e.placeholder}},{key:"render",value:function(){var e=this.props,t=e.label,n=e.placeholder,r=e.value,o=e.styles,a=e.onBlur,s=e.onFocus;return i.default.createElement("div",{className:o.inputRange},i.default.createElement("input",{className:o.inputRangeInput,placeholder:n,value:r,min:0,max:99999,onChange:this.onChange,onFocus:s,onBlur:a}),i.default.createElement("span",{className:o.inputRangeLabel},t))}}])&&l(t.prototype,n),r&&l(t,r),a}(i.Component);f.propTypes={value:a.default.oneOfType([a.default.string,a.default.number]),label:a.default.oneOfType([a.default.element,a.default.node]).isRequired,placeholder:a.default.string,styles:a.default.shape({inputRange:a.default.string,inputRangeInput:a.default.string,inputRangeLabel:a.default.string}).isRequired,onBlur:a.default.func.isRequired,onFocus:a.default.func.isRequired,onChange:a.default.func.isRequired},f.defaultProps={value:"",placeholder:"-"};var h=f;t.default=h},39680:(e,t,n)=>{"use strict";function r(e){return r="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},r(e)}Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=x(n(74570)),i=b(n(45697)),a=x(n(60376)),s=b(n(9005)),l=b(n(24257)),c=b(n(49317)),u=b(n(42699)),d=b(n(3151)),p=b(n(313)),f=b(n(67090)),h=b(n(584)),m=b(n(83894)),v=b(n(69119)),g=b(n(32449)),y=n(60586);function b(e){return e&&e.__esModule?e:{default:e}}function w(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(w=function(e){return e?n:t})(e)}function x(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!==r(e)&&"function"!=typeof e)return{default:e};var n=w(t);if(n&&n.has(e))return n.get(e);var o={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if("default"!==a&&Object.prototype.hasOwnProperty.call(e,a)){var s=i?Object.getOwnPropertyDescriptor(e,a):null;s&&(s.get||s.set)?Object.defineProperty(o,a,s):o[a]=e[a]}return o.default=e,n&&n.set(e,o),o}function k(){return k=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},k.apply(this,arguments)}function S(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 C(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?S(Object(n),!0).forEach((function(t){E(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):S(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function E(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}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 O(e,t){return O=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},O(e,t)}function $(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,o=M(e);if(t){var i=M(this).constructor;n=Reflect.construct(o,arguments,i)}else n=o.apply(this,arguments);return function(e,t){if(t&&("object"===r(t)||"function"==typeof t))return t;return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(this,n)}}function M(e){return M=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},M(e)}var A=function(e){!function(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)}(b,e);var t,n,r,i=$(b);function b(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,b),i.apply(this,arguments)}return t=b,(n=[{key:"render",value:function(){var e=this,t=new Date,n=this.props,r=n.displayMode,i=n.focusedRange,b=n.drag,w=n.styles,x=n.disabledDates,S=n.disabledDay,E=this.props.minDate&&(0,v.default)(this.props.minDate),T=this.props.maxDate&&(0,m.default)(this.props.maxDate),O=(0,y.getMonthDisplayRange)(this.props.month,this.props.dateOptions,this.props.fixedHeight),$=this.props.ranges;if("dateRange"===r&&b.status){var M=b.range,A=M.startDate,D=M.endDate;$=$.map((function(e,t){return t!==i[0]?e:C(C({},e),{},{startDate:A,endDate:D})}))}var L=this.props.showPreview&&!b.disablePreview;return o.default.createElement("div",{className:w.month,style:this.props.style},this.props.showMonthName?o.default.createElement("div",{className:w.monthName},(0,g.default)(this.props.month,this.props.monthDisplayFormat,this.props.dateOptions)):null,this.props.showWeekDays&&function(e,t,n){var r=new Date;return o.default.createElement("div",{className:e.weekDays},(0,s.default)({start:(0,h.default)(r,t),end:(0,f.default)(r,t)}).map((function(r,i){return o.default.createElement("span",{className:e.weekDay,key:i},(0,g.default)(r,n,t))})))}(w,this.props.dateOptions,this.props.weekdayDisplayFormat),o.default.createElement("div",{className:w.days,onMouseLeave:this.props.onMouseLeave},(0,s.default)({start:O.start,end:O.end}).map((function(n,r){var i=(0,d.default)(n,O.startDateOfMonth),s=(0,d.default)(n,O.endDateOfMonth),m=E&&(0,p.default)(n,E)||T&&(0,u.default)(n,T),v=x.some((function(e){return(0,d.default)(e,n)})),g=S(n);return o.default.createElement(a.default,k({},e.props,{ranges:$,day:n,preview:L?e.props.preview:null,isWeekend:(0,c.default)(n,e.props.dateOptions),isToday:(0,d.default)(n,t),isStartOfWeek:(0,d.default)(n,(0,h.default)(n,e.props.dateOptions)),isEndOfWeek:(0,d.default)(n,(0,f.default)(n,e.props.dateOptions)),isStartOfMonth:i,isEndOfMonth:s,key:r,disabled:m||v||g,isPassive:!(0,l.default)(n,{start:O.startDateOfMonth,end:O.endDateOfMonth}),styles:w,onMouseDown:e.props.onDragSelectionStart,onMouseUp:e.props.onDragSelectionEnd,onMouseEnter:e.props.onDragSelectionMove,dragRange:b.range,drag:b.status}))}))))}}])&&T(t.prototype,n),r&&T(t,r),b}(o.PureComponent);A.defaultProps={},A.propTypes={style:i.default.object,styles:i.default.object,month:i.default.object,drag:i.default.object,dateOptions:i.default.object,disabledDates:i.default.array,disabledDay:i.default.func,preview:i.default.shape({startDate:i.default.object,endDate:i.default.object}),showPreview:i.default.bool,displayMode:i.default.oneOf(["dateRange","date"]),minDate:i.default.object,maxDate:i.default.object,ranges:i.default.arrayOf(a.rangeShape),focusedRange:i.default.arrayOf(i.default.number),onDragSelectionStart:i.default.func,onDragSelectionEnd:i.default.func,onDragSelectionMove:i.default.func,onMouseLeave:i.default.func,monthDisplayFormat:i.default.string,weekdayDisplayFormat:i.default.string,dayDisplayFormat:i.default.string,showWeekDays:i.default.bool,showMonthName:i.default.bool,fixedHeight:i.default.bool};var D=A;t.default=D},46800:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.createStaticRanges=b,t.defaultInputRanges=t.defaultStaticRanges=void 0;var r=f(n(92300)),o=f(n(3151)),i=f(n(67090)),a=f(n(584)),s=f(n(11640)),l=f(n(4135)),c=f(n(43703)),u=f(n(69119)),d=f(n(83894)),p=f(n(77349));function f(e){return e&&e.__esModule?e:{default:e}}function h(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 m(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?h(Object(n),!0).forEach((function(t){v(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):h(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function v(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var g={startOfWeek:(0,a.default)(new Date),endOfWeek:(0,i.default)(new Date),startOfLastWeek:(0,a.default)((0,p.default)(new Date,-7)),endOfLastWeek:(0,i.default)((0,p.default)(new Date,-7)),startOfToday:(0,u.default)(new Date),endOfToday:(0,d.default)(new Date),startOfYesterday:(0,u.default)((0,p.default)(new Date,-1)),endOfYesterday:(0,d.default)((0,p.default)(new Date,-1)),startOfMonth:(0,c.default)(new Date),endOfMonth:(0,l.default)(new Date),startOfLastMonth:(0,c.default)((0,s.default)(new Date,-1)),endOfLastMonth:(0,l.default)((0,s.default)(new Date,-1))},y={range:{},isSelected:function(e){var t=this.range();return(0,o.default)(e.startDate,t.startDate)&&(0,o.default)(e.endDate,t.endDate)}};function b(e){return e.map((function(e){return m(m({},y),e)}))}var w=b([{label:"Today",range:function(){return{startDate:g.startOfToday,endDate:g.endOfToday}}},{label:"Yesterday",range:function(){return{startDate:g.startOfYesterday,endDate:g.endOfYesterday}}},{label:"This Week",range:function(){return{startDate:g.startOfWeek,endDate:g.endOfWeek}}},{label:"Last Week",range:function(){return{startDate:g.startOfLastWeek,endDate:g.endOfLastWeek}}},{label:"This Month",range:function(){return{startDate:g.startOfMonth,endDate:g.endOfMonth}}},{label:"Last Month",range:function(){return{startDate:g.startOfLastMonth,endDate:g.endOfLastMonth}}}]);t.defaultStaticRanges=w;var x=[{label:"days up to today",range:function(e){return{startDate:(0,p.default)(g.startOfToday,-1*(Math.max(Number(e),1)-1)),endDate:g.endOfToday}},getCurrentValue:function(e){return(0,o.default)(e.endDate,g.endOfToday)?e.startDate?(0,r.default)(g.endOfToday,e.startDate)+1:"∞":"-"}},{label:"days starting today",range:function(e){var t=new Date;return{startDate:t,endDate:(0,p.default)(t,Math.max(Number(e),1)-1)}},getCurrentValue:function(e){return(0,o.default)(e.startDate,g.startOfToday)?e.endDate?(0,r.default)(e.endDate,g.startOfToday)+1:"∞":"-"}}];t.defaultInputRanges=x},30286:(e,t,n)=>{"use strict";Object.defineProperty(t,"f",{enumerable:!0,get:function(){return o.default}});var r=l(n(73846)),o=l(n(81660)),i=l(n(84777)),a=l(n(36907)),s=n(46800);function l(e){return e&&e.__esModule?e:{default:e}}},39932:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;t.default={dateRangeWrapper:"rdrDateRangeWrapper",calendarWrapper:"rdrCalendarWrapper",dateDisplay:"rdrDateDisplay",dateDisplayItem:"rdrDateDisplayItem",dateDisplayItemActive:"rdrDateDisplayItemActive",monthAndYearWrapper:"rdrMonthAndYearWrapper",monthAndYearPickers:"rdrMonthAndYearPickers",nextPrevButton:"rdrNextPrevButton",month:"rdrMonth",weekDays:"rdrWeekDays",weekDay:"rdrWeekDay",days:"rdrDays",day:"rdrDay",dayNumber:"rdrDayNumber",dayPassive:"rdrDayPassive",dayToday:"rdrDayToday",dayStartOfWeek:"rdrDayStartOfWeek",dayEndOfWeek:"rdrDayEndOfWeek",daySelected:"rdrDaySelected",dayDisabled:"rdrDayDisabled",dayStartOfMonth:"rdrDayStartOfMonth",dayEndOfMonth:"rdrDayEndOfMonth",dayWeekend:"rdrDayWeekend",dayStartPreview:"rdrDayStartPreview",dayInPreview:"rdrDayInPreview",dayEndPreview:"rdrDayEndPreview",dayHovered:"rdrDayHovered",dayActive:"rdrDayActive",inRange:"rdrInRange",endEdge:"rdrEndEdge",startEdge:"rdrStartEdge",prevButton:"rdrPprevButton",nextButton:"rdrNextButton",selected:"rdrSelected",months:"rdrMonths",monthPicker:"rdrMonthPicker",yearPicker:"rdrYearPicker",dateDisplayWrapper:"rdrDateDisplayWrapper",definedRangesWrapper:"rdrDefinedRangesWrapper",staticRanges:"rdrStaticRanges",staticRange:"rdrStaticRange",inputRanges:"rdrInputRanges",inputRange:"rdrInputRange",inputRangeInput:"rdrInputRangeInput",dateRangePickerWrapper:"rdrDateRangePickerWrapper",staticRangeLabel:"rdrStaticRangeLabel",staticRangeSelected:"rdrStaticRangeSelected",monthName:"rdrMonthName",infiniteMonths:"rdrInfiniteMonths",monthsVertical:"rdrMonthsVertical",monthsHorizontal:"rdrMonthsHorizontal"}},60586:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.calcFocusDate=function(e,t){var n,r=t.shownDate,o=t.date,a=t.months,s=t.ranges,l=t.focusedRange;if("dateRange"===t.displayMode){var d=s[l[0]]||{};n={start:d.startDate,end:d.endDate}}else n={start:o,end:o};n.start=(0,u.default)(n.start||new Date),n.end=(0,c.default)(n.end||n.start);var p=n.start||n.end||r||new Date;if(!e)return r||p;if((0,i.default)(n.start,n.end)>a)return e;return p},t.findNextRangeIndex=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:-1,n=e.findIndex((function(e,n){return n>t&&!1!==e.autoFocus&&!e.disabled}));return-1!==n?n:e.findIndex((function(e){return!1!==e.autoFocus&&!e.disabled}))},t.getMonthDisplayRange=function(e,t,n){var r=(0,u.default)(e,t),i=(0,c.default)(e,t),d=(0,l.default)(r,t),p=(0,s.default)(i,t);n&&(0,a.default)(p,d)<=34&&(p=(0,o.default)(p,7));return{start:d,end:p,startDateOfMonth:r,endDateOfMonth:i}},t.generateStyles=function(e){return e.length?e.filter((function(e){return Boolean(e)})).reduce((function(e,t){return Object.keys(t).forEach((function(n){e[n]=(0,r.default)(e[n],t[n])})),e}),{}):{}};var r=d(n(94184)),o=d(n(77349)),i=d(n(84129)),a=d(n(92300)),s=d(n(67090)),l=d(n(584)),c=d(n(4135)),u=d(n(43703));function d(e){return e&&e.__esModule?e:{default:e}}},69590:e=>{"use strict";var t=Array.isArray,n=Object.keys,r=Object.prototype.hasOwnProperty,o="undefined"!=typeof Element;function i(e,a){if(e===a)return!0;if(e&&a&&"object"==typeof e&&"object"==typeof a){var s,l,c,u=t(e),d=t(a);if(u&&d){if((l=e.length)!=a.length)return!1;for(s=l;0!=s--;)if(!i(e[s],a[s]))return!1;return!0}if(u!=d)return!1;var p=e instanceof Date,f=a instanceof Date;if(p!=f)return!1;if(p&&f)return e.getTime()==a.getTime();var h=e instanceof RegExp,m=a instanceof RegExp;if(h!=m)return!1;if(h&&m)return e.toString()==a.toString();var v=n(e);if((l=v.length)!==n(a).length)return!1;for(s=l;0!=s--;)if(!r.call(a,v[s]))return!1;if(o&&e instanceof Element&&a instanceof Element)return e===a;for(s=l;0!=s--;)if(!("_owner"===(c=v[s])&&e.$$typeof||i(e[c],a[c])))return!1;return!0}return e!=e&&a!=a}e.exports=function(e,t){try{return i(e,t)}catch(n){if(n.message&&n.message.match(/stack|recursion/i)||-2146828260===n.number)return console.warn("Warning: react-fast-compare does not handle circular references.",n.name,n.message),!1;throw n}}},69921:(e,t)=>{"use strict";var n,r=Symbol.for("react.element"),o=Symbol.for("react.portal"),i=Symbol.for("react.fragment"),a=Symbol.for("react.strict_mode"),s=Symbol.for("react.profiler"),l=Symbol.for("react.provider"),c=Symbol.for("react.context"),u=Symbol.for("react.server_context"),d=Symbol.for("react.forward_ref"),p=Symbol.for("react.suspense"),f=Symbol.for("react.suspense_list"),h=Symbol.for("react.memo"),m=Symbol.for("react.lazy"),v=Symbol.for("react.offscreen");function g(e){if("object"==typeof e&&null!==e){var t=e.$$typeof;switch(t){case r:switch(e=e.type){case i:case s:case a:case p:case f:return e;default:switch(e=e&&e.$$typeof){case u:case c:case d:case m:case h:case l:return e;default:return t}}case o:return t}}}n=Symbol.for("react.module.reference")},59864:(e,t,n)=>{"use strict";n(69921)},76970:function(e,t,n){var r,o,i;"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self&&self,o=[n(45697),n(74570)],r=function(t,n){"use strict";var r,o;function i(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return i=function(){return e},e}function a(e){if(e&&e.__esModule)return e;if(null===e||"object"!==l(e)&&"function"!=typeof e)return{default:e};var t=i();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if(Object.prototype.hasOwnProperty.call(e,o)){var a=r?Object.getOwnPropertyDescriptor(e,o):null;a&&(a.get||a.set)?Object.defineProperty(n,o,a):n[o]=e[o]}return n.default=e,t&&t.set(e,n),n}function s(e){return e&&e.__esModule?e:{default:e}}function l(e){return l="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},l(e)}function c(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function u(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 d(e,t,n){return t&&u(e.prototype,t),n&&u(e,n),e}function p(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&&f(e,t)}function f(e,t){return f=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},f(e,t)}function h(e){var t=g();return function(){var n,r=y(e);if(t){var o=y(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return m(this,n)}}function m(e,t){return!t||"object"!==l(t)&&"function"!=typeof t?v(e):t}function v(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function g(){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(e){return!1}}function y(e){return y=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},y(e)}function b(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 w(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?b(Object(n),!0).forEach((function(t){x(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):b(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function x(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}t=s(t),n=a(n);var k={x:"clientWidth",y:"clientHeight"},S={x:"clientTop",y:"clientLeft"},C={x:"innerWidth",y:"innerHeight"},E={x:"offsetWidth",y:"offsetHeight"},T={x:"offsetLeft",y:"offsetTop"},O={x:"overflowX",y:"overflowY"},$={x:"scrollWidth",y:"scrollHeight"},M={x:"scrollLeft",y:"scrollTop"},A={x:"width",y:"height"},D=function(){},L=!!function(){if("undefined"==typeof window)return!1;var e=!1;try{document.createElement("div").addEventListener("test",D,{get passive(){return e=!0,!1}})}catch(t){}return e}()&&{passive:!0},N="ReactList failed to reach a stable state.",R=40,I=function(e,t){for(var n in t)if(e[n]!==t[n])return!1;return!0},P=function(e){for(var t=e.props.axis,n=e.getEl(),r=O[t];n=n.parentElement;)switch(window.getComputedStyle(n)[r]){case"auto":case"scroll":case"overlay":return n}return window},Z=function(e){var t=e.props.axis,n=e.scrollParent;return n===window?window[C[t]]:n[k[t]]},_=function(e,t){var n=e.length,r=e.minSize,o=e.type,i=t.from,a=t.size,s=t.itemsPerRow,l=(a=Math.max(a,r))%s;return l&&(a+=s-l),a>n&&(a=n),(l=(i="simple"!==o&&i?Math.max(Math.min(i,n-a),0):0)%s)&&(i-=l,a+=l),i===t.from&&a==t.size?t:w(w({},t),{},{from:i,size:a})};e.exports=(o=r=function(e){p(r,e);var t=h(r);function r(e){var n;return c(this,r),(n=t.call(this,e)).state=_(e,{itemsPerRow:1,from:e.initialIndex,size:0}),n.cache={},n.cachedScrollPosition=null,n.prevPrevState={},n.unstable=!1,n.updateCounter=0,n}return d(r,null,[{key:"getDerivedStateFromProps",value:function(e,t){var n=_(e,t);return n===t?null:n}}]),d(r,[{key:"componentDidMount",value:function(){this.updateFrameAndClearCache=this.updateFrameAndClearCache.bind(this),window.addEventListener("resize",this.updateFrameAndClearCache),this.updateFrame(this.scrollTo.bind(this,this.props.initialIndex))}},{key:"componentDidUpdate",value:function(e){var t=this;if(this.props.axis!==e.axis&&this.clearSizeCache(),!this.unstable){if(++this.updateCounter>R)return this.unstable=!0,console.error(N);this.updateCounterTimeoutId||(this.updateCounterTimeoutId=setTimeout((function(){t.updateCounter=0,delete t.updateCounterTimeoutId}),0)),this.updateFrame()}}},{key:"maybeSetState",value:function(e,t){if(I(this.state,e))return t();this.setState(e,t)}},{key:"componentWillUnmount",value:function(){window.removeEventListener("resize",this.updateFrameAndClearCache),this.scrollParent.removeEventListener("scroll",this.updateFrameAndClearCache,L),this.scrollParent.removeEventListener("mousewheel",D,L)}},{key:"getOffset",value:function(e){var t=this.props.axis,n=e[S[t]]||0,r=T[t];do{n+=e[r]||0}while(e=e.offsetParent);return n}},{key:"getEl",value:function(){return this.el||this.items}},{key:"getScrollPosition",value:function(){if("number"==typeof this.cachedScrollPosition)return this.cachedScrollPosition;var e=this.scrollParent,t=this.props.axis,n=M[t],r=e===window?document.body[n]||document.documentElement[n]:e[n],o=this.getScrollSize()-this.props.scrollParentViewportSizeGetter(this),i=Math.max(0,Math.min(r,o)),a=this.getEl();return this.cachedScrollPosition=this.getOffset(e)+i-this.getOffset(a),this.cachedScrollPosition}},{key:"setScroll",value:function(e){var t=this.scrollParent,n=this.props.axis;if(e+=this.getOffset(this.getEl()),t===window)return window.scrollTo(0,e);e-=this.getOffset(this.scrollParent),t[M[n]]=e}},{key:"getScrollSize",value:function(){var e=this.scrollParent,t=document,n=t.body,r=t.documentElement,o=$[this.props.axis];return e===window?Math.max(n[o],r[o]):e[o]}},{key:"hasDeterminateSize",value:function(){var e=this.props,t=e.itemSizeGetter;return"uniform"===e.type||t}},{key:"getStartAndEnd",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.props.threshold,t=this.getScrollPosition(),n=Math.max(0,t-e),r=t+this.props.scrollParentViewportSizeGetter(this)+e;return this.hasDeterminateSize()&&(r=Math.min(r,this.getSpaceBefore(this.props.length))),{start:n,end:r}}},{key:"getItemSizeAndItemsPerRow",value:function(){var e=this.props,t=e.axis,n=e.useStaticSize,r=this.state,o=r.itemSize,i=r.itemsPerRow;if(n&&o&&i)return{itemSize:o,itemsPerRow:i};var a=this.items.children;if(!a.length)return{};var s=a[0],l=s[E[t]],c=Math.abs(l-o);if((isNaN(c)||c>=1)&&(o=l),!o)return{};for(var u=T[t],d=s[u],p=a[i=1];p&&p[u]===d;p=a[i])++i;return{itemSize:o,itemsPerRow:i}}},{key:"clearSizeCache",value:function(){this.cachedScrollPosition=null}},{key:"updateFrameAndClearCache",value:function(e){return this.clearSizeCache(),this.updateFrame(e)}},{key:"updateFrame",value:function(e){switch(this.updateScrollParent(),"function"!=typeof e&&(e=D),this.props.type){case"simple":return this.updateSimpleFrame(e);case"variable":return this.updateVariableFrame(e);case"uniform":return this.updateUniformFrame(e)}}},{key:"updateScrollParent",value:function(){var e=this.scrollParent;this.scrollParent=this.props.scrollParentGetter(this),e!==this.scrollParent&&(e&&(e.removeEventListener("scroll",this.updateFrameAndClearCache),e.removeEventListener("mousewheel",D)),this.clearSizeCache(),this.scrollParent.addEventListener("scroll",this.updateFrameAndClearCache,L),this.scrollParent.addEventListener("mousewheel",D,L))}},{key:"updateSimpleFrame",value:function(e){var t=this.getStartAndEnd().end,n=this.items.children,r=0;if(n.length){var o=this.props.axis,i=n[0],a=n[n.length-1];r=this.getOffset(a)+a[E[o]]-this.getOffset(i)}if(r>t)return e();var s=this.props,l=s.pageSize,c=s.length,u=Math.min(this.state.size+l,c);this.maybeSetState({size:u},e)}},{key:"updateVariableFrame",value:function(e){this.props.itemSizeGetter||this.cacheSizes();for(var t=this.getStartAndEnd(),n=t.start,r=t.end,o=this.props,i=o.length,a=o.pageSize,s=0,l=0,c=0,u=i-1;l<u;){var d=this.getSizeOfItem(l);if(null==d||s+d>n)break;s+=d,++l}for(var p=i-l;c<p&&s<r;){var f=this.getSizeOfItem(l+c);if(null==f){c=Math.min(c+a,p);break}s+=f,++c}this.maybeSetState(_(this.props,{from:l,itemsPerRow:1,size:c}),e)}},{key:"updateUniformFrame",value:function(e){var t=this.getItemSizeAndItemsPerRow(),n=t.itemSize,r=t.itemsPerRow;if(!n||!r)return e();var o=this.getStartAndEnd(),i=o.start,a=o.end,s=_(this.props,{from:Math.floor(i/n)*r,size:(Math.ceil((a-i)/n)+1)*r,itemsPerRow:r}),l=s.from,c=s.size;return this.maybeSetState({itemsPerRow:r,from:l,itemSize:n,size:c},e)}},{key:"getSpaceBefore",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(null!=t[e])return t[e];var n=this.state,r=n.itemSize,o=n.itemsPerRow;if(r)return t[e]=Math.floor(e/o)*r;for(var i=e;i>0&&null==t[--i];);for(var a=t[i]||0,s=i;s<e;++s){t[s]=a;var l=this.getSizeOfItem(s);if(null==l)break;a+=l}return t[e]=a}},{key:"cacheSizes",value:function(){for(var e=this.cache,t=this.state.from,n=this.items.children,r=E[this.props.axis],o=0,i=n.length;o<i;++o)e[t+o]=n[o][r]}},{key:"getSizeOfItem",value:function(e){var t=this.cache,n=this.items,r=this.props,o=r.axis,i=r.itemSizeGetter,a=r.itemSizeEstimator,s=r.type,l=this.state,c=l.from,u=l.itemSize,d=l.size;if(u)return u;if(i)return i(e);if(e in t)return t[e];if("simple"===s&&e>=c&&e<c+d&&n){var p=n.children[e-c];if(p)return p[E[o]]}return a?a(e,t):void 0}},{key:"scrollTo",value:function(e){null!=e&&this.setScroll(this.getSpaceBefore(e))}},{key:"scrollAround",value:function(e){var t=this.getScrollPosition(),n=this.getSpaceBefore(e),r=n-this.props.scrollParentViewportSizeGetter(this)+this.getSizeOfItem(e),o=Math.min(r,n),i=Math.max(r,n);return t<=o?this.setScroll(o):t>i?this.setScroll(i):void 0}},{key:"getVisibleRange",value:function(){for(var e,t,n=this.state,r=n.from,o=n.size,i=this.getStartAndEnd(0),a=i.start,s=i.end,l={},c=r;c<r+o;++c){var u=this.getSpaceBefore(c,l),d=u+this.getSizeOfItem(c);null==e&&d>a&&(e=c),null!=e&&u<s&&(t=c)}return[e,t]}},{key:"renderItems",value:function(){for(var e=this,t=this.props,n=t.itemRenderer,r=t.itemsRenderer,o=this.state,i=o.from,a=o.size,s=[],l=0;l<a;++l)s.push(n(i+l,l));return r(s,(function(t){return e.items=t}))}},{key:"render",value:function(){var e=this,t=this.props,r=t.axis,o=t.length,i=t.type,a=t.useTranslate3d,s=this.state,l=s.from,c=s.itemsPerRow,u=this.renderItems();if("simple"===i)return u;var d={position:"relative"},p={},f=Math.ceil(o/c)*c,h=this.getSpaceBefore(f,p);h&&(d[A[r]]=h,"x"===r&&(d.overflowX="hidden"));var m=this.getSpaceBefore(l,p),v="x"===r?m:0,g="y"===r?m:0,y=a?"translate3d(".concat(v,"px, ").concat(g,"px, 0)"):"translate(".concat(v,"px, ").concat(g,"px)"),b={msTransform:y,WebkitTransform:y,transform:y};return n.default.createElement("div",{style:d,ref:function(t){return e.el=t}},n.default.createElement("div",{style:b},u))}}]),r}(n.Component),x(r,"displayName","ReactList"),x(r,"propTypes",{axis:t.default.oneOf(["x","y"]),initialIndex:t.default.number,itemRenderer:t.default.func,itemSizeEstimator:t.default.func,itemSizeGetter:t.default.func,itemsRenderer:t.default.func,length:t.default.number,minSize:t.default.number,pageSize:t.default.number,scrollParentGetter:t.default.func,scrollParentViewportSizeGetter:t.default.func,threshold:t.default.number,type:t.default.oneOf(["simple","variable","uniform"]),useStaticSize:t.default.bool,useTranslate3d:t.default.bool}),x(r,"defaultProps",{axis:"y",itemRenderer:function(e,t){return n.default.createElement("div",{key:t},e)},itemsRenderer:function(e,t){return n.default.createElement("div",{ref:t},e)},length:0,minSize:1,pageSize:10,scrollParentGetter:P,scrollParentViewportSizeGetter:Z,threshold:100,type:"simple",useStaticSize:!1,useTranslate3d:!1}),o)},void 0===(i="function"==typeof r?r.apply(t,o):r)||(e.exports=i)},58222:function(e,t,n){"use strict";var r=this&&this.__assign||function(){return r=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},r.apply(this,arguments)},o=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n),Object.defineProperty(e,r,{enumerable:!0,get:function(){return t[n]}})}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),i=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),a=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)"default"!==n&&Object.prototype.hasOwnProperty.call(e,n)&&o(t,e,n);return i(t,e),t};Object.defineProperty(t,"__esModule",{value:!0}),t.Carousel=void 0;var s=n(80840),l=n(54048),c=n(21690),u=n(17918),d=a(n(74570));t.Carousel=function(e){var t=(0,d.useState)({active:0,prevActive:0,next:!0}),n=t[0],o=t[1],i=(0,d.useState)(),a=i[0],p=i[1],f=(0,d.useState)(!1),h=f[0],m=f[1],v=(0,c.sanitizeProps)(e);(0,d.useEffect)((function(){var e=v.index,t=v.changeOnFirstRender;b(e,!0,t)}),[v.index]),(0,c.useInterval)((function(){v.autoPlay&&!h&&g(void 0)}),v.interval);var g=function(e){var t=v.children,r=v.cycleNavigation,o=Array.isArray(t)?t.length-1:0,i=n.active+1>o?r?0:n.active:n.active+1;b(i,!0),e&&e.stopPropagation()},y=function(e){var t=v.children,r=v.cycleNavigation,o=Array.isArray(t)?t.length-1:0,i=n.active-1<0?r?o:n.active:n.active-1;b(i,!1),e&&e.stopPropagation()},b=function(e,t,r){void 0===r&&(r=!0);var i=v.onChange,a=v.children,s=v.strictIndexing;Array.isArray(a)?(s&&e>a.length-1&&(e=a.length-1),s&&e<0&&(e=0)):e=0,r&&(void 0!==t&&(t?v.next(e,n.active):v.prev(e,n.active)),i(e,n.active)),void 0===t&&(t=e>n.active),o({active:e,prevActive:n.active,next:t})},w=v.children,x=v.sx,k=v.className,S=v.height,C=v.stopAutoPlayOnHover,E=v.animation,T=v.duration,O=v.swipe,$=v.navButtonsAlwaysInvisible,M=v.navButtonsAlwaysVisible,A=v.cycleNavigation,D=v.fullHeightHover,L=v.navButtonsProps,N=v.navButtonsWrapperProps,R=v.NavButton,I=v.NextIcon,P=v.PrevIcon,Z=v.indicators,_=v.indicatorContainerProps,F=v.indicatorIconButtonProps,j=v.activeIndicatorIconButtonProps,B=v.IndicatorIcon,z=function(e){if(void 0===e&&(e=!0),A)return!0;var t=Array.isArray(w)?w.length-1:0;return(!e||n.active!==t)&&!(!e&&0===n.active)};return d.default.createElement(u.StyledRoot,{sx:x,className:k,onMouseOver:function(){C&&m(!0)},onMouseOut:function(){C&&m(!1)},onFocus:function(){C&&m(!0)},onBlur:function(){C&&m(!1)}},d.default.createElement(u.StyledItemWrapper,{style:{height:S||a}},Array.isArray(w)?w.map((function(e,t){return d.default.createElement(s.CarouselItem,{key:"carousel-item"+t,state:n,index:t,maxIndex:w.length-1,child:e,animation:E,duration:T,swipe:O,next:g,prev:y,height:S,setHeight:p})})):d.default.createElement(s.CarouselItem,{key:"carousel-item0",state:n,index:0,maxIndex:0,child:w,animation:E,duration:T,height:S,setHeight:p})),!$&&z(!0)&&d.default.createElement(u.StyledButtonWrapper,r({$next:!0,$prev:!1,$fullHeightHover:D},N),void 0!==R?R(r({onClick:g,next:!0,prev:!1},L)):d.default.createElement(u.StyledIconButton,r({$alwaysVisible:M,$fullHeightHover:D,onClick:g,"aria-label":"Next"},L),I)),!$&&z(!1)&&d.default.createElement(u.StyledButtonWrapper,r({$next:!1,$prev:!0,$fullHeightHover:D},N),void 0!==R?R(r({onClick:y,next:!1,prev:!0},L)):d.default.createElement(u.StyledIconButton,r({$alwaysVisible:M,$fullHeightHover:D,onClick:y,"aria-label":"Previous"},L),P)),Z?d.default.createElement(l.Indicators,{length:Array.isArray(w)?w.length:0,active:n.active,press:b,indicatorContainerProps:_,indicatorIconButtonProps:F,activeIndicatorIconButtonProps:j,IndicatorIcon:B}):null)},t.default=t.Carousel},80840:function(e,t,n){"use strict";var r=this&&this.__assign||function(){return r=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},r.apply(this,arguments)},o=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n),Object.defineProperty(e,r,{enumerable:!0,get:function(){return t[n]}})}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),i=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),a=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)"default"!==n&&Object.prototype.hasOwnProperty.call(e,n)&&o(t,e,n);return i(t,e),t};Object.defineProperty(t,"__esModule",{value:!0}),t.CarouselItem=void 0;var s=n(89141),l=a(n(74570)),c=n(17918);t.CarouselItem=function(e){var t=e.animation,n=e.next,o=e.prev,i=e.swipe,a=e.state,u=e.index,d=e.maxIndex,p=e.duration,f=e.child,h=e.height,m=e.setHeight,v="slide"===t,g="fade"===t,y={drag:"x",layout:!0,onDragEnd:function(e,t){i&&(t.offset.x>0?o&&o():t.offset.x<0&&n&&n(),e.stopPropagation())},dragElastic:0,dragConstraints:{left:0,right:0}},b=(0,l.useRef)(null),w=(0,l.useCallback)((function(){u===a.active&&b.current&&(0===b.current.offsetHeight?setTimeout((function(){return w()}),100):m(b.current.offsetHeight))}),[m,a.active,u,b]);(0,l.useEffect)((function(){w()}),[w]);var x={leftwardExit:{x:v?"-100%":void 0,opacity:g?0:void 0,zIndex:0},leftOut:{x:v?"-100%":void 0,opacity:g?0:void 0,display:"none",zIndex:0},rightwardExit:{x:v?"100%":void 0,opacity:g?0:void 0,zIndex:0},rightOut:{x:v?"100%":void 0,opacity:g?0:void 0,display:"none",zIndex:0},center:{x:0,opacity:1,zIndex:1}},k=a.active,S=a.next,C=a.prevActive,E="center";return u===k?E="center":u===C?(E=S?"leftwardExit":"rightwardExit",k===d&&0===u&&(E="rightwardExit"),0===k&&u===d&&(E="leftwardExit")):(E=u<k?"leftOut":"rightOut",k===d&&0===u&&(E="rightOut"),0===k&&u===d&&(E="leftOut")),p/=1e3,l.default.createElement(c.StyledItem,null,l.default.createElement(s.AnimatePresence,{custom:S},l.default.createElement(s.motion.div,r({},i&&y,{style:{height:"100%"}}),l.default.createElement(s.motion.div,{custom:S,variants:x,animate:E,transition:{x:{type:"tween",duration:p,delay:0},opacity:{duration:p}},style:{position:"relative",height:"100%"}},l.default.createElement("div",{ref:b,style:{height:h}},f)))))}},54048:function(e,t,n){"use strict";var r=this&&this.__assign||function(){return r=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},r.apply(this,arguments)},o=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n),Object.defineProperty(e,r,{enumerable:!0,get:function(){return t[n]}})}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),i=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),a=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)"default"!==n&&Object.prototype.hasOwnProperty.call(e,n)&&o(t,e,n);return i(t,e),t},s=this&&this.__rest||function(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 o=0;for(r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]])}return n};Object.defineProperty(t,"__esModule",{value:!0}),t.Indicators=void 0;var l=a(n(74570)),c=n(17918);t.Indicators=function(e){for(var t=(0,l.useMemo)((function(){return void 0!==e.IndicatorIcon?e.IndicatorIcon:l.default.createElement(c.StyledFiberManualRecordIcon,null)}),[e.IndicatorIcon]),n=(0,l.useCallback)((function(t){for(;t.length<e.length;){var n=0;t.push(t[n]),n+=1}}),[e.length]),o=e.indicatorIconButtonProps,i=o.className,a=o.style,u=s(o,["className","style"]),d=e.activeIndicatorIconButtonProps,p=d.className,f=d.style,h=s(d,["className","style"]),m=[],v=function(o){var s=o===e.active?i+" "+p:""+i,d=o===e.active?Object.assign({},a,f):a,v=o===e.active?Object.assign({},u,h):u;void 0===v["aria-label"]&&(v["aria-label"]="carousel indicator");var g=function(t){return l.default.createElement(c.StyledIndicatorIconButton,r({$active:o===e.active,key:o,className:s,style:d,onClick:function(){e.press(o)}},v,{"aria-label":v["aria-label"]+" "+(o+1)}),t)};Array.isArray(t)?m.push(g(t[o]))&&n(t):m.push(g(t))},g=0;g<e.length;g++)v(g);var y=e.indicatorContainerProps,b=y.className,w=y.style,x=s(y,["className","style"]);return l.default.createElement(c.StyledIndicators,r({className:b,style:w},x),m)}},17918:function(e,t,n){"use strict";var r=this&&this.__assign||function(){return r=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},r.apply(this,arguments)},o=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.StyledButtonWrapper=t.StyledIconButton=t.StyledIndicatorIconButton=t.StyledFiberManualRecordIcon=t.StyledIndicators=t.StyledItemWrapper=t.StyledItem=t.StyledRoot=void 0;var i=o(n(82019)),a=n(70278);t.StyledRoot=(0,a.styled)("div")({position:"relative",overflow:"hidden"}),t.StyledItem=(0,a.styled)("div")({position:"absolute",height:"100%",width:"100%"}),t.StyledItemWrapper=(0,a.styled)("div")({position:"relative",width:"100%",height:"100%"}),t.StyledIndicators=(0,a.styled)("div")({width:"100%",marginTop:"10px",textAlign:"center"}),t.StyledFiberManualRecordIcon=(0,a.styled)(i.default)({fontSize:"15px"}),t.StyledIndicatorIconButton=(0,a.styled)(a.IconButton,{shouldForwardProp:function(e){return!e.startsWith("$")}})((function(e){var t=e.$active;return{cursor:"pointer",transition:"200ms",padding:0,color:t?"#494949":"#afafaf","&:hover":{color:t?"#494949":"#1f1f1f"},"&:active":{color:t?"#494949":"#1f1f1f"}}})),t.StyledIconButton=(0,a.styled)(a.IconButton,{shouldForwardProp:function(e){return!e.startsWith("$")}})((function(e){return{margin:"0 10px",position:"relative",backgroundColor:"#494949",top:"calc(50% - 20px) !important",color:"white",fontSize:"30px",transition:"200ms",cursor:"pointer",opacity:e.$alwaysVisible?"1":"0","&:hover":{opacity:"0.6 !important"}}})),t.StyledButtonWrapper=(0,a.styled)("div",{shouldForwardProp:function(e){return!e.startsWith("$")}})((function(e){var t=e.$next,n=e.$prev,o=e.$fullHeightHover;return r(r(r({position:"absolute",height:"100px",backgroundColor:"transparent",zIndex:1,top:"calc(50% - 70px)","&:hover":{"& button":{backgroundColor:"black",filter:"brightness(120%)",opacity:"0.4"}}},o?{height:"100%",top:"0"}:void 0),t?{right:0}:void 0),n?{left:0}:void 0)}))},21690:function(e,t,n){"use strict";var r=this&&this.__assign||function(){return r=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},r.apply(this,arguments)},o=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n),Object.defineProperty(e,r,{enumerable:!0,get:function(){return t[n]}})}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),i=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),a=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)"default"!==n&&Object.prototype.hasOwnProperty.call(e,n)&&o(t,e,n);return i(t,e),t},s=this&&this.__rest||function(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 o=0;for(r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]])}return n},l=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.useInterval=t.sanitizeProps=t.sanitizeNavProps=void 0;var c=l(n(61659)),u=l(n(37958)),d=a(n(74570));t.sanitizeNavProps=function(e){var t=e||{},n=(t.className,t.style,s(t,["className","style"]));return r(void 0!==e?{style:void 0!==e.style?e.style:{},className:void 0!==e.className?e.className:""}:{style:{},className:""},n)};t.sanitizeProps=function(e){var n=void 0!==e.animation?e.animation:"fade",r=void 0!==e.duration?e.duration:"fade"===n?500:200;return{sx:void 0!==e.sx?e.sx:{},className:void 0!==e.className?e.className:"",children:e.children?e.children:[],height:e.height,index:void 0!==e.index?e.index:0,strictIndexing:void 0===e.strictIndexing||e.strictIndexing,autoPlay:void 0===e.autoPlay||e.autoPlay,stopAutoPlayOnHover:void 0===e.stopAutoPlayOnHover||e.stopAutoPlayOnHover,interval:void 0!==e.interval?e.interval:4e3,animation:n,duration:r,swipe:void 0===e.swipe||e.swipe,navButtonsAlwaysInvisible:void 0!==e.navButtonsAlwaysInvisible&&e.navButtonsAlwaysInvisible,navButtonsAlwaysVisible:void 0!==e.navButtonsAlwaysVisible&&e.navButtonsAlwaysVisible,cycleNavigation:void 0===e.cycleNavigation||e.cycleNavigation,fullHeightHover:void 0===e.fullHeightHover||e.fullHeightHover,navButtonsWrapperProps:(0,t.sanitizeNavProps)(e.navButtonsWrapperProps),navButtonsProps:(0,t.sanitizeNavProps)(e.navButtonsProps),NavButton:e.NavButton,NextIcon:void 0!==e.NextIcon?e.NextIcon:d.default.createElement(u.default,null),PrevIcon:void 0!==e.PrevIcon?e.PrevIcon:d.default.createElement(c.default,null),indicators:void 0===e.indicators||e.indicators,indicatorContainerProps:(0,t.sanitizeNavProps)(e.indicatorContainerProps),indicatorIconButtonProps:(0,t.sanitizeNavProps)(e.indicatorIconButtonProps),activeIndicatorIconButtonProps:(0,t.sanitizeNavProps)(e.activeIndicatorIconButtonProps),IndicatorIcon:e.IndicatorIcon,onChange:void 0!==e.onChange?e.onChange:function(){},changeOnFirstRender:void 0!==e.changeOnFirstRender&&e.changeOnFirstRender,next:void 0!==e.next?e.next:function(){},prev:void 0!==e.prev?e.prev:function(){}}};t.useInterval=function(e,t){var n=(0,d.useRef)((function(){}));(0,d.useEffect)((function(){n.current=e}),[e]),(0,d.useEffect)((function(){if(null!==t){var e=setInterval((function(){n.current()}),t);return function(){return clearInterval(e)}}return function(){}}),[t])}},13056:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});var o=r(n(58222));t.default=o.default},58877:function(e,t,n){e.exports=function(e,t,n,r){return function(e){function t(r){if(n[r])return n[r].exports;var o=n[r]={exports:{},id:r,loaded:!1};return e[r].call(o.exports,o,o.exports,t),o.loaded=!0,o.exports}var n={};return t.m=e,t.c=n,t.p="",t(0)}([function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}function i(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function a(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function s(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}Object.defineProperty(t,"__esModule",{value:!0});var l=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},c=function(){function e(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)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),u=r(n(1)),d=n(2),p=r(d),f=r(n(3)),h=r(n(4)),m=function(e){function t(){var e,n,r;i(this,t);for(var s=arguments.length,l=Array(s),c=0;c<s;c++)l[c]=arguments[c];return n=r=a(this,(e=t.__proto__||Object.getPrototypeOf(t)).call.apply(e,[this].concat(l))),r._sigPad=null,r._excludeOurProps=function(){var e=r.props;return e.canvasProps,e.clearOnResize,o(e,["canvasProps","clearOnResize"])},r.getCanvas=function(){return r._canvas},r.getTrimmedCanvas=function(){var e=document.createElement("canvas");return e.width=r._canvas.width,e.height=r._canvas.height,e.getContext("2d").drawImage(r._canvas,0,0),(0,h.default)(e)},r.getSignaturePad=function(){return r._sigPad},r._checkClearOnResize=function(){r.props.clearOnResize&&r._resizeCanvas()},r._resizeCanvas=function(){var e=r.props.canvasProps||{},t=e.width,n=e.height;if(!t||!n){var o=r._canvas,i=Math.max(window.devicePixelRatio||1,1);t||(o.width=o.offsetWidth*i),n||(o.height=o.offsetHeight*i),o.getContext("2d").scale(i,i),r.clear()}},r.on=function(){return window.addEventListener("resize",r._checkClearOnResize),r._sigPad.on()},r.off=function(){return window.removeEventListener("resize",r._checkClearOnResize),r._sigPad.off()},r.clear=function(){return r._sigPad.clear()},r.isEmpty=function(){return r._sigPad.isEmpty()},r.fromDataURL=function(e,t){return r._sigPad.fromDataURL(e,t)},r.toDataURL=function(e,t){return r._sigPad.toDataURL(e,t)},r.fromData=function(e){return r._sigPad.fromData(e)},r.toData=function(){return r._sigPad.toData()},a(r,n)}return s(t,e),c(t,[{key:"componentDidMount",value:function(){this._sigPad=new f.default(this._canvas,this._excludeOurProps()),this._resizeCanvas(),this.on()}},{key:"componentWillUnmount",value:function(){this.off()}},{key:"componentDidUpdate",value:function(){Object.assign(this._sigPad,this._excludeOurProps())}},{key:"render",value:function(){var e=this,t=this.props.canvasProps;return p.default.createElement("canvas",l({ref:function(t){e._canvas=t}},t))}}]),t}(d.Component);m.propTypes={velocityFilterWeight:u.default.number,minWidth:u.default.number,maxWidth:u.default.number,minDistance:u.default.number,dotSize:u.default.oneOfType([u.default.number,u.default.func]),penColor:u.default.string,throttle:u.default.number,onEnd:u.default.func,onBegin:u.default.func,canvasProps:u.default.object,clearOnResize:u.default.bool},m.defaultProps={clearOnResize:!0},t.default=m},function(t,n){t.exports=e},function(e,n){e.exports=t},function(e,t){e.exports=n},function(e,t){e.exports=r}])}(n(45697),n(74570),n(21518),n(41400))},96630:(e,t,n)=>{"use strict";n.d(t,{ZP:()=>b});var r=n(63366),o=n(94578),i=n(74570),a=n.n(i),s=n(91311),l=n.n(s),c=n(6035),u=n(220),d=n(59391),p="unmounted",f="exited",h="entering",m="entered",v="exiting",g=function(e){function t(t,n){var r;r=e.call(this,t,n)||this;var o,i=n&&!n.isMounting?t.enter:t.appear;return r.appearStatus=null,t.in?i?(o=f,r.appearStatus=h):o=m:o=t.unmountOnExit||t.mountOnEnter?p:f,r.state={status:o},r.nextCallback=null,r}(0,o.Z)(t,e),t.getDerivedStateFromProps=function(e,t){return e.in&&t.status===p?{status:f}:null};var n=t.prototype;return n.componentDidMount=function(){this.updateStatus(!0,this.appearStatus)},n.componentDidUpdate=function(e){var t=null;if(e!==this.props){var n=this.state.status;this.props.in?n!==h&&n!==m&&(t=h):n!==h&&n!==m||(t=v)}this.updateStatus(!1,t)},n.componentWillUnmount=function(){this.cancelNextCallback()},n.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}},n.updateStatus=function(e,t){if(void 0===e&&(e=!1),null!==t)if(this.cancelNextCallback(),t===h){if(this.props.unmountOnExit||this.props.mountOnEnter){var n=this.props.nodeRef?this.props.nodeRef.current:l().findDOMNode(this);n&&(0,d.Q)(n)}this.performEnter(e)}else this.performExit();else this.props.unmountOnExit&&this.state.status===f&&this.setState({status:p})},n.performEnter=function(e){var t=this,n=this.props.enter,r=this.context?this.context.isMounting:e,o=this.props.nodeRef?[r]:[l().findDOMNode(this),r],i=o[0],a=o[1],s=this.getTimeouts(),u=r?s.appear:s.enter;!e&&!n||c.Z.disabled?this.safeSetState({status:m},(function(){t.props.onEntered(i)})):(this.props.onEnter(i,a),this.safeSetState({status:h},(function(){t.props.onEntering(i,a),t.onTransitionEnd(u,(function(){t.safeSetState({status:m},(function(){t.props.onEntered(i,a)}))}))})))},n.performExit=function(){var e=this,t=this.props.exit,n=this.getTimeouts(),r=this.props.nodeRef?void 0:l().findDOMNode(this);t&&!c.Z.disabled?(this.props.onExit(r),this.safeSetState({status:v},(function(){e.props.onExiting(r),e.onTransitionEnd(n.exit,(function(){e.safeSetState({status:f},(function(){e.props.onExited(r)}))}))}))):this.safeSetState({status:f},(function(){e.props.onExited(r)}))},n.cancelNextCallback=function(){null!==this.nextCallback&&(this.nextCallback.cancel(),this.nextCallback=null)},n.safeSetState=function(e,t){t=this.setNextCallback(t),this.setState(e,t)},n.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},n.onTransitionEnd=function(e,t){this.setNextCallback(t);var n=this.props.nodeRef?this.props.nodeRef.current:l().findDOMNode(this),r=null==e&&!this.props.addEndListener;if(n&&!r){if(this.props.addEndListener){var o=this.props.nodeRef?[this.nextCallback]:[n,this.nextCallback],i=o[0],a=o[1];this.props.addEndListener(i,a)}null!=e&&setTimeout(this.nextCallback,e)}else setTimeout(this.nextCallback,0)},n.render=function(){var e=this.state.status;if(e===p)return null;var t=this.props,n=t.children,o=(t.in,t.mountOnEnter,t.unmountOnExit,t.appear,t.enter,t.exit,t.timeout,t.addEndListener,t.onEnter,t.onEntering,t.onEntered,t.onExit,t.onExiting,t.onExited,t.nodeRef,(0,r.Z)(t,["children","in","mountOnEnter","unmountOnExit","appear","enter","exit","timeout","addEndListener","onEnter","onEntering","onEntered","onExit","onExiting","onExited","nodeRef"]));return a().createElement(u.Z.Provider,{value:null},"function"==typeof n?n(e,o):a().cloneElement(a().Children.only(n),o))},t}(a().Component);function y(){}g.contextType=u.Z,g.propTypes={},g.defaultProps={in:!1,mountOnEnter:!1,unmountOnExit:!1,appear:!1,enter:!0,exit:!0,onEnter:y,onEntering:y,onEntered:y,onExit:y,onExiting:y,onExited:y},g.UNMOUNTED=p,g.EXITED=f,g.ENTERING=h,g.ENTERED=m,g.EXITING=v;const b=g},74004:(e,t,n)=>{"use strict";n.d(t,{Z:()=>f});var r=n(63366),o=n(87462),i=n(97326),a=n(94578),s=n(74570),l=n.n(s),c=n(220),u=n(97803),d=Object.values||function(e){return Object.keys(e).map((function(t){return e[t]}))},p=function(e){function t(t,n){var r,o=(r=e.call(this,t,n)||this).handleExited.bind((0,i.Z)(r));return r.state={contextValue:{isMounting:!0},handleExited:o,firstRender:!0},r}(0,a.Z)(t,e);var n=t.prototype;return n.componentDidMount=function(){this.mounted=!0,this.setState({contextValue:{isMounting:!1}})},n.componentWillUnmount=function(){this.mounted=!1},t.getDerivedStateFromProps=function(e,t){var n=t.children,r=t.handleExited;return{children:t.firstRender?(0,u.Kg)(e,r):(0,u.Rp)(e,n,r),firstRender:!1}},n.handleExited=function(e,t){var n=(0,u.n)(this.props.children);e.key in n||(e.props.onExited&&e.props.onExited(t),this.mounted&&this.setState((function(t){var n=(0,o.Z)({},t.children);return delete n[e.key],{children:n}})))},n.render=function(){var e=this.props,t=e.component,n=e.childFactory,o=(0,r.Z)(e,["component","childFactory"]),i=this.state.contextValue,a=d(this.state.children).map(n);return delete o.appear,delete o.enter,delete o.exit,null===t?l().createElement(c.Z.Provider,{value:i},a):l().createElement(c.Z.Provider,{value:i},l().createElement(t,o,a))},t}(l().Component);p.propTypes={},p.defaultProps={component:"div",childFactory:function(e){return e}};const f=p},220:(e,t,n)=>{"use strict";n.d(t,{Z:()=>o});var r=n(74570);const o=n.n(r)().createContext(null)},6035:(e,t,n)=>{"use strict";n.d(t,{Z:()=>r});const r={disabled:!1}},97803:(e,t,n)=>{"use strict";n.d(t,{Kg:()=>a,Rp:()=>s,n:()=>o});var r=n(74570);function o(e,t){var n=Object.create(null);return e&&r.Children.map(e,(function(e){return e})).forEach((function(e){n[e.key]=function(e){return t&&(0,r.isValidElement)(e)?t(e):e}(e)})),n}function i(e,t,n){return null!=n[t]?n[t]:e.props[t]}function a(e,t){return o(e.children,(function(n){return(0,r.cloneElement)(n,{onExited:t.bind(null,n),in:!0,appear:i(n,"appear",e),enter:i(n,"enter",e),exit:i(n,"exit",e)})}))}function s(e,t,n){var a=o(e.children),s=function(e,t){function n(n){return n in t?t[n]:e[n]}e=e||{},t=t||{};var r,o=Object.create(null),i=[];for(var a in e)a in t?i.length&&(o[a]=i,i=[]):i.push(a);var s={};for(var l in t){if(o[l])for(r=0;r<o[l].length;r++){var c=o[l][r];s[o[l][r]]=n(c)}s[l]=n(l)}for(r=0;r<i.length;r++)s[i[r]]=n(i[r]);return s}(t,a);return Object.keys(s).forEach((function(o){var l=s[o];if((0,r.isValidElement)(l)){var c=o in t,u=o in a,d=t[o],p=(0,r.isValidElement)(d)&&!d.props.in;!u||c&&!p?u||!c||p?u&&c&&(0,r.isValidElement)(d)&&(s[o]=(0,r.cloneElement)(l,{onExited:n.bind(null,l),in:d.props.in,exit:i(l,"exit",e),enter:i(l,"enter",e)})):s[o]=(0,r.cloneElement)(l,{in:!1}):s[o]=(0,r.cloneElement)(l,{onExited:n.bind(null,l),in:!0,exit:i(l,"exit",e),enter:i(l,"enter",e)})}})),s}},59391:(e,t,n)=>{"use strict";n.d(t,{Q:()=>r});var r=function(e){return e.scrollTop}},75251:(e,t,n)=>{"use strict";var r=n(74570),o=Symbol.for("react.element"),i=Symbol.for("react.fragment"),a=Object.prototype.hasOwnProperty,s=r.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,l={key:!0,ref:!0,__self:!0,__source:!0};function c(e,t,n){var r,i={},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)a.call(t,r)&&!l.hasOwnProperty(r)&&(i[r]=t[r]);if(e&&e.defaultProps)for(r in t=e.defaultProps)void 0===i[r]&&(i[r]=t[r]);return{$$typeof:o,type:e,key:c,ref:u,props:i,_owner:s.current}}t.Fragment=i,t.jsx=c,t.jsxs=c},85893:(e,t,n)=>{"use strict";e.exports=n(75251)},781:(e,t,n)=>{"use strict";function r(e,t){if(e===t)return!0;if(!e||!t)return!1;var n=Object.keys(e),r=Object.keys(t),o=n.length;if(r.length!==o)return!1;for(var i=0;i<o;i++){var a=n[i];if(e[a]!==t[a]||!Object.prototype.hasOwnProperty.call(t,a))return!1}return!0}function o(e,t){if(e===t)return!0;if(!e||!t)return!1;var n=e.length;if(t.length!==n)return!1;for(var r=0;r<n;r++)if(e[r]!==t[r])return!1;return!0}n.r(t),n.d(t,{shallowEqualArrays:()=>o,shallowEqualObjects:()=>r})},83573:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(97582),o=function(e,t){return function(n){return Math.max(Math.min(n,t),e)}},i=function(e){return e%1?Number(e.toFixed(5)):e},a=/(-)?([\d]*\.?[\d])+/g,s=/(#[0-9a-f]{6}|#[0-9a-f]{3}|#(?:[0-9a-f]{2}){2,4}|(rgb|hsl)a?\((-?[\d\.]+%?[,\s]+){2,3}\s*\/*\s*[\d\.]+%?\))/gi,l=/^(#[0-9a-f]{3}|#(?:[0-9a-f]{2}){2,4}|(rgb|hsl)a?\((-?[\d\.]+%?[,\s]+){2,3}\s*\/*\s*[\d\.]+%?\))$/i;function c(e){return"string"==typeof e}var u={test:function(e){return"number"==typeof e},parse:parseFloat,transform:function(e){return e}},d=r.__assign(r.__assign({},u),{transform:o(0,1)}),p=r.__assign(r.__assign({},u),{default:1}),f=function(e){return{test:function(t){return c(t)&&t.endsWith(e)&&1===t.split(" ").length},parse:parseFloat,transform:function(t){return""+t+e}}},h=f("deg"),m=f("%"),v=f("px"),g=f("vh"),y=f("vw"),b=r.__assign(r.__assign({},m),{parse:function(e){return m.parse(e)/100},transform:function(e){return m.transform(100*e)}}),w=function(e,t){return function(n){return Boolean(c(n)&&l.test(n)&&n.startsWith(e)||t&&Object.prototype.hasOwnProperty.call(n,t))}},x=function(e,t,n){return function(r){var o;if(!c(r))return r;var i=r.match(a),s=i[0],l=i[1],u=i[2],d=i[3];return(o={})[e]=parseFloat(s),o[t]=parseFloat(l),o[n]=parseFloat(u),o.alpha=void 0!==d?parseFloat(d):1,o}},k={test:w("hsl","hue"),parse:x("hue","saturation","lightness"),transform:function(e){var t=e.hue,n=e.saturation,r=e.lightness,o=e.alpha,a=void 0===o?1:o;return"hsla("+Math.round(t)+", "+m.transform(i(n))+", "+m.transform(i(r))+", "+i(d.transform(a))+")"}},S=o(0,255),C=r.__assign(r.__assign({},u),{transform:function(e){return Math.round(S(e))}}),E={test:w("rgb","red"),parse:x("red","green","blue"),transform:function(e){var t=e.red,n=e.green,r=e.blue,o=e.alpha,a=void 0===o?1:o;return"rgba("+C.transform(t)+", "+C.transform(n)+", "+C.transform(r)+", "+i(d.transform(a))+")"}};var T={test:w("#"),parse:function(e){var t="",n="",r="",o="";return e.length>5?(t=e.substr(1,2),n=e.substr(3,2),r=e.substr(5,2),o=e.substr(7,2)):(t=e.substr(1,1),n=e.substr(2,1),r=e.substr(3,1),o=e.substr(4,1),t+=t,n+=n,r+=r,o+=o),{red:parseInt(t,16),green:parseInt(n,16),blue:parseInt(r,16),alpha:o?parseInt(o,16)/255:1}},transform:E.transform},O={test:function(e){return E.test(e)||T.test(e)||k.test(e)},parse:function(e){return E.test(e)?E.parse(e):k.test(e)?k.parse(e):T.parse(e)},transform:function(e){return c(e)?e:e.hasOwnProperty("red")?E.transform(e):k.transform(e)}},$="${c}",M="${n}";function A(e){var t=[],n=0,r=e.match(s);r&&(n=r.length,e=e.replace(s,$),t.push.apply(t,r.map(O.parse)));var o=e.match(a);return o&&(e=e.replace(a,M),t.push.apply(t,o.map(u.parse))),{values:t,numColors:n,tokenised:e}}function D(e){return A(e).values}function L(e){var t=A(e),n=t.values,r=t.numColors,o=t.tokenised,a=n.length;return function(e){for(var t=o,n=0;n<a;n++)t=t.replace(n<r?$:M,n<r?O.transform(e[n]):i(e[n]));return t}}var N=function(e){return"number"==typeof e?0:e};var R={test:function(e){var t,n,r,o;return isNaN(e)&&c(e)&&(null!==(n=null===(t=e.match(a))||void 0===t?void 0:t.length)&&void 0!==n?n:0)+(null!==(o=null===(r=e.match(s))||void 0===r?void 0:r.length)&&void 0!==o?o:0)>0},parse:D,createTransformer:L,getAnimatableNone:function(e){var t=D(e);return L(e)(t.map(N))}},I=new Set(["brightness","contrast","saturate","opacity"]);function P(e){var t=e.slice(0,-1).split("("),n=t[0],r=t[1];if("drop-shadow"===n)return e;var o=(r.match(a)||[])[0];if(!o)return e;var i=r.replace(o,""),s=I.has(n)?1:0;return o!==r&&(s*=100),n+"("+s+i+")"}var Z=/([a-z-]*)\(.*?\)/g,_=r.__assign(r.__assign({},R),{getAnimatableNone:function(e){var t=e.match(Z);return t?t.map(P).join(" "):e}});t.alpha=d,t.color=O,t.complex=R,t.degrees=h,t.filter=_,t.hex=T,t.hsla=k,t.number=u,t.percent=m,t.progressPercentage=b,t.px=v,t.rgbUnit=C,t.rgba=E,t.scale=p,t.vh=g,t.vw=y},59885:e=>{const t=/[A-Z\xc0-\xd6\xd8-\xde]?[a-z\xdf-\xf6\xf8-\xff]+(?:['’](?:d|ll|m|re|s|t|ve))?(?=[\xac\xb1\xd7\xf7\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\xbf\u2000-\u206f \t\x0b\f\xa0\ufeff\n\r\u2028\u2029\u1680\u180e\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200a\u202f\u205f\u3000]|[A-Z\xc0-\xd6\xd8-\xde]|$)|(?:[A-Z\xc0-\xd6\xd8-\xde]|[^\ud800-\udfff\xac\xb1\xd7\xf7\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\xbf\u2000-\u206f \t\x0b\f\xa0\ufeff\n\r\u2028\u2029\u1680\u180e\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200a\u202f\u205f\u3000\d+\u2700-\u27bfa-z\xdf-\xf6\xf8-\xffA-Z\xc0-\xd6\xd8-\xde])+(?:['’](?:D|LL|M|RE|S|T|VE))?(?=[\xac\xb1\xd7\xf7\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\xbf\u2000-\u206f \t\x0b\f\xa0\ufeff\n\r\u2028\u2029\u1680\u180e\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200a\u202f\u205f\u3000]|[A-Z\xc0-\xd6\xd8-\xde](?:[a-z\xdf-\xf6\xf8-\xff]|[^\ud800-\udfff\xac\xb1\xd7\xf7\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\xbf\u2000-\u206f \t\x0b\f\xa0\ufeff\n\r\u2028\u2029\u1680\u180e\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200a\u202f\u205f\u3000\d+\u2700-\u27bfa-z\xdf-\xf6\xf8-\xffA-Z\xc0-\xd6\xd8-\xde])|$)|[A-Z\xc0-\xd6\xd8-\xde]?(?:[a-z\xdf-\xf6\xf8-\xff]|[^\ud800-\udfff\xac\xb1\xd7\xf7\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\xbf\u2000-\u206f \t\x0b\f\xa0\ufeff\n\r\u2028\u2029\u1680\u180e\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200a\u202f\u205f\u3000\d+\u2700-\u27bfa-z\xdf-\xf6\xf8-\xffA-Z\xc0-\xd6\xd8-\xde])+(?:['’](?:d|ll|m|re|s|t|ve))?|[A-Z\xc0-\xd6\xd8-\xde]+(?:['’](?:D|LL|M|RE|S|T|VE))?|\d*(?:1ST|2ND|3RD|(?![123])\dTH)(?=\b|[a-z_])|\d*(?:1st|2nd|3rd|(?![123])\dth)(?=\b|[A-Z_])|\d+|(?:[\u2700-\u27bf]|(?:\ud83c[\udde6-\uddff]){2}|[\ud800-\udbff][\udc00-\udfff])[\ufe0e\ufe0f]?(?:[\u0300-\u036f\ufe20-\ufe2f\u20d0-\u20ff]|\ud83c[\udffb-\udfff])?(?:\u200d(?:[^\ud800-\udfff]|(?:\ud83c[\udde6-\uddff]){2}|[\ud800-\udbff][\udc00-\udfff])[\ufe0e\ufe0f]?(?:[\u0300-\u036f\ufe20-\ufe2f\u20d0-\u20ff]|\ud83c[\udffb-\udfff])?)*/g,n=e=>e.match(t)||[],r=e=>e[0].toUpperCase()+e.slice(1),o=(e,t)=>n(e).join(t).toLowerCase(),i=e=>n(e).reduce(((e,t)=>`${e}${e?t[0].toUpperCase()+t.slice(1).toLowerCase():t.toLowerCase()}`),"");e.exports={words:n,upperFirst:r,camelCase:i,pascalCase:e=>r(i(e)),snakeCase:e=>o(e,"_"),kebabCase:e=>o(e,"-"),sentenceCase:e=>r(o(e," ")),titleCase:e=>n(e).map(r).join(" ")}},94633:e=>{function t(e,t){var n=e.length,r=new Array(n),o={},i=n,a=function(e){for(var t=new Map,n=0,r=e.length;n<r;n++){var o=e[n];t.has(o[0])||t.set(o[0],new Set),t.has(o[1])||t.set(o[1],new Set),t.get(o[0]).add(o[1])}return t}(t),s=function(e){for(var t=new Map,n=0,r=e.length;n<r;n++)t.set(e[n],n);return t}(e);for(t.forEach((function(e){if(!s.has(e[0])||!s.has(e[1]))throw new Error("Unknown node. There is an unknown node in the supplied edges.")}));i--;)o[i]||l(e[i],i,new Set);return r;function l(e,t,i){if(i.has(e)){var c;try{c=", node was:"+JSON.stringify(e)}catch(p){c=""}throw new Error("Cyclic dependency"+c)}if(!s.has(e))throw new Error("Found unknown node. Make sure to provided all involved nodes. Unknown node: "+JSON.stringify(e));if(!o[t]){o[t]=!0;var u=a.get(e)||new Set;if(t=(u=Array.from(u)).length){i.add(e);do{var d=u[--t];l(d,s.get(d),i)}while(t);i.delete(e)}r[--n]=e}}}e.exports=function(e){return t(function(e){for(var t=new Set,n=0,r=e.length;n<r;n++){var o=e[n];t.add(o[0]),t.add(o[1])}return Array.from(t)}(e),e)},e.exports.array=t},41400:function(e){e.exports=function(e){function t(r){if(n[r])return n[r].exports;var o=n[r]={exports:{},id:r,loaded:!1};return e[r].call(o.exports,o,o.exports,t),o.loaded=!0,o.exports}var n={};return t.m=e,t.c=n,t.p="",t(0)}([function(e,t){"use strict";function n(e){var t=e.getContext("2d"),n=e.width,r=e.height,o=t.getImageData(0,0,n,r).data,s=i(!0,n,r,o),l=i(!1,n,r,o),c=a(!0,n,r,o),u=a(!1,n,r,o)-c+1,d=l-s+1,p=t.getImageData(c,s,u,d);return e.width=u,e.height=d,t.clearRect(0,0,u,d),t.putImageData(p,0,0),e}function r(e,t,n,r){return{red:r[4*(n*t+e)],green:r[4*(n*t+e)+1],blue:r[4*(n*t+e)+2],alpha:r[4*(n*t+e)+3]}}function o(e,t,n,o){return r(e,t,n,o).alpha}function i(e,t,n,r){for(var i=e?1:-1,a=e?0:n-1;e?a<n:a>-1;a+=i)for(var s=0;s<t;s++)if(o(s,a,t,r))return a;return null}function a(e,t,n,r){for(var i=e?1:-1,a=e?0:t-1;e?a<t:a>-1;a+=i)for(var s=0;s<n;s++)if(o(a,s,t,r))return a;return null}Object.defineProperty(t,"__esModule",{value:!0}),t.default=n}])},74570:e=>{"use strict";e.exports=react18},91311:e=>{"use strict";e.exports=react_dom18},64836:e=>{e.exports=function(e){return e&&e.__esModule?e:{default:e}},e.exports.__esModule=!0,e.exports.default=e.exports},36586:e=>{"use strict";function t(e){this.content=e}t.prototype={constructor:t,find:function(e){for(var t=0;t<this.content.length;t+=2)if(this.content[t]===e)return t;return-1},get:function(e){var t=this.find(e);return-1==t?void 0:this.content[t+1]},update:function(e,n,r){var o=r&&r!=e?this.remove(r):this,i=o.find(e),a=o.content.slice();return-1==i?a.push(r||e,n):(a[i+1]=n,r&&(a[i]=r)),new t(a)},remove:function(e){var n=this.find(e);if(-1==n)return this;var r=this.content.slice();return r.splice(n,2),new t(r)},addToStart:function(e,n){return new t([e,n].concat(this.remove(e).content))},addToEnd:function(e,n){var r=this.remove(e).content.slice();return r.push(e,n),new t(r)},addBefore:function(e,n,r){var o=this.remove(n),i=o.content.slice(),a=o.find(e);return i.splice(-1==a?i.length:a,0,n,r),new t(i)},forEach:function(e){for(var t=0;t<this.content.length;t+=2)e(this.content[t],this.content[t+1])},prepend:function(e){return(e=t.from(e)).size?new t(e.content.concat(this.subtract(e).content)):this},append:function(e){return(e=t.from(e)).size?new t(this.subtract(e).content.concat(e.content)):this},subtract:function(e){var n=this;e=t.from(e);for(var r=0;r<e.content.length;r+=2)n=n.remove(e.content[r]);return n},toObject:function(){var e={};return this.forEach((function(t,n){e[t]=n})),e},get size(){return this.content.length>>1}},t.from=function(e){if(e instanceof t)return e;var n=[];if(e)for(var r in e)n.push(r,e[r]);return new t(n)},e.exports=t},78665:(e,t,n)=>{"use strict";function r(e){return r="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},r(e)}function o(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,(i=o.key,a=void 0,a=function(e,t){if("object"!==r(e)||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var o=n.call(e,t||"default");if("object"!==r(o))return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(i,"string"),"symbol"===r(a)?a:String(a)),o)}var i,a}var i,a,s,l=n(42391),c=n(92843),u=(i=function e(t,n){var r,o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.match=t,this.match=t,this.handler="string"==typeof n?(r=n,function(e,t,n,o){var i=r;if(t[1]){var a=t[0].lastIndexOf(t[1]);i+=t[0].slice(a+t[1].length);var s=(n+=a)-o;s>0&&(i=t[0].slice(a-s,a)+i,n=o)}return e.tr.insertText(i,n,o)}):n,this.undoable=!1!==o.undoable,this.inCode=o.inCode||!1},a&&o(i.prototype,a),s&&o(i,s),Object.defineProperty(i,"prototype",{writable:!1}),i);var d=500;function p(e,t,n,r,o,i){if(e.composing)return!1;for(var a=e.state,s=a.doc.resolve(t),l=s.parent.textBetween(Math.max(0,s.parentOffset-d),s.parentOffset,null,"")+r,c=0;c<o.length;c++){var u=o[c];if(s.parent.type.spec.code){if(!u.inCode)continue}else if("only"===u.inCode)continue;var p=u.match.exec(l),f=p&&u.handler(a,p,t-(p[0].length-r.length),n);if(f)return u.undoable&&f.setMeta(i,{transform:f,from:t,to:n,text:r}),e.dispatch(f),!0}return!1}var f=new u(/--$/,"—"),h=new u(/\.\.\.$/,"…"),m=new u(/(?:^|[\s\{\[\(\<'"\u2018\u201C])(")$/,"“"),v=new u(/"$/,"”"),g=new u(/(?:^|[\s\{\[\(\<'"\u2018\u201C])(')$/,"‘"),y=new u(/'$/,"’"),b=[m,v,g,y];t.InputRule=u,t.closeDoubleQuote=v,t.closeSingleQuote=y,t.ellipsis=h,t.emDash=f,t.inputRules=function(e){var t=e.rules,n=new l.Plugin({state:{init:function(){return null},apply:function(e,t){var n=e.getMeta(this);return n||(e.selectionSet||e.docChanged?null:t)}},props:{handleTextInput:function(e,r,o,i){return p(e,r,o,i,t,n)},handleDOMEvents:{compositionend:function(e){setTimeout((function(){var r=e.state.selection.$cursor;r&&p(e,r.pos,r.pos,"",t,n)}))}}},isInputRules:!0});return n},t.openDoubleQuote=m,t.openSingleQuote=g,t.smartQuotes=b,t.textblockTypeInputRule=function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null;return new u(e,(function(e,r,o,i){var a=e.doc.resolve(o),s=n instanceof Function?n(r):n;return a.node(-1).canReplaceWith(a.index(-1),a.indexAfter(-1),t)?e.tr.delete(o,i).setBlockType(o,o,t,s):null}))},t.undoInputRule=function(e,t){for(var n=e.plugins,r=0;r<n.length;r++){var o=n[r],i=void 0;if(o.spec.isInputRules&&(i=o.getState(e))){if(t){for(var a=e.tr,s=i.transform,l=s.steps.length-1;l>=0;l--)a.step(s.steps[l].invert(s.docs[l]));if(i.text){var c=a.doc.resolve(i.from).marks();a.replaceWith(i.from,i.to,e.schema.text(i.text,c))}else a.delete(i.from,i.to);t(a)}return!0}}return!1},t.wrappingInputRule=function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null,r=arguments.length>3?arguments[3]:void 0;return new u(e,(function(e,o,i,a){var s=n instanceof Function?n(o):n,l=e.tr.delete(i,a),u=l.doc.resolve(i).blockRange(),d=u&&c.findWrapping(u,t,s);if(!d)return null;l.wrap(u,d);var p=l.doc.resolve(i-1).nodeBefore;return p&&p.type==t&&c.canJoin(l.doc,i-1)&&(!r||r(o,p))&&l.join(i-1),l}))}},97354:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(26691),o=n(42391),i="undefined"!=typeof navigator&&/Mac|iP(hone|[oa]d)/.test(navigator.platform);function a(e){var t,n,r,o,a=e.split(/-(?!$)/),s=a[a.length-1];"Space"==s&&(s=" ");for(var l=0;l<a.length-1;l++){var c=a[l];if(/^(cmd|meta|m)$/i.test(c))o=!0;else if(/^a(lt)?$/i.test(c))t=!0;else if(/^(c|ctrl|control)$/i.test(c))n=!0;else if(/^s(hift)?$/i.test(c))r=!0;else{if(!/^mod$/i.test(c))throw new Error("Unrecognized modifier name: "+c);i?o=!0:n=!0}}return t&&(s="Alt-"+s),n&&(s="Ctrl-"+s),o&&(s="Meta-"+s),r&&(s="Shift-"+s),s}function s(e,t){var n=!(arguments.length>2&&void 0!==arguments[2])||arguments[2];return t.altKey&&(e="Alt-"+e),t.ctrlKey&&(e="Ctrl-"+e),t.metaKey&&(e="Meta-"+e),n&&t.shiftKey&&(e="Shift-"+e),e}function l(e){var t=function(e){var t=Object.create(null);for(var n in e)t[a(n)]=e[n];return t}(e);return function(e,n){var o,i=r.keyName(n),a=t[s(i,n)];if(a&&a(e.state,e.dispatch,e))return!0;if(1==i.length&&" "!=i){if(n.shiftKey){var l=t[s(i,n,!1)];if(l&&l(e.state,e.dispatch,e))return!0}if((n.shiftKey||n.altKey||n.metaKey||i.charCodeAt(0)>127)&&(o=r.base[n.keyCode])&&o!=i){var c=t[s(o,n)];if(c&&c(e.state,e.dispatch,e))return!0}}return!1}}t.keydownHandler=l,t.keymap=function(e){return new o.Plugin({props:{handleKeyDown:l(e)}})}},19443:(e,t,n)=>{"use strict";function r(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,o,i,a,s=[],l=!0,c=!1;try{if(i=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;l=!1}else for(;!(l=(r=i.call(n)).done)&&(s.push(r.value),s.length!==t);l=!0);}catch(e){c=!0,o=e}finally{try{if(!l&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(c)throw o}}return s}}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return o(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return o(e,t)}(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 o(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 i(){return i="undefined"!=typeof Reflect&&Reflect.get?Reflect.get.bind():function(e,t,n){var r=function(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&null!==(e=p(e)););return e}(e,t);if(r){var o=Object.getOwnPropertyDescriptor(r,t);return o.get?o.get.call(arguments.length<3?e:n):o.value}},i.apply(this,arguments)}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}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&d(e,t)}function s(e){var t=u();return function(){var n,r=p(e);if(t){var o=p(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return function(e,t){if(t&&("object"===f(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)}(this,n)}}function l(e){var t="function"==typeof Map?new Map:void 0;return l=function(e){if(null===e||!function(e){try{return-1!==Function.toString.call(e).indexOf("[native code]")}catch(t){return"function"==typeof e}}(e))return e;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,n)}function n(){return c(e,arguments,p(this).constructor)}return n.prototype=Object.create(e.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}}),d(n,e)},l(e)}function c(e,t,n){return c=u()?Reflect.construct.bind():function(e,t,n){var r=[null];r.push.apply(r,t);var o=new(Function.bind.apply(e,r));return n&&d(o,n.prototype),o},c.apply(null,arguments)}function u(){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 d(e,t){return d=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},d(e,t)}function p(e){return p=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},p(e)}function f(e){return f="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},f(e)}function h(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function m(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,(o=r.key,i=void 0,i=function(e,t){if("object"!==f(e)||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!==f(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(o,"string"),"symbol"===f(i)?i:String(i)),r)}var o,i}function v(e,t,n){return t&&m(e.prototype,t),n&&m(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e}var g=n(36586);function y(e,t,n){for(var r=0;;r++){if(r==e.childCount||r==t.childCount)return e.childCount==t.childCount?null:n;var o=e.child(r),i=t.child(r);if(o!=i){if(!o.sameMarkup(i))return n;if(o.isText&&o.text!=i.text){for(var a=0;o.text[a]==i.text[a];a++)n++;return n}if(o.content.size||i.content.size){var s=y(o.content,i.content,n+1);if(null!=s)return s}n+=o.nodeSize}else n+=o.nodeSize}}function b(e,t,n,r){for(var o=e.childCount,i=t.childCount;;){if(0==o||0==i)return o==i?null:{a:n,b:r};var a=e.child(--o),s=t.child(--i),l=a.nodeSize;if(a!=s){if(!a.sameMarkup(s))return{a:n,b:r};if(a.isText&&a.text!=s.text){for(var c=0,u=Math.min(a.text.length,s.text.length);c<u&&a.text[a.text.length-c-1]==s.text[s.text.length-c-1];)c++,n--,r--;return{a:n,b:r}}if(a.content.size||s.content.size){var d=b(a.content,s.content,n-1,r-1);if(d)return d}n-=l,r-=l}else n-=l,r-=l}}var w=function(){function e(t,n){if(h(this,e),this.content=t,this.size=n||0,null==n)for(var r=0;r<t.length;r++)this.size+=t[r].nodeSize}return v(e,[{key:"nodesBetween",value:function(e,t,n){for(var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:0,o=arguments.length>4?arguments[4]:void 0,i=0,a=0;a<t;i++){var s=this.content[i],l=a+s.nodeSize;if(l>e&&!1!==n(s,r+a,o||null,i)&&s.content.size){var c=a+1;s.nodesBetween(Math.max(0,e-c),Math.min(s.content.size,t-c),n,r+c)}a=l}}},{key:"descendants",value:function(e){this.nodesBetween(0,this.size,e)}},{key:"textBetween",value:function(e,t,n,r){var o="",i=!0;return this.nodesBetween(e,t,(function(a,s){var l=a.isText?a.text.slice(Math.max(e,s)-s,t-s):a.isLeaf?r?"function"==typeof r?r(a):r:a.type.spec.leafText?a.type.spec.leafText(a):"":"";a.isBlock&&(a.isLeaf&&l||a.isTextblock)&&n&&(i?i=!1:o+=n),o+=l}),0),o}},{key:"append",value:function(t){if(!t.size)return this;if(!this.size)return t;var n=this.lastChild,r=t.firstChild,o=this.content.slice(),i=0;for(n.isText&&n.sameMarkup(r)&&(o[o.length-1]=n.withText(n.text+r.text),i=1);i<t.content.length;i++)o.push(t.content[i]);return new e(o,this.size+t.size)}},{key:"cut",value:function(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.size;if(0==t&&n==this.size)return this;var r=[],o=0;if(n>t)for(var i=0,a=0;a<n;i++){var s=this.content[i],l=a+s.nodeSize;l>t&&((a<t||l>n)&&(s=s.isText?s.cut(Math.max(0,t-a),Math.min(s.text.length,n-a)):s.cut(Math.max(0,t-a-1),Math.min(s.content.size,n-a-1))),r.push(s),o+=s.nodeSize),a=l}return new e(r,o)}},{key:"cutByIndex",value:function(t,n){return t==n?e.empty:0==t&&n==this.content.length?this:new e(this.content.slice(t,n))}},{key:"replaceChild",value:function(t,n){var r=this.content[t];if(r==n)return this;var o=this.content.slice(),i=this.size+n.nodeSize-r.nodeSize;return o[t]=n,new e(o,i)}},{key:"addToStart",value:function(t){return new e([t].concat(this.content),this.size+t.nodeSize)}},{key:"addToEnd",value:function(t){return new e(this.content.concat(t),this.size+t.nodeSize)}},{key:"eq",value:function(e){if(this.content.length!=e.content.length)return!1;for(var t=0;t<this.content.length;t++)if(!this.content[t].eq(e.content[t]))return!1;return!0}},{key:"firstChild",get:function(){return this.content.length?this.content[0]:null}},{key:"lastChild",get:function(){return this.content.length?this.content[this.content.length-1]:null}},{key:"childCount",get:function(){return this.content.length}},{key:"child",value:function(e){var t=this.content[e];if(!t)throw new RangeError("Index "+e+" out of range for "+this);return t}},{key:"maybeChild",value:function(e){return this.content[e]||null}},{key:"forEach",value:function(e){for(var t=0,n=0;t<this.content.length;t++){var r=this.content[t];e(r,n,t),n+=r.nodeSize}}},{key:"findDiffStart",value:function(e){return y(this,e,arguments.length>1&&void 0!==arguments[1]?arguments[1]:0)}},{key:"findDiffEnd",value:function(e){return b(this,e,arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.size,arguments.length>2&&void 0!==arguments[2]?arguments[2]:e.size)}},{key:"findIndex",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:-1;if(0==e)return k(0,e);if(e==this.size)return k(this.content.length,e);if(e>this.size||e<0)throw new RangeError("Position ".concat(e," outside of fragment (").concat(this,")"));for(var n=0,r=0;;n++){var o=r+this.child(n).nodeSize;if(o>=e)return o==e||t>0?k(n+1,o):k(n,r);r=o}}},{key:"toString",value:function(){return"<"+this.toStringInner()+">"}},{key:"toStringInner",value:function(){return this.content.join(", ")}},{key:"toJSON",value:function(){return this.content.length?this.content.map((function(e){return e.toJSON()})):null}}],[{key:"fromJSON",value:function(t,n){if(!n)return e.empty;if(!Array.isArray(n))throw new RangeError("Invalid input for Fragment.fromJSON");return new e(n.map(t.nodeFromJSON))}},{key:"fromArray",value:function(t){if(!t.length)return e.empty;for(var n,r=0,o=0;o<t.length;o++){var i=t[o];r+=i.nodeSize,o&&i.isText&&t[o-1].sameMarkup(i)?(n||(n=t.slice(0,o)),n[n.length-1]=i.withText(n[n.length-1].text+i.text)):n&&n.push(i)}return new e(n||t,r)}},{key:"from",value:function(t){if(!t)return e.empty;if(t instanceof e)return t;if(Array.isArray(t))return this.fromArray(t);if(t.attrs)return new e([t],t.nodeSize);throw new RangeError("Can not convert "+t+" to a Fragment"+(t.nodesBetween?" (looks like multiple versions of prosemirror-model were loaded)":""))}}]),e}();w.empty=new w([],0);var x={index:0,offset:0};function k(e,t){return x.index=e,x.offset=t,x}function S(e,t){if(e===t)return!0;if(!e||"object"!=f(e)||!t||"object"!=f(t))return!1;var n=Array.isArray(e);if(Array.isArray(t)!=n)return!1;if(n){if(e.length!=t.length)return!1;for(var r=0;r<e.length;r++)if(!S(e[r],t[r]))return!1}else{for(var o in e)if(!(o in t)||!S(e[o],t[o]))return!1;for(var i in t)if(!(i in e))return!1}return!0}var C=function(){function e(t,n){h(this,e),this.type=t,this.attrs=n}return v(e,[{key:"addToSet",value:function(e){for(var t,n=!1,r=0;r<e.length;r++){var o=e[r];if(this.eq(o))return e;if(this.type.excludes(o.type))t||(t=e.slice(0,r));else{if(o.type.excludes(this.type))return e;!n&&o.type.rank>this.type.rank&&(t||(t=e.slice(0,r)),t.push(this),n=!0),t&&t.push(o)}}return t||(t=e.slice()),n||t.push(this),t}},{key:"removeFromSet",value:function(e){for(var t=0;t<e.length;t++)if(this.eq(e[t]))return e.slice(0,t).concat(e.slice(t+1));return e}},{key:"isInSet",value:function(e){for(var t=0;t<e.length;t++)if(this.eq(e[t]))return!0;return!1}},{key:"eq",value:function(e){return this==e||this.type==e.type&&S(this.attrs,e.attrs)}},{key:"toJSON",value:function(){var e={type:this.type.name};for(var t in this.attrs){e.attrs=this.attrs;break}return e}}],[{key:"fromJSON",value:function(e,t){if(!t)throw new RangeError("Invalid input for Mark.fromJSON");var n=e.marks[t.type];if(!n)throw new RangeError("There is no mark type ".concat(t.type," in this schema"));return n.create(t.attrs)}},{key:"sameSet",value:function(e,t){if(e==t)return!0;if(e.length!=t.length)return!1;for(var n=0;n<e.length;n++)if(!e[n].eq(t[n]))return!1;return!0}},{key:"setFrom",value:function(t){if(!t||Array.isArray(t)&&0==t.length)return e.none;if(t instanceof e)return[t];var n=t.slice();return n.sort((function(e,t){return e.type.rank-t.type.rank})),n}}]),e}();C.none=[];var E=function(e){a(n,e);var t=s(n);function n(){return h(this,n),t.apply(this,arguments)}return v(n)}(l(Error)),T=function(){function e(t,n,r){h(this,e),this.content=t,this.openStart=n,this.openEnd=r}return v(e,[{key:"size",get:function(){return this.content.size-this.openStart-this.openEnd}},{key:"insertAt",value:function(t,n){var r=$(this.content,t+this.openStart,n);return r&&new e(r,this.openStart,this.openEnd)}},{key:"removeBetween",value:function(t,n){return new e(O(this.content,t+this.openStart,n+this.openStart),this.openStart,this.openEnd)}},{key:"eq",value:function(e){return this.content.eq(e.content)&&this.openStart==e.openStart&&this.openEnd==e.openEnd}},{key:"toString",value:function(){return this.content+"("+this.openStart+","+this.openEnd+")"}},{key:"toJSON",value:function(){if(!this.content.size)return null;var e={content:this.content.toJSON()};return this.openStart>0&&(e.openStart=this.openStart),this.openEnd>0&&(e.openEnd=this.openEnd),e}}],[{key:"fromJSON",value:function(t,n){if(!n)return e.empty;var r=n.openStart||0,o=n.openEnd||0;if("number"!=typeof r||"number"!=typeof o)throw new RangeError("Invalid input for Slice.fromJSON");return new e(w.fromJSON(t,n.content),r,o)}},{key:"maxOpen",value:function(t){for(var n=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],r=0,o=0,i=t.firstChild;i&&!i.isLeaf&&(n||!i.type.spec.isolating);i=i.firstChild)r++;for(var a=t.lastChild;a&&!a.isLeaf&&(n||!a.type.spec.isolating);a=a.lastChild)o++;return new e(t,r,o)}}]),e}();function O(e,t,n){var r=e.findIndex(t),o=r.index,i=r.offset,a=e.maybeChild(o),s=e.findIndex(n),l=s.index,c=s.offset;if(i==t||a.isText){if(c!=n&&!e.child(l).isText)throw new RangeError("Removing non-flat range");return e.cut(0,t).append(e.cut(n))}if(o!=l)throw new RangeError("Removing non-flat range");return e.replaceChild(o,a.copy(O(a.content,t-i-1,n-i-1)))}function $(e,t,n,r){var o=e.findIndex(t),i=o.index,a=o.offset,s=e.maybeChild(i);if(a==t||s.isText)return r&&!r.canReplace(i,i,n)?null:e.cut(0,t).append(n).append(e.cut(t));var l=$(s.content,t-a-1,n);return l&&e.replaceChild(i,s.copy(l))}function M(e,t,n){if(n.openStart>e.depth)throw new E("Inserted content deeper than insertion position");if(e.depth-n.openStart!=t.depth-n.openEnd)throw new E("Inconsistent open depths");return A(e,t,n,0)}function A(e,t,n,r){var o=e.index(r),i=e.node(r);if(o==t.index(r)&&r<e.depth-n.openStart){var a=A(e,t,n,r+1);return i.copy(i.content.replaceChild(o,a))}if(n.content.size){if(n.openStart||n.openEnd||e.depth!=r||t.depth!=r){var s=function(e,t){for(var n=t.depth-e.openStart,r=t.node(n).copy(e.content),o=n-1;o>=0;o--)r=t.node(o).copy(w.from(r));return{start:r.resolveNoCache(e.openStart+n),end:r.resolveNoCache(r.content.size-e.openEnd-n)}}(n,e);return I(i,P(e,s.start,s.end,t,r))}var l=e.parent,c=l.content;return I(l,c.cut(0,e.parentOffset).append(n.content).append(c.cut(t.parentOffset)))}return I(i,Z(e,t,r))}function D(e,t){if(!t.type.compatibleContent(e.type))throw new E("Cannot join "+t.type.name+" onto "+e.type.name)}function L(e,t,n){var r=e.node(n);return D(r,t.node(n)),r}function N(e,t){var n=t.length-1;n>=0&&e.isText&&e.sameMarkup(t[n])?t[n]=e.withText(t[n].text+e.text):t.push(e)}function R(e,t,n,r){var o=(t||e).node(n),i=0,a=t?t.index(n):o.childCount;e&&(i=e.index(n),e.depth>n?i++:e.textOffset&&(N(e.nodeAfter,r),i++));for(var s=i;s<a;s++)N(o.child(s),r);t&&t.depth==n&&t.textOffset&&N(t.nodeBefore,r)}function I(e,t){return e.type.checkContent(t),e.copy(t)}function P(e,t,n,r,o){var i=e.depth>o&&L(e,t,o+1),a=r.depth>o&&L(n,r,o+1),s=[];return R(null,e,o,s),i&&a&&t.index(o)==n.index(o)?(D(i,a),N(I(i,P(e,t,n,r,o+1)),s)):(i&&N(I(i,Z(e,t,o+1)),s),R(t,n,o,s),a&&N(I(a,Z(n,r,o+1)),s)),R(r,null,o,s),new w(s)}function Z(e,t,n){var r=[];(R(null,e,n,r),e.depth>n)&&N(I(L(e,t,n+1),Z(e,t,n+1)),r);return R(t,null,n,r),new w(r)}T.empty=new T(w.empty,0,0);var _=function(){function e(t,n,r){h(this,e),this.pos=t,this.path=n,this.parentOffset=r,this.depth=n.length/3-1}return v(e,[{key:"resolveDepth",value:function(e){return null==e?this.depth:e<0?this.depth+e:e}},{key:"parent",get:function(){return this.node(this.depth)}},{key:"doc",get:function(){return this.node(0)}},{key:"node",value:function(e){return this.path[3*this.resolveDepth(e)]}},{key:"index",value:function(e){return this.path[3*this.resolveDepth(e)+1]}},{key:"indexAfter",value:function(e){return e=this.resolveDepth(e),this.index(e)+(e!=this.depth||this.textOffset?1:0)}},{key:"start",value:function(e){return 0==(e=this.resolveDepth(e))?0:this.path[3*e-1]+1}},{key:"end",value:function(e){return e=this.resolveDepth(e),this.start(e)+this.node(e).content.size}},{key:"before",value:function(e){if(!(e=this.resolveDepth(e)))throw new RangeError("There is no position before the top-level node");return e==this.depth+1?this.pos:this.path[3*e-1]}},{key:"after",value:function(e){if(!(e=this.resolveDepth(e)))throw new RangeError("There is no position after the top-level node");return e==this.depth+1?this.pos:this.path[3*e-1]+this.path[3*e].nodeSize}},{key:"textOffset",get:function(){return this.pos-this.path[this.path.length-1]}},{key:"nodeAfter",get:function(){var e=this.parent,t=this.index(this.depth);if(t==e.childCount)return null;var n=this.pos-this.path[this.path.length-1],r=e.child(t);return n?e.child(t).cut(n):r}},{key:"nodeBefore",get:function(){var e=this.index(this.depth),t=this.pos-this.path[this.path.length-1];return t?this.parent.child(e).cut(0,t):0==e?null:this.parent.child(e-1)}},{key:"posAtIndex",value:function(e,t){t=this.resolveDepth(t);for(var n=this.path[3*t],r=0==t?0:this.path[3*t-1]+1,o=0;o<e;o++)r+=n.child(o).nodeSize;return r}},{key:"marks",value:function(){var e=this.parent,t=this.index();if(0==e.content.size)return C.none;if(this.textOffset)return e.child(t).marks;var n=e.maybeChild(t-1),r=e.maybeChild(t);if(!n){var o=n;n=r,r=o}for(var i=n.marks,a=0;a<i.length;a++)!1!==i[a].type.spec.inclusive||r&&i[a].isInSet(r.marks)||(i=i[a--].removeFromSet(i));return i}},{key:"marksAcross",value:function(e){var t=this.parent.maybeChild(this.index());if(!t||!t.isInline)return null;for(var n=t.marks,r=e.parent.maybeChild(e.index()),o=0;o<n.length;o++)!1!==n[o].type.spec.inclusive||r&&n[o].isInSet(r.marks)||(n=n[o--].removeFromSet(n));return n}},{key:"sharedDepth",value:function(e){for(var t=this.depth;t>0;t--)if(this.start(t)<=e&&this.end(t)>=e)return t;return 0}},{key:"blockRange",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this,t=arguments.length>1?arguments[1]:void 0;if(e.pos<this.pos)return e.blockRange(this);for(var n=this.depth-(this.parent.inlineContent||this.pos==e.pos?1:0);n>=0;n--)if(e.pos<=this.end(n)&&(!t||t(this.node(n))))return new z(this,e,n);return null}},{key:"sameParent",value:function(e){return this.pos-this.parentOffset==e.pos-e.parentOffset}},{key:"max",value:function(e){return e.pos>this.pos?e:this}},{key:"min",value:function(e){return e.pos<this.pos?e:this}},{key:"toString",value:function(){for(var e="",t=1;t<=this.depth;t++)e+=(e?"/":"")+this.node(t).type.name+"_"+this.index(t-1);return e+":"+this.parentOffset}}],[{key:"resolve",value:function(t,n){if(!(n>=0&&n<=t.content.size))throw new RangeError("Position "+n+" out of range");for(var r=[],o=0,i=n,a=t;;){var s=a.content.findIndex(i),l=s.index,c=s.offset,u=i-c;if(r.push(a,l,o+c),!u)break;if((a=a.child(l)).isText)break;i=u-1,o+=c+1}return new e(n,r,i)}},{key:"resolveCached",value:function(t,n){for(var r=0;r<F.length;r++){var o=F[r];if(o.pos==n&&o.doc==t)return o}var i=F[j]=e.resolve(t,n);return j=(j+1)%B,i}}]),e}(),F=[],j=0,B=12,z=function(){function e(t,n,r){h(this,e),this.$from=t,this.$to=n,this.depth=r}return v(e,[{key:"start",get:function(){return this.$from.before(this.depth+1)}},{key:"end",get:function(){return this.$to.after(this.depth+1)}},{key:"parent",get:function(){return this.$from.node(this.depth)}},{key:"startIndex",get:function(){return this.$from.index(this.depth)}},{key:"endIndex",get:function(){return this.$to.indexAfter(this.depth)}}]),e}(),H=Object.create(null),U=function(){function e(t,n,r){var o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:C.none;h(this,e),this.type=t,this.attrs=n,this.marks=o,this.content=r||w.empty}return v(e,[{key:"nodeSize",get:function(){return this.isLeaf?1:2+this.content.size}},{key:"childCount",get:function(){return this.content.childCount}},{key:"child",value:function(e){return this.content.child(e)}},{key:"maybeChild",value:function(e){return this.content.maybeChild(e)}},{key:"forEach",value:function(e){this.content.forEach(e)}},{key:"nodesBetween",value:function(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:0;this.content.nodesBetween(e,t,n,r,this)}},{key:"descendants",value:function(e){this.nodesBetween(0,this.content.size,e)}},{key:"textContent",get:function(){return this.isLeaf&&this.type.spec.leafText?this.type.spec.leafText(this):this.textBetween(0,this.content.size,"")}},{key:"textBetween",value:function(e,t,n,r){return this.content.textBetween(e,t,n,r)}},{key:"firstChild",get:function(){return this.content.firstChild}},{key:"lastChild",get:function(){return this.content.lastChild}},{key:"eq",value:function(e){return this==e||this.sameMarkup(e)&&this.content.eq(e.content)}},{key:"sameMarkup",value:function(e){return this.hasMarkup(e.type,e.attrs,e.marks)}},{key:"hasMarkup",value:function(e,t,n){return this.type==e&&S(this.attrs,t||e.defaultAttrs||H)&&C.sameSet(this.marks,n||C.none)}},{key:"copy",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null;return t==this.content?this:new e(this.type,this.attrs,t,this.marks)}},{key:"mark",value:function(t){return t==this.marks?this:new e(this.type,this.attrs,this.content,t)}},{key:"cut",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.content.size;return 0==e&&t==this.content.size?this:this.copy(this.content.cut(e,t))}},{key:"slice",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.content.size,n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(e==t)return T.empty;var r=this.resolve(e),o=this.resolve(t),i=n?0:r.sharedDepth(t),a=r.start(i),s=r.node(i).content.cut(r.pos-a,o.pos-a);return new T(s,r.depth-i,o.depth-i)}},{key:"replace",value:function(e,t,n){return M(this.resolve(e),this.resolve(t),n)}},{key:"nodeAt",value:function(e){for(var t=this;;){var n=t.content.findIndex(e),r=n.index,o=n.offset;if(!(t=t.maybeChild(r)))return null;if(o==e||t.isText)return t;e-=o+1}}},{key:"childAfter",value:function(e){var t=this.content.findIndex(e),n=t.index,r=t.offset;return{node:this.content.maybeChild(n),index:n,offset:r}}},{key:"childBefore",value:function(e){if(0==e)return{node:null,index:0,offset:0};var t=this.content.findIndex(e),n=t.index,r=t.offset;if(r<e)return{node:this.content.child(n),index:n,offset:r};var o=this.content.child(n-1);return{node:o,index:n-1,offset:r-o.nodeSize}}},{key:"resolve",value:function(e){return _.resolveCached(this,e)}},{key:"resolveNoCache",value:function(e){return _.resolve(this,e)}},{key:"rangeHasMark",value:function(e,t,n){var r=!1;return t>e&&this.nodesBetween(e,t,(function(e){return n.isInSet(e.marks)&&(r=!0),!r})),r}},{key:"isBlock",get:function(){return this.type.isBlock}},{key:"isTextblock",get:function(){return this.type.isTextblock}},{key:"inlineContent",get:function(){return this.type.inlineContent}},{key:"isInline",get:function(){return this.type.isInline}},{key:"isText",get:function(){return this.type.isText}},{key:"isLeaf",get:function(){return this.type.isLeaf}},{key:"isAtom",get:function(){return this.type.isAtom}},{key:"toString",value:function(){if(this.type.spec.toDebugString)return this.type.spec.toDebugString(this);var e=this.type.name;return this.content.size&&(e+="("+this.content.toStringInner()+")"),V(this.marks,e)}},{key:"contentMatchAt",value:function(e){var t=this.type.contentMatch.matchFragment(this.content,0,e);if(!t)throw new Error("Called contentMatchAt on a node with invalid content");return t}},{key:"canReplace",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:w.empty,r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:0,o=arguments.length>4&&void 0!==arguments[4]?arguments[4]:n.childCount,i=this.contentMatchAt(e).matchFragment(n,r,o),a=i&&i.matchFragment(this.content,t);if(!a||!a.validEnd)return!1;for(var s=r;s<o;s++)if(!this.type.allowsMarks(n.child(s).marks))return!1;return!0}},{key:"canReplaceWith",value:function(e,t,n,r){if(r&&!this.type.allowsMarks(r))return!1;var o=this.contentMatchAt(e).matchType(n),i=o&&o.matchFragment(this.content,t);return!!i&&i.validEnd}},{key:"canAppend",value:function(e){return e.content.size?this.canReplace(this.childCount,this.childCount,e.content):this.type.compatibleContent(e.type)}},{key:"check",value:function(){this.type.checkContent(this.content);for(var e=C.none,t=0;t<this.marks.length;t++)e=this.marks[t].addToSet(e);if(!C.sameSet(e,this.marks))throw new RangeError("Invalid collection of marks for node ".concat(this.type.name,": ").concat(this.marks.map((function(e){return e.type.name}))));this.content.forEach((function(e){return e.check()}))}},{key:"toJSON",value:function(){var e={type:this.type.name};for(var t in this.attrs){e.attrs=this.attrs;break}return this.content.size&&(e.content=this.content.toJSON()),this.marks.length&&(e.marks=this.marks.map((function(e){return e.toJSON()}))),e}}],[{key:"fromJSON",value:function(e,t){if(!t)throw new RangeError("Invalid input for Node.fromJSON");var n=null;if(t.marks){if(!Array.isArray(t.marks))throw new RangeError("Invalid mark data for Node.fromJSON");n=t.marks.map(e.markFromJSON)}if("text"==t.type){if("string"!=typeof t.text)throw new RangeError("Invalid text node in JSON");return e.text(t.text,n)}var r=w.fromJSON(e,t.content);return e.nodeType(t.type).create(t.attrs,r,n)}}]),e}();U.prototype.text=void 0;var W=function(e){a(n,e);var t=s(n);function n(e,r,o,i){var a;if(h(this,n),a=t.call(this,e,r,null,i),!o)throw new RangeError("Empty text nodes are not allowed");return a.text=o,a}return v(n,[{key:"toString",value:function(){return this.type.spec.toDebugString?this.type.spec.toDebugString(this):V(this.marks,JSON.stringify(this.text))}},{key:"textContent",get:function(){return this.text}},{key:"textBetween",value:function(e,t){return this.text.slice(e,t)}},{key:"nodeSize",get:function(){return this.text.length}},{key:"mark",value:function(e){return e==this.marks?this:new n(this.type,this.attrs,this.text,e)}},{key:"withText",value:function(e){return e==this.text?this:new n(this.type,this.attrs,e,this.marks)}},{key:"cut",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.text.length;return 0==e&&t==this.text.length?this:this.withText(this.text.slice(e,t))}},{key:"eq",value:function(e){return this.sameMarkup(e)&&this.text==e.text}},{key:"toJSON",value:function(){var e=i(p(n.prototype),"toJSON",this).call(this);return e.text=this.text,e}}]),n}(U);function V(e,t){for(var n=e.length-1;n>=0;n--)t=e[n].type.name+"("+t+")";return t}var q=function(){function e(t){h(this,e),this.validEnd=t,this.next=[],this.wrapCache=[]}return v(e,[{key:"matchType",value:function(e){for(var t=0;t<this.next.length;t++)if(this.next[t].type==e)return this.next[t].next;return null}},{key:"matchFragment",value:function(e){for(var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:e.childCount,r=this,o=t;r&&o<n;o++)r=r.matchType(e.child(o).type);return r}},{key:"inlineContent",get:function(){return 0!=this.next.length&&this.next[0].type.isInline}},{key:"defaultType",get:function(){for(var e=0;e<this.next.length;e++){var t=this.next[e].type;if(!t.isText&&!t.hasRequiredAttrs())return t}return null}},{key:"compatible",value:function(e){for(var t=0;t<this.next.length;t++)for(var n=0;n<e.next.length;n++)if(this.next[t].type==e.next[n].type)return!0;return!1}},{key:"fillBefore",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0,r=[this];return function o(i,a){var s=i.matchFragment(e,n);if(s&&(!t||s.validEnd))return w.from(a.map((function(e){return e.createAndFill()})));for(var l=0;l<i.next.length;l++){var c=i.next[l],u=c.type,d=c.next;if(!u.isText&&!u.hasRequiredAttrs()&&-1==r.indexOf(d)){r.push(d);var p=o(d,a.concat(u));if(p)return p}}return null}(this,[])}},{key:"findWrapping",value:function(e){for(var t=0;t<this.wrapCache.length;t+=2)if(this.wrapCache[t]==e)return this.wrapCache[t+1];var n=this.computeWrapping(e);return this.wrapCache.push(e,n),n}},{key:"computeWrapping",value:function(e){for(var t=Object.create(null),n=[{match:this,type:null,via:null}];n.length;){var r=n.shift(),o=r.match;if(o.matchType(e)){for(var i=[],a=r;a.type;a=a.via)i.push(a.type);return i.reverse()}for(var s=0;s<o.next.length;s++){var l=o.next[s],c=l.type,u=l.next;c.isLeaf||c.hasRequiredAttrs()||c.name in t||r.type&&!u.validEnd||(n.push({match:c.contentMatch,type:c,via:r}),t[c.name]=!0)}}return null}},{key:"edgeCount",get:function(){return this.next.length}},{key:"edge",value:function(e){if(e>=this.next.length)throw new RangeError("There's no ".concat(e,"th edge in this content match"));return this.next[e]}},{key:"toString",value:function(){var e=[];return function t(n){e.push(n);for(var r=0;r<n.next.length;r++)-1==e.indexOf(n.next[r].next)&&t(n.next[r].next)}(this),e.map((function(t,n){for(var r=n+(t.validEnd?"*":" ")+" ",o=0;o<t.next.length;o++)r+=(o?", ":"")+t.next[o].type.name+"->"+e.indexOf(t.next[o].next);return r})).join("\n")}}],[{key:"parse",value:function(t,n){var r=new G(t,n);if(null==r.next)return e.empty;var o=K(r);r.next&&r.err("Unexpected trailing text");var i=ne(function(e){var t=[[]];return o(i(e,0),n()),t;function n(){return t.push([])-1}function r(e,n,r){var o={term:r,to:n};return t[e].push(o),o}function o(e,t){e.forEach((function(e){return e.to=t}))}function i(e,t){if("choice"==e.type)return e.exprs.reduce((function(e,n){return e.concat(i(n,t))}),[]);if("seq"!=e.type){if("star"==e.type){var a=n();return r(t,a),o(i(e.expr,a),a),[r(a)]}if("plus"==e.type){var s=n();return o(i(e.expr,t),s),o(i(e.expr,s),s),[r(s)]}if("opt"==e.type)return[r(t)].concat(i(e.expr,t));if("range"==e.type){for(var l=t,c=0;c<e.min;c++){var u=n();o(i(e.expr,l),u),l=u}if(-1==e.max)o(i(e.expr,l),l);else for(var d=e.min;d<e.max;d++){var p=n();r(l,p),o(i(e.expr,l),p),l=p}return[r(l)]}if("name"==e.type)return[r(t,void 0,e.value)];throw new Error("Unknown expr type")}for(var f=0;;f++){var h=i(e.exprs[f],t);if(f==e.exprs.length-1)return h;o(h,t=n())}}}(o));return function(e,t){for(var n=0,r=[e];n<r.length;n++){for(var o=r[n],i=!o.validEnd,a=[],s=0;s<o.next.length;s++){var l=o.next[s],c=l.type,u=l.next;a.push(c.name),!i||c.isText||c.hasRequiredAttrs()||(i=!1),-1==r.indexOf(u)&&r.push(u)}i&&t.err("Only non-generatable nodes ("+a.join(", ")+") in a required position (see https://prosemirror.net/docs/guide/#generatable)")}}(i,r),i}}]),e}();q.empty=new q(!0);var G=function(){function e(t,n){h(this,e),this.string=t,this.nodeTypes=n,this.inline=null,this.pos=0,this.tokens=t.split(/\s*(?=\b|\W|$)/),""==this.tokens[this.tokens.length-1]&&this.tokens.pop(),""==this.tokens[0]&&this.tokens.shift()}return v(e,[{key:"next",get:function(){return this.tokens[this.pos]}},{key:"eat",value:function(e){return this.next==e&&(this.pos++||!0)}},{key:"err",value:function(e){throw new SyntaxError(e+" (in content expression '"+this.string+"')")}}]),e}();function K(e){var t=[];do{t.push(Y(e))}while(e.eat("|"));return 1==t.length?t[0]:{type:"choice",exprs:t}}function Y(e){var t=[];do{t.push(X(e))}while(e.next&&")"!=e.next&&"|"!=e.next);return 1==t.length?t[0]:{type:"seq",exprs:t}}function X(e){for(var t=function(e){if(e.eat("(")){var t=K(e);return e.eat(")")||e.err("Missing closing paren"),t}if(!/\W/.test(e.next)){var n=function(e,t){var n=e.nodeTypes,r=n[t];if(r)return[r];var o=[];for(var i in n){var a=n[i];a.groups.indexOf(t)>-1&&o.push(a)}0==o.length&&e.err("No node type or group '"+t+"' found");return o}(e,e.next).map((function(t){return null==e.inline?e.inline=t.isInline:e.inline!=t.isInline&&e.err("Mixing inline and block content"),{type:"name",value:t}}));return e.pos++,1==n.length?n[0]:{type:"choice",exprs:n}}e.err("Unexpected token '"+e.next+"'")}(e);;)if(e.eat("+"))t={type:"plus",expr:t};else if(e.eat("*"))t={type:"star",expr:t};else if(e.eat("?"))t={type:"opt",expr:t};else{if(!e.eat("{"))break;t=Q(e,t)}return t}function J(e){/\D/.test(e.next)&&e.err("Expected number, got '"+e.next+"'");var t=Number(e.next);return e.pos++,t}function Q(e,t){var n=J(e),r=n;return e.eat(",")&&(r="}"!=e.next?J(e):-1),e.eat("}")||e.err("Unclosed braced range"),{type:"range",min:n,max:r,expr:t}}function ee(e,t){return t-e}function te(e,t){var n=[];return function t(r){var o=e[r];if(1==o.length&&!o[0].term)return t(o[0].to);n.push(r);for(var i=0;i<o.length;i++){var a=o[i],s=a.term,l=a.to;s||-1!=n.indexOf(l)||t(l)}}(t),n.sort(ee)}function ne(e){var t=Object.create(null);return function n(r){var o=[];r.forEach((function(t){e[t].forEach((function(t){var n=t.term,r=t.to;if(n){for(var i,a=0;a<o.length;a++)o[a][0]==n&&(i=o[a][1]);te(e,r).forEach((function(e){i||o.push([n,i=[]]),-1==i.indexOf(e)&&i.push(e)}))}}))}));for(var i=t[r.join(",")]=new q(r.indexOf(e.length-1)>-1),a=0;a<o.length;a++){var s=o[a][1].sort(ee);i.next.push({type:o[a][0],next:t[s.join(",")]||n(s)})}return i}(te(e,0))}function re(e){var t=Object.create(null);for(var n in e){var r=e[n];if(!r.hasDefault)return null;t[n]=r.default}return t}function oe(e,t){var n=Object.create(null);for(var r in e){var o=t&&t[r];if(void 0===o){var i=e[r];if(!i.hasDefault)throw new RangeError("No value supplied for attribute "+r);o=i.default}n[r]=o}return n}function ie(e){var t=Object.create(null);if(e)for(var n in e)t[n]=new se(e[n]);return t}var ae=function(){function e(t,n,r){h(this,e),this.name=t,this.schema=n,this.spec=r,this.markSet=null,this.groups=r.group?r.group.split(" "):[],this.attrs=ie(r.attrs),this.defaultAttrs=re(this.attrs),this.contentMatch=null,this.inlineContent=null,this.isBlock=!(r.inline||"text"==t),this.isText="text"==t}return v(e,[{key:"isInline",get:function(){return!this.isBlock}},{key:"isTextblock",get:function(){return this.isBlock&&this.inlineContent}},{key:"isLeaf",get:function(){return this.contentMatch==q.empty}},{key:"isAtom",get:function(){return this.isLeaf||!!this.spec.atom}},{key:"whitespace",get:function(){return this.spec.whitespace||(this.spec.code?"pre":"normal")}},{key:"hasRequiredAttrs",value:function(){for(var e in this.attrs)if(this.attrs[e].isRequired)return!0;return!1}},{key:"compatibleContent",value:function(e){return this==e||this.contentMatch.compatible(e.contentMatch)}},{key:"computeAttrs",value:function(e){return!e&&this.defaultAttrs?this.defaultAttrs:oe(this.attrs,e)}},{key:"create",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,t=arguments.length>1?arguments[1]:void 0,n=arguments.length>2?arguments[2]:void 0;if(this.isText)throw new Error("NodeType.create can't construct text nodes");return new U(this,this.computeAttrs(e),w.from(t),C.setFrom(n))}},{key:"createChecked",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,t=arguments.length>1?arguments[1]:void 0,n=arguments.length>2?arguments[2]:void 0;return t=w.from(t),this.checkContent(t),new U(this,this.computeAttrs(e),t,C.setFrom(n))}},{key:"createAndFill",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,t=arguments.length>1?arguments[1]:void 0,n=arguments.length>2?arguments[2]:void 0;if(e=this.computeAttrs(e),(t=w.from(t)).size){var r=this.contentMatch.fillBefore(t);if(!r)return null;t=r.append(t)}var o=this.contentMatch.matchFragment(t),i=o&&o.fillBefore(w.empty,!0);return i?new U(this,e,t.append(i),C.setFrom(n)):null}},{key:"validContent",value:function(e){var t=this.contentMatch.matchFragment(e);if(!t||!t.validEnd)return!1;for(var n=0;n<e.childCount;n++)if(!this.allowsMarks(e.child(n).marks))return!1;return!0}},{key:"checkContent",value:function(e){if(!this.validContent(e))throw new RangeError("Invalid content for node ".concat(this.name,": ").concat(e.toString().slice(0,50)))}},{key:"allowsMarkType",value:function(e){return null==this.markSet||this.markSet.indexOf(e)>-1}},{key:"allowsMarks",value:function(e){if(null==this.markSet)return!0;for(var t=0;t<e.length;t++)if(!this.allowsMarkType(e[t].type))return!1;return!0}},{key:"allowedMarks",value:function(e){if(null==this.markSet)return e;for(var t,n=0;n<e.length;n++)this.allowsMarkType(e[n].type)?t&&t.push(e[n]):t||(t=e.slice(0,n));return t?t.length?t:C.none:e}}],[{key:"compile",value:function(t,n){var r=Object.create(null);t.forEach((function(t,o){return r[t]=new e(t,n,o)}));var o=n.spec.topNode||"doc";if(!r[o])throw new RangeError("Schema is missing its top node type ('"+o+"')");if(!r.text)throw new RangeError("Every schema needs a 'text' type");for(var i in r.text.attrs)throw new RangeError("The text node type should not have attributes");return r}}]),e}(),se=function(){function e(t){h(this,e),this.hasDefault=Object.prototype.hasOwnProperty.call(t,"default"),this.default=t.default}return v(e,[{key:"isRequired",get:function(){return!this.hasDefault}}]),e}(),le=function(){function e(t,n,r,o){h(this,e),this.name=t,this.rank=n,this.schema=r,this.spec=o,this.attrs=ie(o.attrs),this.excluded=null;var i=re(this.attrs);this.instance=i?new C(this,i):null}return v(e,[{key:"create",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null;return!e&&this.instance?this.instance:new C(this,oe(this.attrs,e))}},{key:"removeFromSet",value:function(e){for(var t=0;t<e.length;t++)e[t].type==this&&(e=e.slice(0,t).concat(e.slice(t+1)),t--);return e}},{key:"isInSet",value:function(e){for(var t=0;t<e.length;t++)if(e[t].type==this)return e[t]}},{key:"excludes",value:function(e){return this.excluded.indexOf(e)>-1}}],[{key:"compile",value:function(t,n){var r=Object.create(null),o=0;return t.forEach((function(t,i){return r[t]=new e(t,o++,n,i)})),r}}]),e}(),ce=function(){function e(t){h(this,e),this.cached=Object.create(null);var n=this.spec={};for(var r in t)n[r]=t[r];n.nodes=g.from(t.nodes),n.marks=g.from(t.marks||{}),this.nodes=ae.compile(this.spec.nodes,this),this.marks=le.compile(this.spec.marks,this);var o=Object.create(null);for(var i in this.nodes){if(i in this.marks)throw new RangeError(i+" can not be both a node and a mark");var a=this.nodes[i],s=a.spec.content||"",l=a.spec.marks;a.contentMatch=o[s]||(o[s]=q.parse(s,this.nodes)),a.inlineContent=a.contentMatch.inlineContent,a.markSet="_"==l?null:l?ue(this,l.split(" ")):""!=l&&a.inlineContent?null:[]}for(var c in this.marks){var u=this.marks[c],d=u.spec.excludes;u.excluded=null==d?[u]:""==d?[]:ue(this,d.split(" "))}this.nodeFromJSON=this.nodeFromJSON.bind(this),this.markFromJSON=this.markFromJSON.bind(this),this.topNodeType=this.nodes[this.spec.topNode||"doc"],this.cached.wrappings=Object.create(null)}return v(e,[{key:"node",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,n=arguments.length>2?arguments[2]:void 0,r=arguments.length>3?arguments[3]:void 0;if("string"==typeof e)e=this.nodeType(e);else{if(!(e instanceof ae))throw new RangeError("Invalid node type: "+e);if(e.schema!=this)throw new RangeError("Node type from different schema used ("+e.name+")")}return e.createChecked(t,n,r)}},{key:"text",value:function(e,t){var n=this.nodes.text;return new W(n,n.defaultAttrs,e,C.setFrom(t))}},{key:"mark",value:function(e,t){return"string"==typeof e&&(e=this.marks[e]),e.create(t)}},{key:"nodeFromJSON",value:function(e){return U.fromJSON(this,e)}},{key:"markFromJSON",value:function(e){return C.fromJSON(this,e)}},{key:"nodeType",value:function(e){var t=this.nodes[e];if(!t)throw new RangeError("Unknown node type: "+e);return t}}]),e}();function ue(e,t){for(var n=[],r=0;r<t.length;r++){var o=t[r],i=e.marks[o],a=i;if(i)n.push(i);else for(var s in e.marks){var l=e.marks[s];("_"==o||l.spec.group&&l.spec.group.split(" ").indexOf(o)>-1)&&n.push(a=l)}if(!a)throw new SyntaxError("Unknown mark type: '"+t[r]+"'")}return n}var de=function(){function e(t,n){var r=this;h(this,e),this.schema=t,this.rules=n,this.tags=[],this.styles=[],n.forEach((function(e){e.tag?r.tags.push(e):e.style&&r.styles.push(e)})),this.normalizeLists=!this.tags.some((function(e){if(!/^(ul|ol)\b/.test(e.tag)||!e.node)return!1;var n=t.nodes[e.node];return n.contentMatch.matchType(n)}))}return v(e,[{key:"parse",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=new ge(this,t,!1);return n.addAll(e,t.from,t.to),n.finish()}},{key:"parseSlice",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=new ge(this,t,!0);return n.addAll(e,t.from,t.to),T.maxOpen(n.finish())}},{key:"matchTag",value:function(e,t,n){for(var r=n?this.tags.indexOf(n)+1:0;r<this.tags.length;r++){var o=this.tags[r];if(ye(e,o.tag)&&(void 0===o.namespace||e.namespaceURI==o.namespace)&&(!o.context||t.matchesContext(o.context))){if(o.getAttrs){var i=o.getAttrs(e);if(!1===i)continue;o.attrs=i||void 0}return o}}}},{key:"matchStyle",value:function(e,t,n,r){for(var o=r?this.styles.indexOf(r)+1:0;o<this.styles.length;o++){var i=this.styles[o],a=i.style;if(!(0!=a.indexOf(e)||i.context&&!n.matchesContext(i.context)||a.length>e.length&&(61!=a.charCodeAt(e.length)||a.slice(e.length+1)!=t))){if(i.getAttrs){var s=i.getAttrs(t);if(!1===s)continue;i.attrs=s||void 0}return i}}}}],[{key:"schemaRules",value:function(e){var t=[];function n(e){for(var n=null==e.priority?50:e.priority,r=0;r<t.length;r++){var o=t[r];if((null==o.priority?50:o.priority)<n)break}t.splice(r,0,e)}var r=function(t){var r=e.marks[t].spec.parseDOM;r&&r.forEach((function(e){n(e=be(e)),e.mark||e.ignore||e.clearMark||(e.mark=t)}))};for(var o in e.marks)r(o);var i=function(t){var r=e.nodes[t].spec.parseDOM;r&&r.forEach((function(e){n(e=be(e)),e.node||e.ignore||e.mark||(e.node=t)}))};for(var a in e.nodes)i(a);return t}},{key:"fromSchema",value:function(t){return t.cached.domParser||(t.cached.domParser=new e(t,e.schemaRules(t)))}}]),e}(),pe={address:!0,article:!0,aside:!0,blockquote:!0,canvas:!0,dd:!0,div:!0,dl:!0,fieldset:!0,figcaption:!0,figure:!0,footer:!0,form:!0,h1:!0,h2:!0,h3:!0,h4:!0,h5:!0,h6:!0,header:!0,hgroup:!0,hr:!0,li:!0,noscript:!0,ol:!0,output:!0,p:!0,pre:!0,section:!0,table:!0,tfoot:!0,ul:!0},fe={head:!0,noscript:!0,object:!0,script:!0,style:!0,title:!0},he={ol:!0,ul:!0};function me(e,t,n){return null!=t?(t?1:0)|("full"===t?2:0):e&&"pre"==e.whitespace?3:-5&n}var ve=function(){function e(t,n,r,o,i,a,s){h(this,e),this.type=t,this.attrs=n,this.marks=r,this.pendingMarks=o,this.solid=i,this.options=s,this.content=[],this.activeMarks=C.none,this.stashMarks=[],this.match=a||(4&s?null:t.contentMatch)}return v(e,[{key:"findWrapping",value:function(e){if(!this.match){if(!this.type)return[];var t=this.type.contentMatch.fillBefore(w.from(e));if(!t){var n,r=this.type.contentMatch;return(n=r.findWrapping(e.type))?(this.match=r,n):null}this.match=this.type.contentMatch.matchFragment(t)}return this.match.findWrapping(e.type)}},{key:"finish",value:function(e){if(!(1&this.options)){var t,n=this.content[this.content.length-1];if(n&&n.isText&&(t=/[ \t\r\n\u000c]+$/.exec(n.text))){var r=n;n.text.length==t[0].length?this.content.pop():this.content[this.content.length-1]=r.withText(r.text.slice(0,r.text.length-t[0].length))}}var o=w.from(this.content);return!e&&this.match&&(o=o.append(this.match.fillBefore(w.empty,!0))),this.type?this.type.create(this.attrs,o,this.marks):o}},{key:"popFromStashMark",value:function(e){for(var t=this.stashMarks.length-1;t>=0;t--)if(e.eq(this.stashMarks[t]))return this.stashMarks.splice(t,1)[0]}},{key:"applyPending",value:function(e){for(var t=0,n=this.pendingMarks;t<n.length;t++){var r=n[t];(this.type?this.type.allowsMarkType(r.type):we(r.type,e))&&!r.isInSet(this.activeMarks)&&(this.activeMarks=r.addToSet(this.activeMarks),this.pendingMarks=r.removeFromSet(this.pendingMarks))}}},{key:"inlineContext",value:function(e){return this.type?this.type.inlineContent:this.content.length?this.content[0].isInline:e.parentNode&&!pe.hasOwnProperty(e.parentNode.nodeName.toLowerCase())}}]),e}(),ge=function(){function e(t,n,r){h(this,e),this.parser=t,this.options=n,this.isOpen=r,this.open=0;var o,i=n.topNode,a=me(null,n.preserveWhitespace,0)|(r?4:0);o=i?new ve(i.type,i.attrs,C.none,C.none,!0,n.topMatch||i.type.contentMatch,a):new ve(r?null:t.schema.topNodeType,null,C.none,C.none,!0,null,a),this.nodes=[o],this.find=n.findPositions,this.needsBlock=!1}return v(e,[{key:"top",get:function(){return this.nodes[this.open]}},{key:"addDOM",value:function(e){3==e.nodeType?this.addTextNode(e):1==e.nodeType&&this.addElement(e)}},{key:"withStyleRules",value:function(e,t){var n=e.getAttribute("style");if(!n)return t();var o=this.readStyles(function(e){var t,n=/\s*([\w-]+)\s*:\s*([^;]+)/g,r=[];for(;t=n.exec(e);)r.push(t[1],t[2].trim());return r}(n));if(o){for(var i=r(o,2),a=i[0],s=i[1],l=this.top,c=0;c<s.length;c++)this.removePendingMark(s[c],l);for(var u=0;u<a.length;u++)this.addPendingMark(a[u]);t();for(var d=0;d<a.length;d++)this.removePendingMark(a[d],l);for(var p=0;p<s.length;p++)this.addPendingMark(s[p])}}},{key:"addTextNode",value:function(e){var t=e.nodeValue,n=this.top;if(2&n.options||n.inlineContext(e)||/[^ \t\r\n\u000c]/.test(t)){if(1&n.options)t=2&n.options?t.replace(/\r\n?/g,"\n"):t.replace(/\r?\n|\r/g," ");else if(t=t.replace(/[ \t\r\n\u000c]+/g," "),/^[ \t\r\n\u000c]/.test(t)&&this.open==this.nodes.length-1){var r=n.content[n.content.length-1],o=e.previousSibling;(!r||o&&"BR"==o.nodeName||r.isText&&/[ \t\r\n\u000c]$/.test(r.text))&&(t=t.slice(1))}t&&this.insertNode(this.parser.schema.text(t)),this.findInText(e)}else this.findInside(e)}},{key:"addElement",value:function(e,t){var n,r=this,o=e.nodeName.toLowerCase();he.hasOwnProperty(o)&&this.parser.normalizeLists&&function(e){for(var t=e.firstChild,n=null;t;t=t.nextSibling){var r=1==t.nodeType?t.nodeName.toLowerCase():null;r&&he.hasOwnProperty(r)&&n?(n.appendChild(t),t=n):"li"==r?n=t:r&&(n=null)}}(e);var i=this.options.ruleFromNode&&this.options.ruleFromNode(e)||(n=this.parser.matchTag(e,this,t));if(i?i.ignore:fe.hasOwnProperty(o))this.findInside(e),this.ignoreFallback(e);else if(!i||i.skip||i.closeParent){i&&i.closeParent?this.open=Math.max(0,this.open-1):i&&i.skip.nodeType&&(e=i.skip);var a,s=this.top,l=this.needsBlock;if(pe.hasOwnProperty(o))s.content.length&&s.content[0].isInline&&this.open&&(this.open--,s=this.top),a=!0,s.type||(this.needsBlock=!0);else if(!e.firstChild)return void this.leafFallback(e);i&&i.skip?this.addAll(e):this.withStyleRules(e,(function(){return r.addAll(e)})),a&&this.sync(s),this.needsBlock=l}else this.withStyleRules(e,(function(){r.addElementByRule(e,i,!1===i.consuming?n:void 0)}))}},{key:"leafFallback",value:function(e){"BR"==e.nodeName&&this.top.type&&this.top.type.inlineContent&&this.addTextNode(e.ownerDocument.createTextNode("\n"))}},{key:"ignoreFallback",value:function(e){"BR"!=e.nodeName||this.top.type&&this.top.type.inlineContent||this.findPlace(this.parser.schema.text("-"))}},{key:"readStyles",value:function(e){for(var t=this,n=C.none,r=C.none,o=0;o<e.length;o+=2)for(var i,a=function(i){var a=t.parser.matchStyle(e[o],e[o+1],t,i);return a?a.ignore?{v:null}:(a.clearMark?t.top.pendingMarks.concat(t.top.activeMarks).forEach((function(e){a.clearMark(e)&&(r=e.addToSet(r))})):n=t.parser.schema.marks[a.mark].create(a.attrs).addToSet(n),!1!==a.consuming?(s=i,0):void(s=i=a)):(s=i,0)},s=void 0;0!==(i=a(s));)if(i)return i.v;return[n,r]}},{key:"addElementByRule",value:function(e,t,n){var r,o,i,a=this;t.node?(o=this.parser.schema.nodes[t.node]).isLeaf?this.insertNode(o.create(t.attrs))||this.leafFallback(e):r=this.enter(o,t.attrs||null,t.preserveWhitespace):(i=this.parser.schema.marks[t.mark].create(t.attrs),this.addPendingMark(i));var s=this.top;if(o&&o.isLeaf)this.findInside(e);else if(n)this.addElement(e,n);else if(t.getContent)this.findInside(e),t.getContent(e,this.parser.schema).forEach((function(e){return a.insertNode(e)}));else{var l=e;"string"==typeof t.contentElement?l=e.querySelector(t.contentElement):"function"==typeof t.contentElement?l=t.contentElement(e):t.contentElement&&(l=t.contentElement),this.findAround(e,l,!0),this.addAll(l)}r&&this.sync(s)&&this.open--,i&&this.removePendingMark(i,s)}},{key:"addAll",value:function(e,t,n){for(var r=t||0,o=t?e.childNodes[t]:e.firstChild,i=null==n?null:e.childNodes[n];o!=i;o=o.nextSibling,++r)this.findAtPoint(e,r),this.addDOM(o);this.findAtPoint(e,r)}},{key:"findPlace",value:function(e){for(var t,n,r=this.open;r>=0;r--){var o=this.nodes[r],i=o.findWrapping(e);if(i&&(!t||t.length>i.length)&&(t=i,n=o,!i.length))break;if(o.solid)break}if(!t)return!1;this.sync(n);for(var a=0;a<t.length;a++)this.enterInner(t[a],null,!1);return!0}},{key:"insertNode",value:function(e){if(e.isInline&&this.needsBlock&&!this.top.type){var t=this.textblockFromContext();t&&this.enterInner(t)}if(this.findPlace(e)){this.closeExtra();var n=this.top;n.applyPending(e.type),n.match&&(n.match=n.match.matchType(e.type));for(var r=n.activeMarks,o=0;o<e.marks.length;o++)n.type&&!n.type.allowsMarkType(e.marks[o].type)||(r=e.marks[o].addToSet(r));return n.content.push(e.mark(r)),!0}return!1}},{key:"enter",value:function(e,t,n){var r=this.findPlace(e.create(t));return r&&this.enterInner(e,t,!0,n),r}},{key:"enterInner",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],r=arguments.length>3?arguments[3]:void 0;this.closeExtra();var o=this.top;o.applyPending(e),o.match=o.match&&o.match.matchType(e);var i=me(e,r,o.options);4&o.options&&0==o.content.length&&(i|=4),this.nodes.push(new ve(e,t,o.activeMarks,o.pendingMarks,n,null,i)),this.open++}},{key:"closeExtra",value:function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t=this.nodes.length-1;if(t>this.open){for(;t>this.open;t--)this.nodes[t-1].content.push(this.nodes[t].finish(e));this.nodes.length=this.open+1}}},{key:"finish",value:function(){return this.open=0,this.closeExtra(this.isOpen),this.nodes[0].finish(this.isOpen||this.options.topOpen)}},{key:"sync",value:function(e){for(var t=this.open;t>=0;t--)if(this.nodes[t]==e)return this.open=t,!0;return!1}},{key:"currentPos",get:function(){this.closeExtra();for(var e=0,t=this.open;t>=0;t--){for(var n=this.nodes[t].content,r=n.length-1;r>=0;r--)e+=n[r].nodeSize;t&&e++}return e}},{key:"findAtPoint",value:function(e,t){if(this.find)for(var n=0;n<this.find.length;n++)this.find[n].node==e&&this.find[n].offset==t&&(this.find[n].pos=this.currentPos)}},{key:"findInside",value:function(e){if(this.find)for(var t=0;t<this.find.length;t++)null==this.find[t].pos&&1==e.nodeType&&e.contains(this.find[t].node)&&(this.find[t].pos=this.currentPos)}},{key:"findAround",value:function(e,t,n){if(e!=t&&this.find)for(var r=0;r<this.find.length;r++){if(null==this.find[r].pos&&1==e.nodeType&&e.contains(this.find[r].node))t.compareDocumentPosition(this.find[r].node)&(n?2:4)&&(this.find[r].pos=this.currentPos)}}},{key:"findInText",value:function(e){if(this.find)for(var t=0;t<this.find.length;t++)this.find[t].node==e&&(this.find[t].pos=this.currentPos-(e.nodeValue.length-this.find[t].offset))}},{key:"matchesContext",value:function(e){var t=this;if(e.indexOf("|")>-1)return e.split(/\s*\|\s*/).some(this.matchesContext,this);var n=e.split("/"),r=this.options.context,o=!(this.isOpen||r&&r.parent.type!=this.nodes[0].type),i=-(r?r.depth+1:0)+(o?0:1);return function e(a,s){for(;a>=0;a--){var l=n[a];if(""==l){if(a==n.length-1||0==a)continue;for(;s>=i;s--)if(e(a-1,s))return!0;return!1}var c=s>0||0==s&&o?t.nodes[s].type:r&&s>=i?r.node(s-i).type:null;if(!c||c.name!=l&&-1==c.groups.indexOf(l))return!1;s--}return!0}(n.length-1,this.open)}},{key:"textblockFromContext",value:function(){var e=this.options.context;if(e)for(var t=e.depth;t>=0;t--){var n=e.node(t).contentMatchAt(e.indexAfter(t)).defaultType;if(n&&n.isTextblock&&n.defaultAttrs)return n}for(var r in this.parser.schema.nodes){var o=this.parser.schema.nodes[r];if(o.isTextblock&&o.defaultAttrs)return o}}},{key:"addPendingMark",value:function(e){var t=function(e,t){for(var n=0;n<t.length;n++)if(e.eq(t[n]))return t[n]}(e,this.top.pendingMarks);t&&this.top.stashMarks.push(t),this.top.pendingMarks=e.addToSet(this.top.pendingMarks)}},{key:"removePendingMark",value:function(e,t){for(var n=this.open;n>=0;n--){var r=this.nodes[n];if(r.pendingMarks.lastIndexOf(e)>-1)r.pendingMarks=e.removeFromSet(r.pendingMarks);else{r.activeMarks=e.removeFromSet(r.activeMarks);var o=r.popFromStashMark(e);o&&r.type&&r.type.allowsMarkType(o.type)&&(r.activeMarks=o.addToSet(r.activeMarks))}if(r==t)break}}}]),e}();function ye(e,t){return(e.matches||e.msMatchesSelector||e.webkitMatchesSelector||e.mozMatchesSelector).call(e,t)}function be(e){var t={};for(var n in e)t[n]=e[n];return t}function we(e,t){var n,r=t.schema.nodes,o=function(){var n=r[i];if(!n.allowsMarkType(e))return 0;var o=[];return function e(n){o.push(n);for(var r=0;r<n.edgeCount;r++){var i=n.edge(r),a=i.type,s=i.next;if(a==t)return!0;if(o.indexOf(s)<0&&e(s))return!0}}(n.contentMatch)?{v:!0}:void 0};for(var i in r)if(0!==(n=o())&&n)return n.v}var xe=function(){function e(t,n){h(this,e),this.nodes=t,this.marks=n}return v(e,[{key:"serializeFragment",value:function(e){var t=this,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=arguments.length>2?arguments[2]:void 0;r||(r=Se(n).createDocumentFragment());var o=r,i=[];return e.forEach((function(e){if(i.length||e.marks.length){for(var r=0,a=0;r<i.length&&a<e.marks.length;){var s=e.marks[a];if(t.marks[s.type.name]){if(!s.eq(i[r][0])||!1===s.type.spec.spanning)break;r++,a++}else a++}for(;r<i.length;)o=i.pop()[1];for(;a<e.marks.length;){var l=e.marks[a++],c=t.serializeMark(l,e.isInline,n);c&&(i.push([l,o]),o.appendChild(c.dom),o=c.contentDOM||c.dom)}}o.appendChild(t.serializeNodeInner(e,n))})),r}},{key:"serializeNodeInner",value:function(t,n){var r=e.renderSpec(Se(n),this.nodes[t.type.name](t)),o=r.dom,i=r.contentDOM;if(i){if(t.isLeaf)throw new RangeError("Content hole not allowed in a leaf node spec");this.serializeFragment(t.content,n,i)}return o}},{key:"serializeNode",value:function(e){for(var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=this.serializeNodeInner(e,t),r=e.marks.length-1;r>=0;r--){var o=this.serializeMark(e.marks[r],e.isInline,t);o&&((o.contentDOM||o.dom).appendChild(n),n=o.dom)}return n}},{key:"serializeMark",value:function(t,n){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},o=this.marks[t.type.name];return o&&e.renderSpec(Se(r),o(t,n))}}],[{key:"renderSpec",value:function(t,n){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null;if("string"==typeof n)return{dom:t.createTextNode(n)};if(null!=n.nodeType)return{dom:n};if(n.dom&&null!=n.dom.nodeType)return n;var o,i=n[0],a=i.indexOf(" ");a>0&&(r=i.slice(0,a),i=i.slice(a+1));var s=r?t.createElementNS(r,i):t.createElement(i),l=n[1],c=1;if(l&&"object"==f(l)&&null==l.nodeType&&!Array.isArray(l))for(var u in c=2,l)if(null!=l[u]){var d=u.indexOf(" ");d>0?s.setAttributeNS(u.slice(0,d),u.slice(d+1),l[u]):s.setAttribute(u,l[u])}for(var p=c;p<n.length;p++){var h=n[p];if(0===h){if(p<n.length-1||p>c)throw new RangeError("Content hole must be the only child of its parent node");return{dom:s,contentDOM:s}}var m=e.renderSpec(t,h,r),v=m.dom,g=m.contentDOM;if(s.appendChild(v),g){if(o)throw new RangeError("Multiple content holes");o=g}}return{dom:s,contentDOM:o}}},{key:"fromSchema",value:function(t){return t.cached.domSerializer||(t.cached.domSerializer=new e(this.nodesFromSchema(t),this.marksFromSchema(t)))}},{key:"nodesFromSchema",value:function(e){var t=ke(e.nodes);return t.text||(t.text=function(e){return e.text}),t}},{key:"marksFromSchema",value:function(e){return ke(e.marks)}}]),e}();function ke(e){var t={};for(var n in e){var r=e[n].spec.toDOM;r&&(t[n]=r)}return t}function Se(e){return e.document||window.document}t.ContentMatch=q,t.DOMParser=de,t.DOMSerializer=xe,t.Fragment=w,t.Mark=C,t.MarkType=le,t.Node=U,t.NodeRange=z,t.NodeType=ae,t.ReplaceError=E,t.ResolvedPos=_,t.Schema=ce,t.Slice=T},42391:(e,t,n)=>{"use strict";function r(e){return r="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},r(e)}function o(){return o="undefined"!=typeof Reflect&&Reflect.get?Reflect.get:function(e,t,n){var r=function(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&null!==(e=l(e)););return e}(e,t);if(r){var o=Object.getOwnPropertyDescriptor(r,t);return o.get?o.get.call(arguments.length<3?e:n):o.value}},o.apply(this,arguments)}function i(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&&a(e,t)}function a(e,t){return a=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},a(e,t)}function s(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,o=l(e);if(t){var i=l(this).constructor;n=Reflect.construct(o,arguments,i)}else n=o.apply(this,arguments);return function(e,t){if(t&&("object"===r(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)}(this,n)}}function l(e){return l=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},l(e)}function c(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function u(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 d(e,t,n){return t&&u(e.prototype,t),n&&u(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e}Object.defineProperty(t,"__esModule",{value:!0});var p=n(19443),f=n(92843),h=Object.create(null),m=function(){function e(t,n,r){c(this,e),this.$anchor=t,this.$head=n,this.ranges=r||[new v(t.min(n),t.max(n))]}return d(e,[{key:"anchor",get:function(){return this.$anchor.pos}},{key:"head",get:function(){return this.$head.pos}},{key:"from",get:function(){return this.$from.pos}},{key:"to",get:function(){return this.$to.pos}},{key:"$from",get:function(){return this.ranges[0].$from}},{key:"$to",get:function(){return this.ranges[0].$to}},{key:"empty",get:function(){for(var e=this.ranges,t=0;t<e.length;t++)if(e[t].$from.pos!=e[t].$to.pos)return!1;return!0}},{key:"content",value:function(){return this.$from.doc.slice(this.from,this.to,!0)}},{key:"replace",value:function(e){for(var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:p.Slice.empty,n=t.content.lastChild,r=null,o=0;o<t.openEnd;o++)r=n,n=n.lastChild;for(var i=e.steps.length,a=this.ranges,s=0;s<a.length;s++){var l=a[s],c=l.$from,u=l.$to,d=e.mapping.slice(i);e.replaceRange(d.map(c.pos),d.map(u.pos),s?p.Slice.empty:t),0==s&&T(e,i,(n?n.isInline:r&&r.isTextblock)?-1:1)}}},{key:"replaceWith",value:function(e,t){for(var n=e.steps.length,r=this.ranges,o=0;o<r.length;o++){var i=r[o],a=i.$from,s=i.$to,l=e.mapping.slice(n),c=l.map(a.pos),u=l.map(s.pos);o?e.deleteRange(c,u):(e.replaceRangeWith(c,u,t),T(e,n,t.isInline?-1:1))}}},{key:"getBookmark",value:function(){return b.between(this.$anchor,this.$head).getBookmark()}}],[{key:"findFrom",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],r=e.parent.inlineContent?new b(e):E(e.node(0),e.parent,e.pos,e.index(),t,n);if(r)return r;for(var o=e.depth-1;o>=0;o--){var i=t<0?E(e.node(0),e.node(o),e.before(o+1),e.index(o),t,n):E(e.node(0),e.node(o),e.after(o+1),e.index(o)+1,t,n);if(i)return i}return null}},{key:"near",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1;return this.findFrom(e,t)||this.findFrom(e,-t)||new S(e.node(0))}},{key:"atStart",value:function(e){return E(e,e,0,0,1)||new S(e)}},{key:"atEnd",value:function(e){return E(e,e,e.content.size,e.childCount,-1)||new S(e)}},{key:"fromJSON",value:function(e,t){if(!t||!t.type)throw new RangeError("Invalid input for Selection.fromJSON");var n=h[t.type];if(!n)throw new RangeError("No selection type ".concat(t.type," defined"));return n.fromJSON(e,t)}},{key:"jsonID",value:function(e,t){if(e in h)throw new RangeError("Duplicate use of selection JSON ID "+e);return h[e]=t,t.prototype.jsonID=e,t}}]),e}();m.prototype.visible=!0;var v=d((function e(t,n){c(this,e),this.$from=t,this.$to=n})),g=!1;function y(e){g||e.parent.inlineContent||(g=!0,console.warn("TextSelection endpoint not pointing into a node with inline content ("+e.parent.type.name+")"))}var b=function(e){i(n,e);var t=s(n);function n(e){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:e;return c(this,n),y(e),y(r),t.call(this,e,r)}return d(n,[{key:"$cursor",get:function(){return this.$anchor.pos==this.$head.pos?this.$head:null}},{key:"map",value:function(e,t){var r=e.resolve(t.map(this.head));if(!r.parent.inlineContent)return m.near(r);var o=e.resolve(t.map(this.anchor));return new n(o.parent.inlineContent?o:r,r)}},{key:"replace",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:p.Slice.empty;if(o(l(n.prototype),"replace",this).call(this,e,t),t==p.Slice.empty){var r=this.$from.marksAcross(this.$to);r&&e.ensureMarks(r)}}},{key:"eq",value:function(e){return e instanceof n&&e.anchor==this.anchor&&e.head==this.head}},{key:"getBookmark",value:function(){return new w(this.anchor,this.head)}},{key:"toJSON",value:function(){return{type:"text",anchor:this.anchor,head:this.head}}}],[{key:"fromJSON",value:function(e,t){if("number"!=typeof t.anchor||"number"!=typeof t.head)throw new RangeError("Invalid input for TextSelection.fromJSON");return new n(e.resolve(t.anchor),e.resolve(t.head))}},{key:"create",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:t,r=e.resolve(t);return new this(r,n==t?r:e.resolve(n))}},{key:"between",value:function(e,t,r){var o=e.pos-t.pos;if(r&&!o||(r=o>=0?1:-1),!t.parent.inlineContent){var i=m.findFrom(t,r,!0)||m.findFrom(t,-r,!0);if(!i)return m.near(t,r);t=i.$head}return e.parent.inlineContent||(0==o||(e=(m.findFrom(e,-r,!0)||m.findFrom(e,r,!0)).$anchor).pos<t.pos!=o<0)&&(e=t),new n(e,t)}}]),n}(m);m.jsonID("text",b);var w=function(){function e(t,n){c(this,e),this.anchor=t,this.head=n}return d(e,[{key:"map",value:function(t){return new e(t.map(this.anchor),t.map(this.head))}},{key:"resolve",value:function(e){return b.between(e.resolve(this.anchor),e.resolve(this.head))}}]),e}(),x=function(e){i(n,e);var t=s(n);function n(e){var r;c(this,n);var o=e.nodeAfter,i=e.node(0).resolve(e.pos+o.nodeSize);return(r=t.call(this,e,i)).node=o,r}return d(n,[{key:"map",value:function(e,t){var r=t.mapResult(this.anchor),o=r.deleted,i=r.pos,a=e.resolve(i);return o?m.near(a):new n(a)}},{key:"content",value:function(){return new p.Slice(p.Fragment.from(this.node),0,0)}},{key:"eq",value:function(e){return e instanceof n&&e.anchor==this.anchor}},{key:"toJSON",value:function(){return{type:"node",anchor:this.anchor}}},{key:"getBookmark",value:function(){return new k(this.anchor)}}],[{key:"fromJSON",value:function(e,t){if("number"!=typeof t.anchor)throw new RangeError("Invalid input for NodeSelection.fromJSON");return new n(e.resolve(t.anchor))}},{key:"create",value:function(e,t){return new n(e.resolve(t))}},{key:"isSelectable",value:function(e){return!e.isText&&!1!==e.type.spec.selectable}}]),n}(m);x.prototype.visible=!1,m.jsonID("node",x);var k=function(){function e(t){c(this,e),this.anchor=t}return d(e,[{key:"map",value:function(t){var n=t.mapResult(this.anchor),r=n.deleted,o=n.pos;return r?new w(o,o):new e(o)}},{key:"resolve",value:function(e){var t=e.resolve(this.anchor),n=t.nodeAfter;return n&&x.isSelectable(n)?new x(t):m.near(t)}}]),e}(),S=function(e){i(n,e);var t=s(n);function n(e){return c(this,n),t.call(this,e.resolve(0),e.resolve(e.content.size))}return d(n,[{key:"replace",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:p.Slice.empty;if(t==p.Slice.empty){e.delete(0,e.doc.content.size);var r=m.atStart(e.doc);r.eq(e.selection)||e.setSelection(r)}else o(l(n.prototype),"replace",this).call(this,e,t)}},{key:"toJSON",value:function(){return{type:"all"}}},{key:"map",value:function(e){return new n(e)}},{key:"eq",value:function(e){return e instanceof n}},{key:"getBookmark",value:function(){return C}}],[{key:"fromJSON",value:function(e){return new n(e)}}]),n}(m);m.jsonID("all",S);var C={map:function(){return this},resolve:function(e){return new S(e)}};function E(e,t,n,r,o){var i=arguments.length>5&&void 0!==arguments[5]&&arguments[5];if(t.inlineContent)return b.create(e,n);for(var a=r-(o>0?0:1);o>0?a<t.childCount:a>=0;a+=o){var s=t.child(a);if(s.isAtom){if(!i&&x.isSelectable(s))return x.create(e,n-(o<0?s.nodeSize:0))}else{var l=E(e,s,n+o,o<0?s.childCount:0,o,i);if(l)return l}n+=s.nodeSize*o}return null}function T(e,t,n){var r=e.steps.length-1;if(!(r<t)){var o,i=e.steps[r];if(i instanceof f.ReplaceStep||i instanceof f.ReplaceAroundStep)e.mapping.maps[r].forEach((function(e,t,n,r){null==o&&(o=r)})),e.setSelection(m.near(e.doc.resolve(o),n))}}var O=function(e){i(n,e);var t=s(n);function n(e){var r;return c(this,n),(r=t.call(this,e.doc)).curSelectionFor=0,r.updated=0,r.meta=Object.create(null),r.time=Date.now(),r.curSelection=e.selection,r.storedMarks=e.storedMarks,r}return d(n,[{key:"selection",get:function(){return this.curSelectionFor<this.steps.length&&(this.curSelection=this.curSelection.map(this.doc,this.mapping.slice(this.curSelectionFor)),this.curSelectionFor=this.steps.length),this.curSelection}},{key:"setSelection",value:function(e){if(e.$from.doc!=this.doc)throw new RangeError("Selection passed to setSelection must point at the current document");return this.curSelection=e,this.curSelectionFor=this.steps.length,this.updated=-3&(1|this.updated),this.storedMarks=null,this}},{key:"selectionSet",get:function(){return(1&this.updated)>0}},{key:"setStoredMarks",value:function(e){return this.storedMarks=e,this.updated|=2,this}},{key:"ensureMarks",value:function(e){return p.Mark.sameSet(this.storedMarks||this.selection.$from.marks(),e)||this.setStoredMarks(e),this}},{key:"addStoredMark",value:function(e){return this.ensureMarks(e.addToSet(this.storedMarks||this.selection.$head.marks()))}},{key:"removeStoredMark",value:function(e){return this.ensureMarks(e.removeFromSet(this.storedMarks||this.selection.$head.marks()))}},{key:"storedMarksSet",get:function(){return(2&this.updated)>0}},{key:"addStep",value:function(e,t){o(l(n.prototype),"addStep",this).call(this,e,t),this.updated=-3&this.updated,this.storedMarks=null}},{key:"setTime",value:function(e){return this.time=e,this}},{key:"replaceSelection",value:function(e){return this.selection.replace(this,e),this}},{key:"replaceSelectionWith",value:function(e){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],n=this.selection;return t&&(e=e.mark(this.storedMarks||(n.empty?n.$from.marks():n.$from.marksAcross(n.$to)||p.Mark.none))),n.replaceWith(this,e),this}},{key:"deleteSelection",value:function(){return this.selection.replace(this),this}},{key:"insertText",value:function(e,t,n){var r=this.doc.type.schema;if(null==t)return e?this.replaceSelectionWith(r.text(e),!0):this.deleteSelection();if(null==n&&(n=t),n=null==n?t:n,!e)return this.deleteRange(t,n);var o=this.storedMarks;if(!o){var i=this.doc.resolve(t);o=n==t?i.marks():i.marksAcross(this.doc.resolve(n))}return this.replaceRangeWith(t,n,r.text(e,o)),this.selection.empty||this.setSelection(m.near(this.selection.$to)),this}},{key:"setMeta",value:function(e,t){return this.meta["string"==typeof e?e:e.key]=t,this}},{key:"getMeta",value:function(e){return this.meta["string"==typeof e?e:e.key]}},{key:"isGeneric",get:function(){for(var e in this.meta)return!1;return!0}},{key:"scrollIntoView",value:function(){return this.updated|=4,this}},{key:"scrolledIntoView",get:function(){return(4&this.updated)>0}}]),n}(f.Transform);function $(e,t){return t&&e?e.bind(t):e}var M=d((function e(t,n,r){c(this,e),this.name=t,this.init=$(n.init,r),this.apply=$(n.apply,r)})),A=[new M("doc",{init:function(e){return e.doc||e.schema.topNodeType.createAndFill()},apply:function(e){return e.doc}}),new M("selection",{init:function(e,t){return e.selection||m.atStart(t.doc)},apply:function(e){return e.selection}}),new M("storedMarks",{init:function(e){return e.storedMarks||null},apply:function(e,t,n,r){return r.selection.$cursor?e.storedMarks:null}}),new M("scrollToSelection",{init:function(){return 0},apply:function(e,t){return e.scrolledIntoView?t+1:t}})],D=d((function e(t,n){var r=this;c(this,e),this.schema=t,this.plugins=[],this.pluginsByKey=Object.create(null),this.fields=A.slice(),n&&n.forEach((function(e){if(r.pluginsByKey[e.key])throw new RangeError("Adding different instances of a keyed plugin ("+e.key+")");r.plugins.push(e),r.pluginsByKey[e.key]=e,e.spec.state&&r.fields.push(new M(e.key,e.spec.state,e))}))})),L=function(){function e(t){c(this,e),this.config=t}return d(e,[{key:"schema",get:function(){return this.config.schema}},{key:"plugins",get:function(){return this.config.plugins}},{key:"apply",value:function(e){return this.applyTransaction(e).state}},{key:"filterTransaction",value:function(e){for(var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:-1,n=0;n<this.config.plugins.length;n++)if(n!=t){var r=this.config.plugins[n];if(r.spec.filterTransaction&&!r.spec.filterTransaction.call(r,e,this))return!1}return!0}},{key:"applyTransaction",value:function(e){if(!this.filterTransaction(e))return{state:this,transactions:[]};for(var t=[e],n=this.applyInner(e),r=null;;){for(var o=!1,i=0;i<this.config.plugins.length;i++){var a=this.config.plugins[i];if(a.spec.appendTransaction){var s=r?r[i].n:0,l=r?r[i].state:this,c=s<t.length&&a.spec.appendTransaction.call(a,s?t.slice(s):t,l,n);if(c&&n.filterTransaction(c,i)){if(c.setMeta("appendedTransaction",e),!r){r=[];for(var u=0;u<this.config.plugins.length;u++)r.push(u<i?{state:n,n:t.length}:{state:this,n:0})}t.push(c),n=n.applyInner(c),o=!0}r&&(r[i]={state:n,n:t.length})}}if(!o)return{state:n,transactions:t}}}},{key:"applyInner",value:function(t){if(!t.before.eq(this.doc))throw new RangeError("Applying a mismatched transaction");for(var n=new e(this.config),r=this.config.fields,o=0;o<r.length;o++){var i=r[o];n[i.name]=i.apply(t,this[i.name],this,n)}return n}},{key:"tr",get:function(){return new O(this)}},{key:"reconfigure",value:function(t){for(var n=new D(this.schema,t.plugins),r=n.fields,o=new e(n),i=0;i<r.length;i++){var a=r[i].name;o[a]=this.hasOwnProperty(a)?this[a]:r[i].init(t,o)}return o}},{key:"toJSON",value:function(e){var t={doc:this.doc.toJSON(),selection:this.selection.toJSON()};if(this.storedMarks&&(t.storedMarks=this.storedMarks.map((function(e){return e.toJSON()}))),e&&"object"==r(e))for(var n in e){if("doc"==n||"selection"==n)throw new RangeError("The JSON fields `doc` and `selection` are reserved");var o=e[n],i=o.spec.state;i&&i.toJSON&&(t[n]=i.toJSON.call(o,this[o.key]))}return t}}],[{key:"create",value:function(t){for(var n=new D(t.doc?t.doc.type.schema:t.schema,t.plugins),r=new e(n),o=0;o<n.fields.length;o++)r[n.fields[o].name]=n.fields[o].init(t,r);return r}},{key:"fromJSON",value:function(t,n,r){if(!n)throw new RangeError("Invalid input for EditorState.fromJSON");if(!t.schema)throw new RangeError("Required config field 'schema' missing");var o=new D(t.schema,t.plugins),i=new e(o);return o.fields.forEach((function(e){if("doc"==e.name)i.doc=p.Node.fromJSON(t.schema,n.doc);else if("selection"==e.name)i.selection=m.fromJSON(i.doc,n.selection);else if("storedMarks"==e.name)n.storedMarks&&(i.storedMarks=n.storedMarks.map(t.schema.markFromJSON));else{if(r)for(var o in r){var a=r[o],s=a.spec.state;if(a.key==e.name&&s&&s.fromJSON&&Object.prototype.hasOwnProperty.call(n,o))return void(i[e.name]=s.fromJSON.call(a,t,n[o],i))}i[e.name]=e.init(t,i)}})),i}}]),e}();function N(e,t,n){for(var r in e){var o=e[r];o instanceof Function?o=o.bind(t):"handleDOMEvents"==r&&(o=N(o,t,{})),n[r]=o}return n}var R=function(){function e(t){c(this,e),this.spec=t,this.props={},t.props&&N(t.props,this,this.props),this.key=t.key?t.key.key:P("plugin")}return d(e,[{key:"getState",value:function(e){return e[this.key]}}]),e}(),I=Object.create(null);function P(e){return e in I?e+"$"+ ++I[e]:(I[e]=0,e+"$")}var Z=function(){function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"key";c(this,e),this.key=P(t)}return d(e,[{key:"get",value:function(e){return e.config.pluginsByKey[this.key]}},{key:"getState",value:function(e){return e[this.key]}}]),e}();t.AllSelection=S,t.EditorState=L,t.NodeSelection=x,t.Plugin=R,t.PluginKey=Z,t.Selection=m,t.SelectionRange=v,t.TextSelection=b,t.Transaction=O},92843:(e,t,n)=>{"use strict";function r(e){return r="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},r(e)}function o(e){var t="function"==typeof Map?new Map:void 0;return o=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 i(e,arguments,u(this).constructor)}return r.prototype=Object.create(e.prototype,{constructor:{value:r,enumerable:!1,writable:!0,configurable:!0}}),s(r,e)},o(e)}function i(e,t,n){return i=c()?Reflect.construct:function(e,t,n){var r=[null];r.push.apply(r,t);var o=new(Function.bind.apply(e,r));return n&&s(o,n.prototype),o},i.apply(null,arguments)}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}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&s(e,t)}function s(e,t){return s=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},s(e,t)}function l(e){var t=c();return function(){var n,o=u(e);if(t){var i=u(this).constructor;n=Reflect.construct(o,arguments,i)}else n=o.apply(this,arguments);return function(e,t){if(t&&("object"===r(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)}(this,n)}}function c(){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 u(e){return u=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},u(e)}function d(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function p(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 f(e,t,n){return t&&p(e.prototype,t),n&&p(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e}var h=n(19443),m=Math.pow(2,16);function v(e){return 65535&e}var g=function(){function e(t,n,r){d(this,e),this.pos=t,this.delInfo=n,this.recover=r}return f(e,[{key:"deleted",get:function(){return(8&this.delInfo)>0}},{key:"deletedBefore",get:function(){return(5&this.delInfo)>0}},{key:"deletedAfter",get:function(){return(6&this.delInfo)>0}},{key:"deletedAcross",get:function(){return(4&this.delInfo)>0}}]),e}(),y=function(){function e(t){var n=arguments.length>1&&void 0!==arguments[1]&&arguments[1];if(d(this,e),this.ranges=t,this.inverted=n,!t.length&&e.empty)return e.empty}return f(e,[{key:"recover",value:function(e){var t=0,n=v(e);if(!this.inverted)for(var r=0;r<n;r++)t+=this.ranges[3*r+2]-this.ranges[3*r+1];return this.ranges[3*n]+t+function(e){return(e-(65535&e))/m}(e)}},{key:"mapResult",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1;return this._map(e,t,!1)}},{key:"map",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1;return this._map(e,t,!0)}},{key:"_map",value:function(e,t,n){for(var r=0,o=this.inverted?2:1,i=this.inverted?1:2,a=0;a<this.ranges.length;a+=3){var s=this.ranges[a]-(this.inverted?r:0);if(s>e)break;var l=this.ranges[a+o],c=this.ranges[a+i],u=s+l;if(e<=u){var d=s+r+((l?e==s?-1:e==u?1:t:t)<0?0:c);if(n)return d;var p=e==(t<0?s:u)?null:a/3+(e-s)*m,f=e==s?2:e==u?1:4;return(t<0?e!=s:e!=u)&&(f|=8),new g(d,f,p)}r+=c-l}return n?e+r:new g(e+r,0,null)}},{key:"touches",value:function(e,t){for(var n=0,r=v(t),o=this.inverted?2:1,i=this.inverted?1:2,a=0;a<this.ranges.length;a+=3){var s=this.ranges[a]-(this.inverted?n:0);if(s>e)break;var l=this.ranges[a+o];if(e<=s+l&&a==3*r)return!0;n+=this.ranges[a+i]-l}return!1}},{key:"forEach",value:function(e){for(var t=this.inverted?2:1,n=this.inverted?1:2,r=0,o=0;r<this.ranges.length;r+=3){var i=this.ranges[r],a=i-(this.inverted?o:0),s=i+(this.inverted?0:o),l=this.ranges[r+t],c=this.ranges[r+n];e(a,a+l,s,s+c),o+=c-l}}},{key:"invert",value:function(){return new e(this.ranges,!this.inverted)}},{key:"toString",value:function(){return(this.inverted?"-":"")+JSON.stringify(this.ranges)}}],[{key:"offset",value:function(t){return 0==t?e.empty:new e(t<0?[0,-t,0]:[0,0,t])}}]),e}();y.empty=new y([]);var b=function(){function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],n=arguments.length>1?arguments[1]:void 0,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0,o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:t.length;d(this,e),this.maps=t,this.mirror=n,this.from=r,this.to=o}return f(e,[{key:"slice",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.maps.length;return new e(this.maps,this.mirror,t,n)}},{key:"copy",value:function(){return new e(this.maps.slice(),this.mirror&&this.mirror.slice(),this.from,this.to)}},{key:"appendMap",value:function(e,t){this.to=this.maps.push(e),null!=t&&this.setMirror(this.maps.length-1,t)}},{key:"appendMapping",value:function(e){for(var t=0,n=this.maps.length;t<e.maps.length;t++){var r=e.getMirror(t);this.appendMap(e.maps[t],null!=r&&r<t?n+r:void 0)}}},{key:"getMirror",value:function(e){if(this.mirror)for(var t=0;t<this.mirror.length;t++)if(this.mirror[t]==e)return this.mirror[t+(t%2?-1:1)]}},{key:"setMirror",value:function(e,t){this.mirror||(this.mirror=[]),this.mirror.push(e,t)}},{key:"appendMappingInverted",value:function(e){for(var t=e.maps.length-1,n=this.maps.length+e.maps.length;t>=0;t--){var r=e.getMirror(t);this.appendMap(e.maps[t].invert(),null!=r&&r>t?n-r-1:void 0)}}},{key:"invert",value:function(){var t=new e;return t.appendMappingInverted(this),t}},{key:"map",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1;if(this.mirror)return this._map(e,t,!0);for(var n=this.from;n<this.to;n++)e=this.maps[n].map(e,t);return e}},{key:"mapResult",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1;return this._map(e,t,!1)}},{key:"_map",value:function(e,t,n){for(var r=0,o=this.from;o<this.to;o++){var i=this.maps[o].mapResult(e,t);if(null!=i.recover){var a=this.getMirror(o);if(null!=a&&a>o&&a<this.to){o=a,e=this.maps[a].recover(i.recover);continue}}r|=i.delInfo,e=i.pos}return n?e:new g(e,r,null)}}]),e}(),w=Object.create(null),x=function(){function e(){d(this,e)}return f(e,[{key:"getMap",value:function(){return y.empty}},{key:"merge",value:function(e){return null}}],[{key:"fromJSON",value:function(e,t){if(!t||!t.stepType)throw new RangeError("Invalid input for Step.fromJSON");var n=w[t.stepType];if(!n)throw new RangeError("No step type ".concat(t.stepType," defined"));return n.fromJSON(e,t)}},{key:"jsonID",value:function(e,t){if(e in w)throw new RangeError("Duplicate use of step JSON ID "+e);return w[e]=t,t.prototype.jsonID=e,t}}]),e}(),k=function(){function e(t,n){d(this,e),this.doc=t,this.failed=n}return f(e,null,[{key:"ok",value:function(t){return new e(t,null)}},{key:"fail",value:function(t){return new e(null,t)}},{key:"fromReplace",value:function(t,n,r,o){try{return e.ok(t.replace(n,r,o))}catch(i){if(i instanceof h.ReplaceError)return e.fail(i.message);throw i}}}]),e}();function S(e,t,n){for(var r=[],o=0;o<e.childCount;o++){var i=e.child(o);i.content.size&&(i=i.copy(S(i.content,t,i))),i.isInline&&(i=t(i,n,o)),r.push(i)}return h.Fragment.fromArray(r)}var C=function(e){a(n,e);var t=l(n);function n(e,r,o){var i;return d(this,n),(i=t.call(this)).from=e,i.to=r,i.mark=o,i}return f(n,[{key:"apply",value:function(e){var t=this,n=e.slice(this.from,this.to),r=e.resolve(this.from),o=r.node(r.sharedDepth(this.to)),i=new h.Slice(S(n.content,(function(e,n){return e.isAtom&&n.type.allowsMarkType(t.mark.type)?e.mark(t.mark.addToSet(e.marks)):e}),o),n.openStart,n.openEnd);return k.fromReplace(e,this.from,this.to,i)}},{key:"invert",value:function(){return new E(this.from,this.to,this.mark)}},{key:"map",value:function(e){var t=e.mapResult(this.from,1),r=e.mapResult(this.to,-1);return t.deleted&&r.deleted||t.pos>=r.pos?null:new n(t.pos,r.pos,this.mark)}},{key:"merge",value:function(e){return e instanceof n&&e.mark.eq(this.mark)&&this.from<=e.to&&this.to>=e.from?new n(Math.min(this.from,e.from),Math.max(this.to,e.to),this.mark):null}},{key:"toJSON",value:function(){return{stepType:"addMark",mark:this.mark.toJSON(),from:this.from,to:this.to}}}],[{key:"fromJSON",value:function(e,t){if("number"!=typeof t.from||"number"!=typeof t.to)throw new RangeError("Invalid input for AddMarkStep.fromJSON");return new n(t.from,t.to,e.markFromJSON(t.mark))}}]),n}(x);x.jsonID("addMark",C);var E=function(e){a(n,e);var t=l(n);function n(e,r,o){var i;return d(this,n),(i=t.call(this)).from=e,i.to=r,i.mark=o,i}return f(n,[{key:"apply",value:function(e){var t=this,n=e.slice(this.from,this.to),r=new h.Slice(S(n.content,(function(e){return e.mark(t.mark.removeFromSet(e.marks))}),e),n.openStart,n.openEnd);return k.fromReplace(e,this.from,this.to,r)}},{key:"invert",value:function(){return new C(this.from,this.to,this.mark)}},{key:"map",value:function(e){var t=e.mapResult(this.from,1),r=e.mapResult(this.to,-1);return t.deleted&&r.deleted||t.pos>=r.pos?null:new n(t.pos,r.pos,this.mark)}},{key:"merge",value:function(e){return e instanceof n&&e.mark.eq(this.mark)&&this.from<=e.to&&this.to>=e.from?new n(Math.min(this.from,e.from),Math.max(this.to,e.to),this.mark):null}},{key:"toJSON",value:function(){return{stepType:"removeMark",mark:this.mark.toJSON(),from:this.from,to:this.to}}}],[{key:"fromJSON",value:function(e,t){if("number"!=typeof t.from||"number"!=typeof t.to)throw new RangeError("Invalid input for RemoveMarkStep.fromJSON");return new n(t.from,t.to,e.markFromJSON(t.mark))}}]),n}(x);x.jsonID("removeMark",E);var T=function(e){a(n,e);var t=l(n);function n(e,r){var o;return d(this,n),(o=t.call(this)).pos=e,o.mark=r,o}return f(n,[{key:"apply",value:function(e){var t=e.nodeAt(this.pos);if(!t)return k.fail("No node at mark step's position");var n=t.type.create(t.attrs,null,this.mark.addToSet(t.marks));return k.fromReplace(e,this.pos,this.pos+1,new h.Slice(h.Fragment.from(n),0,t.isLeaf?0:1))}},{key:"invert",value:function(e){var t=e.nodeAt(this.pos);if(t){var r=this.mark.addToSet(t.marks);if(r.length==t.marks.length){for(var o=0;o<t.marks.length;o++)if(!t.marks[o].isInSet(r))return new n(this.pos,t.marks[o]);return new n(this.pos,this.mark)}}return new O(this.pos,this.mark)}},{key:"map",value:function(e){var t=e.mapResult(this.pos,1);return t.deletedAfter?null:new n(t.pos,this.mark)}},{key:"toJSON",value:function(){return{stepType:"addNodeMark",pos:this.pos,mark:this.mark.toJSON()}}}],[{key:"fromJSON",value:function(e,t){if("number"!=typeof t.pos)throw new RangeError("Invalid input for AddNodeMarkStep.fromJSON");return new n(t.pos,e.markFromJSON(t.mark))}}]),n}(x);x.jsonID("addNodeMark",T);var O=function(e){a(n,e);var t=l(n);function n(e,r){var o;return d(this,n),(o=t.call(this)).pos=e,o.mark=r,o}return f(n,[{key:"apply",value:function(e){var t=e.nodeAt(this.pos);if(!t)return k.fail("No node at mark step's position");var n=t.type.create(t.attrs,null,this.mark.removeFromSet(t.marks));return k.fromReplace(e,this.pos,this.pos+1,new h.Slice(h.Fragment.from(n),0,t.isLeaf?0:1))}},{key:"invert",value:function(e){var t=e.nodeAt(this.pos);return t&&this.mark.isInSet(t.marks)?new T(this.pos,this.mark):this}},{key:"map",value:function(e){var t=e.mapResult(this.pos,1);return t.deletedAfter?null:new n(t.pos,this.mark)}},{key:"toJSON",value:function(){return{stepType:"removeNodeMark",pos:this.pos,mark:this.mark.toJSON()}}}],[{key:"fromJSON",value:function(e,t){if("number"!=typeof t.pos)throw new RangeError("Invalid input for RemoveNodeMarkStep.fromJSON");return new n(t.pos,e.markFromJSON(t.mark))}}]),n}(x);x.jsonID("removeNodeMark",O);var $=function(e){a(n,e);var t=l(n);function n(e,r,o){var i,a=arguments.length>3&&void 0!==arguments[3]&&arguments[3];return d(this,n),(i=t.call(this)).from=e,i.to=r,i.slice=o,i.structure=a,i}return f(n,[{key:"apply",value:function(e){return this.structure&&A(e,this.from,this.to)?k.fail("Structure replace would overwrite content"):k.fromReplace(e,this.from,this.to,this.slice)}},{key:"getMap",value:function(){return new y([this.from,this.to-this.from,this.slice.size])}},{key:"invert",value:function(e){return new n(this.from,this.from+this.slice.size,e.slice(this.from,this.to))}},{key:"map",value:function(e){var t=e.mapResult(this.from,1),r=e.mapResult(this.to,-1);return t.deletedAcross&&r.deletedAcross?null:new n(t.pos,Math.max(t.pos,r.pos),this.slice)}},{key:"merge",value:function(e){if(!(e instanceof n)||e.structure||this.structure)return null;if(this.from+this.slice.size!=e.from||this.slice.openEnd||e.slice.openStart){if(e.to!=this.from||this.slice.openStart||e.slice.openEnd)return null;var t=this.slice.size+e.slice.size==0?h.Slice.empty:new h.Slice(e.slice.content.append(this.slice.content),e.slice.openStart,this.slice.openEnd);return new n(e.from,this.to,t,this.structure)}var r=this.slice.size+e.slice.size==0?h.Slice.empty:new h.Slice(this.slice.content.append(e.slice.content),this.slice.openStart,e.slice.openEnd);return new n(this.from,this.to+(e.to-e.from),r,this.structure)}},{key:"toJSON",value:function(){var e={stepType:"replace",from:this.from,to:this.to};return this.slice.size&&(e.slice=this.slice.toJSON()),this.structure&&(e.structure=!0),e}}],[{key:"fromJSON",value:function(e,t){if("number"!=typeof t.from||"number"!=typeof t.to)throw new RangeError("Invalid input for ReplaceStep.fromJSON");return new n(t.from,t.to,h.Slice.fromJSON(e,t.slice),!!t.structure)}}]),n}(x);x.jsonID("replace",$);var M=function(e){a(n,e);var t=l(n);function n(e,r,o,i,a,s){var l,c=arguments.length>6&&void 0!==arguments[6]&&arguments[6];return d(this,n),(l=t.call(this)).from=e,l.to=r,l.gapFrom=o,l.gapTo=i,l.slice=a,l.insert=s,l.structure=c,l}return f(n,[{key:"apply",value:function(e){if(this.structure&&(A(e,this.from,this.gapFrom)||A(e,this.gapTo,this.to)))return k.fail("Structure gap-replace would overwrite content");var t=e.slice(this.gapFrom,this.gapTo);if(t.openStart||t.openEnd)return k.fail("Gap is not a flat range");var n=this.slice.insertAt(this.insert,t.content);return n?k.fromReplace(e,this.from,this.to,n):k.fail("Content does not fit in gap")}},{key:"getMap",value:function(){return new y([this.from,this.gapFrom-this.from,this.insert,this.gapTo,this.to-this.gapTo,this.slice.size-this.insert])}},{key:"invert",value:function(e){var t=this.gapTo-this.gapFrom;return new n(this.from,this.from+this.slice.size+t,this.from+this.insert,this.from+this.insert+t,e.slice(this.from,this.to).removeBetween(this.gapFrom-this.from,this.gapTo-this.from),this.gapFrom-this.from,this.structure)}},{key:"map",value:function(e){var t=e.mapResult(this.from,1),r=e.mapResult(this.to,-1),o=e.map(this.gapFrom,-1),i=e.map(this.gapTo,1);return t.deletedAcross&&r.deletedAcross||o<t.pos||i>r.pos?null:new n(t.pos,r.pos,o,i,this.slice,this.insert,this.structure)}},{key:"toJSON",value:function(){var e={stepType:"replaceAround",from:this.from,to:this.to,gapFrom:this.gapFrom,gapTo:this.gapTo,insert:this.insert};return this.slice.size&&(e.slice=this.slice.toJSON()),this.structure&&(e.structure=!0),e}}],[{key:"fromJSON",value:function(e,t){if("number"!=typeof t.from||"number"!=typeof t.to||"number"!=typeof t.gapFrom||"number"!=typeof t.gapTo||"number"!=typeof t.insert)throw new RangeError("Invalid input for ReplaceAroundStep.fromJSON");return new n(t.from,t.to,t.gapFrom,t.gapTo,h.Slice.fromJSON(e,t.slice),t.insert,!!t.structure)}}]),n}(x);function A(e,t,n){for(var r=e.resolve(t),o=n-t,i=r.depth;o>0&&i>0&&r.indexAfter(i)==r.node(i).childCount;)i--,o--;if(o>0)for(var a=r.node(i).maybeChild(r.indexAfter(i));o>0;){if(!a||a.isLeaf)return!0;a=a.firstChild,o--}return!1}function D(e,t,n){return(0==t||e.canReplace(t,e.childCount))&&(n==e.childCount||e.canReplace(0,n))}function L(e){return{type:e,attrs:null}}function N(e,t){return!(!e||!t||e.isLeaf||!e.canAppend(t))}function R(e,t,n){var r=e.resolve(t);if(r.parent.canReplaceWith(r.index(),r.index(),n))return t;if(0==r.parentOffset)for(var o=r.depth-1;o>=0;o--){var i=r.index(o);if(r.node(o).canReplaceWith(i,i,n))return r.before(o+1);if(i>0)return null}if(r.parentOffset==r.parent.content.size)for(var a=r.depth-1;a>=0;a--){var s=r.indexAfter(a);if(r.node(a).canReplaceWith(s,s,n))return r.after(a+1);if(s<r.node(a).childCount)return null}return null}function I(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:t,r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:h.Slice.empty;if(t==n&&!r.size)return null;var o=e.resolve(t),i=e.resolve(n);return P(o,i,r)?new $(t,n,r):new Z(o,i,r).fit()}function P(e,t,n){return!n.openStart&&!n.openEnd&&e.start()==t.start()&&e.parent.canReplace(e.index(),t.index(),n.content)}x.jsonID("replaceAround",M);var Z=function(){function e(t,n,r){d(this,e),this.$from=t,this.$to=n,this.unplaced=r,this.frontier=[],this.placed=h.Fragment.empty;for(var o=0;o<=t.depth;o++){var i=t.node(o);this.frontier.push({type:i.type,match:i.contentMatchAt(t.indexAfter(o))})}for(var a=t.depth;a>0;a--)this.placed=h.Fragment.from(t.node(a).copy(this.placed))}return f(e,[{key:"depth",get:function(){return this.frontier.length-1}},{key:"fit",value:function(){for(;this.unplaced.size;){var e=this.findFittable();e?this.placeNodes(e):this.openMore()||this.dropNode()}var t=this.mustMoveInline(),n=this.placed.size-this.depth-this.$from.depth,r=this.$from,o=this.close(t<0?this.$to:r.doc.resolve(t));if(!o)return null;for(var i=this.placed,a=r.depth,s=o.depth;a&&s&&1==i.childCount;)i=i.firstChild.content,a--,s--;var l=new h.Slice(i,a,s);return t>-1?new M(r.pos,t,this.$to.pos,this.$to.end(),l,n):l.size||r.pos!=this.$to.pos?new $(r.pos,o.pos,l):null}},{key:"findFittable",value:function(){for(var e=this.unplaced.openStart,t=this.unplaced.content,n=0,r=this.unplaced.openEnd;n<e;n++){var o=t.firstChild;if(t.childCount>1&&(r=0),o.type.spec.isolating&&r<=n){e=n;break}t=o.content}for(var i=1;i<=2;i++)for(var a=1==i?e:this.unplaced.openStart;a>=0;a--)for(var s=null,l=(a?(s=j(this.unplaced.content,a-1).firstChild).content:this.unplaced.content).firstChild,c=this.depth;c>=0;c--){var u=this.frontier[c],d=u.type,p=u.match,f=void 0,m=null;if(1==i&&(l?p.matchType(l.type)||(m=p.fillBefore(h.Fragment.from(l),!1)):s&&d.compatibleContent(s.type)))return{sliceDepth:a,frontierDepth:c,parent:s,inject:m};if(2==i&&l&&(f=p.findWrapping(l.type)))return{sliceDepth:a,frontierDepth:c,parent:s,wrap:f};if(s&&p.matchType(s.type))break}}},{key:"openMore",value:function(){var e=this.unplaced,t=e.content,n=e.openStart,r=e.openEnd,o=j(t,n);return!(!o.childCount||o.firstChild.isLeaf)&&(this.unplaced=new h.Slice(t,n+1,Math.max(r,o.size+n>=t.size-r?n+1:0)),!0)}},{key:"dropNode",value:function(){var e=this.unplaced,t=e.content,n=e.openStart,r=e.openEnd,o=j(t,n);if(o.childCount<=1&&n>0){var i=t.size-n<=n+o.size;this.unplaced=new h.Slice(_(t,n-1,1),n-1,i?n-1:r)}else this.unplaced=new h.Slice(_(t,n,1),n,r)}},{key:"placeNodes",value:function(e){for(var t=e.sliceDepth,n=e.frontierDepth,r=e.parent,o=e.inject,i=e.wrap;this.depth>n;)this.closeFrontierNode();if(i)for(var a=0;a<i.length;a++)this.openFrontierNode(i[a]);var s=this.unplaced,l=r?r.content:s.content,c=s.openStart-t,u=0,d=[],p=this.frontier[n],f=p.match,m=p.type;if(o){for(a=0;a<o.childCount;a++)d.push(o.child(a));f=f.matchFragment(o)}for(var v=l.size+t-(s.content.size-s.openEnd);u<l.childCount;){var g=l.child(u),y=f.matchType(g.type);if(!y)break;(++u>1||0==c||g.content.size)&&(f=y,d.push(B(g.mark(m.allowedMarks(g.marks)),1==u?c:0,u==l.childCount?v:-1)))}var b=u==l.childCount;b||(v=-1),this.placed=F(this.placed,n,h.Fragment.from(d)),this.frontier[n].match=f,b&&v<0&&r&&r.type==this.frontier[this.depth].type&&this.frontier.length>1&&this.closeFrontierNode();for(var w=0,x=l;w<v;w++){var k=x.lastChild;this.frontier.push({type:k.type,match:k.contentMatchAt(k.childCount)}),x=k.content}this.unplaced=b?0==t?h.Slice.empty:new h.Slice(_(s.content,t-1,1),t-1,v<0?s.openEnd:t-1):new h.Slice(_(s.content,t,u),s.openStart,s.openEnd)}},{key:"mustMoveInline",value:function(){if(!this.$to.parent.isTextblock)return-1;var e,t=this.frontier[this.depth];if(!t.type.isTextblock||!z(this.$to,this.$to.depth,t.type,t.match,!1)||this.$to.depth==this.depth&&(e=this.findCloseLevel(this.$to))&&e.depth==this.depth)return-1;for(var n=this.$to.depth,r=this.$to.after(n);n>1&&r==this.$to.end(--n);)++r;return r}},{key:"findCloseLevel",value:function(e){e:for(var t=Math.min(this.depth,e.depth);t>=0;t--){var n=this.frontier[t],r=n.match,o=n.type,i=t<e.depth&&e.end(t+1)==e.pos+(e.depth-(t+1)),a=z(e,t,o,r,i);if(a){for(var s=t-1;s>=0;s--){var l=this.frontier[s],c=l.match,u=z(e,s,l.type,c,!0);if(!u||u.childCount)continue e}return{depth:t,fit:a,move:i?e.doc.resolve(e.after(t+1)):e}}}}},{key:"close",value:function(e){var t=this.findCloseLevel(e);if(!t)return null;for(;this.depth>t.depth;)this.closeFrontierNode();t.fit.childCount&&(this.placed=F(this.placed,t.depth,t.fit)),e=t.move;for(var n=t.depth+1;n<=e.depth;n++){var r=e.node(n),o=r.type.contentMatch.fillBefore(r.content,!0,e.index(n));this.openFrontierNode(r.type,r.attrs,o)}return e}},{key:"openFrontierNode",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,n=arguments.length>2?arguments[2]:void 0,r=this.frontier[this.depth];r.match=r.match.matchType(e),this.placed=F(this.placed,this.depth,h.Fragment.from(e.create(t,n))),this.frontier.push({type:e,match:e.contentMatch})}},{key:"closeFrontierNode",value:function(){var e=this.frontier.pop().match.fillBefore(h.Fragment.empty,!0);e.childCount&&(this.placed=F(this.placed,this.frontier.length,e))}}]),e}();function _(e,t,n){return 0==t?e.cutByIndex(n,e.childCount):e.replaceChild(0,e.firstChild.copy(_(e.firstChild.content,t-1,n)))}function F(e,t,n){return 0==t?e.append(n):e.replaceChild(e.childCount-1,e.lastChild.copy(F(e.lastChild.content,t-1,n)))}function j(e,t){for(var n=0;n<t;n++)e=e.firstChild.content;return e}function B(e,t,n){if(t<=0)return e;var r=e.content;return t>1&&(r=r.replaceChild(0,B(r.firstChild,t-1,1==r.childCount?n-1:0))),t>0&&(r=e.type.contentMatch.fillBefore(r).append(r),n<=0&&(r=r.append(e.type.contentMatch.matchFragment(r).fillBefore(h.Fragment.empty,!0)))),e.copy(r)}function z(e,t,n,r,o){var i=e.node(t),a=o?e.indexAfter(t):e.index(t);if(a==i.childCount&&!n.compatibleContent(i.type))return null;var s=r.fillBefore(i.content,!0,a);return s&&!function(e,t,n){for(var r=n;r<t.childCount;r++)if(!e.allowsMarks(t.child(r).marks))return!0;return!1}(n,i.content,a)?s:null}function H(e,t,n,r,o){if(t<n){var i=e.firstChild;e=e.replaceChild(0,i.copy(H(i.content,t+1,n,r,i)))}if(t>r){var a=o.contentMatchAt(0),s=a.fillBefore(e).append(e);e=s.append(a.matchFragment(s).fillBefore(h.Fragment.empty,!0))}return e}function U(e,t){for(var n=[],r=Math.min(e.depth,t.depth);r>=0;r--){var o=e.start(r);if(o<e.pos-(e.depth-r)||t.end(r)>t.pos+(t.depth-r)||e.node(r).type.spec.isolating||t.node(r).type.spec.isolating)break;(o==t.start(r)||r==e.depth&&r==t.depth&&e.parent.inlineContent&&t.parent.inlineContent&&r&&t.start(r-1)==o-1)&&n.push(r)}return n}var W=function(e){a(n,e);var t=l(n);function n(e,r,o){var i;return d(this,n),(i=t.call(this)).pos=e,i.attr=r,i.value=o,i}return f(n,[{key:"apply",value:function(e){var t=e.nodeAt(this.pos);if(!t)return k.fail("No node at attribute step's position");var n=Object.create(null);for(var r in t.attrs)n[r]=t.attrs[r];n[this.attr]=this.value;var o=t.type.create(n,null,t.marks);return k.fromReplace(e,this.pos,this.pos+1,new h.Slice(h.Fragment.from(o),0,t.isLeaf?0:1))}},{key:"getMap",value:function(){return y.empty}},{key:"invert",value:function(e){return new n(this.pos,this.attr,e.nodeAt(this.pos).attrs[this.attr])}},{key:"map",value:function(e){var t=e.mapResult(this.pos,1);return t.deletedAfter?null:new n(t.pos,this.attr,this.value)}},{key:"toJSON",value:function(){return{stepType:"attr",pos:this.pos,attr:this.attr,value:this.value}}}],[{key:"fromJSON",value:function(e,t){if("number"!=typeof t.pos||"string"!=typeof t.attr)throw new RangeError("Invalid input for AttrStep.fromJSON");return new n(t.pos,t.attr,t.value)}}]),n}(x);x.jsonID("attr",W);var V=function(e){a(n,e);var t=l(n);function n(e,r){var o;return d(this,n),(o=t.call(this)).attr=e,o.value=r,o}return f(n,[{key:"apply",value:function(e){var t=Object.create(null);for(var n in e.attrs)t[n]=e.attrs[n];t[this.attr]=this.value;var r=e.type.create(t,e.content,e.marks);return k.ok(r)}},{key:"getMap",value:function(){return y.empty}},{key:"invert",value:function(e){return new n(this.attr,e.attrs[this.attr])}},{key:"map",value:function(e){return this}},{key:"toJSON",value:function(){return{stepType:"docAttr",attr:this.attr,value:this.value}}}],[{key:"fromJSON",value:function(e,t){if("string"!=typeof t.attr)throw new RangeError("Invalid input for DocAttrStep.fromJSON");return new n(t.attr,t.value)}}]),n}(x);x.jsonID("docAttr",V),t.TransformError=function(e){a(n,e);var t=l(n);function n(){return d(this,n),t.apply(this,arguments)}return f(n)}(o(Error)),t.TransformError=function e(t){var n=Error.call(this,t);return n.__proto__=e.prototype,n},t.TransformError.prototype=Object.create(Error.prototype),t.TransformError.prototype.constructor=t.TransformError,t.TransformError.prototype.name="TransformError";var q=function(){function e(t){d(this,e),this.doc=t,this.steps=[],this.docs=[],this.mapping=new b}return f(e,[{key:"before",get:function(){return this.docs.length?this.docs[0]:this.doc}},{key:"step",value:function(e){var n=this.maybeStep(e);if(n.failed)throw new t.TransformError(n.failed);return this}},{key:"maybeStep",value:function(e){var t=e.apply(this.doc);return t.failed||this.addStep(e,t.doc),t}},{key:"docChanged",get:function(){return this.steps.length>0}},{key:"addStep",value:function(e,t){this.docs.push(this.doc),this.steps.push(e),this.mapping.appendMap(e.getMap()),this.doc=t}},{key:"replace",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:e,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:h.Slice.empty,r=I(this.doc,e,t,n);return r&&this.step(r),this}},{key:"replaceWith",value:function(e,t,n){return this.replace(e,t,new h.Slice(h.Fragment.from(n),0,0))}},{key:"delete",value:function(e,t){return this.replace(e,t,h.Slice.empty)}},{key:"insert",value:function(e,t){return this.replaceWith(e,e,t)}},{key:"replaceRange",value:function(e,t,n){return function(e,t,n,r){if(!r.size)return e.deleteRange(t,n);var o=e.doc.resolve(t),i=e.doc.resolve(n);if(P(o,i,r))return e.step(new $(t,n,r));var a=U(o,e.doc.resolve(n));0==a[a.length-1]&&a.pop();var s=-(o.depth+1);a.unshift(s);for(var l=o.depth,c=o.pos-1;l>0;l--,c--){var u=o.node(l).type.spec;if(u.defining||u.definingAsContext||u.isolating)break;a.indexOf(l)>-1?s=l:o.before(l)==c&&a.splice(1,0,-l)}for(var d,p=a.indexOf(s),f=[],m=r.openStart,v=r.content,g=0;;g++){var y=v.firstChild;if(f.push(y),g==r.openStart)break;v=y.content}for(var b=m-1;b>=0;b--){var w=f[b],x=(d=w.type).spec.defining||d.spec.definingForContent;if(x&&!w.sameMarkup(o.node(Math.abs(s)-1)))m=b;else if(x||!w.type.isTextblock)break}for(var k=r.openStart;k>=0;k--){var S=(k+m+1)%(r.openStart+1),C=f[S];if(C)for(var E=0;E<a.length;E++){var T=a[(E+p)%a.length],O=!0;T<0&&(O=!1,T=-T);var M=o.node(T-1),A=o.index(T-1);if(M.canReplaceWith(A,A,C.type,C.marks))return e.replace(o.before(T),O?i.after(T):n,new h.Slice(H(r.content,0,r.openStart,S),S,r.openEnd))}}for(var D=e.steps.length,L=a.length-1;L>=0&&(e.replace(t,n,r),!(e.steps.length>D));L--){var N=a[L];N<0||(t=o.before(N),n=i.after(N))}}(this,e,t,n),this}},{key:"replaceRangeWith",value:function(e,t,n){return function(e,t,n,r){if(!r.isInline&&t==n&&e.doc.resolve(t).parent.content.size){var o=R(e.doc,t,r.type);null!=o&&(t=n=o)}e.replaceRange(t,n,new h.Slice(h.Fragment.from(r),0,0))}(this,e,t,n),this}},{key:"deleteRange",value:function(e,t){return function(e,t,n){for(var r=e.doc.resolve(t),o=e.doc.resolve(n),i=U(r,o),a=0;a<i.length;a++){var s=i[a],l=a==i.length-1;if(l&&0==s||r.node(s).type.contentMatch.validEnd)return e.delete(r.start(s),o.end(s));if(s>0&&(l||r.node(s-1).canReplace(r.index(s-1),o.indexAfter(s-1))))return e.delete(r.before(s),o.after(s))}for(var c=1;c<=r.depth&&c<=o.depth;c++)if(t-r.start(c)==r.depth-c&&n>r.end(c)&&o.end(c)-n!=o.depth-c)return e.delete(r.before(c),n);e.delete(t,n)}(this,e,t),this}},{key:"lift",value:function(e,t){return function(e,t,n){for(var r=t.$from,o=t.$to,i=t.depth,a=r.before(i+1),s=o.after(i+1),l=a,c=s,u=h.Fragment.empty,d=0,p=i,f=!1;p>n;p--)f||r.index(p)>0?(f=!0,u=h.Fragment.from(r.node(p).copy(u)),d++):l--;for(var m=h.Fragment.empty,v=0,g=i,y=!1;g>n;g--)y||o.after(g+1)<o.end(g)?(y=!0,m=h.Fragment.from(o.node(g).copy(m)),v++):c++;e.step(new M(l,c,a,s,new h.Slice(u.append(m),d,v),u.size-d,!0))}(this,e,t),this}},{key:"join",value:function(e){return function(e,t,n){var r=new $(t-n,t+n,h.Slice.empty,!0);e.step(r)}(this,e,arguments.length>1&&void 0!==arguments[1]?arguments[1]:1),this}},{key:"wrap",value:function(e,t){return function(e,t,n){for(var r=h.Fragment.empty,o=n.length-1;o>=0;o--){if(r.size){var i=n[o].type.contentMatch.matchFragment(r);if(!i||!i.validEnd)throw new RangeError("Wrapper type given to Transform.wrap does not form valid content of its parent wrapper")}r=h.Fragment.from(n[o].type.create(n[o].attrs,r))}var a=t.start,s=t.end;e.step(new M(a,s,a,s,new h.Slice(r,0,0),n.length,!0))}(this,e,t),this}},{key:"setBlockType",value:function(e){return function(e,t,n,r,o){if(!r.isTextblock)throw new RangeError("Type given to setBlockType should be a textblock");var i=e.steps.length;e.doc.nodesBetween(t,n,(function(t,n){if(t.isTextblock&&!t.hasMarkup(r,o)&&function(e,t,n){var r=e.resolve(t),o=r.index();return r.parent.canReplaceWith(o,o+1,n)}(e.doc,e.mapping.slice(i).map(n),r)){e.clearIncompatible(e.mapping.slice(i).map(n,1),r);var a=e.mapping.slice(i),s=a.map(n,1),l=a.map(n+t.nodeSize,1);return e.step(new M(s,l,s+1,l-1,new h.Slice(h.Fragment.from(r.create(o,null,t.marks)),0,0),1,!0)),!1}}))}(this,e,arguments.length>1&&void 0!==arguments[1]?arguments[1]:e,arguments.length>2?arguments[2]:void 0,arguments.length>3&&void 0!==arguments[3]?arguments[3]:null),this}},{key:"setNodeMarkup",value:function(e,t){return function(e,t,n,r,o){var i=e.doc.nodeAt(t);if(!i)throw new RangeError("No node at given position");n||(n=i.type);var a=n.create(r,null,o||i.marks);if(i.isLeaf)return e.replaceWith(t,t+i.nodeSize,a);if(!n.validContent(i.content))throw new RangeError("Invalid content for node type "+n.name);e.step(new M(t,t+i.nodeSize,t+1,t+i.nodeSize-1,new h.Slice(h.Fragment.from(a),0,0),1,!0))}(this,e,t,arguments.length>2&&void 0!==arguments[2]?arguments[2]:null,arguments.length>3?arguments[3]:void 0),this}},{key:"setNodeAttribute",value:function(e,t,n){return this.step(new W(e,t,n)),this}},{key:"setDocAttribute",value:function(e,t){return this.step(new V(e,t)),this}},{key:"addNodeMark",value:function(e,t){return this.step(new T(e,t)),this}},{key:"removeNodeMark",value:function(e,t){if(!(t instanceof h.Mark)){var n=this.doc.nodeAt(e);if(!n)throw new RangeError("No node at position "+e);if(!(t=t.isInSet(n.marks)))return this}return this.step(new O(e,t)),this}},{key:"split",value:function(e){return function(e,t){for(var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1,r=arguments.length>3?arguments[3]:void 0,o=e.doc.resolve(t),i=h.Fragment.empty,a=h.Fragment.empty,s=o.depth,l=o.depth-n,c=n-1;s>l;s--,c--){i=h.Fragment.from(o.node(s).copy(i));var u=r&&r[c];a=h.Fragment.from(u?u.type.create(u.attrs,a):o.node(s).copy(a))}e.step(new $(t,t,new h.Slice(i.append(a),n,n),!0))}(this,e,arguments.length>1&&void 0!==arguments[1]?arguments[1]:1,arguments.length>2?arguments[2]:void 0),this}},{key:"addMark",value:function(e,t,n){return function(e,t,n,r){var o,i,a=[],s=[];e.doc.nodesBetween(t,n,(function(e,l,c){if(e.isInline){var u=e.marks;if(!r.isInSet(u)&&c.type.allowsMarkType(r.type)){for(var d=Math.max(l,t),p=Math.min(l+e.nodeSize,n),f=r.addToSet(u),h=0;h<u.length;h++)u[h].isInSet(f)||(o&&o.to==d&&o.mark.eq(u[h])?o.to=p:a.push(o=new E(d,p,u[h])));i&&i.to==d?i.to=p:s.push(i=new C(d,p,r))}}})),a.forEach((function(t){return e.step(t)})),s.forEach((function(t){return e.step(t)}))}(this,e,t,n),this}},{key:"removeMark",value:function(e,t,n){return function(e,t,n,r){var o=[],i=0;e.doc.nodesBetween(t,n,(function(e,a){if(e.isInline){i++;var s=null;if(r instanceof h.MarkType)for(var l,c=e.marks;l=r.isInSet(c);)(s||(s=[])).push(l),c=l.removeFromSet(c);else r?r.isInSet(e.marks)&&(s=[r]):s=e.marks;if(s&&s.length)for(var u=Math.min(a+e.nodeSize,n),d=0;d<s.length;d++){for(var p=s[d],f=void 0,m=0;m<o.length;m++){var v=o[m];v.step==i-1&&p.eq(o[m].style)&&(f=v)}f?(f.to=u,f.step=i):o.push({style:p,from:Math.max(a,t),to:u,step:i})}}})),o.forEach((function(t){return e.step(new E(t.from,t.to,t.style))}))}(this,e,t,n),this}},{key:"clearIncompatible",value:function(e,t,n){return function(e,t,n){for(var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:n.contentMatch,o=e.doc.nodeAt(t),i=[],a=t+1,s=0;s<o.childCount;s++){var l=o.child(s),c=a+l.nodeSize,u=r.matchType(l.type);if(u){r=u;for(var d=0;d<l.marks.length;d++)n.allowsMarkType(l.marks[d].type)||e.step(new E(a,c,l.marks[d]));if(l.isText&&!n.spec.code)for(var p=void 0,f=/\r?\n|\r/g,m=void 0;p=f.exec(l.text);)m||(m=new h.Slice(h.Fragment.from(n.schema.text(" ",n.allowedMarks(l.marks))),0,0)),i.push(new $(a+p.index,a+p.index+p[0].length,m))}else i.push(new $(a,c,h.Slice.empty));a=c}if(!r.validEnd){var v=r.fillBefore(h.Fragment.empty,!0);e.replace(a,a,new h.Slice(v,0,0))}for(var g=i.length-1;g>=0;g--)e.step(i[g])}(this,e,t,n),this}}]),e}();t.AddMarkStep=C,t.AddNodeMarkStep=T,t.AttrStep=W,t.DocAttrStep=V,t.MapResult=g,t.Mapping=b,t.RemoveMarkStep=E,t.RemoveNodeMarkStep=O,t.ReplaceAroundStep=M,t.ReplaceStep=$,t.Step=x,t.StepMap=y,t.StepResult=k,t.Transform=q,t.canJoin=function(e,t){var n=e.resolve(t),r=n.index();return N(n.nodeBefore,n.nodeAfter)&&n.parent.canReplace(r,r+1)},t.canSplit=function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1,r=arguments.length>3?arguments[3]:void 0,o=e.resolve(t),i=o.depth-n,a=r&&r[r.length-1]||o.parent;if(i<0||o.parent.type.spec.isolating||!o.parent.canReplace(o.index(),o.parent.childCount)||!a.type.validContent(o.parent.content.cutByIndex(o.index(),o.parent.childCount)))return!1;for(var s=o.depth-1,l=n-2;s>i;s--,l--){var c=o.node(s),u=o.index(s);if(c.type.spec.isolating)return!1;var d=c.content.cutByIndex(u,c.childCount),p=r&&r[l+1];p&&(d=d.replaceChild(0,p.type.create(p.attrs)));var f=r&&r[l]||c;if(!c.canReplace(u+1,c.childCount)||!f.type.validContent(d))return!1}var h=o.indexAfter(i),m=r&&r[0];return o.node(i).canReplaceWith(h,h,m?m.type:o.node(i+1).type)},t.dropPoint=function(e,t,n){var r=e.resolve(t);if(!n.content.size)return t;for(var o=n.content,i=0;i<n.openStart;i++)o=o.firstChild.content;for(var a=1;a<=(0==n.openStart&&n.size?2:1);a++)for(var s=r.depth;s>=0;s--){var l=s==r.depth?0:r.pos<=(r.start(s+1)+r.end(s+1))/2?-1:1,c=r.index(s)+(l>0?1:0),u=r.node(s),d=!1;if(1==a)d=u.canReplace(c,c,o);else{var p=u.contentMatchAt(c).findWrapping(o.firstChild.type);d=p&&u.canReplaceWith(c,c,p[0])}if(d)return 0==l?r.pos:l<0?r.before(s+1):r.after(s+1)}return null},t.findWrapping=function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null,r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:e,o=function(e,t){var n=e.parent,r=e.startIndex,o=e.endIndex,i=n.contentMatchAt(r).findWrapping(t);if(!i)return null;var a=i.length?i[0]:t;return n.canReplaceWith(r,o,a)?i:null}(e,t),i=o&&function(e,t){var n=e.parent,r=e.startIndex,o=e.endIndex,i=n.child(r),a=t.contentMatch.findWrapping(i.type);if(!a)return null;for(var s=(a.length?a[a.length-1]:t).contentMatch,l=r;s&&l<o;l++)s=s.matchType(n.child(l).type);return s&&s.validEnd?a:null}(r,t);return i?o.map(L).concat({type:t,attrs:n}).concat(i.map(L)):null},t.insertPoint=R,t.joinPoint=function(e,t){for(var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:-1,r=e.resolve(t),o=r.depth;;o--){var i=void 0,a=void 0,s=r.index(o);if(o==r.depth?(i=r.nodeBefore,a=r.nodeAfter):n>0?(i=r.node(o+1),s++,a=r.node(o).maybeChild(s)):(i=r.node(o).maybeChild(s-1),a=r.node(o+1)),i&&!i.isTextblock&&N(i,a)&&r.node(o).canReplace(s,s+1))return t;if(0==o)break;t=n<0?r.before(o):r.after(o)}},t.liftTarget=function(e){for(var t=e.parent.content.cutByIndex(e.startIndex,e.endIndex),n=e.depth;;--n){var r=e.$from.node(n),o=e.$from.index(n),i=e.$to.indexAfter(n);if(n<e.depth&&r.canReplace(o,i,t))return n;if(0==n||r.type.spec.isolating||!D(r,o,i))break}return null},t.replaceStep=I},9222:(e,t,n)=>{"use strict";function r(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=function(e,t){if(!e)return;if("string"==typeof e)return o(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return o(e,t)}(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 a,s=!0,l=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return s=e.done,e},e:function(e){l=!0,a=e},f:function(){try{s||null==n.return||n.return()}finally{if(l)throw a}}}}function o(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 i(){return i="undefined"!=typeof Reflect&&Reflect.get?Reflect.get.bind():function(e,t,n){var r=function(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&null!==(e=u(e)););return e}(e,t);if(r){var o=Object.getOwnPropertyDescriptor(r,t);return o.get?o.get.call(arguments.length<3?e:n):o.value}},i.apply(this,arguments)}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}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&s(e,t)}function s(e,t){return s=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},s(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=u(e);if(t){var o=u(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return function(e,t){if(t&&("object"===d(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return c(e)}(this,n)}}function c(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function u(e){return u=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},u(e)}function d(e){return d="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},d(e)}function p(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function f(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,(o=r.key,i=void 0,i=function(e,t){if("object"!==d(e)||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!==d(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(o,"string"),"symbol"===d(i)?i:String(i)),r)}var o,i}function h(e,t,n){return t&&f(e.prototype,t),n&&f(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e}var m=n(42391),v=n(19443),g=n(92843),y=function(e){for(var t=0;;t++)if(!(e=e.previousSibling))return t},b=function(e){var t=e.assignedSlot||e.parentNode;return t&&11==t.nodeType?t.host:t},w=null,x=function(e,t,n){var r=w||(w=document.createRange());return r.setEnd(e,null==n?e.nodeValue.length:n),r.setStart(e,t||0),r},k=function(e,t,n,r){return n&&(C(e,t,n,r,-1)||C(e,t,n,r,1))},S=/^(img|br|input|textarea|hr)$/i;function C(e,t,n,r,o){for(;;){if(e==n&&t==r)return!0;if(t==(o<0?0:E(e))){var i=e.parentNode;if(!i||1!=i.nodeType||T(e)||S.test(e.nodeName)||"false"==e.contentEditable)return!1;t=y(e)+(o<0?0:1),e=i}else{if(1!=e.nodeType)return!1;if("false"==(e=e.childNodes[t+(o<0?-1:0)]).contentEditable)return!1;t=o<0?E(e):0}}}function E(e){return 3==e.nodeType?e.nodeValue.length:e.childNodes.length}function T(e){for(var t,n=e;n&&!(t=n.pmViewDesc);n=n.parentNode);return t&&t.node&&t.node.isBlock&&(t.dom==e||t.contentDOM==e)}var O=function(e){return e.focusNode&&k(e.focusNode,e.focusOffset,e.anchorNode,e.anchorOffset)};function $(e,t){var n=document.createEvent("Event");return n.initEvent("keydown",!0,!0),n.keyCode=e,n.key=n.code=t,n}var M="undefined"!=typeof navigator?navigator:null,A="undefined"!=typeof document?document:null,D=M&&M.userAgent||"",L=/Edge\/(\d+)/.exec(D),N=/MSIE \d/.exec(D),R=/Trident\/(?:[7-9]|\d{2,})\..*rv:(\d+)/.exec(D),I=!!(N||R||L),P=N?document.documentMode:R?+R[1]:L?+L[1]:0,Z=!I&&/gecko\/(\d+)/i.test(D);Z&&(/Firefox\/(\d+)/.exec(D)||[0,0])[1];var _=!I&&/Chrome\/(\d+)/.exec(D),F=!!_,j=_?+_[1]:0,B=!I&&!!M&&/Apple Computer/.test(M.vendor),z=B&&(/Mobile\/\w+/.test(D)||!!M&&M.maxTouchPoints>2),H=z||!!M&&/Mac/.test(M.platform),U=!!M&&/Win/.test(M.platform),W=/Android \d/.test(D),V=!!A&&"webkitFontSmoothing"in A.documentElement.style,q=V?+(/\bAppleWebKit\/(\d+)/.exec(navigator.userAgent)||[0,0])[1]:0;function G(e){return{left:0,right:e.documentElement.clientWidth,top:0,bottom:e.documentElement.clientHeight}}function K(e,t){return"number"==typeof e?e:e[t]}function Y(e){var t=e.getBoundingClientRect(),n=t.width/e.offsetWidth||1,r=t.height/e.offsetHeight||1;return{left:t.left,right:t.left+e.clientWidth*n,top:t.top,bottom:t.top+e.clientHeight*r}}function X(e,t,n){for(var r=e.someProp("scrollThreshold")||0,o=e.someProp("scrollMargin")||5,i=e.dom.ownerDocument,a=n||e.dom;a;a=b(a))if(1==a.nodeType){var s=a,l=s==i.body,c=l?G(i):Y(s),u=0,d=0;if(t.top<c.top+K(r,"top")?d=-(c.top-t.top+K(o,"top")):t.bottom>c.bottom-K(r,"bottom")&&(d=t.bottom-t.top>c.bottom-c.top?t.top+K(o,"top")-c.top:t.bottom-c.bottom+K(o,"bottom")),t.left<c.left+K(r,"left")?u=-(c.left-t.left+K(o,"left")):t.right>c.right-K(r,"right")&&(u=t.right-c.right+K(o,"right")),u||d)if(l)i.defaultView.scrollBy(u,d);else{var p=s.scrollLeft,f=s.scrollTop;d&&(s.scrollTop+=d),u&&(s.scrollLeft+=u);var h=s.scrollLeft-p,m=s.scrollTop-f;t={left:t.left-h,top:t.top-m,right:t.right-h,bottom:t.bottom-m}}if(l||/^(fixed|sticky)$/.test(getComputedStyle(a).position))break}}function J(e){for(var t=[],n=e.ownerDocument,r=e;r&&(t.push({dom:r,top:r.scrollTop,left:r.scrollLeft}),e!=n);r=b(r));return t}function Q(e,t){for(var n=0;n<e.length;n++){var r=e[n],o=r.dom,i=r.top,a=r.left;o.scrollTop!=i+t&&(o.scrollTop=i+t),o.scrollLeft!=a&&(o.scrollLeft=a)}}var ee=null;function te(e,t){for(var n,r,o,i,a=2e8,s=0,l=t.top,c=t.top,u=e.firstChild,d=0;u;u=u.nextSibling,d++){var p=void 0;if(1==u.nodeType)p=u.getClientRects();else{if(3!=u.nodeType)continue;p=x(u).getClientRects()}for(var f=0;f<p.length;f++){var h=p[f];if(h.top<=l&&h.bottom>=c){l=Math.max(h.bottom,l),c=Math.min(h.top,c);var m=h.left>t.left?h.left-t.left:h.right<t.left?t.left-h.right:0;if(m<a){n=u,a=m,r=m&&3==n.nodeType?{left:h.right<t.left?h.right:h.left,top:t.top}:t,1==u.nodeType&&m&&(s=d+(t.left>=(h.left+h.right)/2?1:0));continue}}else h.top>t.top&&!o&&h.left<=t.left&&h.right>=t.left&&(o=u,i={left:Math.max(h.left,Math.min(h.right,t.left)),top:h.top});!n&&(t.left>=h.right&&t.top>=h.top||t.left>=h.left&&t.top>=h.bottom)&&(s=d+1)}}return!n&&o&&(n=o,r=i,a=0),n&&3==n.nodeType?function(e,t){for(var n=e.nodeValue.length,r=document.createRange(),o=0;o<n;o++){r.setEnd(e,o+1),r.setStart(e,o);var i=ae(r,1);if(i.top!=i.bottom&&ne(t,i))return{node:e,offset:o+(t.left>=(i.left+i.right)/2?1:0)}}return{node:e,offset:0}}(n,r):!n||a&&1==n.nodeType?{node:e,offset:s}:te(n,r)}function ne(e,t){return e.left>=t.left-1&&e.left<=t.right+1&&e.top>=t.top-1&&e.top<=t.bottom+1}function re(e,t,n){var r=e.childNodes.length;if(r&&n.top<n.bottom)for(var o=Math.max(0,Math.min(r-1,Math.floor(r*(t.top-n.top)/(n.bottom-n.top))-2)),i=o;;){var a=e.childNodes[i];if(1==a.nodeType)for(var s=a.getClientRects(),l=0;l<s.length;l++){var c=s[l];if(ne(t,c))return re(a,t,c)}if((i=(i+1)%r)==o)break}return e}function oe(e,t){var n,r=e.dom.ownerDocument,o=0,i=function(e,t,n){if(e.caretPositionFromPoint)try{var r=e.caretPositionFromPoint(t,n);if(r)return{node:r.offsetNode,offset:r.offset}}catch(i){}if(e.caretRangeFromPoint){var o=e.caretRangeFromPoint(t,n);if(o)return{node:o.startContainer,offset:o.startOffset}}}(r,t.left,t.top);i&&(n=i.node,o=i.offset);var a,s=(e.root.elementFromPoint?e.root:r).elementFromPoint(t.left,t.top);if(!s||!e.dom.contains(1!=s.nodeType?s.parentNode:s)){var l=e.dom.getBoundingClientRect();if(!ne(t,l))return null;if(!(s=re(e.dom,t,l)))return null}if(B)for(var c=s;n&&c;c=b(c))c.draggable&&(n=void 0);if(s=function(e,t){var n=e.parentNode;return n&&/^li$/i.test(n.nodeName)&&t.left<e.getBoundingClientRect().left?n:e}(s,t),n){if(Z&&1==n.nodeType&&(o=Math.min(o,n.childNodes.length))<n.childNodes.length){var u,d=n.childNodes[o];"IMG"==d.nodeName&&(u=d.getBoundingClientRect()).right<=t.left&&u.bottom>t.top&&o++}var p;V&&o&&1==n.nodeType&&1==(p=n.childNodes[o-1]).nodeType&&"false"==p.contentEditable&&p.getBoundingClientRect().top>=t.top&&o--,n==e.dom&&o==n.childNodes.length-1&&1==n.lastChild.nodeType&&t.top>n.lastChild.getBoundingClientRect().bottom?a=e.state.doc.content.size:0!=o&&1==n.nodeType&&"BR"==n.childNodes[o-1].nodeName||(a=function(e,t,n,r){for(var o=-1,i=t,a=!1;i!=e.dom;){var s=e.docView.nearestDesc(i,!0);if(!s)return null;if(1==s.dom.nodeType&&(s.node.isBlock&&s.parent&&!a||!s.contentDOM)){var l=s.dom.getBoundingClientRect();if(s.node.isBlock&&s.parent&&!a&&(a=!0,l.left>r.left||l.top>r.top?o=s.posBefore:(l.right<r.left||l.bottom<r.top)&&(o=s.posAfter)),!s.contentDOM&&o<0&&!s.node.isText)return(s.node.isBlock?r.top<(l.top+l.bottom)/2:r.left<(l.left+l.right)/2)?s.posBefore:s.posAfter}i=s.dom.parentNode}return o>-1?o:e.docView.posFromDOM(t,n,-1)}(e,n,o,t))}null==a&&(a=function(e,t,n){var r=te(t,n),o=r.node,i=r.offset,a=-1;if(1==o.nodeType&&!o.firstChild){var s=o.getBoundingClientRect();a=s.left!=s.right&&n.left>(s.left+s.right)/2?1:-1}return e.docView.posFromDOM(o,i,a)}(e,s,t));var f=e.docView.nearestDesc(s,!0);return{pos:a,inside:f?f.posAtStart-f.border:-1}}function ie(e){return e.top<e.bottom||e.left<e.right}function ae(e,t){var n=e.getClientRects();if(n.length){var r=n[t<0?0:n.length-1];if(ie(r))return r}return Array.prototype.find.call(n,ie)||e.getBoundingClientRect()}var se=/[\u0590-\u05f4\u0600-\u06ff\u0700-\u08ac]/;function le(e,t,n){var r=e.docView.domFromPos(t,n<0?-1:1),o=r.node,i=r.offset,a=r.atom,s=V||Z;if(3==o.nodeType){if(!s||!se.test(o.nodeValue)&&(n<0?i:i!=o.nodeValue.length)){var l=i,c=i,u=n<0?1:-1;return n<0&&!i?(c++,u=-1):n>=0&&i==o.nodeValue.length?(l--,u=1):n<0?l--:c++,ce(ae(x(o,l,c),u),u<0)}var d=ae(x(o,i,i),n);if(Z&&i&&/\s/.test(o.nodeValue[i-1])&&i<o.nodeValue.length){var p=ae(x(o,i-1,i-1),-1);if(p.top==d.top){var f=ae(x(o,i,i+1),-1);if(f.top!=d.top)return ce(f,f.left<p.left)}}return d}if(!e.state.doc.resolve(t-(a||0)).parent.inlineContent){if(null==a&&i&&(n<0||i==E(o))){var h=o.childNodes[i-1];if(1==h.nodeType)return ue(h.getBoundingClientRect(),!1)}if(null==a&&i<E(o)){var m=o.childNodes[i];if(1==m.nodeType)return ue(m.getBoundingClientRect(),!0)}return ue(o.getBoundingClientRect(),n>=0)}if(null==a&&i&&(n<0||i==E(o))){var v=o.childNodes[i-1],g=3==v.nodeType?x(v,E(v)-(s?0:1)):1!=v.nodeType||"BR"==v.nodeName&&v.nextSibling?null:v;if(g)return ce(ae(g,1),!1)}if(null==a&&i<E(o)){for(var y=o.childNodes[i];y.pmViewDesc&&y.pmViewDesc.ignoreForCoords;)y=y.nextSibling;var b=y?3==y.nodeType?x(y,0,s?0:1):1==y.nodeType?y:null:null;if(b)return ce(ae(b,-1),!0)}return ce(ae(3==o.nodeType?x(o):o,-n),n>=0)}function ce(e,t){if(0==e.width)return e;var n=t?e.left:e.right;return{top:e.top,bottom:e.bottom,left:n,right:n}}function ue(e,t){if(0==e.height)return e;var n=t?e.top:e.bottom;return{top:n,bottom:n,left:e.left,right:e.right}}function de(e,t,n){var r=e.state,o=e.root.activeElement;r!=t&&e.updateState(t),o!=e.dom&&e.focus();try{return n()}finally{r!=t&&e.updateState(r),o!=e.dom&&o&&o.focus()}}var pe=/[\u0590-\u08ac]/;var fe=null,he=null,me=!1;function ve(e,t,n){return fe==t&&he==n?me:(fe=t,he=n,me="up"==n||"down"==n?function(e,t,n){var r=t.selection,o="up"==n?r.$from:r.$to;return de(e,t,(function(){for(var t=e.docView.domFromPos(o.pos,"up"==n?-1:1).node;;){var r=e.docView.nearestDesc(t,!0);if(!r)break;if(r.node.isBlock){t=r.contentDOM||r.dom;break}t=r.dom.parentNode}for(var i=le(e,o.pos,1),a=t.firstChild;a;a=a.nextSibling){var s=void 0;if(1==a.nodeType)s=a.getClientRects();else{if(3!=a.nodeType)continue;s=x(a,0,a.nodeValue.length).getClientRects()}for(var l=0;l<s.length;l++){var c=s[l];if(c.bottom>c.top+1&&("up"==n?i.top-c.top>2*(c.bottom-i.top):c.bottom-i.bottom>2*(i.bottom-c.top)))return!1}}return!0}))}(e,t,n):function(e,t,n){var r=t.selection.$head;if(!r.parent.isTextblock)return!1;var o=r.parentOffset,i=!o,a=o==r.parent.content.size,s=e.domSelection();return pe.test(r.parent.textContent)&&s.modify?de(e,t,(function(){var t=e.domSelectionRange(),o=t.focusNode,i=t.focusOffset,a=t.anchorNode,l=t.anchorOffset,c=s.caretBidiLevel;s.modify("move",n,"character");var u=r.depth?e.docView.domAfterPos(r.before()):e.dom,d=e.domSelectionRange(),p=d.focusNode,f=d.focusOffset,h=p&&!u.contains(1==p.nodeType?p:p.parentNode)||o==p&&i==f;try{s.collapse(a,l),o&&(o!=a||i!=l)&&s.extend&&s.extend(o,i)}catch(m){}return null!=c&&(s.caretBidiLevel=c),h})):"left"==n||"backward"==n?i:a}(e,t,n))}var ge=function(){function e(t,n,r,o){p(this,e),this.parent=t,this.children=n,this.dom=r,this.contentDOM=o,this.dirty=0,r.pmViewDesc=this}return h(e,[{key:"matchesWidget",value:function(e){return!1}},{key:"matchesMark",value:function(e){return!1}},{key:"matchesNode",value:function(e,t,n){return!1}},{key:"matchesHack",value:function(e){return!1}},{key:"parseRule",value:function(){return null}},{key:"stopEvent",value:function(e){return!1}},{key:"size",get:function(){for(var e=0,t=0;t<this.children.length;t++)e+=this.children[t].size;return e}},{key:"border",get:function(){return 0}},{key:"destroy",value:function(){this.parent=void 0,this.dom.pmViewDesc==this&&(this.dom.pmViewDesc=void 0);for(var e=0;e<this.children.length;e++)this.children[e].destroy()}},{key:"posBeforeChild",value:function(e){for(var t=0,n=this.posAtStart;;t++){var r=this.children[t];if(r==e)return n;n+=r.size}}},{key:"posBefore",get:function(){return this.parent.posBeforeChild(this)}},{key:"posAtStart",get:function(){return this.parent?this.parent.posBeforeChild(this)+this.border:0}},{key:"posAfter",get:function(){return this.posBefore+this.size}},{key:"posAtEnd",get:function(){return this.posAtStart+this.size-2*this.border}},{key:"localPosFromDOM",value:function(e,t,n){if(this.contentDOM&&this.contentDOM.contains(1==e.nodeType?e:e.parentNode)){if(n<0){var r,o;if(e==this.contentDOM)r=e.childNodes[t-1];else{for(;e.parentNode!=this.contentDOM;)e=e.parentNode;r=e.previousSibling}for(;r&&(!(o=r.pmViewDesc)||o.parent!=this);)r=r.previousSibling;return r?this.posBeforeChild(o)+o.size:this.posAtStart}var i,a;if(e==this.contentDOM)i=e.childNodes[t];else{for(;e.parentNode!=this.contentDOM;)e=e.parentNode;i=e.nextSibling}for(;i&&(!(a=i.pmViewDesc)||a.parent!=this);)i=i.nextSibling;return i?this.posBeforeChild(a):this.posAtEnd}var s;if(e==this.dom&&this.contentDOM)s=t>y(this.contentDOM);else if(this.contentDOM&&this.contentDOM!=this.dom&&this.dom.contains(this.contentDOM))s=2&e.compareDocumentPosition(this.contentDOM);else if(this.dom.firstChild){if(0==t)for(var l=e;;l=l.parentNode){if(l==this.dom){s=!1;break}if(l.previousSibling)break}if(null==s&&t==e.childNodes.length)for(var c=e;;c=c.parentNode){if(c==this.dom){s=!0;break}if(c.nextSibling)break}}return(null==s?n>0:s)?this.posAtEnd:this.posAtStart}},{key:"nearestDesc",value:function(e){for(var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=!0,r=e;r;r=r.parentNode){var o=this.getDesc(r),i=void 0;if(o&&(!t||o.node)){if(!n||!(i=o.nodeDOM)||(1==i.nodeType?i.contains(1==e.nodeType?e:e.parentNode):i==e))return o;n=!1}}}},{key:"getDesc",value:function(e){for(var t=e.pmViewDesc,n=t;n;n=n.parent)if(n==this)return t}},{key:"posFromDOM",value:function(e,t,n){for(var r=e;r;r=r.parentNode){var o=this.getDesc(r);if(o)return o.localPosFromDOM(e,t,n)}return-1}},{key:"descAt",value:function(e){for(var t=0,n=0;t<this.children.length;t++){var r=this.children[t],o=n+r.size;if(n==e&&o!=n){for(;!r.border&&r.children.length;)r=r.children[0];return r}if(e<o)return r.descAt(e-n-r.border);n=o}}},{key:"domFromPos",value:function(e,t){if(!this.contentDOM)return{node:this.dom,offset:0,atom:e+1};for(var n,r=0,o=0,i=0;r<this.children.length;r++){var a=this.children[r],s=i+a.size;if(s>e||a instanceof Ce){o=e-i;break}i=s}if(o)return this.children[r].domFromPos(o-this.children[r].border,t);for(;r&&!(n=this.children[r-1]).size&&n instanceof ye&&n.side>=0;r--);if(t<=0){for(var l,c=!0;(l=r?this.children[r-1]:null)&&l.dom.parentNode!=this.contentDOM;r--,c=!1);return l&&t&&c&&!l.border&&!l.domAtom?l.domFromPos(l.size,t):{node:this.contentDOM,offset:l?y(l.dom)+1:0}}for(var u,d=!0;(u=r<this.children.length?this.children[r]:null)&&u.dom.parentNode!=this.contentDOM;r++,d=!1);return u&&d&&!u.border&&!u.domAtom?u.domFromPos(0,t):{node:this.contentDOM,offset:u?y(u.dom):this.contentDOM.childNodes.length}}},{key:"parseRange",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0;if(0==this.children.length)return{node:this.contentDOM,from:e,to:t,fromOffset:0,toOffset:this.contentDOM.childNodes.length};for(var r=-1,o=-1,i=n,a=0;;a++){var s=this.children[a],l=i+s.size;if(-1==r&&e<=l){var c=i+s.border;if(e>=c&&t<=l-s.border&&s.node&&s.contentDOM&&this.contentDOM.contains(s.contentDOM))return s.parseRange(e,t,c);e=i;for(var u=a;u>0;u--){var d=this.children[u-1];if(d.size&&d.dom.parentNode==this.contentDOM&&!d.emptyChildAt(1)){r=y(d.dom)+1;break}e-=d.size}-1==r&&(r=0)}if(r>-1&&(l>t||a==this.children.length-1)){t=l;for(var p=a+1;p<this.children.length;p++){var f=this.children[p];if(f.size&&f.dom.parentNode==this.contentDOM&&!f.emptyChildAt(-1)){o=y(f.dom);break}t+=f.size}-1==o&&(o=this.contentDOM.childNodes.length);break}i=l}return{node:this.contentDOM,from:e,to:t,fromOffset:r,toOffset:o}}},{key:"emptyChildAt",value:function(e){if(this.border||!this.contentDOM||!this.children.length)return!1;var t=this.children[e<0?0:this.children.length-1];return 0==t.size||t.emptyChildAt(e)}},{key:"domAfterPos",value:function(e){var t=this.domFromPos(e,0),n=t.node,r=t.offset;if(1!=n.nodeType||r==n.childNodes.length)throw new RangeError("No node after pos "+e);return n.childNodes[r]}},{key:"setSelection",value:function(e,t,n){for(var r=arguments.length>3&&void 0!==arguments[3]&&arguments[3],o=Math.min(e,t),i=Math.max(e,t),a=0,s=0;a<this.children.length;a++){var l=this.children[a],c=s+l.size;if(o>s&&i<c)return l.setSelection(e-s-l.border,t-s-l.border,n,r);s=c}var u=this.domFromPos(e,e?-1:1),d=t==e?u:this.domFromPos(t,t?-1:1),p=n.getSelection(),f=!1;if((Z||B)&&e==t){var h=u,m=h.node,v=h.offset;if(3==m.nodeType){if((f=!(!v||"\n"!=m.nodeValue[v-1]))&&v==m.nodeValue.length)for(var g,b=m;b;b=b.parentNode){if(g=b.nextSibling){"BR"==g.nodeName&&(u=d={node:g.parentNode,offset:y(g)+1});break}var w=b.pmViewDesc;if(w&&w.node&&w.node.isBlock)break}}else{var x=m.childNodes[v-1];f=x&&("BR"==x.nodeName||"false"==x.contentEditable)}}if(Z&&p.focusNode&&p.focusNode!=d.node&&1==p.focusNode.nodeType){var S=p.focusNode.childNodes[p.focusOffset];S&&"false"==S.contentEditable&&(r=!0)}if(r||f&&B||!k(u.node,u.offset,p.anchorNode,p.anchorOffset)||!k(d.node,d.offset,p.focusNode,p.focusOffset)){var C=!1;if((p.extend||e==t)&&!f){p.collapse(u.node,u.offset);try{e!=t&&p.extend(d.node,d.offset),C=!0}catch(O){}}if(!C){if(e>t){var E=u;u=d,d=E}var T=document.createRange();T.setEnd(d.node,d.offset),T.setStart(u.node,u.offset),p.removeAllRanges(),p.addRange(T)}}}},{key:"ignoreMutation",value:function(e){return!this.contentDOM&&"selection"!=e.type}},{key:"contentLost",get:function(){return this.contentDOM&&this.contentDOM!=this.dom&&!this.dom.contains(this.contentDOM)}},{key:"markDirty",value:function(e,t){for(var n=0,r=0;r<this.children.length;r++){var o=this.children[r],i=n+o.size;if(n==i?e<=i&&t>=n:e<i&&t>n){var a=n+o.border,s=i-o.border;if(e>=a&&t<=s)return this.dirty=e==n||t==i?2:1,void(e!=a||t!=s||!o.contentLost&&o.dom.parentNode==this.contentDOM?o.markDirty(e-a,t-a):o.dirty=3);o.dirty=o.dom!=o.contentDOM||o.dom.parentNode!=this.contentDOM||o.children.length?3:2}n=i}this.dirty=2}},{key:"markParentsDirty",value:function(){for(var e=1,t=this.parent;t;t=t.parent,e++){var n=1==e?2:1;t.dirty<n&&(t.dirty=n)}}},{key:"domAtom",get:function(){return!1}},{key:"ignoreForCoords",get:function(){return!1}}]),e}(),ye=function(e){a(n,e);var t=l(n);function n(e,r,o,i){var a;p(this,n);var s,l=r.type.toDOM;if("function"==typeof l&&(l=l(o,(function(){return s?s.parent?s.parent.posBeforeChild(s):void 0:i}))),!r.type.spec.raw){if(1!=l.nodeType){var u=document.createElement("span");u.appendChild(l),l=u}l.contentEditable="false",l.classList.add("ProseMirror-widget")}return(a=t.call(this,e,[],l,null)).widget=r,a.widget=r,s=c(a),a}return h(n,[{key:"matchesWidget",value:function(e){return 0==this.dirty&&e.type.eq(this.widget.type)}},{key:"parseRule",value:function(){return{ignore:!0}}},{key:"stopEvent",value:function(e){var t=this.widget.spec.stopEvent;return!!t&&t(e)}},{key:"ignoreMutation",value:function(e){return"selection"!=e.type||this.widget.spec.ignoreSelection}},{key:"destroy",value:function(){this.widget.type.destroy(this.dom),i(u(n.prototype),"destroy",this).call(this)}},{key:"domAtom",get:function(){return!0}},{key:"side",get:function(){return this.widget.type.side}}]),n}(ge),be=function(e){a(n,e);var t=l(n);function n(e,r,o,i){var a;return p(this,n),(a=t.call(this,e,[],r,null)).textDOM=o,a.text=i,a}return h(n,[{key:"size",get:function(){return this.text.length}},{key:"localPosFromDOM",value:function(e,t){return e!=this.textDOM?this.posAtStart+(t?this.size:0):this.posAtStart+t}},{key:"domFromPos",value:function(e){return{node:this.textDOM,offset:e}}},{key:"ignoreMutation",value:function(e){return"characterData"===e.type&&e.target.nodeValue==e.oldValue}}]),n}(ge),we=function(e){a(n,e);var t=l(n);function n(e,r,o,i){var a;return p(this,n),(a=t.call(this,e,[],o,i)).mark=r,a}return h(n,[{key:"parseRule",value:function(){return 3&this.dirty||this.mark.type.spec.reparseInView?null:{mark:this.mark.type.name,attrs:this.mark.attrs,contentElement:this.contentDOM}}},{key:"matchesMark",value:function(e){return 3!=this.dirty&&this.mark.eq(e)}},{key:"markDirty",value:function(e,t){if(i(u(n.prototype),"markDirty",this).call(this,e,t),0!=this.dirty){for(var r=this.parent;!r.node;)r=r.parent;r.dirty<this.dirty&&(r.dirty=this.dirty),this.dirty=0}}},{key:"slice",value:function(e,t,r){var o=n.create(this.parent,this.mark,!0,r),i=this.children,a=this.size;t<a&&(i=Ze(i,t,a,r)),e>0&&(i=Ze(i,0,e,r));for(var s=0;s<i.length;s++)i[s].parent=o;return o.children=i,o}}],[{key:"create",value:function(e,t,r,o){var i=o.nodeViews[t.type.name],a=i&&i(t,o,r);return a&&a.dom||(a=v.DOMSerializer.renderSpec(document,t.type.spec.toDOM(t,r))),new n(e,t,a.dom,a.contentDOM||a.dom)}}]),n}(ge),xe=function(e){a(n,e);var t=l(n);function n(e,r,o,i,a,s,l,c,u){var d;return p(this,n),(d=t.call(this,e,[],a,s)).node=r,d.outerDeco=o,d.innerDeco=i,d.nodeDOM=l,d}return h(n,[{key:"parseRule",value:function(){var e=this;if(this.node.type.spec.reparseInView)return null;var t={node:this.node.type.name,attrs:this.node.attrs};if("pre"==this.node.type.whitespace&&(t.preserveWhitespace="full"),this.contentDOM)if(this.contentLost){for(var n=this.children.length-1;n>=0;n--){var r=this.children[n];if(this.dom.contains(r.dom.parentNode)){t.contentElement=r.dom.parentNode;break}}t.contentElement||(t.getContent=function(){return v.Fragment.empty})}else t.contentElement=this.contentDOM;else t.getContent=function(){return e.node.content};return t}},{key:"matchesNode",value:function(e,t,n){return 0==this.dirty&&e.eq(this.node)&&Ne(t,this.outerDeco)&&n.eq(this.innerDeco)}},{key:"size",get:function(){return this.node.nodeSize}},{key:"border",get:function(){return this.node.isLeaf?0:1}},{key:"updateChildren",value:function(e,t){var n=this,r=this.node.inlineContent,o=t,i=e.composing?this.localCompositionInfo(e,t):null,a=i&&i.pos>-1?i:null,s=i&&i.pos<0,l=new Ie(this,a&&a.node,e);!function(e,t,n,r){var o=t.locals(e),i=0;if(0==o.length){for(var a=0;a<e.childCount;a++){var s=e.child(a);r(s,o,t.forChild(i,s),a),i+=s.nodeSize}return}for(var l=0,c=[],u=null,d=0;;){for(var p=void 0,f=void 0;l<o.length&&o[l].to==i;){var h=o[l++];h.widget&&(p?(f||(f=[p])).push(h):p=h)}if(p)if(f){f.sort(Pe);for(var m=0;m<f.length;m++)n(f[m],d,!!u)}else n(p,d,!!u);var v=void 0,g=void 0;if(u)g=-1,v=u,u=null;else{if(!(d<e.childCount))break;g=d,v=e.child(d++)}for(var y=0;y<c.length;y++)c[y].to<=i&&c.splice(y--,1);for(;l<o.length&&o[l].from<=i&&o[l].to>i;)c.push(o[l++]);var b=i+v.nodeSize;if(v.isText){var w=b;l<o.length&&o[l].from<w&&(w=o[l].from);for(var x=0;x<c.length;x++)c[x].to<w&&(w=c[x].to);w<b&&(u=v.cut(w-i),v=v.cut(0,w-i),b=w,g=-1)}else for(;l<o.length&&o[l].to<b;)l++;r(v,v.isInline&&!v.isLeaf?c.filter((function(e){return!e.inline})):c.slice(),t.forChild(i,v),g),i=b}}(this.node,this.innerDeco,(function(t,i,a){t.spec.marks?l.syncToMarks(t.spec.marks,r,e):t.type.side>=0&&!a&&l.syncToMarks(i==n.node.childCount?v.Mark.none:n.node.child(i).marks,r,e),l.placeWidget(t,e,o)}),(function(t,n,a,c){var u;l.syncToMarks(t.marks,r,e),l.findNodeMatch(t,n,a,c)||s&&e.state.selection.from>o&&e.state.selection.to<o+t.nodeSize&&(u=l.findIndexWithChild(i.node))>-1&&l.updateNodeAt(t,n,a,u,e)||l.updateNextNode(t,n,a,e,c,o)||l.addNode(t,n,a,e,o),o+=t.nodeSize})),l.syncToMarks([],r,e),this.node.isTextblock&&l.addTextblockHacks(),l.destroyRest(),(l.changed||2==this.dirty)&&(a&&this.protectLocalComposition(e,a),Te(this.contentDOM,this.children,e),z&&function(e){if("UL"==e.nodeName||"OL"==e.nodeName){var t=e.style.cssText;e.style.cssText=t+"; list-style: square !important",window.getComputedStyle(e).listStyle,e.style.cssText=t}}(this.dom))}},{key:"localCompositionInfo",value:function(e,t){var n=e.state.selection,r=n.from,o=n.to;if(!(e.state.selection instanceof m.TextSelection)||r<t||o>t+this.node.content.size)return null;var i=e.domSelectionRange(),a=function(e,t){for(;;){if(3==e.nodeType)return e;if(1==e.nodeType&&t>0){if(e.childNodes.length>t&&3==e.childNodes[t].nodeType)return e.childNodes[t];t=E(e=e.childNodes[t-1])}else{if(!(1==e.nodeType&&t<e.childNodes.length))return null;e=e.childNodes[t],t=0}}}(i.focusNode,i.focusOffset);if(!a||!this.dom.contains(a.parentNode))return null;if(this.node.inlineContent){var s=a.nodeValue,l=function(e,t,n,r){for(var o=0,i=0;o<e.childCount&&i<=r;){var a=e.child(o++),s=i;if(i+=a.nodeSize,a.isText){for(var l=a.text;o<e.childCount;){var c=e.child(o++);if(i+=c.nodeSize,!c.isText)break;l+=c.text}if(i>=n){if(i>=r&&l.slice(r-t.length-s,r-s)==t)return r-t.length;var u=s<r?l.lastIndexOf(t,r-s-1):-1;if(u>=0&&u+t.length+s>=n)return s+u;if(n==r&&l.length>=r+t.length-s&&l.slice(r-s,r-s+t.length)==t)return r}}}return-1}(this.node.content,s,r-t,o-t);return l<0?null:{node:a,pos:l,text:s}}return{node:a,pos:-1,text:""}}},{key:"protectLocalComposition",value:function(e,t){var n=t.node,r=t.pos,o=t.text;if(!this.getDesc(n)){for(var i=n;i.parentNode!=this.contentDOM;i=i.parentNode){for(;i.previousSibling;)i.parentNode.removeChild(i.previousSibling);for(;i.nextSibling;)i.parentNode.removeChild(i.nextSibling);i.pmViewDesc&&(i.pmViewDesc=void 0)}var a=new be(this,i,n,o);e.input.compositionNodes.push(a),this.children=Ze(this.children,r,r+o.length,e,a)}}},{key:"update",value:function(e,t,n,r){return!(3==this.dirty||!e.sameMarkup(this.node))&&(this.updateInner(e,t,n,r),!0)}},{key:"updateInner",value:function(e,t,n,r){this.updateOuterDeco(t),this.node=e,this.innerDeco=n,this.contentDOM&&this.updateChildren(r,this.posAtStart),this.dirty=0}},{key:"updateOuterDeco",value:function(e){if(!Ne(e,this.outerDeco)){var t=1!=this.nodeDOM.nodeType,n=this.dom;this.dom=Ae(this.dom,this.nodeDOM,Me(this.outerDeco,this.node,t),Me(e,this.node,t)),this.dom!=n&&(n.pmViewDesc=void 0,this.dom.pmViewDesc=this),this.outerDeco=e}}},{key:"selectNode",value:function(){1==this.nodeDOM.nodeType&&this.nodeDOM.classList.add("ProseMirror-selectednode"),!this.contentDOM&&this.node.type.spec.draggable||(this.dom.draggable=!0)}},{key:"deselectNode",value:function(){1==this.nodeDOM.nodeType&&this.nodeDOM.classList.remove("ProseMirror-selectednode"),!this.contentDOM&&this.node.type.spec.draggable||this.dom.removeAttribute("draggable")}},{key:"domAtom",get:function(){return this.node.isAtom}}],[{key:"create",value:function(e,t,r,o,i,a){var s,l=i.nodeViews[t.type.name],c=l&&l(t,i,(function(){return s?s.parent?s.parent.posBeforeChild(s):void 0:a}),r,o),u=c&&c.dom,d=c&&c.contentDOM;if(t.isText)if(u){if(3!=u.nodeType)throw new RangeError("Text must be rendered as a DOM text node")}else u=document.createTextNode(t.text);else if(!u){var p=v.DOMSerializer.renderSpec(document,t.type.spec.toDOM(t));u=p.dom,d=p.contentDOM}d||t.isText||"BR"==u.nodeName||(u.hasAttribute("contenteditable")||(u.contentEditable="false"),t.type.spec.draggable&&(u.draggable=!0));var f=u;return u=Le(u,r,t),c?s=new Ee(e,t,r,o,u,d||null,f,c,i,a+1):t.isText?new Se(e,t,r,o,u,f,i):new n(e,t,r,o,u,d||null,f,i,a+1)}}]),n}(ge);function ke(e,t,n,r,o){Le(r,t,e);var i=new xe(void 0,e,t,n,r,r,r,o,0);return i.contentDOM&&i.updateChildren(o,0),i}var Se=function(e){a(n,e);var t=l(n);function n(e,r,o,i,a,s,l){return p(this,n),t.call(this,e,r,o,i,a,null,s,l,0)}return h(n,[{key:"parseRule",value:function(){for(var e=this.nodeDOM.parentNode;e&&e!=this.dom&&!e.pmIsDeco;)e=e.parentNode;return{skip:e||!0}}},{key:"update",value:function(e,t,n,r){return!(3==this.dirty||0!=this.dirty&&!this.inParent()||!e.sameMarkup(this.node))&&(this.updateOuterDeco(t),0==this.dirty&&e.text==this.node.text||e.text==this.nodeDOM.nodeValue||(this.nodeDOM.nodeValue=e.text,r.trackWrites==this.nodeDOM&&(r.trackWrites=null)),this.node=e,this.dirty=0,!0)}},{key:"inParent",value:function(){for(var e=this.parent.contentDOM,t=this.nodeDOM;t;t=t.parentNode)if(t==e)return!0;return!1}},{key:"domFromPos",value:function(e){return{node:this.nodeDOM,offset:e}}},{key:"localPosFromDOM",value:function(e,t,r){return e==this.nodeDOM?this.posAtStart+Math.min(t,this.node.text.length):i(u(n.prototype),"localPosFromDOM",this).call(this,e,t,r)}},{key:"ignoreMutation",value:function(e){return"characterData"!=e.type&&"selection"!=e.type}},{key:"slice",value:function(e,t,r){var o=this.node.cut(e,t),i=document.createTextNode(o.text);return new n(this.parent,o,this.outerDeco,this.innerDeco,i,i,r)}},{key:"markDirty",value:function(e,t){i(u(n.prototype),"markDirty",this).call(this,e,t),this.dom==this.nodeDOM||0!=e&&t!=this.nodeDOM.nodeValue.length||(this.dirty=3)}},{key:"domAtom",get:function(){return!1}}]),n}(xe),Ce=function(e){a(n,e);var t=l(n);function n(){return p(this,n),t.apply(this,arguments)}return h(n,[{key:"parseRule",value:function(){return{ignore:!0}}},{key:"matchesHack",value:function(e){return 0==this.dirty&&this.dom.nodeName==e}},{key:"domAtom",get:function(){return!0}},{key:"ignoreForCoords",get:function(){return"IMG"==this.dom.nodeName}}]),n}(ge),Ee=function(e){a(n,e);var t=l(n);function n(e,r,o,i,a,s,l,c,u,d){var f;return p(this,n),(f=t.call(this,e,r,o,i,a,s,l,u,d)).spec=c,f}return h(n,[{key:"update",value:function(e,t,r,o){if(3==this.dirty)return!1;if(this.spec.update){var a=this.spec.update(e,t,r);return a&&this.updateInner(e,t,r,o),a}return!(!this.contentDOM&&!e.isLeaf)&&i(u(n.prototype),"update",this).call(this,e,t,r,o)}},{key:"selectNode",value:function(){this.spec.selectNode?this.spec.selectNode():i(u(n.prototype),"selectNode",this).call(this)}},{key:"deselectNode",value:function(){this.spec.deselectNode?this.spec.deselectNode():i(u(n.prototype),"deselectNode",this).call(this)}},{key:"setSelection",value:function(e,t,r,o){this.spec.setSelection?this.spec.setSelection(e,t,r):i(u(n.prototype),"setSelection",this).call(this,e,t,r,o)}},{key:"destroy",value:function(){this.spec.destroy&&this.spec.destroy(),i(u(n.prototype),"destroy",this).call(this)}},{key:"stopEvent",value:function(e){return!!this.spec.stopEvent&&this.spec.stopEvent(e)}},{key:"ignoreMutation",value:function(e){return this.spec.ignoreMutation?this.spec.ignoreMutation(e):i(u(n.prototype),"ignoreMutation",this).call(this,e)}}]),n}(xe);function Te(e,t,n){for(var r=e.firstChild,o=!1,i=0;i<t.length;i++){var a=t[i],s=a.dom;if(s.parentNode==e){for(;s!=r;)r=Re(r),o=!0;r=r.nextSibling}else o=!0,e.insertBefore(s,r);if(a instanceof we){var l=r?r.previousSibling:e.lastChild;Te(a.contentDOM,a.children,n),r=l?l.nextSibling:e.firstChild}}for(;r;)r=Re(r),o=!0;o&&n.trackWrites==e&&(n.trackWrites=null)}var Oe=function(e){e&&(this.nodeName=e)};Oe.prototype=Object.create(null);var $e=[new Oe];function Me(e,t,n){if(0==e.length)return $e;for(var r=n?$e[0]:new Oe,o=[r],i=0;i<e.length;i++){var a=e[i].type.attrs;if(a)for(var s in a.nodeName&&o.push(r=new Oe(a.nodeName)),a){var l=a[s];null!=l&&(n&&1==o.length&&o.push(r=new Oe(t.isInline?"span":"div")),"class"==s?r.class=(r.class?r.class+" ":"")+l:"style"==s?r.style=(r.style?r.style+";":"")+l:"nodeName"!=s&&(r[s]=l))}}return o}function Ae(e,t,n,r){if(n==$e&&r==$e)return t;for(var o=t,i=0;i<r.length;i++){var a=r[i],s=n[i];if(i){var l=void 0;s&&s.nodeName==a.nodeName&&o!=e&&(l=o.parentNode)&&l.nodeName.toLowerCase()==a.nodeName||((l=document.createElement(a.nodeName)).pmIsDeco=!0,l.appendChild(o),s=$e[0]),o=l}De(o,s||$e[0],a)}return o}function De(e,t,n){for(var r in t)"class"==r||"style"==r||"nodeName"==r||r in n||e.removeAttribute(r);for(var o in n)"class"!=o&&"style"!=o&&"nodeName"!=o&&n[o]!=t[o]&&e.setAttribute(o,n[o]);if(t.class!=n.class){for(var i=t.class?t.class.split(" ").filter(Boolean):[],a=n.class?n.class.split(" ").filter(Boolean):[],s=0;s<i.length;s++)-1==a.indexOf(i[s])&&e.classList.remove(i[s]);for(var l=0;l<a.length;l++)-1==i.indexOf(a[l])&&e.classList.add(a[l]);0==e.classList.length&&e.removeAttribute("class")}if(t.style!=n.style){if(t.style)for(var c,u=/\s*([\w\-\xa1-\uffff]+)\s*:(?:"(?:\\.|[^"])*"|'(?:\\.|[^'])*'|\(.*?\)|[^;])*/g;c=u.exec(t.style);)e.style.removeProperty(c[1]);n.style&&(e.style.cssText+=n.style)}}function Le(e,t,n){return Ae(e,e,$e,Me(t,n,1!=e.nodeType))}function Ne(e,t){if(e.length!=t.length)return!1;for(var n=0;n<e.length;n++)if(!e[n].type.eq(t[n].type))return!1;return!0}function Re(e){var t=e.nextSibling;return e.parentNode.removeChild(e),t}var Ie=function(){function e(t,n,r){p(this,e),this.lock=n,this.view=r,this.index=0,this.stack=[],this.changed=!1,this.top=t,this.preMatch=function(e,t){var n=t,r=n.children.length,o=e.childCount,i=new Map,a=[];e:for(;o>0;){for(var s=void 0;;)if(r){var l=n.children[r-1];if(!(l instanceof we)){s=l,r--;break}n=l,r=l.children.length}else{if(n==t)break e;r=n.parent.children.indexOf(n),n=n.parent}var c=s.node;if(c){if(c!=e.child(o-1))break;--o,i.set(s,o),a.push(s)}}return{index:o,matched:i,matches:a.reverse()}}(t.node.content,t)}return h(e,[{key:"destroyBetween",value:function(e,t){if(e!=t){for(var n=e;n<t;n++)this.top.children[n].destroy();this.top.children.splice(e,t-e),this.changed=!0}}},{key:"destroyRest",value:function(){this.destroyBetween(this.index,this.top.children.length)}},{key:"syncToMarks",value:function(e,t,n){for(var r=0,o=this.stack.length>>1,i=Math.min(o,e.length);r<i&&(r==o-1?this.top:this.stack[r+1<<1]).matchesMark(e[r])&&!1!==e[r].type.spec.spanning;)r++;for(;r<o;)this.destroyRest(),this.top.dirty=0,this.index=this.stack.pop(),this.top=this.stack.pop(),o--;for(;o<e.length;){this.stack.push(this.top,this.index+1);for(var a=-1,s=this.index;s<Math.min(this.index+3,this.top.children.length);s++){var l=this.top.children[s];if(l.matchesMark(e[o])&&!this.isLocked(l.dom)){a=s;break}}if(a>-1)a>this.index&&(this.changed=!0,this.destroyBetween(this.index,a)),this.top=this.top.children[this.index];else{var c=we.create(this.top,e[o],t,n);this.top.children.splice(this.index,0,c),this.top=c,this.changed=!0}this.index=0,o++}}},{key:"findNodeMatch",value:function(e,t,n,r){var o,i=-1;if(r>=this.preMatch.index&&(o=this.preMatch.matches[r-this.preMatch.index]).parent==this.top&&o.matchesNode(e,t,n))i=this.top.children.indexOf(o,this.index);else for(var a=this.index,s=Math.min(this.top.children.length,a+5);a<s;a++){var l=this.top.children[a];if(l.matchesNode(e,t,n)&&!this.preMatch.matched.has(l)){i=a;break}}return!(i<0)&&(this.destroyBetween(this.index,i),this.index++,!0)}},{key:"updateNodeAt",value:function(e,t,n,r,o){var i=this.top.children[r];return 3==i.dirty&&i.dom==i.contentDOM&&(i.dirty=2),!!i.update(e,t,n,o)&&(this.destroyBetween(this.index,r),this.index++,!0)}},{key:"findIndexWithChild",value:function(e){for(;;){var t=e.parentNode;if(!t)return-1;if(t==this.top.contentDOM){var n=e.pmViewDesc;if(n)for(var r=this.index;r<this.top.children.length;r++)if(this.top.children[r]==n)return r;return-1}e=t}}},{key:"updateNextNode",value:function(e,t,n,r,o,i){for(var a=this.index;a<this.top.children.length;a++){var s=this.top.children[a];if(s instanceof xe){var l=this.preMatch.matched.get(s);if(null!=l&&l!=o)return!1;var c=s.dom,u=void 0,d=this.isLocked(c)&&!(e.isText&&s.node&&s.node.isText&&s.nodeDOM.nodeValue==e.text&&3!=s.dirty&&Ne(t,s.outerDeco));if(!d&&s.update(e,t,n,r))return this.destroyBetween(this.index,a),s.dom!=c&&(this.changed=!0),this.index++,!0;if(!d&&(u=this.recreateWrapper(s,e,t,n,r,i)))return this.top.children[this.index]=u,u.contentDOM&&(u.dirty=2,u.updateChildren(r,i+1),u.dirty=0),this.changed=!0,this.index++,!0;break}}return!1}},{key:"recreateWrapper",value:function(e,t,n,o,i,a){if(e.dirty||t.isAtom||!e.children.length||!e.node.content.eq(t.content))return null;var s=xe.create(this.top,t,n,o,i,a);if(s.contentDOM){s.children=e.children,e.children=[];var l,c=r(s.children);try{for(c.s();!(l=c.n()).done;){l.value.parent=s}}catch(u){c.e(u)}finally{c.f()}}return e.destroy(),s}},{key:"addNode",value:function(e,t,n,r,o){var i=xe.create(this.top,e,t,n,r,o);i.contentDOM&&i.updateChildren(r,o+1),this.top.children.splice(this.index++,0,i),this.changed=!0}},{key:"placeWidget",value:function(e,t,n){var r=this.index<this.top.children.length?this.top.children[this.index]:null;if(!r||!r.matchesWidget(e)||e!=r.widget&&r.widget.type.toDOM.parentNode){var o=new ye(this.top,e,t,n);this.top.children.splice(this.index++,0,o),this.changed=!0}else this.index++}},{key:"addTextblockHacks",value:function(){for(var e=this.top.children[this.index-1],t=this.top;e instanceof we;)e=(t=e).children[t.children.length-1];(!e||!(e instanceof Se)||/\n$/.test(e.node.text)||this.view.requiresGeckoHackNode&&/\s$/.test(e.node.text))&&((B||F)&&e&&"false"==e.dom.contentEditable&&this.addHackNode("IMG",t),this.addHackNode("BR",this.top))}},{key:"addHackNode",value:function(e,t){if(t==this.top&&this.index<t.children.length&&t.children[this.index].matchesHack(e))this.index++;else{var n=document.createElement(e);"IMG"==e&&(n.className="ProseMirror-separator",n.alt=""),"BR"==e&&(n.className="ProseMirror-trailingBreak");var r=new Ce(this.top,[],n,null);t!=this.top?t.children.push(r):t.children.splice(this.index++,0,r),this.changed=!0}}},{key:"isLocked",value:function(e){return this.lock&&(e==this.lock||1==e.nodeType&&e.contains(this.lock.parentNode))}}]),e}();function Pe(e,t){return e.type.side-t.type.side}function Ze(e,t,n,r,o){for(var i=[],a=0,s=0;a<e.length;a++){var l=e[a],c=s,u=s+=l.size;c>=n||u<=t?i.push(l):(c<t&&i.push(l.slice(0,t-c,r)),o&&(i.push(o),o=void 0),u>n&&i.push(l.slice(n-c,l.size,r)))}return i}function _e(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,n=e.domSelectionRange(),r=e.state.doc;if(!n.focusNode)return null;var o=e.docView.nearestDesc(n.focusNode),i=o&&0==o.size,a=e.docView.posFromDOM(n.focusNode,n.focusOffset,1);if(a<0)return null;var s,l,c=r.resolve(a);if(O(n)){for(s=c;o&&!o.node;)o=o.parent;var u=o.node;if(o&&u.isAtom&&m.NodeSelection.isSelectable(u)&&o.parent&&(!u.isInline||!function(e,t,n){for(var r=0==t,o=t==E(e);r||o;){if(e==n)return!0;var i=y(e);if(!(e=e.parentNode))return!1;r=r&&0==i,o=o&&i==E(e)}}(n.focusNode,n.focusOffset,o.dom))){var d=o.posBefore;l=new m.NodeSelection(a==d?c:r.resolve(d))}}else{var p=e.docView.posFromDOM(n.anchorNode,n.anchorOffset,1);if(p<0)return null;s=r.resolve(p)}l||(l=qe(e,s,c,"pointer"==t||e.state.selection.head<c.pos&&!i?1:-1));return l}function Fe(e){return e.editable?e.hasFocus():Ke(e)&&document.activeElement&&document.activeElement.contains(e.dom)}function je(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=e.state.selection;if(We(e,n),Fe(e)){if(!t&&e.input.mouseDown&&e.input.mouseDown.allowDefault&&F){var r=e.domSelectionRange(),o=e.domObserver.currentSelection;if(r.anchorNode&&o.anchorNode&&k(r.anchorNode,r.anchorOffset,o.anchorNode,o.anchorOffset))return e.input.mouseDown.delayedSelectionSync=!0,void e.domObserver.setCurSelection()}if(e.domObserver.disconnectSelection(),e.cursorWrapper)!function(e){var t=e.domSelection(),n=document.createRange(),r=e.cursorWrapper.dom,o="IMG"==r.nodeName;o?n.setEnd(r.parentNode,y(r)+1):n.setEnd(r,0);n.collapse(!1),t.removeAllRanges(),t.addRange(n),!o&&!e.state.selection.visible&&I&&P<=11&&(r.disabled=!0,r.disabled=!1)}(e);else{var i,a,s=n.anchor,l=n.head;!Be||n instanceof m.TextSelection||(n.$from.parent.inlineContent||(i=ze(e,n.from)),n.empty||n.$from.parent.inlineContent||(a=ze(e,n.to))),e.docView.setSelection(s,l,e.root,t),Be&&(i&&Ue(i),a&&Ue(a)),n.visible?e.dom.classList.remove("ProseMirror-hideselection"):(e.dom.classList.add("ProseMirror-hideselection"),"onselectionchange"in document&&function(e){var t=e.dom.ownerDocument;t.removeEventListener("selectionchange",e.input.hideSelectionGuard);var n=e.domSelectionRange(),r=n.anchorNode,o=n.anchorOffset;t.addEventListener("selectionchange",e.input.hideSelectionGuard=function(){n.anchorNode==r&&n.anchorOffset==o||(t.removeEventListener("selectionchange",e.input.hideSelectionGuard),setTimeout((function(){Fe(e)&&!e.state.selection.visible||e.dom.classList.remove("ProseMirror-hideselection")}),20))})}(e))}e.domObserver.setCurSelection(),e.domObserver.connectSelection()}}var Be=B||F&&j<63;function ze(e,t){var n=e.docView.domFromPos(t,0),r=n.node,o=n.offset,i=o<r.childNodes.length?r.childNodes[o]:null,a=o?r.childNodes[o-1]:null;if(B&&i&&"false"==i.contentEditable)return He(i);if(!(i&&"false"!=i.contentEditable||a&&"false"!=a.contentEditable)){if(i)return He(i);if(a)return He(a)}}function He(e){return e.contentEditable="true",B&&e.draggable&&(e.draggable=!1,e.wasDraggable=!0),e}function Ue(e){e.contentEditable="false",e.wasDraggable&&(e.draggable=!0,e.wasDraggable=null)}function We(e,t){if(t instanceof m.NodeSelection){var n=e.docView.descAt(t.from);n!=e.lastSelectedViewDesc&&(Ve(e),n&&n.selectNode(),e.lastSelectedViewDesc=n)}else Ve(e)}function Ve(e){e.lastSelectedViewDesc&&(e.lastSelectedViewDesc.parent&&e.lastSelectedViewDesc.deselectNode(),e.lastSelectedViewDesc=void 0)}function qe(e,t,n,r){return e.someProp("createSelectionBetween",(function(r){return r(e,t,n)}))||m.TextSelection.between(t,n,r)}function Ge(e){return!(e.editable&&!e.hasFocus())&&Ke(e)}function Ke(e){var t=e.domSelectionRange();if(!t.anchorNode)return!1;try{return e.dom.contains(3==t.anchorNode.nodeType?t.anchorNode.parentNode:t.anchorNode)&&(e.editable||e.dom.contains(3==t.focusNode.nodeType?t.focusNode.parentNode:t.focusNode))}catch(n){return!1}}function Ye(e,t){var n=e.selection,r=n.$anchor,o=n.$head,i=t>0?r.max(o):r.min(o),a=i.parent.inlineContent?i.depth?e.doc.resolve(t>0?i.after():i.before()):null:i;return a&&m.Selection.findFrom(a,t)}function Xe(e,t){return e.dispatch(e.state.tr.setSelection(t).scrollIntoView()),!0}function Je(e,t,n){var r=e.state.selection;if(!(r instanceof m.TextSelection)){if(r instanceof m.NodeSelection&&r.node.isInline)return Xe(e,new m.TextSelection(t>0?r.$to:r.$from));var o=Ye(e.state,t);return!!o&&Xe(e,o)}if(n.indexOf("s")>-1){var i=r.$head,a=i.textOffset?null:t<0?i.nodeBefore:i.nodeAfter;if(!a||a.isText||!a.isLeaf)return!1;var s=e.state.doc.resolve(i.pos+a.nodeSize*(t<0?-1:1));return Xe(e,new m.TextSelection(r.$anchor,s))}if(!r.empty)return!1;if(e.endOfTextblock(t>0?"forward":"backward")){var l=Ye(e.state,t);return!!(l&&l instanceof m.NodeSelection)&&Xe(e,l)}if(!(H&&n.indexOf("m")>-1)){var c,u=r.$head,d=u.textOffset?null:t<0?u.nodeBefore:u.nodeAfter;if(!d||d.isText)return!1;var p=t<0?u.pos-d.nodeSize:u.pos;return!!(d.isAtom||(c=e.docView.descAt(p))&&!c.contentDOM)&&(m.NodeSelection.isSelectable(d)?Xe(e,new m.NodeSelection(t<0?e.state.doc.resolve(u.pos-d.nodeSize):u)):!!V&&Xe(e,new m.TextSelection(e.state.doc.resolve(t<0?p:p+d.nodeSize))))}}function Qe(e){return 3==e.nodeType?e.nodeValue.length:e.childNodes.length}function et(e,t){var n=e.pmViewDesc;return n&&0==n.size&&(t<0||e.nextSibling||"BR"!=e.nodeName)}function tt(e,t){return t<0?function(e){var t=e.domSelectionRange(),n=t.focusNode,r=t.focusOffset;if(!n)return;var o,i,a=!1;Z&&1==n.nodeType&&r<Qe(n)&&et(n.childNodes[r],-1)&&(a=!0);for(;;)if(r>0){if(1!=n.nodeType)break;var s=n.childNodes[r-1];if(et(s,-1))o=n,i=--r;else{if(3!=s.nodeType)break;r=(n=s).nodeValue.length}}else{if(nt(n))break;for(var l=n.previousSibling;l&&et(l,-1);)o=n.parentNode,i=y(l),l=l.previousSibling;if(l)r=Qe(n=l);else{if((n=n.parentNode)==e.dom)break;r=0}}a?rt(e,n,r):o&&rt(e,o,i)}(e):function(e){var t=e.domSelectionRange(),n=t.focusNode,r=t.focusOffset;if(!n)return;for(var o,i,a=Qe(n);;)if(r<a){if(1!=n.nodeType)break;if(!et(n.childNodes[r],1))break;o=n,i=++r}else{if(nt(n))break;for(var s=n.nextSibling;s&&et(s,1);)o=s.parentNode,i=y(s)+1,s=s.nextSibling;if(s)r=0,a=Qe(n=s);else{if((n=n.parentNode)==e.dom)break;r=a=0}}o&&rt(e,o,i)}(e)}function nt(e){var t=e.pmViewDesc;return t&&t.node&&t.node.isBlock}function rt(e,t,n){var r,o;3!=t.nodeType&&((o=function(e,t){for(;e&&t==e.childNodes.length&&!T(e);)t=y(e)+1,e=e.parentNode;for(;e&&t<e.childNodes.length;){var n=e.childNodes[t];if(3==n.nodeType)return n;if(1==n.nodeType&&"false"==n.contentEditable)break;e=n,t=0}}(t,n))?(t=o,n=0):(r=function(e,t){for(;e&&!t&&!T(e);)t=y(e),e=e.parentNode;for(;e&&t;){var n=e.childNodes[t-1];if(3==n.nodeType)return n;if(1==n.nodeType&&"false"==n.contentEditable)break;t=(e=n).childNodes.length}}(t,n))&&(t=r,n=r.nodeValue.length));var i=e.domSelection();if(O(i)){var a=document.createRange();a.setEnd(t,n),a.setStart(t,n),i.removeAllRanges(),i.addRange(a)}else i.extend&&i.extend(t,n);e.domObserver.setCurSelection();var s=e.state;setTimeout((function(){e.state==s&&je(e)}),50)}function ot(e,t){var n=e.state.doc.resolve(t);if(!F&&!U&&n.parent.inlineContent){var r=e.coordsAtPos(t);if(t>n.start()){var o=e.coordsAtPos(t-1),i=(o.top+o.bottom)/2;if(i>r.top&&i<r.bottom&&Math.abs(o.left-r.left)>1)return o.left<r.left?"ltr":"rtl"}if(t<n.end()){var a=e.coordsAtPos(t+1),s=(a.top+a.bottom)/2;if(s>r.top&&s<r.bottom&&Math.abs(a.left-r.left)>1)return a.left>r.left?"ltr":"rtl"}}return"rtl"==getComputedStyle(e.dom).direction?"rtl":"ltr"}function it(e,t,n){var r=e.state.selection;if(r instanceof m.TextSelection&&!r.empty||n.indexOf("s")>-1)return!1;if(H&&n.indexOf("m")>-1)return!1;var o=r.$from,i=r.$to;if(!o.parent.inlineContent||e.endOfTextblock(t<0?"up":"down")){var a=Ye(e.state,t);if(a&&a instanceof m.NodeSelection)return Xe(e,a)}if(!o.parent.inlineContent){var s=t<0?o:i,l=r instanceof m.AllSelection?m.Selection.near(s,t):m.Selection.findFrom(s,t);return!!l&&Xe(e,l)}return!1}function at(e,t){if(!(e.state.selection instanceof m.TextSelection))return!0;var n=e.state.selection,r=n.$head,o=n.$anchor,i=n.empty;if(!r.sameParent(o))return!0;if(!i)return!1;if(e.endOfTextblock(t>0?"forward":"backward"))return!0;var a=!r.textOffset&&(t<0?r.nodeBefore:r.nodeAfter);if(a&&!a.isText){var s=e.state.tr;return t<0?s.delete(r.pos-a.nodeSize,r.pos):s.delete(r.pos,r.pos+a.nodeSize),e.dispatch(s),!0}return!1}function st(e,t,n){e.domObserver.stop(),t.contentEditable=n,e.domObserver.start()}function lt(e,t){var n=t.keyCode,r=function(e){var t="";return e.ctrlKey&&(t+="c"),e.metaKey&&(t+="m"),e.altKey&&(t+="a"),e.shiftKey&&(t+="s"),t}(t);if(8==n||H&&72==n&&"c"==r)return at(e,-1)||tt(e,-1);if(46==n&&!t.shiftKey||H&&68==n&&"c"==r)return at(e,1)||tt(e,1);if(13==n||27==n)return!0;if(37==n||H&&66==n&&"c"==r){var o=37==n?"ltr"==ot(e,e.state.selection.from)?-1:1:-1;return Je(e,o,r)||tt(e,o)}if(39==n||H&&70==n&&"c"==r){var i=39==n?"ltr"==ot(e,e.state.selection.from)?1:-1:1;return Je(e,i,r)||tt(e,i)}return 38==n||H&&80==n&&"c"==r?it(e,-1,r)||tt(e,-1):40==n||H&&78==n&&"c"==r?function(e){if(!B||e.state.selection.$head.parentOffset>0)return!1;var t=e.domSelectionRange(),n=t.focusNode,r=t.focusOffset;if(n&&1==n.nodeType&&0==r&&n.firstChild&&"false"==n.firstChild.contentEditable){var o=n.firstChild;st(e,o,"true"),setTimeout((function(){return st(e,o,"false")}),20)}return!1}(e)||it(e,1,r)||tt(e,1):r==(H?"m":"c")&&(66==n||73==n||89==n||90==n)}function ct(e,t){e.someProp("transformCopied",(function(n){t=n(t,e)}));for(var n=[],r=t,o=r.content,i=r.openStart,a=r.openEnd;i>1&&a>1&&1==o.childCount&&1==o.firstChild.childCount;){i--,a--;var s=o.firstChild;n.push(s.type.name,s.attrs!=s.type.defaultAttrs?s.attrs:null),o=s.content}var l=e.someProp("clipboardSerializer")||v.DOMSerializer.fromSchema(e.state.schema),c=bt(),u=c.createElement("div");u.appendChild(l.serializeFragment(o,{document:c}));for(var d,p=u.firstChild,f=0;p&&1==p.nodeType&&(d=gt[p.nodeName.toLowerCase()]);){for(var h=d.length-1;h>=0;h--){for(var m=c.createElement(d[h]);u.firstChild;)m.appendChild(u.firstChild);u.appendChild(m),f++}p=u.firstChild}return p&&1==p.nodeType&&p.setAttribute("data-pm-slice","".concat(i," ").concat(a).concat(f?" -".concat(f):""," ").concat(JSON.stringify(n))),{dom:u,text:e.someProp("clipboardTextSerializer",(function(n){return n(t,e)}))||t.content.textBetween(0,t.content.size,"\n\n")}}function ut(e,t,n,r,o){var i,a,s=o.parent.type.spec.code;if(!n&&!t)return null;var l=t&&(r||s||!n);if(l){if(e.someProp("transformPastedText",(function(n){t=n(t,s||r,e)})),s)return t?new v.Slice(v.Fragment.from(e.state.schema.text(t.replace(/\r\n?/g,"\n"))),0,0):v.Slice.empty;var c=e.someProp("clipboardTextParser",(function(n){return n(t,o,r,e)}));if(c)a=c;else{var u=o.marks(),d=e.state.schema,p=v.DOMSerializer.fromSchema(d);i=document.createElement("div"),t.split(/(?:\r\n?|\n)+/).forEach((function(e){var t=i.appendChild(document.createElement("p"));e&&t.appendChild(p.serializeNode(d.text(e,u)))}))}}else e.someProp("transformPastedHTML",(function(t){n=t(n,e)})),i=function(e){var t=/^(\s*<meta [^>]*>)*/.exec(e);t&&(e=e.slice(t[0].length));var n,r=bt().createElement("div"),o=/<([a-z][^>\s]+)/i.exec(e);(n=o&>[o[1].toLowerCase()])&&(e=n.map((function(e){return"<"+e+">"})).join("")+e+n.map((function(e){return"</"+e+">"})).reverse().join(""));if(r.innerHTML=e,n)for(var i=0;i<n.length;i++)r=r.querySelector(n[i])||r;return r}(n),V&&function(e){for(var t=e.querySelectorAll(F?"span:not([class]):not([style])":"span.Apple-converted-space"),n=0;n<t.length;n++){var r=t[n];1==r.childNodes.length&&" "==r.textContent&&r.parentNode&&r.parentNode.replaceChild(e.ownerDocument.createTextNode(" "),r)}}(i);var f=i&&i.querySelector("[data-pm-slice]"),h=f&&/^(\d+) (\d+)(?: -(\d+))? (.*)/.exec(f.getAttribute("data-pm-slice")||"");if(h&&h[3])for(var m=+h[3];m>0;m--){for(var g=i.firstChild;g&&1!=g.nodeType;)g=g.nextSibling;if(!g)break;i=g}if(!a){var y=e.someProp("clipboardParser")||e.someProp("domParser")||v.DOMParser.fromSchema(e.state.schema);a=y.parseSlice(i,{preserveWhitespace:!(!l&&!h),context:o,ruleFromNode:function(e){return"BR"!=e.nodeName||e.nextSibling||!e.parentNode||dt.test(e.parentNode.nodeName)?null:{ignore:!0}}})}if(h)a=function(e,t){if(!e.size)return e;var n,r=e.content.firstChild.type.schema;try{n=JSON.parse(t)}catch(c){return e}for(var o=e.content,i=e.openStart,a=e.openEnd,s=n.length-2;s>=0;s-=2){var l=r.nodes[n[s]];if(!l||l.hasRequiredAttrs())break;o=v.Fragment.from(l.create(n[s+1],o)),i++,a++}return new v.Slice(o,i,a)}(vt(a,+h[1],+h[2]),h[4]);else if(a=v.Slice.maxOpen(function(e,t){if(e.childCount<2)return e;for(var n,r=function(){var n,r=t.node(o).contentMatchAt(t.index(o)),i=[];if(e.forEach((function(e){if(i){var t,o=r.findWrapping(e.type);if(!o)return i=null;if(t=i.length&&n.length&&ft(o,n,e,i[i.length-1],0))i[i.length-1]=t;else{i.length&&(i[i.length-1]=ht(i[i.length-1],n.length));var a=pt(e,o);i.push(a),r=r.matchType(a.type),n=o}}})),i)return{v:v.Fragment.from(i)}},o=t.depth;o>=0;o--)if(n=r())return n.v;return e}(a.content,o),!0),a.openStart||a.openEnd){for(var b=0,w=0,x=a.content.firstChild;b<a.openStart&&!x.type.spec.isolating;b++,x=x.firstChild);for(var k=a.content.lastChild;w<a.openEnd&&!k.type.spec.isolating;w++,k=k.lastChild);a=vt(a,b,w)}return e.someProp("transformPasted",(function(t){a=t(a,e)})),a}var dt=/^(a|abbr|acronym|b|cite|code|del|em|i|ins|kbd|label|output|q|ruby|s|samp|span|strong|sub|sup|time|u|tt|var)$/i;function pt(e,t){for(var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0,r=t.length-1;r>=n;r--)e=t[r].create(null,v.Fragment.from(e));return e}function ft(e,t,n,r,o){if(o<e.length&&o<t.length&&e[o]==t[o]){var i=ft(e,t,n,r.lastChild,o+1);if(i)return r.copy(r.content.replaceChild(r.childCount-1,i));if(r.contentMatchAt(r.childCount).matchType(o==e.length-1?n.type:e[o+1]))return r.copy(r.content.append(v.Fragment.from(pt(n,e,o+1))))}}function ht(e,t){if(0==t)return e;var n=e.content.replaceChild(e.childCount-1,ht(e.lastChild,t-1)),r=e.contentMatchAt(e.childCount).fillBefore(v.Fragment.empty,!0);return e.copy(n.append(r))}function mt(e,t,n,r,o,i){var a=t<0?e.firstChild:e.lastChild,s=a.content;return e.childCount>1&&(i=0),o<r-1&&(s=mt(s,t,n,r,o+1,i)),o>=n&&(s=t<0?a.contentMatchAt(0).fillBefore(s,i<=o).append(s):s.append(a.contentMatchAt(a.childCount).fillBefore(v.Fragment.empty,!0))),e.replaceChild(t<0?0:e.childCount-1,a.copy(s))}function vt(e,t,n){return t<e.openStart&&(e=new v.Slice(mt(e.content,-1,t,e.openStart,0,e.openEnd),t,e.openEnd)),n<e.openEnd&&(e=new v.Slice(mt(e.content,1,n,e.openEnd,0,0),e.openStart,n)),e}var gt={thead:["table"],tbody:["table"],tfoot:["table"],caption:["table"],colgroup:["table"],col:["table","colgroup"],tr:["table","tbody"],td:["table","tbody","tr"],th:["table","tbody","tr"]},yt=null;function bt(){return yt||(yt=document.implementation.createHTMLDocument("title"))}var wt={},xt={},kt={touchstart:!0,touchmove:!0},St=h((function e(){p(this,e),this.shiftKey=!1,this.mouseDown=null,this.lastKeyCode=null,this.lastKeyCodeTime=0,this.lastClick={time:0,x:0,y:0,type:""},this.lastSelectionOrigin=null,this.lastSelectionTime=0,this.lastIOSEnter=0,this.lastIOSEnterFallbackTimeout=-1,this.lastFocus=0,this.lastTouch=0,this.lastAndroidDelete=0,this.composing=!1,this.composingTimeout=-1,this.compositionNodes=[],this.compositionEndedAt=-2e8,this.compositionID=1,this.compositionPendingChanges=0,this.domChangeCount=0,this.eventHandlers=Object.create(null),this.hideSelectionGuard=null}));function Ct(e,t){e.input.lastSelectionOrigin=t,e.input.lastSelectionTime=Date.now()}function Et(e){e.someProp("handleDOMEvents",(function(t){for(var n in t)e.input.eventHandlers[n]||e.dom.addEventListener(n,e.input.eventHandlers[n]=function(t){return Tt(e,t)})}))}function Tt(e,t){return e.someProp("handleDOMEvents",(function(n){var r=n[t.type];return!!r&&(r(e,t)||t.defaultPrevented)}))}function Ot(e){return{left:e.clientX,top:e.clientY}}function $t(e,t,n,r,o){if(-1==r)return!1;for(var i,a=e.state.doc.resolve(r),s=function(r){if(e.someProp(t,(function(t){return r>a.depth?t(e,n,a.nodeAfter,a.before(r),o,!0):t(e,n,a.node(r),a.before(r),o,!1)})))return{v:!0}},l=a.depth+1;l>0;l--)if(i=s(l))return i.v;return!1}function Mt(e,t,n){e.focused||e.focus();var r=e.state.tr.setSelection(t);"pointer"==n&&r.setMeta("pointer",!0),e.dispatch(r)}function At(e,t,n,r,o){return $t(e,"handleClickOn",t,n,r)||e.someProp("handleClick",(function(n){return n(e,t,r)}))||(o?function(e,t){if(-1==t)return!1;var n,r,o=e.state.selection;o instanceof m.NodeSelection&&(n=o.node);for(var i=e.state.doc.resolve(t),a=i.depth+1;a>0;a--){var s=a>i.depth?i.nodeAfter:i.node(a);if(m.NodeSelection.isSelectable(s)){r=n&&o.$from.depth>0&&a>=o.$from.depth&&i.before(o.$from.depth+1)==o.$from.pos?i.before(o.$from.depth):i.before(a);break}}return null!=r&&(Mt(e,m.NodeSelection.create(e.state.doc,r),"pointer"),!0)}(e,n):function(e,t){if(-1==t)return!1;var n=e.state.doc.resolve(t),r=n.nodeAfter;return!!(r&&r.isAtom&&m.NodeSelection.isSelectable(r))&&(Mt(e,new m.NodeSelection(n),"pointer"),!0)}(e,n))}function Dt(e,t,n,r){return $t(e,"handleDoubleClickOn",t,n,r)||e.someProp("handleDoubleClick",(function(n){return n(e,t,r)}))}function Lt(e,t,n,r){return $t(e,"handleTripleClickOn",t,n,r)||e.someProp("handleTripleClick",(function(n){return n(e,t,r)}))||function(e,t,n){if(0!=n.button)return!1;var r=e.state.doc;if(-1==t)return!!r.inlineContent&&(Mt(e,m.TextSelection.create(r,0,r.content.size),"pointer"),!0);for(var o=r.resolve(t),i=o.depth+1;i>0;i--){var a=i>o.depth?o.nodeAfter:o.node(i),s=o.before(i);if(a.inlineContent)Mt(e,m.TextSelection.create(r,s+1,s+1+a.content.size),"pointer");else{if(!m.NodeSelection.isSelectable(a))continue;Mt(e,m.NodeSelection.create(r,s),"pointer")}return!0}}(e,n,r)}function Nt(e){return jt(e)}xt.keydown=function(e,t){var n=t;if(e.input.shiftKey=16==n.keyCode||n.shiftKey,!Pt(e,n)&&(e.input.lastKeyCode=n.keyCode,e.input.lastKeyCodeTime=Date.now(),!W||!F||13!=n.keyCode))if(229!=n.keyCode&&e.domObserver.forceFlush(),!z||13!=n.keyCode||n.ctrlKey||n.altKey||n.metaKey)e.someProp("handleKeyDown",(function(t){return t(e,n)}))||lt(e,n)?n.preventDefault():Ct(e,"key");else{var r=Date.now();e.input.lastIOSEnter=r,e.input.lastIOSEnterFallbackTimeout=setTimeout((function(){e.input.lastIOSEnter==r&&(e.someProp("handleKeyDown",(function(t){return t(e,$(13,"Enter"))})),e.input.lastIOSEnter=0)}),200)}},xt.keyup=function(e,t){16==t.keyCode&&(e.input.shiftKey=!1)},xt.keypress=function(e,t){var n=t;if(!(Pt(e,n)||!n.charCode||n.ctrlKey&&!n.altKey||H&&n.metaKey))if(e.someProp("handleKeyPress",(function(t){return t(e,n)})))n.preventDefault();else{var r=e.state.selection;if(!(r instanceof m.TextSelection&&r.$from.sameParent(r.$to))){var o=String.fromCharCode(n.charCode);/[\r\n]/.test(o)||e.someProp("handleTextInput",(function(t){return t(e,r.$from.pos,r.$to.pos,o)}))||e.dispatch(e.state.tr.insertText(o).scrollIntoView()),n.preventDefault()}}};var Rt=H?"metaKey":"ctrlKey";wt.mousedown=function(e,t){var n=t;e.input.shiftKey=n.shiftKey;var r=Nt(e),o=Date.now(),i="singleClick";o-e.input.lastClick.time<500&&function(e,t){var n=t.x-e.clientX,r=t.y-e.clientY;return n*n+r*r<100}(n,e.input.lastClick)&&!n[Rt]&&("singleClick"==e.input.lastClick.type?i="doubleClick":"doubleClick"==e.input.lastClick.type&&(i="tripleClick")),e.input.lastClick={time:o,x:n.clientX,y:n.clientY,type:i};var a=e.posAtCoords(Ot(n));a&&("singleClick"==i?(e.input.mouseDown&&e.input.mouseDown.done(),e.input.mouseDown=new It(e,a,n,!!r)):("doubleClick"==i?Dt:Lt)(e,a.pos,a.inside,n)?n.preventDefault():Ct(e,"pointer"))};var It=function(){function e(t,n,r,o){var i,a,s=this;if(p(this,e),this.view=t,this.pos=n,this.event=r,this.flushed=o,this.delayedSelectionSync=!1,this.mightDrag=null,this.startDoc=t.state.doc,this.selectNode=!!r[Rt],this.allowDefault=r.shiftKey,n.inside>-1)i=t.state.doc.nodeAt(n.inside),a=n.inside;else{var l=t.state.doc.resolve(n.pos);i=l.parent,a=l.depth?l.before():0}var c=o?null:r.target,u=c?t.docView.nearestDesc(c,!0):null;this.target=u?u.dom:null;var d=t.state.selection;(0==r.button&&i.type.spec.draggable&&!1!==i.type.spec.selectable||d instanceof m.NodeSelection&&d.from<=a&&d.to>a)&&(this.mightDrag={node:i,pos:a,addAttr:!(!this.target||this.target.draggable),setUneditable:!(!this.target||!Z||this.target.hasAttribute("contentEditable"))}),this.target&&this.mightDrag&&(this.mightDrag.addAttr||this.mightDrag.setUneditable)&&(this.view.domObserver.stop(),this.mightDrag.addAttr&&(this.target.draggable=!0),this.mightDrag.setUneditable&&setTimeout((function(){s.view.input.mouseDown==s&&s.target.setAttribute("contentEditable","false")}),20),this.view.domObserver.start()),t.root.addEventListener("mouseup",this.up=this.up.bind(this)),t.root.addEventListener("mousemove",this.move=this.move.bind(this)),Ct(t,"pointer")}return h(e,[{key:"done",value:function(){var e=this;this.view.root.removeEventListener("mouseup",this.up),this.view.root.removeEventListener("mousemove",this.move),this.mightDrag&&this.target&&(this.view.domObserver.stop(),this.mightDrag.addAttr&&this.target.removeAttribute("draggable"),this.mightDrag.setUneditable&&this.target.removeAttribute("contentEditable"),this.view.domObserver.start()),this.delayedSelectionSync&&setTimeout((function(){return je(e.view)})),this.view.input.mouseDown=null}},{key:"up",value:function(e){if(this.done(),this.view.dom.contains(e.target)){var t=this.pos;this.view.state.doc!=this.startDoc&&(t=this.view.posAtCoords(Ot(e))),this.updateAllowDefault(e),this.allowDefault||!t?Ct(this.view,"pointer"):At(this.view,t.pos,t.inside,e,this.selectNode)?e.preventDefault():0==e.button&&(this.flushed||B&&this.mightDrag&&!this.mightDrag.node.isAtom||F&&!this.view.state.selection.visible&&Math.min(Math.abs(t.pos-this.view.state.selection.from),Math.abs(t.pos-this.view.state.selection.to))<=2)?(Mt(this.view,m.Selection.near(this.view.state.doc.resolve(t.pos)),"pointer"),e.preventDefault()):Ct(this.view,"pointer")}}},{key:"move",value:function(e){this.updateAllowDefault(e),Ct(this.view,"pointer"),0==e.buttons&&this.done()}},{key:"updateAllowDefault",value:function(e){!this.allowDefault&&(Math.abs(this.event.x-e.clientX)>4||Math.abs(this.event.y-e.clientY)>4)&&(this.allowDefault=!0)}}]),e}();function Pt(e,t){return!!e.composing||!!(B&&Math.abs(t.timeStamp-e.input.compositionEndedAt)<500)&&(e.input.compositionEndedAt=-2e8,!0)}wt.touchstart=function(e){e.input.lastTouch=Date.now(),Nt(e),Ct(e,"pointer")},wt.touchmove=function(e){e.input.lastTouch=Date.now(),Ct(e,"pointer")},wt.contextmenu=function(e){return Nt(e)};var Zt=W?5e3:-1;function _t(e,t){clearTimeout(e.input.composingTimeout),t>-1&&(e.input.composingTimeout=setTimeout((function(){return jt(e)}),t))}function Ft(e){var t;for(e.composing&&(e.input.composing=!1,e.input.compositionEndedAt=((t=document.createEvent("Event")).initEvent("event",!0,!0),t.timeStamp));e.input.compositionNodes.length>0;)e.input.compositionNodes.pop().markParentsDirty()}function jt(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];if(!(W&&e.domObserver.flushingSoon>=0)){if(e.domObserver.forceFlush(),Ft(e),t||e.docView&&e.docView.dirty){var n=_e(e);return n&&!n.eq(e.state.selection)?e.dispatch(e.state.tr.setSelection(n)):e.updateState(e.state),!0}return!1}}xt.compositionstart=xt.compositionupdate=function(e){if(!e.composing){e.domObserver.flush();var t=e.state,n=t.selection.$from;if(t.selection.empty&&(t.storedMarks||!n.textOffset&&n.parentOffset&&n.nodeBefore.marks.some((function(e){return!1===e.type.spec.inclusive}))))e.markCursor=e.state.storedMarks||n.marks(),jt(e,!0),e.markCursor=null;else if(jt(e),Z&&t.selection.empty&&n.parentOffset&&!n.textOffset&&n.nodeBefore.marks.length)for(var r=e.domSelectionRange(),o=r.focusNode,i=r.focusOffset;o&&1==o.nodeType&&0!=i;){var a=i<0?o.lastChild:o.childNodes[i-1];if(!a)break;if(3==a.nodeType){e.domSelection().collapse(a,a.nodeValue.length);break}o=a,i=-1}e.input.composing=!0}_t(e,Zt)},xt.compositionend=function(e,t){e.composing&&(e.input.composing=!1,e.input.compositionEndedAt=t.timeStamp,e.input.compositionPendingChanges=e.domObserver.pendingRecords().length?e.input.compositionID:0,e.input.compositionPendingChanges&&Promise.resolve().then((function(){return e.domObserver.flush()})),e.input.compositionID++,_t(e,20))};var Bt=I&&P<15||z&&q<604;function zt(e,t,n,r,o){var i=ut(e,t,n,r,e.state.selection.$from);if(e.someProp("handlePaste",(function(t){return t(e,o,i||v.Slice.empty)})))return!0;if(!i)return!1;var a=function(e){return 0==e.openStart&&0==e.openEnd&&1==e.content.childCount?e.content.firstChild:null}(i),s=a?e.state.tr.replaceSelectionWith(a,r):e.state.tr.replaceSelection(i);return e.dispatch(s.scrollIntoView().setMeta("paste",!0).setMeta("uiEvent","paste")),!0}function Ht(e){var t=e.getData("text/plain")||e.getData("Text");if(t)return t;var n=e.getData("text/uri-list");return n?n.replace(/\r?\n/g," "):""}wt.copy=xt.cut=function(e,t){var n=t,r=e.state.selection,o="cut"==n.type;if(!r.empty){var i=Bt?null:n.clipboardData,a=ct(e,r.content()),s=a.dom,l=a.text;i?(n.preventDefault(),i.clearData(),i.setData("text/html",s.innerHTML),i.setData("text/plain",l)):function(e,t){if(e.dom.parentNode){var n=e.dom.parentNode.appendChild(document.createElement("div"));n.appendChild(t),n.style.cssText="position: fixed; left: -10000px; top: 10px";var r=getSelection(),o=document.createRange();o.selectNodeContents(t),e.dom.blur(),r.removeAllRanges(),r.addRange(o),setTimeout((function(){n.parentNode&&n.parentNode.removeChild(n),e.focus()}),50)}}(e,s),o&&e.dispatch(e.state.tr.deleteSelection().scrollIntoView().setMeta("uiEvent","cut"))}},xt.paste=function(e,t){var n=t;if(!e.composing||W){var r=Bt?null:n.clipboardData,o=e.input.shiftKey&&45!=e.input.lastKeyCode;r&&zt(e,Ht(r),r.getData("text/html"),o,n)?n.preventDefault():function(e,t){if(e.dom.parentNode){var n=e.input.shiftKey||e.state.selection.$from.parent.type.spec.code,r=e.dom.parentNode.appendChild(document.createElement(n?"textarea":"div"));n||(r.contentEditable="true"),r.style.cssText="position: fixed; left: -10000px; top: 10px",r.focus();var o=e.input.shiftKey&&45!=e.input.lastKeyCode;setTimeout((function(){e.focus(),r.parentNode&&r.parentNode.removeChild(r),n?zt(e,r.value,null,o,t):zt(e,r.textContent,r.innerHTML,o,t)}),50)}}(e,n)}};var Ut=h((function e(t,n,r){p(this,e),this.slice=t,this.move=n,this.node=r})),Wt=H?"altKey":"ctrlKey";for(var Vt in wt.dragstart=function(e,t){var n=t,r=e.input.mouseDown;if(r&&r.done(),n.dataTransfer){var o,i=e.state.selection,a=i.empty?null:e.posAtCoords(Ot(n));if(a&&a.pos>=i.from&&a.pos<=(i instanceof m.NodeSelection?i.to-1:i.to));else if(r&&r.mightDrag)o=m.NodeSelection.create(e.state.doc,r.mightDrag.pos);else if(n.target&&1==n.target.nodeType){var s=e.docView.nearestDesc(n.target,!0);s&&s.node.type.spec.draggable&&s!=e.docView&&(o=m.NodeSelection.create(e.state.doc,s.posBefore))}var l=(o||e.state.selection).content(),c=ct(e,l),u=c.dom,d=c.text;n.dataTransfer.clearData(),n.dataTransfer.setData(Bt?"Text":"text/html",u.innerHTML),n.dataTransfer.effectAllowed="copyMove",Bt||n.dataTransfer.setData("text/plain",d),e.dragging=new Ut(l,!n[Wt],o)}},wt.dragend=function(e){var t=e.dragging;window.setTimeout((function(){e.dragging==t&&(e.dragging=null)}),50)},xt.dragover=xt.dragenter=function(e,t){return t.preventDefault()},xt.drop=function(e,t){var n=t,r=e.dragging;if(e.dragging=null,n.dataTransfer){var o=e.posAtCoords(Ot(n));if(o){var i=e.state.doc.resolve(o.pos),a=r&&r.slice;a?e.someProp("transformPasted",(function(t){a=t(a,e)})):a=ut(e,Ht(n.dataTransfer),Bt?null:n.dataTransfer.getData("text/html"),!1,i);var s=!(!r||n[Wt]);if(e.someProp("handleDrop",(function(t){return t(e,n,a||v.Slice.empty,s)})))n.preventDefault();else if(a){n.preventDefault();var l=a?g.dropPoint(e.state.doc,i.pos,a):i.pos;null==l&&(l=i.pos);var c=e.state.tr;if(s){var u=r.node;u?u.replace(c):c.deleteSelection()}var d=c.mapping.map(l),p=0==a.openStart&&0==a.openEnd&&1==a.content.childCount,f=c.doc;if(p?c.replaceRangeWith(d,d,a.content.firstChild):c.replaceRange(d,d,a),!c.doc.eq(f)){var h=c.doc.resolve(d);if(p&&m.NodeSelection.isSelectable(a.content.firstChild)&&h.nodeAfter&&h.nodeAfter.sameMarkup(a.content.firstChild))c.setSelection(new m.NodeSelection(h));else{var y=c.mapping.map(l);c.mapping.maps[c.mapping.maps.length-1].forEach((function(e,t,n,r){return y=r})),c.setSelection(qe(e,h,c.doc.resolve(y)))}e.focus(),e.dispatch(c.setMeta("uiEvent","drop"))}}}}},wt.focus=function(e){e.input.lastFocus=Date.now(),e.focused||(e.domObserver.stop(),e.dom.classList.add("ProseMirror-focused"),e.domObserver.start(),e.focused=!0,setTimeout((function(){e.docView&&e.hasFocus()&&!e.domObserver.currentSelection.eq(e.domSelectionRange())&&je(e)}),20))},wt.blur=function(e,t){var n=t;e.focused&&(e.domObserver.stop(),e.dom.classList.remove("ProseMirror-focused"),e.domObserver.start(),n.relatedTarget&&e.dom.contains(n.relatedTarget)&&e.domObserver.currentSelection.clear(),e.focused=!1)},wt.beforeinput=function(e,t){if(F&&W&&"deleteContentBackward"==t.inputType){e.domObserver.flushSoon();var n=e.input.domChangeCount;setTimeout((function(){if(e.input.domChangeCount==n&&(e.dom.blur(),e.focus(),!e.someProp("handleKeyDown",(function(t){return t(e,$(8,"Backspace"))})))){var t=e.state.selection.$cursor;t&&t.pos>0&&e.dispatch(e.state.tr.delete(t.pos-1,t.pos).scrollIntoView())}}),50)}},xt)wt[Vt]=xt[Vt];function qt(e,t){if(e==t)return!0;for(var n in e)if(e[n]!==t[n])return!1;for(var r in t)if(!(r in e))return!1;return!0}var Gt=function(){function e(t,n){p(this,e),this.toDOM=t,this.spec=n||Qt,this.side=this.spec.side||0}return h(e,[{key:"map",value:function(e,t,n,r){var o=e.mapResult(t.from+r,this.side<0?-1:1),i=o.pos;return o.deleted?null:new Xt(i-n,i-n,this)}},{key:"valid",value:function(){return!0}},{key:"eq",value:function(t){return this==t||t instanceof e&&(this.spec.key&&this.spec.key==t.spec.key||this.toDOM==t.toDOM&&qt(this.spec,t.spec))}},{key:"destroy",value:function(e){this.spec.destroy&&this.spec.destroy(e)}}]),e}(),Kt=function(){function e(t,n){p(this,e),this.attrs=t,this.spec=n||Qt}return h(e,[{key:"map",value:function(e,t,n,r){var o=e.map(t.from+r,this.spec.inclusiveStart?-1:1)-n,i=e.map(t.to+r,this.spec.inclusiveEnd?1:-1)-n;return o>=i?null:new Xt(o,i,this)}},{key:"valid",value:function(e,t){return t.from<t.to}},{key:"eq",value:function(t){return this==t||t instanceof e&&qt(this.attrs,t.attrs)&&qt(this.spec,t.spec)}},{key:"destroy",value:function(){}}],[{key:"is",value:function(t){return t.type instanceof e}}]),e}(),Yt=function(){function e(t,n){p(this,e),this.attrs=t,this.spec=n||Qt}return h(e,[{key:"map",value:function(e,t,n,r){var o=e.mapResult(t.from+r,1);if(o.deleted)return null;var i=e.mapResult(t.to+r,-1);return i.deleted||i.pos<=o.pos?null:new Xt(o.pos-n,i.pos-n,this)}},{key:"valid",value:function(e,t){var n,r=e.content.findIndex(t.from),o=r.index,i=r.offset;return i==t.from&&!(n=e.child(o)).isText&&i+n.nodeSize==t.to}},{key:"eq",value:function(t){return this==t||t instanceof e&&qt(this.attrs,t.attrs)&&qt(this.spec,t.spec)}},{key:"destroy",value:function(){}}]),e}(),Xt=function(){function e(t,n,r){p(this,e),this.from=t,this.to=n,this.type=r}return h(e,[{key:"copy",value:function(t,n){return new e(t,n,this.type)}},{key:"eq",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;return this.type.eq(e.type)&&this.from+t==e.from&&this.to+t==e.to}},{key:"map",value:function(e,t,n){return this.type.map(e,this,t,n)}},{key:"spec",get:function(){return this.type.spec}},{key:"inline",get:function(){return this.type instanceof Kt}},{key:"widget",get:function(){return this.type instanceof Gt}}],[{key:"widget",value:function(t,n,r){return new e(t,t,new Gt(n,r))}},{key:"inline",value:function(t,n,r,o){return new e(t,n,new Kt(r,o))}},{key:"node",value:function(t,n,r,o){return new e(t,n,new Yt(r,o))}}]),e}(),Jt=[],Qt={},en=function(){function e(t,n){p(this,e),this.local=t.length?t:Jt,this.children=n.length?n:Jt}return h(e,[{key:"find",value:function(e,t,n){var r=[];return this.findInner(null==e?0:e,null==t?1e9:t,r,0,n),r}},{key:"findInner",value:function(e,t,n,r,o){for(var i=0;i<this.local.length;i++){var a=this.local[i];a.from<=t&&a.to>=e&&(!o||o(a.spec))&&n.push(a.copy(a.from+r,a.to+r))}for(var s=0;s<this.children.length;s+=3)if(this.children[s]<t&&this.children[s+1]>e){var l=this.children[s]+1;this.children[s+2].findInner(e-l,t-l,n,r+l,o)}}},{key:"map",value:function(e,t,n){return this==tn||0==e.maps.length?this:this.mapInner(e,t,0,0,n||Qt)}},{key:"mapInner",value:function(t,n,r,o,i){for(var a,s=0;s<this.local.length;s++){var l=this.local[s].map(t,r,o);l&&l.type.valid(n,l)?(a||(a=[])).push(l):i.onRemove&&i.onRemove(this.local[s].spec)}return this.children.length?rn(this.children,a||[],t,n,r,o,i):a?new e(a.sort(cn),Jt):tn}},{key:"add",value:function(t,n){return n.length?this==tn?e.create(t,n):this.addInner(t,n,0):this}},{key:"addInner",value:function(t,n,r){var o,i=this,a=0;t.forEach((function(e,t){var s,l=t+r;if(s=an(n,e,l)){for(o||(o=i.children.slice());a<o.length&&o[a]<t;)a+=3;o[a]==t?o[a+2]=o[a+2].addInner(e,s,l+1):o.splice(a,0,t,t+e.nodeSize,ln(s,e,l+1,Qt)),a+=3}}));for(var s=on(a?sn(n):n,-r),l=0;l<s.length;l++)s[l].type.valid(t,s[l])||s.splice(l--,1);return new e(s.length?this.local.concat(s).sort(cn):this.local,o||this.children)}},{key:"remove",value:function(e){return 0==e.length||this==tn?this:this.removeInner(e,0)}},{key:"removeInner",value:function(t,n){for(var r=this.children,o=this.local,i=0;i<r.length;i+=3){for(var a,s=void 0,l=r[i]+n,c=r[i+1]+n,u=0;u<t.length;u++)(a=t[u])&&a.from>l&&a.to<c&&(t[u]=null,(s||(s=[])).push(a));if(s){r==this.children&&(r=this.children.slice());var d=r[i+2].removeInner(s,l+1);d!=tn?r[i+2]=d:(r.splice(i,3),i-=3)}}if(o.length)for(var p,f=0;f<t.length;f++)if(p=t[f])for(var h=0;h<o.length;h++)o[h].eq(p,n)&&(o==this.local&&(o=this.local.slice()),o.splice(h--,1));return r==this.children&&o==this.local?this:o.length||r.length?new e(o,r):tn}},{key:"forChild",value:function(t,n){if(this==tn)return this;if(n.isLeaf)return e.empty;for(var r,o,i=0;i<this.children.length;i+=3)if(this.children[i]>=t){this.children[i]==t&&(r=this.children[i+2]);break}for(var a=t+1,s=a+n.content.size,l=0;l<this.local.length;l++){var c=this.local[l];if(c.from<s&&c.to>a&&c.type instanceof Kt){var u=Math.max(a,c.from)-a,d=Math.min(s,c.to)-a;u<d&&(o||(o=[])).push(c.copy(u,d))}}if(o){var p=new e(o.sort(cn),Jt);return r?new nn([p,r]):p}return r||tn}},{key:"eq",value:function(t){if(this==t)return!0;if(!(t instanceof e)||this.local.length!=t.local.length||this.children.length!=t.children.length)return!1;for(var n=0;n<this.local.length;n++)if(!this.local[n].eq(t.local[n]))return!1;for(var r=0;r<this.children.length;r+=3)if(this.children[r]!=t.children[r]||this.children[r+1]!=t.children[r+1]||!this.children[r+2].eq(t.children[r+2]))return!1;return!0}},{key:"locals",value:function(e){return un(this.localsInner(e))}},{key:"localsInner",value:function(e){if(this==tn)return Jt;if(e.inlineContent||!this.local.some(Kt.is))return this.local;for(var t=[],n=0;n<this.local.length;n++)this.local[n].type instanceof Kt||t.push(this.local[n]);return t}}],[{key:"create",value:function(e,t){return t.length?ln(t,e,0,Qt):tn}}]),e}();en.empty=new en([],[]),en.removeOverlap=un;var tn=en.empty,nn=function(){function e(t){p(this,e),this.members=t}return h(e,[{key:"map",value:function(t,n){var r=this.members.map((function(e){return e.map(t,n,Qt)}));return e.from(r)}},{key:"forChild",value:function(t,n){if(n.isLeaf)return en.empty;for(var r=[],o=0;o<this.members.length;o++){var i=this.members[o].forChild(t,n);i!=tn&&(i instanceof e?r=r.concat(i.members):r.push(i))}return e.from(r)}},{key:"eq",value:function(t){if(!(t instanceof e)||t.members.length!=this.members.length)return!1;for(var n=0;n<this.members.length;n++)if(!this.members[n].eq(t.members[n]))return!1;return!0}},{key:"locals",value:function(e){for(var t,n=!0,r=0;r<this.members.length;r++){var o=this.members[r].localsInner(e);if(o.length)if(t){n&&(t=t.slice(),n=!1);for(var i=0;i<o.length;i++)t.push(o[i])}else t=o}return t?un(n?t:t.sort(cn)):Jt}}],[{key:"from",value:function(t){switch(t.length){case 0:return tn;case 1:return t[0];default:return new e(t.every((function(e){return e instanceof en}))?t:t.reduce((function(e,t){return e.concat(t instanceof en?t:t.members)}),[]))}}}]),e}();function rn(e,t,n,r,o,i,a){for(var s=e.slice(),l=function(e){var t=0;n.maps[c].forEach((function(n,r,o,i){for(var a=i-o-(r-n),l=0;l<s.length;l+=3){var c=s[l+1];if(!(c<0||n>c+e-t)){var u=s[l]+e-t;r>=u?s[l+1]=n<=u?-2:-1:n>=e&&a&&(s[l]+=a,s[l+1]+=a)}}t+=a})),e=n.maps[c].map(e,-1),u=e},c=0,u=i;c<n.maps.length;c++)l(u);for(var d=!1,p=0;p<s.length;p+=3)if(s[p+1]<0){if(-2==s[p+1]){d=!0,s[p+1]=-1;continue}var f=n.map(e[p]+i),h=f-o;if(h<0||h>=r.content.size){d=!0;continue}var m=n.map(e[p+1]+i,-1)-o,v=r.content.findIndex(h),g=v.index,y=v.offset,b=r.maybeChild(g);if(b&&y==h&&y+b.nodeSize==m){var w=s[p+2].mapInner(n,b,f+1,e[p]+i+1,a);w!=tn?(s[p]=h,s[p+1]=m,s[p+2]=w):(s[p+1]=-2,d=!0)}else d=!0}if(d){var x=function(e,t,n,r,o,i,a){function s(e,t){for(var i=0;i<e.local.length;i++){var l=e.local[i].map(r,o,t);l?n.push(l):a.onRemove&&a.onRemove(e.local[i].spec)}for(var c=0;c<e.children.length;c+=3)s(e.children[c+2],e.children[c]+t+1)}for(var l=0;l<e.length;l+=3)-1==e[l+1]&&s(e[l+2],t[l]+i+1);return n}(s,e,t,n,o,i,a),k=ln(x,r,0,a);t=k.local;for(var S=0;S<s.length;S+=3)s[S+1]<0&&(s.splice(S,3),S-=3);for(var C=0,E=0;C<k.children.length;C+=3){for(var T=k.children[C];E<s.length&&s[E]<T;)E+=3;s.splice(E,0,k.children[C],k.children[C+1],k.children[C+2])}}return new en(t.sort(cn),s)}function on(e,t){if(!t||!e.length)return e;for(var n=[],r=0;r<e.length;r++){var o=e[r];n.push(new Xt(o.from+t,o.to+t,o.type))}return n}function an(e,t,n){if(t.isLeaf)return null;for(var r,o=n+t.nodeSize,i=null,a=0;a<e.length;a++)(r=e[a])&&r.from>n&&r.to<o&&((i||(i=[])).push(r),e[a]=null);return i}function sn(e){for(var t=[],n=0;n<e.length;n++)null!=e[n]&&t.push(e[n]);return t}function ln(e,t,n,r){var o=[],i=!1;t.forEach((function(t,a){var s=an(e,t,a+n);if(s){i=!0;var l=ln(s,t,n+a+1,r);l!=tn&&o.push(a,a+t.nodeSize,l)}}));for(var a=on(i?sn(e):e,-n).sort(cn),s=0;s<a.length;s++)a[s].type.valid(t,a[s])||(r.onRemove&&r.onRemove(a[s].spec),a.splice(s--,1));return a.length||o.length?new en(a,o):tn}function cn(e,t){return e.from-t.from||e.to-t.to}function un(e){for(var t=e,n=0;n<t.length-1;n++){var r=t[n];if(r.from!=r.to)for(var o=n+1;o<t.length;o++){var i=t[o];if(i.from!=r.from){i.from<r.to&&(t==e&&(t=e.slice()),t[n]=r.copy(r.from,i.from),dn(t,o,r.copy(i.from,r.to)));break}i.to!=r.to&&(t==e&&(t=e.slice()),t[o]=i.copy(i.from,r.to),dn(t,o+1,i.copy(r.to,i.to)))}}return t}function dn(e,t,n){for(;t<e.length&&cn(n,e[t])>0;)t++;e.splice(t,0,n)}function pn(e){var t=[];return e.someProp("decorations",(function(n){var r=n(e.state);r&&r!=tn&&t.push(r)})),e.cursorWrapper&&t.push(en.create(e.state.doc,[e.cursorWrapper.deco])),nn.from(t)}var fn={childList:!0,characterData:!0,characterDataOldValue:!0,attributes:!0,attributeOldValue:!0,subtree:!0},hn=I&&P<=11,mn=function(){function e(){p(this,e),this.anchorNode=null,this.anchorOffset=0,this.focusNode=null,this.focusOffset=0}return h(e,[{key:"set",value:function(e){this.anchorNode=e.anchorNode,this.anchorOffset=e.anchorOffset,this.focusNode=e.focusNode,this.focusOffset=e.focusOffset}},{key:"clear",value:function(){this.anchorNode=this.focusNode=null}},{key:"eq",value:function(e){return e.anchorNode==this.anchorNode&&e.anchorOffset==this.anchorOffset&&e.focusNode==this.focusNode&&e.focusOffset==this.focusOffset}}]),e}(),vn=function(){function e(t,n){var r=this;p(this,e),this.view=t,this.handleDOMChange=n,this.queue=[],this.flushingSoon=-1,this.observer=null,this.currentSelection=new mn,this.onCharData=null,this.suppressingSelectionUpdates=!1,this.observer=window.MutationObserver&&new window.MutationObserver((function(e){for(var t=0;t<e.length;t++)r.queue.push(e[t]);I&&P<=11&&e.some((function(e){return"childList"==e.type&&e.removedNodes.length||"characterData"==e.type&&e.oldValue.length>e.target.nodeValue.length}))?r.flushSoon():r.flush()})),hn&&(this.onCharData=function(e){r.queue.push({target:e.target,type:"characterData",oldValue:e.prevValue}),r.flushSoon()}),this.onSelectionChange=this.onSelectionChange.bind(this)}return h(e,[{key:"flushSoon",value:function(){var e=this;this.flushingSoon<0&&(this.flushingSoon=window.setTimeout((function(){e.flushingSoon=-1,e.flush()}),20))}},{key:"forceFlush",value:function(){this.flushingSoon>-1&&(window.clearTimeout(this.flushingSoon),this.flushingSoon=-1,this.flush())}},{key:"start",value:function(){this.observer&&(this.observer.takeRecords(),this.observer.observe(this.view.dom,fn)),this.onCharData&&this.view.dom.addEventListener("DOMCharacterDataModified",this.onCharData),this.connectSelection()}},{key:"stop",value:function(){var e=this;if(this.observer){var t=this.observer.takeRecords();if(t.length){for(var n=0;n<t.length;n++)this.queue.push(t[n]);window.setTimeout((function(){return e.flush()}),20)}this.observer.disconnect()}this.onCharData&&this.view.dom.removeEventListener("DOMCharacterDataModified",this.onCharData),this.disconnectSelection()}},{key:"connectSelection",value:function(){this.view.dom.ownerDocument.addEventListener("selectionchange",this.onSelectionChange)}},{key:"disconnectSelection",value:function(){this.view.dom.ownerDocument.removeEventListener("selectionchange",this.onSelectionChange)}},{key:"suppressSelectionUpdates",value:function(){var e=this;this.suppressingSelectionUpdates=!0,setTimeout((function(){return e.suppressingSelectionUpdates=!1}),50)}},{key:"onSelectionChange",value:function(){if(Ge(this.view)){if(this.suppressingSelectionUpdates)return je(this.view);if(I&&P<=11&&!this.view.state.selection.empty){var e=this.view.domSelectionRange();if(e.focusNode&&k(e.focusNode,e.focusOffset,e.anchorNode,e.anchorOffset))return this.flushSoon()}this.flush()}}},{key:"setCurSelection",value:function(){this.currentSelection.set(this.view.domSelectionRange())}},{key:"ignoreSelectionChange",value:function(e){if(!e.focusNode)return!0;for(var t,n=new Set,r=e.focusNode;r;r=b(r))n.add(r);for(var o=e.anchorNode;o;o=b(o))if(n.has(o)){t=o;break}var i=t&&this.view.docView.nearestDesc(t);return i&&i.ignoreMutation({type:"selection",target:3==t.nodeType?t.parentNode:t})?(this.setCurSelection(),!0):void 0}},{key:"pendingRecords",value:function(){if(this.observer){var e,t=r(this.observer.takeRecords());try{for(t.s();!(e=t.n()).done;){var n=e.value;this.queue.push(n)}}catch(o){t.e(o)}finally{t.f()}}return this.queue}},{key:"flush",value:function(){var e=this.view;if(e.docView&&!(this.flushingSoon>-1)){var t=this.pendingRecords();t.length&&(this.queue=[]);var n=e.domSelectionRange(),r=!this.suppressingSelectionUpdates&&!this.currentSelection.eq(n)&&Ge(e)&&!this.ignoreSelectionChange(n),o=-1,i=-1,a=!1,s=[];if(e.editable)for(var l=0;l<t.length;l++){var c=this.registerMutation(t[l],s);c&&(o=o<0?c.from:Math.min(c.from,o),i=i<0?c.to:Math.max(c.to,i),c.typeOver&&(a=!0))}if(Z&&s.length>1){var u=s.filter((function(e){return"BR"==e.nodeName}));if(2==u.length){var d=u[0],p=u[1];d.parentNode&&d.parentNode.parentNode==p.parentNode?p.remove():d.remove()}}var f=null;o<0&&r&&e.input.lastFocus>Date.now()-200&&Math.max(e.input.lastTouch,e.input.lastClick.time)<Date.now()-300&&O(n)&&(f=_e(e))&&f.eq(m.Selection.near(e.state.doc.resolve(0),1))?(e.input.lastFocus=0,je(e),this.currentSelection.set(n),e.scrollToSelection()):(o>-1||r)&&(o>-1&&(e.docView.markDirty(o,i),function(e){if(gn.has(e))return;if(gn.set(e,null),-1!==["normal","nowrap","pre-line"].indexOf(getComputedStyle(e.dom).whiteSpace)){if(e.requiresGeckoHackNode=Z,yn)return;console.warn("ProseMirror expects the CSS white-space property to be set, preferably to 'pre-wrap'. It is recommended to load style/prosemirror.css from the prosemirror-view package."),yn=!0}}(e)),this.handleDOMChange(o,i,a,s),e.docView&&e.docView.dirty?e.updateState(e.state):this.currentSelection.eq(n)||je(e),this.currentSelection.set(n))}}},{key:"registerMutation",value:function(e,t){if(t.indexOf(e.target)>-1)return null;var n=this.view.docView.nearestDesc(e.target);if("attributes"==e.type&&(n==this.view.docView||"contenteditable"==e.attributeName||"style"==e.attributeName&&!e.oldValue&&!e.target.getAttribute("style")))return null;if(!n||n.ignoreMutation(e))return null;if("childList"==e.type){for(var r=0;r<e.addedNodes.length;r++)t.push(e.addedNodes[r]);if(n.contentDOM&&n.contentDOM!=n.dom&&!n.contentDOM.contains(e.target))return{from:n.posBefore,to:n.posAfter};var o=e.previousSibling,i=e.nextSibling;if(I&&P<=11&&e.addedNodes.length)for(var a=0;a<e.addedNodes.length;a++){var s=e.addedNodes[a],l=s.previousSibling,c=s.nextSibling;(!l||Array.prototype.indexOf.call(e.addedNodes,l)<0)&&(o=l),(!c||Array.prototype.indexOf.call(e.addedNodes,c)<0)&&(i=c)}var u=o&&o.parentNode==e.target?y(o)+1:0,d=n.localPosFromDOM(e.target,u,-1),p=i&&i.parentNode==e.target?y(i):e.target.childNodes.length;return{from:d,to:n.localPosFromDOM(e.target,p,1)}}return"attributes"==e.type?{from:n.posAtStart-n.border,to:n.posAtEnd+n.border}:{from:n.posAtStart,to:n.posAtEnd,typeOver:e.target.nodeValue==e.oldValue}}}]),e}(),gn=new WeakMap,yn=!1;function bn(e){var t=e.pmViewDesc;if(t)return t.parseRule();if("BR"==e.nodeName&&e.parentNode){if(B&&/^(ul|ol)$/i.test(e.parentNode.nodeName)){var n=document.createElement("div");return n.appendChild(document.createElement("li")),{skip:n}}if(e.parentNode.lastChild==e||B&&/^(tr|table)$/i.test(e.parentNode.nodeName))return{ignore:!0}}else if("IMG"==e.nodeName&&e.getAttribute("mark-placeholder"))return{ignore:!0};return null}var wn=/^(a|abbr|acronym|b|bd[io]|big|br|button|cite|code|data(list)?|del|dfn|em|i|ins|kbd|label|map|mark|meter|output|q|ruby|s|samp|small|span|strong|su[bp]|time|u|tt|var)$/i;function xn(e,t,n,r,o){var i=e.input.compositionPendingChanges||(e.composing?e.input.compositionID:0);if(e.input.compositionPendingChanges=0,t<0){var a=e.input.lastSelectionTime>Date.now()-50?e.input.lastSelectionOrigin:null,s=_e(e,a);if(s&&!e.state.selection.eq(s)){if(F&&W&&13===e.input.lastKeyCode&&Date.now()-100<e.input.lastKeyCodeTime&&e.someProp("handleKeyDown",(function(t){return t(e,$(13,"Enter"))})))return;var l=e.state.tr.setSelection(s);"pointer"==a?l.setMeta("pointer",!0):"key"==a&&l.scrollIntoView(),i&&l.setMeta("composition",i),e.dispatch(l)}}else{var c=e.state.doc.resolve(t),u=c.sharedDepth(n);t=c.before(u+1),n=e.state.doc.resolve(n).after(u+1);var d,p,f=e.state.selection,h=function(e,t,n){var r,o=e.docView.parseRange(t,n),i=o.node,a=o.fromOffset,s=o.toOffset,l=o.from,c=o.to,u=e.domSelectionRange(),d=u.anchorNode;if(d&&e.dom.contains(1==d.nodeType?d:d.parentNode)&&(r=[{node:d,offset:u.anchorOffset}],O(u)||r.push({node:u.focusNode,offset:u.focusOffset})),F&&8===e.input.lastKeyCode)for(var p=s;p>a;p--){var f=i.childNodes[p-1],h=f.pmViewDesc;if("BR"==f.nodeName&&!h){s=p;break}if(!h||h.size)break}var m=e.state.doc,g=e.someProp("domParser")||v.DOMParser.fromSchema(e.state.schema),y=m.resolve(l),b=null,w=g.parse(i,{topNode:y.parent,topMatch:y.parent.contentMatchAt(y.index()),topOpen:!0,from:a,to:s,preserveWhitespace:"pre"!=y.parent.type.whitespace||"full",findPositions:r,ruleFromNode:bn,context:y});if(r&&null!=r[0].pos){var x=r[0].pos,k=r[1]&&r[1].pos;null==k&&(k=x),b={anchor:x+l,head:k+l}}return{doc:w,sel:b,from:l,to:c}}(e,t,n),g=e.state.doc,y=g.slice(h.from,h.to);8===e.input.lastKeyCode&&Date.now()-100<e.input.lastKeyCodeTime?(d=e.state.selection.to,p="end"):(d=e.state.selection.from,p="start"),e.input.lastKeyCode=null;var b=function(e,t,n,r,o){var i=e.findDiffStart(t,n);if(null==i)return null;var a=e.findDiffEnd(t,n+e.size,n+t.size),s=a.a,l=a.b;if("end"==o){r-=s+Math.max(0,i-Math.min(s,l))-i}if(s<i&&e.size<t.size){var c=r<=i&&r>=s?i-r:0;(i-=c)&&i<t.size&&Cn(t.textBetween(i-1,i+1))&&(i+=c?1:-1),l=i+(l-s),s=i}else if(l<i){var u=r<=i&&r>=l?i-r:0;(i-=u)&&i<e.size&&Cn(e.textBetween(i-1,i+1))&&(i+=u?1:-1),s=i+(s-l),l=i}return{start:i,endA:s,endB:l}}(y.content,h.doc.content,h.from,d,p);if((z&&e.input.lastIOSEnter>Date.now()-225||W)&&o.some((function(e){return 1==e.nodeType&&!wn.test(e.nodeName)}))&&(!b||b.endA>=b.endB)&&e.someProp("handleKeyDown",(function(t){return t(e,$(13,"Enter"))})))e.input.lastIOSEnter=0;else{if(!b){if(!(r&&f instanceof m.TextSelection&&!f.empty&&f.$head.sameParent(f.$anchor))||e.composing||h.sel&&h.sel.anchor!=h.sel.head){if(h.sel){var w=kn(e,e.state.doc,h.sel);if(w&&!w.eq(e.state.selection)){var x=e.state.tr.setSelection(w);i&&x.setMeta("composition",i),e.dispatch(x)}}return}b={start:f.from,endA:f.to,endB:f.to}}if(F&&e.cursorWrapper&&h.sel&&h.sel.anchor==e.cursorWrapper.deco.from&&h.sel.head==h.sel.anchor){var k=b.endB-b.start;h.sel={anchor:h.sel.anchor+k,head:h.sel.anchor+k}}e.input.domChangeCount++,e.state.selection.from<e.state.selection.to&&b.start==b.endB&&e.state.selection instanceof m.TextSelection&&(b.start>e.state.selection.from&&b.start<=e.state.selection.from+2&&e.state.selection.from>=h.from?b.start=e.state.selection.from:b.endA<e.state.selection.to&&b.endA>=e.state.selection.to-2&&e.state.selection.to<=h.to&&(b.endB+=e.state.selection.to-b.endA,b.endA=e.state.selection.to)),I&&P<=11&&b.endB==b.start+1&&b.endA==b.start&&b.start>h.from&&" "==h.doc.textBetween(b.start-h.from-1,b.start-h.from+1)&&(b.start--,b.endA--,b.endB--);var S,C=h.doc.resolveNoCache(b.start-h.from),E=h.doc.resolveNoCache(b.endB-h.from),T=g.resolve(b.start),M=C.sameParent(E)&&C.parent.inlineContent&&T.end()>=b.endA;if((z&&e.input.lastIOSEnter>Date.now()-225&&(!M||o.some((function(e){return"DIV"==e.nodeName||"P"==e.nodeName})))||!M&&C.pos<h.doc.content.size&&!C.sameParent(E)&&(S=m.Selection.findFrom(h.doc.resolve(C.pos+1),1,!0))&&S.head==E.pos)&&e.someProp("handleKeyDown",(function(t){return t(e,$(13,"Enter"))})))e.input.lastIOSEnter=0;else if(e.state.selection.anchor>b.start&&function(e,t,n,r,o){if(!r.parent.isTextblock||n-t<=o.pos-r.pos||Sn(r,!0,!1)<o.pos)return!1;var i=e.resolve(t);if(i.parentOffset<i.parent.content.size||!i.parent.isTextblock)return!1;var a=e.resolve(Sn(i,!0,!0));return!(!a.parent.isTextblock||a.pos>n||Sn(a,!0,!1)<n)&&r.parent.content.cut(r.parentOffset).eq(a.parent.content)}(g,b.start,b.endA,C,E)&&e.someProp("handleKeyDown",(function(t){return t(e,$(8,"Backspace"))})))W&&F&&e.domObserver.suppressSelectionUpdates();else{F&&W&&b.endB==b.start&&(e.input.lastAndroidDelete=Date.now()),W&&!M&&C.start()!=E.start()&&0==E.parentOffset&&C.depth==E.depth&&h.sel&&h.sel.anchor==h.sel.head&&h.sel.head==b.endA&&(b.endB-=2,E=h.doc.resolveNoCache(b.endB-h.from),setTimeout((function(){e.someProp("handleKeyDown",(function(t){return t(e,$(13,"Enter"))}))}),20));var A,D,L,N=b.start,R=b.endA;if(M)if(C.pos==E.pos)I&&P<=11&&0==C.parentOffset&&(e.domObserver.suppressSelectionUpdates(),setTimeout((function(){return je(e)}),20)),A=e.state.tr.delete(N,R),D=g.resolve(b.start).marksAcross(g.resolve(b.endA));else if(b.endA==b.endB&&(L=function(e,t){for(var n,r,o,i=e.firstChild.marks,a=t.firstChild.marks,s=i,l=a,c=0;c<a.length;c++)s=a[c].removeFromSet(s);for(var u=0;u<i.length;u++)l=i[u].removeFromSet(l);if(1==s.length&&0==l.length)r=s[0],n="add",o=function(e){return e.mark(r.addToSet(e.marks))};else{if(0!=s.length||1!=l.length)return null;r=l[0],n="remove",o=function(e){return e.mark(r.removeFromSet(e.marks))}}for(var d=[],p=0;p<t.childCount;p++)d.push(o(t.child(p)));if(v.Fragment.from(d).eq(e))return{mark:r,type:n}}(C.parent.content.cut(C.parentOffset,E.parentOffset),T.parent.content.cut(T.parentOffset,b.endA-T.start()))))A=e.state.tr,"add"==L.type?A.addMark(N,R,L.mark):A.removeMark(N,R,L.mark);else if(C.parent.child(C.index()).isText&&C.index()==E.index()-(E.textOffset?0:1)){var Z=C.parent.textBetween(C.parentOffset,E.parentOffset);if(e.someProp("handleTextInput",(function(t){return t(e,N,R,Z)})))return;A=e.state.tr.insertText(Z,N,R)}if(A||(A=e.state.tr.replace(N,R,h.doc.slice(b.start-h.from,b.endB-h.from))),h.sel){var _=kn(e,A.doc,h.sel);_&&!(F&&W&&e.composing&&_.empty&&(b.start!=b.endB||e.input.lastAndroidDelete<Date.now()-100)&&(_.head==N||_.head==A.mapping.map(R)-1)||I&&_.empty&&_.head==N)&&A.setSelection(_)}D&&A.ensureMarks(D),i&&A.setMeta("composition",i),e.dispatch(A.scrollIntoView())}}}}function kn(e,t,n){return Math.max(n.anchor,n.head)>t.content.size?null:qe(e,t.resolve(n.anchor),t.resolve(n.head))}function Sn(e,t,n){for(var r=e.depth,o=t?e.end():e.pos;r>0&&(t||e.indexAfter(r)==e.node(r).childCount);)r--,o++,t=!1;if(n)for(var i=e.node(r).maybeChild(e.indexAfter(r));i&&!i.isLeaf;)i=i.firstChild,o++;return o}function Cn(e){if(2!=e.length)return!1;var t=e.charCodeAt(0),n=e.charCodeAt(1);return t>=56320&&t<=57343&&n>=55296&&n<=56319}var En=ct,Tn=ut,On=jt,$n=function(){function e(t,n){var r=this;p(this,e),this._root=null,this.focused=!1,this.trackWrites=null,this.mounted=!1,this.markCursor=null,this.cursorWrapper=null,this.lastSelectedViewDesc=void 0,this.input=new St,this.prevDirectPlugins=[],this.pluginViews=[],this.requiresGeckoHackNode=!1,this.dragging=null,this._props=n,this.state=n.state,this.directPlugins=n.plugins||[],this.directPlugins.forEach(Nn),this.dispatch=this.dispatch.bind(this),this.dom=t&&t.mount||document.createElement("div"),t&&(t.appendChild?t.appendChild(this.dom):"function"==typeof t?t(this.dom):t.mount&&(this.mounted=!0)),this.editable=Dn(this),An(this),this.nodeViews=Ln(this),this.docView=ke(this.state.doc,Mn(this),pn(this),this.dom,this),this.domObserver=new vn(this,(function(e,t,n,o){return xn(r,e,t,n,o)})),this.domObserver.start(),function(e){var t=function(){var t=wt[n];e.dom.addEventListener(n,e.input.eventHandlers[n]=function(n){!function(e,t){if(!t.bubbles)return!0;if(t.defaultPrevented)return!1;for(var n=t.target;n!=e.dom;n=n.parentNode)if(!n||11==n.nodeType||n.pmViewDesc&&n.pmViewDesc.stopEvent(t))return!1;return!0}(e,n)||Tt(e,n)||!e.editable&&n.type in xt||t(e,n)},kt[n]?{passive:!0}:void 0)};for(var n in wt)t();B&&e.dom.addEventListener("input",(function(){return null})),Et(e)}(this),this.updatePluginViews()}return h(e,[{key:"composing",get:function(){return this.input.composing}},{key:"props",get:function(){if(this._props.state!=this.state){var e=this._props;for(var t in this._props={},e)this._props[t]=e[t];this._props.state=this.state}return this._props}},{key:"update",value:function(e){e.handleDOMEvents!=this._props.handleDOMEvents&&Et(this);var t=this._props;this._props=e,e.plugins&&(e.plugins.forEach(Nn),this.directPlugins=e.plugins),this.updateStateInner(e.state,t)}},{key:"setProps",value:function(e){var t={};for(var n in this._props)t[n]=this._props[n];for(var r in t.state=this.state,e)t[r]=e[r];this.update(t)}},{key:"updateState",value:function(e){this.updateStateInner(e,this._props)}},{key:"updateStateInner",value:function(e,t){var n,r=this.state,o=!1,i=!1;e.storedMarks&&this.composing&&(Ft(this),i=!0),this.state=e;var a=r.plugins!=e.plugins||this._props.plugins!=t.plugins;if(a||this._props.plugins!=t.plugins||this._props.nodeViews!=t.nodeViews){var s=Ln(this);(function(e,t){var n=0,r=0;for(var o in e){if(e[o]!=t[o])return!0;n++}for(var i in t)r++;return n!=r})(s,this.nodeViews)&&(this.nodeViews=s,o=!0)}(a||t.handleDOMEvents!=this._props.handleDOMEvents)&&Et(this),this.editable=Dn(this),An(this);var l=pn(this),c=Mn(this),u=r.plugins==e.plugins||r.doc.eq(e.doc)?e.scrollToSelection>r.scrollToSelection?"to selection":"preserve":"reset",d=o||!this.docView.matchesNode(e.doc,c,l);!d&&e.selection.eq(r.selection)||(i=!0);var p,f,h,m,v,g,y,b,w,x,S,C="preserve"==u&&i&&null==this.dom.style.overflowAnchor&&function(e){for(var t,n,r=e.dom.getBoundingClientRect(),o=Math.max(0,r.top),i=(r.left+r.right)/2,a=o+1;a<Math.min(innerHeight,r.bottom);a+=5){var s=e.root.elementFromPoint(i,a);if(s&&s!=e.dom&&e.dom.contains(s)){var l=s.getBoundingClientRect();if(l.top>=o-20){t=s,n=l.top;break}}}return{refDOM:t,refTop:n,stack:J(e.dom)}}(this);if(i){this.domObserver.stop();var E=d&&(I||F)&&!this.composing&&!r.selection.empty&&!e.selection.empty&&(m=r.selection,v=e.selection,g=Math.min(m.$anchor.sharedDepth(m.head),v.$anchor.sharedDepth(v.head)),m.$anchor.start(g)!=v.$anchor.start(g));if(d){var T=F?this.trackWrites=this.domSelectionRange().focusNode:null;!o&&this.docView.update(e.doc,c,l,this)||(this.docView.updateOuterDeco([]),this.docView.destroy(),this.docView=ke(e.doc,c,l,this.dom,this)),T&&!this.trackWrites&&(E=!0)}E||!(this.input.mouseDown&&this.domObserver.currentSelection.eq(this.domSelectionRange())&&(p=this,f=p.docView.domFromPos(p.state.selection.anchor,0),h=p.domSelectionRange(),k(f.node,f.offset,h.anchorNode,h.anchorOffset)))?je(this,E):(We(this,e.selection),this.domObserver.setCurSelection()),this.domObserver.start()}this.updatePluginViews(r),(null===(n=this.dragging)||void 0===n?void 0:n.node)&&!r.doc.eq(e.doc)&&this.updateDraggedNode(this.dragging,r),"reset"==u?this.dom.scrollTop=0:"to selection"==u?this.scrollToSelection():C&&(b=(y=C).refDOM,w=y.refTop,x=y.stack,S=b?b.getBoundingClientRect().top:0,Q(x,0==S?0:S-w))}},{key:"scrollToSelection",value:function(){var e=this,t=this.domSelectionRange().focusNode;if(this.someProp("handleScrollToSelection",(function(t){return t(e)})));else if(this.state.selection instanceof m.NodeSelection){var n=this.docView.domAfterPos(this.state.selection.from);1==n.nodeType&&X(this,n.getBoundingClientRect(),t)}else X(this,this.coordsAtPos(this.state.selection.head,1),t)}},{key:"destroyPluginViews",value:function(){for(var e;e=this.pluginViews.pop();)e.destroy&&e.destroy()}},{key:"updatePluginViews",value:function(e){if(e&&e.plugins==this.state.plugins&&this.directPlugins==this.prevDirectPlugins)for(var t=0;t<this.pluginViews.length;t++){var n=this.pluginViews[t];n.update&&n.update(this,e)}else{this.prevDirectPlugins=this.directPlugins,this.destroyPluginViews();for(var r=0;r<this.directPlugins.length;r++){var o=this.directPlugins[r];o.spec.view&&this.pluginViews.push(o.spec.view(this))}for(var i=0;i<this.state.plugins.length;i++){var a=this.state.plugins[i];a.spec.view&&this.pluginViews.push(a.spec.view(this))}}}},{key:"updateDraggedNode",value:function(e,t){var n=e.node,r=-1;if(this.state.doc.nodeAt(n.from)==n.node)r=n.from;else{var o=n.from+(this.state.doc.content.size-t.doc.content.size);(o>0&&this.state.doc.nodeAt(o))==n.node&&(r=o)}this.dragging=new Ut(e.slice,e.move,r<0?void 0:m.NodeSelection.create(this.state.doc,r))}},{key:"someProp",value:function(e,t){var n,r=this._props&&this._props[e];if(null!=r&&(n=t?t(r):r))return n;for(var o=0;o<this.directPlugins.length;o++){var i=this.directPlugins[o].props[e];if(null!=i&&(n=t?t(i):i))return n}var a=this.state.plugins;if(a)for(var s=0;s<a.length;s++){var l=a[s].props[e];if(null!=l&&(n=t?t(l):l))return n}}},{key:"hasFocus",value:function(){if(I){var e=this.root.activeElement;if(e==this.dom)return!0;if(!e||!this.dom.contains(e))return!1;for(;e&&this.dom!=e&&this.dom.contains(e);){if("false"==e.contentEditable)return!1;e=e.parentElement}return!0}return this.root.activeElement==this.dom}},{key:"focus",value:function(){this.domObserver.stop(),this.editable&&function(e){if(e.setActive)return e.setActive();if(ee)return e.focus(ee);var t=J(e);e.focus(null==ee?{get preventScroll(){return ee={preventScroll:!0},!0}}:void 0),ee||(ee=!1,Q(t,0))}(this.dom),je(this),this.domObserver.start()}},{key:"root",get:function(){var e=this,t=this._root;if(null==t)for(var n,r=function(t){if(9==t.nodeType||11==t.nodeType&&t.host)return t.getSelection||(Object.getPrototypeOf(t).getSelection=function(){return t.ownerDocument.getSelection()}),{v:e._root=t}},o=this.dom.parentNode;o;o=o.parentNode)if(n=r(o))return n.v;return t||document}},{key:"updateRoot",value:function(){this._root=null}},{key:"posAtCoords",value:function(e){return oe(this,e)}},{key:"coordsAtPos",value:function(e){return le(this,e,arguments.length>1&&void 0!==arguments[1]?arguments[1]:1)}},{key:"domAtPos",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;return this.docView.domFromPos(e,t)}},{key:"nodeDOM",value:function(e){var t=this.docView.descAt(e);return t?t.nodeDOM:null}},{key:"posAtDOM",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:-1,r=this.docView.posFromDOM(e,t,n);if(null==r)throw new RangeError("DOM position not inside the editor");return r}},{key:"endOfTextblock",value:function(e,t){return ve(this,t||this.state,e)}},{key:"pasteHTML",value:function(e,t){return zt(this,"",e,!1,t||new ClipboardEvent("paste"))}},{key:"pasteText",value:function(e,t){return zt(this,e,null,!0,t||new ClipboardEvent("paste"))}},{key:"destroy",value:function(){this.docView&&(!function(e){for(var t in e.domObserver.stop(),e.input.eventHandlers)e.dom.removeEventListener(t,e.input.eventHandlers[t]);clearTimeout(e.input.composingTimeout),clearTimeout(e.input.lastIOSEnterFallbackTimeout)}(this),this.destroyPluginViews(),this.mounted?(this.docView.update(this.state.doc,[],pn(this),this),this.dom.textContent=""):this.dom.parentNode&&this.dom.parentNode.removeChild(this.dom),this.docView.destroy(),this.docView=null)}},{key:"isDestroyed",get:function(){return null==this.docView}},{key:"dispatchEvent",value:function(e){return function(e,t){Tt(e,t)||!wt[t.type]||!e.editable&&t.type in xt||wt[t.type](e,t)}(this,e)}},{key:"dispatch",value:function(e){var t=this._props.dispatchTransaction;t?t.call(this,e):this.updateState(this.state.apply(e))}},{key:"domSelectionRange",value:function(){return B&&11===this.root.nodeType&&function(e){for(var t=e.activeElement;t&&t.shadowRoot;)t=t.shadowRoot.activeElement;return t}(this.dom.ownerDocument)==this.dom?function(e){var t;function n(e){e.preventDefault(),e.stopImmediatePropagation(),t=e.getTargetRanges()[0]}e.dom.addEventListener("beforeinput",n,!0),document.execCommand("indent"),e.dom.removeEventListener("beforeinput",n,!0);var r=t.startContainer,o=t.startOffset,i=t.endContainer,a=t.endOffset,s=e.domAtPos(e.state.selection.anchor);if(k(s.node,s.offset,i,a)){var l=[i,a,r,o];r=l[0],o=l[1],i=l[2],a=l[3]}return{anchorNode:r,anchorOffset:o,focusNode:i,focusOffset:a}}(this):this.domSelection()}},{key:"domSelection",value:function(){return this.root.getSelection()}}]),e}();function Mn(e){var t=Object.create(null);return t.class="ProseMirror",t.contenteditable=String(e.editable),e.someProp("attributes",(function(n){if("function"==typeof n&&(n=n(e.state)),n)for(var r in n)"class"==r?t.class+=" "+n[r]:"style"==r?t.style=(t.style?t.style+";":"")+n[r]:t[r]||"contenteditable"==r||"nodeName"==r||(t[r]=String(n[r]))})),t.translate||(t.translate="no"),[Xt.node(0,e.state.doc.content.size,t)]}function An(e){if(e.markCursor){var t=document.createElement("img");t.className="ProseMirror-separator",t.setAttribute("mark-placeholder","true"),t.setAttribute("alt",""),e.cursorWrapper={dom:t,deco:Xt.widget(e.state.selection.head,t,{raw:!0,marks:e.markCursor})}}else e.cursorWrapper=null}function Dn(e){return!e.someProp("editable",(function(t){return!1===t(e.state)}))}function Ln(e){var t=Object.create(null);function n(e){for(var n in e)Object.prototype.hasOwnProperty.call(t,n)||(t[n]=e[n])}return e.someProp("nodeViews",n),e.someProp("markViews",n),t}function Nn(e){if(e.spec.state||e.spec.filterTransaction||e.spec.appendTransaction)throw new RangeError("Plugins passed directly to the view must not have a state component")}t.Decoration=Xt,t.DecorationSet=en,t.EditorView=$n,t.__endComposition=On,t.__parseFromClipboard=Tn,t.__serializeForClipboard=En},26691:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});for(var n={8:"Backspace",9:"Tab",10:"Enter",12:"NumLock",13:"Enter",16:"Shift",17:"Control",18:"Alt",20:"CapsLock",27:"Escape",32:" ",33:"PageUp",34:"PageDown",35:"End",36:"Home",37:"ArrowLeft",38:"ArrowUp",39:"ArrowRight",40:"ArrowDown",44:"PrintScreen",45:"Insert",46:"Delete",59:";",61:"=",91:"Meta",92:"Meta",106:"*",107:"+",108:",",109:"-",110:".",111:"/",144:"NumLock",145:"ScrollLock",160:"Shift",161:"Shift",162:"Control",163:"Control",164:"Alt",165:"Alt",173:"-",186:";",187:"=",188:",",189:"-",190:".",191:"/",192:"`",219:"[",220:"\\",221:"]",222:"'"},r={48:")",49:"!",50:"@",51:"#",52:"$",53:"%",54:"^",55:"&",56:"*",57:"(",59:":",61:"+",173:"_",186:":",187:"+",188:"<",189:"_",190:">",191:"?",192:"~",219:"{",220:"|",221:"}",222:'"'},o="undefined"!=typeof navigator&&/Mac/.test(navigator.platform),i="undefined"!=typeof navigator&&/MSIE \d|Trident\/(?:[7-9]|\d{2,})\..*rv:(\d+)/.exec(navigator.userAgent),a=0;a<10;a++)n[48+a]=n[96+a]=String(a);for(a=1;a<=24;a++)n[a+111]="F"+a;for(a=65;a<=90;a++)n[a]=String.fromCharCode(a+32),r[a]=String.fromCharCode(a);for(var s in n)r.hasOwnProperty(s)||(r[s]=n[s]);t.base=n,t.keyName=function(e){var t=!(o&&e.metaKey&&e.shiftKey&&!e.ctrlKey&&!e.altKey||i&&e.shiftKey&&e.key&&1==e.key.length||"Unidentified"==e.key)&&e.key||(e.shiftKey?r:n)[e.keyCode]||e.key||"Unidentified";return"Esc"==t&&(t="Escape"),"Del"==t&&(t="Delete"),"Left"==t&&(t="ArrowLeft"),"Up"==t&&(t="ArrowUp"),"Right"==t&&(t="ArrowRight"),"Down"==t&&(t="ArrowDown"),t},t.shift=r},97326:(e,t,n)=>{"use strict";function r(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}n.d(t,{Z:()=>r})},87462:(e,t,n)=>{"use strict";function r(){return r=Object.assign?Object.assign.bind():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},r.apply(this,arguments)}n.d(t,{Z:()=>r})},61120:(e,t,n)=>{"use strict";function r(e){return r=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},r(e)}n.d(t,{Z:()=>r})},94578:(e,t,n)=>{"use strict";n.d(t,{Z:()=>o});var r=n(89611);function o(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,(0,r.Z)(e,t)}},78814:(e,t,n)=>{"use strict";function r(){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}}n.d(t,{Z:()=>r})},63366:(e,t,n)=>{"use strict";function r(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}n.d(t,{Z:()=>r})},89611:(e,t,n)=>{"use strict";function r(e,t){return r=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},r(e,t)}n.d(t,{Z:()=>r})},71002:(e,t,n)=>{"use strict";function r(e){return r="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},r(e)}n.d(t,{Z:()=>r})},90512:(e,t,n)=>{"use strict";function r(e){var t,n,o="";if("string"==typeof e||"number"==typeof e)o+=e;else if("object"==typeof e)if(Array.isArray(e)){var i=e.length;for(t=0;t<i;t++)e[t]&&(n=r(e[t]))&&(o&&(o+=" "),o+=n)}else for(n in e)e[n]&&(o&&(o+=" "),o+=n);return o}n.d(t,{Z:()=>o});const o=function(){for(var e,t,n=0,o="",i=arguments.length;n<i;n++)(e=arguments[n])&&(t=r(e))&&(o&&(o+=" "),o+=t);return o}},21518:(e,t,n)=>{"use strict";function r(e,t,n){this.x=e,this.y=t,this.time=n||(new Date).getTime()}function o(e,t,n,r){this.startPoint=e,this.control1=t,this.control2=n,this.endPoint=r}function i(e,t){var n=this,r=t||{};this.velocityFilterWeight=r.velocityFilterWeight||.7,this.minWidth=r.minWidth||.5,this.maxWidth=r.maxWidth||2.5,this.throttle="throttle"in r?r.throttle:16,this.minDistance="minDistance"in r?r.minDistance:5,this.throttle?this._strokeMoveUpdate=function(e,t,n){var r,o,i,a=null,s=0;n||(n={});var l=function(){s=!1===n.leading?0:Date.now(),a=null,i=e.apply(r,o),a||(r=o=null)};return function(){var c=Date.now();s||!1!==n.leading||(s=c);var u=t-(c-s);return r=this,o=arguments,u<=0||u>t?(a&&(clearTimeout(a),a=null),s=c,i=e.apply(r,o),a||(r=o=null)):a||!1===n.trailing||(a=setTimeout(l,u)),i}}(i.prototype._strokeUpdate,this.throttle):this._strokeMoveUpdate=i.prototype._strokeUpdate,this.dotSize=r.dotSize||function(){return(this.minWidth+this.maxWidth)/2},this.penColor=r.penColor||"black",this.backgroundColor=r.backgroundColor||"rgba(0,0,0,0)",this.onBegin=r.onBegin,this.onEnd=r.onEnd,this._canvas=e,this._ctx=e.getContext("2d"),this.clear(),this._handleMouseDown=function(e){1===e.which&&(n._mouseButtonDown=!0,n._strokeBegin(e))},this._handleMouseMove=function(e){n._mouseButtonDown&&n._strokeMoveUpdate(e)},this._handleMouseUp=function(e){1===e.which&&n._mouseButtonDown&&(n._mouseButtonDown=!1,n._strokeEnd(e))},this._handleTouchStart=function(e){if(1===e.targetTouches.length){var t=e.changedTouches[0];n._strokeBegin(t)}},this._handleTouchMove=function(e){e.preventDefault();var t=e.targetTouches[0];n._strokeMoveUpdate(t)},this._handleTouchEnd=function(e){e.target===n._canvas&&(e.preventDefault(),n._strokeEnd(e))},this.on()}n.r(t),n.d(t,{default:()=>a}),r.prototype.velocityFrom=function(e){return this.time!==e.time?this.distanceTo(e)/(this.time-e.time):1},r.prototype.distanceTo=function(e){return Math.sqrt(Math.pow(this.x-e.x,2)+Math.pow(this.y-e.y,2))},r.prototype.equals=function(e){return this.x===e.x&&this.y===e.y&&this.time===e.time},o.prototype.length=function(){for(var e=0,t=void 0,n=void 0,r=0;r<=10;r+=1){var o=r/10,i=this._point(o,this.startPoint.x,this.control1.x,this.control2.x,this.endPoint.x),a=this._point(o,this.startPoint.y,this.control1.y,this.control2.y,this.endPoint.y);if(r>0){var s=i-t,l=a-n;e+=Math.sqrt(s*s+l*l)}t=i,n=a}return e},o.prototype._point=function(e,t,n,r,o){return t*(1-e)*(1-e)*(1-e)+3*n*(1-e)*(1-e)*e+3*r*(1-e)*e*e+o*e*e*e},i.prototype.clear=function(){var e=this._ctx,t=this._canvas;e.fillStyle=this.backgroundColor,e.clearRect(0,0,t.width,t.height),e.fillRect(0,0,t.width,t.height),this._data=[],this._reset(),this._isEmpty=!0},i.prototype.fromDataURL=function(e){var t=this,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=new Image,o=n.ratio||window.devicePixelRatio||1,i=n.width||this._canvas.width/o,a=n.height||this._canvas.height/o;this._reset(),r.src=e,r.onload=function(){t._ctx.drawImage(r,0,0,i,a)},this._isEmpty=!1},i.prototype.toDataURL=function(e){var t;if("image/svg+xml"===e)return this._toSVG();for(var n=arguments.length,r=Array(n>1?n-1:0),o=1;o<n;o++)r[o-1]=arguments[o];return(t=this._canvas).toDataURL.apply(t,[e].concat(r))},i.prototype.on=function(){this._handleMouseEvents(),this._handleTouchEvents()},i.prototype.off=function(){this._canvas.removeEventListener("mousedown",this._handleMouseDown),this._canvas.removeEventListener("mousemove",this._handleMouseMove),document.removeEventListener("mouseup",this._handleMouseUp),this._canvas.removeEventListener("touchstart",this._handleTouchStart),this._canvas.removeEventListener("touchmove",this._handleTouchMove),this._canvas.removeEventListener("touchend",this._handleTouchEnd)},i.prototype.isEmpty=function(){return this._isEmpty},i.prototype._strokeBegin=function(e){this._data.push([]),this._reset(),this._strokeUpdate(e),"function"==typeof this.onBegin&&this.onBegin(e)},i.prototype._strokeUpdate=function(e){var t=e.clientX,n=e.clientY,r=this._createPoint(t,n),o=this._data[this._data.length-1],i=o&&o[o.length-1],a=i&&r.distanceTo(i)<this.minDistance;if(!i||!a){var s=this._addPoint(r),l=s.curve,c=s.widths;l&&c&&this._drawCurve(l,c.start,c.end),this._data[this._data.length-1].push({x:r.x,y:r.y,time:r.time,color:this.penColor})}},i.prototype._strokeEnd=function(e){var t=this.points.length>2,n=this.points[0];if(!t&&n&&this._drawDot(n),n){var r=this._data[this._data.length-1],o=r[r.length-1];n.equals(o)||r.push({x:n.x,y:n.y,time:n.time,color:this.penColor})}"function"==typeof this.onEnd&&this.onEnd(e)},i.prototype._handleMouseEvents=function(){this._mouseButtonDown=!1,this._canvas.addEventListener("mousedown",this._handleMouseDown),this._canvas.addEventListener("mousemove",this._handleMouseMove),document.addEventListener("mouseup",this._handleMouseUp)},i.prototype._handleTouchEvents=function(){this._canvas.style.msTouchAction="none",this._canvas.style.touchAction="none",this._canvas.addEventListener("touchstart",this._handleTouchStart),this._canvas.addEventListener("touchmove",this._handleTouchMove),this._canvas.addEventListener("touchend",this._handleTouchEnd)},i.prototype._reset=function(){this.points=[],this._lastVelocity=0,this._lastWidth=(this.minWidth+this.maxWidth)/2,this._ctx.fillStyle=this.penColor},i.prototype._createPoint=function(e,t,n){var o=this._canvas.getBoundingClientRect();return new r(e-o.left,t-o.top,n||(new Date).getTime())},i.prototype._addPoint=function(e){var t=this.points;if(t.push(e),t.length>2){3===t.length&&t.unshift(t[0]);var n=this._calculateCurveControlPoints(t[0],t[1],t[2]).c2,r=this._calculateCurveControlPoints(t[1],t[2],t[3]).c1,i=new o(t[1],n,r,t[2]),a=this._calculateCurveWidths(i);return t.shift(),{curve:i,widths:a}}return{}},i.prototype._calculateCurveControlPoints=function(e,t,n){var o=e.x-t.x,i=e.y-t.y,a=t.x-n.x,s=t.y-n.y,l=(e.x+t.x)/2,c=(e.y+t.y)/2,u=(t.x+n.x)/2,d=(t.y+n.y)/2,p=Math.sqrt(o*o+i*i),f=Math.sqrt(a*a+s*s),h=f/(p+f),m=u+(l-u)*h,v=d+(c-d)*h,g=t.x-m,y=t.y-v;return{c1:new r(l+g,c+y),c2:new r(u+g,d+y)}},i.prototype._calculateCurveWidths=function(e){var t=e.startPoint,n=e.endPoint,r={start:null,end:null},o=this.velocityFilterWeight*n.velocityFrom(t)+(1-this.velocityFilterWeight)*this._lastVelocity,i=this._strokeWidth(o);return r.start=this._lastWidth,r.end=i,this._lastVelocity=o,this._lastWidth=i,r},i.prototype._strokeWidth=function(e){return Math.max(this.maxWidth/(e+1),this.minWidth)},i.prototype._drawPoint=function(e,t,n){var r=this._ctx;r.moveTo(e,t),r.arc(e,t,n,0,2*Math.PI,!1),this._isEmpty=!1},i.prototype._drawCurve=function(e,t,n){var r=this._ctx,o=n-t,i=Math.floor(e.length());r.beginPath();for(var a=0;a<i;a+=1){var s=a/i,l=s*s,c=l*s,u=1-s,d=u*u,p=d*u,f=p*e.startPoint.x;f+=3*d*s*e.control1.x,f+=3*u*l*e.control2.x,f+=c*e.endPoint.x;var h=p*e.startPoint.y;h+=3*d*s*e.control1.y,h+=3*u*l*e.control2.y,h+=c*e.endPoint.y;var m=t+c*o;this._drawPoint(f,h,m)}r.closePath(),r.fill()},i.prototype._drawDot=function(e){var t=this._ctx,n="function"==typeof this.dotSize?this.dotSize():this.dotSize;t.beginPath(),this._drawPoint(e.x,e.y,n),t.closePath(),t.fill()},i.prototype._fromData=function(e,t,n){for(var o=0;o<e.length;o+=1){var i=e[o];if(i.length>1)for(var a=0;a<i.length;a+=1){var s=i[a],l=new r(s.x,s.y,s.time),c=s.color;if(0===a)this.penColor=c,this._reset(),this._addPoint(l);else if(a!==i.length-1){var u=this._addPoint(l),d=u.curve,p=u.widths;d&&p&&t(d,p,c)}}else this._reset(),n(i[0])}},i.prototype._toSVG=function(){var e=this,t=this._data,n=this._canvas,r=Math.max(window.devicePixelRatio||1,1),o=n.width/r,i=n.height/r,a=document.createElementNS("http://www.w3.org/2000/svg","svg");a.setAttributeNS(null,"width",n.width),a.setAttributeNS(null,"height",n.height),this._fromData(t,(function(e,t,n){var r=document.createElement("path");if(!(isNaN(e.control1.x)||isNaN(e.control1.y)||isNaN(e.control2.x)||isNaN(e.control2.y))){var o="M "+e.startPoint.x.toFixed(3)+","+e.startPoint.y.toFixed(3)+" C "+e.control1.x.toFixed(3)+","+e.control1.y.toFixed(3)+" "+e.control2.x.toFixed(3)+","+e.control2.y.toFixed(3)+" "+e.endPoint.x.toFixed(3)+","+e.endPoint.y.toFixed(3);r.setAttribute("d",o),r.setAttribute("stroke-width",(2.25*t.end).toFixed(3)),r.setAttribute("stroke",n),r.setAttribute("fill","none"),r.setAttribute("stroke-linecap","round"),a.appendChild(r)}}),(function(t){var n=document.createElement("circle"),r="function"==typeof e.dotSize?e.dotSize():e.dotSize;n.setAttribute("r",r),n.setAttribute("cx",t.x),n.setAttribute("cy",t.y),n.setAttribute("fill",t.color),a.appendChild(n)}));var s='<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" viewBox="0 0 '+o+" "+i+'" width="'+o+'" height="'+i+'">',l=a.innerHTML;if(void 0===l){var c=document.createElement("dummy"),u=a.childNodes;c.innerHTML="";for(var d=0;d<u.length;d+=1)c.appendChild(u[d].cloneNode(!0));l=c.innerHTML}return"data:image/svg+xml;base64,"+btoa(s+l+"</svg>")},i.prototype.fromData=function(e){var t=this;this.clear(),this._fromData(e,(function(e,n){return t._drawCurve(e,n.start,n.end)}),(function(e){return t._drawDot(e)})),this._data=e},i.prototype.toData=function(){return this._data};const a=i},27563:(e,t,n)=>{"use strict";n.d(t,{Ab:()=>a,Fr:()=>s,G$:()=>i,JM:()=>d,K$:()=>c,MS:()=>r,h5:()=>l,lK:()=>u,uj:()=>o});var r="-ms-",o="-moz-",i="-webkit-",a="comm",s="rule",l="decl",c="@import",u="@keyframes",d="@layer"},88160:(e,t,n)=>{"use strict";n.d(t,{cD:()=>i,qR:()=>o});var r=n(26686);function o(e){var t=(0,r.Ei)(e);return function(n,r,o,i){for(var a="",s=0;s<t;s++)a+=e[s](n,r,o,i)||"";return a}}function i(e){return function(t){t.root||(t=t.return)&&e(t)}}},92190:(e,t,n)=>{"use strict";n.d(t,{MY:()=>a});var r=n(27563),o=n(26686),i=n(46411);function a(e){return(0,i.cE)(s("",null,null,null,[""],e=(0,i.un)(e),0,[0],e))}function s(e,t,n,r,a,d,p,f,h){for(var m=0,v=0,g=p,y=0,b=0,w=0,x=1,k=1,S=1,C=0,E="",T=a,O=d,$=r,M=E;k;)switch(w=C,C=(0,i.lp)()){case 40:if(108!=w&&58==(0,o.uO)(M,g-1)){-1!=(0,o.Cw)(M+=(0,o.gx)((0,i.iF)(C),"&","&\f"),"&\f")&&(S=-1);break}case 34:case 39:case 91:M+=(0,i.iF)(C);break;case 9:case 10:case 13:case 32:M+=(0,i.Qb)(w);break;case 92:M+=(0,i.kq)((0,i.Ud)()-1,7);continue;case 47:switch((0,i.fj)()){case 42:case 47:(0,o.R3)(c((0,i.q6)((0,i.lp)(),(0,i.Ud)()),t,n),h);break;default:M+="/"}break;case 123*x:f[m++]=(0,o.to)(M)*S;case 125*x:case 59:case 0:switch(C){case 0:case 125:k=0;case 59+v:-1==S&&(M=(0,o.gx)(M,/\f/g,"")),b>0&&(0,o.to)(M)-g&&(0,o.R3)(b>32?u(M+";",r,n,g-1):u((0,o.gx)(M," ","")+";",r,n,g-2),h);break;case 59:M+=";";default:if((0,o.R3)($=l(M,t,n,m,v,a,f,E,T=[],O=[],g),d),123===C)if(0===v)s(M,t,$,$,T,d,g,f,O);else switch(99===y&&110===(0,o.uO)(M,3)?100:y){case 100:case 108:case 109:case 115:s(e,$,$,r&&(0,o.R3)(l(e,$,$,0,0,a,f,E,a,T=[],g),O),a,O,g,f,r?T:O);break;default:s(M,$,$,$,[""],O,0,f,O)}}m=v=b=0,x=S=1,E=M="",g=p;break;case 58:g=1+(0,o.to)(M),b=w;default:if(x<1)if(123==C)--x;else if(125==C&&0==x++&&125==(0,i.mp)())continue;switch(M+=(0,o.Dp)(C),C*x){case 38:S=v>0?1:(M+="\f",-1);break;case 44:f[m++]=((0,o.to)(M)-1)*S,S=1;break;case 64:45===(0,i.fj)()&&(M+=(0,i.iF)((0,i.lp)())),y=(0,i.fj)(),v=g=(0,o.to)(E=M+=(0,i.QU)((0,i.Ud)())),C++;break;case 45:45===w&&2==(0,o.to)(M)&&(x=0)}}return d}function l(e,t,n,a,s,l,c,u,d,p,f){for(var h=s-1,m=0===s?l:[""],v=(0,o.Ei)(m),g=0,y=0,b=0;g<a;++g)for(var w=0,x=(0,o.tb)(e,h+1,h=(0,o.Wn)(y=c[g])),k=e;w<v;++w)(k=(0,o.fy)(y>0?m[w]+" "+x:(0,o.gx)(x,/&\f/g,m[w])))&&(d[b++]=k);return(0,i.dH)(e,t,n,0===s?r.Fr:u,d,p,f)}function c(e,t,n){return(0,i.dH)(e,t,n,r.Ab,(0,o.Dp)((0,i.Tb)()),(0,o.tb)(e,2,-2),0)}function u(e,t,n,a){return(0,i.dH)(e,t,n,r.h5,(0,o.tb)(e,0,a),(0,o.tb)(e,a+1,-1),a)}},20211:(e,t,n)=>{"use strict";n.d(t,{P:()=>a,q:()=>i});var r=n(27563),o=n(26686);function i(e,t){for(var n="",r=(0,o.Ei)(e),i=0;i<r;i++)n+=t(e[i],i,e,t)||"";return n}function a(e,t,n,a){switch(e.type){case r.JM:if(e.children.length)break;case r.K$:case r.h5:return e.return=e.return||e.value;case r.Ab:return"";case r.lK:return e.return=e.value+"{"+i(e.children,a)+"}";case r.Fr:e.value=e.props.join(",")}return(0,o.to)(n=i(e.children,a))?e.return=e.value+"{"+n+"}":""}},46411:(e,t,n)=>{"use strict";n.d(t,{FK:()=>s,JG:()=>d,QU:()=>T,Qb:()=>k,Tb:()=>p,Ud:()=>v,cE:()=>w,dH:()=>u,fj:()=>m,iF:()=>x,kq:()=>S,lp:()=>h,mp:()=>f,q6:()=>E,r:()=>y,tP:()=>g,un:()=>b});var r=n(26686),o=1,i=1,a=0,s=0,l=0,c="";function u(e,t,n,r,a,s,l){return{value:e,root:t,parent:n,type:r,props:a,children:s,line:o,column:i,length:l,return:""}}function d(e,t){return(0,r.f0)(u("",null,null,"",null,null,0),e,{length:-e.length},t)}function p(){return l}function f(){return l=s>0?(0,r.uO)(c,--s):0,i--,10===l&&(i=1,o--),l}function h(){return l=s<a?(0,r.uO)(c,s++):0,i++,10===l&&(i=1,o++),l}function m(){return(0,r.uO)(c,s)}function v(){return s}function g(e,t){return(0,r.tb)(c,e,t)}function y(e){switch(e){case 0:case 9:case 10:case 13:case 32:return 5;case 33:case 43:case 44:case 47:case 62:case 64:case 126:case 59:case 123:case 125:return 4;case 58:return 3;case 34:case 39:case 40:case 91:return 2;case 41:case 93:return 1}return 0}function b(e){return o=i=1,a=(0,r.to)(c=e),s=0,[]}function w(e){return c="",e}function x(e){return(0,r.fy)(g(s-1,C(91===e?e+2:40===e?e+1:e)))}function k(e){for(;(l=m())&&l<33;)h();return y(e)>2||y(l)>3?"":" "}function S(e,t){for(;--t&&h()&&!(l<48||l>102||l>57&&l<65||l>70&&l<97););return g(e,v()+(t<6&&32==m()&&32==h()))}function C(e){for(;h();)switch(l){case e:return s;case 34:case 39:34!==e&&39!==e&&C(l);break;case 40:41===e&&C(e);break;case 92:h()}return s}function E(e,t){for(;h()&&e+l!==57&&(e+l!==84||47!==m()););return"/*"+g(t,s-1)+"*"+(0,r.Dp)(47===e?e:h())}function T(e){for(;!y(m());)h();return g(e,s)}},26686:(e,t,n)=>{"use strict";n.d(t,{$e:()=>v,Cw:()=>u,Dp:()=>o,EQ:()=>l,Ei:()=>h,R3:()=>m,Wn:()=>r,f0:()=>i,fy:()=>s,gx:()=>c,tb:()=>p,to:()=>f,uO:()=>d,vp:()=>a});var r=Math.abs,o=String.fromCharCode,i=Object.assign;function a(e,t){return 45^d(e,0)?(((t<<2^d(e,0))<<2^d(e,1))<<2^d(e,2))<<2^d(e,3):0}function s(e){return e.trim()}function l(e,t){return(e=t.exec(e))?e[0]:e}function c(e,t,n){return e.replace(t,n)}function u(e,t){return e.indexOf(t)}function d(e,t){return 0|e.charCodeAt(t)}function p(e,t,n){return e.slice(t,n)}function f(e){return e.length}function h(e){return e.length}function m(e,t){return t.push(e),e}function v(e,t){return e.map(t).join("")}},97582:(e,t,n)=>{"use strict";n.r(t),n.d(t,{__addDisposableResource:()=>R,__assign:()=>i,__asyncDelegator:()=>E,__asyncGenerator:()=>C,__asyncValues:()=>T,__await:()=>S,__awaiter:()=>h,__classPrivateFieldGet:()=>D,__classPrivateFieldIn:()=>N,__classPrivateFieldSet:()=>L,__createBinding:()=>v,__decorate:()=>s,__disposeResources:()=>P,__esDecorate:()=>c,__exportStar:()=>g,__extends:()=>o,__generator:()=>m,__importDefault:()=>A,__importStar:()=>M,__makeTemplateObject:()=>O,__metadata:()=>f,__param:()=>l,__propKey:()=>d,__read:()=>b,__rest:()=>a,__runInitializers:()=>u,__setFunctionName:()=>p,__spread:()=>w,__spreadArray:()=>k,__spreadArrays:()=>x,__values:()=>y,default:()=>Z});var 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)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},r(e,t)};function o(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}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}var i=function(){return i=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},i.apply(this,arguments)};function a(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 o=0;for(r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]])}return n}function s(e,t,n,r){var o,i=arguments.length,a=i<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,n,r);else for(var s=e.length-1;s>=0;s--)(o=e[s])&&(a=(i<3?o(a):i>3?o(t,n,a):o(t,n))||a);return i>3&&a&&Object.defineProperty(t,n,a),a}function l(e,t){return function(n,r){t(n,r,e)}}function c(e,t,n,r,o,i){function a(e){if(void 0!==e&&"function"!=typeof e)throw new TypeError("Function expected");return e}for(var s,l=r.kind,c="getter"===l?"get":"setter"===l?"set":"value",u=!t&&e?r.static?e:e.prototype:null,d=t||(u?Object.getOwnPropertyDescriptor(u,r.name):{}),p=!1,f=n.length-1;f>=0;f--){var h={};for(var m in r)h[m]="access"===m?{}:r[m];for(var m in r.access)h.access[m]=r.access[m];h.addInitializer=function(e){if(p)throw new TypeError("Cannot add initializers after decoration has completed");i.push(a(e||null))};var v=(0,n[f])("accessor"===l?{get:d.get,set:d.set}:d[c],h);if("accessor"===l){if(void 0===v)continue;if(null===v||"object"!=typeof v)throw new TypeError("Object expected");(s=a(v.get))&&(d.get=s),(s=a(v.set))&&(d.set=s),(s=a(v.init))&&o.unshift(s)}else(s=a(v))&&("field"===l?o.unshift(s):d[c]=s)}u&&Object.defineProperty(u,r.name,d),p=!0}function u(e,t,n){for(var r=arguments.length>2,o=0;o<t.length;o++)n=r?t[o].call(e,n):t[o].call(e);return r?n:void 0}function d(e){return"symbol"==typeof e?e:"".concat(e)}function p(e,t,n){return"symbol"==typeof t&&(t=t.description?"[".concat(t.description,"]"):""),Object.defineProperty(e,"name",{configurable:!0,value:n?"".concat(n," ",t):t})}function f(e,t){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)}function h(e,t,n,r){return new(n||(n=Promise))((function(o,i){function a(e){try{l(r.next(e))}catch(t){i(t)}}function s(e){try{l(r.throw(e))}catch(t){i(t)}}function l(e){var t;e.done?o(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 m(e,t){var n,r,o,i,a={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return i={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function s(s){return function(l){return function(s){if(n)throw new TypeError("Generator is already executing.");for(;i&&(i=0,s[0]&&(a=0)),a;)try{if(n=1,r&&(o=2&s[0]?r.return:s[0]?r.throw||((o=r.return)&&o.call(r),0):r.next)&&!(o=o.call(r,s[1])).done)return o;switch(r=0,o&&(s=[2&s[0],o.value]),s[0]){case 0:case 1:o=s;break;case 4:return a.label++,{value:s[1],done:!1};case 5:a.label++,r=s[1],s=[0];continue;case 7:s=a.ops.pop(),a.trys.pop();continue;default:if(!(o=a.trys,(o=o.length>0&&o[o.length-1])||6!==s[0]&&2!==s[0])){a=0;continue}if(3===s[0]&&(!o||s[1]>o[0]&&s[1]<o[3])){a.label=s[1];break}if(6===s[0]&&a.label<o[1]){a.label=o[1],o=s;break}if(o&&a.label<o[2]){a.label=o[2],a.ops.push(s);break}o[2]&&a.ops.pop(),a.trys.pop();continue}s=t.call(e,a)}catch(l){s=[6,l],r=0}finally{n=o=0}if(5&s[0])throw s[1];return{value:s[0]?s[1]:void 0,done:!0}}([s,l])}}}var v=Object.create?function(e,t,n,r){void 0===r&&(r=n);var o=Object.getOwnPropertyDescriptor(t,n);o&&!("get"in o?!t.__esModule:o.writable||o.configurable)||(o={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,o)}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]};function g(e,t){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(t,n)||v(t,e,n)}function y(e){var t="function"==typeof Symbol&&Symbol.iterator,n=t&&e[t],r=0;if(n)return n.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&r>=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")}function b(e,t){var n="function"==typeof Symbol&&e[Symbol.iterator];if(!n)return e;var r,o,i=n.call(e),a=[];try{for(;(void 0===t||t-- >0)&&!(r=i.next()).done;)a.push(r.value)}catch(s){o={error:s}}finally{try{r&&!r.done&&(n=i.return)&&n.call(i)}finally{if(o)throw o.error}}return a}function w(){for(var e=[],t=0;t<arguments.length;t++)e=e.concat(b(arguments[t]));return e}function x(){for(var e=0,t=0,n=arguments.length;t<n;t++)e+=arguments[t].length;var r=Array(e),o=0;for(t=0;t<n;t++)for(var i=arguments[t],a=0,s=i.length;a<s;a++,o++)r[o]=i[a];return r}function k(e,t,n){if(n||2===arguments.length)for(var r,o=0,i=t.length;o<i;o++)!r&&o in t||(r||(r=Array.prototype.slice.call(t,0,o)),r[o]=t[o]);return e.concat(r||Array.prototype.slice.call(t))}function S(e){return this instanceof S?(this.v=e,this):new S(e)}function C(e,t,n){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var r,o=n.apply(e,t||[]),i=[];return r={},a("next"),a("throw"),a("return"),r[Symbol.asyncIterator]=function(){return this},r;function a(e){o[e]&&(r[e]=function(t){return new Promise((function(n,r){i.push([e,t,n,r])>1||s(e,t)}))})}function s(e,t){try{!function(e){e.value instanceof S?Promise.resolve(e.value.v).then(l,c):u(i[0][2],e)}(o[e](t))}catch(n){u(i[0][3],n)}}function l(e){s("next",e)}function c(e){s("throw",e)}function u(e,t){e(t),i.shift(),i.length&&s(i[0][0],i[0][1])}}function E(e){var t,n;return t={},r("next"),r("throw",(function(e){throw e})),r("return"),t[Symbol.iterator]=function(){return this},t;function r(r,o){t[r]=e[r]?function(t){return(n=!n)?{value:S(e[r](t)),done:!1}:o?o(t):t}:o}}function T(e){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var t,n=e[Symbol.asyncIterator];return n?n.call(e):(e=y(e),t={},r("next"),r("throw"),r("return"),t[Symbol.asyncIterator]=function(){return this},t);function r(n){t[n]=e[n]&&function(t){return new Promise((function(r,o){(function(e,t,n,r){Promise.resolve(r).then((function(t){e({value:t,done:n})}),t)})(r,o,(t=e[n](t)).done,t.value)}))}}}function O(e,t){return Object.defineProperty?Object.defineProperty(e,"raw",{value:t}):e.raw=t,e}var $=Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t};function M(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)"default"!==n&&Object.prototype.hasOwnProperty.call(e,n)&&v(t,e,n);return $(t,e),t}function A(e){return e&&e.__esModule?e:{default:e}}function D(e,t,n,r){if("a"===n&&!r)throw new TypeError("Private accessor was defined without a getter");if("function"==typeof t?e!==t||!r:!t.has(e))throw new TypeError("Cannot read private member from an object whose class did not declare it");return"m"===n?r:"a"===n?r.call(e):r?r.value:t.get(e)}function L(e,t,n,r,o){if("m"===r)throw new TypeError("Private method is not writable");if("a"===r&&!o)throw new TypeError("Private accessor was defined without a setter");if("function"==typeof t?e!==t||!o:!t.has(e))throw new TypeError("Cannot write private member to an object whose class did not declare it");return"a"===r?o.call(e,n):o?o.value=n:t.set(e,n),n}function N(e,t){if(null===t||"object"!=typeof t&&"function"!=typeof t)throw new TypeError("Cannot use 'in' operator on non-object");return"function"==typeof e?t===e:e.has(t)}function R(e,t,n){if(null!=t){if("object"!=typeof t&&"function"!=typeof t)throw new TypeError("Object expected.");var r;if(n){if(!Symbol.asyncDispose)throw new TypeError("Symbol.asyncDispose is not defined.");r=t[Symbol.asyncDispose]}if(void 0===r){if(!Symbol.dispose)throw new TypeError("Symbol.dispose is not defined.");r=t[Symbol.dispose]}if("function"!=typeof r)throw new TypeError("Object not disposable.");e.stack.push({value:t,dispose:r,async:n})}else n&&e.stack.push({async:!0});return t}var I="function"==typeof SuppressedError?SuppressedError:function(e,t,n){var r=new Error(n);return r.name="SuppressedError",r.error=e,r.suppressed=t,r};function P(e){function t(t){e.error=e.hasError?new I(t,e.error,"An error was suppressed during disposal."):t,e.hasError=!0}return function n(){for(;e.stack.length;){var r=e.stack.pop();try{var o=r.dispose&&r.dispose.call(r.value);if(r.async)return Promise.resolve(o).then(n,(function(e){return t(e),n()}))}catch(i){t(i)}}if(e.hasError)throw e.error}()}const Z={__extends:o,__assign:i,__rest:a,__decorate:s,__param:l,__metadata:f,__awaiter:h,__generator:m,__createBinding:v,__exportStar:g,__values:y,__read:b,__spread:w,__spreadArrays:x,__spreadArray:k,__await:S,__asyncGenerator:C,__asyncDelegator:E,__asyncValues:T,__makeTemplateObject:O,__importStar:M,__importDefault:A,__classPrivateFieldGet:D,__classPrivateFieldSet:L,__classPrivateFieldIn:N,__addDisposableResource:R,__disposeResources:P}}},t={};function n(r){var o=t[r];if(void 0!==o)return o.exports;var i=t[r]={exports:{}};return e[r].call(i.exports,i,i.exports,n),i.exports}n.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return n.d(t,{a:t}),t},n.d=(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=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),n.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var r={};(()=>{"use strict";n.d(r,{default:()=>xB});var e=n(85893),t=n(75260),o=n(74570),i=n.n(o),a=(n(54697),n(8679),n(30302),n(27278),e.Fragment);function s(n,r,o){return t.h.call(r,"css")?e.jsx(t.E,(0,t.c)(n,r),o):e.jsx(n,r,o)}function l(n,r,o){return t.h.call(r,"css")?e.jsxs(t.E,(0,t.c)(n,r),o):e.jsxs(n,r,o)}var c=n(74518),u=n(99226),d=n(94184),p=n.n(d),f=function(){return f=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},f.apply(this,arguments)},h=function(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 o=0;for(r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]])}return n},m=function(e){var t=e.children,n=e.className,r=e.justifyContent,o=e.styles,i=h(e,["children","className","justifyContent","styles"]),a=f(f({},r?{display:"flex",justifyContent:r}:{}),o||{});return s(u.Z,f({component:"div",className:p()(n,"container"),sx:a},i,{children:t}))};m.defaultProps={};const v=m;var g=n(2734),y=n(22054),b=n(69397),w=n(66489),x=function(){return x=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},x.apply(this,arguments)},k=function(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 o=0;for(r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]])}return n};const S=function(e){var t=e.color,n=e.size,r=(e.style,e.classes),o=e.className,i=e.sx,l=void 0===i?{}:i,c=e.onClick,d=e.containerClassName,p=void 0===d?"":d;e.weight,e.mirrored,e.alt,k(e,["color","size","style","classes","className","sx","onClick","containerClassName","weight","mirrored","alt"]);return s(a,{children:Array.isArray(r)&&r.length?r.map((function(e){return o===e&&s(u.Z,{component:"div",sx:l,onClick:c,className:p,style:x(x({},n?{fontSize:n}:{}),t?{color:t}:{}),children:s("i",{className:e})},e)})):s(u.Z,{component:"div",sx:l,className:p,onClick:c,style:x(x({},n?{fontSize:n}:{}),t?{color:t}:{}),children:s("i",{className:o})})})};var C=function(){return C=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},C.apply(this,arguments)},E=function(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 o=0;for(r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]])}return n};const T=function(e){var t=e.styles,n=void 0===t?{}:t,r=e.sx,o=e.success,i=e.children,c=e.breakText,d=void 0===c?!!e.fullWidth:c,p=e.showSkeleton,f=e.buttonType,h=e.dangerouslySetInnerHTML,m=e.enableHTML,v=void 0!==m&&m,x=E(e,["styles","sx","success","children","breakText","showSkeleton","buttonType","dangerouslySetInnerHTML","enableHTML"]),k=(0,g.Z)(),T=n.fontSize,O=n.fontFamily,$=n.fontWeight,M=n.letterSpacing,A=n.textColor,D=n.textAlign,L=n.backgroundColor,N=n.paddingLeft,R=n.paddingRight,I=n.paddingTop,P=n.paddingBottom,Z=n.marginTop,_=n.marginBottom,F=n.marginRight,j=n.marginLeft,B=n.borderStyle,z=n.borderWidth,H=n.borderColor,U=n.borderRadius,W=n.backgroundColorHover,V=n.boxShadowHover,q=n.boxShadow,G=n.borderStyleHover,K=n.borderWidthHover,Y=n.borderColorHover;return p?s(y.Z,{variant:"rectangular",sx:C(C({},n),{minWidth:"120px",minHeight:"39px"})}):s(b.Z,C({variant:"contained",color:"primary"},x,{type:f,href:x.href,fullWidth:x.fullWidth,sx:C(C(C(C(C({},r),{pt:I,pr:R,pb:P,pl:N,mt:Z,mb:_,mr:F,ml:j,backgroundColor:L,color:A,align:D}),x.loading&&{pointerEvents:"none"}),o&&{backgroundColor:"#36B37E"}),{borderStyle:B,borderWidth:z,borderColor:H,borderRadius:U,fontSize:T,fontFamily:O,fontWeight:$,letterSpacing:M,whiteSpace:d?"wrap":"nowrap",boxShadow:q,":hover":C(C({backgroundColor:(W||L)+"!important"},o&&{backgroundColor:"#36B37E"}),{color:A||(W||L?k.palette.getContrastText(W||L):"primary.contrastText"),boxShadow:V+"!important",borderStyle:G,borderWidth:K,borderColor:Y})}),children:v?s(u.Z,{component:"span",sx:{maxWidth:"100%",textOverflow:"ellipsis",overflow:"hidden"},dangerouslySetInnerHTML:{__html:h}}):l(a,{children:[i,o&&s("div",{className:"success-icon",children:s(S,{className:"CheckCircle"})}),x.loading&&s(w.Z,{color:"inherit",size:15,sx:{marginLeft:"10px"}})]})}))};const O=i().createContext({id:"",elements:{},blockSelector:"",category:""});var $,M,A,D,L,N,R,I,P,Z,_=function(e){var t=(0,o.useContext)(O).elements;return e?e.split(".").reduce((function(e,t){return e&&e[t]?e[t]:null}),t):t},F=function(){return(0,o.useContext)(O).hrid||""};!function(e){e.Header="Header",e.Hero="Hero",e.FAQ="FAQ",e.Chart="Chart",e.CustomCode="Custom Code",e.ListDetails="List Details",e.List="List",e.Other="Other",e.Footer="Footer",e.Form="Form",e.OrganizationalChart="Organizational Chart"}($||($={})),function(e){e.Static="static",e.Dynamic="dynamic"}(M||(M={})),function(e){e.View="VIEW",e.Edit="EDIT"}(A||(A={})),function(e){e.Left="LEFT",e.Right="RIGHT",e.Top="TOP",e.Bottom="BOTTOM"}(D||(D={})),function(e){e.AllUsers="ALL_USERS"}(L||(L={})),function(e){e.Array="array"}(N||(N={})),function(e){e.Airtable="AIRTABLE_LEGACY",e.Gsheet="GOOGLE_SHEET"}(R||(R={})),function(e){e.ShowMessage="SHOW_MESSAGE",e.Action="ACTION",e.NoAction="NO_ACTION",e.OpenPage="OPEN_PAGE"}(I||(I={})),function(e){e.Integromat="integromatWebhook",e.Mailchimp="mailchimp",e.Mailerlite="mailerlite",e.Zapier="zapierWebhook",e.AirtableBase="airtableBase",e.Airtable="AIRTABLE",e.GoogleSheet="GOOGLE_SHEET",e.SmartSuite="SMARTSUITE",e.Hubspot="HUBSPOT",e.Email="email"}(P||(P={})),function(e){e.HIDE="HIDE",e.EMPTY_STATE="EMPTY_STATE"}(Z||(Z={}));var j=function(){return(0,o.useContext)(O).collection||{}},B=n(91311),{entries:z,setPrototypeOf:H,isFrozen:U,getPrototypeOf:W,getOwnPropertyDescriptor:V}=Object,{freeze:q,seal:G,create:K}=Object,{apply:Y,construct:X}="undefined"!=typeof Reflect&&Reflect;q||(q=function(e){return e}),G||(G=function(e){return e}),Y||(Y=function(e,t,n){return e.apply(t,n)}),X||(X=function(e,t){return new e(...t)});var J=ue(Array.prototype.forEach),Q=ue(Array.prototype.pop),ee=ue(Array.prototype.push),te=ue(String.prototype.toLowerCase),ne=ue(String.prototype.toString),re=ue(String.prototype.match),oe=ue(String.prototype.replace),ie=ue(String.prototype.indexOf),ae=ue(String.prototype.trim),se=ue(Object.prototype.hasOwnProperty),le=ue(RegExp.prototype.test),ce=function(e){return function(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return X(e,n)}}(TypeError);function ue(e){return function(t){for(var n=arguments.length,r=new Array(n>1?n-1:0),o=1;o<n;o++)r[o-1]=arguments[o];return Y(e,t,r)}}function de(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:te;H&&H(e,null);let r=t.length;for(;r--;){let o=t[r];if("string"==typeof o){let e=n(o);e!==o&&(U(t)||(t[r]=e),o=e)}e[o]=!0}return e}function pe(e){for(let t=0;t<e.length;t++)se(e,t)||(e[t]=null);return e}function fe(e){let t=K(null);for(let[n,r]of z(e))se(e,n)&&(Array.isArray(r)?t[n]=pe(r):r&&"object"==typeof r&&r.constructor===Object?t[n]=fe(r):t[n]=r);return t}function he(e,t){for(;null!==e;){let n=V(e,t);if(n){if(n.get)return ue(n.get);if("function"==typeof n.value)return ue(n.value)}e=W(e)}return function(){return null}}var me=q(["a","abbr","acronym","address","area","article","aside","audio","b","bdi","bdo","big","blink","blockquote","body","br","button","canvas","caption","center","cite","code","col","colgroup","content","data","datalist","dd","decorator","del","details","dfn","dialog","dir","div","dl","dt","element","em","fieldset","figcaption","figure","font","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","img","input","ins","kbd","label","legend","li","main","map","mark","marquee","menu","menuitem","meter","nav","nobr","ol","optgroup","option","output","p","picture","pre","progress","q","rp","rt","ruby","s","samp","section","select","shadow","small","source","spacer","span","strike","strong","style","sub","summary","sup","table","tbody","td","template","textarea","tfoot","th","thead","time","tr","track","tt","u","ul","var","video","wbr"]),ve=q(["svg","a","altglyph","altglyphdef","altglyphitem","animatecolor","animatemotion","animatetransform","circle","clippath","defs","desc","ellipse","filter","font","g","glyph","glyphref","hkern","image","line","lineargradient","marker","mask","metadata","mpath","path","pattern","polygon","polyline","radialgradient","rect","stop","style","switch","symbol","text","textpath","title","tref","tspan","view","vkern"]),ge=q(["feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feDropShadow","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence"]),ye=q(["animate","color-profile","cursor","discard","font-face","font-face-format","font-face-name","font-face-src","font-face-uri","foreignobject","hatch","hatchpath","mesh","meshgradient","meshpatch","meshrow","missing-glyph","script","set","solidcolor","unknown","use"]),be=q(["math","menclose","merror","mfenced","mfrac","mglyph","mi","mlabeledtr","mmultiscripts","mn","mo","mover","mpadded","mphantom","mroot","mrow","ms","mspace","msqrt","mstyle","msub","msup","msubsup","mtable","mtd","mtext","mtr","munder","munderover","mprescripts"]),we=q(["maction","maligngroup","malignmark","mlongdiv","mscarries","mscarry","msgroup","mstack","msline","msrow","semantics","annotation","annotation-xml","mprescripts","none"]),xe=q(["#text"]),ke=q(["accept","action","align","alt","autocapitalize","autocomplete","autopictureinpicture","autoplay","background","bgcolor","border","capture","cellpadding","cellspacing","checked","cite","class","clear","color","cols","colspan","controls","controlslist","coords","crossorigin","datetime","decoding","default","dir","disabled","disablepictureinpicture","disableremoteplayback","download","draggable","enctype","enterkeyhint","face","for","headers","height","hidden","high","href","hreflang","id","inputmode","integrity","ismap","kind","label","lang","list","loading","loop","low","max","maxlength","media","method","min","minlength","multiple","muted","name","nonce","noshade","novalidate","nowrap","open","optimum","pattern","placeholder","playsinline","poster","preload","pubdate","radiogroup","readonly","rel","required","rev","reversed","role","rows","rowspan","spellcheck","scope","selected","shape","size","sizes","span","srclang","start","src","srcset","step","style","summary","tabindex","title","translate","type","usemap","valign","value","width","xmlns","slot"]),Se=q(["accent-height","accumulate","additive","alignment-baseline","ascent","attributename","attributetype","azimuth","basefrequency","baseline-shift","begin","bias","by","class","clip","clippathunits","clip-path","clip-rule","color","color-interpolation","color-interpolation-filters","color-profile","color-rendering","cx","cy","d","dx","dy","diffuseconstant","direction","display","divisor","dur","edgemode","elevation","end","fill","fill-opacity","fill-rule","filter","filterunits","flood-color","flood-opacity","font-family","font-size","font-size-adjust","font-stretch","font-style","font-variant","font-weight","fx","fy","g1","g2","glyph-name","glyphref","gradientunits","gradienttransform","height","href","id","image-rendering","in","in2","k","k1","k2","k3","k4","kerning","keypoints","keysplines","keytimes","lang","lengthadjust","letter-spacing","kernelmatrix","kernelunitlength","lighting-color","local","marker-end","marker-mid","marker-start","markerheight","markerunits","markerwidth","maskcontentunits","maskunits","max","mask","media","method","mode","min","name","numoctaves","offset","operator","opacity","order","orient","orientation","origin","overflow","paint-order","path","pathlength","patterncontentunits","patterntransform","patternunits","points","preservealpha","preserveaspectratio","primitiveunits","r","rx","ry","radius","refx","refy","repeatcount","repeatdur","restart","result","rotate","scale","seed","shape-rendering","specularconstant","specularexponent","spreadmethod","startoffset","stddeviation","stitchtiles","stop-color","stop-opacity","stroke-dasharray","stroke-dashoffset","stroke-linecap","stroke-linejoin","stroke-miterlimit","stroke-opacity","stroke","stroke-width","style","surfacescale","systemlanguage","tabindex","targetx","targety","transform","transform-origin","text-anchor","text-decoration","text-rendering","textlength","type","u1","u2","unicode","values","viewbox","visibility","version","vert-adv-y","vert-origin-x","vert-origin-y","width","word-spacing","wrap","writing-mode","xchannelselector","ychannelselector","x","x1","x2","xmlns","y","y1","y2","z","zoomandpan"]),Ce=q(["accent","accentunder","align","bevelled","close","columnsalign","columnlines","columnspan","denomalign","depth","dir","display","displaystyle","encoding","fence","frame","height","href","id","largeop","length","linethickness","lspace","lquote","mathbackground","mathcolor","mathsize","mathvariant","maxsize","minsize","movablelimits","notation","numalign","open","rowalign","rowlines","rowspacing","rowspan","rspace","rquote","scriptlevel","scriptminsize","scriptsizemultiplier","selection","separator","separators","stretchy","subscriptshift","supscriptshift","symmetric","voffset","width","xmlns"]),Ee=q(["xlink:href","xml:id","xlink:title","xml:space","xmlns:xlink"]),Te=G(/\{\{[\w\W]*|[\w\W]*\}\}/gm),Oe=G(/<%[\w\W]*|[\w\W]*%>/gm),$e=G(/\${[\w\W]*}/gm),Me=G(/^data-[\-\w.\u00B7-\uFFFF]/),Ae=G(/^aria-[\-\w]+$/),De=G(/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|sms|cid|xmpp):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i),Le=G(/^(?:\w+script|data):/i),Ne=G(/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g),Re=G(/^html$/i),Ie=G(/^[a-z][a-z\d]*(-[a-z\d]+)+$/i),Pe=Object.freeze({__proto__:null,MUSTACHE_EXPR:Te,ERB_EXPR:Oe,TMPLIT_EXPR:$e,DATA_ATTR:Me,ARIA_ATTR:Ae,IS_ALLOWED_URI:De,IS_SCRIPT_OR_DATA:Le,ATTR_WHITESPACE:Ne,DOCTYPE_NAME:Re,CUSTOM_ELEMENT:Ie});var Ze=function e(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"undefined"==typeof window?null:window,n=t=>e(t);if(n.version="3.0.10",n.removed=[],!t||!t.document||9!==t.document.nodeType)return n.isSupported=!1,n;let{document:r}=t,o=r,i=o.currentScript,{DocumentFragment:a,HTMLTemplateElement:s,Node:l,Element:c,NodeFilter:u,NamedNodeMap:d=t.NamedNodeMap||t.MozNamedAttrMap,HTMLFormElement:p,DOMParser:f,trustedTypes:h}=t,m=c.prototype,v=he(m,"cloneNode"),g=he(m,"nextSibling"),y=he(m,"childNodes"),b=he(m,"parentNode");if("function"==typeof s){let e=r.createElement("template");e.content&&e.content.ownerDocument&&(r=e.content.ownerDocument)}let w,x="",{implementation:k,createNodeIterator:S,createDocumentFragment:C,getElementsByTagName:E}=r,{importNode:T}=o,O={};n.isSupported="function"==typeof z&&"function"==typeof b&&k&&void 0!==k.createHTMLDocument;let{MUSTACHE_EXPR:$,ERB_EXPR:M,TMPLIT_EXPR:A,DATA_ATTR:D,ARIA_ATTR:L,IS_SCRIPT_OR_DATA:N,ATTR_WHITESPACE:R,CUSTOM_ELEMENT:I}=Pe,{IS_ALLOWED_URI:P}=Pe,Z=null,_=de({},[...me,...ve,...ge,...be,...xe]),F=null,j=de({},[...ke,...Se,...Ce,...Ee]),B=Object.seal(K(null,{tagNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},attributeNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},allowCustomizedBuiltInElements:{writable:!0,configurable:!1,enumerable:!0,value:!1}})),H=null,U=null,W=!0,V=!0,G=!1,Y=!0,X=!1,ue=!1,pe=!1,Te=!1,Oe=!1,$e=!1,Me=!1,Ae=!0,Le=!1,Ne=!0,Ie=!1,Ze={},_e=null,Fe=de({},["annotation-xml","audio","colgroup","desc","foreignobject","head","iframe","math","mi","mn","mo","ms","mtext","noembed","noframes","noscript","plaintext","script","style","svg","template","thead","title","video","xmp"]),je=null,Be=de({},["audio","video","img","source","image","track"]),ze=null,He=de({},["alt","class","for","id","label","name","pattern","placeholder","role","summary","title","value","style","xmlns"]),Ue="http://www.w3.org/1998/Math/MathML",We="http://www.w3.org/2000/svg",Ve="http://www.w3.org/1999/xhtml",qe=Ve,Ge=!1,Ke=null,Ye=de({},[Ue,We,Ve],ne),Xe=null,Je=["application/xhtml+xml","text/html"],Qe=null,et=null,tt=r.createElement("form"),nt=function(e){return e instanceof RegExp||e instanceof Function},rt=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};if(!et||et!==e){if((!e||"object"!=typeof e)&&(e={}),e=fe(e),Xe=-1===Je.indexOf(e.PARSER_MEDIA_TYPE)?"text/html":e.PARSER_MEDIA_TYPE,Qe="application/xhtml+xml"===Xe?ne:te,Z=se(e,"ALLOWED_TAGS")?de({},e.ALLOWED_TAGS,Qe):_,F=se(e,"ALLOWED_ATTR")?de({},e.ALLOWED_ATTR,Qe):j,Ke=se(e,"ALLOWED_NAMESPACES")?de({},e.ALLOWED_NAMESPACES,ne):Ye,ze=se(e,"ADD_URI_SAFE_ATTR")?de(fe(He),e.ADD_URI_SAFE_ATTR,Qe):He,je=se(e,"ADD_DATA_URI_TAGS")?de(fe(Be),e.ADD_DATA_URI_TAGS,Qe):Be,_e=se(e,"FORBID_CONTENTS")?de({},e.FORBID_CONTENTS,Qe):Fe,H=se(e,"FORBID_TAGS")?de({},e.FORBID_TAGS,Qe):{},U=se(e,"FORBID_ATTR")?de({},e.FORBID_ATTR,Qe):{},Ze=!!se(e,"USE_PROFILES")&&e.USE_PROFILES,W=!1!==e.ALLOW_ARIA_ATTR,V=!1!==e.ALLOW_DATA_ATTR,G=e.ALLOW_UNKNOWN_PROTOCOLS||!1,Y=!1!==e.ALLOW_SELF_CLOSE_IN_ATTR,X=e.SAFE_FOR_TEMPLATES||!1,ue=e.WHOLE_DOCUMENT||!1,Oe=e.RETURN_DOM||!1,$e=e.RETURN_DOM_FRAGMENT||!1,Me=e.RETURN_TRUSTED_TYPE||!1,Te=e.FORCE_BODY||!1,Ae=!1!==e.SANITIZE_DOM,Le=e.SANITIZE_NAMED_PROPS||!1,Ne=!1!==e.KEEP_CONTENT,Ie=e.IN_PLACE||!1,P=e.ALLOWED_URI_REGEXP||De,qe=e.NAMESPACE||Ve,B=e.CUSTOM_ELEMENT_HANDLING||{},e.CUSTOM_ELEMENT_HANDLING&&nt(e.CUSTOM_ELEMENT_HANDLING.tagNameCheck)&&(B.tagNameCheck=e.CUSTOM_ELEMENT_HANDLING.tagNameCheck),e.CUSTOM_ELEMENT_HANDLING&&nt(e.CUSTOM_ELEMENT_HANDLING.attributeNameCheck)&&(B.attributeNameCheck=e.CUSTOM_ELEMENT_HANDLING.attributeNameCheck),e.CUSTOM_ELEMENT_HANDLING&&"boolean"==typeof e.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements&&(B.allowCustomizedBuiltInElements=e.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements),X&&(V=!1),$e&&(Oe=!0),Ze&&(Z=de({},xe),F=[],!0===Ze.html&&(de(Z,me),de(F,ke)),!0===Ze.svg&&(de(Z,ve),de(F,Se),de(F,Ee)),!0===Ze.svgFilters&&(de(Z,ge),de(F,Se),de(F,Ee)),!0===Ze.mathMl&&(de(Z,be),de(F,Ce),de(F,Ee))),e.ADD_TAGS&&(Z===_&&(Z=fe(Z)),de(Z,e.ADD_TAGS,Qe)),e.ADD_ATTR&&(F===j&&(F=fe(F)),de(F,e.ADD_ATTR,Qe)),e.ADD_URI_SAFE_ATTR&&de(ze,e.ADD_URI_SAFE_ATTR,Qe),e.FORBID_CONTENTS&&(_e===Fe&&(_e=fe(_e)),de(_e,e.FORBID_CONTENTS,Qe)),Ne&&(Z["#text"]=!0),ue&&de(Z,["html","head","body"]),Z.table&&(de(Z,["tbody"]),delete H.tbody),e.TRUSTED_TYPES_POLICY){if("function"!=typeof e.TRUSTED_TYPES_POLICY.createHTML)throw ce('TRUSTED_TYPES_POLICY configuration option must provide a "createHTML" hook.');if("function"!=typeof e.TRUSTED_TYPES_POLICY.createScriptURL)throw ce('TRUSTED_TYPES_POLICY configuration option must provide a "createScriptURL" hook.');w=e.TRUSTED_TYPES_POLICY,x=w.createHTML("")}else void 0===w&&(w=function(e,t){if("object"!=typeof e||"function"!=typeof e.createPolicy)return null;let n=null,r="data-tt-policy-suffix";t&&t.hasAttribute(r)&&(n=t.getAttribute(r));let o="dompurify"+(n?"#"+n:"");try{return e.createPolicy(o,{createHTML:e=>e,createScriptURL:e=>e})}catch(s){return console.warn("TrustedTypes policy "+o+" could not be created."),null}}(h,i)),null!==w&&"string"==typeof x&&(x=w.createHTML(""));q&&q(e),et=e}},ot=de({},["mi","mo","mn","ms","mtext"]),it=de({},["foreignobject","desc","title","annotation-xml"]),at=de({},["title","style","font","a","script"]),st=de({},[...ve,...ge,...ye]),lt=de({},[...be,...we]),ct=function(e){ee(n.removed,{element:e});try{e.parentNode.removeChild(e)}catch(t){e.remove()}},ut=function(e,t){try{ee(n.removed,{attribute:t.getAttributeNode(e),from:t})}catch(Ey){ee(n.removed,{attribute:null,from:t})}if(t.removeAttribute(e),"is"===e&&!F[e])if(Oe||$e)try{ct(t)}catch(Ey){}else try{t.setAttribute(e,"")}catch(Ey){}},dt=function(e){let t=null,n=null;if(Te)e="<remove></remove>"+e;else{let t=re(e,/^[\r\n\t ]+/);n=t&&t[0]}"application/xhtml+xml"===Xe&&qe===Ve&&(e='<html xmlns="http://www.w3.org/1999/xhtml"><head></head><body>'+e+"</body></html>");let o=w?w.createHTML(e):e;if(qe===Ve)try{t=(new f).parseFromString(o,Xe)}catch(a){}if(!t||!t.documentElement){t=k.createDocument(qe,"template",null);try{t.documentElement.innerHTML=Ge?x:o}catch(a){}}let i=t.body||t.documentElement;return e&&n&&i.insertBefore(r.createTextNode(n),i.childNodes[0]||null),qe===Ve?E.call(t,ue?"html":"body")[0]:ue?t.documentElement:i},pt=function(e){return S.call(e.ownerDocument||e,e,u.SHOW_ELEMENT|u.SHOW_COMMENT|u.SHOW_TEXT|u.SHOW_PROCESSING_INSTRUCTION,null)},ft=function(e){return"function"==typeof l&&e instanceof l},ht=function(e,t,r){O[e]&&J(O[e],(e=>{e.call(n,t,r,et)}))},mt=function(e){let t=null;if(ht("beforeSanitizeElements",e,null),function(e){return e instanceof p&&("string"!=typeof e.nodeName||"string"!=typeof e.textContent||"function"!=typeof e.removeChild||!(e.attributes instanceof d)||"function"!=typeof e.removeAttribute||"function"!=typeof e.setAttribute||"string"!=typeof e.namespaceURI||"function"!=typeof e.insertBefore||"function"!=typeof e.hasChildNodes)}(e))return ct(e),!0;let r=Qe(e.nodeName);if(ht("uponSanitizeElement",e,{tagName:r,allowedTags:Z}),e.hasChildNodes()&&!ft(e.firstElementChild)&&le(/<[/\w]/g,e.innerHTML)&&le(/<[/\w]/g,e.textContent))return ct(e),!0;if(!Z[r]||H[r]){if(!H[r]&>(r)&&(B.tagNameCheck instanceof RegExp&&le(B.tagNameCheck,r)||B.tagNameCheck instanceof Function&&B.tagNameCheck(r)))return!1;if(Ne&&!_e[r]){let t=b(e)||e.parentNode,n=y(e)||e.childNodes;if(n&&t){for(let r=n.length-1;r>=0;--r)t.insertBefore(v(n[r],!0),g(e))}}return ct(e),!0}return e instanceof c&&!function(e){let t=b(e);(!t||!t.tagName)&&(t={namespaceURI:qe,tagName:"template"});let n=te(e.tagName),r=te(t.tagName);return!!Ke[e.namespaceURI]&&(e.namespaceURI===We?t.namespaceURI===Ve?"svg"===n:t.namespaceURI===Ue?"svg"===n&&("annotation-xml"===r||ot[r]):!!st[n]:e.namespaceURI===Ue?t.namespaceURI===Ve?"math"===n:t.namespaceURI===We?"math"===n&&it[r]:!!lt[n]:e.namespaceURI===Ve?!(t.namespaceURI===We&&!it[r]||t.namespaceURI===Ue&&!ot[r])&&!lt[n]&&(at[n]||!st[n]):!("application/xhtml+xml"!==Xe||!Ke[e.namespaceURI]))}(e)||("noscript"===r||"noembed"===r||"noframes"===r)&&le(/<\/no(script|embed|frames)/i,e.innerHTML)?(ct(e),!0):(X&&3===e.nodeType&&(t=e.textContent,J([$,M,A],(e=>{t=oe(t,e," ")})),e.textContent!==t&&(ee(n.removed,{element:e.cloneNode()}),e.textContent=t)),ht("afterSanitizeElements",e,null),!1)},vt=function(e,t,n){if(Ae&&("id"===t||"name"===t)&&(n in r||n in tt))return!1;if((!V||U[t]||!le(D,t))&&(!W||!le(L,t)))if(!F[t]||U[t]){if(!(gt(e)&&(B.tagNameCheck instanceof RegExp&&le(B.tagNameCheck,e)||B.tagNameCheck instanceof Function&&B.tagNameCheck(e))&&(B.attributeNameCheck instanceof RegExp&&le(B.attributeNameCheck,t)||B.attributeNameCheck instanceof Function&&B.attributeNameCheck(t))||"is"===t&&B.allowCustomizedBuiltInElements&&(B.tagNameCheck instanceof RegExp&&le(B.tagNameCheck,n)||B.tagNameCheck instanceof Function&&B.tagNameCheck(n))))return!1}else if(!ze[t]&&!le(P,oe(n,R,""))&&("src"!==t&&"xlink:href"!==t&&"href"!==t||"script"===e||0!==ie(n,"data:")||!je[e])&&(!G||le(N,oe(n,R,"")))&&n)return!1;return!0},gt=function(e){return"annotation-xml"!==e&&re(e,I)},yt=function(e){ht("beforeSanitizeAttributes",e,null);let{attributes:t}=e;if(!t)return;let r={attrName:"",attrValue:"",keepAttr:!0,allowedAttributes:F},o=t.length;for(;o--;){let a=t[o],{name:s,namespaceURI:l,value:c}=a,u=Qe(s),d="value"===s?c:ae(c);if(r.attrName=u,r.attrValue=d,r.keepAttr=!0,r.forceKeepAttr=void 0,ht("uponSanitizeAttribute",e,r),d=r.attrValue,r.forceKeepAttr||(ut(s,e),!r.keepAttr))continue;if(!Y&&le(/\/>/i,d)){ut(s,e);continue}X&&J([$,M,A],(e=>{d=oe(d,e," ")}));let p=Qe(e.nodeName);if(vt(p,u,d)){if(Le&&("id"===u||"name"===u)&&(ut(s,e),d="user-content-"+d),w&&"object"==typeof h&&"function"==typeof h.getAttributeType&&!l)switch(h.getAttributeType(p,u)){case"TrustedHTML":d=w.createHTML(d);break;case"TrustedScriptURL":d=w.createScriptURL(d)}try{l?e.setAttributeNS(l,s,d):e.setAttribute(s,d),Q(n.removed)}catch(i){}}}ht("afterSanitizeAttributes",e,null)},bt=function e(t){let n=null,r=pt(t);for(ht("beforeSanitizeShadowDOM",t,null);n=r.nextNode();)ht("uponSanitizeShadowNode",n,null),!mt(n)&&(n.content instanceof a&&e(n.content),yt(n));ht("afterSanitizeShadowDOM",t,null)};return n.sanitize=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=null,i=null,s=null,c=null;if(Ge=!e,Ge&&(e="\x3c!--\x3e"),"string"!=typeof e&&!ft(e)){if("function"!=typeof e.toString)throw ce("toString is not a function");if("string"!=typeof(e=e.toString()))throw ce("dirty is not a string, aborting")}if(!n.isSupported)return e;if(pe||rt(t),n.removed=[],"string"==typeof e&&(Ie=!1),Ie){if(e.nodeName){let t=Qe(e.nodeName);if(!Z[t]||H[t])throw ce("root node is forbidden and cannot be sanitized in-place")}}else if(e instanceof l)r=dt("\x3c!----\x3e"),i=r.ownerDocument.importNode(e,!0),1===i.nodeType&&"BODY"===i.nodeName||"HTML"===i.nodeName?r=i:r.appendChild(i);else{if(!Oe&&!X&&!ue&&-1===e.indexOf("<"))return w&&Me?w.createHTML(e):e;if(r=dt(e),!r)return Oe?null:Me?x:""}r&&Te&&ct(r.firstChild);let u=pt(Ie?e:r);for(;s=u.nextNode();)mt(s)||(s.content instanceof a&&bt(s.content),yt(s));if(Ie)return e;if(Oe){if($e)for(c=C.call(r.ownerDocument);r.firstChild;)c.appendChild(r.firstChild);else c=r;return(F.shadowroot||F.shadowrootmode)&&(c=T.call(o,c,!0)),c}let d=ue?r.outerHTML:r.innerHTML;return ue&&Z["!doctype"]&&r.ownerDocument&&r.ownerDocument.doctype&&r.ownerDocument.doctype.name&&le(Re,r.ownerDocument.doctype.name)&&(d="<!DOCTYPE "+r.ownerDocument.doctype.name+">\n"+d),X&&J([$,M,A],(e=>{d=oe(d,e," ")})),w&&Me?w.createHTML(d):d},n.setConfig=function(){rt(arguments.length>0&&void 0!==arguments[0]?arguments[0]:{}),pe=!0},n.clearConfig=function(){et=null,pe=!1},n.isValidAttribute=function(e,t,n){et||rt({});let r=Qe(e),o=Qe(t);return vt(r,o,n)},n.addHook=function(e,t){"function"==typeof t&&(O[e]=O[e]||[],ee(O[e],t))},n.removeHook=function(e){if(O[e])return Q(O[e])},n.removeHooks=function(e){O[e]&&(O[e]=[])},n.removeAllHooks=function(){O={}},n}(),_e=Array(12).fill(0),Fe=({visible:e})=>o.createElement("div",{className:"sonner-loading-wrapper","data-visible":e},o.createElement("div",{className:"sonner-spinner"},_e.map(((e,t)=>o.createElement("div",{className:"sonner-loading-bar",key:`spinner-bar-${t}`}))))),je=o.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor",height:"20",width:"20"},o.createElement("path",{fillRule:"evenodd",d:"M10 18a8 8 0 100-16 8 8 0 000 16zm3.857-9.809a.75.75 0 00-1.214-.882l-3.483 4.79-1.88-1.88a.75.75 0 10-1.06 1.061l2.5 2.5a.75.75 0 001.137-.089l4-5.5z",clipRule:"evenodd"})),Be=o.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor",height:"20",width:"20"},o.createElement("path",{fillRule:"evenodd",d:"M9.401 3.003c1.155-2 4.043-2 5.197 0l7.355 12.748c1.154 2-.29 4.5-2.599 4.5H4.645c-2.309 0-3.752-2.5-2.598-4.5L9.4 3.003zM12 8.25a.75.75 0 01.75.75v3.75a.75.75 0 01-1.5 0V9a.75.75 0 01.75-.75zm0 8.25a.75.75 0 100-1.5.75.75 0 000 1.5z",clipRule:"evenodd"})),ze=o.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor",height:"20",width:"20"},o.createElement("path",{fillRule:"evenodd",d:"M18 10a8 8 0 11-16 0 8 8 0 0116 0zm-7-4a1 1 0 11-2 0 1 1 0 012 0zM9 9a.75.75 0 000 1.5h.253a.25.25 0 01.244.304l-.459 2.066A1.75 1.75 0 0010.747 15H11a.75.75 0 000-1.5h-.253a.25.25 0 01-.244-.304l.459-2.066A1.75 1.75 0 009.253 9H9z",clipRule:"evenodd"})),He=o.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor",height:"20",width:"20"},o.createElement("path",{fillRule:"evenodd",d:"M18 10a8 8 0 11-16 0 8 8 0 0116 0zm-8-5a.75.75 0 01.75.75v4.5a.75.75 0 01-1.5 0v-4.5A.75.75 0 0110 5zm0 10a1 1 0 100-2 1 1 0 000 2z",clipRule:"evenodd"})),Ue=1,We=new class{constructor(){this.subscribe=e=>(this.subscribers.push(e),()=>{let t=this.subscribers.indexOf(e);this.subscribers.splice(t,1)}),this.publish=e=>{this.subscribers.forEach((t=>t(e)))},this.addToast=e=>{this.publish(e),this.toasts=[...this.toasts,e]},this.create=e=>{var t;let{message:n,...r}=e,o="number"==typeof(null==e?void 0:e.id)||(null==(t=e.id)?void 0:t.length)>0?e.id:Ue++,i=this.toasts.find((e=>e.id===o)),a=void 0===e.dismissible||e.dismissible;return i?this.toasts=this.toasts.map((t=>t.id===o?(this.publish({...t,...e,id:o,title:n}),{...t,...e,id:o,dismissible:a,title:n}):t)):this.addToast({title:n,...r,dismissible:a,id:o}),o},this.dismiss=e=>(e||this.toasts.forEach((e=>{this.subscribers.forEach((t=>t({id:e.id,dismiss:!0})))})),this.subscribers.forEach((t=>t({id:e,dismiss:!0}))),e),this.message=(e,t)=>this.create({...t,message:e}),this.error=(e,t)=>this.create({...t,message:e,type:"error"}),this.success=(e,t)=>this.create({...t,type:"success",message:e}),this.info=(e,t)=>this.create({...t,type:"info",message:e}),this.warning=(e,t)=>this.create({...t,type:"warning",message:e}),this.loading=(e,t)=>this.create({...t,type:"loading",message:e}),this.promise=(e,t)=>{if(!t)return;let n;void 0!==t.loading&&(n=this.create({...t,promise:e,type:"loading",message:t.loading,description:"function"!=typeof t.description?t.description:void 0}));let r=e instanceof Promise?e:e(),o=void 0!==n;return r.then((e=>{if(e&&"boolean"==typeof e.ok&&!e.ok){o=!1;let r="function"==typeof t.error?t.error(`HTTP error! status: ${e.status}`):t.error,i="function"==typeof t.description?t.description(`HTTP error! status: ${e.status}`):t.description;this.create({id:n,type:"error",message:r,description:i})}else if(void 0!==t.success){o=!1;let r="function"==typeof t.success?t.success(e):t.success,i="function"==typeof t.description?t.description(e):t.description;this.create({id:n,type:"success",message:r,description:i})}})).catch((e=>{if(void 0!==t.error){o=!1;let r="function"==typeof t.error?t.error(e):t.error,i="function"==typeof t.description?t.description(e):t.description;this.create({id:n,type:"error",message:r,description:i})}})).finally((()=>{var e;o&&(this.dismiss(n),n=void 0),null==(e=t.finally)||e.call(t)})),n},this.custom=(e,t)=>{let n=(null==t?void 0:t.id)||Ue++;return this.create({jsx:e(n),id:n,...t}),n},this.subscribers=[],this.toasts=[]}},Ve=(e,t)=>{let n=(null==t?void 0:t.id)||Ue++;return We.addToast({title:e,...t,id:n}),n},qe=Object.assign(Ve,{success:We.success,info:We.info,warning:We.warning,error:We.error,custom:We.custom,message:We.message,promise:We.promise,dismiss:We.dismiss,loading:We.loading});function Ge(e){return void 0!==e.label&&"function"==typeof e.onClick}!function(e,{insertAt:t}={}){if(!e||"undefined"==typeof document)return;let n=document.head||document.getElementsByTagName("head")[0],r=document.createElement("style");r.type="text/css","top"===t&&n.firstChild?n.insertBefore(r,n.firstChild):n.appendChild(r),r.styleSheet?r.styleSheet.cssText=e:r.appendChild(document.createTextNode(e))}(':where(html[dir="ltr"]),:where([data-sonner-toaster][dir="ltr"]){--toast-icon-margin-start: -3px;--toast-icon-margin-end: 4px;--toast-svg-margin-start: -1px;--toast-svg-margin-end: 0px;--toast-button-margin-start: auto;--toast-button-margin-end: 0;--toast-close-button-start: 0;--toast-close-button-end: unset;--toast-close-button-transform: translate(-35%, -35%)}:where(html[dir="rtl"]),:where([data-sonner-toaster][dir="rtl"]){--toast-icon-margin-start: 4px;--toast-icon-margin-end: -3px;--toast-svg-margin-start: 0px;--toast-svg-margin-end: -1px;--toast-button-margin-start: 0;--toast-button-margin-end: auto;--toast-close-button-start: unset;--toast-close-button-end: 0;--toast-close-button-transform: translate(35%, -35%)}:where([data-sonner-toaster]){position:fixed;width:var(--width);font-family:ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,Noto Sans,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol,Noto Color Emoji;--gray1: hsl(0, 0%, 99%);--gray2: hsl(0, 0%, 97.3%);--gray3: hsl(0, 0%, 95.1%);--gray4: hsl(0, 0%, 93%);--gray5: hsl(0, 0%, 90.9%);--gray6: hsl(0, 0%, 88.7%);--gray7: hsl(0, 0%, 85.8%);--gray8: hsl(0, 0%, 78%);--gray9: hsl(0, 0%, 56.1%);--gray10: hsl(0, 0%, 52.3%);--gray11: hsl(0, 0%, 43.5%);--gray12: hsl(0, 0%, 9%);--border-radius: 8px;box-sizing:border-box;padding:0;margin:0;list-style:none;outline:none;z-index:999999999}:where([data-sonner-toaster][data-x-position="right"]){right:max(var(--offset),env(safe-area-inset-right))}:where([data-sonner-toaster][data-x-position="left"]){left:max(var(--offset),env(safe-area-inset-left))}:where([data-sonner-toaster][data-x-position="center"]){left:50%;transform:translate(-50%)}:where([data-sonner-toaster][data-y-position="top"]){top:max(var(--offset),env(safe-area-inset-top))}:where([data-sonner-toaster][data-y-position="bottom"]){bottom:max(var(--offset),env(safe-area-inset-bottom))}:where([data-sonner-toast]){--y: translateY(100%);--lift-amount: calc(var(--lift) * var(--gap));z-index:var(--z-index);position:absolute;opacity:0;transform:var(--y);filter:blur(0);touch-action:none;transition:transform .4s,opacity .4s,height .4s,box-shadow .2s;box-sizing:border-box;outline:none;overflow-wrap:anywhere}:where([data-sonner-toast][data-styled="true"]){padding:16px;background:var(--normal-bg);border:1px solid var(--normal-border);color:var(--normal-text);border-radius:var(--border-radius);box-shadow:0 4px 12px #0000001a;width:var(--width);font-size:13px;display:flex;align-items:center;gap:6px}:where([data-sonner-toast]:focus-visible){box-shadow:0 4px 12px #0000001a,0 0 0 2px #0003}:where([data-sonner-toast][data-y-position="top"]){top:0;--y: translateY(-100%);--lift: 1;--lift-amount: calc(1 * var(--gap))}:where([data-sonner-toast][data-y-position="bottom"]){bottom:0;--y: translateY(100%);--lift: -1;--lift-amount: calc(var(--lift) * var(--gap))}:where([data-sonner-toast]) :where([data-description]){font-weight:400;line-height:1.4;color:inherit}:where([data-sonner-toast]) :where([data-title]){font-weight:500;line-height:1.5;color:inherit}:where([data-sonner-toast]) :where([data-icon]){display:flex;height:16px;width:16px;position:relative;justify-content:flex-start;align-items:center;flex-shrink:0;margin-left:var(--toast-icon-margin-start);margin-right:var(--toast-icon-margin-end)}:where([data-sonner-toast][data-promise="true"]) :where([data-icon])>svg{opacity:0;transform:scale(.8);transform-origin:center;animation:sonner-fade-in .3s ease forwards}:where([data-sonner-toast]) :where([data-icon])>*{flex-shrink:0}:where([data-sonner-toast]) :where([data-icon]) svg{margin-left:var(--toast-svg-margin-start);margin-right:var(--toast-svg-margin-end)}:where([data-sonner-toast]) :where([data-content]){display:flex;flex-direction:column;gap:2px}[data-sonner-toast][data-styled=true] [data-button]{border-radius:4px;padding-left:8px;padding-right:8px;height:24px;font-size:12px;color:var(--normal-bg);background:var(--normal-text);margin-left:var(--toast-button-margin-start);margin-right:var(--toast-button-margin-end);border:none;cursor:pointer;outline:none;display:flex;align-items:center;flex-shrink:0;transition:opacity .4s,box-shadow .2s}:where([data-sonner-toast]) :where([data-button]):focus-visible{box-shadow:0 0 0 2px #0006}:where([data-sonner-toast]) :where([data-button]):first-of-type{margin-left:var(--toast-button-margin-start);margin-right:var(--toast-button-margin-end)}:where([data-sonner-toast]) :where([data-cancel]){color:var(--normal-text);background:rgba(0,0,0,.08)}:where([data-sonner-toast][data-theme="dark"]) :where([data-cancel]){background:rgba(255,255,255,.3)}:where([data-sonner-toast]) :where([data-close-button]){position:absolute;left:var(--toast-close-button-start);right:var(--toast-close-button-end);top:0;height:20px;width:20px;display:flex;justify-content:center;align-items:center;padding:0;background:var(--gray1);color:var(--gray12);border:1px solid var(--gray4);transform:var(--toast-close-button-transform);border-radius:50%;cursor:pointer;z-index:1;transition:opacity .1s,background .2s,border-color .2s}:where([data-sonner-toast]) :where([data-close-button]):focus-visible{box-shadow:0 4px 12px #0000001a,0 0 0 2px #0003}:where([data-sonner-toast]) :where([data-disabled="true"]){cursor:not-allowed}:where([data-sonner-toast]):hover :where([data-close-button]):hover{background:var(--gray2);border-color:var(--gray5)}:where([data-sonner-toast][data-swiping="true"]):before{content:"";position:absolute;left:0;right:0;height:100%;z-index:-1}:where([data-sonner-toast][data-y-position="top"][data-swiping="true"]):before{bottom:50%;transform:scaleY(3) translateY(50%)}:where([data-sonner-toast][data-y-position="bottom"][data-swiping="true"]):before{top:50%;transform:scaleY(3) translateY(-50%)}:where([data-sonner-toast][data-swiping="false"][data-removed="true"]):before{content:"";position:absolute;inset:0;transform:scaleY(2)}:where([data-sonner-toast]):after{content:"";position:absolute;left:0;height:calc(var(--gap) + 1px);bottom:100%;width:100%}:where([data-sonner-toast][data-mounted="true"]){--y: translateY(0);opacity:1}:where([data-sonner-toast][data-expanded="false"][data-front="false"]){--scale: var(--toasts-before) * .05 + 1;--y: translateY(calc(var(--lift-amount) * var(--toasts-before))) scale(calc(-1 * var(--scale)));height:var(--front-toast-height)}:where([data-sonner-toast])>*{transition:opacity .4s}:where([data-sonner-toast][data-expanded="false"][data-front="false"][data-styled="true"])>*{opacity:0}:where([data-sonner-toast][data-visible="false"]){opacity:0;pointer-events:none}:where([data-sonner-toast][data-mounted="true"][data-expanded="true"]){--y: translateY(calc(var(--lift) * var(--offset)));height:var(--initial-height)}:where([data-sonner-toast][data-removed="true"][data-front="true"][data-swipe-out="false"]){--y: translateY(calc(var(--lift) * -100%));opacity:0}:where([data-sonner-toast][data-removed="true"][data-front="false"][data-swipe-out="false"][data-expanded="true"]){--y: translateY(calc(var(--lift) * var(--offset) + var(--lift) * -100%));opacity:0}:where([data-sonner-toast][data-removed="true"][data-front="false"][data-swipe-out="false"][data-expanded="false"]){--y: translateY(40%);opacity:0;transition:transform .5s,opacity .2s}:where([data-sonner-toast][data-removed="true"][data-front="false"]):before{height:calc(var(--initial-height) + 20%)}[data-sonner-toast][data-swiping=true]{transform:var(--y) translateY(var(--swipe-amount, 0px));transition:none}[data-sonner-toast][data-swipe-out=true][data-y-position=bottom],[data-sonner-toast][data-swipe-out=true][data-y-position=top]{animation:swipe-out .2s ease-out forwards}@keyframes swipe-out{0%{transform:translateY(calc(var(--lift) * var(--offset) + var(--swipe-amount)));opacity:1}to{transform:translateY(calc(var(--lift) * var(--offset) + var(--swipe-amount) + var(--lift) * -100%));opacity:0}}@media (max-width: 600px){[data-sonner-toaster]{position:fixed;--mobile-offset: 16px;right:var(--mobile-offset);left:var(--mobile-offset);width:100%}[data-sonner-toaster] [data-sonner-toast]{left:0;right:0;width:calc(100% - var(--mobile-offset) * 2)}[data-sonner-toaster][data-x-position=left]{left:var(--mobile-offset)}[data-sonner-toaster][data-y-position=bottom]{bottom:20px}[data-sonner-toaster][data-y-position=top]{top:20px}[data-sonner-toaster][data-x-position=center]{left:var(--mobile-offset);right:var(--mobile-offset);transform:none}}[data-sonner-toaster][data-theme=light]{--normal-bg: #fff;--normal-border: var(--gray4);--normal-text: var(--gray12);--success-bg: hsl(143, 85%, 96%);--success-border: hsl(145, 92%, 91%);--success-text: hsl(140, 100%, 27%);--info-bg: hsl(208, 100%, 97%);--info-border: hsl(221, 91%, 91%);--info-text: hsl(210, 92%, 45%);--warning-bg: hsl(49, 100%, 97%);--warning-border: hsl(49, 91%, 91%);--warning-text: hsl(31, 92%, 45%);--error-bg: hsl(359, 100%, 97%);--error-border: hsl(359, 100%, 94%);--error-text: hsl(360, 100%, 45%)}[data-sonner-toaster][data-theme=light] [data-sonner-toast][data-invert=true]{--normal-bg: #000;--normal-border: hsl(0, 0%, 20%);--normal-text: var(--gray1)}[data-sonner-toaster][data-theme=dark] [data-sonner-toast][data-invert=true]{--normal-bg: #fff;--normal-border: var(--gray3);--normal-text: var(--gray12)}[data-sonner-toaster][data-theme=dark]{--normal-bg: #000;--normal-border: hsl(0, 0%, 20%);--normal-text: var(--gray1);--success-bg: hsl(150, 100%, 6%);--success-border: hsl(147, 100%, 12%);--success-text: hsl(150, 86%, 65%);--info-bg: hsl(215, 100%, 6%);--info-border: hsl(223, 100%, 12%);--info-text: hsl(216, 87%, 65%);--warning-bg: hsl(64, 100%, 6%);--warning-border: hsl(60, 100%, 12%);--warning-text: hsl(46, 87%, 65%);--error-bg: hsl(358, 76%, 10%);--error-border: hsl(357, 89%, 16%);--error-text: hsl(358, 100%, 81%)}[data-rich-colors=true] [data-sonner-toast][data-type=success],[data-rich-colors=true] [data-sonner-toast][data-type=success] [data-close-button]{background:var(--success-bg);border-color:var(--success-border);color:var(--success-text)}[data-rich-colors=true] [data-sonner-toast][data-type=info],[data-rich-colors=true] [data-sonner-toast][data-type=info] [data-close-button]{background:var(--info-bg);border-color:var(--info-border);color:var(--info-text)}[data-rich-colors=true] [data-sonner-toast][data-type=warning],[data-rich-colors=true] [data-sonner-toast][data-type=warning] [data-close-button]{background:var(--warning-bg);border-color:var(--warning-border);color:var(--warning-text)}[data-rich-colors=true] [data-sonner-toast][data-type=error],[data-rich-colors=true] [data-sonner-toast][data-type=error] [data-close-button]{background:var(--error-bg);border-color:var(--error-border);color:var(--error-text)}.sonner-loading-wrapper{--size: 16px;height:var(--size);width:var(--size);position:absolute;inset:0;z-index:10}.sonner-loading-wrapper[data-visible=false]{transform-origin:center;animation:sonner-fade-out .2s ease forwards}.sonner-spinner{position:relative;top:50%;left:50%;height:var(--size);width:var(--size)}.sonner-loading-bar{animation:sonner-spin 1.2s linear infinite;background:var(--gray11);border-radius:6px;height:8%;left:-10%;position:absolute;top:-3.9%;width:24%}.sonner-loading-bar:nth-child(1){animation-delay:-1.2s;transform:rotate(.0001deg) translate(146%)}.sonner-loading-bar:nth-child(2){animation-delay:-1.1s;transform:rotate(30deg) translate(146%)}.sonner-loading-bar:nth-child(3){animation-delay:-1s;transform:rotate(60deg) translate(146%)}.sonner-loading-bar:nth-child(4){animation-delay:-.9s;transform:rotate(90deg) translate(146%)}.sonner-loading-bar:nth-child(5){animation-delay:-.8s;transform:rotate(120deg) translate(146%)}.sonner-loading-bar:nth-child(6){animation-delay:-.7s;transform:rotate(150deg) translate(146%)}.sonner-loading-bar:nth-child(7){animation-delay:-.6s;transform:rotate(180deg) translate(146%)}.sonner-loading-bar:nth-child(8){animation-delay:-.5s;transform:rotate(210deg) translate(146%)}.sonner-loading-bar:nth-child(9){animation-delay:-.4s;transform:rotate(240deg) translate(146%)}.sonner-loading-bar:nth-child(10){animation-delay:-.3s;transform:rotate(270deg) translate(146%)}.sonner-loading-bar:nth-child(11){animation-delay:-.2s;transform:rotate(300deg) translate(146%)}.sonner-loading-bar:nth-child(12){animation-delay:-.1s;transform:rotate(330deg) translate(146%)}@keyframes sonner-fade-in{0%{opacity:0;transform:scale(.8)}to{opacity:1;transform:scale(1)}}@keyframes sonner-fade-out{0%{opacity:1;transform:scale(1)}to{opacity:0;transform:scale(.8)}}@keyframes sonner-spin{0%{opacity:1}to{opacity:.15}}@media (prefers-reduced-motion){[data-sonner-toast],[data-sonner-toast]>*,.sonner-loading-bar{transition:none!important;animation:none!important}}.sonner-loader{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);transform-origin:center;transition:opacity .2s,transform .2s}.sonner-loader[data-visible=false]{opacity:0;transform:scale(.8) translate(-50%,-50%)}\n');var Ke=3,Ye=14;function Xe(...e){return e.filter(Boolean).join(" ")}var Je=e=>{var t,n,r,i,a,s,l;let{invert:c,toast:u,unstyled:d,interacting:p,setHeights:f,visibleToasts:h,heights:m,index:v,toasts:g,expanded:y,removeToast:b,closeButton:w,style:x,cancelButtonStyle:k,actionButtonStyle:S,className:C="",descriptionClassName:E="",duration:T,position:O,gap:$,loadingIcon:M,expandByDefault:A,classNames:D,icons:L,closeButtonAriaLabel:N="Close toast",pauseWhenPageIsHidden:R,cn:I}=e,[P,Z]=o.useState(!1),[_,F]=o.useState(!1),[j,B]=o.useState(!1),[z,H]=o.useState(!1),[U,W]=o.useState(0),[V,q]=o.useState(0),G=o.useRef(null),K=o.useRef(null),Y=0===v,X=v+1<=h,J=u.type,Q=!1!==u.dismissible,ee=u.className||"",te=u.descriptionClassName||"",ne=o.useMemo((()=>m.findIndex((e=>e.toastId===u.id))||0),[m,u.id]),re=o.useMemo((()=>{var e;return null!=(e=u.closeButton)?e:w}),[u.closeButton,w]),oe=o.useMemo((()=>u.duration||T||4e3),[u.duration,T]),ie=o.useRef(0),ae=o.useRef(0),se=o.useRef(0),le=o.useRef(null),[ce,ue]=O.split("-"),de=o.useMemo((()=>m.reduce(((e,t,n)=>n>=ne?e:e+t.height),0)),[m,ne]),pe=(()=>{let[e,t]=o.useState(!1);return o.useEffect((()=>{let e=()=>{t(document.hidden)};return document.addEventListener("visibilitychange",e),()=>window.removeEventListener("visibilitychange",e)}),[]),e})(),fe=u.invert||c,he="loading"===J;ae.current=o.useMemo((()=>ne*$+de),[ne,de]),o.useEffect((()=>{Z(!0)}),[]),o.useLayoutEffect((()=>{if(!P)return;let e=K.current,t=e.style.height;e.style.height="auto";let n=e.getBoundingClientRect().height;e.style.height=t,q(n),f((e=>e.find((e=>e.toastId===u.id))?e.map((e=>e.toastId===u.id?{...e,height:n}:e)):[{toastId:u.id,height:n,position:u.position},...e]))}),[P,u.title,u.description,f,u.id]);let me=o.useCallback((()=>{F(!0),W(ae.current),f((e=>e.filter((e=>e.toastId!==u.id)))),setTimeout((()=>{b(u)}),200)}),[u,b,f,ae]);function ve(e){return{__html:Ze.sanitize(e)}}return o.useEffect((()=>{if(u.promise&&"loading"===J||u.duration===1/0||"loading"===u.type)return;let e,t=oe;return y||p||R&&pe?(()=>{if(se.current<ie.current){let e=(new Date).getTime()-ie.current;t-=e}se.current=(new Date).getTime()})():t!==1/0&&(ie.current=(new Date).getTime(),e=setTimeout((()=>{var e;null==(e=u.onAutoClose)||e.call(u,u),me()}),t)),()=>clearTimeout(e)}),[y,p,A,u,oe,me,u.promise,J,R,pe]),o.useEffect((()=>{let e=K.current;if(e){let t=e.getBoundingClientRect().height;return q(t),f((e=>[{toastId:u.id,height:t,position:u.position},...e])),()=>f((e=>e.filter((e=>e.toastId!==u.id))))}}),[f,u.id]),o.useEffect((()=>{u.delete&&me()}),[me,u.delete]),o.createElement("li",{"aria-live":u.important?"assertive":"polite","aria-atomic":"true",role:"status",tabIndex:0,ref:K,className:I(C,ee,null==D?void 0:D.toast,null==(t=null==u?void 0:u.classNames)?void 0:t.toast,null==D?void 0:D.default,null==D?void 0:D[J],null==(n=null==u?void 0:u.classNames)?void 0:n[J]),"data-sonner-toast":"","data-styled":!(u.jsx||u.unstyled||d),"data-mounted":P,"data-promise":!!u.promise,"data-removed":_,"data-visible":X,"data-y-position":ce,"data-x-position":ue,"data-index":v,"data-front":Y,"data-swiping":j,"data-dismissible":Q,"data-type":J,"data-invert":fe,"data-swipe-out":z,"data-expanded":!!(y||A&&P),style:{"--index":v,"--toasts-before":v,"--z-index":g.length-v,"--offset":`${_?U:ae.current}px`,"--initial-height":A?"auto":`${V}px`,...x,...u.style},onPointerDown:e=>{he||!Q||(G.current=new Date,W(ae.current),e.target.setPointerCapture(e.pointerId),"BUTTON"!==e.target.tagName&&(B(!0),le.current={x:e.clientX,y:e.clientY}))},onPointerUp:()=>{var e,t,n,r;if(z||!Q)return;le.current=null;let o=Number((null==(e=K.current)?void 0:e.style.getPropertyValue("--swipe-amount").replace("px",""))||0),i=(new Date).getTime()-(null==(t=G.current)?void 0:t.getTime()),a=Math.abs(o)/i;if(Math.abs(o)>=20||a>.11)return W(ae.current),null==(n=u.onDismiss)||n.call(u,u),me(),void H(!0);null==(r=K.current)||r.style.setProperty("--swipe-amount","0px"),B(!1)},onPointerMove:e=>{var t;if(!le.current||!Q)return;let n=e.clientY-le.current.y,r=e.clientX-le.current.x,o=("top"===ce?Math.min:Math.max)(0,n),i="touch"===e.pointerType?10:2;Math.abs(o)>i?null==(t=K.current)||t.style.setProperty("--swipe-amount",`${n}px`):Math.abs(r)>i&&(le.current=null)}},re&&!u.jsx?o.createElement("button",{"aria-label":N,"data-disabled":he,"data-close-button":!0,onClick:he||!Q?()=>{}:()=>{var e;me(),null==(e=u.onDismiss)||e.call(u,u)},className:I(null==D?void 0:D.closeButton,null==(r=null==u?void 0:u.classNames)?void 0:r.closeButton)},o.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"12",height:"12",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"},o.createElement("line",{x1:"18",y1:"6",x2:"6",y2:"18"}),o.createElement("line",{x1:"6",y1:"6",x2:"18",y2:"18"}))):null,u.jsx||o.isValidElement(u.title)?u.jsx||u.title:o.createElement(o.Fragment,null,J||u.icon||u.promise?o.createElement("div",{"data-icon":"",className:I(null==D?void 0:D.icon)},u.promise||"loading"===u.type&&!u.icon?u.icon||(null!=L&&L.loading?o.createElement("div",{className:"sonner-loader","data-visible":"loading"===J},L.loading):M?o.createElement("div",{className:"sonner-loader","data-visible":"loading"===J},M):o.createElement(Fe,{visible:"loading"===J})):null,"loading"!==u.type?u.icon||(null==L?void 0:L[J])||(e=>{switch(e){case"success":return je;case"info":return ze;case"warning":return Be;case"error":return He;default:return null}})(J):null):null,o.createElement("div",{"data-content":"",className:I(null==D?void 0:D.content)},o.createElement("div",{"data-title":"",className:I(null==D?void 0:D.title,null==(i=null==u?void 0:u.classNames)?void 0:i.title),dangerouslySetInnerHTML:ve(u.title)}),u.description?o.createElement("div",{"data-description":"",className:I(E,te,null==D?void 0:D.description,null==(a=null==u?void 0:u.classNames)?void 0:a.description),dangerouslySetInnerHTML:ve(u.description)}):null),o.isValidElement(u.cancel)?u.cancel:u.cancel&&Ge(u.cancel)?o.createElement("button",{"data-button":!0,"data-cancel":!0,style:u.cancelButtonStyle||k,onClick:e=>{Ge(u.cancel)&&Q&&(me(),u.cancel.onClick(e))},className:I(null==D?void 0:D.cancelButton,null==(s=null==u?void 0:u.classNames)?void 0:s.cancelButton)},u.cancel.label):null,o.isValidElement(u.action)?u.action:u.action&&Ge(u.action)?o.createElement("button",{"data-button":"",style:u.actionButtonStyle||S,onClick:e=>{Ge(u.action)&&(u.action.onClick(e),!e.defaultPrevented&&me())},className:I(null==D?void 0:D.actionButton,null==(l=null==u?void 0:u.classNames)?void 0:l.actionButton)},u.action.label):null))};function Qe(){if("undefined"==typeof window||"undefined"==typeof document)return"ltr";let e=document.documentElement.getAttribute("dir");return"auto"!==e&&e?e:window.getComputedStyle(document.documentElement).direction}var et=e=>{let{invert:t,position:n="bottom-right",hotkey:r=["altKey","KeyT"],expand:i,closeButton:a,className:s,offset:l,theme:c="light",richColors:u,duration:d,style:p,visibleToasts:f=Ke,toastOptions:h,dir:m=Qe(),gap:v=Ye,loadingIcon:g,icons:y,containerAriaLabel:b="Notifications",pauseWhenPageIsHidden:w,cn:x=Xe}=e,[k,S]=o.useState([]),C=o.useMemo((()=>Array.from(new Set([n].concat(k.filter((e=>e.position)).map((e=>e.position)))))),[k,n]),[E,T]=o.useState([]),[O,$]=o.useState(!1),[M,A]=o.useState(!1),[D,L]=o.useState("system"!==c?c:"undefined"!=typeof window&&window.matchMedia&&window.matchMedia("(prefers-color-scheme: dark)").matches?"dark":"light"),N=o.useRef(null),R=r.join("+").replace(/Key/g,"").replace(/Digit/g,""),I=o.useRef(null),P=o.useRef(!1),Z=o.useCallback((e=>S((t=>t.filter((({id:t})=>t!==e.id))))),[]);return o.useEffect((()=>We.subscribe((e=>{e.dismiss?S((t=>t.map((t=>t.id===e.id?{...t,delete:!0}:t)))):setTimeout((()=>{B.flushSync((()=>{S((t=>{let n=t.findIndex((t=>t.id===e.id));return-1!==n?[...t.slice(0,n),{...t[n],...e},...t.slice(n+1)]:[e,...t]}))}))}))}))),[]),o.useEffect((()=>{"system"===c?("system"===c&&(window.matchMedia&&window.matchMedia("(prefers-color-scheme: dark)").matches?L("dark"):L("light")),"undefined"!=typeof window&&window.matchMedia("(prefers-color-scheme: dark)").addEventListener("change",(({matches:e})=>{L(e?"dark":"light")}))):L(c)}),[c]),o.useEffect((()=>{k.length<=1&&$(!1)}),[k]),o.useEffect((()=>{let e=e=>{var t,n;r.every((t=>e[t]||e.code===t))&&($(!0),null==(t=N.current)||t.focus()),"Escape"===e.code&&(document.activeElement===N.current||null!=(n=N.current)&&n.contains(document.activeElement))&&$(!1)};return document.addEventListener("keydown",e),()=>document.removeEventListener("keydown",e)}),[r]),o.useEffect((()=>{if(N.current)return()=>{I.current&&(I.current.focus({preventScroll:!0}),I.current=null,P.current=!1)}}),[N.current]),k.length?o.createElement("section",{"aria-label":`${b} ${R}`,tabIndex:-1},C.map(((e,n)=>{var r;let[c,b]=e.split("-");return o.createElement("ol",{key:e,dir:"auto"===m?Qe():m,tabIndex:-1,ref:N,className:s,"data-sonner-toaster":!0,"data-theme":D,"data-rich-colors":u,"data-y-position":c,"data-x-position":b,style:{"--front-toast-height":`${(null==(r=E[0])?void 0:r.height)||0}px`,"--offset":"number"==typeof l?`${l}px`:l||"32px","--width":"356px","--gap":`${v}px`,...p},onBlur:e=>{P.current&&!e.currentTarget.contains(e.relatedTarget)&&(P.current=!1,I.current&&(I.current.focus({preventScroll:!0}),I.current=null))},onFocus:e=>{e.target instanceof HTMLElement&&"false"===e.target.dataset.dismissible||P.current||(P.current=!0,I.current=e.relatedTarget)},onMouseEnter:()=>$(!0),onMouseMove:()=>$(!0),onMouseLeave:()=>{M||$(!1)},onPointerDown:e=>{e.target instanceof HTMLElement&&"false"===e.target.dataset.dismissible||A(!0)},onPointerUp:()=>A(!1)},k.filter((t=>!t.position&&0===n||t.position===e)).map(((n,r)=>{var s,l;return o.createElement(Je,{key:n.id,icons:y,index:r,toast:n,duration:null!=(s=null==h?void 0:h.duration)?s:d,className:null==h?void 0:h.className,descriptionClassName:null==h?void 0:h.descriptionClassName,invert:t,visibleToasts:f,closeButton:null!=(l=null==h?void 0:h.closeButton)?l:a,interacting:M,position:e,style:null==h?void 0:h.style,unstyled:null==h?void 0:h.unstyled,classNames:null==h?void 0:h.classNames,cancelButtonStyle:null==h?void 0:h.cancelButtonStyle,actionButtonStyle:null==h?void 0:h.actionButtonStyle,removeToast:Z,toasts:k.filter((e=>e.position==n.position)),heights:E.filter((e=>e.position==n.position)),setHeights:T,expandByDefault:i,gap:v,loadingIcon:g,expanded:O,pauseWhenPageIsHidden:w,cn:x})})))}))):null},tt={className:"sonner-toast",classNames:{success:"sonner-toast-success",error:"sonner-toast-error",info:"sonner-toast-info",warning:"sonner-toast-warning"},unstyled:!0},nt=1e4,rt=function(){return rt=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},rt.apply(this,arguments)},ot=function(e,t){var n="function"==typeof Symbol&&e[Symbol.iterator];if(!n)return e;var r,o,i=n.call(e),a=[];try{for(;(void 0===t||t-- >0)&&!(r=i.next()).done;)a.push(r.value)}catch(s){o={error:s}}finally{try{r&&!r.done&&(n=i.return)&&n.call(i)}finally{if(o)throw o.error}}return a},it=function(e,t,n){if(n||2===arguments.length)for(var r,o=0,i=t.length;o<i;o++)!r&&o in t||(r||(r=Array.prototype.slice.call(t,0,o)),r[o]=t[o]);return e.concat(r||Array.prototype.slice.call(t))},at=function(e,t){void 0===t&&(t=nt),setTimeout((function(){var t;null===(t=window.toasterMessages)||void 0===t||t.delete(e)}),t)},st=function(e){var t=(void 0===e?{}:e).preventDuplicates,n=void 0===t||t,r=(0,o.useCallback)((function(e){var t,r=e.message,o=e.title,i=e.overrideOptions,a=e.errorType;if(!n||!(null===(t=window.toasterMessages)||void 0===t?void 0:t.has(r))){window.toasterMessages=new Set(it(it([],ot(window.toasterMessages||[]),!1),[r],!1));var s=function(e){if("recaptcha"===e)return"Error: ReCaptcha";return"Something went wrong"}(a);qe.error(o||s,rt(rt({},tt),{description:r,duration:(null==i?void 0:i.duration)||nt,onDismiss:function(e){return qe.dismiss(e.id)}})),at(r,null==i?void 0:i.duration)}}),[n]),i=(0,o.useCallback)((function(e){var t,r=e.message,o=e.title,i=e.overrideOptions;n&&(null===(t=window.toasterMessages)||void 0===t?void 0:t.has(r))||(window.toasterMessages=new Set(it(it([],ot(window.toasterMessages||[]),!1),[r],!1)),qe.success(o||"",rt(rt({},tt),{description:r,duration:(null==i?void 0:i.duration)||nt,onDismiss:function(e){return qe.dismiss(e.id)}})),at(r,null==i?void 0:i.duration))}),[n]),a=(0,o.useCallback)((function(e){var t,r=e.message,o=e.title,i=e.overrideOptions;n&&(null===(t=window.toasterMessages)||void 0===t?void 0:t.has(r))||(window.toasterMessages=new Set(it(it([],ot(window.toasterMessages||[]),!1),[r],!1)),qe.info(o||"",rt(rt({},tt),{description:r,duration:(null==i?void 0:i.duration)||nt,onDismiss:function(e){return qe.dismiss(e.id)}})),at(r,null==i?void 0:i.duration))}),[n]),s=(0,o.useCallback)((function(e){var t,r=e.message,o=e.title,i=e.overrideOptions;n&&(null===(t=window.toasterMessages)||void 0===t?void 0:t.has(r))||(window.toasterMessages=new Set(it(it([],ot(window.toasterMessages||[]),!1),[r],!1)),qe.warning(o||"",rt(rt({},tt),{description:r,duration:(null==i?void 0:i.duration)||nt,onDismiss:function(e){return qe.dismiss(e.id)}})),at(r,null==i?void 0:i.duration))}),[n]);return{showError:r,showWarning:s,showSuccess:i,showInfo:a,clear:(0,o.useCallback)((function(){qe.dismiss()}),[])}};var lt,ct,ut=function(){var e,t=(0,o.useMemo)((function(){return document.querySelector("body div.content")}),[]);return null===(e=null==t?void 0:t.dataset)||void 0===e?void 0:e.appid};!function(e){e.ASC="ASC",e.DESC="DESC",e.CUSTOM="CUSTOM",e.AS_DEFINED_IN_SOURCE="AS_DEFINED_IN_SOURCE"}(lt||(lt={})),function(e){e.Url="url",e.Date="date",e.File="file",e.Image="image",e.Text="text",e.Email="email",e.Hidden="hidden",e.Rating="rating",e.Address="address",e.Checkbox="checkbox",e.Password="password",e.Dropdown="dropdown",e.AutoSyncDropdown="auto_sync_dropdown",e.DateTime="dateTime",e.LongText="long_text",e.ShortText="short_text",e.PhoneNumber="phone_number",e.MultiSelect="multi_select",e.Signature="signature",e.Number="number"}(ct||(ct={}));var dt=n(9669),pt=n.n(dt),ft=n(55760),ht=n(59885),mt=n(94633),vt=n.n(mt);const gt=Object.prototype.toString,yt=Error.prototype.toString,bt=RegExp.prototype.toString,wt="undefined"!=typeof Symbol?Symbol.prototype.toString:()=>"",xt=/^Symbol\((.*)\)(.*)$/;function kt(e,t=!1){if(null==e||!0===e||!1===e)return""+e;const n=typeof e;if("number"===n)return function(e){return e!=+e?"NaN":0===e&&1/e<0?"-0":""+e}(e);if("string"===n)return t?`"${e}"`:e;if("function"===n)return"[Function "+(e.name||"anonymous")+"]";if("symbol"===n)return wt.call(e).replace(xt,"Symbol($1)");const r=gt.call(e).slice(8,-1);return"Date"===r?isNaN(e.getTime())?""+e:e.toISOString(e):"Error"===r||e instanceof Error?"["+yt.call(e)+"]":"RegExp"===r?bt.call(e):null}function St(e,t){let n=kt(e,t);return null!==n?n:JSON.stringify(e,(function(e,n){let r=kt(this[e],t);return null!==r?r:n}),2)}function Ct(e){return null==e?[]:[].concat(e)}let Et=/\$\{\s*(\w+)\s*\}/g;class Tt extends Error{static formatError(e,t){const n=t.label||t.path||"this";return n!==t.path&&(t=Object.assign({},t,{path:n})),"string"==typeof e?e.replace(Et,((e,n)=>St(t[n]))):"function"==typeof e?e(t):e}static isError(e){return e&&"ValidationError"===e.name}constructor(e,t,n,r){super(),this.value=void 0,this.path=void 0,this.type=void 0,this.errors=void 0,this.params=void 0,this.inner=void 0,this.name="ValidationError",this.value=t,this.path=n,this.type=r,this.errors=[],this.inner=[],Ct(e).forEach((e=>{Tt.isError(e)?(this.errors.push(...e.errors),this.inner=this.inner.concat(e.inner.length?e.inner:e)):this.errors.push(e)})),this.message=this.errors.length>1?`${this.errors.length} errors occurred`:this.errors[0],Error.captureStackTrace&&Error.captureStackTrace(this,Tt)}}let Ot={default:"${path} is invalid",required:"${path} is a required field",defined:"${path} must be defined",notNull:"${path} cannot be null",oneOf:"${path} must be one of the following values: ${values}",notOneOf:"${path} must not be one of the following values: ${values}",notType:({path:e,type:t,value:n,originalValue:r})=>{const o=null!=r&&r!==n?` (cast from the value \`${St(r,!0)}\`).`:".";return"mixed"!==t?`${e} must be a \`${t}\` type, but the final value was: \`${St(n,!0)}\``+o:`${e} must match the configured type. The validated value was: \`${St(n,!0)}\``+o}},$t={length:"${path} must be exactly ${length} characters",min:"${path} must be at least ${min} characters",max:"${path} must be at most ${max} characters",matches:'${path} must match the following: "${regex}"',email:"${path} must be a valid email",url:"${path} must be a valid URL",uuid:"${path} must be a valid UUID",trim:"${path} must be a trimmed string",lowercase:"${path} must be a lowercase string",uppercase:"${path} must be a upper case string"},Mt={min:"${path} must be greater than or equal to ${min}",max:"${path} must be less than or equal to ${max}",lessThan:"${path} must be less than ${less}",moreThan:"${path} must be greater than ${more}",positive:"${path} must be a positive number",negative:"${path} must be a negative number",integer:"${path} must be an integer"},At={min:"${path} field must be later than ${min}",max:"${path} field must be at earlier than ${max}"},Dt={isValue:"${path} field must be ${value}"},Lt={noUnknown:"${path} field has unspecified keys: ${unknown}"},Nt={min:"${path} field must have at least ${min} items",max:"${path} field must have less than or equal to ${max} items",length:"${path} must have ${length} items"};Object.assign(Object.create(null),{mixed:Ot,string:$t,number:Mt,date:At,object:Lt,array:Nt,boolean:Dt});const Rt=e=>e&&e.__isYupSchema__;class It{static fromOptions(e,t){if(!t.then&&!t.otherwise)throw new TypeError("either `then:` or `otherwise:` is required for `when()` conditions");let{is:n,then:r,otherwise:o}=t,i="function"==typeof n?n:(...e)=>e.every((e=>e===n));return new It(e,((e,t)=>{var n;let a=i(...e)?r:o;return null!=(n=null==a?void 0:a(t))?n:t}))}constructor(e,t){this.fn=void 0,this.refs=e,this.refs=e,this.fn=t}resolve(e,t){let n=this.refs.map((e=>e.getValue(null==t?void 0:t.value,null==t?void 0:t.parent,null==t?void 0:t.context))),r=this.fn(n,e,t);if(void 0===r||r===e)return e;if(!Rt(r))throw new TypeError("conditions must return a schema object");return r.resolve(t)}}const Pt="$",Zt=".";class _t{constructor(e,t={}){if(this.key=void 0,this.isContext=void 0,this.isValue=void 0,this.isSibling=void 0,this.path=void 0,this.getter=void 0,this.map=void 0,"string"!=typeof e)throw new TypeError("ref must be a string, got: "+e);if(this.key=e.trim(),""===e)throw new TypeError("ref must be a non-empty string");this.isContext=this.key[0]===Pt,this.isValue=this.key[0]===Zt,this.isSibling=!this.isContext&&!this.isValue;let n=this.isContext?Pt:this.isValue?Zt:"";this.path=this.key.slice(n.length),this.getter=this.path&&(0,ft.getter)(this.path,!0),this.map=t.map}getValue(e,t,n){let r=this.isContext?n:this.isValue?e:t;return this.getter&&(r=this.getter(r||{})),this.map&&(r=this.map(r)),r}cast(e,t){return this.getValue(e,null==t?void 0:t.parent,null==t?void 0:t.context)}resolve(){return this}describe(){return{type:"ref",key:this.key}}toString(){return`Ref(${this.key})`}static isRef(e){return e&&e.__isYupRef}}_t.prototype.__isYupRef=!0;const Ft=e=>null==e;function jt(e){function t({value:t,path:n="",options:r,originalValue:o,schema:i},a,s){const{name:l,test:c,params:u,message:d,skipAbsent:p}=e;let{parent:f,context:h,abortEarly:m=i.spec.abortEarly}=r;function v(e){return _t.isRef(e)?e.getValue(t,f,h):e}function g(e={}){const r=Object.assign({value:t,originalValue:o,label:i.spec.label,path:e.path||n,spec:i.spec},u,e.params);for(const t of Object.keys(r))r[t]=v(r[t]);const a=new Tt(Tt.formatError(e.message||d,r),t,r.path,e.type||l);return a.params=r,a}const y=m?a:s;let b={path:n,parent:f,type:l,from:r.from,createError:g,resolve:v,options:r,originalValue:o,schema:i};const w=e=>{Tt.isError(e)?y(e):e?s(null):y(g())},x=e=>{Tt.isError(e)?y(e):a(e)},k=p&&Ft(t);if(!r.sync){try{Promise.resolve(!!k||c.call(b,t,b)).then(w,x)}catch(E){x(E)}return}let S;try{var C;if(S=!!k||c.call(b,t,b),"function"==typeof(null==(C=S)?void 0:C.then))throw new Error(`Validation test of type: "${b.type}" returned a Promise during a synchronous validate. This test will finish after the validate call has returned`)}catch(E){return void x(E)}w(S)}return t.OPTIONS=e,t}function Bt(e,t,n,r=n){let o,i,a;return t?((0,ft.forEach)(t,((s,l,c)=>{let u=l?s.slice(1,s.length-1):s,d="tuple"===(e=e.resolve({context:r,parent:o,value:n})).type,p=c?parseInt(u,10):0;if(e.innerType||d){if(d&&!c)throw new Error(`Yup.reach cannot implicitly index into a tuple type. the path part "${a}" must contain an index to the tuple element, e.g. "${a}[0]"`);if(n&&p>=n.length)throw new Error(`Yup.reach cannot resolve an array item at index: ${s}, in the path: ${t}. because there is no value at that index. `);o=n,n=n&&n[p],e=d?e.spec.types[p]:e.innerType}if(!c){if(!e.fields||!e.fields[u])throw new Error(`The schema does not contain the path: ${t}. (failed at: ${a} which is a type: "${e.type}")`);o=n,n=n&&n[u],e=e.fields[u]}i=u,a=l?"["+s+"]":"."+s})),{schema:e,parent:o,parentPath:i}):{parent:o,parentPath:t,schema:e}}class zt extends Set{describe(){const e=[];for(const t of this.values())e.push(_t.isRef(t)?t.describe():t);return e}resolveAll(e){let t=[];for(const n of this.values())t.push(e(n));return t}clone(){return new zt(this.values())}merge(e,t){const n=this.clone();return e.forEach((e=>n.add(e))),t.forEach((e=>n.delete(e))),n}}function Ht(e,t=new Map){if(Rt(e)||!e||"object"!=typeof e)return e;if(t.has(e))return t.get(e);let n;if(e instanceof Date)n=new Date(e.getTime()),t.set(e,n);else if(e instanceof RegExp)n=new RegExp(e),t.set(e,n);else if(Array.isArray(e)){n=new Array(e.length),t.set(e,n);for(let r=0;r<e.length;r++)n[r]=Ht(e[r],t)}else if(e instanceof Map){n=new Map,t.set(e,n);for(const[r,o]of e.entries())n.set(r,Ht(o,t))}else if(e instanceof Set){n=new Set,t.set(e,n);for(const r of e)n.add(Ht(r,t))}else{if(!(e instanceof Object))throw Error(`Unable to clone ${e}`);n={},t.set(e,n);for(const[r,o]of Object.entries(e))n[r]=Ht(o,t)}return n}class Ut{constructor(e){this.type=void 0,this.deps=[],this.tests=void 0,this.transforms=void 0,this.conditions=[],this._mutate=void 0,this.internalTests={},this._whitelist=new zt,this._blacklist=new zt,this.exclusiveTests=Object.create(null),this._typeCheck=void 0,this.spec=void 0,this.tests=[],this.transforms=[],this.withMutation((()=>{this.typeError(Ot.notType)})),this.type=e.type,this._typeCheck=e.check,this.spec=Object.assign({strip:!1,strict:!1,abortEarly:!0,recursive:!0,nullable:!1,optional:!0,coerce:!0},null==e?void 0:e.spec),this.withMutation((e=>{e.nonNullable()}))}get _type(){return this.type}clone(e){if(this._mutate)return e&&Object.assign(this.spec,e),this;const t=Object.create(Object.getPrototypeOf(this));return t.type=this.type,t._typeCheck=this._typeCheck,t._whitelist=this._whitelist.clone(),t._blacklist=this._blacklist.clone(),t.internalTests=Object.assign({},this.internalTests),t.exclusiveTests=Object.assign({},this.exclusiveTests),t.deps=[...this.deps],t.conditions=[...this.conditions],t.tests=[...this.tests],t.transforms=[...this.transforms],t.spec=Ht(Object.assign({},this.spec,e)),t}label(e){let t=this.clone();return t.spec.label=e,t}meta(...e){if(0===e.length)return this.spec.meta;let t=this.clone();return t.spec.meta=Object.assign(t.spec.meta||{},e[0]),t}withMutation(e){let t=this._mutate;this._mutate=!0;let n=e(this);return this._mutate=t,n}concat(e){if(!e||e===this)return this;if(e.type!==this.type&&"mixed"!==this.type)throw new TypeError(`You cannot \`concat()\` schema's of different types: ${this.type} and ${e.type}`);let t=this,n=e.clone();const r=Object.assign({},t.spec,n.spec);return n.spec=r,n.internalTests=Object.assign({},t.internalTests,n.internalTests),n._whitelist=t._whitelist.merge(e._whitelist,e._blacklist),n._blacklist=t._blacklist.merge(e._blacklist,e._whitelist),n.tests=t.tests,n.exclusiveTests=t.exclusiveTests,n.withMutation((t=>{e.tests.forEach((e=>{t.test(e.OPTIONS)}))})),n.transforms=[...t.transforms,...n.transforms],n}isType(e){return null==e?!(!this.spec.nullable||null!==e)||!(!this.spec.optional||void 0!==e):this._typeCheck(e)}resolve(e){let t=this;if(t.conditions.length){let n=t.conditions;t=t.clone(),t.conditions=[],t=n.reduce(((t,n)=>n.resolve(t,e)),t),t=t.resolve(e)}return t}resolveOptions(e){var t,n,r;return Object.assign({},e,{from:e.from||[],strict:null!=(t=e.strict)?t:this.spec.strict,abortEarly:null!=(n=e.abortEarly)?n:this.spec.abortEarly,recursive:null!=(r=e.recursive)?r:this.spec.recursive})}cast(e,t={}){let n=this.resolve(Object.assign({value:e},t)),r="ignore-optionality"===t.assert,o=n._cast(e,t);if(!1!==t.assert&&!n.isType(o)){if(r&&Ft(o))return o;let i=St(e),a=St(o);throw new TypeError(`The value of ${t.path||"field"} could not be cast to a value that satisfies the schema type: "${n.type}". \n\nattempted value: ${i} \n`+(a!==i?`result of cast: ${a}`:""))}return o}_cast(e,t){let n=void 0===e?e:this.transforms.reduce(((t,n)=>n.call(this,t,e,this)),e);return void 0===n&&(n=this.getDefault(t)),n}_validate(e,t={},n,r){let{path:o,originalValue:i=e,strict:a=this.spec.strict}=t,s=e;a||(s=this._cast(s,Object.assign({assert:!1},t)));let l=[];for(let c of Object.values(this.internalTests))c&&l.push(c);this.runTests({path:o,value:s,originalValue:i,options:t,tests:l},n,(e=>{if(e.length)return r(e,s);this.runTests({path:o,value:s,originalValue:i,options:t,tests:this.tests},n,r)}))}runTests(e,t,n){let r=!1,{tests:o,value:i,originalValue:a,path:s,options:l}=e,c=e=>{r||(r=!0,t(e,i))},u=e=>{r||(r=!0,n(e,i))},d=o.length,p=[];if(!d)return u([]);let f={value:i,originalValue:a,path:s,options:l,schema:this};for(let h=0;h<o.length;h++){(0,o[h])(f,c,(function(e){e&&(p=p.concat(e)),--d<=0&&u(p)}))}}asNestedTest({key:e,index:t,parent:n,parentPath:r,originalParent:o,options:i}){const a=null!=e?e:t;if(null==a)throw TypeError("Must include `key` or `index` for nested validations");const s="number"==typeof a;let l=n[a];const c=Object.assign({},i,{strict:!0,parent:n,value:l,originalValue:o[a],key:void 0,[s?"index":"key"]:a,path:s||a.includes(".")?`${r||""}[${l?a:`"${a}"`}]`:(r?`${r}.`:"")+e});return(e,t,n)=>this.resolve(c)._validate(l,c,t,n)}validate(e,t){let n=this.resolve(Object.assign({},t,{value:e}));return new Promise(((r,o)=>n._validate(e,t,((e,t)=>{Tt.isError(e)&&(e.value=t),o(e)}),((e,t)=>{e.length?o(new Tt(e,t)):r(t)}))))}validateSync(e,t){let n;return this.resolve(Object.assign({},t,{value:e}))._validate(e,Object.assign({},t,{sync:!0}),((e,t)=>{throw Tt.isError(e)&&(e.value=t),e}),((t,r)=>{if(t.length)throw new Tt(t,e);n=r})),n}isValid(e,t){return this.validate(e,t).then((()=>!0),(e=>{if(Tt.isError(e))return!1;throw e}))}isValidSync(e,t){try{return this.validateSync(e,t),!0}catch(n){if(Tt.isError(n))return!1;throw n}}_getDefault(e){let t=this.spec.default;return null==t?t:"function"==typeof t?t.call(this):Ht(t)}getDefault(e){return this.resolve(e||{})._getDefault(e)}default(e){if(0===arguments.length)return this._getDefault();return this.clone({default:e})}strict(e=!0){return this.clone({strict:e})}nullability(e,t){const n=this.clone({nullable:e});return n.internalTests.nullable=jt({message:t,name:"nullable",test(e){return null!==e||this.schema.spec.nullable}}),n}optionality(e,t){const n=this.clone({optional:e});return n.internalTests.optionality=jt({message:t,name:"optionality",test(e){return void 0!==e||this.schema.spec.optional}}),n}optional(){return this.optionality(!0)}defined(e=Ot.defined){return this.optionality(!1,e)}nullable(){return this.nullability(!0)}nonNullable(e=Ot.notNull){return this.nullability(!1,e)}required(e=Ot.required){return this.clone().withMutation((t=>t.nonNullable(e).defined(e)))}notRequired(){return this.clone().withMutation((e=>e.nullable().optional()))}transform(e){let t=this.clone();return t.transforms.push(e),t}test(...e){let t;if(t=1===e.length?"function"==typeof e[0]?{test:e[0]}:e[0]:2===e.length?{name:e[0],test:e[1]}:{name:e[0],message:e[1],test:e[2]},void 0===t.message&&(t.message=Ot.default),"function"!=typeof t.test)throw new TypeError("`test` is a required parameters");let n=this.clone(),r=jt(t),o=t.exclusive||t.name&&!0===n.exclusiveTests[t.name];if(t.exclusive&&!t.name)throw new TypeError("Exclusive tests must provide a unique `name` identifying the test");return t.name&&(n.exclusiveTests[t.name]=!!t.exclusive),n.tests=n.tests.filter((e=>{if(e.OPTIONS.name===t.name){if(o)return!1;if(e.OPTIONS.test===r.OPTIONS.test)return!1}return!0})),n.tests.push(r),n}when(e,t){Array.isArray(e)||"string"==typeof e||(t=e,e=".");let n=this.clone(),r=Ct(e).map((e=>new _t(e)));return r.forEach((e=>{e.isSibling&&n.deps.push(e.key)})),n.conditions.push("function"==typeof t?new It(r,t):It.fromOptions(r,t)),n}typeError(e){let t=this.clone();return t.internalTests.typeError=jt({message:e,name:"typeError",skipAbsent:!0,test(e){return!!this.schema._typeCheck(e)||this.createError({params:{type:this.schema.type}})}}),t}oneOf(e,t=Ot.oneOf){let n=this.clone();return e.forEach((e=>{n._whitelist.add(e),n._blacklist.delete(e)})),n.internalTests.whiteList=jt({message:t,name:"oneOf",skipAbsent:!0,test(e){let t=this.schema._whitelist,n=t.resolveAll(this.resolve);return!!n.includes(e)||this.createError({params:{values:Array.from(t).join(", "),resolved:n}})}}),n}notOneOf(e,t=Ot.notOneOf){let n=this.clone();return e.forEach((e=>{n._blacklist.add(e),n._whitelist.delete(e)})),n.internalTests.blacklist=jt({message:t,name:"notOneOf",test(e){let t=this.schema._blacklist,n=t.resolveAll(this.resolve);return!n.includes(e)||this.createError({params:{values:Array.from(t).join(", "),resolved:n}})}}),n}strip(e=!0){let t=this.clone();return t.spec.strip=e,t}describe(e){const t=(e?this.resolve(e):this).clone(),{label:n,meta:r,optional:o,nullable:i}=t.spec,a={meta:r,label:n,optional:o,nullable:i,default:t.getDefault(e),type:t.type,oneOf:t._whitelist.describe(),notOneOf:t._blacklist.describe(),tests:t.tests.map((e=>({name:e.OPTIONS.name,params:e.OPTIONS.params}))).filter(((e,t,n)=>n.findIndex((t=>t.name===e.name))===t))};return a}}Ut.prototype.__isYupSchema__=!0;for(const n of["validate","validateSync"])Ut.prototype[`${n}At`]=function(e,t,r={}){const{parent:o,parentPath:i,schema:a}=Bt(this,e,t,r.context);return a[n](o&&o[i],Object.assign({},r,{parent:o,path:e}))};for(const n of["equals","is"])Ut.prototype[n]=Ut.prototype.oneOf;for(const n of["not","nope"])Ut.prototype[n]=Ut.prototype.notOneOf;const Wt=()=>!0;function Vt(e){return new qt(e)}class qt extends Ut{constructor(e){super("function"==typeof e?{type:"mixed",check:e}:Object.assign({type:"mixed",check:Wt},e))}}function Gt(){return new Kt}Vt.prototype=qt.prototype;class Kt extends Ut{constructor(){super({type:"boolean",check:e=>(e instanceof Boolean&&(e=e.valueOf()),"boolean"==typeof e)}),this.withMutation((()=>{this.transform(((e,t,n)=>{if(n.spec.coerce&&!n.isType(e)){if(/^(true|1)$/i.test(String(e)))return!0;if(/^(false|0)$/i.test(String(e)))return!1}return e}))}))}isTrue(e=Dt.isValue){return this.test({message:e,name:"is-value",exclusive:!0,params:{value:"true"},test:e=>Ft(e)||!0===e})}isFalse(e=Dt.isValue){return this.test({message:e,name:"is-value",exclusive:!0,params:{value:"false"},test:e=>Ft(e)||!1===e})}default(e){return super.default(e)}defined(e){return super.defined(e)}optional(){return super.optional()}required(e){return super.required(e)}notRequired(){return super.notRequired()}nullable(){return super.nullable()}nonNullable(e){return super.nonNullable(e)}strip(e){return super.strip(e)}}Gt.prototype=Kt.prototype;let Yt=/^[a-zA-Z0-9.!#$%&'*+\/=?^_`{|}~-]+@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*$/,Xt=/^((https?|ftp):)?\/\/(((([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(%[\da-f]{2})|[!\$&'\(\)\*\+,;=]|:)*@)?(((\d|[1-9]\d|1\d\d|2[0-4]\d|25[0-5])\.(\d|[1-9]\d|1\d\d|2[0-4]\d|25[0-5])\.(\d|[1-9]\d|1\d\d|2[0-4]\d|25[0-5])\.(\d|[1-9]\d|1\d\d|2[0-4]\d|25[0-5]))|((([a-z]|\d|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(([a-z]|\d|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])*([a-z]|\d|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])))\.)+(([a-z]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(([a-z]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])*([a-z]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])))\.?)(:\d*)?)(\/((([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(%[\da-f]{2})|[!\$&'\(\)\*\+,;=]|:|@)+(\/(([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(%[\da-f]{2})|[!\$&'\(\)\*\+,;=]|:|@)*)*)?)?(\?((([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(%[\da-f]{2})|[!\$&'\(\)\*\+,;=]|:|@)|[\uE000-\uF8FF]|\/|\?)*)?(\#((([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(%[\da-f]{2})|[!\$&'\(\)\*\+,;=]|:|@)|\/|\?)*)?$/i,Jt=/^(?:[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}|00000000-0000-0000-0000-000000000000)$/i,Qt=e=>Ft(e)||e===e.trim(),en={}.toString();function tn(){return new nn}class nn extends Ut{constructor(){super({type:"string",check:e=>(e instanceof String&&(e=e.valueOf()),"string"==typeof e)}),this.withMutation((()=>{this.transform(((e,t,n)=>{if(!n.spec.coerce||n.isType(e))return e;if(Array.isArray(e))return e;const r=null!=e&&e.toString?e.toString():e;return r===en?e:r}))}))}required(e){return super.required(e).withMutation((t=>t.test({message:e||Ot.required,name:"required",skipAbsent:!0,test:e=>!!e.length})))}notRequired(){return super.notRequired().withMutation((e=>(e.tests=e.tests.filter((e=>"required"!==e.OPTIONS.name)),e)))}length(e,t=$t.length){return this.test({message:t,name:"length",exclusive:!0,params:{length:e},skipAbsent:!0,test(t){return t.length===this.resolve(e)}})}min(e,t=$t.min){return this.test({message:t,name:"min",exclusive:!0,params:{min:e},skipAbsent:!0,test(t){return t.length>=this.resolve(e)}})}max(e,t=$t.max){return this.test({name:"max",exclusive:!0,message:t,params:{max:e},skipAbsent:!0,test(t){return t.length<=this.resolve(e)}})}matches(e,t){let n,r,o=!1;return t&&("object"==typeof t?({excludeEmptyString:o=!1,message:n,name:r}=t):n=t),this.test({name:r||"matches",message:n||$t.matches,params:{regex:e},skipAbsent:!0,test:t=>""===t&&o||-1!==t.search(e)})}email(e=$t.email){return this.matches(Yt,{name:"email",message:e,excludeEmptyString:!0})}url(e=$t.url){return this.matches(Xt,{name:"url",message:e,excludeEmptyString:!0})}uuid(e=$t.uuid){return this.matches(Jt,{name:"uuid",message:e,excludeEmptyString:!1})}ensure(){return this.default("").transform((e=>null===e?"":e))}trim(e=$t.trim){return this.transform((e=>null!=e?e.trim():e)).test({message:e,name:"trim",test:Qt})}lowercase(e=$t.lowercase){return this.transform((e=>Ft(e)?e:e.toLowerCase())).test({message:e,name:"string_case",exclusive:!0,skipAbsent:!0,test:e=>Ft(e)||e===e.toLowerCase()})}uppercase(e=$t.uppercase){return this.transform((e=>Ft(e)?e:e.toUpperCase())).test({message:e,name:"string_case",exclusive:!0,skipAbsent:!0,test:e=>Ft(e)||e===e.toUpperCase()})}}tn.prototype=nn.prototype;function rn(){return new on}class on extends Ut{constructor(){super({type:"number",check:e=>(e instanceof Number&&(e=e.valueOf()),"number"==typeof e&&!(e=>e!=+e)(e))}),this.withMutation((()=>{this.transform(((e,t,n)=>{if(!n.spec.coerce)return e;let r=e;if("string"==typeof r){if(r=r.replace(/\s/g,""),""===r)return NaN;r=+r}return n.isType(r)||null===r?r:parseFloat(r)}))}))}min(e,t=Mt.min){return this.test({message:t,name:"min",exclusive:!0,params:{min:e},skipAbsent:!0,test(t){return t>=this.resolve(e)}})}max(e,t=Mt.max){return this.test({message:t,name:"max",exclusive:!0,params:{max:e},skipAbsent:!0,test(t){return t<=this.resolve(e)}})}lessThan(e,t=Mt.lessThan){return this.test({message:t,name:"max",exclusive:!0,params:{less:e},skipAbsent:!0,test(t){return t<this.resolve(e)}})}moreThan(e,t=Mt.moreThan){return this.test({message:t,name:"min",exclusive:!0,params:{more:e},skipAbsent:!0,test(t){return t>this.resolve(e)}})}positive(e=Mt.positive){return this.moreThan(0,e)}negative(e=Mt.negative){return this.lessThan(0,e)}integer(e=Mt.integer){return this.test({name:"integer",message:e,skipAbsent:!0,test:e=>Number.isInteger(e)})}truncate(){return this.transform((e=>Ft(e)?e:0|e))}round(e){var t;let n=["ceil","floor","round","trunc"];if("trunc"===(e=(null==(t=e)?void 0:t.toLowerCase())||"round"))return this.truncate();if(-1===n.indexOf(e.toLowerCase()))throw new TypeError("Only valid options for round() are: "+n.join(", "));return this.transform((t=>Ft(t)?t:Math[e](t)))}}rn.prototype=on.prototype;var an=/^(\d{4}|[+\-]\d{6})(?:-?(\d{2})(?:-?(\d{2}))?)?(?:[ T]?(\d{2}):?(\d{2})(?::?(\d{2})(?:[,\.](\d{1,}))?)?(?:(Z)|([+\-])(\d{2})(?::?(\d{2}))?)?)?$/;let sn=new Date("");function ln(){return new cn}class cn extends Ut{constructor(){super({type:"date",check(e){return t=e,"[object Date]"===Object.prototype.toString.call(t)&&!isNaN(e.getTime());var t}}),this.withMutation((()=>{this.transform(((e,t,n)=>!n.spec.coerce||n.isType(e)||null===e?e:(e=function(e){var t,n,r=[1,4,5,6,7,10,11],o=0;if(n=an.exec(e)){for(var i,a=0;i=r[a];++a)n[i]=+n[i]||0;n[2]=(+n[2]||1)-1,n[3]=+n[3]||1,n[7]=n[7]?String(n[7]).substr(0,3):0,void 0!==n[8]&&""!==n[8]||void 0!==n[9]&&""!==n[9]?("Z"!==n[8]&&void 0!==n[9]&&(o=60*n[10]+n[11],"+"===n[9]&&(o=0-o)),t=Date.UTC(n[1],n[2],n[3],n[4],n[5]+o,n[6],n[7])):t=+new Date(n[1],n[2],n[3],n[4],n[5],n[6],n[7])}else t=Date.parse?Date.parse(e):NaN;return t}(e),isNaN(e)?cn.INVALID_DATE:new Date(e))))}))}prepareParam(e,t){let n;if(_t.isRef(e))n=e;else{let r=this.cast(e);if(!this._typeCheck(r))throw new TypeError(`\`${t}\` must be a Date or a value that can be \`cast()\` to a Date`);n=r}return n}min(e,t=At.min){let n=this.prepareParam(e,"min");return this.test({message:t,name:"min",exclusive:!0,params:{min:e},skipAbsent:!0,test(e){return e>=this.resolve(n)}})}max(e,t=At.max){let n=this.prepareParam(e,"max");return this.test({message:t,name:"max",exclusive:!0,params:{max:e},skipAbsent:!0,test(e){return e<=this.resolve(n)}})}}function un(e,t){let n=1/0;return e.some(((e,r)=>{var o;if(null!=(o=t.path)&&o.includes(e))return n=r,!0})),n}function dn(e){return(t,n)=>un(e,t)-un(e,n)}cn.INVALID_DATE=sn,ln.prototype=cn.prototype,ln.INVALID_DATE=sn;const pn=(e,t,n)=>{if("string"!=typeof e)return e;let r=e;try{r=JSON.parse(e)}catch(o){}return n.isType(r)?r:e};function fn(e){if("fields"in e){const t={};for(const[n,r]of Object.entries(e.fields))t[n]=fn(r);return e.setFields(t)}if("array"===e.type){const t=e.optional();return t.innerType&&(t.innerType=fn(t.innerType)),t}return"tuple"===e.type?e.optional().clone({types:e.spec.types.map(fn)}):"optional"in e?e.optional():e}let hn=e=>"[object Object]"===Object.prototype.toString.call(e);const mn=dn([]);function vn(e){return new gn(e)}class gn extends Ut{constructor(e){super({type:"object",check:e=>hn(e)||"function"==typeof e}),this.fields=Object.create(null),this._sortErrors=mn,this._nodes=[],this._excludedEdges=[],this.withMutation((()=>{e&&this.shape(e)}))}_cast(e,t={}){var n;let r=super._cast(e,t);if(void 0===r)return this.getDefault(t);if(!this._typeCheck(r))return r;let o=this.fields,i=null!=(n=t.stripUnknown)?n:this.spec.noUnknown,a=[].concat(this._nodes,Object.keys(r).filter((e=>!this._nodes.includes(e)))),s={},l=Object.assign({},t,{parent:s,__validating:t.__validating||!1}),c=!1;for(const u of a){let e=o[u],n=u in r;if(e){let n,o=r[u];l.path=(t.path?`${t.path}.`:"")+u,e=e.resolve({value:o,context:t.context,parent:s});let i=e instanceof Ut?e.spec:void 0,a=null==i?void 0:i.strict;if(null!=i&&i.strip){c=c||u in r;continue}n=t.__validating&&a?r[u]:e.cast(r[u],l),void 0!==n&&(s[u]=n)}else n&&!i&&(s[u]=r[u]);n===u in s&&s[u]===r[u]||(c=!0)}return c?s:r}_validate(e,t={},n,r){let{from:o=[],originalValue:i=e,recursive:a=this.spec.recursive}=t;t.from=[{schema:this,value:i},...o],t.__validating=!0,t.originalValue=i,super._validate(e,t,n,((e,o)=>{if(!a||!hn(o))return void r(e,o);i=i||o;let s=[];for(let n of this._nodes){let e=this.fields[n];e&&!_t.isRef(e)&&s.push(e.asNestedTest({options:t,key:n,parent:o,parentPath:t.path,originalParent:i}))}this.runTests({tests:s,value:o,originalValue:i,options:t},n,(t=>{r(t.sort(this._sortErrors).concat(e),o)}))}))}clone(e){const t=super.clone(e);return t.fields=Object.assign({},this.fields),t._nodes=this._nodes,t._excludedEdges=this._excludedEdges,t._sortErrors=this._sortErrors,t}concat(e){let t=super.concat(e),n=t.fields;for(let[r,o]of Object.entries(this.fields)){const e=n[r];n[r]=void 0===e?o:e}return t.withMutation((t=>t.setFields(n,[...this._excludedEdges,...e._excludedEdges])))}_getDefault(e){if("default"in this.spec)return super._getDefault(e);if(!this._nodes.length)return;let t={};return this._nodes.forEach((n=>{var r;const o=this.fields[n];let i=e;null!=(r=i)&&r.value&&(i=Object.assign({},i,{parent:i.value,value:i.value[n]})),t[n]=o&&"getDefault"in o?o.getDefault(i):void 0})),t}setFields(e,t){let n=this.clone();return n.fields=e,n._nodes=function(e,t=[]){let n=[],r=new Set,o=new Set(t.map((([e,t])=>`${e}-${t}`)));function i(e,t){let i=(0,ft.split)(e)[0];r.add(i),o.has(`${t}-${i}`)||n.push([t,i])}for(const a of Object.keys(e)){let t=e[a];r.add(a),_t.isRef(t)&&t.isSibling?i(t.path,a):Rt(t)&&"deps"in t&&t.deps.forEach((e=>i(e,a)))}return vt().array(Array.from(r),n).reverse()}(e,t),n._sortErrors=dn(Object.keys(e)),t&&(n._excludedEdges=t),n}shape(e,t=[]){return this.clone().withMutation((n=>{let r=n._excludedEdges;return t.length&&(Array.isArray(t[0])||(t=[t]),r=[...n._excludedEdges,...t]),n.setFields(Object.assign(n.fields,e),r)}))}partial(){const e={};for(const[t,n]of Object.entries(this.fields))e[t]="optional"in n&&n.optional instanceof Function?n.optional():n;return this.setFields(e)}deepPartial(){return fn(this)}pick(e){const t={};for(const n of e)this.fields[n]&&(t[n]=this.fields[n]);return this.setFields(t)}omit(e){const t=Object.assign({},this.fields);for(const n of e)delete t[n];return this.setFields(t)}from(e,t,n){let r=(0,ft.getter)(e,!0);return this.transform((o=>{if(!o)return o;let i=o;return((e,t)=>{const n=[...(0,ft.normalizePath)(t)];if(1===n.length)return n[0]in e;let r=n.pop(),o=(0,ft.getter)((0,ft.join)(n),!0)(e);return!(!o||!(r in o))})(o,e)&&(i=Object.assign({},o),n||delete i[e],i[t]=r(o)),i}))}json(){return this.transform(pn)}noUnknown(e=!0,t=Lt.noUnknown){"boolean"!=typeof e&&(t=e,e=!0);let n=this.test({name:"noUnknown",exclusive:!0,message:t,test(t){if(null==t)return!0;const n=function(e,t){let n=Object.keys(e.fields);return Object.keys(t).filter((e=>-1===n.indexOf(e)))}(this.schema,t);return!e||0===n.length||this.createError({params:{unknown:n.join(", ")}})}});return n.spec.noUnknown=e,n}unknown(e=!0,t=Lt.noUnknown){return this.noUnknown(!e,t)}transformKeys(e){return this.transform((t=>{if(!t)return t;const n={};for(const r of Object.keys(t))n[e(r)]=t[r];return n}))}camelCase(){return this.transformKeys(ht.camelCase)}snakeCase(){return this.transformKeys(ht.snakeCase)}constantCase(){return this.transformKeys((e=>(0,ht.snakeCase)(e).toUpperCase()))}describe(e){let t=super.describe(e);t.fields={};for(const[r,o]of Object.entries(this.fields)){var n;let i=e;null!=(n=i)&&n.value&&(i=Object.assign({},i,{parent:i.value,value:i.value[r]})),t.fields[r]=o.describe(i)}return t}}function yn(e){return new bn(e)}vn.prototype=gn.prototype;class bn extends Ut{constructor(e){super({type:"array",spec:{types:e},check:e=>Array.isArray(e)}),this.innerType=void 0,this.innerType=e}_cast(e,t){const n=super._cast(e,t);if(!this._typeCheck(n)||!this.innerType)return n;let r=!1;const o=n.map(((e,n)=>{const o=this.innerType.cast(e,Object.assign({},t,{path:`${t.path||""}[${n}]`}));return o!==e&&(r=!0),o}));return r?o:n}_validate(e,t={},n,r){var o;let i=this.innerType,a=null!=(o=t.recursive)?o:this.spec.recursive;null!=t.originalValue&&t.originalValue,super._validate(e,t,n,((o,s)=>{var l;if(!a||!i||!this._typeCheck(s))return void r(o,s);let c=new Array(s.length);for(let n=0;n<s.length;n++){var u;c[n]=i.asNestedTest({options:t,index:n,parent:s,parentPath:t.path,originalParent:null!=(u=t.originalValue)?u:e})}this.runTests({value:s,tests:c,originalValue:null!=(l=t.originalValue)?l:e,options:t},n,(e=>r(e.concat(o),s)))}))}clone(e){const t=super.clone(e);return t.innerType=this.innerType,t}json(){return this.transform(pn)}concat(e){let t=super.concat(e);return t.innerType=this.innerType,e.innerType&&(t.innerType=t.innerType?t.innerType.concat(e.innerType):e.innerType),t}of(e){let t=this.clone();if(!Rt(e))throw new TypeError("`array.of()` sub-schema must be a valid yup schema not: "+St(e));return t.innerType=e,t.spec=Object.assign({},t.spec,{types:e}),t}length(e,t=Nt.length){return this.test({message:t,name:"length",exclusive:!0,params:{length:e},skipAbsent:!0,test(t){return t.length===this.resolve(e)}})}min(e,t){return t=t||Nt.min,this.test({message:t,name:"min",exclusive:!0,params:{min:e},skipAbsent:!0,test(t){return t.length>=this.resolve(e)}})}max(e,t){return t=t||Nt.max,this.test({message:t,name:"max",exclusive:!0,params:{max:e},skipAbsent:!0,test(t){return t.length<=this.resolve(e)}})}ensure(){return this.default((()=>[])).transform(((e,t)=>this._typeCheck(e)?e:null==t?[]:[].concat(t)))}compact(e){let t=e?(t,n,r)=>!e(t,n,r):e=>!!e;return this.transform((e=>null!=e?e.filter(t):e))}describe(e){let t=super.describe(e);if(this.innerType){var n;let r=e;null!=(n=r)&&n.value&&(r=Object.assign({},r,{parent:r.value,value:r.value[0]})),t.innerType=this.innerType.describe(r)}return t}}yn.prototype=bn.prototype;var wn,xn,kn;!function(e){e.Text="text",e.Hidden="hidden",e.Checkbox="checkbox",e.LongText="long_text",e.ShortText="short_text",e.DateTime="dateTime",e.Dropdown="dropdown",e.AutoSyncDropdown="auto_sync_dropdown",e.MultiSelect="multi_select",e.File="file",e.PhoneNumber="phone_number",e.Date="date",e.Rating="rating",e.Address="address",e.Email="email",e.Url="url",e.Number="number",e.RichText="rich_text",e.Password="password",e.Image="image",e.Signature="signature"}(wn||(wn={})),function(e){e.LoggedInUserEmail="{LOGGED_IN_USER:EMAIL}",e.LoggedInUserName="{LOGGED_IN_USER:NAME}",e.LoggedInUserATRecordId="{LOGGED_IN_USER:AT_RECORD_ID}",e.LoggedInUserRecordId="{LOGGED_IN_USER:RECORD_ID}",e.UrlParam="{URL_PARAM:",e.Page="{PAGE}",e.LinkedFormField="{LINKED_FORM:FIELD:",e.LinkedFormFieldRecordId="{LINKED_FORM:FIELD:RECORD_ID}",e.LoggedInUser="{LOGGED_IN_USER:",e.CurrentDate="{CURRENT_DATE}",e.CurrentDateTime="{CURRENT_DATE_TIME}"}(xn||(xn={})),function(e){e.Enum="Enum",e.MappedEnum="MappedEnum",e.DynamicFont="DynamicFont",e.DynamicColor="DynamicColor"}(kn||(kn={}));var Sn,Cn={name:"font-weight",attribute:"font-weight",values:{hairline:100,thin:200,light:300,normal:400,medium:500,semibold:600,bold:700,extrabold:800,black:900},type:kn.MappedEnum,unit:"",picker:"drop-down-with-default"},En={name:"font-size",attribute:"font-size",values:{"3xs":.5,"2xs":.625,xs:.75,s:.875,m:1,l:1.125,xl:1.25,"2xl":1.5,"3xl":1.875,"4xl":2.25,"5xl":3,"6xl":4,"7xl":5,"8xl":6,"9xl":7,"10xl":8},unit:"rem",type:kn.MappedEnum,picker:"value-picker"},Tn={name:"font-family",attribute:"font-family",unit:"",type:kn.DynamicFont,picker:"font-picker"},On={name:"letter-spacing",attribute:"letter-spacing",values:{tighter:-.05,tight:-.025,normal:0,wide:.025,wider:.05,widest:.1},type:kn.MappedEnum,unit:"rem",picker:"drop-down"},$n={name:"line-height",attribute:"line-height",values:{compact:1,tight:1.25,normal:1.5,loose:2},type:kn.MappedEnum,unit:"",picker:"drop-down"},Mn={name:"text-decoration",attribute:"text-decoration",values:{underline:"underline","line-through":"line-through","no-underline":"none"},type:kn.MappedEnum,unit:""},An={name:"text-transform",attribute:"text-transform",values:{uppercase:"uppercase",lowercase:"lowercase",capitalize:"capitalize",default:"none"},type:kn.MappedEnum,unit:""},Dn={name:"text-align",attribute:"text-align",values:{left:"left",center:"center",right:"right",justify:"justify"},type:kn.MappedEnum,unit:"",picker:"drop-down"},Ln={name:"padding-top",attribute:"padding-top",values:{none:0,"7xs":.25,"6xs":.5,"5xs":.75,"4xs":1,"3xs":1.25,"2xs":1.5,xs:2,s:2.5,m:3,l:4,xl:5,"2xl":6,"3xl":8,"4xl":10,"5xl":12,"6xl":14,"7xl":16},type:kn.MappedEnum,unit:"rem",picker:"value-picker"},Nn={name:"padding-bottom",attribute:"padding-bottom",values:{none:0,"7xs":.25,"6xs":.5,"5xs":.75,"4xs":1,"3xs":1.25,"2xs":1.5,xs:2,s:2.5,m:3,l:4,xl:5,"2xl":6,"3xl":8,"4xl":10,"5xl":12,"6xl":14,"7xl":16},type:kn.MappedEnum,unit:"rem",picker:"value-picker"},Rn={name:"padding-left",attribute:"padding-left",values:{none:0,"7xs":.25,"6xs":.5,"5xs":.75,"4xs":1,"3xs":1.25,"2xs":1.5,xs:2,s:2.5,m:3,l:4,xl:5,"2xl":6,"3xl":8,"4xl":10,"5xl":12,"6xl":14,"7xl":16},type:kn.MappedEnum,unit:"rem",picker:"value-picker"},In={name:"padding-right",attribute:"padding-right",values:{none:0,"7xs":.25,"6xs":.5,"5xs":.75,"4xs":1,"3xs":1.25,"2xs":1.5,xs:2,s:2.5,m:3,l:4,xl:5,"2xl":6,"3xl":8,"4xl":10,"5xl":12,"6xl":14,"7xl":16},type:kn.MappedEnum,unit:"rem",picker:"value-picker"},Pn={name:"margin-top",attribute:"margin-top",values:{none:0,"7xs":.25,"6xs":.5,"5xs":.75,"4xs":1,"3xs":1.25,"2xs":1.5,xs:2,s:2.5,m:3,l:4,xl:5,"2xl":6,"3xl":8,"4xl":10,"5xl":12,"6xl":14,"7xl":16},type:kn.MappedEnum,unit:"rem",picker:"value-picker"},Zn={name:"margin-bottom",attribute:"margin-bottom",values:{none:0,"7xs":.25,"6xs":.5,"5xs":.75,"4xs":1,"3xs":1.25,"2xs":1.5,xs:2,s:2.5,m:3,l:4,xl:5,"2xl":6,"3xl":8,"4xl":10,"5xl":12,"6xl":14,"7xl":16},type:kn.MappedEnum,unit:"rem",picker:"value-picker"},_n={name:"margin-left",attribute:"margin-left",values:{none:0,"7xs":.25,"6xs":.5,"5xs":.75,"4xs":1,"3xs":1.25,"2xs":1.5,xs:2,s:2.5,m:3,l:4,xl:5,"2xl":6,"3xl":8,"4xl":10,"5xl":12,"6xl":14,"7xl":16},type:kn.MappedEnum,unit:"rem",picker:"value-picker"},Fn={name:"margin-right",attribute:"margin-right",values:{none:0,"7xs":.25,"6xs":.5,"5xs":.75,"4xs":1,"3xs":1.25,"2xs":1.5,xs:2,s:2.5,m:3,l:4,xl:5,"2xl":6,"3xl":8,"4xl":10,"5xl":12,"6xl":14,"7xl":16},type:kn.MappedEnum,unit:"rem",picker:"value-picker"},jn={name:"background-color",attribute:"background-color",type:kn.DynamicColor,unit:"",picker:"color-picker"},Bn={name:"text-color",attribute:"color",unit:"",type:kn.DynamicColor,picker:"color-picker"},zn={name:"placeholder-color",attribute:"color",pseudo:"::placeholder",unit:"",type:kn.DynamicColor,picker:"color-picker"},Hn={name:"border-radius",attribute:"border-radius",values:{none:0,s:.125,m:.25,l:.5,xl:.75,"2xl":1,"3xl":1.5,"4xl":2,full:9999},type:kn.MappedEnum,unit:"rem",picker:"value-picker"},Un={name:"border-style",attribute:"border-style",values:{solid:"solid",dashed:"dashed",dotted:"dotted",none:"none"},type:kn.MappedEnum,unit:"",picker:"drop-down"},Wn={name:"border-top-style",attribute:"border-top-style",values:{solid:"solid",dashed:"dashed",dotted:"dotted",none:"none"},type:kn.MappedEnum,unit:"",picker:"drop-down"},Vn={name:"border-bottom-style",attribute:"border-bottom-style",values:{solid:"solid",dashed:"dashed",dotted:"dotted",none:"none"},type:kn.MappedEnum,unit:"",picker:"drop-down"},qn={name:"border-left-style",attribute:"border-left-style",values:{solid:"solid",dashed:"dashed",dotted:"dotted",none:"none"},type:kn.MappedEnum,unit:"",picker:"drop-down"},Gn={name:"border-right-style",attribute:"border-right-style",values:{solid:"solid",dashed:"dashed",dotted:"dotted",none:"none"},type:kn.MappedEnum,unit:"",picker:"drop-down"},Kn={name:"outline",attribute:"outline",values:{none:"none"},type:kn.MappedEnum,unit:""},Yn={name:"border-width",attribute:"border-width",values:{none:0,xs:1,s:2,m:4,l:8,xl:16},type:kn.MappedEnum,unit:"px",picker:"value-picker"},Xn={name:"border-top-width",attribute:"border-top-width",values:{none:0,xs:1,s:2,m:4,l:8,xl:16},type:kn.MappedEnum,unit:"px",picker:"value-picker"},Jn={name:"border-bottom-width",attribute:"border-bottom-width",values:{none:0,xs:1,s:2,m:4,l:8,xl:16},type:kn.MappedEnum,unit:"px",picker:"value-picker"},Qn={name:"border-left-width",attribute:"border-left-width",values:{none:0,xs:1,s:2,m:4,l:8,xl:16},type:kn.MappedEnum,unit:"px",picker:"value-picker"},er={name:"border-right-width",attribute:"border-right-width",values:{none:0,xs:1,s:2,m:4,l:8,xl:16},type:kn.MappedEnum,unit:"px",picker:"value-picker"},tr={name:"border-color",attribute:"border-color",type:kn.DynamicColor,unit:"",picker:"color-picker"},nr={name:"border-top-color",attribute:"border-top-color",type:kn.DynamicColor,unit:"",picker:"color-picker"},rr={name:"border-bottom-color",attribute:"border-bottom-color",type:kn.DynamicColor,unit:"",picker:"color-picker"},or={name:"border-left-color",attribute:"border-left-color",type:kn.DynamicColor,unit:"",picker:"color-picker"},ir={name:"border-right-color",attribute:"border-right-color",type:kn.DynamicColor,unit:"",picker:"color-picker"},ar={name:"background-size",attribute:"background-size",values:{auto:"auto",cover:"cover",contain:"contain"},type:kn.MappedEnum,unit:"",picker:"drop-down"},sr={name:"background-attachment",attribute:"background-attachment",values:{scroll:"scroll",fixed:"fixed",local:"local"},type:kn.MappedEnum,unit:"",picker:"drop-down"},lr={name:"background-position",attribute:"background-position",values:{center:"center",bottom:"bottom",left:"left","left-bottom":"left bottom","left-top":"left top",right:"right","right-bottom":"right bottom","right-top":"right top",top:"top"},type:kn.MappedEnum,unit:"",picker:"drop-down"},cr={name:"background-repeat",attribute:"background-repeat",values:{repeat:"repeat","no-repeat":"no-repeat","repeat-x":"repeat-x","repeat-y":"repeat-y"},type:kn.MappedEnum,unit:"",picker:"drop-down"},ur={name:"max-width",attribute:"max-width",values:{"6xs":"2rem","5xs":"4rem","4xs":"8rem","3xs":"12rem","2xs":"16rem",xs:"20rem",s:"24rem",m:"28rem",l:"32rem",xl:"36rem","2xl":"42rem","3xl":"48rem","4xl":"56rem","5xl":"64rem","6xl":"72rem",full:"100%"},unit:"",type:kn.MappedEnum,picker:"value-picker"},dr={name:"min-width",attribute:"min-width",values:{"6xs":"2rem","5xs":"4rem","4xs":"8rem","3xs":"12rem","2xs":"16rem",xs:"20rem",s:"24rem",m:"28rem",l:"32rem",xl:"36rem","2xl":"42rem","3xl":"48rem","4xl":"56rem","5xl":"64rem","6xl":"72rem",full:"100%"},unit:"",type:kn.MappedEnum,picker:"value-picker"},pr={name:"width",attribute:"width",values:{"12xs":"1rem","11xs":"2rem","10xs":"3rem","9xs":"4rem","8xs":"5rem","7xs":"6rem","6xs":"7rem","5xs":"8rem","4xs":"10rem","3xs":"12rem","2xs":"16rem",xs:"20rem",s:"24rem",m:"28rem",l:"32rem",xl:"36rem","2xl":"42rem","3xl":"48rem","4xl":"56rem","5xl":"64rem","6xl":"72rem",full:"100%"},unit:"",type:kn.MappedEnum,picker:"value-picker"},fr={name:"percentage-width",attribute:"width",values:{"10xs":"5%","9xs":"10%","8xs":"15%","7xs":"20%","6xs":"25%","5xs":"30%","4xs":"35%","3xs":"40%","2xs":"45%",xs:"50%",s:"55%",m:"60%",l:"65%",xl:"70%","2xl":"75%","3xl":"80%","4xl":"85%","5xl":"90%","6xl":"95%",full:"100%"},unit:"",type:kn.MappedEnum,picker:"value-picker"},hr={name:"max-height",attribute:"max-height",values:{"6xs":"2rem","5xs":"4rem","4xs":"8rem","3xs":"12rem","2xs":"16rem",xs:"20rem",s:"24rem",m:"28rem",l:"32rem",xl:"36rem","2xl":"42rem","3xl":"48rem","4xl":"56rem","5xl":"64rem","6xl":"72rem",full:"100%"},unit:"",type:kn.MappedEnum,picker:"value-picker"},mr={name:"min-height",attribute:"min-height",values:{"6xs":"2rem","5xs":"4rem","4xs":"8rem","3xs":"12rem","2xs":"16rem",xs:"20rem",s:"24rem",m:"28rem",l:"32rem",xl:"36rem","2xl":"42rem","3xl":"48rem","4xl":"56rem","5xl":"64rem","6xl":"72rem",full:"100%"},unit:"",type:kn.MappedEnum,picker:"value-picker"},vr={name:"height",attribute:"height",values:{"12xs":"1rem","11xs":"2rem","10xs":"3rem","9xs":"4rem","8xs":"5rem","7xs":"6rem","6xs":"7rem","5xs":"8rem","4xs":"10rem","3xs":"12rem","2xs":"16rem",xs:"20rem",s:"24rem",m:"28rem",l:"32rem",xl:"36rem","2xl":"42rem","3xl":"48rem","4xl":"56rem","5xl":"64rem","6xl":"72rem",full:"100%"},unit:"",type:kn.MappedEnum,picker:"value-picker"},gr={name:"box-shadow",attribute:"box-shadow",values:{none:"none",s:"0px 0px 6px 0px rgba(17, 17, 17, 0.04), 0px 4px 8px 0px rgba(17, 17, 17, 0.04)",m:"0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06)",l:"0px 2px 4px 0px rgba(17, 17, 17, 0.04), 0px 8px 32px 0px rgba(33, 33, 33, 0.08)",xl:"0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04)","2xl":"0 25px 50px -12px rgba(0, 0, 0, 0.25)"},type:kn.MappedEnum,unit:"",picker:"value-picker"},yr={name:"cursor",attribute:"cursor",values:{default:"default",pointer:"pointer",wait:"wait",text:"relative",move:"sticky",grab:"grab",help:"help",crosshair:"crosshair","zoom-in":"zoom-in","zoom-out":"zoom-out","not-allowed":"not-allowed",none:"none"},type:kn.MappedEnum,unit:""},br={name:"position",attribute:"position",values:{static:"static",fixed:"fixed",absolute:"absolute",relative:"relative",sticky:"sticky"},type:kn.MappedEnum,unit:""},wr={name:"opacity",attribute:"opacity",values:{full:0,"3xl":.1,"2xl":.2,xl:.3,l:.4,m:.5,s:.6,xs:.7,"2xs":.8,"3xs":.9,none:1},type:kn.MappedEnum,unit:""},xr={name:"display",attribute:"display",values:{block:"block","inline-block":"inline-block",inline:"inline",flex:"flex","inline-flex":"inline-flex",none:"none"},type:kn.MappedEnum,unit:""},kr={name:"align-items",attribute:"align-items",values:{stretch:"stretch",start:"start",center:"center",end:"flex",baseline:"inline-flex"},type:kn.MappedEnum,unit:""},Sr=["hover","focus","active","visited"],Cr={xs:"0",s:"576px",m:"768px",l:"992px",xl:"1200px"},Er="sw",Tr="-",Or=(Sn={},[Cn,En,Tn,$n,On,Mn,An,Dn,Ln,Nn,Rn,In,Pn,Zn,_n,Fn,Bn,jn,zn,Hn,Un,Kn,Yn,Jn,Xn,Qn,er,tr,rr,nr,or,ir,Vn,Wn,qn,Gn,sr,lr,cr,ar,ur,dr,pr,fr,hr,mr,vr,gr,yr,br,wr,xr,kr].forEach((function(e){Sn[e.name]=e})),Sn);function $r(e){var t,n=Lr(e),r=Nr(e),o=function(e){var t=Object.keys(Cr).find((function(t){return e.startsWith(t+":")}));return void 0!==t}(e),i=function(e){return Object.keys(Cr).find((function(t){return e.startsWith(t+":")}))}(e);n&&(e=Rr(e)),o&&(e=function(e){var t=Object.keys(Cr).find((function(t){return e.startsWith(t+":")}));return t?e.replace(t+":",""):e}(e));var a=Ar(e,Or);if(!a)throw new Error("Can't find the style: "+e);var s=Mr(e,a);if(!s||void 0===s)throw new Error("Can't find a value for the style: "+e);n&&(e=function(e,t){return"".concat(t,"\\:").concat(e,":").concat(t)}(e,r)),o&&(e=function(e,t){return"".concat(t,"\\:").concat(e)}(e,i));var l,c=function(e){return void 0!==e.pseudo}(a);switch(c&&(e=function(e,t){return"".concat(e).concat(t.pseudo)}(e,a)),a.type){case kn.Enum:l=".".concat(e," { ").concat(a.attribute,": ").concat(s).concat(a.unit,"!important; }");break;case kn.MappedEnum:if(s.includes("default")){l=".".concat(e," { }");break}var u=null===(t=a.values)||void 0===t?void 0:t[s];if(void 0===u)throw new Error("Can't find a value for the style: "+e);l=".".concat(e," { ").concat(a.attribute,": ").concat(u).concat(a.unit,"!important; }");break;case kn.DynamicColor:if(s.includes("default")){l=".".concat(e," { }");break}if("transparent"===s){l=".".concat(e," { ").concat(a.attribute,": ").concat(s,"!important; }");break}l=".".concat(e," { ").concat(a.attribute,": #").concat(s,"!important; }");break;case kn.DynamicFont:if(s.includes("default")){l=".".concat(e," { }");break}var d=Dr(s);l=".".concat(e," { ").concat(a.attribute,': "').concat(d,'"!important; }')}if(void 0===l)throw new Error("Can't generate css for the name: "+e);if(o){var p=Cr[i];return"@media (min-width: ".concat(p,") { ").concat(l," }")}return n&&"hover"===r?"@media (hover: hover) { ".concat(l," }"):l}function Mr(e,t){return e.replace(Er+Tr+t.name+Tr,"")}function Ar(e,t){return t[Object.keys(t).find((function(t){return e.startsWith(Er+Tr+t+Tr)}))]}function Dr(e){return e.split("_").map((function(e){return"string"!=typeof(t=e)?"":t.charAt(0).toUpperCase()+t.slice(1);var t})).join(" ")}function Lr(e){return!!Sr.find((function(t){return e.startsWith(t)}))}function Nr(e){return Sr.find((function(t){return e.startsWith(t)}))}function Rr(e){var t=Sr.find((function(t){return e.startsWith(t)}));return t?e.replace(t+":",""):e}var Ir=function(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 o=0;for(r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]])}return n},Pr=function(e,t){var n="function"==typeof Symbol&&e[Symbol.iterator];if(!n)return e;var r,o,i=n.call(e),a=[];try{for(;(void 0===t||t-- >0)&&!(r=i.next()).done;)a.push(r.value)}catch(s){o={error:s}}finally{try{r&&!r.done&&(n=i.return)&&n.call(i)}finally{if(o)throw o.error}}return a},Zr=function(e,t,n){if(n||2===arguments.length)for(var r,o=0,i=t.length;o<i;o++)!r&&o in t||(r||(r=Array.prototype.slice.call(t,0,o)),r[o]=t[o]);return e.concat(r||Array.prototype.slice.call(t))},_r=function(e){var t="function"==typeof Symbol&&Symbol.iterator,n=t&&e[t],r=0;if(n)return n.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&r>=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")},Fr=function(e){var t={};return e.forEach((function(e){var n=Pr(function(e){var t=Nr(e);t&&(e=Rr(e));var n,r=Object.keys(Or).find((function(t){return e.startsWith(Er+Tr+t+Tr)}))||"",o=Or[r],i=r.replace(/-([a-z])/g,(function(e){return e[1].toUpperCase()})),a=t?t.charAt(0).toUpperCase()+t.slice(1):"",s=e.replace("sw-".concat(o.name,"-"),"");if("default"===s)return["".concat(i).concat(a),void 0];switch(o.type){case kn.Enum:n="".concat(s).concat(o.unit);break;case kn.MappedEnum:n="".concat(o.values[s]).concat(o.unit);break;case kn.DynamicColor:n="transparent"!==s?"#".concat(s):s;break;case kn.DynamicFont:n=Dr(s);break;default:n=s}return["".concat(i).concat(a),n]}(e),2),r=n[0],o=n[1];t[r]=o})),t};function jr(e,t){var n,r,o=e.primaryStyles,i=e.otherStyles,a=Ir(e,["primaryStyles","otherStyles"]),s={},l=[],c=[];(o||[]).forEach((function(e){var t=e.classes;return l.push.apply(l,Zr([],Pr(t),!1))})),l.forEach(t.add,t),(i||[]).forEach((function(e){var t=e.classes;return c.push.apply(c,Zr([],Pr(t),!1))})),c.forEach(t.add,t),s.className=Zr(Zr([],Pr(l),!1),Pr(c),!1).join(" "),s.styles=Fr(l);try{for(var u=_r(Object.keys(a)),d=u.next();!d.done;d=u.next()){var p=d.value,f=a[p];Array.isArray(f)?s[p]=f.map((function(e){return"object"==typeof e?jr(e,t):e})):s[p]="object"==typeof f?f?jr(f,t):"":f}}catch(h){n={error:h}}finally{try{d&&!d.done&&(r=u.return)&&r.call(u)}finally{if(n)throw n.error}}return s}var Br,zr=function(e){return void 0===e&&(e="xxxxxxxx"),e.replace(/[xy]/g,(function(e){var t=16*Math.random()|0;return("x"===e?t:3&t|8).toString(16)}))},Hr=function(e,t){return String(e).toLowerCase().indexOf(String(t).toLowerCase())>-1};!function(e){e.SINGLE_LINE_TEXT="singleLineText",e.MULTI_LINE_TEXT="multilineText",e.RICH_TEXT="richText",e.URL="url",e.EMAIL="email",e.NUMBER="number",e.PERCENT="percent",e.CURRENCY="currency",e.PHONE_NUMBER="phoneNumber",e.RATING="rating",e.CHECKBOX="checkbox",e.SINGLE_SELECT="singleSelect",e.MULTI_SELECT="multipleSelects",e.DATE="date",e.DATE_TIME="dateTime",e.ATTACHMENT="multipleAttachments",e.RECORD_LINKS="multipleRecordLinks",e.LOOKUP="multipleLookupValues",e.BARCODE="barcode",e.DURATION="duration",e.SINGLE_COLLABORATOR="singleCollaborator",e.FORMULA="formula"}(Br||(Br={}));var Ur="Something went wrong. Please refresh the page and try again.",Wr="The maximum number of attempts has been reached. Please try again later.",Vr='Please try again or pass the following error message to the application owner: "The detail block is not being shown, which prevents the dependent block from being displayed."';const qr=()=>{try{return window.parent.location.origin===window.location.origin}catch{return!1}},Gr=e=>{qr()&&window.parent!==window&&window.parent.dispatchEvent(e),window.dispatchEvent(e)};Object.defineProperty;const Kr=({controlType:e,allowed:t,label:n})=>(r,o={})=>(((e,t,n)=>{if(t.some((e=>!n.includes(e.controlType))))throw new Error(`${e} may only contain ${n.map((e=>JSON.stringify(e))).join(", ")} controls inside styles`)})(e,r,t),{type:"control",controlType:e,label:n,styles:r,...o});Kr({controlType:"border",allowed:["borderStyle","borderWidth","color"],label:"Border"}),Kr({controlType:"background",allowed:["select","color","image"],label:"Background"}),Kr({controlType:"font",allowed:["fontFamily","color","fontWeight"],label:"Font"});var Yr,Xr={colors:{primary:"#152237",accent:"#3278FF",background:"#FFFFFF"},typography:{headingFontFamily:"Inter, sans-serif",headingFontWeight:600,bodyFontFamily:"Inter, sans-serif",bodyFontWeight:400},size:"M",roundness:"STANDARD",backgroundStyle:"HIGHLIGHTED",shadow:!0,containerMaxWidth:"1852px"},Jr=((Yr={config:Xr,tokens:{colors:{background:{default:"#FFFFFF",complementary:"#f3f5f8",skeleton:"#f2f2f2"},text:{heading:"#152237",description:"#434e5f",ui:"#152237"},border:{primary:"#e5e5e5",secondary:"#f3f5f8"},action:{highlight:"#3278FF",primary:{text:"#f4f8ff",background:{idle:"#3278FF",hover:"#2860cc",press:"#1e4899"}},secondary:{background:{idle:"#FFFFFF",hover:"#f2f2f2",press:"#e5e5e5"},text:"#152237"},dialogSecondary:{background:{idle:"#f2f2f2",hover:"#e5e5e5",press:"#ccc"},text:"#152237"},ghost:{text:"#152237",background:{idle:"#FFFFFF",hover:"#f2f2f2",press:"#e5e5e5"},border:{active:"#3278FF"}},disabled:{background:"#F2F2F2",text:"#898989"}},dialog:{background:{idle:"#FFFFFF",hover:"#f2f2f2",press:"#e5e5e5"}},input:{background:{idle:"#f2f2f2",hover:"#e5e5e5",focus:"#f2f2f2"},text:"#152237",placeholder:"#727a87",border:{focus:"#3278FF",error:"#c52c26"},message:{error:"#c52c26",hint:"#727a87"}},rating:{fill:"#e5e5e5",stroke:{hover:"#999"}}},typography:{heading:{fontFamily:"Inter, sans-serif",fontWeight:"600",size:{1:{fontSize:"22px",lineHeight:"32px"},2:{fontSize:"20px",lineHeight:"28px"},3:{fontSize:"18px",lineHeight:"24px"},title:{fontSize:"24px",lineHeight:"32px"}}},body:{fontFamily:"Inter, sans-serif",fontWeight:"400",fontSize:"14px",lineHeight:"20px"},text:{action:{fontSize:"14px",lineHeight:"24px"},hint:{fontSize:"12px",lineHeight:"15px"},label:{fontSize:"14px",lineHeight:"20px"},link:{fontSize:"14px",lineHeight:"20px"},tag:{fontSize:"13px",lineHeight:"16px"}}},iconSize:{1:"20px",5:"40px",rating:"24px"},roundness:{1:"4px",2:"6px",3:"8px",4:"12px",5:"16px",full:"9999px"},space:{0:"0px",1:"2px",2:"4px",3:"6px",4:"8px",5:"10px",6:"12px",7:"16px",8:"20px",9:"24px",10:"32px",11:"48px",12:"64px",13:"72px",14:"96px",15:"144px"},gap:void 0,shadow:{none:"0 0 #0000",subtle:"0px 2px 3px -2px rgba(0,0,0,0.12), 0px 2px 5px -2px rgba(0,0,0,0.08)",raised:"0px 16px 28px -4px rgba(0,0,0,0.02), 0px 5px 12px -3px rgba(0,0,0,0.08), 0px 2px 3px -2px rgba(0,0,0,0.06), 0px 0.5px 1px -1px rgba(0,0,0,0.06)",floating:"0px 10px 10px 0 rgba(0,0,0,0.04), 0px 20px 25px 0 rgba(0,0,0,0.06)"},containerMaxWidth:"1852px"}}).tokens.gap=Yr.tokens.space,Yr);function Qr(){return Qr=Object.assign?Object.assign.bind():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},Qr.apply(this,arguments)}function eo(e,t){return eo=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},eo(e,t)}function to(e){return to=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},to(e)}function no(e,t,n){return no=function(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch{return!1}}()?Reflect.construct.bind():function(e,t,n){var r=[null];r.push.apply(r,t);var o=new(Function.bind.apply(e,r));return n&&eo(o,n.prototype),o},no.apply(null,arguments)}function ro(e){var t="function"==typeof Map?new Map:void 0;return ro=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(typeof t<"u"){if(t.has(e))return t.get(e);t.set(e,n)}function n(){return no(e,arguments,to(this).constructor)}return n.prototype=Object.create(e.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}}),eo(n,e)},ro(e)}var oo=function(e){function t(t){return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e.call(this,"An error occurred. See https://github.com/styled-components/polished/blob/main/src/internalHelpers/errors.md#"+t+" for more information.")||this)}return function(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,eo(e,t)}(t,e),t}(ro(Error));function io(e){return Math.round(255*e)}function ao(e,t,n){return io(e)+","+io(t)+","+io(n)}function so(e,t,n,r){if(void 0===r&&(r=ao),0===t)return r(n,n,n);var o=(e%360+360)%360/60,i=(1-Math.abs(2*n-1))*t,a=i*(1-Math.abs(o%2-1)),s=0,l=0,c=0;o>=0&&o<1?(s=i,l=a):o>=1&&o<2?(s=a,l=i):o>=2&&o<3?(l=i,c=a):o>=3&&o<4?(l=a,c=i):o>=4&&o<5?(s=a,c=i):o>=5&&o<6&&(s=i,c=a);var u=n-i/2;return r(s+u,l+u,c+u)}var lo={aliceblue:"f0f8ff",antiquewhite:"faebd7",aqua:"00ffff",aquamarine:"7fffd4",azure:"f0ffff",beige:"f5f5dc",bisque:"ffe4c4",black:"000",blanchedalmond:"ffebcd",blue:"0000ff",blueviolet:"8a2be2",brown:"a52a2a",burlywood:"deb887",cadetblue:"5f9ea0",chartreuse:"7fff00",chocolate:"d2691e",coral:"ff7f50",cornflowerblue:"6495ed",cornsilk:"fff8dc",crimson:"dc143c",cyan:"00ffff",darkblue:"00008b",darkcyan:"008b8b",darkgoldenrod:"b8860b",darkgray:"a9a9a9",darkgreen:"006400",darkgrey:"a9a9a9",darkkhaki:"bdb76b",darkmagenta:"8b008b",darkolivegreen:"556b2f",darkorange:"ff8c00",darkorchid:"9932cc",darkred:"8b0000",darksalmon:"e9967a",darkseagreen:"8fbc8f",darkslateblue:"483d8b",darkslategray:"2f4f4f",darkslategrey:"2f4f4f",darkturquoise:"00ced1",darkviolet:"9400d3",deeppink:"ff1493",deepskyblue:"00bfff",dimgray:"696969",dimgrey:"696969",dodgerblue:"1e90ff",firebrick:"b22222",floralwhite:"fffaf0",forestgreen:"228b22",fuchsia:"ff00ff",gainsboro:"dcdcdc",ghostwhite:"f8f8ff",gold:"ffd700",goldenrod:"daa520",gray:"808080",green:"008000",greenyellow:"adff2f",grey:"808080",honeydew:"f0fff0",hotpink:"ff69b4",indianred:"cd5c5c",indigo:"4b0082",ivory:"fffff0",khaki:"f0e68c",lavender:"e6e6fa",lavenderblush:"fff0f5",lawngreen:"7cfc00",lemonchiffon:"fffacd",lightblue:"add8e6",lightcoral:"f08080",lightcyan:"e0ffff",lightgoldenrodyellow:"fafad2",lightgray:"d3d3d3",lightgreen:"90ee90",lightgrey:"d3d3d3",lightpink:"ffb6c1",lightsalmon:"ffa07a",lightseagreen:"20b2aa",lightskyblue:"87cefa",lightslategray:"789",lightslategrey:"789",lightsteelblue:"b0c4de",lightyellow:"ffffe0",lime:"0f0",limegreen:"32cd32",linen:"faf0e6",magenta:"f0f",maroon:"800000",mediumaquamarine:"66cdaa",mediumblue:"0000cd",mediumorchid:"ba55d3",mediumpurple:"9370db",mediumseagreen:"3cb371",mediumslateblue:"7b68ee",mediumspringgreen:"00fa9a",mediumturquoise:"48d1cc",mediumvioletred:"c71585",midnightblue:"191970",mintcream:"f5fffa",mistyrose:"ffe4e1",moccasin:"ffe4b5",navajowhite:"ffdead",navy:"000080",oldlace:"fdf5e6",olive:"808000",olivedrab:"6b8e23",orange:"ffa500",orangered:"ff4500",orchid:"da70d6",palegoldenrod:"eee8aa",palegreen:"98fb98",paleturquoise:"afeeee",palevioletred:"db7093",papayawhip:"ffefd5",peachpuff:"ffdab9",peru:"cd853f",pink:"ffc0cb",plum:"dda0dd",powderblue:"b0e0e6",purple:"800080",rebeccapurple:"639",red:"f00",rosybrown:"bc8f8f",royalblue:"4169e1",saddlebrown:"8b4513",salmon:"fa8072",sandybrown:"f4a460",seagreen:"2e8b57",seashell:"fff5ee",sienna:"a0522d",silver:"c0c0c0",skyblue:"87ceeb",slateblue:"6a5acd",slategray:"708090",slategrey:"708090",snow:"fffafa",springgreen:"00ff7f",steelblue:"4682b4",tan:"d2b48c",teal:"008080",thistle:"d8bfd8",tomato:"ff6347",turquoise:"40e0d0",violet:"ee82ee",wheat:"f5deb3",white:"fff",whitesmoke:"f5f5f5",yellow:"ff0",yellowgreen:"9acd32"};var co=/^#[a-fA-F0-9]{6}$/,uo=/^#[a-fA-F0-9]{8}$/,po=/^#[a-fA-F0-9]{3}$/,fo=/^#[a-fA-F0-9]{4}$/,ho=/^rgb\(\s*(\d{1,3})\s*(?:,)?\s*(\d{1,3})\s*(?:,)?\s*(\d{1,3})\s*\)$/i,mo=/^rgb(?:a)?\(\s*(\d{1,3})\s*(?:,)?\s*(\d{1,3})\s*(?:,)?\s*(\d{1,3})\s*(?:,|\/)\s*([-+]?\d*[.]?\d+[%]?)\s*\)$/i,vo=/^hsl\(\s*(\d{0,3}[.]?[0-9]+(?:deg)?)\s*(?:,)?\s*(\d{1,3}[.]?[0-9]?)%\s*(?:,)?\s*(\d{1,3}[.]?[0-9]?)%\s*\)$/i,go=/^hsl(?:a)?\(\s*(\d{0,3}[.]?[0-9]+(?:deg)?)\s*(?:,)?\s*(\d{1,3}[.]?[0-9]?)%\s*(?:,)?\s*(\d{1,3}[.]?[0-9]?)%\s*(?:,|\/)\s*([-+]?\d*[.]?\d+[%]?)\s*\)$/i;function yo(e){if("string"!=typeof e)throw new oo(3);var t=function(e){if("string"!=typeof e)return e;var t=e.toLowerCase();return lo[t]?"#"+lo[t]:e}(e);if(t.match(co))return{red:parseInt(""+t[1]+t[2],16),green:parseInt(""+t[3]+t[4],16),blue:parseInt(""+t[5]+t[6],16)};if(t.match(uo)){var n=parseFloat((parseInt(""+t[7]+t[8],16)/255).toFixed(2));return{red:parseInt(""+t[1]+t[2],16),green:parseInt(""+t[3]+t[4],16),blue:parseInt(""+t[5]+t[6],16),alpha:n}}if(t.match(po))return{red:parseInt(""+t[1]+t[1],16),green:parseInt(""+t[2]+t[2],16),blue:parseInt(""+t[3]+t[3],16)};if(t.match(fo)){var r=parseFloat((parseInt(""+t[4]+t[4],16)/255).toFixed(2));return{red:parseInt(""+t[1]+t[1],16),green:parseInt(""+t[2]+t[2],16),blue:parseInt(""+t[3]+t[3],16),alpha:r}}var o=ho.exec(t);if(o)return{red:parseInt(""+o[1],10),green:parseInt(""+o[2],10),blue:parseInt(""+o[3],10)};var i=mo.exec(t.substring(0,50));if(i)return{red:parseInt(""+i[1],10),green:parseInt(""+i[2],10),blue:parseInt(""+i[3],10),alpha:parseFloat(""+i[4])>1?parseFloat(""+i[4])/100:parseFloat(""+i[4])};var a=vo.exec(t);if(a){var s="rgb("+so(parseInt(""+a[1],10),parseInt(""+a[2],10)/100,parseInt(""+a[3],10)/100)+")",l=ho.exec(s);if(!l)throw new oo(4,t,s);return{red:parseInt(""+l[1],10),green:parseInt(""+l[2],10),blue:parseInt(""+l[3],10)}}var c=go.exec(t.substring(0,50));if(c){var u="rgb("+so(parseInt(""+c[1],10),parseInt(""+c[2],10)/100,parseInt(""+c[3],10)/100)+")",d=ho.exec(u);if(!d)throw new oo(4,t,u);return{red:parseInt(""+d[1],10),green:parseInt(""+d[2],10),blue:parseInt(""+d[3],10),alpha:parseFloat(""+c[4])>1?parseFloat(""+c[4])/100:parseFloat(""+c[4])}}throw new oo(5)}function bo(e){return function(e){var t=e.red/255,n=e.green/255,r=e.blue/255,o=Math.max(t,n,r),i=Math.min(t,n,r),a=(o+i)/2;if(o===i)return void 0!==e.alpha?{hue:0,saturation:0,lightness:a,alpha:e.alpha}:{hue:0,saturation:0,lightness:a};var s,l=o-i,c=a>.5?l/(2-o-i):l/(o+i);switch(o){case t:s=(n-r)/l+(n<r?6:0);break;case n:s=(r-t)/l+2;break;default:s=(t-n)/l+4}return s*=60,void 0!==e.alpha?{hue:s,saturation:c,lightness:a,alpha:e.alpha}:{hue:s,saturation:c,lightness:a}}(yo(e))}var wo=function(e){return 7===e.length&&e[1]===e[2]&&e[3]===e[4]&&e[5]===e[6]?"#"+e[1]+e[3]+e[5]:e};function xo(e){var t=e.toString(16);return 1===t.length?"0"+t:t}function ko(e){return xo(Math.round(255*e))}function So(e,t,n){return wo("#"+ko(e)+ko(t)+ko(n))}function Co(e,t,n){return so(e,t,n,So)}function Eo(e,t,n){if("number"==typeof e&&"number"==typeof t&&"number"==typeof n)return wo("#"+xo(e)+xo(t)+xo(n));if("object"==typeof e&&void 0===t&&void 0===n)return wo("#"+xo(e.red)+xo(e.green)+xo(e.blue));throw new oo(6)}function To(e,t,n,r){if("string"==typeof e&&"number"==typeof t){var o=yo(e);return"rgba("+o.red+","+o.green+","+o.blue+","+t+")"}if("number"==typeof e&&"number"==typeof t&&"number"==typeof n&&"number"==typeof r)return r>=1?Eo(e,t,n):"rgba("+e+","+t+","+n+","+r+")";if("object"==typeof e&&void 0===t&&void 0===n&&void 0===r)return e.alpha>=1?Eo(e.red,e.green,e.blue):"rgba("+e.red+","+e.green+","+e.blue+","+e.alpha+")";throw new oo(7)}var Oo=function(e){return"number"==typeof e.red&&"number"==typeof e.green&&"number"==typeof e.blue&&("number"!=typeof e.alpha||typeof e.alpha>"u")},$o=function(e){return"number"==typeof e.red&&"number"==typeof e.green&&"number"==typeof e.blue&&"number"==typeof e.alpha},Mo=function(e){return"number"==typeof e.hue&&"number"==typeof e.saturation&&"number"==typeof e.lightness&&("number"!=typeof e.alpha||typeof e.alpha>"u")},Ao=function(e){return"number"==typeof e.hue&&"number"==typeof e.saturation&&"number"==typeof e.lightness&&"number"==typeof e.alpha};function Do(e){if("object"!=typeof e)throw new oo(8);if($o(e))return To(e);if(Oo(e))return Eo(e);if(Ao(e))return function(e,t,n,r){if("number"==typeof e&&"number"==typeof t&&"number"==typeof n&&"number"==typeof r)return r>=1?Co(e,t,n):"rgba("+so(e,t,n)+","+r+")";if("object"==typeof e&&void 0===t&&void 0===n&&void 0===r)return e.alpha>=1?Co(e.hue,e.saturation,e.lightness):"rgba("+so(e.hue,e.saturation,e.lightness)+","+e.alpha+")";throw new oo(2)}(e);if(Mo(e))return function(e,t,n){if("number"==typeof e&&"number"==typeof t&&"number"==typeof n)return Co(e,t,n);if("object"==typeof e&&void 0===t&&void 0===n)return Co(e.hue,e.saturation,e.lightness);throw new oo(1)}(e);throw new oo(8)}function Lo(e,t,n){return function(){var r=n.concat(Array.prototype.slice.call(arguments));return r.length>=t?e.apply(this,r):Lo(e,t,r)}}function No(e){return Lo(e,e.length,[])}function Ro(e,t,n){return Math.max(e,Math.min(t,n))}No((function(e,t){if("transparent"===t)return t;var n=bo(t);return Do(Qr({},n,{hue:n.hue+parseFloat(e)}))})),No((function(e,t){if("transparent"===t)return t;var n=bo(t);return Do(Qr({},n,{lightness:Ro(0,1,n.lightness-parseFloat(e))}))})),No((function(e,t){if("transparent"===t)return t;var n=bo(t);return Do(Qr({},n,{saturation:Ro(0,1,n.saturation-parseFloat(e))}))}));No((function(e,t){if("transparent"===t)return t;var n=bo(t);return Do(Qr({},n,{lightness:Ro(0,1,n.lightness+parseFloat(e))}))}));var Io=No((function(e,t,n){if("transparent"===t)return n;if("transparent"===n)return t;if(0===e)return n;var r=yo(t),o=Qr({},r,{alpha:"number"==typeof r.alpha?r.alpha:1}),i=yo(n),a=Qr({},i,{alpha:"number"==typeof i.alpha?i.alpha:1}),s=o.alpha-a.alpha,l=2*parseFloat(e)-1,c=((l*s==-1?l:l+s)/(1+l*s)+1)/2,u=1-c;return To({red:Math.floor(o.red*c+a.red*u),green:Math.floor(o.green*c+a.green*u),blue:Math.floor(o.blue*c+a.blue*u),alpha:o.alpha*parseFloat(e)+a.alpha*(1-parseFloat(e))})})),Po=Io;No((function(e,t){if("transparent"===t)return t;var n=yo(t);return To(Qr({},n,{alpha:Ro(0,1,(100*("number"==typeof n.alpha?n.alpha:1)+100*parseFloat(e))/100)}))})),No((function(e,t){if("transparent"===t)return t;var n=bo(t);return Do(Qr({},n,{saturation:Ro(0,1,n.saturation+parseFloat(e))}))})),No((function(e,t){return"transparent"===t?t:Do(Qr({},bo(t),{hue:parseFloat(e)}))})),No((function(e,t){return"transparent"===t?t:Do(Qr({},bo(t),{lightness:parseFloat(e)}))})),No((function(e,t){return"transparent"===t?t:Do(Qr({},bo(t),{saturation:parseFloat(e)}))}));var Zo=No((function(e,t){return"transparent"===t?t:Po(parseFloat(e),"rgb(0, 0, 0)",t)})),_o=Zo;var Fo=No((function(e,t){return"transparent"===t?t:Po(parseFloat(e),"rgb(255, 255, 255)",t)})),jo=Fo;No((function(e,t){if("transparent"===t)return t;var n=yo(t);return To(Qr({},n,{alpha:Ro(0,1,+(100*("number"==typeof n.alpha?n.alpha:1)-100*parseFloat(e)).toFixed(2)/100)}))}));const Bo=e=>({0:jo(1,e),25:jo(.95,e),50:jo(.9,e),100:jo(.8,e),150:jo(.7,e),200:jo(.6,e),300:jo(.4,e),350:jo(.3,e),400:jo(.2,e),450:jo(.1,e),475:jo(.05,e),500:e,525:_o(.05,e),550:_o(.1,e),600:_o(.2,e),700:_o(.4,e),800:_o(.6,e),850:_o(.7,e),900:_o(.8,e),950:_o(.9,e),1e3:_o(1,e)}),zo="#41D33E",Ho="#F8D313",Uo=(Bo("#F73730"),Bo(zo),Bo(Ho),(e,t)=>{const n={};for(const r of Object.keys(e)){const o=e[r];n[r]="object"==typeof o?Uo(o,t?`${t}.${r}`:r):{themeKey:t?`${t}.${r}`:r}}return n});Uo(Jr);var Wo=function(e){var t="function"==typeof Symbol&&Symbol.iterator,n=t&&e[t],r=0;if(n)return n.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&r>=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")},Vo=function(){var e,t,n={},r=new URL(window.location.href);try{for(var o=Wo(r.searchParams.keys()),i=o.next();!i.done;i=o.next()){var a=i.value,s=r.searchParams.get(a);s&&(n[a]=s.trim())}}catch(l){e={error:l}}finally{try{i&&!i.done&&(t=o.return)&&t.call(o)}finally{if(e)throw e.error}}return n},qo=function(){var e=Vo(),t=Object.keys(e).find((function(e){return"recordid"===e.toLowerCase()}));return t?e[t]:function(){var e=window.location.pathname.match(/\/r\/([^/]+)\/?/);if(e&&e[1])return e[1]}()},Go=function(){var e=window.location.pathname;return e.includes("/r/")&&(e=(e=e.substring(0,e.indexOf("/r/"))).substring(0,e.lastIndexOf("/"))),e+(e.endsWith("/")?"":"/")},Ko=function(){return window.location.href.includes("viewMode=modal")},Yo=function(){return window.location.href.startsWith("http://localhost:4200")||window.location.href.startsWith("https://studio-staging")||window.location.href.startsWith("https://studio.softr.io/")},Xo=function(){return Xo=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},Xo.apply(this,arguments)},Jo=function(){return new Promise((function(e,t){if(Yo())return e({});var n=!1,r=setInterval((function(){var t,o,i=qo(),a=document.querySelector(".sw-js-single-item-elements");if((i||a)&&(i=i||(null==a?void 0:a.getAttribute("data-recordId"))||(null==a?void 0:a.getAttribute("data-recordid")))&&(null===(t=null===window||void 0===window?void 0:window.records)||void 0===t?void 0:t[i])){var s=(null===(o=null===window||void 0===window?void 0:window.records)||void 0===o?void 0:o[i].record)||{};n=!0,clearInterval(r),e(Xo(Xo({},s.fields),{pageContextId:s.id})||{})}}),200);setTimeout((function(){clearInterval(r),n||t()}),25e3)}))},Qo=function(e){return e.sort((function(e,t){var n=e.fields,r=void 0===n?{}:n,o=t.fields,i=void 0===o?{}:o;return Object.keys(r).length-Object.keys(i).length})).pop()},ei=function(){var e=function(t,n){return e=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,n)};return function(t,n){if("function"!=typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}();(function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.name="AssertionError",t}ei(t,e)})(Error),function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.name="SoftAssertionError",t}ei(t,e)}(Error),function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.name="UnimplementedError",t}ei(t,e)}(Error);var ti=function(e,t,n,r){return new(n||(n=Promise))((function(o,i){function a(e){try{l(r.next(e))}catch(Yr){i(Yr)}}function s(e){try{l(r.throw(e))}catch(Yr){i(Yr)}}function l(e){var t;e.done?o(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())}))},ni=function(e,t){var n,r,o,i,a={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return i={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function s(s){return function(l){return function(s){if(n)throw new TypeError("Generator is already executing.");for(;i&&(i=0,s[0]&&(a=0)),a;)try{if(n=1,r&&(o=2&s[0]?r.return:s[0]?r.throw||((o=r.return)&&o.call(r),0):r.next)&&!(o=o.call(r,s[1])).done)return o;switch(r=0,o&&(s=[2&s[0],o.value]),s[0]){case 0:case 1:o=s;break;case 4:return a.label++,{value:s[1],done:!1};case 5:a.label++,r=s[1],s=[0];continue;case 7:s=a.ops.pop(),a.trys.pop();continue;default:if(!(o=a.trys,(o=o.length>0&&o[o.length-1])||6!==s[0]&&2!==s[0])){a=0;continue}if(3===s[0]&&(!o||s[1]>o[0]&&s[1]<o[3])){a.label=s[1];break}if(6===s[0]&&a.label<o[1]){a.label=o[1],o=s;break}if(o&&a.label<o[2]){a.label=o[2],a.ops.push(s);break}o[2]&&a.ops.pop(),a.trys.pop();continue}s=t.call(e,a)}catch(Yr){s=[6,Yr],r=0}finally{n=o=0}if(5&s[0])throw s[1];return{value:s[0]?s[1]:void 0,done:!0}}([s,l])}}},ri=function(){function e(e,t,n){var r,o,i=this;this.chartPollingLimit=3e5,this.webhook=function(e){return ti(i,void 0,Promise,(function(){var t,n,r,o,i;return ni(this,(function(a){switch(a.label){case 0:return t=e.recordId,n=e.actionId,r=e.context,o="/v1/actions/".concat(n,"/applications/").concat(this.applicationId,"/pages/").concat(this.pageId,"/blocks/").concat(this.blockId,"/").concat(t,"/webhook"),[4,fetch(o,{method:"POST",headers:{"content-type":"application/json"},body:JSON.stringify(r)})];case 1:if(!(i=a.sent()).ok)throw new Error("Failed to trigger webhook");return[2,i]}}))}))},this.dataSourceId=(null==t?void 0:t.id)||(null===(r=window[n])||void 0===r?void 0:r.datasource_id)||"",this.isLinkedList=!!(null==t?void 0:t.isLinkedList),this.blockId=e;var a=document.body.querySelector("[data-appid]");this.applicationId=(null==a?void 0:a.getAttribute("data-appid"))||(null===(o=null==t?void 0:t.softr)||void 0===o?void 0:o.applicationId)||"app-id",this.pageId=(null==a?void 0:a.getAttribute("data-pageid"))||"page-id"}return e.prototype.getDataSourceServiceUrl=function(){return window.location.href.startsWith("http://localhost")?function(e,t){if(null==e){var n="Unexpected null or undefined value";throw t&&(n+=": "+t),new Error(n)}return e}("https://datasource-api-staging.softr.io","DATASOURCE_URL was not passed"):Yo()?window.location.hostname.replace(/studio([^.]*\.softr\.io)/,window.location.protocol+"//datasource-api$1"):""},e.prototype.getFilterConditionGroup=function(e,t,n,r){void 0===n&&(n="INLINE_CONTAINS");var o=e.mappedTo;return{logicalOperator:"OR",filters:(Array.isArray(t)?t:[t]).map((function(e){return{subject:o,operator:n,value:e,type:r}}))}},e.recordQueriesDependOnMetadata=!1,e}();const oi=ri;var ii=n(32449);function ai(e,t){var n=function(e){if(!li[e]){var t=new Intl.DateTimeFormat("en-US",{hourCycle:"h23",timeZone:"America/New_York",year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit",second:"2-digit"}).format(new Date("2014-06-25T04:00:00.123Z")),n="06/25/2014, 00:00:00"===t||"06/25/2014 00:00:00"===t;li[e]=n?new Intl.DateTimeFormat("en-US",{hourCycle:"h23",timeZone:e,year:"numeric",month:"numeric",day:"2-digit",hour:"2-digit",minute:"2-digit",second:"2-digit"}):new Intl.DateTimeFormat("en-US",{hour12:!1,timeZone:e,year:"numeric",month:"numeric",day:"2-digit",hour:"2-digit",minute:"2-digit",second:"2-digit"})}return li[e]}(t);return n.formatToParts?function(e,t){try{for(var n=e.formatToParts(t),r=[],o=0;o<n.length;o++){var i=si[n[o].type];i>=0&&(r[i]=parseInt(n[o].value,10))}return r}catch(a){if(a instanceof RangeError)return[NaN];throw a}}(n,e):function(e,t){var n=e.format(t),r=/(\d+)\/(\d+)\/(\d+),? (\d+):(\d+):(\d+)/.exec(n);return[r[3],r[1],r[2],r[4],r[5],r[6]]}(n,e)}var si={year:0,month:1,day:2,hour:3,minute:4,second:5};var li={};function ci(e,t,n,r,o,i,a){var s=new Date(0);return s.setUTCFullYear(e,t,n),s.setUTCHours(r,o,i,a),s}var ui=36e5,di=6e4,pi={timezone:/([Z+-].*)$/,timezoneZ:/^(Z)$/,timezoneHH:/^([+-]\d{2})$/,timezoneHHMM:/^([+-])(\d{2}):?(\d{2})$/};function fi(e,t,n){var r,o,i;if(!e)return 0;if(r=pi.timezoneZ.exec(e))return 0;if(r=pi.timezoneHH.exec(e))return mi(i=parseInt(r[1],10))?-i*ui:NaN;if(r=pi.timezoneHHMM.exec(e)){i=parseInt(r[2],10);var a=parseInt(r[3],10);return mi(i,a)?(o=Math.abs(i)*ui+a*di,"+"===r[1]?-o:o):NaN}if(function(e){if(vi[e])return!0;try{return new Intl.DateTimeFormat(void 0,{timeZone:e}),vi[e]=!0,!0}catch(t){return!1}}(e)){t=new Date(t||Date.now());var s=n?t:function(e){return ci(e.getFullYear(),e.getMonth(),e.getDate(),e.getHours(),e.getMinutes(),e.getSeconds(),e.getMilliseconds())}(t),l=hi(s,e),c=n?l:function(e,t,n){var r=e.getTime(),o=r-t,i=hi(new Date(o),n);if(t===i)return t;o-=i-t;var a=hi(new Date(o),n);if(i===a)return i;return Math.max(i,a)}(t,l,e);return-c}return NaN}function hi(e,t){var n=ai(e,t),r=ci(n[0],n[1]-1,n[2],n[3]%24,n[4],n[5],0).getTime(),o=e.getTime(),i=o%1e3;return r-(o-=i>=0?i:1e3+i)}function mi(e,t){return-23<=e&&e<=23&&(null==t||0<=t&&t<=59)}var vi={};var gi=n(82084),yi=n(93561);const bi=/(Z|[+-]\d{2}(?::?\d{2})?| UTC| [a-zA-Z]+\/[a-zA-Z_]+(?:\/[a-zA-Z_]+)?)$/;var wi=36e5,xi=6e4,ki=2,Si={dateTimePattern:/^([0-9W+-]+)(T| )(.*)/,datePattern:/^([0-9W+-]+)(.*)/,plainTime:/:/,YY:/^(\d{2})$/,YYY:[/^([+-]\d{2})$/,/^([+-]\d{3})$/,/^([+-]\d{4})$/],YYYY:/^(\d{4})/,YYYYY:[/^([+-]\d{4})/,/^([+-]\d{5})/,/^([+-]\d{6})/],MM:/^-(\d{2})$/,DDD:/^-?(\d{3})$/,MMDD:/^-?(\d{2})-?(\d{2})$/,Www:/^-?W(\d{2})$/,WwwD:/^-?W(\d{2})-?(\d{1})$/,HH:/^(\d{2}([.,]\d*)?)$/,HHMM:/^(\d{2}):?(\d{2}([.,]\d*)?)$/,HHMMSS:/^(\d{2}):?(\d{2}):?(\d{2}([.,]\d*)?)$/,timeZone:bi};function Ci(e,t){if(arguments.length<1)throw new TypeError("1 argument required, but only "+arguments.length+" present");if(null===e)return new Date(NaN);var n=t||{},r=null==n.additionalDigits?ki:gi(n.additionalDigits);if(2!==r&&1!==r&&0!==r)throw new RangeError("additionalDigits must be 0, 1 or 2");if(e instanceof Date||"object"==typeof e&&"[object Date]"===Object.prototype.toString.call(e))return new Date(e.getTime());if("number"==typeof e||"[object Number]"===Object.prototype.toString.call(e))return new Date(e);if("string"!=typeof e&&"[object String]"!==Object.prototype.toString.call(e))return new Date(NaN);var o=function(e){var t,n={},r=Si.dateTimePattern.exec(e);r?(n.date=r[1],t=r[3]):(r=Si.datePattern.exec(e))?(n.date=r[1],t=r[2]):(n.date=null,t=e);if(t){var o=Si.timeZone.exec(t);o?(n.time=t.replace(o[1],""),n.timeZone=o[1].trim()):n.time=t}return n}(e),i=function(e,t){var n,r=Si.YYY[t],o=Si.YYYYY[t];if(n=Si.YYYY.exec(e)||o.exec(e)){var i=n[1];return{year:parseInt(i,10),restDateString:e.slice(i.length)}}if(n=Si.YY.exec(e)||r.exec(e)){var a=n[1];return{year:100*parseInt(a,10),restDateString:e.slice(a.length)}}return{year:null}}(o.date,r),a=i.year,s=function(e,t){if(null===t)return null;var n,r,o,i;if(0===e.length)return(r=new Date(0)).setUTCFullYear(t),r;if(n=Si.MM.exec(e))return r=new Date(0),Mi(t,o=parseInt(n[1],10)-1)?(r.setUTCFullYear(t,o),r):new Date(NaN);if(n=Si.DDD.exec(e)){r=new Date(0);var a=parseInt(n[1],10);return function(e,t){if(t<1)return!1;var n=$i(e);if(n&&t>366)return!1;if(!n&&t>365)return!1;return!0}(t,a)?(r.setUTCFullYear(t,0,a),r):new Date(NaN)}if(n=Si.MMDD.exec(e)){r=new Date(0),o=parseInt(n[1],10)-1;var s=parseInt(n[2],10);return Mi(t,o,s)?(r.setUTCFullYear(t,o,s),r):new Date(NaN)}if(n=Si.Www.exec(e))return Ai(t,i=parseInt(n[1],10)-1)?Ei(t,i):new Date(NaN);if(n=Si.WwwD.exec(e)){i=parseInt(n[1],10)-1;var l=parseInt(n[2],10)-1;return Ai(t,i,l)?Ei(t,i,l):new Date(NaN)}return null}(i.restDateString,a);if(isNaN(s))return new Date(NaN);if(s){var l,c=s.getTime(),u=0;if(o.time&&(u=function(e){var t,n,r;if(t=Si.HH.exec(e))return Di(n=parseFloat(t[1].replace(",",".")))?n%24*wi:NaN;if(t=Si.HHMM.exec(e))return Di(n=parseInt(t[1],10),r=parseFloat(t[2].replace(",",".")))?n%24*wi+r*xi:NaN;if(t=Si.HHMMSS.exec(e)){n=parseInt(t[1],10),r=parseInt(t[2],10);var o=parseFloat(t[3].replace(",","."));return Di(n,r,o)?n%24*wi+r*xi+1e3*o:NaN}return null}(o.time),isNaN(u)))return new Date(NaN);if(o.timeZone||n.timeZone){if(l=fi(o.timeZone||n.timeZone,new Date(c+u)),isNaN(l))return new Date(NaN)}else l=yi(new Date(c+u)),l=yi(new Date(c+u+l));return new Date(c+u+l)}return new Date(NaN)}function Ei(e,t,n){t=t||0,n=n||0;var r=new Date(0);r.setUTCFullYear(e,0,4);var o=7*t+n+1-(r.getUTCDay()||7);return r.setUTCDate(r.getUTCDate()+o),r}var Ti=[31,28,31,30,31,30,31,31,30,31,30,31],Oi=[31,29,31,30,31,30,31,31,30,31,30,31];function $i(e){return e%400==0||e%4==0&&e%100!=0}function Mi(e,t,n){if(t<0||t>11)return!1;if(null!=n){if(n<1)return!1;var r=$i(e);if(r&&n>Oi[t])return!1;if(!r&&n>Ti[t])return!1}return!0}function Ai(e,t,n){return!(t<0||t>52)&&(null==n||!(n<0||n>6))}function Di(e,t,n){return(null==e||!(e<0||e>=25))&&((null==t||!(t<0||t>=60))&&(null==n||!(n<0||n>=60)))}function Li(e,t,n){var r=Ci(e,n),o=fi(t,r,!0),i=new Date(r.getTime()-o),a=new Date(0);return a.setFullYear(i.getUTCFullYear(),i.getUTCMonth(),i.getUTCDate()),a.setHours(i.getUTCHours(),i.getUTCMinutes(),i.getUTCSeconds(),i.getUTCMilliseconds()),a}var Ni=function(e,t,n){var r,o=function(e){return e.replaceAll("Y","y").replaceAll("D","d")}(t+(n?" "+n:""));try{r=(0,ii.default)(Li(new Date(e),"UTC"),o)}catch(Yr){console.log("Failed to parse "+e+" to "+t+" type."),r="Invalid date or format"}return r},Ri=function(e,t,n){var r,o,i,a,s,l,c,u,d,p,f,h,m,v,g,y,b,w,x,k,S,C,E,T,O,$=e;if(!(null==t?void 0:t.type))return $;switch(t.type){case"currency":case"number":$=parseFloat(e).toFixed(null===(r=null==t?void 0:t.options)||void 0===r?void 0:r.precision);break;case"percent":$=(100*+e).toFixed(null===(o=null==t?void 0:t.options)||void 0===o?void 0:o.precision);break;case"formula":case"multipleLookupValues":case"rollup":var M="percent"===(null===(a=null===(i=null==t?void 0:t.options)||void 0===i?void 0:i.result)||void 0===a?void 0:a.type),A=void 0!==(null===(c=null===(l=null===(s=null==t?void 0:t.options)||void 0===s?void 0:s.result)||void 0===l?void 0:l.options)||void 0===c?void 0:c.precision);$=M?(100*+e).toFixed(null===(p=null===(d=null===(u=null==t?void 0:t.options)||void 0===u?void 0:u.result)||void 0===d?void 0:d.options)||void 0===p?void 0:p.precision):A?parseFloat(e).toFixed(null===(m=null===(h=null===(f=null==t?void 0:t.options)||void 0===f?void 0:f.result)||void 0===h?void 0:h.options)||void 0===m?void 0:m.precision):e;break;case"date":case"dateTime":n||($=Ni(e,null===(g=null===(v=null==t?void 0:t.options)||void 0===v?void 0:v.dateFormat)||void 0===g?void 0:g.format,null===(b=null===(y=null==t?void 0:t.options)||void 0===y?void 0:y.timeFormat)||void 0===b?void 0:b.format));break;case"createdTime":case"lastModifiedTime":n||($=Ni(e,null===(S=null===(k=null===(x=null===(w=null==t?void 0:t.options)||void 0===w?void 0:w.result)||void 0===x?void 0:x.options)||void 0===k?void 0:k.dateFormat)||void 0===S?void 0:S.format,null===(O=null===(T=null===(E=null===(C=null==t?void 0:t.options)||void 0===C?void 0:C.result)||void 0===E?void 0:E.options)||void 0===T?void 0:T.timeFormat)||void 0===O?void 0:O.format))}var D=(null==$?void 0:$.length)?null==$?void 0:$.charAt(0):null,L=(null==$?void 0:$.length)?null==$?void 0:$.charAt((null==e?void 0:e.length)-1):null;return"["===D&&"]"===L&&($=$.substring(1,e.length-1)),$},Ii=function(){var e=function(t,n){return e=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,n)};return function(t,n){if("function"!=typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),Pi=function(){return Pi=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},Pi.apply(this,arguments)},Zi=function(e,t,n,r){return new(n||(n=Promise))((function(o,i){function a(e){try{l(r.next(e))}catch(Yr){i(Yr)}}function s(e){try{l(r.throw(e))}catch(Yr){i(Yr)}}function l(e){var t;e.done?o(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())}))},_i=function(e,t){var n,r,o,i,a={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return i={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function s(s){return function(l){return function(s){if(n)throw new TypeError("Generator is already executing.");for(;i&&(i=0,s[0]&&(a=0)),a;)try{if(n=1,r&&(o=2&s[0]?r.return:s[0]?r.throw||((o=r.return)&&o.call(r),0):r.next)&&!(o=o.call(r,s[1])).done)return o;switch(r=0,o&&(s=[2&s[0],o.value]),s[0]){case 0:case 1:o=s;break;case 4:return a.label++,{value:s[1],done:!1};case 5:a.label++,r=s[1],s=[0];continue;case 7:s=a.ops.pop(),a.trys.pop();continue;default:if(!(o=a.trys,(o=o.length>0&&o[o.length-1])||6!==s[0]&&2!==s[0])){a=0;continue}if(3===s[0]&&(!o||s[1]>o[0]&&s[1]<o[3])){a.label=s[1];break}if(6===s[0]&&a.label<o[1]){a.label=o[1],o=s;break}if(o&&a.label<o[2]){a.label=o[2],a.ops.push(s);break}o[2]&&a.ops.pop(),a.trys.pop();continue}s=t.call(e,a)}catch(Yr){s=[6,Yr],r=0}finally{n=o=0}if(5&s[0])throw s[1];return{value:s[0]?s[1]:void 0,done:!0}}([s,l])}}},Fi=function(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 o=0;for(r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]])}return n},ji=function(e,t){var n="function"==typeof Symbol&&e[Symbol.iterator];if(!n)return e;var r,o,i=n.call(e),a=[];try{for(;(void 0===t||t-- >0)&&!(r=i.next()).done;)a.push(r.value)}catch(s){o={error:s}}finally{try{r&&!r.done&&(n=i.return)&&n.call(i)}finally{if(o)throw o.error}}return a},Bi=function(e,t,n){if(n||2===arguments.length)for(var r,o=0,i=t.length;o<i;o++)!r&&o in t||(r||(r=Array.prototype.slice.call(t,0,o)),r[o]=t[o]);return e.concat(r||Array.prototype.slice.call(t))},zi=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return Ii(t,e),t.prototype.getBaseUrl=function(){return"".concat(this.getDataSourceServiceUrl(),"/v1/datasource/airtable/").concat(this.applicationId,"/").concat(this.pageId,"/").concat(this.blockId,"/").concat(this.dataSourceId)},t.prototype.addRecord=function(e,t){var n=this;return new Promise((function(r,o){var i="".concat(n.getBaseUrl(),"/data/new");pt().post(i,{fields:e,context:null==t?void 0:t.context},{headers:{"Content-Type":"application/json"},withCredentials:!0}).then((function(e){r(e)})).catch((function(e){var t=(e||{}).response,n=(void 0===t?{}:t).data,r=void 0===n?{}:n,i=r.message,a=void 0===i?"":i,s=r.error,l=void 0===s?"":s;l.startsWith("SE-")?o({message:a}):o({message:l||a})}))}))},t.prototype.updateRecord=function(e,t,n){var r=this;return new Promise((function(o,i){var a="".concat(r.getBaseUrl(),"/data/").concat(e);pt().patch(a,{fields:t,typecast:null==n?void 0:n.typecast,context:null==n?void 0:n.context},{headers:{"Content-Type":"application/json"},withCredentials:!0}).then((function(e){o(e)})).catch((function(e){var t=(e||{}).response,n=(void 0===t?{}:t).data,r=void 0===n?{}:n,o=r.message,a=void 0===o?"":o,s=r.error,l=void 0===s?"":s;l.startsWith("SE-")?i({message:a}):i({message:l||a})}))}))},t.prototype.getRecord=function(e,t){var n=this;void 0===t&&(t={});var r=t||{},o=r.asString,i=void 0===o||o,a=Fi(r,["asString"]),s=e||qo();return new Promise((function(e,t){var r={recordId:s},o={perPage:!r.recordId&&Yo()?10:1};n.getRecords({pagination:o,filters:r,asString:i},a).then((function(t){var n=t.records;(null==n?void 0:n.length)&&(null==n?void 0:n.length)>1?e(Qo(n)):e((null==n?void 0:n[0])||{})})).catch((function(e){t(e)}))}))},t.prototype.getRecords=function(e,t){var n=this,r=e.sorting,o=void 0===r?[]:r,i=e.search,a=void 0===i?"":i,s=e.pagination,l=void 0===s?{}:s,c=e.inlineFilters,u=void 0===c?[]:c,d=e.filters,p=void 0===d?{}:d,f=e.asString,h=void 0===f||f,m=Pi({},l);return new Promise((function(e,r){var i=!m.perPage||m.perPage>100,s=m.perPage&&m.perPage<1e4?m.perPage:Yo()?100:15e3;i&&(m.perPage=100);var l=function(c,d){void 0===d&&(d=[]);var f="".concat(n.getBaseUrl(),"/data"),v={options:{cellFormat:h?"string":"json",timeZone:Intl.DateTimeFormat().resolvedOptions().timeZone,userLocale:"en-US"},pageContext:c?{context:c}:null,filterCriteria:{}};!Yo()&&p.recordId?f="".concat(f,"/").concat(p.recordId):v.pagingOption={offset:m.offset||null,count:m.perPage||100},(null==o?void 0:o.length)&&(v.sortingOption={sortingField:o[0].field,sortType:o[0].direction.toUpperCase()});var g=[];a&&g.push(n.getFilterConditionGroupForSearch(p.searchOptions,a)),u.length&&u.forEach((function(e){var t=e.filter,r=e.value;g.push(n.getFilterConditionGroup(t,r))})),g.length&&(v.filterCriteria.filterConditionGroup={logicalOperator:"AND",filterGroups:g}),pt().post(f,v,Pi({headers:{"Content-Type":"application/json"},withCredentials:!0},t)).catch((function(e){var t,n,o,i,a,s,l,c,u,d,p,f,h=Ur;(null===(n=null===(t=null==e?void 0:e.response)||void 0===t?void 0:t.data)||void 0===n?void 0:n.message)&&(h=null===(i=null===(o=null==e?void 0:e.response)||void 0===o?void 0:o.data)||void 0===i?void 0:i.message);var m="",v="",g=(null===(s=null===(a=null==e?void 0:e.response)||void 0===a?void 0:a.data)||void 0===s?void 0:s.payload)&&JSON.parse(null===(c=null===(l=null==e?void 0:e.response)||void 0===l?void 0:l.data)||void 0===c?void 0:c.payload);g?(m=g.error||"",v=g.detail||""):(m=(null===(d=null===(u=null==e?void 0:e.response)||void 0===u?void 0:u.data)||void 0===d?void 0:d.error)||"",v=(null===(f=null===(p=null==e?void 0:e.response)||void 0===p?void 0:p.data)||void 0===f?void 0:f.detail)||""),Yo()&&m.includes("SE-")?window.parent.postMessage({error:m,detail:v},"*"):r({type:"error",message:h})})).then((function(t){var n=Bi(Bi([],ji(d),!1),ji((null==t?void 0:t.data.records)||[]),!1),r=null==t?void 0:t.data.offset;i&&r&&n.length<s?(m.offset=r,l(c,n)):e({records:n,offset:r})}))};n.isLinkedList?Jo().then(l).catch((function(){r({type:"error",reason:"linked_list_not_found",message:Vr})})):l()}))},t.prototype.deleteRecord=function(e){var t=this;return new Promise((function(n,r){var o="".concat(t.getBaseUrl(),"/data/").concat(e);pt().delete(o,{headers:{"Content-Type":"application/json"},withCredentials:!0}).then((function(){n(!0)})).catch((function(e){var t=(e||{}).response,n=(void 0===t?{}:t).data,o=void 0===n?{}:n,i=o.message,a=void 0===i?"":i,s=o.error,l=void 0===s?"":s;l.startsWith("SE-")?r({message:a}):r({message:l||a})}))}))},t.prototype.getMetadata=function(e){var t=this;return new Promise((function(n,r){var o="".concat(t.getBaseUrl(),"/metadata");pt().get(o,{headers:{"Content-Type":"application/json"},withCredentials:!0,signal:null==e?void 0:e.signal}).catch((function(){r("Failed to get datasource metadata.")})).then((function(e){n((null==e?void 0:e.data)||{})}))}))},t.prototype.getLinkedRecordValues=function(e,t){var n=this;return new Promise((function(r,o){var i=t||{},a=i.search,s=void 0===a?"":a,l=i.sortType,c=void 0===l?"ASC":l,u=i.pagination,d=void 0===u?{}:u,p="".concat(n.getBaseUrl(),"/data/linked?fieldName=").concat(e,"&search=").concat(s),f={sortingOption:{sortType:c},pagingOption:{offset:d.offset||null,count:d.perPage||100}};pt().post(p,f,{headers:{"Content-Type":"application/json"},withCredentials:!0,signal:null==t?void 0:t.signal}).catch((function(e){o(e)})).then((function(e){var t=(null==e?void 0:e.data.records)||[];r({values:t.map((function(e){var t=e||{},n=t.id,r=t.fields;return r&&Object.values(r).some((function(e){return null==e?void 0:e.error}))&&Object.keys(r).forEach((function(e){var t;(null===(t=r[e])||void 0===t?void 0:t.error)&&(r[e]=r[e].error)})),{id:n,label:Object.values(r||{}).pop()||""}})),offset:null==e?void 0:e.data.offset})}))}))},t.prototype.getChartData=function(e){var t=this,n=e.xAxisField,r=e.yAxisField,o=e.sorting,i=e.paging,a=e.groupByField,s=e.signal,l=e.isRefresh;return new Promise((function(e,c){var u=1e3*(Yo()?1.5:3),d=t.chartPollingLimit/u,p=0,f=function(s,h,m){void 0===m&&(m=""),(null==m?void 0:m.length)&&(l=!1);var v="".concat(t.getDataSourceServiceUrl(),"/v1/datasource/airtable/chart/").concat(t.applicationId,"/").concat(t.pageId,"/").concat(t.blockId,"/").concat(t.dataSourceId,"/").concat(l?"refreshData":"data"),g={options:{cellFormat:"json",timeZone:Intl.DateTimeFormat().resolvedOptions().timeZone,userLocale:"en-US"},xAxisField:n,yAxisFields:r,groupByField:a};g.pageContext=h?{context:h}:null,(null==o?void 0:o.length)&&(g.sortingOption={sortingField:o[0].field,sortType:o[0].direction.toUpperCase()}),i&&(g.pagingOption={start:0,count:i.perPage}),p++;var y=pt().CancelToken.source();s&&s.addEventListener("abort",(function(){y.cancel("Request aborted")})),(null==s?void 0:s.aborted)||pt().post(v,g,{headers:{"Content-Type":"application/json"},withCredentials:!0,params:{executionKey:m},cancelToken:y.token}).then((function(n){return Zi(t,void 0,void 0,(function(){var t,r,o,i,a,l;return _i(this,(function(m){switch(m.label){case 0:return p>=d&&"PENDING"===(null===(t=null==n?void 0:n.data)||void 0===t?void 0:t.status)?(c({type:"error",message:Wr}),[2]):"FAILED"===(null===(r=null==n?void 0:n.data)||void 0===r?void 0:r.status)?(c({type:"error",message:null===(o=null==n?void 0:n.data)||void 0===o?void 0:o.message}),[2]):"PENDING"!==(null===(i=null==n?void 0:n.data)||void 0===i?void 0:i.status)?[3,2]:[4,new Promise((function(e){return setTimeout(e,u)}))];case 1:return m.sent(),[2,f(s,h,null==n?void 0:n.data.executionKey)];case 2:return e({records:(null===(a=null==n?void 0:n.data)||void 0===a?void 0:a.data)||[],timestamp:null===(l=null==n?void 0:n.data)||void 0===l?void 0:l.executionTimestamp}),[2]}}))}))})).catch((function(e){var t,n,r,o;if(!pt().isCancel(e)){var i=Ur;(null===(n=null===(t=null==e?void 0:e.response)||void 0===t?void 0:t.data)||void 0===n?void 0:n.message)&&(i=null===(o=null===(r=null==e?void 0:e.response)||void 0===r?void 0:r.data)||void 0===o?void 0:o.message),c({type:"error",message:i})}}))};t.isLinkedList?Jo().then((function(e){return f(s,e)})).catch((function(){c({type:"error",message:Vr})})):f(s)}))},t.prototype.invalidateChartCache=function(){var e="".concat(this.getDataSourceServiceUrl(),"/v1/datasource/airtable/chart/").concat(this.applicationId,"/").concat(this.pageId,"/").concat(this.blockId,"/").concat(this.dataSourceId,"/invalidate-cache");return pt().post(e)},t.prototype.applyMetadata=function(e,t,n){var r,o={};return null===(r=null==t?void 0:t.fields)||void 0===r||r.forEach((function(e){o[e.name]=e})),null==e||e.forEach((function(e){!function(e,t,n){if(!e)return e;if(!t)return e;for(var r in e)e.hasOwnProperty(r)&&(e[r]=Ri(e[r],t[r],n))}(e,o,n)})),e},t.prototype.checkSelectFieldsContainingSpaces=function(e,t,n,r){var o=[],i=r===Br.SINGLE_SELECT?"single select":"multiple select";(null==e||e.forEach((function(e){if(e!==(null==e?void 0:e.trim())){var t="Your ".concat(i," ").concat(n," field in inline-filters contains values with spaces ").concat(e,". Please edit the field and remove the extra spaces.");console.warn(t),o.push(e)}})),null==o?void 0:o.length)&&t({message:"Your ".concat(i," ").concat(n," field in inline-filters contains values with spaces ").concat(o.slice(0,5).join(","),". Please edit the field and remove the extra spaces."),title:"WARNING"})},t.prototype.generateAttachmentURL=function(e){return""},t.prototype.upvote=function(e){var t="".concat(this.getBaseUrl(),"/data/").concat(e.context.id,"/upvote");return pt().post(t,{field:e.context.mappedTo,id:e.context.id},{withCredentials:!0})},t.prototype.getFilterConditionGroupForSearch=function(e,t){void 0===e&&(e={}),void 0===t&&(t="");var n=e.fields;return{logicalOperator:"OR",filters:(void 0===n?[]:n).map((function(e){return{subject:e,operator:"CONTAINS",value:t}}))}},t.recordQueriesDependOnMetadata=!1,t}(oi);const Hi=zi;var Ui=function(){var e=function(t,n){return e=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,n)};return function(t,n){if("function"!=typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),Wi=function(){return Wi=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},Wi.apply(this,arguments)},Vi=function(e,t,n,r){return new(n||(n=Promise))((function(o,i){function a(e){try{l(r.next(e))}catch(Yr){i(Yr)}}function s(e){try{l(r.throw(e))}catch(Yr){i(Yr)}}function l(e){var t;e.done?o(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())}))},qi=function(e,t){var n,r,o,i,a={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return i={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function s(s){return function(l){return function(s){if(n)throw new TypeError("Generator is already executing.");for(;i&&(i=0,s[0]&&(a=0)),a;)try{if(n=1,r&&(o=2&s[0]?r.return:s[0]?r.throw||((o=r.return)&&o.call(r),0):r.next)&&!(o=o.call(r,s[1])).done)return o;switch(r=0,o&&(s=[2&s[0],o.value]),s[0]){case 0:case 1:o=s;break;case 4:return a.label++,{value:s[1],done:!1};case 5:a.label++,r=s[1],s=[0];continue;case 7:s=a.ops.pop(),a.trys.pop();continue;default:if(!(o=a.trys,(o=o.length>0&&o[o.length-1])||6!==s[0]&&2!==s[0])){a=0;continue}if(3===s[0]&&(!o||s[1]>o[0]&&s[1]<o[3])){a.label=s[1];break}if(6===s[0]&&a.label<o[1]){a.label=o[1],o=s;break}if(o&&a.label<o[2]){a.label=o[2],a.ops.push(s);break}o[2]&&a.ops.pop(),a.trys.pop();continue}s=t.call(e,a)}catch(Yr){s=[6,Yr],r=0}finally{n=o=0}if(5&s[0])throw s[1];return{value:s[0]?s[1]:void 0,done:!0}}([s,l])}}},Gi=function(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 o=0;for(r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]])}return n},Ki=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return Ui(t,e),t.prototype.getBaseUrl=function(){return"".concat(this.getDataSourceServiceUrl(),"/v1/datasource/google-sheet/").concat(this.applicationId,"/").concat(this.pageId,"/").concat(this.blockId,"/").concat(this.dataSourceId)},t.prototype.addRecord=function(e,t){var n=this;return new Promise((function(r,o){var i="".concat(n.getBaseUrl(),"/data");pt().put(i,{data:e,context:null==t?void 0:t.context},{headers:{"Content-Type":"application/json"},withCredentials:!0}).then((function(e){r(e)})).catch((function(e){var t=(e||{}).response,n=(void 0===t?{}:t).data,r=void 0===n?{}:n,i=r.message,a=void 0===i?"":i,s=r.error,l=void 0===s?"":s;l.startsWith("SE-")?o({message:a}):o({message:l||a})}))}))},t.prototype.updateRecord=function(e,t,n){var r=this;return new Promise((function(o,i){var a="".concat(r.getBaseUrl(),"/data/").concat(e);pt().patch(a,{fields:t,context:null==n?void 0:n.context},{headers:{"Content-Type":"application/json"},withCredentials:!0}).then((function(e){o(e)})).catch((function(e){var t=(e||{}).response,n=(void 0===t?{}:t).data,r=void 0===n?{}:n,o=r.message,a=void 0===o?"":o,s=r.error,l=void 0===s?"":s;l.startsWith("SE-")?i({message:a}):i({message:l||a})}))}))},t.prototype.getRecord=function(e,t){var n=this;void 0===t&&(t={});t.asString;var r=Gi(t,["asString"]),o=e||qo();return new Promise((function(e,t){var i={recordId:o};n.getRecords({pagination:{perPage:1},filters:i},r).then((function(t){var n=t.records;e((null==n?void 0:n[0])||{})})).catch((function(e){t(e)}))}))},t.prototype.getRecords=function(e,t){var n=this;void 0===t&&(t={});var r=e.sorting,o=void 0===r?[]:r,i=e.search,a=void 0===i?"":i,s=e.pagination,l=void 0===s?{}:s,c=e.inlineFilters,u=void 0===c?[]:c,d=e.filters,p=void 0===d?{}:d;return new Promise((function(e,r){var i=function(i){var s="".concat(n.getBaseUrl(),"/data"),c={pageContext:i?{context:i}:null,filterCriteria:{}};!Yo()&&p.recordId?s="".concat(s,"/").concat(p.recordId):c.pagingOption={start:l.offset||0,count:l.perPage||1e5},(null==o?void 0:o.length)&&(c.sortingOption={sortingField:o[0].field,sortType:o[0].direction.toUpperCase()});var d=[];a&&d.push(n.getFilterConditionGroupForSearch(p.searchOptions,a)),u.length&&u.forEach((function(e){var t=e.filter,r=e.value;d.push(n.getFilterConditionGroup(t,r))})),d.length&&(c.filterCriteria.filterConditionGroup={logicalOperator:"AND",filterGroups:d}),pt().post(s,c,Wi({headers:{"Content-Type":"application/json"},withCredentials:!0},t)).catch((function(e){var t,n,o,i,a,s,l,c,u,d,p,f,h=Ur;(null===(n=null===(t=null==e?void 0:e.response)||void 0===t?void 0:t.data)||void 0===n?void 0:n.message)&&(h=null===(i=null===(o=null==e?void 0:e.response)||void 0===o?void 0:o.data)||void 0===i?void 0:i.message);var m="",v="",g=(null===(s=null===(a=null==e?void 0:e.response)||void 0===a?void 0:a.data)||void 0===s?void 0:s.payload)&&JSON.parse(null===(c=null===(l=null==e?void 0:e.response)||void 0===l?void 0:l.data)||void 0===c?void 0:c.payload);g?(m=g.error||"",v=g.detail||""):(m=(null===(d=null===(u=null==e?void 0:e.response)||void 0===u?void 0:u.data)||void 0===d?void 0:d.error)||"",v=(null===(f=null===(p=null==e?void 0:e.response)||void 0===p?void 0:p.data)||void 0===f?void 0:f.detail)||""),Yo()&&m.includes("SE-")?window.parent.postMessage({error:m,detail:v},"*"):r({type:"error",message:h})})).then((function(t){var n=(null==t?void 0:t.data.records)||[];Yo()&&n&&n.length&&(n=n.map((function(e,t){return Wi(Wi({},e),{id:e.id||String(t+1)})})));var r=Number(l.offset)||0,o=l.perPage||1e5,i=(null==t?void 0:t.data.totalCount)||0;e({records:n,totalCount:i,offset:r+o<i?r+o:void 0})}))};n.isLinkedList?Jo().then(i).catch((function(){r({type:"error",reason:"linked_list_not_found",message:Vr})})):i()}))},t.prototype.deleteRecord=function(e){var t=this;return new Promise((function(n,r){var o="".concat(t.getBaseUrl(),"/data/").concat(e);pt().delete(o,{headers:{"Content-Type":"application/json"},withCredentials:!0}).then((function(){n(!0)})).catch((function(e){var t=(e||{}).response,n=(void 0===t?{}:t).data,o=void 0===n?{}:n,i=o.message,a=void 0===i?"":i,s=o.error,l=void 0===s?"":s;l.startsWith("SE-")?r({message:a}):r({message:l||a})}))}))},t.prototype.getMetadata=function(){return Promise.resolve({fields:[]})},t.prototype.getLinkedRecordValues=function(){return Promise.resolve({values:[],offset:null})},t.prototype.getChartData=function(e){var t=this,n=e.xAxisField,r=e.yAxisField,o=e.sorting,i=e.paging,a=e.groupByField,s=e.signal,l=e.isRefresh;return new Promise((function(e,c){var u=1e3*(Yo()?1.5:3),d=t.chartPollingLimit/u,p=0,f=function(s,h,m){void 0===m&&(m=""),(null==m?void 0:m.length)&&(l=!1);var v="".concat(t.getDataSourceServiceUrl(),"/v1/datasource/google-sheet/chart/").concat(t.applicationId,"/").concat(t.pageId,"/").concat(t.blockId,"/").concat(t.dataSourceId,"/").concat(l?"refreshData":"data"),g={options:{cellFormat:"json"},xAxisField:n,yAxisFields:r,groupByField:a};g.pageContext=h?{context:h}:null,(null==o?void 0:o.length)&&(g.sortingOption={sortingField:o[0].field,sortType:o[0].direction.toUpperCase()}),i&&(g.pagingOption={start:0,count:i.perPage}),p++;var y=pt().CancelToken.source();s&&s.addEventListener("abort",(function(){y.cancel("Request aborted")})),(null==s?void 0:s.aborted)||pt().post(v,g,{headers:{"Content-Type":"application/json"},withCredentials:!0,params:{executionKey:m},cancelToken:y.token}).then((function(n){return Vi(t,void 0,void 0,(function(){var t,r,o,i,a,l;return qi(this,(function(m){switch(m.label){case 0:return p>=d&&"PENDING"===(null===(t=null==n?void 0:n.data)||void 0===t?void 0:t.status)?(c({type:"error",message:Wr}),[2]):"FAILED"===(null===(r=null==n?void 0:n.data)||void 0===r?void 0:r.status)?(c({type:"error",message:null===(o=null==n?void 0:n.data)||void 0===o?void 0:o.message}),[2]):"PENDING"!==(null===(i=null==n?void 0:n.data)||void 0===i?void 0:i.status)?[3,2]:[4,new Promise((function(e){return setTimeout(e,u)}))];case 1:return m.sent(),[2,f(s,h,null==n?void 0:n.data.executionKey)];case 2:return e({records:(null===(a=null==n?void 0:n.data)||void 0===a?void 0:a.data)||[],timestamp:null===(l=null==n?void 0:n.data)||void 0===l?void 0:l.executionTimestamp}),[2]}}))}))})).catch((function(e){var t,n,r,o;if(!pt().isCancel(e)){var i=Ur;(null===(n=null===(t=null==e?void 0:e.response)||void 0===t?void 0:t.data)||void 0===n?void 0:n.message)&&(i=null===(o=null===(r=null==e?void 0:e.response)||void 0===r?void 0:r.data)||void 0===o?void 0:o.message),c({type:"error",message:i})}}))};t.isLinkedList?Jo().then((function(e){return f(s,e)})).catch((function(){c({type:"error",message:Vr})})):f(s)}))},t.prototype.invalidateChartCache=function(){var e="".concat(this.getDataSourceServiceUrl(),"/v1/datasource/google-sheet/chart/").concat(this.applicationId,"/").concat(this.pageId,"/").concat(this.blockId,"/").concat(this.dataSourceId,"/invalidate-cache");return pt().post(e)},t.prototype.applyMetadata=function(e,t,n){return e},t.prototype.checkSelectFieldsContainingSpaces=function(e,t,n,r){},t.prototype.generateAttachmentURL=function(e){return""},t.prototype.upvote=function(e){var t="".concat(this.getBaseUrl(),"/data/").concat(e.context.id,"/").concat(e.context.mappedTo,"/upvote");return pt().post(t,{},{withCredentials:!0})},t.prototype.getFilterConditionGroupForSearch=function(e,t){void 0===e&&(e={}),void 0===t&&(t="");var n=e.fields;return{logicalOperator:"OR",filters:(void 0===n?[]:n).map((function(e){return{subject:e,operator:"CONTAINS",value:t}}))}},t.recordQueriesDependOnMetadata=!1,t}(ri);const Yi=Ki;var Xi=function(e,t){if(!e||!t)return e;for(var n in e)e.hasOwnProperty(n)&&(e[n]=Ji(e[n],t[n]));return e},Ji=function(e,t){var n,r,o,i,a,s,l=e;if(!(null==t?void 0:t.type))return l;switch(t.type){case"currency":case"number":l=parseFloat(e).toFixed(null===(n=null==t?void 0:t.options)||void 0===n?void 0:n.precision);break;case"percent":l=(100*+e).toFixed(null===(r=null==t?void 0:t.options)||void 0===r?void 0:r.precision);break;case"date":case"dateTime":l=Ni(e,null===(i=null===(o=null==t?void 0:t.options)||void 0===o?void 0:o.dateFormat)||void 0===i?void 0:i.format,null===(s=null===(a=null==t?void 0:t.options)||void 0===a?void 0:a.timeFormat)||void 0===s?void 0:s.format)}var c=(null==l?void 0:l.length)?null==l?void 0:l.charAt(0):null,u=(null==l?void 0:l.length)?null==l?void 0:l.charAt((null==e?void 0:e.length)-1):null;return"["===c&&"]"===u&&(l=l.substring(1,e.length-1)),l};function Qi(e){return e instanceof Date&&!isNaN(e)}var ea=function(e){var t=e.length?e.split(/,(?=(?:[^"]*"[^"]*")*[^"]*$)(?!\d)/g):[];return t=t.map((function(e){return(e=e.trim()).startsWith('"""')&&e.endsWith('"""')?e=e.substring(2,e.length-2):e.startsWith('"')&&e.endsWith('"')&&(e=e.substring(1,e.length-1)),e=e.replace(/""/g,'"')}))};function ta(e){var t,n;if(Array.isArray(e))return e.flatMap((function(e){return ta(e)}));if((null==e?void 0:e.date)||(null===(t=null==e?void 0:e.to_date)||void 0===t?void 0:t.date)||(null==e?void 0:e.on)){var r=na(e.date||(null===(n=e.to_date)||void 0===n?void 0:n.date)||e.on);return Qi(new Date(r))?r:""}return(null==e?void 0:e.label)||(null==e?void 0:e.title)||(null==e?void 0:e.html)||(null==e?void 0:e.value)||(null==e?void 0:e.toString())||""}function na(e,t){return(0,ii.default)(Li(new Date(e),"UTC"),"MMMM d, yyyy HH:mm")}var ra=function(e,t){var n="function"==typeof Symbol&&e[Symbol.iterator];if(!n)return e;var r,o,i=n.call(e),a=[];try{for(;(void 0===t||t-- >0)&&!(r=i.next()).done;)a.push(r.value)}catch(s){o={error:s}}finally{try{r&&!r.done&&(n=i.return)&&n.call(i)}finally{if(o)throw o.error}}return a},oa=function(e,t,n){if(n||2===arguments.length)for(var r,o=0,i=t.length;o<i;o++)!r&&o in t||(r||(r=Array.prototype.slice.call(t,0,o)),r[o]=t[o]);return e.concat(r||Array.prototype.slice.call(t))},ia=function(e){return e.reduce((function(e,t){return Array.isArray(t)?e.push.apply(e,oa([],ra(ia(t)),!1)):"string"==typeof t&&e.push({filename:null==t?void 0:t.trim(),url:null==t?void 0:t.trim()}),e}),[])};var aa=function(e,t){return e.reduce((function(e,n){return Array.isArray(n)?e.push.apply(e,oa([],ra(aa(n,t)),!1)):"object"==typeof n&&((null==n?void 0:n.url)||(null==n?void 0:n.handle))&&e.push(function(e,t){var n,r,o=null==e?void 0:e.url;return!o&&(null==e?void 0:e.handle)&&(o=(null==t?void 0:t.generateAttachmentURL(null==e?void 0:e.handle))||""),{filename:null===(r=null===(n=null==e?void 0:e.metadata)||void 0===n?void 0:n.filename)||void 0===r?void 0:r.trim(),url:(null==o?void 0:o.trim())||"",file:e}}(n,t)),e}),[])},sa=n(36948),la=n(13882),ca=n(83946);function ua(e,t){var n;(0,la.Z)(1,arguments);var r=(0,ca.Z)(null!==(n=null==t?void 0:t.additionalDigits)&&void 0!==n?n:2);if(2!==r&&1!==r&&0!==r)throw new RangeError("additionalDigits must be 0, 1 or 2");if("string"!=typeof e&&"[object String]"!==Object.prototype.toString.call(e))return new Date(NaN);var o,i=function(e){var t,n={},r=e.split(da.dateTimeDelimiter);if(r.length>2)return n;/:/.test(r[0])?t=r[0]:(n.date=r[0],t=r[1],da.timeZoneDelimiter.test(n.date)&&(n.date=e.split(da.timeZoneDelimiter)[0],t=e.substr(n.date.length,e.length)));if(t){var o=da.timezone.exec(t);o?(n.time=t.replace(o[1],""),n.timezone=o[1]):n.time=t}return n}(e);if(i.date){var a=function(e,t){var n=new RegExp("^(?:(\\d{4}|[+-]\\d{"+(4+t)+"})|(\\d{2}|[+-]\\d{"+(2+t)+"})$)"),r=e.match(n);if(!r)return{year:NaN,restDateString:""};var o=r[1]?parseInt(r[1]):null,i=r[2]?parseInt(r[2]):null;return{year:null===i?o:100*i,restDateString:e.slice((r[1]||r[2]).length)}}(i.date,r);o=function(e,t){if(null===t)return new Date(NaN);var n=e.match(pa);if(!n)return new Date(NaN);var r=!!n[4],o=ma(n[1]),i=ma(n[2])-1,a=ma(n[3]),s=ma(n[4]),l=ma(n[5])-1;if(r)return function(e,t,n){return t>=1&&t<=53&&n>=0&&n<=6}(0,s,l)?function(e,t,n){var r=new Date(0);r.setUTCFullYear(e,0,4);var o=r.getUTCDay()||7,i=7*(t-1)+n+1-o;return r.setUTCDate(r.getUTCDate()+i),r}(t,s,l):new Date(NaN);var c=new Date(0);return function(e,t,n){return t>=0&&t<=11&&n>=1&&n<=(ga[t]||(ya(e)?29:28))}(t,i,a)&&function(e,t){return t>=1&&t<=(ya(e)?366:365)}(t,o)?(c.setUTCFullYear(t,i,Math.max(o,a)),c):new Date(NaN)}(a.restDateString,a.year)}if(!o||isNaN(o.getTime()))return new Date(NaN);var s,l=o.getTime(),c=0;if(i.time&&(c=function(e){var t=e.match(fa);if(!t)return NaN;var n=va(t[1]),r=va(t[2]),o=va(t[3]);if(!function(e,t,n){if(24===e)return 0===t&&0===n;return n>=0&&n<60&&t>=0&&t<60&&e>=0&&e<25}(n,r,o))return NaN;return n*sa.vh+r*sa.yJ+1e3*o}(i.time),isNaN(c)))return new Date(NaN);if(!i.timezone){var u=new Date(l+c),d=new Date(0);return d.setFullYear(u.getUTCFullYear(),u.getUTCMonth(),u.getUTCDate()),d.setHours(u.getUTCHours(),u.getUTCMinutes(),u.getUTCSeconds(),u.getUTCMilliseconds()),d}return s=function(e){if("Z"===e)return 0;var t=e.match(ha);if(!t)return 0;var n="+"===t[1]?-1:1,r=parseInt(t[2]),o=t[3]&&parseInt(t[3])||0;if(!function(e,t){return t>=0&&t<=59}(0,o))return NaN;return n*(r*sa.vh+o*sa.yJ)}(i.timezone),isNaN(s)?new Date(NaN):new Date(l+c+s)}var da={dateTimeDelimiter:/[T ]/,timeZoneDelimiter:/[Z ]/i,timezone:/([Z+-].*)$/},pa=/^-?(?:(\d{3})|(\d{2})(?:-?(\d{2}))?|W(\d{2})(?:-?(\d{1}))?|)$/,fa=/^(\d{2}(?:[.,]\d*)?)(?::?(\d{2}(?:[.,]\d*)?))?(?::?(\d{2}(?:[.,]\d*)?))?$/,ha=/^([+-])(\d{2})(?::?(\d{2}))?$/;function ma(e){return e?parseInt(e):1}function va(e){return e&&parseFloat(e.replace(",","."))||0}var ga=[31,null,31,30,31,30,31,31,30,31,30,31];function ya(e){return e%400==0||e%4==0&&e%100!=0}var ba=n(46420);function wa(e,t,n){if("string"==typeof e&&!e.match(bi)){var r=ba(n);return r.timeZone=t,Ci(e,r)}var o=Ci(e,n),i=ci(o.getFullYear(),o.getMonth(),o.getDate(),o.getHours(),o.getMinutes(),o.getSeconds(),o.getMilliseconds()).getTime(),a=fi(t,new Date(i));return new Date(i+a)}function xa(e,t,n,r){if(!e)return"";var o=function(e,t){var n=ua("".concat(e," ").concat(t,"Z")),r=Li(n,"utc");return(0,ii.default)(r,"yyyy-MM-dd HH:mm")}(e,t),i=function(e,t,n){var r=t===cs.AIRTABLE&&"client"===(null==n?void 0:n.timeZone);if(r){return wa(e,Intl.DateTimeFormat().resolvedOptions().timeZone)}return wa(e,"UTC")}(o,n,r);return function(e){return(0,ii.default)(Li(e,"GMT"),"yyyy-MM-dd HH:mm")}(i)}function ka(e,t,n){var r="UTC",o=ua("".concat(e,"Z"));switch(t){case cs.SMARTSUITE:case cs.HUBSPOT:case cs.GOOGLE_SHEET:case cs.GOOGLE_BIGQUERY:break;case cs.AIRTABLE:r="client"===(null==n?void 0:n.timeZone)?Intl.DateTimeFormat().resolvedOptions().timeZone:(null==n?void 0:n.timeZone)||"UTC"}var i=Li(o,r);return(0,ii.default)(i,"yyyy-MM-dd HH:mm")}var Sa,Ca=n(12274),Ea=function(){return Ea=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},Ea.apply(this,arguments)},Ta=function(e,t){var n="function"==typeof Symbol&&e[Symbol.iterator];if(!n)return e;var r,o,i=n.call(e),a=[];try{for(;(void 0===t||t-- >0)&&!(r=i.next()).done;)a.push(r.value)}catch(s){o={error:s}}finally{try{r&&!r.done&&(n=i.return)&&n.call(i)}finally{if(o)throw o.error}}return a};!function(e){e.RECORD_TITLE_FIELD="recordtitlefield",e.RICH_TEXTAREA_FIELD="richtextareafield",e.TEXTAREA_FIELD="textareafield",e.TEXT_FIELD="textfield",e.NUMBER_FIELD="numberfield",e.NUMBER_SLIDER_FIELD="numbersliderfield",e.CURRENCY_FIELD="currencyfield",e.PERCENT_FIELD="percentfield",e.PERCENT_COMPLETE_FIELD="percentcompletefield",e.PHONE_FIELD="phonefield",e.EMAIL_FIELD="emailfield",e.LINK_FIELD="linkfield",e.DATE_FIELD="datefield",e.FIRST_CREATED_FIELD="firstcreatedfield",e.LAST_UPDATED_FIELD="lastupdatedfield",e.DUE_DATE_FIELD="duedatefield",e.YES_NO_FIELD="yesnofield",e.RATING_FIELD="ratingfield",e.STATUS_FIELD="statusfield",e.COLOR_PICKER_FIELD="colorpickerfield",e.LOOKUP_FIELD="lookupfield",e.FORMULA_FIELD="formulafield",e.ROLLUP_FIELD="rollupfield",e.LINKED_RECORD_FIELD="linkedrecordfield",e.MULTI_SELECT_FIELD="multipleselectfield",e.SINGLE_SELECT_FIELD="singleselectfield",e.FILE_FIELD="filefield",e.TAGS_FIELD="tagsfield"}(Sa||(Sa={}));var Oa=function(e,t){var n=Array.isArray(t)?t:[t],r=e.filter((function(e){return n.includes(e.label)})).map((function(e){return e.value}));return r.length?r:t?["No options found"]:[]},$a={attachments:function(e,t,n){var r;return e?"string"==typeof e?e.split(",").reduce((function(e,t){return t&&e.push({filename:t||"",url:t||""}),e}),[]):Array.isArray(e)&&e.length>0&&"string"==typeof e[0]?e.reduce((function(e,t){return t&&e.push({filename:t||"",url:t||""}),e}),[]):(null==t?void 0:t.field_type)===Sa.LOOKUP_FIELD?(null===(r=null==t?void 0:t.params)||void 0===r?void 0:r.target_field_structure).field_type===Sa.FILE_FIELD?aa(e,n):ia(e):Array.isArray(e)||"object"!=typeof e||e.handle?aa(e,n):[]:[]},tags:function(e,t){var n,r,o;if(!e)return[];switch(null==t?void 0:t.field_type){case Sa.STATUS_FIELD:case Sa.SINGLE_SELECT_FIELD:return[e.label].filter(Boolean);case Sa.MULTI_SELECT_FIELD:case Sa.LINKED_RECORD_FIELD:case Sa.TAGS_FIELD:return Array.isArray(e)?e.map((function(e){return e.label||e.title})).filter(Boolean):[e.label||e.title].filter(Boolean);case Sa.DATE_FIELD:var i=na(e.date);return Qi(new Date(i))?[i]:[];case Sa.DUE_DATE_FIELD:i=na(null===(n=e.to_date)||void 0===n?void 0:n.date);return Qi(new Date(i))?[i]:[];case Sa.FIRST_CREATED_FIELD:case Sa.LAST_UPDATED_FIELD:i=na(null==e?void 0:e.on);return Qi(new Date(i))?[i]:[];case Sa.LOOKUP_FIELD:case Sa.ROLLUP_FIELD:var a=null===(r=null==t?void 0:t.params)||void 0===r?void 0:r.target_field_structure;if((null==a?void 0:a.field_type)===Sa.PERCENT_FIELD||(null==a?void 0:a.field_type)===Sa.PERCENT_COMPLETE_FIELD)return[e+"%"];if((null==a?void 0:a.field_type)===Sa.CURRENCY_FIELD)return["".concat(e," ").concat(null===(o=null==a?void 0:a.params)||void 0===o?void 0:o.currency)];var s=ta(e);return Array.isArray(s)?s:[s];case Sa.NUMBER_FIELD:case Sa.NUMBER_SLIDER_FIELD:return[Number($a.number(e,t)).toLocaleString()];default:s=ta(e);return Array.isArray(s)?s:[s]}},rating:function(e,t){void 0===e&&(e="");var n=parseInt(e);return Number.isNaN(n)?0:n},link:function(e){var t,n=e;t=(n=e?e.toString().replace(/^"|"$/g,""):"").startsWith("https")||n.startsWith("http")||n.startsWith("mailto")||n.startsWith("#")||n.startsWith("/")||n.startsWith("tel")||n.startsWith("sms")?n:-1!==n.indexOf(".")?"https://"+n:"";var r=Go();return t&&t.startsWith(r+"#")?"#"+t.split("#")[1]:t},checkbox:function(e,t){var n=(null==e?void 0:e.toString())||"";return"false"!==n.toLowerCase()&&"0"!==n&&!!e},text:function(e,t){var n,r,o,i,a,s,l,c,u,d,p,f;if(!e)return"";switch(null==t?void 0:t.field_type){case Sa.RICH_TEXTAREA_FIELD:return null!==(n=e.html)&&void 0!==n?n:"";case Sa.PHONE_FIELD:return Array.isArray(e)?null===(r=e[0])||void 0===r?void 0:r.sys_title:e.sys_title;case Sa.DATE_FIELD:var h=na(e.date);return Qi(new Date(h))?h:"";case Sa.FIRST_CREATED_FIELD:case Sa.LAST_UPDATED_FIELD:h=na(null==e?void 0:e.on);return Qi(new Date(h))?h:"";case Sa.DUE_DATE_FIELD:h=na(null===(o=e.to_date)||void 0===o?void 0:o.date);return Qi(new Date(h))?h:"";case Sa.STATUS_FIELD:return null!==(i=e.label)&&void 0!==i?i:"";case Sa.LINKED_RECORD_FIELD:return Array.isArray(e)?null!==(a=e.map((function(e){return Ea(Ea({},e),{label:e.title})})))&&void 0!==a?a:[]:null!==(s=e.title)&&void 0!==s?s:"";case Sa.COLOR_PICKER_FIELD:return Array.isArray(e)?null!==(c=null===(l=e[0])||void 0===l?void 0:l.value)&&void 0!==c?c:"":null!==(u=e.value)&&void 0!==u?u:"";case Sa.PERCENT_FIELD:case Sa.PERCENT_COMPLETE_FIELD:return e+"%";case Sa.CURRENCY_FIELD:return"".concat(e," ").concat(t.params.currency);case Sa.MULTI_SELECT_FIELD:case Sa.SINGLE_SELECT_FIELD:case Sa.TAGS_FIELD:return $a.tags(e,t);case Sa.LOOKUP_FIELD:case Sa.ROLLUP_FIELD:var m=null===(d=null==t?void 0:t.params)||void 0===d?void 0:d.target_field_structure;return(null==m?void 0:m.field_type)===Sa.PERCENT_FIELD||(null==m?void 0:m.field_type)===Sa.PERCENT_COMPLETE_FIELD?e+"%":(null==m?void 0:m.field_type)===Sa.CURRENCY_FIELD?"".concat(e," ").concat(null===(p=null==m?void 0:m.params)||void 0===p?void 0:p.currency):ta(e);case Sa.EMAIL_FIELD:case Sa.LINK_FIELD:var v="single"===(null===(f=null==t?void 0:t.params)||void 0===f?void 0:f.entries_allowed);return Array.isArray(e)&&v?e[0]:e;case Sa.NUMBER_FIELD:case Sa.NUMBER_SLIDER_FIELD:return Number($a.number(e,t)).toLocaleString();default:return ta(e)}},number:function(e,t){var n;return function(e,t){var n=Number(e);return isNaN(n)?NaN:+n.toFixed(t)}(e,null===(n=null==t?void 0:t.params)||void 0===n?void 0:n.precision).toString()},dateTime:function(e){var t,n=(null==e?void 0:e.date)||(null===(t=null==e?void 0:e.to_date)||void 0===t?void 0:t.date)||(null==e?void 0:e.on);return n&&(0,Ca.default)(new Date(n))?ka(n,"SMARTSUITE"):""},phoneNumber:function(e){var t,n=Array.isArray(e)?null===(t=e[0])||void 0===t?void 0:t.sys_root:e.sys_root;return n&&!n.startsWith("+")?"+".concat(n):null!=n?n:void 0},url:function(e){return void 0===e&&(e=""),"string"==typeof e?e.split(", "):[]},toRecord:function(e,t,n,r){return Object.keys(e).reduce((function(o,i){var a,s,l,c,u,d,p,f,h,m,v,g=t.find((function(e){return e.mappedTo===i||e.name===i||e.fieldName===i})),y=null===(p=null==n?void 0:n.fields)||void 0===p?void 0:p.find((function(e){return e.name===(null==g?void 0:g.mappedTo)||e.name===(null==g?void 0:g.name)})),b=function(e){var t;if(e.url&&e.url.includes("v1/datasource/smartsuite")){var n=null===(t=null==r?void 0:r[i])||void 0===t?void 0:t.find((function(t){return t.url===e.url}));n&&(e.file=n.file)}return e};return Ea(Ea(Ea(Ea(Ea(Ea(Ea(Ea(Ea({},o),((a={})[i]=e[i],a)),"dateTime"===(null==g?void 0:g.type)?function(){var t,n,r,o=Ta([null===(n=e[i])||void 0===n?void 0:n.split(" ")[0],null===(r=e[i])||void 0===r?void 0:r.split(" ")[1]],2),a=xa(o[0],o[1],"SMARTSUITE");return(t={})[i]=a,t}():{}),(null==g?void 0:g.type)===ct.File||(null==g?void 0:g.type)===ct.Image||(null==g?void 0:g.type)===ct.Signature?function(){var t;return Array.isArray(e[i])&&r&&(e[i]=e[i].map((function(e){return b(e)}))),(t={})[i]=Array.isArray(e[i])?e[i].map((function(e){return"file"in e?e.file:e.url||""})):e[i],t}():{}),"checkbox"===(null==g?void 0:g.type)?((s={})[i]=!!e[i],s):{}),(null==y?void 0:y.field_type)===Sa.MULTI_SELECT_FIELD||(null==y?void 0:y.field_type)===Sa.TAGS_FIELD?((l={})[i]=Oa(null===(f=null==y?void 0:y.params)||void 0===f?void 0:f.choices,e[i]),l):{}),(null==y?void 0:y.field_type)===Sa.SINGLE_SELECT_FIELD||(null==y?void 0:y.field_type)===Sa.STATUS_FIELD?((c={})[i]=Oa(null===(h=null==y?void 0:y.params)||void 0===h?void 0:h.choices,e[i])[0]||"",c):{}),(null==y?void 0:y.field_type)===Sa.LINKED_RECORD_FIELD?((u={})[i]=Array.isArray(e[i])?e[i].map((function(e){return(null==e?void 0:e.id)?e.id:e})):e[i]?null===(v=null===(m=e[i])||void 0===m?void 0:m.toString())||void 0===v?void 0:v.split(","):null,u):{}),(null==y?void 0:y.field_type)===Sa.NUMBER_FIELD||(null==y?void 0:y.field_type)===Sa.PERCENT_FIELD||(null==y?void 0:y.field_type)===Sa.PERCENT_COMPLETE_FIELD?((d={})[i]=y.params.precision?e[i]:Math.round(Number(e[i])),d):{})}),{})},getMetadataFieldType:function(e,t){var n;return(null===(n=null==e?void 0:e.find((function(e){return e.name===t})))||void 0===n?void 0:n.field_type)||""}};const Ma=$a;var Aa=function(){var e=function(t,n){return e=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,n)};return function(t,n){if("function"!=typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),Da=function(){return Da=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},Da.apply(this,arguments)},La=function(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 o=0;for(r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]])}return n},Na=function(e,t){var n="function"==typeof Symbol&&e[Symbol.iterator];if(!n)return e;var r,o,i=n.call(e),a=[];try{for(;(void 0===t||t-- >0)&&!(r=i.next()).done;)a.push(r.value)}catch(s){o={error:s}}finally{try{r&&!r.done&&(n=i.return)&&n.call(i)}finally{if(o)throw o.error}}return a},Ra=function(e,t,n){if(n||2===arguments.length)for(var r,o=0,i=t.length;o<i;o++)!r&&o in t||(r||(r=Array.prototype.slice.call(t,0,o)),r[o]=t[o]);return e.concat(r||Array.prototype.slice.call(t))},Ia=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return Aa(t,e),t.prototype.getBaseUrl=function(){return"".concat(this.getDataSourceServiceUrl(),"/v1/datasource/smartsuite/").concat(this.applicationId,"/").concat(this.pageId,"/").concat(this.blockId,"/").concat(this.dataSourceId)},t.prototype.getRecords=function(e,t){var n=this;void 0===t&&(t={});var r=e.sorting,o=void 0===r?[]:r,i=e.search,a=void 0===i?"":i,s=e.pagination,l=void 0===s?{}:s,c=e.inlineFilters,u=void 0===c?[]:c,d=e.filters,p=void 0===d?{}:d,f=e.metadata,h=Da({},l);return new Promise((function(e,r){var i=!h.perPage||h.perPage>1e3,s=h.perPage&&h.perPage<1e4?h.perPage:Yo()?1e3:15e3;i&&(h.perPage=1e3);var l=function(c,d){var m,v;void 0===d&&(d=[]);var g="".concat(n.getBaseUrl(),"/data"),y={options:{cellFormat:"json",timeZone:Intl.DateTimeFormat().resolvedOptions().timeZone,userLocale:"en-US"},pageContext:c?{context:c}:null,filterCriteria:{}};!Yo()&&p.recordId?g="".concat(g,"/").concat(p.recordId):y.pagingOption={offset:h.offset||null,count:h.perPage||1e3},(null==o?void 0:o.length)&&(y.sortingOption={sortingField:o[0].field,sortType:o[0].direction.toUpperCase()});var b=[];a&&(null===(v=null===(m=null==p?void 0:p.searchOptions)||void 0===m?void 0:m.fields)||void 0===v?void 0:v.length)&&b.push(n.getFilterConditionGroupForSearch(p.searchOptions,a,f)),u.length&&u.forEach((function(e){var t,r=e.filter,o=e.value,i="INLINE_CONTAINS",a="TEXT",s=null===(t=null==f?void 0:f.fields.find((function(e){return e.slug===r.mappedTo})))||void 0===t?void 0:t.field_type;s!==Sa.LINKED_RECORD_FIELD&&s!==Sa.MULTI_SELECT_FIELD&&s!==Sa.TAGS_FIELD||(i="IS_ONE_OF",a="ARRAY"),s!==Sa.SINGLE_SELECT_FIELD&&s!==Sa.STATUS_FIELD||(i="IS_ONE_OF"),s===Sa.YES_NO_FIELD&&(i="IS",a="BOOLEAN"),b.push(n.getFilterConditionGroup(r,o,i,a))})),b.length&&(y.filterCriteria.filterConditionGroup={logicalOperator:"AND",filterGroups:b}),pt().post(g,y,Da({headers:{"Content-Type":"application/json"},withCredentials:!0},t)).catch((function(e){var t,n,o,i,a,s,l,c,u,d,p,f,h=Ur;(null===(n=null===(t=null==e?void 0:e.response)||void 0===t?void 0:t.data)||void 0===n?void 0:n.message)&&(h=null===(i=null===(o=null==e?void 0:e.response)||void 0===o?void 0:o.data)||void 0===i?void 0:i.message);var m="",v="",g=(null===(s=null===(a=null==e?void 0:e.response)||void 0===a?void 0:a.data)||void 0===s?void 0:s.payload)&&JSON.parse(null===(c=null===(l=null==e?void 0:e.response)||void 0===l?void 0:l.data)||void 0===c?void 0:c.payload);g?(m=g.error||"",v=g.detail||""):(m=(null===(d=null===(u=null==e?void 0:e.response)||void 0===u?void 0:u.data)||void 0===d?void 0:d.error)||"",v=(null===(f=null===(p=null==e?void 0:e.response)||void 0===p?void 0:p.data)||void 0===f?void 0:f.detail)||""),Yo()&&m.includes("SE-")?window.parent.postMessage({error:m,detail:v},"*"):r({type:"error",message:h})})).then((function(t){var n=t?t.data.items?Ra(Ra([],Na(d),!1),Na(t.data.items),!1):t.data.fields?[t.data]:[]:[],r=(null==t?void 0:t.data.offset)<(null==t?void 0:t.data.total)?null==t?void 0:t.data.offset:void 0;i&&r&&n.length<s?(h.offset=r,l(c,n)):e({records:n,offset:r,totalCount:null==t?void 0:t.data.total})}))};n.isLinkedList?Jo().then(l).catch((function(){r({type:"error",reason:"linked_list_not_found",message:Vr})})):l()}))},t.prototype.getMetadata=function(e){var t=this;return new Promise((function(n,r){var o="".concat(t.getBaseUrl(),"/metadata");pt().get(o,Da({headers:{"Content-Type":"application/json"},withCredentials:!0},e)).catch((function(){r("Failed to get datasource metadata.")})).then((function(e){n({fields:(null==e?void 0:e.data.structure.map((function(e){return Da(Da({},e),{name:e.slug})})))||{}})}))}))},t.prototype.addRecord=function(e,t){var n=this;return new Promise((function(r,o){var i="".concat(n.getBaseUrl(),"/data/new");pt().post(i,{fields:e,context:null==t?void 0:t.context},{headers:{"Content-Type":"application/json"},withCredentials:!0}).then((function(e){r(e)})).catch((function(e){var t=(e||{}).response,n=(void 0===t?{}:t).data,r=void 0===n?{}:n,i=r.message,a=void 0===i?"":i,s=r.error,l=void 0===s?"":s;o("SE-001"!==l&&"SE-008"!==l?{message:l||a}:{message:a})}))}))},t.prototype.deleteRecord=function(e){var t=this;return new Promise((function(n,r){var o="".concat(t.getBaseUrl(),"/data/").concat(e);pt().delete(o,{headers:{"Content-Type":"application/json"},withCredentials:!0}).then((function(){n(!0)})).catch((function(e){var t=(e||{}).response,n=(void 0===t?{}:t).data,o=void 0===n?{}:n,i=o.message,a=void 0===i?"":i,s=o.error,l=void 0===s?"":s;r("SE-010"!==l?{message:l||a}:{message:a})}))}))},t.prototype.updateRecord=function(e,t,n){var r=this;return new Promise((function(o,i){var a="".concat(r.getBaseUrl(),"/data/").concat(e);pt().patch(a,{fields:t,typecast:null==n?void 0:n.typecast,context:null==n?void 0:n.context},{headers:{"Content-Type":"application/json"},withCredentials:!0}).then((function(e){o(e)})).catch((function(e){var t=(e||{}).response,n=(void 0===t?{}:t).data,r=void 0===n?{}:n,o=r.message,a=void 0===o?"":o,s=r.error,l=void 0===s?"":s;i("SE-001"!==l&&"SE-009"!==l?{message:l||a}:{message:a})}))}))},t.prototype.getRecord=function(e,t){var n=this;void 0===t&&(t={});var r=t||{},o=r.asString,i=void 0===o||o,a=La(r,["asString"]),s=e||qo();return new Promise((function(e,t){var r={recordId:s},o={perPage:!r.recordId&&Yo()?10:1};n.getRecords({pagination:o,filters:r,asString:i},a).then((function(t){var n=t.records;(null==n?void 0:n.length)&&(null==n?void 0:n.length)>1?e(Qo(n)):e((null==n?void 0:n[0])||{})})).catch((function(e){t(e)}))}))},t.prototype.getLinkedRecordValues=function(e,t){var n=this;return new Promise((function(r,o){var i=t||{},a=i.search,s=void 0===a?"":a,l=i.sortType,c=void 0===l?"ASC":l,u=i.pagination,d=void 0===u?{}:u,p="".concat(n.getBaseUrl(),"/data/linked?fieldName=").concat(e,"&search=").concat(s),f={sortingOption:{sortType:c},pagingOption:{offset:d.offset||null,count:d.perPage||1e3}};pt().post(p,f,{headers:{"Content-Type":"application/json"},withCredentials:!0,signal:null==t?void 0:t.signal}).catch((function(){o("Error")})).then((function(e){var t=(null==e?void 0:e.data.items)||[];r({values:t.map((function(e){var t=e||{};return{id:t.id,label:t.fields.title}})),offset:null==e?void 0:e.data.offset})}))}))},t.prototype.getChartData=function(){return new Promise((function(e,t){return t()}))},t.prototype.invalidateChartCache=function(){return new Promise((function(){return null}))},t.prototype.applyMetadata=function(e,t){var n,r={};return null===(n=null==t?void 0:t.fields)||void 0===n||n.forEach((function(e){r[e.name]=e})),null==e||e.forEach((function(e){Xi(e,r)})),e},t.prototype.checkSelectFieldsContainingSpaces=function(e,t,n,r){var o=[],i=r===Sa.SINGLE_SELECT_FIELD?"single select":"multiple select";(null==e||e.forEach((function(e){if(e!==(null==e?void 0:e.trim())){var t="Your ".concat(i," ").concat(n," field in inline-filters contains values with spaces ").concat(e,". Please edit the field and remove the extra spaces.");console.warn(t),o.push(e)}})),null==o?void 0:o.length)&&t({message:"Your ".concat(i," ").concat(n," field in inline-filters contains values with spaces ").concat(o.slice(0,5).join(","),". Please edit the field and remove the extra spaces."),title:"WARNING"})},t.prototype.generateAttachmentURL=function(e,t){var n;void 0===t&&(t=!0);var r=this.pageId;if(Yo()){var o=null===(n=window.top)||void 0===n?void 0:n.location.href;if(o){var i=o.split("/");r=(r=i[i.length-1]).split("?")[0]}}return"".concat(this.getDataSourceServiceUrl()||window.location.origin,"/v1/datasource/smartsuite/").concat(this.applicationId,"/").concat(r,"/").concat(this.blockId,"/").concat(this.dataSourceId,"/assets/").concat(e,"?redirect=").concat(t)},t.prototype.upvote=function(e){var t="".concat(this.getBaseUrl(),"/data/").concat(e.context.id,"/upvote");return pt().post(t,{field:e.context.mappedTo,id:e.context.id},{withCredentials:!0})},t.prototype.getFilterConditionGroupForSearch=function(e,t,n){void 0===e&&(e={}),void 0===t&&(t="");var r=e.fields,o=function(e){var t;switch(null===(t=null==n?void 0:n.fields.find((function(t){return t.slug===e})))||void 0===t?void 0:t.field_type){case Sa.MULTI_SELECT_FIELD:case Sa.TAGS_FIELD:case Sa.SINGLE_SELECT_FIELD:case Sa.STATUS_FIELD:return"IS_ONE_OF";default:return"CONTAINS"}},i=function(e){var t;switch(null===(t=null==n?void 0:n.fields.find((function(t){return t.slug===e})))||void 0===t?void 0:t.field_type){case Sa.LINKED_RECORD_FIELD:case Sa.MULTI_SELECT_FIELD:case Sa.TAGS_FIELD:return"ARRAY";case Sa.YES_NO_FIELD:return"BOOLEAN";default:return"TEXT"}};return{logicalOperator:"OR",filters:(void 0===r?[]:r).map((function(e){return{subject:e,operator:o(e),value:t,type:i(e)}}))}},t.recordQueriesDependOnMetadata=!0,t}(oi);const Pa=Ia;var Za,_a,Fa,ja;!function(e){e.SHORT_TEXT="short_text",e.LONG_TEXT="long_text",e.RICH_TEXT="rich_text",e.URL="url",e.EMAIL="email",e.PHONE_NUMBER="phone_number",e.FILE="file",e.DATE="date",e.DATE_TIME="dateTime",e.RATING="rating",e.CHECKBOX="checkbox",e.DROPDOWN="auto_sync_dropdown",e.NUMBER="number",e.HIDDEN="hidden",e.SIGNATURE="signature"}(Za||(Za={})),function(e){e.RECORD_TITLE_FIELD="recordtitlefield",e.RICH_TEXTAREA_FIELD="richtextareafield",e.TEXTAREA_FIELD="textareafield",e.TEXT_FIELD="textfield",e.NUMBER_FIELD="numberfield",e.NUMBER_SLIDER_FIELD="numbersliderfield",e.CURRENCY_FIELD="currencyfield",e.PERCENT_FIELD="percentfield",e.PERCENT_COMPLETE_FIELD="percentcompletefield",e.PHONE_FIELD="phonefield",e.EMAIL_FIELD="emailfield",e.LINK_FIELD="linkfield",e.DATE_FIELD="datefield",e.FIRST_CREATED_FIELD="firstcreatedfield",e.LAST_UPDATED_FIELD="lastupdatedfield",e.YES_NO_FIELD="yesnofield",e.RATING_FIELD="ratingfield",e.STATUS_FIELD="statusfield",e.COLOR_PICKER_FIELD="colorpickerfield",e.LOOKUP_FIELD="lookupfield",e.FORMULA_FIELD="formulafield",e.ROLLUP_FIELD="rollupfield",e.LINKED_RECORD_FIELD="linkedrecordfield",e.MULTI_SELECT_FIELD="multipleselectfield",e.SINGLE_SELECT_FIELD="singleselectfield",e.FILE_FIELD="filefield",e.TAGS_FIELD="tagsfield",e.DUE_DATE_FIELD="duedatefield"}(_a||(_a={})),function(e){e.NUMBER="number",e.TEXT="text",e.DATE="date",e.SELECT="select",e.CHECKBOX="checkbox",e.PHONE_NUMBER="phonenumber",e.RADIO="radio",e.SCORE="score",e.CALCULATION="calculation",e.TEXTAREA="textarea",e.BOOLEAN_CHECKBOX="booleancheckbox",e.FILE="file",e.HTML="html",e.ENUMERATED="enumerated"}(Fa||(Fa={})),function(e){e.FIRST_CREATED_FIELD="firstcreatedfield",e.LAST_UPDATED_FIELD="lastupdatedfield",e.USER_FIELD="userfield",e.COMMENTS_COUNT_FIELD="commentscountfield",e.AUTO_NUMBER_FIELD="autonumberfield",e.RECORD_TITLE_FIELD="recordtitlefield",e.RICH_TEXTAREA_FIELD="richtextareafield",e.TEXTAREA_FIELD="textareafield",e.TEXT_FIELD="textfield",e.TIME_FIELD="timefield",e.NUMBER_FIELD="numberfield",e.NUMBER_SLIDER_FIELD="numbersliderfield",e.CURRENCY_FIELD="currencyfield",e.ADDRESS_FIELD="addressfield",e.PERCENT_FIELD="percentfield",e.LINK_FIELD="linkfield",e.EMAIL_FIELD="emailfield",e.PHONE_FIELD="phonefield",e.YES_NO_FIELD="yesnofield",e.DATE_FIELD="datefield",e.FULL_NAME_FIELD="fullnamefield",e.DATE_RANGE_FIELD="daterangefield",e.MULTI_SELECT_FIELD="multipleselectfield",e.SINGLE_SELECT_FIELD="singleselectfield",e.LINKED_RECORD_FIELD="linkedrecordfield",e.FILE_FIELD="filefield",e.RATING_FIELD="ratingfield",e.SOCIAL_NETWORK_FIELD="socialnetworkfield",e.VOTE_FIELD="votefield",e.TAGS_FIELD="tagsfield",e.DUE_DATE_FIELD="duedatefield",e.STATUS_FIELD="statusfield",e.DURATION_FIELD="durationfield",e.PERCENT_COMPLETE_FIELD="percentcompletefield",e.CHECK_LIST_FIELD="checklistfield",e.TIME_TRACKING_FIELD="timetrackingfield",e.BUTTON_FIELD="buttonfield",e.COUNT_FIELD="countfield",e.ROLLUP_FIELD="rollupfield",e.LOOKUP_FIELD="lookupfield",e.FORMULA_FIELD="formulafield",e.RECORD_ID_FIELD="recordidfield",e.SIGNATURE_FIELD="signaturefield",e.COLOR_PICKER_FIELD="colorpickerfield",e.SUB_ITEMS_FIELD="subitemsfield"}(ja||(ja={}));var Ba={dateTime:"DateTime",date:"Date",email:"Email",url:"Url",short_text:"Text",long_text:"Long text",phone_number:"Phone number",file:"File",checkbox:"Checkbox",rating:"Rating",number:"Number",dropdown:"Dropdown"},za=function(e,t,n){return"A datasource field '".concat(e,"' with '").concat(t,"' type can't be mapped to '").concat(n,"' field.")},Ha=function(){return Ha=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},Ha.apply(this,arguments)},Ua=function(e,t){var n="function"==typeof Symbol&&e[Symbol.iterator];if(!n)return e;var r,o,i=n.call(e),a=[];try{for(;(void 0===t||t-- >0)&&!(r=i.next()).done;)a.push(r.value)}catch(s){o={error:s}}finally{try{r&&!r.done&&(n=i.return)&&n.call(i)}finally{if(o)throw o.error}}return a},Wa=[Br.MULTI_SELECT,Br.RECORD_LINKS,Br.LOOKUP,Br.FORMULA],Va=function(e,t,n){void 0===n&&(n=!1);var r=Number(e);return isNaN(r)?NaN:+(r*(n?100:1)).toFixed(t)},qa={attachments:function(e,t){void 0===e&&(e="");var n=(null==e?void 0:e.toString())||"";return((null==t?void 0:t.type)===Br.ATTACHMENT?n.split("),").map((function(e){return e.endsWith(")")||!e?e:e+")"})):qa.tags(e)).map((function(e){var t=Ua(/^(.+)\(([^)]+)\)$/g.exec(e)||/^()(.+)$/g.exec(e)||[],3),n=t[1],r=t[2];return{filename:n?n.trim():"",url:r?r.trim().replace(/^\((.*)\)$/,"$1"):""}})).filter((function(e){return!!e.url}))},tags:function(e,t){var n=(null==e?void 0:e.toString())||"";if(n&&(null==t?void 0:t.type)===Br.SINGLE_SELECT)return[n];if(n&&Wa.includes((null==t?void 0:t.type)||""))return ea(n);if((null==t?void 0:t.type)===Br.SINGLE_LINE_TEXT||(null==t?void 0:t.type)===Br.MULTI_LINE_TEXT||(null==t?void 0:t.type)===Br.RICH_TEXT){var r=null==n?void 0:n.trim().replace(/\n/g,"");return r?r.includes(";")?(r.split(";")||[]).map((function(e){return e.trim()})).filter((function(e){return!!e})):[r]:[]}return((null==n?void 0:n.replace(/\n/g,"").match(/(^.?[0-9,.]+$)|(".*?"|[^",]+)(?=\s*,|\s*$)/g))||[]).map((function(e){return e.replace(/^"|"$/g,"").trim()})).filter((function(e){return!!e}))},rating:function(e,t){void 0===e&&(e="");var n=parseInt(e);return Number.isNaN(n)?0:n},link:function(e,t){var n,r=e;n=(r=r&&Wa.includes((null==t?void 0:t.type)||"")?ea((null==r?void 0:r.toString())||"").join(", "):e?e.replace(/^"|"$/g,""):"").startsWith("https")||r.startsWith("http")||r.startsWith("mailto")||r.startsWith("#")||r.startsWith("/")||r.startsWith("tel")||r.startsWith("sms")?r:-1!==r.indexOf(".")?"https://"+r:"";var o=Go();return n&&n.startsWith(o+"#")?"#"+n.split("#")[1]:n},checkbox:function(e,t){var n=(null==e?void 0:e.toString())||"";return"false"!==(null==n?void 0:n.toLowerCase())&&"0"!==n&&!!e},text:function(e,t){return e&&Wa.includes((null==t?void 0:t.type)||"")?ea((null==e?void 0:e.toString())||"").join(", "):e||""},number:function(e,t){var n,r;return(null==t?void 0:t.type)===Br.PERCENT?Va(e,null===(n=null==t?void 0:t.options)||void 0===n?void 0:n.precision,!0).toString():Va(e,null===(r=null==t?void 0:t.options)||void 0===r?void 0:r.precision).toString()},dateTime:function(e,t,n){var r,o=null===(r=null==t?void 0:t.fields)||void 0===r?void 0:r.find((function(e){return e.name===(null==n?void 0:n.mappedTo)||e.name===(null==n?void 0:n.name)}));return e&&(0,Ca.default)(new Date(e))?ka(e,"AIRTABLE",null==o?void 0:o.options):""},phoneNumber:function(e){return e&&!e.startsWith("+")?"+".concat(e):null!=e?e:void 0},url:function(e,t){return void 0===e&&(e=""),e&&Wa.includes((null==t?void 0:t.type)||"")?ea((null==e?void 0:e.toString())||""):(null==t?void 0:t.type)===Br.ATTACHMENT?qa.attachments(e,t).map((function(e){return e.url})):e.split(", ")},toRecord:function(e,t,n){return Object.keys(e).reduce((function(r,o){var i,a,s,l,c,u,d,p,f,h=t.find((function(e){return e.mappedTo===o||e.name===o||e.fieldName===o})),m=null===(d=null==n?void 0:n.fields)||void 0===d?void 0:d.find((function(e){return e.name===(null==h?void 0:h.mappedTo)||e.name===(null==h?void 0:h.name)})),v=(null==m?void 0:m.type)===Br.ATTACHMENT;return Ha(Ha(Ha(Ha(Ha(Ha(Ha(Ha({},r),((i={})[o]=e[o],i)),"dateTime"===(null==h?void 0:h.type)?function(){var t,n,r,i=Ua([null===(n=e[o])||void 0===n?void 0:n.split(" ")[0],null===(r=e[o])||void 0===r?void 0:r.split(" ")[1]],2),a=xa(i[0],i[1],"AIRTABLE",null==m?void 0:m.options);return(t={})[o]=a,t}():{}),(null==h?void 0:h.type)===ct.File||(null==h?void 0:h.type)===ct.Signature||(null==h?void 0:h.type)===ct.Image?((a={})[o]=function(e,t){return t?(null==e?void 0:e.length)?e.map((function(e){var t=e.id,n=e.url;return t?{id:t}:{url:n}})):e:Array.isArray(e)?e.map((function(e){return e.url||""})).join():e}(e[o],v),a):{}),(null==h?void 0:h.type)===ct.Checkbox?((s={})[o]=!!e[o],s):{}),(null==h?void 0:h.type)===ct.Number&&(null==m?void 0:m.type)===Br.PERCENT?((l={})[o]=Number(e[o])/100,l):{}),(null==h?void 0:h.type)===ct.AutoSyncDropdown&&(null==m?void 0:m.type)===Br.SINGLE_SELECT?((c={})[o]=e[o]?(f=null===(p=e[o])||void 0===p?void 0:p.toString()).startsWith('"')&&f.endsWith('"')?'"'.concat(f.substring(1,f.length-1),'"'):f:null,c):{}),(null==h?void 0:h.type)!==ct.AutoSyncDropdown||h.multiSelect||(null==m?void 0:m.type)!==Br.RECORD_LINKS?{}:((u={})[o]=Array.isArray(e[o])?e[o]:[e[o]],u))}),{})},getMetadataFieldType:function(e,t){var n;return(null===(n=null==e?void 0:e.find((function(e){return e.name===t})))||void 0===n?void 0:n.type)||""}};const Ga=qa;var Ka=function(e){var t=null==e?void 0:e.trim().replace(/\n/g,"");return t?t.includes(";")?(t.split(";")||[]).map((function(e){return e.trim()})).filter((function(e){return!!e})):[t]:[]},Ya=function(){return Ya=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},Ya.apply(this,arguments)},Xa=function(e,t){var n="function"==typeof Symbol&&e[Symbol.iterator];if(!n)return e;var r,o,i=n.call(e),a=[];try{for(;(void 0===t||t-- >0)&&!(r=i.next()).done;)a.push(r.value)}catch(s){o={error:s}}finally{try{r&&!r.done&&(n=i.return)&&n.call(i)}finally{if(o)throw o.error}}return a};var Ja={attachments:function(e){void 0===e&&(e="");var t=(null==e?void 0:e.toString())||"";return Ja.url(t).map((function(e){return{filename:e.split("/").pop(),url:e}}))},tags:function(e){var t=(null==e?void 0:e.toString())||"";return Ka(t)},rating:function(e){void 0===e&&(e="");var t=parseInt(e);return Number.isNaN(t)?0:t},link:function(e){var t,n=e?e.replace(/^"|"$/g,""):"";t=n.startsWith("https")||n.startsWith("http")||n.startsWith("mailto")||n.startsWith("#")||n.startsWith("/")||n.startsWith("tel")||n.startsWith("sms")?n:-1!==n.indexOf(".")?"https://"+n:"";var r=Go();return t&&t.startsWith(r+"#")?"#"+t.split("#")[1]:t},checkbox:function(e){var t=e||"";return"false"!==t.toLowerCase()&&"0"!==t&&!!e},text:function(e){return void 0===e&&(e=""),e},number:function(e){return"string"==typeof e&&e.includes(",")?e:Number(e).toLocaleString()},dateTime:function(e){return e&&(0,Ca.default)(new Date(e))?ka(e,"GOOGLE_SHEET"):""},phoneNumber:function(e){return e&&!e.startsWith("+")?"+".concat(e):null!=e?e:void 0},url:function(e){return e?e.split(", "):[]},toRecord:function(e,t){return Object.keys(e).forEach((function(t){var n;n=e[t],Array.isArray(n)&&n.every((function(e){return"string"==typeof e}))&&(e[t]=e[t].join(";"))})),Object.keys(e).reduce((function(n,r){var o,i,a,s,l=t.find((function(e){return e.mappedTo===r||e.name===r||e.fieldName===r}));return Ya(Ya(Ya(Ya(Ya({},n),((o={})[r]=0===(s=e[r])?"0":s?String(s):"",o)),"dateTime"===(null==l?void 0:l.type)?function(){var t,n,o,i=Xa([null===(n=e[r])||void 0===n?void 0:n.split(" ")[0],null===(o=e[r])||void 0===o?void 0:o.split(" ")[1]],2),a=xa(i[0],i[1],"GOOGLE_SHEET",null);return(t={})[r]=a,t}():{}),(null==l?void 0:l.type)===ct.File||(null==l?void 0:l.type)===ct.Signature||(null==l?void 0:l.type)===ct.Image?((i={})[r]=Array.isArray(e[r])?e[r].map((function(e){return e.url.trim()})).filter(Boolean).join(", "):e[r],i):{}),"checkbox"===(null==l?void 0:l.type)?((a={})[r]=e[r]?"TRUE":"FALSE",a):{})}),{})},getMetadataFieldType:function(){return""}};const Qa=Ja;function es(){0}var ts=n(51820);var ns=function(){return ns=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},ns.apply(this,arguments)},rs=function(e,t){var n="function"==typeof Symbol&&e[Symbol.iterator];if(!n)return e;var r,o,i=n.call(e),a=[];try{for(;(void 0===t||t-- >0)&&!(r=i.next()).done;)a.push(r.value)}catch(s){o={error:s}}finally{try{r&&!r.done&&(n=i.return)&&n.call(i)}finally{if(o)throw o.error}}return a};function is(e){return(0,ii.default)(ua(e),"MMMM d, yyyy")}var as=function(e,t){return e.filter((function(e){return t===e.value})).map((function(e){return e.label||e.value}))},ss={attachments:function(e,t){return e?"string"==typeof e?e.split(",").map((function(e){return{filename:e.trim(),url:e.trim()||""}})):[{filename:e.toString()||"",url:e.toString()||""}]:[]},tags:function(e,t){var n;if(!e)return[];switch(null==t?void 0:t.fieldType){case Fa.DATE:var r=is(e);return Qi(new Date(r))?[r]:[];case Fa.BOOLEAN_CHECKBOX:case Fa.CHECKBOX:return t.options&&t.options.length>0?[e.split(";").map((function(e){return as(t.options,e)})).join(", ")]:[t.label];case Fa.SELECT:case Fa.RADIO:return as(t.options||[],e);case Fa.NUMBER:return[Number(ss.number(e)).toLocaleString()];default:return null!==(n=[e])&&void 0!==n?n:""}},rating:function(e){void 0===e&&(e="");var t=parseInt(e);return Number.isNaN(t)?0:t},link:function(e){var t,n=e;t=(n=e?e.replace(/^"|"$/g,""):"").startsWith("https")||n.startsWith("http")||n.startsWith("mailto")||n.startsWith("#")||n.startsWith("/")||n.startsWith("tel")||n.startsWith("sms")?n:-1!==n.indexOf(".")?"https://"+n:"";var r=Go();return t&&t.startsWith(r+"#")?"#"+t.split("#")[1]:t},checkbox:function(e){var t=(null==e?void 0:e.toString())||"";return"false"!==t.toLowerCase()&&"0"!==t&&!!e},text:function(e,t){var n;if(!e||!(null==t?void 0:t.fieldType))return"";switch(null==t?void 0:t.fieldType){case Fa.DATE:var r=is(e);return Qi(new Date(r))?r:"";case Fa.BOOLEAN_CHECKBOX:case Fa.CHECKBOX:return t.options&&t.options.length>0?e.split(";").map((function(e){return as(t.options,e)})).join(", "):t.label;case Fa.SELECT:case Fa.RADIO:return as(t.options||[],e);default:return null!==(n=e.toString())&&void 0!==n?n:""}},number:function(e){"string"==typeof e&&e.includes(",");return e},dateTime:function(e){return e&&(0,Ca.default)(new Date(e))?ka(e,"HUBSPOT"):""},phoneNumber:function(e){return e&&!e.startsWith("+")?"+".concat(e):null!=e?e:void 0},url:function(e){return void 0===e&&(e=""),e.split(", ")},toRecord:function(e,t,n){return Object.keys(e).reduce((function(r,o){var i,a,s,l=t.find((function(e){return e.mappedTo===o||e.name===o||e.fieldName===o})),c=null===(a=null==n?void 0:n.fields)||void 0===a?void 0:a.find((function(e){return e.name===(null==l?void 0:l.mappedTo)||e.name===(null==l?void 0:l.name)}));return ns(ns(ns(ns(ns(ns(ns({},r),((i={})[o]=Array.isArray(e[o])?null===(s=e[o])||void 0===s?void 0:s[0]:e[o],i)),"file"===(null==l?void 0:l.type)?function(){var t;return(t={})[o]=Array.isArray(e[o])?e[o].map((function(e){return e.url.trim()})).filter(Boolean).join(","):e[o],t}():{}),c.fieldType===Fa.RADIO||c.fieldType===Fa.SELECT||c.fieldType===Fa.CHECKBOX||c.fieldType===Fa.BOOLEAN_CHECKBOX?function(t){var n;return(n={})[o]=function(e,t){var n=Array.isArray(t)?t:[t];return e.filter((function(e){return n.includes(e.label)})).map((function(e){return e.value}))}(t.options||[],e[o]).join(","),n}(c):{}),"checkbox"===(null==l?void 0:l.type)?function(){var t;return(t={})[o]=!!e[o],t}():{}),"dateTime"===(null==l?void 0:l.type)?function(){var t,n,r,i=rs([null===(n=e[o])||void 0===n?void 0:n.split(" ")[0],null===(r=e[o])||void 0===r?void 0:r.split(" ")[1]],2),a=xa(i[0],i[1],"HUBSPOT",null),s=Intl.DateTimeFormat().resolvedOptions().timeZone,l=Li(new Date(a),s),c=function(e,t){(0,la.Z)(2,arguments);var n=(0,ca.Z)(t);return(0,ts.Z)(e,6e4*n)}(l,-1*new Date(l).getTimezoneOffset());return(t={})[o]=(0,ii.default)(c,"yyyy-MM-dd'T'HH:mm:ss.SSSXXX"),t}():{}),"date"===(null==l?void 0:l.type)?function(){var t;return(t={})[o]=(0,ii.default)(Li(new Date(e[o]),"UTC"),"yyyy-MM-dd'T'HH:mm:ss.SSSXXX"),t}():{})}),{})},getMetadataFieldType:function(e,t){var n;return(null===(n=null==e?void 0:e.find((function(e){return e.name===t})))||void 0===n?void 0:n.fieldType)||""}};var ls={attachments:function(e){void 0===e&&(e="");var t=(null==e?void 0:e.toString())||"";return ls.tags(t).map((function(e){return{filename:e.split("/").pop(),url:e}}))},tags:function(e){var t=(null==e?void 0:e.toString())||"";return Ka(t)},rating:function(e){void 0===e&&(e="");var t=parseInt(e);return Number.isNaN(t)?0:t},link:function(e){var t,n=e?e.replace(/^"|"$/g,""):"";t=n.startsWith("https")||n.startsWith("http")||n.startsWith("mailto")||n.startsWith("#")||n.startsWith("/")||n.startsWith("tel")||n.startsWith("sms")?n:-1!==n.indexOf(".")?"https://"+n:"";var r=Go();return t&&t.startsWith(r+"#")?"#"+t.split("#")[1]:t},checkbox:function(e){var t=e||"";return"false"!==t.toLowerCase()&&"0"!==t&&!!e},text:function(e){return void 0===e&&(e=""),e},number:function(e){return"string"==typeof e&&e.includes(",")?e:Number(e).toLocaleString()},dateTime:function(e){return e&&(0,Ca.default)(new Date(e))?ka(e,"GOOGLE_BIGQUERY"):""},phoneNumber:function(e){return e&&!e.startsWith("+")?"+".concat(e):null!=e?e:void 0},url:function(e){return e?e.split(", "):[]},toRecord:function(e,t){return Object.keys(e).forEach((function(t){var n;n=e[t],Array.isArray(n)&&n.every((function(e){return"string"==typeof e}))&&(e[t]=e[t].join(";"))})),e},getMetadataFieldType:function(e,t){var n;return(null===(n=null==e?void 0:e.find((function(e){return e.name===t})))||void 0===n?void 0:n.type)||""}};var cs,us={AIRTABLE:Ga,GOOGLE_SHEET:Qa,SMARTSUITE:Ma,HUBSPOT:ss,GOOGLE_BIGQUERY:ls},ds={airtable:Ga,ghseet:Qa},ps=function(e){if(!e)return es(),Ga;var t=us[e]||ds[e];if(!t)throw new Error('Could not find record parser for datasource type: "'.concat(e,'"'));return t};!function(e){e.AIRTABLE="AIRTABLE",e.GOOGLE_SHEET="GOOGLE_SHEET",e.SMARTSUITE="SMARTSUITE",e.HUBSPOT="HUBSPOT",e.GOOGLE_BIGQUERY="GOOGLE_BIGQUERY"}(cs||(cs={}));var fs,hs=function(){return hs=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},hs.apply(this,arguments)},ms={dateTime:"DateTime",date:"Date",email:"Email",url:"Url",singleLineText:"Single line text",multilineText:"Long text",richText:"Long text",multipleRecordLinks:"Link to ...",multipleSelects:"Multiple select",singleSelect:"Single select",percent:"Percent",currency:"Currency",phoneNumber:"Phone number",rating:"Rating",checkbox:"Checkbox",number:"Number",multipleAttachments:"Attachment"},vs=((fs={})[Za.SHORT_TEXT]=[Br.SINGLE_LINE_TEXT,Br.MULTI_LINE_TEXT,Br.RICH_TEXT,Br.URL],fs[Za.LONG_TEXT]=[Br.SINGLE_LINE_TEXT,Br.MULTI_LINE_TEXT,Br.RICH_TEXT],fs[Za.RICH_TEXT]=[Br.SINGLE_LINE_TEXT,Br.MULTI_LINE_TEXT,Br.RICH_TEXT],fs[Za.URL]=[Br.SINGLE_LINE_TEXT,Br.MULTI_LINE_TEXT,Br.RICH_TEXT,Br.URL,Br.ATTACHMENT],fs[Za.EMAIL]=[Br.SINGLE_LINE_TEXT,Br.MULTI_LINE_TEXT,Br.RICH_TEXT,Br.EMAIL],fs[Za.PHONE_NUMBER]=[Br.SINGLE_LINE_TEXT,Br.MULTI_LINE_TEXT,Br.RICH_TEXT,Br.PHONE_NUMBER],fs[Za.FILE]=[Br.SINGLE_LINE_TEXT,Br.MULTI_LINE_TEXT,Br.RICH_TEXT,Br.ATTACHMENT,Br.URL],fs[Za.SIGNATURE]=[Br.SINGLE_LINE_TEXT,Br.MULTI_LINE_TEXT,Br.RICH_TEXT,Br.ATTACHMENT],fs[Za.DATE]=[Br.SINGLE_LINE_TEXT,Br.MULTI_LINE_TEXT,Br.RICH_TEXT,Br.DATE],fs[Za.DATE_TIME]=[Br.SINGLE_LINE_TEXT,Br.MULTI_LINE_TEXT,Br.RICH_TEXT,Br.DATE_TIME],fs[Za.RATING]=[Br.RATING,Br.NUMBER],fs[Za.CHECKBOX]=[Br.CHECKBOX],fs[Za.DROPDOWN]=[Br.SINGLE_LINE_TEXT,Br.MULTI_LINE_TEXT,Br.RICH_TEXT,Br.SINGLE_SELECT,Br.MULTI_SELECT,Br.RECORD_LINKS],fs[Za.NUMBER]=[Br.SINGLE_LINE_TEXT,Br.MULTI_LINE_TEXT,Br.NUMBER,Br.CURRENCY,Br.PERCENT],fs[Za.HIDDEN]=[Br.SINGLE_LINE_TEXT,Br.MULTI_LINE_TEXT,Br.EMAIL,Br.SINGLE_SELECT,Br.CHECKBOX,Br.BARCODE,Br.URL,Br.CURRENCY,Br.DATE_TIME,Br.DATE,Br.RATING,Br.SINGLE_COLLABORATOR,Br.PERCENT,Br.DURATION,Br.NUMBER,Br.PHONE_NUMBER,Br.RICH_TEXT,Br.MULTI_SELECT,Br.RECORD_LINKS],fs),gs={attachments:function(){return[]},validateFieldType:function(e,t){var n=ms[null==t?void 0:t.type]||(null==t?void 0:t.type),r=Ba[e.type]||e.type;return{errorMessage:(null==t?void 0:t.type)&&!vs[e.type].includes(null==t?void 0:t.type)?za(e.mappedTo,n,r):""}},isMultiselectAllowed:function(e){var t;return(null==e?void 0:e.type)===Br.MULTI_SELECT||(null==e?void 0:e.type)===Br.RECORD_LINKS&&!(null===(t=null==e?void 0:e.options)||void 0===t?void 0:t.prefersSingleRecordLink)||(null==e?void 0:e.type)===Br.SINGLE_LINE_TEXT},getMetadataField:function(e,t){return null==e?void 0:e.find((function(e){return e.name===t}))},getMetadataFieldType:function(e,t){var n;return(null===(n=null==e?void 0:e.find((function(e){return e.name===t})))||void 0===n?void 0:n.type)||""},userProfileAttributes:function(e,t,n){var r,o=hs({},t.attributes);if(!t.attributes)return{};var i=ps("AIRTABLE"),a=e.filter((function(e){return"file"===e.type||"image"===e.type}));Object.keys(null==t?void 0:t.attributes).forEach((function(e){var r,i=a.find((function(t){return t.name===e})),s=gs.getMetadataFieldType(n.fields,(null==i?void 0:i.mappedTo)||(null==i?void 0:i.name)||"");i&&s&&s!==Br.ATTACHMENT&&"string"==typeof(null==t?void 0:t.attributes[e])&&(o[e]=null===(r=null==t?void 0:t.attributes[e])||void 0===r?void 0:r.split(",").map((function(e){return{url:e,filename:ys(e)}})))}));var s=e.filter((function(e){return"auto_sync_dropdown"===e.type&&!0===e.multiRecordsLink}));return Object.keys(null===(r=null==t?void 0:t.attributes)||void 0===r?void 0:r.RECORD_STRING_VALUES).forEach((function(r){s.forEach((function(e){var n,i,a,s,l;if(e.name===r){var c=void 0;if("string"!=typeof(null===(n=null==t?void 0:t.attributes)||void 0===n?void 0:n.RECORD_STRING_VALUES[r])||e.multiSelect){u=null===(l=null===(s=null==t?void 0:t.attributes)||void 0===s?void 0:s.RECORD_STRING_VALUES[r].split(","))||void 0===l?void 0:l.toString();c=ea(u)}else{var u=null===(i=null==t?void 0:t.attributes)||void 0===i?void 0:i.RECORD_STRING_VALUES[r];c=null===(a=ea(u))||void 0===a?void 0:a[0]}o[r]=c}})),e.forEach((function(e){var a,s,l;if(e.name===r){var c=null===(a=null==n?void 0:n.fields)||void 0===a?void 0:a.find((function(t){return t.name===(null==e?void 0:e.mappedTo)||t.name===(null==e?void 0:e.name)}));if("auto_sync_dropdown"!==e.type&&(null==c?void 0:c.type)===Br.RECORD_LINKS){var u=null===(s=null==t?void 0:t.attributes)||void 0===s?void 0:s.RECORD_STRING_VALUES[r];o[r]=null===(l=ea(u))||void 0===l?void 0:l[0]}"dateTime"===e.type&&(null==c?void 0:c.type)===Br.DATE_TIME&&(o[r]=ka(null==t?void 0:t.attributes[r],"AIRTABLE",null==c?void 0:c.options)),e.type===ct.Number&&(o[r]=i.number(null==t?void 0:t.attributes[r],c))}}))})),o},inlineFilterValue:function(e,t){return{label:t,value:t}},inlineFilterMappedTo:function(e){return e},getFieldMetadataOptions:function(e){var t,n;return(null===(n=null===(t=null==e?void 0:e.options)||void 0===t?void 0:t.choices)||void 0===n?void 0:n.map((function(e){return{id:e.id,name:e.name,color:e.color}})))||[]},getPrecision:function(e){var t;return(null===(t=null==e?void 0:e.options)||void 0===t?void 0:t.precision)||0},extractKanbanColumnName:function(e){return e},isPrefilledFormFieldExist:function(e,t){var n;return e.toLowerCase()===(null===(n=t.name)||void 0===n?void 0:n.toLowerCase())},extractCalendarDates:function(e){return(null==e?void 0:e.toString())||""},extractCalendarColor:function(e){return(null==e?void 0:e.toString())||""},getFilterType:function(e,t){return e.syncWithDatasource&&t?t.type===Br.RECORD_LINKS?"LINKED_RECORD":"METADATA":"STATIC"},getFilterOptionValue:function(e){return e.name}},ys=function(e){var t,n,r;return(null===(r=null===(n=null===(t=null==e?void 0:e.split("/"))||void 0===t?void 0:t.pop())||void 0===n?void 0:n.split("?")[0])||void 0===r?void 0:r.split("#")[0])||"untitled_file"};const bs=gs;var ws=function(){return ws=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},ws.apply(this,arguments)},xs={attachments:function(){return[]},validateFieldType:function(){return{errorMessage:""}},isMultiselectAllowed:function(){return!0},getMetadataField:function(){},getMetadataFieldType:function(){return""},userProfileAttributes:function(e,t){var n=ws({},t.attributes);if(!t.attributes)return{};var r=e.filter((function(e){return"file"===e.type||"image"===e.type}));Object.keys(null==t?void 0:t.attributes).forEach((function(e){r.forEach((function(r){var o;r.name===e&&(n[e]=null===(o=null==t?void 0:t.attributes[e])||void 0===o?void 0:o.split(",").map((function(e){return{url:e,filename:e.substring(e.lastIndexOf("/")+1,e.includes("_")?e.lastIndexOf("_"):e.length)}})))}))}));var o=e.filter((function(e){return"auto_sync_dropdown"===e.type}));return Object.keys(null==t?void 0:t.attributes).forEach((function(e){o.forEach((function(r){r.name===e&&(n[e]=(null==t?void 0:t.attributes[e])?null==t?void 0:t.attributes[e].split(";"):"")}))})),n},inlineFilterValue:function(e,t){return{label:t,value:t}},inlineFilterMappedTo:function(e){return e},getFieldMetadataOptions:function(){return[]},getPrecision:function(){return 0},extractKanbanColumnName:function(e){return e},isPrefilledFormFieldExist:function(e,t){var n;return e.toLowerCase()===(null===(n=t.name)||void 0===n?void 0:n.toLowerCase())},extractCalendarDates:function(e){return(null==e?void 0:e.toString())||""},extractCalendarColor:function(e){return(null==e?void 0:e.toString())||""},getFilterType:function(){return"STATIC"},getFilterOptionValue:function(e){return e.name}};const ks=xs;var Ss,Cs,Es,Ts=function(){return Ts=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},Ts.apply(this,arguments)},Os=function(e){var t="function"==typeof Symbol&&Symbol.iterator,n=t&&e[t],r=0;if(n)return n.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&r>=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")};!function(e){e.FIRST_CREATED_FIELD="firstcreatedfield",e.LAST_UPDATED_FIELD="lastupdatedfield",e.USER_FIELD="userfield",e.COMMENTS_COUNT_FIELD="commentscountfield",e.AUTO_NUMBER_FIELD="autonumberfield",e.RECORD_TITLE_FIELD="recordtitlefield",e.RICH_TEXTAREA_FIELD="richtextareafield",e.TEXTAREA_FIELD="textareafield",e.TEXT_FIELD="textfield",e.TIME_FIELD="timefield",e.NUMBER_FIELD="numberfield",e.NUMBER_SLIDER_FIELD="numbersliderfield",e.CURRENCY_FIELD="currencyfield",e.ADDRESS_FIELD="addressfield",e.PERCENT_FIELD="percentfield",e.LINK_FIELD="linkfield",e.EMAIL_FIELD="emailfield",e.PHONE_FIELD="phonefield",e.YES_NO_FIELD="yesnofield",e.DATE_FIELD="datefield",e.FULL_NAME_FIELD="fullnamefield",e.DATE_RANGE_FIELD="daterangefield",e.MULTI_SELECT_FIELD="multipleselectfield",e.SINGLE_SELECT_FIELD="singleselectfield",e.LINKED_RECORD_FIELD="linkedrecordfield",e.FILE_FIELD="filefield",e.RATING_FIELD="ratingfield",e.SOCIAL_NETWORK_FIELD="socialnetworkfield",e.VOTE_FIELD="votefield",e.TAGS_FIELD="tagsfield",e.DUE_DATE_FIELD="duedatefield",e.STATUS_FIELD="statusfield",e.DURATION_FIELD="durationfield",e.PERCENT_COMPLETE_FIELD="percentcompletefield",e.CHECK_LIST_FIELD="checklistfield",e.TIME_TRACKING_FIELD="timetrackingfield",e.BUTTON_FIELD="buttonfield",e.COUNT_FIELD="countfield",e.ROLLUP_FIELD="rollupfield",e.LOOKUP_FIELD="lookupfield",e.FORMULA_FIELD="formulafield",e.RECORD_ID_FIELD="recordidfield",e.SIGNATURE_FIELD="signaturefield",e.COLOR_PICKER_FIELD="colorpickerfield",e.SUB_ITEMS_FIELD="subitemsfield"}(Cs||(Cs={})),function(e){e.RECORD_TITLE_FIELD="recordtitlefield",e.RICH_TEXTAREA_FIELD="richtextareafield",e.TEXTAREA_FIELD="textareafield",e.TEXT_FIELD="textfield",e.NUMBER_FIELD="numberfield",e.NUMBER_SLIDER_FIELD="numbersliderfield",e.CURRENCY_FIELD="currencyfield",e.PERCENT_FIELD="percentfield",e.PERCENT_COMPLETE_FIELD="percentcompletefield",e.PHONE_FIELD="phonefield",e.EMAIL_FIELD="emailfield",e.LINK_FIELD="linkfield",e.DATE_FIELD="datefield",e.DUE_DATE_FIELD="duedatefield",e.FIRST_CREATED_FIELD="firstcreatedfield",e.LAST_UPDATED_FIELD="lastupdatedfield",e.YES_NO_FIELD="yesnofield",e.RATING_FIELD="ratingfield",e.STATUS_FIELD="statusfield",e.COLOR_PICKER_FIELD="colorpickerfield",e.LOOKUP_FIELD="lookupfield",e.FORMULA_FIELD="formulafield",e.ROLLUP_FIELD="rollupfield",e.LINKED_RECORD_FIELD="linkedrecordfield",e.MULTI_SELECT_FIELD="multipleselectfield",e.SINGLE_SELECT_FIELD="singleselectfield",e.FILE_FIELD="filefield",e.TAGS_FIELD="tagsfield"}(Es||(Es={}));var $s={firstcreatedfield:"First Created Field",lastupdatedfield:"Last Updated Field",userfield:"User Field",commentscountfield:"Comments Count Field",autonumberfield:"Auto Number Field",recordtitlefield:"Record Title Field",richtextareafield:"Rich Text Area Field",textareafield:"Text Area Field",textfield:"Text Field",fullnamefield:"Full Name Field",singleselectfield:"Single Select Field",multipleselectfield:"Multiple Select Field",filefield:"File Field",datefield:"Date Field",daterangefield:"Date Range Field",timefield:"Time Field",numberfield:"Number Field",numbersliderfield:"Number Slider Field",percentfield:"Percent Field",currencyfield:"Currency Field",addressfield:"Address Field",linkfield:"Link Field",emailfield:"Email Field",phonefield:"Phone Field",yesnofield:"Yes/No Field",linkedrecordfield:"Linked Record Field",ratingfield:"Rating Field",votefield:"Vote Field",tagsfield:"Tags Field",socialnetworkfield:"Social Network Field",duedatefield:"Due Date Field",statusfield:"Status Field",durationfield:"Duration Field",percentcompletefield:"Percent Complete Field",checklistfield:"Checklist Field",timetrackingfield:"Time Tracking Field",buttonfield:"Button Field",countfield:"Count Field",rollupfield:"Rollup Field",lookupfield:"Lookup Field",formulafield:"Formula Field",recordidfield:"Record ID Field",signaturefield:"Signature Field",colorpickerfield:"Color Picker Field",subitemsfield:"Sub Item Field"},Ms=((Ss={})[Za.SHORT_TEXT]=[Es.TEXT_FIELD,Es.TEXTAREA_FIELD,Es.RICH_TEXTAREA_FIELD,Es.RECORD_TITLE_FIELD],Ss[Za.LONG_TEXT]=[Es.TEXT_FIELD,Es.TEXTAREA_FIELD,Es.RICH_TEXTAREA_FIELD,Es.RECORD_TITLE_FIELD],Ss[Za.RICH_TEXT]=[Es.TEXT_FIELD,Es.TEXTAREA_FIELD,Es.RICH_TEXTAREA_FIELD,Es.RECORD_TITLE_FIELD],Ss[Za.URL]=[Es.TEXT_FIELD,Es.TEXTAREA_FIELD,Es.RICH_TEXTAREA_FIELD,Es.LINK_FIELD,Es.FILE_FIELD,Es.RECORD_TITLE_FIELD],Ss[Za.EMAIL]=[Es.TEXT_FIELD,Es.TEXTAREA_FIELD,Es.RICH_TEXTAREA_FIELD,Es.EMAIL_FIELD,Es.RECORD_TITLE_FIELD],Ss[Za.PHONE_NUMBER]=[Es.TEXT_FIELD,Es.TEXTAREA_FIELD,Es.RICH_TEXTAREA_FIELD,Es.PHONE_FIELD,Es.RECORD_TITLE_FIELD],Ss[Za.FILE]=[Es.TEXT_FIELD,Es.TEXTAREA_FIELD,Es.RICH_TEXTAREA_FIELD,Es.FILE_FIELD,Es.LINK_FIELD],Ss[Za.DATE]=[Es.TEXT_FIELD,Es.TEXTAREA_FIELD,Es.RICH_TEXTAREA_FIELD,Es.DATE_FIELD,Es.DUE_DATE_FIELD],Ss[Za.DATE_TIME]=[Es.TEXT_FIELD,Es.TEXTAREA_FIELD,Es.RICH_TEXTAREA_FIELD,Es.DATE_FIELD,Es.DUE_DATE_FIELD],Ss[Za.RATING]=[Es.RATING_FIELD,Es.NUMBER_FIELD,Es.NUMBER_SLIDER_FIELD],Ss[Za.CHECKBOX]=[Es.YES_NO_FIELD],Ss[Za.DROPDOWN]=[Es.TEXT_FIELD,Es.TEXTAREA_FIELD,Es.RICH_TEXTAREA_FIELD,Es.SINGLE_SELECT_FIELD,Es.MULTI_SELECT_FIELD,Es.TAGS_FIELD,Es.LINKED_RECORD_FIELD,Es.STATUS_FIELD],Ss[Za.NUMBER]=[Es.TEXT_FIELD,Es.TEXTAREA_FIELD,Es.RICH_TEXTAREA_FIELD,Es.NUMBER_FIELD,Es.NUMBER_SLIDER_FIELD,Es.CURRENCY_FIELD,Es.PERCENT_FIELD,Es.PERCENT_COMPLETE_FIELD,Es.RATING_FIELD],Ss[Za.SIGNATURE]=[Es.TEXT_FIELD,Es.TEXTAREA_FIELD,Es.RICH_TEXTAREA_FIELD,Es.FILE_FIELD],Ss),As=function(e,t){var n,r,o=[];try{for(var i=Os(e),a=i.next();!a.done;a=i.next()){var s=a.value;(null==t?void 0:t.includes(s.label))&&o.push(s.value||s.id)}}catch(l){n={error:l}}finally{try{a&&!a.done&&(r=i.return)&&r.call(i)}finally{if(n)throw n.error}}return o.length?o:(null==t?void 0:t.length)?["No options found"]:[]},Ds={attachments:function(e,t,n){var r;if(!e)return[];if("string"==typeof e)return e.split(",").reduce((function(e,t){return t&&e.push({filename:(null==t?void 0:t.trim())||"",url:(null==t?void 0:t.trim())||""}),e}),[]);if(Array.isArray(e)&&e.length>0&&"string"==typeof e[0])return e.reduce((function(e,t){return t&&e.push({filename:(null==t?void 0:t.trim())||"",url:(null==t?void 0:t.trim())||""}),e}),[]);if((null==t?void 0:t.field_type)===Es.LOOKUP_FIELD){var o=null===(r=null==t?void 0:t.params)||void 0===r?void 0:r.target_field_structure;return(null==o?void 0:o.field_type)===Es.FILE_FIELD?aa(e,n):ia(e)}return Array.isArray(e)||"object"!=typeof e||e.handle?aa(e,n):[]},validateFieldType:function(e,t){var n=$s[null==t?void 0:t.field_type]||(null==t?void 0:t.field_type),r=Ba[e.type]||e.type;return{errorMessage:(null==t?void 0:t.field_type)&&!Ms[e.type].includes(null==t?void 0:t.field_type)?za(null==t?void 0:t.label,n,r):""}},isMultiselectAllowed:function(e){var t;return(null==e?void 0:e.field_type)===Es.MULTI_SELECT_FIELD||(null==e?void 0:e.field_type)===Es.TAGS_FIELD||(null==e?void 0:e.field_type)===Es.LINKED_RECORD_FIELD&&"multiple"===(null===(t=null==e?void 0:e.params)||void 0===t?void 0:t.entries_allowed)},getMetadataField:function(e,t){return null==e?void 0:e.find((function(e){return e.name===t}))},getMetadataFieldType:function(e,t){var n;return(null===(n=null==e?void 0:e.find((function(e){return e.name===t})))||void 0===n?void 0:n.field_type)||""},userProfileAttributes:function(e,t,n,r){var o=Ts({},t.attributes);return t.attributes?(e.forEach((function(e){var t,i,a,s,l=Ds.getMetadataFieldType(n.fields,(null==e?void 0:e.mappedTo)||(null==e?void 0:e.name)||"");if(e.type===ct.Image||e.type===ct.File){var c=o[e.mappedTo||e.name];(null==c?void 0:c.length)&&(o[e.mappedTo||e.name]=Ds.attachments(c,null,r))}if(e.type===ct.AutoSyncDropdown){var u=o[e.mappedTo||e.name];if(Array.isArray(u)&&e.multiSelect){return void(o[e.mappedTo||e.name]=u.map((function(t){return e.multiRecordsLink&&e.syncWithDataSource?function(e){return Ts(Ts({},e),{label:e.title})}(t):t.label||t.title})))}if(e.multiRecordsLink&&e.syncWithDataSource)return void(o[e.mappedTo||e.name]=Array.isArray(u)?u.map((function(e){return Ts(Ts({},e),{label:e.title})})):Ts(Ts({},u),{label:u.title}));if(Array.isArray(u))return void(o[e.mappedTo||e.name]=(null===(t=u[0])||void 0===t?void 0:t.label)||(null===(i=u[0])||void 0===i?void 0:i.title));o[e.mappedTo||e.name]=e.multiSelect?[null==u?void 0:u.label]:u.label}if(e.type===ct.Date||e.type===ct.DateTime){var d=e.mappedTo||e.name;if(Ds.getMetadataFieldType(n.fields,d)===Es.DUE_DATE_FIELD)return void(o[d]=null===(a=o[d])||void 0===a?void 0:a.to_date.date);o[d]=null===(s=o[d])||void 0===s?void 0:s.date}if(e.type!==ct.AutoSyncDropdown&&l===Es.LINKED_RECORD_FIELD){d=e.mappedTo||e.name,u=o[d];Array.isArray(u)?o[d]=u.map((function(e){return(null==e?void 0:e.label)||(null==e?void 0:e.title)})).join(","):o[d]=(null==u?void 0:u.label)||(null==u?void 0:u.title)}})),o):{}},inlineFilterValue:function(e,t,n,r){var o,i=t,a=null===(o=null==n?void 0:n.fields)||void 0===o?void 0:o.find((function(t){return t.name===e.mappedTo}));return(null==a?void 0:a.field_type)!==Es.MULTI_SELECT_FIELD&&(null==a?void 0:a.field_type)!==Es.TAGS_FIELD&&(null==a?void 0:a.field_type)!==Es.SINGLE_SELECT_FIELD&&(null==a?void 0:a.field_type)!==Es.STATUS_FIELD||(i=As(a.params.choices,t)),(null==a?void 0:a.field_type)===Es.LINKED_RECORD_FIELD&&(i=As(r,t)),{label:t,value:i}},inlineFilterMappedTo:function(e,t,n){var r,o,i,a;return void 0===n&&(n=!1),n?(null===(o=null===(r=null==t?void 0:t.fields)||void 0===r?void 0:r.find((function(t){return(null==t?void 0:t.label)===e})))||void 0===o?void 0:o.slug)||"":(null===(a=null===(i=null==t?void 0:t.fields)||void 0===i?void 0:i.find((function(t){return(null==t?void 0:t.slug)===e})))||void 0===a?void 0:a.label)||""},getFieldMetadataOptions:function(e){var t,n;return(null===(n=null===(t=null==e?void 0:e.params)||void 0===t?void 0:t.choices)||void 0===n?void 0:n.map((function(e){return{id:e.value,name:e.label}})))||[]},getPrecision:function(e){var t;return(null===(t=null==e?void 0:e.params)||void 0===t?void 0:t.precision)||0},extractKanbanColumnName:function(e,t,n,r){var o,i;void 0===r&&(r=!1);var a=null===(o=null==n?void 0:n.fields)||void 0===o?void 0:o.find((function(e){return e.slug===t}));return(null==a?void 0:a.field_type)===Es.MULTI_SELECT_FIELD||(null==a?void 0:a.field_type)===Es.TAGS_FIELD||(null==a?void 0:a.field_type)===Es.SINGLE_SELECT_FIELD||(null==a?void 0:a.field_type)===Es.STATUS_FIELD?r?null===(i=As(a.params.choices,e))||void 0===i?void 0:i[0]:function(e,t){var n;return(null===(n=e.find((function(e){return e.value===("string"==typeof t?t:null==t?void 0:t.value)})))||void 0===n?void 0:n.label)||[ta(t)].flat().join(", ")}(a.params.choices,e):ta(e)},isPrefilledFormFieldExist:function(e,t,n){var r=null==n?void 0:n.find((function(e){return(null==e?void 0:e.slug)===t.name}));return e.toLowerCase()===(null==r?void 0:r.label.toLowerCase())||e.toLowerCase()===(null==r?void 0:r.slug.toLowerCase())},extractCalendarDates:function(e){var t,n=(null==e?void 0:e.date)||(null===(t=null==e?void 0:e.to_date)||void 0===t?void 0:t.date)||(null==e?void 0:e.on)||e;if(n){var r=na(n.toString().replace("T"," "));return(0,Ca.default)(new Date(r))?r:""}return e},extractCalendarColor:function(e){var t=ta(e);return Array.isArray(t)?t[0]:t.toString()},getFilterType:function(e,t){return e.syncWithDatasource&&t?t.field_type===Es.LINKED_RECORD_FIELD?"LINKED_RECORD":"METADATA":"STATIC"},getFilterOptionValue:function(e,t){if(t&&t.field_type===Es.LINKED_RECORD_FIELD)return e.name;return e.id}};const Ls=Ds;var Ns,Rs=function(){return Rs=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},Rs.apply(this,arguments)},Is=function(e){var t="function"==typeof Symbol&&Symbol.iterator,n=t&&e[t],r=0;if(n)return n.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&r>=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")},Ps={number:"Number Field",text:"Text Field",date:"Date Field",select:"Select Field",checkbox:"Checkbox Field",phonenumber:"Phone number Field",radio:"Radio Field",score:"Score Field",calculation:"Calculation Field",textarea:"Textarea Field",booleancheckbox:"Boolean checkbox Field",file:"File field",html:"HTML field",enumerated:"Enumerated field"},Zs=((Ns={})[Za.SHORT_TEXT]=[Fa.TEXT,Fa.TEXTAREA,Fa.HTML],Ns[Za.LONG_TEXT]=[Fa.TEXT,Fa.TEXTAREA,Fa.HTML],Ns[Za.RICH_TEXT]=[Fa.TEXT,Fa.TEXTAREA,Fa.HTML],Ns[Za.URL]=[Fa.TEXT,Fa.TEXTAREA],Ns[Za.EMAIL]=[Fa.TEXT,Fa.TEXTAREA],Ns[Za.PHONE_NUMBER]=[Fa.TEXT,Fa.PHONE_NUMBER],Ns[Za.FILE]=[Fa.TEXT,Fa.FILE],Ns[Za.DATE]=[Fa.TEXT,Fa.DATE,Fa.TEXTAREA],Ns[Za.DATE_TIME]=[Fa.TEXT,Fa.DATE],Ns[Za.RATING]=[Fa.NUMBER],Ns[Za.CHECKBOX]=[Fa.CHECKBOX,Fa.BOOLEAN_CHECKBOX],Ns[Za.DROPDOWN]=[Fa.TEXT,Fa.SELECT,Fa.RADIO,Fa.BOOLEAN_CHECKBOX,Fa.CHECKBOX],Ns[Za.NUMBER]=[Fa.TEXT,Fa.NUMBER,Fa.SCORE],Ns[Za.HIDDEN]=[Fa.TEXT,Fa.TEXTAREA,Fa.PHONE_NUMBER,Fa.DATE,Fa.CHECKBOX,Fa.BOOLEAN_CHECKBOX,Fa.NUMBER,Fa.SELECT,Fa.SCORE,Fa.RADIO,Fa.HTML,Fa.ENUMERATED],Ns),_s=function(e,t){var n,r,o=[];try{for(var i=Is(e),a=i.next();!a.done;a=i.next()){var s=a.value;(null==t?void 0:t.includes(s.label))&&o.push(s.value)}}catch(l){n={error:l}}finally{try{a&&!a.done&&(r=i.return)&&r.call(i)}finally{if(n)throw n.error}}return o.length?o:(null==t?void 0:t.length)?["No options found"]:[]},Fs=function(e){return[Fa.SELECT,Fa.CHECKBOX,Fa.BOOLEAN_CHECKBOX,Fa.RADIO].includes(e)},js={attachments:function(e,t){return e?[{filename:null==t?void 0:t.name,url:e.toString()||""}]:[]},validateFieldType:function(e,t){var n=Ps[null==t?void 0:t.fieldType]||(null==t?void 0:t.fieldType),r=Ba[e.type]||e.type;return{errorMessage:(null==t?void 0:t.fieldType)&&!Zs[e.type].includes(null==t?void 0:t.fieldType)?za(null==t?void 0:t.label,n,r):""}},isMultiselectAllowed:function(){return!0},getMetadataFieldType:function(e,t){var n;return(null===(n=null==e?void 0:e.find((function(e){return e.name===t})))||void 0===n?void 0:n.fieldType)||""},userProfileAttributes:function(e,t){return t.attributes?Rs({},t.attributes):{}},inlineFilterMappedTo:function(e){return e},inlineFilterValue:function(e,t,n){var r,o=t,i=null===(r=null==n?void 0:n.fields)||void 0===r?void 0:r.find((function(t){return t.name===e.mappedTo}));return Fs(null==i?void 0:i.fieldType)&&(o=_s(i.options,t)),{label:t,value:o}},getFieldMetadataOptions:function(e){var t;return Array.isArray(null==e?void 0:e.options)&&(null===(t=null==e?void 0:e.options)||void 0===t?void 0:t.map((function(e){return{id:e.value,name:e.label}})))||[]},getPrecision:function(){return 0},extractKanbanColumnName:function(e,t,n,r){var o,i;void 0===r&&(r=!1);var a=null===(o=null==n?void 0:n.fields)||void 0===o?void 0:o.find((function(e){return e.name===t}));return Fs(null==a?void 0:a.fieldType)?r?null===(i=_s(a.options,e))||void 0===i?void 0:i[0]:function(e,t){var n;return(null===(n=e.find((function(e){return e.value===("string"==typeof t?t:null==t?void 0:t.value)})))||void 0===n?void 0:n.label)||""}(a.options,e):e},getMetadataField:function(e,t){return null==e?void 0:e.find((function(e){return e.name===t}))},isPrefilledFormFieldExist:function(e,t,n){var r=null==n?void 0:n.find((function(e){return(null==e?void 0:e.name)===t.name}));return e.toLowerCase()===(null==r?void 0:r.label.toLowerCase())},extractCalendarDates:function(e){return(null==e?void 0:e.toString())||""},extractCalendarColor:function(e){return(null==e?void 0:e.toString())||""},getFilterType:function(e,t){return e.syncWithDatasource&&t?"METADATA":"STATIC"},getFilterOptionValue:function(e){return e.id}};var Bs=function(){return Bs=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},Bs.apply(this,arguments)},zs={attachments:function(){return[]},validateFieldType:function(){return{errorMessage:""}},isMultiselectAllowed:function(){return!1},getMetadataFieldType:function(e,t){var n;return(null===(n=null==e?void 0:e.find((function(e){return e.name===t})))||void 0===n?void 0:n.type)||""},userProfileAttributes:function(e,t){return t.attributes?Bs({},t.attributes):{}},inlineFilterValue:function(e,t){return{label:t,value:t}},getMetadataField:function(e,t){return e.find((function(e){return e.name===t}))},inlineFilterMappedTo:function(e){return e},getFieldMetadataOptions:function(){return[]},getPrecision:function(){return 0},extractKanbanColumnName:function(e){return e},isPrefilledFormFieldExist:function(e,t){var n;return e.toLowerCase()===(null===(n=t.name)||void 0===n?void 0:n.toLowerCase())},extractCalendarDates:function(e){return(null==e?void 0:e.toString())||""},extractCalendarColor:function(e){return(null==e?void 0:e.toString())||""},getFilterType:function(){return"STATIC"},getFilterOptionValue:function(e){return e.id}};var Hs={AIRTABLE:bs,GOOGLE_SHEET:ks,SMARTSUITE:Ls,HUBSPOT:js,GOOGLE_BIGQUERY:zs},Us={airtable:bs,ghseet:ks},Ws=function(e){if(!e)return es(),bs;var t=Hs[e]||Us[e];if(!t)throw new Error('Could not find data processor for datasource type: "'.concat(e,'"'));return t};function Vs(e){return Vs="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},Vs(e)}var qs=/^\s+/,Gs=/\s+$/;function Ks(e,t){if(t=t||{},(e=e||"")instanceof Ks)return e;if(!(this instanceof Ks))return new Ks(e,t);var n=function(e){var t={r:0,g:0,b:0},n=1,r=null,o=null,i=null,a=!1,s=!1;"string"==typeof e&&(e=function(e){e=e.replace(qs,"").replace(Gs,"").toLowerCase();var t,n=!1;if(pl[e])e=pl[e],n=!0;else if("transparent"==e)return{r:0,g:0,b:0,a:0,format:"name"};if(t=El.rgb.exec(e))return{r:t[1],g:t[2],b:t[3]};if(t=El.rgba.exec(e))return{r:t[1],g:t[2],b:t[3],a:t[4]};if(t=El.hsl.exec(e))return{h:t[1],s:t[2],l:t[3]};if(t=El.hsla.exec(e))return{h:t[1],s:t[2],l:t[3],a:t[4]};if(t=El.hsv.exec(e))return{h:t[1],s:t[2],v:t[3]};if(t=El.hsva.exec(e))return{h:t[1],s:t[2],v:t[3],a:t[4]};if(t=El.hex8.exec(e))return{r:gl(t[1]),g:gl(t[2]),b:gl(t[3]),a:xl(t[4]),format:n?"name":"hex8"};if(t=El.hex6.exec(e))return{r:gl(t[1]),g:gl(t[2]),b:gl(t[3]),format:n?"name":"hex"};if(t=El.hex4.exec(e))return{r:gl(t[1]+""+t[1]),g:gl(t[2]+""+t[2]),b:gl(t[3]+""+t[3]),a:xl(t[4]+""+t[4]),format:n?"name":"hex8"};if(t=El.hex3.exec(e))return{r:gl(t[1]+""+t[1]),g:gl(t[2]+""+t[2]),b:gl(t[3]+""+t[3]),format:n?"name":"hex"};return!1}(e));"object"==Vs(e)&&(Tl(e.r)&&Tl(e.g)&&Tl(e.b)?(t=function(e,t,n){return{r:255*ml(e,255),g:255*ml(t,255),b:255*ml(n,255)}}(e.r,e.g,e.b),a=!0,s="%"===String(e.r).substr(-1)?"prgb":"rgb"):Tl(e.h)&&Tl(e.s)&&Tl(e.v)?(r=bl(e.s),o=bl(e.v),t=function(e,t,n){e=6*ml(e,360),t=ml(t,100),n=ml(n,100);var r=Math.floor(e),o=e-r,i=n*(1-t),a=n*(1-o*t),s=n*(1-(1-o)*t),l=r%6,c=[n,a,i,i,s,n][l],u=[s,n,n,a,i,i][l],d=[i,i,s,n,n,a][l];return{r:255*c,g:255*u,b:255*d}}(e.h,r,o),a=!0,s="hsv"):Tl(e.h)&&Tl(e.s)&&Tl(e.l)&&(r=bl(e.s),i=bl(e.l),t=function(e,t,n){var r,o,i;function a(e,t,n){return n<0&&(n+=1),n>1&&(n-=1),n<1/6?e+6*(t-e)*n:n<.5?t:n<2/3?e+(t-e)*(2/3-n)*6:e}if(e=ml(e,360),t=ml(t,100),n=ml(n,100),0===t)r=o=i=n;else{var s=n<.5?n*(1+t):n+t-n*t,l=2*n-s;r=a(l,s,e+1/3),o=a(l,s,e),i=a(l,s,e-1/3)}return{r:255*r,g:255*o,b:255*i}}(e.h,r,i),a=!0,s="hsl"),e.hasOwnProperty("a")&&(n=e.a));return n=hl(n),{ok:a,format:e.format||s,r:Math.min(255,Math.max(t.r,0)),g:Math.min(255,Math.max(t.g,0)),b:Math.min(255,Math.max(t.b,0)),a:n}}(e);this._originalInput=e,this._r=n.r,this._g=n.g,this._b=n.b,this._a=n.a,this._roundA=Math.round(100*this._a)/100,this._format=t.format||n.format,this._gradientType=t.gradientType,this._r<1&&(this._r=Math.round(this._r)),this._g<1&&(this._g=Math.round(this._g)),this._b<1&&(this._b=Math.round(this._b)),this._ok=n.ok}function Ys(e,t,n){e=ml(e,255),t=ml(t,255),n=ml(n,255);var r,o,i=Math.max(e,t,n),a=Math.min(e,t,n),s=(i+a)/2;if(i==a)r=o=0;else{var l=i-a;switch(o=s>.5?l/(2-i-a):l/(i+a),i){case e:r=(t-n)/l+(t<n?6:0);break;case t:r=(n-e)/l+2;break;case n:r=(e-t)/l+4}r/=6}return{h:r,s:o,l:s}}function Xs(e,t,n){e=ml(e,255),t=ml(t,255),n=ml(n,255);var r,o,i=Math.max(e,t,n),a=Math.min(e,t,n),s=i,l=i-a;if(o=0===i?0:l/i,i==a)r=0;else{switch(i){case e:r=(t-n)/l+(t<n?6:0);break;case t:r=(n-e)/l+2;break;case n:r=(e-t)/l+4}r/=6}return{h:r,s:o,v:s}}function Js(e,t,n,r){var o=[yl(Math.round(e).toString(16)),yl(Math.round(t).toString(16)),yl(Math.round(n).toString(16))];return r&&o[0].charAt(0)==o[0].charAt(1)&&o[1].charAt(0)==o[1].charAt(1)&&o[2].charAt(0)==o[2].charAt(1)?o[0].charAt(0)+o[1].charAt(0)+o[2].charAt(0):o.join("")}function Qs(e,t,n,r){return[yl(wl(r)),yl(Math.round(e).toString(16)),yl(Math.round(t).toString(16)),yl(Math.round(n).toString(16))].join("")}function el(e,t){t=0===t?0:t||10;var n=Ks(e).toHsl();return n.s-=t/100,n.s=vl(n.s),Ks(n)}function tl(e,t){t=0===t?0:t||10;var n=Ks(e).toHsl();return n.s+=t/100,n.s=vl(n.s),Ks(n)}function nl(e){return Ks(e).desaturate(100)}function rl(e,t){t=0===t?0:t||10;var n=Ks(e).toHsl();return n.l+=t/100,n.l=vl(n.l),Ks(n)}function ol(e,t){t=0===t?0:t||10;var n=Ks(e).toRgb();return n.r=Math.max(0,Math.min(255,n.r-Math.round(-t/100*255))),n.g=Math.max(0,Math.min(255,n.g-Math.round(-t/100*255))),n.b=Math.max(0,Math.min(255,n.b-Math.round(-t/100*255))),Ks(n)}function il(e,t){t=0===t?0:t||10;var n=Ks(e).toHsl();return n.l-=t/100,n.l=vl(n.l),Ks(n)}function al(e,t){var n=Ks(e).toHsl(),r=(n.h+t)%360;return n.h=r<0?360+r:r,Ks(n)}function sl(e){var t=Ks(e).toHsl();return t.h=(t.h+180)%360,Ks(t)}function ll(e,t){if(isNaN(t)||t<=0)throw new Error("Argument to polyad must be a positive number");for(var n=Ks(e).toHsl(),r=[Ks(e)],o=360/t,i=1;i<t;i++)r.push(Ks({h:(n.h+i*o)%360,s:n.s,l:n.l}));return r}function cl(e){var t=Ks(e).toHsl(),n=t.h;return[Ks(e),Ks({h:(n+72)%360,s:t.s,l:t.l}),Ks({h:(n+216)%360,s:t.s,l:t.l})]}function ul(e,t,n){t=t||6,n=n||30;var r=Ks(e).toHsl(),o=360/n,i=[Ks(e)];for(r.h=(r.h-(o*t>>1)+720)%360;--t;)r.h=(r.h+o)%360,i.push(Ks(r));return i}function dl(e,t){t=t||6;for(var n=Ks(e).toHsv(),r=n.h,o=n.s,i=n.v,a=[],s=1/t;t--;)a.push(Ks({h:r,s:o,v:i})),i=(i+s)%1;return a}Ks.prototype={isDark:function(){return this.getBrightness()<128},isLight:function(){return!this.isDark()},isValid:function(){return this._ok},getOriginalInput:function(){return this._originalInput},getFormat:function(){return this._format},getAlpha:function(){return this._a},getBrightness:function(){var e=this.toRgb();return(299*e.r+587*e.g+114*e.b)/1e3},getLuminance:function(){var e,t,n,r=this.toRgb();return e=r.r/255,t=r.g/255,n=r.b/255,.2126*(e<=.03928?e/12.92:Math.pow((e+.055)/1.055,2.4))+.7152*(t<=.03928?t/12.92:Math.pow((t+.055)/1.055,2.4))+.0722*(n<=.03928?n/12.92:Math.pow((n+.055)/1.055,2.4))},setAlpha:function(e){return this._a=hl(e),this._roundA=Math.round(100*this._a)/100,this},toHsv:function(){var e=Xs(this._r,this._g,this._b);return{h:360*e.h,s:e.s,v:e.v,a:this._a}},toHsvString:function(){var e=Xs(this._r,this._g,this._b),t=Math.round(360*e.h),n=Math.round(100*e.s),r=Math.round(100*e.v);return 1==this._a?"hsv("+t+", "+n+"%, "+r+"%)":"hsva("+t+", "+n+"%, "+r+"%, "+this._roundA+")"},toHsl:function(){var e=Ys(this._r,this._g,this._b);return{h:360*e.h,s:e.s,l:e.l,a:this._a}},toHslString:function(){var e=Ys(this._r,this._g,this._b),t=Math.round(360*e.h),n=Math.round(100*e.s),r=Math.round(100*e.l);return 1==this._a?"hsl("+t+", "+n+"%, "+r+"%)":"hsla("+t+", "+n+"%, "+r+"%, "+this._roundA+")"},toHex:function(e){return Js(this._r,this._g,this._b,e)},toHexString:function(e){return"#"+this.toHex(e)},toHex8:function(e){return function(e,t,n,r,o){var i=[yl(Math.round(e).toString(16)),yl(Math.round(t).toString(16)),yl(Math.round(n).toString(16)),yl(wl(r))];if(o&&i[0].charAt(0)==i[0].charAt(1)&&i[1].charAt(0)==i[1].charAt(1)&&i[2].charAt(0)==i[2].charAt(1)&&i[3].charAt(0)==i[3].charAt(1))return i[0].charAt(0)+i[1].charAt(0)+i[2].charAt(0)+i[3].charAt(0);return i.join("")}(this._r,this._g,this._b,this._a,e)},toHex8String:function(e){return"#"+this.toHex8(e)},toRgb:function(){return{r:Math.round(this._r),g:Math.round(this._g),b:Math.round(this._b),a:this._a}},toRgbString:function(){return 1==this._a?"rgb("+Math.round(this._r)+", "+Math.round(this._g)+", "+Math.round(this._b)+")":"rgba("+Math.round(this._r)+", "+Math.round(this._g)+", "+Math.round(this._b)+", "+this._roundA+")"},toPercentageRgb:function(){return{r:Math.round(100*ml(this._r,255))+"%",g:Math.round(100*ml(this._g,255))+"%",b:Math.round(100*ml(this._b,255))+"%",a:this._a}},toPercentageRgbString:function(){return 1==this._a?"rgb("+Math.round(100*ml(this._r,255))+"%, "+Math.round(100*ml(this._g,255))+"%, "+Math.round(100*ml(this._b,255))+"%)":"rgba("+Math.round(100*ml(this._r,255))+"%, "+Math.round(100*ml(this._g,255))+"%, "+Math.round(100*ml(this._b,255))+"%, "+this._roundA+")"},toName:function(){return 0===this._a?"transparent":!(this._a<1)&&(fl[Js(this._r,this._g,this._b,!0)]||!1)},toFilter:function(e){var t="#"+Qs(this._r,this._g,this._b,this._a),n=t,r=this._gradientType?"GradientType = 1, ":"";if(e){var o=Ks(e);n="#"+Qs(o._r,o._g,o._b,o._a)}return"progid:DXImageTransform.Microsoft.gradient("+r+"startColorstr="+t+",endColorstr="+n+")"},toString:function(e){var t=!!e;e=e||this._format;var n=!1,r=this._a<1&&this._a>=0;return t||!r||"hex"!==e&&"hex6"!==e&&"hex3"!==e&&"hex4"!==e&&"hex8"!==e&&"name"!==e?("rgb"===e&&(n=this.toRgbString()),"prgb"===e&&(n=this.toPercentageRgbString()),"hex"!==e&&"hex6"!==e||(n=this.toHexString()),"hex3"===e&&(n=this.toHexString(!0)),"hex4"===e&&(n=this.toHex8String(!0)),"hex8"===e&&(n=this.toHex8String()),"name"===e&&(n=this.toName()),"hsl"===e&&(n=this.toHslString()),"hsv"===e&&(n=this.toHsvString()),n||this.toHexString()):"name"===e&&0===this._a?this.toName():this.toRgbString()},clone:function(){return Ks(this.toString())},_applyModification:function(e,t){var n=e.apply(null,[this].concat([].slice.call(t)));return this._r=n._r,this._g=n._g,this._b=n._b,this.setAlpha(n._a),this},lighten:function(){return this._applyModification(rl,arguments)},brighten:function(){return this._applyModification(ol,arguments)},darken:function(){return this._applyModification(il,arguments)},desaturate:function(){return this._applyModification(el,arguments)},saturate:function(){return this._applyModification(tl,arguments)},greyscale:function(){return this._applyModification(nl,arguments)},spin:function(){return this._applyModification(al,arguments)},_applyCombination:function(e,t){return e.apply(null,[this].concat([].slice.call(t)))},analogous:function(){return this._applyCombination(ul,arguments)},complement:function(){return this._applyCombination(sl,arguments)},monochromatic:function(){return this._applyCombination(dl,arguments)},splitcomplement:function(){return this._applyCombination(cl,arguments)},triad:function(){return this._applyCombination(ll,[3])},tetrad:function(){return this._applyCombination(ll,[4])}},Ks.fromRatio=function(e,t){if("object"==Vs(e)){var n={};for(var r in e)e.hasOwnProperty(r)&&(n[r]="a"===r?e[r]:bl(e[r]));e=n}return Ks(e,t)},Ks.equals=function(e,t){return!(!e||!t)&&Ks(e).toRgbString()==Ks(t).toRgbString()},Ks.random=function(){return Ks.fromRatio({r:Math.random(),g:Math.random(),b:Math.random()})},Ks.mix=function(e,t,n){n=0===n?0:n||50;var r=Ks(e).toRgb(),o=Ks(t).toRgb(),i=n/100;return Ks({r:(o.r-r.r)*i+r.r,g:(o.g-r.g)*i+r.g,b:(o.b-r.b)*i+r.b,a:(o.a-r.a)*i+r.a})},Ks.readability=function(e,t){var n=Ks(e),r=Ks(t);return(Math.max(n.getLuminance(),r.getLuminance())+.05)/(Math.min(n.getLuminance(),r.getLuminance())+.05)},Ks.isReadable=function(e,t,n){var r,o,i=Ks.readability(e,t);switch(o=!1,(r=function(e){var t,n;t=((e=e||{level:"AA",size:"small"}).level||"AA").toUpperCase(),n=(e.size||"small").toLowerCase(),"AA"!==t&&"AAA"!==t&&(t="AA");"small"!==n&&"large"!==n&&(n="small");return{level:t,size:n}}(n)).level+r.size){case"AAsmall":case"AAAlarge":o=i>=4.5;break;case"AAlarge":o=i>=3;break;case"AAAsmall":o=i>=7}return o},Ks.mostReadable=function(e,t,n){var r,o,i,a,s=null,l=0;o=(n=n||{}).includeFallbackColors,i=n.level,a=n.size;for(var c=0;c<t.length;c++)(r=Ks.readability(e,t[c]))>l&&(l=r,s=Ks(t[c]));return Ks.isReadable(e,s,{level:i,size:a})||!o?s:(n.includeFallbackColors=!1,Ks.mostReadable(e,["#fff","#000"],n))};var pl=Ks.names={aliceblue:"f0f8ff",antiquewhite:"faebd7",aqua:"0ff",aquamarine:"7fffd4",azure:"f0ffff",beige:"f5f5dc",bisque:"ffe4c4",black:"000",blanchedalmond:"ffebcd",blue:"00f",blueviolet:"8a2be2",brown:"a52a2a",burlywood:"deb887",burntsienna:"ea7e5d",cadetblue:"5f9ea0",chartreuse:"7fff00",chocolate:"d2691e",coral:"ff7f50",cornflowerblue:"6495ed",cornsilk:"fff8dc",crimson:"dc143c",cyan:"0ff",darkblue:"00008b",darkcyan:"008b8b",darkgoldenrod:"b8860b",darkgray:"a9a9a9",darkgreen:"006400",darkgrey:"a9a9a9",darkkhaki:"bdb76b",darkmagenta:"8b008b",darkolivegreen:"556b2f",darkorange:"ff8c00",darkorchid:"9932cc",darkred:"8b0000",darksalmon:"e9967a",darkseagreen:"8fbc8f",darkslateblue:"483d8b",darkslategray:"2f4f4f",darkslategrey:"2f4f4f",darkturquoise:"00ced1",darkviolet:"9400d3",deeppink:"ff1493",deepskyblue:"00bfff",dimgray:"696969",dimgrey:"696969",dodgerblue:"1e90ff",firebrick:"b22222",floralwhite:"fffaf0",forestgreen:"228b22",fuchsia:"f0f",gainsboro:"dcdcdc",ghostwhite:"f8f8ff",gold:"ffd700",goldenrod:"daa520",gray:"808080",green:"008000",greenyellow:"adff2f",grey:"808080",honeydew:"f0fff0",hotpink:"ff69b4",indianred:"cd5c5c",indigo:"4b0082",ivory:"fffff0",khaki:"f0e68c",lavender:"e6e6fa",lavenderblush:"fff0f5",lawngreen:"7cfc00",lemonchiffon:"fffacd",lightblue:"add8e6",lightcoral:"f08080",lightcyan:"e0ffff",lightgoldenrodyellow:"fafad2",lightgray:"d3d3d3",lightgreen:"90ee90",lightgrey:"d3d3d3",lightpink:"ffb6c1",lightsalmon:"ffa07a",lightseagreen:"20b2aa",lightskyblue:"87cefa",lightslategray:"789",lightslategrey:"789",lightsteelblue:"b0c4de",lightyellow:"ffffe0",lime:"0f0",limegreen:"32cd32",linen:"faf0e6",magenta:"f0f",maroon:"800000",mediumaquamarine:"66cdaa",mediumblue:"0000cd",mediumorchid:"ba55d3",mediumpurple:"9370db",mediumseagreen:"3cb371",mediumslateblue:"7b68ee",mediumspringgreen:"00fa9a",mediumturquoise:"48d1cc",mediumvioletred:"c71585",midnightblue:"191970",mintcream:"f5fffa",mistyrose:"ffe4e1",moccasin:"ffe4b5",navajowhite:"ffdead",navy:"000080",oldlace:"fdf5e6",olive:"808000",olivedrab:"6b8e23",orange:"ffa500",orangered:"ff4500",orchid:"da70d6",palegoldenrod:"eee8aa",palegreen:"98fb98",paleturquoise:"afeeee",palevioletred:"db7093",papayawhip:"ffefd5",peachpuff:"ffdab9",peru:"cd853f",pink:"ffc0cb",plum:"dda0dd",powderblue:"b0e0e6",purple:"800080",rebeccapurple:"663399",red:"f00",rosybrown:"bc8f8f",royalblue:"4169e1",saddlebrown:"8b4513",salmon:"fa8072",sandybrown:"f4a460",seagreen:"2e8b57",seashell:"fff5ee",sienna:"a0522d",silver:"c0c0c0",skyblue:"87ceeb",slateblue:"6a5acd",slategray:"708090",slategrey:"708090",snow:"fffafa",springgreen:"00ff7f",steelblue:"4682b4",tan:"d2b48c",teal:"008080",thistle:"d8bfd8",tomato:"ff6347",turquoise:"40e0d0",violet:"ee82ee",wheat:"f5deb3",white:"fff",whitesmoke:"f5f5f5",yellow:"ff0",yellowgreen:"9acd32"},fl=Ks.hexNames=function(e){var t={};for(var n in e)e.hasOwnProperty(n)&&(t[e[n]]=n);return t}(pl);function hl(e){return e=parseFloat(e),(isNaN(e)||e<0||e>1)&&(e=1),e}function ml(e,t){(function(e){return"string"==typeof e&&-1!=e.indexOf(".")&&1===parseFloat(e)})(e)&&(e="100%");var n=function(e){return"string"==typeof e&&-1!=e.indexOf("%")}(e);return e=Math.min(t,Math.max(0,parseFloat(e))),n&&(e=parseInt(e*t,10)/100),Math.abs(e-t)<1e-6?1:e%t/parseFloat(t)}function vl(e){return Math.min(1,Math.max(0,e))}function gl(e){return parseInt(e,16)}function yl(e){return 1==e.length?"0"+e:""+e}function bl(e){return e<=1&&(e=100*e+"%"),e}function wl(e){return Math.round(255*parseFloat(e)).toString(16)}function xl(e){return gl(e)/255}var kl,Sl,Cl,El=(Sl="[\\s|\\(]+("+(kl="(?:[-\\+]?\\d*\\.\\d+%?)|(?:[-\\+]?\\d+%?)")+")[,|\\s]+("+kl+")[,|\\s]+("+kl+")\\s*\\)?",Cl="[\\s|\\(]+("+kl+")[,|\\s]+("+kl+")[,|\\s]+("+kl+")[,|\\s]+("+kl+")\\s*\\)?",{CSS_UNIT:new RegExp(kl),rgb:new RegExp("rgb"+Sl),rgba:new RegExp("rgba"+Cl),hsl:new RegExp("hsl"+Sl),hsla:new RegExp("hsla"+Cl),hsv:new RegExp("hsv"+Sl),hsva:new RegExp("hsva"+Cl),hex3:/^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex6:/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/,hex4:/^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex8:/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/});function Tl(e){return!!El.CSS_UNIT.exec(e)}var Ol=function(e){if(!e)return"/";var t;t=e.startsWith("https")||e.startsWith("http")||e.startsWith("mailto")||e.startsWith("#")||e.startsWith("/")||e.startsWith("tel")||e.startsWith("sms")?e:-1!==e.indexOf(".")?"https://"+e:"";var n,r=((n=window.location.pathname).includes("/r/")&&(n=(n=n.substring(0,n.indexOf("/r/"))).substring(0,n.lastIndexOf("/"))),n+(n.endsWith("/")?"":"/"));return t&&t.startsWith(r+"#")?"#"+t.split("#")[1]:t},$l=function(e,t){if(Array.from(document.styleSheets).find((function(t){return t.href===e})))t&&t();else{var n=document.createElement("link");n.setAttribute("type","text/css"),n.setAttribute("rel","Stylesheet"),n.setAttribute("href",e),t&&(n.onload=t),document.head.appendChild(n)}};var Ml=function(){var e=function(t,n){return e=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,n)};return function(t,n){if("function"!=typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),Al=function(){return Al=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},Al.apply(this,arguments)},Dl=function(e,t,n,r){return new(n||(n=Promise))((function(o,i){function a(e){try{l(r.next(e))}catch(Yr){i(Yr)}}function s(e){try{l(r.throw(e))}catch(Yr){i(Yr)}}function l(e){var t;e.done?o(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())}))},Ll=function(e,t){var n,r,o,i,a={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return i={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function s(s){return function(l){return function(s){if(n)throw new TypeError("Generator is already executing.");for(;i&&(i=0,s[0]&&(a=0)),a;)try{if(n=1,r&&(o=2&s[0]?r.return:s[0]?r.throw||((o=r.return)&&o.call(r),0):r.next)&&!(o=o.call(r,s[1])).done)return o;switch(r=0,o&&(s=[2&s[0],o.value]),s[0]){case 0:case 1:o=s;break;case 4:return a.label++,{value:s[1],done:!1};case 5:a.label++,r=s[1],s=[0];continue;case 7:s=a.ops.pop(),a.trys.pop();continue;default:if(!(o=a.trys,(o=o.length>0&&o[o.length-1])||6!==s[0]&&2!==s[0])){a=0;continue}if(3===s[0]&&(!o||s[1]>o[0]&&s[1]<o[3])){a.label=s[1];break}if(6===s[0]&&a.label<o[1]){a.label=o[1],o=s;break}if(o&&a.label<o[2]){a.label=o[2],a.ops.push(s);break}o[2]&&a.ops.pop(),a.trys.pop();continue}s=t.call(e,a)}catch(Yr){s=[6,Yr],r=0}finally{n=o=0}if(5&s[0])throw s[1];return{value:s[0]?s[1]:void 0,done:!0}}([s,l])}}},Nl=function(e,t){var n="function"==typeof Symbol&&e[Symbol.iterator];if(!n)return e;var r,o,i=n.call(e),a=[];try{for(;(void 0===t||t-- >0)&&!(r=i.next()).done;)a.push(r.value)}catch(s){o={error:s}}finally{try{r&&!r.done&&(n=i.return)&&n.call(i)}finally{if(o)throw o.error}}return a},Rl=function(e,t,n){if(n||2===arguments.length)for(var r,o=0,i=t.length;o<i;o++)!r&&o in t||(r||(r=Array.prototype.slice.call(t,0,o)),r[o]=t[o]);return e.concat(r||Array.prototype.slice.call(t))},Il=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return Ml(t,e),t.prototype.getBaseUrl=function(){var e,t=this.pageId;if(Yo()){var n=null===(e=window.top)||void 0===e?void 0:e.location.href;if(n){var r=n.split("/");t=(t=r[r.length-1]).split("?")[0]}}return"".concat(this.getDataSourceServiceUrl(),"/v1/datasource/hubspot/").concat(this.applicationId,"/").concat(t,"/").concat(this.blockId,"/").concat(this.dataSourceId)},t.prototype.getRecords=function(e,t){var n=this,r=e.sorting,o=void 0===r?[]:r,i=e.search,a=void 0===i?"":i,s=e.pagination,l=void 0===s?{}:s,c=e.inlineFilters,u=void 0===c?[]:c,d=e.filters,p=void 0===d?{}:d,f=e.metadata,h=e.delayTime,m=Al({},l);return new Promise((function(e,r){var i=!m.perPage||m.perPage>100,s=m.perPage&&m.perPage<1e4?m.perPage:Yo()?100:15e3;i&&(m.perPage=100);var l=function(c,d){return void 0===d&&(d=[]),Dl(n,void 0,void 0,(function(){var n,v,g,y,b,w=this;return Ll(this,(function(x){switch(x.label){case 0:return n="".concat(this.getBaseUrl(),"/data"),v={options:{cellFormat:"json",timeZone:Intl.DateTimeFormat().resolvedOptions().timeZone,userLocale:"en-US"},pageContext:c?{context:c}:null,filterCriteria:{}},!Yo()&&p.recordId?n="".concat(n,"/").concat(p.recordId):v.pagingOption={offset:m.offset||null,count:m.perPage||100},(null==o?void 0:o.length)&&(v.sortingOption={sortingField:o[0].field,sortType:o[0].direction.toUpperCase()}),g=[],a&&(null===(b=null===(y=null==p?void 0:p.searchOptions)||void 0===y?void 0:y.fields)||void 0===b?void 0:b.length)&&g.push(this.getFilterConditionGroupForSearch(p.searchOptions,a,f)),u.length&&u.forEach((function(e){var t,n=e.filter,r=e.value,o="INLINE_CONTAINS",i=null===(t=null==f?void 0:f.fields.find((function(e){return e.name===n.mappedTo})))||void 0===t?void 0:t.fieldType;i!==Fa.ENUMERATED&&i!==Fa.SELECT||(o="IS"),g.push(w.getFilterConditionGroup(n,r,o))})),g.length&&(v.filterCriteria.filterConditionGroup={logicalOperator:"AND",filterGroups:g}),[4,(k=h||0,new Promise((function(e){return setTimeout(e,k)})))];case 1:return x.sent(),pt().post(n,v,Al({headers:{"Content-Type":"application/json"},withCredentials:!0},t)).catch((function(e){var t,n,o,i,a,s,l,c,u,d,p,f,h=Ur;(null===(n=null===(t=null==e?void 0:e.response)||void 0===t?void 0:t.data)||void 0===n?void 0:n.message)&&(h=null===(i=null===(o=null==e?void 0:e.response)||void 0===o?void 0:o.data)||void 0===i?void 0:i.message);var m="",v="",g=(null===(s=null===(a=null==e?void 0:e.response)||void 0===a?void 0:a.data)||void 0===s?void 0:s.payload)&&JSON.parse(null===(c=null===(l=null==e?void 0:e.response)||void 0===l?void 0:l.data)||void 0===c?void 0:c.payload);g?(m=g.error||"",v=g.detail||""):(m=(null===(d=null===(u=null==e?void 0:e.response)||void 0===u?void 0:u.data)||void 0===d?void 0:d.error)||"",v=(null===(f=null===(p=null==e?void 0:e.response)||void 0===p?void 0:p.data)||void 0===f?void 0:f.detail)||""),Yo()&&m.includes("SE-")?window.parent.postMessage({error:m,detail:v},"*"):r({type:"error",message:h})})).then((function(t){var n=t?t.data.items?Rl(Rl([],Nl(d),!1),Nl(t.data.items),!1):[t.data||[]]:[],r=(null==t?void 0:t.data.offset)<(null==t?void 0:t.data.total)?null==t?void 0:t.data.offset:void 0;i&&r&&n.length<s?(m.offset=r,l(c,n)):e({records:n,offset:r,totalCount:null==t?void 0:t.data.total})})),[2]}var k}))}))};n.isLinkedList?Jo().then(l).catch((function(){r({type:"error",message:Vr})})):l()}))},t.prototype.getMetadata=function(e){var t=this;return new Promise((function(n,r){var o="".concat(t.getBaseUrl(),"/metadata");pt().get(o,Al({headers:{"Content-Type":"application/json"},withCredentials:!0},e)).catch((function(){r("Failed to get datasource metadata.")})).then((function(e){n(null==e?void 0:e.data)}))}))},t.prototype.addRecord=function(e,t){var n=this;return new Promise((function(r,o){var i="".concat(n.getBaseUrl(),"/data/new");try{var a=Dl(n,void 0,void 0,(function(){return Ll(this,(function(n){switch(n.label){case 0:return[4,pt().post(i,{fields:e,context:null==t?void 0:t.context},{headers:{"Content-Type":"application/json"},withCredentials:!0})];case 1:return[2,n.sent()]}}))}));r(a)}catch(h){var s=(h||{}).response,l=(void 0===s?{}:s).data,c=void 0===l?{}:l,u=c.message,d=void 0===u?"":u,p=c.error,f=void 0===p?"":p;if("SE-001"===f||"SE-008"===f)return void o({message:d});o({message:f||d})}}))},t.prototype.deleteRecord=function(e){var t=this;return new Promise((function(n,r){var o="".concat(t.getBaseUrl(),"/data/").concat(e);pt().delete(o,{headers:{"Content-Type":"application/json"},withCredentials:!0}).then((function(){n(!0)})).catch((function(e){var t=(e||{}).response,n=(void 0===t?{}:t).data,o=void 0===n?{}:n,i=o.message,a=void 0===i?"":i,s=o.error,l=void 0===s?"":s;r("SE-010"!==l?{message:l||a}:{message:a})}))}))},t.prototype.updateRecord=function(e,t,n){var r=this;return new Promise((function(o,i){var a="".concat(r.getBaseUrl(),"/data/").concat(e);pt().patch(a,{fields:t,typecast:null==n?void 0:n.typecast,context:null==n?void 0:n.context},{headers:{"Content-Type":"application/json"},withCredentials:!0}).then((function(e){o(e)})).catch((function(e){var t=(e||{}).response,n=(void 0===t?{}:t).data,r=void 0===n?{}:n,o=r.message,a=void 0===o?"":o,s=r.error,l=void 0===s?"":s;i("SE-001"!==l&&"SE-009"!==l?{message:l||a}:{message:a})}))}))},t.prototype.getRecord=function(e,t){var n=this,r=(t||{}).asString,o=void 0===r||r,i=e||qo();return new Promise((function(e,t){var r={recordId:i},a={perPage:!r.recordId&&Yo()?10:1};n.getRecords({pagination:a,filters:r,asString:o}).then((function(t){var n=t.records;(null==n?void 0:n.length)&&(null==n?void 0:n.length)>1?e(Qo(n)):e((null==n?void 0:n[0])||{})})).catch((function(e){t(e)}))}))},t.prototype.getLinkedRecordValues=function(){return Promise.resolve({values:[],offset:null})},t.prototype.getChartData=function(){return new Promise((function(e,t){return t()}))},t.prototype.invalidateChartCache=function(){return new Promise((function(){return null}))},t.prototype.applyMetadata=function(e,t){var n,r={};return null===(n=null==t?void 0:t.fields)||void 0===n||n.forEach((function(e){r[e.name]=e})),null==e||e.forEach((function(e){Xi(e,r)})),e},t.prototype.checkSelectFieldsContainingSpaces=function(e,t,n,r){var o=[],i=r===Fa.SELECT?"select or multiple select":"";(null==e||e.forEach((function(e){if(e!==(null==e?void 0:e.trim())){var t="Your ".concat(i," ").concat(n," field in inline-filters contains values with spaces ").concat(e,". Please edit the field and remove the extra spaces.");console.warn(t),o.push(e)}})),null==o?void 0:o.length)&&t({title:"WARNING",message:"Your ".concat(i," ").concat(n," field in inline-filters contains values with spaces ").concat(o.slice(0,5).join(","),". Please edit the field and remove the extra spaces.")})},t.prototype.generateAttachmentURL=function(e){return""},t.prototype.upvote=function(e){var t="".concat(this.getBaseUrl(),"/data/").concat(e.context.id,"/upvote");return pt().post(t,{field:e.context.mappedTo,id:e.context.id,count:e.context.count},{withCredentials:!0})},t.prototype.getFilterConditionGroupForSearch=function(e,t,n){void 0===e&&(e={}),void 0===t&&(t="");var r=e.fields,o=function(e){var t;switch(null===(t=null==n?void 0:n.fields.find((function(t){return t.name===e})))||void 0===t?void 0:t.fieldType){case Fa.ENUMERATED:case Fa.SELECT:return"IS";default:return"CONTAINS"}};return{logicalOperator:"OR",filters:(void 0===r?[]:r).map((function(e){return{subject:e,operator:o(e),value:t}}))}},t.recordQueriesDependOnMetadata=!0,t}(oi);const Pl=Il;var Zl=function(){var e=function(t,n){return e=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,n)};return function(t,n){if("function"!=typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),_l=function(){return _l=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},_l.apply(this,arguments)},Fl=function(e,t,n,r){return new(n||(n=Promise))((function(o,i){function a(e){try{l(r.next(e))}catch(Yr){i(Yr)}}function s(e){try{l(r.throw(e))}catch(Yr){i(Yr)}}function l(e){var t;e.done?o(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())}))},jl=function(e,t){var n,r,o,i,a={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return i={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function s(s){return function(l){return function(s){if(n)throw new TypeError("Generator is already executing.");for(;i&&(i=0,s[0]&&(a=0)),a;)try{if(n=1,r&&(o=2&s[0]?r.return:s[0]?r.throw||((o=r.return)&&o.call(r),0):r.next)&&!(o=o.call(r,s[1])).done)return o;switch(r=0,o&&(s=[2&s[0],o.value]),s[0]){case 0:case 1:o=s;break;case 4:return a.label++,{value:s[1],done:!1};case 5:a.label++,r=s[1],s=[0];continue;case 7:s=a.ops.pop(),a.trys.pop();continue;default:if(!(o=a.trys,(o=o.length>0&&o[o.length-1])||6!==s[0]&&2!==s[0])){a=0;continue}if(3===s[0]&&(!o||s[1]>o[0]&&s[1]<o[3])){a.label=s[1];break}if(6===s[0]&&a.label<o[1]){a.label=o[1],o=s;break}if(o&&a.label<o[2]){a.label=o[2],a.ops.push(s);break}o[2]&&a.ops.pop(),a.trys.pop();continue}s=t.call(e,a)}catch(Yr){s=[6,Yr],r=0}finally{n=o=0}if(5&s[0])throw s[1];return{value:s[0]?s[1]:void 0,done:!0}}([s,l])}}},Bl=function(e,t){var n="function"==typeof Symbol&&e[Symbol.iterator];if(!n)return e;var r,o,i=n.call(e),a=[];try{for(;(void 0===t||t-- >0)&&!(r=i.next()).done;)a.push(r.value)}catch(s){o={error:s}}finally{try{r&&!r.done&&(n=i.return)&&n.call(i)}finally{if(o)throw o.error}}return a},zl=function(e,t,n){if(n||2===arguments.length)for(var r,o=0,i=t.length;o<i;o++)!r&&o in t||(r||(r=Array.prototype.slice.call(t,0,o)),r[o]=t[o]);return e.concat(r||Array.prototype.slice.call(t))},Hl=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return Zl(t,e),t.prototype.getBaseUrl=function(){var e,t=this.pageId;if(Yo()){var n=null===(e=window.top)||void 0===e?void 0:e.location.href;if(n){var r=n.split("/");t=(t=r[r.length-1]).split("?")[0]}}return"".concat(this.getDataSourceServiceUrl(),"/v1/datasource/google-bigquery/").concat(this.applicationId,"/").concat(t,"/").concat(this.blockId,"/").concat(this.dataSourceId)},t.prototype.getRecord=function(e,t){return void 0===t&&(t={}),Promise.resolve({}||{})},t.prototype.getRecords=function(e,t){var n=this,r=e.sorting,o=void 0===r?[]:r,i=e.search,a=void 0===i?"":i,s=e.pagination,l=void 0===s?{}:s,c=e.inlineFilters,u=void 0===c?[]:c,d=e.filters,p=void 0===d?{}:d,f=_l({},l);return new Promise((function(e,r){var i=!f.perPage||f.perPage>100,s=f.perPage&&f.perPage<1e4?f.perPage:Yo()?100:15e3;i&&(f.perPage=1e3);var l=function(c,d){void 0===d&&(d=[]);var h="".concat(n.getBaseUrl(),"/data"),m={options:{cellFormat:"json",timeZone:Intl.DateTimeFormat().resolvedOptions().timeZone,userLocale:"en-US"},pageContext:c?{context:c}:null,filterCriteria:{}};!Yo()&&p.recordId?h="".concat(h,"/").concat(p.recordId):m.pagingOption={offset:f.offset||null,count:f.perPage||100},(null==o?void 0:o.length)&&(m.sortingOption={sortingField:o[0].field,sortType:o[0].direction.toUpperCase()});var v=[];a&&v.push(n.getFilterConditionGroupForSearch(p.searchOptions,a)),u.length&&u.forEach((function(e){var t=e.filter,r=e.value;v.push(n.getFilterConditionGroup(t,r))})),v.length&&(m.filterCriteria.filterConditionGroup={logicalOperator:"AND",filterGroups:v}),pt().post(h,m,_l({headers:{"Content-Type":"application/json"},withCredentials:!0},t)).catch((function(e){var t,n,o,i,a=Ur;(null===(n=null===(t=null==e?void 0:e.response)||void 0===t?void 0:t.data)||void 0===n?void 0:n.message)&&(a=null===(i=null===(o=null==e?void 0:e.response)||void 0===o?void 0:o.data)||void 0===i?void 0:i.message),r({type:"error",message:a})})).then((function(t){var n=(null==t?void 0:t.data.items.map((function(e,t){return _l(_l({},e),{id:(new Date).getTime()+t})})))||[],r=zl(zl([],Bl(d),!1),Bl(n||[]),!1),o=null==t?void 0:t.data.offset;i&&o&&r.length<s?(f.offset=o,l(c,r)):e({records:r,offset:o})}))};n.isLinkedList?Jo().then(l).catch((function(){r({type:"error",reason:"linked_list_not_found",message:Vr})})):l()}))},t.prototype.addRecord=function(e,t){return new Promise((function(e){return e(!0)}))},t.prototype.updateRecord=function(e,t,n){return new Promise((function(e){return e(!0)}))},t.prototype.deleteRecord=function(e){return Promise.resolve(!1)},t.prototype.getMetadata=function(e){var t=this;return new Promise((function(n,r){var o="".concat(t.getBaseUrl(),"/metadata");pt().get(o,_l({headers:{"Content-Type":"application/json"},withCredentials:!0},e)).catch((function(){r("Failed to get datasource metadata.")})).then((function(e){n({fields:(null==e?void 0:e.data.resourceFields.map((function(e){return _l({},e)})))||{}})}))}))},t.prototype.getLinkedRecordValues=function(){return Promise.resolve({values:[],offset:null})},t.prototype.getChartData=function(e){var t=this,n=e.xAxisField,r=e.yAxisField,o=e.sorting,i=e.paging,a=e.groupByField,s=e.signal,l=e.isRefresh;return new Promise((function(e,c){var u=1e3*(Yo()?1.5:3),d=t.chartPollingLimit/u,p=0,f=function(s,h,m){void 0===m&&(m=""),(null==m?void 0:m.length)&&(l=!1);var v="".concat(t.getDataSourceServiceUrl(),"/v1/datasource/google-bigquery/chart/").concat(t.applicationId,"/").concat(t.pageId,"/").concat(t.blockId,"/").concat(t.dataSourceId,"/").concat(l?"refreshData":"data"),g={options:{cellFormat:"json"},xAxisField:n,yAxisFields:r,groupByField:a};g.pageContext=h?{context:h}:null,(null==o?void 0:o.length)&&(g.sortingOption={sortingField:o[0].field,sortType:o[0].direction.toUpperCase()}),i&&(g.pagingOption={start:0,count:i.perPage}),p++;var y=pt().CancelToken.source();s&&s.addEventListener("abort",(function(){y.cancel("Request aborted")})),(null==s?void 0:s.aborted)||pt().post(v,g,{headers:{"Content-Type":"application/json"},withCredentials:!0,params:{executionKey:m},cancelToken:y.token}).then((function(n){return Fl(t,void 0,void 0,(function(){var t,r,o,i,a;return jl(this,(function(l){switch(l.label){case 0:return t=(null==n?void 0:n.data)||{},r=t.status,o=t.message,i=t.data,t.executionTimestamp,a=t.responseExecutionKey,p>=d&&"PENDING"===r?[2,c({type:"error",message:Wr})]:"FAILED"===r?[2,c({type:"error",message:o})]:"PENDING"!==r?[3,2]:[4,new Promise((function(e){return setTimeout(e,u)}))];case 1:return l.sent(),[2,f(s,h,a)];case 2:return e({records:i||[],timestamp:null}),[2]}}))}))})).catch((function(e){var t,n;if(!pt().isCancel(e)){var r=(null===(n=null===(t=null==e?void 0:e.response)||void 0===t?void 0:t.data)||void 0===n?void 0:n.message)||Ur;c({type:"error",message:r})}}))};t.isLinkedList?Jo().then((function(e){return f(s,e)})).catch((function(){c({type:"error",message:Vr})})):f(s)}))},t.prototype.invalidateChartCache=function(){return new Promise((function(){return null}))},t.prototype.applyMetadata=function(e,t){return e},t.prototype.checkSelectFieldsContainingSpaces=function(e,t,n,r){},t.prototype.generateAttachmentURL=function(e){return""},t.prototype.upvote=function(e){return Promise.resolve({data:{}})},t.prototype.getFilterConditionGroupForSearch=function(e,t){void 0===e&&(e={}),void 0===t&&(t="");var n=e.fields;return{logicalOperator:"OR",filters:(void 0===n?[]:n).map((function(e){return{subject:e,operator:"CONTAINS",value:t}}))}},t.recordQueriesDependOnMetadata=!1,t}(ri);var Ul=function(){return Ul=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},Ul.apply(this,arguments)},Wl={AIRTABLE:Hi,GOOGLE_SHEET:Yi,SMARTSUITE:Pa,HUBSPOT:Pl,GOOGLE_BIGQUERY:Hl},Vl=function(e){var t=j(),n=t.dataSource,r=t.dataSources,i=(0,o.useContext)(O).id,a=F(),s=JSON.stringify(n),l=(0,o.useMemo)((function(){return Ul(Ul({},n||{}),e||{})}),[s,e]);return(0,o.useMemo)((function(){var e,t,o=null===(e=null==r?void 0:r.find((function(e){return(null==e?void 0:e.id)===(null==n?void 0:n.id)})))||void 0===e?void 0:e.datasourceIntegrationType,s=(null===(t=null==l?void 0:l.type)||void 0===t?void 0:t.toUpperCase())||o;return l.isComplete&&s&&Wl[s]?new(0,Wl[s])(i,l,a):null}),[i,l,null==l?void 0:l.isComplete,a])};var ql=function(){var e=F(),t=(0,o.useCallback)((function(t,n){var r,o=new CustomEvent(t.replace("{hrid}",e),{detail:n});Ko()&&(null===(r=window.parent)||void 0===r||r.dispatchEvent(o)),window.dispatchEvent(o)}),[e]);return{dispatch:t}},Gl=function(e,t,n,r){return new(n||(n=Promise))((function(o,i){function a(e){try{l(r.next(e))}catch(Yr){i(Yr)}}function s(e){try{l(r.throw(e))}catch(Yr){i(Yr)}}function l(e){var t;e.done?o(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())}))},Kl=function(e,t){var n,r,o,i,a={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return i={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function s(s){return function(l){return function(s){if(n)throw new TypeError("Generator is already executing.");for(;i&&(i=0,s[0]&&(a=0)),a;)try{if(n=1,r&&(o=2&s[0]?r.return:s[0]?r.throw||((o=r.return)&&o.call(r),0):r.next)&&!(o=o.call(r,s[1])).done)return o;switch(r=0,o&&(s=[2&s[0],o.value]),s[0]){case 0:case 1:o=s;break;case 4:return a.label++,{value:s[1],done:!1};case 5:a.label++,r=s[1],s=[0];continue;case 7:s=a.ops.pop(),a.trys.pop();continue;default:if(!(o=a.trys,(o=o.length>0&&o[o.length-1])||6!==s[0]&&2!==s[0])){a=0;continue}if(3===s[0]&&(!o||s[1]>o[0]&&s[1]<o[3])){a.label=s[1];break}if(6===s[0]&&a.label<o[1]){a.label=o[1],o=s;break}if(o&&a.label<o[2]){a.label=o[2],a.ops.push(s);break}o[2]&&a.ops.pop(),a.trys.pop();continue}s=t.call(e,a)}catch(Yr){s=[6,Yr],r=0}finally{n=o=0}if(5&s[0])throw s[1];return{value:s[0]?s[1]:void 0,done:!0}}([s,l])}}};function Yl(e,t,n){return Gl(this,void 0,Promise,(function(){return Kl(this,(function(r){switch(r.label){case 0:return t in e||(e[t]=n()),[4,e[t]];case 1:return[2,r.sent()]}}))}))}var Xl=function(){return Xl=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},Xl.apply(this,arguments)},Jl=function(e,t,n,r){return new(n||(n=Promise))((function(o,i){function a(e){try{l(r.next(e))}catch(Yr){i(Yr)}}function s(e){try{l(r.throw(e))}catch(Yr){i(Yr)}}function l(e){var t;e.done?o(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())}))},Ql=function(e,t){var n,r,o,i,a={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return i={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function s(s){return function(l){return function(s){if(n)throw new TypeError("Generator is already executing.");for(;i&&(i=0,s[0]&&(a=0)),a;)try{if(n=1,r&&(o=2&s[0]?r.return:s[0]?r.throw||((o=r.return)&&o.call(r),0):r.next)&&!(o=o.call(r,s[1])).done)return o;switch(r=0,o&&(s=[2&s[0],o.value]),s[0]){case 0:case 1:o=s;break;case 4:return a.label++,{value:s[1],done:!1};case 5:a.label++,r=s[1],s=[0];continue;case 7:s=a.ops.pop(),a.trys.pop();continue;default:if(!(o=a.trys,(o=o.length>0&&o[o.length-1])||6!==s[0]&&2!==s[0])){a=0;continue}if(3===s[0]&&(!o||s[1]>o[0]&&s[1]<o[3])){a.label=s[1];break}if(6===s[0]&&a.label<o[1]){a.label=o[1],o=s;break}if(o&&a.label<o[2]){a.label=o[2],a.ops.push(s);break}o[2]&&a.ops.pop(),a.trys.pop();continue}s=t.call(e,a)}catch(Yr){s=[6,Yr],r=0}finally{n=o=0}if(5&s[0])throw s[1];return{value:s[0]?s[1]:void 0,done:!0}}([s,l])}}},ec=function(e,t){var n="function"==typeof Symbol&&e[Symbol.iterator];if(!n)return e;var r,o,i=n.call(e),a=[];try{for(;(void 0===t||t-- >0)&&!(r=i.next()).done;)a.push(r.value)}catch(s){o={error:s}}finally{try{r&&!r.done&&(n=i.return)&&n.call(i)}finally{if(o)throw o.error}}return a},tc=function(e,t,n){if(n||2===arguments.length)for(var r,o=0,i=t.length;o<i;o++)!r&&o in t||(r||(r=Array.prototype.slice.call(t,0,o)),r[o]=t[o]);return e.concat(r||Array.prototype.slice.call(t))},nc=(0,o.createContext)({});const rc=function(e,t){var n=t||{},r=n.dataSource,i=n.sortType,a=n.cacheResponse,s=void 0===a||a,l=(0,o.useContext)(nc),c=s,u=ql().dispatch,d=st().showError,p=ec((0,o.useState)({values:[],isLoading:!1,error:"",offset:null}),2),f=p[0],h=p[1],m=Vl(r),v=(0,o.useCallback)((function(t,n){return Jl(void 0,void 0,void 0,(function(){var r,o,a,s,p,v,g,y,b,w;return Ql(this,(function(x){switch(x.label){case 0:if(h((function(e){return Xl(Xl({},e),{isLoading:!0})})),!m)return h({values:[],isLoading:!1}),[2];h((function(e){return Xl(Xl({},e),{isLoading:!0,error:""})})),r={offset:null===(null==n?void 0:n.offset)||(null==n?void 0:n.offset)?null==n?void 0:n.offset:f.offset,perPage:(null==n?void 0:n.perPage)||100},x.label=1;case 1:return x.trys.push([1,6,,7]),o=function(){return m.getLinkedRecordValues(e,{search:t,sortType:i,pagination:r})},a=JSON.stringify({field:e,search:t,blockId:m.blockId,datasourceId:m.dataSourceId,sortType:i}),c?[4,Yl(l,a,o)]:[3,3];case 2:return p=x.sent(),[3,5];case 3:return[4,o()];case 4:p=x.sent(),x.label=5;case 5:return s=p,v=(null==n?void 0:n.offset)?tc(tc([],ec(f.values||[]),!1),ec((null==s?void 0:s.values)||[]),!1):(null==s?void 0:s.values)||[],h((function(n){var r=Xl(Xl({},n),{search:t,values:v.filter((function(e){return String(e.label).trim()})),error:"",isLoading:!1,offset:null==s?void 0:s.offset});return r.values&&u("get-linked-values-{hrid}-".concat(e),r.values),r})),[3,7];case 6:return g=x.sent(),(y=(null===(w=null===(b=null==g?void 0:g.response)||void 0===b?void 0:b.data)||void 0===w?void 0:w.message)||(null==g?void 0:g.message))&&d({message:y}),h((function(e){return Xl(Xl({},e),{error:"Error",isLoading:!1})})),[3,7];case 7:return[2]}}))}))}),[e,d,r,f.offset,i]);return{searchText:f.search||"",values:f.values||void 0,isLoading:!!f.isLoading,error:f.error||"",getValues:v,offset:f.offset}};var oc=function(){return oc=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},oc.apply(this,arguments)},ic=function(e,t,n,r){return new(n||(n=Promise))((function(o,i){function a(e){try{l(r.next(e))}catch(Yr){i(Yr)}}function s(e){try{l(r.throw(e))}catch(Yr){i(Yr)}}function l(e){var t;e.done?o(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())}))},ac=function(e,t){var n,r,o,i,a={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return i={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function s(s){return function(l){return function(s){if(n)throw new TypeError("Generator is already executing.");for(;i&&(i=0,s[0]&&(a=0)),a;)try{if(n=1,r&&(o=2&s[0]?r.return:s[0]?r.throw||((o=r.return)&&o.call(r),0):r.next)&&!(o=o.call(r,s[1])).done)return o;switch(r=0,o&&(s=[2&s[0],o.value]),s[0]){case 0:case 1:o=s;break;case 4:return a.label++,{value:s[1],done:!1};case 5:a.label++,r=s[1],s=[0];continue;case 7:s=a.ops.pop(),a.trys.pop();continue;default:if(!(o=a.trys,(o=o.length>0&&o[o.length-1])||6!==s[0]&&2!==s[0])){a=0;continue}if(3===s[0]&&(!o||s[1]>o[0]&&s[1]<o[3])){a.label=s[1];break}if(6===s[0]&&a.label<o[1]){a.label=o[1],o=s;break}if(o&&a.label<o[2]){a.label=o[2],a.ops.push(s);break}o[2]&&a.ops.pop(),a.trys.pop();continue}s=t.call(e,a)}catch(Yr){s=[6,Yr],r=0}finally{n=o=0}if(5&s[0])throw s[1];return{value:s[0]?s[1]:void 0,done:!0}}([s,l])}}},sc=function(e,t){var n="function"==typeof Symbol&&e[Symbol.iterator];if(!n)return e;var r,o,i=n.call(e),a=[];try{for(;(void 0===t||t-- >0)&&!(r=i.next()).done;)a.push(r.value)}catch(s){o={error:s}}finally{try{r&&!r.done&&(n=i.return)&&n.call(i)}finally{if(o)throw o.error}}return a};const lc=function(e){var t=ql().dispatch,n=st().showError,r=F(),i=sc((0,o.useState)({isLoading:!1}),2),a=i[0],s=i[1],l=Vl(null==e?void 0:e.dataSource),c=(0,o.useCallback)((function(o,i){return ic(void 0,void 0,void 0,(function(){var a,c,u,d,p,f,h;return ac(this,(function(m){switch(m.label){case 0:if(!l)return[2];o&&(null==e?void 0:e.isInModal)&&Gr(((e,t)=>new CustomEvent(`add-record-${e}`,{detail:t}))(r,o)),m.label=1;case 1:return m.trys.push([1,3,,4]),s({isLoading:!0}),[4,l.addRecord(o,{context:i})];case 2:return a=m.sent(),s({success:!0}),(null==e?void 0:e.isInModal)&&Gr(((e,t,n)=>new CustomEvent(`add-record-success-${e}`,{detail:{payload:t,response:n}}))(r,o,a)),t("submit-form-success-{hrid}",{payload:o,response:a}),[2,a];case 3:return c=m.sent(),u=(null===(p=null===(d=null==c?void 0:c.response)||void 0===d?void 0:d.data)||void 0===p?void 0:p.details)||(null===(h=null===(f=null==c?void 0:c.response)||void 0===f?void 0:f.data)||void 0===h?void 0:h.message)||(null==c?void 0:c.message)||"Please contact us",n({message:u}),s({error:u}),(null==e?void 0:e.isInModal)&&Gr(((e,t)=>new CustomEvent(`add-record-failure-${e}`,{detail:t}))(r,u)),t("submit-form-failure-{hrid}",u),[2,null];case 4:return[2]}}))}))}),[l,t,r,null==e?void 0:e.isInModal,n]);return{addRecord:c,isLoading:!!a.isLoading,success:!!a.success,error:a.error||"",setLoadingState:function(e){s((function(t){return oc(oc({},t),{isLoading:e})}))}}};var cc,uc,dc,pc,fc,hc,mc,vc,gc,yc,bc;!function(e){e.Header="Header",e.Hero="Hero",e.FAQ="FAQ",e.Chart="Chart",e.CustomCode="Custom Code",e.ListDetails="List Details",e.List="List",e.Other="Other",e.Footer="Footer",e.Form="Form",e.OrganizationalChart="Organizational Chart",e.Payment="Payment"}(cc||(cc={})),function(e){e.Static="static",e.Dynamic="dynamic"}(uc||(uc={})),function(e){e.View="VIEW",e.Edit="EDIT"}(dc||(dc={})),function(e){e.Left="LEFT",e.Right="RIGHT",e.Center="CENTER",e.Top="TOP",e.Bottom="BOTTOM"}(pc||(pc={})),function(e){e.AllUsers="ALL_USERS"}(fc||(fc={})),function(e){e.Array="array"}(hc||(hc={})),function(e){e.Airtable="airtable",e.Softr="softr",e.Gsheet="gsheet"}(mc||(mc={})),function(e){e.PASSWORD="password",e.ADDRESS="address",e.RATING="rating",e.HEADING1="heading1",e.HEADING2="heading2",e.HEADING3="heading3",e.BUTTON="button",e.URL="url",e.TAG="tag",e.SHORT_TEXT="short_text",e.EMAIL="email",e.PHONE_NUMBER="phone_number",e.DIVIDER="divider",e.DROPDOWN="dropdown",e.LONG_TEXT="long_text",e.MULTI_SELECT="multi_select",e.STATIC_IMAGE="staticImage",e.IMAGE="image",e.DATE="date",e.DATETIME="dateTime",e.CHECKBOX="checkbox",e.HIDDEN="hidden",e.FILE="file",e.TEXT="text",e.RICH_TEXT="rich_text",e.UPVOTE_BUTTON="upvoteButton",e.GMAPS="gmaps",e.EMBED="embed",e.AUDIO="audio",e.VIDEO="video",e.GALLERY="gallery",e.IMAGE_OR_VIDEO="imageOrVideo",e.PDF="pdf"}(vc||(vc={})),function(e){e.heading1="h1",e.heading2="h2",e.heading3="h3",e.heading4="h4",e.heading5="h5",e.heading6="h6",e.text="p"}(gc||(gc={})),function(e){e.ShowMessage="SHOW_MESSAGE",e.OpenPage="OPEN_PAGE",e.NoAction="NO_ACTION"}(yc||(yc={})),function(e){e.UPDATE_RECORD_SUCCESS="UPDATE_RECORD_SUCCESS"}(bc||(bc={}));var wc={fields:[],tagsMap:{}},xc=i().createContext(wc);const kc="object"==typeof global&&global&&global.Object===Object&&global;var Sc="object"==typeof self&&self&&self.Object===Object&&self;const Cc=kc||Sc||Function("return this")();const Ec=Cc.Symbol;var Tc=Object.prototype,Oc=Tc.hasOwnProperty,$c=Tc.toString,Mc=Ec?Ec.toStringTag:void 0;const Ac=function(e){var t=Oc.call(e,Mc),n=e[Mc];try{e[Mc]=void 0;var r=!0}catch(Yr){}var o=$c.call(e);return r&&(t?e[Mc]=n:delete e[Mc]),o};var Dc=Object.prototype.toString;const Lc=function(e){return Dc.call(e)};var Nc=Ec?Ec.toStringTag:void 0;const Rc=function(e){return null==e?void 0===e?"[object Undefined]":"[object Null]":Nc&&Nc in Object(e)?Ac(e):Lc(e)};const Ic=function(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)};const Pc=function(e){if(!Ic(e))return!1;var t=Rc(e);return"[object Function]"==t||"[object GeneratorFunction]"==t||"[object AsyncFunction]"==t||"[object Proxy]"==t};const Zc=Cc["__core-js_shared__"];var _c,Fc=(_c=/[^.]+$/.exec(Zc&&Zc.keys&&Zc.keys.IE_PROTO||""))?"Symbol(src)_1."+_c:"";const jc=function(e){return!!Fc&&Fc in e};var Bc=Function.prototype.toString;const zc=function(e){if(null!=e){try{return Bc.call(e)}catch(Yr){}try{return e+""}catch(Yr){}}return""};var Hc=/^\[object .+?Constructor\]$/,Uc=Function.prototype,Wc=Object.prototype,Vc=Uc.toString,qc=Wc.hasOwnProperty,Gc=RegExp("^"+Vc.call(qc).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");const Kc=function(e){return!(!Ic(e)||jc(e))&&(Pc(e)?Gc:Hc).test(zc(e))};const Yc=function(e,t){return null==e?void 0:e[t]};const Xc=function(e,t){var n=Yc(e,t);return Kc(n)?n:void 0};const Jc=Xc(Object,"create");const Qc=function(){this.__data__=Jc?Jc(null):{},this.size=0};const eu=function(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t};var tu=Object.prototype.hasOwnProperty;const nu=function(e){var t=this.__data__;if(Jc){var n=t[e];return"__lodash_hash_undefined__"===n?void 0:n}return tu.call(t,e)?t[e]:void 0};var ru=Object.prototype.hasOwnProperty;const ou=function(e){var t=this.__data__;return Jc?void 0!==t[e]:ru.call(t,e)};const iu=function(e,t){var n=this.__data__;return this.size+=this.has(e)?0:1,n[e]=Jc&&void 0===t?"__lodash_hash_undefined__":t,this};function au(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}au.prototype.clear=Qc,au.prototype.delete=eu,au.prototype.get=nu,au.prototype.has=ou,au.prototype.set=iu;const su=au;const lu=function(){this.__data__=[],this.size=0};const cu=function(e,t){return e===t||e!=e&&t!=t};const uu=function(e,t){for(var n=e.length;n--;)if(cu(e[n][0],t))return n;return-1};var du=Array.prototype.splice;const pu=function(e){var t=this.__data__,n=uu(t,e);return!(n<0)&&(n==t.length-1?t.pop():du.call(t,n,1),--this.size,!0)};const fu=function(e){var t=this.__data__,n=uu(t,e);return n<0?void 0:t[n][1]};const hu=function(e){return uu(this.__data__,e)>-1};const mu=function(e,t){var n=this.__data__,r=uu(n,e);return r<0?(++this.size,n.push([e,t])):n[r][1]=t,this};function vu(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}vu.prototype.clear=lu,vu.prototype.delete=pu,vu.prototype.get=fu,vu.prototype.has=hu,vu.prototype.set=mu;const gu=vu;const yu=Xc(Cc,"Map");const bu=function(){this.size=0,this.__data__={hash:new su,map:new(yu||gu),string:new su}};const wu=function(e){var t=typeof e;return"string"==t||"number"==t||"symbol"==t||"boolean"==t?"__proto__"!==e:null===e};const xu=function(e,t){var n=e.__data__;return wu(t)?n["string"==typeof t?"string":"hash"]:n.map};const ku=function(e){var t=xu(this,e).delete(e);return this.size-=t?1:0,t};const Su=function(e){return xu(this,e).get(e)};const Cu=function(e){return xu(this,e).has(e)};const Eu=function(e,t){var n=xu(this,e),r=n.size;return n.set(e,t),this.size+=n.size==r?0:1,this};function Tu(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}Tu.prototype.clear=bu,Tu.prototype.delete=ku,Tu.prototype.get=Su,Tu.prototype.has=Cu,Tu.prototype.set=Eu;const Ou=Tu;const $u=function(e){return this.__data__.set(e,"__lodash_hash_undefined__"),this};const Mu=function(e){return this.__data__.has(e)};function Au(e){var t=-1,n=null==e?0:e.length;for(this.__data__=new Ou;++t<n;)this.add(e[t])}Au.prototype.add=Au.prototype.push=$u,Au.prototype.has=Mu;const Du=Au;const Lu=function(e,t,n,r){for(var o=e.length,i=n+(r?1:-1);r?i--:++i<o;)if(t(e[i],i,e))return i;return-1};const Nu=function(e){return e!=e};const Ru=function(e,t,n){for(var r=n-1,o=e.length;++r<o;)if(e[r]===t)return r;return-1};const Iu=function(e,t,n){return t==t?Ru(e,t,n):Lu(e,Nu,n)};const Pu=function(e,t){return!!(null==e?0:e.length)&&Iu(e,t,0)>-1};const Zu=function(e,t,n){for(var r=-1,o=null==e?0:e.length;++r<o;)if(n(t,e[r]))return!0;return!1};const _u=function(e,t){return e.has(t)};const Fu=Xc(Cc,"Set");const ju=function(){};const Bu=function(e){var t=-1,n=Array(e.size);return e.forEach((function(e){n[++t]=e})),n};const zu=Fu&&1/Bu(new Fu([,-0]))[1]==1/0?function(e){return new Fu(e)}:ju;const Hu=function(e,t,n){var r=-1,o=Pu,i=e.length,a=!0,s=[],l=s;if(n)a=!1,o=Zu;else if(i>=200){var c=t?null:zu(e);if(c)return Bu(c);a=!1,o=_u,l=new Du}else l=t?[]:s;e:for(;++r<i;){var u=e[r],d=t?t(u):u;if(u=n||0!==u?u:0,a&&d==d){for(var p=l.length;p--;)if(l[p]===d)continue e;t&&l.push(d),s.push(u)}else o(l,d,n)||(l!==s&&l.push(d),s.push(u))}return s};const Uu=function(e){return e&&e.length?Hu(e):[]};var Wu=function(){return Wu=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},Wu.apply(this,arguments)},Vu=function(e,t,n,r){return new(n||(n=Promise))((function(o,i){function a(e){try{l(r.next(e))}catch(Yr){i(Yr)}}function s(e){try{l(r.throw(e))}catch(Yr){i(Yr)}}function l(e){var t;e.done?o(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())}))},qu=function(e,t){var n,r,o,i,a={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return i={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function s(s){return function(l){return function(s){if(n)throw new TypeError("Generator is already executing.");for(;i&&(i=0,s[0]&&(a=0)),a;)try{if(n=1,r&&(o=2&s[0]?r.return:s[0]?r.throw||((o=r.return)&&o.call(r),0):r.next)&&!(o=o.call(r,s[1])).done)return o;switch(r=0,o&&(s=[2&s[0],o.value]),s[0]){case 0:case 1:o=s;break;case 4:return a.label++,{value:s[1],done:!1};case 5:a.label++,r=s[1],s=[0];continue;case 7:s=a.ops.pop(),a.trys.pop();continue;default:if(!(o=a.trys,(o=o.length>0&&o[o.length-1])||6!==s[0]&&2!==s[0])){a=0;continue}if(3===s[0]&&(!o||s[1]>o[0]&&s[1]<o[3])){a.label=s[1];break}if(6===s[0]&&a.label<o[1]){a.label=o[1],o=s;break}if(o&&a.label<o[2]){a.label=o[2],a.ops.push(s);break}o[2]&&a.ops.pop(),a.trys.pop();continue}s=t.call(e,a)}catch(Yr){s=[6,Yr],r=0}finally{n=o=0}if(5&s[0])throw s[1];return{value:s[0]?s[1]:void 0,done:!0}}([s,l])}}},Gu=function(e,t){var n="function"==typeof Symbol&&e[Symbol.iterator];if(!n)return e;var r,o,i=n.call(e),a=[];try{for(;(void 0===t||t-- >0)&&!(r=i.next()).done;)a.push(r.value)}catch(s){o={error:s}}finally{try{r&&!r.done&&(n=i.return)&&n.call(i)}finally{if(o)throw o.error}}return a},Ku={},Yu=function(e){return e.filter((function(e){return Xu.includes(e.type)})).reduce((function(e,t){var n=t.name,r=t.options,o=null==r?void 0:r.choices;return Array.isArray(o)?(e[n]=o,e):e}),{})},Xu=["singleSelect","multipleSelects"];const Ju=function(e,t){var n,r=st().showError,i=Gu((0,o.useState)({data:wc,error:""}),2),a=i[0],s=i[1],l=(t||{}).skip,c=void 0!==l&&l,u=Vl(null==t?void 0:t.dataSource),d=j().dataSources,p=null===(n=null==d?void 0:d.find((function(e){return"BLOCK"===e.referenceType})))||void 0===n?void 0:n.resourceIdentifier,f=Uu(e),h=JSON.stringify(f),m=(0,o.useCallback)((function(){return Vu(void 0,void 0,void 0,(function(){var t,n,o,i;return qu(this,(function(a){switch(a.label){case 0:return a.trys.push([0,2,,3]),e&&0===JSON.parse(h).length?[2]:u?c?[2]:(s((function(e){return Wu(Wu({},e),{error:""})})),t=function(){return u.getMetadata()},n=JSON.stringify({blockId:u.blockId,datasourceId:u.dataSourceId,blockResourceIdentifier:p}),[4,Yl(Ku,n,t)]):[2];case 1:return o=a.sent().fields,Array.isArray(o)?(s((function(e){return Wu(Wu({},e),{data:{fields:o,tagsMap:Yu(o)},error:""})})),[3,3]):[2];case 2:return(null==(i=a.sent())?void 0:i.message)&&r({message:null==i?void 0:i.message}),s((function(e){return Wu(Wu({},e),{error:"Error"})})),[3,3];case 3:return[2]}}))}))}),[u,h,r,c]);return(0,o.useEffect)((function(){m()}),[u,h]),a.data};(0,o.createContext)(null);(0,o.createContext)(null);var Qu=n(19013),ed=n(4810);var td=function(e){return void 0!==e.file&&e.file instanceof File};!function(){function e(){var e;this.formatters=((e={})[Br.ATTACHMENT]=this.attachment,e[Br.PERCENT]=this.percent,e[Br.CHECKBOX]=this.default,e[Br.CURRENCY]=this.default,e[Br.DATE]=this.date,e[Br.DATE_TIME]=this.default,e[Br.DURATION]=this.default,e[Br.EMAIL]=this.default,e[Br.RECORD_LINKS]=this.linkedRecord,e[Br.RICH_TEXT]=this.richText,e[Br.SINGLE_SELECT]=this.singleSelect,e[Br.RATING]=this.default,e[Br.NUMBER]=this.default,e[Br.PHONE_NUMBER]=this.default,e[Br.MULTI_SELECT]=this.multipleSelect,e[Br.BARCODE]=this.default,e[Br.URL]=this.url,e[Br.SINGLE_COLLABORATOR]=this.collaborator,e[Br.SINGLE_LINE_TEXT]=this.singleLineText,e[Br.MULTI_LINE_TEXT]=this.multiLineText,e[Br.LOOKUP]=this.default,e[Br.FORMULA]=this.default,e)}e.prototype.format=function(e,t){return null==e?e:(0,this.formatters[t])(e)},e.prototype.default=function(e){return e},e.prototype.multiLineText=function(e){return e instanceof Date?e.toLocaleString():Array.isArray(e)&&td(e[0])?e[0].url:e.toString()},e.prototype.singleLineText=function(e){return e instanceof Date?e.toLocaleString():Array.isArray(e)&&td(e[0])?e[0].url:e.toString()},e.prototype.url=function(e){return Array.isArray(e)&&td(e[0])?e[0].url:e},e.prototype.richText=function(e){return e instanceof Date?e.toLocaleString():Array.isArray(e)&&td(e[0])?e[0].url:e.toString()},e.prototype.singleSelect=function(e){var t;return null===(t=e[0])||void 0===t?void 0:t.id},e.prototype.percent=function(e){return e/100},e.prototype.multipleSelect=function(e){return e.map((function(e){return e.id}))},e.prototype.linkedRecord=function(e){return e.map((function(e){return e.id}))},e.prototype.attachment=function(e){return e.map((function(e){return{url:e.url,filename:e.filename}}))},e.prototype.collaborator=function(e){return e[0]},e.prototype.date=function(e){return function(e,t){var n,r;(0,la.Z)(1,arguments);var o=(0,Qu.Z)(e);if(isNaN(o.getTime()))throw new RangeError("Invalid time value");var i=String(null!==(n=null==t?void 0:t.format)&&void 0!==n?n:"extended"),a=String(null!==(r=null==t?void 0:t.representation)&&void 0!==r?r:"complete");if("extended"!==i&&"basic"!==i)throw new RangeError("format must be 'extended' or 'basic'");if("date"!==a&&"time"!==a&&"complete"!==a)throw new RangeError("representation must be 'date', 'time', or 'complete'");var s="",l="",c="extended"===i?"-":"",u="extended"===i?":":"";if("time"!==a){var d=(0,ed.Z)(o.getDate(),2),p=(0,ed.Z)(o.getMonth()+1,2),f=(0,ed.Z)(o.getFullYear(),4);s="".concat(f).concat(c).concat(p).concat(c).concat(d)}if("date"!==a){var h=o.getTimezoneOffset();if(0!==h){var m=Math.abs(h),v=(0,ed.Z)(Math.floor(m/60),2),g=(0,ed.Z)(m%60,2);l="".concat(h<0?"+":"-").concat(v,":").concat(g)}else l="Z";var y=""===s?"":"T",b=[(0,ed.Z)(o.getHours(),2),(0,ed.Z)(o.getMinutes(),2),(0,ed.Z)(o.getSeconds(),2)].join(u);s="".concat(s).concat(y).concat(b).concat(l)}return s}(e).split("T")[0]+"T00:00:00.000Z"}}();!function(){function e(){var e;this.formatters=((e={}).email=this.default,e.short_text=this.default,e.long_text=this.default,e.url=this.default,e.file=this.attachment,e.checkbox=this.checkbox,e.rating=this.default,e.auto_sync_dropdown=this.dropdown,e.number=this.default,e.date=this.date,e.dateTime=this.dateAndTime,e.phone_number=this.default,e.signature=this.signature,e.rich_text=this.richText,e.hidden=this.default,e)}e.prototype.format=function(e,t){return(0,this.formatters[t])(e)},e.prototype.default=function(e){return null==e?"":e},e.prototype.attachment=function(e){return e.map((function(e){return e.url})).join(", ")},e.prototype.checkbox=function(e){return e?"TRUE":"FALSE"},e.prototype.dropdown=function(e){return e.map((function(e){return e.name})).join(";")},e.prototype.date=function(e){return e.toLocaleDateString()},e.prototype.dateAndTime=function(e){return e.toLocaleString()},e.prototype.signature=function(e){return e.map((function(e){return e.url})).join(", ")},e.prototype.richText=function(e){return e}}();!function(){function e(){var e;this.formatters=((e={})[_a.SINGLE_SELECT_FIELD]=this.singleSelect,e[_a.COLOR_PICKER_FIELD]=this.default,e[_a.DATE_FIELD]=this.date,e[_a.FILE_FIELD]=this.attachment,e[_a.EMAIL_FIELD]=this.default,e[_a.FIRST_CREATED_FIELD]=this.default,e[_a.CURRENCY_FIELD]=this.default,e[_a.FORMULA_FIELD]=this.default,e[_a.LAST_UPDATED_FIELD]=this.default,e[_a.LINK_FIELD]=this.default,e[_a.LINKED_RECORD_FIELD]=this.linkedRecord,e[_a.LOOKUP_FIELD]=this.default,e[_a.MULTI_SELECT_FIELD]=this.multipleSelect,e[_a.RICH_TEXTAREA_FIELD]=this.richText,e[_a.NUMBER_SLIDER_FIELD]=this.default,e[_a.PHONE_FIELD]=this.default,e[_a.NUMBER_FIELD]=this.default,e[_a.PERCENT_FIELD]=this.default,e[_a.TEXT_FIELD]=this.text,e[_a.RATING_FIELD]=this.default,e[_a.ROLLUP_FIELD]=this.default,e[_a.TEXTAREA_FIELD]=this.textArea,e[_a.RECORD_TITLE_FIELD]=this.default,e[_a.STATUS_FIELD]=this.status,e[_a.TAGS_FIELD]=this.tags,e[_a.PERCENT_COMPLETE_FIELD]=this.default,e[_a.YES_NO_FIELD]=this.default,e[_a.DUE_DATE_FIELD]=this.dueDate,e)}e.prototype.format=function(e,t){return null==e?"":(0,this.formatters[t])(e)},e.prototype.default=function(e){return e},e.prototype.attachment=function(e){return e.map((function(e){return e.url}))},e.prototype.date=function(e){return e.toLocaleString()},e.prototype.dueDate=function(e){return e.toLocaleDateString()},e.prototype.linkedRecord=function(e){return e.map((function(e){return e.id}))},e.prototype.multipleSelect=function(e){return e.map((function(e){return e.id}))},e.prototype.singleSelect=function(e){var t;return(null===(t=e[0])||void 0===t?void 0:t.id)||""},e.prototype.status=function(e){var t;return(null===(t=e[0])||void 0===t?void 0:t.id)||""},e.prototype.tags=function(e){return e.map((function(e){return e.id}))},e.prototype.text=function(e){return e instanceof Date?e.toLocaleString():e},e.prototype.richText=function(e){return e instanceof Date?e.toLocaleString():e},e.prototype.textArea=function(e){return e instanceof Date?e.toLocaleString():e}}();!function(){function e(){var e;this.formatters=((e={}).email=this.default,e.short_text=this.default,e.long_text=this.default,e.url=this.default,e.file=this.file,e.checkbox=this.default,e.rating=this.default,e.auto_sync_dropdown=this.dropdown,e.number=this.default,e.date=this.default,e.dateTime=this.default,e.phone_number=this.default,e.signature=this.file,e.rich_text=this.default,e.hidden=this.default,e)}e.prototype.format=function(e,t){return(0,this.formatters[t])(e)},e.prototype.default=function(e){return e},e.prototype.file=function(e){return e.map((function(e){return e.url}))},e.prototype.dropdown=function(e){return e.map((function(e){return e.name})).join("; ")}}();!function(){function e(){var e;this.formatters=((e={}).email=this.default,e.short_text=this.default,e.long_text=this.default,e.url=this.default,e.file=this.file,e.checkbox=this.default,e.rating=this.default,e.auto_sync_dropdown=this.dropdown,e.number=this.default,e.date=this.default,e.dateTime=this.default,e.phone_number=this.default,e.signature=this.file,e.rich_text=this.default,e.hidden=this.default,e)}e.prototype.format=function(e,t){return(0,this.formatters[t])(e)},e.prototype.default=function(e){return e},e.prototype.file=function(e){return e.map((function(e){return e.url})).join(";")},e.prototype.dropdown=function(e){return e.map((function(e){return e.name})).join("; ")}}();var nd=function(){return nd=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},nd.apply(this,arguments)};!function(){function e(){var e;this.formatters=((e={}).email=this.default,e.short_text=this.default,e.long_text=this.default,e.url=this.default,e.file=this.file,e.checkbox=this.default,e.rating=this.default,e.auto_sync_dropdown=this.dropdown,e.number=this.default,e.date=this.default,e.dateTime=this.default,e.phone_number=this.default,e.signature=this.file,e.rich_text=this.default,e.hidden=this.default,e)}e.prototype.format=function(e,t){return(0,this.formatters[t])(e)},e.prototype.default=function(e){return e},e.prototype.file=function(e){return e.map((function(e){var t;return(t={})[e.filename]=e.url,t})).reduce((function(e,t){return nd(nd({},e),t)}),{})},e.prototype.dropdown=function(e){return e.map((function(e){return e.name})).join("; ")}}();var rd=function(){return rd=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},rd.apply(this,arguments)};!function(){function e(){var e;this.formatters=((e={}).email=this.default,e.short_text=this.default,e.long_text=this.default,e.url=this.default,e.file=this.file,e.checkbox=this.default,e.rating=this.default,e.auto_sync_dropdown=this.dropdown,e.number=this.default,e.date=this.default,e.dateTime=this.default,e.phone_number=this.default,e.signature=this.file,e.rich_text=this.default,e.hidden=this.default,e)}e.prototype.format=function(e,t){return(0,this.formatters[t])(e)},e.prototype.default=function(e){return e},e.prototype.file=function(e){return e.map((function(e){var t;return(t={})[e.filename]=e.url,t})).reduce((function(e,t){return rd(rd({},e),t)}),{})},e.prototype.dropdown=function(e){return e.map((function(e){return e.name})).join("; ")}}();var od=function(){return od=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},od.apply(this,arguments)};!function(){function e(){var e;this.formatters=((e={}).email=this.default,e.short_text=this.default,e.long_text=this.default,e.url=this.default,e.file=this.file,e.checkbox=this.default,e.rating=this.default,e.auto_sync_dropdown=this.dropdown,e.number=this.default,e.date=this.default,e.dateTime=this.default,e.phone_number=this.default,e.signature=this.file,e.rich_text=this.default,e.hidden=this.default,e)}e.prototype.format=function(e,t){return(0,this.formatters[t])(e)},e.prototype.default=function(e){return e},e.prototype.file=function(e){return e.map((function(e){var t;return(t={})[e.filename]=e.url,t})).reduce((function(e,t){return od(od({},e),t)}),{})},e.prototype.dropdown=function(e){return e.map((function(e){return e.name})).join("; ")}}();!function(){function e(){var e;this.formatters=((e={})[Fa.TEXT]=this.default,e[Fa.DATE]=this.default,e[Fa.CHECKBOX]=this.selectable,e[Fa.NUMBER]=this.default,e[Fa.HTML]=this.default,e[Fa.BOOLEAN_CHECKBOX]=this.default,e[Fa.CALCULATION]=this.default,e[Fa.ENUMERATED]=this.default,e[Fa.FILE]=this.file,e[Fa.PHONE_NUMBER]=this.default,e[Fa.RADIO]=this.selectable,e[Fa.SCORE]=this.default,e[Fa.SELECT]=this.selectable,e[Fa.TEXTAREA]=this.default,e)}e.prototype.format=function(e,t){return null==e?e:(0,this.formatters[t])(e)},e.prototype.default=function(e){return e},e.prototype.file=function(e){return Array.isArray(e)?e.map((function(e){return e.url})).filter(Boolean).join(", "):e.url},e.prototype.selectable=function(e){return e.map((function(e){return e.id})).join(",")}}();function id(e){return id="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},id(e)}function ad(e){if(!("string"==typeof e||e instanceof String)){var t=id(e);throw null===e?t="null":"object"===t&&(t=e.constructor.name),new TypeError("Expected a string but received a ".concat(t))}}function sd(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;for(var n in t)void 0===e[n]&&(e[n]=t[n]);return e}var ld={require_tld:!0,allow_underscores:!1,allow_trailing_dot:!1,allow_numeric_tld:!1,allow_wildcard:!1,ignore_max_length:!1};var cd="(?:[0-9]|[1-9][0-9]|1[0-9][0-9]|2[0-4][0-9]|25[0-5])",ud="(".concat(cd,"[.]){3}").concat(cd),dd=new RegExp("^".concat(ud,"$")),pd="(?:[0-9a-fA-F]{1,4})",fd=new RegExp("^("+"(?:".concat(pd,":){7}(?:").concat(pd,"|:)|")+"(?:".concat(pd,":){6}(?:").concat(ud,"|:").concat(pd,"|:)|")+"(?:".concat(pd,":){5}(?::").concat(ud,"|(:").concat(pd,"){1,2}|:)|")+"(?:".concat(pd,":){4}(?:(:").concat(pd,"){0,1}:").concat(ud,"|(:").concat(pd,"){1,3}|:)|")+"(?:".concat(pd,":){3}(?:(:").concat(pd,"){0,2}:").concat(ud,"|(:").concat(pd,"){1,4}|:)|")+"(?:".concat(pd,":){2}(?:(:").concat(pd,"){0,3}:").concat(ud,"|(:").concat(pd,"){1,5}|:)|")+"(?:".concat(pd,":){1}(?:(:").concat(pd,"){0,4}:").concat(ud,"|(:").concat(pd,"){1,6}|:)|")+"(?::((?::".concat(pd,"){0,5}:").concat(ud,"|(?::").concat(pd,"){1,7}|:))")+")(%[0-9a-zA-Z-.:]{1,})?$");function hd(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";return ad(e),(t=String(t))?"4"===t?dd.test(e):"6"===t&&fd.test(e):hd(e,4)||hd(e,6)}function md(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){if("undefined"==typeof Symbol||!(Symbol.iterator in Object(e)))return;var n=[],r=!0,o=!1,i=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(l){o=!0,i=l}finally{try{r||null==s.return||s.return()}finally{if(o)throw i}}return n}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return vd(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return vd(e,t)}(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 vd(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}var gd={protocols:["http","https","ftp"],require_tld:!0,require_protocol:!1,require_host:!0,require_port:!1,require_valid_protocol:!0,allow_underscores:!1,allow_trailing_dot:!1,allow_protocol_relative_urls:!1,allow_fragments:!0,allow_query_components:!0,validate_length:!0},yd=/^\[([^\]]+)\](?::([0-9]+))?$/;function bd(e,t){for(var n=0;n<t.length;n++){var r=t[n];if(e===r||(o=r,"[object RegExp]"===Object.prototype.toString.call(o)&&r.test(e)))return!0}var o;return!1}function wd(e,t){if(ad(e),!e||/[\s<>]/.test(e))return!1;if(0===e.indexOf("mailto:"))return!1;if((t=sd(t,gd)).validate_length&&e.length>=2083)return!1;if(!t.allow_fragments&&e.includes("#"))return!1;if(!t.allow_query_components&&(e.includes("?")||e.includes("&")))return!1;var n,r,o,i,a,s,l,c;if(l=e.split("#"),e=l.shift(),l=e.split("?"),e=l.shift(),(l=e.split("://")).length>1){if(n=l.shift().toLowerCase(),t.require_valid_protocol&&-1===t.protocols.indexOf(n))return!1}else{if(t.require_protocol)return!1;if("//"===e.slice(0,2)){if(!t.allow_protocol_relative_urls)return!1;l[0]=e.slice(2)}}if(""===(e=l.join("://")))return!1;if(l=e.split("/"),""===(e=l.shift())&&!t.require_host)return!0;if((l=e.split("@")).length>1){if(t.disallow_auth)return!1;if(""===l[0])return!1;if((r=l.shift()).indexOf(":")>=0&&r.split(":").length>2)return!1;var u=md(r.split(":"),2),d=u[0],p=u[1];if(""===d&&""===p)return!1}s=null,c=null;var f=(i=l.join("@")).match(yd);if(f?(o="",c=f[1],s=f[2]||null):(o=(l=i.split(":")).shift(),l.length&&(s=l.join(":"))),null!==s&&s.length>0){if(a=parseInt(s,10),!/^[0-9]+$/.test(s)||a<=0||a>65535)return!1}else if(t.require_port)return!1;return t.host_whitelist?bd(o,t.host_whitelist):""===o&&!t.require_host||!!(hd(o)||function(e,t){ad(e),(t=sd(t,ld)).allow_trailing_dot&&"."===e[e.length-1]&&(e=e.substring(0,e.length-1)),!0===t.allow_wildcard&&0===e.indexOf("*.")&&(e=e.substring(2));var n=e.split("."),r=n[n.length-1];if(t.require_tld){if(n.length<2)return!1;if(!t.allow_numeric_tld&&!/^([a-z\u00A1-\u00A8\u00AA-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]{2,}|xn[a-z0-9-]{2,})$/i.test(r))return!1;if(/\s/.test(r))return!1}return!(!t.allow_numeric_tld&&/^\d+$/.test(r))&&n.every((function(e){return!(e.length>63&&!t.ignore_max_length||!/^[a-z_\u00a1-\uffff0-9-]+$/i.test(e)||/[\uff01-\uff5e]/.test(e)||/^-|-$/.test(e)||!t.allow_underscores&&/_/.test(e))}))}(o,t)||c&&hd(c,6))&&(o=o||c,!t.host_blacklist||!bd(o,t.host_blacklist))}var xd=function(){return xd=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},xd.apply(this,arguments)},kd=function(e,t){var n="function"==typeof Symbol&&e[Symbol.iterator];if(!n)return e;var r,o,i=n.call(e),a=[];try{for(;(void 0===t||t-- >0)&&!(r=i.next()).done;)a.push(r.value)}catch(s){o={error:s}}finally{try{r&&!r.done&&(n=i.return)&&n.call(i)}finally{if(o)throw o.error}}return a},Sd=function(e){var t="function"==typeof Symbol&&Symbol.iterator,n=t&&e[t],r=0;if(n)return n.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&r>=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")},Cd=function(e,t,n){if(n||2===arguments.length)for(var r,o=0,i=t.length;o<i;o++)!r&&o in t||(r||(r=Array.prototype.slice.call(t,0,o)),r[o]=t[o]);return e.concat(r||Array.prototype.slice.call(t))},Ed=function(e,t){e=e.replace(/[\[\]]/g,"\\$&"),t||(t=decodeURIComponent(window.location.href));var n=new RegExp("[?&]"+e+"(=([^&#]*)|&|#|$)").exec(t);return n?n[2]?decodeURIComponent(n[2].replace(/\+/g," ")):"":null},Td=function(e){var t=e.split(":"),n=t[t.length-1].slice(0,-1);return n.startsWith("'")&&n.endsWith("'")?n.substring(1,n.length-1):n},Od=function(e){var t,n,r,o=new URL(window.location.href);try{for(var i=Sd(o.searchParams.keys()),a=i.next();!a.done;a=i.next()){if(a.value.toLowerCase()===e.toLowerCase()){r=o.searchParams.get(e);break}}}catch(s){t={error:s}}finally{try{a&&!a.done&&(n=i.return)&&n.call(i)}finally{if(t)throw t.error}}return r||"recordid"!==e.toLowerCase()||(r=function(){var e=window.location.pathname.match(/\/r\/([^/]+)\/?/);if(e&&e[1])return e[1]}()),r},$d=function(e,t){var n,r,o,i,a;void 0===t&&(t="");var s=(null!=e?e:"").trim(),l=window.logged_in_user;switch(!0){case xn.Page===s:return window.location.href;case xn.LoggedInUserEmail===s:return null!==(n=null==l?void 0:l.softr_user_email)&&void 0!==n?n:"";case xn.LoggedInUserName===s:return null!==(r=null==l?void 0:l.softr_user_full_name)&&void 0!==r?r:"";case xn.LoggedInUserATRecordId===s:return null!==(o=null==l?void 0:l.airtable_record_id)&&void 0!==o?o:"";case xn.LoggedInUserRecordId===s:return null!==(i=null==l?void 0:l.record_id)&&void 0!==i?i:"";case s.startsWith(xn.LoggedInUser):return null!==(a=null==l?void 0:l[Td(s)])&&void 0!==a?a:"";case s.startsWith(xn.UrlParam):var c=Td(s);return Od(c);case s.startsWith(xn.LinkedFormField):return s===xn.LinkedFormFieldRecordId?t||"":Dd(s,t);case xn.CurrentDate===s:return Ad();case xn.CurrentDateTime===s:return Md();default:return s}},Md=function(){return(0,ii.default)(Date.parse((new Date).toISOString().slice(0,-1)),"yyyy-MM-dd HH:mm:ss")},Ad=function(){return(0,ii.default)(Date.parse((new Date).toISOString()),"yyyy-MM-dd")},Dd=function(e,t){var n,r,o,i=e.split(":")[2].trim().slice(0,-1);return t&&(null===(o=null===(r=null===(n=null===window||void 0===window?void 0:window.records)||void 0===n?void 0:n[t])||void 0===r?void 0:r.record)||void 0===o?void 0:o.fields[i])?window.records[t].record.fields[i]:""},Ld=function(e,t,n,r,o){return void 0===t&&(t=[]),void 0===n&&(n=""),(e||[]).reduce((function(e,i){var a,s=t.find((function(e){var t=e.hasOwnProperty("mappedTo")?"mappedTo":e.hasOwnProperty("name")?"name":e.hasOwnProperty("format")?"format":"";return e[t]===i[t]&&e.fieldName&&e[t]})),l=function(e,t,n){var r=new URL(window.location.href),o=Array.from(r.searchParams.entries()).find((function(r){var o=kd(r,1)[0];if(o.includes("prefill_")){var i=o.replace("prefill_","");return null==t?void 0:t.isPrefilledFormFieldExist(i,e,n.fields)}return!1}))||[];return o[1]}(i,r,o),c=(s||{}).fieldName||zr();switch(i.type){case ct.AutoSyncDropdown:return Cd(Cd([],kd(e),!1),[xd(xd({},i),{values:i.values?Array.from(new Set(i.values.split(";"))):[],value:l||i.value,fieldName:c})],!1);case ct.Checkbox:var u=l?{true:!0,false:!1}[l]:!!i.value;return Cd(Cd([],kd(e),!1),[xd(xd({},i),{fieldName:c,value:u})],!1);case ct.Date:case ct.DateTime:return l&&function(e){return"object"==typeof e&&null!==e&&"function"==typeof e.getTime&&!isNaN(e)}(new Date(l))?Cd(Cd([],kd(e),!1),[xd(xd({},i),{fieldName:c,value:l})],!1):Cd(Cd([],kd(e),!1),[xd(xd({},i),{value:"",fieldName:c})],!1);case ct.File:case ct.Image:case ct.Signature:return Cd(Cd([],kd(e),!1),[xd(xd({},i),{fieldName:c,value:[]})],!1);case ct.Hidden:return Cd(Cd([],kd(e),!1),[xd(xd({},i),{fieldName:c,value:$d(i.value,n),isLinkedForm:null===(a=null==i?void 0:i.value)||void 0===a?void 0:a.startsWith(xn.LinkedFormField)})],!1);default:return Cd(Cd([],kd(e),!1),[xd(xd({},i),{fieldName:c,value:l||i.value})],!1)}}),[])},Nd=function(e,t,n){void 0===n&&(n={});var r=n.isUserAccount,o=void 0!==r&&r,i=n.step,a=n.processor,s=e.reduce((function(e,r){var s,l,c,u,d,p,f,h,m,v,g,y,b,w,x,k,S,C,E,T=r.fieldName||r.mappedTo||r.name||r.format,O=("string"==typeof r.label?r.label:null===(x=r.label)||void 0===x?void 0:x.value)||r.placeholder||"Field";!function(e){"email"===e.format&&(e.type=ct.Email,e.isRequired=!0);"name"===e.format&&(e.type=ct.ShortText,e.isRequired=!0);"password"===e.format&&(e.type=ct.Password,e.isRequired=!0)}(r);var $=(null===(k=window.softr_validation_messages)||void 0===k?void 0:k.required)||"".concat(O," is required");if(r.type===ct.Email){var M=(null===(S=window.softr_validation_messages)||void 0===S?void 0:S.email)||"Please provide valid email address",A=tn().test("is-email",M,(function(e){if(!e&&!r.isRequired)return!0;var t=null==e?void 0:e.split(",").map((function(e){return e.trim()}));return null==t?void 0:t.every((function(e){return tn().email().isValidSync(e)}))}));return xd(xd({},e),((s={})[T]=r.isRequired?A.required(t?$:""):A,s))}if(r.type===ct.Text&&"code"===r.format&&"code"===i)return xd(xd({},e),((l={})[T]=tn().trim().required(t?$:""),l));if(r.type===ct.Password){var D=n.password,L=void 0===D?{}:D;if(L.ignoreValidation)return xd(xd({},e),((c={})[T]=r.isRequired?tn().required(t?$:""):"",c));var N=new RegExp(L.regexp),R=L.description;A=void 0;switch(L.type){case"Weak":case"Medium":case"Strong":A=tn().matches(N,R);break;default:A=tn().min(6,"Your password must contain at least 6 characters")}return xd(xd({},e),((u={})[T]=r.isRequired?A.required(t?$:""):A,u))}if(r.type===ct.PhoneNumber){var I=(null===(C=window.softr_validation_messages)||void 0===C?void 0:C.phone)||"Please provide valid phone number";A=tn().matches(/\(?\+[0-9]{1,3}\)? ?-?[0-9]{1,3} ?-?[0-9]{3,5} ?-?[0-9]{4}( ?-?[0-9]{3})? ?(\w{1,10}\s?\d{1,6})?/g,I);return xd(xd({},e),((d={})[T]=r.isRequired?A.required(t?$:""):A,d))}if(r.type===ct.Url){var P=(null===(E=window.softr_validation_messages)||void 0===E?void 0:E.url)||"Please provide valid url";A=tn().test("is-url",P,(function(e){var t=null==e?void 0:e.split(",").map((function(e){return e.trim()}));return!e&&!r.isRequired||((null==t?void 0:t.length)?null==t?void 0:t.every((function(e){return wd(e,{require_protocol:!1})})):!r.isRequired)}));return xd(xd({},e),((p={})[T]=r.isRequired?A.required(t?$:""):A,p))}if(r.type===ct.Checkbox&&r.isRequired)return xd(xd({},e),((f={})[T]=Gt().oneOf([!0],t?$:""),f));if(r.type===ct.Rating&&r.isRequired)return xd(xd({},e),((h={})[T]=rn().required(t?$:""),h));if(r.isRequired&&(r.type===ct.AutoSyncDropdown||r.type===ct.Dropdown))return xd(xd({},e),((m={})[T]=Vt().test("isArrayOrString",t?"".concat(O," must be an array or a string"):"",(function(e){return e&&e.length?!("string"!=typeof e&&!Array.isArray(e))||this.createError({message:"".concat(O," must be an array or a string")}):this.createError({message:t?$:""})})).required(t?$:""),m));if((r.type===ct.File||r.type===ct.Signature)&&!o){A=yn();return xd(xd({},e),((v={})[T]=r.isRequired&&t?A.min(1,$):A,v))}if((r.type===ct.Image||r.type===ct.File)&&o){var Z=n.metadata,_=void 0===Z?{}:Z,F=a.getMetadataFieldType(null==_?void 0:_.fields,r.mappedTo||r.name);if(F===Br.ATTACHMENT||F===_a.FILE_FIELD){A=yn().required(t?$:"");return xd(xd({},e),((g={})[T]=r.isRequired&&t?A.min(1,$):A,g))}if(Array.isArray(r.value)&&!r.value.length){A=yn().required(t?$:"");if(r.isRequired)return xd(xd({},e),((y={})[T]=A.min(1,t?$:""),y))}else{A=tn();if(r.isRequired)return xd(xd({},e),((b={})[T]=A.required(t?$:""),b))}}return r.isRequired&&r.type!==ct.Hidden?xd(xd({},e),((w={})[T]=tn().required(t?$:""),w)):e}),{});return vn().shape(s)},Rd=function(e){var t=[];for(var n in e)t.push(encodeURIComponent(n)+"="+encodeURIComponent(e[n]));return t.join("&")};const Id=function(){this.__data__=new gu,this.size=0};const Pd=function(e){var t=this.__data__,n=t.delete(e);return this.size=t.size,n};const Zd=function(e){return this.__data__.get(e)};const _d=function(e){return this.__data__.has(e)};const Fd=function(e,t){var n=this.__data__;if(n instanceof gu){var r=n.__data__;if(!yu||r.length<199)return r.push([e,t]),this.size=++n.size,this;n=this.__data__=new Ou(r)}return n.set(e,t),this.size=n.size,this};function jd(e){var t=this.__data__=new gu(e);this.size=t.size}jd.prototype.clear=Id,jd.prototype.delete=Pd,jd.prototype.get=Zd,jd.prototype.has=_d,jd.prototype.set=Fd;const Bd=jd;const zd=function(e,t){for(var n=-1,r=null==e?0:e.length;++n<r;)if(t(e[n],n,e))return!0;return!1};const Hd=function(e,t,n,r,o,i){var a=1&n,s=e.length,l=t.length;if(s!=l&&!(a&&l>s))return!1;var c=i.get(e),u=i.get(t);if(c&&u)return c==t&&u==e;var d=-1,p=!0,f=2&n?new Du:void 0;for(i.set(e,t),i.set(t,e);++d<s;){var h=e[d],m=t[d];if(r)var v=a?r(m,h,d,t,e,i):r(h,m,d,e,t,i);if(void 0!==v){if(v)continue;p=!1;break}if(f){if(!zd(t,(function(e,t){if(!_u(f,t)&&(h===e||o(h,e,n,r,i)))return f.push(t)}))){p=!1;break}}else if(h!==m&&!o(h,m,n,r,i)){p=!1;break}}return i.delete(e),i.delete(t),p};const Ud=Cc.Uint8Array;const Wd=function(e){var t=-1,n=Array(e.size);return e.forEach((function(e,r){n[++t]=[r,e]})),n};var Vd=Ec?Ec.prototype:void 0,qd=Vd?Vd.valueOf:void 0;const Gd=function(e,t,n,r,o,i,a){switch(n){case"[object DataView]":if(e.byteLength!=t.byteLength||e.byteOffset!=t.byteOffset)return!1;e=e.buffer,t=t.buffer;case"[object ArrayBuffer]":return!(e.byteLength!=t.byteLength||!i(new Ud(e),new Ud(t)));case"[object Boolean]":case"[object Date]":case"[object Number]":return cu(+e,+t);case"[object Error]":return e.name==t.name&&e.message==t.message;case"[object RegExp]":case"[object String]":return e==t+"";case"[object Map]":var s=Wd;case"[object Set]":var l=1&r;if(s||(s=Bu),e.size!=t.size&&!l)return!1;var c=a.get(e);if(c)return c==t;r|=2,a.set(e,t);var u=Hd(s(e),s(t),r,o,i,a);return a.delete(e),u;case"[object Symbol]":if(qd)return qd.call(e)==qd.call(t)}return!1};const Kd=function(e,t){for(var n=-1,r=t.length,o=e.length;++n<r;)e[o+n]=t[n];return e};const Yd=Array.isArray;const Xd=function(e,t,n){var r=t(e);return Yd(e)?r:Kd(r,n(e))};const Jd=function(e,t){for(var n=-1,r=null==e?0:e.length,o=0,i=[];++n<r;){var a=e[n];t(a,n,e)&&(i[o++]=a)}return i};const Qd=function(){return[]};var ep=Object.prototype.propertyIsEnumerable,tp=Object.getOwnPropertySymbols,np=tp?function(e){return null==e?[]:(e=Object(e),Jd(tp(e),(function(t){return ep.call(e,t)})))}:Qd;const rp=np;const op=function(e,t){for(var n=-1,r=Array(e);++n<e;)r[n]=t(n);return r};const ip=function(e){return null!=e&&"object"==typeof e};const ap=function(e){return ip(e)&&"[object Arguments]"==Rc(e)};var sp=Object.prototype,lp=sp.hasOwnProperty,cp=sp.propertyIsEnumerable;const up=ap(function(){return arguments}())?ap:function(e){return ip(e)&&lp.call(e,"callee")&&!cp.call(e,"callee")};const dp=function(){return!1};var pp="object"==typeof exports&&exports&&!exports.nodeType&&exports,fp=pp&&"object"==typeof module&&module&&!module.nodeType&&module,hp=fp&&fp.exports===pp?Cc.Buffer:void 0;const mp=(hp?hp.isBuffer:void 0)||dp;var vp=/^(?:0|[1-9]\d*)$/;const gp=function(e,t){var n=typeof e;return!!(t=null==t?9007199254740991:t)&&("number"==n||"symbol"!=n&&vp.test(e))&&e>-1&&e%1==0&&e<t};const yp=function(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=9007199254740991};var bp={};bp["[object Float32Array]"]=bp["[object Float64Array]"]=bp["[object Int8Array]"]=bp["[object Int16Array]"]=bp["[object Int32Array]"]=bp["[object Uint8Array]"]=bp["[object Uint8ClampedArray]"]=bp["[object Uint16Array]"]=bp["[object Uint32Array]"]=!0,bp["[object Arguments]"]=bp["[object Array]"]=bp["[object ArrayBuffer]"]=bp["[object Boolean]"]=bp["[object DataView]"]=bp["[object Date]"]=bp["[object Error]"]=bp["[object Function]"]=bp["[object Map]"]=bp["[object Number]"]=bp["[object Object]"]=bp["[object RegExp]"]=bp["[object Set]"]=bp["[object String]"]=bp["[object WeakMap]"]=!1;const wp=function(e){return ip(e)&&yp(e.length)&&!!bp[Rc(e)]};const xp=function(e){return function(t){return e(t)}};var kp="object"==typeof exports&&exports&&!exports.nodeType&&exports,Sp=kp&&"object"==typeof module&&module&&!module.nodeType&&module,Cp=Sp&&Sp.exports===kp&&kc.process;const Ep=function(){try{var e=Sp&&Sp.require&&Sp.require("util").types;return e||Cp&&Cp.binding&&Cp.binding("util")}catch(Yr){}}();var Tp=Ep&&Ep.isTypedArray;const Op=Tp?xp(Tp):wp;var $p=Object.prototype.hasOwnProperty;const Mp=function(e,t){var n=Yd(e),r=!n&&up(e),o=!n&&!r&&mp(e),i=!n&&!r&&!o&&Op(e),a=n||r||o||i,s=a?op(e.length,String):[],l=s.length;for(var c in e)!t&&!$p.call(e,c)||a&&("length"==c||o&&("offset"==c||"parent"==c)||i&&("buffer"==c||"byteLength"==c||"byteOffset"==c)||gp(c,l))||s.push(c);return s};var Ap=Object.prototype;const Dp=function(e){var t=e&&e.constructor;return e===("function"==typeof t&&t.prototype||Ap)};const Lp=function(e,t){return function(n){return e(t(n))}};const Np=Lp(Object.keys,Object);var Rp=Object.prototype.hasOwnProperty;const Ip=function(e){if(!Dp(e))return Np(e);var t=[];for(var n in Object(e))Rp.call(e,n)&&"constructor"!=n&&t.push(n);return t};const Pp=function(e){return null!=e&&yp(e.length)&&!Pc(e)};const Zp=function(e){return Pp(e)?Mp(e):Ip(e)};const _p=function(e){return Xd(e,Zp,rp)};var Fp=Object.prototype.hasOwnProperty;const jp=function(e,t,n,r,o,i){var a=1&n,s=_p(e),l=s.length;if(l!=_p(t).length&&!a)return!1;for(var c=l;c--;){var u=s[c];if(!(a?u in t:Fp.call(t,u)))return!1}var d=i.get(e),p=i.get(t);if(d&&p)return d==t&&p==e;var f=!0;i.set(e,t),i.set(t,e);for(var h=a;++c<l;){var m=e[u=s[c]],v=t[u];if(r)var g=a?r(v,m,u,t,e,i):r(m,v,u,e,t,i);if(!(void 0===g?m===v||o(m,v,n,r,i):g)){f=!1;break}h||(h="constructor"==u)}if(f&&!h){var y=e.constructor,b=t.constructor;y==b||!("constructor"in e)||!("constructor"in t)||"function"==typeof y&&y instanceof y&&"function"==typeof b&&b instanceof b||(f=!1)}return i.delete(e),i.delete(t),f};const Bp=Xc(Cc,"DataView");const zp=Xc(Cc,"Promise");const Hp=Xc(Cc,"WeakMap");var Up="[object Map]",Wp="[object Promise]",Vp="[object Set]",qp="[object WeakMap]",Gp="[object DataView]",Kp=zc(Bp),Yp=zc(yu),Xp=zc(zp),Jp=zc(Fu),Qp=zc(Hp),ef=Rc;(Bp&&ef(new Bp(new ArrayBuffer(1)))!=Gp||yu&&ef(new yu)!=Up||zp&&ef(zp.resolve())!=Wp||Fu&&ef(new Fu)!=Vp||Hp&&ef(new Hp)!=qp)&&(ef=function(e){var t=Rc(e),n="[object Object]"==t?e.constructor:void 0,r=n?zc(n):"";if(r)switch(r){case Kp:return Gp;case Yp:return Up;case Xp:return Wp;case Jp:return Vp;case Qp:return qp}return t});const tf=ef;var nf="[object Arguments]",rf="[object Array]",of="[object Object]",af=Object.prototype.hasOwnProperty;const sf=function(e,t,n,r,o,i){var a=Yd(e),s=Yd(t),l=a?rf:tf(e),c=s?rf:tf(t),u=(l=l==nf?of:l)==of,d=(c=c==nf?of:c)==of,p=l==c;if(p&&mp(e)){if(!mp(t))return!1;a=!0,u=!1}if(p&&!u)return i||(i=new Bd),a||Op(e)?Hd(e,t,n,r,o,i):Gd(e,t,l,n,r,o,i);if(!(1&n)){var f=u&&af.call(e,"__wrapped__"),h=d&&af.call(t,"__wrapped__");if(f||h){var m=f?e.value():e,v=h?t.value():t;return i||(i=new Bd),o(m,v,n,r,i)}}return!!p&&(i||(i=new Bd),jp(e,t,n,r,o,i))};const lf=function e(t,n,r,o,i){return t===n||(null==t||null==n||!ip(t)&&!ip(n)?t!=t&&n!=n:sf(t,n,r,o,e,i))};const cf=function(e,t){return lf(e,t)};var uf=function(){return window.location.href.startsWith("http://localhost:4200")||window.location.href.startsWith("https://studio-staging")||window.location.href.startsWith("https://studio.softr.io/")},df=n(97582),pf=function(e){return e&&"number"==typeof e.length&&"function"!=typeof e};function ff(e){return"function"==typeof e}function hf(e){return ff(null==e?void 0:e.then)}var mf,vf,gf=(mf=function(e){return function(t){e(this),this.message=t?t.length+" errors occurred during unsubscription:\n"+t.map((function(e,t){return t+1+") "+e.toString()})).join("\n "):"",this.name="UnsubscriptionError",this.errors=t}},(vf=mf((function(e){Error.call(e),e.stack=(new Error).stack}))).prototype=Object.create(Error.prototype),vf.prototype.constructor=vf,vf);function yf(e,t){if(e){var n=e.indexOf(t);0<=n&&e.splice(n,1)}}var bf=function(){function e(e){this.initialTeardown=e,this.closed=!1,this._parentage=null,this._finalizers=null}return e.prototype.unsubscribe=function(){var e,t,n,r,o;if(!this.closed){this.closed=!0;var i=this._parentage;if(i)if(this._parentage=null,Array.isArray(i))try{for(var a=(0,df.__values)(i),s=a.next();!s.done;s=a.next()){s.value.remove(this)}}catch(f){e={error:f}}finally{try{s&&!s.done&&(t=a.return)&&t.call(a)}finally{if(e)throw e.error}}else i.remove(this);var l=this.initialTeardown;if(ff(l))try{l()}catch(Yr){o=Yr instanceof gf?Yr.errors:[Yr]}var c=this._finalizers;if(c){this._finalizers=null;try{for(var u=(0,df.__values)(c),d=u.next();!d.done;d=u.next()){var p=d.value;try{xf(p)}catch(h){o=null!=o?o:[],h instanceof gf?o=(0,df.__spreadArray)((0,df.__spreadArray)([],(0,df.__read)(o)),(0,df.__read)(h.errors)):o.push(h)}}}catch(m){n={error:m}}finally{try{d&&!d.done&&(r=u.return)&&r.call(u)}finally{if(n)throw n.error}}}if(o)throw new gf(o)}},e.prototype.add=function(t){var n;if(t&&t!==this)if(this.closed)xf(t);else{if(t instanceof e){if(t.closed||t._hasParent(this))return;t._addParent(this)}(this._finalizers=null!==(n=this._finalizers)&&void 0!==n?n:[]).push(t)}},e.prototype._hasParent=function(e){var t=this._parentage;return t===e||Array.isArray(t)&&t.includes(e)},e.prototype._addParent=function(e){var t=this._parentage;this._parentage=Array.isArray(t)?(t.push(e),t):t?[t,e]:e},e.prototype._removeParent=function(e){var t=this._parentage;t===e?this._parentage=null:Array.isArray(t)&&yf(t,e)},e.prototype.remove=function(t){var n=this._finalizers;n&&yf(n,t),t instanceof e&&t._removeParent(this)},e.EMPTY=function(){var t=new e;return t.closed=!0,t}(),e}();bf.EMPTY;function wf(e){return e instanceof bf||e&&"closed"in e&&ff(e.remove)&&ff(e.add)&&ff(e.unsubscribe)}function xf(e){ff(e)?e():e.unsubscribe()}var kf={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1},Sf={setTimeout:function(e,t){for(var n=[],r=2;r<arguments.length;r++)n[r-2]=arguments[r];var o=Sf.delegate;return(null==o?void 0:o.setTimeout)?o.setTimeout.apply(o,(0,df.__spreadArray)([e,t],(0,df.__read)(n))):setTimeout.apply(void 0,(0,df.__spreadArray)([e,t],(0,df.__read)(n)))},clearTimeout:function(e){var t=Sf.delegate;return((null==t?void 0:t.clearTimeout)||clearTimeout)(e)},delegate:void 0};function Cf(e){Sf.setTimeout((function(){var t=kf.onUnhandledError;if(!t)throw e;t(e)}))}function Ef(){}var Tf=Of("C",void 0,void 0);function Of(e,t,n){return{kind:e,value:t,error:n}}var $f=null;var Mf=function(e){function t(t){var n=e.call(this)||this;return n.isStopped=!1,t?(n.destination=t,wf(t)&&t.add(n)):n.destination=Pf,n}return(0,df.__extends)(t,e),t.create=function(e,t,n){return new Nf(e,t,n)},t.prototype.next=function(e){this.isStopped?If(function(e){return Of("N",e,void 0)}(e),this):this._next(e)},t.prototype.error=function(e){this.isStopped?If(Of("E",void 0,e),this):(this.isStopped=!0,this._error(e))},t.prototype.complete=function(){this.isStopped?If(Tf,this):(this.isStopped=!0,this._complete())},t.prototype.unsubscribe=function(){this.closed||(this.isStopped=!0,e.prototype.unsubscribe.call(this),this.destination=null)},t.prototype._next=function(e){this.destination.next(e)},t.prototype._error=function(e){try{this.destination.error(e)}finally{this.unsubscribe()}},t.prototype._complete=function(){try{this.destination.complete()}finally{this.unsubscribe()}},t}(bf),Af=Function.prototype.bind;function Df(e,t){return Af.call(e,t)}var Lf=function(){function e(e){this.partialObserver=e}return e.prototype.next=function(e){var t=this.partialObserver;if(t.next)try{t.next(e)}catch(n){Rf(n)}},e.prototype.error=function(e){var t=this.partialObserver;if(t.error)try{t.error(e)}catch(n){Rf(n)}else Rf(e)},e.prototype.complete=function(){var e=this.partialObserver;if(e.complete)try{e.complete()}catch(t){Rf(t)}},e}(),Nf=function(e){function t(t,n,r){var o,i,a=e.call(this)||this;ff(t)||!t?o={next:null!=t?t:void 0,error:null!=n?n:void 0,complete:null!=r?r:void 0}:a&&kf.useDeprecatedNextContext?((i=Object.create(t)).unsubscribe=function(){return a.unsubscribe()},o={next:t.next&&Df(t.next,i),error:t.error&&Df(t.error,i),complete:t.complete&&Df(t.complete,i)}):o=t;return a.destination=new Lf(o),a}return(0,df.__extends)(t,e),t}(Mf);function Rf(e){var t;kf.useDeprecatedSynchronousErrorHandling?(t=e,kf.useDeprecatedSynchronousErrorHandling&&$f&&($f.errorThrown=!0,$f.error=t)):Cf(e)}function If(e,t){var n=kf.onStoppedNotification;n&&Sf.setTimeout((function(){return n(e,t)}))}var Pf={closed:!0,next:Ef,error:function(e){throw e},complete:Ef},Zf="function"==typeof Symbol&&Symbol.observable||"@@observable";function _f(e){return e}function Ff(e){return 0===e.length?_f:1===e.length?e[0]:function(t){return e.reduce((function(e,t){return t(e)}),t)}}var jf=function(){function e(e){e&&(this._subscribe=e)}return e.prototype.lift=function(t){var n=new e;return n.source=this,n.operator=t,n},e.prototype.subscribe=function(e,t,n){var r,o=this,i=(r=e)&&r instanceof Mf||function(e){return e&&ff(e.next)&&ff(e.error)&&ff(e.complete)}(r)&&wf(r)?e:new Nf(e,t,n);return function(e){if(kf.useDeprecatedSynchronousErrorHandling){var t=!$f;if(t&&($f={errorThrown:!1,error:null}),e(),t){var n=$f,r=n.errorThrown,o=n.error;if($f=null,r)throw o}}else e()}((function(){var e=o,t=e.operator,n=e.source;i.add(t?t.call(i,n):n?o._subscribe(i):o._trySubscribe(i))})),i},e.prototype._trySubscribe=function(e){try{return this._subscribe(e)}catch(t){e.error(t)}},e.prototype.forEach=function(e,t){var n=this;return new(t=Bf(t))((function(t,r){var o=new Nf({next:function(t){try{e(t)}catch(n){r(n),o.unsubscribe()}},error:r,complete:t});n.subscribe(o)}))},e.prototype._subscribe=function(e){var t;return null===(t=this.source)||void 0===t?void 0:t.subscribe(e)},e.prototype[Zf]=function(){return this},e.prototype.pipe=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return Ff(e)(this)},e.prototype.toPromise=function(e){var t=this;return new(e=Bf(e))((function(e,n){var r;t.subscribe((function(e){return r=e}),(function(e){return n(e)}),(function(){return e(r)}))}))},e.create=function(t){return new e(t)},e}();function Bf(e){var t;return null!==(t=null!=e?e:kf.Promise)&&void 0!==t?t:Promise}function zf(e){return ff(e[Zf])}function Hf(e){return Symbol.asyncIterator&&ff(null==e?void 0:e[Symbol.asyncIterator])}function Uf(e){return new TypeError("You provided "+(null!==e&&"object"==typeof e?"an invalid object":"'"+e+"'")+" where a stream was expected. You can provide an Observable, Promise, ReadableStream, Array, AsyncIterable, or Iterable.")}var Wf="function"==typeof Symbol&&Symbol.iterator?Symbol.iterator:"@@iterator";function Vf(e){return ff(null==e?void 0:e[Wf])}function qf(e){return(0,df.__asyncGenerator)(this,arguments,(function(){var t,n,r;return(0,df.__generator)(this,(function(o){switch(o.label){case 0:t=e.getReader(),o.label=1;case 1:o.trys.push([1,,9,10]),o.label=2;case 2:return[4,(0,df.__await)(t.read())];case 3:return n=o.sent(),r=n.value,n.done?[4,(0,df.__await)(void 0)]:[3,5];case 4:return[2,o.sent()];case 5:return[4,(0,df.__await)(r)];case 6:return[4,o.sent()];case 7:return o.sent(),[3,2];case 8:return[3,10];case 9:return t.releaseLock(),[7];case 10:return[2]}}))}))}function Gf(e){return ff(null==e?void 0:e.getReader)}function Kf(e){if(e instanceof jf)return e;if(null!=e){if(zf(e))return r=e,new jf((function(e){var t=r[Zf]();if(ff(t.subscribe))return t.subscribe(e);throw new TypeError("Provided object does not correctly implement Symbol.observable")}));if(pf(e))return function(e){return new jf((function(t){for(var n=0;n<e.length&&!t.closed;n++)t.next(e[n]);t.complete()}))}(e);if(hf(e))return n=e,new jf((function(e){n.then((function(t){e.closed||(e.next(t),e.complete())}),(function(t){return e.error(t)})).then(null,Cf)}));if(Hf(e))return Yf(e);if(Vf(e))return t=e,new jf((function(e){var n,r;try{for(var o=(0,df.__values)(t),i=o.next();!i.done;i=o.next()){var a=i.value;if(e.next(a),e.closed)return}}catch(s){n={error:s}}finally{try{i&&!i.done&&(r=o.return)&&r.call(o)}finally{if(n)throw n.error}}e.complete()}));if(Gf(e))return Yf(qf(e))}var t,n,r;throw Uf(e)}function Yf(e){return new jf((function(t){(function(e,t){var n,r,o,i;return(0,df.__awaiter)(this,void 0,void 0,(function(){var a,s;return(0,df.__generator)(this,(function(l){switch(l.label){case 0:l.trys.push([0,5,6,11]),n=(0,df.__asyncValues)(e),l.label=1;case 1:return[4,n.next()];case 2:if((r=l.sent()).done)return[3,4];if(a=r.value,t.next(a),t.closed)return[2];l.label=3;case 3:return[3,1];case 4:return[3,11];case 5:return s=l.sent(),o={error:s},[3,11];case 6:return l.trys.push([6,,9,10]),r&&!r.done&&(i=n.return)?[4,i.call(n)]:[3,8];case 7:l.sent(),l.label=8;case 8:return[3,10];case 9:if(o)throw o.error;return[7];case 10:return[7];case 11:return t.complete(),[2]}}))}))})(e,t).catch((function(e){return t.error(e)}))}))}function Xf(e,t,n,r,o){void 0===r&&(r=0),void 0===o&&(o=!1);var i=t.schedule((function(){n(),o?e.add(this.schedule(null,r)):this.unsubscribe()}),r);if(e.add(i),!o)return i}function Jf(e){return function(t){if(function(e){return ff(null==e?void 0:e.lift)}(t))return t.lift((function(t){try{return e(t,this)}catch(n){this.error(n)}}));throw new TypeError("Unable to lift unknown Observable type")}}function Qf(e,t,n,r,o){return new eh(e,t,n,r,o)}var eh=function(e){function t(t,n,r,o,i,a){var s=e.call(this,t)||this;return s.onFinalize=i,s.shouldUnsubscribe=a,s._next=n?function(e){try{n(e)}catch(r){t.error(r)}}:e.prototype._next,s._error=o?function(e){try{o(e)}catch(e){t.error(e)}finally{this.unsubscribe()}}:e.prototype._error,s._complete=r?function(){try{r()}catch(e){t.error(e)}finally{this.unsubscribe()}}:e.prototype._complete,s}return(0,df.__extends)(t,e),t.prototype.unsubscribe=function(){var t;if(!this.shouldUnsubscribe||this.shouldUnsubscribe()){var n=this.closed;e.prototype.unsubscribe.call(this),!n&&(null===(t=this.onFinalize)||void 0===t||t.call(this))}},t}(Mf);function th(e,t){return void 0===t&&(t=0),Jf((function(n,r){n.subscribe(Qf(r,(function(n){return Xf(r,e,(function(){return r.next(n)}),t)}),(function(){return Xf(r,e,(function(){return r.complete()}),t)}),(function(n){return Xf(r,e,(function(){return r.error(n)}),t)})))}))}function nh(e,t){return void 0===t&&(t=0),Jf((function(n,r){r.add(e.schedule((function(){return n.subscribe(r)}),t))}))}function rh(e,t){if(!e)throw new Error("Iterable cannot be null");return new jf((function(n){Xf(n,t,(function(){var r=e[Symbol.asyncIterator]();Xf(n,t,(function(){r.next().then((function(e){e.done?n.complete():n.next(e.value)}))}),0,!0)}))}))}function oh(e,t){if(null!=e){if(zf(e))return function(e,t){return Kf(e).pipe(nh(t),th(t))}(e,t);if(pf(e))return function(e,t){return new jf((function(n){var r=0;return t.schedule((function(){r===e.length?n.complete():(n.next(e[r++]),n.closed||this.schedule())}))}))}(e,t);if(hf(e))return function(e,t){return Kf(e).pipe(nh(t),th(t))}(e,t);if(Hf(e))return rh(e,t);if(Vf(e))return function(e,t){return new jf((function(n){var r;return Xf(n,t,(function(){r=e[Wf](),Xf(n,t,(function(){var e,t,o;try{t=(e=r.next()).value,o=e.done}catch(i){return void n.error(i)}o?n.complete():n.next(t)}),0,!0)})),function(){return ff(null==r?void 0:r.return)&&r.return()}}))}(e,t);if(Gf(e))return function(e,t){return rh(qf(e),t)}(e,t)}throw Uf(e)}function ih(e,t){return t?oh(e,t):Kf(e)}function ah(e){return Jf((function(t,n){var r,o=null,i=!1;o=t.subscribe(Qf(n,void 0,void 0,(function(a){r=Kf(e(a,ah(e)(t))),o?(o.unsubscribe(),o=null,r.subscribe(n)):i=!0}))),i&&(o.unsubscribe(),o=null,r.subscribe(n))}))}function sh(e){return e[e.length-1]}function lh(e){return(t=sh(e))&&ff(t.schedule)?e.pop():void 0;var t}var ch=function(){var e,t;switch(!0){case window.location.href.startsWith("file:///"):case window.location.href.startsWith("http://localhost:8082"):case window.location.href.startsWith("http://localhost:4200"):return"http://localhost:8082/v1/";case window.location.href.startsWith("http://localhost:6006"):return"https://studio-api-staging02.softr.io/v1/";case!!(null===(e=window.location.href.match(/^https?:\/\/\w+\.softr\.io\//))||void 0===e?void 0:e[0]):return"".concat(null===(t=window.location.href.match(/^https?:\/\/\w+\.softr\.io\//))||void 0===t?void 0:t[0].replace("studio","studio-api"),"v1/");default:return"".concat(window.location.protocol,"//").concat(window.location.hostname,":").concat(window.location.port,"/v1/")}},uh=(function(){var e,t=document.querySelector("body > div.content");null===(e=null==t?void 0:t.dataset)||void 0===e||e["data-appid"]}(),function(e){return ih(e).pipe((t=function(e){return[200,201,202,204].includes(e.status)?{data:e.data,error:null}:{data:null,error:e}},Jf((function(e,r){var o=0;e.subscribe(Qf(r,(function(e){r.next(t.call(n,e,o++))})))}))),ah((function(e){return function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return ih(e,lh(e))}({data:null,error:e})})));var t,n});function dh(e,t,n,r){void 0===n&&(n=null),void 0===r&&(r=null);var o={dataType:"json",contentType:"application/json; charset=utf-8"},i=document.body.querySelector("[data-appid]");switch(i&&(o["softr-page-id"]=i.getAttribute("data-pageid")),t){case"GET":return uh(pt().get(e,{headers:o,params:r}));case"POST":return uh(pt().post(e,n,{headers:o,params:r}));case"PUT":return uh(pt().put(e,n,{headers:o,params:r}));case"DELETE":return uh(pt().delete(e,{headers:o,params:r}))}}var ph=function(){return ph=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},ph.apply(this,arguments)},fh=function(e,t,n,r){return new(n||(n=Promise))((function(o,i){function a(e){try{l(r.next(e))}catch(Yr){i(Yr)}}function s(e){try{l(r.throw(e))}catch(Yr){i(Yr)}}function l(e){var t;e.done?o(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())}))},hh=function(e,t){var n,r,o,i,a={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return i={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function s(s){return function(l){return function(s){if(n)throw new TypeError("Generator is already executing.");for(;i&&(i=0,s[0]&&(a=0)),a;)try{if(n=1,r&&(o=2&s[0]?r.return:s[0]?r.throw||((o=r.return)&&o.call(r),0):r.next)&&!(o=o.call(r,s[1])).done)return o;switch(r=0,o&&(s=[2&s[0],o.value]),s[0]){case 0:case 1:o=s;break;case 4:return a.label++,{value:s[1],done:!1};case 5:a.label++,r=s[1],s=[0];continue;case 7:s=a.ops.pop(),a.trys.pop();continue;default:if(!(o=a.trys,(o=o.length>0&&o[o.length-1])||6!==s[0]&&2!==s[0])){a=0;continue}if(3===s[0]&&(!o||s[1]>o[0]&&s[1]<o[3])){a.label=s[1];break}if(6===s[0]&&a.label<o[1]){a.label=o[1],o=s;break}if(o&&a.label<o[2]){a.label=o[2],a.ops.push(s);break}o[2]&&a.ops.pop(),a.trys.pop();continue}s=t.call(e,a)}catch(Yr){s=[6,Yr],r=0}finally{n=o=0}if(5&s[0])throw s[1];return{value:s[0]?s[1]:void 0,done:!0}}([s,l])}}},mh=function(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 o=0;for(r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]])}return n},vh=function(e,t){var n="function"==typeof Symbol&&e[Symbol.iterator];if(!n)return e;var r,o,i=n.call(e),a=[];try{for(;(void 0===t||t-- >0)&&!(r=i.next()).done;)a.push(r.value)}catch(s){o={error:s}}finally{try{r&&!r.done&&(n=i.return)&&n.call(i)}finally{if(o)throw o.error}}return a},gh=function(e,t,n){if(n||2===arguments.length)for(var r,o=0,i=t.length;o<i;o++)!r&&o in t||(r||(r=Array.prototype.slice.call(t,0,o)),r[o]=t[o]);return e.concat(r||Array.prototype.slice.call(t))},yh=function(e,t){var n,r=_("form.button"),i=_("form.reCaptcha"),a=_("form.elements.items"),s=_("form.dynamicElements.enabled"),l=_("form.dynamicElements.items"),c=_("success_action"),u=_("form.successUrl");!c&&u&&(c={selectedState:I.OpenPage,path:u});var d=_("form.nameInput"),p=_("form.emailInput"),f=_("form.messageInput"),h=vh((0,o.useState)(!1),2),m=h[0],v=h[1],g=j().dataSource,y=Object.values(cs).includes(null===(n=null==g?void 0:g.type)||void 0===n?void 0:n.toUpperCase())&&(null==g?void 0:g.isComplete)?g.type:null,b=F(),w=vh((0,o.useState)(""),2),x=w[0],k=w[1],S=function(){var e=window,t=e.grecaptcha,n=e.recaptchaSiteKey,r=st().showError,o=ut(),i=function(e){r({message:"Please try again or pass the following error message to application owner: ".concat(e||"The reCaptcha configuration mismatch."),errorType:"recaptcha"})};return function(e){t&&n&&o?t.ready((function(){try{t.execute(n,{action:"validate_captcha"}).then((function(t){var n="/v1/recaptcha/".concat(o,"/verify?token=").concat(t);fetch(n,{method:"POST"}).then((function(e){return e.json()})).then((function(t){(null==t?void 0:t.score)>=.4?"function"==typeof e&&e():i(null==t?void 0:t.errorMessage)})).catch((function(e){i(null==e?void 0:e.message)}))}))}catch(re){i(null==re?void 0:re.message)}})):i()}}(),C=vh((0,o.useState)(!1),2),E=C[0],T=C[1],$=vh((0,o.useState)(!1),2),M=$[0],A=$[1],D=ut(),L=((0,o.useContext)(O).settings||{}).submitDisabled,N=vh((0,o.useState)(!!L),2),R=N[0],Z=N[1],B=((null==c?void 0:c.selectedState)===I.Action||(null==c?void 0:c.selectedState)===I.OpenPage)&&(null==c?void 0:c.path)!==(null==I?void 0:I.NoAction),z=(null==c?void 0:c.selectedState)===I.Action&&""!==(null==c?void 0:c.externalUrl),H="".concat(window.location.href,"#").concat(b),U=(0,o.useCallback)((function(){var e=window.top||window.parent;z?e.location.href=Ol(c.externalUrl):B&&(e.location.href=window.location.pathname.endsWith(c.path)?window.location.href:c.path)}),[B,null==c?void 0:c.path]),W=vh((0,o.useState)([]),2),V=W[0],q=W[1],G=Ws(null==g?void 0:g.type),K=Ju(void 0,{skip:uf()}),Y=(0,o.useCallback)((function(){return Ld(a||s&&!t?s?l.filter((function(e){return e.enabled})):a:e||[d,p,f].filter((function(e){return e})),V,x,G,K)}),[a,s,t,e,x,K,G]);(0,o.useEffect)((function(){q(Y())}),[Y]);var X=(0,o.useMemo)((function(){return V.reduce((function(e,t){var n;return ph(ph({},e),((n={})[t.fieldName||t.name||t.format||""]=t.value,n))}),{})}),[V]);(0,o.useEffect)((function(){x&&q(Y)}),[x]),(0,o.useEffect)((function(){if(a){var e=Y(),t=function(e){return e.map((function(e){e.fieldName;return mh(e,["fieldName"])}))};cf(t(e),t(V))||q(Y)}}),[a,e,l,s,t]),(0,o.useEffect)((function(){var e=null;return M&&(e=setTimeout((function(){A(!1)}),c.selectedState===I.ShowMessage?5e3:2e3)),function(){e&&clearTimeout(e)}}),[M]),(0,o.useEffect)((function(){var e=function(e){Object.keys(e.detail).forEach((function(t){q((function(n){return n.reduce((function(n,r){if(r.name===t&&ct.AutoSyncDropdown===r.type){var o=e.detail[t],i="string"==typeof o?Array.from(new Set(o.split(";"))):(a=o,Array.isArray(a)&&a.every((function(e){return"string"==typeof e}))?o:[]);return gh(gh([],vh(n),!1),[ph(ph({},r),{values:i})],!1)}var a;return gh(gh([],vh(n),!1),[r],!1)}),[])}))}))};return window.addEventListener("set-form-dropdown-values-".concat(b),e),ae(),ie(),function(){return window.removeEventListener("set-form-dropdown-values-".concat(b),e)}}),[]);var J=st().showError,Q=lc(),ee=Q.addRecord,te=Q.isLoading,ne=Q.success,re=Q.error,oe=(j()||{}).submitRestricted;(0,o.useEffect)((function(){y&&ne?(y===cs.AIRTABLE&&B?setTimeout((function(){A(!0),T(!1),U()}),4e3):(A(!0),T(!1),U()),oe&&window.logged_in_user&&x&&se()):y&&T(te)}),[ne,U,y]),(0,o.useEffect)((function(){re&&T(!1)}),[re]);var ie=function(){if(!uf()&&V.some((function(e){return e.isLinkedForm}))){var e=!1,t=setInterval((function(){var n,r=document.querySelector(".sw-js-single-item-elements");if(r){var o=r.getAttribute("data-recordId")||r.getAttribute("data-recordid");o&&(null===(n=null===window||void 0===window?void 0:window.records)||void 0===n?void 0:n[o])&&(k(o),clearInterval(t),e=!0,v(!0))}}),200);setTimeout((function(){clearInterval(t),e||J({message:Vr,overrideOptions:{duration:1e4}})}),1e4)}else v(!0)},ae=function(){if(!uf()){var e=setInterval((function(){var t,n=document.querySelector(".sw-js-single-item-elements");if(n){var r=n.getAttribute("data-recordId")||n.getAttribute("data-recordid");r&&(null===(t=null===window||void 0===window?void 0:window.records)||void 0===t?void 0:t[r])&&(k(r),le(r),clearInterval(e))}}),200);setTimeout((function(){clearInterval(e)}),1e4)}},se=function(){var e=r.action.applicationId,t=document.body.querySelector("[data-appid]"),n=t?t.getAttribute("data-pageid"):"page-id";(function(e){return dh("".concat(ch(),"form/submissions"),"POST",e)})({applicationId:D||e,pageId:n,blockHrid:b,recordId:x}).subscribe((function(e){var t,n,r;oe&&Z(!0),e.error&&J({message:null===(r=null===(n=null===(t=e.error)||void 0===t?void 0:t.response)||void 0===n?void 0:n.data)||void 0===r?void 0:r.message})}))},le=function(e){var t=window.location.href.includes("recordId")||window.location.href.includes("/r/");if(oe&&window.logged_in_user&&!t){var n=r.action.applicationId,o=document.body.querySelector("[data-appid]"),i=o?o.getAttribute("data-pageid"):"page-id";(function(e){return dh("".concat(ch(),"form/submissions/").concat(e.applicationId,"/").concat(e.pageId,"/").concat(e.blockHrid,"/").concat(e.recordId),"GET",null,{})})({applicationId:D||n,pageId:i,blockHrid:b,recordId:e}).subscribe((function(e){var t,n,r;e.data&&Z(!0),e.error&&J({message:null===(r=null===(n=null===(t=e.error)||void 0===t?void 0:t.response)||void 0===n?void 0:n.data)||void 0===r?void 0:r.message})}))}};return{fields:V,loading:E,onSubmit:function(e){var t,n,o=r.action.options,a=y||Object.keys(o).find((function(e){return o[e].url||o[e].value})),s=(null===(t=o[a])||void 0===t?void 0:t.url)||(null===(n=o[a])||void 0===n?void 0:n.value);T(!0),e&&window.dispatchEvent(new CustomEvent("submit-form-".concat(b),{detail:e}));var l=function(){var t=function(e,t,n){var r=t.some((function(e){return e.type===ct.File||e.type===ct.Signature})),o=t.some((function(e){return e.type===ct.Image}));return r||o?Object.keys(e).reduce((function(r,o){var i,a,s,l,c,u,d,p=t.find((function(e){var t=e.fieldName||e.name;return(e.type===ct.File||e.type===ct.Image||e.type===ct.Signature)&&t===o}));if(p){var f=p.fieldName||p.name,h=e[f];if(void 0===h)return xd({},r);if(!Array.isArray(h))return xd(xd({},r),((i={})[o]=e[o],i));switch(n){case P.Mailchimp:return xd(xd({},r),((a={})[o]=h.map((function(e){return e.url})).join(";"),a));case P.Mailerlite:return xd(xd({},r),((s={})[o]=h.map((function(e){return e.url})),s));case P.Email:var m=h.reduce((function(e,t){var n;return xd(xd({},e),((n={})["".concat(p.name,":").concat(t.name)]=t.url,n))}),{});return xd(xd({},r),((l={})[o]=m,l));case P.Zapier:case P.Integromat:return m=h.reduce((function(e,t,n){var r;return xd(xd({},e),((r={})["".concat(p.name,":").concat(n)]=t.url,r))}),{}),xd(xd({},r),((c={})[o]=m,c));default:return xd(xd({},r),((u={})[o]=e[o],u))}}return xd(xd({},r),((d={})[o]=e[o],d))}),{}):e}(e,V,a),n=ps(null==g?void 0:g.type).toRecord(t,V,K),r=V.reduce((function(e,r,o){var i,s=r.name||r.format||"";return s||(s="FIELD_"+o),r.type!==ct.File&&r.type!==ct.Signature||![P.Integromat,P.Zapier,P.Email].includes(a)?ph(ph({},e),((i={})[s]=r.fieldName?n[r.fieldName]:t[s],i)):ph(ph({},e),n[r.fieldName])}),{});y?ee(r):function(e,t,n,r){var o;void 0===t&&(t="");var i,a,s=document.body.querySelector("[data-appid]"),l=((o={})[P.Email]={payload:{attributes:xd(xd({},n),{PAGE_AND_SECTION:r})},requestUrl:window.location.protocol+"//"+window.location.host+"/api/v1/applications/forms/form-to-email/"+t,requestMethod:"Post"},o[P.Zapier]=((a=JSON.parse(JSON.stringify(n))).hasOwnProperty("email")&&(a.EMAIL=a.email,delete a.email),{payload:xd(xd({},a),{PAGE_AND_SECTION:r}),requestUrl:t,requestMethod:"Post"}),o[P.Integromat]={payload:xd(xd({},n),{PAGE_AND_SECTION:r}),requestUrl:t,requestMethod:"Post"},o[P.Mailerlite]=((i=new FormData).append("ml-submit","1"),i.append("fields[page_and_section]",r),Object.keys(n).forEach((function(e){var t=e;t.startsWith("fields[")||(t="fields[".concat(e,"]")),i.append(t,n[e])})),{payload:i,requestUrl:t,requestMethod:"Post"}),o[P.Mailchimp]=function(){var o=JSON.parse(JSON.stringify(n));return o.hasOwnProperty("email")&&(o.EMAIL=o.email,delete o.email),{payload:xd(xd({},o),{PAGE_AND_SECTION:r}),requestUrl:function(){if(e!==P.Mailchimp)return"";var n=new URL(t).hostname,r=Ed("u",t),o=Ed("amp;id",t);return"https://".concat(n,"/subscribe/post-json?u=").concat(r,"&id=").concat(o)}(),requestMethod:"Get"}}(),o),c=l[e],u=c.payload,d=c.requestUrl,p=c.requestMethod;if("Get"===p)return e===P.Mailchimp?fetch(d+"&"+Rd(u||{}),{mode:"no-cors",method:"GET"}):pt().get(d,{params:u});if("Put"===p)return pt().put(d,u);var f=xd({},e===P.Mailerlite?{}:e===P.Zapier?{"Content-Type":"application/x-www-form-urlencoded"}:{"Content-Type":"application/json"});!s||e!==P.AirtableBase&&e!==P.Email||(f["softr-page-id"]=s.getAttribute("data-pageid"));var h=e===P.Mailerlite?u:JSON.stringify(u);return fetch(d,{method:"POST",headers:f,body:h})}(a,s,r,H).then((function(t){return fh(void 0,void 0,void 0,(function(){var n,r,o,i,s;return hh(this,(function(l){switch(l.label){case 0:return t.ok||t.redirected||"opaque"===t.type?[3,2]:[4,t.text()];case 1:throw n=l.sent(),new Error(n);case 2:oe&&window.logged_in_user&&x&&se(),l.label=3;case 3:return l.trys.push([3,5,,7]),[4,t.json()];case 4:return r=l.sent(),[3,7];case 5:return l.sent(),[4,t.text().catch((function(){return null}))];case 6:return r=l.sent(),[3,7];case 7:return o=c.selectedState===I.Action&&""!==c.externalUrl,i=function(){if(r){var e=r,t=e.redirect,n=e.timeout;if(t)return void setTimeout((function(){window.location.href=t}),n||10)}window.location.href=window.location.pathname.endsWith(c.path)?window.location.href:c.path},s=function(){window.location.href=Ol(c.externalUrl)},window.dispatchEvent(new CustomEvent("submit-form-success-".concat(b),{detail:{payload:e,response:{data:r}}})),t.redirected&&t.url?(window.location.href=t.url,[2]):(a===P.AirtableBase&&B?setTimeout((function(){A(!0),T(!1),i()}),4e3):o?(A(!0),T(!1),s()):(A(!0),T(!1),B&&i()),[2])}}))}))})).catch((function(e){var t,n,r=(e||{}).response,o=(null===(t=null==r?void 0:r.data)||void 0===t?void 0:t.error)||(null===(n=null==r?void 0:r.data)||void 0===n?void 0:n.message)||(null==r?void 0:r.data)||(null==e?void 0:e.message)||"Please contact us";console.error("An error occurred while submitting the form: ",e),window.dispatchEvent(new CustomEvent("submit-form-failure-".concat(b),{detail:o})),T(!1),J({message:o})}))};(null==i?void 0:i.enabled)?S(l):l()},showSuccess:M,initialValues:X,validationSchema:Nd,showBlock:m,submitDisabled:R}},bh=function(e){return function(e){return!!e&&"object"==typeof e}(e)&&!function(e){var t=Object.prototype.toString.call(e);return"[object RegExp]"===t||"[object Date]"===t||function(e){return e.$$typeof===wh}(e)}(e)};var wh="function"==typeof Symbol&&Symbol.for?Symbol.for("react.element"):60103;function xh(e,t){return!1!==t.clone&&t.isMergeableObject(e)?Sh((n=e,Array.isArray(n)?[]:{}),e,t):e;var n}function kh(e,t,n){return e.concat(t).map((function(e){return xh(e,n)}))}function Sh(e,t,n){(n=n||{}).arrayMerge=n.arrayMerge||kh,n.isMergeableObject=n.isMergeableObject||bh;var r=Array.isArray(t);return r===Array.isArray(e)?r?n.arrayMerge(e,t,n):function(e,t,n){var r={};return n.isMergeableObject(e)&&Object.keys(e).forEach((function(t){r[t]=xh(e[t],n)})),Object.keys(t).forEach((function(o){n.isMergeableObject(t[o])&&e[o]?r[o]=Sh(e[o],t[o],n):r[o]=xh(t[o],n)})),r}(e,t,n):xh(t,n)}Sh.all=function(e,t){if(!Array.isArray(e))throw new Error("first argument should be an array");return e.reduce((function(e,n){return Sh(e,n,t)}),{})};const Ch=Sh;const Eh=Lp(Object.getPrototypeOf,Object);var Th=Function.prototype,Oh=Object.prototype,$h=Th.toString,Mh=Oh.hasOwnProperty,Ah=$h.call(Object);const Dh=function(e){if(!ip(e)||"[object Object]"!=Rc(e))return!1;var t=Eh(e);if(null===t)return!0;var n=Mh.call(t,"constructor")&&t.constructor;return"function"==typeof n&&n instanceof n&&$h.call(n)==Ah};var Lh=n(69590),Nh=n.n(Lh);const Rh=function(e,t){};const Ih=function(e,t){for(var n=-1,r=null==e?0:e.length;++n<r&&!1!==t(e[n],n,e););return e};var Ph=function(){try{var e=Xc(Object,"defineProperty");return e({},"",{}),e}catch(Yr){}}();const Zh=Ph;const _h=function(e,t,n){"__proto__"==t&&Zh?Zh(e,t,{configurable:!0,enumerable:!0,value:n,writable:!0}):e[t]=n};var Fh=Object.prototype.hasOwnProperty;const jh=function(e,t,n){var r=e[t];Fh.call(e,t)&&cu(r,n)&&(void 0!==n||t in e)||_h(e,t,n)};const Bh=function(e,t,n,r){var o=!n;n||(n={});for(var i=-1,a=t.length;++i<a;){var s=t[i],l=r?r(n[s],e[s],s,n,e):void 0;void 0===l&&(l=e[s]),o?_h(n,s,l):jh(n,s,l)}return n};const zh=function(e,t){return e&&Bh(t,Zp(t),e)};const Hh=function(e){var t=[];if(null!=e)for(var n in Object(e))t.push(n);return t};var Uh=Object.prototype.hasOwnProperty;const Wh=function(e){if(!Ic(e))return Hh(e);var t=Dp(e),n=[];for(var r in e)("constructor"!=r||!t&&Uh.call(e,r))&&n.push(r);return n};const Vh=function(e){return Pp(e)?Mp(e,!0):Wh(e)};const qh=function(e,t){return e&&Bh(t,Vh(t),e)};var Gh="object"==typeof exports&&exports&&!exports.nodeType&&exports,Kh=Gh&&"object"==typeof module&&module&&!module.nodeType&&module,Yh=Kh&&Kh.exports===Gh?Cc.Buffer:void 0,Xh=Yh?Yh.allocUnsafe:void 0;const Jh=function(e,t){if(t)return e.slice();var n=e.length,r=Xh?Xh(n):new e.constructor(n);return e.copy(r),r};const Qh=function(e,t){var n=-1,r=e.length;for(t||(t=Array(r));++n<r;)t[n]=e[n];return t};const em=function(e,t){return Bh(e,rp(e),t)};var tm=Object.getOwnPropertySymbols?function(e){for(var t=[];e;)Kd(t,rp(e)),e=Eh(e);return t}:Qd;const nm=tm;const rm=function(e,t){return Bh(e,nm(e),t)};const om=function(e){return Xd(e,Vh,nm)};var im=Object.prototype.hasOwnProperty;const am=function(e){var t=e.length,n=new e.constructor(t);return t&&"string"==typeof e[0]&&im.call(e,"index")&&(n.index=e.index,n.input=e.input),n};const sm=function(e){var t=new e.constructor(e.byteLength);return new Ud(t).set(new Ud(e)),t};const lm=function(e,t){var n=t?sm(e.buffer):e.buffer;return new e.constructor(n,e.byteOffset,e.byteLength)};var cm=/\w*$/;const um=function(e){var t=new e.constructor(e.source,cm.exec(e));return t.lastIndex=e.lastIndex,t};var dm=Ec?Ec.prototype:void 0,pm=dm?dm.valueOf:void 0;const fm=function(e){return pm?Object(pm.call(e)):{}};const hm=function(e,t){var n=t?sm(e.buffer):e.buffer;return new e.constructor(n,e.byteOffset,e.length)};const mm=function(e,t,n){var r=e.constructor;switch(t){case"[object ArrayBuffer]":return sm(e);case"[object Boolean]":case"[object Date]":return new r(+e);case"[object DataView]":return lm(e,n);case"[object Float32Array]":case"[object Float64Array]":case"[object Int8Array]":case"[object Int16Array]":case"[object Int32Array]":case"[object Uint8Array]":case"[object Uint8ClampedArray]":case"[object Uint16Array]":case"[object Uint32Array]":return hm(e,n);case"[object Map]":case"[object Set]":return new r;case"[object Number]":case"[object String]":return new r(e);case"[object RegExp]":return um(e);case"[object Symbol]":return fm(e)}};var vm=Object.create,gm=function(){function e(){}return function(t){if(!Ic(t))return{};if(vm)return vm(t);e.prototype=t;var n=new e;return e.prototype=void 0,n}}();const ym=gm;const bm=function(e){return"function"!=typeof e.constructor||Dp(e)?{}:ym(Eh(e))};const wm=function(e){return ip(e)&&"[object Map]"==tf(e)};var xm=Ep&&Ep.isMap;const km=xm?xp(xm):wm;const Sm=function(e){return ip(e)&&"[object Set]"==tf(e)};var Cm=Ep&&Ep.isSet;const Em=Cm?xp(Cm):Sm;var Tm="[object Arguments]",Om="[object Function]",$m="[object Object]",Mm={};Mm[Tm]=Mm["[object Array]"]=Mm["[object ArrayBuffer]"]=Mm["[object DataView]"]=Mm["[object Boolean]"]=Mm["[object Date]"]=Mm["[object Float32Array]"]=Mm["[object Float64Array]"]=Mm["[object Int8Array]"]=Mm["[object Int16Array]"]=Mm["[object Int32Array]"]=Mm["[object Map]"]=Mm["[object Number]"]=Mm[$m]=Mm["[object RegExp]"]=Mm["[object Set]"]=Mm["[object String]"]=Mm["[object Symbol]"]=Mm["[object Uint8Array]"]=Mm["[object Uint8ClampedArray]"]=Mm["[object Uint16Array]"]=Mm["[object Uint32Array]"]=!0,Mm["[object Error]"]=Mm[Om]=Mm["[object WeakMap]"]=!1;const Am=function e(t,n,r,o,i,a){var s,l=1&n,c=2&n,u=4&n;if(r&&(s=i?r(t,o,i,a):r(t)),void 0!==s)return s;if(!Ic(t))return t;var d=Yd(t);if(d){if(s=am(t),!l)return Qh(t,s)}else{var p=tf(t),f=p==Om||"[object GeneratorFunction]"==p;if(mp(t))return Jh(t,l);if(p==$m||p==Tm||f&&!i){if(s=c||f?{}:bm(t),!l)return c?rm(t,qh(s,t)):em(t,zh(s,t))}else{if(!Mm[p])return i?t:{};s=mm(t,p,l)}}a||(a=new Bd);var h=a.get(t);if(h)return h;a.set(t,s),Em(t)?t.forEach((function(o){s.add(e(o,n,r,o,t,a))})):km(t)&&t.forEach((function(o,i){s.set(i,e(o,n,r,i,t,a))}));var m=d?void 0:(u?c?om:_p:c?Vh:Zp)(t);return Ih(m||t,(function(o,i){m&&(o=t[i=o]),jh(s,i,e(o,n,r,i,t,a))})),s};const Dm=function(e){return Am(e,4)};const Lm=function(e,t){for(var n=-1,r=null==e?0:e.length,o=Array(r);++n<r;)o[n]=t(e[n],n,e);return o};const Nm=function(e){return"symbol"==typeof e||ip(e)&&"[object Symbol]"==Rc(e)};function Rm(e,t){if("function"!=typeof e||null!=t&&"function"!=typeof t)throw new TypeError("Expected a function");var n=function(){var r=arguments,o=t?t.apply(this,r):r[0],i=n.cache;if(i.has(o))return i.get(o);var a=e.apply(this,r);return n.cache=i.set(o,a)||i,a};return n.cache=new(Rm.Cache||Ou),n}Rm.Cache=Ou;const Im=Rm;const Pm=function(e){var t=Im(e,(function(e){return 500===n.size&&n.clear(),e})),n=t.cache;return t};var Zm=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,_m=/\\(\\)?/g,Fm=Pm((function(e){var t=[];return 46===e.charCodeAt(0)&&t.push(""),e.replace(Zm,(function(e,n,r,o){t.push(r?o.replace(_m,"$1"):n||e)})),t}));const jm=Fm;const Bm=function(e){if("string"==typeof e||Nm(e))return e;var t=e+"";return"0"==t&&1/e==-Infinity?"-0":t};var zm=Ec?Ec.prototype:void 0,Hm=zm?zm.toString:void 0;const Um=function e(t){if("string"==typeof t)return t;if(Yd(t))return Lm(t,e)+"";if(Nm(t))return Hm?Hm.call(t):"";var n=t+"";return"0"==n&&1/t==-Infinity?"-0":n};const Wm=function(e){return null==e?"":Um(e)};const Vm=function(e){return Yd(e)?Lm(e,Bm):Nm(e)?[e]:Qh(jm(Wm(e)))};const qm=function(e){return Am(e,5)};function Gm(){return Gm=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},Gm.apply(this,arguments)}function Km(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,e.__proto__=t}function Ym(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}function Xm(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}var Jm=(0,o.createContext)(void 0);Jm.displayName="FormikContext";Jm.Provider,Jm.Consumer;function Qm(){var e=(0,o.useContext)(Jm);return e||Rh(!1),e}var ev=function(e){return Array.isArray(e)&&0===e.length},tv=function(e){return"function"==typeof e},nv=function(e){return null!==e&&"object"==typeof e},rv=function(e){return String(Math.floor(Number(e)))===e},ov=function(e){return"[object String]"===Object.prototype.toString.call(e)},iv=function(e){return 0===o.Children.count(e)},av=function(e){return nv(e)&&tv(e.then)};function sv(e,t,n,r){void 0===r&&(r=0);for(var o=Vm(t);e&&r<o.length;)e=e[o[r++]];return r===o.length||e?void 0===e?n:e:n}function lv(e,t,n){for(var r=Dm(e),o=r,i=0,a=Vm(t);i<a.length-1;i++){var s=a[i],l=sv(e,a.slice(0,i+1));if(l&&(nv(l)||Array.isArray(l)))o=o[s]=Dm(l);else{var c=a[i+1];o=o[s]=rv(c)&&Number(c)>=0?[]:{}}}return(0===i?e:o)[a[i]]===n?e:(void 0===n?delete o[a[i]]:o[a[i]]=n,0===i&&void 0===n&&delete r[a[i]],r)}function cv(e,t,n,r){void 0===n&&(n=new WeakMap),void 0===r&&(r={});for(var o=0,i=Object.keys(e);o<i.length;o++){var a=i[o],s=e[a];nv(s)?n.get(s)||(n.set(s,!0),r[a]=Array.isArray(s)?[]:{},cv(s,t,n,r[a])):r[a]=t}return r}var uv={},dv={};function pv(e){var t=e.validateOnChange,n=void 0===t||t,r=e.validateOnBlur,i=void 0===r||r,a=e.validateOnMount,s=void 0!==a&&a,l=e.isInitialValid,c=e.enableReinitialize,u=void 0!==c&&c,d=e.onSubmit,p=Ym(e,["validateOnChange","validateOnBlur","validateOnMount","isInitialValid","enableReinitialize","onSubmit"]),f=Gm({validateOnChange:n,validateOnBlur:i,validateOnMount:s,onSubmit:d},p),h=(0,o.useRef)(f.initialValues),m=(0,o.useRef)(f.initialErrors||uv),v=(0,o.useRef)(f.initialTouched||dv),g=(0,o.useRef)(f.initialStatus),y=(0,o.useRef)(!1),b=(0,o.useRef)({});(0,o.useEffect)((function(){return y.current=!0,function(){y.current=!1}}),[]);var w=(0,o.useState)(0)[1],x=(0,o.useRef)({values:f.initialValues,errors:f.initialErrors||uv,touched:f.initialTouched||dv,status:f.initialStatus,isSubmitting:!1,isValidating:!1,submitCount:0}),k=x.current,S=(0,o.useCallback)((function(e){var t=x.current;x.current=function(e,t){switch(t.type){case"SET_VALUES":return Gm({},e,{values:t.payload});case"SET_TOUCHED":return Gm({},e,{touched:t.payload});case"SET_ERRORS":return Nh()(e.errors,t.payload)?e:Gm({},e,{errors:t.payload});case"SET_STATUS":return Gm({},e,{status:t.payload});case"SET_ISSUBMITTING":return Gm({},e,{isSubmitting:t.payload});case"SET_ISVALIDATING":return Gm({},e,{isValidating:t.payload});case"SET_FIELD_VALUE":return Gm({},e,{values:lv(e.values,t.payload.field,t.payload.value)});case"SET_FIELD_TOUCHED":return Gm({},e,{touched:lv(e.touched,t.payload.field,t.payload.value)});case"SET_FIELD_ERROR":return Gm({},e,{errors:lv(e.errors,t.payload.field,t.payload.value)});case"RESET_FORM":return Gm({},e,t.payload);case"SET_FORMIK_STATE":return t.payload(e);case"SUBMIT_ATTEMPT":return Gm({},e,{touched:cv(e.values,!0),isSubmitting:!0,submitCount:e.submitCount+1});case"SUBMIT_FAILURE":case"SUBMIT_SUCCESS":return Gm({},e,{isSubmitting:!1});default:return e}}(t,e),t!==x.current&&w((function(e){return e+1}))}),[]),C=(0,o.useCallback)((function(e,t){return new Promise((function(n,r){var o=f.validate(e,t);null==o?n(uv):av(o)?o.then((function(e){n(e||uv)}),(function(e){r(e)})):n(o)}))}),[f.validate]),E=(0,o.useCallback)((function(e,t){var n=f.validationSchema,r=tv(n)?n(t):n,o=t&&r.validateAt?r.validateAt(t,e):function(e,t,n,r){void 0===n&&(n=!1);var o=fv(e);return t[n?"validateSync":"validate"](o,{abortEarly:!1,context:r||o})}(e,r);return new Promise((function(e,t){o.then((function(){e(uv)}),(function(n){"ValidationError"===n.name?e(function(e){var t={};if(e.inner){if(0===e.inner.length)return lv(t,e.path,e.message);var n=e.inner,r=Array.isArray(n),o=0;for(n=r?n:n[Symbol.iterator]();;){var i;if(r){if(o>=n.length)break;i=n[o++]}else{if((o=n.next()).done)break;i=o.value}var a=i;sv(t,a.path)||(t=lv(t,a.path,a.message))}}return t}(n)):t(n)}))}))}),[f.validationSchema]),T=(0,o.useCallback)((function(e,t){return new Promise((function(n){return n(b.current[e].validate(t))}))}),[]),O=(0,o.useCallback)((function(e){var t=Object.keys(b.current).filter((function(e){return tv(b.current[e].validate)})),n=t.length>0?t.map((function(t){return T(t,sv(e,t))})):[Promise.resolve("DO_NOT_DELETE_YOU_WILL_BE_FIRED")];return Promise.all(n).then((function(e){return e.reduce((function(e,n,r){return"DO_NOT_DELETE_YOU_WILL_BE_FIRED"===n||n&&(e=lv(e,t[r],n)),e}),{})}))}),[T]),$=(0,o.useCallback)((function(e){return Promise.all([O(e),f.validationSchema?E(e):{},f.validate?C(e):{}]).then((function(e){var t=e[0],n=e[1],r=e[2];return Ch.all([t,n,r],{arrayMerge:hv})}))}),[f.validate,f.validationSchema,O,C,E]),M=vv((function(e){return void 0===e&&(e=k.values),S({type:"SET_ISVALIDATING",payload:!0}),$(e).then((function(e){return y.current&&(S({type:"SET_ISVALIDATING",payload:!1}),S({type:"SET_ERRORS",payload:e})),e}))}));(0,o.useEffect)((function(){s&&!0===y.current&&Nh()(h.current,f.initialValues)&&M(h.current)}),[s,M]);var A=(0,o.useCallback)((function(e){var t=e&&e.values?e.values:h.current,n=e&&e.errors?e.errors:m.current?m.current:f.initialErrors||{},r=e&&e.touched?e.touched:v.current?v.current:f.initialTouched||{},o=e&&e.status?e.status:g.current?g.current:f.initialStatus;h.current=t,m.current=n,v.current=r,g.current=o;var i=function(){S({type:"RESET_FORM",payload:{isSubmitting:!!e&&!!e.isSubmitting,errors:n,touched:r,status:o,values:t,isValidating:!!e&&!!e.isValidating,submitCount:e&&e.submitCount&&"number"==typeof e.submitCount?e.submitCount:0}})};if(f.onReset){var a=f.onReset(k.values,K);av(a)?a.then(i):i()}else i()}),[f.initialErrors,f.initialStatus,f.initialTouched,f.onReset]);(0,o.useEffect)((function(){!0!==y.current||Nh()(h.current,f.initialValues)||u&&(h.current=f.initialValues,A(),s&&M(h.current))}),[u,f.initialValues,A,s,M]),(0,o.useEffect)((function(){u&&!0===y.current&&!Nh()(m.current,f.initialErrors)&&(m.current=f.initialErrors||uv,S({type:"SET_ERRORS",payload:f.initialErrors||uv}))}),[u,f.initialErrors]),(0,o.useEffect)((function(){u&&!0===y.current&&!Nh()(v.current,f.initialTouched)&&(v.current=f.initialTouched||dv,S({type:"SET_TOUCHED",payload:f.initialTouched||dv}))}),[u,f.initialTouched]),(0,o.useEffect)((function(){u&&!0===y.current&&!Nh()(g.current,f.initialStatus)&&(g.current=f.initialStatus,S({type:"SET_STATUS",payload:f.initialStatus}))}),[u,f.initialStatus,f.initialTouched]);var D=vv((function(e){if(b.current[e]&&tv(b.current[e].validate)){var t=sv(k.values,e),n=b.current[e].validate(t);return av(n)?(S({type:"SET_ISVALIDATING",payload:!0}),n.then((function(e){return e})).then((function(t){S({type:"SET_FIELD_ERROR",payload:{field:e,value:t}}),S({type:"SET_ISVALIDATING",payload:!1})}))):(S({type:"SET_FIELD_ERROR",payload:{field:e,value:n}}),Promise.resolve(n))}return f.validationSchema?(S({type:"SET_ISVALIDATING",payload:!0}),E(k.values,e).then((function(e){return e})).then((function(t){S({type:"SET_FIELD_ERROR",payload:{field:e,value:sv(t,e)}}),S({type:"SET_ISVALIDATING",payload:!1})}))):Promise.resolve()})),L=(0,o.useCallback)((function(e,t){var n=t.validate;b.current[e]={validate:n}}),[]),N=(0,o.useCallback)((function(e){delete b.current[e]}),[]),R=vv((function(e,t){return S({type:"SET_TOUCHED",payload:e}),(void 0===t?i:t)?M(k.values):Promise.resolve()})),I=(0,o.useCallback)((function(e){S({type:"SET_ERRORS",payload:e})}),[]),P=vv((function(e,t){var r=tv(e)?e(k.values):e;return S({type:"SET_VALUES",payload:r}),(void 0===t?n:t)?M(r):Promise.resolve()})),Z=(0,o.useCallback)((function(e,t){S({type:"SET_FIELD_ERROR",payload:{field:e,value:t}})}),[]),_=vv((function(e,t,r){return S({type:"SET_FIELD_VALUE",payload:{field:e,value:t}}),(void 0===r?n:r)?M(lv(k.values,e,t)):Promise.resolve()})),F=(0,o.useCallback)((function(e,t){var n,r=t,o=e;if(!ov(e)){e.persist&&e.persist();var i=e.target?e.target:e.currentTarget,a=i.type,s=i.name,l=i.id,c=i.value,u=i.checked,d=(i.outerHTML,i.options),p=i.multiple;r=t||(s||l),o=/number|range/.test(a)?(n=parseFloat(c),isNaN(n)?"":n):/checkbox/.test(a)?function(e,t,n){if("boolean"==typeof e)return Boolean(t);var r=[],o=!1,i=-1;if(Array.isArray(e))r=e,o=(i=e.indexOf(n))>=0;else if(!n||"true"==n||"false"==n)return Boolean(t);if(t&&n&&!o)return r.concat(n);if(!o)return r;return r.slice(0,i).concat(r.slice(i+1))}(sv(k.values,r),u,c):d&&p?function(e){return Array.from(e).filter((function(e){return e.selected})).map((function(e){return e.value}))}(d):c}r&&_(r,o)}),[_,k.values]),j=vv((function(e){if(ov(e))return function(t){return F(t,e)};F(e)})),B=vv((function(e,t,n){return void 0===t&&(t=!0),S({type:"SET_FIELD_TOUCHED",payload:{field:e,value:t}}),(void 0===n?i:n)?M(k.values):Promise.resolve()})),z=(0,o.useCallback)((function(e,t){e.persist&&e.persist();var n=e.target,r=n.name,o=n.id,i=(n.outerHTML,t||(r||o));B(i,!0)}),[B]),H=vv((function(e){if(ov(e))return function(t){return z(t,e)};z(e)})),U=(0,o.useCallback)((function(e){tv(e)?S({type:"SET_FORMIK_STATE",payload:e}):S({type:"SET_FORMIK_STATE",payload:function(){return e}})}),[]),W=(0,o.useCallback)((function(e){S({type:"SET_STATUS",payload:e})}),[]),V=(0,o.useCallback)((function(e){S({type:"SET_ISSUBMITTING",payload:e})}),[]),q=vv((function(){return S({type:"SUBMIT_ATTEMPT"}),M().then((function(e){var t=e instanceof Error;if(!t&&0===Object.keys(e).length){var n;try{if(void 0===(n=Y()))return}catch(r){throw r}return Promise.resolve(n).then((function(e){return y.current&&S({type:"SUBMIT_SUCCESS"}),e})).catch((function(e){if(y.current)throw S({type:"SUBMIT_FAILURE"}),e}))}if(y.current&&(S({type:"SUBMIT_FAILURE"}),t))throw e}))})),G=vv((function(e){e&&e.preventDefault&&tv(e.preventDefault)&&e.preventDefault(),e&&e.stopPropagation&&tv(e.stopPropagation)&&e.stopPropagation(),q().catch((function(e){console.warn("Warning: An unhandled error was caught from submitForm()",e)}))})),K={resetForm:A,validateForm:M,validateField:D,setErrors:I,setFieldError:Z,setFieldTouched:B,setFieldValue:_,setStatus:W,setSubmitting:V,setTouched:R,setValues:P,setFormikState:U,submitForm:q},Y=vv((function(){return d(k.values,K)})),X=vv((function(e){e&&e.preventDefault&&tv(e.preventDefault)&&e.preventDefault(),e&&e.stopPropagation&&tv(e.stopPropagation)&&e.stopPropagation(),A()})),J=(0,o.useCallback)((function(e){return{value:sv(k.values,e),error:sv(k.errors,e),touched:!!sv(k.touched,e),initialValue:sv(h.current,e),initialTouched:!!sv(v.current,e),initialError:sv(m.current,e)}}),[k.errors,k.touched,k.values]),Q=(0,o.useCallback)((function(e){return{setValue:function(t,n){return _(e,t,n)},setTouched:function(t,n){return B(e,t,n)},setError:function(t){return Z(e,t)}}}),[_,B,Z]),ee=(0,o.useCallback)((function(e){var t=nv(e),n=t?e.name:e,r=sv(k.values,n),o={name:n,value:r,onChange:j,onBlur:H};if(t){var i=e.type,a=e.value,s=e.as,l=e.multiple;"checkbox"===i?void 0===a?o.checked=!!r:(o.checked=!(!Array.isArray(r)||!~r.indexOf(a)),o.value=a):"radio"===i?(o.checked=r===a,o.value=a):"select"===s&&l&&(o.value=o.value||[],o.multiple=!0)}return o}),[H,j,k.values]),te=(0,o.useMemo)((function(){return!Nh()(h.current,k.values)}),[h.current,k.values]),ne=(0,o.useMemo)((function(){return void 0!==l?te?k.errors&&0===Object.keys(k.errors).length:!1!==l&&tv(l)?l(f):l:k.errors&&0===Object.keys(k.errors).length}),[l,te,k.errors,f]);return Gm({},k,{initialValues:h.current,initialErrors:m.current,initialTouched:v.current,initialStatus:g.current,handleBlur:H,handleChange:j,handleReset:X,handleSubmit:G,resetForm:A,setErrors:I,setFormikState:U,setFieldTouched:B,setFieldValue:_,setFieldError:Z,setStatus:W,setSubmitting:V,setTouched:R,setValues:P,submitForm:q,validateForm:M,validateField:D,isValid:ne,dirty:te,unregisterField:N,registerField:L,getFieldProps:ee,getFieldMeta:J,getFieldHelpers:Q,validateOnBlur:i,validateOnChange:n,validateOnMount:s})}function fv(e){var t=Array.isArray(e)?[]:{};for(var n in e)if(Object.prototype.hasOwnProperty.call(e,n)){var r=String(n);!0===Array.isArray(e[r])?t[r]=e[r].map((function(e){return!0===Array.isArray(e)||Dh(e)?fv(e):""!==e?e:void 0})):Dh(e[r])?t[r]=fv(e[r]):t[r]=""!==e[r]?e[r]:void 0}return t}function hv(e,t,n){var r=e.slice();return t.forEach((function(t,o){if(void 0===r[o]){var i=!1!==n.clone&&n.isMergeableObject(t);r[o]=i?Ch(Array.isArray(t)?[]:{},t,n):t}else n.isMergeableObject(t)?r[o]=Ch(e[o],t,n):-1===e.indexOf(t)&&r.push(t)})),r}var mv="undefined"!=typeof window&&void 0!==window.document&&void 0!==window.document.createElement?o.useLayoutEffect:o.useEffect;function vv(e){var t=(0,o.useRef)(e);return mv((function(){t.current=e})),(0,o.useCallback)((function(){for(var e=arguments.length,n=new Array(e),r=0;r<e;r++)n[r]=arguments[r];return t.current.apply(void 0,n)}),[])}(0,o.forwardRef)((function(e,t){var n=e.action,r=Ym(e,["action"]),i=null!=n?n:"#",a=Qm(),s=a.handleReset,l=a.handleSubmit;return(0,o.createElement)("form",Gm({onSubmit:l,ref:t,onReset:s,action:i},r))})).displayName="Form";var gv=function(e,t,n){var r=yv(e);return r.splice(t,0,n),r},yv=function(e){if(e){if(Array.isArray(e))return[].concat(e);var t=Object.keys(e).map((function(e){return parseInt(e)})).reduce((function(e,t){return t>e?t:e}),0);return Array.from(Gm({},e,{length:t+1}))}return[]},bv=function(e,t){var n="function"==typeof e?e:t;return function(e){if(Array.isArray(e)||nv(e)){var t=yv(e);return n(t)}return e}},wv=function(e){function t(t){var n;return(n=e.call(this,t)||this).updateArrayField=function(e,t,r){var o=n.props,i=o.name;(0,o.formik.setFormikState)((function(n){var o=bv(r,e),a=bv(t,e),s=lv(n.values,i,e(sv(n.values,i))),l=r?o(sv(n.errors,i)):void 0,c=t?a(sv(n.touched,i)):void 0;return ev(l)&&(l=void 0),ev(c)&&(c=void 0),Gm({},n,{values:s,errors:r?lv(n.errors,i,l):n.errors,touched:t?lv(n.touched,i,c):n.touched})}))},n.push=function(e){return n.updateArrayField((function(t){return[].concat(yv(t),[qm(e)])}),!1,!1)},n.handlePush=function(e){return function(){return n.push(e)}},n.swap=function(e,t){return n.updateArrayField((function(n){return function(e,t,n){var r=yv(e),o=r[t];return r[t]=r[n],r[n]=o,r}(n,e,t)}),!0,!0)},n.handleSwap=function(e,t){return function(){return n.swap(e,t)}},n.move=function(e,t){return n.updateArrayField((function(n){return function(e,t,n){var r=yv(e),o=r[t];return r.splice(t,1),r.splice(n,0,o),r}(n,e,t)}),!0,!0)},n.handleMove=function(e,t){return function(){return n.move(e,t)}},n.insert=function(e,t){return n.updateArrayField((function(n){return gv(n,e,t)}),(function(t){return gv(t,e,null)}),(function(t){return gv(t,e,null)}))},n.handleInsert=function(e,t){return function(){return n.insert(e,t)}},n.replace=function(e,t){return n.updateArrayField((function(n){return function(e,t,n){var r=yv(e);return r[t]=n,r}(n,e,t)}),!1,!1)},n.handleReplace=function(e,t){return function(){return n.replace(e,t)}},n.unshift=function(e){var t=-1;return n.updateArrayField((function(n){var r=n?[e].concat(n):[e];return t=r.length,r}),(function(e){return e?[null].concat(e):[null]}),(function(e){return e?[null].concat(e):[null]})),t},n.handleUnshift=function(e){return function(){return n.unshift(e)}},n.handleRemove=function(e){return function(){return n.remove(e)}},n.handlePop=function(){return function(){return n.pop()}},n.remove=n.remove.bind(Xm(n)),n.pop=n.pop.bind(Xm(n)),n}Km(t,e);var n=t.prototype;return n.componentDidUpdate=function(e){this.props.validateOnChange&&this.props.formik.validateOnChange&&!Nh()(sv(e.formik.values,e.name),sv(this.props.formik.values,this.props.name))&&this.props.formik.validateForm(this.props.formik.values)},n.remove=function(e){var t;return this.updateArrayField((function(n){var r=n?yv(n):[];return t||(t=r[e]),tv(r.splice)&&r.splice(e,1),tv(r.every)&&r.every((function(e){return void 0===e}))?[]:r}),!0,!0),t},n.pop=function(){var e;return this.updateArrayField((function(t){var n=t.slice();return e||(e=n&&n.pop&&n.pop()),n}),!0,!0),e},n.render=function(){var e={push:this.push,pop:this.pop,swap:this.swap,move:this.move,insert:this.insert,replace:this.replace,unshift:this.unshift,remove:this.remove,handlePush:this.handlePush,handlePop:this.handlePop,handleSwap:this.handleSwap,handleMove:this.handleMove,handleInsert:this.handleInsert,handleReplace:this.handleReplace,handleUnshift:this.handleUnshift,handleRemove:this.handleRemove},t=this.props,n=t.component,r=t.render,i=t.children,a=t.name,s=Gm({},e,{form:Ym(t.formik,["validate","validationSchema"]),name:a});return n?(0,o.createElement)(n,s):r?r(s):i?"function"==typeof i?i(s):iv(i)?null:o.Children.only(i):null},t}(o.Component);wv.defaultProps={validateOnChange:!0};o.Component,o.Component;var xv=function(){return xv=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},xv.apply(this,arguments)},kv=function(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 o=0;for(r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]])}return n},Sv=function(e){var t="function"==typeof Symbol&&Symbol.iterator,n=t&&e[t],r=0;if(n)return n.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&r>=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")},Cv=n(22715),Ev=function(){return Ev=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},Ev.apply(this,arguments)},Tv=function(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 o=0;for(r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]])}return n};const Ov=function(e){var t=e.styles,n=void 0===t?{}:t,r=(e.children,e.sx),o=Tv(e,["styles","children","sx"]),i=n.fontSize,a=n.textColor,l=n.fontFamily,c=n.fontWeight,u=n.borderRadius,d=n.backgroundColor,p=n.paddingTop,f=n.paddingBottom,h=n.paddingLeft,m=n.paddingRight,v=n.marginTop,g=n.marginBottom,y=n.borderStyle,b=n.borderWidth,w=n.borderColor,x=n.boxShadow,k=n.borderColorHover,S=n.backgroundColorHover,C=n.borderWidthHover,E=n.borderStyleHover;return s(Cv.Z,Ev({},o,{variant:"outlined",inputProps:Ev(Ev(Ev({},o.inputProps||{}),o.pointerEventsNone?{readOnly:!0}:{}),{sx:{"&::placeholder":{opacity:1,color:"#9E9E9E"}}}),sx:Ev(Ev({},r),{mt:v,mb:g,"&":Ev({},o.pointerEventsNone?{pointerEvents:"none"}:{}),"& .MuiOutlinedInput-root":{borderRadius:u,backgroundColor:d},"& .MuiOutlinedInput-root:hover":{backgroundColor:S},"& .MuiOutlinedInput-root:hover fieldset.MuiOutlinedInput-notchedOutline":{borderColor:k,borderWidth:C,borderStyle:E},"& .MuiOutlinedInput-root .MuiOutlinedInput-notchedOutline":{borderRadius:"inherit",borderStyle:y,borderWidth:b,borderColor:w,boxShadow:x},"& .MuiOutlinedInput-root .MuiOutlinedInput-input":{fontSize:i,fontFamily:l,fontWeight:c,color:a,pl:h,pr:m,pt:p,pb:f},"& .MuiOutlinedInput-root > input:-webkit-autofill":{WebkitBoxShadow:"0 0 0 30px ".concat(d," inset !important"),WebkitTextFillColor:"".concat(a," !important")},"& .MuiOutlinedInput-root > input:-webkit-autofill:hover":{WebkitBoxShadow:"0 0 0 30px ".concat(d," inset !important")},"& .MuiOutlinedInput-root > input:-webkit-autofill:focus":{WebkitBoxShadow:"0 0 0 30px ".concat(d," inset !important")},"& .MuiOutlinedInput-root > input:-webkit-autofill:active":{WebkitBoxShadow:"0 0 0 30px ".concat(d," inset !important")}})}))};var $v=n(41796),Mv=function(){return Mv=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},Mv.apply(this,arguments)},Av=function(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 o=0;for(r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]])}return n},Dv=function(e,t){var n="function"==typeof Symbol&&e[Symbol.iterator];if(!n)return e;var r,o,i=n.call(e),a=[];try{for(;(void 0===t||t-- >0)&&!(r=i.next()).done;)a.push(r.value)}catch(s){o={error:s}}finally{try{r&&!r.done&&(n=i.return)&&n.call(i)}finally{if(o)throw o.error}}return a};const Lv=function(e){var t,n=e.label,r=e.value,i=e.styles,a=e.onChange,c=e.invalid,u=e.defaultChecked,d=e.preventDangerousHTML,p=e.labelStyles,f=Av(e,["label","value","styles","onChange","invalid","defaultChecked","preventDangerousHTML","labelStyles"]),h=Dv((0,o.useState)(u),2),m=h[0],v=h[1],y=(0,g.Z)();(0,o.useEffect)((function(){a(!!m)}),[m]),(0,o.useEffect)((function(){r!==m&&v(u)}),[r]);var b=null!==(t=null==i?void 0:i.backgroundColor)&&void 0!==t?t:y.palette.primary.main;return l("div",{className:"checkbox-holder",style:{"--check-color":y.palette.getContrastText(b),"--ch-bg-c":b,"--ch-outline":(0,$v.$n)((null==i?void 0:i.borderColorHover)||y.palette.primary.main,.9),"--ch-bg":null==i?void 0:i.backgroundColor,"--ch-bg-hover":null==i?void 0:i.backgroundColorHover,"--ch-border-c":c?"#BF2600":(null==i?void 0:i.borderColor)||y.palette.primary.main,"--ch-border-c-hover":c?"#BF2600":(null==i?void 0:i.borderColorHover)||(null==i?void 0:i.borderColor)||y.palette.primary.main,"--ch-border-r":null==i?void 0:i.borderRadius,"--ch-border-s":null==i?void 0:i.borderStyle,"--ch-border-s-hover":null==i?void 0:i.borderStyleHover,"--ch-border-w":(null==i?void 0:i.borderWidth)||"1px","--ch-border-w-hover":(null==i?void 0:i.borderWidthHover)||"1px","--ch-box-shadow":null==i?void 0:i.boxShadow,"--ch-font-family":(null==i?void 0:i.fontFamily)||y.typography.fontFamily,"--ch-font-size":(null==i?void 0:i.fontSize)||"16px","--ch-m-b":null==i?void 0:i.marginBottom,"--ch-m-t":null==i?void 0:i.marginTop,"--ch-color":null==i?void 0:i.textColor},children:[s("input",Mv({},f,{type:"checkbox",checked:m,onChange:function(){return v((function(e){return!e}))},value:""})),s("label",d?{htmlFor:f.id,style:{fontFamily:null==p?void 0:p.fontFamily,color:null==p?void 0:p.color,fontSize:null==p?void 0:p.fontSize,fontWeight:null==p?void 0:p.fontWeight,letterSpacing:null==p?void 0:p.letterSpacing},children:n}:{htmlFor:f.id,style:{fontFamily:null==p?void 0:p.fontFamily,color:null==p?void 0:p.color,fontSize:null==p?void 0:p.fontSize,fontWeight:null==p?void 0:p.fontWeight,letterSpacing:null==p?void 0:p.letterSpacing},dangerouslySetInnerHTML:{__html:n}})]})};var Nv=n(30286);var Rv=n(90103),Iv=function(){return Iv=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},Iv.apply(this,arguments)},Pv=function(e,t){var n="function"==typeof Symbol&&e[Symbol.iterator];if(!n)return e;var r,o,i=n.call(e),a=[];try{for(;(void 0===t||t-- >0)&&!(r=i.next()).done;)a.push(r.value)}catch(s){o={error:s}}finally{try{r&&!r.done&&(n=i.return)&&n.call(i)}finally{if(o)throw o.error}}return a},Zv=(0,o.forwardRef)((function(e,t){var n,r,i=e.open,c=e.styles,u=e.onClose,d=e.content,p=e.children,f=Pv((0,o.useState)(!!i),2),h=f[0],m=f[1];return(0,o.useEffect)((function(){m(!!i)}),[i]),l(a,{children:[(0,o.cloneElement)(p,{onClick:function(e){var t;e.stopPropagation(),"function"==typeof(null===(t=p.props)||void 0===t?void 0:t.onClick)&&p.props.onClick(),m((function(e){return!e}))}}),s(Rv.ZP,{open:h,disableScrollLock:!0,anchorEl:t.current,onClose:function(){m(!1),"function"==typeof u&&u()},container:null===(n=t.current)||void 0===n?void 0:n.parentElement,PaperProps:{className:e.className,style:Iv({width:null===(r=t.current)||void 0===r?void 0:r.clientWidth,minWidth:"max-content"},c||{})},anchorOrigin:{vertical:"bottom",horizontal:"left"},children:d})]})}));const _v=Zv;var Fv=(0,o.createContext)({color:"currentColor",size:"1em",weight:"regular",mirrored:!1}),jv=function(e,t,n){var r=n.get(e);return r?r(t):(console.error('Unsupported icon weight. Choose from "thin", "light", "regular", "bold", "fill", or "duotone".'),null)};function Bv(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}var zv=(0,o.forwardRef)((function(e,t){var n=e.alt,r=e.color,a=e.size,s=e.weight,l=e.mirrored,c=e.children,u=e.renderPath,d=Bv(e,["alt","color","size","weight","mirrored","children","renderPath"]),p=(0,o.useContext)(Fv),f=p.color,h=void 0===f?"currentColor":f,m=p.size,v=p.weight,g=void 0===v?"regular":v,y=p.mirrored,b=void 0!==y&&y,w=Bv(p,["color","size","weight","mirrored"]);return i().createElement("svg",Object.assign({ref:t,xmlns:"http://www.w3.org/2000/svg",width:null!=a?a:m,height:null!=a?a:m,fill:null!=r?r:h,viewBox:"0 0 256 256",transform:l||b?"scale(-1, 1)":void 0},w,d),!!n&&i().createElement("title",null,n),c,i().createElement("rect",{width:"256",height:"256",fill:"none"}),u(null!=s?s:g,null!=r?r:h))}));zv.displayName="IconBase";const Hv=zv;var Uv=new Map;Uv.set("bold",(function(e){return i().createElement(i().Fragment,null,i().createElement("polyline",{points:"200 208 120 128 200 48",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"24"}),i().createElement("polyline",{points:"120 208 40 128 120 48",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"24"}))})),Uv.set("duotone",(function(e){return i().createElement(i().Fragment,null,i().createElement("polygon",{points:"200 208 120 128 200 48 200 208",opacity:"0.2"}),i().createElement("polygon",{points:"200 208 120 128 200 48 200 208",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"16"}),i().createElement("polyline",{points:"120 208 40 128 120 48",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"16"}))})),Uv.set("fill",(function(){return i().createElement(i().Fragment,null,i().createElement("path",{d:"M203.1,40.6a8.4,8.4,0,0,0-8.8,1.7L128,108.7V48a8,8,0,0,0-4.9-7.4,8.4,8.4,0,0,0-8.8,1.7l-80,80a8.1,8.1,0,0,0,0,11.4l80,80A8.3,8.3,0,0,0,120,216a8.5,8.5,0,0,0,3.1-.6A8,8,0,0,0,128,208V147.3l66.3,66.4A8.3,8.3,0,0,0,200,216a8.5,8.5,0,0,0,3.1-.6A8,8,0,0,0,208,208V48A8,8,0,0,0,203.1,40.6Z"}))})),Uv.set("light",(function(e){return i().createElement(i().Fragment,null,i().createElement("polyline",{points:"200 208 120 128 200 48",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"12"}),i().createElement("polyline",{points:"120 208 40 128 120 48",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"12"}))})),Uv.set("thin",(function(e){return i().createElement(i().Fragment,null,i().createElement("polyline",{points:"200 208 120 128 200 48",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"8"}),i().createElement("polyline",{points:"120 208 40 128 120 48",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"8"}))})),Uv.set("regular",(function(e){return i().createElement(i().Fragment,null,i().createElement("polyline",{points:"200 208 120 128 200 48",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"16"}),i().createElement("polyline",{points:"120 208 40 128 120 48",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"16"}))}));var Wv=function(e,t){return jv(e,t,Uv)},Vv=(0,o.forwardRef)((function(e,t){return i().createElement(Hv,Object.assign({ref:t},e,{renderPath:Wv}))}));Vv.displayName="CaretDoubleLeft";const qv=Vv;var Gv=new Map;Gv.set("bold",(function(e){return i().createElement(i().Fragment,null,i().createElement("polyline",{points:"160 208 80 128 160 48",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"24"}))})),Gv.set("duotone",(function(e){return i().createElement(i().Fragment,null,i().createElement("polygon",{points:"160 208 80 128 160 48 160 208",opacity:"0.2"}),i().createElement("polygon",{points:"160 208 80 128 160 48 160 208",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"16"}))})),Gv.set("fill",(function(){return i().createElement(i().Fragment,null,i().createElement("path",{d:"M163.1,40.6a8.4,8.4,0,0,0-8.8,1.7l-80,80a8.1,8.1,0,0,0,0,11.4l80,80A8.3,8.3,0,0,0,160,216a8.5,8.5,0,0,0,3.1-.6A8,8,0,0,0,168,208V48A8,8,0,0,0,163.1,40.6Z"}))})),Gv.set("light",(function(e){return i().createElement(i().Fragment,null,i().createElement("polyline",{points:"160 208 80 128 160 48",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"12"}))})),Gv.set("thin",(function(e){return i().createElement(i().Fragment,null,i().createElement("polyline",{points:"160 208 80 128 160 48",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"8"}))})),Gv.set("regular",(function(e){return i().createElement(i().Fragment,null,i().createElement("polyline",{points:"160 208 80 128 160 48",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"16"}))}));var Kv=function(e,t){return jv(e,t,Gv)},Yv=(0,o.forwardRef)((function(e,t){return i().createElement(Hv,Object.assign({ref:t},e,{renderPath:Kv}))}));Yv.displayName="CaretLeft";const Xv=Yv;var Jv=new Map;Jv.set("bold",(function(e){return i().createElement(i().Fragment,null,i().createElement("polyline",{points:"96 48 176 128 96 208",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"24"}))})),Jv.set("duotone",(function(e){return i().createElement(i().Fragment,null,i().createElement("polygon",{points:"96 48 176 128 96 208 96 48",opacity:"0.2"}),i().createElement("polygon",{points:"96 48 176 128 96 208 96 48",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"16"}))})),Jv.set("fill",(function(){return i().createElement(i().Fragment,null,i().createElement("path",{d:"M181.7,122.3l-80-80a8.4,8.4,0,0,0-8.8-1.7A8,8,0,0,0,88,48V208a8,8,0,0,0,4.9,7.4,8.5,8.5,0,0,0,3.1.6,8.3,8.3,0,0,0,5.7-2.3l80-80A8.1,8.1,0,0,0,181.7,122.3Z"}))})),Jv.set("light",(function(e){return i().createElement(i().Fragment,null,i().createElement("polyline",{points:"96 48 176 128 96 208",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"12"}))})),Jv.set("thin",(function(e){return i().createElement(i().Fragment,null,i().createElement("polyline",{points:"96 48 176 128 96 208",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"8"}))})),Jv.set("regular",(function(e){return i().createElement(i().Fragment,null,i().createElement("polyline",{points:"96 48 176 128 96 208",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"16"}))}));var Qv=function(e,t){return jv(e,t,Jv)},eg=(0,o.forwardRef)((function(e,t){return i().createElement(Hv,Object.assign({ref:t},e,{renderPath:Qv}))}));eg.displayName="CaretRight";const tg=eg;var ng=new Map;ng.set("bold",(function(e){return i().createElement(i().Fragment,null,i().createElement("polyline",{points:"56 48 136 128 56 208",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"24"}),i().createElement("polyline",{points:"136 48 216 128 136 208",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"24"}))})),ng.set("duotone",(function(e){return i().createElement(i().Fragment,null,i().createElement("polygon",{points:"56 48 136 128 56 208 56 48",opacity:"0.2"}),i().createElement("polygon",{points:"56 48 136 128 56 208 56 48",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"16"}),i().createElement("polyline",{points:"136 48 216 128 136 208",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"16"}))})),ng.set("fill",(function(){return i().createElement(i().Fragment,null,i().createElement("path",{d:"M221.7,122.3l-80-80a8.4,8.4,0,0,0-8.8-1.7A8,8,0,0,0,128,48v60.7L61.7,42.3a8.4,8.4,0,0,0-8.8-1.7A8,8,0,0,0,48,48V208a8,8,0,0,0,4.9,7.4,8.5,8.5,0,0,0,3.1.6,8.3,8.3,0,0,0,5.7-2.3L128,147.3V208a8,8,0,0,0,4.9,7.4,8.5,8.5,0,0,0,3.1.6,8.3,8.3,0,0,0,5.7-2.3l80-80A8.1,8.1,0,0,0,221.7,122.3Z"}))})),ng.set("light",(function(e){return i().createElement(i().Fragment,null,i().createElement("polyline",{points:"56 48 136 128 56 208",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"12"}),i().createElement("polyline",{points:"136 48 216 128 136 208",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"12"}))})),ng.set("thin",(function(e){return i().createElement(i().Fragment,null,i().createElement("polyline",{points:"56 48 136 128 56 208",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"8"}),i().createElement("polyline",{points:"136 48 216 128 136 208",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"8"}))})),ng.set("regular",(function(e){return i().createElement(i().Fragment,null,i().createElement("polyline",{points:"56 48 136 128 56 208",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"16"}),i().createElement("polyline",{points:"136 48 216 128 136 208",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"16"}))}));var rg=function(e,t){return jv(e,t,ng)},og=(0,o.forwardRef)((function(e,t){return i().createElement(Hv,Object.assign({ref:t},e,{renderPath:rg}))}));og.displayName="CaretDoubleRight";const ig=og;var ag=new Map;ag.set("bold",(function(e){return i().createElement(i().Fragment,null,i().createElement("line",{x1:"200",y1:"56",x2:"56",y2:"200",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"24"}),i().createElement("line",{x1:"200",y1:"200",x2:"56",y2:"56",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"24"}))})),ag.set("duotone",(function(e){return i().createElement(i().Fragment,null,i().createElement("line",{x1:"200",y1:"56",x2:"56",y2:"200",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"16"}),i().createElement("line",{x1:"200",y1:"200",x2:"56",y2:"56",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"16"}))})),ag.set("fill",(function(){return i().createElement(i().Fragment,null,i().createElement("path",{d:"M139.3,128l66.4-66.3a8.1,8.1,0,0,0-11.4-11.4L128,116.7,61.7,50.3A8.1,8.1,0,0,0,50.3,61.7L116.7,128,50.3,194.3a8.1,8.1,0,0,0,0,11.4,8.2,8.2,0,0,0,11.4,0L128,139.3l66.3,66.4a8.2,8.2,0,0,0,11.4,0,8.1,8.1,0,0,0,0-11.4Z"}))})),ag.set("light",(function(e){return i().createElement(i().Fragment,null,i().createElement("line",{x1:"200",y1:"56",x2:"56",y2:"200",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"12"}),i().createElement("line",{x1:"200",y1:"200",x2:"56",y2:"56",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"12"}))})),ag.set("thin",(function(e){return i().createElement(i().Fragment,null,i().createElement("line",{x1:"200",y1:"56",x2:"56",y2:"200",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"8"}),i().createElement("line",{x1:"200",y1:"200",x2:"56",y2:"56",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"8"}))})),ag.set("regular",(function(e){return i().createElement(i().Fragment,null,i().createElement("line",{x1:"200",y1:"56",x2:"56",y2:"200",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"16"}),i().createElement("line",{x1:"200",y1:"200",x2:"56",y2:"56",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"16"}))}));var sg=function(e,t){return jv(e,t,ag)},lg=(0,o.forwardRef)((function(e,t){return i().createElement(Hv,Object.assign({ref:t},e,{renderPath:sg}))}));lg.displayName="X";const cg=lg;var ug=n(91057),dg=n(54799),pg=function(){return pg=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},pg.apply(this,arguments)},fg=function(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 o=0;for(r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]])}return n},hg=function(e,t){var n="function"==typeof Symbol&&e[Symbol.iterator];if(!n)return e;var r,o,i=n.call(e),a=[];try{for(;(void 0===t||t-- >0)&&!(r=i.next()).done;)a.push(r.value)}catch(s){o={error:s}}finally{try{r&&!r.done&&(n=i.return)&&n.call(i)}finally{if(o)throw o.error}}return a};const mg=function(e){var t=e.name,n=e.value,r=e.onChange,i=e.placeholder,a=e.dateMetadata,c=e.handleDateReset,u=e.isRequired,d=fg(e,["name","value","onChange","placeholder","dateMetadata","handleDateReset","isRequired"]),p=(0,o.useRef)(null),f=hg((0,o.useState)(!1),2),h=f[0],m=f[1],v=hg((0,o.useState)((function(){return n?(0,ii.default)(new Date(n),"yyyy-MM-dd'T'00:00"):""})),2),g=v[0],y=v[1];(0,o.useEffect)((function(){n||y("")}),[n]),(0,o.useEffect)((function(){n&&y((0,ii.default)(function(e){return Li(e instanceof Date?e:new Date(e),"UTC")}(n),"yyyy-MM-dd'T'00:00"))}),[n,a]);return s("div",{className:"date-picker-input",children:s(_v,{ref:p,open:h,styles:{maxWidth:"max-content"},className:"date-picker-popover",content:s(Nv.f,{date:g&&(0,Ca.default)(new Date(g))?new Date(g):void 0,minDate:new Date(0,0),color:"#EAB10B",rangeColors:["#EAB10B"],weekdayDisplayFormat:"iiiiii",onChange:function(e){y(e),r((0,ii.default)(e,"yyyy-MM-dd")),m(!1)},navigatorRenderer:function(e,t){return l("ul",{className:"month-year-header",children:[l("li",{children:[s(qv,{className:"CaretDoubleLeft",onClick:function(){t(new Date(e).getFullYear()-1,"setYear")}}),s(Xv,{className:"CaretLeft",onClick:function(){return t(-1,"monthOffset")}})]}),s("li",{children:(0,ii.default)(e,"MMMM yyyy")}),l("li",{children:[s(tg,{className:"CaretRight",onClick:function(){return t(1,"monthOffset")}}),s(ig,{className:"CaretDoubleRight",onClick:function(){t(new Date(e).getFullYear()+1,"setYear")}})]})]})}}),children:s(Ov,pg({},d,{readOnly:!0,name:t,value:g&&(0,Ca.default)(new Date(g))?(0,ii.default)(new Date(g),"MMMM dd yyyy"):"",inputRef:p,inputProps:{readOnly:!0,style:{cursor:"pointer"}},placeholder:i,onClick:function(){return m(!0)},fullWidth:!0,type:"text",InputProps:{endAdornment:n&&!u&&s(ug.Z,{position:"end",children:s(dg.Z,{onClick:function(e){e.stopPropagation(),y(""),r(""),null==c||c()},children:s(cg,{size:16})})})}}))})})};var vg=function(){return vg=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},vg.apply(this,arguments)},gg=function(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 o=0;for(r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]])}return n},yg=function(e,t){var n="function"==typeof Symbol&&e[Symbol.iterator];if(!n)return e;var r,o,i=n.call(e),a=[];try{for(;(void 0===t||t-- >0)&&!(r=i.next()).done;)a.push(r.value)}catch(s){o={error:s}}finally{try{r&&!r.done&&(n=i.return)&&n.call(i)}finally{if(o)throw o.error}}return a},bg=function(e){return("0"+("string"==typeof e?e.trim():e)).slice(-2)},wg=function(e,t){return"".concat(bg(e),":").concat(bg(t))};const xg=function(e){var t=e.name,n=e.value,r=e.onChange,i=e.placeholder,a=e.handleTimeReset,c=e.isRequired,u=gg(e,["name","value","onChange","placeholder","handleTimeReset","isRequired"]),d=yg((0,o.useState)(n?n.split(":")[0]:0),2),f=d[0],h=d[1],m=yg((0,o.useState)(n?n.split(":")[1]:0),2),v=m[0],g=m[1],y=(0,o.useRef)(null);return s(_v,{ref:y,content:l("ul",{className:"time-picker-holder",children:[s("li",{children:Array(24).fill(null).map((function(e,t){return s("div",{className:p()("time-picker-item",{active:t===f}),onClick:function(){h(t),r&&r(wg(t,v))},style:{color:"#424242"},children:bg(t)},t)}))}),s("li",{children:Array(60).fill(null).map((function(e,t){return s("div",{className:p()("time-picker-item",{active:t===v}),onClick:function(){g(t),r&&r(wg(f,t))},style:{color:"#424242"},children:bg(t)},t)}))})]}),children:s(Ov,vg({},u,{readOnly:!0,name:t,value:n||"",inputRef:y,inputProps:{readOnly:!0,style:{cursor:"pointer"}},placeholder:i,type:"text",InputProps:{endAdornment:n&&!c&&s(ug.Z,{position:"end",className:"clear-time-btn",children:s(dg.Z,{onClick:function(e){e.stopPropagation(),null==a||a()},children:s(cg,{size:16})})})}}))})};var kg=function(){return kg=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},kg.apply(this,arguments)},Sg=function(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 o=0;for(r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]])}return n};const Cg=function(e){var t=e.id,n=e.name,r=e.value,i=e.onChange,a=Sg(e,["id","name","value","onChange"]),c=(r||"").split(" "),u=function(e,t,n){var r=(0,o.useMemo)((function(){return e}),[e]),i=(0,o.useMemo)((function(){return t}),[t]);return{selectedDate:r,time:i,handleChange:function(e,t){var r=(0,ii.default)(new Date,"yyyy-MM-dd");n("".concat(e||r," ").concat(t||"00:00"))},handleDateReset:function(){n(" ".concat(i))},handleTimeReset:function(){n("".concat(r," "))}}}(c[0],c[1],i),d=u.time,p=u.selectedDate,f=u.handleChange,h=u.handleDateReset,m=u.handleTimeReset;return l("div",{className:"date-time-picker-holder",children:[s(mg,kg({},a,{id:t,name:n,fullWidth:!0,onChange:function(e){return f(e,d)},value:p,handleDateReset:h})),s(xg,kg({},a,{name:n,value:d,placeholder:"Set time",onChange:function(e){return f(p,e)},handleTimeReset:m}))]})};var Eg=n(70917),Tg=n(53640),Og=n(23776);const $g=function(){return Cc.Date.now()};var Mg=/\s/;const Ag=function(e){for(var t=e.length;t--&&Mg.test(e.charAt(t)););return t};var Dg=/^\s+/;const Lg=function(e){return e?e.slice(0,Ag(e)+1).replace(Dg,""):e};var Ng=/^[-+]0x[0-9a-f]+$/i,Rg=/^0b[01]+$/i,Ig=/^0o[0-7]+$/i,Pg=parseInt;const Zg=function(e){if("number"==typeof e)return e;if(Nm(e))return NaN;if(Ic(e)){var t="function"==typeof e.valueOf?e.valueOf():e;e=Ic(t)?t+"":t}if("string"!=typeof e)return 0===e?e:+e;e=Lg(e);var n=Rg.test(e);return n||Ig.test(e)?Pg(e.slice(2),n?2:8):Ng.test(e)?NaN:+e};var _g=Math.max,Fg=Math.min;const jg=function(e,t,n){var r,o,i,a,s,l,c=0,u=!1,d=!1,p=!0;if("function"!=typeof e)throw new TypeError("Expected a function");function f(t){var n=r,i=o;return r=o=void 0,c=t,a=e.apply(i,n)}function h(e){var n=e-l;return void 0===l||n>=t||n<0||d&&e-c>=i}function m(){var e=$g();if(h(e))return v(e);s=setTimeout(m,function(e){var n=t-(e-l);return d?Fg(n,i-(e-c)):n}(e))}function v(e){return s=void 0,p&&r?f(e):(r=o=void 0,a)}function g(){var e=$g(),n=h(e);if(r=arguments,o=this,l=e,n){if(void 0===s)return function(e){return c=e,s=setTimeout(m,t),u?f(e):a}(l);if(d)return clearTimeout(s),s=setTimeout(m,t),f(l)}return void 0===s&&(s=setTimeout(m,t)),a}return t=Zg(t)||0,Ic(n)&&(u=!!n.leading,i=(d="maxWait"in n)?_g(Zg(n.maxWait)||0,t):i,p="trailing"in n?!!n.trailing:p),g.cancel=function(){void 0!==s&&clearTimeout(s),c=0,r=l=o=s=void 0},g.flush=function(){return void 0===s?a:v($g())},g};var Bg=new Map;Bg.set("bold",(function(e){return i().createElement(i().Fragment,null,i().createElement("polyline",{points:"208 96 128 176 48 96",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"24"}))})),Bg.set("duotone",(function(e){return i().createElement(i().Fragment,null,i().createElement("polygon",{points:"208 96 128 176 48 96 208 96",opacity:"0.2"}),i().createElement("polygon",{points:"208 96 128 176 48 96 208 96",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"16"}))})),Bg.set("fill",(function(){return i().createElement(i().Fragment,null,i().createElement("path",{d:"M215.4,92.9A8,8,0,0,0,208,88H48a8,8,0,0,0-7.4,4.9,8.4,8.4,0,0,0,1.7,8.8l80,80a8.2,8.2,0,0,0,11.4,0l80-80A8.4,8.4,0,0,0,215.4,92.9Z"}))})),Bg.set("light",(function(e){return i().createElement(i().Fragment,null,i().createElement("polyline",{points:"208 96 128 176 48 96",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"12"}))})),Bg.set("thin",(function(e){return i().createElement(i().Fragment,null,i().createElement("polyline",{points:"208 96 128 176 48 96",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"8"}))})),Bg.set("regular",(function(e){return i().createElement(i().Fragment,null,i().createElement("polyline",{points:"208 96 128 176 48 96",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"16"}))}));var zg=function(e,t){return jv(e,t,Bg)},Hg=(0,o.forwardRef)((function(e,t){return i().createElement(Hv,Object.assign({ref:t},e,{renderPath:zg}))}));Hg.displayName="CaretDown";const Ug=Hg;var Wg=function(e,t){var n="function"==typeof Symbol&&e[Symbol.iterator];if(!n)return e;var r,o,i=n.call(e),a=[];try{for(;(void 0===t||t-- >0)&&!(r=i.next()).done;)a.push(r.value)}catch(s){o={error:s}}finally{try{r&&!r.done&&(n=i.return)&&n.call(i)}finally{if(o)throw o.error}}return a};function Vg(e){var t=Wg((0,o.useState)(!1),2),n=t[0],r=t[1];return(0,o.useEffect)((function(){if(n){var t,o=function(){t&&(cancelAnimationFrame(t),t=void 0),t=requestAnimationFrame((function(){e&&!function(e){var t=e.getBoundingClientRect();return t.top<0||t.bottom>window.innerHeight||t.left<0||t.right>window.innerWidth}(e)||r(!1)}))};return document.addEventListener("scroll",o),function(){document.removeEventListener("scroll",o),t&&cancelAnimationFrame(t)}}}),[n,e]),{isOpen:n,open:function(){r(!0)},close:function(){r(!1)}}}var qg=function(){return qg=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},qg.apply(this,arguments)},Gg=function(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 o=0;for(r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]])}return n},Kg=function(e,t){var n="function"==typeof Symbol&&e[Symbol.iterator];if(!n)return e;var r,o,i=n.call(e),a=[];try{for(;(void 0===t||t-- >0)&&!(r=i.next()).done;)a.push(r.value)}catch(s){o={error:s}}finally{try{r&&!r.done&&(n=i.return)&&n.call(i)}finally{if(o)throw o.error}}return a},Yg=function(e){var t=e.placeholder,n=e.isMultiSelect,r=e.optionsOrder,i=e.debounceTime,a=e.field,l=e.styles,c=e.sx,u=e.onChange,d=e.error,p=e.value,f=e.options,h=e.dataSource,m=e.initialValues,v=void 0===m?n&&!Array.isArray(p)?[]:p:m,g=e.showSelectionCount,y=Gg(e,["placeholder","isMultiSelect","optionsOrder","debounceTime","field","styles","sx","onChange","error","value","options","dataSource","initialValues","showSelectionCount"]),b=Kg((0,o.useState)(n?[]:null),2),w=b[0],x=b[1],k=Kg((0,o.useState)(!0),2),S=k[0],C=k[1];(0,o.useEffect)((function(){S&&(null==p?void 0:p.length)&&x((null==v?void 0:v.length)?v||w:p||w)}),[S,p]),(0,o.useEffect)((function(){x(Array.isArray(v)&&!n?v[0]||w:v||w)}),[]),(0,o.useEffect)((function(){(!p||Array.isArray(p)&&!p.length)&&w&&x(n?[]:null)}),[p,n]);var E,T=rc(null!=a?a:"",{sortType:(E=r,E&&E!==lt.CUSTOM&&E!==lt.AS_DEFINED_IN_SOURCE?E:lt.ASC),cacheResponse:!1,dataSource:h}),O=T.values,$=T.getValues,M=T.isLoading,A=T.offset,D=(0,o.useMemo)((function(){return jg($,i)}),[i]);(0,o.useEffect)((function(){return function(){return D.cancel()}}),[D]);var L=(0,o.useCallback)((function(e){D(e)}),[D]),N=(0,o.useRef)(null),R=Vg(N.current),I=(0,o.useCallback)((function(){$("",{offset:null}),R.open()}),[$]),P=(0,o.useCallback)((function(e,t){var n,r,o,i,a,s,l,c,u;return t="string"==typeof t?t.trim():t,"object"==typeof e&&"object"==typeof t?Array.isArray(t)?(null===(n=null==e?void 0:e.id)||void 0===n?void 0:n.toString())===(null===(o=null===(r=t[0])||void 0===r?void 0:r.id)||void 0===o?void 0:o.toString()):(null===(i=null==e?void 0:e.id)||void 0===i?void 0:i.toString())===(null===(a=null==t?void 0:t.id)||void 0===a?void 0:a.toString()):"object"==typeof e&&"string"==typeof t?(null===(s=null==e?void 0:e.id)||void 0===s?void 0:s.toString())===(null==t?void 0:t.toString())||(null===(l=null==e?void 0:e.label)||void 0===l?void 0:l.toString())===(null==t?void 0:t.toString()):"string"==typeof e&&"object"==typeof t?(null==e?void 0:e.toString())===(null===(c=null==t?void 0:t.id)||void 0===c?void 0:c.toString())||(null==e?void 0:e.toString())===(null===(u=null==t?void 0:t.label)||void 0===u?void 0:u.toString()):e===t}),[]);return s(Tg.Z,{fullWidth:!0,error:d,children:s(Og.Z,qg({loading:M,value:w,limitTags:25,disablePortal:(null==w?void 0:w.length)>25,disableCloseOnSelect:n,renderInput:function(e){return s(Cv.Z,qg({},e,{ref:N,fullWidth:!0,placeholder:w&&(null==w?void 0:w.length)>0?"":t,onChange:function(e){return L(e.target.value)},size:"small"}))},renderOption:function(e,t){return(0,Eg.az)("li",qg({},e,{key:"string"!=typeof t?null==t?void 0:t.id:t}),"object"==typeof t?null==t?void 0:t.label:t)},renderTags:g&&n?function(e){return function(e){var t,n=1===(null==e?void 0:e.length)?null===(t=null==e?void 0:e.map((function(e){return(null==e?void 0:e.label)||e})))||void 0===t?void 0:t.join(", "):"".concat(null==e?void 0:e.length," items selected");return s("span",{style:{maxWidth:"calc(100% - 40px)",overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap",fontSize:"1rem",color:"#9E9E9E",fontWeight:400},children:n})}(e)}:void 0,defaultValue:n?[]:null,options:(null==O?void 0:O.length)?O:f||[],multiple:n,getOptionLabel:function(e){var t;return"object"==typeof e?Array.isArray(e)?null===(t=e[0])||void 0===t?void 0:t.label:null==e?void 0:e.label:e},componentsProps:{paper:{sx:{fontSize:l.fontSize,fontWeight:l.fontWeight,fontFamily:l.fontFamily,color:l.textColor,backgroundColor:l.backgroundColor}}},sx:qg(qg({},c),{mt:l.marginTop,mb:l.marginBottom,"& .MuiAutocomplete-endAdornment":{paddingTop:"0 !important",top:"50%",transform:"translateY(-50%)"},"& .MuiIconButton-root":{color:l.caretColor||"#9E9E9E"},"& .MuiOutlinedInput-root.MuiInputBase-formControl":{backgroundColor:l.backgroundColor,borderRadius:l.borderRadius,paddingTop:l.paddingTop,paddingBottom:l.paddingBottom,paddingLeft:parseFloat(l.paddingLeft)>2?"2rem":l.paddingLeft,paddingRight:parseFloat(l.paddingLeft)>2?"2rem":l.paddingRight,"&:hover":{backgroundColor:l.backgroundColorHover}},"& .MuiAutocomplete-inputRoot .MuiAutocomplete-input":{fontSize:l.fontSize,fontWeight:l.fontWeight,fontFamily:l.fontFamily,color:l.textColor,padding:"0!important","&::placeholder":{opacity:1,color:l.placeholderColor||"#9E9E9E",overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap",maxWidth:"calc(100% - 40px)"}},"& fieldset.MuiOutlinedInput-notchedOutline":{borderRadius:l.borderRadius,borderStyle:l.borderStyle,borderWidth:l.borderWidth,borderColor:"".concat(l.borderColor," !important"),boxShadow:l.boxShadow},"&. Mui-focused fieldset.MuiOutlinedInput-notchedOutline":{borderStyle:l.borderStyle,borderWidth:l.borderWidth,borderColor:"#0A0A0A"},"&:hover fieldset.MuiOutlinedInput-notchedOutline":{borderColor:"".concat(l.borderColorHover," !important"),borderStyle:l.borderStyleHover,borderWidth:l.borderWidthHover},"& .MuiChip-root":{padding:.5,borderRadius:4},"& .MuiChip-label":{marginRight:1}}),onChange:function(e,t,r){if("clear"===r)return u(n?[]:null),void x(n?[]:null);u(t),C(!1),x(t)},open:R.isOpen,onOpen:I,onClose:R.close,isOptionEqualToValue:function(e,t){return P(e,t)},ListboxProps:{onScroll:function(e){var t=e.currentTarget;Math.ceil(t.scrollTop+t.clientHeight)>=t.scrollHeight&&null!==A&&$("",{offset:A})},role:"list-box"},popupIcon:s(Ug,{width:"16px",height:"16px"})},y))})};Yg.defaultProps={debounceTime:500,theme:"primary",showSelectionCount:!1};const Xg=Yg;var Jg=n(16012),Qg=n(99460),ey=n(17075),ty=n(63931),ny=new Map;ny.set("bold",(function(e){return i().createElement(i().Fragment,null,i().createElement("polyline",{points:"48 160 128 80 208 160",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"24"}))})),ny.set("duotone",(function(e){return i().createElement(i().Fragment,null,i().createElement("polygon",{points:"48 160 128 80 208 160 48 160",opacity:"0.2"}),i().createElement("polygon",{points:"48 160 128 80 208 160 48 160",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"16"}))})),ny.set("fill",(function(){return i().createElement(i().Fragment,null,i().createElement("path",{d:"M213.7,154.3l-80-80a8.1,8.1,0,0,0-11.4,0l-80,80a8.4,8.4,0,0,0-1.7,8.8A8,8,0,0,0,48,168H208a8,8,0,0,0,7.4-4.9A8.4,8.4,0,0,0,213.7,154.3Z"}))})),ny.set("light",(function(e){return i().createElement(i().Fragment,null,i().createElement("polyline",{points:"48 160 128 80 208 160",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"12"}))})),ny.set("thin",(function(e){return i().createElement(i().Fragment,null,i().createElement("polyline",{points:"48 160 128 80 208 160",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"8"}))})),ny.set("regular",(function(e){return i().createElement(i().Fragment,null,i().createElement("polyline",{points:"48 160 128 80 208 160",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"16"}))}));var ry=function(e,t){return jv(e,t,ny)},oy=(0,o.forwardRef)((function(e,t){return i().createElement(Hv,Object.assign({ref:t},e,{renderPath:ry}))}));oy.displayName="CaretUp";const iy=oy;var ay=new Map;ay.set("bold",(function(e){return i().createElement(i().Fragment,null,i().createElement("circle",{cx:"116",cy:"116",r:"84",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"24"}),i().createElement("line",{x1:"175.4",y1:"175.4",x2:"224",y2:"224",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"24"}))})),ay.set("duotone",(function(e){return i().createElement(i().Fragment,null,i().createElement("circle",{cx:"116",cy:"116",r:"84",opacity:"0.2"}),i().createElement("circle",{cx:"116",cy:"116",r:"84",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"16"}),i().createElement("line",{x1:"175.4",y1:"175.4",x2:"224",y2:"224",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"16"}))})),ay.set("fill",(function(){return i().createElement(i().Fragment,null,i().createElement("path",{d:"M176,116a60,60,0,1,1-60-60A60,60,0,0,1,176,116Zm53.6,113.7A8,8,0,0,1,224,232a8.3,8.3,0,0,1-5.7-2.3l-43.2-43.3a92.2,92.2,0,1,1,11.3-11.3l43.2,43.2A8,8,0,0,1,229.6,229.7ZM116,192a76,76,0,1,0-76-76A76.1,76.1,0,0,0,116,192Z"}))})),ay.set("light",(function(e){return i().createElement(i().Fragment,null,i().createElement("circle",{cx:"116",cy:"116",r:"84",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"12"}),i().createElement("line",{x1:"175.4",y1:"175.4",x2:"224",y2:"224",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"12"}))})),ay.set("thin",(function(e){return i().createElement(i().Fragment,null,i().createElement("circle",{cx:"116",cy:"116",r:"84",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"8"}),i().createElement("line",{x1:"175.4",y1:"175.4",x2:"224",y2:"224",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"8"}))})),ay.set("regular",(function(e){return i().createElement(i().Fragment,null,i().createElement("circle",{cx:"116",cy:"116",r:"84",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"16"}),i().createElement("line",{x1:"175.4",y1:"175.4",x2:"224",y2:"224",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"16"}))}));var sy=function(e,t){return jv(e,t,ay)},ly=(0,o.forwardRef)((function(e,t){return i().createElement(Hv,Object.assign({ref:t},e,{renderPath:sy}))}));ly.displayName="MagnifyingGlass";const cy=ly;var uy=function(){var e=(0,o.useContext)(O).blockSelector;return(0,o.useMemo)((function(){return document.querySelector(e)||document.body}),[e])},dy=function(e){var t="function"==typeof Symbol&&Symbol.iterator,n=t&&e[t],r=0;if(n)return n.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&r>=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")};function py(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return function(t){var n,r;try{for(var o=dy(e),i=o.next();!i.done;i=o.next()){var a=i.value;a&&("function"==typeof a?a(t):a.current=null!=t?t:void 0)}}catch(s){n={error:s}}finally{try{i&&!i.done&&(r=o.return)&&r.call(o)}finally{if(n)throw n.error}}}}var fy=n(98396),hy=n(20296),my=n.n(hy);function vy(e){let{debounce:t,scroll:n,polyfill:r,offsetSize:i}=void 0===e?{debounce:0,scroll:!1,offsetSize:!1}:e;const a=r||("undefined"==typeof window?class{}:window.ResizeObserver);if(!a)throw new Error("This browser does not support ResizeObserver out of the box. See: https://github.com/react-spring/react-use-measure/#resize-observer-polyfills");const[s,l]=(0,o.useState)({left:0,top:0,width:0,height:0,bottom:0,right:0,x:0,y:0}),c=(0,o.useRef)({element:null,scrollContainers:null,resizeObserver:null,lastBounds:s}),u=t?"number"==typeof t?t:t.scroll:null,d=t?"number"==typeof t?t:t.resize:null,p=(0,o.useRef)(!1);(0,o.useEffect)((()=>(p.current=!0,()=>{p.current=!1})));const[f,h,m]=(0,o.useMemo)((()=>{const e=()=>{if(!c.current.element)return;const{left:e,top:t,width:n,height:r,bottom:o,right:a,x:s,y:u}=c.current.element.getBoundingClientRect(),d={left:e,top:t,width:n,height:r,bottom:o,right:a,x:s,y:u};c.current.element instanceof HTMLElement&&i&&(d.height=c.current.element.offsetHeight,d.width=c.current.element.offsetWidth),Object.freeze(d),p.current&&!by(c.current.lastBounds,d)&&l(c.current.lastBounds=d)};return[e,d?my()(e,d):e,u?my()(e,u):e]}),[l,i,u,d]);function v(){c.current.scrollContainers&&(c.current.scrollContainers.forEach((e=>e.removeEventListener("scroll",m,!0))),c.current.scrollContainers=null),c.current.resizeObserver&&(c.current.resizeObserver.disconnect(),c.current.resizeObserver=null)}function g(){c.current.element&&(c.current.resizeObserver=new a(m),c.current.resizeObserver.observe(c.current.element),n&&c.current.scrollContainers&&c.current.scrollContainers.forEach((e=>e.addEventListener("scroll",m,{capture:!0,passive:!0}))))}var y,b,w;return y=m,b=Boolean(n),(0,o.useEffect)((()=>{if(b){const e=y;return window.addEventListener("scroll",e,{capture:!0,passive:!0}),()=>{window.removeEventListener("scroll",e,!0)}}}),[y,b]),w=h,(0,o.useEffect)((()=>{const e=w;return window.addEventListener("resize",e),()=>{window.removeEventListener("resize",e)}}),[w]),(0,o.useEffect)((()=>{v(),g()}),[n,m,h]),(0,o.useEffect)((()=>v),[]),[e=>{e&&e!==c.current.element&&(v(),c.current.element=e,c.current.scrollContainers=gy(e),g())},s,f]}function gy(e){const t=[];if(!e||e===document.body)return t;const{overflow:n,overflowX:r,overflowY:o}=window.getComputedStyle(e);return[n,r,o].some((e=>"auto"===e||"scroll"===e))&&t.push(e),[...t,...gy(e.parentElement)]}const yy=["x","y","top","bottom","left","right","width","height"],by=(e,t)=>yy.every((n=>e[n]===t[n]));var wy=function(){return wy=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},wy.apply(this,arguments)},xy=function(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 o=0;for(r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]])}return n},ky=function(e,t){var n="function"==typeof Symbol&&e[Symbol.iterator];if(!n)return e;var r,o,i=n.call(e),a=[];try{for(;(void 0===t||t-- >0)&&!(r=i.next()).done;)a.push(r.value)}catch(s){o={error:s}}finally{try{r&&!r.done&&(n=i.return)&&n.call(i)}finally{if(o)throw o.error}}return a},Sy=function(e){var t,n=e.sx,r=e.name,i=e.value,a=e.styles,c=e.error,d=e.onChange,p=e.multiSelect,f=e.optionsOrder,h=e.placeholder,m=e.field,v=xy(e,["sx","name","value","styles","error","onChange","multiSelect","optionsOrder","placeholder","field"]),y=(0,o.useRef)(null),b=ky((0,o.useState)(p&&!Array.isArray(i)?[]:i),2),w=b[0],x=b[1],k=ky((0,o.useState)(null),2),S=k[0],C=k[1],E=(0,o.useContext)(xc).fields,T=ky((0,o.useState)(""),2),O=T[0],$=T[1],M=j().dataSource,A=Ws(M?null==M?void 0:M.type:null===(t=null==e?void 0:e.dataSource)||void 0===t?void 0:t.type),D=(0,o.useMemo)((function(){return S?S.filter((function(e){return Hr(e,O)})).filter((function(e){return null==e?void 0:e.toString().trim()})):[]}),[O,S]),L=(0,g.Z)(),N=(0,fy.Z)(L.breakpoints.up("lg"));(0,o.useEffect)((function(){if(E){var e=E.find((function(e){return e.name===m})),t=null==A?void 0:A.getFieldMetadataOptions(e);if(t){var n=t.map((function(e){return e.name}));if(f!==lt.AS_DEFINED_IN_SOURCE){var r=f===lt.ASC?1:-1;n.length>0&&n.sort((function(e,t){return e.localeCompare(t)*r}))}C(n)}}}),[E]),(0,o.useEffect)((function(){p||i===w||x(i),p&&i.length!==w.length&&x(i)}),[i,p]);var R=a.backgroundColor,I=a.backgroundColorHover,P=a.fontSize,Z=a.fontWeight,_=a.letterSpacing,F=a.textColor,B=a.fontFamily,z=a.borderRadius,H=a.paddingTop,U=a.paddingBottom,W=a.paddingLeft,V=a.paddingRight,q=a.marginTop,G=a.marginBottom,K=a.borderStyle,Y=a.borderWidth,X=a.borderColor,J=a.boxShadow,Q=a.borderColorHover,ee=a.borderStyleHover,te=a.borderWidthHover,ne=a.caretColor,re=a.placeholderColor,oe=uy(),ie=(0,o.useRef)(),ae=ky(vy(),2),se=ae[0],le=ae[1],ce=Vg(ie.current);return s(Tg.Z,{error:c,fullWidth:!0,ref:py(se,ie),children:l(Jg.Z,wy({displayEmpty:!0,multiple:p,value:w,ref:y},v,{renderValue:function(e){if(Array.isArray(e)?!e.length:!e)return s("div",{style:{fontSize:N?P:"16px",fontFamily:B,fontWeight:Z,letterSpacing:_,color:re||"#9E9E9E",textOverflow:"ellipsis",whiteSpace:"nowrap",overflow:"hidden"},children:h});return Array.isArray(e)?function(e){return e.length<=3?e.join(", "):"".concat(e.length," items selected")}(e):e},SelectDisplayProps:{sx:{zIndex:2,position:"relative"}},onChange:function(e){var t=e.target.value;if(w&&(!p||Array.isArray(w)?t===w[0]:t===w))return d(null),void x("");Array.isArray(e.target.value)&&(t=e.target.value.filter((function(e){return e.toString().trim()}))),d(t),x(t)},open:ce.isOpen,onOpen:ce.open,onClose:function(){ce.close(),$("")},fullWidth:!0,input:s(Qg.Z,wy({name:r},v)),MenuProps:{container:oe,disableScrollLock:!0,autoFocus:!1,transitionDuration:0,PaperProps:{style:{maxHeight:224,width:le.width,backgroundColor:R}}},IconComponent:function(){return s(u.Z,{component:"i",sx:{right:"12px",position:"absolute",zIndex:1,color:ne||"#9E9E9E"},children:ce.isOpen?s(iy,{}):s(Ug,{})})},sx:wy(wy({},n),{mt:q,mb:G,borderRadius:z,backgroundColor:R,fontSize:N?P:"16px",fontFamily:B,color:F,"&:hover":{backgroundColor:I},"& fieldset.MuiOutlinedInput-notchedOutline":{borderRadius:"inherit",borderStyle:K,borderWidth:Y,borderColor:X,boxShadow:J},"&.Mui-focused fieldset.MuiOutlinedInput-notchedOutline":{borderStyle:K,borderWidth:Y,borderColor:"#0A0A0A"},"&:hover fieldset.MuiOutlinedInput-notchedOutline":{borderColor:Q,borderStyle:ee,borderWidth:te},"&&.MuiOutlinedInput-root .MuiOutlinedInput-input":{fontSize:N?P:"16px",fontFamily:B,color:F,pt:H,pb:U,pl:W||"12px",pr:V},"&.MuiOutlinedInput-root":{cursor:"pointer"}}),children:[(null==S?void 0:S.length)>7&&s(ey.Z,{sx:{backgroundColor:R,lineHeight:"normal",pb:1,paddingTop:"7.7px"},children:s(Ov,{size:"small",autoFocus:!0,placeholder:"Search",fullWidth:!0,inputProps:{size:10},InputProps:{startAdornment:s(cy,{})},styles:{fontSize:N?P:"16px",fontWeight:Z,fontFamily:B,textColor:F,paddingLeft:"8px",paddingRight:"8px",paddingBottom:"4px",paddingTop:"4px"},onChange:function(e){return $(e.target.value)},onKeyDown:function(e){"Escape"!==e.key&&e.stopPropagation()}})}),(D||[]).map((function(e){return s(ty.Z,{value:e,sx:{"&.MuiMenuItem-root":{padding:"8px 16px"}},onClick:function(){p||e!==w||(d(null),x(""))},children:s("div",{style:{textOverflow:"ellipsis",whiteSpace:"nowrap",overflow:"hidden",width:"100%",fontSize:N?P:"16px",fontFamily:B,color:F},children:e})},e)}))]}))})};Sy.defaultProps={sx:{},multiSelect:!1};const Cy=Sy,Ey=()=>{throw new Error("useMediaQuery is a client-only hook")};function Ty(e){const t=(0,o.useCallback)((t=>{const n=window.matchMedia(e);return n.addEventListener("change",t),()=>{n.removeEventListener("change",t)}}),[e]);return(0,o.useSyncExternalStore)(t,(()=>window.matchMedia(e).matches),Ey)}var Oy;!function(e){e[e.mobile=576]="mobile",e[e.tablet=770]="tablet"}(Oy||(Oy={}));var $y=function(){var e=Ty("screen and (max-width: ".concat(Oy.mobile-1,"px)")),t=Ty("screen and (min-width: ".concat(Oy.mobile,"px) and (max-width: ").concat(Oy.tablet,"px)")),n=Ty("(orientation: portrait)")?"portrait":"landscape";return{isMobile:e,isTablet:t,orientation:n,isDesktop:!e&&!t,isMobileLandscape:e&&"landscape"===n,isMobilePortrait:e&&"portrait"===n,isTabletLandscape:t&&"landscape"===n,isTabletPortrait:t&&"portrait"===n}},My=function(){return My=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},My.apply(this,arguments)},Ay=function(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 o=0;for(r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]])}return n},Dy=function(e,t){var n="function"==typeof Symbol&&e[Symbol.iterator];if(!n)return e;var r,o,i=n.call(e),a=[];try{for(;(void 0===t||t-- >0)&&!(r=i.next()).done;)a.push(r.value)}catch(s){o={error:s}}finally{try{r&&!r.done&&(n=i.return)&&n.call(i)}finally{if(o)throw o.error}}return a},Ly=function(e){var t=e.sx,n=e.name,r=e.options,i=e.value,a=e.styles,c=e.error,d=e.onChange,p=e.multiSelect,f=e.placeholder,h=e.initialValues,m=e.disableDeselect,v=void 0!==m&&m,y=Ay(e,["sx","name","options","value","styles","error","onChange","multiSelect","placeholder","initialValues","disableDeselect"]),b=(0,o.useRef)(null),w=Dy((0,o.useState)(p&&!Array.isArray(i)?[]:i),2),x=w[0],k=w[1];(0,o.useEffect)((function(){(null==i?void 0:i.length)&&k(i)}),[i]);var S=Dy((0,o.useState)(""),2),C=S[0],E=S[1],T=(0,o.useMemo)((function(){return r?r.filter((function(e){return Hr(e,C)})):[]}),[C,r]),O=(0,g.Z)(),$=(0,fy.Z)(O.breakpoints.up("lg"));(0,o.useEffect)((function(){p||i===x||k(i),p&&!(null==i?void 0:i.length)&&x.length&&k(i)}),[i,p]);var M=a.backgroundColor,A=a.backgroundColorHover,D=a.fontSize,L=a.fontWeight,N=a.letterSpacing,R=a.textColor,I=a.fontFamily,P=a.borderRadius,Z=a.paddingTop,_=a.paddingBottom,F=a.paddingLeft,j=a.paddingRight,B=a.marginTop,z=a.marginBottom,H=a.borderStyle,U=a.borderWidth,W=a.borderColor,V=a.boxShadow,q=a.borderColorHover,G=a.borderStyleHover,K=a.borderWidthHover,Y=a.caretColor,X=a.placeholderColor,J=uy();(0,o.useEffect)((function(){var e;(null==h?void 0:h.length)&&Array.isArray(i)?(null==(e=h.filter((function(e){return i.includes(null==e?void 0:e.id)})).map((function(e){return null==e?void 0:e.label})))?void 0:e.length)&&k(e):(null==h?void 0:h.length)&&i&&(null==(e=h.filter((function(e){return i===(null==e?void 0:e.id)})).map((function(e){return null==e?void 0:e.label})))?void 0:e.length)&&k(e)}),[]);var Q=$y().isMobile,ee=(0,o.useRef)(),te=Dy(vy(),2),ne=te[0],re=te[1],oe=Vg(ee.current);return s(Tg.Z,{error:c,fullWidth:!0,ref:py(ne,ee),children:l(Jg.Z,My({displayEmpty:!0,multiple:p,value:x||[],ref:b},y,{renderValue:function(e){if(Array.isArray(e)?!e.length:!e)return s("div",{style:{fontSize:$?D:"16px",fontFamily:I,fontWeight:L,letterSpacing:N,color:X||"#9E9E9E",textOverflow:"ellipsis",whiteSpace:"nowrap",overflow:"hidden"},children:f});return Array.isArray(e)?function(e){return e.length<=3?e.join(", "):"".concat(e.length," items selected")}(e):e},SelectDisplayProps:{style:{zIndex:2,position:"relative"}},onChange:function(e){var t=e.target.value;if(x&&(!p||Array.isArray(x)?t===x[0]:t===x))return d(null),void k("");d(t),k(t)},open:oe.isOpen,onOpen:oe.open,onClose:function(){oe.close(),E("")},fullWidth:!0,input:s(Qg.Z,My({name:n},y)),MenuProps:{container:J,disableScrollLock:!0,autoFocus:!1,transitionDuration:0,PaperProps:{style:{maxHeight:224,width:re.width,backgroundColor:M}}},IconComponent:function(){return s(u.Z,{component:"i",sx:{right:"12px",position:"absolute",zIndex:1,color:Y||"#9E9E9E"},children:oe.isOpen?s(iy,{}):s(Ug,{})})},sx:My(My({},t),{mt:B,mb:z,borderRadius:P,backgroundColor:M,fontSize:$?D:"16px",fontFamily:I,color:R,"&:hover":{backgroundColor:A},"& fieldset.MuiOutlinedInput-notchedOutline":{borderRadius:"inherit",borderStyle:H,borderWidth:U,borderColor:W,boxShadow:V},"&.Mui-focused fieldset.MuiOutlinedInput-notchedOutline":{borderStyle:H,borderWidth:U,borderColor:"#0A0A0A"},"&:hover fieldset.MuiOutlinedInput-notchedOutline":{borderColor:q,borderStyle:G,borderWidth:K},"&&.MuiOutlinedInput-root .MuiOutlinedInput-input":{fontSize:$?D:"16px",fontFamily:I,color:R,pt:Z,pb:_,pl:F||"12px",pr:j},"&.MuiOutlinedInput-root":{cursor:"pointer"}}),children:[(null==r?void 0:r.length)>7&&s(ey.Z,{sx:{backgroundColor:M,lineHeight:"normal",pb:1,paddingTop:"7.7px"},children:s(Ov,{size:"small",autoFocus:!Q,placeholder:"Search",fullWidth:!0,inputProps:{size:10},InputProps:{startAdornment:s(cy,{})},styles:{fontSize:$?D:"16px",fontWeight:L,fontFamily:I,textColor:R,paddingLeft:"8px",paddingRight:"8px",paddingBottom:"4px",paddingTop:"4px"},onChange:function(e){return E(e.target.value)},onKeyDown:function(e){"Escape"!==e.key&&e.stopPropagation()}})}),(T||[]).map((function(e){return s(ty.Z,{value:e,sx:{"&.MuiMenuItem-root":{padding:"8px 16px"}},onClick:function(){v||p||e!==x||(d(null),k(""))},children:s("div",{style:{textOverflow:"ellipsis",whiteSpace:"nowrap",overflow:"hidden",width:"100%",fontSize:$?D:"16px",fontFamily:I,color:R},children:e})},e)}))]}))})};Ly.defaultProps={sx:{},multiSelect:!1};const Ny=Ly;var Ry=function(){return Ry=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},Ry.apply(this,arguments)},Iy=function(e,t){var n="function"==typeof Symbol&&e[Symbol.iterator];if(!n)return e;var r,o,i=n.call(e),a=[];try{for(;(void 0===t||t-- >0)&&!(r=i.next()).done;)a.push(r.value)}catch(s){o={error:s}}finally{try{r&&!r.done&&(n=i.return)&&n.call(i)}finally{if(o)throw o.error}}return a},Py=function(e,t,n){if(n||2===arguments.length)for(var r,o=0,i=t.length;o<i;o++)!r&&o in t||(r||(r=Array.prototype.slice.call(t,0,o)),r[o]=t[o]);return e.concat(r||Array.prototype.slice.call(t))},Zy=function(e){return e.trim().replace(/\s/g,"_").replace(/[^\p{L}\p{N}._-]/gu,"").normalize("NFD").replace(/[\u0300-\u036fß]/g,"")},_y=function(e){void 0===e&&(e=[]);var t=Iy((0,o.useState)((function(){return e&&Array.isArray(e)?e.map((function(e){var t=e.id,n=e.filename;return{id:t,key:t||n,url:e.url,name:n}})):[]})),2),n=t[0],r=t[1],i=st().showError;(0,o.useEffect)((function(){(null==e?void 0:e.length)&&Array.isArray(e)&&!n.length&&r(null==e?void 0:e.map((function(e){var t=e.id,n=e.filename;return{id:t,key:t||n,url:e.url,name:n}})))}),[e]);var a=Iy((0,o.useState)([]),2),s=a[0],l=a[1],c=(0,o.useMemo)((function(){var e=document.body.querySelector("[data-appid]");return e?e.getAttribute("data-appid"):""}),[]),u=(0,o.useCallback)((function(e,t,n){var o=function(e){r((function(t){return t.map((function(t){return t.key===n?Ry(Ry({},t),e):t}))}))};pt().post(e,t,{headers:{"Content-Type":"multipart/form-data"}}).then((function(e){o({url:e.data,error:!1,loading:!1})})).catch((function(e){o({error:!0,url:"",loading:!1}),i({message:e.response.data.message})}))}),[]);(0,o.useEffect)((function(){s.forEach((function(e){var t=new FormData;t.append("file",e);var n,o=zr();r((function(t){return Py(Py([],Iy(t),!1),[{key:o,name:Zy(e.name),url:"",loading:!0,error:!1}],!1)})),u("".concat(function(e){var t;return t=window.location.href.startsWith("file:///")||window.location.href.startsWith("http://localhost:")?"http://localhost:8082":"https://"+window.location.hostname,"".concat(t,"/v1/applications/").concat(e,"/upload?file_name")}(c),"=").concat((n=e.name,Zy("".concat(n,"_").concat(zr())))),t,o)}))}),[u,s,c]);return{setFiles:function(e){var t=e.target.files;l(Array.from(t)),e.target.value=""},dropFiles:function(e){var t,n=null===(t=e.dataTransfer)||void 0===t?void 0:t.files;l(Array.from(n))},removeFile:function(e){r((function(t){return t.filter((function(t){return t.key!==e}))}))},resetFileList:function(){l([]),r([])},files:n}},Fy=new Map;Fy.set("bold",(function(e){return i().createElement(i().Fragment,null,i().createElement("line",{x1:"216",y1:"60",x2:"40",y2:"60",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"24"}),i().createElement("line",{x1:"104",y1:"104",x2:"104",y2:"168",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"24"}),i().createElement("line",{x1:"152",y1:"104",x2:"152",y2:"168",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"24"}),i().createElement("path",{d:"M200,60V208a8,8,0,0,1-8,8H64a8,8,0,0,1-8-8V60",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"24"}),i().createElement("path",{d:"M168,60V36a16,16,0,0,0-16-16H104A16,16,0,0,0,88,36V60",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"24"}))})),Fy.set("duotone",(function(e){return i().createElement(i().Fragment,null,i().createElement("path",{d:"M200,56V208a8,8,0,0,1-8,8H64a8,8,0,0,1-8-8V56Z",opacity:"0.2"}),i().createElement("line",{x1:"216",y1:"56",x2:"40",y2:"56",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"16"}),i().createElement("line",{x1:"104",y1:"104",x2:"104",y2:"168",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"16"}),i().createElement("line",{x1:"152",y1:"104",x2:"152",y2:"168",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"16"}),i().createElement("path",{d:"M200,56V208a8,8,0,0,1-8,8H64a8,8,0,0,1-8-8V56",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"16"}),i().createElement("path",{d:"M168,56V40a16,16,0,0,0-16-16H104A16,16,0,0,0,88,40V56",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"16"}))})),Fy.set("fill",(function(){return i().createElement(i().Fragment,null,i().createElement("path",{d:"M216,48H176V40a24.1,24.1,0,0,0-24-24H104A24.1,24.1,0,0,0,80,40v8H40a8,8,0,0,0,0,16h8V208a16,16,0,0,0,16,16H192a16,16,0,0,0,16-16V64h8a8,8,0,0,0,0-16ZM112,168a8,8,0,0,1-16,0V104a8,8,0,0,1,16,0Zm48,0a8,8,0,0,1-16,0V104a8,8,0,0,1,16,0Zm0-120H96V40a8,8,0,0,1,8-8h48a8,8,0,0,1,8,8Z"}))})),Fy.set("light",(function(e){return i().createElement(i().Fragment,null,i().createElement("line",{x1:"216",y1:"56",x2:"40",y2:"56",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"12"}),i().createElement("line",{x1:"104",y1:"104",x2:"104",y2:"168",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"12"}),i().createElement("line",{x1:"152",y1:"104",x2:"152",y2:"168",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"12"}),i().createElement("path",{d:"M200,56V208a8,8,0,0,1-8,8H64a8,8,0,0,1-8-8V56",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"12"}),i().createElement("path",{d:"M168,56V40a16,16,0,0,0-16-16H104A16,16,0,0,0,88,40V56",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"12"}))})),Fy.set("thin",(function(e){return i().createElement(i().Fragment,null,i().createElement("line",{x1:"216",y1:"56",x2:"40",y2:"56",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"8"}),i().createElement("line",{x1:"104",y1:"104",x2:"104",y2:"168",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"8"}),i().createElement("line",{x1:"152",y1:"104",x2:"152",y2:"168",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"8"}),i().createElement("path",{d:"M200,56V208a8,8,0,0,1-8,8H64a8,8,0,0,1-8-8V56",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"8"}),i().createElement("path",{d:"M168,56V40a16,16,0,0,0-16-16H104A16,16,0,0,0,88,40V56",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"8"}))})),Fy.set("regular",(function(e){return i().createElement(i().Fragment,null,i().createElement("line",{x1:"216",y1:"56",x2:"40",y2:"56",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"16"}),i().createElement("line",{x1:"104",y1:"104",x2:"104",y2:"168",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"16"}),i().createElement("line",{x1:"152",y1:"104",x2:"152",y2:"168",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"16"}),i().createElement("path",{d:"M200,56V208a8,8,0,0,1-8,8H64a8,8,0,0,1-8-8V56",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"16"}),i().createElement("path",{d:"M168,56V40a16,16,0,0,0-16-16H104A16,16,0,0,0,88,40V56",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"16"}))}));var jy=function(e,t){return jv(e,t,Fy)},By=(0,o.forwardRef)((function(e,t){return i().createElement(Hv,Object.assign({ref:t},e,{renderPath:jy}))}));By.displayName="Trash";const zy=By;var Hy=function(){return Hy=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},Hy.apply(this,arguments)},Uy=function(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 o=0;for(r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]])}return n},Wy=function(e,t){var n="function"==typeof Symbol&&e[Symbol.iterator];if(!n)return e;var r,o,i=n.call(e),a=[];try{for(;(void 0===t||t-- >0)&&!(r=i.next()).done;)a.push(r.value)}catch(s){o={error:s}}finally{try{r&&!r.done&&(n=i.return)&&n.call(i)}finally{if(o)throw o.error}}return a};const Vy=function(e){var t=e.name,n=e.error,r=e.styles,i=e.value,c=e.onChange,d=e.onLoading,f=e.placeholder,h=Uy(e,["name","error","styles","value","onChange","onLoading","placeholder"]),m=r.fontSize,v=r.textColor,y=r.fontFamily,b=r.borderStyleHover,x=r.borderWidthHover,k=r.borderColorHover,S=r.backgroundColorHover,C=_y(i),E=C.files,T=C.setFiles,O=C.dropFiles,$=C.removeFile,M=C.resetFileList,A=(0,g.Z)(),D=Wy((0,o.useState)(!1),2),L=D[0],N=D[1];return(0,o.useEffect)((function(){(null==E?void 0:E.length)||M()}),[null==E?void 0:E.length]),(0,o.useEffect)((function(){var e=[];E.length&&(e=E.filter((function(e){return!e.error})).map((function(e){return{id:e.id,key:e.key,url:e.url,name:e.name}})),d&&d(E.some((function(e){return e.loading})))),c(e)}),[E]),(0,o.useEffect)((function(){!L&&(null==i?void 0:i.length)&&N(!0),L&&!(null==i?void 0:i.length)&&(null==E?void 0:E.length)&&(M(),N(!1))}),[i]),l("div",{className:"file-holder",onDrop:O,children:[l(u.Z,{className:p()({invalid:n}),sx:Hy({display:"flex",justifyContent:"center",alignItems:"center",position:"relative","&:hover":{borderStyle:b,borderWidth:x,borderColor:k,backgroundColor:S},"> input":{position:"absolute",top:0,left:0,width:"100%",height:" 100%",cursor:"pointer",opacity:0,zIndex:10},"> p":{margin:0,width:"100%",textAlign:"center",padding:"12px 23px",fontWeight:400,fontSize:"12px",lineHeight:"18px",color:"#9E9E9E"},"> p > span:nth-of-type(2)":{color:"#EAB10B"}},r),children:[s("input",Hy({},h,{multiple:!0,name:t,type:"file",onChange:T,onDrop:function(e){e.preventDefault()}})),s("p",{style:{fontSize:m,color:v,fontFamily:y||A.typography.fontFamily},children:f||l(a,{children:[s("span",{children:"Drag files here to upload or"})," ",s("span",{children:"Browse"})]})})]}),!!E.length&&s("ul",{children:E.map((function(e){return e.url&&l("li",{className:p()(e.url?"url":""),onClick:function(){e.url&&window.open(e.url,"_blank")},style:{zIndex:1},children:[s("span",{style:{wordBreak:"break-all",width:"90%"},children:e.name||e.url}),e.loading?s(w.Z,{color:"inherit",size:15,sx:{marginLeft:"10px"}}):e.error?null:s(zy,{onClick:function(t){t.stopPropagation(),$(e.key)}})]},e.key)}))})]})};var qy=n(18699),Gy=n.n(qy),Ky=(n(1553),function(e,t){var n=(0,o.useMemo)((function(){var e=document.createElement("style");return t&&e.setAttribute("data-for",t),document.head.append(e),e}),[t]);(0,o.useEffect)((function(){return function(){return n&&n.remove()}}),[n]),n.innerHTML=e,(0,o.useEffect)((function(){n.innerHTML=e}),[e,n])}),Yy=function(){return Yy=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},Yy.apply(this,arguments)},Xy=function(e,t){var n="function"==typeof Symbol&&e[Symbol.iterator];if(!n)return e;var r,o,i=n.call(e),a=[];try{for(;(void 0===t||t-- >0)&&!(r=i.next()).done;)a.push(r.value)}catch(s){o={error:s}}finally{try{r&&!r.done&&(n=i.return)&&n.call(i)}finally{if(o)throw o.error}}return a},Jy=function(e){try{return"undefined"===e?void 0:JSON.parse(null!=e?e:"")}catch(fs){return}},Qy=function(){return Qy=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},Qy.apply(this,arguments)},eb=function(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 o=0;for(r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]])}return n},tb=function(e,t){var n="function"==typeof Symbol&&e[Symbol.iterator];if(!n)return e;var r,o,i=n.call(e),a=[];try{for(;(void 0===t||t-- >0)&&!(r=i.next()).done;)a.push(r.value)}catch(s){o={error:s}}finally{try{r&&!r.done&&(n=i.return)&&n.call(i)}finally{if(o)throw o.error}}return a},nb=/Android.+Mobile|webOS|iPhone|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent);var rb=function(e){var t,n=e.name,r=e.value,i=e.styles,a=e.onChange,l=e.placeholder,c=eb(e,["name","value","styles","onChange","placeholder"]);Ky("\n .iti-mobile .iti--container {\n top: 30px;\n bottom: 30px;\n left: 30px;\n right: 30px;\n position: fixed;\n z-index: 1301;\n }\n \n .iti-mobile .iti__country-list {\n max-height: 100%;\n width: 100%;\n }\n \n .iti-mobile .iti__country {\n padding: 10px 10px;\n line-height: 1.5em;\n }\n ");var u=uy(),d=(0,o.useRef)(),p=(0,o.useRef)(),f=tb(function(e){var t=Xy((0,o.useState)((function(){return(e||Object.keys(window.localStorage)).reduce((function(e,t){var n,r=window.localStorage.getItem(t);return r?Yy(Yy({},e),((n={})[t]=Jy(r),n)):e}),{})})),2),n=t[0],r=t[1];return(0,o.useEffect)((function(){var e=function(e){var t=(null==e?void 0:e.detail)||e||{},n=t.key,o=t.newValue,i=void 0===o?null:o;r((function(e){var t;return Yy(Yy({},e),((t={})[n]=Jy(i),t))}))};return window.addEventListener("storage",e),function(){return window.removeEventListener("storage",e)}}),[e]),[n,function(e,t){var r=t instanceof Function?t(n):t;window.localStorage.setItem(e,JSON.stringify(r));var o=new CustomEvent("storage",{detail:{key:e,newValue:r}});window.dispatchEvent(o)},function(e){r((function(t){return Object.keys(t).reduce((function(n,r){var o;return r!==e?Yy(Yy({},n),((o={})[e]=t[e],o)):n}),{})})),window.localStorage.removeItem(e)}]}(["initialCountry"]),2),h=f[0].initialCountry,m=f[1],v=tb((0,o.useState)((function(){return r})),2),g=v[0],y=v[1],b=tb((0,o.useState)((function(){return h})),2),w=b[0],x=b[1];return(0,o.useEffect)((function(){r&&y(r)}),[r]),(0,o.useEffect)((function(){var e,t,n;(null===(e=null==p?void 0:p.current)||void 0===e?void 0:e.defaultCountry)&&(x(null===(t=null==p?void 0:p.current)||void 0===t?void 0:t.defaultCountry),m("initialCountry",null===(n=null==p?void 0:p.current)||void 0===n?void 0:n.defaultCountry))}),[null===(t=null==p?void 0:p.current)||void 0===t?void 0:t.defaultCountry]),(0,o.useEffect)((function(){d.current&&(p.current=Gy()(d.current,{customPlaceholder:function(){return l},initialCountry:"auto",dropdownContainer:nb?u:void 0,geoIpLookup:function(e){var t,n,o;if(!r&&!w){var i=(t=window.location.protocol,n=window.location.hostname,((o=window.location.port)?"".concat(t,"//").concat(n,":").concat(o):"".concat(t,"//").concat(n))+"/v1/integrations/geolocation/country-code");pt().get(i).then((function(t){var n;m("initialCountry",t.data),e(t.data),null===(n=p.current)||void 0===n||n.setCountry(t.data),x(t.data)})).catch((function(){var t;e("US"),null===(t=p.current)||void 0===t||t.setCountry("US")}))}}}))}),[]),(0,o.useEffect)((function(){var e;(null===(e=p.current)||void 0===e?void 0:e.telInput)&&(p.current.telInput.placeholder=l)}),[l]),(0,o.useEffect)((function(){p.current&&w&&!r&&p.current.setCountry(w)}),[w]),(0,o.useEffect)((function(){var e;p.current&&a(null===(e=p.current)||void 0===e?void 0:e.getNumber())}),[g,p.current]),s(Ov,Qy({},c,{label:"",name:n,fullWidth:!0,value:g,styles:i,onChange:function(e){e.target.value&&!new RegExp(/^\+?[\-\s\(\)\.0-9]*$/g).test(e.target.value)||y(e.target.value)},sx:{".iti__country-list":{position:"fixed",top:"33px",width:"100%"},"> div > .iti":{paddingTop:null==i?void 0:i.paddingTop,paddingBottom:null==i?void 0:i.paddingBottom,width:1},".iti--allow-dropdown":{transform:"translate3d(0,0,0)",zIndex:100},"> div > .iti.iti--allow-dropdown input":{padding:"0 6px 0 52px !important",lineHeight:(null==i?void 0:i.fontSize)||"16px"},".MuiInputBase-input":{width:"maxContent",paddingLeft:"57px"}},inputRef:d}))};rb.defaultProps={name:"",value:"",placeholder:""};const ob=rb;var ib=new Map;ib.set("bold",(function(e){return i().createElement(i().Fragment,null,i().createElement("path",{d:"M132.4,190.7l50.4,32c6.5,4.1,14.5-2,12.6-9.5l-14.6-57.4a8.7,8.7,0,0,1,2.9-8.8l45.2-37.7c5.9-4.9,2.9-14.8-4.8-15.3l-59-3.8a8.3,8.3,0,0,1-7.3-5.4l-22-55.4a8.3,8.3,0,0,0-15.6,0l-22,55.4a8.3,8.3,0,0,1-7.3,5.4L31.9,94c-7.7.5-10.7,10.4-4.8,15.3L72.3,147a8.7,8.7,0,0,1,2.9,8.8L61.7,209c-2.3,9,7.3,16.3,15,11.4l46.9-29.7A8.2,8.2,0,0,1,132.4,190.7Z",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"24"}))})),ib.set("duotone",(function(e){return i().createElement(i().Fragment,null,i().createElement("path",{d:"M132.4,190.7l50.4,32c6.5,4.1,14.5-2,12.6-9.5l-14.6-57.4a8.7,8.7,0,0,1,2.9-8.8l45.2-37.7c5.9-4.9,2.9-14.8-4.8-15.3l-59-3.8a8.3,8.3,0,0,1-7.3-5.4l-22-55.4a8.3,8.3,0,0,0-15.6,0l-22,55.4a8.3,8.3,0,0,1-7.3,5.4L31.9,94c-7.7.5-10.7,10.4-4.8,15.3L72.3,147a8.7,8.7,0,0,1,2.9,8.8L61.7,209c-2.3,9,7.3,16.3,15,11.4l46.9-29.7A8.2,8.2,0,0,1,132.4,190.7Z",opacity:"0.2"}),i().createElement("path",{d:"M132.4,190.7l50.4,32c6.5,4.1,14.5-2,12.6-9.5l-14.6-57.4a8.7,8.7,0,0,1,2.9-8.8l45.2-37.7c5.9-4.9,2.9-14.8-4.8-15.3l-59-3.8a8.3,8.3,0,0,1-7.3-5.4l-22-55.4a8.3,8.3,0,0,0-15.6,0l-22,55.4a8.3,8.3,0,0,1-7.3,5.4L31.9,94c-7.7.5-10.7,10.4-4.8,15.3L72.3,147a8.7,8.7,0,0,1,2.9,8.8L61.7,209c-2.3,9,7.3,16.3,15,11.4l46.9-29.7A8.2,8.2,0,0,1,132.4,190.7Z",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"16"}))})),ib.set("fill",(function(){return i().createElement(i().Fragment,null,i().createElement("path",{d:"M239.2,97.4A16.4,16.4,0,0,0,224.6,86l-59.4-4.1-22-55.5A16.4,16.4,0,0,0,128,16h0a16.4,16.4,0,0,0-15.2,10.4L90.4,82.2,31.4,86A16.5,16.5,0,0,0,16.8,97.4,16.8,16.8,0,0,0,22,115.5l45.4,38.4L53.9,207a18.5,18.5,0,0,0,7,19.6,18,18,0,0,0,20.1.6l46.9-29.7h.2l50.5,31.9a16.1,16.1,0,0,0,8.7,2.6,16.5,16.5,0,0,0,15.8-20.8l-14.3-58.1L234,115.5A16.8,16.8,0,0,0,239.2,97.4Z"}))})),ib.set("light",(function(e){return i().createElement(i().Fragment,null,i().createElement("path",{d:"M132.4,190.7l50.4,32c6.5,4.1,14.5-2,12.6-9.5l-14.6-57.4a8.7,8.7,0,0,1,2.9-8.8l45.2-37.7c5.9-4.9,2.9-14.8-4.8-15.3l-59-3.8a8.3,8.3,0,0,1-7.3-5.4l-22-55.4a8.3,8.3,0,0,0-15.6,0l-22,55.4a8.3,8.3,0,0,1-7.3,5.4L31.9,94c-7.7.5-10.7,10.4-4.8,15.3L72.3,147a8.7,8.7,0,0,1,2.9,8.8L61.7,209c-2.3,9,7.3,16.3,15,11.4l46.9-29.7A8.2,8.2,0,0,1,132.4,190.7Z",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"12"}))})),ib.set("thin",(function(e){return i().createElement(i().Fragment,null,i().createElement("path",{d:"M132.4,190.7l50.4,32c6.5,4.1,14.5-2,12.6-9.5l-14.6-57.4a8.7,8.7,0,0,1,2.9-8.8l45.2-37.7c5.9-4.9,2.9-14.8-4.8-15.3l-59-3.8a8.3,8.3,0,0,1-7.3-5.4l-22-55.4a8.3,8.3,0,0,0-15.6,0l-22,55.4a8.3,8.3,0,0,1-7.3,5.4L31.9,94c-7.7.5-10.7,10.4-4.8,15.3L72.3,147a8.7,8.7,0,0,1,2.9,8.8L61.7,209c-2.3,9,7.3,16.3,15,11.4l46.9-29.7A8.2,8.2,0,0,1,132.4,190.7Z",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"8"}))})),ib.set("regular",(function(e){return i().createElement(i().Fragment,null,i().createElement("path",{d:"M132.4,190.7l50.4,32c6.5,4.1,14.5-2,12.6-9.5l-14.6-57.4a8.7,8.7,0,0,1,2.9-8.8l45.2-37.7c5.9-4.9,2.9-14.8-4.8-15.3l-59-3.8a8.3,8.3,0,0,1-7.3-5.4l-22-55.4a8.3,8.3,0,0,0-15.6,0l-22,55.4a8.3,8.3,0,0,1-7.3,5.4L31.9,94c-7.7.5-10.7,10.4-4.8,15.3L72.3,147a8.7,8.7,0,0,1,2.9,8.8L61.7,209c-2.3,9,7.3,16.3,15,11.4l46.9-29.7A8.2,8.2,0,0,1,132.4,190.7Z",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"16"}))}));var ab=function(e,t){return jv(e,t,ib)},sb=(0,o.forwardRef)((function(e,t){return i().createElement(Hv,Object.assign({ref:t},e,{renderPath:ab}))}));sb.displayName="Star";const lb=sb;var cb=n(95126),ub=function(e,t){var n="function"==typeof Symbol&&e[Symbol.iterator];if(!n)return e;var r,o,i=n.call(e),a=[];try{for(;(void 0===t||t-- >0)&&!(r=i.next()).done;)a.push(r.value)}catch(s){o={error:s}}finally{try{r&&!r.done&&(n=i.return)&&n.call(i)}finally{if(o)throw o.error}}return a},db=function(e){var t=e.id,n=e.name,r=e.value,i=e.styles,a=e.readOnly,l=e.onChange,c=e.initialValue,d=i.fontSize,p=i.paddingTop,f=i.paddingBottom,h=i.textColor,m=void 0===h?"#FFC400":h,v=ub((0,o.useState)(c),2),g=v[0],y=v[1];return(0,o.useEffect)((function(){r!==g&&y(c)}),[r]),s(u.Z,{id:t,sx:{paddingTop:p,paddingBottom:f},children:s(cb.Z,{name:n,readOnly:a,onChange:function(e,t){y(t),l(t)},precision:1,value:g||0,icon:s(lb,{weight:"fill",className:"Star flex",size:"max(".concat(d,", 16px)"),style:{display:"flex"},color:(0,$v.$n)(m||"",.9)}),emptyIcon:s(lb,{className:"Star flex",color:m,style:{display:"flex"},size:"max(".concat(d,", 16px)")}),sx:{"& .MuiRating-icon svg":{stroke:m,strokeWidth:"13px"},"& .MuiRating-icon svg > rect":{stroke:"none"},"& .MuiRating-iconFilled:not(.MuiRating-iconHover) svg":{stroke:"none",fill:m}}})})};db.defaultProps={name:"",readOnly:!1};const pb=db;function fb(e,t,n,r){return new(n||(n=Promise))((function(o,i){function a(e){try{l(r.next(e))}catch(Yr){i(Yr)}}function s(e){try{l(r.throw(e))}catch(Yr){i(Yr)}}function l(e){var t;e.done?o(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())}))}var hb=function e(t,n){if(t===n)return!0;if(t&&n&&"object"==typeof t&&"object"==typeof n){if(t.constructor!==n.constructor)return!1;var r,o,i;if(Array.isArray(t)){if((r=t.length)!=n.length)return!1;for(o=r;0!=o--;)if(!e(t[o],n[o]))return!1;return!0}if(t.constructor===RegExp)return t.source===n.source&&t.flags===n.flags;if(t.valueOf!==Object.prototype.valueOf)return t.valueOf()===n.valueOf();if(t.toString!==Object.prototype.toString)return t.toString()===n.toString();if((r=(i=Object.keys(t)).length)!==Object.keys(n).length)return!1;for(o=r;0!=o--;)if(!Object.prototype.hasOwnProperty.call(n,i[o]))return!1;for(o=r;0!=o--;){var a=i[o];if(!e(t[a],n[a]))return!1}return!0}return t!=t&&n!=n};const mb="__googleMapsScriptId";var vb;!function(e){e[e.INITIALIZED=0]="INITIALIZED",e[e.LOADING=1]="LOADING",e[e.SUCCESS=2]="SUCCESS",e[e.FAILURE=3]="FAILURE"}(vb||(vb={}));class gb{constructor({apiKey:e,authReferrerPolicy:t,channel:n,client:r,id:o=mb,language:i,libraries:a=[],mapIds:s,nonce:l,region:c,retries:u=3,url:d="https://maps.googleapis.com/maps/api/js",version:p}){if(this.callbacks=[],this.done=!1,this.loading=!1,this.errors=[],this.apiKey=e,this.authReferrerPolicy=t,this.channel=n,this.client=r,this.id=o||mb,this.language=i,this.libraries=a,this.mapIds=s,this.nonce=l,this.region=c,this.retries=u,this.url=d,this.version=p,gb.instance){if(!hb(this.options,gb.instance.options))throw new Error(`Loader must not be called again with different options. ${JSON.stringify(this.options)} !== ${JSON.stringify(gb.instance.options)}`);return gb.instance}gb.instance=this}get options(){return{version:this.version,apiKey:this.apiKey,channel:this.channel,client:this.client,id:this.id,libraries:this.libraries,language:this.language,region:this.region,mapIds:this.mapIds,nonce:this.nonce,url:this.url,authReferrerPolicy:this.authReferrerPolicy}}get status(){return this.errors.length?vb.FAILURE:this.done?vb.SUCCESS:this.loading?vb.LOADING:vb.INITIALIZED}get failed(){return this.done&&!this.loading&&this.errors.length>=this.retries+1}createUrl(){let e=this.url;return e+="?callback=__googleMapsCallback",this.apiKey&&(e+=`&key=${this.apiKey}`),this.channel&&(e+=`&channel=${this.channel}`),this.client&&(e+=`&client=${this.client}`),this.libraries.length>0&&(e+=`&libraries=${this.libraries.join(",")}`),this.language&&(e+=`&language=${this.language}`),this.region&&(e+=`®ion=${this.region}`),this.version&&(e+=`&v=${this.version}`),this.mapIds&&(e+=`&map_ids=${this.mapIds.join(",")}`),this.authReferrerPolicy&&(e+=`&auth_referrer_policy=${this.authReferrerPolicy}`),e}deleteScript(){const e=document.getElementById(this.id);e&&e.remove()}load(){return this.loadPromise()}loadPromise(){return new Promise(((e,t)=>{this.loadCallback((n=>{n?t(n.error):e(window.google)}))}))}importLibrary(e){return this.execute(),google.maps.importLibrary(e)}loadCallback(e){this.callbacks.push(e),this.execute()}setScript(){var e,t;if(document.getElementById(this.id))return void this.callback();const n={key:this.apiKey,channel:this.channel,client:this.client,libraries:this.libraries.length&&this.libraries,v:this.version,mapIds:this.mapIds,language:this.language,region:this.region,authReferrerPolicy:this.authReferrerPolicy};Object.keys(n).forEach((e=>!n[e]&&delete n[e])),(null===(t=null===(e=null===window||void 0===window?void 0:window.google)||void 0===e?void 0:e.maps)||void 0===t?void 0:t.importLibrary)||(e=>{let t,n,r,o="The Google Maps JavaScript API",i="google",a="importLibrary",s="__ib__",l=document,c=window;c=c[i]||(c[i]={});const u=c.maps||(c.maps={}),d=new Set,p=new URLSearchParams,f=()=>t||(t=new Promise(((a,c)=>fb(this,void 0,void 0,(function*(){var f;for(r in yield n=l.createElement("script"),n.id=this.id,p.set("libraries",[...d]+""),e)p.set(r.replace(/[A-Z]/g,(e=>"_"+e[0].toLowerCase())),e[r]);p.set("callback",i+".maps."+s),n.src=this.url+"?"+p,u[s]=a,n.onerror=()=>t=c(Error(o+" could not load.")),n.nonce=this.nonce||(null===(f=l.querySelector("script[nonce]"))||void 0===f?void 0:f.nonce)||"",l.head.append(n)})))));u[a]?console.warn(o+" only loads once. Ignoring:",e):u[a]=(e,...t)=>d.add(e)&&f().then((()=>u[a](e,...t)))})(n);const r=this.libraries.map((e=>this.importLibrary(e)));r.length||r.push(this.importLibrary("core")),Promise.all(r).then((()=>this.callback()),(e=>{const t=new ErrorEvent("error",{error:e});this.loadErrorCallback(t)}))}reset(){this.deleteScript(),this.done=!1,this.loading=!1,this.errors=[],this.onerrorEvent=null}resetIfRetryingFailed(){this.failed&&this.reset()}loadErrorCallback(e){if(this.errors.push(e),this.errors.length<=this.retries){const e=this.errors.length*Math.pow(2,this.errors.length);console.error(`Failed to load Google Maps script, retrying in ${e} ms.`),setTimeout((()=>{this.deleteScript(),this.setScript()}),e)}else this.onerrorEvent=e,this.callback()}callback(){this.done=!0,this.loading=!1,this.callbacks.forEach((e=>{e(this.onerrorEvent)})),this.callbacks=[]}execute(){if(this.resetIfRetryingFailed(),this.done)this.callback();else{if(window.google&&window.google.maps&&window.google.maps.version)return console.warn("Google Maps already loaded outside @googlemaps/js-api-loader.This may result in undesirable behavior as options and script parameters may not match."),void this.callback();this.loading||(this.loading=!0,this.setScript())}}}var yb=function(){return yb=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},yb.apply(this,arguments)},bb=function(e,t){var n="function"==typeof Symbol&&e[Symbol.iterator];if(!n)return e;var r,o,i=n.call(e),a=[];try{for(;(void 0===t||t-- >0)&&!(r=i.next()).done;)a.push(r.value)}catch(s){o={error:s}}finally{try{r&&!r.done&&(n=i.return)&&n.call(i)}finally{if(o)throw o.error}}return a},wb=function(e){var t=e.error,n=e.styles,r=e.onChange,i=e.initialValue,a=bb((0,o.useState)(i),2),c=a[0],u=a[1],d=bb((0,o.useState)(!1),2),p=d[0],f=d[1],h=bb((0,o.useState)({}),2),m=h[0],v=h[1],g=bb((0,o.useState)([]),2),y=g[0],b=g[1],w=bb((0,o.useState)({id:"",secondaryText:"",mainText:i,description:i}),2),x=w[0],k=w[1],S=window.google_map_api_key;(0,o.useEffect)((function(){i||(u(i),k({id:"",secondaryText:"",mainText:i,description:i}))}),[i]),(0,o.useEffect)((function(){S&&new gb({apiKey:S,version:"weekly",libraries:["places"]}).load().then((function(e){return!!(null==e?void 0:e.maps)&&v({sessionToken:new window.google.maps.places.AutocompleteSessionToken,autocompleteService:new window.google.maps.places.AutocompleteService})}))}),[S]),(0,o.useEffect)((function(){r(c)}),[c]);var C=function(e){var t={input:e,sessionToken:m.sessionToken};e.length&&m.autocompleteService.getQueryPredictions(t,(function(e,t){return function(e,t){"OK"===t&&b(e.map((function(e){var t=e.description,n=e.structured_formatting;return{id:e.reference,description:t,mainText:n.main_text,secondaryText:n.secondary_text}})))}(e,t)}))};return S?s(Og.Z,{freeSolo:!0,fullWidth:!0,disablePortal:!0,disableClearable:!0,openOnFocus:!1,options:y,value:x,open:p,getOptionLabel:function(e){return e.description},onBlur:function(){return b([])},filterOptions:function(e){return e},onClose:function(){return f(!1)},renderOption:function(e,t){return l("div",{className:"autocomplete-option",onClick:function(){k(t),f(!1),u(t.description)},children:[s("p",{children:t.mainText}),s("p",{children:t.secondaryText})]})},renderInput:function(n){return s(Ov,yb({},n,e,{value:c,error:t,onChange:function(e){u(e.target.value),f(!0),C(e.target.value)}}))},popupIcon:null,componentsProps:{paper:{elevation:2}},sx:{"& .MuiOutlinedInput-root":{borderRadius:null==n?void 0:n.borderRadius,backgroundColor:null==n?void 0:n.backgroundColor},"& .MuiOutlinedInput-root:hover":{backgroundColor:null==n?void 0:n.backgroundColorHover},"& .MuiOutlinedInput-root:hover fieldset.MuiOutlinedInput-notchedOutline":{borderColor:null==n?void 0:n.borderColorHover,borderWidth:null==n?void 0:n.borderWidthHover},"& .MuiOutlinedInput-root .MuiOutlinedInput-notchedOutline":{borderRadius:"inherit",borderStyle:null==n?void 0:n.borderStyle,borderWidth:null==n?void 0:n.borderWidth,borderColor:null==n?void 0:n.borderColor,boxShadow:null==n?void 0:n.boxShadow},"& .MuiOutlinedInput-root .MuiOutlinedInput-input":{fontSize:null==n?void 0:n.fontSize,fontFamily:null==n?void 0:n.fontFamily,color:null==n?void 0:n.textColor,pt:null==n?void 0:n.paddingTop,pb:null==n?void 0:n.paddingBottom}}}):s(Ov,yb({},e,{fullWidth:!0,error:t,value:c,onChange:function(e){u(e.target.value)}}))};wb.defaultProps={initialValue:""};const xb=wb;function kb(e){this.content=e}kb.prototype={constructor:kb,find:function(e){for(var t=0;t<this.content.length;t+=2)if(this.content[t]===e)return t;return-1},get:function(e){var t=this.find(e);return-1==t?void 0:this.content[t+1]},update:function(e,t,n){var r=n&&n!=e?this.remove(n):this,o=r.find(e),i=r.content.slice();return-1==o?i.push(n||e,t):(i[o+1]=t,n&&(i[o]=n)),new kb(i)},remove:function(e){var t=this.find(e);if(-1==t)return this;var n=this.content.slice();return n.splice(t,2),new kb(n)},addToStart:function(e,t){return new kb([e,t].concat(this.remove(e).content))},addToEnd:function(e,t){var n=this.remove(e).content.slice();return n.push(e,t),new kb(n)},addBefore:function(e,t,n){var r=this.remove(t),o=r.content.slice(),i=r.find(e);return o.splice(-1==i?o.length:i,0,t,n),new kb(o)},forEach:function(e){for(var t=0;t<this.content.length;t+=2)e(this.content[t],this.content[t+1])},prepend:function(e){return(e=kb.from(e)).size?new kb(e.content.concat(this.subtract(e).content)):this},append:function(e){return(e=kb.from(e)).size?new kb(this.subtract(e).content.concat(e.content)):this},subtract:function(e){var t=this;e=kb.from(e);for(var n=0;n<e.content.length;n+=2)t=t.remove(e.content[n]);return t},toObject:function(){var e={};return this.forEach((function(t,n){e[t]=n})),e},get size(){return this.content.length>>1}},kb.from=function(e){if(e instanceof kb)return e;var t=[];if(e)for(var n in e)t.push(n,e[n]);return new kb(t)};const Sb=kb;function Cb(e,t,n){for(let r=0;;r++){if(r==e.childCount||r==t.childCount)return e.childCount==t.childCount?null:n;let o=e.child(r),i=t.child(r);if(o!=i){if(!o.sameMarkup(i))return n;if(o.isText&&o.text!=i.text){for(let e=0;o.text[e]==i.text[e];e++)n++;return n}if(o.content.size||i.content.size){let e=Cb(o.content,i.content,n+1);if(null!=e)return e}n+=o.nodeSize}else n+=o.nodeSize}}function Eb(e,t,n,r){for(let o=e.childCount,i=t.childCount;;){if(0==o||0==i)return o==i?null:{a:n,b:r};let a=e.child(--o),s=t.child(--i),l=a.nodeSize;if(a!=s){if(!a.sameMarkup(s))return{a:n,b:r};if(a.isText&&a.text!=s.text){let e=0,t=Math.min(a.text.length,s.text.length);for(;e<t&&a.text[a.text.length-e-1]==s.text[s.text.length-e-1];)e++,n--,r--;return{a:n,b:r}}if(a.content.size||s.content.size){let e=Eb(a.content,s.content,n-1,r-1);if(e)return e}n-=l,r-=l}else n-=l,r-=l}}class Tb{constructor(e,t){if(this.content=e,this.size=t||0,null==t)for(let n=0;n<e.length;n++)this.size+=e[n].nodeSize}nodesBetween(e,t,n,r=0,o){for(let i=0,a=0;a<t;i++){let s=this.content[i],l=a+s.nodeSize;if(l>e&&!1!==n(s,r+a,o||null,i)&&s.content.size){let o=a+1;s.nodesBetween(Math.max(0,e-o),Math.min(s.content.size,t-o),n,r+o)}a=l}}descendants(e){this.nodesBetween(0,this.size,e)}textBetween(e,t,n,r){let o="",i=!0;return this.nodesBetween(e,t,((a,s)=>{let l=a.isText?a.text.slice(Math.max(e,s)-s,t-s):a.isLeaf?r?"function"==typeof r?r(a):r:a.type.spec.leafText?a.type.spec.leafText(a):"":"";a.isBlock&&(a.isLeaf&&l||a.isTextblock)&&n&&(i?i=!1:o+=n),o+=l}),0),o}append(e){if(!e.size)return this;if(!this.size)return e;let t=this.lastChild,n=e.firstChild,r=this.content.slice(),o=0;for(t.isText&&t.sameMarkup(n)&&(r[r.length-1]=t.withText(t.text+n.text),o=1);o<e.content.length;o++)r.push(e.content[o]);return new Tb(r,this.size+e.size)}cut(e,t=this.size){if(0==e&&t==this.size)return this;let n=[],r=0;if(t>e)for(let o=0,i=0;i<t;o++){let a=this.content[o],s=i+a.nodeSize;s>e&&((i<e||s>t)&&(a=a.isText?a.cut(Math.max(0,e-i),Math.min(a.text.length,t-i)):a.cut(Math.max(0,e-i-1),Math.min(a.content.size,t-i-1))),n.push(a),r+=a.nodeSize),i=s}return new Tb(n,r)}cutByIndex(e,t){return e==t?Tb.empty:0==e&&t==this.content.length?this:new Tb(this.content.slice(e,t))}replaceChild(e,t){let n=this.content[e];if(n==t)return this;let r=this.content.slice(),o=this.size+t.nodeSize-n.nodeSize;return r[e]=t,new Tb(r,o)}addToStart(e){return new Tb([e].concat(this.content),this.size+e.nodeSize)}addToEnd(e){return new Tb(this.content.concat(e),this.size+e.nodeSize)}eq(e){if(this.content.length!=e.content.length)return!1;for(let t=0;t<this.content.length;t++)if(!this.content[t].eq(e.content[t]))return!1;return!0}get firstChild(){return this.content.length?this.content[0]:null}get lastChild(){return this.content.length?this.content[this.content.length-1]:null}get childCount(){return this.content.length}child(e){let t=this.content[e];if(!t)throw new RangeError("Index "+e+" out of range for "+this);return t}maybeChild(e){return this.content[e]||null}forEach(e){for(let t=0,n=0;t<this.content.length;t++){let r=this.content[t];e(r,n,t),n+=r.nodeSize}}findDiffStart(e,t=0){return Cb(this,e,t)}findDiffEnd(e,t=this.size,n=e.size){return Eb(this,e,t,n)}findIndex(e,t=-1){if(0==e)return $b(0,e);if(e==this.size)return $b(this.content.length,e);if(e>this.size||e<0)throw new RangeError(`Position ${e} outside of fragment (${this})`);for(let n=0,r=0;;n++){let o=r+this.child(n).nodeSize;if(o>=e)return o==e||t>0?$b(n+1,o):$b(n,r);r=o}}toString(){return"<"+this.toStringInner()+">"}toStringInner(){return this.content.join(", ")}toJSON(){return this.content.length?this.content.map((e=>e.toJSON())):null}static fromJSON(e,t){if(!t)return Tb.empty;if(!Array.isArray(t))throw new RangeError("Invalid input for Fragment.fromJSON");return new Tb(t.map(e.nodeFromJSON))}static fromArray(e){if(!e.length)return Tb.empty;let t,n=0;for(let r=0;r<e.length;r++){let o=e[r];n+=o.nodeSize,r&&o.isText&&e[r-1].sameMarkup(o)?(t||(t=e.slice(0,r)),t[t.length-1]=o.withText(t[t.length-1].text+o.text)):t&&t.push(o)}return new Tb(t||e,n)}static from(e){if(!e)return Tb.empty;if(e instanceof Tb)return e;if(Array.isArray(e))return this.fromArray(e);if(e.attrs)return new Tb([e],e.nodeSize);throw new RangeError("Can not convert "+e+" to a Fragment"+(e.nodesBetween?" (looks like multiple versions of prosemirror-model were loaded)":""))}}Tb.empty=new Tb([],0);const Ob={index:0,offset:0};function $b(e,t){return Ob.index=e,Ob.offset=t,Ob}function Mb(e,t){if(e===t)return!0;if(!e||"object"!=typeof e||!t||"object"!=typeof t)return!1;let n=Array.isArray(e);if(Array.isArray(t)!=n)return!1;if(n){if(e.length!=t.length)return!1;for(let n=0;n<e.length;n++)if(!Mb(e[n],t[n]))return!1}else{for(let n in e)if(!(n in t)||!Mb(e[n],t[n]))return!1;for(let n in t)if(!(n in e))return!1}return!0}class Ab{constructor(e,t){this.type=e,this.attrs=t}addToSet(e){let t,n=!1;for(let r=0;r<e.length;r++){let o=e[r];if(this.eq(o))return e;if(this.type.excludes(o.type))t||(t=e.slice(0,r));else{if(o.type.excludes(this.type))return e;!n&&o.type.rank>this.type.rank&&(t||(t=e.slice(0,r)),t.push(this),n=!0),t&&t.push(o)}}return t||(t=e.slice()),n||t.push(this),t}removeFromSet(e){for(let t=0;t<e.length;t++)if(this.eq(e[t]))return e.slice(0,t).concat(e.slice(t+1));return e}isInSet(e){for(let t=0;t<e.length;t++)if(this.eq(e[t]))return!0;return!1}eq(e){return this==e||this.type==e.type&&Mb(this.attrs,e.attrs)}toJSON(){let e={type:this.type.name};for(let t in this.attrs){e.attrs=this.attrs;break}return e}static fromJSON(e,t){if(!t)throw new RangeError("Invalid input for Mark.fromJSON");let n=e.marks[t.type];if(!n)throw new RangeError(`There is no mark type ${t.type} in this schema`);return n.create(t.attrs)}static sameSet(e,t){if(e==t)return!0;if(e.length!=t.length)return!1;for(let n=0;n<e.length;n++)if(!e[n].eq(t[n]))return!1;return!0}static setFrom(e){if(!e||Array.isArray(e)&&0==e.length)return Ab.none;if(e instanceof Ab)return[e];let t=e.slice();return t.sort(((e,t)=>e.type.rank-t.type.rank)),t}}Ab.none=[];class Db extends Error{}class Lb{constructor(e,t,n){this.content=e,this.openStart=t,this.openEnd=n}get size(){return this.content.size-this.openStart-this.openEnd}insertAt(e,t){let n=Rb(this.content,e+this.openStart,t);return n&&new Lb(n,this.openStart,this.openEnd)}removeBetween(e,t){return new Lb(Nb(this.content,e+this.openStart,t+this.openStart),this.openStart,this.openEnd)}eq(e){return this.content.eq(e.content)&&this.openStart==e.openStart&&this.openEnd==e.openEnd}toString(){return this.content+"("+this.openStart+","+this.openEnd+")"}toJSON(){if(!this.content.size)return null;let e={content:this.content.toJSON()};return this.openStart>0&&(e.openStart=this.openStart),this.openEnd>0&&(e.openEnd=this.openEnd),e}static fromJSON(e,t){if(!t)return Lb.empty;let n=t.openStart||0,r=t.openEnd||0;if("number"!=typeof n||"number"!=typeof r)throw new RangeError("Invalid input for Slice.fromJSON");return new Lb(Tb.fromJSON(e,t.content),n,r)}static maxOpen(e,t=!0){let n=0,r=0;for(let o=e.firstChild;o&&!o.isLeaf&&(t||!o.type.spec.isolating);o=o.firstChild)n++;for(let o=e.lastChild;o&&!o.isLeaf&&(t||!o.type.spec.isolating);o=o.lastChild)r++;return new Lb(e,n,r)}}function Nb(e,t,n){let{index:r,offset:o}=e.findIndex(t),i=e.maybeChild(r),{index:a,offset:s}=e.findIndex(n);if(o==t||i.isText){if(s!=n&&!e.child(a).isText)throw new RangeError("Removing non-flat range");return e.cut(0,t).append(e.cut(n))}if(r!=a)throw new RangeError("Removing non-flat range");return e.replaceChild(r,i.copy(Nb(i.content,t-o-1,n-o-1)))}function Rb(e,t,n,r){let{index:o,offset:i}=e.findIndex(t),a=e.maybeChild(o);if(i==t||a.isText)return r&&!r.canReplace(o,o,n)?null:e.cut(0,t).append(n).append(e.cut(t));let s=Rb(a.content,t-i-1,n);return s&&e.replaceChild(o,a.copy(s))}function Ib(e,t,n){if(n.openStart>e.depth)throw new Db("Inserted content deeper than insertion position");if(e.depth-n.openStart!=t.depth-n.openEnd)throw new Db("Inconsistent open depths");return Pb(e,t,n,0)}function Pb(e,t,n,r){let o=e.index(r),i=e.node(r);if(o==t.index(r)&&r<e.depth-n.openStart){let a=Pb(e,t,n,r+1);return i.copy(i.content.replaceChild(o,a))}if(n.content.size){if(n.openStart||n.openEnd||e.depth!=r||t.depth!=r){let{start:o,end:a}=function(e,t){let n=t.depth-e.openStart,r=t.node(n).copy(e.content);for(let o=n-1;o>=0;o--)r=t.node(o).copy(Tb.from(r));return{start:r.resolveNoCache(e.openStart+n),end:r.resolveNoCache(r.content.size-e.openEnd-n)}}(n,e);return Bb(i,zb(e,o,a,t,r))}{let r=e.parent,o=r.content;return Bb(r,o.cut(0,e.parentOffset).append(n.content).append(o.cut(t.parentOffset)))}}return Bb(i,Hb(e,t,r))}function Zb(e,t){if(!t.type.compatibleContent(e.type))throw new Db("Cannot join "+t.type.name+" onto "+e.type.name)}function _b(e,t,n){let r=e.node(n);return Zb(r,t.node(n)),r}function Fb(e,t){let n=t.length-1;n>=0&&e.isText&&e.sameMarkup(t[n])?t[n]=e.withText(t[n].text+e.text):t.push(e)}function jb(e,t,n,r){let o=(t||e).node(n),i=0,a=t?t.index(n):o.childCount;e&&(i=e.index(n),e.depth>n?i++:e.textOffset&&(Fb(e.nodeAfter,r),i++));for(let s=i;s<a;s++)Fb(o.child(s),r);t&&t.depth==n&&t.textOffset&&Fb(t.nodeBefore,r)}function Bb(e,t){return e.type.checkContent(t),e.copy(t)}function zb(e,t,n,r,o){let i=e.depth>o&&_b(e,t,o+1),a=r.depth>o&&_b(n,r,o+1),s=[];return jb(null,e,o,s),i&&a&&t.index(o)==n.index(o)?(Zb(i,a),Fb(Bb(i,zb(e,t,n,r,o+1)),s)):(i&&Fb(Bb(i,Hb(e,t,o+1)),s),jb(t,n,o,s),a&&Fb(Bb(a,Hb(n,r,o+1)),s)),jb(r,null,o,s),new Tb(s)}function Hb(e,t,n){let r=[];if(jb(null,e,n,r),e.depth>n){Fb(Bb(_b(e,t,n+1),Hb(e,t,n+1)),r)}return jb(t,null,n,r),new Tb(r)}Lb.empty=new Lb(Tb.empty,0,0);class Ub{constructor(e,t,n){this.pos=e,this.path=t,this.parentOffset=n,this.depth=t.length/3-1}resolveDepth(e){return null==e?this.depth:e<0?this.depth+e:e}get parent(){return this.node(this.depth)}get doc(){return this.node(0)}node(e){return this.path[3*this.resolveDepth(e)]}index(e){return this.path[3*this.resolveDepth(e)+1]}indexAfter(e){return e=this.resolveDepth(e),this.index(e)+(e!=this.depth||this.textOffset?1:0)}start(e){return 0==(e=this.resolveDepth(e))?0:this.path[3*e-1]+1}end(e){return e=this.resolveDepth(e),this.start(e)+this.node(e).content.size}before(e){if(!(e=this.resolveDepth(e)))throw new RangeError("There is no position before the top-level node");return e==this.depth+1?this.pos:this.path[3*e-1]}after(e){if(!(e=this.resolveDepth(e)))throw new RangeError("There is no position after the top-level node");return e==this.depth+1?this.pos:this.path[3*e-1]+this.path[3*e].nodeSize}get textOffset(){return this.pos-this.path[this.path.length-1]}get nodeAfter(){let e=this.parent,t=this.index(this.depth);if(t==e.childCount)return null;let n=this.pos-this.path[this.path.length-1],r=e.child(t);return n?e.child(t).cut(n):r}get nodeBefore(){let e=this.index(this.depth),t=this.pos-this.path[this.path.length-1];return t?this.parent.child(e).cut(0,t):0==e?null:this.parent.child(e-1)}posAtIndex(e,t){t=this.resolveDepth(t);let n=this.path[3*t],r=0==t?0:this.path[3*t-1]+1;for(let o=0;o<e;o++)r+=n.child(o).nodeSize;return r}marks(){let e=this.parent,t=this.index();if(0==e.content.size)return Ab.none;if(this.textOffset)return e.child(t).marks;let n=e.maybeChild(t-1),r=e.maybeChild(t);if(!n){let e=n;n=r,r=e}let o=n.marks;for(var i=0;i<o.length;i++)!1!==o[i].type.spec.inclusive||r&&o[i].isInSet(r.marks)||(o=o[i--].removeFromSet(o));return o}marksAcross(e){let t=this.parent.maybeChild(this.index());if(!t||!t.isInline)return null;let n=t.marks,r=e.parent.maybeChild(e.index());for(var o=0;o<n.length;o++)!1!==n[o].type.spec.inclusive||r&&n[o].isInSet(r.marks)||(n=n[o--].removeFromSet(n));return n}sharedDepth(e){for(let t=this.depth;t>0;t--)if(this.start(t)<=e&&this.end(t)>=e)return t;return 0}blockRange(e=this,t){if(e.pos<this.pos)return e.blockRange(this);for(let n=this.depth-(this.parent.inlineContent||this.pos==e.pos?1:0);n>=0;n--)if(e.pos<=this.end(n)&&(!t||t(this.node(n))))return new Gb(this,e,n);return null}sameParent(e){return this.pos-this.parentOffset==e.pos-e.parentOffset}max(e){return e.pos>this.pos?e:this}min(e){return e.pos<this.pos?e:this}toString(){let e="";for(let t=1;t<=this.depth;t++)e+=(e?"/":"")+this.node(t).type.name+"_"+this.index(t-1);return e+":"+this.parentOffset}static resolve(e,t){if(!(t>=0&&t<=e.content.size))throw new RangeError("Position "+t+" out of range");let n=[],r=0,o=t;for(let i=e;;){let{index:e,offset:t}=i.content.findIndex(o),a=o-t;if(n.push(i,e,r+t),!a)break;if(i=i.child(e),i.isText)break;o=a-1,r+=t+1}return new Ub(t,n,o)}static resolveCached(e,t){for(let r=0;r<Wb.length;r++){let n=Wb[r];if(n.pos==t&&n.doc==e)return n}let n=Wb[Vb]=Ub.resolve(e,t);return Vb=(Vb+1)%qb,n}}let Wb=[],Vb=0,qb=12;class Gb{constructor(e,t,n){this.$from=e,this.$to=t,this.depth=n}get start(){return this.$from.before(this.depth+1)}get end(){return this.$to.after(this.depth+1)}get parent(){return this.$from.node(this.depth)}get startIndex(){return this.$from.index(this.depth)}get endIndex(){return this.$to.indexAfter(this.depth)}}const Kb=Object.create(null);class Yb{constructor(e,t,n,r=Ab.none){this.type=e,this.attrs=t,this.marks=r,this.content=n||Tb.empty}get nodeSize(){return this.isLeaf?1:2+this.content.size}get childCount(){return this.content.childCount}child(e){return this.content.child(e)}maybeChild(e){return this.content.maybeChild(e)}forEach(e){this.content.forEach(e)}nodesBetween(e,t,n,r=0){this.content.nodesBetween(e,t,n,r,this)}descendants(e){this.nodesBetween(0,this.content.size,e)}get textContent(){return this.isLeaf&&this.type.spec.leafText?this.type.spec.leafText(this):this.textBetween(0,this.content.size,"")}textBetween(e,t,n,r){return this.content.textBetween(e,t,n,r)}get firstChild(){return this.content.firstChild}get lastChild(){return this.content.lastChild}eq(e){return this==e||this.sameMarkup(e)&&this.content.eq(e.content)}sameMarkup(e){return this.hasMarkup(e.type,e.attrs,e.marks)}hasMarkup(e,t,n){return this.type==e&&Mb(this.attrs,t||e.defaultAttrs||Kb)&&Ab.sameSet(this.marks,n||Ab.none)}copy(e=null){return e==this.content?this:new Yb(this.type,this.attrs,e,this.marks)}mark(e){return e==this.marks?this:new Yb(this.type,this.attrs,this.content,e)}cut(e,t=this.content.size){return 0==e&&t==this.content.size?this:this.copy(this.content.cut(e,t))}slice(e,t=this.content.size,n=!1){if(e==t)return Lb.empty;let r=this.resolve(e),o=this.resolve(t),i=n?0:r.sharedDepth(t),a=r.start(i),s=r.node(i).content.cut(r.pos-a,o.pos-a);return new Lb(s,r.depth-i,o.depth-i)}replace(e,t,n){return Ib(this.resolve(e),this.resolve(t),n)}nodeAt(e){for(let t=this;;){let{index:n,offset:r}=t.content.findIndex(e);if(t=t.maybeChild(n),!t)return null;if(r==e||t.isText)return t;e-=r+1}}childAfter(e){let{index:t,offset:n}=this.content.findIndex(e);return{node:this.content.maybeChild(t),index:t,offset:n}}childBefore(e){if(0==e)return{node:null,index:0,offset:0};let{index:t,offset:n}=this.content.findIndex(e);if(n<e)return{node:this.content.child(t),index:t,offset:n};let r=this.content.child(t-1);return{node:r,index:t-1,offset:n-r.nodeSize}}resolve(e){return Ub.resolveCached(this,e)}resolveNoCache(e){return Ub.resolve(this,e)}rangeHasMark(e,t,n){let r=!1;return t>e&&this.nodesBetween(e,t,(e=>(n.isInSet(e.marks)&&(r=!0),!r))),r}get isBlock(){return this.type.isBlock}get isTextblock(){return this.type.isTextblock}get inlineContent(){return this.type.inlineContent}get isInline(){return this.type.isInline}get isText(){return this.type.isText}get isLeaf(){return this.type.isLeaf}get isAtom(){return this.type.isAtom}toString(){if(this.type.spec.toDebugString)return this.type.spec.toDebugString(this);let e=this.type.name;return this.content.size&&(e+="("+this.content.toStringInner()+")"),Jb(this.marks,e)}contentMatchAt(e){let t=this.type.contentMatch.matchFragment(this.content,0,e);if(!t)throw new Error("Called contentMatchAt on a node with invalid content");return t}canReplace(e,t,n=Tb.empty,r=0,o=n.childCount){let i=this.contentMatchAt(e).matchFragment(n,r,o),a=i&&i.matchFragment(this.content,t);if(!a||!a.validEnd)return!1;for(let s=r;s<o;s++)if(!this.type.allowsMarks(n.child(s).marks))return!1;return!0}canReplaceWith(e,t,n,r){if(r&&!this.type.allowsMarks(r))return!1;let o=this.contentMatchAt(e).matchType(n),i=o&&o.matchFragment(this.content,t);return!!i&&i.validEnd}canAppend(e){return e.content.size?this.canReplace(this.childCount,this.childCount,e.content):this.type.compatibleContent(e.type)}check(){this.type.checkContent(this.content);let e=Ab.none;for(let t=0;t<this.marks.length;t++)e=this.marks[t].addToSet(e);if(!Ab.sameSet(e,this.marks))throw new RangeError(`Invalid collection of marks for node ${this.type.name}: ${this.marks.map((e=>e.type.name))}`);this.content.forEach((e=>e.check()))}toJSON(){let e={type:this.type.name};for(let t in this.attrs){e.attrs=this.attrs;break}return this.content.size&&(e.content=this.content.toJSON()),this.marks.length&&(e.marks=this.marks.map((e=>e.toJSON()))),e}static fromJSON(e,t){if(!t)throw new RangeError("Invalid input for Node.fromJSON");let n=null;if(t.marks){if(!Array.isArray(t.marks))throw new RangeError("Invalid mark data for Node.fromJSON");n=t.marks.map(e.markFromJSON)}if("text"==t.type){if("string"!=typeof t.text)throw new RangeError("Invalid text node in JSON");return e.text(t.text,n)}let r=Tb.fromJSON(e,t.content);return e.nodeType(t.type).create(t.attrs,r,n)}}Yb.prototype.text=void 0;class Xb extends Yb{constructor(e,t,n,r){if(super(e,t,null,r),!n)throw new RangeError("Empty text nodes are not allowed");this.text=n}toString(){return this.type.spec.toDebugString?this.type.spec.toDebugString(this):Jb(this.marks,JSON.stringify(this.text))}get textContent(){return this.text}textBetween(e,t){return this.text.slice(e,t)}get nodeSize(){return this.text.length}mark(e){return e==this.marks?this:new Xb(this.type,this.attrs,this.text,e)}withText(e){return e==this.text?this:new Xb(this.type,this.attrs,e,this.marks)}cut(e=0,t=this.text.length){return 0==e&&t==this.text.length?this:this.withText(this.text.slice(e,t))}eq(e){return this.sameMarkup(e)&&this.text==e.text}toJSON(){let e=super.toJSON();return e.text=this.text,e}}function Jb(e,t){for(let n=e.length-1;n>=0;n--)t=e[n].type.name+"("+t+")";return t}class Qb{constructor(e){this.validEnd=e,this.next=[],this.wrapCache=[]}static parse(e,t){let n=new ew(e,t);if(null==n.next)return Qb.empty;let r=tw(n);n.next&&n.err("Unexpected trailing text");let o=function(e){let t=Object.create(null);return n(sw(e,0));function n(r){let o=[];r.forEach((t=>{e[t].forEach((({term:t,to:n})=>{if(!t)return;let r;for(let e=0;e<o.length;e++)o[e][0]==t&&(r=o[e][1]);sw(e,n).forEach((e=>{r||o.push([t,r=[]]),-1==r.indexOf(e)&&r.push(e)}))}))}));let i=t[r.join(",")]=new Qb(r.indexOf(e.length-1)>-1);for(let e=0;e<o.length;e++){let r=o[e][1].sort(aw);i.next.push({type:o[e][0],next:t[r.join(",")]||n(r)})}return i}}(function(e){let t=[[]];return o(i(e,0),n()),t;function n(){return t.push([])-1}function r(e,n,r){let o={term:r,to:n};return t[e].push(o),o}function o(e,t){e.forEach((e=>e.to=t))}function i(e,t){if("choice"==e.type)return e.exprs.reduce(((e,n)=>e.concat(i(n,t))),[]);if("seq"!=e.type){if("star"==e.type){let a=n();return r(t,a),o(i(e.expr,a),a),[r(a)]}if("plus"==e.type){let a=n();return o(i(e.expr,t),a),o(i(e.expr,a),a),[r(a)]}if("opt"==e.type)return[r(t)].concat(i(e.expr,t));if("range"==e.type){let a=t;for(let t=0;t<e.min;t++){let t=n();o(i(e.expr,a),t),a=t}if(-1==e.max)o(i(e.expr,a),a);else for(let t=e.min;t<e.max;t++){let t=n();r(a,t),o(i(e.expr,a),t),a=t}return[r(a)]}if("name"==e.type)return[r(t,void 0,e.value)];throw new Error("Unknown expr type")}for(let r=0;;r++){let a=i(e.exprs[r],t);if(r==e.exprs.length-1)return a;o(a,t=n())}}}(r));return function(e,t){for(let n=0,r=[e];n<r.length;n++){let e=r[n],o=!e.validEnd,i=[];for(let t=0;t<e.next.length;t++){let{type:n,next:a}=e.next[t];i.push(n.name),!o||n.isText||n.hasRequiredAttrs()||(o=!1),-1==r.indexOf(a)&&r.push(a)}o&&t.err("Only non-generatable nodes ("+i.join(", ")+") in a required position (see https://prosemirror.net/docs/guide/#generatable)")}}(o,n),o}matchType(e){for(let t=0;t<this.next.length;t++)if(this.next[t].type==e)return this.next[t].next;return null}matchFragment(e,t=0,n=e.childCount){let r=this;for(let o=t;r&&o<n;o++)r=r.matchType(e.child(o).type);return r}get inlineContent(){return 0!=this.next.length&&this.next[0].type.isInline}get defaultType(){for(let e=0;e<this.next.length;e++){let{type:t}=this.next[e];if(!t.isText&&!t.hasRequiredAttrs())return t}return null}compatible(e){for(let t=0;t<this.next.length;t++)for(let n=0;n<e.next.length;n++)if(this.next[t].type==e.next[n].type)return!0;return!1}fillBefore(e,t=!1,n=0){let r=[this];return function o(i,a){let s=i.matchFragment(e,n);if(s&&(!t||s.validEnd))return Tb.from(a.map((e=>e.createAndFill())));for(let e=0;e<i.next.length;e++){let{type:t,next:n}=i.next[e];if(!t.isText&&!t.hasRequiredAttrs()&&-1==r.indexOf(n)){r.push(n);let e=o(n,a.concat(t));if(e)return e}}return null}(this,[])}findWrapping(e){for(let n=0;n<this.wrapCache.length;n+=2)if(this.wrapCache[n]==e)return this.wrapCache[n+1];let t=this.computeWrapping(e);return this.wrapCache.push(e,t),t}computeWrapping(e){let t=Object.create(null),n=[{match:this,type:null,via:null}];for(;n.length;){let r=n.shift(),o=r.match;if(o.matchType(e)){let e=[];for(let t=r;t.type;t=t.via)e.push(t.type);return e.reverse()}for(let e=0;e<o.next.length;e++){let{type:i,next:a}=o.next[e];i.isLeaf||i.hasRequiredAttrs()||i.name in t||r.type&&!a.validEnd||(n.push({match:i.contentMatch,type:i,via:r}),t[i.name]=!0)}}return null}get edgeCount(){return this.next.length}edge(e){if(e>=this.next.length)throw new RangeError(`There's no ${e}th edge in this content match`);return this.next[e]}toString(){let e=[];return function t(n){e.push(n);for(let r=0;r<n.next.length;r++)-1==e.indexOf(n.next[r].next)&&t(n.next[r].next)}(this),e.map(((t,n)=>{let r=n+(t.validEnd?"*":" ")+" ";for(let o=0;o<t.next.length;o++)r+=(o?", ":"")+t.next[o].type.name+"->"+e.indexOf(t.next[o].next);return r})).join("\n")}}Qb.empty=new Qb(!0);class ew{constructor(e,t){this.string=e,this.nodeTypes=t,this.inline=null,this.pos=0,this.tokens=e.split(/\s*(?=\b|\W|$)/),""==this.tokens[this.tokens.length-1]&&this.tokens.pop(),""==this.tokens[0]&&this.tokens.shift()}get next(){return this.tokens[this.pos]}eat(e){return this.next==e&&(this.pos++||!0)}err(e){throw new SyntaxError(e+" (in content expression '"+this.string+"')")}}function tw(e){let t=[];do{t.push(nw(e))}while(e.eat("|"));return 1==t.length?t[0]:{type:"choice",exprs:t}}function nw(e){let t=[];do{t.push(rw(e))}while(e.next&&")"!=e.next&&"|"!=e.next);return 1==t.length?t[0]:{type:"seq",exprs:t}}function rw(e){let t=function(e){if(e.eat("(")){let t=tw(e);return e.eat(")")||e.err("Missing closing paren"),t}if(!/\W/.test(e.next)){let t=function(e,t){let n=e.nodeTypes,r=n[t];if(r)return[r];let o=[];for(let i in n){let e=n[i];e.groups.indexOf(t)>-1&&o.push(e)}0==o.length&&e.err("No node type or group '"+t+"' found");return o}(e,e.next).map((t=>(null==e.inline?e.inline=t.isInline:e.inline!=t.isInline&&e.err("Mixing inline and block content"),{type:"name",value:t})));return e.pos++,1==t.length?t[0]:{type:"choice",exprs:t}}e.err("Unexpected token '"+e.next+"'")}(e);for(;;)if(e.eat("+"))t={type:"plus",expr:t};else if(e.eat("*"))t={type:"star",expr:t};else if(e.eat("?"))t={type:"opt",expr:t};else{if(!e.eat("{"))break;t=iw(e,t)}return t}function ow(e){/\D/.test(e.next)&&e.err("Expected number, got '"+e.next+"'");let t=Number(e.next);return e.pos++,t}function iw(e,t){let n=ow(e),r=n;return e.eat(",")&&(r="}"!=e.next?ow(e):-1),e.eat("}")||e.err("Unclosed braced range"),{type:"range",min:n,max:r,expr:t}}function aw(e,t){return t-e}function sw(e,t){let n=[];return function t(r){let o=e[r];if(1==o.length&&!o[0].term)return t(o[0].to);n.push(r);for(let e=0;e<o.length;e++){let{term:r,to:i}=o[e];r||-1!=n.indexOf(i)||t(i)}}(t),n.sort(aw)}function lw(e){let t=Object.create(null);for(let n in e){let r=e[n];if(!r.hasDefault)return null;t[n]=r.default}return t}function cw(e,t){let n=Object.create(null);for(let r in e){let o=t&&t[r];if(void 0===o){let t=e[r];if(!t.hasDefault)throw new RangeError("No value supplied for attribute "+r);o=t.default}n[r]=o}return n}function uw(e){let t=Object.create(null);if(e)for(let n in e)t[n]=new pw(e[n]);return t}class dw{constructor(e,t,n){this.name=e,this.schema=t,this.spec=n,this.markSet=null,this.groups=n.group?n.group.split(" "):[],this.attrs=uw(n.attrs),this.defaultAttrs=lw(this.attrs),this.contentMatch=null,this.inlineContent=null,this.isBlock=!(n.inline||"text"==e),this.isText="text"==e}get isInline(){return!this.isBlock}get isTextblock(){return this.isBlock&&this.inlineContent}get isLeaf(){return this.contentMatch==Qb.empty}get isAtom(){return this.isLeaf||!!this.spec.atom}get whitespace(){return this.spec.whitespace||(this.spec.code?"pre":"normal")}hasRequiredAttrs(){for(let e in this.attrs)if(this.attrs[e].isRequired)return!0;return!1}compatibleContent(e){return this==e||this.contentMatch.compatible(e.contentMatch)}computeAttrs(e){return!e&&this.defaultAttrs?this.defaultAttrs:cw(this.attrs,e)}create(e=null,t,n){if(this.isText)throw new Error("NodeType.create can't construct text nodes");return new Yb(this,this.computeAttrs(e),Tb.from(t),Ab.setFrom(n))}createChecked(e=null,t,n){return t=Tb.from(t),this.checkContent(t),new Yb(this,this.computeAttrs(e),t,Ab.setFrom(n))}createAndFill(e=null,t,n){if(e=this.computeAttrs(e),(t=Tb.from(t)).size){let e=this.contentMatch.fillBefore(t);if(!e)return null;t=e.append(t)}let r=this.contentMatch.matchFragment(t),o=r&&r.fillBefore(Tb.empty,!0);return o?new Yb(this,e,t.append(o),Ab.setFrom(n)):null}validContent(e){let t=this.contentMatch.matchFragment(e);if(!t||!t.validEnd)return!1;for(let n=0;n<e.childCount;n++)if(!this.allowsMarks(e.child(n).marks))return!1;return!0}checkContent(e){if(!this.validContent(e))throw new RangeError(`Invalid content for node ${this.name}: ${e.toString().slice(0,50)}`)}allowsMarkType(e){return null==this.markSet||this.markSet.indexOf(e)>-1}allowsMarks(e){if(null==this.markSet)return!0;for(let t=0;t<e.length;t++)if(!this.allowsMarkType(e[t].type))return!1;return!0}allowedMarks(e){if(null==this.markSet)return e;let t;for(let n=0;n<e.length;n++)this.allowsMarkType(e[n].type)?t&&t.push(e[n]):t||(t=e.slice(0,n));return t?t.length?t:Ab.none:e}static compile(e,t){let n=Object.create(null);e.forEach(((e,r)=>n[e]=new dw(e,t,r)));let r=t.spec.topNode||"doc";if(!n[r])throw new RangeError("Schema is missing its top node type ('"+r+"')");if(!n.text)throw new RangeError("Every schema needs a 'text' type");for(let o in n.text.attrs)throw new RangeError("The text node type should not have attributes");return n}}class pw{constructor(e){this.hasDefault=Object.prototype.hasOwnProperty.call(e,"default"),this.default=e.default}get isRequired(){return!this.hasDefault}}class fw{constructor(e,t,n,r){this.name=e,this.rank=t,this.schema=n,this.spec=r,this.attrs=uw(r.attrs),this.excluded=null;let o=lw(this.attrs);this.instance=o?new Ab(this,o):null}create(e=null){return!e&&this.instance?this.instance:new Ab(this,cw(this.attrs,e))}static compile(e,t){let n=Object.create(null),r=0;return e.forEach(((e,o)=>n[e]=new fw(e,r++,t,o))),n}removeFromSet(e){for(var t=0;t<e.length;t++)e[t].type==this&&(e=e.slice(0,t).concat(e.slice(t+1)),t--);return e}isInSet(e){for(let t=0;t<e.length;t++)if(e[t].type==this)return e[t]}excludes(e){return this.excluded.indexOf(e)>-1}}class hw{constructor(e){this.cached=Object.create(null);let t=this.spec={};for(let r in e)t[r]=e[r];t.nodes=Sb.from(e.nodes),t.marks=Sb.from(e.marks||{}),this.nodes=dw.compile(this.spec.nodes,this),this.marks=fw.compile(this.spec.marks,this);let n=Object.create(null);for(let r in this.nodes){if(r in this.marks)throw new RangeError(r+" can not be both a node and a mark");let e=this.nodes[r],t=e.spec.content||"",o=e.spec.marks;e.contentMatch=n[t]||(n[t]=Qb.parse(t,this.nodes)),e.inlineContent=e.contentMatch.inlineContent,e.markSet="_"==o?null:o?mw(this,o.split(" ")):""!=o&&e.inlineContent?null:[]}for(let r in this.marks){let e=this.marks[r],t=e.spec.excludes;e.excluded=null==t?[e]:""==t?[]:mw(this,t.split(" "))}this.nodeFromJSON=this.nodeFromJSON.bind(this),this.markFromJSON=this.markFromJSON.bind(this),this.topNodeType=this.nodes[this.spec.topNode||"doc"],this.cached.wrappings=Object.create(null)}node(e,t=null,n,r){if("string"==typeof e)e=this.nodeType(e);else{if(!(e instanceof dw))throw new RangeError("Invalid node type: "+e);if(e.schema!=this)throw new RangeError("Node type from different schema used ("+e.name+")")}return e.createChecked(t,n,r)}text(e,t){let n=this.nodes.text;return new Xb(n,n.defaultAttrs,e,Ab.setFrom(t))}mark(e,t){return"string"==typeof e&&(e=this.marks[e]),e.create(t)}nodeFromJSON(e){return Yb.fromJSON(this,e)}markFromJSON(e){return Ab.fromJSON(this,e)}nodeType(e){let t=this.nodes[e];if(!t)throw new RangeError("Unknown node type: "+e);return t}}function mw(e,t){let n=[];for(let r=0;r<t.length;r++){let o=t[r],i=e.marks[o],a=i;if(i)n.push(i);else for(let t in e.marks){let r=e.marks[t];("_"==o||r.spec.group&&r.spec.group.split(" ").indexOf(o)>-1)&&n.push(a=r)}if(!a)throw new SyntaxError("Unknown mark type: '"+t[r]+"'")}return n}class vw{constructor(e,t){this.schema=e,this.rules=t,this.tags=[],this.styles=[],t.forEach((e=>{e.tag?this.tags.push(e):e.style&&this.styles.push(e)})),this.normalizeLists=!this.tags.some((t=>{if(!/^(ul|ol)\b/.test(t.tag)||!t.node)return!1;let n=e.nodes[t.node];return n.contentMatch.matchType(n)}))}parse(e,t={}){let n=new kw(this,t,!1);return n.addAll(e,t.from,t.to),n.finish()}parseSlice(e,t={}){let n=new kw(this,t,!0);return n.addAll(e,t.from,t.to),Lb.maxOpen(n.finish())}matchTag(e,t,n){for(let r=n?this.tags.indexOf(n)+1:0;r<this.tags.length;r++){let n=this.tags[r];if(Sw(e,n.tag)&&(void 0===n.namespace||e.namespaceURI==n.namespace)&&(!n.context||t.matchesContext(n.context))){if(n.getAttrs){let t=n.getAttrs(e);if(!1===t)continue;n.attrs=t||void 0}return n}}}matchStyle(e,t,n,r){for(let o=r?this.styles.indexOf(r)+1:0;o<this.styles.length;o++){let r=this.styles[o],i=r.style;if(!(0!=i.indexOf(e)||r.context&&!n.matchesContext(r.context)||i.length>e.length&&(61!=i.charCodeAt(e.length)||i.slice(e.length+1)!=t))){if(r.getAttrs){let e=r.getAttrs(t);if(!1===e)continue;r.attrs=e||void 0}return r}}}static schemaRules(e){let t=[];function n(e){let n=null==e.priority?50:e.priority,r=0;for(;r<t.length;r++){let e=t[r];if((null==e.priority?50:e.priority)<n)break}t.splice(r,0,e)}for(let r in e.marks){let t=e.marks[r].spec.parseDOM;t&&t.forEach((e=>{n(e=Cw(e)),e.mark||e.ignore||e.clearMark||(e.mark=r)}))}for(let r in e.nodes){let t=e.nodes[r].spec.parseDOM;t&&t.forEach((e=>{n(e=Cw(e)),e.node||e.ignore||e.mark||(e.node=r)}))}return t}static fromSchema(e){return e.cached.domParser||(e.cached.domParser=new vw(e,vw.schemaRules(e)))}}const gw={address:!0,article:!0,aside:!0,blockquote:!0,canvas:!0,dd:!0,div:!0,dl:!0,fieldset:!0,figcaption:!0,figure:!0,footer:!0,form:!0,h1:!0,h2:!0,h3:!0,h4:!0,h5:!0,h6:!0,header:!0,hgroup:!0,hr:!0,li:!0,noscript:!0,ol:!0,output:!0,p:!0,pre:!0,section:!0,table:!0,tfoot:!0,ul:!0},yw={head:!0,noscript:!0,object:!0,script:!0,style:!0,title:!0},bw={ol:!0,ul:!0};function ww(e,t,n){return null!=t?(t?1:0)|("full"===t?2:0):e&&"pre"==e.whitespace?3:-5&n}class xw{constructor(e,t,n,r,o,i,a){this.type=e,this.attrs=t,this.marks=n,this.pendingMarks=r,this.solid=o,this.options=a,this.content=[],this.activeMarks=Ab.none,this.stashMarks=[],this.match=i||(4&a?null:e.contentMatch)}findWrapping(e){if(!this.match){if(!this.type)return[];let t=this.type.contentMatch.fillBefore(Tb.from(e));if(!t){let t,n=this.type.contentMatch;return(t=n.findWrapping(e.type))?(this.match=n,t):null}this.match=this.type.contentMatch.matchFragment(t)}return this.match.findWrapping(e.type)}finish(e){if(!(1&this.options)){let e,t=this.content[this.content.length-1];if(t&&t.isText&&(e=/[ \t\r\n\u000c]+$/.exec(t.text))){let n=t;t.text.length==e[0].length?this.content.pop():this.content[this.content.length-1]=n.withText(n.text.slice(0,n.text.length-e[0].length))}}let t=Tb.from(this.content);return!e&&this.match&&(t=t.append(this.match.fillBefore(Tb.empty,!0))),this.type?this.type.create(this.attrs,t,this.marks):t}popFromStashMark(e){for(let t=this.stashMarks.length-1;t>=0;t--)if(e.eq(this.stashMarks[t]))return this.stashMarks.splice(t,1)[0]}applyPending(e){for(let t=0,n=this.pendingMarks;t<n.length;t++){let r=n[t];(this.type?this.type.allowsMarkType(r.type):Ew(r.type,e))&&!r.isInSet(this.activeMarks)&&(this.activeMarks=r.addToSet(this.activeMarks),this.pendingMarks=r.removeFromSet(this.pendingMarks))}}inlineContext(e){return this.type?this.type.inlineContent:this.content.length?this.content[0].isInline:e.parentNode&&!gw.hasOwnProperty(e.parentNode.nodeName.toLowerCase())}}class kw{constructor(e,t,n){this.parser=e,this.options=t,this.isOpen=n,this.open=0;let r,o=t.topNode,i=ww(null,t.preserveWhitespace,0)|(n?4:0);r=o?new xw(o.type,o.attrs,Ab.none,Ab.none,!0,t.topMatch||o.type.contentMatch,i):new xw(n?null:e.schema.topNodeType,null,Ab.none,Ab.none,!0,null,i),this.nodes=[r],this.find=t.findPositions,this.needsBlock=!1}get top(){return this.nodes[this.open]}addDOM(e){3==e.nodeType?this.addTextNode(e):1==e.nodeType&&this.addElement(e)}withStyleRules(e,t){let n=e.getAttribute("style");if(!n)return t();let r=this.readStyles(function(e){let t,n=/\s*([\w-]+)\s*:\s*([^;]+)/g,r=[];for(;t=n.exec(e);)r.push(t[1],t[2].trim());return r}(n));if(!r)return;let[o,i]=r,a=this.top;for(let s=0;s<i.length;s++)this.removePendingMark(i[s],a);for(let s=0;s<o.length;s++)this.addPendingMark(o[s]);t();for(let s=0;s<o.length;s++)this.removePendingMark(o[s],a);for(let s=0;s<i.length;s++)this.addPendingMark(i[s])}addTextNode(e){let t=e.nodeValue,n=this.top;if(2&n.options||n.inlineContext(e)||/[^ \t\r\n\u000c]/.test(t)){if(1&n.options)t=2&n.options?t.replace(/\r\n?/g,"\n"):t.replace(/\r?\n|\r/g," ");else if(t=t.replace(/[ \t\r\n\u000c]+/g," "),/^[ \t\r\n\u000c]/.test(t)&&this.open==this.nodes.length-1){let r=n.content[n.content.length-1],o=e.previousSibling;(!r||o&&"BR"==o.nodeName||r.isText&&/[ \t\r\n\u000c]$/.test(r.text))&&(t=t.slice(1))}t&&this.insertNode(this.parser.schema.text(t)),this.findInText(e)}else this.findInside(e)}addElement(e,t){let n,r=e.nodeName.toLowerCase();bw.hasOwnProperty(r)&&this.parser.normalizeLists&&function(e){for(let t=e.firstChild,n=null;t;t=t.nextSibling){let e=1==t.nodeType?t.nodeName.toLowerCase():null;e&&bw.hasOwnProperty(e)&&n?(n.appendChild(t),t=n):"li"==e?n=t:e&&(n=null)}}(e);let o=this.options.ruleFromNode&&this.options.ruleFromNode(e)||(n=this.parser.matchTag(e,this,t));if(o?o.ignore:yw.hasOwnProperty(r))this.findInside(e),this.ignoreFallback(e);else if(!o||o.skip||o.closeParent){o&&o.closeParent?this.open=Math.max(0,this.open-1):o&&o.skip.nodeType&&(e=o.skip);let t,n=this.top,i=this.needsBlock;if(gw.hasOwnProperty(r))n.content.length&&n.content[0].isInline&&this.open&&(this.open--,n=this.top),t=!0,n.type||(this.needsBlock=!0);else if(!e.firstChild)return void this.leafFallback(e);o&&o.skip?this.addAll(e):this.withStyleRules(e,(()=>this.addAll(e))),t&&this.sync(n),this.needsBlock=i}else this.withStyleRules(e,(()=>{this.addElementByRule(e,o,!1===o.consuming?n:void 0)}))}leafFallback(e){"BR"==e.nodeName&&this.top.type&&this.top.type.inlineContent&&this.addTextNode(e.ownerDocument.createTextNode("\n"))}ignoreFallback(e){"BR"!=e.nodeName||this.top.type&&this.top.type.inlineContent||this.findPlace(this.parser.schema.text("-"))}readStyles(e){let t=Ab.none,n=Ab.none;for(let r=0;r<e.length;r+=2)for(let o;;){let i=this.parser.matchStyle(e[r],e[r+1],this,o);if(!i)break;if(i.ignore)return null;if(i.clearMark?this.top.pendingMarks.concat(this.top.activeMarks).forEach((e=>{i.clearMark(e)&&(n=e.addToSet(n))})):t=this.parser.schema.marks[i.mark].create(i.attrs).addToSet(t),!1!==i.consuming)break;o=i}return[t,n]}addElementByRule(e,t,n){let r,o,i;if(t.node)o=this.parser.schema.nodes[t.node],o.isLeaf?this.insertNode(o.create(t.attrs))||this.leafFallback(e):r=this.enter(o,t.attrs||null,t.preserveWhitespace);else{i=this.parser.schema.marks[t.mark].create(t.attrs),this.addPendingMark(i)}let a=this.top;if(o&&o.isLeaf)this.findInside(e);else if(n)this.addElement(e,n);else if(t.getContent)this.findInside(e),t.getContent(e,this.parser.schema).forEach((e=>this.insertNode(e)));else{let n=e;"string"==typeof t.contentElement?n=e.querySelector(t.contentElement):"function"==typeof t.contentElement?n=t.contentElement(e):t.contentElement&&(n=t.contentElement),this.findAround(e,n,!0),this.addAll(n)}r&&this.sync(a)&&this.open--,i&&this.removePendingMark(i,a)}addAll(e,t,n){let r=t||0;for(let o=t?e.childNodes[t]:e.firstChild,i=null==n?null:e.childNodes[n];o!=i;o=o.nextSibling,++r)this.findAtPoint(e,r),this.addDOM(o);this.findAtPoint(e,r)}findPlace(e){let t,n;for(let r=this.open;r>=0;r--){let o=this.nodes[r],i=o.findWrapping(e);if(i&&(!t||t.length>i.length)&&(t=i,n=o,!i.length))break;if(o.solid)break}if(!t)return!1;this.sync(n);for(let r=0;r<t.length;r++)this.enterInner(t[r],null,!1);return!0}insertNode(e){if(e.isInline&&this.needsBlock&&!this.top.type){let e=this.textblockFromContext();e&&this.enterInner(e)}if(this.findPlace(e)){this.closeExtra();let t=this.top;t.applyPending(e.type),t.match&&(t.match=t.match.matchType(e.type));let n=t.activeMarks;for(let r=0;r<e.marks.length;r++)t.type&&!t.type.allowsMarkType(e.marks[r].type)||(n=e.marks[r].addToSet(n));return t.content.push(e.mark(n)),!0}return!1}enter(e,t,n){let r=this.findPlace(e.create(t));return r&&this.enterInner(e,t,!0,n),r}enterInner(e,t=null,n=!1,r){this.closeExtra();let o=this.top;o.applyPending(e),o.match=o.match&&o.match.matchType(e);let i=ww(e,r,o.options);4&o.options&&0==o.content.length&&(i|=4),this.nodes.push(new xw(e,t,o.activeMarks,o.pendingMarks,n,null,i)),this.open++}closeExtra(e=!1){let t=this.nodes.length-1;if(t>this.open){for(;t>this.open;t--)this.nodes[t-1].content.push(this.nodes[t].finish(e));this.nodes.length=this.open+1}}finish(){return this.open=0,this.closeExtra(this.isOpen),this.nodes[0].finish(this.isOpen||this.options.topOpen)}sync(e){for(let t=this.open;t>=0;t--)if(this.nodes[t]==e)return this.open=t,!0;return!1}get currentPos(){this.closeExtra();let e=0;for(let t=this.open;t>=0;t--){let n=this.nodes[t].content;for(let t=n.length-1;t>=0;t--)e+=n[t].nodeSize;t&&e++}return e}findAtPoint(e,t){if(this.find)for(let n=0;n<this.find.length;n++)this.find[n].node==e&&this.find[n].offset==t&&(this.find[n].pos=this.currentPos)}findInside(e){if(this.find)for(let t=0;t<this.find.length;t++)null==this.find[t].pos&&1==e.nodeType&&e.contains(this.find[t].node)&&(this.find[t].pos=this.currentPos)}findAround(e,t,n){if(e!=t&&this.find)for(let r=0;r<this.find.length;r++)if(null==this.find[r].pos&&1==e.nodeType&&e.contains(this.find[r].node)){t.compareDocumentPosition(this.find[r].node)&(n?2:4)&&(this.find[r].pos=this.currentPos)}}findInText(e){if(this.find)for(let t=0;t<this.find.length;t++)this.find[t].node==e&&(this.find[t].pos=this.currentPos-(e.nodeValue.length-this.find[t].offset))}matchesContext(e){if(e.indexOf("|")>-1)return e.split(/\s*\|\s*/).some(this.matchesContext,this);let t=e.split("/"),n=this.options.context,r=!(this.isOpen||n&&n.parent.type!=this.nodes[0].type),o=-(n?n.depth+1:0)+(r?0:1),i=(e,a)=>{for(;e>=0;e--){let s=t[e];if(""==s){if(e==t.length-1||0==e)continue;for(;a>=o;a--)if(i(e-1,a))return!0;return!1}{let e=a>0||0==a&&r?this.nodes[a].type:n&&a>=o?n.node(a-o).type:null;if(!e||e.name!=s&&-1==e.groups.indexOf(s))return!1;a--}}return!0};return i(t.length-1,this.open)}textblockFromContext(){let e=this.options.context;if(e)for(let t=e.depth;t>=0;t--){let n=e.node(t).contentMatchAt(e.indexAfter(t)).defaultType;if(n&&n.isTextblock&&n.defaultAttrs)return n}for(let t in this.parser.schema.nodes){let e=this.parser.schema.nodes[t];if(e.isTextblock&&e.defaultAttrs)return e}}addPendingMark(e){let t=function(e,t){for(let n=0;n<t.length;n++)if(e.eq(t[n]))return t[n]}(e,this.top.pendingMarks);t&&this.top.stashMarks.push(t),this.top.pendingMarks=e.addToSet(this.top.pendingMarks)}removePendingMark(e,t){for(let n=this.open;n>=0;n--){let r=this.nodes[n];if(r.pendingMarks.lastIndexOf(e)>-1)r.pendingMarks=e.removeFromSet(r.pendingMarks);else{r.activeMarks=e.removeFromSet(r.activeMarks);let t=r.popFromStashMark(e);t&&r.type&&r.type.allowsMarkType(t.type)&&(r.activeMarks=t.addToSet(r.activeMarks))}if(r==t)break}}}function Sw(e,t){return(e.matches||e.msMatchesSelector||e.webkitMatchesSelector||e.mozMatchesSelector).call(e,t)}function Cw(e){let t={};for(let n in e)t[n]=e[n];return t}function Ew(e,t){let n=t.schema.nodes;for(let r in n){let o=n[r];if(!o.allowsMarkType(e))continue;let i=[],a=e=>{i.push(e);for(let n=0;n<e.edgeCount;n++){let{type:r,next:o}=e.edge(n);if(r==t)return!0;if(i.indexOf(o)<0&&a(o))return!0}};if(a(o.contentMatch))return!0}}class Tw{constructor(e,t){this.nodes=e,this.marks=t}serializeFragment(e,t={},n){n||(n=$w(t).createDocumentFragment());let r=n,o=[];return e.forEach((e=>{if(o.length||e.marks.length){let n=0,i=0;for(;n<o.length&&i<e.marks.length;){let t=e.marks[i];if(this.marks[t.type.name]){if(!t.eq(o[n][0])||!1===t.type.spec.spanning)break;n++,i++}else i++}for(;n<o.length;)r=o.pop()[1];for(;i<e.marks.length;){let n=e.marks[i++],a=this.serializeMark(n,e.isInline,t);a&&(o.push([n,r]),r.appendChild(a.dom),r=a.contentDOM||a.dom)}}r.appendChild(this.serializeNodeInner(e,t))})),n}serializeNodeInner(e,t){let{dom:n,contentDOM:r}=Tw.renderSpec($w(t),this.nodes[e.type.name](e));if(r){if(e.isLeaf)throw new RangeError("Content hole not allowed in a leaf node spec");this.serializeFragment(e.content,t,r)}return n}serializeNode(e,t={}){let n=this.serializeNodeInner(e,t);for(let r=e.marks.length-1;r>=0;r--){let o=this.serializeMark(e.marks[r],e.isInline,t);o&&((o.contentDOM||o.dom).appendChild(n),n=o.dom)}return n}serializeMark(e,t,n={}){let r=this.marks[e.type.name];return r&&Tw.renderSpec($w(n),r(e,t))}static renderSpec(e,t,n=null){if("string"==typeof t)return{dom:e.createTextNode(t)};if(null!=t.nodeType)return{dom:t};if(t.dom&&null!=t.dom.nodeType)return t;let r,o=t[0],i=o.indexOf(" ");i>0&&(n=o.slice(0,i),o=o.slice(i+1));let a=n?e.createElementNS(n,o):e.createElement(o),s=t[1],l=1;if(s&&"object"==typeof s&&null==s.nodeType&&!Array.isArray(s)){l=2;for(let e in s)if(null!=s[e]){let t=e.indexOf(" ");t>0?a.setAttributeNS(e.slice(0,t),e.slice(t+1),s[e]):a.setAttribute(e,s[e])}}for(let c=l;c<t.length;c++){let o=t[c];if(0===o){if(c<t.length-1||c>l)throw new RangeError("Content hole must be the only child of its parent node");return{dom:a,contentDOM:a}}{let{dom:t,contentDOM:i}=Tw.renderSpec(e,o,n);if(a.appendChild(t),i){if(r)throw new RangeError("Multiple content holes");r=i}}}return{dom:a,contentDOM:r}}static fromSchema(e){return e.cached.domSerializer||(e.cached.domSerializer=new Tw(this.nodesFromSchema(e),this.marksFromSchema(e)))}static nodesFromSchema(e){let t=Ow(e.nodes);return t.text||(t.text=e=>e.text),t}static marksFromSchema(e){return Ow(e.marks)}}function Ow(e){let t={};for(let n in e){let r=e[n].spec.toDOM;r&&(t[n]=r)}return t}function $w(e){return e.document||window.document}const Mw=Math.pow(2,16);function Aw(e,t){return e+t*Mw}function Dw(e){return 65535&e}class Lw{constructor(e,t,n){this.pos=e,this.delInfo=t,this.recover=n}get deleted(){return(8&this.delInfo)>0}get deletedBefore(){return(5&this.delInfo)>0}get deletedAfter(){return(6&this.delInfo)>0}get deletedAcross(){return(4&this.delInfo)>0}}class Nw{constructor(e,t=!1){if(this.ranges=e,this.inverted=t,!e.length&&Nw.empty)return Nw.empty}recover(e){let t=0,n=Dw(e);if(!this.inverted)for(let r=0;r<n;r++)t+=this.ranges[3*r+2]-this.ranges[3*r+1];return this.ranges[3*n]+t+function(e){return(e-(65535&e))/Mw}(e)}mapResult(e,t=1){return this._map(e,t,!1)}map(e,t=1){return this._map(e,t,!0)}_map(e,t,n){let r=0,o=this.inverted?2:1,i=this.inverted?1:2;for(let a=0;a<this.ranges.length;a+=3){let s=this.ranges[a]-(this.inverted?r:0);if(s>e)break;let l=this.ranges[a+o],c=this.ranges[a+i],u=s+l;if(e<=u){let o=s+r+((l?e==s?-1:e==u?1:t:t)<0?0:c);if(n)return o;let i=e==(t<0?s:u)?null:Aw(a/3,e-s),d=e==s?2:e==u?1:4;return(t<0?e!=s:e!=u)&&(d|=8),new Lw(o,d,i)}r+=c-l}return n?e+r:new Lw(e+r,0,null)}touches(e,t){let n=0,r=Dw(t),o=this.inverted?2:1,i=this.inverted?1:2;for(let a=0;a<this.ranges.length;a+=3){let t=this.ranges[a]-(this.inverted?n:0);if(t>e)break;let s=this.ranges[a+o];if(e<=t+s&&a==3*r)return!0;n+=this.ranges[a+i]-s}return!1}forEach(e){let t=this.inverted?2:1,n=this.inverted?1:2;for(let r=0,o=0;r<this.ranges.length;r+=3){let i=this.ranges[r],a=i-(this.inverted?o:0),s=i+(this.inverted?0:o),l=this.ranges[r+t],c=this.ranges[r+n];e(a,a+l,s,s+c),o+=c-l}}invert(){return new Nw(this.ranges,!this.inverted)}toString(){return(this.inverted?"-":"")+JSON.stringify(this.ranges)}static offset(e){return 0==e?Nw.empty:new Nw(e<0?[0,-e,0]:[0,0,e])}}Nw.empty=new Nw([]);class Rw{constructor(e=[],t,n=0,r=e.length){this.maps=e,this.mirror=t,this.from=n,this.to=r}slice(e=0,t=this.maps.length){return new Rw(this.maps,this.mirror,e,t)}copy(){return new Rw(this.maps.slice(),this.mirror&&this.mirror.slice(),this.from,this.to)}appendMap(e,t){this.to=this.maps.push(e),null!=t&&this.setMirror(this.maps.length-1,t)}appendMapping(e){for(let t=0,n=this.maps.length;t<e.maps.length;t++){let r=e.getMirror(t);this.appendMap(e.maps[t],null!=r&&r<t?n+r:void 0)}}getMirror(e){if(this.mirror)for(let t=0;t<this.mirror.length;t++)if(this.mirror[t]==e)return this.mirror[t+(t%2?-1:1)]}setMirror(e,t){this.mirror||(this.mirror=[]),this.mirror.push(e,t)}appendMappingInverted(e){for(let t=e.maps.length-1,n=this.maps.length+e.maps.length;t>=0;t--){let r=e.getMirror(t);this.appendMap(e.maps[t].invert(),null!=r&&r>t?n-r-1:void 0)}}invert(){let e=new Rw;return e.appendMappingInverted(this),e}map(e,t=1){if(this.mirror)return this._map(e,t,!0);for(let n=this.from;n<this.to;n++)e=this.maps[n].map(e,t);return e}mapResult(e,t=1){return this._map(e,t,!1)}_map(e,t,n){let r=0;for(let o=this.from;o<this.to;o++){let n=this.maps[o].mapResult(e,t);if(null!=n.recover){let t=this.getMirror(o);if(null!=t&&t>o&&t<this.to){o=t,e=this.maps[t].recover(n.recover);continue}}r|=n.delInfo,e=n.pos}return n?e:new Lw(e,r,null)}}const Iw=Object.create(null);class Pw{getMap(){return Nw.empty}merge(e){return null}static fromJSON(e,t){if(!t||!t.stepType)throw new RangeError("Invalid input for Step.fromJSON");let n=Iw[t.stepType];if(!n)throw new RangeError(`No step type ${t.stepType} defined`);return n.fromJSON(e,t)}static jsonID(e,t){if(e in Iw)throw new RangeError("Duplicate use of step JSON ID "+e);return Iw[e]=t,t.prototype.jsonID=e,t}}class Zw{constructor(e,t){this.doc=e,this.failed=t}static ok(e){return new Zw(e,null)}static fail(e){return new Zw(null,e)}static fromReplace(e,t,n,r){try{return Zw.ok(e.replace(t,n,r))}catch(Yr){if(Yr instanceof Db)return Zw.fail(Yr.message);throw Yr}}}function _w(e,t,n){let r=[];for(let o=0;o<e.childCount;o++){let i=e.child(o);i.content.size&&(i=i.copy(_w(i.content,t,i))),i.isInline&&(i=t(i,n,o)),r.push(i)}return Tb.fromArray(r)}class Fw extends Pw{constructor(e,t,n){super(),this.from=e,this.to=t,this.mark=n}apply(e){let t=e.slice(this.from,this.to),n=e.resolve(this.from),r=n.node(n.sharedDepth(this.to)),o=new Lb(_w(t.content,((e,t)=>e.isAtom&&t.type.allowsMarkType(this.mark.type)?e.mark(this.mark.addToSet(e.marks)):e),r),t.openStart,t.openEnd);return Zw.fromReplace(e,this.from,this.to,o)}invert(){return new jw(this.from,this.to,this.mark)}map(e){let t=e.mapResult(this.from,1),n=e.mapResult(this.to,-1);return t.deleted&&n.deleted||t.pos>=n.pos?null:new Fw(t.pos,n.pos,this.mark)}merge(e){return e instanceof Fw&&e.mark.eq(this.mark)&&this.from<=e.to&&this.to>=e.from?new Fw(Math.min(this.from,e.from),Math.max(this.to,e.to),this.mark):null}toJSON(){return{stepType:"addMark",mark:this.mark.toJSON(),from:this.from,to:this.to}}static fromJSON(e,t){if("number"!=typeof t.from||"number"!=typeof t.to)throw new RangeError("Invalid input for AddMarkStep.fromJSON");return new Fw(t.from,t.to,e.markFromJSON(t.mark))}}Pw.jsonID("addMark",Fw);class jw extends Pw{constructor(e,t,n){super(),this.from=e,this.to=t,this.mark=n}apply(e){let t=e.slice(this.from,this.to),n=new Lb(_w(t.content,(e=>e.mark(this.mark.removeFromSet(e.marks))),e),t.openStart,t.openEnd);return Zw.fromReplace(e,this.from,this.to,n)}invert(){return new Fw(this.from,this.to,this.mark)}map(e){let t=e.mapResult(this.from,1),n=e.mapResult(this.to,-1);return t.deleted&&n.deleted||t.pos>=n.pos?null:new jw(t.pos,n.pos,this.mark)}merge(e){return e instanceof jw&&e.mark.eq(this.mark)&&this.from<=e.to&&this.to>=e.from?new jw(Math.min(this.from,e.from),Math.max(this.to,e.to),this.mark):null}toJSON(){return{stepType:"removeMark",mark:this.mark.toJSON(),from:this.from,to:this.to}}static fromJSON(e,t){if("number"!=typeof t.from||"number"!=typeof t.to)throw new RangeError("Invalid input for RemoveMarkStep.fromJSON");return new jw(t.from,t.to,e.markFromJSON(t.mark))}}Pw.jsonID("removeMark",jw);class Bw extends Pw{constructor(e,t){super(),this.pos=e,this.mark=t}apply(e){let t=e.nodeAt(this.pos);if(!t)return Zw.fail("No node at mark step's position");let n=t.type.create(t.attrs,null,this.mark.addToSet(t.marks));return Zw.fromReplace(e,this.pos,this.pos+1,new Lb(Tb.from(n),0,t.isLeaf?0:1))}invert(e){let t=e.nodeAt(this.pos);if(t){let e=this.mark.addToSet(t.marks);if(e.length==t.marks.length){for(let n=0;n<t.marks.length;n++)if(!t.marks[n].isInSet(e))return new Bw(this.pos,t.marks[n]);return new Bw(this.pos,this.mark)}}return new zw(this.pos,this.mark)}map(e){let t=e.mapResult(this.pos,1);return t.deletedAfter?null:new Bw(t.pos,this.mark)}toJSON(){return{stepType:"addNodeMark",pos:this.pos,mark:this.mark.toJSON()}}static fromJSON(e,t){if("number"!=typeof t.pos)throw new RangeError("Invalid input for AddNodeMarkStep.fromJSON");return new Bw(t.pos,e.markFromJSON(t.mark))}}Pw.jsonID("addNodeMark",Bw);class zw extends Pw{constructor(e,t){super(),this.pos=e,this.mark=t}apply(e){let t=e.nodeAt(this.pos);if(!t)return Zw.fail("No node at mark step's position");let n=t.type.create(t.attrs,null,this.mark.removeFromSet(t.marks));return Zw.fromReplace(e,this.pos,this.pos+1,new Lb(Tb.from(n),0,t.isLeaf?0:1))}invert(e){let t=e.nodeAt(this.pos);return t&&this.mark.isInSet(t.marks)?new Bw(this.pos,this.mark):this}map(e){let t=e.mapResult(this.pos,1);return t.deletedAfter?null:new zw(t.pos,this.mark)}toJSON(){return{stepType:"removeNodeMark",pos:this.pos,mark:this.mark.toJSON()}}static fromJSON(e,t){if("number"!=typeof t.pos)throw new RangeError("Invalid input for RemoveNodeMarkStep.fromJSON");return new zw(t.pos,e.markFromJSON(t.mark))}}Pw.jsonID("removeNodeMark",zw);class Hw extends Pw{constructor(e,t,n,r=!1){super(),this.from=e,this.to=t,this.slice=n,this.structure=r}apply(e){return this.structure&&Ww(e,this.from,this.to)?Zw.fail("Structure replace would overwrite content"):Zw.fromReplace(e,this.from,this.to,this.slice)}getMap(){return new Nw([this.from,this.to-this.from,this.slice.size])}invert(e){return new Hw(this.from,this.from+this.slice.size,e.slice(this.from,this.to))}map(e){let t=e.mapResult(this.from,1),n=e.mapResult(this.to,-1);return t.deletedAcross&&n.deletedAcross?null:new Hw(t.pos,Math.max(t.pos,n.pos),this.slice)}merge(e){if(!(e instanceof Hw)||e.structure||this.structure)return null;if(this.from+this.slice.size!=e.from||this.slice.openEnd||e.slice.openStart){if(e.to!=this.from||this.slice.openStart||e.slice.openEnd)return null;{let t=this.slice.size+e.slice.size==0?Lb.empty:new Lb(e.slice.content.append(this.slice.content),e.slice.openStart,this.slice.openEnd);return new Hw(e.from,this.to,t,this.structure)}}{let t=this.slice.size+e.slice.size==0?Lb.empty:new Lb(this.slice.content.append(e.slice.content),this.slice.openStart,e.slice.openEnd);return new Hw(this.from,this.to+(e.to-e.from),t,this.structure)}}toJSON(){let e={stepType:"replace",from:this.from,to:this.to};return this.slice.size&&(e.slice=this.slice.toJSON()),this.structure&&(e.structure=!0),e}static fromJSON(e,t){if("number"!=typeof t.from||"number"!=typeof t.to)throw new RangeError("Invalid input for ReplaceStep.fromJSON");return new Hw(t.from,t.to,Lb.fromJSON(e,t.slice),!!t.structure)}}Pw.jsonID("replace",Hw);class Uw extends Pw{constructor(e,t,n,r,o,i,a=!1){super(),this.from=e,this.to=t,this.gapFrom=n,this.gapTo=r,this.slice=o,this.insert=i,this.structure=a}apply(e){if(this.structure&&(Ww(e,this.from,this.gapFrom)||Ww(e,this.gapTo,this.to)))return Zw.fail("Structure gap-replace would overwrite content");let t=e.slice(this.gapFrom,this.gapTo);if(t.openStart||t.openEnd)return Zw.fail("Gap is not a flat range");let n=this.slice.insertAt(this.insert,t.content);return n?Zw.fromReplace(e,this.from,this.to,n):Zw.fail("Content does not fit in gap")}getMap(){return new Nw([this.from,this.gapFrom-this.from,this.insert,this.gapTo,this.to-this.gapTo,this.slice.size-this.insert])}invert(e){let t=this.gapTo-this.gapFrom;return new Uw(this.from,this.from+this.slice.size+t,this.from+this.insert,this.from+this.insert+t,e.slice(this.from,this.to).removeBetween(this.gapFrom-this.from,this.gapTo-this.from),this.gapFrom-this.from,this.structure)}map(e){let t=e.mapResult(this.from,1),n=e.mapResult(this.to,-1),r=e.map(this.gapFrom,-1),o=e.map(this.gapTo,1);return t.deletedAcross&&n.deletedAcross||r<t.pos||o>n.pos?null:new Uw(t.pos,n.pos,r,o,this.slice,this.insert,this.structure)}toJSON(){let e={stepType:"replaceAround",from:this.from,to:this.to,gapFrom:this.gapFrom,gapTo:this.gapTo,insert:this.insert};return this.slice.size&&(e.slice=this.slice.toJSON()),this.structure&&(e.structure=!0),e}static fromJSON(e,t){if("number"!=typeof t.from||"number"!=typeof t.to||"number"!=typeof t.gapFrom||"number"!=typeof t.gapTo||"number"!=typeof t.insert)throw new RangeError("Invalid input for ReplaceAroundStep.fromJSON");return new Uw(t.from,t.to,t.gapFrom,t.gapTo,Lb.fromJSON(e,t.slice),t.insert,!!t.structure)}}function Ww(e,t,n){let r=e.resolve(t),o=n-t,i=r.depth;for(;o>0&&i>0&&r.indexAfter(i)==r.node(i).childCount;)i--,o--;if(o>0){let e=r.node(i).maybeChild(r.indexAfter(i));for(;o>0;){if(!e||e.isLeaf)return!0;e=e.firstChild,o--}}return!1}function Vw(e,t,n){return(0==t||e.canReplace(t,e.childCount))&&(n==e.childCount||e.canReplace(0,n))}function qw(e){let t=e.parent.content.cutByIndex(e.startIndex,e.endIndex);for(let n=e.depth;;--n){let r=e.$from.node(n),o=e.$from.index(n),i=e.$to.indexAfter(n);if(n<e.depth&&r.canReplace(o,i,t))return n;if(0==n||r.type.spec.isolating||!Vw(r,o,i))break}return null}function Gw(e){return{type:e,attrs:null}}function Kw(e,t,n=1,r){let o=e.resolve(t),i=o.depth-n,a=r&&r[r.length-1]||o.parent;if(i<0||o.parent.type.spec.isolating||!o.parent.canReplace(o.index(),o.parent.childCount)||!a.type.validContent(o.parent.content.cutByIndex(o.index(),o.parent.childCount)))return!1;for(let c=o.depth-1,u=n-2;c>i;c--,u--){let e=o.node(c),t=o.index(c);if(e.type.spec.isolating)return!1;let n=e.content.cutByIndex(t,e.childCount),i=r&&r[u+1];i&&(n=n.replaceChild(0,i.type.create(i.attrs)));let a=r&&r[u]||e;if(!e.canReplace(t+1,e.childCount)||!a.type.validContent(n))return!1}let s=o.indexAfter(i),l=r&&r[0];return o.node(i).canReplaceWith(s,s,l?l.type:o.node(i+1).type)}function Yw(e,t){let n=e.resolve(t),r=n.index();return Xw(n.nodeBefore,n.nodeAfter)&&n.parent.canReplace(r,r+1)}function Xw(e,t){return!(!e||!t||e.isLeaf||!e.canAppend(t))}function Jw(e,t,n=t,r=Lb.empty){if(t==n&&!r.size)return null;let o=e.resolve(t),i=e.resolve(n);return Qw(o,i,r)?new Hw(t,n,r):new ex(o,i,r).fit()}function Qw(e,t,n){return!n.openStart&&!n.openEnd&&e.start()==t.start()&&e.parent.canReplace(e.index(),t.index(),n.content)}Pw.jsonID("replaceAround",Uw);class ex{constructor(e,t,n){this.$from=e,this.$to=t,this.unplaced=n,this.frontier=[],this.placed=Tb.empty;for(let r=0;r<=e.depth;r++){let t=e.node(r);this.frontier.push({type:t.type,match:t.contentMatchAt(e.indexAfter(r))})}for(let r=e.depth;r>0;r--)this.placed=Tb.from(e.node(r).copy(this.placed))}get depth(){return this.frontier.length-1}fit(){for(;this.unplaced.size;){let e=this.findFittable();e?this.placeNodes(e):this.openMore()||this.dropNode()}let e=this.mustMoveInline(),t=this.placed.size-this.depth-this.$from.depth,n=this.$from,r=this.close(e<0?this.$to:n.doc.resolve(e));if(!r)return null;let o=this.placed,i=n.depth,a=r.depth;for(;i&&a&&1==o.childCount;)o=o.firstChild.content,i--,a--;let s=new Lb(o,i,a);return e>-1?new Uw(n.pos,e,this.$to.pos,this.$to.end(),s,t):s.size||n.pos!=this.$to.pos?new Hw(n.pos,r.pos,s):null}findFittable(){let e=this.unplaced.openStart;for(let t=this.unplaced.content,n=0,r=this.unplaced.openEnd;n<e;n++){let o=t.firstChild;if(t.childCount>1&&(r=0),o.type.spec.isolating&&r<=n){e=n;break}t=o.content}for(let t=1;t<=2;t++)for(let n=1==t?e:this.unplaced.openStart;n>=0;n--){let e,r=null;n?(r=rx(this.unplaced.content,n-1).firstChild,e=r.content):e=this.unplaced.content;let o=e.firstChild;for(let i=this.depth;i>=0;i--){let e,{type:a,match:s}=this.frontier[i],l=null;if(1==t&&(o?s.matchType(o.type)||(l=s.fillBefore(Tb.from(o),!1)):r&&a.compatibleContent(r.type)))return{sliceDepth:n,frontierDepth:i,parent:r,inject:l};if(2==t&&o&&(e=s.findWrapping(o.type)))return{sliceDepth:n,frontierDepth:i,parent:r,wrap:e};if(r&&s.matchType(r.type))break}}}openMore(){let{content:e,openStart:t,openEnd:n}=this.unplaced,r=rx(e,t);return!(!r.childCount||r.firstChild.isLeaf)&&(this.unplaced=new Lb(e,t+1,Math.max(n,r.size+t>=e.size-n?t+1:0)),!0)}dropNode(){let{content:e,openStart:t,openEnd:n}=this.unplaced,r=rx(e,t);if(r.childCount<=1&&t>0){let o=e.size-t<=t+r.size;this.unplaced=new Lb(tx(e,t-1,1),t-1,o?t-1:n)}else this.unplaced=new Lb(tx(e,t,1),t,n)}placeNodes({sliceDepth:e,frontierDepth:t,parent:n,inject:r,wrap:o}){for(;this.depth>t;)this.closeFrontierNode();if(o)for(let h=0;h<o.length;h++)this.openFrontierNode(o[h]);let i=this.unplaced,a=n?n.content:i.content,s=i.openStart-e,l=0,c=[],{match:u,type:d}=this.frontier[t];if(r){for(let e=0;e<r.childCount;e++)c.push(r.child(e));u=u.matchFragment(r)}let p=a.size+e-(i.content.size-i.openEnd);for(;l<a.childCount;){let e=a.child(l),t=u.matchType(e.type);if(!t)break;l++,(l>1||0==s||e.content.size)&&(u=t,c.push(ox(e.mark(d.allowedMarks(e.marks)),1==l?s:0,l==a.childCount?p:-1)))}let f=l==a.childCount;f||(p=-1),this.placed=nx(this.placed,t,Tb.from(c)),this.frontier[t].match=u,f&&p<0&&n&&n.type==this.frontier[this.depth].type&&this.frontier.length>1&&this.closeFrontierNode();for(let h=0,m=a;h<p;h++){let e=m.lastChild;this.frontier.push({type:e.type,match:e.contentMatchAt(e.childCount)}),m=e.content}this.unplaced=f?0==e?Lb.empty:new Lb(tx(i.content,e-1,1),e-1,p<0?i.openEnd:e-1):new Lb(tx(i.content,e,l),i.openStart,i.openEnd)}mustMoveInline(){if(!this.$to.parent.isTextblock)return-1;let e,t=this.frontier[this.depth];if(!t.type.isTextblock||!ix(this.$to,this.$to.depth,t.type,t.match,!1)||this.$to.depth==this.depth&&(e=this.findCloseLevel(this.$to))&&e.depth==this.depth)return-1;let{depth:n}=this.$to,r=this.$to.after(n);for(;n>1&&r==this.$to.end(--n);)++r;return r}findCloseLevel(e){e:for(let t=Math.min(this.depth,e.depth);t>=0;t--){let{match:n,type:r}=this.frontier[t],o=t<e.depth&&e.end(t+1)==e.pos+(e.depth-(t+1)),i=ix(e,t,r,n,o);if(i){for(let n=t-1;n>=0;n--){let{match:t,type:r}=this.frontier[n],o=ix(e,n,r,t,!0);if(!o||o.childCount)continue e}return{depth:t,fit:i,move:o?e.doc.resolve(e.after(t+1)):e}}}}close(e){let t=this.findCloseLevel(e);if(!t)return null;for(;this.depth>t.depth;)this.closeFrontierNode();t.fit.childCount&&(this.placed=nx(this.placed,t.depth,t.fit)),e=t.move;for(let n=t.depth+1;n<=e.depth;n++){let t=e.node(n),r=t.type.contentMatch.fillBefore(t.content,!0,e.index(n));this.openFrontierNode(t.type,t.attrs,r)}return e}openFrontierNode(e,t=null,n){let r=this.frontier[this.depth];r.match=r.match.matchType(e),this.placed=nx(this.placed,this.depth,Tb.from(e.create(t,n))),this.frontier.push({type:e,match:e.contentMatch})}closeFrontierNode(){let e=this.frontier.pop().match.fillBefore(Tb.empty,!0);e.childCount&&(this.placed=nx(this.placed,this.frontier.length,e))}}function tx(e,t,n){return 0==t?e.cutByIndex(n,e.childCount):e.replaceChild(0,e.firstChild.copy(tx(e.firstChild.content,t-1,n)))}function nx(e,t,n){return 0==t?e.append(n):e.replaceChild(e.childCount-1,e.lastChild.copy(nx(e.lastChild.content,t-1,n)))}function rx(e,t){for(let n=0;n<t;n++)e=e.firstChild.content;return e}function ox(e,t,n){if(t<=0)return e;let r=e.content;return t>1&&(r=r.replaceChild(0,ox(r.firstChild,t-1,1==r.childCount?n-1:0))),t>0&&(r=e.type.contentMatch.fillBefore(r).append(r),n<=0&&(r=r.append(e.type.contentMatch.matchFragment(r).fillBefore(Tb.empty,!0)))),e.copy(r)}function ix(e,t,n,r,o){let i=e.node(t),a=o?e.indexAfter(t):e.index(t);if(a==i.childCount&&!n.compatibleContent(i.type))return null;let s=r.fillBefore(i.content,!0,a);return s&&!function(e,t,n){for(let r=n;r<t.childCount;r++)if(!e.allowsMarks(t.child(r).marks))return!0;return!1}(n,i.content,a)?s:null}function ax(e,t,n,r,o){if(t<n){let o=e.firstChild;e=e.replaceChild(0,o.copy(ax(o.content,t+1,n,r,o)))}if(t>r){let t=o.contentMatchAt(0),n=t.fillBefore(e).append(e);e=n.append(t.matchFragment(n).fillBefore(Tb.empty,!0))}return e}function sx(e,t){let n=[];for(let r=Math.min(e.depth,t.depth);r>=0;r--){let o=e.start(r);if(o<e.pos-(e.depth-r)||t.end(r)>t.pos+(t.depth-r)||e.node(r).type.spec.isolating||t.node(r).type.spec.isolating)break;(o==t.start(r)||r==e.depth&&r==t.depth&&e.parent.inlineContent&&t.parent.inlineContent&&r&&t.start(r-1)==o-1)&&n.push(r)}return n}class lx extends Pw{constructor(e,t,n){super(),this.pos=e,this.attr=t,this.value=n}apply(e){let t=e.nodeAt(this.pos);if(!t)return Zw.fail("No node at attribute step's position");let n=Object.create(null);for(let o in t.attrs)n[o]=t.attrs[o];n[this.attr]=this.value;let r=t.type.create(n,null,t.marks);return Zw.fromReplace(e,this.pos,this.pos+1,new Lb(Tb.from(r),0,t.isLeaf?0:1))}getMap(){return Nw.empty}invert(e){return new lx(this.pos,this.attr,e.nodeAt(this.pos).attrs[this.attr])}map(e){let t=e.mapResult(this.pos,1);return t.deletedAfter?null:new lx(t.pos,this.attr,this.value)}toJSON(){return{stepType:"attr",pos:this.pos,attr:this.attr,value:this.value}}static fromJSON(e,t){if("number"!=typeof t.pos||"string"!=typeof t.attr)throw new RangeError("Invalid input for AttrStep.fromJSON");return new lx(t.pos,t.attr,t.value)}}Pw.jsonID("attr",lx);class cx extends Pw{constructor(e,t){super(),this.attr=e,this.value=t}apply(e){let t=Object.create(null);for(let r in e.attrs)t[r]=e.attrs[r];t[this.attr]=this.value;let n=e.type.create(t,e.content,e.marks);return Zw.ok(n)}getMap(){return Nw.empty}invert(e){return new cx(this.attr,e.attrs[this.attr])}map(e){return this}toJSON(){return{stepType:"docAttr",attr:this.attr,value:this.value}}static fromJSON(e,t){if("string"!=typeof t.attr)throw new RangeError("Invalid input for DocAttrStep.fromJSON");return new cx(t.attr,t.value)}}Pw.jsonID("docAttr",cx);let ux=class extends Error{};ux=function e(t){let n=Error.call(this,t);return n.__proto__=e.prototype,n},(ux.prototype=Object.create(Error.prototype)).constructor=ux,ux.prototype.name="TransformError";class dx{constructor(e){this.doc=e,this.steps=[],this.docs=[],this.mapping=new Rw}get before(){return this.docs.length?this.docs[0]:this.doc}step(e){let t=this.maybeStep(e);if(t.failed)throw new ux(t.failed);return this}maybeStep(e){let t=e.apply(this.doc);return t.failed||this.addStep(e,t.doc),t}get docChanged(){return this.steps.length>0}addStep(e,t){this.docs.push(this.doc),this.steps.push(e),this.mapping.appendMap(e.getMap()),this.doc=t}replace(e,t=e,n=Lb.empty){let r=Jw(this.doc,e,t,n);return r&&this.step(r),this}replaceWith(e,t,n){return this.replace(e,t,new Lb(Tb.from(n),0,0))}delete(e,t){return this.replace(e,t,Lb.empty)}insert(e,t){return this.replaceWith(e,e,t)}replaceRange(e,t,n){return function(e,t,n,r){if(!r.size)return e.deleteRange(t,n);let o=e.doc.resolve(t),i=e.doc.resolve(n);if(Qw(o,i,r))return e.step(new Hw(t,n,r));let a=sx(o,e.doc.resolve(n));0==a[a.length-1]&&a.pop();let s=-(o.depth+1);a.unshift(s);for(let f=o.depth,h=o.pos-1;f>0;f--,h--){let e=o.node(f).type.spec;if(e.defining||e.definingAsContext||e.isolating)break;a.indexOf(f)>-1?s=f:o.before(f)==h&&a.splice(1,0,-f)}let l=a.indexOf(s),c=[],u=r.openStart;for(let f=r.content,h=0;;h++){let e=f.firstChild;if(c.push(e),h==r.openStart)break;f=e.content}for(let f=u-1;f>=0;f--){let e=c[f],t=(d=e.type).spec.defining||d.spec.definingForContent;if(t&&!e.sameMarkup(o.node(Math.abs(s)-1)))u=f;else if(t||!e.type.isTextblock)break}var d;for(let f=r.openStart;f>=0;f--){let t=(f+u+1)%(r.openStart+1),s=c[t];if(s)for(let c=0;c<a.length;c++){let u=a[(c+l)%a.length],d=!0;u<0&&(d=!1,u=-u);let p=o.node(u-1),f=o.index(u-1);if(p.canReplaceWith(f,f,s.type,s.marks))return e.replace(o.before(u),d?i.after(u):n,new Lb(ax(r.content,0,r.openStart,t),t,r.openEnd))}}let p=e.steps.length;for(let f=a.length-1;f>=0&&(e.replace(t,n,r),!(e.steps.length>p));f--){let e=a[f];e<0||(t=o.before(e),n=i.after(e))}}(this,e,t,n),this}replaceRangeWith(e,t,n){return function(e,t,n,r){if(!r.isInline&&t==n&&e.doc.resolve(t).parent.content.size){let o=function(e,t,n){let r=e.resolve(t);if(r.parent.canReplaceWith(r.index(),r.index(),n))return t;if(0==r.parentOffset)for(let o=r.depth-1;o>=0;o--){let e=r.index(o);if(r.node(o).canReplaceWith(e,e,n))return r.before(o+1);if(e>0)return null}if(r.parentOffset==r.parent.content.size)for(let o=r.depth-1;o>=0;o--){let e=r.indexAfter(o);if(r.node(o).canReplaceWith(e,e,n))return r.after(o+1);if(e<r.node(o).childCount)return null}return null}(e.doc,t,r.type);null!=o&&(t=n=o)}e.replaceRange(t,n,new Lb(Tb.from(r),0,0))}(this,e,t,n),this}deleteRange(e,t){return function(e,t,n){let r=e.doc.resolve(t),o=e.doc.resolve(n),i=sx(r,o);for(let a=0;a<i.length;a++){let t=i[a],n=a==i.length-1;if(n&&0==t||r.node(t).type.contentMatch.validEnd)return e.delete(r.start(t),o.end(t));if(t>0&&(n||r.node(t-1).canReplace(r.index(t-1),o.indexAfter(t-1))))return e.delete(r.before(t),o.after(t))}for(let a=1;a<=r.depth&&a<=o.depth;a++)if(t-r.start(a)==r.depth-a&&n>r.end(a)&&o.end(a)-n!=o.depth-a)return e.delete(r.before(a),n);e.delete(t,n)}(this,e,t),this}lift(e,t){return function(e,t,n){let{$from:r,$to:o,depth:i}=t,a=r.before(i+1),s=o.after(i+1),l=a,c=s,u=Tb.empty,d=0;for(let h=i,m=!1;h>n;h--)m||r.index(h)>0?(m=!0,u=Tb.from(r.node(h).copy(u)),d++):l--;let p=Tb.empty,f=0;for(let h=i,m=!1;h>n;h--)m||o.after(h+1)<o.end(h)?(m=!0,p=Tb.from(o.node(h).copy(p)),f++):c++;e.step(new Uw(l,c,a,s,new Lb(u.append(p),d,f),u.size-d,!0))}(this,e,t),this}join(e,t=1){return function(e,t,n){let r=new Hw(t-n,t+n,Lb.empty,!0);e.step(r)}(this,e,t),this}wrap(e,t){return function(e,t,n){let r=Tb.empty;for(let a=n.length-1;a>=0;a--){if(r.size){let e=n[a].type.contentMatch.matchFragment(r);if(!e||!e.validEnd)throw new RangeError("Wrapper type given to Transform.wrap does not form valid content of its parent wrapper")}r=Tb.from(n[a].type.create(n[a].attrs,r))}let o=t.start,i=t.end;e.step(new Uw(o,i,o,i,new Lb(r,0,0),n.length,!0))}(this,e,t),this}setBlockType(e,t=e,n,r=null){return function(e,t,n,r,o){if(!r.isTextblock)throw new RangeError("Type given to setBlockType should be a textblock");let i=e.steps.length;e.doc.nodesBetween(t,n,((t,n)=>{if(t.isTextblock&&!t.hasMarkup(r,o)&&function(e,t,n){let r=e.resolve(t),o=r.index();return r.parent.canReplaceWith(o,o+1,n)}(e.doc,e.mapping.slice(i).map(n),r)){e.clearIncompatible(e.mapping.slice(i).map(n,1),r);let a=e.mapping.slice(i),s=a.map(n,1),l=a.map(n+t.nodeSize,1);return e.step(new Uw(s,l,s+1,l-1,new Lb(Tb.from(r.create(o,null,t.marks)),0,0),1,!0)),!1}}))}(this,e,t,n,r),this}setNodeMarkup(e,t,n=null,r){return function(e,t,n,r,o){let i=e.doc.nodeAt(t);if(!i)throw new RangeError("No node at given position");n||(n=i.type);let a=n.create(r,null,o||i.marks);if(i.isLeaf)return e.replaceWith(t,t+i.nodeSize,a);if(!n.validContent(i.content))throw new RangeError("Invalid content for node type "+n.name);e.step(new Uw(t,t+i.nodeSize,t+1,t+i.nodeSize-1,new Lb(Tb.from(a),0,0),1,!0))}(this,e,t,n,r),this}setNodeAttribute(e,t,n){return this.step(new lx(e,t,n)),this}setDocAttribute(e,t){return this.step(new cx(e,t)),this}addNodeMark(e,t){return this.step(new Bw(e,t)),this}removeNodeMark(e,t){if(!(t instanceof Ab)){let n=this.doc.nodeAt(e);if(!n)throw new RangeError("No node at position "+e);if(!(t=t.isInSet(n.marks)))return this}return this.step(new zw(e,t)),this}split(e,t=1,n){return function(e,t,n=1,r){let o=e.doc.resolve(t),i=Tb.empty,a=Tb.empty;for(let s=o.depth,l=o.depth-n,c=n-1;s>l;s--,c--){i=Tb.from(o.node(s).copy(i));let e=r&&r[c];a=Tb.from(e?e.type.create(e.attrs,a):o.node(s).copy(a))}e.step(new Hw(t,t,new Lb(i.append(a),n,n),!0))}(this,e,t,n),this}addMark(e,t,n){return function(e,t,n,r){let o,i,a=[],s=[];e.doc.nodesBetween(t,n,((e,l,c)=>{if(!e.isInline)return;let u=e.marks;if(!r.isInSet(u)&&c.type.allowsMarkType(r.type)){let c=Math.max(l,t),d=Math.min(l+e.nodeSize,n),p=r.addToSet(u);for(let e=0;e<u.length;e++)u[e].isInSet(p)||(o&&o.to==c&&o.mark.eq(u[e])?o.to=d:a.push(o=new jw(c,d,u[e])));i&&i.to==c?i.to=d:s.push(i=new Fw(c,d,r))}})),a.forEach((t=>e.step(t))),s.forEach((t=>e.step(t)))}(this,e,t,n),this}removeMark(e,t,n){return function(e,t,n,r){let o=[],i=0;e.doc.nodesBetween(t,n,((e,a)=>{if(!e.isInline)return;i++;let s=null;if(r instanceof fw){let t,n=e.marks;for(;t=r.isInSet(n);)(s||(s=[])).push(t),n=t.removeFromSet(n)}else r?r.isInSet(e.marks)&&(s=[r]):s=e.marks;if(s&&s.length){let r=Math.min(a+e.nodeSize,n);for(let e=0;e<s.length;e++){let n,l=s[e];for(let e=0;e<o.length;e++){let t=o[e];t.step==i-1&&l.eq(o[e].style)&&(n=t)}n?(n.to=r,n.step=i):o.push({style:l,from:Math.max(a,t),to:r,step:i})}}})),o.forEach((t=>e.step(new jw(t.from,t.to,t.style))))}(this,e,t,n),this}clearIncompatible(e,t,n){return function(e,t,n,r=n.contentMatch){let o=e.doc.nodeAt(t),i=[],a=t+1;for(let s=0;s<o.childCount;s++){let t=o.child(s),l=a+t.nodeSize,c=r.matchType(t.type);if(c){r=c;for(let r=0;r<t.marks.length;r++)n.allowsMarkType(t.marks[r].type)||e.step(new jw(a,l,t.marks[r]));if(t.isText&&!n.spec.code){let e,r,o=/\r?\n|\r/g;for(;e=o.exec(t.text);)r||(r=new Lb(Tb.from(n.schema.text(" ",n.allowedMarks(t.marks))),0,0)),i.push(new Hw(a+e.index,a+e.index+e[0].length,r))}}else i.push(new Hw(a,l,Lb.empty));a=l}if(!r.validEnd){let t=r.fillBefore(Tb.empty,!0);e.replace(a,a,new Lb(t,0,0))}for(let s=i.length-1;s>=0;s--)e.step(i[s])}(this,e,t,n),this}}const px=Object.create(null);class fx{constructor(e,t,n){this.$anchor=e,this.$head=t,this.ranges=n||[new hx(e.min(t),e.max(t))]}get anchor(){return this.$anchor.pos}get head(){return this.$head.pos}get from(){return this.$from.pos}get to(){return this.$to.pos}get $from(){return this.ranges[0].$from}get $to(){return this.ranges[0].$to}get empty(){let e=this.ranges;for(let t=0;t<e.length;t++)if(e[t].$from.pos!=e[t].$to.pos)return!1;return!0}content(){return this.$from.doc.slice(this.from,this.to,!0)}replace(e,t=Lb.empty){let n=t.content.lastChild,r=null;for(let a=0;a<t.openEnd;a++)r=n,n=n.lastChild;let o=e.steps.length,i=this.ranges;for(let a=0;a<i.length;a++){let{$from:s,$to:l}=i[a],c=e.mapping.slice(o);e.replaceRange(c.map(s.pos),c.map(l.pos),a?Lb.empty:t),0==a&&Cx(e,o,(n?n.isInline:r&&r.isTextblock)?-1:1)}}replaceWith(e,t){let n=e.steps.length,r=this.ranges;for(let o=0;o<r.length;o++){let{$from:i,$to:a}=r[o],s=e.mapping.slice(n),l=s.map(i.pos),c=s.map(a.pos);o?e.deleteRange(l,c):(e.replaceRangeWith(l,c,t),Cx(e,n,t.isInline?-1:1))}}static findFrom(e,t,n=!1){let r=e.parent.inlineContent?new gx(e):Sx(e.node(0),e.parent,e.pos,e.index(),t,n);if(r)return r;for(let o=e.depth-1;o>=0;o--){let r=t<0?Sx(e.node(0),e.node(o),e.before(o+1),e.index(o),t,n):Sx(e.node(0),e.node(o),e.after(o+1),e.index(o)+1,t,n);if(r)return r}return null}static near(e,t=1){return this.findFrom(e,t)||this.findFrom(e,-t)||new xx(e.node(0))}static atStart(e){return Sx(e,e,0,0,1)||new xx(e)}static atEnd(e){return Sx(e,e,e.content.size,e.childCount,-1)||new xx(e)}static fromJSON(e,t){if(!t||!t.type)throw new RangeError("Invalid input for Selection.fromJSON");let n=px[t.type];if(!n)throw new RangeError(`No selection type ${t.type} defined`);return n.fromJSON(e,t)}static jsonID(e,t){if(e in px)throw new RangeError("Duplicate use of selection JSON ID "+e);return px[e]=t,t.prototype.jsonID=e,t}getBookmark(){return gx.between(this.$anchor,this.$head).getBookmark()}}fx.prototype.visible=!0;class hx{constructor(e,t){this.$from=e,this.$to=t}}let mx=!1;function vx(e){mx||e.parent.inlineContent||(mx=!0,console.warn("TextSelection endpoint not pointing into a node with inline content ("+e.parent.type.name+")"))}class gx extends fx{constructor(e,t=e){vx(e),vx(t),super(e,t)}get $cursor(){return this.$anchor.pos==this.$head.pos?this.$head:null}map(e,t){let n=e.resolve(t.map(this.head));if(!n.parent.inlineContent)return fx.near(n);let r=e.resolve(t.map(this.anchor));return new gx(r.parent.inlineContent?r:n,n)}replace(e,t=Lb.empty){if(super.replace(e,t),t==Lb.empty){let t=this.$from.marksAcross(this.$to);t&&e.ensureMarks(t)}}eq(e){return e instanceof gx&&e.anchor==this.anchor&&e.head==this.head}getBookmark(){return new yx(this.anchor,this.head)}toJSON(){return{type:"text",anchor:this.anchor,head:this.head}}static fromJSON(e,t){if("number"!=typeof t.anchor||"number"!=typeof t.head)throw new RangeError("Invalid input for TextSelection.fromJSON");return new gx(e.resolve(t.anchor),e.resolve(t.head))}static create(e,t,n=t){let r=e.resolve(t);return new this(r,n==t?r:e.resolve(n))}static between(e,t,n){let r=e.pos-t.pos;if(n&&!r||(n=r>=0?1:-1),!t.parent.inlineContent){let e=fx.findFrom(t,n,!0)||fx.findFrom(t,-n,!0);if(!e)return fx.near(t,n);t=e.$head}return e.parent.inlineContent||(0==r||(e=(fx.findFrom(e,-n,!0)||fx.findFrom(e,n,!0)).$anchor).pos<t.pos!=r<0)&&(e=t),new gx(e,t)}}fx.jsonID("text",gx);class yx{constructor(e,t){this.anchor=e,this.head=t}map(e){return new yx(e.map(this.anchor),e.map(this.head))}resolve(e){return gx.between(e.resolve(this.anchor),e.resolve(this.head))}}class bx extends fx{constructor(e){let t=e.nodeAfter,n=e.node(0).resolve(e.pos+t.nodeSize);super(e,n),this.node=t}map(e,t){let{deleted:n,pos:r}=t.mapResult(this.anchor),o=e.resolve(r);return n?fx.near(o):new bx(o)}content(){return new Lb(Tb.from(this.node),0,0)}eq(e){return e instanceof bx&&e.anchor==this.anchor}toJSON(){return{type:"node",anchor:this.anchor}}getBookmark(){return new wx(this.anchor)}static fromJSON(e,t){if("number"!=typeof t.anchor)throw new RangeError("Invalid input for NodeSelection.fromJSON");return new bx(e.resolve(t.anchor))}static create(e,t){return new bx(e.resolve(t))}static isSelectable(e){return!e.isText&&!1!==e.type.spec.selectable}}bx.prototype.visible=!1,fx.jsonID("node",bx);class wx{constructor(e){this.anchor=e}map(e){let{deleted:t,pos:n}=e.mapResult(this.anchor);return t?new yx(n,n):new wx(n)}resolve(e){let t=e.resolve(this.anchor),n=t.nodeAfter;return n&&bx.isSelectable(n)?new bx(t):fx.near(t)}}class xx extends fx{constructor(e){super(e.resolve(0),e.resolve(e.content.size))}replace(e,t=Lb.empty){if(t==Lb.empty){e.delete(0,e.doc.content.size);let t=fx.atStart(e.doc);t.eq(e.selection)||e.setSelection(t)}else super.replace(e,t)}toJSON(){return{type:"all"}}static fromJSON(e){return new xx(e)}map(e){return new xx(e)}eq(e){return e instanceof xx}getBookmark(){return kx}}fx.jsonID("all",xx);const kx={map(){return this},resolve:e=>new xx(e)};function Sx(e,t,n,r,o,i=!1){if(t.inlineContent)return gx.create(e,n);for(let a=r-(o>0?0:1);o>0?a<t.childCount:a>=0;a+=o){let r=t.child(a);if(r.isAtom){if(!i&&bx.isSelectable(r))return bx.create(e,n-(o<0?r.nodeSize:0))}else{let t=Sx(e,r,n+o,o<0?r.childCount:0,o,i);if(t)return t}n+=r.nodeSize*o}return null}function Cx(e,t,n){let r=e.steps.length-1;if(r<t)return;let o,i=e.steps[r];(i instanceof Hw||i instanceof Uw)&&(e.mapping.maps[r].forEach(((e,t,n,r)=>{null==o&&(o=r)})),e.setSelection(fx.near(e.doc.resolve(o),n)))}class Ex extends dx{constructor(e){super(e.doc),this.curSelectionFor=0,this.updated=0,this.meta=Object.create(null),this.time=Date.now(),this.curSelection=e.selection,this.storedMarks=e.storedMarks}get selection(){return this.curSelectionFor<this.steps.length&&(this.curSelection=this.curSelection.map(this.doc,this.mapping.slice(this.curSelectionFor)),this.curSelectionFor=this.steps.length),this.curSelection}setSelection(e){if(e.$from.doc!=this.doc)throw new RangeError("Selection passed to setSelection must point at the current document");return this.curSelection=e,this.curSelectionFor=this.steps.length,this.updated=-3&(1|this.updated),this.storedMarks=null,this}get selectionSet(){return(1&this.updated)>0}setStoredMarks(e){return this.storedMarks=e,this.updated|=2,this}ensureMarks(e){return Ab.sameSet(this.storedMarks||this.selection.$from.marks(),e)||this.setStoredMarks(e),this}addStoredMark(e){return this.ensureMarks(e.addToSet(this.storedMarks||this.selection.$head.marks()))}removeStoredMark(e){return this.ensureMarks(e.removeFromSet(this.storedMarks||this.selection.$head.marks()))}get storedMarksSet(){return(2&this.updated)>0}addStep(e,t){super.addStep(e,t),this.updated=-3&this.updated,this.storedMarks=null}setTime(e){return this.time=e,this}replaceSelection(e){return this.selection.replace(this,e),this}replaceSelectionWith(e,t=!0){let n=this.selection;return t&&(e=e.mark(this.storedMarks||(n.empty?n.$from.marks():n.$from.marksAcross(n.$to)||Ab.none))),n.replaceWith(this,e),this}deleteSelection(){return this.selection.replace(this),this}insertText(e,t,n){let r=this.doc.type.schema;if(null==t)return e?this.replaceSelectionWith(r.text(e),!0):this.deleteSelection();{if(null==n&&(n=t),n=null==n?t:n,!e)return this.deleteRange(t,n);let o=this.storedMarks;if(!o){let e=this.doc.resolve(t);o=n==t?e.marks():e.marksAcross(this.doc.resolve(n))}return this.replaceRangeWith(t,n,r.text(e,o)),this.selection.empty||this.setSelection(fx.near(this.selection.$to)),this}}setMeta(e,t){return this.meta["string"==typeof e?e:e.key]=t,this}getMeta(e){return this.meta["string"==typeof e?e:e.key]}get isGeneric(){for(let e in this.meta)return!1;return!0}scrollIntoView(){return this.updated|=4,this}get scrolledIntoView(){return(4&this.updated)>0}}function Tx(e,t){return t&&e?e.bind(t):e}class Ox{constructor(e,t,n){this.name=e,this.init=Tx(t.init,n),this.apply=Tx(t.apply,n)}}const $x=[new Ox("doc",{init:e=>e.doc||e.schema.topNodeType.createAndFill(),apply:e=>e.doc}),new Ox("selection",{init:(e,t)=>e.selection||fx.atStart(t.doc),apply:e=>e.selection}),new Ox("storedMarks",{init:e=>e.storedMarks||null,apply:(e,t,n,r)=>r.selection.$cursor?e.storedMarks:null}),new Ox("scrollToSelection",{init:()=>0,apply:(e,t)=>e.scrolledIntoView?t+1:t})];class Mx{constructor(e,t){this.schema=e,this.plugins=[],this.pluginsByKey=Object.create(null),this.fields=$x.slice(),t&&t.forEach((e=>{if(this.pluginsByKey[e.key])throw new RangeError("Adding different instances of a keyed plugin ("+e.key+")");this.plugins.push(e),this.pluginsByKey[e.key]=e,e.spec.state&&this.fields.push(new Ox(e.key,e.spec.state,e))}))}}class Ax{constructor(e){this.config=e}get schema(){return this.config.schema}get plugins(){return this.config.plugins}apply(e){return this.applyTransaction(e).state}filterTransaction(e,t=-1){for(let n=0;n<this.config.plugins.length;n++)if(n!=t){let t=this.config.plugins[n];if(t.spec.filterTransaction&&!t.spec.filterTransaction.call(t,e,this))return!1}return!0}applyTransaction(e){if(!this.filterTransaction(e))return{state:this,transactions:[]};let t=[e],n=this.applyInner(e),r=null;for(;;){let o=!1;for(let i=0;i<this.config.plugins.length;i++){let a=this.config.plugins[i];if(a.spec.appendTransaction){let s=r?r[i].n:0,l=r?r[i].state:this,c=s<t.length&&a.spec.appendTransaction.call(a,s?t.slice(s):t,l,n);if(c&&n.filterTransaction(c,i)){if(c.setMeta("appendedTransaction",e),!r){r=[];for(let e=0;e<this.config.plugins.length;e++)r.push(e<i?{state:n,n:t.length}:{state:this,n:0})}t.push(c),n=n.applyInner(c),o=!0}r&&(r[i]={state:n,n:t.length})}}if(!o)return{state:n,transactions:t}}}applyInner(e){if(!e.before.eq(this.doc))throw new RangeError("Applying a mismatched transaction");let t=new Ax(this.config),n=this.config.fields;for(let r=0;r<n.length;r++){let o=n[r];t[o.name]=o.apply(e,this[o.name],this,t)}return t}get tr(){return new Ex(this)}static create(e){let t=new Mx(e.doc?e.doc.type.schema:e.schema,e.plugins),n=new Ax(t);for(let r=0;r<t.fields.length;r++)n[t.fields[r].name]=t.fields[r].init(e,n);return n}reconfigure(e){let t=new Mx(this.schema,e.plugins),n=t.fields,r=new Ax(t);for(let o=0;o<n.length;o++){let t=n[o].name;r[t]=this.hasOwnProperty(t)?this[t]:n[o].init(e,r)}return r}toJSON(e){let t={doc:this.doc.toJSON(),selection:this.selection.toJSON()};if(this.storedMarks&&(t.storedMarks=this.storedMarks.map((e=>e.toJSON()))),e&&"object"==typeof e)for(let n in e){if("doc"==n||"selection"==n)throw new RangeError("The JSON fields `doc` and `selection` are reserved");let r=e[n],o=r.spec.state;o&&o.toJSON&&(t[n]=o.toJSON.call(r,this[r.key]))}return t}static fromJSON(e,t,n){if(!t)throw new RangeError("Invalid input for EditorState.fromJSON");if(!e.schema)throw new RangeError("Required config field 'schema' missing");let r=new Mx(e.schema,e.plugins),o=new Ax(r);return r.fields.forEach((r=>{if("doc"==r.name)o.doc=Yb.fromJSON(e.schema,t.doc);else if("selection"==r.name)o.selection=fx.fromJSON(o.doc,t.selection);else if("storedMarks"==r.name)t.storedMarks&&(o.storedMarks=t.storedMarks.map(e.schema.markFromJSON));else{if(n)for(let i in n){let a=n[i],s=a.spec.state;if(a.key==r.name&&s&&s.fromJSON&&Object.prototype.hasOwnProperty.call(t,i))return void(o[r.name]=s.fromJSON.call(a,e,t[i],o))}o[r.name]=r.init(e,o)}})),o}}function Dx(e,t,n){for(let r in e){let o=e[r];o instanceof Function?o=o.bind(t):"handleDOMEvents"==r&&(o=Dx(o,t,{})),n[r]=o}return n}class Lx{constructor(e){this.spec=e,this.props={},e.props&&Dx(e.props,this,this.props),this.key=e.key?e.key.key:Rx("plugin")}getState(e){return e[this.key]}}const Nx=Object.create(null);function Rx(e){return e in Nx?e+"$"+ ++Nx[e]:(Nx[e]=0,e+"$")}class Ix{constructor(e="key"){this.key=Rx(e)}get(e){return e.config.pluginsByKey[this.key]}getState(e){return e[this.key]}}const Px=function(e){for(var t=0;;t++)if(!(e=e.previousSibling))return t},Zx=function(e){let t=e.assignedSlot||e.parentNode;return t&&11==t.nodeType?t.host:t};let _x=null;const Fx=function(e,t,n){let r=_x||(_x=document.createRange());return r.setEnd(e,null==n?e.nodeValue.length:n),r.setStart(e,t||0),r},jx=function(e,t,n,r){return n&&(zx(e,t,n,r,-1)||zx(e,t,n,r,1))},Bx=/^(img|br|input|textarea|hr)$/i;function zx(e,t,n,r,o){for(;;){if(e==n&&t==r)return!0;if(t==(o<0?0:Hx(e))){let n=e.parentNode;if(!n||1!=n.nodeType||Ux(e)||Bx.test(e.nodeName)||"false"==e.contentEditable)return!1;t=Px(e)+(o<0?0:1),e=n}else{if(1!=e.nodeType)return!1;if("false"==(e=e.childNodes[t+(o<0?-1:0)]).contentEditable)return!1;t=o<0?Hx(e):0}}}function Hx(e){return 3==e.nodeType?e.nodeValue.length:e.childNodes.length}function Ux(e){let t;for(let n=e;n&&!(t=n.pmViewDesc);n=n.parentNode);return t&&t.node&&t.node.isBlock&&(t.dom==e||t.contentDOM==e)}const Wx=function(e){return e.focusNode&&jx(e.focusNode,e.focusOffset,e.anchorNode,e.anchorOffset)};function Vx(e,t){let n=document.createEvent("Event");return n.initEvent("keydown",!0,!0),n.keyCode=e,n.key=n.code=t,n}const qx="undefined"!=typeof navigator?navigator:null,Gx="undefined"!=typeof document?document:null,Kx=qx&&qx.userAgent||"",Yx=/Edge\/(\d+)/.exec(Kx),Xx=/MSIE \d/.exec(Kx),Jx=/Trident\/(?:[7-9]|\d{2,})\..*rv:(\d+)/.exec(Kx),Qx=!!(Xx||Jx||Yx),ek=Xx?document.documentMode:Jx?+Jx[1]:Yx?+Yx[1]:0,tk=!Qx&&/gecko\/(\d+)/i.test(Kx);tk&&(/Firefox\/(\d+)/.exec(Kx)||[0,0])[1];const nk=!Qx&&/Chrome\/(\d+)/.exec(Kx),rk=!!nk,ok=nk?+nk[1]:0,ik=!Qx&&!!qx&&/Apple Computer/.test(qx.vendor),ak=ik&&(/Mobile\/\w+/.test(Kx)||!!qx&&qx.maxTouchPoints>2),sk=ak||!!qx&&/Mac/.test(qx.platform),lk=!!qx&&/Win/.test(qx.platform),ck=/Android \d/.test(Kx),uk=!!Gx&&"webkitFontSmoothing"in Gx.documentElement.style,dk=uk?+(/\bAppleWebKit\/(\d+)/.exec(navigator.userAgent)||[0,0])[1]:0;function pk(e){return{left:0,right:e.documentElement.clientWidth,top:0,bottom:e.documentElement.clientHeight}}function fk(e,t){return"number"==typeof e?e:e[t]}function hk(e){let t=e.getBoundingClientRect(),n=t.width/e.offsetWidth||1,r=t.height/e.offsetHeight||1;return{left:t.left,right:t.left+e.clientWidth*n,top:t.top,bottom:t.top+e.clientHeight*r}}function mk(e,t,n){let r=e.someProp("scrollThreshold")||0,o=e.someProp("scrollMargin")||5,i=e.dom.ownerDocument;for(let a=n||e.dom;a;a=Zx(a)){if(1!=a.nodeType)continue;let e=a,n=e==i.body,s=n?pk(i):hk(e),l=0,c=0;if(t.top<s.top+fk(r,"top")?c=-(s.top-t.top+fk(o,"top")):t.bottom>s.bottom-fk(r,"bottom")&&(c=t.bottom-t.top>s.bottom-s.top?t.top+fk(o,"top")-s.top:t.bottom-s.bottom+fk(o,"bottom")),t.left<s.left+fk(r,"left")?l=-(s.left-t.left+fk(o,"left")):t.right>s.right-fk(r,"right")&&(l=t.right-s.right+fk(o,"right")),l||c)if(n)i.defaultView.scrollBy(l,c);else{let n=e.scrollLeft,r=e.scrollTop;c&&(e.scrollTop+=c),l&&(e.scrollLeft+=l);let o=e.scrollLeft-n,i=e.scrollTop-r;t={left:t.left-o,top:t.top-i,right:t.right-o,bottom:t.bottom-i}}if(n||/^(fixed|sticky)$/.test(getComputedStyle(a).position))break}}function vk(e){let t=[],n=e.ownerDocument;for(let r=e;r&&(t.push({dom:r,top:r.scrollTop,left:r.scrollLeft}),e!=n);r=Zx(r));return t}function gk(e,t){for(let n=0;n<e.length;n++){let{dom:r,top:o,left:i}=e[n];r.scrollTop!=o+t&&(r.scrollTop=o+t),r.scrollLeft!=i&&(r.scrollLeft=i)}}let yk=null;function bk(e,t){let n,r,o,i,a=2e8,s=0,l=t.top,c=t.top;for(let u=e.firstChild,d=0;u;u=u.nextSibling,d++){let e;if(1==u.nodeType)e=u.getClientRects();else{if(3!=u.nodeType)continue;e=Fx(u).getClientRects()}for(let p=0;p<e.length;p++){let f=e[p];if(f.top<=l&&f.bottom>=c){l=Math.max(f.bottom,l),c=Math.min(f.top,c);let e=f.left>t.left?f.left-t.left:f.right<t.left?t.left-f.right:0;if(e<a){n=u,a=e,r=e&&3==n.nodeType?{left:f.right<t.left?f.right:f.left,top:t.top}:t,1==u.nodeType&&e&&(s=d+(t.left>=(f.left+f.right)/2?1:0));continue}}else f.top>t.top&&!o&&f.left<=t.left&&f.right>=t.left&&(o=u,i={left:Math.max(f.left,Math.min(f.right,t.left)),top:f.top});!n&&(t.left>=f.right&&t.top>=f.top||t.left>=f.left&&t.top>=f.bottom)&&(s=d+1)}}return!n&&o&&(n=o,r=i,a=0),n&&3==n.nodeType?function(e,t){let n=e.nodeValue.length,r=document.createRange();for(let o=0;o<n;o++){r.setEnd(e,o+1),r.setStart(e,o);let n=Ck(r,1);if(n.top!=n.bottom&&wk(t,n))return{node:e,offset:o+(t.left>=(n.left+n.right)/2?1:0)}}return{node:e,offset:0}}(n,r):!n||a&&1==n.nodeType?{node:e,offset:s}:bk(n,r)}function wk(e,t){return e.left>=t.left-1&&e.left<=t.right+1&&e.top>=t.top-1&&e.top<=t.bottom+1}function xk(e,t,n){let r=e.childNodes.length;if(r&&n.top<n.bottom)for(let o=Math.max(0,Math.min(r-1,Math.floor(r*(t.top-n.top)/(n.bottom-n.top))-2)),i=o;;){let n=e.childNodes[i];if(1==n.nodeType){let e=n.getClientRects();for(let r=0;r<e.length;r++){let o=e[r];if(wk(t,o))return xk(n,t,o)}}if((i=(i+1)%r)==o)break}return e}function kk(e,t){let n,r=e.dom.ownerDocument,o=0,i=function(e,t,n){if(e.caretPositionFromPoint)try{let r=e.caretPositionFromPoint(t,n);if(r)return{node:r.offsetNode,offset:r.offset}}catch(r){}if(e.caretRangeFromPoint){let r=e.caretRangeFromPoint(t,n);if(r)return{node:r.startContainer,offset:r.startOffset}}}(r,t.left,t.top);i&&({node:n,offset:o}=i);let a,s=(e.root.elementFromPoint?e.root:r).elementFromPoint(t.left,t.top);if(!s||!e.dom.contains(1!=s.nodeType?s.parentNode:s)){let n=e.dom.getBoundingClientRect();if(!wk(t,n))return null;if(s=xk(e.dom,t,n),!s)return null}if(ik)for(let c=s;n&&c;c=Zx(c))c.draggable&&(n=void 0);if(s=function(e,t){let n=e.parentNode;return n&&/^li$/i.test(n.nodeName)&&t.left<e.getBoundingClientRect().left?n:e}(s,t),n){if(tk&&1==n.nodeType&&(o=Math.min(o,n.childNodes.length),o<n.childNodes.length)){let e,r=n.childNodes[o];"IMG"==r.nodeName&&(e=r.getBoundingClientRect()).right<=t.left&&e.bottom>t.top&&o++}let r;uk&&o&&1==n.nodeType&&1==(r=n.childNodes[o-1]).nodeType&&"false"==r.contentEditable&&r.getBoundingClientRect().top>=t.top&&o--,n==e.dom&&o==n.childNodes.length-1&&1==n.lastChild.nodeType&&t.top>n.lastChild.getBoundingClientRect().bottom?a=e.state.doc.content.size:0!=o&&1==n.nodeType&&"BR"==n.childNodes[o-1].nodeName||(a=function(e,t,n,r){let o=-1;for(let i=t,a=!1;i!=e.dom;){let t=e.docView.nearestDesc(i,!0);if(!t)return null;if(1==t.dom.nodeType&&(t.node.isBlock&&t.parent&&!a||!t.contentDOM)){let e=t.dom.getBoundingClientRect();if(t.node.isBlock&&t.parent&&!a&&(a=!0,e.left>r.left||e.top>r.top?o=t.posBefore:(e.right<r.left||e.bottom<r.top)&&(o=t.posAfter)),!t.contentDOM&&o<0&&!t.node.isText)return(t.node.isBlock?r.top<(e.top+e.bottom)/2:r.left<(e.left+e.right)/2)?t.posBefore:t.posAfter}i=t.dom.parentNode}return o>-1?o:e.docView.posFromDOM(t,n,-1)}(e,n,o,t))}null==a&&(a=function(e,t,n){let{node:r,offset:o}=bk(t,n),i=-1;if(1==r.nodeType&&!r.firstChild){let e=r.getBoundingClientRect();i=e.left!=e.right&&n.left>(e.left+e.right)/2?1:-1}return e.docView.posFromDOM(r,o,i)}(e,s,t));let l=e.docView.nearestDesc(s,!0);return{pos:a,inside:l?l.posAtStart-l.border:-1}}function Sk(e){return e.top<e.bottom||e.left<e.right}function Ck(e,t){let n=e.getClientRects();if(n.length){let e=n[t<0?0:n.length-1];if(Sk(e))return e}return Array.prototype.find.call(n,Sk)||e.getBoundingClientRect()}const Ek=/[\u0590-\u05f4\u0600-\u06ff\u0700-\u08ac]/;function Tk(e,t,n){let{node:r,offset:o,atom:i}=e.docView.domFromPos(t,n<0?-1:1),a=uk||tk;if(3==r.nodeType){if(!a||!Ek.test(r.nodeValue)&&(n<0?o:o!=r.nodeValue.length)){let e=o,t=o,i=n<0?1:-1;return n<0&&!o?(t++,i=-1):n>=0&&o==r.nodeValue.length?(e--,i=1):n<0?e--:t++,Ok(Ck(Fx(r,e,t),i),i<0)}{let e=Ck(Fx(r,o,o),n);if(tk&&o&&/\s/.test(r.nodeValue[o-1])&&o<r.nodeValue.length){let t=Ck(Fx(r,o-1,o-1),-1);if(t.top==e.top){let n=Ck(Fx(r,o,o+1),-1);if(n.top!=e.top)return Ok(n,n.left<t.left)}}return e}}if(!e.state.doc.resolve(t-(i||0)).parent.inlineContent){if(null==i&&o&&(n<0||o==Hx(r))){let e=r.childNodes[o-1];if(1==e.nodeType)return $k(e.getBoundingClientRect(),!1)}if(null==i&&o<Hx(r)){let e=r.childNodes[o];if(1==e.nodeType)return $k(e.getBoundingClientRect(),!0)}return $k(r.getBoundingClientRect(),n>=0)}if(null==i&&o&&(n<0||o==Hx(r))){let e=r.childNodes[o-1],t=3==e.nodeType?Fx(e,Hx(e)-(a?0:1)):1!=e.nodeType||"BR"==e.nodeName&&e.nextSibling?null:e;if(t)return Ok(Ck(t,1),!1)}if(null==i&&o<Hx(r)){let e=r.childNodes[o];for(;e.pmViewDesc&&e.pmViewDesc.ignoreForCoords;)e=e.nextSibling;let t=e?3==e.nodeType?Fx(e,0,a?0:1):1==e.nodeType?e:null:null;if(t)return Ok(Ck(t,-1),!0)}return Ok(Ck(3==r.nodeType?Fx(r):r,-n),n>=0)}function Ok(e,t){if(0==e.width)return e;let n=t?e.left:e.right;return{top:e.top,bottom:e.bottom,left:n,right:n}}function $k(e,t){if(0==e.height)return e;let n=t?e.top:e.bottom;return{top:n,bottom:n,left:e.left,right:e.right}}function Mk(e,t,n){let r=e.state,o=e.root.activeElement;r!=t&&e.updateState(t),o!=e.dom&&e.focus();try{return n()}finally{r!=t&&e.updateState(r),o!=e.dom&&o&&o.focus()}}const Ak=/[\u0590-\u08ac]/;let Dk=null,Lk=null,Nk=!1;function Rk(e,t,n){return Dk==t&&Lk==n?Nk:(Dk=t,Lk=n,Nk="up"==n||"down"==n?function(e,t,n){let r=t.selection,o="up"==n?r.$from:r.$to;return Mk(e,t,(()=>{let{node:t}=e.docView.domFromPos(o.pos,"up"==n?-1:1);for(;;){let n=e.docView.nearestDesc(t,!0);if(!n)break;if(n.node.isBlock){t=n.contentDOM||n.dom;break}t=n.dom.parentNode}let r=Tk(e,o.pos,1);for(let e=t.firstChild;e;e=e.nextSibling){let t;if(1==e.nodeType)t=e.getClientRects();else{if(3!=e.nodeType)continue;t=Fx(e,0,e.nodeValue.length).getClientRects()}for(let e=0;e<t.length;e++){let o=t[e];if(o.bottom>o.top+1&&("up"==n?r.top-o.top>2*(o.bottom-r.top):o.bottom-r.bottom>2*(r.bottom-o.top)))return!1}}return!0}))}(e,t,n):function(e,t,n){let{$head:r}=t.selection;if(!r.parent.isTextblock)return!1;let o=r.parentOffset,i=!o,a=o==r.parent.content.size,s=e.domSelection();return Ak.test(r.parent.textContent)&&s.modify?Mk(e,t,(()=>{let{focusNode:t,focusOffset:o,anchorNode:i,anchorOffset:a}=e.domSelectionRange(),l=s.caretBidiLevel;s.modify("move",n,"character");let c=r.depth?e.docView.domAfterPos(r.before()):e.dom,{focusNode:u,focusOffset:d}=e.domSelectionRange(),p=u&&!c.contains(1==u.nodeType?u:u.parentNode)||t==u&&o==d;try{s.collapse(i,a),t&&(t!=i||o!=a)&&s.extend&&s.extend(t,o)}catch(f){}return null!=l&&(s.caretBidiLevel=l),p})):"left"==n||"backward"==n?i:a}(e,t,n))}class Ik{constructor(e,t,n,r){this.parent=e,this.children=t,this.dom=n,this.contentDOM=r,this.dirty=0,n.pmViewDesc=this}matchesWidget(e){return!1}matchesMark(e){return!1}matchesNode(e,t,n){return!1}matchesHack(e){return!1}parseRule(){return null}stopEvent(e){return!1}get size(){let e=0;for(let t=0;t<this.children.length;t++)e+=this.children[t].size;return e}get border(){return 0}destroy(){this.parent=void 0,this.dom.pmViewDesc==this&&(this.dom.pmViewDesc=void 0);for(let e=0;e<this.children.length;e++)this.children[e].destroy()}posBeforeChild(e){for(let t=0,n=this.posAtStart;;t++){let r=this.children[t];if(r==e)return n;n+=r.size}}get posBefore(){return this.parent.posBeforeChild(this)}get posAtStart(){return this.parent?this.parent.posBeforeChild(this)+this.border:0}get posAfter(){return this.posBefore+this.size}get posAtEnd(){return this.posAtStart+this.size-2*this.border}localPosFromDOM(e,t,n){if(this.contentDOM&&this.contentDOM.contains(1==e.nodeType?e:e.parentNode)){if(n<0){let n,r;if(e==this.contentDOM)n=e.childNodes[t-1];else{for(;e.parentNode!=this.contentDOM;)e=e.parentNode;n=e.previousSibling}for(;n&&(!(r=n.pmViewDesc)||r.parent!=this);)n=n.previousSibling;return n?this.posBeforeChild(r)+r.size:this.posAtStart}{let n,r;if(e==this.contentDOM)n=e.childNodes[t];else{for(;e.parentNode!=this.contentDOM;)e=e.parentNode;n=e.nextSibling}for(;n&&(!(r=n.pmViewDesc)||r.parent!=this);)n=n.nextSibling;return n?this.posBeforeChild(r):this.posAtEnd}}let r;if(e==this.dom&&this.contentDOM)r=t>Px(this.contentDOM);else if(this.contentDOM&&this.contentDOM!=this.dom&&this.dom.contains(this.contentDOM))r=2&e.compareDocumentPosition(this.contentDOM);else if(this.dom.firstChild){if(0==t)for(let t=e;;t=t.parentNode){if(t==this.dom){r=!1;break}if(t.previousSibling)break}if(null==r&&t==e.childNodes.length)for(let t=e;;t=t.parentNode){if(t==this.dom){r=!0;break}if(t.nextSibling)break}}return(null==r?n>0:r)?this.posAtEnd:this.posAtStart}nearestDesc(e,t=!1){for(let n=!0,r=e;r;r=r.parentNode){let o,i=this.getDesc(r);if(i&&(!t||i.node)){if(!n||!(o=i.nodeDOM)||(1==o.nodeType?o.contains(1==e.nodeType?e:e.parentNode):o==e))return i;n=!1}}}getDesc(e){let t=e.pmViewDesc;for(let n=t;n;n=n.parent)if(n==this)return t}posFromDOM(e,t,n){for(let r=e;r;r=r.parentNode){let o=this.getDesc(r);if(o)return o.localPosFromDOM(e,t,n)}return-1}descAt(e){for(let t=0,n=0;t<this.children.length;t++){let r=this.children[t],o=n+r.size;if(n==e&&o!=n){for(;!r.border&&r.children.length;)r=r.children[0];return r}if(e<o)return r.descAt(e-n-r.border);n=o}}domFromPos(e,t){if(!this.contentDOM)return{node:this.dom,offset:0,atom:e+1};let n=0,r=0;for(let o=0;n<this.children.length;n++){let t=this.children[n],i=o+t.size;if(i>e||t instanceof zk){r=e-o;break}o=i}if(r)return this.children[n].domFromPos(r-this.children[n].border,t);for(let o;n&&!(o=this.children[n-1]).size&&o instanceof Pk&&o.side>=0;n--);if(t<=0){let e,r=!0;for(;e=n?this.children[n-1]:null,e&&e.dom.parentNode!=this.contentDOM;n--,r=!1);return e&&t&&r&&!e.border&&!e.domAtom?e.domFromPos(e.size,t):{node:this.contentDOM,offset:e?Px(e.dom)+1:0}}{let e,r=!0;for(;e=n<this.children.length?this.children[n]:null,e&&e.dom.parentNode!=this.contentDOM;n++,r=!1);return e&&r&&!e.border&&!e.domAtom?e.domFromPos(0,t):{node:this.contentDOM,offset:e?Px(e.dom):this.contentDOM.childNodes.length}}}parseRange(e,t,n=0){if(0==this.children.length)return{node:this.contentDOM,from:e,to:t,fromOffset:0,toOffset:this.contentDOM.childNodes.length};let r=-1,o=-1;for(let i=n,a=0;;a++){let n=this.children[a],s=i+n.size;if(-1==r&&e<=s){let o=i+n.border;if(e>=o&&t<=s-n.border&&n.node&&n.contentDOM&&this.contentDOM.contains(n.contentDOM))return n.parseRange(e,t,o);e=i;for(let t=a;t>0;t--){let n=this.children[t-1];if(n.size&&n.dom.parentNode==this.contentDOM&&!n.emptyChildAt(1)){r=Px(n.dom)+1;break}e-=n.size}-1==r&&(r=0)}if(r>-1&&(s>t||a==this.children.length-1)){t=s;for(let e=a+1;e<this.children.length;e++){let n=this.children[e];if(n.size&&n.dom.parentNode==this.contentDOM&&!n.emptyChildAt(-1)){o=Px(n.dom);break}t+=n.size}-1==o&&(o=this.contentDOM.childNodes.length);break}i=s}return{node:this.contentDOM,from:e,to:t,fromOffset:r,toOffset:o}}emptyChildAt(e){if(this.border||!this.contentDOM||!this.children.length)return!1;let t=this.children[e<0?0:this.children.length-1];return 0==t.size||t.emptyChildAt(e)}domAfterPos(e){let{node:t,offset:n}=this.domFromPos(e,0);if(1!=t.nodeType||n==t.childNodes.length)throw new RangeError("No node after pos "+e);return t.childNodes[n]}setSelection(e,t,n,r=!1){let o=Math.min(e,t),i=Math.max(e,t);for(let p=0,f=0;p<this.children.length;p++){let a=this.children[p],s=f+a.size;if(o>f&&i<s)return a.setSelection(e-f-a.border,t-f-a.border,n,r);f=s}let a=this.domFromPos(e,e?-1:1),s=t==e?a:this.domFromPos(t,t?-1:1),l=n.getSelection(),c=!1;if((tk||ik)&&e==t){let{node:e,offset:t}=a;if(3==e.nodeType){if(c=!(!t||"\n"!=e.nodeValue[t-1]),c&&t==e.nodeValue.length)for(let n,r=e;r;r=r.parentNode){if(n=r.nextSibling){"BR"==n.nodeName&&(a=s={node:n.parentNode,offset:Px(n)+1});break}let e=r.pmViewDesc;if(e&&e.node&&e.node.isBlock)break}}else{let n=e.childNodes[t-1];c=n&&("BR"==n.nodeName||"false"==n.contentEditable)}}if(tk&&l.focusNode&&l.focusNode!=s.node&&1==l.focusNode.nodeType){let e=l.focusNode.childNodes[l.focusOffset];e&&"false"==e.contentEditable&&(r=!0)}if(!(r||c&&ik)&&jx(a.node,a.offset,l.anchorNode,l.anchorOffset)&&jx(s.node,s.offset,l.focusNode,l.focusOffset))return;let u=!1;if((l.extend||e==t)&&!c){l.collapse(a.node,a.offset);try{e!=t&&l.extend(s.node,s.offset),u=!0}catch(d){}}if(!u){if(e>t){let e=a;a=s,s=e}let n=document.createRange();n.setEnd(s.node,s.offset),n.setStart(a.node,a.offset),l.removeAllRanges(),l.addRange(n)}}ignoreMutation(e){return!this.contentDOM&&"selection"!=e.type}get contentLost(){return this.contentDOM&&this.contentDOM!=this.dom&&!this.dom.contains(this.contentDOM)}markDirty(e,t){for(let n=0,r=0;r<this.children.length;r++){let o=this.children[r],i=n+o.size;if(n==i?e<=i&&t>=n:e<i&&t>n){let r=n+o.border,a=i-o.border;if(e>=r&&t<=a)return this.dirty=e==n||t==i?2:1,void(e!=r||t!=a||!o.contentLost&&o.dom.parentNode==this.contentDOM?o.markDirty(e-r,t-r):o.dirty=3);o.dirty=o.dom!=o.contentDOM||o.dom.parentNode!=this.contentDOM||o.children.length?3:2}n=i}this.dirty=2}markParentsDirty(){let e=1;for(let t=this.parent;t;t=t.parent,e++){let n=1==e?2:1;t.dirty<n&&(t.dirty=n)}}get domAtom(){return!1}get ignoreForCoords(){return!1}}class Pk extends Ik{constructor(e,t,n,r){let o,i=t.type.toDOM;if("function"==typeof i&&(i=i(n,(()=>o?o.parent?o.parent.posBeforeChild(o):void 0:r))),!t.type.spec.raw){if(1!=i.nodeType){let e=document.createElement("span");e.appendChild(i),i=e}i.contentEditable="false",i.classList.add("ProseMirror-widget")}super(e,[],i,null),this.widget=t,this.widget=t,o=this}matchesWidget(e){return 0==this.dirty&&e.type.eq(this.widget.type)}parseRule(){return{ignore:!0}}stopEvent(e){let t=this.widget.spec.stopEvent;return!!t&&t(e)}ignoreMutation(e){return"selection"!=e.type||this.widget.spec.ignoreSelection}destroy(){this.widget.type.destroy(this.dom),super.destroy()}get domAtom(){return!0}get side(){return this.widget.type.side}}class Zk extends Ik{constructor(e,t,n,r){super(e,[],t,null),this.textDOM=n,this.text=r}get size(){return this.text.length}localPosFromDOM(e,t){return e!=this.textDOM?this.posAtStart+(t?this.size:0):this.posAtStart+t}domFromPos(e){return{node:this.textDOM,offset:e}}ignoreMutation(e){return"characterData"===e.type&&e.target.nodeValue==e.oldValue}}class _k extends Ik{constructor(e,t,n,r){super(e,[],n,r),this.mark=t}static create(e,t,n,r){let o=r.nodeViews[t.type.name],i=o&&o(t,r,n);return i&&i.dom||(i=Tw.renderSpec(document,t.type.spec.toDOM(t,n))),new _k(e,t,i.dom,i.contentDOM||i.dom)}parseRule(){return 3&this.dirty||this.mark.type.spec.reparseInView?null:{mark:this.mark.type.name,attrs:this.mark.attrs,contentElement:this.contentDOM}}matchesMark(e){return 3!=this.dirty&&this.mark.eq(e)}markDirty(e,t){if(super.markDirty(e,t),0!=this.dirty){let e=this.parent;for(;!e.node;)e=e.parent;e.dirty<this.dirty&&(e.dirty=this.dirty),this.dirty=0}}slice(e,t,n){let r=_k.create(this.parent,this.mark,!0,n),o=this.children,i=this.size;t<i&&(o=tS(o,t,i,n)),e>0&&(o=tS(o,0,e,n));for(let a=0;a<o.length;a++)o[a].parent=r;return r.children=o,r}}class Fk extends Ik{constructor(e,t,n,r,o,i,a,s,l){super(e,[],o,i),this.node=t,this.outerDeco=n,this.innerDeco=r,this.nodeDOM=a}static create(e,t,n,r,o,i){let a,s=o.nodeViews[t.type.name],l=s&&s(t,o,(()=>a?a.parent?a.parent.posBeforeChild(a):void 0:i),n,r),c=l&&l.dom,u=l&&l.contentDOM;if(t.isText)if(c){if(3!=c.nodeType)throw new RangeError("Text must be rendered as a DOM text node")}else c=document.createTextNode(t.text);else c||({dom:c,contentDOM:u}=Tw.renderSpec(document,t.type.spec.toDOM(t)));u||t.isText||"BR"==c.nodeName||(c.hasAttribute("contenteditable")||(c.contentEditable="false"),t.type.spec.draggable&&(c.draggable=!0));let d=c;return c=Yk(c,n,t),l?a=new Hk(e,t,n,r,c,u||null,d,l,o,i+1):t.isText?new Bk(e,t,n,r,c,d,o):new Fk(e,t,n,r,c,u||null,d,o,i+1)}parseRule(){if(this.node.type.spec.reparseInView)return null;let e={node:this.node.type.name,attrs:this.node.attrs};if("pre"==this.node.type.whitespace&&(e.preserveWhitespace="full"),this.contentDOM)if(this.contentLost){for(let t=this.children.length-1;t>=0;t--){let n=this.children[t];if(this.dom.contains(n.dom.parentNode)){e.contentElement=n.dom.parentNode;break}}e.contentElement||(e.getContent=()=>Tb.empty)}else e.contentElement=this.contentDOM;else e.getContent=()=>this.node.content;return e}matchesNode(e,t,n){return 0==this.dirty&&e.eq(this.node)&&Xk(t,this.outerDeco)&&n.eq(this.innerDeco)}get size(){return this.node.nodeSize}get border(){return this.node.isLeaf?0:1}updateChildren(e,t){let n=this.node.inlineContent,r=t,o=e.composing?this.localCompositionInfo(e,t):null,i=o&&o.pos>-1?o:null,a=o&&o.pos<0,s=new Qk(this,i&&i.node,e);!function(e,t,n,r){let o=t.locals(e),i=0;if(0==o.length){for(let n=0;n<e.childCount;n++){let a=e.child(n);r(a,o,t.forChild(i,a),n),i+=a.nodeSize}return}let a=0,s=[],l=null;for(let c=0;;){let u,d,p,f;for(;a<o.length&&o[a].to==i;){let e=o[a++];e.widget&&(u?(d||(d=[u])).push(e):u=e)}if(u)if(d){d.sort(eS);for(let e=0;e<d.length;e++)n(d[e],c,!!l)}else n(u,c,!!l);if(l)f=-1,p=l,l=null;else{if(!(c<e.childCount))break;f=c,p=e.child(c++)}for(let e=0;e<s.length;e++)s[e].to<=i&&s.splice(e--,1);for(;a<o.length&&o[a].from<=i&&o[a].to>i;)s.push(o[a++]);let h=i+p.nodeSize;if(p.isText){let e=h;a<o.length&&o[a].from<e&&(e=o[a].from);for(let t=0;t<s.length;t++)s[t].to<e&&(e=s[t].to);e<h&&(l=p.cut(e-i),p=p.cut(0,e-i),h=e,f=-1)}else for(;a<o.length&&o[a].to<h;)a++;let m=p.isInline&&!p.isLeaf?s.filter((e=>!e.inline)):s.slice();r(p,m,t.forChild(i,p),f),i=h}}(this.node,this.innerDeco,((t,o,i)=>{t.spec.marks?s.syncToMarks(t.spec.marks,n,e):t.type.side>=0&&!i&&s.syncToMarks(o==this.node.childCount?Ab.none:this.node.child(o).marks,n,e),s.placeWidget(t,e,r)}),((t,i,l,c)=>{let u;s.syncToMarks(t.marks,n,e),s.findNodeMatch(t,i,l,c)||a&&e.state.selection.from>r&&e.state.selection.to<r+t.nodeSize&&(u=s.findIndexWithChild(o.node))>-1&&s.updateNodeAt(t,i,l,u,e)||s.updateNextNode(t,i,l,e,c,r)||s.addNode(t,i,l,e,r),r+=t.nodeSize})),s.syncToMarks([],n,e),this.node.isTextblock&&s.addTextblockHacks(),s.destroyRest(),(s.changed||2==this.dirty)&&(i&&this.protectLocalComposition(e,i),Uk(this.contentDOM,this.children,e),ak&&function(e){if("UL"==e.nodeName||"OL"==e.nodeName){let t=e.style.cssText;e.style.cssText=t+"; list-style: square !important",window.getComputedStyle(e).listStyle,e.style.cssText=t}}(this.dom))}localCompositionInfo(e,t){let{from:n,to:r}=e.state.selection;if(!(e.state.selection instanceof gx)||n<t||r>t+this.node.content.size)return null;let o=e.domSelectionRange(),i=function(e,t){for(;;){if(3==e.nodeType)return e;if(1==e.nodeType&&t>0){if(e.childNodes.length>t&&3==e.childNodes[t].nodeType)return e.childNodes[t];t=Hx(e=e.childNodes[t-1])}else{if(!(1==e.nodeType&&t<e.childNodes.length))return null;e=e.childNodes[t],t=0}}}(o.focusNode,o.focusOffset);if(!i||!this.dom.contains(i.parentNode))return null;if(this.node.inlineContent){let e=i.nodeValue,o=function(e,t,n,r){for(let o=0,i=0;o<e.childCount&&i<=r;){let a=e.child(o++),s=i;if(i+=a.nodeSize,!a.isText)continue;let l=a.text;for(;o<e.childCount;){let t=e.child(o++);if(i+=t.nodeSize,!t.isText)break;l+=t.text}if(i>=n){if(i>=r&&l.slice(r-t.length-s,r-s)==t)return r-t.length;let e=s<r?l.lastIndexOf(t,r-s-1):-1;if(e>=0&&e+t.length+s>=n)return s+e;if(n==r&&l.length>=r+t.length-s&&l.slice(r-s,r-s+t.length)==t)return r}}return-1}(this.node.content,e,n-t,r-t);return o<0?null:{node:i,pos:o,text:e}}return{node:i,pos:-1,text:""}}protectLocalComposition(e,{node:t,pos:n,text:r}){if(this.getDesc(t))return;let o=t;for(;o.parentNode!=this.contentDOM;o=o.parentNode){for(;o.previousSibling;)o.parentNode.removeChild(o.previousSibling);for(;o.nextSibling;)o.parentNode.removeChild(o.nextSibling);o.pmViewDesc&&(o.pmViewDesc=void 0)}let i=new Zk(this,o,t,r);e.input.compositionNodes.push(i),this.children=tS(this.children,n,n+r.length,e,i)}update(e,t,n,r){return!(3==this.dirty||!e.sameMarkup(this.node))&&(this.updateInner(e,t,n,r),!0)}updateInner(e,t,n,r){this.updateOuterDeco(t),this.node=e,this.innerDeco=n,this.contentDOM&&this.updateChildren(r,this.posAtStart),this.dirty=0}updateOuterDeco(e){if(Xk(e,this.outerDeco))return;let t=1!=this.nodeDOM.nodeType,n=this.dom;this.dom=Gk(this.dom,this.nodeDOM,qk(this.outerDeco,this.node,t),qk(e,this.node,t)),this.dom!=n&&(n.pmViewDesc=void 0,this.dom.pmViewDesc=this),this.outerDeco=e}selectNode(){1==this.nodeDOM.nodeType&&this.nodeDOM.classList.add("ProseMirror-selectednode"),!this.contentDOM&&this.node.type.spec.draggable||(this.dom.draggable=!0)}deselectNode(){1==this.nodeDOM.nodeType&&this.nodeDOM.classList.remove("ProseMirror-selectednode"),!this.contentDOM&&this.node.type.spec.draggable||this.dom.removeAttribute("draggable")}get domAtom(){return this.node.isAtom}}function jk(e,t,n,r,o){Yk(r,t,e);let i=new Fk(void 0,e,t,n,r,r,r,o,0);return i.contentDOM&&i.updateChildren(o,0),i}class Bk extends Fk{constructor(e,t,n,r,o,i,a){super(e,t,n,r,o,null,i,a,0)}parseRule(){let e=this.nodeDOM.parentNode;for(;e&&e!=this.dom&&!e.pmIsDeco;)e=e.parentNode;return{skip:e||!0}}update(e,t,n,r){return!(3==this.dirty||0!=this.dirty&&!this.inParent()||!e.sameMarkup(this.node))&&(this.updateOuterDeco(t),0==this.dirty&&e.text==this.node.text||e.text==this.nodeDOM.nodeValue||(this.nodeDOM.nodeValue=e.text,r.trackWrites==this.nodeDOM&&(r.trackWrites=null)),this.node=e,this.dirty=0,!0)}inParent(){let e=this.parent.contentDOM;for(let t=this.nodeDOM;t;t=t.parentNode)if(t==e)return!0;return!1}domFromPos(e){return{node:this.nodeDOM,offset:e}}localPosFromDOM(e,t,n){return e==this.nodeDOM?this.posAtStart+Math.min(t,this.node.text.length):super.localPosFromDOM(e,t,n)}ignoreMutation(e){return"characterData"!=e.type&&"selection"!=e.type}slice(e,t,n){let r=this.node.cut(e,t),o=document.createTextNode(r.text);return new Bk(this.parent,r,this.outerDeco,this.innerDeco,o,o,n)}markDirty(e,t){super.markDirty(e,t),this.dom==this.nodeDOM||0!=e&&t!=this.nodeDOM.nodeValue.length||(this.dirty=3)}get domAtom(){return!1}}class zk extends Ik{parseRule(){return{ignore:!0}}matchesHack(e){return 0==this.dirty&&this.dom.nodeName==e}get domAtom(){return!0}get ignoreForCoords(){return"IMG"==this.dom.nodeName}}class Hk extends Fk{constructor(e,t,n,r,o,i,a,s,l,c){super(e,t,n,r,o,i,a,l,c),this.spec=s}update(e,t,n,r){if(3==this.dirty)return!1;if(this.spec.update){let o=this.spec.update(e,t,n);return o&&this.updateInner(e,t,n,r),o}return!(!this.contentDOM&&!e.isLeaf)&&super.update(e,t,n,r)}selectNode(){this.spec.selectNode?this.spec.selectNode():super.selectNode()}deselectNode(){this.spec.deselectNode?this.spec.deselectNode():super.deselectNode()}setSelection(e,t,n,r){this.spec.setSelection?this.spec.setSelection(e,t,n):super.setSelection(e,t,n,r)}destroy(){this.spec.destroy&&this.spec.destroy(),super.destroy()}stopEvent(e){return!!this.spec.stopEvent&&this.spec.stopEvent(e)}ignoreMutation(e){return this.spec.ignoreMutation?this.spec.ignoreMutation(e):super.ignoreMutation(e)}}function Uk(e,t,n){let r=e.firstChild,o=!1;for(let i=0;i<t.length;i++){let a=t[i],s=a.dom;if(s.parentNode==e){for(;s!=r;)r=Jk(r),o=!0;r=r.nextSibling}else o=!0,e.insertBefore(s,r);if(a instanceof _k){let t=r?r.previousSibling:e.lastChild;Uk(a.contentDOM,a.children,n),r=t?t.nextSibling:e.firstChild}}for(;r;)r=Jk(r),o=!0;o&&n.trackWrites==e&&(n.trackWrites=null)}const Wk=function(e){e&&(this.nodeName=e)};Wk.prototype=Object.create(null);const Vk=[new Wk];function qk(e,t,n){if(0==e.length)return Vk;let r=n?Vk[0]:new Wk,o=[r];for(let i=0;i<e.length;i++){let a=e[i].type.attrs;if(a){a.nodeName&&o.push(r=new Wk(a.nodeName));for(let e in a){let i=a[e];null!=i&&(n&&1==o.length&&o.push(r=new Wk(t.isInline?"span":"div")),"class"==e?r.class=(r.class?r.class+" ":"")+i:"style"==e?r.style=(r.style?r.style+";":"")+i:"nodeName"!=e&&(r[e]=i))}}}return o}function Gk(e,t,n,r){if(n==Vk&&r==Vk)return t;let o=t;for(let i=0;i<r.length;i++){let t=r[i],a=n[i];if(i){let n;a&&a.nodeName==t.nodeName&&o!=e&&(n=o.parentNode)&&n.nodeName.toLowerCase()==t.nodeName||(n=document.createElement(t.nodeName),n.pmIsDeco=!0,n.appendChild(o),a=Vk[0]),o=n}Kk(o,a||Vk[0],t)}return o}function Kk(e,t,n){for(let r in t)"class"==r||"style"==r||"nodeName"==r||r in n||e.removeAttribute(r);for(let r in n)"class"!=r&&"style"!=r&&"nodeName"!=r&&n[r]!=t[r]&&e.setAttribute(r,n[r]);if(t.class!=n.class){let r=t.class?t.class.split(" ").filter(Boolean):[],o=n.class?n.class.split(" ").filter(Boolean):[];for(let t=0;t<r.length;t++)-1==o.indexOf(r[t])&&e.classList.remove(r[t]);for(let t=0;t<o.length;t++)-1==r.indexOf(o[t])&&e.classList.add(o[t]);0==e.classList.length&&e.removeAttribute("class")}if(t.style!=n.style){if(t.style){let n,r=/\s*([\w\-\xa1-\uffff]+)\s*:(?:"(?:\\.|[^"])*"|'(?:\\.|[^'])*'|\(.*?\)|[^;])*/g;for(;n=r.exec(t.style);)e.style.removeProperty(n[1])}n.style&&(e.style.cssText+=n.style)}}function Yk(e,t,n){return Gk(e,e,Vk,qk(t,n,1!=e.nodeType))}function Xk(e,t){if(e.length!=t.length)return!1;for(let n=0;n<e.length;n++)if(!e[n].type.eq(t[n].type))return!1;return!0}function Jk(e){let t=e.nextSibling;return e.parentNode.removeChild(e),t}class Qk{constructor(e,t,n){this.lock=t,this.view=n,this.index=0,this.stack=[],this.changed=!1,this.top=e,this.preMatch=function(e,t){let n=t,r=n.children.length,o=e.childCount,i=new Map,a=[];e:for(;o>0;){let s;for(;;)if(r){let e=n.children[r-1];if(!(e instanceof _k)){s=e,r--;break}n=e,r=e.children.length}else{if(n==t)break e;r=n.parent.children.indexOf(n),n=n.parent}let l=s.node;if(l){if(l!=e.child(o-1))break;--o,i.set(s,o),a.push(s)}}return{index:o,matched:i,matches:a.reverse()}}(e.node.content,e)}destroyBetween(e,t){if(e!=t){for(let n=e;n<t;n++)this.top.children[n].destroy();this.top.children.splice(e,t-e),this.changed=!0}}destroyRest(){this.destroyBetween(this.index,this.top.children.length)}syncToMarks(e,t,n){let r=0,o=this.stack.length>>1,i=Math.min(o,e.length);for(;r<i&&(r==o-1?this.top:this.stack[r+1<<1]).matchesMark(e[r])&&!1!==e[r].type.spec.spanning;)r++;for(;r<o;)this.destroyRest(),this.top.dirty=0,this.index=this.stack.pop(),this.top=this.stack.pop(),o--;for(;o<e.length;){this.stack.push(this.top,this.index+1);let r=-1;for(let t=this.index;t<Math.min(this.index+3,this.top.children.length);t++){let n=this.top.children[t];if(n.matchesMark(e[o])&&!this.isLocked(n.dom)){r=t;break}}if(r>-1)r>this.index&&(this.changed=!0,this.destroyBetween(this.index,r)),this.top=this.top.children[this.index];else{let r=_k.create(this.top,e[o],t,n);this.top.children.splice(this.index,0,r),this.top=r,this.changed=!0}this.index=0,o++}}findNodeMatch(e,t,n,r){let o,i=-1;if(r>=this.preMatch.index&&(o=this.preMatch.matches[r-this.preMatch.index]).parent==this.top&&o.matchesNode(e,t,n))i=this.top.children.indexOf(o,this.index);else for(let a=this.index,s=Math.min(this.top.children.length,a+5);a<s;a++){let r=this.top.children[a];if(r.matchesNode(e,t,n)&&!this.preMatch.matched.has(r)){i=a;break}}return!(i<0)&&(this.destroyBetween(this.index,i),this.index++,!0)}updateNodeAt(e,t,n,r,o){let i=this.top.children[r];return 3==i.dirty&&i.dom==i.contentDOM&&(i.dirty=2),!!i.update(e,t,n,o)&&(this.destroyBetween(this.index,r),this.index++,!0)}findIndexWithChild(e){for(;;){let t=e.parentNode;if(!t)return-1;if(t==this.top.contentDOM){let t=e.pmViewDesc;if(t)for(let e=this.index;e<this.top.children.length;e++)if(this.top.children[e]==t)return e;return-1}e=t}}updateNextNode(e,t,n,r,o,i){for(let a=this.index;a<this.top.children.length;a++){let s=this.top.children[a];if(s instanceof Fk){let l=this.preMatch.matched.get(s);if(null!=l&&l!=o)return!1;let c,u=s.dom,d=this.isLocked(u)&&!(e.isText&&s.node&&s.node.isText&&s.nodeDOM.nodeValue==e.text&&3!=s.dirty&&Xk(t,s.outerDeco));if(!d&&s.update(e,t,n,r))return this.destroyBetween(this.index,a),s.dom!=u&&(this.changed=!0),this.index++,!0;if(!d&&(c=this.recreateWrapper(s,e,t,n,r,i)))return this.top.children[this.index]=c,c.contentDOM&&(c.dirty=2,c.updateChildren(r,i+1),c.dirty=0),this.changed=!0,this.index++,!0;break}}return!1}recreateWrapper(e,t,n,r,o,i){if(e.dirty||t.isAtom||!e.children.length||!e.node.content.eq(t.content))return null;let a=Fk.create(this.top,t,n,r,o,i);if(a.contentDOM){a.children=e.children,e.children=[];for(let e of a.children)e.parent=a}return e.destroy(),a}addNode(e,t,n,r,o){let i=Fk.create(this.top,e,t,n,r,o);i.contentDOM&&i.updateChildren(r,o+1),this.top.children.splice(this.index++,0,i),this.changed=!0}placeWidget(e,t,n){let r=this.index<this.top.children.length?this.top.children[this.index]:null;if(!r||!r.matchesWidget(e)||e!=r.widget&&r.widget.type.toDOM.parentNode){let r=new Pk(this.top,e,t,n);this.top.children.splice(this.index++,0,r),this.changed=!0}else this.index++}addTextblockHacks(){let e=this.top.children[this.index-1],t=this.top;for(;e instanceof _k;)t=e,e=t.children[t.children.length-1];(!e||!(e instanceof Bk)||/\n$/.test(e.node.text)||this.view.requiresGeckoHackNode&&/\s$/.test(e.node.text))&&((ik||rk)&&e&&"false"==e.dom.contentEditable&&this.addHackNode("IMG",t),this.addHackNode("BR",this.top))}addHackNode(e,t){if(t==this.top&&this.index<t.children.length&&t.children[this.index].matchesHack(e))this.index++;else{let n=document.createElement(e);"IMG"==e&&(n.className="ProseMirror-separator",n.alt=""),"BR"==e&&(n.className="ProseMirror-trailingBreak");let r=new zk(this.top,[],n,null);t!=this.top?t.children.push(r):t.children.splice(this.index++,0,r),this.changed=!0}}isLocked(e){return this.lock&&(e==this.lock||1==e.nodeType&&e.contains(this.lock.parentNode))}}function eS(e,t){return e.type.side-t.type.side}function tS(e,t,n,r,o){let i=[];for(let a=0,s=0;a<e.length;a++){let l=e[a],c=s,u=s+=l.size;c>=n||u<=t?i.push(l):(c<t&&i.push(l.slice(0,t-c,r)),o&&(i.push(o),o=void 0),u>n&&i.push(l.slice(n-c,l.size,r)))}return i}function nS(e,t=null){let n=e.domSelectionRange(),r=e.state.doc;if(!n.focusNode)return null;let o=e.docView.nearestDesc(n.focusNode),i=o&&0==o.size,a=e.docView.posFromDOM(n.focusNode,n.focusOffset,1);if(a<0)return null;let s,l,c=r.resolve(a);if(Wx(n)){for(s=c;o&&!o.node;)o=o.parent;let e=o.node;if(o&&e.isAtom&&bx.isSelectable(e)&&o.parent&&(!e.isInline||!function(e,t,n){for(let r=0==t,o=t==Hx(e);r||o;){if(e==n)return!0;let t=Px(e);if(!(e=e.parentNode))return!1;r=r&&0==t,o=o&&t==Hx(e)}}(n.focusNode,n.focusOffset,o.dom))){let e=o.posBefore;l=new bx(a==e?c:r.resolve(e))}}else{let t=e.docView.posFromDOM(n.anchorNode,n.anchorOffset,1);if(t<0)return null;s=r.resolve(t)}if(!l){l=dS(e,s,c,"pointer"==t||e.state.selection.head<c.pos&&!i?1:-1)}return l}function rS(e){return e.editable?e.hasFocus():fS(e)&&document.activeElement&&document.activeElement.contains(e.dom)}function oS(e,t=!1){let n=e.state.selection;if(cS(e,n),rS(e)){if(!t&&e.input.mouseDown&&e.input.mouseDown.allowDefault&&rk){let t=e.domSelectionRange(),n=e.domObserver.currentSelection;if(t.anchorNode&&n.anchorNode&&jx(t.anchorNode,t.anchorOffset,n.anchorNode,n.anchorOffset))return e.input.mouseDown.delayedSelectionSync=!0,void e.domObserver.setCurSelection()}if(e.domObserver.disconnectSelection(),e.cursorWrapper)!function(e){let t=e.domSelection(),n=document.createRange(),r=e.cursorWrapper.dom,o="IMG"==r.nodeName;o?n.setEnd(r.parentNode,Px(r)+1):n.setEnd(r,0);n.collapse(!1),t.removeAllRanges(),t.addRange(n),!o&&!e.state.selection.visible&&Qx&&ek<=11&&(r.disabled=!0,r.disabled=!1)}(e);else{let r,o,{anchor:i,head:a}=n;!iS||n instanceof gx||(n.$from.parent.inlineContent||(r=aS(e,n.from)),n.empty||n.$from.parent.inlineContent||(o=aS(e,n.to))),e.docView.setSelection(i,a,e.root,t),iS&&(r&&lS(r),o&&lS(o)),n.visible?e.dom.classList.remove("ProseMirror-hideselection"):(e.dom.classList.add("ProseMirror-hideselection"),"onselectionchange"in document&&function(e){let t=e.dom.ownerDocument;t.removeEventListener("selectionchange",e.input.hideSelectionGuard);let n=e.domSelectionRange(),r=n.anchorNode,o=n.anchorOffset;t.addEventListener("selectionchange",e.input.hideSelectionGuard=()=>{n.anchorNode==r&&n.anchorOffset==o||(t.removeEventListener("selectionchange",e.input.hideSelectionGuard),setTimeout((()=>{rS(e)&&!e.state.selection.visible||e.dom.classList.remove("ProseMirror-hideselection")}),20))})}(e))}e.domObserver.setCurSelection(),e.domObserver.connectSelection()}}const iS=ik||rk&&ok<63;function aS(e,t){let{node:n,offset:r}=e.docView.domFromPos(t,0),o=r<n.childNodes.length?n.childNodes[r]:null,i=r?n.childNodes[r-1]:null;if(ik&&o&&"false"==o.contentEditable)return sS(o);if(!(o&&"false"!=o.contentEditable||i&&"false"!=i.contentEditable)){if(o)return sS(o);if(i)return sS(i)}}function sS(e){return e.contentEditable="true",ik&&e.draggable&&(e.draggable=!1,e.wasDraggable=!0),e}function lS(e){e.contentEditable="false",e.wasDraggable&&(e.draggable=!0,e.wasDraggable=null)}function cS(e,t){if(t instanceof bx){let n=e.docView.descAt(t.from);n!=e.lastSelectedViewDesc&&(uS(e),n&&n.selectNode(),e.lastSelectedViewDesc=n)}else uS(e)}function uS(e){e.lastSelectedViewDesc&&(e.lastSelectedViewDesc.parent&&e.lastSelectedViewDesc.deselectNode(),e.lastSelectedViewDesc=void 0)}function dS(e,t,n,r){return e.someProp("createSelectionBetween",(r=>r(e,t,n)))||gx.between(t,n,r)}function pS(e){return!(e.editable&&!e.hasFocus())&&fS(e)}function fS(e){let t=e.domSelectionRange();if(!t.anchorNode)return!1;try{return e.dom.contains(3==t.anchorNode.nodeType?t.anchorNode.parentNode:t.anchorNode)&&(e.editable||e.dom.contains(3==t.focusNode.nodeType?t.focusNode.parentNode:t.focusNode))}catch(n){return!1}}function hS(e,t){let{$anchor:n,$head:r}=e.selection,o=t>0?n.max(r):n.min(r),i=o.parent.inlineContent?o.depth?e.doc.resolve(t>0?o.after():o.before()):null:o;return i&&fx.findFrom(i,t)}function mS(e,t){return e.dispatch(e.state.tr.setSelection(t).scrollIntoView()),!0}function vS(e,t,n){let r=e.state.selection;if(!(r instanceof gx)){if(r instanceof bx&&r.node.isInline)return mS(e,new gx(t>0?r.$to:r.$from));{let n=hS(e.state,t);return!!n&&mS(e,n)}}if(n.indexOf("s")>-1){let{$head:n}=r,o=n.textOffset?null:t<0?n.nodeBefore:n.nodeAfter;if(!o||o.isText||!o.isLeaf)return!1;let i=e.state.doc.resolve(n.pos+o.nodeSize*(t<0?-1:1));return mS(e,new gx(r.$anchor,i))}if(!r.empty)return!1;if(e.endOfTextblock(t>0?"forward":"backward")){let n=hS(e.state,t);return!!(n&&n instanceof bx)&&mS(e,n)}if(!(sk&&n.indexOf("m")>-1)){let n,o=r.$head,i=o.textOffset?null:t<0?o.nodeBefore:o.nodeAfter;if(!i||i.isText)return!1;let a=t<0?o.pos-i.nodeSize:o.pos;return!!(i.isAtom||(n=e.docView.descAt(a))&&!n.contentDOM)&&(bx.isSelectable(i)?mS(e,new bx(t<0?e.state.doc.resolve(o.pos-i.nodeSize):o)):!!uk&&mS(e,new gx(e.state.doc.resolve(t<0?a:a+i.nodeSize))))}}function gS(e){return 3==e.nodeType?e.nodeValue.length:e.childNodes.length}function yS(e,t){let n=e.pmViewDesc;return n&&0==n.size&&(t<0||e.nextSibling||"BR"!=e.nodeName)}function bS(e,t){return t<0?function(e){let t=e.domSelectionRange(),n=t.focusNode,r=t.focusOffset;if(!n)return;let o,i,a=!1;tk&&1==n.nodeType&&r<gS(n)&&yS(n.childNodes[r],-1)&&(a=!0);for(;;)if(r>0){if(1!=n.nodeType)break;{let e=n.childNodes[r-1];if(yS(e,-1))o=n,i=--r;else{if(3!=e.nodeType)break;n=e,r=n.nodeValue.length}}}else{if(wS(n))break;{let t=n.previousSibling;for(;t&&yS(t,-1);)o=n.parentNode,i=Px(t),t=t.previousSibling;if(t)n=t,r=gS(n);else{if(n=n.parentNode,n==e.dom)break;r=0}}}a?xS(e,n,r):o&&xS(e,o,i)}(e):function(e){let t=e.domSelectionRange(),n=t.focusNode,r=t.focusOffset;if(!n)return;let o,i,a=gS(n);for(;;)if(r<a){if(1!=n.nodeType)break;if(!yS(n.childNodes[r],1))break;o=n,i=++r}else{if(wS(n))break;{let t=n.nextSibling;for(;t&&yS(t,1);)o=t.parentNode,i=Px(t)+1,t=t.nextSibling;if(t)n=t,r=0,a=gS(n);else{if(n=n.parentNode,n==e.dom)break;r=a=0}}}o&&xS(e,o,i)}(e)}function wS(e){let t=e.pmViewDesc;return t&&t.node&&t.node.isBlock}function xS(e,t,n){if(3!=t.nodeType){let e,r;(r=function(e,t){for(;e&&t==e.childNodes.length&&!Ux(e);)t=Px(e)+1,e=e.parentNode;for(;e&&t<e.childNodes.length;){let n=e.childNodes[t];if(3==n.nodeType)return n;if(1==n.nodeType&&"false"==n.contentEditable)break;e=n,t=0}}(t,n))?(t=r,n=0):(e=function(e,t){for(;e&&!t&&!Ux(e);)t=Px(e),e=e.parentNode;for(;e&&t;){let n=e.childNodes[t-1];if(3==n.nodeType)return n;if(1==n.nodeType&&"false"==n.contentEditable)break;t=(e=n).childNodes.length}}(t,n))&&(t=e,n=e.nodeValue.length)}let r=e.domSelection();if(Wx(r)){let e=document.createRange();e.setEnd(t,n),e.setStart(t,n),r.removeAllRanges(),r.addRange(e)}else r.extend&&r.extend(t,n);e.domObserver.setCurSelection();let{state:o}=e;setTimeout((()=>{e.state==o&&oS(e)}),50)}function kS(e,t){let n=e.state.doc.resolve(t);if(!rk&&!lk&&n.parent.inlineContent){let r=e.coordsAtPos(t);if(t>n.start()){let n=e.coordsAtPos(t-1),o=(n.top+n.bottom)/2;if(o>r.top&&o<r.bottom&&Math.abs(n.left-r.left)>1)return n.left<r.left?"ltr":"rtl"}if(t<n.end()){let n=e.coordsAtPos(t+1),o=(n.top+n.bottom)/2;if(o>r.top&&o<r.bottom&&Math.abs(n.left-r.left)>1)return n.left>r.left?"ltr":"rtl"}}return"rtl"==getComputedStyle(e.dom).direction?"rtl":"ltr"}function SS(e,t,n){let r=e.state.selection;if(r instanceof gx&&!r.empty||n.indexOf("s")>-1)return!1;if(sk&&n.indexOf("m")>-1)return!1;let{$from:o,$to:i}=r;if(!o.parent.inlineContent||e.endOfTextblock(t<0?"up":"down")){let n=hS(e.state,t);if(n&&n instanceof bx)return mS(e,n)}if(!o.parent.inlineContent){let n=t<0?o:i,a=r instanceof xx?fx.near(n,t):fx.findFrom(n,t);return!!a&&mS(e,a)}return!1}function CS(e,t){if(!(e.state.selection instanceof gx))return!0;let{$head:n,$anchor:r,empty:o}=e.state.selection;if(!n.sameParent(r))return!0;if(!o)return!1;if(e.endOfTextblock(t>0?"forward":"backward"))return!0;let i=!n.textOffset&&(t<0?n.nodeBefore:n.nodeAfter);if(i&&!i.isText){let r=e.state.tr;return t<0?r.delete(n.pos-i.nodeSize,n.pos):r.delete(n.pos,n.pos+i.nodeSize),e.dispatch(r),!0}return!1}function ES(e,t,n){e.domObserver.stop(),t.contentEditable=n,e.domObserver.start()}function TS(e,t){let n=t.keyCode,r=function(e){let t="";return e.ctrlKey&&(t+="c"),e.metaKey&&(t+="m"),e.altKey&&(t+="a"),e.shiftKey&&(t+="s"),t}(t);if(8==n||sk&&72==n&&"c"==r)return CS(e,-1)||bS(e,-1);if(46==n&&!t.shiftKey||sk&&68==n&&"c"==r)return CS(e,1)||bS(e,1);if(13==n||27==n)return!0;if(37==n||sk&&66==n&&"c"==r){let t=37==n?"ltr"==kS(e,e.state.selection.from)?-1:1:-1;return vS(e,t,r)||bS(e,t)}if(39==n||sk&&70==n&&"c"==r){let t=39==n?"ltr"==kS(e,e.state.selection.from)?1:-1:1;return vS(e,t,r)||bS(e,t)}return 38==n||sk&&80==n&&"c"==r?SS(e,-1,r)||bS(e,-1):40==n||sk&&78==n&&"c"==r?function(e){if(!ik||e.state.selection.$head.parentOffset>0)return!1;let{focusNode:t,focusOffset:n}=e.domSelectionRange();if(t&&1==t.nodeType&&0==n&&t.firstChild&&"false"==t.firstChild.contentEditable){let n=t.firstChild;ES(e,n,"true"),setTimeout((()=>ES(e,n,"false")),20)}return!1}(e)||SS(e,1,r)||bS(e,1):r==(sk?"m":"c")&&(66==n||73==n||89==n||90==n)}function OS(e,t){e.someProp("transformCopied",(n=>{t=n(t,e)}));let n=[],{content:r,openStart:o,openEnd:i}=t;for(;o>1&&i>1&&1==r.childCount&&1==r.firstChild.childCount;){o--,i--;let e=r.firstChild;n.push(e.type.name,e.attrs!=e.type.defaultAttrs?e.attrs:null),r=e.content}let a=e.someProp("clipboardSerializer")||Tw.fromSchema(e.state.schema),s=ZS(),l=s.createElement("div");l.appendChild(a.serializeFragment(r,{document:s}));let c,u=l.firstChild,d=0;for(;u&&1==u.nodeType&&(c=IS[u.nodeName.toLowerCase()]);){for(let e=c.length-1;e>=0;e--){let t=s.createElement(c[e]);for(;l.firstChild;)t.appendChild(l.firstChild);l.appendChild(t),d++}u=l.firstChild}u&&1==u.nodeType&&u.setAttribute("data-pm-slice",`${o} ${i}${d?` -${d}`:""} ${JSON.stringify(n)}`);let p=e.someProp("clipboardTextSerializer",(n=>n(t,e)))||t.content.textBetween(0,t.content.size,"\n\n");return{dom:l,text:p}}function $S(e,t,n,r,o){let i,a,s=o.parent.type.spec.code;if(!n&&!t)return null;let l=t&&(r||s||!n);if(l){if(e.someProp("transformPastedText",(n=>{t=n(t,s||r,e)})),s)return t?new Lb(Tb.from(e.state.schema.text(t.replace(/\r\n?/g,"\n"))),0,0):Lb.empty;let n=e.someProp("clipboardTextParser",(n=>n(t,o,r,e)));if(n)a=n;else{let n=o.marks(),{schema:r}=e.state,a=Tw.fromSchema(r);i=document.createElement("div"),t.split(/(?:\r\n?|\n)+/).forEach((e=>{let t=i.appendChild(document.createElement("p"));e&&t.appendChild(a.serializeNode(r.text(e,n)))}))}}else e.someProp("transformPastedHTML",(t=>{n=t(n,e)})),i=function(e){let t=/^(\s*<meta [^>]*>)*/.exec(e);t&&(e=e.slice(t[0].length));let n,r=ZS().createElement("div"),o=/<([a-z][^>\s]+)/i.exec(e);(n=o&&IS[o[1].toLowerCase()])&&(e=n.map((e=>"<"+e+">")).join("")+e+n.map((e=>"</"+e+">")).reverse().join(""));if(r.innerHTML=e,n)for(let i=0;i<n.length;i++)r=r.querySelector(n[i])||r;return r}(n),uk&&function(e){let t=e.querySelectorAll(rk?"span:not([class]):not([style])":"span.Apple-converted-space");for(let n=0;n<t.length;n++){let r=t[n];1==r.childNodes.length&&" "==r.textContent&&r.parentNode&&r.parentNode.replaceChild(e.ownerDocument.createTextNode(" "),r)}}(i);let c=i&&i.querySelector("[data-pm-slice]"),u=c&&/^(\d+) (\d+)(?: -(\d+))? (.*)/.exec(c.getAttribute("data-pm-slice")||"");if(u&&u[3])for(let d=+u[3];d>0;d--){let e=i.firstChild;for(;e&&1!=e.nodeType;)e=e.nextSibling;if(!e)break;i=e}if(!a){let t=e.someProp("clipboardParser")||e.someProp("domParser")||vw.fromSchema(e.state.schema);a=t.parseSlice(i,{preserveWhitespace:!(!l&&!u),context:o,ruleFromNode:e=>"BR"!=e.nodeName||e.nextSibling||!e.parentNode||MS.test(e.parentNode.nodeName)?null:{ignore:!0}})}if(u)a=function(e,t){if(!e.size)return e;let n,r=e.content.firstChild.type.schema;try{n=JSON.parse(t)}catch(Yr){return e}let{content:o,openStart:i,openEnd:a}=e;for(let s=n.length-2;s>=0;s-=2){let e=r.nodes[n[s]];if(!e||e.hasRequiredAttrs())break;o=Tb.from(e.create(n[s+1],o)),i++,a++}return new Lb(o,i,a)}(RS(a,+u[1],+u[2]),u[4]);else if(a=Lb.maxOpen(function(e,t){if(e.childCount<2)return e;for(let n=t.depth;n>=0;n--){let r,o=t.node(n).contentMatchAt(t.index(n)),i=[];if(e.forEach((e=>{if(!i)return;let t,n=o.findWrapping(e.type);if(!n)return i=null;if(t=i.length&&r.length&&DS(n,r,e,i[i.length-1],0))i[i.length-1]=t;else{i.length&&(i[i.length-1]=LS(i[i.length-1],r.length));let t=AS(e,n);i.push(t),o=o.matchType(t.type),r=n}})),i)return Tb.from(i)}return e}(a.content,o),!0),a.openStart||a.openEnd){let e=0,t=0;for(let n=a.content.firstChild;e<a.openStart&&!n.type.spec.isolating;e++,n=n.firstChild);for(let n=a.content.lastChild;t<a.openEnd&&!n.type.spec.isolating;t++,n=n.lastChild);a=RS(a,e,t)}return e.someProp("transformPasted",(t=>{a=t(a,e)})),a}const MS=/^(a|abbr|acronym|b|cite|code|del|em|i|ins|kbd|label|output|q|ruby|s|samp|span|strong|sub|sup|time|u|tt|var)$/i;function AS(e,t,n=0){for(let r=t.length-1;r>=n;r--)e=t[r].create(null,Tb.from(e));return e}function DS(e,t,n,r,o){if(o<e.length&&o<t.length&&e[o]==t[o]){let i=DS(e,t,n,r.lastChild,o+1);if(i)return r.copy(r.content.replaceChild(r.childCount-1,i));if(r.contentMatchAt(r.childCount).matchType(o==e.length-1?n.type:e[o+1]))return r.copy(r.content.append(Tb.from(AS(n,e,o+1))))}}function LS(e,t){if(0==t)return e;let n=e.content.replaceChild(e.childCount-1,LS(e.lastChild,t-1)),r=e.contentMatchAt(e.childCount).fillBefore(Tb.empty,!0);return e.copy(n.append(r))}function NS(e,t,n,r,o,i){let a=t<0?e.firstChild:e.lastChild,s=a.content;return e.childCount>1&&(i=0),o<r-1&&(s=NS(s,t,n,r,o+1,i)),o>=n&&(s=t<0?a.contentMatchAt(0).fillBefore(s,i<=o).append(s):s.append(a.contentMatchAt(a.childCount).fillBefore(Tb.empty,!0))),e.replaceChild(t<0?0:e.childCount-1,a.copy(s))}function RS(e,t,n){return t<e.openStart&&(e=new Lb(NS(e.content,-1,t,e.openStart,0,e.openEnd),t,e.openEnd)),n<e.openEnd&&(e=new Lb(NS(e.content,1,n,e.openEnd,0,0),e.openStart,n)),e}const IS={thead:["table"],tbody:["table"],tfoot:["table"],caption:["table"],colgroup:["table"],col:["table","colgroup"],tr:["table","tbody"],td:["table","tbody","tr"],th:["table","tbody","tr"]};let PS=null;function ZS(){return PS||(PS=document.implementation.createHTMLDocument("title"))}const _S={},FS={},jS={touchstart:!0,touchmove:!0};class BS{constructor(){this.shiftKey=!1,this.mouseDown=null,this.lastKeyCode=null,this.lastKeyCodeTime=0,this.lastClick={time:0,x:0,y:0,type:""},this.lastSelectionOrigin=null,this.lastSelectionTime=0,this.lastIOSEnter=0,this.lastIOSEnterFallbackTimeout=-1,this.lastFocus=0,this.lastTouch=0,this.lastAndroidDelete=0,this.composing=!1,this.composingTimeout=-1,this.compositionNodes=[],this.compositionEndedAt=-2e8,this.compositionID=1,this.compositionPendingChanges=0,this.domChangeCount=0,this.eventHandlers=Object.create(null),this.hideSelectionGuard=null}}function zS(e,t){e.input.lastSelectionOrigin=t,e.input.lastSelectionTime=Date.now()}function HS(e){e.someProp("handleDOMEvents",(t=>{for(let n in t)e.input.eventHandlers[n]||e.dom.addEventListener(n,e.input.eventHandlers[n]=t=>US(e,t))}))}function US(e,t){return e.someProp("handleDOMEvents",(n=>{let r=n[t.type];return!!r&&(r(e,t)||t.defaultPrevented)}))}function WS(e,t){if(!t.bubbles)return!0;if(t.defaultPrevented)return!1;for(let n=t.target;n!=e.dom;n=n.parentNode)if(!n||11==n.nodeType||n.pmViewDesc&&n.pmViewDesc.stopEvent(t))return!1;return!0}function VS(e){return{left:e.clientX,top:e.clientY}}function qS(e,t,n,r,o){if(-1==r)return!1;let i=e.state.doc.resolve(r);for(let a=i.depth+1;a>0;a--)if(e.someProp(t,(t=>a>i.depth?t(e,n,i.nodeAfter,i.before(a),o,!0):t(e,n,i.node(a),i.before(a),o,!1))))return!0;return!1}function GS(e,t,n){e.focused||e.focus();let r=e.state.tr.setSelection(t);"pointer"==n&&r.setMeta("pointer",!0),e.dispatch(r)}function KS(e,t,n,r,o){return qS(e,"handleClickOn",t,n,r)||e.someProp("handleClick",(n=>n(e,t,r)))||(o?function(e,t){if(-1==t)return!1;let n,r,o=e.state.selection;o instanceof bx&&(n=o.node);let i=e.state.doc.resolve(t);for(let a=i.depth+1;a>0;a--){let e=a>i.depth?i.nodeAfter:i.node(a);if(bx.isSelectable(e)){r=n&&o.$from.depth>0&&a>=o.$from.depth&&i.before(o.$from.depth+1)==o.$from.pos?i.before(o.$from.depth):i.before(a);break}}return null!=r&&(GS(e,bx.create(e.state.doc,r),"pointer"),!0)}(e,n):function(e,t){if(-1==t)return!1;let n=e.state.doc.resolve(t),r=n.nodeAfter;return!!(r&&r.isAtom&&bx.isSelectable(r))&&(GS(e,new bx(n),"pointer"),!0)}(e,n))}function YS(e,t,n,r){return qS(e,"handleDoubleClickOn",t,n,r)||e.someProp("handleDoubleClick",(n=>n(e,t,r)))}function XS(e,t,n,r){return qS(e,"handleTripleClickOn",t,n,r)||e.someProp("handleTripleClick",(n=>n(e,t,r)))||function(e,t,n){if(0!=n.button)return!1;let r=e.state.doc;if(-1==t)return!!r.inlineContent&&(GS(e,gx.create(r,0,r.content.size),"pointer"),!0);let o=r.resolve(t);for(let i=o.depth+1;i>0;i--){let t=i>o.depth?o.nodeAfter:o.node(i),n=o.before(i);if(t.inlineContent)GS(e,gx.create(r,n+1,n+1+t.content.size),"pointer");else{if(!bx.isSelectable(t))continue;GS(e,bx.create(r,n),"pointer")}return!0}}(e,n,r)}function JS(e){return iC(e)}FS.keydown=(e,t)=>{let n=t;if(e.input.shiftKey=16==n.keyCode||n.shiftKey,!tC(e,n)&&(e.input.lastKeyCode=n.keyCode,e.input.lastKeyCodeTime=Date.now(),!ck||!rk||13!=n.keyCode))if(229!=n.keyCode&&e.domObserver.forceFlush(),!ak||13!=n.keyCode||n.ctrlKey||n.altKey||n.metaKey)e.someProp("handleKeyDown",(t=>t(e,n)))||TS(e,n)?n.preventDefault():zS(e,"key");else{let t=Date.now();e.input.lastIOSEnter=t,e.input.lastIOSEnterFallbackTimeout=setTimeout((()=>{e.input.lastIOSEnter==t&&(e.someProp("handleKeyDown",(t=>t(e,Vx(13,"Enter")))),e.input.lastIOSEnter=0)}),200)}},FS.keyup=(e,t)=>{16==t.keyCode&&(e.input.shiftKey=!1)},FS.keypress=(e,t)=>{let n=t;if(tC(e,n)||!n.charCode||n.ctrlKey&&!n.altKey||sk&&n.metaKey)return;if(e.someProp("handleKeyPress",(t=>t(e,n))))return void n.preventDefault();let r=e.state.selection;if(!(r instanceof gx&&r.$from.sameParent(r.$to))){let t=String.fromCharCode(n.charCode);/[\r\n]/.test(t)||e.someProp("handleTextInput",(n=>n(e,r.$from.pos,r.$to.pos,t)))||e.dispatch(e.state.tr.insertText(t).scrollIntoView()),n.preventDefault()}};const QS=sk?"metaKey":"ctrlKey";_S.mousedown=(e,t)=>{let n=t;e.input.shiftKey=n.shiftKey;let r=JS(e),o=Date.now(),i="singleClick";o-e.input.lastClick.time<500&&function(e,t){let n=t.x-e.clientX,r=t.y-e.clientY;return n*n+r*r<100}(n,e.input.lastClick)&&!n[QS]&&("singleClick"==e.input.lastClick.type?i="doubleClick":"doubleClick"==e.input.lastClick.type&&(i="tripleClick")),e.input.lastClick={time:o,x:n.clientX,y:n.clientY,type:i};let a=e.posAtCoords(VS(n));a&&("singleClick"==i?(e.input.mouseDown&&e.input.mouseDown.done(),e.input.mouseDown=new eC(e,a,n,!!r)):("doubleClick"==i?YS:XS)(e,a.pos,a.inside,n)?n.preventDefault():zS(e,"pointer"))};class eC{constructor(e,t,n,r){let o,i;if(this.view=e,this.pos=t,this.event=n,this.flushed=r,this.delayedSelectionSync=!1,this.mightDrag=null,this.startDoc=e.state.doc,this.selectNode=!!n[QS],this.allowDefault=n.shiftKey,t.inside>-1)o=e.state.doc.nodeAt(t.inside),i=t.inside;else{let n=e.state.doc.resolve(t.pos);o=n.parent,i=n.depth?n.before():0}const a=r?null:n.target,s=a?e.docView.nearestDesc(a,!0):null;this.target=s?s.dom:null;let{selection:l}=e.state;(0==n.button&&o.type.spec.draggable&&!1!==o.type.spec.selectable||l instanceof bx&&l.from<=i&&l.to>i)&&(this.mightDrag={node:o,pos:i,addAttr:!(!this.target||this.target.draggable),setUneditable:!(!this.target||!tk||this.target.hasAttribute("contentEditable"))}),this.target&&this.mightDrag&&(this.mightDrag.addAttr||this.mightDrag.setUneditable)&&(this.view.domObserver.stop(),this.mightDrag.addAttr&&(this.target.draggable=!0),this.mightDrag.setUneditable&&setTimeout((()=>{this.view.input.mouseDown==this&&this.target.setAttribute("contentEditable","false")}),20),this.view.domObserver.start()),e.root.addEventListener("mouseup",this.up=this.up.bind(this)),e.root.addEventListener("mousemove",this.move=this.move.bind(this)),zS(e,"pointer")}done(){this.view.root.removeEventListener("mouseup",this.up),this.view.root.removeEventListener("mousemove",this.move),this.mightDrag&&this.target&&(this.view.domObserver.stop(),this.mightDrag.addAttr&&this.target.removeAttribute("draggable"),this.mightDrag.setUneditable&&this.target.removeAttribute("contentEditable"),this.view.domObserver.start()),this.delayedSelectionSync&&setTimeout((()=>oS(this.view))),this.view.input.mouseDown=null}up(e){if(this.done(),!this.view.dom.contains(e.target))return;let t=this.pos;this.view.state.doc!=this.startDoc&&(t=this.view.posAtCoords(VS(e))),this.updateAllowDefault(e),this.allowDefault||!t?zS(this.view,"pointer"):KS(this.view,t.pos,t.inside,e,this.selectNode)?e.preventDefault():0==e.button&&(this.flushed||ik&&this.mightDrag&&!this.mightDrag.node.isAtom||rk&&!this.view.state.selection.visible&&Math.min(Math.abs(t.pos-this.view.state.selection.from),Math.abs(t.pos-this.view.state.selection.to))<=2)?(GS(this.view,fx.near(this.view.state.doc.resolve(t.pos)),"pointer"),e.preventDefault()):zS(this.view,"pointer")}move(e){this.updateAllowDefault(e),zS(this.view,"pointer"),0==e.buttons&&this.done()}updateAllowDefault(e){!this.allowDefault&&(Math.abs(this.event.x-e.clientX)>4||Math.abs(this.event.y-e.clientY)>4)&&(this.allowDefault=!0)}}function tC(e,t){return!!e.composing||!!(ik&&Math.abs(t.timeStamp-e.input.compositionEndedAt)<500)&&(e.input.compositionEndedAt=-2e8,!0)}_S.touchstart=e=>{e.input.lastTouch=Date.now(),JS(e),zS(e,"pointer")},_S.touchmove=e=>{e.input.lastTouch=Date.now(),zS(e,"pointer")},_S.contextmenu=e=>JS(e);const nC=ck?5e3:-1;function rC(e,t){clearTimeout(e.input.composingTimeout),t>-1&&(e.input.composingTimeout=setTimeout((()=>iC(e)),t))}function oC(e){for(e.composing&&(e.input.composing=!1,e.input.compositionEndedAt=function(){let e=document.createEvent("Event");return e.initEvent("event",!0,!0),e.timeStamp}());e.input.compositionNodes.length>0;)e.input.compositionNodes.pop().markParentsDirty()}function iC(e,t=!1){if(!(ck&&e.domObserver.flushingSoon>=0)){if(e.domObserver.forceFlush(),oC(e),t||e.docView&&e.docView.dirty){let t=nS(e);return t&&!t.eq(e.state.selection)?e.dispatch(e.state.tr.setSelection(t)):e.updateState(e.state),!0}return!1}}FS.compositionstart=FS.compositionupdate=e=>{if(!e.composing){e.domObserver.flush();let{state:t}=e,n=t.selection.$from;if(t.selection.empty&&(t.storedMarks||!n.textOffset&&n.parentOffset&&n.nodeBefore.marks.some((e=>!1===e.type.spec.inclusive))))e.markCursor=e.state.storedMarks||n.marks(),iC(e,!0),e.markCursor=null;else if(iC(e),tk&&t.selection.empty&&n.parentOffset&&!n.textOffset&&n.nodeBefore.marks.length){let t=e.domSelectionRange();for(let n=t.focusNode,r=t.focusOffset;n&&1==n.nodeType&&0!=r;){let t=r<0?n.lastChild:n.childNodes[r-1];if(!t)break;if(3==t.nodeType){e.domSelection().collapse(t,t.nodeValue.length);break}n=t,r=-1}}e.input.composing=!0}rC(e,nC)},FS.compositionend=(e,t)=>{e.composing&&(e.input.composing=!1,e.input.compositionEndedAt=t.timeStamp,e.input.compositionPendingChanges=e.domObserver.pendingRecords().length?e.input.compositionID:0,e.input.compositionPendingChanges&&Promise.resolve().then((()=>e.domObserver.flush())),e.input.compositionID++,rC(e,20))};const aC=Qx&&ek<15||ak&&dk<604;function sC(e,t,n,r,o){let i=$S(e,t,n,r,e.state.selection.$from);if(e.someProp("handlePaste",(t=>t(e,o,i||Lb.empty))))return!0;if(!i)return!1;let a=function(e){return 0==e.openStart&&0==e.openEnd&&1==e.content.childCount?e.content.firstChild:null}(i),s=a?e.state.tr.replaceSelectionWith(a,r):e.state.tr.replaceSelection(i);return e.dispatch(s.scrollIntoView().setMeta("paste",!0).setMeta("uiEvent","paste")),!0}function lC(e){let t=e.getData("text/plain")||e.getData("Text");if(t)return t;let n=e.getData("text/uri-list");return n?n.replace(/\r?\n/g," "):""}_S.copy=FS.cut=(e,t)=>{let n=t,r=e.state.selection,o="cut"==n.type;if(r.empty)return;let i=aC?null:n.clipboardData,a=r.content(),{dom:s,text:l}=OS(e,a);i?(n.preventDefault(),i.clearData(),i.setData("text/html",s.innerHTML),i.setData("text/plain",l)):function(e,t){if(!e.dom.parentNode)return;let n=e.dom.parentNode.appendChild(document.createElement("div"));n.appendChild(t),n.style.cssText="position: fixed; left: -10000px; top: 10px";let r=getSelection(),o=document.createRange();o.selectNodeContents(t),e.dom.blur(),r.removeAllRanges(),r.addRange(o),setTimeout((()=>{n.parentNode&&n.parentNode.removeChild(n),e.focus()}),50)}(e,s),o&&e.dispatch(e.state.tr.deleteSelection().scrollIntoView().setMeta("uiEvent","cut"))},FS.paste=(e,t)=>{let n=t;if(e.composing&&!ck)return;let r=aC?null:n.clipboardData,o=e.input.shiftKey&&45!=e.input.lastKeyCode;r&&sC(e,lC(r),r.getData("text/html"),o,n)?n.preventDefault():function(e,t){if(!e.dom.parentNode)return;let n=e.input.shiftKey||e.state.selection.$from.parent.type.spec.code,r=e.dom.parentNode.appendChild(document.createElement(n?"textarea":"div"));n||(r.contentEditable="true"),r.style.cssText="position: fixed; left: -10000px; top: 10px",r.focus();let o=e.input.shiftKey&&45!=e.input.lastKeyCode;setTimeout((()=>{e.focus(),r.parentNode&&r.parentNode.removeChild(r),n?sC(e,r.value,null,o,t):sC(e,r.textContent,r.innerHTML,o,t)}),50)}(e,n)};class cC{constructor(e,t,n){this.slice=e,this.move=t,this.node=n}}const uC=sk?"altKey":"ctrlKey";_S.dragstart=(e,t)=>{let n=t,r=e.input.mouseDown;if(r&&r.done(),!n.dataTransfer)return;let o,i=e.state.selection,a=i.empty?null:e.posAtCoords(VS(n));if(a&&a.pos>=i.from&&a.pos<=(i instanceof bx?i.to-1:i.to));else if(r&&r.mightDrag)o=bx.create(e.state.doc,r.mightDrag.pos);else if(n.target&&1==n.target.nodeType){let t=e.docView.nearestDesc(n.target,!0);t&&t.node.type.spec.draggable&&t!=e.docView&&(o=bx.create(e.state.doc,t.posBefore))}let s=(o||e.state.selection).content(),{dom:l,text:c}=OS(e,s);n.dataTransfer.clearData(),n.dataTransfer.setData(aC?"Text":"text/html",l.innerHTML),n.dataTransfer.effectAllowed="copyMove",aC||n.dataTransfer.setData("text/plain",c),e.dragging=new cC(s,!n[uC],o)},_S.dragend=e=>{let t=e.dragging;window.setTimeout((()=>{e.dragging==t&&(e.dragging=null)}),50)},FS.dragover=FS.dragenter=(e,t)=>t.preventDefault(),FS.drop=(e,t)=>{let n=t,r=e.dragging;if(e.dragging=null,!n.dataTransfer)return;let o=e.posAtCoords(VS(n));if(!o)return;let i=e.state.doc.resolve(o.pos),a=r&&r.slice;a?e.someProp("transformPasted",(t=>{a=t(a,e)})):a=$S(e,lC(n.dataTransfer),aC?null:n.dataTransfer.getData("text/html"),!1,i);let s=!(!r||n[uC]);if(e.someProp("handleDrop",(t=>t(e,n,a||Lb.empty,s))))return void n.preventDefault();if(!a)return;n.preventDefault();let l=a?function(e,t,n){let r=e.resolve(t);if(!n.content.size)return t;let o=n.content;for(let i=0;i<n.openStart;i++)o=o.firstChild.content;for(let i=1;i<=(0==n.openStart&&n.size?2:1);i++)for(let e=r.depth;e>=0;e--){let t=e==r.depth?0:r.pos<=(r.start(e+1)+r.end(e+1))/2?-1:1,n=r.index(e)+(t>0?1:0),a=r.node(e),s=!1;if(1==i)s=a.canReplace(n,n,o);else{let e=a.contentMatchAt(n).findWrapping(o.firstChild.type);s=e&&a.canReplaceWith(n,n,e[0])}if(s)return 0==t?r.pos:t<0?r.before(e+1):r.after(e+1)}return null}(e.state.doc,i.pos,a):i.pos;null==l&&(l=i.pos);let c=e.state.tr;if(s){let{node:e}=r;e?e.replace(c):c.deleteSelection()}let u=c.mapping.map(l),d=0==a.openStart&&0==a.openEnd&&1==a.content.childCount,p=c.doc;if(d?c.replaceRangeWith(u,u,a.content.firstChild):c.replaceRange(u,u,a),c.doc.eq(p))return;let f=c.doc.resolve(u);if(d&&bx.isSelectable(a.content.firstChild)&&f.nodeAfter&&f.nodeAfter.sameMarkup(a.content.firstChild))c.setSelection(new bx(f));else{let t=c.mapping.map(l);c.mapping.maps[c.mapping.maps.length-1].forEach(((e,n,r,o)=>t=o)),c.setSelection(dS(e,f,c.doc.resolve(t)))}e.focus(),e.dispatch(c.setMeta("uiEvent","drop"))},_S.focus=e=>{e.input.lastFocus=Date.now(),e.focused||(e.domObserver.stop(),e.dom.classList.add("ProseMirror-focused"),e.domObserver.start(),e.focused=!0,setTimeout((()=>{e.docView&&e.hasFocus()&&!e.domObserver.currentSelection.eq(e.domSelectionRange())&&oS(e)}),20))},_S.blur=(e,t)=>{let n=t;e.focused&&(e.domObserver.stop(),e.dom.classList.remove("ProseMirror-focused"),e.domObserver.start(),n.relatedTarget&&e.dom.contains(n.relatedTarget)&&e.domObserver.currentSelection.clear(),e.focused=!1)},_S.beforeinput=(e,t)=>{if(rk&&ck&&"deleteContentBackward"==t.inputType){e.domObserver.flushSoon();let{domChangeCount:t}=e.input;setTimeout((()=>{if(e.input.domChangeCount!=t)return;if(e.dom.blur(),e.focus(),e.someProp("handleKeyDown",(t=>t(e,Vx(8,"Backspace")))))return;let{$cursor:n}=e.state.selection;n&&n.pos>0&&e.dispatch(e.state.tr.delete(n.pos-1,n.pos).scrollIntoView())}),50)}};for(let n in FS)_S[n]=FS[n];function dC(e,t){if(e==t)return!0;for(let n in e)if(e[n]!==t[n])return!1;for(let n in t)if(!(n in e))return!1;return!0}class pC{constructor(e,t){this.toDOM=e,this.spec=t||gC,this.side=this.spec.side||0}map(e,t,n,r){let{pos:o,deleted:i}=e.mapResult(t.from+r,this.side<0?-1:1);return i?null:new mC(o-n,o-n,this)}valid(){return!0}eq(e){return this==e||e instanceof pC&&(this.spec.key&&this.spec.key==e.spec.key||this.toDOM==e.toDOM&&dC(this.spec,e.spec))}destroy(e){this.spec.destroy&&this.spec.destroy(e)}}class fC{constructor(e,t){this.attrs=e,this.spec=t||gC}map(e,t,n,r){let o=e.map(t.from+r,this.spec.inclusiveStart?-1:1)-n,i=e.map(t.to+r,this.spec.inclusiveEnd?1:-1)-n;return o>=i?null:new mC(o,i,this)}valid(e,t){return t.from<t.to}eq(e){return this==e||e instanceof fC&&dC(this.attrs,e.attrs)&&dC(this.spec,e.spec)}static is(e){return e.type instanceof fC}destroy(){}}class hC{constructor(e,t){this.attrs=e,this.spec=t||gC}map(e,t,n,r){let o=e.mapResult(t.from+r,1);if(o.deleted)return null;let i=e.mapResult(t.to+r,-1);return i.deleted||i.pos<=o.pos?null:new mC(o.pos-n,i.pos-n,this)}valid(e,t){let n,{index:r,offset:o}=e.content.findIndex(t.from);return o==t.from&&!(n=e.child(r)).isText&&o+n.nodeSize==t.to}eq(e){return this==e||e instanceof hC&&dC(this.attrs,e.attrs)&&dC(this.spec,e.spec)}destroy(){}}class mC{constructor(e,t,n){this.from=e,this.to=t,this.type=n}copy(e,t){return new mC(e,t,this.type)}eq(e,t=0){return this.type.eq(e.type)&&this.from+t==e.from&&this.to+t==e.to}map(e,t,n){return this.type.map(e,this,t,n)}static widget(e,t,n){return new mC(e,e,new pC(t,n))}static inline(e,t,n,r){return new mC(e,t,new fC(n,r))}static node(e,t,n,r){return new mC(e,t,new hC(n,r))}get spec(){return this.type.spec}get inline(){return this.type instanceof fC}get widget(){return this.type instanceof pC}}const vC=[],gC={};class yC{constructor(e,t){this.local=e.length?e:vC,this.children=t.length?t:vC}static create(e,t){return t.length?CC(t,e,0,gC):bC}find(e,t,n){let r=[];return this.findInner(null==e?0:e,null==t?1e9:t,r,0,n),r}findInner(e,t,n,r,o){for(let i=0;i<this.local.length;i++){let a=this.local[i];a.from<=t&&a.to>=e&&(!o||o(a.spec))&&n.push(a.copy(a.from+r,a.to+r))}for(let i=0;i<this.children.length;i+=3)if(this.children[i]<t&&this.children[i+1]>e){let a=this.children[i]+1;this.children[i+2].findInner(e-a,t-a,n,r+a,o)}}map(e,t,n){return this==bC||0==e.maps.length?this:this.mapInner(e,t,0,0,n||gC)}mapInner(e,t,n,r,o){let i;for(let a=0;a<this.local.length;a++){let s=this.local[a].map(e,n,r);s&&s.type.valid(t,s)?(i||(i=[])).push(s):o.onRemove&&o.onRemove(this.local[a].spec)}return this.children.length?function(e,t,n,r,o,i,a){let s=e.slice();for(let c=0,u=i;c<n.maps.length;c++){let e=0;n.maps[c].forEach(((t,n,r,o)=>{let i=o-r-(n-t);for(let a=0;a<s.length;a+=3){let r=s[a+1];if(r<0||t>r+u-e)continue;let o=s[a]+u-e;n>=o?s[a+1]=t<=o?-2:-1:t>=u&&i&&(s[a]+=i,s[a+1]+=i)}e+=i})),u=n.maps[c].map(u,-1)}let l=!1;for(let c=0;c<s.length;c+=3)if(s[c+1]<0){if(-2==s[c+1]){l=!0,s[c+1]=-1;continue}let t=n.map(e[c]+i),u=t-o;if(u<0||u>=r.content.size){l=!0;continue}let d=n.map(e[c+1]+i,-1)-o,{index:p,offset:f}=r.content.findIndex(u),h=r.maybeChild(p);if(h&&f==u&&f+h.nodeSize==d){let r=s[c+2].mapInner(n,h,t+1,e[c]+i+1,a);r!=bC?(s[c]=u,s[c+1]=d,s[c+2]=r):(s[c+1]=-2,l=!0)}else l=!0}if(l){let l=function(e,t,n,r,o,i,a){function s(e,t){for(let i=0;i<e.local.length;i++){let s=e.local[i].map(r,o,t);s?n.push(s):a.onRemove&&a.onRemove(e.local[i].spec)}for(let n=0;n<e.children.length;n+=3)s(e.children[n+2],e.children[n]+t+1)}for(let l=0;l<e.length;l+=3)-1==e[l+1]&&s(e[l+2],t[l]+i+1);return n}(s,e,t,n,o,i,a),c=CC(l,r,0,a);t=c.local;for(let e=0;e<s.length;e+=3)s[e+1]<0&&(s.splice(e,3),e-=3);for(let e=0,t=0;e<c.children.length;e+=3){let n=c.children[e];for(;t<s.length&&s[t]<n;)t+=3;s.splice(t,0,c.children[e],c.children[e+1],c.children[e+2])}}return new yC(t.sort(EC),s)}(this.children,i||[],e,t,n,r,o):i?new yC(i.sort(EC),vC):bC}add(e,t){return t.length?this==bC?yC.create(e,t):this.addInner(e,t,0):this}addInner(e,t,n){let r,o=0;e.forEach(((e,i)=>{let a,s=i+n;if(a=kC(t,e,s)){for(r||(r=this.children.slice());o<r.length&&r[o]<i;)o+=3;r[o]==i?r[o+2]=r[o+2].addInner(e,a,s+1):r.splice(o,0,i,i+e.nodeSize,CC(a,e,s+1,gC)),o+=3}}));let i=xC(o?SC(t):t,-n);for(let a=0;a<i.length;a++)i[a].type.valid(e,i[a])||i.splice(a--,1);return new yC(i.length?this.local.concat(i).sort(EC):this.local,r||this.children)}remove(e){return 0==e.length||this==bC?this:this.removeInner(e,0)}removeInner(e,t){let n=this.children,r=this.local;for(let o=0;o<n.length;o+=3){let r,i=n[o]+t,a=n[o+1]+t;for(let t,n=0;n<e.length;n++)(t=e[n])&&t.from>i&&t.to<a&&(e[n]=null,(r||(r=[])).push(t));if(!r)continue;n==this.children&&(n=this.children.slice());let s=n[o+2].removeInner(r,i+1);s!=bC?n[o+2]=s:(n.splice(o,3),o-=3)}if(r.length)for(let o,i=0;i<e.length;i++)if(o=e[i])for(let e=0;e<r.length;e++)r[e].eq(o,t)&&(r==this.local&&(r=this.local.slice()),r.splice(e--,1));return n==this.children&&r==this.local?this:r.length||n.length?new yC(r,n):bC}forChild(e,t){if(this==bC)return this;if(t.isLeaf)return yC.empty;let n,r;for(let a=0;a<this.children.length;a+=3)if(this.children[a]>=e){this.children[a]==e&&(n=this.children[a+2]);break}let o=e+1,i=o+t.content.size;for(let a=0;a<this.local.length;a++){let e=this.local[a];if(e.from<i&&e.to>o&&e.type instanceof fC){let t=Math.max(o,e.from)-o,n=Math.min(i,e.to)-o;t<n&&(r||(r=[])).push(e.copy(t,n))}}if(r){let e=new yC(r.sort(EC),vC);return n?new wC([e,n]):e}return n||bC}eq(e){if(this==e)return!0;if(!(e instanceof yC)||this.local.length!=e.local.length||this.children.length!=e.children.length)return!1;for(let t=0;t<this.local.length;t++)if(!this.local[t].eq(e.local[t]))return!1;for(let t=0;t<this.children.length;t+=3)if(this.children[t]!=e.children[t]||this.children[t+1]!=e.children[t+1]||!this.children[t+2].eq(e.children[t+2]))return!1;return!0}locals(e){return TC(this.localsInner(e))}localsInner(e){if(this==bC)return vC;if(e.inlineContent||!this.local.some(fC.is))return this.local;let t=[];for(let n=0;n<this.local.length;n++)this.local[n].type instanceof fC||t.push(this.local[n]);return t}}yC.empty=new yC([],[]),yC.removeOverlap=TC;const bC=yC.empty;class wC{constructor(e){this.members=e}map(e,t){const n=this.members.map((n=>n.map(e,t,gC)));return wC.from(n)}forChild(e,t){if(t.isLeaf)return yC.empty;let n=[];for(let r=0;r<this.members.length;r++){let o=this.members[r].forChild(e,t);o!=bC&&(o instanceof wC?n=n.concat(o.members):n.push(o))}return wC.from(n)}eq(e){if(!(e instanceof wC)||e.members.length!=this.members.length)return!1;for(let t=0;t<this.members.length;t++)if(!this.members[t].eq(e.members[t]))return!1;return!0}locals(e){let t,n=!0;for(let r=0;r<this.members.length;r++){let o=this.members[r].localsInner(e);if(o.length)if(t){n&&(t=t.slice(),n=!1);for(let e=0;e<o.length;e++)t.push(o[e])}else t=o}return t?TC(n?t:t.sort(EC)):vC}static from(e){switch(e.length){case 0:return bC;case 1:return e[0];default:return new wC(e.every((e=>e instanceof yC))?e:e.reduce(((e,t)=>e.concat(t instanceof yC?t:t.members)),[]))}}}function xC(e,t){if(!t||!e.length)return e;let n=[];for(let r=0;r<e.length;r++){let o=e[r];n.push(new mC(o.from+t,o.to+t,o.type))}return n}function kC(e,t,n){if(t.isLeaf)return null;let r=n+t.nodeSize,o=null;for(let i,a=0;a<e.length;a++)(i=e[a])&&i.from>n&&i.to<r&&((o||(o=[])).push(i),e[a]=null);return o}function SC(e){let t=[];for(let n=0;n<e.length;n++)null!=e[n]&&t.push(e[n]);return t}function CC(e,t,n,r){let o=[],i=!1;t.forEach(((t,a)=>{let s=kC(e,t,a+n);if(s){i=!0;let e=CC(s,t,n+a+1,r);e!=bC&&o.push(a,a+t.nodeSize,e)}}));let a=xC(i?SC(e):e,-n).sort(EC);for(let s=0;s<a.length;s++)a[s].type.valid(t,a[s])||(r.onRemove&&r.onRemove(a[s].spec),a.splice(s--,1));return a.length||o.length?new yC(a,o):bC}function EC(e,t){return e.from-t.from||e.to-t.to}function TC(e){let t=e;for(let n=0;n<t.length-1;n++){let r=t[n];if(r.from!=r.to)for(let o=n+1;o<t.length;o++){let i=t[o];if(i.from!=r.from){i.from<r.to&&(t==e&&(t=e.slice()),t[n]=r.copy(r.from,i.from),OC(t,o,r.copy(i.from,r.to)));break}i.to!=r.to&&(t==e&&(t=e.slice()),t[o]=i.copy(i.from,r.to),OC(t,o+1,i.copy(r.to,i.to)))}}return t}function OC(e,t,n){for(;t<e.length&&EC(n,e[t])>0;)t++;e.splice(t,0,n)}function $C(e){let t=[];return e.someProp("decorations",(n=>{let r=n(e.state);r&&r!=bC&&t.push(r)})),e.cursorWrapper&&t.push(yC.create(e.state.doc,[e.cursorWrapper.deco])),wC.from(t)}const MC={childList:!0,characterData:!0,characterDataOldValue:!0,attributes:!0,attributeOldValue:!0,subtree:!0},AC=Qx&&ek<=11;class DC{constructor(){this.anchorNode=null,this.anchorOffset=0,this.focusNode=null,this.focusOffset=0}set(e){this.anchorNode=e.anchorNode,this.anchorOffset=e.anchorOffset,this.focusNode=e.focusNode,this.focusOffset=e.focusOffset}clear(){this.anchorNode=this.focusNode=null}eq(e){return e.anchorNode==this.anchorNode&&e.anchorOffset==this.anchorOffset&&e.focusNode==this.focusNode&&e.focusOffset==this.focusOffset}}class LC{constructor(e,t){this.view=e,this.handleDOMChange=t,this.queue=[],this.flushingSoon=-1,this.observer=null,this.currentSelection=new DC,this.onCharData=null,this.suppressingSelectionUpdates=!1,this.observer=window.MutationObserver&&new window.MutationObserver((e=>{for(let t=0;t<e.length;t++)this.queue.push(e[t]);Qx&&ek<=11&&e.some((e=>"childList"==e.type&&e.removedNodes.length||"characterData"==e.type&&e.oldValue.length>e.target.nodeValue.length))?this.flushSoon():this.flush()})),AC&&(this.onCharData=e=>{this.queue.push({target:e.target,type:"characterData",oldValue:e.prevValue}),this.flushSoon()}),this.onSelectionChange=this.onSelectionChange.bind(this)}flushSoon(){this.flushingSoon<0&&(this.flushingSoon=window.setTimeout((()=>{this.flushingSoon=-1,this.flush()}),20))}forceFlush(){this.flushingSoon>-1&&(window.clearTimeout(this.flushingSoon),this.flushingSoon=-1,this.flush())}start(){this.observer&&(this.observer.takeRecords(),this.observer.observe(this.view.dom,MC)),this.onCharData&&this.view.dom.addEventListener("DOMCharacterDataModified",this.onCharData),this.connectSelection()}stop(){if(this.observer){let e=this.observer.takeRecords();if(e.length){for(let t=0;t<e.length;t++)this.queue.push(e[t]);window.setTimeout((()=>this.flush()),20)}this.observer.disconnect()}this.onCharData&&this.view.dom.removeEventListener("DOMCharacterDataModified",this.onCharData),this.disconnectSelection()}connectSelection(){this.view.dom.ownerDocument.addEventListener("selectionchange",this.onSelectionChange)}disconnectSelection(){this.view.dom.ownerDocument.removeEventListener("selectionchange",this.onSelectionChange)}suppressSelectionUpdates(){this.suppressingSelectionUpdates=!0,setTimeout((()=>this.suppressingSelectionUpdates=!1),50)}onSelectionChange(){if(pS(this.view)){if(this.suppressingSelectionUpdates)return oS(this.view);if(Qx&&ek<=11&&!this.view.state.selection.empty){let e=this.view.domSelectionRange();if(e.focusNode&&jx(e.focusNode,e.focusOffset,e.anchorNode,e.anchorOffset))return this.flushSoon()}this.flush()}}setCurSelection(){this.currentSelection.set(this.view.domSelectionRange())}ignoreSelectionChange(e){if(!e.focusNode)return!0;let t,n=new Set;for(let o=e.focusNode;o;o=Zx(o))n.add(o);for(let o=e.anchorNode;o;o=Zx(o))if(n.has(o)){t=o;break}let r=t&&this.view.docView.nearestDesc(t);return r&&r.ignoreMutation({type:"selection",target:3==t.nodeType?t.parentNode:t})?(this.setCurSelection(),!0):void 0}pendingRecords(){if(this.observer)for(let e of this.observer.takeRecords())this.queue.push(e);return this.queue}flush(){let{view:e}=this;if(!e.docView||this.flushingSoon>-1)return;let t=this.pendingRecords();t.length&&(this.queue=[]);let n=e.domSelectionRange(),r=!this.suppressingSelectionUpdates&&!this.currentSelection.eq(n)&&pS(e)&&!this.ignoreSelectionChange(n),o=-1,i=-1,a=!1,s=[];if(e.editable)for(let c=0;c<t.length;c++){let e=this.registerMutation(t[c],s);e&&(o=o<0?e.from:Math.min(e.from,o),i=i<0?e.to:Math.max(e.to,i),e.typeOver&&(a=!0))}if(tk&&s.length>1){let e=s.filter((e=>"BR"==e.nodeName));if(2==e.length){let t=e[0],n=e[1];t.parentNode&&t.parentNode.parentNode==n.parentNode?n.remove():t.remove()}}let l=null;o<0&&r&&e.input.lastFocus>Date.now()-200&&Math.max(e.input.lastTouch,e.input.lastClick.time)<Date.now()-300&&Wx(n)&&(l=nS(e))&&l.eq(fx.near(e.state.doc.resolve(0),1))?(e.input.lastFocus=0,oS(e),this.currentSelection.set(n),e.scrollToSelection()):(o>-1||r)&&(o>-1&&(e.docView.markDirty(o,i),function(e){if(NC.has(e))return;if(NC.set(e,null),-1!==["normal","nowrap","pre-line"].indexOf(getComputedStyle(e.dom).whiteSpace)){if(e.requiresGeckoHackNode=tk,RC)return;console.warn("ProseMirror expects the CSS white-space property to be set, preferably to 'pre-wrap'. It is recommended to load style/prosemirror.css from the prosemirror-view package."),RC=!0}}(e)),this.handleDOMChange(o,i,a,s),e.docView&&e.docView.dirty?e.updateState(e.state):this.currentSelection.eq(n)||oS(e),this.currentSelection.set(n))}registerMutation(e,t){if(t.indexOf(e.target)>-1)return null;let n=this.view.docView.nearestDesc(e.target);if("attributes"==e.type&&(n==this.view.docView||"contenteditable"==e.attributeName||"style"==e.attributeName&&!e.oldValue&&!e.target.getAttribute("style")))return null;if(!n||n.ignoreMutation(e))return null;if("childList"==e.type){for(let n=0;n<e.addedNodes.length;n++)t.push(e.addedNodes[n]);if(n.contentDOM&&n.contentDOM!=n.dom&&!n.contentDOM.contains(e.target))return{from:n.posBefore,to:n.posAfter};let r=e.previousSibling,o=e.nextSibling;if(Qx&&ek<=11&&e.addedNodes.length)for(let t=0;t<e.addedNodes.length;t++){let{previousSibling:n,nextSibling:i}=e.addedNodes[t];(!n||Array.prototype.indexOf.call(e.addedNodes,n)<0)&&(r=n),(!i||Array.prototype.indexOf.call(e.addedNodes,i)<0)&&(o=i)}let i=r&&r.parentNode==e.target?Px(r)+1:0,a=n.localPosFromDOM(e.target,i,-1),s=o&&o.parentNode==e.target?Px(o):e.target.childNodes.length;return{from:a,to:n.localPosFromDOM(e.target,s,1)}}return"attributes"==e.type?{from:n.posAtStart-n.border,to:n.posAtEnd+n.border}:{from:n.posAtStart,to:n.posAtEnd,typeOver:e.target.nodeValue==e.oldValue}}}let NC=new WeakMap,RC=!1;function IC(e){let t=e.pmViewDesc;if(t)return t.parseRule();if("BR"==e.nodeName&&e.parentNode){if(ik&&/^(ul|ol)$/i.test(e.parentNode.nodeName)){let e=document.createElement("div");return e.appendChild(document.createElement("li")),{skip:e}}if(e.parentNode.lastChild==e||ik&&/^(tr|table)$/i.test(e.parentNode.nodeName))return{ignore:!0}}else if("IMG"==e.nodeName&&e.getAttribute("mark-placeholder"))return{ignore:!0};return null}const PC=/^(a|abbr|acronym|b|bd[io]|big|br|button|cite|code|data(list)?|del|dfn|em|i|ins|kbd|label|map|mark|meter|output|q|ruby|s|samp|small|span|strong|su[bp]|time|u|tt|var)$/i;function ZC(e,t,n,r,o){let i=e.input.compositionPendingChanges||(e.composing?e.input.compositionID:0);if(e.input.compositionPendingChanges=0,t<0){let t=e.input.lastSelectionTime>Date.now()-50?e.input.lastSelectionOrigin:null,n=nS(e,t);if(n&&!e.state.selection.eq(n)){if(rk&&ck&&13===e.input.lastKeyCode&&Date.now()-100<e.input.lastKeyCodeTime&&e.someProp("handleKeyDown",(t=>t(e,Vx(13,"Enter")))))return;let r=e.state.tr.setSelection(n);"pointer"==t?r.setMeta("pointer",!0):"key"==t&&r.scrollIntoView(),i&&r.setMeta("composition",i),e.dispatch(r)}return}let a=e.state.doc.resolve(t),s=a.sharedDepth(n);t=a.before(s+1),n=e.state.doc.resolve(n).after(s+1);let l,c,u=e.state.selection,d=function(e,t,n){let r,{node:o,fromOffset:i,toOffset:a,from:s,to:l}=e.docView.parseRange(t,n),c=e.domSelectionRange(),u=c.anchorNode;if(u&&e.dom.contains(1==u.nodeType?u:u.parentNode)&&(r=[{node:u,offset:c.anchorOffset}],Wx(c)||r.push({node:c.focusNode,offset:c.focusOffset})),rk&&8===e.input.lastKeyCode)for(let v=a;v>i;v--){let e=o.childNodes[v-1],t=e.pmViewDesc;if("BR"==e.nodeName&&!t){a=v;break}if(!t||t.size)break}let d=e.state.doc,p=e.someProp("domParser")||vw.fromSchema(e.state.schema),f=d.resolve(s),h=null,m=p.parse(o,{topNode:f.parent,topMatch:f.parent.contentMatchAt(f.index()),topOpen:!0,from:i,to:a,preserveWhitespace:"pre"!=f.parent.type.whitespace||"full",findPositions:r,ruleFromNode:IC,context:f});if(r&&null!=r[0].pos){let e=r[0].pos,t=r[1]&&r[1].pos;null==t&&(t=e),h={anchor:e+s,head:t+s}}return{doc:m,sel:h,from:s,to:l}}(e,t,n),p=e.state.doc,f=p.slice(d.from,d.to);8===e.input.lastKeyCode&&Date.now()-100<e.input.lastKeyCodeTime?(l=e.state.selection.to,c="end"):(l=e.state.selection.from,c="start"),e.input.lastKeyCode=null;let h=function(e,t,n,r,o){let i=e.findDiffStart(t,n);if(null==i)return null;let{a,b:s}=e.findDiffEnd(t,n+e.size,n+t.size);if("end"==o){r-=a+Math.max(0,i-Math.min(a,s))-i}if(a<i&&e.size<t.size){let e=r<=i&&r>=a?i-r:0;i-=e,i&&i<t.size&&jC(t.textBetween(i-1,i+1))&&(i+=e?1:-1),s=i+(s-a),a=i}else if(s<i){let t=r<=i&&r>=s?i-r:0;i-=t,i&&i<e.size&&jC(e.textBetween(i-1,i+1))&&(i+=t?1:-1),a=i+(a-s),s=i}return{start:i,endA:a,endB:s}}(f.content,d.doc.content,d.from,l,c);if((ak&&e.input.lastIOSEnter>Date.now()-225||ck)&&o.some((e=>1==e.nodeType&&!PC.test(e.nodeName)))&&(!h||h.endA>=h.endB)&&e.someProp("handleKeyDown",(t=>t(e,Vx(13,"Enter")))))return void(e.input.lastIOSEnter=0);if(!h){if(!(r&&u instanceof gx&&!u.empty&&u.$head.sameParent(u.$anchor))||e.composing||d.sel&&d.sel.anchor!=d.sel.head){if(d.sel){let t=_C(e,e.state.doc,d.sel);if(t&&!t.eq(e.state.selection)){let n=e.state.tr.setSelection(t);i&&n.setMeta("composition",i),e.dispatch(n)}}return}h={start:u.from,endA:u.to,endB:u.to}}if(rk&&e.cursorWrapper&&d.sel&&d.sel.anchor==e.cursorWrapper.deco.from&&d.sel.head==d.sel.anchor){let e=h.endB-h.start;d.sel={anchor:d.sel.anchor+e,head:d.sel.anchor+e}}e.input.domChangeCount++,e.state.selection.from<e.state.selection.to&&h.start==h.endB&&e.state.selection instanceof gx&&(h.start>e.state.selection.from&&h.start<=e.state.selection.from+2&&e.state.selection.from>=d.from?h.start=e.state.selection.from:h.endA<e.state.selection.to&&h.endA>=e.state.selection.to-2&&e.state.selection.to<=d.to&&(h.endB+=e.state.selection.to-h.endA,h.endA=e.state.selection.to)),Qx&&ek<=11&&h.endB==h.start+1&&h.endA==h.start&&h.start>d.from&&" "==d.doc.textBetween(h.start-d.from-1,h.start-d.from+1)&&(h.start--,h.endA--,h.endB--);let m,v=d.doc.resolveNoCache(h.start-d.from),g=d.doc.resolveNoCache(h.endB-d.from),y=p.resolve(h.start),b=v.sameParent(g)&&v.parent.inlineContent&&y.end()>=h.endA;if((ak&&e.input.lastIOSEnter>Date.now()-225&&(!b||o.some((e=>"DIV"==e.nodeName||"P"==e.nodeName)))||!b&&v.pos<d.doc.content.size&&!v.sameParent(g)&&(m=fx.findFrom(d.doc.resolve(v.pos+1),1,!0))&&m.head==g.pos)&&e.someProp("handleKeyDown",(t=>t(e,Vx(13,"Enter")))))return void(e.input.lastIOSEnter=0);if(e.state.selection.anchor>h.start&&function(e,t,n,r,o){if(!r.parent.isTextblock||n-t<=o.pos-r.pos||FC(r,!0,!1)<o.pos)return!1;let i=e.resolve(t);if(i.parentOffset<i.parent.content.size||!i.parent.isTextblock)return!1;let a=e.resolve(FC(i,!0,!0));return!(!a.parent.isTextblock||a.pos>n||FC(a,!0,!1)<n)&&r.parent.content.cut(r.parentOffset).eq(a.parent.content)}(p,h.start,h.endA,v,g)&&e.someProp("handleKeyDown",(t=>t(e,Vx(8,"Backspace")))))return void(ck&&rk&&e.domObserver.suppressSelectionUpdates());rk&&ck&&h.endB==h.start&&(e.input.lastAndroidDelete=Date.now()),ck&&!b&&v.start()!=g.start()&&0==g.parentOffset&&v.depth==g.depth&&d.sel&&d.sel.anchor==d.sel.head&&d.sel.head==h.endA&&(h.endB-=2,g=d.doc.resolveNoCache(h.endB-d.from),setTimeout((()=>{e.someProp("handleKeyDown",(function(t){return t(e,Vx(13,"Enter"))}))}),20));let w,x,k,S=h.start,C=h.endA;if(b)if(v.pos==g.pos)Qx&&ek<=11&&0==v.parentOffset&&(e.domObserver.suppressSelectionUpdates(),setTimeout((()=>oS(e)),20)),w=e.state.tr.delete(S,C),x=p.resolve(h.start).marksAcross(p.resolve(h.endA));else if(h.endA==h.endB&&(k=function(e,t){let n,r,o,i=e.firstChild.marks,a=t.firstChild.marks,s=i,l=a;for(let u=0;u<a.length;u++)s=a[u].removeFromSet(s);for(let u=0;u<i.length;u++)l=i[u].removeFromSet(l);if(1==s.length&&0==l.length)r=s[0],n="add",o=e=>e.mark(r.addToSet(e.marks));else{if(0!=s.length||1!=l.length)return null;r=l[0],n="remove",o=e=>e.mark(r.removeFromSet(e.marks))}let c=[];for(let u=0;u<t.childCount;u++)c.push(o(t.child(u)));if(Tb.from(c).eq(e))return{mark:r,type:n}}(v.parent.content.cut(v.parentOffset,g.parentOffset),y.parent.content.cut(y.parentOffset,h.endA-y.start()))))w=e.state.tr,"add"==k.type?w.addMark(S,C,k.mark):w.removeMark(S,C,k.mark);else if(v.parent.child(v.index()).isText&&v.index()==g.index()-(g.textOffset?0:1)){let t=v.parent.textBetween(v.parentOffset,g.parentOffset);if(e.someProp("handleTextInput",(n=>n(e,S,C,t))))return;w=e.state.tr.insertText(t,S,C)}if(w||(w=e.state.tr.replace(S,C,d.doc.slice(h.start-d.from,h.endB-d.from))),d.sel){let t=_C(e,w.doc,d.sel);t&&!(rk&&ck&&e.composing&&t.empty&&(h.start!=h.endB||e.input.lastAndroidDelete<Date.now()-100)&&(t.head==S||t.head==w.mapping.map(C)-1)||Qx&&t.empty&&t.head==S)&&w.setSelection(t)}x&&w.ensureMarks(x),i&&w.setMeta("composition",i),e.dispatch(w.scrollIntoView())}function _C(e,t,n){return Math.max(n.anchor,n.head)>t.content.size?null:dS(e,t.resolve(n.anchor),t.resolve(n.head))}function FC(e,t,n){let r=e.depth,o=t?e.end():e.pos;for(;r>0&&(t||e.indexAfter(r)==e.node(r).childCount);)r--,o++,t=!1;if(n){let t=e.node(r).maybeChild(e.indexAfter(r));for(;t&&!t.isLeaf;)t=t.firstChild,o++}return o}function jC(e){if(2!=e.length)return!1;let t=e.charCodeAt(0),n=e.charCodeAt(1);return t>=56320&&t<=57343&&n>=55296&&n<=56319}class BC{constructor(e,t){this._root=null,this.focused=!1,this.trackWrites=null,this.mounted=!1,this.markCursor=null,this.cursorWrapper=null,this.lastSelectedViewDesc=void 0,this.input=new BS,this.prevDirectPlugins=[],this.pluginViews=[],this.requiresGeckoHackNode=!1,this.dragging=null,this._props=t,this.state=t.state,this.directPlugins=t.plugins||[],this.directPlugins.forEach(VC),this.dispatch=this.dispatch.bind(this),this.dom=e&&e.mount||document.createElement("div"),e&&(e.appendChild?e.appendChild(this.dom):"function"==typeof e?e(this.dom):e.mount&&(this.mounted=!0)),this.editable=UC(this),HC(this),this.nodeViews=WC(this),this.docView=jk(this.state.doc,zC(this),$C(this),this.dom,this),this.domObserver=new LC(this,((e,t,n,r)=>ZC(this,e,t,n,r))),this.domObserver.start(),function(e){for(let t in _S){let n=_S[t];e.dom.addEventListener(t,e.input.eventHandlers[t]=t=>{!WS(e,t)||US(e,t)||!e.editable&&t.type in FS||n(e,t)},jS[t]?{passive:!0}:void 0)}ik&&e.dom.addEventListener("input",(()=>null)),HS(e)}(this),this.updatePluginViews()}get composing(){return this.input.composing}get props(){if(this._props.state!=this.state){let e=this._props;this._props={};for(let t in e)this._props[t]=e[t];this._props.state=this.state}return this._props}update(e){e.handleDOMEvents!=this._props.handleDOMEvents&&HS(this);let t=this._props;this._props=e,e.plugins&&(e.plugins.forEach(VC),this.directPlugins=e.plugins),this.updateStateInner(e.state,t)}setProps(e){let t={};for(let n in this._props)t[n]=this._props[n];t.state=this.state;for(let n in e)t[n]=e[n];this.update(t)}updateState(e){this.updateStateInner(e,this._props)}updateStateInner(e,t){var n;let r=this.state,o=!1,i=!1;e.storedMarks&&this.composing&&(oC(this),i=!0),this.state=e;let a=r.plugins!=e.plugins||this._props.plugins!=t.plugins;if(a||this._props.plugins!=t.plugins||this._props.nodeViews!=t.nodeViews){let e=WC(this);(function(e,t){let n=0,r=0;for(let o in e){if(e[o]!=t[o])return!0;n++}for(let o in t)r++;return n!=r})(e,this.nodeViews)&&(this.nodeViews=e,o=!0)}(a||t.handleDOMEvents!=this._props.handleDOMEvents)&&HS(this),this.editable=UC(this),HC(this);let s=$C(this),l=zC(this),c=r.plugins==e.plugins||r.doc.eq(e.doc)?e.scrollToSelection>r.scrollToSelection?"to selection":"preserve":"reset",u=o||!this.docView.matchesNode(e.doc,l,s);!u&&e.selection.eq(r.selection)||(i=!0);let d="preserve"==c&&i&&null==this.dom.style.overflowAnchor&&function(e){let t,n,r=e.dom.getBoundingClientRect(),o=Math.max(0,r.top);for(let i=(r.left+r.right)/2,a=o+1;a<Math.min(innerHeight,r.bottom);a+=5){let r=e.root.elementFromPoint(i,a);if(!r||r==e.dom||!e.dom.contains(r))continue;let s=r.getBoundingClientRect();if(s.top>=o-20){t=r,n=s.top;break}}return{refDOM:t,refTop:n,stack:vk(e.dom)}}(this);if(i){this.domObserver.stop();let t=u&&(Qx||rk)&&!this.composing&&!r.selection.empty&&!e.selection.empty&&function(e,t){let n=Math.min(e.$anchor.sharedDepth(e.head),t.$anchor.sharedDepth(t.head));return e.$anchor.start(n)!=t.$anchor.start(n)}(r.selection,e.selection);if(u){let n=rk?this.trackWrites=this.domSelectionRange().focusNode:null;!o&&this.docView.update(e.doc,l,s,this)||(this.docView.updateOuterDeco([]),this.docView.destroy(),this.docView=jk(e.doc,l,s,this.dom,this)),n&&!this.trackWrites&&(t=!0)}t||!(this.input.mouseDown&&this.domObserver.currentSelection.eq(this.domSelectionRange())&&function(e){let t=e.docView.domFromPos(e.state.selection.anchor,0),n=e.domSelectionRange();return jx(t.node,t.offset,n.anchorNode,n.anchorOffset)}(this))?oS(this,t):(cS(this,e.selection),this.domObserver.setCurSelection()),this.domObserver.start()}this.updatePluginViews(r),(null===(n=this.dragging)||void 0===n?void 0:n.node)&&!r.doc.eq(e.doc)&&this.updateDraggedNode(this.dragging,r),"reset"==c?this.dom.scrollTop=0:"to selection"==c?this.scrollToSelection():d&&function({refDOM:e,refTop:t,stack:n}){let r=e?e.getBoundingClientRect().top:0;gk(n,0==r?0:r-t)}(d)}scrollToSelection(){let e=this.domSelectionRange().focusNode;if(this.someProp("handleScrollToSelection",(e=>e(this))));else if(this.state.selection instanceof bx){let t=this.docView.domAfterPos(this.state.selection.from);1==t.nodeType&&mk(this,t.getBoundingClientRect(),e)}else mk(this,this.coordsAtPos(this.state.selection.head,1),e)}destroyPluginViews(){let e;for(;e=this.pluginViews.pop();)e.destroy&&e.destroy()}updatePluginViews(e){if(e&&e.plugins==this.state.plugins&&this.directPlugins==this.prevDirectPlugins)for(let t=0;t<this.pluginViews.length;t++){let n=this.pluginViews[t];n.update&&n.update(this,e)}else{this.prevDirectPlugins=this.directPlugins,this.destroyPluginViews();for(let e=0;e<this.directPlugins.length;e++){let t=this.directPlugins[e];t.spec.view&&this.pluginViews.push(t.spec.view(this))}for(let e=0;e<this.state.plugins.length;e++){let t=this.state.plugins[e];t.spec.view&&this.pluginViews.push(t.spec.view(this))}}}updateDraggedNode(e,t){let n=e.node,r=-1;if(this.state.doc.nodeAt(n.from)==n.node)r=n.from;else{let e=n.from+(this.state.doc.content.size-t.doc.content.size);(e>0&&this.state.doc.nodeAt(e))==n.node&&(r=e)}this.dragging=new cC(e.slice,e.move,r<0?void 0:bx.create(this.state.doc,r))}someProp(e,t){let n,r=this._props&&this._props[e];if(null!=r&&(n=t?t(r):r))return n;for(let i=0;i<this.directPlugins.length;i++){let r=this.directPlugins[i].props[e];if(null!=r&&(n=t?t(r):r))return n}let o=this.state.plugins;if(o)for(let i=0;i<o.length;i++){let r=o[i].props[e];if(null!=r&&(n=t?t(r):r))return n}}hasFocus(){if(Qx){let e=this.root.activeElement;if(e==this.dom)return!0;if(!e||!this.dom.contains(e))return!1;for(;e&&this.dom!=e&&this.dom.contains(e);){if("false"==e.contentEditable)return!1;e=e.parentElement}return!0}return this.root.activeElement==this.dom}focus(){this.domObserver.stop(),this.editable&&function(e){if(e.setActive)return e.setActive();if(yk)return e.focus(yk);let t=vk(e);e.focus(null==yk?{get preventScroll(){return yk={preventScroll:!0},!0}}:void 0),yk||(yk=!1,gk(t,0))}(this.dom),oS(this),this.domObserver.start()}get root(){let e=this._root;if(null==e)for(let t=this.dom.parentNode;t;t=t.parentNode)if(9==t.nodeType||11==t.nodeType&&t.host)return t.getSelection||(Object.getPrototypeOf(t).getSelection=()=>t.ownerDocument.getSelection()),this._root=t;return e||document}updateRoot(){this._root=null}posAtCoords(e){return kk(this,e)}coordsAtPos(e,t=1){return Tk(this,e,t)}domAtPos(e,t=0){return this.docView.domFromPos(e,t)}nodeDOM(e){let t=this.docView.descAt(e);return t?t.nodeDOM:null}posAtDOM(e,t,n=-1){let r=this.docView.posFromDOM(e,t,n);if(null==r)throw new RangeError("DOM position not inside the editor");return r}endOfTextblock(e,t){return Rk(this,t||this.state,e)}pasteHTML(e,t){return sC(this,"",e,!1,t||new ClipboardEvent("paste"))}pasteText(e,t){return sC(this,e,null,!0,t||new ClipboardEvent("paste"))}destroy(){this.docView&&(!function(e){e.domObserver.stop();for(let t in e.input.eventHandlers)e.dom.removeEventListener(t,e.input.eventHandlers[t]);clearTimeout(e.input.composingTimeout),clearTimeout(e.input.lastIOSEnterFallbackTimeout)}(this),this.destroyPluginViews(),this.mounted?(this.docView.update(this.state.doc,[],$C(this),this),this.dom.textContent=""):this.dom.parentNode&&this.dom.parentNode.removeChild(this.dom),this.docView.destroy(),this.docView=null)}get isDestroyed(){return null==this.docView}dispatchEvent(e){return function(e,t){US(e,t)||!_S[t.type]||!e.editable&&t.type in FS||_S[t.type](e,t)}(this,e)}dispatch(e){let t=this._props.dispatchTransaction;t?t.call(this,e):this.updateState(this.state.apply(e))}domSelectionRange(){return ik&&11===this.root.nodeType&&function(e){let t=e.activeElement;for(;t&&t.shadowRoot;)t=t.shadowRoot.activeElement;return t}(this.dom.ownerDocument)==this.dom?function(e){let t;function n(e){e.preventDefault(),e.stopImmediatePropagation(),t=e.getTargetRanges()[0]}e.dom.addEventListener("beforeinput",n,!0),document.execCommand("indent"),e.dom.removeEventListener("beforeinput",n,!0);let r=t.startContainer,o=t.startOffset,i=t.endContainer,a=t.endOffset,s=e.domAtPos(e.state.selection.anchor);return jx(s.node,s.offset,i,a)&&([r,o,i,a]=[i,a,r,o]),{anchorNode:r,anchorOffset:o,focusNode:i,focusOffset:a}}(this):this.domSelection()}domSelection(){return this.root.getSelection()}}function zC(e){let t=Object.create(null);return t.class="ProseMirror",t.contenteditable=String(e.editable),e.someProp("attributes",(n=>{if("function"==typeof n&&(n=n(e.state)),n)for(let e in n)"class"==e?t.class+=" "+n[e]:"style"==e?t.style=(t.style?t.style+";":"")+n[e]:t[e]||"contenteditable"==e||"nodeName"==e||(t[e]=String(n[e]))})),t.translate||(t.translate="no"),[mC.node(0,e.state.doc.content.size,t)]}function HC(e){if(e.markCursor){let t=document.createElement("img");t.className="ProseMirror-separator",t.setAttribute("mark-placeholder","true"),t.setAttribute("alt",""),e.cursorWrapper={dom:t,deco:mC.widget(e.state.selection.head,t,{raw:!0,marks:e.markCursor})}}else e.cursorWrapper=null}function UC(e){return!e.someProp("editable",(t=>!1===t(e.state)))}function WC(e){let t=Object.create(null);function n(e){for(let n in e)Object.prototype.hasOwnProperty.call(t,n)||(t[n]=e[n])}return e.someProp("nodeViews",n),e.someProp("markViews",n),t}function VC(e){if(e.spec.state||e.spec.filterTransaction||e.spec.appendTransaction)throw new RangeError("Plugins passed directly to the view must not have a state component")}for(var qC={8:"Backspace",9:"Tab",10:"Enter",12:"NumLock",13:"Enter",16:"Shift",17:"Control",18:"Alt",20:"CapsLock",27:"Escape",32:" ",33:"PageUp",34:"PageDown",35:"End",36:"Home",37:"ArrowLeft",38:"ArrowUp",39:"ArrowRight",40:"ArrowDown",44:"PrintScreen",45:"Insert",46:"Delete",59:";",61:"=",91:"Meta",92:"Meta",106:"*",107:"+",108:",",109:"-",110:".",111:"/",144:"NumLock",145:"ScrollLock",160:"Shift",161:"Shift",162:"Control",163:"Control",164:"Alt",165:"Alt",173:"-",186:";",187:"=",188:",",189:"-",190:".",191:"/",192:"`",219:"[",220:"\\",221:"]",222:"'"},GC={48:")",49:"!",50:"@",51:"#",52:"$",53:"%",54:"^",55:"&",56:"*",57:"(",59:":",61:"+",173:"_",186:":",187:"+",188:"<",189:"_",190:">",191:"?",192:"~",219:"{",220:"|",221:"}",222:'"'},KC="undefined"!=typeof navigator&&/Mac/.test(navigator.platform),YC="undefined"!=typeof navigator&&/MSIE \d|Trident\/(?:[7-9]|\d{2,})\..*rv:(\d+)/.exec(navigator.userAgent),XC=0;XC<10;XC++)qC[48+XC]=qC[96+XC]=String(XC);for(XC=1;XC<=24;XC++)qC[XC+111]="F"+XC;for(XC=65;XC<=90;XC++)qC[XC]=String.fromCharCode(XC+32),GC[XC]=String.fromCharCode(XC);for(var JC in qC)GC.hasOwnProperty(JC)||(GC[JC]=qC[JC]);const QC="undefined"!=typeof navigator&&/Mac|iP(hone|[oa]d)/.test(navigator.platform);function eE(e){let t,n,r,o,i=e.split(/-(?!$)/),a=i[i.length-1];"Space"==a&&(a=" ");for(let s=0;s<i.length-1;s++){let e=i[s];if(/^(cmd|meta|m)$/i.test(e))o=!0;else if(/^a(lt)?$/i.test(e))t=!0;else if(/^(c|ctrl|control)$/i.test(e))n=!0;else if(/^s(hift)?$/i.test(e))r=!0;else{if(!/^mod$/i.test(e))throw new Error("Unrecognized modifier name: "+e);QC?o=!0:n=!0}}return t&&(a="Alt-"+a),n&&(a="Ctrl-"+a),o&&(a="Meta-"+a),r&&(a="Shift-"+a),a}function tE(e,t,n=!0){return t.altKey&&(e="Alt-"+e),t.ctrlKey&&(e="Ctrl-"+e),t.metaKey&&(e="Meta-"+e),n&&t.shiftKey&&(e="Shift-"+e),e}function nE(e){return new Lx({props:{handleKeyDown:rE(e)}})}function rE(e){let t=function(e){let t=Object.create(null);for(let n in e)t[eE(n)]=e[n];return t}(e);return function(e,n){let r,o=function(e){var t=!(KC&&e.metaKey&&e.shiftKey&&!e.ctrlKey&&!e.altKey||YC&&e.shiftKey&&e.key&&1==e.key.length||"Unidentified"==e.key)&&e.key||(e.shiftKey?GC:qC)[e.keyCode]||e.key||"Unidentified";return"Esc"==t&&(t="Escape"),"Del"==t&&(t="Delete"),"Left"==t&&(t="ArrowLeft"),"Up"==t&&(t="ArrowUp"),"Right"==t&&(t="ArrowRight"),"Down"==t&&(t="ArrowDown"),t}(n),i=t[tE(o,n)];if(i&&i(e.state,e.dispatch,e))return!0;if(1==o.length&&" "!=o){if(n.shiftKey){let r=t[tE(o,n,!1)];if(r&&r(e.state,e.dispatch,e))return!0}if((n.shiftKey||n.altKey||n.metaKey||o.charCodeAt(0)>127)&&(r=qC[n.keyCode])&&r!=o){let o=t[tE(r,n)];if(o&&o(e.state,e.dispatch,e))return!0}}return!1}}const oE=(e,t)=>!e.selection.empty&&(t&&t(e.tr.deleteSelection().scrollIntoView()),!0);function iE(e,t){let{$cursor:n}=e.selection;return!n||(t?!t.endOfTextblock("backward",e):n.parentOffset>0)?null:n}function aE(e,t,n=!1){for(let r=e;r;r="start"==t?r.firstChild:r.lastChild){if(r.isTextblock)return!0;if(n&&1!=r.childCount)return!1}return!1}function sE(e){if(!e.parent.type.spec.isolating)for(let t=e.depth-1;t>=0;t--){if(e.index(t)>0)return e.doc.resolve(e.before(t+1));if(e.node(t).type.spec.isolating)break}return null}function lE(e,t){let{$cursor:n}=e.selection;return!n||(t?!t.endOfTextblock("forward",e):n.parentOffset<n.parent.content.size)?null:n}const cE=(e,t,n)=>{let r=lE(e,n);if(!r)return!1;let o=uE(r);if(!o)return!1;let i=o.nodeAfter;if(gE(e,o,t))return!0;if(0==r.parent.content.size&&(aE(i,"start")||bx.isSelectable(i))){let n=Jw(e.doc,r.before(),r.after(),Lb.empty);if(n&&n.slice.size<n.to-n.from){if(t){let r=e.tr.step(n);r.setSelection(aE(i,"start")?fx.findFrom(r.doc.resolve(r.mapping.map(o.pos)),1):bx.create(r.doc,r.mapping.map(o.pos))),t(r.scrollIntoView())}return!0}}return!(!i.isAtom||o.depth!=r.depth-1)&&(t&&t(e.tr.delete(o.pos,o.pos+i.nodeSize).scrollIntoView()),!0)};function uE(e){if(!e.parent.type.spec.isolating)for(let t=e.depth-1;t>=0;t--){let n=e.node(t);if(e.index(t)+1<n.childCount)return e.doc.resolve(e.after(t+1));if(n.type.spec.isolating)break}return null}const dE=(e,t)=>{let{$head:n,$anchor:r}=e.selection;return!(!n.parent.type.spec.code||!n.sameParent(r))&&(t&&t(e.tr.insertText("\n").scrollIntoView()),!0)};function pE(e){for(let t=0;t<e.edgeCount;t++){let{type:n}=e.edge(t);if(n.isTextblock&&!n.hasRequiredAttrs())return n}return null}const fE=(e,t)=>{let{$head:n,$anchor:r}=e.selection;if(!n.parent.type.spec.code||!n.sameParent(r))return!1;let o=n.node(-1),i=n.indexAfter(-1),a=pE(o.contentMatchAt(i));if(!a||!o.canReplaceWith(i,i,a))return!1;if(t){let r=n.after(),o=e.tr.replaceWith(r,r,a.createAndFill());o.setSelection(fx.near(o.doc.resolve(r),1)),t(o.scrollIntoView())}return!0};const hE=(e,t)=>{let{$from:n,$to:r}=e.selection;if(e.selection instanceof bx&&e.selection.node.isBlock)return!(!n.parentOffset||!Kw(e.doc,n.pos)||(t&&t(e.tr.split(n.pos).scrollIntoView()),0));if(!n.parent.isBlock)return!1;if(t){let o=r.parentOffset==r.parent.content.size,i=e.tr;(e.selection instanceof gx||e.selection instanceof xx)&&i.deleteSelection();let a=0==n.depth?null:pE(n.node(-1).contentMatchAt(n.indexAfter(-1))),s=mE&&mE(r.parent,o),l=s?[s]:o&&a?[{type:a}]:void 0,c=Kw(i.doc,i.mapping.map(n.pos),1,l);if(l||c||!Kw(i.doc,i.mapping.map(n.pos),1,a?[{type:a}]:void 0)||(a&&(l=[{type:a}]),c=!0),c&&(i.split(i.mapping.map(n.pos),1,l),!o&&!n.parentOffset&&n.parent.type!=a)){let e=i.mapping.map(n.before()),t=i.doc.resolve(e);a&&n.node(-1).canReplaceWith(t.index(),t.index()+1,a)&&i.setNodeMarkup(i.mapping.map(n.before()),a)}t(i.scrollIntoView())}return!0};var mE;const vE=(e,t)=>(t&&t(e.tr.setSelection(new xx(e.doc))),!0);function gE(e,t,n){let r,o,i=t.nodeBefore,a=t.nodeAfter;if(i.type.spec.isolating||a.type.spec.isolating)return!1;if(function(e,t,n){let r=t.nodeBefore,o=t.nodeAfter,i=t.index();return!(!(r&&o&&r.type.compatibleContent(o.type))||(!r.content.size&&t.parent.canReplace(i-1,i)?(n&&n(e.tr.delete(t.pos-r.nodeSize,t.pos).scrollIntoView()),0):!t.parent.canReplace(i,i+1)||!o.isTextblock&&!Yw(e.doc,t.pos)||(n&&n(e.tr.clearIncompatible(t.pos,r.type,r.contentMatchAt(r.childCount)).join(t.pos).scrollIntoView()),0)))}(e,t,n))return!0;let s=t.parent.canReplace(t.index(),t.index()+1);if(s&&(r=(o=i.contentMatchAt(i.childCount)).findWrapping(a.type))&&o.matchType(r[0]||a.type).validEnd){if(n){let o=t.pos+a.nodeSize,s=Tb.empty;for(let e=r.length-1;e>=0;e--)s=Tb.from(r[e].create(null,s));s=Tb.from(i.copy(s));let l=e.tr.step(new Uw(t.pos-1,o,t.pos,o,new Lb(s,1,0),r.length,!0)),c=o+2*r.length;Yw(l.doc,c)&&l.join(c),n(l.scrollIntoView())}return!0}let l=fx.findFrom(t,1),c=l&&l.$from.blockRange(l.$to),u=c&&qw(c);if(null!=u&&u>=t.depth)return n&&n(e.tr.lift(c,u).scrollIntoView()),!0;if(s&&aE(a,"start",!0)&&aE(i,"end")){let r=i,o=[];for(;o.push(r),!r.isTextblock;)r=r.lastChild;let s=a,l=1;for(;!s.isTextblock;s=s.firstChild)l++;if(r.canReplace(r.childCount,r.childCount,s.content)){if(n){let r=Tb.empty;for(let e=o.length-1;e>=0;e--)r=Tb.from(o[e].copy(r));n(e.tr.step(new Uw(t.pos-o.length,t.pos+a.nodeSize,t.pos+l,t.pos+a.nodeSize-l,new Lb(r,o.length,0),0,!0)).scrollIntoView())}return!0}}return!1}function yE(e){return function(t,n){let r=t.selection,o=e<0?r.$from:r.$to,i=o.depth;for(;o.node(i).isInline;){if(!i)return!1;i--}return!!o.node(i).isTextblock&&(n&&n(t.tr.setSelection(gx.create(t.doc,e<0?o.start(i):o.end(i)))),!0)}}const bE=yE(-1),wE=yE(1);function xE(e,t=null){return function(n,r){let{$from:o,$to:i}=n.selection,a=o.blockRange(i),s=a&&function(e,t,n=null,r=e){let o=function(e,t){let{parent:n,startIndex:r,endIndex:o}=e,i=n.contentMatchAt(r).findWrapping(t);if(!i)return null;let a=i.length?i[0]:t;return n.canReplaceWith(r,o,a)?i:null}(e,t),i=o&&function(e,t){let{parent:n,startIndex:r,endIndex:o}=e,i=n.child(r),a=t.contentMatch.findWrapping(i.type);if(!a)return null;let s=(a.length?a[a.length-1]:t).contentMatch;for(let l=r;s&&l<o;l++)s=s.matchType(n.child(l).type);return s&&s.validEnd?a:null}(r,t);return i?o.map(Gw).concat({type:t,attrs:n}).concat(i.map(Gw)):null}(a,e,t);return!!s&&(r&&r(n.tr.wrap(a,s).scrollIntoView()),!0)}}function kE(e,t=null){return function(n,r){let o=!1;for(let i=0;i<n.selection.ranges.length&&!o;i++){let{$from:{pos:r},$to:{pos:a}}=n.selection.ranges[i];n.doc.nodesBetween(r,a,((r,i)=>{if(o)return!1;if(r.isTextblock&&!r.hasMarkup(e,t))if(r.type==e)o=!0;else{let t=n.doc.resolve(i),r=t.index();o=t.parent.canReplaceWith(r,r+1,e)}}))}if(!o)return!1;if(r){let o=n.tr;for(let r=0;r<n.selection.ranges.length;r++){let{$from:{pos:i},$to:{pos:a}}=n.selection.ranges[r];o.setBlockType(i,a,e,t)}r(o.scrollIntoView())}return!0}}function SE(e,t=null){return function(n,r){let{empty:o,$cursor:i,ranges:a}=n.selection;if(o&&!i||!function(e,t,n){for(let r=0;r<t.length;r++){let{$from:o,$to:i}=t[r],a=0==o.depth&&e.inlineContent&&e.type.allowsMarkType(n);if(e.nodesBetween(o.pos,i.pos,(e=>{if(a)return!1;a=e.inlineContent&&e.type.allowsMarkType(n)})),a)return!0}return!1}(n.doc,a,e))return!1;if(r)if(i)e.isInSet(n.storedMarks||i.marks())?r(n.tr.removeStoredMark(e)):r(n.tr.addStoredMark(e.create(t)));else{let o=!1,i=n.tr;for(let t=0;!o&&t<a.length;t++){let{$from:r,$to:i}=a[t];o=n.doc.rangeHasMark(r.pos,i.pos,e)}for(let n=0;n<a.length;n++){let{$from:r,$to:s}=a[n];if(o)i.removeMark(r.pos,s.pos,e);else{let n=r.pos,o=s.pos,a=r.nodeAfter,l=s.nodeBefore,c=a&&a.isText?/^\s*/.exec(a.text)[0].length:0,u=l&&l.isText?/\s*$/.exec(l.text)[0].length:0;n+c<o&&(n+=c,o-=u),i.addMark(n,o,e.create(t))}}r(i.scrollIntoView())}return!0}}function CE(...e){return function(t,n,r){for(let o=0;o<e.length;o++)if(e[o](t,n,r))return!0;return!1}}let EE=CE(oE,((e,t,n)=>{let r=iE(e,n);if(!r)return!1;let o=sE(r);if(!o){let n=r.blockRange(),o=n&&qw(n);return null!=o&&(t&&t(e.tr.lift(n,o).scrollIntoView()),!0)}let i=o.nodeBefore;if(!i.type.spec.isolating&&gE(e,o,t))return!0;if(0==r.parent.content.size&&(aE(i,"end")||bx.isSelectable(i))){let n=Jw(e.doc,r.before(),r.after(),Lb.empty);if(n&&n.slice.size<n.to-n.from){if(t){let r=e.tr.step(n);r.setSelection(aE(i,"end")?fx.findFrom(r.doc.resolve(r.mapping.map(o.pos,-1)),-1):bx.create(r.doc,o.pos-i.nodeSize)),t(r.scrollIntoView())}return!0}}return!(!i.isAtom||o.depth!=r.depth-1)&&(t&&t(e.tr.delete(o.pos-i.nodeSize,o.pos).scrollIntoView()),!0)}),((e,t,n)=>{let{$head:r,empty:o}=e.selection,i=r;if(!o)return!1;if(r.parent.isTextblock){if(n?!n.endOfTextblock("backward",e):r.parentOffset>0)return!1;i=sE(r)}let a=i&&i.nodeBefore;return!(!a||!bx.isSelectable(a))&&(t&&t(e.tr.setSelection(bx.create(e.doc,i.pos-a.nodeSize)).scrollIntoView()),!0)})),TE=CE(oE,cE,((e,t,n)=>{let{$head:r,empty:o}=e.selection,i=r;if(!o)return!1;if(r.parent.isTextblock){if(n?!n.endOfTextblock("forward",e):r.parentOffset<r.parent.content.size)return!1;i=uE(r)}let a=i&&i.nodeAfter;return!(!a||!bx.isSelectable(a))&&(t&&t(e.tr.setSelection(bx.create(e.doc,i.pos)).scrollIntoView()),!0)}));const OE={Enter:CE(dE,((e,t)=>{let n=e.selection,{$from:r,$to:o}=n;if(n instanceof xx||r.parent.inlineContent||o.parent.inlineContent)return!1;let i=pE(o.parent.contentMatchAt(o.indexAfter()));if(!i||!i.isTextblock)return!1;if(t){let n=(!r.parentOffset&&o.index()<o.parent.childCount?r:o).pos,a=e.tr.insert(n,i.createAndFill());a.setSelection(gx.create(a.doc,n+1)),t(a.scrollIntoView())}return!0}),((e,t)=>{let{$cursor:n}=e.selection;if(!n||n.parent.content.size)return!1;if(n.depth>1&&n.after()!=n.end(-1)){let r=n.before();if(Kw(e.doc,r))return t&&t(e.tr.split(r).scrollIntoView()),!0}let r=n.blockRange(),o=r&&qw(r);return null!=o&&(t&&t(e.tr.lift(r,o).scrollIntoView()),!0)}),hE),"Mod-Enter":fE,Backspace:EE,"Mod-Backspace":EE,"Shift-Backspace":EE,Delete:TE,"Mod-Delete":TE,"Mod-a":vE},$E={"Ctrl-h":OE.Backspace,"Alt-Backspace":OE["Mod-Backspace"],"Ctrl-d":OE.Delete,"Ctrl-Alt-Backspace":OE["Mod-Delete"],"Alt-Delete":OE["Mod-Delete"],"Alt-d":OE["Mod-Delete"],"Ctrl-a":bE,"Ctrl-e":wE};for(let n in OE)$E[n]=OE[n];const ME=("undefined"!=typeof navigator?/Mac|iP(hone|[oa]d)/.test(navigator.platform):!("undefined"==typeof os||!os.platform)&&"darwin"==os.platform())?$E:OE;class AE{constructor(e,t,n={}){this.match=e,this.match=e,this.handler="string"==typeof t?function(e){return function(t,n,r,o){let i=e;if(n[1]){let e=n[0].lastIndexOf(n[1]);i+=n[0].slice(e+n[1].length);let t=(r+=e)-o;t>0&&(i=n[0].slice(e-t,e)+i,r=o)}return t.tr.insertText(i,r,o)}}(t):t,this.undoable=!1!==n.undoable,this.inCode=n.inCode||!1}}const DE=500;function LE({rules:e}){let t=new Lx({state:{init:()=>null,apply(e,t){let n=e.getMeta(this);return n||(e.selectionSet||e.docChanged?null:t)}},props:{handleTextInput:(n,r,o,i)=>NE(n,r,o,i,e,t),handleDOMEvents:{compositionend:n=>{setTimeout((()=>{let{$cursor:r}=n.state.selection;r&&NE(n,r.pos,r.pos,"",e,t)}))}}},isInputRules:!0});return t}function NE(e,t,n,r,o,i){if(e.composing)return!1;let a=e.state,s=a.doc.resolve(t),l=s.parent.textBetween(Math.max(0,s.parentOffset-DE),s.parentOffset,null,"")+r;for(let c=0;c<o.length;c++){let u=o[c];if(s.parent.type.spec.code){if(!u.inCode)continue}else if("only"===u.inCode)continue;let d=u.match.exec(l),p=d&&u.handler(a,d,t-(d[0].length-r.length),n);if(p)return u.undoable&&p.setMeta(i,{transform:p,from:t,to:n,text:r}),e.dispatch(p),!0}return!1}const RE=(e,t)=>{let n=e.plugins;for(let r=0;r<n.length;r++){let o,i=n[r];if(i.spec.isInputRules&&(o=i.getState(e))){if(t){let n=e.tr,r=o.transform;for(let e=r.steps.length-1;e>=0;e--)n.step(r.steps[e].invert(r.docs[e]));if(o.text){let t=n.doc.resolve(o.from).marks();n.replaceWith(o.from,o.to,e.schema.text(o.text,t))}else n.delete(o.from,o.to);t(n)}return!0}}return!1};new AE(/--$/,"—"),new AE(/\.\.\.$/,"…"),new AE(/(?:^|[\s\{\[\(\<'"\u2018\u201C])(")$/,"“"),new AE(/"$/,"”"),new AE(/(?:^|[\s\{\[\(\<'"\u2018\u201C])(')$/,"‘"),new AE(/'$/,"’");var IE=200,PE=function(){};PE.prototype.append=function(e){return e.length?(e=PE.from(e),!this.length&&e||e.length<IE&&this.leafAppend(e)||this.length<IE&&e.leafPrepend(this)||this.appendInner(e)):this},PE.prototype.prepend=function(e){return e.length?PE.from(e).append(this):this},PE.prototype.appendInner=function(e){return new _E(this,e)},PE.prototype.slice=function(e,t){return void 0===e&&(e=0),void 0===t&&(t=this.length),e>=t?PE.empty:this.sliceInner(Math.max(0,e),Math.min(this.length,t))},PE.prototype.get=function(e){if(!(e<0||e>=this.length))return this.getInner(e)},PE.prototype.forEach=function(e,t,n){void 0===t&&(t=0),void 0===n&&(n=this.length),t<=n?this.forEachInner(e,t,n,0):this.forEachInvertedInner(e,t,n,0)},PE.prototype.map=function(e,t,n){void 0===t&&(t=0),void 0===n&&(n=this.length);var r=[];return this.forEach((function(t,n){return r.push(e(t,n))}),t,n),r},PE.from=function(e){return e instanceof PE?e:e&&e.length?new ZE(e):PE.empty};var ZE=function(e){function t(t){e.call(this),this.values=t}e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t;var n={length:{configurable:!0},depth:{configurable:!0}};return t.prototype.flatten=function(){return this.values},t.prototype.sliceInner=function(e,n){return 0==e&&n==this.length?this:new t(this.values.slice(e,n))},t.prototype.getInner=function(e){return this.values[e]},t.prototype.forEachInner=function(e,t,n,r){for(var o=t;o<n;o++)if(!1===e(this.values[o],r+o))return!1},t.prototype.forEachInvertedInner=function(e,t,n,r){for(var o=t-1;o>=n;o--)if(!1===e(this.values[o],r+o))return!1},t.prototype.leafAppend=function(e){if(this.length+e.length<=IE)return new t(this.values.concat(e.flatten()))},t.prototype.leafPrepend=function(e){if(this.length+e.length<=IE)return new t(e.flatten().concat(this.values))},n.length.get=function(){return this.values.length},n.depth.get=function(){return 0},Object.defineProperties(t.prototype,n),t}(PE);PE.empty=new ZE([]);var _E=function(e){function t(t,n){e.call(this),this.left=t,this.right=n,this.length=t.length+n.length,this.depth=Math.max(t.depth,n.depth)+1}return e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t,t.prototype.flatten=function(){return this.left.flatten().concat(this.right.flatten())},t.prototype.getInner=function(e){return e<this.left.length?this.left.get(e):this.right.get(e-this.left.length)},t.prototype.forEachInner=function(e,t,n,r){var o=this.left.length;return!(t<o&&!1===this.left.forEachInner(e,t,Math.min(n,o),r))&&(!(n>o&&!1===this.right.forEachInner(e,Math.max(t-o,0),Math.min(this.length,n)-o,r+o))&&void 0)},t.prototype.forEachInvertedInner=function(e,t,n,r){var o=this.left.length;return!(t>o&&!1===this.right.forEachInvertedInner(e,t-o,Math.max(n,o)-o,r+o))&&(!(n<o&&!1===this.left.forEachInvertedInner(e,Math.min(t,o),n,r))&&void 0)},t.prototype.sliceInner=function(e,t){if(0==e&&t==this.length)return this;var n=this.left.length;return t<=n?this.left.slice(e,t):e>=n?this.right.slice(e-n,t-n):this.left.slice(e,n).append(this.right.slice(0,t-n))},t.prototype.leafAppend=function(e){var n=this.right.leafAppend(e);if(n)return new t(this.left,n)},t.prototype.leafPrepend=function(e){var n=this.left.leafPrepend(e);if(n)return new t(n,this.right)},t.prototype.appendInner=function(e){return this.left.depth>=Math.max(this.right.depth,e.depth)+1?new t(this.left,new t(this.right,e)):new t(this,e)},t}(PE);const FE=PE;class jE{constructor(e,t){this.items=e,this.eventCount=t}popEvent(e,t){if(0==this.eventCount)return null;let n,r,o=this.items.length;for(;;o--){if(this.items.get(o-1).selection){--o;break}}t&&(n=this.remapping(o,this.items.length),r=n.maps.length);let i,a,s=e.tr,l=[],c=[];return this.items.forEach(((e,t)=>{if(!e.step)return n||(n=this.remapping(o,t+1),r=n.maps.length),r--,void c.push(e);if(n){c.push(new BE(e.map));let t,o=e.step.map(n.slice(r));o&&s.maybeStep(o).doc&&(t=s.mapping.maps[s.mapping.maps.length-1],l.push(new BE(t,void 0,void 0,l.length+c.length))),r--,t&&n.appendMap(t,r)}else s.maybeStep(e.step);return e.selection?(i=n?e.selection.map(n.slice(r)):e.selection,a=new jE(this.items.slice(0,o).append(c.reverse().concat(l)),this.eventCount-1),!1):void 0}),this.items.length,0),{remaining:a,transform:s,selection:i}}addTransform(e,t,n,r){let o=[],i=this.eventCount,a=this.items,s=!r&&a.length?a.get(a.length-1):null;for(let c=0;c<e.steps.length;c++){let n,l=e.steps[c].invert(e.docs[c]),u=new BE(e.mapping.maps[c],l,t);(n=s&&s.merge(u))&&(u=n,c?o.pop():a=a.slice(0,a.length-1)),o.push(u),t&&(i++,t=void 0),r||(s=u)}let l=i-n.depth;return l>HE&&(a=function(e,t){let n;return e.forEach(((e,r)=>{if(e.selection&&0==t--)return n=r,!1})),e.slice(n)}(a,l),i-=l),new jE(a.append(o),i)}remapping(e,t){let n=new Rw;return this.items.forEach(((t,r)=>{let o=null!=t.mirrorOffset&&r-t.mirrorOffset>=e?n.maps.length-t.mirrorOffset:void 0;n.appendMap(t.map,o)}),e,t),n}addMaps(e){return 0==this.eventCount?this:new jE(this.items.append(e.map((e=>new BE(e)))),this.eventCount)}rebased(e,t){if(!this.eventCount)return this;let n=[],r=Math.max(0,this.items.length-t),o=e.mapping,i=e.steps.length,a=this.eventCount;this.items.forEach((e=>{e.selection&&a--}),r);let s=t;this.items.forEach((t=>{let r=o.getMirror(--s);if(null==r)return;i=Math.min(i,r);let l=o.maps[r];if(t.step){let i=e.steps[r].invert(e.docs[r]),c=t.selection&&t.selection.map(o.slice(s+1,r));c&&a++,n.push(new BE(l,i,c))}else n.push(new BE(l))}),r);let l=[];for(let d=t;d<i;d++)l.push(new BE(o.maps[d]));let c=this.items.slice(0,r).append(l).append(n),u=new jE(c,a);return u.emptyItemCount()>500&&(u=u.compress(this.items.length-n.length)),u}emptyItemCount(){let e=0;return this.items.forEach((t=>{t.step||e++})),e}compress(e=this.items.length){let t=this.remapping(0,e),n=t.maps.length,r=[],o=0;return this.items.forEach(((i,a)=>{if(a>=e)r.push(i),i.selection&&o++;else if(i.step){let e=i.step.map(t.slice(n)),a=e&&e.getMap();if(n--,a&&t.appendMap(a,n),e){let s=i.selection&&i.selection.map(t.slice(n));s&&o++;let l,c=new BE(a.invert(),e,s),u=r.length-1;(l=r.length&&r[u].merge(c))?r[u]=l:r.push(c)}}else i.map&&n--}),this.items.length,0),new jE(FE.from(r.reverse()),o)}}jE.empty=new jE(FE.empty,0);class BE{constructor(e,t,n,r){this.map=e,this.step=t,this.selection=n,this.mirrorOffset=r}merge(e){if(this.step&&e.step&&!e.selection){let t=e.step.merge(this.step);if(t)return new BE(t.getMap().invert(),t,this.selection)}}}class zE{constructor(e,t,n,r,o){this.done=e,this.undone=t,this.prevRanges=n,this.prevTime=r,this.prevComposition=o}}const HE=20;function UE(e){let t=[];return e.forEach(((e,n,r,o)=>t.push(r,o))),t}function WE(e,t){if(!e)return null;let n=[];for(let r=0;r<e.length;r+=2){let o=t.map(e[r],1),i=t.map(e[r+1],-1);o<=i&&n.push(o,i)}return n}function VE(e,t,n,r){let o=KE(t),i=YE.get(t).spec.config,a=(r?e.undone:e.done).popEvent(t,o);if(!a)return;let s=a.selection.resolve(a.transform.doc),l=(r?e.done:e.undone).addTransform(a.transform,t.selection.getBookmark(),i,o),c=new zE(r?l:a.remaining,r?a.remaining:l,null,0,-1);n(a.transform.setSelection(s).setMeta(YE,{redo:r,historyState:c}).scrollIntoView())}let qE=!1,GE=null;function KE(e){let t=e.plugins;if(GE!=t){qE=!1,GE=t;for(let e=0;e<t.length;e++)if(t[e].spec.historyPreserveItems){qE=!0;break}}return qE}const YE=new Ix("history"),XE=new Ix("closeHistory");function JE(e={}){return e={depth:e.depth||100,newGroupDelay:e.newGroupDelay||500},new Lx({key:YE,state:{init:()=>new zE(jE.empty,jE.empty,null,0,-1),apply:(t,n,r)=>function(e,t,n,r){let o,i=n.getMeta(YE);if(i)return i.historyState;n.getMeta(XE)&&(e=new zE(e.done,e.undone,null,0,-1));let a=n.getMeta("appendedTransaction");if(0==n.steps.length)return e;if(a&&a.getMeta(YE))return a.getMeta(YE).redo?new zE(e.done.addTransform(n,void 0,r,KE(t)),e.undone,UE(n.mapping.maps[n.steps.length-1]),e.prevTime,e.prevComposition):new zE(e.done,e.undone.addTransform(n,void 0,r,KE(t)),null,e.prevTime,e.prevComposition);if(!1===n.getMeta("addToHistory")||a&&!1===a.getMeta("addToHistory"))return(o=n.getMeta("rebased"))?new zE(e.done.rebased(n,o),e.undone.rebased(n,o),WE(e.prevRanges,n.mapping),e.prevTime,e.prevComposition):new zE(e.done.addMaps(n.mapping.maps),e.undone.addMaps(n.mapping.maps),WE(e.prevRanges,n.mapping),e.prevTime,e.prevComposition);{let o=n.getMeta("composition"),i=0==e.prevTime||!a&&e.prevComposition!=o&&(e.prevTime<(n.time||0)-r.newGroupDelay||!function(e,t){if(!t)return!1;if(!e.docChanged)return!0;let n=!1;return e.mapping.maps[0].forEach(((e,r)=>{for(let o=0;o<t.length;o+=2)e<=t[o+1]&&r>=t[o]&&(n=!0)})),n}(n,e.prevRanges)),s=a?WE(e.prevRanges,n.mapping):UE(n.mapping.maps[n.steps.length-1]);return new zE(e.done.addTransform(n,i?t.selection.getBookmark():void 0,r,KE(t)),jE.empty,s,n.time,null==o?e.prevComposition:o)}}(n,r,t,e)},config:e,props:{handleDOMEvents:{beforeinput(e,t){let n=t.inputType,r="historyUndo"==n?QE:"historyRedo"==n?eT:null;return!!r&&(t.preventDefault(),r(e.state,e.dispatch))}}}})}const QE=(e,t)=>{let n=YE.getState(e);return!(!n||0==n.done.eventCount)&&(t&&VE(n,e,t,!1),!0)},eT=(e,t)=>{let n=YE.getState(e);return!(!n||0==n.undone.eventCount)&&(t&&VE(n,e,t,!0),!0)};var tT=function(e,t){return tT=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])},tT(e,t)};function nT(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}tT(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}var rT=function(){return rT=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},rT.apply(this,arguments)};function oT(e,t,n){if(n||2===arguments.length)for(var r,o=0,i=t.length;o<i;o++)!r&&o in t||(r||(r=Array.prototype.slice.call(t,0,o)),r[o]=t[o]);return e.concat(r||Array.prototype.slice.call(t))}function iT(e,t){return Object.defineProperty?Object.defineProperty(e,"raw",{value:t}):e.raw=t,e}var aT=function(e,t,n){var r;for(r in n=n||null,e)if(e.hasOwnProperty(r)&&!1===t.call(n,e[r],r,e))break};var sT=function(e,t){var n,r,o,i,a=Object.prototype.hasOwnProperty;for(o=1,i=arguments.length;o<i;o+=1)for(r in n=arguments[o])a.call(n,r)&&(e[r]=n[r]);return e};var lT=function(e){return"string"==typeof e||e instanceof String};var cT=function(e){return e instanceof Array};var uT=function(e,t,n){var r=0,o=e.length;for(n=n||null;r<o&&!1!==t.call(n,e[r],r,e);r+=1);},dT=cT,pT=uT,fT=aT;var hT=function(e,t,n){dT(e)?pT(e,t,n):fT(e,t,n)},mT=lT,vT=hT;var gT=function(e,t,n){var r=e.style;mT(t)?r[t]=n:vT(t,(function(e,t){r[t]=e}))},yT=cT;var bT=function(e,t,n){var r,o;if(n=n||0,!yT(t))return-1;if(Array.prototype.indexOf)return Array.prototype.indexOf.call(t,e,n);for(o=t.length,r=n;n>=0&&r<o;r+=1)if(t[r]===e)return r;return-1};var wT=function(e){return void 0===e},xT=wT;var kT=function(e){return e&&e.className?xT(e.className.baseVal)?e.className:e.className.baseVal:""},ST=cT,CT=wT;var ET=function(e,t){t=(t=ST(t)?t.join(" "):t).replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,""),CT(e.className.baseVal)?e.className=t:e.className.baseVal=t},TT=hT,OT=bT,$T=kT,MT=ET;var AT=function(e){var t,n=Array.prototype.slice.call(arguments,1),r=e.classList,o=[];r?TT(n,(function(t){e.classList.add(t)})):((t=$T(e))&&(n=[].concat(t.split(/\s+/),n)),TT(n,(function(e){OT(e,o)<0&&o.push(e)})),MT(e,o))},DT=uT,LT=bT,NT=kT,RT=ET;var IT=function(e){var t,n,r=Array.prototype.slice.call(arguments,1),o=e.classList;o?DT(r,(function(e){o.remove(e)})):(t=NT(e).split(/\s+/),n=[],DT(t,(function(e){LT(e,r)<0&&n.push(e)})),RT(e,n))};var PT=function(e){return"number"==typeof e||e instanceof Number};var ZT=function(e){return null===e},_T=aT;var FT=wT,jT=function(e,t){var n=document.createElement("img"),r="";return _T(t,(function(e,t){r+="&"+t+"="+e})),r=r.substring(1),n.src=e+"?"+r,n.style.display="none",document.body.appendChild(n),document.body.removeChild(n),n},BT=6048e5;var zT=function(e,t){var n=location.hostname,r="TOAST UI "+e+" for "+n+": Statistics",o=window.localStorage.getItem(r);(FT(window.tui)||!1!==window.tui.usageStatistics)&&(o&&!function(e){return(new Date).getTime()-e>BT}(o)||(window.localStorage.setItem(r,(new Date).getTime()),setTimeout((function(){"interactive"!==document.readyState&&"complete"!==document.readyState||jT("https://www.google-analytics.com/collect",{v:1,t:"event",tid:t,cid:n,dp:n,dh:e,el:e,ec:"use"})}),1e3)))};/Mac/.test(navigator.platform);var HT=/[\u0020]+/g,UT=/[>(){}[\]+-.!#|]/g,WT=/<([a-zA-Z_][a-zA-Z0-9\-._]*)(\s|[^\\>])*\/?>|<(\/)([a-zA-Z_][a-zA-Z0-9\-._]*)\s*\/?>|<!--[^-]+-->|<([a-zA-Z_][a-zA-Z0-9\-.:/]*)>/g,VT=/\\[!"#$%&'()*+,-./:;<=>?@[\]^_`{|}~\\]/g,qT=/[*_~`]/g,GT=/!\[.*\]\(.*\)/g,KT=/[[\]]/g,YT=/(?:^|[^\\])\\(?!\\)/g,XT=new RegExp('[&<>"]',"g");function JT(e){switch(e){case"&":return"&";case"<":return"<";case">":return">";case'"':return""";default:return e}}function QT(e){return XT.test(e)?e.replace(XT,JT):e}function eO(e,t){return-1!==e.indexOf(t)}var tO=["rel","target","hreflang","type"],nO={codeblock:/(^ {4}[^\n]+\n*)+/,thematicBreak:/^ *((\* *){3,}|(- *){3,} *|(_ *){3,}) */,atxHeading:/^(#{1,6}) +[\s\S]+/,seTextheading:/^([^\n]+)\n *(=|-){2,} */,blockquote:/^( *>[^\n]+.*)+/,list:/^ *(\*+|-+|\d+\.) [\s\S]+/,def:/^ *\[([^\]]+)\]: *<?([^\s>]+)>?(?: +["(]([^\n]+)[")])? */,link:/!?\[.*\]\(.*\)/,reflink:/!?\[.*\]\s*\[([^\]]*)\]/,verticalBar:/\u007C/,fencedCodeblock:/^((`|~){3,})/};function rO(e){if(!e)return null;var t={};return tO.forEach((function(n){wT(e[n])||(t[n]=e[n])})),t}function oO(e,t){for(var n="",r=0;r<t;r+=1)n+=e;return n}function iO(e){for(var t=[],n=GT.exec(e);n;)t.push([n.index,n.index+n[0].length]),n=GT.exec(e);return e.replace(KT,(function(e,n){var r=t.some((function(e){return n>e[0]&&n<e[1]}));return r?e:"\\"+e}))}function aO(e){var t=function(e){return"\\"+e},n=e.replace(HT," ");return VT.test(n)&&(n=n.replace(VT,t)),YT.test(n)&&(n=n.replace(YT,(function(e){return e+"\\"}))),n=n.replace(qT,t),WT.test(n)&&(n=n.replace(WT,t)),function(e){var t=!1;return aT(nO,(function(n){return n.test(e)&&(t=!0),!t})),t}(n)&&(n=n.replace(UT,t)),n}function sO(e){return ZT(e)||wT(e)}function lO(e,t){if(null===e&&e===t)return!0;if("object"!=typeof e||"object"!=typeof t||sO(e)||sO(t))return e===t;for(var n in e)if(e[n]!==t[n])return!1;for(var n in t)if(!(n in e))return!1;return!0}function cO(e){return e[e.length-1]}function uO(e){return"object"==typeof e&&null!==e}function dO(e,t){var n=rT({},e);return e&&t&&Object.keys(t).forEach((function(e){uO(n[e])?Array.isArray(t[e])?n[e]=pO(t[e]):n.hasOwnProperty(e)?n[e]=dO(n[e],t[e]):n[e]=fO(t[e]):n[e]=t[e]})),n}function pO(e){return e.map((function(e){return uO(e)?Array.isArray(e)?pO(e):fO(e):e}))}function fO(e){var t=Object.keys(e);return t.length?t.reduce((function(t,n){return uO(e[n])?t[n]=Array.isArray(e[n])?pO(e[n]):fO(e[n]):t[n]=e[n],t}),{}):e}function hO(e,t){return void 0===t&&(t={}),Object.keys(t).forEach((function(n){e.hasOwnProperty(n)&&"object"==typeof e[n]?Array.isArray(t[n])?e[n]=t[n]:hO(e[n],t[n]):e[n]=t[n]})),e}function mO(e,t){return e>t?[t,e]:[e,t]}var vO=uT;var gO=function(e){var t;try{t=Array.prototype.slice.call(e)}catch(Yr){t=[],vO(e,(function(e){t.push(e)}))}return t};function yO(e,t){var n=e.nodes.paragraph;return t?n.create(null,lT(t)?e.text(t):t):n.createAndFill()}function bO(e,t,n){return e.text(t,n)}function wO(e,t,n){void 0===n&&(n=t);var r=e.doc.content.size,o=r>0?r-1:1;return gx.create(e.doc,Math.min(t,o),Math.min(n,o))}function xO(e,t,n){var r=t.pos;return e.replaceWith(r,r,yO(n)),e.setSelection(wO(e,r+1))}function kO(e){for(var t=e.state,n=e.from,r=e.startIndex,o=e.endIndex,i=e.createText,a=t.tr,s=t.doc,l=t.schema,c=r;c<=o;c+=1){var u=s.child(c),d=u.nodeSize,p=u.textContent,f=u.content,h=i(p),m=h?bO(l,h):Tb.empty,v=a.mapping.map(n),g=v+f.size;a.replaceWith(v,g,m),n+=d}return a}function SO(e,t,n,r){var o=n.length;e.split(t).delete(t-o,t).insert(e.mapping.map(t),r).setSelection(wO(e,e.mapping.map(t)-o))}function CO(e){return e.sourcepos[0][0]}function EO(e){return e.sourcepos[1][0]}function TO(e){return e.sourcepos[0][1]}function OO(e){return e.sourcepos[1][1]}function $O(e){var t=e.type;return"strike"===t||"strong"===t||"emph"===t||"code"===t||"link"===t||"image"===t}function MO(e){return e&&("item"===e.type||"list"===e.type)}function AO(e){return MO(e)&&"ordered"===e.listData.type}function DO(e){return MO(e)&&"ordered"!==e.listData.type}function LO(e){return e&&("tableCell"===e.type||"tableDelimCell"===e.type)}function NO(e,t,n){for(void 0===n&&(n=!0),e=n?e:e.parent;e&&"document"!==e.type;){if(t(e))return e;e=e.parent}return null}function RO(e,t){return[e[0],e[1]+t]}function IO(e,t){return[e[0],t]}function PO(e){var t=e.firstChild.literal;switch(e.type){case"emph":return"*"+t+"*";case"strong":return"**"+t+"**";case"strike":return"~~"+t+"~~";case"code":return"`"+t+"`";case"link":case"image":var n=e,r=n.destination,o=n.title;return("link"===e.type?"":"!")+"["+t+"]("+r+(o?' "'+o+'"':"")+")";default:return null}}function ZO(e){switch(e.type){case"document":case"blockQuote":case"list":case"item":case"paragraph":case"heading":case"emph":case"strong":case"strike":case"link":case"image":case"table":case"tableHead":case"tableBody":case"tableRow":case"tableCell":case"tableDelimRow":case"customInline":return!0;default:return!1}}function _O(e){for(var t=[],n=e.walker(),r=null;r=n.next();){var o=r.node;"text"===o.type&&t.push(o.literal)}return t.join("")}var FO=[],jO={},BO=/\$\$widget\d+\s/;function zO(e){var t=e.search(BO);if(-1!==t){var n=e.substring(t).replace(BO,"").replace("$$","");e=e.substring(0,t),e+=zO(n)}return e}function HO(e,t){return"$$"+e+" "+t+"$$"}function UO(e,t){var n=jO[e],r=n.rule,o=n.toDOM,i=zO(t).match(r);return i&&(t=i[0]),o(t)}function WO(){return FO}function VO(e){(FO=e).forEach((function(e,t){jO["widget"+t]=e}))}function qO(e,t,n,r){return e.concat(GO(t,n,r))}function GO(e,t,n){void 0===n&&(n=0);var r=[],o=(FO[n]||{}).rule,i=n+1;if(e=zO(e),o&&o.test(e)){for(var a=void 0;-1!==(a=e.search(o));){var s=e.substring(0,a);s&&(r=qO(r,s,t,i));var l=(e=e.substring(a)).match(o)[0],c="widget"+n;r.push(t.nodes.widget.create({info:c},t.text(HO(c,l)))),e=e.substring(l.length)}e&&(r=qO(r,e,t,i))}else e&&(r=n<FO.length-1?qO(r,e,t,i):[t.text(e)]);return r}function KO(e){for(var t,n="",r=e.walker();t=r.next();){var o=t.node;t.entering&&(o!==e&&"text"!==o.type?(n+=PO(o),r.resumeAt(e,!1),r.next()):"text"===o.type&&(n+=o.literal))}return n}function YO(){return{deleteSelection:function(){return oE},selectAll:function(){return vE},undo:function(){return QE},redo:function(){return eT}}}var XO=bT,JO=kT;var QO=function(e,t){var n;return e.classList?e.classList.contains(t):(n=JO(e).split(/\s+/),XO(t,n)>-1)},e$=bT,t$=gO,n$=Element.prototype,r$=n$.matches||n$.webkitMatchesSelector||n$.mozMatchesSelector||n$.msMatchesSelector||function(e){var t=this.document||this.ownerDocument;return e$(this,t$(t.querySelectorAll(e)))>-1};var o$=function(e,t){return r$.call(e,t)},i$="[A-Za-z][A-Za-z0-9-]*",a$="(?:\\s+[a-zA-Z_:][a-zA-Z0-9:._-]*(?:\\s*=\\s*(?:[^\"'=<>`\\x00-\\x20]+|'[^']*'|\"[^\"]*\"))?)",s$="<("+i$+")("+a$+")*\\s*/?>",l$="(?:"+s$+"|"+("</("+i$+")\\s*[>]")+")",c$=new RegExp("^"+l$,"i"),u$=/<br\s*\/*>/i,d$=/<! ---->|<!--(?:-?[^>-])(?:-?[^-])*-->/,p$="</p><p>";function f$(e,t,n){var r=parseInt(e.left,10),o=parseInt(e.top,10),i=parseInt(e.width,10)+parseInt(e.paddingLeft,10)+parseInt(e.paddingRight,10),a=parseInt(e.height,10)+parseInt(e.paddingTop,10)+parseInt(e.paddingBottom,10);return t>=r&&t<=r+i&&n>=o&&n<=o+a}var h$="toastui-editor-";function m$(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];for(var n=[],r=0,o=e;r<o.length;r++){var i=o[r],a=void 0;(a=Array.isArray(i)?i[0]?i[1]:null:i)&&n.push(""+h$+a)}return n.join(" ")}function v$(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return e.map((function(e){return h$+"md-"+e})).join(" ")}function g$(e){return e&&e.nodeType===Node.ELEMENT_NODE}function y$(e){e.parentNode&&e.parentNode.removeChild(e)}function b$(e,t,n){wT(n)&&(n=!QO(e,t)),(n?AT:IT)(e,t)}function w$(e,t){var n=document.createElement("div");lT(e)?n.innerHTML=e:n.appendChild(e);var r=n.firstChild;return t&&t.appendChild(r),r}function x$(e){var t=window.getComputedStyle(e);return["margin-left","margin-right"].reduce((function(e,n){return e+parseInt(t.getPropertyValue(n),10)}),0)+e.offsetWidth}function k$(e,t){var n;for(n=lT(t)?function(e){return o$(e,t)}:function(e){return e===t};e&&e!==document;){if(g$(e)&&n(e))return e;e=e.parentNode}return null}function S$(e,t){for(var n=0,r=0;e&&e!==t;){if(n+=e.offsetTop,r+=e.offsetLeft,e.offsetParent===t.offsetParent)break;e=e.offsetParent}return{offsetTop:n,offsetLeft:r}}function C$(e,t){Object.keys(e).forEach((function(n){sO(e[n])?t.removeAttribute(n):t.setAttribute(n,e[n])}))}function E$(e){var t=e;return t=(t=t.replace(/<img class="ProseMirror-separator" alt="">/g,"")).replace(/ class="ProseMirror-trailingBreak"/g,"")}var T$=new Ix("widget"),O$=function(){function e(e,t){var n=this;this.popup=null,this.removeWidget=function(){n.popup&&(n.rootEl.removeChild(n.popup),n.popup=null)},this.rootEl=e.dom.parentElement,this.eventEmitter=t,this.eventEmitter.listen("blur",this.removeWidget),this.eventEmitter.listen("loadUI",(function(){n.rootEl=k$(e.dom.parentElement,"."+m$("defaultUI"))})),this.eventEmitter.listen("removePopupWidget",this.removeWidget)}return e.prototype.update=function(e){var t=T$.getState(e.state);if(this.removeWidget(),t){var n=t.node,r=t.style,o=e.coordsAtPos(t.pos),i=o.top,a=o.left,s=o.bottom-i,l=this.rootEl.getBoundingClientRect(),c=i-l.top;gT(n,{opacity:"0"}),this.rootEl.appendChild(n),gT(n,{position:"absolute",left:a-l.left+5+"px",top:("bottom"===r?c+s-5:c-s)+"px",opacity:"1"}),this.popup=n,e.focus()}},e.prototype.destroy=function(){this.eventEmitter.removeEventHandler("blur",this.removeWidget)},e}();function $$(e,t,n){e.emit("addImageBlobHook",t,(function(n,r){e.emit("command","addImage",{imageUrl:n,altText:r||t.name||"image"})}),n)}function M$(e){var t=gO(e).filter((function(e){return-1!==e.type.indexOf("image")}));if(1===t.length){var n=t[0];if(n)return n.getAsFile()}return null}function A$(e){var t=e.eventEmitter;return new Lx({props:{handleDOMEvents:{drop:function(e,n){var r,o=null===(r=n.dataTransfer)||void 0===r?void 0:r.files;return o&&uT(o,(function(e){return-1===e.type.indexOf("image")||(n.preventDefault(),n.stopPropagation(),$$(t,e,n.type),!1)})),!0}}}})}var D$=function(){function e(){}return Object.defineProperty(e.prototype,"type",{get:function(){return"node"},enumerable:!1,configurable:!0}),e.prototype.setContext=function(e){this.context=e},e}();function L$(e){var t=document.createElement("span"),n=UO(e.attrs.info,e.textContent);return t.className="tui-widget",t.appendChild(n),{dom:t}}function N$(e){return"widget"===e.type.name}var R$=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return nT(t,e),Object.defineProperty(t.prototype,"name",{get:function(){return"widget"},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"schema",{get:function(){return{attrs:{info:{default:null}},group:"inline",inline:!0,content:"text*",selectable:!1,atom:!0,toDOM:function(){return["span",{class:"tui-widget"},0]},parseDOM:[{tag:"span.tui-widget",getAttrs:function(e){return{info:e.textContent.match(/\$\$(widget\d+)/)[1]}}}]}},enumerable:!1,configurable:!0}),t}(D$),I$=function(){function e(e){this.timer=null,this.el=document.createElement("div"),this.el.className="toastui-editor",this.eventEmitter=e,this.placeholder={text:""}}return e.prototype.createState=function(){return Ax.create({schema:this.schema,plugins:this.createPlugins()})},e.prototype.initEvent=function(){var e=this,t=e.eventEmitter,n=e.view,r=e.editorType;n.dom.addEventListener("focus",(function(){return t.emit("focus",r)})),n.dom.addEventListener("blur",(function(){return t.emit("blur",r)}))},e.prototype.emitChangeEvent=function(e){this.eventEmitter.emit("caretChange",this.editorType),e.docChanged&&this.eventEmitter.emit("change",this.editorType)},Object.defineProperty(e.prototype,"defaultPlugins",{get:function(){var e,t,n=this.createInputRules(),r=oT(oT([],this.keymaps),[nE(rT({"Shift-Enter":ME.Enter},ME)),JE(),(t=this.placeholder,new Lx({props:{decorations:function(e){var n=e.doc;if(t.text&&1===n.childCount&&n.firstChild.isTextblock&&0===n.firstChild.content.size){var r=document.createElement("span");return AT(r,"placeholder"),t.className&&AT(r,t.className),r.textContent=t.text,yC.create(n,[mC.widget(1,r)])}return null}}})),(e=this.eventEmitter,new Lx({key:T$,state:{init:function(){return null},apply:function(e){return e.getMeta("widget")}},view:function(t){return new O$(t,e)}})),A$(this.context)]);return n?r.concat(n):r},enumerable:!1,configurable:!0}),e.prototype.createInputRules=function(){var e=WO().map((function(e){var t=e.rule;return new AE(t,(function(e,n,r,o){var i=e.schema,a=e.tr,s=e.doc,l=n.input.match(new RegExp(t,"g")),c=s.resolve(r),u=c.parent,d=0;if(N$(u)&&(u=c.node(c.depth-1)),u.forEach((function(e){return N$(e)&&(d+=1)})),l.length>d){var p=cO(l),f=GO(p,i);return a.replaceWith(o-p.length+1,o,f)}return null}))}));return e.length?LE({rules:e}):null},e.prototype.clearTimer=function(){this.timer&&(clearTimeout(this.timer),this.timer=null)},e.prototype.createSchema=function(){return new hw({nodes:this.specs.nodes,marks:this.specs.marks})},e.prototype.createKeymaps=function(e){var t=YO(),n=t.undo,r=t.redo,o=this.specs.keymaps(e),i={"Mod-z":n(),"Shift-Mod-z":r()};return e?o.concat(nE(i)):o},e.prototype.createCommands=function(){return this.specs.commands(this.view)},e.prototype.createPluginProps=function(){var e=this;return this.extraPlugins.map((function(t){return t(e.eventEmitter)}))},e.prototype.focus=function(){var e=this;this.clearTimer(),this.timer=setTimeout((function(){e.view.focus(),e.view.dispatch(e.view.state.tr.scrollIntoView())}))},e.prototype.blur=function(){this.view.dom.blur()},e.prototype.destroy=function(){var e=this;this.clearTimer(),this.view.destroy(),Object.keys(this).forEach((function(t){delete e[t]}))},e.prototype.moveCursorToStart=function(e){var t=this.view.state.tr;this.view.dispatch(t.setSelection(wO(t,1)).scrollIntoView()),e&&this.focus()},e.prototype.moveCursorToEnd=function(e){var t=this.view.state.tr;this.view.dispatch(t.setSelection(wO(t,t.doc.content.size-1)).scrollIntoView()),e&&this.focus()},e.prototype.setScrollTop=function(e){this.view.dom.scrollTop=e},e.prototype.getScrollTop=function(){return this.view.dom.scrollTop},e.prototype.setPlaceholder=function(e){this.placeholder.text=e,this.view.dispatch(this.view.state.tr.scrollIntoView())},e.prototype.setHeight=function(e){gT(this.el,{height:e+"px"})},e.prototype.setMinHeight=function(e){gT(this.el,{minHeight:e+"px"})},e.prototype.getElement=function(){return this.el},e}();var P$=function(e){return e instanceof Function},Z$=["Enter","Shift-Enter","Mod-Enter","Tab","Shift-Tab","Delete","Backspace","Mod-Delete","Mod-Backspace","ArrowUp","ArrowDown","ArrowLeft","ArrowRight","Mod-d","Mod-D","Alt-ArrowUp","Alt-ArrowDown"];function _$(e,t,n){return e.focus(),t(n)(e.state,e.dispatch,e)}var F$=function(){function e(e){this.specs=e}return Object.defineProperty(e.prototype,"nodes",{get:function(){return this.specs.filter((function(e){return"node"===e.type})).reduce((function(e,t){var n,r=t.name,o=t.schema;return rT(rT({},e),((n={})[r]=o,n))}),{})},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"marks",{get:function(){return this.specs.filter((function(e){return"mark"===e.type})).reduce((function(e,t){var n,r=t.name,o=t.schema;return rT(rT({},e),((n={})[r]=o,n))}),{})},enumerable:!1,configurable:!0}),e.prototype.commands=function(e,t){var n=this.specs.filter((function(e){return e.commands})).reduce((function(t,n){var r={},o=n.commands();return P$(o)?r[n.name]=function(t){return _$(e,o,t)}:Object.keys(o).forEach((function(t){r[t]=function(n){return _$(e,o[t],n)}})),rT(rT({},t),r)}),{}),r=YO();return Object.keys(r).forEach((function(t){n[t]=function(n){return _$(e,r[t],n)}})),t&&Object.keys(t).forEach((function(r){n[r]=function(n){return _$(e,t[r],n)}})),n},e.prototype.keymaps=function(e){return this.specs.filter((function(e){return e.keymaps})).map((function(e){return e.keymaps()})).map((function(t){return e||Object.keys(t).forEach((function(e){eO(Z$,e)||delete t[e]})),nE(t)}))},e.prototype.setContext=function(e){this.specs.forEach((function(t){t.setContext(e)}))},e}();function j$(e){var t=e.from,n=e.to;return e instanceof xx?[t+1,n-1]:[t,n]}function B$(e){return e.index(0)+1}function z$(e,t,n){void 0===n&&(n=1);var r=0;return e.forEach((function(e,o){N$(e)&&o+2<t&&(r+=2*n)})),r}function H$(e,t,n){void 0===n&&(n=t);var r=t===n,o=e.resolve(t),i=B$(o),a=i,s=o.start(1),l=s;if(!r){var c=e.resolve(n===e.content.size?n-1:n);l=c.start(1),a=B$(c),c.pos===e.content.size&&(n=e.content.size-2)}var u=Math.max(t-s+1,1),d=Math.max(n-l+1,1);return[[i,u+z$(e.child(i-1),u,-1)],[a,d+z$(e.child(a-1),d,-1)]]}function U$(e,t){for(var n=[],r=0,o=0;r<t;r+=1){var i=e.child(r);n[r]=o,o+=i.nodeSize}return n}function W$(e,t,n){var r=U$(e,n[0]),o=t[0]-1,i=n[0]-1,a=e.child(o),s=e.child(i),l=r[o],c=r[i];return l+=t[1]+z$(a,t[1]-1),c+=n[1]+z$(s,n[1]-1),[l,Math.min(c,e.content.size)]}function V$(e){var t=e.$from,n=e.$to,r=e.from,o=e.to,i=t.doc;return e instanceof xx&&(t=i.resolve(r+1),n=i.resolve(o-1)),0===t.depth&&(n=t=i.resolve(r-1)),{startFromOffset:t.start(1),endFromOffset:n.start(1),startToOffset:t.end(1),endToOffset:n.end(1),startIndex:t.index(0),endIndex:n.index(0),from:t.pos,to:n.pos}}function q$(e,t){for(var n=1,r=1,o=0,i=0;o<e.childCount;o+=1){var a=e.child(o).nodeSize;if(n=i+1,r=i+a-1,o===t)break;i+=a}return{startOffset:n,endOffset:r}}var G$="heading",K$="listItem",Y$="link",X$="code",J$="meta",Q$="delimiter",eM="markedText",tM={strong:2,emph:1,strike:2};function nM(e,t,n,r){return{start:e,end:t,spec:{type:n,attrs:r}}}function rM(e,t,n){var r=e.type,o=RO(t,tM[r]),i=RO(n,-tM[r]);return[nM(o,i,r),nM(t,o,Q$),nM(i,n,Q$)]}function oM(e,t,n,r){return[nM(e,t,Y$),nM(IO(e,n[1]+1),IO(t,r),Y$,{desc:!0}),nM(IO(t,r+2),RO(t,-1),Y$,{url:!0})]}function iM(e,t,n,r){var o={start:t,end:n,spec:{attrs:{className:r+"-line-background",codeStart:t[0],codeEnd:n[0]}},lineBackground:!0};return"item"!==e.type&&"blockQuote"!==e.type?[rT(rT({},o),{end:t,spec:{attrs:{className:r+"-line-background start"}}}),rT(rT({},o),{start:[Math.min(t[0]+1,n[0]),t[1]]})]:null}function aM(e,t){for(var n=[];e;){var r=e.type;"paragraph"!==r&&"codeBlock"!==r||n.push(nM([CO(e),TO(e)-1],[EO(e),OO(e)+1],t)),e=e.next}return n}var sM={heading:function(e,t,n){var r=e.level,o=e.headingType,i=[nM(t,n,G$,{level:r})];return"atx"===o?i.push(nM(t,RO(t,r),Q$)):i.push(nM(IO(n,0),n,G$,{seText:!0})),i},strong:rM,emph:rM,strike:rM,link:function(e,t,n){var r=e.lastChild,o=e.extendedAutolink,i=r?OO(r)+1:2;return o?[nM(t,n,Y$,{desc:!0})]:oM(t,n,t,i)},image:function(e,t,n){var r=e.lastChild,o=r?OO(r)+1:3,i=RO(t,1);return oT([nM(t,i,J$)],oM(t,n,i,o))},code:function(e,t,n){var r=e.tickCount,o=RO(t,r),i=RO(n,-r);return[nM(t,n,X$),nM(t,o,X$,{start:!0}),nM(o,i,X$,{marked:!0}),nM(i,n,X$,{end:!0})]},codeBlock:function(e,t,n,r){var o=e.fenceOffset,i=e.fenceLength,a=e.fenceChar,s=e.info,l=e.infoPadding,c=e.parent,u=o+i,d=[nM(IO(t,1),n,"codeBlock")];a&&d.push(nM(t,RO(t,u),Q$)),s&&d.push(nM(RO(t,i),RO(t,i+l+s.length),J$)),new RegExp("^(\\s{0,4})("+a+"{"+i+",})").test(r)&&d.push(nM(IO(n,1),n,Q$));var p=iM(c,t,n,"code-block");return p?d.concat(p):d},blockQuote:function(e,t,n){var r=e.parent&&"blockQuote"!==e.parent.type?[nM(t,n,"blockQuote")]:[];if(e.firstChild){var o=[];"paragraph"===e.firstChild.type?o=function(e){for(var t=[];e;)t.push(nM([CO(e),TO(e)],[EO(e),OO(e)+1],eM)),e=e.next;return t}(e.firstChild.firstChild):"list"===e.firstChild.type&&(o=aM(e.firstChild,eM)),r=oT(oT([],r),o)}return r},item:function(e,t){var n=e.listData,r=n.padding,o=n.task,i=function(e){for(var t=0;e.parent.parent&&"item"===e.parent.parent.type;)e=e.parent.parent,t+=1;return[K$,rT(rT({},[{odd:!0},{even:!0}][t%2]),{listStyle:!0})]}(e),a=[nM.apply(void 0,oT([t,RO(t,r)],i))];return o&&(a.push(nM(RO(t,r),RO(t,r+3),"taskDelimiter")),a.push(nM(RO(t,r+1),RO(t,r+2),J$))),a.concat(aM(e.firstChild,eM))},customBlock:function(e,t,n){var r=e,o=r.offset,i=r.syntaxLength,a=r.info,s=r.parent,l=o+i,c=[nM(IO(t,1),n,"customBlock")];c.push(nM(t,RO(t,l),Q$)),a&&c.push(nM(RO(t,l),RO(t,i+a.length),J$)),c.push(nM(IO(n,1),n,Q$));var u=iM(s,t,n,"custom-block");return u?c.concat(u):c}},lM={thematicBreak:"thematicBreak",table:"table",tableCell:"tableCell",htmlInline:"html"};function cM(e,t,n,r){var o=e.type;return P$(sM[o])?sM[o](e,t,n,r):lM[o]?[nM(t,n,lM[o])]:null}var uM={};function dM(e){var t=e.schema,n=e.toastMark;return new Lx({appendTransaction:function(e,r,o){var i=e[0],a=o.tr;if(i.docChanged){var s=[];i.getMeta("editResult").forEach((function(e){var t=e.nodes,r=e.removedNodeRange;if(t.length){s=s.concat(function(e,t){var n=e.doc,r=t[0].sourcepos[0],o=cO(t).sourcepos,i=o[1],a=[r[0],r[1]],s=[i[0],i[1]+1],l=[];return function(e,t,n){var r=[];uM={};for(var o=t[0]-1;o<n[0];o+=1){var i=e.child(o),a=i.attrs.codeEnd,s=i.attrs.codeStart;if(s&&a&&!eO(r,s)){r.push(s),a=Math.min(a,e.childCount);for(var l=s-1,c=n[0],u=l;u<c;u+=1)uM[u]=!0}}}(n,r,i),l.push({start:a,end:s}),l}(a,t));for(var o=0,i=t;o<i.length;o++)for(var l=i[o].walker(),c=l.next();c;){var u=c.node;c.entering&&(s=s.concat(fM(u,n))),c=l.next()}}else if(r)for(var d=a.doc.childCount-1,p=r.line,f=p[0],h=p[1],m=Math.min(f,d),v=Math.min(h,d),g=m;g<=v;g+=1)uM[g]=!0})),function(e,t,n){var r=e.doc,o=t.nodes.paragraph,i=U$(r,r.childCount);n.forEach((function(n){var a=n.start,s=n.end,l=n.spec,c=n.lineBackground,u=Math.min(a[0],r.childCount)-1,d=Math.min(s[0],r.childCount)-1,p=r.child(u),f=r.child(d),h=i[u],m=i[d];(h+=a[1]+z$(p,a[1]-1),m+=s[1]+z$(f,s[1]-1),l)?c?function(e,t,n,r,o){void 0===o&&(o={});for(var i=r.startIndex,a=r.endIndex,s=r.from,l=r.to,c=!1,u=i;u<=a;u+=1)delete uM[u],c=pM(t,u,o);c&&e.setBlockType(s,l,n,o)}(e,r,o,{from:h,to:m,startIndex:u,endIndex:d},l.attrs):e.addMark(h,m,t.mark(l.type,l.attrs)):e.removeMark(h,m)})),function(e,t,n){Object.keys(uM).forEach((function(r){var o=Number(r),i=Math.min(Number(r)+1,e.doc.childCount-1),a=t[o],s=t[i]-1;o===i&&(s+=2),e.setBlockType(a,s,n)}))}(e,i,o)}(a,t,s)}return a.setMeta("widget",i.getMeta("widget"))}})}function pM(e,t,n){return Object.keys(n).some((function(r){return n[r]!==e.child(t).attrs[r]}))}function fM(e,t){var n=t.getLineTexts(),r=[CO(e),TO(e)],o=[EO(e),OO(e)+1],i=cM(e,r,o,n[o[0]-1]);return null!=i?i:[]}var hM=["taskList","orderedList","bulletList","table","strong","emph","strike","heading","thematicBreak","blockQuote","code","codeBlock","indent","outdent"];function mM(e){var t={indent:{active:!1,disabled:!0},outdent:{active:!1,disabled:!0}},n=!0;return function(e,t,n){for(void 0===n&&(n=!0),e=n?e:e.parent;e&&"document"!==e.type;)t(e),e=e.parent}(e,(function(e){var r=function(e){var t=e.type;return MO(e)?e.listData.task?"taskList":"ordered"===e.listData.type?"orderedList":"bulletList":-1!==t.indexOf("table")?"table":eO(hM,t)?t:null}(e);r&&("bulletList"===r||"orderedList"===r?n&&(t[r]={active:!0},t.indent.disabled=!1,t.outdent.disabled=!1,n=!1):t[r]={active:!0})})),t}function vM(e){var t=e.toastMark,n=e.eventEmitter;return new Lx({view:function(){return{update:function(e,r){var o=e.state,i=o.doc,a=o.selection;if(!(r&&r.doc.eq(i)&&r.selection.eq(a))){var s=a.from,l=o.doc.resolve(s).start(),c=s-l;s===l&&(c+=1);var u=[o.doc.content.findIndex(s).index+1,c],d=t.findNodeAtPosition(u),p=mM(d);n.emit("changeToolbarState",{cursorPos:u,mdNode:d,toolbarState:p}),n.emit("setFocusedNode",d)}}}}})}var gM=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return nT(t,e),Object.defineProperty(t.prototype,"name",{get:function(){return"doc"},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"schema",{get:function(){return{content:"block+"}},enumerable:!1,configurable:!0}),t}(D$),yM=function(){function e(){}return Object.defineProperty(e.prototype,"type",{get:function(){return"mark"},enumerable:!1,configurable:!0}),e.prototype.setContext=function(e){this.context=e},e}();function bM(e,t){return wM(e,t-1)}function wM(e,t){return e.child(t).textContent}var xM=/^\s*> ?/,kM=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return nT(t,e),Object.defineProperty(t.prototype,"name",{get:function(){return"blockQuote"},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"schema",{get:function(){return{toDOM:function(){return["span",{class:v$("block-quote")},0]}}},enumerable:!1,configurable:!0}),t.prototype.createBlockQuoteText=function(e,t){return t?e.replace(xM,"").trim():"> "+e.trim()},t.prototype.extendBlockQuote=function(){var e=this;return function(t,n){var r=t.selection,o=t.doc,i=t.tr,a=t.schema,s=V$(r),l=s.endFromOffset,c=s.endToOffset,u=s.endIndex,d=s.to,p=wM(o,u);if(xM.test(p)&&d>l&&r.empty){if(!p.replace(xM,"").trim())i.deleteRange(l,c).split(i.mapping.map(c));else{var f=p.slice(d-l).trim();SO(i,c,f,bO(a,e.createBlockQuoteText(f)))}return n(i),!0}return!1}},t.prototype.commands=function(){var e=this;return function(){return function(t,n){var r=t.selection,o=t.doc,i=V$(r),a=i.startFromOffset,s=i.endToOffset,l=i.startIndex,c=i.endIndex,u=xM.test(wM(o,l)),d=kO({state:t,startIndex:l,endIndex:c,from:a,createText:function(t){return e.createBlockQuoteText(t,u)}});return n(d.setSelection(wO(d,d.mapping.map(s)))),!0}}},t.prototype.keymaps=function(){var e=this.commands()();return{"alt-q":e,"alt-Q":e,Enter:this.extendBlockQuote()}},t}(yM),SM=/(^\s*)([-*+] |[\d]+\. )/,CM=/(^\s*)([\d])+\.( \[[ xX]])? /,EM=/^(\s*)((\d+)([.)]\s(?:\[(?:x|\s)\]\s)?))(.*)/,TM=/(^\s*)([-*+]|[\d]+\.)( \[[ xX]])? /,OM=/^(\s*)([-*+]+(\s(?:\[(?:x|\s)\]\s)?))(.*)/,$M=/(^\s*)([-*+] |[\d]+\. )(\[[ xX]] )/,MM=/(^\s*)([-*+])( \[[ xX]]) /;function AM(e){return CM.test(e)?"ordered":"bullet"}function DM(e){for(var t=0;e&&"document"!==e.type;)"list"===e.type&&(t+=1),e=e.parent;return t}function LM(e,t,n,r){for(var o=e.getLineTexts().length,i=[],a=t;r?a<o:a>1;){a=r?a+1:a-1;var s=e.findFirstNodeAtLine(a),l=DM(s);if(l===n)i.push({line:a,depth:n,mdNode:s});else if(l<n)break}return i}function NM(e,t,n,r){void 0===r&&(r=0);var o=Number.MAX_VALUE,i=0,a=t.map((function(t,a){var s=t.line;o=Math.min(s-1,o),i=Math.max(s-1,i);var l=bM(e,s);return l="bullet"===n?function(e){if(!SM.test(e))return"* "+e;var t=AM(e);return"bullet"===t&&TM.test(e)?e=e.replace(MM,"$1$2 "):"ordered"===t&&(e=e.replace(CM,"$1* ")),e}(l):function(e,t){if(!SM.test(e))return t+". "+e;var n=AM(e);if("bullet"===n||"ordered"===n&&TM.test(e))e=e.replace(TM,"$1"+t+". ");else if("ordered"===n){var r=EM.exec(e)[3];Number(r)!==t&&(e=e.replace(CM,"$1"+t+". "))}return e}(l,a+1+r),{text:l,line:s}}));return{changedResults:a,firstIndex:o,lastIndex:i}}function RM(e,t){var n=function(e){var t=e.toastMark,n=e.mdNode,r=e.line,o=DM(n),i=LM(t,r,o,!1).reverse(),a=LM(t,r,o,!0);return i.concat([{line:r,depth:o,mdNode:n}]).concat(a)}(t);return NM(t.doc,n,e)}var IM={bullet:function(e){return RM("bullet",e)},ordered:function(e){return RM("ordered",e)},task:function(e){var t=e.mdNode,n=e.doc,r=e.line,o=bM(n,r);return t.listData.task?o=o.replace($M,"$1$2"):MO(t)&&(o=o.replace(SM,"$1$2[ ] ")),{changedResults:[{text:o,line:r}]}}},PM={bullet:function(e){var t=e.doc,n=e.line;return{changedResults:[{text:"* "+bM(t,n),line:n}]}},ordered:function(e){for(var t=e.toastMark,n=e.doc,r=e.line,o=e.startLine,i=bM(n,r),a=1,s=o,l=0,c=o-1;c>0;c-=1){var u=t.findFirstNodeAtLine(c),d=bM(n,c)&&!!NO(u,(function(e){return MO(e)})),p=EM.exec(bM(n,c));if(!p&&!d)break;if(p||!d){var f=p,h=f[1],m=f[3];if(!h){a=Number(m),s=c;break}}else l+=1}return{changedResults:[{text:a+r-s-l+". "+i,line:r}]}},task:function(e){var t=e.doc,n=e.line;return{changedResults:[{text:"* [ ] "+bM(t,n),line:n}]}}},ZM={bullet:function(e){var t=e.line,n=bM(e.doc,t),r=OM.exec(n);return{listSyntax:""+r[1]+r[2]}},ordered:function(e){var t=e.toastMark,n=e.line,r=e.mdNode,o=e.doc,i=DM(r),a=bM(o,n),s=EM.exec(a),l=s[1],c=s[3],u=s[4],d=Number(c)+1,p=""+l+d+u,f=LM(t,n,i,!0).filter((function(e){var t=EM.exec(bM(o,e.line));return t&&t[1].length===l.length&&!!NO(e.mdNode,(function(e){return AO(e)}))}));return rT({listSyntax:p},NM(o,f,"ordered",d))}};function _M(e,t,n,r,o){for(var i=[],a=bM(e,n),s=EM.exec(a);s;){var l=s[1],c=s[4],u=s[5],d=l.length;if(d===o)i.push(bO(t,""+l+r+c+u)),r+=1,n+=1;else if(d>o){var p=_M(e,t,n,1,d);n=p.line,i=i.concat(p.nodes)}if(d<o||n>e.childCount)break;a=bM(e,n),s=EM.exec(a)}return{nodes:i,line:n}}var FM=/(^\s{1,4})(.*)/;function jM(e,t,n){return e<t||SM.test(n)||xM.test(n)}function BM(e,t,n){var r=n.$from;0===r.depth&&(r=e.resolve(r.pos-1));var o=r.node(1),i=r.start(1),a=o.content.size;return o.rangeHasMark(0,a,t.marks.table)&&r.pos-i!==a&&r.pos!==i}function zM(e,t){var n=t.from,r=t.to;if("indent"===t.type){n+=4,r+=4*(t.lineLen+1)}else{var o=t.spaceLenList;n-=o[0];for(var i=0;i<o.length;i+=1)r-=o[i]}return wO(e,n,r)}var HM=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return nT(t,e),Object.defineProperty(t.prototype,"name",{get:function(){return"paragraph"},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"schema",{get:function(){return{content:"inline*",attrs:{className:{default:null},codeStart:{default:null},codeEnd:{default:null}},selectable:!1,group:"block",parseDOM:[{tag:"div"}],toDOM:function(e){var t=e.attrs;return t.className?["div",{class:v$(t.className)},0]:["div",0]}}},enumerable:!1,configurable:!0}),t.prototype.reorderList=function(e,t){for(var n=this.context,r=n.view,o=n.toastMark,i=n.schema,a=r.state,s=a.tr,l=a.selection,c=a.doc,u=o.findFirstNodeAtLine(e),d=u;u&&!DO(u)&&"document"!==u.parent.type;)if(AO(u=u.parent)){d=u;break}d&&(e=d.sourcepos[0][0]);var p=EM.exec(bM(c,e)),f=p[1],h=p[3],m=f.length,v=_M(c,i,e,Number(h),m),g=v.line,y=v.nodes;t=Math.max(t,g-1);for(var b=q$(c,e-1).startOffset,w=e-1;w<=t-1;w+=1){var x=c.child(w),k=x.nodeSize,S=x.content,C=s.mapping.map(b),E=C+S.size;s.replaceWith(C,E,y[w-e+1]),b+=k}var T=wO(s,l.from,l.to);r.dispatch(s.setSelection(T))},t.prototype.indent=function(e){var t=this;return void 0===e&&(e=!1),function(){return function(n,r){var o=n.schema,i=n.selection,a=n.doc,s=V$(i),l=s.from,c=s.to,u=s.startFromOffset,d=s.startIndex,p=s.endIndex;if(e&&BM(a,o,i))return!1;var f=wM(a,d);if(e&&jM(l,c,f)||!e&&SM.test(f)){var h=kO({state:n,from:u,startIndex:d,endIndex:p,createText:function(e){return" "+e}}),m={type:"indent",from:l,to:c,lineLen:p-d};r(h.setSelection(zM(h,m))),EM.test(f)&&t.reorderList(d+1,p+1)}else e&&r(n.tr.insert(c,bO(o," ")));return!0}}},t.prototype.outdent=function(e){var t=this;return void 0===e&&(e=!1),function(){return function(n,r){var o=n.selection,i=n.doc,a=n.schema,s=V$(o),l=s.from,c=s.to,u=s.startFromOffset,d=s.startIndex,p=s.endIndex;if(e&&BM(i,a,o))return!1;var f=wM(i,d);if(e&&jM(l,c,f)||!e&&SM.test(f)){var h=[],m=kO({state:n,from:u,startIndex:d,endIndex:p,createText:function(e){var t=FM.exec(e);return h.push(t?t[1].length:0),e.replace(FM,"$2")}}),v={type:"outdent",from:l,to:c,spaceLenList:h};r(m.setSelection(zM(m,v))),EM.test(f)&&t.reorderList(d+1,p+1)}else if(e){var g=f.slice(0,c-u),y=g.replace(/\s{1,4}$/,""),b=c-(g.length-y.length);r(n.tr.delete(b,c))}return!0}}},t.prototype.deleteLines=function(){var e=this;return function(t,n){var r=e.context.view,o=V$(t.selection),i=o.startFromOffset,a=o.endToOffset;return CE((function(){return n(t.tr.deleteRange(i,a)),!0}),cE)(t,n,r)}},t.prototype.moveDown=function(){return function(e,t){var n=e.doc,r=e.tr,o=e.selection,i=e.schema,a=V$(o),s=a.startFromOffset,l=a.endToOffset,c=a.endIndex;if(c<n.content.childCount-1){var u=n.child(c+1),d=u.nodeSize,p=u.textContent;return r.delete(l,l+d).split(s).insert(r.mapping.map(s)-2,bO(i,p)),t(r),!0}return!1}},t.prototype.moveUp=function(){return function(e,t){var n=e.tr,r=e.doc,o=e.selection,i=e.schema,a=V$(o),s=a.startFromOffset,l=a.endToOffset,c=a.startIndex;if(c>0){var u=r.child(c-1),d=u.nodeSize,p=u.textContent;return n.delete(s-d,s).split(n.mapping.map(l)).insert(n.mapping.map(l),bO(i,p)),t(n),!0}return!1}},t.prototype.commands=function(){return{indent:this.indent(),outdent:this.outdent()}},t.prototype.keymaps=function(){return{Tab:this.indent(!0)(),"Shift-Tab":this.outdent(!0)(),"Mod-d":this.deleteLines(),"Mod-D":this.deleteLines(),"Alt-ArrowUp":this.moveUp(),"Alt-ArrowDown":this.moveDown()}},t}(D$),UM=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return nT(t,e),Object.defineProperty(t.prototype,"name",{get:function(){return"text"},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"schema",{get:function(){return{group:"inline"}},enumerable:!1,configurable:!0}),t}(D$),WM=/^#{1,6}\s/,VM=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return nT(t,e),Object.defineProperty(t.prototype,"name",{get:function(){return"heading"},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"schema",{get:function(){return{attrs:{level:{default:1},seText:{default:!1}},toDOM:function(e){var t=e.attrs,n="heading|heading"+t.level;return t.seText&&(n+="|delimiter|setext"),["span",{class:v$.apply(void 0,n.split("|"))},0]}}},enumerable:!1,configurable:!0}),t.prototype.createHeadingText=function(e,t,n){for(var r=t.replace(n,"").trim(),o="";e>0;)o+="#",e-=1;return o+" "+r},t.prototype.commands=function(){var e=this;return function(t){return function(n,r){var o=t.level,i=V$(n.selection),a=i.startFromOffset,s=i.endToOffset,l=kO({state:n,from:a,startIndex:i.startIndex,endIndex:i.endIndex,createText:function(t){var n=t.match(WM),r=n?n[0]:"";return e.createHeadingText(o,t,r)}});return r(l.setSelection(wO(l,l.mapping.map(s)))),!0}}},t}(yM),qM="```",GM=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return nT(t,e),Object.defineProperty(t.prototype,"name",{get:function(){return"codeBlock"},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"schema",{get:function(){return{toDOM:function(){return["span",{class:v$("code-block")},0]}}},enumerable:!1,configurable:!0}),t.prototype.commands=function(){return function(){return function(e,t){var n=e.selection,r=e.schema,o=e.tr,i=V$(n),a=i.startFromOffset,s=i.endToOffset,l=bO(r,qM);return o.insert(a,l).split(a+3),o.split(o.mapping.map(s)).insert(o.mapping.map(s),l),t(o.setSelection(wO(o,o.mapping.map(s)-5))),!0}}},t.prototype.keepIndentation=function(){var e=this;return function(t,n){var r=t.selection,o=t.tr,i=t.doc,a=t.schema,s=e.context.toastMark,l=V$(r),c=l.startFromOffset,u=l.endToOffset,d=l.endIndex,p=l.from,f=l.to,h=wM(i,d);if(p===f&&h.trim()){var m=h.match(/^\s+/);if(function(e){return e&&"codeBlock"===e.type}(s.findFirstNodeAtLine(d+1))&&m){var v=m[0],g=h.slice(f-c);return SO(o,u,g,bO(a,v+g)),n(o),!0}}return!1}},t.prototype.keymaps=function(){var e=this.commands()();return{"Shift-Mod-p":e,"Shift-Mod-P":e,Enter:this.keepIndentation()}},t}(yM),KM=/\||\s/g;function YM(e,t){for(var n="|",r=0;r<e;r+=1)n+=t?" --- |":" |";return n}var XM=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return nT(t,e),Object.defineProperty(t.prototype,"name",{get:function(){return"table"},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"schema",{get:function(){return{toDOM:function(){return["span",{class:v$("table")},0]}}},enumerable:!1,configurable:!0}),t.prototype.extendTable=function(){var e=this;return function(t,n){var r=t.selection,o=t.doc,i=t.tr,a=t.schema;if(!r.empty)return!1;var s=V$(r),l=s.endFromOffset,c=s.endToOffset,u=s.endIndex,d=s.to,p=wM(o,u),f=[u+1,d-l+1],h=NO(e.context.toastMark.findNodeAtPosition(f),(function(e){return LO(e)&&("tableDelimRow"===e.parent.type||"tableBody"===e.parent.parent.type)}));if(h){var m=!p.replace(KM,"").trim(),v=YM(h.parent.parent.parent.columns.length);return m?i.deleteRange(l,c).split(i.mapping.map(c)):i.split(c).insert(i.mapping.map(c),bO(a,v)).setSelection(wO(i,i.mapping.map(c)-2)),n(i),!0}return!1}},t.prototype.moveTableCell=function(e){var t=this;return function(n,r){var o=n.selection,i=n.tr,a=V$(o),s=a.endFromOffset,l=[a.endIndex+1,a.to-s],c=NO(t.context.toastMark.findNodeAtPosition(l),(function(e){return LO(e)}));if(c){var u=c.parent,d=function(e){return e?{type:"next",parentType:"tableHead",childType:"firstChild"}:{type:"prev",parentType:"tableBody",childType:"lastChild"}}(e),p=d.type,f=d.parentType,h=d.childType,m=OO(c);if(c[p])m=OO(c[p])-1;else{var v=u[p]||u.parent.type!==f?u[p]:u.parent[p][h];if("next"===p)m+=(v?OO(v[h]):0)+2;else"prev"===p&&(m=v?-4:0)}return r(i.setSelection(wO(i,s+m))),!0}return!1}},t.prototype.addTable=function(){return function(e){return function(t,n){var r=t.selection,o=t.tr,i=t.schema,a=e,s=a.columnCount,l=a.rowCount,c=V$(r).endToOffset,u=function(e){return[YM(e),YM(e,!0)]}(s),d=function(e,t){for(var n=[],r=0;r<t;r+=1)n.push(YM(e));return n}(s,l-1);return oT(oT([],u),d).forEach((function(e){o.split(o.mapping.map(c)).insert(o.mapping.map(c),bO(i,e))})),n(o.setSelection(wO(o,c+4))),!0}}},t.prototype.commands=function(){return{addTable:this.addTable()}},t.prototype.keymaps=function(){return{Enter:this.extendTable(),Tab:this.moveTableCell(!0),"Shift-Tab":this.moveTableCell(!1)}},t}(yM),JM=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return nT(t,e),Object.defineProperty(t.prototype,"name",{get:function(){return"thematicBreak"},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"schema",{get:function(){return{toDOM:function(){return["span",{class:v$("thematic-break")},0]}}},enumerable:!1,configurable:!0}),t.prototype.hr=function(){return function(){return function(e,t){var n=e.selection,r=e.schema,o=e.tr,i=V$(n),a=i.from,s=i.to,l=i.endToOffset,c=bO(r,"***");return o.split(a).replaceWith(o.mapping.map(a),o.mapping.map(s),c).split(o.mapping.map(s)).setSelection(wO(o,o.mapping.map(l))),t(o),!0}}},t.prototype.commands=function(){return{hr:this.hr()}},t.prototype.keymaps=function(){var e=this.hr()();return{"Mod-l":e,"Mod-L":e}},t}(yM);function QM(e,t){var n=e.type;return t<=e.sourcepos[0][0]&&("codeBlock"===n||"heading"===n||n.match("table"))}var eA=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return nT(t,e),Object.defineProperty(t.prototype,"name",{get:function(){return"listItem"},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"schema",{get:function(){return{attrs:{odd:{default:!1},even:{default:!1},listStyle:{default:!1}},toDOM:function(e){var t=e.attrs,n=t.odd,r=t.even,o="list-item";return t.listStyle&&(o+="|list-item-style"),n&&(o+="|list-item-odd"),r&&(o+="|list-item-even"),["span",{class:v$.apply(void 0,o.split("|"))},0]}}},enumerable:!1,configurable:!0}),t.prototype.extendList=function(){var e=this;return function(t,n){var r=t.selection,o=t.doc,i=t.schema,a=t.tr,s=e.context.toastMark,l=V$(r),c=l.to,u=l.startFromOffset,d=l.endFromOffset,p=l.endIndex,f=l.endToOffset,h=wM(o,p);if(!SM.test(h)||r.from===u||!r.empty)return!1;if(!h.replace(TM,"").trim())a.deleteRange(d,f).split(a.mapping.map(f));else{var m=AM(h),v=s.findFirstNodeAtLine(p+1),g=h.slice(c-d),y={toastMark:s,mdNode:v,doc:o,line:p+1},b=ZM[m](y),w=b.listSyntax,x=b.changedResults;if(null==x?void 0:x.length){a.split(c),x.unshift({text:w+g,line:p+1}),e.changeToListPerLine(a,x,{from:c,startLine:x[0].line,endLine:cO(x).line});var k=a.mapping.map(f)-g.length;a.setSelection(wO(a,k))}else{SO(a,f,g,bO(i,w+g))}}return n(a),!0}},t.prototype.toList=function(e){var t=this;return function(){return function(n,r){for(var o=n.doc,i=n.tr,a=n.selection,s=t.context.toastMark,l=V$(a),c=l.startIndex+1,u=l.endIndex+1,d=l.endToOffset,p=[],f=c;f<=u;f+=1){var h=s.findFirstNodeAtLine(f);if(h&&QM(h,f))break;if(-1===p.indexOf(f)){var m={toastMark:s,mdNode:h,doc:o,line:f,startLine:c},v=(MO(h)?IM[e](m):PM[e](m)).changedResults,g=t.changeToListPerLine(i,v,{from:q$(o,v[0].line-1).startOffset,startLine:v[0].line,endLine:cO(v).line,indexDiff:1});d=Math.max(g,d),v&&(p=p.concat(v.map((function(e){return e.line}))))}}return r(i.setSelection(wO(i,i.mapping.map(d)))),!0}}},t.prototype.changeToListPerLine=function(e,t,n){for(var r=n.from,o=n.startLine,i=n.endLine,a=n.indexDiff,s=void 0===a?0:a,l=0,c=function(n){var o=e.doc.child(n),i=o.nodeSize,a=o.content,c=e.mapping.map(r),d=c+a.size,p=t.filter((function(e){return e.line-s===n}))[0];p&&(e.replaceWith(c,d,bO(u.context.schema,p.text)),l=Math.max(l,r+a.size)),r+=i},u=this,d=o-s;d<=i-s;d+=1)c(d);return l},t.prototype.toggleTask=function(){var e=this;return function(t,n){for(var r=t.selection,o=t.tr,i=t.doc,a=t.schema,s=e.context.toastMark,l=V$(r),c=l.startIndex,u=l.endIndex,d=null,p=c;p<=u;p+=1){var f=s.findFirstNodeAtLine(p+1);if(MO(f)&&f.listData.task){var h=f.listData,m=h.checked,v=h.padding,g=m?" ":"x",y=f.sourcepos[0],b=q$(i,y[0]-1).startOffset;b+=y[1]+v,d=o.replaceWith(b,b+1,a.text(g))}}return!!d&&(n(d),!0)}},t.prototype.commands=function(){return{bulletList:this.toList("bullet"),orderedList:this.toList("ordered"),taskList:this.toList("task")}},t.prototype.keymaps=function(){var e=this.toList("bullet")(),t=this.toList("ordered")(),n=this.toList("task")(),r=this.toggleTask();return{"Mod-u":e,"Mod-U":e,"Mod-o":t,"Mod-O":t,"alt-t":n,"alt-T":n,"Shift-Ctrl-x":r,"Shift-Ctrl-X":r,Enter:this.extendList()}},t}(yM);function tA(e,t){return function(){return function(n,r){var o=n.tr,i=n.selection,a=P$(e)?e:function(t){return e.test(t)},s=t.length,l=o.doc,c=j$(i),u=c[0],d=c[1],p=Math.max(u-s,1),f=Math.min(d+s,l.content.size-1),h=i.content(),m=h.content.textBetween(0,h.content.size,"\n"),v=l.textBetween(p,u,"\n"),g=l.textBetween(d,f,"\n");if(m=""+v+m+g,v&&g&&a(m))o.delete(f-s,f).delete(p,p+s);else{o.insertText(t,d).insertText(t,u);var y=i.empty?wO(o,u+s):wO(o,u+s,d+s);o.setSelection(y)}return r(o),!0}}}var nA=/^(\*{2}|_{2}).*([\s\S]*)\1$/m,rA=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return nT(t,e),Object.defineProperty(t.prototype,"name",{get:function(){return"strong"},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"schema",{get:function(){return{toDOM:function(){return["span",{class:v$("strong")},0]}}},enumerable:!1,configurable:!0}),t.prototype.bold=function(){return tA(nA,"**")},t.prototype.commands=function(){return{bold:this.bold()}},t.prototype.keymaps=function(){var e=this.bold()();return{"Mod-b":e,"Mod-B":e}},t}(yM),oA=/^(~{2}).*([\s\S]*)\1$/m,iA=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return nT(t,e),Object.defineProperty(t.prototype,"name",{get:function(){return"strike"},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"schema",{get:function(){return{toDOM:function(){return["span",{class:v$("strike")},0]}}},enumerable:!1,configurable:!0}),t.prototype.commands=function(){return tA(oA,"~~")},t.prototype.keymaps=function(){var e=this.commands()();return{"Mod-s":e,"Mod-S":e}},t}(yM),aA=/^(\*|_).*([\s\S]*)\1$/m,sA=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return nT(t,e),Object.defineProperty(t.prototype,"name",{get:function(){return"emph"},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"schema",{get:function(){return{toDOM:function(){return["span",{class:v$("emph")},0]}}},enumerable:!1,configurable:!0}),t.prototype.italic=function(){return tA(aA,"*")},t.prototype.commands=function(){return{italic:this.italic()}},t.prototype.keymaps=function(){var e=this.italic()();return{"Mod-i":e,"Mod-I":e}},t}(yM),lA=/^(`).*([\s\S]*)\1$/m,cA=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return nT(t,e),Object.defineProperty(t.prototype,"name",{get:function(){return"code"},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"schema",{get:function(){return{attrs:{start:{default:!1},end:{default:!1},marked:{default:!1}},toDOM:function(e){var t=e.attrs,n="code";return t.start&&(n+="|delimiter|start"),t.end&&(n+="|delimiter|end"),t.marked&&(n+="|marked-text"),["span",{class:v$.apply(void 0,n.split("|"))},0]}}},enumerable:!1,configurable:!0}),t.prototype.commands=function(){return tA(lA,"`")},t.prototype.keymaps=function(){var e=this.commands()();return{"Shift-Mod-c":e,"Shift-Mod-C":e}},t}(yM),uA=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return nT(t,e),Object.defineProperty(t.prototype,"name",{get:function(){return"link"},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"schema",{get:function(){return{attrs:{url:{default:!1},desc:{default:!1}},toDOM:function(e){var t=e.attrs,n="link";return t.url&&(n+="|link-url|marked-text"),t.desc&&(n+="|link-desc|marked-text"),["span",{class:v$.apply(void 0,n.split("|"))},0]}}},enumerable:!1,configurable:!0}),t.prototype.addLinkOrImage=function(e){return function(t){return function(n,r){var o=n.selection,i=n.tr,a=n.schema,s=j$(o),l=s[0],c=s[1],u=t,d=u.linkText,p=u.altText,f=u.linkUrl,h=u.imageUrl,m=d,v=f,g="";return"image"===e&&(m=p,v=h,g="!"),g+="["+(m=iO(m))+"]("+v+")",r(i.replaceWith(l,c,bO(a,g))),!0}}},t.prototype.commands=function(){return{addImage:this.addLinkOrImage("image"),addLink:this.addLinkOrImage("link")}},t}(yM),dA=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return nT(t,e),Object.defineProperty(t.prototype,"name",{get:function(){return"taskDelimiter"},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"schema",{get:function(){return{toDOM:function(){return["span",{class:v$("delimiter","list-item")},0]}}},enumerable:!1,configurable:!0}),t}(yM),pA=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return nT(t,e),Object.defineProperty(t.prototype,"name",{get:function(){return"delimiter"},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"schema",{get:function(){return{toDOM:function(){return["span",{class:v$("delimiter")},0]}}},enumerable:!1,configurable:!0}),t}(yM),fA=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return nT(t,e),Object.defineProperty(t.prototype,"name",{get:function(){return"meta"},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"schema",{get:function(){return{toDOM:function(){return["span",{class:v$("meta")},0]}}},enumerable:!1,configurable:!0}),t}(yM),hA=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return nT(t,e),Object.defineProperty(t.prototype,"name",{get:function(){return"markedText"},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"schema",{get:function(){return{toDOM:function(){return["span",{class:v$("marked-text")},0]}}},enumerable:!1,configurable:!0}),t}(yM),mA=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return nT(t,e),Object.defineProperty(t.prototype,"name",{get:function(){return"tableCell"},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"schema",{get:function(){return{toDOM:function(){return["span",{class:v$("table-cell")},0]}}},enumerable:!1,configurable:!0}),t}(yM),vA=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return nT(t,e),Object.defineProperty(t.prototype,"name",{get:function(){return"html"},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"schema",{get:function(){return{toDOM:function(){return["span",{class:v$("html")},0]}}},enumerable:!1,configurable:!0}),t}(yM),gA="$$",yA=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return nT(t,e),Object.defineProperty(t.prototype,"name",{get:function(){return"customBlock"},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"schema",{get:function(){return{toDOM:function(){return["span",{class:v$("custom-block")},0]}}},enumerable:!1,configurable:!0}),t.prototype.commands=function(){return function(e){return function(t,n){var r=t.selection,o=t.schema,i=t.tr,a=V$(r),s=a.startFromOffset,l=a.endToOffset;if(!(null==e?void 0:e.info))return!1;var c="$$"+e.info,u=bO(o,c),d=bO(o,gA);return i.insert(s,u).split(s+c.length),i.split(i.mapping.map(l)).insert(i.mapping.map(l),d),n(i.setSelection(wO(i,i.mapping.map(l)-4))),!0}}},t}(yM),bA=/x|backspace/i,wA=/^\[(\s*)(x?)(\s*)\](?:\s+)/i;function xA(e){var t=e.schema,n=e.toastMark;return new Lx({props:{handleDOMEvents:{keyup:function(e,r){var o,i=e.state,a=i.doc,s=i.tr,l=i.selection;if(l.empty&&bA.test(r.key)){var c=V$(l),u=c.startIndex,d=c.startFromOffset,p=[u+1,c.from-d+1],f=NO(n.findNodeAtPosition(p),(function(e){var t;return"paragraph"===e.type&&"item"===(null===(t=e.parent)||void 0===t?void 0:t.type)}));if(null===(o=null==f?void 0:f.firstChild)||void 0===o?void 0:o.literal){var h=f.firstChild,m=h.literal.match(wA);if(m){var v=h.sourcepos[0],g=m[1],y=m[2],b=m[3],w=g.length+b.length,x=q$(a,v[0]-1).startOffset,k=v[1]+x;if(y){var S=w?w+1:0;s.replaceWith(k,S+k,t.text(y)),e.dispatch(s)}else w||(s.insertText(" ",k),e.dispatch(s))}}}return!1}}}})}var kA="cut",SA=/\r\n|\n|\r/,CA=function(e){function t(t,n){var r=e.call(this,t)||this,o=n.toastMark,i=n.useCommandShortcut,a=void 0===i||i,s=n.mdPlugins,l=void 0===s?[]:s;return r.editorType="markdown",r.el.classList.add("md-mode"),r.toastMark=o,r.extraPlugins=l,r.specs=r.createSpecs(),r.schema=r.createSchema(),r.context=r.createContext(),r.keymaps=r.createKeymaps(a),r.view=r.createView(),r.commands=r.createCommands(),r.specs.setContext(rT(rT({},r.context),{view:r.view})),r.createClipboard(),r.eventEmitter.listen("changePreviewTabWrite",(function(e){return r.toggleActive(!0,e)})),r.eventEmitter.listen("changePreviewTabPreview",(function(){return r.toggleActive(!1)})),r.initEvent(),r}return nT(t,e),t.prototype.toggleActive=function(e,t){b$(this.el,"active",e),e?t||this.focus():this.blur()},t.prototype.createClipboard=function(){var e=this;this.clipboard=document.createElement("textarea"),this.clipboard.className=m$("pseudo-clipboard"),this.clipboard.addEventListener("paste",(function(t){var n=t.clipboardData||window.clipboardData,r=n&&n.items;if(r){var o=gO(r).some((function(e){return"string"===e.kind&&"text/rtf"===e.type}));if(!o){var i=M$(r);i&&(t.preventDefault(),$$(e.eventEmitter,i,t.type))}}})),this.clipboard.addEventListener("input",(function(t){var n=t.target.value;e.replaceSelection(n),t.preventDefault(),t.target.value=""})),this.el.insertBefore(this.clipboard,this.view.dom)},t.prototype.createContext=function(){return{toastMark:this.toastMark,schema:this.schema,eventEmitter:this.eventEmitter}},t.prototype.createSpecs=function(){return new F$([new gM,new HM,new R$,new UM,new VM,new kM,new GM,new yA,new XM,new mA,new JM,new eA,new rA,new iA,new sA,new cA,new uA,new pA,new dA,new hA,new fA,new vA])},t.prototype.createPlugins=function(){return oT([dM(this.context),vM(this.context),xA(this.context)],this.createPluginProps()).concat(this.defaultPlugins)},t.prototype.createView=function(){var e=this;return new BC(this.el,{state:this.createState(),dispatchTransaction:function(t){e.updateMarkdown(t);var n=e.view.state.applyTransaction(t).state;e.view.updateState(n),e.emitChangeEvent(t)},handleKeyDown:function(t,n){return(n.metaKey||n.ctrlKey)&&"V"===n.key.toUpperCase()&&e.clipboard.focus(),e.eventEmitter.emit("keydown",e.editorType,n),!1},handleDOMEvents:{copy:function(t,n){return e.captureCopy(n)},cut:function(t,n){return e.captureCopy(n,kA)},scroll:function(){return e.eventEmitter.emit("scroll","editor"),!0},keyup:function(t,n){return e.eventEmitter.emit("keyup",e.editorType,n),!1}},nodeViews:{widget:L$}})},t.prototype.createCommands=function(){return this.specs.commands(this.view)},t.prototype.captureCopy=function(e,t){e.preventDefault();var n=this.view.state,r=n.selection,o=n.tr;if(r.empty)return!0;var i=this.getChanged(r.content());return e.clipboardData?e.clipboardData.setData("text/plain",i):window.clipboardData.setData("Text",i),t===kA&&this.view.dispatch(o.deleteSelection().scrollIntoView().setMeta("uiEvent",kA)),!0},t.prototype.updateMarkdown=function(e){var t=this;e.docChanged&&e.steps.forEach((function(n,r){if(n.slice&&!(n instanceof Uw)){var o=e.docs[r],i=[n.from,n.to],a=H$(o,i[0],i[1]),s=a[0],l=a[1],c=t.getChanged(n.slice);s[0]===l[0]&&s[1]===l[1]&&""===c&&(c="\n");var u=t.toastMark.editMarkdown(s,l,c);t.eventEmitter.emit("updatePreview",u),e.setMeta("editResult",u).scrollIntoView()}}))},t.prototype.getChanged=function(e){var t="",n=e.content.size;return e.content.nodesBetween(0,n,(function(e,r){e.isText?t+=e.text.slice(Math.max(0,r)-r,n-r):e.isBlock&&r>0&&(t+="\n")})),t},t.prototype.setSelection=function(e,t){void 0===t&&(t=e);var n=this.view.state.tr,r=W$(n.doc,e,t),o=r[0],i=r[1];this.view.dispatch(n.setSelection(wO(n,o,i)).scrollIntoView())},t.prototype.replaceSelection=function(e,t,n){var r,o=this.view.state,i=o.tr,a=o.schema,s=o.doc,l=e.split(SA).map((function(e){return yO(a,GO(e,a))})),c=new Lb(Tb.from(l),1,1);if(this.focus(),t&&n){var u=W$(s,t,n),d=u[0],p=u[1];r=i.replaceRange(d,p,c)}else r=i.replaceSelection(c);this.view.dispatch(r.scrollIntoView())},t.prototype.deleteSelection=function(e,t){var n,r=this.view.state,o=r.tr,i=r.doc;if(e&&t){var a=W$(i,e,t),s=a[0],l=a[1];n=o.deleteRange(s,l)}else n=o.deleteSelection();this.view.dispatch(n.scrollIntoView())},t.prototype.getSelectedText=function(e,t){var n=this.view.state,r=n.doc,o=n.selection,i=o.from,a=o.to;if(e&&t){var s=W$(r,e,t);i=s[0],a=s[1]}return r.textBetween(i,a,"\n")},t.prototype.getSelection=function(){var e=this.view.state.selection,t=e.from,n=e.to;return H$(this.view.state.tr.doc,t,n)},t.prototype.setMarkdown=function(e,t){void 0===t&&(t=!0);var n=e.split(SA),r=this.view.state,o=r.tr,i=r.doc,a=r.schema,s=n.map((function(e){return yO(a,GO(e,a))}));this.view.dispatch(o.replaceWith(0,i.content.size,s)),t&&this.moveCursorToEnd(!0)},t.prototype.addWidget=function(e,t,n){var r=this.view.state,o=r.tr,i=r.doc,a=r.selection,s=n?W$(i,n,n)[0]:a.to;this.view.dispatch(o.setMeta("widget",{pos:s,node:e,style:t}))},t.prototype.replaceWithWidget=function(e,t,n){var r=this.view.state,o=r.tr,i=r.schema,a=W$(r.doc,e,t),s=GO(n,i);this.view.dispatch(o.replaceWith(a[0],a[1],s))},t.prototype.getRangeInfoOfNode=function(e){var t=this.view.state,n=t.doc,r=t.selection,o=e||H$(n,r.from)[0],i=this.toastMark.findNodeAtPosition(o);return"text"===i.type&&"paragraph"!==i.parent.type&&(i=i.parent),i.sourcepos[1][1]+=1,{range:i.sourcepos,type:i.type}},t.prototype.getMarkdown=function(){return this.toastMark.getLineTexts().map((function(e){return zO(e)})).join("\n")},t.prototype.getToastMark=function(){return this.toastMark},t}(I$),EA="_feEventKey";var TA=function(e,t){var n,r=e[EA];return r||(r=e[EA]={}),(n=r[t])||(n=r[t]=[]),n},OA=lT,$A=hT,MA=TA;function AA(e,t,n){var r,o=MA(e,t);n?($A(o,(function(o,i){return n!==o.handler||(DA(e,t,o.wrappedHandler),r=i,!1)})),o.splice(r,1)):($A(o,(function(n){DA(e,t,n.wrappedHandler)})),o.splice(0,o.length))}function DA(e,t,n){"removeEventListener"in e?e.removeEventListener(t,n):"detachEvent"in e&&e.detachEvent("on"+t,n)}var LA=function(e,t,n){OA(t)?$A(t.split(/\s+/g),(function(t){AA(e,t,n)})):$A(t,(function(t,n){AA(e,n,t)}))},NA=lT,RA=hT,IA=TA;function PA(e,t,n,r){function o(t){n.call(r||e,t||window.event)}"addEventListener"in e?e.addEventListener(t,o):"attachEvent"in e&&e.attachEvent("on"+t,o),function(e,t,n,r){var o=IA(e,t),i=!1;RA(o,(function(e){return e.handler!==n||(i=!0,!1)})),i||o.push({handler:n,wrappedHandler:r})}(e,t,n,o)}var ZA=function(e,t,n,r){NA(t)?RA(t.split(/\s+/g),(function(t){PA(e,t,n,r)})):RA(t,(function(t,r){PA(e,r,t,n)}))},_A=function(e,t){return _A=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])},_A(e,t)};function FA(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}_A(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}var jA=function(){return jA=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},jA.apply(this,arguments)};function BA(e,t,n){if(n||2===arguments.length)for(var r,o=0,i=t.length;o<i;o++)!r&&o in t||(r||(r=Array.prototype.slice.call(t,0,o)),r[o]=t[o]);return e.concat(r||Array.prototype.slice.call(t))}var zA="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:void 0!==n.g?n.g:"undefined"!=typeof self?self:{},HA={};function UA(e,t,n){var r,o,i,a,s,l="";for("string"!=typeof t&&(n=t,t=UA.defaultChars),void 0===n&&(n=!0),s=function(e){var t,n,r=HA[e];if(r)return r;for(r=HA[e]=[],t=0;t<128;t++)n=String.fromCharCode(t),/^[0-9a-z]$/i.test(n)?r.push(n):r.push("%"+("0"+t.toString(16).toUpperCase()).slice(-2));for(t=0;t<e.length;t++)r[e.charCodeAt(t)]=e[t];return r}(t),r=0,o=e.length;r<o;r++)if(i=e.charCodeAt(r),n&&37===i&&r+2<o&&/^[0-9a-f]{2}$/i.test(e.slice(r+1,r+3)))l+=e.slice(r,r+3),r+=2;else if(i<128)l+=s[i];else if(i>=55296&&i<=57343){if(i>=55296&&i<=56319&&r+1<o&&(a=e.charCodeAt(r+1))>=56320&&a<=57343){l+=encodeURIComponent(e[r]+e[r+1]),r++;continue}l+="%EF%BF%BD"}else l+=encodeURIComponent(e[r]);return l}UA.defaultChars=";/?:@&=+$,-_.!~*'()#",UA.componentChars="-_.!~*'()";var WA=UA,VA={},qA={},GA={Aacute:"Á",aacute:"á",Abreve:"Ă",abreve:"ă",ac:"∾",acd:"∿",acE:"∾̳",Acirc:"Â",acirc:"â",acute:"´",Acy:"А",acy:"а",AElig:"Æ",aelig:"æ",af:"",Afr:"𝔄",afr:"𝔞",Agrave:"À",agrave:"à",alefsym:"ℵ",aleph:"ℵ",Alpha:"Α",alpha:"α",Amacr:"Ā",amacr:"ā",amalg:"⨿",amp:"&",AMP:"&",andand:"⩕",And:"⩓",and:"∧",andd:"⩜",andslope:"⩘",andv:"⩚",ang:"∠",ange:"⦤",angle:"∠",angmsdaa:"⦨",angmsdab:"⦩",angmsdac:"⦪",angmsdad:"⦫",angmsdae:"⦬",angmsdaf:"⦭",angmsdag:"⦮",angmsdah:"⦯",angmsd:"∡",angrt:"∟",angrtvb:"⊾",angrtvbd:"⦝",angsph:"∢",angst:"Å",angzarr:"⍼",Aogon:"Ą",aogon:"ą",Aopf:"𝔸",aopf:"𝕒",apacir:"⩯",ap:"≈",apE:"⩰",ape:"≊",apid:"≋",apos:"'",ApplyFunction:"",approx:"≈",approxeq:"≊",Aring:"Å",aring:"å",Ascr:"𝒜",ascr:"𝒶",Assign:"≔",ast:"*",asymp:"≈",asympeq:"≍",Atilde:"Ã",atilde:"ã",Auml:"Ä",auml:"ä",awconint:"∳",awint:"⨑",backcong:"≌",backepsilon:"϶",backprime:"‵",backsim:"∽",backsimeq:"⋍",Backslash:"∖",Barv:"⫧",barvee:"⊽",barwed:"⌅",Barwed:"⌆",barwedge:"⌅",bbrk:"⎵",bbrktbrk:"⎶",bcong:"≌",Bcy:"Б",bcy:"б",bdquo:"„",becaus:"∵",because:"∵",Because:"∵",bemptyv:"⦰",bepsi:"϶",bernou:"ℬ",Bernoullis:"ℬ",Beta:"Β",beta:"β",beth:"ℶ",between:"≬",Bfr:"𝔅",bfr:"𝔟",bigcap:"⋂",bigcirc:"◯",bigcup:"⋃",bigodot:"⨀",bigoplus:"⨁",bigotimes:"⨂",bigsqcup:"⨆",bigstar:"★",bigtriangledown:"▽",bigtriangleup:"△",biguplus:"⨄",bigvee:"⋁",bigwedge:"⋀",bkarow:"⤍",blacklozenge:"⧫",blacksquare:"▪",blacktriangle:"▴",blacktriangledown:"▾",blacktriangleleft:"◂",blacktriangleright:"▸",blank:"␣",blk12:"▒",blk14:"░",blk34:"▓",block:"█",bne:"=⃥",bnequiv:"≡⃥",bNot:"⫭",bnot:"⌐",Bopf:"𝔹",bopf:"𝕓",bot:"⊥",bottom:"⊥",bowtie:"⋈",boxbox:"⧉",boxdl:"┐",boxdL:"╕",boxDl:"╖",boxDL:"╗",boxdr:"┌",boxdR:"╒",boxDr:"╓",boxDR:"╔",boxh:"─",boxH:"═",boxhd:"┬",boxHd:"╤",boxhD:"╥",boxHD:"╦",boxhu:"┴",boxHu:"╧",boxhU:"╨",boxHU:"╩",boxminus:"⊟",boxplus:"⊞",boxtimes:"⊠",boxul:"┘",boxuL:"╛",boxUl:"╜",boxUL:"╝",boxur:"└",boxuR:"╘",boxUr:"╙",boxUR:"╚",boxv:"│",boxV:"║",boxvh:"┼",boxvH:"╪",boxVh:"╫",boxVH:"╬",boxvl:"┤",boxvL:"╡",boxVl:"╢",boxVL:"╣",boxvr:"├",boxvR:"╞",boxVr:"╟",boxVR:"╠",bprime:"‵",breve:"˘",Breve:"˘",brvbar:"¦",bscr:"𝒷",Bscr:"ℬ",bsemi:"⁏",bsim:"∽",bsime:"⋍",bsolb:"⧅",bsol:"\\",bsolhsub:"⟈",bull:"•",bullet:"•",bump:"≎",bumpE:"⪮",bumpe:"≏",Bumpeq:"≎",bumpeq:"≏",Cacute:"Ć",cacute:"ć",capand:"⩄",capbrcup:"⩉",capcap:"⩋",cap:"∩",Cap:"⋒",capcup:"⩇",capdot:"⩀",CapitalDifferentialD:"ⅅ",caps:"∩︀",caret:"⁁",caron:"ˇ",Cayleys:"ℭ",ccaps:"⩍",Ccaron:"Č",ccaron:"č",Ccedil:"Ç",ccedil:"ç",Ccirc:"Ĉ",ccirc:"ĉ",Cconint:"∰",ccups:"⩌",ccupssm:"⩐",Cdot:"Ċ",cdot:"ċ",cedil:"¸",Cedilla:"¸",cemptyv:"⦲",cent:"¢",centerdot:"·",CenterDot:"·",cfr:"𝔠",Cfr:"ℭ",CHcy:"Ч",chcy:"ч",check:"✓",checkmark:"✓",Chi:"Χ",chi:"χ",circ:"ˆ",circeq:"≗",circlearrowleft:"↺",circlearrowright:"↻",circledast:"⊛",circledcirc:"⊚",circleddash:"⊝",CircleDot:"⊙",circledR:"®",circledS:"Ⓢ",CircleMinus:"⊖",CirclePlus:"⊕",CircleTimes:"⊗",cir:"○",cirE:"⧃",cire:"≗",cirfnint:"⨐",cirmid:"⫯",cirscir:"⧂",ClockwiseContourIntegral:"∲",CloseCurlyDoubleQuote:"”",CloseCurlyQuote:"’",clubs:"♣",clubsuit:"♣",colon:":",Colon:"∷",Colone:"⩴",colone:"≔",coloneq:"≔",comma:",",commat:"@",comp:"∁",compfn:"∘",complement:"∁",complexes:"ℂ",cong:"≅",congdot:"⩭",Congruent:"≡",conint:"∮",Conint:"∯",ContourIntegral:"∮",copf:"𝕔",Copf:"ℂ",coprod:"∐",Coproduct:"∐",copy:"©",COPY:"©",copysr:"℗",CounterClockwiseContourIntegral:"∳",crarr:"↵",cross:"✗",Cross:"⨯",Cscr:"𝒞",cscr:"𝒸",csub:"⫏",csube:"⫑",csup:"⫐",csupe:"⫒",ctdot:"⋯",cudarrl:"⤸",cudarrr:"⤵",cuepr:"⋞",cuesc:"⋟",cularr:"↶",cularrp:"⤽",cupbrcap:"⩈",cupcap:"⩆",CupCap:"≍",cup:"∪",Cup:"⋓",cupcup:"⩊",cupdot:"⊍",cupor:"⩅",cups:"∪︀",curarr:"↷",curarrm:"⤼",curlyeqprec:"⋞",curlyeqsucc:"⋟",curlyvee:"⋎",curlywedge:"⋏",curren:"¤",curvearrowleft:"↶",curvearrowright:"↷",cuvee:"⋎",cuwed:"⋏",cwconint:"∲",cwint:"∱",cylcty:"⌭",dagger:"†",Dagger:"‡",daleth:"ℸ",darr:"↓",Darr:"↡",dArr:"⇓",dash:"‐",Dashv:"⫤",dashv:"⊣",dbkarow:"⤏",dblac:"˝",Dcaron:"Ď",dcaron:"ď",Dcy:"Д",dcy:"д",ddagger:"‡",ddarr:"⇊",DD:"ⅅ",dd:"ⅆ",DDotrahd:"⤑",ddotseq:"⩷",deg:"°",Del:"∇",Delta:"Δ",delta:"δ",demptyv:"⦱",dfisht:"⥿",Dfr:"𝔇",dfr:"𝔡",dHar:"⥥",dharl:"⇃",dharr:"⇂",DiacriticalAcute:"´",DiacriticalDot:"˙",DiacriticalDoubleAcute:"˝",DiacriticalGrave:"`",DiacriticalTilde:"˜",diam:"⋄",diamond:"⋄",Diamond:"⋄",diamondsuit:"♦",diams:"♦",die:"¨",DifferentialD:"ⅆ",digamma:"ϝ",disin:"⋲",div:"÷",divide:"÷",divideontimes:"⋇",divonx:"⋇",DJcy:"Ђ",djcy:"ђ",dlcorn:"⌞",dlcrop:"⌍",dollar:"$",Dopf:"𝔻",dopf:"𝕕",Dot:"¨",dot:"˙",DotDot:"⃜",doteq:"≐",doteqdot:"≑",DotEqual:"≐",dotminus:"∸",dotplus:"∔",dotsquare:"⊡",doublebarwedge:"⌆",DoubleContourIntegral:"∯",DoubleDot:"¨",DoubleDownArrow:"⇓",DoubleLeftArrow:"⇐",DoubleLeftRightArrow:"⇔",DoubleLeftTee:"⫤",DoubleLongLeftArrow:"⟸",DoubleLongLeftRightArrow:"⟺",DoubleLongRightArrow:"⟹",DoubleRightArrow:"⇒",DoubleRightTee:"⊨",DoubleUpArrow:"⇑",DoubleUpDownArrow:"⇕",DoubleVerticalBar:"∥",DownArrowBar:"⤓",downarrow:"↓",DownArrow:"↓",Downarrow:"⇓",DownArrowUpArrow:"⇵",DownBreve:"̑",downdownarrows:"⇊",downharpoonleft:"⇃",downharpoonright:"⇂",DownLeftRightVector:"⥐",DownLeftTeeVector:"⥞",DownLeftVectorBar:"⥖",DownLeftVector:"↽",DownRightTeeVector:"⥟",DownRightVectorBar:"⥗",DownRightVector:"⇁",DownTeeArrow:"↧",DownTee:"⊤",drbkarow:"⤐",drcorn:"⌟",drcrop:"⌌",Dscr:"𝒟",dscr:"𝒹",DScy:"Ѕ",dscy:"ѕ",dsol:"⧶",Dstrok:"Đ",dstrok:"đ",dtdot:"⋱",dtri:"▿",dtrif:"▾",duarr:"⇵",duhar:"⥯",dwangle:"⦦",DZcy:"Џ",dzcy:"џ",dzigrarr:"⟿",Eacute:"É",eacute:"é",easter:"⩮",Ecaron:"Ě",ecaron:"ě",Ecirc:"Ê",ecirc:"ê",ecir:"≖",ecolon:"≕",Ecy:"Э",ecy:"э",eDDot:"⩷",Edot:"Ė",edot:"ė",eDot:"≑",ee:"ⅇ",efDot:"≒",Efr:"𝔈",efr:"𝔢",eg:"⪚",Egrave:"È",egrave:"è",egs:"⪖",egsdot:"⪘",el:"⪙",Element:"∈",elinters:"⏧",ell:"ℓ",els:"⪕",elsdot:"⪗",Emacr:"Ē",emacr:"ē",empty:"∅",emptyset:"∅",EmptySmallSquare:"◻",emptyv:"∅",EmptyVerySmallSquare:"▫",emsp13:" ",emsp14:" ",emsp:" ",ENG:"Ŋ",eng:"ŋ",ensp:" ",Eogon:"Ę",eogon:"ę",Eopf:"𝔼",eopf:"𝕖",epar:"⋕",eparsl:"⧣",eplus:"⩱",epsi:"ε",Epsilon:"Ε",epsilon:"ε",epsiv:"ϵ",eqcirc:"≖",eqcolon:"≕",eqsim:"≂",eqslantgtr:"⪖",eqslantless:"⪕",Equal:"⩵",equals:"=",EqualTilde:"≂",equest:"≟",Equilibrium:"⇌",equiv:"≡",equivDD:"⩸",eqvparsl:"⧥",erarr:"⥱",erDot:"≓",escr:"ℯ",Escr:"ℰ",esdot:"≐",Esim:"⩳",esim:"≂",Eta:"Η",eta:"η",ETH:"Ð",eth:"ð",Euml:"Ë",euml:"ë",euro:"€",excl:"!",exist:"∃",Exists:"∃",expectation:"ℰ",exponentiale:"ⅇ",ExponentialE:"ⅇ",fallingdotseq:"≒",Fcy:"Ф",fcy:"ф",female:"♀",ffilig:"ffi",fflig:"ff",ffllig:"ffl",Ffr:"𝔉",ffr:"𝔣",filig:"fi",FilledSmallSquare:"◼",FilledVerySmallSquare:"▪",fjlig:"fj",flat:"♭",fllig:"fl",fltns:"▱",fnof:"ƒ",Fopf:"𝔽",fopf:"𝕗",forall:"∀",ForAll:"∀",fork:"⋔",forkv:"⫙",Fouriertrf:"ℱ",fpartint:"⨍",frac12:"½",frac13:"⅓",frac14:"¼",frac15:"⅕",frac16:"⅙",frac18:"⅛",frac23:"⅔",frac25:"⅖",frac34:"¾",frac35:"⅗",frac38:"⅜",frac45:"⅘",frac56:"⅚",frac58:"⅝",frac78:"⅞",frasl:"⁄",frown:"⌢",fscr:"𝒻",Fscr:"ℱ",gacute:"ǵ",Gamma:"Γ",gamma:"γ",Gammad:"Ϝ",gammad:"ϝ",gap:"⪆",Gbreve:"Ğ",gbreve:"ğ",Gcedil:"Ģ",Gcirc:"Ĝ",gcirc:"ĝ",Gcy:"Г",gcy:"г",Gdot:"Ġ",gdot:"ġ",ge:"≥",gE:"≧",gEl:"⪌",gel:"⋛",geq:"≥",geqq:"≧",geqslant:"⩾",gescc:"⪩",ges:"⩾",gesdot:"⪀",gesdoto:"⪂",gesdotol:"⪄",gesl:"⋛︀",gesles:"⪔",Gfr:"𝔊",gfr:"𝔤",gg:"≫",Gg:"⋙",ggg:"⋙",gimel:"ℷ",GJcy:"Ѓ",gjcy:"ѓ",gla:"⪥",gl:"≷",glE:"⪒",glj:"⪤",gnap:"⪊",gnapprox:"⪊",gne:"⪈",gnE:"≩",gneq:"⪈",gneqq:"≩",gnsim:"⋧",Gopf:"𝔾",gopf:"𝕘",grave:"`",GreaterEqual:"≥",GreaterEqualLess:"⋛",GreaterFullEqual:"≧",GreaterGreater:"⪢",GreaterLess:"≷",GreaterSlantEqual:"⩾",GreaterTilde:"≳",Gscr:"𝒢",gscr:"ℊ",gsim:"≳",gsime:"⪎",gsiml:"⪐",gtcc:"⪧",gtcir:"⩺",gt:">",GT:">",Gt:"≫",gtdot:"⋗",gtlPar:"⦕",gtquest:"⩼",gtrapprox:"⪆",gtrarr:"⥸",gtrdot:"⋗",gtreqless:"⋛",gtreqqless:"⪌",gtrless:"≷",gtrsim:"≳",gvertneqq:"≩︀",gvnE:"≩︀",Hacek:"ˇ",hairsp:" ",half:"½",hamilt:"ℋ",HARDcy:"Ъ",hardcy:"ъ",harrcir:"⥈",harr:"↔",hArr:"⇔",harrw:"↭",Hat:"^",hbar:"ℏ",Hcirc:"Ĥ",hcirc:"ĥ",hearts:"♥",heartsuit:"♥",hellip:"…",hercon:"⊹",hfr:"𝔥",Hfr:"ℌ",HilbertSpace:"ℋ",hksearow:"⤥",hkswarow:"⤦",hoarr:"⇿",homtht:"∻",hookleftarrow:"↩",hookrightarrow:"↪",hopf:"𝕙",Hopf:"ℍ",horbar:"―",HorizontalLine:"─",hscr:"𝒽",Hscr:"ℋ",hslash:"ℏ",Hstrok:"Ħ",hstrok:"ħ",HumpDownHump:"≎",HumpEqual:"≏",hybull:"⁃",hyphen:"‐",Iacute:"Í",iacute:"í",ic:"",Icirc:"Î",icirc:"î",Icy:"И",icy:"и",Idot:"İ",IEcy:"Е",iecy:"е",iexcl:"¡",iff:"⇔",ifr:"𝔦",Ifr:"ℑ",Igrave:"Ì",igrave:"ì",ii:"ⅈ",iiiint:"⨌",iiint:"∭",iinfin:"⧜",iiota:"℩",IJlig:"IJ",ijlig:"ij",Imacr:"Ī",imacr:"ī",image:"ℑ",ImaginaryI:"ⅈ",imagline:"ℐ",imagpart:"ℑ",imath:"ı",Im:"ℑ",imof:"⊷",imped:"Ƶ",Implies:"⇒",incare:"℅",in:"∈",infin:"∞",infintie:"⧝",inodot:"ı",intcal:"⊺",int:"∫",Int:"∬",integers:"ℤ",Integral:"∫",intercal:"⊺",Intersection:"⋂",intlarhk:"⨗",intprod:"⨼",InvisibleComma:"",InvisibleTimes:"",IOcy:"Ё",iocy:"ё",Iogon:"Į",iogon:"į",Iopf:"𝕀",iopf:"𝕚",Iota:"Ι",iota:"ι",iprod:"⨼",iquest:"¿",iscr:"𝒾",Iscr:"ℐ",isin:"∈",isindot:"⋵",isinE:"⋹",isins:"⋴",isinsv:"⋳",isinv:"∈",it:"",Itilde:"Ĩ",itilde:"ĩ",Iukcy:"І",iukcy:"і",Iuml:"Ï",iuml:"ï",Jcirc:"Ĵ",jcirc:"ĵ",Jcy:"Й",jcy:"й",Jfr:"𝔍",jfr:"𝔧",jmath:"ȷ",Jopf:"𝕁",jopf:"𝕛",Jscr:"𝒥",jscr:"𝒿",Jsercy:"Ј",jsercy:"ј",Jukcy:"Є",jukcy:"є",Kappa:"Κ",kappa:"κ",kappav:"ϰ",Kcedil:"Ķ",kcedil:"ķ",Kcy:"К",kcy:"к",Kfr:"𝔎",kfr:"𝔨",kgreen:"ĸ",KHcy:"Х",khcy:"х",KJcy:"Ќ",kjcy:"ќ",Kopf:"𝕂",kopf:"𝕜",Kscr:"𝒦",kscr:"𝓀",lAarr:"⇚",Lacute:"Ĺ",lacute:"ĺ",laemptyv:"⦴",lagran:"ℒ",Lambda:"Λ",lambda:"λ",lang:"⟨",Lang:"⟪",langd:"⦑",langle:"⟨",lap:"⪅",Laplacetrf:"ℒ",laquo:"«",larrb:"⇤",larrbfs:"⤟",larr:"←",Larr:"↞",lArr:"⇐",larrfs:"⤝",larrhk:"↩",larrlp:"↫",larrpl:"⤹",larrsim:"⥳",larrtl:"↢",latail:"⤙",lAtail:"⤛",lat:"⪫",late:"⪭",lates:"⪭︀",lbarr:"⤌",lBarr:"⤎",lbbrk:"❲",lbrace:"{",lbrack:"[",lbrke:"⦋",lbrksld:"⦏",lbrkslu:"⦍",Lcaron:"Ľ",lcaron:"ľ",Lcedil:"Ļ",lcedil:"ļ",lceil:"⌈",lcub:"{",Lcy:"Л",lcy:"л",ldca:"⤶",ldquo:"“",ldquor:"„",ldrdhar:"⥧",ldrushar:"⥋",ldsh:"↲",le:"≤",lE:"≦",LeftAngleBracket:"⟨",LeftArrowBar:"⇤",leftarrow:"←",LeftArrow:"←",Leftarrow:"⇐",LeftArrowRightArrow:"⇆",leftarrowtail:"↢",LeftCeiling:"⌈",LeftDoubleBracket:"⟦",LeftDownTeeVector:"⥡",LeftDownVectorBar:"⥙",LeftDownVector:"⇃",LeftFloor:"⌊",leftharpoondown:"↽",leftharpoonup:"↼",leftleftarrows:"⇇",leftrightarrow:"↔",LeftRightArrow:"↔",Leftrightarrow:"⇔",leftrightarrows:"⇆",leftrightharpoons:"⇋",leftrightsquigarrow:"↭",LeftRightVector:"⥎",LeftTeeArrow:"↤",LeftTee:"⊣",LeftTeeVector:"⥚",leftthreetimes:"⋋",LeftTriangleBar:"⧏",LeftTriangle:"⊲",LeftTriangleEqual:"⊴",LeftUpDownVector:"⥑",LeftUpTeeVector:"⥠",LeftUpVectorBar:"⥘",LeftUpVector:"↿",LeftVectorBar:"⥒",LeftVector:"↼",lEg:"⪋",leg:"⋚",leq:"≤",leqq:"≦",leqslant:"⩽",lescc:"⪨",les:"⩽",lesdot:"⩿",lesdoto:"⪁",lesdotor:"⪃",lesg:"⋚︀",lesges:"⪓",lessapprox:"⪅",lessdot:"⋖",lesseqgtr:"⋚",lesseqqgtr:"⪋",LessEqualGreater:"⋚",LessFullEqual:"≦",LessGreater:"≶",lessgtr:"≶",LessLess:"⪡",lesssim:"≲",LessSlantEqual:"⩽",LessTilde:"≲",lfisht:"⥼",lfloor:"⌊",Lfr:"𝔏",lfr:"𝔩",lg:"≶",lgE:"⪑",lHar:"⥢",lhard:"↽",lharu:"↼",lharul:"⥪",lhblk:"▄",LJcy:"Љ",ljcy:"љ",llarr:"⇇",ll:"≪",Ll:"⋘",llcorner:"⌞",Lleftarrow:"⇚",llhard:"⥫",lltri:"◺",Lmidot:"Ŀ",lmidot:"ŀ",lmoustache:"⎰",lmoust:"⎰",lnap:"⪉",lnapprox:"⪉",lne:"⪇",lnE:"≨",lneq:"⪇",lneqq:"≨",lnsim:"⋦",loang:"⟬",loarr:"⇽",lobrk:"⟦",longleftarrow:"⟵",LongLeftArrow:"⟵",Longleftarrow:"⟸",longleftrightarrow:"⟷",LongLeftRightArrow:"⟷",Longleftrightarrow:"⟺",longmapsto:"⟼",longrightarrow:"⟶",LongRightArrow:"⟶",Longrightarrow:"⟹",looparrowleft:"↫",looparrowright:"↬",lopar:"⦅",Lopf:"𝕃",lopf:"𝕝",loplus:"⨭",lotimes:"⨴",lowast:"∗",lowbar:"_",LowerLeftArrow:"↙",LowerRightArrow:"↘",loz:"◊",lozenge:"◊",lozf:"⧫",lpar:"(",lparlt:"⦓",lrarr:"⇆",lrcorner:"⌟",lrhar:"⇋",lrhard:"⥭",lrm:"",lrtri:"⊿",lsaquo:"‹",lscr:"𝓁",Lscr:"ℒ",lsh:"↰",Lsh:"↰",lsim:"≲",lsime:"⪍",lsimg:"⪏",lsqb:"[",lsquo:"‘",lsquor:"‚",Lstrok:"Ł",lstrok:"ł",ltcc:"⪦",ltcir:"⩹",lt:"<",LT:"<",Lt:"≪",ltdot:"⋖",lthree:"⋋",ltimes:"⋉",ltlarr:"⥶",ltquest:"⩻",ltri:"◃",ltrie:"⊴",ltrif:"◂",ltrPar:"⦖",lurdshar:"⥊",luruhar:"⥦",lvertneqq:"≨︀",lvnE:"≨︀",macr:"¯",male:"♂",malt:"✠",maltese:"✠",Map:"⤅",map:"↦",mapsto:"↦",mapstodown:"↧",mapstoleft:"↤",mapstoup:"↥",marker:"▮",mcomma:"⨩",Mcy:"М",mcy:"м",mdash:"—",mDDot:"∺",measuredangle:"∡",MediumSpace:" ",Mellintrf:"ℳ",Mfr:"𝔐",mfr:"𝔪",mho:"℧",micro:"µ",midast:"*",midcir:"⫰",mid:"∣",middot:"·",minusb:"⊟",minus:"−",minusd:"∸",minusdu:"⨪",MinusPlus:"∓",mlcp:"⫛",mldr:"…",mnplus:"∓",models:"⊧",Mopf:"𝕄",mopf:"𝕞",mp:"∓",mscr:"𝓂",Mscr:"ℳ",mstpos:"∾",Mu:"Μ",mu:"μ",multimap:"⊸",mumap:"⊸",nabla:"∇",Nacute:"Ń",nacute:"ń",nang:"∠⃒",nap:"≉",napE:"⩰̸",napid:"≋̸",napos:"ʼn",napprox:"≉",natural:"♮",naturals:"ℕ",natur:"♮",nbsp:" ",nbump:"≎̸",nbumpe:"≏̸",ncap:"⩃",Ncaron:"Ň",ncaron:"ň",Ncedil:"Ņ",ncedil:"ņ",ncong:"≇",ncongdot:"⩭̸",ncup:"⩂",Ncy:"Н",ncy:"н",ndash:"–",nearhk:"⤤",nearr:"↗",neArr:"⇗",nearrow:"↗",ne:"≠",nedot:"≐̸",NegativeMediumSpace:"",NegativeThickSpace:"",NegativeThinSpace:"",NegativeVeryThinSpace:"",nequiv:"≢",nesear:"⤨",nesim:"≂̸",NestedGreaterGreater:"≫",NestedLessLess:"≪",NewLine:"\n",nexist:"∄",nexists:"∄",Nfr:"𝔑",nfr:"𝔫",ngE:"≧̸",nge:"≱",ngeq:"≱",ngeqq:"≧̸",ngeqslant:"⩾̸",nges:"⩾̸",nGg:"⋙̸",ngsim:"≵",nGt:"≫⃒",ngt:"≯",ngtr:"≯",nGtv:"≫̸",nharr:"↮",nhArr:"⇎",nhpar:"⫲",ni:"∋",nis:"⋼",nisd:"⋺",niv:"∋",NJcy:"Њ",njcy:"њ",nlarr:"↚",nlArr:"⇍",nldr:"‥",nlE:"≦̸",nle:"≰",nleftarrow:"↚",nLeftarrow:"⇍",nleftrightarrow:"↮",nLeftrightarrow:"⇎",nleq:"≰",nleqq:"≦̸",nleqslant:"⩽̸",nles:"⩽̸",nless:"≮",nLl:"⋘̸",nlsim:"≴",nLt:"≪⃒",nlt:"≮",nltri:"⋪",nltrie:"⋬",nLtv:"≪̸",nmid:"∤",NoBreak:"",NonBreakingSpace:" ",nopf:"𝕟",Nopf:"ℕ",Not:"⫬",not:"¬",NotCongruent:"≢",NotCupCap:"≭",NotDoubleVerticalBar:"∦",NotElement:"∉",NotEqual:"≠",NotEqualTilde:"≂̸",NotExists:"∄",NotGreater:"≯",NotGreaterEqual:"≱",NotGreaterFullEqual:"≧̸",NotGreaterGreater:"≫̸",NotGreaterLess:"≹",NotGreaterSlantEqual:"⩾̸",NotGreaterTilde:"≵",NotHumpDownHump:"≎̸",NotHumpEqual:"≏̸",notin:"∉",notindot:"⋵̸",notinE:"⋹̸",notinva:"∉",notinvb:"⋷",notinvc:"⋶",NotLeftTriangleBar:"⧏̸",NotLeftTriangle:"⋪",NotLeftTriangleEqual:"⋬",NotLess:"≮",NotLessEqual:"≰",NotLessGreater:"≸",NotLessLess:"≪̸",NotLessSlantEqual:"⩽̸",NotLessTilde:"≴",NotNestedGreaterGreater:"⪢̸",NotNestedLessLess:"⪡̸",notni:"∌",notniva:"∌",notnivb:"⋾",notnivc:"⋽",NotPrecedes:"⊀",NotPrecedesEqual:"⪯̸",NotPrecedesSlantEqual:"⋠",NotReverseElement:"∌",NotRightTriangleBar:"⧐̸",NotRightTriangle:"⋫",NotRightTriangleEqual:"⋭",NotSquareSubset:"⊏̸",NotSquareSubsetEqual:"⋢",NotSquareSuperset:"⊐̸",NotSquareSupersetEqual:"⋣",NotSubset:"⊂⃒",NotSubsetEqual:"⊈",NotSucceeds:"⊁",NotSucceedsEqual:"⪰̸",NotSucceedsSlantEqual:"⋡",NotSucceedsTilde:"≿̸",NotSuperset:"⊃⃒",NotSupersetEqual:"⊉",NotTilde:"≁",NotTildeEqual:"≄",NotTildeFullEqual:"≇",NotTildeTilde:"≉",NotVerticalBar:"∤",nparallel:"∦",npar:"∦",nparsl:"⫽⃥",npart:"∂̸",npolint:"⨔",npr:"⊀",nprcue:"⋠",nprec:"⊀",npreceq:"⪯̸",npre:"⪯̸",nrarrc:"⤳̸",nrarr:"↛",nrArr:"⇏",nrarrw:"↝̸",nrightarrow:"↛",nRightarrow:"⇏",nrtri:"⋫",nrtrie:"⋭",nsc:"⊁",nsccue:"⋡",nsce:"⪰̸",Nscr:"𝒩",nscr:"𝓃",nshortmid:"∤",nshortparallel:"∦",nsim:"≁",nsime:"≄",nsimeq:"≄",nsmid:"∤",nspar:"∦",nsqsube:"⋢",nsqsupe:"⋣",nsub:"⊄",nsubE:"⫅̸",nsube:"⊈",nsubset:"⊂⃒",nsubseteq:"⊈",nsubseteqq:"⫅̸",nsucc:"⊁",nsucceq:"⪰̸",nsup:"⊅",nsupE:"⫆̸",nsupe:"⊉",nsupset:"⊃⃒",nsupseteq:"⊉",nsupseteqq:"⫆̸",ntgl:"≹",Ntilde:"Ñ",ntilde:"ñ",ntlg:"≸",ntriangleleft:"⋪",ntrianglelefteq:"⋬",ntriangleright:"⋫",ntrianglerighteq:"⋭",Nu:"Ν",nu:"ν",num:"#",numero:"№",numsp:" ",nvap:"≍⃒",nvdash:"⊬",nvDash:"⊭",nVdash:"⊮",nVDash:"⊯",nvge:"≥⃒",nvgt:">⃒",nvHarr:"⤄",nvinfin:"⧞",nvlArr:"⤂",nvle:"≤⃒",nvlt:"<⃒",nvltrie:"⊴⃒",nvrArr:"⤃",nvrtrie:"⊵⃒",nvsim:"∼⃒",nwarhk:"⤣",nwarr:"↖",nwArr:"⇖",nwarrow:"↖",nwnear:"⤧",Oacute:"Ó",oacute:"ó",oast:"⊛",Ocirc:"Ô",ocirc:"ô",ocir:"⊚",Ocy:"О",ocy:"о",odash:"⊝",Odblac:"Ő",odblac:"ő",odiv:"⨸",odot:"⊙",odsold:"⦼",OElig:"Œ",oelig:"œ",ofcir:"⦿",Ofr:"𝔒",ofr:"𝔬",ogon:"˛",Ograve:"Ò",ograve:"ò",ogt:"⧁",ohbar:"⦵",ohm:"Ω",oint:"∮",olarr:"↺",olcir:"⦾",olcross:"⦻",oline:"‾",olt:"⧀",Omacr:"Ō",omacr:"ō",Omega:"Ω",omega:"ω",Omicron:"Ο",omicron:"ο",omid:"⦶",ominus:"⊖",Oopf:"𝕆",oopf:"𝕠",opar:"⦷",OpenCurlyDoubleQuote:"“",OpenCurlyQuote:"‘",operp:"⦹",oplus:"⊕",orarr:"↻",Or:"⩔",or:"∨",ord:"⩝",order:"ℴ",orderof:"ℴ",ordf:"ª",ordm:"º",origof:"⊶",oror:"⩖",orslope:"⩗",orv:"⩛",oS:"Ⓢ",Oscr:"𝒪",oscr:"ℴ",Oslash:"Ø",oslash:"ø",osol:"⊘",Otilde:"Õ",otilde:"õ",otimesas:"⨶",Otimes:"⨷",otimes:"⊗",Ouml:"Ö",ouml:"ö",ovbar:"⌽",OverBar:"‾",OverBrace:"⏞",OverBracket:"⎴",OverParenthesis:"⏜",para:"¶",parallel:"∥",par:"∥",parsim:"⫳",parsl:"⫽",part:"∂",PartialD:"∂",Pcy:"П",pcy:"п",percnt:"%",period:".",permil:"‰",perp:"⊥",pertenk:"‱",Pfr:"𝔓",pfr:"𝔭",Phi:"Φ",phi:"φ",phiv:"ϕ",phmmat:"ℳ",phone:"☎",Pi:"Π",pi:"π",pitchfork:"⋔",piv:"ϖ",planck:"ℏ",planckh:"ℎ",plankv:"ℏ",plusacir:"⨣",plusb:"⊞",pluscir:"⨢",plus:"+",plusdo:"∔",plusdu:"⨥",pluse:"⩲",PlusMinus:"±",plusmn:"±",plussim:"⨦",plustwo:"⨧",pm:"±",Poincareplane:"ℌ",pointint:"⨕",popf:"𝕡",Popf:"ℙ",pound:"£",prap:"⪷",Pr:"⪻",pr:"≺",prcue:"≼",precapprox:"⪷",prec:"≺",preccurlyeq:"≼",Precedes:"≺",PrecedesEqual:"⪯",PrecedesSlantEqual:"≼",PrecedesTilde:"≾",preceq:"⪯",precnapprox:"⪹",precneqq:"⪵",precnsim:"⋨",pre:"⪯",prE:"⪳",precsim:"≾",prime:"′",Prime:"″",primes:"ℙ",prnap:"⪹",prnE:"⪵",prnsim:"⋨",prod:"∏",Product:"∏",profalar:"⌮",profline:"⌒",profsurf:"⌓",prop:"∝",Proportional:"∝",Proportion:"∷",propto:"∝",prsim:"≾",prurel:"⊰",Pscr:"𝒫",pscr:"𝓅",Psi:"Ψ",psi:"ψ",puncsp:" ",Qfr:"𝔔",qfr:"𝔮",qint:"⨌",qopf:"𝕢",Qopf:"ℚ",qprime:"⁗",Qscr:"𝒬",qscr:"𝓆",quaternions:"ℍ",quatint:"⨖",quest:"?",questeq:"≟",quot:'"',QUOT:'"',rAarr:"⇛",race:"∽̱",Racute:"Ŕ",racute:"ŕ",radic:"√",raemptyv:"⦳",rang:"⟩",Rang:"⟫",rangd:"⦒",range:"⦥",rangle:"⟩",raquo:"»",rarrap:"⥵",rarrb:"⇥",rarrbfs:"⤠",rarrc:"⤳",rarr:"→",Rarr:"↠",rArr:"⇒",rarrfs:"⤞",rarrhk:"↪",rarrlp:"↬",rarrpl:"⥅",rarrsim:"⥴",Rarrtl:"⤖",rarrtl:"↣",rarrw:"↝",ratail:"⤚",rAtail:"⤜",ratio:"∶",rationals:"ℚ",rbarr:"⤍",rBarr:"⤏",RBarr:"⤐",rbbrk:"❳",rbrace:"}",rbrack:"]",rbrke:"⦌",rbrksld:"⦎",rbrkslu:"⦐",Rcaron:"Ř",rcaron:"ř",Rcedil:"Ŗ",rcedil:"ŗ",rceil:"⌉",rcub:"}",Rcy:"Р",rcy:"р",rdca:"⤷",rdldhar:"⥩",rdquo:"”",rdquor:"”",rdsh:"↳",real:"ℜ",realine:"ℛ",realpart:"ℜ",reals:"ℝ",Re:"ℜ",rect:"▭",reg:"®",REG:"®",ReverseElement:"∋",ReverseEquilibrium:"⇋",ReverseUpEquilibrium:"⥯",rfisht:"⥽",rfloor:"⌋",rfr:"𝔯",Rfr:"ℜ",rHar:"⥤",rhard:"⇁",rharu:"⇀",rharul:"⥬",Rho:"Ρ",rho:"ρ",rhov:"ϱ",RightAngleBracket:"⟩",RightArrowBar:"⇥",rightarrow:"→",RightArrow:"→",Rightarrow:"⇒",RightArrowLeftArrow:"⇄",rightarrowtail:"↣",RightCeiling:"⌉",RightDoubleBracket:"⟧",RightDownTeeVector:"⥝",RightDownVectorBar:"⥕",RightDownVector:"⇂",RightFloor:"⌋",rightharpoondown:"⇁",rightharpoonup:"⇀",rightleftarrows:"⇄",rightleftharpoons:"⇌",rightrightarrows:"⇉",rightsquigarrow:"↝",RightTeeArrow:"↦",RightTee:"⊢",RightTeeVector:"⥛",rightthreetimes:"⋌",RightTriangleBar:"⧐",RightTriangle:"⊳",RightTriangleEqual:"⊵",RightUpDownVector:"⥏",RightUpTeeVector:"⥜",RightUpVectorBar:"⥔",RightUpVector:"↾",RightVectorBar:"⥓",RightVector:"⇀",ring:"˚",risingdotseq:"≓",rlarr:"⇄",rlhar:"⇌",rlm:"",rmoustache:"⎱",rmoust:"⎱",rnmid:"⫮",roang:"⟭",roarr:"⇾",robrk:"⟧",ropar:"⦆",ropf:"𝕣",Ropf:"ℝ",roplus:"⨮",rotimes:"⨵",RoundImplies:"⥰",rpar:")",rpargt:"⦔",rppolint:"⨒",rrarr:"⇉",Rrightarrow:"⇛",rsaquo:"›",rscr:"𝓇",Rscr:"ℛ",rsh:"↱",Rsh:"↱",rsqb:"]",rsquo:"’",rsquor:"’",rthree:"⋌",rtimes:"⋊",rtri:"▹",rtrie:"⊵",rtrif:"▸",rtriltri:"⧎",RuleDelayed:"⧴",ruluhar:"⥨",rx:"℞",Sacute:"Ś",sacute:"ś",sbquo:"‚",scap:"⪸",Scaron:"Š",scaron:"š",Sc:"⪼",sc:"≻",sccue:"≽",sce:"⪰",scE:"⪴",Scedil:"Ş",scedil:"ş",Scirc:"Ŝ",scirc:"ŝ",scnap:"⪺",scnE:"⪶",scnsim:"⋩",scpolint:"⨓",scsim:"≿",Scy:"С",scy:"с",sdotb:"⊡",sdot:"⋅",sdote:"⩦",searhk:"⤥",searr:"↘",seArr:"⇘",searrow:"↘",sect:"§",semi:";",seswar:"⤩",setminus:"∖",setmn:"∖",sext:"✶",Sfr:"𝔖",sfr:"𝔰",sfrown:"⌢",sharp:"♯",SHCHcy:"Щ",shchcy:"щ",SHcy:"Ш",shcy:"ш",ShortDownArrow:"↓",ShortLeftArrow:"←",shortmid:"∣",shortparallel:"∥",ShortRightArrow:"→",ShortUpArrow:"↑",shy:"",Sigma:"Σ",sigma:"σ",sigmaf:"ς",sigmav:"ς",sim:"∼",simdot:"⩪",sime:"≃",simeq:"≃",simg:"⪞",simgE:"⪠",siml:"⪝",simlE:"⪟",simne:"≆",simplus:"⨤",simrarr:"⥲",slarr:"←",SmallCircle:"∘",smallsetminus:"∖",smashp:"⨳",smeparsl:"⧤",smid:"∣",smile:"⌣",smt:"⪪",smte:"⪬",smtes:"⪬︀",SOFTcy:"Ь",softcy:"ь",solbar:"⌿",solb:"⧄",sol:"/",Sopf:"𝕊",sopf:"𝕤",spades:"♠",spadesuit:"♠",spar:"∥",sqcap:"⊓",sqcaps:"⊓︀",sqcup:"⊔",sqcups:"⊔︀",Sqrt:"√",sqsub:"⊏",sqsube:"⊑",sqsubset:"⊏",sqsubseteq:"⊑",sqsup:"⊐",sqsupe:"⊒",sqsupset:"⊐",sqsupseteq:"⊒",square:"□",Square:"□",SquareIntersection:"⊓",SquareSubset:"⊏",SquareSubsetEqual:"⊑",SquareSuperset:"⊐",SquareSupersetEqual:"⊒",SquareUnion:"⊔",squarf:"▪",squ:"□",squf:"▪",srarr:"→",Sscr:"𝒮",sscr:"𝓈",ssetmn:"∖",ssmile:"⌣",sstarf:"⋆",Star:"⋆",star:"☆",starf:"★",straightepsilon:"ϵ",straightphi:"ϕ",strns:"¯",sub:"⊂",Sub:"⋐",subdot:"⪽",subE:"⫅",sube:"⊆",subedot:"⫃",submult:"⫁",subnE:"⫋",subne:"⊊",subplus:"⪿",subrarr:"⥹",subset:"⊂",Subset:"⋐",subseteq:"⊆",subseteqq:"⫅",SubsetEqual:"⊆",subsetneq:"⊊",subsetneqq:"⫋",subsim:"⫇",subsub:"⫕",subsup:"⫓",succapprox:"⪸",succ:"≻",succcurlyeq:"≽",Succeeds:"≻",SucceedsEqual:"⪰",SucceedsSlantEqual:"≽",SucceedsTilde:"≿",succeq:"⪰",succnapprox:"⪺",succneqq:"⪶",succnsim:"⋩",succsim:"≿",SuchThat:"∋",sum:"∑",Sum:"∑",sung:"♪",sup1:"¹",sup2:"²",sup3:"³",sup:"⊃",Sup:"⋑",supdot:"⪾",supdsub:"⫘",supE:"⫆",supe:"⊇",supedot:"⫄",Superset:"⊃",SupersetEqual:"⊇",suphsol:"⟉",suphsub:"⫗",suplarr:"⥻",supmult:"⫂",supnE:"⫌",supne:"⊋",supplus:"⫀",supset:"⊃",Supset:"⋑",supseteq:"⊇",supseteqq:"⫆",supsetneq:"⊋",supsetneqq:"⫌",supsim:"⫈",supsub:"⫔",supsup:"⫖",swarhk:"⤦",swarr:"↙",swArr:"⇙",swarrow:"↙",swnwar:"⤪",szlig:"ß",Tab:"\t",target:"⌖",Tau:"Τ",tau:"τ",tbrk:"⎴",Tcaron:"Ť",tcaron:"ť",Tcedil:"Ţ",tcedil:"ţ",Tcy:"Т",tcy:"т",tdot:"⃛",telrec:"⌕",Tfr:"𝔗",tfr:"𝔱",there4:"∴",therefore:"∴",Therefore:"∴",Theta:"Θ",theta:"θ",thetasym:"ϑ",thetav:"ϑ",thickapprox:"≈",thicksim:"∼",ThickSpace:" ",ThinSpace:" ",thinsp:" ",thkap:"≈",thksim:"∼",THORN:"Þ",thorn:"þ",tilde:"˜",Tilde:"∼",TildeEqual:"≃",TildeFullEqual:"≅",TildeTilde:"≈",timesbar:"⨱",timesb:"⊠",times:"×",timesd:"⨰",tint:"∭",toea:"⤨",topbot:"⌶",topcir:"⫱",top:"⊤",Topf:"𝕋",topf:"𝕥",topfork:"⫚",tosa:"⤩",tprime:"‴",trade:"™",TRADE:"™",triangle:"▵",triangledown:"▿",triangleleft:"◃",trianglelefteq:"⊴",triangleq:"≜",triangleright:"▹",trianglerighteq:"⊵",tridot:"◬",trie:"≜",triminus:"⨺",TripleDot:"⃛",triplus:"⨹",trisb:"⧍",tritime:"⨻",trpezium:"⏢",Tscr:"𝒯",tscr:"𝓉",TScy:"Ц",tscy:"ц",TSHcy:"Ћ",tshcy:"ћ",Tstrok:"Ŧ",tstrok:"ŧ",twixt:"≬",twoheadleftarrow:"↞",twoheadrightarrow:"↠",Uacute:"Ú",uacute:"ú",uarr:"↑",Uarr:"↟",uArr:"⇑",Uarrocir:"⥉",Ubrcy:"Ў",ubrcy:"ў",Ubreve:"Ŭ",ubreve:"ŭ",Ucirc:"Û",ucirc:"û",Ucy:"У",ucy:"у",udarr:"⇅",Udblac:"Ű",udblac:"ű",udhar:"⥮",ufisht:"⥾",Ufr:"𝔘",ufr:"𝔲",Ugrave:"Ù",ugrave:"ù",uHar:"⥣",uharl:"↿",uharr:"↾",uhblk:"▀",ulcorn:"⌜",ulcorner:"⌜",ulcrop:"⌏",ultri:"◸",Umacr:"Ū",umacr:"ū",uml:"¨",UnderBar:"_",UnderBrace:"⏟",UnderBracket:"⎵",UnderParenthesis:"⏝",Union:"⋃",UnionPlus:"⊎",Uogon:"Ų",uogon:"ų",Uopf:"𝕌",uopf:"𝕦",UpArrowBar:"⤒",uparrow:"↑",UpArrow:"↑",Uparrow:"⇑",UpArrowDownArrow:"⇅",updownarrow:"↕",UpDownArrow:"↕",Updownarrow:"⇕",UpEquilibrium:"⥮",upharpoonleft:"↿",upharpoonright:"↾",uplus:"⊎",UpperLeftArrow:"↖",UpperRightArrow:"↗",upsi:"υ",Upsi:"ϒ",upsih:"ϒ",Upsilon:"Υ",upsilon:"υ",UpTeeArrow:"↥",UpTee:"⊥",upuparrows:"⇈",urcorn:"⌝",urcorner:"⌝",urcrop:"⌎",Uring:"Ů",uring:"ů",urtri:"◹",Uscr:"𝒰",uscr:"𝓊",utdot:"⋰",Utilde:"Ũ",utilde:"ũ",utri:"▵",utrif:"▴",uuarr:"⇈",Uuml:"Ü",uuml:"ü",uwangle:"⦧",vangrt:"⦜",varepsilon:"ϵ",varkappa:"ϰ",varnothing:"∅",varphi:"ϕ",varpi:"ϖ",varpropto:"∝",varr:"↕",vArr:"⇕",varrho:"ϱ",varsigma:"ς",varsubsetneq:"⊊︀",varsubsetneqq:"⫋︀",varsupsetneq:"⊋︀",varsupsetneqq:"⫌︀",vartheta:"ϑ",vartriangleleft:"⊲",vartriangleright:"⊳",vBar:"⫨",Vbar:"⫫",vBarv:"⫩",Vcy:"В",vcy:"в",vdash:"⊢",vDash:"⊨",Vdash:"⊩",VDash:"⊫",Vdashl:"⫦",veebar:"⊻",vee:"∨",Vee:"⋁",veeeq:"≚",vellip:"⋮",verbar:"|",Verbar:"‖",vert:"|",Vert:"‖",VerticalBar:"∣",VerticalLine:"|",VerticalSeparator:"❘",VerticalTilde:"≀",VeryThinSpace:" ",Vfr:"𝔙",vfr:"𝔳",vltri:"⊲",vnsub:"⊂⃒",vnsup:"⊃⃒",Vopf:"𝕍",vopf:"𝕧",vprop:"∝",vrtri:"⊳",Vscr:"𝒱",vscr:"𝓋",vsubnE:"⫋︀",vsubne:"⊊︀",vsupnE:"⫌︀",vsupne:"⊋︀",Vvdash:"⊪",vzigzag:"⦚",Wcirc:"Ŵ",wcirc:"ŵ",wedbar:"⩟",wedge:"∧",Wedge:"⋀",wedgeq:"≙",weierp:"℘",Wfr:"𝔚",wfr:"𝔴",Wopf:"𝕎",wopf:"𝕨",wp:"℘",wr:"≀",wreath:"≀",Wscr:"𝒲",wscr:"𝓌",xcap:"⋂",xcirc:"◯",xcup:"⋃",xdtri:"▽",Xfr:"𝔛",xfr:"𝔵",xharr:"⟷",xhArr:"⟺",Xi:"Ξ",xi:"ξ",xlarr:"⟵",xlArr:"⟸",xmap:"⟼",xnis:"⋻",xodot:"⨀",Xopf:"𝕏",xopf:"𝕩",xoplus:"⨁",xotime:"⨂",xrarr:"⟶",xrArr:"⟹",Xscr:"𝒳",xscr:"𝓍",xsqcup:"⨆",xuplus:"⨄",xutri:"△",xvee:"⋁",xwedge:"⋀",Yacute:"Ý",yacute:"ý",YAcy:"Я",yacy:"я",Ycirc:"Ŷ",ycirc:"ŷ",Ycy:"Ы",ycy:"ы",yen:"¥",Yfr:"𝔜",yfr:"𝔶",YIcy:"Ї",yicy:"ї",Yopf:"𝕐",yopf:"𝕪",Yscr:"𝒴",yscr:"𝓎",YUcy:"Ю",yucy:"ю",yuml:"ÿ",Yuml:"Ÿ",Zacute:"Ź",zacute:"ź",Zcaron:"Ž",zcaron:"ž",Zcy:"З",zcy:"з",Zdot:"Ż",zdot:"ż",zeetrf:"ℨ",ZeroWidthSpace:"",Zeta:"Ζ",zeta:"ζ",zfr:"𝔷",Zfr:"ℨ",ZHcy:"Ж",zhcy:"ж",zigrarr:"⇝",zopf:"𝕫",Zopf:"ℤ",Zscr:"𝒵",zscr:"𝓏",zwj:"",zwnj:""},KA={Aacute:"Á",aacute:"á",Acirc:"Â",acirc:"â",acute:"´",AElig:"Æ",aelig:"æ",Agrave:"À",agrave:"à",amp:"&",AMP:"&",Aring:"Å",aring:"å",Atilde:"Ã",atilde:"ã",Auml:"Ä",auml:"ä",brvbar:"¦",Ccedil:"Ç",ccedil:"ç",cedil:"¸",cent:"¢",copy:"©",COPY:"©",curren:"¤",deg:"°",divide:"÷",Eacute:"É",eacute:"é",Ecirc:"Ê",ecirc:"ê",Egrave:"È",egrave:"è",ETH:"Ð",eth:"ð",Euml:"Ë",euml:"ë",frac12:"½",frac14:"¼",frac34:"¾",gt:">",GT:">",Iacute:"Í",iacute:"í",Icirc:"Î",icirc:"î",iexcl:"¡",Igrave:"Ì",igrave:"ì",iquest:"¿",Iuml:"Ï",iuml:"ï",laquo:"«",lt:"<",LT:"<",macr:"¯",micro:"µ",middot:"·",nbsp:" ",not:"¬",Ntilde:"Ñ",ntilde:"ñ",Oacute:"Ó",oacute:"ó",Ocirc:"Ô",ocirc:"ô",Ograve:"Ò",ograve:"ò",ordf:"ª",ordm:"º",Oslash:"Ø",oslash:"ø",Otilde:"Õ",otilde:"õ",Ouml:"Ö",ouml:"ö",para:"¶",plusmn:"±",pound:"£",quot:'"',QUOT:'"',raquo:"»",reg:"®",REG:"®",sect:"§",shy:"",sup1:"¹",sup2:"²",sup3:"³",szlig:"ß",THORN:"Þ",thorn:"þ",times:"×",Uacute:"Ú",uacute:"ú",Ucirc:"Û",ucirc:"û",Ugrave:"Ù",ugrave:"ù",uml:"¨",Uuml:"Ü",uuml:"ü",Yacute:"Ý",yacute:"ý",yen:"¥",yuml:"ÿ"},YA={amp:"&",apos:"'",gt:">",lt:"<",quot:'"'},XA={},JA=zA&&zA.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(XA,"__esModule",{value:!0});var QA=JA({0:65533,128:8364,130:8218,131:402,132:8222,133:8230,134:8224,135:8225,136:710,137:8240,138:352,139:8249,140:338,142:381,145:8216,146:8217,147:8220,148:8221,149:8226,150:8211,151:8212,152:732,153:8482,154:353,155:8250,156:339,158:382,159:376}),eD=String.fromCodePoint||function(e){var t="";return e>65535&&(e-=65536,t+=String.fromCharCode(e>>>10&1023|55296),e=56320|1023&e),t+=String.fromCharCode(e)};XA.default=function(e){return e>=55296&&e<=57343||e>1114111?"�":(e in QA.default&&(e=QA.default[e]),eD(e))};var tD=zA&&zA.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(qA,"__esModule",{value:!0}),qA.decodeHTML=qA.decodeHTMLStrict=qA.decodeXML=void 0;var nD=tD(GA),rD=tD(KA),oD=tD(YA),iD=tD(XA),aD=/&(?:[a-zA-Z0-9]+|#[xX][\da-fA-F]+|#\d+);/g;function sD(e){var t=cD(e);return function(e){return String(e).replace(aD,t)}}qA.decodeXML=sD(oD.default),qA.decodeHTMLStrict=sD(nD.default);var lD=function(e,t){return e<t?1:-1};function cD(e){return function(t){if("#"===t.charAt(1)){var n=t.charAt(2);return"X"===n||"x"===n?iD.default(parseInt(t.substr(3),16)):iD.default(parseInt(t.substr(2),10))}return e[t.slice(1,-1)]||t}}qA.decodeHTML=function(){for(var e=Object.keys(rD.default).sort(lD),t=Object.keys(nD.default).sort(lD),n=0,r=0;n<t.length;n++)e[r]===t[n]?(t[n]+=";?",r++):t[n]+=";";var o=new RegExp("&(?:"+t.join("|")+"|#[xX][\\da-fA-F]+;?|#\\d+;?)","g"),i=cD(nD.default);function a(e){return";"!==e.substr(-1)&&(e+=";"),i(e)}return function(e){return String(e).replace(o,a)}}();var uD={},dD=zA&&zA.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(uD,"__esModule",{value:!0}),uD.escapeUTF8=uD.escape=uD.encodeNonAsciiHTML=uD.encodeHTML=uD.encodeXML=void 0;var pD=vD(dD(YA).default),fD=gD(pD);uD.encodeXML=kD(pD);var hD=vD(dD(GA).default),mD=gD(hD);function vD(e){return Object.keys(e).sort().reduce((function(t,n){return t[e[n]]="&"+n+";",t}),{})}function gD(e){for(var t=[],n=[],r=0,o=Object.keys(e);r<o.length;r++){var i=o[r];1===i.length?t.push("\\"+i):n.push(i)}t.sort();for(var a=0;a<t.length-1;a++){for(var s=a;s<t.length-1&&t[s].charCodeAt(1)+1===t[s+1].charCodeAt(1);)s+=1;var l=1+s-a;l<3||t.splice(a,l,t[a]+"-"+t[s])}return n.unshift("["+t.join("")+"]"),new RegExp(n.join("|"),"g")}uD.encodeHTML=function(e,t){return function(n){return n.replace(t,(function(t){return e[t]})).replace(yD,wD)}}(hD,mD),uD.encodeNonAsciiHTML=kD(hD);var yD=/(?:[\x80-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF])/g,bD=null!=String.prototype.codePointAt?function(e){return e.codePointAt(0)}:function(e){return 1024*(e.charCodeAt(0)-55296)+e.charCodeAt(1)-56320+65536};function wD(e){return"&#x"+(e.length>1?bD(e):e.charCodeAt(0)).toString(16).toUpperCase()+";"}var xD=new RegExp(fD.source+"|"+yD.source,"g");function kD(e){return function(t){return t.replace(xD,(function(t){return e[t]||wD(t)}))}}uD.escape=function(e){return e.replace(xD,wD)},uD.escapeUTF8=function(e){return e.replace(fD,wD)},function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.decodeXMLStrict=e.decodeHTML5Strict=e.decodeHTML4Strict=e.decodeHTML5=e.decodeHTML4=e.decodeHTMLStrict=e.decodeHTML=e.decodeXML=e.encodeHTML5=e.encodeHTML4=e.escapeUTF8=e.escape=e.encodeNonAsciiHTML=e.encodeHTML=e.encodeXML=e.encode=e.decodeStrict=e.decode=void 0;var t=qA,n=uD;e.decode=function(e,n){return(!n||n<=0?t.decodeXML:t.decodeHTML)(e)},e.decodeStrict=function(e,n){return(!n||n<=0?t.decodeXML:t.decodeHTMLStrict)(e)},e.encode=function(e,t){return(!t||t<=0?n.encodeXML:n.encodeHTML)(e)};var r=uD;Object.defineProperty(e,"encodeXML",{enumerable:!0,get:function(){return r.encodeXML}}),Object.defineProperty(e,"encodeHTML",{enumerable:!0,get:function(){return r.encodeHTML}}),Object.defineProperty(e,"encodeNonAsciiHTML",{enumerable:!0,get:function(){return r.encodeNonAsciiHTML}}),Object.defineProperty(e,"escape",{enumerable:!0,get:function(){return r.escape}}),Object.defineProperty(e,"escapeUTF8",{enumerable:!0,get:function(){return r.escapeUTF8}}),Object.defineProperty(e,"encodeHTML4",{enumerable:!0,get:function(){return r.encodeHTML}}),Object.defineProperty(e,"encodeHTML5",{enumerable:!0,get:function(){return r.encodeHTML}});var o=qA;Object.defineProperty(e,"decodeXML",{enumerable:!0,get:function(){return o.decodeXML}}),Object.defineProperty(e,"decodeHTML",{enumerable:!0,get:function(){return o.decodeHTML}}),Object.defineProperty(e,"decodeHTMLStrict",{enumerable:!0,get:function(){return o.decodeHTMLStrict}}),Object.defineProperty(e,"decodeHTML4",{enumerable:!0,get:function(){return o.decodeHTML}}),Object.defineProperty(e,"decodeHTML5",{enumerable:!0,get:function(){return o.decodeHTML}}),Object.defineProperty(e,"decodeHTML4Strict",{enumerable:!0,get:function(){return o.decodeHTMLStrict}}),Object.defineProperty(e,"decodeHTML5Strict",{enumerable:!0,get:function(){return o.decodeHTMLStrict}}),Object.defineProperty(e,"decodeXMLStrict",{enumerable:!0,get:function(){return o.decodeXML}})}(VA);var SD="&(?:#x[a-f0-9]{1,6}|#[0-9]{1,7}|[a-z][a-z0-9]{1,31});",CD=/[\\&]/,ED="[!\"#$%&'()*+,./:;<=>?@[\\\\\\]^_`{|}~-]",TD=new RegExp("\\\\"+ED+"|"+SD,"gi"),OD=new RegExp('[&<>"]',"g"),$D=function(e){return 92===e.charCodeAt(0)?e.charAt(1):VA.decodeHTML(e)};function MD(e){return CD.test(e)?e.replace(TD,$D):e}function AD(e){try{return WA(e)}catch(t){return e}}function DD(e){switch(e){case"&":return"&";case"<":return"<";case">":return">";case'"':return""";default:return e}}function LD(e){return OD.test(e)?e.replace(OD,DD):e}function ND(e,t){for(var n=[],r=0;r<t;r++)n.push(e);return n.join("")}function RD(e){return!e||!/[^ \t]+/.test(e)}var ID=function(){function e(e){this.current=e,this.root=e,this.entering=!0}return e.prototype.next=function(){var e=this.current,t=this.entering;if(null===e)return null;var n=PD(e);return t&&n?e.firstChild?(this.current=e.firstChild,this.entering=!0):this.entering=!1:e===this.root?this.current=null:null===e.next?(this.current=e.parent,this.entering=!1):(this.current=e.next,this.entering=!0),{entering:t,node:e}},e.prototype.resumeAt=function(e,t){this.current=e,this.entering=!0===t},e}();function PD(e){switch(e.type){case"document":case"blockQuote":case"list":case"item":case"paragraph":case"heading":case"emph":case"strong":case"strike":case"link":case"image":case"table":case"tableHead":case"tableBody":case"tableRow":case"tableCell":case"tableDelimRow":case"customInline":return!0;default:return!1}}var ZD=1,_D={};function FD(e){delete _D[e]}var jD=function(){function e(e,t){this.parent=null,this.prev=null,this.next=null,this.firstChild=null,this.lastChild=null,this.literal=null,this.id="document"===e?-1:ZD++,this.type=e,this.sourcepos=t,_D[this.id]=this}return e.prototype.isContainer=function(){return PD(this)},e.prototype.unlink=function(){this.prev?this.prev.next=this.next:this.parent&&(this.parent.firstChild=this.next),this.next?this.next.prev=this.prev:this.parent&&(this.parent.lastChild=this.prev),this.parent=null,this.next=null,this.prev=null},e.prototype.replaceWith=function(e){this.insertBefore(e),this.unlink()},e.prototype.insertAfter=function(e){e.unlink(),e.next=this.next,e.next&&(e.next.prev=e),e.prev=this,this.next=e,this.parent&&(e.parent=this.parent,e.next||(e.parent.lastChild=e))},e.prototype.insertBefore=function(e){e.unlink(),e.prev=this.prev,e.prev&&(e.prev.next=e),e.next=this,this.prev=e,e.parent=this.parent,e.prev||(e.parent.firstChild=e)},e.prototype.appendChild=function(e){e.unlink(),e.parent=this,this.lastChild?(this.lastChild.next=e,e.prev=this.lastChild,this.lastChild=e):(this.firstChild=e,this.lastChild=e)},e.prototype.prependChild=function(e){e.unlink(),e.parent=this,this.firstChild?(this.firstChild.prev=e,e.next=this.firstChild,this.firstChild=e):(this.firstChild=e,this.lastChild=e)},e.prototype.walker=function(){return new ID(this)},e}(),BD=function(e){function t(t,n){var r=e.call(this,t,n)||this;return r.open=!0,r.lineOffsets=null,r.stringContent=null,r.lastLineBlank=!1,r.lastLineChecked=!1,r.type=t,r}return FA(t,e),t}(jD),zD=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.listData=null,t}return FA(t,e),t}(BD),HD=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.level=0,t.headingType="atx",t}return FA(t,e),t}(BD),UD=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.isFenced=!1,t.fenceChar=null,t.fenceLength=0,t.fenceOffset=-1,t.info=null,t.infoPadding=0,t}return FA(t,e),t}(BD),WD=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.columns=[],t}return FA(t,e),t}(BD),VD=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.startIdx=0,t.endIdx=0,t.paddingLeft=0,t.paddingRight=0,t.ignored=!1,t}return FA(t,e),t}(BD),qD=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.title="",t.dest="",t.label="",t}return FA(t,e),t}(BD),GD=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.syntaxLength=0,t.offset=-1,t.info="",t}return FA(t,e),t}(BD),KD=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.htmlBlockType=-1,t}return FA(t,e),t}(BD),YD=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.destination=null,t.title=null,t.extendedAutolink=!1,t}return FA(t,e),t}(jD),XD=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.tickCount=0,t}return FA(t,e),t}(jD),JD=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.info="",t}return FA(t,e),t}(jD);function QD(e,t){switch(e){case"heading":return new HD(e,t);case"list":case"item":return new zD(e,t);case"link":case"image":return new YD(e,t);case"codeBlock":return new UD(e,t);case"htmlBlock":return new KD(e,t);case"table":return new WD(e,t);case"tableCell":return new VD(e,t);case"document":case"paragraph":case"blockQuote":case"thematicBreak":case"tableRow":case"tableBody":case"tableHead":case"frontMatter":return new BD(e,t);case"code":return new XD(e,t);case"refDef":return new qD(e,t);case"customBlock":return new GD(e,t);case"customInline":return new JD(e,t);default:return new jD(e,t)}}function eL(e){return"codeBlock"===e.type}function tL(e){return"list"===e.type}function nL(e){return"refDef"===e.type}function rL(e){return"customBlock"===e.type}function oL(e,t){var n=QD("text",t);return n.literal=e,n}var iL,aL="[A-Za-z][A-Za-z0-9-]*",sL="<"+aL+"(?:\\s+[a-zA-Z_:][a-zA-Z0-9:._-]*(?:\\s*=\\s*(?:[^\"'=<>`\\x00-\\x20]+|'[^']*'|\"[^\"]*\"))?)*\\s*/?>",lL="</"+aL+"\\s*[>]",cL=new RegExp("^"+("(?:"+sL+"|"+lL+"|\x3c!----\x3e|\x3c!--(?:-?[^>-])(?:-?[^-])*--\x3e|[<][?].*?[?][>]|<![A-Z]+\\s+[^>]*>|<!\\[CDATA\\[[\\s\\S]*?\\]\\]>)"),"i");if(String.fromCodePoint)iL=function(e){try{return String.fromCodePoint(e)}catch(Yr){if(Yr instanceof RangeError)return String.fromCharCode(65533);throw Yr}};else{var uL=String.fromCharCode,dL=Math.floor;iL=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var n,r,o=[],i=-1,a=e.length;if(!a)return"";for(var s="";++i<a;){var l=Number(e[i]);if(!isFinite(l)||l<0||l>1114111||dL(l)!==l)return String.fromCharCode(65533);l<=65535?o.push(l):(n=55296+((l-=65536)>>10),r=l%1024+56320,o.push(n,r)),(i+1===a||o.length>16384)&&(s+=uL.apply(void 0,o),o.length=0)}return s}}var pL=iL,fL="(?:[w-]+.)*[A-Za-z0-9-]+.[A-Za-z0-9-]+",hL="[^<\\s]*[^<?!.,:*_?~\\s]",mL="[\\w.+-]+@(?:[\\w-]+\\.)+[\\w-]+";function vL(e){var t=/\)+$/.exec(e);if(t){for(var n=0,r=0,o=e;r<o.length;r++){var i=o[r];"("===i?n<0?n=1:n+=1:")"===i&&(n-=1)}if(n<0){var a=Math.min(-n,t[0].length);return e.substring(0,e.length-a)}}return e}function gL(e){return e.replace(/&[A-Za-z0-9]+;$/,"")}function yL(e){return BA(BA([],function(e){for(var t,n=new RegExp("(www|https?://)."+fL+hL,"g"),r=[];t=n.exec(e);){var o=gL(vL(t[0])),i="www"===t[1]?"http://":"";r.push({text:o,range:[t.index,t.index+o.length-1],url:""+i+o})}return r}(e)),function(e){for(var t,n=new RegExp(mL,"g"),r=[];t=n.exec(e);){var o=t[0];/[_-]+$/.test(o)||r.push({text:o,range:[t.index,t.index+o.length-1],url:"mailto:"+o})}return r}(e)).sort((function(e,t){return e.range[0]-t.range[0]}))}function bL(e){return e[e.length-1]}function wL(e){return e.slice(1,e.length-1).trim().replace(/[ \t\r\n]+/," ").toLowerCase().toUpperCase()}function xL(e,t){Object.keys(e).forEach((function(n){t(n,e[n])}))}function kL(e){return!Object.keys(e).length}var SL=126,CL=39,EL=34,TL=36,OL="\\\\"+ED,$L=new RegExp(/[!"#$%&'()*+,\-./:;<=>?@\[\]\\^_`{|}~\xA1\xA7\xAB\xB6\xB7\xBB\xBF\u037E\u0387\u055A-\u055F\u0589\u058A\u05BE\u05C0\u05C3\u05C6\u05F3\u05F4\u0609\u060A\u060C\u060D\u061B\u061E\u061F\u066A-\u066D\u06D4\u0700-\u070D\u07F7-\u07F9\u0830-\u083E\u085E\u0964\u0965\u0970\u0AF0\u0DF4\u0E4F\u0E5A\u0E5B\u0F04-\u0F12\u0F14\u0F3A-\u0F3D\u0F85\u0FD0-\u0FD4\u0FD9\u0FDA\u104A-\u104F\u10FB\u1360-\u1368\u1400\u166D\u166E\u169B\u169C\u16EB-\u16ED\u1735\u1736\u17D4-\u17D6\u17D8-\u17DA\u1800-\u180A\u1944\u1945\u1A1E\u1A1F\u1AA0-\u1AA6\u1AA8-\u1AAD\u1B5A-\u1B60\u1BFC-\u1BFF\u1C3B-\u1C3F\u1C7E\u1C7F\u1CC0-\u1CC7\u1CD3\u2010-\u2027\u2030-\u2043\u2045-\u2051\u2053-\u205E\u207D\u207E\u208D\u208E\u2308-\u230B\u2329\u232A\u2768-\u2775\u27C5\u27C6\u27E6-\u27EF\u2983-\u2998\u29D8-\u29DB\u29FC\u29FD\u2CF9-\u2CFC\u2CFE\u2CFF\u2D70\u2E00-\u2E2E\u2E30-\u2E42\u3001-\u3003\u3008-\u3011\u3014-\u301F\u3030\u303D\u30A0\u30FB\uA4FE\uA4FF\uA60D-\uA60F\uA673\uA67E\uA6F2-\uA6F7\uA874-\uA877\uA8CE\uA8CF\uA8F8-\uA8FA\uA8FC\uA92E\uA92F\uA95F\uA9C1-\uA9CD\uA9DE\uA9DF\uAA5C-\uAA5F\uAADE\uAADF\uAAF0\uAAF1\uABEB\uFD3E\uFD3F\uFE10-\uFE19\uFE30-\uFE52\uFE54-\uFE61\uFE63\uFE68\uFE6A\uFE6B\uFF01-\uFF03\uFF05-\uFF0A\uFF0C-\uFF0F\uFF1A\uFF1B\uFF1F\uFF20\uFF3B-\uFF3D\uFF3F\uFF5B\uFF5D\uFF5F-\uFF65]|\uD800[\uDD00-\uDD02\uDF9F\uDFD0]|\uD801\uDD6F|\uD802[\uDC57\uDD1F\uDD3F\uDE50-\uDE58\uDE7F\uDEF0-\uDEF6\uDF39-\uDF3F\uDF99-\uDF9C]|\uD804[\uDC47-\uDC4D\uDCBB\uDCBC\uDCBE-\uDCC1\uDD40-\uDD43\uDD74\uDD75\uDDC5-\uDDC9\uDDCD\uDDDB\uDDDD-\uDDDF\uDE38-\uDE3D\uDEA9]|\uD805[\uDCC6\uDDC1-\uDDD7\uDE41-\uDE43\uDF3C-\uDF3E]|\uD809[\uDC70-\uDC74]|\uD81A[\uDE6E\uDE6F\uDEF5\uDF37-\uDF3B\uDF44]|\uD82F\uDC9F|\uD836[\uDE87-\uDE8B]/),ML=new RegExp('^(?:"('+OL+'|[^"\\x00])*"|\'('+OL+"|[^'\\x00])*'|\\(("+OL+"|[^()\\x00])*\\))"),AL=/^(?:<(?:[^<>\n\\\x00]|\\.)*>)/,DL=new RegExp("^"+ED),LL=new RegExp("^"+SD,"i"),NL=/`+/,RL=/^`+/,IL=/\.\.\./g,PL=/--+/g,ZL=/^<([a-zA-Z0-9.!#$%&'*+\/=?^_`{|}~-]+@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*)>/,_L=/^<[A-Za-z][A-Za-z0-9.+-]{1,31}:[^<>\x00-\x20]*>/i,FL=/^ *(?:\n *)?/,jL=/^[ \t\n\x0b\x0c\x0d]/,BL=/^\s/,zL=/ *$/,HL=/^ */,UL=/^ *(?:\n|$)/,WL=/^\[(?:[^\\\[\]]|\\.){0,1000}\]/,VL=/^[^\n`\[\]\\!<&*_'"~$]+/m,qL=function(){function e(e){this.subject="",this.delimiters=null,this.brackets=null,this.pos=0,this.lineStartNum=0,this.lineIdx=0,this.lineOffsets=[0],this.linePosOffset=0,this.refMap={},this.refLinkCandidateMap={},this.refDefCandidateMap={},this.options=e}return e.prototype.sourcepos=function(e,t){var n=this.linePosOffset+this.lineOffsets[this.lineIdx],r=this.lineStartNum+this.lineIdx,o=[r,e+n];return"number"==typeof t?[o,[r,t+n]]:o},e.prototype.nextLine=function(){this.lineIdx+=1,this.linePosOffset=-this.pos},e.prototype.match=function(e){var t=e.exec(this.subject.slice(this.pos));return null===t?null:(this.pos+=t.index+t[0].length,t[0])},e.prototype.peek=function(){return this.pos<this.subject.length?this.subject.charCodeAt(this.pos):-1},e.prototype.spnl=function(){return this.match(FL),!0},e.prototype.parseBackticks=function(e){var t=this.pos+1,n=this.match(RL);if(null===n)return!1;for(var r,o=this.pos;null!==(r=this.match(NL));)if(r===n){var i=this.subject.slice(o,this.pos-n.length),a=this.sourcepos(t,this.pos),s=i.split("\n");if(s.length>1){var l=bL(s);this.lineIdx+=s.length-1,this.linePosOffset=-(this.pos-l.length-n.length),a[1]=this.sourcepos(this.pos),i=s.join(" ")}var c=QD("code",a);return i.length>0&&null!==i.match(/[^ ]/)&&" "==i[0]&&" "==i[i.length-1]?c.literal=i.slice(1,i.length-1):c.literal=i,c.tickCount=n.length,e.appendChild(c),!0}return this.pos=o,e.appendChild(oL(n,this.sourcepos(t,this.pos-1))),!0},e.prototype.parseBackslash=function(e){var t,n=this.subject;this.pos+=1;var r=this.pos;return 10===this.peek()?(this.pos+=1,t=QD("linebreak",this.sourcepos(this.pos-1,this.pos)),e.appendChild(t),this.nextLine()):DL.test(n.charAt(this.pos))?(e.appendChild(oL(n.charAt(this.pos),this.sourcepos(r,this.pos))),this.pos+=1):e.appendChild(oL("\\",this.sourcepos(r,r))),!0},e.prototype.parseAutolink=function(e){var t,n,r,o=this.pos+1;return(t=this.match(ZL))?(n=t.slice(1,t.length-1),(r=QD("link",this.sourcepos(o,this.pos))).destination=AD("mailto:"+n),r.title="",r.appendChild(oL(n,this.sourcepos(o+1,this.pos-1))),e.appendChild(r),!0):!!(t=this.match(_L))&&(n=t.slice(1,t.length-1),(r=QD("link",this.sourcepos(o,this.pos))).destination=AD(n),r.title="",r.appendChild(oL(n,this.sourcepos(o+1,this.pos-1))),e.appendChild(r),!0)},e.prototype.parseHtmlTag=function(e){var t=this.pos+1,n=this.match(cL);if(null===n)return!1;var r=QD("htmlInline",this.sourcepos(t,this.pos));return r.literal=n,e.appendChild(r),!0},e.prototype.scanDelims=function(e){var t=0,n=this.pos;if(e===CL||e===EL)t++,this.pos++;else for(;this.peek()===e;)t++,this.pos++;if(0===t||t<2&&(e===SL||e===TL))return this.pos=n,null;var r,o=0===n?"\n":this.subject.charAt(n-1),i=this.peek();r=-1===i?"\n":pL(i);var a,s,l=BL.test(r),c=$L.test(r),u=BL.test(o),d=$L.test(o),p=!l&&(!c||u||d),f=!u&&(!d||l||c);return 95===e?(a=p&&(!f||d),s=f&&(!p||c)):e===CL||e===EL?(a=p&&!f,s=f):e===TL?(a=!l,s=!u):(a=p,s=f),this.pos=n,{numdelims:t,canOpen:a,canClose:s}},e.prototype.handleDelim=function(e,t){var n=this.scanDelims(e);if(!n)return!1;var r=n.numdelims,o=this.pos+1;this.pos+=r;var i=oL(e===CL?"’":e===EL?"“":this.subject.slice(o-1,this.pos),this.sourcepos(o,this.pos));return t.appendChild(i),(n.canOpen||n.canClose)&&(this.options.smart||e!==CL&&e!==EL)&&(this.delimiters={cc:e,numdelims:r,origdelims:r,node:i,previous:this.delimiters,next:null,canOpen:n.canOpen,canClose:n.canClose},this.delimiters.previous&&(this.delimiters.previous.next=this.delimiters)),!0},e.prototype.removeDelimiter=function(e){null!==e.previous&&(e.previous.next=e.next),null===e.next?this.delimiters=e.previous:e.next.previous=e.previous},e.prototype.removeDelimitersBetween=function(e,t){e.next!==t&&(e.next=t,t.previous=e)},e.prototype.processEmphasis=function(e){var t,n,r,o,i,a,s,l=!1,c=((t={})[95]=[e,e,e],t[42]=[e,e,e],t[39]=[e],t[34]=[e],t[126]=[e],t[36]=[e],t);for(r=this.delimiters;null!==r&&r.previous!==e;)r=r.previous;for(;null!==r;){var u=r.cc,d=95===u||42===u;if(r.canClose){for(n=r.previous,s=!1;null!==n&&n!==e&&n!==c[u][d?r.origdelims%3:0];){if(l=d&&(r.canOpen||n.canClose)&&r.origdelims%3!=0&&(n.origdelims+r.origdelims)%3==0,n.cc===r.cc&&n.canOpen&&!l){s=!0;break}n=n.previous}if(o=r,d||u===SL||u===TL)if(s){if(n){var p=r.numdelims>=2&&n.numdelims>=2?2:1,f=d?0:1;i=n.node,a=r.node;var h=d?1===p?"emph":"strong":"strike";u===TL&&(h="customInline");var m=QD(h),v=i.sourcepos[1],g=a.sourcepos[0];m.sourcepos=[[v[0],v[1]-p+1],[g[0],g[1]+p-1]],i.sourcepos[1][1]-=p,a.sourcepos[0][1]+=p,i.literal=i.literal.slice(p),a.literal=a.literal.slice(p),n.numdelims-=p,r.numdelims-=p;for(var y=i.next,b=void 0;y&&y!==a;)b=y.next,y.unlink(),m.appendChild(y),y=b;if(u===TL){var w=m.firstChild,x=w.literal||"",k=x.split(/\s/)[0];m.info=k,x.length<=k.length?w.unlink():(w.sourcepos[0][1]+=k.length,w.literal=x.replace(k+" ",""))}if(i.insertAfter(m),this.removeDelimitersBetween(n,r),n.numdelims<=f&&(0===n.numdelims&&i.unlink(),this.removeDelimiter(n)),r.numdelims<=f){0===r.numdelims&&a.unlink();var S=r.next;this.removeDelimiter(r),r=S}}}else r=r.next;else u===CL?(r.node.literal="’",s&&(n.node.literal="‘"),r=r.next):u===EL&&(r.node.literal="”",s&&(n.node.literal="“"),r=r.next);s||(c[u][d?o.origdelims%3:0]=o.previous,o.canOpen||this.removeDelimiter(o))}else r=r.next}for(;null!==this.delimiters&&this.delimiters!==e;)this.removeDelimiter(this.delimiters)},e.prototype.parseLinkTitle=function(){var e=this.match(ML);return null===e?null:MD(e.substr(1,e.length-2))},e.prototype.parseLinkDestination=function(){var e=this.match(AL);if(null===e){if(60===this.peek())return null;for(var t=this.pos,n=0,r=void 0;-1!==(r=this.peek());)if(92===r&&DL.test(this.subject.charAt(this.pos+1)))this.pos+=1,-1!==this.peek()&&(this.pos+=1);else if(40===r)this.pos+=1,n+=1;else if(41===r){if(n<1)break;this.pos+=1,n-=1}else{if(null!==jL.exec(pL(r)))break;this.pos+=1}return this.pos===t&&41!==r||0!==n?null:AD(MD(e=this.subject.substr(t,this.pos-t)))}return AD(MD(e.substr(1,e.length-2)))},e.prototype.parseLinkLabel=function(){var e=this.match(WL);return null===e||e.length>1001?0:e.length},e.prototype.parseOpenBracket=function(e){var t=this.pos;this.pos+=1;var n=oL("[",this.sourcepos(this.pos,this.pos));return e.appendChild(n),this.addBracket(n,t,!1),!0},e.prototype.parseBang=function(e){var t=this.pos;if(this.pos+=1,91===this.peek()){this.pos+=1;var n=oL("![",this.sourcepos(this.pos-1,this.pos));e.appendChild(n),this.addBracket(n,t+1,!0)}else{n=oL("!",this.sourcepos(this.pos,this.pos));e.appendChild(n)}return!0},e.prototype.parseCloseBracket=function(e){var t=null,n=null,r=!1;this.pos+=1;var o=this.pos,i=this.brackets;if(null===i)return e.appendChild(oL("]",this.sourcepos(o,o))),!0;if(!i.active)return e.appendChild(oL("]",this.sourcepos(o,o))),this.removeBracket(),!0;var a=i.image,s=this.pos;40===this.peek()&&(this.pos++,this.spnl()&&null!==(t=this.parseLinkDestination())&&this.spnl()&&(jL.test(this.subject.charAt(this.pos-1))&&(n=this.parseLinkTitle()),1)&&this.spnl()&&41===this.peek()?(this.pos+=1,r=!0):this.pos=s);var l="";if(!r){var c=this.pos,u=this.parseLinkLabel();if(u>2?l=this.subject.slice(c,c+u):i.bracketAfter||(l=this.subject.slice(i.index,o)),0===u&&(this.pos=s),l){l=wL(l);var d=this.refMap[l];d&&(t=d.destination,n=d.title,r=!0)}}if(r){var p=QD(a?"image":"link");p.destination=t,p.title=n||"",p.sourcepos=[i.startpos,this.sourcepos(this.pos)];for(var f=i.node.next,h=void 0;f;)h=f.next,f.unlink(),p.appendChild(f),f=h;if(e.appendChild(p),this.processEmphasis(i.previousDelimiter),this.removeBracket(),i.node.unlink(),!a)for(i=this.brackets;null!==i;)i.image||(i.active=!1),i=i.previous;return this.options.referenceDefinition&&(this.refLinkCandidateMap[e.id]={node:e,refLabel:l}),!0}return this.removeBracket(),this.pos=o,e.appendChild(oL("]",this.sourcepos(o,o))),this.options.referenceDefinition&&(this.refLinkCandidateMap[e.id]={node:e,refLabel:l}),!0},e.prototype.addBracket=function(e,t,n){null!==this.brackets&&(this.brackets.bracketAfter=!0),this.brackets={node:e,startpos:this.sourcepos(t+(n?0:1)),previous:this.brackets,previousDelimiter:this.delimiters,index:t,image:n,active:!0}},e.prototype.removeBracket=function(){this.brackets&&(this.brackets=this.brackets.previous)},e.prototype.parseEntity=function(e){var t,n=this.pos+1;return!!(t=this.match(LL))&&(e.appendChild(oL(VA.decodeHTML(t),this.sourcepos(n,this.pos))),!0)},e.prototype.parseString=function(e){var t,n=this.pos+1;if(t=this.match(VL)){if(this.options.smart){var r=t.replace(IL,"…").replace(PL,(function(e){var t=0,n=0;return e.length%3==0?n=e.length/3:e.length%2==0?t=e.length/2:e.length%3==2?(t=1,n=(e.length-2)/3):(t=2,n=(e.length-4)/3),ND("—",n)+ND("–",t)}));e.appendChild(oL(r,this.sourcepos(n,this.pos)))}else{var o=oL(t,this.sourcepos(n,this.pos));e.appendChild(o)}return!0}return!1},e.prototype.parseNewline=function(e){this.pos+=1;var t=e.lastChild;if(t&&"text"===t.type&&" "===t.literal[t.literal.length-1]){var n=" "===t.literal[t.literal.length-2],r=t.literal.length;t.literal=t.literal.replace(zL,"");var o=r-t.literal.length;t.sourcepos[1][1]-=o,e.appendChild(QD(n?"linebreak":"softbreak",this.sourcepos(this.pos-o,this.pos)))}else e.appendChild(QD("softbreak",this.sourcepos(this.pos,this.pos)));return this.nextLine(),this.match(HL),!0},e.prototype.parseReference=function(e,t){if(!this.options.referenceDefinition)return 0;this.subject=e.stringContent,this.pos=0;var n=null,r=this.pos,o=this.parseLinkLabel();if(0===o)return 0;var i=this.subject.substr(0,o);if(58!==this.peek())return this.pos=r,0;this.pos++,this.spnl();var a=this.parseLinkDestination();if(null===a)return this.pos=r,0;var s=this.pos;this.spnl(),this.pos!==s&&(n=this.parseLinkTitle()),null===n&&(n="",this.pos=s);var l=!0;if(null===this.match(UL)&&(""===n?l=!1:(n="",this.pos=s,l=null!==this.match(UL))),!l)return this.pos=r,0;var c=wL(i);if(""===c)return this.pos=r,0;var u=this.getReferenceDefSourcepos(e);e.sourcepos[0][0]=u[1][0]+1;var d=QD("refDef",u);return d.title=n,d.dest=a,d.label=c,e.insertBefore(d),t[c]?this.refDefCandidateMap[d.id]=d:t[c]=HN(d),this.pos-r},e.prototype.mergeTextNodes=function(e){for(var t,n=[];t=e.next();){var r=t.entering,o=t.node;if(r&&"text"===o.type)n.push(o);else if(1===n.length)n=[];else if(n.length>1){var i=n[0],a=n[n.length-1];i.sourcepos&&a.sourcepos&&(i.sourcepos[1]=a.sourcepos[1]),i.next=a.next,i.next&&(i.next.prev=i);for(var s=1;s<n.length;s+=1)i.literal+=n[s].literal,n[s].unlink();n=[]}}},e.prototype.getReferenceDefSourcepos=function(e){for(var t=e.stringContent.split(/\n|\r\n/),n=!1,r=0,o={line:0,ch:0},i=0;i<t.length;i+=1){var a=t[i];if(jL.test(a))break;if(/\:/.test(a)&&0===r){if(n)break;var s=a.indexOf(":")===a.length-1?i+1:i;o={line:s,ch:t[s].length},n=!0}var l=a.match(/'|"/g);if(l&&(r+=l.length),2===r){o={line:i,ch:a.length};break}}return[[e.sourcepos[0][0],e.sourcepos[0][1]],[e.sourcepos[0][0]+o.line,o.ch]]},e.prototype.parseInline=function(e){var t,n=!1,r=this.peek();if(-1===r)return!1;switch(r){case 10:n=this.parseNewline(e);break;case 92:n=this.parseBackslash(e);break;case 96:n=this.parseBackticks(e);break;case 42:case 95:case SL:case TL:n=this.handleDelim(r,e);break;case CL:case EL:n=!!(null===(t=this.options)||void 0===t?void 0:t.smart)&&this.handleDelim(r,e);break;case 91:n=this.parseOpenBracket(e);break;case 33:n=this.parseBang(e);break;case 93:n=this.parseCloseBracket(e);break;case 60:n=this.parseAutolink(e)||this.parseHtmlTag(e);break;case 38:e.disabledEntityParse||(n=this.parseEntity(e));break;default:n=this.parseString(e)}return n||(this.pos+=1,e.appendChild(oL(pL(r),this.sourcepos(this.pos,this.pos+1)))),!0},e.prototype.parse=function(e){for(this.subject=e.stringContent.trim(),this.pos=0,this.delimiters=null,this.brackets=null,this.lineOffsets=e.lineOffsets||[0],this.lineIdx=0,this.linePosOffset=0,this.lineStartNum=e.sourcepos[0][0],function(e){return"heading"===e.type}(e)&&(this.lineOffsets[0]+=e.level+1);this.parseInline(e););e.stringContent=null,this.processEmphasis(null),this.mergeTextNodes(e.walker());var t=this.options,n=t.extendedAutolinks,r=t.customParser;if(n&&function(e,t){var n;"boolean"==typeof t&&(t=yL);for(var r=function(){var e=n.entering,r=n.node;if(e&&"text"===r.type&&"link"!==r.parent.type){var o=r.literal,i=t(o);if(!i||!i.length)return"continue";for(var a=0,s=r.sourcepos[0],l=s[0],c=s[1],u=function(e,t){return[[l,c+e],[l,c+t]]},d=[],p=0,f=i;p<f.length;p++){var h=f[p],m=h.range,v=h.url,g=h.text;m[0]>a&&d.push(oL(o.substring(a,m[0]),u(a,m[0]-1)));var y=QD("link",u.apply(void 0,m));y.appendChild(oL(g,u.apply(void 0,m))),y.destination=v,y.extendedAutolink=!0,d.push(y),a=m[1]+1}a<o.length&&d.push(oL(o.substring(a),u(a,o.length-1)));for(var b=0,w=d;b<w.length;b++){var x=w[b];r.insertBefore(x)}r.unlink()}};n=e.next();)r()}(e.walker(),n),r&&e.firstChild)for(var o,i=e.firstChild.walker();o=i.next();){var a=o.node,s=o.entering;r[a.type]&&r[a.type](a,{entering:s,options:this.options})}},e}(),GL=/^\[([ \txX])\][ \t]+/;var KL=9,YL=32,XL=/[^ \t\f\v\r\n]/,JL=/^(?:`{3,}|~{3,})(?= *$)/;function QL(e){for(var t=e;t;){if(t.lastLineBlank)return!0;var n=t.type;if(t.lastLineChecked||"list"!==n&&"item"!==n){t.lastLineChecked=!0;break}t.lastLineChecked=!0,t=t.lastChild}return!1}function eN(e,t){return t<e.length?e.charCodeAt(t):-1}function tN(e){return!XL.test(e)}function nN(e){return e===YL||e===KL}var rN=/^\$\$$/,oN={continue:function(e,t){var n=e.currentLine,r=n.match(rN);if(r)return e.lastLineLength=r[0].length,e.finalize(t,e.lineNumber),2;for(var o=t.offset;o>0&&nN(eN(n,e.offset));)e.advanceOffset(1,!0),o--;return 0},finalize:function(e,t){if(null!==t.stringContent){var n=t.stringContent,r=n.indexOf("\n"),o=n.slice(0,r),i=n.slice(r+1),a=o.match(/^(\s*)(.*)/);t.info=MD(a[2].trim()),t.literal=i,t.stringContent=null}},canContain:function(){return!1},acceptsLines:!0},iN={continue:function(){return 1},finalize:function(){},canContain:function(){return!1},acceptsLines:!0},aN={continue:function(){return 0},finalize:function(e,t){for(var n=t.firstChild;n;){if(QL(n)&&n.next){t.listData.tight=!1;break}for(var r=n.firstChild;r;){if(QL(r)&&(n.next||r.next)){t.listData.tight=!1;break}r=r.next}n=n.next}},canContain:function(e){return"item"===e},acceptsLines:!1},sN={continue:function(e){var t=e.currentLine;return e.indented||62!==eN(t,e.nextNonspace)?1:(e.advanceNextNonspace(),e.advanceOffset(1,!1),nN(eN(t,e.offset))&&e.advanceOffset(1,!0),0)},finalize:function(){},canContain:function(e){return"item"!==e},acceptsLines:!1},lN={continue:function(e,t){if(e.blank){if(null===t.firstChild)return 1;e.advanceNextNonspace()}else{if(!(e.indent>=t.listData.markerOffset+t.listData.padding))return 1;e.advanceOffset(t.listData.markerOffset+t.listData.padding,!0)}return 0},finalize:function(e,t){if(t.firstChild&&"paragraph"===t.firstChild.type){var n=t.firstChild,r=n.stringContent.match(GL);if(r){var o=r[0].length;n.stringContent=n.stringContent.substring(o-1),n.sourcepos[0][1]+=o,n.lineOffsets[0]+=o,t.listData.task=!0,t.listData.checked=/[xX]/.test(r[1])}}},canContain:function(e){return"item"!==e},acceptsLines:!1},cN={continue:function(e,t){var n=e.currentLine,r=e.indent;if(t.isFenced){var o=r<=3&&n.charAt(e.nextNonspace)===t.fenceChar&&n.slice(e.nextNonspace).match(JL);if(o&&o[0].length>=t.fenceLength)return e.lastLineLength=e.offset+r+o[0].length,e.finalize(t,e.lineNumber),2;for(var i=t.fenceOffset;i>0&&nN(eN(n,e.offset));)e.advanceOffset(1,!0),i--}else if(r>=4)e.advanceOffset(4,!0);else{if(!e.blank)return 1;e.advanceNextNonspace()}return 0},finalize:function(e,t){var n;if(null!==t.stringContent){if(t.isFenced){var r=t.stringContent,o=r.indexOf("\n"),i=r.slice(0,o),a=r.slice(o+1),s=i.match(/^(\s*)(.*)/);t.infoPadding=s[1].length,t.info=MD(s[2].trim()),t.literal=a}else t.literal=null===(n=t.stringContent)||void 0===n?void 0:n.replace(/(\n *)+$/,"\n");t.stringContent=null}},canContain:function(){return!1},acceptsLines:!0},uN={continue:function(e){return e.blank?1:0},finalize:function(e,t){if(null!==t.stringContent){for(var n,r=!1;91===eN(t.stringContent,0)&&(n=e.inlineParser.parseReference(t,e.refMap));)t.stringContent=t.stringContent.slice(n),r=!0;r&&tN(t.stringContent)&&t.unlink()}},canContain:function(){return!1},acceptsLines:!0},dN={document:{continue:function(){return 0},finalize:function(){},canContain:function(e){return"item"!==e},acceptsLines:!1},list:aN,blockQuote:sN,item:lN,heading:{continue:function(){return 1},finalize:function(){},canContain:function(){return!1},acceptsLines:!1},thematicBreak:{continue:function(){return 1},finalize:function(){},canContain:function(){return!1},acceptsLines:!1},codeBlock:cN,htmlBlock:{continue:function(e,t){return!e.blank||6!==t.htmlBlockType&&7!==t.htmlBlockType?0:1},finalize:function(e,t){var n;t.literal=(null===(n=t.stringContent)||void 0===n?void 0:n.replace(/(\n *)+$/,""))||null,t.stringContent=null},canContain:function(){return!1},acceptsLines:!0},paragraph:uN,table:{continue:function(){return 0},finalize:function(){},canContain:function(e){return"tableHead"===e||"tableBody"===e},acceptsLines:!1},tableBody:{continue:function(){return 0},finalize:function(){},canContain:function(e){return"tableRow"===e},acceptsLines:!1},tableHead:{continue:function(){return 1},finalize:function(){},canContain:function(e){return"tableRow"===e||"tableDelimRow"===e},acceptsLines:!1},tableRow:{continue:function(){return 1},finalize:function(){},canContain:function(e){return"tableCell"===e},acceptsLines:!1},tableCell:{continue:function(){return 1},finalize:function(){},canContain:function(){return!1},acceptsLines:!1},tableDelimRow:{continue:function(){return 1},finalize:function(){},canContain:function(e){return"tableDelimCell"===e},acceptsLines:!1},tableDelimCell:{continue:function(){return 1},finalize:function(){},canContain:function(){return!1},acceptsLines:!1},refDef:iN,customBlock:oN,frontMatter:iN};function pN(e){for(var t=0,n=0,r=[],o=0;o<e.length;o+=1)if("|"===e[o]&&"\\"!==e[o-1]){var i=e.substring(t,o);0===t&&RD(i)?n=o+1:r.push(i),t=o+1}t<e.length&&(RD(i=e.substring(t,e.length))||r.push(i));return[n,r]}function fN(e,t,n,r){for(var o=[],i=0,a=t;i<a.length;i++){var s=a[i],l=s.match(/^[ \t]+/),c=l?l[0].length:0,u=void 0,d=void 0;if(c===s.length)c=0,u=0,d="";else{var p=s.match(/[ \t]+$/);u=p?p[0].length:0,d=s.slice(c,s.length-u)}var f=r+c,h=QD(e,[[n,r],[n,r+s.length-1]]);h.stringContent=d.replace(/\\\|/g,"|"),h.startIdx=o.length,h.endIdx=o.length,h.lineOffsets=[f-1],h.paddingLeft=c,h.paddingRight=u,o.push(h),r+=s.length+1}return o}function hN(e){var t=null,n=e.stringContent,r=n[0];return":"===n[n.length-1]?t=":"===r?"center":"right":":"===r&&(t="left"),{align:t}}var mN=/^(\$\$)(\s*[a-zA-Z])+/,vN=/^(\$\$)(\s*[a-zA-Z])+.*(\$\$)/,gN=/^`{3,}(?!.*`)|^~{3,}/,yN=[/./,/^<(?:script|pre|style)(?:\s|>|$)/i,/^<!--/,/^<[?]/,/^<![A-Z]/,/^<!\[CDATA\[/,/^<[/]?(?:address|article|aside|base|basefont|blockquote|body|caption|center|col|colgroup|dd|details|dialog|dir|div|dl|dt|fieldset|figcaption|figure|footer|form|frame|frameset|h[123456]|head|header|hr|html|iframe|legend|li|link|main|menu|menuitem|nav|noframes|ol|optgroup|option|p|param|section|source|summary|table|tbody|td|tfoot|th|thead|title|tr|track|ul)(?:\s|[/]?[>]|$)/i,new RegExp("^(?:"+sL+"|"+lL+")\\s*$","i")],bN=/^(?:=+|-+)[ \t]*$/,wN=/^#{1,6}(?:[ \t]+|$)/,xN=/^(?:(?:\*[ \t]*){3,}|(?:_[ \t]*){3,}|(?:-[ \t]*){3,})[ \t]*$/,kN=/^[*+-]/,SN=/^(\d{1,9})([.)])/;function CN(e,t){return e.options.disallowDeepHeading&&("blockQuote"===t.type||"item"===t.type)}var EN=[function(e){return e.indented||62!==eN(e.currentLine,e.nextNonspace)?0:(e.advanceNextNonspace(),e.advanceOffset(1,!1),nN(eN(e.currentLine,e.offset))&&e.advanceOffset(1,!0),e.closeUnmatchedBlocks(),e.addChild("blockQuote",e.nextNonspace),1)},function(e,t){var n;if(!e.indented&&!CN(e,t)&&(n=e.currentLine.slice(e.nextNonspace).match(wN))){e.advanceNextNonspace(),e.advanceOffset(n[0].length,!1),e.closeUnmatchedBlocks();var r=e.addChild("heading",e.nextNonspace);return r.level=n[0].trim().length,r.headingType="atx",r.stringContent=e.currentLine.slice(e.offset).replace(/^[ \t]*#+[ \t]*$/,"").replace(/[ \t]+#+[ \t]*$/,""),e.advanceOffset(e.currentLine.length-e.offset),2}return 0},function(e){var t;if(!e.indented&&(t=e.currentLine.slice(e.nextNonspace).match(gN))){var n=t[0].length;e.closeUnmatchedBlocks();var r=e.addChild("codeBlock",e.nextNonspace);return r.isFenced=!0,r.fenceLength=n,r.fenceChar=t[0][0],r.fenceOffset=e.indent,e.advanceNextNonspace(),e.advanceOffset(n,!1),2}return 0},function(e,t){if(!e.indented&&60===eN(e.currentLine,e.nextNonspace)){var n=e.currentLine.slice(e.nextNonspace),r=e.options.disallowedHtmlBlockTags,o=void 0;for(o=1;o<=7;o++){var i=n.match(yN[o]);if(i){if(7===o){if("paragraph"===t.type)return 0;if(r.length>0)if(new RegExp("</?(?:"+r.join("|")+")","i").test(i[0]))return 0}return e.closeUnmatchedBlocks(),e.addChild("htmlBlock",e.offset).htmlBlockType=o,2}}}return 0},function(e,t){var n;if(null!==t.stringContent&&!e.indented&&"paragraph"===t.type&&!CN(e,t.parent)&&(n=e.currentLine.slice(e.nextNonspace).match(bN))){e.closeUnmatchedBlocks();for(var r=void 0;91===eN(t.stringContent,0)&&(r=e.inlineParser.parseReference(t,e.refMap));)t.stringContent=t.stringContent.slice(r);if(t.stringContent.length>0){var o=QD("heading",t.sourcepos);return o.level="="===n[0][0]?1:2,o.headingType="setext",o.stringContent=t.stringContent,t.insertAfter(o),t.unlink(),e.tip=o,e.advanceOffset(e.currentLine.length-e.offset,!1),2}return 0}return 0},function(e){return!e.indented&&xN.test(e.currentLine.slice(e.nextNonspace))?(e.closeUnmatchedBlocks(),e.addChild("thematicBreak",e.nextNonspace),e.advanceOffset(e.currentLine.length-e.offset,!1),2):0},function(e,t){var n,r,o,i=t;return e.indented&&"list"!==t.type||!(n=function(e,t){var n,r,o=e.currentLine.slice(e.nextNonspace),i={type:"bullet",tight:!0,bulletChar:"",start:0,delimiter:"",padding:0,markerOffset:e.indent,task:!1,checked:!1};if(e.indent>=4)return null;if(n=o.match(kN))i.type="bullet",i.bulletChar=n[0][0];else{if(!(n=o.match(SN))||"paragraph"===t.type&&"1"!==n[1])return null;i.type="ordered",i.start=parseInt(n[1],10),i.delimiter=n[2]}if(-1!==(r=eN(e.currentLine,e.nextNonspace+n[0].length))&&r!==KL&&r!==YL)return null;if("paragraph"===t.type&&!e.currentLine.slice(e.nextNonspace+n[0].length).match(XL))return null;e.advanceNextNonspace(),e.advanceOffset(n[0].length,!0);var a=e.column,s=e.offset;do{e.advanceOffset(1,!0),r=eN(e.currentLine,e.offset)}while(e.column-a<5&&nN(r));var l=-1===eN(e.currentLine,e.offset),c=e.column-a;return c>=5||c<1||l?(i.padding=n[0].length+1,e.column=a,e.offset=s,nN(eN(e.currentLine,e.offset))&&e.advanceOffset(1,!0)):i.padding=n[0].length+c,i}(e,i))?0:(e.closeUnmatchedBlocks(),"list"===e.tip.type&&(r=i.listData,o=n,r.type===o.type&&r.delimiter===o.delimiter&&r.bulletChar===o.bulletChar)||((i=e.addChild("list",e.nextNonspace)).listData=n),(i=e.addChild("item",e.nextNonspace)).listData=n,1)},function(e){return e.indented&&"paragraph"!==e.tip.type&&!e.blank?(e.advanceOffset(4,!0),e.closeUnmatchedBlocks(),e.addChild("codeBlock",e.offset),2):0},function(e,t){var n=t.stringContent;if("paragraph"===t.type&&!e.indented&&!e.blank){var r=n.length-1,o=n.lastIndexOf("\n",r-1)+1,i=n.slice(o,r),a=e.currentLine.slice(e.nextNonspace),s=pN(i),l=s[0],c=s[1],u=pN(a),d=u[0],p=u[1],f=/^[ \t]*:?-+:?[ \t]*$/;if(!c.length||!p.length||p.some((function(e){return!f.test(e)}))||1===p.length&&0!==a.indexOf("|"))return 0;var h=t.lineOffsets,m=e.lineNumber-1,v=bL(h)+1,g=QD("table",[[m,v],[e.lineNumber,e.offset]]);if(g.columns=p.map((function(){return{align:null}})),t.insertAfter(g),1===h.length)t.unlink();else{t.stringContent=n.slice(0,o);var y=o-(n.lastIndexOf("\n",o-2)+1)-1;e.lastLineLength=h[h.length-2]+y,e.finalize(t,m-1)}e.advanceOffset(e.currentLine.length-e.offset,!1);var b=QD("tableHead",[[m,v],[e.lineNumber,e.offset]]);g.appendChild(b);var w=QD("tableRow",[[m,v],[m,v+i.length-1]]),x=QD("tableDelimRow",[[e.lineNumber,e.nextNonspace+1],[e.lineNumber,e.offset]]);b.appendChild(w),b.appendChild(x),fN("tableCell",c,m,v+l).forEach((function(e){w.appendChild(e)}));var k=fN("tableDelimCell",p,e.lineNumber,e.nextNonspace+1+d);return k.forEach((function(e){x.appendChild(e)})),g.columns=k.map(hN),e.tip=g,2}return 0},function(e,t){if("table"!==t.type&&"tableBody"!==t.type||!e.blank&&-1===e.currentLine.indexOf("|"))return 0;if(e.advanceOffset(e.currentLine.length-e.offset,!1),e.blank){var n=t;return"tableBody"===t.type&&(n=t.parent,e.finalize(t,e.lineNumber-1)),e.finalize(n,e.lineNumber-1),0}var r=t;"table"===t.type&&((r=e.addChild("tableBody",e.nextNonspace)).stringContent=null);var o=QD("tableRow",[[e.lineNumber,e.nextNonspace+1],[e.lineNumber,e.currentLine.length]]);r.appendChild(o);var i=r.parent,a=pN(e.currentLine.slice(e.nextNonspace)),s=a[0];return fN("tableCell",a[1],e.lineNumber,e.nextNonspace+1+s).forEach((function(e,t){t>=i.columns.length&&(e.ignored=!0),o.appendChild(e)})),2},function(e){var t;if(!e.indented&&!vN.test(e.currentLine)&&(t=e.currentLine.match(mN))){var n=t[1].length;e.closeUnmatchedBlocks();var r=e.addChild("customBlock",e.nextNonspace);return r.syntaxLength=n,r.offset=e.indent,e.advanceNextNonspace(),e.advanceOffset(n,!1),2}return 0}],TN=/^(-{3}|\+{3}|;{3})$/,ON=function(e,t){var n=e.currentLine,r=e.lineNumber,o=e.indented;return 1===r&&!o&&"document"===t.type&&TN.test(n)?(e.closeUnmatchedBlocks(),e.addChild("frontMatter",e.nextNonspace).stringContent=n,e.advanceNextNonspace(),e.advanceOffset(n.length,!1),2):0},$N={continue:function(e,t){var n=e.currentLine,r=n.match(TN);return"frontMatter"===t.type&&r?(t.stringContent+=n,e.lastLineLength=r[0].length,e.finalize(t,e.lineNumber),2):0},finalize:function(e,t){null!==t.stringContent&&(t.literal=t.stringContent,t.stringContent=null)},canContain:function(){return!1},acceptsLines:!0},MN=[/./,/<\/(?:script|pre|style)>/i,/-->/,/\?>/,/>/,/\]\]>/],AN=/^[#`~*+_=<>0-9-;$]/,DN=/\r\n|\n|\r/;function LN(){return QD("document",[[1,1],[0,0]])}var NN={smart:!1,tagFilter:!1,extendedAutolinks:!1,disallowedHtmlBlockTags:[],referenceDefinition:!1,disallowDeepHeading:!1,customParser:null,frontMatter:!1},RN=function(){function e(e){this.options=jA(jA({},NN),e),this.doc=LN(),this.tip=this.doc,this.oldtip=this.doc,this.lineNumber=0,this.offset=0,this.column=0,this.nextNonspace=0,this.nextNonspaceColumn=0,this.indent=0,this.currentLine="",this.indented=!1,this.blank=!1,this.partiallyConsumedTab=!1,this.allClosed=!0,this.lastMatchedContainer=this.doc,this.refMap={},this.refLinkCandidateMap={},this.refDefCandidateMap={},this.lastLineLength=0,this.lines=[],this.options.frontMatter&&(dN.frontMatter=$N,EN.unshift(ON)),this.inlineParser=new qL(this.options)}return e.prototype.advanceOffset=function(e,t){void 0===t&&(t=!1);for(var n,r,o,i=this.currentLine;e>0&&(o=i[this.offset]);)"\t"===o?(n=4-this.column%4,t?(this.partiallyConsumedTab=n>e,r=n>e?e:n,this.column+=r,this.offset+=this.partiallyConsumedTab?0:1,e-=r):(this.partiallyConsumedTab=!1,this.column+=n,this.offset+=1,e-=1)):(this.partiallyConsumedTab=!1,this.offset+=1,this.column+=1,e-=1)},e.prototype.advanceNextNonspace=function(){this.offset=this.nextNonspace,this.column=this.nextNonspaceColumn,this.partiallyConsumedTab=!1},e.prototype.findNextNonspace=function(){for(var e,t=this.currentLine,n=this.offset,r=this.column;""!==(e=t.charAt(n));)if(" "===e)n++,r++;else{if("\t"!==e)break;n++,r+=4-r%4}this.blank="\n"===e||"\r"===e||""===e,this.nextNonspace=n,this.nextNonspaceColumn=r,this.indent=this.nextNonspaceColumn-this.column,this.indented=this.indent>=4},e.prototype.addLine=function(){if(this.partiallyConsumedTab){this.offset+=1;var e=4-this.column%4;this.tip.stringContent+=ND(" ",e)}this.tip.lineOffsets?this.tip.lineOffsets.push(this.offset):this.tip.lineOffsets=[this.offset],this.tip.stringContent+=this.currentLine.slice(this.offset)+"\n"},e.prototype.addChild=function(e,t){for(;!dN[this.tip.type].canContain(e);)this.finalize(this.tip,this.lineNumber-1);var n=t+1,r=QD(e,[[this.lineNumber,n],[0,0]]);return r.stringContent="",this.tip.appendChild(r),this.tip=r,r},e.prototype.closeUnmatchedBlocks=function(){if(!this.allClosed){for(;this.oldtip!==this.lastMatchedContainer;){var e=this.oldtip.parent;this.finalize(this.oldtip,this.lineNumber-1),this.oldtip=e}this.allClosed=!0}},e.prototype.finalize=function(e,t){var n=e.parent;e.open=!1,e.sourcepos[1]=[t,this.lastLineLength],dN[e.type].finalize(this,e),this.tip=n},e.prototype.processInlines=function(e){var t,n=this.options.customParser,r=e.walker();for(this.inlineParser.refMap=this.refMap,this.inlineParser.refLinkCandidateMap=this.refLinkCandidateMap,this.inlineParser.refDefCandidateMap=this.refDefCandidateMap,this.inlineParser.options=this.options;t=r.next();){var o=t.node,i=t.entering,a=o.type;n&&n[a]&&n[a](o,{entering:i,options:this.options}),i||"paragraph"!==a&&"heading"!==a&&("tableCell"!==a||o.ignored)||this.inlineParser.parse(o)}},e.prototype.incorporateLine=function(e){var t=this.doc;this.oldtip=this.tip,this.offset=0,this.column=0,this.blank=!1,this.partiallyConsumedTab=!1,this.lineNumber+=1,-1!==e.indexOf("\0")&&(e=e.replace(/\0/g,"�")),this.currentLine=e;for(var n,r=!0;(n=t.lastChild)&&n.open;){switch(t=n,this.findNextNonspace(),dN[t.type].continue(this,t)){case 0:break;case 1:r=!1;break;case 2:return void(this.lastLineLength=e.length);default:throw new Error("continue returned illegal value, must be 0, 1, or 2")}if(!r){t=t.parent;break}}this.allClosed=t===this.oldtip,this.lastMatchedContainer=t;for(var o="paragraph"!==t.type&&dN[t.type].acceptsLines,i=EN.length;!o;){if(this.findNextNonspace(),"table"!==t.type&&"tableBody"!==t.type&&"paragraph"!==t.type&&!this.indented&&!AN.test(e.slice(this.nextNonspace))){this.advanceNextNonspace();break}for(var a=0;a<i;){var s=EN[a](this,t);if(1===s){t=this.tip;break}if(2===s){t=this.tip,o=!0;break}a++}if(a===i){this.advanceNextNonspace();break}}if(this.allClosed||this.blank||"paragraph"!==this.tip.type){this.closeUnmatchedBlocks(),this.blank&&t.lastChild&&(t.lastChild.lastLineBlank=!0);for(var l=t.type,c=this.blank&&!("blockQuote"===l||eL(t)&&t.isFenced||"item"===l&&!t.firstChild&&t.sourcepos[0][0]===this.lineNumber),u=t;u;)u.lastLineBlank=c,u=u.parent;dN[l].acceptsLines?(this.addLine(),"htmlBlock"===t.type&&t.htmlBlockType>=1&&t.htmlBlockType<=5&&MN[t.htmlBlockType].test(this.currentLine.slice(this.offset))&&(this.lastLineLength=e.length,this.finalize(t,this.lineNumber))):this.offset<e.length&&!this.blank&&(t=this.addChild("paragraph",this.offset),this.advanceNextNonspace(),this.addLine())}else this.addLine();this.lastLineLength=e.length},e.prototype.parse=function(e,t){this.doc=LN(),this.tip=this.doc,this.lineNumber=0,this.lastLineLength=0,this.offset=0,this.column=0,this.lastMatchedContainer=this.doc,this.currentLine="";var n=e.split(DN),r=n.length;this.lines=t||n,this.options.referenceDefinition&&this.clearRefMaps(),10===e.charCodeAt(e.length-1)&&(r-=1);for(var o=0;o<r;o++)this.incorporateLine(n[o]);for(;this.tip;)this.finalize(this.tip,r);return this.processInlines(this.doc),this.doc},e.prototype.partialParseStart=function(e,t){this.doc=LN(),this.tip=this.doc,this.lineNumber=e-1,this.lastLineLength=0,this.offset=0,this.column=0,this.lastMatchedContainer=this.doc,this.currentLine="";for(var n=t.length,r=0;r<n;r++)this.incorporateLine(t[r]);return this.doc},e.prototype.partialParseExtends=function(e){for(var t=0;t<e.length;t++)this.incorporateLine(e[t])},e.prototype.partialParseFinish=function(){for(;this.tip;)this.finalize(this.tip,this.lineNumber);this.processInlines(this.doc)},e.prototype.setRefMaps=function(e,t,n){this.refMap=e,this.refLinkCandidateMap=t,this.refDefCandidateMap=n},e.prototype.clearRefMaps=function(){[this.refMap,this.refLinkCandidateMap,this.refDefCandidateMap].forEach((function(e){var t;t=e,Object.keys(t).forEach((function(e){delete t[e]}))}))},e}();function IN(e,t){return e[0]<t[0]?1:e[0]>t[0]?-1:e[1]<t[1]?1:e[1]>t[1]?-1:0}function PN(e,t){var n=e[0];return 1===IN(e[1],t)?1:-1===IN(n,t)?-1:0}function ZN(e,t){for(var n=0,r=t;n<r.length;n++){var o=r[n];e.insertBefore(o)}}function _N(e,t){var n=e[0];return e[1][0]<t?1:n[0]>t?-1:0}function FN(e,t){for(var n=e.firstChild;n;){var r=_N(n.sourcepos,t);if(0===r)return n;if(-1===r)return n.prev||n;n=n.next}return e.lastChild}function jN(e){return function(e){return _D[e]}(e)||null}function BN(e,t,n){if(void 0===n&&(n=null),t)for(var r=t.walker();t&&t!==n;){e(t);var o=r.next();if(!o)break;t=o.node}}var zN=/\r\n|\n|\r/;function HN(e){return{id:e.id,title:e.title,sourcepos:e.sourcepos,unlinked:!1,destination:e.dest}}var UN=function(){function e(e,t){this.refMap={},this.refLinkCandidateMap={},this.refDefCandidateMap={},this.referenceDefinition=!!(null==t?void 0:t.referenceDefinition),this.parser=new RN(t),this.parser.setRefMaps(this.refMap,this.refLinkCandidateMap,this.refDefCandidateMap),this.eventHandlerMap={change:[]},e=e||"",this.lineTexts=e.split(zN),this.root=this.parser.parse(e,this.lineTexts)}return e.prototype.updateLineTexts=function(e,t,n){var r,o=e[0],i=e[1],a=t[0],s=t[1],l=n.split(zN),c=l.length,u=this.lineTexts[o-1],d=this.lineTexts[a-1];l[0]=u.slice(0,i-1)+l[0],l[c-1]=l[c-1]+d.slice(s-1);var p=a-o+1;return(r=this.lineTexts).splice.apply(r,BA([o-1,p],l)),c-p},e.prototype.updateRootNodeState=function(){if(1===this.lineTexts.length&&""===this.lineTexts[0])return this.root.lastLineBlank=!0,void(this.root.sourcepos=[[1,1],[1,0]]);this.root.lastChild&&(this.root.lastLineBlank=this.root.lastChild.lastLineBlank);for(var e=this.lineTexts,t=e.length-1;""===e[t];)t-=1;e.length-2>t&&(t+=1),this.root.sourcepos[1]=[t+1,e[t].length]},e.prototype.replaceRangeNodes=function(e,t,n){e?(ZN(e,n),function(e,t){if(e.parent===t.parent&&e!==t){for(var n=e.next;n&&n!==t;){for(var r=n.next,o=0,i=["parent","prev","next"];o<i.length;o++){var a=i[o];n[a]&&(FD(n[a].id),n[a]=null)}n=r}e.next=t.next,t.next?t.next.prev=e:e.parent.lastChild=e}}(e,t),[e.id,t.id].forEach((function(e){return FD(e)})),e.unlink()):t?(ZN(t,n),FD(t.id),t.unlink()):function(e,t){for(var n=t.length-1;n>=0;n-=1)e.prependChild(t[n])}(this.root,n)},e.prototype.getNodeRange=function(e,t){var n=FN(this.root,e[0]),r=FN(this.root,t[0]);return r&&r.next&&t[0]+1===r.next.sourcepos[0][0]&&(r=r.next),[n,r]},e.prototype.trigger=function(e,t){this.eventHandlerMap[e].forEach((function(e){e(t)}))},e.prototype.extendEndLine=function(e){for(;""===this.lineTexts[e];)e+=1;return e},e.prototype.parseRange=function(e,t,n,r){var o;e&&e.prev&&(tL(e.prev)&&function(e){var t=e.match(/^[ \t]+/);if(t&&(t[0].length>=2||/\t/.test(t[0])))return!0;var n=t?e.slice(t.length):e;return kN.test(n)||SN.test(n)}(this.lineTexts[n-1])||"table"===e.prev.type&&(!tN(o=this.lineTexts[n-1])&&-1!==o.indexOf("|")))&&(n=(e=e.prev).sourcepos[0][0]);for(var i=this.lineTexts.slice(n-1,r),a=this.parser.partialParseStart(n,i),s=t?t.next:this.root.firstChild,l=a.lastChild,c=l&&eL(l)&&l.open,u=l&&rL(l)&&l.open,d=l&&tL(l);(c||u)&&s||d&&s&&("list"===s.type||s.sourcepos[0][1]>=2);){var p=this.extendEndLine(s.sourcepos[1][0]);this.parser.partialParseExtends(this.lineTexts.slice(r,p)),e||(e=t),t=s,r=p,s=s.next}return this.parser.partialParseFinish(),{newNodes:function(e){for(var t=[],n=e.firstChild;n;)t.push(n),n=n.next;return t}(a),extStartNode:e,extEndNode:t}},e.prototype.getRemovedNodeRange=function(e,t){return!e||e&&nL(e)||t&&nL(t)?null:{id:[e.id,t.id],line:[e.sourcepos[0][0]-1,t.sourcepos[1][0]-1]}},e.prototype.markDeletedRefMap=function(e,t){var n=this;if(!kL(this.refMap)){var r=function(e){if(nL(e)){var t=n.refMap[e.label];t&&e.id===t.id&&(t.unlinked=!0)}};e&&BN(r,e.parent,t),t&&BN(r,t)}},e.prototype.replaceWithNewRefDefState=function(e){var t=this;if(!kL(this.refMap)){var n=function(e){if(nL(e)){var n=e.label,r=t.refMap[n];r&&!r.unlinked||(t.refMap[n]=HN(e))}};e.forEach((function(e){BN(n,e)}))}},e.prototype.replaceWithRefDefCandidate=function(){var e=this;kL(this.refDefCandidateMap)||xL(this.refDefCandidateMap,(function(t,n){var r=n.label,o=n.sourcepos,i=e.refMap[r];(!i||i.unlinked||i.sourcepos[0][0]>o[0][0])&&(e.refMap[r]=HN(n))}))},e.prototype.getRangeWithRefDef=function(e,t,n,r,o){if(this.referenceDefinition&&!kL(this.refMap)){var i=FN(this.root,e-1),a=FN(this.root,t+1);i&&nL(i)&&i!==n&&i!==r&&(e=(n=i).sourcepos[0][0]),a&&nL(a)&&a!==n&&a!==r&&(r=a,t=this.extendEndLine(r.sourcepos[1][0]+o))}return[n,r,e,t]},e.prototype.parse=function(e,t,n){void 0===n&&(n=0);var r=this.getNodeRange(e,t),o=r[0],i=r[1],a=o?Math.min(o.sourcepos[0][0],e[0]):e[0],s=this.extendEndLine((i?Math.max(i.sourcepos[1][0],t[0]):t[0])+n),l=this.parseRange.apply(this,this.getRangeWithRefDef(a,s,o,i,n)),c=l.newNodes,u=l.extStartNode,d=l.extEndNode,p=this.getRemovedNodeRange(u,d),f=d?d.next:this.root.firstChild;return this.referenceDefinition?(this.markDeletedRefMap(u,d),this.replaceRangeNodes(u,d,c),this.replaceWithNewRefDefState(c)):this.replaceRangeNodes(u,d,c),{nodes:c,removedNodeRange:p,nextNode:f}},e.prototype.parseRefLink=function(){var e=this,t=[];return kL(this.refMap)||xL(this.refMap,(function(n,r){r.unlinked&&delete e.refMap[n],xL(e.refLinkCandidateMap,(function(r,o){var i=o.node;o.refLabel===n&&t.push(e.parse(i.sourcepos[0],i.sourcepos[1]))}))})),t},e.prototype.removeUnlinkedCandidate=function(){kL(this.refDefCandidateMap)||[this.refLinkCandidateMap,this.refDefCandidateMap].forEach((function(e){xL(e,(function(t){(function(e){var t=jN(e);if(!t)return!0;for(;t&&"document"!==t.type;){if(!t.parent&&!t.prev&&!t.next)return!0;t=t.parent}return!1})(t)&&delete e[t]}))}))},e.prototype.editMarkdown=function(e,t,n){var r=this.updateLineTexts(e,t,n),o=this.parse(e,t,r),i=function(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];var r=jA({},e);return t.forEach((function(e){delete r[e]})),r}(o,"nextNode");!function(e,t){if(e&&e.parent&&0!==t){var n,r=e.parent.walker();for(r.resumeAt(e,!0);n=r.next();){var o=n.node;n.entering&&(o.sourcepos[0][0]+=t,o.sourcepos[1][0]+=t)}}}(o.nextNode,r),this.updateRootNodeState();var a=[i];return this.referenceDefinition&&(this.removeUnlinkedCandidate(),this.replaceWithRefDefCandidate(),a=a.concat(this.parseRefLink())),this.trigger("change",a),a},e.prototype.getLineTexts=function(){return this.lineTexts},e.prototype.getRootNode=function(){return this.root},e.prototype.findNodeAtPosition=function(e){var t=function(e,t){for(var n=e,r=null;n;){var o=PN(n.sourcepos,t);if(0===o){if(!n.firstChild)return n;r=n,n=n.firstChild}else{if(-1===o)return r;if(!n.next)return r;n=n.next}}return n}(this.root,e);return t&&t!==this.root?t:null},e.prototype.findFirstNodeAtLine=function(e){return function(e,t){for(var n=e.firstChild,r=null;n;){var o=_N(n.sourcepos,t);if(0===o){if(n.sourcepos[0][0]===t||!n.firstChild)return n;r=n,n=n.firstChild}else{if(-1===o)break;r=n,n=n.next}}return r?function(e){for(;e.parent&&"document"!==e.parent.type&&e.parent.sourcepos[0][0]===e.sourcepos[0][0];)e=e.parent;return e}(function(e){for(;e.lastChild;)e=e.lastChild;return e}(r)):null}(this.root,e)},e.prototype.on=function(e,t){this.eventHandlerMap[e].push(t)},e.prototype.off=function(e,t){var n=this.eventHandlerMap[e],r=n.indexOf(t);n.splice(r,1)},e.prototype.findNodeById=function(e){return jN(e)},e.prototype.removeAllNode=function(){_D={}},e}(),WN=new RegExp("<(/?(?:"+["title","textarea","style","xmp","iframe","noembed","noframes","script","plaintext"].join("|")+")[^>]*>)","ig");function VN(e){return WN.test(e)?e.replace(WN,(function(e,t){return"<"+t})):e}var qN={heading:function(e,t){return{type:t.entering?"openTag":"closeTag",tagName:"h"+e.level,outerNewLine:!0}},text:function(e){return{type:"text",content:e.literal}},softbreak:function(e,t){return{type:"html",content:t.options.softbreak}},linebreak:function(){return{type:"html",content:"<br />\n"}},emph:function(e,t){return{type:t.entering?"openTag":"closeTag",tagName:"em"}},strong:function(e,t){return{type:t.entering?"openTag":"closeTag",tagName:"strong"}},paragraph:function(e,t){var n,r=t.entering,o=null===(n=e.parent)||void 0===n?void 0:n.parent;return o&&"list"===o.type&&o.listData.tight?null:{type:r?"openTag":"closeTag",tagName:"p",outerNewLine:!0}},thematicBreak:function(){return{type:"openTag",tagName:"hr",outerNewLine:!0,selfClose:!0}},blockQuote:function(e,t){return{type:t.entering?"openTag":"closeTag",tagName:"blockquote",outerNewLine:!0,innerNewLine:!0}},list:function(e,t){var n=t.entering,r=e.listData,o=r.type,i=r.start,a="bullet"===o?"ul":"ol",s={};return"ol"===a&&null!==i&&1!==i&&(s.start=i.toString()),{type:n?"openTag":"closeTag",tagName:a,attributes:s,outerNewLine:!0}},item:function(e,t){return{type:t.entering?"openTag":"closeTag",tagName:"li",outerNewLine:!0}},htmlInline:function(e,t){return{type:"html",content:t.options.tagFilter?VN(e.literal):e.literal}},htmlBlock:function(e,t){var n=t.options,r=n.tagFilter?VN(e.literal):e.literal;return n.nodeId?[{type:"openTag",tagName:"div",outerNewLine:!0},{type:"html",content:r},{type:"closeTag",tagName:"div",outerNewLine:!0}]:{type:"html",content:r,outerNewLine:!0}},code:function(e){return[{type:"openTag",tagName:"code"},{type:"text",content:e.literal},{type:"closeTag",tagName:"code"}]},codeBlock:function(e){var t=e.info,n=t?t.split(/\s+/):[],r=[];return n.length>0&&n[0].length>0&&r.push("language-"+LD(n[0])),[{type:"openTag",tagName:"pre",outerNewLine:!0},{type:"openTag",tagName:"code",classNames:r},{type:"text",content:e.literal},{type:"closeTag",tagName:"code"},{type:"closeTag",tagName:"pre",outerNewLine:!0}]},link:function(e,t){if(t.entering){var n=e,r=n.title,o=n.destination;return{type:"openTag",tagName:"a",attributes:jA({href:LD(o)},r&&{title:LD(r)})}}return{type:"closeTag",tagName:"a"}},image:function(e,t){var n=t.getChildrenText,r=t.skipChildren,o=e,i=o.title,a=o.destination;return r(),{type:"openTag",tagName:"img",selfClose:!0,attributes:jA({src:LD(a),alt:n(e)},i&&{title:LD(i)})}},customBlock:function(e,t,n){var r=e.info.trim().toLowerCase(),o=n[r];if(o)try{return o(e,t)}catch(Yr){console.warn("[@toast-ui/editor] - The error occurred when "+r+" block node was parsed in markdown renderer: "+Yr)}return[{type:"openTag",tagName:"div",outerNewLine:!0},{type:"text",content:e.literal},{type:"closeTag",tagName:"div",outerNewLine:!0}]},frontMatter:function(e){return[{type:"openTag",tagName:"div",outerNewLine:!0,attributes:{style:"white-space: pre; display: none;"}},{type:"text",content:e.literal},{type:"closeTag",tagName:"div",outerNewLine:!0}]},customInline:function(e,t,n){var r=e,o=r.info,i=r.firstChild,a=o.trim().toLowerCase(),s=n[a],l=t.entering;if(s)try{return s(e,t)}catch(Yr){console.warn("[@toast-ui/editor] - The error occurred when "+a+" inline node was parsed in markdown renderer: "+Yr)}return l?[{type:"openTag",tagName:"span"},{type:"text",content:"$$"+o+(i?" ":"")}]:[{type:"text",content:"$$"},{type:"closeTag",tagName:"span"}]}},GN={strike:function(e,t){return{type:t.entering?"openTag":"closeTag",tagName:"del"}},item:function(e,t){var n=t.entering,r=e.listData,o=r.checked,i=r.task;if(n){var a={type:"openTag",tagName:"li",outerNewLine:!0};return i?[a,{type:"openTag",tagName:"input",selfClose:!0,attributes:jA(jA({},o&&{checked:""}),{disabled:"",type:"checkbox"})},{type:"text",content:" "}]:a}return{type:"closeTag",tagName:"li",outerNewLine:!0}},table:function(e,t){return{type:t.entering?"openTag":"closeTag",tagName:"table",outerNewLine:!0}},tableHead:function(e,t){return{type:t.entering?"openTag":"closeTag",tagName:"thead",outerNewLine:!0}},tableBody:function(e,t){return{type:t.entering?"openTag":"closeTag",tagName:"tbody",outerNewLine:!0}},tableRow:function(e,t){if(t.entering)return{type:"openTag",tagName:"tr",outerNewLine:!0};var n=[];if(e.lastChild)for(var r=e.parent.parent.columns.length,o=e.lastChild.endIdx+1;o<r;o+=1)n.push({type:"openTag",tagName:"td",outerNewLine:!0},{type:"closeTag",tagName:"td",outerNewLine:!0});return n.push({type:"closeTag",tagName:"tr",outerNewLine:!0}),n},tableCell:function(e,t){var n=t.entering;if(e.ignored)return{type:"text",content:""};var r=e.parent.parent,o="tableHead"===r.type?"th":"td",i=r.parent.columns[e.startIdx],a=(null==i?void 0:i.align)?{align:i.align}:null;return n?jA({type:"openTag",tagName:o,outerNewLine:!0},a&&{attributes:a}):{type:"closeTag",tagName:o,outerNewLine:!0}}},KN={softbreak:"\n",gfm:!1,tagFilter:!1,nodeId:!1};function YN(e){for(var t=[],n=e.walker(),r=null;r=n.next();){var o=r.node;"text"===o.type&&t.push(o.literal)}return t.join("")}var XN=function(){function e(e){this.buffer=[],this.options=jA(jA({},KN),e),this.convertors=this.createConvertors(),delete this.options.convertors}return e.prototype.createConvertors=function(){var e=jA({},qN);if(this.options.gfm&&(e=jA(jA({},e),GN)),this.options.convertors){var t=this.options.convertors,n=Object.keys(t),r=jA(jA({},qN),GN);n.forEach((function(n){var o=e[n],i=t[n],a=-1===Object.keys(r).indexOf(n)?n.toLowerCase():n;e[a]=o?function(e,t,n){return t.origin=function(){return o(e,t,n)},i(e,t)}:i}))}return e},e.prototype.getConvertors=function(){return this.convertors},e.prototype.getOptions=function(){return this.options},e.prototype.render=function(e){var t=this;this.buffer=[];for(var n=e.walker(),r=null,o=function(){var e=r.node,o=r.entering,a=i.convertors[e.type];if(!a)return"continue";var s=!1,l={entering:o,leaf:!PD(e),options:i.options,getChildrenText:YN,skipChildren:function(){s=!0}},c=rL(e)||function(e){return"customInline"===e.type}(e)?a(e,l,i.convertors):a(e,l);c&&((Array.isArray(c)?c:[c]).forEach((function(n,r){"openTag"===n.type&&t.options.nodeId&&0===r&&(n.attributes||(n.attributes={}),n.attributes["data-nodeid"]=String(e.id)),t.renderHTMLNode(n)})),s&&(n.resumeAt(e,!1),n.next()))},i=this;r=n.next();)o();return this.addNewLine(),this.buffer.join("")},e.prototype.renderHTMLNode=function(e){switch(e.type){case"openTag":case"closeTag":this.renderElementNode(e);break;case"text":this.renderTextNode(e);break;case"html":this.renderRawHtmlNode(e)}},e.prototype.generateOpenTagString=function(e){var t=this,n=e.tagName,r=e.classNames,o=e.attributes;this.buffer.push("<"+n),r&&r.length>0&&this.buffer.push(' class="'+r.join(" ")+'"'),o&&Object.keys(o).forEach((function(e){var n=o[e];t.buffer.push(" "+e+'="'+n+'"')})),e.selfClose&&this.buffer.push(" /"),this.buffer.push(">")},e.prototype.generateCloseTagString=function(e){var t=e.tagName;this.buffer.push("</"+t+">")},e.prototype.addNewLine=function(){this.buffer.length&&"\n"!==bL(bL(this.buffer))&&this.buffer.push("\n")},e.prototype.addOuterNewLine=function(e){e.outerNewLine&&this.addNewLine()},e.prototype.addInnerNewLine=function(e){e.innerNewLine&&this.addNewLine()},e.prototype.renderTextNode=function(e){this.buffer.push(LD(e.content))},e.prototype.renderRawHtmlNode=function(e){this.addOuterNewLine(e),this.buffer.push(e.content),this.addOuterNewLine(e)},e.prototype.renderElementNode=function(e){"openTag"===e.type?(this.addOuterNewLine(e),this.generateOpenTagString(e),e.selfClose?this.addOuterNewLine(e):this.addInnerNewLine(e)):(this.addInnerNewLine(e),this.generateCloseTagString(e),this.addOuterNewLine(e))},e}();var JN=Object.hasOwnProperty,QN=Object.setPrototypeOf,eR=Object.isFrozen,tR=Object.getPrototypeOf,nR=Object.getOwnPropertyDescriptor,rR=Object.freeze,oR=Object.seal,iR=Object.create,aR="undefined"!=typeof Reflect&&Reflect,sR=aR.apply,lR=aR.construct;sR||(sR=function(e,t,n){return e.apply(t,n)}),rR||(rR=function(e){return e}),oR||(oR=function(e){return e}),lR||(lR=function(e,t){return new(Function.prototype.bind.apply(e,[null].concat(function(e){if(Array.isArray(e)){for(var t=0,n=Array(e.length);t<e.length;t++)n[t]=e[t];return n}return Array.from(e)}(t))))});var cR,uR=wR(Array.prototype.forEach),dR=wR(Array.prototype.pop),pR=wR(Array.prototype.push),fR=wR(String.prototype.toLowerCase),hR=wR(String.prototype.match),mR=wR(String.prototype.replace),vR=wR(String.prototype.indexOf),gR=wR(String.prototype.trim),yR=wR(RegExp.prototype.test),bR=(cR=TypeError,function(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];return lR(cR,t)});function wR(e){return function(t){for(var n=arguments.length,r=Array(n>1?n-1:0),o=1;o<n;o++)r[o-1]=arguments[o];return sR(e,t,r)}}function xR(e,t){QN&&QN(e,null);for(var n=t.length;n--;){var r=t[n];if("string"==typeof r){var o=fR(r);o!==r&&(eR(t)||(t[n]=o),r=o)}e[r]=!0}return e}function kR(e){var t=iR(null),n=void 0;for(n in e)sR(JN,e,[n])&&(t[n]=e[n]);return t}function SR(e,t){for(;null!==e;){var n=nR(e,t);if(n){if(n.get)return wR(n.get);if("function"==typeof n.value)return wR(n.value)}e=tR(e)}return function(e){return console.warn("fallback value for",e),null}}var CR=rR(["a","abbr","acronym","address","area","article","aside","audio","b","bdi","bdo","big","blink","blockquote","body","br","button","canvas","caption","center","cite","code","col","colgroup","content","data","datalist","dd","decorator","del","details","dfn","dialog","dir","div","dl","dt","element","em","fieldset","figcaption","figure","font","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","img","input","ins","kbd","label","legend","li","main","map","mark","marquee","menu","menuitem","meter","nav","nobr","ol","optgroup","option","output","p","picture","pre","progress","q","rp","rt","ruby","s","samp","section","select","shadow","small","source","spacer","span","strike","strong","style","sub","summary","sup","table","tbody","td","template","textarea","tfoot","th","thead","time","tr","track","tt","u","ul","var","video","wbr"]),ER=rR(["svg","a","altglyph","altglyphdef","altglyphitem","animatecolor","animatemotion","animatetransform","circle","clippath","defs","desc","ellipse","filter","font","g","glyph","glyphref","hkern","image","line","lineargradient","marker","mask","metadata","mpath","path","pattern","polygon","polyline","radialgradient","rect","stop","style","switch","symbol","text","textpath","title","tref","tspan","view","vkern"]),TR=rR(["feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence"]),OR=rR(["animate","color-profile","cursor","discard","fedropshadow","feimage","font-face","font-face-format","font-face-name","font-face-src","font-face-uri","foreignobject","hatch","hatchpath","mesh","meshgradient","meshpatch","meshrow","missing-glyph","script","set","solidcolor","unknown","use"]),$R=rR(["math","menclose","merror","mfenced","mfrac","mglyph","mi","mlabeledtr","mmultiscripts","mn","mo","mover","mpadded","mphantom","mroot","mrow","ms","mspace","msqrt","mstyle","msub","msup","msubsup","mtable","mtd","mtext","mtr","munder","munderover"]),MR=rR(["maction","maligngroup","malignmark","mlongdiv","mscarries","mscarry","msgroup","mstack","msline","msrow","semantics","annotation","annotation-xml","mprescripts","none"]),AR=rR(["#text"]),DR=rR(["accept","action","align","alt","autocapitalize","autocomplete","autopictureinpicture","autoplay","background","bgcolor","border","capture","cellpadding","cellspacing","checked","cite","class","clear","color","cols","colspan","controls","controlslist","coords","crossorigin","datetime","decoding","default","dir","disabled","disablepictureinpicture","disableremoteplayback","download","draggable","enctype","enterkeyhint","face","for","headers","height","hidden","high","href","hreflang","id","inputmode","integrity","ismap","kind","label","lang","list","loading","loop","low","max","maxlength","media","method","min","minlength","multiple","muted","name","noshade","novalidate","nowrap","open","optimum","pattern","placeholder","playsinline","poster","preload","pubdate","radiogroup","readonly","rel","required","rev","reversed","role","rows","rowspan","spellcheck","scope","selected","shape","size","sizes","span","srclang","start","src","srcset","step","style","summary","tabindex","title","translate","type","usemap","valign","value","width","xmlns","slot"]),LR=rR(["accent-height","accumulate","additive","alignment-baseline","ascent","attributename","attributetype","azimuth","basefrequency","baseline-shift","begin","bias","by","class","clip","clippathunits","clip-path","clip-rule","color","color-interpolation","color-interpolation-filters","color-profile","color-rendering","cx","cy","d","dx","dy","diffuseconstant","direction","display","divisor","dur","edgemode","elevation","end","fill","fill-opacity","fill-rule","filter","filterunits","flood-color","flood-opacity","font-family","font-size","font-size-adjust","font-stretch","font-style","font-variant","font-weight","fx","fy","g1","g2","glyph-name","glyphref","gradientunits","gradienttransform","height","href","id","image-rendering","in","in2","k","k1","k2","k3","k4","kerning","keypoints","keysplines","keytimes","lang","lengthadjust","letter-spacing","kernelmatrix","kernelunitlength","lighting-color","local","marker-end","marker-mid","marker-start","markerheight","markerunits","markerwidth","maskcontentunits","maskunits","max","mask","media","method","mode","min","name","numoctaves","offset","operator","opacity","order","orient","orientation","origin","overflow","paint-order","path","pathlength","patterncontentunits","patterntransform","patternunits","points","preservealpha","preserveaspectratio","primitiveunits","r","rx","ry","radius","refx","refy","repeatcount","repeatdur","restart","result","rotate","scale","seed","shape-rendering","specularconstant","specularexponent","spreadmethod","startoffset","stddeviation","stitchtiles","stop-color","stop-opacity","stroke-dasharray","stroke-dashoffset","stroke-linecap","stroke-linejoin","stroke-miterlimit","stroke-opacity","stroke","stroke-width","style","surfacescale","systemlanguage","tabindex","targetx","targety","transform","text-anchor","text-decoration","text-rendering","textlength","type","u1","u2","unicode","values","viewbox","visibility","version","vert-adv-y","vert-origin-x","vert-origin-y","width","word-spacing","wrap","writing-mode","xchannelselector","ychannelselector","x","x1","x2","xmlns","y","y1","y2","z","zoomandpan"]),NR=rR(["accent","accentunder","align","bevelled","close","columnsalign","columnlines","columnspan","denomalign","depth","dir","display","displaystyle","encoding","fence","frame","height","href","id","largeop","length","linethickness","lspace","lquote","mathbackground","mathcolor","mathsize","mathvariant","maxsize","minsize","movablelimits","notation","numalign","open","rowalign","rowlines","rowspacing","rowspan","rspace","rquote","scriptlevel","scriptminsize","scriptsizemultiplier","selection","separator","separators","stretchy","subscriptshift","supscriptshift","symmetric","voffset","width","xmlns"]),RR=rR(["xlink:href","xml:id","xlink:title","xml:space","xmlns:xlink"]),IR=oR(/\{\{[\s\S]*|[\s\S]*\}\}/gm),PR=oR(/<%[\s\S]*|[\s\S]*%>/gm),ZR=oR(/^data-[\-\w.\u00B7-\uFFFF]/),_R=oR(/^aria-[\-\w]+$/),FR=oR(/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|cid|xmpp):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i),jR=oR(/^(?:\w+script|data):/i),BR=oR(/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g),zR="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};function HR(e){if(Array.isArray(e)){for(var t=0,n=Array(e.length);t<e.length;t++)n[t]=e[t];return n}return Array.from(e)}var UR=function(){return"undefined"==typeof window?null:window};var WR=function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:UR(),n=function(t){return e(t)};if(n.version="2.3.3",n.removed=[],!t||!t.document||9!==t.document.nodeType)return n.isSupported=!1,n;var r=t.document,o=t.document,i=t.DocumentFragment,a=t.HTMLTemplateElement,s=t.Node,l=t.Element,c=t.NodeFilter,u=t.NamedNodeMap,d=void 0===u?t.NamedNodeMap||t.MozNamedAttrMap:u,p=t.Text,f=t.Comment,h=t.DOMParser,m=t.trustedTypes,v=l.prototype,g=SR(v,"cloneNode"),y=SR(v,"nextSibling"),b=SR(v,"childNodes"),w=SR(v,"parentNode");if("function"==typeof a){var x=o.createElement("template");x.content&&x.content.ownerDocument&&(o=x.content.ownerDocument)}var k=function(e,t){if("object"!==(void 0===e?"undefined":zR(e))||"function"!=typeof e.createPolicy)return null;var n=null,r="data-tt-policy-suffix";t.currentScript&&t.currentScript.hasAttribute(r)&&(n=t.currentScript.getAttribute(r));var o="dompurify"+(n?"#"+n:"");try{return e.createPolicy(o,{createHTML:function(e){return e}})}catch(i){return console.warn("TrustedTypes policy "+o+" could not be created."),null}}(m,r),S=k&&te?k.createHTML(""):"",C=o,E=C.implementation,T=C.createNodeIterator,O=C.createDocumentFragment,$=C.getElementsByTagName,M=r.importNode,A={};try{A=kR(o).documentMode?o.documentMode:{}}catch(Ze){}var D={};n.isSupported="function"==typeof w&&E&&void 0!==E.createHTMLDocument&&9!==A;var L=IR,N=PR,R=ZR,I=_R,P=jR,Z=BR,_=FR,F=null,j=xR({},[].concat(HR(CR),HR(ER),HR(TR),HR($R),HR(AR))),B=null,z=xR({},[].concat(HR(DR),HR(LR),HR(NR),HR(RR))),H=null,U=null,W=!0,V=!0,q=!1,G=!1,K=!1,Y=!1,X=!1,J=!1,Q=!1,ee=!0,te=!1,ne=!0,re=!0,oe=!1,ie={},ae=null,se=xR({},["annotation-xml","audio","colgroup","desc","foreignobject","head","iframe","math","mi","mn","mo","ms","mtext","noembed","noframes","noscript","plaintext","script","style","svg","template","thead","title","video","xmp"]),le=null,ce=xR({},["audio","video","img","source","image","track"]),ue=null,de=xR({},["alt","class","for","id","label","name","pattern","placeholder","role","summary","title","value","style","xmlns"]),pe="http://www.w3.org/1998/Math/MathML",fe="http://www.w3.org/2000/svg",he="http://www.w3.org/1999/xhtml",me=he,ve=!1,ge=void 0,ye=["application/xhtml+xml","text/html"],be=void 0,we=null,xe=o.createElement("form"),ke=function(e){we&&we===e||(e&&"object"===(void 0===e?"undefined":zR(e))||(e={}),e=kR(e),F="ALLOWED_TAGS"in e?xR({},e.ALLOWED_TAGS):j,B="ALLOWED_ATTR"in e?xR({},e.ALLOWED_ATTR):z,ue="ADD_URI_SAFE_ATTR"in e?xR(kR(de),e.ADD_URI_SAFE_ATTR):de,le="ADD_DATA_URI_TAGS"in e?xR(kR(ce),e.ADD_DATA_URI_TAGS):ce,ae="FORBID_CONTENTS"in e?xR({},e.FORBID_CONTENTS):se,H="FORBID_TAGS"in e?xR({},e.FORBID_TAGS):{},U="FORBID_ATTR"in e?xR({},e.FORBID_ATTR):{},ie="USE_PROFILES"in e&&e.USE_PROFILES,W=!1!==e.ALLOW_ARIA_ATTR,V=!1!==e.ALLOW_DATA_ATTR,q=e.ALLOW_UNKNOWN_PROTOCOLS||!1,G=e.SAFE_FOR_TEMPLATES||!1,K=e.WHOLE_DOCUMENT||!1,J=e.RETURN_DOM||!1,Q=e.RETURN_DOM_FRAGMENT||!1,ee=!1!==e.RETURN_DOM_IMPORT,te=e.RETURN_TRUSTED_TYPE||!1,X=e.FORCE_BODY||!1,ne=!1!==e.SANITIZE_DOM,re=!1!==e.KEEP_CONTENT,oe=e.IN_PLACE||!1,_=e.ALLOWED_URI_REGEXP||_,me=e.NAMESPACE||he,ge=ge=-1===ye.indexOf(e.PARSER_MEDIA_TYPE)?"text/html":e.PARSER_MEDIA_TYPE,be="application/xhtml+xml"===ge?function(e){return e}:fR,G&&(V=!1),Q&&(J=!0),ie&&(F=xR({},[].concat(HR(AR))),B=[],!0===ie.html&&(xR(F,CR),xR(B,DR)),!0===ie.svg&&(xR(F,ER),xR(B,LR),xR(B,RR)),!0===ie.svgFilters&&(xR(F,TR),xR(B,LR),xR(B,RR)),!0===ie.mathMl&&(xR(F,$R),xR(B,NR),xR(B,RR))),e.ADD_TAGS&&(F===j&&(F=kR(F)),xR(F,e.ADD_TAGS)),e.ADD_ATTR&&(B===z&&(B=kR(B)),xR(B,e.ADD_ATTR)),e.ADD_URI_SAFE_ATTR&&xR(ue,e.ADD_URI_SAFE_ATTR),e.FORBID_CONTENTS&&(ae===se&&(ae=kR(ae)),xR(ae,e.FORBID_CONTENTS)),re&&(F["#text"]=!0),K&&xR(F,["html","head","body"]),F.table&&(xR(F,["tbody"]),delete H.tbody),rR&&rR(e),we=e)},Se=xR({},["mi","mo","mn","ms","mtext"]),Ce=xR({},["foreignobject","desc","title","annotation-xml"]),Ee=xR({},ER);xR(Ee,TR),xR(Ee,OR);var Te=xR({},$R);xR(Te,MR);var Oe=function(e){pR(n.removed,{element:e});try{e.parentNode.removeChild(e)}catch(Ze){try{e.outerHTML=S}catch(Ze){e.remove()}}},$e=function(e,t){try{pR(n.removed,{attribute:t.getAttributeNode(e),from:t})}catch(Ze){pR(n.removed,{attribute:null,from:t})}if(t.removeAttribute(e),"is"===e&&!B[e])if(J||Q)try{Oe(t)}catch(Ze){}else try{t.setAttribute(e,"")}catch(Ze){}},Me=function(e){var t=void 0,n=void 0;if(X)e="<remove></remove>"+e;else{var r=hR(e,/^[\r\n\t ]+/);n=r&&r[0]}"application/xhtml+xml"===ge&&(e='<html xmlns="http://www.w3.org/1999/xhtml"><head></head><body>'+e+"</body></html>");var i=k?k.createHTML(e):e;if(me===he)try{t=(new h).parseFromString(i,ge)}catch(Ze){}if(!t||!t.documentElement){t=E.createDocument(me,"template",null);try{t.documentElement.innerHTML=ve?"":i}catch(Ze){}}var a=t.body||t.documentElement;return e&&n&&a.insertBefore(o.createTextNode(n),a.childNodes[0]||null),me===he?$.call(t,K?"html":"body")[0]:K?t.documentElement:a},Ae=function(e){return T.call(e.ownerDocument||e,e,c.SHOW_ELEMENT|c.SHOW_COMMENT|c.SHOW_TEXT,null,!1)},De=function(e){return"object"===(void 0===s?"undefined":zR(s))?e instanceof s:e&&"object"===(void 0===e?"undefined":zR(e))&&"number"==typeof e.nodeType&&"string"==typeof e.nodeName},Le=function(e,t,r){D[e]&&uR(D[e],(function(e){e.call(n,t,r,we)}))},Ne=function(e){var t,r=void 0;if(Le("beforeSanitizeElements",e,null),!((t=e)instanceof p||t instanceof f||"string"==typeof t.nodeName&&"string"==typeof t.textContent&&"function"==typeof t.removeChild&&t.attributes instanceof d&&"function"==typeof t.removeAttribute&&"function"==typeof t.setAttribute&&"string"==typeof t.namespaceURI&&"function"==typeof t.insertBefore))return Oe(e),!0;if(hR(e.nodeName,/[\u0080-\uFFFF]/))return Oe(e),!0;var o=be(e.nodeName);if(Le("uponSanitizeElement",e,{tagName:o,allowedTags:F}),!De(e.firstElementChild)&&(!De(e.content)||!De(e.content.firstElementChild))&&yR(/<[/\w]/g,e.innerHTML)&&yR(/<[/\w]/g,e.textContent))return Oe(e),!0;if("select"===o&&yR(/<template/i,e.innerHTML))return Oe(e),!0;if(!F[o]||H[o]){if(re&&!ae[o]){var i=w(e)||e.parentNode,a=b(e)||e.childNodes;if(a&&i)for(var s=a.length-1;s>=0;--s)i.insertBefore(g(a[s],!0),y(e))}return Oe(e),!0}return e instanceof l&&!function(e){var t=w(e);t&&t.tagName||(t={namespaceURI:he,tagName:"template"});var n=fR(e.tagName),r=fR(t.tagName);if(e.namespaceURI===fe)return t.namespaceURI===he?"svg"===n:t.namespaceURI===pe?"svg"===n&&("annotation-xml"===r||Se[r]):Boolean(Ee[n]);if(e.namespaceURI===pe)return t.namespaceURI===he?"math"===n:t.namespaceURI===fe?"math"===n&&Ce[r]:Boolean(Te[n]);if(e.namespaceURI===he){if(t.namespaceURI===fe&&!Ce[r])return!1;if(t.namespaceURI===pe&&!Se[r])return!1;var o=xR({},["title","style","font","a","script"]);return!Te[n]&&(o[n]||!Ee[n])}return!1}(e)?(Oe(e),!0):"noscript"!==o&&"noembed"!==o||!yR(/<\/no(script|embed)/i,e.innerHTML)?(G&&3===e.nodeType&&(r=e.textContent,r=mR(r,L," "),r=mR(r,N," "),e.textContent!==r&&(pR(n.removed,{element:e.cloneNode()}),e.textContent=r)),Le("afterSanitizeElements",e,null),!1):(Oe(e),!0)},Re=function(e,t,n){if(ne&&("id"===t||"name"===t)&&(n in o||n in xe))return!1;if(V&&!U[t]&&yR(R,t));else if(W&&yR(I,t));else{if(!B[t]||U[t])return!1;if(ue[t]);else if(yR(_,mR(n,Z,"")));else if("src"!==t&&"xlink:href"!==t&&"href"!==t||"script"===e||0!==vR(n,"data:")||!le[e]){if(q&&!yR(P,mR(n,Z,"")));else if(n)return!1}else;}return!0},Ie=function(e){var t=void 0,r=void 0,o=void 0,i=void 0;Le("beforeSanitizeAttributes",e,null);var a=e.attributes;if(a){var s={attrName:"",attrValue:"",keepAttr:!0,allowedAttributes:B};for(i=a.length;i--;){var l=t=a[i],c=l.name,u=l.namespaceURI;if(r=gR(t.value),o=be(c),s.attrName=o,s.attrValue=r,s.keepAttr=!0,s.forceKeepAttr=void 0,Le("uponSanitizeAttribute",e,s),r=s.attrValue,!s.forceKeepAttr&&($e(c,e),s.keepAttr))if(yR(/\/>/i,r))$e(c,e);else{G&&(r=mR(r,L," "),r=mR(r,N," "));var d=be(e.nodeName);if(Re(d,o,r))try{u?e.setAttributeNS(u,c,r):e.setAttribute(c,r),dR(n.removed)}catch(Ze){}}}Le("afterSanitizeAttributes",e,null)}},Pe=function e(t){var n=void 0,r=Ae(t);for(Le("beforeSanitizeShadowDOM",t,null);n=r.nextNode();)Le("uponSanitizeShadowNode",n,null),Ne(n)||(n.content instanceof i&&e(n.content),Ie(n));Le("afterSanitizeShadowDOM",t,null)};return n.sanitize=function(e,o){var a=void 0,l=void 0,c=void 0,u=void 0,d=void 0;if((ve=!e)&&(e="\x3c!--\x3e"),"string"!=typeof e&&!De(e)){if("function"!=typeof e.toString)throw bR("toString is not a function");if("string"!=typeof(e=e.toString()))throw bR("dirty is not a string, aborting")}if(!n.isSupported){if("object"===zR(t.toStaticHTML)||"function"==typeof t.toStaticHTML){if("string"==typeof e)return t.toStaticHTML(e);if(De(e))return t.toStaticHTML(e.outerHTML)}return e}if(Y||ke(o),n.removed=[],"string"==typeof e&&(oe=!1),oe);else if(e instanceof s)1===(l=(a=Me("\x3c!----\x3e")).ownerDocument.importNode(e,!0)).nodeType&&"BODY"===l.nodeName||"HTML"===l.nodeName?a=l:a.appendChild(l);else{if(!J&&!G&&!K&&-1===e.indexOf("<"))return k&&te?k.createHTML(e):e;if(!(a=Me(e)))return J?null:S}a&&X&&Oe(a.firstChild);for(var p=Ae(oe?e:a);c=p.nextNode();)3===c.nodeType&&c===u||Ne(c)||(c.content instanceof i&&Pe(c.content),Ie(c),u=c);if(u=null,oe)return e;if(J){if(Q)for(d=O.call(a.ownerDocument);a.firstChild;)d.appendChild(a.firstChild);else d=a;return ee&&(d=M.call(r,d,!0)),d}var f=K?a.outerHTML:a.innerHTML;return G&&(f=mR(f,L," "),f=mR(f,N," ")),k&&te?k.createHTML(f):f},n.setConfig=function(e){ke(e),Y=!0},n.clearConfig=function(){we=null,Y=!1},n.isValidAttribute=function(e,t,n){we||ke({});var r=be(e),o=be(t);return Re(r,o,n)},n.addHook=function(e,t){"function"==typeof t&&(D[e]=D[e]||[],pR(D[e],t))},n.removeHook=function(e){D[e]&&dR(D[e])},n.removeHooks=function(e){D[e]&&(D[e]=[])},n.removeAllHooks=function(){D={}},n}(),VR=["iframe","embed"],qR=[];function GR(e){eO(VR,e)&&qR.push(e.toLowerCase())}function KR(e,t){return WR.sanitize(e,rT({ADD_TAGS:qR,ADD_ATTR:["rel","target","hreflang","type"],FORBID_TAGS:["input","script","textarea","form","button","select","meta","style","link","title","object","base"]},t))}function YR(e,t){return e.literal.replace(new RegExp("(<\\s*"+t+"[^>]*>)|(</"+t+"\\s*[>])","ig"),"").trim()}function XR(e){var t=(e=e.match(c$)[0]).match(new RegExp(a$,"g"));return t?t.reduce((function(e,t){var n=t.trim().split("="),r=n[0],o=n.slice(1);return o.length&&(e[r]=o.join("=").replace(/'|"/g,"").trim()),e}),{}):{}}function JR(e){return gO(e.attributes).reduce((function(e,t){return e[t.nodeName]=t.nodeValue,e}),{})}function QR(e,t,n,r){var o=r.getToDOMNode(t)(e),i=n(o.outerHTML),a=document.createElement("div");return a.innerHTML=i,{dom:o=a.firstChild,htmlAttrs:JR(o)}}var eI={htmlBlock:function(e,t,n){return{atom:!0,content:"block+",group:"block",attrs:{htmlAttrs:{default:{}},childrenHTML:{default:""},htmlBlock:{default:!0}},parseDOM:[{tag:e,getAttrs:function(e){return{htmlAttrs:JR(e),childrenHTML:e.innerHTML}}}],toDOM:function(r){var o=QR(r,e,t,n),i=o.dom,a=o.htmlAttrs;return a.class=a.class?a.class+" html-block":"html-block",oT([e,a],gO(i.childNodes))}}},htmlInline:function(e,t,n){return{attrs:{htmlAttrs:{default:{}},htmlInline:{default:!0}},parseDOM:[{tag:e,getAttrs:function(e){return{htmlAttrs:JR(e)}}}],toDOM:function(r){var o=QR(r,e,t,n).htmlAttrs;return[e,o,0]}}}};var tI=/^\s*<\s*\//,nI={paragraph:function(e,t){var n=t.entering,r=t.origin;return t.options.nodeId?{type:n?"openTag":"closeTag",outerNewLine:!0,tagName:"p"}:r()},softbreak:function(e){return{type:"html",content:e.prev&&"htmlInline"===e.prev.type&&/<br ?\/?>/.test(e.prev.literal)?"\n":"<br>\n"}},item:function(e,t){if(t.entering){var n={},r=[];return e.listData.task&&(n["data-task"]="",r.push("task-list-item"),e.listData.checked&&(r.push("checked"),n["data-task-checked"]="")),{type:"openTag",tagName:"li",classNames:r,attributes:n,outerNewLine:!0}}return{type:"closeTag",tagName:"li",outerNewLine:!0}},code:function(e){return[{type:"openTag",tagName:"code",attributes:{"data-backticks":String(e.tickCount)}},{type:"text",content:e.literal},{type:"closeTag",tagName:"code"}]},codeBlock:function(e){var t=e,n=t.fenceLength,r=t.info,o=r?r.split(/\s+/):[],i=[],a={};if(n>3&&(a["data-backticks"]=n),o.length>0&&o[0].length>0){var s=o[0];i.push("lang-"+s),a["data-language"]=s}return[{type:"openTag",tagName:"pre",classNames:i},{type:"openTag",tagName:"code",attributes:a},{type:"text",content:e.literal},{type:"closeTag",tagName:"code"},{type:"closeTag",tagName:"pre"}]},customInline:function(e,t){var n=t.origin,r=t.entering,o=t.skipChildren,i=e.info;return-1!==i.indexOf("widget")&&r?(o(),[{type:"openTag",tagName:"span",classNames:["tui-widget"]},{type:"html",content:UO(i,KO(e)).outerHTML},{type:"closeTag",tagName:"span"}]):n()}};function rI(e,t){var n=rT({},nI);return e&&(n.link=function(t,n){var r=n.entering,o=(0,n.origin)();return r&&(o.attributes=rT(rT({},o.attributes),e)),o}),t&&Object.keys(t).forEach((function(e){var r=n[e],o=t[e];r&&P$(o)?n[e]=function(e,t){var n=rT({},t);return n.origin=function(){return r(e,t)},o(e,n)}:eO(["htmlBlock","htmlInline"],e)&&!P$(o)?n[e]=function(e,t){var n=e.literal.match(c$);if(n){var r=n[0],i=n[1],a=n[3],s=(i||a).toLowerCase(),l=o[s],c=YR(e,s);if(l){var u=rT({},e);return u.attrs=XR(r),u.childrenHTML=c,u.type=s,t.entering=!tI.test(e.literal),l(u,t)}}return t.origin()}:n[e]=o})),n}var oI=["list","item","blockQuote"],iI=["UL","OL","BLOCKQUOTE"];function aI(e,t){var n,r=e.child(t);return!r.childCount||1===r.childCount&&!(null===(n=r.firstChild.text)||void 0===n?void 0:n.trim())}function sI(e,t,n){var r=CO(t)-1,o=EO(t)-1,i=n[r].getBoundingClientRect(),a=n[o].offsetTop-n[r].offsetTop+n[o].clientHeight;return{height:a<=0?n[r].clientHeight:a+lI(e,n,Math.min(o+1,e.childCount-1)),rect:i}}function lI(e,t,n){for(var r=e.childCount-1,o=0;n<=r&&aI(e,n);)o+=t[n].clientHeight,n+=1;return o}function cI(e,t){for(var n=0;e&&e!==t&&(eO(iI,e.tagName)||(n+=e.offsetTop),e.offsetParent!==t.offsetParent);)e=e.parentElement;return n}function uI(e,t,n){return e&&t>n+e.offsetTop?uI(e.nextElementSibling,t,n)||e:null}function dI(e,t){for(var n=e.querySelector('[data-nodeid="'+t.id+'"]');!n||$O(t);)t=t.parent,n=e.querySelector('[data-nodeid="'+t.id+'"]');return function(e){var t=e.mdNode,n=e.el;for(;(eO(oI,t.type)||"table"===t.type)&&t.firstChild;)t=t.firstChild,n=n.firstElementChild;return{mdNode:t,el:n}}({mdNode:t,el:n})}var pI={};function fI(e){e&&(delete pI[Number(e.getAttribute("data-nodeid"))],gO(e.children).forEach((function(e){fI(e)})))}function hI(e,t,n){var r,o=pI[r=n]&&pI[r].height,i=function(e){return pI[e]&&pI[e].offsetTop}(n),a=o||e.clientHeight,s=i||cI(e,t)||e.offsetTop;return o||function(e,t){pI[e]=pI[e]||{},pI[e].height=t}(n,a),i||function(e,t){pI[e]=pI[e]||{},pI[e].offsetTop=t}(n,s),{nodeHeight:a,offsetTop:s}}var mI=m$("md-preview-highlight");var vI=function(){function e(e,t){var n=document.createElement("div");this.el=n,this.eventEmitter=e,this.isViewer=!!t.isViewer,this.el.className=m$("md-preview");var r=t.linkAttributes,o=t.customHTMLRenderer,i=t.sanitizer,a=t.highlight,s=void 0!==a&&a;this.renderer=new XN({gfm:!0,nodeId:!0,convertors:rI(r,o)}),this.cursorNodeId=null,this.sanitizer=i,this.initEvent(s),this.initContentSection(),this.isViewer&&(this.previewContent.style.overflowWrap="break-word")}return e.prototype.initContentSection=function(){this.previewContent=w$('<div class="'+m$("contents")+'"></div>'),this.isViewer||this.el.appendChild(this.previewContent)},e.prototype.toggleActive=function(e){b$(this.el,"active",e)},e.prototype.initEvent=function(e){var t=this;this.eventEmitter.listen("updatePreview",this.update.bind(this)),this.isViewer||(e&&(this.eventEmitter.listen("changeToolbarState",(function(e){var n=e.mdNode,r=e.cursorPos;t.updateCursorNode(n,r)})),this.eventEmitter.listen("blur",(function(){t.removeHighlight()}))),ZA(this.el,"scroll",(function(e){t.eventEmitter.emit("scroll","preview",function(e,t){for(var n=t,r=null;n;){var o=n.firstElementChild;if(!o)break;r=n,n=uI(o,e,cI(n,t))}var i=n||r;return i===t?null:i}(e.target.scrollTop,t.previewContent))})),this.eventEmitter.listen("changePreviewTabPreview",(function(){return t.toggleActive(!0)})),this.eventEmitter.listen("changePreviewTabWrite",(function(){return t.toggleActive(!1)})))},e.prototype.removeHighlight=function(){if(this.cursorNodeId){var e=this.getElementByNodeId(this.cursorNodeId);e&&IT(e,mI)}},e.prototype.updateCursorNode=function(e,t){e&&("tableRow"===(e=NO(e,(function(e){return!function(e){switch(e.type){case"code":case"text":case"emph":case"strong":case"strike":case"link":case"image":case"htmlInline":case"linebreak":case"softbreak":case"customInline":return!0;default:return!1}}(e)}))).type?e=function(e,t){for(var n=e.firstChild;n&&n.next&&!(TO(n.next)>t+1);)n=n.next;return n}(e,t[1]):"tableBody"===e.type&&(e=null));var n=e?e.id:null;if(this.cursorNodeId!==n){var r=this.getElementByNodeId(this.cursorNodeId),o=this.getElementByNodeId(n);r&&IT(r,mI),o&&AT(o,mI),this.cursorNodeId=n}},e.prototype.getElementByNodeId=function(e){return e?this.previewContent.querySelector('[data-nodeid="'+e+'"]'):null},e.prototype.update=function(e){var t=this;e.forEach((function(e){return t.replaceRangeNodes(e)})),this.eventEmitter.emit("afterPreviewRender",this)},e.prototype.replaceRangeNodes=function(e){var t=this,n=e.nodes,r=e.removedNodeRange,o=this.previewContent,i=this.eventEmitter.emitReduce("beforePreviewRender",this.sanitizer(n.map((function(e){return t.renderer.render(e)})).join("")));if(r){var a=r.id,s=a[0],l=a[1],c=this.getElementByNodeId(s),u=this.getElementByNodeId(l);if(c){c.insertAdjacentHTML("beforebegin",i);for(var d=c;d&&d!==u;){var p=d.nextElementSibling;y$(d),fI(d),d=p}(null==d?void 0:d.parentNode)&&(y$(d),fI(d))}}else o.insertAdjacentHTML("afterbegin",i)},e.prototype.getRenderer=function(){return this.renderer},e.prototype.destroy=function(){LA(this.el,"scroll"),this.el=null},e.prototype.getElement=function(){return this.el},e.prototype.getHTML=function(){return E$(this.previewContent.innerHTML)},e.prototype.setHTML=function(e){this.previewContent.innerHTML=e},e.prototype.setHeight=function(e){gT(this.el,{height:e+"px"})},e.prototype.setMinHeight=function(e){gT(this.el,{minHeight:e+"px"})},e}();function gI(e,t){for(var n=e.depth;n;){var r=e.node(n);if(t(r,n))return{node:r,depth:n,offset:n>0?e.before(n):0};n-=1}return null}function yI(e){return!!gI(e,(function(e){var t=e.type;return"listItem"===t.name||"bulletList"===t.name||"orderedList"===t.name}))}function bI(e){return!!gI(e,(function(e){var t=e.type;return"tableHeadCell"===t.name||"tableBodyCell"===t.name}))}function wI(e){return gI(e,(function(e){return"listItem"===e.type.name}))}function xI(e){return{tag:e,getAttrs:function(e){var t=e.getAttribute("data-raw-html");return rT({},t&&{rawHTML:t})}}}function kI(e){return Object.keys(e).reduce((function(t,n){return"rawHTML"!==n&&e[n]&&(t[n="className"===n?"class":n]=e[n]),t}),{})}function SI(e){return{tag:e,getAttrs:function(e){return["rawHTML","colspan","rowspan","extended"].reduce((function(t,n){var r="rawHTML"===n?"data-raw-html":n,o=e.getAttribute(r);return o&&(t[n]=eO(["rawHTML","extended"],n)?o:Number(o)),t}),{})}}}function CI(e){var t=e.htmlAttrs,n=e.classNames;return rT(rT({},t),{class:n?n.join(" "):null})}function EI(e,t,n,r){var o=t.$from,i=t.$to,a=t.depth,s=t,l=!1;if(a>=2&&o.node(a-1).type.compatibleContent(n)&&0===t.startIndex&&o.index(a-1)){var c=e.doc.resolve(t.start-2);s=new Gb(c,c,a),t.endIndex<t.parent.childCount&&(t=new Gb(o,e.doc.resolve(i.end(a)),a)),l=!0}var u=function(e,t,n,r){var o=function(e,t){var n=e.parent,r=e.startIndex,o=e.endIndex,i=n.contentMatchAt(r).findWrapping(t);if(i){var a=i.length?i[0]:t;return n.canReplaceWith(r,o,a)?i:null}return null}(e,n),i=function(e,t){var n=e.parent,r=e.startIndex,o=e.endIndex,i=n.child(r),a=t.contentMatch.findWrapping(i.type);if(a){for(var s=(a.length?a[a.length-1]:t).contentMatch,l=r;s&&l<o;l+=1)s=s.matchType(n.child(l).type);if(s&&s.validEnd)return a}return null}(t,n);if(o&&i){var a=o.map((function(e){return{type:e}})),s=i.map((function(e){return{type:e,attrs:r}}));return a.concat({type:n}).concat(s)}return null}(s,t,n,r);return u?function(e,t,n,r,o){for(var i=t.start,a=t.end,s=t.startIndex,l=t.endIndex,c=t.parent,u=Tb.empty,d=n.length-1;d>=0;d-=1)u=Tb.from(n[d].type.create(n[d].attrs,u));e.step(new Uw(i-(r?2:0),a,i,a,new Lb(u,0,0),n.length,!0));var p=0;for(d=0;d<n.length;d+=1)if(n[d].type===o){p=d+1;break}for(var f=n.length-p,h=i+n.length-(r?2:0),m=(d=s,l);d<m;d+=1)!(d===s)&&Kw(e.doc,h,f)&&(e.split(h,f),h+=2*f),h+=c.child(d).nodeSize;return e}(e,t,u,l,n):e}function TI(e,t){for(var n=e.resolve(t);"paragraph"!==n.node().type.name;)t-=2,n=e.resolve(t);return wI(n)}function OI(e){return function(t,n){var r=t.selection,o=t.tr,i=r.$from,a=r.$to,s=i.blockRange(a);if(s){var l=yI(i)?function(e,t,n){var r=t.$from,o=t.$to,i=wI(r),a=wI(o);if(i&&a)for(;a;){var s=a.offset,l=a.node,c=a.depth;l.attrs.task&&e.setNodeMarkup(s,null,{task:!1,checked:!1});var u=e.doc.resolve(s);if(u.parent.type!==n){var d=u.before(c-1);e.setNodeMarkup(d,n)}if(s===i.offset)break;a=TI(e.doc,s)}return e}(o,s,e):EI(o,s,e);return n(l),!0}return!1}}function $I(){return function(e,t){var n=e.selection,r=e.tr,o=e.schema,i=n.$from,a=n.$to,s=i.blockRange(a);if(s){var l=yI(i)?function(e,t){var n=t.$from,r=t.$to,o=wI(n),i=wI(r);if(o&&i)for(;i;){var a=i.offset,s={task:!i.node.attrs.task,checked:!1};if(e.setNodeMarkup(a,null,s),a===o.offset)break;i=TI(e.doc,a)}return e}(r,s):EI(r,s,o.nodes.bulletList,{task:!0});return t(l),!0}return!1}}function MI(e){return function(t,n){var r=t.tr,o=t.selection,i=o.$from,a=o.$to,s=i.blockRange(a,(function(t){var n=t.childCount,r=t.firstChild;return!!n&&r.type===e}));if(s){var l=i.node(s.depth-1).type===e?function(e,t,n){var r=t.$from,o=t.$to,i=t.end,a=t.depth,s=t.parent,l=o.end(a);return i<l&&(e.step(new Uw(i-1,l,i,l,new Lb(Tb.from(n.create(null,s.copy())),1,0),1,!0)),t=new Gb(e.doc.resolve(r.pos),e.doc.resolve(l),a)),e.lift(t,qw(t)),e}(r,s,e):function(e,t){for(var n=t.parent,r=t.end,o=t.endIndex-1,i=t.startIndex;o>i;o-=1)r-=n.child(o).nodeSize,e.delete(r-1,r+1);var a=e.doc.resolve(t.start),s=a.nodeAfter,l=0===t.startIndex,c=t.endIndex===n.childCount,u=a.node(-1),d=a.index(-1),p=u.canReplace(d+(l?0:1),d+1,null==s?void 0:s.content.append(c?Tb.empty:Tb.from(n)));if(s&&p){var f=a.pos,h=f+s.nodeSize;e.step(new Uw(f-(l?1:0),h+(c?1:0),f+1,h-1,new Lb((l?Tb.empty:Tb.from(n.copy(Tb.empty))).append(c?Tb.empty:Tb.from(n.copy(Tb.empty))),l?0:1,c?0:1),l?0:1))}return e}(r,s);return n(l),!0}return!1}}function AI(){return function(){return function(e,t){var n=e.selection,r=e.schema,o=n.$from,i=n.$to;return!(!o.blockRange(i)||!yI(o))&&function(e){return function(t,n){var r=t.tr,o=t.selection,i=o.$from,a=o.$to,s=i.blockRange(a,(function(t){var n=t.childCount,r=t.firstChild;return!!n&&r.type===e}));if(s&&s.startIndex>0){var l=s.parent,c=l.child(s.startIndex-1);if(c.type!==e)return!1;var u=c.lastChild&&c.lastChild.type===l.type,d=u?Tb.from(e.create()):null,p=new Lb(Tb.from(e.create(null,Tb.from(l.type.create(null,d)))),u?3:1,0),f=s.start,h=s.end;return r.step(new Uw(f-(u?3:1),h,f,h,p,1,!0)),n(r),!0}return!1}}(r.nodes.listItem)(e,t)}}}function DI(){return{indent:AI(),outdent:function(){return function(e,t){var n=e.selection,r=e.schema,o=n.$from,i=n.$to;return!(!o.blockRange(i)||!yI(o))&&MI(r.nodes.listItem)(e,t)}}}}var LI=new Map,NI=function(){function e(e,t,n,r){this.table=e,this.tableRows=t,this.tableStartPos=n,this.rowInfo=r}return e.create=function(t){var n=gI(t,(function(e){return"table"===e.type.name}));if(n){var r=n.node,o=n.depth,i=n.offset,a=LI.get(r);if((null==a?void 0:a.tableStartPos)===i+1)return a;var s=[],l=t.start(o),c=r.child(0),u=r.child(1),d=RI(c,l),p=RI(u,l+c.nodeSize);c.forEach((function(e){return s.push(e)})),u.forEach((function(e){return s.push(e)}));var f=new e(r,s,l,d.concat(p));return LI.set(r,f),f}return null},Object.defineProperty(e.prototype,"totalRowCount",{get:function(){return this.rowInfo.length},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"totalColumnCount",{get:function(){return this.rowInfo[0].length},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"tableStartOffset",{get:function(){return this.tableStartPos},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"tableEndOffset",{get:function(){return this.tableStartPos+this.table.nodeSize-1},enumerable:!1,configurable:!0}),e.prototype.getCellInfo=function(e,t){return this.rowInfo[e][t]},e.prototype.posAt=function(e,t){for(var n=0,r=this.tableStartPos;;n+=1){var o=r+this.tableRows[n].nodeSize;if(n===e){for(var i=t;i<this.totalColumnCount&&this.rowInfo[n][i].offset<r;)i+=1;return i===this.totalColumnCount?o:this.rowInfo[n][i].offset}r=o}},e.prototype.getNodeAndPos=function(e,t){var n=this.rowInfo[e][t];return{node:this.table.nodeAt(n.offset-this.tableStartOffset),pos:n.offset}},e.prototype.extendedRowspan=function(e,t){return!1},e.prototype.extendedColspan=function(e,t){return!1},e.prototype.getRowspanCount=function(e,t){return 0},e.prototype.getColspanCount=function(e,t){return 0},e.prototype.decreaseColspanCount=function(e,t){return 0},e.prototype.decreaseRowspanCount=function(e,t){return 0},e.prototype.getColspanStartInfo=function(e,t){return null},e.prototype.getRowspanStartInfo=function(e,t){return null},e.prototype.getCellStartOffset=function(e,t){var n=this.rowInfo[e][t].offset;return this.extendedRowspan(e,t)?this.posAt(e,t):n},e.prototype.getCellEndOffset=function(e,t){var n=this.rowInfo[e][t],r=n.offset,o=n.nodeSize;return this.extendedRowspan(e,t)?this.posAt(e,t):r+o},e.prototype.getCellIndex=function(e){for(var t=0;t<this.totalRowCount;t+=1)for(var n=this.rowInfo[t],r=0;r<this.totalColumnCount;r+=1)if(n[r].offset+1>e.pos)return[t,r];return[0,0]},e.prototype.getRectOffsets=function(e,t){var n,r,o;void 0===t&&(t=e),e.pos>t.pos&&(e=(n=[t,e])[0],t=n[1]);var i=this.getCellIndex(e),a=i[0],s=i[1],l=this.getCellIndex(t),c=l[0],u=l[1];return a=(r=mO(a,c))[0],c=r[1],s=(o=mO(s,u))[0],u=o[1],this.getSpannedOffsets({startRowIdx:a,startColIdx:s,endRowIdx:c,endColIdx:u})},e.prototype.getSpannedOffsets=function(e){return e},e}(),RI=function(e,t){var n=[];return e.forEach((function(e,r){var o={rowspanMap:{},colspanMap:{},length:0};e.forEach((function(e,n){for(var i=e.nodeSize,a=0;o[a];)a+=1;o[a]={offset:t+r+n+2,nodeSize:i},o.length+=1})),n.push(o)})),n};function II(e,t){return hO(NI.prototype,e),RI=t,NI}var PI=function(e){function t(t,n){void 0===n&&(n=t);var r=this,o=t.node(0),i=NI.create(t),a=i.getRectOffsets(t,n),s=function(e,t,n){for(var r=n.startRowIdx,o=n.startColIdx,i=n.endRowIdx,a=n.endColIdx,s=[],l=r;l<=i;l+=1)for(var c=o;c<=a;c+=1){var u=t.getCellInfo(l,c),d=u.offset,p=u.nodeSize;s.push(new hx(e.resolve(d+1),e.resolve(d+p-1)))}return s}(o,i,a);return(r=e.call(this,s[0].$from,s[0].$to,s)||this).startCell=t,r.endCell=n,r.offsetMap=i,r.isCellSelection=!0,r.visible=!1,r}return nT(t,e),t.prototype.map=function(e,n){var r=this.startCell.pos,o=this.endCell.pos,i=e.resolve(n.map(r)),a=e.resolve(n.map(o)),s=NI.create(i);if(this.offsetMap.totalColumnCount>s.totalColumnCount||this.offsetMap.totalRowCount>s.totalRowCount){var l={tableBody:1,tableRow:2,tableCell:3,paragraph:4}[a.parent.type.name],c=a.end(a.depth-l),u=Math.min(c-4,a.pos);return gx.create(e,u)}return new t(i,a)},t.prototype.eq=function(e){return e instanceof t&&e.startCell.pos===this.startCell.pos&&e.endCell.pos===this.endCell.pos},t.prototype.content=function(){for(var e=this.startCell.node(-2),t=this.startCell.start(-2),n=e.child(1).firstChild,r=e.child(0).type.create(),o=e.child(1).type.create(),i=NI.create(this.startCell),a=i.getRectOffsets(this.startCell,this.endCell),s=a.startRowIdx,l=a.startColIdx,c=a.endRowIdx,u=a.endColIdx,d=!1,p=s;p<=c;p+=1){for(var f=[],h=l;h<=u;h+=1){var m=i.getCellInfo(p,h).offset,v=e.nodeAt(m-t);v&&(d="tableHeadCell"===v.type.name,i.extendedRowspan(p,h)||i.extendedColspan(p,h)?f.push(v.type.create({extended:!0})):f.push(v.copy(v.content)))}var g=n.copy(Tb.from(f)),y=d?r:o;y.content=y.content.append(Tb.from(g))}return new Lb(function(e,t){var n=[];return e.childCount&&n.push(e),t.childCount&&n.push(t),Tb.from(n)}(r,o),1,1)},t.prototype.toJSON=function(){return JSON.stringify(this)},t}(fx);function ZI(e,t,n,r){for(var o=n.nodes,i=o.tableRow,a=o.tableBodyCell,s=o.paragraph,l=[],c=0;c<e;c+=1){for(var u=[],d=0;d<t;d+=1){var p=r&&r[c*t+d],f=s.create(null,p?n.text(p):[]);u.push(a.create(null,f))}l.push(i.create(null,u))}return l}function _I(e,t,n,r){void 0===r&&(r=null);for(var o=n.nodes,i=o.tableHeadCell,a=o.tableBodyCell,s=o.paragraph,l=0===t?i:a,c=[],u=0;u<e;u+=1)c.push(l.create(r,s.create()));return c}function FI(e,t){for(;e&&e!==t;){if("TD"===e.nodeName||"TH"===e.nodeName)return e;e=e.parentNode}return null}function jI(e){return gI(e,(function(e){var t=e.type;return"tableHeadCell"===t.name||"tableBodyCell"===t.name}))}function BI(e){if(e instanceof gx){var t=e.$anchor,n=jI(t);if(n){var r=t.node(0).resolve(t.before(n.depth));return{anchor:r,head:r}}}var o=e;return{anchor:o.startCell,head:o.endCell}}function zI(e){var t;if(e.size){var n=e.content,r=e.openStart,o=e.openEnd;if(1!==n.childCount)return null;for(;1===n.childCount&&(r>0&&o>0||"table"===(null===(t=n.firstChild)||void 0===t?void 0:t.type.name));)r-=1,o-=1,n=n.firstChild.content;if("tableHead"===n.firstChild.type.name||"tableBody"===n.firstChild.type.name)return n}return null}function HI(e){var t=e.startRowIdx,n=e.startColIdx;return{rowCount:e.endRowIdx-t+1,columnCount:e.endColIdx-n+1}}function UI(e,t){return rT(rT({},e.attrs),t)}var WI=new Ix("cellSelection"),VI=function(){function e(e){this.view=e,this.handlers={mousedown:this.handleMousedown.bind(this),mousemove:this.handleMousemove.bind(this),mouseup:this.handleMouseup.bind(this)},this.startCellPos=null,this.init()}return e.prototype.init=function(){this.view.dom.addEventListener("mousedown",this.handlers.mousedown)},e.prototype.handleMousedown=function(e){var t=FI(e.target,this.view.dom);if(2!==e.button){if(t){var n=this.getCellPos(e);n&&(this.startCellPos=n),this.bindEvent()}}else e.preventDefault()},e.prototype.handleMousemove=function(e){var t,n=WI.getState(this.view.state),r=this.getCellPos(e),o=this.startCellPos;n?t=this.view.state.doc.resolve(n):o!==r&&(t=o),t&&o&&r&&this.setCellSelection(o,r)},e.prototype.handleMouseup=function(){this.startCellPos=null,this.unbindEvent(),null!==WI.getState(this.view.state)&&this.view.dispatch(this.view.state.tr.setMeta(WI,-1))},e.prototype.bindEvent=function(){var e=this.view.dom;e.addEventListener("mousemove",this.handlers.mousemove),e.addEventListener("mouseup",this.handlers.mouseup)},e.prototype.unbindEvent=function(){var e=this.view.dom;e.removeEventListener("mousemove",this.handlers.mousemove),e.removeEventListener("mouseup",this.handlers.mouseup)},e.prototype.getCellPos=function(e){var t=e.clientX,n=e.clientY,r=this.view.posAtCoords({left:t,top:n});if(r){var o=this.view.state.doc,i=o.resolve(r.pos),a=jI(i);if(a){var s=i.before(a.depth);return o.resolve(s)}}return null},e.prototype.setCellSelection=function(e,t){var n=this.view.state,r=n.selection,o=n.tr,i=null===WI.getState(this.view.state),a=new PI(e,t);if(i||!r.eq(a)){var s=o.setSelection(a);i&&s.setMeta(WI,t.pos),this.view.dispatch(s)}},e.prototype.destroy=function(){this.view.dom.removeEventListener("mousedown",this.handlers.mousedown)},e}(),qI=m$("cell-selected");function GI(e){var t=e.selection,n=e.doc;if(t instanceof PI){var r=[];return t.ranges.forEach((function(e){var t=e.$from,n=e.$to;r.push(mC.node(t.pos-1,n.pos+1,{class:qI}))})),yC.create(n,r)}return null}var KI=function(){function e(){this.keys=[],this.values=[]}return e.prototype.getKeyIndex=function(e){return bT(e,this.keys)},e.prototype.get=function(e){return this.values[this.getKeyIndex(e)]},e.prototype.set=function(e,t){var n=this.getKeyIndex(e);return n>-1?this.values[n]=t:(this.keys.push(e),this.values.push(t)),this},e.prototype.has=function(e){return this.getKeyIndex(e)>-1},e.prototype.delete=function(e){var t=this.getKeyIndex(e);return t>-1&&(this.keys.splice(t,1),this.values.splice(t,1),!0)},e.prototype.forEach=function(e,t){var n=this;void 0===t&&(t=this),this.values.forEach((function(r,o){r&&n.keys[o]&&e.call(t,r,n.keys[o],n)}))},e.prototype.clear=function(){this.keys=[],this.values=[]},e}(),YI="en-US",XI=function(){function e(){this.code=YI,this.langs=new KI}return e.prototype.setCode=function(e){this.code=e||YI},e.prototype.setLanguage=function(e,t){var n=this;(e=[].concat(e)).forEach((function(e){if(n.langs.has(e)){var r=n.langs.get(e);n.langs.set(e,sT(r,t))}else n.langs.set(e,t)}))},e.prototype.get=function(e,t){t||(t=this.code);var n=this.langs.get(t);n||(n=this.langs.get(YI));var r=n[e];if(!r)throw new Error('There is no text key "'+e+'" in '+t);return r},e}(),JI=new XI,QI=[[{action:"Add row to up",command:"addRowToUp",disableInThead:!0,className:"add-row-up"},{action:"Add row to down",command:"addRowToDown",disableInThead:!0,className:"add-row-down"},{action:"Remove row",command:"removeRow",disableInThead:!0,className:"remove-row"}],[{action:"Add column to left",command:"addColumnToLeft",className:"add-column-left"},{action:"Add column to right",command:"addColumnToRight",className:"add-column-right"},{action:"Remove column",command:"removeColumn",className:"remove-column"}],[{action:"Align column to left",command:"alignColumn",payload:{align:"left"},className:"align-column-left"},{action:"Align column to center",command:"alignColumn",payload:{align:"center"},className:"align-column-center"},{action:"Align column to right",command:"alignColumn",payload:{align:"right"},className:"align-column-right"}],[{action:"Remove table",command:"removeTable",className:"remove-table"}]];function eP(e,t){return QI.map((function(n){return n.map((function(n){var r=n.action,o=n.command,i=n.payload,a=n.disableInThead,s=n.className;return{label:JI.get(r),onClick:function(){e.emit("command",o,i)},disabled:t&&!!a,className:s}}))})).concat()}var tP=["image","link","customBlock","frontMatter"],nP=["strong","strike","emph","code"],rP=["bulletList","orderedList","taskList"];function oP(e,t,n){var r=e.$from,o=e.$to,i=e.from,a=e.to,s={indent:{active:!1,disabled:!0},outdent:{active:!1,disabled:!0}};return t.nodesBetween(i,a,(function(e,t,i){var a=function(e,t){var n=e.type.name;return"listItem"===n?e.attrs.task?"taskList":t.type.name:-1!==n.indexOf("table")?"table":n}(e,i);eO(tP,a)||(eO(rP,a)?(!function(e,t){t[e]={active:!0},rP.filter((function(t){return t!==e})).forEach((function(e){t[e]&&delete t[e]}))}(a,s),s.indent.disabled=!1,s.outdent.disabled=!1):"paragraph"===a||"text"===a?function(e,t,n,r){nP.forEach((function(o){var i=n.marks[o],a=e.marksAcross(t)||[];i.isInSet(a)&&(r[o]={active:!0})}))}(r,o,n,s):s[a]={active:!0})})),s}function iP(e){return new Lx({view:function(){return{update:function(t){var n=t.state,r=n.selection,o=n.doc,i=n.schema;e.emit("changeToolbarState",{toolbarState:oP(r,o,i)})}}}})}var aP=function(){function e(e,t,n,r){var o=this;this.openEditor=function(){if(o.innerEditorView)throw new Error("The editor is already opened.");o.dom.draggable=!1,o.wrapper.style.display="none",o.innerViewContainer.style.display="block",o.innerEditorView=new BC(o.innerViewContainer,{state:Ax.create({doc:o.node,plugins:[nE({"Mod-z":function(){return QE(o.innerEditorView.state,o.innerEditorView.dispatch)},"Shift-Mod-z":function(){return eT(o.innerEditorView.state,o.innerEditorView.dispatch)},Tab:function(e,t){return t(e.tr.insertText("\t")),!0},Enter:dE,Escape:function(){return o.cancelEditing(),!0},"Ctrl-Enter":function(){return o.saveAndFinishEditing(),!0}}),JE()]}),dispatchTransaction:function(e){return o.dispatchInner(e)},handleDOMEvents:{mousedown:function(){return o.editorView.hasFocus()&&o.innerEditorView.focus(),!0},blur:function(){return o.saveAndFinishEditing(),!0}}}),o.innerEditorView.focus()},this.node=e,this.editorView=t,this.getPos=n,this.toDOMAdaptor=r,this.innerEditorView=null,this.canceled=!1,this.dom=document.createElement("div"),this.dom.className=m$("custom-block"),this.wrapper=document.createElement("div"),this.wrapper.className=m$("custom-block-view"),this.createInnerViewContainer(),this.renderCustomBlock(),this.dom.appendChild(this.innerViewContainer),this.dom.appendChild(this.wrapper)}return e.prototype.renderToolArea=function(){var e=this,t=document.createElement("div"),n=document.createElement("span"),r=document.createElement("button");t.className="tool",n.textContent=this.node.attrs.info,n.className="info",r.type="button",r.addEventListener("click",(function(){return e.openEditor()})),t.appendChild(n),t.appendChild(r),this.wrapper.appendChild(t)},e.prototype.renderCustomBlock=function(){var e=this.toDOMAdaptor.getToDOMNode(this.node.attrs.info);if(e){for(var t=e(this.node);this.wrapper.hasChildNodes();)this.wrapper.removeChild(this.wrapper.lastChild);t&&this.wrapper.appendChild(t),this.renderToolArea()}},e.prototype.createInnerViewContainer=function(){this.innerViewContainer=document.createElement("div"),this.innerViewContainer.className=m$("custom-block-editor"),this.innerViewContainer.style.display="none"},e.prototype.closeEditor=function(){this.innerEditorView&&(this.innerEditorView.destroy(),this.innerEditorView=null,this.innerViewContainer.style.display="none"),this.wrapper.style.display="block"},e.prototype.saveAndFinishEditing=function(){var e=this.editorView.state.selection.to,t=this.editorView.state;this.editorView.dispatch(t.tr.setSelection(wO(t.tr,e))),this.editorView.focus(),this.renderCustomBlock(),this.closeEditor()},e.prototype.cancelEditing=function(){var e=function(e){let t=YE.getState(e);return t?t.done.eventCount:0}(this.innerEditorView.state);for(this.canceled=!0;e--;)QE(this.innerEditorView.state,this.innerEditorView.dispatch),QE(this.editorView.state,this.editorView.dispatch);this.canceled=!1;var t=this.editorView.state.selection.to,n=this.editorView.state;this.editorView.dispatch(n.tr.setSelection(gx.create(n.doc,t))),this.editorView.focus(),this.closeEditor()},e.prototype.dispatchInner=function(e){var t=this.innerEditorView.state.applyTransaction(e),n=t.state,r=t.transactions;if(this.innerEditorView.updateState(n),!this.canceled&&P$(this.getPos)){for(var o=this.editorView.state.tr,i=Nw.offset(this.getPos()+1),a=0;a<r.length;a+=1)for(var s=r[a].steps,l=0;l<s.length;l+=1)o.step(s[l].map(i));o.docChanged&&this.editorView.dispatch(o)}},e.prototype.update=function(e){return!!e.sameMarkup(this.node)&&(this.node=e,this.innerEditorView||this.renderCustomBlock(),!0)},e.prototype.stopEvent=function(e){return!!this.innerEditorView&&!!e.target&&this.innerEditorView.dom.contains(e.target)},e.prototype.ignoreMutation=function(){return!0},e.prototype.destroy=function(){this.dom.removeEventListener("dblclick",this.openEditor),this.closeEditor()},e}(),sP="image-link",lP=function(){function e(e,t,n,r){var o,i=this;this.handleMousedown=function(e){e.preventDefault();var t=e.target,n=e.offsetX,r=e.offsetY;if(i.imageLink&&P$(i.getPos)&&QO(t,sP)){var o=getComputedStyle(t,":before");if(e.stopPropagation(),f$(o,n,r)){var a=i.view.state.tr,s=i.getPos();a.setSelection(wO(a,s,s+1)),i.view.dispatch(a),i.eventEmitter.emit("openPopup","link",i.imageLink.attrs)}}},this.node=e,this.view=t,this.getPos=n,this.eventEmitter=r,this.imageLink=null!==(o=e.marks.filter((function(e){return"link"===e.type.name}))[0])&&void 0!==o?o:null,this.dom=this.createElement(),this.bindEvent()}return e.prototype.createElement=function(){var e=this.createImageElement(this.node);if(this.imageLink){var t=document.createElement("span");return t.className=sP,t.appendChild(e),t}return e},e.prototype.createImageElement=function(e){var t=document.createElement("img"),n=e.attrs,r=n.imageUrl,o=n.altText,i=CI(e.attrs);return t.src=r,o&&(t.alt=o),C$(i,t),t},e.prototype.bindEvent=function(){this.imageLink&&this.dom.addEventListener("mousedown",this.handleMousedown)},e.prototype.stopEvent=function(){return!0},e.prototype.destroy=function(){this.imageLink&&this.dom.removeEventListener("mousedown",this.handleMousedown)},e}(),cP=function(){function e(e,t,n,r){var o=this;this.contentDOM=null,this.input=null,this.timer=null,this.handleMousedown=function(e){var t=e.target;if("none"!==getComputedStyle(t,":after").backgroundImage&&P$(o.getPos)){var n=o.view.coordsAtPos(o.getPos()),r=n.top,i=n.right;o.createLanguageEditor({top:r,right:i})}},this.handleKeydown=function(e){"Enter"===e.key&&o.input&&(e.preventDefault(),o.changeLanguage())},this.node=e,this.view=t,this.getPos=n,this.eventEmitter=r,this.createElement(),this.bindDOMEvent(),this.bindEvent()}return e.prototype.createElement=function(){var e=this.node.attrs.language,t=document.createElement("div");t.setAttribute("data-language",e||"text"),t.className="toastui-editor-ww-code-block";var n=this.createCodeBlockElement(),r=n.firstChild;t.appendChild(n),this.dom=t,this.contentDOM=r},e.prototype.createCodeBlockElement=function(){var e=document.createElement("pre"),t=document.createElement("code"),n=this.node.attrs.language,r=CI(this.node.attrs);return n&&t.setAttribute("data-language",n),C$(r,e),e.appendChild(t),e},e.prototype.createLanguageEditor=function(e){var t=this,n=e.top,r=e.right,o=document.createElement("span");o.className="toastui-editor-ww-code-block-language";var i=document.createElement("input");i.type="text",i.value=this.node.attrs.language,o.appendChild(i),this.view.dom.parentElement.appendChild(o);var a=o.clientWidth;gT(o,{top:n+10+"px",left:r-a-10+"px",width:a+"px"}),this.input=i,this.input.addEventListener("blur",(function(){return t.changeLanguage()})),this.input.addEventListener("keydown",this.handleKeydown),this.clearTimer(),this.timer=setTimeout((function(){t.input.focus()}))},e.prototype.bindDOMEvent=function(){this.dom&&this.dom.addEventListener("click",this.handleMousedown)},e.prototype.bindEvent=function(){var e=this;this.eventEmitter.listen("scroll",(function(){e.input&&e.reset()}))},e.prototype.changeLanguage=function(){if(this.input&&P$(this.getPos)){var e=this.input.value;this.reset();var t=this.getPos(),n=this.view.state.tr;n.setNodeMarkup(t,null,{language:e}),this.view.dispatch(n)}},e.prototype.reset=function(){var e;if(null===(e=this.input)||void 0===e?void 0:e.parentElement){var t=this.input.parentElement;this.input=null,y$(t)}},e.prototype.clearTimer=function(){this.timer&&(clearTimeout(this.timer),this.timer=null)},e.prototype.stopEvent=function(){return!0},e.prototype.update=function(e){return!!e.sameMarkup(this.node)&&(this.node=e,!0)},e.prototype.destroy=function(){this.reset(),this.clearTimer(),this.dom&&this.dom.removeEventListener("click",this.handleMousedown)},e}(),uP=/MsoListParagraph/,dP=/style=(.|\n)*mso-/,pP=/mso-list:(.*)/,fP=/O:P/,hP=/^(n|u|l)/,mP="p.MsoListParagraph";function vP(e){for(var t=[],n=document.createTreeWalker(e,1,null,!1);n.nextNode();){var r=n.currentNode;if(g$(r)){var o=r,i=o.outerHTML,a=o.textContent,s=dP.test(i),l=pP.test(i);s&&!l&&a?t.push([r,!0]):(fP.test(r.nodeName)||s&&!a||l)&&t.push([r,!1])}}return t.forEach((function(e){var t=e[0];e[1]?function(e){for(var t=[];e.firstChild;)t.push(e.firstChild),e.parentNode&&e.parentNode.insertBefore(e.firstChild,e);y$(e)}(t):y$(t)})),e.innerHTML.trim()}function gP(e){var t=[];return e.forEach((function(e,n){var r=t[n-1],o=function(e,t){var n=e.getAttribute("style");if(n){var r=n.match(pP)[1].trim().split(" ")[1];return{id:t,level:parseInt(r.replace("level",""),10),prev:null,parent:null,children:[],unordered:hP.test(e.textContent||""),contents:vP(e)}}return null}(e,n);o&&(r&&function(e,t){if(t.level<e.level)t.children.push(e),e.parent=t;else{for(;t&&t.level!==e.level;)t=t.parent;t&&(e.prev=t,e.parent=t.parent,e.parent&&e.parent.children.push(e))}}(o,r),t.push(o))})),t}function yP(e){var t=e[0].unordered?"ul":"ol",n=document.createElement(t);return e.forEach((function(e){var t=e.children,r=e.contents,o=document.createElement("li");o.innerHTML=r,n.appendChild(o),t.length&&n.appendChild(yP(t))})),n}function bP(e){var t=gP(e).filter((function(e){return!e.parent}));return yP(t)}function wP(e){var t=document.createElement("div");t.innerHTML=e;var n,r,o=[],i=(n=mP,(r=gO(t.querySelectorAll(n))).length?r:[]);return i.forEach((function(e){var n,r,i=function(e){for(;e&&!g$(e);)e=e.nextSibling;return!e||!uP.test(e.className)}(e.nextSibling);if(o.push(e),i){var a=bP(o),s=e.nextSibling;s?(n=a,(r=s).parentNode&&r.parentNode.insertBefore(n,r)):function(e,t){(t=cT(t)?gO(t):[t]).forEach((function(t){e.appendChild(t)}))}(t,a),o=[]}y$(e)})),""+(i.length?"<p></p>":"")+t.innerHTML}var xP="\x3c!--StartFragment--\x3e",kP="\x3c!--EndFragment--\x3e";function SP(e){return function(e){return dP.test(e)}(e=function(e){return/<\/td>((?!<\/tr>)[\s\S])*$/i.test(e)&&(e="<tr>"+e+"</tr>"),/<\/tr>((?!<\/table>)[\s\S])*$/i.test(e)&&(e="<table>"+e+"</table>"),e}(e=function(e){var t=e.indexOf(xP),n=e.lastIndexOf(kP);return t>-1&&n>-1&&(e=e.slice(t+xP.length,n)),e.replace(/<br[^>]*>/g,p$)}(e)))&&(e=wP(e)),e}function CP(e,t,n){for(var r=[],o=e.childCount,i=0;i<o;i+=1)if(!e.child(i).attrs.extended){var a=i<o?n.create(e.child(i).attrs,e.child(i).content):n.createAndFill();r.push(a)}return r}function EP(e,t,n){var r=n.nodes,o=r.tableRow,i=CP(e,0,r.tableHeadCell);return o.create(null,i)}function TP(e,t,n){var r=n.nodes,o=r.tableRow,i=CP(e,0,r.tableBodyCell);return o.create(null,i)}function OP(e){var t=[],n=[];"tableHead"===e.firstChild.type.name&&e.firstChild.forEach((function(e){return t.push(e)}));"tableBody"===e.lastChild.type.name&&e.lastChild.forEach((function(e){return n.push(e)}));return oT(oT([],t),n)}function $P(e,t,n){var r=EP(e,0,n);return n.nodes.tableHead.create(null,r)}function MP(e,t,n){var r=e.map((function(e){return TP(e,0,n)}));if(!e.length){var o=function(e,t){for(var n=t.nodes,r=n.tableRow,o=n.tableBodyCell,i=[],a=0;a<e;a+=1){var s=o.createAndFill();i.push(s)}return r.create({dummyRowForPasting:!0},i)}(t,n);r.push(o)}return n.nodes.tableBody.create(null,r)}function AP(e,t,n){var r=[],o=e.content,i=e.openStart,a=e.openEnd;return o.forEach((function(e){if("table"===e.type.name){var o=zI(new Lb(Tb.from(e),0,0));if(o){var i=OP(o),a="tableBody"===o.firstChild.type.name,s=function(e,t,n,r){var o=function(e){return e.reduce((function(e,t){return e.childCount>t.childCount?e:t})).childCount}(e);if(n&&r)return t.nodes.table.create(null,[MP(e,o,t)]);var i=e[0],a=e.slice(1),s=[$P(i,0,t)];return a.length&&s.push(MP(a,o,t)),t.nodes.table.create(null,s)}(i,t,a,n);r.push(s)}}else r.push(e)})),new Lb(Tb.from(r),i,a)}var DP=4,LP=2;function NP(e){return e*DP}function RP(e,t){var n=e.state,r=n.selection,o=n.schema,i=n.tr,a=BI(r),s=a.anchor,l=a.head;if(s&&l){var c=zI(t);if(!c)return!1;var u=NI.create(s),d=u.getRectOffsets(s,l),p=function(e,t,n){var r=[],o=OP(e),i=(o[0].childCount,o.length),a=0===t.startRowIdx,s=o.slice(0,i);if(a){var l=s.shift();if(l){var c=EP(l,0,n).content;r.push(c)}}return s.forEach((function(e){if(!e.attrs.dummyRowForPasting){var t=TP(e,0,n).content;r.push(t)}})),r}(c,d,o),f=function(e,t,n){for(var r=t.startRowIdx,o=t.startColIdx,i=n.length,a=0,s=function(e){var t=n[e].childCount;n[e].forEach((function(e){var n=e.attrs.colspan;n>1&&(t+=n-1)})),a=Math.max(a,t)},l=0;l<i;l+=1)s(l);var c=r+i-1,u=o+a-1;return{startRowIdx:r,startColIdx:o,endRowIdx:c,endColIdx:u,addedRowCount:Math.max(c+1-e.totalRowCount,0),addedColumnCount:Math.max(u+1-e.totalColumnCount,0)}}(u,d,p),h=[];return function(e,t){var n=e.getSpannedOffsets(t),r=HI(n),o=r.rowCount,i=r.columnCount,a=HI(t),s=a.rowCount,l=a.columnCount;return o===s&&i===l}(u,f)&&(function(e,t){for(var n=e.startRowIdx,r=e.startColIdx,o=e.endRowIdx,i=e.endColIdx,a=e.addedRowCount,s=e.addedColumnCount,l=n;l<=o-a;l+=1)t.push({rowIdx:l,startColIdx:r,endColIdx:i-s})}(f,h),f.addedColumnCount&&function(e,t,n,r,o){for(var i=r.startRowIdx,a=r.startColIdx,s=r.endRowIdx,l=r.endColIdx,c=r.addedRowCount,u=r.addedColumnCount,d=n.totalRowCount,p=0,f=0;f<d;f+=1){var h=n.getCellInfo(f,l-u),m=h.offset,v=h.nodeSize,g=e.mapping.map(m+v),y=_I(u,f,t);if(e.insert(g,y),f>=i&&f<=s-c){var b=n.getCellInfo(f,l-u),w=e.mapping.map(b.offset),x=g+NP(u);o[p]={rowIdx:f,startColIdx:a,endColIdx:l,dummyOffsets:[w,x]},p+=1}}}(i,o,u,f,h),f.addedRowCount&&function(e,t,n,r,o){var i=r.addedRowCount,a=r.addedColumnCount,s=r.startColIdx,l=r.endColIdx,c=e.mapping.maps.length,u=n.tableEndOffset-2,d=ZI(i,n.totalColumnCount+a,t),p=u;e.insert(e.mapping.slice(c).map(p),d);for(var f=0;f<i;f+=1){var h=p+NP(s)+1,m=p+NP(l+1)+1,v=p+NP(n.totalColumnCount+a)+LP;o.push({rowIdx:f+n.totalRowCount,startColIdx:s,endColIdx:l,dummyOffsets:[h,m]}),p=v}}(i,o,u,f,h),function(e,t,n,r){var o=e.mapping.maps.length;n.forEach((function(n,i){var a=n.rowIdx,s=n.startColIdx,l=n.endColIdx,c=n.dummyOffsets,u=e.mapping.slice(o),d=new Lb(t[i],0,0),p=c?c[0]:r.getCellStartOffset(a,s),f=c?c[1]:r.getCellEndOffset(a,l);e.replace(u.map(p),u.map(f),d)}))}(i,p,h,u),e.dispatch(i),function(e,t,n){var r=e.state,o=r.tr,i=r.doc,a=NI.create(i.resolve(n)),s=t[0],l=s.rowIdx,c=s.startColIdx,u=cO(t),d=u.rowIdx,p=u.endColIdx,f=a.getCellInfo(l,c).offset,h=a.getCellInfo(d,p).offset;e.dispatch(o.setSelection(new PI(i.resolve(f),i.resolve(h))))}(e,h,u.getCellInfo(0,0).offset)),!0}return!1}var IP=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return nT(t,e),Object.defineProperty(t.prototype,"name",{get:function(){return"doc"},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"schema",{get:function(){return{content:"block+"}},enumerable:!1,configurable:!0}),t}(D$),PP=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return nT(t,e),Object.defineProperty(t.prototype,"name",{get:function(){return"paragraph"},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"schema",{get:function(){return{content:"inline*",group:"block",attrs:rT({},{htmlAttrs:{default:null},classNames:{default:null}}),parseDOM:[{tag:"p"}],toDOM:function(e){return["p",CI(e.attrs),0]}}},enumerable:!1,configurable:!0}),t}(D$),ZP=/\s{1,4}$/,_P=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return nT(t,e),Object.defineProperty(t.prototype,"name",{get:function(){return"text"},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"schema",{get:function(){return{group:"inline"}},enumerable:!1,configurable:!0}),t.prototype.addSpaces=function(){return function(e,t){var n=e.selection,r=e.tr,o=n.$from,i=n.$to;return!(!o.blockRange(i)||yI(o)||bI(o))&&(t(r.insertText(" ",o.pos,i.pos)),!0)}},t.prototype.removeSpaces=function(){return function(e,t){var n=e.selection,r=e.tr,o=n.$from,i=n.$to,a=n.from;if(o.blockRange(i)&&!yI(o)&&!bI(o)){var s=o.nodeBefore;if(s&&s.isText){var l=s.text,c=l.replace(ZP,""),u=l.length-c.length;return t(r.delete(a-u,a)),!0}}return!1}},t.prototype.keymaps=function(){return{Tab:this.addSpaces(),"Shift-Tab":this.removeSpaces()}},t}(D$),FP=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return nT(t,e),Object.defineProperty(t.prototype,"name",{get:function(){return"heading"},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"levels",{get:function(){return[1,2,3,4,5,6]},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"schema",{get:function(){var e=this.levels.map((function(e){return{tag:"h"+e,getAttrs:function(t){var n=t.getAttribute("data-raw-html");return rT({level:e},n&&{rawHTML:n})}}}));return{attrs:rT({level:{default:1},headingType:{default:"atx"},rawHTML:{default:null}},{htmlAttrs:{default:null},classNames:{default:null}}),content:"inline*",group:"block",defining:!0,parseDOM:e,toDOM:function(e){var t=e.attrs;return["h"+t.level,CI(t),0]}}},enumerable:!1,configurable:!0}),t.prototype.commands=function(){return function(e){return function(t,n){return kE(t.schema.nodes[e.level?"heading":"paragraph"],e)(t,n)}}},t}(D$),jP=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return nT(t,e),Object.defineProperty(t.prototype,"name",{get:function(){return"codeBlock"},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"schema",{get:function(){return{content:"text*",group:"block",attrs:rT({language:{default:null},rawHTML:{default:null}},{htmlAttrs:{default:null},classNames:{default:null}}),code:!0,defining:!0,marks:"",parseDOM:[{tag:"pre",preserveWhitespace:"full",getAttrs:function(e){var t=e.getAttribute("data-raw-html"),n=e.firstElementChild;return rT({language:(null==n?void 0:n.getAttribute("data-language"))||null},t&&{rawHTML:t})}}],toDOM:function(e){var t=e.attrs;return[t.rawHTML||"pre",["code",rT({"data-language":t.language},CI(t)),0]]}}},enumerable:!1,configurable:!0}),t.prototype.commands=function(){return function(){return function(e,t){return kE(e.schema.nodes.codeBlock)(e,t)}}},t.prototype.moveCursor=function(e){var t=this;return function(n,r){var o,i,a=n.tr,s=n.doc,l=n.schema,c=n.selection.$from;if(t.context.view.endOfTextblock(e)&&"codeBlock"===c.node().type.name){var u=c.parent.textContent.split("\n"),d="up"===e?c.start():c.end(),p="up"===e?[d,u[0].length+d]:[d-cO(u).length,d],f=s.resolve("up"===e?c.before():c.after()),h="up"===e?f.nodeBefore:f.nodeAfter;if(o=c.pos,i=p[1],o>=p[0]&&o<=i&&!h){var m=xO(a,f,l);if(m)return r(m),!0}}return!1}},t.prototype.keymaps=function(){var e=this.commands()();return{"Shift-Mod-p":e,"Shift-Mod-P":e,ArrowUp:this.moveCursor("up"),ArrowDown:this.moveCursor("down")}},t}(D$),BP=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return nT(t,e),Object.defineProperty(t.prototype,"name",{get:function(){return"bulletList"},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"schema",{get:function(){return{content:"listItem+",group:"block",attrs:rT({rawHTML:{default:null}},{htmlAttrs:{default:null},classNames:{default:null}}),parseDOM:[xI("ul")],toDOM:function(e){return["ul",CI(e.attrs),0]}}},enumerable:!1,configurable:!0}),t.prototype.changeList=function(){return function(e,t){return OI(e.schema.nodes.bulletList)(e,t)}},t.prototype.commands=function(){return{bulletList:this.changeList,taskList:$I}},t.prototype.keymaps=function(){var e=this.changeList(),t=DI(),n=t.indent,r=t.outdent;return{"Mod-u":e,"Mod-U":e,Tab:n(),"Shift-Tab":r()}},t}(D$),zP=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return nT(t,e),Object.defineProperty(t.prototype,"name",{get:function(){return"orderedList"},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"schema",{get:function(){return{content:"listItem+",group:"block",attrs:rT({order:{default:1},rawHTML:{default:null}},{htmlAttrs:{default:null},classNames:{default:null}}),parseDOM:[{tag:"ol",getAttrs:function(e){var t=e.getAttribute("start"),n=e.getAttribute("data-raw-html");return rT({order:e.hasAttribute("start")?Number(t):1},n&&{rawHTML:n})}}],toDOM:function(e){var t=e.attrs;return[t.rawHTML||"ol",rT({start:1===t.order?null:t.order},CI(t)),0]}}},enumerable:!1,configurable:!0}),t.prototype.commands=function(){return function(){return function(e,t){return OI(e.schema.nodes.orderedList)(e,t)}}},t.prototype.keymaps=function(){var e=this.commands()(),t=DI(),n=t.indent,r=t.outdent;return{"Mod-o":e,"Mod-O":e,Tab:n(),"Shift-Tab":r()}},t}(D$),HP=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return nT(t,e),Object.defineProperty(t.prototype,"name",{get:function(){return"listItem"},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"schema",{get:function(){return{content:"paragraph block*",selectable:!1,attrs:{task:{default:!1},checked:{default:!1},rawHTML:{default:null}},defining:!0,parseDOM:[{tag:"li",getAttrs:function(e){var t=e.getAttribute("data-raw-html");return rT({task:e.hasAttribute("data-task"),checked:e.hasAttribute("data-task-checked")},t&&{rawHTML:t})}}],toDOM:function(e){var t=e.attrs,n=t.task,r=t.checked;if(!n)return[t.rawHTML||"li",0];var o=["task-list-item"];return r&&o.push("checked"),[t.rawHTML||"li",rT({class:o.join(" "),"data-task":n},r&&{"data-task-checked":r}),0]}}},enumerable:!1,configurable:!0}),t.prototype.liftToPrevListItem=function(){return function(e,t){var n=e.selection,r=e.tr,o=e.schema,i=n.$from,a=n.empty,s=o.nodes.listItem,l=i.parent,c=i.node(-1);if(a&&!l.childCount&&c.type===s){if(i.index(-2)>=1)return r.delete(i.start(-1)-1,i.end(-1)),t(r),!0;if(i.node(-3).type===s)return r.delete(i.start(-2)-1,i.end(-1)),t(r),!0}return!1}},t.prototype.keymaps=function(){return{Backspace:this.liftToPrevListItem(),Enter:function(e,t){return function(e){return function(t,n){var r=t.tr,o=t.selection,i=o.$from,a=o.$to;if(i.depth<2||!i.sameParent(a))return!1;var s=i.node(-1);if(s.type!==e)return!1;if(0===i.parent.content.size&&i.node(-1).childCount===i.indexAfter(-1)){if(2===i.depth||i.node(-3).type!==e||i.index(-2)!==i.node(-2).childCount-1)return!1;for(var l=i.index(-1)>0,c=Tb.empty,u=i.depth-(l?1:2);u>=i.depth-3;u-=1)c=Tb.from(i.node(u).copy(c));return c=c.append(Tb.from(e.createAndFill())),r.replace(l?i.before():i.before(-1),i.after(-3),new Lb(c,l?3:2,2)),r.setSelection(fx.near(r.doc.resolve(i.pos+(l?3:2)))),n(r),!0}var d=a.pos===i.end()?s.contentMatchAt(0).defaultType:null,p=d&&[null,{type:d}];return r.delete(i.pos,a.pos),!!Kw(r.doc,i.pos,2,p)&&(r.split(i.pos,2,p),n(r),!0)}}(e.schema.nodes.listItem)(e,t)}}},t}(D$),UP=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return nT(t,e),Object.defineProperty(t.prototype,"name",{get:function(){return"blockQuote"},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"schema",{get:function(){return{attrs:rT({rawHTML:{default:null}},{htmlAttrs:{default:null},classNames:{default:null}}),content:"block+",group:"block",parseDOM:[xI("blockquote")],toDOM:function(e){return["blockquote",CI(e.attrs),0]}}},enumerable:!1,configurable:!0}),t.prototype.commands=function(){return function(){return function(e,t){return xE(e.schema.nodes.blockQuote)(e,t)}}},t.prototype.keymaps=function(){var e=this.commands()();return{"Alt-q":e,"Alt-Q":e}},t}(D$),WP={left:function(e,t){var n=e[0],r=e[1],o=t.totalColumnCount,i=0===r;if(0!==n||!i){r-=1,i&&(n-=1,r=o-1);var a=t.getCellInfo(n,r);return a.offset+a.nodeSize-2}return null},right:function(e,t){var n=e[0],r=e[1],o=t.totalRowCount,i=t.totalColumnCount,a=r===i-1;if(n!==o-1||!a){var s=r+1,l=t.getColspanStartInfo(n,r);return(null==l?void 0:l.count)>1&&(s+=l.count-1),(a||s===i)&&(n+=1,s=0),t.getCellInfo(n,s).offset+2}return null},up:function(e,t){var n=e[0],r=e[1];if(n>0){var o=t.getCellInfo(n-1,r);return o.offset+o.nodeSize-2}return null},down:function(e,t){var n=e[0],r=e[1],o=t.totalRowCount;if(n<o-1){var i=n+1,a=t.getRowspanStartInfo(n,r);return(null==a?void 0:a.count)>1&&(i+=a.count-1),t.getCellInfo(i,r).offset+2}return null}};function VP(e,t,n){var r=n[0],o=n[1],i=t.getRowspanStartInfo(r,o),a="up"===e&&0===r,s="down"===e&&((null==i?void 0:i.count)>1?r+i.count-1:r)===t.totalRowCount-1;return a||s}function qP(e,t,n,r){void 0===r&&(r=!1);var o=e.doc.resolve(t.tableEndOffset);return r||!o.nodeAfter?xO(e,o,n):e.setSelection(fx.near(o,1))}function GP(e,t,n,r){var o=(0,WP[e])(n,r);if(o){var i="right"===e||"down"===e?1:-1;return t.setSelection(fx.near(t.doc.resolve(o),i))}return null}function KP(e,t,n){var r=e.getCellInfo(t,0).offset,o=e.getCellInfo(t,n-1);return{from:r,to:o.offset+o.nodeSize}}var YP=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return nT(t,e),Object.defineProperty(t.prototype,"name",{get:function(){return"table"},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"schema",{get:function(){return{content:"tableHead{1} tableBody{1}",group:"block",attrs:rT({rawHTML:{default:null}},{htmlAttrs:{default:null},classNames:{default:null}}),parseDOM:[xI("table")],toDOM:function(e){return["table",CI(e.attrs),0]}}},enumerable:!1,configurable:!0}),t.prototype.addTable=function(){return function(e){return void 0===e&&(e={rowCount:2,columnCount:1,data:[]}),function(t,n){var r=e.rowCount,o=e.columnCount,i=e.data,a=t.schema,s=t.selection,l=t.tr,c=s.from,u=s.to,d=s.$from;if(c===u&&!bI(d)){var p=a.nodes,f=p.tableHead,h=p.tableBody,m=null==i?void 0:i.slice(0,o),v=null==i?void 0:i.slice(o,i.length),g=function(e,t,n){for(var r=t.nodes,o=r.tableRow,i=r.tableHeadCell,a=r.paragraph,s=[],l=0;l<e;l+=1){var c=n&&n[l],u=a.create(null,c?t.text(c):[]);s.push(i.create(null,u))}return[o.create(null,s)]}(o,a,m),y=ZI(r-1,o,a,v),b=a.nodes.table.create(null,[f.create(null,g),h.create(null,y)]);return n(l.replaceSelectionWith(b)),!0}return!1}}},t.prototype.removeTable=function(){return function(){return function(e,t){var n=e.selection,r=e.tr,o=NI.create(n.$anchor);if(o){var i=o.tableStartOffset,a=o.tableEndOffset,s=i-1,l=wO(r.delete(s,a),s);return t(r.setSelection(l)),!0}return!1}}},t.prototype.addColumn=function(e){return function(){return function(t,n){var r=t.selection,o=t.tr,i=t.schema,a=BI(r),s=a.anchor,l=a.head;if(s&&l){for(var c=NI.create(s),u=c.getRectOffsets(s,l),d="left"===e?u.startColIdx:u.endColIdx+1,p=HI(u).columnCount,f=c.totalRowCount,h=0;h<f;h+=1){var m=_I(p,h,i);o.insert(o.mapping.map(c.posAt(h,d)),m)}return n(o),!0}return!1}}},t.prototype.removeColumn=function(){return function(){return function(e,t){var n=e.selection,r=e.tr,o=BI(n),i=o.anchor,a=o.head;if(i&&a){var s=NI.create(i),l=s.getRectOffsets(i,a),c=s.totalColumnCount,u=s.totalRowCount;if(HI(l).columnCount===c)return!1;for(var d=l.startColIdx,p=l.endColIdx,f=r.mapping.maps.length,h=0;h<u;h+=1)for(var m=p;m>=d;m-=1){var v=s.getCellInfo(h,m),g=v.offset,y=v.nodeSize,b=r.mapping.slice(f).map(g),w=b+y;r.delete(b,w)}return t(r),!0}return!1}}},t.prototype.addRow=function(e){return function(){return function(t,n){var r=t.selection,o=t.schema,i=t.tr,a=BI(r),s=a.anchor,l=a.head;if(s&&l){var c=NI.create(s),u=c.totalColumnCount,d=c.getRectOffsets(s,l),p=HI(d).rowCount,f=function(e,t,n){var r,o,i;return"up"===e?(r=n.startRowIdx,o=0,i=-1):(r=n.endRowIdx,o=t.totalColumnCount-1,i=t.getCellInfo(r,o).nodeSize+1),{targetRowIdx:r,insertColIdx:o,nodeSize:i}}(e,c,d),h=f.targetRowIdx,m=f.insertColIdx,v=f.nodeSize;if(!(0===h)){for(var g=[],y=i.mapping.map(c.posAt(h,m))+v,b=[],w=0;w<u;w+=1)b=b.concat(_I(1,h,o));for(var x=0;x<p;x+=1)g.push(o.nodes.tableRow.create(null,b));return n(i.insert(y,g)),!0}}return!1}}},t.prototype.removeRow=function(){return function(){return function(e,t){var n=e.selection,r=e.tr,o=BI(n),i=o.anchor,a=o.head;if(i&&a){var s=NI.create(i),l=s.totalRowCount,c=s.totalColumnCount,u=s.getRectOffsets(i,a),d=HI(u).rowCount,p=u.startRowIdx,f=u.endRowIdx;if(d===l-1||0===p)return!1;for(var h=f;h>=p;h-=1){var m=KP(s,h,c),v=m.from,g=m.to;r.delete(v-1,g+1)}return t(r),!0}return!1}}},t.prototype.alignColumn=function(){return function(e){return void 0===e&&(e={align:"center"}),function(t,n){var r=e.align,o=t.selection,i=t.tr,a=BI(o),s=a.anchor,l=a.head;if(s&&l){for(var c=NI.create(s),u=c.totalRowCount,d=c.getRectOffsets(s,l),p=d.startColIdx,f=d.endColIdx,h=0;h<u;h+=1)for(var m=p;m<=f;m+=1)if(!c.extendedRowspan(h,m)&&!c.extendedColspan(h,m)){var v=c.getNodeAndPos(h,m),g=v.node,y=v.pos,b=UI(g,{align:r});i.setNodeMarkup(y,null,b)}return n(i),!0}return!1}}},t.prototype.moveToCell=function(e){return function(t,n){var r=t.selection,o=t.tr,i=t.schema,a=BI(r),s=a.anchor,l=a.head;if(s&&l){var c=NI.create(s),u=c.getCellIndex(s),d=void 0;if(d=VP(e,c,u)?qP(o,c,i):GP(e,o,u,c))return n(d),!0}return!1}},t.prototype.moveInCell=function(e){var t=this;return function(n,r){var o=n.selection,i=n.tr,a=n.doc,s=n.schema,l=o.$from;if(!t.context.view.endOfTextblock(e))return!1;var c=gI(l,(function(e){var t=e.type;return"tableHeadCell"===t.name||"tableBodyCell"===t.name}));if(c){var u=gI(l,(function(e){return"paragraph"===e.type.name})),d=c.depth;if(u&&function(e,t,n,r){var o=t[0],i=t[1],a=o+3,s=i>=a,l=s?o+1:i,c=function(e,t,n,r,o){var i=t[0],a=t[1],s=t[2];if("left"===e||"up"===e){if(o&&!function(e,t,n){var r=n[0],o=n[1],i=t.resolve(e.before(r-1));return o===r&&!i.nodeBefore}(n,r,[i,a]))return!1;var l=n.before(s);if(r.resolve(l).nodeBefore)return!1}return!0}(e,[i,a,l],n,r,s),u=function(e,t,n,r,o){if("right"===e||"down"===e){if(o&&!function(e){for(var t,n,r=e.depth;r&&"tableBodyCell"!==(n=e.node(r)).type.name;){if("listItem"===n.type.name){var o=e.node(r-1).lastChild===n,i="paragraph"!==(null===(t=n.lastChild)||void 0===t?void 0:t.type.name);return!!o&&!i}r-=1}return!1}(n))return!1;var i=n.after(t);if(r.resolve(i).nodeAfter)return!1}return!0}(e,l,n,r,s);return c&&u}(e,[d,u.depth],l,a)){var p=BI(o).anchor,f=NI.create(p),h=f.getCellIndex(p),m=void 0;if(!function(e,t,n){var r=n[0],o=n[1];if("up"===e||"down"===e)return!1;var i=t.tableStartOffset,a=t.tableEndOffset,s=t.getCellInfo(r,o),l=s.offset,c=s.nodeSize;return("left"===e?i:a)===("left"===e?l-2:l+c+3)}(e,f,h)?VP(e,f,h)?"up"===e?m=function(e,t,n){var r=e.doc.resolve(t.tableStartOffset-1);return r.nodeBefore?e.setSelection(fx.near(r,-1)):xO(e,r,n)}(i,f,s):"down"===e&&(m=qP(i,f,s)):m=GP(e,i,h,f):m=function(e,t,n){var r=e.doc.resolve(t.before(n-3));return e.setSelection(new bx(r))}(i,l,d),m)return r(m),!0}}return!1}},t.prototype.deleteCells=function(){return function(e,t){var n=e.schema,r=e.selection,o=e.tr,i=BI(r),a=i.anchor,s=i.head;if(a&&s&&!(r instanceof gx)){for(var l=NI.create(a),c=l.getRectOffsets(a,s),u=c.startRowIdx,d=c.startColIdx,p=c.endRowIdx,f=c.endColIdx,h=u;h<=p;h+=1)for(var m=d;m<=f;m+=1)if(!l.extendedRowspan(h,m)&&!l.extendedColspan(h,m)){var v=l.getNodeAndPos(h,m),g=v.node,y=v.pos,b=_I(1,h,n,g.attrs);o.replaceWith(o.mapping.map(y),o.mapping.map(y+g.nodeSize),b)}return t(o),!0}return!1}},t.prototype.exitTable=function(){return function(e,t){var n=e.selection,r=e.tr,o=e.schema,i=n.$from,a=gI(i,(function(e){var t=e.type;return"tableHeadCell"===t.name||"tableBodyCell"===t.name}));if(a){var s=gI(i,(function(e){return"paragraph"===e.type.name}));if(s){var l=BI(n).anchor;return t(qP(r,NI.create(l),o,!0)),!0}}return!1}},t.prototype.commands=function(){return{addTable:this.addTable(),removeTable:this.removeTable(),addColumnToLeft:this.addColumn("left"),addColumnToRight:this.addColumn("right"),removeColumn:this.removeColumn(),addRowToUp:this.addRow("up"),addRowToDown:this.addRow("down"),removeRow:this.removeRow(),alignColumn:this.alignColumn()}},t.prototype.keymaps=function(){var e=this.deleteCells();return{Tab:this.moveToCell("right"),"Shift-Tab":this.moveToCell("left"),ArrowUp:this.moveInCell("up"),ArrowDown:this.moveInCell("down"),ArrowLeft:this.moveInCell("left"),ArrowRight:this.moveInCell("right"),Backspace:e,"Mod-Backspace":e,Delete:e,"Mod-Delete":e,"Mod-Enter":this.exitTable()}},t}(D$),XP=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return nT(t,e),Object.defineProperty(t.prototype,"name",{get:function(){return"tableHead"},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"schema",{get:function(){return{content:"tableRow{1}",attrs:rT({rawHTML:{default:null}},{htmlAttrs:{default:null},classNames:{default:null}}),parseDOM:[xI("thead")],toDOM:function(e){return["thead",CI(e.attrs),0]}}},enumerable:!1,configurable:!0}),t}(D$),JP=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return nT(t,e),Object.defineProperty(t.prototype,"name",{get:function(){return"tableBody"},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"schema",{get:function(){return{content:"tableRow+",attrs:rT({rawHTML:{default:null}},{htmlAttrs:{default:null},classNames:{default:null}}),parseDOM:[{tag:"tbody",getAttrs:function(e){var t=e.querySelectorAll("tr")[0].children.length,n=e.getAttribute("data-raw-html");return!!t&&rT({},n&&{rawHTML:n})}}],toDOM:function(e){return["tbody",CI(e.attrs),0]}}},enumerable:!1,configurable:!0}),t}(D$),QP=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return nT(t,e),Object.defineProperty(t.prototype,"name",{get:function(){return"tableRow"},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"schema",{get:function(){return{content:"(tableHeadCell | tableBodyCell)*",attrs:rT({rawHTML:{default:null}},{htmlAttrs:{default:null},classNames:{default:null}}),parseDOM:[{tag:"tr",getAttrs:function(e){var t=e.children.length,n=e.getAttribute("data-raw-html");return!!t&&rT({},n&&{rawHTML:n})}}],toDOM:function(e){return["tr",CI(e.attrs),0]}}},enumerable:!1,configurable:!0}),t}(D$),eZ=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return nT(t,e),Object.defineProperty(t.prototype,"name",{get:function(){return"tableHeadCell"},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"schema",{get:function(){return{content:"paragraph+",attrs:rT({align:{default:null},className:{default:null},rawHTML:{default:null},colspan:{default:null},extended:{default:null}},{htmlAttrs:{default:null},classNames:{default:null}}),isolating:!0,parseDOM:[SI("th")],toDOM:function(e){var t=e.attrs,n=kI(t);return["th",rT(rT({},n),CI(t)),0]}}},enumerable:!1,configurable:!0}),t}(D$),tZ=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return nT(t,e),Object.defineProperty(t.prototype,"name",{get:function(){return"tableBodyCell"},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"schema",{get:function(){return{content:"(paragraph | bulletList | orderedList)+",attrs:{align:{default:null},className:{default:null},rawHTML:{default:null},colspan:{default:null},rowspan:{default:null},extended:{default:null}},isolating:!0,parseDOM:[SI("td")],toDOM:function(e){return["td",kI(e.attrs),0]}}},enumerable:!1,configurable:!0}),t}(D$),nZ=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return nT(t,e),Object.defineProperty(t.prototype,"name",{get:function(){return"image"},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"schema",{get:function(){return{inline:!0,attrs:rT({imageUrl:{default:""},altText:{default:null},rawHTML:{default:null}},{htmlAttrs:{default:null},classNames:{default:null}}),group:"inline",selectable:!1,parseDOM:[{tag:"img[src]",getAttrs:function(e){var t=KR(e,{RETURN_DOM_FRAGMENT:!0}).firstChild,n=t.getAttribute("src")||"",r=t.getAttribute("data-raw-html"),o=t.getAttribute("alt");return rT({imageUrl:n,altText:o},r&&{rawHTML:r})}}],toDOM:function(e){var t=e.attrs;return[t.rawHTML||"img",rT(rT({src:QT(t.imageUrl)},t.altText&&{alt:t.altText}),CI(t))]}}},enumerable:!1,configurable:!0}),t.prototype.addImage=function(){return function(e){return function(t,n){var r=t.schema,o=t.tr,i=e,a=i.imageUrl,s=i.altText;if(!a)return!1;var l=r.nodes.image.createAndFill(rT({imageUrl:a},s&&{altText:s}));return n(o.replaceSelectionWith(l).scrollIntoView()),!0}}},t.prototype.commands=function(){return{addImage:this.addImage()}},t}(D$),rZ=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return nT(t,e),Object.defineProperty(t.prototype,"name",{get:function(){return"thematicBreak"},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"schema",{get:function(){return{attrs:rT({rawHTML:{default:null}},{htmlAttrs:{default:null},classNames:{default:null}}),group:"block",parseDOM:[{tag:"hr"}],selectable:!1,toDOM:function(e){var t=e.attrs;return["div",CI(t),[t.rawHTML||"hr"]]}}},enumerable:!1,configurable:!0}),t.prototype.hr=function(){var e=this;return function(){return function(t,n){var r,o=t.selection,i=o.$from;if(i===o.$to){var a=t.doc,s=t.schema.nodes,l=s.thematicBreak,c=s.paragraph,u=[l.create()],d=i.node(1),p=a.child(a.childCount-1)===d,f=a.resolve(i.after(1)),h=(null===(r=i.nodeAfter)||void 0===r?void 0:r.type.name)===e.name;return(p||h)&&u.push(c.create()),n(t.tr.insert(f.pos,u).scrollIntoView()),!0}return!1}}},t.prototype.commands=function(){return{hr:this.hr()}},t.prototype.keymaps=function(){var e=this.hr()();return{"Mod-l":e,"Mod-L":e}},t}(D$),oZ=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return nT(t,e),Object.defineProperty(t.prototype,"name",{get:function(){return"strong"},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"schema",{get:function(){var e=["b","strong"].map((function(e){return{tag:e,getAttrs:function(e){var t=e.getAttribute("data-raw-html");return rT({},t&&{rawHTML:t})}}}));return{attrs:rT({rawHTML:{default:null}},{htmlAttrs:{default:null},classNames:{default:null}}),parseDOM:e,toDOM:function(e){var t=e.attrs;return[t.rawHTML||"strong",CI(t)]}}},enumerable:!1,configurable:!0}),t.prototype.bold=function(){return function(){return function(e,t){return SE(e.schema.marks.strong)(e,t)}}},t.prototype.commands=function(){return{bold:this.bold()}},t.prototype.keymaps=function(){var e=this.bold()();return{"Mod-b":e,"Mod-B":e}},t}(yM),iZ=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return nT(t,e),Object.defineProperty(t.prototype,"name",{get:function(){return"emph"},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"schema",{get:function(){var e=["i","em"].map((function(e){return{tag:e,getAttrs:function(e){var t=e.getAttribute("data-raw-html");return rT({},t&&{rawHTML:t})}}}));return{attrs:rT({rawHTML:{default:null}},{htmlAttrs:{default:null},classNames:{default:null}}),parseDOM:e,toDOM:function(e){var t=e.attrs;return[t.rawHTML||"em",CI(t)]}}},enumerable:!1,configurable:!0}),t.prototype.italic=function(){return function(){return function(e,t){return SE(e.schema.marks.emph)(e,t)}}},t.prototype.commands=function(){return{italic:this.italic()}},t.prototype.keymaps=function(){var e=this.italic()();return{"Mod-i":e,"Mod-I":e}},t}(yM),aZ=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return nT(t,e),Object.defineProperty(t.prototype,"name",{get:function(){return"strike"},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"schema",{get:function(){var e=["s","del"].map((function(e){return{tag:e,getAttrs:function(e){var t=e.getAttribute("data-raw-html");return rT({},t&&{rawHTML:t})}}}));return{attrs:rT({rawHTML:{default:null}},{htmlAttrs:{default:null},classNames:{default:null}}),parseDOM:e,toDOM:function(e){var t=e.attrs;return[t.rawHTML||"del",CI(t)]}}},enumerable:!1,configurable:!0}),t.prototype.commands=function(){return function(){return function(e,t){return SE(e.schema.marks.strike)(e,t)}}},t.prototype.keymaps=function(){var e=this.commands()();return{"Mod-s":e,"Mod-S":e}},t}(yM),sZ=function(e){function t(t){var n=e.call(this)||this;return n.linkAttributes=t,n}return nT(t,e),Object.defineProperty(t.prototype,"name",{get:function(){return"link"},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"schema",{get:function(){var e=this;return{attrs:rT({linkUrl:{default:""},title:{default:null},rawHTML:{default:null}},{htmlAttrs:{default:null},classNames:{default:null}}),inclusive:!1,parseDOM:[{tag:"a[href]",getAttrs:function(e){var t=KR(e,{RETURN_DOM_FRAGMENT:!0}).firstChild,n=t.getAttribute("href")||"",r=t.getAttribute("title")||"",o=t.getAttribute("data-raw-html");return rT({linkUrl:n,title:r},o&&{rawHTML:o})}}],toDOM:function(t){var n=t.attrs;return[n.rawHTML||"a",rT(rT({href:QT(n.linkUrl)},e.linkAttributes),CI(n))]}}},enumerable:!1,configurable:!0}),t.prototype.addLink=function(){return function(e){return function(t,n){var r=e,o=r.linkUrl,i=r.linkText,a=void 0===i?"":i,s=t.schema,l=t.tr,c=t.selection,u=c.empty,d=c.from,p=c.to;if(d&&p&&o){var f={linkUrl:o},h=s.mark("link",f);if(u&&a){var m=bO(s,a,h);l.replaceRangeWith(d,p,m)}else l.addMark(d,p,h);return n(l.scrollIntoView()),!0}return!1}}},t.prototype.toggleLink=function(){return function(e){return function(t,n){return SE(t.schema.marks.link,e)(t,n)}}},t.prototype.commands=function(){return{addLink:this.addLink(),toggleLink:this.toggleLink()}},t}(yM),lZ=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return nT(t,e),Object.defineProperty(t.prototype,"name",{get:function(){return"code"},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"schema",{get:function(){return{attrs:rT({rawHTML:{default:null}},{htmlAttrs:{default:null},classNames:{default:null}}),parseDOM:[{tag:"code",getAttrs:function(e){var t=e.getAttribute("data-raw-html");return rT({},t&&{rawHTML:t})}}],toDOM:function(e){var t=e.attrs;return[t.rawHTML||"code",CI(t)]}}},enumerable:!1,configurable:!0}),t.prototype.commands=function(){return function(){return function(e,t){return SE(e.schema.marks.code)(e,t)}}},t.prototype.keymaps=function(){var e=this.commands()();return{"Shift-Mod-c":e,"Shift-Mod-C":e}},t}(yM),cZ=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return nT(t,e),Object.defineProperty(t.prototype,"name",{get:function(){return"customBlock"},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"schema",{get:function(){return{content:"text*",group:"block",attrs:{info:{default:null}},atom:!0,code:!0,defining:!0,parseDOM:[{tag:"div[data-custom-info]",getAttrs:function(e){return{info:e.getAttribute("data-custom-info")}}}],toDOM:function(e){return["div",{"data-custom-info":e.attrs.info||null},0]}}},enumerable:!1,configurable:!0}),t.prototype.commands=function(){return function(e){return function(t,n){return!!(null==e?void 0:e.info)&&kE(t.schema.nodes.customBlock,e)(t,n)}}},t}(D$),uZ=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return nT(t,e),Object.defineProperty(t.prototype,"name",{get:function(){return"frontMatter"},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"schema",{get:function(){return{content:"text*",group:"block",code:!0,defining:!0,parseDOM:[{preserveWhitespace:"full",tag:"div[data-front-matter]"}],toDOM:function(){return["div",{"data-front-matter":"true"},0]}}},enumerable:!1,configurable:!0}),t.prototype.commands=function(){return function(){return function(e,t,n){var r=e.selection.$from;return!(!n.endOfTextblock("down")||"frontMatter"!==r.node().type.name)&&fE(e,t)}}},t.prototype.keymaps=function(){return{Enter:this.commands()()}},t}(D$),dZ=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return nT(t,e),Object.defineProperty(t.prototype,"name",{get:function(){return"htmlComment"},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"schema",{get:function(){return{content:"text*",group:"block",code:!0,defining:!0,parseDOM:[{preserveWhitespace:"full",tag:"div[data-html-comment]"}],toDOM:function(){return["div",{"data-html-comment":"true"},0]}}},enumerable:!1,configurable:!0}),t.prototype.commands=function(){return function(){return function(e,t,n){var r=e.selection.$from;return!(!n.endOfTextblock("down")||"htmlComment"!==r.node().type.name)&&fE(e,t)}}},t.prototype.keymaps=function(){return{Enter:this.commands()()}},t}(D$);var pZ=m$("contents"),fZ=function(e){function t(t,n){var r=e.call(this,t)||this,o=n.toDOMAdaptor,i=n.htmlSchemaMap,a=void 0===i?{}:i,s=n.linkAttributes,l=void 0===s?{}:s,c=n.useCommandShortcut,u=void 0===c||c,d=n.wwPlugins,p=void 0===d?[]:d,f=n.wwNodeViews,h=void 0===f?{}:f;return r.editorType="wysiwyg",r.el.classList.add("ww-mode"),r.toDOMAdaptor=o,r.linkAttributes=l,r.extraPlugins=p,r.pluginNodeViews=h,r.specs=r.createSpecs(),r.schema=r.createSchema(a),r.context=r.createContext(),r.keymaps=r.createKeymaps(u),r.view=r.createView(),r.commands=r.createCommands(),r.specs.setContext(rT(rT({},r.context),{view:r.view})),r.initEvent(),r}return nT(t,e),t.prototype.createSpecs=function(){return e=this.linkAttributes,new F$([new IP,new PP,new _P,new FP,new jP,new BP,new zP,new HP,new UP,new YP,new XP,new JP,new QP,new eZ,new tZ,new nZ,new rZ,new oZ,new iZ,new aZ,new sZ(e),new lZ,new cZ,new uZ,new R$,new dZ]);var e},t.prototype.createContext=function(){return{schema:this.schema,eventEmitter:this.eventEmitter}},t.prototype.createSchema=function(e){return new hw({nodes:rT(rT({},this.specs.nodes),e.nodes),marks:rT(rT({},this.specs.marks),e.marks)})},t.prototype.createPlugins=function(){return oT([new Lx({key:WI,state:{init:function(){return null},apply:function(e,t){var n=e.getMeta(WI);if(n)return-1===n?null:n;if(ZT(t)||!e.docChanged)return t;var r=e.mapping.mapResult(t),o=r.deleted,i=r.pos;return o?null:i}},props:{decorations:GI,createSelectionBetween:function(e){var t=e.state;return ZT(WI.getState(t))?null:t.selection}},view:function(e){return new VI(e)}}),(e=this.eventEmitter,new Lx({props:{handleDOMEvents:{contextmenu:function(t,n){var r=FI(n.target,t.dom);if(r){n.preventDefault();var o=n,i=o.clientX,a=o.clientY,s=t.dom.parentNode.getBoundingClientRect(),l=s.left,c=s.top,u="TH"===r.nodeName;return e.emit("contextmenu",{pos:{left:i-l+10+"px",top:a-c+30+"px"},menuGroups:eP(e,u),tableCell:r}),!0}return!1}}}})),new Lx({props:{handleDOMEvents:{mousedown:function(e,t){var n=t,r=n.clientX,o=n.clientY,i=e.posAtCoords({left:r,top:o});if(i){var a=e.state,s=a.doc,l=a.tr,c=s.resolve(i.pos),u=wI(c),d=t.target,p=getComputedStyle(d,":before"),f=t,h=f.offsetX,m=f.offsetY;if(!u||!f$(p,h,m))return!1;t.preventDefault();var v=c.before(u.depth),g=u.node.attrs;return l.setNodeMarkup(v,null,rT(rT({},g),{checked:!g.checked})),e.dispatch(l),!0}return!1}}}}),iP(this.eventEmitter)],this.createPluginProps()).concat(this.defaultPlugins);var e},t.prototype.createPluginNodeViews=function(){var e=this.eventEmitter,t=this.pluginNodeViews,n={};return t&&Object.keys(t).forEach((function(r){n[r]=function(n,o,i){return t[r](n,o,i,e)}})),n},t.prototype.createView=function(){var e=this,t=this.toDOMAdaptor,n=this.eventEmitter;return new BC(this.el,{state:this.createState(),attributes:{class:pZ},nodeViews:rT({customBlock:function(e,n,r){return new aP(e,n,r,t)},image:function(e,t,r){return new lP(e,t,r,n)},codeBlock:function(e,t,r){return new cP(e,t,r,n)},widget:L$},this.createPluginNodeViews()),dispatchTransaction:function(t){var n=e.view.state.applyTransaction(t).state;e.view.updateState(n),e.emitChangeEvent(t.scrollIntoView()),e.eventEmitter.emit("setFocusedNode",n.selection.$from.node(1))},transformPastedHTML:SP,transformPasted:function(t){return AP(t,e.schema,bI(e.view.state.selection.$from))},handlePaste:function(e,t,n){return RP(e,n)},handleKeyDown:function(t,n){return e.eventEmitter.emit("keydown",e.editorType,n),!1},handleDOMEvents:{paste:function(t,n){var r=n.clipboardData||window.clipboardData,o=null==r?void 0:r.items;if(o){var i=gO(o).some((function(e){return"string"===e.kind&&"text/rtf"===e.type}));if(!i){var a=M$(o);a&&(n.preventDefault(),$$(e.eventEmitter,a,n.type))}}return!1},keyup:function(t,n){return e.eventEmitter.emit("keyup",e.editorType,n),!1},scroll:function(){return e.eventEmitter.emit("scroll","editor"),!0}}})},t.prototype.createCommands=function(){return this.specs.commands(this.view,DI())},t.prototype.getHTML=function(){return E$(this.view.dom.innerHTML)},t.prototype.getModel=function(){return this.view.state.doc},t.prototype.getSelection=function(){var e=this.view.state.selection;return[e.from,e.to]},t.prototype.getSchema=function(){return this.view.state.schema},t.prototype.replaceSelection=function(e,t,n){var r=this.view.state,o=r.schema,i=r.tr,a=e.split("\n").map((function(e){return yO(o,GO(e,o))})),s=new Lb(Tb.from(a),1,1),l=PT(t)&&PT(n)?i.replaceRange(t,n,s):i.replaceSelection(s);this.view.dispatch(l),this.focus()},t.prototype.deleteSelection=function(e,t){var n=this.view.state.tr,r=PT(e)&&PT(t)?n.deleteRange(e,t):n.deleteSelection();this.view.dispatch(r.scrollIntoView())},t.prototype.getSelectedText=function(e,t){var n=this.view.state,r=n.doc,o=n.selection,i=o.from,a=o.to;return PT(e)&&PT(t)&&(i=e,a=t),r.textBetween(i,a,"\n")},t.prototype.setModel=function(e,t){void 0===t&&(t=!1);var n=this.view.state,r=n.tr,o=n.doc;this.view.dispatch(r.replaceWith(0,o.content.size,e)),t&&this.moveCursorToEnd(!0)},t.prototype.setSelection=function(e,t){void 0===t&&(t=e);var n=this.view.state.tr,r=wO(n,e,t);this.view.dispatch(n.setSelection(r).scrollIntoView())},t.prototype.addWidget=function(e,t,n){var r=this.view,o=r.dispatch,i=r.state;o(i.tr.setMeta("widget",{pos:null!=n?n:i.selection.to,node:e,style:t}))},t.prototype.replaceWithWidget=function(e,t,n){var r=this.view.state,o=r.tr,i=GO(n,r.schema);this.view.dispatch(o.replaceWith(e,t,i))},t.prototype.getRangeInfoOfNode=function(e){var t=this.view.state,n=t.doc,r=t.selection,o=e?n.resolve(e):r.$from,i=o.marks(),a=o.node(),s=o.start(),l=o.end(),c=a.type.name;if(i.length||"paragraph"===c){var u=i[i.length-1];c=u?u.type.name:"text",a.forEach((function(e,t){var n=e.isText,r=e.nodeSize,i=e.marks,a=o.pos-s;n&&t<=a&&t+r>=a&&function(e){return!e.length||eO(e,u)}(i)&&(l=(s+=t)+r)}))}return{range:[s,l],type:c}},t}(I$),hZ=wT,mZ=ZT;var vZ=function(e){return!hZ(e)&&!mZ(e)};var gZ=function(e){return vZ(e)&&!1!==e};var yZ=function(e){return!gZ(e)},bZ=["afterPreviewRender","updatePreview","changeMode","needChangeMode","command","changePreviewStyle","changePreviewTabPreview","changePreviewTabWrite","scroll","contextmenu","show","hide","changeLanguage","changeToolbarState","toggleScrollSync","mixinTableOffsetMapPrototype","setFocusedNode","removePopupWidget","query","openPopup","closePopup","addImageBlobHook","beforePreviewRender","beforeConvertWysiwygToMarkdown","load","loadUI","change","caretChange","destroy","focus","blur","keydown","keyup"],wZ=function(){function e(){var e=this;this.events=new KI,this.eventTypes=bZ.reduce((function(e,t){return rT(rT({},e),{type:t})}),{}),this.hold=!1,bZ.forEach((function(t){e.addEventType(t)}))}return e.prototype.listen=function(e,t){var n=this.getTypeInfo(e),r=this.events.get(n.type)||[];if(!this.hasEventType(n.type))throw new Error("There is no event type "+n.type);n.namespace&&(t.namespace=n.namespace),r.push(t),this.events.set(n.type,r)},e.prototype.emit=function(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];var r=this.getTypeInfo(e),o=this.events.get(r.type),i=[];return!this.hold&&o&&o.forEach((function(e){var n=e.apply(void 0,t);wT(n)||i.push(n)})),i},e.prototype.emitReduce=function(e,t){for(var n=[],r=2;r<arguments.length;r++)n[r-2]=arguments[r];var o=this.events.get(e);return!this.hold&&o&&o.forEach((function(e){var r=e.apply(void 0,oT([t],n));yZ(r)||(t=r)})),t},e.prototype.getTypeInfo=function(e){var t=e.split(".");return{type:t[0],namespace:t[1]}},e.prototype.hasEventType=function(e){return!wT(this.eventTypes[this.getTypeInfo(e).type])},e.prototype.addEventType=function(e){if(this.hasEventType(e))throw new Error("There is already have event type "+e);this.eventTypes[e]=e},e.prototype.removeEventHandler=function(e,t){var n=this,r=this.getTypeInfo(e),o=r.type,i=r.namespace;o&&t?this.removeEventHandlerWithHandler(o,t):o&&!i?this.events.delete(o):!o&&i?this.events.forEach((function(e,t){n.removeEventHandlerWithTypeInfo(t,i)})):o&&i&&this.removeEventHandlerWithTypeInfo(o,i)},e.prototype.removeEventHandlerWithHandler=function(e,t){var n=this.events.get(e);if(n){var r=n.indexOf(t);n.indexOf(t)>=0&&n.splice(r,1)}},e.prototype.removeEventHandlerWithTypeInfo=function(e,t){var n=[],r=this.events.get(e);r&&(r.map((function(e){return e.namespace!==t&&n.push(e),null})),this.events.set(e,n))},e.prototype.getEvents=function(){return this.events},e.prototype.holdEventInvoke=function(e){this.hold=!0,e(),this.hold=!1},e}(),xZ=function(){function e(e,t,n,r){this.eventEmitter=e,this.mdCommands=t,this.wwCommands=n,this.getEditorType=r,this.initEvent()}return e.prototype.initEvent=function(){var e=this;this.eventEmitter.listen("command",(function(t,n){e.exec(t,n)}))},e.prototype.addCommand=function(e,t,n){"markdown"===e?this.mdCommands[t]=n:this.wwCommands[t]=n},e.prototype.deleteCommand=function(e,t){"markdown"===e?delete this.mdCommands[t]:delete this.wwCommands[t]},e.prototype.exec=function(e,t){"markdown"===this.getEditorType()?this.mdCommands[e](t):this.wwCommands[e](t)},e}();function kZ(e){return"\n"===e[e.length-1]?e.slice(0,e.length-1):e}function SZ(e,t){var n=e.schema,r=t.literal.match(c$);if(r){var o=r[1],i=r[3],a=(o||i).toLowerCase();return"htmlInline"===t.type&&!(!n.marks[a]&&!n.nodes[a])}return!1}function CZ(e){return eO(["text","strong","emph","strike","image","link","code"],e.type)}function EZ(e){return"softbreak"===(null==e?void 0:e.type)}function TZ(e){var t=e.type,n=e.literal,r="htmlInline"===t&&n.match(c$);if(r){var o=r[1],i=r[3],a=o||i;if(a)return eO(["ul","ol","li"],a.toLowerCase())}return!1}function OZ(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];var r=document.createElement("div");r.innerHTML=KR(e);var o=r.firstChild;return t.map((function(e){return o.getAttribute(e)||""}))}var $Z={"b, strong":function(e,t,n){var r=e.schema.marks.strong;n?e.openMark(r.create({rawHTML:n})):e.closeMark(r)},"i, em":function(e,t,n){var r=e.schema.marks.emph;n?e.openMark(r.create({rawHTML:n})):e.closeMark(r)},"s, del":function(e,t,n){var r=e.schema.marks.strike;n?e.openMark(r.create({rawHTML:n})):e.closeMark(r)},code:function(e,t,n){var r=e.schema.marks.code;n?e.openMark(r.create({rawHTML:n})):e.closeMark(r)},a:function(e,t,n){var r=t.literal,o=e.schema.marks.link;if(n){var i=OZ(r,"href")[0];e.openMark(o.create({linkUrl:i,rawHTML:n}))}else e.closeMark(o)},img:function(e,t,n){var r=t.literal;if(n){var o=OZ(r,"src","alt"),i=o[0],a=o[1],s=e.schema.nodes.image;e.addNode(s,rT({rawHTML:n,imageUrl:i},a&&{altText:a}))}},hr:function(e,t,n){e.addNode(e.schema.nodes.thematicBreak,{rawHTML:n})},br:function(e,t){var n=e.schema.nodes.paragraph,r=t.parent,o=t.prev,i=t.next;"paragraph"===(null==r?void 0:r.type)?(EZ(o)&&e.openNode(n),EZ(i)?e.closeNode():i&&(e.closeNode(),e.openNode(n))):"tableCell"===(null==r?void 0:r.type)&&(o&&(CZ(o)||SZ(e,o))&&e.closeNode(),i&&(CZ(i)||SZ(e,i))&&e.openNode(n))},pre:function(e,t,n){var r,o,i=document.createElement("div");i.innerHTML=t.literal;var a=null===(o=null===(r=i.firstChild)||void 0===r?void 0:r.firstChild)||void 0===o?void 0:o.textContent;e.openNode(e.schema.nodes.codeBlock,{rawHTML:n}),e.addText(kZ(a)),e.closeNode()},"ul, ol":function(e,t,n){if("tableCell"===t.parent.type){var r=e.schema.nodes,o=r.bulletList,i=r.orderedList,a=r.paragraph,s="ul"===n?o:i;n?(t.prev&&!TZ(t.prev)&&e.closeNode(),e.openNode(s,{rawHTML:n})):(e.closeNode(),t.next&&!TZ(t.next)&&e.openNode(a))}},li:function(e,t,n){var r;if("tableCell"===(null===(r=t.parent)||void 0===r?void 0:r.type)){var o=e.schema.nodes,i=o.listItem,a=o.paragraph;if(n){var s=function(e){var t=e.literal;return{task:/data-task/.test(t),checked:/data-task-checked/.test(t)}}(t);t.prev&&!TZ(t.prev)&&e.closeNode(),e.openNode(i,rT({rawHTML:n},s)),t.next&&!TZ(t.next)&&e.openNode(a)}else t.prev&&!TZ(t.prev)&&e.closeNode(),e.closeNode()}}},MZ=function(e){var t={};return Object.keys(e).forEach((function(n){n.split(", ").forEach((function(r){var o=r.toLowerCase();t[o]=e[n]}))})),t}($Z);function AZ(e){return"htmlInline"===e.type&&u$.test(e.literal)}function DZ(e){gO(e.childNodes).forEach((function(e){if(g$(e)){var t=e.nodeName.toLowerCase();e.setAttribute("data-raw-html",t),e.childNodes&&DZ(e)}}))}var LZ={text:function(e,t){e.addText(t.literal||"")},paragraph:function(e,t,n,r){var o;if(n.entering){var i=e.schema.nodes.paragraph;"paragraph"===(null===(o=t.prev)||void 0===o?void 0:o.type)&&(e.openNode(i,r),e.closeNode()),e.openNode(i,r)}else e.closeNode()},heading:function(e,t,n,r){if(n.entering){var o=t,i=o.level,a=o.headingType;e.openNode(e.schema.nodes.heading,rT({level:i,headingType:a},r))}else e.closeNode()},codeBlock:function(e,t,n){var r=e.schema.nodes.codeBlock,o=t,i=o.info,a=o.literal;e.openNode(r,rT({language:i},n)),e.addText(kZ(a||"")),e.closeNode()},list:function(e,t,n,r){if(n.entering){var o=e.schema.nodes,i=o.bulletList,a=o.orderedList,s=t.listData,l=s.type,c=s.start;"bullet"===l?e.openNode(i,r):e.openNode(a,rT({order:c},r))}else e.closeNode()},item:function(e,t,n,r){var o=n.entering,i=e.schema.nodes.listItem,a=t.listData,s=a.task,l=a.checked;if(o){var c=rT(rT(rT({},s&&{task:s}),l&&{checked:l}),r);e.openNode(i,c)}else e.closeNode()},blockQuote:function(e,t,n,r){n.entering?e.openNode(e.schema.nodes.blockQuote,r):e.closeNode()},image:function(e,t,n,r){var o=n.entering,i=n.skipChildren,a=e.schema.nodes.image,s=t,l=s.destination,c=s.firstChild;o&&i&&i(),e.addNode(a,rT(rT({imageUrl:l},c&&{altText:c.literal}),r))},thematicBreak:function(e,t,n,r){e.addNode(e.schema.nodes.thematicBreak,r)},strong:function(e,t,n,r){var o=n.entering,i=e.schema.marks.strong;o?e.openMark(i.create(r)):e.closeMark(i)},emph:function(e,t,n,r){var o=n.entering,i=e.schema.marks.emph;o?e.openMark(i.create(r)):e.closeMark(i)},link:function(e,t,n,r){var o=n.entering,i=e.schema.marks.link,a=t,s=a.destination,l=a.title;if(o){var c=rT({linkUrl:s,title:l},r);e.openMark(i.create(c))}else e.closeMark(i)},softbreak:function(e,t){if("paragraph"===t.parent.type){var n=t.prev,r=t.next;n&&!AZ(n)&&e.closeNode(),r&&!AZ(r)&&e.openNode(e.schema.nodes.paragraph)}},table:function(e,t,n,r){n.entering?e.openNode(e.schema.nodes.table,r):e.closeNode()},tableHead:function(e,t,n,r){n.entering?e.openNode(e.schema.nodes.tableHead,r):e.closeNode()},tableBody:function(e,t,n,r){n.entering?e.openNode(e.schema.nodes.tableBody,r):e.closeNode()},tableRow:function(e,t,n,r){n.entering?e.openNode(e.schema.nodes.tableRow,r):e.closeNode()},tableCell:function(e,t,n){var r=n.entering;if(!t.ignored){var o=function(t){return t&&(CZ(t)||SZ(e,t))};if(r){var i=e.schema.nodes,a=i.tableHeadCell,s=i.tableBodyCell,l=i.paragraph,c=t.parent.parent,u="tableHead"===c.type?a:s,d=(c.parent.columns[t.startIdx]||{}).align,p=rT({},t.attrs);d&&(p.align=d),e.openNode(u,p),o(t.firstChild)&&e.openNode(l)}else o(t.lastChild)&&e.closeNode(),e.closeNode()}},strike:function(e,t,n,r){var o=n.entering,i=e.schema.marks.strike;o?e.openMark(i.create(r)):e.closeMark(i)},code:function(e,t,n,r){var o=e.schema.marks.code;e.openMark(o.create(r)),e.addText(kZ(t.literal||"")),e.closeMark(o)},customBlock:function(e,t){var n=e.schema.nodes,r=n.customBlock,o=n.paragraph,i=t,a=i.info,s=i.literal;e.openNode(r,{info:a}),e.addText(kZ(s||"")),e.closeNode(),t.next||(e.openNode(o),e.closeNode())},frontMatter:function(e,t){e.openNode(e.schema.nodes.frontMatter),e.addText(t.literal),e.closeNode()},htmlInline:function(e,t){var n=t.literal,r=n.match(c$),o=r[1],i=r[3],a=(o||i).toLowerCase(),s=e.schema.marks[a],l=KR(n);if(null==s?void 0:s.spec.attrs.htmlInline)if(o){var c=XR(l);e.openMark(s.create({htmlAttrs:c}))}else e.closeMark(s);else{var u=MZ[a];u&&u(e,t,o)}},htmlBlock:function(e,t){var n=t.literal,r=document.createElement("div");if(d$.test(n))e.openNode(e.schema.nodes.htmlComment),e.addText(t.literal),e.closeNode();else{var o=n.match(c$),i=o[1],a=o[3],s=(i||a).toLowerCase(),l=e.schema.nodes[s],c=KR(n);if(null==l?void 0:l.spec.attrs.htmlBlock){var u=XR(c),d=YR(t,s);e.addNode(l,{htmlAttrs:u,childrenHTML:d})}else r.innerHTML=c,DZ(r),e.convertByDOMParser(r)}},customInline:function(e,t,n){var r=n.entering,o=n.skipChildren,i=t,a=i.info,s=i.firstChild,l=e.schema;if(-1!==a.indexOf("widget")&&r){var c=KO(t);o(),e.addNode(l.nodes.widget,{info:a},[l.text(HO(a,c))])}else{var u="$$";r&&(u+=s?a+" ":a),e.addText(u)}}};var NZ=function(){function e(e,t){this.schema=e,this.convertors=t,this.stack=[{type:this.schema.topNodeType,attrs:null,content:[]}],this.marks=Ab.none}return e.prototype.top=function(){return cO(this.stack)},e.prototype.push=function(e){this.stack.length&&this.top().content.push(e)},e.prototype.addText=function(e){if(e){var t=this.top().content,n=cO(t),r=this.schema.text(e,this.marks),o=n&&function(e,t){return!!(e.isText&&t.isText&&Ab.sameSet(e.marks,t.marks))&&e.withText(e.text+t.text)}(n,r);o?t[t.length-1]=o:t.push(r)}},e.prototype.openMark=function(e){this.marks=e.addToSet(this.marks)},e.prototype.closeMark=function(e){this.marks=e.removeFromSet(this.marks)},e.prototype.addNode=function(e,t,n){var r=e.createAndFill(t,n,this.marks);return r?(this.push(r),r):null},e.prototype.openNode=function(e,t){this.stack.push({type:e,attrs:t,content:[]})},e.prototype.closeNode=function(){this.marks.length&&(this.marks=Ab.none);var e=this.stack.pop(),t=e.type,n=e.attrs,r=e.content;return this.addNode(t,n,r)},e.prototype.convertByDOMParser=function(e){var t=this;vw.fromSchema(this.schema).parse(e).content.forEach((function(e){return t.push(e)}))},e.prototype.closeUnmatchedHTMLInline=function(e,t){var n;if(!t&&"htmlInline"!==e.type)for(var r=this.stack.length-1;r>=0;r-=1){var o=this.stack[r];if(!(null===(n=o.attrs)||void 0===n?void 0:n.rawHTML))break;o.content.length?this.closeNode():this.stack.pop()}},e.prototype.convert=function(e,t){for(var n=e.walker(),r=n.next(),o=function(){var e=r.node,o=r.entering,a=i.convertors[e.type],s=!1;if(a){var l={entering:o,leaf:!ZO(e),getChildrenText:_O,options:{gfm:!0,nodeId:!1,tagFilter:!1,softbreak:"\n"},skipChildren:function(){s=!0}};if(i.closeUnmatchedHTMLInline(e,o),a(i,e,l),(null==t?void 0:t.node)===e){var c=i.stack.reduce((function(e,t){return e+t.content.reduce((function(e,t){return e+t.nodeSize}),0)}),0)+1;t.setMappedPos(c)}}s&&(n.resumeAt(e,!1),n.next()),r=n.next()},i=this;r;)o()},e.prototype.convertNode=function(e,t){return this.convert(e,t),this.stack.length?this.closeNode():null},e}();var RZ={text:function(e,t){var n,r=t.node,o=null!==(n=r.text)&&void 0!==n?n:"";(r.marks||[]).some((function(e){return"link"===e.type.name}))?e.text(iO(o),!1):e.text(o)},paragraph:function(e,t){var n=t.node,r=t.parent,o=t.index,i=void 0===o?0:o;if(e.stopNewline)e.convertInline(n);else{var a=0===i,s=!a&&r.child(i-1),l=s&&0===s.childCount,c=i<r.childCount-1&&r.child(i+1),u=c&&"paragraph"===c.type.name,d=0===n.childCount;if(d&&l)e.write("<br>\n");else if(!d||l||a)e.convertInline(n),u?e.write("\n"):e.closeBlock(n);else{if("listItem"===(null==r?void 0:r.type.name)){var p=e.getDelim();e.setDelim(""),e.write("<br>"),e.setDelim(p)}e.write("\n")}}},heading:function(e,t,n){var r=t.node,o=n.delim;"atx"===r.attrs.headingType?(e.write(o+" "),e.convertInline(r),e.closeBlock(r)):(e.convertInline(r),e.ensureNewLine(),e.write(o),e.closeBlock(r))},codeBlock:function(e,t,n){var r=t.node,o=n.delim,i=n.text,a=o,s=a[0],l=a[1];e.write(s),e.ensureNewLine(),e.text(i,!1),e.ensureNewLine(),e.write(l),e.closeBlock(r)},blockQuote:function(e,t,n){var r=t.node,o=t.parent,i=n.delim;(null==o?void 0:o.type.name)===r.type.name&&e.flushClose(1),e.wrapBlock(i,null,r,(function(){return e.convertNode(r)}))},bulletList:function(e,t,n){var r=t.node,o=n.delim;e.convertList(r,oO(" ",4),(function(){return o+" "}))},orderedList:function(e,t){var n=t.node,r=n.attrs.order||1;e.convertList(n,oO(" ",4),(function(e){return String(r+e)+". "}))},listItem:function(e,t){var n=t.node,r=n.attrs,o=r.task,i=r.checked;o&&e.write("["+(i?"x":" ")+"] "),e.convertNode(n)},image:function(e,t,n){var r=n.attrs;e.write("!["+(null==r?void 0:r.altText)+"]("+(null==r?void 0:r.imageUrl)+")")},thematicBreak:function(e,t,n){var r=t.node,o=n.delim;e.write(o),e.closeBlock(r)},table:function(e,t){var n=t.node;e.convertNode(n),e.closeBlock(n)},tableHead:function(e,t,n){var r=t.node,o=n.delim,i=r.firstChild;e.convertNode(r);var a=null!=o?o:"";!o&&i&&i.forEach((function(e){var t=function(e,t){var n=e.length,r="",o="";return"left"===t?(r=":",n-=1):"right"===t?(o=":",n-=1):"center"===t&&(r=":",o=":",n-=2),""+r+oO("-",Math.max(n,3))+o}(e.textContent,e.attrs.align);a+="| "+t+" "})),e.write(a+"|"),e.ensureNewLine()},tableBody:function(e,t){var n=t.node;e.convertNode(n)},tableRow:function(e,t){var n=t.node;e.convertNode(n),e.write("|"),e.ensureNewLine()},tableHeadCell:function(e,t,n){var r=t.node,o=n.delim,i=void 0===o?"| ":o;e.write(i),e.convertTableCell(r),e.write(" ")},tableBodyCell:function(e,t,n){var r=t.node,o=n.delim,i=void 0===o?"| ":o;e.write(i),e.convertTableCell(r),e.write(" ")},customBlock:function(e,t,n){var r=t.node,o=n.delim,i=n.text,a=o,s=a[0],l=a[1];e.write(s),e.ensureNewLine(),e.text(i,!1),e.ensureNewLine(),e.write(l),e.closeBlock(r)},frontMatter:function(e,t,n){var r=t.node,o=n.text;e.text(o,!1),e.closeBlock(r)},widget:function(e,t,n){var r=n.text;e.write(r)},html:function(e,t,n){var r=t.node,o=n.text;e.write(o),r.attrs.htmlBlock&&e.closeBlock(r)},htmlComment:function(e,t,n){var r=t.node,o=n.text;e.write(o),e.closeBlock(r)}};function IZ(e,t){var n=e.text,r=/`+/g,o=0;if(e.isText&&n)for(var i=r.exec(n);i;)o=Math.max(o,i[0].length),i=r.exec(n);for(var a=o>0&&t>0?" `":"`",s=0;s<o;s+=1)a+="`";return o>0&&t<0&&(a+=" "),a}function PZ(e){return e?["<"+e+">","</"+e+">"]:null}function ZZ(e){return e?"<"+e+">":null}function _Z(e){return e?"</"+e+">":null}var FZ={heading:function(e){var t=e.node.attrs,n=t.level,r=oO("#",n);return"setext"===t.headingType&&(r=1===n?"===":"---"),{delim:r,rawHTML:PZ(t.rawHTML)}},codeBlock:function(e){var t=e.node,n=t.attrs,r=t.textContent;return{delim:["```"+(n.language||""),"```"],rawHTML:PZ(n.rawHTML),text:r}},blockQuote:function(e){return{delim:"> ",rawHTML:PZ(e.node.attrs.rawHTML)}},bulletList:function(e,t){var n=e.node,r=t.inTable,o=n.attrs.rawHTML;return r&&(o=o||"ul"),{delim:"*",rawHTML:PZ(o)}},orderedList:function(e,t){var n=e.node,r=t.inTable,o=n.attrs.rawHTML;return r&&(o=o||"ol"),{rawHTML:PZ(o)}},listItem:function(e,t){var n=e.node,r=t.inTable,o=n.attrs,i=o.task,a=o.checked,s=n.attrs.rawHTML;return r&&(s=s||"li"),{rawHTML:s?["<"+s+(i?' class="task-list-item'+(a?" checked":"")+'"':"")+(i?" data-task"+(a?" data-task-checked":""):"")+">","</"+s+">"]:null}},table:function(e){return{rawHTML:PZ(e.node.attrs.rawHTML)}},tableHead:function(e){return{rawHTML:PZ(e.node.attrs.rawHTML)}},tableBody:function(e){return{rawHTML:PZ(e.node.attrs.rawHTML)}},tableRow:function(e){return{rawHTML:PZ(e.node.attrs.rawHTML)}},tableHeadCell:function(e){return{rawHTML:PZ(e.node.attrs.rawHTML)}},tableBodyCell:function(e){return{rawHTML:PZ(e.node.attrs.rawHTML)}},image:function(e){var t=e.node.attrs,n=t.rawHTML,r=t.altText,o=t.imageUrl.replace(/&/g,"&"),i=r?' alt="'+QT(r)+'"':"";return{rawHTML:n?"<"+n+' src="'+QT(o)+'"'+i+">":null,attrs:{altText:iO(r||""),imageUrl:o}}},thematicBreak:function(e){return{delim:"***",rawHTML:ZZ(e.node.attrs.rawHTML)}},customBlock:function(e){var t=e.node,n=t.attrs,r=t.textContent;return{delim:["$$"+n.info,"$$"],text:r}},frontMatter:function(e){return{text:e.node.textContent}},widget:function(e){return{text:e.node.textContent}},strong:function(e,t){var n=e.node,r=t.entering,o=n.attrs.rawHTML;return{delim:"**",rawHTML:r?ZZ(o):_Z(o)}},emph:function(e,t){var n=e.node,r=t.entering,o=n.attrs.rawHTML;return{delim:"*",rawHTML:r?ZZ(o):_Z(o)}},strike:function(e,t){var n=e.node,r=t.entering,o=n.attrs.rawHTML;return{delim:"~~",rawHTML:r?ZZ(o):_Z(o)}},link:function(e,t){var n,r,o=e.node,i=t.entering,a=o.attrs,s=a.title,l=a.rawHTML,c=a.linkUrl.replace(/&/g,"&"),u=s?' title="'+QT(s)+'"':"";return i?{delim:"[",rawHTML:l?"<"+l+' href="'+QT(c)+'"'+u+">":null}:{delim:"]("+c+(s?" "+(n=iO(s),(r=-1===n.indexOf('"')?'""':-1===n.indexOf("'")?"''":"()")[0]+n+r[1]):"")+")",rawHTML:_Z(l)}},code:function(e,t){var n=e.node,r=e.parent,o=e.index,i=void 0===o?0:o,a=t.entering;return{delim:a?IZ(r.child(i),-1):IZ(r.child(i-1),1),rawHTML:a?ZZ(n.attrs.rawHTML):_Z(n.attrs.rawHTML)}},htmlComment:function(e){return{text:e.node.textContent}},html:function(e,t){var n=e.node,r=t.entering,o=n.type.name,i=n.attrs.htmlAttrs,a="<"+o,s="</"+o+">";return Object.keys(i).forEach((function(e){a+=" "+e+'="'+i[e].replace(/"/g,"'")+'"'})),a+=">",n.attrs.htmlInline?{rawHTML:r?a:s}:{text:""+a+n.attrs.childrenHTML+s}}},jZ={strong:{mixable:!0,removedEnclosingWhitespace:!0},emph:{mixable:!0,removedEnclosingWhitespace:!0},strike:{mixable:!0,removedEnclosingWhitespace:!0},code:{escape:!1},link:null,html:null};function BZ(e){var t={};return Object.keys(RZ).forEach((function(n){t[n]=function(t,r){if(RZ[n]){var o=e[n],i=o?o(r,{inTable:t.inTable}):{};!function(e,t){var n=t.state,r=t.nodeInfo,o=t.params,i=o.rawHTML;i?bT(e,["heading","codeBlock"])>-1?function(e,t,n){var r=n[0],o=n[1];e.write(r),e.convertInline(t),e.write(o)}(n,r.node,i):bT(e,["image","thematicBreak"])>-1?n.write(i):function(e,t,n){var r=t.node,o=t.parent,i=n[0],a=n[1];e.stopNewline=!0,e.write(i),e.convertNode(r),e.write(a),"doc"===(null==o?void 0:o.type.name)&&(e.closeBlock(r),e.stopNewline=!1)}(n,r,i):RZ[e](n,r,o)}(n,{state:t,nodeInfo:r,params:i})}}})),t}function zZ(e){Object.keys(e).forEach((function(t){var n=FZ[t],r=e[t];FZ[t]=n?function(e,t){return t.origin=function(){return n(e,t)},r(e,t)}:r,delete e[t]}));var t=BZ(FZ),n=function(e){var t={};return Object.keys(jZ).forEach((function(n){t[n]=function(t,r){var o=jZ[n],i=e[n],a=i&&t&&!wT(r)?i(t,{entering:r}):{};return rT(rT({},a),o)}})),t}(FZ);return{nodeTypeConvertors:t,markTypeConvertors:n}}var HZ=function(){function e(e){var t=e.nodeTypeConvertors,n=e.markTypeConvertors;this.nodeTypeConvertors=t,this.markTypeConvertors=n,this.delim="",this.result="",this.closed=!1,this.tightList=!1,this.stopNewline=!1,this.inTable=!1}return e.prototype.getMarkConvertor=function(e){var t=e.attrs.htmlInline?"html":e.type.name;return this.markTypeConvertors[t]},e.prototype.isInBlank=function(){return/(^|\n)$/.test(this.result)},e.prototype.markText=function(e,t,n,r){var o=this.getMarkConvertor(e);if(o){var i=o({node:e,parent:n,index:r},t),a=i.delim;return i.rawHTML||a}return""},e.prototype.setDelim=function(e){this.delim=e},e.prototype.getDelim=function(){return this.delim},e.prototype.flushClose=function(e){if(!this.stopNewline&&this.closed){if(this.isInBlank()||(this.result+="\n"),e||(e=2),e>1){var t=this.delim,n=/\s+$/.exec(t);n&&(t=t.slice(0,t.length-n[0].length));for(var r=1;r<e;r+=1)this.result+=t+"\n"}this.closed=!1}},e.prototype.wrapBlock=function(e,t,n,r){var o=this.getDelim();this.write(t||e),this.setDelim(this.getDelim()+e),r(),this.setDelim(o),this.closeBlock(n)},e.prototype.ensureNewLine=function(){this.isInBlank()||(this.result+="\n")},e.prototype.write=function(e){void 0===e&&(e=""),this.flushClose(),this.delim&&this.isInBlank()&&(this.result+=this.delim),e&&(this.result+=e)},e.prototype.closeBlock=function(e){this.closed=e},e.prototype.text=function(e,t){void 0===t&&(t=!0);for(var n=e.split("\n"),r=0;r<n.length;r+=1)this.write(),this.result+=t?aO(n[r]):n[r],r!==n.length-1&&(this.result+="\n")},e.prototype.convertBlock=function(e,t,n){var r=e.type.name,o=this.nodeTypeConvertors[r],i={node:e,parent:t,index:n};e.attrs.htmlBlock?this.nodeTypeConvertors.html(this,i):o&&o(this,i)},e.prototype.convertInline=function(e){var t=this,n=[],r="",o=function(o,i,a){var s=o?o.marks:[],l=r;r="";var c=o&&o.isText&&s.some((function(e){var n=t.getMarkConvertor(e),r=n&&n();return r&&r.removedEnclosingWhitespace}));if(c&&o&&o.text){var u=/^(\s*)(.*?)(\s*)$/m.exec(o.text),d=u[1],p=u[2],f=u[3];l+=d,r=f,(d||f)&&((o=p?o.withText(p):null)||(s=n))}for(var h=s.length&&cO(s),m=h&&t.getMarkConvertor(h),v=m&&m(),g=v&&!1===v.escape,y=s.length-(g?1:0),b=0;b<y;b+=1){p=s[b];if(v&&!v.mixable)break;for(var w=0;w<n.length;w+=1){var x=n[w];if(v&&!v.mixable)break;if(p.eq(x)){b>w?s=s.slice(0,w).concat(p).concat(s.slice(w,b)).concat(s.slice(b+1,y)):w>b&&(s=s.slice(0,b).concat(s.slice(b+1,w)).concat(p).concat(s.slice(w,y)));break}}}for(var k=0;k<Math.min(n.length,y)&&s[k].eq(n[k]);)k+=1;for(;k<n.length;){var S=n.pop();S&&t.text(t.markText(S,!1,e,a),!1)}if(l&&t.text(l),o){for(;n.length<y;){p=s[n.length];n.push(p),t.text(t.markText(p,!0,e,a),!1)}g&&o.isText?t.text(t.markText(h,!0,e,a)+o.text+t.markText(h,!1,e,a+1),!1):t.convertBlock(o,e,a)}};e.forEach(o),o(null,0,e.childCount)},e.prototype.convertList=function(e,t,n){var r,o=this;this.closed&&this.closed.type===e.type?this.flushClose(3):this.tightList&&this.flushClose(1);var i=null===(r=e.attrs.tight)||void 0===r||r,a=this.tightList;this.tightList=i,e.forEach((function(r,a,s){s&&i&&o.flushClose(1),o.wrapBlock(t,n(s),e,(function(){return o.convertBlock(r,e,s)}))})),this.tightList=a},e.prototype.convertTableCell=function(e){var t=this;this.stopNewline=!0,this.inTable=!0,e.forEach((function(n,r,o){eO(["bulletList","orderedList"],n.type.name)?(t.convertBlock(n,e,o),t.closed=!1):(t.convertInline(n),o<e.childCount-1&&"paragraph"===e.child(o+1).type.name&&t.write("<br>"))})),this.stopNewline=!1,this.inTable=!1},e.prototype.convertNode=function(e,t){var n=this;return e.forEach((function(r,o,i){if(n.convertBlock(r,e,i),(null==t?void 0:t.node)===r){var a=n.result.split("\n");t.setMappedPos([a.length,cO(a).length+1])}})),this.result},e}(),UZ=function(){function e(e,t,n,r){var o=this;this.setMappedPos=function(e){o.mappedPosWhenConverting=e},this.schema=e,this.eventEmitter=r,this.focusedNode=null,this.mappedPosWhenConverting=null,this.toWwConvertors=function(e){var t=Object.keys(e),n=rT({},LZ),r=new XN({gfm:!0,nodeId:!0,convertors:e}).getConvertors();return t.forEach((function(t){var o=LZ[t];o&&!eO(["htmlBlock","htmlInline"],t)&&(n[t]=function(n,i,a){a.origin=function(){return r[t](i,a,r)};var s,l=e[t](i,a);if(l){var c=Array.isArray(l)?l[0]:l;s={htmlAttrs:c.attributes,classNames:c.classNames}}o(n,i,a,s)})})),n}(n),this.toMdConvertors=zZ(t||{}),this.eventEmitter.listen("setFocusedNode",(function(e){return o.focusedNode=e}))}return e.prototype.getMappedPos=function(){return this.mappedPosWhenConverting},e.prototype.getInfoForPosSync=function(){return{node:this.focusedNode,setMappedPos:this.setMappedPos}},e.prototype.toWysiwygModel=function(e){return new NZ(this.schema,this.toWwConvertors).convertNode(e,this.getInfoForPosSync())},e.prototype.toMarkdownText=function(e){var t=new HZ(this.toMdConvertors).convertNode(e,this.getInfoForPosSync());return t=this.eventEmitter.emitReduce("beforeConvertWysiwygToMarkdown",t)},e}();function WZ(e){var t=e.plugins,n=e.eventEmitter,r=e.usageStatistics,o=e.instance;return n.listen("mixinTableOffsetMapPrototype",II),(null!=t?t:[]).reduce((function(e,t){var i=function(e){var t=e.plugin,n={eventEmitter:e.eventEmitter,usageStatistics:e.usageStatistics,instance:e.instance,pmState:{Plugin:Lx,PluginKey:Ix,Selection:fx,TextSelection:gx},pmView:{Decoration:mC,DecorationSet:yC},pmModel:{Fragment:Tb},pmRules:{InputRule:AE,inputRules:LE,undoInputRule:RE},pmKeymap:{keymap:nE},i18n:JI};if(cT(t)){var r=t[0],o=t[1];return r(n,void 0===o?{}:o)}return t(n)}({plugin:t,eventEmitter:n,usageStatistics:r,instance:o});if(!i)throw new Error("The return value of the executed plugin is empty.");var a=i.markdownParsers,s=i.toHTMLRenderers,l=i.toMarkdownRenderers,c=i.markdownPlugins,u=i.wysiwygPlugins,d=i.wysiwygNodeViews,p=i.markdownCommands,f=i.wysiwygCommands,h=i.toolbarItems;return s&&(e.toHTMLRenderers=dO(e.toHTMLRenderers,s)),l&&(e.toMarkdownRenderers=dO(e.toMarkdownRenderers,l)),c&&(e.mdPlugins=e.mdPlugins.concat(c)),u&&(e.wwPlugins=e.wwPlugins.concat(u)),d&&(e.wwNodeViews=rT(rT({},e.wwNodeViews),d)),p&&(e.mdCommands=rT(rT({},e.mdCommands),p)),f&&(e.wwCommands=rT(rT({},e.wwCommands),f)),h&&(e.toolbarItems=e.toolbarItems.concat(h)),a&&(e.markdownParsers=rT(rT({},e.markdownParsers),a)),e}),{toHTMLRenderers:{},toMarkdownRenderers:{},mdPlugins:[],wwPlugins:[],wwNodeViews:{},mdCommands:{},wwCommands:{},toolbarItems:[],markdownParsers:{}})}var VZ=function(){function e(e){var t=this;this.options=sT({linkAttributes:null,extendedAutolinks:!1,customHTMLRenderer:null,referenceDefinition:!1,customHTMLSanitizer:null,frontMatter:!1,usageStatistics:!0,theme:"light"},e),this.eventEmitter=new wZ;var n,r=rO(this.options.linkAttributes),o=WZ({plugins:this.options.plugins,eventEmitter:this.eventEmitter,usageStatistics:this.options.usageStatistics,instance:this})||{},i=o.toHTMLRenderers,a=o.markdownParsers,s=this.options,l=s.customHTMLRenderer,c=s.extendedAutolinks,u=s.referenceDefinition,d=s.frontMatter,p=s.customHTMLSanitizer,f={linkAttributes:r,customHTMLRenderer:rT(rT({},i),l),extendedAutolinks:c,referenceDefinition:u,frontMatter:d,sanitizer:p||KR};n=f.customHTMLRenderer,["htmlBlock","htmlInline"].forEach((function(e){n[e]&&Object.keys(n[e]).forEach((function(e){return GR(e)}))})),this.options.events&&aT(this.options.events,(function(e,n){t.on(n,e)}));var h=this.options,m=h.el,v=h.initialValue,g=h.theme,y=m.innerHTML;"light"!==g&&m.classList.add(m$(g)),m.innerHTML="",this.toastMark=new UN("",{disallowedHtmlBlockTags:["br","img"],extendedAutolinks:c,referenceDefinition:u,disallowDeepHeading:!0,frontMatter:d,customParser:a}),this.preview=new vI(this.eventEmitter,rT(rT({},f),{isViewer:!0})),ZA(this.preview.previewContent,"mousedown",this.toggleTask.bind(this)),v?this.setMarkdown(v):y&&this.preview.setHTML(y),m.appendChild(this.preview.previewContent),this.eventEmitter.emit("load",this)}return e.prototype.toggleTask=function(e){var t=e.target,n=getComputedStyle(t,":before");!t.hasAttribute("data-task-disabled")&&t.hasAttribute("data-task")&&f$(n,e.offsetX,e.offsetY)&&(b$(t,"checked"),this.eventEmitter.emit("change",{source:"viewer",date:e}))},e.prototype.setMarkdown=function(e){var t=this.toastMark.getLineTexts(),n=[t.length,cO(t).length+1],r=this.toastMark.editMarkdown([1,1],n,e||"");this.eventEmitter.emit("updatePreview",r)},e.prototype.on=function(e,t){this.eventEmitter.listen(e,t)},e.prototype.off=function(e){this.eventEmitter.removeEventHandler(e)},e.prototype.addHook=function(e,t){this.eventEmitter.removeEventHandler(e),this.eventEmitter.listen(e,t)},e.prototype.destroy=function(){LA(this.preview.el,"mousedown",this.toggleTask.bind(this)),this.preview.destroy(),this.eventEmitter.emit("destroy")},e.prototype.isViewer=function(){return!0},e.prototype.isMarkdownMode=function(){return!1},e.prototype.isWysiwygMode=function(){return!1},e}();function qZ(e){return e instanceof Yb}function GZ(e){return eO(["document","blockQuote","bulletList","orderedList","listItem","paragraph","heading","emph","strong","strike","link","image","table","tableHead","tableBody","tableRow","tableHeadCell","tableBodyCell"],e)}var KZ={openTag:function(e,t){var n=e,r=n.tagName,o=n.classNames,i=n.attributes,a=document.createElement(r),s={};o&&(a.className=o.join(" ")),i&&(s=rT(rT({},s),i)),C$(s,a),t.push(a)},closeTag:function(e,t){if(t.length>1){var n=t.pop();cO(t).appendChild(n)}},html:function(e,t){cO(t).insertAdjacentHTML("beforeend",e.content)},text:function(e,t){var n=document.createTextNode(e.content);cO(t).appendChild(n)}},YZ=function(){function e(e,t){var n=rI(e,t),r=rT(rT({},t.htmlBlock),t.htmlInline);this.customConvertorKeys=Object.keys(t).concat(Object.keys(r)),this.renderer=new XN({gfm:!0,convertors:rT(rT({},n),r)}),this.convertors=this.renderer.getConvertors()}return e.prototype.generateTokens=function(e){var t=function(e){var t=e.attrs,n=e.type.name,r={type:n,wysiwygNode:!0,literal:!GZ(n)&&qZ(e)?e.textContent:null},o={heading:{level:t.level},link:{destination:t.linkUrl,title:t.title},image:{destination:t.imageUrl},codeBlock:{info:t.language},bulletList:{type:"list",listData:{type:"bullet"}},orderedList:{type:"list",listData:{type:"ordered",start:t.order}},listItem:{type:"item",listData:{task:t.task,checked:t.checked}},tableHeadCell:{type:"tableCell",cellType:"head",align:t.align},tableBodyCell:{type:"tableCell",cellType:"body",align:t.align},customBlock:{info:t.info}}[n],i=rT(rT({},r),o),a=e.attrs,s=a.htmlAttrs,l=a.childrenHTML;return s?rT(rT({},i),{attrs:s,childrenHTML:l}):i}(e),n={entering:!0,leaf:!!qZ(e)&&e.isLeaf,options:this.renderer.getOptions(),getChildrenText:function(){return qZ(e)?e.textContent:""},skipChildren:function(){return!1}},r=this.convertors[e.type.name],o=r(t,n,this.convertors),i=cT(o)?o:[o];return(GZ(e.type.name)||e.attrs.htmlInline)&&(n.entering=!1,i.push({type:"text",content:qZ(e)?e.textContent:""}),i=i.concat(r(t,n,this.convertors))),i},e.prototype.toDOMNode=function(e){var t=this.generateTokens(e),n=[];return t.forEach((function(e){return KZ[e.type](e,n)})),n[0]},e.prototype.getToDOMNode=function(e){return eO(this.customConvertorKeys,e)?this.toDOMNode.bind(this):null},e}(),XZ=15,JZ=null,QZ=null;function e_(e,t){var n=t.syncScrollTop,r=t.releaseEventBlock;QZ&&clearTimeout(QZ),n(e),QZ=setTimeout((function(){r()}),XZ)}var t_=function(){function e(e,t,n){this.latestEditorScrollTop=null,this.latestPreviewScrollTop=null,this.blockedScroll=null,this.active=!0,this.timer=null;var r=t.previewContent,o=t.el;this.previewRoot=r,this.previewEl=o,this.mdEditor=e,this.editorView=e.view,this.toastMark=e.getToastMark(),this.eventEmitter=n,this.addScrollSyncEvent()}return e.prototype.addScrollSyncEvent=function(){var e=this;this.eventEmitter.listen("afterPreviewRender",(function(){e.clearTimer(),e.timer=setTimeout((function(){e.syncPreviewScrollTop(!0)}),200)})),this.eventEmitter.listen("scroll",(function(t,n){e.active&&("editor"===t&&"editor"!==e.blockedScroll?e.syncPreviewScrollTop():"preview"===t&&"preview"!==e.blockedScroll&&e.syncEditorScrollTop(n))})),this.eventEmitter.listen("toggleScrollSync",(function(t){e.active=t}))},e.prototype.getMdNodeAtPos=function(e,t){var n=e.content.findIndex(t.pos).index;return this.toastMark.findFirstNodeAtLine(n+1)},e.prototype.getScrollTopByCaretPos=function(){var e=this.mdEditor.getSelection(),t=this.toastMark.findFirstNodeAtLine(e[0][0]),n=this.previewEl.clientHeight,r=dI(this.previewRoot,t).el,o=(cI(r,this.previewRoot)||r.offsetTop)+r.clientHeight-.5*n;return this.latestEditorScrollTop=null,r.getBoundingClientRect().top-this.previewEl.getBoundingClientRect().top<n?null:o},e.prototype.syncPreviewScrollTop=function(e){void 0===e&&(e=!1);var t=this,n=t.editorView,r=t.previewEl,o=t.previewRoot,i=n.dom.getBoundingClientRect(),a=i.left,s=i.top,l=n.posAtCoords({left:a,top:s}),c=n.state.doc,u=this.getMdNodeAtPos(c,l);if(u&&!function(e){var t=e.type;return"htmlBlock"===t||"htmlInline"===t}(u)){var d=r.scrollTop,p=n.dom,f=p.scrollTop,h=p.scrollHeight,m=p.clientHeight,v=p.children,g=h-f<=m+18,y=g?r.scrollHeight:0;if(f&&!g){if(e){var b=this.getScrollTopByCaretPos();if(!b)return;y=b}else{var w=dI(this.previewRoot,u),x=w.el,k=sI(c,w.mdNode,v),S=k.height,C=k.rect;y=(cI(x,o)||x.offsetTop)+x.clientHeight*(s>C.top?Math.min((s-C.top)/S,1):0)}y=this.getResolvedScrollTop("editor",f,y,d),this.latestEditorScrollTop=f}y!==d&&this.run("editor",y,d)}},e.prototype.syncEditorScrollTop=function(e){var t=this,n=t.toastMark,r=t.editorView,o=t.previewRoot,i=t.previewEl,a=r.dom,s=r.state,l=i.scrollTop,c=i.clientHeight,u=i.scrollHeight-l<=c,d=a.scrollTop,p=u?a.scrollHeight:0;if(l&&e&&!u){if(e=function(e,t){for(;!e.getAttribute("data-nodeid")&&e.parentElement!==t;)e=e.parentElement;return e}(e,o),!e.getAttribute("data-nodeid"))return;var f=a.children,h=Number(e.getAttribute("data-nodeid")),m=dI(this.previewRoot,n.findNodeById(h)),v=m.mdNode,g=m.el;p=f[CO(v)-1].offsetTop;var y=sI(s.doc,v,f).height,b=hI(g,o,h),w=b.nodeHeight;p+=function(e,t,n,r){return Math.min((e-t)/n,1)*r}(l,b.offsetTop,w,y),p=this.getResolvedScrollTop("preview",l,p,d),this.latestPreviewScrollTop=l}p!==d&&this.run("preview",p,d)},e.prototype.getResolvedScrollTop=function(e,t,n,r){var o="editor"===e?this.latestEditorScrollTop:this.latestPreviewScrollTop;return null===o?n:o<t?Math.max(n,r):Math.min(n,r)},e.prototype.run=function(e,t,n){var r,o=this;"editor"===e?(r=this.previewEl,this.blockedScroll="preview"):(r=this.editorView.dom,this.blockedScroll="editor"),function(e,t,n){var r=t-e,o=Date.now(),i=function(){var a,s=(Date.now()-o)/100;JZ&&clearTimeout(JZ),s<1?(a=e+r*Math.cos((1-s)*Math.PI/2),e_(Math.ceil(a),n),JZ=setTimeout(i,1)):(e_(t,n),JZ=null)};i()}(n,t,{syncScrollTop:function(e){return r.scrollTop=e},releaseEventBlock:function(){return o.blockedScroll=null}})},e.prototype.clearTimer=function(){this.timer&&(clearTimeout(this.timer),this.timer=null)},e.prototype.destroy=function(){this.clearTimer(),this.eventEmitter.removeEventHandler("scroll"),this.eventEmitter.removeEventHandler("afterPreviewRender")},e}(),n_={getPopupInitialValues:function(e,t){return"link"===t.popupName?{linkText:e.getSelectedText()}:{}}};var r_=function(){function e(e){var t=this;this.initialHTML=e.el.innerHTML,e.el.innerHTML="",this.options=sT({previewStyle:"tab",previewHighlight:!0,initialEditType:"markdown",height:"300px",minHeight:"200px",language:"en-US",useCommandShortcut:!0,usageStatistics:!0,toolbarItems:[["heading","bold","italic","strike"],["hr","quote"],["ul","ol","task","indent","outdent"],["table","image","link"],["code","codeblock"],["scrollSync"]],hideModeSwitch:!1,linkAttributes:null,extendedAutolinks:!1,customHTMLRenderer:null,customMarkdownRenderer:null,referenceDefinition:!1,customHTMLSanitizer:null,frontMatter:!1,widgetRules:[],theme:"light",autofocus:!0},e);var n=this.options,r=n.customHTMLRenderer,o=n.extendedAutolinks,i=n.referenceDefinition,a=n.frontMatter,s=n.customMarkdownRenderer,l=n.useCommandShortcut,c=n.initialEditType,u=n.widgetRules,d=n.customHTMLSanitizer;this.mode=c||"markdown",this.mdPreviewStyle=this.options.previewStyle,this.i18n=JI,this.i18n.setCode(this.options.language),this.eventEmitter=new wZ,VO(u);var p=rO(this.options.linkAttributes);this.pluginInfo=WZ({plugins:this.options.plugins,eventEmitter:this.eventEmitter,usageStatistics:this.options.usageStatistics,instance:this});var f,h=this.pluginInfo,m=h.toHTMLRenderers,v=h.toMarkdownRenderers,g=h.mdPlugins,y=h.wwPlugins,b=h.wwNodeViews,w=h.mdCommands,x=h.wwCommands,k=h.markdownParsers,S={linkAttributes:p,customHTMLRenderer:dO(m,r),extendedAutolinks:o,referenceDefinition:i,frontMatter:a,sanitizer:d||KR},C=new YZ(p,S.customHTMLRenderer),E=function(e,t,n){var r={nodes:{},marks:{}};return["htmlBlock","htmlInline"].forEach((function(o){e[o]&&Object.keys(e[o]).forEach((function(e){var i="htmlBlock"===o?"nodes":"marks";GR(e),r[i][e]=eI[o](e,t,n)}))})),r}(S.customHTMLRenderer,S.sanitizer,C);this.toastMark=new UN("",{disallowedHtmlBlockTags:["br","img"],extendedAutolinks:o,referenceDefinition:i,disallowDeepHeading:!0,frontMatter:a,customParser:k}),this.mdEditor=new CA(this.eventEmitter,{toastMark:this.toastMark,useCommandShortcut:l,mdPlugins:g}),this.preview=new vI(this.eventEmitter,rT(rT({},S),{isViewer:!1,highlight:this.options.previewHighlight})),this.wwEditor=new fZ(this.eventEmitter,{toDOMAdaptor:C,useCommandShortcut:l,htmlSchemaMap:E,linkAttributes:p,wwPlugins:y,wwNodeViews:b}),this.convertor=new UZ(this.wwEditor.getSchema(),rT(rT({},v),s),rI(p,S.customHTMLRenderer),this.eventEmitter),this.setMinHeight(this.options.minHeight),this.setHeight(this.options.height),this.setMarkdown(this.options.initialValue,!1),this.options.placeholder&&this.setPlaceholder(this.options.placeholder),this.options.initialValue||this.setHTML(this.initialHTML,!1),this.commandManager=new xZ(this.eventEmitter,this.mdEditor.commands,this.wwEditor.commands,(function(){return t.mode})),this.options.usageStatistics&&zT("editor","UA-129966929-1"),this.scrollSync=new t_(this.mdEditor,this.preview,this.eventEmitter),this.addInitEvent(),this.addInitCommand(w,x),(f=this).eventEmitter.listen("query",(function(e,t){return n_[e](f,t)})),this.options.hooks&&aT(this.options.hooks,(function(e,n){return t.addHook(n,e)})),this.options.events&&aT(this.options.events,(function(e,n){return t.on(n,e)})),this.eventEmitter.emit("load",this),this.moveCursorToStart(this.options.autofocus)}return e.prototype.addInitEvent=function(){var e=this;this.on("needChangeMode",this.changeMode.bind(this)),this.on("loadUI",(function(){if("auto"!==e.height){var t=Math.min(parseInt(e.minHeight,10),parseInt(e.height,10)-75)+"px";e.setMinHeight(t)}})),this.eventEmitter.listen("addImageBlobHook",(function(e,t){var n=new FileReader;n.onload=function(e){var n=e.target;return t(n.result)},n.readAsDataURL(e)}))},e.prototype.addInitCommand=function(e,t){var n=this,r=function(e,t){Object.keys(t).forEach((function(r){n.addCommand(e,r,t[r])}))};this.addCommand("markdown","toggleScrollSync",(function(e){return n.eventEmitter.emit("toggleScrollSync",e.active),!0})),r("markdown",e),r("wysiwyg",t)},e.prototype.getCurrentModeEditor=function(){return this.isMarkdownMode()?this.mdEditor:this.wwEditor},e.factory=function(t){return t.viewer?new VZ(t):new e(t)},e.setLanguage=function(e,t){JI.setLanguage(e,t)},e.prototype.changePreviewStyle=function(e){this.mdPreviewStyle!==e&&(this.mdPreviewStyle=e,this.eventEmitter.emit("changePreviewStyle",e))},e.prototype.exec=function(e,t){this.commandManager.exec(e,t)},e.prototype.addCommand=function(e,t,n){var r=this;this.commandManager.addCommand(e,t,(function(t){void 0===t&&(t={});var o=("markdown"===e?r.mdEditor:r.wwEditor).view;n(t,o.state,o.dispatch,o)}))},e.prototype.on=function(e,t){this.eventEmitter.listen(e,t)},e.prototype.off=function(e){this.eventEmitter.removeEventHandler(e)},e.prototype.addHook=function(e,t){this.eventEmitter.removeEventHandler(e),this.eventEmitter.listen(e,t)},e.prototype.removeHook=function(e){this.eventEmitter.removeEventHandler(e)},e.prototype.focus=function(){this.getCurrentModeEditor().focus()},e.prototype.blur=function(){this.getCurrentModeEditor().blur()},e.prototype.moveCursorToEnd=function(e){void 0===e&&(e=!0),this.getCurrentModeEditor().moveCursorToEnd(e)},e.prototype.moveCursorToStart=function(e){void 0===e&&(e=!0),this.getCurrentModeEditor().moveCursorToStart(e)},e.prototype.setMarkdown=function(e,t){if(void 0===e&&(e=""),void 0===t&&(t=!0),this.mdEditor.setMarkdown(e,t),this.isWysiwygMode()){var n=this.toastMark.getRootNode(),r=this.convertor.toWysiwygModel(n);this.wwEditor.setModel(r,t)}},e.prototype.setHTML=function(e,t){void 0===e&&(e=""),void 0===t&&(t=!0);var n=document.createElement("div");n.innerHTML=function(e){var t=e.replace(/<p><br\s*\/*><\/p>/gi,"<p></p>"),n=new RegExp(l$,"ig"),r=t.match(n);return null==r||r.forEach((function(e,n){if(u$.test(e)){var o=p$;if(n){var i=r[n-1].match(s$);if(i&&!/br/i.test(i[1])){var a=i[1];o="</"+a+"><"+a+">"}}t=t.replace(u$,o)}})),t}(e);var r=vw.fromSchema(this.wwEditor.schema).parse(n);this.isMarkdownMode()?this.mdEditor.setMarkdown(this.convertor.toMarkdownText(r),t):this.wwEditor.setModel(r,t)},e.prototype.getMarkdown=function(){return this.isMarkdownMode()?this.mdEditor.getMarkdown():this.convertor.toMarkdownText(this.wwEditor.getModel())},e.prototype.getHTML=function(){var e=this;this.eventEmitter.holdEventInvoke((function(){if(e.isMarkdownMode()){var t=e.toastMark.getRootNode(),n=e.convertor.toWysiwygModel(t);e.wwEditor.setModel(n)}}));var t=E$(this.wwEditor.view.dom.innerHTML);if(this.placeholder){var n=new RegExp('<span class="placeholder[^>]+>'+this.placeholder+"</span>","i");return t.replace(n,"")}return t},e.prototype.insertText=function(e){this.getCurrentModeEditor().replaceSelection(e)},e.prototype.setSelection=function(e,t){this.getCurrentModeEditor().setSelection(e,t)},e.prototype.replaceSelection=function(e,t,n){this.getCurrentModeEditor().replaceSelection(e,t,n)},e.prototype.deleteSelection=function(e,t){this.getCurrentModeEditor().deleteSelection(e,t)},e.prototype.getSelectedText=function(e,t){return this.getCurrentModeEditor().getSelectedText(e,t)},e.prototype.getRangeInfoOfNode=function(e){return this.getCurrentModeEditor().getRangeInfoOfNode(e)},e.prototype.addWidget=function(e,t,n){this.getCurrentModeEditor().addWidget(e,t,n)},e.prototype.replaceWithWidget=function(e,t,n){this.getCurrentModeEditor().replaceWithWidget(e,t,n)},e.prototype.setHeight=function(e){var t=this.options.el;lT(e)&&("auto"===e?AT(t,"auto-height"):IT(t,"auto-height"),this.setMinHeight(this.getMinHeight())),gT(t,{height:e}),this.height=e},e.prototype.getHeight=function(){return this.height},e.prototype.setMinHeight=function(e){if(e!==this.minHeight){var t=this.height||this.options.height;"auto"!==t&&this.options.el.querySelector("."+m$("main"))&&(e=Math.min(parseInt(e,10),parseInt(t,10)-75)+"px");var n=parseInt(e,10);this.minHeight=e,this.wwEditor.setMinHeight(n),this.mdEditor.setMinHeight(n),this.preview.setMinHeight(n)}},e.prototype.getMinHeight=function(){return this.minHeight},e.prototype.isMarkdownMode=function(){return"markdown"===this.mode},e.prototype.isWysiwygMode=function(){return"wysiwyg"===this.mode},e.prototype.isViewer=function(){return!1},e.prototype.getCurrentPreviewStyle=function(){return this.mdPreviewStyle},e.prototype.changeMode=function(e,t){if(this.mode!==e){if(this.mode=e,this.isWysiwygMode()){var n=this.toastMark.getRootNode(),r=this.convertor.toWysiwygModel(n);this.wwEditor.setModel(r)}else{r=this.wwEditor.getModel();this.mdEditor.setMarkdown(this.convertor.toMarkdownText(r),!t)}if(this.eventEmitter.emit("removePopupWidget"),this.eventEmitter.emit("changeMode",e),!t){var o=this.convertor.getMappedPos();this.focus(),this.isWysiwygMode()&&PT(o)?this.wwEditor.setSelection(o):Array.isArray(o)&&this.mdEditor.setSelection(o)}}},e.prototype.destroy=function(){var e=this;this.wwEditor.destroy(),this.mdEditor.destroy(),this.preview.destroy(),this.scrollSync.destroy(),this.eventEmitter.emit("destroy"),this.eventEmitter.getEvents().forEach((function(t,n){return e.off(n)}))},e.prototype.hide=function(){this.eventEmitter.emit("hide")},e.prototype.show=function(){this.eventEmitter.emit("show")},e.prototype.setScrollTop=function(e){this.getCurrentModeEditor().setScrollTop(e)},e.prototype.getScrollTop=function(){return this.getCurrentModeEditor().getScrollTop()},e.prototype.reset=function(){this.wwEditor.setModel([]),this.mdEditor.setMarkdown("")},e.prototype.getSelection=function(){return this.getCurrentModeEditor().getSelection()},e.prototype.setPlaceholder=function(e){this.placeholder=e,this.mdEditor.setPlaceholder(e),this.wwEditor.setPlaceholder(e)},e.prototype.getEditorElements=function(){return{mdEditor:this.mdEditor.getElement(),mdPreview:this.preview.getElement(),wwEditor:this.wwEditor.getElement()}},e.prototype.convertPosToMatchEditorMode=function(e,t,n){var r,o;void 0===t&&(t=e),void 0===n&&(n=this.mode);var i=this.mdEditor.view.state.doc,a=Array.isArray(e),s=Array.isArray(t),l=e,c=t;if(a!==s)throw new Error("Types of arguments must be same");return"markdown"!==n||a||s?"wysiwyg"===n&&a&&s&&(l=(o=W$(i,e,t))[0],c=o[1]):(l=(r=H$(i,e,t))[0],c=r[1]),[l,c]},e}();var o_=function(e){return"boolean"==typeof e||e instanceof Boolean},i_=function(){function e(e){this.current=e,this.root=e,this.entering=!0}return e.prototype.walk=function(){var e=this.entering,t=this.current;return t?(e?t.firstChild?(this.current=t.firstChild,this.entering=!0):this.entering=!1:t===this.root?this.current=null:t.next?(this.current=t.next,this.entering=!0):(this.current=t.parent,this.entering=!1),{vnode:t,entering:e}):null},e}(),a_=function(){function e(e,t,n){this.parent=null,this.old=null,this.firstChild=null,this.next=null,this.skip=!1,this.type=e,this.props=t,this.children=n,this.props.children=n,t.ref&&(this.ref=t.ref,delete t.ref),t.key&&(this.key=t.key,delete t.key)}return e.prototype.walker=function(){return new i_(this)},e.removalNodes=[],e}();function s_(e,t){var n,r=e;o_(e)||null==e?r=null:(lT(e)||PT(e))&&(n=String(e),r=new a_("TEXT_NODE",{nodeValue:n},[])),r&&t.push(r)}var l_=function(e){for(var t,n,r=arguments,o=1,i="",a="",s=[0],l=function(e){1===o&&(e||(i=i.replace(/^\s*\n\s*|\s*\n\s*$/g,"")))?s.push(e?r[e]:i):3===o&&(e||i)?(s[1]=e?r[e]:i,o=2):2===o&&"..."===i&&e?s[2]=hO(s[2]||{},r[e]):2===o&&i&&!e?(s[2]=s[2]||{})[i]=!0:o>=5&&(5===o?((s[2]=s[2]||{})[n]=e?i?i+r[e]:r[e]:i,o=6):(e||i)&&(s[2][n]+=e?i+r[e]:i)),i=""},c=0;c<e.length;c++){c&&(1===o&&l(),l(c));for(let r=0;r<e[c].length;r++)t=e[c][r],1===o?"<"===t?(l(),s=[s,"",null],o=3):i+=t:4===o?"--"===i&&">"===t?(o=1,i=""):i=t+i[0]:a?t===a?a="":i+=t:'"'===t||"'"===t?a=t:">"===t?(l(),o=1):o&&("="===t?(o=5,n=i,i=""):"/"===t&&(o<5||">"===e[c][r+1])?(l(),3===o&&(s=s[0]),o=s,(s=s[0]).push(this.apply(null,o.slice(1))),o=0):" "===t||"\t"===t||"\n"===t||"\r"===t?(l(),o=2):i+=t),3===o&&"!--"===i&&(o=4,s=s[0])}return l(),s.length>2?s.slice(1):s[1]}.bind((function(e,t){for(var n=[],r=2;r<arguments.length;r++)n[r-2]=arguments[r];var o=[];return n.forEach((function(e){Array.isArray(e)?e.forEach((function(e){s_(e,o)})):s_(e,o)})),new a_(e,t||{},o)}));var c_=function(e){return e===Object(e)};function u_(e){var t;return"TEXT_NODE"===e.type?t=document.createTextNode(e.props.nodeValue):h_(t=document.createElement(e.type),{},e.props),t}function d_(e,t){e.node?t.removeChild(e.node):d_(e.firstChild,t)}function p_(e,t,n){Object.keys(t).forEach((function(r){if(/^on/.test(r)){if(!n[r]||t[r]!==n[r]){var o=r.slice(2).toLowerCase();e.removeEventListener(o,t[r])}}else"children"===r||n[r]||function(e){return(null==e?void 0:e.nodeType)===Node.TEXT_NODE}(e)||e.removeAttribute(r)})),h_(e,t,n,(function(e){return!lO(t[e],n[e])}))}var f_=/acit|ex(?:s|g|n|p|$)|rph|ows|mnc|ntw|ine[ch]|zoo|^ord/i;function h_(e,t,n,r){Object.keys(n).forEach((function(o){if(!r||r(o))if(/^on/.test(o)){var i=o.slice(2).toLowerCase();e.addEventListener(i,n[o])}else"nodeValue"===o?e[o]=n[o]:"style"===o&&c_(n[o])?function(e,t,n){t&&Object.keys(t).forEach((function(t){e.style[t]=""}));Object.keys(n).forEach((function(t){var r=n[t];e.style[t]=PT(r)&&!f_.test(t)?r+"px":r}))}(e,t[o],n[o]):"children"!==o&&(!1===n[o]?e.removeAttribute(o):e.setAttribute(o,n[o]))}))}function m_(e){if(a_.removalNodes.forEach((function(e){return g_(e)})),e)for(var t=void 0,n=e.walker();t=n.walk();)if(e=t.vnode,t.entering)g_(e);else if(P$(e.type)){var r=e.component;if(!e.old&&r.mounted&&r.mounted(),e.old&&r.updated){var o=r.prevProps||{};r.updated(o)}}}function v_(e){for(var t=e.parent;!t.node;)t=t.parent;return t.node}function g_(e){if(e&&e.parent){if(e.node){var t=v_(e);"A"===e.effect?t.appendChild(e.node):"U"===e.effect&&p_(e.node,e.old.props,e.props)}if("D"===e.effect)for(var n=void 0,r=e.walker();n=r.walk();)if(e=n.vnode,!n.entering)if(P$(e.type)){var o=e.component;o.beforeDestroy&&o.beforeDestroy()}else{d_(e,t=v_(e))}e.ref&&(e.component?e.ref(e.component):e.node&&e.ref(e.node))}}function y_(e,t){var n=t.props,r=t.component;return r?(r.prevProps=r.props,r.props=t.props,r):new e(n)}function b_(e){for(var t=e;e&&!e.skip;){if(P$(e.type)){var n=y_(e.type,e);n.vnode=e,e.component=n,e.props.children=e.children=[n.render()],w_(e)}else e.node||(e.node=u_(e)),w_(e);if(e.firstChild)e=e.firstChild;else{for(;e&&e.parent&&!e.next&&(e=e.parent)!==t;);e=e.next}}}function w_(e){var t=e.children,n=e.old?e.old.firstChild:null,r=null;t.forEach((function(t,o){var i=function(e,t){return e&&t&&t.type===e.type&&(!t.key||t.key===e.key)}(n,t);i&&(t.old=n,t.parent=e,t.node=n.node,t.component=n.component,t.effect="U"),t&&!i&&(t.old=null,t.parent=e,t.node=null,t.effect="A"),n&&!i&&(a_.removalNodes.push(n),n.effect="D"),n&&(n=n.next),0===o?e.firstChild=t:t&&(r.next=t),r=t}));var o=cO(t);if(!t.length)for(;n;)a_.removalNodes.push(n),n.effect="D",n=n.next;for(;n&&o;)n&&o.old!==n&&(a_.removalNodes.push(n),n.effect="D",n=n.next)}function x_(e,t){var n=new a_(e.tagName.toLowerCase(),{},[t]);return n.node=e,a_.removalNodes=[],b_(n),m_(n),function(){return function(e){e.effect="D",a_.removalNodes=[e],m_(),a_.removalNodes=[]}(n.firstChild)}}var k_,S_=function(){function e(e){this.props=e,this.state={},this.refs={}}return e.prototype.setState=function(e){var t=rT(rT({},this.state),e);lO(this.state,t)||(this.state=t,function(e){var t=e.vnode;t.effect="U",t.old=t,t.next&&(t.next.skip=!0),a_.removalNodes=[],b_(t),m_(t),t.next&&(t.next.skip=!1)}(this))},e}(),C_=function(e){function t(t){var n=e.call(this,t)||this;return n.state={hide:!1},n}return nT(t,e),t.prototype.show=function(){this.setState({hide:!1})},t.prototype.hide=function(){this.setState({hide:!0})},t.prototype.render=function(){var e=this.props,t=e.editorType,n=e.eventEmitter;return l_(k_||(k_=iT(['\n <div class="','" style="display: ','">\n <div\n class="tab-item','"\n onClick=',"\n >\n ",'\n </div>\n <div\n class="tab-item','"\n onClick=',"\n >\n ","\n </div>\n </div>\n "],['\n <div class="','" style="display: ','">\n <div\n class="tab-item','"\n onClick=',"\n >\n ",'\n </div>\n <div\n class="tab-item','"\n onClick=',"\n >\n ","\n </div>\n </div>\n "])),m$("mode-switch"),this.state.hide?"none":"block","markdown"===t?" active":"",(function(){n.emit("needChangeMode","markdown")}),JI.get("Markdown"),"wysiwyg"===t?" active":"",(function(){n.emit("needChangeMode","wysiwyg")}),JI.get("WYSIWYG"))},t}(S_);var E_=function(e,t){var n,r;return t=t||0,function(){r=Array.prototype.slice.call(arguments),window.clearTimeout(n),n=window.setTimeout((function(){e.apply(null,r)}),t)}},T_=E_;var O_=function(e,t){var n,r,o,i,a=!0,s=function(t){e.apply(null,t),n=null};function l(){if(i=Array.prototype.slice.call(arguments),a)return s(i),void(a=!1);o=Number(new Date),n=n||o,r(i),o-n>=t&&s(i)}return r=T_(s,t=t||0),l.reset=function(){a=!0,n=null},l},$_=function(){if("undefined"!=typeof Map)return Map;function e(e,t){var n=-1;return e.some((function(e,r){return e[0]===t&&(n=r,!0)})),n}return function(){function t(){this.__entries__=[]}return Object.defineProperty(t.prototype,"size",{get:function(){return this.__entries__.length},enumerable:!0,configurable:!0}),t.prototype.get=function(t){var n=e(this.__entries__,t),r=this.__entries__[n];return r&&r[1]},t.prototype.set=function(t,n){var r=e(this.__entries__,t);~r?this.__entries__[r][1]=n:this.__entries__.push([t,n])},t.prototype.delete=function(t){var n=this.__entries__,r=e(n,t);~r&&n.splice(r,1)},t.prototype.has=function(t){return!!~e(this.__entries__,t)},t.prototype.clear=function(){this.__entries__.splice(0)},t.prototype.forEach=function(e,t){void 0===t&&(t=null);for(var n=0,r=this.__entries__;n<r.length;n++){var o=r[n];e.call(t,o[1],o[0])}},t}()}(),M_="undefined"!=typeof window&&"undefined"!=typeof document&&window.document===document,A_=void 0!==n.g&&n.g.Math===Math?n.g:"undefined"!=typeof self&&self.Math===Math?self:"undefined"!=typeof window&&window.Math===Math?window:Function("return this")(),D_="function"==typeof requestAnimationFrame?requestAnimationFrame.bind(A_):function(e){return setTimeout((function(){return e(Date.now())}),1e3/60)};var L_=["top","right","bottom","left","width","height","size","weight"],N_="undefined"!=typeof MutationObserver,R_=function(){function e(){this.connected_=!1,this.mutationEventsAdded_=!1,this.mutationsObserver_=null,this.observers_=[],this.onTransitionEnd_=this.onTransitionEnd_.bind(this),this.refresh=function(e,t){var n=!1,r=!1,o=0;function i(){n&&(n=!1,e()),r&&s()}function a(){D_(i)}function s(){var e=Date.now();if(n){if(e-o<2)return;r=!0}else n=!0,r=!1,setTimeout(a,t);o=e}return s}(this.refresh.bind(this),20)}return e.prototype.addObserver=function(e){~this.observers_.indexOf(e)||this.observers_.push(e),this.connected_||this.connect_()},e.prototype.removeObserver=function(e){var t=this.observers_,n=t.indexOf(e);~n&&t.splice(n,1),!t.length&&this.connected_&&this.disconnect_()},e.prototype.refresh=function(){this.updateObservers_()&&this.refresh()},e.prototype.updateObservers_=function(){var e=this.observers_.filter((function(e){return e.gatherActive(),e.hasActive()}));return e.forEach((function(e){return e.broadcastActive()})),e.length>0},e.prototype.connect_=function(){M_&&!this.connected_&&(document.addEventListener("transitionend",this.onTransitionEnd_),window.addEventListener("resize",this.refresh),N_?(this.mutationsObserver_=new MutationObserver(this.refresh),this.mutationsObserver_.observe(document,{attributes:!0,childList:!0,characterData:!0,subtree:!0})):(document.addEventListener("DOMSubtreeModified",this.refresh),this.mutationEventsAdded_=!0),this.connected_=!0)},e.prototype.disconnect_=function(){M_&&this.connected_&&(document.removeEventListener("transitionend",this.onTransitionEnd_),window.removeEventListener("resize",this.refresh),this.mutationsObserver_&&this.mutationsObserver_.disconnect(),this.mutationEventsAdded_&&document.removeEventListener("DOMSubtreeModified",this.refresh),this.mutationsObserver_=null,this.mutationEventsAdded_=!1,this.connected_=!1)},e.prototype.onTransitionEnd_=function(e){var t=e.propertyName,n=void 0===t?"":t;L_.some((function(e){return!!~n.indexOf(e)}))&&this.refresh()},e.getInstance=function(){return this.instance_||(this.instance_=new e),this.instance_},e.instance_=null,e}(),I_=function(e,t){for(var n=0,r=Object.keys(t);n<r.length;n++){var o=r[n];Object.defineProperty(e,o,{value:t[o],enumerable:!1,writable:!1,configurable:!0})}return e},P_=function(e){return e&&e.ownerDocument&&e.ownerDocument.defaultView||A_},Z_=H_(0,0,0,0);function __(e){return parseFloat(e)||0}function F_(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];return t.reduce((function(t,n){return t+__(e["border-"+n+"-width"])}),0)}function j_(e){var t=e.clientWidth,n=e.clientHeight;if(!t&&!n)return Z_;var r=P_(e).getComputedStyle(e),o=function(e){for(var t={},n=0,r=["top","right","bottom","left"];n<r.length;n++){var o=r[n],i=e["padding-"+o];t[o]=__(i)}return t}(r),i=o.left+o.right,a=o.top+o.bottom,s=__(r.width),l=__(r.height);if("border-box"===r.boxSizing&&(Math.round(s+i)!==t&&(s-=F_(r,"left","right")+i),Math.round(l+a)!==n&&(l-=F_(r,"top","bottom")+a)),!function(e){return e===P_(e).document.documentElement}(e)){var c=Math.round(s+i)-t,u=Math.round(l+a)-n;1!==Math.abs(c)&&(s-=c),1!==Math.abs(u)&&(l-=u)}return H_(o.left,o.top,s,l)}var B_="undefined"!=typeof SVGGraphicsElement?function(e){return e instanceof P_(e).SVGGraphicsElement}:function(e){return e instanceof P_(e).SVGElement&&"function"==typeof e.getBBox};function z_(e){return M_?B_(e)?function(e){var t=e.getBBox();return H_(0,0,t.width,t.height)}(e):j_(e):Z_}function H_(e,t,n,r){return{x:e,y:t,width:n,height:r}}var U_=function(){function e(e){this.broadcastWidth=0,this.broadcastHeight=0,this.contentRect_=H_(0,0,0,0),this.target=e}return e.prototype.isActive=function(){var e=z_(this.target);return this.contentRect_=e,e.width!==this.broadcastWidth||e.height!==this.broadcastHeight},e.prototype.broadcastRect=function(){var e=this.contentRect_;return this.broadcastWidth=e.width,this.broadcastHeight=e.height,e},e}(),W_=function(e,t){var n=function(e){var t=e.x,n=e.y,r=e.width,o=e.height,i="undefined"!=typeof DOMRectReadOnly?DOMRectReadOnly:Object,a=Object.create(i.prototype);return I_(a,{x:t,y:n,width:r,height:o,top:n,right:t+r,bottom:o+n,left:t}),a}(t);I_(this,{target:e,contentRect:n})},V_=function(){function e(e,t,n){if(this.activeObservations_=[],this.observations_=new $_,"function"!=typeof e)throw new TypeError("The callback provided as parameter 1 is not a function.");this.callback_=e,this.controller_=t,this.callbackCtx_=n}return e.prototype.observe=function(e){if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");if("undefined"!=typeof Element&&Element instanceof Object){if(!(e instanceof P_(e).Element))throw new TypeError('parameter 1 is not of type "Element".');var t=this.observations_;t.has(e)||(t.set(e,new U_(e)),this.controller_.addObserver(this),this.controller_.refresh())}},e.prototype.unobserve=function(e){if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");if("undefined"!=typeof Element&&Element instanceof Object){if(!(e instanceof P_(e).Element))throw new TypeError('parameter 1 is not of type "Element".');var t=this.observations_;t.has(e)&&(t.delete(e),t.size||this.controller_.removeObserver(this))}},e.prototype.disconnect=function(){this.clearActive(),this.observations_.clear(),this.controller_.removeObserver(this)},e.prototype.gatherActive=function(){var e=this;this.clearActive(),this.observations_.forEach((function(t){t.isActive()&&e.activeObservations_.push(t)}))},e.prototype.broadcastActive=function(){if(this.hasActive()){var e=this.callbackCtx_,t=this.activeObservations_.map((function(e){return new W_(e.target,e.broadcastRect())}));this.callback_.call(e,t,e),this.clearActive()}},e.prototype.clearActive=function(){this.activeObservations_.splice(0)},e.prototype.hasActive=function(){return this.activeObservations_.length>0},e}(),q_="undefined"!=typeof WeakMap?new WeakMap:new $_,G_=function e(t){if(!(this instanceof e))throw new TypeError("Cannot call a class as a function.");if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");var n=R_.getInstance(),r=new V_(t,n,this);q_.set(this,r)};["observe","unobserve","disconnect"].forEach((function(e){G_.prototype[e]=function(){var t;return(t=q_.get(this))[e].apply(t,arguments)}}));var K_,Y_,X_,J_,Q_,eF,tF,nF,rF,oF,iF,aF,sF,lF,cF,uF,dF=void 0!==A_.ResizeObserver?A_.ResizeObserver:G_,pF=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return nT(t,e),t.prototype.execCommand=function(e){var t=k$(e.target,"li");this.props.execCommand("heading",{level:Number(t.getAttribute("data-level"))})},t.prototype.render=function(){var e=this;return l_(Y_||(Y_=iT(["\n <ul\n onClick=",'\n aria-role="menu"\n aria-label="','"\n >\n ','\n <li data-type="Paragraph" aria-role="menuitem">\n <div>',"</div>\n </li>\n </ul>\n "],["\n <ul\n onClick=",'\n aria-role="menu"\n aria-label="','"\n >\n ','\n <li data-type="Paragraph" aria-role="menuitem">\n <div>',"</div>\n </li>\n </ul>\n "])),(function(t){return e.execCommand(t)}),JI.get("Headings"),[1,2,3,4,5,6].map((function(e){return l_(K_||(K_=iT(['\n <li data-level="','" data-type="Heading" aria-role="menuitem">\n <',">"," ","</$>\n </li>\n "],['\n <li data-level="','" data-type="Heading" aria-role="menuitem">\n <',">"," ","</$>\n </li>\n "])),e,"h"+e,JI.get("Heading"),e)})),JI.get("Paragraph"))},t}(S_),fF=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return nT(t,e),t.prototype.toggleTab=function(e,t){this.props.onClick(e,t)},t.prototype.render=function(){var e=this;return l_(J_||(J_=iT(['\n <div class="','" aria-role="tabpanel">\n ',"\n </div>\n "],['\n <div class="','" aria-role="tabpanel">\n ',"\n </div>\n "])),m$("tabs"),this.props.tabs.map((function(t){var n=t.name,r=t.text,o=e.props.activeTab===n;return l_(X_||(X_=iT(['\n <div\n class="tab-item','"\n onClick=','\n aria-role="tab"\n aria-label="','"\n aria-selected="','"\n tabindex="','"\n >\n ',"\n </div>\n "],['\n <div\n class="tab-item','"\n onClick=','\n aria-role="tab"\n aria-label="','"\n aria-selected="','"\n tabindex="','"\n >\n ',"\n </div>\n "])),o?" active":"",(function(t){return e.toggleTab(t,n)}),JI.get(r),o?"true":"false",o?"0":"-1",JI.get(r))})))},t}(S_),hF=function(e){function t(t){var n=e.call(this,t)||this;return n.initialize=function(e){void 0===e&&(e="file");var t=n.refs.url;t.value="",n.refs.altText.value="",n.refs.file.value="",IT(t,"wrong"),n.setState({activeTab:e,file:null,fileNameElClassName:""})},n.execCommand=function(){"file"===n.state.activeTab?n.emitAddImageBlob():n.emitAddImage()},n.toggleTab=function(e,t){t!==n.state.activeTab&&n.initialize(t)},n.showFileSelectBox=function(){n.refs.file.click()},n.changeFile=function(e){var t=e.target.files;(null==t?void 0:t.length)&&n.setState({file:t[0]})},n.state={activeTab:"file",file:null,fileNameElClassName:""},n.tabs=[{name:"file",text:"File"},{name:"url",text:"URL"}],n}return nT(t,e),t.prototype.emitAddImageBlob=function(){var e=this,t=this.refs.file.files,n=this.refs.altText,r=" wrong";if(null==t?void 0:t.length){r="";var o=t.item(0);this.props.eventEmitter.emit("addImageBlobHook",o,(function(t,r){return e.props.execCommand("addImage",{imageUrl:t,altText:r||n.value})}),"ui")}this.setState({fileNameElClassName:r})},t.prototype.emitAddImage=function(){var e=this.refs.url,t=this.refs.altText,n=e.value,r=t.value||"image";IT(e,"wrong"),n.length?n&&this.props.execCommand("addImage",{imageUrl:n,altText:r}):AT(e,"wrong")},t.prototype.preventSelectStart=function(e){e.preventDefault()},t.prototype.updated=function(){this.props.show||this.initialize()},t.prototype.render=function(){var e=this,t=this.state,n=t.activeTab,r=t.file,o=t.fileNameElClassName;return l_(Q_||(Q_=iT(['\n <div aria-label="','">\n <'," tabs="," activeTab="," onClick=",' />\n <div style="display:','">\n <label for="toastuiImageUrlInput">','</label>\n <input\n id="toastuiImageUrlInput"\n type="text"\n ref=','\n />\n </div>\n <div style="display:',';position: relative;">\n <label for="toastuiImageFileInput">','</label>\n <span\n class="',"",'"\n onClick=',"\n onSelectstart=","\n >\n ",'\n </span>\n <button\n type="button"\n class="','"\n onClick=',"\n >\n ",'\n </button>\n <input\n id="toastuiImageFileInput"\n type="file"\n accept="image/*"\n onChange=',"\n ref=",'\n />\n </div>\n <label for="toastuiAltTextInput">','</label>\n <input\n id="toastuiAltTextInput"\n type="text"\n ref=','\n />\n <div class="','">\n <button type="button" class="','" onClick=',">\n ",'\n </button>\n <button type="button" class="','" onClick=',">\n ","\n </button>\n </div>\n </div>\n "],['\n <div aria-label="','">\n <'," tabs="," activeTab="," onClick=",' />\n <div style="display:','">\n <label for="toastuiImageUrlInput">','</label>\n <input\n id="toastuiImageUrlInput"\n type="text"\n ref=','\n />\n </div>\n <div style="display:',';position: relative;">\n <label for="toastuiImageFileInput">','</label>\n <span\n class="',"",'"\n onClick=',"\n onSelectstart=","\n >\n ",'\n </span>\n <button\n type="button"\n class="','"\n onClick=',"\n >\n ",'\n </button>\n <input\n id="toastuiImageFileInput"\n type="file"\n accept="image/*"\n onChange=',"\n ref=",'\n />\n </div>\n <label for="toastuiAltTextInput">','</label>\n <input\n id="toastuiAltTextInput"\n type="text"\n ref=','\n />\n <div class="','">\n <button type="button" class="','" onClick=',">\n ",'\n </button>\n <button type="button" class="','" onClick=',">\n ","\n </button>\n </div>\n </div>\n "])),JI.get("Insert image"),fF,this.tabs,n,this.toggleTab,"url"===n?"block":"none",JI.get("Image URL"),(function(t){return e.refs.url=t}),"file"===n?"block":"none",JI.get("Select image file"),m$("file-name"),r?" has-file":o,this.showFileSelectBox,this.preventSelectStart,r?r.name:JI.get("No file"),m$("file-select-button"),this.showFileSelectBox,JI.get("Choose a file"),this.changeFile,(function(t){return e.refs.file=t}),JI.get("Description"),(function(t){return e.refs.altText=t}),m$("button-container"),m$("close-button"),this.props.hidePopup,JI.get("Cancel"),m$("ok-button"),this.execCommand,JI.get("OK"))},t}(S_),mF=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.execCommand=function(){var e=t.refs.url,n=t.refs.text;(IT(e,"wrong"),IT(n,"wrong"),e.value.length<1)?AT(e,"wrong"):wT(t.props.initialValues.linkUrl)&&n.value.length<1?AT(n,"wrong"):t.props.execCommand("addLink",{linkUrl:e.value,linkText:n.value})},t}return nT(t,e),t.prototype.initialize=function(){var e=this.props.initialValues,t=e.linkUrl,n=e.linkText,r=this.refs.url,o=this.refs.text;IT(r,"wrong"),IT(o,"wrong","disabled"),o.removeAttribute("disabled"),t&&(AT(o,"disabled"),o.setAttribute("disabled","disabled")),r.value=t||"",o.value=n||""},t.prototype.mounted=function(){this.initialize()},t.prototype.updated=function(e){!e.show&&this.props.show&&this.initialize()},t.prototype.render=function(){var e=this;return l_(eF||(eF=iT(['\n <div aria-label="','">\n <label for="toastuiLinkUrlInput">','</label>\n <input\n id="toastuiLinkUrlInput"\n type="text"\n ref=','\n />\n <label for="toastuiLinkTextInput">','</label>\n <input\n id="toastuiLinkTextInput"\n type="text"\n ref=','\n />\n <div class="','">\n <button type="button" class="','" onClick=',">\n ",'\n </button>\n <button type="button" class="','" onClick=',">\n ","\n </button>\n </div>\n </div>\n "],['\n <div aria-label="','">\n <label for="toastuiLinkUrlInput">','</label>\n <input\n id="toastuiLinkUrlInput"\n type="text"\n ref=','\n />\n <label for="toastuiLinkTextInput">','</label>\n <input\n id="toastuiLinkTextInput"\n type="text"\n ref=','\n />\n <div class="','">\n <button type="button" class="','" onClick=',">\n ",'\n </button>\n <button type="button" class="','" onClick=',">\n ","\n </button>\n </div>\n </div>\n "])),JI.get("Insert link"),JI.get("URL"),(function(t){return e.refs.url=t}),JI.get("Link text"),(function(t){return e.refs.text=t}),m$("button-container"),m$("close-button"),this.props.hidePopup,JI.get("Cancel"),m$("ok-button"),this.execCommand,JI.get("OK"))},t}(S_),vF=function(e){function t(t){var n=e.call(this,t)||this;return n.extendSelectionRange=function(e){var t=e.pageX,r=e.pageY,o=t-n.offsetRect.left,i=r-n.offsetRect.top,a=n.getSelectionRangeByOffset(o,i);n.setState(rT({},a))},n.execCommand=function(){n.props.execCommand("addTable",{rowCount:n.state.rowIdx+1,columnCount:n.state.colIdx+1})},n.state={rowIdx:-1,colIdx:-1},n}return nT(t,e),t.prototype.getDescription=function(){return-1===this.state.colIdx?"":this.state.colIdx+1+" x "+(this.state.rowIdx+1)},t.prototype.getBoundByRange=function(e,t){return{width:20*(e+1),height:20*(t+1)}},t.prototype.getRangeByOffset=function(e,t){return{colIdx:Math.floor(e/20),rowIdx:Math.floor(t/20)}},t.prototype.getTableRange=function(){var e=this.state,t=e.colIdx,n=e.rowIdx,r=Math.max(t,5),o=Math.max(n,5);return t>=5&&r<9&&(r+=1),n>=5&&o<14&&(o+=1),{colIdx:r+1,rowIdx:o+1}},t.prototype.getSelectionAreaBound=function(){var e=this.getBoundByRange(this.state.colIdx,this.state.rowIdx),t=e.width,n=e.height;return t||n?{width:t-1,height:n-1,display:"block"}:{display:"none"}},t.prototype.getSelectionRangeByOffset=function(e,t){var n=this.getRangeByOffset(e,t);return n.rowIdx=Math.min(Math.max(n.rowIdx,1),14),n.colIdx=Math.min(Math.max(n.colIdx,1),9),n},t.prototype.updated=function(){if(this.props.show){if(-1===this.state.colIdx&&-1===this.state.rowIdx){var e=this.refs.tableEl.getBoundingClientRect(),t=e.left,n=e.top;this.offsetRect={left:window.pageXOffset+t,top:window.pageYOffset+n}}}else this.setState({colIdx:-1,rowIdx:-1})},t.prototype.createTableArea=function(e){for(var t=e.colIdx,n=e.rowIdx,r=[],o=0;o<n;o+=1){for(var i=[],a=0;a<t;a+=1){var s=m$("table-cell")+(o>0?"":" header");i.push(l_(tF||(tF=iT(['<div class="','"></div>'],['<div class="','"></div>'])),s))}r.push(l_(nF||(nF=iT(['<div class="','">',"</div>"],['<div class="','">',"</div>"])),m$("table-row"),i))}return l_(rF||(rF=iT(['<div class="','">',"</div>"],['<div class="','">',"</div>"])),m$("table"),r)},t.prototype.render=function(){var e=this,t=this.getTableRange(),n=this.getSelectionAreaBound();return l_(oF||(oF=iT(['\n <div aria-label="','">\n <div\n class="','"\n ref=',"\n onMousemove=","\n onClick=","\n >\n ",'\n <div class="','" style=','></div>\n </div>\n <p class="','">',"</p>\n </div>\n "],['\n <div aria-label="','">\n <div\n class="','"\n ref=',"\n onMousemove=","\n onClick=","\n >\n ",'\n <div class="','" style=','></div>\n </div>\n <p class="','">',"</p>\n </div>\n "])),JI.get("Insert table"),m$("table-selection"),(function(t){return e.refs.tableEl=t}),this.extendSelectionRange,this.execCommand,this.createTableArea(t),m$("table-selection-layer"),n,m$("table-description"),this.getDescription())},t}(S_),gF=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return nT(t,e),t.prototype.mounted=function(){this.refs.el.appendChild(this.props.body)},t.prototype.updated=function(e){this.refs.el.replaceChild(this.props.body,e.body)},t.prototype.render=function(){var e=this;return l_(iF||(iF=iT(["<div ref=","></div>"],["<div ref=","></div>"])),(function(t){return e.refs.el=t}))},t}(S_);function yF(e){return lT(e)?function(e){var t;switch(e){case"heading":t={name:"heading",className:"heading",tooltip:JI.get("Headings"),state:"heading"};break;case"bold":t={name:"bold",className:"bold",command:"bold",tooltip:JI.get("Bold"),state:"strong"};break;case"italic":t={name:"italic",className:"italic",command:"italic",tooltip:JI.get("Italic"),state:"emph"};break;case"strike":t={name:"strike",className:"strike",command:"strike",tooltip:JI.get("Strike"),state:"strike"};break;case"hr":t={name:"hr",className:"hrline",command:"hr",tooltip:JI.get("Line"),state:"thematicBreak"};break;case"quote":t={name:"quote",className:"quote",command:"blockQuote",tooltip:JI.get("Blockquote"),state:"blockQuote"};break;case"ul":t={name:"ul",className:"bullet-list",command:"bulletList",tooltip:JI.get("Unordered list"),state:"bulletList"};break;case"ol":t={name:"ol",className:"ordered-list",command:"orderedList",tooltip:JI.get("Ordered list"),state:"orderedList"};break;case"task":t={name:"task",className:"task-list",command:"taskList",tooltip:JI.get("Task"),state:"taskList"};break;case"table":t={name:"table",className:"table",tooltip:JI.get("Insert table"),state:"table"};break;case"image":t={name:"image",className:"image",tooltip:JI.get("Insert image")};break;case"link":t={name:"link",className:"link",tooltip:JI.get("Insert link")};break;case"code":t={name:"code",className:"code",command:"code",tooltip:JI.get("Code"),state:"code"};break;case"codeblock":t={name:"codeblock",className:"codeblock",command:"codeBlock",tooltip:JI.get("Insert CodeBlock"),state:"codeBlock"};break;case"indent":t={name:"indent",className:"indent",command:"indent",tooltip:JI.get("Indent"),state:"indent"};break;case"outdent":t={name:"outdent",className:"outdent",command:"outdent",tooltip:JI.get("Outdent"),state:"outdent"};break;case"scrollSync":t=function(){var e=document.createElement("label"),t=document.createElement("input"),n=document.createElement("span");e.className="scroll-sync active",t.type="checkbox",t.checked=!0,n.className="switch";var r=function(n){return t.addEventListener("change",(function(t){var r=t.target.checked;r?AT(e,"active"):IT(e,"active"),n("toggleScrollSync",{active:r})}))};return e.appendChild(t),e.appendChild(n),{name:"scrollSync",el:e,onMounted:r}}();break;case"more":t={name:"more",className:"more",tooltip:JI.get("More")}}"scrollSync"!==t.name&&(t.className+=" "+m$("toolbar-icons"));return t}(e):e}function bF(e,t){var n=t.el,r=t.pos,o=t.popup,i=t.initialValues;switch(e){case"heading":return{render:function(e){return l_(aF||(aF=iT(["<"," ..."," />"],["<"," ..."," />"])),pF,e)},className:m$("popup-add-heading"),fromEl:n,pos:r};case"link":return{render:function(e){return l_(sF||(sF=iT(["<"," ..."," />"],["<"," ..."," />"])),mF,e)},className:m$("popup-add-link"),fromEl:n,pos:r,initialValues:i};case"image":return{render:function(e){return l_(lF||(lF=iT(["<"," ..."," />"],["<"," ..."," />"])),hF,e)},className:m$("popup-add-image"),fromEl:n,pos:r};case"table":return{render:function(e){return l_(cF||(cF=iT(["<"," ..."," />"],["<"," ..."," />"])),vF,e)},className:m$("popup-add-table"),fromEl:n,pos:r};case"customPopupBody":return o?rT({render:function(e){return l_(uF||(uF=iT(["<"," ..."," body="," />"],["<"," ..."," body="," />"])),gF,e,o.body)},fromEl:n,pos:r},o):null;default:return null}}function wF(e){e.hidden=e.length===e.filter((function(e){return e.hidden})).length}function xF(e,t){return e.reduce((function(e,n){e.push(n.map((function(e){return function(e){return e.hidden="scrollSync"===e.name&&t,e}(yF(e))})));var r=e[(e.length||1)-1];return r&&wF(r),e}),[])}var kF,SF,CF=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.handleMousedown=function(e){k$(e.target,"."+m$("popup"))||k$(e.target,t.props.info.fromEl)||t.props.hidePopup()},t}return nT(t,e),t.prototype.mounted=function(){document.addEventListener("mousedown",this.handleMousedown),this.props.eventEmitter.listen("closePopup",this.props.hidePopup)},t.prototype.beforeDestroy=function(){document.removeEventListener("mousedown",this.handleMousedown)},t.prototype.updated=function(e){var t=this.props,n=t.show,r=t.info;if(n&&r.pos&&e.show!==n){var o=rT({},r.pos),i=this.refs.el.offsetWidth,a=k$(this.refs.el,"."+m$("toolbar")).offsetWidth;o.left+i>=a&&(o.left=a-i-20),lO(this.state.popupPos,o)||this.setState({popupPos:o})}},t.prototype.render=function(){var e=this,t=this.props,n=t.info,r=t.show,o=t.hidePopup,i=t.eventEmitter,a=t.execCommand,s=n||{},l=s.className,c=void 0===l?"":l,u=s.style,d=s.render,p=s.initialValues,f=void 0===p?{}:p,h=rT(rT({display:r?"block":"none"},u),this.state.popupPos);return l_(kF||(kF=iT(['\n <div\n class="'," ",'"\n style=',"\n ref=",'\n aria-role="dialog"\n >\n <div class="','">\n ',"\n </div>\n </div>\n "],['\n <div\n class="'," ",'"\n style=',"\n ref=",'\n aria-role="dialog"\n >\n <div class="','">\n ',"\n </div>\n </div>\n "])),m$("popup"),c,h,(function(t){return e.refs.el=t}),m$("popup-body"),d&&d({eventEmitter:i,show:r,hidePopup:o,execCommand:a,initialValues:f}))},t}(S_);function EF(e){return function(t){function n(e){var n=t.call(this,e)||this;return n.showTooltip=function(e){var t=n.props.item.tooltip;if(!n.props.disabled&&t){var r=n.getBound(e),o=r.left+6+"px",i=r.top+6+"px";gT(n.props.tooltipRef.current,{display:"block",left:o,top:i}),n.props.tooltipRef.current.querySelector(".text").textContent=t}},n.hideTooltip=function(){gT(n.props.tooltipRef.current,"display","none")},n.state={active:!1,disabled:e.disabled},n.addEvent(),n}return nT(n,t),n.prototype.addEvent=function(){var e=this,t=this.props,n=t.item,r=t.eventEmitter;n.state&&r.listen("changeToolbarState",(function(t){var r,o=null!==(r=t.toolbarState[n.state])&&void 0!==r?r:{},i=o.active,a=o.disabled;e.setState({active:!!i,disabled:null!=a?a:e.props.disabled})}))},n.prototype.getBound=function(e){var t=S$(e,k$(e,"."+m$("toolbar"))),n=t.offsetLeft,r=t.offsetTop;return{left:n,top:e.offsetHeight+r}},n.prototype.render=function(){return l_(SF||(SF=iT(["\n <","\n ...","\n active=","\n showTooltip=","\n hideTooltip=","\n getBound=","\n disabled=","\n />\n "],["\n <","\n ...","\n active=","\n showTooltip=","\n hideTooltip=","\n getBound=","\n disabled=","\n />\n "])),e,this.props,this.state.active,this.showTooltip,this.hideTooltip,this.getBound,this.state.disabled||this.props.disabled)},n}(S_)}var TF,OF,$F,MF,AF,DF,LF,NF,RF,IF,PF,ZF,_F,FF,jF=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.showTooltip=function(){t.props.showTooltip(t.refs.el)},t.execCommand=function(){var e=t.props,n=e.item,r=e.execCommand,o=e.setPopupInfo,i=e.getBound,a=e.eventEmitter,s=n.command,l=n.name,c=n.popup;if(s)r(s);else{var u=c?"customPopupBody":l,d=a.emit("query","getPopupInitialValues",{popupName:u})[0],p=bF(u,{el:t.refs.el,pos:i(t.refs.el),popup:c,initialValues:d});p&&o(p)}},t}return nT(t,e),t.prototype.mounted=function(){this.setItemWidth()},t.prototype.updated=function(e){e.item.name!==this.props.item.name&&this.setItemWidth()},t.prototype.setItemWidth=function(){var e=this.props,t=e.setItemWidth,n=e.item;t&&t(n.name,x$(this.refs.el)+(n.hidden?80:0))},t.prototype.render=function(){var e=this,t=this.props,n=t.hideTooltip,r=t.disabled,o=t.item,i=t.active,a=rT({display:o.hidden?"none":null},o.style),s=(o.className||"")+(i?" active":"");return l_(TF||(TF=iT(["\n <button\n ref=",'\n type="button"\n style=',"\n class=","\n onClick=","\n onMouseover=","\n onMouseout=","\n disabled=","\n aria-label=","\n >\n ","\n </button>\n "],["\n <button\n ref=",'\n type="button"\n style=',"\n class=","\n onClick=","\n onMouseover=","\n onMouseout=","\n disabled=","\n aria-label=","\n >\n ","\n </button>\n "])),(function(t){return e.refs.el=t}),a,s,this.execCommand,this.showTooltip,n,!!r,o.text||o.tooltip||"",o.text||"")},t}(S_),BF=EF(jF),zF=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.showTooltip=function(){t.props.showTooltip(t.refs.el)},t.showPopup=function(){var e=bF("customPopupBody",{el:t.refs.el,pos:t.props.getBound(t.refs.el),popup:t.props.item.popup});e&&t.props.setPopupInfo(e)},t}return nT(t,e),t.prototype.mounted=function(){var e=this.props,t=e.setItemWidth,n=e.item;this.refs.el.appendChild(n.el),t&&t(n.name,x$(this.refs.el)),n.onMounted&&n.onMounted(this.props.execCommand)},t.prototype.updated=function(e){var t,n=this.props,r=n.item,o=n.active,i=n.disabled;e.active===o&&e.disabled===i||null===(t=r.onUpdated)||void 0===t||t.call(r,{active:o,disabled:i})},t.prototype.render=function(){var e=this,t=this.props,n=t.disabled,r={display:t.item.hidden?"none":"inline-block"},o=function(e){return n?null:e};return l_(OF||(OF=iT(["\n <div\n ref=","\n style=","\n class=","\n onClick=","\n onMouseover=","\n onMouseout=","\n ></div>\n "],["\n <div\n ref=","\n style=","\n class=","\n onClick=","\n onMouseover=","\n onMouseout=","\n ></div>\n "])),(function(t){return e.refs.el=t}),r,m$("toolbar-item-wrapper"),o(this.showPopup),o(this.showTooltip),o(this.props.hideTooltip))},t}(S_),HF=EF(zF),UF=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return nT(t,e),t.prototype.render=function(){var e=this,t=this.props,n=t.group,r=t.hiddenDivider,o=n.hidden?{display:"none"}:null,i=r?{display:"none"}:null;return l_(MF||(MF=iT(['\n <div class="','" style=',">\n ",'\n <div class="','" style=',"></div>\n </div>\n "],['\n <div class="','" style=',">\n ",'\n <div class="','" style=',"></div>\n </div>\n "])),m$("toolbar-group"),o,n.map((function(t){var n=t.el?HF:BF;return l_($F||($F=iT(["<"," key="," ..."," item="," />"],["<"," key="," ..."," item="," />"])),n,t.name,e.props,t)})),m$("toolbar-divider"),i)},t}(S_),WF=function(e){function t(t){var n=e.call(this,t)||this;return n.handleClickDocument=function(e){var t=e.target;k$(t,"."+m$("dropdown-toolbar"))||k$(t,".more")||n.setState({showDropdown:!1,dropdownPos:null})},n.showTooltip=function(){n.props.showTooltip(n.refs.el)},n.state={showDropdown:!1,dropdownPos:null},n}return nT(t,e),t.prototype.getBound=function(){var e=this.props.getBound(this.refs.el);return e.top+=4,rT(rT({},e),{left:null,right:10})},t.prototype.mounted=function(){document.addEventListener("click",this.handleClickDocument)},t.prototype.updated=function(){this.state.showDropdown&&!this.state.dropdownPos&&this.setState({dropdownPos:this.getBound()})},t.prototype.beforeDestroy=function(){document.removeEventListener("click",this.handleClickDocument)},t.prototype.render=function(){var e=this,t=this.state,n=t.showDropdown,r=t.dropdownPos,o=this.props,i=o.disabled,a=o.item,s=o.items,l=o.hideTooltip,c=s.filter((function(e){return!e.hidden})),u=c.length?null:{display:"none"},d=n?null:{display:"none"};return l_(DF||(DF=iT(['\n <div class="','" style=',">\n <button\n ref=",'\n type="button"\n class=',"\n onClick=","\n onMouseover=","\n onMouseout=","\n disabled=",'\n ></button>\n <div\n class="','"\n style=',"\n ref=","\n >\n ","\n </div>\n </div>\n "],['\n <div class="','" style=',">\n <button\n ref=",'\n type="button"\n class=',"\n onClick=","\n onMouseover=","\n onMouseout=","\n disabled=",'\n ></button>\n <div\n class="','"\n style=',"\n ref=","\n >\n ","\n </div>\n </div>\n "])),m$("toolbar-group"),u,(function(t){return e.refs.el=t}),a.className,(function(){return e.setState({showDropdown:!0})}),this.showTooltip,l,i,m$("dropdown-toolbar"),rT(rT({},d),r),(function(t){return e.refs.dropdownEl=t}),c.length?c.map((function(t,n){var r;return l_(AF||(AF=iT(["\n <","\n group=","\n hiddenDivider=","\n ...","\n />\n "],["\n <","\n group=","\n hiddenDivider=","\n ...","\n />\n "])),UF,t,n===c.length-1||(null===(r=c[n+1])||void 0===r?void 0:r.hidden),e.props)})):null)},t}(S_),VF=EF(WF),qF=function(e){function t(t){var n=e.call(this,t)||this;return n.toggleTab=function(e,t){var r=n.props.eventEmitter;if(n.state.activeTab!==t){var o="write"===t?"changePreviewTabWrite":"changePreviewTabPreview";r.emit(o),n.setState({activeTab:t})}},n.setItemWidth=function(e,t){n.itemWidthMap[e]=t},n.setPopupInfo=function(e){n.setState({showPopup:!0,popupInfo:e})},n.openPopup=function(e,t){void 0===t&&(t={});var r=n.refs.el.querySelector("."+m$("toolbar-group")+" ."+e);if(r){var o=S$(r,k$(r,"."+m$("toolbar"))),i=o.offsetLeft,a=o.offsetTop,s=bF(e,{el:r,pos:{left:i,top:r.offsetHeight+a},initialValues:t});s&&n.setPopupInfo(s)}},n.hidePopup=function(){n.state.showPopup&&n.setState({showPopup:!1})},n.execCommand=function(e,t){n.props.eventEmitter.emit("command",e,t),n.hidePopup()},n.tabs=[{name:"write",text:"Write"},{name:"preview",text:"Preview"}],n.itemWidthMap={},n.initialItems=xF(t.toolbarItems||[],n.hiddenScrollSync()),n.state={items:n.initialItems,dropdownItems:[],showPopup:!1,popupInfo:{},activeTab:"write"},n.tooltipRef={current:null},n.resizeObserver=new dF((function(){return n.handleResize()})),n.addEvent(),n}return nT(t,e),t.prototype.insertToolbarItem=function(e,t){var n=e.groupIndex,r=e.itemIndex,o=this.initialItems[n];t=yF(t),o?o.splice(r,0,t):this.initialItems.push([t]),this.setState(this.classifyToolbarItems())},t.prototype.removeToolbarItem=function(e){var t=this;uT(this.initialItems,(function(n){var r=!1;return uT(n,(function(o,i){return o.name!==e||(r=!0,n.splice(i,1),t.setState(t.classifyToolbarItems()),!1)})),!r}))},t.prototype.addEvent=function(){var e=this,t=this.props.eventEmitter;this.handleResize=O_((function(){e.setState({items:e.initialItems,dropdownItems:[]}),e.setState(e.classifyToolbarItems())}),200),t.listen("openPopup",this.openPopup)},t.prototype.appendTooltipToRoot=function(){var e='<div class="'+m$("tooltip")+'" style="display:none">\n <div class="arrow"></div>\n <span class="text"></span>\n </div>';this.tooltipRef.current=w$(e,this.refs.el)},t.prototype.hiddenScrollSync=function(){return"wysiwyg"===this.props.editorType||"tab"===this.props.previewStyle},t.prototype.movePrevItemToDropdownToolbar=function(e,t,n,r){var o=function(e){var t=e.pop();t&&r.push(t)};if(e>1)o(n);else{var i=cO(t);i&&o(i)}},t.prototype.classifyToolbarItems=function(){var e=this,t=0,n=this.refs.el.clientWidth,r=this.refs.el.querySelector("."+m$("toolbar-divider")),o=r?x$(r):0,i=[],a=[],s=!1;return this.initialItems.forEach((function(r,l){var c=[],u=[];r.forEach((function(r,o){r.hidden||((t+=e.itemWidthMap[r.name])>n-50?(s||(e.movePrevItemToDropdownToolbar(o,i,c,u),s=!0),u.push(r)):c.push(r))})),c.length&&(wF(c),i.push(c)),u.length&&(wF(u),a.push(u)),l<e.state.items.length-1&&(t+=o)})),{items:i,dropdownItems:a}},t.prototype.mounted=function(){"tab"===this.props.previewStyle&&this.props.eventEmitter.emit("changePreviewTabWrite",!0),this.setState(this.classifyToolbarItems()),this.appendTooltipToRoot(),this.resizeObserver.observe(this.refs.el)},t.prototype.updated=function(e){var t,n,r=this.props,o=r.editorType,i=r.previewStyle,a=r.eventEmitter,s=i!==e.previewStyle,l=o!==e.editorType;if(s||l){t=this.initialItems,n=this.hiddenScrollSync(),t.forEach((function(e){e.forEach((function(e){return e.hidden="scrollSync"===e.name&&n})),wF(e)}));var c=this.classifyToolbarItems();(s||"tab"===i&&"markdown"===o)&&(a.emit("changePreviewTabWrite"),c.activeTab="write"),this.setState(c)}},t.prototype.beforeDestroy=function(){window.removeEventListener("resize",this.handleResize),this.resizeObserver.disconnect(),y$(this.tooltipRef.current)},t.prototype.render=function(){var e=this,t=this.props,n=t.previewStyle,r=t.eventEmitter,o=t.editorType,i=this.state,a=i.popupInfo,s=i.showPopup,l=i.activeTab,c=i.items,u=i.dropdownItems,d={eventEmitter:r,tooltipRef:this.tooltipRef,disabled:"markdown"===o&&"tab"===n&&"preview"===l,execCommand:this.execCommand,setPopupInfo:this.setPopupInfo},p="tab"===n?{borderTopLeftRadius:0}:null;return l_(NF||(NF=iT(['\n <div class="','">\n <div\n class="','"\n style="display: ','"\n >\n <'," tabs="," activeTab="," onClick=",' />\n </div>\n <div\n class="','"\n ref=',"\n style=","\n >\n ","\n <","\n item=","\n items=","\n ...","\n />\n </div>\n <","\n info=","\n show=","\n eventEmitter=","\n hidePopup=","\n execCommand=","\n />\n </div>\n "],['\n <div class="','">\n <div\n class="','"\n style="display: ','"\n >\n <'," tabs="," activeTab="," onClick=",' />\n </div>\n <div\n class="','"\n ref=',"\n style=","\n >\n ","\n <","\n item=","\n items=","\n ...","\n />\n </div>\n <","\n info=","\n show=","\n eventEmitter=","\n hidePopup=","\n execCommand=","\n />\n </div>\n "])),m$("toolbar"),m$("md-tab-container"),"wysiwyg"===o||"vertical"===n?"none":"block",fF,this.tabs,l,this.toggleTab,m$("defaultUI-toolbar"),(function(t){return e.refs.el=t}),p,c.map((function(t,n){var r;return l_(LF||(LF=iT(["\n <","\n group=","\n hiddenDivider=","\n setItemWidth=","\n ...","\n />\n "],["\n <","\n group=","\n hiddenDivider=","\n setItemWidth=","\n ...","\n />\n "])),UF,t,n===c.length-1||(null===(r=c[n+1])||void 0===r?void 0:r.hidden),e.setItemWidth,d)})),VF,yF("more"),u,d,CF,a,s,r,this.hidePopup,this.execCommand)},t}(S_),GF=function(e){function t(t){var n=e.call(this,t)||this;return n.handleClickDocument=function(e){k$(e.target,"."+m$("context-menu"))||n.setState({pos:null})},n.state={pos:null,menuGroups:[]},n.addEvent(),n}return nT(t,e),t.prototype.addEvent=function(){var e=this;this.props.eventEmitter.listen("contextmenu",(function(t){var n=t.pos,r=t.menuGroups;e.setState({pos:n,menuGroups:r})}))},t.prototype.mounted=function(){document.addEventListener("click",this.handleClickDocument)},t.prototype.beforeDestroy=function(){document.removeEventListener("click",this.handleClickDocument)},t.prototype.getMenuGroupElements=function(){var e=this,t=this.state,n=t.pos,r=t.menuGroups;return n?r.reduce((function(t,n){var r=[];return n.forEach((function(t){var n=t.label,o=t.className,i=void 0!==o&&o,a=t.disabled,s=t.onClick;r.push(l_(RF||(RF=iT(["\n <li\n onClick=",'\n class="menu-item','"\n aria-role="menuitem"\n >\n <span class="','">',"</span>\n </li>\n "],["\n <li\n onClick=",'\n class="menu-item','"\n aria-role="menuitem"\n >\n <span class="','">',"</span>\n </li>\n "])),(function(){a||(s(),e.setState({pos:null}))}),a?" disabled":"",i,n))})),t.push(l_(IF||(IF=iT(['<ul class="menu-group">\n ',"\n </ul>"],['<ul class="menu-group">\n ',"\n </ul>"])),r)),t}),[]):[]},t.prototype.render=function(){var e=rT({display:this.state.pos?"block":"none"},this.state.pos);return l_(PF||(PF=iT(['<div class="','" style=',' aria-role="menu">\n ',"\n </div>"],['<div class="','" style=',' aria-role="menu">\n ',"\n </div>"])),m$("context-menu"),e,this.getMenuGroupElements())},t}(S_),KF=function(e){function t(t){var n=e.call(this,t)||this;n.changeMode=function(e){e!==n.state.editorType&&n.setState({editorType:e})},n.changePreviewStyle=function(e){e!==n.state.previewStyle&&n.setState({previewStyle:e})},n.hide=function(){n.setState({hide:!0})},n.show=function(){n.setState({hide:!1})};var r=t.editorType,o=t.previewStyle;return n.state={editorType:r,previewStyle:o,hide:!1},n.addEvent(),n}return nT(t,e),t.prototype.mounted=function(){var e=this.props.slots,t=e.wwEditor,n=e.mdEditor,r=e.mdPreview;this.refs.wwContainer.appendChild(t),this.refs.mdContainer.insertAdjacentElement("afterbegin",n),this.refs.mdContainer.appendChild(r)},t.prototype.insertToolbarItem=function(e,t){this.toolbar.insertToolbarItem(e,t)},t.prototype.removeToolbarItem=function(e){this.toolbar.removeToolbarItem(e)},t.prototype.render=function(){var e=this,t=this.props,n=t.eventEmitter,r=t.hideModeSwitch,o=t.toolbarItems,i=t.theme,a=this.state,s=a.hide,l=a.previewStyle,c=a.editorType,u=s?" hidden":"",d=m$("markdown"===c?"md-mode":"ww-mode"),p=m$("md")+"-"+l+"-style",f=m$(["light"!==i,i+" "]);return l_(_F||(_F=iT(['\n <div\n class="',"","",'"\n ref=',"\n >\n <","\n ref=","\n eventEmitter=","\n previewStyle=","\n toolbarItems=","\n editorType=",'\n />\n <div\n class="'," ",'"\n ref=','\n >\n <div class="','">\n <div\n class="'," ",'"\n ref=','\n >\n <div class="','"></div>\n </div>\n <div\n class="','"\n ref=',"\n />\n </div>\n </div>\n ","\n <"," eventEmitter="," />\n </div>\n "],['\n <div\n class="',"","",'"\n ref=',"\n >\n <","\n ref=","\n eventEmitter=","\n previewStyle=","\n toolbarItems=","\n editorType=",'\n />\n <div\n class="'," ",'"\n ref=','\n >\n <div class="','">\n <div\n class="'," ",'"\n ref=','\n >\n <div class="','"></div>\n </div>\n <div\n class="','"\n ref=',"\n />\n </div>\n </div>\n ","\n <"," eventEmitter="," />\n </div>\n "])),f,m$("defaultUI"),u,(function(t){return e.refs.el=t}),qF,(function(t){return e.toolbar=t}),n,l,o,c,m$("main"),d,(function(t){return e.refs.editorSection=t}),m$("main-container"),m$("md-container"),p,(function(t){return e.refs.mdContainer=t}),m$("md-splitter"),m$("ww-container"),(function(t){return e.refs.wwContainer=t}),!r&&l_(ZF||(ZF=iT(["<"," eventEmitter="," editorType="," />"],["<"," eventEmitter="," editorType="," />"])),C_,n,c),GF,n)},t.prototype.addEvent=function(){var e=this.props.eventEmitter;e.listen("hide",this.hide),e.listen("show",this.show),e.listen("changeMode",this.changeMode),e.listen("changePreviewStyle",this.changePreviewStyle)},t}(S_),YF=function(e){function t(t){var n,r,o=e.call(this,t)||this,i=x_(o.options.el,l_(FF||(FF=iT(["\n <","\n ref=","\n eventEmitter=","\n slots=","\n hideModeSwitch=","\n toolbarItems=","\n previewStyle=","\n editorType=","\n theme=","\n />\n "],["\n <","\n ref=","\n eventEmitter=","\n slots=","\n hideModeSwitch=","\n toolbarItems=","\n previewStyle=","\n editorType=","\n theme=","\n />\n "])),KF,(function(e){return r=e}),o.eventEmitter,o.getEditorElements(),o.options.hideModeSwitch,o.options.toolbarItems,o.options.previewStyle,o.options.initialEditType,o.options.theme));return o.setMinHeight(o.options.minHeight),o.setHeight(o.options.height),o.defaultUI={insertToolbarItem:r.insertToolbarItem.bind(r),removeToolbarItem:r.removeToolbarItem.bind(r),destroy:i},null===(n=o.pluginInfo.toolbarItems)||void 0===n||n.forEach((function(e){var t=e.groupIndex,n=e.itemIndex,r=e.item;o.defaultUI.insertToolbarItem({groupIndex:t,itemIndex:n},r)})),o.eventEmitter.emit("loadUI",o),o}return nT(t,e),t.factory=function(e){return e.viewer?new VZ(e):new t(e)},t.prototype.insertToolbarItem=function(e,t){this.defaultUI.insertToolbarItem(e,t)},t.prototype.removeToolbarItem=function(e){this.defaultUI.removeToolbarItem(e)},t.prototype.destroy=function(){e.prototype.destroy.call(this),this.defaultUI.destroy()},t}(r_);r_.setLanguage(["en","en-US"],{Markdown:"Markdown",WYSIWYG:"WYSIWYG",Write:"Write",Preview:"Preview",Headings:"Headings",Paragraph:"Paragraph",Bold:"Bold",Italic:"Italic",Strike:"Strike",Code:"Inline code",Line:"Line",Blockquote:"Blockquote","Unordered list":"Unordered list","Ordered list":"Ordered list",Task:"Task",Indent:"Indent",Outdent:"Outdent","Insert link":"Insert link","Insert CodeBlock":"Insert codeBlock","Insert table":"Insert table","Insert image":"Insert image",Heading:"Heading","Image URL":"Image URL","Select image file":"Select image file","Choose a file":"Choose a file","No file":"No file",Description:"Description",OK:"OK",More:"More",Cancel:"Cancel",File:"File",URL:"URL","Link text":"Link text","Add row to up":"Add row to up","Add row to down":"Add row to down","Add column to left":"Add column to left","Add column to right":"Add column to right","Remove row":"Remove row","Remove column":"Remove column","Align column to left":"Align column to left","Align column to center":"Align column to center","Align column to right":"Align column to right","Remove table":"Remove table","Would you like to paste as table?":"Would you like to paste as table?","Text color":"Text color","Auto scroll enabled":"Auto scroll enabled","Auto scroll disabled":"Auto scroll disabled","Choose language":"Choose language"});var XF=n(50087),JF=n.n(XF),QF=function(e,t){return QF=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])},QF(e,t)};function ej(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}QF(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}var tj=function(){return tj=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},tj.apply(this,arguments)},nj=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.rootEl=i().createRef(),t}return ej(t,e),t.prototype.getRootElement=function(){return this.rootEl.current},t.prototype.getInstance=function(){return this.editorInst},t.prototype.getBindingEventNames=function(){var e=this;return Object.keys(this.props).filter((function(e){return/^on[A-Z][a-zA-Z]+/.test(e)})).filter((function(t){return e.props[t]}))},t.prototype.bindEventHandlers=function(e){var t=this;this.getBindingEventNames().forEach((function(n){var r=n[2].toLowerCase()+n.slice(3);t.editorInst.off(r),t.editorInst.on(r,e[n])}))},t.prototype.getInitEvents=function(){var e=this;return this.getBindingEventNames().reduce((function(t,n){return t[n[2].toLowerCase()+n.slice(3)]=e.props[n],t}),{})},t.prototype.componentDidMount=function(){this.editorInst=new YF(tj(tj({el:this.rootEl.current},this.props),{events:this.getInitEvents()}))},t.prototype.shouldComponentUpdate=function(e){var t=this.getInstance(),n=e.height,r=e.previewStyle;return n&&this.props.height!==n&&t.setHeight(n),r&&this.props.previewStyle!==r&&t.changePreviewStyle(r),this.bindEventHandlers(e),!1},t.prototype.render=function(){return i().createElement("div",{ref:this.rootEl})},t}(i().Component),rj=(function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.rootEl=i().createRef(),t}ej(t,e),t.prototype.getRootElement=function(){return this.rootEl.current},t.prototype.getInstance=function(){return this.viewerInst},t.prototype.getBindingEventNames=function(){var e=this;return Object.keys(this.props).filter((function(e){return/^on[A-Z][a-zA-Z]+/.test(e)})).filter((function(t){return e.props[t]}))},t.prototype.bindEventHandlers=function(e){var t=this;this.getBindingEventNames().forEach((function(n){var r=n[2].toLowerCase()+n.slice(3);t.viewerInst.off(r),t.viewerInst.on(r,e[n])}))},t.prototype.getInitEvents=function(){var e=this;return this.getBindingEventNames().reduce((function(t,n){return t[n[2].toLowerCase()+n.slice(3)]=e.props[n],t}),{})},t.prototype.componentDidMount=function(){this.viewerInst=new(JF())(tj(tj({el:this.rootEl.current},this.props),{events:this.getInitEvents()}))},t.prototype.shouldComponentUpdate=function(e){return this.bindEventHandlers(e),!1},t.prototype.render=function(){return i().createElement("div",{ref:this.rootEl})}}(i().Component),function(){return rj=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},rj.apply(this,arguments)}),oj=function(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 o=0;for(r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]])}return n},ij=function(e,t){var n="function"==typeof Symbol&&e[Symbol.iterator];if(!n)return e;var r,o,i=n.call(e),a=[];try{for(;(void 0===t||t-- >0)&&!(r=i.next()).done;)a.push(r.value)}catch(s){o={error:s}}finally{try{r&&!r.done&&(n=i.return)&&n.call(i)}finally{if(o)throw o.error}}return a};const aj=function(e){var t=e.fieldMetadata,n=e.initialValue,r=e.onChange,i=oj(e,["fieldMetadata","initialValue","onChange"]),a=(0,o.useRef)(),l=ij((0,o.useState)(n||""),2),c=l[0],u=l[1],d=ij((0,o.useState)(!1),2),p=d[0],f=d[1];return(0,o.useEffect)((function(){u(n)}),[n,t]),(0,o.useEffect)((function(){n&&!p&&f(!0),!n&&p&&a.current.getInstance().setMarkdown("")}),[n]),s(nj,rj({ref:function(e){e&&(a.current=e)},onChange:function(){var e;r(null===(e=a.current)||void 0===e?void 0:e.editorInst.getMarkdown())},height:"250px",previewStyle:"tab",initialValue:c,initialEditType:"wysiwyg",autofocus:!1,toolbarItems:[["heading","bold","italic"],["hr","ul","ol","task"],["link","code","codeblock"]],placeholder:i.placeholder},i))};var sj=new Map;sj.set("bold",(function(e){return i().createElement(i().Fragment,null,i().createElement("line",{x1:"200",y1:"56",x2:"56",y2:"200",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"24"}),i().createElement("circle",{cx:"76",cy:"76",r:"28",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"24"}),i().createElement("circle",{cx:"180",cy:"180",r:"28",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"24"}))})),sj.set("duotone",(function(e){return i().createElement(i().Fragment,null,i().createElement("circle",{cx:"76",cy:"76",r:"28",opacity:"0.2"}),i().createElement("circle",{cx:"180",cy:"180",r:"28",opacity:"0.2"}),i().createElement("line",{x1:"200",y1:"56",x2:"56",y2:"200",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"16"}),i().createElement("circle",{cx:"76",cy:"76",r:"28",fill:"none",stroke:e,strokeMiterlimit:"10",strokeWidth:"16"}),i().createElement("circle",{cx:"180",cy:"180",r:"28",fill:"none",stroke:e,strokeMiterlimit:"10",strokeWidth:"16"}))})),sj.set("fill",(function(){return i().createElement(i().Fragment,null,i().createElement("path",{d:"M205.7,61.7l-144,144a8.2,8.2,0,0,1-11.4,0,8.1,8.1,0,0,1,0-11.4l144-144a8.1,8.1,0,0,1,11.4,11.4ZM50.5,101.5a36.2,36.2,0,0,1,0-51,36.2,36.2,0,0,1,51,0,36.1,36.1,0,0,1-51,51ZM56,76a19.7,19.7,0,0,0,5.9,14.1,19.9,19.9,0,0,0,28.2,0,19.8,19.8,0,0,0,0-28.2h0a19.8,19.8,0,0,0-28.2,0A19.7,19.7,0,0,0,56,76ZM216,180a36,36,0,1,1-61.5-25.5,36.2,36.2,0,0,1,51,0A35.9,35.9,0,0,1,216,180Zm-16,0a19.7,19.7,0,0,0-5.9-14.1,19.8,19.8,0,0,0-28.2,0A19.9,19.9,0,1,0,200,180Z"}))})),sj.set("light",(function(e){return i().createElement(i().Fragment,null,i().createElement("line",{x1:"200",y1:"56",x2:"56",y2:"200",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"12"}),i().createElement("circle",{cx:"76",cy:"76",r:"28",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"12"}),i().createElement("circle",{cx:"180",cy:"180",r:"28",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"12"}))})),sj.set("thin",(function(e){return i().createElement(i().Fragment,null,i().createElement("line",{x1:"200",y1:"56",x2:"56",y2:"200",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"8"}),i().createElement("circle",{cx:"76",cy:"76",r:"28",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"8"}),i().createElement("circle",{cx:"180",cy:"180",r:"28",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"8"}))})),sj.set("regular",(function(e){return i().createElement(i().Fragment,null,i().createElement("line",{x1:"200",y1:"56",x2:"56",y2:"200",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"16"}),i().createElement("circle",{cx:"76",cy:"76",r:"28",fill:"none",stroke:e,strokeMiterlimit:"10",strokeWidth:"16"}),i().createElement("circle",{cx:"180",cy:"180",r:"28",fill:"none",stroke:e,strokeMiterlimit:"10",strokeWidth:"16"}))}));var lj=function(e,t){return jv(e,t,sj)},cj=(0,o.forwardRef)((function(e,t){return i().createElement(Hv,Object.assign({ref:t},e,{renderPath:lj}))}));cj.displayName="Percent";const uj=cj;var dj=function(){return dj=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},dj.apply(this,arguments)},pj=function(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 o=0;for(r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]])}return n},fj=function(e,t){var n="function"==typeof Symbol&&e[Symbol.iterator];if(!n)return e;var r,o,i=n.call(e),a=[];try{for(;(void 0===t||t-- >0)&&!(r=i.next()).done;)a.push(r.value)}catch(s){o={error:s}}finally{try{r&&!r.done&&(n=i.return)&&n.call(i)}finally{if(o)throw o.error}}return a};const hj=function(e){var t,n,r=e.metadata,i=(e.field,e.name),a=e.value,c=e.step,d=e.onChange,p=e.invalid,f=pj(e,["metadata","field","name","value","step","onChange","invalid"]),h=(0,o.useRef)(null),m=(0,o.useRef)(null),v=fj((0,o.useState)(16),2),g=v[0],y=v[1],b=fj((0,o.useState)("0px"),2),w=b[0],x=b[1],k=function(e){var t=isNaN(Number(e))?f.placeholder:e;y(function(e,t){if(t){var n=getComputedStyle(t).fontFamily,r=getComputedStyle(t).fontSize,o=document.createElement("span");o.style.fontFamily=n,o.style.fontSize=r,o.style.visibility="hidden",o.style.position="absolute",o.textContent=e+"",document.body.appendChild(o);var i=o.offsetWidth;return document.body.removeChild(o),i}return 0}(t,null==h?void 0:h.current))};return(0,o.useEffect)((function(){k(a)}),[a]),(0,o.useEffect)((function(){m.current&&x(getComputedStyle(m.current).height)}),[m,r,a]),l(u.Z,{sx:{position:"relative","& > svg":{position:"absolute",color:null===(t=null==f?void 0:f.styles)||void 0===t?void 0:t.textColor,left:g+16+"px",fontSize:null===(n=null==f?void 0:f.styles)||void 0===n?void 0:n.fontSize,top:"calc(50% - ".concat(parseInt(w,10)/2,"px)")}},children:[s(Ov,dj({},f,{inputRef:h,type:"number",inputProps:{step:c},label:"",fullWidth:!0,error:p,name:i,onWheel:function(e){return e.target.blur()},onChange:function(e){d(e.target.value)},value:null!=a?a:""})),s(uj,{ref:m})]})};var mj=function(){return mj=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},mj.apply(this,arguments)},vj=function(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 o=0;for(r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]])}return n},gj=function(e,t){var n="function"==typeof Symbol&&e[Symbol.iterator];if(!n)return e;var r,o,i=n.call(e),a=[];try{for(;(void 0===t||t-- >0)&&!(r=i.next()).done;)a.push(r.value)}catch(s){o={error:s}}finally{try{r&&!r.done&&(n=i.return)&&n.call(i)}finally{if(o)throw o.error}}return a};const yj=function(e){var t=e.metadata,n=e.field,r=e.name,i=e.value,a=e.onChange,l=e.invalid,c=e.processor,u=vj(e,["metadata","field","name","value","onChange","invalid","processor"]),d=(0,o.useMemo)((function(){return null==t?void 0:t.fields.find((function(e){return e.name===n||e.name===r}))}),[t,n]),p=gj((0,o.useState)(1),2),f=p[0],h=p[1],m="percent"===(null==d?void 0:d.type)||(null==d?void 0:d.field_type)===Sa.PERCENT_FIELD||(null==d?void 0:d.field_type)===Sa.PERCENT_COMPLETE_FIELD;(0,o.useEffect)((function(){var e;h(void 0!==(e=null==c?void 0:c.getPrecision(d))?Math.pow(10,-e):1)}),[d]);return m?s(hj,mj({},e,{step:f})):s(Ov,mj({},u,{type:"number",inputProps:{step:f},fullWidth:!0,error:l,name:r,onWheel:function(e){return e.target.blur()},onChange:function(e){a(e.target.value)},value:null!=i?i:""}))};var bj=n(58877),wj=n.n(bj),xj=n(64666),kj=n(35713),Sj=n(91894),Cj=n(25827),Ej={position:"absolute",top:"50%",left:"50%",transform:"translate(-50%, -50%)",boxShadow:24};const Tj=function(e){var t=e.isOpen,n=e.handleClose,r=e.children,o=e.container,i=e.style;return s(Cj.Z,{container:o,open:t,onClose:n,"aria-labelledby":"modal-modal-title","aria-describedby":"modal-modal-description",sx:i,children:s(u.Z,{sx:Ej,children:r})})};var Oj,$j=function(e){var t=e.file,n=e.onPreview,r=e.onRemoveFile;return l("li",{className:p()(t.url?"url":""),onClick:function(){t.url&&n(!0)},style:{zIndex:1},children:[s("span",{style:{wordBreak:"break-all",width:"90%"},children:t.name}),t.loading?s(w.Z,{color:"inherit",size:15,sx:{marginLeft:"10px"}}):t.error?null:s(zy,{onClick:function(e){e.stopPropagation(),r(t.key)}})]},t.key)};!function(e){e.DRAW="DRAW",e.TEXT="TEXT"}(Oj||(Oj={}));var Mj=function(){return Mj=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},Mj.apply(this,arguments)},Aj=function(e,t,n,r){return new(n||(n=Promise))((function(o,i){function a(e){try{l(r.next(e))}catch(Yr){i(Yr)}}function s(e){try{l(r.throw(e))}catch(Yr){i(Yr)}}function l(e){var t;e.done?o(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())}))},Dj=function(e,t){var n,r,o,i,a={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return i={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function s(s){return function(l){return function(s){if(n)throw new TypeError("Generator is already executing.");for(;i&&(i=0,s[0]&&(a=0)),a;)try{if(n=1,r&&(o=2&s[0]?r.return:s[0]?r.throw||((o=r.return)&&o.call(r),0):r.next)&&!(o=o.call(r,s[1])).done)return o;switch(r=0,o&&(s=[2&s[0],o.value]),s[0]){case 0:case 1:o=s;break;case 4:return a.label++,{value:s[1],done:!1};case 5:a.label++,r=s[1],s=[0];continue;case 7:s=a.ops.pop(),a.trys.pop();continue;default:if(!(o=a.trys,(o=o.length>0&&o[o.length-1])||6!==s[0]&&2!==s[0])){a=0;continue}if(3===s[0]&&(!o||s[1]>o[0]&&s[1]<o[3])){a.label=s[1];break}if(6===s[0]&&a.label<o[1]){a.label=o[1],o=s;break}if(o&&a.label<o[2]){a.label=o[2],a.ops.push(s);break}o[2]&&a.ops.pop(),a.trys.pop();continue}s=t.call(e,a)}catch(Yr){s=[6,Yr],r=0}finally{n=o=0}if(5&s[0])throw s[1];return{value:s[0]?s[1]:void 0,done:!0}}([s,l])}}},Lj=function(e,t){var n="function"==typeof Symbol&&e[Symbol.iterator];if(!n)return e;var r,o,i=n.call(e),a=[];try{for(;(void 0===t||t-- >0)&&!(r=i.next()).done;)a.push(r.value)}catch(s){o={error:s}}finally{try{r&&!r.done&&(n=i.return)&&n.call(i)}finally{if(o)throw o.error}}return a};const Nj=function(e){$l("https://fonts.googleapis.com/css2?family=Dancing+Script&family=Poppins:wght@300;400&display=swap");e.name;var t=e.error,n=e.styles,r=e.value,i=e.onChange,a=e.onLoading,c=e.placeholder,d=n.fontSize,f=n.textColor,h=n.fontFamily,m=n.borderStyleHover,v=n.borderWidthHover,y=n.borderColorHover,b=n.backgroundColorHover,w=n.borderColor,x=_y(r),k=x.files,S=x.setFiles,C=x.removeFile,E=x.resetFileList,O=(0,g.Z)(),$=Lj((0,o.useState)(""),2),M=$[0],A=$[1],D=Lj((0,o.useState)(!1),2),L=D[0],N=D[1],R=Lj((0,o.useState)(!1),2),I=R[0],P=R[1],Z=Lj((0,o.useState)(!1),2),_=Z[0],F=Z[1],j=Lj((0,o.useState)(!1),2),B=j[0],z=j[1],H=Lj((0,o.useState)({type:Oj.DRAW}),2),U=H[0],W=H[1],V=(0,o.useRef)(null),q=(0,o.useRef)(),G=(0,o.useRef)(),K=$y(),Y=K.isDesktop,X=K.isTablet,J=Y?490:X?360:262,Q=function(){ee(),F(!1),P(!1)};(0,o.useEffect)((function(){(null==k?void 0:k.length)||E()}),[null==k?void 0:k.length]),(0,o.useEffect)((function(){var e=[];k.length&&(e=k.filter((function(e){return!e.error})).map((function(e){return{id:e.id,key:e.key,url:e.url,name:e.name}})),a&&a(k.some((function(e){return e.loading})))),i(e)}),[k]),(0,o.useEffect)((function(){!L&&(null==r?void 0:r.length)&&N(!0),L&&!(null==r?void 0:r.length)&&(null==k?void 0:k.length)&&(E(),N(!1))}),[r]);function ee(){var e;A(""),(null==q?void 0:q.current)&&(null===(e=null==q?void 0:q.current)||void 0===e||e.clear())}return l(u.Z,{className:"file-holder",children:[s(u.Z,{className:p()({invalid:t}),onClick:function(){return F(!0)},sx:Mj({display:"flex",justifyContent:"center",alignItems:"center",position:"relative",cursor:"pointer","&:hover":{borderStyle:m,borderWidth:v,borderColor:y,backgroundColor:b},"> p":{margin:0,width:"100%",textAlign:"center",padding:"12px 23px",fontWeight:400,fontSize:"12px",lineHeight:"18px",color:"#9E9E9E"}},n),children:s("p",{style:{fontSize:d,color:f,fontFamily:h||O.typography.fontFamily,borderBottom:"1px solid ".concat(w),marginLeft:"24px",marginRight:"24px",marginBottom:"6px"},children:c||s("span",{children:"Add signature"})})}),!!k.length&&s("ul",{children:k.map((function(e,t){return s($j,{file:e,onPreview:function(e){return z(e)},onRemoveFile:function(e){return C(e)}},t)}))}),_&&l(xj.Z,{open:_,onClose:Q,PaperProps:{sx:{borderRadius:"24px",margin:"16px"}},children:[l(u.Z,{sx:{p:3,pb:2,fontSize:24,fontWeight:700,display:"flex",justifyContent:"space-between",alignItems:"center"},children:[l(u.Z,{children:[s(u.Z,{sx:{pt:2,pl:2,fontSize:"1.5rem",fontWeight:"bold",color:"#0A0A0A"},children:"Add signature"}),s(u.Z,{sx:{pt:1,pl:2,fontSize:".75rem",fontWeight:"normal",color:"#0A0A0A"},children:"Use the space bellow to draw your signature"})]}),s(dg.Z,{onClick:Q,size:"small",children:s(cg,{})})]}),l("div",{className:"signature-content",children:[l(u.Z,{sx:{display:"flex",marginLeft:"40px",marginTop:"16px","& .tab":{cursor:"pointer",fontSize:"11px",fontWeight:"600",marginRight:"12px",color:"#5A5D63","&.active":{borderBottom:"2px solid #EEA941",color:"#212121"}}},className:"signature-type",children:[s("div",{onClick:function(){ee(),W({type:Oj.DRAW})},className:"tab ".concat(U.type===Oj.DRAW?"active":""),children:"DRAW"}),s("div",{onClick:function(){ee(),W({type:Oj.TEXT})},className:"tab ".concat(U.type===Oj.TEXT?"active":""),children:"TYPE"})]}),l(kj.Z,{sx:{px:5,pb:1,mt:-1,position:"relative","& .MuiButton-root":{minHeight:"40px"},"& .MuiInputBase-root":{minHeight:"40px"},"& .sigCanvas":{background:"#F0F0F4",borderRadius:"8px",cursor:"crosshair"},"& input.text-input":{position:"absolute",height:"230px",left:"40px",right:"40px",top:"20px",background:"transparent",border:0,textAlign:"center",fontFamily:"Dancing Script, cursive",fontSize:"48px","&:focus":{outline:"none"}},"& .clear-canvas":{position:"absolute",top:"30px",right:"50px",padding:"7px 16px",background:"#FFFFFF",borderRadius:"8px",fontSize:"12px",color:"#424242",zIndex:5,border:0,"&:focus":{outline:"none"}}},className:"signature-content-body",children:[s("button",{className:"clear-canvas",onClick:ee,children:"Clear"}),s(u.Z,{sx:{opacity:U.type===Oj.TEXT?0:1},children:s(wj(),{penColor:"black",ref:q,canvasProps:{width:J,height:230,className:"sigCanvas"}})}),U.type===Oj.TEXT&&s("input",{style:{width:J},type:"text",autoFocus:!0,ref:G,value:M,onChange:function(e){return A(e.target.value)},className:"text-input",placeholder:"Type here"})]}),l(Sj.Z,{sx:{p:5,pt:2,justifyContent:"flex-end",position:"relative",zIndex:0},children:[s(T,{onClick:Q,type:"primary",styles:{boxShadow:"none",backgroundColor:"transparent",backgroundColorHover:"#F5F5F5",textColor:"#424242",paddingLeft:3,paddingRight:3,paddingTop:1.5,paddingBottom:1.5},children:"Cancel"}),s(T,{styles:{boxShadow:"none",paddingLeft:3,paddingRight:3,paddingTop:1.5,paddingBottom:1.5},disabled:I,type:"primary",onClick:function(){P(!0),M||!function(){if(!(null==q?void 0:q.current))return!0;var e=q.current.getCanvas();return!e.getContext("2d").getImageData(0,0,e.width,e.height).data.some((function(e){return 0!==e}))}()?U.type!==Oj.TEXT?Aj(void 0,void 0,void 0,(function(){var e,t,n;return Dj(this,(function(r){switch(r.label){case 0:return(null==q?void 0:q.current)?(k.length&&C(k[0].key),e=q.current.getTrimmedCanvas(),[4,new Promise((function(t){return e.toBlob(t,"image/png")}))]):[2];case 1:return t=r.sent(),n=new File([t],"signature_with_draw.png",{type:"image/png"}),S({target:{files:[n]}}),Q(),[2]}}))})):Aj(void 0,void 0,void 0,(function(){var e,t,n,r,o,i,a,s,l,c,u;return Dj(this,(function(d){switch(d.label){case 0:return(null==q?void 0:q.current)&&(null==G?void 0:G.current)?(k.length&&C(k[0].key),e=q.current.getCanvas(),t=e.getContext("2d"),n=G.current.value,t.fillStyle="white",t.fillRect(0,0,e.width,e.height),t.font='48px "Dancing Script", cursive',t.fillStyle="#383B3D",r=t.measureText(n),o=r.width,i=r.actualBoundingBoxAscent+r.actualBoundingBoxDescent,a=(e.width-o)/2,s=(e.height-i)/2,t.fillText(n,a,s),l=q.current.getTrimmedCanvas(),[4,new Promise((function(e){return l.toBlob(e,"image/png")}))]):[2];case 1:return c=d.sent(),u=new File([c],"signature_with_text.png",{type:"image/png"}),S({target:{files:[u]}}),Q(),[2]}}))})):Q()},children:"Add"})]})]})]}),B&&s("div",{className:"modal-component",children:s(Tj,{isOpen:B,handleClose:function(){return z(!1)},container:V.current,children:s(u.Z,{sx:{minWidth:"320px",minHeight:"280px",display:"flex",justifyContent:"center",alignItems:"center",background:"#fff",borderRadius:"24px",padding:"24px"},children:s("img",{alt:k[0].name,src:k[0].url,style:{width:"100%",height:"100%"}})})})})]})};var Rj=new Map;Rj.set("bold",(function(e){return i().createElement(i().Fragment,null,i().createElement("path",{d:"M128,56C48,56,16,128,16,128s32,72,112,72,112-72,112-72S208,56,128,56Z",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"24"}),i().createElement("circle",{cx:"128",cy:"128",r:"32",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"24"}))})),Rj.set("duotone",(function(e){return i().createElement(i().Fragment,null,i().createElement("path",{d:"M128,56C48,56,16,128,16,128s32,72,112,72,112-72,112-72S208,56,128,56Zm0,112a40,40,0,1,1,40-40A40,40,0,0,1,128,168Z",opacity:"0.2"}),i().createElement("path",{d:"M128,56C48,56,16,128,16,128s32,72,112,72,112-72,112-72S208,56,128,56Z",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"16"}),i().createElement("circle",{cx:"128",cy:"128",r:"40",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"16"}))})),Rj.set("fill",(function(){return i().createElement(i().Fragment,null,i().createElement("path",{d:"M247.3,124.8c-.3-.8-8.8-19.6-27.6-38.5C194.6,61.3,162.9,48,128,48S61.4,61.3,36.3,86.3C17.5,105.2,9,124,8.7,124.8a7.9,7.9,0,0,0,0,6.4c.3.8,8.8,19.6,27.6,38.5C61.4,194.7,93.1,208,128,208s66.6-13.3,91.7-38.3c18.8-18.9,27.3-37.7,27.6-38.5A7.9,7.9,0,0,0,247.3,124.8ZM128,92a36,36,0,1,1-36,36A36,36,0,0,1,128,92Z"}))})),Rj.set("light",(function(e){return i().createElement(i().Fragment,null,i().createElement("path",{d:"M128,56C48,56,16,128,16,128s32,72,112,72,112-72,112-72S208,56,128,56Z",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"12"}),i().createElement("circle",{cx:"128",cy:"128",r:"40",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"12"}))})),Rj.set("thin",(function(e){return i().createElement(i().Fragment,null,i().createElement("path",{d:"M128,56C48,56,16,128,16,128s32,72,112,72,112-72,112-72S208,56,128,56Z",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"8"}),i().createElement("circle",{cx:"128",cy:"128",r:"40",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"8"}))})),Rj.set("regular",(function(e){return i().createElement(i().Fragment,null,i().createElement("path",{d:"M128,56C48,56,16,128,16,128s32,72,112,72,112-72,112-72S208,56,128,56Z",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"16"}),i().createElement("circle",{cx:"128",cy:"128",r:"40",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"16"}))}));var Ij=function(e,t){return jv(e,t,Rj)},Pj=(0,o.forwardRef)((function(e,t){return i().createElement(Hv,Object.assign({ref:t},e,{renderPath:Ij}))}));Pj.displayName="Eye";const Zj=Pj;var _j=new Map;_j.set("bold",(function(e){return i().createElement(i().Fragment,null,i().createElement("line",{x1:"48",y1:"40",x2:"208",y2:"216",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"24"}),i().createElement("path",{d:"M74,68.6C33.2,89.2,16,128,16,128s32,72,112,72a117.9,117.9,0,0,0,54-12.6",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"24"}),i().createElement("path",{d:"M214.4,163.6C232.1,145.7,240,128,240,128S208,56,128,56c-3.8,0-7.4.2-11,.5",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"24"}))})),_j.set("duotone",(function(e){return i().createElement(i().Fragment,null,i().createElement("path",{d:"M128,56C48,56,16,128,16,128s32,72,112,72,112-72,112-72S208,56,128,56Zm0,112a40,40,0,1,1,40-40A40,40,0,0,1,128,168Z",opacity:"0.2"}),i().createElement("line",{x1:"48",y1:"40",x2:"208",y2:"216",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"16"}),i().createElement("path",{d:"M154.9,157.6A39.6,39.6,0,0,1,128,168a40,40,0,0,1-26.9-69.6",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"16"}),i().createElement("path",{d:"M74,68.6C33.2,89.2,16,128,16,128s32,72,112,72a117.9,117.9,0,0,0,54-12.6",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"16"}),i().createElement("path",{d:"M208.6,169.1C230.4,149.6,240,128,240,128S208,56,128,56a123.9,123.9,0,0,0-20.7,1.7",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"16"}),i().createElement("path",{d:"M135.5,88.7a39.9,39.9,0,0,1,32.3,35.5",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"16"}))})),_j.set("fill",(function(){return i().createElement(i().Fragment,null,i().createElement("path",{d:"M247.3,124.8c-.3-.8-8.8-19.6-27.6-38.5C194.6,61.3,162.9,48,128,48a132.4,132.4,0,0,0-22,1.8,8.1,8.1,0,0,0-4.6,13.3L202.7,174.5a8,8,0,0,0,5.9,2.6,8.6,8.6,0,0,0,5.4-2c22.8-20.5,32.9-42.9,33.3-43.8A8.2,8.2,0,0,0,247.3,124.8Z"}),i().createElement("path",{d:"M53.9,34.6A8,8,0,0,0,42.1,45.4L61.3,66.5C25,88.8,9.4,123.2,8.7,124.8a8.2,8.2,0,0,0,0,6.5c.3.7,8.8,19.5,27.6,38.4C61.4,194.7,93.1,208,128,208a126.9,126.9,0,0,0,52.1-10.8l22,24.2A8,8,0,0,0,208,224a8.2,8.2,0,0,0,5.4-2.1,7.9,7.9,0,0,0,.5-11.3ZM128,164a36,36,0,0,1-29.5-56.6l47.2,51.9A35.4,35.4,0,0,1,128,164Z"}))})),_j.set("light",(function(e){return i().createElement(i().Fragment,null,i().createElement("line",{x1:"48",y1:"40",x2:"208",y2:"216",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"12"}),i().createElement("path",{d:"M154.9,157.6A39.6,39.6,0,0,1,128,168a40,40,0,0,1-26.9-69.6",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"12"}),i().createElement("path",{d:"M74,68.6C33.2,89.2,16,128,16,128s32,72,112,72a117.9,117.9,0,0,0,54-12.6",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"12"}),i().createElement("path",{d:"M208.6,169.1C230.4,149.6,240,128,240,128S208,56,128,56a123.9,123.9,0,0,0-20.7,1.7",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"12"}),i().createElement("path",{d:"M135.5,88.7a39.9,39.9,0,0,1,32.3,35.5",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"12"}))})),_j.set("thin",(function(e){return i().createElement(i().Fragment,null,i().createElement("line",{x1:"48",y1:"40",x2:"208",y2:"216",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"8"}),i().createElement("path",{d:"M154.9,157.6A39.6,39.6,0,0,1,128,168a40,40,0,0,1-26.9-69.6",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"8"}),i().createElement("path",{d:"M74,68.6C33.2,89.2,16,128,16,128s32,72,112,72a117.9,117.9,0,0,0,54-12.6",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"8"}),i().createElement("path",{d:"M208.6,169.1C230.4,149.6,240,128,240,128S208,56,128,56a123.9,123.9,0,0,0-20.7,1.7",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"8"}),i().createElement("path",{d:"M135.5,88.7a39.9,39.9,0,0,1,32.3,35.5",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"8"}))})),_j.set("regular",(function(e){return i().createElement(i().Fragment,null,i().createElement("line",{x1:"48",y1:"40",x2:"208",y2:"216",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"16"}),i().createElement("path",{d:"M154.9,157.6A39.6,39.6,0,0,1,128,168a40,40,0,0,1-26.9-69.6",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"16"}),i().createElement("path",{d:"M74,68.6C33.2,89.2,16,128,16,128s32,72,112,72a117.9,117.9,0,0,0,54-12.6",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"16"}),i().createElement("path",{d:"M208.6,169.1C230.4,149.6,240,128,240,128S208,56,128,56a123.9,123.9,0,0,0-20.7,1.7",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"16"}),i().createElement("path",{d:"M135.5,88.7a39.9,39.9,0,0,1,32.3,35.5",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"16"}))}));var Fj=function(e,t){return jv(e,t,_j)},jj=(0,o.forwardRef)((function(e,t){return i().createElement(Hv,Object.assign({ref:t},e,{renderPath:Fj}))}));jj.displayName="EyeSlash";const Bj=jj;var zj=function(){return zj=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},zj.apply(this,arguments)},Hj=function(e,t){var n="function"==typeof Symbol&&e[Symbol.iterator];if(!n)return e;var r,o,i=n.call(e),a=[];try{for(;(void 0===t||t-- >0)&&!(r=i.next()).done;)a.push(r.value)}catch(s){o={error:s}}finally{try{r&&!r.done&&(n=i.return)&&n.call(i)}finally{if(o)throw o.error}}return a};const Uj=function(e){var t,n=Hj((0,o.useState)(!1),2),r=n[0],i=n[1],a={cursor:"pointer",color:(0,g.Z)().palette.getContrastText(null===(t=e.styles)||void 0===t?void 0:t.backgroundColor),backgroundColor:"transparent"};return s(Ov,zj({type:r?"text":"password",InputProps:{endAdornment:r?s(Zj,{onClick:function(){return i(!1)},style:a}):s(Bj,{onClick:function(){return i(!0)},style:a})}},e))};var Wj=n(44781),Vj=n(13056),qj=n.n(Vj),Gj=function(){return Gj=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},Gj.apply(this,arguments)},Kj=function(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 o=0;for(r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]])}return n},Yj=function(e,t){var n="function"==typeof Symbol&&e[Symbol.iterator];if(!n)return e;var r,o,i=n.call(e),a=[];try{for(;(void 0===t||t-- >0)&&!(r=i.next()).done;)a.push(r.value)}catch(s){o={error:s}}finally{try{r&&!r.done&&(n=i.return)&&n.call(i)}finally{if(o)throw o.error}}return a};const Xj=function(e){var t=e.value,n=e.className,r=e.styles,i=e.showSkeleton,c=e.alt,u=e.allImages,d=e.isBgImage,f=void 0===d||d,h=e.onClick,m=e.isDetail,v=Kj(e,["value","className","styles","showSkeleton","alt","allImages","isBgImage","onClick","isDetail"]),g=Yj((0,o.useState)(!1),2),b=g[0],w=g[1],x=(0,o.useRef)(null),k=r.paddingTop,S=r.paddingBottom,C=r.paddingLeft,E=r.paddingRight,T=r.marginTop,O=r.marginBottom,$=r.marginLeft,M=r.marginRight,A=r.percentageWidth,D=Kj(r,["paddingTop","paddingBottom","paddingLeft","paddingRight","marginTop","marginBottom","marginLeft","marginRight","percentageWidth"]),L={paddingTop:k,paddingBottom:S,paddingLeft:C,paddingRight:E,marginTop:T,marginBottom:O,marginLeft:$,marginRight:M};return i?s("div",{children:s(y.Z,{variant:"rectangular",width:null==r?void 0:r.width,height:null==r?void 0:r.height})}):f?l(a,{children:[s("div",{style:Gj(Gj({},L),"100%"===(null==D?void 0:D.width)||"100%"===A?{width:"100%"}:{}),children:s("div",Gj({},v,{className:p()("static-image",b&&"off-events"),style:Gj(Gj(Gj({backgroundImage:"url(".concat(t,")"),backgroundRepeat:"no-repeat",backgroundPosition:"center",flexShrink:"0"},"100%"===(null==D?void 0:D.height)?{paddingTop:"100%"}:{}),A?{width:A}:{}),D),onClick:function(e){e.stopPropagation(),w(!0)}}))}),b&&s("div",{className:"modal-component",children:s(Tj,{isOpen:b,handleClose:function(){return w(!1)},container:x.current,children:(null==u?void 0:u.length)>1&&m?s(qj(),{autoPlay:!1,indicators:!0,height:600,className:"gallery-item",sx:{width:800},navButtonsAlwaysVisible:!0,children:null==u?void 0:u.map((function(e,t){return s(Wj.Z,{className:"paper",component:"img",image:e,alt:"gallery-item",sx:{height:"100%",objectFit:"contain"}},t)}))}):s("img",{alt:c,src:t,style:Gj(Gj({},r),{maxHeight:"585px",width:"100%",height:"100%",backgroundRepeat:"no-repeat"})})})})]}):s("img",Gj({},v,{src:t,className:n,alt:c,onClick:h}))};var Jj=function(){return Jj=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},Jj.apply(this,arguments)},Qj=function(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 o=0;for(r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]])}return n},eB=function(e,t){var n="function"==typeof Symbol&&e[Symbol.iterator];if(!n)return e;var r,o,i=n.call(e),a=[];try{for(;(void 0===t||t-- >0)&&!(r=i.next()).done;)a.push(r.value)}catch(s){o={error:s}}finally{try{r&&!r.done&&(n=i.return)&&n.call(i)}finally{if(o)throw o.error}}return a};const tB=function(e){var t=e.name,n=e.error,r=e.styles,i=e.value,c=e.onChange,d=e.onLoading,f=e.placeholder,h=Qj(e,["name","error","styles","value","onChange","onLoading","placeholder"]),m=r.fontSize,v=r.textColor,y=r.fontFamily,b=r.borderStyleHover,x=r.borderWidthHover,k=r.borderColorHover,S=r.backgroundColorHover,C=_y(i?Array.isArray(i)?i:[{id:i,filename:i,url:i}]:[]),E=C.files,T=C.setFiles,O=C.dropFiles,$=C.removeFile,M=C.resetFileList,A=(0,o.useMemo)((function(){return E.filter((function(e){return e.url}))}),[E]),D=(0,g.Z)(),L=eB((0,o.useState)(!1),2),N=L[0],R=L[1];return(0,o.useEffect)((function(){(null==A?void 0:A.length)||M()}),[null==A?void 0:A.length]),(0,o.useEffect)((function(){var e=[];E.length&&(e=E.filter((function(e){return!e.error})).map((function(e){return{id:e.id,key:e.key,url:e.url,name:e.name}})),d&&d(E.some((function(e){return e.loading}))));var t=e.filter((function(e){return e.url}));c(t)}),[E]),(0,o.useEffect)((function(){!N&&(null==i?void 0:i.length)&&R(!0),N&&!(null==i?void 0:i.length)&&(null==A?void 0:A.length)&&(M(),R(!1))}),[i]),l(u.Z,{children:[!A.length&&s("div",{className:"image-holder",onDrop:O,children:l(u.Z,{className:p()({invalid:n}),sx:Jj({display:"flex",justifyContent:"center",alignItems:"center",position:"relative",overflow:"hidden","&:hover":{borderStyle:b,borderWidth:x,borderColor:k,backgroundColor:S},"> input":{position:"absolute",top:0,left:0,width:"100%",height:" 100%",cursor:"pointer",opacity:0,zIndex:10},"> p":{margin:0,width:"100%",textAlign:"center",padding:"12px 23px",fontWeight:400,fontSize:"12px",lineHeight:"18px",color:"#9E9E9E",fontFamily:y||D.typography.fontFamily},"> p > span:nth-of-type(2)":{color:"#EAB10B"}},r),children:[s("input",Jj({},h,{name:t,type:"file",accept:"image/*",onChange:T,onDrop:function(e){e.preventDefault()}})),s("p",{style:{fontSize:m,color:v},children:f||l(a,{children:[s("span",{children:"Drag to upload or"})," ",s("span",{children:"Browse"})]})})]})}),A.length>0&&s(u.Z,{className:"image-view-part",sx:{display:"inline-block"},children:l(u.Z,{sx:{position:"relative",display:"inline-block"},children:[s(Xj,{value:A[0].url,styles:{cursor:"pointer",width:r.width||"110px",height:r.height||"110px",backgroundImage:"url(".concat(A[0].url,")"),backgroundRepeat:"no-repeat",backgroundSize:"cover",backgroundPosition:"center",boxShadow:"0px 2px 4px 0px rgba(17, 17, 17, 0.2), 0px 8px 32px 0px rgba(33, 33, 33, 0.1)",borderRadius:"8px",marginTop:"8px",marginRight:"8px"}}),A[0].loading&&s(w.Z,{color:"inherit",size:15,sx:{position:"absolute",top:"calc(50% - 7.5px)",left:"calc(50% - 15.5px)",margin:0}}),!A[0].error&&!A[0].loading&&s(cg,{style:{cursor:"pointer",position:"absolute",top:"0",right:"-15px",color:"#fff",background:"#000",opacity:".3",borderRadius:"16px",padding:"3px",fontSize:"18px"},className:"delete-file",onClick:function(e){e.stopPropagation(),$(A[0].key)}})]})})]})};var nB=function(){return nB=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},nB.apply(this,arguments)},rB=function(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 o=0;for(r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]])}return n},oB=function(e,t){var n="function"==typeof Symbol&&e[Symbol.iterator];if(!n)return e;var r,o,i=n.call(e),a=[];try{for(;(void 0===t||t-- >0)&&!(r=i.next()).done;)a.push(r.value)}catch(s){o={error:s}}finally{try{r&&!r.done&&(n=i.return)&&n.call(i)}finally{if(o)throw o.error}}return a};$l("https://uicdn.toast.com/editor/3.2.1/toastui-editor.min.css");var iB=function(e){var t,n,r,i,a,d=e.type,f=e.name,h=e.field,m=e.label,v=e.value,y=e.values,b=e.invalid,w=e.onChange,x=e.onFileUpLoading,k=(e.children,e.required),C=e.errorText,E=e.pointerEventsNone,T=e.withHorizontalLabel,O=e.labelStyles,$=e.syncWithDataSource,M=e.multiSelect,A=(e.allowUserToAddOption,e.optionsOrder),D=e.multiRecordsLink,L=e.datasourceField,N=e.metadata,R=e.disabled,I=rB(e,["type","name","field","label","value","values","invalid","onChange","onFileUpLoading","children","required","errorText","pointerEventsNone","withHorizontalLabel","labelStyles","syncWithDataSource","multiSelect","allowUserToAddOption","optionsOrder","multiRecordsLink","datasourceField","metadata","disabled"]),P=F(),Z=oB((0,o.useState)(M),2),_=Z[0],j=Z[1],B=Ws(null===(t=I.dataSource)||void 0===t?void 0:t.type),z=(0,o.useMemo)((function(){return B.isMultiselectAllowed(L)}),[null===(n=null==L?void 0:L.params)||void 0===n?void 0:n.entries_allowed,null===(r=null==L?void 0:L.options)||void 0===r?void 0:r.prefersSingleRecordLink,null==L?void 0:L.type,null==L?void 0:L.field_type,L,N]),H=(0,o.useMemo)((function(){var e;return(null===(e=window[P])||void 0===e?void 0:e.datasource_type)===cs.GOOGLE_SHEET}),[P]),U=function(e,t,n,r){return e?n&&r||r?t&&"string"==typeof e?e.split(","):e||[]:t&&L?"string"==typeof e?e.split(","):e||[]:t?("string"==typeof e?e.split(";"):e||[]).map((function(e){return e.trim()})).filter(Boolean):e||"":t?[]:""};(0,o.useEffect)((function(){M&&L&&!z&&j(!1)}),[L,z,M]);var W=(0,g.Z)(),V=function(){var e,t,n,r;switch(d){case wn.LongText:I.className;var o=rB(I,["className"]);return s(Ov,nB({},o,{label:"",multiline:!0,minRows:4,maxRows:8,fullWidth:!0,error:b,name:f,sx:{"&&& .MuiInputBase-root":{py:0}},onChange:function(e){return w(e.target.value)},value:null!=v?v:""}));case wn.Checkbox:I.className,o=rB(I,["className"]);var i=("string"!=typeof v||"false"!==v.toLowerCase())&&!!v;return s(Lv,nB({},o,{label:T?"":m+(k?" * ":""),labelStyles:O,defaultChecked:i,value:i,invalid:b,onChange:w}));case wn.DateTime:return s(Cg,nB({onChange:function(e){w(e)},name:f,error:!!b,value:v,isRequired:k},I));case wn.Dropdown:case wn.MultiSelect:case wn.AutoSyncDropdown:return D&&$?s(Xg,nB({},I,{isMultiSelect:_,onChange:function(e){return w(_?(null==e?void 0:e.map((function(e){return(null==e?void 0:e.id)?null==e?void 0:e.id:e})))||[]:(null==e?void 0:e.id)?null==e?void 0:e.id:e||null)},field:h,error:b,options:y,optionsOrder:A,value:U(v,_,D,$)}),_?"".concat(f,"-multi"):f):$?s(Cy,nB({},I,{field:h,name:f,options:y,optionsOrder:A,error:!!b,multiSelect:_,dataSource:I.dataSource,value:U(v,_,D,$),onChange:function(e){null===e||Array.isArray(e)&&!e.length?w(null):w(_?e:z?[e]:e)}})):s(Ny,nB({},I,{name:f,options:y,error:!!b,multiSelect:_,value:U(v,_,D,$),onChange:function(e){var t,n;null===e||Array.isArray(e)&&!e.length?w(L?null:""):(null==L?void 0:L.type)!==Br.RECORD_LINKS||z||_?(null==L?void 0:L.type)!==Br.SINGLE_LINE_TEXT?(n=(null===(t=window[P])||void 0===t?void 0:t.datasource_type)?H?Array.isArray(e)?e.join("; "):e:Array.isArray(e)?e:[e]:L?Array.isArray(e)||!z?e:[e]:Array.isArray(e)?e.join("; "):e,((null==L?void 0:L.field_type)===_a.SINGLE_SELECT_FIELD||(null==L?void 0:L.type)===Br.SINGLE_SELECT)&&Array.isArray(n)&&(n=n[0]),w(_?n:z?Array.isArray(n)?n:[n]:n)):function(e){w(null!==e?"string"!=typeof e?e.join(","):e:null)}(e):w([e])}}));case wn.File:return s(Vy,nB({},I,{name:f,value:v,error:!!b,onChange:w,onLoading:function(e){x&&x(e)},styles:I.styles,placeholder:null!==(e=I.placeholder)&&void 0!==e?e:""}));case wn.Image:return s(tB,nB({},I,{name:f,value:v,error:!!b,onChange:w,onLoading:function(e){x&&x(e)},styles:I.styles,placeholder:null!==(t=I.placeholder)&&void 0!==t?t:""}));case wn.PhoneNumber:return s(ob,nB({},I,{name:f,value:v,error:!!b,onChange:w,styles:I.styles,placeholder:null!==(n=I.placeholder)&&void 0!==n?n:""}));case wn.Date:var a=null==N?void 0:N.fields.find((function(e){return e.name===h||e.name===f}));return s(mg,nB({fullWidth:!0,dateMetadata:a,name:f,dateFormat:"yyyy-mm-dd",error:!!b,onChange:function(e){w(e)},value:v,isRequired:k},I));case wn.Rating:return s(pb,{name:f,onChange:w,styles:I.styles,id:I.id,initialValue:Number(null!=v?v:0),value:Number(null!=v?v:0)});case wn.Address:return s(xb,nB({name:f,error:!!b,onChange:function(e){return w(e)},initialValue:v},I));case wn.RichText:var l=null==N?void 0:N.fields.find((function(e){return e.name===h||e.name===f}));return s(aj,nB({onChange:function(e){return w(e)},initialValue:v,fieldMetadata:l},I));case wn.Email:I.className,o=rB(I,["className"]);return s(Ov,nB({},o,{type:"email",label:"",disabled:R,fullWidth:!0,error:b,name:f,onChange:function(e){return w(e.target.value)},value:null!=v?v:""}));case wn.Number:return s(yj,nB({},I,{metadata:N,processor:B,field:h,name:f,value:v,onChange:w,invalid:b}));case wn.Hidden:return s("input",{type:"hidden",value:null!=v?v:""});case wn.Password:I.className,o=rB(I,["className"]);return s(Uj,nB({},o,{label:"",fullWidth:!0,error:b,name:f,onChange:function(e){return w(e.target.value)},value:null!=v?v:"",disabled:R,pointerEventsNone:R}));case wn.Signature:return s(Nj,nB({},I,{name:f,value:v,error:!!b,onChange:w,onLoading:function(e){x&&x(e)},styles:I.styles,placeholder:null!==(r=I.placeholder)&&void 0!==r?r:""}));case wn.ShortText:default:I.className,o=rB(I,["className"]);return s(Ov,nB({},o,{label:"",fullWidth:!0,error:b,name:f,pointerEventsNone:E,onChange:function(e){return w(e.target.value)},value:null!=v?v:""}))}},q=s(u.Z,{component:"div",className:"form-input-label",sx:{"&&":O||{}},style:{"--font":W.typography.fontFamily},dangerouslySetInnerHTML:{__html:m+(k?" * ":"")}}),G=l("div",{className:p()("form-input-component-wrapper",{invalid:!!b}),children:[V(),C&&l("span",{className:"form-error-text",style:{"--font":W.typography.fontFamily},children:[s(S,{className:"fa fa-exclamation-triangle"}),s("span",{dangerouslySetInnerHTML:{__html:C}})]})]});return d===wn.Hidden?V():T?l(c.ZP,{container:!0,spacing:2,children:[s(c.ZP,{item:!0,xs:4,sx:{mt:null===(i=I.styles)||void 0===i?void 0:i.marginTop,mb:null===(a=I.styles)||void 0===a?void 0:a.marginBottom},children:!!m&&q}),s(c.ZP,{item:!0,xs:8,children:G})]}):l("div",{className:"form-input-holder",children:[d!==wn.Checkbox&&m&&q,G]})};iB.defaultProps={values:[]};const aB=iB;var sB=function(){return sB=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},sB.apply(this,arguments)},lB=function(e,t){var n="function"==typeof Symbol&&e[Symbol.iterator];if(!n)return e;var r,o,i=n.call(e),a=[];try{for(;(void 0===t||t-- >0)&&!(r=i.next()).done;)a.push(r.value)}catch(s){o={error:s}}finally{try{r&&!r.done&&(n=i.return)&&n.call(i)}finally{if(o)throw o.error}}return a};const cB=function(){var e,t=_(),n=t.text,r=t.header,i=t.box,a=t.form,d=a.emailInput,p=a.button,f=t.success_action,h=F(),m=yh(),g=m.fields,y=m.initialValues,b=m.loading,w=m.showSuccess,x=m.onSubmit,k=g[0]||{},S=lB((0,o.useState)(!1),2),C=S[0],E=S[1],O=function(e){var t=F(),n=e.fields,r=pv(kv(e,["fields"])),i=r.setFieldValue,a=kv(r,["setFieldValue"]);return(0,o.useEffect)((function(){var e=function(e){var t,r,o=function(t){var r=n.find((function(e){return e.name===t}))||{};i(r.fieldName||t,e.detail[t])};try{for(var a=Sv(Object.keys(e.detail)),s=a.next();!s.done;s=a.next())o(s.value)}catch(l){t={error:l}}finally{try{s&&!s.done&&(r=a.return)&&r.call(a)}finally{if(t)throw t.error}}};return window.addEventListener("update-fields-".concat(t),e),function(){window.removeEventListener("update-fields-".concat(t),e)}}),[n,t,i]),xv({setFieldValue:i},a)}({onSubmit:x,fields:g,initialValues:y,validationSchema:vn().shape(((e={})[k.fieldName||""]=tn().email("Please provide valid email address").required(C?"Email is required":""),e)),isInitialValid:!0,enableReinitialize:!0}),$=O.values,M=O.errors,A=O.setFieldValue,D=O.handleSubmit,L=O.handleBlur,N=O.touched,R=O.resetForm,P=lB((0,o.useState)(!1),2),Z=P[0],j=P[1];return(0,o.useEffect)((function(){j(!1)}),[d.styles.width]),(0,o.useEffect)((function(){if(!Z){var e=document.getElementById("".concat(h,"-input")).offsetTop,t=document.getElementById("".concat(h,"-button")).offsetTop;Math.abs(e-t)>10?j(!0):j(!1)}}),[d.styles.width,Z]),(0,o.useEffect)((function(){w||R()}),[w]),s(v,{children:l(c.ZP,{sx:{alignItems:"center",justifyContent:"center",textAlign:"center",paddingLeft:"24px",paddingRight:"24px"},className:" ".concat(i.className),children:[(r.value||n.value)&&l("div",{children:[r.value&&s(u.Z,{component:(null==r?void 0:r.htmlTag)||"h4",className:r.className,dangerouslySetInnerHTML:{__html:r.value},style:{marginBottom:0}}),n.value&&s(u.Z,{component:"p",sx:{margin:0},className:n.className,dangerouslySetInnerHTML:{__html:n.value}})]}),l(u.Z,{component:"form",id:"form",onSubmit:D,className:"form-inputs",sx:{display:"flex",justifyContent:"center",alignItems:"start",flexWrap:"wrap","& .form-input-holder":{margin:0},"& #input":{mt:1},"& #button":{mt:1}},children:[s("div",{style:{width:d.styles.width},id:"".concat(h,"-input"),children:s(aB,{type:d.type,name:k.fieldName,value:$[k.fieldName],onChange:function(e){return A(k.fieldName,e)},onBlur:L,placeholder:d.placeholder,className:"".concat(d.className),styles:d.styles,style:{marginBottom:"16px"},invalid:N[k.fieldName]&&!!M[k.fieldName],errorText:N[k.fieldName]?M[k.fieldName]:""})}),s(T,sB({},p,{type:"primary",id:"".concat(h,"-button"),loading:b,success:w,buttonType:"submit",onClick:function(){return E(!0)},sx:{height:"fit-content",marginLeft:{sm:Z?0:"16px",xs:"0"},marginBottom:{sm:"16px",xs:"0"},width:{sm:Z?"".concat(d.styles.width):"fit-content",xs:"100%"}},styles:p.styles,enableHTML:!0,dangerouslySetInnerHTML:p.label}))]}),s("p",{className:f.message.className,style:{visibility:w||uf()&&f.selectedState===I.ShowMessage?"visible":"hidden"},children:f.message.value})]})})};var uB=n(10185),dB=n(22233),pB=Array(25).fill("none");pB[1]="0px 0px 6px 0px rgba(17, 17, 17, 0.04) 0px 4px 8px 0px rgba(17, 17, 17, 0.04)",pB[2]="0px 2px 4px 0px rgba(17, 17, 17, 0.04), 0px 8px 32px 0px rgba(33, 33, 33, 0.08)",pB[3]="0px 2px 4px 0px rgba(17, 17, 17, 0.02), 0px 4px 8px 0px rgba(17, 17, 17, 0.03), 0px 8px 24px 0px rgba(17, 17, 17, 0.04), 0px 32px 80px 0px rgba(17, 17, 17, 0.08)";var fB={container:"fixed","container-fluid":"full",custom:"custom"};const hB=function(e){var t=e.defaultBaseTextSize,n=e.defaultBodyFont,r=(e.defaultBodyFontWeight,e.defaultBodyTextColor),o=e.defaultButtonBackgroundColor,i=e.defaultButtonRoundness,a=e.defaultButtonTextColor,s=e.defaultContainerStyle,l=(e.defaultTitleFont,e.defaultTitleFontWeight,o||"#F6C944"),c=a||"#424242",u=e.defaultTitleTextColor||"#424242",d=r||"#424242",p=parseInt((t||"16").replace("px",""),10);return{breakpoints:{values:{xs:0,sm:576,md:768,lg:992,xl:1200}},palette:{primary:{main:o||"#F6C944",dark:l,light:l,contrastText:c},secondary:{main:"#C2C2C2",contrastText:"#424242"},error:{main:"#BF2600"},text:{primary:u,secondary:d,disabled:"#C2C2C2"}},width:fB[s],typography:{fontFamily:n||"Inter",fontSize:p,remToPx:function(e){return e*p}},shape:{borderRadius:8},shadows:pB,components:{MuiPaper:{styleOverrides:{root:{boxShadow:"0px 8px 32px rgba(33, 33, 33, 0.08), 0px 2px 4px rgba(33, 33, 33, 0.04)"}}},MuiButtonBase:{styleOverrides:{root:{"&:focus":{outline:"none"}}}},MuiButton:{styleOverrides:{root:{borderRadius:i||8,padding:"8px 16px",lineHeight:"unset",fontFamily:n,textTransform:"none","&:focus":{outline:"none"},"&:hover":{},"&:active":{outline:"none"}},sizeLarge:{padding:"12px 24px"},outlinedSecondary:{borderColor:"#C2C2C2",color:"#424242"}}},MuiInputAdornment:{styleOverrides:{root:{"& .MuiButton-root":{borderRadius:"50%"}}}},MuiAutocomplete:{styleOverrides:{root:{"& .MuiInputBase-root":{padding:"1px 10px"},"& .MuiAutocomplete-popupIndicator":{"&:hover":{background:"none"},cursor:"default",fontSize:"16px"}},endAdornment:{"&&&":{right:"12px",paddingTop:"2px"}},popper:{paddingTop:"4px"},listbox:{"& .MuiAutocomplete-option":{padding:"8px 16px"}}}},MuiChip:{styleOverrides:{root:{borderRadius:4},label:{fontSize:"12px",padding:"3px 4px"}}},MuiSelect:{styleOverrides:{select:{"&":{paddingLeft:"0.5rem",paddingRight:"2rem"}}}},MuiRating:{styleOverrides:{iconEmpty:{"& svg":{fill:"#FFC400"}}}},MuiToolbar:{styleOverrides:{dense:{minHeight:32}}},MuiAccordion:{styleOverrides:{root:{"&:before":{display:"none"}}}},MuiInputBase:{styleOverrides:{root:{"& fieldset.MuiOutlinedInput-notchedOutline":{borderColor:"#C2C2C2","& legend":{width:"auto"}},"&:hover .MuiOutlinedInput-notchedOutline":{borderColor:"#616161"},"&:active fieldset.MuiOutlinedInput-notchedOutline":{borderColor:"#0A0A0A",borderWidth:1},"&.Mui-focused fieldset.MuiOutlinedInput-notchedOutline":{borderColor:"#0A0A0A",borderWidth:1},"& input":{padding:"8px 12px"},"&.MuiInputBase-adornedStart input":{paddingLeft:0},"&.Mui-error fieldset.MuiOutlinedInput-notchedOutline":{borderColor:"#BF2600"},"&.Mui-error:hover fieldset.MuiOutlinedInput-notchedOutline":{borderColor:"#BF2600"},"&.Mui-error:active .MuiOutlinedInput-notchedOutline":{borderColor:"#BF2600",borderWidth:1},"&.Mui-error.Mui-focused .MuiOutlinedInput-notchedOutline":{borderColor:"#BF2600",borderWidth:1}},multiline:{"&&&":{padding:"8px 12px"}},input:{color:"#424242",textOverflow:"ellipsis","&::placeholder":{color:"#9E9E9E"}}}}}}};var mB=function(e){var t=e.children,n=e.defaultTheme,r=(0,o.useMemo)((function(){return(0,uB.Z)(hB(n))}),[n]);return l(dB.Z,{theme:r,children:[s(et,{closeButton:!0,position:"bottom-left"}),t]})},vB=function(){return vB=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},vB.apply(this,arguments)},gB=function(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 o=0;for(r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]])}return n},yB=function(e,t){var n="function"==typeof Symbol&&e[Symbol.iterator];if(!n)return e;var r,o,i=n.call(e),a=[];try{for(;(void 0===t||t-- >0)&&!(r=i.next()).done;)a.push(r.value)}catch(s){o={error:s}}finally{try{r&&!r.done&&(n=i.return)&&n.call(i)}finally{if(o)throw o.error}}return a},bB=function(e){var t=e.children,n=e.parentSelector,r=e.defaultTheme,i=void 0===r?{}:r,a=e.component,c=e.withoutBoxWrapper,d=gB(e,["children","parentSelector","defaultTheme","component","withoutBoxWrapper"]),p=JSON.stringify(d.elements),f=JSON.stringify(d.collection),h=yB((0,o.useMemo)((function(){var e=new Set,t={elements:jr(d.elements,e),collection:d.collection,id:d.id,hrid:d.hrid,blockSelector:n,options:d.options,settings:d.settings,category:d.category},r=function(e,t){void 0===t&&(t="");var n="";return e.forEach((function(e){var r=$r(e);n+=t?"".concat(t," ").concat(r," "):"".concat(r," ")})),n}(e,n);return[t,r]}),[p,f,d.id,d.hrid,d.options,n]),2),m=h[0],v=h[1],g=$y().isDesktop,y=d.hrid,b=d.version,w=d.id,x=d.name,k=d.updated,S=d.created_at,C=k&&k.length?k.pop():"",E=m.elements,T=E.container,$=void 0===T?{}:T,M=E.backgroundImage,A=void 0===M?{}:M,D=E.sideImage;return(0,o.useEffect)((function(){y&&Gr(new CustomEvent(`block-loaded-${y}`))}),[y]),Ky(v,n),s(O.Provider,{value:m,children:l(mB,{defaultTheme:i,children:[!c&&s(u.Z,{component:a||"section","data-block-version":b,"data-block-id":w,"data-block-updated":C,"data-block-created-at":S,style:vB(vB({},!D&&(null==A?void 0:A.src)?{backgroundImage:"url(".concat(A.src,")")}:{}),D&&g&&uf()?{height:"950px"}:{}),className:"".concat(x,"-").concat(w," ").concat(null==$?void 0:$.className," ").concat(D?"":(null==A?void 0:A.className)||""),children:t}),c?t:null]})})},wB=function(){return wB=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},wB.apply(this,arguments)};const xB=function(e){return s(bB,wB({},e,{children:s(cB,{})}))}})(),renderBlock=r.default})();;
if (typeof renderBlock !== "function") {
throw new Error("No renderBlock function found", {"name":"cta3","version":"3.0.2"});
}
// webpack builds expose a single global named renderBlock
window["SoftrBlock_cta3_3.0.2"] = renderBlock;
}
</script></body></html>